summaryrefslogtreecommitdiff
path: root/biblio/bibtex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /biblio/bibtex
Initial commit
Diffstat (limited to 'biblio/bibtex')
l---------biblio/bibtex/8-bit/README1
-rw-r--r--biblio/bibtex/8-bit/bt371.readme903
-rw-r--r--biblio/bibtex/base/README36
-rw-r--r--biblio/bibtex/base/abbrv.bst1097
-rw-r--r--biblio/bibtex/base/acm.bst1140
-rw-r--r--biblio/bibtex/base/alpha.bst1257
-rw-r--r--biblio/bibtex/base/apalike.bst1105
-rw-r--r--biblio/bibtex/base/apalike.sty72
-rw-r--r--biblio/bibtex/base/apalike.tex87
-rw-r--r--biblio/bibtex/base/bibtex.web11679
-rw-r--r--biblio/bibtex/base/btxbst.doc2530
-rw-r--r--biblio/bibtex/base/btxdoc.bib93
-rw-r--r--biblio/bibtex/base/btxdoc.pdfbin0 -> 187656 bytes
-rw-r--r--biblio/bibtex/base/btxdoc.tex1120
-rw-r--r--biblio/bibtex/base/btxhak.pdfbin0 -> 166659 bytes
-rw-r--r--biblio/bibtex/base/btxhak.tex626
-rw-r--r--biblio/bibtex/base/ieeetr.bst976
-rw-r--r--biblio/bibtex/base/plain.bst1097
-rw-r--r--biblio/bibtex/base/siam.bst1041
-rw-r--r--biblio/bibtex/base/unsrt.bst951
-rw-r--r--biblio/bibtex/base/xampl.bib361
l---------biblio/bibtex/contrib/IEEEtran1
-rw-r--r--biblio/bibtex/contrib/abstyles-babel/README.217
-rw-r--r--biblio/bibtex/contrib/abstyles-babel/aabbrv.bst1062
-rw-r--r--biblio/bibtex/contrib/abstyles-babel/aalpha.bst1211
-rw-r--r--biblio/bibtex/contrib/abstyles-babel/acompat.bib45
-rw-r--r--biblio/bibtex/contrib/abstyles-babel/anotit.bst1075
-rw-r--r--biblio/bibtex/contrib/abstyles-babel/aplain.bst1062
-rw-r--r--biblio/bibtex/contrib/abstyles-babel/apreambl.tex200
-rw-r--r--biblio/bibtex/contrib/abstyles-babel/aunsnot.bst941
-rw-r--r--biblio/bibtex/contrib/abstyles-babel/aunsrt.bst928
-rw-r--r--biblio/bibtex/contrib/abstyles/README140
-rw-r--r--biblio/bibtex/contrib/abstyles/a4c.sty27
-rw-r--r--biblio/bibtex/contrib/abstyles/a4c.tex30
-rw-r--r--biblio/bibtex/contrib/abstyles/aabbrv.bst1061
-rw-r--r--biblio/bibtex/contrib/abstyles/aalpha.bst1210
-rw-r--r--biblio/bibtex/contrib/abstyles/abstdok.bbl37
-rw-r--r--biblio/bibtex/contrib/abstyles/abstdok.pdfbin0 -> 121954 bytes
-rw-r--r--biblio/bibtex/contrib/abstyles/abstdok.tex483
-rw-r--r--biblio/bibtex/contrib/abstyles/acompat.bib45
-rw-r--r--biblio/bibtex/contrib/abstyles/anotit.bst1074
-rw-r--r--biblio/bibtex/contrib/abstyles/aplain.bst1061
-rw-r--r--biblio/bibtex/contrib/abstyles/apreambl.doc396
-rw-r--r--biblio/bibtex/contrib/abstyles/apreambl.tex139
-rw-r--r--biblio/bibtex/contrib/abstyles/aunsnot.bst940
-rw-r--r--biblio/bibtex/contrib/abstyles/aunsrt.bst927
-rw-r--r--biblio/bibtex/contrib/abstyles/btxabst.doc2878
-rw-r--r--biblio/bibtex/contrib/abstyles/docmac.doc778
-rw-r--r--biblio/bibtex/contrib/abstyles/docmac.tex238
-rw-r--r--biblio/bibtex/contrib/abstyles/jourabbr.bib75
-rw-r--r--biblio/bibtex/contrib/abstyles/jourfull.bib74
l---------biblio/bibtex/contrib/achemso1
-rw-r--r--biblio/bibtex/contrib/acmtrans/acmtr.bib116
-rw-r--r--biblio/bibtex/contrib/acmtrans/acmtr2e.pdfbin0 -> 180516 bytes
-rw-r--r--biblio/bibtex/contrib/acmtrans/acmtr2e.tex1000
-rw-r--r--biblio/bibtex/contrib/acmtrans/acmtrans.bst1768
-rw-r--r--biblio/bibtex/contrib/acmtrans/acmtrans2e.cls1243
-rw-r--r--biblio/bibtex/contrib/alpha-persian/README.txt83
-rw-r--r--biblio/bibtex/contrib/alpha-persian/alpha-persian-l.userguide.pdfbin0 -> 2076432 bytes
-rw-r--r--biblio/bibtex/contrib/alpha-persian/alpha-persian-l.userguide.tex592
-rw-r--r--biblio/bibtex/contrib/alpha-persian/alpha-persian-p.userguide.pdfbin0 -> 3779241 bytes
-rw-r--r--biblio/bibtex/contrib/alpha-persian/alpha-persian-p.userguide.tex1183
-rw-r--r--biblio/bibtex/contrib/alpha-persian/alpha-persian.bst1831
-rw-r--r--biblio/bibtex/contrib/alpha-persian/image/21.jpgbin0 -> 257433 bytes
-rw-r--r--biblio/bibtex/contrib/alpha-persian/image/sh11.jpgbin0 -> 72757 bytes
-rw-r--r--biblio/bibtex/contrib/alpha-persian/image/sh12.jpgbin0 -> 350526 bytes
-rw-r--r--biblio/bibtex/contrib/alpha-persian/image/sh13.jpgbin0 -> 258306 bytes
-rw-r--r--biblio/bibtex/contrib/alpha-persian/image/sh14.PNGbin0 -> 258493 bytes
-rw-r--r--biblio/bibtex/contrib/alpha-persian/image/sh15.PNGbin0 -> 155555 bytes
-rw-r--r--biblio/bibtex/contrib/alpha-persian/image/sh16.PNGbin0 -> 240624 bytes
-rw-r--r--biblio/bibtex/contrib/alpha-persian/image/sh17.PNGbin0 -> 368147 bytes
-rw-r--r--biblio/bibtex/contrib/alpha-persian/image/sh18.jpgbin0 -> 345645 bytes
-rw-r--r--biblio/bibtex/contrib/alpha-persian/image/sh2.jpgbin0 -> 60488 bytes
-rw-r--r--biblio/bibtex/contrib/alpha-persian/image/sh20.jpgbin0 -> 171368 bytes
-rw-r--r--biblio/bibtex/contrib/alpha-persian/image/sh3.jpgbin0 -> 81302 bytes
-rw-r--r--biblio/bibtex/contrib/alpha-persian/image/sh4.jpgbin0 -> 111950 bytes
-rw-r--r--biblio/bibtex/contrib/alpha-persian/image/sh5.jpgbin0 -> 93244 bytes
-rw-r--r--biblio/bibtex/contrib/alpha-persian/image/sh6.jpgbin0 -> 222680 bytes
-rw-r--r--biblio/bibtex/contrib/alpha-persian/image/sh7.jpgbin0 -> 260778 bytes
-rw-r--r--biblio/bibtex/contrib/alpha-persian/image/sh8.jpgbin0 -> 205502 bytes
-rw-r--r--biblio/bibtex/contrib/alpha-persian/image/sh9.jpgbin0 -> 310441 bytes
-rw-r--r--biblio/bibtex/contrib/alpha-persian/image/sht.jpgbin0 -> 70749 bytes
-rw-r--r--biblio/bibtex/contrib/alpha-persian/pdflatexsample.tex19
-rw-r--r--biblio/bibtex/contrib/alpha-persian/sample1.bib28
-rw-r--r--biblio/bibtex/contrib/alpha-persian/sample10.bib70
-rw-r--r--biblio/bibtex/contrib/alpha-persian/sample2.bib30
-rw-r--r--biblio/bibtex/contrib/alpha-persian/sample3.bib33
-rw-r--r--biblio/bibtex/contrib/alpha-persian/sample4.bib47
-rw-r--r--biblio/bibtex/contrib/alpha-persian/sample5.bib99
-rw-r--r--biblio/bibtex/contrib/alpha-persian/sample6.bib82
-rw-r--r--biblio/bibtex/contrib/alpha-persian/sample7.bib204
-rw-r--r--biblio/bibtex/contrib/alpha-persian/sample8.bib201
-rw-r--r--biblio/bibtex/contrib/alpha-persian/sample9.bib144
-rw-r--r--biblio/bibtex/contrib/alpha-persian/xelatexsample.tex30
-rw-r--r--biblio/bibtex/contrib/apacite/README66
-rw-r--r--biblio/bibtex/contrib/apacite/apacite.dtx23244
-rw-r--r--biblio/bibtex/contrib/apacite/apacite.ins194
-rw-r--r--biblio/bibtex/contrib/apacite/apacite.pdfbin0 -> 622231 bytes
-rw-r--r--biblio/bibtex/contrib/apalike-german/README.html40
-rw-r--r--biblio/bibtex/contrib/apalike-german/README.md45
-rw-r--r--biblio/bibtex/contrib/apalike-german/apalike-german.bst1115
-rw-r--r--biblio/bibtex/contrib/apalike2/apalike2.bst1273
-rw-r--r--biblio/bibtex/contrib/astron/README37
-rw-r--r--biblio/bibtex/contrib/astron/astdoc.bib32
-rw-r--r--biblio/bibtex/contrib/astron/astdoc.pdfbin0 -> 187716 bytes
-rw-r--r--biblio/bibtex/contrib/astron/astdoc.tex1154
-rw-r--r--biblio/bibtex/contrib/astron/astron.bst1175
-rw-r--r--biblio/bibtex/contrib/astron/astron.sty70
-rw-r--r--biblio/bibtex/contrib/astron/example.bib120
-rw-r--r--biblio/bibtex/contrib/astron/example.tex50
-rw-r--r--biblio/bibtex/contrib/astron/mnemonic.bib442
-rw-r--r--biblio/bibtex/contrib/astron/puntxt.c49
-rw-r--r--biblio/bibtex/contrib/astron/template.bib201
-rw-r--r--biblio/bibtex/contrib/authordate/README21
-rw-r--r--biblio/bibtex/contrib/authordate/authordate1-4.sty79
-rw-r--r--biblio/bibtex/contrib/authordate/authordate1.bst1309
-rw-r--r--biblio/bibtex/contrib/authordate/authordate1.ltx18
-rw-r--r--biblio/bibtex/contrib/authordate/authordate2.bst1310
-rw-r--r--biblio/bibtex/contrib/authordate/authordate2.ltx18
-rw-r--r--biblio/bibtex/contrib/authordate/authordate3.bst1309
-rw-r--r--biblio/bibtex/contrib/authordate/authordate3.ltx18
-rw-r--r--biblio/bibtex/contrib/authordate/authordate4.bst1310
-rw-r--r--biblio/bibtex/contrib/authordate/authordate4.ltx18
-rw-r--r--biblio/bibtex/contrib/authordate/testadb.ltx183
-rw-r--r--biblio/bibtex/contrib/babelbib/ChangeLog192
-rw-r--r--biblio/bibtex/contrib/babelbib/Makefile101
-rw-r--r--biblio/bibtex/contrib/babelbib/README57
-rw-r--r--biblio/bibtex/contrib/babelbib/babelbib.dtx9503
-rw-r--r--biblio/bibtex/contrib/babelbib/babelbib.ins69
-rw-r--r--biblio/bibtex/contrib/babelbib/babelbib.pdfbin0 -> 731049 bytes
-rw-r--r--biblio/bibtex/contrib/babelbib/babelbibtest.bib3921
-rw-r--r--biblio/bibtex/contrib/babelbib/babelbibtest.tex115
-rw-r--r--biblio/bibtex/contrib/babelbib/getversion.tex8
-rw-r--r--biblio/bibtex/contrib/babelbib/tugboat-babelbib.pdfbin0 -> 403758 bytes
-rw-r--r--biblio/bibtex/contrib/bath-bst/Makefile72
-rw-r--r--biblio/bibtex/contrib/bath-bst/README.md111
-rw-r--r--biblio/bibtex/contrib/bath-bst/bath-bst-v1.pdfbin0 -> 278589 bytes
-rw-r--r--biblio/bibtex/contrib/bath-bst/bath-bst.dtx6094
-rw-r--r--biblio/bibtex/contrib/bath-bst/bath-bst.pdfbin0 -> 510481 bytes
-rw-r--r--biblio/bibtex/contrib/besjournals/README51
-rw-r--r--biblio/bibtex/contrib/besjournals/besjournals.bst1708
-rw-r--r--biblio/bibtex/contrib/besjournals/besjournals.dbj661
-rw-r--r--biblio/bibtex/contrib/bestpapers/Makefile35
-rw-r--r--biblio/bibtex/contrib/bestpapers/README16
-rw-r--r--biblio/bibtex/contrib/bestpapers/bestpapers-export.bst535
-rw-r--r--biblio/bibtex/contrib/bestpapers/bestpapers-guide.pdfbin0 -> 170043 bytes
-rw-r--r--biblio/bibtex/contrib/bestpapers/bestpapers-guide.tex158
-rw-r--r--biblio/bibtex/contrib/bestpapers/bestpapers.bst1280
-rw-r--r--biblio/bibtex/contrib/bestpapers/tex.bib108
-rw-r--r--biblio/bibtex/contrib/bestpapers/typography.bib214
-rw-r--r--biblio/bibtex/contrib/bib-fr/CHANGELOG21
-rw-r--r--biblio/bibtex/contrib/bib-fr/README10
-rw-r--r--biblio/bibtex/contrib/bib-fr/abbrv-fr.bst1234
-rw-r--r--biblio/bibtex/contrib/bib-fr/abbrvnat-fr.bst1506
-rw-r--r--biblio/bibtex/contrib/bib-fr/alpha-fr.bst1408
-rw-r--r--biblio/bibtex/contrib/bib-fr/apalike-fr.bst1222
-rw-r--r--biblio/bibtex/contrib/bib-fr/ieeetr-fr.bst1082
-rw-r--r--biblio/bibtex/contrib/bib-fr/plain-fr.bst1235
-rw-r--r--biblio/bibtex/contrib/bib-fr/plainnat-fr.bst1503
-rw-r--r--biblio/bibtex/contrib/bib-fr/siam-fr.bst1154
-rw-r--r--biblio/bibtex/contrib/bib-fr/unsrt-fr.bst1062
-rw-r--r--biblio/bibtex/contrib/bib-fr/unsrtnat-fr.bst1495
-rw-r--r--biblio/bibtex/contrib/bibhtml/LICENCE340
-rw-r--r--biblio/bibtex/contrib/bibhtml/README18
-rw-r--r--biblio/bibtex/contrib/bibhtml/abbrvhtml.bst1402
-rw-r--r--biblio/bibtex/contrib/bibhtml/alphahtml.bst1565
-rw-r--r--biblio/bibtex/contrib/bibhtml/alphahtmldate.bst1362
-rw-r--r--biblio/bibtex/contrib/bibhtml/alphahtmldater.bst1362
-rwxr-xr-xbiblio/bibtex/contrib/bibhtml/bibhtml464
-rw-r--r--biblio/bibtex/contrib/bibhtml/bibhtml-extract-aux.xslt99
-rw-r--r--biblio/bibtex/contrib/bibhtml/bibhtml-insert-bib.xslt51
-rw-r--r--biblio/bibtex/contrib/bibhtml/bibhtml.html580
-rw-r--r--biblio/bibtex/contrib/bibhtml/bibrefs.bib221
-rw-r--r--biblio/bibtex/contrib/bibhtml/detex.sed57
-rw-r--r--biblio/bibtex/contrib/bibhtml/plainhtml.bst1431
-rw-r--r--biblio/bibtex/contrib/bibhtml/plainhtmldate.bst1236
-rw-r--r--biblio/bibtex/contrib/bibhtml/plainhtmldater.bst1236
-rw-r--r--biblio/bibtex/contrib/bibhtml/style.css260
-rw-r--r--biblio/bibtex/contrib/bibhtml/unsrthtml.bst1256
l---------biblio/bibtex/contrib/bids1
-rw-r--r--biblio/bibtex/contrib/biolett-bst/README.txt33
-rw-r--r--biblio/bibtex/contrib/biolett-bst/biolett.bst1282
-rw-r--r--biblio/bibtex/contrib/bookdb/README41
-rw-r--r--biblio/bibtex/contrib/bookdb/bookdb.bst1759
-rw-r--r--biblio/bibtex/contrib/bookdb/bookdb.pdfbin0 -> 202980 bytes
-rw-r--r--biblio/bibtex/contrib/bookdb/bookdb.tex530
-rw-r--r--biblio/bibtex/contrib/catalan/README40
-rw-r--r--biblio/bibtex/contrib/catalan/bibtex/bst/caabbrv.bst1381
-rw-r--r--biblio/bibtex/contrib/catalan/bibtex/bst/caalpha.bst1539
-rw-r--r--biblio/bibtex/contrib/catalan/bibtex/bst/caauda0.bst2020
-rw-r--r--biblio/bibtex/contrib/catalan/bibtex/bst/caauda1.bst2023
-rw-r--r--biblio/bibtex/contrib/catalan/bibtex/bst/caauda2.bst2044
-rw-r--r--biblio/bibtex/contrib/catalan/bibtex/bst/caauda3.bst2047
-rw-r--r--biblio/bibtex/contrib/catalan/bibtex/bst/caplain.bst1381
-rw-r--r--biblio/bibtex/contrib/catalan/bibtex/bst/caunsrt.bst1232
-rw-r--r--biblio/bibtex/contrib/catalan/catalanbib.pdfbin0 -> 385974 bytes
-rw-r--r--biblio/bibtex/contrib/catalan/doc/bibtex/catalan/catalanbib.tex248
-rw-r--r--biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/caabbrv.tex19
-rw-r--r--biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/caalpha.tex19
-rw-r--r--biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/caauda0.tex21
-rw-r--r--biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/caauda1.tex21
-rw-r--r--biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/caauda2.tex21
-rw-r--r--biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/caauda3.tex24
-rw-r--r--biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/caplain.tex19
-rw-r--r--biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/caunsrt.tex19
-rw-r--r--biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/exemples.bib204
-rw-r--r--biblio/bibtex/contrib/chem-journal/jcc.bst997
-rw-r--r--biblio/bibtex/contrib/chem-journal/jpc.bst990
-rw-r--r--biblio/bibtex/contrib/chem-journal/pccp.bst989
-rw-r--r--biblio/bibtex/contrib/chem-journal/revcompchem.bst993
-rw-r--r--biblio/bibtex/contrib/chembst/README11
-rw-r--r--biblio/bibtex/contrib/chembst/chembst.dtx3110
-rw-r--r--biblio/bibtex/contrib/chembst/chembst.ins70
-rw-r--r--biblio/bibtex/contrib/chembst/chembst.pdfbin0 -> 239727 bytes
-rw-r--r--biblio/bibtex/contrib/chicago-annote/README2
-rw-r--r--biblio/bibtex/contrib/chicago-annote/chicago-annote.bst1689
-rw-r--r--biblio/bibtex/contrib/chicago/chicago.bst1653
-rw-r--r--biblio/bibtex/contrib/chicago/chicago.sty264
l---------biblio/bibtex/contrib/custom-bib1
-rw-r--r--biblio/bibtex/contrib/directory/README32
-rw-r--r--biblio/bibtex/contrib/directory/address-html.bst870
-rw-r--r--biblio/bibtex/contrib/directory/address-ldif.bst679
-rw-r--r--biblio/bibtex/contrib/directory/address-vcard.bst612
-rw-r--r--biblio/bibtex/contrib/directory/address.bst852
-rw-r--r--biblio/bibtex/contrib/directory/birthday.bst299
-rw-r--r--biblio/bibtex/contrib/directory/business.bib36
-rw-r--r--biblio/bibtex/contrib/directory/directory.pdfbin0 -> 194595 bytes
-rw-r--r--biblio/bibtex/contrib/directory/directory.sty436
-rw-r--r--biblio/bibtex/contrib/directory/directory.tex773
-rw-r--r--biblio/bibtex/contrib/directory/email-html.bst359
-rw-r--r--biblio/bibtex/contrib/directory/email.bst366
-rw-r--r--biblio/bibtex/contrib/directory/family.bib72
-rw-r--r--biblio/bibtex/contrib/directory/letter.bst359
-rw-r--r--biblio/bibtex/contrib/directory/phone.bst485
-rw-r--r--biblio/bibtex/contrib/dk-bib/88591-dk.csf106
-rw-r--r--biblio/bibtex/contrib/dk-bib/COPYRIGHT362
-rw-r--r--biblio/bibtex/contrib/dk-bib/Makefile71
-rw-r--r--biblio/bibtex/contrib/dk-bib/README9
-rw-r--r--biblio/bibtex/contrib/dk-bib/cp850-dk.csf106
-rw-r--r--biblio/bibtex/contrib/dk-bib/dk-abbrv.bst1301
-rw-r--r--biblio/bibtex/contrib/dk-bib/dk-alpha.bst1455
-rw-r--r--biblio/bibtex/contrib/dk-bib/dk-apali.bst1295
-rw-r--r--biblio/bibtex/contrib/dk-bib/dk-apali.sty37
-rw-r--r--biblio/bibtex/contrib/dk-bib/dk-bib.ltx352
-rw-r--r--biblio/bibtex/contrib/dk-bib/dk-bib.pdfbin0 -> 426879 bytes
-rw-r--r--biblio/bibtex/contrib/dk-bib/dk-bib.sty202
-rw-r--r--biblio/bibtex/contrib/dk-bib/dk-plain.bst1301
-rw-r--r--biblio/bibtex/contrib/dk-bib/dk-unsrt.bst1155
-rw-r--r--biblio/bibtex/contrib/dk-bib/litteratur.bib10
-rw-r--r--biblio/bibtex/contrib/dk-bib/mac-dk.csf99
-rw-r--r--biblio/bibtex/contrib/dk-bib/utf8-dk.csf127
-rw-r--r--biblio/bibtex/contrib/doc/README40
-rw-r--r--biblio/bibtex/contrib/doc/btxFAQ.pdfbin0 -> 533445 bytes
l---------biblio/bibtex/contrib/doc/btxdoc.pdf1
l---------biblio/bibtex/contrib/doc/btxhak.pdf1
-rw-r--r--biblio/bibtex/contrib/econ-bst/CHANGES.md284
-rw-r--r--biblio/bibtex/contrib/econ-bst/README.md43
-rw-r--r--biblio/bibtex/contrib/econ-bst/customization/README.md41
-rw-r--r--biblio/bibtex/contrib/econ-bst/customization/cited-part.tex52
-rw-r--r--biblio/bibtex/contrib/econ-bst/customization/econ-a.bst3541
-rw-r--r--biblio/bibtex/contrib/econ-bst/customization/econ-a.pdfbin0 -> 65579 bytes
-rw-r--r--biblio/bibtex/contrib/econ-bst/customization/econ-a.tex55
-rw-r--r--biblio/bibtex/contrib/econ-bst/customization/econ-aer.bst3538
-rw-r--r--biblio/bibtex/contrib/econ-bst/customization/econ-aer.pdfbin0 -> 100143 bytes
-rw-r--r--biblio/bibtex/contrib/econ-bst/customization/econ-aer.tex55
-rw-r--r--biblio/bibtex/contrib/econ-bst/customization/econ-b.bst3544
-rw-r--r--biblio/bibtex/contrib/econ-bst/customization/econ-b.pdfbin0 -> 98518 bytes
-rw-r--r--biblio/bibtex/contrib/econ-bst/customization/econ-b.tex55
-rw-r--r--biblio/bibtex/contrib/econ-bst/customization/econ-default.pdfbin0 -> 91915 bytes
-rw-r--r--biblio/bibtex/contrib/econ-bst/customization/econ-default.tex58
-rw-r--r--biblio/bibtex/contrib/econ-bst/customization/econ-econometrica.bst3530
-rw-r--r--biblio/bibtex/contrib/econ-bst/customization/econ-econometrica.pdfbin0 -> 91963 bytes
-rw-r--r--biblio/bibtex/contrib/econ-bst/customization/econ-econometrica.tex55
-rw-r--r--biblio/bibtex/contrib/econ-bst/customization/econ-jet.bst3545
-rw-r--r--biblio/bibtex/contrib/econ-bst/customization/econ-jet.pdfbin0 -> 80407 bytes
-rw-r--r--biblio/bibtex/contrib/econ-bst/customization/econ-jet.tex66
-rw-r--r--biblio/bibtex/contrib/econ-bst/customization/econ-jie.bst3543
-rw-r--r--biblio/bibtex/contrib/econ-bst/customization/econ-jie.pdfbin0 -> 80213 bytes
-rw-r--r--biblio/bibtex/contrib/econ-bst/customization/econ-jie.tex56
-rw-r--r--biblio/bibtex/contrib/econ-bst/customization/econ-no-sort.bst3521
-rw-r--r--biblio/bibtex/contrib/econ-bst/customization/econ-no-sort.pdfbin0 -> 91057 bytes
-rw-r--r--biblio/bibtex/contrib/econ-bst/customization/econ-no-sort.tex58
-rw-r--r--biblio/bibtex/contrib/econ-bst/customization/econ-numbers.pdfbin0 -> 91952 bytes
-rw-r--r--biblio/bibtex/contrib/econ-bst/customization/econ-numbers.tex72
-rw-r--r--biblio/bibtex/contrib/econ-bst/econ-example.bib537
-rw-r--r--biblio/bibtex/contrib/econ-bst/econ-example.pdfbin0 -> 179544 bytes
-rw-r--r--biblio/bibtex/contrib/econ-bst/econ-example.tex851
-rw-r--r--biblio/bibtex/contrib/econ-bst/econ.bst3521
-rw-r--r--biblio/bibtex/contrib/economic/CHANGELOG53
-rw-r--r--biblio/bibtex/contrib/economic/NEWS21
-rw-r--r--biblio/bibtex/contrib/economic/README210
-rw-r--r--biblio/bibtex/contrib/economic/aer-cje-ex.bib353
-rw-r--r--biblio/bibtex/contrib/economic/aer-cje-ex.tex45
-rw-r--r--biblio/bibtex/contrib/economic/aer-natbib-ex.tex45
-rw-r--r--biblio/bibtex/contrib/economic/aer.bst1221
-rw-r--r--biblio/bibtex/contrib/economic/aer.sty20
-rw-r--r--biblio/bibtex/contrib/economic/aertt.bst1221
-rw-r--r--biblio/bibtex/contrib/economic/aertt.sty23
-rw-r--r--biblio/bibtex/contrib/economic/agecon.bst1524
-rw-r--r--biblio/bibtex/contrib/economic/agecon.cls207
-rw-r--r--biblio/bibtex/contrib/economic/ajae-ex.bib386
-rw-r--r--biblio/bibtex/contrib/economic/ajae-ex.pdfbin0 -> 94505 bytes
-rw-r--r--biblio/bibtex/contrib/economic/ajae-ex.tex145
-rw-r--r--biblio/bibtex/contrib/economic/ajae.bst1663
-rw-r--r--biblio/bibtex/contrib/economic/ajae.cls308
-rw-r--r--biblio/bibtex/contrib/economic/apecon-ex.bib77
-rw-r--r--biblio/bibtex/contrib/economic/apecon-ex.pdfbin0 -> 278284 bytes
-rw-r--r--biblio/bibtex/contrib/economic/apecon-ex.tex161
-rw-r--r--biblio/bibtex/contrib/economic/apecon.bst1446
-rw-r--r--biblio/bibtex/contrib/economic/apecon.cls196
-rw-r--r--biblio/bibtex/contrib/economic/cje.bst1192
-rw-r--r--biblio/bibtex/contrib/economic/cje.sty21
-rw-r--r--biblio/bibtex/contrib/economic/ecca-ex.bib142
-rw-r--r--biblio/bibtex/contrib/economic/ecca-ex.pdfbin0 -> 94293 bytes
-rw-r--r--biblio/bibtex/contrib/economic/ecca-ex.tex183
-rw-r--r--biblio/bibtex/contrib/economic/ecca.bst1655
-rw-r--r--biblio/bibtex/contrib/economic/ecca.cls252
l---------biblio/bibtex/contrib/economic/econometrica-fr.bst1
l---------biblio/bibtex/contrib/economic/econometrica.bst1
-rw-r--r--biblio/bibtex/contrib/economic/ecta.bst1503
-rw-r--r--biblio/bibtex/contrib/economic/erae-ex.bib42
-rw-r--r--biblio/bibtex/contrib/economic/erae-ex.pdfbin0 -> 99317 bytes
-rw-r--r--biblio/bibtex/contrib/economic/erae-ex.tex151
-rw-r--r--biblio/bibtex/contrib/economic/erae.bst1533
-rw-r--r--biblio/bibtex/contrib/economic/erae.cls201
-rw-r--r--biblio/bibtex/contrib/economic/ier-bib-test.pdfbin0 -> 69672 bytes
-rw-r--r--biblio/bibtex/contrib/economic/ier-bib-test.tex26
-rw-r--r--biblio/bibtex/contrib/economic/ier-ex.bib115
-rw-r--r--biblio/bibtex/contrib/economic/ier.bst1549
-rw-r--r--biblio/bibtex/contrib/economic/itaxpf-ex-title.pdfbin0 -> 73580 bytes
-rw-r--r--biblio/bibtex/contrib/economic/itaxpf-ex-title.tex45
-rw-r--r--biblio/bibtex/contrib/economic/itaxpf-ex.bib44
-rw-r--r--biblio/bibtex/contrib/economic/itaxpf-ex.pdfbin0 -> 140537 bytes
-rw-r--r--biblio/bibtex/contrib/economic/itaxpf-ex.tex113
-rw-r--r--biblio/bibtex/contrib/economic/itaxpf.bst1480
-rw-r--r--biblio/bibtex/contrib/economic/itaxpf.cls232
-rw-r--r--biblio/bibtex/contrib/economic/jae.bst1467
-rw-r--r--biblio/bibtex/contrib/economic/jpe.bst1611
-rw-r--r--biblio/bibtex/contrib/economic/jrurstud.cls281
-rw-r--r--biblio/bibtex/contrib/economic/jss2.bst1647
-rw-r--r--biblio/bibtex/contrib/economic/njf.cls148
-rw-r--r--biblio/bibtex/contrib/economic/oega.bst1563
-rw-r--r--biblio/bibtex/contrib/economic/oegatb-ex.bib36
-rw-r--r--biblio/bibtex/contrib/economic/oegatb-ex.pdfbin0 -> 73392 bytes
-rw-r--r--biblio/bibtex/contrib/economic/oegatb-ex.pngbin0 -> 21977 bytes
-rw-r--r--biblio/bibtex/contrib/economic/oegatb-ex.tex253
-rw-r--r--biblio/bibtex/contrib/economic/oegatb.cls220
-rw-r--r--biblio/bibtex/contrib/economic/pocoec.cls257
-rw-r--r--biblio/bibtex/contrib/economic/regstud.bst1431
-rw-r--r--biblio/bibtex/contrib/economic/regstud.cls270
-rw-r--r--biblio/bibtex/contrib/economic/tandfx.bst1574
-rw-r--r--biblio/bibtex/contrib/economic/worlddev.bst1459
-rw-r--r--biblio/bibtex/contrib/economic/worlddev.cls243
-rw-r--r--biblio/bibtex/contrib/examples/xampl-aaai-named.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-abbrv.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-abstract.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-acm.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-agsm.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-alpha.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-amsalpha.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-amsplain.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-annotate.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-annotation.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-apa.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-apalike.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-apalike2.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-astron.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-authordate1.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-authordate2.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-authordate3.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-authordate4.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-bbs.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-cbe.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-cell.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-dcu.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-humanbio.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-humannat.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-ieeetr.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-is-abbrv.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-is-alpha.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-is-plain.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-is-unsrt.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-jbact.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-jmb.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-jtb.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-kluwer.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-named.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-namunsrt.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-nar.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-nature.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-newapa.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-phaip.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-phapalik.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-phcpc.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-phiaea.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-phjcp.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-phnf.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-phnflet.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-phpf.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-phppcf.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-phreport.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-phrmp.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-plain.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-plainyr.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-siam.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl-unsrt.ltx28
-rw-r--r--biblio/bibtex/contrib/examples/xampl.ltx28
-rw-r--r--biblio/bibtex/contrib/francais-bst/README109
-rw-r--r--biblio/bibtex/contrib/francais-bst/francais.bst1739
-rw-r--r--biblio/bibtex/contrib/francais-bst/francaisbst.tex49
-rw-r--r--biblio/bibtex/contrib/francais-bst/francaissc.bst1759
-rw-r--r--biblio/bibtex/contrib/gbt7714/LICENSE416
-rw-r--r--biblio/bibtex/contrib/gbt7714/README.md163
-rw-r--r--biblio/bibtex/contrib/gbt7714/gbt7714-plain.bst2043
-rw-r--r--biblio/bibtex/contrib/gbt7714/gbt7714-unsrt.bst1866
-rw-r--r--biblio/bibtex/contrib/gbt7714/gbt7714.dtx3884
-rw-r--r--biblio/bibtex/contrib/gbt7714/gbt7714.pdfbin0 -> 322635 bytes
-rw-r--r--biblio/bibtex/contrib/gbt7714/gbt7714.sty124
-rw-r--r--biblio/bibtex/contrib/german/din1505/abbrvdin.bst2031
-rw-r--r--biblio/bibtex/contrib/german/din1505/alphadin.bst2212
-rw-r--r--biblio/bibtex/contrib/german/din1505/leitbild.bib145
-rw-r--r--biblio/bibtex/contrib/german/din1505/leitbild3.pdfbin0 -> 168623 bytes
-rw-r--r--biblio/bibtex/contrib/german/din1505/natbib.cfg19
-rw-r--r--biblio/bibtex/contrib/german/din1505/natdin.bst2234
-rw-r--r--biblio/bibtex/contrib/german/din1505/normpatsoft.pdfbin0 -> 200993 bytes
-rw-r--r--biblio/bibtex/contrib/german/din1505/plaindin.bst2038
-rw-r--r--biblio/bibtex/contrib/german/din1505/unsrtdin.bst1894
-rw-r--r--biblio/bibtex/contrib/german/dinat/dinat-index.html229
-rw-r--r--biblio/bibtex/contrib/german/dinat/dinat.bst1952
-rw-r--r--biblio/bibtex/contrib/german/dinat/history.html692
-rw-r--r--biblio/bibtex/contrib/germbib/README.bibgerm24
-rw-r--r--biblio/bibtex/contrib/germbib/bst/gerabbrv.bst1208
-rw-r--r--biblio/bibtex/contrib/germbib/bst/geralpha.bst1369
-rw-r--r--biblio/bibtex/contrib/germbib/bst/gerapali.bst1227
-rw-r--r--biblio/bibtex/contrib/germbib/bst/gerplain.bst1209
-rw-r--r--biblio/bibtex/contrib/germbib/bst/gerunsrt.bst1063
-rw-r--r--biblio/bibtex/contrib/germbib/document/apalike.doc60
l---------biblio/bibtex/contrib/germbib/document/btxbst.doc1
l---------biblio/bibtex/contrib/germbib/document/btxdoc.bib1
-rw-r--r--biblio/bibtex/contrib/germbib/document/btxdoc.tex1119
-rw-r--r--biblio/bibtex/contrib/germbib/document/btxhak.tex623
-rw-r--r--biblio/bibtex/contrib/germbib/document/gerbibtx.bib54
-rw-r--r--biblio/bibtex/contrib/germbib/document/gerbibtx.tex433
-rw-r--r--biblio/bibtex/contrib/germbib/for_tex/apalike.tex88
-rw-r--r--biblio/bibtex/contrib/germbib/styles/apalike.sty30
-rw-r--r--biblio/bibtex/contrib/germbib/styles/bibgerm.sty312
l---------biblio/bibtex/contrib/germbib/styles/german.MISSING1
-rw-r--r--biblio/bibtex/contrib/germbib/styles/mynormal.sty101
-rw-r--r--biblio/bibtex/contrib/germbib/test/gerxampl.bib359
-rw-r--r--biblio/bibtex/contrib/germbib/test/schaum.bib531
-rw-r--r--biblio/bibtex/contrib/germbib/test/testbibgerm.dvibin0 -> 2200 bytes
-rw-r--r--biblio/bibtex/contrib/germbib/test/testbibgerm.tex21
-rw-r--r--biblio/bibtex/contrib/germbib/test/testgerb.tex89
-rw-r--r--biblio/bibtex/contrib/germbib/test/xampl.bib359
-rw-r--r--biblio/bibtex/contrib/getrefs/getrefs.bst1180
-rw-r--r--biblio/bibtex/contrib/getrefs/getrefs.tex9
-rw-r--r--biblio/bibtex/contrib/getrefs/getrefs.txt72
-rw-r--r--biblio/bibtex/contrib/gost/README.md327
-rw-r--r--biblio/bibtex/contrib/gost/bibtex/cp1251.csf275
-rw-r--r--biblio/bibtex/contrib/gost/bibtex/koi8u.csf275
-rw-r--r--biblio/bibtex/contrib/gost/bibtex/ruscii.csf275
-rw-r--r--biblio/bibtex/contrib/gost/bibtex/utf8cyrillic.csf275
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex01.bib9
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex02.bib10
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex03.bib11
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex04.bib11
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex05.bib11
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex06.bib12
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex06a.bib10
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex07.bib9
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex08.bib10
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex09.bib12
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex10.bib9
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex11.bib11
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex12.bib8
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex13.bib10
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex14.bib11
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex14a.bib11
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex15.bib12
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex16.bib10
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex17.bib11
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex17a.bib8
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex17b.bib10
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex18.bib11
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex19.bib14
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex20.bib9
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex20a.bib28
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex20b.bib16
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex20c.bib20
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex21.bib14
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex21a.bib11
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex21b.bib17
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex23.bib11
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex24.bib15
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex24a.bib12
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex24b.bib14
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex25.bib11
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex26.bib12
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex27a.bib18
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex27b.bib10
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex27c.bib8
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex28.bib25
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex28a.bib32
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex29.bib15
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex30.bib27
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex31.bib40
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/examples.bib606
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/gost.tex195
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2003.pdfbin0 -> 318845 bytes
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2003.tex16
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008-customized.pdfbin0 -> 336335 bytes
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008-customized.tex18
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008.pdfbin0 -> 317099 bytes
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008.tex12
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008l.pdfbin0 -> 318844 bytes
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008l.tex16
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008n.pdfbin0 -> 207625 bytes
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008n.tex118
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008ns.pdfbin0 -> 207907 bytes
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008ns.tex122
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/gost780.pdfbin0 -> 316926 bytes
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/gost780.tex15
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/cp1251/make-examples-on-win-cp1251.cmd34
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex01.bib9
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex02.bib10
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex03.bib11
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex04.bib11
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex05.bib11
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex06.bib12
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex06a.bib10
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex07.bib9
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex08.bib10
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex09.bib12
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex10.bib9
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex11.bib11
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex12.bib8
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex13.bib10
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex14.bib11
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex14a.bib11
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex15.bib12
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex16.bib10
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex17.bib11
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex17a.bib8
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex17b.bib10
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex18.bib11
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex19.bib14
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex20.bib9
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex20a.bib28
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex20b.bib16
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex20c.bib20
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex21.bib14
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex21a.bib11
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex21b.bib17
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex22.bib12
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex22a.bib46
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex23.bib11
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex24.bib15
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex24a.bib12
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex24b.bib14
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex25.bib11
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex26.bib12
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex27a.bib18
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex27b.bib10
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex27c.bib8
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex28.bib25
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex28a.bib32
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex29.bib15
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex30.bib27
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex31.bib40
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/bib/examples.bib664
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/make-examples-on-win-utf8.cmd34
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/ugost.tex194
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2003.pdfbin0 -> 229878 bytes
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2003.tex18
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008-customized.pdfbin0 -> 251540 bytes
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008-customized.tex18
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008.pdfbin0 -> 229942 bytes
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008.tex14
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008l.pdfbin0 -> 229975 bytes
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008l.tex18
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008n.pdfbin0 -> 208310 bytes
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008n.tex122
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008ns.pdfbin0 -> 208400 bytes
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008ns.tex123
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008s.pdfbin0 -> 221365 bytes
-rw-r--r--biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008s.tex106
-rw-r--r--biblio/bibtex/contrib/gost/doc/gost.pdfbin0 -> 595440 bytes
-rw-r--r--biblio/bibtex/contrib/gost/source/gost.dtx5097
-rw-r--r--biblio/bibtex/contrib/gost/source/gost.ins81
-rw-r--r--biblio/bibtex/contrib/ijqc/README35
-rw-r--r--biblio/bibtex/contrib/ijqc/ijqc.bst1252
-rw-r--r--biblio/bibtex/contrib/ijqc/makefile45
-rw-r--r--biblio/bibtex/contrib/ijqc/mybib.bib1175
-rw-r--r--biblio/bibtex/contrib/ijqc/xampl.bbl459
-rw-r--r--biblio/bibtex/contrib/ijqc/xampl.pdfbin0 -> 105175 bytes
-rw-r--r--biblio/bibtex/contrib/ijqc/xampl.tex180
-rw-r--r--biblio/bibtex/contrib/index284
-rw-r--r--biblio/bibtex/contrib/inlinebib/MANIFEST7
-rw-r--r--biblio/bibtex/contrib/inlinebib/inlinebib.bst1125
-rw-r--r--biblio/bibtex/contrib/inlinebib/inlinebib.htm202
-rw-r--r--biblio/bibtex/contrib/inlinebib/inlinebib.sty165
-rw-r--r--biblio/bibtex/contrib/inlinebib/inlinebib.txt151
-rw-r--r--biblio/bibtex/contrib/inlinebib/inlinebib1.gifbin0 -> 3686 bytes
-rw-r--r--biblio/bibtex/contrib/inlinebib/inlinebib2.gifbin0 -> 12611 bytes
-rw-r--r--biblio/bibtex/contrib/inlinebib/pageranges.sty94
-rw-r--r--biblio/bibtex/contrib/iopart-num/README22
-rw-r--r--biblio/bibtex/contrib/iopart-num/iopart-num.bib174
-rw-r--r--biblio/bibtex/contrib/iopart-num/iopart-num.bst1722
-rw-r--r--biblio/bibtex/contrib/iopart-num/iopart-num.pdfbin0 -> 67557 bytes
-rw-r--r--biblio/bibtex/contrib/iopart-num/iopart-num.tex191
-rw-r--r--biblio/bibtex/contrib/is-bst/is-abbrv.bst1833
-rw-r--r--biblio/bibtex/contrib/is-bst/is-alpha.bst2020
-rw-r--r--biblio/bibtex/contrib/is-bst/is-plain.bst1835
-rw-r--r--biblio/bibtex/contrib/is-bst/is-unsrt.bst1673
-rw-r--r--biblio/bibtex/contrib/is-bst/xbtxbst.doc2665
-rw-r--r--biblio/bibtex/contrib/jmb/jmb.bst1368
-rw-r--r--biblio/bibtex/contrib/jmb/jmb.sty92
-rw-r--r--biblio/bibtex/contrib/jneurosci/README46
-rw-r--r--biblio/bibtex/contrib/jneurosci/jneurosci.bst1383
-rw-r--r--biblio/bibtex/contrib/jneurosci/jneurosci.pdfbin0 -> 244554 bytes
-rw-r--r--biblio/bibtex/contrib/jneurosci/jneurosci.sty89
-rw-r--r--biblio/bibtex/contrib/jneurosci/jneurosci.tex81
-rw-r--r--biblio/bibtex/contrib/jphysiol/README43
-rw-r--r--biblio/bibtex/contrib/jphysiol/jphysiol.bst1395
-rw-r--r--biblio/bibtex/contrib/jphysiol/jphysiol.sty93
-rw-r--r--biblio/bibtex/contrib/ksfh_nat/ksfh_nat.bst1277
-rw-r--r--biblio/bibtex/contrib/misc/IEEEannot.bst2626
-rw-r--r--biblio/bibtex/contrib/misc/aaai-named.bst1283
l---------biblio/bibtex/contrib/misc/abstract.bst1
-rw-r--r--biblio/bibtex/contrib/misc/achicago.README25
-rw-r--r--biblio/bibtex/contrib/misc/aichej.bst1380
-rw-r--r--biblio/bibtex/contrib/misc/ajl.bst1557
-rw-r--r--biblio/bibtex/contrib/misc/alphanum.bst1265
-rw-r--r--biblio/bibtex/contrib/misc/ama.bst987
l---------biblio/bibtex/contrib/misc/amsalpha.bst1
l---------biblio/bibtex/contrib/misc/amsplain.bst1
-rw-r--r--biblio/bibtex/contrib/misc/annotate.bst1280
-rw-r--r--biblio/bibtex/contrib/misc/annotation.bst1105
-rw-r--r--biblio/bibtex/contrib/misc/apa.bst1130
-rw-r--r--biblio/bibtex/contrib/misc/apasoft.bst1225
-rw-r--r--biblio/bibtex/contrib/misc/automatica.bst1280
-rw-r--r--biblio/bibtex/contrib/misc/bbs.bst1162
-rw-r--r--biblio/bibtex/contrib/misc/cbe.bst1161
-rw-r--r--biblio/bibtex/contrib/misc/chicagoa.bst1683
-rw-r--r--biblio/bibtex/contrib/misc/cj.bst1205
-rw-r--r--biblio/bibtex/contrib/misc/decsci.bst1504
-rw-r--r--biblio/bibtex/contrib/misc/development.bst1495
-rw-r--r--biblio/bibtex/contrib/misc/fbs.bst1260
-rw-r--r--biblio/bibtex/contrib/misc/finplain.bst1213
-rw-r--r--biblio/bibtex/contrib/misc/humanbio.bst1134
-rw-r--r--biblio/bibtex/contrib/misc/humannat.bst1205
-rw-r--r--biblio/bibtex/contrib/misc/jbact.bst1490
-rw-r--r--biblio/bibtex/contrib/misc/jqt1999.bst1142
-rw-r--r--biblio/bibtex/contrib/misc/jtb.bst1202
-rw-r--r--biblio/bibtex/contrib/misc/jtbnew.bst1493
-rw-r--r--biblio/bibtex/contrib/misc/namunsrt.bst949
-rw-r--r--biblio/bibtex/contrib/misc/nar.bst1144
-rw-r--r--biblio/bibtex/contrib/misc/neuron.bst1481
-rw-r--r--biblio/bibtex/contrib/misc/plainyr.bst1144
-rw-r--r--biblio/bibtex/contrib/misc/pnas.bst967
-rw-r--r--biblio/bibtex/contrib/misc/pnas2009.bst950
-rw-r--r--biblio/bibtex/contrib/misc/refer.bst166
-rw-r--r--biblio/bibtex/contrib/misc/these.bst1252
-rw-r--r--biblio/bibtex/contrib/misc/wmaainf.bst825
-rw-r--r--biblio/bibtex/contrib/mla/hum2.bst1641
-rw-r--r--biblio/bibtex/contrib/mla/hum2.sty310
-rw-r--r--biblio/bibtex/contrib/mla/mla.bst1533
-rw-r--r--biblio/bibtex/contrib/mla/mla.sty292
-rw-r--r--biblio/bibtex/contrib/mla/mlaa.bst1563
-rw-r--r--biblio/bibtex/contrib/munich/README22
-rw-r--r--biblio/bibtex/contrib/munich/documenation_munich_Bibtex_style.pdfbin0 -> 101935 bytes
-rw-r--r--biblio/bibtex/contrib/munich/documenation_munich_Bibtex_style.tex88
-rw-r--r--biblio/bibtex/contrib/munich/example_DB.bib45
-rw-r--r--biblio/bibtex/contrib/munich/example_munich_Bibtex_style.pdfbin0 -> 186686 bytes
-rw-r--r--biblio/bibtex/contrib/munich/example_munich_Bibtex_style.tex81
-rw-r--r--biblio/bibtex/contrib/munich/munich.bst1599
-rw-r--r--biblio/bibtex/contrib/named/named.bst1287
-rw-r--r--biblio/bibtex/contrib/named/named.sty10
-rw-r--r--biblio/bibtex/contrib/newapa/newapa.bst1468
-rw-r--r--biblio/bibtex/contrib/newapa/newapa.sty265
-rw-r--r--biblio/bibtex/contrib/norbib/norabbrv.bst1096
-rw-r--r--biblio/bibtex/contrib/norbib/noralpha.bst1250
-rw-r--r--biblio/bibtex/contrib/norbib/norplain.bst1096
-rw-r--r--biblio/bibtex/contrib/norbib/norunsrt.bst950
-rw-r--r--biblio/bibtex/contrib/other/README7
-rw-r--r--biblio/bibtex/contrib/other/phjcp.bst1888
-rw-r--r--biblio/bibtex/contrib/other/phyjabb.bib60
-rw-r--r--biblio/bibtex/contrib/other/phyjabb.btx63
-rw-r--r--biblio/bibtex/contrib/other/phyjfull.btx64
-rw-r--r--biblio/bibtex/contrib/other/physics.btx3569
-rw-r--r--biblio/bibtex/contrib/oxford/README112
-rw-r--r--biblio/bibtex/contrib/oxford/lang/english.mbs330
-rw-r--r--biblio/bibtex/contrib/oxford/lang/esperant.mbs292
-rw-r--r--biblio/bibtex/contrib/oxford/lang/finnish.mbs281
-rw-r--r--biblio/bibtex/contrib/oxford/lang/french.mbs292
-rw-r--r--biblio/bibtex/contrib/oxford/lang/german.mbs317
-rw-r--r--biblio/bibtex/contrib/oxford/lang/italian.mbs297
-rw-r--r--biblio/bibtex/contrib/oxford/lang/norsk.mbs299
-rw-r--r--biblio/bibtex/contrib/oxford/lang/spanish.mbs301
-rw-r--r--biblio/bibtex/contrib/oxford/lang/svenska.mbs297
-rw-r--r--biblio/bibtex/contrib/oxford/oxford.sty303
-rw-r--r--biblio/bibtex/contrib/oxford/oxford_en.bst1889
-rw-r--r--biblio/bibtex/contrib/oxford/oxford_in.bst1889
-rw-r--r--biblio/bibtex/contrib/oxford/oxford_se.bst1890
-rw-r--r--biblio/bibtex/contrib/perception/README4
-rw-r--r--biblio/bibtex/contrib/perception/perception.bst1584
-rw-r--r--biblio/bibtex/contrib/persian-bib/MyReferences.bib147
-rw-r--r--biblio/bibtex/contrib/persian-bib/Persian-bib-userguide.pdfbin0 -> 174160 bytes
-rw-r--r--biblio/bibtex/contrib/persian-bib/Persian-bib-userguide.tex370
-rw-r--r--biblio/bibtex/contrib/persian-bib/README58
-rw-r--r--biblio/bibtex/contrib/persian-bib/acm-fa.bst1435
-rw-r--r--biblio/bibtex/contrib/persian-bib/asa-fa.bst1774
-rw-r--r--biblio/bibtex/contrib/persian-bib/bibtex-example.tex30
-rw-r--r--biblio/bibtex/contrib/persian-bib/chicago-fa.bst2223
-rw-r--r--biblio/bibtex/contrib/persian-bib/cp1256fa.csf262
-rw-r--r--biblio/bibtex/contrib/persian-bib/gen_pdf.pl55
-rw-r--r--biblio/bibtex/contrib/persian-bib/ieeetr-fa.bst1257
-rw-r--r--biblio/bibtex/contrib/persian-bib/plain-fa-inLTR-beamer.bst1404
-rw-r--r--biblio/bibtex/contrib/persian-bib/plain-fa-inLTR.bst1401
-rw-r--r--biblio/bibtex/contrib/persian-bib/plain-fa.bst1390
-rw-r--r--biblio/bibtex/contrib/persian-bib/plainnat-fa.bst1917
-rw-r--r--biblio/bibtex/contrib/persian-bib/unsrt-fa.bst1225
-rw-r--r--biblio/bibtex/contrib/phy-bstyles/README46
-rw-r--r--biblio/bibtex/contrib/phy-bstyles/aip.bst1037
-rw-r--r--biblio/bibtex/contrib/phy-bstyles/aip.sty234
-rw-r--r--biblio/bibtex/contrib/phy-bstyles/cpc.bst1036
-rw-r--r--biblio/bibtex/contrib/phy-bstyles/cpp.el199
-rw-r--r--biblio/bibtex/contrib/phy-bstyles/iaea.bst1040
-rw-r--r--biblio/bibtex/contrib/phy-bstyles/jcp.bst1040
-rw-r--r--biblio/bibtex/contrib/phy-bstyles/nf.bst1035
-rw-r--r--biblio/bibtex/contrib/phy-bstyles/nf.sty166
-rw-r--r--biblio/bibtex/contrib/phy-bstyles/nflet.bst1033
-rw-r--r--biblio/bibtex/contrib/phy-bstyles/pf.bst1028
-rw-r--r--biblio/bibtex/contrib/phy-bstyles/physics.btx3569
-rw-r--r--biblio/bibtex/contrib/phy-bstyles/physjabb.bib66
-rw-r--r--biblio/bibtex/contrib/phy-bstyles/physjabb.btx71
-rw-r--r--biblio/bibtex/contrib/phy-bstyles/physjful.bib67
-rw-r--r--biblio/bibtex/contrib/phy-bstyles/physjful.btx73
-rw-r--r--biblio/bibtex/contrib/phy-bstyles/ppcf.bst1123
-rw-r--r--biblio/bibtex/contrib/phy-bstyles/report.bst1032
-rw-r--r--biblio/bibtex/contrib/phy-bstyles/rmp.bst1312
-rw-r--r--biblio/bibtex/contrib/sort-by-letters/README62
-rw-r--r--biblio/bibtex/contrib/sort-by-letters/abbrv-letters.bst1217
-rw-r--r--biblio/bibtex/contrib/sort-by-letters/alpha-letters.bst1377
-rw-r--r--biblio/bibtex/contrib/sort-by-letters/apalike-letters.bst1213
-rw-r--r--biblio/bibtex/contrib/sort-by-letters/frplainnat-letters.bst1448
-rw-r--r--biblio/bibtex/contrib/sort-by-letters/plain-letters.bst1217
-rw-r--r--biblio/bibtex/contrib/sort-by-letters/plainnat-letters.bst1529
-rw-r--r--biblio/bibtex/contrib/sort-by-letters/siam-letters.bst1154
-rw-r--r--biblio/bibtex/contrib/spain/README5
-rw-r--r--biblio/bibtex/contrib/spain/spain.bst1
-rw-r--r--biblio/bibtex/contrib/spain/spain.dbj1
-rw-r--r--biblio/bibtex/contrib/swebib/README4
-rw-r--r--biblio/bibtex/contrib/swebib/sweabbrv.bst1097
-rw-r--r--biblio/bibtex/contrib/swebib/swealpha.bst1257
-rw-r--r--biblio/bibtex/contrib/swebib/sweplain.bst1097
-rw-r--r--biblio/bibtex/contrib/swebib/sweplnat.bst1336
-rw-r--r--biblio/bibtex/contrib/swebib/sweunsrt.bst952
-rw-r--r--biblio/bibtex/contrib/test/test-aaai-named.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-abbrv.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-abstract.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-acm.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-agsm.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-alpha.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-amsalpha.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-amsplain.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-annotate.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-annotation.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-apa.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-apalike.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-apalike2.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-astron.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-authordate1.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-authordate2.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-authordate3.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-authordate4.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-bbs.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-cbe.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-cell.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-dcu.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-humanbio.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-humannat.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-ieeetr.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-is-abbrv.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-is-alpha.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-is-plain.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-is-unsrt.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-jbact.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-jmb.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-jtb.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-kluwer.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-named.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-namunsrt.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-nar.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-nature.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-newapa.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-phaip.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-phapalik.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-phcpc.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-phiaea.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-phjcp.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-phnf.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-phnflet.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-phpf.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-phppcf.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-phreport.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-phrmp.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-plain.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-plainyr.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-siam.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test-unsrt.ltx28
-rw-r--r--biblio/bibtex/contrib/test/test.bib839
-rw-r--r--biblio/bibtex/contrib/test/test.ltx28
-rw-r--r--biblio/bibtex/contrib/urlbst/LICENCE-gpl-2.0.txt339
-rw-r--r--biblio/bibtex/contrib/urlbst/LICENCE-lppl.txt416
-rw-r--r--biblio/bibtex/contrib/urlbst/Makefile.in173
-rw-r--r--biblio/bibtex/contrib/urlbst/README53
-rw-r--r--biblio/bibtex/contrib/urlbst/VERSION1
-rw-r--r--biblio/bibtex/contrib/urlbst/abbrvurl.bst1464
-rw-r--r--biblio/bibtex/contrib/urlbst/alphaurl.bst1624
-rw-r--r--biblio/bibtex/contrib/urlbst/configure2985
-rw-r--r--biblio/bibtex/contrib/urlbst/configure.ac89
-rw-r--r--biblio/bibtex/contrib/urlbst/plainurl.bst1464
-rw-r--r--biblio/bibtex/contrib/urlbst/unsrturl.bst1318
-rw-r--r--biblio/bibtex/contrib/urlbst/urlbst889
-rw-r--r--biblio/bibtex/contrib/urlbst/urlbst.bib221
-rw-r--r--biblio/bibtex/contrib/urlbst/urlbst.html462
-rw-r--r--biblio/bibtex/contrib/urlbst/urlbst.in889
-rw-r--r--biblio/bibtex/contrib/urlbst/urlbst.pdfbin0 -> 205285 bytes
-rw-r--r--biblio/bibtex/contrib/urlbst/urlbst.tex398
-rw-r--r--biblio/bibtex/contrib/vak/README25
-rw-r--r--biblio/bibtex/contrib/vak/vak.bst1558
-rw-r--r--biblio/bibtex/contrib/vancouver/FAQ17
-rw-r--r--biblio/bibtex/contrib/vancouver/README41
-rw-r--r--biblio/bibtex/contrib/vancouver/vancouver.bib539
-rw-r--r--biblio/bibtex/contrib/vancouver/vancouver.bst1873
-rw-r--r--biblio/bibtex/contrib/vancouver/vancouver.pdfbin0 -> 87134 bytes
-rw-r--r--biblio/bibtex/contrib/vancouver/vancouver.tex238
-rw-r--r--biblio/bibtex/contrib/zootaxa-bst/CHANGES.md7
-rw-r--r--biblio/bibtex/contrib/zootaxa-bst/LICENSE415
-rw-r--r--biblio/bibtex/contrib/zootaxa-bst/README.md48
-rw-r--r--biblio/bibtex/contrib/zootaxa-bst/example-refs.bib961
-rw-r--r--biblio/bibtex/contrib/zootaxa-bst/example.pdfbin0 -> 114795 bytes
-rw-r--r--biblio/bibtex/contrib/zootaxa-bst/example.tex72
-rw-r--r--biblio/bibtex/contrib/zootaxa-bst/zootaxa.bst1145
-rw-r--r--biblio/bibtex/databases/english.bib55
-rw-r--r--biblio/bibtex/mac/bib.hqx2448
-rw-r--r--biblio/bibtex/mac/bibtex.hqx9478
-rw-r--r--biblio/bibtex/mac/info.mac39
-rw-r--r--biblio/bibtex/mac/macbibtex11.hqx9373
-rw-r--r--biblio/bibtex/ms-dos/demel/bibtex99.boo1003
-rw-r--r--biblio/bibtex/ms-dos/kempson/bibtex.boo1855
-rw-r--r--biblio/bibtex/ms-dos/kempson/btxguide.tex714
-rw-r--r--biblio/bibtex/ms-dos/kempson/sources.boo2772
-rw-r--r--biblio/bibtex/utils/BibBuild/Bibliography Builder.fp7bin0 -> 684032 bytes
-rw-r--r--biblio/bibtex/utils/BibBuild/README84
-rw-r--r--biblio/bibtex/utils/BibTexMng/README30
-rw-r--r--biblio/bibtex/utils/JavaBib/JavaBib1.jpgbin0 -> 83258 bytes
-rw-r--r--biblio/bibtex/utils/JavaBib/describe.html142
-rw-r--r--biblio/bibtex/utils/JavaBib/docs.html270
-rw-r--r--biblio/bibtex/utils/JavaBib/index.html47
-rw-r--r--biblio/bibtex/utils/JavaBib/screen.html29
-rw-r--r--biblio/bibtex/utils/Synapsen/README30
-rw-r--r--biblio/bibtex/utils/Synapsen/SynManual.pdfbin0 -> 1982173 bytes
-rw-r--r--biblio/bibtex/utils/Synapsen/info.html1
-rw-r--r--biblio/bibtex/utils/alphabib/GPL.TXT341
-rw-r--r--biblio/bibtex/utils/alphabib/Makefile12
-rw-r--r--biblio/bibtex/utils/alphabib/README11
-rw-r--r--biblio/bibtex/utils/alphabib/alphabib338
-rw-r--r--biblio/bibtex/utils/alphabib/alphabib.pdfbin0 -> 124025 bytes
-rw-r--r--biblio/bibtex/utils/alphabib/example.bib76
-rw-r--r--biblio/bibtex/utils/alphabib/example.pdfbin0 -> 71897 bytes
-rw-r--r--biblio/bibtex/utils/alphabib/example.tex32
-rw-r--r--biblio/bibtex/utils/ams2bib/README46
-rw-r--r--biblio/bibtex/utils/ams2bib/ams2bib287
-rw-r--r--biblio/bibtex/utils/ams2bib/ams2bib.1100
-rw-r--r--biblio/bibtex/utils/ams2bib/ams2bib.txt77
-rw-r--r--biblio/bibtex/utils/bib2dvi/bib2dvi173
-rw-r--r--biblio/bibtex/utils/bib2dvi/bib2dvi.bak156
-rw-r--r--biblio/bibtex/utils/bib2dvi/bib2dvi.sty224
-rw-r--r--biblio/bibtex/utils/bib2dvi/bib2dvi1.awk60
-rw-r--r--biblio/bibtex/utils/bib2dvi/bib2dvi2.awk10
-rw-r--r--biblio/bibtex/utils/bib2dvi/dutch.sty14
-rw-r--r--biblio/bibtex/utils/bib2dvi/english.sty8
-rw-r--r--biblio/bibtex/utils/bib2ml/AUTHORS14
-rw-r--r--biblio/bibtex/utils/bib2ml/COPYING341
-rw-r--r--biblio/bibtex/utils/bib2ml/Changelog389
-rw-r--r--biblio/bibtex/utils/bib2ml/INSTALL2
-rw-r--r--biblio/bibtex/utils/bib2ml/NEWS2
-rw-r--r--biblio/bibtex/utils/bib2ml/README13
-rw-r--r--biblio/bibtex/utils/bib2ml/TODO3
-rw-r--r--biblio/bibtex/utils/bib2ml/VERSION1
-rwxr-xr-xbiblio/bibtex/utils/bib2ml/deb-specific/checkinstall.pl81
-rw-r--r--biblio/bibtex/utils/bib2ml/debian/bib2html.docs2
-rw-r--r--biblio/bibtex/utils/bib2ml/debian/bib2html.install28
-rw-r--r--biblio/bibtex/utils/bib2ml/debian/bib2html.manpages2
-rwxr-xr-xbiblio/bibtex/utils/bib2ml/debian/bib2html.postinst16
-rwxr-xr-xbiblio/bibtex/utils/bib2ml/debian/bib2html.prerm16
-rw-r--r--biblio/bibtex/utils/bib2ml/debian/bib2ml-common.docs2
-rw-r--r--biblio/bibtex/utils/bib2ml/debian/bib2ml-common.install28
-rw-r--r--biblio/bibtex/utils/bib2ml/debian/bib2sql.docs2
-rw-r--r--biblio/bibtex/utils/bib2ml/debian/bib2sql.install2
-rw-r--r--biblio/bibtex/utils/bib2ml/debian/bib2sql.manpages2
-rwxr-xr-xbiblio/bibtex/utils/bib2ml/debian/bib2sql.postinst16
-rwxr-xr-xbiblio/bibtex/utils/bib2ml/debian/bib2sql.prerm16
-rw-r--r--biblio/bibtex/utils/bib2ml/debian/bib2xml.docs2
-rw-r--r--biblio/bibtex/utils/bib2ml/debian/bib2xml.install4
-rw-r--r--biblio/bibtex/utils/bib2ml/debian/bib2xml.manpages2
-rwxr-xr-xbiblio/bibtex/utils/bib2ml/debian/bib2xml.postinst16
-rwxr-xr-xbiblio/bibtex/utils/bib2ml/debian/bib2xml.prerm16
-rw-r--r--biblio/bibtex/utils/bib2ml/debian/changelog475
-rw-r--r--biblio/bibtex/utils/bib2ml/debian/compat1
-rw-r--r--biblio/bibtex/utils/bib2ml/debian/control48
-rw-r--r--biblio/bibtex/utils/bib2ml/debian/copyright9
-rwxr-xr-xbiblio/bibtex/utils/bib2ml/debian/rules75
-rw-r--r--biblio/bibtex/utils/bib2ml/doc/bibtexml_dtd.html173
-rw-r--r--biblio/bibtex/utils/bib2ml/doc/capture.pngbin0 -> 203295 bytes
-rw-r--r--biblio/bibtex/utils/bib2ml/doc/capture2.pngbin0 -> 219500 bytes
-rw-r--r--biblio/bibtex/utils/bib2ml/doc/index.html1320
-rw-r--r--biblio/bibtex/utils/bib2ml/doc/mustwork.gifbin0 -> 1245 bytes
-rw-r--r--biblio/bibtex/utils/bib2ml/doc/not-validated.gifbin0 -> 1280 bytes
-rw-r--r--biblio/bibtex/utils/bib2ml/doc/optional.gifbin0 -> 1326 bytes
-rw-r--r--biblio/bibtex/utils/bib2ml/doc/required.gifbin0 -> 1385 bytes
-rw-r--r--biblio/bibtex/utils/bib2ml/doc/requiredor.pngbin0 -> 1954 bytes
-rw-r--r--biblio/bibtex/utils/bib2ml/doc/requiredor2.pngbin0 -> 1848 bytes
-rw-r--r--biblio/bibtex/utils/bib2ml/doc/sql_schema.pngbin0 -> 24379 bytes
-rw-r--r--biblio/bibtex/utils/bib2ml/doc/sql_schema_small.pngbin0 -> 8129 bytes
-rw-r--r--biblio/bibtex/utils/bib2ml/doc/validated.gifbin0 -> 1301 bytes
-rw-r--r--biblio/bibtex/utils/bib2ml/doc/work.gifbin0 -> 1326 bytes
-rw-r--r--biblio/bibtex/utils/bib2ml/man/bib2html_en.pod209
-rw-r--r--biblio/bibtex/utils/bib2ml/man/bib2html_fr.pod206
-rw-r--r--biblio/bibtex/utils/bib2ml/man/bib2sql_en.pod215
-rw-r--r--biblio/bibtex/utils/bib2ml/man/bib2sql_fr.pod212
-rw-r--r--biblio/bibtex/utils/bib2ml/man/bib2xml_en.pod214
-rw-r--r--biblio/bibtex/utils/bib2ml/man/bib2xml_fr.pod211
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Checker/Names.pm251
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/General/Encode.pm138
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/General/Error.pm443
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/General/HTML.pm1539
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/General/Misc.pm1554
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/General/Title.pm145
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/General/Verbose.pm241
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/AbstractGenerator.pm1226
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/DomainGen.pm564
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/ExtendedGen.pm714
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/FileWriter.pm307
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/HTMLGen.pm2334
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang.pm319
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/English86
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/English.HTMLGen54
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/English.Theme.Dyna22
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/French86
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/French.HTMLGen55
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/French.Theme.Dyna22
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Italian86
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Italian.HTMLGen56
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Italian.Theme.Dyna22
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Portuguese86
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Portuguese.HTMLGen56
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Portuguese.Theme.Dyna22
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Spanish87
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Spanish.HTMLGen55
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Spanish.Theme.Dyna23
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/LangManager.pm382
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/SQLGen.pm746
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/SqlEngine/MySql.pm214
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/SqlEngine/PgSql.pm214
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/StdOutWriter.pm163
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme.pm1418
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Dyna.pm1401
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Dyna/child.gifbin0 -> 91 bytes
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Dyna/emptychild.gifbin0 -> 53 bytes
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Dyna/lastchild.gifbin0 -> 88 bytes
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Dyna/minus.gifbin0 -> 54 bytes
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Dyna/plus.gifbin0 -> 56 bytes
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Dyna/samechild.gifbin0 -> 64 bytes
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Dyna/stylesheet.css180
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Simple.pm678
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Writer.pm211
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/XMLGen.pm1364
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/bibteXML-ext.dtd161
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/bibteXML.dtd816
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/drive.pngbin0 -> 926 bytes
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/loupe.gifbin0 -> 1194 bytes
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/valid-css.gifbin0 -> 1134 bytes
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/valid-html401.gifbin0 -> 2328 bytes
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/JabRef/JabRef.pm209
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Main.pm433
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Parser/BibScanner.pm817
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Parser/Parser.pm477
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Parser/Scanner.pm490
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Parser/StateMachine.pm643
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Release.pm89
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Translator/BibTeXEntry.pm498
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Translator/BibTeXName.pm931
-rw-r--r--biblio/bibtex/utils/bib2ml/src/Bib2HTML/Translator/TeX.pm2603
-rwxr-xr-xbiblio/bibtex/utils/bib2ml/src/bib2html.php41
-rwxr-xr-xbiblio/bibtex/utils/bib2ml/src/bib2html.pl55
-rwxr-xr-xbiblio/bibtex/utils/bib2ml/src/bib2sql.pl57
-rwxr-xr-xbiblio/bibtex/utils/bib2ml/src/bib2xml.pl57
-rw-r--r--biblio/bibtex/utils/bib2ml/test.bib5
-rw-r--r--biblio/bibtex/utils/bib2xhtml/COPYING339
-rw-r--r--biblio/bibtex/utils/bib2xhtml/ChangeLog892
-rw-r--r--biblio/bibtex/utils/bib2xhtml/Makefile118
-rw-r--r--biblio/bibtex/utils/bib2xhtml/README83
-rwxr-xr-xbiblio/bibtex/utils/bib2xhtml/bib2xhtml1279
-rw-r--r--biblio/bibtex/utils/bib2xhtml/bib2xhtml.html767
-rw-r--r--biblio/bibtex/utils/bib2xhtml/bib2xhtml.man534
-rw-r--r--biblio/bibtex/utils/bib2xhtml/bib2xhtml.pdfbin0 -> 16902 bytes
-rw-r--r--biblio/bibtex/utils/bib2xhtml/bib2xhtml.txt299
-rwxr-xr-xbiblio/bibtex/utils/bib2xhtml/bibsearch333
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/alpha-c-k.html154
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/alpha-c-r-k.html154
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/alpha-c-r.html154
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/alpha-c.html154
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/alpha-k.html154
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/alpha-n-c-k.html154
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/alpha-n-c-r-k.html154
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/alpha-n-c-r.html154
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/alpha-n-c.html154
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/alpha-n-k.html154
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/alpha-n-r-k.html154
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/alpha-n-r.html154
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/alpha-n-u-c-k.html154
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/alpha-n-u-c-r-k.html154
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/alpha-n-u-c-r.html154
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/alpha-n-u-c.html154
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/alpha-n-u-k.html154
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/alpha-n-u-r-k.html154
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/alpha-n-u-r.html154
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/alpha-n-u.html154
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/alpha-n.html154
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/alpha-r-k.html154
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/alpha-r.html154
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/alpha-u-c-k.html154
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/alpha-u-c-r-k.html154
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/alpha-u-c-r.html154
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/alpha-u-c.html154
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/alpha-u-k.html154
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/alpha-u-r-k.html154
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/alpha-u-r.html154
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/alpha-u.html154
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/alpha.html154
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/empty-c-r.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/empty-c.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/empty-n-c-r.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/empty-n-c.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/empty-n-r.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/empty-n-u-c-r.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/empty-n-u-c.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/empty-n-u-r.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/empty-n-u.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/empty-n.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/empty-r.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/empty-u-c-r.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/empty-u-c.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/empty-u-r.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/empty-u.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/empty.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/named-c-k.html161
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/named-c-r-k.html161
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/named-c-r.html161
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/named-c.html161
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/named-k.html161
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/named-n-c-k.html161
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/named-n-c-r-k.html161
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/named-n-c-r.html161
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/named-n-c.html161
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/named-n-k.html161
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/named-n-r-k.html161
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/named-n-r.html161
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/named-n-u-c-k.html161
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/named-n-u-c-r-k.html161
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/named-n-u-c-r.html161
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/named-n-u-c.html161
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/named-n-u-k.html161
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/named-n-u-r-k.html161
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/named-n-u-r.html161
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/named-n-u.html161
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/named-n.html161
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/named-r-k.html161
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/named-r.html161
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/named-u-c-k.html161
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/named-u-c-r-k.html161
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/named-u-c-r.html161
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/named-u-c.html161
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/named-u-k.html161
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/named-u-r-k.html161
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/named-u-r.html161
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/named-u.html161
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/named.html161
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/paragraph-c-r.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/paragraph-c.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/paragraph-n-c-r.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/paragraph-n-c.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/paragraph-n-r.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/paragraph-n-u-c-r.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/paragraph-n-u-c.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/paragraph-n-u-r.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/paragraph-n-u.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/paragraph-n.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/paragraph-r.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/paragraph-u-c-r.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/paragraph-u-c.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/paragraph-u-r.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/paragraph-u.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/paragraph.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/plain-c-k.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/plain-c-r-k.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/plain-c-r.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/plain-c.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/plain-k.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/plain-n-c-k.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/plain-n-c-r-k.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/plain-n-c-r.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/plain-n-c.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/plain-n-k.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/plain-n-r-k.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/plain-n-r.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/plain-n-u-c-k.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/plain-n-u-c-r-k.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/plain-n-u-c-r.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/plain-n-u-c.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/plain-n-u-k.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/plain-n-u-r-k.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/plain-n-u-r.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/plain-n-u.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/plain-n.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/plain-r-k.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/plain-r.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/plain-u-c-k.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/plain-u-c-r-k.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/plain-u-c-r.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/plain-u-c.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/plain-u-k.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/plain-u-r-k.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/plain-u-r.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/plain-u.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/plain.html149
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/unsort-k.html150
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/unsort-n-k.html150
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/unsort-n-u-k.html150
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/unsort-n-u.html150
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/unsort-n.html150
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/unsort-u-k.html150
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/unsort-u.html150
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/unsort.html150
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/unsortlist-n-u.html150
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/unsortlist-n.html150
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/unsortlist-u.html150
-rw-r--r--biblio/bibtex/utils/bib2xhtml/eg/unsortlist.html150
-rw-r--r--biblio/bibtex/utils/bib2xhtml/example.bib201
-rwxr-xr-xbiblio/bibtex/utils/bib2xhtml/gen-bst135
-rw-r--r--biblio/bibtex/utils/bib2xhtml/html-a.bst1406
-rw-r--r--biblio/bibtex/utils/bib2xhtml/html-aa.bst1411
-rw-r--r--biblio/bibtex/utils/bib2xhtml/html-ac.bst1407
-rw-r--r--biblio/bibtex/utils/bib2xhtml/html-aca.bst1412
-rw-r--r--biblio/bibtex/utils/bib2xhtml/html-acr.bst1408
-rw-r--r--biblio/bibtex/utils/bib2xhtml/html-acra.bst1413
-rw-r--r--biblio/bibtex/utils/bib2xhtml/html-ar.bst1407
-rw-r--r--biblio/bibtex/utils/bib2xhtml/html-ara.bst1412
-rw-r--r--biblio/bibtex/utils/bib2xhtml/html-btxbst.doc2900
-rw-r--r--biblio/bibtex/utils/bib2xhtml/html-n.bst1388
-rw-r--r--biblio/bibtex/utils/bib2xhtml/html-na.bst1393
-rw-r--r--biblio/bibtex/utils/bib2xhtml/html-nc.bst1389
-rw-r--r--biblio/bibtex/utils/bib2xhtml/html-nca.bst1394
-rw-r--r--biblio/bibtex/utils/bib2xhtml/html-ncr.bst1390
-rw-r--r--biblio/bibtex/utils/bib2xhtml/html-ncra.bst1395
-rw-r--r--biblio/bibtex/utils/bib2xhtml/html-nr.bst1389
-rw-r--r--biblio/bibtex/utils/bib2xhtml/html-nra.bst1394
-rw-r--r--biblio/bibtex/utils/bib2xhtml/html-u.bst1044
-rw-r--r--biblio/bibtex/utils/bib2xhtml/html-ua.bst1049
-rw-r--r--biblio/bibtex/utils/bib2xhtml/index.html117
-rw-r--r--biblio/bibtex/utils/bib2xhtml/showeg.js32
-rw-r--r--biblio/bibtex/utils/bib2xhtml/static.html151
-rw-r--r--biblio/bibtex/utils/bibclean/README778
-rw-r--r--biblio/bibtex/utils/bibclean/bibclean-2.11.3.tar-lst219
-rw-r--r--biblio/bibtex/utils/bibclean/bibclean.pdfbin0 -> 55589 bytes
l---------biblio/bibtex/utils/bibdb1
-rw-r--r--biblio/bibtex/utils/bibexport/README27
-rw-r--r--biblio/bibtex/utils/bibexport/bibexport.dtx1569
-rw-r--r--biblio/bibtex/utils/bibexport/bibexport.ins76
-rw-r--r--biblio/bibtex/utils/bibexport/bibexport.pdfbin0 -> 256849 bytes
-rw-r--r--biblio/bibtex/utils/bibextract/COPYING340
-rw-r--r--biblio/bibtex/utils/bibextract/Makefile.in245
-rw-r--r--biblio/bibtex/utils/bibextract/README46
-rw-r--r--biblio/bibtex/utils/bibextract/bibextract.awk261
-rw-r--r--biblio/bibtex/utils/bibextract/bibextract.man214
-rw-r--r--biblio/bibtex/utils/bibextract/bibextract.pdfbin0 -> 32689 bytes
-rw-r--r--biblio/bibtex/utils/bibextract/bibextract.sh126
-rw-r--r--biblio/bibtex/utils/bibextract/bibextract.sok52
-rw-r--r--biblio/bibtex/utils/bibextract/bibextract.txt345
-rw-r--r--biblio/bibtex/utils/bibextract/citefind.awk163
-rw-r--r--biblio/bibtex/utils/bibextract/citefind.man169
-rw-r--r--biblio/bibtex/utils/bibextract/citefind.pdfbin0 -> 23364 bytes
-rw-r--r--biblio/bibtex/utils/bibextract/citefind.sh106
-rw-r--r--biblio/bibtex/utils/bibextract/citefind.sok45
-rw-r--r--biblio/bibtex/utils/bibextract/citefind.txt294
-rw-r--r--biblio/bibtex/utils/bibextract/citetags.awk107
-rw-r--r--biblio/bibtex/utils/bibextract/citetags.man126
-rw-r--r--biblio/bibtex/utils/bibextract/citetags.pdfbin0 -> 21719 bytes
-rw-r--r--biblio/bibtex/utils/bibextract/citetags.sh68
-rw-r--r--biblio/bibtex/utils/bibextract/citetags.sok47
-rw-r--r--biblio/bibtex/utils/bibextract/citetags.txt258
-rw-r--r--biblio/bibtex/utils/bibextract/configure2301
-rw-r--r--biblio/bibtex/utils/bibextract/configure.in50
-rw-r--r--biblio/bibtex/utils/bibfile-reformat-pages/README5
-rw-r--r--biblio/bibtex/utils/bibfile-reformat-pages/bibfile-reformat-pages147
-rw-r--r--biblio/bibtex/utils/bibgene/bibgene122.hqx6657
-rw-r--r--biblio/bibtex/utils/bibindex/Makefile189
-rw-r--r--biblio/bibtex/utils/bibindex/README47
-rw-r--r--biblio/bibtex/utils/bibindex/bibindex.c1062
-rw-r--r--biblio/bibtex/utils/bibindex/bibindex.man112
-rw-r--r--biblio/bibtex/utils/bibindex/bibindex.txt132
-rw-r--r--biblio/bibtex/utils/bibindex/biblook.c1245
-rw-r--r--biblio/bibtex/utils/bibindex/biblook.h113
-rw-r--r--biblio/bibtex/utils/bibindex/biblook.man122
-rw-r--r--biblio/bibtex/utils/bibindex/biblook.txt132
-rw-r--r--biblio/bibtex/utils/bible/BIBLE.HLPbin0 -> 20620 bytes
-rw-r--r--biblio/bibtex/utils/bible/bible.ini85
-rw-r--r--biblio/bibtex/utils/bible/readme.txt38
-rw-r--r--biblio/bibtex/utils/bible/versions.txt20
-rw-r--r--biblio/bibtex/utils/bibsort/Makefile157
-rw-r--r--biblio/bibtex/utils/bibsort/README15
-rw-r--r--biblio/bibtex/utils/bibsort/bibsort.hlp200
-rw-r--r--biblio/bibtex/utils/bibsort/bibsort.man291
-rw-r--r--biblio/bibtex/utils/bibsort/bibsort.sh163
-rw-r--r--biblio/bibtex/utils/bibsort/bibsort.txt264
-rw-r--r--biblio/bibtex/utils/bibsort/rofvms.awk60
-rw-r--r--biblio/bibtex/utils/bibtool/README.md125
-rw-r--r--biblio/bibtex/utils/bibtool/bibtool.pdfbin0 -> 583816 bytes
-rw-r--r--biblio/bibtex/utils/bibtool/c_lib.pdfbin0 -> 411431 bytes
-rw-r--r--biblio/bibtex/utils/bibtool/ref_card.pdfbin0 -> 160993 bytes
-rw-r--r--biblio/bibtex/utils/bibtools/README51
-rw-r--r--biblio/bibtex/utils/bibtools/abstract.bst1345
-rw-r--r--biblio/bibtex/utils/bibtools/aux2bib68
-rw-r--r--biblio/bibtex/utils/bibtools/bib.html37
-rw-r--r--biblio/bibtex/utils/bibtools/bib2html271
-rw-r--r--biblio/bibtex/utils/bibtools/bibify37
-rw-r--r--biblio/bibtex/utils/bibtools/bibkey56
-rw-r--r--biblio/bibtex/utils/bibtools/bibkey.awk33
-rw-r--r--biblio/bibtex/utils/bibtools/bibkey.sed32
-rw-r--r--biblio/bibtex/utils/bibtools/bibtex-extras.el22
-rw-r--r--biblio/bibtex/utils/bibtools/citekeys52
-rw-r--r--biblio/bibtex/utils/bibtools/citekeys.bst60
-rw-r--r--biblio/bibtex/utils/bibtools/cleantex19
-rw-r--r--biblio/bibtex/utils/bibtools/demo.bib81
-rw-r--r--biblio/bibtex/utils/bibtools/demo.html83
-rw-r--r--biblio/bibtex/utils/bibtools/html-alpha.bst1286
-rw-r--r--biblio/bibtex/utils/bibtools/html-cv.bst1330
-rw-r--r--biblio/bibtex/utils/bibtools/html-long.bst1356
-rw-r--r--biblio/bibtex/utils/bibtools/html-longp.bst1363
-rw-r--r--biblio/bibtex/utils/bibtools/html-short.bst1305
-rw-r--r--biblio/bibtex/utils/bibtools/looktex53
-rw-r--r--biblio/bibtex/utils/bibtools/looktex.awk39
-rw-r--r--biblio/bibtex/utils/bibtools/makebib95
-rw-r--r--biblio/bibtex/utils/bibtools/printbib68
-rw-r--r--biblio/bibtex/utils/bibtools/subset-dfk.bst281
-rw-r--r--biblio/bibtex/utils/bibtools/subset-nocomment.bst272
-rw-r--r--biblio/bibtex/utils/bibtools/subset.bst271
-rw-r--r--biblio/bibtex/utils/bibview-2.0/README35
-rw-r--r--biblio/bibtex/utils/bibview-2.0/bibview-patch.gzbin0 -> 30002 bytes
-rw-r--r--biblio/bibtex/utils/bibview-2.0/bibview.pdfbin0 -> 61422 bytes
-rw-r--r--biblio/bibtex/utils/bibview/bibview.pl-0.2.2538
-rw-r--r--biblio/bibtex/utils/bibweb/COPYING340
-rw-r--r--biblio/bibtex/utils/bibweb/ChangeLog213
-rw-r--r--biblio/bibtex/utils/bibweb/HOW_TO293
-rw-r--r--biblio/bibtex/utils/bibweb/INSTALL89
-rw-r--r--biblio/bibtex/utils/bibweb/README41
-rw-r--r--biblio/bibtex/utils/bibweb/bibweb529
-rw-r--r--biblio/bibtex/utils/bibweb/bibweb.html824
-rw-r--r--biblio/bibtex/utils/bibweb/bibweb.info594
-rw-r--r--biblio/bibtex/utils/bibweb/bibweb.texi776
-rw-r--r--biblio/bibtex/utils/bibweb/bibweb_toc.html33
-rw-r--r--biblio/bibtex/utils/bibweb/test.tex44
-rw-r--r--biblio/bibtex/utils/bids/bids.to.bibtex390
-rw-r--r--biblio/bibtex/utils/ebib/ChangeLog1118
-rw-r--r--biblio/bibtex/utils/ebib/INSTALL1
-rw-r--r--biblio/bibtex/utils/ebib/README14
-rw-r--r--biblio/bibtex/utils/ebib/VERSION1
-rw-r--r--biblio/bibtex/utils/ebib/doc/ebib-manual.pdfbin0 -> 257344 bytes
-rw-r--r--biblio/bibtex/utils/ebib/doc/html/ebib-manual.css61
-rw-r--r--biblio/bibtex/utils/ebib/doc/html/ebib-manual.html2224
-rw-r--r--biblio/bibtex/utils/ebib/ebib.el3606
-rw-r--r--biblio/bibtex/utils/ebib/info/ebib-manual.info2444
-rw-r--r--biblio/bibtex/utils/findbib/README73
-rw-r--r--biblio/bibtex/utils/findbib/addbib281
-rw-r--r--biblio/bibtex/utils/findbib/documentation.pdfbin0 -> 47947 bytes
-rw-r--r--biblio/bibtex/utils/findbib/documentation.tex82
-rw-r--r--biblio/bibtex/utils/findbib/example.pdfbin0 -> 57041 bytes
-rw-r--r--biblio/bibtex/utils/findbib/example.tex26
-rw-r--r--biblio/bibtex/utils/findbib/findbib474
-rw-r--r--biblio/bibtex/utils/findbib/utphys.bst1066
-rw-r--r--biblio/bibtex/utils/fixbbl/README28
-rw-r--r--biblio/bibtex/utils/fixbbl/fixbbl.py67
-rw-r--r--biblio/bibtex/utils/hyperbibtex/hyperbibtex098a.sea_hqx6101
-rw-r--r--biblio/bibtex/utils/ietfbibs/CHANGELOG.md11
-rw-r--r--biblio/bibtex/utils/ietfbibs/LICENSE.md19
-rw-r--r--biblio/bibtex/utils/ietfbibs/Makefile20
-rw-r--r--biblio/bibtex/utils/ietfbibs/README.md9
-rwxr-xr-xbiblio/bibtex/utils/ietfbibs/id2bib30
-rw-r--r--biblio/bibtex/utils/ietfbibs/id2bib.awk96
-rw-r--r--biblio/bibtex/utils/ietfbibs/ids.tex16
-rwxr-xr-xbiblio/bibtex/utils/ietfbibs/rfc2bib30
-rw-r--r--biblio/bibtex/utils/ietfbibs/rfc2bib.awk117
-rw-r--r--biblio/bibtex/utils/ietfbibs/rfcs.tex16
-rw-r--r--biblio/bibtex/utils/isi2bibtex/README77
-rw-r--r--biblio/bibtex/utils/isi2bibtex/isi2bibtex1325
-rw-r--r--biblio/bibtex/utils/isi2bibtex/isi2bibtex.1443
-rw-r--r--biblio/bibtex/utils/isi2bibtex/isi2bibtexrc110
-rw-r--r--biblio/bibtex/utils/isi2bibtex/manual.htm464
-rw-r--r--biblio/bibtex/utils/isi2bibtex/manual.txt263
-rw-r--r--biblio/bibtex/utils/lookbibtex/Makefile69
-rw-r--r--biblio/bibtex/utils/lookbibtex/README61
-rw-r--r--biblio/bibtex/utils/lookbibtex/bibdestringify.147
-rw-r--r--biblio/bibtex/utils/lookbibtex/bibdestringify.dist48
-rw-r--r--biblio/bibtex/utils/lookbibtex/lookbibtex.1129
-rw-r--r--biblio/bibtex/utils/lookbibtex/lookbibtex.dist220
-rw-r--r--biblio/bibtex/utils/lookbibtex/release1
-rw-r--r--biblio/bibtex/utils/ltb2bib/README58
-rw-r--r--biblio/bibtex/utils/ltb2bib/bibdest.bib17
-rw-r--r--biblio/bibtex/utils/ltb2bib/doltb2bib.tex5
-rw-r--r--biblio/bibtex/utils/ltb2bib/ltb2bib.dtx359
-rw-r--r--biblio/bibtex/utils/ltb2bib/ltb2bib.ins57
-rw-r--r--biblio/bibtex/utils/ltb2bib/ltb2bib.pdfbin0 -> 42074 bytes
-rw-r--r--biblio/bibtex/utils/ltb2bib/ltbsource.ltb14
-rw-r--r--biblio/bibtex/utils/mab2bib/README143
-rw-r--r--biblio/bibtex/utils/mab2bib/latex.py531
-rw-r--r--biblio/bibtex/utils/mab2bib/mab2bib.py218
-rwxr-xr-xbiblio/bibtex/utils/mab2bib/utf8_to_latex.py129
-rw-r--r--biblio/bibtex/utils/mathsci2bibtex/mathsci2bibtex786
-rw-r--r--biblio/bibtex/utils/mathscinet/README4
-rw-r--r--biblio/bibtex/utils/mathscinet/mathscinet.PL85
-rw-r--r--biblio/bibtex/utils/misc/README5
-rw-r--r--biblio/bibtex/utils/misc/bbl2html.awk495
-rw-r--r--biblio/bibtex/utils/misc/bibfind38
-rw-r--r--biblio/bibtex/utils/misc/noTeX.bst1091
-rw-r--r--biblio/bibtex/utils/mkbib/ABOUT-NLS1068
-rw-r--r--biblio/bibtex/utils/mkbib/AUTHORS3
-rw-r--r--biblio/bibtex/utils/mkbib/COPYING674
-rw-r--r--biblio/bibtex/utils/mkbib/ChangeLog10
-rw-r--r--biblio/bibtex/utils/mkbib/INSTALL370
-rw-r--r--biblio/bibtex/utils/mkbib/Makefile.am55
-rw-r--r--biblio/bibtex/utils/mkbib/Makefile.in1029
-rw-r--r--biblio/bibtex/utils/mkbib/NEWS29
-rw-r--r--biblio/bibtex/utils/mkbib/README17
-rw-r--r--biblio/bibtex/utils/mkbib/aclocal.m41728
-rwxr-xr-xbiblio/bibtex/utils/mkbib/autogen.sh31
-rwxr-xr-xbiblio/bibtex/utils/mkbib/build-aux/compile342
-rwxr-xr-xbiblio/bibtex/utils/mkbib/build-aux/depcomp707
-rwxr-xr-xbiblio/bibtex/utils/mkbib/build-aux/install-sh527
-rwxr-xr-xbiblio/bibtex/utils/mkbib/build-aux/missing330
-rwxr-xr-xbiblio/bibtex/utils/mkbib/build-aux/ylwrap232
-rw-r--r--biblio/bibtex/utils/mkbib/config.h.in32
-rwxr-xr-xbiblio/bibtex/utils/mkbib/config.rpath666
-rwxr-xr-xbiblio/bibtex/utils/mkbib/configure7651
-rw-r--r--biblio/bibtex/utils/mkbib/configure.ac56
-rw-r--r--biblio/bibtex/utils/mkbib/data/Makefile.am12
-rw-r--r--biblio/bibtex/utils/mkbib/data/Makefile.in466
-rw-r--r--biblio/bibtex/utils/mkbib/data/main-window.ui133
-rw-r--r--biblio/bibtex/utils/mkbib/data/mkbib.desktop.in13
-rw-r--r--biblio/bibtex/utils/mkbib/help/C/contacts.page23
-rw-r--r--biblio/bibtex/utils/mkbib/help/C/feature.page80
-rw-r--r--biblio/bibtex/utils/mkbib/help/C/google.page26
-rw-r--r--biblio/bibtex/utils/mkbib/help/C/images/entry_pane.pngbin0 -> 33434 bytes
-rw-r--r--biblio/bibtex/utils/mkbib/help/C/images/left_pane.pngbin0 -> 46578 bytes
-rw-r--r--biblio/bibtex/utils/mkbib/help/C/images/mkbib.pngbin0 -> 4514 bytes
-rw-r--r--biblio/bibtex/utils/mkbib/help/C/images/right_pane.pngbin0 -> 48246 bytes
-rw-r--r--biblio/bibtex/utils/mkbib/help/C/index.page30
-rw-r--r--biblio/bibtex/utils/mkbib/help/C/install.page58
-rw-r--r--biblio/bibtex/utils/mkbib/help/C/interface.page51
-rw-r--r--biblio/bibtex/utils/mkbib/help/C/introduction.page25
-rw-r--r--biblio/bibtex/utils/mkbib/help/C/keyboard-shortcuts.page90
-rw-r--r--biblio/bibtex/utils/mkbib/help/C/legal.xml3
-rw-r--r--biblio/bibtex/utils/mkbib/help/C/new.page33
-rw-r--r--biblio/bibtex/utils/mkbib/help/C/old.page41
-rw-r--r--biblio/bibtex/utils/mkbib/help/C/trouble.page28
-rw-r--r--biblio/bibtex/utils/mkbib/help/Makefile.am28
-rw-r--r--biblio/bibtex/utils/mkbib/help/Makefile.in404
-rw-r--r--biblio/bibtex/utils/mkbib/images/icon.pngbin0 -> 6816 bytes
-rw-r--r--biblio/bibtex/utils/mkbib/images/icon.svg71
-rw-r--r--biblio/bibtex/utils/mkbib/images/mkbib.pngbin0 -> 4514 bytes
-rw-r--r--biblio/bibtex/utils/mkbib/images/mkbib.svg71
-rw-r--r--biblio/bibtex/utils/mkbib/m4/codeset.m421
-rw-r--r--biblio/bibtex/utils/mkbib/m4/gettext.m4381
-rw-r--r--biblio/bibtex/utils/mkbib/m4/glibc2.m430
-rw-r--r--biblio/bibtex/utils/mkbib/m4/glibc21.m430
-rw-r--r--biblio/bibtex/utils/mkbib/m4/gtk-doc.m467
-rw-r--r--biblio/bibtex/utils/mkbib/m4/iconv.m4180
-rw-r--r--biblio/bibtex/utils/mkbib/m4/intdiv0.m484
-rw-r--r--biblio/bibtex/utils/mkbib/m4/intl.m4285
-rw-r--r--biblio/bibtex/utils/mkbib/m4/intldir.m419
-rw-r--r--biblio/bibtex/utils/mkbib/m4/intlmacosx.m451
-rw-r--r--biblio/bibtex/utils/mkbib/m4/intltool.m4237
-rw-r--r--biblio/bibtex/utils/mkbib/m4/intmax.m433
-rw-r--r--biblio/bibtex/utils/mkbib/m4/inttypes-pri.m436
-rw-r--r--biblio/bibtex/utils/mkbib/m4/inttypes_h.m426
-rw-r--r--biblio/bibtex/utils/mkbib/m4/lcmessage.m430
-rw-r--r--biblio/bibtex/utils/mkbib/m4/lib-ld.m4110
-rw-r--r--biblio/bibtex/utils/mkbib/m4/lib-link.m4709
-rw-r--r--biblio/bibtex/utils/mkbib/m4/lib-prefix.m4185
-rw-r--r--biblio/bibtex/utils/mkbib/m4/libtool.m47986
-rw-r--r--biblio/bibtex/utils/mkbib/m4/lock.m4316
-rw-r--r--biblio/bibtex/utils/mkbib/m4/longlong.m4109
-rw-r--r--biblio/bibtex/utils/mkbib/m4/ltoptions.m4384
-rw-r--r--biblio/bibtex/utils/mkbib/m4/ltsugar.m4123
-rw-r--r--biblio/bibtex/utils/mkbib/m4/ltversion.m423
-rw-r--r--biblio/bibtex/utils/mkbib/m4/lt~obsolete.m498
-rw-r--r--biblio/bibtex/utils/mkbib/m4/nls.m431
-rw-r--r--biblio/bibtex/utils/mkbib/m4/po.m4449
-rw-r--r--biblio/bibtex/utils/mkbib/m4/printf-posix.m444
-rw-r--r--biblio/bibtex/utils/mkbib/m4/progtest.m492
-rw-r--r--biblio/bibtex/utils/mkbib/m4/size_max.m468
-rw-r--r--biblio/bibtex/utils/mkbib/m4/stdint_h.m426
-rw-r--r--biblio/bibtex/utils/mkbib/m4/uintmax_t.m430
-rw-r--r--biblio/bibtex/utils/mkbib/m4/visibility.m452
-rw-r--r--biblio/bibtex/utils/mkbib/m4/wchar_t.m420
-rw-r--r--biblio/bibtex/utils/mkbib/m4/wint_t.m428
-rw-r--r--biblio/bibtex/utils/mkbib/m4/xsize.m413
-rw-r--r--biblio/bibtex/utils/mkbib/po/Makefile.in.in222
-rw-r--r--biblio/bibtex/utils/mkbib/po/POTFILES.in9
-rw-r--r--biblio/bibtex/utils/mkbib/src/bib.c1774
-rw-r--r--biblio/bibtex/utils/mkbib/src/bib.h102
-rw-r--r--biblio/bibtex/utils/mkbib/src/bib.y153
-rw-r--r--biblio/bibtex/utils/mkbib/src/biblst361
-rw-r--r--biblio/bibtex/utils/mkbib/src/caution.c34
-rw-r--r--biblio/bibtex/utils/mkbib/src/file_util.c156
-rw-r--r--biblio/bibtex/utils/mkbib/src/help.c76
-rw-r--r--biblio/bibtex/utils/mkbib/src/main.h54
-rw-r--r--biblio/bibtex/utils/mkbib/src/mkbib.c457
-rw-r--r--biblio/bibtex/utils/mkbib/src/scan.c1805
-rw-r--r--biblio/bibtex/utils/mkbib/src/scan.l33
-rw-r--r--biblio/bibtex/utils/mkbib/src/search.c119
-rw-r--r--biblio/bibtex/utils/mkbib/src/update_file.c134
-rw-r--r--biblio/bibtex/utils/mkbib/src/view.c262
-rw-r--r--biblio/bibtex/utils/mrcheckbib/README4
-rw-r--r--biblio/bibtex/utils/mrcheckbib/mrcheckbib.sh241
-rw-r--r--biblio/bibtex/utils/printbib/printbib87
-rw-r--r--biblio/bibtex/utils/printbib/printbibkey8
-rw-r--r--biblio/bibtex/utils/pybib/BibEntry.py662
-rw-r--r--biblio/bibtex/utils/pybib/BibTeX.py456
-rw-r--r--biblio/bibtex/utils/pybib/Bibliography.py167
-rw-r--r--biblio/bibtex/utils/pybib/README19
-rw-r--r--biblio/bibtex/utils/pybib/bib2html146
-rw-r--r--biblio/bibtex/utils/pybib/bibcat86
-rw-r--r--biblio/bibtex/utils/pybib/bibdvi110
-rw-r--r--biblio/bibtex/utils/pybib/bibfilter110
-rw-r--r--biblio/bibtex/utils/pybib/bibgoogle264
-rw-r--r--biblio/bibtex/utils/pybib/bibkey112
-rw-r--r--biblio/bibtex/utils/pybib/biblint79
-rw-r--r--biblio/bibtex/utils/pybib/biblist78
-rw-r--r--biblio/bibtex/utils/pybib/bibmerge116
-rw-r--r--biblio/bibtex/utils/pybib/bibnames89
-rw-r--r--biblio/bibtex/utils/pybib/bibsort100
-rw-r--r--biblio/bibtex/utils/pybib/bibsummary81
-rw-r--r--biblio/bibtex/utils/qbibman/README43
-rw-r--r--biblio/bibtex/utils/r2bib/ChangeLog42
-rw-r--r--biblio/bibtex/utils/r2bib/EndNote2bib.1101
-rw-r--r--biblio/bibtex/utils/r2bib/EndNote2bib.c600
-rw-r--r--biblio/bibtex/utils/r2bib/EndNoteTag.187
-rw-r--r--biblio/bibtex/utils/r2bib/EndNoteTag.cxx148
-rw-r--r--biblio/bibtex/utils/r2bib/INSTALL30
-rw-r--r--biblio/bibtex/utils/r2bib/Makefile.am21
-rw-r--r--biblio/bibtex/utils/r2bib/Makefile.in937
-rw-r--r--biblio/bibtex/utils/r2bib/README70
-rw-r--r--biblio/bibtex/utils/r2bib/aclocal.m41057
-rw-r--r--biblio/bibtex/utils/r2bib/ansel2uni.144
-rw-r--r--biblio/bibtex/utils/r2bib/ansel2uni.cc13365
-rw-r--r--biblio/bibtex/utils/r2bib/ansel2uni.ll4456
-rw-r--r--biblio/bibtex/utils/r2bib/config.h.in62
-rwxr-xr-xbiblio/bibtex/utils/r2bib/configure6095
-rw-r--r--biblio/bibtex/utils/r2bib/configure.ac24
-rwxr-xr-xbiblio/bibtex/utils/r2bib/depcomp791
-rw-r--r--biblio/bibtex/utils/r2bib/dosToTex.154
-rw-r--r--biblio/bibtex/utils/r2bib/dosToTex.c463
-rwxr-xr-xbiblio/bibtex/utils/r2bib/install-sh527
-rwxr-xr-xbiblio/bibtex/utils/r2bib/missing215
-rw-r--r--biblio/bibtex/utils/r2bib/r2bib.149
-rw-r--r--biblio/bibtex/utils/r2bib/r2bib.c334
-rw-r--r--biblio/bibtex/utils/r2bib/risDateAdj.cc1960
-rw-r--r--biblio/bibtex/utils/r2bib/risDateAdj.ll190
-rw-r--r--biblio/bibtex/utils/r2bib/wileyEndNoteFilt.154
-rw-r--r--biblio/bibtex/utils/r2bib/wileyEndNoteFilt.cc2075
-rw-r--r--biblio/bibtex/utils/r2bib/wileyEndNoteFilt.ll332
-rwxr-xr-xbiblio/bibtex/utils/r2bib/ylwrap249
-rw-r--r--biblio/bibtex/utils/refer-tools/ref2bib.shar1838
-rw-r--r--biblio/bibtex/utils/refer-tools/refer-to-bibtex.el575
-rw-r--r--biblio/bibtex/utils/refer-tools/refer.bst387
-rw-r--r--biblio/bibtex/utils/refer-tools/refer2bibtex-0.9.4.pl1745
-rw-r--r--biblio/bibtex/utils/refer-tools/tex2refer151
-rw-r--r--biblio/bibtex/utils/refer-tools/tib-to-bibtex.shar420
-rw-r--r--biblio/bibtex/utils/tex2bib/README74
-rw-r--r--biblio/bibtex/utils/tex2bib/tex2bib448
-rw-r--r--biblio/bibtex/utils/text2bib/INSTALL44
-rw-r--r--biblio/bibtex/utils/text2bib/README21
-rw-r--r--biblio/bibtex/utils/text2bib/docs/COPYING123
-rw-r--r--biblio/bibtex/utils/tkbibtex/tkbibtex2337
-rw-r--r--biblio/bibtex/utils/tkbibtex/tkbibtex.1151
-rw-r--r--biblio/bibtex/utils/xbibfile/INSTALL11
-rw-r--r--biblio/bibtex/utils/xbibfile/Makefile106
-rw-r--r--biblio/bibtex/utils/xbibfile/README69
-rw-r--r--biblio/bibtex/utils/xbibfile/article.c476
-rw-r--r--biblio/bibtex/utils/xbibfile/book.c522
-rw-r--r--biblio/bibtex/utils/xbibfile/booklet.c444
-rw-r--r--biblio/bibtex/utils/xbibfile/cleanup.c100
-rw-r--r--biblio/bibtex/utils/xbibfile/conference.c569
-rw-r--r--biblio/bibtex/utils/xbibfile/count.pl14
-rw-r--r--biblio/bibtex/utils/xbibfile/default.bib99
-rw-r--r--biblio/bibtex/utils/xbibfile/error.c72
-rw-r--r--biblio/bibtex/utils/xbibfile/filing.c146
-rw-r--r--biblio/bibtex/utils/xbibfile/historical.note105
-rw-r--r--biblio/bibtex/utils/xbibfile/inbook.c581
-rw-r--r--biblio/bibtex/utils/xbibfile/incol.c605
-rw-r--r--biblio/bibtex/utils/xbibfile/inproc.c571
-rw-r--r--biblio/bibtex/utils/xbibfile/linking.c140
-rw-r--r--biblio/bibtex/utils/xbibfile/listall.c177
-rw-r--r--biblio/bibtex/utils/xbibfile/listauthors.c204
-rw-r--r--biblio/bibtex/utils/xbibfile/listpubyear.c214
-rw-r--r--biblio/bibtex/utils/xbibfile/listref.c156
-rw-r--r--biblio/bibtex/utils/xbibfile/listuplinks.c189
-rw-r--r--biblio/bibtex/utils/xbibfile/listword.c239
-rw-r--r--biblio/bibtex/utils/xbibfile/listwriter.c234
-rw-r--r--biblio/bibtex/utils/xbibfile/listyears.c203
-rw-r--r--biblio/bibtex/utils/xbibfile/manual.c457
-rw-r--r--biblio/bibtex/utils/xbibfile/masters.c456
-rw-r--r--biblio/bibtex/utils/xbibfile/misc.c432
-rw-r--r--biblio/bibtex/utils/xbibfile/penguin.bib75
-rw-r--r--biblio/bibtex/utils/xbibfile/phd.c455
-rw-r--r--biblio/bibtex/utils/xbibfile/probes.c163
-rw-r--r--biblio/bibtex/utils/xbibfile/proceedings.c523
-rw-r--r--biblio/bibtex/utils/xbibfile/ramblings.txt15
-rw-r--r--biblio/bibtex/utils/xbibfile/searchrefs.pl47
-rw-r--r--biblio/bibtex/utils/xbibfile/selecting.c208
-rw-r--r--biblio/bibtex/utils/xbibfile/showrefs.pl33
-rw-r--r--biblio/bibtex/utils/xbibfile/techreport.c475
-rw-r--r--biblio/bibtex/utils/xbibfile/unpublished.c403
-rw-r--r--biblio/bibtex/utils/xbibfile/xbibfile.c165
-rw-r--r--biblio/bibtex/utils/xbibfile/xbibfile.h18
-rw-r--r--biblio/bibtex/utils/xbibtex/README22
-rw-r--r--biblio/bibtex/utils/xbibtex/bibutils.shar.gzbin0 -> 17332 bytes
-rw-r--r--biblio/bibtex/utils/xbibtex/man.shar.gzbin0 -> 1722 bytes
-rw-r--r--biblio/bibtex/utils/xbibtex/userguide.ps4322
-rw-r--r--biblio/bibtex/utils/xbibtex/xbibtex.shar.gzbin0 -> 28547 bytes
-rw-r--r--biblio/bibtex/vms/00read_bibtex.vms33
-rw-r--r--biblio/bibtex/vms/bibtex.cld27
-rw-r--r--biblio/bibtex/vms/bibtex.rnh833
-rw-r--r--biblio/bibtex/vms/bibtex.vms-changes1284
-rw-r--r--biblio/bibtex/vms/bibtex_cli.cld27
-rw-r--r--biblio/bibtex/vms/link_bibtex.com29
-rw-r--r--biblio/bibtex/vms/make_bibtex.com56
1550 files changed, 729371 insertions, 0 deletions
diff --git a/biblio/bibtex/8-bit/README b/biblio/bibtex/8-bit/README
new file mode 120000
index 0000000000..3bd38e5941
--- /dev/null
+++ b/biblio/bibtex/8-bit/README
@@ -0,0 +1 @@
+bt371.readme \ No newline at end of file
diff --git a/biblio/bibtex/8-bit/bt371.readme b/biblio/bibtex/8-bit/bt371.readme
new file mode 100644
index 0000000000..6322e51fcd
--- /dev/null
+++ b/biblio/bibtex/8-bit/bt371.readme
@@ -0,0 +1,903 @@
+******************************************************************************
+FILE: $RCSfile: 00readme.txt,v $
+ $Revision: 3.71 $
+ $Date: 1996/08/18 20:38:55 $
+******************************************************************************
+
+
+An 8-bit Implementation of BibTeX 0.99 with a Very Large Capacity
+=================================================================
+
+
+Contents
+--------
+
+ 0. Abstract
+
+ 1. Introduction
+ 1.1 8-bit Character Set Support
+ 1.2 Big and Customisable Capacity
+
+ 2. Distribution Kits and Where to Find Them
+ 2.1 bt371dos.zip
+ 2.2 bt371os2.zip
+ 2.3 bt371src.zip
+ 2.4 bt371csf.zip
+
+ 3. Running 8-bit BibTeX
+ 3.1 Command line options
+ 3.2 Finding Files
+ 3.3 Environment variables
+
+ 4. The Codepage and Sort Order (CS) File
+ 4.1 CS file syntax
+ 4.2 Testing a CS file
+ 4.3 Sharing your CS file
+
+ 5. Building 8-bit BibTeX from Source Code
+ 5.1 DOS
+ 5.2 OS/2
+ 5.3 Unix
+ 5.4 VMS
+
+ 6. Reporting Bugs and Requesting Improvements
+ 6.1 Contacting the authors
+ 6.2 Further enhancements
+
+ 7. Frequently Asked Questions
+
+ 8. Acknowledgements
+
+ 9. BibTeX Use and Copying Conditions
+
+ 10. Change Log
+
+
+
+0. Abstract
+-----------
+
+This abstract is in a format suitable for inclusion in BBS description files
+(file_id.diz):
+
+ (v3.71) "big" BibTeX with full 8-bit support
+
+ An enhanced, portable C version of BibTeX.
+ Enhanced by conversion to "big" (32-bit)
+ capacity, addition of run-time selectable
+ capacity and 8-bit support extensions.
+ National character set and sorting order
+ are controlled by an external configuration
+ file. Various examples are included.
+ Freeware / GNU Public Licence.
+
+ Niel Kempson <kempson@snowyowl.co.uk>
+ Alejandro Aguilar-Sierra <asierra@servidor.unam.mx>
+
+
+
+1. Introduction
+----------------
+
+8-bit BibTeX is an enhanced, portable C version of BibTeX 0.99. It has been
+enhanced in these areas:
+
+ - conversion to "big" (32-bit) capacity
+ - capacity selectable at run time
+ - flexible support for non-English languages using 8-bit character sets
+ - well matched to LateX2e and its "inputenc" package
+
+Oren Patashnik, the creator of BibTeX, is working on a new BibTeX 1.0 that
+will be a modern implementation supporting large capacities and non-English
+languages (see TUGboat, pages 269--274, volume 15, number 3, September 1994).
+He is content for this version to be released, but hopes that people will
+eventually migrate to BibTeX 1.0 when it is released. Its release date is
+uncertain at the moment.
+
+
+ 1.1 Big and Customisable Capacity
+ ---------------------------------
+
+ The original 16-bit code has been rewritten to use 32-bit data types
+ wherever possible. The result is a very large potential capacity. To
+ increase flexibility and to avoid BibTeX allocating all available memory,
+ the capacity of some key arrays can be set on the command line.
+
+ For convenience, several standard capacities have been predefined:
+ default, big and huge. The key capacities are set as follows:
+
+ Parameter Standard --big --huge --wolfgang
+ ------------------------------------------------------------
+ Hash_Prime 4,253 8,501 16,319 30,011
+ Hash_Size 5,000 10,000 19,000 35,000
+ Max_Cites 750 2,000 5,000 7,500
+ Max_Ent_Ints 3,000 4,000 5,000 7,500
+ Max_Ent_Strs 3,000 6,000 10,000 10,000
+ Max_Fields 17,250 30,000 85,000 125,000
+ Max_Strings 4,000 10,000 19,000 30,000
+ Pool_Size 65,530 130,000 500,000 750,000
+ Wiz_Fn_Space 3,000 6,000 10,000 10,000
+
+ If these parameter names mean nothing to you, don't worry, you've
+ probably never exceeded BibTeX's capacity.
+
+
+ 1.2 8-bit Character Set Support
+ -------------------------------
+
+ BibTeX now accepts 8-bit characters in its input files and writes 8-bit
+ characters to its output files. The character set is defined by an
+ external configuration text file - the codepage and sort order ("CS")
+ file.
+
+ The sort order can be defined for the language and character set. For
+ example, in German, the control sequence \"o (o umlaut) should be sorted
+ as if it were the letter "o", but after ordinary "o", leading to this
+ order:
+
+ Trofer, Tr\"ofer, Trufer
+
+ However, in Swedish, \"o (o umlaut) is treated as the 29th letter of the
+ alphabet and these entries would be sorted as:
+
+ Trofer, Trufer, Tr\"ofer
+
+ The sorting order is defined by an external configuration text file -
+ the codepage and sort order ("CS") file.
+
+ This version of BibTeX, coupled with LaTeX2e and its "inputenc" package
+ provide a robust means of handling 8-bit character sets.
+
+
+
+2. Distribution Kits and Where to Find Them
+--------------------------------------------
+
+8-bit BibTeX is distributed as a set of ZIP files created by the freely
+available implementation of ZIP by the Info-ZIP project. The files have all
+been compressed using the new "deflation" algorithm and can only be
+compressed using the Info-ZIP implementation of UNZIP, or PKUNZIP v2.04 or
+later. Ancient versions of PKUNZIP (e.g. v1.10) will not be able to unZIP
+the files and will complain with a message like: "PKUNZIP: Warning! I don't
+know how to handle: xxxxxxxx.xxx".
+
+The "official" version of 8-bit BibTeX will be available by anonymous FTP
+from the Comprehensive TeX Archive Network (CTAN) sites:
+
+ ftp.tex.ac.uk:/tex-archive/biblio/bibtex/8-bit
+ ftp.uni-stuttgart.de:/tex-archive/biblio/bibtex/8-bit
+
+There are four main ZIP files in the complete 8-bit BibTeX distribution:
+
+ bt###dos.zip bt###os2.zip bt###src.zip bt###csf.zip
+
+where ### is the latest version, currently 371 (for v3.71). Their contents
+and purpose are summarised below.
+
+
+ 2.1 bt371dos.zip
+ ----------------
+
+ The binary + documentation kit for MS-DOS users. It contains all you
+ need to run 8-bit BibTeX under MS-DOS, but no source code. The
+ executable program uses a 32-bit virtual memory extender called EMX to
+ run in 32-bit mode. emTeX is probably the most comprehensive and capable
+ implementation of TeX for DOS & OS/2 and it too uses EMX.
+
+ The kit contains these files:
+
+ 00readme.txt this file
+ COPYING GNU copyright notice
+ HISTORY summary of changes made so far
+ csfile.txt documentation for codepage and sort order
+ ("CS") files
+ msdos/bibtex.exe the 8-bit BibTeX program
+
+ EMX uses the VCPI mechanism to run in 32-bit mode and will therefore not
+ run in a DOS session under MS Windows. It will run under native DOS and
+ in a DOS session under OS/2. The EMX extender (v0.9b) is bound into
+ bibtex.exe, but you can always obtain the latest version of EMX by
+ anaonymous FTP from:
+
+ ftp.uni-stuttgart.de:/pub/systems/os2/emx-0.9b
+ ftp.leo.org:/pub/comp/os/os2/gnu/emx+gcc
+
+ If you want to run this version of BibTeX in a DOS session under MS
+ Windows, you have two choices:
+
+ - get and install the RSX extender. RSX is a DPMI-compliant DOS
+ extender which is more or less compatible with emx. It is compatible
+ with EMX, DPMI servers and DOS sessions under MS Windows. The
+ official site for the latest version of RSX is
+
+ ftp.uni-bielefeld.de:/pub/systems/msdos/misc
+
+ but you can also get it by anonymous FTP from the same CTAN sites as
+ BibTeX:
+
+ ftp.tex.ac.uk:/tex-archive/systems/msdos/dpmigcc
+ ftp.uni-stuttgart.de:/tex-archive/systems/msdos
+
+ The files to look for are dpmigcc5.zip and rsxwin3a.zip
+
+ If you use the emTeX implementation of TeX and friends, it may be
+ more convenient to get the "emxrsx" package - it's a minimal version
+ of RSX to allow emTeX to run in DOS sessions under MS Windows. It is
+ available by anonymous FTP from CTAN sites in the emTeX directory:
+
+ ftp.tex.ac.uk:/tex-archive/systems/msdos/emtex
+ ftp.uni-stuttgart.de:/tex-archive/systems/msdos/emtex
+
+ On the other hand, if you're using emTeX under MS Windows, you've
+ probably solved the problem already :-)
+
+ - get the djgpp GNU C compiler and DOS extender package and build
+ BibTeX from the source code. The master site for djgpp is
+ ftp.delorie.com.
+
+
+ 2.2 bt371os2.zip
+ ----------------
+
+ The binary + documentation kit for OS/2 2.x and 3.x users. It contains
+ all you need to run 8-bit BibTeX under OS/2, but no source code. The
+ executable program was developed using the EMX development system and has
+ its run-time library linked in - there is no need to install EMX just to
+ run BibTeX. If you already have EMX installed want a smaller executable,
+ you'll need to rebuild from sources.
+
+ The kit contains these files:
+
+ 00readme.txt this file
+ COPYING GNU copyright notice
+ HISTORY summary of changes made so far
+ csfile.txt documentation for codepage and sort order
+ ("CS") files
+ os2/bibtex.exe the 8-bit BibTeX program
+
+
+ 2.3 bt371src.zip
+ ----------------
+
+ The complete source code kit to build 8-bit BibTeX on all supported
+ systems. The source code is known to build easily under MS-DOS and OS/2
+ if you have the GNU C Compiler installed. The source code is quite
+ portable and contains almost no system-specific items - it should very
+ easily port to Unix or VMS. If you decide to port 8-bit BibTeX to
+ another platform, please let me know so that I can include your efforts
+ in the master distribution.
+
+ The source kit contains these files:
+
+ 00readme.txt this file
+ COPYING GNU copyright notice
+ HISTORY summary of changes made so far
+ csfile.txt documentation for codepage and sort order
+ ("CS") files
+
+ bibtex.h definition of global parameters and limits
+ datatype.h definition of custom data types
+ gblprocs.h forward declaration of all global functions
+ gblvars.h declaration of global variables
+ sysdep.h determine the compiler and environment
+
+ bibtex.c main source including system dependent code
+ bibtex-1.c part 1 of the system independent functions
+ bibtex-2.c part 2 of the system independent functions
+ bibtex-3.c part 3 of the system independent functions
+ bibtex-4.c part 4 of the system independent functions
+
+ utils.c nearly all of the enhancement code
+ utils.h
+
+ getopt.c the GNU getopt package for command line parsing
+ getopt1.c
+ getopt.h
+
+ dos-emx.mak makefile for EMX GNU C under MS-DOS
+ dos-dj.mak makefile for DJGPP GNU C under MS-DOS
+ os2.mak makefile for EMX GNU C under OS/2
+ unix.mak makefile for Unix variants
+
+
+ 2.4 bt371csf.zip
+ ----------------
+
+ The character set and sorting order is now defined by an external
+ configuration text file - the codepage and sort order ("CS") file. A
+ number of example files have been included with the master distribution,
+ but I hope that others will be written by 8-bit BibTeX users in due
+ course. To avoid the need to reissue to the master ZIP files every time
+ a new CS file is created, CS files will also be available as a separate
+ kit.
+
+ At the time of writing, the kit contains these CS files:
+
+ File Name Character Set Sorting Order
+ -------------------------------------------------------------
+ 88591lat.csf ISO 8859-1 Latin
+ 88591sca.csf ISO 8859-1 Scandinavean
+ ascii.csf US ASCII English
+ cp437lat.csf IBM codepage 437 Latin
+ cp850lat.csf IBM codepage 850 Latin
+ cp850sca.csf IBM codepage 850 Scandinavean
+ cp866rus.csf IBM codepage 866 Russian
+
+
+
+3. Running 8-bit BibTeX
+------------------------
+
+Running 8-bit BibTeX is superficially the same as running the original
+BibTeX, but there are quite a number of command line options that may be
+specified.
+
+
+ 3.1 Command line options
+ ------------------------
+
+ The command line syntax is:
+
+ bibtex [options] aux-file
+
+ where "aux-file" is the name of the TeX auxilliary output file to be
+ processed by BibTeX. The trailing ".aux" may be omitted.
+
+ Valid options are:
+
+ -? --help
+
+ Display some brief help text and then exit.
+
+ -7 --traditional
+
+ Operate in the original 7-bit mode. A CS file is not read:
+ only 7-bit ASCII characters are supported and sorting is
+ strictly by ASCII code value.
+
+ BibTeX will not allow you to specify --traditional with
+ either the --8bit or --csfile option.
+
+ -8 --8bit
+
+ Force 8-bit mode. A CS file is not read. All 8-bit
+ characters (code > 127) are treated as letters and sorting is
+ strictly by code page value.
+
+ BibTeX will not allow you to specify --8bit with either the
+ --csfile or --traditional option.
+
+ -c --csfile FILE
+
+ Read FILE as the BibTeX codepage and sort definition (CS)
+ file. The CS file is used to define the 8-bit character set
+ used by BibTeX and the order in which those characters should
+ be sorted.
+
+ BibTeX will not allow you to specify --csfile with either
+ the --8bit or --traditional option.
+
+ -d --debug TYPE
+
+ Report debugging information to the BibTeX log file and the
+ standard error device. The value TYPE controls the type of
+ debugging information reported. TYPE can be one or more of:
+
+ all - all debugging categories
+ csf - CS file processing
+ io - file I/O
+ mem - memory allocation and capacity
+ misc - other debugging information
+ search - path searching and file location
+
+ It is possible that your version of BibTeX has been compiled
+ with debugging support disabled. If this is the case, BibTeX
+ will issue a warning message when --debug is specified.
+
+ -s --statistics
+
+ Report internal statistics to the BibTeX log file.
+
+ It is possible that your version of BibTeX has been compiled
+ with statistics support disabled. If this is the case,
+ BibTeX will issue a warning message when --statistics is
+ specified.
+
+ -t --trace
+
+ Report execution tracing to the BibTeX log file.
+
+ It is possible that your version of BibTeX has been compiled
+ with tracing support disabled. If this is the case, BibTeX
+ will issue a warning message when --trace is specified.
+
+ -v --version
+
+ Report BibTeX's version and then exit.
+
+ -B --big
+
+ Set BibTeX's capacity to "big". The size of particular
+ parameters will be set as follows (the default sizes are
+ shown in brackets):
+
+ Hash_Prime 8,501 (4,253)
+ Hash_Size 10,000 (5,000)
+ Max_Cites 2,000 (750)
+ Max_Ent_Ints 4,000 (3,000)
+ Max_Ent_Strs 6,000 (3,000)
+ Max_Fields 30,000 (17,250)
+ Max_Strings 10,000 (4,000)
+ Pool_Size 130,000 (65,530)
+ Wiz_Fn_Space 6,000 (3,000)
+
+ -H --huge
+
+ Set BibTeX's capacity to "huge". The size of particular
+ parameters will be set as follows (the default sizes are
+ shown in brackets):
+
+ Hash_Prime 16,319 (4,253)
+ Hash_Size 19,000 (5,000)
+ Max_Cites 5,000 (750)
+ Max_Ent_Ints 5,000 (3,000)
+ Max_Ent_Strs 10,000 (3,000)
+ Max_Fields 85,000 (17,250)
+ Max_Strings 19,000 (4,000)
+ Pool_Size 500,000 (65,530)
+ Wiz_Fn_Space 10,000 (3,000)
+
+ -W --wolfgang
+
+ Set BibTeX's capacity to "really huge" - required for
+ Wolfgang's PhD thesis. The size of particular parameters
+ will be set as follows (the default sizes are shown in
+ brackets):
+
+ Hash_Prime 30,011 (4,253)
+ Hash_Size 35,000 (5,000)
+ Max_Cites 7,500 (750)
+ Max_Ent_Ints 7,500 (3,000)
+ Max_Ent_Strs 10,000 (3,000)
+ Max_Fields 125,000 (17,250)
+ Max_Strings 30,000 (4,000)
+ Pool_Size 750,000 (65,530)
+ Wiz_Fn_Space 10,000 (3,000)
+
+ -M --min_crossrefs ##
+
+ Set min_crossrefs to ##. If an item is cross-referenced at
+ least ## times, it will be placed in the list of citations,
+ even if it is not explicitly \cited as a reference. The
+ default value is 2.
+
+ --mcites ##
+
+ Allow a maximum of ## distinct \cites in the .aux files.
+ This number must be less than the maximum number of strings
+ (settable with --mstrings).
+
+ --mentints ##
+
+ Allow a maximum of ## integer entries in the .bib databases.
+
+ --mentstrs ##
+
+ Allow a maximum of ## string entries in the .bib databases.
+
+ --mfields ##
+
+ Allow a maximum of ## fields in the .bib databases.
+
+ --mpool ##
+
+ Set the string pool to ## bytes.
+
+ --mstrings ##
+
+ Allow a maximum of ## unique strings. This number must be
+ less than the hash size and greater than the maximum number
+ of \cites (settable with --mcites).
+
+ --mwizfuns ##
+
+ Allow a maximum of ## wizard functions.
+
+
+ 3.2 Finding Files
+ -----------------
+
+ 8-bit BibTeX looks for input files in three different steps as summarised
+ below. As soon as 8-bit BibTeX finds a matching file, it stops looking
+ (i.e. only the first matching file is used). In order, the three steps
+ are:
+
+ - look for the file in the current working directory.
+
+ - if the appropriate environment variable has been set (e.g. BSTINPUT),
+ treat its value as a list of directories to be searched. Look for the
+ file in each of the directories in the list.
+
+ - if the appropriate environment variable (e.g. BSTINPUT) has not been
+ set, use a predefined "fallback" path as a list of directories to be
+ searched.
+
+ A search list consists of a number of directories separated by a delimiter
+ (semicolons for MS-DOS & OS/2, colons for Unix and commas for VMS).
+
+ As distributed, the strategy adopted by 8-bit BibTeX for opening specific
+ file types is
+
+ .aux files
+
+ - look in current working directory only
+
+ .bib (BibTeX database) files
+
+ - look in current working directory
+ - search along path defined by environment variable BIBINPUT
+ - search along fallback path (empty by default)
+
+ .bst (BibTeX style) files
+
+ - look in current working directory
+ - search along path defined by environment variable BSTINPUT
+ - search along fallback path (empty by default)
+
+ .csf (CS) files
+
+ - look in current working directory
+ - search along path defined by environment variable CSFINPUT
+ - search along fallback path (empty by default)
+
+ The name of the CS file is determined using a number of steps
+
+ - use value of --csfile command line option,
+ - use value of the BIBTEX_CSFILE environment variable
+ - use fallback CS file name (empty by default)
+
+ Output files
+
+ All of BibTeX's output (.bbl, .blg) files are created in the
+ current working directory.
+
+
+ The environment variables and fallback paths used by 8-bit BibTeX are
+ defined in the Makefile and set at compile time, but you can determine
+ what your version of 8-bit BibTeX is using by starting it with the command
+ line
+
+ bibtex --debug=search non-existent-file-name
+
+ The debugging output (written to the standard error device) should look
+ something like:
+
+ D-SCH: Search strategy for .aux files:
+ D-SCH: search path environment variable: <undefined>
+ D-SCH: fallback search path: <undefined>
+ D-SCH: Search strategy for .bib files:
+ D-SCH: search path environment variable: BIBINPUT
+ D-SCH: BIBINPUT value: e:\usr\c\bibtex
+ D-SCH: fallback search path: e:/usr/latex/bibtex;e:/emtex/bibtex/bib
+ D-SCH: Search strategy for .bst files:
+ D-SCH: search path environment variable: BSTINPUT
+ D-SCH: BSTINPUT value: <undefined>
+ D-SCH: fallback search path: e:/usr/latex/bibtex;e:/emtex/bibtex/bst
+ D-SCH: Search strategy for .csf files:
+ D-SCH: search path environment variable: CSFINPUT
+ D-SCH: CSFINPUT value: e:\usr\c\bibtex
+ D-SCH: fallback search path: e:/usr/latex/bibtex;e:/emtex/bibtex/csf
+ D-SCH: Default .csf file:
+ D-SCH: file name environment variable: BIBTEX_CSFILE
+ D-SCH: BIBTEX_CSFILE value: e:/emtex/texinput/cp437lat.csf
+ D-SCH: fallback file name: cp850lat.csf
+
+ The current working directory will always be searched, even if the
+ environment variable and fallback paths have not been specified (e.g. as
+ for .aux files in the above example).
+
+ If the default behaviour is not to your liking, you will need to rebuild
+ 8-bit BibTeX from its source code (see section 5).
+
+
+ 3.3 Environment variables
+ -------------------------
+
+ As supplied, 8-bit BibTeX uses a number of environment variables:
+
+ BIBINPUT search path for database (.bib) files
+ BSTINPUT search path for style (.bst) files
+ CSFINPUT search path for CS (.csf) files
+ BIBTEX_CSFILE the default CS file
+ TMP directory for virtual memory files (DOS only)
+
+ The name of the environment variables used may be changed (in the
+ Makefile) when BibTeX is built. See the appropriate Makefile for your
+ environment and remember that you can use the "--debug=search" command
+ line option to reveal the environment variables used by your version of
+ 8-bit BibTeX (see previous section).
+
+ All environment variables used as a search list (BIBINPUT, BSTINPUT &
+ CSFINPUT) can be set to a number of separate directories, separated
+ by a delimiter (semicolons for MS-DOS & OS/2, colons for Unix and
+ commas for VMS).
+
+ Examples for MS-DOS and OS/2 are:
+
+ SET BIBINPUT=e:\data\tex\bibtex;c:\emtex\bibtex\bib
+ SET BSTINPUT=e:\data\tex\bibtex;c:\emtex\bibtex\bst
+ SET CSFINPUT=e:\data\tex\bibtex
+ SET BIBTEX_CSFILE=c:\data\tex\bibtex\cp850lat.csf
+
+ Examples for Unix:
+
+ setenv BIBINPUT /u/kempson/bibtex:/usr/local/lib/tex/bib-files
+ setenv BSTINPUT /u/kempson/bibtex:/usr/local/lib/tex/bst-files
+ setenv CSFINPUT /u/kempson/bibtex:/usr/local/lib/tex/csf-files
+ setenv BIBTEX_CSFILE /usr/local/lib/tex/csf-files/88591lat.csf
+
+ Examples for VMS:
+
+ define BIBINPUT "sys$login:,disk$tex:[bibtex.bib-files]"
+ define BSTINPUT "sys$login:,disk$tex:[bibtex.bst-files]"
+ define CSFINPUT "sys$login:,disk$tex:[bibtex.csf-files]"
+ define BIBTEX_CSFILE disk$tex:[bibtex.csf-files]88951lat.csf
+
+
+
+4. The Codepage and Sort Order (CS) File
+-----------------------------------------
+
+The Codepage and Sort definition (CS) file is used to define the 8-bit
+character set used by BibTeX and the order in which those characters should
+be sorted.
+
+Please see the associated csfile.txt for details of CS file syntax and
+guidelines for testing new CS files. NOTE: it contains many 8-bit characters
+and may cause problems if you try to display or print it on 7-bit systems
+(e.g. older versions of Unix).
+
+
+
+5. Building 8-bit BibTeX from Source Code
+------------------------------------------
+
+The 8-bit BibTeX source is fairly standard ANSI C with almost no system
+specific code. It should therefore be relatively straightforward to build it
+in a different environment if you have GNU C or an ANSI C compiler.
+
+A number of Makefiles have been provided to build 8-bit BibTeX from source
+code:
+
+ dos-emx.mak makefile for EMX GNU C under MS-DOS
+ dos-dj.mak makefile for DJGPP GNU C under MS-DOS
+ os2.mak makefile for EMX GNU C under OS/2
+ unix.mak makefile for Unix variants
+
+Whichever Makefile you use, you need to check that the "local definitions"
+are appropriate for your system. There are three small sections to
+customise:
+
+ BibTeX File Searching
+
+ - specifies the names of environment variables and paths to be used when
+ searching for input files
+
+ Utility Programs
+
+ - specifies the names of programs to be used for simple functions
+
+ Compiler/Linker
+
+ - specifies compiler/linker command lines
+
+If your system is already supported it should not be necessary to modify any
+part of the Makefile except these three sections.
+
+Brief notes for specific environments follow.
+
+
+ 5.1 DOS
+ -------
+
+ 8-bit BibTeX has been built and tested using the EMX and DJGPP
+ development environments. Both are based on GNU C with their own
+ custom 32-bit extenders.
+
+
+ 5.2 OS/2
+ --------
+
+ The EMX development environment is supported.
+
+
+ 5.3 Unix
+ --------
+
+ Most variants of Unix supporting GNU C should be capable of building
+ and running 8-bit BibTeX.
+
+
+ 5.4 VMS
+ -------
+
+ The authors have not built or tested this version of 8-bit BibTeX on
+ VMS, but see no reason why it shouldn't compile and run successfully
+ if GNU C is installed on the system. (The only system-dependent code
+ in 8-bit BibTeX concerns file opening and provision has been made for
+ VMS file modes.)
+
+ If you have GNU C installed, we recommend starting with a copy of the
+ unix.mak Makefile and customising it for VMS. If you successfully
+ get 8-bit BibTeX running under VMS, *please* let the authors know how
+ you did it.
+
+
+
+6. Reporting Bugs and Requesting Improvements
+----------------------------------------------
+
+Where possible, we will try to fix bugs and will consider requests for
+improvements. If you are reporting a bug, please provide as much information
+as possible (e.g. operating environment, 8-bit BibTeX version and source,
+exact error message and the offending files if possible).
+
+The most common message is of the form "BibTeX doesn't work on XXXX". This
+is generally of no help in debugging a problem so please provide as much
+information as possible.
+
+
+ 6.1 Contacting the authors
+ --------------------------
+
+ The authors are
+
+ Niel Kempson
+ Snowy Owl Systems Limited, Cheltenham, England
+ E-mail: kempson@snowyowl.co.uk
+
+ and
+
+ Alejandro Aguilar-Sierra
+ Centro de Ciencias de la Atm\'osfera,
+ Universidad Nacional Aut\'onoma de M\'exico, M\'exico
+ E-mail: asierra@servidor.unam.mx
+
+ Niel Kempson did the original manual translation from WEB to C,
+ conversion to "big" (32-bit) capacity, addition of run-time selectable
+ capacity and part of the 8-bit support extensions. He intermittently
+ maintains the master version of the source code.
+
+ Alejandro Aguilar-Sierra should take the credit for most of the 8-bit
+ function provided by this version of BibTeX.
+
+
+ 6.2 Further Enhancements
+ ------------------------
+
+ No program is perfect and this version of BibTeX is no exception to that
+ rule. Some known weaknesses are:
+
+ - the 8-bit support is currently limited to single 8-bit characters.
+ TeX control sequences (e.g. \'{A}) are not interpreted and treated in
+ the same way as the equivalent 8-bit character.
+
+ - it is not possible to redefine the lower 128 character codes. This
+ excludes support for character codes not built on ASCII (e.g. EBCDIC).
+
+ Future enhancements will be considered, but it may be time to build a
+ "proper" system built from the ground up to handle 8-bit character
+ sets. BibTeX 1.0 promises to be this system.
+
+ Other items that ought to be on the "to do" list:
+
+ - path searching using Karl Berry's kpathsea package
+ - TeX format documentation
+ - Unix man pages
+ - OS/2 .inf format documentation
+ - native 32-bit support for MS Windows 95/NT
+
+
+
+7. Frequently Asked Questions
+------------------------------
+
+When I run the DOS version 8-bit BibTeX in a DOS window under MS Windows 3.x,
+95 or NT, I get the message "DPMI not supported".
+
+ 8-bit BibTeX has been built using the EMX development environment. It
+ uses the VCPI mechanism to run in 32-bit mode and will therefore not run
+ in a DOS session under MS Windows.
+
+ If you want to run this version of 8-bit BibTeX in a DOS session under
+ MS Windows, you have two choices:
+
+ - get and install the RSX extender
+ - rebuild from sources using a suitable compiler
+
+ See section 2.1 for more information.
+
+
+8-bit BibTeX doesn't find my .bib/.bst files. How can I find out where it
+looks for them?
+
+ See section 3.2
+
+
+There isn't a CS file for my character set / language sorting order
+
+ Creating a new CS file should be relatively straightforward. If you'd
+ like to try, please contact the authors for assistance. If you don't
+ need assistance, *please* let us have a copy of your finished CS file so
+ we can include it in the distribution.
+
+
+
+8. Acknowledgement
+-------------------
+
+The original BibTeX was written by Oren Patashnik using Donald Knuth's WEB
+system. This format produces a PASCAL program for execution and a TeX
+documented version of the source code. This program started as a (manual)
+translation of the WEB source into C.
+
+
+
+9. BibTeX Use and Copying Conditions
+-------------------------------------
+
+The programs currently being distributed that relate to 8-bit BibTeX are
+*free*; this means that everyone may use them and redistribute them freely.
+The 8-bit BibTeX-related programs are not in the public domain; they are
+copyrighted and there are restrictions on their distribution, but these
+restrictions are designed to permit everything that a good cooperating
+citizen would want to do. What is not allowed is to try to prevent others
+from further sharing any version of these programs that they might get from
+you.
+
+Specifically, we want to make sure that you have the right to give away
+copies of the programs that relate to 8-bit BibTeX, that you receive source
+code or else can get it if you want it, that you can change these programs or
+use pieces of them in new free programs, and that you know you can do these
+things.
+
+To make sure that everyone has such rights, we have to forbid you to deprive
+anyone else of these rights. For example, if you distribute copies of the
+8-bit BibTeX related programs, you must give the recipients all the rights
+that you have. You must make sure that they, too, receive or can get the
+source code. And you must tell them their rights.
+
+Also, for our own protection, we must make certain that everyone finds out
+that there is no warranty for the programs that relate to 8-bit BibTeX. If
+these programs are modified by someone else and passed on, we want their
+recipients to know that what they have is not what we distributed, so that
+any problems introduced by others will not reflect on our reputation.
+
+The precise conditions of the licences for the programs currently being
+distributed that relate to 8-bit BibTeX are found in the General Public
+Licences that accompany them.
+
+
+
+10. Change Log
+---------------
+
+$Log: 00readme.txt,v $
+Revision 3.71 1996/08/18 20:38:55 kempson
+Official release 3.71 (see HISTORY for details).
+
+Revision 3.70 1996/04/29 20:17:53 kempson
+Final documentation & cosmetic changes for official release 3.70.
+
+Revision 1.2 1995/10/21 22:23:01 kempson
+Updated for v3.60 beta. Added description of --wolfgang option.
+Added some more information on running BibTeX in a Windows DOS session.
+Changed the example of CSF debugging output to something that is correct.
+
+Revision 1.1 1995/09/24 20:50:00 kempson
+Updated for the final beta test release.
+
+Revision 1.0 1995/09/24 20:42:30 kempson
+Placed under RCS control
+
+******************************** END OF FILE *******************************
diff --git a/biblio/bibtex/base/README b/biblio/bibtex/base/README
new file mode 100644
index 0000000000..53e7cdb4d9
--- /dev/null
+++ b/biblio/bibtex/base/README
@@ -0,0 +1,36 @@
+The intent is for the BibTeX program to be distributed under the same
+terms as Knuth's TeX program, and for the BibTeX support files
+to be distributed under the same terms as Knuth's support files.
+
+If questions or problems, please write to biblio@tug.org, the general
+mailing list for BibTeX (and other TeX/bibliography systems). For
+archives and subscription information, see http://lists.tug.org/biblio.
+
+Files distributed here:
+bibtex.web the source file for BibTeX
+btxdoc.tex documentation, and also sample input for BibTeX implementors
+btxdoc.pdf generated output for browsing
+btxhak.tex documentation for style designers
+btxdoc.bib the bibliography database file for btxdoc.tex
+btxhak.pdf generated output for browsing
+xampl.bib a database file with an example of every standard entry type
+
+btxbst.doc the documentation and template for the four standard
+ bibliography styles:
+abbrv.bst abbreviated
+alpha.bst alphabetic
+plain.bst plain
+unsrt.bst unsorted
+
+The four semi-standard bibliography styles:
+acm.bst ACM Transactions
+apalike.bst APA-like
+ieeetr.bst IEEE Transactions
+siam.bst SIAM
+
+Support files for apalike:
+apalike.sty LaTeX support for apalike.bst
+apalike.tex Plain TeX support for apalike.bst (uses btxmac.tex)
+
+--Karl Berry and Oren Patashnik (written 2010).
+(This file is public domain.)
diff --git a/biblio/bibtex/base/abbrv.bst b/biblio/bibtex/base/abbrv.bst
new file mode 100644
index 0000000000..23fae1a28c
--- /dev/null
+++ b/biblio/bibtex/base/abbrv.bst
@@ -0,0 +1,1097 @@
+% BibTeX standard bibliography style `abbrv'
+ % Version 0.99b (8-Dec-10 release) for BibTeX versions 0.99a or later.
+ % Copyright (C) 1984, 1985, 1988, 2010 Howard Trickey and Oren Patashnik.
+ % Unlimited copying and redistribution of this file are permitted as long as
+ % it is unmodified. Modifications (and redistribution of modified versions)
+ % are also permitted, but only if the resulting file is renamed to something
+ % besides btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Programming"}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Gr."}
+
+MACRO {toms} {"ACM Trans. Math. Softw."}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/base/acm.bst b/biblio/bibtex/base/acm.bst
new file mode 100644
index 0000000000..5e52a0d638
--- /dev/null
+++ b/biblio/bibtex/base/acm.bst
@@ -0,0 +1,1140 @@
+% Copyright (C) 1986, 1988, 2010 Howard Trickey and Oren Patashnik.
+% Unlimited copying and redistribution of this file are permitted as long as
+% it is unmodified. Modifications (and redistribution of modified versions)
+% are also permitted, but only if the resulting file is renamed.
+%
+% ACM Transactions bibliography style (8-Dec-10 version)
+% A lot like abbrv.bst, but names come out "Last, initials", and in \sc.
+% Some dates are parenthesized.
+%
+% History
+% 2/ 6/86 (HWT) Original version, by Howard Trickey.
+% 3/ 5/86 (HWT) Put in pp. everywhere but articles, as per ACM style.
+% 1/24/88 (OP&HWT) Updated for BibTeX version 0.99a, Oren Patashnik;
+% corrected the abbreviations to "Mar." and "Sept.";
+% THIS `acm' VERSION DOES NOT WORK WITH BIBTEX 0.98i.
+% 12/ 8/10 (OP&HWT) Clarify license.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {emphasizeic}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "\/}" * }
+ if$
+}
+
+FUNCTION {scapify}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\sc " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { t "others" =
+ { ", et~al." * }
+ { ", and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+% For names inside entries (e.g., editors of an "In ...");
+% this is exactly ABBRV.BST's `format.names' function.
+FUNCTION {format.innames}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names scapify }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names scapify
+ editor num.names$ #1 >
+ { ", Eds." * }
+ { ", Ed." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.ineditors}
+{ editor empty$
+ { "" }
+ { editor format.innames
+ editor num.names$ #1 >
+ { ", Eds." * }
+ { ", Ed." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "vol.~" volume *
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "no.~" }
+ { "No.~" }
+ if$
+ number *
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ "~ed." * }
+ { edition "t" change.case$ "~ed." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages n.dashify }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pp.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pp.~" pages n.dashify * }
+ { "p.~" pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.journal.vol.num.date}
+{ journal empty$
+ { "empty journal in " cite$ * warning$
+ ""
+ }
+ { journal
+ volume empty$
+ 'skip$
+ { " " * volume * }
+ if$
+ number empty$
+ 'emphasizeic
+ { emphasize ", " * number * }
+ if$
+ year empty$
+ { "empty year in " cite$ * warning$ }
+ { " (" * format.date * ")" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pp.pages
+ { type empty$
+ { "ch.~" chapter * }
+ { type "l" change.case$ chapter tie.or.space.connect }
+ if$
+ pages empty$
+ 'skip$
+ { ", " * format.pp.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { "In " booktitle emphasize *
+ editor empty$
+ 'skip$
+ { ", " * format.ineditors * }
+ if$
+ }
+ if$
+}
+
+% The proceedings title (it's on the stack) gets an (address, date) appended
+FUNCTION {format.proc.date}
+{ duplicate$ empty$
+ { pop$ "" }
+ { year empty$
+ { "empty year in " cite$ * warning$
+ address empty$
+ 'emphasize
+ { emphasizeic
+ " (" * address * ")" *
+ }
+ if$
+ }
+ { emphasizeic
+ " (" *
+ address empty$
+ 'skip$
+ { address * ", " * }
+ if$
+ format.date *
+ ")" *
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.proc.date}
+{ booktitle empty$
+ { "" }
+ { "In " booktitle format.proc.date * }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Tech. Rep." }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Vol.~" volume *
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.journal.vol.num.date output
+ format.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pp.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.edition output
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.edition output
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.date "year" output.check
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.edition output
+ format.bvolume output
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull }
+ if$
+ format.chapter.pages output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.proc.date "booktitle" output.check
+ format.ineditors output
+ format.bvolume output
+ format.number.series output
+ organization output
+ publisher output
+ }
+ { format.incoll.inproc.crossref output.nonnull }
+ if$
+ format.pp.pages output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization scapify output }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.edition output
+ author empty$
+ { address new.block.checka }
+ { organization address new.block.checkb
+ organization output
+ }
+ if$
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization scapify output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ title format.proc.date "title" output.check
+ format.bvolume output
+ format.number.series output
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Programming"}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Gr."}
+
+MACRO {toms} {"ACM Trans. Math. Softw."}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Program. Lang. Syst."}
+
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/base/alpha.bst b/biblio/bibtex/base/alpha.bst
new file mode 100644
index 0000000000..e59a2ebb7f
--- /dev/null
+++ b/biblio/bibtex/base/alpha.bst
@@ -0,0 +1,1257 @@
+% BibTeX standard bibliography style `alpha'
+ % Version 0.99b (8-Dec-10 release) for BibTeX versions 0.99a or later.
+ % Copyright (C) 1984, 1985, 1988, 2010 Howard Trickey and Oren Patashnik.
+ % Unlimited copying and redistribution of this file are permitted as long as
+ % it is unmodified. Modifications (and redistribution of modified versions)
+ % are also permitted, but only if the resulting file is renamed to something
+ % besides btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ year field.or.null purify$ #-1 #2 substring$
+ *
+ 'label :=
+ year field.or.null purify$ #-1 #4 substring$
+ *
+ sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{ et.al.char.used
+ { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+ 'skip$
+ if$
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/base/apalike.bst b/biblio/bibtex/base/apalike.bst
new file mode 100644
index 0000000000..15df7f7668
--- /dev/null
+++ b/biblio/bibtex/base/apalike.bst
@@ -0,0 +1,1105 @@
+% BibTeX `apalike' bibliography style (version 0.99a, 8-Dec-10), adapted from
+% the `alpha' style, version 0.99a; for BibTeX version 0.99a.
+%
+% Copyright (C) 1988, 2010 Oren Patashnik.
+% Unlimited copying and redistribution of this file are permitted as long as
+% it is unmodified. Modifications (and redistribution of modified versions)
+% are also permitted, but only if the resulting file is renamed.
+%
+% Differences between this style and `alpha' are generally heralded by a `%'.
+% The file btxbst.doc has the documentation for alpha.bst.
+%
+% This style should be used with the `apalike' LaTeX style (apalike.sty).
+% \cite's come out like "(Jones, 1986)" in the text but there are no labels
+% in the bibliography, and something like "(1986)" comes out immediately
+% after the author. Author (and editor) names appear as last name, comma,
+% initials. A `year' field is required for every entry, and so is either
+% an author (or in some cases, an editor) field or a key field.
+%
+% Editorial note:
+% Many journals require a style like `apalike', but I strongly, strongly,
+% strongly recommend that you not use it if you have a choice---use something
+% like `plain' instead. Mary-Claire van Leunen (A Handbook for Scholars,
+% Knopf, 1979) argues convincingly that a style like `plain' encourages better
+% writing than one like `apalike'. Furthermore the strongest arguments for
+% using an author-date style like `apalike'---that it's "the most practical"
+% (The Chicago Manual of Style, University of Chicago Press, thirteenth
+% edition, 1982, pages 400--401)---fall flat on their face with the new
+% computer-typesetting technology. For instance page 401 anachronistically
+% states "The chief disadvantage of [a style like `plain'] is that additions
+% or deletions cannot be made after the manuscript is typed without changing
+% numbers in both text references and list." LaTeX sidesteps the disadvantage.
+%
+% History:
+% 15-sep-86 (OP) Original version by Oren Patashnik, ideas from Susan King.
+% 10-nov-86 (OP) Truncated the sort.key$ string to the correct length
+% in bib.sort.order to eliminate error message.
+% 24-jan-88 (OP) Updated for BibTeX version 0.99a, from alpha.bst 0.99a;
+% apalike now sorts by author, then year, then title;
+% THIS `apalike' VERSION DOES NOT WORK WITH BIBTEX 0.98i.
+% 8-dec-10 (OP) Still version 0.99a, as the code itself was unchanged;
+% this release clarified the license.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+% month not used in apalike
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+% apalike needs this function because
+% the year has special punctuation;
+% apalike ignores the month
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { write$
+ " (" year * extra.label * ")" *
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't := % last name first
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.key} % this function is just for apalike
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ "In" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "\cite{" * crossref * "}" * % this is for apalike
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ "In" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ howpublished output
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address output % for apalike
+ new.sentence % there's no year
+ organization output % here so things
+ publisher output % are simpler
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title output
+ new.block
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output % for apalike
+ new.sentence % we always output
+ organization output % a nonempty organization
+ publisher output % here
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+% There are three apalike cases: one person (Jones),
+% two (Jones and de~Bruijn), and more (Jones et~al.).
+% This function is much like format.crossref.editors.
+%
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key, no organization
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label % apalike ignores organization
+ 'author.key.label % for labeling and sorting
+ if$
+ }
+ if$
+ ", " % these three lines are
+ * % for apalike, which
+ year field.or.null purify$ #-1 #4 substring$ % uses all four digits
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$ % apalike uses initials
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't := % <= here
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+% apalike uses two sorting passes; the first one sets the
+% labels so that the `a's, `b's, etc. can be computed;
+% the second pass puts the references in "correct" order.
+% The presort function is for the first pass. It computes
+% label, sort.label, and title, and then concatenates.
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$ % for
+ 'sort.label := % apalike
+ sort.label % style
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT % by label, sort.label, title---for final label calculation
+
+STRINGS { last.label next.extra } % apalike labels are only for the text;
+
+INTEGERS { last.extra.num } % there are none in the bibliography
+
+FUNCTION {initialize.extra.label.stuff} % and hence there is no `longest.label'
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+% Now that the label is right we sort for real,
+% on sort.label then year then title. This is
+% for the second sorting pass.
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT % by sort.label, year, title---giving final bibliography order
+
+FUNCTION {begin.bib}
+{ preamble$ empty$ % no \etalchar in apalike
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$ % no labels in apalike
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/base/apalike.sty b/biblio/bibtex/base/apalike.sty
new file mode 100644
index 0000000000..e6b6d88bb0
--- /dev/null
+++ b/biblio/bibtex/base/apalike.sty
@@ -0,0 +1,72 @@
+% apalike.sty style, used in conjunction with apalike.bst,
+% will produce an apa-like bibliography style.
+%
+% Copyright (C) 1986, 1987, 2010 Oren Patashnik.
+% Unlimited copying and redistribution of this file are permitted as long as
+% it is unmodified. Modifications (and redistribution of modified versions)
+% are also permitted, but only if the resulting file is renamed.
+%
+% 1) Bibliography entries formatted alphabetically, last name
+% first, each entry having a hanging indentation and no label.
+% 2) References in the following formats:
+% (Author, 1986)
+% (Author and Author, 1986)
+% (Author et al., 1986).
+% 3) Multiple references in the form (Author1, 1986; Author2, 1987)
+%
+% To be used as an optional argument to the \documentstyle command; for example
+% \documentstyle[11pt,apalike]{book}
+%
+% History:
+% 16-Sep-86, original version by Oren Patashnik, ideas from Susan King.
+% 13-Oct-87 changes:
+% Fixed bug in last line by adding the {} that disappeard when
+% the \hbox{} was removed from the pre-APALIKE definition;
+% added club and widow penalties;
+% patched the \newblock LaTeX bug from `-.07em' to simply `.07em';
+% and made this work for document styles that don't define `chapter'.
+% Undated changes by Karl Berry and/or Oren Patashnik:
+% 1) use \refname and \bibname instead of hardwiring
+% the strings "References" and "Bibliography"; this change was first
+% made in the apalike.sty in the germbib package.
+% 2) do not define \bibhang if it is already defined.
+% Karl Berry contributes his changes to the public domain.
+% 8-Dec-10, clarify license.
+
+% Use parens instead of brackets for \cite, and no label in the bibliography
+%
+\def\@cite#1#2{(#1\if@tempswa , #2\fi)}
+\def\@biblabel#1{}
+
+% Set length of hanging indentation for bibliography entries
+%
+\ifx\bibhang\@thisisundefined \newlength{\bibhang} \fi
+\setlength{\bibhang}{2em}
+
+% \thebibliography environment depends on whether or not `chapter's can exist
+%
+\@ifundefined{chapter}{\def\thebibliography#1{\section*{\refname\@mkboth
+ {\sl\uppercase{\refname}}{\sl\uppercase{\refname}}}\list
+ {\relax}{\setlength{\labelsep}{0em}
+ \setlength{\itemindent}{-\bibhang}
+ \setlength{\leftmargin}{\bibhang}}
+ \def\newblock{\hskip .11em plus .33em minus .07em}
+ \sloppy\clubpenalty4000\widowpenalty4000
+ \sfcode`\.=1000\relax}}%
+{\def\thebibliography#1{\chapter*{\bibname\@mkboth
+ {\sl\uppercase{\bibname}}{\sl\uppercase{\bibname}}}\list
+ {\relax}{\setlength{\labelsep}{0em}
+ \setlength{\itemindent}{-\bibhang}
+ \setlength{\leftmargin}{\bibhang}}
+ \def\newblock{\hskip .11em plus .33em minus .07em}
+ \sloppy\clubpenalty4000\widowpenalty4000
+ \sfcode`\.=1000\relax}}
+
+% `; ' goes between cites, and there's no \hbox around individual cites
+%
+\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
+ \def\@citea{}\@cite{\@for\@citeb:=#2\do
+ {\@citea\def\@citea{; }\@ifundefined
+ {b@\@citeb}{{\bf ?}\@warning
+ {Citation `\@citeb' on page \thepage \space undefined}}%
+{\csname b@\@citeb\endcsname}}}{#1}}
diff --git a/biblio/bibtex/base/apalike.tex b/biblio/bibtex/base/apalike.tex
new file mode 100644
index 0000000000..9ff4ec8bce
--- /dev/null
+++ b/biblio/bibtex/base/apalike.tex
@@ -0,0 +1,87 @@
+% apalike.tex, version 0.99b (8-Dec-10), for btxmac 0.99i, BibTeX 0.99c,
+% TeX 3.0 or later.
+%
+% Copyright (C) 1990, 1991, 1992, 2010 Oren Patashnik.
+% Unlimited copying and redistribution of this file are permitted as long as
+% it is unmodified. Modifications (and redistribution of modified versions)
+% are also permitted, but only if the resulting file is renamed.
+%
+% This file, apalike.tex, contains TeX macros that let you use the
+% apalike bibliography style with plain TeX. In essence, this file
+% provides the TeX counterpart to apalike.sty, the LaTeX style file
+% required for using the apalike bibliography style. Please report any
+% bugs (outright goofs, misfeatures, or unclear documentation) to
+% biblio@tug.org. These macros will become frozen
+% shortly after BibTeX version 1.00 is released.
+%
+% AMS-TEX WARNING: This style (apalike) doesn't work with AmS-TeX's
+% `amsppt' style, because AmS-TeX redefines the tie character `~' of
+% plain TeX, and the `amsppt' style redefines plain TeX's `\nobreak'
+% macro, so that a multiple-author reference for which `apalike'
+% automatically produces an in-text citation like `(Jones et~al., 1992)'
+% will throw AmS-TeX's `amsppt' style into an infinite loop, exceeding
+% its input stack size. (I've checked no other AmS-TeX styles for this
+% problem.) The AmS-TeX warning of btxmac.tex gives more information.
+% END OF AMS-TEX WARNING.
+%
+% Editorial note (i.e., flame):
+% Many journals require a style like `apalike', but I recommend that you
+% not use it if you have a choice---use something like `plain' instead.
+% Mary-Claire van Leunen (A Handbook for Scholars, Knopf, 1979) argues
+% convincingly that a style like `plain' encourages better writing than
+% one like `apalike'. Furthermore the best argument for using an
+% author-date style like `apalike'---that it's "the most practical"
+% (The Chicago Manual of Style, University of Chicago Press, thirteenth
+% edition, 1982, pages 400--401)---falls flat on its face with the new
+% computer-typesetting technology. For instance page 401 of the Chicago
+% Manual anachronistically states "The chief disadvantage of [a style
+% like `plain'] is that additions or deletions cannot be made after the
+% manuscript is typed without changing numbers in both text references
+% and list." With (La)TeX the disadvantage obviously evaporates.
+% Moreover, apalike indulges in what I think is a shortsighted practice:
+% automatically abbreviating first names. Abbreviating may occasionally
+% make the work a page shorter, but at the cost of a less useful
+% reference list; that's too high a cost for such a marginal benefit.
+% The offense isn't egregious for a name like `Donald E. Knuth'---at
+% least among those familiar with his field---since there aren't many
+% other `D. E. Knuth's floating around. But referring to `D. E. Smith'
+% in a field having more than one can be quite confusing. Moreover,
+% with the proliferation of computers and citation indexes nowadays,
+% it's important to indicate in the reference list an author's name
+% exactly as it appears in the work cited. Automatically abbreviating
+% first names is simply bad scholarship. (End of flame.)
+%
+% To use these macros you need the btxmac.tex macros, which let you use
+% BibTeX with plain TeX (rather than with LaTeX); the file btxmac.tex
+% explains those macros in detail, and gives examples. You simply
+% \input apalike right after you \input btxmac to invoke these macros.
+%
+%
+% HISTORY
+%
+% Oren Patashnik wrote the original version of these macros in December
+% 1990, for use with btxmac.tex.
+%
+% 12-Dec-90 Version 0.99a, first general release.
+% 29-Feb-92 0.99b, changed `\biblabelextrahang' to `\biblabelextraspace',
+% to keep up with btxmac.tex version 0.99i.
+% 8-Dec-10 Still version 0.99b, as the code itself was unchanged;
+% this release clarified the license.
+%
+% Here, finally (I swear, I thought he was never gonna stop), are the
+% macros. The first bunch makes the label empty and sets 2em of
+% hanging indentation (via \biblabelextraspace) for each entry.
+%
+\def\biblabelprint#1{\noindent}%
+\def\biblabelcontents#1{}%
+\def\bblhook{\biblabelextraspace = 2em }%
+%
+%
+% And the last bunch formats an in-text citation: parens around the
+% entire citation; semicolons separating individual references; and a
+% comma between a reference and its note (like `page 41') if it exists.
+%
+\def\printcitestart{(}% left paren
+\def\printcitefinish{)}% right parent
+\def\printbetweencitations{; }% semicolon, space
+\def\printcitenote#1{, #1}% comma, space, note (if it exists)
diff --git a/biblio/bibtex/base/bibtex.web b/biblio/bibtex/base/bibtex.web
new file mode 100644
index 0000000000..543467df4c
--- /dev/null
+++ b/biblio/bibtex/base/bibtex.web
@@ -0,0 +1,11679 @@
+% This program is copyright (C) 1985, 1988, 2010 by Oren Patashnik;
+% all rights are reserved.
+%
+% This program, BibTeX, is available under the same terms as
+% Donald Knuth's TeX program.
+%
+% (Request to implementors: The WEB system provides for alterations via
+% an auxiliary file; the master file should stay intact.)
+%
+% See Appendix H of the WEB manual for hints on how to install this program.
+
+% Version 0.98f was released in March 1985.
+% Version 0.98g was released in April; it removed some system dependencies
+% (introducing term_in and term_out in place of just tty, and removing
+% some nonlocal goto's) and it gave context for certain parsing errors.
+% Version 0.98h was released in April; it patched a bug in the output
+% line-breaking routine that can arise with some nonstandard style files.
+% Version 0.98i was released in May; its main change split up the main program
+% and some procedures to help certain compilers cope with size
+% limitations, among other things changing error and warning macros so
+% they'd produce (much) less inline code; it also redefined the class of
+% legal style-file identifiers---although this affects only the bizarre
+% ones, it makes BibTeX's error messages more coherent; and it had many
+% minor changes, including about a 15% speed-up on TOPS-20.
+% Version 0.99a was released in January 1988. Its main changes: allowed the
+% inclusion of entire .bib files (rather than just those entries
+% \cited or \nocited); made the sorting algorithm stable; eliminated
+% any case conversion for file names; allowed concatenation in database
+% fields and string definitions; handled hyphenated names properly;
+% handled accented characters properly; implemented new empty$,
+% preamble$, text.length$, text.prefix$, and warning$ built-in functions;
+% allowed a new cross-referencing feature; and made many minor fixes,
+% including about a 40% speed-up on TOPS-20.
+% Version 0.99b was released in February 1988. It changed text.length$ and
+% text.prefix$ to not count braces as text characters, and it changed
+% text.prefix$ to add any necessary matching right braces.
+% Version 0.99c was released in February 1988. It removed two begin-end pairs
+% that, for convention only, surrounded entire modules, but that elicited
+% label-related complaints from some compilers.
+% Version 0.99d was released in March 2010. It made output lines breakable
+% only at white_space (so that, for example, URLs would not be broken).
+% Other known bugs (all minor) will be fixed in a subsequent release.
+% Updated bibtex.web was released on 8 December 2010. Still version
+% 0.99d; this release clarified the license.
+
+% Please report any bugs to biblio@@tug.org
+
+% Although considerable effort has been expended to make the BibTeX program
+% correct and reliable, no warranty is implied; the author disclaims any
+% obligation or liability for damages, including but not limited to
+% special, indirect, or consequential damages arising out of or in
+% connection with the use or performance of this software.
+
+% This program was written by Oren Patashnik, in consultation with Leslie
+% Lamport, to be used with Lamport's LaTeX document preparation system.
+% Some modules were taken from Knuth's TeX and TeXware with his permission.
+
+% Here is TeX material that gets inserted after \input webmac
+\def\hang{\hangindent 3em\indent\ignorespaces}
+\font\ninerm=cmr9
+\let\mc=\ninerm % medium caps for names like PASCAL
+\def\PASCAL{{\mc PASCAL}}
+\def\ph{{\mc PASCAL-H}}
+\def\<#1>{$\langle#1\rangle$}
+\def\section{\mathhexbox278}
+
+\def\(#1){} % this is used to make section names sort themselves better
+\def\9#1{} % this is used for sort keys in the index via @@:sort key}{entry@@>
+
+% Note: WEAVE will typeset an upper-case `E' in a PASCAL identifier a
+% bit strangely so that the `TeX' in the name of this program is typeset
+% correctly; if this becomes a problem remove these three lines to get
+% normal upper-case `E's in PASCAL identifiers
+\def\drop{\kern-.1667em\lower.5ex\hbox{E}\kern-.125em} % middle of TeX
+\catcode`E=13 \uppercase{\def E{e}}
+\def\\#1{\hbox{\let E=\drop\it#1\/\kern.05em}} % italic type for identifiers
+
+\font\sc=cmcsc10
+
+\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
+ T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
+
+\def\LaTeX{{\rm L\kern-.36em\raise.3ex\hbox{\sc a}\kern-.15em
+ T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
+
+\def\title{\BibTeX\ }
+\def\today{\ifcase\month\or
+ January\or February\or March\or April\or May\or June\or
+ July\or August\or September\or October\or November\or December\fi
+ \space\number\day, \number\year}
+\def\topofcontents{\null\vfill
+ \def\titlepage{F}
+ \centerline{\:\titlefont The {\:\ttitlefont \BibTeX} preprocessor}
+ \vskip 15pt \centerline{(Version 0.99d---\today)} \vfill}
+\pageno=\contentspagenumber \advance\pageno by 1
+
+
+
+@* Introduction.
+@^documentation@>
+@^space savings@>
+@^system dependencies@>
+@^wizard@>
+@!@:BibTeX}{\BibTeX@>
+@!@:BibTeX documentation}{\BibTeX\ documentation@>
+@:LaTeX}{\LaTeX@>
+\BibTeX\ is a preprocessor (with elements of postprocessing as
+explained below) for the \LaTeX\ document-preparation system. It
+handles most of the formatting decisions required to produce a
+reference list, outputting a \.{.bbl} file that a user can edit to add
+any finishing touches \BibTeX\ isn't designed to handle (in practice,
+such editing almost never is needed); with this file \LaTeX\ actually
+produces the reference list.
+
+Here's how \BibTeX\ works. It takes as input (a)~an \.{.aux} file
+produced by \LaTeX\ on an earlier run; (b)~a \.{.bst} file (the style
+file), which specifies the general reference-list style and specifies
+how to format individual entries, and which is written by a style
+designer (called a wizard throughout this program) in a
+special-purpose language described in the \BibTeX\ documentation---see
+the file {\.{btxdoc.tex}}; and (c)~\.{.bib} file(s) constituting a
+database of all reference-list entries the user might ever hope to
+use. \BibTeX\ chooses from the \.{.bib} file(s) only those entries
+specified by the \.{.aux} file (that is, those given by \LaTeX's
+\.{\\cite} or \.{\\nocite} commands), and creates as output a \.{.bbl}
+file containing these entries together with the formatting commands
+specified by the \.{.bst} file (\BibTeX\ also creates a \.{.blg} log
+file, which includes any error or warning messages, but this file
+isn't used by any program). \LaTeX\ will use the \.{.bbl} file,
+perhaps edited by the user, to produce the reference list.
+
+Many modules of \BibTeX\ were taken from Knuth's \TeX\ and \TeX ware,
+with his permission. All known system-dependent modules are marked in
+the index entry ``system dependencies''; Dave Fuchs helped exorcise
+unwanted ones. In addition, a few modules that can be changed to make
+\BibTeX\ smaller are marked in the index entry ``space savings''.
+
+Megathanks to Howard Trickey, for whose suggestions future users and
+style writers would be eternally grateful, if only they knew.
+
+The |banner| string defined here should be changed whenever \BibTeX\
+gets modified.
+
+@d banner=='This is BibTeX, Version 0.99d' {printed when the program starts}
+
+
+@
+@^system dependencies@>
+Terminal output goes to the file |term_out|, while terminal input
+comes from |term_in|. On our system, these (system-dependent) files
+are already opened at the beginning of the program, and have the same
+real name.
+
+@d term_out == tty
+@d term_in == tty
+
+
+@
+@^system dependencies@>
+This program uses the term |print| instead of |write| when writing on
+both the |log_file| and (system-dependent) |term_out| file, and it
+uses |trace_pr| when in |trace| mode, for which it writes on just the
+|log_file|. If you want to change where either set of macros writes
+to, you should also change the other macros in this program for that
+set; each such macro begins with |print_| or |trace_pr_|.
+
+@d print(#) == begin write(log_file,#); write(term_out,#); end
+@d print_ln(#) == begin write_ln(log_file,#); write_ln(term_out,#); end
+@d print_newline == print_a_newline
+ {making this a procedure saves a little space}
+@#
+@d trace_pr(#) == begin write(log_file,#); end
+@d trace_pr_ln(#) == begin write_ln(log_file,#); end
+@d trace_pr_newline == begin write_ln(log_file); end
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure print_a_newline;
+begin
+write_ln(log_file);
+write_ln(term_out);
+end;
+
+
+@
+@^debugging@>
+@^statistics@>
+Some of the code below is intended to be used only when diagnosing the
+strange behavior that sometimes occurs when \BibTeX\ is being
+installed or when system wizards are fooling around with \BibTeX\
+without quite knowing what they are doing. Such code will not normally
+be compiled; it is delimited by the codewords
+`$|debug|\ldots|gubed|$', with apologies to people who wish to
+preserve the purity of English. Similarly, there is some conditional
+code delimited by `$|stat|\ldots|tats|$' that is intended only for use
+when statistics are to be kept about \BibTeX's memory/cpu usage,
+and there is conditional code delimited by `$|trace|\ldots|ecart|$'
+that is intended to be a trace facility for use mainly when debugging
+\.{.bst} files.
+
+@d debug == @{ { remove the `|@{|' when debugging }
+@d gubed == @t@>@} { remove the `|@}|' when debugging }
+@f debug == begin
+@f gubed == end
+@#
+@d stat == @{ { remove the `|@{|' when keeping statistics }
+@d tats == @t@>@} { remove the `|@}|' when keeping statistics }
+@f stat == begin
+@f tats == end
+@#
+@d trace == @{ { remove the `|@{|' when in |trace| mode }
+@d ecart == @t@>@} { remove the `|@}|' when in |trace| mode }
+@f trace == begin
+@f ecart == end
+
+
+@
+@^system dependencies@>
+We assume that |case| statements may include a
+default case that applies if no matching label is found,
+since most \PASCAL\ compilers have plugged this hole in the language by
+incorporating some sort of default mechanism. For example, the \ph\
+compiler allows `|others|:' as a default label, and other \PASCAL s allow
+syntaxes like `\ignorespaces|else|\unskip' or `\\{otherwise}' or
+`\\{otherwise}:', etc. The definitions of |othercases| and |endcases|
+should be changed to agree with local conventions. Note that no semicolon
+appears before |endcases| in this program, so the definition of |endcases|
+should include a semicolon if the compiler wants one. (Of course, if no
+default mechanism is available, the |case| statements of \BibTeX\ will have
+to be laboriously extended by listing all remaining cases. People who are
+stuck with such \PASCAL s have in fact done this, successfully but not
+happily!)
+
+@d othercases == others: {default for cases not listed explicitly}
+@d endcases == @+end {follows the default case in an extended |case| statement}
+@f othercases == else
+@f endcases == end
+
+
+@
+Labels are given symbolic names by the following definitions, so that
+occasional |goto| statements will be meaningful. We insert the label
+`|exit|:' just before the `\ignorespaces|end|\unskip' of a procedure
+in which we have used the `|return|' statement defined below (and this
+is the only place `|exit|:' appears). This label is sometimes used
+for exiting loops that are set up with the |loop| construction defined
+below. Another generic label is `|loop_exit|:'; it appears
+immediately after a loop.
+
+Incidentally, this program never declares a label that isn't actually used,
+because some fussy \PASCAL\ compilers will complain about redundant labels.
+
+@d exit=10 {go here to leave a procedure}
+@d loop_exit=15 {go here to leave a loop within a procedure}
+@d loop1_exit=16 {the first generic label for a procedure with two}
+@d loop2_exit=17 {the second}
+
+
+@
+@^for loops@>
+And |while| we're discussing loops: This program makes into |while|
+loops many that would otherwise be |for| loops because of Standard
+\PASCAL\ limitations (it's a bit complicated---standard \PASCAL\
+doesn't allow a global variable as the index of a |for| loop inside a
+procedure; furthermore, many compilers have fairly severe limitations
+on the size of a block, including the main block of the program; so
+most of the code in this program occurs inside procedures, and since
+for other reasons this program must use primarily global variables, it
+doesn't use many |for| loops).
+
+
+@
+@^program conventions@>
+This program uses this convention: If there are several quantities in
+a boolean expression, they are ordered by expected frequency (except
+perhaps when an error message results) so that execution will be
+fastest; this is more an attempt to understand the program than to
+make it faster.
+
+
+@
+Here are some macros for common programming idioms.
+
+@d incr(#) == #:=#+1 {increase a variable by unity}
+@d decr(#) == #:=#-1 {decrease a variable by unity}
+@d loop == @+ while true do@+ {repeat over and over until a |goto| happens}
+@f loop == xclause
+ {\.{WEB}'s |xclause| acts like `\ignorespaces|while true do|\unskip'}
+@d do_nothing == {empty statement}
+@d return == goto exit {terminate a procedure call}
+@f return == nil
+@d empty=0 {symbolic name for a null constant}
+@d any_value=0 {this appeases \PASCAL's boolean-evaluation scheme}
+
+
+
+@* The main program.
+@^system dependencies@>
+@:LaTeX}{\LaTeX@>
+This program first reads the \.{.aux} file that \LaTeX\ produces,
+(\romannumeral1) determining which \.{.bib} file(s) and \.{.bst} file
+to read and (\romannumeral2) constructing a list of cite keys in order
+of occurrence. The \.{.aux} file may have other \.{.aux} files nested
+within. Second, it reads and executes the \.{.bst} file,
+(\romannumeral1) determining how and in which order to process the
+database entries in the \.{.bib} file(s) corresponding to those cite
+keys in the list (or in some cases, to all the entries in the \.{.bib}
+file(s)), (\romannumeral2) determining what text to be output for each
+entry and determining any additional text to be output, and
+(\romannumeral3) actually outputting this text to the \.{.bbl} file.
+In addition, the program sends error messages and other remarks to the
+|log_file| and terminal.
+
+@d close_up_shop=9998 {jump here after fatal errors}
+@d exit_program=9999 {jump here if we couldn't even get started}
+
+@p
+@t\4@>@<Compiler directives@>@/
+program BibTEX; {all files are opened dynamically}
+label close_up_shop,@!exit_program @<Labels in the outer block@>;
+const @<Constants in the outer block@>
+type @<Types in the outer block@>
+var @<Globals in the outer block@>@;
+@<Procedures and functions for about everything@>@;
+@<The procedure |initialize|@>
+@#
+begin
+initialize;
+print_ln(banner);@/
+@<Read the \.{.aux} file@>;
+@<Read and execute the \.{.bst} file@>;
+close_up_shop:
+@<Clean up and leave@>;
+exit_program:
+end.
+
+
+@
+@^overflow in arithmetic@>
+@^system dependencies@>
+If the first character of a \PASCAL\ comment is a dollar sign,
+\ph\ treats the comment as a list of ``compiler directives'' that will
+affect the translation of this program into machine language. The
+directives shown below specify full checking and inclusion of the \PASCAL\
+debugger when \BibTeX\ is being debugged,
+but they cause range checking and other
+redundant code to be eliminated when the production system is being generated.
+Arithmetic overflow will be detected in all cases.
+
+@<Compiler directives@>=
+@{@&$C-,A+,D-@} {no range check, catch arithmetic overflow, no debug overhead}
+@!debug @{@&$C+,D+@}@+ gubed {but turn everything on when debugging}
+
+
+@
+@^bottom up@>
+@^gymnastics@>
+@^mooning@>
+All procedures in this program (except for |initialize|) are grouped
+into one of the seven classes below, and these classes are dispersed
+throughout the program. However: Much of this program is written top
+down, yet \PASCAL\ wants its procedures bottom up. Since mooning is
+neither a technically nor a socially acceptable solution to the
+bottom-up problem, this section instead performs the topological
+gymnastics that \.{WEB} allows, ordering these classes to satisfy
+\PASCAL\ compilers. There are a few procedures still out of place
+after this ordering, though, and the other modules that complete the
+task have ``gymnastics'' as an index entry.
+
+@<Procedures and functions for about everything@>=
+@<Procedures and functions for all file I/O, error messages, and such@>@;
+@<Procedures and functions for file-system interacting@>@;
+@<Procedures and functions for handling numbers, characters, and strings@>@;
+@<Procedures and functions for input scanning@>@;
+@<Procedures and functions for name-string processing@>@;
+@<Procedures and functions for style-file function execution@>@;
+@<Procedures and functions for the reading and processing of input files@>
+
+
+@
+This procedure gets things started properly.
+
+@<The procedure |initialize|@>=
+procedure initialize;
+var @<Local variables for initialization@>
+begin
+@<Check the ``constant'' values for consistency@>;
+if (bad > 0) then
+ begin
+ write_ln (term_out,bad:0,' is a bad bad');
+ goto exit_program;
+ end;
+@<Set initial values of key variables@>;
+pre_def_certain_strings;@/
+get_the_top_level_aux_file_name;
+end;
+
+
+@
+@^space savings@>
+@^system dependencies@>
+These parameters can be changed at compile time to extend or reduce
+\BibTeX's capacity. They are set to accommodate about 750 cites when
+used with the standard styles, although |pool_size| is usually the
+first limitation to be a problem, often when there are 500 cites.
+
+@<Constants in the outer block@>=
+@!buf_size=1000; {maximum number of characters in an input line (or string)}
+@!min_print_line=3; {minimum \.{.bbl} line length: must be |>=3|}
+@!max_print_line=79; {the maximum: must be |>min_print_line| and |<buf_size|}
+@!aux_stack_size=20; {maximum number of simultaneous open \.{.aux} files}
+@!max_bib_files=20; {maximum number of \.{.bib} files allowed}
+@!pool_size=65000; {maximum number of characters in strings}
+@!max_strings=4000; {maximum number of strings, including pre-defined;
+ must be |<=hash_size|}
+@!max_cites=750; {maximum number of distinct cite keys; must be
+ |<=max_strings|}
+@!min_crossrefs=2; {minimum number of cross-refs required for automatic
+ |cite_list| inclusion}
+@!wiz_fn_space=3000; {maximum amount of |wiz_defined|-function space}
+@!single_fn_space=100; {maximum amount for a single |wiz_defined|-function}
+@!max_ent_ints=3000; {maximum number of |int_entry_var|s
+ (entries $\times$ |int_entry_var|s)}
+@!max_ent_strs=3000; {maximum number of |str_entry_var|s
+ (entries $\times$ |str_entry_var|s)}
+@!ent_str_size=100; {maximum size of a |str_entry_var|; must be |<=buf_size|}
+@!glob_str_size=1000; {maximum size of a |str_global_var|;
+ must be |<=buf_size|}
+@!max_fields=17250; {maximum number of fields (entries $\times$ fields,
+ about |23*max_cites| for consistency)}
+@!lit_stk_size=100; {maximum number of literal functions on the stack}
+
+
+@
+@^space savings@>
+@^system dependencies@>
+These parameters can also be changed at compile time, but they're
+needed to define some \.{WEB} numeric macros so they must be so
+defined themselves.
+
+@d hash_size=5000 {must be |>= max_strings| and |>= hash_prime|}
+@d hash_prime=4253 {a prime number about 85\% of |hash_size| and |>= 128|
+ and |< @t$2^{14}-2^6$@>|}
+@d file_name_size=40 {file names shouldn't be longer than this}
+@d max_glob_strs=10 {maximum number of |str_global_var| names}
+@d max_glb_str_minus_1 = max_glob_strs-1 {to avoid wasting a |str_global_var|}
+
+
+@
+In case somebody has inadvertently made bad settings of the ``constants,''
+\BibTeX\ checks them using a global variable called |bad|.
+
+This is the first of many sections of \BibTeX\ where global variables are
+defined.
+
+@<Globals in the outer block@>=
+@!bad:integer; {is some ``constant'' wrong?}
+
+
+@
+Each digit-value of |bad| has a specific meaning.
+
+@<Check the ``constant'' values for consistency@>=
+bad := 0;
+if (min_print_line < 3) then bad:=1;
+if (max_print_line <= min_print_line) then bad:=10*bad+2;
+if (max_print_line >= buf_size) then bad:=10*bad+3;
+if (hash_prime < 128) then bad:=10*bad+4;
+if (hash_prime > hash_size) then bad:=10*bad+5;
+if (hash_prime >= (16384-64)) then bad:=10*bad+6;
+if (max_strings > hash_size) then bad:=10*bad+7;
+if (max_cites > max_strings) then bad:=10*bad+8;
+if (ent_str_size > buf_size) then bad:=10*bad+9;
+if (glob_str_size > buf_size) then bad:=100*bad+11;
+ {well, almost each}
+
+
+@
+A global variable called |history| will contain one of four values at
+the end of every run: |spotless| means that no unusual messages were
+printed; |warning_message| means that a message of possible interest
+was printed but no serious errors were detected; |error_message| means
+that at least one error was found; |fatal_message| means that the
+program terminated abnormally. The value of |history| does not
+influence the behavior of the program; it is simply computed for the
+convenience of systems that might want to use such information.
+
+@d spotless=0 {|history| value for normal jobs}
+@d warning_message=1 {|history| value when non-serious info was printed}
+@d error_message=2 {|history| value when an error was noted}
+@d fatal_message=3 {|history| value when we had to stop prematurely}
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure mark_warning;
+begin
+if (history = warning_message) then
+ incr(err_count)
+ else if (history = spotless) then
+ begin
+ history := warning_message;
+ err_count := 1;
+ end;
+end;
+@#
+procedure mark_error;
+begin
+if (history < error_message) then
+ begin
+ history := error_message;
+ err_count := 1;
+ end
+ else {|history = error_message|}
+ incr(err_count);
+end;
+@#
+procedure mark_fatal;
+begin
+history := fatal_message;
+end;
+
+
+@
+For the two states |warning_message| and |error_message| we keep track
+of the number of messages given; but since |warning_message|s aren't
+so serious, we ignore them once we've seen an |error_message|. Hence
+we need just the single variable |err_count| to keep track.
+
+
+@<Globals in the outer block@>=
+@!history:spotless..fatal_message; {how bad was this run?}
+@!err_count:integer;
+
+
+@
+The |err_count| gets set or reset when |history| first changes to
+|warning_message| or |error_message|, so we don't need to initialize
+it.
+
+@<Set initial values of key variables@>=
+history := spotless;
+
+
+
+@* The character set.
+@^ASCII code@>
+(The following material is copied (almost) verbatim from \TeX.
+Thus, the same system-dependent changes should be made to both programs.)
+
+In order to make \TeX\ readily portable between a wide variety of
+computers, all of its input text is converted to an internal seven-bit
+code that is essentially standard ASCII, the ``American Standard Code for
+Information Interchange.'' This conversion is done immediately when each
+character is read in. Conversely, characters are converted from ASCII to
+the user's external representation just before they are output to a
+text file.
+
+Such an internal code is relevant to users of \TeX\ primarily because it
+governs the positions of characters in the fonts. For example, the
+character `\.A' has ASCII code $65=@'101$, and when \TeX\ typesets
+this letter it specifies character number 65 in the current font.
+If that font actually has `\.A' in a different position, \TeX\ doesn't
+know what the real position is; the program that does the actual printing from
+\TeX's device-independent files is responsible for converting from ASCII to
+a particular font encoding.
+
+\TeX's internal code is relevant also with respect to constants
+that begin with a reverse apostrophe.
+
+
+@
+Characters of text that have been converted to \TeX's internal form
+are said to be of type |ASCII_code|, which is a subrange of the integers.
+
+@<Types in the outer block@>=
+@!ASCII_code=0..127; {seven-bit numbers}
+
+
+@
+@^character set dependencies@>
+@^system dependencies@>
+The original \PASCAL\ compiler was designed in the late 60s, when six-bit
+character sets were common, so it did not make provision for lower-case
+letters. Nowadays, of course, we need to deal with both capital and small
+letters in a convenient way, especially in a program for typesetting;
+so the present specification of \TeX\ has been written under the assumption
+that the \PASCAL\ compiler and run-time system permit the use of text files
+with more than 64 distinguishable characters. More precisely, we assume that
+the character set contains at least the letters and symbols associated
+with ASCII codes @'40 through @'176; all of these characters are now
+available on most computer terminals.
+
+Since we are dealing with more characters than were present in the first
+\PASCAL\ compilers, we have to decide what to call the associated data
+type. Some \PASCAL s use the original name |char| for the
+characters in text files, even though there now are more than 64 such
+characters, while other \PASCAL s consider |char| to be a 64-element
+subrange of a larger data type that has some other name.
+
+In order to accommodate this difference, we shall use the name |text_char|
+to stand for the data type of the characters that are converted to and
+from |ASCII_code| when they are input and output. We shall also assume
+that |text_char| consists of the elements |chr(first_text_char)| through
+|chr(last_text_char)|, inclusive. The following definitions should be
+adjusted if necessary.
+
+@d text_char == char {the data type of characters in text files}
+@d first_text_char=0 {ordinal number of the smallest element of |text_char|}
+@d last_text_char=127 {ordinal number of the largest element of |text_char|}
+
+@<Local variables for initialization@>=
+i:0..last_text_char; {this is the first one declared}
+
+
+@
+The \TeX\ processor converts between ASCII code and
+the user's external character set by means of arrays |xord| and |xchr|
+that are analogous to \PASCAL's |ord| and |chr| functions.
+
+@<Globals in the outer block@>=
+@!xord: array [text_char] of ASCII_code;
+ {specifies conversion of input characters}
+@!xchr: array [ASCII_code] of text_char;
+ {specifies conversion of output characters}
+
+
+@
+@^character set dependencies@>
+@^system dependencies@>
+Since we are assuming that our \PASCAL\ system is able to read and write the
+visible characters of standard ASCII (although not necessarily using the
+ASCII codes to represent them), the following assignment statements initialize
+most of the |xchr| array properly, without needing any system-dependent
+changes. On the other hand, it is possible to implement \TeX\ with
+less complete character sets, and in such cases it will be necessary to
+change something here.
+
+@<Set initial values of key variables@>=
+xchr[@'40]:=' ';
+xchr[@'41]:='!';
+xchr[@'42]:='"';
+xchr[@'43]:='#';
+xchr[@'44]:='$';
+xchr[@'45]:='%';
+xchr[@'46]:='&';
+xchr[@'47]:='''';@/
+xchr[@'50]:='(';
+xchr[@'51]:=')';
+xchr[@'52]:='*';
+xchr[@'53]:='+';
+xchr[@'54]:=',';
+xchr[@'55]:='-';
+xchr[@'56]:='.';
+xchr[@'57]:='/';@/
+xchr[@'60]:='0';
+xchr[@'61]:='1';
+xchr[@'62]:='2';
+xchr[@'63]:='3';
+xchr[@'64]:='4';
+xchr[@'65]:='5';
+xchr[@'66]:='6';
+xchr[@'67]:='7';@/
+xchr[@'70]:='8';
+xchr[@'71]:='9';
+xchr[@'72]:=':';
+xchr[@'73]:=';';
+xchr[@'74]:='<';
+xchr[@'75]:='=';
+xchr[@'76]:='>';
+xchr[@'77]:='?';@/
+xchr[@'100]:='@@';
+xchr[@'101]:='A';
+xchr[@'102]:='B';
+xchr[@'103]:='C';
+xchr[@'104]:='D';
+xchr[@'105]:='E';
+xchr[@'106]:='F';
+xchr[@'107]:='G';@/
+xchr[@'110]:='H';
+xchr[@'111]:='I';
+xchr[@'112]:='J';
+xchr[@'113]:='K';
+xchr[@'114]:='L';
+xchr[@'115]:='M';
+xchr[@'116]:='N';
+xchr[@'117]:='O';@/
+xchr[@'120]:='P';
+xchr[@'121]:='Q';
+xchr[@'122]:='R';
+xchr[@'123]:='S';
+xchr[@'124]:='T';
+xchr[@'125]:='U';
+xchr[@'126]:='V';
+xchr[@'127]:='W';@/
+xchr[@'130]:='X';
+xchr[@'131]:='Y';
+xchr[@'132]:='Z';
+xchr[@'133]:='[';
+xchr[@'134]:='\';
+xchr[@'135]:=']';
+xchr[@'136]:='^';
+xchr[@'137]:='_';@/
+xchr[@'140]:='`';
+xchr[@'141]:='a';
+xchr[@'142]:='b';
+xchr[@'143]:='c';
+xchr[@'144]:='d';
+xchr[@'145]:='e';
+xchr[@'146]:='f';
+xchr[@'147]:='g';@/
+xchr[@'150]:='h';
+xchr[@'151]:='i';
+xchr[@'152]:='j';
+xchr[@'153]:='k';
+xchr[@'154]:='l';
+xchr[@'155]:='m';
+xchr[@'156]:='n';
+xchr[@'157]:='o';@/
+xchr[@'160]:='p';
+xchr[@'161]:='q';
+xchr[@'162]:='r';
+xchr[@'163]:='s';
+xchr[@'164]:='t';
+xchr[@'165]:='u';
+xchr[@'166]:='v';
+xchr[@'167]:='w';@/
+xchr[@'170]:='x';
+xchr[@'171]:='y';
+xchr[@'172]:='z';
+xchr[@'173]:='{';
+xchr[@'174]:='|';
+xchr[@'175]:='}';
+xchr[@'176]:='~';@/
+xchr[0]:=' '; xchr[@'177]:=' ';
+ {ASCII codes 0 and |@'177| do not appear in text}
+
+
+@
+@^character set dependencies@>
+@^system dependencies@>
+Some of the ASCII codes without visible characters have been given symbolic
+names in this program because they are used with a special meaning. The
+|tab| character may be system dependent.
+
+@d null_code=@'0 {ASCII code that might disappear}
+@d tab=@'11 {ASCII code treated as |white_space|}
+@d space=@'40 {ASCII code treated as |white_space|}
+@d invalid_code=@'177 {ASCII code that should not appear}
+
+
+@
+@^character set dependencies@>
+@^system dependencies@>
+@:TeXbook}{\sl The \TeX book@>
+The ASCII code is ``standard'' only to a certain extent, since many
+computer installations have found it advantageous to have ready access
+to more than 94 printing characters. Appendix~C of {\sl The \TeX book\/}
+gives a complete specification of the intended correspondence between
+characters and \TeX's internal representation.
+
+If \TeX\ is being used
+on a garden-variety \PASCAL\ for which only standard ASCII
+codes will appear in the input and output files, it doesn't really matter
+what codes are specified in |xchr[1..@'37]|, but the safest policy is to
+blank everything out by using the code shown below.
+
+However, other settings of |xchr| will make \TeX\ more friendly on
+computers that have an extended character set, so that users can type things
+like `\.^^Z' instead of `\.{\\ne}'. At MIT, for example, it would be more
+appropriate to substitute the code
+$$\hbox{|for i:=1 to @'37 do xchr[i]:=chr(i);|}$$
+\TeX's character set is essentially the same as MIT's, even with respect to
+characters less than~@'40. People with extended character sets can
+assign codes arbitrarily, giving an |xchr| equivalent to whatever
+characters the users of \TeX\ are allowed to have in their input files.
+It is best to make the codes correspond to the intended interpretations as
+shown in Appendix~C whenever possible; but this is not necessary. For
+example, in countries with an alphabet of more than 26 letters, it is
+usually best to map the additional letters into codes less than~@'40.
+
+@<Set initial values of key variables@>=
+for i:=1 to @'37 do xchr[i]:=' ';
+xchr[tab]:=chr(tab);
+
+
+@
+This system-independent code makes the |xord| array contain a suitable
+inverse to the information in |xchr|. Note that if |xchr[i]=xchr[j]|
+where |i<j<@'177|, the value of |xord[xchr[i]]| will turn out to be
+|j| or more; hence, standard ASCII code numbers will be used instead
+of codes below @'40 in case there is a coincidence.
+
+@<Set initial values of key variables@>=
+for i:=first_text_char to last_text_char do xord[chr(i)]:=invalid_code;
+for i:=1 to @'176 do xord[xchr[i]]:=i;
+
+
+@
+Also, various characters are given symbolic names; all the ones this
+program uses are collected here. We use the sharp sign as the
+|concat_char|, rather than something more natural (like an ampersand),
+for uniformity of database syntax (ampersand is a valid character in
+identifiers).
+
+@d double_quote = """" {delimits strings}
+@d number_sign = "#" {marks an |int_literal|}
+@d comment = "%" {ignore the rest of a \.{.bst} or \TeX\ line}
+@d single_quote = "'" {marks a quoted function}
+@d left_paren = "(" {optional database entry left delimiter}
+@d right_paren = ")" {corresponding right delimiter}
+@d comma = "," {separates various things}
+@d minus_sign = "-" {for a negative number}
+@d equals_sign = "=" {separates a field name from a field value}
+@d at_sign = "@@" {the beginning of a database entry}
+@d left_brace = "{" {left delimiter of many things}
+@d right_brace = "}" {corresponding right delimiter}
+@d period = "." {these are three}
+@d question_mark = "?" {string-ending characters}
+@d exclamation_mark = "!" {of interest in \.{add.period\$}}
+@d tie = "~" {the default space char, in \.{format.name\$}}
+@d hyphen = "-" {like |white_space|, in \.{format.name\$}}
+@d star = "*" {for including entire database}
+@d concat_char = "#" {for concatenating field tokens}
+@d colon = ":" {for lower-casing (usually title) strings}
+@d backslash = "\" {used to recognize accented characters}
+
+
+@
+These arrays give a lexical classification for the |ASCII_code|s;
+|lex_class| is used for general scanning and |id_class| is used for
+scanning identifiers.
+
+@<Globals in the outer block@>=
+@!lex_class: array [ASCII_code] of lex_type;
+@!id_class: array [ASCII_code] of id_type;
+
+
+@
+Every character has two types of the lexical classifications. The
+first type is general, and the second type tells whether the character
+is legal in identifiers.
+
+@d illegal = 0 {the unrecognized |ASCII_code|s}
+@d white_space = 1 {things like |space|s that you can't see}
+@d alpha = 2 {the upper- and lower-case letters}
+@d numeric = 3 {the ten digits}
+@d sep_char = 4 {things sometimes treated like |white_space|}
+@d other_lex = 5 {when none of the above applies}
+@d last_lex = 5 {the same number as on the line above}
+@#
+@d illegal_id_char = 0 {a few forbidden ones}
+@d legal_id_char = 1 {most printing characters}
+
+@<Types in the outer block@>=
+@!lex_type = 0..last_lex;@/
+@!id_type = 0..1;
+
+
+@
+@^character set dependencies@>
+@^system dependencies@>
+Now we initialize the system-dependent |lex_class| array. The |tab|
+character may be system dependent. Note that the order of these
+assignments is important here.
+
+@<Set initial values of key variables@>=
+for i:=0 to @'177 do lex_class[i] := other_lex;
+for i:=0 to @'37 do lex_class[i] := illegal;
+lex_class[invalid_code] := illegal;
+lex_class[tab] := white_space;
+lex_class[space] := white_space;
+lex_class[tie] := sep_char;
+lex_class[hyphen] := sep_char;
+for i:=@'60 to @'71 do lex_class[i] := numeric;
+for i:=@'101 to @'132 do lex_class[i] := alpha;
+for i:=@'141 to @'172 do lex_class[i] := alpha;
+
+
+@
+@^character set dependencies@>
+@^system dependencies@>
+And now the |id_class| array.
+
+@<Set initial values of key variables@>=
+for i:=0 to @'177 do id_class[i] := legal_id_char;
+for i:=0 to @'37 do id_class[i] := illegal_id_char;
+id_class[space] := illegal_id_char;
+id_class[tab] := illegal_id_char;
+id_class[double_quote] := illegal_id_char;
+id_class[number_sign] := illegal_id_char;
+id_class[comment] := illegal_id_char;
+id_class[single_quote] := illegal_id_char;
+id_class[left_paren] := illegal_id_char;
+id_class[right_paren] := illegal_id_char;
+id_class[comma] := illegal_id_char;
+id_class[equals_sign] := illegal_id_char;
+id_class[left_brace] := illegal_id_char;
+id_class[right_brace] := illegal_id_char;
+
+
+@
+The array |char_width| gives relative printing widths of each
+|ASCII_code|, and |string_width| will be used later to sum up
+|char_width|s in a string.
+
+@<Globals in the outer block@>=
+@!char_width : array [ASCII_code] of integer;
+@!string_width : integer;
+
+
+@
+@^character set dependencies@>
+@^system dependencies@>
+Now we initialize the system-dependent |char_width| array, for which
+|space| is the only |white_space| character given a nonzero printing
+width. The widths here are taken from Stanford's June~'87
+$cmr10$~font and represent hundredths of a point (rounded), but since
+they're used only for relative comparisons, the units have no meaning.
+
+@d ss_width = 500 {character |@'31|'s width in the $cmr10$ font}
+@d ae_width = 722 {character |@'32|'s width in the $cmr10$ font}
+@d oe_width = 778 {character |@'33|'s width in the $cmr10$ font}
+@d upper_ae_width = 903 {character |@'35|'s width in the $cmr10$ font}
+@d upper_oe_width = 1014 {character |@'36|'s width in the $cmr10$ font}
+
+@<Set initial values of key variables@>=
+for i:=0 to @'177 do char_width[i] := 0;
+@#
+char_width[@'40] := 278;
+char_width[@'41] := 278;
+char_width[@'42] := 500;
+char_width[@'43] := 833;
+char_width[@'44] := 500;
+char_width[@'45] := 833;
+char_width[@'46] := 778;
+char_width[@'47] := 278;
+char_width[@'50] := 389;
+char_width[@'51] := 389;
+char_width[@'52] := 500;
+char_width[@'53] := 778;
+char_width[@'54] := 278;
+char_width[@'55] := 333;
+char_width[@'56] := 278;
+char_width[@'57] := 500;
+char_width[@'60] := 500;
+char_width[@'61] := 500;
+char_width[@'62] := 500;
+char_width[@'63] := 500;
+char_width[@'64] := 500;
+char_width[@'65] := 500;
+char_width[@'66] := 500;
+char_width[@'67] := 500;
+char_width[@'70] := 500;
+char_width[@'71] := 500;
+char_width[@'72] := 278;
+char_width[@'73] := 278;
+char_width[@'74] := 278;
+char_width[@'75] := 778;
+char_width[@'76] := 472;
+char_width[@'77] := 472;
+char_width[@'100] := 778;
+char_width[@'101] := 750;
+char_width[@'102] := 708;
+char_width[@'103] := 722;
+char_width[@'104] := 764;
+char_width[@'105] := 681;
+char_width[@'106] := 653;
+char_width[@'107] := 785;
+char_width[@'110] := 750;
+char_width[@'111] := 361;
+char_width[@'112] := 514;
+char_width[@'113] := 778;
+char_width[@'114] := 625;
+char_width[@'115] := 917;
+char_width[@'116] := 750;
+char_width[@'117] := 778;
+char_width[@'120] := 681;
+char_width[@'121] := 778;
+char_width[@'122] := 736;
+char_width[@'123] := 556;
+char_width[@'124] := 722;
+char_width[@'125] := 750;
+char_width[@'126] := 750;
+char_width[@'127] :=1028;
+char_width[@'130] := 750;
+char_width[@'131] := 750;
+char_width[@'132] := 611;
+char_width[@'133] := 278;
+char_width[@'134] := 500;
+char_width[@'135] := 278;
+char_width[@'136] := 500;
+char_width[@'137] := 278;
+char_width[@'140] := 278;
+char_width[@'141] := 500;
+char_width[@'142] := 556;
+char_width[@'143] := 444;
+char_width[@'144] := 556;
+char_width[@'145] := 444;
+char_width[@'146] := 306;
+char_width[@'147] := 500;
+char_width[@'150] := 556;
+char_width[@'151] := 278;
+char_width[@'152] := 306;
+char_width[@'153] := 528;
+char_width[@'154] := 278;
+char_width[@'155] := 833;
+char_width[@'156] := 556;
+char_width[@'157] := 500;
+char_width[@'160] := 556;
+char_width[@'161] := 528;
+char_width[@'162] := 392;
+char_width[@'163] := 394;
+char_width[@'164] := 389;
+char_width[@'165] := 556;
+char_width[@'166] := 528;
+char_width[@'167] := 722;
+char_width[@'170] := 528;
+char_width[@'171] := 528;
+char_width[@'172] := 444;
+char_width[@'173] := 500;
+char_width[@'174] :=1000;
+char_width[@'175] := 500;
+char_width[@'176] := 500;
+
+
+
+@* Input and output.
+The basic operations we need to do are
+(1)~inputting and outputting of text characters to or from a file;
+(2)~instructing the operating system to initiate (``open'')
+or to terminate (``close'') input or output to or from a specified file; and
+(3)~testing whether the end of an input file has been reached.
+
+@<Types in the outer block@>=
+@!alpha_file=packed file of text_char; {files that contain textual data}
+
+
+@
+@^system dependencies@>
+Most of what we need to do with respect to input and output can be handled
+by the I/O facilities that are standard in \PASCAL, i.e., the routines
+called |get|, |put|, |eof|, and so on. But
+standard \PASCAL\ does not allow file variables to be associated with file
+names that are determined at run time, so it cannot be used to implement
+\BibTeX; some sort of extension to \PASCAL's ordinary |reset| and |rewrite|
+is crucial for our purposes. We shall assume that |name_of_file| is a variable
+of an appropriate type such that the \PASCAL\ run-time system being used to
+implement \BibTeX\ can open a file whose external name is specified by
+|name_of_file|. \BibTeX\ does no case conversion for file names.
+
+@<Globals in the outer block@>=
+@!name_of_file:packed array[1..file_name_size] of char;
+ {on some systems this is a \&{record} variable}
+@!name_length:0..file_name_size;
+ {this many characters are relevant in |name_of_file| (the rest are blank)}
+@!name_ptr:0..file_name_size+1; {index variable into |name_of_file|}
+
+
+@
+@^system dependencies@>
+@:PASCAL H}{\ph@>
+The \ph\ compiler with which the present version of \TeX\ was prepared has
+extended the rules of \PASCAL\ in a very convenient way. To open file~|f|,
+we can write
+$$\vbox{\halign{#\hfil\qquad&#\hfil\cr
+|reset(f,@t\\{name}@>,'/O')|&for input;\cr
+|rewrite(f,@t\\{name}@>,'/O')|&for output.\cr}}$$
+The `\\{name}' parameter, which is of type `\ignorespaces|packed
+array[@t\<\\{any}>@>] of text_char|', stands for the name of
+the external file that is being opened for input or output.
+Blank spaces that might appear in \\{name} are ignored.
+
+The `\.{/O}' parameter tells the operating system not to issue its own
+error messages if something goes wrong. If a file of the specified name
+cannot be found, or if such a file cannot be opened for some other reason
+(e.g., someone may already be trying to write the same file), we will have
+|@!erstat(f)<>0| after an unsuccessful |reset| or |rewrite|. This allows
+\TeX\ to undertake appropriate corrective action.
+
+\TeX's file-opening procedures return |false| if no file identified by
+|name_of_file| could be opened.
+
+@d reset_OK(#)==erstat(#)=0
+@d rewrite_OK(#)==erstat(#)=0
+
+@<Procedures and functions for file-system interacting@>=
+function erstat(var f:file):integer; extern; {in the runtime library}
+@#@t\2@>
+function a_open_in(var f:alpha_file):boolean; {open a text file for input}
+begin reset(f,name_of_file,'/O'); a_open_in:=reset_OK(f);
+end;
+@#
+function a_open_out(var f:alpha_file):boolean; {open a text file for output}
+begin rewrite(f,name_of_file,'/O'); a_open_out:=rewrite_OK(f);
+end;
+
+
+@
+@^system dependencies@>
+Files can be closed with the \ph\ routine `|close(f)|', which should
+be used when all input or output with respect to |f| has been
+completed. This makes |f| available to be opened again, if desired;
+and if |f| was used for output, the |close| operation makes the
+corresponding external file appear on the user's area, ready to be
+read.
+
+@<Procedures and functions for file-system interacting@>=
+procedure a_close(var f:alpha_file); {close a text file}
+begin close(f);
+end;
+
+
+@
+Text output is easy to do with the ordinary \PASCAL\ |put| procedure,
+so we don't have to make any other special arrangements.
+The treatment of text input is more difficult, however, because
+of the necessary translation to |ASCII_code| values, and because
+\TeX's conventions should be efficient and they should
+blend nicely with the user's operating environment.
+
+
+@
+Input from text files is read one line at a time, using a routine
+called |input_ln|. This function is defined in terms of global
+variables called |buffer| and |last|. The |buffer| array contains
+|ASCII_code| values, and |last| is an index into this array marking
+the end of a line of text. (Occasionally, |buffer| is used for
+something else, in which case it is copied to a temporary array.)
+
+@<Globals in the outer block@>=
+@!buffer:buf_type; {usually, lines of characters being read}
+@!last:buf_pointer; {end of the line just input to |buffer|}
+
+
+@
+@^save space@>
+@^space savings@>
+@^system dependencies@>
+The type |buf_type| is used for |buffer|, for saved copies of it, or
+for scratch work. It's not |packed| because otherwise the program
+would run much slower on some systems (more than 25 percent slower,
+for example, on a TOPS-20 operating system). But on systems that are
+byte-addressable and that have a good compiler, packing |buf_type|
+would save lots of space without much loss of speed. Other modules
+that have packable arrays are also marked with a ``space savings''
+index entry.
+
+@<Types in the outer block@>=
+@!buf_pointer = 0..buf_size; {an index into a |buf_type|}
+@!buf_type = array[buf_pointer] of ASCII_code; {for various buffers}
+
+
+@
+@^kludge@>
+And while we're at it, we declare another buffer for general use.
+Because buffers are not packed and can get large, we use |sv_buffer|
+several purposes; this is a bit kludgy, but it helps make the stack
+space not overflow on some machines. It's used when reading the
+entire database file (in the \.{read} command) and when doing
+name-handling (through the alias |name_buf|) in the |built_in|
+functions \.{format.names\$} and \.{num.names\$}.
+
+@<Globals in the outer block@>=
+@!sv_buffer : buf_type;
+@!sv_ptr1 : buf_pointer;
+@!sv_ptr2 : buf_pointer;
+@!tmp_ptr,@!tmp_end_ptr : integer; {copy pointers only, usually for buffers}
+
+
+@
+@.BibTeX capacity exceeded@>
+When something in the program wants to be bigger or something out
+there wants to be smaller, it's time to call it a run. Here's the
+first of several macros that have associated procedures so that they
+produce less inline code.
+
+@d overflow(#)==begin {fatal error---close up shop}
+ print_overflow;
+ print_ln(#:0);
+ goto close_up_shop;
+ end
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure print_overflow;
+begin
+print ('Sorry---you''ve exceeded BibTeX''s ');
+mark_fatal;
+end;
+
+
+@
+@.this can't happen@>
+When something happens that the program thinks is impossible,
+call the maintainer.
+
+@d confusion(#)==begin {fatal error---close up shop}
+ print (#);
+ print_confusion;
+ goto close_up_shop;
+ end
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure print_confusion;
+begin
+print_ln ('---this can''t happen');
+print_ln ('*Please notify the BibTeX maintainer*');
+mark_fatal;
+end;
+
+
+@
+@:BibTeX capacity exceeded}{\quad buffer size@>
+When a buffer overflows, it's time to complain (and then quit).
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure buffer_overflow;
+begin
+overflow('buffer size ',buf_size);
+end;
+
+
+@
+@:BibTeX capacity exceeded}{\quad buffer size@>
+The |input_ln| function brings the next line of input from the
+specified file into available positions of the buffer array and
+returns the value |true|, unless the file has already been entirely
+read, in which case it returns |false| and sets |last:=0|. In
+general, the |ASCII_code| numbers that represent the next line of the
+file are input into |buffer[0]|, |buffer[1]|, \dots, |buffer[last-1]|;
+and the global variable |last| is set equal to the length of the line.
+Trailing |white_space| characters are removed from the line
+(|white_space| characters are explained in the character-set section%
+---most likely they're blanks); thus, either |last=0| (in which case
+the line was entirely blank) or |lex_class[buffer[last-1]]<>white_space|.
+An overflow error is given if the normal actions of |input_ln| would
+make |last>buf_size|.
+
+Standard \PASCAL\ says that a file should have |eoln| immediately
+before |eof|, but \BibTeX\ needs only a weaker restriction: If |eof|
+occurs in the middle of a line, the system function |eoln| should return
+a |true| result (even though |f^| will be undefined).
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+function input_ln(var f:alpha_file) : boolean;
+ {inputs the next line or returns |false|}
+label loop_exit;
+begin
+last:=0;
+if (eof(f)) then input_ln:=false
+else
+ begin
+ while (not eoln(f)) do
+ begin
+ if (last >= buf_size) then
+ buffer_overflow;
+ buffer[last]:=xord[f^];
+ get(f); incr(last);
+ end;
+ get(f);
+ while (last > 0) do {remove trailing |white_space|}
+ if (lex_class[buffer[last-1]] = white_space) then
+ decr(last)
+ else
+ goto loop_exit;
+loop_exit:
+ input_ln:=true;
+ end;
+end;
+
+
+
+@* String handling.
+\BibTeX\ uses variable-length strings of seven-bit characters.
+Since \PASCAL\ does not have a well-developed string mechanism,
+\BibTeX\ does all its string processing by home-grown
+(predominantly \TeX's) methods.
+Unlike \TeX, however, \BibTeX\ does not use a |pool_file| for
+string storage; it creates its few pre-defined strings at run-time.
+
+The necessary operations are handled with a simple data structure.
+The array |str_pool| contains all the (seven-bit) ASCII codes in all
+the strings \BibTeX\ must ever search for (generally identifiers
+names), and the array |str_start| contains indices of the starting
+points of each such string. Strings are referred to by integer
+numbers, so that string number |s| comprises the characters
+|str_pool[j]| for |str_start[s]<=j<str_start[s+1]|. Additional integer
+variables |pool_ptr| and |str_ptr| indicate the number of entries used
+so far in |str_pool| and |str_start|; locations |str_pool[pool_ptr]|
+and |str_start[str_ptr]| are ready for the next string to be
+allocated. Location |str_start[0]| is unused so that hashing will
+work correctly.
+
+Elements of the |str_pool| array must be ASCII codes that can actually be
+printed; i.e., they must have an |xchr| equivalent in the local
+character set.
+
+@<Globals in the outer block@>=
+@!str_pool : packed array[pool_pointer] of ASCII_code; {the characters}
+@!str_start : packed array[str_number] of pool_pointer; {the starting pointers}
+@!pool_ptr : pool_pointer; {first unused position in |str_pool|}
+@!str_ptr : str_number; {start of the current string being created}
+@!str_num : str_number; {general index variable into |str_start|}
+@!p_ptr1,@!p_ptr2 : pool_pointer; {several procedures use these locally}
+
+
+@
+Where |pool_pointer| and |str_number| are pointers into |str_pool| and
+|str_start|.
+
+@<Types in the outer block@>=
+@!pool_pointer = 0..pool_size; {for variables that point into |str_pool|}
+@!str_number = 0..max_strings; {for variables that point into |str_start|}
+
+
+@
+These macros send a string in |str_pool| to an output file.
+
+@d max_pop = 3 {---see the |built_in| functions section}
+@#
+@d print_pool_str(#) == print_a_pool_str(#)
+ {making this a procedure saves a little space}
+@#
+@d trace_pr_pool_str(#) == begin
+ out_pool_str(log_file,#);
+ end
+
+
+@
+@^kludge@>
+@^system dependencies@>
+@:this can't happen}{\quad Illegal string number@>
+And here are the associated procedures. Note: The |term_out| file is
+system dependent.
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure out_pool_str (var f:alpha_file; @!s:str_number);
+var i:pool_pointer;
+begin {allowing |str_ptr <= s < str_ptr+max_pop| is a \.{.bst}-stack kludge}
+if ((s<0) or (s>=str_ptr+max_pop) or (s>=max_strings)) then
+ confusion ('Illegal string number:',s:0);
+for i := str_start[s] to str_start[s+1]-1 do
+ write(f,xchr[str_pool[i]]);
+end;
+@#
+procedure print_a_pool_str (@!s:str_number);
+begin
+out_pool_str(term_out,s);
+out_pool_str(log_file,s);
+end;
+
+
+@
+@.WEB@>
+Several of the elementary string operations are performed using \.{WEB}
+macros instead of using \PASCAL\ procedures, because many of the
+operations are done quite frequently and we want to avoid the
+overhead of procedure calls. For example, here is
+a simple macro that computes the length of a string.
+
+@d length(#) == (str_start[#+1]-str_start[#])
+ {the number of characters in string number \#}
+
+
+@
+@:BibTeX capacity exceeded}{\quad pool size@>
+Strings are created by appending character codes to |str_pool|.
+The macro called |append_char|, defined here, does not check to see if the
+value of |pool_ptr| has gotten too high; this test is supposed to be
+made before |append_char| is used.
+
+To test if there is room to append |l| more characters to |str_pool|,
+we shall write |str_room(l)|, which aborts \BibTeX\ and gives an
+error message if there isn't enough room.
+
+@d append_char(#) == {put |ASCII_code| \# at the end of |str_pool|}
+begin str_pool[pool_ptr]:=#; incr(pool_ptr);
+end
+@#
+@d str_room(#) == {make sure that the pool hasn't overflowed}
+ begin
+ if (pool_ptr+# > pool_size) then
+ pool_overflow;
+ end
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure pool_overflow;
+begin
+overflow('pool size ',pool_size);
+end;
+
+
+@
+@:BibTeX capacity exceeded}{\quad number of strings@>
+Once a sequence of characters has been appended to |str_pool|, it
+officially becomes a string when the function |make_string| is called.
+It returns the string number of the string it just made.
+
+@<Procedures and functions for handling numbers, characters, and strings@>=
+function make_string : str_number; {current string enters the pool}
+begin
+if (str_ptr=max_strings) then
+ overflow('number of strings ',max_strings);
+incr(str_ptr);
+str_start[str_ptr]:=pool_ptr;
+make_string := str_ptr - 1;
+end;
+
+
+@
+These macros destroy and recreate the string at the end of the pool.
+
+@d flush_string == begin
+ decr(str_ptr);
+ pool_ptr := str_start[str_ptr];
+ end
+@#
+@d unflush_string == begin
+ incr(str_ptr);
+ pool_ptr := str_start[str_ptr];
+ end
+
+
+@
+This subroutine compares string |s| with another string that appears
+in the buffer |buf| between positions |bf_ptr| and |bf_ptr+len-1|; the
+result is |true| if and only if the strings are equal.
+
+@<Procedures and functions for handling numbers, characters, and strings@>=
+function str_eq_buf (@!s:str_number; var buf:buf_type;
+ @!bf_ptr,@!len:buf_pointer) : boolean;
+ {test equality of strings}
+label exit;
+var i : buf_pointer; {running}
+@!j : pool_pointer; {indices}
+begin
+if (length(s) <> len) then {strings of unequal length}
+ begin
+ str_eq_buf := false;
+ return;
+ end;
+i := bf_ptr;
+j := str_start[s];
+while (j < str_start[s+1]) do
+ begin
+ if (str_pool[j] <> buf[i]) then
+ begin
+ str_eq_buf := false;
+ return;
+ end;
+ incr(i);
+ incr(j);
+ end;
+str_eq_buf := true;
+exit:
+end;
+
+
+@
+This subroutine compares two |str_pool| strings and returns true
+|true| if and only if the strings are equal.
+
+@<Procedures and functions for handling numbers, characters, and strings@>=
+function str_eq_str (@!s1,@!s2:str_number) : boolean;
+label exit;
+begin
+if (length(s1) <> length(s2)) then
+ begin
+ str_eq_str := false;
+ return;
+ end;
+p_ptr1 := str_start[s1];
+p_ptr2 := str_start[s2];
+while (p_ptr1 < str_start[s1+1]) do
+ begin
+ if (str_pool[p_ptr1] <> str_pool[p_ptr2]) then
+ begin
+ str_eq_str := false;
+ return;
+ end;
+ incr(p_ptr1);
+ incr(p_ptr2);
+ end;
+str_eq_str:=true;
+exit:
+end;
+
+
+@
+@:BibTeX capacity exceeded}{\quad file name size@>
+This procedure copies file name |file_name| into the beginning of
+|name_of_file|, if it will fit. It also sets the global variable
+|name_length| to the appropriate value.
+
+@<Procedures and functions for file-system interacting@>=
+procedure start_name (@!file_name:str_number);
+var p_ptr: pool_pointer; {running index}
+begin
+if (length(file_name) > file_name_size) then
+ begin
+ print ('File=');
+ print_pool_str (file_name);
+ print_ln (',');
+ file_nm_size_overflow;
+ end;
+name_ptr := 1;
+p_ptr := str_start[file_name];
+while (p_ptr < str_start[file_name+1]) do
+ begin
+ name_of_file[name_ptr] := chr (str_pool[p_ptr]);
+ incr(name_ptr); incr(p_ptr);
+ end;
+name_length := length(file_name);
+end;
+
+
+@
+@:BibTeX capacity exceeded}{\quad file name size@>
+Yet another complaint-before-quiting.
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure file_nm_size_overflow;
+begin
+overflow('file name size ',file_name_size);
+end;
+
+
+@
+@:BibTeX capacity exceeded}{\quad file name size@>
+This procedure copies file extension |ext| into the array
+|name_of_file| starting at position |name_length+1|. It also sets the
+global variable |name_length| to the appropriate value.
+
+@<Procedures and functions for file-system interacting@>=
+procedure add_extension(@!ext:str_number);
+var p_ptr: pool_pointer; {running index}
+begin
+if (name_length + length(ext) > file_name_size) then
+ begin
+ print ('File=',name_of_file,', extension=');
+ print_pool_str (ext); print_ln (',');
+ file_nm_size_overflow;
+ end;
+name_ptr := name_length + 1;
+p_ptr := str_start[ext];
+while (p_ptr < str_start[ext+1]) do
+ begin
+ name_of_file[name_ptr] := chr (str_pool[p_ptr]);
+ incr(name_ptr); incr(p_ptr);
+ end;
+name_length := name_length + length(ext);
+name_ptr := name_length+1;
+while (name_ptr <= file_name_size) do {pad with blanks}
+ begin
+ name_of_file[name_ptr] := ' ';
+ incr(name_ptr);
+ end;
+end;
+
+
+@
+@:BibTeX capacity exceeded}{\quad file name size@>
+This procedure copies the default logical area name |area| into the
+array |name_of_file| starting at position 1, after shifting up the
+rest of the filename. It also sets the global variable |name_length|
+to the appropriate value.
+
+@<Procedures and functions for file-system interacting@>=
+procedure add_area(@!area:str_number);
+var p_ptr: pool_pointer; {running index}
+begin
+if (name_length + length(area) > file_name_size) then
+ begin
+ print ('File=');
+ print_pool_str (area); print (name_of_file,',');
+ file_nm_size_overflow;
+ end;
+name_ptr := name_length;
+while (name_ptr > 0) do {shift up name}
+ begin
+ name_of_file[name_ptr+length(area)] := name_of_file[name_ptr];
+ decr(name_ptr);
+ end;
+name_ptr := 1;
+p_ptr := str_start[area];
+while (p_ptr < str_start[area+1]) do
+ begin
+ name_of_file[name_ptr] := chr (str_pool[p_ptr]);
+ incr(name_ptr); incr(p_ptr);
+ end;
+name_length := name_length + length(area);
+end;
+
+
+@
+This system-independent procedure converts upper-case characters to
+lower case for the specified part of |buf|. It is system independent
+because it uses only the internal representation for characters.
+
+@d case_difference = "a" - "A"
+
+@<Procedures and functions for handling numbers, characters, and strings@>=
+procedure lower_case (var buf:buf_type; @!bf_ptr,@!len:buf_pointer);
+var i:buf_pointer;
+begin
+if (len > 0) then
+ for i := bf_ptr to bf_ptr+len-1 do
+ if ((buf[i]>="A") and (buf[i]<="Z")) then
+ buf[i] := buf[i] + case_difference;
+end;
+
+
+@
+This system-independent procedure is the same as the previous except
+that it converts lower- to upper-case letters.
+
+@<Procedures and functions for handling numbers, characters, and strings@>=
+procedure upper_case (var buf:buf_type; @!bf_ptr,@!len:buf_pointer);
+var i:buf_pointer;
+begin
+if (len > 0) then
+ for i := bf_ptr to bf_ptr+len-1 do
+ if ((buf[i]>="a") and (buf[i]<="z")) then
+ buf[i] := buf[i] - case_difference;
+end;
+
+
+
+@* The hash table.
+All static strings that \BibTeX\ might have to search for, generally
+identifiers, are stored and retrieved by means of a fairly standard
+hash-table algorithm (but slightly altered here) called the method of
+``coalescing lists''
+(cf.\ Algorithm 6.4C in {\sl The Art of Computer Programming}).
+Once a string enters the table, it is never removed. The actual
+sequence of characters forming a string is stored in the |str_pool|
+array.
+
+The hash table consists of the four arrays |hash_next|, |hash_text|,
+|hash_ilk|, and |ilk_info|. The first array, |hash_next[p]|, points
+to the next identifier belonging to the same coalesced list as the
+identifier corresponding to~|p|. The second, |hash_text[p]|, points
+to the |str_start| entry for |p|'s string. If position~|p| of the hash
+table is empty, we have |hash_text[p]=0|; if position |p| is either
+empty or the end of a coalesced hash list, we have
+|hash_next[p]=empty|; an auxiliary pointer variable called |hash_used|
+is maintained in such a way that all locations |p>=hash_used| are
+nonempty. The third, |hash_ilk[p]|, tells how this string is used (as
+ordinary text, as a variable name, as an \.{.aux} file command, etc).
+The fourth, |ilk_info[p]|, contains information specific to the
+corresponding |hash_ilk|---for |integer_ilk|s: the integer's value;
+for |cite_ilk|s: a pointer into |cite_list|; for |lc_cite_ilk|s: a
+pointer to a |cite_ilk| string; for |command_ilk|s: a constant to be
+used in a |case| statement; for |bst_fn_ilk|s: function-specific
+information; for |macro_ilk|s: a pointer to its definition string; for
+|control_seq_ilk|s: a constant for use in a |case| statement; for all
+other |ilk|s it contains no information. This |ilk|-specific
+information is set in other parts of the program rather than here in
+the hashing routine.
+
+@d hash_base = empty + 1 {lowest numbered hash-table location}
+@d hash_max = hash_base + hash_size - 1 {highest numbered hash-table location}
+@d hash_is_full == (hash_used=hash_base) {test if all positions are occupied}
+@#
+@d text_ilk = 0 {a string of ordinary text}
+@d integer_ilk = 1 {an integer (possibly with a |minus_sign|)}
+@d aux_command_ilk = 2 {an \.{.aux}-file command}
+@d aux_file_ilk = 3 {an \.{.aux} file name}
+@d bst_command_ilk = 4 {a \.{.bst}-file command}
+@d bst_file_ilk = 5 {a \.{.bst} file name}
+@d bib_file_ilk = 6 {a \.{.bib} file name}
+@d file_ext_ilk = 7 {one of \.{.aux}, \.{.bst}, \.{.bib}, \.{.bbl},
+ or \.{.blg}}
+@d file_area_ilk = 8 {one of \.{texinputs:} or \.{texbib:}}
+@d cite_ilk = 9 {a \.{\\citation} argument}
+@d lc_cite_ilk = 10 {a \.{\\citation} argument converted to lower case}
+@d bst_fn_ilk = 11 {a \.{.bst} function name}
+@d bib_command_ilk = 12 {a \.{.bib}-file command}
+@d macro_ilk = 13 {a \.{.bst} macro or a \.{.bib} string}
+@d control_seq_ilk = 14 {a control sequence specifying a foreign character}
+@d last_ilk = 14 {the same number as on the line above}
+
+@<Types in the outer block@>=
+@!hash_loc=hash_base..hash_max; {a location within the hash table}
+@!hash_pointer=empty..hash_max; {either |empty| or a |hash_loc|}
+@#
+@!str_ilk=0..last_ilk; {the legal string types}
+
+
+@
+@<Globals in the outer block@>=
+@!hash_next : packed array[hash_loc] of hash_pointer; {coalesced-list link}
+@!hash_text : packed array[hash_loc] of str_number; {pointer to a string}
+@!hash_ilk : packed array[hash_loc] of str_ilk; {the type of string}
+@!ilk_info : packed array[hash_loc] of integer; {|ilk|-specific info}
+@!hash_used : hash_base..hash_max+1; {allocation pointer for hash table}
+@!hash_found : boolean; {set to |true| if it's already in the hash table}
+@!dummy_loc : hash_loc; {receives |str_lookup| value whenever it's useless}
+
+
+@
+@<Local variables for initialization@>=
+@!k:hash_loc;
+
+
+@
+Now it's time to initialize the hash table; note that |str_start[0]|
+must be unused if |hash_text[k] := 0| is to have the desired effect.
+
+@<Set initial values of key variables@>=
+for k:=hash_base to hash_max do
+ begin
+ hash_next[k] := empty;
+ hash_text[k] := 0; {thus, no need to initialize |hash_ilk| or |ilk_info|}
+ end;
+hash_used := hash_max + 1; {nothing in table initially}
+
+
+@
+Here is the subroutine that searches the hash table for a
+(string,~|str_ilk|) pair, where the string is of length |l>=0| and
+appears in |buffer[j..(j+l-1)]|. If it finds the pair, it returns the
+corresponding hash-table location and sets the global variable
+|hash_found| to |true|. Otherwise it sets |hash_found| to |false|,
+and if the parameter |insert_it| is |true|, it inserts the pair into
+the hash table, inserts the string into |str_pool| if not previously
+encountered, and returns its location. Note that two different pairs
+can have the same string but different |str_ilk|s, in which case the
+second pair encountered, if |insert_it| were |true|, would be inserted
+into the hash table though its string wouldn't be inserted into
+|str_pool| because it would already be there.
+
+@d max_hash_value = hash_prime+hash_prime-2+127 {|h|'s maximum value}
+@d do_insert == true {insert string if not found in hash table}
+@d dont_insert == false {don't insert string}
+@#
+@d str_found = 40 {go here when you've found the string}
+@d str_not_found = 45 {go here when you haven't}
+
+@<Procedures and functions for handling numbers, characters, and strings@>=
+function str_lookup(var buf:buf_type; @!j,@!l:buf_pointer; @!ilk:str_ilk;
+ @!insert_it:boolean) : hash_loc; {search the hash table}
+label str_found,@!str_not_found;
+var h:0..max_hash_value; {hash code}
+@!p:hash_loc; {index into |hash_| arrays}
+@!k:buf_pointer; {index into |buf| array}
+@!old_string:boolean; {set to |true| if it's an already encountered string}
+@!str_num:str_number; {pointer to an already encountered string}
+begin
+@<Compute the hash code |h|@>;
+p:=h+hash_base; {start searching here; note that |0<=h<hash_prime|}
+hash_found := false;
+old_string := false;
+loop
+ begin
+ @<Process the string if we've already encountered it@>;
+ if (hash_next[p]=empty) then {location |p| may or may not be empty}
+ begin
+ if (not insert_it) then goto str_not_found;
+ @<Insert pair into hash table and make |p| point to it@>;
+ goto str_found;
+ end;
+ p:=hash_next[p]; {old and new locations |p| are not empty}
+ end;
+str_not_found: do_nothing; {don't insert pair; function value meaningless}
+str_found: str_lookup:=p;
+end;
+
+
+@
+@^for loops@>
+@.WEB@>
+The value of |hash_prime| should be roughly 85\% of |hash_size|, and
+it should be a prime number
+(it should also be less than $2^{14} + 2^{6} = 16320$ because of
+\.{WEB}'s simple-macro bound). The theory of hashing tells us to expect
+fewer than two table probes, on the average, when the search is
+successful.
+
+@<Compute the hash code |h|@>=
+begin
+h := 0; {note that this works for zero-length strings}
+k := j;
+while (k < j+l) do {not a |for| loop in case |j = l = 0|}
+ begin
+ h:=h+h+buf[k];
+ while (h >= hash_prime) do h:=h-hash_prime;
+ incr(k);
+ end;
+end
+
+
+@
+Here we handle the case in which we've already encountered this
+string; note that even if we have, we'll still have to insert the pair
+into the hash table if |str_ilk| doesn't match.
+
+@<Process the string if we've already encountered it@>=
+begin
+if (hash_text[p]>0) then {there's something here}
+ if (str_eq_buf(hash_text[p],buf,j,l)) then {it's the right string}
+ if (hash_ilk[p] = ilk) then {it's the right |str_ilk|}
+ begin
+ hash_found := true;
+ goto str_found;
+ end
+ else
+ begin {it's the wrong |str_ilk|}
+ old_string := true;
+ str_num := hash_text[p];
+ end;
+end
+
+
+@
+@^for loops@>
+@:BibTeX capacity exceeded}{\quad hash size@>
+This code inserts the pair in the appropriate unused location.
+
+@<Insert pair into hash table and make |p| point to it@>=
+begin
+if (hash_text[p]>0) then {location |p| isn't empty}
+ begin
+ repeat if (hash_is_full) then overflow('hash size ',hash_size);
+ decr(hash_used);
+ until (hash_text[hash_used]=0); {search for an empty location}
+ hash_next[p]:=hash_used;
+ p:=hash_used;
+ end; {now location |p| is empty}
+if (old_string) then {it's an already encountered string}
+ hash_text[p] := str_num
+ else
+ begin {it's a new string}
+ str_room(l); {make sure it'll fit in |str_pool|}
+ k := j;
+ while (k < j+l) do {not a |for| loop in case |j = l = 0|}
+ begin
+ append_char(buf[k]);
+ incr(k);
+ end;
+ hash_text[p] := make_string; {and make it official}
+ end;
+hash_ilk[p] := ilk;
+end
+
+
+@
+@^string pool@>
+Now that we've defined the hash-table workings we can initialize the
+string pool. Unlike \TeX, \BibTeX\ does not use a |pool_file| for
+string storage; instead it inserts its pre-defined strings into
+|str_pool|---this makes one file fewer for the \BibTeX\ implementor
+to deal with. This section initializes |str_pool|; the pre-defined
+strings will be inserted into it shortly; and other strings are
+inserted while processing the input files.
+
+@<Set initial values of key variables@>=
+pool_ptr:=0; str_ptr:=1; {hash table must have |str_start[0]| unused}
+str_start[str_ptr]:=pool_ptr;
+
+
+@
+The longest pre-defined string determines type definitions used to
+insert the pre-defined strings into |str_pool|.
+
+@d longest_pds=12 {the length of `\.{change.case\$}'}
+
+@<Types in the outer block@>=
+@!pds_loc = 1..longest_pds;
+@!pds_len = 0..longest_pds;
+@!pds_type = packed array [pds_loc] of char;
+
+
+@
+The variables in this program beginning with |s_| specify the
+locations in |str_pool| for certain often-used strings. Those here
+have to do with the file system; the next section will actually insert
+them into |str_pool|.
+
+@<Globals in the outer block@>=
+@!s_aux_extension : str_number; {\.{.aux}}
+@!s_log_extension : str_number; {\.{.blg}}
+@!s_bbl_extension : str_number; {\.{.bbl}}
+@!s_bst_extension : str_number; {\.{.bst}}
+@!s_bib_extension : str_number; {\.{.bib}}
+@!s_bst_area : str_number; {\.{texinputs:}}
+@!s_bib_area : str_number; {\.{texbib:}}
+
+
+@
+@^important note@>
+@^system dependencies@>
+It's time to insert some of the pre-defined strings into |str_pool|
+(and thus the hash table). These system-dependent strings should
+contain no upper-case letters, and they must all be exactly
+|longest_pds| characters long (even if fewer characters are actually
+stored). The |pre_define| routine appears shortly.
+
+Important notes: These pre-definitions must not have any glitches or
+the program may bomb because the |log_file| hasn't been opened yet,
+and |text_ilk|s should be pre-defined later, for
+\.{.bst}-function-execution purposes.
+
+@<Pre-define certain strings@>=
+pre_define('.aux ',4,file_ext_ilk);
+s_aux_extension := hash_text[pre_def_loc];
+pre_define('.bbl ',4,file_ext_ilk);
+s_bbl_extension := hash_text[pre_def_loc];
+pre_define('.blg ',4,file_ext_ilk);
+s_log_extension := hash_text[pre_def_loc];
+pre_define('.bst ',4,file_ext_ilk);
+s_bst_extension := hash_text[pre_def_loc];
+pre_define('.bib ',4,file_ext_ilk);
+s_bib_extension := hash_text[pre_def_loc];
+pre_define('texinputs: ',10,file_area_ilk);
+s_bst_area := hash_text[pre_def_loc];
+pre_define('texbib: ',7,file_area_ilk);
+s_bib_area := hash_text[pre_def_loc];
+
+
+@
+This global variable gives the hash-table location of pre-defined
+strings generated by calls to |str_lookup|.
+
+@<Globals in the outer block@>=
+@!pre_def_loc : hash_loc;
+
+
+@
+This procedure initializes a pre-defined string of length at most
+|longest_pds|.
+
+@<Procedures and functions for handling numbers, characters, and strings@>=
+procedure pre_define (@!pds:pds_type; @!len:pds_len; @!ilk:str_ilk);
+var i : pds_len;
+begin
+for i:=1 to len do
+ buffer[i] := xord[pds[i]];
+pre_def_loc := str_lookup(buffer,1,len,ilk,do_insert);
+end;
+
+
+@
+These constants all begin with |n_| and are used for the |case|
+statement that determines which command to execute. The variable
+|command_num| is set to one of these and is used to do the branching,
+but it must have the full |integer| range because at times it can
+assume an arbitrary |ilk_info| value (though it will be one of the
+values here when we actually use it).
+
+@d n_aux_bibdata = 0 {\.{\\bibdata}}
+@d n_aux_bibstyle = 1 {\.{\\bibstyle}}
+@d n_aux_citation = 2 {\.{\\citation}}
+@d n_aux_input = 3 {\.{\\@@input}}
+@#
+@d n_bst_entry = 0 {\.{entry}}
+@d n_bst_execute = 1 {\.{execute}}
+@d n_bst_function = 2 {\.{function}}
+@d n_bst_integers = 3 {\.{integers}}
+@d n_bst_iterate = 4 {\.{iterate}}
+@d n_bst_macro = 5 {\.{macro}}
+@d n_bst_read = 6 {\.{read}}
+@d n_bst_reverse = 7 {\.{reverse}}
+@d n_bst_sort = 8 {\.{sort}}
+@d n_bst_strings = 9 {\.{strings}}
+@#
+@d n_bib_comment = 0 {\.{comment}}
+@d n_bib_preamble = 1 {\.{preamble}}
+@d n_bib_string = 2 {\.{string}}
+
+@<Globals in the outer block@>=
+@!command_num : integer;
+
+
+@
+@^important note@>
+Now we pre-define the command strings; they must all be exactly
+|longest_pds| characters long.
+
+Important note: These pre-definitions must not have any glitches or
+the program may bomb because the |log_file| hasn't been opened yet.
+
+@<Pre-define certain strings@>=
+pre_define('\citation ',9,aux_command_ilk);
+ilk_info[pre_def_loc] := n_aux_citation;
+pre_define('\bibdata ',8,aux_command_ilk);
+ilk_info[pre_def_loc] := n_aux_bibdata;
+pre_define('\bibstyle ',9,aux_command_ilk);
+ilk_info[pre_def_loc] := n_aux_bibstyle;
+pre_define('\@@input ',7,aux_command_ilk);
+ilk_info[pre_def_loc] := n_aux_input;
+@#
+pre_define('entry ',5,bst_command_ilk);
+ilk_info[pre_def_loc] := n_bst_entry;
+pre_define('execute ',7,bst_command_ilk);
+ilk_info[pre_def_loc] := n_bst_execute;
+pre_define('function ',8,bst_command_ilk);
+ilk_info[pre_def_loc] := n_bst_function;
+pre_define('integers ',8,bst_command_ilk);
+ilk_info[pre_def_loc] := n_bst_integers;
+pre_define('iterate ',7,bst_command_ilk);
+ilk_info[pre_def_loc] := n_bst_iterate;
+pre_define('macro ',5,bst_command_ilk);
+ilk_info[pre_def_loc] := n_bst_macro;
+pre_define('read ',4,bst_command_ilk);
+ilk_info[pre_def_loc] := n_bst_read;
+pre_define('reverse ',7,bst_command_ilk);
+ilk_info[pre_def_loc] := n_bst_reverse;
+pre_define('sort ',4,bst_command_ilk);
+ilk_info[pre_def_loc] := n_bst_sort;
+pre_define('strings ',7,bst_command_ilk);
+ilk_info[pre_def_loc] := n_bst_strings;
+@#
+pre_define('comment ',7,bib_command_ilk);
+ilk_info[pre_def_loc] := n_bib_comment;
+pre_define('preamble ',8,bib_command_ilk);
+ilk_info[pre_def_loc] := n_bib_preamble;
+pre_define('string ',6,bib_command_ilk);
+ilk_info[pre_def_loc] := n_bib_string;
+
+
+
+@* Scanning an input line.
+This section describes the various |buffer| scanning routines. The
+two global variables |buf_ptr1| and |buf_ptr2| are used in scanning an
+input line. Between scans, |buf_ptr1| points to the first character
+of the current token and |buf_ptr2| points to that of the next. The
+global variable |last|, set by the function |input_ln|, marks the end
+of the current line; it equals 0 at the end of the current file. All
+the procedures and functions in this section will indicate an
+end-of-line when it's the end of the file.
+
+@d token_len == (buf_ptr2 - buf_ptr1) {of the current token}
+@d scan_char == buffer[buf_ptr2] {the current character}
+
+@<Globals in the outer block@>=
+@!buf_ptr1:buf_pointer; {points to the first position of the current token}
+@!buf_ptr2:buf_pointer; {used to find the end of the current token}
+
+
+@
+These macros send the current token, in |buffer[buf_ptr1]| to
+|buffer[buf_ptr2-1]|, to an output file.
+
+@d print_token == print_a_token {making this a procedure saves a little space}
+@#
+@d trace_pr_token == begin
+ out_token(log_file);
+ end
+
+
+@
+@^system dependencies@>
+And here are the associated procedures. Note: The |term_out| file is
+system dependent.
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure out_token (var f:alpha_file);
+var i:buf_pointer;
+begin
+i := buf_ptr1;
+while (i < buf_ptr2) do
+ begin
+ write(f,xchr[buffer[i]]);
+ incr(i);
+ end;
+end;
+@#
+procedure print_a_token;
+begin
+out_token(term_out);
+out_token(log_file);
+end;
+
+
+@
+This function scans the |buffer| for the next token, starting at the
+global variable |buf_ptr2| and ending just before either the single
+specified stop-character or the end of the current line, whichever
+comes first, respectively returning |true| or |false|; afterward,
+|scan_char| is the first character following this token.
+
+@<Procedures and functions for input scanning@>=
+function scan1 (@!char1:ASCII_code) : boolean;
+begin
+buf_ptr1 := buf_ptr2;
+ {scan until end-of-line or the specified character}
+while ((scan_char <> char1) and (buf_ptr2 < last)) do
+ incr(buf_ptr2);
+if (buf_ptr2 < last) then
+ scan1 := true
+ else
+ scan1 := false;
+end;
+
+
+@
+This function is the same but stops at |white_space| characters as well.
+
+@<Procedures and functions for input scanning@>=
+function scan1_white (@!char1:ASCII_code) : boolean;
+begin
+buf_ptr1 := buf_ptr2;
+ {scan until end-of-line, the specified character, or |white_space|}
+while ((lex_class[scan_char] <> white_space) and (scan_char <> char1) and
+ (buf_ptr2 < last)) do
+ incr(buf_ptr2);
+if (buf_ptr2 < last) then
+ scan1_white := true
+ else
+ scan1_white := false;
+end;
+
+
+@
+This function is similar to |scan1|, but stops at either of two
+stop-characters as well as the end of the current line.
+
+@<Procedures and functions for input scanning@>=
+function scan2 (@!char1,@!char2:ASCII_code) : boolean;
+begin
+buf_ptr1 := buf_ptr2;
+ {scan until end-of-line or the specified characters}
+while ((scan_char <> char1) and (scan_char <> char2) and (buf_ptr2 < last)) do
+ incr(buf_ptr2);
+if (buf_ptr2 < last) then
+ scan2 := true
+ else
+ scan2 := false;
+end;
+
+
+@
+This function is the same but stops at |white_space| characters as well.
+
+@<Procedures and functions for input scanning@>=
+function scan2_white (@!char1,@!char2:ASCII_code) : boolean;
+begin
+buf_ptr1 := buf_ptr2;
+ {scan until end-of-line, the specified characters, or |white_space|}
+while ((scan_char <> char1) and (scan_char <> char2) and
+ (lex_class[scan_char] <> white_space) and (buf_ptr2 < last)) do
+ incr(buf_ptr2);
+if (buf_ptr2 < last) then
+ scan2_white := true
+ else
+ scan2_white := false;
+end;
+
+
+@
+This function is similar to |scan2|, but stops at either of three
+stop-characters as well as the end of the current line.
+
+@<Procedures and functions for input scanning@>=
+function scan3 (@!char1,@!char2,@!char3:ASCII_code) : boolean;
+begin
+buf_ptr1 := buf_ptr2;
+ {scan until end-of-line or the specified characters}
+while ((scan_char <> char1) and (scan_char <> char2) and
+ (scan_char <> char3) and (buf_ptr2 < last)) do
+ incr(buf_ptr2);
+if (buf_ptr2 < last) then
+ scan3 := true
+ else
+ scan3 := false;
+end;
+
+
+@
+This function scans for letters, stopping at the first nonletter; it
+returns |true| if there is at least one letter.
+
+@<Procedures and functions for input scanning@>=
+function scan_alpha : boolean;
+begin
+buf_ptr1 := buf_ptr2;
+ {scan until end-of-line or a nonletter}
+while ((lex_class[scan_char] = alpha) and (buf_ptr2 < last)) do
+ incr(buf_ptr2);
+if (token_len = 0) then
+ scan_alpha := false
+ else
+ scan_alpha := true;
+end;
+
+
+@
+These are the possible values for |scan_result|; they're set by the
+|scan_identifier| procedure and are described in the next section.
+
+@d id_null = 0
+@d specified_char_adjacent = 1
+@d other_char_adjacent = 2
+@d white_adjacent = 3
+
+@<Globals in the outer block@>=
+@!scan_result : id_null..white_adjacent;
+
+
+@
+This procedure scans for an identifier, stopping at the first
+|illegal_id_char|, or stopping at the first character if it's
+|numeric|. It sets the global variable |scan_result| to |id_null| if
+the identifier is null, else to |white_adjacent| if it ended at a
+|white_space| character or an end-of-line, else to
+|specified_char_adjacent| if it ended at one of |char1| or |char2| or
+|char3|, else to |other_char_adjacent| if it ended at a nonspecified,
+non|white_space| |illegal_id_char|. By convention, when some calling
+code really wants just one or two ``specified'' characters, it merely
+repeats one of the characters.
+
+@<Procedures and functions for input scanning@>=
+procedure scan_identifier (@!char1,@!char2,@!char3:ASCII_code);
+begin
+buf_ptr1 := buf_ptr2;
+if (lex_class[scan_char] <> numeric) then
+ {scan until end-of-line or an |illegal_id_char|}
+ while ((id_class[scan_char] = legal_id_char) and (buf_ptr2 < last)) do
+ incr(buf_ptr2);
+if (token_len = 0) then
+ scan_result := id_null
+else if ((lex_class[scan_char] = white_space) or (buf_ptr2 = last)) then
+ scan_result := white_adjacent
+else if ((scan_char = char1) or (scan_char = char2) or (scan_char = char3))
+ then
+ scan_result := specified_char_adjacent
+else
+ scan_result := other_char_adjacent;
+end;
+
+
+@
+The next two procedures scan for an integer, setting the global
+variable |token_value| to the corresponding integer.
+
+@d char_value == (scan_char - "0") {the value of the digit being scanned}
+
+@<Globals in the outer block@>=
+@!token_value : integer; {the numeric value of the current token}
+
+
+@
+This function scans for a nonnegative integer, stopping at the first
+nondigit; it sets the value of |token_value| accordingly. It returns
+|true| if the token was a legal nonnegative integer (i.e., consisted
+of one or more digits).
+
+@<Procedures and functions for input scanning@>=
+function scan_nonneg_integer : boolean;
+begin
+buf_ptr1 := buf_ptr2;
+token_value := 0;
+ {scan until end-of-line or a nondigit}
+while ((lex_class[scan_char] = numeric) and (buf_ptr2 < last)) do
+ begin
+ token_value := token_value*10 + char_value;
+ incr(buf_ptr2);
+ end;
+if (token_len = 0) then {there were no digits}
+ scan_nonneg_integer := false
+ else
+ scan_nonneg_integer := true;
+end;
+
+
+@
+This procedure scans for an integer, stopping at the first nondigit;
+it sets the value of |token_value| accordingly. It returns |true| if
+the token was a legal integer (i.e., consisted of an optional
+|minus_sign| followed by one or more digits).
+
+@d negative == (sign_length = 1) {if this integer is negative}
+
+@<Procedures and functions for input scanning@>=
+function scan_integer : boolean;
+var sign_length : 0..1; {1 if there's a |minus_sign|, 0 if not}
+begin
+buf_ptr1 := buf_ptr2;
+if (scan_char = minus_sign) then {it's a negative number}
+ begin
+ sign_length := 1;
+ incr(buf_ptr2); {skip over the |minus_sign|}
+ end
+ else
+ sign_length := 0;
+token_value := 0;
+ {scan until end-of-line or a nondigit}
+while ((lex_class[scan_char] = numeric) and (buf_ptr2 < last)) do
+ begin
+ token_value := token_value*10 + char_value;
+ incr(buf_ptr2);
+ end;
+if (negative) then
+ token_value := -token_value;
+if (token_len = sign_length) then {there were no digits}
+ scan_integer := false
+ else
+ scan_integer := true;
+end;
+
+
+@
+This function scans over |white_space| characters, stopping either at
+the first nonwhite character or the end of the line, respectively
+returning |true| or |false|.
+
+@<Procedures and functions for input scanning@>=
+function scan_white_space : boolean;
+begin
+ {scan until end-of-line or a nonwhite}
+while ((lex_class[scan_char] = white_space) and (buf_ptr2 < last)) do
+ incr(buf_ptr2);
+if (buf_ptr2 < last) then
+ scan_white_space := true
+ else
+ scan_white_space := false;
+end;
+
+
+@
+The |print_bad_input_line| procedure prints the current input line,
+splitting it at the character being scanned: It prints |buffer[0]|,
+|buffer[1]|, \dots, |buffer[buf_ptr2-1]| on one line and
+|buffer[buf_ptr2]|, \dots, |buffer[last-1]| on the next (and both
+lines start with a colon between two |space|s). Each |white_space|
+character is printed as a |space|.
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure print_bad_input_line;
+var bf_ptr : buf_pointer;
+begin
+print (' : ');
+bf_ptr := 0;
+while (bf_ptr < buf_ptr2) do
+ begin
+ if (lex_class[buffer[bf_ptr]] = white_space) then
+ print (xchr[space])
+ else
+ print (xchr[buffer[bf_ptr]]);
+ incr(bf_ptr);
+ end;
+print_newline;
+print (' : ');
+bf_ptr := 0;
+while (bf_ptr < buf_ptr2) do
+ begin
+ print (xchr[space]);
+ incr(bf_ptr);
+ end;
+bf_ptr := buf_ptr2;
+while (bf_ptr < last) do
+ begin
+ if (lex_class[buffer[bf_ptr]] = white_space) then
+ print (xchr[space])
+ else
+ print (xchr[buffer[bf_ptr]]);
+ incr(bf_ptr);
+ end;
+print_newline;@/
+bf_ptr := 0;
+while ((bf_ptr < buf_ptr2) and (lex_class[buffer[bf_ptr]] = white_space)) do
+ incr(bf_ptr);
+if (bf_ptr = buf_ptr2) then
+ print_ln ('(Error may have been on previous line)');
+mark_error;
+end;
+
+
+@
+This little procedure exists because it's used by at least two other
+procedures and thus saves some space.
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure print_skipping_whatever_remains;
+begin
+print ('I''m skipping whatever remains of this ');
+end;
+
+
+
+@* Getting the top-level auxiliary file name.
+@^system dependencies@>
+These modules read the name of the top-level \.{.aux} file. Some
+systems will try to find this on the command line; if it's not there
+it will come from the user's terminal. In either case, the name goes
+into the |char| array |name_of_file|, and the files relevant to this
+name are opened.
+
+@d aux_found=41 {go here when the \.{.aux} name is legit}
+@d aux_not_found=46 {go here when it's not}
+
+@<Globals in the outer block@>=
+@!aux_name_length : 0..file_name_size+1; {\.{.aux} name sans extension}
+
+
+@
+@^system dependencies@>
+@^user abuse@>
+I mean, this is truly disgraceful. A user has to type something in to
+the terminal just once during the entire run. And it's not some
+complicated string where you have to get every last punctuation mark
+just right, and it's not some fancy list where you get nervous because
+if you forget one item you have to type the whole thing again; it's
+just a simple, ordinary, file name. Now you'd think a five-year-old
+could do it; you'd think it's so simple a user should be able to do it
+in his sleep. But noooooooooo. He had to sit there droning on and on
+about who knows what until he exceeded the bounds of common sense, and
+he probably didn't even realize it. Just pitiful. What's this world
+coming to? We should probably just delete all his files and be done
+with him. Note: The |term_out| file is system dependent.
+
+@d sam_you_made_the_file_name_too_long == begin
+ sam_too_long_file_name_print;
+ goto aux_not_found;
+ end
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure sam_too_long_file_name_print;
+begin
+write (term_out,'File name `');
+name_ptr := 1;
+while (name_ptr <= aux_name_length) do
+ begin
+ write (term_out,name_of_file[name_ptr]);
+ incr(name_ptr);
+ end;
+write_ln (term_out,''' is too long');
+end;
+
+
+@
+@^system dependencies@>
+@^user abuse@>
+We've abused the user enough for one section; suffice it to
+say here that most of what we said last module still applies.
+Note: The |term_out| file is system dependent.
+
+@d sam_you_made_the_file_name_wrong == begin
+ sam_wrong_file_name_print;
+ goto aux_not_found;
+ end
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure sam_wrong_file_name_print;
+begin
+write (term_out,'I couldn''t open file name `');
+name_ptr := 1;
+while (name_ptr <= name_length) do
+ begin
+ write (term_out,name_of_file[name_ptr]);
+ incr(name_ptr);
+ end;
+write_ln (term_out,'''');
+end;
+
+
+@
+@^system dependencies@>
+This procedure consists of a loop that reads and processes a (nonnull)
+\.{.aux} file name. It's this module and the next two that must be
+changed on those systems using command-line arguments. Note: The
+|term_out| and |term_in| files are system dependent.
+
+@<Procedures and functions for the reading and processing of input files@>=
+procedure get_the_top_level_aux_file_name;
+label aux_found,@!aux_not_found;
+var @<Variables for possible command-line processing@>@/
+begin
+check_cmnd_line := false; {many systems will change this}
+loop
+ begin
+ if (check_cmnd_line) then
+ @<Process a possible command line@>
+ else
+ begin
+ write (term_out,'Please type input file name (no extension)--');
+ if (eoln(term_in)) then {so the first |read| works}
+ read_ln (term_in);
+ aux_name_length := 0;
+ while (not eoln(term_in)) do
+ begin
+ if (aux_name_length = file_name_size) then
+ begin
+ while (not eoln(term_in)) do {discard the rest of the line}
+ get(term_in);
+ sam_you_made_the_file_name_too_long;
+ end;
+ incr(aux_name_length);
+ name_of_file[aux_name_length] := term_in^;
+ get(term_in);
+ end;
+ end;
+ @<Handle this \.{.aux} name@>;
+aux_not_found:
+ check_cmnd_line := false;
+ end;
+aux_found: {now we're ready to read the \.{.aux} file}
+end;
+
+
+@
+@^system dependencies@>
+The switch |check_cmnd_line| tells us whether we're to check for a
+possible command-line argument.
+
+@<Variables for possible command-line processing@>=
+@!check_cmnd_line : boolean; {|true| if we're to check the command line}
+
+
+@
+@^system dependencies@>
+Here's where we do the real command-line work. Those systems needing
+more than a single module to handle the task should add the extras to
+the ``System-dependent changes'' section.
+
+@<Process a possible command line@>=
+begin
+do_nothing; {the ``default system'' doesn't use the command line}
+end
+
+
+@
+Here we orchestrate this \.{.aux} name's handling: we add the various
+extensions, try to open the files with the resulting name, and
+store the name strings we'll need later.
+
+@<Handle this \.{.aux} name@>=
+begin
+if ((aux_name_length + length(s_aux_extension) > file_name_size) or@|
+ (aux_name_length + length(s_log_extension) > file_name_size) or@|
+ (aux_name_length + length(s_bbl_extension) > file_name_size)) then
+ sam_you_made_the_file_name_too_long;
+@<Add extensions and open files@>;
+@<Put this name into the hash table@>;
+goto aux_found;
+end
+
+
+@
+Here we set up definitions and declarations for files opened in this
+section. Each element in |aux_list| (except for
+|aux_list[aux_stack_size]|, which is always unused) is a pointer to
+the appropriate |str_pool| string representing the \.{.aux} file name.
+The array |aux_file| contains the corresponding \PASCAL\ |file|
+variables.
+
+@d cur_aux_str == aux_list[aux_ptr] {shorthand for the current \.{.aux} file}
+@d cur_aux_file == aux_file[aux_ptr] {shorthand for the current |aux_file|}
+@d cur_aux_line == aux_ln_stack[aux_ptr] {line number of current \.{.aux} file}
+
+@<Globals in the outer block@>=
+@!aux_file : array[aux_number] of alpha_file; {open \.{.aux} |file| variables}
+@!aux_list : array[aux_number] of str_number; {the open \.{.aux} file list}
+@!aux_ptr : aux_number; {points to the currently open \.{.aux} file}
+@!aux_ln_stack : array[aux_number] of integer; {open \.{.aux} line numbers}
+@#
+@!top_lev_str : str_number; {the top-level \.{.aux} file's name}
+@#
+@!log_file : alpha_file; {the |file| variable for the \.{.blg} file}
+@!bbl_file : alpha_file; {the |file| variable for the \.{.bbl} file}
+
+
+@
+Where |aux_number| is the obvious.
+
+@<Types in the outer block@>=
+@!aux_number = 0..aux_stack_size; {gives the |aux_list| range}
+
+
+@
+@^system dependencies@>
+We must make sure the (top-level) \.{.aux}, \.{.blg}, and \.{.bbl}
+files can be opened.
+
+@<Add extensions and open files@>=
+begin
+name_length := aux_name_length; {set to last used position}
+add_extension (s_aux_extension); {this also sets |name_length|}
+aux_ptr := 0; {initialize the \.{.aux} file stack}
+if (not a_open_in(cur_aux_file)) then
+ sam_you_made_the_file_name_wrong;
+@#
+name_length := aux_name_length;
+add_extension (s_log_extension); {this also sets |name_length|}
+if (not a_open_out(log_file)) then
+ sam_you_made_the_file_name_wrong;
+@#
+name_length := aux_name_length;
+add_extension (s_bbl_extension); {this also sets |name_length|}
+if (not a_open_out(bbl_file)) then
+ sam_you_made_the_file_name_wrong;
+end
+
+
+@
+@:this can't happen}{\quad Already encountered auxiliary file@>
+This code puts the \.{.aux} file name, both with and without the
+extension, into the hash table, and it initializes |aux_list|. Note
+that all previous top-level \.{.aux}-file stuff must have been
+successful.
+
+@<Put this name into the hash table@>=
+begin
+name_length := aux_name_length;
+add_extension (s_aux_extension); {this also sets |name_length|}
+name_ptr := 1;
+while (name_ptr <= name_length) do
+ begin
+ buffer[name_ptr] := xord[name_of_file[name_ptr]];
+ incr(name_ptr);
+ end;
+top_lev_str := hash_text[
+ str_lookup(buffer,1,aux_name_length,text_ilk,do_insert)];
+cur_aux_str := hash_text[
+ str_lookup(buffer,1,name_length,aux_file_ilk,do_insert)];
+ {note that this has initialized |aux_list|}
+if (hash_found) then
+ begin
+ trace
+ print_aux_name;
+ ecart@/
+ confusion ('Already encountered auxiliary file');
+ end;
+cur_aux_line := 0; {this finishes initializing the top-level \.{.aux} file}
+end
+
+
+@
+Print the name of the current \.{.aux} file, followed by a |newline|.
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure print_aux_name;
+begin
+print_pool_str (cur_aux_str);
+print_newline;
+end;
+
+
+
+@* Reading the auxiliary file(s).
+@^auxiliary-file commands@>
+Now it's time to read the \.{.aux} file. The only commands we handle
+are \.{\\citation} (there can be arbitrarily many, each having
+arbitrarily many arguments), \.{\\bibdata} (there can be just one, but
+it can have arbitrarily many arguments), \.{\\bibstyle} (there can be
+just one, and it can have just one argument), and \.{\\@@input} (there
+can be arbitrarily many, each with one argument, and they can be
+nested to a depth of |aux_stack_size|). Each of these commands is
+assumed to be on just a single line. The rest of the \.{.aux} file is
+ignored.
+
+@d aux_done=31 {go here when finished with the \.{.aux} files}
+
+@<Labels in the outer block@>=
+,@!aux_done
+
+
+@
+We keep reading and processing input lines until none left. This is
+part of the main program; hence, because of the |aux_done| label,
+there's no conventional |begin|-|end| pair surrounding the entire
+module.
+
+@<Read the \.{.aux} file@>=
+print ('The top-level auxiliary file: ');
+print_aux_name;
+loop
+ begin {|pop_the_aux_stack| will exit the loop}
+ incr(cur_aux_line);
+ if (not input_ln(cur_aux_file)) then {end of current \.{.aux} file}
+ pop_the_aux_stack
+ else
+ get_aux_command_and_process;
+ end;
+ trace
+ trace_pr_ln ('Finished reading the auxiliary file(s)');
+ ecart@/
+aux_done:
+last_check_for_aux_errors;
+
+
+@
+When we find a bug, we print a message and flush the rest of the line.
+This macro must be called from within a procedure that has an |exit|
+label.
+
+@d aux_err_return == begin
+ aux_err_print;
+ return; {flush this input line}
+ end
+
+@d aux_err(#) == begin
+ print (#);
+ aux_err_return;
+ end
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure aux_err_print;
+begin
+print ('---line ',cur_aux_line:0,' of file ');
+print_aux_name;@/
+print_bad_input_line; {this call does the |mark_error|}
+print_skipping_whatever_remains;
+print_ln ('command')
+end;
+
+
+@
+@:this can't happen}{\quad Illegal auxiliary-file command@>
+Here are a bunch of macros whose print statements are used at least
+twice. Thus we save space by making the statements procedures. This
+macro complains when there's a repeated command that's to be used just
+once.
+
+@d aux_err_illegal_another(#) == begin
+ aux_err_illegal_another_print (#);
+ aux_err_return;
+ end
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure aux_err_illegal_another_print (@!cmd_num : integer);
+begin
+print ('Illegal, another \bib');
+case (cmd_num) of
+ n_aux_bibdata : print ('data');
+ n_aux_bibstyle : print ('style');
+ othercases
+ confusion ('Illegal auxiliary-file command')
+endcases;
+print (' command');
+end;
+
+
+@
+This one complains when a command is missing its |right_brace|.
+
+@d aux_err_no_right_brace == begin
+ aux_err_no_right_brace_print;
+ aux_err_return;
+ end
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure aux_err_no_right_brace_print;
+begin
+print ('No "',xchr[right_brace],'"');
+end;
+
+
+@
+This one complains when a command has stuff after its |right_brace|.
+
+@d aux_err_stuff_after_right_brace == begin
+ aux_err_stuff_after_right_brace_print;
+ aux_err_return;
+ end
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure aux_err_stuff_after_right_brace_print;
+begin
+print ('Stuff after "',xchr[right_brace],'"');
+end;
+
+
+@
+And this one complains when a command has |white_space| in its
+argument.
+
+@d aux_err_white_space_in_argument == begin
+ aux_err_white_space_in_argument_print;
+ aux_err_return;
+ end
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure aux_err_white_space_in_argument_print;
+begin
+print ('White space in argument');
+end;
+
+
+@
+@^auxiliary-file commands@>
+@:this can't happen}{\quad Unknown auxiliary-file command@>
+We're not at the end of an \.{.aux} file, so we see if the current
+line might be a command of interest. A command of interest will be a
+line without blanks, consisting of a command name, a |left_brace|, one
+or more arguments separated by commas, and a |right_brace|.
+
+@<Scan for and process an \.{.aux} command@>=
+procedure get_aux_command_and_process;
+label exit;
+begin
+buf_ptr2 := 0; {mark the beginning of the next token}
+if (not scan1(left_brace)) then {no |left_brace|---flush line}
+ return;
+command_num := ilk_info[
+ str_lookup(buffer,buf_ptr1,token_len,aux_command_ilk,dont_insert)];
+if (hash_found) then
+ case (command_num) of
+ n_aux_bibdata : aux_bib_data_command;
+ n_aux_bibstyle : aux_bib_style_command;
+ n_aux_citation : aux_citation_command;
+ n_aux_input : aux_input_command;
+ othercases
+ confusion ('Unknown auxiliary-file command')
+ endcases;
+exit:
+end;
+
+
+@
+Here we introduce some variables for processing a \.{\\bibdata}
+command. Each element in |bib_list| (except for
+|bib_list[max_bib_files]|, which is always unused) is a pointer to the
+appropriate |str_pool| string representing the \.{.bib} file name.
+The array |bib_file| contains the corresponding \PASCAL\ |file|
+variables.
+
+@d cur_bib_str == bib_list[bib_ptr] {shorthand for current \.{.bib} file}
+@d cur_bib_file == bib_file[bib_ptr] {shorthand for current |bib_file|}
+
+@<Globals in the outer block@>=
+@!bib_list : array[bib_number] of str_number; {the \.{.bib} file list}
+@!bib_ptr : bib_number; {pointer for the current \.{.bib} file}
+@!num_bib_files : bib_number; {the total number of \.{.bib} files}
+@!bib_seen : boolean; {|true| if we've already seen a \.{\\bibdata} command}
+@!bib_file : array[bib_number] of alpha_file; {corresponding |file| variables}
+
+
+@
+Where |bib_number| is the obvious.
+
+@<Types in the outer block@>=
+@!bib_number = 0..max_bib_files; {gives the |bib_list| range}
+
+
+@
+@<Set initial values of key variables@>=
+bib_ptr := 0; {this makes |bib_list| empty}
+bib_seen := false; {we haven't seen a \.{\\bibdata} command yet}
+
+
+@
+@:auxiliary-file commands}{\quad \.{\\bibdata}@>
+A \.{\\bibdata} command will have its arguments between braces and
+separated by commas. There must be exactly one such command in the
+\.{.aux} file(s). All upper-case letters are converted to lower case.
+
+@<Procedures and functions for the reading and processing of input files@>=
+procedure aux_bib_data_command;
+label exit;
+begin
+if (bib_seen) then
+ aux_err_illegal_another (n_aux_bibdata);
+bib_seen := true; {now we've seen a \.{\\bibdata} command}
+while (scan_char <> right_brace) do
+ begin
+ incr(buf_ptr2); {skip over the previous stop-character}
+ if (not scan2_white(right_brace,comma)) then
+ aux_err_no_right_brace;
+ if (lex_class[scan_char] = white_space) then
+ aux_err_white_space_in_argument;
+ if ((last > buf_ptr2+1) and (scan_char = right_brace)) then
+ aux_err_stuff_after_right_brace;
+ @<Open a \.{.bib} file@>;
+ end;
+exit:
+end;
+
+
+@
+Here's a procedure we'll need shortly. It prints the name of the
+current \.{.bib} file, followed by a |newline|.
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure print_bib_name;
+begin
+print_pool_str (cur_bib_str);
+print_pool_str (s_bib_extension);
+print_newline;
+end;
+
+
+@
+This macro is similar to |aux_err| but it complains specifically about
+opening a file for a \.{\\bibdata} command.
+
+@d open_bibdata_aux_err(#) == begin
+ print (#);
+ print_bib_name;
+ aux_err_return; {this does the |mark_error|}
+ end
+
+
+@
+@:BibTeX capacity exceeded}{\quad number of \.{.bib} files@>
+Now we add the just-found argument to |bib_list| if it hasn't already
+been encountered as a \.{\\bibdata} argument and if, after appending
+the |s_bib_extension| string, the resulting file name can be opened.
+
+@<Open a \.{.bib} file@>=
+begin
+if (bib_ptr = max_bib_files) then
+ overflow('number of database files ',max_bib_files);
+cur_bib_str := hash_text[
+ str_lookup(buffer,buf_ptr1,token_len,bib_file_ilk,do_insert)];
+if (hash_found) then {already encountered this as a \.{\\bibdata} argument}
+ open_bibdata_aux_err ('This database file appears more than once: ');
+start_name (cur_bib_str);
+add_extension (s_bib_extension);
+if (not a_open_in(cur_bib_file)) then
+ begin
+ add_area (s_bib_area);
+ if (not a_open_in(cur_bib_file)) then
+ open_bibdata_aux_err ('I couldn''t open database file ');
+ end;
+ trace
+ trace_pr_pool_str (cur_bib_str);
+ trace_pr_pool_str (s_bib_extension);
+ trace_pr_ln (' is a bibdata file');
+ ecart@/
+incr(bib_ptr);
+end
+
+
+@
+Here we introduce some variables for processing a \.{\\bibstyle}
+command.
+
+@<Globals in the outer block@>=
+@!bst_seen : boolean; {|true| if we've already seen a \.{\\bibstyle} command}
+@!bst_str : str_number; {the string number for the \.{.bst} file}
+@!bst_file : alpha_file; {the corresponding |file| variable}
+
+
+@
+And we initialize.
+
+@<Set initial values of key variables@>=
+bst_str := 0; {mark |bst_str| as unused}
+bst_seen := false; {we haven't seen a \.{\\bibstyle} command yet}
+
+
+@
+@:auxiliary-file commands}{\quad \.{\\bibstyle}@>
+A \.{\\bibstyle} command will have exactly one argument, and it will
+be between braces. There must be exactly one such command in the
+\.{.aux} file(s). All upper-case letters are converted to lower case.
+
+@<Procedures and functions for the reading and processing of input files@>=
+procedure aux_bib_style_command;
+label exit;
+begin
+if (bst_seen) then
+ aux_err_illegal_another (n_aux_bibstyle);
+bst_seen := true; {now we've seen a \.{\\bibstyle} command}
+incr(buf_ptr2); {skip over the |left_brace|}
+if (not scan1_white(right_brace)) then
+ aux_err_no_right_brace;
+if (lex_class[scan_char] = white_space) then
+ aux_err_white_space_in_argument;
+if (last > buf_ptr2+1) then
+ aux_err_stuff_after_right_brace;
+@<Open the \.{.bst} file@>;
+exit:
+end;
+
+
+@
+@:this can't happen}{\quad Already encountered style file@>
+Now we open the file whose name is the just-found argument appended
+with the |s_bst_extension| string, if possible.
+
+@<Open the \.{.bst} file@>=
+begin
+bst_str := hash_text[
+ str_lookup(buffer,buf_ptr1,token_len,bst_file_ilk,do_insert)];
+if (hash_found) then
+ begin
+ trace
+ print_bst_name;
+ ecart@/
+ confusion ('Already encountered style file');
+ end;
+start_name (bst_str);
+add_extension (s_bst_extension);
+if (not a_open_in(bst_file)) then
+ begin
+ add_area (s_bst_area);
+ if (not a_open_in(bst_file)) then
+ begin
+ print ('I couldn''t open style file ');
+ print_bst_name;@/
+ bst_str := 0; {mark as unused again}
+ aux_err_return;
+ end;
+ end;
+print ('The style file: ');
+print_bst_name;
+end
+
+
+@
+Print the name of the \.{.bst} file, followed by a |newline|.
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure print_bst_name;
+begin
+print_pool_str (bst_str);
+print_pool_str (s_bst_extension);
+print_newline;
+end;
+
+
+@
+Here we introduce some variables for processing a \.{\\citation}
+command. Each element in |cite_list| (except for
+|cite_list[max_cites]|, which is always unused) is a pointer to the
+appropriate |str_pool| string. The cite-key list is kept in order of
+occurrence with duplicates removed.
+
+@d cur_cite_str == cite_list[cite_ptr] {shorthand for the current cite key}
+
+@<Globals in the outer block@>=
+@!cite_list : packed array[cite_number] of str_number; {the cite-key list}
+@!cite_ptr : cite_number; {pointer for the current cite key}
+@!entry_cite_ptr : cite_number; {cite pointer for the current entry}
+@!num_cites : cite_number; {the total number of distinct cite keys}
+@!old_num_cites : cite_number; {set to a previous |num_cites| value}
+@!citation_seen : boolean; {|true| if we've seen a \.{\\citation} command}
+@!cite_loc : hash_loc; {the hash-table location of a cite key}
+@!lc_cite_loc : hash_loc; {and of its lower-case equivalent}
+@!lc_xcite_loc : hash_loc; {a second |lc_cite_loc| variable}
+@!cite_found : boolean; {|true| if we've already seen this cite key}
+@!all_entries : boolean; {|true| if we're to use the entire database}
+@!all_marker : cite_number; {we put the other entries in |cite_list| here}
+
+
+@
+Where |cite_number| is the obvious.
+
+@<Types in the outer block@>=
+@!cite_number = 0..max_cites; {gives the |cite_list| range}
+
+
+@
+@<Set initial values of key variables@>=
+cite_ptr := 0; {this makes |cite_list| empty}
+citation_seen := false; {we haven't seen a \.{\\citation} command yet}
+all_entries := false; {by default, use just the entries explicitly named}
+
+
+@
+@^case mismatch@>
+@^entire database inclusion@>
+@^whole database inclusion@>
+@:LaTeX}{\LaTeX@>
+@:auxiliary-file commands}{\quad \.{\\citation}@>
+A \.{\\citation} command will have its arguments between braces and
+separated by commas. Upper/lower cases are considered to be different
+for \.{\\citation} arguments, which is the same as the rest of \LaTeX\
+but different from the rest of \BibTeX. A cite key needn't exactly
+case-match its corresponding database key to work, although two cite
+keys that are case-mismatched will produce an error message.
+(A {\sl case mismatch\/} is a mismatch, but only because of a case
+difference.)
+
+A \.{\\citation} command having \.{*} as an argument indicates that
+the entire database will be included (almost as if a \.{\\nocite}
+command that listed every cite key in the database, in order, had been
+given at the corresponding spot in the \.{.tex} file).
+
+@d next_cite = 23 {read the next argument}
+
+@<Procedures and functions for the reading and processing of input files@>=
+procedure aux_citation_command;
+label next_cite,@!exit;
+begin
+citation_seen := true; {now we've seen a \.{\\citation} command}
+while (scan_char <> right_brace) do
+ begin
+ incr(buf_ptr2); {skip over the previous stop-character}
+ if (not scan2_white(right_brace,comma)) then
+ aux_err_no_right_brace;
+ if (lex_class[scan_char] = white_space) then
+ aux_err_white_space_in_argument;
+ if ((last > buf_ptr2+1) and (scan_char = right_brace)) then
+ aux_err_stuff_after_right_brace;
+ @<Check the cite key@>;
+next_cite:
+ end;
+exit:
+end;
+
+
+@
+@^kludge@>
+We must check if (the lower-case version of) this cite key has been
+previously encountered, and proceed accordingly. The alias kludge
+helps make the stack space not overflow on some machines.
+
+@d ex_buf1== ex_buf {an alias, used only in this module}
+
+@<Check the cite key@>=
+begin
+ trace
+ trace_pr_token;
+ trace_pr (' cite key encountered');
+ ecart@/
+@<Check for entire database inclusion (and thus skip this cite key)@>;
+tmp_ptr := buf_ptr1;
+while (tmp_ptr < buf_ptr2) do
+ begin
+ ex_buf1[tmp_ptr] := buffer[tmp_ptr];
+ incr(tmp_ptr);
+ end;
+lower_case (ex_buf1, buf_ptr1, token_len); {convert to `canonical' form}
+lc_cite_loc := str_lookup(ex_buf1,buf_ptr1,token_len,lc_cite_ilk,do_insert);
+if (hash_found) then {already encountered this as a \.{\\citation} argument}
+ @<Cite seen, don't add a cite key@>
+ else
+ @<Cite unseen, add a cite key@>;
+ {it's a new cite key---add it to |cite_list|}
+end
+
+
+@
+Here we check for a \.{\\citation} command having \.{*} as an
+argument, indicating that the entire database will be included.
+
+@<Check for entire database inclusion (and thus skip this cite key)@>=
+begin
+if (token_len = 1) then
+ if (buffer[buf_ptr1] = star) then
+ begin
+ trace
+ trace_pr_ln ('---entire database to be included');
+ ecart@/
+ if (all_entries) then
+ begin
+ print_ln ('Multiple inclusions of entire database');
+ aux_err_return;
+ end
+ else
+ begin
+ all_entries := true;
+ all_marker := cite_ptr;
+ goto next_cite;
+ end;
+ end;
+end
+
+
+@
+@^case mismatch errors@>
+We've previously encountered the lower-case version, so we check that
+the actual version exactly matches the actual version of the
+previously-encountered cite key(s).
+
+@<Cite seen, don't add a cite key@>=
+begin
+ trace
+ trace_pr_ln (' previously');
+ ecart@/
+dummy_loc := str_lookup(buffer,buf_ptr1,token_len,cite_ilk,dont_insert);
+if (not hash_found) then {case mismatch error}
+ begin
+ print ('Case mismatch error between cite keys ');
+ print_token;
+ print (' and ');
+ print_pool_str (cite_list[ilk_info[ilk_info[lc_cite_loc]]]);
+ print_newline;
+ aux_err_return;
+ end;
+end
+
+
+@
+@:this can't happen}{\quad Cite hash error@>
+Now we add the just-found argument to |cite_list| if there isn't
+anything funny happening.
+
+@<Cite unseen, add a cite key@>=
+begin
+ trace
+ trace_pr_newline;
+ ecart@/
+cite_loc := str_lookup(buffer,buf_ptr1,token_len,cite_ilk,do_insert);
+if (hash_found) then
+ hash_cite_confusion;
+check_cite_overflow (cite_ptr);
+cur_cite_str := hash_text[cite_loc];
+ilk_info[cite_loc] := cite_ptr;
+ilk_info[lc_cite_loc] := cite_loc;
+incr(cite_ptr);
+end
+
+
+@
+@:this can't happen}{\quad Cite hash error@>
+Here's a serious complaint (that is, a bug) concerning hash problems.
+This is the first of several similar bug-procedures that exist only
+because they save space.
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure hash_cite_confusion;
+begin
+confusion ('Cite hash error');
+end;
+
+
+@
+@^fetish@>
+@:BibTeX capacity exceeded}{\quad number of cite keys@>
+Complain if somebody's got a cite fetish. This procedure is called
+when were about to add another cite key to |cite_list|. It assumes
+that |cite_loc| gives the potential cite key's hash table location.
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure check_cite_overflow (@!last_cite : cite_number);
+begin
+if (last_cite = max_cites) then
+ begin
+ print_pool_str (hash_text[cite_loc]);
+ print_ln (' is the key:');
+ overflow('number of cite keys ',max_cites);
+ end;
+end;
+
+
+@
+@:auxiliary-file commands}{\quad \.{\\\AT!input}@>
+An \.{\\@@input} command will have exactly one argument, it will
+be between braces, and it must have the |s_aux_extension|.
+All upper-case letters are converted to lower case.
+
+@<Procedures and functions for the reading and processing of input files@>=
+procedure aux_input_command;
+label exit;
+var aux_extension_ok : boolean; {to check for a correct file extension}
+begin
+incr(buf_ptr2); {skip over the |left_brace|}
+if (not scan1_white(right_brace)) then
+ aux_err_no_right_brace;
+if (lex_class[scan_char] = white_space) then
+ aux_err_white_space_in_argument;
+if (last > buf_ptr2+1) then
+ aux_err_stuff_after_right_brace;
+@<Push the \.{.aux} stack@>;
+exit:
+end;
+
+
+@
+@:BibTeX capacity exceeded}{\quad number of \.{.aux} files@>
+We must check that this potential \.{.aux} file won't overflow the
+stack, that it has the correct extension, that we haven't encountered
+it before (to prevent, among other things, an infinite loop).
+
+@<Push the \.{.aux} stack@>=
+begin
+incr(aux_ptr);
+if (aux_ptr = aux_stack_size) then
+ begin
+ print_token; print (': ');
+ overflow('auxiliary file depth ',aux_stack_size);
+ end;
+aux_extension_ok := true;
+if (token_len < length(s_aux_extension)) then@/
+ aux_extension_ok := false {else |str_eq_buf| might bomb the program}
+else if (not str_eq_buf(s_aux_extension, buffer,
+ buf_ptr2-length(s_aux_extension), length(s_aux_extension))) then
+ aux_extension_ok := false;
+if (not aux_extension_ok) then
+ begin
+ print_token;
+ print (' has a wrong extension');
+ decr(aux_ptr);
+ aux_err_return;
+ end;
+cur_aux_str := hash_text[
+ str_lookup(buffer,buf_ptr1,token_len,aux_file_ilk,do_insert)];
+if (hash_found) then
+ begin
+ print ('Already encountered file ');
+ print_aux_name;
+ decr(aux_ptr);
+ aux_err_return;
+ end;
+@<Open this \.{.aux} file@>;
+end
+
+
+@
+We check that this \.{.aux} file can actually be opened, and then open it.
+
+@<Open this \.{.aux} file@>=
+begin
+start_name (cur_aux_str); {extension already there for \.{.aux} files}
+name_ptr := name_length+1;
+while (name_ptr <= file_name_size) do {pad with blanks}
+ begin
+ name_of_file[name_ptr] := ' ';
+ incr(name_ptr);
+ end;
+if (not a_open_in(cur_aux_file)) then
+ begin
+ print ('I couldn''t open auxiliary file ');
+ print_aux_name;
+ decr(aux_ptr);
+ aux_err_return;
+ end;
+print ('A level-',aux_ptr:0,' auxiliary file: ');
+print_aux_name;
+cur_aux_line := 0;
+end
+
+
+@
+Here we close the current-level \.{.aux} file and go back up a level,
+if possible, by decrementing |aux_ptr|.
+
+@<Procedures and functions for the reading and processing of input files@>=
+procedure pop_the_aux_stack;
+begin
+a_close (cur_aux_file);
+if (aux_ptr=0) then
+ goto aux_done
+ else
+ decr(aux_ptr);
+end;
+
+
+@
+@^gymnastics@>
+That's it for processing \.{.aux} commands, except for finishing the
+procedural gymnastics.
+
+@<Procedures and functions for the reading and processing of input files@>=
+@<Scan for and process an \.{.aux} command@>
+
+
+@
+We must complain if anything's amiss.
+
+@d aux_end_err(#) == begin
+ aux_end1_err_print;
+ print (#);
+ aux_end2_err_print;
+ end
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure aux_end1_err_print;
+begin
+print ('I found no ');
+end;
+@#
+procedure aux_end2_err_print;
+begin
+print ('---while reading file ');
+print_aux_name;
+mark_error;
+end;
+
+
+@
+Before proceeding, we see if we have any complaints.
+
+@<Procedures and functions for the reading and processing of input files@>=
+procedure last_check_for_aux_errors;
+begin
+num_cites := cite_ptr; {record the number of distinct cite keys}
+num_bib_files := bib_ptr; {and the number of \.{.bib} files}
+if (not citation_seen) then
+ aux_end_err ('\citation commands')
+ else if ((num_cites = 0) and (not all_entries)) then
+ aux_end_err ('cite keys');
+if (not bib_seen) then
+ aux_end_err ('\bibdata command')
+ else if (num_bib_files = 0) then
+ aux_end_err ('database files');
+if (not bst_seen) then
+ aux_end_err ('\bibstyle command')
+ else if (bst_str = 0) then
+ aux_end_err ('style file');
+end;
+
+
+
+@* Reading the style file.
+This part of the program reads the \.{.bst} file, which consists of a
+sequence of commands. Each \.{.bst} command consists of a name (for
+which case differences are ignored) followed by zero or more
+arguments, each enclosed in braces.
+
+@d bst_done=32 {go here when finished with the \.{.bst} file}
+@d no_bst_file=9932 {go here when skipping the \.{.bst} file}
+
+@<Labels in the outer block@>=
+,@!bst_done,@!no_bst_file
+
+
+@
+The |bbl_line_num| gets initialized along with the |bst_line_num|, so
+it's declared here too.
+
+@<Globals in the outer block@>=
+@!bbl_line_num : integer; {line number of the \.{.bbl} (output) file}
+@!bst_line_num : integer; {line number of the \.{.bst} file}
+
+
+@
+This little procedure exists because it's used by at least two other
+procedures and thus saves some space.
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure bst_ln_num_print;
+begin
+print ('--line ',bst_line_num:0,' of file ');
+print_bst_name;
+end;
+
+
+@
+When there's a serious error parsing the \.{.bst} file, we flush the
+rest of the current command; a blank line is assumed to mark the end
+of a command (but for the purposes of error recovery only). Thus,
+error recovery will be better if style designers leave blank lines
+between \.{.bst} commands. This macro must be called from within a
+procedure that has an |exit| label.
+
+@d bst_err_print_and_look_for_blank_line_return ==
+ begin
+ bst_err_print_and_look_for_blank_line;
+ return;
+ end
+
+@d bst_err(#) == begin {serious error during \.{.bst} parsing}
+ print (#);
+ bst_err_print_and_look_for_blank_line_return;
+ end
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure bst_err_print_and_look_for_blank_line;
+begin
+print ('-');
+bst_ln_num_print;
+print_bad_input_line; {this call does the |mark_error|}
+while (last <> 0) do {look for a blank input line}
+ if (not input_ln(bst_file)) then {or the end of the file}
+ goto bst_done
+ else
+ incr(bst_line_num);
+buf_ptr2 := last; {to input the next line}
+end;
+
+
+@
+When there's a harmless error parsing the \.{.bst} file (harmless
+syntactically, at least) we give just a |warning_message|.
+
+@d bst_warn(#) == begin {non-serious error during \.{.bst} parsing}
+ print (#);
+ bst_warn_print;
+ end
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure bst_warn_print;
+begin
+bst_ln_num_print;
+mark_warning;
+end;
+
+
+@
+Here's the outer loop for reading the \.{.bst} file---it keeps reading
+and processing \.{.bst} commands until none left. This is part of the
+main program; hence, because of the |bst_done| label, there's no
+conventional |begin|-|end| pair surrounding the entire module.
+
+@<Read and execute the \.{.bst} file@>=
+if (bst_str = 0) then {there's no \.{.bst} file to read}
+ goto no_bst_file; {this is a |goto| so that |bst_done| is not in a block}
+bst_line_num := 0; {initialize things}
+bbl_line_num := 1; {best spot to initialize the output line number}
+buf_ptr2 := last; {to get the first input line}
+loop
+ begin
+ if (not eat_bst_white_space) then {the end of the \.{.bst} file}
+ goto bst_done;
+ get_bst_command_and_process;
+ end;
+bst_done: a_close (bst_file);
+no_bst_file: a_close (bbl_file);
+
+
+@
+This \.{.bst}-specific scanning function skips over |white_space|
+characters (and comments) until hitting a nonwhite character or the
+end of the file, respectively returning |true| or |false|. It also
+updates |bst_line_num|, the line counter.
+
+@<Procedures and functions for input scanning@>=
+function eat_bst_white_space : boolean;
+label exit;
+begin
+loop
+ begin
+ if (scan_white_space) then {hit a nonwhite character on this line}
+ if (scan_char <> comment) then {it's not a comment character; return}
+ begin
+ eat_bst_white_space := true;
+ return;
+ end;
+ if (not input_ln(bst_file)) then {end-of-file; return |false|}
+ begin
+ eat_bst_white_space := false;
+ return;
+ end;
+ incr(bst_line_num);
+ buf_ptr2 := 0;
+ end;
+exit:
+end;
+
+
+@
+It's often illegal to end a \.{.bst} command in certain places, and
+this is where we come to check.
+
+@d eat_bst_white_and_eof_check(#) ==
+ begin
+ if (not eat_bst_white_space) then
+ begin
+ eat_bst_print;
+ bst_err (#);
+ end;
+ end
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure eat_bst_print;
+begin
+print ('Illegal end of style file in command: ');
+end;
+
+
+@
+We must attend to a few details before getting to work on this
+\.{.bst} command.
+
+@<Scan for and process a \.{.bst} command@>=
+procedure get_bst_command_and_process;
+label exit;
+begin
+if (not scan_alpha) then
+ bst_err ('"',xchr[scan_char],'" can''t start a style-file command');
+lower_case (buffer, buf_ptr1, token_len); {ignore case differences}
+command_num := ilk_info[
+ str_lookup(buffer,buf_ptr1,token_len,bst_command_ilk,dont_insert)];
+if (not hash_found) then
+ begin
+ print_token;
+ bst_err (' is an illegal style-file command');
+ end;
+@<Process the appropriate \.{.bst} command@>;
+exit:
+end;
+
+
+@
+@^style-file commands@>
+@:this can't happen}{\quad Unknown style-file command@>
+Here we determine which \.{.bst} command we're about to process, and
+then go to it.
+
+@<Process the appropriate \.{.bst} command@>=
+case (command_num) of
+ n_bst_entry : bst_entry_command;
+ n_bst_execute : bst_execute_command;
+ n_bst_function : bst_function_command;
+ n_bst_integers : bst_integers_command;
+ n_bst_iterate : bst_iterate_command;
+ n_bst_macro : bst_macro_command;
+ n_bst_read : bst_read_command;
+ n_bst_reverse : bst_reverse_command;
+ n_bst_sort : bst_sort_command;
+ n_bst_strings : bst_strings_command;
+ othercases confusion ('Unknown style-file command')
+endcases
+
+
+@
+We need data structures for the function definitions, the entry
+variables, the global variables, and the actual entries corresponding
+to the cite-key list. First we define the classes of `function's
+used. Functions in all classes are of |bst_fn_ilk| except for
+|int_literal|s, which are of |integer_ilk|; and |str_literal|s, which
+are of |text_ilk|.
+
+@d built_in = 0 {the `primitive' functions}
+@d wiz_defined = 1 {defined in the \.{.bst} file}
+@d int_literal = 2 {integer `constants'}
+@d str_literal = 3 {string `constants'}
+@d field = 4 {things like `author' and `title'}
+@d int_entry_var = 5 {integer entry variable}
+@d str_entry_var = 6 {string entry variable}
+@d int_global_var = 7 {integer global variable}
+@d str_global_var = 8 {string global variable}
+@d last_fn_class = 8 {the same number as on the line above}
+
+
+@
+@:this can't happen}{\quad Unknown function class@>
+Here's another bug report.
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure unknwn_function_class_confusion;
+begin
+confusion ('Unknown function class');
+end;
+
+
+@
+@:this can't happen}{\quad Unknown function class@>
+Occasionally we'll want to |print| the name of one of these function
+classes.
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure print_fn_class (@!fn_loc : hash_loc);
+begin
+case (fn_type[fn_loc]) of
+ built_in : print ('built-in');
+ wiz_defined : print ('wizard-defined');
+ int_literal : print ('integer-literal');
+ str_literal : print ('string-literal');
+ field : print ('field');
+ int_entry_var : print ('integer-entry-variable');
+ str_entry_var : print ('string-entry-variable');
+ int_global_var : print ('integer-global-variable');
+ str_global_var : print ('string-global-variable');
+ othercases unknwn_function_class_confusion
+endcases;
+end;
+
+
+@
+@:this can't happen}{\quad Unknown function class@>
+This version is for printing when in |trace| mode.
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+ trace
+ procedure trace_pr_fn_class (@!fn_loc : hash_loc);
+ begin
+ case (fn_type[fn_loc]) of
+ built_in : trace_pr ('built-in');
+ wiz_defined : trace_pr ('wizard-defined');
+ int_literal : trace_pr ('integer-literal');
+ str_literal : trace_pr ('string-literal');
+ field : trace_pr ('field');
+ int_entry_var : trace_pr ('integer-entry-variable');
+ str_entry_var : trace_pr ('string-entry-variable');
+ int_global_var : trace_pr ('integer-global-variable');
+ str_global_var : trace_pr ('string-global-variable');
+ othercases unknwn_function_class_confusion
+ endcases;
+ end;
+ ecart
+
+
+@
+Besides the function classes, we have types based on \BibTeX's
+capacity limitations and one based on what can go into the array
+|wiz_functions| explained below.
+
+@d quote_next_fn = hash_base - 1 {special marker used in defining functions}
+@d end_of_def = hash_max + 1 {another such special marker}
+
+@<Types in the outer block@>=
+@!fn_class = 0..last_fn_class; {the \.{.bst} function classes}
+@!wiz_fn_loc = 0..wiz_fn_space; {|wiz_defined|-function storage locations}
+@!int_ent_loc = 0..max_ent_ints; {|int_entry_var| storage locations}
+@!str_ent_loc = 0..max_ent_strs; {|str_entry_var| storage locations}
+@!str_glob_loc = 0..max_glb_str_minus_1; {|str_global_var| storage locations}
+@!field_loc = 0..max_fields; {individual field storage locations}
+@!hash_ptr2 = quote_next_fn..end_of_def; {a special marker or a |hash_loc|}
+
+
+@
+@^save space@>
+@^space savings@>
+@^system dependencies@>
+We store information about the \.{.bst} functions in arrays the same
+size as the hash-table arrays and in locations corresponding to their
+hash-table locations. The two arrays |fn_info| (an alias of
+|ilk_info| described earlier) and |fn_type| accomplish this: |fn_type|
+specifies one of the above classes, and |fn_info| gives information
+dependent on the class.
+
+Six other arrays give the contents of functions: The array
+|wiz_functions| holds definitions for |wiz_defined| functions---each
+such function consists of a sequence of pointers to hash-table
+locations of other functions (with the two special-marker exceptions
+above); the array |entry_ints| contains the current values of
+|int_entry_var|s; the array |entry_strs| contains the current values
+of |str_entry_var|s; an element of the array |global_strs| contains
+the current value of a |str_global_var| if the corresponding
+|glb_str_ptr| entry is empty, otherwise the nonempty entry is a
+pointer to the string; and the array |field_info|, for each field of
+each entry, contains either a pointer to the string or the special
+value |missing|.
+
+The array |global_strs| isn't packed (that is, it isn't |array| \dots\
+|of packed array| \dots$\,$) to increase speed on some systems;
+however, on systems that are byte-addressable and that have a good
+compiler, packing |global_strs| would save lots of space without much
+loss of speed.
+
+@d fn_info == ilk_info {an alias used with functions}
+@#
+@d missing = empty {a special pointer for missing fields}
+
+@<Globals in the outer block@>=
+@!fn_loc : hash_loc; {the hash-table location of a function}
+@!wiz_loc : hash_loc; {the hash-table location of a wizard function}
+@!literal_loc : hash_loc; {the hash-table location of a literal function}
+@!macro_name_loc : hash_loc; {the hash-table location of a macro name}
+@!macro_def_loc : hash_loc; {the hash-table location of a macro definition}
+@!fn_type : packed array[hash_loc] of fn_class;
+@!wiz_def_ptr : wiz_fn_loc; {storage location for the next wizard function}
+@!wiz_fn_ptr : wiz_fn_loc; {general |wiz_functions| location}
+@!wiz_functions : packed array[wiz_fn_loc] of hash_ptr2;
+@!int_ent_ptr : int_ent_loc; {general |int_entry_var| location}
+@!entry_ints : array[int_ent_loc] of integer;
+@!num_ent_ints : int_ent_loc; {the number of distinct |int_entry_var| names}
+@!str_ent_ptr : str_ent_loc; {general |str_entry_var| location}
+@!entry_strs : array[str_ent_loc] of
+ packed array[0..ent_str_size] of ASCII_code;
+@!num_ent_strs : str_ent_loc; {the number of distinct |str_entry_var| names}
+@!str_glb_ptr : 0..max_glob_strs; {general |str_global_var| location}
+@!glb_str_ptr : array[str_glob_loc] of str_number;
+@!global_strs : array[str_glob_loc] of array[0..glob_str_size] of ASCII_code;
+@!glb_str_end : array[str_glob_loc] of 0..glob_str_size; {end markers}
+@!num_glb_strs : 0..max_glob_strs; {number of distinct |str_global_var| names}
+@!field_ptr : field_loc; {general |field_info| location}
+@!field_parent_ptr,@!field_end_ptr : field_loc; {two more for doing cross-refs}
+@!cite_parent_ptr,@!cite_xptr : cite_number; {two others for doing cross-refs}
+@!field_info : packed array[field_loc] of str_number;
+@!num_fields : field_loc; {the number of distinct field names}
+@!num_pre_defined_fields : field_loc; {so far, just one: \.{crossref}}
+@!crossref_num : field_loc; {the number given to \.{crossref}}
+@!no_fields : boolean; {used for |tr_print|ing entry information}
+
+
+@
+Now we initialize storage for the |wiz_defined| functions and we
+initialize variables so that the first |str_entry_var|,
+|int_entry_var|, |str_global_var|, and |field| name will be assigned
+the number~0. Note: The variables |num_ent_strs| and |num_fields|
+will also be set when pre-defining strings.
+
+@<Set initial values of key variables@>=
+wiz_def_ptr := 0;
+num_ent_ints := 0;
+num_ent_strs := 0;
+num_fields := 0;
+str_glb_ptr := 0;
+while (str_glb_ptr < max_glob_strs) do {make |str_global_var|s empty}
+ begin
+ glb_str_ptr[str_glb_ptr] := 0;
+ glb_str_end[str_glb_ptr] := 0;
+ incr(str_glb_ptr);
+ end;
+num_glb_strs := 0;
+
+
+
+@* Style-file commands.
+@^style-file commands@>
+There are ten \.{.bst} commands: Five (\.{entry}, \.{function},
+\.{integers}, \.{macro}, and \.{strings}) declare and define
+functions, one (\.{read}) reads in the \.{.bib}-file entries, and four
+(\.{execute}, \.{iterate}, \.{reverse}, and \.{sort})
+manipulate the entries and produce output.
+
+The boolean variables |entry_seen| and |read_seen| indicate whether
+we've yet encountered an \.{entry} and a \.{read} command. There must
+be exactly one of each of these, and the \.{entry} command, as well as
+any \.{macro} command, must precede the \.{read} command.
+Furthermore, the \.{read} command must precede the four that
+manipulate the entries and produce output.
+
+@<Globals in the outer block@>=
+@!entry_seen : boolean; {|true| if we've already seen an \.{entry} command}
+@!read_seen : boolean; {|true| if we've already seen a \.{read} command}
+@!read_performed : boolean; {|true| if we started reading the database file(s)}
+@!reading_completed : boolean; {|true| if we made it all the way through}
+@!read_completed : boolean; {|true| if the database info didn't bomb \BibTeX}
+
+
+@
+And we initialize them.
+
+@<Set initial values of key variables@>=
+entry_seen := false;
+read_seen := false;
+read_performed := false;
+reading_completed := false;
+read_completed := false;
+
+
+@
+@:this can't happen}{\quad Identifier scanning error@>
+Here's another bug.
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure id_scanning_confusion;
+begin
+confusion ('Identifier scanning error');
+end;
+
+
+@
+@:this can't happen}{\quad Identifier scanning error@>
+This macro is used to scan all \.{.bst} identifiers. The argument
+supplies the \.{.bst} command name. The associated procedure simply
+prints an error message.
+
+@d bst_identifier_scan(#) ==
+ begin
+ scan_identifier (right_brace,comment,comment);
+ if ((scan_result = white_adjacent) or
+ (scan_result = specified_char_adjacent)) then
+ do_nothing
+ else
+ begin
+ bst_id_print;
+ bst_err (#);
+ end;
+ end
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure bst_id_print;
+begin
+if (scan_result = id_null) then
+ print ('"',xchr[scan_char],'" begins identifier, command: ')
+else if (scan_result = other_char_adjacent) then
+ print ('"',xchr[scan_char],'" immediately follows identifier, command: ')
+else
+ id_scanning_confusion;
+end;
+
+
+@
+This macro just makes sure we're at a |left_brace|.
+
+@d bst_get_and_check_left_brace(#) ==
+ begin
+ if (scan_char <> left_brace) then
+ begin
+ bst_left_brace_print;
+ bst_err (#);
+ end;
+ incr(buf_ptr2); {skip over the |left_brace|}
+ end
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure bst_left_brace_print;
+begin
+print ('"',xchr[left_brace],'" is missing in command: ');
+end;
+
+
+@
+And this one, a |right_brace|.
+
+@d bst_get_and_check_right_brace(#) ==
+ begin
+ if (scan_char <> right_brace) then
+ begin
+ bst_right_brace_print;
+ bst_err (#);
+ end;
+ incr(buf_ptr2); {skip over the |right_brace|}
+ end
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure bst_right_brace_print;
+begin
+print ('"',xchr[right_brace],'" is missing in command: ');
+end;
+
+
+@
+This macro complains if we've already encountered a function to be
+inserted into the hash table.
+
+@d check_for_already_seen_function(#) ==
+ begin
+ if (hash_found) then {already encountered this as a \.{.bst} function}
+ begin
+ already_seen_function_print (#);
+ return;
+ end;
+ end
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure already_seen_function_print (@!seen_fn_loc : hash_loc);
+label exit; {so the call to |bst_err| works}
+begin
+print_pool_str (hash_text[seen_fn_loc]);
+print (' is already a type "');
+print_fn_class (seen_fn_loc);
+print_ln ('" function name');
+bst_err_print_and_look_for_blank_line_return;
+exit:
+end;
+
+
+@
+@:style-file commands}{\quad \.{entry}@>
+An \.{entry} command has three arguments, each a (possibly empty) list
+of function names between braces (the names are separated by one or
+more |white_space| characters). All function names in this and other
+commands must be legal \.{.bst} identifiers. Upper/lower cases are
+considered to be the same for function names in these lists---all
+upper-case letters are converted to lower case. These arguments give
+lists of |field|s, |int_entry_var|s, and |str_entry_var|s.
+
+@<Procedures and functions for the reading and processing of input files@>=
+procedure bst_entry_command;
+label exit;
+begin
+if (entry_seen) then
+ bst_err ('Illegal, another entry command');
+entry_seen := true; {now we've seen an \.{entry} command}
+eat_bst_white_and_eof_check ('entry');
+@<Scan the list of |field|s@>;
+eat_bst_white_and_eof_check ('entry');
+if (num_fields = num_pre_defined_fields) then
+ bst_warn ('Warning--I didn''t find any fields');
+@<Scan the list of |int_entry_var|s@>;
+eat_bst_white_and_eof_check ('entry');
+@<Scan the list of |str_entry_var|s@>;
+exit:
+end;
+
+
+@
+This module reads a |left_brace|, the list of |field|s, and a
+|right_brace|. The |field|s are those like `author' and `title.'
+
+@<Scan the list of |field|s@>=
+begin
+bst_get_and_check_left_brace ('entry');
+eat_bst_white_and_eof_check ('entry');
+while (scan_char <> right_brace) do
+ begin
+ bst_identifier_scan ('entry');
+ @<Insert a |field| into the hash table@>;
+ eat_bst_white_and_eof_check ('entry');
+ end;
+incr(buf_ptr2); {skip over the |right_brace|}
+end
+
+
+@
+@^secret agent man@>
+Here we insert the just found field name into the hash table, record
+it as a |field|, and assign it a number to be used in indexing into
+the |field_info| array.
+
+@<Insert a |field| into the hash table@>=
+begin
+ trace
+ trace_pr_token;
+ trace_pr_ln (' is a field');
+ ecart@/
+lower_case (buffer, buf_ptr1, token_len); {ignore case differences}
+fn_loc := str_lookup(buffer,buf_ptr1,token_len,bst_fn_ilk,do_insert);
+check_for_already_seen_function (fn_loc);
+fn_type[fn_loc] := field;@/
+fn_info[fn_loc] := num_fields; {give this field a number (take away its name)}
+incr(num_fields);
+end
+
+
+@
+This module reads a |left_brace|, the list of |int_entry_var|s,
+and a |right_brace|.
+
+@<Scan the list of |int_entry_var|s@>=
+begin
+bst_get_and_check_left_brace ('entry');
+eat_bst_white_and_eof_check ('entry');
+while (scan_char <> right_brace) do
+ begin
+ bst_identifier_scan ('entry');
+ @<Insert an |int_entry_var| into the hash table@>;
+ eat_bst_white_and_eof_check ('entry');
+ end;
+incr(buf_ptr2); {skip over the |right_brace|}
+end
+
+
+@
+Here we insert the just found |int_entry_var| name into the hash table
+and record it as an |int_entry_var|. An |int_entry_var| is one that
+the style designer wants a separate copy of for each entry.
+
+@<Insert an |int_entry_var| into the hash table@>=
+begin
+ trace
+ trace_pr_token;
+ trace_pr_ln (' is an integer entry-variable');
+ ecart@/
+lower_case (buffer, buf_ptr1, token_len); {ignore case differences}
+fn_loc := str_lookup(buffer,buf_ptr1,token_len,bst_fn_ilk,do_insert);
+check_for_already_seen_function (fn_loc);
+fn_type[fn_loc] := int_entry_var;@/
+fn_info[fn_loc] := num_ent_ints; {give this |int_entry_var| a number}
+incr(num_ent_ints);
+end
+
+
+@
+This module reads a |left_brace|, the list of |str_entry_var|s, and a
+|right_brace|. A |str_entry_var| is one that the style designer wants
+a separate copy of for each entry.
+
+@<Scan the list of |str_entry_var|s@>=
+begin
+bst_get_and_check_left_brace ('entry');
+eat_bst_white_and_eof_check ('entry');
+while (scan_char <> right_brace) do
+ begin
+ bst_identifier_scan ('entry');
+ @<Insert a |str_entry_var| into the hash table@>;
+ eat_bst_white_and_eof_check ('entry');
+ end;
+incr(buf_ptr2); {skip over the |right_brace|}
+end
+
+
+@
+Here we insert the just found |str_entry_var| name into the hash
+table, record it as a |str_entry_var|, and set its pointer into
+|entry_strs|.
+
+@<Insert a |str_entry_var| into the hash table@>=
+begin
+ trace
+ trace_pr_token;
+ trace_pr_ln (' is a string entry-variable');
+ ecart@/
+lower_case (buffer, buf_ptr1, token_len); {ignore case differences}
+fn_loc := str_lookup(buffer,buf_ptr1,token_len,bst_fn_ilk,do_insert);
+check_for_already_seen_function (fn_loc);
+fn_type[fn_loc] := str_entry_var;@/
+fn_info[fn_loc] := num_ent_strs; {give this |str_entry_var| a number}
+incr(num_ent_strs);
+end
+
+
+@
+A legal argument for an \.{execute}, \.{iterate}, or \.{reverse}
+command must exist and be |built_in| or |wiz_defined|.
+Here's where we check, returning |true| if the argument is illegal.
+
+@<Procedures and functions for the reading and processing of input files@>=
+function bad_argument_token : boolean;
+label exit;
+begin
+bad_argument_token := true; {now it's easy to exit if necessary}
+lower_case (buffer, buf_ptr1, token_len); {ignore case differences}
+fn_loc := str_lookup(buffer,buf_ptr1,token_len,bst_fn_ilk,dont_insert);
+if (not hash_found) then {unknown \.{.bst} function}
+ begin
+ print_token;
+ bst_err (' is an unknown function');
+ end
+else if ((fn_type[fn_loc] <> built_in) and
+ (fn_type[fn_loc] <> wiz_defined)) then
+ begin
+ print_token;
+ print (' has bad function type ');
+ print_fn_class (fn_loc);
+ bst_err_print_and_look_for_blank_line_return;
+ end;
+bad_argument_token := false;
+exit:
+end;
+
+
+@
+@:style-file commands}{\quad \.{execute}@>
+An \.{execute} command has one argument, a single |built_in| or
+|wiz_defined| function name between braces. Upper/lower cases are
+considered to be the same---all upper-case letters are converted to
+lower case. Also, we must make sure we've already seen a \.{read}
+command.
+
+This module reads a |left_brace|, a single function to be executed,
+and a |right_brace|.
+
+@<Procedures and functions for the reading and processing of input files@>=
+procedure bst_execute_command;
+label exit;
+begin
+if (not read_seen) then
+ bst_err ('Illegal, execute command before read command');
+eat_bst_white_and_eof_check ('execute');
+bst_get_and_check_left_brace ('execute');
+eat_bst_white_and_eof_check ('execute');
+bst_identifier_scan ('execute');
+@<Check the \.{execute}-command argument token@>;
+eat_bst_white_and_eof_check ('execute');
+bst_get_and_check_right_brace ('execute');
+@<Perform an \.{execute} command@>;
+exit:
+end;
+
+
+@
+Before executing the function, we must make sure it's a legal one. It
+must exist and be |built_in| or |wiz_defined|.
+
+@<Check the \.{execute}-command argument token@>=
+begin
+ trace
+ trace_pr_token;
+ trace_pr_ln (' is a to be executed function');
+ ecart@/
+if (bad_argument_token) then
+ return;
+end
+
+
+@
+@:style-file commands}{\quad \.{function}@>
+A \.{function} command has two arguments; the first is a
+|wiz_defined| function name between braces. Upper/lower cases are
+considered to be the same---all upper-case letters are converted to
+lower case. The second argument defines this function. It consists
+of a sequence of functions, between braces, separated by |white_space|
+characters. Upper/lower cases are considered to be the same for
+function names but not for |str_literal|s.
+
+@<Procedures and functions for the reading and processing of input files@>=
+procedure bst_function_command;
+label exit;
+begin
+eat_bst_white_and_eof_check ('function');
+@<Scan the |wiz_defined| function name@>;
+eat_bst_white_and_eof_check ('function');
+bst_get_and_check_left_brace ('function');
+scan_fn_def(wiz_loc); {this scans the function definition}
+exit:
+end;
+
+
+@
+This module reads a |left_brace|, a |wiz_defined| function name, and
+a |right_brace|.
+
+@<Scan the |wiz_defined| function name@>=
+begin
+bst_get_and_check_left_brace ('function');
+eat_bst_white_and_eof_check ('function');
+bst_identifier_scan ('function');
+@<Check the |wiz_defined| function name@>;
+eat_bst_white_and_eof_check ('function');
+bst_get_and_check_right_brace ('function');
+end
+
+
+@
+The function name must exist and be a new one; we mark it as
+|wiz_defined|. Also, see if it's the default entry-type function.
+
+@<Check the |wiz_defined| function name@>=
+begin
+ trace
+ trace_pr_token;
+ trace_pr_ln (' is a wizard-defined function');
+ ecart@/
+lower_case (buffer, buf_ptr1, token_len); {ignore case differences}
+wiz_loc := str_lookup(buffer,buf_ptr1,token_len,bst_fn_ilk,do_insert);
+check_for_already_seen_function (wiz_loc);
+fn_type[wiz_loc] := wiz_defined;
+if (hash_text[wiz_loc] = s_default) then {we've found the default entry-type}
+ b_default := wiz_loc; {see the |built_in| functions for |b_default|}
+end
+
+
+@
+We're about to start scanning tokens in a function definition. When a
+function token is illegal, we skip until it ends; a |white_space|
+character, an end-of-line, a |right_brace|, or a |comment| marks the
+end of the current token.
+
+@d next_token=25 {a bad function token; go read the next one}
+@#
+@d skip_token(#) == begin {not-so-serious error during \.{.bst} parsing}
+ print (#);
+ skip_token_print; {also, skip to the current token's end}
+ goto next_token;
+ end
+
+@<Procedures and functions for input scanning@>=
+procedure skip_token_print;
+begin
+print ('-');
+bst_ln_num_print;
+mark_error;
+if (scan2_white(right_brace,comment)) then {ok if token ends line}
+ do_nothing;
+end;
+
+
+@
+@^commented-out code@>
+@^for a good time, try comment-out code@>
+This macro is similar to the last one but is specifically for
+recursion in a |wiz_defined| function, which is illegal; it helps save
+space.
+
+@d skip_recursive_token == begin
+ print_recursion_illegal;
+ goto next_token;
+ end
+
+@<Procedures and functions for input scanning@>=
+procedure print_recursion_illegal;
+begin
+ trace
+ trace_pr_newline;
+ ecart@/
+print_ln ('Curse you, wizard, before you recurse me:');
+print ('function ');
+print_token;
+print_ln (' is illegal in its own definition');
+ @{
+ print_recursion_illegal;
+ @}@/
+skip_token_print; {also, skip to the current token's end}
+end;
+
+
+@
+Here's another macro for saving some space when there's a problem with
+a token.
+
+@d skip_token_unknown_function == begin
+ skp_token_unknown_function_print;
+ goto next_token;
+ end
+
+@<Procedures and functions for input scanning@>=
+procedure skp_token_unknown_function_print;
+begin
+print_token;
+print (' is an unknown function');
+skip_token_print; {also, skip to the current token's end}
+end;
+
+
+@
+And another.
+
+@d skip_token_illegal_stuff_after_literal ==
+ begin
+ skip_illegal_stuff_after_token_print;
+ goto next_token;
+ end
+
+@<Procedures and functions for input scanning@>=
+procedure skip_illegal_stuff_after_token_print;
+begin
+print ('"',xchr[scan_char],'" can''t follow a literal');
+skip_token_print; {also, skip to the current token's end}
+end;
+
+
+@
+This recursive function reads and stores the list of functions
+(separated by |white_space| characters or ends-of-line) that define
+this new function, and reads a |right_brace|.
+
+@<Procedures and functions for input scanning@>=
+procedure scan_fn_def (@!fn_hash_loc : hash_loc);
+label next_token,@!exit;
+type @!fn_def_loc = 0..single_fn_space; {for a single |wiz_defined|-function}
+var singl_function : packed array[fn_def_loc] of hash_ptr2;
+ @!single_ptr : fn_def_loc; {next storage location for this definition}
+ @!copy_ptr : fn_def_loc; {dummy variable}
+ @!end_of_num : buf_pointer; {the end of an implicit function's name}
+ @!impl_fn_loc : hash_loc; {an implicit function's hash-table location}
+begin
+eat_bst_white_and_eof_check ('function');
+single_ptr := 0;
+while (scan_char <> right_brace) do
+ begin
+ @<Get the next function of the definition@>;
+next_token:
+ eat_bst_white_and_eof_check ('function');
+ end;
+@<Complete this function's definition@>;
+incr(buf_ptr2); {skip over the |right_brace|}
+exit:
+end;
+
+
+@
+@:BibTeX capacity exceeded}{\quad single function space@>
+This macro inserts a hash-table location (or one of the two
+special markers |quote_next_fn| and |end_of_def|) into the
+|singl_function| array, which will later be copied into the
+|wiz_functions| array.
+
+@d insert_fn_loc(#) == begin
+ singl_function[single_ptr] := #;
+ if (single_ptr = single_fn_space) then
+ singl_fn_overflow;
+ incr(single_ptr);
+ end
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure singl_fn_overflow;
+begin
+overflow('single function space ',single_fn_space);
+end;
+
+
+@
+There are five possibilities for the first character of the token
+representing the next function of the definition: If it's a
+|number_sign|, the token is an |int_literal|; if it's a
+|double_quote|, the token is a |str_literal|; if it's a
+|single_quote|, the token is a quoted function; if it's a
+|left_brace|, the token isn't really a token, but rather the start of
+another function definition (which will result in a recursive call to
+|scan_fn_def|); if it's anything else, the token is the name of an
+already-defined function. Note: To prevent the wizard from using
+recursion, we have to check that neither a quoted function nor an
+already-defined-function is actually the currently-being-defined
+function (which is stored at |wiz_loc|).
+
+@<Get the next function of the definition@>=
+case (scan_char) of
+ number_sign : @<Scan an |int_literal|@>;
+ double_quote : @<Scan a |str_literal|@>;
+ single_quote : @<Scan a quoted function@>;
+ left_brace : @<Start a new function definition@>;
+ othercases @<Scan an already-defined function@>
+endcases
+
+
+@
+An |int_literal| is preceded by a |number_sign|, consists of an
+integer (i.e., an optional |minus_sign| followed by one or more
+|numeric| characters), and is followed either by a |white_space|
+character, an end-of-line, or a |right_brace|. The array |fn_info|
+contains the value of the integer for |int_literal|s.
+
+@<Scan an |int_literal|@>=
+begin
+incr(buf_ptr2); {skip over the |number_sign|}
+if (not scan_integer) then
+ skip_token ('Illegal integer in integer literal');
+ trace
+ trace_pr ('#');
+ trace_pr_token;
+ trace_pr_ln (' is an integer literal with value ',token_value:0);
+ ecart@/
+literal_loc := str_lookup(buffer,buf_ptr1,token_len,integer_ilk,do_insert);
+if (not hash_found) then
+ begin
+ fn_type[literal_loc] := int_literal; {set the |fn_class|}
+ fn_info[literal_loc] := token_value; {the value of this integer}
+ end;
+if ((lex_class[scan_char]<>white_space) and (buf_ptr2<last) and
+ (scan_char<>right_brace) and@| (scan_char<>comment)) then
+ skip_token_illegal_stuff_after_literal;
+insert_fn_loc (literal_loc); {add this function to |wiz_functions|}
+end
+
+
+@
+A |str_literal| is preceded by a |double_quote| and consists of all
+characters on this line up to the next |double_quote|. Also, there
+must be either a |white_space| character, an end-of-line, a
+|right_brace|, or a |comment| following (since functions in the
+definition must be separated by |white_space|). The array |fn_info|
+contains nothing for |str_literal|s.
+
+@<Scan a |str_literal|@>=
+begin
+incr(buf_ptr2); {skip over the |double_quote|}
+if (not scan1(double_quote)) then
+ skip_token ('No `',xchr[double_quote],''' to end string literal');
+ trace
+ trace_pr ('"');
+ trace_pr_token;
+ trace_pr ('"');
+ trace_pr_ln (' is a string literal');
+ ecart@/
+literal_loc := str_lookup(buffer,buf_ptr1,token_len,text_ilk,do_insert);@/
+fn_type[literal_loc] := str_literal; {set the |fn_class|}
+incr(buf_ptr2); {skip over the |double_quote|}
+if ((lex_class[scan_char]<>white_space) and (buf_ptr2<last) and
+ (scan_char<>right_brace) and@| (scan_char<>comment)) then
+ skip_token_illegal_stuff_after_literal;
+insert_fn_loc (literal_loc); {add this function to |wiz_functions|}
+end
+
+
+@
+A quoted function is preceded by a |single_quote| and consists of all
+characters up to the next |white_space| character, end-of-line,
+|right_brace|, or |comment|.
+
+@<Scan a quoted function@>=
+begin
+incr(buf_ptr2); {skip over the |single_quote|}
+if (scan2_white(right_brace,comment)) then {ok if token ends line}
+ do_nothing;
+ trace
+ trace_pr ('''');
+ trace_pr_token;
+ trace_pr (' is a quoted function ');
+ ecart@/
+lower_case (buffer, buf_ptr1, token_len); {ignore case differences}
+fn_loc := str_lookup(buffer,buf_ptr1,token_len,bst_fn_ilk,dont_insert);
+if (not hash_found) then {unknown \.{.bst} function}
+ skip_token_unknown_function
+else
+ @<Check and insert the quoted function@>;
+end
+
+
+@
+Here we check that this quoted function is a legal one---the function
+name must already exist, but it mustn't be the currently-being-defined
+function (which is stored at |wiz_loc|).
+
+@<Check and insert the quoted function@>=
+begin
+if (fn_loc = wiz_loc) then
+ skip_recursive_token
+else
+ begin
+ trace
+ trace_pr ('of type ');
+ trace_pr_fn_class (fn_loc);
+ trace_pr_newline;
+ ecart@/
+ insert_fn_loc (quote_next_fn); {add special marker together with}
+ insert_fn_loc (fn_loc); {this function to |wiz_functions|}
+ end
+end
+
+
+@
+@^kludge@>
+@:this can't happen}{\quad Already encountered implicit function@>
+This module marks the implicit function as being quoted, generates a
+name, and stores it in the hash table. This name is strictly internal
+to this program, starts with a |single_quote| (since that will make
+this function name unique), and ends with the variable |impl_fn_num|
+converted to ASCII. The alias kludge helps make the stack space not
+overflow on some machines.
+
+@d ex_buf2 == ex_buf {an alias, used only in this module}
+
+@<Start a new function definition@>=
+begin
+ex_buf2[0] := single_quote;
+int_to_ASCII (impl_fn_num,ex_buf2,1,end_of_num);
+impl_fn_loc := str_lookup(ex_buf2,0,end_of_num,bst_fn_ilk,do_insert);
+if (hash_found) then
+ confusion ('Already encountered implicit function');
+ trace
+ trace_pr_pool_str (hash_text[impl_fn_loc]);
+ trace_pr_ln (' is an implicit function');
+ ecart@/
+incr(impl_fn_num);
+fn_type[impl_fn_loc] := wiz_defined;@/
+insert_fn_loc (quote_next_fn); {all implicit functions are quoted}
+insert_fn_loc (impl_fn_loc); {add it to |wiz_functions|}
+incr(buf_ptr2); {skip over the |left_brace|}
+scan_fn_def (impl_fn_loc); {this is the recursive call}
+end
+
+
+@
+The variable |impl_fn_num| counts the number of implicit functions
+seen in the \.{.bst} file.
+
+@<Globals in the outer block@>=
+@!impl_fn_num : integer; {the number of implicit functions seen so far}
+
+
+@
+Now we initialize it.
+
+@<Set initial values of key variables@>=
+impl_fn_num := 0;
+
+
+@
+@:BibTeX capacity exceeded}{\quad buffer size@>
+This module appends a character to |int_buf| after checking to make
+sure it will fit; for use in |int_to_ASCII|.
+
+@d append_int_char(#) == begin
+ if (int_ptr = buf_size) then
+ buffer_overflow;
+ int_buf[int_ptr]:=#;
+ incr(int_ptr);
+ end
+
+
+@
+This procedure takes the integer |int|, copies the appropriate
+|ASCII_code| string into |int_buf| starting at |int_begin|, and sets
+the |var| parameter |int_end| to the first unused |int_buf| location.
+The ASCII string will consist of decimal digits, the first of which
+will be not be a~0 if the integer is nonzero, with a prepended minus
+sign if the integer is negative.
+
+@<Procedures and functions for handling numbers, characters, and strings@>=
+procedure int_to_ASCII (@!int:integer; var int_buf:buf_type;
+ @!int_begin:buf_pointer; var int_end:buf_pointer);
+var int_ptr,@!int_xptr : buf_pointer; {pointers into |int_buf|}
+ @!int_tmp_val : ASCII_code; {the temporary element in an exchange}
+begin
+int_ptr := int_begin;
+if (int < 0) then {add the |minus_sign| and use the absolute value}
+ begin
+ append_int_char (minus_sign);
+ int := -int;
+ end;
+int_xptr := int_ptr;
+repeat {copy digits into |int_buf|}
+ append_int_char ("0" + (int mod 10));
+ int := int div 10;
+ until (int = 0);
+int_end := int_ptr; {set the string length}
+decr(int_ptr);
+while (int_xptr < int_ptr) do {and reorder (flip) the digits}
+ begin
+ int_tmp_val := int_buf[int_xptr];
+ int_buf[int_xptr] := int_buf[int_ptr];
+ int_buf[int_ptr] := int_tmp_val;
+ decr(int_ptr);
+ incr(int_xptr);
+ end
+end;
+
+
+@
+An already-defined function consists of all characters up to the next
+|white_space| character, end-of-line, |right_brace|, or |comment|.
+This function name must already exist, but it mustn't be the
+currently-being-defined function (which is stored at |wiz_loc|).
+
+@<Scan an already-defined function@>=
+begin
+if (scan2_white(right_brace,comment)) then {ok if token ends line}
+ do_nothing;
+ trace
+ trace_pr_token;
+ trace_pr (' is a function ');
+ ecart@/
+lower_case (buffer, buf_ptr1, token_len); {ignore case differences}
+fn_loc := str_lookup(buffer,buf_ptr1,token_len,bst_fn_ilk,dont_insert);
+if (not hash_found) then {unknown \.{.bst} function}
+ skip_token_unknown_function
+else if (fn_loc = wiz_loc) then
+ skip_recursive_token
+else
+ begin
+ trace
+ trace_pr ('of type ');
+ trace_pr_fn_class (fn_loc);
+ trace_pr_newline;
+ ecart@/
+ insert_fn_loc (fn_loc); {add this function to |wiz_functions|}
+ end;
+end
+
+
+@
+@:BibTeX capacity exceeded}{\quad wizard-defined function space@>
+Now we add the |end_of_def| special marker, make sure this function will
+fit into |wiz_functions|, and put it there.
+
+@<Complete this function's definition@>=
+begin
+insert_fn_loc (end_of_def); {add special marker ending the definition}
+if (single_ptr + wiz_def_ptr > wiz_fn_space) then
+ begin
+ print (single_ptr + wiz_def_ptr : 0,': ');
+ overflow('wizard-defined function space ',wiz_fn_space);
+ end;
+fn_info[fn_hash_loc] := wiz_def_ptr; {pointer into |wiz_functions|}
+copy_ptr := 0;
+while (copy_ptr < single_ptr) do {make this function official}
+ begin
+ wiz_functions[wiz_def_ptr] := singl_function[copy_ptr];
+ incr(copy_ptr);
+ incr(wiz_def_ptr);
+ end;
+end
+
+
+@
+@:style-file commands}{\quad \.{integers}@>
+An \.{integers} command has one argument, a list of function names
+between braces (the names are separated by one or more |white_space|
+characters). Upper/lower cases are considered to be the same for
+function names in these lists---all upper-case letters are converted to
+lower case. Each name in this list specifies an |int_global_var|.
+There may be several \.{integers} commands in the \.{.bst} file.
+
+This module reads a |left_brace|, a list of |int_global_var|s, and a
+|right_brace|.
+
+@<Procedures and functions for the reading and processing of input files@>=
+procedure bst_integers_command;
+label exit;
+begin
+eat_bst_white_and_eof_check ('integers');
+bst_get_and_check_left_brace ('integers');
+eat_bst_white_and_eof_check ('integers');
+while (scan_char <> right_brace) do
+ begin
+ bst_identifier_scan ('integers');
+ @<Insert an |int_global_var| into the hash table@>;
+ eat_bst_white_and_eof_check ('integers');
+ end;
+incr(buf_ptr2); {skip over the |right_brace|}
+exit:
+end;
+
+
+@
+Here we insert the just found |int_global_var| name into the hash
+table and record it as an |int_global_var|. Also, we initialize it by
+setting |fn_info[fn_loc]| to 0.
+
+@<Insert an |int_global_var| into the hash table@>=
+begin
+ trace
+ trace_pr_token;
+ trace_pr_ln (' is an integer global-variable');
+ ecart@/
+lower_case (buffer, buf_ptr1, token_len); {ignore case differences}
+fn_loc := str_lookup(buffer,buf_ptr1,token_len,bst_fn_ilk,do_insert);
+check_for_already_seen_function (fn_loc);
+fn_type[fn_loc] := int_global_var;@/
+fn_info[fn_loc] := 0; {initialize}
+end
+
+
+@
+@:style-file commands}{\quad \.{iterate}@>
+An \.{iterate} command has one argument, a single |built_in| or
+|wiz_defined| function name between braces. Upper/lower cases are
+considered to be the same---all upper-case letters are converted to
+lower case. Also, we must make sure we've already seen a \.{read}
+command.
+
+This module reads a |left_brace|, a single function to be iterated,
+and a |right_brace|.
+
+@<Procedures and functions for the reading and processing of input files@>=
+procedure bst_iterate_command;
+label exit;
+begin
+if (not read_seen) then
+ bst_err ('Illegal, iterate command before read command');
+eat_bst_white_and_eof_check ('iterate');
+bst_get_and_check_left_brace ('iterate');
+eat_bst_white_and_eof_check ('iterate');
+bst_identifier_scan ('iterate');
+@<Check the \.{iterate}-command argument token@>;
+eat_bst_white_and_eof_check ('iterate');
+bst_get_and_check_right_brace ('iterate');
+@<Perform an \.{iterate} command@>;
+exit:
+end;
+
+
+@
+Before iterating the function, we must make sure it's a legal one. It
+must exist and be |built_in| or |wiz_defined|.
+
+@<Check the \.{iterate}-command argument token@>=
+begin
+ trace
+ trace_pr_token;
+ trace_pr_ln (' is a to be iterated function');
+ ecart@/
+if (bad_argument_token) then
+ return;
+end
+
+
+@
+@:style-file commands}{\quad \.{macro}@>
+A \.{macro} command, like a \.{function} command, has two arguments;
+the first is a macro name between braces. The name must be a legal
+\.{.bst} identifier. Upper/lower cases are considered to be the
+same---all upper-case letters are converted to lower case. The second
+argument defines this macro. It consists of a
+|double_quote|-delimited string (which must be on a single line)
+between braces, with optional |white_space| characters between the
+braces and the |double_quote|s. This |double_quote|-delimited string
+is parsed exactly as a |str_literal| is for the \.{function} command.
+
+@<Procedures and functions for the reading and processing of input files@>=
+procedure bst_macro_command;
+label exit;
+begin
+if (read_seen) then
+ bst_err ('Illegal, macro command after read command');
+eat_bst_white_and_eof_check ('macro');
+@<Scan the macro name@>;
+eat_bst_white_and_eof_check ('macro');
+@<Scan the macro's definition@>;
+exit:
+end;
+
+
+@
+This module reads a |left_brace|, a macro name, and a |right_brace|.
+
+@<Scan the macro name@>=
+begin
+bst_get_and_check_left_brace ('macro');
+eat_bst_white_and_eof_check ('macro');
+bst_identifier_scan ('macro');
+@<Check the macro name@>;
+eat_bst_white_and_eof_check ('macro');
+bst_get_and_check_right_brace ('macro');
+end
+
+
+@
+The macro name must be a new one; we mark it as |macro_ilk|.
+
+@<Check the macro name@>=
+begin
+ trace
+ trace_pr_token;
+ trace_pr_ln (' is a macro');
+ ecart@/
+lower_case (buffer, buf_ptr1, token_len); {ignore case differences}
+macro_name_loc := str_lookup(buffer,buf_ptr1,token_len,macro_ilk,do_insert);
+if (hash_found) then
+ begin
+ print_token;
+ bst_err (' is already defined as a macro');
+ end;
+ilk_info[macro_name_loc]:=hash_text[macro_name_loc]; {default in case of error}
+end
+
+
+@
+This module reads a |left_brace|, the |double_quote|-delimited string
+that defines this macro, and a |right_brace|.
+
+@<Scan the macro's definition@>=
+begin
+bst_get_and_check_left_brace ('macro');
+eat_bst_white_and_eof_check ('macro');
+if (scan_char <> double_quote) then
+ bst_err ('A macro definition must be ',xchr[double_quote],'-delimited');
+@<Scan the macro definition-string@>;
+eat_bst_white_and_eof_check ('macro');
+bst_get_and_check_right_brace ('macro');
+end
+
+
+@
+A macro definition-string is preceded by a |double_quote| and consists
+of all characters on this line up to the next |double_quote|. The
+array |ilk_info| contains a pointer to this string for the macro name.
+
+@<Scan the macro definition-string@>=
+begin
+incr(buf_ptr2); {skip over the |double_quote|}
+if (not scan1(double_quote)) then
+ bst_err ('There''s no `',xchr[double_quote],''' to end macro definition');
+ trace
+ trace_pr ('"');
+ trace_pr_token;
+ trace_pr ('"');
+ trace_pr_ln (' is a macro string');
+ ecart@/
+macro_def_loc := str_lookup(buffer,buf_ptr1,token_len,text_ilk,do_insert);@/
+fn_type[macro_def_loc] := str_literal; {set the |fn_class|}
+ilk_info[macro_name_loc] := hash_text[macro_def_loc];
+incr(buf_ptr2); {skip over the |double_quote|}
+end
+
+
+@
+@^gymnastics@>
+We need to include stuff for \.{.bib} reading here because that's done
+by the \.{read} command.
+
+@<Procedures and functions for the reading and processing of input files@>=
+@<Scan for and process a \.{.bib} command or database entry@>
+
+
+@
+@:style-file commands}{\quad \.{read}@>
+The \.{read} command has no arguments so there's no more parsing to
+do. We must make sure we haven't seen a \.{read} command before and
+we've already seen an \.{entry} command.
+
+@<Procedures and functions for the reading and processing of input files@>=
+procedure bst_read_command;
+label exit;
+begin
+if (read_seen) then
+ bst_err ('Illegal, another read command');
+read_seen := true; {now we've seen a \.{read} command}
+if (not entry_seen) then
+ bst_err ('Illegal, read command before entry command');
+sv_ptr1 := buf_ptr2; {save the contents of the \.{.bst} input line}
+sv_ptr2 := last;
+tmp_ptr := sv_ptr1;
+while (tmp_ptr < sv_ptr2) do
+ begin
+ sv_buffer[tmp_ptr] := buffer[tmp_ptr];
+ incr(tmp_ptr);
+ end;
+@<Read the \.{.bib} file(s)@>;
+buf_ptr2 := sv_ptr1; {and restore}
+last := sv_ptr2;
+tmp_ptr := buf_ptr2;
+while (tmp_ptr < last) do
+ begin
+ buffer[tmp_ptr] := sv_buffer[tmp_ptr];
+ incr(tmp_ptr);
+ end;
+exit:
+end;
+
+
+@
+@:style-file commands}{\quad \.{reverse}@>
+A \.{reverse} command has one argument, a single |built_in| or
+|wiz_defined| function name between braces. Upper/lower cases are
+considered to be the same---all upper-case letters are converted to
+lower case. Also, we must make sure we've already seen a \.{read}
+command.
+
+This module reads a |left_brace|, a single function to be iterated in
+reverse, and a |right_brace|.
+
+@<Procedures and functions for the reading and processing of input files@>=
+procedure bst_reverse_command;
+label exit;
+begin
+if (not read_seen) then
+ bst_err ('Illegal, reverse command before read command');
+eat_bst_white_and_eof_check ('reverse');
+bst_get_and_check_left_brace ('reverse');
+eat_bst_white_and_eof_check ('reverse');
+bst_identifier_scan ('reverse');
+@<Check the \.{reverse}-command argument token@>;
+eat_bst_white_and_eof_check ('reverse');
+bst_get_and_check_right_brace ('reverse');
+@<Perform a \.{reverse} command@>;
+exit:
+end;
+
+
+@
+Before iterating the function in reverse, we must make sure it's a
+legal one. It must exist and be |built_in| or |wiz_defined|.
+
+@<Check the \.{reverse}-command argument token@>=
+begin
+ trace
+ trace_pr_token;
+ trace_pr_ln (' is a to be iterated in reverse function');
+ ecart@/
+if (bad_argument_token) then
+ return;
+end
+
+
+@
+@:style-file commands}{\quad \.{sort}@>
+The \.{sort} command has no arguments so there's no more parsing to
+do, but we must make sure we've already seen a \.{read} command.
+
+@<Procedures and functions for the reading and processing of input files@>=
+procedure bst_sort_command;
+label exit;
+begin
+if (not read_seen) then
+ bst_err ('Illegal, sort command before read command');
+@<Perform a \.{sort} command@>;
+exit:
+end;
+
+
+@
+@:style-file commands}{\quad \.{strings}@>
+A \.{strings} command has one argument, a list of function names
+between braces (the names are separated by one or more |white_space|
+characters). Upper/lower cases are considered to be the same for
+function names in these lists---all upper-case letters are converted to
+lower case. Each name in this list specifies a |str_global_var|.
+There may be several \.{strings} commands in the \.{.bst} file.
+
+This module reads a |left_brace|, a list of |str_global_var|s,
+and a |right_brace|.
+
+@<Procedures and functions for the reading and processing of input files@>=
+procedure bst_strings_command;
+label exit;
+begin
+eat_bst_white_and_eof_check ('strings');
+bst_get_and_check_left_brace ('strings');
+eat_bst_white_and_eof_check ('strings');
+while (scan_char <> right_brace) do
+ begin
+ bst_identifier_scan ('strings');
+ @<Insert a |str_global_var| into the hash table@>;
+ eat_bst_white_and_eof_check ('strings');
+ end;
+incr(buf_ptr2); {skip over the |right_brace|}
+exit:
+end;
+
+
+@
+@:BibTeX capacity exceeded}{\quad number of string global-variables@>
+Here we insert the just found |str_global_var| name into the hash
+table, record it as a |str_global_var|, set its pointer into
+|global_strs|, and initialize its value there to the null string.
+
+@d end_of_string = invalid_code {this illegal |ASCII_code| ends a string}
+
+@<Insert a |str_global_var| into the hash table@>=
+begin
+ trace
+ trace_pr_token;
+ trace_pr_ln (' is a string global-variable');
+ ecart@/
+lower_case (buffer, buf_ptr1, token_len); {ignore case differences}
+fn_loc := str_lookup(buffer,buf_ptr1,token_len,bst_fn_ilk,do_insert);
+check_for_already_seen_function (fn_loc);
+fn_type[fn_loc] := str_global_var;@/
+fn_info[fn_loc] := num_glb_strs; {pointer into |global_strs|}
+if (num_glb_strs = max_glob_strs) then
+ overflow('number of string global-variables ',max_glob_strs);
+incr(num_glb_strs);
+end
+
+
+@
+@^gymnastics@>
+That's it for processing \.{.bst} commands, except for finishing the
+procedural gymnastics. Note that this must topologically follow the
+stuff for \.{.bib} reading, because that's done by the \.{.bst}'s
+\.{read} command.
+
+@<Procedures and functions for the reading and processing of input files@>=
+@<Scan for and process a \.{.bst} command@>
+
+
+
+@* Reading the database file(s).
+This section reads the \.{.bib} file(s), each of which consists of a
+sequence of entries (perhaps with a few \.{.bib} commands thrown in,
+as explained later). Each entry consists of an |at_sign|, an entry
+type, and, between braces or parentheses and separated by |comma|s, a
+database key and a list of fields. Each field consists of a field
+name, an |equals_sign|, and nonempty list of field tokens separated by
+|concat_char|s. Each field token is either a nonnegative number, a
+macro name (like `jan'), or a brace-balanced string delimited by
+either |double_quote|s or braces. Finally, case differences are
+ignored for all but delimited strings and database keys, and
+|white_space| characters and ends-of-line may appear in all reasonable
+places (i.e., anywhere except within entry types, database keys, field
+names, and macro names); furthermore, comments may appear anywhere
+between entries (or before the first or after the last) as long as
+they contain no |at_sign|s.
+
+
+@
+These global variables are used while reading the \.{.bib} file(s).
+The elements of |type_list|, which indicate an entry's type (book,
+article, etc.), point either to a |hash_loc| or are one of two special
+markers: |empty|, from which |hash_base = empty + 1| was defined,
+means we haven't yet encountered the \.{.bib} entry corresponding to
+this cite key; and |undefined| means we've encountered it but it had
+an unknown entry type. Thus the array |type_list| is of type
+|hash_ptr2|, also defined earlier. An element of the boolean array
+|entry_exists| whose corresponding entry in |cite_list| gets
+overwritten (which happens only when |all_entries| is |true|)
+indicates whether we've encountered that entry of |cite_list| while
+reading the \.{.bib} file(s); this information is unused for entries
+that aren't (or more precisely, that have no chance of being)
+overwritten. When we're reading the database file, the array
+|cite_info| contains auxiliary information for |cite_list|. Later,
+|cite_info| will become |sorted_cites|, and this dual role imposes the
+(not-very-imposing) restriction |max_strings >= max_cites|.
+
+@d undefined = hash_max + 1 {a special marker used for |type_list|}
+
+@<Globals in the outer block@>=
+@!bib_line_num : integer; {line number of the \.{.bib} file}
+@!entry_type_loc : hash_loc; {the hash-table location of an entry type}
+@!type_list : packed array[cite_number] of hash_ptr2;
+@!type_exists : boolean; {|true| if this entry type is \.{.bst}-defined}
+@!entry_exists : packed array[cite_number] of boolean;
+@!store_entry : boolean; {|true| if we're to store info for this entry}
+@!field_name_loc : hash_loc; {the hash-table location of a field name}
+@!field_val_loc : hash_loc; {the hash-table location of a field value}
+@!store_field : boolean; {|true| if we're to store info for this field}
+@!store_token : boolean; {|true| if we're to store this macro token}
+@!right_outer_delim : ASCII_code; {either a |right_brace| or a |right_paren|}
+@!right_str_delim : ASCII_code; {either a |right_brace| or a |double_quote|}
+@!at_bib_command : boolean; {|true| for a command, false for an entry}
+@!cur_macro_loc : hash_loc; {|macro_loc| for a \.{string} being defined}
+@!cite_info : packed array[cite_number] of str_number; {extra |cite_list| info}
+@!cite_hash_found : boolean; {set to a previous |hash_found| value}
+@!preamble_ptr : bib_number; {pointer into the |s_preamble| array}
+@!num_preamble_strings : bib_number; {counts the |s_preamble| strings}
+
+
+@
+This little procedure exists because it's used by at least two other
+procedures and thus saves some space.
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure bib_ln_num_print;
+begin
+print ('--line ',bib_line_num:0,' of file ');
+print_bib_name;
+end;
+
+
+@
+When there's a serious error parsing a \.{.bib} file, we flush
+everything up to the beginning of the next entry.
+
+@d bib_err(#) == begin {serious error during \.{.bib} parsing}
+ print (#);
+ bib_err_print;
+ return;
+ end
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure bib_err_print;
+begin
+print ('-');
+bib_ln_num_print;
+print_bad_input_line; {this call does the |mark_error|}
+print_skipping_whatever_remains;
+if (at_bib_command) then
+ print_ln ('command')
+ else
+ print_ln ('entry');
+end;
+
+
+@
+When there's a harmless error parsing a \.{.bib} file, we just give a
+warning message. This is always called after other stuff has been
+printed out.
+
+@d bib_warn(#) == begin {non-serious error during \.{.bst} parsing}
+ print (#);
+ bib_warn_print;
+ end
+@#
+@d bib_warn_newline(#) == begin {same as above but with a newline}
+ print_ln (#);
+ bib_warn_print;
+ end
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure bib_warn_print;
+begin
+bib_ln_num_print;
+mark_warning;
+end;
+
+
+@
+For all |num_bib_files| database files, we keep reading and processing
+\.{.bib} entries until none left.
+
+@<Read the \.{.bib} file(s)@>=
+begin
+@<Final initialization for \.{.bib} processing@>;
+read_performed := true;
+bib_ptr := 0;
+while (bib_ptr < num_bib_files) do
+ begin
+ print ('Database file #',bib_ptr+1:0,': ');
+ print_bib_name;@/
+ bib_line_num := 0; {initialize to get the first input line}
+ buf_ptr2 := last;
+ while (not eof(cur_bib_file)) do
+ get_bib_command_or_entry_and_process;
+ a_close (cur_bib_file);
+ incr(bib_ptr);
+ end;
+reading_completed := true;
+ trace
+ trace_pr_ln ('Finished reading the database file(s)');
+ ecart@/
+@<Final initialization for processing the entries@>;
+read_completed := true;
+end
+
+
+@
+We need to initialize the |field_info| array, and also various things
+associated with the |cite_list| array (but not |cite_list| itself).
+
+@<Final initialization for \.{.bib} processing@>=
+begin
+@<Initialize the |field_info|@>;
+@<Initialize things for the |cite_list|@>;
+end
+
+
+@
+This module initializes all fields of all entries to |missing|, the
+value to which all fields are initialized.
+
+@<Initialize the |field_info|@>=
+begin
+check_field_overflow (num_fields*num_cites);
+field_ptr := 0;
+while (field_ptr < max_fields) do
+ begin
+ field_info[field_ptr] := missing;
+ incr(field_ptr);
+ end;
+end
+
+
+@
+@^fetish@>
+@:BibTeX capacity exceeded}{\quad total number of fields@>
+Complain if somebody's got a field fetish.
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure check_field_overflow (@!total_fields : integer);
+begin
+if (total_fields > max_fields) then
+ begin
+ print_ln (total_fields:0,' fields:');
+ overflow('total number of fields ',max_fields);
+ end;
+end;
+
+
+@
+We must initialize the |type_list| array so that we can detect
+duplicate (or missing) entries for cite keys on |cite_list|. Also,
+when we're to include the entire database, we use the array
+|entry_exists| to detect those missing entries whose |cite_list| info
+will (or to be more precise, might) be overwritten; and we use the
+array |cite_info| to save the part of |cite_list| that will (might) be
+overwritten. We also use |cite_info| for counting cross~references
+when it's appropriate---when an entry isn't otherwise to be included
+on |cite_list| (that is, the entry isn't \.{\\cite}d or
+\.{\\nocite}d). Such an entry is included on the final |cite_list| if
+it's cross~referenced at least |min_crossrefs| times.
+
+@<Initialize things for the |cite_list|@>=
+begin
+cite_ptr := 0;
+while (cite_ptr < max_cites) do
+ begin
+ type_list[cite_ptr] := empty;@/
+ cite_info[cite_ptr] := any_value; {to appeas \PASCAL's boolean evaluation}
+ incr(cite_ptr);
+ end;
+old_num_cites := num_cites;
+if (all_entries) then
+ begin
+ cite_ptr := all_marker;
+ while (cite_ptr < old_num_cites) do
+ begin
+ cite_info[cite_ptr] := cite_list[cite_ptr];
+ entry_exists[cite_ptr] := false;
+ incr(cite_ptr);
+ end;
+ cite_ptr := all_marker; {we insert the ``other'' entries here}
+ end
+ else
+ begin
+ cite_ptr := num_cites; {we insert the cross-referenced entries here}
+ all_marker := any_value; {to appease \PASCAL's boolean evaluation}
+ end;
+end
+
+
+@
+Before we actually start the code for reading a database file, we must
+define this \.{.bib}-specific scanning function. It skips over
+|white_space| characters until hitting a nonwhite character or the end
+of the file, respectively returning |true| or |false|. It also
+updates |bib_line_num|, the line counter.
+
+@<Procedures and functions for input scanning@>=
+function eat_bib_white_space : boolean;
+label exit;
+begin
+while (not scan_white_space) do {no characters left; read another line}
+ begin
+ if (not input_ln(cur_bib_file)) then {end-of-file; return |false|}
+ begin
+ eat_bib_white_space := false;
+ return;
+ end;
+ incr(bib_line_num);
+ buf_ptr2 := 0;
+ end;
+eat_bib_white_space := true;
+exit:
+end;
+
+
+@
+It's often illegal to end a \.{.bib} command in certain places, and
+this is where we come to check.
+
+@d eat_bib_white_and_eof_check ==
+ begin
+ if (not eat_bib_white_space) then
+ begin
+ eat_bib_print;
+ return;
+ end;
+ end
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure eat_bib_print;
+label exit; {so the call to |bib_err| works}
+begin
+bib_err ('Illegal end of database file');
+exit:
+end;
+
+
+@
+And here are a bunch of error-message macros, each called more than
+once, that thus save space as implemented. This one is for when one
+of two possible characters is expected while scanning.
+
+@d bib_one_of_two_expected_err(#) ==
+ begin
+ bib_one_of_two_print (#);
+ return;
+ end
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure bib_one_of_two_print (@!char1,@!char2:ASCII_code);
+label exit; {so the call to |bib_err| works}
+begin
+bib_err ('I was expecting a `',xchr[char1],''' or a `',xchr[char2],'''');
+exit:
+end;
+
+
+@
+This one's for an expected |equals_sign|.
+
+@d bib_equals_sign_expected_err ==
+ begin
+ bib_equals_sign_print;
+ return;
+ end
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure bib_equals_sign_print;
+label exit; {so the call to |bib_err| works}
+begin
+bib_err ('I was expecting an "',xchr[equals_sign],'"');
+exit:
+end;
+
+
+@
+This complains about unbalanced braces.
+
+@d bib_unbalanced_braces_err ==
+ begin
+ bib_unbalanced_braces_print;
+ return;
+ end
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure bib_unbalanced_braces_print;
+label exit; {so the call to |bib_err| works}
+begin
+bib_err ('Unbalanced braces');
+exit:
+end;
+
+
+@
+And this one about an overly exuberant field.
+
+@d bib_field_too_long_err ==
+ begin
+ bib_field_too_long_print;
+ return;
+ end
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure bib_field_too_long_print;
+label exit; {so the call to |bib_err| works}
+begin
+bib_err ('Your field is more than ',buf_size:0,' characters');
+exit:
+end;
+
+
+@
+This one is just a warning, not an error. It's for when something
+isn't (or might not be) quite right with a macro name.
+
+@d macro_name_warning(#) ==
+ begin
+ macro_warn_print;
+ bib_warn_newline (#);
+ end
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure macro_warn_print;
+begin
+print ('Warning--string name "');
+print_token;
+print ('" is ');
+end;
+
+
+@
+@:this can't happen}{\quad Identifier scanning error@>
+This macro is used to scan all \.{.bib} identifiers. The argument
+tells what was happening at the time. The associated procedure simply
+prints an error message.
+
+@d bib_identifier_scan_check(#) ==
+ begin
+ if ((scan_result = white_adjacent) or
+ (scan_result = specified_char_adjacent)) then
+ do_nothing
+ else
+ begin
+ bib_id_print;
+ bib_err (#);
+ end;
+ end
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure bib_id_print;
+begin
+if (scan_result = id_null) then
+ print ('You''re missing ')
+else if (scan_result = other_char_adjacent) then
+ print ('"',xchr[scan_char],'" immediately follows ')
+else
+ id_scanning_confusion;
+end;
+
+
+@
+This module either reads a database entry, whose three main components
+are an entry type, a database key, and a list of fields, or it reads a
+\.{.bib} command, whose structure is command dependent and explained
+later.
+
+@d cite_already_set = 22 {this gets around \PASCAL\ limitations}
+@d first_time_entry = 26 {for checking for repeated database entries}
+
+@<Scan for and process a \.{.bib} command or database entry@>=
+procedure get_bib_command_or_entry_and_process;
+label cite_already_set,@!first_time_entry,@!loop_exit,@!exit;
+begin
+at_bib_command := false;@/
+@<Skip to the next database entry or \.{.bib} command@>;
+@<Scan the entry type or scan and process the \.{.bib} command@>;
+eat_bib_white_and_eof_check;
+@<Scan the entry's database key@>;
+eat_bib_white_and_eof_check;
+@<Scan the entry's list of fields@>;
+exit:
+end;
+
+
+@
+This module skips over everything until hitting an |at_sign| or the
+end of the file. It also updates |bib_line_num|, the line counter.
+
+@<Skip to the next database entry or \.{.bib} command@>=
+while (not scan1(at_sign)) do {no |at_sign|; get next line}
+ begin
+ if (not input_ln(cur_bib_file)) then {end-of-file}
+ return;
+ incr(bib_line_num);
+ buf_ptr2 := 0;
+ end
+
+
+@
+@:this can't happen}{\quad An at-sign disappeared@>
+This module reads an |at_sign| and an entry type (like `book' or
+`article') or a \.{.bib} command. If it's an entry type, it must be
+defined in the \.{.bst} file if this entry is to be included in the
+reference list.
+
+@<Scan the entry type or scan and process the \.{.bib} command@>=
+begin
+if (scan_char <> at_sign) then
+ confusion ('An "',xchr[at_sign],'" disappeared');
+incr(buf_ptr2); {skip over the |at_sign|}
+eat_bib_white_and_eof_check;
+scan_identifier (left_brace,left_paren,left_paren);
+bib_identifier_scan_check ('an entry type');
+ trace
+ trace_pr_token;
+ trace_pr_ln (' is an entry type or a database-file command');
+ ecart@/
+lower_case (buffer, buf_ptr1, token_len); {ignore case differences}
+command_num := ilk_info[
+ str_lookup(buffer,buf_ptr1,token_len,bib_command_ilk,dont_insert)];
+if (hash_found) then
+ @<Process a \.{.bib} command@>
+else
+ begin {process an entry type}
+ entry_type_loc := str_lookup(
+ buffer,buf_ptr1,token_len,bst_fn_ilk,dont_insert);
+ if ((not hash_found) or (fn_type[entry_type_loc]<>wiz_defined)) then@/
+ type_exists := false {no such entry type defined in the \.{.bst} file}
+ else
+ type_exists := true;
+ end;
+end
+
+
+@
+@^database-file commands@>
+@:this can't happen}{\quad Unknown database-file command@>
+Here we determine which \.{.bib} command we're about to process, then
+go to it.
+
+@<Process a \.{.bib} command@>=
+begin
+at_bib_command := true;
+case (command_num) of
+ n_bib_comment : @<Process a \.{comment} command@>;
+ n_bib_preamble : @<Process a \.{preamble} command@>;
+ n_bib_string : @<Process a \.{string} command@>;
+ othercases bib_cmd_confusion
+endcases;
+end
+
+
+@
+@:this can't happen}{\quad Unknown database-file command@>
+Here's another bug.
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure bib_cmd_confusion;
+begin
+confusion ('Unknown database-file command');
+end;
+
+
+@
+@:database-file commands}{\quad \.{comment}@>
+The \.{comment} command is implemented for SCRIBE compatibility. It's
+not really needed because \BibTeX\ treats (flushes) everything not
+within an entry as a comment anyway.
+
+@<Process a \.{comment} command@>=
+begin
+return; {flush comments}
+end
+
+
+@
+@:database-file commands}{\quad \.{preamble}@>
+The \.{preamble} command lets a user have \TeX\ stuff inserted (by the
+standard styles, at least) directly into the \.{.bbl} file. It is
+intended primarily for allowing \TeX\ macro definitions used within
+the bibliography entries (for better sorting, for example). One
+\.{preamble} command per \.{.bib} file should suffice.
+
+A \.{preamble} command has either braces or parentheses as outer
+delimiters. Inside is the preamble string, which has the same syntax
+as a field value: a nonempty list of field tokens separated by
+|concat_char|s. There are three types of field tokens---nonnegative
+numbers, macro names, and delimited strings.
+
+This module does all the scanning (that's not subcontracted), but the
+\.{.bib}-specific scanning function
+|scan_and_store_the_field_value_and_eat_white| actually stores the
+value.
+
+@<Process a \.{preamble} command@>=
+begin
+if (preamble_ptr = max_bib_files) then
+ bib_err ('You''ve exceeded ',max_bib_files:0,' preamble commands');
+eat_bib_white_and_eof_check;
+if (scan_char = left_brace) then
+ right_outer_delim := right_brace
+else if (scan_char = left_paren) then
+ right_outer_delim := right_paren
+else
+ bib_one_of_two_expected_err (left_brace,left_paren);
+incr(buf_ptr2); {skip over the left-delimiter}
+eat_bib_white_and_eof_check;
+store_field := true;
+if (not scan_and_store_the_field_value_and_eat_white) then
+ return;
+if (scan_char <> right_outer_delim) then
+ bib_err ('Missing "',xchr[right_outer_delim],'" in preamble command');
+incr(buf_ptr2); {skip over the |right_outer_delim|}
+return;
+end
+
+
+@
+@:database-file commands}{\quad \.{string}@>
+The \.{string} command is implemented both for SCRIBE compatibility
+and for allowing a user: to override a \.{.bst}-file \.{macro}
+command, to define one that the \.{.bst} file doesn't, or to engage in
+good, wholesome, typing laziness.
+
+The \.{string} command does mostly the same thing as the
+\.{.bst}-file's \.{macro} command (but the syntax is different and the
+\.{string} command compresses |white_space|). In fact, later in this
+program, the term ``macro'' refers to either a \.{.bst} ``macro'' or a
+\.{.bib} ``string'' (when it's clear from the context that it's not
+a \.{WEB} macro).
+
+A \.{string} command has either braces or parentheses as outer
+delimiters. Inside is the string's name (it must be a legal
+identifier, and case differences are ignored---all upper-case letters
+are converted to lower case), then an |equals_sign|, and the string's
+definition, which has the same syntax as a field value: a nonempty
+list of field tokens separated by |concat_char|s. There are three
+types of field tokens---nonnegative numbers, macro names, and
+delimited strings.
+
+@<Process a \.{string} command@>=
+begin
+eat_bib_white_and_eof_check;
+@<Scan the string's name@>;
+eat_bib_white_and_eof_check;
+@<Scan the string's definition field@>;
+return;
+end
+
+
+@
+This module reads a left outer-delimiter and a string name.
+
+@<Scan the string's name@>=
+begin
+if (scan_char = left_brace) then
+ right_outer_delim := right_brace
+else if (scan_char = left_paren) then
+ right_outer_delim := right_paren
+else
+ bib_one_of_two_expected_err (left_brace,left_paren);
+incr(buf_ptr2); {skip over the left-delimiter}
+eat_bib_white_and_eof_check;
+scan_identifier (equals_sign,equals_sign,equals_sign);
+bib_identifier_scan_check ('a string name');
+@<Store the string's name@>;
+end
+
+
+@
+@^commented-out code@>
+This module marks this string as |macro_ilk|; the commented-out code
+will give a warning message when overwriting a previously defined
+macro.
+
+@<Store the string's name@>=
+begin
+ trace
+ trace_pr_token;
+ trace_pr_ln (' is a database-defined macro');
+ ecart@/
+lower_case (buffer, buf_ptr1, token_len); {ignore case differences}
+cur_macro_loc := str_lookup(buffer,buf_ptr1,token_len,macro_ilk,do_insert);
+ilk_info[cur_macro_loc] := hash_text[cur_macro_loc]; {default in case of error}
+ @{
+ if (hash_found) then {already seen macro}
+ macro_name_warning ('having its definition overwritten');
+ @}@/
+end
+
+
+@
+This module skips over the |equals_sign|, reads and stores the list of
+field tokens that defines this macro (compressing |white_space|), and
+reads a |right_outer_delim|.
+
+@<Scan the string's definition field@>=
+begin
+if (scan_char <> equals_sign) then
+ bib_equals_sign_expected_err;
+incr(buf_ptr2); {skip over the |equals_sign|}
+eat_bib_white_and_eof_check;
+store_field := true;
+if (not scan_and_store_the_field_value_and_eat_white) then
+ return;
+if (scan_char <> right_outer_delim) then
+ bib_err ('Missing "',xchr[right_outer_delim],'" in string command');
+incr(buf_ptr2); {skip over the |right_outer_delim|}
+end
+
+
+@
+@^kludge@>
+The variables for the function
+|scan_and_store_the_field_value_and_eat_white| must be global since
+the functions it calls use them too. The alias kludge helps make the
+stack space not overflow on some machines.
+
+@d field_vl_str == ex_buf {aliases, used ``only'' for this function}
+@d field_end == ex_buf_ptr {the end marker for the field-value string}
+@d field_start == ex_buf_xptr {and the start marker}
+
+@<Globals in the outer block@>=
+@!bib_brace_level : integer; {brace nesting depth (excluding |str_delim|s)}
+
+
+@
+@^gymnastics@>
+Since the function |scan_and_store_the_field_value_and_eat_white|
+calls several other yet-to-be-described functions (one directly and
+two indirectly), we must perform some topological gymnastics.
+
+@<Procedures and functions for input scanning@>=
+@<The scanning function |compress_bib_white|@>@;
+@<The scanning function |scan_balanced_braces|@>@;
+@<The scanning function |scan_a_field_token_and_eat_white|@>
+
+
+@
+This function scans the list of field tokens that define the field
+value string. If |store_field| is |true| it accumulates (indirectly)
+in |field_vl_str| the concatenation of all the field tokens,
+compressing nonnull |white_space| to a single |space| and, if the
+field value is for a field (rather than a string definition), removing
+any leading or trailing |white_space|; when it's finished it puts the
+string into the hash table. It returns |false| if there was a serious
+syntax error.
+
+@<Procedures and functions for input scanning@>=
+function scan_and_store_the_field_value_and_eat_white : boolean;
+label exit;
+begin
+scan_and_store_the_field_value_and_eat_white := false;
+ {now it's easy to exit if necessary}
+field_end := 0;
+if (not scan_a_field_token_and_eat_white) then
+ return;
+while (scan_char = concat_char) do {scan remaining field tokens}
+ begin
+ incr(buf_ptr2); {skip over the |concat_char|}
+ eat_bib_white_and_eof_check;
+ if (not scan_a_field_token_and_eat_white) then
+ return;
+ end;
+if (store_field) then
+ @<Store the field value string@>;
+scan_and_store_the_field_value_and_eat_white := true;
+exit:
+end;
+
+
+@
+Each field token is either a nonnegative number, a macro name (like
+`jan'), or a brace-balanced string delimited by either |double_quote|s
+or braces. Thus there are four possibilities for the first character
+of the field token: If it's a |left_brace| or a |double_quote|, the
+token (with balanced braces, up to the matching |right_str_delim|) is
+a string; if it's |numeric|, the token is a number; if it's anything
+else, the token is a macro name (and should thus have been defined by
+either the \.{.bst}-file's \.{macro} command or the \.{.bib}-file's
+\.{string} command). This function returns |false| if there was a
+serious syntax error.
+
+@<The scanning function |scan_a_field_token_and_eat_white|@>=
+function scan_a_field_token_and_eat_white : boolean;
+label exit;
+begin
+scan_a_field_token_and_eat_white := false; {now it's easy to exit if necessary}
+case (scan_char) of
+ left_brace :
+ begin
+ right_str_delim := right_brace;
+ if (not scan_balanced_braces) then
+ return;
+ end;
+ double_quote :
+ begin
+ right_str_delim := double_quote;
+ if (not scan_balanced_braces) then
+ return;
+ end;
+ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9" :
+ @<Scan a number@>;
+ othercases
+ @<Scan a macro name@>
+endcases;
+eat_bib_white_and_eof_check;
+scan_a_field_token_and_eat_white := true;
+exit:
+end;
+
+
+@
+Now we come to the stuff that actually accumulates the field value to
+be stored. This module copies a character into |field_vl_str| if it
+will fit; since it's so low level, it's implemented as a macro.
+
+@d copy_char(#) == begin
+ if (field_end = buf_size) then
+ bib_field_too_long_err
+ else
+ begin
+ field_vl_str[field_end] := #;
+ incr(field_end);
+ end;
+ end
+
+
+@
+The \.{.bib}-specific scanning function |compress_bib_white| skips
+over |white_space| characters within a string until hitting a nonwhite
+character; in fact, it does everything |eat_bib_white_space| does, but
+it also adds a |space| to |field_vl_str|. This function is never
+called if there are no |white_space| characters (or ends-of-line) to
+be scanned (though the associated macro might be). The function
+returns |false| if there is a serious syntax error.
+
+@d check_for_and_compress_bib_white_space ==
+ begin
+ if ((lex_class[scan_char]=white_space) or (buf_ptr2=last)) then
+ if (not compress_bib_white) then
+ return;
+ end
+
+@<The scanning function |compress_bib_white|@>=
+function compress_bib_white : boolean;
+label exit;
+begin
+compress_bib_white := false; {now it's easy to exit if necessary}
+copy_char (space);
+while (not scan_white_space) do {no characters left; read another line}
+ begin
+ if (not input_ln(cur_bib_file)) then {end-of-file; complain}
+ begin
+ eat_bib_print;
+ return;
+ end;
+ incr(bib_line_num);
+ buf_ptr2 := 0;
+ end;
+compress_bib_white := true;
+exit:
+end;
+
+
+@
+This \.{.bib}-specific function scans a string with balanced braces,
+stopping just past the matching |right_str_delim|. How much work it
+does depends on whether |store_field = true|. It returns |false| if
+there was a serious syntax error.
+
+@<The scanning function |scan_balanced_braces|@>=
+function scan_balanced_braces : boolean;
+label loop_exit,@!exit;
+begin
+scan_balanced_braces := false; {now it's easy to exit if necessary}
+incr(buf_ptr2); {skip over the left-delimiter}
+check_for_and_compress_bib_white_space;
+if (field_end > 1) then
+ if (field_vl_str[field_end-1] = space) then
+ if (field_vl_str[field_end-2] = space) then {remove wrongly added |space|}
+ decr(field_end);
+bib_brace_level := 0; {and we're at a non|white_space| character}
+if (store_field) then
+ @<Do a full brace-balanced scan@>
+ else
+ @<Do a quick brace-balanced scan@>;
+incr(buf_ptr2); {skip over the |right_str_delim|}
+scan_balanced_braces := true;
+exit:
+end;
+
+
+@
+This module scans over a brace-balanced string without keeping track
+of anything but the brace level. It starts with |bib_brace_level = 0|
+and at a non|white_space| character.
+
+@<Do a quick brace-balanced scan@>=
+begin
+while (scan_char <> right_str_delim) do {we're at |bib_brace_level = 0|}
+ if (scan_char = left_brace) then
+ begin
+ incr(bib_brace_level);
+ incr(buf_ptr2); {skip over the |left_brace|}
+ eat_bib_white_and_eof_check;
+ while (bib_brace_level > 0) do
+ @<Do a quick scan with |bib_brace_level > 0|@>;
+ end
+ else if (scan_char = right_brace) then
+ bib_unbalanced_braces_err
+ else
+ begin
+ incr(buf_ptr2); {skip over some other character}
+ if (not scan3 (right_str_delim, left_brace, right_brace)) then
+ eat_bib_white_and_eof_check;
+ end
+end
+
+
+@
+This module does the same as above but, because |bib_brace_level > 0|, it
+doesn't have to look for a |right_str_delim|.
+
+@<Do a quick scan with |bib_brace_level > 0|@>=
+begin {top part of the |while| loop---we're always at a nonwhite character}
+if (scan_char = right_brace) then
+ begin
+ decr(bib_brace_level);
+ incr(buf_ptr2); {skip over the |right_brace|}
+ eat_bib_white_and_eof_check;
+ end
+else if (scan_char = left_brace) then
+ begin
+ incr(bib_brace_level);
+ incr(buf_ptr2); {skip over the |left_brace|}
+ eat_bib_white_and_eof_check;
+ end
+else
+ begin
+ incr(buf_ptr2); {skip over some other character}
+ if (not scan2 (right_brace, left_brace)) then
+ eat_bib_white_and_eof_check;
+ end
+end
+
+
+@
+This module scans over a brace-balanced string, compressing multiple
+|white_space| characters into a single |space|. It starts with
+|bib_brace_level = 0| and starts at a non|white_space| character.
+
+@<Do a full brace-balanced scan@>=
+begin
+while (scan_char <> right_str_delim) do
+ case (scan_char) of
+ left_brace :
+ begin
+ incr(bib_brace_level);
+ copy_char (left_brace);@/
+ incr(buf_ptr2); {skip over the |left_brace|}
+ check_for_and_compress_bib_white_space;@/
+ @<Do a full scan with |bib_brace_level > 0|@>;
+ end;
+ right_brace :
+ bib_unbalanced_braces_err;
+ othercases
+ begin
+ copy_char (scan_char);
+ incr(buf_ptr2); {skip over some other character}
+ check_for_and_compress_bib_white_space;
+ end
+ endcases;
+end
+
+
+@
+This module is similar to the last but starts with |bib_brace_level > 0|
+(and, like the last, it starts at a non|white_space| character).
+
+@<Do a full scan with |bib_brace_level > 0|@>=
+begin
+loop
+ case (scan_char) of
+ right_brace :
+ begin
+ decr(bib_brace_level);
+ copy_char (right_brace);@/
+ incr(buf_ptr2); {skip over the |right_brace|}
+ check_for_and_compress_bib_white_space;
+ if (bib_brace_level = 0) then
+ goto loop_exit;
+ end;
+ left_brace :
+ begin
+ incr(bib_brace_level);
+ copy_char (left_brace);@/
+ incr(buf_ptr2); {skip over the |left_brace|}
+ check_for_and_compress_bib_white_space;
+ end;
+ othercases
+ begin
+ copy_char (scan_char);
+ incr(buf_ptr2); {skip over some other character}
+ check_for_and_compress_bib_white_space;
+ end
+ endcases;
+loop_exit:
+end
+
+
+@
+@:this can't happen}{\quad A digit disappeared@>
+This module scans a nonnegative number and copies it to |field_vl_str|
+if it's to store the field.
+
+@<Scan a number@>=
+begin
+if (not scan_nonneg_integer) then
+ confusion ('A digit disappeared');
+if (store_field) then
+ begin
+ tmp_ptr := buf_ptr1;
+ while (tmp_ptr < buf_ptr2) do
+ begin
+ copy_char (buffer[tmp_ptr]);
+ incr(tmp_ptr);
+ end;
+ end;
+end
+
+
+@
+This module scans a macro name and copies its string to |field_vl_str|
+if it's to store the field, complaining if the macro is recursive or
+undefined.
+
+@<Scan a macro name@>=
+begin
+scan_identifier (comma,right_outer_delim,concat_char);
+bib_identifier_scan_check ('a field part');
+if (store_field) then
+ begin
+ lower_case (buffer, buf_ptr1, token_len); {ignore case differences}
+ macro_name_loc := str_lookup(
+ buffer,buf_ptr1,token_len,macro_ilk,dont_insert);
+ store_token := true;
+ if (at_bib_command) then
+ if (command_num = n_bib_string) then
+ if (macro_name_loc = cur_macro_loc) then
+ begin
+ store_token := false;
+ macro_name_warning ('used in its own definition');
+ end;
+ if (not hash_found) then
+ begin
+ store_token := false;
+ macro_name_warning ('undefined');
+ end;
+ if (store_token) then
+ @<Copy the macro string to |field_vl_str|@>;
+ end;
+end
+
+
+@
+The macro definition may have |white_space| that needs compressing,
+because it may have been defined in the \.{.bst} file.
+
+@<Copy the macro string to |field_vl_str|@>=
+begin
+tmp_ptr := str_start[ilk_info[macro_name_loc]];
+tmp_end_ptr := str_start[ilk_info[macro_name_loc]+1];
+if (field_end = 0) then
+ if ((lex_class[str_pool[tmp_ptr]] = white_space) and (tmp_ptr < tmp_end_ptr))
+ then
+ begin {compress leading |white_space| of first nonnull token}
+ copy_char (space);
+ incr(tmp_ptr);
+ while ((lex_class[str_pool[tmp_ptr]] = white_space) and
+ (tmp_ptr < tmp_end_ptr)) do
+ incr(tmp_ptr);
+ end; {the next remaining character is non|white_space|}
+while (tmp_ptr < tmp_end_ptr) do
+ begin
+ if (lex_class[str_pool[tmp_ptr]] <> white_space) then
+ copy_char (str_pool[tmp_ptr])
+ else if (field_vl_str[field_end-1] <> space) then
+ copy_char (space);
+ incr(tmp_ptr);
+ end;
+end
+
+
+@
+@^ham and eggs@>
+Now it's time to store the field value in the hash table, and store an
+appropriate pointer to it (depending on whether it's for a database
+entry or command). But first, if necessary, we remove a trailing
+|space| and a leading |space| if these exist. (Hey, if we had some
+ham we could make ham-and-eggs if we had some eggs.)
+
+@<Store the field value string@>=
+begin
+if (not at_bib_command) then {chop trailing |space| for a field}
+ if (field_end > 0) then
+ if (field_vl_str[field_end-1] = space) then
+ decr(field_end);
+if ((not at_bib_command) and (field_vl_str[0] = space) and (field_end > 0))
+ then {chop leading |space| for a field}
+ field_start := 1
+ else
+ field_start := 0;
+field_val_loc := str_lookup(field_vl_str,field_start,field_end-field_start,
+ text_ilk,do_insert);
+fn_type[field_val_loc] := str_literal; {set the |fn_class|}
+ trace
+ trace_pr ('"');
+ trace_pr_pool_str (hash_text[field_val_loc]);
+ trace_pr_ln ('" is a field value');
+ ecart@/
+if (at_bib_command) then {for a \.{preamble} or \.{string} command}
+ @<Store the field value for a command@>
+ else {for a database entry}
+ @<Store the field value for a database entry@>;
+end
+
+
+@
+@:this can't happen}{\quad Unknown database-file command@>
+Here's where we store the goods when we're dealing with a command
+rather than an entry.
+
+@<Store the field value for a command@>=
+begin
+case (command_num) of
+ n_bib_preamble :
+ begin
+ s_preamble[preamble_ptr] := hash_text[field_val_loc];
+ incr(preamble_ptr);
+ end;
+ n_bib_string :
+ ilk_info[cur_macro_loc] := hash_text[field_val_loc];
+ othercases bib_cmd_confusion
+endcases;
+end
+
+
+@
+And here, an entry.
+
+@<Store the field value for a database entry@>=
+begin
+field_ptr := entry_cite_ptr * num_fields + fn_info[field_name_loc];
+if (field_info[field_ptr] <> missing) then
+ begin
+ print ('Warning--I''m ignoring ');
+ print_pool_str (cite_list[entry_cite_ptr]);
+ print ('''s extra "');
+ print_pool_str (hash_text[field_name_loc]);
+ bib_warn_newline ('" field');
+ end
+ else
+ begin {the field was empty, store its new value}
+ field_info[field_ptr] := hash_text[field_val_loc];
+ if ((fn_info[field_name_loc] = crossref_num) and (not all_entries)) then
+ @<Add or update a cross reference on |cite_list| if necessary@>;
+ end;
+end
+
+
+@
+@^kludge@>
+@:this can't happen}{\quad Cite hash error@>
+If the cross-referenced entry isn't already on |cite_list| we add it
+(at least temporarily); if it is already on |cite_list| we update the
+cross-reference count, if necessary. Note that |all_entries| is
+|false| here. The alias kludge helps make the stack space not
+overflow on some machines.
+
+@d extra_buf == out_buf {an alias, used only in this module}
+
+@<Add or update a cross reference on |cite_list| if necessary@>=
+begin
+tmp_ptr := field_start;
+while (tmp_ptr < field_end) do
+ begin
+ extra_buf[tmp_ptr] := field_vl_str[tmp_ptr];
+ incr(tmp_ptr);
+ end;
+lower_case (extra_buf, field_start, field_end-field_start);
+ {convert to `canonical' form}
+lc_cite_loc := str_lookup(extra_buf,field_start,field_end-field_start,
+ lc_cite_ilk,do_insert);
+if (hash_found) then
+ begin
+ cite_loc := ilk_info[lc_cite_loc]; {even if there's a case mismatch}
+ if (ilk_info[cite_loc] >= old_num_cites) then {a previous \.{crossref}}
+ incr(cite_info[ilk_info[cite_loc]]);
+ end
+ else
+ begin {it's a new \.{crossref}}
+ cite_loc := str_lookup(field_vl_str,field_start,field_end-field_start,
+ cite_ilk,do_insert);
+ if (hash_found) then
+ hash_cite_confusion;
+ add_database_cite (cite_ptr); {this increments |cite_ptr|}
+ cite_info[ilk_info[cite_loc]] := 1; {the first cross-ref for this cite key}
+ end;
+end
+
+
+@
+This procedure adds (or restores) to |cite_list| a cite key; it is
+called only when |all_entries| is |true| or when adding
+cross~references, and it assumes that |cite_loc| and |lc_cite_loc| are
+set. It also increments its argument.
+
+@<Procedures and functions for handling numbers, characters, and strings@>=
+procedure add_database_cite (var new_cite : cite_number);
+begin
+check_cite_overflow (new_cite); {make sure this cite will fit}
+check_field_overflow (num_fields*new_cite);
+cite_list[new_cite] := hash_text[cite_loc];
+ilk_info[cite_loc] := new_cite;
+ilk_info[lc_cite_loc] := cite_loc;
+incr(new_cite);
+end;
+
+
+@
+And now, back to processing an entry (rather than a command). This
+module reads a left outer-delimiter and a database key.
+
+@<Scan the entry's database key@>=
+begin
+if (scan_char = left_brace) then
+ right_outer_delim := right_brace
+else if (scan_char = left_paren) then
+ right_outer_delim := right_paren
+else
+ bib_one_of_two_expected_err (left_brace,left_paren);
+incr(buf_ptr2); {skip over the left-delimiter}
+eat_bib_white_and_eof_check;
+if (right_outer_delim = right_paren) then {to allow it in a database key}
+ begin
+ if (scan1_white(comma)) then {ok if database key ends line}
+ do_nothing;
+ end
+ else
+ if (scan2_white(comma,right_brace)) then {|right_brace=right_outer_delim|}
+ do_nothing;
+@<Check for a database key of interest@>;
+end
+
+
+@
+@^kludge@>
+The lower-case version of this database key must correspond to one in
+|cite_list|, or else |all_entries| must be |true|, if this entry is to
+be included in the reference list. Accordingly, this module sets
+|store_entry|, which determines whether the relevant information for
+this entry is stored. The alias kludge helps make the stack space not
+overflow on some machines.
+
+@d ex_buf3 == ex_buf {an alias, used only in this module}
+
+@<Check for a database key of interest@>=
+begin
+ trace
+ trace_pr_token;
+ trace_pr_ln (' is a database key');
+ ecart@/
+tmp_ptr := buf_ptr1;
+while (tmp_ptr < buf_ptr2) do
+ begin
+ ex_buf3[tmp_ptr] := buffer[tmp_ptr];
+ incr(tmp_ptr);
+ end;
+lower_case (ex_buf3, buf_ptr1, token_len); {convert to `canonical' form}
+if (all_entries) then
+ lc_cite_loc := str_lookup(ex_buf3,buf_ptr1,token_len,lc_cite_ilk,do_insert)
+ else
+ lc_cite_loc := str_lookup(ex_buf3,buf_ptr1,token_len,lc_cite_ilk,
+ dont_insert);
+if (hash_found) then
+ begin
+ entry_cite_ptr := ilk_info[ilk_info[lc_cite_loc]];
+ @<Check for a duplicate or \.{crossref}-matching database key@>;
+ end;
+store_entry := true; {unless |(not hash_found) and (not all_entries)|}
+if (all_entries) then
+ @<Put this cite key in its place@>
+ else if (not hash_found) then
+ store_entry := false; {no such cite key exists on |cite_list|}
+if (store_entry) then
+ @<Make sure this entry is ok before proceeding@>;
+end
+
+
+@
+@:this can't happen}{\quad The cite list is messed up@>
+It's illegal to have two (or more) entries with the same database key
+(even if there are case differrences), and we skip the rest of the
+entry for such a repeat occurrence. Also, we make this entry's
+database key the official |cite_list| key if it's on |cite_list| only
+because of cross references.
+
+@<Check for a duplicate or \.{crossref}-matching database key@>=
+begin
+if ((not all_entries) or (entry_cite_ptr < all_marker)
+ or (entry_cite_ptr >= old_num_cites)) then
+ begin
+ if (type_list[entry_cite_ptr] = empty) then
+ begin
+ @<Make sure this entry's database key is on |cite_list|@>;
+ goto first_time_entry;
+ end;
+ end
+else if (not entry_exists[entry_cite_ptr]) then
+ begin
+ @<Find the lower-case equivalent of the |cite_info| key@>;
+ if (lc_xcite_loc = lc_cite_loc) then
+ goto first_time_entry;
+ end;@/
+ {oops---repeated entry---issue a reprimand}
+if (type_list[entry_cite_ptr] = empty) then
+ confusion ('The cite list is messed up');
+bib_err ('Repeated entry');
+first_time_entry: {note that when we leave normally, |hash_found| is |true|}
+end
+
+
+@
+An entry that's on |cite_list| only because of cross referencing must
+have its database key (rather than one of the \.{crossref} keys) as
+the official |cite_list| string. Here's where we assure that. The
+variable |hash_found| is |true| upon entrance to and exit from this
+module.
+
+@<Make sure this entry's database key is on |cite_list|@>=
+begin
+if ((not all_entries) and (entry_cite_ptr >= old_num_cites)) then
+ begin
+ cite_loc := str_lookup(buffer,buf_ptr1,token_len,cite_ilk,do_insert);
+ if (not hash_found) then
+ begin {it's not on |cite_list|---put it there}
+ ilk_info[lc_cite_loc] := cite_loc;
+ ilk_info[cite_loc] := entry_cite_ptr;
+ cite_list[entry_cite_ptr] := hash_text[cite_loc];@/
+ hash_found := true; {restore this value for later use}
+ end;
+ end;
+end
+
+
+@
+@^kludge@>
+@:this can't happen}{\quad A cite key disappeared@>
+This module, a simpler version of the
+|find_cite_locs_for_this_cite_key| function, exists primarily to
+compute |lc_xcite_loc|. When this code is executed we have
+|(all_entries) and (entry_cite_ptr >= all_marker) and (not
+entry_exists[entry_cite_ptr])|. The alias kludge helps make the stack
+space not overflow on some machines.
+
+@d ex_buf4 == ex_buf {aliases, used only}
+@d ex_buf4_ptr == ex_buf_ptr {in this module}
+
+@<Find the lower-case equivalent of the |cite_info| key@>=
+begin
+ex_buf4_ptr := 0;
+tmp_ptr := str_start[cite_info[entry_cite_ptr]];
+tmp_end_ptr := str_start[cite_info[entry_cite_ptr]+1];
+while (tmp_ptr < tmp_end_ptr) do
+ begin
+ ex_buf4[ex_buf4_ptr] := str_pool[tmp_ptr];
+ incr(ex_buf4_ptr);
+ incr(tmp_ptr);
+ end;
+lower_case (ex_buf4, 0, length(cite_info[entry_cite_ptr]));
+ {convert to `canonical' form}
+lc_xcite_loc := str_lookup(ex_buf4,0,length(cite_info[entry_cite_ptr]),
+ lc_cite_ilk,dont_insert);
+if (not hash_found) then
+ cite_key_disappeared_confusion;
+end
+
+
+@
+@:this can't happen}{\quad A cite key disappeared@>
+Here's another bug complaint.
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure cite_key_disappeared_confusion;
+begin
+confusion ('A cite key disappeared');
+end;
+
+
+@
+@:this can't happen}{\quad Cite hash error@>
+This module, which gets executed only when |all_entries| is |true|,
+does one of three things, depending on whether or not, and where, the
+cite key appears on |cite_list|: If it's on |cite_list| before
+|all_marker|, there's nothing to be done; if it's after |all_marker|,
+it must be reinserted (at the current place) and we must note that its
+corresponding entry exists; and if it's not on |cite_list| at all, it
+must be inserted for the first time. The |goto| construct must stay
+as is, partly because some \PASCAL\ compilers might complain if
+``|and|'' were to connect the two boolean expressions (since
+|entry_cite_ptr| could be uninitialized when |hash_found| is |false|).
+
+@<Put this cite key in its place@>=
+begin
+if (hash_found) then
+ begin
+ if (entry_cite_ptr < all_marker) then
+ goto cite_already_set {that is, do nothing}
+ else
+ begin
+ entry_exists[entry_cite_ptr] := true;
+ cite_loc := ilk_info[lc_cite_loc];
+ end;
+ end
+ else
+ begin {this is a new key}
+ cite_loc := str_lookup(buffer,buf_ptr1,token_len,cite_ilk,do_insert);
+ if (hash_found) then
+ hash_cite_confusion;
+ end;@/
+entry_cite_ptr := cite_ptr;
+add_database_cite (cite_ptr); {this increments |cite_ptr|}
+cite_already_set:
+end
+
+
+@
+@^case mismatch errors@>
+@^commented-out code@>
+We must give a warning if this entry~type doesn't exist. Also, we
+point the appropriate entry of |type_list| to the entry type just read
+above.
+
+For SCRIBE compatibility, the code to give a warning for a case
+mismatch between a cite key and a database key has been commented out.
+In fact, SCRIBE is the reason that it doesn't produce an error message
+outright. (Note: Case mismatches between two cite keys produce
+full-blown errors.)
+
+@<Make sure this entry is ok before proceeding@>=
+begin
+ @{
+ dummy_loc := str_lookup(buffer,buf_ptr1,token_len,cite_ilk,dont_insert);
+ if (not hash_found) then {give a warning if there is a case difference}
+ begin
+ print ('Warning--case mismatch, database key "');
+ print_token;
+ print ('", cite key "');
+ print_pool_str (cite_list[entry_cite_ptr]);
+ bib_warn_newline ('"');
+ end;
+ @}@/
+if (type_exists) then
+ type_list[entry_cite_ptr] := entry_type_loc
+ else
+ begin
+ type_list[entry_cite_ptr] := undefined;
+ print ('Warning--entry type for "');
+ print_token;
+ bib_warn_newline ('" isn''t style-file defined');
+ end;
+end
+
+
+@
+This module reads a |comma| and a field as many times as it can, and
+then reads a |right_outer_delim|, ending the current entry.
+
+@<Scan the entry's list of fields@>=
+begin
+while (scan_char <> right_outer_delim) do
+ begin
+ if (scan_char <> comma) then
+ bib_one_of_two_expected_err (comma,right_outer_delim);
+ incr(buf_ptr2); {skip over the |comma|}
+ eat_bib_white_and_eof_check;
+ if (scan_char = right_outer_delim) then
+ goto loop_exit;
+ @<Get the next field name@>;
+ eat_bib_white_and_eof_check;
+ if (not scan_and_store_the_field_value_and_eat_white) then
+ return;
+ end;
+loop_exit:
+incr(buf_ptr2); {skip over the |right_outer_delim|}
+end
+
+
+@
+This module reads a field name; its contents won't be stored unless it
+was declared in the \.{.bst} file and |store_entry = true|.
+
+@<Get the next field name@>=
+begin
+scan_identifier (equals_sign,equals_sign,equals_sign);
+bib_identifier_scan_check ('a field name');
+ trace
+ trace_pr_token;
+ trace_pr_ln (' is a field name');
+ ecart@/
+store_field := false;
+if (store_entry) then
+ begin
+ lower_case (buffer, buf_ptr1, token_len); {ignore case differences}
+ field_name_loc := str_lookup(
+ buffer,buf_ptr1,token_len,bst_fn_ilk,dont_insert);
+ if (hash_found) then
+ if (fn_type[field_name_loc]=field) then@/
+ store_field := true; {field name was pre-defined or \.{.bst}-declared}
+ end;
+eat_bib_white_and_eof_check;
+if (scan_char <> equals_sign) then
+ bib_equals_sign_expected_err;
+incr(buf_ptr2); {skip over the |equals_sign|}
+end
+
+
+@
+This gets things ready for further \.{.bst} processing.
+
+@<Final initialization for processing the entries@>=
+begin
+num_cites := cite_ptr; {to include database and \.{crossref} cite keys, too}
+num_preamble_strings := preamble_ptr; {number of \.{preamble} commands seen}
+@<Add cross-reference information@>;
+@<Subtract cross-reference information@>;
+@<Remove missing entries or those cross referenced too few times@>;
+@<Initialize the |int_entry_var|s@>;
+@<Initialize the |str_entry_var|s@>;
+@<Initialize the |sorted_cites|@>;
+end
+
+
+@
+@^child entry@>
+@^cross references@>
+@^nested cross references@>
+@^parent entry@>
+Now we update any entry (here called a {\it child\/} entry) that
+cross~referenced another (here called a {\it parent\/} entry); this
+cross~referencing occurs when the child's \.{crossref} field (value)
+consists of the parent's database key. To do the update, we replace
+the child's |missing| fields by the corresponding fields of the
+parent. Also, we make sure the \.{crossref} field contains the
+case-correct version. Finally, although it is technically illegal to
+nest cross~references, and although we give a warning (a few modules
+hence) when someone tries, we do what we can to accommodate the
+attempt.
+
+@<Add cross-reference information@>=
+begin
+cite_ptr := 0;
+while (cite_ptr < num_cites) do
+ begin
+ field_ptr := cite_ptr * num_fields + crossref_num;
+ if (field_info[field_ptr] <> missing) then
+ if (find_cite_locs_for_this_cite_key (field_info[field_ptr])) then
+ begin
+ cite_loc := ilk_info[lc_cite_loc];
+ field_info[field_ptr] := hash_text[cite_loc];
+ cite_parent_ptr := ilk_info[cite_loc];
+ field_ptr := cite_ptr * num_fields + num_pre_defined_fields;
+ field_end_ptr := field_ptr - num_pre_defined_fields + num_fields;
+ field_parent_ptr := cite_parent_ptr * num_fields
+ + num_pre_defined_fields;
+ while (field_ptr < field_end_ptr) do
+ begin
+ if (field_info[field_ptr] = missing) then
+ field_info[field_ptr] := field_info[field_parent_ptr];
+ incr(field_ptr);
+ incr(field_parent_ptr);
+ end;
+ end;
+ incr(cite_ptr);
+ end;
+end
+
+
+@
+@^kludge@>
+@^raisin@>
+Occasionally we need to figure out the hash-table location of a given
+cite-key string and its lower-case equivalent. This function does
+that. To perform the task it needs to borrow a buffer, a need that
+gives rise to the alias kludge---it helps make the stack space not
+overflow on some machines (and while it's at it, it'll borrow a
+pointer, too). Finally, the function returns |true| if the cite key
+exists on |cite_list|, and its sets |cite_hash_found| according to
+whether or not it found the actual version (before |lower_case|ing) of
+the cite key; however, its {\sl raison d'\^$\mkern-8mu$etre\/}
+(literally, ``to eat a raisin'') is to compute |cite_loc| and
+|lc_cite_loc|.
+
+@d ex_buf5 == ex_buf {aliases, used only}
+@d ex_buf5_ptr == ex_buf_ptr {in this module}
+
+@<Procedures and functions for handling numbers, characters, and strings@>=
+function find_cite_locs_for_this_cite_key (@!cite_str : str_number) : boolean;
+begin
+ex_buf5_ptr := 0;
+tmp_ptr := str_start[cite_str];
+tmp_end_ptr := str_start[cite_str+1];
+while (tmp_ptr < tmp_end_ptr) do
+ begin
+ ex_buf5[ex_buf5_ptr] := str_pool[tmp_ptr];
+ incr(ex_buf5_ptr);
+ incr(tmp_ptr);
+ end;
+cite_loc := str_lookup(ex_buf5,0,length(cite_str),cite_ilk,dont_insert);
+cite_hash_found := hash_found;
+lower_case (ex_buf5, 0, length(cite_str)); {convert to `canonical' form}
+lc_cite_loc := str_lookup(ex_buf5,0,length(cite_str),lc_cite_ilk,dont_insert);
+if (hash_found) then
+ find_cite_locs_for_this_cite_key := true
+ else
+ find_cite_locs_for_this_cite_key := false;
+end;
+
+
+@
+@:this can't happen}{\quad Cite hash error@>
+Here we remove the \.{crossref} field value for each child whose
+parent was cross~referenced too few times. We also issue any
+necessary warnings arising from a bad cross~reference.
+
+@<Subtract cross-reference information@>=
+begin
+cite_ptr := 0;
+while (cite_ptr < num_cites) do
+ begin
+ field_ptr := cite_ptr * num_fields + crossref_num;
+ if (field_info[field_ptr] <> missing) then
+ if (not find_cite_locs_for_this_cite_key (field_info[field_ptr])) then
+ begin {the parent is not on |cite_list|}
+ if (cite_hash_found) then
+ hash_cite_confusion;
+ nonexistent_cross_reference_error;
+ field_info[field_ptr] := missing; {remove the \.{crossref} ptr}
+ end
+ else
+ begin {the parent exists on |cite_list|}
+ if (cite_loc <> ilk_info[lc_cite_loc]) then
+ hash_cite_confusion;
+ cite_parent_ptr := ilk_info[cite_loc];
+ if (type_list[cite_parent_ptr] = empty) then
+ begin
+ nonexistent_cross_reference_error;@/
+ field_info[field_ptr] := missing; {remove the \.{crossref} ptr}
+ end
+ else
+ begin {the parent exists in the database too}
+ field_parent_ptr := cite_parent_ptr * num_fields + crossref_num;
+ if (field_info[field_parent_ptr] <> missing) then
+ @<Complain about a nested cross reference@>;
+ if ((not all_entries) and (cite_parent_ptr >= old_num_cites) and
+ (cite_info[cite_parent_ptr] < min_crossrefs)) then@/
+ field_info[field_ptr] := missing; {remove the \.{crossref} ptr}
+ end;
+ end;
+ incr(cite_ptr);
+ end;
+end
+
+
+@
+This procedure exists to save space, since it's used twice---once for
+each of the two succeeding modules.
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure bad_cross_reference_print (@!s:str_number);
+begin
+print ('--entry "');
+print_pool_str (cur_cite_str);
+print_ln ('"');
+print ('refers to entry "');
+print_pool_str (s);
+end;
+
+
+@
+When an entry being cross referenced doesn't exist on |cite_list|, we
+complain.
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure nonexistent_cross_reference_error;
+begin
+print ('A bad cross reference-');
+bad_cross_reference_print (field_info[field_ptr]);
+print_ln ('", which doesn''t exist');
+mark_error;
+end;
+
+
+@
+We also complain when an entry being cross referenced has a
+non|missing| \.{crossref} field itself, but this one is just a
+warning, not a full-blown error.
+
+@<Complain about a nested cross reference@>=
+begin
+print ('Warning--you''ve nested cross references');
+bad_cross_reference_print (cite_list[cite_parent_ptr]);
+print_ln ('", which also refers to something');
+mark_warning;
+end
+
+
+@
+We remove (and give a warning for) each cite key on the original
+|cite_list| without a corresponding database entry. And we remove any
+entry that was included on |cite_list| only because it was
+cross~referenced, yet was cross~referenced fewer than |min_crossrefs|
+times. Throughout this module, |cite_ptr| points to the next cite key
+to be checked and |cite_xptr| points to the next permanent spot on
+|cite_list|.
+
+@<Remove missing entries or those cross referenced too few times@>=
+begin
+cite_ptr := 0;
+while (cite_ptr < num_cites) do
+ begin
+ if (type_list[cite_ptr] = empty) then
+ print_missing_entry (cur_cite_str)
+ else if ((all_entries) or (cite_ptr < old_num_cites) or
+ (cite_info[cite_ptr] >= min_crossrefs)) then
+ begin
+ if (cite_ptr > cite_xptr) then
+ @<Slide this cite key down to its permanent spot@>;
+ incr(cite_xptr);
+ end;
+ incr(cite_ptr);
+ end;
+num_cites := cite_xptr;
+if (all_entries) then
+ @<Complain about missing entries whose cite keys got overwritten@>;
+end
+
+
+@
+When a cite key on the original |cite_list| (or added to |cite_list|
+because of cross~referencing) didn't appear in the database, complain.
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure print_missing_entry (@!s:str_number);
+begin
+print ('Warning--I didn''t find a database entry for "');
+print_pool_str (s);
+print_ln ('"');
+mark_warning;
+end;
+
+
+@
+@:this can't happen}{\quad A cite key disappeared@>
+@:this can't happen}{\quad Cite hash error@>
+We have to move to its final resting place all the entry information
+associated with the exact location in |cite_list| of this cite key.
+
+@<Slide this cite key down to its permanent spot@>=
+begin
+cite_list[cite_xptr] := cite_list[cite_ptr];
+type_list[cite_xptr] := type_list[cite_ptr];
+if (not find_cite_locs_for_this_cite_key (cite_list[cite_ptr])) then
+ cite_key_disappeared_confusion;
+if ((not cite_hash_found) or (cite_loc <> ilk_info[lc_cite_loc])) then
+ hash_cite_confusion;
+ilk_info[cite_loc] := cite_xptr;@/
+field_ptr := cite_xptr * num_fields;
+field_end_ptr := field_ptr + num_fields;
+tmp_ptr := cite_ptr * num_fields;
+while (field_ptr < field_end_ptr) do
+ begin
+ field_info[field_ptr] := field_info[tmp_ptr];
+ incr(field_ptr);
+ incr(tmp_ptr);
+ end;
+end
+
+
+@
+We need this module only when we're including the whole database.
+It's for missing entries whose cite key originally resided in
+|cite_list| at a spot that another cite key (might have) claimed.
+
+@<Complain about missing entries whose cite keys got overwritten@>=
+begin
+cite_ptr := all_marker;
+while (cite_ptr < old_num_cites) do
+ begin
+ if (not entry_exists[cite_ptr]) then
+ print_missing_entry (cite_info[cite_ptr]);
+ incr(cite_ptr);
+ end;
+end
+
+
+@
+@:BibTeX capacity exceeded}{\quad total number of integer entry-variables@>
+This module initializes all |int_entry_var|s of all entries to 0, the
+value to which all integers are initialized.
+
+@<Initialize the |int_entry_var|s@>=
+begin
+if (num_ent_ints*num_cites > max_ent_ints) then
+ begin
+ print (num_ent_ints*num_cites,': ');
+ overflow('total number of integer entry-variables ',max_ent_ints);
+ end;
+int_ent_ptr := 0;
+while (int_ent_ptr < num_ent_ints*num_cites) do
+ begin
+ entry_ints[int_ent_ptr] := 0;
+ incr(int_ent_ptr);
+ end;
+end
+
+
+@
+@:BibTeX capacity exceeded}{\quad total number of string entry-variables@>
+This module initializes all |str_entry_var|s of all entries to the
+null string, the value to which all strings are initialized.
+
+@<Initialize the |str_entry_var|s@>=
+begin
+if (num_ent_strs*num_cites > max_ent_strs) then
+ begin
+ print (num_ent_strs*num_cites,': ');
+ overflow('total number of string entry-variables ',max_ent_strs);
+ end;
+str_ent_ptr := 0;
+while (str_ent_ptr < num_ent_strs*num_cites) do
+ begin
+ entry_strs[str_ent_ptr][0] := end_of_string;
+ incr(str_ent_ptr);
+ end;
+end
+
+
+@
+The array |sorted_cites| initially specifies that the entries are to
+be processed in order of cite-key occurrence. The \.{sort} command
+may change this to whatever it likes (which, we hope, is whatever the
+style-designer instructs it to like). We make |sorted_cites| an alias
+to save space; this works fine because we're done with |cite_info|.
+
+@d sorted_cites == cite_info {an alias used for the rest of the program}
+
+@<Initialize the |sorted_cites|@>=
+begin
+cite_ptr := 0;
+while (cite_ptr < num_cites) do
+ begin
+ sorted_cites[cite_ptr] := cite_ptr;
+ incr(cite_ptr);
+ end;
+end
+
+
+
+@* Executing the style file.
+This part of the program produces the output by executing the
+\.{.bst}-file commands \.{execute}, \.{iterate}, \.{reverse}, and
+\.{sort}. To do this it uses a stack (consisting of the two arrays
+|lit_stack| and |lit_stk_type|) for storing literals, a buffer
+|ex_buf| for manipulating strings, and an array |sorted_cites|
+for holding pointers to the sorted cite keys (|sorted_cites| is an
+alias of |cite_info|).
+
+@<Globals in the outer block@>=
+@!lit_stack : array[lit_stk_loc] of integer; {the literal function stack}
+@!lit_stk_type : array[lit_stk_loc] of stk_type; {their corresponding types}
+@!lit_stk_ptr : lit_stk_loc; {points just above the top of the stack}
+@!cmd_str_ptr : str_number; {stores value of |str_ptr| during execution}
+@!ent_chr_ptr : 0..ent_str_size; {points at a |str_entry_var| character}
+@!glob_chr_ptr : 0..glob_str_size; {points at a |str_global_var| character}
+@!ex_buf : buf_type; {a buffer for manipulating strings}
+@!ex_buf_ptr : buf_pointer; {general |ex_buf| location}
+@!ex_buf_length : buf_pointer; {the length of the current string in |ex_buf|}
+@!out_buf : buf_type; {the \.{.bbl} output buffer}
+@!out_buf_ptr : buf_pointer; {general |out_buf| location}
+@!out_buf_length : buf_pointer; {the length of the current string in |out_buf|}
+@!mess_with_entries : boolean; {|true| if functions can use entry info}
+@!sort_cite_ptr : cite_number; {a loop index for the sorted cite keys}
+@!sort_key_num : str_ent_loc; {index for the |str_entry_var| \.{sort.key\$}}
+@!brace_level : integer; {the brace nesting depth within a string}
+
+
+@
+Where |lit_stk_loc| is a stack location, and where |stk_type| gives
+one of the three types of literals (an integer, a string, or a
+function) or a special marker. If a |lit_stk_type| element is a
+|stk_int| then the corresponding |lit_stack| element is an integer; if
+a |stk_str|, then a pointer to a |str_pool| string; and if a |stk_fn|,
+then a pointer to the function's hash-table location. However, if the
+literal should have been a |stk_str| that was the value of a field
+that happened to be |missing|, then the special value
+|stk_field_missing| goes on the stack instead; its corresponding
+|lit_stack| element is a pointer to the field-name's string. Finally,
+|stk_empty| is the type of a literal popped from an empty stack.
+
+@d stk_int = 0 {an integer literal}
+@d stk_str = 1 {a string literal}
+@d stk_fn = 2 {a function literal}
+@d stk_field_missing = 3 {a special marker: a field value was missing}
+@d stk_empty = 4 {another: the stack was empty when this was popped}
+@d last_lit_type = 4 {the same number as on the line above}
+
+@<Types in the outer block@>=
+@!lit_stk_loc = 0..lit_stk_size; {the stack range}
+@!stk_type = 0..last_lit_type; {the literal types}
+
+
+@
+And the first output line requires this initialization.
+
+@<Set initial values of key variables@>=
+out_buf_length := 0;
+
+
+@
+When there's an error while executing \.{.bst} functions, what we do
+depends on whether the function is messing with the entries.
+Furthermore this error is serious enough to classify as an
+|error_message| instead of a |warning_message|. These messages (that
+is, from |bst_ex_warn|) are meant both for the user and for the style
+designer while debugging.
+
+@d bst_ex_warn(#) == begin {error while executing some function}
+ print (#);
+ bst_ex_warn_print;
+ end
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure bst_ex_warn_print;
+begin
+if (mess_with_entries) then
+ begin
+ print (' for entry ');
+ print_pool_str (cur_cite_str);
+ end;
+print_newline;
+print ('while executing-');
+bst_ln_num_print;
+mark_error;
+end;
+
+
+@
+When an error is so harmless, we print a |warning_message| instead of
+an |error_message|.
+
+@d bst_mild_ex_warn(#) == begin {error while executing some function}
+ print (#);
+ bst_mild_ex_warn_print;
+ end
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure bst_mild_ex_warn_print;
+begin
+if (mess_with_entries) then
+ begin
+ print (' for entry ');
+ print_pool_str (cur_cite_str);
+ end;
+print_newline;
+bst_warn ('while executing'); {This does the |mark_warning|}
+end;
+
+
+@
+It's illegal to mess with the entry information at certain times;
+here's a complaint for these times.
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure bst_cant_mess_with_entries_print;
+begin
+bst_ex_warn ('You can''t mess with entries here');
+end;
+
+
+@
+This module executes a single specified function once. It can't do
+anything with the entries.
+
+@<Perform an \.{execute} command@>=
+begin
+init_command_execution;
+mess_with_entries := false;
+execute_fn (fn_loc);
+check_command_execution;
+end
+
+
+@
+This module iterates a single specified function for all entries
+specified by |cite_list|.
+
+@<Perform an \.{iterate} command@>=
+begin
+init_command_execution;
+mess_with_entries := true;
+sort_cite_ptr := 0;
+while (sort_cite_ptr < num_cites) do
+ begin
+ cite_ptr := sorted_cites[sort_cite_ptr];
+ trace
+ trace_pr_pool_str (hash_text[fn_loc]);
+ trace_pr (' to be iterated on ');
+ trace_pr_pool_str (cur_cite_str);
+ trace_pr_newline;
+ ecart@/
+ execute_fn (fn_loc);
+ check_command_execution;
+ incr(sort_cite_ptr);
+ end;
+end
+
+
+@
+This module iterates a single specified function for all entries
+specified by |cite_list|, but does it in reverse order.
+
+@<Perform a \.{reverse} command@>=
+begin
+init_command_execution;
+mess_with_entries := true;
+if (num_cites > 0) then
+ begin
+ sort_cite_ptr := num_cites;
+ repeat
+ decr(sort_cite_ptr);
+ cite_ptr := sorted_cites[sort_cite_ptr];
+ trace
+ trace_pr_pool_str (hash_text[fn_loc]);
+ trace_pr (' to be iterated in reverse on ');
+ trace_pr_pool_str (cur_cite_str);
+ trace_pr_newline;
+ ecart@/
+ execute_fn (fn_loc);
+ check_command_execution;
+ until (sort_cite_ptr = 0);
+ end;
+end
+
+
+@
+This module sorts the entries based on \.{sort.key\$}; it is a stable
+sort.
+
+@<Perform a \.{sort} command@>=
+begin
+ trace
+ trace_pr_ln ('Sorting the entries');
+ ecart@/
+if (num_cites > 1) then
+ quick_sort (0, num_cites-1);
+ trace
+ trace_pr_ln ('Done sorting');
+ ecart@/
+end
+
+
+@
+These next two procedures (actually, one procedures and one function,
+but who's counting) are subroutines for |quick_sort|, which follows.
+The |swap| procedure exchanges the two elements its arguments point
+to.
+
+@<Procedures and functions for handling numbers, characters, and strings@>=
+procedure swap (@!swap1,@!swap2 : cite_number);
+var innocent_bystander : cite_number; {the temporary element in an exchange}
+begin
+innocent_bystander := sorted_cites[swap2];
+sorted_cites[swap2] := sorted_cites[swap1];
+sorted_cites[swap1] := innocent_bystander;
+end;
+
+
+@
+@:this can't happen}{\quad Duplicate sort key@>
+The function |less_than| compares the two \.{sort.key\$}s indirectly
+pointed to by its arguments and returns |true| if the first argument's
+\.{sort.key\$} is lexicographically less than the second's (that is,
+alphabetically earlier). In case of ties the function compares the
+indices |arg1| and |arg2|, which are assumed to be different, and
+returns |true| if the first is smaller. This function uses
+|ASCII_code|s to compare, so it might give ``interesting'' results
+when handling nonletters.
+
+@d compare_return(#) == begin {the compare is finished}
+ less_than := #;
+ return;
+ end
+
+@<Procedures and functions for handling numbers, characters, and strings@>=
+function less_than (@!arg1,@!arg2 : cite_number) : boolean;
+label exit;
+var char_ptr : 0..ent_str_size; {character index into compared strings}
+ @!ptr1,@!ptr2 : str_ent_loc; {the two \.{sort.key\$} pointers}
+ @!char1,@!char2 : ASCII_code; {the two characters being compared}
+begin
+ptr1 := arg1*num_ent_strs + sort_key_num;
+ptr2 := arg2*num_ent_strs + sort_key_num;
+char_ptr := 0;
+loop
+ begin
+ char1 := entry_strs[ptr1][char_ptr];
+ char2 := entry_strs[ptr2][char_ptr];
+ if (char1 = end_of_string) then
+ if (char2 = end_of_string) then
+ if (arg1 < arg2) then
+ compare_return (true)
+ else if (arg1 > arg2) then
+ compare_return (false)
+ else {|arg1 = arg2|}
+ confusion ('Duplicate sort key')
+ else {|char2 <> end_of_string|}
+ compare_return (true)
+ else {|char1 <> end_of_string|}
+ if (char2 = end_of_string) then
+ compare_return (false)
+ else if (char1 < char2) then
+ compare_return (true)
+ else if (char1 > char2) then
+ compare_return (false);
+ incr(char_ptr);
+ end;
+exit:
+end;
+
+
+@
+The recursive procedure |quick_sort| sorts the entries indirectly
+pointed to by the |sorted_cites| elements between |left_end| and
+|right_end|, inclusive, based on the value of the |str_entry_var|
+\.{sort.key\$}. It's a fairly standard quicksort (for example, see
+Algorithm 5.2.2Q in {\sl The Art of Computer Programming}), but uses
+the median-of-three method to choose the partition element just in
+case the entries are already sorted (or nearly sorted---humans and
+ASCII might have different ideas on lexicographic ordering); it is a
+stable sort. This code generally prefers clarity to assembler-type
+execution-time efficiency since |cite_list|s will rarely be huge.
+
+The value |short_list|, which must be at least |2*end_offset + 2| for
+this code to work, tells us the list-length at which the list is small
+enough to warrant switching over to straight insertion sort from the
+recursive quicksort. The values here come from modest empirical tests
+aimed at minimizing, for large |cite_list|s (five hundred or so), the
+number of comparisons (between keys) plus the number of calls to
+|quick_sort|. The value |end_offset| must be positive; this helps
+avoid $n^2$ behavior observed when the list starts out nearly, but not
+completely, sorted (and fairly frequently large |cite_list|s come from
+entire databases, which fairly frequently are nearly sorted).
+
+@d short_list = 10 {use straight insertion sort at or below this length}
+@d end_offset = 4 {the index end-offsets for choosing a median-of-three}
+
+@<Check the ``constant'' values for consistency@>=
+if (short_list < 2*end_offset + 2) then bad:=100*bad+22;
+
+
+@
+Here's the actual procedure.
+
+@d next_insert = 24 {now insert the next element}
+
+@<Procedures and functions for handling numbers, characters, and strings@>=
+procedure quick_sort (@!left_end,@!right_end : cite_number);
+label next_insert;
+var left,@!right : cite_number; {two general |sorted_cites| pointers}
+ @!insert_ptr : cite_number; {the to-be-(straight)-inserted element}
+ @!middle : cite_number; {the |(left_end+right_end) div 2| element}
+ @!partition : cite_number; {the median-of-three partition element}
+begin
+ trace
+ trace_pr_ln ('Sorting ',left_end:0,' through ',right_end:0);
+ ecart@/
+if (right_end - left_end < short_list) then
+ @<Do a straight insertion sort@>
+ else
+ begin
+ @<Draw out the median-of-three partition element@>;
+ @<Do the partitioning and the recursive calls@>;
+ end;
+end;
+
+
+@
+This code sorts the entries between |left_end| and |right_end| when
+the difference is less than |short_list|. Each iteration of the outer
+loop inserts the element indicated by |insert_ptr| into its proper
+place among the (sorted) elements from |left_end| through
+|insert_ptr-1|.
+
+@<Do a straight insertion sort@>=
+begin
+for insert_ptr := left_end+1 to right_end do
+ begin
+ for right := insert_ptr downto left_end+1 do
+ begin
+ if (less_than (sorted_cites[right-1], sorted_cites[right])) then
+ goto next_insert;
+ swap (right-1, right);
+ end;
+next_insert:
+ end;
+end
+
+
+@
+Now we find the median of the three \.{sort.key\$}s to which the three
+elements |sorted_cites[left_end+end_offset]|,
+|sorted_cites[right_end]-end_offset|, and
+|sorted_cites[(left_end+right_end) div 2]| point (a nonzero
+|end_offset| avoids using as the leftmost of the three elements the
+one that was swapped there when the old partition element was swapped
+into its final spot; this turns out to avoid $n^2$ behavior when the
+list is nearly sorted to start with). This code determines which of
+the six possible permutations we're dealing with and moves the median
+element to |left_end|. The comments next to the |swap| actions give
+the known orderings of the corresponding elements of |sorted_cites|
+before the action.
+
+@<Draw out the median-of-three partition element@>=
+begin
+left := left_end + end_offset;
+middle := (left_end+right_end) div 2;
+right := right_end - end_offset;
+if (less_than (sorted_cites[left], sorted_cites[middle])) then
+ if (less_than (sorted_cites[middle], sorted_cites[right])) then
+ {|left < middle < right|}
+ swap(left_end,middle)
+ else if (less_than (sorted_cites[left], sorted_cites[right])) then
+ {|left < right < middle|}
+ swap(left_end,right)
+ else {|right < left < middle|}
+ swap(left_end,left)
+ else if (less_than (sorted_cites[right], sorted_cites[middle])) then
+ {|right < middle < left|}
+ swap(left_end,middle)
+ else if (less_than (sorted_cites[right], sorted_cites[left])) then
+ {|middle < right < left|}
+ swap(left_end,right)
+ else {|middle < left < right|}
+ swap(left_end,left);
+end
+
+
+@
+This module uses the median-of-three computed above to partition the
+elements into those less than and those greater than the median.
+Equal \.{sort.key\$}s are sorted by order of occurrence (in
+|cite_list|).
+
+@<Do the partitioning and the recursive calls@>=
+begin
+partition := sorted_cites[left_end];
+left := left_end + 1;
+right := right_end;
+repeat
+ while (less_than (sorted_cites[left], partition)) do
+ incr(left);
+ while (less_than (partition, sorted_cites[right])) do
+ decr(right);
+ {now |sorted_cites[right] < partition < sorted_cites[left]|}
+ if (left < right) then
+ begin
+ swap (left,right);
+ incr(left);
+ decr(right);
+ end;
+until (left = right+1); {pointers have crossed}
+swap (left_end,right);{restoring the partition element to its |right|ful place}
+quick_sort (left_end,right-1);
+quick_sort (left,right_end);
+end
+
+
+@
+@:BibTeX capacity exceeded}{\quad literal-stack size@>
+@:this can't happen}{\quad Unknown literal type@>
+Ok, that's it for sorting; now we'll play with the literal stack.
+This procedure pushes a literal onto the stack, checking for stack
+overflow.
+
+@<Procedures and functions for style-file function execution@>=
+procedure push_lit_stk (@!push_lt:integer; @!push_type:stk_type);
+ trace
+ var dum_ptr : lit_stk_loc; {used just as an index variable}
+ ecart@/
+begin
+lit_stack[lit_stk_ptr] := push_lt;
+lit_stk_type[lit_stk_ptr] := push_type;
+ trace
+ for dum_ptr := 0 to lit_stk_ptr do
+ trace_pr (' ');
+ trace_pr ('Pushing ');
+ case (lit_stk_type[lit_stk_ptr]) of
+ stk_int : trace_pr_ln (lit_stack[lit_stk_ptr]:0);
+ stk_str : begin
+ trace_pr ('"');
+ trace_pr_pool_str (lit_stack[lit_stk_ptr]);
+ trace_pr_ln ('"');
+ end;
+ stk_fn : begin
+ trace_pr ('`');
+ trace_pr_pool_str (hash_text[lit_stack[lit_stk_ptr]]);
+ trace_pr_ln ('''');
+ end;
+ stk_field_missing : begin
+ trace_pr ('missing field `');
+ trace_pr_pool_str (lit_stack[lit_stk_ptr]);
+ trace_pr_ln ('''');
+ end;
+ stk_empty : trace_pr_ln ('a bad literal--popped from an empty stack');
+ othercases unknwn_literal_confusion
+ endcases;
+ ecart@/
+if (lit_stk_ptr = lit_stk_size) then
+ overflow('literal-stack size ',lit_stk_size);
+incr(lit_stk_ptr);
+end;
+
+
+@
+@^push the literal stack@>
+This macro pushes the last thing, necessarily a string, that was
+popped. And this module, along with others that push the literal
+stack without explicitly calling |push_lit_stack|, have an index entry
+under ``push the literal stack''; these implicit pushes collectively
+speed up the program by about ten percent.
+
+@d repush_string == begin
+ if (lit_stack[lit_stk_ptr] >= cmd_str_ptr) then
+ unflush_string;
+ incr(lit_stk_ptr);
+ end
+
+
+@
+@:this can't happen}{\quad Nontop top of string stack@>
+This procedure pops the stack, checking for, and trying to recover
+from, stack underflow. (Actually, this procedure is really a
+function, since it returns the two values through its |var|
+parameters.) Also, if the literal being popped is a |stk_str| that's
+been created during the execution of the current \.{.bst} command, pop
+it from |str_pool| as well (it will be the string corresponding to
+|str_ptr-1|). Note that when this happens, the string is no longer
+`officially' available so that it must be used before anything else is
+added to |str_pool|.
+
+@<Procedures and functions for style-file function execution@>=
+procedure pop_lit_stk (var pop_lit:integer; var pop_type:stk_type);
+begin
+if (lit_stk_ptr = 0) then
+ begin
+ bst_ex_warn ('You can''t pop an empty literal stack');@/
+ pop_type := stk_empty; {this is an error recovery attempt}
+ end
+ else
+ begin
+ decr(lit_stk_ptr);
+ pop_lit := lit_stack[lit_stk_ptr];
+ pop_type := lit_stk_type[lit_stk_ptr];
+ if (pop_type = stk_str) then
+ if (pop_lit >= cmd_str_ptr) then
+ begin
+ if (pop_lit <> str_ptr-1) then
+ confusion ('Nontop top of string stack');
+ flush_string;
+ end;
+ end;
+end;
+
+
+@
+@:this can't happen}{\quad Illegal literal type@>
+@:this can't happen}{\quad Unknown literal type@>
+More bug complaints, this time about bad literals.
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure illegl_literal_confusion;
+begin
+confusion ('Illegal literal type');
+end;
+@#
+procedure unknwn_literal_confusion;
+begin
+confusion ('Unknown literal type');
+end;
+
+
+@
+@:this can't happen}{\quad Illegal literal type@>
+@:this can't happen}{\quad Unknown literal type@>
+Occasionally we'll want to know what's on the literal stack. Here we
+print out a stack literal, giving its type. This procedure should
+never be called after popping an empty stack.
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure print_stk_lit (@!stk_lt:integer; @!stk_tp:stk_type);
+begin
+case (stk_tp) of
+ stk_int : print (stk_lt:0,' is an integer literal');
+ stk_str : begin
+ print ('"');
+ print_pool_str (stk_lt);
+ print ('" is a string literal');
+ end;
+ stk_fn : begin
+ print ('`');
+ print_pool_str (hash_text[stk_lt]);
+ print (''' is a function literal');
+ end;
+ stk_field_missing : begin
+ print ('`');
+ print_pool_str (stk_lt);
+ print (''' is a missing field');
+ end;
+ stk_empty : illegl_literal_confusion;
+ othercases unknwn_literal_confusion
+endcases;
+end;
+
+
+@
+@:this can't happen}{\quad Illegal literal type@>
+@:this can't happen}{\quad Unknown literal type@>
+This procedure appropriately chastises the style designer; however, if
+the wrong literal came from popping an empty stack, the procedure
+|pop_lit_stack| will have already done the chastising (because this
+procedure is called only after popping the stack) so there's no need
+for more.
+
+@<Procedures and functions for style-file function execution@>=
+procedure print_wrong_stk_lit (@!stk_lt:integer; @!stk_tp1,@!stk_tp2:stk_type);
+begin
+if (stk_tp1 <> stk_empty) then
+ begin
+ print_stk_lit (stk_lt, stk_tp1);
+ case (stk_tp2) of
+ stk_int : print (', not an integer,');
+ stk_str : print (', not a string,');
+ stk_fn : print (', not a function,');
+ stk_field_missing,
+ stk_empty : illegl_literal_confusion;
+ othercases unknwn_literal_confusion
+ endcases;
+ bst_ex_warn_print;
+ end;
+end;
+
+
+@
+@:this can't happen}{\quad Illegal literal type@>
+@:this can't happen}{\quad Unknown literal type@>
+This is similar to |print_stk_lit|, but here we don't give the
+literal's type, and here we end with a new line. This procedure
+should never be called after popping an empty stack.
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure print_lit (@!stk_lt:integer; @!stk_tp:stk_type);
+begin
+case (stk_tp) of
+ stk_int : print_ln (stk_lt:0);
+ stk_str : begin
+ print_pool_str (stk_lt);
+ print_newline;
+ end;
+ stk_fn : begin
+ print_pool_str (hash_text[stk_lt]);
+ print_newline;
+ end;
+ stk_field_missing : begin
+ print_pool_str (stk_lt);
+ print_newline;
+ end;
+ stk_empty : illegl_literal_confusion;
+ othercases unknwn_literal_confusion
+endcases;
+end;
+
+
+@
+This procedure pops and prints the top of the stack; when the stack is
+empty the procedure |pop_lit_stk| complains.
+
+@<Procedures and functions for style-file function execution@>=
+procedure pop_top_and_print;
+var stk_lt : integer;
+ @!stk_tp : stk_type;
+begin
+pop_lit_stk (stk_lt,stk_tp);
+if (stk_tp = stk_empty) then
+ print_ln ('Empty literal')
+ else
+ print_lit (stk_lt,stk_tp);
+end;
+
+
+@
+This procedure pops and prints the whole stack.
+
+@<Procedures and functions for style-file function execution@>=
+procedure pop_whole_stack;
+begin
+while (lit_stk_ptr > 0) do
+ pop_top_and_print;
+end;
+
+
+@
+At the beginning of a \.{.bst}-command execution we make the stack
+empty and record how much of |str_pool| has been used.
+
+@<Procedures and functions for style-file function execution@>=
+procedure init_command_execution;
+begin
+lit_stk_ptr := 0; {make the stack empty}
+cmd_str_ptr := str_ptr; {we'll check this when we finish command execution}
+end;
+
+
+@
+@:this can't happen}{\quad Nonempty empty string stack@>
+At the end of a \.{.bst} command-execution we check that the stack and
+|str_pool| are still in good shape.
+
+@<Procedures and functions for style-file function execution@>=
+procedure check_command_execution;
+begin
+if (lit_stk_ptr<>0) then
+ begin
+ print_ln ('ptr=',lit_stk_ptr:0,', stack=');
+ pop_whole_stack;
+ bst_ex_warn ('---the literal stack isn''t empty');
+ end;
+if (cmd_str_ptr<>str_ptr) then
+ begin
+ trace
+ print_ln ('Pointer is ',str_ptr:0,' but should be ',cmd_str_ptr:0);
+ ecart@/
+ confusion ('Nonempty empty string stack');
+ end;
+end;
+
+
+@
+This procedure adds to |str_pool| the string from |ex_buf[0]| through
+|ex_buf[ex_buf_length-1]| if it will fit. It assumes the global
+variable |ex_buf_length| gives the length of the current string in
+|ex_buf|. It then pushes this string onto the literal stack.
+
+@<Procedures and functions for style-file function execution@>=
+procedure add_pool_buf_and_push;
+begin
+str_room (ex_buf_length); {make sure this string will fit}
+ex_buf_ptr := 0;
+while (ex_buf_ptr < ex_buf_length) do
+ begin
+ append_char (ex_buf[ex_buf_ptr]);
+ incr(ex_buf_ptr);
+ end;
+push_lit_stk (make_string, stk_str); {and push it onto the stack}
+end;
+
+
+@
+@:BibTeX capacity exceeded}{\quad buffer size@>
+These macros append a character to |ex_buf|. Which is called depends
+on whether the character is known to fit.
+
+@d append_ex_buf_char(#) == begin
+ ex_buf[ex_buf_ptr] := #;
+ incr(ex_buf_ptr);
+ end
+@#
+@d append_ex_buf_char_and_check(#) ==
+ begin
+ if (ex_buf_ptr = buf_size) then
+ buffer_overflow;
+ append_ex_buf_char(#);
+ end
+
+
+@
+@:BibTeX capacity exceeded}{\quad buffer size@>
+This procedure adds to the execution buffer the given string in
+|str_pool| if it will fit. It assumes the global variable
+|ex_buf_length| gives the length of the current string in |ex_buf|,
+and thus also gives the location of the next character.
+
+@<Procedures and functions for style-file function execution@>=
+procedure add_buf_pool (@!p_str : str_number);
+begin
+p_ptr1 := str_start[p_str];
+p_ptr2 := str_start[p_str+1];
+if (ex_buf_length+(p_ptr2-p_ptr1) > buf_size) then
+ buffer_overflow;
+ex_buf_ptr := ex_buf_length;
+while (p_ptr1 < p_ptr2) do
+ begin {copy characters into the buffer}
+ append_ex_buf_char (str_pool[p_ptr1]);
+ incr(p_ptr1);
+ end;
+ex_buf_length := ex_buf_ptr;
+end;
+
+
+@
+This procedure actually writes onto the \.{.bbl}~file a line of output
+(the characters from |out_buf[0]| to |out_buf[out_buf_length-1]|,
+after removing trailing |white_space| characters). It also updates
+|bbl_line_num|, the line counter. It writes a blank line if and only
+if |out_buf| is empty. The program uses this procedure in such a way
+that |out_buf| will be nonempty if there have been characters put in
+it since the most recent \.{newline\$}.
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure output_bbl_line;
+label loop_exit,@!exit;
+begin
+if (out_buf_length <> 0) then {the buffer's not empty}
+ begin
+ while (out_buf_length > 0) do {remove trailing |white_space|}
+ if (lex_class[out_buf[out_buf_length-1]] = white_space) then
+ decr(out_buf_length)
+ else
+ goto loop_exit;
+loop_exit:
+ if (out_buf_length = 0) then {ignore a line of just |white_space|}
+ return;
+ out_buf_ptr := 0;
+ while (out_buf_ptr < out_buf_length) do
+ begin
+ write (bbl_file, xchr[out_buf[out_buf_ptr]]);
+ incr(out_buf_ptr);
+ end;
+ end;
+write_ln (bbl_file);
+incr(bbl_line_num); {update line number}
+out_buf_length := 0; {make the next line empty}
+exit:
+end;
+
+
+@
+@:BibTeX capacity exceeded}{\quad output buffer size@>
+This procedure adds to the output buffer the given string in
+|str_pool|. It assumes the global variable |out_buf_length| gives the
+length of the current string in |out_buf|, and thus also gives the
+location for the next character. If there are enough characters
+present in the output buffer, it writes one or more lines out to the
+\.{.bbl} file. It breaks a line only at a |white_space| character,
+and when it does, it adds two |space|s to the next output line.
+
+@<Procedures and functions for style-file function execution@>=
+procedure add_out_pool (@!p_str : str_number);
+label loop1_exit,loop2_exit;
+var break_ptr : buf_pointer; {the first character following the line break}
+@!end_ptr : buf_pointer; {temporary end-of-buffer pointer}
+break_pt_found : boolean; {a suitable |white_space| character}
+unbreakable_tail : boolean; {as it contains no |white_space| character}
+begin
+p_ptr1 := str_start[p_str];
+p_ptr2 := str_start[p_str+1];
+if (out_buf_length+(p_ptr2-p_ptr1) > buf_size) then
+ overflow('output buffer size ',buf_size);
+out_buf_ptr := out_buf_length;
+while (p_ptr1 < p_ptr2) do
+ begin {copy characters into the buffer}
+ out_buf[out_buf_ptr] := str_pool[p_ptr1];
+ incr(p_ptr1);
+ incr(out_buf_ptr);
+ end;
+out_buf_length := out_buf_ptr;
+unbreakable_tail := false;
+while ((out_buf_length > max_print_line) and (not unbreakable_tail)) do
+ @<Break that line@>;
+end;
+
+
+@
+Here we break the line by looking for a |white_space| character,
+backwards from |out_buf[max_print_line]| until
+|out_buf[min_print_line]|; we break at the |white_space| and indent
+the next line two |space|s. The next module handles things when
+there's no |white_space| character to break at. (It seems that the
+annoyances to the average user of a warning message when there's an
+output line longer than |max_print_line| outweigh the benefits, so we
+don't issue such warnings in the current code.)
+
+@<Break that line@>=
+begin
+end_ptr := out_buf_length;
+out_buf_ptr := max_print_line;
+break_pt_found := false;
+while ((lex_class[out_buf[out_buf_ptr]] <> white_space) and
+ (out_buf_ptr >= min_print_line)) do
+ decr(out_buf_ptr);
+if (out_buf_ptr = min_print_line-1) then {no |white_space| character}
+ @<Break that unbreakably long line@> {(if |white_space| follows)}
+else
+ break_pt_found := true; {hit a |white_space| character}
+if (break_pt_found) then
+ begin
+ out_buf_length := out_buf_ptr;
+ break_ptr := out_buf_length + 1;
+ output_bbl_line; {output what we can}
+ out_buf[0] := space;
+ out_buf[1] := space; {start the next line with two |space|s}
+ out_buf_ptr := 2;
+ tmp_ptr := break_ptr;
+ while (tmp_ptr < end_ptr) do {and slide the rest down}
+ begin
+ out_buf[out_buf_ptr] := out_buf[tmp_ptr];
+ incr(out_buf_ptr);
+ incr(tmp_ptr);
+ end;
+ out_buf_length := end_ptr - break_ptr + 2;
+ end;
+end
+
+
+@
+If there's no |white_space| character up through
+|out_buf[max_print_line]|, we instead break the line at the first
+following |white_space| character, if one exists. And if, starting
+with that |white_space| character, there are multiple consecutive
+|white_space| characters, |out_buf_ptr| points to the last of them.
+If no |white_space| character exists, we haven't found a viable break
+point, so we don't break the line (yet).
+
+@<Break that unbreakably long line@>=
+begin
+out_buf_ptr := max_print_line + 1; {|break_pt_found| is still |false|}
+while (out_buf_ptr < end_ptr) do
+ if (lex_class[out_buf[out_buf_ptr]] <> white_space) then
+ incr(out_buf_ptr)
+ else
+ goto loop1_exit;
+loop1_exit:
+if (out_buf_ptr = end_ptr) then
+ unbreakable_tail := true {because no |white_space| character}
+else {at |white_space|, and |out_buf_ptr < end_ptr|}
+ begin
+ break_pt_found := true;
+ while (out_buf_ptr+1 < end_ptr) do {look for more |white_space|}
+ if (lex_class[out_buf[out_buf_ptr+1]] = white_space) then
+ incr(out_buf_ptr) {which then points to |white_space|}
+ else
+ goto loop2_exit;
+loop2_exit:
+ end;
+end
+
+
+@
+@^Tuesdays@>
+@^windows@>
+@:this can't happen}{\quad Unknown function class@>
+This procedure executes a single specified function; it is the single
+execution-primitive that does everything (except windows, and it takes
+Tuesdays off).
+
+@<|execute_fn| itself@>=
+procedure execute_fn (@!ex_fn_loc : hash_loc);
+@<Declarations for executing |built_in| functions@>
+@!wiz_ptr : wiz_fn_loc; {general |wiz_functions| location}
+begin
+ trace
+ trace_pr ('execute_fn `');
+ trace_pr_pool_str (hash_text[ex_fn_loc]);
+ trace_pr_ln ('''');
+ ecart@/
+case (fn_type[ex_fn_loc]) of
+ built_in : @<Execute a |built_in| function@>;
+ wiz_defined : @<Execute a |wiz_defined| function@>;
+ int_literal : push_lit_stk (fn_info[ex_fn_loc], stk_int);
+ str_literal : push_lit_stk (hash_text[ex_fn_loc], stk_str);
+ field : @<Execute a field@>;
+ int_entry_var : @<Execute an |int_entry_var|@>;
+ str_entry_var : @<Execute a |str_entry_var|@>;
+ int_global_var : push_lit_stk (fn_info[ex_fn_loc], stk_int);
+ str_global_var : @<Execute a |str_global_var|@>;
+ othercases unknwn_function_class_confusion
+endcases;
+end;
+
+
+@
+To execute a |wiz_defined| function, we just execute all those
+functions in its definition, except that the special marker
+|quote_next_fn| means we push the next function onto the stack.
+
+@<Execute a |wiz_defined| function@>=
+begin
+wiz_ptr := fn_info[ex_fn_loc];
+while (wiz_functions[wiz_ptr] <> end_of_def) do
+ begin
+ if (wiz_functions[wiz_ptr] <> quote_next_fn) then
+ execute_fn (wiz_functions[wiz_ptr])
+ else
+ begin
+ incr(wiz_ptr);
+ push_lit_stk (wiz_functions[wiz_ptr], stk_fn);
+ end;
+ incr(wiz_ptr);
+ end;
+end
+
+
+@
+This module pushes the string given by the field onto the literal
+stack unless it's |missing|, in which case it pushes a special value
+onto the stack.
+
+@<Execute a field@>=
+begin
+if (not mess_with_entries) then
+ bst_cant_mess_with_entries_print
+ else
+ begin
+ field_ptr := cite_ptr*num_fields + fn_info[ex_fn_loc];
+ if (field_info[field_ptr] = missing) then
+ push_lit_stk (hash_text[ex_fn_loc], stk_field_missing)
+ else
+ push_lit_stk (field_info[field_ptr], stk_str);
+ end
+end
+
+
+@
+This module pushes the integer given by an |int_entry_var| onto the
+literal stack.
+
+@<Execute an |int_entry_var|@>=
+begin
+if (not mess_with_entries) then
+ bst_cant_mess_with_entries_print
+ else
+ push_lit_stk (entry_ints[cite_ptr*num_ent_ints+fn_info[ex_fn_loc]],
+ stk_int);
+end
+
+
+@
+This module adds the string given by a |str_entry_var| to |str_pool|
+via the execution buffer and pushes it onto the literal stack.
+
+@<Execute a |str_entry_var|@>=
+begin
+if (not mess_with_entries) then
+ bst_cant_mess_with_entries_print
+ else
+ begin
+ str_ent_ptr := cite_ptr*num_ent_strs + fn_info[ex_fn_loc];@/
+ ex_buf_ptr := 0; {also serves as |ent_chr_ptr|}
+ while (entry_strs[str_ent_ptr][ex_buf_ptr] <> end_of_string) do
+ {copy characters into the buffer}
+ append_ex_buf_char (entry_strs[str_ent_ptr][ex_buf_ptr]);
+ ex_buf_length := ex_buf_ptr;
+ add_pool_buf_and_push; {push this string onto the stack}
+ end;
+end
+
+
+@
+This module pushes the string given by a |str_global_var| onto the
+literal stack, but it copies the string to |str_pool| (character by
+character) only if it has to---it {\it doesn't\/} have to if the
+string is static (that is, if the string isn't at the top, temporary
+part of the string pool).
+
+@<Execute a |str_global_var|@>=
+begin
+str_glb_ptr := fn_info[ex_fn_loc];
+if (glb_str_ptr[str_glb_ptr] > 0) then {we're dealing with a static string}
+ push_lit_stk (glb_str_ptr[str_glb_ptr],stk_str)
+ else
+ begin
+ str_room(glb_str_end[str_glb_ptr]);
+ glob_chr_ptr := 0;
+ while (glob_chr_ptr < glb_str_end[str_glb_ptr]) do {copy the string}
+ begin
+ append_char (global_strs[str_glb_ptr][glob_chr_ptr]);
+ incr(glob_chr_ptr);
+ end;
+ push_lit_stk (make_string, stk_str); {and push it onto the stack}
+ end;
+end
+
+
+
+@* The built-in functions.
+@^add a built-in function@>
+@^biblical procreation@>
+@^grade inflation@>
+This section gives the all the code for all the built-in functions
+(including pre-defined |field|s, |str_entry_var|s, and
+|int_global_var|s, which technically aren't classified as |built_in|).
+To modify or add one, we needn't go anywhere else (with one exception:
+The constant |max_pop|, which gives the maximum number of literals
+that any of these functions pops off the stack, is defined earlier
+because it's needed earlier; thus, if we need to update it, which will
+happen if some new |built_in| functions uses more than |max_pop|
+literals from the stack, we'll have to go outside this section).
+Adding a |built_in| function entails modifying (at least four of) the
+five modules marked by ``add a built-in function'' in the index, in
+addition to adding the code to execute the function.
+
+These variables all begin with |b_| and specify the hash-table
+locations of the |built_in| functions, except that |b_default| is
+pseudo-|built_in|---either it will point to the no-op \.{skip\$} or to
+the \.{.bst}-defined function \.{default.type}; it's used when an
+entry has a type that's not defined in the \.{.bst} file.
+
+@<Globals in the outer block@>=
+@!b_equals : hash_loc; {\.{=}}
+@!b_greater_than : hash_loc; {\.{>}}
+@!b_less_than : hash_loc; {\.{<}}
+@!b_plus : hash_loc; {\.{+} (this may be changed to an |a_minus|)}
+@!b_minus : hash_loc; {\.{-}}
+@!b_concatenate : hash_loc; {\.{*}}
+@!b_gets : hash_loc; {\.{:=} (formerly, |b_gat|)}
+@!b_add_period : hash_loc; {\.{add.period\$}}
+@!b_call_type : hash_loc; {\.{call.type\$}}
+@!b_change_case : hash_loc; {\.{change.case\$}}
+@!b_chr_to_int : hash_loc; {\.{chr.to.int\$}}
+@!b_cite : hash_loc; {\.{cite\$}}
+@!b_duplicate : hash_loc; {\.{duplicate\$}}
+@!b_empty : hash_loc; {\.{empty\$}}
+@!b_format_name : hash_loc; {\.{format.name\$}}
+@!b_if : hash_loc; {\.{if\$}}
+@!b_int_to_chr : hash_loc; {\.{int.to.chr\$}}
+@!b_int_to_str : hash_loc; {\.{int.to.str\$}}
+@!b_missing : hash_loc; {\.{missing\$}}
+@!b_newline : hash_loc; {\.{newline\$}}
+@!b_num_names : hash_loc; {\.{num.names\$}}
+@!b_pop : hash_loc; {\.{pop\$}}
+@!b_preamble : hash_loc; {\.{preamble\$}}
+@!b_purify : hash_loc; {\.{purify\$}}
+@!b_quote : hash_loc; {\.{quote\$}}
+@!b_skip : hash_loc; {\.{skip\$}}
+@!b_stack : hash_loc; {\.{stack\$}}
+@!b_substring : hash_loc; {\.{substring\$}}
+@!b_swap : hash_loc; {\.{swap\$}}
+@!b_text_length : hash_loc; {\.{text.length\$}}
+@!b_text_prefix : hash_loc; {\.{text.prefix\$}}
+@!b_top_stack : hash_loc; {\.{top\$}}
+@!b_type : hash_loc; {\.{type\$}}
+@!b_warning : hash_loc; {\.{warning\$}}
+@!b_while : hash_loc; {\.{while\$}}
+@!b_width : hash_loc; {\.{width\$}}
+@!b_write : hash_loc; {\.{write\$}}
+@!b_default : hash_loc; {either \.{skip\$} or \.{default.type}}
+@#
+ stat
+ @!blt_in_loc : array[blt_in_range] of hash_loc; {for execution counts}
+ @!execution_count : array[blt_in_range] of integer; {the same}
+ @!total_ex_count : integer; {the sum of all |execution_count|s}
+ @!blt_in_ptr : blt_in_range; {a pointer into |blt_in_loc|}
+ tats@/
+
+
+@
+Where |blt_in_range| gives the legal |built_in| function numbers.
+
+@<Types in the outer block@>=
+@!blt_in_range = 0..num_blt_in_fns;
+
+
+@
+@^add a built-in function@>
+These constants all begin with |n_| and are used for the |case|
+statement that determines which |built_in| function to execute.
+
+@d n_equals = 0 {\.{=}}
+@d n_greater_than = 1 {\.{>}}
+@d n_less_than = 2 {\.{<}}
+@d n_plus = 3 {\.{+}}
+@d n_minus = 4 {\.{-}}
+@d n_concatenate = 5 {\.{*}}
+@d n_gets = 6 {\.{:=}}
+@d n_add_period = 7 {\.{add.period\$}}
+@d n_call_type = 8 {\.{call.type\$}}
+@d n_change_case = 9 {\.{change.case\$}}
+@d n_chr_to_int = 10 {\.{chr.to.int\$}}
+@d n_cite = 11 {\.{cite\$} (this may start a riot)}
+@d n_duplicate = 12 {\.{duplicate\$}}
+@d n_empty = 13 {\.{empty\$}}
+@d n_format_name = 14 {\.{format.name\$}}
+@d n_if = 15 {\.{if\$}}
+@d n_int_to_chr = 16 {\.{int.to.chr\$}}
+@d n_int_to_str = 17 {\.{int.to.str\$}}
+@d n_missing = 18 {\.{missing\$}}
+@d n_newline = 19 {\.{newline\$}}
+@d n_num_names = 20 {\.{num.names\$}}
+@d n_pop = 21 {\.{pop\$}}
+@d n_preamble = 22 {\.{preamble\$}}
+@d n_purify = 23 {\.{purify\$}}
+@d n_quote = 24 {\.{quote\$}}
+@d n_skip = 25 {\.{skip\$}}
+@d n_stack = 26 {\.{stack\$}}
+@d n_substring = 27 {\.{substring\$}}
+@d n_swap = 28 {\.{swap\$}}
+@d n_text_length = 29 {\.{text.length\$}}
+@d n_text_prefix = 30 {\.{text.prefix\$}}
+@d n_top_stack = 31 {\.{top\$}}
+@d n_type = 32 {\.{type\$}}
+@d n_warning = 33 {\.{warning\$}}
+@d n_while = 34 {\.{while\$}}
+@d n_width = 35 {\.{width\$}}
+@d n_write = 36 {\.{write\$}}
+
+@<Constants in the outer block@>=
+@!num_blt_in_fns = 37; {one more than the previous number}
+
+
+@
+@^add a built-in function@>
+@^important note@>
+It's time for us to insert more pre-defined strings into |str_pool|
+(and thus the hash table) and to insert the |built_in| functions into
+the hash table. The strings corresponding to these functions should
+contain no upper-case letters, and they must all be exactly
+|longest_pds| characters long. The |build_in| routine (to appear
+shortly) does the work.
+
+Important note: These pre-definitions must not have any glitches or the
+program may bomb because the |log_file| hasn't been opened yet.
+
+@<Pre-define certain strings@>=
+build_in('= ',1,b_equals,n_equals);
+build_in('> ',1,b_greater_than,n_greater_than);
+build_in('< ',1,b_less_than,n_less_than);
+build_in('+ ',1,b_plus,n_plus);
+build_in('- ',1,b_minus,n_minus);
+build_in('* ',1,b_concatenate,n_concatenate);
+build_in(':= ',2,b_gets,n_gets);
+build_in('add.period$ ',11,b_add_period,n_add_period);
+build_in('call.type$ ',10,b_call_type,n_call_type);
+build_in('change.case$',12,b_change_case,n_change_case);
+build_in('chr.to.int$ ',11,b_chr_to_int,n_chr_to_int);
+build_in('cite$ ',5,b_cite,n_cite);
+build_in('duplicate$ ',10,b_duplicate,n_duplicate);
+build_in('empty$ ',6,b_empty,n_empty);
+build_in('format.name$',12,b_format_name,n_format_name);
+build_in('if$ ',3,b_if,n_if);
+build_in('int.to.chr$ ',11,b_int_to_chr,n_int_to_chr);
+build_in('int.to.str$ ',11,b_int_to_str,n_int_to_str);
+build_in('missing$ ',8,b_missing,n_missing);
+build_in('newline$ ',8,b_newline,n_newline);
+build_in('num.names$ ',10,b_num_names,n_num_names);
+build_in('pop$ ',4,b_pop,n_pop);
+build_in('preamble$ ',9,b_preamble,n_preamble);
+build_in('purify$ ',7,b_purify,n_purify);
+build_in('quote$ ',6,b_quote,n_quote);
+build_in('skip$ ',5,b_skip,n_skip);
+build_in('stack$ ',6,b_stack,n_stack);
+build_in('substring$ ',10,b_substring,n_substring);
+build_in('swap$ ',5,b_swap,n_swap);
+build_in('text.length$',12,b_text_length,n_text_length);
+build_in('text.prefix$',12,b_text_prefix,n_text_prefix);
+build_in('top$ ',4,b_top_stack,n_top_stack);
+build_in('type$ ',5,b_type,n_type);
+build_in('warning$ ',8,b_warning,n_warning);
+build_in('width$ ',6,b_width,n_width);
+build_in('while$ ',6,b_while,n_while);
+build_in('width$ ',6,b_width,n_width);
+build_in('write$ ',6,b_write,n_write);
+
+
+@
+This procedure inserts a |built_in| function into the hash table and
+initializes the corresponding pre-defined string (of length at most
+|longest_pds|). The array |fn_info| contains a number from 0 through
+the number of |built_in| functions minus 1 (i.e., |num_blt_in_fns - 1|
+if we're keeping statistics); this number is used by a |case|
+statement to execute this function and is used for keeping execution
+counts when keeping statistics.
+
+@<Procedures and functions for handling numbers, characters, and strings@>=
+procedure build_in (@!pds:pds_type; @!len:pds_len; var fn_hash_loc:hash_loc;
+ @!blt_in_num:blt_in_range);
+begin
+pre_define (pds,len,bst_fn_ilk);@/
+fn_hash_loc := pre_def_loc; {the |pre_define| routine sets |pre_def_loc|}
+fn_type[fn_hash_loc] := built_in;
+fn_info[fn_hash_loc] := blt_in_num;
+ stat
+ blt_in_loc[blt_in_num] := fn_hash_loc;@/
+ execution_count[blt_in_num] := 0; {initialize the function-execution count}
+ tats@/
+end;
+
+
+@
+This is a procedure so that |initialize| is smaller.
+
+@<Procedures and functions for handling numbers, characters, and strings@>=
+procedure pre_def_certain_strings;
+begin
+@<Pre-define certain strings@>@;
+end;
+
+
+@
+These variables all begin with |s_| and specify the locations in
+|str_pool| of certain often-used strings that the \.{.bst} commands
+need. The |s_preamble| array is big enough to allow an average of one
+\.{preamble\$} command per \.{.bib} file.
+
+@<Globals in the outer block@>=
+@!s_null : str_number; {the null string}
+@!s_default : str_number; {\.{default.type}, for unknown entry types}
+@!s_t : str_number; {\.{t}, for |title_lowers| case conversion}
+@!s_l : str_number; {\.{l}, for |all_lowers| case conversion}
+@!s_u : str_number; {\.{u}, for |all_uppers| case conversion}
+@!s_preamble : array[bib_number] of str_number;
+ {for the \.{preamble\$} |built_in| function}
+
+
+@
+These constants all begin with |n_| and are used for the |case|
+statement that determines which, if any, control sequence we're
+dealing with; a control sequence of interest will be either one of the
+undotted characters `\.{\\i}' or `\.{\\j}' or one of the foreign
+characters in Table~3.2 of the \LaTeX\ manual.
+
+@d n_i = 0 {\.{i}, for the undotted character \.{\\i}}
+@d n_j = 1 {\.{j}, for the undotted character \.{\\j}}
+@d n_oe = 2 {\.{oe}, for the foreign character \.{\\oe}}
+@d n_oe_upper = 3 {\.{OE}, for the foreign character \.{\\OE}}
+@d n_ae = 4 {\.{ae}, for the foreign character \.{\\ae}}
+@d n_ae_upper = 5 {\.{AE}, for the foreign character \.{\\AE}}
+@d n_aa = 6 {\.{aa}, for the foreign character \.{\\aa}}
+@d n_aa_upper = 7 {\.{AA}, for the foreign character \.{\\AA}}
+@d n_o = 8 {\.{o}, for the foreign character \.{\\o}}
+@d n_o_upper = 9 {\.{O}, for the foreign character \.{\\O}}
+@d n_l = 10 {\.{l}, for the foreign character \.{\\l}}
+@d n_l_upper = 11 {\.{L}, for the foreign character \.{\\L}}
+@d n_ss = 12 {\.{ss}, for the foreign character \.{\\ss}}
+
+
+@
+@^important note@>
+@.default.type@>
+Here we pre-define a few strings used in executing the \.{.bst} file:
+the null string, which is sometimes pushed onto the stack; a string
+used for default entry types; and some control sequences used to spot
+foreign characters. We also initialize the |s_preamble| array to
+empty. These pre-defined strings must all be exactly |longest_pds|
+characters long.
+
+Important note: These pre-definitions must not have any glitches or
+the program may bomb because the |log_file| hasn't been opened yet,
+and |text_ilk|s should be pre-defined here, not earlier, for
+\.{.bst}-function-execution purposes.
+
+@<Pre-define certain strings@>=
+pre_define(' ',0,text_ilk); s_null := hash_text[pre_def_loc];
+fn_type[pre_def_loc] := str_literal;@/
+pre_define('default.type',12,text_ilk); s_default := hash_text[pre_def_loc];
+fn_type[pre_def_loc] := str_literal;@/
+b_default := b_skip; {this may be changed to the \.{default.type} function}
+preamble_ptr := 0; {initialize the |s_preamble| array}
+pre_define('i ',1,control_seq_ilk);
+ilk_info[pre_def_loc] := n_i;
+pre_define('j ',1,control_seq_ilk);
+ilk_info[pre_def_loc] := n_j;
+pre_define('oe ',2,control_seq_ilk);
+ilk_info[pre_def_loc] := n_oe;
+pre_define('OE ',2,control_seq_ilk);
+ilk_info[pre_def_loc] := n_oe_upper;
+pre_define('ae ',2,control_seq_ilk);
+ilk_info[pre_def_loc] := n_ae;
+pre_define('AE ',2,control_seq_ilk);
+ilk_info[pre_def_loc] := n_ae_upper;
+pre_define('aa ',2,control_seq_ilk);
+ilk_info[pre_def_loc] := n_aa;
+pre_define('AA ',2,control_seq_ilk);
+ilk_info[pre_def_loc] := n_aa_upper;
+pre_define('o ',1,control_seq_ilk);
+ilk_info[pre_def_loc] := n_o;
+pre_define('O ',1,control_seq_ilk);
+ilk_info[pre_def_loc] := n_o_upper;
+pre_define('l ',1,control_seq_ilk);
+ilk_info[pre_def_loc] := n_l;
+pre_define('L ',1,control_seq_ilk);
+ilk_info[pre_def_loc] := n_l_upper;
+pre_define('ss ',2,control_seq_ilk);
+ilk_info[pre_def_loc] := n_ss;
+
+
+@
+@^important note@>
+@.crossref@>
+@.entry.max\$@>
+@.global.max\$@>
+@.sort.key\$@>
+Now we pre-define any built-in |field|s, |str_entry_var|s, and
+|int_global_var|s; these strings must all be exactly |longest_pds|
+characters long. Note that although these are built-in functions, we
+classify them (in the |fn_type| array) otherwise.
+
+Important note: These pre-definitions must not have any glitches or
+the program may bomb because the |log_file| hasn't been opened yet.
+
+@<Pre-define certain strings@>=
+pre_define('crossref ',8,bst_fn_ilk);
+fn_type[pre_def_loc] := field;@/
+fn_info[pre_def_loc] := num_fields; {give this |field| a number}
+crossref_num := num_fields;
+incr(num_fields);@/
+num_pre_defined_fields := num_fields; {that's it for pre-defined |field|s}
+pre_define('sort.key$ ',9,bst_fn_ilk);
+fn_type[pre_def_loc] := str_entry_var;
+fn_info[pre_def_loc] := num_ent_strs; {give this |str_entry_var| a number}
+sort_key_num := num_ent_strs;
+incr(num_ent_strs);@/
+pre_define('entry.max$ ',10,bst_fn_ilk);
+fn_type[pre_def_loc] := int_global_var;
+fn_info[pre_def_loc] := ent_str_size; {initialize this |int_global_var|}
+pre_define('global.max$ ',11,bst_fn_ilk);
+fn_type[pre_def_loc] := int_global_var;
+fn_info[pre_def_loc] := glob_str_size; {initialize this |int_global_var|}
+
+
+@
+@^add a built-in function@>
+@:this can't happen}{\quad Unknown built-in function@>
+This module branches to the code for the appropriate |built_in|
+function. Only three---{\.{call.type\$}}, {\.{if\$}}, and
+{\.{while\$}}---do a recursive call.
+
+@<Execute a |built_in| function@>=
+begin
+ stat {update this function's execution count}
+ incr(execution_count[fn_info[ex_fn_loc]]);
+ tats@/
+case (fn_info[ex_fn_loc]) of
+ n_equals : x_equals;
+ n_greater_than : x_greater_than;
+ n_less_than : x_less_than;
+ n_plus : x_plus;
+ n_minus : x_minus;
+ n_concatenate : x_concatenate;
+ n_gets : x_gets;
+ n_add_period : x_add_period;
+ n_call_type : @<|execute_fn|({\.{call.type\$}})@>;
+ n_change_case : x_change_case;
+ n_chr_to_int : x_chr_to_int;
+ n_cite : x_cite;
+ n_duplicate : x_duplicate;
+ n_empty : x_empty;
+ n_format_name : x_format_name;
+ n_if : @<|execute_fn|({\.{if\$}})@>;
+ n_int_to_chr : x_int_to_chr;
+ n_int_to_str : x_int_to_str;
+ n_missing : x_missing;
+ n_newline : @<|execute_fn|({\.{newline\$}})@>;
+ n_num_names : x_num_names;
+ n_pop : @<|execute_fn|({\.{pop\$}})@>;
+ n_preamble : x_preamble;
+ n_purify : x_purify;
+ n_quote : x_quote;
+ n_skip : @<|execute_fn|({\.{skip\$}})@>;
+ n_stack : @<|execute_fn|({\.{stack\$}})@>;
+ n_substring : x_substring;
+ n_swap : x_swap;
+ n_text_length : x_text_length;
+ n_text_prefix : x_text_prefix;
+ n_top_stack : @<|execute_fn|({\.{top\$}})@>;
+ n_type : x_type;
+ n_warning : x_warning;
+ n_while : @<|execute_fn|({\.{while\$}})@>;
+ n_width : x_width;
+ n_write : x_write;
+ othercases confusion ('Unknown built-in function')
+endcases;
+end
+
+
+@
+@^add a built-in function@>
+@^gymnastics@>
+This extra level of module-pointing allows a uniformity of module
+names for the |built_in| functions, regardless of whether they do a
+recursive call to |execute_fn| or are trivial (a single statement).
+Those that do a recursive call are left as part of |execute_fn|,
+avoiding \PASCAL's forward procedure mechanism, and those that don't
+(except for the single-statement ones) are made into procedures so
+that |execute_fn| doesn't get too large.
+
+@<Procedures and functions for style-file function execution@>=
+@<|execute_fn|({\.{=}})@>@;
+@<|execute_fn|({\.{>}})@>@;
+@<|execute_fn|({\.{<}})@>@;
+@<|execute_fn|({\.{+}})@>@;
+@<|execute_fn|({\.{-}})@>@;
+@<|execute_fn|({\.{*}})@>@;
+@<|execute_fn|({\.{:=}})@>@;
+@<|execute_fn|({\.{add.period\$}})@>@;
+@<|execute_fn|({\.{change.case\$}})@>@;
+@<|execute_fn|({\.{chr.to.int\$}})@>@;
+@<|execute_fn|({\.{cite\$}})@>@;
+@<|execute_fn|({\.{duplicate\$}})@>@;
+@<|execute_fn|({\.{empty\$}})@>@;
+@<|execute_fn|({\.{format.name\$}})@>@;
+@<|execute_fn|({\.{int.to.chr\$}})@>@;
+@<|execute_fn|({\.{int.to.str\$}})@>@;
+@<|execute_fn|({\.{missing\$}})@>@;
+@<|execute_fn|({\.{num.names\$}})@>@;
+@<|execute_fn|({\.{preamble\$}})@>@;
+@<|execute_fn|({\.{purify\$}})@>@;
+@<|execute_fn|({\.{quote\$}})@>@;
+@<|execute_fn|({\.{substring\$}})@>@;
+@<|execute_fn|({\.{swap\$}})@>@;
+@<|execute_fn|({\.{text.length\$}})@>@;
+@<|execute_fn|({\.{text.prefix\$}})@>@;
+@<|execute_fn|({\.{type\$}})@>@;
+@<|execute_fn|({\.{warning\$}})@>@;
+@<|execute_fn|({\.{width\$}})@>@;
+@<|execute_fn|({\.{write\$}})@>@;
+@<|execute_fn| itself@>
+
+
+@
+Now it's time to declare some things for executing |built_in|
+functions only. These (and only these) variables are used
+recursively, so they can't be global.
+
+@d end_while = 51 {stop executing the \.{while\$} function}
+
+@<Declarations for executing |built_in| functions@>=
+label end_while;
+var r_pop_lt1,@!r_pop_lt2 : integer; {stack literals for \.{while\$}}
+@!r_pop_tp1,@!r_pop_tp2 : stk_type; {stack types for \.{while\$}}
+
+
+@
+These are nonrecursive variables that |execute_fn| uses. Declaring
+them here (instead of in the previous module) saves execution time and
+stack space on most machines.
+
+@d name_buf == sv_buffer {an alias, a buffer for manipulating names}
+
+@<Globals in the outer block@>=
+@!pop_lit1,@!pop_lit2,@!pop_lit3 : integer; {stack literals}
+@!pop_typ1,@!pop_typ2,@!pop_typ3 : stk_type; {stack types}
+@!sp_ptr : pool_pointer; {for manipulating |str_pool| strings}
+@!sp_xptr1,@!sp_xptr2 : pool_pointer; {more of the same}
+@!sp_end : pool_pointer; {marks the end of a |str_pool| string}
+@!sp_length,sp2_length : pool_pointer; {lengths of |str_pool| strings}
+@!sp_brace_level : integer; {for scanning |str_pool| strings}
+@!ex_buf_xptr,@!ex_buf_yptr : buf_pointer; {extra |ex_buf| locations}
+@!control_seq_loc : hash_loc; {hash-table loc of a control sequence}
+@!preceding_white : boolean; {used in scanning strings}
+@!and_found : boolean; {to stop the loop that looks for an ``and''}
+@!num_names : integer; {for counting names}
+@!name_bf_ptr : buf_pointer; {general |name_buf| location}
+@!name_bf_xptr,@!name_bf_yptr : buf_pointer; {and two more}
+@!nm_brace_level : integer; {for scanning |name_buf| strings}
+@!name_tok : packed array[buf_pointer] of buf_pointer; {name-token ptr list}
+@!name_sep_char : packed array[buf_pointer] of ASCII_code; {token-ending chars}
+@!num_tokens : buf_pointer; {this counts name tokens}
+@!token_starting : boolean; {used in scanning name tokens}
+@!alpha_found : boolean; {used in scanning the format string}
+@!double_letter,@!end_of_group,@!to_be_written : boolean; {the same}
+@!first_start : buf_pointer; {start-ptr into |name_tok| for the first name}
+@!first_end : buf_pointer; {end-ptr into |name_tok| for the first name}
+@!last_end : buf_pointer; {end-ptr into |name_tok| for the last name}
+@!von_start : buf_pointer; {start-ptr into |name_tok| for the von name}
+@!von_end : buf_pointer; {end-ptr into |name_tok| for the von name}
+@!jr_end : buf_pointer; {end-ptr into |name_tok| for the jr name}
+@!cur_token,@!last_token : buf_pointer; {|name_tok| ptrs for outputting tokens}
+@!use_default : boolean; {for the inter-token intra-name part string}
+@!num_commas : buf_pointer; {used to determine the name syntax}
+@!comma1,@!comma2 : buf_pointer; {ptrs into |name_tok|}
+@!num_text_chars : buf_pointer; {special characters count as one}
+
+
+@
+The |built_in| function {\.{=}} pops the top two (integer or string)
+literals, compares them, and pushes the integer 1 if they're equal, 0
+otherwise. If they're not either both string or both integer, it
+complains and pushes the integer 0.
+
+@<|execute_fn|({\.{=}})@>=
+procedure x_equals;
+begin
+pop_lit_stk (pop_lit1,pop_typ1);
+pop_lit_stk (pop_lit2,pop_typ2);
+if (pop_typ1 <> pop_typ2) then
+ begin
+ if ((pop_typ1 <> stk_empty) and (pop_typ2 <> stk_empty)) then
+ begin
+ print_stk_lit (pop_lit1,pop_typ1);
+ print (', ');
+ print_stk_lit (pop_lit2,pop_typ2);
+ print_newline;
+ bst_ex_warn ('---they aren''t the same literal types');
+ end;
+ push_lit_stk (0, stk_int);
+ end
+else if ((pop_typ1 <> stk_int) and (pop_typ1 <> stk_str)) then
+ begin
+ if (pop_typ1 <> stk_empty) then
+ begin
+ print_stk_lit (pop_lit1,pop_typ1);
+ bst_ex_warn (', not an integer or a string,');
+ end;
+ push_lit_stk (0, stk_int);
+ end
+else if (pop_typ1 = stk_int) then
+ if (pop_lit2 = pop_lit1) then
+ push_lit_stk (1, stk_int)
+ else
+ push_lit_stk (0, stk_int)
+else
+ if (str_eq_str (pop_lit2,pop_lit1)) then
+ push_lit_stk (1, stk_int)
+ else
+ push_lit_stk (0, stk_int);
+end;
+
+
+@
+The |built_in| function {\.{>}} pops the top two (integer) literals,
+compares them, and pushes the integer 1 if the second is greater than
+the first, 0 otherwise. If either isn't an integer literal, it
+complains and pushes the integer 0.
+
+@<|execute_fn|({\.{>}})@>=
+procedure x_greater_than;
+begin
+pop_lit_stk (pop_lit1,pop_typ1);
+pop_lit_stk (pop_lit2,pop_typ2);
+if (pop_typ1 <> stk_int) then
+ begin
+ print_wrong_stk_lit (pop_lit1,pop_typ1,stk_int);
+ push_lit_stk (0, stk_int);
+ end
+else if (pop_typ2 <> stk_int) then
+ begin
+ print_wrong_stk_lit (pop_lit2,pop_typ2,stk_int);
+ push_lit_stk (0, stk_int);
+ end
+else
+ if (pop_lit2 > pop_lit1) then
+ push_lit_stk (1, stk_int)
+ else
+ push_lit_stk (0, stk_int);
+end;
+
+
+@
+The |built_in| function {\.{<}} pops the top two (integer) literals,
+compares them, and pushes the integer 1 if the second is less than the
+first, 0 otherwise. If either isn't an integer literal, it complains
+and pushes the integer 0.
+
+@<|execute_fn|({\.{<}})@>=
+procedure x_less_than;
+begin
+pop_lit_stk (pop_lit1,pop_typ1);
+pop_lit_stk (pop_lit2,pop_typ2);
+if (pop_typ1 <> stk_int) then
+ begin
+ print_wrong_stk_lit (pop_lit1,pop_typ1,stk_int);
+ push_lit_stk (0, stk_int);
+ end
+else if (pop_typ2 <> stk_int) then
+ begin
+ print_wrong_stk_lit (pop_lit2,pop_typ2,stk_int);
+ push_lit_stk (0, stk_int);
+ end
+else
+ if (pop_lit2 < pop_lit1) then
+ push_lit_stk (1, stk_int)
+ else
+ push_lit_stk (0, stk_int);
+end;
+
+
+@
+The |built_in| function {\.{+}} pops the top two (integer) literals
+and pushes their sum. If either isn't an integer literal, it
+complains and pushes the integer 0.
+
+@<|execute_fn|({\.{+}})@>=
+procedure x_plus;
+begin
+pop_lit_stk (pop_lit1,pop_typ1);
+pop_lit_stk (pop_lit2,pop_typ2);
+if (pop_typ1 <> stk_int) then
+ begin
+ print_wrong_stk_lit (pop_lit1,pop_typ1,stk_int);
+ push_lit_stk (0, stk_int);
+ end
+else if (pop_typ2 <> stk_int) then
+ begin
+ print_wrong_stk_lit (pop_lit2,pop_typ2,stk_int);
+ push_lit_stk (0, stk_int);
+ end
+else
+ push_lit_stk (pop_lit2+pop_lit1, stk_int);
+end;
+
+
+@
+The |built_in| function {\.{-}} pops the top two (integer) literals
+and pushes their difference (the first subtracted from the second).
+If either isn't an integer literal, it complains and pushes the
+integer 0.
+
+@<|execute_fn|({\.{-}})@>=
+procedure x_minus;
+begin
+pop_lit_stk (pop_lit1,pop_typ1);
+pop_lit_stk (pop_lit2,pop_typ2);
+if (pop_typ1 <> stk_int) then
+ begin
+ print_wrong_stk_lit (pop_lit1,pop_typ1,stk_int);
+ push_lit_stk (0, stk_int);
+ end
+else if (pop_typ2 <> stk_int) then
+ begin
+ print_wrong_stk_lit (pop_lit2,pop_typ2,stk_int);
+ push_lit_stk (0, stk_int);
+ end
+else
+ push_lit_stk (pop_lit2-pop_lit1, stk_int);
+end;
+
+
+@
+The |built_in| function {\.{*}} pops the top two (string) literals,
+concatenates them (in reverse order, that is, the order in which
+pushed), and pushes the resulting string back onto the stack. If
+either isn't a string literal, it complains and pushes the null
+string.
+
+@<|execute_fn|({\.{*}})@>=
+procedure x_concatenate;
+begin
+pop_lit_stk (pop_lit1,pop_typ1);
+pop_lit_stk (pop_lit2,pop_typ2);
+if (pop_typ1 <> stk_str) then
+ begin
+ print_wrong_stk_lit (pop_lit1,pop_typ1,stk_str);
+ push_lit_stk (s_null, stk_str);
+ end
+else if (pop_typ2 <> stk_str) then
+ begin
+ print_wrong_stk_lit (pop_lit2,pop_typ2,stk_str);
+ push_lit_stk (s_null, stk_str);
+ end
+else
+ @<Concatenate the two strings and push@>;
+end;
+
+
+@
+@^push the literal stack@>
+Often both strings will be at the top of the string pool, in which
+case we just move some pointers. Furthermore, it's worth doing some
+special stuff in case either string is null, since empirically this
+seems to happen about $20\%$ of the time. In any case, we don't need
+the execution buffer---we simple move the strings around in the string
+pool when necessary.
+
+@<Concatenate the two strings and push@>=
+begin
+if (pop_lit2 >= cmd_str_ptr) then
+ if (pop_lit1 >= cmd_str_ptr) then
+ begin
+ str_start[pop_lit1] := str_start[pop_lit1+1];
+ unflush_string;
+ incr(lit_stk_ptr);
+ end
+ else if (length(pop_lit2) = 0) then
+ push_lit_stk (pop_lit1, stk_str)
+ else {|pop_lit2| is nonnull, only |pop_lit1| is below |cmd_str_ptr|}
+ begin
+ pool_ptr := str_start[pop_lit2+1];
+ str_room (length(pop_lit1));
+ sp_ptr := str_start[pop_lit1];
+ sp_end := str_start[pop_lit1+1];
+ while (sp_ptr < sp_end) do
+ begin
+ append_char (str_pool[sp_ptr]);
+ incr(sp_ptr);
+ end;
+ push_lit_stk (make_string, stk_str); {and push it onto the stack}
+ end
+else
+ @<Concatenate them and push when |pop_lit2 < cmd_str_ptr|@>;
+end
+
+
+@
+@^push the literal stack@>
+We simply continue the previous module.
+
+@<Concatenate them and push when |pop_lit2 < cmd_str_ptr|@>=
+begin
+if (pop_lit1 >= cmd_str_ptr) then
+ if (length(pop_lit2) = 0) then
+ begin
+ unflush_string;
+ lit_stack[lit_stk_ptr] := pop_lit1;
+ incr(lit_stk_ptr);
+ end
+ else if (length(pop_lit1) = 0) then
+ incr(lit_stk_ptr)
+ else {both strings nonnull, only |pop_lit2| is below |cmd_str_ptr|}
+ begin
+ sp_length := length(pop_lit1);
+ sp2_length := length(pop_lit2);
+ str_room (sp_length + sp2_length);
+ sp_ptr := str_start[pop_lit1+1];
+ sp_end := str_start[pop_lit1];
+ sp_xptr1 := sp_ptr + sp2_length;
+ while (sp_ptr > sp_end) do {slide up |pop_lit1|}
+ begin
+ decr(sp_ptr);
+ decr(sp_xptr1);
+ str_pool[sp_xptr1] := str_pool[sp_ptr];
+ end;
+ sp_ptr := str_start[pop_lit2];
+ sp_end := str_start[pop_lit2+1];
+ while (sp_ptr < sp_end) do {slide up |pop_lit2|}
+ begin
+ append_char (str_pool[sp_ptr]);
+ incr(sp_ptr);
+ end;
+ pool_ptr := pool_ptr + sp_length;
+ push_lit_stk (make_string, stk_str); {and push it onto the stack}
+ end
+else
+ @<Concatenate them and push when |pop_lit1,pop_lit2 < cmd_str_ptr|@>;
+end
+
+
+@
+@^push the literal stack@>
+Again, we simply continue the previous module.
+
+@<Concatenate them and push when |pop_lit1,pop_lit2 < cmd_str_ptr|@>=
+begin
+if (length(pop_lit1) = 0) then
+ incr(lit_stk_ptr)
+else if (length(pop_lit2) = 0) then
+ push_lit_stk (pop_lit1, stk_str)
+else {both strings are nonnull, and both are below |cmd_str_ptr|}
+ begin
+ str_room (length(pop_lit1) + length(pop_lit2));
+ sp_ptr := str_start[pop_lit2];
+ sp_end := str_start[pop_lit2+1];
+ while (sp_ptr < sp_end) do {slide up |pop_lit2|}
+ begin
+ append_char (str_pool[sp_ptr]);
+ incr(sp_ptr);
+ end;
+ sp_ptr := str_start[pop_lit1];
+ sp_end := str_start[pop_lit1+1];
+ while (sp_ptr < sp_end) do {slide up |pop_lit1|}
+ begin
+ append_char (str_pool[sp_ptr]);
+ incr(sp_ptr);
+ end;
+ push_lit_stk (make_string, stk_str); {and push it onto the stack}
+ end;
+end
+
+
+@
+The |built_in| function {\.{:=}} pops the top two literals and assigns
+to the first (which must be an |int_entry_var|, a |str_entry_var|, an
+|int_global_var|, or a |str_global_var|) the value of the second;
+it complains if the value isn't of the appropriate type.
+
+@<|execute_fn|({\.{:=}})@>=
+procedure x_gets;
+begin
+pop_lit_stk (pop_lit1,pop_typ1);
+pop_lit_stk (pop_lit2,pop_typ2);
+if (pop_typ1 <> stk_fn) then
+ print_wrong_stk_lit (pop_lit1,pop_typ1,stk_fn)
+else if ((not mess_with_entries) and
+ ((fn_type[pop_lit1] = str_entry_var) or
+ (fn_type[pop_lit1] = int_entry_var))) then
+ bst_cant_mess_with_entries_print
+else
+ case (fn_type[pop_lit1]) of
+ int_entry_var : @<Assign to an |int_entry_var|@>;
+ str_entry_var : @<Assign to a |str_entry_var|@>;
+ int_global_var : @<Assign to an |int_global_var|@>;
+ str_global_var : @<Assign to a |str_global_var|@>;
+ othercases begin
+ print ('You can''t assign to type ');
+ print_fn_class (pop_lit1);
+ bst_ex_warn (', a nonvariable function class');
+ end
+ endcases;
+end;
+
+
+@
+This module checks that what we're about to assign is really an
+integer, and then assigns.
+
+@<Assign to an |int_entry_var|@>=
+if (pop_typ2 <> stk_int) then
+ print_wrong_stk_lit (pop_lit2,pop_typ2,stk_int)
+ else
+ entry_ints[cite_ptr*num_ent_ints+fn_info[pop_lit1]] := pop_lit2
+
+
+@
+@.String size exceeded@>
+It's time for a complaint if either of the two (entry or global)
+string lengths is exceeded.
+
+@d bst_string_size_exceeded(#) == begin
+ bst_1print_string_size_exceeded;
+ print (#);
+ bst_2print_string_size_exceeded;
+ end
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure bst_1print_string_size_exceeded;
+begin
+print ('Warning--you''ve exceeded ');
+end;
+@#
+procedure bst_2print_string_size_exceeded;
+begin
+print ('-string-size,');
+bst_mild_ex_warn_print;
+print_ln ('*Please notify the bibstyle designer*');
+end;
+
+
+@
+@.entry string size exceeded@>
+@:String size exceeded}{\quad entry string size@>
+This module checks that what we're about to assign is really a
+string, and then assigns.
+
+@<Assign to a |str_entry_var|@>=
+begin
+if (pop_typ2 <> stk_str) then
+ print_wrong_stk_lit (pop_lit2,pop_typ2,stk_str)
+ else
+ begin
+ str_ent_ptr := cite_ptr*num_ent_strs + fn_info[pop_lit1];
+ ent_chr_ptr := 0;
+ sp_ptr := str_start[pop_lit2];
+ sp_xptr1 := str_start[pop_lit2+1];
+ if (sp_xptr1-sp_ptr > ent_str_size) then
+ begin
+ bst_string_size_exceeded (ent_str_size:0,', the entry');
+ sp_xptr1 := sp_ptr + ent_str_size;
+ end;
+ while (sp_ptr < sp_xptr1) do
+ begin {copy characters into |entry_strs|}
+ entry_strs[str_ent_ptr][ent_chr_ptr] := str_pool[sp_ptr];
+ incr(ent_chr_ptr);
+ incr(sp_ptr);
+ end;
+ entry_strs[str_ent_ptr][ent_chr_ptr] := end_of_string;
+ end
+end
+
+
+@
+This module checks that what we're about to assign is really an
+integer, and then assigns.
+
+@<Assign to an |int_global_var|@>=
+if (pop_typ2 <> stk_int) then
+ print_wrong_stk_lit (pop_lit2,pop_typ2,stk_int)
+ else
+ fn_info[pop_lit1] := pop_lit2
+
+
+@
+@.global string size exceeded@>
+@:String size exceeded}{\quad global string size@>
+This module checks that what we're about to assign is really a
+string, and then assigns.
+
+@<Assign to a |str_global_var|@>=
+begin
+if (pop_typ2 <> stk_str) then
+ print_wrong_stk_lit (pop_lit2,pop_typ2,stk_str)
+ else
+ begin
+ str_glb_ptr := fn_info[pop_lit1];
+ if (pop_lit2 < cmd_str_ptr) then
+ glb_str_ptr[str_glb_ptr] := pop_lit2
+ else
+ begin
+ glb_str_ptr[str_glb_ptr] := 0;
+ glob_chr_ptr := 0;
+ sp_ptr := str_start[pop_lit2];
+ sp_end := str_start[pop_lit2+1];
+ if (sp_end - sp_ptr > glob_str_size) then
+ begin
+ bst_string_size_exceeded (glob_str_size:0,', the global');
+ sp_end := sp_ptr + glob_str_size;
+ end;
+ while (sp_ptr < sp_end) do
+ begin {copy characters into |global_strs|}
+ global_strs[str_glb_ptr][glob_chr_ptr] := str_pool[sp_ptr];
+ incr(glob_chr_ptr);
+ incr(sp_ptr);
+ end;
+ glb_str_end[str_glb_ptr] := glob_chr_ptr;
+ end;
+ end
+end
+
+
+@
+The |built_in| function {\.{add.period\$}} pops the top (string)
+literal, adds a |period| to a nonnull string if its last
+non|right_brace| character isn't a |period|, |question_mark|, or
+|exclamation_mark|, and pushes this resulting string back onto the
+stack. If the literal isn't a string, it complains and pushes the
+null string.
+
+@<|execute_fn|({\.{add.period\$}})@>=
+procedure x_add_period;
+label loop_exit;
+begin
+pop_lit_stk (pop_lit1,pop_typ1);
+if (pop_typ1 <> stk_str) then
+ begin
+ print_wrong_stk_lit (pop_lit1,pop_typ1,stk_str);
+ push_lit_stk (s_null, stk_str);
+ end
+else if (length(pop_lit1) = 0) then {don't add |period| to the null string}
+ push_lit_stk (s_null, stk_str)
+else
+ @<Add the |period|, if necessary, and push@>;
+end;
+
+
+@
+@^push the literal stack@>
+Here we scan backwards from the end of the string, skipping
+non|right_brace| characters, to see if we have to add the |period|.
+
+@<Add the |period|, if necessary, and push@>=
+begin
+sp_ptr := str_start[pop_lit1+1];
+sp_end := str_start[pop_lit1];
+while (sp_ptr > sp_end) do {find a non|right_brace|}
+ begin
+ decr(sp_ptr);
+ if (str_pool[sp_ptr] <> right_brace) then
+ goto loop_exit;
+ end;
+loop_exit:
+case (str_pool[sp_ptr]) of
+ period,
+ question_mark,
+ exclamation_mark :
+ repush_string;
+ othercases
+ @<Add the |period| (it's necessary) and push@>
+endcases;
+end
+
+
+@
+Ok guys, we really have to do it.
+
+@<Add the |period| (it's necessary) and push@>=
+begin
+if (pop_lit1 < cmd_str_ptr) then
+ begin
+ str_room (length(pop_lit1)+1);
+ sp_ptr := str_start[pop_lit1];
+ sp_end := str_start[pop_lit1+1];
+ while (sp_ptr < sp_end) do {slide |pop_lit1| atop the string pool}
+ begin
+ append_char (str_pool[sp_ptr]);
+ incr(sp_ptr);
+ end;
+ end
+else {the string is already there}
+ begin
+ pool_ptr := str_start[pop_lit1+1];
+ str_room (1);
+ end;
+append_char (period);
+push_lit_stk (make_string, stk_str);
+end
+
+
+@
+The |built_in| function {\.{call.type\$}} executes the function
+specified in |type_list| for this entry unless it's |undefined|, in
+which case it executes the default function \.{default.type} defined
+in the \.{.bst} file, or unless it's |empty|, in which case it does
+nothing.
+
+@<|execute_fn|({\.{call.type\$}})@>=
+begin
+if (not mess_with_entries) then
+ bst_cant_mess_with_entries_print
+ else
+ if (type_list[cite_ptr] = undefined) then
+ execute_fn (b_default)
+ else if (type_list[cite_ptr] = empty) then
+ do_nothing
+ else
+ execute_fn (type_list[cite_ptr]);
+end
+
+
+@
+The |built_in| function {\.{change.case\$}} pops the top two (string)
+literals; it changes the case of the second according to the
+specifications of the first, as follows. (Note: The word `letters' in
+the next sentence refers only to those at brace-level~0, the top-most
+brace level; no other characters are changed, except perhaps for
+special characters, described shortly.) If the first literal is the
+string~\.{t}, it converts to lower case all letters except the very
+first character in the string, which it leaves alone, and except the
+first character following any |colon| and then nonnull |white_space|,
+which it also leaves alone; if it's the string~\.{l}, it converts all
+letters to lower case; if it's the string~\.{u}, it converts all
+letters to upper case; and if it's anything else, it complains and
+does no conversion. It then pushes this resulting string. If either
+type is incorrect, it complains and pushes the null string; however,
+if both types are correct but the specification string (i.e., the
+first string) isn't one of the legal ones, it merely pushes the second
+back onto the stack, after complaining. (Another note: It ignores
+case differences in the specification string; for example, the strings
+\.{t} and \.{T} are equivalent for the purposes of this |built_in|
+function.)
+
+@d ok_pascal_i_give_up = 21
+
+@<|execute_fn|({\.{change.case\$}})@>=
+procedure x_change_case;
+label ok_pascal_i_give_up;
+begin
+pop_lit_stk (pop_lit1,pop_typ1);
+pop_lit_stk (pop_lit2,pop_typ2);
+if (pop_typ1 <> stk_str) then
+ begin
+ print_wrong_stk_lit (pop_lit1,pop_typ1,stk_str);
+ push_lit_stk (s_null, stk_str);
+ end
+else if (pop_typ2 <> stk_str) then
+ begin
+ print_wrong_stk_lit (pop_lit2,pop_typ2,stk_str);
+ push_lit_stk (s_null, stk_str);
+ end
+else
+ begin
+ @<Determine the case-conversion type@>;
+ ex_buf_length := 0;
+ add_buf_pool (pop_lit2);
+ @<Perform the case conversion@>;
+ add_pool_buf_and_push; {push this string onto the stack}
+ end;
+end;
+
+
+@
+First we define a few variables for case conversion. The constant
+definitions, to be used in |case| statements, are in order of probable
+frequency.
+
+@d title_lowers = 0 {representing the string \.{t}}
+@d all_lowers = 1 {representing the string \.{l}}
+@d all_uppers = 2 {representing the string \.{u}}
+@d bad_conversion = 3 {representing any illegal case-conversion string}
+
+@<Globals in the outer block@>=
+@!conversion_type : 0..bad_conversion; {the possible cases}
+@!prev_colon : boolean; {|true| if just past a |colon|}
+
+
+@
+Now we determine which of the three case-conversion types we're
+dealing with: \.{t},~\.{l}, or~\.{u}.
+
+@<Determine the case-conversion type@>=
+begin
+case (str_pool[str_start[pop_lit1]]) of
+ "t","T" : conversion_type := title_lowers;
+ "l","L" : conversion_type := all_lowers;
+ "u","U" : conversion_type := all_uppers;
+ othercases conversion_type := bad_conversion
+endcases;
+if ((length(pop_lit1) <> 1) or (conversion_type = bad_conversion)) then
+ begin
+ conversion_type := bad_conversion;
+ print_pool_str (pop_lit1);
+ bst_ex_warn (' is an illegal case-conversion string');
+ end;
+end
+
+
+@
+This procedure complains if the just-encountered |right_brace| would
+make |brace_level| negative.
+
+@<Procedures and functions for name-string processing@>=
+procedure decr_brace_level (@!pop_lit_var : str_number);
+begin
+if (brace_level = 0) then
+ braces_unbalanced_complaint (pop_lit_var)
+ else
+ decr(brace_level);
+end;
+
+
+@
+This complaint often arises because the style designer has to type
+lots of braces.
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure braces_unbalanced_complaint (@!pop_lit_var : str_number);
+begin
+print ('Warning--"');
+print_pool_str (pop_lit_var);
+bst_mild_ex_warn ('" isn''t a brace-balanced string');
+end;
+
+
+@
+This one makes sure that |brace_level=0| (it's called at a point in a
+string where braces must be balanced).
+
+@<Procedures and functions for name-string processing@>=
+procedure check_brace_level (@!pop_lit_var : str_number);
+begin
+if (brace_level > 0) then
+ braces_unbalanced_complaint (pop_lit_var);
+end;
+
+
+@
+Here's where we actually go through the string and do the case
+conversion.
+
+@<Perform the case conversion@>=
+begin
+brace_level := 0; {this is the top level}
+ex_buf_ptr := 0; {we start with the string's first character}
+while (ex_buf_ptr < ex_buf_length) do
+ begin
+ if (ex_buf[ex_buf_ptr] = left_brace) then
+ begin
+ incr(brace_level);
+ if (brace_level <> 1) then
+ goto ok_pascal_i_give_up;
+ if (ex_buf_ptr + 4 > ex_buf_length) then
+ goto ok_pascal_i_give_up
+ else if (ex_buf[ex_buf_ptr+1] <> backslash) then
+ goto ok_pascal_i_give_up;
+ if (conversion_type = title_lowers) then
+ if (ex_buf_ptr = 0) then
+ goto ok_pascal_i_give_up
+ else if ((prev_colon) and
+ (lex_class[ex_buf[ex_buf_ptr-1]] = white_space)) then
+ goto ok_pascal_i_give_up;
+ @<Convert a special character@>;
+ok_pascal_i_give_up:
+ prev_colon := false;
+ end
+ else if (ex_buf[ex_buf_ptr] = right_brace) then
+ begin
+ decr_brace_level (pop_lit2);
+ prev_colon := false;
+ end
+ else
+ if (brace_level = 0) then
+ @<Convert a |brace_level = 0| character@>;
+ incr(ex_buf_ptr);
+ end;
+check_brace_level (pop_lit2);
+end
+
+
+@
+@^special character@>
+We're dealing with a special character (usually either an undotted
+`\i' or `\j', or an accent like one in Table~3.1 of the \LaTeX\
+manual, or a foreign character like one in Table~3.2) if the first
+character after the |left_brace| is a |backslash|; the special
+character ends with the matching |right_brace|. How we handle what's
+in between depends on the special character. In general, this code
+will do reasonably well if there is other stuff, too, between braces,
+but it doesn't try to do anything special with |colon|s.
+
+@<Convert a special character@>=
+begin
+incr(ex_buf_ptr); {skip over the |left_brace|}
+while ((ex_buf_ptr < ex_buf_length) and (brace_level > 0)) do
+ begin
+ incr(ex_buf_ptr); {skip over the |backslash|}
+ ex_buf_xptr := ex_buf_ptr;
+ while ((ex_buf_ptr < ex_buf_length) and
+ (lex_class[ex_buf[ex_buf_ptr]] = alpha)) do
+ incr(ex_buf_ptr); {this scans the control sequence}
+ control_seq_loc := str_lookup(ex_buf,ex_buf_xptr,ex_buf_ptr-ex_buf_xptr,
+ control_seq_ilk,dont_insert);
+ if (hash_found) then
+ @<Convert the accented or foreign character, if necessary@>;
+ ex_buf_xptr := ex_buf_ptr;
+ while ((ex_buf_ptr < ex_buf_length) and (brace_level > 0) and
+ (ex_buf[ex_buf_ptr] <> backslash)) do
+ begin {this scans to the next control sequence}
+ if (ex_buf[ex_buf_ptr] = right_brace) then
+ decr(brace_level)
+ else if (ex_buf[ex_buf_ptr] = left_brace) then
+ incr(brace_level);
+ incr(ex_buf_ptr);
+ end;
+ @<Convert a noncontrol sequence@>;
+ end;
+decr(ex_buf_ptr); {unskip the |right_brace|}
+end
+
+
+@
+@^control sequence@>
+@:this can't happen}{\quad Unknown type of case conversion@>
+A control sequence, for the purposes of this program, consists just of
+the consecutive alphabetic characters following the |backslash|; it
+might be empty (although ones in this section aren't).
+
+@<Convert the accented or foreign character, if necessary@>=
+begin
+case (conversion_type) of
+ title_lowers,
+ all_lowers :
+ case (ilk_info[control_seq_loc]) of
+ n_l_upper,
+ n_o_upper,
+ n_oe_upper,
+ n_ae_upper,
+ n_aa_upper :
+ lower_case (ex_buf, ex_buf_xptr, ex_buf_ptr-ex_buf_xptr);
+ othercases
+ do_nothing
+ endcases;
+ all_uppers :
+ case (ilk_info[control_seq_loc]) of
+ n_l,
+ n_o,
+ n_oe,
+ n_ae,
+ n_aa :
+ upper_case (ex_buf, ex_buf_xptr, ex_buf_ptr-ex_buf_xptr);
+ n_i,
+ n_j,
+ n_ss :
+ @<Convert, then remove the control sequence@>;
+ othercases
+ do_nothing
+ endcases;
+ bad_conversion :
+ do_nothing;
+ othercases
+ case_conversion_confusion
+endcases;
+end
+
+
+@
+@:this can't happen}{\quad Unknown type of case conversion@>
+Another bug complaint.
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure case_conversion_confusion;
+begin
+confusion ('Unknown type of case conversion');
+end;
+
+
+@
+After converting the control sequence, we need to remove the preceding
+|backslash| and any following |white_space|.
+
+@<Convert, then remove the control sequence@>=
+begin
+upper_case (ex_buf, ex_buf_xptr, ex_buf_ptr-ex_buf_xptr);
+while (ex_buf_xptr < ex_buf_ptr) do
+ begin {remove preceding |backslash| and shift down}
+ ex_buf[ex_buf_xptr-1] := ex_buf[ex_buf_xptr];
+ incr(ex_buf_xptr);
+ end;
+decr(ex_buf_xptr);
+while ((ex_buf_ptr < ex_buf_length) and
+ (lex_class[ex_buf[ex_buf_ptr]] = white_space)) do
+ incr(ex_buf_ptr); {remove |white_space| trailing the control seq}
+tmp_ptr := ex_buf_ptr;
+while (tmp_ptr < ex_buf_length) do
+ begin {more shifting down}
+ ex_buf[tmp_ptr-(ex_buf_ptr-ex_buf_xptr)] := ex_buf[tmp_ptr];
+ incr(tmp_ptr)
+ end;
+ex_buf_length := tmp_ptr - (ex_buf_ptr - ex_buf_xptr);
+ex_buf_ptr := ex_buf_xptr;
+end
+
+
+@
+@:this can't happen}{\quad Unknown type of case conversion@>
+There are no control sequences in what we're about to convert,
+so a straight conversion suffices.
+
+@<Convert a noncontrol sequence@>=
+begin
+case (conversion_type) of
+ title_lowers,
+ all_lowers :
+ lower_case (ex_buf, ex_buf_xptr, ex_buf_ptr-ex_buf_xptr);
+ all_uppers :
+ upper_case (ex_buf, ex_buf_xptr, ex_buf_ptr-ex_buf_xptr);
+ bad_conversion :
+ do_nothing;
+ othercases
+ case_conversion_confusion
+endcases;
+end
+
+
+@
+@:this can't happen}{\quad Unknown type of case conversion@>
+This code does any needed conversion for an ordinary character; it
+won't touch nonletters.
+
+@<Convert a |brace_level = 0| character@>=
+begin
+case (conversion_type) of
+ title_lowers :
+ begin
+ if (ex_buf_ptr = 0) then
+ do_nothing
+ else if ((prev_colon) and
+ (lex_class[ex_buf[ex_buf_ptr-1]] = white_space)) then
+ do_nothing
+ else
+ lower_case (ex_buf, ex_buf_ptr, 1);
+ if (ex_buf[ex_buf_ptr] = colon) then
+ prev_colon := true
+ else if (lex_class[ex_buf[ex_buf_ptr]] <> white_space) then
+ prev_colon := false;
+ end;
+ all_lowers :
+ lower_case (ex_buf, ex_buf_ptr, 1);
+ all_uppers :
+ upper_case (ex_buf, ex_buf_ptr, 1);
+ bad_conversion :
+ do_nothing;
+ othercases
+ case_conversion_confusion
+endcases;
+end
+
+
+@
+The |built_in| function {\.{chr.to.int\$}} pops the top (string)
+literal, makes sure it's a single character, converts it to the
+corresponding |ASCII_code| integer, and pushes this integer. If the
+literal isn't an appropriate string, it complains and pushes the
+integer~0.
+
+@<|execute_fn|({\.{chr.to.int\$}})@>=
+procedure x_chr_to_int;
+begin
+pop_lit_stk (pop_lit1,pop_typ1);
+if (pop_typ1 <> stk_str) then
+ begin
+ print_wrong_stk_lit (pop_lit1,pop_typ1,stk_str);
+ push_lit_stk (0, stk_int);
+ end
+else if (length(pop_lit1) <> 1) then
+ begin
+ print ('"');
+ print_pool_str (pop_lit1);
+ bst_ex_warn ('" isn''t a single character');
+ push_lit_stk (0, stk_int);
+ end
+else
+ push_lit_stk (str_pool[str_start[pop_lit1]], stk_int);
+ {push the (|ASCII_code|) integer}
+end;
+
+
+@
+The |built_in| function {\.{cite\$}} pushes the appropriate string
+from |cite_list| onto the stack.
+
+@<|execute_fn|({\.{cite\$}})@>=
+procedure x_cite;
+begin
+if (not mess_with_entries) then
+ bst_cant_mess_with_entries_print
+ else
+ push_lit_stk (cur_cite_str, stk_str);
+end;
+
+
+@
+@^push the literal stack@>
+The |built_in| function {\.{duplicate\$}} pops the top literal from
+the stack and pushes two copies of it.
+
+@<|execute_fn|({\.{duplicate\$}})@>=
+procedure x_duplicate;
+begin
+pop_lit_stk (pop_lit1,pop_typ1);
+if (pop_typ1 <> stk_str) then
+ begin
+ push_lit_stk (pop_lit1, pop_typ1);
+ push_lit_stk (pop_lit1, pop_typ1);
+ end
+ else
+ begin
+ repush_string;
+ if (pop_lit1 < cmd_str_ptr) then
+ push_lit_stk (pop_lit1, pop_typ1)
+ else
+ begin
+ str_room (length(pop_lit1));
+ sp_ptr := str_start[pop_lit1];
+ sp_end := str_start[pop_lit1+1];
+ while (sp_ptr < sp_end) do
+ begin
+ append_char (str_pool[sp_ptr]);
+ incr(sp_ptr);
+ end;
+ push_lit_stk (make_string, stk_str); {and push it onto the stack}
+ end;
+ end;
+end;
+
+
+@
+The |built_in| function {\.{empty\$}} pops the top literal and pushes
+the integer 1 if it's a missing field or a string having no
+non|white_space| characters, 0 otherwise. If the literal isn't a
+missing field or a string, it complains and pushes 0.
+
+@<|execute_fn|({\.{empty\$}})@>=
+procedure x_empty;
+label exit;
+begin
+pop_lit_stk (pop_lit1,pop_typ1);
+case (pop_typ1) of
+ stk_str : @<Push 0 if the string has a non|white_space| char, else 1@>;
+ stk_field_missing : push_lit_stk (1, stk_int);
+ stk_empty : push_lit_stk (0, stk_int);
+ othercases
+ begin
+ print_stk_lit (pop_lit1,pop_typ1);
+ bst_ex_warn (', not a string or missing field,');
+ push_lit_stk (0, stk_int);
+ end
+endcases;
+exit:
+end;
+
+
+@
+When we arrive here we're dealing with a legitimate string. If it has
+no characters, or has nothing but |white_space| characters, we push~1,
+otherwise we push~0.
+
+@<Push 0 if the string has a non|white_space| char, else 1@>=
+begin
+sp_ptr := str_start[pop_lit1];
+sp_end := str_start[pop_lit1+1];
+while (sp_ptr < sp_end) do
+ begin
+ if (lex_class[str_pool[sp_ptr]] <> white_space) then
+ begin
+ push_lit_stk (0, stk_int);
+ return;
+ end;
+ incr(sp_ptr);
+ end;
+push_lit_stk (1, stk_int);
+end
+
+
+@
+The |built_in| function {\.{format.name\$}} pops the top three
+literals (they are a string, an integer, and a string literal, in that
+order). The last string literal represents a name list (each name
+corresponding to a person), the integer literal specifies which name
+to pick from this list, and the first string literal specifies how to
+format this name, as described in the \BibTeX\ documentation.
+Finally, this function pushes the formatted name. If any of the types
+is incorrect, it complains and pushes the null string.
+
+@d von_found = 52 {for when a von token is found}
+
+@<|execute_fn|({\.{format.name\$}})@>=
+procedure x_format_name;
+label loop1_exit,@!loop2_exit,@!von_found;
+begin
+pop_lit_stk (pop_lit1,pop_typ1);
+pop_lit_stk (pop_lit2,pop_typ2);
+pop_lit_stk (pop_lit3,pop_typ3);
+if (pop_typ1 <> stk_str) then
+ begin
+ print_wrong_stk_lit (pop_lit1,pop_typ1,stk_str);
+ push_lit_stk (s_null, stk_str);
+ end
+else if (pop_typ2 <> stk_int) then
+ begin
+ print_wrong_stk_lit (pop_lit2,pop_typ2,stk_int);
+ push_lit_stk (s_null, stk_str);
+ end
+else if (pop_typ3 <> stk_str) then
+ begin
+ print_wrong_stk_lit (pop_lit3,pop_typ3,stk_str);
+ push_lit_stk (s_null, stk_str);
+ end
+else
+ begin
+ ex_buf_length := 0;
+ add_buf_pool (pop_lit3);
+ @<Isolate the desired name@>;
+ @<Copy name and count |comma|s to determine syntax@>;
+ @<Find the parts of the name@>;
+ ex_buf_length := 0;
+ add_buf_pool (pop_lit1);
+ figure_out_the_formatted_name;@/
+ add_pool_buf_and_push; {push the formatted string onto the stack}
+ end;
+end;
+
+
+@
+This module skips over undesired names in |pop_lit3| and it throws
+away the ``and'' from the end of the name if it exists. When it's
+done, |ex_buf_xptr| points to its first character and |ex_buf_ptr|
+points just past its last.
+
+@<Isolate the desired name@>=
+begin
+ex_buf_ptr := 0;
+num_names := 0;
+while ((num_names < pop_lit2) and (ex_buf_ptr < ex_buf_length)) do
+ begin
+ incr(num_names);
+ ex_buf_xptr := ex_buf_ptr;
+ name_scan_for_and (pop_lit3);
+ end;
+if (ex_buf_ptr < ex_buf_length) then {remove the ``and''}
+ ex_buf_ptr := ex_buf_ptr - 4;
+if (num_names < pop_lit2) then
+ begin
+ if (pop_lit2 = 1) then
+ print ('There is no name in "')
+ else
+ print ('There aren''t ',pop_lit2:0,' names in "');
+ print_pool_str (pop_lit3);
+ bst_ex_warn ('"');
+ end
+end
+
+
+@
+This module, starting at |ex_buf_ptr|, looks in |ex_buf| for an
+``and'' surrounded by nonnull |white_space|. It stops either at
+|ex_buf_length| or just past the ``and'', whichever comes first,
+setting |ex_buf_ptr| accordingly. Its parameter |pop_lit_var| is
+either |pop_lit3| or |pop_lit1|, depending on whether
+{\.{format.name\$}} or {\.{num.names\$}} calls it.
+
+@<Procedures and functions for name-string processing@>=
+procedure name_scan_for_and (@!pop_lit_var : str_number);
+begin
+brace_level := 0;
+preceding_white := false;
+and_found := false;
+while ((not and_found) and (ex_buf_ptr < ex_buf_length)) do
+ case (ex_buf[ex_buf_ptr]) of
+ "a", "A" :
+ begin
+ incr(ex_buf_ptr);
+ if (preceding_white) then
+ @<See if we have an ``and''@>; {if so, |and_found := true|}
+ preceding_white := false;
+ end;
+ left_brace :
+ begin
+ incr(brace_level);
+ incr(ex_buf_ptr);
+ @<Skip over |ex_buf| stuff at |brace_level > 0|@>;
+ preceding_white := false;
+ end;
+ right_brace :
+ begin
+ decr_brace_level (pop_lit_var); {this checks for an error}
+ incr(ex_buf_ptr);
+ preceding_white := false;
+ end;
+ othercases
+ if (lex_class[ex_buf[ex_buf_ptr]] = white_space) then
+ begin
+ incr(ex_buf_ptr);
+ preceding_white := true;
+ end
+ else
+ begin
+ incr(ex_buf_ptr);
+ preceding_white := false;
+ end
+ endcases;
+check_brace_level (pop_lit_var);
+end;
+
+
+@
+When we come here |ex_buf_ptr| is just past the |left_brace|, and when
+we leave it's either at |ex_buf_length| or just past the matching
+|right_brace|.
+
+@<Skip over |ex_buf| stuff at |brace_level > 0|@>=
+while ((brace_level > 0) and (ex_buf_ptr < ex_buf_length)) do
+ begin
+ if (ex_buf[ex_buf_ptr] = right_brace) then
+ decr(brace_level)
+ else if (ex_buf[ex_buf_ptr] = left_brace) then
+ incr(brace_level);
+ incr(ex_buf_ptr);
+ end
+
+
+@
+When we come here |ex_buf_ptr| is just past the ``a'' or ``A'', and when
+we leave it's either at the same place or, if we found an ``and'', at
+the following |white_space| character.
+
+@<See if we have an ``and''@>=
+begin
+if (ex_buf_ptr <= (ex_buf_length - 3)) then {enough characters are left}
+ if ((ex_buf[ex_buf_ptr] = "n") or (ex_buf[ex_buf_ptr] = "N")) then
+ if ((ex_buf[ex_buf_ptr+1] = "d") or (ex_buf[ex_buf_ptr+1] = "D")) then
+ if (lex_class[ex_buf[ex_buf_ptr+2]] = white_space) then
+ begin
+ ex_buf_ptr := ex_buf_ptr + 2;
+ and_found := true;
+ end;
+end
+
+
+@
+When we arrive here, the desired name is in |ex_buf[ex_buf_xptr]|
+through |ex_buf[ex_buf_ptr-1]|. This module does its thing for
+characters only at |brace_level = 0|; the rest get processed verbatim.
+It removes leading |white_space| (and |sep_char|s), and trailing
+|white_space| (and |sep_char|s) and |comma|s, complaining for each
+trailing |comma|. It then copies the name into |name_buf|, removing
+all |white_space|, |sep_char|s and |comma|s, counting |comma|s, and
+constructing a list of name tokens, which are sequences of characters
+separated (at |brace_level=0|) by |white_space|, |sep_char|s or
+|comma|s. Each name token but the first has an associated
+|name_sep_char|, the character that separates it from the preceding
+token. If there are too many (more than two) |comma|s, a complaint is
+in order.
+
+@<Copy name and count |comma|s to determine syntax@>=
+begin
+@<Remove leading and trailing junk, complaining if necessary@>;
+name_bf_ptr := 0;
+num_commas := 0;
+num_tokens := 0;@/
+token_starting := true; {to indicate that a name token is starting}
+while (ex_buf_xptr < ex_buf_ptr) do
+ case (ex_buf[ex_buf_xptr]) of
+ comma : @<Name-process a |comma|@>;
+ left_brace : @<Name-process a |left_brace|@>;
+ right_brace : @<Name-process a |right_brace|@>;
+ othercases
+ case (lex_class[ex_buf[ex_buf_xptr]]) of
+ white_space : @<Name-process a |white_space|@>;
+ sep_char : @<Name-process a |sep_char|@>;
+ othercases @<Name-process some other character@>
+ endcases
+ endcases;
+name_tok[num_tokens] := name_bf_ptr; {this is an end-marker}
+end
+
+
+@
+This module removes all leading |white_space| (and |sep_char|s), and
+trailing |white_space| (and |sep_char|s) and |comma|s. It complains
+for each trailing |comma|.
+
+@<Remove leading and trailing junk, complaining if necessary@>=
+begin
+while ((ex_buf_xptr < ex_buf_ptr) and
+ (lex_class[ex_buf[ex_buf_ptr]] = white_space) and
+ (lex_class[ex_buf[ex_buf_ptr]] = sep_char)) do
+ incr(ex_buf_xptr); {this removes leading stuff}
+while (ex_buf_ptr > ex_buf_xptr) do {now remove trailing stuff}
+ case (lex_class[ex_buf[ex_buf_ptr-1]]) of
+ white_space,
+ sep_char :
+ decr(ex_buf_ptr);
+ othercases
+ if (ex_buf[ex_buf_ptr-1] = comma) then
+ begin
+ print ('Name ',pop_lit2:0,' in "');
+ print_pool_str (pop_lit3);
+ print ('" has a comma at the end');
+ bst_ex_warn_print;
+ decr(ex_buf_ptr);
+ end
+ else
+ goto loop1_exit
+ endcases;
+loop1_exit:
+
+end
+
+@
+Here we mark the token number at which this comma has occurred.
+
+@<Name-process a |comma|@>=
+begin
+if (num_commas = 2) then
+ begin
+ print ('Too many commas in name ',pop_lit2:0,' of "');
+ print_pool_str (pop_lit3);
+ print ('"');
+ bst_ex_warn_print;
+ end
+ else
+ begin
+ incr(num_commas);
+ if (num_commas = 1) then
+ comma1 := num_tokens
+ else
+ comma2 := num_tokens; {|num_commas = 2|}
+ name_sep_char[num_tokens] := comma;
+ end;
+incr(ex_buf_xptr);
+token_starting := true;
+end
+
+
+@
+We copy the stuff up through the matching |right_brace| verbatim.
+
+@<Name-process a |left_brace|@>=
+begin
+incr(brace_level);
+if (token_starting) then
+ begin
+ name_tok[num_tokens] := name_bf_ptr;
+ incr(num_tokens);
+ end;
+name_buf[name_bf_ptr] := ex_buf[ex_buf_xptr];
+incr(name_bf_ptr);
+incr(ex_buf_xptr);
+while ((brace_level > 0) and (ex_buf_xptr < ex_buf_ptr)) do
+ begin
+ if (ex_buf[ex_buf_xptr] = right_brace) then
+ decr(brace_level)
+ else if (ex_buf[ex_buf_xptr] = left_brace) then
+ incr(brace_level);
+ name_buf[name_bf_ptr] := ex_buf[ex_buf_xptr];
+ incr(name_bf_ptr);
+ incr(ex_buf_xptr);
+ end;
+token_starting := false;
+end
+
+
+@
+We don't copy an extra |right_brace|; this code will almost never be
+executed.
+
+@<Name-process a |right_brace|@>=
+begin
+if (token_starting) then
+ begin
+ name_tok[num_tokens] := name_bf_ptr;
+ incr(num_tokens);
+ end;
+print ('Name ',pop_lit2:0,' of "');
+print_pool_str (pop_lit3);
+bst_ex_warn ('" isn''t brace balanced');
+incr(ex_buf_xptr);
+token_starting := false;
+end
+
+
+@
+A token will be starting soon in a buffer near you, one way$\ldots$
+
+@<Name-process a |white_space|@>=
+begin
+if (not token_starting) then
+ name_sep_char[num_tokens] := space;
+incr(ex_buf_xptr);
+token_starting := true;
+end
+
+
+@
+@^user abuse@>
+or another. If one of the valid |sep_char|s appears between tokens,
+we usually use it instead of a |space|. If the user has been silly
+enough to have multiple |sep_char|s, or to have both |white_space| and
+a |sep_char|, we use the first such character.
+
+@<Name-process a |sep_char|@>=
+begin
+if (not token_starting) then
+ name_sep_char[num_tokens] := ex_buf[ex_buf_xptr];
+incr(ex_buf_xptr);
+token_starting := true;
+end
+
+
+@
+For ordinary characters, we just copy the character.
+
+@<Name-process some other character@>=
+begin
+if (token_starting) then
+ begin
+ name_tok[num_tokens] := name_bf_ptr;
+ incr(num_tokens);
+ end;
+name_buf[name_bf_ptr] := ex_buf[ex_buf_xptr];
+incr(name_bf_ptr);
+incr(ex_buf_xptr);
+token_starting := false;
+end
+
+
+@
+@:this can't happen}{\quad Illegal number of comma,s@>
+Here we set all the pointers for the various parts of the name,
+depending on which of the three possible syntaxes this name uses.
+
+@<Find the parts of the name@>=
+begin
+if (num_commas = 0) then
+ begin
+ first_start := 0;
+ last_end := num_tokens;
+ jr_end := last_end;
+ @<Determine where the first name ends and von name starts and ends@>;
+ end
+else if (num_commas = 1) then
+ begin
+ von_start := 0;
+ last_end := comma1;
+ jr_end := last_end;
+ first_start := jr_end;
+ first_end := num_tokens;
+ von_name_ends_and_last_name_starts_stuff;
+ end
+else if (num_commas = 2) then
+ begin
+ von_start := 0;
+ last_end := comma1;
+ jr_end := comma2;
+ first_start := jr_end;
+ first_end := num_tokens;
+ von_name_ends_and_last_name_starts_stuff;
+ end
+else
+ confusion ('Illegal number of comma,s');
+end
+
+
+@
+When there are no brace-level-0 |comma|s in the name, the von name
+starts with the first nonlast token whose first brace-level-0 letter
+is in lower case (for the purposes of this determination, an accented
+or foreign character at brace-level-1 that's in lower case will do, as
+well). A module following this one determines where the von name ends
+and the last starts.
+
+@<Determine where the first name ends and von name starts and ends@>=
+begin
+von_start := 0;
+while (von_start < last_end-1) do
+ begin
+ name_bf_ptr := name_tok[von_start];
+ name_bf_xptr := name_tok[von_start+1];
+ if (von_token_found) then
+ begin
+ von_name_ends_and_last_name_starts_stuff;
+ goto von_found;
+ end;
+ incr(von_start);
+ end; {there's no von name, so}
+while (von_start > 0) do {backtrack if there are connected tokens}
+ begin
+ if ((lex_class[name_sep_char[von_start]] <> sep_char) or
+ (name_sep_char[von_start] = tie)) then
+ goto loop2_exit;
+ decr(von_start);
+ end;
+loop2_exit:
+von_end := von_start;
+von_found:
+first_end := von_start;
+end
+
+
+@
+@^special character@>
+It's a von token if there exists a first brace-level-0 letter (or
+brace-level-1 special character), and it's in lower case; in this case
+we return |true|. The token is in |name_buf|, starting at
+|name_bf_ptr| and ending just before |name_bf_xptr|.
+
+@d return_von_found == begin
+ von_token_found := true;
+ return;
+ end
+
+@<Procedures and functions for name-string processing@>=
+function von_token_found : boolean;
+label exit;
+begin
+nm_brace_level := 0;
+von_token_found := false; {now it's easy to exit if necessary}
+while (name_bf_ptr < name_bf_xptr) do
+ if ((name_buf[name_bf_ptr] >= "A") and
+ (name_buf[name_bf_ptr] <= "Z")) then
+ return
+ else if ((name_buf[name_bf_ptr] >= "a") and
+ (name_buf[name_bf_ptr] <= "z")) then
+ return_von_found
+ else if (name_buf[name_bf_ptr] = left_brace) then
+ begin
+ incr(nm_brace_level);
+ incr(name_bf_ptr);
+ if ((name_bf_ptr + 2 < name_bf_xptr) and
+ (name_buf[name_bf_ptr] = backslash)) then
+ @<Check the special character (and |return|)@>
+ else
+ @<Skip over |name_buf| stuff at |nm_brace_level > 0|@>;
+ end
+ else
+ incr(name_bf_ptr);
+exit:
+end;
+
+
+@
+@^special character@>
+When we come here |name_bf_ptr| is just past the |left_brace|,
+but we always leave by |return|ing.
+
+@<Check the special character (and |return|)@>=
+begin
+incr(name_bf_ptr); {skip over the |backslash|}
+name_bf_yptr := name_bf_ptr;
+while ((name_bf_ptr < name_bf_xptr) and
+ (lex_class[name_buf[name_bf_ptr]] = alpha)) do
+ incr(name_bf_ptr); {this scans the control sequence}
+control_seq_loc := str_lookup(name_buf,name_bf_yptr,name_bf_ptr-name_bf_yptr,
+ control_seq_ilk,dont_insert);
+if (hash_found) then
+ @<Handle this accented or foreign character (and |return|)@>;
+while ((name_bf_ptr < name_bf_xptr) and (nm_brace_level > 0)) do
+ begin
+ if ((name_buf[name_bf_ptr] >= "A") and
+ (name_buf[name_bf_ptr] <= "Z")) then
+ return
+ else if ((name_buf[name_bf_ptr] >= "a") and
+ (name_buf[name_bf_ptr] <= "z")) then
+ return_von_found
+ else if (name_buf[name_bf_ptr] = right_brace) then
+ decr(nm_brace_level)
+ else if (name_buf[name_bf_ptr] = left_brace) then
+ incr(nm_brace_level);
+ incr(name_bf_ptr);
+ end;
+return;
+end
+
+
+@
+@:this can't happen}{\quad Control-sequence hash error@>
+The accented or foreign character is either `\.{\\i}' or `\.{\\j}' or
+one of the eleven alphabetic foreign characters in Table~3.2 of the
+\LaTeX\ manual.
+
+@<Handle this accented or foreign character (and |return|)@>=
+begin
+case (ilk_info[control_seq_loc]) of
+ n_oe_upper,
+ n_ae_upper,
+ n_aa_upper,
+ n_o_upper,
+ n_l_upper :
+ return;
+ n_i,
+ n_j,
+ n_oe,
+ n_ae,
+ n_aa,
+ n_o,
+ n_l,
+ n_ss :
+ return_von_found;
+ othercases
+ confusion ('Control-sequence hash error')
+endcases;
+end
+
+
+@
+When we come here |name_bf_ptr| is just past the |left_brace|; when we
+leave it's either at |name_bf_xptr| or just past the matching
+|right_brace|.
+
+@<Skip over |name_buf| stuff at |nm_brace_level > 0|@>=
+while ((nm_brace_level > 0) and (name_bf_ptr < name_bf_xptr)) do
+ begin
+ if (name_buf[name_bf_ptr] = right_brace) then
+ decr(nm_brace_level)
+ else if (name_buf[name_bf_ptr] = left_brace) then
+ incr(nm_brace_level);
+ incr(name_bf_ptr);
+ end
+
+
+@
+@^Casey Stengel would be proud@>
+@^special character@>
+@^Tuesdays@>
+The last name starts just past the last token, before the first
+|comma| (if there is no |comma|, there is deemed to be one at the end
+of the string), for which there exists a first brace-level-0 letter
+(or brace-level-1 special character), and it's in lower case, unless
+this last token is also the last token before the |comma|, in which
+case the last name starts with this token (unless this last token is
+connected by a |sep_char| other than a |tie| to the previous token, in
+which case the last name starts with as many tokens earlier as are
+connected by non|tie|s to this last one (except on Tuesdays
+$\ldots\,$), although this module never sees such a case). Note that
+if there are any tokens in either the von or last names, then the last
+name has at least one, even if it starts with a lower-case letter.
+
+@<Procedures and functions for name-string processing@>=
+procedure von_name_ends_and_last_name_starts_stuff;
+label exit;
+begin {there may or may not be a von name}
+von_end := last_end - 1;
+while (von_end > von_start) do
+ begin
+ name_bf_ptr := name_tok[von_end-1];
+ name_bf_xptr := name_tok[von_end];
+ if (von_token_found) then
+ return;
+ decr(von_end);
+ end;
+exit:
+end;
+
+
+@
+This module uses the information in |pop_lit1| to format the name.
+Everything at |sp_brace_level = 0| is copied verbatim to the formatted
+string; the rest is described in the succeeding modules.
+
+@<Figure out the formatted name@>=
+begin
+ex_buf_ptr := 0;
+sp_brace_level := 0;
+sp_ptr := str_start[pop_lit1];
+sp_end := str_start[pop_lit1+1];
+while (sp_ptr < sp_end) do
+ if (str_pool[sp_ptr] = left_brace) then
+ begin
+ incr(sp_brace_level);
+ incr(sp_ptr);
+ @<Format this part of the name@>;
+ end
+ else if (str_pool[sp_ptr] = right_brace) then
+ begin
+ braces_unbalanced_complaint (pop_lit1);
+ incr(sp_ptr);
+ end
+ else
+ begin
+ append_ex_buf_char_and_check (str_pool[sp_ptr]);
+ incr(sp_ptr);
+ end;
+if (sp_brace_level > 0) then
+ braces_unbalanced_complaint (pop_lit1);
+ex_buf_length := ex_buf_ptr;
+end
+
+
+@
+When we arrive here we're at |sp_brace_level = 1|, just past the
+|left_brace|. Letters at this |sp_brace_level| other than those
+denoting the parts of the name (i.e., the first letters of `first,'
+`last,' `von,' and `jr,' ignoring case) are illegal. We do two passes
+over this group; the first determines whether we're to output
+anything, and, if we are, the second actually outputs it.
+
+@<Format this part of the name@>=
+begin
+sp_xptr1 := sp_ptr;
+alpha_found := false;
+double_letter := false;
+end_of_group := false;
+to_be_written := true;
+while ((not end_of_group) and (sp_ptr < sp_end)) do
+ if (lex_class[str_pool[sp_ptr]] = alpha) then
+ begin
+ incr(sp_ptr);
+ @<Figure out what this letter means@>;
+ end
+ else if (str_pool[sp_ptr] = right_brace) then
+ begin
+ decr(sp_brace_level);
+ incr(sp_ptr);
+ end_of_group := true;
+ end
+ else if (str_pool[sp_ptr] = left_brace) then
+ begin
+ incr(sp_brace_level);
+ incr(sp_ptr);
+ skip_stuff_at_sp_brace_level_greater_than_one;
+ end
+ else
+ incr(sp_ptr);
+if ((end_of_group) and (to_be_written)) then {do the second pass}
+ @<Finally format this part of the name@>;
+end
+
+
+@
+When we come here |sp_ptr| is just past the |left_brace|, and when we
+leave it's either at |sp_end| or just past the matching |right_brace|.
+
+@<Procedures and functions for name-string processing@>=
+procedure skip_stuff_at_sp_brace_level_greater_than_one;
+begin
+while ((sp_brace_level > 1) and (sp_ptr < sp_end)) do
+ begin
+ if (str_pool[sp_ptr] = right_brace) then
+ decr(sp_brace_level)
+ else if (str_pool[sp_ptr] = left_brace) then
+ incr(sp_brace_level);
+ incr(sp_ptr);
+ end;
+end;
+
+
+@
+We won't output anything for this part of the name if this is a second
+occurrence of an |sp_brace_level = 1| letter, if it's an illegal
+letter, or if there are no tokens corresponding to this part. We also
+determine if we're we to output complete tokens (indicated by a double
+letter).
+
+@<Figure out what this letter means@>=
+begin
+if (alpha_found) then
+ begin
+ brace_lvl_one_letters_complaint;
+ to_be_written := false;
+ end
+ else
+ begin
+ case (str_pool[sp_ptr-1]) of
+ "f","F" : @<Figure out what tokens we'll output for the `first' name@>;
+ "v","V" : @<Figure out what tokens we'll output for the `von' name@>;
+ "l","L" : @<Figure out what tokens we'll output for the `last' name@>;
+ "j","J" : @<Figure out what tokens we'll output for the `jr' name@>;
+ othercases
+ begin
+ brace_lvl_one_letters_complaint;
+ to_be_written := false;
+ end
+ endcases;
+ if (double_letter) then
+ incr(sp_ptr);
+ end;
+alpha_found := true;
+end
+
+
+@
+At most one of the important letters, perhaps doubled, may appear at
+|sp_brace_level = 1|.
+
+@<Procedures and functions for name-string processing@>=
+procedure brace_lvl_one_letters_complaint;
+begin
+print ('The format string "');
+print_pool_str (pop_lit1);
+bst_ex_warn ('" has an illegal brace-level-1 letter');
+end;
+
+
+@
+Here we set pointers into |name_tok| and note whether we'll be dealing
+with a full first-name tokens (|double_letter = true|) or
+abbreviations (|double_letter = false|).
+
+@<Figure out what tokens we'll output for the `first' name@>=
+begin
+cur_token := first_start;
+last_token := first_end;
+if (cur_token = last_token) then
+ to_be_written := false;
+if ((str_pool[sp_ptr] = "f") or (str_pool[sp_ptr] = "F")) then
+ double_letter := true;
+end
+
+
+@
+The same as above but for von-name tokens.
+
+@<Figure out what tokens we'll output for the `von' name@>=
+begin
+cur_token := von_start;
+last_token := von_end;
+if (cur_token = last_token) then
+ to_be_written := false;
+if ((str_pool[sp_ptr] = "v") or (str_pool[sp_ptr] = "V")) then
+ double_letter := true;
+end
+
+
+@
+The same as above but for last-name tokens.
+
+@<Figure out what tokens we'll output for the `last' name@>=
+begin
+cur_token := von_end;
+last_token := last_end;
+if (cur_token = last_token) then
+ to_be_written := false;
+if ((str_pool[sp_ptr] = "l") or (str_pool[sp_ptr] = "L")) then
+ double_letter := true;
+end
+
+
+@
+The same as above but for jr-name tokens.
+
+@<Figure out what tokens we'll output for the `jr' name@>=
+begin
+cur_token := last_end;
+last_token := jr_end;
+if (cur_token = last_token) then
+ to_be_written := false;
+if ((str_pool[sp_ptr] = "j") or (str_pool[sp_ptr] = "J")) then
+ double_letter := true;
+end
+
+
+@
+This is the second pass over this part of the name; here we actually
+write stuff out to |ex_buf|.
+
+@<Finally format this part of the name@>=
+begin
+ex_buf_xptr := ex_buf_ptr;
+sp_ptr := sp_xptr1;
+sp_brace_level := 1;
+while (sp_brace_level > 0) do
+ if ((lex_class[str_pool[sp_ptr]] = alpha) and (sp_brace_level = 1)) then
+ begin
+ incr(sp_ptr);
+ @<Figure out how to output the name tokens, and do it@>;
+ end
+ else if (str_pool[sp_ptr] = right_brace) then
+ begin
+ decr(sp_brace_level);
+ incr(sp_ptr);
+ if (sp_brace_level > 0) then
+ append_ex_buf_char_and_check (right_brace);
+ end
+ else if (str_pool[sp_ptr] = left_brace) then
+ begin
+ incr(sp_brace_level);
+ incr(sp_ptr);
+ append_ex_buf_char_and_check (left_brace);
+ end
+ else
+ begin
+ append_ex_buf_char_and_check (str_pool[sp_ptr]);
+ incr(sp_ptr);
+ end;
+if (ex_buf_ptr > 0) then
+ if (ex_buf[ex_buf_ptr-1] = tie) then
+ @<Handle a discretionary |tie|@>;
+end
+
+
+@
+When we come here, |sp_ptr| is just past the letter indicating the
+part of the name for which we're about to output tokens. When we
+leave, it's at the first character of the rest of the group.
+
+@<Figure out how to output the name tokens, and do it@>=
+begin
+if (double_letter) then
+ incr(sp_ptr);
+use_default := true;
+sp_xptr2 := sp_ptr;
+if (str_pool[sp_ptr] = left_brace) then {find the inter-token string}
+ begin
+ use_default := false;
+ incr(sp_brace_level);
+ incr(sp_ptr);
+ sp_xptr1 := sp_ptr;
+ skip_stuff_at_sp_brace_level_greater_than_one;
+ sp_xptr2 := sp_ptr - 1;
+ end;
+@<Finally output the name tokens@>;
+if (not use_default) then
+ sp_ptr := sp_xptr2 + 1;
+end
+
+
+@
+Here, for each token in this part, we output either a full or an
+abbreviated token and the inter-token string for all but the last
+token of this part.
+
+@<Finally output the name tokens@>=
+while (cur_token < last_token) do
+ begin
+ if (double_letter) then
+ @<Finally output a full token@>
+ else
+ @<Finally output an abbreviated token@>;
+ incr(cur_token);
+ if (cur_token < last_token) then
+ @<Finally output the inter-token string@>;
+ end
+
+
+@
+@:BibTeX capacity exceeded}{\quad buffer size@>
+Here we output all the characters in the token, verbatim.
+
+@<Finally output a full token@>=
+begin
+name_bf_ptr := name_tok[cur_token];
+name_bf_xptr := name_tok[cur_token+1];
+if (ex_buf_length+(name_bf_xptr-name_bf_ptr) > buf_size) then
+ buffer_overflow;
+while (name_bf_ptr < name_bf_xptr) do
+ begin
+ append_ex_buf_char (name_buf[name_bf_ptr]);
+ incr(name_bf_ptr);
+ end;
+end
+
+
+@
+@^special character@>
+Here we output the first alphabetic or special character of the token;
+brace level is irrelevant for an alphabetic (but not a special)
+character.
+
+@<Finally output an abbreviated token@>=
+begin
+name_bf_ptr := name_tok[cur_token];
+name_bf_xptr := name_tok[cur_token+1];
+while (name_bf_ptr < name_bf_xptr) do
+ begin
+ if (lex_class[name_buf[name_bf_ptr]] = alpha) then
+ begin
+ append_ex_buf_char_and_check (name_buf[name_bf_ptr]);
+ goto loop_exit;
+ end
+ else if ((name_buf[name_bf_ptr] = left_brace) and
+ (name_bf_ptr + 1 < name_bf_xptr)) then
+ if (name_buf[name_bf_ptr+1] = backslash) then
+ @<Finally output a special character and exit loop@>;
+ incr(name_bf_ptr);
+ end;
+loop_exit:
+end
+
+
+@
+@^special character@>
+@^user abuse@>
+@:BibTeX capacity exceeded}{\quad buffer size@>
+We output a special character here even if the user has been silly
+enough to make it nonalphabetic (and even if the user has been sillier
+still by not having a matching |right_brace|).
+
+@<Finally output a special character and exit loop@>=
+begin
+if (ex_buf_ptr + 2 > buf_size) then
+ buffer_overflow;
+append_ex_buf_char (left_brace);
+append_ex_buf_char (backslash);
+name_bf_ptr := name_bf_ptr + 2;
+nm_brace_level := 1;
+while ((name_bf_ptr < name_bf_xptr) and (nm_brace_level > 0)) do
+ begin
+ if (name_buf[name_bf_ptr] = right_brace) then
+ decr(nm_brace_level)
+ else if (name_buf[name_bf_ptr] = left_brace) then
+ incr(nm_brace_level);
+ append_ex_buf_char_and_check (name_buf[name_bf_ptr]);
+ incr(name_bf_ptr);
+ end;
+goto loop_exit;
+end
+
+
+@
+@:BibTeX capacity exceeded}{\quad buffer size@>
+Here we output either the \.{.bst} given string if it exists, or else
+the \.{.bib} |sep_char| if it exists, or else the default string. A
+|tie| is the default space character between the last two tokens of
+the name part, and between the first two tokens if the first token is
+short enough; otherwise, a |space| is the default.
+
+@d long_token = 3 {a token this length or longer is ``long''}
+
+@<Finally output the inter-token string@>=
+begin
+if (use_default) then
+ begin
+ if (not double_letter) then
+ append_ex_buf_char_and_check (period);
+ if (lex_class[name_sep_char[cur_token]] = sep_char) then
+ append_ex_buf_char_and_check (name_sep_char[cur_token])
+ else if ((cur_token = last_token-1) or
+ (not enough_text_chars (long_token))) then
+ append_ex_buf_char_and_check (tie)
+ else
+ append_ex_buf_char_and_check (space);
+ end
+ else
+ begin
+ if (ex_buf_length+(sp_xptr2-sp_xptr1) > buf_size) then
+ buffer_overflow;
+ sp_ptr := sp_xptr1;
+ while (sp_ptr < sp_xptr2) do
+ begin
+ append_ex_buf_char (str_pool[sp_ptr]);
+ incr(sp_ptr);
+ end
+ end;
+end
+
+
+@
+@^special character@>
+This function looks at the string in |ex_buf|, starting at
+|ex_buf_xptr| and ending just before |ex_buf_ptr|, and it returns
+|true| if there are |enough_chars|, where a special character (even if
+it's missing its matching |right_brace|) counts as a single charcter.
+This procedure is called only for strings that don't have too many
+|right_brace|s.
+
+@<Procedures and functions for name-string processing@>=
+function enough_text_chars (@!enough_chars : buf_pointer) : boolean;
+begin
+num_text_chars := 0;
+ex_buf_yptr := ex_buf_xptr;
+while ((ex_buf_yptr < ex_buf_ptr) and (num_text_chars < enough_chars)) do
+ begin
+ incr(ex_buf_yptr);
+ if (ex_buf[ex_buf_yptr-1] = left_brace) then
+ begin
+ incr(brace_level);
+ if ((brace_level = 1) and (ex_buf_yptr < ex_buf_ptr)) then
+ if (ex_buf[ex_buf_yptr] = backslash) then
+ begin
+ incr(ex_buf_yptr); {skip over the |backslash|}
+ while ((ex_buf_yptr < ex_buf_ptr) and (brace_level > 0)) do
+ begin
+ if (ex_buf[ex_buf_yptr] = right_brace) then
+ decr(brace_level)
+ else if (ex_buf[ex_buf_yptr] = left_brace) then
+ incr(brace_level);
+ incr(ex_buf_yptr);
+ end;
+ end;
+ end
+ else if (ex_buf[ex_buf_yptr-1] = right_brace) then
+ decr(brace_level);
+ incr(num_text_chars);
+ end;
+if (num_text_chars < enough_chars) then
+ enough_text_chars := false
+ else
+ enough_text_chars := true;
+end;
+
+
+@
+If the last character output for this name part is a |tie| but the
+previous character it isn't, we're dealing with a discretionary |tie|;
+thus we replace it by a |space| if there are enough characters in the
+rest of the name part.
+
+@d long_name = 3 {a name this length or longer is ``long''}
+
+@<Handle a discretionary |tie|@>=
+begin
+decr(ex_buf_ptr); {remove the previous |tie|}
+if (ex_buf[ex_buf_ptr-1] = tie) then {it's not a discretionary |tie|}
+ do_nothing
+else if (not enough_text_chars (long_name)) then {this is a short name part}
+ incr(ex_buf_ptr) {so restore the |tie|}
+else {replace it by a |space|}
+ append_ex_buf_char (space);
+end
+
+
+@
+This is a procedure so that |x_format_name| is smaller.
+
+@<Procedures and functions for name-string processing@>=
+procedure figure_out_the_formatted_name;
+label loop_exit;
+begin
+@<Figure out the formatted name@>;
+end;
+
+
+@
+The |built_in| function {\.{if\$}} pops the top three literals (they
+are two function literals and an integer literal, in that order); if
+the integer is greater than 0, it executes the second literal, else it
+executes the first. If any of the types is incorrect, it complains
+but does nothing else.
+
+@<|execute_fn|({\.{if\$}})@>=
+begin
+pop_lit_stk (pop_lit1,pop_typ1);
+pop_lit_stk (pop_lit2,pop_typ2);
+pop_lit_stk (pop_lit3,pop_typ3);
+if (pop_typ1 <> stk_fn) then
+ print_wrong_stk_lit (pop_lit1,pop_typ1,stk_fn)
+else if (pop_typ2 <> stk_fn) then
+ print_wrong_stk_lit (pop_lit2,pop_typ2,stk_fn)
+else if (pop_typ3 <> stk_int) then
+ print_wrong_stk_lit (pop_lit3,pop_typ3,stk_int)
+else
+ if (pop_lit3 > 0) then
+ execute_fn (pop_lit2)
+ else
+ execute_fn (pop_lit1);
+end
+
+
+@
+The |built_in| function {\.{int.to.chr\$}} pops the top (integer)
+literal, interpreted as the |ASCII_code| of a single character,
+converts it to the corresponding single-character string, and pushes
+this string. If the literal isn't an appropriate integer, it
+complains and pushes the null string.
+
+@<|execute_fn|({\.{int.to.chr\$}})@>=
+procedure x_int_to_chr;
+begin
+pop_lit_stk (pop_lit1,pop_typ1);
+if (pop_typ1 <> stk_int) then
+ begin
+ print_wrong_stk_lit (pop_lit1,pop_typ1,stk_int);
+ push_lit_stk (s_null, stk_str);
+ end
+else if ((pop_lit1 < 0) or (pop_lit1 > 127)) then
+ begin
+ bst_ex_warn (pop_lit1:0,' isn''t valid ASCII');
+ push_lit_stk (s_null, stk_str);
+ end
+else
+ begin
+ str_room(1);
+ append_char (pop_lit1);
+ push_lit_stk (make_string, stk_str);
+ end;
+end;
+
+
+@
+The |built_in| function {\.{int.to.str\$}} pops the top (integer)
+literal, converts it to its (unique) string equivalent, and pushes
+this string. If the literal isn't an integer, it complains and pushes
+the null string.
+
+@<|execute_fn|({\.{int.to.str\$}})@>=
+procedure x_int_to_str;
+begin
+pop_lit_stk (pop_lit1,pop_typ1);
+if (pop_typ1 <> stk_int) then
+ begin
+ print_wrong_stk_lit (pop_lit1,pop_typ1,stk_int);
+ push_lit_stk (s_null, stk_str);
+ end
+else
+ begin
+ int_to_ASCII (pop_lit1, ex_buf, 0, ex_buf_length);@/
+ add_pool_buf_and_push; {push this string onto the stack}
+ end;
+end;
+
+
+@
+The |built_in| function {\.{missing\$}} pops the top literal and
+pushes the integer 1 if it's a missing field, 0 otherwise. If the
+literal isn't a missing field or a string, it complains and pushes 0.
+Unlike \.{empty\$}, this function should be called only when
+|mess_with_entries| is true.
+
+@<|execute_fn|({\.{missing\$}})@>=
+procedure x_missing;
+begin
+pop_lit_stk (pop_lit1,pop_typ1);
+if (not mess_with_entries) then
+ bst_cant_mess_with_entries_print
+else if ((pop_typ1 <> stk_str) and (pop_typ1 <> stk_field_missing)) then
+ begin
+ if (pop_typ1 <> stk_empty) then
+ begin
+ print_stk_lit (pop_lit1,pop_typ1);
+ bst_ex_warn (', not a string or missing field,');
+ end;
+ push_lit_stk (0, stk_int);
+ end
+else
+ if (pop_typ1 = stk_field_missing) then
+ push_lit_stk (1, stk_int)
+ else
+ push_lit_stk (0, stk_int);
+end;
+
+
+@
+The |built_in| function {\.{newline\$}} writes whatever has
+accumulated in the output buffer |out_buf| onto the \.{.bbl} file.
+
+@<|execute_fn|({\.{newline\$}})@>=
+begin
+output_bbl_line;
+end
+
+
+@
+The |built_in| function {\.{num.names\$}} pops the top (string)
+literal; it pushes the number of names the string represents---one
+plus the number of occurrences of the substring ``and'' (ignoring case
+differences) surrounded by nonnull |white_space| at the top brace
+level. If the literal isn't a string, it complains and pushes the
+value 0.
+
+@<|execute_fn|({\.{num.names\$}})@>=
+procedure x_num_names;
+begin
+pop_lit_stk (pop_lit1,pop_typ1);
+if (pop_typ1 <> stk_str) then
+ begin
+ print_wrong_stk_lit (pop_lit1,pop_typ1,stk_str);
+ push_lit_stk (0, stk_int);
+ end
+else
+ begin
+ ex_buf_length := 0;
+ add_buf_pool (pop_lit1);
+ @<Determine the number of names@>;
+ push_lit_stk (num_names, stk_int);
+ end;
+end;
+
+
+@
+This module, while scanning the list of names, counts the occurrences
+of ``and'' (ignoring case differences) surrounded by nonnull
+|white_space|, and adds 1.
+
+@<Determine the number of names@>=
+begin
+ex_buf_ptr := 0;
+num_names := 0;
+while (ex_buf_ptr < ex_buf_length) do
+ begin
+ name_scan_for_and (pop_lit1);
+ incr(num_names);
+ end;
+end
+
+
+@
+The |built_in| function {\.{pop\$}} pops the top of the stack but
+doesn't print it.
+
+@<|execute_fn|({\.{pop\$}})@>=
+begin
+pop_lit_stk (pop_lit1,pop_typ1);
+end
+
+
+@
+The |built_in| function {\.{preamble\$}} pushes onto the stack the
+concatenation of all the \.{preamble} strings read from the database
+files.
+
+@<|execute_fn|({\.{preamble\$}})@>=
+procedure x_preamble;
+begin
+ex_buf_length := 0;
+preamble_ptr := 0;
+while (preamble_ptr < num_preamble_strings) do
+ begin
+ add_buf_pool (s_preamble[preamble_ptr]);
+ incr(preamble_ptr);
+ end;
+add_pool_buf_and_push; {push the concatenation string onto the stack}
+end;
+
+
+@
+@^special character@>
+The |built_in| function {\.{purify\$}} pops the top (string) literal,
+removes nonalphanumeric characters except for |white_space| and
+|sep_char| characters (these get converted to a |space|) and removes
+certain alphabetic characters contained in the control sequences
+associated with a special character, and pushes the resulting string.
+If the literal isn't a string, it complains and pushes the null
+string.
+
+@<|execute_fn|({\.{purify\$}})@>=
+procedure x_purify;
+begin
+pop_lit_stk (pop_lit1,pop_typ1);
+if (pop_typ1 <> stk_str) then
+ begin
+ print_wrong_stk_lit (pop_lit1,pop_typ1,stk_str);
+ push_lit_stk (s_null, stk_str);
+ end
+else
+ begin
+ ex_buf_length := 0;
+ add_buf_pool (pop_lit1);
+ @<Perform the purification@>;
+ add_pool_buf_and_push; {push this string onto the stack}
+ end;
+end;
+
+
+@
+@^special character@>
+The resulting string has nonalphanumeric characters removed, and each
+|white_space| or |sep_char| character converted to a |space|. The next
+module handles special characters. This code doesn't complain if the
+string isn't brace balanced.
+
+@<Perform the purification@>=
+begin
+brace_level := 0; {this is the top level}
+ex_buf_xptr := 0; {this pointer is for the purified string}
+ex_buf_ptr := 0; {and this one is for the original string}
+while (ex_buf_ptr < ex_buf_length) do
+ begin
+ case (lex_class[ex_buf[ex_buf_ptr]]) of
+ white_space,
+ sep_char :
+ begin
+ ex_buf[ex_buf_xptr] := space;
+ incr(ex_buf_xptr);
+ end;
+ alpha,
+ numeric :
+ begin
+ ex_buf[ex_buf_xptr] := ex_buf[ex_buf_ptr];
+ incr(ex_buf_xptr);
+ end;
+ othercases
+ if (ex_buf[ex_buf_ptr] = left_brace) then
+ begin
+ incr(brace_level);
+ if ((brace_level = 1) and
+ (ex_buf_ptr + 1 < ex_buf_length)) then
+ if (ex_buf[ex_buf_ptr+1] = backslash) then
+ @<Purify a special character@>;
+ end
+ else if (ex_buf[ex_buf_ptr] = right_brace) then
+ if (brace_level > 0) then
+ decr(brace_level)
+ endcases;
+ incr(ex_buf_ptr);
+ end;
+ex_buf_length := ex_buf_xptr;
+end
+
+
+@
+@^special character@>
+Special characters (even without a matching |right_brace|) are
+purified by removing the control sequences (but restoring the correct
+thing for `\.{\\i}' and `\.{\\j}' as well as the eleven alphabetic
+foreign characters in Table~3.2 of the \LaTeX\ manual) and removing
+all nonalphanumeric characters (including |white_space| and
+|sep_char|s).
+
+@<Purify a special character@>=
+begin
+incr(ex_buf_ptr); {skip over the |left_brace|}
+while ((ex_buf_ptr < ex_buf_length) and (brace_level > 0)) do
+ begin
+ incr(ex_buf_ptr); {skip over the |backslash|}
+ ex_buf_yptr := ex_buf_ptr; {mark the beginning of the control sequence}
+ while ((ex_buf_ptr < ex_buf_length) and
+ (lex_class[ex_buf[ex_buf_ptr]] = alpha)) do@/
+ incr(ex_buf_ptr); {this scans the control sequence}
+ control_seq_loc := str_lookup(ex_buf,ex_buf_yptr,ex_buf_ptr-ex_buf_yptr,
+ control_seq_ilk,dont_insert);
+ if (hash_found) then
+ @<Purify this accented or foreign character@>;
+ while ((ex_buf_ptr < ex_buf_length) and (brace_level > 0) and
+ (ex_buf[ex_buf_ptr] <> backslash)) do
+ begin {this scans to the next control sequence}
+ case (lex_class[ex_buf[ex_buf_ptr]]) of
+ alpha,
+ numeric :
+ begin
+ ex_buf[ex_buf_xptr] := ex_buf[ex_buf_ptr];
+ incr(ex_buf_xptr);
+ end;
+ othercases
+ if (ex_buf[ex_buf_ptr] = right_brace) then
+ decr(brace_level)
+ else if (ex_buf[ex_buf_ptr] = left_brace) then
+ incr(brace_level)
+ endcases;
+ incr(ex_buf_ptr);
+ end;
+ end;
+decr(ex_buf_ptr); {unskip the |right_brace| (or last character)}
+end
+
+
+@
+We consider the purified character to be either the first alphabetic
+character of its control sequence, or perhaps both alphabetic
+characters.
+
+@<Purify this accented or foreign character@>=
+begin
+ex_buf[ex_buf_xptr] := ex_buf[ex_buf_yptr]; {the first alphabetic character}
+incr(ex_buf_xptr);
+case (ilk_info[control_seq_loc]) of
+ n_oe,
+ n_oe_upper,
+ n_ae,
+ n_ae_upper,
+ n_ss :
+ begin {and the second}
+ ex_buf[ex_buf_xptr] := ex_buf[ex_buf_yptr+1];
+ incr(ex_buf_xptr);
+ end;
+ othercases
+ do_nothing
+endcases;
+end
+
+
+@
+The |built_in| function {\.{quote\$}} pushes the string consisting of
+the |double_quote| character.
+
+@<|execute_fn|({\.{quote\$}})@>=
+procedure x_quote;
+begin
+str_room(1);
+append_char (double_quote);
+push_lit_stk (make_string, stk_str);
+end;
+
+
+@
+The |built_in| function {\.{skip\$}} is a no-op.
+
+@<|execute_fn|({\.{skip\$}})@>=
+begin
+do_nothing;
+end
+
+
+@
+The |built_in| function {\.{stack\$}} pops and prints the whole stack;
+it's meant to be used for style designers while debugging.
+
+@<|execute_fn|({\.{stack\$}})@>=
+begin
+pop_whole_stack;
+end
+
+
+@
+@^push the literal stack@>
+The |built_in| function {\.{substring\$}} pops the top three literals
+(they are the two integers literals |pop_lit1| and |pop_lit2| and a
+string literal, in that order). It pushes the substring of the (at
+most) |pop_lit1| consecutive characters starting at the |pop_lit2|th
+character (assuming 1-based indexing) if |pop_lit2| is positive, and
+ending at the |-pop_lit2|th character from the end if |pop_lit2| is
+negative (where the first character from the end is the last
+character). If any of the types is incorrect, it complain and pushes
+the null string.
+
+@<|execute_fn|({\.{substring\$}})@>=
+procedure x_substring;
+label exit;
+begin
+pop_lit_stk (pop_lit1,pop_typ1);
+pop_lit_stk (pop_lit2,pop_typ2);
+pop_lit_stk (pop_lit3,pop_typ3);
+if (pop_typ1 <> stk_int) then
+ begin
+ print_wrong_stk_lit (pop_lit1,pop_typ1,stk_int);
+ push_lit_stk (s_null, stk_str);
+ end
+else if (pop_typ2 <> stk_int) then
+ begin
+ print_wrong_stk_lit (pop_lit2,pop_typ2,stk_int);
+ push_lit_stk (s_null, stk_str);
+ end
+else if (pop_typ3 <> stk_str) then
+ begin
+ print_wrong_stk_lit (pop_lit3,pop_typ3,stk_str);
+ push_lit_stk (s_null, stk_str);
+ end
+else
+ begin
+ sp_length := length(pop_lit3);
+ if (pop_lit1 >= sp_length) then
+ if ((pop_lit2 = 1) or (pop_lit2 = -1)) then
+ begin
+ repush_string;
+ return;
+ end;
+ if ((pop_lit1 <= 0) or (pop_lit2 = 0) or (pop_lit2 > sp_length) or
+ (pop_lit2 < -sp_length)) then
+ begin
+ push_lit_stk (s_null, stk_str);
+ return;
+ end
+ else
+ @<Form the appropriate substring@>;
+ end;
+exit:
+end;
+
+
+@
+@^push the literal stack@>
+This module finds the substring as described in the last section,
+and slides it into place in the string pool, if necessary.
+
+@<Form the appropriate substring@>=
+begin
+if (pop_lit2 > 0) then
+ begin
+ if (pop_lit1 > sp_length - (pop_lit2-1)) then
+ pop_lit1 := sp_length - (pop_lit2-1);
+ sp_ptr := str_start[pop_lit3] + (pop_lit2-1);
+ sp_end := sp_ptr + pop_lit1;
+ if (pop_lit2 = 1) then
+ if (pop_lit3 >= cmd_str_ptr) then {no shifting---merely change pointers}
+ begin
+ str_start[pop_lit3+1] := sp_end;
+ unflush_string;
+ incr(lit_stk_ptr);
+ return;
+ end;
+ end
+else {|-ex_buf_length <= pop_lit2 < 0|}
+ begin
+ pop_lit2 := -pop_lit2;
+ if (pop_lit1 > sp_length - (pop_lit2-1)) then
+ pop_lit1 := sp_length - (pop_lit2-1);
+ sp_end := str_start[pop_lit3+1] - (pop_lit2-1);
+ sp_ptr := sp_end - pop_lit1;
+ end;
+while (sp_ptr < sp_end) do {shift the substring}
+ begin
+ append_char (str_pool[sp_ptr]);
+ incr(sp_ptr);
+ end;
+push_lit_stk (make_string, stk_str); {and push it onto the stack}
+end
+
+
+@
+The |built_in| function {\.{swap\$}} pops the top two literals from
+the stack and pushes them back swapped.
+
+@<|execute_fn|({\.{swap\$}})@>=
+procedure x_swap;
+begin
+pop_lit_stk (pop_lit1,pop_typ1);
+pop_lit_stk (pop_lit2,pop_typ2);
+if ((pop_typ1 <> stk_str) or (pop_lit1 < cmd_str_ptr)) then
+ begin
+ push_lit_stk (pop_lit1, pop_typ1);
+ if ((pop_typ2 = stk_str) and (pop_lit2 >= cmd_str_ptr)) then
+ unflush_string;
+ push_lit_stk (pop_lit2, pop_typ2);
+ end
+else if ((pop_typ2 <> stk_str) or (pop_lit2 < cmd_str_ptr)) then
+ begin
+ unflush_string; {this is |pop_lit1|}
+ push_lit_stk (pop_lit1, stk_str);
+ push_lit_stk (pop_lit2, pop_typ2);
+ end
+else {bummer, both are recent strings}
+ @<Swap the two strings (they're at the end of |str_pool|)@>;
+end;
+
+
+@
+We have to swap both (a)~the strings at the end of the string pool,
+and (b)~their pointers on the literal stack.
+
+@<Swap the two strings (they're at the end of |str_pool|)@>=
+begin
+ex_buf_length := 0;
+add_buf_pool (pop_lit2); {save the second string}
+sp_ptr := str_start[pop_lit1];
+sp_end := str_start[pop_lit1+1];
+while (sp_ptr < sp_end) do {slide the first string down}
+ begin
+ append_char (str_pool[sp_ptr]);
+ incr(sp_ptr);
+ end;
+push_lit_stk (make_string, stk_str); {and push it onto the stack}
+add_pool_buf_and_push; {push second string onto the stack}
+end
+
+
+@
+@^special character@>
+The |built_in| function {\.{text.length\$}} pops the top (string)
+literal, and pushes the number of text characters it contains, where
+an accented character (more precisely, a ``special character''$\!$,
+defined earlier) counts as a single text character, even if it's
+missing its matching |right_brace|, and where braces don't count as
+text characters. If the literal isn't a string, it complains and
+pushes the null string.
+
+@<|execute_fn|({\.{text.length\$}})@>=
+procedure x_text_length;
+begin
+pop_lit_stk (pop_lit1,pop_typ1);
+if (pop_typ1 <> stk_str) then
+ begin
+ print_wrong_stk_lit (pop_lit1,pop_typ1,stk_str);
+ push_lit_stk (s_null, stk_str);
+ end
+else
+ begin
+ num_text_chars := 0;
+ @<Count the text characters@>;
+ push_lit_stk (num_text_chars, stk_int); {and push it onto the stack}
+ end;
+end;
+
+
+@
+@^special character@>
+Here we determine the number of text characters in the string, where
+an entire special character counts as a single text character (even if
+it's missing its matching |right_brace|), and where braces don't count
+as text characters.
+
+@<Count the text characters@>=
+begin
+sp_ptr := str_start[pop_lit1];
+sp_end := str_start[pop_lit1+1];
+sp_brace_level := 0;
+while (sp_ptr < sp_end) do
+ begin
+ incr(sp_ptr);
+ if (str_pool[sp_ptr-1] = left_brace) then
+ begin
+ incr(sp_brace_level);
+ if ((sp_brace_level = 1) and (sp_ptr < sp_end)) then
+ if (str_pool[sp_ptr] = backslash) then
+ begin
+ incr(sp_ptr); {skip over the |backslash|}
+ while ((sp_ptr < sp_end) and (sp_brace_level > 0)) do
+ begin
+ if (str_pool[sp_ptr] = right_brace) then
+ decr(sp_brace_level)
+ else if (str_pool[sp_ptr] = left_brace) then
+ incr(sp_brace_level);
+ incr(sp_ptr);
+ end;
+ incr(num_text_chars);
+ end;
+ end
+ else if (str_pool[sp_ptr-1] = right_brace) then
+ begin
+ if (sp_brace_level > 0) then
+ decr(sp_brace_level);
+ end
+ else
+ incr(num_text_chars);
+ end;
+end
+
+
+@
+@^special character@>
+The |built_in| function {\.{text.prefix\$}} pops the top two literals
+(the integer literal |pop_lit1| and a string literal, in that order).
+It pushes the substring of the (at most) |pop_lit1| consecutive text
+characters starting from the beginning of the string. This function
+is similar to {\.{substring\$}}, but this one considers an accented
+character (or more precisely, a ``special character''$\!$, even if
+it's missing its matching |right_brace|) to be a single text character
+(rather than however many |ASCII_code| characters it actually
+comprises), and this function doesn't consider braces to be text
+characters; furthermore, this function appends any needed matching
+|right_brace|s. If any of the types is incorrect, it complains and
+pushes the null string.
+
+@<|execute_fn|({\.{text.prefix\$}})@>=
+procedure x_text_prefix;
+label exit;
+begin
+pop_lit_stk (pop_lit1,pop_typ1);
+pop_lit_stk (pop_lit2,pop_typ2);
+if (pop_typ1 <> stk_int) then
+ begin
+ print_wrong_stk_lit (pop_lit1,pop_typ1,stk_int);
+ push_lit_stk (s_null, stk_str);
+ end
+else if (pop_typ2 <> stk_str) then
+ begin
+ print_wrong_stk_lit (pop_lit2,pop_typ2,stk_str);
+ push_lit_stk (s_null, stk_str);
+ end
+else if (pop_lit1 <= 0) then
+ begin
+ push_lit_stk (s_null, stk_str);
+ return;
+ end
+else
+ @<Form the appropriate prefix@>;
+exit:
+end;
+
+
+@
+@^push the literal stack@>
+This module finds the prefix as described in the last section, and
+appends any needed matching |right_brace|s.
+
+@<Form the appropriate prefix@>=
+begin
+sp_ptr := str_start[pop_lit2];
+sp_end := str_start[pop_lit2+1]; {this may change}
+@<Scan the appropriate number of characters@>;
+if (pop_lit2 >= cmd_str_ptr) then {no shifting---merely change pointers}
+ pool_ptr := sp_end
+else
+ while (sp_ptr < sp_end) do {shift the substring}
+ begin
+ append_char (str_pool[sp_ptr]);
+ incr(sp_ptr);
+ end;
+while (sp_brace_level > 0) do {add matching |right_brace|s}
+ begin
+ append_char (right_brace);
+ decr(sp_brace_level);
+ end;
+push_lit_stk (make_string, stk_str); {and push it onto the stack}
+end
+
+
+@
+@^special character@>
+This section scans |pop_lit1| text characters, where an entire special
+character counts as a single text character (even if it's missing its
+matching |right_brace|), and where braces don't count as text
+characters.
+
+@<Scan the appropriate number of characters@>=
+begin
+num_text_chars := 0;
+sp_brace_level := 0;
+sp_xptr1 := sp_ptr;
+while ((sp_xptr1 < sp_end) and (num_text_chars < pop_lit1)) do
+ begin
+ incr(sp_xptr1);
+ if (str_pool[sp_xptr1-1] = left_brace) then
+ begin
+ incr(sp_brace_level);
+ if ((sp_brace_level = 1) and (sp_xptr1 < sp_end)) then
+ if (str_pool[sp_xptr1] = backslash) then
+ begin
+ incr(sp_xptr1); {skip over the |backslash|}
+ while ((sp_xptr1 < sp_end) and (sp_brace_level > 0)) do
+ begin
+ if (str_pool[sp_xptr1] = right_brace) then
+ decr(sp_brace_level)
+ else if (str_pool[sp_xptr1] = left_brace) then
+ incr(sp_brace_level);
+ incr(sp_xptr1);
+ end;
+ incr(num_text_chars);
+ end;
+ end
+ else if (str_pool[sp_xptr1-1] = right_brace) then
+ begin
+ if (sp_brace_level > 0) then
+ decr(sp_brace_level);
+ end
+ else
+ incr(num_text_chars);
+ end;
+sp_end := sp_xptr1;
+end
+
+
+@
+The |built_in| function {\.{top\$}} pops and prints the top of the
+stack.
+
+@<|execute_fn|({\.{top\$}})@>=
+begin
+pop_top_and_print;
+end
+
+
+@
+The |built_in| function {\.{type\$}} pushes the appropriate string
+from |type_list| onto the stack (unless either it's |undefined| or
+|empty|, in which case it pushes the null string).
+
+@<|execute_fn|({\.{type\$}})@>=
+procedure x_type;
+begin
+if (not mess_with_entries) then
+ bst_cant_mess_with_entries_print
+ else
+ if ((type_list[cite_ptr] = undefined) or
+ (type_list[cite_ptr] = empty)) then
+ push_lit_stk (s_null, stk_str)
+ else
+ push_lit_stk (hash_text[type_list[cite_ptr]], stk_str);
+end;
+
+
+@
+The |built_in| function {\.{warning\$}} pops the top (string) literal
+and prints it following a warning message. This is implemented as a
+special |built_in| function rather than using the {\.{top\$}} function
+so that it can |mark_warning|.
+
+@<|execute_fn|({\.{warning\$}})@>=
+procedure x_warning;
+begin
+pop_lit_stk (pop_lit1,pop_typ1);
+if (pop_typ1 <> stk_str) then
+ print_wrong_stk_lit (pop_lit1,pop_typ1,stk_str)
+else
+ begin
+ print ('Warning--');
+ print_lit (pop_lit1,pop_typ1);
+ mark_warning;
+ end;
+end;
+
+
+@
+The |built_in| function {\.{while\$}} pops the top two (function)
+literals, and keeps executing the second as long as the (integer)
+value left on the stack by executing the first is greater than 0. If
+either type is incorrect, it complains but does nothing else.
+
+@<|execute_fn|({\.{while\$}})@>=
+begin
+pop_lit_stk (r_pop_lt1,r_pop_tp1);
+pop_lit_stk (r_pop_lt2,r_pop_tp2);
+if (r_pop_tp1 <> stk_fn) then
+ print_wrong_stk_lit (r_pop_lt1,r_pop_tp1,stk_fn)
+else if (r_pop_tp2 <> stk_fn) then
+ print_wrong_stk_lit (r_pop_lt2,r_pop_tp2,stk_fn)
+else
+ loop
+ begin
+ execute_fn (r_pop_lt2); {this is the \.{while\$} test}
+ pop_lit_stk (pop_lit1,pop_typ1);
+ if (pop_typ1 <> stk_int) then
+ begin
+ print_wrong_stk_lit (pop_lit1,pop_typ1,stk_int);
+ goto end_while;
+ end
+ else
+ if (pop_lit1 > 0) then
+ execute_fn (r_pop_lt1) {this is the \.{while\$} body}
+ else
+ goto end_while;
+ end;
+end_while: {justifies this |mean_while|}
+end
+
+
+@
+@^literal literal@>
+@^special character@>
+The |built_in| function {\.{width\$}} pops the top (string) literal
+and pushes the integer that represents its width in units specified by
+the |char_width| array. This function takes the literal literally;
+that is, it assumes each character in the string is to be printed as
+is, regardless of whether the character has a special meaning to \TeX,
+except that special characters (even without their |right_brace|s) are
+handled specially. If the literal isn't a string, it complains and
+pushes~0.
+
+@<|execute_fn|({\.{width\$}})@>=
+procedure x_width;
+begin
+pop_lit_stk (pop_lit1,pop_typ1);
+if (pop_typ1 <> stk_str) then
+ begin
+ print_wrong_stk_lit (pop_lit1,pop_typ1,stk_str);
+ push_lit_stk (0, stk_int);
+ end
+else
+ begin
+ ex_buf_length := 0;
+ add_buf_pool (pop_lit1);
+ string_width := 0;
+ @<Add up the |char_width|s in this string@>;
+ push_lit_stk (string_width, stk_int);
+ end
+end;
+
+
+@
+We use the natural width for all but special characters, and we
+complain if the string isn't brace-balanced.
+
+@<Add up the |char_width|s in this string@>=
+begin
+brace_level := 0; {we're at the top level}
+ex_buf_ptr := 0; {and the beginning of string}
+while (ex_buf_ptr < ex_buf_length) do
+ begin
+ if (ex_buf[ex_buf_ptr] = left_brace) then
+ begin
+ incr(brace_level);
+ if ((brace_level = 1) and (ex_buf_ptr + 1 < ex_buf_length)) then
+ if (ex_buf[ex_buf_ptr+1] = backslash) then
+ @<Determine the width of this special character@>
+ else
+ string_width := string_width + char_width[left_brace]
+ else
+ string_width := string_width + char_width[left_brace];
+ end
+ else if (ex_buf[ex_buf_ptr] = right_brace) then
+ begin
+ decr_brace_level (pop_lit1);
+ string_width := string_width + char_width[right_brace];
+ end
+ else
+ string_width := string_width + char_width[ex_buf[ex_buf_ptr]];
+ incr(ex_buf_ptr);
+ end;
+check_brace_level (pop_lit1);
+end
+
+
+@
+@^special character@>
+We use the natural widths of all characters except that some
+characters have no width: braces, control sequences (except for the
+usual 13 accented and foreign characters, whose widths are given in
+the next module), and |white_space| following control sequences (even
+a null control sequence).
+
+@<Determine the width of this special character@>=
+begin
+incr(ex_buf_ptr); {skip over the |left_brace|}
+while ((ex_buf_ptr < ex_buf_length) and (brace_level > 0)) do
+ begin
+ incr(ex_buf_ptr); {skip over the |backslash|}
+ ex_buf_xptr := ex_buf_ptr;
+ while ((ex_buf_ptr < ex_buf_length) and
+ (lex_class[ex_buf[ex_buf_ptr]] = alpha)) do@/
+ incr(ex_buf_ptr); {this scans the control sequence}
+ if ((ex_buf_ptr < ex_buf_length) and (ex_buf_ptr = ex_buf_xptr)) then
+ incr(ex_buf_ptr) {this skips a nonalpha control seq}
+ else
+ begin
+ control_seq_loc := str_lookup(ex_buf,ex_buf_xptr,
+ ex_buf_ptr-ex_buf_xptr,control_seq_ilk,dont_insert);
+ if (hash_found) then
+ @<Determine the width of this accented or foreign character@>;
+ end;
+ while ((ex_buf_ptr < ex_buf_length) and
+ (lex_class[ex_buf[ex_buf_ptr]] = white_space)) do
+ incr(ex_buf_ptr); {this skips following |white_space|}
+ while ((ex_buf_ptr < ex_buf_length) and (brace_level > 0) and
+ (ex_buf[ex_buf_ptr] <> backslash)) do
+ begin {this scans to the next control sequence}
+ if (ex_buf[ex_buf_ptr] = right_brace) then
+ decr(brace_level)
+ else if (ex_buf[ex_buf_ptr] = left_brace) then
+ incr(brace_level)
+ else
+ string_width := string_width + char_width[ex_buf[ex_buf_ptr]];
+ incr(ex_buf_ptr);
+ end;
+ end;
+decr(ex_buf_ptr); {unskip the |right_brace|}
+end
+
+
+@
+Five of the 13 possibilities resort to special information not present
+in the |char_width| array; the other eight simply use |char_width|'s
+information for the first letter of the control sequence.
+
+@<Determine the width of this accented or foreign character@>=
+begin
+case (ilk_info[control_seq_loc]) of
+ n_ss : string_width := string_width + ss_width;
+ n_ae : string_width := string_width + ae_width;
+ n_oe : string_width := string_width + oe_width;
+ n_ae_upper : string_width := string_width + upper_ae_width;
+ n_oe_upper : string_width := string_width + upper_oe_width;
+ othercases
+ string_width := string_width + char_width[ex_buf[ex_buf_xptr]]
+endcases;
+end
+
+
+@
+The |built_in| function {\.{write\$}} pops the top (string) literal
+and writes it onto the output buffer |out_buf| (which will result in
+stuff being written onto the \.{.bbl} file if the buffer fills up). If
+the literal isn't a string, it complains but does nothing else.
+
+@<|execute_fn|({\.{write\$}})@>=
+procedure x_write;
+begin
+pop_lit_stk (pop_lit1,pop_typ1);
+if (pop_typ1 <> stk_str) then
+ print_wrong_stk_lit (pop_lit1,pop_typ1,stk_str)
+else
+ add_out_pool (pop_lit1);
+end;
+
+
+
+@* Cleaning up.
+@^clich\'e-\`a-trois@>
+@^fat lady@>
+@^turn out lights@>
+@^Yogi@>
+This section does any last-minute printing and ends the program.
+
+@<Clean up and leave@>=
+begin
+if ((read_performed) and (not reading_completed)) then
+ begin
+ print ('Aborted at line ',bib_line_num:0,' of file ');
+ print_bib_name;
+ end;
+trace_and_stat_printing;
+@<Print the job |history|@>;
+a_close (log_file);
+{turn out the lights, the fat lady has sung; it's over, Yogi}
+end
+
+
+@
+Here we print |trace| and/or |stat| information, if desired.
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+procedure trace_and_stat_printing;
+begin
+@#
+ trace
+ @<Print all \.{.bib}- and \.{.bst}-file information@>;
+ @<Print all |cite_list| and entry information@>;
+ @<Print the |wiz_defined| functions@>;
+ @<Print the string pool@>;
+ ecart@/
+@#
+ stat
+ @<Print usage statistics@>;
+ tats@/
+@#
+end;
+
+
+@
+This prints information obtained from the \.{.aux} file about the
+other files.
+
+@<Print all \.{.bib}- and \.{.bst}-file information@>=
+begin
+if (num_bib_files = 1) then
+ trace_pr_ln ('The 1 database file is')
+ else
+ trace_pr_ln ('The ',num_bib_files:0,' database files are');
+if (num_bib_files = 0) then
+ trace_pr_ln (' undefined')
+ else
+ begin
+ bib_ptr := 0;
+ while (bib_ptr < num_bib_files) do
+ begin
+ trace_pr (' ');
+ trace_pr_pool_str (cur_bib_str);
+ trace_pr_pool_str (s_bib_extension);
+ trace_pr_newline;
+ incr(bib_ptr);
+ end;
+ end;
+trace_pr ('The style file is ');
+if (bst_str = 0) then
+ trace_pr_ln ('undefined')
+ else
+ begin
+ trace_pr_pool_str (bst_str);
+ trace_pr_pool_str (s_bst_extension);
+ trace_pr_newline;
+ end;
+end
+
+
+@
+In entry-sorted order, this prints an entry's |cite_list| string and,
+indirectly, its entry type and entry variables.
+
+@<Print all |cite_list| and entry information@>=
+begin
+if (all_entries) then
+ trace_pr ('all_marker=',all_marker:0,', ');
+if (read_performed) then
+ trace_pr_ln ('old_num_cites=',old_num_cites:0)
+ else
+ trace_pr_newline;
+trace_pr ('The ',num_cites:0);
+if (num_cites = 1) then
+ trace_pr_ln (' entry:')
+ else
+ trace_pr_ln (' entries:');
+if (num_cites = 0) then
+ trace_pr_ln (' undefined')
+ else
+ begin
+ sort_cite_ptr := 0;
+ while (sort_cite_ptr < num_cites) do
+ begin
+ if (not read_completed) then {we didn't finish the \.{read} command}
+ cite_ptr := sort_cite_ptr
+ else
+ cite_ptr := sorted_cites[sort_cite_ptr];
+ trace_pr_pool_str (cur_cite_str);
+ if (read_performed) then
+ @<Print entry information@>
+ else
+ trace_pr_newline;
+ incr(sort_cite_ptr);
+ end;
+ end;
+end
+
+
+@
+This prints information gathered while reading the \.{.bst} and
+\.{.bib} files.
+
+@<Print entry information@>=
+begin
+trace_pr (', entry-type ');
+if (type_list[cite_ptr] = undefined) then
+ undefined : trace_pr ('unknown')
+else if (type_list[cite_ptr] = empty) then
+ trace_pr ('--- no type found')
+else
+ trace_pr_pool_str (hash_text[type_list[cite_ptr]]);
+trace_pr_ln (', has entry strings');
+@<Print entry strings@>;
+trace_pr (' has entry integers');
+@<Print entry integers@>;
+trace_pr_ln (' and has fields');
+@<Print fields@>;
+end
+
+
+@
+This prints, for the current entry, the strings declared by the
+\.{entry} command.
+
+@<Print entry strings@>=
+begin
+if (num_ent_strs = 0) then
+ trace_pr_ln (' undefined')
+else if (not read_completed) then
+ trace_pr_ln (' uninitialized')
+else
+ begin
+ str_ent_ptr := cite_ptr * num_ent_strs;
+ while (str_ent_ptr < (cite_ptr+1)*num_ent_strs) do
+ begin
+ ent_chr_ptr := 0;
+ trace_pr (' "');
+ while (entry_strs[str_ent_ptr][ent_chr_ptr] <> end_of_string) do
+ begin
+ trace_pr (xchr[entry_strs[str_ent_ptr][ent_chr_ptr]]);
+ incr(ent_chr_ptr);
+ end;
+ trace_pr_ln ('"');
+ incr(str_ent_ptr);
+ end;
+ end;
+end
+
+
+@
+This prints, for the current entry, the integers declared by the
+\.{entry} command.
+
+@<Print entry integers@>=
+begin
+if (num_ent_ints = 0) then
+ trace_pr (' undefined')
+else if (not read_completed) then
+ trace_pr (' uninitialized')
+else
+ begin
+ int_ent_ptr := cite_ptr*num_ent_ints;
+ while (int_ent_ptr < (cite_ptr+1)*num_ent_ints) do
+ begin
+ trace_pr (' ',entry_ints[int_ent_ptr]:0);
+ incr(int_ent_ptr);
+ end;
+ end;
+trace_pr_newline;
+end
+
+
+@
+This prints the fields stored for the current entry.
+
+@<Print fields@>=
+begin
+if (not read_performed) then
+ trace_pr_ln (' uninitialized')
+ else
+ begin
+ field_ptr := cite_ptr * num_fields;
+ field_end_ptr := field_ptr + num_fields;
+ no_fields := true;
+ while (field_ptr < field_end_ptr) do
+ begin
+ if (field_info[field_ptr] <> missing) then
+ begin
+ trace_pr (' "');
+ trace_pr_pool_str (field_info[field_ptr]);
+ trace_pr_ln ('"');
+ no_fields := false;
+ end;
+ incr(field_ptr);
+ end;
+ if (no_fields) then
+ trace_pr_ln (' missing');
+ end;
+end
+
+
+@
+This gives all the |wiz_defined| functions that appeared in the
+\.{.bst} file.
+
+@<Print the |wiz_defined| functions@>=
+begin
+trace_pr_ln ('The wiz-defined functions are');
+if (wiz_def_ptr = 0) then
+ trace_pr_ln (' nonexistent')
+ else
+ begin
+ wiz_fn_ptr := 0;
+ while (wiz_fn_ptr < wiz_def_ptr) do
+ begin
+ if (wiz_functions[wiz_fn_ptr] = end_of_def) then
+ trace_pr_ln (wiz_fn_ptr:0,'--end-of-def--')
+ else if (wiz_functions[wiz_fn_ptr] = quote_next_fn) then
+ trace_pr (wiz_fn_ptr:0,' quote_next_function ')
+ else
+ begin
+ trace_pr (wiz_fn_ptr:0,' `');
+ trace_pr_pool_str (hash_text[wiz_functions[wiz_fn_ptr]]);
+ trace_pr_ln ('''');
+ end;
+ incr(wiz_fn_ptr);
+ end;
+ end;
+end
+
+
+@
+This includes all the `static' strings (that is, those that are also
+in the hash table), but none of the dynamic strings (that is, those
+put on the stack while executing \.{.bst} commands).
+
+@<Print the string pool@>=
+begin
+trace_pr_ln ('The string pool is');
+str_num := 1;
+while (str_num < str_ptr) do
+ begin
+ trace_pr (str_num:4, str_start[str_num]:6,' "');
+ trace_pr_pool_str (str_num);
+ trace_pr_ln ('"');
+ incr(str_num);
+ end;
+end
+
+
+@
+@^statistics@>
+These statistics can help determine how large some of the constants
+should be and can tell how useful certain |built_in| functions are.
+They are written to the same files as tracing information.
+
+@d stat_pr == trace_pr
+@d stat_pr_ln == trace_pr_ln
+@d stat_pr_pool_str == trace_pr_pool_str
+
+@<Print usage statistics@>=
+begin
+stat_pr ('You''ve used ',num_cites:0);
+if (num_cites = 1) then
+ stat_pr_ln (' entry,')
+ else
+ stat_pr_ln (' entries,');
+stat_pr_ln (' ',wiz_def_ptr:0,' wiz_defined-function locations,');
+stat_pr_ln (' ',str_ptr:0,' strings with ',str_start[str_ptr]:0,
+ ' characters,');
+blt_in_ptr := 0;
+total_ex_count := 0;
+while (blt_in_ptr < num_blt_in_fns) do
+ begin
+ total_ex_count := total_ex_count + execution_count[blt_in_ptr];
+ incr(blt_in_ptr);
+ end;
+stat_pr_ln ('and the built_in function-call counts, ', total_ex_count:0,
+ ' in all, are:');
+blt_in_ptr := 0;
+while (blt_in_ptr < num_blt_in_fns) do
+ begin
+ stat_pr_pool_str (hash_text[blt_in_loc[blt_in_ptr]]);
+ stat_pr_ln (' -- ',execution_count[blt_in_ptr]:0);
+ incr(blt_in_ptr);
+ end;
+end
+
+
+@
+@^bunk, history@>
+@^system dependencies@>
+@:this can't happen}{\quad History is bunk@>
+Some implementations may wish to pass the |history| value to the
+operating system so that it can be used to govern whether or not other
+programs are started. Here we simply report the history to the user.
+
+@<Print the job |history|@>=
+case (history) of
+ spotless : do_nothing;
+ warning_message : begin
+ if (err_count = 1) then
+ print_ln ('(There was 1 warning)')
+ else
+ print_ln ('(There were ',err_count:0,' warnings)');
+ end;
+ error_message : begin
+ if (err_count = 1) then
+ print_ln ('(There was 1 error message)')
+ else
+ print_ln ('(There were ',err_count:0,
+ ' error messages)');
+ end;
+ fatal_message : print_ln ('(That was a fatal error)');
+ othercases begin
+ print ('History is bunk');
+ print_confusion;
+ end
+endcases
+
+
+
+@* System-dependent changes.
+@^system dependencies@>
+This section should be replaced, if necessary, by changes to the program
+that are necessary to make \BibTeX\ work at a particular installation.
+It is usually best to design your change file so that all changes to
+previous sections preserve the section numbering; then everybody's version
+will be consistent with the printed program. More extensive changes,
+which introduce new sections, can be inserted here; then only the index
+itself will get a new section number.
+
+
+
+@* Index.
+@.this can't happen@>
+Here is where you can find all uses of each identifier in the program,
+with underlined entries pointing to where the identifier was defined.
+If the identifier is only one letter long, however, you get to see only
+the underlined entries. All references are to section numbers instead of
+page numbers.
+
+This index also lists a few error messages and other aspects of the
+program that you might want to look up some day. For example, the
+entry for ``system dependencies'' lists all sections that should
+receive special attention from people who are installing \TeX\ in a
+new operating environment. A list of various things that can't happen
+appears under ``this can't happen''$\!$.
diff --git a/biblio/bibtex/base/btxbst.doc b/biblio/bibtex/base/btxbst.doc
new file mode 100644
index 0000000000..8cb9709de0
--- /dev/null
+++ b/biblio/bibtex/base/btxbst.doc
@@ -0,0 +1,2530 @@
+% BibTeX `plain' family
+ % Version 0.99b (8-Dec-10 release) for BibTeX versions 0.99a or later.
+ % Copyright (C) 1984, 1985, 1988, 2010 Howard Trickey and Oren Patashnik.
+ % Unlimited copying and redistribution of this file are permitted as long as
+ % it is unmodified. Modifications (and redistribution of modified versions)
+ % are also permitted, but only if the resulting file is renamed to something
+ % besides btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+% Please notify biblio@tug.org of any bugs in
+% these standard styles or in this documentation file.
+%
+% This is file btxbst.doc; it helps document bibliography styles,
+% and is also a template file that you can use to make
+% several different style files, if you have access to a C preprocessor.
+% For example, the standard styles were made by doing something like
+% cpp -P -DPLAIN btxbst.doc plain.txt
+% cpp -P -DUNSRT btxbst.doc unsrt.txt
+% cpp -P -DALPHA btxbst.doc alpha.txt
+% cpp -P -DABBRV btxbst.doc abbrv.txt
+% and then renaming after removing unwanted comments and blank lines.
+% If you don't have access,
+% you can edit this file by hand to imitate the preprocessor,
+% with the following explanation of the C preprocessor constructs used here.
+%
+% The output of the preprocessor is the same as the input, except that certain
+% lines will be excluded (and some blank lines will be added). The sequence
+% #if VAR
+% lines to be included when VAR is not zero
+% #else
+% lines to be included when VAR is zero
+% #endif
+% (with the #-signs appearing in column 1) means that one set or the other of
+% the lines are to be included depending on the value of VAR.
+% The #else part is optional. Comments can be added after #else and #endif.
+% Variables can be set by
+% #define VAR value
+% and one can also use #ifdef VAR to see if VAR has any value, and #ifndef
+% to see if it has none.
+% Another #if form used in this file is #if !VAR, which includes the lines
+% after the #if only if VAR is zero.
+%
+% Convention: Use all uppercase identifiers for these preprocessor variables
+% so you can spot them easily
+%
+% The command line to the preprocessor should define one of PLAIN, UNSRT, ALPHA
+% or ABBRV (though PLAIN will be used by default if none is given),
+% and the following lines will set various boolean variables to control the
+% various lines that are chosen from the rest of the file.
+% Each boolean variable should be set true (1) or false (0) in each style.
+% Here are the current variables, and their meanings:
+% LAB_ALPH: an alphabetic label is used (if false then a numeric
+% label is used)
+% SORTED: the entries should be sorted by label (if nonnumeric)
+% and other info, like authors (if false, then
+% entries remain in order of occurrence)
+% NAME_FULL: the authors, editors, etc., get the full names as
+% given in the bibliography file (if false, the first
+% names become initials)
+% ATIT_LOWER: titles of non-"books" (e.g., articles) should be
+% converted to lower-case, except the first letter or
+% first letter after a colon
+% (if false then they appear as in the database)
+% MONTH_FULL: months are spelled out in full (if false, then
+% they're abbreviated)
+% JOUR_FULL: macro journal names are spelled out in full
+% (if false then they are abbreviated, currently
+% as they appear in ACM publications)
+#ifndef UNSRT
+# ifndef ALPHA
+# ifndef ABBRV
+# define PLAIN 1
+# endif
+# endif
+#endif
+#ifdef PLAIN
+% plain style (sorted numbers)
+# define LAB_ALPH 0
+# define SORTED 1
+# define NAME_FULL 1
+# define ATIT_LOWER 1
+# define MONTH_FULL 1
+# define JOUR_FULL 1
+#endif
+#ifdef UNSRT
+% unsrt style (unsorted numbers)
+# define LAB_ALPH 0
+# define SORTED 0
+# define NAME_FULL 1
+# define ATIT_LOWER 1
+# define MONTH_FULL 1
+# define JOUR_FULL 1
+#endif
+#ifdef ALPHA
+% alpha style (sorted short alphabetics)
+# define LAB_ALPH 1
+# define SORTED 1
+# define NAME_FULL 1
+# define ATIT_LOWER 1
+# define MONTH_FULL 1
+# define JOUR_FULL 1
+#endif
+#ifdef ABBRV
+% abbrv style (sorted numbers, with abbreviations)
+# define LAB_ALPH 0
+# define SORTED 1
+# define NAME_FULL 0
+# define ATIT_LOWER 1
+# define MONTH_FULL 0
+# define JOUR_FULL 0
+#endif
+%
+% Entry formatting: Similar to that recommended by Mary-Claire van Leunen
+% in "A Handbook for Scholars". Book-like titles are italicized
+% (emphasized) and non-book titles are converted to sentence
+% capitilization (and not enclosed in quotes).
+% This file outputs a \newblock between major blocks of an entry
+% (the name \newblock is analogous to the names \newline and \newpage)
+% so that the user can obtain an "open" format, which has a line break
+% before each block and lines after the first are indented within blocks,
+% by giving the optional \documentstyle argument `openbib';
+% The default is the "closed" format---blocks runs together.
+%
+% Citation alphabetic label format:
+% [Knu73] for single author (or editor or key)
+% [AHU83] (first letters of last names) for multiple authors
+%
+% Citation label numberic format:
+% [number]
+%
+% Reference list ordering for sorted, alphabetic lables:
+% alphabetical by citation label, then by author(s) or whatever
+% passes for author in the absence of one, then by year,
+% then title
+%
+% Reference list ordering for sorted, numeric lables:
+% alphabetical by author(s) or whatever passes
+% for author in the absence of one, then by year, then title
+%
+% Reference list ordering for unsorted:
+% by the order cited in the text
+%
+% History
+% 12/16/84 (HWT) Original `plain' version, by Howard Trickey.
+% 12/23/84 (LL) Some comments made by Leslie Lamport.
+% 2/16/85 (OP) Changes based on LL's comments, Oren Patashnik.
+% 2/17/85 (HWT) Template file and other standard styles made.
+% 3/28/85 (OP) First release, version 0.98b for BibTeX 0.98f.
+% 5/ 9/85 (OP) Version 0.98c for BibTeX 0.98i:
+% fixed Theoretical Computer Science macro name;
+% fixed the format.vol.num.pages function.
+% 1/24/88 (OP) Version 0.99a for BibTeX 0.99a, main changes:
+% assignment operator (:=) arguments reversed;
+% the preamble$ function outputs the database PREAMBLE;
+% entry.max$ and global.max$ (built-in) variables replace
+% entry.string.max and global.string.max functions;
+% alphabetizing by year then title, not just title;
+% many unnecessary ties removed; \it ==> \em;
+% the `alpha' style uses a superscripted `+' instead of a
+% `*' for unnamed names in constructing the label;
+% the `abbrv' style now uses "Mar." and "Sept.";
+% the functions calc.label and presort now look at just
+% the fields they're supposed to;
+% BOOKLET, MASTERSTHESIS, TECHREPORT use nonbook titles;
+% INBOOK and INCOLLECTION take an optional type (e.g.
+% type = "Section"), overriding the default "chapter";
+% BOOK, INBOOK, INCOLLECTION, and PROCEEDINGS now allow
+% either volume or number, not just volume;
+% INCOLLECTION now allows an edition and series field;
+% PROCEEDINGS and INPROCEEDINGS now use the address field
+% to tell where a conference was held;
+% INPROCEEDINGS and PROCEEDINGS now allow either volume
+% or number, and also a series field;
+% MASTERSTHESIS and PHDTHESIS accept types other than
+% "Master's thesis" and "PhD thesis";
+% UNPUBLISHED now outputs, in one block, note then date;
+% MANUAL now prints out the organization in
+% the first block if the author field is empty;
+% MISC can't be empty---it requires some optional field.
+% 3/23/88 (OP) Version 0.99b for BibTeX 0.99c---changed the three
+% erroneous occurrences of `cite ' to `cite$ '; this
+% change didn't affect the four standard styles, so the
+% 0.99a versions of those styles are still current.
+% 12/ 8/10 (OP) Still version 0.99b, as the code itself was unchanged;
+% this release clarified the license.
+%
+% The ENTRY declaration
+% Like Scribe's (according to pages 231-2 of the April '84 edition),
+% but no fullauthor or editors fields because BibTeX does name handling.
+% The annote field is commented out here because this family doesn't
+% include an annotated bibliography style. And in addition to the fields
+% listed here, BibTeX has a built-in crossref field, explained later.
+
+ENTRY
+% Fields:
+ { address
+% Usually the address of a publisher or other type of organization.
+% Put information in this field only if it helps the reader find the
+% thing---for example you should omit the address of a major
+% publisher entirely. For a PROCEEDINGS or an INPROCEEDINGS,
+% however, it's the address of the conference; for those two entry
+% types, include the publisher's or organization's address, if
+% necessary, in the publisher or organization field.
+% annote
+% Long annotation---for annotated bibliographies (begins sentence).
+ author
+% Name(s) of author(s), in BibTeX name format.
+ booktitle
+% Book title when the thing being referenced isn't the whole book.
+% For book entries, the title field should be used instead.
+ chapter
+% Chapter (or section or whatever) number.
+ edition
+% Edition of a book---should be an ordinal (e.g., "Second").
+ editor
+% Name(s) of editor(s), in BibTeX name format.
+% If there is also an author field, then the editor field should be
+% for the book or collection that the work appears in.
+ howpublished
+% How something strange has been published (begins sentence).
+ institution
+% Sponsoring institution of a technical report.
+ journal
+% Journal name (macros are provided for many).
+ key
+% Alphabetizing, labeling, and cross-referencing key
+% (needed when an entry has no author or editor).
+ month
+% Month (macros are provided).
+ note
+% To help the reader find a reference (begins sentence).
+ number
+% Number of a journal or technical report, or of a work in a series.
+ organization
+% Organization sponsoring a conference (or publishing a manual); if
+% the editor (or author) is empty, and if the organization produces
+% an awkward label or cross reference, you should put appropriately
+% condensed organization information in the key field as well.
+ pages
+% Page number or numbers (use `--' to separate a range, use `+'
+% to indicate pages following that don't form a simple range).
+ publisher
+% Publisher name.
+ school
+% School name (for theses).
+ series
+% The name of a series or set of books.
+% An individual book will will also have it's own title.
+ title
+% The title of the thing you're referred to.
+ type
+% Type of a Techreport (e.g., "Research Note") to be used instead of
+% the default "Technical Report"; or, similarly, the type of a
+% thesis; or of a part of a book.
+ volume
+% The volume number of a journal or multivolume work.
+ year
+% The year should contain only numerals (technically, it should end
+% with four numerals, after purification; doesn't a begin sentence).
+ }
+% There are no integer entry variables
+ {}
+% These string entry variables are used to form the citation label.
+% In a storage pinch, sort.label can be easily computed on the fly.
+#if LAB_ALPH
+#if SORTED
+ { label extra.label sort.label }
+#else !SORTED
+% It doesn't seem like a good idea to use an order-of-citation
+% reference list when using alphabetic labels, but when this happens
+% we do things a little differently
+ { label }
+#endif SORTED
+#else !LAB_ALPH
+ { label }
+#endif LAB_ALPH
+
+% Each entry function starts by calling output.bibitem, to write the
+% \bibitem and its arguments to the .BBL file. Then the various fields
+% are formatted and printed by output or output.check. Those functions
+% handle the writing of separators (commas, periods, \newblock's),
+% taking care not to do so when they are passed a null string.
+% Finally, fin.entry is called to add the final period and finish the
+% entry.
+%
+% A bibliographic reference is formatted into a number of `blocks':
+% in the open format, a block begins on a new line and subsequent
+% lines of the block are indented. A block may contain more than
+% one sentence (well, not a grammatical sentence, but something to
+% be ended with a sentence ending period). The entry functions should
+% call new.block whenever a block other than the first is about to be
+% started. They should call new.sentence whenever a new sentence is
+% to be started. The output functions will ensure that if two
+% new.sentence's occur without any non-null string being output between
+% them then there won't be two periods output. Similarly for two
+% successive new.block's.
+%
+% The output routines don't write their argument immediately.
+% Instead, by convention, that argument is saved on the stack to be
+% output next time (when we'll know what separator needs to come
+% after it). Meanwhile, the output routine has to pop the pending
+% output off the stack, append any needed separator, and write it.
+%
+% To tell which separator is needed, we maintain an output.state.
+% It will be one of these values:
+% before.all just after the \bibitem
+% mid.sentence in the middle of a sentence: comma needed
+% if more sentence is output
+% after.sentence just after a sentence: period needed
+% after.block just after a block (and sentence):
+% period and \newblock needed.
+% Note: These styles don't use after.sentence
+%
+% VAR: output.state : INTEGER -- state variable for output
+%
+% The output.nonnull function saves its argument (assumed to be nonnull)
+% on the stack, and writes the old saved value followed by any needed
+% separator. The ordering of the tests is decreasing frequency of
+% occurrence.
+%
+% output.nonnull(s) ==
+% BEGIN
+% s := argument on stack
+% if output.state = mid.sentence then
+% write$(pop() * ", ")
+% -- "pop" isn't a function: just use stack top
+% else
+% if output.state = after.block then
+% write$(add.period$(pop()))
+% newline$
+% write$("\newblock ")
+% else
+% if output.state = before.all then
+% write$(pop())
+% else -- output.state should be after.sentence
+% write$(add.period$(pop()) * " ")
+% fi
+% fi
+% output.state := mid.sentence
+% fi
+% push s on stack
+% END
+%
+% The output function calls output.nonnull if its argument is non-empty;
+% its argument may be a missing field (thus, not necessarily a string)
+%
+% output(s) ==
+% BEGIN
+% if not empty$(s) then output.nonnull(s)
+% fi
+% END
+%
+% The output.check function is the same as the output function except that, if
+% necessary, output.check warns the user that the t field shouldn't be empty
+% (this is because it probably won't be a good reference without the field;
+% the entry functions try to make the formatting look reasonable even when
+% such fields are empty).
+%
+% output.check(s,t) ==
+% BEGIN
+% if empty$(s) then
+% warning$("empty " * t * " in " * cite$)
+% else output.nonnull(s)
+% fi
+% END
+%
+% The output.bibitem function writes the \bibitem for the current entry
+% (the label should already have been set up), and sets up the separator
+% state for the output functions. And, it leaves a string on the stack
+% as per the output convention.
+%
+% output.bibitem ==
+% BEGIN
+% newline$
+% write$("\bibitem[") % for alphabetic labels,
+% write$(label) % these three lines
+% write$("]{") % are used
+% write$("\bibitem{") % this line for numeric labels
+% write$(cite$)
+% write$("}")
+% push "" on stack
+% output.state := before.all
+% END
+%
+% The fin.entry function finishes off an entry by adding a period to the
+% string remaining on the stack. If the state is still before.all
+% then nothing was produced for this entry, so the result will look bad,
+% but the user deserves it. (We don't omit the whole entry because the
+% entry was cited, and a bibitem is needed to define the citation label.)
+%
+% fin.entry ==
+% BEGIN
+% write$(add.period$(pop()))
+% newline$
+% END
+%
+% The new.block function prepares for a new block to be output, and
+% new.sentence prepares for a new sentence.
+%
+% new.block ==
+% BEGIN
+% if output.state <> before.all then
+% output.state := after.block
+% fi
+% END
+%
+% new.sentence ==
+% BEGIN
+% if output.state <> after.block then
+% if output.state <> before.all then
+% output.state := after.sentence
+% fi
+% fi
+% END
+%
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+% the variables s and t are temporary string holders
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+#if LAB_ALPH
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+#else
+ "\bibitem{" write$
+#endif LAB_ALPH
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+% This function finishes all entries.
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+% These three functions pop one or two (integer) arguments from the stack
+% and push a single one, either 0 or 1.
+% The 'skip$ in the `and' and `or' functions are used because
+% the corresponding if$ would be idempotent
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+% Sometimes we begin a new block only if the block will be big enough. The
+% new.block.checka function issues a new.block if its argument is nonempty;
+% new.block.checkb does the same if either of its TWO arguments is nonempty.
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+% The new.sentence.check functions are analogous.
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+% Here are some functions for formatting chunks of an entry.
+% By convention they either produce a string that can be followed by
+% a comma or period (using add.period$, so it is OK to end in a period),
+% or they produce the null string.
+%
+% A useful utility is the field.or.null function, which checks if the
+% argument is the result of pushing a `missing' field (one for which no
+% assignment was made when the current entry was read in from the database)
+% or the result of pushing a string having no non-white-space characters.
+% It returns the null string if so, otherwise it returns the field string.
+% Its main (but not only) purpose is to guarantee that what's left on the
+% stack is a string rather than a missing field.
+%
+% field.or.null(s) ==
+% BEGIN
+% if empty$(s) then return ""
+% else return s
+% END
+%
+% Another helper function is emphasize, which returns the argument emphazised,
+% if that is non-empty, otherwise it returns the null string. Italic
+% corrections aren't used, so this function should be used when punctation
+% will follow the result.
+%
+% emphasize(s) ==
+% BEGIN
+% if empty$(s) then return ""
+% else return "{\em " * s * "}"
+%
+% The format.names function formats the argument (which should be in
+% BibTeX name format) into "First Von Last, Junior", separated by commas
+% and with an "and" before the last (but ending with "et~al." if the last
+% of multiple authors is "others"). This function's argument should always
+% contain at least one name.
+%
+% VAR: nameptr, namesleft, numnames: INTEGER
+% pseudoVAR: nameresult: STRING (it's what's accumulated on the stack)
+%
+% format.names(s) ==
+% BEGIN
+% nameptr := 1
+% numnames := num.names$(s)
+% namesleft := numnames
+% while namesleft > 0
+% do
+% % for full names:
+% t := format.name$(s, nameptr, "{ff~}{vv~}{ll}{, jj}")
+% % for abbreviated first names:
+% t := format.name$(s, nameptr, "{f.~}{vv~}{ll}{, jj}")
+% if nameptr > 1 then
+% if namesleft > 1 then nameresult := nameresult * ", " * t
+% else if numnames > 2
+% then nameresult := nameresult * ","
+% fi
+% if t = "others"
+% then nameresult := nameresult * " et~al."
+% else nameresult := nameresult * " and " * t
+% fi
+% fi
+% else nameresult := t
+% fi
+% nameptr := nameptr + 1
+% namesleft := namesleft - 1
+% od
+% return nameresult
+% END
+%
+% The format.authors function returns the result of format.names(author)
+% if the author is present, or else it returns the null string
+%
+% format.authors ==
+% BEGIN
+% if empty$(author) then return ""
+% else return format.names(author)
+% fi
+% END
+%
+% Format.editors is like format.authors, but it uses the editor field,
+% and appends ", editor" or ", editors"
+%
+% format.editors ==
+% BEGIN
+% if empty$(editor) then return ""
+% else
+% if num.names$(editor) > 1 then
+% return format.names(editor) * ", editors"
+% else
+% return format.names(editor) * ", editor"
+% fi
+% fi
+% END
+%
+% Other formatting functions are similar, so no "comment version" will be
+% given for them.
+%
+% The `pop$' in this function gets rid of the duplicate `empty' value and
+% the `skip$' returns the duplicate field value
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+#if NAME_FULL
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+#else
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+#endif NAME_FULL
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+% The format.title function is used for non-book-like titles.
+% For most styles we convert to lowercase (except for the very first letter,
+% and except for the first one after a colon (followed by whitespace)),
+% and hope the user has brace-surrounded words that need to stay capitilized;
+% for some styles, however, we leave it as it is in the database.
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+#if ATIT_LOWER
+ { title "t" change.case$ }
+#else
+ 'title
+#endif ATIT_LOWER
+ if$
+}
+
+% By default, BibTeX sets the global integer variable global.max$ to the BibTeX
+% constant glob_str_size, the maximum length of a global string variable.
+% Analogously, BibTeX sets the global integer variable entry.max$ to
+% ent_str_size, the maximum length of an entry string variable.
+% The style designer may change these if necessary (but this is unlikely)
+
+% The n.dashify function makes each single `-' in a string a double `--'
+% if it's not already
+%
+% pseudoVAR: pageresult: STRING (it's what's accumulated on the stack)
+%
+% n.dashify(s) ==
+% BEGIN
+% t := s
+% pageresult := ""
+% while (not empty$(t))
+% do
+% if (first character of t = "-")
+% then
+% if (next character isn't)
+% then
+% pageresult := pageresult * "--"
+% t := t with the "-" removed
+% else
+% while (first character of t = "-")
+% do
+% pageresult := pageresult * "-"
+% t := t with the "-" removed
+% od
+% fi
+% else
+% pageresult := pageresult * the first character
+% t := t with the first character removed
+% fi
+% od
+% return pageresult
+% END
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+% The format.date function is for the month and year, but we give a warning if
+% there's an empty year but the month is there, and we return the empty string
+% if they're both empty.
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+% The format.btitle is for formatting the title field when it is a book-like
+% entry---the style used here keeps it in uppers-and-lowers and emphasizes it.
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+% For several functions we'll need to connect two strings with a
+% tie (~) if the second one isn't very long (fewer than 3 characters).
+% The tie.or.space.connect function does that. It concatenates the two
+% strings on top of the stack, along with either a tie or space between
+% them, and puts this concatenation back onto the stack:
+%
+% tie.or.space.connect(str1,str2) ==
+% BEGIN
+% if text.length$(str2) < 3
+% then return the concatenation of str1, "~", and str2
+% else return the concatenation of str1, " ", and str2
+% END
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+% The either.or.check function complains if both fields or an either-or pair
+% are nonempty.
+%
+% either.or.check(t,s) ==
+% BEGIN
+% if empty$(s) then
+% warning$(can't use both " * t * " fields in " * cite$)
+% fi
+% END
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+% The format.bvolume function is for formatting the volume and perhaps
+% series name of a multivolume work. If both a volume and a series field
+% are there, we assume the series field is the title of the whole multivolume
+% work (the title field should be the title of the thing being referred to),
+% and we add an "of <series>". This function is called in mid-sentence.
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+% The format.number.series function is for formatting the series name
+% and perhaps number of a work in a series. This function is similar to
+% format.bvolume, although for this one the series must exist (and the
+% volume must not exist). If the number field is empty we output either
+% the series field unchanged if it exists or else the null string.
+% If both the number and series fields are there we assume the series field
+% gives the name of the whole series (the title field should be the title
+% of the work being one referred to), and we add an "in <series>".
+% We capitilize Number when this function is used at the beginning of a block.
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+% The format.edition function appends " edition" to the edition, if present.
+% We lowercase the edition (it should be something like "Third"), because
+% this doesn't start a sentence.
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+% The format.pages function is used for formatting a page range in a book
+% (and in rare circumstances, an article).
+%
+% The multi.page.check function examines the page field for a "-" or "," or "+"
+% so that format.pages can use "page" instead of "pages" if none exists.
+% Note: global.max$ here means "take the rest of the string"
+%
+% VAR: multiresult: INTEGER (actually, a boolean)
+%
+% multi.page.check(s) ==
+% BEGIN
+% t := s
+% multiresult := false
+% while ((not multiresult) and (not empty$(t)))
+% do
+% if (first character of t = "-" or "," or "+")
+% then multiresult := true
+% else t := t with the first character removed
+% fi
+% od
+% return multiresult
+% END
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+% This function doesn't begin a sentence so "pages" isn't capitalized.
+% Other functions that use this should keep that in mind.
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+% The format.vol.num.pages function is for the volume, number, and page range
+% of a journal article. We use the format: vol(number):pages, with some
+% variations for empty fields. This doesn't begin a sentence.
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+
+% The format.chapter.pages, if the chapter is present, puts whatever is in the
+% type field (or else "chapter" if type is empty) in front of a chapter number.
+% It then appends the pages, if present. This doesn't begin a sentence.
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+% The format.in.ed.booktitle function is used for starting out a sentence
+% that begins "In <booktitle>", putting an editor before the title if one
+% exists.
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+% The function empty.misc.check complains if all six fields are empty, and
+% if there's been no sorting or alphabetic-label complaint.
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+#if SORTED
+ key empty$ not and
+#else !SORTED
+#if LAB_ALPH
+ key empty$ not and
+#endif LAB_ALPH
+#endif SORTED
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+% The function format.thesis.type returns either the (case-changed) type field,
+% if it is defined, or else the default string already on the stack
+% (like "Master's thesis" or "PhD thesis").
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+% The function format.tr.number makes a string starting with "Technical Report"
+% (or type, if that field is defined), followed by the number if there is one;
+% it returns the starting part (with a case change) even if there is no number.
+% This is used at the beginning of a sentence.
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+% Now come the cross-referencing functions (these are invoked because
+% one entry in the database file(s) cross-references another, by giving
+% the other entry's database key in a `crossref' field). This feature
+% allows one or more titled things that are part of a larger titled
+% thing to cross-reference the larger thing. These styles allow for
+% five posibilities: (1) an ARTICLE may cross-reference an ARTICLE;
+% (2) a BOOK, (3) INBOOK, or (4) INCOLLECTION may cross-reference a BOOK;
+% or (5) an INPROCEEDINGS may cross-reference a PROCEEDINGS.
+% Each of these is explained in more detail later.
+%
+% An ARTICLE entry type may cross reference another ARTICLE (this is
+% intended for when an entire journal is devoted to a single topic---
+% but since there is no JOURNAL entry type, the journal, too, should be
+% classified as an ARTICLE but without the author and title fields).
+% This will result in two warning messages for the journal's entry
+% if it's included in the reference list, but such is life.
+%
+% format.article.crossref ==
+% BEGIN
+% if empty$(key) then
+% if empty$(journal) then
+% warning$("need key or journal for " * cite$ *
+% " to crossref " * crossref)
+% return(" \cite{" * crossref * "}")
+% else
+% return("In " * emphazise.correct (journal) *
+% " \cite{" * crossref * "}")
+% fi
+% else
+% return("In " * key * " \cite{" * crossref * "}")
+% fi
+% END
+%
+% The other cross-referencing functions are similar, so no "comment version"
+% will be given for them.
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+% We use just the last names of editors for a cross reference: either
+% "editor", or "editor1 and editor2", or "editor1 et~al." depending on
+% whether there are one, or two, or more than two editors.
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+% A BOOK (or INBOOK) entry type (assumed to be for a single volume in a
+% multivolume work) may cross reference another BOOK (the entire multivolume).
+% Usually there will be an editor, in which case we use that to construct the
+% cross reference; otherwise we use a nonempty key field or else the series
+% field (since the series gives the title of the multivolume work).
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+% An INCOLLECTION entry type may cross reference a BOOK (assumed to be the
+% collection), or an INPROCEEDINGS may cross reference a PROCEEDINGS.
+% Often there will be an editor, in which case we use that to construct
+% the cross reference; otherwise we use a nonempty key field or else
+% the booktitle field (which gives the cross-referenced work's title).
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+% Now we define the type functions for all entry types that may appear
+% in the .BIB file---e.g., functions like `article' and `book'. These
+% are the routines that actually generate the .BBL-file output for
+% the entry. These must all precede the READ command. In addition, the
+% style designer should have a function `default.type' for unknown types.
+% Note: The fields (within each list) are listed in order of appearance,
+% except as described for an `inbook' or a `proceedings'.
+%
+% The article function is for an article in a journal. An article may
+% CROSSREF another article.
+% Required fields: author, title, journal, year
+% Optional fields: volume, number, pages, month, note
+%
+% article ==
+% BEGIN
+% output.bibitem
+% output.check(format.authors,"author")
+% new.block
+% output.check(format.title,"title")
+% new.block
+% if missing$(crossref) then
+% output.check(emphasize(journal),"journal")
+% output(format.vol.num.pages)
+% output.check(format.date,"year")
+% else
+% output.nonnull(format.article.crossref)
+% output(format.pages)
+% fi
+% new.block
+% output(note)
+% fin.entry
+% END
+%
+% The book function is for a whole book. A book may CROSSREF another book.
+% Required fields: author or editor, title, publisher, year
+% Optional fields: volume or number, series, address, edition, month,
+% note
+%
+% book ==
+% BEGIN
+% if empty$(author) then output.check(format.editors,"author and editor")
+% else output.check(format.authors,"author")
+% if missing$(crossref) then
+% either.or.check("author and editor",editor)
+% fi
+% fi
+% new.block
+% output.check(format.btitle,"title")
+% if missing$(crossref) then
+% output(format.bvolume)
+% new.block
+% output(format.number.series)
+% new.sentence
+% output.check(publisher,"publisher")
+% output(address)
+% else
+% new.block
+% output.nonnull(format.book.crossref)
+% fi
+% output(format.edition)
+% output.check(format.date,"year")
+% new.block
+% output(note)
+% fin.entry
+% END
+%
+% The other entry functions are all quite similar, so no "comment version"
+% will be given for them.
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+% A booklet is a bound thing without a publisher or sponsoring institution.
+% Required: title
+% Optional: author, howpublished, address, month, year, note
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+% For the conference entry type, see inproceedings.
+
+% An inbook is a piece of a book: either a chapter and/or a page range.
+% It may CROSSREF a book. If there's no volume field, the type field
+% will come before number and series.
+% Required: author or editor, title, chapter and/or pages, publisher,year
+% Optional: volume or number, series, type, address, edition, month, note
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+% An incollection is like inbook, but where there is a separate title
+% for the referenced thing (and perhaps an editor for the whole).
+% An incollection may CROSSREF a book.
+% Required: author, title, booktitle, publisher, year
+% Optional: editor, volume or number, series, type, chapter, pages,
+% address, edition, month, note
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+% An inproceedings is an article in a conference proceedings, and it may
+% CROSSREF a proceedings. If there's no address field, the month (& year)
+% will appear just before note.
+% Required: author, title, booktitle, year
+% Optional: editor, volume or number, series, pages, address, month,
+% organization, publisher, note
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+% The conference function is included for Scribe compatibility.
+
+FUNCTION {conference} { inproceedings }
+
+% A manual is technical documentation.
+% Required: title
+% Optional: author, organization, address, edition, month, year, note
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+% A mastersthesis is a Master's thesis.
+% Required: author, title, school, year
+% Optional: type, address, month, note
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+% A misc is something that doesn't fit elsewhere.
+% Required: at least one of the `optional' fields
+% Optional: author, title, howpublished, month, year, note
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+% A phdthesis is like a mastersthesis.
+% Required: author, title, school, year
+% Optional: type, address, month, note
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+% A proceedings is a conference proceedings.
+% If there is an organization but no editor field, the organization will
+% appear as the first optional field (we try to make the first block nonempty);
+% if there's no address field, the month (& year) will appear just before note.
+% Required: title, year
+% Optional: editor, volume or number, series, address, month,
+% organization, publisher, note
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+% A techreport is a technical report.
+% Required: author, title, institution, year
+% Optional: type, number, address, month, note
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+% An unpublished is something that hasn't been published.
+% Required: author, title, note
+% Optional: month, year
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+% We use entry type `misc' for an unknown type; BibTeX gives a warning.
+
+FUNCTION {default.type} { misc }
+
+% Here are macros for common things that may vary from style to style.
+% Users are encouraged to use these macros.
+%
+% Months are either written out in full or abbreviated
+
+#if MONTH_FULL
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+#else !MONTH_FULL
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+#endif MONTH_FULL
+
+% Journals are either written out in full or abbreviated;
+% the abbreviations are like those found in ACM publications.
+%
+% To get a completely different set of abbreviations, it may be best to make
+% a separate .bib file with nothing but those abbreviations; users could then
+% include that file name as the first argument to the \bibliography command
+
+#if JOUR_FULL
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+#else !JOUR_FULL
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Programming"}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Gr."}
+
+MACRO {toms} {"ACM Trans. Math. Softw."}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+#endif JOUR_FULL
+
+% Now we read in the .BIB entries.
+
+READ
+
+% The sortify function converts to lower case after purify$ing; it's
+% used in sorting and in computing alphabetic labels after sorting
+%
+% The chop.word(w,len,s) function returns either s or, if the first len
+% letters of s equals w (this comparison is done in the third line of the
+% function's definition), it returns that part of s after w.
+
+#if SORTED
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+#else !SORTED
+#if LAB_ALPH
+
+% We need the chop.word stuff for the dubious unsorted-list-with-labels case.
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+#endif LAB_ALPH
+#endif SORTED
+
+% This long comment applies only to alphabetic labels
+%
+% The format.lab.names function makes a short label by using the initials of
+% the von and Last parts of the names (but if there are more than four names,
+% (i.e., people) it truncates after three and adds a superscripted "+";
+% it also adds such a "+" if the last of multiple authors is "others").
+% If there is only one name, and its von and Last parts combined have just
+% a single name-token ("Knuth" has a single token, "Brinch Hansen" has two),
+% we take the first three letters of the last name. The boolean
+% et.al.char.used tells whether we've used a superscripted "+", so that we
+% know whether to include a LaTeX macro for it.
+%
+% format.lab.names(s) ==
+% BEGIN
+% numnames := num.names$(s)
+% if numnames > 1 then
+% if numnames > 4 then
+% namesleft := 3
+% else
+% namesleft := numnames
+% nameptr := 1
+% nameresult := ""
+% while namesleft > 0
+% do
+% if (name_ptr = numnames) and
+% format.name$(s, nameptr, "{ff }{vv }{ll}{ jj}") = "others"
+% then nameresult := nameresult * "{\etalchar{+}}"
+% et.al.char.used := true
+% else nameresult := nameresult *
+% format.name$(s, nameptr, "{v{}}{l{}}")
+% nameptr := nameptr + 1
+% namesleft := namesleft - 1
+% od
+% if numnames > 4 then
+% nameresult := nameresult * "{\etalchar{+}}"
+% et.al.char.used := true
+% else
+% t := format.name$(s, 1, "{v{}}{l{}}")
+% if text.length$(t) < 2 then % there's just one name-token
+% nameresult := text.prefix$(format.name$(s,1,"{ll}"),3)
+% else
+% nameresult := t
+% fi
+% fi
+% return nameresult
+% END
+%
+% Exactly what fields we look at in constructing the primary part of the label
+% depends on the entry type; this selectivity (as opposed to, say, always
+% looking at author, then editor, then key) helps ensure that "ignored" fields,
+% as described in the LaTeX book, really are ignored. Note that MISC is part
+% of the deepest `else' clause in the nested part of calc.label; thus, any
+% unrecognized entry type in the database is handled correctly.
+%
+% There is one auxiliary function for each of the four different sequences of
+% fields we use. The first of these functions looks at the author field, and
+% then, if necessary, the key field. The other three functions, which might
+% look at two fields and the key field, are similar, except that the key field
+% takes precedence over the organization field (for labels---not for sorting).
+%
+% The calc.label function calculates the preliminary label of an entry, which
+% is formed by taking three letters of information from the author or editor or
+% key or organization field (depending on the entry type and on what's empty,
+% but ignoring a leading "The " in the organization), and appending the last
+% two characters (digits) of the year. It is an error if the appropriate fields
+% among author, editor, organization, and key are missing, and we use
+% the first three letters of the cite$ in desperation when this happens.
+% The resulting label has the year part, but not the name part, purify$ed
+% (purify$ing the year allows some sorting shenanigans by the user).
+%
+% This function also calculates the version of the label to be used in sorting.
+%
+% The final label may need a trailing 'a', 'b', etc., to distinguish it from
+% otherwise identical labels, but we can't calculated those "extra.label"s
+% until after sorting.
+%
+% calc.label ==
+% BEGIN
+% if type$ = "book" or "inbook" then
+% author.editor.key.label
+% else if type$ = "proceedings" then
+% editor.key.organization.label
+% else if type$ = "manual" then
+% author.key.organization.label
+% else
+% author.key.label
+% fi fi fi
+% label := label * substring$(purify$(field.or.null(year)), -1, 2)
+% % assuming we will also sort, we calculate a sort.label
+% sort.label := sortify(label), but use the last four, not two, digits
+% END
+
+#if LAB_ALPH
+
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+#if SORTED
+ { cite$ #1 #3 substring$ }
+#else !SORTED % need warning here because we won't give it later
+ { "for label, need author or key in " cite$ * warning$
+ cite$ #1 #3 substring$
+ }
+#endif SORTED
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+#if SORTED
+ { cite$ #1 #3 substring$ }
+#else !SORTED % need warning here because we won't give it later
+ { "for label, need author, editor, or key in " cite$ * warning$
+ cite$ #1 #3 substring$
+ }
+#endif SORTED
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+#if SORTED
+ { cite$ #1 #3 substring$ }
+#else !SORTED % need warning here because we won't give it later
+ { "for label, need author, key, or organization in " cite$ *
+ warning$
+ cite$ #1 #3 substring$
+ }
+#endif SORTED
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+#if SORTED
+ { cite$ #1 #3 substring$ }
+#else !SORTED % need warning here because we won't give it later
+ { "for label, need editor, key, or organization in " cite$ *
+ warning$
+ cite$ #1 #3 substring$
+ }
+#endif SORTED
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ year field.or.null purify$ #-1 #2 substring$
+ *
+ 'label :=
+ year field.or.null purify$ #-1 #4 substring$
+ *
+ sortify 'sort.label :=
+}
+
+% It doesn't seem like a particularly good idea to use an order-of-citation
+% reference list when using alphabetic labels, but we need to have a
+% special pass to calculate labels when this happens.
+
+#if !SORTED
+
+ITERATE {calc.label}
+
+#endif !SORTED
+
+#endif LAB_ALPH
+
+% When sorting, we compute the sortkey by executing "presort" on each entry.
+% The presort key contains a number of "sortify"ed strings, concatenated
+% with multiple blanks between them. This makes things like "brinch per"
+% come before "brinch hansen per".
+%
+% The fields used here are: the sort.label for alphabetic labels (as set by
+% calc.label), followed by the author names (or editor names or organization
+% (with a leading "The " removed) or key field, depending on entry type and on
+% what's empty), followed by year, followed by the first bit of the title
+% (chopping off a leading "The ", "A ", or "An ").
+% Names are formatted: Von Last First Junior.
+% The names within a part will be separated by a single blank
+% (such as "brinch hansen"), two will separate the name parts themselves
+% (except the von and last), three will separate the names,
+% four will separate the names from year (and from label, if alphabetic),
+% and four will separate year from title.
+%
+% The sort.format.names function takes an argument that should be in
+% BibTeX name format, and returns a string containing " "-separated
+% names in the format described above. The function is almost the same
+% as format.names.
+
+#if SORTED
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+#if NAME_FULL
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+#else
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't :=
+#endif NAME_FULL
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+% The sort.format.title function returns the argument,
+% but first any leading "A "'s, "An "'s, or "The "'s are removed.
+% The chop.word function uses s, so we need another string variable, t
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+% The auxiliary functions here, for the presort function, are analogous to
+% the ones for calc.label; the same comments apply, except that the
+% organization field takes precedence here over the key field. For sorting
+% purposes, we still remove a leading "The " from the organization field.
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+% There is a limit, entry.max$, on the length of an entry string variable
+% (which is what its sort.key$ is), so we take at most that many characters
+% of the constructed key, and hope there aren't many references that match
+% to that many characters!
+
+FUNCTION {presort}
+#if LAB_ALPH
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+#else !LAB_ALPH
+{ type$ "book" =
+#endif LAB_ALPH
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+#if LAB_ALPH
+ *
+#endif LAB_ALPH
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+% And now we can sort
+
+SORT
+
+#endif SORTED
+
+% This long comment applies only to alphabetic labels, when sorted
+%
+% Now comes the final computation for alphabetic labels, putting in the 'a's
+% and 'b's and so forth if required. This involves two passes: a forward
+% pass to put in the 'b's, 'c's and so on, and a backwards pass
+% to put in the 'a's (we don't want to put in 'a's unless we know there
+% are 'b's).
+% We have to keep track of the longest (in width$ terms) label, for use
+% by the "thebibliography" environment.
+%
+% VAR: longest.label, last.sort.label, next.extra: string
+% longest.label.width, last.extra.num: integer
+%
+% initialize.longest.label ==
+% BEGIN
+% longest.label := ""
+% last.sort.label := int.to.chr$(0)
+% next.extra := ""
+% longest.label.width := 0
+% last.extra.num := 0
+% END
+%
+% forward.pass ==
+% BEGIN
+% if last.sort.label = sort.label then
+% last.extra.num := last.extra.num + 1
+% extra.label := int.to.chr$(last.extra.num)
+% else
+% last.extra.num := chr.to.int$("a")
+% extra.label := ""
+% last.sort.label := sort.label
+% fi
+% END
+%
+% reverse.pass ==
+% BEGIN
+% if next.extra = "b" then
+% extra.label := "a"
+% fi
+% label := label * extra.label
+% if width$(label) > longest.label.width then
+% longest.label := label
+% longest.label.width := width$(label)
+% fi
+% next.extra := extra.label
+% END
+
+#if LAB_ALPH
+
+#if SORTED
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+#else !SORTED
+
+% It still doesn't seem like a good idea to use an order-of-citation
+% reference list when using alphabetic labels, but when this happens we
+% must compute the longest label
+
+STRINGS { longest.label }
+
+INTEGERS { longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+#endif SORTED
+
+#else !LAB_ALPH
+
+% Now comes the computation for numeric labels.
+% We use either the sorted order or original order.
+% We still have to keep track of the longest (in width$ terms) label, for use
+% by the "thebibliography" environment.
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+#endif LAB_ALPH
+
+% Now we're ready to start writing the .BBL file.
+% We begin, if necessary, with a LaTeX macro for unnamed names in an alphabetic
+% label; next comes stuff from the `preamble' command in the database files.
+% Then we give an incantation containing the command
+% \begin{thebibliography}{...}
+% where the `...' is the longest label.
+%
+% We also call init.state.consts, for use by the output routines.
+
+FUNCTION {begin.bib}
+#if LAB_ALPH
+{ et.al.char.used
+ { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+ 'skip$
+ if$
+ preamble$ empty$
+#else !LAB_ALPH
+{ preamble$ empty$
+#endif LAB_ALPH
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+% Now we produce the output for all the entries
+
+ITERATE {call.type$}
+
+% Finally, we finish up by writing the `\end{thebibliography}' command.
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/base/btxdoc.bib b/biblio/bibtex/base/btxdoc.bib
new file mode 100644
index 0000000000..5a30c68d69
--- /dev/null
+++ b/biblio/bibtex/base/btxdoc.bib
@@ -0,0 +1,93 @@
+% Copyright (C) 1988, 2010 Oren Patashnik.
+% Unlimited copying and redistribution of this file are permitted if it
+% is unmodified. Modifications (and their redistribution) are also
+% permitted, as long as the resulting file is renamed.
+
+@COMMENT(You may put a comment in a `comment' command,
+ the way you would with SCRIBE.)
+
+Or you may dispense with the command and simply give the comment,
+as long as it's not within an entry.
+
+If you really want to put a comment inside an entry, simply
+make up a never-to-be-used field.
+
+@FAKE-ENTRY
+ {fake-database-key,
+ never-to-be-used-field = "Even if this were a real entry,
+ I could still have a comment inside an entry
+ by making up a fake field"
+ }
+
+@string (SCRIBE-NOTE = {Chapter twelve and appendices E8 through E10 deal
+ with bibliographies})
+
+The next entry shows some of the syntactically legal things that
+those with the inclination may use.@
+
+MaNuAl (scribe,
+ TITLE="Scribe Document Production System
+
+
+ User Manual",
+ ORGANIZATION = {Unilogic,}#" Ltd"# {.
+ },
+ ADDRESS = "Pittsburgh",
+ MONTH
+=aPR
+ ,YEAR=1984,
+ note = scribe-note,
+) May the inclination not be with you.
+
+
+@MISC{prime-number-theorem,
+ author = "Charles Louis Xavier Joseph de la Vall{\'e}e Poussin",
+ note = "A strong form of the prime number theorem, 19th century" }
+
+@INBOOK{chicago,
+ title = "The Chicago Manual of Style",
+ publisher = "University of Chicago Press",
+ edition = "Thirteenth",
+ year = 1982,
+ pages = "400--401",
+ key = "Chicago" }
+
+@BOOK{texbook,
+ author = "Donald E. Knuth",
+ title= "The {{\TeX}book}",
+ publisher = "Addison-Wesley",
+ year = 1984 }
+
+@BOOK{latex,
+ author = "Leslie Lamport",
+ title = "{\LaTeX \rm:} {A} Document Preparation System",
+ publisher = "Addison-Wesley",
+ year = 1986 }
+
+@UNPUBLISHED{btxdoc,
+ author = "Oren Patashnik",
+ title = "{{\BibTeX ing}}",
+ note = "Documentation for general {\BibTeX} users",
+ month = "8~" # feb,
+ year = 1988 }
+
+@UNPUBLISHED{btxhak,
+ author = "Oren Patashnik",
+ title = "Designing {\BibTeX} Styles",
+ note = "The part of \BibTeX's documentation
+ that's not meant for general users",
+ month = "8~" # feb,
+ year = 1988 }
+
+@BOOK{strunk-and-white,
+ author = "Strunk, Jr., William and E. B. White",
+ title = "The Elements of Style",
+ publisher = "Macmillan",
+ edition = "Third",
+ year = 1979 }
+
+@BOOK{van-leunen,
+ title = "A Handbook for Scholars",
+ author = "Mary-Claire van Leunen",
+ publisher = "Knopf",
+ year = 1979 }
diff --git a/biblio/bibtex/base/btxdoc.pdf b/biblio/bibtex/base/btxdoc.pdf
new file mode 100644
index 0000000000..1b5227d76a
--- /dev/null
+++ b/biblio/bibtex/base/btxdoc.pdf
Binary files differ
diff --git a/biblio/bibtex/base/btxdoc.tex b/biblio/bibtex/base/btxdoc.tex
new file mode 100644
index 0000000000..b41318fa1c
--- /dev/null
+++ b/biblio/bibtex/base/btxdoc.tex
@@ -0,0 +1,1120 @@
+% Copyright (C) 1988, 2010 Oren Patashnik.
+% Unlimited copying and redistribution of this file are permitted if it
+% is unmodified. Modifications (and their redistribution) are also
+% permitted, as long as the resulting file is renamed.
+
+\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
+ T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
+
+\title{B\kern-.05em{\large I}\kern-.025em{\large B}\kern-.08em\TeX ing}
+\author{Oren Patashnik}
+\date{February 8, 1988}
+
+\documentstyle{article}
+\begin{document}
+
+\maketitle
+
+\section{Overview}
+
+[This document will be expanded when \BibTeX\ version 1.00 comes out.
+Please report typos, omissions, inaccuracies,
+and especially unclear explanations
+to {\tt biblio@tug.org} ({\tt http://lists.tug.org/biblio}).
+Suggestions for improvements are wanted and welcome.]
+
+This documentation, for \BibTeX\ version 0.99b,
+is meant for general \BibTeX\ users;
+bibliography-style designers should read this document
+and then read ``Designing \BibTeX\ Styles''~\cite{btxhak},
+which is meant for just them.
+
+This document has three parts:
+Section~\ref{differences}
+describes the differences between versions 0.98i and 0.99b
+of \BibTeX\ and between the corresponding versions of the standard styles;
+Section~\ref{latex-appendix}
+updates Appendix~B.2 of the \LaTeX\ book~\cite{latex};
+and Section~\ref{odds-and-ends}
+gives some general and specific tips
+that aren't documented elsewhere.
+It's assumed throughout that you're familiar with
+the relevant sections of the \LaTeX\ book.
+
+This documentation also serves as sample input to help
+\BibTeX\ implementors get it running.
+For most documents, this one included, you produce the reference list by:
+running \LaTeX\ on the document (to produce the {\tt aux} file(s)),
+then running \BibTeX\ (to produce the {\tt bbl} file),
+then \LaTeX\ twice more (first to find the information in the {\tt bbl} file
+and then to get the forward references correct).
+In very rare circumstances you may need an extra \BibTeX/\LaTeX\ run.
+
+\BibTeX\ version 0.99b should be used with \LaTeX\ version 2.09,
+for which the closed bibliography format is the default;
+to get the open format, use the optional document style {\tt openbib}
+(in an open format there's a line break between major blocks of a
+reference-list entry; in a closed format the blocks run together).]
+
+Note: \BibTeX\ 0.99b is not compatible with the old style files;
+nor is \BibTeX\ 0.98i compatible with the new ones
+(the new \BibTeX, however, is compatible with old database files).
+
+Note for implementors: \BibTeX\ provides logical-area names
+\hbox{\tt TEXINPUTS:} for bibliography-style files and
+\hbox{\tt TEXBIB:} for database files it can't otherwise find.
+
+
+\section{Changes}
+\label{differences}
+
+This section describes the differences between
+\BibTeX\ versions 0.98i and 0.99b, and also between
+the corresponding standard styles.
+There were a lot of differences;
+there will be a lot fewer between 0.99 and 1.00.
+
+
+\subsection{New \BibTeX\ features}
+\label{features}
+
+The following list explains \BibTeX's new features and how to use them.
+\begin{enumerate}
+
+\item
+With the single command `\hbox{\verb|\nocite{*}|}'
+you can now include in the reference list
+every entry in the database files, without having to explicitly
+\verb|\cite| or \hbox{\verb|\nocite|} each entry.
+Giving this command, in essence,
+\hbox{\verb|\nocite|}s
+all the enties in the database, in database order,
+at the very spot in your document
+where you give the command.
+
+\item
+\label{concat}
+You can now have as a field value (or an {\tt @STRING} definition)
+the concatenation of several strings.
+For example if you've defined
+\begin{verbatim}
+ @STRING( WGA = " World Gnus Almanac" )
+\end{verbatim}
+then it's easy to produce nearly-identical
+{\tt title} fields for different entries:
+\begin{verbatim}
+ @BOOK(almanac-66,
+ title = 1966 # WGA,
+ . . .
+ @BOOK(almanac-67,
+ title = 1967 # WGA,
+\end{verbatim}
+and so on. Or, you could have a field like
+\begin{verbatim}
+ month = "1~" # jan,
+\end{verbatim}
+which would come out something like
+`\hbox{\verb|1~January|}' or `\hbox{\verb|1~Jan.|}' in the {\tt bbl} file,
+depending on how your bibliography style defines
+the {\tt jan} abbreviation.
+You may concatenate as many strings as you like
+(except that there's a limit to the overall length
+of the resulting field);
+just be sure to put the concatenation character `{\tt\#}'$\!$,
+surrounded by optional spaces or newlines,
+between each successive pair of strings.
+
+\item
+\BibTeX\ has a new cross-referencing feature,
+explained by an example.
+Suppose you say \hbox{\verb|\cite{no-gnats}|} in your document,
+and suppose you have these two entries in your database file:
+\begin{verbatim}
+ @INPROCEEDINGS(no-gnats,
+ crossref = "gg-proceedings",
+ author = "Rocky Gneisser",
+ title = "No Gnats Are Taken for Granite",
+ pages = "133-139")
+ . . .
+ @PROCEEDINGS(gg-proceedings,
+ editor = "Gerald Ford and Jimmy Carter",
+ title = "The Gnats and Gnus 1988 Proceedings",
+ booktitle = "The Gnats and Gnus 1988 Proceedings")
+\end{verbatim}
+Two things happen.
+First, the special \hbox{\tt crossref} field tells \BibTeX\
+that the \hbox{\tt no-gnats} entry should inherit
+any fields it's missing from
+the entry it cross references, \hbox{\tt gg-proceedings}.
+In this case it in inherits the two fields
+\hbox{\tt editor} and \hbox{\tt booktitle}.
+Note that, in the standard styles at least,
+the \hbox{\tt booktitle} field is irrelevant
+for the \hbox{\tt PROCEEDINGS} entry type.
+The \hbox{\tt booktitle} field appears here
+in the \hbox{\tt gg-proceedings} entry
+only so that the entries that cross reference it
+may inherit the field.
+No matter how many papers from this meeting exist in the database,
+this \hbox{\tt booktitle} field need only appear once.
+
+The second thing that happens:
+\BibTeX\ automatically puts the entry \hbox{\tt gg-proceedings}
+into the reference list if it's cross
+referenced by two or more entries that you
+\verb|\cite| or \hbox{\verb|\nocite|},
+even if you don't \verb|\cite| or \hbox{\verb|\nocite|}
+the \hbox{\tt gg-proceedings} entry itself.
+So \hbox{\tt gg-proceedings} will automatically appear
+on the reference list if one other entry
+besides \hbox{\tt no-gnats} cross references it.
+
+To guarantee that this scheme works, however,
+a cross-referenced entry must occur later in the database files
+than every entry that cross-references it.
+Thus, putting all cross-referenced entries at the end makes sense.
+(Moreover, you may not reliably nest cross references;
+that is, a cross-referenced entry may
+not itself reliably cross reference an entry.
+This is almost certainly not something you'd
+want to do, though.)
+
+One final note:
+This cross-referencing feature is completely unrelated
+to the old \BibTeX's cross referencing,
+which is still allowed.
+Thus, having a field like
+\begin{verbatim}
+ note = "Jones \cite{jones-proof} improves the result"
+\end{verbatim}
+is not affected by the new feature.
+
+\item
+\BibTeX\ now handles accented characters.
+For example if you have an entry with the two fields
+\begin{verbatim}
+ author = "Kurt G{\"o}del",
+ year = 1931,
+\end{verbatim}
+and if you're using the \hbox{\tt alpha} bibliography style,
+then \BibTeX\ will construct the label
+\hbox{[G{\"o}d31]} for this entry, which is what you'd want.
+To get this feature to work you must place the entire accented
+character in braces;
+in this case either \hbox{\verb|{\"o}|}
+or \hbox{\verb|{\"{o}}|} will do.
+Furthermore these braces must not themselves be
+enclosed in braces (other than the ones that might delimit
+the entire field or the entire entry);
+and there must be a backslash
+as the very first character inside the braces.
+Thus neither \hbox{\verb|{G{\"{o}}del}|}
+nor \hbox{\verb|{G\"{o}del}|} will work for this example.
+
+This feature handles all the accented characters and
+all but the nonbackslashed foreign symbols found in Tables
+3.1 and~3.2 of the \LaTeX\ book.
+This feature behaves similarly for ``accents'' you might define;
+we'll see an example shortly.
+For the purposes of counting letters in labels,
+\BibTeX\ considers everything contained inside the braces
+as a single letter.
+
+\item
+\BibTeX\ also handles hyphenated names.
+For example if you have an entry with
+\begin{verbatim}
+ author = "Jean-Paul Sartre",
+\end{verbatim}
+and if you're using the \hbox{\tt abbrv} style,
+then the result is `J.-P. Sartre'$\!$.
+
+\item
+\label{preamble}
+There's now an \hbox{\verb|@PREAMBLE|} command
+for the database files.
+This command's syntax is just like \hbox{\verb|@STRING|}'s,
+except that there is no name or equals-sign, just the string.
+Here's an example:
+\begin{verbatim}
+ @PREAMBLE{ "\newcommand{\noopsort}[1]{} "
+ # "\newcommand{\singleletter}[1]{#1} " }
+\end{verbatim}
+(note the use of concatenation here, too).
+The standard styles output whatever information you give this command
+(\LaTeX\ macros most likely) directly to the {\tt bbl} file.
+We'll look at one possible use of this command,
+based on the \hbox{\verb|\noopsort|} command just defined.
+
+The issue here is sorting (alphabetizing).
+\BibTeX\ does a pretty good job,
+but occasionally weird circumstances conspire to confuse \BibTeX:
+Suppose that you have entries in your database for
+the two books in a two-volume set by the same author,
+and that you'd like volume~1 to appear
+just before volume~2 in your reference list.
+Further suppose that there's now a second edition of volume~1,
+which came out in 1973, say,
+but that there's still just one edition of volume~2,
+which came out in 1971.
+Since the {\tt plain} standard style
+sorts by author and then year,
+it will place volume~2 first
+(because its edition came out two years earlier)
+unless you help \BibTeX.
+You can do this by using the {\tt year} fields below
+for the two volumes:
+\begin{verbatim}
+ year = "{\noopsort{a}}1973"
+ . . .
+ year = "{\noopsort{b}}1971"
+\end{verbatim}
+According to the definition of \hbox{\verb|\noopsort|},
+\LaTeX\ will print nothing but the true year for these fields.
+But \BibTeX\ will be perfectly happy pretending that
+\hbox{\verb|\noopsort|} specifies some fancy accent
+that's supposed to adorn the `a' and the~`b';
+thus when \BibTeX\ sorts it will pretend that
+`a1973' and `b1971' are the real years,
+and since `a' comes before~`b'$\!$, it will place volume~1 before volume~2,
+just what you wanted.
+By the way, if this author has any other works included
+in your database, you'd probably want to use instead something like
+\hbox{\verb|{\noopsort{1968a}}1973|} and
+\hbox{\verb|{\noopsort{1968b}}1971|},
+so that these two books would come out in a reasonable spot
+relative to the author's other works
+(this assumes that 1968 results in a reasonable spot,
+say because that's when the first edition of volume~1 appeared).
+
+There is a limit to the number of \hbox{\verb|@PREAMBLE|} commands
+you may use, but you'll never exceed this limit if
+you restrict yourself to one per database file;
+this is not a serious restriction,
+given the concatenation feature (item~\ref{concat}).
+
+\item
+\BibTeX's sorting algorithm is now stable.
+This means that if two entries have identical sort keys,
+those two entries will appear in citation order.
+(The bibliography styles construct these sort keys---%
+usually the author information followed by the year and the title.)
+
+\item
+\BibTeX\ no longer does case conversion for file names;
+this will make \BibTeX\ easier to install on Unix systems, for example.
+
+\item
+It's now easier to add code for processing a
+command-line {\tt aux}-file name.
+
+\end{enumerate}
+
+
+\subsection{Changes to the standard styles}
+
+This section describes changes to the standard styles
+({\tt plain}, {\tt unsrt}, {\tt alpha}, {\tt abbrv})
+that affect ordinary users.
+Changes that affect style designers appear in
+the document ``Designing \BibTeX\ Styles''~\cite{btxhak}.
+\begin{enumerate}
+
+\item
+In general, sorting is now by ``author''$\!$, then year, then title---%
+the old versions didn't use the year field.
+(The {\tt alpha} style, however, sorts first by label,
+then ``author''$\!$, year, and title.)
+The quotes around author mean that some entry types
+might use something besides the author, like the editor or organization.
+
+\item
+Many unnecessary ties (\verb|~|) have been removed.
+\LaTeX\ thus will produce slightly fewer
+`\hbox{\tt Underfull} \verb|\hbox|' messages
+when it's formatting the reference list.
+
+\item
+Emphasizing (\hbox{\verb|{\em ...}|})
+has replaced italicizing (\hbox{\verb|{\it ...}|}).
+This will almost never result in a difference
+between the old output and the new.
+
+\item
+The {\tt alpha} style now uses a superscripted~`$^{+}$' instead of a~`*'
+to represent names omitted in constructing the label.
+If you really liked it the way it was, however,
+or if you want to omit the character entirely,
+you don't have to modify the style file---%
+you can override the~`$^{+}$' by
+redefining the \hbox{\verb|\etalchar|} command
+that the {\tt alpha} style writes onto the {\tt bbl} file
+(just preceding the \hbox{\verb|\thebibliography|} environment);
+use \LaTeX's \hbox{\verb|\renewcommand|} inside
+a database \hbox{\tt @PREAMBLE} command,
+described in the previous subsection's item~\ref{preamble}.
+
+\item
+The {\tt abbrv} style now uses `Mar.' and `Sept.'\
+for those months rather than `March' and `Sep.'
+
+\item
+The standard styles use \BibTeX's new cross-referencing feature
+by giving a \verb|\cite| of the cross-referenced entry and by
+omitting from the cross-referencing entry
+(most of the) information that appears
+in the cross-referenced entry.
+These styles do this when
+a titled thing (the cross-referencing entry)
+is part of a larger titled thing (the cross-referenced entry).
+There are five such situations:
+when (1)~an \hbox{\tt INPROCEEDINGS}
+(or \hbox{\tt CONFERENCE}, which is the same)
+cross references a \hbox{\tt PROCEEDINGS};
+when (2)~a {\tt BOOK}, (3)~an \hbox{\tt INBOOK},
+or (4)~an \hbox{\tt INCOLLECTION}
+cross references a {\tt BOOK}
+(in these cases, the cross-referencing entry is a single
+volume in a multi-volume work);
+and when (5)~an \hbox{\tt ARTICLE}
+cross references an \hbox{\tt ARTICLE}
+(in this case, the cross-referenced entry is really a journal,
+but there's no \hbox{\tt JOURNAL} entry type;
+this will result in warning messages about
+an empty \hbox{\tt author} and \hbox{\tt title} for the journal---%
+you should just ignore these warnings).
+
+\item
+The \hbox{\tt MASTERSTHESIS} and \hbox{\tt PHDTHESIS}
+entry types now take an optional {\tt type} field.
+For example you can get the standard styles to
+call your reference a `Ph.D.\ dissertation'
+instead of the default `PhD thesis' by including a
+\begin{verbatim}
+ type = "{Ph.D.} dissertation"
+\end{verbatim}
+in your database entry.
+
+\item
+Similarly, the \hbox{\tt INBOOK} and \hbox{\tt INCOLLECTION}
+entry types now take an optional {\tt type} field,
+allowing `section~1.2' instead of the default `chapter~1.2'$\!$.
+You get this by putting
+\begin{verbatim}
+ chapter = "1.2",
+ type = "Section"
+\end{verbatim}
+in your database entry.
+
+\item
+The \hbox{\tt BOOKLET}, \hbox{\tt MASTERSTHESIS},
+and \hbox{\tt TECHREPORT} entry types now format
+their \hbox{\tt title} fields as if they were
+\hbox{\tt ARTICLE} \hbox{\tt title}s
+rather than \hbox{\tt BOOK} \hbox{\tt title}s.
+
+\item
+The \hbox{\tt PROCEEDINGS} and \hbox{\tt INPROCEEDINGS}
+entry types now use the \hbox{\tt address} field
+to tell where a conference was held,
+rather than to give the address
+of the publisher or organization.
+If you want to include the
+publisher's or organization's address,
+put it in the \hbox{\tt publisher}
+or \hbox{\tt organization} field.
+
+\item
+The \hbox{\tt BOOK}, \hbox{\tt INBOOK}, \hbox{\tt INCOLLECTION},
+and \hbox{\tt PROCEEDINGS} entry types now allow either
+\hbox{\tt volume} or \hbox{\tt number} (but not both),
+rather than just \hbox{\tt volume}.
+
+\item
+The \hbox{\tt INCOLLECTION} entry type now allows
+a \hbox{\tt series} and an \hbox{\tt edition} field.
+
+\item
+The \hbox{\tt INPROCEEDINGS} and \hbox{\tt PROCEEDINGS}
+entry types now allow either a \hbox{\tt volume} or \hbox{\tt number},
+and also a \hbox{\tt series} field.
+
+\item
+The \hbox{\tt UNPUBLISHED} entry type now outputs,
+in one block, the \hbox{\tt note} field
+followed by the date information.
+
+\item
+The \hbox{\tt MANUAL} entry type now prints out
+the \hbox{\tt organization} in the first block
+if the \hbox{\tt author} field is empty.
+
+\item
+The {\tt MISC} entry type now issues a warning
+if all the optional fields are empty
+(that is, if the entire entry is empty).
+
+\end{enumerate}
+
+
+\section{The Entries}
+\label{latex-appendix}
+
+This section is simply a corrected version of
+Appendix~B.2 of the \LaTeX\ book~\cite{latex},
+\copyright~1986, by Addison-Wesley.
+The basic scheme is the same, only a few details have changed.
+
+
+\subsection{Entry Types}
+
+When entering a reference in the database, the first thing to decide
+is what type of entry it is. No fixed classification scheme can be
+complete, but \BibTeX\ provides enough entry types to handle almost
+any reference reasonably well.
+
+References to different types of publications contain different
+information; a reference to a journal article might include the volume
+and number of the journal, which is usually not meaningful for a book.
+Therefore, database entries of different types have different fields.
+For each entry type, the fields are divided into three classes:
+\begin{description}
+
+\item[required]
+Omitting the field will produce a warning message
+and, rarely, a badly formatted bibliography entry.
+If the required information is not meaningful,
+you are using the wrong entry type.
+However, if the required information is meaningful
+but, say, already included is some other field,
+simply ignore the warning.
+
+\item[optional]
+The field's information will be used if present,
+but can be omitted without causing any formatting problems.
+You should include the optional field if it will help the reader.
+
+\item[ignored]
+The field is ignored.
+\BibTeX\ ignores any field that is not required or optional, so you can include
+any fields you want in a \hbox{\tt bib} file entry. It's a good idea
+to put all relevant information about
+a reference in its \hbox{\tt bib} file entry---even information that
+may never appear in the bibliography. For example, if you want to
+keep an abstract of a paper in a computer file, put it in an \hbox{\tt
+abstract} field in the paper's \hbox{\tt bib} file entry. The
+\hbox{\tt bib} file is likely to be as good a place as any for the
+abstract, and it is possible to design a bibliography style for
+printing selected abstracts.
+Note: Misspelling a field name will
+result in its being ignored,
+so watch out for typos
+(especially for optional fields,
+since \BibTeX\ won't warn you when those are missing).
+
+\end{description}
+
+The following are the standard entry types, along with their required
+and optional fields, that are used by the standard bibliography styles.
+The fields within each class (required or optional)
+are listed in order of occurrence in the output,
+except that a few entry types may perturb the order slightly,
+depending on what fields are missing.
+These entry types are similar to those adapted by Brian Reid
+from the classification scheme of van~Leunen~\cite{van-leunen}
+for use in the {\em Scribe\/} system.
+The meanings of the individual fields are explained in the next section.
+Some nonstandard bibliography styles may ignore some optional fields
+in creating the reference.
+Remember that, when used in the \hbox{\tt bib}
+file, the entry-type name is preceded by an \hbox{\tt @} character.
+
+\begin{description}
+\sloppy
+
+\item[article\hfill] An article from a journal or magazine.
+Required fields: \hbox{\tt author}, \hbox{\tt title}, \hbox{\tt journal},
+\hbox{\tt year}.
+Optional fields: \hbox{\tt volume}, \hbox{\tt number},
+\hbox{\tt pages}, \hbox{\tt month}, \hbox{\tt note}.
+
+\item[book\hfill] A book with an explicit publisher.
+Required fields: \hbox{\tt author} or \hbox{\tt editor},
+\hbox{\tt title}, \hbox{\tt publisher}, \hbox{\tt year}.
+Optional fields: \hbox{\tt volume} or \hbox{\tt number}, \hbox{\tt series},
+\hbox{\tt address}, \hbox{\tt edition}, \hbox{\tt month},
+\hbox{\tt note}.
+
+\item[booklet\hfill] A work that is printed and bound,
+but without a named publisher or sponsoring institution.
+Required field: \hbox{\tt title}.
+Optional fields: \hbox{\tt author}, \hbox{\tt howpublished},
+\hbox{\tt address}, \hbox{\tt month}, \hbox{\tt year}, \hbox{\tt note}.
+
+\item[conference\hfill] The same as {\tt INPROCEEDINGS},
+included for {\em Scribe\/} compatibility.
+
+\item[inbook\hfill] A part of a book,
+which may be a chapter (or section or whatever) and/or a range of pages.
+Required fields: \hbox{\tt author} or \hbox{\tt editor}, \hbox{\tt title},
+\hbox{\tt chapter} and/or \hbox{\tt pages}, \hbox{\tt publisher},
+\hbox{\tt year}.
+Optional fields: \hbox{\tt volume} or \hbox{\tt number}, \hbox{\tt series},
+\hbox{\tt type}, \hbox{\tt address},
+\hbox{\tt edition}, \hbox{\tt month}, \hbox{\tt note}.
+
+\item[incollection\hfill] A part of a book having its own title.
+Required fields: \hbox{\tt author}, \hbox{\tt title}, \hbox{\tt booktitle},
+\hbox{\tt publisher}, \hbox{\tt year}.
+Optional fields: \hbox{\tt editor}, \hbox{\tt volume} or \hbox{\tt number},
+\hbox{\tt series}, \hbox{\tt type}, \hbox{\tt chapter}, \hbox{\tt pages},
+\hbox{\tt address}, \hbox{\tt edition}, \hbox{\tt month}, \hbox{\tt note}.
+
+\item[inproceedings\hfill] An article in a conference proceedings.
+Required fields: \hbox{\tt author}, \hbox{\tt title}, \hbox{\tt booktitle},
+\hbox{\tt year}.
+Optional fields: \hbox{\tt editor}, \hbox{\tt volume} or \hbox{\tt number},
+\hbox{\tt series}, \hbox{\tt pages}, \hbox{\tt address}, \hbox{\tt month},
+\hbox{\tt organization}, \hbox{\tt publisher}, \hbox{\tt note}.
+
+\item[manual\hfill] Technical documentation. Required field: \hbox{\tt title}.
+Optional fields: \hbox{\tt author}, \hbox{\tt organization},
+\hbox{\tt address}, \hbox{\tt edition}, \hbox{\tt month}, \hbox{\tt year},
+\hbox{\tt note}.
+
+\item[mastersthesis\hfill] A Master's thesis.
+Required fields: \hbox{\tt author}, \hbox{\tt title}, \hbox{\tt school},
+\hbox{\tt year}.
+Optional fields: \hbox{\tt type}, \hbox{\tt address}, \hbox{\tt month},
+\hbox{\tt note}.
+
+\item[misc\hfill] Use this type when nothing else fits.
+Required fields: none.
+Optional fields: \hbox{\tt author}, \hbox{\tt title}, \hbox{\tt howpublished},
+\hbox{\tt month}, \hbox{\tt year}, \hbox{\tt note}.
+
+\item[phdthesis\hfill] A PhD thesis.
+Required fields: \hbox{\tt author}, \hbox{\tt title}, \hbox{\tt school},
+\hbox{\tt year}.
+Optional fields: \hbox{\tt type}, \hbox{\tt address}, \hbox{\tt month},
+\hbox{\tt note}.
+
+\item[proceedings\hfill] The proceedings of a conference.
+Required fields: \hbox{\tt title}, \hbox{\tt year}.
+Optional fields: \hbox{\tt editor}, \hbox{\tt volume} or \hbox{\tt number},
+\hbox{\tt series}, \hbox{\tt address}, \hbox{\tt month},
+\hbox{\tt organization}, \hbox{\tt publisher}, \hbox{\tt note}.
+
+
+\item[techreport\hfill] A report published by a school or other institution,
+usually numbered within a series.
+Required fields: \hbox{\tt author},
+\hbox{\tt title}, \hbox{\tt institution}, \hbox{\tt year}.
+Optional fields: \hbox{\tt type}, \hbox{\tt number}, \hbox{\tt address},
+\hbox{\tt month}, \hbox{\tt note}.
+
+\item[unpublished\hfill] A document having an author and title,
+but not formally published.
+Required fields: \hbox{\tt author}, \hbox{\tt title}, \hbox{\tt note}.
+Optional fields: \hbox{\tt month}, \hbox{\tt year}.
+
+\end{description}
+
+In addition to the fields listed above, each entry type also has an
+optional \hbox{\tt key} field, used in some styles
+for alphabetizing, for cross referencing,
+or for forming a \hbox{\verb|\bibitem|} label.
+You should include a \hbox{\tt key} field for any entry whose
+``author'' information is missing;
+the ``author'' information is usually the \hbox{\tt author} field,
+but for some entry types it can be the \hbox{\tt editor}
+or even the \hbox{\tt organization} field
+(Section~\ref{odds-and-ends} describes this in more detail).
+Do not confuse the \hbox{\tt key} field with the key that appears in the
+\hbox{\verb|\cite|} command and at the beginning of the database entry;
+this field is named ``key'' only for compatibility with {\it Scribe}.
+
+
+\subsection{Fields}
+
+Below is a description of all fields
+recognized by the standard bibliography styles.
+An entry can also contain other fields, which are ignored by those styles.
+\begin{description}
+
+\item[address\hfill]
+Usually the address of the \hbox{\tt publisher} or other type
+of institution.
+For major publishing houses,
+van~Leunen recommends omitting the information entirely.
+For small publishers, on the other hand, you can help the
+reader by giving the complete address.
+
+\item[annote\hfill]
+An annotation.
+It is not used by the standard bibliography styles,
+but may be used by others that produce an annotated bibliography.
+
+\item[author\hfill]
+The name(s) of the author(s),
+in the format described in the \LaTeX\ book.
+
+\item[booktitle\hfill]
+Title of a book, part of which is being cited.
+See the \LaTeX\ book for how to type titles.
+For book entries, use the \hbox{\tt title} field instead.
+
+\item[chapter\hfill]
+A chapter (or section or whatever) number.
+
+\item[crossref\hfill]
+The database key of the entry being cross referenced.
+
+\item[edition\hfill]
+The edition of a book---for example, ``Second''$\!$.
+This should be an ordinal, and
+should have the first letter capitalized, as shown here;
+the standard styles convert to lower case when necessary.
+
+\item[editor\hfill]
+Name(s) of editor(s), typed as indicated in the \LaTeX\ book.
+If there is also an \hbox{\tt author} field, then
+the \hbox{\tt editor} field gives the editor of the book or collection
+in which the reference appears.
+
+\item[howpublished\hfill]
+How something strange has been published.
+The first word should be capitalized.
+
+\item[institution\hfill]
+The sponsoring institution of a technical report.
+
+\item[journal\hfill]
+A journal name.
+Abbreviations are provided for many journals; see the {\it Local Guide}.
+
+\item[key\hfill]
+Used for alphabetizing, cross referencing, and creating a label when
+the ``author'' information
+(described in Section~\ref{odds-and-ends}) is missing.
+This field should not be confused with the key that appears in the
+\hbox{\verb|\cite|} command and at the beginning of the database entry.
+
+\item[month\hfill]
+The month in which the work was
+published or, for an unpublished work, in which it was written.
+You should use the standard three-letter abbreviation,
+as described in Appendix B.1.3 of the \LaTeX\ book.
+
+\item[note\hfill]
+Any additional information that can help the reader.
+The first word should be capitalized.
+
+\item[number\hfill]
+The number of a journal, magazine, technical report,
+or of a work in a series.
+An issue of a journal or magazine is usually
+identified by its volume and number;
+the organization that issues a
+technical report usually gives it a number;
+and sometimes books are given numbers in a named series.
+
+\item[organization\hfill]
+The organization that sponsors a conference or that publishes a \hbox{manual}.
+
+\item[pages\hfill]
+One or more page numbers or range of numbers,
+such as \hbox{\tt 42--111} or \hbox{\tt 7,41,73--97} or \hbox{\tt 43+}
+(the `{\tt +}' in this last example indicates pages following
+that don't form a simple range).
+To make it easier to maintain {\em Scribe\/}-compatible databases,
+the standard styles convert a single dash (as in \hbox{\tt 7-33})
+to the double dash used in \TeX\ to denote number ranges
+(as in \hbox{\tt 7--33}).
+
+\item[publisher\hfill]
+The publisher's name.
+
+\item[school\hfill]
+The name of the school where a thesis was written.
+
+\item[series\hfill]
+The name of a series or set of books.
+When citing an entire book, the the \hbox{\tt title} field
+gives its title and an optional \hbox{\tt series} field gives the
+name of a series or multi-volume set
+in which the book is published.
+
+\item[title\hfill]
+The work's title, typed as explained in the \LaTeX\ book.
+
+\item[type\hfill]
+The type of a technical report---for example,
+``Research Note''$\!$.
+
+\item[volume\hfill]
+The volume of a journal or multivolume book.
+
+\item[year\hfill]
+The year of publication or, for
+an unpublished work, the year it was written.
+Generally it should consist of four numerals, such as {\tt 1984},
+although the standard styles can handle any {\tt year} whose
+last four nonpunctuation characters are numerals,
+such as `\hbox{(about 1984)}'$\!$.
+
+\end{description}
+
+
+\section{Helpful Hints}
+\label{odds-and-ends}
+
+This section gives some random tips
+that aren't documented elsewhere,
+at least not in this detail.
+They are, roughly, in order
+of least esoteric to most.
+First, however, a brief spiel.
+
+I understand that there's often little choice in choosing
+a bibliography style---journal~$X$ says you must use style~$Y$
+and that's that.
+If you have a choice, however, I strongly recommend that you
+choose something like the {\tt plain} standard style.
+Such a style, van~Leunen~\cite{van-leunen} argues convincingly,
+encourages better writing than the alternatives---%
+more concrete, more vivid.
+
+{\em The Chicago Manual of Style\/}~\cite{chicago},
+on the other hand,
+espouse the author-date system,
+in which the citation might appear in the text as `(Jones, 1986)'$\!$.
+I argue that this system,
+besides cluttering up the
+text with information that may or may not be relevant,
+encourages the passive voice and vague writing.
+Furthermore the strongest arguments for
+using the author-date system---like ``it's the most practical''---%
+fall flat on their face with the advent
+of computer-typesetting technology.
+For instance the {\em Chicago Manual\/} contains,
+right in the middle of page~401, this anachronism:
+``The chief disadvantage of [a style like {\tt plain}] is that additions
+or deletions cannot be made after the manuscript is typed without changing
+numbers in both text references and list.''
+\LaTeX, obviously, sidesteps the disadvantage.
+
+Finally, the logical deficiencies of the author-date style
+are quite evident once you've written a program to implement it.
+For example, in a large bibliography,
+using the standard alphabetizing scheme,
+the entry for `(Aho et~al., 1983b)'
+might be half a page later than the one for `(Aho et~al., 1983a)'$\!$.
+Fixing this problem results in even worse ones.
+What a mess.
+(I have, unfortunately, programmed such a style,
+and if you're saddled with an unenlightened publisher
+or if you don't buy my propaganda,
+it's available from the Rochester style collection.)
+
+Ok, so the spiel wasn't very brief;
+but it made me feel better,
+and now my blood pressure is back to normal.
+Here are the tips for using \BibTeX\
+with the standard styles
+(although many of them hold for nonstandard styles, too).
+\begin{enumerate}
+
+\item
+With \BibTeX's style-designing language
+you can program general database manipulations,
+in addition to bibliography styles.
+For example it's a fairly easy task for someone familiar with the language
+to produce a database-key/author index of all the entries in a database.
+Consult the {\em Local Guide\/} to see
+what tools are available on your system.
+
+\item
+The standard style's thirteen entry types
+do reasonably well at formatting most entries,
+but no scheme with just thirteen formats
+can do everything perfectly.
+Thus, you should feel free to be creative
+in how you use these entry types
+(but if you have to be too creative,
+there's a good chance you're using the wrong entry type).
+
+\item
+Don't take the field names too seriously.
+Sometimes, for instance, you might have to include
+the publisher's address along with the publisher's name
+in the \hbox{\tt publisher} field,
+rather than putting it in the \hbox{\tt address} field.
+Or sometimes, difficult entries work best when you
+make judicious use of the {\tt note} field.
+
+\item
+Don't take the warning messages too seriously.
+Sometimes, for instance, the year appears in the title,
+as in {\em The 1966 World Gnus Almanac}.
+In this case it's best to omit the {\tt year} field
+and to ignore \BibTeX's warning message.
+
+\item
+If you have too many names to list in an
+\hbox{\tt author} or \hbox{\tt editor} field,
+you can end the list with ``and others'';
+the standard styles appropriately append an ``et~al.''
+
+\item
+In general, if you want to keep \BibTeX\ from changing
+something to lower case, you enclose it in braces.
+You might not get the effect you want, however,
+if the very first character after the left brace is a backslash.
+The ``special characters'' item later in this section explains.
+
+\item
+For {\em Scribe\/} compatibility, the database files
+allow an \hbox{\tt @COMMENT} command; it's not really
+needed because \BibTeX\ allows in the database files
+any comment that's not within an entry.
+If you want to comment out an entry,
+simply remove the `{\tt @}' character preceding the entry type.
+
+\item
+The standard styles have journal abbreviations that are
+computer-science oriented;
+these are in the style files primarily for the example.
+If you have a different set of journal abbreviations,
+it's sensible to put them in \hbox{\tt @STRING} commands
+in their own database file and to list this database file
+as an argument to \LaTeX's \hbox{\verb|\bibliography|} command
+(but you should list this argument before the ones that
+specify real database entries).
+
+\item
+It's best to use the three-letter abbreviations for the month,
+rather than spelling out the month yourself.
+This lets the bibliography style be consistent.
+And if you want to include information for the day of the month,
+the {\tt month} field is usually the best place.
+For example
+\begin{verbatim}
+ month = jul # "~4,"
+\end{verbatim}
+will probably produce just what you want.
+
+\item
+If you're using the \hbox{\tt unsrt} style
+(references are listed in order of citation)
+along with the \hbox{\verb|\nocite{*}|} feature
+(all entries in the database are included),
+the placement of the \hbox{\verb|\nocite{*}|} command
+within your document file will determine the reference order.
+According to the rule given in Section~\ref{features}:
+If the command is placed at the beginning of the document,
+the entries will be listed in exactly the order
+they occur in the database;
+if it's placed at the end,
+the entries that you explicitly
+\hbox{\verb|\cite|} or \hbox{\verb|\nocite|}
+will occur in citation order,
+and the remaining database entries will be in database order.
+
+\item
+For theses, van Leunen recommends not giving
+the school's department after the name of the degree,
+since schools, not departments, issue degrees.
+If you really think that giving the department information
+will help the reader find the thesis,
+put that information in the \hbox{\tt address} field.
+
+\item
+The \hbox{\tt MASTERSTHESIS} and \hbox{\tt PHDTHESIS} entry types
+are so named for {\em Scribe\/} compatibility;
+\hbox{\tt MINORTHESIS} and \hbox{\tt MAJORTHESIS}
+probably would have been better names.
+Keep this in mind when trying to classify
+a non-U.S.\ thesis.
+
+\item
+Here's yet another suggestion for what to do when an author's
+name appears slightly differently in two publications.
+Suppose, for example, two journals articles use these fields.
+\begin{verbatim}
+ author = "Donald E. Knuth"
+ . . .
+ author = "D. E. Knuth"
+\end{verbatim}
+There are two possibilities.
+You could (1)~simply leave them as is,
+or (2)~assuming you know for sure that
+these authors are one and the same person,
+you could list both in the form that the author prefers
+(say, `Donald~E.\ Knuth').
+In the first case, the entries might be alphabetized incorrectly,
+and in the second, the slightly altered name might
+foul up somebody's electronic library search.
+But there's a third possibility, which is the one I prefer.
+You could convert the second journal's field to
+\begin{verbatim}
+ author = "D[onald] E. Knuth"
+\end{verbatim}
+This avoids the pitfalls of the previous two solutions,
+since \BibTeX\ alphabetizes this as if the brackets weren't there,
+and since the brackets clue the reader in that a full first name
+was missing from the original.
+Of course it introduces another pitfall---`D[onald]~E.\ Knuth' looks ugly---%
+but in this case I think the increase in accuracy outweighs
+the loss in aesthetics.
+
+\item
+\LaTeX's comment character `{\tt\%}' is not a comment character
+in the database files.
+
+\item
+Here's a more complete description of
+the ``author'' information referred to in previous sections.
+For most entry types the ``author'' information
+is simply the \hbox{\tt author} field.
+However:
+For the \hbox{\tt BOOK} and \hbox{\tt INBOOK} entry types
+it's the \hbox{\tt author} field, but if there's no author
+then it's the \hbox{\tt editor} field;
+for the \hbox{\tt MANUAL} entry type
+it's the \hbox{\tt author} field, but if there's no author
+then it's the \hbox{\tt organization} field;
+and for the \hbox{\tt PROCEEDINGS} entry type
+it's the \hbox{\tt editor} field, but if there's no editor
+then it's the \hbox{\tt organization} field.
+
+\item
+When creating a label,
+the \hbox{\tt alpha} style uses the ``author'' information described above,
+but with a slight change---%
+for the \hbox{\tt MANUAL} and \hbox{\tt PROCEEDINGS} entry types,
+the {\tt key} field takes precedence over the \hbox{\tt organization} field.
+Here's a situation where this is useful.
+\begin{verbatim}
+ organization = "The Association for Computing Machinery",
+ key = "ACM"
+\end{verbatim}
+Without the {\tt key} field, the \hbox{\tt alpha} style
+would make a label from the first three letters of information
+in the \hbox{\tt organization} field;
+\hbox{\tt alpha} knows to strip off the `\hbox{\tt The }'$\!$,
+but it would still form a label like `\hbox{[Ass86]}'$\!$,
+which, however intriguing, is uninformative.
+Including the {\tt key} field, as above,
+would yield the better label `\hbox{[ACM86]}'$\!$.
+
+You won't always need the {\tt key} field to override the
+\hbox{\tt organization}, though:
+With
+\begin{verbatim}
+ organization = "Unilogic, Ltd.",
+\end{verbatim}
+for instance, the \hbox{\tt alpha} style would
+form the perfectly reasonable label `\hbox{[Uni86]}'$\!$.
+
+\item
+Section~\ref{features} discusses accented characters.
+To \BibTeX, an accented character is really a special case
+of a ``special character''$\!$,
+which consists of everything from a left brace at the top-most level,
+immediately followed by a backslash,
+up through the matching right brace.
+For example in the field
+\begin{verbatim}
+ author = "\AA{ke} {Jos{\'{e}} {\'{E}douard} G{\"o}del"
+\end{verbatim}
+there are just two special characters,
+`\hbox{\verb|{\'{E}douard}|}' and `\hbox{\verb|{\"o}|}'
+(the same would be true if the pair of double quotes
+delimiting the field were braces instead).
+In general, \BibTeX\ will not do any processing
+of a \TeX\ or \LaTeX\ control sequence inside a special character,
+but it {\em will\/} process other characters.
+Thus a style that converts all titles to lower case
+would convert
+\begin{verbatim}
+ The {\TeX BOOK\NOOP} Experience
+\end{verbatim}
+to
+\begin{verbatim}
+ The {\TeX book\NOOP} experience
+\end{verbatim}
+(the `{\tt The}' is still capitalized
+because it's the first word of the title).
+
+This special-character scheme is useful for handling accented characters,
+for getting \BibTeX's alphabetizing to do what you want,
+and, since \BibTeX\ counts an entire special character as just one letter,
+for stuffing extra characters inside labels.
+The file \hbox{\tt XAMPL.BIB} distributed with \BibTeX\
+gives examples of all three uses.
+
+\item
+This final item of the section describes \BibTeX's names
+(which appear in the \hbox{\tt author} or \hbox{\tt editor} field)
+in slightly more detail than what
+appears in Appendix~B of the \LaTeX\ book.
+In what follows, a ``name'' corresponds to a person.
+(Recall that you separate multiple names in a single field
+with the word ``and''$\!$, surrounded by spaces,
+and not enclosed in braces.
+This item concerns itself with the structure of a single name.)
+
+Each name consists of four parts: First, von, Last, and~Jr;
+each part consists of a (possibly empty) list of name-tokens.
+The Last part will be nonempty if any part is,
+so if there's just one token, it's always a Last token.
+
+Recall that Per Brinch~Hansen's name should be typed
+\begin{verbatim}
+ "Brinch Hansen, Per"
+\end{verbatim}
+The First part of his name has the single token ``Per'';
+the Last part has two tokens, ``Brinch'' and ``Hansen'';
+and the von and Jr parts are empty.
+If you had typed
+\begin{verbatim}
+ "Per Brinch Hansen"
+\end{verbatim}
+instead, \BibTeX\ would (erroneously) think ``Brinch'' were a First-part token,
+just as ``Paul'' is a First-part token in ``John~Paul Jones''$\!$,
+so this erroneous form would have two First tokens and one Last token.
+
+Here's another example:
+\begin{verbatim}
+ "Charles Louis Xavier Joseph de la Vall{\'e}e Poussin"
+\end{verbatim}
+This name has four tokens in the First part, two in the von, and
+two in the Last.
+Here \BibTeX\ knows where one part ends and the other begins because
+the tokens in the von part begin with lower-case letters.
+
+In general, it's a von token if the first letter at brace-level~0
+is in lower case.
+Since technically everything
+in a ``special character'' is at brace-level~0,
+you can trick \BibTeX\ into thinking that
+a token is or is not a von token by prepending a dummy
+special character whose first letter past the \TeX\ control sequence
+is in the desired case, upper or lower.
+
+To summarize, \BibTeX\ allows three possible forms for the name:
+\begin{verbatim}
+ "First von Last"
+ "von Last, First"
+ "von Last, Jr, First"
+\end{verbatim}
+You may almost always use the first form;
+you shouldn't if either there's a Jr part,
+or the Last part has multiple tokens but there's no von part.
+
+\end{enumerate}
+
+\bibliography{btxdoc}
+\bibliographystyle{plain}
+\end{document}
diff --git a/biblio/bibtex/base/btxhak.pdf b/biblio/bibtex/base/btxhak.pdf
new file mode 100644
index 0000000000..1b825c3cdc
--- /dev/null
+++ b/biblio/bibtex/base/btxhak.pdf
Binary files differ
diff --git a/biblio/bibtex/base/btxhak.tex b/biblio/bibtex/base/btxhak.tex
new file mode 100644
index 0000000000..e91c8a81ab
--- /dev/null
+++ b/biblio/bibtex/base/btxhak.tex
@@ -0,0 +1,626 @@
+% Copyright (C) 1988, 2010 Oren Patashnik.
+% Unlimited copying and redistribution of this file are permitted if it
+% is unmodified. Modifications (and their redistribution) are also
+% permitted, as long as the resulting file is renamed.
+
+\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
+ T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
+
+\title{Designing B\kern-.05em{\large I}\kern-.025em{\large B}\kern-.08em\TeX\
+ Styles}
+\author{Oren Patashnik}
+\date{February 8, 1988}
+
+\documentstyle{article}
+\begin{document}
+
+\maketitle
+
+\setcounter{section}{4}
+\section{Bibliography-style hacking}
+\label{style}
+
+This document starts (and ends) with Section~\ref{style},
+because in reality it is the final section of ``\BibTeX ing''~\cite{btxdoc},
+the general documentation for \BibTeX.
+But that document was meant for all \BibTeX\ users,
+while this one is just for style designers,
+so the two are physically separate.
+Still, you should be completely familiar with ``\BibTeX ing''$\!$,
+and all references in this document
+to sections and section numbers
+assume that the two documents are one.
+
+This section,
+along with the standard-style documentation file \hbox{\tt btxbst.doc},
+should explain how to modify
+existing style files and to produce new ones.
+If you're a serious style hacker you should be familiar
+with van~Leunen~\cite{van-leunen} for points of style,
+with Lamport~\cite{latex} and Knuth~\cite{texbook} for formatting matters,
+and perhaps with {\em Scribe\/}~\cite{scribe} for compatibility details.
+And while you're at it, if you don't read the great little book by Strunk and
+White~\cite{strunk-and-white}, you should at least look at its
+entries in the database and the reference list
+to see how \BibTeX\ handles multiple names.
+
+To create a new style,
+it's best to start with an existing style that's close to yours,
+and then modify that.
+This is true even if you're simply updating an old style
+for \BibTeX\ version 0.99
+(I've updated four nonstandard styles,
+so I say this with some experience).
+If you want to insert into a new style
+some function you'd written for an old (version 0.98i) style,
+keep in mind that the order of the arguments to
+the assignment ({\tt :=}) function has been reversed.
+When you're finished with your style,
+you may want to try running it on the entire \hbox{\tt XAMPL.BIB} database
+to make sure it handles all the standard entry types.
+
+If you find any bugs in the standard styles,
+or if there are things you'd like to do
+with bibliography-style files but can't,
+please complain to Oren Patashnik.
+
+
+\subsection{General description}
+
+You write bibliography styles in a postfix stack language. It's
+not too hard to figure out how by looking at the standard-style documentation,
+but this description fills in a few details (it will fill in more
+details if there's a demand for it).
+
+Basically the style file is a program, written in an unnamed language, that
+tells \BibTeX\ how to format the entries that will go in the reference list
+(henceforth ``the entries'' will be ``the entry list''
+or simply ``the list''$\!$, context permitting).
+This programming language has ten commands, described in the next subsection.
+These commands manipulate the language's objects:
+constants, variables, functions, the stack, and the entry list.
+(Warning: The terminology in this documentation,
+chosen for ease of explanation, is slightly different from \BibTeX's.
+For example, this documentation's ``variables'' and ``functions''
+are both ``functions'' to \BibTeX.
+Keep this in mind when interpreting \BibTeX's error messages.)
+
+There are two types of functions: {\it built-in\/} ones that \BibTeX\ provides
+(these are described in Section~\ref{built-in-fns}), and ones you define
+using either the \hbox{\tt MACRO} or \hbox{\tt FUNCTION} command.
+
+Your most time-consuming task, as a style designer,
+will be creating or modifying functions
+using the \hbox{\tt FUNCTION} command
+(actually, becoming familiar with the references listed above will be
+more time consuming, but assume for the moment that that's done).
+
+Let's look at a sample function fragment.
+Suppose you have a string variable named \hbox{\tt label}
+and an integer variable named \hbox{\tt lab.width},
+and suppose you want to append the character `{\tt a}' to \hbox{\tt label}
+and to increment \hbox{\tt lab.width}:
+\begin{verbatim}
+ . . .
+ label "a" * 'label := % label := label * "a"
+ lab.width #1 + 'lab.width := % lab.width := lab.width + 1
+ . . .
+\end{verbatim}
+In the first line,
+\hbox{\tt label} pushes that variable's value onto the stack.
+Next, the {\tt "a"} pushes the string constant `{\tt a}' onto the stack.
+Then the built-in function {\tt *} pops the top two strings and
+pushes their concatenation.
+The \hbox{\tt 'label} pushes that variable's name onto the stack.
+And finally, the built-in function {\tt :=} pops
+the variable name and the concatenation and performs the assignment.
+\BibTeX\ treats the stuff following the {\tt \%} as a comment
+in the style file.
+The second line is similar except that it uses {\tt \#1},
+with no spaces intervening between the `{\tt \#}' and the `{\tt 1}'$\!$,
+to push this integer constant.
+
+The nonnull spacing here is arbitrary: multiple spaces, tabs, or newlines
+are equivalent to a single one (except that you're probably better off
+not having blank lines within commands, as explained shortly).
+
+For string constants, absolutely any printing character
+is legal between two consecutive double quotes, but \BibTeX\ here
+(and only here) treats upper- and lower-case equivalents as different.
+Furthermore, spacing {\em is\/} relevant within a string constant,
+and you mustn't split a string constant across lines
+(that is, the beginning and ending double quotes must be on the same line).
+
+Variable and function names may not begin with a numeral and
+may not contain any of the ten restricted characters
+on page~143 of the \LaTeX\ book,
+but may otherwise contain any printing characters.
+Also, \BibTeX\ considers upper- and lower-case equivalents to be the same.
+
+Integers and strings are the only value types for constants and variables
+(booleans are implemented simply as 0-or-1 integers).
+There are three kinds of variables:
+\begin{description}
+
+\item[global variables\hfill] These are either integer- or string-valued,
+declared using an \hbox{\tt INTEGERS} or \hbox{\tt STRINGS} command.
+
+\item[entry variables\hfill] These are either integer- or string-valued,
+declared using the \hbox{\tt ENTRY} command.
+Each has a value for each entry on the list
+(example: a variable \hbox{\tt label} might store
+the label string you'll use for the entry).
+
+\item[fields\hfill] These are string-valued, read-only variables
+that store the information from the database file;
+their values are set by the \hbox{\tt READ} command.
+As with entry variables, each has a value for each entry.
+\end{description}
+
+
+\subsection{Commands}
+
+There are ten style-file commands:
+Five (\hbox{\tt ENTRY}, \hbox{\tt FUNCTION}, \hbox{\tt INTEGERS},
+\hbox{\tt MACRO}, and \hbox{\tt STRINGS})
+declare and define variables and functions;
+one (\hbox{\tt READ}) reads in the database information;
+and four (\hbox{\tt EXECUTE}, \hbox{\tt ITERATE}, \hbox{\tt REVERSE},
+and \hbox{\tt SORT}) manipulate the entries and produce output.
+Although the command names appear here in upper case,
+\BibTeX\ ignores case differences.
+
+Some restrictions:
+There must be exactly one \hbox{\tt ENTRY} and one \hbox{\tt READ} command;
+the \hbox{\tt ENTRY} command, all \hbox{\tt MACRO} commands,
+and certain \hbox{\tt FUNCTION} commands
+(see next subsection's description of \hbox{\tt call.type\$})
+must precede the \hbox{\tt READ} command;
+and the \hbox{\tt READ} command must precede the four that
+manipulate the entries and produce output.
+
+Also it's best (but not essential) to leave at least one blank line
+between commands and to leave no blank lines within a command;
+this helps \BibTeX\ recover from any syntax errors you make.
+
+You must enclose each argument of every command in braces.
+Look at the standard-style documentation
+for syntactic issues not described in this section.
+Here are the ten commands:
+\begin{description}
+
+\item[\hbox{\tt ENTRY}\hfill]
+Declares the fields and entry variables.
+It has three arguments, each a (possibly empty) list of variable names.
+The three lists are of:
+fields, integer entry variables, and string entry variables.
+There is an additional field that \BibTeX\ automatically
+declares, \hbox{\tt crossref}, used for cross referencing.
+And there is an additional string entry variable automatically declared,
+\hbox{\tt sort.key\$}, used by the \hbox{\tt SORT} command.
+Each of these variables has a value for each entry on the list.
+
+\item[\hbox{\tt EXECUTE}\hfill]
+Executes a single function.
+It has one argument, the function name.
+
+\item[\hbox{\tt FUNCTION}\hfill]
+Defines a new function.
+It has two arguments; the first is the function's name and the
+second is its definition.
+You must define a function before using it;
+recursive functions are thus illegal.
+
+\item[\hbox{\tt INTEGERS}\hfill]
+Declares global integer variables.
+It has one argument, a list of variable names.
+There are two such automatically-declared variables,
+\hbox{\tt entry.max\$} and \hbox{\tt global.max\$},
+used for limiting the lengths of string variables.
+You may have any number of these commands, but a variable's declaration
+must precede its use.
+
+\item[\hbox{\tt ITERATE}\hfill]
+Executes a single function, once
+for each entry in the list, in the list's current order
+(initially the list is in citation order, but the \hbox{\tt SORT}
+command may change this).
+It has one argument, the function name.
+
+\item[\hbox{\tt MACRO}\hfill]
+Defines a string macro.
+It has two arguments; the first is the macro's name, which is treated like
+any other variable or function name,
+and the second is its definition, which must be double-quote-delimited.
+You must have one for each three-letter month abbreviation;
+in addition, you should have one for common journal names.
+The user's database may override any definition you define using this command.
+If you want to define a string the user can't touch,
+use the \hbox{\tt FUNCTION} command, which has a compatible syntax.
+
+\item[\hbox{\tt READ}\hfill]
+Dredges up from the database file
+the field values for each entry in the list.
+It has no arguments.
+If a database entry doesn't have a value for a field
+(and probably no database entry will have a value for every field),
+that field variable is marked as missing for the entry.
+
+\item[\hbox{\tt REVERSE}\hfill]
+Exactly the same as the
+\hbox{\tt ITERATE} command except that it executes the function
+on the entry list in reverse order.
+
+\item[\hbox{\tt SORT}\hfill]
+Sorts the entry list using
+the values of the string entry variable \hbox{\tt sort.key\$}.
+It has no arguments.
+
+\item[\hbox{\tt STRINGS}\hfill]
+Declares global string variables.
+It has one argument, a list of variable names.
+You may have any number of these commands, but a variable's declaration
+must precede its use.
+\end{description}
+
+
+\subsection{The built-in functions}
+\label{built-in-fns}
+
+Before we get to the built-in functions,
+a few words about some other built-in objects.
+There is one built-in string entry variable, \hbox{\tt sort.key\$},
+which the style program must set if the style is to do sorting.
+There is one built-in field, \hbox{\tt crossref},
+used for the cross referencing feature
+described in Section~4.
+And there are two built-in integer global variables,
+\hbox{\tt entry.max\$} and \hbox{\tt global.max\$},
+which are set by default to some internal \BibTeX\ constants;
+you should truncate strings to these lengths before
+you assign to string variables,
+so as to not generate any \BibTeX\ warning messages.
+
+There are currently 37 built-in functions.
+Every built-in function with a letter in its name ends with a `{\tt \$}'$\!$.
+In what follows, ``first''$\!$, ``second''$\!$,
+and so on refer to the order popped.
+A ``literal'' is an element on the stack, and it will be either
+an integer value, a string value, a variable or function name,
+or a special value denoting a missing field.
+If any popped literal has an incorrect type, \BibTeX\ complains and pushes
+the integer 0 or the null string, depending on whether the function
+was supposed to push an integer or string.
+\begin{description}
+
+\item[\hbox{\tt >}\hfill]
+Pops the top two (integer) literals,
+compares them, and pushes the integer 1 if the second is greater than
+the first, 0 otherwise.
+
+\item[\hbox{\tt <}\hfill]
+Analogous.
+
+\item[\hbox{\tt =}\hfill]
+Pops the top two (both integer or both string) literals,
+compares them,
+and pushes the integer 1 if they're equal, 0 otherwise.
+
+\item[\hbox{\tt +}\hfill]
+Pops the top two (integer) literals and pushes their sum.
+
+\item[\hbox{\tt -}\hfill]
+Pops the top two (integer) literals and pushes their difference
+(the first subtracted from the second).
+
+\item[\hbox{\tt *}\hfill]
+Pops the top two (string) literals,
+concatenates them (in reverse order, that is, the order in which
+pushed), and pushes the resulting string.
+
+\item[\hbox{\tt :=}\hfill]
+Pops the top two literals and assigns
+to the first (which must be a global or entry variable)
+the value of the second.
+
+\item[\hbox{\tt add.period\$}\hfill]
+Pops the top (string) literal,
+adds a `{\tt .}' to it if the last non`{\tt \}}' character
+isn't a `{\tt .}'$\!$, `{\tt ?}', or `{\tt !}'$\!$,
+and pushes this resulting string.
+
+\item[\hbox{\tt call.type\$}\hfill]
+Executes the function whose name is the entry type of an entry.
+For example if an entry is of type {\tt book}, this function executes
+the {\tt book} function.
+When given as an argument to the \hbox{\tt ITERATE} command,
+\hbox{\tt call.type\$} actually produces the output for the entries.
+For an entry with an unknown type,
+it executes the function \hbox{\tt default.type}.
+Thus you should define (before the \hbox{\tt READ} command) one function
+for each standard entry type as well as a \hbox{\tt default.type} function.
+
+\item[\hbox{\tt change.case\$}\hfill]
+Pops the top two (string) literals;
+it changes the case of the second according to the
+specifications of the first, as follows. (Note: The word `letters' in
+the next sentence refers only to those at brace-level~0, the top-most
+brace level; no other characters are changed, except perhaps for
+``special characters''$\!$, described in Section~4.)
+If the first literal is the
+string~`{\tt t}'$\!$, it converts to lower case all letters except the very
+first character in the string, which it leaves alone, and except the
+first character following any colon and then nonnull white space,
+which it also leaves alone; if it's the string~`{\tt l}'$\!$, it converts all
+letters to lower case; and if it's the string~`{\tt u}'$\!$, it converts all
+letters to upper case.
+It then pushes this resulting string. If either
+type is incorrect, it complains and pushes the null string; however,
+if both types are correct but the specification string (i.e., the
+first string) isn't one of the legal ones, it merely pushes the second
+back onto the stack, after complaining. (Another note: It ignores
+case differences in the specification string; for example, the strings
+{\tt t} and {\tt T} are equivalent for the purposes of this built-in
+function.)
+
+\item[\hbox{\tt chr.to.int\$}\hfill]
+Pops the top (string) literal,
+makes sure it's a single character, converts it to the
+corresponding ASCII integer, and pushes this integer.
+
+\item[\hbox{\tt cite\$}\hfill]
+Pushes the string that was the
+\hbox{\verb|\cite|}-command argument for this entry.
+
+\item[\hbox{\tt duplicate\$}\hfill]
+Pops the top literal from the stack and pushes two copies of it.
+
+\item[\hbox{\tt empty\$}\hfill]
+Pops the top literal and pushes
+the integer 1 if it's a missing field or a string having no
+non-white-space characters, 0 otherwise.
+
+\item[\hbox{\tt format.name\$}\hfill]
+Pops the top three literals
+(they are a string, an integer, and a string literal).
+The last string literal represents a name list (each name
+corresponding to a person), the integer literal specifies which name
+to pick from this list, and the first string literal specifies how to
+format this name, as explained in the next subsection.
+Finally, this function pushes the formatted name.
+
+\item[\hbox{\tt if\$}\hfill]
+Pops the top three literals (they
+are two function literals and an integer literal, in that order);
+if the integer is greater than 0, it executes the second literal,
+else it executes the first.
+
+\item[\hbox{\tt int.to.chr\$}\hfill]
+Pops the top (integer) literal,
+interpreted as the ASCII integer value of a single character,
+converts it to the corresponding single-character string, and pushes
+this string.
+
+\item[\hbox{\tt int.to.str\$}\hfill]
+Pops the top (integer) literal,
+converts it to its (unique) string equivalent, and pushes this string.
+
+\item[\hbox{\tt missing\$}\hfill]
+Pops the top literal and
+pushes the integer 1 if it's a missing field, 0~otherwise.
+
+\item[\hbox{\tt newline\$}\hfill]
+Writes onto the {\tt bbl} file
+what's accumulated in the output buffer.
+It writes a blank line if and only if the output buffer is empty.
+Since \hbox{\tt write\$} does reasonable line breaking, you should use
+this function only when you want a blank line or an explicit line break.
+
+\item[\hbox{\tt num.names\$}\hfill]
+Pops the top (string) literal
+and pushes the number of names the string represents---one plus
+the number of occurrences of the substring ``and'' (ignoring case differences)
+surrounded by nonnull white-space at the top brace level.
+
+\item[\hbox{\tt pop\$}\hfill]
+Pops the top of the stack but
+doesn't print it; this gets rid of an unwanted stack literal.
+
+\item[\hbox{\tt preamble\$}\hfill]
+Pushes onto the stack the concatenation of all the
+\hbox{\tt @PREAMBLE} strings read from the database files.
+
+\item[\hbox{\tt purify\$}\hfill]
+Pops the top (string) literal,
+removes nonalphanumeric characters except for white-space characters and
+hyphens and ties (these all get converted to a space), removes
+certain alphabetic characters contained in the control sequences
+associated with a ``special character''$\!$, and pushes the resulting string.
+
+\item[\hbox{\tt quote\$}\hfill]
+Pushes the string consisting of the double-quote character.
+
+\item[\hbox{\tt skip\$}\hfill]
+Is a no-op.
+
+\item[\hbox{\tt stack\$}\hfill]
+Pops and prints the whole stack;
+it's meant to be used for style designers while debugging.
+
+\item[\hbox{\tt substring\$}\hfill]
+Pops the top three literals
+(they are the two integers literals {\it len\/} and {\it start}, and a
+string literal, in that order).
+It pushes the substring of the (at most) {\it len\/} consecutive characters
+starting at the {\it start\/}th character (assuming 1-based indexing)
+if {\it start\/} is positive, and ending at the $-${\it start\/}th character
+from the end if {\it start\/} is negative
+(where the first character from the end is the last character).
+
+\item[\hbox{\tt swap\$}\hfill]
+Swaps the top two literals on the stack.
+
+\item[\hbox{\tt text.length\$}\hfill]
+Pops the top (string) literal,
+and pushes the number of text characters it contains, where an
+accented character (more precisely, a ``special character''$\!$,
+defined in Section~4)
+counts as a single text character, even if it's missing
+its matching right brace, and where braces don't count as
+text characters.
+
+\item[\hbox{\tt text.prefix\$}\hfill]
+Pops the top two literals
+(the integer literal {\it len\/} and a string literal, in that order).
+It pushes the substring of the (at most) {\it len\/} consecutive text
+characters starting from the beginning of the string. This function
+is similar to \hbox{\tt substring\$}, but this one considers
+a ``special character''$\!$, even if
+it's missing its matching right brace, to be a single text character
+(rather than however many ASCII characters it actually comprises),
+and this function doesn't consider braces to be text characters;
+furthermore, this function appends any needed matching right braces.
+
+\item[\hbox{\tt top\$}\hfill]
+Pops and prints the top of the stack on the terminal and log file.
+It's useful for debugging.
+
+\item[\hbox{\tt type\$}\hfill]
+Pushes the current entry's type (book, article, etc.),
+but pushes the null string
+if the type is either unknown or undefined.
+
+\item[\hbox{\tt warning\$}\hfill]
+Pops the top (string) literal
+and prints it following a warning message.
+This also increments a count of the number of warning messages issued.
+
+\item[\hbox{\tt while\$}\hfill]
+Pops the top two (function) literals,
+and keeps executing the second as long as the (integer)
+literal left on the stack by executing the first is greater than 0.
+
+\item[\hbox{\tt width\$}\hfill]
+Pops the top (string) literal
+and pushes the integer that represents its width in some relative units
+(currently, hundredths of a point, as specified by the June 1987 version
+of the $cmr10$ font; the only white-space character with nonzero width
+is the space).
+This function takes the literal literally;
+that is, it assumes each character in the string is to be printed as
+is, regardless of whether the character has a special meaning to \TeX,
+except that ``special characters'' (even without their right braces) are
+handled specially.
+This is meant to be used for comparing widths of label strings.
+
+\item[\hbox{\tt write\$}\hfill]
+Pops the top (string) literal
+and writes it on the output buffer (which will result in
+stuff being written onto the {\tt bbl} file when the buffer fills up).
+
+\end{description}
+
+Note that the built-in functions \hbox{\tt while\$} and \hbox{\tt if\$}
+require two function literals on the stack.
+You get them there either by immediately preceding the name of a function
+by a single quote, or, if you don't feel like defining a new function with
+the \hbox{\tt FUNCTION} command,
+by simply giving its definition (that is, giving what would be the second
+argument to the \hbox{\tt FUNCTION} command, including the surrounding braces).
+For example the following function fragment appends the character `{\tt a}'
+if the string variable named \hbox{\tt label} is nonnull:
+\begin{verbatim}
+ . . .
+ label "" =
+ 'skip$
+ { label "a" * 'label := }
+ if$
+ . . .
+\end{verbatim}
+A function whose name you quote needn't be built in
+like \hbox{\tt skip\$} above---it may, for example,
+be a field name or a function you've defined earlier.
+
+
+\subsection{Name formatting}
+
+What's in a name?
+Section~4 pretty much describes this.
+Each name consists of four parts: First, von, Last, and Jr;
+each consists of a list of name-tokens,
+and any list but Last's may be empty for a nonnull name.
+This subsection describes the format string you must supply to
+the built-in function \hbox{\tt format.name\$}.
+
+Let's look at an example of a very long name.
+Suppose a database entry~\cite{prime-number-theorem} has the field
+\begin{verbatim}
+ author = "Charles Louis Xavier Joseph de la Vall{\'e}e Poussin"
+\end{verbatim}
+and suppose you want this formatted ``last name comma initials''$\!$.
+If you use the format string
+\begin{verbatim}
+ "{vv~}{ll}{, jj}{, f}?"
+\end{verbatim}
+\BibTeX\ will produce
+\begin{verbatim}
+ de~la Vall{\'e}e~Poussin, C.~L. X.~J?
+\end{verbatim}
+as the formatted string.
+
+Let's look at this example in detail.
+There are four brace-level~1 {\em pieces\/} to this format string,
+one for each part of a name.
+If the corresponding part of a name isn't present (the Jr part for this name),
+everything in that piece is ignored.
+Anything at brace-level~0 is output verbatim
+(the presumed typo `{\tt ?}' for this name is at brace-level~0),
+but you probably won't use this feature much.
+
+Within each piece a double letter tells \BibTeX\ to use whole tokens, and
+a single letter, to abbreviate them (these letters must be at brace-level~1);
+everything else within the piece is used verbatim
+(well, almost everything---read on).
+The tie at the end of the von part (in \hbox{\verb|{vv~}|})
+is a discretionary tie---\BibTeX\ will output a tie at that point
+if it thinks there's a need for one;
+otherwise it will output a space.
+If you really, really, want a tie there,
+regardless of what \BibTeX\ thinks, use two of them
+(only one will be output); that is, use \hbox{\verb|{vv~~}|}.
+A tie is discretionary only if it's the last character of the piece;
+anywhere else it's treated as an ordinary character.
+
+\BibTeX\ puts default strings {\em between\/} tokens of a name part:
+For whole tokens it uses either a space or a tie,
+depending on which one it thinks is best,
+and for abbreviated tokens it uses a period followed by
+either a space or a tie.
+However it doesn't use this default string after the last token in a list;
+hence there's no period following the `J' for our example.
+You should have used
+\begin{verbatim}
+ "{vv~}{ll}{, jj}{, f.}"
+\end{verbatim}
+to get \BibTeX\ to produce the same formatted string but with the question
+mark replaced by a period.
+Note that the period should go inside the First-name piece,
+rather than where the question mark was, in case a name has no First part.
+
+If you want to override \BibTeX's default between-token strings, you
+must explicitly specify a string.
+For example suppose you want a label to contain the first letter from each
+token in the von and Last parts, with no spaces;
+you should use the format string
+\begin{verbatim}
+ "{v{}}{l{}}"
+\end{verbatim}
+so that \BibTeX\ will produce `{\tt dlVP}' as the formatted string.
+You must give a string for each piece whose default you want overridden
+(the example here uses the null string for both pieces), and this string
+must immediately follow either the single or double letter for the piece.
+You may not have any other letters at brace-level~1 in the format string.
+
+\bibliography{btxdoc}
+\bibliographystyle{plain}
+\end{document}
diff --git a/biblio/bibtex/base/ieeetr.bst b/biblio/bibtex/base/ieeetr.bst
new file mode 100644
index 0000000000..b8cacb51f6
--- /dev/null
+++ b/biblio/bibtex/base/ieeetr.bst
@@ -0,0 +1,976 @@
+% Copyright (C) 1985, 1988, 2010 Howard Trickey and Oren Patashnik.
+% Unlimited copying and redistribution of this file are permitted as long as
+% it is unmodified. Modifications (and redistribution of modified versions)
+% are also permitted, but only if the resulting file is renamed.
+%
+% IEEE Transactions bibliography style (8-Dec-10 version)
+% numeric labels, order-of-reference, IEEE abbreviations,
+% quotes around article titles, commas separate all fields
+% except after book titles and before "notes". Otherwise,
+% much like the "plain" family, from which this is adapted.
+%
+% History
+% 9/30/85 (HWT) Original version, by Howard Trickey.
+% 1/29/88 (OP&HWT) Updated for BibTeX version 0.99a, Oren Patashnik;
+% THIS `ieeetr' VERSION DOES NOT WORK WITH BIBTEX 0.98i.
+% 12/ 8/10 (OP&HWT) Clarify license.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.quote after.sentence
+ after.quoted.block after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.quote :=
+ #3 'after.sentence :=
+ #4 'after.quoted.block :=
+ #5 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.quote =
+ { " " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { output.state after.quoted.block =
+ { write$
+ newline$
+ "\newblock " write$
+ }
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {blank.sep}
+{ after.quote 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ output.state after.quoted.block =
+ 'skip$
+ 'add.period$
+ if$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { output.state after.quote =
+ { after.quoted.block 'output.state := }
+ { after.block 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " {\em et~al.}" * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", eds." * }
+ { ", ed." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { "``" title "t" change.case$ * ",''" * }
+ if$
+}
+
+FUNCTION {format.title.p}
+{ title empty$
+ { "" }
+ { "``" title "t" change.case$ * ".''" * }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "vol.~" volume *
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "no.~" }
+ { "No.~" }
+ if$
+ number *
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { edition "l" change.case$ "~ed." * }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pp.~" pages n.dashify * }
+ { "p.~" pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.volume}
+{ volume empty$
+ { "" }
+ { "vol.~" volume * }
+ if$
+}
+
+FUNCTION {format.number}
+{ number empty$
+ { "" }
+ { "no.~" number * }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "ch.~" chapter * }
+ { type "l" change.case$ chapter tie.or.space.connect }
+ if$
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { "in " booktitle emphasize *
+ editor empty$
+ 'skip$
+ { " (" * format.editors * ")" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ output.state after.block =
+ { type "t" change.case$ }
+ { type "l" change.case$ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Tech. Rep." }
+ 'type
+ if$
+ number empty$
+ { "l" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.addr.pub}
+{ publisher empty$
+ { "" }
+ { address empty$
+ { "" }
+ { address ": " * }
+ if$
+ publisher *
+ }
+ if$
+}
+
+FUNCTION {format.paddress}
+{ address empty$
+ { "" }
+ { "(" address * ")" * }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "in {\em " journal * "\/}" * }
+ if$
+ }
+ { "in " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " {\em et~al.}" * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " {\em et~al.}" * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Vol.~" volume *
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "in {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "in " key * }
+ if$
+ }
+ { "in " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ blank.sep
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.volume output
+ month empty$
+ { format.number output }
+ 'skip$
+ if$
+ format.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ format.addr.pub "publisher" output.check
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ title empty$
+ { "empty title in " cite$ * warning$
+ howpublished new.sentence.checka
+ }
+ { howpublished empty$ not
+ address empty$ month empty$ year empty$ and and
+ or
+ { format.title.p output.nonnull }
+ { format.title output.nonnull }
+ if$
+ blank.sep
+ }
+ if$
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ format.addr.pub "publisher" output.check
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ blank.sep
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ format.addr.pub "publisher" output.check
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ blank.sep
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.paddress output
+ format.pages output
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ blank.sep
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title empty$
+ { howpublished new.sentence.checka }
+ { howpublished empty$ not
+ month empty$ year empty$ and
+ or
+ { format.title.p output.nonnull }
+ { format.title output.nonnull }
+ if$
+ blank.sep
+ }
+ if$
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ format.paddress output
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ blank.sep
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title.p "title" output.check
+ blank.sep
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications ACM"}
+
+MACRO {ibmjrd} {"IBM J. Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems~J."}
+
+MACRO {ieeese} {"IEEE Trans. Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Trans. Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Computer-Aided Design"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM J. Computing"}
+
+MACRO {tocs} {"ACM Trans. Computer Systems"}
+
+MACRO {tods} {"ACM Trans. Database Systems"}
+
+MACRO {tog} {"ACM Trans. Graphics"}
+
+MACRO {toms} {"ACM Trans. Mathematical Software"}
+
+MACRO {toois} {"ACM Trans. Office Information Systems"}
+
+MACRO {toplas} {"ACM Trans. Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/base/plain.bst b/biblio/bibtex/base/plain.bst
new file mode 100644
index 0000000000..7adf4bb0a3
--- /dev/null
+++ b/biblio/bibtex/base/plain.bst
@@ -0,0 +1,1097 @@
+% BibTeX standard bibliography style `plain'
+ % Version 0.99b (8-Dec-10 release) for BibTeX versions 0.99a or later.
+ % Copyright (C) 1984, 1985, 1988, 2010 Howard Trickey and Oren Patashnik.
+ % Unlimited copying and redistribution of this file are permitted as long as
+ % it is unmodified. Modifications (and redistribution of modified versions)
+ % are also permitted, but only if the resulting file is renamed to something
+ % besides btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/base/siam.bst b/biblio/bibtex/base/siam.bst
new file mode 100644
index 0000000000..ce88b41e41
--- /dev/null
+++ b/biblio/bibtex/base/siam.bst
@@ -0,0 +1,1041 @@
+% Copyright (C) 1986, 1987, 1988, 2010 Howard Trickey and Oren Patashnik.
+% Unlimited copying and redistribution of this file are permitted as long as
+% it is unmodified. Modifications (and redistribution of modified versions)
+% are also permitted, but only if the resulting file is renamed.
+%
+% SIAM bibliography style (8-Dec-10 version)
+% numeric labels, alphabetic order, Mathematical Reviews abbreviations,
+% names in \sc, titles in italics, book titles mixed upper-lower and article
+% titles lowercase, commas separate all fields except before "notes".
+%
+% History
+% 1/30/86 (HWT) Original version, by Howard Trickey.
+% 6/15/87 (HWT) Fix format.editors---Martin Costabel.
+% 1/29/88 (OP&HWT) Updated for BibTeX version 0.99a, Oren Patashnik;
+% THIS `siam' VERSION DOES NOT WORK WITH BIBTEX 0.98i.
+% 12/ 8/10 (OP&HWT) Clarify license.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ 'write$
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {scapify}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\sc " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+STRINGS { last.authors }
+
+FUNCTION {init.last.authors}
+{ "" 'last.authors :=
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" 'last.authors :=
+ ""
+ }
+ { author last.authors =
+ { "\leavevmode\vrule height 2pt depth -1.6pt width 23pt" }
+ { author format.names scapify }
+ if$
+ author 'last.authors :=
+ }
+ if$
+}
+
+FUNCTION {format.organization}
+{ organization empty$
+ { "" 'last.authors :=
+ ""
+ }
+ { organization last.authors =
+ { "\leavevmode\vrule height 2pt depth -1.6pt width 23pt" }
+ { organization scapify }
+ if$
+ organization 'last.authors :=
+ }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" 'last.authors :=
+ ""
+ }
+ { editor last.authors =
+ { "\leavevmode\vrule height 2pt depth -1.6pt width 23pt" }
+ { editor format.names scapify }
+ if$
+ editor num.names$ #1 >
+ { ", eds." * }
+ { ", ed." * }
+ if$
+ editor 'last.authors :=
+ }
+ if$
+}
+
+FUNCTION {format.ineditors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", eds." * }
+ { ", ed." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ emphasize }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "vol.~" volume *
+ series empty$
+ 'skip$
+ { " of " * series * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { "no.~" number *
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { edition "l" change.case$ "~ed." * }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pp.~" pages n.dashify * }
+ { "p.~" pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.year}
+{ volume field.or.null
+ year empty$
+ { "empty year in " cite$ * warning$ }
+ { " (" year * ")" * * }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "ch.~" chapter * }
+ { type "l" change.case$ chapter tie.or.space.connect }
+ if$
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "in " booktitle * }
+ { "in " booktitle * ", " * format.ineditors * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "l" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Tech. Rep." }
+ 'type
+ if$
+ number empty$
+ { "l" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "in " journal * }
+ if$
+ }
+ { "in " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "in "
+ }
+ { "vol.~" volume *
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { series * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "in " booktitle * }
+ if$
+ }
+ { "in " key * }
+ if$
+ }
+ { "in " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ crossref missing$
+ { journal "journal" output.check
+ format.vol.year output
+ }
+ { format.article.crossref output.nonnull }
+ if$
+ format.pages output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ publisher "publisher" output.check
+ address output
+ }
+ { format.book.crossref output.nonnull }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ format.title "title" output.check
+ howpublished new.block.checka
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ publisher "publisher" output.check
+ address output
+ }
+ { format.book.crossref output.nonnull }
+ if$
+ format.edition output
+ format.date "year" output.check
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull }
+ if$
+ format.chapter.pages output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull }
+ if$
+ format.pages output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { format.organization output }
+ { format.authors output.nonnull }
+ if$
+ format.btitle "title" output.check
+ author empty$
+ 'skip$
+ { organization output }
+ if$
+ address output
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ format.btitle "title" output.check
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { format.organization output }
+ { format.editors output.nonnull }
+ if$
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Comput. Surveys"}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Comm. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~Assoc. Comput. Mach."}
+
+MACRO {jcss} {"J.~Comput. System Sci."}
+
+MACRO {scp} {"Sci. Comput. Programming"}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Gr."}
+
+MACRO {toms} {"ACM Trans. Math. Softw."}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+EXECUTE {init.last.authors}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/base/unsrt.bst b/biblio/bibtex/base/unsrt.bst
new file mode 100644
index 0000000000..4be323eea0
--- /dev/null
+++ b/biblio/bibtex/base/unsrt.bst
@@ -0,0 +1,951 @@
+% BibTeX standard bibliography style `unsrt'
+ % Version 0.99b (8-Dec-10 release) for BibTeX versions 0.99a or later.
+ % Copyright (C) 1984, 1985, 1988, 2010 Howard Trickey and Oren Patashnik.
+ % Unlimited copying and redistribution of this file are permitted as long as
+ % it is unmodified. Modifications (and redistribution of modified versions)
+ % are also permitted, but only if the resulting file is renamed to something
+ % besides btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/base/xampl.bib b/biblio/bibtex/base/xampl.bib
new file mode 100644
index 0000000000..85ee5cb703
--- /dev/null
+++ b/biblio/bibtex/base/xampl.bib
@@ -0,0 +1,361 @@
+% Copyright (C) 1988, 2010 Oren Patashnik.
+% Unlimited copying and redistribution of this file are permitted if it
+% is unmodified. Modifications (and their redistribution) are also
+% permitted, as long as the resulting file is renamed.
+
+@preamble{ "\newcommand{\noopsort}[1]{} "
+ # "\newcommand{\printfirst}[2]{#1} "
+ # "\newcommand{\singleletter}[1]{#1} "
+ # "\newcommand{\switchargs}[2]{#2#1} " }
+
+@ARTICLE{article-minimal,
+ author = {L[eslie] A. Aamport},
+ title = {The Gnats and Gnus Document Preparation System},
+ journal = {\mbox{G-Animal's} Journal},
+ year = 1986,
+}
+
+@ARTICLE{article-full,
+ author = {L[eslie] A. Aamport},
+ title = {The Gnats and Gnus Document Preparation System},
+ journal = {\mbox{G-Animal's} Journal},
+ year = 1986,
+ volume = 41,
+ number = 7,
+ pages = "73+",
+ month = jul,
+ note = "This is a full ARTICLE entry",
+}
+
+The KEY field is here to override the KEY field in the journal being
+cross referenced (so is the NOTE field, in addition to its imparting
+information).
+
+@ARTICLE{article-crossref,
+ crossref = {WHOLE-JOURNAL},
+ key = "",
+ author = {L[eslie] A. Aamport},
+ title = {The Gnats and Gnus Document Preparation System},
+ pages = "73+",
+ note = "This is a cross-referencing ARTICLE entry",
+}
+
+@ARTICLE{whole-journal,
+ key = "GAJ",
+ journal = {\mbox{G-Animal's} Journal},
+ year = 1986,
+ volume = 41,
+ number = 7,
+ month = jul,
+ note = {The entire issue is devoted to gnats and gnus
+ (this entry is a cross-referenced ARTICLE (journal))},
+}
+
+@INBOOK{inbook-minimal,
+ author = "Donald E. Knuth",
+ title = "Fundamental Algorithms",
+ publisher = "Addison-Wesley",
+ year = "{\noopsort{1973b}}1973",
+ chapter = "1.2",
+}
+
+@INBOOK{inbook-full,
+ author = "Donald E. Knuth",
+ title = "Fundamental Algorithms",
+ volume = 1,
+ series = "The Art of Computer Programming",
+ publisher = "Addison-Wesley",
+ address = "Reading, Massachusetts",
+ edition = "Second",
+ month = "10~" # jan,
+ year = "{\noopsort{1973b}}1973",
+ type = "Section",
+ chapter = "1.2",
+ pages = "10--119",
+ note = "This is a full INBOOK entry",
+}
+
+@INBOOK{inbook-crossref,
+ crossref = "whole-set",
+ title = "Fundamental Algorithms",
+ volume = 1,
+ series = "The Art of Computer Programming",
+ edition = "Second",
+ year = "{\noopsort{1973b}}1973",
+ type = "Section",
+ chapter = "1.2",
+ note = "This is a cross-referencing INBOOK entry",
+}
+
+@BOOK{book-minimal,
+ author = "Donald E. Knuth",
+ title = "Seminumerical Algorithms",
+ publisher = "Addison-Wesley",
+ year = "{\noopsort{1973c}}1981",
+}
+
+@BOOK{book-full,
+ author = "Donald E. Knuth",
+ title = "Seminumerical Algorithms",
+ volume = 2,
+ series = "The Art of Computer Programming",
+ publisher = "Addison-Wesley",
+ address = "Reading, Massachusetts",
+ edition = "Second",
+ month = "10~" # jan,
+ year = "{\noopsort{1973c}}1981",
+ note = "This is a full BOOK entry",
+}
+
+@BOOK{book-crossref,
+ crossref = "whole-set",
+ title = "Seminumerical Algorithms",
+ volume = 2,
+ series = "The Art of Computer Programming",
+ edition = "Second",
+ year = "{\noopsort{1973c}}1981",
+ note = "This is a cross-referencing BOOK entry",
+}
+
+@BOOK{whole-set,
+ author = "Donald E. Knuth",
+ publisher = "Addison-Wesley",
+ title = "The Art of Computer Programming",
+ series = "Four volumes",
+ year = "{\noopsort{1973a}}{\switchargs{--90}{1968}}",
+ note = "Seven volumes planned (this is a cross-referenced set of BOOKs)",
+}
+
+@BOOKLET{booklet-minimal,
+ key = "Kn{\printfirst{v}{1987}}",
+ title = "The Programming of Computer Art",
+}
+
+@BOOKLET{booklet-full,
+ author = "Jill C. Knvth",
+ title = "The Programming of Computer Art",
+ howpublished = "Vernier Art Center",
+ address = "Stanford, California",
+ month = feb,
+ year = 1988,
+ note = "This is a full BOOKLET entry",
+}
+
+@INCOLLECTION{incollection-minimal,
+ author = "Daniel D. Lincoll",
+ title = "Semigroups of Recurrences",
+ booktitle = "High Speed Computer and Algorithm Organization",
+ publisher = "Academic Press",
+ year = 1977,
+}
+
+@INCOLLECTION{incollection-full,
+ author = "Daniel D. Lincoll",
+ title = "Semigroups of Recurrences",
+ editor = "David J. Lipcoll and D. H. Lawrie and A. H. Sameh",
+ booktitle = "High Speed Computer and Algorithm Organization",
+ number = 23,
+ series = "Fast Computers",
+ chapter = 3,
+ type = "Part",
+ pages = "179--183",
+ publisher = "Academic Press",
+ address = "New York",
+ edition = "Third",
+ month = sep,
+ year = 1977,
+ note = "This is a full INCOLLECTION entry",
+}
+
+@INCOLLECTION{incollection-crossref,
+ crossref = "whole-collection",
+ author = "Daniel D. Lincoll",
+ title = "Semigroups of Recurrences",
+ pages = "179--183",
+ note = "This is a cross-referencing INCOLLECTION entry",
+}
+
+@BOOK{whole-collection,
+ editor = "David J. Lipcoll and D. H. Lawrie and A. H. Sameh",
+ title = "High Speed Computer and Algorithm Organization",
+ booktitle = "High Speed Computer and Algorithm Organization",
+ number = 23,
+ series = "Fast Computers",
+ publisher = "Academic Press",
+ address = "New York",
+ edition = "Third",
+ month = sep,
+ year = 1977,
+ note = "This is a cross-referenced BOOK (collection) entry",
+}
+
+@MANUAL{manual-minimal,
+ key = "Manmaker",
+ title = "The Definitive Computer Manual",
+}
+
+@MANUAL{manual-full,
+ author = "Larry Manmaker",
+ title = "The Definitive Computer Manual",
+ organization = "Chips-R-Us",
+ address = "Silicon Valley",
+ edition = "Silver",
+ month = apr # "-" # may,
+ year = 1986,
+ note = "This is a full MANUAL entry",
+}
+
+@MASTERSTHESIS{mastersthesis-minimal,
+ author = "{\'{E}}douard Masterly",
+ title = "Mastering Thesis Writing",
+ school = "Stanford University",
+ year = 1988,
+}
+
+@MASTERSTHESIS{mastersthesis-full,
+ author = "{\'{E}}douard Masterly",
+ title = "Mastering Thesis Writing",
+ school = "Stanford University",
+ type = "Master's project",
+ address = "English Department",
+ month = jun # "-" # aug,
+ year = 1988,
+ note = "This is a full MASTERSTHESIS entry",
+}
+
+@MISC{misc-minimal,
+ key = "Missilany",
+ note = "This is a minimal MISC entry",
+}
+
+@MISC{misc-full,
+ author = "Joe-Bob Missilany",
+ title = "Handing out random pamphlets in airports",
+ howpublished = "Handed out at O'Hare",
+ month = oct,
+ year = 1984,
+ note = "This is a full MISC entry",
+}
+
+@STRING{STOC-key = "OX{\singleletter{stoc}}"}
+
+@STRING{ACM = "The OX Association for Computing Machinery"}
+
+@STRING{STOC = " Symposium on the Theory of Computing"}
+
+@INPROCEEDINGS{inproceedings-minimal,
+ author = "Alfred V. Oaho and Jeffrey D. Ullman and Mihalis Yannakakis",
+ title = "On Notions of Information Transfer in {VLSI} Circuits",
+ booktitle = "Proc. Fifteenth Annual ACM" # STOC,
+ year = 1983,
+}
+
+@INPROCEEDINGS{inproceedings-full,
+ author = "Alfred V. Oaho and Jeffrey D. Ullman and Mihalis Yannakakis",
+ title = "On Notions of Information Transfer in {VLSI} Circuits",
+ editor = "Wizard V. Oz and Mihalis Yannakakis",
+ booktitle = "Proc. Fifteenth Annual ACM" # STOC,
+ number = 17,
+ series = "All ACM Conferences",
+ pages = "133--139",
+ month = mar,
+ year = 1983,
+ address = "Boston",
+ organization = ACM,
+ publisher = "Academic Press",
+ note = "This is a full INPROCEDINGS entry",
+}
+
+@INPROCEEDINGS{inproceedings-crossref,
+ crossref = "whole-proceedings",
+ author = "Alfred V. Oaho and Jeffrey D. Ullman and Mihalis Yannakakis",
+ title = "On Notions of Information Transfer in {VLSI} Circuits",
+ organization = "",
+ pages = "133--139",
+ note = "This is a cross-referencing INPROCEEDINGS entry",
+}
+
+@PROCEEDINGS{proceedings-minimal,
+ key = STOC-key,
+ title = "Proc. Fifteenth Annual" # STOC,
+ year = 1983,
+}
+
+@PROCEEDINGS{proceedings-full,
+ editor = "Wizard V. Oz and Mihalis Yannakakis",
+ title = "Proc. Fifteenth Annual" # STOC,
+ number = 17,
+ series = "All ACM Conferences",
+ month = mar,
+ year = 1983,
+ address = "Boston",
+ organization = ACM,
+ publisher = "Academic Press",
+ note = "This is a full PROCEEDINGS entry",
+}
+
+@PROCEEDINGS{whole-proceedings,
+ key = STOC-key,
+ organization = ACM,
+ title = "Proc. Fifteenth Annual" # STOC,
+ address = "Boston",
+ year = 1983,
+ booktitle = "Proc. Fifteenth Annual ACM" # STOC,
+ note = "This is a cross-referenced PROCEEDINGS",
+}
+
+@PHDTHESIS{phdthesis-minimal,
+ author = "F. Phidias Phony-Baloney",
+ title = "Fighting Fire with Fire: Festooning {F}rench Phrases",
+ school = "Fanstord University",
+ year = 1988,
+}
+
+@PHDTHESIS{phdthesis-full,
+ author = "F. Phidias Phony-Baloney",
+ title = "Fighting Fire with Fire: Festooning {F}rench Phrases",
+ school = "Fanstord University",
+ type = "{PhD} Dissertation",
+ address = "Department of French",
+ month = jun # "-" # aug,
+ year = 1988,
+ note = "This is a full PHDTHESIS entry",
+}
+
+@TECHREPORT{techreport-minimal,
+ author = "Tom Terrific",
+ title = "An {$O(n \log n / \! \log\log n)$} Sorting Algorithm",
+ institution = "Fanstord University",
+ year = 1988,
+}
+
+@TECHREPORT{techreport-full,
+ author = "Tom T{\'{e}}rrific",
+ title = "An {$O(n \log n / \! \log\log n)$} Sorting Algorithm",
+ institution = "Fanstord University",
+ type = "Wishful Research Result",
+ number = "7",
+ address = "Computer Science Department, Fanstord, California",
+ month = oct,
+ year = 1988,
+ note = "This is a full TECHREPORT entry",
+}
+
+@UNPUBLISHED{unpublished-minimal,
+ author = "Ulrich {\"{U}}nderwood and Ned {\~N}et and Paul {\={P}}ot",
+ title = "Lower Bounds for Wishful Research Results",
+ note = "Talk at Fanstord University (this is a minimal UNPUBLISHED entry)",
+}
+
+@UNPUBLISHED{unpublished-full,
+ author = "Ulrich {\"{U}}nderwood and Ned {\~N}et and Paul {\={P}}ot",
+ title = "Lower Bounds for Wishful Research Results",
+ month = nov # ", " # dec,
+ year = 1988,
+ note = "Talk at Fanstord University (this is a full UNPUBLISHED entry)",
+}
+
+@MISC{random-note-crossref,
+ key = {Volume-2},
+ note = "Volume~2 is listed under Knuth \cite{book-full}"
+}
diff --git a/biblio/bibtex/contrib/IEEEtran b/biblio/bibtex/contrib/IEEEtran
new file mode 120000
index 0000000000..55908cd614
--- /dev/null
+++ b/biblio/bibtex/contrib/IEEEtran
@@ -0,0 +1 @@
+../../../macros/latex/contrib/IEEEtran/bibtex \ No newline at end of file
diff --git a/biblio/bibtex/contrib/abstyles-babel/README.2 b/biblio/bibtex/contrib/abstyles-babel/README.2
new file mode 100644
index 0000000000..122819ba5e
--- /dev/null
+++ b/biblio/bibtex/contrib/abstyles-babel/README.2
@@ -0,0 +1,17 @@
+
+ March 26, 1996.
+
+These files have been touched for working with Johannes L. Braams'
+babel system.
+
+The original distribution of these files are in
+
+ CTAN:/tex-archive/biblio/bibtex/contrib/abstyles
+
+where CTAN means ftp://ftp.dante.de, ftp://ftp.tex.ac.uk or
+ftp://ftp.shsu.edu
+
+Greetings,
+
+ Tom'as Bautista <bautista@cma.ulpgc.es>
+
diff --git a/biblio/bibtex/contrib/abstyles-babel/aabbrv.bst b/biblio/bibtex/contrib/abstyles-babel/aabbrv.bst
new file mode 100644
index 0000000000..802ec8ba5f
--- /dev/null
+++ b/biblio/bibtex/contrib/abstyles-babel/aabbrv.bst
@@ -0,0 +1,1062 @@
+% BibTeX bibliography style `AABBRV'
+ENTRY
+{ address
+author
+booktitle
+chapter
+edition
+editor
+howpublished
+institution
+journal
+key
+month
+note
+number
+organization
+pages
+publisher
+school
+series
+title
+type
+volume
+year
+}
+{}
+{ label }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block
+continue.sentence }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+#1 'mid.sentence :=
+#2 'after.sentence :=
+#3 'after.block :=
+#4 'continue.sentence :=
+}
+STRINGS { s t }
+FUNCTION {output.nonnull}
+{ 's :=
+output.state continue.sentence =
+{ " " * write$ }
+{ output.state mid.sentence =
+{ ", " * write$ }
+{ output.state after.block =
+{ add.period$ write$
+newline$
+"\newblock " write$
+}
+{ output.state before.all =
+'write$
+{ add.period$ " " * write$ }
+if$
+}
+if$
+}
+if$
+continue.sentence 'output.state :=
+}
+if$
+s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+'pop$
+'output.nonnull
+if$
+}
+FUNCTION {output.check}
+{ 't :=
+duplicate$ empty$
+{ pop$ "empty " t * " in " * cite$ * warning$ }
+'output.nonnull
+if$
+}
+FUNCTION {output.bibitem}
+{ newline$
+"\bibitem{" write$
+cite$ write$
+"}" write$
+newline$
+""
+before.all 'output.state :=
+}
+FUNCTION {fin.entry}
+{ add.period$
+write$
+newline$
+}
+FUNCTION {new.block}
+{ output.state before.all =
+'skip$
+{ after.block 'output.state := }
+if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+'skip$
+{ output.state before.all =
+'skip$
+{ after.sentence 'output.state := }
+if$
+}
+if$
+}
+FUNCTION {new.clause}
+{ output.state after.sentence =
+'skip$
+{ output.state after.block =
+'skip$
+{ output.state before.all =
+'skip$
+{ mid.sentence 'output.state := }
+if$
+}
+if$
+}
+if$
+}
+FUNCTION {not}
+{ { #0 }
+{ #1 }
+if$
+}
+FUNCTION {and}
+{ 'skip$
+{ pop$ #0 }
+if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+'skip$
+if$
+}
+FUNCTION {new.block.checka}
+{ empty$
+'skip$
+'new.block
+if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.block
+if$
+}
+FUNCTION {new.sentence.checka}
+{ empty$
+'skip$
+'new.sentence
+if$
+}
+FUNCTION {new.sentence.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.sentence
+if$
+}
+FUNCTION {new.clause.checka}
+{ empty$
+'skip$
+'new.clause
+if$
+}
+FUNCTION {new.clause.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.clause
+if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+{ pop$ "" }
+'skip$
+if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{2}{" swap$ * "}" * }
+if$
+}
+FUNCTION {capitalize}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{0}{" swap$ * "}" * }
+if$
+}
+FUNCTION {boldface}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{3}{" swap$ * "}" * }
+if$
+}
+FUNCTION {quote}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{1}{" swap$ * "}" * }
+if$
+}
+FUNCTION {parentheses}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{5}{" swap$ * "}" * }
+if$
+}
+INTEGERS { nameptr namesleft numnames }
+FUNCTION {format.names}
+{ 's :=
+#1 'nameptr :=
+s num.names$ 'numnames :=
+numnames 'namesleft :=
+{ namesleft #0 > }
+{ s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+nameptr #1 >
+{ namesleft #1 >
+{ ", " * t * }
+{ numnames #2 >
+{ "\abphrase{1}" * }
+'skip$
+if$
+t "others" =
+{ "\abphrase{2}" * }
+{ "\abphrase{0}" * t * }
+if$
+}
+if$
+}
+'t
+if$
+nameptr #1 + 'nameptr :=
+namesleft #1 - 'namesleft :=
+}
+while$
+}
+FUNCTION {format.authors}
+{ author empty$
+{ "" }
+{ author format.names capitalize }
+if$
+}
+FUNCTION {format.editors}
+{ editor empty$
+{ "" }
+{ editor format.names capitalize
+editor num.names$ #1 >
+{ "\abphrase{3}" * }
+{ "\abphrase{4}" * }
+if$
+}
+if$
+}
+FUNCTION {format.title}
+{ title empty$
+{ "" }
+{ title "t" change.case$ }
+if$
+}
+FUNCTION {n.dashify}
+{ 't :=
+""
+{ t empty$ not }
+{ t #1 #1 substring$ "-" =
+{ t #1 #2 substring$ "--" = not
+{ "--" *
+t #2 global.max$ substring$ 't :=
+}
+{ { t #1 #1 substring$ "-" = }
+{ "-" *
+t #2 global.max$ substring$ 't :=
+}
+while$
+}
+if$
+}
+{ t #1 #1 substring$ *
+t #2 global.max$ substring$ 't :=
+}
+if$
+}
+while$
+}
+FUNCTION {format.date}
+{ year empty$
+{ month empty$
+{ "" }
+{ "there's a month but no year in " cite$ * warning$
+month parentheses
+}
+if$
+}
+{ month empty$
+{ year parentheses }
+{ month " " * year * parentheses }
+if$
+}
+if$
+}
+FUNCTION {format.btitle}
+{ title quote
+}
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+{ "~" }
+{ " " }
+if$
+swap$ * *
+}
+FUNCTION {either.or.check}
+{ empty$
+'pop$
+{ "can't use both " swap$ * " fields in " * cite$ * warning$ }
+if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+{ "" }
+{ "\abphrase{8}" volume tie.or.space.connect
+series empty$
+'skip$
+{ "\abphrase{5}" * series quote * }
+if$
+"volume and number" number either.or.check
+}
+if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+{ number empty$
+{ series field.or.null }
+{ output.state mid.sentence = output.state continue.sentence = or
+{ "\abphrase{10}" }
+{ "\abphrase{11}" }
+if$
+number tie.or.space.connect
+series empty$
+{ "there's a number but no series in " cite$ * warning$ }
+{ "\abphrase{6}" * series * }
+if$
+}
+if$
+}
+{ "" }
+if$
+}
+FUNCTION {format.edition}
+{ edition empty$
+{ "" }
+{ output.state mid.sentence = output.state continue.sentence = or
+{ edition "l" change.case$ "\abphrase{12}" * }
+{ edition "t" change.case$ "\abphrase{12}" * }
+if$
+}
+if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+#0 'multiresult :=
+{ multiresult not
+t empty$ not
+and
+}
+{ t #1 #1 substring$
+duplicate$ "-" =
+swap$ duplicate$ "," =
+swap$ "+" =
+or or
+{ #1 'multiresult := }
+{ t #2 global.max$ substring$ 't := }
+if$
+}
+while$
+multiresult
+}
+FUNCTION {format.pages}
+{ pages empty$
+{ "" }
+{ pages multi.page.check
+{ "\abphrase{13}" pages n.dashify tie.or.space.connect }
+{ "\abphrase{14}" pages tie.or.space.connect }
+if$
+}
+if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null boldface
+number empty$
+'skip$
+{ "\abtype{4}{" number * "}" * *
+volume empty$
+{ "there's a number but no volume in " cite$ * warning$ }
+'skip$
+if$
+}
+if$
+pages empty$
+'skip$
+{ duplicate$ empty$
+{ pop$ format.pages }
+{ ", " * pages n.dashify * }
+if$
+}
+if$
+}
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+'format.pages
+{ type empty$
+{ "\abphrase{15}" }
+{ type "l" change.case$ }
+if$
+chapter tie.or.space.connect
+pages empty$
+'skip$
+{ ", " * format.pages * }
+if$
+}
+if$
+}
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+{ "" }
+{ editor empty$
+{ "\abphrase{7}" booktitle quote * }
+{ "\abphrase{7}" format.editors * ", " * booktitle quote * }
+if$
+}
+if$
+}
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+month empty$ year empty$ note empty$
+and and and and and
+key empty$ not and
+{ "all relevant fields are empty in " cite$ * warning$ }
+'skip$
+if$
+}
+FUNCTION {format.thesis.type}
+{ type empty$
+'skip$
+{ pop$
+type "t" change.case$
+}
+if$
+}
+FUNCTION {format.tr.number}
+{ type empty$
+{ "\abphrase{16}" }
+'type
+if$
+number empty$
+{ "t" change.case$ }
+{ number tie.or.space.connect }
+if$
+}
+FUNCTION {format.article.crossref}
+{ key empty$
+{ journal empty$
+{ "need key or journal for " cite$ * " to crossref " * crossref *
+warning$
+""
+}
+{ "\abphrase{7}" journal emphasize * }
+if$
+}
+{ "\abphrase{7}" key * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+editor num.names$ duplicate$
+#2 >
+{ pop$ "\abphrase{2}" * }
+{ #2 <
+'skip$
+{ editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+{ "\abphrase{2}" * }
+{ "\abphrase{0}" * editor #2 "{vv~}{ll}" format.name$ * }
+if$
+}
+if$
+}
+if$
+}
+FUNCTION {format.book.crossref}
+{ volume empty$
+{ "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+"\abphrase{7}"
+}
+{ "\abphrase{9}" volume tie.or.space.connect
+"\abphrase{5}" *
+}
+if$
+editor empty$
+editor field.or.null author field.or.null =
+or
+{ key empty$
+{ series empty$
+{ "need editor, key, or series for " cite$ * " to crossref " *
+crossref * warning$
+"" *
+}
+{ series quote * }
+if$
+}
+{ key * }
+if$
+}
+{ format.crossref.editor * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+editor field.or.null author field.or.null =
+or
+{ key empty$
+{ booktitle empty$
+{ "need editor, key, or booktitle for " cite$ * " to crossref " *
+crossref * warning$
+""
+}
+{ "\abphrase{7}" booktitle quote * }
+if$
+}
+{ "\abphrase{7}" key * }
+if$
+}
+{ "\abphrase{7}" format.crossref.editor * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {article}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+crossref missing$
+{ journal emphasize "journal" output.check
+format.vol.num.pages output
+format.date "year" output.check
+}
+{ format.article.crossref output.nonnull
+new.clause
+format.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+author empty$
+{ format.editors "author and editor" output.check }
+{ format.authors output.nonnull
+crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+if$
+}
+if$
+new.block
+format.btitle "title" output.check
+crossref missing$
+{ new.clause
+format.bvolume output
+new.block
+format.number.series output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+}
+{ new.block
+format.book.crossref output.nonnull
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+format.authors output
+new.block
+format.title "title" output.check
+howpublished address new.block.checkb
+howpublished output
+address new.clause.checka
+address output
+format.date output
+new.block
+note output
+fin.entry
+}
+FUNCTION {inbook}
+{ output.bibitem
+author empty$
+{ format.editors "author and editor" output.check }
+{ format.authors output.nonnull
+crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+if$
+}
+if$
+new.block
+format.btitle "title" output.check
+new.clause
+crossref missing$
+{ format.bvolume output
+new.clause
+format.chapter.pages "chapter and pages" output.check
+new.block
+format.number.series output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+}
+{ format.chapter.pages "chapter and pages" output.check
+new.block
+format.book.crossref output.nonnull
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {incollection}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+crossref missing$
+{ format.in.ed.booktitle "booktitle" output.check
+new.clause
+format.bvolume output
+new.clause
+format.number.series output
+new.clause
+format.chapter.pages output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+}
+{ format.incoll.inproc.crossref output.nonnull
+new.clause
+format.chapter.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+crossref missing$
+{ format.in.ed.booktitle "booktitle" output.check
+volume new.clause.checka
+format.bvolume output
+number series new.clause.checkb
+format.number.series output
+pages new.clause.checka
+format.pages output
+address empty$
+{ organization publisher new.sentence.checkb
+organization output
+publisher new.clause.checka
+publisher output
+format.date "year" output.check
+}
+{ new.clause
+address output.nonnull
+format.date "year" output.check
+new.sentence
+organization output
+new.clause
+publisher output
+}
+if$
+}
+{ format.incoll.inproc.crossref output.nonnull
+new.clause
+format.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+author empty$
+{ organization empty$
+'skip$
+{ organization output.nonnull
+new.clause
+address output
+}
+if$
+}
+{ format.authors output.nonnull }
+if$
+new.block
+format.btitle "title" output.check
+author empty$
+{ organization empty$
+{ address new.block.checka
+address output
+}
+'skip$
+if$
+}
+{ organization address new.block.checkb
+organization output
+address new.clause.checka
+address output
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date output
+new.block
+note output
+fin.entry
+}
+FUNCTION {mastersthesis}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+"\abphrase{17}" format.thesis.type output.nonnull
+new.clause
+school "school" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {misc}
+{ output.bibitem
+format.authors output
+title howpublished new.block.checkb
+format.title output
+howpublished new.block.checka
+howpublished output
+format.date output
+new.block
+note output
+fin.entry
+empty.misc.check
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.btitle "title" output.check
+new.block
+"\abphrase{18}" format.thesis.type output.nonnull
+new.clause
+school "school" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {proceedings}
+{ output.bibitem
+editor empty$
+{ organization output }
+{ format.editors output.nonnull }
+if$
+new.block
+format.btitle "title" output.check
+volume new.clause.checka
+format.bvolume output
+number series new.clause.checkb
+format.number.series output
+address empty$
+{ editor empty$
+{ publisher new.sentence.checka }
+{ organization publisher new.sentence.checkb
+organization output
+publisher new.clause.checka
+}
+if$
+publisher output
+format.date "year" output.check
+}
+{ new.clause
+address output.nonnull
+format.date "year" output.check
+new.sentence
+editor empty$
+'skip$
+{ organization output
+new.clause
+}
+if$
+publisher output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {techreport}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+format.tr.number output.nonnull
+new.clause
+institution "institution" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {unpublished}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+note "note" output.check
+format.date output
+fin.entry
+}
+FUNCTION {default.type} { misc }
+MACRO {jan} {"\abmonth{1}"}
+MACRO {feb} {"\abmonth{2}"}
+MACRO {mar} {"\abmonth{3}"}
+MACRO {apr} {"\abmonth{4}"}
+MACRO {may} {"\abmonth{5}"}
+MACRO {jun} {"\abmonth{6}"}
+MACRO {jul} {"\abmonth{7}"}
+MACRO {aug} {"\abmonth{8}"}
+MACRO {sep} {"\abmonth{9}"}
+MACRO {oct} {"\abmonth{10}"}
+MACRO {nov} {"\abmonth{11}"}
+MACRO {dec} {"\abmonth{12}"}
+MACRO {first} {"\abedition{1}"}
+MACRO {second} {"\abedition{2}"}
+MACRO {third} {"\abedition{3}"}
+MACRO {fourth} {"\abedition{4}"}
+MACRO {fifth} {"\abedition{5}"}
+MACRO {sixth} {"\abedition{6}"}
+MACRO {seventh} {"\abedition{7}"}
+MACRO {eighth} {"\abedition{8}"}
+MACRO {ninth} {"\abedition{9}"}
+MACRO {tenth} {"\abedition{10}"}
+MACRO {section} {"\abchapter{0}"}
+MACRO {paragraph} {"\abchapter{1}"}
+MACRO {appendix} {"\abchapter{2}"}
+MACRO {part} {"\abchapter{3}"}
+READ
+FUNCTION {sortify}
+{ purify$
+"l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+'len :=
+s #1 len substring$ =
+{ s len #1 + global.max$ substring$ }
+'s
+if$
+}
+FUNCTION {sort.format.names}
+{ 's :=
+#1 'nameptr :=
+""
+s num.names$ 'numnames :=
+numnames 'namesleft :=
+{ namesleft #0 > }
+{ nameptr #1 >
+{ " " * }
+'skip$
+if$
+s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't :=
+nameptr numnames = t "others" = and
+{ "et al" * }
+{ t sortify * }
+if$
+nameptr #1 + 'nameptr :=
+namesleft #1 - 'namesleft :=
+}
+while$
+}
+FUNCTION {sort.format.title}
+{ 't :=
+"A " #2
+"An " #3
+"The " #4 t chop.word
+chop.word
+chop.word
+sortify
+#1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+{ key empty$
+{ "to sort, need author or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+{ editor empty$
+{ key empty$
+{ "to sort, need author, editor, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ editor sort.format.names }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {author.organization.sort}
+{ author empty$
+{ organization empty$
+{ key empty$
+{ "to sort, need author, organization, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ "The " #4 organization chop.word sortify }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {editor.organization.sort}
+{ editor empty$
+{ organization empty$
+{ key empty$
+{ "to sort, need editor, organization, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ "The " #4 organization chop.word sortify }
+if$
+}
+{ editor sort.format.names }
+if$
+}
+FUNCTION {presort}
+{ type$ "book" =
+type$ "inbook" =
+or
+'author.editor.sort
+{ type$ "proceedings" =
+'editor.organization.sort
+{ type$ "manual" =
+'author.organization.sort
+'author.sort
+if$
+}
+if$
+}
+if$
+" "
+*
+year field.or.null sortify
+*
+" "
+*
+title field.or.null
+sort.format.title
+*
+#1 entry.max$ substring$
+'sort.key$ :=
+}
+ITERATE {presort}
+SORT
+STRINGS { longest.label }
+INTEGERS { number.label longest.label.width }
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+#1 'number.label :=
+#0 'longest.label.width :=
+}
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+number.label #1 + 'number.label :=
+label width$ longest.label.width >
+{ label 'longest.label :=
+label width$ 'longest.label.width :=
+}
+'skip$
+if$
+}
+EXECUTE {initialize.longest.label}
+ITERATE {longest.label.pass}
+FUNCTION {begin.bib}
+{
+"\newif\ifabfull\abfullfalse" write$ newline$
+"\input apreambl" write$ newline$
+preamble$ empty$
+'skip$
+{ preamble$ write$ newline$ }
+if$
+"\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+"\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/abstyles-babel/aalpha.bst b/biblio/bibtex/contrib/abstyles-babel/aalpha.bst
new file mode 100644
index 0000000000..c5442664c6
--- /dev/null
+++ b/biblio/bibtex/contrib/abstyles-babel/aalpha.bst
@@ -0,0 +1,1211 @@
+% BibTeX bibliography style `AALPHA'
+ENTRY
+{ address
+author
+booktitle
+chapter
+edition
+editor
+howpublished
+institution
+journal
+key
+month
+note
+number
+organization
+pages
+publisher
+school
+series
+title
+type
+volume
+year
+}
+{}
+{ label extra.label sort.label }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block
+continue.sentence }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+#1 'mid.sentence :=
+#2 'after.sentence :=
+#3 'after.block :=
+#4 'continue.sentence :=
+}
+STRINGS { s t }
+FUNCTION {output.nonnull}
+{ 's :=
+output.state continue.sentence =
+{ " " * write$ }
+{ output.state mid.sentence =
+{ ", " * write$ }
+{ output.state after.block =
+{ add.period$ write$
+newline$
+"\newblock " write$
+}
+{ output.state before.all =
+'write$
+{ add.period$ " " * write$ }
+if$
+}
+if$
+}
+if$
+continue.sentence 'output.state :=
+}
+if$
+s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+'pop$
+'output.nonnull
+if$
+}
+FUNCTION {output.check}
+{ 't :=
+duplicate$ empty$
+{ pop$ "empty " t * " in " * cite$ * warning$ }
+'output.nonnull
+if$
+}
+FUNCTION {output.bibitem}
+{ newline$
+"\bibitem[" write$
+label write$
+"]{" write$
+cite$ write$
+"}" write$
+newline$
+""
+before.all 'output.state :=
+}
+FUNCTION {fin.entry}
+{ add.period$
+write$
+newline$
+}
+FUNCTION {new.block}
+{ output.state before.all =
+'skip$
+{ after.block 'output.state := }
+if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+'skip$
+{ output.state before.all =
+'skip$
+{ after.sentence 'output.state := }
+if$
+}
+if$
+}
+FUNCTION {new.clause}
+{ output.state after.sentence =
+'skip$
+{ output.state after.block =
+'skip$
+{ output.state before.all =
+'skip$
+{ mid.sentence 'output.state := }
+if$
+}
+if$
+}
+if$
+}
+FUNCTION {not}
+{ { #0 }
+{ #1 }
+if$
+}
+FUNCTION {and}
+{ 'skip$
+{ pop$ #0 }
+if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+'skip$
+if$
+}
+FUNCTION {new.block.checka}
+{ empty$
+'skip$
+'new.block
+if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.block
+if$
+}
+FUNCTION {new.sentence.checka}
+{ empty$
+'skip$
+'new.sentence
+if$
+}
+FUNCTION {new.sentence.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.sentence
+if$
+}
+FUNCTION {new.clause.checka}
+{ empty$
+'skip$
+'new.clause
+if$
+}
+FUNCTION {new.clause.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.clause
+if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+{ pop$ "" }
+'skip$
+if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{2}{" swap$ * "}" * }
+if$
+}
+FUNCTION {capitalize}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{0}{" swap$ * "}" * }
+if$
+}
+FUNCTION {boldface}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{3}{" swap$ * "}" * }
+if$
+}
+FUNCTION {quote}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{1}{" swap$ * "}" * }
+if$
+}
+FUNCTION {parentheses}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{5}{" swap$ * "}" * }
+if$
+}
+INTEGERS { nameptr namesleft numnames }
+FUNCTION {format.names}
+{ 's :=
+#1 'nameptr :=
+s num.names$ 'numnames :=
+numnames 'namesleft :=
+{ namesleft #0 > }
+{ s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+nameptr #1 >
+{ namesleft #1 >
+{ ", " * t * }
+{ numnames #2 >
+{ "\abphrase{1}" * }
+'skip$
+if$
+t "others" =
+{ "\abphrase{2}" * }
+{ "\abphrase{0}" * t * }
+if$
+}
+if$
+}
+'t
+if$
+nameptr #1 + 'nameptr :=
+namesleft #1 - 'namesleft :=
+}
+while$
+}
+FUNCTION {format.authors}
+{ author empty$
+{ "" }
+{ author format.names capitalize }
+if$
+}
+FUNCTION {format.editors}
+{ editor empty$
+{ "" }
+{ editor format.names capitalize
+editor num.names$ #1 >
+{ "\abphrase{3}" * }
+{ "\abphrase{4}" * }
+if$
+}
+if$
+}
+FUNCTION {format.title}
+{ title empty$
+{ "" }
+{ title "t" change.case$ }
+if$
+}
+FUNCTION {n.dashify}
+{ 't :=
+""
+{ t empty$ not }
+{ t #1 #1 substring$ "-" =
+{ t #1 #2 substring$ "--" = not
+{ "--" *
+t #2 global.max$ substring$ 't :=
+}
+{ { t #1 #1 substring$ "-" = }
+{ "-" *
+t #2 global.max$ substring$ 't :=
+}
+while$
+}
+if$
+}
+{ t #1 #1 substring$ *
+t #2 global.max$ substring$ 't :=
+}
+if$
+}
+while$
+}
+FUNCTION {format.date}
+{ year empty$
+{ month empty$
+{ "" }
+{ "there's a month but no year in " cite$ * warning$
+month parentheses
+}
+if$
+}
+{ month empty$
+{ year parentheses }
+{ month " " * year * parentheses }
+if$
+}
+if$
+}
+FUNCTION {format.btitle}
+{ title quote
+}
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+{ "~" }
+{ " " }
+if$
+swap$ * *
+}
+FUNCTION {either.or.check}
+{ empty$
+'pop$
+{ "can't use both " swap$ * " fields in " * cite$ * warning$ }
+if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+{ "" }
+{ "\abphrase{8}" volume tie.or.space.connect
+series empty$
+'skip$
+{ "\abphrase{5}" * series quote * }
+if$
+"volume and number" number either.or.check
+}
+if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+{ number empty$
+{ series field.or.null }
+{ output.state mid.sentence = output.state continue.sentence = or
+{ "\abphrase{10}" }
+{ "\abphrase{11}" }
+if$
+number tie.or.space.connect
+series empty$
+{ "there's a number but no series in " cite$ * warning$ }
+{ "\abphrase{6}" * series * }
+if$
+}
+if$
+}
+{ "" }
+if$
+}
+FUNCTION {format.edition}
+{ edition empty$
+{ "" }
+{ output.state mid.sentence = output.state continue.sentence = or
+{ edition "l" change.case$ "\abphrase{12}" * }
+{ edition "t" change.case$ "\abphrase{12}" * }
+if$
+}
+if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+#0 'multiresult :=
+{ multiresult not
+t empty$ not
+and
+}
+{ t #1 #1 substring$
+duplicate$ "-" =
+swap$ duplicate$ "," =
+swap$ "+" =
+or or
+{ #1 'multiresult := }
+{ t #2 global.max$ substring$ 't := }
+if$
+}
+while$
+multiresult
+}
+FUNCTION {format.pages}
+{ pages empty$
+{ "" }
+{ pages multi.page.check
+{ "\abphrase{13}" pages n.dashify tie.or.space.connect }
+{ "\abphrase{14}" pages tie.or.space.connect }
+if$
+}
+if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null boldface
+number empty$
+'skip$
+{ "\abtype{4}{" number * "}" * *
+volume empty$
+{ "there's a number but no volume in " cite$ * warning$ }
+'skip$
+if$
+}
+if$
+pages empty$
+'skip$
+{ duplicate$ empty$
+{ pop$ format.pages }
+{ ", " * pages n.dashify * }
+if$
+}
+if$
+}
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+'format.pages
+{ type empty$
+{ "\abphrase{15}" }
+{ type "l" change.case$ }
+if$
+chapter tie.or.space.connect
+pages empty$
+'skip$
+{ ", " * format.pages * }
+if$
+}
+if$
+}
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+{ "" }
+{ editor empty$
+{ "\abphrase{7}" booktitle quote * }
+{ "\abphrase{7}" format.editors * ", " * booktitle quote * }
+if$
+}
+if$
+}
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+month empty$ year empty$ note empty$
+and and and and and
+key empty$ not and
+{ "all relevant fields are empty in " cite$ * warning$ }
+'skip$
+if$
+}
+FUNCTION {format.thesis.type}
+{ type empty$
+'skip$
+{ pop$
+type "t" change.case$
+}
+if$
+}
+FUNCTION {format.tr.number}
+{ type empty$
+{ "\abphrase{16}" }
+'type
+if$
+number empty$
+{ "t" change.case$ }
+{ number tie.or.space.connect }
+if$
+}
+FUNCTION {format.article.crossref}
+{ key empty$
+{ journal empty$
+{ "need key or journal for " cite$ * " to crossref " * crossref *
+warning$
+""
+}
+{ "\abphrase{7}" journal emphasize * }
+if$
+}
+{ "\abphrase{7}" key * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+editor num.names$ duplicate$
+#2 >
+{ pop$ "\abphrase{2}" * }
+{ #2 <
+'skip$
+{ editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+{ "\abphrase{2}" * }
+{ "\abphrase{0}" * editor #2 "{vv~}{ll}" format.name$ * }
+if$
+}
+if$
+}
+if$
+}
+FUNCTION {format.book.crossref}
+{ volume empty$
+{ "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+"\abphrase{7}"
+}
+{ "\abphrase{9}" volume tie.or.space.connect
+"\abphrase{5}" *
+}
+if$
+editor empty$
+editor field.or.null author field.or.null =
+or
+{ key empty$
+{ series empty$
+{ "need editor, key, or series for " cite$ * " to crossref " *
+crossref * warning$
+"" *
+}
+{ series quote * }
+if$
+}
+{ key * }
+if$
+}
+{ format.crossref.editor * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+editor field.or.null author field.or.null =
+or
+{ key empty$
+{ booktitle empty$
+{ "need editor, key, or booktitle for " cite$ * " to crossref " *
+crossref * warning$
+""
+}
+{ "\abphrase{7}" booktitle quote * }
+if$
+}
+{ "\abphrase{7}" key * }
+if$
+}
+{ "\abphrase{7}" format.crossref.editor * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {article}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+crossref missing$
+{ journal emphasize "journal" output.check
+format.vol.num.pages output
+format.date "year" output.check
+}
+{ format.article.crossref output.nonnull
+new.clause
+format.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+author empty$
+{ format.editors "author and editor" output.check }
+{ format.authors output.nonnull
+crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+if$
+}
+if$
+new.block
+format.btitle "title" output.check
+crossref missing$
+{ new.clause
+format.bvolume output
+new.block
+format.number.series output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+}
+{ new.block
+format.book.crossref output.nonnull
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+format.authors output
+new.block
+format.title "title" output.check
+howpublished address new.block.checkb
+howpublished output
+address new.clause.checka
+address output
+format.date output
+new.block
+note output
+fin.entry
+}
+FUNCTION {inbook}
+{ output.bibitem
+author empty$
+{ format.editors "author and editor" output.check }
+{ format.authors output.nonnull
+crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+if$
+}
+if$
+new.block
+format.btitle "title" output.check
+new.clause
+crossref missing$
+{ format.bvolume output
+new.clause
+format.chapter.pages "chapter and pages" output.check
+new.block
+format.number.series output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+}
+{ format.chapter.pages "chapter and pages" output.check
+new.block
+format.book.crossref output.nonnull
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {incollection}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+crossref missing$
+{ format.in.ed.booktitle "booktitle" output.check
+new.clause
+format.bvolume output
+new.clause
+format.number.series output
+new.clause
+format.chapter.pages output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+}
+{ format.incoll.inproc.crossref output.nonnull
+new.clause
+format.chapter.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+crossref missing$
+{ format.in.ed.booktitle "booktitle" output.check
+volume new.clause.checka
+format.bvolume output
+number series new.clause.checkb
+format.number.series output
+pages new.clause.checka
+format.pages output
+address empty$
+{ organization publisher new.sentence.checkb
+organization output
+publisher new.clause.checka
+publisher output
+format.date "year" output.check
+}
+{ new.clause
+address output.nonnull
+format.date "year" output.check
+new.sentence
+organization output
+new.clause
+publisher output
+}
+if$
+}
+{ format.incoll.inproc.crossref output.nonnull
+new.clause
+format.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+author empty$
+{ organization empty$
+'skip$
+{ organization output.nonnull
+new.clause
+address output
+}
+if$
+}
+{ format.authors output.nonnull }
+if$
+new.block
+format.btitle "title" output.check
+author empty$
+{ organization empty$
+{ address new.block.checka
+address output
+}
+'skip$
+if$
+}
+{ organization address new.block.checkb
+organization output
+address new.clause.checka
+address output
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date output
+new.block
+note output
+fin.entry
+}
+FUNCTION {mastersthesis}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+"\abphrase{17}" format.thesis.type output.nonnull
+new.clause
+school "school" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {misc}
+{ output.bibitem
+format.authors output
+title howpublished new.block.checkb
+format.title output
+howpublished new.block.checka
+howpublished output
+format.date output
+new.block
+note output
+fin.entry
+empty.misc.check
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.btitle "title" output.check
+new.block
+"\abphrase{18}" format.thesis.type output.nonnull
+new.clause
+school "school" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {proceedings}
+{ output.bibitem
+editor empty$
+{ organization output }
+{ format.editors output.nonnull }
+if$
+new.block
+format.btitle "title" output.check
+volume new.clause.checka
+format.bvolume output
+number series new.clause.checkb
+format.number.series output
+address empty$
+{ editor empty$
+{ publisher new.sentence.checka }
+{ organization publisher new.sentence.checkb
+organization output
+publisher new.clause.checka
+}
+if$
+publisher output
+format.date "year" output.check
+}
+{ new.clause
+address output.nonnull
+format.date "year" output.check
+new.sentence
+editor empty$
+'skip$
+{ organization output
+new.clause
+}
+if$
+publisher output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {techreport}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+format.tr.number output.nonnull
+new.clause
+institution "institution" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {unpublished}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+note "note" output.check
+format.date output
+fin.entry
+}
+FUNCTION {default.type} { misc }
+MACRO {jan} {"\abmonth{1}"}
+MACRO {feb} {"\abmonth{2}"}
+MACRO {mar} {"\abmonth{3}"}
+MACRO {apr} {"\abmonth{4}"}
+MACRO {may} {"\abmonth{5}"}
+MACRO {jun} {"\abmonth{6}"}
+MACRO {jul} {"\abmonth{7}"}
+MACRO {aug} {"\abmonth{8}"}
+MACRO {sep} {"\abmonth{9}"}
+MACRO {oct} {"\abmonth{10}"}
+MACRO {nov} {"\abmonth{11}"}
+MACRO {dec} {"\abmonth{12}"}
+MACRO {first} {"\abedition{1}"}
+MACRO {second} {"\abedition{2}"}
+MACRO {third} {"\abedition{3}"}
+MACRO {fourth} {"\abedition{4}"}
+MACRO {fifth} {"\abedition{5}"}
+MACRO {sixth} {"\abedition{6}"}
+MACRO {seventh} {"\abedition{7}"}
+MACRO {eighth} {"\abedition{8}"}
+MACRO {ninth} {"\abedition{9}"}
+MACRO {tenth} {"\abedition{10}"}
+MACRO {section} {"\abchapter{0}"}
+MACRO {paragraph} {"\abchapter{1}"}
+MACRO {appendix} {"\abchapter{2}"}
+MACRO {part} {"\abchapter{3}"}
+READ
+FUNCTION {sortify}
+{ purify$
+"l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+'len :=
+s #1 len substring$ =
+{ s len #1 + global.max$ substring$ }
+'s
+if$
+}
+INTEGERS { et.al.char.used }
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+EXECUTE {initialize.et.al.char.used}
+FUNCTION {format.lab.names}
+{ 's :=
+s num.names$ 'numnames :=
+numnames #1 >
+{ numnames #4 >
+{ #3 'namesleft := }
+{ numnames 'namesleft := }
+if$
+#1 'nameptr :=
+""
+{ namesleft #0 > }
+{ nameptr numnames =
+{ s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+{ "{\etalchar{+}}" *
+#1 'et.al.char.used :=
+}
+{ s nameptr "{v{}}{l{}}" format.name$ * }
+if$
+}
+{ s nameptr "{v{}}{l{}}" format.name$ * }
+if$
+nameptr #1 + 'nameptr :=
+namesleft #1 - 'namesleft :=
+}
+while$
+numnames #4 >
+{ "{\etalchar{+}}" *
+#1 'et.al.char.used :=
+}
+'skip$
+if$
+}
+{ s #1 "{v{}}{l{}}" format.name$
+duplicate$ text.length$ #2 <
+{ pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+'skip$
+if$
+}
+if$
+}
+FUNCTION {author.key.label}
+{ author empty$
+{ key empty$
+{ cite$ #1 #3 substring$ }
+{ key #3 text.prefix$ }
+if$
+}
+{ author format.lab.names }
+if$
+}
+FUNCTION {author.editor.key.label}
+{ author empty$
+{ editor empty$
+{ key empty$
+{ cite$ #1 #3 substring$ }
+{ key #3 text.prefix$ }
+if$
+}
+{ editor format.lab.names }
+if$
+}
+{ author format.lab.names }
+if$
+}
+FUNCTION {author.key.organization.label}
+{ author empty$
+{ key empty$
+{ organization empty$
+{ cite$ #1 #3 substring$ }
+{ "The " #4 organization chop.word #3 text.prefix$ }
+if$
+}
+{ key #3 text.prefix$ }
+if$
+}
+{ author format.lab.names }
+if$
+}
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+{ key empty$
+{ organization empty$
+{ cite$ #1 #3 substring$ }
+{ "The " #4 organization chop.word #3 text.prefix$ }
+if$
+}
+{ key #3 text.prefix$ }
+if$
+}
+{ editor format.lab.names }
+if$
+}
+FUNCTION {calc.label}
+{ type$ "book" =
+type$ "inbook" =
+or
+'author.editor.key.label
+{ type$ "proceedings" =
+'editor.key.organization.label
+{ type$ "manual" =
+'author.key.organization.label
+'author.key.label
+if$
+}
+if$
+}
+if$
+duplicate$
+year field.or.null purify$ #-1 #2 substring$
+*
+'label :=
+year field.or.null purify$ #-1 #4 substring$
+*
+sortify 'sort.label :=
+}
+FUNCTION {sort.format.names}
+{ 's :=
+#1 'nameptr :=
+""
+s num.names$ 'numnames :=
+numnames 'namesleft :=
+{ namesleft #0 > }
+{ nameptr #1 >
+{ " " * }
+'skip$
+if$
+s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+nameptr numnames = t "others" = and
+{ "et al" * }
+{ t sortify * }
+if$
+nameptr #1 + 'nameptr :=
+namesleft #1 - 'namesleft :=
+}
+while$
+}
+FUNCTION {sort.format.title}
+{ 't :=
+"A " #2
+"An " #3
+"The " #4 t chop.word
+chop.word
+chop.word
+sortify
+#1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+{ key empty$
+{ "to sort, need author or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+{ editor empty$
+{ key empty$
+{ "to sort, need author, editor, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ editor sort.format.names }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {author.organization.sort}
+{ author empty$
+{ organization empty$
+{ key empty$
+{ "to sort, need author, organization, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ "The " #4 organization chop.word sortify }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {editor.organization.sort}
+{ editor empty$
+{ organization empty$
+{ key empty$
+{ "to sort, need editor, organization, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ "The " #4 organization chop.word sortify }
+if$
+}
+{ editor sort.format.names }
+if$
+}
+FUNCTION {presort}
+{ calc.label
+sort.label
+" "
+*
+type$ "book" =
+type$ "inbook" =
+or
+'author.editor.sort
+{ type$ "proceedings" =
+'editor.organization.sort
+{ type$ "manual" =
+'author.organization.sort
+'author.sort
+if$
+}
+if$
+}
+if$
+*
+" "
+*
+year field.or.null sortify
+*
+" "
+*
+title field.or.null
+sort.format.title
+*
+#1 entry.max$ substring$
+'sort.key$ :=
+}
+ITERATE {presort}
+SORT
+STRINGS { longest.label last.sort.label next.extra }
+INTEGERS { longest.label.width last.extra.num }
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+#0 int.to.chr$ 'last.sort.label :=
+"" 'next.extra :=
+#0 'longest.label.width :=
+#0 'last.extra.num :=
+}
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+{ last.extra.num #1 + 'last.extra.num :=
+last.extra.num int.to.chr$ 'extra.label :=
+}
+{ "a" chr.to.int$ 'last.extra.num :=
+"" 'extra.label :=
+sort.label 'last.sort.label :=
+}
+if$
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+{ "a" 'extra.label := }
+'skip$
+if$
+label extra.label * 'label :=
+label width$ longest.label.width >
+{ label 'longest.label :=
+label width$ 'longest.label.width :=
+}
+'skip$
+if$
+extra.label 'next.extra :=
+}
+EXECUTE {initialize.longest.label}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {begin.bib}
+{
+"\newif\ifabfull\abfulltrue" write$ newline$
+"\input apreambl" write$ newline$
+et.al.char.used
+{ "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+'skip$
+if$
+preamble$ empty$
+'skip$
+{ preamble$ write$ newline$ }
+if$
+"\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+"\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/abstyles-babel/acompat.bib b/biblio/bibtex/contrib/abstyles-babel/acompat.bib
new file mode 100644
index 0000000000..fb94505e64
--- /dev/null
+++ b/biblio/bibtex/contrib/abstyles-babel/acompat.bib
@@ -0,0 +1,45 @@
+This is ACOMPAT.BIB, a BibTeX database file for the `adaptable' style
+family, written by Hans-Hermann Bode (HHBODE at DOSUNI1.BITNET), that contains
+compatibility definitions for use with standard styles. Use acompat as the
+very first item---even before jourfull or jourabbr---in your \bibliography
+command when you have to typeset your new databases---relying on the
+adaptable styles---with the standard styles.
+
+------------------------------------------------------------------------------
+
+First, we declare the \abfull switch that is defined by the adaptable
+styles. Here, it is unconditionally set to true which might not fit your
+needs (in this case, say \abfullfalse instead of \abfulltrue).
+
+@PREAMBLE{"\newif\ifabfull\abfulltrue"}
+
+------------------------------------------------------------------------------
+
+Next, the strings for edition numbers are defined.
+
+@STRING{first="First"}
+@STRING{second="Second"}
+@STRING{third="Third"}
+@STRING{fourth="Fourth"}
+@STRING{fifth="Fifth"}
+@STRING{sixth="Sixth"}
+@STRING{seventh="Seventh"}
+@STRING{eighth="Eighth"}
+@STRING{ninth="Ninth"}
+@STRING{tenth="Tenth"}
+
+------------------------------------------------------------------------------
+
+Finally, we have to set up strings for certain ``chapter'' names.
+
+@STRING{section="Section"}
+@STRING{paragraph="Paragraph"}
+@STRING{appendix="Appendix"}
+@STRING{part="Part"}
+
+------------------------------------------------------------------------------
+
+That's all there is to it. Now you can use your new databases with the old
+styles as well.
+
+------------------------------------------------------------------------------
diff --git a/biblio/bibtex/contrib/abstyles-babel/anotit.bst b/biblio/bibtex/contrib/abstyles-babel/anotit.bst
new file mode 100644
index 0000000000..6e8ec41b53
--- /dev/null
+++ b/biblio/bibtex/contrib/abstyles-babel/anotit.bst
@@ -0,0 +1,1075 @@
+% BibTeX bibliography style `ANOTIT'
+ENTRY
+{ address
+author
+booktitle
+chapter
+edition
+editor
+howpublished
+institution
+journal
+key
+month
+note
+number
+organization
+pages
+publisher
+school
+series
+title
+type
+volume
+year
+}
+{}
+{ label }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block
+continue.sentence }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+#1 'mid.sentence :=
+#2 'after.sentence :=
+#3 'after.block :=
+#4 'continue.sentence :=
+}
+STRINGS { s t }
+FUNCTION {output.nonnull}
+{ 's :=
+output.state continue.sentence =
+{ " " * write$ }
+{ output.state mid.sentence =
+{ ", " * write$ }
+{ output.state after.block =
+{ add.period$ write$
+newline$
+"\newblock " write$
+}
+{ output.state before.all =
+'write$
+{ add.period$ " " * write$ }
+if$
+}
+if$
+}
+if$
+continue.sentence 'output.state :=
+}
+if$
+s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+'pop$
+'output.nonnull
+if$
+}
+FUNCTION {output.check}
+{ 't :=
+duplicate$ empty$
+{ pop$ "empty " t * " in " * cite$ * warning$ }
+'output.nonnull
+if$
+}
+FUNCTION {output.bibitem}
+{ newline$
+"\bibitem{" write$
+cite$ write$
+"}" write$
+newline$
+""
+before.all 'output.state :=
+}
+FUNCTION {fin.entry}
+{ add.period$
+write$
+newline$
+}
+FUNCTION {new.block}
+{ output.state before.all =
+'skip$
+{ after.block 'output.state := }
+if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+'skip$
+{ output.state before.all =
+'skip$
+{ after.sentence 'output.state := }
+if$
+}
+if$
+}
+FUNCTION {new.clause}
+{ output.state after.sentence =
+'skip$
+{ output.state after.block =
+'skip$
+{ output.state before.all =
+'skip$
+{ mid.sentence 'output.state := }
+if$
+}
+if$
+}
+if$
+}
+FUNCTION {not}
+{ { #0 }
+{ #1 }
+if$
+}
+FUNCTION {and}
+{ 'skip$
+{ pop$ #0 }
+if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+'skip$
+if$
+}
+FUNCTION {new.block.checka}
+{ empty$
+'skip$
+'new.block
+if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.block
+if$
+}
+FUNCTION {new.sentence.checka}
+{ empty$
+'skip$
+'new.sentence
+if$
+}
+FUNCTION {new.sentence.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.sentence
+if$
+}
+FUNCTION {new.clause.checka}
+{ empty$
+'skip$
+'new.clause
+if$
+}
+FUNCTION {new.clause.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.clause
+if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+{ pop$ "" }
+'skip$
+if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{2}{" swap$ * "}" * }
+if$
+}
+FUNCTION {capitalize}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{0}{" swap$ * "}" * }
+if$
+}
+FUNCTION {boldface}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{3}{" swap$ * "}" * }
+if$
+}
+FUNCTION {quote}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{1}{" swap$ * "}" * }
+if$
+}
+FUNCTION {parentheses}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{5}{" swap$ * "}" * }
+if$
+}
+INTEGERS { nameptr namesleft numnames }
+FUNCTION {format.names}
+{ 's :=
+#1 'nameptr :=
+s num.names$ 'numnames :=
+numnames 'namesleft :=
+{ namesleft #0 > }
+{ s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+nameptr #1 >
+{ namesleft #1 >
+{ ", " * t * }
+{ numnames #2 >
+{ "\abphrase{1}" * }
+'skip$
+if$
+t "others" =
+{ "\abphrase{2}" * }
+{ "\abphrase{0}" * t * }
+if$
+}
+if$
+}
+'t
+if$
+nameptr #1 + 'nameptr :=
+namesleft #1 - 'namesleft :=
+}
+while$
+}
+FUNCTION {format.authors}
+{ author empty$
+{ "" }
+{ author format.names capitalize }
+if$
+}
+FUNCTION {format.editors}
+{ editor empty$
+{ "" }
+{ editor format.names capitalize
+editor num.names$ #1 >
+{ "\abphrase{3}" * }
+{ "\abphrase{4}" * }
+if$
+}
+if$
+}
+FUNCTION {format.title}
+{ title empty$
+{ "" }
+{ title "t" change.case$ }
+if$
+}
+FUNCTION {n.dashify}
+{ 't :=
+""
+{ t empty$ not }
+{ t #1 #1 substring$ "-" =
+{ t #1 #2 substring$ "--" = not
+{ "--" *
+t #2 global.max$ substring$ 't :=
+}
+{ { t #1 #1 substring$ "-" = }
+{ "-" *
+t #2 global.max$ substring$ 't :=
+}
+while$
+}
+if$
+}
+{ t #1 #1 substring$ *
+t #2 global.max$ substring$ 't :=
+}
+if$
+}
+while$
+}
+FUNCTION {format.date}
+{ year empty$
+{ month empty$
+{ "" }
+{ "there's a month but no year in " cite$ * warning$
+month parentheses
+}
+if$
+}
+{ month empty$
+{ year parentheses }
+{ month " " * year * parentheses }
+if$
+}
+if$
+}
+FUNCTION {format.btitle}
+{ title quote
+}
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+{ "~" }
+{ " " }
+if$
+swap$ * *
+}
+FUNCTION {either.or.check}
+{ empty$
+'pop$
+{ "can't use both " swap$ * " fields in " * cite$ * warning$ }
+if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+{ "" }
+{ "\abphrase{8}" volume tie.or.space.connect
+series empty$
+'skip$
+{ "\abphrase{5}" * series quote * }
+if$
+"volume and number" number either.or.check
+}
+if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+{ number empty$
+{ series field.or.null }
+{ output.state mid.sentence = output.state continue.sentence = or
+{ "\abphrase{10}" }
+{ "\abphrase{11}" }
+if$
+number tie.or.space.connect
+series empty$
+{ "there's a number but no series in " cite$ * warning$ }
+{ "\abphrase{6}" * series * }
+if$
+}
+if$
+}
+{ "" }
+if$
+}
+FUNCTION {format.edition}
+{ edition empty$
+{ "" }
+{ output.state mid.sentence = output.state continue.sentence = or
+{ edition "l" change.case$ "\abphrase{12}" * }
+{ edition "t" change.case$ "\abphrase{12}" * }
+if$
+}
+if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+#0 'multiresult :=
+{ multiresult not
+t empty$ not
+and
+}
+{ t #1 #1 substring$
+duplicate$ "-" =
+swap$ duplicate$ "," =
+swap$ "+" =
+or or
+{ #1 'multiresult := }
+{ t #2 global.max$ substring$ 't := }
+if$
+}
+while$
+multiresult
+}
+FUNCTION {format.pages}
+{ pages empty$
+{ "" }
+{ pages multi.page.check
+{ "\abphrase{13}" pages n.dashify tie.or.space.connect }
+{ "\abphrase{14}" pages tie.or.space.connect }
+if$
+}
+if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null boldface
+number empty$
+'skip$
+{ "\abtype{4}{" number * "}" * *
+volume empty$
+{ "there's a number but no volume in " cite$ * warning$ }
+'skip$
+if$
+}
+if$
+pages empty$
+'skip$
+{ duplicate$ empty$
+{ pop$ format.pages }
+{ ", " * pages n.dashify * }
+if$
+}
+if$
+}
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+'format.pages
+{ type empty$
+{ "\abphrase{15}" }
+{ type "l" change.case$ }
+if$
+chapter tie.or.space.connect
+pages empty$
+'skip$
+{ ", " * format.pages * }
+if$
+}
+if$
+}
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+{ "" }
+{ editor empty$
+{ "\abphrase{7}" booktitle quote * }
+{ "\abphrase{7}" format.editors * ", " * booktitle quote * }
+if$
+}
+if$
+}
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+month empty$ year empty$ note empty$
+and and and and and
+key empty$ not and
+{ "all relevant fields are empty in " cite$ * warning$ }
+'skip$
+if$
+}
+FUNCTION {format.thesis.type}
+{ type empty$
+'skip$
+{ pop$
+type "t" change.case$
+}
+if$
+}
+FUNCTION {format.tr.number}
+{ type empty$
+{ "\abphrase{16}" }
+'type
+if$
+number empty$
+{ "t" change.case$ }
+{ number tie.or.space.connect }
+if$
+}
+FUNCTION {format.article.crossref}
+{ key empty$
+{ journal empty$
+{ "need key or journal for " cite$ * " to crossref " * crossref *
+warning$
+""
+}
+{ "\abphrase{7}" journal emphasize * }
+if$
+}
+{ "\abphrase{7}" key * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+editor num.names$ duplicate$
+#2 >
+{ pop$ "\abphrase{2}" * }
+{ #2 <
+'skip$
+{ editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+{ "\abphrase{2}" * }
+{ "\abphrase{0}" * editor #2 "{vv~}{ll}" format.name$ * }
+if$
+}
+if$
+}
+if$
+}
+FUNCTION {format.book.crossref}
+{ volume empty$
+{ "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+"\abphrase{7}"
+}
+{ "\abphrase{9}" volume tie.or.space.connect
+"\abphrase{5}" *
+}
+if$
+editor empty$
+editor field.or.null author field.or.null =
+or
+{ key empty$
+{ series empty$
+{ "need editor, key, or series for " cite$ * " to crossref " *
+crossref * warning$
+"" *
+}
+{ series quote * }
+if$
+}
+{ key * }
+if$
+}
+{ format.crossref.editor * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+editor field.or.null author field.or.null =
+or
+{ key empty$
+{ booktitle empty$
+{ "need editor, key, or booktitle for " cite$ * " to crossref " *
+crossref * warning$
+""
+}
+{ "\abphrase{7}" booktitle quote * }
+if$
+}
+{ "\abphrase{7}" key * }
+if$
+}
+{ "\abphrase{7}" format.crossref.editor * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {article}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+crossref missing$
+{ journal emphasize "journal" output.check
+format.vol.num.pages output
+format.date "year" output.check
+}
+{ format.article.crossref output.nonnull
+new.clause
+format.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+author empty$
+{ format.editors "author and editor" output.check }
+{ format.authors output.nonnull
+crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+if$
+}
+if$
+new.block
+format.btitle "title" output.check
+crossref missing$
+{ new.clause
+format.bvolume output
+new.block
+format.number.series output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+}
+{ new.block
+format.book.crossref output.nonnull
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+format.authors output
+new.block
+format.title "title" output.check
+howpublished address new.block.checkb
+howpublished output
+address new.clause.checka
+address output
+format.date output
+new.block
+note output
+fin.entry
+}
+FUNCTION {inbook}
+{ output.bibitem
+author empty$
+{ format.editors "author and editor" output.check }
+{ format.authors output.nonnull
+crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+if$
+}
+if$
+new.block
+format.btitle "title" output.check
+new.clause
+crossref missing$
+{ format.bvolume output
+new.clause
+format.chapter.pages "chapter and pages" output.check
+new.block
+format.number.series output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+}
+{ format.chapter.pages "chapter and pages" output.check
+new.block
+format.book.crossref output.nonnull
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {incollection}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+chapter empty$ pages empty$ and
+{
+format.title "title" output.check
+new.block
+}
+'skip$
+if$
+crossref missing$
+{ format.in.ed.booktitle "booktitle" output.check
+new.clause
+format.bvolume output
+new.clause
+format.number.series output
+new.clause
+format.chapter.pages output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+}
+{ format.incoll.inproc.crossref output.nonnull
+new.clause
+format.chapter.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+pages empty$
+{
+format.title "title" output.check
+new.block
+}
+'skip$
+if$
+crossref missing$
+{ format.in.ed.booktitle "booktitle" output.check
+volume new.clause.checka
+format.bvolume output
+number series new.clause.checkb
+format.number.series output
+pages new.clause.checka
+format.pages output
+address empty$
+{ organization publisher new.sentence.checkb
+organization output
+publisher new.clause.checka
+publisher output
+format.date "year" output.check
+}
+{ new.clause
+address output.nonnull
+format.date "year" output.check
+new.sentence
+organization output
+new.clause
+publisher output
+}
+if$
+}
+{ format.incoll.inproc.crossref output.nonnull
+new.clause
+format.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+author empty$
+{ organization empty$
+'skip$
+{ organization output.nonnull
+new.clause
+address output
+}
+if$
+}
+{ format.authors output.nonnull }
+if$
+new.block
+format.btitle "title" output.check
+author empty$
+{ organization empty$
+{ address new.block.checka
+address output
+}
+'skip$
+if$
+}
+{ organization address new.block.checkb
+organization output
+address new.clause.checka
+address output
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date output
+new.block
+note output
+fin.entry
+}
+FUNCTION {mastersthesis}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+"\abphrase{17}" format.thesis.type output.nonnull
+new.clause
+school "school" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {misc}
+{ output.bibitem
+format.authors output
+title howpublished new.block.checkb
+format.title output
+howpublished new.block.checka
+howpublished output
+format.date output
+new.block
+note output
+fin.entry
+empty.misc.check
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.btitle "title" output.check
+new.block
+"\abphrase{18}" format.thesis.type output.nonnull
+new.clause
+school "school" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {proceedings}
+{ output.bibitem
+editor empty$
+{ organization output }
+{ format.editors output.nonnull }
+if$
+new.block
+format.btitle "title" output.check
+volume new.clause.checka
+format.bvolume output
+number series new.clause.checkb
+format.number.series output
+address empty$
+{ editor empty$
+{ publisher new.sentence.checka }
+{ organization publisher new.sentence.checkb
+organization output
+publisher new.clause.checka
+}
+if$
+publisher output
+format.date "year" output.check
+}
+{ new.clause
+address output.nonnull
+format.date "year" output.check
+new.sentence
+editor empty$
+'skip$
+{ organization output
+new.clause
+}
+if$
+publisher output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {techreport}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+number empty$
+{
+format.title "title" output.check
+new.block
+}
+'skip$
+if$
+format.tr.number output.nonnull
+new.clause
+institution "institution" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {unpublished}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+note "note" output.check
+format.date output
+fin.entry
+}
+FUNCTION {default.type} { misc }
+MACRO {jan} {"\abmonth{1}"}
+MACRO {feb} {"\abmonth{2}"}
+MACRO {mar} {"\abmonth{3}"}
+MACRO {apr} {"\abmonth{4}"}
+MACRO {may} {"\abmonth{5}"}
+MACRO {jun} {"\abmonth{6}"}
+MACRO {jul} {"\abmonth{7}"}
+MACRO {aug} {"\abmonth{8}"}
+MACRO {sep} {"\abmonth{9}"}
+MACRO {oct} {"\abmonth{10}"}
+MACRO {nov} {"\abmonth{11}"}
+MACRO {dec} {"\abmonth{12}"}
+MACRO {first} {"\abedition{1}"}
+MACRO {second} {"\abedition{2}"}
+MACRO {third} {"\abedition{3}"}
+MACRO {fourth} {"\abedition{4}"}
+MACRO {fifth} {"\abedition{5}"}
+MACRO {sixth} {"\abedition{6}"}
+MACRO {seventh} {"\abedition{7}"}
+MACRO {eighth} {"\abedition{8}"}
+MACRO {ninth} {"\abedition{9}"}
+MACRO {tenth} {"\abedition{10}"}
+MACRO {section} {"\abchapter{0}"}
+MACRO {paragraph} {"\abchapter{1}"}
+MACRO {appendix} {"\abchapter{2}"}
+MACRO {part} {"\abchapter{3}"}
+READ
+FUNCTION {sortify}
+{ purify$
+"l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+'len :=
+s #1 len substring$ =
+{ s len #1 + global.max$ substring$ }
+'s
+if$
+}
+FUNCTION {sort.format.names}
+{ 's :=
+#1 'nameptr :=
+""
+s num.names$ 'numnames :=
+numnames 'namesleft :=
+{ namesleft #0 > }
+{ nameptr #1 >
+{ " " * }
+'skip$
+if$
+s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't :=
+nameptr numnames = t "others" = and
+{ "et al" * }
+{ t sortify * }
+if$
+nameptr #1 + 'nameptr :=
+namesleft #1 - 'namesleft :=
+}
+while$
+}
+FUNCTION {sort.format.title}
+{ 't :=
+"A " #2
+"An " #3
+"The " #4 t chop.word
+chop.word
+chop.word
+sortify
+#1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+{ key empty$
+{ "to sort, need author or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+{ editor empty$
+{ key empty$
+{ "to sort, need author, editor, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ editor sort.format.names }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {author.organization.sort}
+{ author empty$
+{ organization empty$
+{ key empty$
+{ "to sort, need author, organization, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ "The " #4 organization chop.word sortify }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {editor.organization.sort}
+{ editor empty$
+{ organization empty$
+{ key empty$
+{ "to sort, need editor, organization, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ "The " #4 organization chop.word sortify }
+if$
+}
+{ editor sort.format.names }
+if$
+}
+FUNCTION {presort}
+{ type$ "book" =
+type$ "inbook" =
+or
+'author.editor.sort
+{ type$ "proceedings" =
+'editor.organization.sort
+{ type$ "manual" =
+'author.organization.sort
+'author.sort
+if$
+}
+if$
+}
+if$
+" "
+*
+year field.or.null sortify
+*
+" "
+*
+title field.or.null
+sort.format.title
+*
+#1 entry.max$ substring$
+'sort.key$ :=
+}
+ITERATE {presort}
+SORT
+STRINGS { longest.label }
+INTEGERS { number.label longest.label.width }
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+#1 'number.label :=
+#0 'longest.label.width :=
+}
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+number.label #1 + 'number.label :=
+label width$ longest.label.width >
+{ label 'longest.label :=
+label width$ 'longest.label.width :=
+}
+'skip$
+if$
+}
+EXECUTE {initialize.longest.label}
+ITERATE {longest.label.pass}
+FUNCTION {begin.bib}
+{
+"\newif\ifabfull\abfullfalse" write$ newline$
+"\input apreambl" write$ newline$
+preamble$ empty$
+'skip$
+{ preamble$ write$ newline$ }
+if$
+"\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+"\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/abstyles-babel/aplain.bst b/biblio/bibtex/contrib/abstyles-babel/aplain.bst
new file mode 100644
index 0000000000..f9ac9f4a0a
--- /dev/null
+++ b/biblio/bibtex/contrib/abstyles-babel/aplain.bst
@@ -0,0 +1,1062 @@
+% BibTeX bibliography style `APLAIN'
+ENTRY
+{ address
+author
+booktitle
+chapter
+edition
+editor
+howpublished
+institution
+journal
+key
+month
+note
+number
+organization
+pages
+publisher
+school
+series
+title
+type
+volume
+year
+}
+{}
+{ label }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block
+continue.sentence }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+#1 'mid.sentence :=
+#2 'after.sentence :=
+#3 'after.block :=
+#4 'continue.sentence :=
+}
+STRINGS { s t }
+FUNCTION {output.nonnull}
+{ 's :=
+output.state continue.sentence =
+{ " " * write$ }
+{ output.state mid.sentence =
+{ ", " * write$ }
+{ output.state after.block =
+{ add.period$ write$
+newline$
+"\newblock " write$
+}
+{ output.state before.all =
+'write$
+{ add.period$ " " * write$ }
+if$
+}
+if$
+}
+if$
+continue.sentence 'output.state :=
+}
+if$
+s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+'pop$
+'output.nonnull
+if$
+}
+FUNCTION {output.check}
+{ 't :=
+duplicate$ empty$
+{ pop$ "empty " t * " in " * cite$ * warning$ }
+'output.nonnull
+if$
+}
+FUNCTION {output.bibitem}
+{ newline$
+"\bibitem{" write$
+cite$ write$
+"}" write$
+newline$
+""
+before.all 'output.state :=
+}
+FUNCTION {fin.entry}
+{ add.period$
+write$
+newline$
+}
+FUNCTION {new.block}
+{ output.state before.all =
+'skip$
+{ after.block 'output.state := }
+if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+'skip$
+{ output.state before.all =
+'skip$
+{ after.sentence 'output.state := }
+if$
+}
+if$
+}
+FUNCTION {new.clause}
+{ output.state after.sentence =
+'skip$
+{ output.state after.block =
+'skip$
+{ output.state before.all =
+'skip$
+{ mid.sentence 'output.state := }
+if$
+}
+if$
+}
+if$
+}
+FUNCTION {not}
+{ { #0 }
+{ #1 }
+if$
+}
+FUNCTION {and}
+{ 'skip$
+{ pop$ #0 }
+if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+'skip$
+if$
+}
+FUNCTION {new.block.checka}
+{ empty$
+'skip$
+'new.block
+if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.block
+if$
+}
+FUNCTION {new.sentence.checka}
+{ empty$
+'skip$
+'new.sentence
+if$
+}
+FUNCTION {new.sentence.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.sentence
+if$
+}
+FUNCTION {new.clause.checka}
+{ empty$
+'skip$
+'new.clause
+if$
+}
+FUNCTION {new.clause.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.clause
+if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+{ pop$ "" }
+'skip$
+if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{2}{" swap$ * "}" * }
+if$
+}
+FUNCTION {capitalize}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{0}{" swap$ * "}" * }
+if$
+}
+FUNCTION {boldface}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{3}{" swap$ * "}" * }
+if$
+}
+FUNCTION {quote}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{1}{" swap$ * "}" * }
+if$
+}
+FUNCTION {parentheses}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{5}{" swap$ * "}" * }
+if$
+}
+INTEGERS { nameptr namesleft numnames }
+FUNCTION {format.names}
+{ 's :=
+#1 'nameptr :=
+s num.names$ 'numnames :=
+numnames 'namesleft :=
+{ namesleft #0 > }
+{ s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+nameptr #1 >
+{ namesleft #1 >
+{ ", " * t * }
+{ numnames #2 >
+{ "\abphrase{1}" * }
+'skip$
+if$
+t "others" =
+{ "\abphrase{2}" * }
+{ "\abphrase{0}" * t * }
+if$
+}
+if$
+}
+'t
+if$
+nameptr #1 + 'nameptr :=
+namesleft #1 - 'namesleft :=
+}
+while$
+}
+FUNCTION {format.authors}
+{ author empty$
+{ "" }
+{ author format.names capitalize }
+if$
+}
+FUNCTION {format.editors}
+{ editor empty$
+{ "" }
+{ editor format.names capitalize
+editor num.names$ #1 >
+{ "\abphrase{3}" * }
+{ "\abphrase{4}" * }
+if$
+}
+if$
+}
+FUNCTION {format.title}
+{ title empty$
+{ "" }
+{ title "t" change.case$ }
+if$
+}
+FUNCTION {n.dashify}
+{ 't :=
+""
+{ t empty$ not }
+{ t #1 #1 substring$ "-" =
+{ t #1 #2 substring$ "--" = not
+{ "--" *
+t #2 global.max$ substring$ 't :=
+}
+{ { t #1 #1 substring$ "-" = }
+{ "-" *
+t #2 global.max$ substring$ 't :=
+}
+while$
+}
+if$
+}
+{ t #1 #1 substring$ *
+t #2 global.max$ substring$ 't :=
+}
+if$
+}
+while$
+}
+FUNCTION {format.date}
+{ year empty$
+{ month empty$
+{ "" }
+{ "there's a month but no year in " cite$ * warning$
+month parentheses
+}
+if$
+}
+{ month empty$
+{ year parentheses }
+{ month " " * year * parentheses }
+if$
+}
+if$
+}
+FUNCTION {format.btitle}
+{ title quote
+}
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+{ "~" }
+{ " " }
+if$
+swap$ * *
+}
+FUNCTION {either.or.check}
+{ empty$
+'pop$
+{ "can't use both " swap$ * " fields in " * cite$ * warning$ }
+if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+{ "" }
+{ "\abphrase{8}" volume tie.or.space.connect
+series empty$
+'skip$
+{ "\abphrase{5}" * series quote * }
+if$
+"volume and number" number either.or.check
+}
+if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+{ number empty$
+{ series field.or.null }
+{ output.state mid.sentence = output.state continue.sentence = or
+{ "\abphrase{10}" }
+{ "\abphrase{11}" }
+if$
+number tie.or.space.connect
+series empty$
+{ "there's a number but no series in " cite$ * warning$ }
+{ "\abphrase{6}" * series * }
+if$
+}
+if$
+}
+{ "" }
+if$
+}
+FUNCTION {format.edition}
+{ edition empty$
+{ "" }
+{ output.state mid.sentence = output.state continue.sentence = or
+{ edition "l" change.case$ "\abphrase{12}" * }
+{ edition "t" change.case$ "\abphrase{12}" * }
+if$
+}
+if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+#0 'multiresult :=
+{ multiresult not
+t empty$ not
+and
+}
+{ t #1 #1 substring$
+duplicate$ "-" =
+swap$ duplicate$ "," =
+swap$ "+" =
+or or
+{ #1 'multiresult := }
+{ t #2 global.max$ substring$ 't := }
+if$
+}
+while$
+multiresult
+}
+FUNCTION {format.pages}
+{ pages empty$
+{ "" }
+{ pages multi.page.check
+{ "\abphrase{13}" pages n.dashify tie.or.space.connect }
+{ "\abphrase{14}" pages tie.or.space.connect }
+if$
+}
+if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null boldface
+number empty$
+'skip$
+{ "\abtype{4}{" number * "}" * *
+volume empty$
+{ "there's a number but no volume in " cite$ * warning$ }
+'skip$
+if$
+}
+if$
+pages empty$
+'skip$
+{ duplicate$ empty$
+{ pop$ format.pages }
+{ ", " * pages n.dashify * }
+if$
+}
+if$
+}
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+'format.pages
+{ type empty$
+{ "\abphrase{15}" }
+{ type "l" change.case$ }
+if$
+chapter tie.or.space.connect
+pages empty$
+'skip$
+{ ", " * format.pages * }
+if$
+}
+if$
+}
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+{ "" }
+{ editor empty$
+{ "\abphrase{7}" booktitle quote * }
+{ "\abphrase{7}" format.editors * ", " * booktitle quote * }
+if$
+}
+if$
+}
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+month empty$ year empty$ note empty$
+and and and and and
+key empty$ not and
+{ "all relevant fields are empty in " cite$ * warning$ }
+'skip$
+if$
+}
+FUNCTION {format.thesis.type}
+{ type empty$
+'skip$
+{ pop$
+type "t" change.case$
+}
+if$
+}
+FUNCTION {format.tr.number}
+{ type empty$
+{ "\abphrase{16}" }
+'type
+if$
+number empty$
+{ "t" change.case$ }
+{ number tie.or.space.connect }
+if$
+}
+FUNCTION {format.article.crossref}
+{ key empty$
+{ journal empty$
+{ "need key or journal for " cite$ * " to crossref " * crossref *
+warning$
+""
+}
+{ "\abphrase{7}" journal emphasize * }
+if$
+}
+{ "\abphrase{7}" key * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+editor num.names$ duplicate$
+#2 >
+{ pop$ "\abphrase{2}" * }
+{ #2 <
+'skip$
+{ editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+{ "\abphrase{2}" * }
+{ "\abphrase{0}" * editor #2 "{vv~}{ll}" format.name$ * }
+if$
+}
+if$
+}
+if$
+}
+FUNCTION {format.book.crossref}
+{ volume empty$
+{ "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+"\abphrase{7}"
+}
+{ "\abphrase{9}" volume tie.or.space.connect
+"\abphrase{5}" *
+}
+if$
+editor empty$
+editor field.or.null author field.or.null =
+or
+{ key empty$
+{ series empty$
+{ "need editor, key, or series for " cite$ * " to crossref " *
+crossref * warning$
+"" *
+}
+{ series quote * }
+if$
+}
+{ key * }
+if$
+}
+{ format.crossref.editor * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+editor field.or.null author field.or.null =
+or
+{ key empty$
+{ booktitle empty$
+{ "need editor, key, or booktitle for " cite$ * " to crossref " *
+crossref * warning$
+""
+}
+{ "\abphrase{7}" booktitle quote * }
+if$
+}
+{ "\abphrase{7}" key * }
+if$
+}
+{ "\abphrase{7}" format.crossref.editor * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {article}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+crossref missing$
+{ journal emphasize "journal" output.check
+format.vol.num.pages output
+format.date "year" output.check
+}
+{ format.article.crossref output.nonnull
+new.clause
+format.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+author empty$
+{ format.editors "author and editor" output.check }
+{ format.authors output.nonnull
+crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+if$
+}
+if$
+new.block
+format.btitle "title" output.check
+crossref missing$
+{ new.clause
+format.bvolume output
+new.block
+format.number.series output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+}
+{ new.block
+format.book.crossref output.nonnull
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+format.authors output
+new.block
+format.title "title" output.check
+howpublished address new.block.checkb
+howpublished output
+address new.clause.checka
+address output
+format.date output
+new.block
+note output
+fin.entry
+}
+FUNCTION {inbook}
+{ output.bibitem
+author empty$
+{ format.editors "author and editor" output.check }
+{ format.authors output.nonnull
+crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+if$
+}
+if$
+new.block
+format.btitle "title" output.check
+new.clause
+crossref missing$
+{ format.bvolume output
+new.clause
+format.chapter.pages "chapter and pages" output.check
+new.block
+format.number.series output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+}
+{ format.chapter.pages "chapter and pages" output.check
+new.block
+format.book.crossref output.nonnull
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {incollection}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+crossref missing$
+{ format.in.ed.booktitle "booktitle" output.check
+new.clause
+format.bvolume output
+new.clause
+format.number.series output
+new.clause
+format.chapter.pages output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+}
+{ format.incoll.inproc.crossref output.nonnull
+new.clause
+format.chapter.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+crossref missing$
+{ format.in.ed.booktitle "booktitle" output.check
+volume new.clause.checka
+format.bvolume output
+number series new.clause.checkb
+format.number.series output
+pages new.clause.checka
+format.pages output
+address empty$
+{ organization publisher new.sentence.checkb
+organization output
+publisher new.clause.checka
+publisher output
+format.date "year" output.check
+}
+{ new.clause
+address output.nonnull
+format.date "year" output.check
+new.sentence
+organization output
+new.clause
+publisher output
+}
+if$
+}
+{ format.incoll.inproc.crossref output.nonnull
+new.clause
+format.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+author empty$
+{ organization empty$
+'skip$
+{ organization output.nonnull
+new.clause
+address output
+}
+if$
+}
+{ format.authors output.nonnull }
+if$
+new.block
+format.btitle "title" output.check
+author empty$
+{ organization empty$
+{ address new.block.checka
+address output
+}
+'skip$
+if$
+}
+{ organization address new.block.checkb
+organization output
+address new.clause.checka
+address output
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date output
+new.block
+note output
+fin.entry
+}
+FUNCTION {mastersthesis}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+"\abphrase{17}" format.thesis.type output.nonnull
+new.clause
+school "school" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {misc}
+{ output.bibitem
+format.authors output
+title howpublished new.block.checkb
+format.title output
+howpublished new.block.checka
+howpublished output
+format.date output
+new.block
+note output
+fin.entry
+empty.misc.check
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.btitle "title" output.check
+new.block
+"\abphrase{18}" format.thesis.type output.nonnull
+new.clause
+school "school" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {proceedings}
+{ output.bibitem
+editor empty$
+{ organization output }
+{ format.editors output.nonnull }
+if$
+new.block
+format.btitle "title" output.check
+volume new.clause.checka
+format.bvolume output
+number series new.clause.checkb
+format.number.series output
+address empty$
+{ editor empty$
+{ publisher new.sentence.checka }
+{ organization publisher new.sentence.checkb
+organization output
+publisher new.clause.checka
+}
+if$
+publisher output
+format.date "year" output.check
+}
+{ new.clause
+address output.nonnull
+format.date "year" output.check
+new.sentence
+editor empty$
+'skip$
+{ organization output
+new.clause
+}
+if$
+publisher output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {techreport}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+format.tr.number output.nonnull
+new.clause
+institution "institution" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {unpublished}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+note "note" output.check
+format.date output
+fin.entry
+}
+FUNCTION {default.type} { misc }
+MACRO {jan} {"\abmonth{1}"}
+MACRO {feb} {"\abmonth{2}"}
+MACRO {mar} {"\abmonth{3}"}
+MACRO {apr} {"\abmonth{4}"}
+MACRO {may} {"\abmonth{5}"}
+MACRO {jun} {"\abmonth{6}"}
+MACRO {jul} {"\abmonth{7}"}
+MACRO {aug} {"\abmonth{8}"}
+MACRO {sep} {"\abmonth{9}"}
+MACRO {oct} {"\abmonth{10}"}
+MACRO {nov} {"\abmonth{11}"}
+MACRO {dec} {"\abmonth{12}"}
+MACRO {first} {"\abedition{1}"}
+MACRO {second} {"\abedition{2}"}
+MACRO {third} {"\abedition{3}"}
+MACRO {fourth} {"\abedition{4}"}
+MACRO {fifth} {"\abedition{5}"}
+MACRO {sixth} {"\abedition{6}"}
+MACRO {seventh} {"\abedition{7}"}
+MACRO {eighth} {"\abedition{8}"}
+MACRO {ninth} {"\abedition{9}"}
+MACRO {tenth} {"\abedition{10}"}
+MACRO {section} {"\abchapter{0}"}
+MACRO {paragraph} {"\abchapter{1}"}
+MACRO {appendix} {"\abchapter{2}"}
+MACRO {part} {"\abchapter{3}"}
+READ
+FUNCTION {sortify}
+{ purify$
+"l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+'len :=
+s #1 len substring$ =
+{ s len #1 + global.max$ substring$ }
+'s
+if$
+}
+FUNCTION {sort.format.names}
+{ 's :=
+#1 'nameptr :=
+""
+s num.names$ 'numnames :=
+numnames 'namesleft :=
+{ namesleft #0 > }
+{ nameptr #1 >
+{ " " * }
+'skip$
+if$
+s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+nameptr numnames = t "others" = and
+{ "et al" * }
+{ t sortify * }
+if$
+nameptr #1 + 'nameptr :=
+namesleft #1 - 'namesleft :=
+}
+while$
+}
+FUNCTION {sort.format.title}
+{ 't :=
+"A " #2
+"An " #3
+"The " #4 t chop.word
+chop.word
+chop.word
+sortify
+#1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+{ key empty$
+{ "to sort, need author or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+{ editor empty$
+{ key empty$
+{ "to sort, need author, editor, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ editor sort.format.names }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {author.organization.sort}
+{ author empty$
+{ organization empty$
+{ key empty$
+{ "to sort, need author, organization, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ "The " #4 organization chop.word sortify }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {editor.organization.sort}
+{ editor empty$
+{ organization empty$
+{ key empty$
+{ "to sort, need editor, organization, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ "The " #4 organization chop.word sortify }
+if$
+}
+{ editor sort.format.names }
+if$
+}
+FUNCTION {presort}
+{ type$ "book" =
+type$ "inbook" =
+or
+'author.editor.sort
+{ type$ "proceedings" =
+'editor.organization.sort
+{ type$ "manual" =
+'author.organization.sort
+'author.sort
+if$
+}
+if$
+}
+if$
+" "
+*
+year field.or.null sortify
+*
+" "
+*
+title field.or.null
+sort.format.title
+*
+#1 entry.max$ substring$
+'sort.key$ :=
+}
+ITERATE {presort}
+SORT
+STRINGS { longest.label }
+INTEGERS { number.label longest.label.width }
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+#1 'number.label :=
+#0 'longest.label.width :=
+}
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+number.label #1 + 'number.label :=
+label width$ longest.label.width >
+{ label 'longest.label :=
+label width$ 'longest.label.width :=
+}
+'skip$
+if$
+}
+EXECUTE {initialize.longest.label}
+ITERATE {longest.label.pass}
+FUNCTION {begin.bib}
+{
+"\newif\ifabfull\abfulltrue" write$ newline$
+"\input apreambl" write$ newline$
+preamble$ empty$
+'skip$
+{ preamble$ write$ newline$ }
+if$
+"\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+"\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/abstyles-babel/apreambl.tex b/biblio/bibtex/contrib/abstyles-babel/apreambl.tex
new file mode 100644
index 0000000000..51b1022d29
--- /dev/null
+++ b/biblio/bibtex/contrib/abstyles-babel/apreambl.tex
@@ -0,0 +1,200 @@
+% This is APREAMBL.TEX, version 1.10e, written by Hans-Hermann Bode
+% (HHBODE@DOSUNI1.BITNET), for the BibTeX `adaptable' family, version 1.10.
+% See the file APREAMBL.DOC for a detailed documentation.
+
+% This program is distributed WITHOUT ANY WARRANTY, express or implied.
+
+% Copyright (C) 1991, 1992 Hans-Hermann Bode
+
+% Permission is granted to make and distribute verbatim copies of this
+% document provided that the copyright notice and this permission notice
+% are preserved on all copies.
+
+% Permission is granted to copy and distribute modified versions of this
+% document under the conditions for verbatim copying, provided that the
+% entire resulting derived work is distributed under the terms of a
+% permission notice identical to this one.
+
+% This file has been extended for the Spanish language
+% and modified to work with the J.L. Braams' Babel system
+% Tom'as Bautista
+% CAD Division of
+% the Center for Applied Microlectronics,
+% Univ. of Las Palmas de Gran Canaria, Canary Is.
+% June 2nd, 1995.
+
+\ifx\undefined\ifabfull
+ \typeout{*** Please, do not load this file directly ***}
+ \typeout{ It will be loaded when using the adaptable}
+ \typeout{ family BibTeX styles.}
+ \expandafter\endinput
+\fi
+
+\expandafter\ifx\csname__APREAMBLE_TEX\endcsname\relax \else\endinput\fi
+\expandafter\chardef\csname__APREAMBLE_TEX\endcsname=\the\catcode`\@
+\catcode`\@=11
+\gdef\abtype@english{%
+\def\abtype##1##2{%
+\ifcase##1{\sc##2}\or``##2''\or{\em##2\/}\or{\bf##2}\or(##2)\or(##2)\else##2\fi}}
+
+\gdef\abtype@german{%
+\def\abtype##1##2{%
+\ifcase##1{\sc##2}\or\glqq##2\grqq\or{\em##2\/}\or{\bf##2}\or(##2)\or(##2)\else##2\fi}}
+
+\gdef\abtype@spanish{%
+\def\abtype##1##2{%
+\ifcase##1{\sc##2}\or``##2''\or{\em##2\/}\or{\bf##2}\or(##2)\or(##2)\else##2\fi}}
+
+\ifabfull
+
+\gdef\abetc@english{
+
+\def\abphrase##1{%
+\ifcase##1{ and }\or{,}\or{ et~al.}\or{, editors}\or{, editor}\or%
+{ of }\or{ in }\or{In }\or{volume}\or{Volume}\or{number}\or{Number}\or%
+{ edition}\or{pages}\or{page}\or{chapter}\or%
+{Technical Report}\or{Master's thesis}\or{PhD thesis}\fi}
+
+\def\abmonth##1{\ifcase##1\or January\or February\or March\or April\or May\or
+ June\or July\or August\or September\or October\or November\or December\fi}
+
+\def\abedition##1{\ifcase##1\or First\or Second\or Third\or Fourth\or Fifth\or
+ Sixth\or Seventh\or Eighth\or Ninth\or Tenth\else?\fi}
+
+\def\abchapter##1{\ifcase##1Section\or Paragraph\or Appendix\or Part\fi}
+
+}
+
+\else
+
+\gdef\abetc@english{
+
+\def\abphrase##1{%
+\ifcase##1{ and }\or{,}\or{ et~al.}\or{, editors}\or{, editor}\or%
+{ of }\or{ in }\or{In }\or{vol.}\or{Vol.}\or{no.}\or{No.}\or%
+{ ed.}\or{pp.}\or{p.}\or{ch.}\or%
+{Technical Report}\or{Master's thesis}\or{PhD thesis}\fi}
+
+\def\abmonth##1{\ifcase##1\or Jan.\or Feb.\or Mar.\or Apr.\or May\or June\or
+ July\or Aug.\or Sept.\or Oct.\or Nov.\or Dec.\fi}
+
+\def\abedition##1{\ifcase##1\or 1st\or 2nd\or 3rd\or 4th\or 5th\or
+ 6th\or 7th\or 8th\or 9th\or 10th\else?\fi}
+
+\def\abchapter##1{\ifcase##1Sec.\or Par.\or App.\or Part\fi}
+
+}
+
+\fi
+
+\ifabfull
+
+\gdef\abetc@german{
+
+\def\abphrase##1{%
+\ifcase##1{ und }\or{}\or{ und andere}\or%
+{ (Herausgeber)}\or{ (Herausgeber)}\or%
+{ aus }\or{ in }\or{In }\or{Band}\or{Band}\or{Nummer}\or{Nummer}\or%
+{ Auf{\kern0pt}lage}\or{Seiten}\or{Seite}\or{Kapitel}\or%
+{Bericht}\or{Diplomarbeit}\or{Dissertation}\fi}
+
+\def\abmonth##1{\ifcase##1\or Januar\or Februar\or M\"arz\or April\or Mai\or
+ Juni\or Juli\or August\or September\or Oktober\or November\or Dezember\fi}
+
+\def\abedition##1{\ifcase##1\or Erste\or Zweite\or Dritte\or
+ Vierte\or F\"unf\-te\or Sechste\or Siebte\or Achte\or Neunte\or
+ Zehnte\else?\fi}
+
+\def\abchapter##1{\ifcase##1Abschnitt\or Absatz\or Anhang\or Teil\fi}
+
+}
+
+\else
+
+\gdef\abetc@german{
+
+\def\abphrase##1{%
+\ifcase##1{ und }\or{}\or{ u.\thinspace a.}\or{ (Hrsg.)}\or{ (Hrsg.)}\or%
+{ aus }\or{ in }\or{In }\or{Bd.}\or{Bd.}\or{Nr.}\or{Nr.}\or%
+{ Aufl.}\or{S.}\or{S.}\or{Kap.}\or%
+{Bericht}\or{Diplomarbeit}\or{Dissertation}\fi}
+
+\def\abmonth##1{\ifcase##1\or Jan.\or Feb.\or M\"arz\or Apr.\or Mai\or
+ Juni\or Juli\or Aug.\or Sep.\or Okt.\or Nov.\or Dez.\fi}
+
+\def\abedition##1{\ifcase##1\or 1.\or 2.\or 3.\or 4.\or 5.\or
+ 6.\or 7.\or 8.\or 9.\or 10.\else?\fi}
+
+\def\abchapter##1{\ifcase##1Abschn.\or Abs.\or Anh.\or Teil\fi}
+
+}
+
+\fi
+
+\ifabfull
+
+\gdef\abetc@spanish{
+
+\def\abphrase##1{%
+\ifcase##1{ y }\or{}\or{ et~al.}\or{, editores}\or{, editor}\or%
+{ de }\or{ en }\or{En }\or{tomo}\or{Tomo}\or{n\'umero}\or{N\'umero}\or%
+{ edici\'on}\or{p\'aginas}\or{p\'agina}\or{cap\'{\i}tulo}\or%
+{Informe t'ecnico}\or{Proyecto Fin de Carrera}\or{Tesis Doctoral}\fi}
+
+\def\abmonth##1{\ifcase##1\or enero\or febrero\or marzo\or abril\or mayo\or
+ junio\or julio\or agosto\or septiembre\or octubre\or noviembre\or
+ diciembre\fi}
+
+\def\abedition##1{\ifcase##1\or Primera\or Segunda\or Tercera\or
+ Cuarta\or Quinta\or Sexta\or S\'eptima\or Octava\or Novena\or
+ D\'ecima\else?\fi}
+
+\def\abchapter##1{\ifcase##1Apartado\or P\'arrafo\or Ap\'endice\or Parte\fi}
+
+}
+
+\else
+
+\gdef\abetc@spanish{
+
+\def\abphrase##1{%
+\ifcase##1{ y }\or{}\or{ et~al.}\or{, editores}\or{, editor}\or%
+{ de }\or{ en }\or{En }\or{vol.}\or{Vol.}\or%
+{n\raise1ex\hbox{\underbar{\scriptsize o}}}\or%
+{N\raise1ex\hbox{\underbar{\scriptsize o}}}\or%
+{ ed.}\or{p\'ags.}\or{p\'ag.}\or{cap.}\or%
+{Informe t'ecnico}\or{Proyecto Fin de Carrera}\or{Tesis Doctoral}\fi}
+
+\def\abmonth##1{\ifcase##1\or ene.\or feb.\or mar.\or abr.\or mayo\or jun.\or
+ jul.\or ago.\or sept.\or oct.\or nov.\or dic.\fi}
+
+\def\abedition##1{\ifcase##1\or 1\raise1ex\hbox{\underbar{\scriptsize a}}\or
+ 2\raise1ex\hbox{\underbar{\scriptsize a}}\or
+ 3\raise1ex\hbox{\underbar{\scriptsize a}}\or
+ 4\raise1ex\hbox{\underbar{\scriptsize a}}\or
+ 5\raise1ex\hbox{\underbar{\scriptsize a}}\or
+ 6\raise1ex\hbox{\underbar{\scriptsize a}}\or
+ 7\raise1ex\hbox{\underbar{\scriptsize a}}\or
+ 8\raise1ex\hbox{\underbar{\scriptsize a}}\or
+ 9\raise1ex\hbox{\underbar{\scriptsize a}}\or
+ 10\raise1ex\hbox{\underbar{\scriptsize a}}\else?\fi}
+
+\def\abchapter##1{\ifcase##1Apartado\or P\'ar.\or Ap\'endice\or Parte\fi}
+
+}
+
+\fi
+
+\ifx\undefined\iflanguage
+ \abtype@english \abetc@english
+\else
+ \abtype@english \abetc@english % This is the deafult option, in case
+ % your language is not supported.
+% \iflanguage{english}{\abtype@english \abetc@english}{}
+ \iflanguage{german}{\abtype@german \abetc@german}{}
+ \iflanguage{spanish}{\abtype@spanish \abetc@spanish}{}
+\fi
+
+\catcode`\@=\csname__APREAMBLE_TEX\endcsname
+
+\endinput
diff --git a/biblio/bibtex/contrib/abstyles-babel/aunsnot.bst b/biblio/bibtex/contrib/abstyles-babel/aunsnot.bst
new file mode 100644
index 0000000000..6a918d201e
--- /dev/null
+++ b/biblio/bibtex/contrib/abstyles-babel/aunsnot.bst
@@ -0,0 +1,941 @@
+% BibTeX bibliography style `AUNSNOT'
+ENTRY
+{ address
+author
+booktitle
+chapter
+edition
+editor
+howpublished
+institution
+journal
+key
+month
+note
+number
+organization
+pages
+publisher
+school
+series
+title
+type
+volume
+year
+}
+{}
+{ label }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block
+continue.sentence }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+#1 'mid.sentence :=
+#2 'after.sentence :=
+#3 'after.block :=
+#4 'continue.sentence :=
+}
+STRINGS { s t }
+FUNCTION {output.nonnull}
+{ 's :=
+output.state continue.sentence =
+{ " " * write$ }
+{ output.state mid.sentence =
+{ ", " * write$ }
+{ output.state after.block =
+{ add.period$ write$
+newline$
+"\newblock " write$
+}
+{ output.state before.all =
+'write$
+{ add.period$ " " * write$ }
+if$
+}
+if$
+}
+if$
+continue.sentence 'output.state :=
+}
+if$
+s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+'pop$
+'output.nonnull
+if$
+}
+FUNCTION {output.check}
+{ 't :=
+duplicate$ empty$
+{ pop$ "empty " t * " in " * cite$ * warning$ }
+'output.nonnull
+if$
+}
+FUNCTION {output.bibitem}
+{ newline$
+"\bibitem{" write$
+cite$ write$
+"}" write$
+newline$
+""
+before.all 'output.state :=
+}
+FUNCTION {fin.entry}
+{ add.period$
+write$
+newline$
+}
+FUNCTION {new.block}
+{ output.state before.all =
+'skip$
+{ after.block 'output.state := }
+if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+'skip$
+{ output.state before.all =
+'skip$
+{ after.sentence 'output.state := }
+if$
+}
+if$
+}
+FUNCTION {new.clause}
+{ output.state after.sentence =
+'skip$
+{ output.state after.block =
+'skip$
+{ output.state before.all =
+'skip$
+{ mid.sentence 'output.state := }
+if$
+}
+if$
+}
+if$
+}
+FUNCTION {not}
+{ { #0 }
+{ #1 }
+if$
+}
+FUNCTION {and}
+{ 'skip$
+{ pop$ #0 }
+if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+'skip$
+if$
+}
+FUNCTION {new.block.checka}
+{ empty$
+'skip$
+'new.block
+if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.block
+if$
+}
+FUNCTION {new.sentence.checka}
+{ empty$
+'skip$
+'new.sentence
+if$
+}
+FUNCTION {new.sentence.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.sentence
+if$
+}
+FUNCTION {new.clause.checka}
+{ empty$
+'skip$
+'new.clause
+if$
+}
+FUNCTION {new.clause.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.clause
+if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+{ pop$ "" }
+'skip$
+if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{2}{" swap$ * "}" * }
+if$
+}
+FUNCTION {capitalize}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{0}{" swap$ * "}" * }
+if$
+}
+FUNCTION {boldface}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{3}{" swap$ * "}" * }
+if$
+}
+FUNCTION {quote}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{1}{" swap$ * "}" * }
+if$
+}
+FUNCTION {parentheses}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{5}{" swap$ * "}" * }
+if$
+}
+INTEGERS { nameptr namesleft numnames }
+FUNCTION {format.names}
+{ 's :=
+#1 'nameptr :=
+s num.names$ 'numnames :=
+numnames 'namesleft :=
+{ namesleft #0 > }
+{ s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+nameptr #1 >
+{ namesleft #1 >
+{ ", " * t * }
+{ numnames #2 >
+{ "\abphrase{1}" * }
+'skip$
+if$
+t "others" =
+{ "\abphrase{2}" * }
+{ "\abphrase{0}" * t * }
+if$
+}
+if$
+}
+'t
+if$
+nameptr #1 + 'nameptr :=
+namesleft #1 - 'namesleft :=
+}
+while$
+}
+FUNCTION {format.authors}
+{ author empty$
+{ "" }
+{ author format.names capitalize }
+if$
+}
+FUNCTION {format.editors}
+{ editor empty$
+{ "" }
+{ editor format.names capitalize
+editor num.names$ #1 >
+{ "\abphrase{3}" * }
+{ "\abphrase{4}" * }
+if$
+}
+if$
+}
+FUNCTION {format.title}
+{ title empty$
+{ "" }
+{ title "t" change.case$ }
+if$
+}
+FUNCTION {n.dashify}
+{ 't :=
+""
+{ t empty$ not }
+{ t #1 #1 substring$ "-" =
+{ t #1 #2 substring$ "--" = not
+{ "--" *
+t #2 global.max$ substring$ 't :=
+}
+{ { t #1 #1 substring$ "-" = }
+{ "-" *
+t #2 global.max$ substring$ 't :=
+}
+while$
+}
+if$
+}
+{ t #1 #1 substring$ *
+t #2 global.max$ substring$ 't :=
+}
+if$
+}
+while$
+}
+FUNCTION {format.date}
+{ year empty$
+{ month empty$
+{ "" }
+{ "there's a month but no year in " cite$ * warning$
+month parentheses
+}
+if$
+}
+{ month empty$
+{ year parentheses }
+{ month " " * year * parentheses }
+if$
+}
+if$
+}
+FUNCTION {format.btitle}
+{ title quote
+}
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+{ "~" }
+{ " " }
+if$
+swap$ * *
+}
+FUNCTION {either.or.check}
+{ empty$
+'pop$
+{ "can't use both " swap$ * " fields in " * cite$ * warning$ }
+if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+{ "" }
+{ "\abphrase{8}" volume tie.or.space.connect
+series empty$
+'skip$
+{ "\abphrase{5}" * series quote * }
+if$
+"volume and number" number either.or.check
+}
+if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+{ number empty$
+{ series field.or.null }
+{ output.state mid.sentence = output.state continue.sentence = or
+{ "\abphrase{10}" }
+{ "\abphrase{11}" }
+if$
+number tie.or.space.connect
+series empty$
+{ "there's a number but no series in " cite$ * warning$ }
+{ "\abphrase{6}" * series * }
+if$
+}
+if$
+}
+{ "" }
+if$
+}
+FUNCTION {format.edition}
+{ edition empty$
+{ "" }
+{ output.state mid.sentence = output.state continue.sentence = or
+{ edition "l" change.case$ "\abphrase{12}" * }
+{ edition "t" change.case$ "\abphrase{12}" * }
+if$
+}
+if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+#0 'multiresult :=
+{ multiresult not
+t empty$ not
+and
+}
+{ t #1 #1 substring$
+duplicate$ "-" =
+swap$ duplicate$ "," =
+swap$ "+" =
+or or
+{ #1 'multiresult := }
+{ t #2 global.max$ substring$ 't := }
+if$
+}
+while$
+multiresult
+}
+FUNCTION {format.pages}
+{ pages empty$
+{ "" }
+{ pages multi.page.check
+{ "\abphrase{13}" pages n.dashify tie.or.space.connect }
+{ "\abphrase{14}" pages tie.or.space.connect }
+if$
+}
+if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null boldface
+number empty$
+'skip$
+{ "\abtype{4}{" number * "}" * *
+volume empty$
+{ "there's a number but no volume in " cite$ * warning$ }
+'skip$
+if$
+}
+if$
+pages empty$
+'skip$
+{ duplicate$ empty$
+{ pop$ format.pages }
+{ ", " * pages n.dashify * }
+if$
+}
+if$
+}
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+'format.pages
+{ type empty$
+{ "\abphrase{15}" }
+{ type "l" change.case$ }
+if$
+chapter tie.or.space.connect
+pages empty$
+'skip$
+{ ", " * format.pages * }
+if$
+}
+if$
+}
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+{ "" }
+{ editor empty$
+{ "\abphrase{7}" booktitle quote * }
+{ "\abphrase{7}" format.editors * ", " * booktitle quote * }
+if$
+}
+if$
+}
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+month empty$ year empty$ note empty$
+and and and and and
+{ "all relevant fields are empty in " cite$ * warning$ }
+'skip$
+if$
+}
+FUNCTION {format.thesis.type}
+{ type empty$
+'skip$
+{ pop$
+type "t" change.case$
+}
+if$
+}
+FUNCTION {format.tr.number}
+{ type empty$
+{ "\abphrase{16}" }
+'type
+if$
+number empty$
+{ "t" change.case$ }
+{ number tie.or.space.connect }
+if$
+}
+FUNCTION {format.article.crossref}
+{ key empty$
+{ journal empty$
+{ "need key or journal for " cite$ * " to crossref " * crossref *
+warning$
+""
+}
+{ "\abphrase{7}" journal emphasize * }
+if$
+}
+{ "\abphrase{7}" key * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+editor num.names$ duplicate$
+#2 >
+{ pop$ "\abphrase{2}" * }
+{ #2 <
+'skip$
+{ editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+{ "\abphrase{2}" * }
+{ "\abphrase{0}" * editor #2 "{vv~}{ll}" format.name$ * }
+if$
+}
+if$
+}
+if$
+}
+FUNCTION {format.book.crossref}
+{ volume empty$
+{ "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+"\abphrase{7}"
+}
+{ "\abphrase{9}" volume tie.or.space.connect
+"\abphrase{5}" *
+}
+if$
+editor empty$
+editor field.or.null author field.or.null =
+or
+{ key empty$
+{ series empty$
+{ "need editor, key, or series for " cite$ * " to crossref " *
+crossref * warning$
+"" *
+}
+{ series quote * }
+if$
+}
+{ key * }
+if$
+}
+{ format.crossref.editor * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+editor field.or.null author field.or.null =
+or
+{ key empty$
+{ booktitle empty$
+{ "need editor, key, or booktitle for " cite$ * " to crossref " *
+crossref * warning$
+""
+}
+{ "\abphrase{7}" booktitle quote * }
+if$
+}
+{ "\abphrase{7}" key * }
+if$
+}
+{ "\abphrase{7}" format.crossref.editor * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {article}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+crossref missing$
+{ journal emphasize "journal" output.check
+format.vol.num.pages output
+format.date "year" output.check
+}
+{ format.article.crossref output.nonnull
+new.clause
+format.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+author empty$
+{ format.editors "author and editor" output.check }
+{ format.authors output.nonnull
+crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+if$
+}
+if$
+new.block
+format.btitle "title" output.check
+crossref missing$
+{ new.clause
+format.bvolume output
+new.block
+format.number.series output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+}
+{ new.block
+format.book.crossref output.nonnull
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+format.authors output
+new.block
+format.title "title" output.check
+howpublished address new.block.checkb
+howpublished output
+address new.clause.checka
+address output
+format.date output
+new.block
+note output
+fin.entry
+}
+FUNCTION {inbook}
+{ output.bibitem
+author empty$
+{ format.editors "author and editor" output.check }
+{ format.authors output.nonnull
+crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+if$
+}
+if$
+new.block
+format.btitle "title" output.check
+new.clause
+crossref missing$
+{ format.bvolume output
+new.clause
+format.chapter.pages "chapter and pages" output.check
+new.block
+format.number.series output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+}
+{ format.chapter.pages "chapter and pages" output.check
+new.block
+format.book.crossref output.nonnull
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {incollection}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+chapter empty$ pages empty$ and
+{
+format.title "title" output.check
+new.block
+}
+'skip$
+if$
+crossref missing$
+{ format.in.ed.booktitle "booktitle" output.check
+new.clause
+format.bvolume output
+new.clause
+format.number.series output
+new.clause
+format.chapter.pages output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+}
+{ format.incoll.inproc.crossref output.nonnull
+new.clause
+format.chapter.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+pages empty$
+{
+format.title "title" output.check
+new.block
+}
+'skip$
+if$
+crossref missing$
+{ format.in.ed.booktitle "booktitle" output.check
+volume new.clause.checka
+format.bvolume output
+number series new.clause.checkb
+format.number.series output
+pages new.clause.checka
+format.pages output
+address empty$
+{ organization publisher new.sentence.checkb
+organization output
+publisher new.clause.checka
+publisher output
+format.date "year" output.check
+}
+{ new.clause
+address output.nonnull
+format.date "year" output.check
+new.sentence
+organization output
+new.clause
+publisher output
+}
+if$
+}
+{ format.incoll.inproc.crossref output.nonnull
+new.clause
+format.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+author empty$
+{ organization empty$
+'skip$
+{ organization output.nonnull
+new.clause
+address output
+}
+if$
+}
+{ format.authors output.nonnull }
+if$
+new.block
+format.btitle "title" output.check
+author empty$
+{ organization empty$
+{ address new.block.checka
+address output
+}
+'skip$
+if$
+}
+{ organization address new.block.checkb
+organization output
+address new.clause.checka
+address output
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date output
+new.block
+note output
+fin.entry
+}
+FUNCTION {mastersthesis}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+"\abphrase{17}" format.thesis.type output.nonnull
+new.clause
+school "school" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {misc}
+{ output.bibitem
+format.authors output
+title howpublished new.block.checkb
+format.title output
+howpublished new.block.checka
+howpublished output
+format.date output
+new.block
+note output
+fin.entry
+empty.misc.check
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.btitle "title" output.check
+new.block
+"\abphrase{18}" format.thesis.type output.nonnull
+new.clause
+school "school" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {proceedings}
+{ output.bibitem
+editor empty$
+{ organization output }
+{ format.editors output.nonnull }
+if$
+new.block
+format.btitle "title" output.check
+volume new.clause.checka
+format.bvolume output
+number series new.clause.checkb
+format.number.series output
+address empty$
+{ editor empty$
+{ publisher new.sentence.checka }
+{ organization publisher new.sentence.checkb
+organization output
+publisher new.clause.checka
+}
+if$
+publisher output
+format.date "year" output.check
+}
+{ new.clause
+address output.nonnull
+format.date "year" output.check
+new.sentence
+editor empty$
+'skip$
+{ organization output
+new.clause
+}
+if$
+publisher output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {techreport}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+number empty$
+{
+format.title "title" output.check
+new.block
+}
+'skip$
+if$
+format.tr.number output.nonnull
+new.clause
+institution "institution" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {unpublished}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+note "note" output.check
+format.date output
+fin.entry
+}
+FUNCTION {default.type} { misc }
+MACRO {jan} {"\abmonth{1}"}
+MACRO {feb} {"\abmonth{2}"}
+MACRO {mar} {"\abmonth{3}"}
+MACRO {apr} {"\abmonth{4}"}
+MACRO {may} {"\abmonth{5}"}
+MACRO {jun} {"\abmonth{6}"}
+MACRO {jul} {"\abmonth{7}"}
+MACRO {aug} {"\abmonth{8}"}
+MACRO {sep} {"\abmonth{9}"}
+MACRO {oct} {"\abmonth{10}"}
+MACRO {nov} {"\abmonth{11}"}
+MACRO {dec} {"\abmonth{12}"}
+MACRO {first} {"\abedition{1}"}
+MACRO {second} {"\abedition{2}"}
+MACRO {third} {"\abedition{3}"}
+MACRO {fourth} {"\abedition{4}"}
+MACRO {fifth} {"\abedition{5}"}
+MACRO {sixth} {"\abedition{6}"}
+MACRO {seventh} {"\abedition{7}"}
+MACRO {eighth} {"\abedition{8}"}
+MACRO {ninth} {"\abedition{9}"}
+MACRO {tenth} {"\abedition{10}"}
+MACRO {section} {"\abchapter{0}"}
+MACRO {paragraph} {"\abchapter{1}"}
+MACRO {appendix} {"\abchapter{2}"}
+MACRO {part} {"\abchapter{3}"}
+READ
+STRINGS { longest.label }
+INTEGERS { number.label longest.label.width }
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+#1 'number.label :=
+#0 'longest.label.width :=
+}
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+number.label #1 + 'number.label :=
+label width$ longest.label.width >
+{ label 'longest.label :=
+label width$ 'longest.label.width :=
+}
+'skip$
+if$
+}
+EXECUTE {initialize.longest.label}
+ITERATE {longest.label.pass}
+FUNCTION {begin.bib}
+{
+"\newif\ifabfull\abfullfalse" write$ newline$
+"\input apreambl" write$ newline$
+preamble$ empty$
+'skip$
+{ preamble$ write$ newline$ }
+if$
+"\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+"\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/abstyles-babel/aunsrt.bst b/biblio/bibtex/contrib/abstyles-babel/aunsrt.bst
new file mode 100644
index 0000000000..a610403e42
--- /dev/null
+++ b/biblio/bibtex/contrib/abstyles-babel/aunsrt.bst
@@ -0,0 +1,928 @@
+% BibTeX bibliography style `AUNSRT'
+ENTRY
+{ address
+author
+booktitle
+chapter
+edition
+editor
+howpublished
+institution
+journal
+key
+month
+note
+number
+organization
+pages
+publisher
+school
+series
+title
+type
+volume
+year
+}
+{}
+{ label }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block
+continue.sentence }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+#1 'mid.sentence :=
+#2 'after.sentence :=
+#3 'after.block :=
+#4 'continue.sentence :=
+}
+STRINGS { s t }
+FUNCTION {output.nonnull}
+{ 's :=
+output.state continue.sentence =
+{ " " * write$ }
+{ output.state mid.sentence =
+{ ", " * write$ }
+{ output.state after.block =
+{ add.period$ write$
+newline$
+"\newblock " write$
+}
+{ output.state before.all =
+'write$
+{ add.period$ " " * write$ }
+if$
+}
+if$
+}
+if$
+continue.sentence 'output.state :=
+}
+if$
+s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+'pop$
+'output.nonnull
+if$
+}
+FUNCTION {output.check}
+{ 't :=
+duplicate$ empty$
+{ pop$ "empty " t * " in " * cite$ * warning$ }
+'output.nonnull
+if$
+}
+FUNCTION {output.bibitem}
+{ newline$
+"\bibitem{" write$
+cite$ write$
+"}" write$
+newline$
+""
+before.all 'output.state :=
+}
+FUNCTION {fin.entry}
+{ add.period$
+write$
+newline$
+}
+FUNCTION {new.block}
+{ output.state before.all =
+'skip$
+{ after.block 'output.state := }
+if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+'skip$
+{ output.state before.all =
+'skip$
+{ after.sentence 'output.state := }
+if$
+}
+if$
+}
+FUNCTION {new.clause}
+{ output.state after.sentence =
+'skip$
+{ output.state after.block =
+'skip$
+{ output.state before.all =
+'skip$
+{ mid.sentence 'output.state := }
+if$
+}
+if$
+}
+if$
+}
+FUNCTION {not}
+{ { #0 }
+{ #1 }
+if$
+}
+FUNCTION {and}
+{ 'skip$
+{ pop$ #0 }
+if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+'skip$
+if$
+}
+FUNCTION {new.block.checka}
+{ empty$
+'skip$
+'new.block
+if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.block
+if$
+}
+FUNCTION {new.sentence.checka}
+{ empty$
+'skip$
+'new.sentence
+if$
+}
+FUNCTION {new.sentence.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.sentence
+if$
+}
+FUNCTION {new.clause.checka}
+{ empty$
+'skip$
+'new.clause
+if$
+}
+FUNCTION {new.clause.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.clause
+if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+{ pop$ "" }
+'skip$
+if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{2}{" swap$ * "}" * }
+if$
+}
+FUNCTION {capitalize}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{0}{" swap$ * "}" * }
+if$
+}
+FUNCTION {boldface}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{3}{" swap$ * "}" * }
+if$
+}
+FUNCTION {quote}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{1}{" swap$ * "}" * }
+if$
+}
+FUNCTION {parentheses}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{5}{" swap$ * "}" * }
+if$
+}
+INTEGERS { nameptr namesleft numnames }
+FUNCTION {format.names}
+{ 's :=
+#1 'nameptr :=
+s num.names$ 'numnames :=
+numnames 'namesleft :=
+{ namesleft #0 > }
+{ s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+nameptr #1 >
+{ namesleft #1 >
+{ ", " * t * }
+{ numnames #2 >
+{ "\abphrase{1}" * }
+'skip$
+if$
+t "others" =
+{ "\abphrase{2}" * }
+{ "\abphrase{0}" * t * }
+if$
+}
+if$
+}
+'t
+if$
+nameptr #1 + 'nameptr :=
+namesleft #1 - 'namesleft :=
+}
+while$
+}
+FUNCTION {format.authors}
+{ author empty$
+{ "" }
+{ author format.names capitalize }
+if$
+}
+FUNCTION {format.editors}
+{ editor empty$
+{ "" }
+{ editor format.names capitalize
+editor num.names$ #1 >
+{ "\abphrase{3}" * }
+{ "\abphrase{4}" * }
+if$
+}
+if$
+}
+FUNCTION {format.title}
+{ title empty$
+{ "" }
+{ title "t" change.case$ }
+if$
+}
+FUNCTION {n.dashify}
+{ 't :=
+""
+{ t empty$ not }
+{ t #1 #1 substring$ "-" =
+{ t #1 #2 substring$ "--" = not
+{ "--" *
+t #2 global.max$ substring$ 't :=
+}
+{ { t #1 #1 substring$ "-" = }
+{ "-" *
+t #2 global.max$ substring$ 't :=
+}
+while$
+}
+if$
+}
+{ t #1 #1 substring$ *
+t #2 global.max$ substring$ 't :=
+}
+if$
+}
+while$
+}
+FUNCTION {format.date}
+{ year empty$
+{ month empty$
+{ "" }
+{ "there's a month but no year in " cite$ * warning$
+month parentheses
+}
+if$
+}
+{ month empty$
+{ year parentheses }
+{ month " " * year * parentheses }
+if$
+}
+if$
+}
+FUNCTION {format.btitle}
+{ title quote
+}
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+{ "~" }
+{ " " }
+if$
+swap$ * *
+}
+FUNCTION {either.or.check}
+{ empty$
+'pop$
+{ "can't use both " swap$ * " fields in " * cite$ * warning$ }
+if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+{ "" }
+{ "\abphrase{8}" volume tie.or.space.connect
+series empty$
+'skip$
+{ "\abphrase{5}" * series quote * }
+if$
+"volume and number" number either.or.check
+}
+if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+{ number empty$
+{ series field.or.null }
+{ output.state mid.sentence = output.state continue.sentence = or
+{ "\abphrase{10}" }
+{ "\abphrase{11}" }
+if$
+number tie.or.space.connect
+series empty$
+{ "there's a number but no series in " cite$ * warning$ }
+{ "\abphrase{6}" * series * }
+if$
+}
+if$
+}
+{ "" }
+if$
+}
+FUNCTION {format.edition}
+{ edition empty$
+{ "" }
+{ output.state mid.sentence = output.state continue.sentence = or
+{ edition "l" change.case$ "\abphrase{12}" * }
+{ edition "t" change.case$ "\abphrase{12}" * }
+if$
+}
+if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+#0 'multiresult :=
+{ multiresult not
+t empty$ not
+and
+}
+{ t #1 #1 substring$
+duplicate$ "-" =
+swap$ duplicate$ "," =
+swap$ "+" =
+or or
+{ #1 'multiresult := }
+{ t #2 global.max$ substring$ 't := }
+if$
+}
+while$
+multiresult
+}
+FUNCTION {format.pages}
+{ pages empty$
+{ "" }
+{ pages multi.page.check
+{ "\abphrase{13}" pages n.dashify tie.or.space.connect }
+{ "\abphrase{14}" pages tie.or.space.connect }
+if$
+}
+if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null boldface
+number empty$
+'skip$
+{ "\abtype{4}{" number * "}" * *
+volume empty$
+{ "there's a number but no volume in " cite$ * warning$ }
+'skip$
+if$
+}
+if$
+pages empty$
+'skip$
+{ duplicate$ empty$
+{ pop$ format.pages }
+{ ", " * pages n.dashify * }
+if$
+}
+if$
+}
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+'format.pages
+{ type empty$
+{ "\abphrase{15}" }
+{ type "l" change.case$ }
+if$
+chapter tie.or.space.connect
+pages empty$
+'skip$
+{ ", " * format.pages * }
+if$
+}
+if$
+}
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+{ "" }
+{ editor empty$
+{ "\abphrase{7}" booktitle quote * }
+{ "\abphrase{7}" format.editors * ", " * booktitle quote * }
+if$
+}
+if$
+}
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+month empty$ year empty$ note empty$
+and and and and and
+{ "all relevant fields are empty in " cite$ * warning$ }
+'skip$
+if$
+}
+FUNCTION {format.thesis.type}
+{ type empty$
+'skip$
+{ pop$
+type "t" change.case$
+}
+if$
+}
+FUNCTION {format.tr.number}
+{ type empty$
+{ "\abphrase{16}" }
+'type
+if$
+number empty$
+{ "t" change.case$ }
+{ number tie.or.space.connect }
+if$
+}
+FUNCTION {format.article.crossref}
+{ key empty$
+{ journal empty$
+{ "need key or journal for " cite$ * " to crossref " * crossref *
+warning$
+""
+}
+{ "\abphrase{7}" journal emphasize * }
+if$
+}
+{ "\abphrase{7}" key * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+editor num.names$ duplicate$
+#2 >
+{ pop$ "\abphrase{2}" * }
+{ #2 <
+'skip$
+{ editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+{ "\abphrase{2}" * }
+{ "\abphrase{0}" * editor #2 "{vv~}{ll}" format.name$ * }
+if$
+}
+if$
+}
+if$
+}
+FUNCTION {format.book.crossref}
+{ volume empty$
+{ "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+"\abphrase{7}"
+}
+{ "\abphrase{9}" volume tie.or.space.connect
+"\abphrase{5}" *
+}
+if$
+editor empty$
+editor field.or.null author field.or.null =
+or
+{ key empty$
+{ series empty$
+{ "need editor, key, or series for " cite$ * " to crossref " *
+crossref * warning$
+"" *
+}
+{ series quote * }
+if$
+}
+{ key * }
+if$
+}
+{ format.crossref.editor * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+editor field.or.null author field.or.null =
+or
+{ key empty$
+{ booktitle empty$
+{ "need editor, key, or booktitle for " cite$ * " to crossref " *
+crossref * warning$
+""
+}
+{ "\abphrase{7}" booktitle quote * }
+if$
+}
+{ "\abphrase{7}" key * }
+if$
+}
+{ "\abphrase{7}" format.crossref.editor * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {article}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+crossref missing$
+{ journal emphasize "journal" output.check
+format.vol.num.pages output
+format.date "year" output.check
+}
+{ format.article.crossref output.nonnull
+new.clause
+format.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+author empty$
+{ format.editors "author and editor" output.check }
+{ format.authors output.nonnull
+crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+if$
+}
+if$
+new.block
+format.btitle "title" output.check
+crossref missing$
+{ new.clause
+format.bvolume output
+new.block
+format.number.series output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+}
+{ new.block
+format.book.crossref output.nonnull
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+format.authors output
+new.block
+format.title "title" output.check
+howpublished address new.block.checkb
+howpublished output
+address new.clause.checka
+address output
+format.date output
+new.block
+note output
+fin.entry
+}
+FUNCTION {inbook}
+{ output.bibitem
+author empty$
+{ format.editors "author and editor" output.check }
+{ format.authors output.nonnull
+crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+if$
+}
+if$
+new.block
+format.btitle "title" output.check
+new.clause
+crossref missing$
+{ format.bvolume output
+new.clause
+format.chapter.pages "chapter and pages" output.check
+new.block
+format.number.series output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+}
+{ format.chapter.pages "chapter and pages" output.check
+new.block
+format.book.crossref output.nonnull
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {incollection}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+crossref missing$
+{ format.in.ed.booktitle "booktitle" output.check
+new.clause
+format.bvolume output
+new.clause
+format.number.series output
+new.clause
+format.chapter.pages output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+}
+{ format.incoll.inproc.crossref output.nonnull
+new.clause
+format.chapter.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+crossref missing$
+{ format.in.ed.booktitle "booktitle" output.check
+volume new.clause.checka
+format.bvolume output
+number series new.clause.checkb
+format.number.series output
+pages new.clause.checka
+format.pages output
+address empty$
+{ organization publisher new.sentence.checkb
+organization output
+publisher new.clause.checka
+publisher output
+format.date "year" output.check
+}
+{ new.clause
+address output.nonnull
+format.date "year" output.check
+new.sentence
+organization output
+new.clause
+publisher output
+}
+if$
+}
+{ format.incoll.inproc.crossref output.nonnull
+new.clause
+format.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+author empty$
+{ organization empty$
+'skip$
+{ organization output.nonnull
+new.clause
+address output
+}
+if$
+}
+{ format.authors output.nonnull }
+if$
+new.block
+format.btitle "title" output.check
+author empty$
+{ organization empty$
+{ address new.block.checka
+address output
+}
+'skip$
+if$
+}
+{ organization address new.block.checkb
+organization output
+address new.clause.checka
+address output
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date output
+new.block
+note output
+fin.entry
+}
+FUNCTION {mastersthesis}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+"\abphrase{17}" format.thesis.type output.nonnull
+new.clause
+school "school" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {misc}
+{ output.bibitem
+format.authors output
+title howpublished new.block.checkb
+format.title output
+howpublished new.block.checka
+howpublished output
+format.date output
+new.block
+note output
+fin.entry
+empty.misc.check
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.btitle "title" output.check
+new.block
+"\abphrase{18}" format.thesis.type output.nonnull
+new.clause
+school "school" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {proceedings}
+{ output.bibitem
+editor empty$
+{ organization output }
+{ format.editors output.nonnull }
+if$
+new.block
+format.btitle "title" output.check
+volume new.clause.checka
+format.bvolume output
+number series new.clause.checkb
+format.number.series output
+address empty$
+{ editor empty$
+{ publisher new.sentence.checka }
+{ organization publisher new.sentence.checkb
+organization output
+publisher new.clause.checka
+}
+if$
+publisher output
+format.date "year" output.check
+}
+{ new.clause
+address output.nonnull
+format.date "year" output.check
+new.sentence
+editor empty$
+'skip$
+{ organization output
+new.clause
+}
+if$
+publisher output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {techreport}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+format.tr.number output.nonnull
+new.clause
+institution "institution" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {unpublished}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+note "note" output.check
+format.date output
+fin.entry
+}
+FUNCTION {default.type} { misc }
+MACRO {jan} {"\abmonth{1}"}
+MACRO {feb} {"\abmonth{2}"}
+MACRO {mar} {"\abmonth{3}"}
+MACRO {apr} {"\abmonth{4}"}
+MACRO {may} {"\abmonth{5}"}
+MACRO {jun} {"\abmonth{6}"}
+MACRO {jul} {"\abmonth{7}"}
+MACRO {aug} {"\abmonth{8}"}
+MACRO {sep} {"\abmonth{9}"}
+MACRO {oct} {"\abmonth{10}"}
+MACRO {nov} {"\abmonth{11}"}
+MACRO {dec} {"\abmonth{12}"}
+MACRO {first} {"\abedition{1}"}
+MACRO {second} {"\abedition{2}"}
+MACRO {third} {"\abedition{3}"}
+MACRO {fourth} {"\abedition{4}"}
+MACRO {fifth} {"\abedition{5}"}
+MACRO {sixth} {"\abedition{6}"}
+MACRO {seventh} {"\abedition{7}"}
+MACRO {eighth} {"\abedition{8}"}
+MACRO {ninth} {"\abedition{9}"}
+MACRO {tenth} {"\abedition{10}"}
+MACRO {section} {"\abchapter{0}"}
+MACRO {paragraph} {"\abchapter{1}"}
+MACRO {appendix} {"\abchapter{2}"}
+MACRO {part} {"\abchapter{3}"}
+READ
+STRINGS { longest.label }
+INTEGERS { number.label longest.label.width }
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+#1 'number.label :=
+#0 'longest.label.width :=
+}
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+number.label #1 + 'number.label :=
+label width$ longest.label.width >
+{ label 'longest.label :=
+label width$ 'longest.label.width :=
+}
+'skip$
+if$
+}
+EXECUTE {initialize.longest.label}
+ITERATE {longest.label.pass}
+FUNCTION {begin.bib}
+{
+"\newif\ifabfull\abfulltrue" write$ newline$
+"\input apreambl" write$ newline$
+preamble$ empty$
+'skip$
+{ preamble$ write$ newline$ }
+if$
+"\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+"\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/abstyles/README b/biblio/bibtex/contrib/abstyles/README
new file mode 100644
index 0000000000..fdaf313356
--- /dev/null
+++ b/biblio/bibtex/contrib/abstyles/README
@@ -0,0 +1,140 @@
+ -*-Text-*-
+This is the BibTeX `adaptable' family of style files, version 1.10 as of
+April 1992, derived from the `plain' family by Hans-Hermann Bode. It allows
+setting of certain style parameters and definition of phrases without
+changing the style files, thus a multiple-language support is provided and
+the user may adapt the bibliography layout to his or her requirements within
+some limits.
+
+Send suggestions and bug reports to HHBODE@DOSUNI1.BITNET.
+
+This directory contains the following files:
+
+./README this file
+./btxabst.doc master file for creating the bst files
+./aplain.bst adaptable style, `plain' version
+./aabbrv.bst adaptable style, `abbreviated' version
+./aunsrt.bst adaptable style, `unsorted' version
+./aalpha.bst adaptable style, `alphanumeric' version
+./anotit.bst adaptable style, `no titles' version
+./aunsnot.bst adaptable style, `unsorted/no titles' version
+./apreambl.doc preamble file, documentation
+./apreambl.tex preamble file, to be input at the beginning of the bibliography
+./jourabbr.bib journal names, abbreviated version
+./jourfull.bib journal names, full version
+./acompat.bib compatibility definitions for use with standard styles
+./abstdok.tex documentation of the adaptable family (in German)
+./abstdok.bbl bibliography for abstdok
+./a4c.sty definition of length parameters for DIN-A4 paper, LaTeX version
+./a4c.tex definition of length parameters for DIN-A4 paper, WEB version
+./docmac.doc documentation of documentation macros (indeed!)
+./docmac.tex documentation macros
+
+*** Installation -------------------------------------------------------------
+
+To get a working adaptable-styles system you have to copy the following
+files into special directories.
+
+-- Copy all *.bst files into a directory where BibTeX looks for style files.
+This will usually be a directory in the TEXINPUT(S) path, i.e., in the same
+path where TeX looks for its input files.
+
+-- Copy apreambl.tex into a directory where TeX looks for its input files,
+see above.
+
+-- Copy all *.bib files into a directory where BibTeX looks for bibliography
+databases. This will usually be a directory in the BIBINPUT(S) path.
+
+Optionally, you may copy a4c.* and docmac.tex into a directory in the
+TEXINPUT(S) path. These files will be needed when printing the
+documentation; they may be useful, however, for other applications as well.
+
+*** Printing the documentation -----------------------------------------------
+
+The main documentation is a LaTeX source in abstdok.tex. Run LaTeX on this
+file twice (for resolving cross references) and make sure that apreambl.tex,
+abstdok.bbl, and a4c.sty can be loaded. In addition, the file german.sty is
+required; it is not included in this distribution, since you should be able
+to get it from every good TeX server (at least in Germany). The style file
+a4c.sty will set up length parameters so that the document will come out
+centered with margins of 2 cm on each side of a DIN-A4 sheet; if this
+doesn't fit to your paper format, you may want to edit this file first.
+Unfortunately, this documentation is written in German (which is due to the
+fact that European people sometimes get nostalgic and switch to their native
+language); if you feel the need to translate this into English, don't
+hesitate to do so (and send me the file, so I can include it into the next
+distribution).
+
+The definition of the adaptable parameters is discussed in apreambl.doc (in
+English, yes). Run this through TeX (not LaTeX, and don't forget the .doc
+extension!) and make sure that a4c.tex and docmac.tex can be loaded. The
+file a4c.tex corresponds to a4c.sty above, and docmac.tex contains macros
+for typesetting a WEB-style documentation. In fact, apreambl.tex is derived
+from apreambl.doc by means of Joachim Schrod's MAKEPROG system, which is a
+general documentation tool much similar to the WEB system of structured
+documentation; docmac.tex is an enhancement of MAKEPROG's macro package
+progdoc.tex which makes the documentation layout more ``WEB-like''. If you
+want to change some of the adaptable parameters, the best way to do it is to
+get MAKEPROG (it should be available from the same source as the adaptable
+style files) and write a changefile to apreambl.doc. Then there is a good
+chance that you can apply your changes to future versions of this
+distribution without major modifications. Moreover, you can use MAKEPROG and
+docmac.tex for your own developments, it's worth a try! (In this case you may
+want to look at docmac's documentation: just run TeX on docmac.doc and make
+sure that docmac.tex is loadable.)
+
+Further documentation is provided in plain-text form in the files
+jourabbr.bib, jourfull.bib, and acompat.bib. You may want to edit the first
+two of them to add more journal names or other general stuff that should be
+defined at the beginning of your bibliographies.
+
+*** Usage hints (VERY brief) -------------------------------------------------
+
+It is assumed that you are familiar with the BibTeX philosophy and the
+standard style files, so here is a short description what you have to do in
+addition to use the adaptable styles.
+
+Choose one of the styles aplain, aabbrv, aunsrt, aalpha, anotit, or aunsnot
+(the first four are the adaptable versions of the corresponding standard
+styles, anotit is like aabbrv but omits titles of articles and some other
+redundant information, aunsnot is like anotit but doesn't sort the
+bibliography) and put a statement like
+
+ \bibliographystyle{aplain}
+
+somewhere into your document.
+
+Make sure that apreambl.tex is input before the \bibliography command is
+executed. The easiest way to do so is to include jourfull or jourabbr at the
+beginning of your \bibliography list. The file apreambl.tex carries out all
+parameter settings and switches between `full' and `abbreviated' as well as
+English and German versions of phrases automatically. The version it selects
+depends on the bibliography style and on the fact whether german.sty is
+loaded or not. The databases jourfull.bib and jourabbr.bib will load
+apreambl.tex and, furthermore, will define all strings that are lacking in
+the adaptable styles in comparison with the standard styles; hence, with
+this files you can use your old databases without changes, and---as
+mentioned above---this is the right place to add your own general
+definitions. So, a typical \bibliography command should look like
+
+ \bibliography{jourfull,user1,user2,user3}
+
+where user1, user2, and user3 are your private bibliography databases.
+
+If you ever feel the need to use one of the standard styles again, your
+databases---due to the use of special features of the adaptable styles---may
+not be compatible any more. The compatibility can be restored by means of
+acompat.bib, which defines all additional strings of the adaptable styles
+and should be included at the very beginning of the \bibliography list, e.g.,
+
+ \bibliography{acompat,jourfull,user1,user2,user3}\bibliographystyle{plain}
+
+Of course, acompat is not required for use with the adaptable styles alone.
+
+*** Correction ---------------------------------------------------------------
+
+In parts of the documentation, the files apreambl.doc and apreambl.tex are
+referred to as apreamble.doc and apreamble.tex. The names were shortened to
+avoid difficulties with some operating systems with low-length file names.
+
+ --H2B
diff --git a/biblio/bibtex/contrib/abstyles/a4c.sty b/biblio/bibtex/contrib/abstyles/a4c.sty
new file mode 100644
index 0000000000..7d407b75d1
--- /dev/null
+++ b/biblio/bibtex/contrib/abstyles/a4c.sty
@@ -0,0 +1,27 @@
+% This is A4C.STY, a LaTeX style file written by Hans-Hermann Bode
+% (HHBODE@DOSUNI1.BITNET), that sets up a page layout appropriate for DIN-A4
+% paper sheets (210 mm x 297 mm).
+%
+% The text is horizontally centered with margins of 2 cm left and right.
+%
+% It is assumed, that the DVI driver sets margins of 1 in left and top.
+%
+% Version Date Author Comment
+% 1.00 08 Sep 1991 H2B First version
+
+\textwidth21cm % full paper
+\textheight29.7cm
+
+\oddsidemargin2cm % margins
+\evensidemargin\oddsidemargin
+\topmargin2cm
+
+\addtolength{\textwidth}{-\oddsidemargin} % odd/left or even/right margin
+\addtolength{\textwidth}{-\evensidemargin} % odd/right or even/left margin
+\addtolength{\textheight}{-2\topmargin} % top and bottom margin
+\addtolength{\textheight}{-\headheight}
+\addtolength{\textheight}{-\headsep}
+\addtolength{\textheight}{-\footskip}
+
+\hoffset-1in % compensate the driver margins
+\voffset-1in
diff --git a/biblio/bibtex/contrib/abstyles/a4c.tex b/biblio/bibtex/contrib/abstyles/a4c.tex
new file mode 100644
index 0000000000..ae619c66ab
--- /dev/null
+++ b/biblio/bibtex/contrib/abstyles/a4c.tex
@@ -0,0 +1,30 @@
+% This is A4C.TEX, a TeX macro file for WEB written by Hans-Hermann Bode
+% (HHBODE@DOSUNI1.BITNET), that sets up a page layout appropriate for DIN-A4
+% paper sheets (210 mm x 297 mm).
+%
+% The text is horizontally centered with margins of 2 cm left and right.
+%
+% It is assumed, that the DVI driver sets margins of 1 in left and top.
+%
+% Version Date Author Comment
+% 1.00 08 Sep 1991 H2B First version
+% 1.00a 28 Sep 1991 H2B Correction: missing setpage included
+
+\pagewidth21cm % full paper
+\fullpageheight29.7cm
+
+\hoffset2cm % left margin
+\pageshift0cm % additionally for odd-numbered pages
+\voffset2cm % top margin
+
+\advance\pagewidth by-2\hoffset % minus margins
+\advance\pagewidth by-2\pageshift % minus extra margins
+\advance\fullpageheight by-2\voffset % minus margins
+
+\pageheight\fullpageheight % full text
+\advance\pageheight by-0.3in % minus header
+
+\advance\hoffset by-1in % compensate the driver margins
+\advance\voffset by-1in
+
+\setpage % tell TeX new dimensions
diff --git a/biblio/bibtex/contrib/abstyles/aabbrv.bst b/biblio/bibtex/contrib/abstyles/aabbrv.bst
new file mode 100644
index 0000000000..05f9a96843
--- /dev/null
+++ b/biblio/bibtex/contrib/abstyles/aabbrv.bst
@@ -0,0 +1,1061 @@
+% BibTeX bibliography style `AABBRV'
+ENTRY
+{ address
+author
+booktitle
+chapter
+edition
+editor
+howpublished
+institution
+journal
+key
+month
+note
+number
+organization
+pages
+publisher
+school
+series
+title
+type
+volume
+year
+}
+{}
+{ label }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block
+continue.sentence }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+#1 'mid.sentence :=
+#2 'after.sentence :=
+#3 'after.block :=
+#4 'continue.sentence :=
+}
+STRINGS { s t }
+FUNCTION {output.nonnull}
+{ 's :=
+output.state continue.sentence =
+{ " " * write$ }
+{ output.state mid.sentence =
+{ ", " * write$ }
+{ output.state after.block =
+{ add.period$ write$
+newline$
+"\newblock " write$
+}
+{ output.state before.all =
+'write$
+{ add.period$ " " * write$ }
+if$
+}
+if$
+}
+if$
+continue.sentence 'output.state :=
+}
+if$
+s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+'pop$
+'output.nonnull
+if$
+}
+FUNCTION {output.check}
+{ 't :=
+duplicate$ empty$
+{ pop$ "empty " t * " in " * cite$ * warning$ }
+'output.nonnull
+if$
+}
+FUNCTION {output.bibitem}
+{ newline$
+"\bibitem{" write$
+cite$ write$
+"}" write$
+newline$
+""
+before.all 'output.state :=
+}
+FUNCTION {fin.entry}
+{ add.period$
+write$
+newline$
+}
+FUNCTION {new.block}
+{ output.state before.all =
+'skip$
+{ after.block 'output.state := }
+if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+'skip$
+{ output.state before.all =
+'skip$
+{ after.sentence 'output.state := }
+if$
+}
+if$
+}
+FUNCTION {new.clause}
+{ output.state after.sentence =
+'skip$
+{ output.state after.block =
+'skip$
+{ output.state before.all =
+'skip$
+{ mid.sentence 'output.state := }
+if$
+}
+if$
+}
+if$
+}
+FUNCTION {not}
+{ { #0 }
+{ #1 }
+if$
+}
+FUNCTION {and}
+{ 'skip$
+{ pop$ #0 }
+if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+'skip$
+if$
+}
+FUNCTION {new.block.checka}
+{ empty$
+'skip$
+'new.block
+if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.block
+if$
+}
+FUNCTION {new.sentence.checka}
+{ empty$
+'skip$
+'new.sentence
+if$
+}
+FUNCTION {new.sentence.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.sentence
+if$
+}
+FUNCTION {new.clause.checka}
+{ empty$
+'skip$
+'new.clause
+if$
+}
+FUNCTION {new.clause.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.clause
+if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+{ pop$ "" }
+'skip$
+if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{2}{" swap$ * "}" * }
+if$
+}
+FUNCTION {capitalize}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{0}{" swap$ * "}" * }
+if$
+}
+FUNCTION {boldface}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{3}{" swap$ * "}" * }
+if$
+}
+FUNCTION {quote}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{1}{" swap$ * "}" * }
+if$
+}
+FUNCTION {parentheses}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{5}{" swap$ * "}" * }
+if$
+}
+INTEGERS { nameptr namesleft numnames }
+FUNCTION {format.names}
+{ 's :=
+#1 'nameptr :=
+s num.names$ 'numnames :=
+numnames 'namesleft :=
+{ namesleft #0 > }
+{ s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+nameptr #1 >
+{ namesleft #1 >
+{ ", " * t * }
+{ numnames #2 >
+{ "\abphrase{1}" * }
+'skip$
+if$
+t "others" =
+{ "\abphrase{2}" * }
+{ "\abphrase{0}" * t * }
+if$
+}
+if$
+}
+'t
+if$
+nameptr #1 + 'nameptr :=
+namesleft #1 - 'namesleft :=
+}
+while$
+}
+FUNCTION {format.authors}
+{ author empty$
+{ "" }
+{ author format.names capitalize }
+if$
+}
+FUNCTION {format.editors}
+{ editor empty$
+{ "" }
+{ editor format.names capitalize
+editor num.names$ #1 >
+{ "\abphrase{3}" * }
+{ "\abphrase{4}" * }
+if$
+}
+if$
+}
+FUNCTION {format.title}
+{ title empty$
+{ "" }
+{ title "t" change.case$ }
+if$
+}
+FUNCTION {n.dashify}
+{ 't :=
+""
+{ t empty$ not }
+{ t #1 #1 substring$ "-" =
+{ t #1 #2 substring$ "--" = not
+{ "--" *
+t #2 global.max$ substring$ 't :=
+}
+{ { t #1 #1 substring$ "-" = }
+{ "-" *
+t #2 global.max$ substring$ 't :=
+}
+while$
+}
+if$
+}
+{ t #1 #1 substring$ *
+t #2 global.max$ substring$ 't :=
+}
+if$
+}
+while$
+}
+FUNCTION {format.date}
+{ year empty$
+{ month empty$
+{ "" }
+{ "there's a month but no year in " cite$ * warning$
+month parentheses
+}
+if$
+}
+{ month empty$
+{ year parentheses }
+{ month " " * year * parentheses }
+if$
+}
+if$
+}
+FUNCTION {format.btitle}
+{ title quote
+}
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+{ "~" }
+{ " " }
+if$
+swap$ * *
+}
+FUNCTION {either.or.check}
+{ empty$
+'pop$
+{ "can't use both " swap$ * " fields in " * cite$ * warning$ }
+if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+{ "" }
+{ "\abphrase{8}" volume tie.or.space.connect
+series empty$
+'skip$
+{ "\abphrase{5}" * series quote * }
+if$
+"volume and number" number either.or.check
+}
+if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+{ number empty$
+{ series field.or.null }
+{ output.state mid.sentence = output.state continue.sentence = or
+{ "\abphrase{10}" }
+{ "\abphrase{11}" }
+if$
+number tie.or.space.connect
+series empty$
+{ "there's a number but no series in " cite$ * warning$ }
+{ "\abphrase{6}" * series * }
+if$
+}
+if$
+}
+{ "" }
+if$
+}
+FUNCTION {format.edition}
+{ edition empty$
+{ "" }
+{ output.state mid.sentence = output.state continue.sentence = or
+{ edition "l" change.case$ "\abphrase{12}" * }
+{ edition "t" change.case$ "\abphrase{12}" * }
+if$
+}
+if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+#0 'multiresult :=
+{ multiresult not
+t empty$ not
+and
+}
+{ t #1 #1 substring$
+duplicate$ "-" =
+swap$ duplicate$ "," =
+swap$ "+" =
+or or
+{ #1 'multiresult := }
+{ t #2 global.max$ substring$ 't := }
+if$
+}
+while$
+multiresult
+}
+FUNCTION {format.pages}
+{ pages empty$
+{ "" }
+{ pages multi.page.check
+{ "\abphrase{13}" pages n.dashify tie.or.space.connect }
+{ "\abphrase{14}" pages tie.or.space.connect }
+if$
+}
+if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null boldface
+number empty$
+'skip$
+{ "\abtype{4}{" number * "}" * *
+volume empty$
+{ "there's a number but no volume in " cite$ * warning$ }
+'skip$
+if$
+}
+if$
+pages empty$
+'skip$
+{ duplicate$ empty$
+{ pop$ format.pages }
+{ ", " * pages n.dashify * }
+if$
+}
+if$
+}
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+'format.pages
+{ type empty$
+{ "\abphrase{15}" }
+{ type "l" change.case$ }
+if$
+chapter tie.or.space.connect
+pages empty$
+'skip$
+{ ", " * format.pages * }
+if$
+}
+if$
+}
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+{ "" }
+{ editor empty$
+{ "\abphrase{7}" booktitle quote * }
+{ "\abphrase{7}" format.editors * ", " * booktitle quote * }
+if$
+}
+if$
+}
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+month empty$ year empty$ note empty$
+and and and and and
+key empty$ not and
+{ "all relevant fields are empty in " cite$ * warning$ }
+'skip$
+if$
+}
+FUNCTION {format.thesis.type}
+{ type empty$
+'skip$
+{ pop$
+type "t" change.case$
+}
+if$
+}
+FUNCTION {format.tr.number}
+{ type empty$
+{ "\abphrase{16}" }
+'type
+if$
+number empty$
+{ "t" change.case$ }
+{ number tie.or.space.connect }
+if$
+}
+FUNCTION {format.article.crossref}
+{ key empty$
+{ journal empty$
+{ "need key or journal for " cite$ * " to crossref " * crossref *
+warning$
+""
+}
+{ "\abphrase{7}" journal emphasize * }
+if$
+}
+{ "\abphrase{7}" key * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+editor num.names$ duplicate$
+#2 >
+{ pop$ "\abphrase{2}" * }
+{ #2 <
+'skip$
+{ editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+{ "\abphrase{2}" * }
+{ "\abphrase{0}" * editor #2 "{vv~}{ll}" format.name$ * }
+if$
+}
+if$
+}
+if$
+}
+FUNCTION {format.book.crossref}
+{ volume empty$
+{ "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+"\abphrase{7}"
+}
+{ "\abphrase{9}" volume tie.or.space.connect
+"\abphrase{5}" *
+}
+if$
+editor empty$
+editor field.or.null author field.or.null =
+or
+{ key empty$
+{ series empty$
+{ "need editor, key, or series for " cite$ * " to crossref " *
+crossref * warning$
+"" *
+}
+{ series quote * }
+if$
+}
+{ key * }
+if$
+}
+{ format.crossref.editor * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+editor field.or.null author field.or.null =
+or
+{ key empty$
+{ booktitle empty$
+{ "need editor, key, or booktitle for " cite$ * " to crossref " *
+crossref * warning$
+""
+}
+{ "\abphrase{7}" booktitle quote * }
+if$
+}
+{ "\abphrase{7}" key * }
+if$
+}
+{ "\abphrase{7}" format.crossref.editor * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {article}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+crossref missing$
+{ journal emphasize "journal" output.check
+format.vol.num.pages output
+format.date "year" output.check
+}
+{ format.article.crossref output.nonnull
+new.clause
+format.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+author empty$
+{ format.editors "author and editor" output.check }
+{ format.authors output.nonnull
+crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+if$
+}
+if$
+new.block
+format.btitle "title" output.check
+crossref missing$
+{ new.clause
+format.bvolume output
+new.block
+format.number.series output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+}
+{ new.block
+format.book.crossref output.nonnull
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+format.authors output
+new.block
+format.title "title" output.check
+howpublished address new.block.checkb
+howpublished output
+address new.clause.checka
+address output
+format.date output
+new.block
+note output
+fin.entry
+}
+FUNCTION {inbook}
+{ output.bibitem
+author empty$
+{ format.editors "author and editor" output.check }
+{ format.authors output.nonnull
+crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+if$
+}
+if$
+new.block
+format.btitle "title" output.check
+new.clause
+crossref missing$
+{ format.bvolume output
+new.clause
+format.chapter.pages "chapter and pages" output.check
+new.block
+format.number.series output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+}
+{ format.chapter.pages "chapter and pages" output.check
+new.block
+format.book.crossref output.nonnull
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {incollection}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+crossref missing$
+{ format.in.ed.booktitle "booktitle" output.check
+new.clause
+format.bvolume output
+new.clause
+format.number.series output
+new.clause
+format.chapter.pages output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+}
+{ format.incoll.inproc.crossref output.nonnull
+new.clause
+format.chapter.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+crossref missing$
+{ format.in.ed.booktitle "booktitle" output.check
+volume new.clause.checka
+format.bvolume output
+number series new.clause.checkb
+format.number.series output
+pages new.clause.checka
+format.pages output
+address empty$
+{ organization publisher new.sentence.checkb
+organization output
+publisher new.clause.checka
+publisher output
+format.date "year" output.check
+}
+{ new.clause
+address output.nonnull
+format.date "year" output.check
+new.sentence
+organization output
+new.clause
+publisher output
+}
+if$
+}
+{ format.incoll.inproc.crossref output.nonnull
+new.clause
+format.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+author empty$
+{ organization empty$
+'skip$
+{ organization output.nonnull
+new.clause
+address output
+}
+if$
+}
+{ format.authors output.nonnull }
+if$
+new.block
+format.btitle "title" output.check
+author empty$
+{ organization empty$
+{ address new.block.checka
+address output
+}
+'skip$
+if$
+}
+{ organization address new.block.checkb
+organization output
+address new.clause.checka
+address output
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date output
+new.block
+note output
+fin.entry
+}
+FUNCTION {mastersthesis}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+"\abphrase{17}" format.thesis.type output.nonnull
+new.clause
+school "school" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {misc}
+{ output.bibitem
+format.authors output
+title howpublished new.block.checkb
+format.title output
+howpublished new.block.checka
+howpublished output
+format.date output
+new.block
+note output
+fin.entry
+empty.misc.check
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.btitle "title" output.check
+new.block
+"\abphrase{18}" format.thesis.type output.nonnull
+new.clause
+school "school" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {proceedings}
+{ output.bibitem
+editor empty$
+{ organization output }
+{ format.editors output.nonnull }
+if$
+new.block
+format.btitle "title" output.check
+volume new.clause.checka
+format.bvolume output
+number series new.clause.checkb
+format.number.series output
+address empty$
+{ editor empty$
+{ publisher new.sentence.checka }
+{ organization publisher new.sentence.checkb
+organization output
+publisher new.clause.checka
+}
+if$
+publisher output
+format.date "year" output.check
+}
+{ new.clause
+address output.nonnull
+format.date "year" output.check
+new.sentence
+editor empty$
+'skip$
+{ organization output
+new.clause
+}
+if$
+publisher output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {techreport}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+format.tr.number output.nonnull
+new.clause
+institution "institution" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {unpublished}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+note "note" output.check
+format.date output
+fin.entry
+}
+FUNCTION {default.type} { misc }
+MACRO {jan} {"\abmonth{1}"}
+MACRO {feb} {"\abmonth{2}"}
+MACRO {mar} {"\abmonth{3}"}
+MACRO {apr} {"\abmonth{4}"}
+MACRO {may} {"\abmonth{5}"}
+MACRO {jun} {"\abmonth{6}"}
+MACRO {jul} {"\abmonth{7}"}
+MACRO {aug} {"\abmonth{8}"}
+MACRO {sep} {"\abmonth{9}"}
+MACRO {oct} {"\abmonth{10}"}
+MACRO {nov} {"\abmonth{11}"}
+MACRO {dec} {"\abmonth{12}"}
+MACRO {first} {"\abedition{1}"}
+MACRO {second} {"\abedition{2}"}
+MACRO {third} {"\abedition{3}"}
+MACRO {fourth} {"\abedition{4}"}
+MACRO {fifth} {"\abedition{5}"}
+MACRO {sixth} {"\abedition{6}"}
+MACRO {seventh} {"\abedition{7}"}
+MACRO {eighth} {"\abedition{8}"}
+MACRO {ninth} {"\abedition{9}"}
+MACRO {tenth} {"\abedition{10}"}
+MACRO {section} {"\abchapter{0}"}
+MACRO {paragraph} {"\abchapter{1}"}
+MACRO {appendix} {"\abchapter{2}"}
+MACRO {part} {"\abchapter{3}"}
+READ
+FUNCTION {sortify}
+{ purify$
+"l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+'len :=
+s #1 len substring$ =
+{ s len #1 + global.max$ substring$ }
+'s
+if$
+}
+FUNCTION {sort.format.names}
+{ 's :=
+#1 'nameptr :=
+""
+s num.names$ 'numnames :=
+numnames 'namesleft :=
+{ namesleft #0 > }
+{ nameptr #1 >
+{ " " * }
+'skip$
+if$
+s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't :=
+nameptr numnames = t "others" = and
+{ "et al" * }
+{ t sortify * }
+if$
+nameptr #1 + 'nameptr :=
+namesleft #1 - 'namesleft :=
+}
+while$
+}
+FUNCTION {sort.format.title}
+{ 't :=
+"A " #2
+"An " #3
+"The " #4 t chop.word
+chop.word
+chop.word
+sortify
+#1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+{ key empty$
+{ "to sort, need author or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+{ editor empty$
+{ key empty$
+{ "to sort, need author, editor, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ editor sort.format.names }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {author.organization.sort}
+{ author empty$
+{ organization empty$
+{ key empty$
+{ "to sort, need author, organization, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ "The " #4 organization chop.word sortify }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {editor.organization.sort}
+{ editor empty$
+{ organization empty$
+{ key empty$
+{ "to sort, need editor, organization, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ "The " #4 organization chop.word sortify }
+if$
+}
+{ editor sort.format.names }
+if$
+}
+FUNCTION {presort}
+{ type$ "book" =
+type$ "inbook" =
+or
+'author.editor.sort
+{ type$ "proceedings" =
+'editor.organization.sort
+{ type$ "manual" =
+'author.organization.sort
+'author.sort
+if$
+}
+if$
+}
+if$
+" "
+*
+year field.or.null sortify
+*
+" "
+*
+title field.or.null
+sort.format.title
+*
+#1 entry.max$ substring$
+'sort.key$ :=
+}
+ITERATE {presort}
+SORT
+STRINGS { longest.label }
+INTEGERS { number.label longest.label.width }
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+#1 'number.label :=
+#0 'longest.label.width :=
+}
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+number.label #1 + 'number.label :=
+label width$ longest.label.width >
+{ label 'longest.label :=
+label width$ 'longest.label.width :=
+}
+'skip$
+if$
+}
+EXECUTE {initialize.longest.label}
+ITERATE {longest.label.pass}
+FUNCTION {begin.bib}
+{
+"\newif\ifabfull\abfullfalse" write$ newline$
+preamble$ empty$
+'skip$
+{ preamble$ write$ newline$ }
+if$
+"\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+"\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/abstyles/aalpha.bst b/biblio/bibtex/contrib/abstyles/aalpha.bst
new file mode 100644
index 0000000000..2d5af5e6cf
--- /dev/null
+++ b/biblio/bibtex/contrib/abstyles/aalpha.bst
@@ -0,0 +1,1210 @@
+% BibTeX bibliography style `AALPHA'
+ENTRY
+{ address
+author
+booktitle
+chapter
+edition
+editor
+howpublished
+institution
+journal
+key
+month
+note
+number
+organization
+pages
+publisher
+school
+series
+title
+type
+volume
+year
+}
+{}
+{ label extra.label sort.label }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block
+continue.sentence }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+#1 'mid.sentence :=
+#2 'after.sentence :=
+#3 'after.block :=
+#4 'continue.sentence :=
+}
+STRINGS { s t }
+FUNCTION {output.nonnull}
+{ 's :=
+output.state continue.sentence =
+{ " " * write$ }
+{ output.state mid.sentence =
+{ ", " * write$ }
+{ output.state after.block =
+{ add.period$ write$
+newline$
+"\newblock " write$
+}
+{ output.state before.all =
+'write$
+{ add.period$ " " * write$ }
+if$
+}
+if$
+}
+if$
+continue.sentence 'output.state :=
+}
+if$
+s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+'pop$
+'output.nonnull
+if$
+}
+FUNCTION {output.check}
+{ 't :=
+duplicate$ empty$
+{ pop$ "empty " t * " in " * cite$ * warning$ }
+'output.nonnull
+if$
+}
+FUNCTION {output.bibitem}
+{ newline$
+"\bibitem[" write$
+label write$
+"]{" write$
+cite$ write$
+"}" write$
+newline$
+""
+before.all 'output.state :=
+}
+FUNCTION {fin.entry}
+{ add.period$
+write$
+newline$
+}
+FUNCTION {new.block}
+{ output.state before.all =
+'skip$
+{ after.block 'output.state := }
+if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+'skip$
+{ output.state before.all =
+'skip$
+{ after.sentence 'output.state := }
+if$
+}
+if$
+}
+FUNCTION {new.clause}
+{ output.state after.sentence =
+'skip$
+{ output.state after.block =
+'skip$
+{ output.state before.all =
+'skip$
+{ mid.sentence 'output.state := }
+if$
+}
+if$
+}
+if$
+}
+FUNCTION {not}
+{ { #0 }
+{ #1 }
+if$
+}
+FUNCTION {and}
+{ 'skip$
+{ pop$ #0 }
+if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+'skip$
+if$
+}
+FUNCTION {new.block.checka}
+{ empty$
+'skip$
+'new.block
+if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.block
+if$
+}
+FUNCTION {new.sentence.checka}
+{ empty$
+'skip$
+'new.sentence
+if$
+}
+FUNCTION {new.sentence.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.sentence
+if$
+}
+FUNCTION {new.clause.checka}
+{ empty$
+'skip$
+'new.clause
+if$
+}
+FUNCTION {new.clause.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.clause
+if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+{ pop$ "" }
+'skip$
+if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{2}{" swap$ * "}" * }
+if$
+}
+FUNCTION {capitalize}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{0}{" swap$ * "}" * }
+if$
+}
+FUNCTION {boldface}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{3}{" swap$ * "}" * }
+if$
+}
+FUNCTION {quote}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{1}{" swap$ * "}" * }
+if$
+}
+FUNCTION {parentheses}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{5}{" swap$ * "}" * }
+if$
+}
+INTEGERS { nameptr namesleft numnames }
+FUNCTION {format.names}
+{ 's :=
+#1 'nameptr :=
+s num.names$ 'numnames :=
+numnames 'namesleft :=
+{ namesleft #0 > }
+{ s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+nameptr #1 >
+{ namesleft #1 >
+{ ", " * t * }
+{ numnames #2 >
+{ "\abphrase{1}" * }
+'skip$
+if$
+t "others" =
+{ "\abphrase{2}" * }
+{ "\abphrase{0}" * t * }
+if$
+}
+if$
+}
+'t
+if$
+nameptr #1 + 'nameptr :=
+namesleft #1 - 'namesleft :=
+}
+while$
+}
+FUNCTION {format.authors}
+{ author empty$
+{ "" }
+{ author format.names capitalize }
+if$
+}
+FUNCTION {format.editors}
+{ editor empty$
+{ "" }
+{ editor format.names capitalize
+editor num.names$ #1 >
+{ "\abphrase{3}" * }
+{ "\abphrase{4}" * }
+if$
+}
+if$
+}
+FUNCTION {format.title}
+{ title empty$
+{ "" }
+{ title "t" change.case$ }
+if$
+}
+FUNCTION {n.dashify}
+{ 't :=
+""
+{ t empty$ not }
+{ t #1 #1 substring$ "-" =
+{ t #1 #2 substring$ "--" = not
+{ "--" *
+t #2 global.max$ substring$ 't :=
+}
+{ { t #1 #1 substring$ "-" = }
+{ "-" *
+t #2 global.max$ substring$ 't :=
+}
+while$
+}
+if$
+}
+{ t #1 #1 substring$ *
+t #2 global.max$ substring$ 't :=
+}
+if$
+}
+while$
+}
+FUNCTION {format.date}
+{ year empty$
+{ month empty$
+{ "" }
+{ "there's a month but no year in " cite$ * warning$
+month parentheses
+}
+if$
+}
+{ month empty$
+{ year parentheses }
+{ month " " * year * parentheses }
+if$
+}
+if$
+}
+FUNCTION {format.btitle}
+{ title quote
+}
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+{ "~" }
+{ " " }
+if$
+swap$ * *
+}
+FUNCTION {either.or.check}
+{ empty$
+'pop$
+{ "can't use both " swap$ * " fields in " * cite$ * warning$ }
+if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+{ "" }
+{ "\abphrase{8}" volume tie.or.space.connect
+series empty$
+'skip$
+{ "\abphrase{5}" * series quote * }
+if$
+"volume and number" number either.or.check
+}
+if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+{ number empty$
+{ series field.or.null }
+{ output.state mid.sentence = output.state continue.sentence = or
+{ "\abphrase{10}" }
+{ "\abphrase{11}" }
+if$
+number tie.or.space.connect
+series empty$
+{ "there's a number but no series in " cite$ * warning$ }
+{ "\abphrase{6}" * series * }
+if$
+}
+if$
+}
+{ "" }
+if$
+}
+FUNCTION {format.edition}
+{ edition empty$
+{ "" }
+{ output.state mid.sentence = output.state continue.sentence = or
+{ edition "l" change.case$ "\abphrase{12}" * }
+{ edition "t" change.case$ "\abphrase{12}" * }
+if$
+}
+if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+#0 'multiresult :=
+{ multiresult not
+t empty$ not
+and
+}
+{ t #1 #1 substring$
+duplicate$ "-" =
+swap$ duplicate$ "," =
+swap$ "+" =
+or or
+{ #1 'multiresult := }
+{ t #2 global.max$ substring$ 't := }
+if$
+}
+while$
+multiresult
+}
+FUNCTION {format.pages}
+{ pages empty$
+{ "" }
+{ pages multi.page.check
+{ "\abphrase{13}" pages n.dashify tie.or.space.connect }
+{ "\abphrase{14}" pages tie.or.space.connect }
+if$
+}
+if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null boldface
+number empty$
+'skip$
+{ "\abtype{4}{" number * "}" * *
+volume empty$
+{ "there's a number but no volume in " cite$ * warning$ }
+'skip$
+if$
+}
+if$
+pages empty$
+'skip$
+{ duplicate$ empty$
+{ pop$ format.pages }
+{ ", " * pages n.dashify * }
+if$
+}
+if$
+}
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+'format.pages
+{ type empty$
+{ "\abphrase{15}" }
+{ type "l" change.case$ }
+if$
+chapter tie.or.space.connect
+pages empty$
+'skip$
+{ ", " * format.pages * }
+if$
+}
+if$
+}
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+{ "" }
+{ editor empty$
+{ "\abphrase{7}" booktitle quote * }
+{ "\abphrase{7}" format.editors * ", " * booktitle quote * }
+if$
+}
+if$
+}
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+month empty$ year empty$ note empty$
+and and and and and
+key empty$ not and
+{ "all relevant fields are empty in " cite$ * warning$ }
+'skip$
+if$
+}
+FUNCTION {format.thesis.type}
+{ type empty$
+'skip$
+{ pop$
+type "t" change.case$
+}
+if$
+}
+FUNCTION {format.tr.number}
+{ type empty$
+{ "\abphrase{16}" }
+'type
+if$
+number empty$
+{ "t" change.case$ }
+{ number tie.or.space.connect }
+if$
+}
+FUNCTION {format.article.crossref}
+{ key empty$
+{ journal empty$
+{ "need key or journal for " cite$ * " to crossref " * crossref *
+warning$
+""
+}
+{ "\abphrase{7}" journal emphasize * }
+if$
+}
+{ "\abphrase{7}" key * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+editor num.names$ duplicate$
+#2 >
+{ pop$ "\abphrase{2}" * }
+{ #2 <
+'skip$
+{ editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+{ "\abphrase{2}" * }
+{ "\abphrase{0}" * editor #2 "{vv~}{ll}" format.name$ * }
+if$
+}
+if$
+}
+if$
+}
+FUNCTION {format.book.crossref}
+{ volume empty$
+{ "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+"\abphrase{7}"
+}
+{ "\abphrase{9}" volume tie.or.space.connect
+"\abphrase{5}" *
+}
+if$
+editor empty$
+editor field.or.null author field.or.null =
+or
+{ key empty$
+{ series empty$
+{ "need editor, key, or series for " cite$ * " to crossref " *
+crossref * warning$
+"" *
+}
+{ series quote * }
+if$
+}
+{ key * }
+if$
+}
+{ format.crossref.editor * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+editor field.or.null author field.or.null =
+or
+{ key empty$
+{ booktitle empty$
+{ "need editor, key, or booktitle for " cite$ * " to crossref " *
+crossref * warning$
+""
+}
+{ "\abphrase{7}" booktitle quote * }
+if$
+}
+{ "\abphrase{7}" key * }
+if$
+}
+{ "\abphrase{7}" format.crossref.editor * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {article}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+crossref missing$
+{ journal emphasize "journal" output.check
+format.vol.num.pages output
+format.date "year" output.check
+}
+{ format.article.crossref output.nonnull
+new.clause
+format.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+author empty$
+{ format.editors "author and editor" output.check }
+{ format.authors output.nonnull
+crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+if$
+}
+if$
+new.block
+format.btitle "title" output.check
+crossref missing$
+{ new.clause
+format.bvolume output
+new.block
+format.number.series output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+}
+{ new.block
+format.book.crossref output.nonnull
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+format.authors output
+new.block
+format.title "title" output.check
+howpublished address new.block.checkb
+howpublished output
+address new.clause.checka
+address output
+format.date output
+new.block
+note output
+fin.entry
+}
+FUNCTION {inbook}
+{ output.bibitem
+author empty$
+{ format.editors "author and editor" output.check }
+{ format.authors output.nonnull
+crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+if$
+}
+if$
+new.block
+format.btitle "title" output.check
+new.clause
+crossref missing$
+{ format.bvolume output
+new.clause
+format.chapter.pages "chapter and pages" output.check
+new.block
+format.number.series output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+}
+{ format.chapter.pages "chapter and pages" output.check
+new.block
+format.book.crossref output.nonnull
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {incollection}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+crossref missing$
+{ format.in.ed.booktitle "booktitle" output.check
+new.clause
+format.bvolume output
+new.clause
+format.number.series output
+new.clause
+format.chapter.pages output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+}
+{ format.incoll.inproc.crossref output.nonnull
+new.clause
+format.chapter.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+crossref missing$
+{ format.in.ed.booktitle "booktitle" output.check
+volume new.clause.checka
+format.bvolume output
+number series new.clause.checkb
+format.number.series output
+pages new.clause.checka
+format.pages output
+address empty$
+{ organization publisher new.sentence.checkb
+organization output
+publisher new.clause.checka
+publisher output
+format.date "year" output.check
+}
+{ new.clause
+address output.nonnull
+format.date "year" output.check
+new.sentence
+organization output
+new.clause
+publisher output
+}
+if$
+}
+{ format.incoll.inproc.crossref output.nonnull
+new.clause
+format.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+author empty$
+{ organization empty$
+'skip$
+{ organization output.nonnull
+new.clause
+address output
+}
+if$
+}
+{ format.authors output.nonnull }
+if$
+new.block
+format.btitle "title" output.check
+author empty$
+{ organization empty$
+{ address new.block.checka
+address output
+}
+'skip$
+if$
+}
+{ organization address new.block.checkb
+organization output
+address new.clause.checka
+address output
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date output
+new.block
+note output
+fin.entry
+}
+FUNCTION {mastersthesis}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+"\abphrase{17}" format.thesis.type output.nonnull
+new.clause
+school "school" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {misc}
+{ output.bibitem
+format.authors output
+title howpublished new.block.checkb
+format.title output
+howpublished new.block.checka
+howpublished output
+format.date output
+new.block
+note output
+fin.entry
+empty.misc.check
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.btitle "title" output.check
+new.block
+"\abphrase{18}" format.thesis.type output.nonnull
+new.clause
+school "school" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {proceedings}
+{ output.bibitem
+editor empty$
+{ organization output }
+{ format.editors output.nonnull }
+if$
+new.block
+format.btitle "title" output.check
+volume new.clause.checka
+format.bvolume output
+number series new.clause.checkb
+format.number.series output
+address empty$
+{ editor empty$
+{ publisher new.sentence.checka }
+{ organization publisher new.sentence.checkb
+organization output
+publisher new.clause.checka
+}
+if$
+publisher output
+format.date "year" output.check
+}
+{ new.clause
+address output.nonnull
+format.date "year" output.check
+new.sentence
+editor empty$
+'skip$
+{ organization output
+new.clause
+}
+if$
+publisher output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {techreport}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+format.tr.number output.nonnull
+new.clause
+institution "institution" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {unpublished}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+note "note" output.check
+format.date output
+fin.entry
+}
+FUNCTION {default.type} { misc }
+MACRO {jan} {"\abmonth{1}"}
+MACRO {feb} {"\abmonth{2}"}
+MACRO {mar} {"\abmonth{3}"}
+MACRO {apr} {"\abmonth{4}"}
+MACRO {may} {"\abmonth{5}"}
+MACRO {jun} {"\abmonth{6}"}
+MACRO {jul} {"\abmonth{7}"}
+MACRO {aug} {"\abmonth{8}"}
+MACRO {sep} {"\abmonth{9}"}
+MACRO {oct} {"\abmonth{10}"}
+MACRO {nov} {"\abmonth{11}"}
+MACRO {dec} {"\abmonth{12}"}
+MACRO {first} {"\abedition{1}"}
+MACRO {second} {"\abedition{2}"}
+MACRO {third} {"\abedition{3}"}
+MACRO {fourth} {"\abedition{4}"}
+MACRO {fifth} {"\abedition{5}"}
+MACRO {sixth} {"\abedition{6}"}
+MACRO {seventh} {"\abedition{7}"}
+MACRO {eighth} {"\abedition{8}"}
+MACRO {ninth} {"\abedition{9}"}
+MACRO {tenth} {"\abedition{10}"}
+MACRO {section} {"\abchapter{0}"}
+MACRO {paragraph} {"\abchapter{1}"}
+MACRO {appendix} {"\abchapter{2}"}
+MACRO {part} {"\abchapter{3}"}
+READ
+FUNCTION {sortify}
+{ purify$
+"l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+'len :=
+s #1 len substring$ =
+{ s len #1 + global.max$ substring$ }
+'s
+if$
+}
+INTEGERS { et.al.char.used }
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+EXECUTE {initialize.et.al.char.used}
+FUNCTION {format.lab.names}
+{ 's :=
+s num.names$ 'numnames :=
+numnames #1 >
+{ numnames #4 >
+{ #3 'namesleft := }
+{ numnames 'namesleft := }
+if$
+#1 'nameptr :=
+""
+{ namesleft #0 > }
+{ nameptr numnames =
+{ s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+{ "{\etalchar{+}}" *
+#1 'et.al.char.used :=
+}
+{ s nameptr "{v{}}{l{}}" format.name$ * }
+if$
+}
+{ s nameptr "{v{}}{l{}}" format.name$ * }
+if$
+nameptr #1 + 'nameptr :=
+namesleft #1 - 'namesleft :=
+}
+while$
+numnames #4 >
+{ "{\etalchar{+}}" *
+#1 'et.al.char.used :=
+}
+'skip$
+if$
+}
+{ s #1 "{v{}}{l{}}" format.name$
+duplicate$ text.length$ #2 <
+{ pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+'skip$
+if$
+}
+if$
+}
+FUNCTION {author.key.label}
+{ author empty$
+{ key empty$
+{ cite$ #1 #3 substring$ }
+{ key #3 text.prefix$ }
+if$
+}
+{ author format.lab.names }
+if$
+}
+FUNCTION {author.editor.key.label}
+{ author empty$
+{ editor empty$
+{ key empty$
+{ cite$ #1 #3 substring$ }
+{ key #3 text.prefix$ }
+if$
+}
+{ editor format.lab.names }
+if$
+}
+{ author format.lab.names }
+if$
+}
+FUNCTION {author.key.organization.label}
+{ author empty$
+{ key empty$
+{ organization empty$
+{ cite$ #1 #3 substring$ }
+{ "The " #4 organization chop.word #3 text.prefix$ }
+if$
+}
+{ key #3 text.prefix$ }
+if$
+}
+{ author format.lab.names }
+if$
+}
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+{ key empty$
+{ organization empty$
+{ cite$ #1 #3 substring$ }
+{ "The " #4 organization chop.word #3 text.prefix$ }
+if$
+}
+{ key #3 text.prefix$ }
+if$
+}
+{ editor format.lab.names }
+if$
+}
+FUNCTION {calc.label}
+{ type$ "book" =
+type$ "inbook" =
+or
+'author.editor.key.label
+{ type$ "proceedings" =
+'editor.key.organization.label
+{ type$ "manual" =
+'author.key.organization.label
+'author.key.label
+if$
+}
+if$
+}
+if$
+duplicate$
+year field.or.null purify$ #-1 #2 substring$
+*
+'label :=
+year field.or.null purify$ #-1 #4 substring$
+*
+sortify 'sort.label :=
+}
+FUNCTION {sort.format.names}
+{ 's :=
+#1 'nameptr :=
+""
+s num.names$ 'numnames :=
+numnames 'namesleft :=
+{ namesleft #0 > }
+{ nameptr #1 >
+{ " " * }
+'skip$
+if$
+s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+nameptr numnames = t "others" = and
+{ "et al" * }
+{ t sortify * }
+if$
+nameptr #1 + 'nameptr :=
+namesleft #1 - 'namesleft :=
+}
+while$
+}
+FUNCTION {sort.format.title}
+{ 't :=
+"A " #2
+"An " #3
+"The " #4 t chop.word
+chop.word
+chop.word
+sortify
+#1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+{ key empty$
+{ "to sort, need author or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+{ editor empty$
+{ key empty$
+{ "to sort, need author, editor, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ editor sort.format.names }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {author.organization.sort}
+{ author empty$
+{ organization empty$
+{ key empty$
+{ "to sort, need author, organization, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ "The " #4 organization chop.word sortify }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {editor.organization.sort}
+{ editor empty$
+{ organization empty$
+{ key empty$
+{ "to sort, need editor, organization, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ "The " #4 organization chop.word sortify }
+if$
+}
+{ editor sort.format.names }
+if$
+}
+FUNCTION {presort}
+{ calc.label
+sort.label
+" "
+*
+type$ "book" =
+type$ "inbook" =
+or
+'author.editor.sort
+{ type$ "proceedings" =
+'editor.organization.sort
+{ type$ "manual" =
+'author.organization.sort
+'author.sort
+if$
+}
+if$
+}
+if$
+*
+" "
+*
+year field.or.null sortify
+*
+" "
+*
+title field.or.null
+sort.format.title
+*
+#1 entry.max$ substring$
+'sort.key$ :=
+}
+ITERATE {presort}
+SORT
+STRINGS { longest.label last.sort.label next.extra }
+INTEGERS { longest.label.width last.extra.num }
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+#0 int.to.chr$ 'last.sort.label :=
+"" 'next.extra :=
+#0 'longest.label.width :=
+#0 'last.extra.num :=
+}
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+{ last.extra.num #1 + 'last.extra.num :=
+last.extra.num int.to.chr$ 'extra.label :=
+}
+{ "a" chr.to.int$ 'last.extra.num :=
+"" 'extra.label :=
+sort.label 'last.sort.label :=
+}
+if$
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+{ "a" 'extra.label := }
+'skip$
+if$
+label extra.label * 'label :=
+label width$ longest.label.width >
+{ label 'longest.label :=
+label width$ 'longest.label.width :=
+}
+'skip$
+if$
+extra.label 'next.extra :=
+}
+EXECUTE {initialize.longest.label}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {begin.bib}
+{
+"\newif\ifabfull\abfulltrue" write$ newline$
+et.al.char.used
+{ "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+'skip$
+if$
+preamble$ empty$
+'skip$
+{ preamble$ write$ newline$ }
+if$
+"\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+"\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/abstyles/abstdok.bbl b/biblio/bibtex/contrib/abstyles/abstdok.bbl
new file mode 100644
index 0000000000..9b49f06ae9
--- /dev/null
+++ b/biblio/bibtex/contrib/abstyles/abstdok.bbl
@@ -0,0 +1,37 @@
+\newif\ifabfull\abfulltrue
+\input apreambl \newif\ifger\gerfalse \ifnum\language=\german\gertrue\fi
+ \ifnum\language=\austrian\gertrue\fi \def\sortby#1{}\def\LaTeX{{\rm
+ L\kern-.36em\raise.3ex\hbox{\sc a}\kern-.15em
+ T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}\def\BibTeX{{\rm
+ B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
+ T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
+\begin{thebibliography}{1}
+
+\bibitem{art1}
+\abtype{0}{Donald~E. Knuth}.
+\newblock \abtype{1}{Fundamental Algorithms},
+ \abphrase{8}~1\abphrase{5}\abtype{1}{The Art of Computer Programming}.
+\newblock Ad\-di\-son-Wes\-ley, Reading, Massachusetts,
+ \abedition{2}\abphrase{12} \abtype{5}{\sortby{1973a}1973}.
+
+\bibitem{kopka-einf}
+\abtype{0}{Helmut Kopka}.
+\newblock \abtype{1}{{\LaTeX\ -- Eine Ein\-f\"uh\-rung}}.
+\newblock Ad\-di\-son-Wes\-ley, Bonn, \abedition{3}\abphrase{12}
+ \abtype{5}{1991}.
+
+\bibitem{latex}
+\abtype{0}{Leslie Lamport}.
+\newblock \abtype{1}{{\LaTeX \rm:} {A} Document Preparation System}.
+\newblock Ad\-di\-son-Wes\-ley, Reading, Massachusetts \abtype{5}{1986}.
+
+\bibitem{bibtex-doc}
+\abtype{0}{Oren Patashnik}.
+\newblock \abtype{1}{{{\BibTeX}}ing} \abtype{5}{\abmonth{1} 1988}.
+
+\bibitem{bibtex-hak}
+\abtype{0}{Oren Patashnik}.
+\newblock \abtype{1}{Designing {{\BibTeX}} Styles} \abtype{5}{\abmonth{1}
+ 1988}.
+
+\end{thebibliography}
diff --git a/biblio/bibtex/contrib/abstyles/abstdok.pdf b/biblio/bibtex/contrib/abstyles/abstdok.pdf
new file mode 100644
index 0000000000..9d2c07f0e3
--- /dev/null
+++ b/biblio/bibtex/contrib/abstyles/abstdok.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/abstyles/abstdok.tex b/biblio/bibtex/contrib/abstyles/abstdok.tex
new file mode 100644
index 0000000000..67911ed93e
--- /dev/null
+++ b/biblio/bibtex/contrib/abstyles/abstdok.tex
@@ -0,0 +1,483 @@
+ %-*-LaTeX-*-
+\documentstyle[twoside,german,a4c]{article}
+\pagestyle{headings}
+\frenchspacing
+\setlength{\doublerulesep}{0pt}
+
+\title{Neue \BibTeX-Style-Files: Die {\em adaptable family}}
+\author{Hans-Hermann Bode\thanks{Postanschrift: Arbeitsgruppe Systemforschung,
+ Universit"at Osnabr"uck, Artilleriestra"se 34, D-W-4500 Osnabr"uck; e-mail:
+ {\tt hhbode@dosuni1.bitnet}.}}
+\date{08. April 1992}
+
+\newcommand{\BibTeX}{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
+ T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
+
+%-----------------------------------------------------------------------------
+
+\begin{document}
+
+\maketitle
+%\tableofcontents
+%\listoffigures
+%\listoftables
+
+\begin{abstract}\footnotesize
+ Es wird eine neue Familie von \BibTeX-Style-Files vorgestellt, die von den
+ Standard-Style-Files abgeleitet ist und sich durch nachtr"agliche
+ Anpa"sbarkeit von Layout und F"ullw"ortern seitens des Benutzers oder der
+ Benutzerin\footnote{Im folgenden gilt die Fu"snote auf Seite~v von Knuths
+ fundamentalem Werk~\cite{art1} sinngem"a"s.} auszeichnet. Das Paket
+ umfa"st neben den eigentlichen Stilen Dateien mit Definitionen, die
+ automatisch eine englische oder deutsche Bibliographie mit ausgeschriebenen
+ oder abgek"urzten F"ullw"ortern erzeugen und au"serdem die volle
+ Kompatibilit"at bestehender \BibTeX-Datenbanken zu den neuen Stilen sowie
+ umgekehrt die Vertr"aglichkeit neuer Datenbanken zu den alten Stilen
+ herstellen.
+\end{abstract}
+
+%-----------------------------------------------------------------------------
+
+Mit {\BibTeX} steht dem \LaTeX- wie dem plain-\TeX-Anwender ein
+au"serordentlich leistungsf"ahiges Werkzeug zur Verf"ugung, um
+Bibliographien zu Artikeln, Berichten, B"uchern und {\em literate
+programs\/} zu erstellen. Mu"ste man fr"uher m"uhsam alle zitierten
+Literaturstellen zusammensuchen, alle Angaben -- oft immer wieder dieselben
+-- per Hand eintippen (m"oglichst, ohne Fehler bei Seitenangaben,
+Bandnummern, Jahreszahlen usw.~zu machen) und sich schlie"slich auch noch um
+Layout-Fragen k"ummern, so beschr"ankt sich diese Arbeit mit {\BibTeX} auf
+die einmalige Eingabe der bibliographischen Informationen in eine
+Literaturdatenbank und das Aufrufen von \verb|\cite|-Kommandos mit einem
+Schl"ussel f"ur das zu zitierende Werk. {\BibTeX} stellt dann die
+Literaturliste zusammen und sorgt auch f"ur ein konsistentes Aussehen
+derselben.
+
+{\BibTeX} ist "`offizieller"' Bestandteil des \LaTeX-Makropakets und von
+Lamport in~\cite{latex} beschrieben, eine deutsche Fassung findet man etwa
+bei Kopka~\cite{kopka-einf}. Dar"uberhinaus erlaubt das zur
+Standard-\BibTeX-Distribution geh"orige Makropaket {\tt btxmac.tex} auch die
+Verwendung unter plain-\TeX\, und zwar mit der gleichen
+Benutzerschnittstelle (dieses Makropaket ist auch mit dem {\tt WEB}-System
+f"ur strukturierte Dokumentation kompatibel, so da"s \BibTeX\ auch beim {\em
+literate programming\/} eingesetzt werden kann). Oren Patashnik, der Autor
+des \BibTeX-Programms, legt mit~\cite{bibtex-doc} ein Manual f"ur
+\BibTeX-Benutzer vor, das im Gegensatz zu den zuvor genannten Stellen die
+jeweils aktuelle Version dokumentiert und das in einer Datei {\tt
+btxdoc.tex} jeder \BibTeX-Implementation beigegeben sein sollte. Die
+Kenntnis wenigstens einer der angegebenen Quellen wird hier vorausgesetzt
+und nicht weiter auf allgemeine Grundlagen der Benutzung von {\BibTeX}
+eingegangen.
+
+Das Schlu"skapitel von Patashniks Manual -- herausgegeben als separates
+Dokument~\cite{bibtex-hak} -- beschreibt M"oglichkeiten der Erzeugung von
+Style-Files, die das Layout der Bibliographie bestimmen. Vier solcher
+Style-Files ({\tt plain}, {\tt unsrt}, {\tt alpha} und {\tt abbrv}) geh"oren
+zum Standardumfang von {\BibTeX}. Weitere Styles -- wie {\tt siam}, {\tt
+ieeetr} oder {\tt apalike} -- wurden von Patashnik u.\,a.~erstellt, in
+erster Linie, um den Anforderungen bestimmter Zeitschriftenherausgeber zu
+entsprechen. Die Erzeugung von solchen Styles, auch wenn es nur um relativ
+geringf"ugige Ab"anderungen vorhandener Stile geht, ist allerdings ein recht
+m"uhsamer Vorgang (man mu"s Programme in einer Spezialsprache mit
+Postfixnotation schreiben), der die meisten {\BibTeX}-Anwender "uberfordern
+d"urfte. Aus diesem Grund entstand die {\em adaptable family}, die eine
+einfache Anpassung an pers"onliche oder fremde Vorstellungen erlaubt.
+
+\section*{Die Styles} %-------------------------------------------------------
+
+\begin{table}\small\centering
+ \caption{\sf "Ubersicht der Stile mit ihren Attributen.\strut}
+ \label{tab:stile}
+ \medskip
+ \begin{tabular}{lcccccc}
+ \hline\hline
+ Stil & numerisch & sortiert & initial & klein & kurz & titellos\\
+ \hline
+ {\tt aplain} & ja & ja & nein & ja & nein & nein\\
+ {\tt aunsrt} & ja & nein & nein & ja & nein & nein\\
+ {\tt aalpha} & nein & ja & nein & ja & nein & nein\\
+ {\tt aabbrv} & ja & ja & ja & ja & ja & nein\\
+ {\tt anotit} & ja & ja & ja & ja & ja & ja\\
+ {\tt aunsnot} & ja & nein & ja & ja & ja & ja\\
+ \hline\hline
+ \end{tabular}
+\end{table}
+
+Das grunds"atzliche Aussehen der Bibliographie wird auch bei den anpa"sbaren
+Versionen durch den jeweiligen, im \verb|\bibliographystyle| der \TeX-Quelle
+gew"ahlten Stil festgelegt. Dieser bestimmt im wesentlichen, welche
+Informationen "uberhaupt auszugeben sind und in welcher Reihenfolge diese
+angeordnet werden sollen; dar"uber hinaus sind f"ur jeden Stil eine Reihe von
+festen, unver"anderlichen Merkmalen vorgegeben, die in Tabelle~\ref{tab:stile}
+f"ur die sechs Stile der {\em adaptable family\/} zusammengefa"st sind.
+
+Alle Stile bis auf {\tt aalpha} erzeugen numerische Marken zur Kennzeichnung
+der Zitate ("`[1]"', "`[2]"' usw.), w"ahrend {\tt aalpha} die Marken
+alphanumerisch, i.\,allg.~aus K"urzeln f"ur die Autorennamen und
+Erscheinungsjahr, zusammensetzt (z.\,B.~"`[knu73]"'). Bei {\tt aunsrt} und
+{\tt aunsnot} erscheint die Bibliographie in der Reihenfolge der Zitate, bei
+den anderen Stilen wird sie nach Autorennamen, Erscheinungsjahren
+usw.~sortiert. Das Attribut "`initial"' zeigt an, ob die Vornamen der
+Autoren abgek"urzt werden oder nicht; das erstere ist der Fall f"ur {\tt
+aabbrv}, {\tt anotit} und {\tt aunsnot}, die zudem im Unterschied zu den
+"ubrigen Stilen als "`kurz"' gekennzeichnet sind (die Bedeutung dieses
+Attributs wird im n"achsten Abschnitt erkl"art). Alle Stile setzen
+Gro"sbuchstaben, die in Titeln von Zeitschriftenartikeln -- sofern diese
+"uberhaupt ausgegeben werden -- vorkommen und nicht am Satzanfang stehen, in
+Kleinschreibung um (Attribut "`klein"'); dies ist zwar f"ur deutsche Titel
+nicht geeignet, l"a"st sich aber leicht unterdr"ucken (s.~die Er"orterung am
+Ende dieses Artikels). Schlie"slich zeichnen sich die Stile {\tt anotit} und
+{\tt aunsnot} dadurch aus, da"s die Titel von Zeitschriftenartikeln
+unterdr"uckt werden, wie es etwa in der physikalischen Literatur
+durchg"angig "ublich ist.
+
+Insgesamt entsprechen die Stile {\tt aplain}, {\tt aunsrt}, {\tt aalpha} und
+{\tt aabbrv} -- wie auch aus der Namensgebung hervorgeht -- den vier
+Standardstilen von \BibTeX\ (Patashniks {\em plain family\/}), w"ahrend {\tt
+anotit} und {\tt aunsnot} hinzugef"ugt wurden, um eine L"ucke zu schlie"sen.
+
+\section*{Anpassung von Layout und F"ullw"ortern} %---------------------------
+
+Die Anpassung der {\tt a}-Stile erfolgt durch Definition bestimmter
+\TeX-Makros; andererseits funktionieren die Stile nicht, wenn diese Makros
+undefiniert sind. Die Definition geschieht zweckm"a"sigerweise "uber ein
+\verb|@PREAMBLE|-Kommando, das sich in einer der bibliographischen
+Datenbanken befindet (vgl.~das n"achste Kapitel). Die {\tt a}-Styles
+definieren einen Schalter \verb|abfull|, der in Abh"angigkeit davon, ob es
+sich um einen "`Kurzstil"' handelt oder nicht (s.~Tab.~\ref{tab:stile}), den
+Wert \verb|false| oder \verb|true| bekommt. So k"onnen sich die Makros
+automatisch darauf einstellen, F"ullw"orter abzuk"urzen oder voll
+auszuschreiben.
+
+\begin{table}\small\centering
+ \caption{\sf Zusammenstellung der verwendeten Makros.\strut}
+ \label{tab:makros}
+ \medskip
+ \begin{tabular}{lp{8cm}}
+ \hline\hline
+ Makroname & Bedeutung\\
+ \hline
+ \verb|\abtype| & Definiert die Schriftauszeichnung einzelner Felder
+ eines Bibliographieeintrags.\\
+ \verb|\abphrase| & Legt die F"ullw"orter fest.\\
+ \verb|\abmonth| & Enth"alt die Monatsnamen.\\
+ \verb|\abedition| & Stellt Bezeichnungen f"ur Auflagen eines Buches zur
+ Verf"ugung ("`Erste"', "`Zweite"', "`Dritte"' usw.).\\
+ \verb|\abchapter| & Gibt Namen f"ur bestimmte Segmente eines
+ Schriftst"ucks zur"uck ("`Abschnitt"', "`Absatz"',
+ "`Anhang"' oder "`Teil"').\\
+ \hline\hline
+ \end{tabular}
+\end{table}
+
+Die fraglichen Makros sind in Tab.~\ref{tab:makros} zusammengestellt. Alle
+Makronamen beginnen mit {\tt ab}. W"ahrend \verb|\abtype| f"ur die
+Schriftauszeichnung verantworlich ist, haben alle anderen Makros mit
+F"ullw"ortern zu tun und erlauben sprachspezifische Anpassungen sowie
+Unterscheidung zwischen "`Kurz-"' und "`Vollstilen"'. Es folgen detaillierte
+Beschreibungen der Makros mit ihren Parametern.
+
+\subsection*{{\tt abtype}}
+
+\begin{table}\small\centering
+ \caption{\sf Der erste Parameter von {\tt abtype}.\strut}\label{tab:abtype}
+ \medskip
+ \begin{tabular}{rp{5cm}}
+ \hline\hline
+ Code & Bedeutung\\
+ \hline
+ 0 & Namen von Autoren und Editoren\\
+ 1 & Titel von B"uchern und Reihen\\
+ 2 & Zeitschriftentitel\\
+ 3 & Bandnummern von Zeitschriften\\
+ 4 & Heftnummern von Zeitschriften\\
+ 5 & Datumsangaben\\
+ \hline\hline
+ \end{tabular}
+\end{table}
+
+Die Layoutsteuerung wird "uber das Makro \verb|\abtype| vorgenommen. Die {\tt
+a}-Stile schreiben die meisten Felder eines Eintrags indirekt "uber einen
+Aufruf von \verb|\abtype| in die Bibliographie, wobei zwei Argumente
+"ubergeben werden: eine Codenummer f"ur die Art des Feldes und der in das
+Feld einzutragende Text. Dieser kann dann vom Makro beliebig formatiert
+zur"uckgegeben werden. Die Codewerte f"ur den ersten Parameter von
+\verb|\abtype| findet man in Tab.~\ref{tab:abtype}.
+
+Durch eine Definition der Form
+\begin{verbatim}
+\def\abtype##1##2{%
+\ifcase##1{\sc##2}\or"`##2"'\or{\em##2\/}\or{\bf##2}\or%
+(##2)\or(##2)\else##2\fi}}
+\end{verbatim}
+also erreichte man beispielweise, da"s Autorennamen in {\sc Kapit"alchen},
+Buchtitel in "`Anf"uhrungszeichen"' und Zeitschriftentitel {\em kursiv\/}
+gesetzt werden und da"s Bandnummern von Zeitschriften {\bf fett} erscheinen,
+w"ahrend Heftnummern ebenso wie Datumsangaben geklammert werden.
+Vorsichtshalber wurde noch eine \verb|\else|-Klausel angef"ugt, die bewirkt,
+da"s bei Aufruf des Makros mit einem undefinierten Codewert das zweite
+Argument unformatiert zur"uckgegeben wird (f"ur die Original-{\tt a}-Stile
+w"are dies nicht erforderlich).
+
+\subsection*{{\tt abphrase}}
+
+\begin{table}\small\centering
+ \caption{\sf Der Parameter von {\tt abphrase}.\strut}\label{tab:abphrase}
+ \medskip
+ \begin{tabular}{rp{9.5cm}}
+ \hline\hline
+ Code & Bedeutung\\
+ \hline
+ 0 & Bindewort zwischen zwei oder vor dem letzten Namen einer Liste
+ ("`und"')\\
+ 1 & Satzzeichen vor dem letzten Bindewort einer Namensliste (im
+ Deutschen nichts, im Englischen ein Komma)\\
+ 2 & Ersatz f"ur Namen von Mitautoren und Mitherausgebern ("`u.\,a."' oder
+ "`et~al."')\\
+ 3 & Bezeichnung f"ur mehrere Herausgeber (z.\,B.~"`Editoren"')\\
+ 4 & Bezeichnung f"ur einen Herausgeber ("`Editor"')\\
+ 5 & Wort nach der Bandnummer einer Reihe oder Kreuzreferenz ("`aus"')\\
+ 6 & Wort nach der Ausgabennummer einer Reihe ("`in"')\\
+ 7 & Wort vor Querverweisen auf B"ucher, Artikel usw.~("`In"')\\
+ 8 & Wort vor einer Bandnummer mitten im Satz ("`volume"' auf
+ Englisch, aber "`Band"' auf Deutsch)\\
+ 9 & dto.~am Satzanfang ("`Volume"' bzw.~erneut "`Band"')\\
+ 10 & Wort vor einer Reihennummer mitten im Satz ("`Nummer"')\\
+ 11 & dto. am Satzanfang (im Deutschen dasselbe)\\
+ 12 & Wort hinter einer Auf"|lagennummer ("`Auf"|lage"')\\
+ 13 & Wort vor mehreren Seitennummern ("`Seiten"')\\
+ 14 & Wort vor einer einzelnen Seitennummer ("`Seite"')\\
+ 15 & Wort vor einer Kapitelnummer ("`Kapitel"')\\
+ 16 & Bezeichnung f"ur einen Forschungsbericht ("`Technical Report"')\\
+ 17 & Bezeichnung f"ur eine Diplomarbeit ("`Master's thesis"')\\
+ 18 & Bezeichnung f"ur eine Doktorarbeit ("`PhD Thesis"')\\
+ \hline\hline
+ \end{tabular}
+\end{table}
+
+Der gr"o"ste Teil der F"ullw"orter wird durch \verb|\abphrase| abgedeckt.
+Das Makro hat einen Parameter, der wieder eine Codenummer darstellt.
+Die vorkommenden Werte zeigt Tab.~\ref{tab:abphrase}.
+
+Ein Beispiel f"ur eine geeignete Definition von \verb|\abphrase| mit
+ausgeschriebenen, deutschen F"ullw"ortern w"are:
+\begin{verbatim}
+\def\abphrase##1{%
+\ifcase##1{ und }\or{}\or{ und andere}\or%
+{ (Herausgeber)}\or{ (Herausgeber)}\or%
+{ aus }\or{ in }\or{In }\or%
+{Band}\or{Band}\or{Nummer}\or{Nummer}\or%
+{ Auf"|lage}\or{Seiten}\or{Seite}\or{Kapitel}\or%
+{Bericht}\or{Diplomarbeit}\or{Dissertation}\fi}
+\end{verbatim}
+
+\subsection*{{\tt abmonth}}
+
+Einfacher als die vorangegangenen Makros ist \verb|\abmonth|: Es wird mit
+einer Zahl zwischen 1~und~12 als Argument aufgerufen und sollte die
+Bezeichnung f"ur den entsprechenden Monat zur"uckgeben; also etwa
+\begin{verbatim}
+\def\abmonth##1{\ifcase##1\or Januar\or Februar\or M"arz\or
+ April\or Mai\or Juni\or Juli\or August\or September\or
+ Oktober\or November\or Dezember\fi}
+\end{verbatim}
+Man beachte, da"s vor \verb|Januar| bereits ein \verb|\or| stehen mu"s, da
+dieser Monat den Code~1 hat und nicht~0. Desweiteren gilt, da"s die
+Definition von \verb|\abmonth| nur dann einen Effekt hat, wenn in den
+Bibliographiedatenbanken von den vordefinierten Strings {\tt jan}, {\tt
+feb}, \dots, {\tt dec} Gebrauch gemacht wird -- es sei denn, man ruft das
+Makro direkt auf, wovon man jedoch im Hinblick auf m"ogliche
+Kompatibilit"atsprobleme mit anderen Styles oder zuk"unftigen Versionen der
+anpa"sbaren Stile Abstand nehmen sollte.
+
+\subsection*{{\tt abedition}}
+
+Ein weiteres Makro mit einem numerischen Wert als Parameter ist
+\verb|\abedition|. Die "ubergebene Zahl bezeichnet eine Auf"|lagennummer und
+es sollte ein entsprechender String zur"uckgegeben werden, z.\,B.:
+\begin{verbatim}
+\def\abedition##1{\ifcase##1\or Erste\or Zweite\or Dritte\or
+ Vierte\or F"unfte\or Sechste\or Siebte\or Achte\or
+ Neunte\or Zehnte\else?\fi}
+\end{verbatim}
+In den anpa"sbaren Stilen existieren vordefinierte Strings {\tt first}, {\tt
+second}, \dots, {\tt tenth}, die man aus den gleichen Gr"unden wie oben f"ur
+das {\tt EDITION}-Feld der Bibliographieeintr"age verwenden sollte. Ein
+Problem ergibt sich, wenn eine Auflagennummer gr"o"ser als~10 ben"otigt
+wird; in diesem Fall sollte man das Makro entsprechend erweitern und
+zus"atzliche Strings durch {\tt @STRING}-Kommandos definieren.
+
+\subsection*{{\tt abchapter}}
+
+Schlie"slich ist noch ein Makro mit einem Code zwischen 0~und~3 f"ur
+Bezeichnungen verschiedener Segmente eines Dokuments zu definieren. Die
+Bedeutung ergibt sich unmittelbar aus dem Beispiel
+\begin{verbatim}
+\def\abchapter##1{\ifcase##1Abschnitt\or Absatz\or
+Anhang\or Teil\fi}
+\end{verbatim}
+Auch f"ur den Aufruf dieses Makros gibt es vordefinierte Strings, die man in
+den Datenbanken tunlichst benutzen sollte; sie hei"sen {\tt section}, {\tt
+paragraph}, {\tt appendix} und {\tt part} und sind gedacht f"ur den Einsatz
+im {\tt TYPE}-Feld mancher Eintr"age, mit welchem sich das {\tt
+CHAPTER}-Feld umwidmen l"a"st.
+
+\section*{Benutzungshinweise} %-----------------------------------------------
+
+Zum Gl"uck braucht man die im letzten Kapitel vorgestellten Makros nicht
+selbst einzugeben, sie sind vielmehr bereits in der Datei {\tt
+apreamble.tex} enthalten, die zum Lieferumfang des Pakets geh"ort. Sie
+stellt in Abh"angigkeit vom \verb|abfull|-Schalter ausgeschriebene oder
+abgek"urzte F"ullw"orter zur Verf"ugung. Mehr noch, diese Datei enth"alt
+neben den deutschen F"ullw"ortern auch "aquivalente Definitionen in
+englischer Sprache. Die Auswahl zwischen den beiden Sprachversionen wird
+automatisch getroffen, und zwar nach folgenden Kriterien:
+\begin{itemize}
+ \item Ist das Makropaket {\tt german.sty} {\em nicht\/} geladen, wird die
+englische Version genommen.
+ \item Wird dagegen festgestellt, da"s {\tt german.sty} eingelesen wurde,
+h"angt die Sprachauswahl vom eingestellten \verb|\language|-Wert ab:
+ \begin{itemize}
+ \item Ist dieser gleich \verb|\german| oder \verb|\austrian|, wird die
+ deutsche Version gew"ahlt.
+ \item In allen anderen F"allen ist es wieder die englische.
+ \end{itemize}
+\end{itemize}
+Auf diese Weise sollten zumindest alle diejenigen zufriedengestellt sein,
+die entweder nur englische Dokumente verfassen oder unter Benutzung von {\tt
+german.sty} sowohl englische als auch deutsche Texte schreiben. Nat"urlich
+steht es jedem frei, {\tt apreamble.tex} um zus"atzliche Sprachen zu
+erweitern oder die mittels \verb|\abtype| vorgenommenen Formatierungen nach
+eigenem Gutd"unken abzu"andern.
+
+Damit der oben vorgestellte Mechanismus zur Sprachauswahl funktioniert, mu"s
+die Datei {\tt german.sty} -- wenn "uberhaupt -- {\em vor\/} {\tt
+apreamble.tex} eingelesen werden. Dies sollte im Zusammenhang mit \LaTeX\
+kein Problem darstellen, da \verb|german| f"ur gew"ohnlich als
+Dokumentstiloption verwendet wird. Wie oben erw"ahnt l"a"st sich \BibTeX\
+aber auch mit plain-\TeX\ nutzen, wenn das Makropaket {\tt btxmac.tex}
+eingebunden wird; hier ist dann sicherzustellen, da"s der Befehl
+\verb|\input german.sty| vor \verb|\input apreamble| (bzw., wie im n"achsten
+Absatz erl"autert, vor \verb|\bibliography{...}|) erscheint. Alle zur {\em
+adaptable family\/} geh"origen Makros sind "ubrigens so abgefa"st, da"s sie
+sowohl mit \LaTeX\ als auch mit plain-\TeX\ funktionieren; insbesondere
+vertragen sie sich auch mit dem {\tt WEB}-System f"ur strukturierte
+Dokumentation.
+
+Weiterhin ist es nat"urlich erforderlich, da"s {\tt apreamble.tex} vor der
+eigentlichen Bibliographie eingelesen wird; auch daf"ur steht eine implizite
+L"osung bereit. Es ist ohnehin vorteilhaft, wenn man eine oder mehrere {\tt
+bib}-Dateien mit allgemeinen Definitionen (haupts"achlich
+\verb|@STRING|-Kommandos) anlegt und diese stets am Anfang der
+\verb|\bibliography|-Liste aufz"ahlt. Zum Lieferumfang der {\em adaptable
+family\/} geh"oren zwei solche Dateien, {\tt jourfull.bib} und {\tt
+jourabbr.bib}, die Namen f"ur Zeitschriften -- einmal in ausgeschriebener
+und zum anderen in abgek"urzter Form -- definieren, und zwar gerade die,
+welche in den Standard-Bibliographiestilen (der {\em plain family\/})
+bereits vordefiniert sind\footnote{Der Autor der {\em adaptable family\/}
+war der Meinung, da"s die Auswahl dieser Zeitschriften zu speziell auf ein
+Fach bezogen ist, und hat die Definitionen daher in seinen Stildateien
+weggelassen. Unter Benutzung dieser beiden Dateien ist jedoch die volle
+Kompatibilit"at von Datenbanken, die f"ur die Standardstile erstellt wurden,
+zu den anpa"sbaren Stilen gew"ahrleistet.}. Beide Dateien laden {\tt
+apreamble.tex} automatisch am Anfang der Bibliographie. Alles, was man zur
+Nutzung der anpa"sbaren Stile -- abgesehen vom eventuellen Laden von {\tt
+btxmac} -- innerhalb eines Dokuments zu tun hat, beschr"ankt sich somit auf
+zwei Kommandos, die typischerweise so aussehen:
+\begin{verbatim}
+\bibliography{jourfull,user1,user2,user3}\bibliographystyle{aplain}
+\end{verbatim}
+Dabei sind \verb|user1|, \verb|user2| und \verb|user3| irgendwelche
+Benutzerdatenbanken, \verb|jourfull| kann nat"urlich auch durch
+\verb|jourabbr| ersetzt werden (mu"s aber immer am Anfang der Liste stehen!)
+und statt \verb|aplain| kann selbstverst"andlich ein beliebiger anderer
+anpa"sbarer Stil verwendet werden. Es ist zu betonen, da"s die Auswahl
+"`ausgeschriebene oder abgek"urzte Zeitschriftennamen"' nicht vom
+Bibliographiestil bestimmt wird, sondern durch Angabe von \verb|jourfull|
+oder \verb|jourabbr| erfolgt.
+
+Au"serdem definieren die beiden Dateien {\tt jourfull.bib} und {\tt
+jourabbr.bib} Strings namens \verb|ifger|, \verb|else| und \verb|fi|, die es
+auf einfache Weise erm"oglichen, innerhalb der Datenbanken bei einzelnen
+Feldern von der automatischen Sprachauswahl zu profitieren. Beispielsweise
+k"onnte damit das \verb|NOTE|-Feld eines Eintrags etwa folgendes enthalten:
+\begin{verbatim}
+ifger # "Wird demn{\"a}chst erscheinen." # else # "To be published." # fi
+\end{verbatim}
+Wie man unschwer erkennt, handelt es sich um eine bedingte Anweisung:
+\verb|ifger| sorgt daf"ur, da"s der nachstehende Text ausgegeben wird, wenn
+die automatische Sprachauswahl sich f"ur "`deutsch"' entschieden hat,
+\verb|else| leitet die Alternative f"ur den gegenteiligen Fall ein und
+\verb|fi| schlie"st die ganze Konstruktion ab. Der Operator~\verb|#|
+verkettet die einzelnen Teile zu einem von \TeX\ interpretierbaren
+Gesamtstring.
+
+Gelegentlich mag es vorkommen, da"s man die neuen, auf die {\em adaptable
+family\/} zugeschnittenen Datenbanken mit einem der Standardstile verwenden
+will. Dies st"o"st auf Schwierigkeiten, da die anpa"sbaren Stile einige
+zus"atzliche Strings definieren, von denen man sicherlich Gebrauch gemacht
+hat (genauer: machen sollte). Es steht aber eine Datei {\tt acompat.bib} zur
+Verf"ugung, die alle zus"atzlichen Strings nachtr"aglich definiert. Bindet
+man diese noch vor {\tt jourfull.bib} oder {\tt jourabbr.bib} (die man f"ur
+die oben beschriebenen Mechanismen weiterhin braucht) in die
+\verb|\bibliography|-Liste ein, so steht einer Nutzung der Standardstile
+etwa in der Form
+\begin{verbatim}
+\bibliography{acompat,jourfull,user1,user2,user3}\bibliographystyle{plain}
+\end{verbatim}
+nichts mehr im Wege. Nat"urlich funktioniert die automatische Sprachauswahl
+jetzt nicht mehr bei den F"ull"-w"or"-tern, sondern nur noch bei den
+"`handgemachten"' \verb|ifger|-Konstruktionen.
+
+Abschlie"send noch eine Anmerkung zur Gro"s-/Kleinschreibung von
+Zeitschriftentiteln. Die Stile der {\em plain family\/} setzen solche stets
+in Kleinschreibung um; so wird z.\,B. aus
+\begin{verbatim}
+TITLE="A Horror Story about Integration Methods"
+\end{verbatim}
+die Titelangabe "`A horror story about integration methods"'. Es wurde
+verschiedentlich die Meinung vertreten, da"s ein deutscher Bibliographiestil
+diese Umsetzung abschalten sollte, da sie f"ur deutsche Titel nicht ad"aquat
+ist. Der Autor der {\em adaptable family\/} schlie"st sich dieser Meinung
+nicht an (und hat die Umsetzung daher beibehalten): Gro"s-/Kleinschreibung
+von Zeitschriftentiteln ist nicht eine Frage der Sprache, in der das
+Dokument gesetzt ist, sondern eine Funktion der Sprache des Titels selbst.
+So sollte die Eingabe
+\begin{verbatim}
+TITLE="Graphische Sprachelemente in ALGOL 68"
+\end{verbatim}
+{\em immer\/} zu der Ausgabe "`Graphische Sprachelemente in ALGOL~68"'
+f"uhren -- auch in einem englischen Dokument; ebensowenig ist etwas dagegen
+einzuwenden, wenn im obigen Beispiel mit dem englischen Titel die Umsetzung
+auch in einem deutschen Dokument stattfindet.
+
+Es ist also {\em bei den einzelnen Titelangaben\/} daf"ur zu sorgen, da"s die
+Umsetzung ggf.~verhindert wird. Dies ist aber -- bei den Standard- wie bei
+den anpa"sbaren Stilen -- leicht m"oglich, wie im
+\BibTeX-Manual~\cite{bibtex-doc} beschrieben wird: Man schlie"se den
+gesamten Titel in ein zus"atzliches Paar geschweifter Klammern ein. Also
+bewirkt
+\begin{verbatim}
+TITLE="{Graphische Sprachelemente in ALGOL 68}"
+\end{verbatim}
+genau das Gew"unschte (die G"ansef"u"schen z"ahlen als "au"seres Klammerpaar
+und k"onnten auch durch geschweifte Klammern ersetzt werden, die
+zus"atzlichen Klammern sind aber trotzdem erforderlich). Statt dessen
+k"onnte man auch nur die gro"szuschreibenden W"orter oder Buchstaben
+klammern, z.\,B.
+\begin{verbatim}
+TITLE="{G}raphische {S}prachelemente in {ALGOL} 68"
+\end{verbatim}
+Diese Technik wendet man manchmal auch in englischen Titeln an, etwa in
+\begin{verbatim}
+TITLE="Stiff {ODE} Solvers: A Review of Current and Coming Attractions"
+\end{verbatim}
+so da"s sich der Titel "`Stiff ODE solvers: A review of current and coming
+attractions"' ergibt (das Wort nach dem Doppelpunkt bleibt ohne besondere
+Ma"snahme gro"sgeschrieben).
+
+%-----------------------------------------------------------------------------
+
+\footnotesize\bibliography{jfull,inf}\bibliographystyle{aplain}
+%\addcontentsline{toc}{section}{\refname}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/abstyles/acompat.bib b/biblio/bibtex/contrib/abstyles/acompat.bib
new file mode 100644
index 0000000000..fb94505e64
--- /dev/null
+++ b/biblio/bibtex/contrib/abstyles/acompat.bib
@@ -0,0 +1,45 @@
+This is ACOMPAT.BIB, a BibTeX database file for the `adaptable' style
+family, written by Hans-Hermann Bode (HHBODE at DOSUNI1.BITNET), that contains
+compatibility definitions for use with standard styles. Use acompat as the
+very first item---even before jourfull or jourabbr---in your \bibliography
+command when you have to typeset your new databases---relying on the
+adaptable styles---with the standard styles.
+
+------------------------------------------------------------------------------
+
+First, we declare the \abfull switch that is defined by the adaptable
+styles. Here, it is unconditionally set to true which might not fit your
+needs (in this case, say \abfullfalse instead of \abfulltrue).
+
+@PREAMBLE{"\newif\ifabfull\abfulltrue"}
+
+------------------------------------------------------------------------------
+
+Next, the strings for edition numbers are defined.
+
+@STRING{first="First"}
+@STRING{second="Second"}
+@STRING{third="Third"}
+@STRING{fourth="Fourth"}
+@STRING{fifth="Fifth"}
+@STRING{sixth="Sixth"}
+@STRING{seventh="Seventh"}
+@STRING{eighth="Eighth"}
+@STRING{ninth="Ninth"}
+@STRING{tenth="Tenth"}
+
+------------------------------------------------------------------------------
+
+Finally, we have to set up strings for certain ``chapter'' names.
+
+@STRING{section="Section"}
+@STRING{paragraph="Paragraph"}
+@STRING{appendix="Appendix"}
+@STRING{part="Part"}
+
+------------------------------------------------------------------------------
+
+That's all there is to it. Now you can use your new databases with the old
+styles as well.
+
+------------------------------------------------------------------------------
diff --git a/biblio/bibtex/contrib/abstyles/anotit.bst b/biblio/bibtex/contrib/abstyles/anotit.bst
new file mode 100644
index 0000000000..3d9b27546b
--- /dev/null
+++ b/biblio/bibtex/contrib/abstyles/anotit.bst
@@ -0,0 +1,1074 @@
+% BibTeX bibliography style `ANOTIT'
+ENTRY
+{ address
+author
+booktitle
+chapter
+edition
+editor
+howpublished
+institution
+journal
+key
+month
+note
+number
+organization
+pages
+publisher
+school
+series
+title
+type
+volume
+year
+}
+{}
+{ label }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block
+continue.sentence }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+#1 'mid.sentence :=
+#2 'after.sentence :=
+#3 'after.block :=
+#4 'continue.sentence :=
+}
+STRINGS { s t }
+FUNCTION {output.nonnull}
+{ 's :=
+output.state continue.sentence =
+{ " " * write$ }
+{ output.state mid.sentence =
+{ ", " * write$ }
+{ output.state after.block =
+{ add.period$ write$
+newline$
+"\newblock " write$
+}
+{ output.state before.all =
+'write$
+{ add.period$ " " * write$ }
+if$
+}
+if$
+}
+if$
+continue.sentence 'output.state :=
+}
+if$
+s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+'pop$
+'output.nonnull
+if$
+}
+FUNCTION {output.check}
+{ 't :=
+duplicate$ empty$
+{ pop$ "empty " t * " in " * cite$ * warning$ }
+'output.nonnull
+if$
+}
+FUNCTION {output.bibitem}
+{ newline$
+"\bibitem{" write$
+cite$ write$
+"}" write$
+newline$
+""
+before.all 'output.state :=
+}
+FUNCTION {fin.entry}
+{ add.period$
+write$
+newline$
+}
+FUNCTION {new.block}
+{ output.state before.all =
+'skip$
+{ after.block 'output.state := }
+if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+'skip$
+{ output.state before.all =
+'skip$
+{ after.sentence 'output.state := }
+if$
+}
+if$
+}
+FUNCTION {new.clause}
+{ output.state after.sentence =
+'skip$
+{ output.state after.block =
+'skip$
+{ output.state before.all =
+'skip$
+{ mid.sentence 'output.state := }
+if$
+}
+if$
+}
+if$
+}
+FUNCTION {not}
+{ { #0 }
+{ #1 }
+if$
+}
+FUNCTION {and}
+{ 'skip$
+{ pop$ #0 }
+if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+'skip$
+if$
+}
+FUNCTION {new.block.checka}
+{ empty$
+'skip$
+'new.block
+if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.block
+if$
+}
+FUNCTION {new.sentence.checka}
+{ empty$
+'skip$
+'new.sentence
+if$
+}
+FUNCTION {new.sentence.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.sentence
+if$
+}
+FUNCTION {new.clause.checka}
+{ empty$
+'skip$
+'new.clause
+if$
+}
+FUNCTION {new.clause.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.clause
+if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+{ pop$ "" }
+'skip$
+if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{2}{" swap$ * "}" * }
+if$
+}
+FUNCTION {capitalize}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{0}{" swap$ * "}" * }
+if$
+}
+FUNCTION {boldface}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{3}{" swap$ * "}" * }
+if$
+}
+FUNCTION {quote}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{1}{" swap$ * "}" * }
+if$
+}
+FUNCTION {parentheses}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{5}{" swap$ * "}" * }
+if$
+}
+INTEGERS { nameptr namesleft numnames }
+FUNCTION {format.names}
+{ 's :=
+#1 'nameptr :=
+s num.names$ 'numnames :=
+numnames 'namesleft :=
+{ namesleft #0 > }
+{ s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+nameptr #1 >
+{ namesleft #1 >
+{ ", " * t * }
+{ numnames #2 >
+{ "\abphrase{1}" * }
+'skip$
+if$
+t "others" =
+{ "\abphrase{2}" * }
+{ "\abphrase{0}" * t * }
+if$
+}
+if$
+}
+'t
+if$
+nameptr #1 + 'nameptr :=
+namesleft #1 - 'namesleft :=
+}
+while$
+}
+FUNCTION {format.authors}
+{ author empty$
+{ "" }
+{ author format.names capitalize }
+if$
+}
+FUNCTION {format.editors}
+{ editor empty$
+{ "" }
+{ editor format.names capitalize
+editor num.names$ #1 >
+{ "\abphrase{3}" * }
+{ "\abphrase{4}" * }
+if$
+}
+if$
+}
+FUNCTION {format.title}
+{ title empty$
+{ "" }
+{ title "t" change.case$ }
+if$
+}
+FUNCTION {n.dashify}
+{ 't :=
+""
+{ t empty$ not }
+{ t #1 #1 substring$ "-" =
+{ t #1 #2 substring$ "--" = not
+{ "--" *
+t #2 global.max$ substring$ 't :=
+}
+{ { t #1 #1 substring$ "-" = }
+{ "-" *
+t #2 global.max$ substring$ 't :=
+}
+while$
+}
+if$
+}
+{ t #1 #1 substring$ *
+t #2 global.max$ substring$ 't :=
+}
+if$
+}
+while$
+}
+FUNCTION {format.date}
+{ year empty$
+{ month empty$
+{ "" }
+{ "there's a month but no year in " cite$ * warning$
+month parentheses
+}
+if$
+}
+{ month empty$
+{ year parentheses }
+{ month " " * year * parentheses }
+if$
+}
+if$
+}
+FUNCTION {format.btitle}
+{ title quote
+}
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+{ "~" }
+{ " " }
+if$
+swap$ * *
+}
+FUNCTION {either.or.check}
+{ empty$
+'pop$
+{ "can't use both " swap$ * " fields in " * cite$ * warning$ }
+if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+{ "" }
+{ "\abphrase{8}" volume tie.or.space.connect
+series empty$
+'skip$
+{ "\abphrase{5}" * series quote * }
+if$
+"volume and number" number either.or.check
+}
+if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+{ number empty$
+{ series field.or.null }
+{ output.state mid.sentence = output.state continue.sentence = or
+{ "\abphrase{10}" }
+{ "\abphrase{11}" }
+if$
+number tie.or.space.connect
+series empty$
+{ "there's a number but no series in " cite$ * warning$ }
+{ "\abphrase{6}" * series * }
+if$
+}
+if$
+}
+{ "" }
+if$
+}
+FUNCTION {format.edition}
+{ edition empty$
+{ "" }
+{ output.state mid.sentence = output.state continue.sentence = or
+{ edition "l" change.case$ "\abphrase{12}" * }
+{ edition "t" change.case$ "\abphrase{12}" * }
+if$
+}
+if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+#0 'multiresult :=
+{ multiresult not
+t empty$ not
+and
+}
+{ t #1 #1 substring$
+duplicate$ "-" =
+swap$ duplicate$ "," =
+swap$ "+" =
+or or
+{ #1 'multiresult := }
+{ t #2 global.max$ substring$ 't := }
+if$
+}
+while$
+multiresult
+}
+FUNCTION {format.pages}
+{ pages empty$
+{ "" }
+{ pages multi.page.check
+{ "\abphrase{13}" pages n.dashify tie.or.space.connect }
+{ "\abphrase{14}" pages tie.or.space.connect }
+if$
+}
+if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null boldface
+number empty$
+'skip$
+{ "\abtype{4}{" number * "}" * *
+volume empty$
+{ "there's a number but no volume in " cite$ * warning$ }
+'skip$
+if$
+}
+if$
+pages empty$
+'skip$
+{ duplicate$ empty$
+{ pop$ format.pages }
+{ ", " * pages n.dashify * }
+if$
+}
+if$
+}
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+'format.pages
+{ type empty$
+{ "\abphrase{15}" }
+{ type "l" change.case$ }
+if$
+chapter tie.or.space.connect
+pages empty$
+'skip$
+{ ", " * format.pages * }
+if$
+}
+if$
+}
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+{ "" }
+{ editor empty$
+{ "\abphrase{7}" booktitle quote * }
+{ "\abphrase{7}" format.editors * ", " * booktitle quote * }
+if$
+}
+if$
+}
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+month empty$ year empty$ note empty$
+and and and and and
+key empty$ not and
+{ "all relevant fields are empty in " cite$ * warning$ }
+'skip$
+if$
+}
+FUNCTION {format.thesis.type}
+{ type empty$
+'skip$
+{ pop$
+type "t" change.case$
+}
+if$
+}
+FUNCTION {format.tr.number}
+{ type empty$
+{ "\abphrase{16}" }
+'type
+if$
+number empty$
+{ "t" change.case$ }
+{ number tie.or.space.connect }
+if$
+}
+FUNCTION {format.article.crossref}
+{ key empty$
+{ journal empty$
+{ "need key or journal for " cite$ * " to crossref " * crossref *
+warning$
+""
+}
+{ "\abphrase{7}" journal emphasize * }
+if$
+}
+{ "\abphrase{7}" key * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+editor num.names$ duplicate$
+#2 >
+{ pop$ "\abphrase{2}" * }
+{ #2 <
+'skip$
+{ editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+{ "\abphrase{2}" * }
+{ "\abphrase{0}" * editor #2 "{vv~}{ll}" format.name$ * }
+if$
+}
+if$
+}
+if$
+}
+FUNCTION {format.book.crossref}
+{ volume empty$
+{ "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+"\abphrase{7}"
+}
+{ "\abphrase{9}" volume tie.or.space.connect
+"\abphrase{5}" *
+}
+if$
+editor empty$
+editor field.or.null author field.or.null =
+or
+{ key empty$
+{ series empty$
+{ "need editor, key, or series for " cite$ * " to crossref " *
+crossref * warning$
+"" *
+}
+{ series quote * }
+if$
+}
+{ key * }
+if$
+}
+{ format.crossref.editor * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+editor field.or.null author field.or.null =
+or
+{ key empty$
+{ booktitle empty$
+{ "need editor, key, or booktitle for " cite$ * " to crossref " *
+crossref * warning$
+""
+}
+{ "\abphrase{7}" booktitle quote * }
+if$
+}
+{ "\abphrase{7}" key * }
+if$
+}
+{ "\abphrase{7}" format.crossref.editor * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {article}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+crossref missing$
+{ journal emphasize "journal" output.check
+format.vol.num.pages output
+format.date "year" output.check
+}
+{ format.article.crossref output.nonnull
+new.clause
+format.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+author empty$
+{ format.editors "author and editor" output.check }
+{ format.authors output.nonnull
+crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+if$
+}
+if$
+new.block
+format.btitle "title" output.check
+crossref missing$
+{ new.clause
+format.bvolume output
+new.block
+format.number.series output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+}
+{ new.block
+format.book.crossref output.nonnull
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+format.authors output
+new.block
+format.title "title" output.check
+howpublished address new.block.checkb
+howpublished output
+address new.clause.checka
+address output
+format.date output
+new.block
+note output
+fin.entry
+}
+FUNCTION {inbook}
+{ output.bibitem
+author empty$
+{ format.editors "author and editor" output.check }
+{ format.authors output.nonnull
+crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+if$
+}
+if$
+new.block
+format.btitle "title" output.check
+new.clause
+crossref missing$
+{ format.bvolume output
+new.clause
+format.chapter.pages "chapter and pages" output.check
+new.block
+format.number.series output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+}
+{ format.chapter.pages "chapter and pages" output.check
+new.block
+format.book.crossref output.nonnull
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {incollection}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+chapter empty$ pages empty$ and
+{
+format.title "title" output.check
+new.block
+}
+'skip$
+if$
+crossref missing$
+{ format.in.ed.booktitle "booktitle" output.check
+new.clause
+format.bvolume output
+new.clause
+format.number.series output
+new.clause
+format.chapter.pages output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+}
+{ format.incoll.inproc.crossref output.nonnull
+new.clause
+format.chapter.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+pages empty$
+{
+format.title "title" output.check
+new.block
+}
+'skip$
+if$
+crossref missing$
+{ format.in.ed.booktitle "booktitle" output.check
+volume new.clause.checka
+format.bvolume output
+number series new.clause.checkb
+format.number.series output
+pages new.clause.checka
+format.pages output
+address empty$
+{ organization publisher new.sentence.checkb
+organization output
+publisher new.clause.checka
+publisher output
+format.date "year" output.check
+}
+{ new.clause
+address output.nonnull
+format.date "year" output.check
+new.sentence
+organization output
+new.clause
+publisher output
+}
+if$
+}
+{ format.incoll.inproc.crossref output.nonnull
+new.clause
+format.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+author empty$
+{ organization empty$
+'skip$
+{ organization output.nonnull
+new.clause
+address output
+}
+if$
+}
+{ format.authors output.nonnull }
+if$
+new.block
+format.btitle "title" output.check
+author empty$
+{ organization empty$
+{ address new.block.checka
+address output
+}
+'skip$
+if$
+}
+{ organization address new.block.checkb
+organization output
+address new.clause.checka
+address output
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date output
+new.block
+note output
+fin.entry
+}
+FUNCTION {mastersthesis}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+"\abphrase{17}" format.thesis.type output.nonnull
+new.clause
+school "school" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {misc}
+{ output.bibitem
+format.authors output
+title howpublished new.block.checkb
+format.title output
+howpublished new.block.checka
+howpublished output
+format.date output
+new.block
+note output
+fin.entry
+empty.misc.check
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.btitle "title" output.check
+new.block
+"\abphrase{18}" format.thesis.type output.nonnull
+new.clause
+school "school" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {proceedings}
+{ output.bibitem
+editor empty$
+{ organization output }
+{ format.editors output.nonnull }
+if$
+new.block
+format.btitle "title" output.check
+volume new.clause.checka
+format.bvolume output
+number series new.clause.checkb
+format.number.series output
+address empty$
+{ editor empty$
+{ publisher new.sentence.checka }
+{ organization publisher new.sentence.checkb
+organization output
+publisher new.clause.checka
+}
+if$
+publisher output
+format.date "year" output.check
+}
+{ new.clause
+address output.nonnull
+format.date "year" output.check
+new.sentence
+editor empty$
+'skip$
+{ organization output
+new.clause
+}
+if$
+publisher output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {techreport}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+number empty$
+{
+format.title "title" output.check
+new.block
+}
+'skip$
+if$
+format.tr.number output.nonnull
+new.clause
+institution "institution" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {unpublished}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+note "note" output.check
+format.date output
+fin.entry
+}
+FUNCTION {default.type} { misc }
+MACRO {jan} {"\abmonth{1}"}
+MACRO {feb} {"\abmonth{2}"}
+MACRO {mar} {"\abmonth{3}"}
+MACRO {apr} {"\abmonth{4}"}
+MACRO {may} {"\abmonth{5}"}
+MACRO {jun} {"\abmonth{6}"}
+MACRO {jul} {"\abmonth{7}"}
+MACRO {aug} {"\abmonth{8}"}
+MACRO {sep} {"\abmonth{9}"}
+MACRO {oct} {"\abmonth{10}"}
+MACRO {nov} {"\abmonth{11}"}
+MACRO {dec} {"\abmonth{12}"}
+MACRO {first} {"\abedition{1}"}
+MACRO {second} {"\abedition{2}"}
+MACRO {third} {"\abedition{3}"}
+MACRO {fourth} {"\abedition{4}"}
+MACRO {fifth} {"\abedition{5}"}
+MACRO {sixth} {"\abedition{6}"}
+MACRO {seventh} {"\abedition{7}"}
+MACRO {eighth} {"\abedition{8}"}
+MACRO {ninth} {"\abedition{9}"}
+MACRO {tenth} {"\abedition{10}"}
+MACRO {section} {"\abchapter{0}"}
+MACRO {paragraph} {"\abchapter{1}"}
+MACRO {appendix} {"\abchapter{2}"}
+MACRO {part} {"\abchapter{3}"}
+READ
+FUNCTION {sortify}
+{ purify$
+"l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+'len :=
+s #1 len substring$ =
+{ s len #1 + global.max$ substring$ }
+'s
+if$
+}
+FUNCTION {sort.format.names}
+{ 's :=
+#1 'nameptr :=
+""
+s num.names$ 'numnames :=
+numnames 'namesleft :=
+{ namesleft #0 > }
+{ nameptr #1 >
+{ " " * }
+'skip$
+if$
+s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't :=
+nameptr numnames = t "others" = and
+{ "et al" * }
+{ t sortify * }
+if$
+nameptr #1 + 'nameptr :=
+namesleft #1 - 'namesleft :=
+}
+while$
+}
+FUNCTION {sort.format.title}
+{ 't :=
+"A " #2
+"An " #3
+"The " #4 t chop.word
+chop.word
+chop.word
+sortify
+#1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+{ key empty$
+{ "to sort, need author or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+{ editor empty$
+{ key empty$
+{ "to sort, need author, editor, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ editor sort.format.names }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {author.organization.sort}
+{ author empty$
+{ organization empty$
+{ key empty$
+{ "to sort, need author, organization, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ "The " #4 organization chop.word sortify }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {editor.organization.sort}
+{ editor empty$
+{ organization empty$
+{ key empty$
+{ "to sort, need editor, organization, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ "The " #4 organization chop.word sortify }
+if$
+}
+{ editor sort.format.names }
+if$
+}
+FUNCTION {presort}
+{ type$ "book" =
+type$ "inbook" =
+or
+'author.editor.sort
+{ type$ "proceedings" =
+'editor.organization.sort
+{ type$ "manual" =
+'author.organization.sort
+'author.sort
+if$
+}
+if$
+}
+if$
+" "
+*
+year field.or.null sortify
+*
+" "
+*
+title field.or.null
+sort.format.title
+*
+#1 entry.max$ substring$
+'sort.key$ :=
+}
+ITERATE {presort}
+SORT
+STRINGS { longest.label }
+INTEGERS { number.label longest.label.width }
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+#1 'number.label :=
+#0 'longest.label.width :=
+}
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+number.label #1 + 'number.label :=
+label width$ longest.label.width >
+{ label 'longest.label :=
+label width$ 'longest.label.width :=
+}
+'skip$
+if$
+}
+EXECUTE {initialize.longest.label}
+ITERATE {longest.label.pass}
+FUNCTION {begin.bib}
+{
+"\newif\ifabfull\abfullfalse" write$ newline$
+preamble$ empty$
+'skip$
+{ preamble$ write$ newline$ }
+if$
+"\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+"\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/abstyles/aplain.bst b/biblio/bibtex/contrib/abstyles/aplain.bst
new file mode 100644
index 0000000000..7f98af6b12
--- /dev/null
+++ b/biblio/bibtex/contrib/abstyles/aplain.bst
@@ -0,0 +1,1061 @@
+% BibTeX bibliography style `APLAIN'
+ENTRY
+{ address
+author
+booktitle
+chapter
+edition
+editor
+howpublished
+institution
+journal
+key
+month
+note
+number
+organization
+pages
+publisher
+school
+series
+title
+type
+volume
+year
+}
+{}
+{ label }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block
+continue.sentence }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+#1 'mid.sentence :=
+#2 'after.sentence :=
+#3 'after.block :=
+#4 'continue.sentence :=
+}
+STRINGS { s t }
+FUNCTION {output.nonnull}
+{ 's :=
+output.state continue.sentence =
+{ " " * write$ }
+{ output.state mid.sentence =
+{ ", " * write$ }
+{ output.state after.block =
+{ add.period$ write$
+newline$
+"\newblock " write$
+}
+{ output.state before.all =
+'write$
+{ add.period$ " " * write$ }
+if$
+}
+if$
+}
+if$
+continue.sentence 'output.state :=
+}
+if$
+s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+'pop$
+'output.nonnull
+if$
+}
+FUNCTION {output.check}
+{ 't :=
+duplicate$ empty$
+{ pop$ "empty " t * " in " * cite$ * warning$ }
+'output.nonnull
+if$
+}
+FUNCTION {output.bibitem}
+{ newline$
+"\bibitem{" write$
+cite$ write$
+"}" write$
+newline$
+""
+before.all 'output.state :=
+}
+FUNCTION {fin.entry}
+{ add.period$
+write$
+newline$
+}
+FUNCTION {new.block}
+{ output.state before.all =
+'skip$
+{ after.block 'output.state := }
+if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+'skip$
+{ output.state before.all =
+'skip$
+{ after.sentence 'output.state := }
+if$
+}
+if$
+}
+FUNCTION {new.clause}
+{ output.state after.sentence =
+'skip$
+{ output.state after.block =
+'skip$
+{ output.state before.all =
+'skip$
+{ mid.sentence 'output.state := }
+if$
+}
+if$
+}
+if$
+}
+FUNCTION {not}
+{ { #0 }
+{ #1 }
+if$
+}
+FUNCTION {and}
+{ 'skip$
+{ pop$ #0 }
+if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+'skip$
+if$
+}
+FUNCTION {new.block.checka}
+{ empty$
+'skip$
+'new.block
+if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.block
+if$
+}
+FUNCTION {new.sentence.checka}
+{ empty$
+'skip$
+'new.sentence
+if$
+}
+FUNCTION {new.sentence.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.sentence
+if$
+}
+FUNCTION {new.clause.checka}
+{ empty$
+'skip$
+'new.clause
+if$
+}
+FUNCTION {new.clause.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.clause
+if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+{ pop$ "" }
+'skip$
+if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{2}{" swap$ * "}" * }
+if$
+}
+FUNCTION {capitalize}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{0}{" swap$ * "}" * }
+if$
+}
+FUNCTION {boldface}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{3}{" swap$ * "}" * }
+if$
+}
+FUNCTION {quote}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{1}{" swap$ * "}" * }
+if$
+}
+FUNCTION {parentheses}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{5}{" swap$ * "}" * }
+if$
+}
+INTEGERS { nameptr namesleft numnames }
+FUNCTION {format.names}
+{ 's :=
+#1 'nameptr :=
+s num.names$ 'numnames :=
+numnames 'namesleft :=
+{ namesleft #0 > }
+{ s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+nameptr #1 >
+{ namesleft #1 >
+{ ", " * t * }
+{ numnames #2 >
+{ "\abphrase{1}" * }
+'skip$
+if$
+t "others" =
+{ "\abphrase{2}" * }
+{ "\abphrase{0}" * t * }
+if$
+}
+if$
+}
+'t
+if$
+nameptr #1 + 'nameptr :=
+namesleft #1 - 'namesleft :=
+}
+while$
+}
+FUNCTION {format.authors}
+{ author empty$
+{ "" }
+{ author format.names capitalize }
+if$
+}
+FUNCTION {format.editors}
+{ editor empty$
+{ "" }
+{ editor format.names capitalize
+editor num.names$ #1 >
+{ "\abphrase{3}" * }
+{ "\abphrase{4}" * }
+if$
+}
+if$
+}
+FUNCTION {format.title}
+{ title empty$
+{ "" }
+{ title "t" change.case$ }
+if$
+}
+FUNCTION {n.dashify}
+{ 't :=
+""
+{ t empty$ not }
+{ t #1 #1 substring$ "-" =
+{ t #1 #2 substring$ "--" = not
+{ "--" *
+t #2 global.max$ substring$ 't :=
+}
+{ { t #1 #1 substring$ "-" = }
+{ "-" *
+t #2 global.max$ substring$ 't :=
+}
+while$
+}
+if$
+}
+{ t #1 #1 substring$ *
+t #2 global.max$ substring$ 't :=
+}
+if$
+}
+while$
+}
+FUNCTION {format.date}
+{ year empty$
+{ month empty$
+{ "" }
+{ "there's a month but no year in " cite$ * warning$
+month parentheses
+}
+if$
+}
+{ month empty$
+{ year parentheses }
+{ month " " * year * parentheses }
+if$
+}
+if$
+}
+FUNCTION {format.btitle}
+{ title quote
+}
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+{ "~" }
+{ " " }
+if$
+swap$ * *
+}
+FUNCTION {either.or.check}
+{ empty$
+'pop$
+{ "can't use both " swap$ * " fields in " * cite$ * warning$ }
+if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+{ "" }
+{ "\abphrase{8}" volume tie.or.space.connect
+series empty$
+'skip$
+{ "\abphrase{5}" * series quote * }
+if$
+"volume and number" number either.or.check
+}
+if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+{ number empty$
+{ series field.or.null }
+{ output.state mid.sentence = output.state continue.sentence = or
+{ "\abphrase{10}" }
+{ "\abphrase{11}" }
+if$
+number tie.or.space.connect
+series empty$
+{ "there's a number but no series in " cite$ * warning$ }
+{ "\abphrase{6}" * series * }
+if$
+}
+if$
+}
+{ "" }
+if$
+}
+FUNCTION {format.edition}
+{ edition empty$
+{ "" }
+{ output.state mid.sentence = output.state continue.sentence = or
+{ edition "l" change.case$ "\abphrase{12}" * }
+{ edition "t" change.case$ "\abphrase{12}" * }
+if$
+}
+if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+#0 'multiresult :=
+{ multiresult not
+t empty$ not
+and
+}
+{ t #1 #1 substring$
+duplicate$ "-" =
+swap$ duplicate$ "," =
+swap$ "+" =
+or or
+{ #1 'multiresult := }
+{ t #2 global.max$ substring$ 't := }
+if$
+}
+while$
+multiresult
+}
+FUNCTION {format.pages}
+{ pages empty$
+{ "" }
+{ pages multi.page.check
+{ "\abphrase{13}" pages n.dashify tie.or.space.connect }
+{ "\abphrase{14}" pages tie.or.space.connect }
+if$
+}
+if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null boldface
+number empty$
+'skip$
+{ "\abtype{4}{" number * "}" * *
+volume empty$
+{ "there's a number but no volume in " cite$ * warning$ }
+'skip$
+if$
+}
+if$
+pages empty$
+'skip$
+{ duplicate$ empty$
+{ pop$ format.pages }
+{ ", " * pages n.dashify * }
+if$
+}
+if$
+}
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+'format.pages
+{ type empty$
+{ "\abphrase{15}" }
+{ type "l" change.case$ }
+if$
+chapter tie.or.space.connect
+pages empty$
+'skip$
+{ ", " * format.pages * }
+if$
+}
+if$
+}
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+{ "" }
+{ editor empty$
+{ "\abphrase{7}" booktitle quote * }
+{ "\abphrase{7}" format.editors * ", " * booktitle quote * }
+if$
+}
+if$
+}
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+month empty$ year empty$ note empty$
+and and and and and
+key empty$ not and
+{ "all relevant fields are empty in " cite$ * warning$ }
+'skip$
+if$
+}
+FUNCTION {format.thesis.type}
+{ type empty$
+'skip$
+{ pop$
+type "t" change.case$
+}
+if$
+}
+FUNCTION {format.tr.number}
+{ type empty$
+{ "\abphrase{16}" }
+'type
+if$
+number empty$
+{ "t" change.case$ }
+{ number tie.or.space.connect }
+if$
+}
+FUNCTION {format.article.crossref}
+{ key empty$
+{ journal empty$
+{ "need key or journal for " cite$ * " to crossref " * crossref *
+warning$
+""
+}
+{ "\abphrase{7}" journal emphasize * }
+if$
+}
+{ "\abphrase{7}" key * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+editor num.names$ duplicate$
+#2 >
+{ pop$ "\abphrase{2}" * }
+{ #2 <
+'skip$
+{ editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+{ "\abphrase{2}" * }
+{ "\abphrase{0}" * editor #2 "{vv~}{ll}" format.name$ * }
+if$
+}
+if$
+}
+if$
+}
+FUNCTION {format.book.crossref}
+{ volume empty$
+{ "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+"\abphrase{7}"
+}
+{ "\abphrase{9}" volume tie.or.space.connect
+"\abphrase{5}" *
+}
+if$
+editor empty$
+editor field.or.null author field.or.null =
+or
+{ key empty$
+{ series empty$
+{ "need editor, key, or series for " cite$ * " to crossref " *
+crossref * warning$
+"" *
+}
+{ series quote * }
+if$
+}
+{ key * }
+if$
+}
+{ format.crossref.editor * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+editor field.or.null author field.or.null =
+or
+{ key empty$
+{ booktitle empty$
+{ "need editor, key, or booktitle for " cite$ * " to crossref " *
+crossref * warning$
+""
+}
+{ "\abphrase{7}" booktitle quote * }
+if$
+}
+{ "\abphrase{7}" key * }
+if$
+}
+{ "\abphrase{7}" format.crossref.editor * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {article}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+crossref missing$
+{ journal emphasize "journal" output.check
+format.vol.num.pages output
+format.date "year" output.check
+}
+{ format.article.crossref output.nonnull
+new.clause
+format.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+author empty$
+{ format.editors "author and editor" output.check }
+{ format.authors output.nonnull
+crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+if$
+}
+if$
+new.block
+format.btitle "title" output.check
+crossref missing$
+{ new.clause
+format.bvolume output
+new.block
+format.number.series output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+}
+{ new.block
+format.book.crossref output.nonnull
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+format.authors output
+new.block
+format.title "title" output.check
+howpublished address new.block.checkb
+howpublished output
+address new.clause.checka
+address output
+format.date output
+new.block
+note output
+fin.entry
+}
+FUNCTION {inbook}
+{ output.bibitem
+author empty$
+{ format.editors "author and editor" output.check }
+{ format.authors output.nonnull
+crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+if$
+}
+if$
+new.block
+format.btitle "title" output.check
+new.clause
+crossref missing$
+{ format.bvolume output
+new.clause
+format.chapter.pages "chapter and pages" output.check
+new.block
+format.number.series output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+}
+{ format.chapter.pages "chapter and pages" output.check
+new.block
+format.book.crossref output.nonnull
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {incollection}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+crossref missing$
+{ format.in.ed.booktitle "booktitle" output.check
+new.clause
+format.bvolume output
+new.clause
+format.number.series output
+new.clause
+format.chapter.pages output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+}
+{ format.incoll.inproc.crossref output.nonnull
+new.clause
+format.chapter.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+crossref missing$
+{ format.in.ed.booktitle "booktitle" output.check
+volume new.clause.checka
+format.bvolume output
+number series new.clause.checkb
+format.number.series output
+pages new.clause.checka
+format.pages output
+address empty$
+{ organization publisher new.sentence.checkb
+organization output
+publisher new.clause.checka
+publisher output
+format.date "year" output.check
+}
+{ new.clause
+address output.nonnull
+format.date "year" output.check
+new.sentence
+organization output
+new.clause
+publisher output
+}
+if$
+}
+{ format.incoll.inproc.crossref output.nonnull
+new.clause
+format.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+author empty$
+{ organization empty$
+'skip$
+{ organization output.nonnull
+new.clause
+address output
+}
+if$
+}
+{ format.authors output.nonnull }
+if$
+new.block
+format.btitle "title" output.check
+author empty$
+{ organization empty$
+{ address new.block.checka
+address output
+}
+'skip$
+if$
+}
+{ organization address new.block.checkb
+organization output
+address new.clause.checka
+address output
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date output
+new.block
+note output
+fin.entry
+}
+FUNCTION {mastersthesis}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+"\abphrase{17}" format.thesis.type output.nonnull
+new.clause
+school "school" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {misc}
+{ output.bibitem
+format.authors output
+title howpublished new.block.checkb
+format.title output
+howpublished new.block.checka
+howpublished output
+format.date output
+new.block
+note output
+fin.entry
+empty.misc.check
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.btitle "title" output.check
+new.block
+"\abphrase{18}" format.thesis.type output.nonnull
+new.clause
+school "school" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {proceedings}
+{ output.bibitem
+editor empty$
+{ organization output }
+{ format.editors output.nonnull }
+if$
+new.block
+format.btitle "title" output.check
+volume new.clause.checka
+format.bvolume output
+number series new.clause.checkb
+format.number.series output
+address empty$
+{ editor empty$
+{ publisher new.sentence.checka }
+{ organization publisher new.sentence.checkb
+organization output
+publisher new.clause.checka
+}
+if$
+publisher output
+format.date "year" output.check
+}
+{ new.clause
+address output.nonnull
+format.date "year" output.check
+new.sentence
+editor empty$
+'skip$
+{ organization output
+new.clause
+}
+if$
+publisher output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {techreport}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+format.tr.number output.nonnull
+new.clause
+institution "institution" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {unpublished}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+note "note" output.check
+format.date output
+fin.entry
+}
+FUNCTION {default.type} { misc }
+MACRO {jan} {"\abmonth{1}"}
+MACRO {feb} {"\abmonth{2}"}
+MACRO {mar} {"\abmonth{3}"}
+MACRO {apr} {"\abmonth{4}"}
+MACRO {may} {"\abmonth{5}"}
+MACRO {jun} {"\abmonth{6}"}
+MACRO {jul} {"\abmonth{7}"}
+MACRO {aug} {"\abmonth{8}"}
+MACRO {sep} {"\abmonth{9}"}
+MACRO {oct} {"\abmonth{10}"}
+MACRO {nov} {"\abmonth{11}"}
+MACRO {dec} {"\abmonth{12}"}
+MACRO {first} {"\abedition{1}"}
+MACRO {second} {"\abedition{2}"}
+MACRO {third} {"\abedition{3}"}
+MACRO {fourth} {"\abedition{4}"}
+MACRO {fifth} {"\abedition{5}"}
+MACRO {sixth} {"\abedition{6}"}
+MACRO {seventh} {"\abedition{7}"}
+MACRO {eighth} {"\abedition{8}"}
+MACRO {ninth} {"\abedition{9}"}
+MACRO {tenth} {"\abedition{10}"}
+MACRO {section} {"\abchapter{0}"}
+MACRO {paragraph} {"\abchapter{1}"}
+MACRO {appendix} {"\abchapter{2}"}
+MACRO {part} {"\abchapter{3}"}
+READ
+FUNCTION {sortify}
+{ purify$
+"l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+'len :=
+s #1 len substring$ =
+{ s len #1 + global.max$ substring$ }
+'s
+if$
+}
+FUNCTION {sort.format.names}
+{ 's :=
+#1 'nameptr :=
+""
+s num.names$ 'numnames :=
+numnames 'namesleft :=
+{ namesleft #0 > }
+{ nameptr #1 >
+{ " " * }
+'skip$
+if$
+s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+nameptr numnames = t "others" = and
+{ "et al" * }
+{ t sortify * }
+if$
+nameptr #1 + 'nameptr :=
+namesleft #1 - 'namesleft :=
+}
+while$
+}
+FUNCTION {sort.format.title}
+{ 't :=
+"A " #2
+"An " #3
+"The " #4 t chop.word
+chop.word
+chop.word
+sortify
+#1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+{ key empty$
+{ "to sort, need author or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+{ editor empty$
+{ key empty$
+{ "to sort, need author, editor, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ editor sort.format.names }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {author.organization.sort}
+{ author empty$
+{ organization empty$
+{ key empty$
+{ "to sort, need author, organization, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ "The " #4 organization chop.word sortify }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {editor.organization.sort}
+{ editor empty$
+{ organization empty$
+{ key empty$
+{ "to sort, need editor, organization, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ "The " #4 organization chop.word sortify }
+if$
+}
+{ editor sort.format.names }
+if$
+}
+FUNCTION {presort}
+{ type$ "book" =
+type$ "inbook" =
+or
+'author.editor.sort
+{ type$ "proceedings" =
+'editor.organization.sort
+{ type$ "manual" =
+'author.organization.sort
+'author.sort
+if$
+}
+if$
+}
+if$
+" "
+*
+year field.or.null sortify
+*
+" "
+*
+title field.or.null
+sort.format.title
+*
+#1 entry.max$ substring$
+'sort.key$ :=
+}
+ITERATE {presort}
+SORT
+STRINGS { longest.label }
+INTEGERS { number.label longest.label.width }
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+#1 'number.label :=
+#0 'longest.label.width :=
+}
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+number.label #1 + 'number.label :=
+label width$ longest.label.width >
+{ label 'longest.label :=
+label width$ 'longest.label.width :=
+}
+'skip$
+if$
+}
+EXECUTE {initialize.longest.label}
+ITERATE {longest.label.pass}
+FUNCTION {begin.bib}
+{
+"\newif\ifabfull\abfulltrue" write$ newline$
+preamble$ empty$
+'skip$
+{ preamble$ write$ newline$ }
+if$
+"\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+"\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/abstyles/apreambl.doc b/biblio/bibtex/contrib/abstyles/apreambl.doc
new file mode 100644
index 0000000000..8a8c434726
--- /dev/null
+++ b/biblio/bibtex/contrib/abstyles/apreambl.doc
@@ -0,0 +1,396 @@
+ %-*-Web-*-
+% This is APREAMBL.DOC, written by Hans-Hermann Bode (HHBODE@@DOSUNI1.BITNET).
+% Use MAKEPROG to generate the program, use TeX to produce the documentation.
+
+% This program is distributed WITHOUT ANY WARRANTY, express or implied.
+
+% Copyright (C) 1991, 1992 Hans-Hermann Bode
+
+% Permission is granted to make and distribute verbatim copies of this
+% document provided that the copyright notice and this permission notice
+% are preserved on all copies.
+
+% Permission is granted to copy and distribute modified versions of this
+% document under the conditions for verbatim copying, provided that the
+% entire resulting derived work is distributed under the terms of a
+% permission notice identical to this one.
+
+% Version history:
+%
+% Version Date Author Comment
+% 1.10a 18 Jul 1991 H2B First version for public release.
+% 1.10b 10 Aug 1991 H2B Improved handling of the language
+% switch, using MakeProg for
+% documentation.
+% 1.10c 04 Apr 1992 H2B Preventing multiple input, hiding
+% local identifiers, extending
+% documentation.
+% 1.10d 15 Apr 1992 H2B Incompatibility with german.sty 2.4a
+% fixed.
+% 1.10e 28 Jun 1992 H2B Problem with |\mdqoff| fixed.
+
+%-----------------------------------------------------------------------------
+
+\input docmac
+
+\def\title{APREAMBL}
+\def\curversion{1.10e}
+\def\curdate{June 1992}
+
+\def\topofcontents{\null\vfill
+ \centerline{\ttitlefont\title}
+ \medskip
+ \centerline{Preamble definitions for the \BibTeX\ `adaptable' family}
+ \medskip
+ \centerline{Version \curversion, \curdate}
+ \bigskip
+ \centerline{\sl Hans-Hermann Bode}
+ \centerline{\sl Arbeitsgruppe Systemforschung, Universit\"at Osnabr\"uck}
+ \vfill}
+
+\def\botofcontents{\vfill
+ \noindent
+ Copyright \copyright\ 1991,\thinspace1992 Hans-Hermann Bode
+ \bigskip\noindent
+ Permission is granted to make and distribute verbatim copies of this
+ document provided that the copyright notice and this permission notice
+ are preserved on all copies.
+ \smallskip\noindent
+ Permission is granted to copy and distribute modified versions of this
+ document under the conditions for verbatim copying, provided that the
+ entire resulting derived work is distributed under the terms of a
+ permission notice identical to this one.}
+
+%-----------------------------------------------------------------------------
+
+%\input amssym.def
+%\input btxmac
+%\input sammac
+\input a4c
+
+%\frenchspacing
+
+\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
+ T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
+\def\LaTeX{{\rm L\kern-.36em\raise.3ex\hbox{\sc a}\kern-.15em
+ T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
+
+\chap Introduction. %---------------------------------------------------------
+This file provides preamble definitions for use with the \BibTeX\
+`adaptable' family. It has to be read in at the beginning of a bibliography
+that was generated by one of the adaptable styles. Usually this will be done
+implicitly by means of an |@PREAMBLE| command in one of the bibliography
+databases included in the |\bibliography| enumeration (e.g.,
+\.{jourfull.bib} or \.{jourabbr.bib}), otherwise it must be |\input|
+explicitly right before the |\bibliography| macro is executed.
+
+\beginprog
+% This is APREAMBL.TEX, version 1.10e, written by Hans-Hermann Bode
+% (HHBODE@DOSUNI1.BITNET), for the BibTeX `adaptable' family, version 1.10.
+% See the file APREAMBL.DOC for a detailed documentation.
+
+% This program is distributed WITHOUT ANY WARRANTY, express or implied.
+
+% Copyright (C) 1991, 1992 Hans-Hermann Bode
+
+% Permission is granted to make and distribute verbatim copies of this
+% document provided that the copyright notice and this permission notice
+% are preserved on all copies.
+
+% Permission is granted to copy and distribute modified versions of this
+% document under the conditions for verbatim copying, provided that the
+% entire resulting derived work is distributed under the terms of a
+% permission notice identical to this one.
+\endprog
+
+\sect We use the---hopefully unique---identifier
+|\csname__APREAMBLE_TEX\endcsname| to decide whether this file was already
+read. If that identifier hasn't the meaning of |\relax|, we assume that this
+event arose and execute an |\endinput|; otherwise, we continue and store the
+|\catcode| of~|@| into it, which then will be set to~11 for use in local
+macro names. Hence, |\csname__APREAMBLE_TEX\endcsname| now is defined to
+prevent the file from multiply being input, and---on the other hand---we can
+restore the |\catcode| of~|@| in the end.
+
+\beginprog
+\expandafter\ifx\csname__APREAMBLE_TEX\endcsname\relax \else\endinput\fi
+\expandafter\chardef\csname__APREAMBLE_TEX\endcsname=\the\catcode`\@
+\catcode`\@=11
+\endprog
+
+\chap Setting style parameters. %---------------------------------------------
+The typesetting style of certain fields of the bibliography entries is
+determined by the |\abtype| command. It is called by the adaptable styles
+with two arguments: The first is a number that denotes the field in
+question, the second is the text to format. The meaning of the first
+parameter is declared in Tab.~1.
+$$\hbox{\sl Table~1: The first parameter of |\abtype|.\strut}$$
+$$\vbox{\halign{\strut\hfill#\hfill\quad & \vtop{\hsize=5cm\noindent#} \cr
+ \noalign{\hrule\hrule}
+ Value & Meaning \cr
+ \noalign{\hrule}
+ 0 & author and editor names \cr
+ 1 & titles of books and series \cr
+ 2 & journal titles \cr
+ 3 & journal volumes \cr
+ 4 & journal numbers \cr
+ 5 & dates \cr
+ \noalign{\hrule\hrule}
+ }}
+$$
+A comparison with the definition below shows that {\sc author and editor
+names} will be typeset in small caps, ``titles of books and series'' will be
+put in quotes, {\it journal titles\/} will come out in italics, {\bf journal
+volumes} will be boldface, and (journal numbers) and (dates) will be
+parenthesized. This may be changed to fit your needs.
+
+Currently, there is an English and a German version of the command. In the
+German version, the commands |\glqq| and |\grqq|---defined in
+\.{german.sty}---are used instead of |"`| and |"'|, in case we have
+|\mdqoff| (double-quotes inactive) but |\language=\german|.
+
+\beginprog
+\gdef\abtype@english{%
+\def\abtype##1##2{%
+\ifcase##1{\sc##2}\or``##2''\or{\em##2\/}\or{\bf##2}\or(##2)\or(##2)\else##2\fi}}
+
+\gdef\abtype@german{%
+\def\abtype##1##2{%
+\ifcase##1{\sc##2}\or\glqq##2\grqq\or{\em##2\/}\or{\bf##2}\or(##2)\or(##2)\else##2\fi}}
+\endprog
+
+\chap Definition of phrases. %------------------------------------------------
+Phrases are defined by the |\abphrase| command. The only parameter is a code
+for the phrase that is explained in Tab.~2.
+$$\hbox{\sl Table~2: The parameter of |\abphrase|.\strut}$$
+$$\vbox{\halign{\strut\hfill#\hfill\quad & \vtop{\hsize=10cm\noindent#} \cr
+ \noalign{\hrule\hrule}
+ Value & Meaning \cr
+ \noalign{\hrule}
+ 0 & conjunction between two or before the last name of a name list \cr
+ 1 & comes before the last conjunction of a name list \cr
+ 2 & replaces names of co-authors and co-editors (``et al.'') \cr
+ 3 & marks multiple editors \cr
+ 4 & marks a single editor \cr
+ 5 & ``of'' for a volume of a series or crossref \cr
+ 6 & ``in'' for a number in a series \cr
+ 7 & ``In'' for crossrefs to books, articles, etc. \cr
+ 8 & comes before a volume number, lower-case \cr
+ 9 & comes before a volume number, upper-case \cr
+ 10 & comes before a series number, lower-case \cr
+ 11 & comes before a series number, upper-case \cr
+ 12 & comes after an edition number \cr
+ 13 & comes before multiple page numbers \cr
+ 14 & comes before a single page number \cr
+ 15 & comes before a chapter number \cr
+ 16 & denotes a technical report \cr
+ 17 & denotes a master's thesis \cr
+ 18 & denotes a phd thesis \cr
+ \noalign{\hrule\hrule}
+ }}
+$$
+Besides, macros for month names, edition numbers, and ``chapter'' names are
+defined. (The |\abedition| command may be extended for higher edition numbers
+and called directly or---better---via |@STRING| declarations in the \.{bib}
+files).
+
+For all these commands there exists a ``full'' and an ``abbreviated''
+version. The |\ifabfull| switch is automatically defined by the adaptable
+styles in front of the preamble and tells which version to use.
+
+Furthermore, phrases can be supplied for various languages. For now, English
+and German versions are available, but other languages might be implemented
+similarly. If you carry out such an implementation, {\sl watch out for
+spaces\/} that may be significant.
+
+\sect Here is the English version:
+
+\beginprog
+\ifabfull
+
+\gdef\abetc@english{
+
+\def\abphrase##1{%
+\ifcase##1{ and }\or{,}\or{ et~al.}\or{, editors}\or{, editor}\or%
+{ of }\or{ in }\or{In }\or{volume}\or{Volume}\or{number}\or{Number}\or%
+{ edition}\or{pages}\or{page}\or{chapter}\or%
+{Technical Report}\or{Master's thesis}\or{PhD thesis}\fi}
+
+\def\abmonth##1{\ifcase##1\or January\or February\or March\or April\or May\or
+ June\or July\or August\or September\or October\or November\or December\fi}
+
+\def\abedition##1{\ifcase##1\or First\or Second\or Third\or Fourth\or Fifth\or
+ Sixth\or Seventh\or Eighth\or Ninth\or Tenth\else?\fi}
+
+\def\abchapter##1{\ifcase##1Section\or Paragraph\or Appendix\or Part\fi}
+
+}
+
+\else
+
+\gdef\abetc@english{
+
+\def\abphrase##1{%
+\ifcase##1{ and }\or{,}\or{ et~al.}\or{, editors}\or{, editor}\or%
+{ of }\or{ in }\or{In }\or{vol.}\or{Vol.}\or{no.}\or{No.}\or%
+{ ed.}\or{pp.}\or{p.}\or{ch.}\or%
+{Technical Report}\or{Master's thesis}\or{PhD thesis}\fi}
+
+\def\abmonth##1{\ifcase##1\or Jan.\or Feb.\or Mar.\or Apr.\or May\or June\or
+ July\or Aug.\or Sept.\or Oct.\or Nov.\or Dec.\fi}
+
+\def\abedition##1{\ifcase##1\or 1st\or 2nd\or 3rd\or 4th\or 5th\or
+ 6th\or 7th\or 8th\or 9th\or 10th\else?\fi}
+
+\def\abchapter##1{\ifcase##1Sec.\or Par.\or App.\or Part\fi}
+
+}
+
+\fi
+\endprog
+
+\sect And here is the German version, in which again we bear in mind the
+potential case that the current language is German but double-quotes are not
+active. Thus, we use |{\kern0pt}| instead of \.{"\vbar} (from
+\.{german.sty}) to get rid of ligatures and |\"| instead of |"| (ditto) for
+umlauts.
+
+\beginprog
+\ifabfull
+
+\gdef\abetc@german{
+
+\def\abphrase##1{%
+\ifcase##1{ und }\or{}\or{ und andere}\or{ (Herausgeber)}\or{ (Herausgeber)}\or%
+{ aus }\or{ in }\or{In }\or{Band}\or{Band}\or{Nummer}\or{Nummer}\or%
+{ Auf{\kern0pt}lage}\or{Seiten}\or{Seite}\or{Kapitel}\or%
+{Bericht}\or{Diplomarbeit}\or{Dissertation}\fi}
+
+\def\abmonth##1{\ifcase##1\or Januar\or Februar\or M\"arz\or April\or Mai\or
+ Juni\or Juli\or August\or September\or Oktober\or November\or Dezember\fi}
+
+\def\abedition##1{\ifcase##1\or Erste\or Zweite\or Dritte\or Vierte\or F\"unf\-te\or
+ Sechste\or Siebte\or Achte\or Neunte\or Zehnte\else?\fi}
+
+\def\abchapter##1{\ifcase##1Abschnitt\or Absatz\or Anhang\or Teil\fi}
+
+}
+
+\else
+
+\gdef\abetc@german{
+
+\def\abphrase##1{%
+\ifcase##1{ und }\or{}\or{ u.\thinspace a.}\or{ (Hrsg.)}\or{ (Hrsg.)}\or%
+{ aus }\or{ in }\or{In }\or{Bd.}\or{Bd.}\or{Nr.}\or{Nr.}\or%
+{ Aufl.}\or{S.}\or{S.}\or{Kap.}\or%
+{Bericht}\or{Diplomarbeit}\or{Dissertation}\fi}
+
+\def\abmonth##1{\ifcase##1\or Jan.\or Feb.\or M\"arz\or Apr.\or Mai\or
+ Juni\or Juli\or Aug.\or Sep.\or Okt.\or Nov.\or Dez.\fi}
+
+\def\abedition##1{\ifcase##1\or 1.\or 2.\or 3.\or 4.\or 5.\or
+ 6.\or 7.\or 8.\or 9.\or 10.\else?\fi}
+
+\def\abchapter##1{\ifcase##1Abschn.\or Abs.\or Anh.\or Teil\fi}
+
+}
+
+\fi
+\endprog
+
+\chap Establishing a language switch. %---------------------------------------
+Now we have reached the point where we have to decide which of the language
+versions defined above to use. We like to make this decision automatically,
+without bothering the user with the declaration of an extra language
+command. This, however, is a somewhat delicate task since, although \TeX~3
+defines a |\language| counter, it doesn't say which code belongs to a given
+actual language (and, in addition, what about former \TeX\ versions?).
+
+It will come out that at least two groups of users should agree with our way
+to handle this: those who always write English documents and those who use
+the \.{german.sty} macro package. If we detect that \.{german.sty} is loaded
+we follow the codes defined there, otherwise we create an English
+bibliography. (Due to this, \.{german.sty} clearly has to be loaded before
+\.{apreambl.tex}---if at all---; this should be no problem with \LaTeX\
+where |german| is a document-style option, but with plain \TeX, take care
+that |\input german.sty| comes before |\bibliography{...}| if necessary.)
+
+Incidentally, the checking of certain conditions and the definitions made in
+the following are stolen from \.{german.sty}.
+
+First, if |\language| has not yet been declared we allocate a counter:
+
+\beginprog
+\expandafter\ifx\csname language\endcsname\relax % \ifundefined{language}
+ \csname newcount\endcsname\language
+\fi
+\endprog
+
+\sect If the macro |\mdqon| is undefined or is equal to |\relax|, it is
+assumed that \.{german.sty} is not included. In this case we define language
+codes according to \.{german.sty} and select |\USenglish| as the default
+setting. The |\chardef| declarations for the other languages aren't really
+necessary for \.{apreambl}, but in this manner the user can rely on the
+fact that |\USenglish|, |\german|, |\austrian|, |\french|, and |\english| are
+defined and have appropriate meanings whether \.{german.sty} is loaded or
+not; so, he or she can make use of them in his or her \.{bib} files for
+special purposes.
+
+A slight surprise came about when \.{german.sty}, version 2.4a, was
+released: the control sequences above disappeared and are replaced by
+|\l@USenglish| etc. Furthermore, one can't rely on certain values for these
+anymore. To fix this problem quickly, we check for that new control
+sequences, if \.{german.sty} is loaded, and in case define the old ones
+appropriately (this may be changed in the future). Thus, \.{apreambl} should
+work with old and new versions of \.{german.sty}.
+
+\beginprog
+\expandafter\ifx\csname mdqon\endcsname\relax % \ifundefined{mdqon}
+ \chardef\USenglish=0
+ \chardef\german=1
+ \chardef\austrian=1
+ \chardef\french=2
+ \chardef\english=0
+ \language\USenglish
+\else
+ \expandafter\ifx\csname l@USenglish\endcsname\relax \else
+ \chardef\USenglish=\l@USenglish\fi
+ \expandafter\ifx\csname l@german\endcsname\relax \else
+ \chardef\german=\l@german\fi
+ \expandafter\ifx\csname l@austrian\endcsname\relax \else
+ \chardef\austrian=\l@austrian\fi
+ \expandafter\ifx\csname l@french\endcsname\relax \else
+ \chardef\french=\l@french\fi
+ \expandafter\ifx\csname l@english\endcsname\relax \else
+ \chardef\english=\l@english\fi
+\fi
+\endprog
+
+\sect Finally, depending on the language switch and the abbreviation mode, one
+of the macro sets is chosen. (At the moment, since only English and German
+macro versions are available, the German versions are used for |\german| and
+|\austrian|, and the English versions are used for all other languages.)
+
+\beginprog
+\ifnum\language=\german
+ \abtype@german \abetc@german
+\else\ifnum\language=\austrian
+ \abtype@german \abetc@german
+\else
+ \abtype@english \abetc@english
+\fi\fi
+\endprog
+
+\chap Postlude. %-------------------------------------------------------------
+At the very end, we restore the |\catcode| of~|@| and force the end of
+inputting this file.
+
+\beginprog
+\catcode`\@=\csname__APREAMBLE_TEX\endcsname
+\endinput
+\endprog
+
+%-----------------------------------------------------------------------------
+
+\contentspage
diff --git a/biblio/bibtex/contrib/abstyles/apreambl.tex b/biblio/bibtex/contrib/abstyles/apreambl.tex
new file mode 100644
index 0000000000..24bd7d3c96
--- /dev/null
+++ b/biblio/bibtex/contrib/abstyles/apreambl.tex
@@ -0,0 +1,139 @@
+% This is APREAMBL.TEX, version 1.10e, written by Hans-Hermann Bode
+% (HHBODE@DOSUNI1.BITNET), for the BibTeX `adaptable' family, version 1.10.
+% See the file APREAMBL.DOC for a detailed documentation.
+
+% This program is distributed WITHOUT ANY WARRANTY, express or implied.
+
+% Copyright (C) 1991, 1992 Hans-Hermann Bode
+
+% Permission is granted to make and distribute verbatim copies of this
+% document provided that the copyright notice and this permission notice
+% are preserved on all copies.
+
+% Permission is granted to copy and distribute modified versions of this
+% document under the conditions for verbatim copying, provided that the
+% entire resulting derived work is distributed under the terms of a
+% permission notice identical to this one.
+\expandafter\ifx\csname__APREAMBLE_TEX\endcsname\relax \else\endinput\fi
+\expandafter\chardef\csname__APREAMBLE_TEX\endcsname=\the\catcode`\@
+\catcode`\@=11
+\gdef\abtype@english{%
+\def\abtype##1##2{%
+\ifcase##1{\sc##2}\or``##2''\or{\em##2\/}\or{\bf##2}\or(##2)\or(##2)\else##2\fi}}
+
+\gdef\abtype@german{%
+\def\abtype##1##2{%
+\ifcase##1{\sc##2}\or\glqq##2\grqq\or{\em##2\/}\or{\bf##2}\or(##2)\or(##2)\else##2\fi}}
+\ifabfull
+
+\gdef\abetc@english{
+
+\def\abphrase##1{%
+\ifcase##1{ and }\or{,}\or{ et~al.}\or{, editors}\or{, editor}\or%
+{ of }\or{ in }\or{In }\or{volume}\or{Volume}\or{number}\or{Number}\or%
+{ edition}\or{pages}\or{page}\or{chapter}\or%
+{Technical Report}\or{Master's thesis}\or{PhD thesis}\fi}
+
+\def\abmonth##1{\ifcase##1\or January\or February\or March\or April\or May\or
+ June\or July\or August\or September\or October\or November\or December\fi}
+
+\def\abedition##1{\ifcase##1\or First\or Second\or Third\or Fourth\or Fifth\or
+ Sixth\or Seventh\or Eighth\or Ninth\or Tenth\else?\fi}
+
+\def\abchapter##1{\ifcase##1Section\or Paragraph\or Appendix\or Part\fi}
+
+}
+
+\else
+
+\gdef\abetc@english{
+
+\def\abphrase##1{%
+\ifcase##1{ and }\or{,}\or{ et~al.}\or{, editors}\or{, editor}\or%
+{ of }\or{ in }\or{In }\or{vol.}\or{Vol.}\or{no.}\or{No.}\or%
+{ ed.}\or{pp.}\or{p.}\or{ch.}\or%
+{Technical Report}\or{Master's thesis}\or{PhD thesis}\fi}
+
+\def\abmonth##1{\ifcase##1\or Jan.\or Feb.\or Mar.\or Apr.\or May\or June\or
+ July\or Aug.\or Sept.\or Oct.\or Nov.\or Dec.\fi}
+
+\def\abedition##1{\ifcase##1\or 1st\or 2nd\or 3rd\or 4th\or 5th\or
+ 6th\or 7th\or 8th\or 9th\or 10th\else?\fi}
+
+\def\abchapter##1{\ifcase##1Sec.\or Par.\or App.\or Part\fi}
+
+}
+
+\fi
+\ifabfull
+
+\gdef\abetc@german{
+
+\def\abphrase##1{%
+\ifcase##1{ und }\or{}\or{ und andere}\or{ (Herausgeber)}\or{ (Herausgeber)}\or%
+{ aus }\or{ in }\or{In }\or{Band}\or{Band}\or{Nummer}\or{Nummer}\or%
+{ Auf{\kern0pt}lage}\or{Seiten}\or{Seite}\or{Kapitel}\or%
+{Bericht}\or{Diplomarbeit}\or{Dissertation}\fi}
+
+\def\abmonth##1{\ifcase##1\or Januar\or Februar\or M\"arz\or April\or Mai\or
+ Juni\or Juli\or August\or September\or Oktober\or November\or Dezember\fi}
+
+\def\abedition##1{\ifcase##1\or Erste\or Zweite\or Dritte\or Vierte\or F\"unf\-te\or
+ Sechste\or Siebte\or Achte\or Neunte\or Zehnte\else?\fi}
+
+\def\abchapter##1{\ifcase##1Abschnitt\or Absatz\or Anhang\or Teil\fi}
+
+}
+
+\else
+
+\gdef\abetc@german{
+
+\def\abphrase##1{%
+\ifcase##1{ und }\or{}\or{ u.\thinspace a.}\or{ (Hrsg.)}\or{ (Hrsg.)}\or%
+{ aus }\or{ in }\or{In }\or{Bd.}\or{Bd.}\or{Nr.}\or{Nr.}\or%
+{ Aufl.}\or{S.}\or{S.}\or{Kap.}\or%
+{Bericht}\or{Diplomarbeit}\or{Dissertation}\fi}
+
+\def\abmonth##1{\ifcase##1\or Jan.\or Feb.\or M\"arz\or Apr.\or Mai\or
+ Juni\or Juli\or Aug.\or Sep.\or Okt.\or Nov.\or Dez.\fi}
+
+\def\abedition##1{\ifcase##1\or 1.\or 2.\or 3.\or 4.\or 5.\or
+ 6.\or 7.\or 8.\or 9.\or 10.\else?\fi}
+
+\def\abchapter##1{\ifcase##1Abschn.\or Abs.\or Anh.\or Teil\fi}
+
+}
+
+\fi
+\expandafter\ifx\csname language\endcsname\relax % \ifundefined{language}
+ \csname newcount\endcsname\language
+\fi
+\expandafter\ifx\csname mdqon\endcsname\relax % \ifundefined{mdqon}
+ \chardef\USenglish=0
+ \chardef\german=1
+ \chardef\austrian=1
+ \chardef\french=2
+ \chardef\english=0
+ \language\USenglish
+\else
+ \expandafter\ifx\csname l@USenglish\endcsname\relax \else
+ \chardef\USenglish=\l@USenglish\fi
+ \expandafter\ifx\csname l@german\endcsname\relax \else
+ \chardef\german=\l@german\fi
+ \expandafter\ifx\csname l@austrian\endcsname\relax \else
+ \chardef\austrian=\l@austrian\fi
+ \expandafter\ifx\csname l@french\endcsname\relax \else
+ \chardef\french=\l@french\fi
+ \expandafter\ifx\csname l@english\endcsname\relax \else
+ \chardef\english=\l@english\fi
+\fi
+\ifnum\language=\german
+ \abtype@german \abetc@german
+\else\ifnum\language=\austrian
+ \abtype@german \abetc@german
+\else
+ \abtype@english \abetc@english
+\fi\fi
+\catcode`\@=\csname__APREAMBLE_TEX\endcsname
+\endinput
diff --git a/biblio/bibtex/contrib/abstyles/aunsnot.bst b/biblio/bibtex/contrib/abstyles/aunsnot.bst
new file mode 100644
index 0000000000..ec64c143d1
--- /dev/null
+++ b/biblio/bibtex/contrib/abstyles/aunsnot.bst
@@ -0,0 +1,940 @@
+% BibTeX bibliography style `AUNSNOT'
+ENTRY
+{ address
+author
+booktitle
+chapter
+edition
+editor
+howpublished
+institution
+journal
+key
+month
+note
+number
+organization
+pages
+publisher
+school
+series
+title
+type
+volume
+year
+}
+{}
+{ label }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block
+continue.sentence }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+#1 'mid.sentence :=
+#2 'after.sentence :=
+#3 'after.block :=
+#4 'continue.sentence :=
+}
+STRINGS { s t }
+FUNCTION {output.nonnull}
+{ 's :=
+output.state continue.sentence =
+{ " " * write$ }
+{ output.state mid.sentence =
+{ ", " * write$ }
+{ output.state after.block =
+{ add.period$ write$
+newline$
+"\newblock " write$
+}
+{ output.state before.all =
+'write$
+{ add.period$ " " * write$ }
+if$
+}
+if$
+}
+if$
+continue.sentence 'output.state :=
+}
+if$
+s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+'pop$
+'output.nonnull
+if$
+}
+FUNCTION {output.check}
+{ 't :=
+duplicate$ empty$
+{ pop$ "empty " t * " in " * cite$ * warning$ }
+'output.nonnull
+if$
+}
+FUNCTION {output.bibitem}
+{ newline$
+"\bibitem{" write$
+cite$ write$
+"}" write$
+newline$
+""
+before.all 'output.state :=
+}
+FUNCTION {fin.entry}
+{ add.period$
+write$
+newline$
+}
+FUNCTION {new.block}
+{ output.state before.all =
+'skip$
+{ after.block 'output.state := }
+if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+'skip$
+{ output.state before.all =
+'skip$
+{ after.sentence 'output.state := }
+if$
+}
+if$
+}
+FUNCTION {new.clause}
+{ output.state after.sentence =
+'skip$
+{ output.state after.block =
+'skip$
+{ output.state before.all =
+'skip$
+{ mid.sentence 'output.state := }
+if$
+}
+if$
+}
+if$
+}
+FUNCTION {not}
+{ { #0 }
+{ #1 }
+if$
+}
+FUNCTION {and}
+{ 'skip$
+{ pop$ #0 }
+if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+'skip$
+if$
+}
+FUNCTION {new.block.checka}
+{ empty$
+'skip$
+'new.block
+if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.block
+if$
+}
+FUNCTION {new.sentence.checka}
+{ empty$
+'skip$
+'new.sentence
+if$
+}
+FUNCTION {new.sentence.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.sentence
+if$
+}
+FUNCTION {new.clause.checka}
+{ empty$
+'skip$
+'new.clause
+if$
+}
+FUNCTION {new.clause.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.clause
+if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+{ pop$ "" }
+'skip$
+if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{2}{" swap$ * "}" * }
+if$
+}
+FUNCTION {capitalize}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{0}{" swap$ * "}" * }
+if$
+}
+FUNCTION {boldface}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{3}{" swap$ * "}" * }
+if$
+}
+FUNCTION {quote}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{1}{" swap$ * "}" * }
+if$
+}
+FUNCTION {parentheses}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{5}{" swap$ * "}" * }
+if$
+}
+INTEGERS { nameptr namesleft numnames }
+FUNCTION {format.names}
+{ 's :=
+#1 'nameptr :=
+s num.names$ 'numnames :=
+numnames 'namesleft :=
+{ namesleft #0 > }
+{ s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+nameptr #1 >
+{ namesleft #1 >
+{ ", " * t * }
+{ numnames #2 >
+{ "\abphrase{1}" * }
+'skip$
+if$
+t "others" =
+{ "\abphrase{2}" * }
+{ "\abphrase{0}" * t * }
+if$
+}
+if$
+}
+'t
+if$
+nameptr #1 + 'nameptr :=
+namesleft #1 - 'namesleft :=
+}
+while$
+}
+FUNCTION {format.authors}
+{ author empty$
+{ "" }
+{ author format.names capitalize }
+if$
+}
+FUNCTION {format.editors}
+{ editor empty$
+{ "" }
+{ editor format.names capitalize
+editor num.names$ #1 >
+{ "\abphrase{3}" * }
+{ "\abphrase{4}" * }
+if$
+}
+if$
+}
+FUNCTION {format.title}
+{ title empty$
+{ "" }
+{ title "t" change.case$ }
+if$
+}
+FUNCTION {n.dashify}
+{ 't :=
+""
+{ t empty$ not }
+{ t #1 #1 substring$ "-" =
+{ t #1 #2 substring$ "--" = not
+{ "--" *
+t #2 global.max$ substring$ 't :=
+}
+{ { t #1 #1 substring$ "-" = }
+{ "-" *
+t #2 global.max$ substring$ 't :=
+}
+while$
+}
+if$
+}
+{ t #1 #1 substring$ *
+t #2 global.max$ substring$ 't :=
+}
+if$
+}
+while$
+}
+FUNCTION {format.date}
+{ year empty$
+{ month empty$
+{ "" }
+{ "there's a month but no year in " cite$ * warning$
+month parentheses
+}
+if$
+}
+{ month empty$
+{ year parentheses }
+{ month " " * year * parentheses }
+if$
+}
+if$
+}
+FUNCTION {format.btitle}
+{ title quote
+}
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+{ "~" }
+{ " " }
+if$
+swap$ * *
+}
+FUNCTION {either.or.check}
+{ empty$
+'pop$
+{ "can't use both " swap$ * " fields in " * cite$ * warning$ }
+if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+{ "" }
+{ "\abphrase{8}" volume tie.or.space.connect
+series empty$
+'skip$
+{ "\abphrase{5}" * series quote * }
+if$
+"volume and number" number either.or.check
+}
+if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+{ number empty$
+{ series field.or.null }
+{ output.state mid.sentence = output.state continue.sentence = or
+{ "\abphrase{10}" }
+{ "\abphrase{11}" }
+if$
+number tie.or.space.connect
+series empty$
+{ "there's a number but no series in " cite$ * warning$ }
+{ "\abphrase{6}" * series * }
+if$
+}
+if$
+}
+{ "" }
+if$
+}
+FUNCTION {format.edition}
+{ edition empty$
+{ "" }
+{ output.state mid.sentence = output.state continue.sentence = or
+{ edition "l" change.case$ "\abphrase{12}" * }
+{ edition "t" change.case$ "\abphrase{12}" * }
+if$
+}
+if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+#0 'multiresult :=
+{ multiresult not
+t empty$ not
+and
+}
+{ t #1 #1 substring$
+duplicate$ "-" =
+swap$ duplicate$ "," =
+swap$ "+" =
+or or
+{ #1 'multiresult := }
+{ t #2 global.max$ substring$ 't := }
+if$
+}
+while$
+multiresult
+}
+FUNCTION {format.pages}
+{ pages empty$
+{ "" }
+{ pages multi.page.check
+{ "\abphrase{13}" pages n.dashify tie.or.space.connect }
+{ "\abphrase{14}" pages tie.or.space.connect }
+if$
+}
+if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null boldface
+number empty$
+'skip$
+{ "\abtype{4}{" number * "}" * *
+volume empty$
+{ "there's a number but no volume in " cite$ * warning$ }
+'skip$
+if$
+}
+if$
+pages empty$
+'skip$
+{ duplicate$ empty$
+{ pop$ format.pages }
+{ ", " * pages n.dashify * }
+if$
+}
+if$
+}
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+'format.pages
+{ type empty$
+{ "\abphrase{15}" }
+{ type "l" change.case$ }
+if$
+chapter tie.or.space.connect
+pages empty$
+'skip$
+{ ", " * format.pages * }
+if$
+}
+if$
+}
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+{ "" }
+{ editor empty$
+{ "\abphrase{7}" booktitle quote * }
+{ "\abphrase{7}" format.editors * ", " * booktitle quote * }
+if$
+}
+if$
+}
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+month empty$ year empty$ note empty$
+and and and and and
+{ "all relevant fields are empty in " cite$ * warning$ }
+'skip$
+if$
+}
+FUNCTION {format.thesis.type}
+{ type empty$
+'skip$
+{ pop$
+type "t" change.case$
+}
+if$
+}
+FUNCTION {format.tr.number}
+{ type empty$
+{ "\abphrase{16}" }
+'type
+if$
+number empty$
+{ "t" change.case$ }
+{ number tie.or.space.connect }
+if$
+}
+FUNCTION {format.article.crossref}
+{ key empty$
+{ journal empty$
+{ "need key or journal for " cite$ * " to crossref " * crossref *
+warning$
+""
+}
+{ "\abphrase{7}" journal emphasize * }
+if$
+}
+{ "\abphrase{7}" key * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+editor num.names$ duplicate$
+#2 >
+{ pop$ "\abphrase{2}" * }
+{ #2 <
+'skip$
+{ editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+{ "\abphrase{2}" * }
+{ "\abphrase{0}" * editor #2 "{vv~}{ll}" format.name$ * }
+if$
+}
+if$
+}
+if$
+}
+FUNCTION {format.book.crossref}
+{ volume empty$
+{ "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+"\abphrase{7}"
+}
+{ "\abphrase{9}" volume tie.or.space.connect
+"\abphrase{5}" *
+}
+if$
+editor empty$
+editor field.or.null author field.or.null =
+or
+{ key empty$
+{ series empty$
+{ "need editor, key, or series for " cite$ * " to crossref " *
+crossref * warning$
+"" *
+}
+{ series quote * }
+if$
+}
+{ key * }
+if$
+}
+{ format.crossref.editor * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+editor field.or.null author field.or.null =
+or
+{ key empty$
+{ booktitle empty$
+{ "need editor, key, or booktitle for " cite$ * " to crossref " *
+crossref * warning$
+""
+}
+{ "\abphrase{7}" booktitle quote * }
+if$
+}
+{ "\abphrase{7}" key * }
+if$
+}
+{ "\abphrase{7}" format.crossref.editor * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {article}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+crossref missing$
+{ journal emphasize "journal" output.check
+format.vol.num.pages output
+format.date "year" output.check
+}
+{ format.article.crossref output.nonnull
+new.clause
+format.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+author empty$
+{ format.editors "author and editor" output.check }
+{ format.authors output.nonnull
+crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+if$
+}
+if$
+new.block
+format.btitle "title" output.check
+crossref missing$
+{ new.clause
+format.bvolume output
+new.block
+format.number.series output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+}
+{ new.block
+format.book.crossref output.nonnull
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+format.authors output
+new.block
+format.title "title" output.check
+howpublished address new.block.checkb
+howpublished output
+address new.clause.checka
+address output
+format.date output
+new.block
+note output
+fin.entry
+}
+FUNCTION {inbook}
+{ output.bibitem
+author empty$
+{ format.editors "author and editor" output.check }
+{ format.authors output.nonnull
+crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+if$
+}
+if$
+new.block
+format.btitle "title" output.check
+new.clause
+crossref missing$
+{ format.bvolume output
+new.clause
+format.chapter.pages "chapter and pages" output.check
+new.block
+format.number.series output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+}
+{ format.chapter.pages "chapter and pages" output.check
+new.block
+format.book.crossref output.nonnull
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {incollection}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+chapter empty$ pages empty$ and
+{
+format.title "title" output.check
+new.block
+}
+'skip$
+if$
+crossref missing$
+{ format.in.ed.booktitle "booktitle" output.check
+new.clause
+format.bvolume output
+new.clause
+format.number.series output
+new.clause
+format.chapter.pages output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+}
+{ format.incoll.inproc.crossref output.nonnull
+new.clause
+format.chapter.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+pages empty$
+{
+format.title "title" output.check
+new.block
+}
+'skip$
+if$
+crossref missing$
+{ format.in.ed.booktitle "booktitle" output.check
+volume new.clause.checka
+format.bvolume output
+number series new.clause.checkb
+format.number.series output
+pages new.clause.checka
+format.pages output
+address empty$
+{ organization publisher new.sentence.checkb
+organization output
+publisher new.clause.checka
+publisher output
+format.date "year" output.check
+}
+{ new.clause
+address output.nonnull
+format.date "year" output.check
+new.sentence
+organization output
+new.clause
+publisher output
+}
+if$
+}
+{ format.incoll.inproc.crossref output.nonnull
+new.clause
+format.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+author empty$
+{ organization empty$
+'skip$
+{ organization output.nonnull
+new.clause
+address output
+}
+if$
+}
+{ format.authors output.nonnull }
+if$
+new.block
+format.btitle "title" output.check
+author empty$
+{ organization empty$
+{ address new.block.checka
+address output
+}
+'skip$
+if$
+}
+{ organization address new.block.checkb
+organization output
+address new.clause.checka
+address output
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date output
+new.block
+note output
+fin.entry
+}
+FUNCTION {mastersthesis}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+"\abphrase{17}" format.thesis.type output.nonnull
+new.clause
+school "school" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {misc}
+{ output.bibitem
+format.authors output
+title howpublished new.block.checkb
+format.title output
+howpublished new.block.checka
+howpublished output
+format.date output
+new.block
+note output
+fin.entry
+empty.misc.check
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.btitle "title" output.check
+new.block
+"\abphrase{18}" format.thesis.type output.nonnull
+new.clause
+school "school" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {proceedings}
+{ output.bibitem
+editor empty$
+{ organization output }
+{ format.editors output.nonnull }
+if$
+new.block
+format.btitle "title" output.check
+volume new.clause.checka
+format.bvolume output
+number series new.clause.checkb
+format.number.series output
+address empty$
+{ editor empty$
+{ publisher new.sentence.checka }
+{ organization publisher new.sentence.checkb
+organization output
+publisher new.clause.checka
+}
+if$
+publisher output
+format.date "year" output.check
+}
+{ new.clause
+address output.nonnull
+format.date "year" output.check
+new.sentence
+editor empty$
+'skip$
+{ organization output
+new.clause
+}
+if$
+publisher output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {techreport}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+number empty$
+{
+format.title "title" output.check
+new.block
+}
+'skip$
+if$
+format.tr.number output.nonnull
+new.clause
+institution "institution" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {unpublished}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+note "note" output.check
+format.date output
+fin.entry
+}
+FUNCTION {default.type} { misc }
+MACRO {jan} {"\abmonth{1}"}
+MACRO {feb} {"\abmonth{2}"}
+MACRO {mar} {"\abmonth{3}"}
+MACRO {apr} {"\abmonth{4}"}
+MACRO {may} {"\abmonth{5}"}
+MACRO {jun} {"\abmonth{6}"}
+MACRO {jul} {"\abmonth{7}"}
+MACRO {aug} {"\abmonth{8}"}
+MACRO {sep} {"\abmonth{9}"}
+MACRO {oct} {"\abmonth{10}"}
+MACRO {nov} {"\abmonth{11}"}
+MACRO {dec} {"\abmonth{12}"}
+MACRO {first} {"\abedition{1}"}
+MACRO {second} {"\abedition{2}"}
+MACRO {third} {"\abedition{3}"}
+MACRO {fourth} {"\abedition{4}"}
+MACRO {fifth} {"\abedition{5}"}
+MACRO {sixth} {"\abedition{6}"}
+MACRO {seventh} {"\abedition{7}"}
+MACRO {eighth} {"\abedition{8}"}
+MACRO {ninth} {"\abedition{9}"}
+MACRO {tenth} {"\abedition{10}"}
+MACRO {section} {"\abchapter{0}"}
+MACRO {paragraph} {"\abchapter{1}"}
+MACRO {appendix} {"\abchapter{2}"}
+MACRO {part} {"\abchapter{3}"}
+READ
+STRINGS { longest.label }
+INTEGERS { number.label longest.label.width }
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+#1 'number.label :=
+#0 'longest.label.width :=
+}
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+number.label #1 + 'number.label :=
+label width$ longest.label.width >
+{ label 'longest.label :=
+label width$ 'longest.label.width :=
+}
+'skip$
+if$
+}
+EXECUTE {initialize.longest.label}
+ITERATE {longest.label.pass}
+FUNCTION {begin.bib}
+{
+"\newif\ifabfull\abfullfalse" write$ newline$
+preamble$ empty$
+'skip$
+{ preamble$ write$ newline$ }
+if$
+"\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+"\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/abstyles/aunsrt.bst b/biblio/bibtex/contrib/abstyles/aunsrt.bst
new file mode 100644
index 0000000000..98fbd0611b
--- /dev/null
+++ b/biblio/bibtex/contrib/abstyles/aunsrt.bst
@@ -0,0 +1,927 @@
+% BibTeX bibliography style `AUNSRT'
+ENTRY
+{ address
+author
+booktitle
+chapter
+edition
+editor
+howpublished
+institution
+journal
+key
+month
+note
+number
+organization
+pages
+publisher
+school
+series
+title
+type
+volume
+year
+}
+{}
+{ label }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block
+continue.sentence }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+#1 'mid.sentence :=
+#2 'after.sentence :=
+#3 'after.block :=
+#4 'continue.sentence :=
+}
+STRINGS { s t }
+FUNCTION {output.nonnull}
+{ 's :=
+output.state continue.sentence =
+{ " " * write$ }
+{ output.state mid.sentence =
+{ ", " * write$ }
+{ output.state after.block =
+{ add.period$ write$
+newline$
+"\newblock " write$
+}
+{ output.state before.all =
+'write$
+{ add.period$ " " * write$ }
+if$
+}
+if$
+}
+if$
+continue.sentence 'output.state :=
+}
+if$
+s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+'pop$
+'output.nonnull
+if$
+}
+FUNCTION {output.check}
+{ 't :=
+duplicate$ empty$
+{ pop$ "empty " t * " in " * cite$ * warning$ }
+'output.nonnull
+if$
+}
+FUNCTION {output.bibitem}
+{ newline$
+"\bibitem{" write$
+cite$ write$
+"}" write$
+newline$
+""
+before.all 'output.state :=
+}
+FUNCTION {fin.entry}
+{ add.period$
+write$
+newline$
+}
+FUNCTION {new.block}
+{ output.state before.all =
+'skip$
+{ after.block 'output.state := }
+if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+'skip$
+{ output.state before.all =
+'skip$
+{ after.sentence 'output.state := }
+if$
+}
+if$
+}
+FUNCTION {new.clause}
+{ output.state after.sentence =
+'skip$
+{ output.state after.block =
+'skip$
+{ output.state before.all =
+'skip$
+{ mid.sentence 'output.state := }
+if$
+}
+if$
+}
+if$
+}
+FUNCTION {not}
+{ { #0 }
+{ #1 }
+if$
+}
+FUNCTION {and}
+{ 'skip$
+{ pop$ #0 }
+if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+'skip$
+if$
+}
+FUNCTION {new.block.checka}
+{ empty$
+'skip$
+'new.block
+if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.block
+if$
+}
+FUNCTION {new.sentence.checka}
+{ empty$
+'skip$
+'new.sentence
+if$
+}
+FUNCTION {new.sentence.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.sentence
+if$
+}
+FUNCTION {new.clause.checka}
+{ empty$
+'skip$
+'new.clause
+if$
+}
+FUNCTION {new.clause.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.clause
+if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+{ pop$ "" }
+'skip$
+if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{2}{" swap$ * "}" * }
+if$
+}
+FUNCTION {capitalize}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{0}{" swap$ * "}" * }
+if$
+}
+FUNCTION {boldface}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{3}{" swap$ * "}" * }
+if$
+}
+FUNCTION {quote}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{1}{" swap$ * "}" * }
+if$
+}
+FUNCTION {parentheses}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "\abtype{5}{" swap$ * "}" * }
+if$
+}
+INTEGERS { nameptr namesleft numnames }
+FUNCTION {format.names}
+{ 's :=
+#1 'nameptr :=
+s num.names$ 'numnames :=
+numnames 'namesleft :=
+{ namesleft #0 > }
+{ s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+nameptr #1 >
+{ namesleft #1 >
+{ ", " * t * }
+{ numnames #2 >
+{ "\abphrase{1}" * }
+'skip$
+if$
+t "others" =
+{ "\abphrase{2}" * }
+{ "\abphrase{0}" * t * }
+if$
+}
+if$
+}
+'t
+if$
+nameptr #1 + 'nameptr :=
+namesleft #1 - 'namesleft :=
+}
+while$
+}
+FUNCTION {format.authors}
+{ author empty$
+{ "" }
+{ author format.names capitalize }
+if$
+}
+FUNCTION {format.editors}
+{ editor empty$
+{ "" }
+{ editor format.names capitalize
+editor num.names$ #1 >
+{ "\abphrase{3}" * }
+{ "\abphrase{4}" * }
+if$
+}
+if$
+}
+FUNCTION {format.title}
+{ title empty$
+{ "" }
+{ title "t" change.case$ }
+if$
+}
+FUNCTION {n.dashify}
+{ 't :=
+""
+{ t empty$ not }
+{ t #1 #1 substring$ "-" =
+{ t #1 #2 substring$ "--" = not
+{ "--" *
+t #2 global.max$ substring$ 't :=
+}
+{ { t #1 #1 substring$ "-" = }
+{ "-" *
+t #2 global.max$ substring$ 't :=
+}
+while$
+}
+if$
+}
+{ t #1 #1 substring$ *
+t #2 global.max$ substring$ 't :=
+}
+if$
+}
+while$
+}
+FUNCTION {format.date}
+{ year empty$
+{ month empty$
+{ "" }
+{ "there's a month but no year in " cite$ * warning$
+month parentheses
+}
+if$
+}
+{ month empty$
+{ year parentheses }
+{ month " " * year * parentheses }
+if$
+}
+if$
+}
+FUNCTION {format.btitle}
+{ title quote
+}
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+{ "~" }
+{ " " }
+if$
+swap$ * *
+}
+FUNCTION {either.or.check}
+{ empty$
+'pop$
+{ "can't use both " swap$ * " fields in " * cite$ * warning$ }
+if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+{ "" }
+{ "\abphrase{8}" volume tie.or.space.connect
+series empty$
+'skip$
+{ "\abphrase{5}" * series quote * }
+if$
+"volume and number" number either.or.check
+}
+if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+{ number empty$
+{ series field.or.null }
+{ output.state mid.sentence = output.state continue.sentence = or
+{ "\abphrase{10}" }
+{ "\abphrase{11}" }
+if$
+number tie.or.space.connect
+series empty$
+{ "there's a number but no series in " cite$ * warning$ }
+{ "\abphrase{6}" * series * }
+if$
+}
+if$
+}
+{ "" }
+if$
+}
+FUNCTION {format.edition}
+{ edition empty$
+{ "" }
+{ output.state mid.sentence = output.state continue.sentence = or
+{ edition "l" change.case$ "\abphrase{12}" * }
+{ edition "t" change.case$ "\abphrase{12}" * }
+if$
+}
+if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+#0 'multiresult :=
+{ multiresult not
+t empty$ not
+and
+}
+{ t #1 #1 substring$
+duplicate$ "-" =
+swap$ duplicate$ "," =
+swap$ "+" =
+or or
+{ #1 'multiresult := }
+{ t #2 global.max$ substring$ 't := }
+if$
+}
+while$
+multiresult
+}
+FUNCTION {format.pages}
+{ pages empty$
+{ "" }
+{ pages multi.page.check
+{ "\abphrase{13}" pages n.dashify tie.or.space.connect }
+{ "\abphrase{14}" pages tie.or.space.connect }
+if$
+}
+if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null boldface
+number empty$
+'skip$
+{ "\abtype{4}{" number * "}" * *
+volume empty$
+{ "there's a number but no volume in " cite$ * warning$ }
+'skip$
+if$
+}
+if$
+pages empty$
+'skip$
+{ duplicate$ empty$
+{ pop$ format.pages }
+{ ", " * pages n.dashify * }
+if$
+}
+if$
+}
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+'format.pages
+{ type empty$
+{ "\abphrase{15}" }
+{ type "l" change.case$ }
+if$
+chapter tie.or.space.connect
+pages empty$
+'skip$
+{ ", " * format.pages * }
+if$
+}
+if$
+}
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+{ "" }
+{ editor empty$
+{ "\abphrase{7}" booktitle quote * }
+{ "\abphrase{7}" format.editors * ", " * booktitle quote * }
+if$
+}
+if$
+}
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+month empty$ year empty$ note empty$
+and and and and and
+{ "all relevant fields are empty in " cite$ * warning$ }
+'skip$
+if$
+}
+FUNCTION {format.thesis.type}
+{ type empty$
+'skip$
+{ pop$
+type "t" change.case$
+}
+if$
+}
+FUNCTION {format.tr.number}
+{ type empty$
+{ "\abphrase{16}" }
+'type
+if$
+number empty$
+{ "t" change.case$ }
+{ number tie.or.space.connect }
+if$
+}
+FUNCTION {format.article.crossref}
+{ key empty$
+{ journal empty$
+{ "need key or journal for " cite$ * " to crossref " * crossref *
+warning$
+""
+}
+{ "\abphrase{7}" journal emphasize * }
+if$
+}
+{ "\abphrase{7}" key * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+editor num.names$ duplicate$
+#2 >
+{ pop$ "\abphrase{2}" * }
+{ #2 <
+'skip$
+{ editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+{ "\abphrase{2}" * }
+{ "\abphrase{0}" * editor #2 "{vv~}{ll}" format.name$ * }
+if$
+}
+if$
+}
+if$
+}
+FUNCTION {format.book.crossref}
+{ volume empty$
+{ "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+"\abphrase{7}"
+}
+{ "\abphrase{9}" volume tie.or.space.connect
+"\abphrase{5}" *
+}
+if$
+editor empty$
+editor field.or.null author field.or.null =
+or
+{ key empty$
+{ series empty$
+{ "need editor, key, or series for " cite$ * " to crossref " *
+crossref * warning$
+"" *
+}
+{ series quote * }
+if$
+}
+{ key * }
+if$
+}
+{ format.crossref.editor * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+editor field.or.null author field.or.null =
+or
+{ key empty$
+{ booktitle empty$
+{ "need editor, key, or booktitle for " cite$ * " to crossref " *
+crossref * warning$
+""
+}
+{ "\abphrase{7}" booktitle quote * }
+if$
+}
+{ "\abphrase{7}" key * }
+if$
+}
+{ "\abphrase{7}" format.crossref.editor * }
+if$
+" \cite{" * crossref * "}" *
+}
+FUNCTION {article}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+crossref missing$
+{ journal emphasize "journal" output.check
+format.vol.num.pages output
+format.date "year" output.check
+}
+{ format.article.crossref output.nonnull
+new.clause
+format.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+author empty$
+{ format.editors "author and editor" output.check }
+{ format.authors output.nonnull
+crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+if$
+}
+if$
+new.block
+format.btitle "title" output.check
+crossref missing$
+{ new.clause
+format.bvolume output
+new.block
+format.number.series output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+}
+{ new.block
+format.book.crossref output.nonnull
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+format.authors output
+new.block
+format.title "title" output.check
+howpublished address new.block.checkb
+howpublished output
+address new.clause.checka
+address output
+format.date output
+new.block
+note output
+fin.entry
+}
+FUNCTION {inbook}
+{ output.bibitem
+author empty$
+{ format.editors "author and editor" output.check }
+{ format.authors output.nonnull
+crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+if$
+}
+if$
+new.block
+format.btitle "title" output.check
+new.clause
+crossref missing$
+{ format.bvolume output
+new.clause
+format.chapter.pages "chapter and pages" output.check
+new.block
+format.number.series output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+}
+{ format.chapter.pages "chapter and pages" output.check
+new.block
+format.book.crossref output.nonnull
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {incollection}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+crossref missing$
+{ format.in.ed.booktitle "booktitle" output.check
+new.clause
+format.bvolume output
+new.clause
+format.number.series output
+new.clause
+format.chapter.pages output
+new.sentence
+publisher "publisher" output.check
+address new.clause.checka
+address output
+edition new.clause.checka
+format.edition output
+format.date "year" output.check
+}
+{ format.incoll.inproc.crossref output.nonnull
+new.clause
+format.chapter.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+crossref missing$
+{ format.in.ed.booktitle "booktitle" output.check
+volume new.clause.checka
+format.bvolume output
+number series new.clause.checkb
+format.number.series output
+pages new.clause.checka
+format.pages output
+address empty$
+{ organization publisher new.sentence.checkb
+organization output
+publisher new.clause.checka
+publisher output
+format.date "year" output.check
+}
+{ new.clause
+address output.nonnull
+format.date "year" output.check
+new.sentence
+organization output
+new.clause
+publisher output
+}
+if$
+}
+{ format.incoll.inproc.crossref output.nonnull
+new.clause
+format.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+author empty$
+{ organization empty$
+'skip$
+{ organization output.nonnull
+new.clause
+address output
+}
+if$
+}
+{ format.authors output.nonnull }
+if$
+new.block
+format.btitle "title" output.check
+author empty$
+{ organization empty$
+{ address new.block.checka
+address output
+}
+'skip$
+if$
+}
+{ organization address new.block.checkb
+organization output
+address new.clause.checka
+address output
+}
+if$
+edition new.clause.checka
+format.edition output
+format.date output
+new.block
+note output
+fin.entry
+}
+FUNCTION {mastersthesis}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+"\abphrase{17}" format.thesis.type output.nonnull
+new.clause
+school "school" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {misc}
+{ output.bibitem
+format.authors output
+title howpublished new.block.checkb
+format.title output
+howpublished new.block.checka
+howpublished output
+format.date output
+new.block
+note output
+fin.entry
+empty.misc.check
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.btitle "title" output.check
+new.block
+"\abphrase{18}" format.thesis.type output.nonnull
+new.clause
+school "school" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {proceedings}
+{ output.bibitem
+editor empty$
+{ organization output }
+{ format.editors output.nonnull }
+if$
+new.block
+format.btitle "title" output.check
+volume new.clause.checka
+format.bvolume output
+number series new.clause.checkb
+format.number.series output
+address empty$
+{ editor empty$
+{ publisher new.sentence.checka }
+{ organization publisher new.sentence.checkb
+organization output
+publisher new.clause.checka
+}
+if$
+publisher output
+format.date "year" output.check
+}
+{ new.clause
+address output.nonnull
+format.date "year" output.check
+new.sentence
+editor empty$
+'skip$
+{ organization output
+new.clause
+}
+if$
+publisher output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {techreport}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+format.tr.number output.nonnull
+new.clause
+institution "institution" output.check
+address new.clause.checka
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {unpublished}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+format.title "title" output.check
+new.block
+note "note" output.check
+format.date output
+fin.entry
+}
+FUNCTION {default.type} { misc }
+MACRO {jan} {"\abmonth{1}"}
+MACRO {feb} {"\abmonth{2}"}
+MACRO {mar} {"\abmonth{3}"}
+MACRO {apr} {"\abmonth{4}"}
+MACRO {may} {"\abmonth{5}"}
+MACRO {jun} {"\abmonth{6}"}
+MACRO {jul} {"\abmonth{7}"}
+MACRO {aug} {"\abmonth{8}"}
+MACRO {sep} {"\abmonth{9}"}
+MACRO {oct} {"\abmonth{10}"}
+MACRO {nov} {"\abmonth{11}"}
+MACRO {dec} {"\abmonth{12}"}
+MACRO {first} {"\abedition{1}"}
+MACRO {second} {"\abedition{2}"}
+MACRO {third} {"\abedition{3}"}
+MACRO {fourth} {"\abedition{4}"}
+MACRO {fifth} {"\abedition{5}"}
+MACRO {sixth} {"\abedition{6}"}
+MACRO {seventh} {"\abedition{7}"}
+MACRO {eighth} {"\abedition{8}"}
+MACRO {ninth} {"\abedition{9}"}
+MACRO {tenth} {"\abedition{10}"}
+MACRO {section} {"\abchapter{0}"}
+MACRO {paragraph} {"\abchapter{1}"}
+MACRO {appendix} {"\abchapter{2}"}
+MACRO {part} {"\abchapter{3}"}
+READ
+STRINGS { longest.label }
+INTEGERS { number.label longest.label.width }
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+#1 'number.label :=
+#0 'longest.label.width :=
+}
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+number.label #1 + 'number.label :=
+label width$ longest.label.width >
+{ label 'longest.label :=
+label width$ 'longest.label.width :=
+}
+'skip$
+if$
+}
+EXECUTE {initialize.longest.label}
+ITERATE {longest.label.pass}
+FUNCTION {begin.bib}
+{
+"\newif\ifabfull\abfulltrue" write$ newline$
+preamble$ empty$
+'skip$
+{ preamble$ write$ newline$ }
+if$
+"\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+"\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/abstyles/btxabst.doc b/biblio/bibtex/contrib/abstyles/btxabst.doc
new file mode 100644
index 0000000000..2829e8a610
--- /dev/null
+++ b/biblio/bibtex/contrib/abstyles/btxabst.doc
@@ -0,0 +1,2878 @@
+% BibTeX `adaptable' family
+ % version 1.10 derived by Hans-Hermann Bode (H2B), Osnabr\"uck,
+ % (BitNet/EARN: HHBODE@DOSUNI1)
+ % from the `plain' family version 0.99b.
+ % The copying statement declared below extends to this file also with
+ % the file names btxabst.doc, aplain.bst, aunsrt.bst, aalpha.bst,
+ % aabbrv.bst, anotit.bst, and aunsnot.bst added.
+% BibTeX `plain' family
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+% Please notify Oren Patashnik (PATASHNIK@SCORE.STANFORD.EDU) of any bugs in
+% these standard styles or in this documentation file.
+%
+% This is file btxbxt.doc; it helps document bibliography styles,
+% and is also a template file that you can use to make
+% several different style files, if you have access to a C preprocessor.
+% For example, the standard styles were made by doing something like
+% cpp -P -DAPLAIN btxabst.doc aplain.txt
+% cpp -P -DAUNSRT btxabst.doc aunsrt.txt
+% cpp -P -DAALPHA btxabst.doc aalpha.txt
+% cpp -P -DAABBRV btxabst.doc aabbrv.txt
+% cpp -P -DANOTIT btxabst.doc anotit.txt
+% cpp -P -DAUNSNOT btxabst.doc aunsnot.txt
+% and then renaming after removing unwanted comments and blank lines.
+% If you don't have access,
+% you can edit this file by hand to imitate the preprocessor,
+% with the following explanation of the C preprocessor constructs used here.
+%
+% The output of the preprocessor is the same as the input, except that certain
+% lines will be excluded (and some blank lines will be added). The sequence
+% #if VAR
+% lines to be included when VAR is not zero
+% #else
+% lines to be included when VAR is zero
+% #endif
+% (with the #-signs appearing in column 1) means that one set or the other of
+% the lines are to be included depending on the value of VAR.
+% The #else part is optional. Comments can be added after #else and #endif.
+% Variables can be set by
+% #define VAR value
+% and one can also use #ifdef VAR to see if VAR has any value, and #ifndef
+% to see if it has none.
+% Another #if form used in this file is #if !VAR, which includes the lines
+% after the #if only if VAR is zero.
+%
+% Convention: Use all uppercase identifiers for these preprocessor variables
+% so you can spot them easily
+%
+% The command line to the preprocessor should define one of APLAIN, AUNSRT, AALPHA
+% or AABBRV (though APLAIN will be used by default if none is given),
+% and the following lines will set various boolean variables to control the
+% various lines that are chosen from the rest of the file.
+% Each boolean variable should be set true (1) or false (0) in each style.
+% Here are the current variables, and their meanings:
+% LAB_ALPH: an alphabetic label is used (if false then a numeric
+% label is used)
+% SORTED: the entries should be sorted by label (if nonnumeric)
+% and other info, like authors (if false, then
+% entries remain in order of occurrence)
+% NAME_FULL: the authors, editors, etc., get the full names as
+% given in the bibliography file (if false, the first
+% names become initials)
+% ATIT_LOWER: titles of non-"books" (e.g., articles) should be
+% converted to lower-case, except the first letter or
+% first letter after a colon
+% (if false then they appear as in the database)
+% MONTH_FULL: months are spelled out in full (if false, then
+% they're abbreviated); now used generally for
+% distinction between ``full'' and ``abbreviated''
+% styles (H2B)
+% JOUR_FULL: macro journal names are spelled out in full
+% (if false then they are abbreviated, currently
+% as they appear in ACM publications); no more used
+% (H2B)
+% NO_TITLE: the titles of articles, incollections, inproceedings
+% and techreports are omitted, if there are other
+% informations to identify the work cited (added by H2B)
+%
+#ifndef AUNSRT
+# ifndef AALPHA
+# ifndef AABBRV
+# ifndef ANOTIT
+# ifndef AUNSNOT
+# define APLAIN 1
+# endif
+# endif
+# endif
+# endif
+#endif
+#ifdef APLAIN
+% aplain style (sorted numbers)
+# define LAB_ALPH 0
+# define SORTED 1
+# define NAME_FULL 1
+# define ATIT_LOWER 1
+# define MONTH_FULL 1
+# define JOUR_FULL 1
+# define NO_TITLE 0
+#endif
+#ifdef AUNSRT
+% aunsrt style (unsorted numbers)
+# define LAB_ALPH 0
+# define SORTED 0
+# define NAME_FULL 1
+# define ATIT_LOWER 1
+# define MONTH_FULL 1
+# define JOUR_FULL 1
+# define NO_TITLE 0
+#endif
+#ifdef AALPHA
+% aalpha style (sorted short alphabetics)
+# define LAB_ALPH 1
+# define SORTED 1
+# define NAME_FULL 1
+# define ATIT_LOWER 1
+# define MONTH_FULL 1
+# define JOUR_FULL 1
+# define NO_TITLE 0
+#endif
+#ifdef AABBRV
+% aabbrv style (sorted numbers, with abbreviations)
+# define LAB_ALPH 0
+# define SORTED 1
+# define NAME_FULL 0
+# define ATIT_LOWER 1
+# define MONTH_FULL 0
+# define JOUR_FULL 0
+# define NO_TITLE 0
+#endif
+#ifdef ANOTIT
+% anotit style (sorted numbers, with abbreviations, no article titles)
+# define LAB_ALPH 0
+# define SORTED 1
+# define NAME_FULL 0
+# define ATIT_LOWER 1
+# define MONTH_FULL 0
+# define JOUR_FULL 0
+# define NO_TITLE 1
+#endif
+#ifdef AUNSNOT
+% aunsnot style (unsorted numbers, with abbreviations, no article titles)
+# define LAB_ALPH 0
+# define SORTED 0
+# define NAME_FULL 0
+# define ATIT_LOWER 1
+# define MONTH_FULL 0
+# define JOUR_FULL 0
+# define NO_TITLE 1
+#endif
+%
+% Entry formatting: Similar to that recommended by Mary-Claire van Leunen
+% in "A Handbook for Scholars". Book-like titles are italicized
+% (emphasized) and non-book titles are converted to sentence
+% capitilization (and not enclosed in quotes).
+% This file outputs a \newblock between major blocks of an entry
+% (the name \newblock is analogous to the names \newline and \newpage)
+% so that the user can obtain an "open" format, which has a line break
+% before each block and lines after the first are indented within blocks,
+% by giving the optional \documentstyle argument `openbib';
+% The default is the "closed" format---blocks runs together.
+%
+% Citation alphabetic label format:
+% [Knu73] for single author (or editor or key)
+% [AHU83] (first letters of last names) for multiple authors
+%
+% Citation label numberic format:
+% [number]
+%
+% Reference list ordering for sorted, alphabetic lables:
+% alphabetical by citation label, then by author(s) or whatever
+% passes for author in the absence of one, then by year,
+% then title
+%
+% Reference list ordering for sorted, numeric lables:
+% alphabetical by author(s) or whatever passes
+% for author in the absence of one, then by year, then title
+%
+% Reference list ordering for unsorted:
+% by the order cited in the text
+%
+% History
+% 12/16/84 (HWT) Original `plain' version, by Howard Trickey.
+% 12/23/84 (LL) Some comments made by Leslie Lamport.
+% 2/16/85 (OP) Changes based on LL's comments, Oren Patashnik.
+% 2/17/85 (HWT) Template file and other standard styles made.
+% 3/28/85 (OP) First release, version 0.98b for BibTeX 0.98f.
+% 5/ 9/85 (OP) Version 0.98c for BibTeX 0.98i:
+% fixed Theoretical Computer Science macro name;
+% fixed the format.vol.num.pages function.
+% 1/24/88 (OP) Version 0.99a for BibTeX 0.99a, main changes:
+% assignment operator (:=) arguments reversed;
+% the preamble$ function outputs the database PREAMBLE;
+% entry.max$ and global.max$ (built-in) variables replace
+% entry.string.max and global.string.max functions;
+% alphabetizing by year then title, not just title;
+% many unnecessary ties removed; \it ==> \em;
+% the `alpha' style uses a superscripted `+' instead of a
+% `*' for unnamed names in constructing the label;
+% the `abbrv' style now uses "Mar." and "Sept.";
+% the functions calc.label and presort now look at just
+% the fields they're supposed to;
+% BOOKLET, MASTERSTHESIS, TECHREPORT use nonbook titles;
+% INBOOK and INCOLLECTION take an optional type (e.g.
+% type = "Section"), overriding the default "chapter";
+% BOOK, INBOOK, INCOLLECTION, and PROCEEDINGS now allow
+% either volume or number, not just volume;
+% INCOLLECTION now allows an edition and series field;
+% PROCEEDINGS and INPROCEEDINGS now use the address field
+% to tell where a conference was held;
+% INPROCEEDINGS and PROCEEDINGS now allow either volume
+% or number, and also a series field;
+% MASTERSTHESIS and PHDTHESIS accept types other than
+% "Master's thesis" and "PhD thesis";
+% UNPUBLISHED now outputs, in one block, note then date;
+% MANUAL now prints out the organization in
+% the first block if the author field is empty;
+% MISC can't be empty---it requires some optional field.
+% 3/23/88 (OP) Version 0.99b for BibTeX 0.99c---changed the three
+% erroneous occurrences of `cite ' to `cite$ '; this
+% change didn't affect the four standard styles, so the
+% 0.99a versions of those styles are still current.
+% 5/11/91 (H2B) Version 1.00 of the `b' style family by
+% Hans-Hermann Bode with the following changes and
+% extensions: renaming the styles, adding a `anotit'
+% style; adding an output.state named continue.sentence
+% and a new.clause function; setting author names in
+% small caps, putting booktitles in quotes rather than
+% to emphasize them, boldfacing volume numbers of
+% journals, including date specification in parentheses,
+% discarding macros for journal names.
+% 6/15/91 (H2B) Version 1.10 of the `adaptable' style family (which
+% replaces the `b' style family) with adaptable
+% type styles, phrases, conjunctions etc., new macros
+% for edition numbers and ``chapter'' names and a new
+% `aunsnot' style.
+%
+% The ENTRY declaration
+% Like Scribe's (according to pages 231-2 of the April '84 edition),
+% but no fullauthor or editors fields because BibTeX does name handling.
+% The annote field is commented out here because this family doesn't
+% include an annotated bibliography style. And in addition to the fields
+% listed here, BibTeX has a built-in crossref field, explained later.
+
+ENTRY
+% Fields:
+ { address
+% Usually the address of a publisher or other type of organization.
+% Put information in this field only if it helps the reader find the
+% thing---for example you should omit the address of a major
+% publisher entirely. For a PROCEEDINGS or an INPROCEEDINGS,
+% however, it's the address of the conference; for those two entry
+% types, include the publisher's or organization's address, if
+% necessary, in the publisher or organization field.
+% annote
+% Long annotation---for annotated bibliographies (begins sentence).
+ author
+% Name(s) of author(s), in BibTeX name format.
+ booktitle
+% Book title when the thing being referenced isn't the whole book.
+% For book entries, the title field should be used instead.
+ chapter
+% Chapter (or section or whatever) number.
+ edition
+% Edition of a book---should be an ordinal (e.g., "Second").
+ editor
+% Name(s) of editor(s), in BibTeX name format.
+% If there is also an author field, then the editor field should be
+% for the book or collection that the work appears in.
+ howpublished
+% How something strange has been published (begins sentence).
+ institution
+% Sponsoring institution of a technical report.
+ journal
+% Journal name (macros are provided for many).
+ key
+% Alphabetizing, labeling, and cross-referencing key
+% (needed when an entry has no author or editor).
+ month
+% Month (macros are provided).
+ note
+% To help the reader find a reference (begins sentence).
+ number
+% Number of a journal or technical report, or of a work in a series.
+ organization
+% Organization sponsoring a conference (or publishing a manual); if
+% the editor (or author) is empty, and if the organization produces
+% an awkward label or cross reference, you should put appropriately
+% condensed organization information in the key field as well.
+ pages
+% Page number or numbers (use `--' to separate a range, use `+'
+% to indicate pages following that don't form a simple range).
+ publisher
+% Publisher name.
+ school
+% School name (for theses).
+ series
+% The name of a series or set of books.
+% An individual book will will also have it's own title.
+ title
+% The title of the thing you're referred to.
+ type
+% Type of a Techreport (e.g., "Research Note") to be used instead of
+% the default "Technical Report"; or, similarly, the type of a
+% thesis; or of a part of a book.
+ volume
+% The volume number of a journal or multivolume work.
+ year
+% The year should contain only numerals (technically, it should end
+% with four numerals, after purification; doesn't a begin sentence).
+ }
+% There are no integer entry variables
+ {}
+% These string entry variables are used to form the citation label.
+% In a storage pinch, sort.label can be easily computed on the fly.
+#if LAB_ALPH
+#if SORTED
+ { label extra.label sort.label }
+#else !SORTED
+% It doesn't seem like a good idea to use an order-of-citation
+% reference list when using alphabetic labels, but when this happens
+% we do things a little differently
+ { label }
+#endif SORTED
+#else !LAB_ALPH
+ { label }
+#endif LAB_ALPH
+
+% The following macros have to be defined by the user (e.g., with the
+% expansions given below) for formatting of certain fields and to replace the
+% constant built-in strings for phrases, conjunctions etc. This makes the
+% BibTeX style files adaptable---a feature introduced by H2B.
+%
+% The type style of certain fields is determined by the \abtype command. The
+% first parameter is a number, that denotes the field in question, namely:
+% 0 author and editor names,
+% 1 titles of books and series,
+% 2 journal titles,
+% 3 journal volumes,
+% 4 journal numbers, and
+% 5 dates.
+% The second parameter is the text to format. Hence, the type style macro
+% could be something like:
+% \def\abtype#1#2{%
+% \ifcase#1{\sc#2}\or``#2''\or{\em#2\/}\or{\bf#2}\or(#2)\or(#2)\else#2\fi}
+% The \else clause returns the text unformatted, if the command is called with
+% an undefined field number (which is not used in this file).
+%
+% Phrases are defined by the \abphrase command. The only parameter is a code
+% for the phrase:
+% 0 conjunction between two or before the last name of a name list
+% 1 comes before the last conjunction of a name list
+% 2 replaces names of co-authors and co-editors (``et al.'')
+% 3 marks multiple editors
+% 4 marks a single editor
+% 5 ``of'' for a volume of a series or crossref
+% 6 ``in'' for a number in a series
+% 7 ``In'' for crossrefs to books, articles, etc.
+% 8 comes before a volume number, lower-case
+% 9 comes before a volume number, upper-case
+% 10 comes before a series number, lower-case
+% 11 comes before a series number, upper-case
+% 12 comes after an edition number
+% 13 comes before multiple page numbers
+% 14 comes before a single page number
+% 15 comes before a chapter number
+% 16 denotes a technical report
+% 17 denotes a master's thesis
+% 18 denotes a phd thesis
+% An appropriate definition of the phrases macro would be:
+% \def\abphrase#1{%
+% \ifcase#1{ and }\or{,}\or{ et~al.}\or{, editors}\or{, editor}\or%
+% { of }\or{ in }\or{In }\or{volume}\or{Volume}\or{number}\or{Number}\or%
+% { edition}\or{pages}\or{page}\or{chapter}\or%
+% {Technical Report}\or{Master's thesis}\or{PhD thesis}\fi}
+
+% Each entry function starts by calling output.bibitem, to write the
+% \bibitem and its arguments to the .BBL file. Then the various fields
+% are formatted and printed by output or output.check. Those functions
+% handle the writing of separators (commas, periods, \newblock's),
+% taking care not to do so when they are passed a null string.
+% Finally, fin.entry is called to add the final period and finish the
+% entry.
+%
+% A bibliographic reference is formatted into a number of `blocks':
+% in the open format, a block begins on a new line and subsequent
+% lines of the block are indented. A block may contain more than
+% one sentence (well, not a grammatical sentence, but something to
+% be ended with a sentence ending period). The entry functions should
+% call new.block whenever a block other than the first is about to be
+% started. They should call new.sentence whenever a new sentence is
+% to be started. The output functions will ensure that if two
+% new.sentence's occur without any non-null string being output between
+% them then there won't be two periods output. Similarly for two
+% successive new.block's.
+%
+% The output routines don't write their argument immediately.
+% Instead, by convention, that argument is saved on the stack to be
+% output next time (when we'll know what separator needs to come
+% after it). Meanwhile, the output routine has to pop the pending
+% output off the stack, append any needed separator, and write it.
+%
+% To tell which separator is needed, we maintain an output.state.
+% It will be one of these values:
+% before.all just after the \bibitem
+% continue.sentence in the middle of a sentence: blank---no
+% comma---needed if more sentence is
+% output (value added by H2B)
+% mid.sentence in the middle of a sentence: comma needed
+% if more sentence is output
+% after.sentence just after a sentence: period needed
+% after.block just after a block (and sentence):
+% period and \newblock needed.
+% Note: These styles don't use after.sentence.
+% This note doesn't apply really (H2B).
+%
+% VAR: output.state : INTEGER -- state variable for output
+%
+% The output.nonnull function saves its argument (assumed to be nonnull)
+% on the stack, and writes the old saved value followed by any needed
+% separator. The ordering of the tests is decreasing frequency of
+% occurrence.
+%
+% output.nonnull(s) ==
+% BEGIN
+% s := argument on stack
+% if output.state = continue.sentence then -- added by H2B
+% write$(pop() * " ") -- dto.
+% -- "pop" isn't a function: just use stack top
+% else
+% if output.state = mid.sentence then
+% write$(pop() * ", ")
+% else
+% if output.state = after.block then
+% write$(add.period$(pop()))
+% newline$
+% write$("\newblock ")
+% else
+% if output.state = before.all then
+% write$(pop())
+% else -- output.state should be after.sentence
+% write$(add.period$(pop()) * " ")
+% fi
+% fi
+% fi
+% output.state := continue.sentence
+% fi
+% push s on stack
+% END
+%
+% The output function calls output.nonnull if its argument is non-empty;
+% its argument may be a missing field (thus, not necessarily a string)
+%
+% output(s) ==
+% BEGIN
+% if not empty$(s) then output.nonnull(s)
+% fi
+% END
+%
+% The output.check function is the same as the output function except that, if
+% necessary, output.check warns the user that the t field shouldn't be empty
+% (this is because it probably won't be a good reference without the field;
+% the entry functions try to make the formatting look reasonable even when
+% such fields are empty).
+%
+% output.check(s,t) ==
+% BEGIN
+% if empty$(s) then
+% warning$("empty " * t * " in " * cite$)
+% else output.nonnull(s)
+% fi
+% END
+%
+% The output.bibitem function writes the \bibitem for the current entry
+% (the label should already have been set up), and sets up the separator
+% state for the output functions. And, it leaves a string on the stack
+% as per the output convention.
+%
+% output.bibitem ==
+% BEGIN
+% newline$
+% write$("\bibitem[") % for alphabetic labels,
+% write$(label) % these three lines
+% write$("]{") % are used
+% write$("\bibitem{") % this line for numeric labels
+% write$(cite$)
+% write$("}")
+% push "" on stack
+% output.state := before.all
+% END
+%
+% The fin.entry function finishes off an entry by adding a period to the
+% string remaining on the stack. If the state is still before.all
+% then nothing was produced for this entry, so the result will look bad,
+% but the user deserves it. (We don't omit the whole entry because the
+% entry was cited, and a bibitem is needed to define the citation label.)
+%
+% fin.entry ==
+% BEGIN
+% write$(add.period$(pop()))
+% newline$
+% END
+%
+% The new.block function prepares for a new block to be output, and
+% new.sentence prepares for a new sentence.
+% Added by H2B was new.clause, that prepares for a new subordinate clause.
+%
+% new.block ==
+% BEGIN
+% if output.state <> before.all then
+% output.state := after.block
+% fi
+% END
+%
+% new.sentence ==
+% BEGIN
+% if output.state <> after.block then
+% if output.state <> before.all then
+% output.state := after.sentence
+% fi
+% fi
+% END
+%
+% new.clause ==
+% BEGIN
+% if output.state <> after.sentence then
+% if output.state <> after.block then
+% if output.state <> before.all then
+% output.state := mid.sentence
+% fi
+% fi
+% fi
+% END
+%
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block
+ continue.sentence }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #4 'continue.sentence :=
+}
+
+% the variables s and t are temporary string holders
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state continue.sentence =
+ { " " * write$ }
+ { output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ }
+ if$
+ continue.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+#if LAB_ALPH
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+#else
+ "\bibitem{" write$
+#endif LAB_ALPH
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+% This function finishes all entries.
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {new.clause}
+{ output.state after.sentence =
+ 'skip$
+ { output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { mid.sentence 'output.state := }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+% These three functions pop one or two (integer) arguments from the stack
+% and push a single one, either 0 or 1.
+% The 'skip$ in the `and' and `or' functions are used because
+% the corresponding if$ would be idempotent
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+% Sometimes we begin a new block only if the block will be big enough. The
+% new.block.checka function issues a new.block if its argument is nonempty;
+% new.block.checkb does the same if either of its TWO arguments is nonempty.
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+% The new.sentence.check functions are analogous.
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+% And the new.clause.check functions, which were added by H2B, also.
+
+FUNCTION {new.clause.checka}
+{ empty$
+ 'skip$
+ 'new.clause
+ if$
+}
+
+FUNCTION {new.clause.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.clause
+ if$
+}
+
+% Here are some functions for formatting chunks of an entry.
+% By convention they either produce a string that can be followed by
+% a comma or period (using add.period$, so it is OK to end in a period),
+% or they produce the null string.
+%
+% A useful utility is the field.or.null function, which checks if the
+% argument is the result of pushing a `missing' field (one for which no
+% assignment was made when the current entry was read in from the database)
+% or the result of pushing a string having no non-white-space characters.
+% It returns the null string if so, otherwise it returns the field string.
+% Its main (but not only) purpose is to guarantee that what's left on the
+% stack is a string rather than a missing field.
+%
+% field.or.null(s) ==
+% BEGIN
+% if empty$(s) then return ""
+% else return s
+% END
+%
+% Another helper function is emphasize, which returns the argument emphazised,
+% if that is non-empty, otherwise it returns the null string. Italic
+% corrections aren't used, so this function should be used when punctation
+% will follow the result. In contrast to the last sentence, now italic
+% corrections are always used (H2B).
+%
+% emphasize(s) ==
+% BEGIN
+% if empty$(s) then return ""
+% else return "{\em " * s * "\/}"
+% END
+%
+% Similar to emphasize is capitalize, from which the argument comes out in
+% small caps. This function was added by H2B.
+%
+% capitalize(s) ==
+% BEGIN
+% if empty$(s) then return ""
+% else return "{\sc " * s * "}"
+% END
+%
+% And here is another such function---added by H2B---, that returns a boldface
+% string.
+%
+% boldface(s) ==
+% BEGIN
+% if empty$(s) then return ""
+% else return "{\bf " * s * "}"
+% END
+%
+% The function quote will put its argument string in quotes (added by H2B).
+%
+% quote(s) ==
+% BEGIN
+% if empty$(s) then return ""
+% else return "``" * s * "''"
+% END
+%
+% And parentheses includes it in parentheses (added by H2B).
+%
+% parentheses(s) ==
+% BEGIN
+% if empty$(s) then return ""
+% else return "(" * s * ")"
+% END
+%
+% The format.names function formats the argument (which should be in
+% BibTeX name format) into "First Von Last, Junior", separated by commas
+% and with an "and" before the last (but ending with "et~al." if the last
+% of multiple authors is "others"). This function's argument should always
+% contain at least one name.
+%
+% VAR: nameptr, namesleft, numnames: INTEGER
+% pseudoVAR: nameresult: STRING (it's what's accumulated on the stack)
+%
+% format.names(s) ==
+% BEGIN
+% nameptr := 1
+% numnames := num.names$(s)
+% namesleft := numnames
+% while namesleft > 0
+% do
+% % for full names:
+% t := format.name$(s, nameptr, "{ff~}{vv~}{ll}{, jj}")
+% % for abbreviated first names:
+% t := format.name$(s, nameptr, "{f.~}{vv~}{ll}{, jj}")
+% if nameptr > 1 then
+% if namesleft > 1 then nameresult := nameresult * ", " * t
+% else if numnames > 2
+% then nameresult := nameresult * ","
+% fi
+% if t = "others"
+% then nameresult := nameresult * " et~al."
+% else nameresult := nameresult * " and " * t
+% fi
+% fi
+% else nameresult := t
+% fi
+% nameptr := nameptr + 1
+% namesleft := namesleft - 1
+% od
+% return nameresult
+% END
+%
+% The format.authors function returns the result of format.names(author)
+% if the author is present, or else it returns the null string.
+% Capitalization of names added by H2B.
+%
+% format.authors ==
+% BEGIN
+% if empty$(author) then return ""
+% else return capitalize(format.names(author))
+% fi
+% END
+%
+% Format.editors is like format.authors, but it uses the editor field,
+% and appends ", editor" or ", editors".
+% Capitalization of names added by H2B.
+%
+% format.editors ==
+% BEGIN
+% if empty$(editor) then return ""
+% else
+% if num.names$(editor) > 1 then
+% return capitalize(format.names(editor)) * ", editors"
+% else
+% return capitalize(format.names(editor)) * ", editor"
+% fi
+% fi
+% END
+%
+% Other formatting functions are similar, so no "comment version" will be
+% given for them.
+%
+% The `pop$' in this function gets rid of the duplicate `empty' value and
+% the `skip$' returns the duplicate field value
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\abtype{2}{" swap$ * "}" * } %H2B
+ if$
+}
+
+FUNCTION {capitalize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\abtype{0}{" swap$ * "}" * } %H2B
+ if$
+}
+
+FUNCTION {boldface}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\abtype{3}{" swap$ * "}" * } %H2B
+ if$
+}
+
+FUNCTION {quote}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\abtype{1}{" swap$ * "}" * } %H2B
+ if$
+}
+
+FUNCTION {parentheses}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\abtype{5}{" swap$ * "}" * } %H2B
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+#if NAME_FULL
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+#else
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+#endif NAME_FULL
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "\abphrase{1}" * } %H2B
+ 'skip$
+ if$
+ t "others" =
+ { "\abphrase{2}" * } %H2B
+ { "\abphrase{0}" * t * } %H2B
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names capitalize }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names capitalize
+ editor num.names$ #1 >
+ { "\abphrase{3}" * } %H2B
+ { "\abphrase{4}" * } %H2B
+ if$
+ }
+ if$
+}
+
+% The format.title function is used for non-book-like titles.
+% For most styles we convert to lowercase (except for the very first letter,
+% and except for the first one after a colon (followed by whitespace)),
+% and hope the user has brace-surrounded words that need to stay capitilized;
+% for some styles, however, we leave it as it is in the database.
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+#if ATIT_LOWER
+ { title "t" change.case$ }
+#else
+ 'title
+#endif ATIT_LOWER
+ if$
+}
+
+% By default, BibTeX sets the global integer variable global.max$ to the BibTeX
+% constant glob_str_size, the maximum length of a global string variable.
+% Analogously, BibTeX sets the global integer variable entry.max$ to
+% ent_str_size, the maximum length of an entry string variable.
+% The style designer may change these if necessary (but this is unlikely)
+
+% The n.dashify function makes each single `-' in a string a double `--'
+% if it's not already
+%
+% pseudoVAR: pageresult: STRING (it's what's accumulated on the stack)
+%
+% n.dashify(s) ==
+% BEGIN
+% t := s
+% pageresult := ""
+% while (not empty$(t))
+% do
+% if (first character of t = "-")
+% then
+% if (next character isn't)
+% then
+% pageresult := pageresult * "--"
+% t := t with the "-" removed
+% else
+% while (first character of t = "-")
+% do
+% pageresult := pageresult * "-"
+% t := t with the "-" removed
+% od
+% fi
+% else
+% pageresult := pageresult * the first character
+% t := t with the first character removed
+% fi
+% od
+% return pageresult
+% END
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+% The format.date function is for the month and year, but we give a warning if
+% there's an empty year but the month is there, and we return the empty string
+% if they're both empty.
+% The resulting string is enclosed in parentheses (H2B).
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month parentheses
+ }
+ if$
+ }
+ { month empty$
+ { year parentheses }
+ { month " " * year * parentheses }
+ if$
+ }
+ if$
+}
+
+% The format.btitle is for formatting the title field when it is a book-like
+% entry---the style used here keeps it in uppers-and-lowers and emphasizes it.
+% The emphasis will be done by quotation marks (H2B).
+
+FUNCTION {format.btitle}
+{ title quote
+}
+
+% For several functions we'll need to connect two strings with a
+% tie (~) if the second one isn't very long (fewer than 3 characters).
+% The tie.or.space.connect function does that. It concatenates the two
+% strings on top of the stack, along with either a tie or space between
+% them, and puts this concatenation back onto the stack:
+%
+% tie.or.space.connect(str1,str2) ==
+% BEGIN
+% if text.length$(str2) < 3
+% then return the concatenation of str1, "~", and str2
+% else return the concatenation of str1, " ", and str2
+% END
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+% The either.or.check function complains if both fields or an either-or pair
+% are nonempty.
+%
+% either.or.check(t,s) ==
+% BEGIN
+% if empty$(s) then
+% warning$(can't use both " * t * " fields in " * cite$)
+% fi
+% END
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+% The format.bvolume function is for formatting the volume and perhaps
+% series name of a multivolume work. If both a volume and a series field
+% are there, we assume the series field is the title of the whole multivolume
+% work (the title field should be the title of the thing being referred to),
+% and we add an "of <series>". This function is called in mid-sentence.
+% The emphasis will be done by quotation marks (H2B).
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "\abphrase{8}" volume tie.or.space.connect %H2B
+ series empty$
+ 'skip$
+ { "\abphrase{5}" * series quote * } %H2B
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+% The format.number.series function is for formatting the series name
+% and perhaps number of a work in a series. This function is similar to
+% format.bvolume, although for this one the series must exist (and the
+% volume must not exist). If the number field is empty we output either
+% the series field unchanged if it exists or else the null string.
+% If both the number and series fields are there we assume the series field
+% gives the name of the whole series (the title field should be the title
+% of the work being one referred to), and we add an "in <series>".
+% We capitilize Number when this function is used at the beginning of a block.
+% The latter applies if output.state is mid.sentence or continue.sentence
+% (H2B).
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence = output.state continue.sentence = or
+ { "\abphrase{10}" } %H2B
+ { "\abphrase{11}" } %H2B
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { "\abphrase{6}" * series * } %H2B
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+% The format.edition function appends " edition" to the edition, if present.
+% We lowercase the edition (it should be something like "Third"), because
+% this doesn't start a sentence.
+% The latter applies if output.state is mid.sentence or continue.sentence
+% (H2B).
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence = output.state continue.sentence = or
+ { edition "l" change.case$ "\abphrase{12}" * } %H2B
+ { edition "t" change.case$ "\abphrase{12}" * } %H2B
+ if$
+ }
+ if$
+}
+
+% The format.pages function is used for formatting a page range in a book
+% (and in rare circumstances, an article).
+%
+% The multi.page.check function examines the page field for a "-" or "," or "+"
+% so that format.pages can use "page" instead of "pages" if none exists.
+% Note: global.max$ here means "take the rest of the string"
+%
+% VAR: multiresult: INTEGER (actually, a boolean)
+%
+% multi.page.check(s) ==
+% BEGIN
+% t := s
+% multiresult := false
+% while ((not multiresult) and (not empty$(t)))
+% do
+% if (first character of t = "-" or "," or "+")
+% then multiresult := true
+% else t := t with the first character removed
+% fi
+% od
+% return multiresult
+% END
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+% This function doesn't begin a sentence so "pages" isn't capitalized.
+% Other functions that use this should keep that in mind.
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "\abphrase{13}" pages n.dashify tie.or.space.connect } %H2B
+ { "\abphrase{14}" pages tie.or.space.connect } %H2B
+ if$
+ }
+ if$
+}
+
+% The format.vol.num.pages function is for the volume, number, and page range
+% of a journal article. We use the format: vol(number):pages, with some
+% variations for empty fields. This doesn't begin a sentence.
+% The format was changed to `vol(number), pages', where the `vol' comes out in
+% boldface, by H2B.
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null boldface
+ number empty$
+ 'skip$
+ { "\abtype{4}{" number * "}" * * %H2B
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ", " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+
+% The format.chapter.pages, if the chapter is present, puts whatever is in the
+% type field (or else "chapter" if type is empty) in front of a chapter number.
+% It then appends the pages, if present. This doesn't begin a sentence.
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "\abphrase{15}" } %H2B
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+% The format.in.ed.booktitle function is used for starting out a sentence
+% that begins "In <booktitle>", putting an editor before the title if one
+% exists.
+% The emphasis will be done by quotation marks (H2B).
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "\abphrase{7}" booktitle quote * } %H2B
+ { "\abphrase{7}" format.editors * ", " * booktitle quote * } %H2B
+ if$
+ }
+ if$
+}
+
+% The function empty.misc.check complains if all six fields are empty, and
+% if there's been no sorting or alphabetic-label complaint.
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+#if SORTED
+ key empty$ not and
+#else !SORTED
+#if LAB_ALPH
+ key empty$ not and
+#endif LAB_ALPH
+#endif SORTED
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+% The function format.thesis.type returns either the (case-changed) type field,
+% if it is defined, or else the default string already on the stack
+% (like "Master's thesis" or "PhD thesis").
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+% The function format.tr.number makes a string starting with "Technical Report"
+% (or type, if that field is defined), followed by the number if there is one;
+% it returns the starting part (with a case change) even if there is no number.
+% This is used at the beginning of a sentence.
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "\abphrase{16}" } %H2B
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+% Now come the cross-referencing functions (these are invoked because
+% one entry in the database file(s) cross-references another, by giving
+% the other entry's database key in a `crossref' field). This feature
+% allows one or more titled things that are part of a larger titled
+% thing to cross-reference the larger thing. These styles allow for
+% five posibilities: (1) an ARTICLE may cross-reference an ARTICLE;
+% (2) a BOOK, (3) INBOOK, or (4) INCOLLECTION may cross-reference a BOOK;
+% or (5) an INPROCEEDINGS may cross-reference a PROCEEDINGS.
+% Each of these is explained in more detail later.
+%
+% An ARTICLE entry type may cross reference another ARTICLE (this is
+% intended for when an entire journal is devoted to a single topic---
+% but since there is no JOURNAL entry type, the journal, too, should be
+% classified as an ARTICLE but without the author and title fields).
+% This will result in two warning messages for the journal's entry
+% if it's included in the reference list, but such is life.
+% In the original true function the emphasis with italic correction had been
+% made by inserting the necessary TeX control sequences directly; this is
+% substituted by a call to emphasize (H2B).
+%
+% format.article.crossref ==
+% BEGIN
+% if empty$(key) then
+% if empty$(journal) then
+% warning$("need key or journal for " * cite$ *
+% " to crossref " * crossref)
+% return(" \cite{" * crossref * "}")
+% else
+% return("In " * emphazise.correct (journal) *
+% " \cite{" * crossref * "}")
+% fi
+% else
+% return("In " * key * " \cite{" * crossref * "}")
+% fi
+% END
+%
+% The other cross-referencing functions are similar, so no "comment version"
+% will be given for them.
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "\abphrase{7}" journal emphasize * } %H2B
+ if$
+ }
+ { "\abphrase{7}" key * } %H2B
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+% We use just the last names of editors for a cross reference: either
+% "editor", or "editor1 and editor2", or "editor1 et~al." depending on
+% whether there are one, or two, or more than two editors.
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ "\abphrase{2}" * } %H2B
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "\abphrase{2}" * } %H2B
+ { "\abphrase{0}" * editor #2 "{vv~}{ll}" format.name$ * } %H2B
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+% A BOOK (or INBOOK) entry type (assumed to be for a single volume in a
+% multivolume work) may cross reference another BOOK (the entire multivolume).
+% Usually there will be an editor, in which case we use that to construct the
+% cross reference; otherwise we use a nonempty key field or else the series
+% field (since the series gives the title of the multivolume work).
+% The series title is enclosed in quotes rather than emphasized (H2B).
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "\abphrase{7}" %H2B
+ }
+ { "\abphrase{9}" volume tie.or.space.connect %H2B
+ "\abphrase{5}" * %H2B
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { series quote * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+% An INCOLLECTION entry type may cross reference a BOOK (assumed to be the
+% collection), or an INPROCEEDINGS may cross reference a PROCEEDINGS.
+% Often there will be an editor, in which case we use that to construct
+% the cross reference; otherwise we use a nonempty key field or else
+% the booktitle field (which gives the cross-referenced work's title).
+% The booktitle is enclosed in quotes rather than emphasized (H2B).
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "\abphrase{7}" booktitle quote * } %H2B
+ if$
+ }
+ { "\abphrase{7}" key * } %H2B
+ if$
+ }
+ { "\abphrase{7}" format.crossref.editor * } %H2B
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+% Now we define the type functions for all entry types that may appear
+% in the .BIB file---e.g., functions like `article' and `book'. These
+% are the routines that actually generate the .BBL-file output for
+% the entry. These must all precede the READ command. In addition, the
+% style designer should have a function `default.type' for unknown types.
+% Note: The fields (within each list) are listed in order of appearance,
+% except as described for an `inbook' or a `proceedings'.
+%
+% The article function is for an article in a journal. An article may
+% CROSSREF another article.
+% Required fields: author, title, journal, year
+% Optional fields: volume, number, pages, month, note
+%
+% article ==
+% BEGIN
+% output.bibitem
+% output.check(format.authors,"author")
+% new.block
+% output.check(format.title,"title") % omitted if NO_TITLE (H2B)
+% new.block % dto.
+% if missing$(crossref) then
+% output.check(emphasize(journal),"journal")
+% % italic correction added (H2B)
+% output(format.vol.num.pages)
+% output.check(format.date,"year")
+% else
+% output.nonnull(format.article.crossref)
+% new.clause % added by H2B
+% output(format.pages)
+% fi
+% new.block
+% output(note)
+% fin.entry
+% END
+%
+% The book function is for a whole book. A book may CROSSREF another book.
+% Required fields: author or editor, title, publisher, year
+% Optional fields: volume or number, series, address, edition, month,
+% note
+%
+% book ==
+% BEGIN
+% if empty$(author) then output.check(format.editors,"author and editor")
+% else output.check(format.authors,"author")
+% if missing$(crossref) then
+% either.or.check("author and editor",editor)
+% fi
+% fi
+% new.block
+% output.check(format.btitle,"title")
+% if missing$(crossref) then
+% new.clause % added by H2B
+% output(format.bvolume)
+% new.block
+% output(format.number.series)
+% new.sentence
+% output.check(publisher,"publisher")
+% new.clause.checka(address) % added by H2B
+% output(address)
+% else
+% new.block
+% output.nonnull(format.book.crossref)
+% fi
+% edition new.clause.checka % added by H2B
+% output(format.edition)
+% output.check(format.date,"year")
+% new.block
+% output(note)
+% fin.entry
+% END
+%
+% The other entry functions are all quite similar, so no "comment version"
+% will be given for them.
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+#if !NO_TITLE
+ format.title "title" output.check
+ new.block
+#endif
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ new.clause
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { new.clause
+ format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address new.clause.checka
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ edition new.clause.checka
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+% A booklet is a bound thing without a publisher or sponsoring institution.
+% Required: title
+% Optional: author, howpublished, address, month, year, note
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address new.clause.checka
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+% For the conference entry type, see inproceedings.
+
+% An inbook is a piece of a book: either a chapter and/or a page range.
+% It may CROSSREF a book. If there's no volume field, the type field
+% will come before number and series.
+% Required: author or editor, title, chapter and/or pages, publisher,year
+% Optional: volume or number, series, type, address, edition, month, note
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ new.clause
+ crossref missing$
+ { format.bvolume output
+ new.clause
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address new.clause.checka
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ edition new.clause.checka
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+% An incollection is like inbook, but where there is a separate title
+% for the referenced thing (and perhaps an editor for the whole).
+% An incollection may CROSSREF a book.
+% Required: author, title, booktitle, publisher, year
+% Optional: editor, volume or number, series, type, chapter, pages,
+% address, edition, month, note
+% For the NO_TITLE option the title is suppressed, if the chapter or the pages
+% field is nonempty (H2B).
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+#if NO_TITLE
+ chapter empty$ pages empty$ and
+ {
+#endif
+ format.title "title" output.check
+ new.block
+#if NO_TITLE
+ }
+ 'skip$
+ if$
+#endif
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ new.clause
+ format.bvolume output
+ new.clause
+ format.number.series output
+ new.clause
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address new.clause.checka
+ address output
+ edition new.clause.checka
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ new.clause
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+% An inproceedings is an article in a conference proceedings, and it may
+% CROSSREF a proceedings. If there's no address field, the month (& year)
+% will appear just before note.
+% Required: author, title, booktitle, year
+% Optional: editor, volume or number, series, pages, address, month,
+% organization, publisher, note
+% For the NO_TITLE option the title is suppressed, if the pages field is
+% nonempty (H2B).
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+#if NO_TITLE
+ pages empty$
+ {
+#endif
+ format.title "title" output.check
+ new.block
+#if NO_TITLE
+ }
+ 'skip$
+ if$
+#endif
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ volume new.clause.checka
+ format.bvolume output
+ number series new.clause.checkb
+ format.number.series output
+ pages new.clause.checka
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher new.clause.checka
+ publisher output
+ format.date "year" output.check
+ }
+ { new.clause
+ address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ new.clause
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ new.clause
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+% The conference function is included for Scribe compatibility.
+
+FUNCTION {conference} { inproceedings }
+
+% A manual is technical documentation.
+% Required: title
+% Optional: author, organization, address, edition, month, year, note
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ new.clause
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address new.clause.checka
+ address output
+ }
+ if$
+ edition new.clause.checka
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+% A mastersthesis is a Master's thesis.
+% Required: author, title, school, year
+% Optional: type, address, month, note
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "\abphrase{17}" format.thesis.type output.nonnull %H2B
+ new.clause
+ school "school" output.check
+ address new.clause.checka
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+% A misc is something that doesn't fit elsewhere.
+% Required: at least one of the `optional' fields
+% Optional: author, title, howpublished, month, year, note
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+% A phdthesis is like a mastersthesis.
+% Required: author, title, school, year
+% Optional: type, address, month, note
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "\abphrase{18}" format.thesis.type output.nonnull %H2B
+ new.clause
+ school "school" output.check
+ address new.clause.checka
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+% A proceedings is a conference proceedings.
+% If there is an organization but no editor field, the organization will
+% appear as the first optional field (we try to make the first block nonempty);
+% if there's no address field, the month (& year) will appear just before note.
+% Required: title, year
+% Optional: editor, volume or number, series, address, month,
+% organization, publisher, note
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ volume new.clause.checka
+ format.bvolume output
+ number series new.clause.checkb
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher new.clause.checka
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { new.clause
+ address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output
+ new.clause
+ }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+% A techreport is a technical report.
+% Required: author, title, institution, year
+% Optional: type, number, address, month, note
+% For the NO_TITLE option the title is suppressed, if the number field is
+% nonempty (H2B).
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+#if NO_TITLE
+ number empty$
+ {
+#endif
+ format.title "title" output.check
+ new.block
+#if NO_TITLE
+ }
+ 'skip$
+ if$
+#endif
+ format.tr.number output.nonnull
+ new.clause
+ institution "institution" output.check
+ address new.clause.checka
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+% An unpublished is something that hasn't been published.
+% Required: author, title, note
+% Optional: month, year
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+% We use entry type `misc' for an unknown type; BibTeX gives a warning.
+
+FUNCTION {default.type} { misc }
+
+% Here are macros for common things that may vary from style to style.
+% Users are encouraged to use these macros.
+%
+% Months are either written out in full or abbreviated
+%
+% The macros for the month names now expand to TeX macros, so they are
+% adaptable too. Thus no conditional MONTH_FULL is needed anymore (H2B).
+%
+% The \abmonth macro should be defined by the user as something like:
+% \def\abmonth#1{\ifcase#1\or January\or February\or March\or April\or May\or
+% June\or July\or August\or September\or October\or November\or December\fi}
+
+MACRO {jan} {"\abmonth{1}"}
+
+MACRO {feb} {"\abmonth{2}"}
+
+MACRO {mar} {"\abmonth{3}"}
+
+MACRO {apr} {"\abmonth{4}"}
+
+MACRO {may} {"\abmonth{5}"}
+
+MACRO {jun} {"\abmonth{6}"}
+
+MACRO {jul} {"\abmonth{7}"}
+
+MACRO {aug} {"\abmonth{8}"}
+
+MACRO {sep} {"\abmonth{9}"}
+
+MACRO {oct} {"\abmonth{10}"}
+
+MACRO {nov} {"\abmonth{11}"}
+
+MACRO {dec} {"\abmonth{12}"}
+
+% The next ten macros are provided for edition numbers. For higher numbers the
+% \abedition command should be extended by the user and called directly or---
+% better---via @STRING declarations in the BIB files. The \abedition command
+% to be defined by the user is, e.g.:
+% \def\abedition#1{\ifcase#1\or First\or Second\or Third\or Fourth\or Fifth\or
+% Sixth\or Seventh\or Eighth\or Ninth\or Tenth\else?\fi}
+
+MACRO {first} {"\abedition{1}"}
+
+MACRO {second} {"\abedition{2}"}
+
+MACRO {third} {"\abedition{3}"}
+
+MACRO {fourth} {"\abedition{4}"}
+
+MACRO {fifth} {"\abedition{5}"}
+
+MACRO {sixth} {"\abedition{6}"}
+
+MACRO {seventh} {"\abedition{7}"}
+
+MACRO {eighth} {"\abedition{8}"}
+
+MACRO {ninth} {"\abedition{9}"}
+
+MACRO {tenth} {"\abedition{10}"}
+
+% Finally, some macros are defined to re-dedicate the CHAPTER field via the
+% TYPE field. An appropriate \abchapter command were:
+% \def\abchapter#1{\ifcase#1Section\or Paragraph\or Appendix\or Part\fi}
+
+MACRO {section} {"\abchapter{0}"}
+
+MACRO {paragraph} {"\abchapter{1}"}
+
+MACRO {appendix} {"\abchapter{2}"}
+
+MACRO {part} {"\abchapter{3}"}
+
+% Journals are either written out in full or abbreviated;
+% the abbreviations are like those found in ACM publications.
+%
+% To get a completely different set of abbreviations, it may be best to make
+% a separate .bib file with nothing but those abbreviations; users could then
+% include that file name as the first argument to the \bibliography command.
+%
+% All journal macros were commented off, because the set applies only to a
+% very special field of sciences; so the hint in the previous paragraph
+% becomes mandatory (H2B).
+
+% #if JOUR_FULL
+%
+% MACRO {acmcs} {"ACM Computing Surveys"}
+%
+% MACRO {acta} {"Acta Informatica"}
+%
+% MACRO {cacm} {"Communications of the ACM"}
+%
+% MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+%
+% MACRO {ibmsj} {"IBM Systems Journal"}
+%
+% MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+%
+% MACRO {ieeetc} {"IEEE Transactions on Computers"}
+%
+% MACRO {ieeetcad}
+% {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+%
+% MACRO {ipl} {"Information Processing Letters"}
+%
+% MACRO {jacm} {"Journal of the ACM"}
+%
+% MACRO {jcss} {"Journal of Computer and System Sciences"}
+%
+% MACRO {scp} {"Science of Computer Programming"}
+%
+% MACRO {sicomp} {"SIAM Journal on Computing"}
+%
+% MACRO {tocs} {"ACM Transactions on Computer Systems"}
+%
+% MACRO {tods} {"ACM Transactions on Database Systems"}
+%
+% MACRO {tog} {"ACM Transactions on Graphics"}
+%
+% MACRO {toms} {"ACM Transactions on Mathematical Software"}
+%
+% MACRO {toois} {"ACM Transactions on Office Information Systems"}
+%
+% MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+%
+% MACRO {tcs} {"Theoretical Computer Science"}
+%
+% #else !JOUR_FULL
+%
+% MACRO {acmcs} {"ACM Comput. Surv."}
+%
+% MACRO {acta} {"Acta Inf."}
+%
+% MACRO {cacm} {"Commun. ACM"}
+%
+% MACRO {ibmjrd} {"IBM J. Res. Dev."}
+%
+% MACRO {ibmsj} {"IBM Syst.~J."}
+%
+% MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+%
+% MACRO {ieeetc} {"IEEE Trans. Comput."}
+%
+% MACRO {ieeetcad}
+% {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+%
+% MACRO {ipl} {"Inf. Process. Lett."}
+%
+% MACRO {jacm} {"J.~ACM"}
+%
+% MACRO {jcss} {"J.~Comput. Syst. Sci."}
+%
+% MACRO {scp} {"Sci. Comput. Programming"}
+%
+% MACRO {sicomp} {"SIAM J. Comput."}
+%
+% MACRO {tocs} {"ACM Trans. Comput. Syst."}
+%
+% MACRO {tods} {"ACM Trans. Database Syst."}
+%
+% MACRO {tog} {"ACM Trans. Gr."}
+%
+% MACRO {toms} {"ACM Trans. Math. Softw."}
+%
+% MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+%
+% MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+%
+% MACRO {tcs} {"Theoretical Comput. Sci."}
+%
+% #endif JOUR_FULL
+
+% Now we read in the .BIB entries.
+
+READ
+
+% The sortify function converts to lower case after purify$ing; it's
+% used in sorting and in computing alphabetic labels after sorting
+%
+% The chop.word(w,len,s) function returns either s or, if the first len
+% letters of s equals w (this comparison is done in the third line of the
+% function's definition), it returns that part of s after w.
+
+#if SORTED
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+#else !SORTED
+#if LAB_ALPH
+
+% We need the chop.word stuff for the dubious unsorted-list-with-labels case.
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+#endif LAB_ALPH
+#endif SORTED
+
+% This long comment applies only to alphabetic labels
+%
+% The format.lab.names function makes a short label by using the initials of
+% the von and Last parts of the names (but if there are more than four names,
+% (i.e., people) it truncates after three and adds a superscripted "+";
+% it also adds such a "+" if the last of multiple authors is "others").
+% If there is only one name, and its von and Last parts combined have just
+% a single name-token ("Knuth" has a single token, "Brinch Hansen" has two),
+% we take the first three letters of the last name. The boolean
+% et.al.char.used tells whether we've used a superscripted "+", so that we
+% know whether to include a LaTeX macro for it.
+%
+% format.lab.names(s) ==
+% BEGIN
+% numnames := num.names$(s)
+% if numnames > 1 then
+% if numnames > 4 then
+% namesleft := 3
+% else
+% namesleft := numnames
+% nameptr := 1
+% nameresult := ""
+% while namesleft > 0
+% do
+% if (name_ptr = numnames) and
+% format.name$(s, nameptr, "{ff }{vv }{ll}{ jj}") = "others"
+% then nameresult := nameresult * "{\etalchar{+}}"
+% et.al.char.used := true
+% else nameresult := nameresult *
+% format.name$(s, nameptr, "{v{}}{l{}}")
+% nameptr := nameptr + 1
+% namesleft := namesleft - 1
+% od
+% if numnames > 4 then
+% nameresult := nameresult * "{\etalchar{+}}"
+% et.al.char.used := true
+% else
+% t := format.name$(s, 1, "{v{}}{l{}}")
+% if text.length$(t) < 2 then % there's just one name-token
+% nameresult := text.prefix$(format.name$(s,1,"{ll}"),3)
+% else
+% nameresult := t
+% fi
+% fi
+% return nameresult
+% END
+%
+% Exactly what fields we look at in constructing the primary part of the label
+% depends on the entry type; this selectivity (as opposed to, say, always
+% looking at author, then editor, then key) helps ensure that "ignored" fields,
+% as described in the LaTeX book, really are ignored. Note that MISC is part
+% of the deepest `else' clause in the nested part of calc.label; thus, any
+% unrecognized entry type in the database is handled correctly.
+%
+% There is one auxiliary function for each of the four different sequences of
+% fields we use. The first of these functions looks at the author field, and
+% then, if necessary, the key field. The other three functions, which might
+% look at two fields and the key field, are similar, except that the key field
+% takes precedence over the organization field (for labels---not for sorting).
+%
+% The calc.label function calculates the preliminary label of an entry, which
+% is formed by taking three letters of information from the author or editor or
+% key or organization field (depending on the entry type and on what's empty,
+% but ignoring a leading "The " in the organization), and appending the last
+% two characters (digits) of the year. It is an error if the appropriate fields
+% among author, editor, organization, and key are missing, and we use
+% the first three letters of the cite$ in desperation when this happens.
+% The resulting label has the year part, but not the name part, purify$ed
+% (purify$ing the year allows some sorting shenanigans by the user).
+%
+% This function also calculates the version of the label to be used in sorting.
+%
+% The final label may need a trailing 'a', 'b', etc., to distinguish it from
+% otherwise identical labels, but we can't calculated those "extra.label"s
+% until after sorting.
+%
+% calc.label ==
+% BEGIN
+% if type$ = "book" or "inbook" then
+% author.editor.key.label
+% else if type$ = "proceedings" then
+% editor.key.organization.label
+% else if type$ = "manual" then
+% author.key.organization.label
+% else
+% author.key.label
+% fi fi fi
+% label := label * substring$(purify$(field.or.null(year)), -1, 2)
+% % assuming we will also sort, we calculate a sort.label
+% sort.label := sortify(label), but use the last four, not two, digits
+% END
+
+#if LAB_ALPH
+
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+#if SORTED
+ { cite$ #1 #3 substring$ }
+#else !SORTED % need warning here because we won't give it later
+ { "for label, need author or key in " cite$ * warning$
+ cite$ #1 #3 substring$
+ }
+#endif SORTED
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+#if SORTED
+ { cite$ #1 #3 substring$ }
+#else !SORTED % need warning here because we won't give it later
+ { "for label, need author, editor, or key in " cite$ * warning$
+ cite$ #1 #3 substring$
+ }
+#endif SORTED
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+#if SORTED
+ { cite$ #1 #3 substring$ }
+#else !SORTED % need warning here because we won't give it later
+ { "for label, need author, key, or organization in " cite$ *
+ warning$
+ cite$ #1 #3 substring$
+ }
+#endif SORTED
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+#if SORTED
+ { cite$ #1 #3 substring$ }
+#else !SORTED % need warning here because we won't give it later
+ { "for label, need editor, key, or organization in " cite$ *
+ warning$
+ cite$ #1 #3 substring$
+ }
+#endif SORTED
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ year field.or.null purify$ #-1 #2 substring$
+ *
+ 'label :=
+ year field.or.null purify$ #-1 #4 substring$
+ *
+ sortify 'sort.label :=
+}
+
+% It doesn't seem like a particularly good idea to use an order-of-citation
+% reference list when using alphabetic labels, but we need to have a
+% special pass to calculate labels when this happens.
+
+#if !SORTED
+
+ITERATE {calc.label}
+
+#endif !SORTED
+
+#endif LAB_ALPH
+
+% When sorting, we compute the sortkey by executing "presort" on each entry.
+% The presort key contains a number of "sortify"ed strings, concatenated
+% with multiple blanks between them. This makes things like "brinch per"
+% come before "brinch hansen per".
+%
+% The fields used here are: the sort.label for alphabetic labels (as set by
+% calc.label), followed by the author names (or editor names or organization
+% (with a leading "The " removed) or key field, depending on entry type and on
+% what's empty), followed by year, followed by the first bit of the title
+% (chopping off a leading "The ", "A ", or "An ").
+% Names are formatted: Von Last First Junior.
+% The names within a part will be separated by a single blank
+% (such as "brinch hansen"), two will separate the name parts themselves
+% (except the von and last), three will separate the names,
+% four will separate the names from year (and from label, if alphabetic),
+% and four will separate year from title.
+%
+% The sort.format.names function takes an argument that should be in
+% BibTeX name format, and returns a string containing " "-separated
+% names in the format described above. The function is almost the same
+% as format.names.
+
+#if SORTED
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+#if NAME_FULL
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+#else
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't :=
+#endif NAME_FULL
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+% The sort.format.title function returns the argument,
+% but first any leading "A "'s, "An "'s, or "The "'s are removed.
+% The chop.word function uses s, so we need another string variable, t
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+% The auxiliary functions here, for the presort function, are analogous to
+% the ones for calc.label; the same comments apply, except that the
+% organization field takes precedence here over the key field. For sorting
+% purposes, we still remove a leading "The " from the organization field.
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+% There is a limit, entry.max$, on the length of an entry string variable
+% (which is what its sort.key$ is), so we take at most that many characters
+% of the constructed key, and hope there aren't many references that match
+% to that many characters!
+
+FUNCTION {presort}
+#if LAB_ALPH
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+#else !LAB_ALPH
+{ type$ "book" =
+#endif LAB_ALPH
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+#if LAB_ALPH
+ *
+#endif LAB_ALPH
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+% And now we can sort
+
+SORT
+
+#endif SORTED
+
+% This long comment applies only to alphabetic labels, when sorted
+%
+% Now comes the final computation for alphabetic labels, putting in the 'a's
+% and 'b's and so forth if required. This involves two passes: a forward
+% pass to put in the 'b's, 'c's and so on, and a backwards pass
+% to put in the 'a's (we don't want to put in 'a's unless we know there
+% are 'b's).
+% We have to keep track of the longest (in width$ terms) label, for use
+% by the "thebibliography" environment.
+%
+% VAR: longest.label, last.sort.label, next.extra: string
+% longest.label.width, last.extra.num: integer
+%
+% initialize.longest.label ==
+% BEGIN
+% longest.label := ""
+% last.sort.label := int.to.chr$(0)
+% next.extra := ""
+% longest.label.width := 0
+% last.extra.num := 0
+% END
+%
+% forward.pass ==
+% BEGIN
+% if last.sort.label = sort.label then
+% last.extra.num := last.extra.num + 1
+% extra.label := int.to.chr$(last.extra.num)
+% else
+% last.extra.num := chr.to.int$("a")
+% extra.label := ""
+% last.sort.label := sort.label
+% fi
+% END
+%
+% reverse.pass ==
+% BEGIN
+% if next.extra = "b" then
+% extra.label := "a"
+% fi
+% label := label * extra.label
+% if width$(label) > longest.label.width then
+% longest.label := label
+% longest.label.width := width$(label)
+% fi
+% next.extra := extra.label
+% END
+
+#if LAB_ALPH
+
+#if SORTED
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+#else !SORTED
+
+% It still doesn't seem like a good idea to use an order-of-citation
+% reference list when using alphabetic labels, but when this happens we
+% must compute the longest label
+
+STRINGS { longest.label }
+
+INTEGERS { longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+#endif SORTED
+
+#else !LAB_ALPH
+
+% Now comes the computation for numeric labels.
+% We use either the sorted order or original order.
+% We still have to keep track of the longest (in width$ terms) label, for use
+% by the "thebibliography" environment.
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+#endif LAB_ALPH
+
+% Now we're ready to start writing the .BBL file.
+% We begin, if necessary, with a LaTeX macro for unnamed names in an alphabetic
+% label; next comes stuff from the `preamble' command in the database files.
+% Then we give an incantation containing the command
+% \begin{thebibliography}{...}
+% where the `...' is the longest label.
+%
+% We also call init.state.consts, for use by the output routines.
+%
+% At first a TeX definition is output, that makes user commands able to
+% distinguish between a ``full'' and an ``abbreviated'' style (H2B).
+
+FUNCTION {begin.bib}
+{
+#if MONTH_FULL
+ "\newif\ifabfull\abfulltrue" write$ newline$
+#else
+ "\newif\ifabfull\abfullfalse" write$ newline$
+#endif
+#if LAB_ALPH
+ et.al.char.used
+ { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+ 'skip$
+ if$
+#endif LAB_ALPH
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+% Now we produce the output for all the entries
+
+ITERATE {call.type$}
+
+% Finally, we finish up by writing the `\end{thebibliography}' command.
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/abstyles/docmac.doc b/biblio/bibtex/contrib/abstyles/docmac.doc
new file mode 100644
index 0000000000..9327e67279
--- /dev/null
+++ b/biblio/bibtex/contrib/abstyles/docmac.doc
@@ -0,0 +1,778 @@
+% This is DOCMAC.DOC, Release 1 of 12 Aug 1991.
+%---------------------------------------------------------
+% This macro package is based on PROGDOC.DOC, which is
+% (c) 1988 by J.Schrod. Put into the public domain.
+% It is enhanced by incorporating some macros from WEBMAC.TEX to deal with
+% header lines and a table of contents and offers some additional typesetting
+% capabilities. The enhancements and changes are done by
+% Hans-Hermann Bode (HHBODE@DOSUNI1.BITNET).
+
+%
+% Macro package for the documentation of programs (and TeX macros)
+% english version
+%
+
+% Version of the basic PROGDOC.DOC:
+% first version (for ftp/Bitnet) (88-12-05)
+%
+% Release history of DOCMAC.DOC:
+%
+% Rel. Date Author Comment
+% 1 12 Aug 1991 H2B First change file to PROGDOC.DOC.
+%
+
+
+
+% documented with itself...
+\input docmac
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% local macros
+%
+
+\font\mc=cmr9 % for names like ASCII
+
+\def\title{DOCMAC}
+
+
+\def\topofcontents{\null\vfill
+ \centerline{\titlefont\title}
+ \bigskip
+ \centerline{Joachim Schrod}
+ \medskip
+ \centerline{Hans-Hermann Bode}
+ \vfill}
+
+\def\botofcontents{\vfill
+ The macro package and the documentation was written initially by J.~Schrod
+ under the name \.{progdoc}. H.-H.~Bode enhanced the package with some stuff
+ from \.{webmac} and completed the documentation with material from the
+ ``\.{WEB} User Manual''; this makes up the chapter on
+ ``Formatting''---besides some minor changes in the remainder.
+ \par}
+
+\def\WEB{{\tt WEB\/}}
+\def\LaTeX{{\rm L\kern-.36em\raise.3ex\hbox{\sc a}\kern-.15em\TeX}}
+
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+
+
+\chap Introduction.
+
+\WEB{} systems allow the documentation of programs by supporting the
+separation in program fragments which can be collected and rearranged
+afterwards. This allows {\it top-down\/} programming as well as the
+{\it bottom-up\/} design of programs. Each program fragment can be
+documented, usually with \TeX{}. A disadvantadge is that \WEB{}
+actually exists only for a few programming languages (Pascal, C,
+Modula-2). Besides, building up \WEB{} systems for ``exotic''
+programming languages like \TeX{} is very difficult.
+
+This macro package was built to allow good documentation for programs
+in languages for which \WEB{} doesn't exist. It separates a program
+text in sections that can be documented. All sections, collected
+sequentially, will result in the complete program. In every section
+begin and end of the program part are marked with |\beginprog| and
+|\endprog|, this program part will be formatted as it is input
+(``verbatim'').
+
+The separation of the sections is done in this version (which is based
+on Plain~\TeX{}) by the macros |\chap| and |\sect|. But this can be
+changed easily, e.g.\ for preparing the documentation with \LaTeX{}.
+Then the last section group of this macro package must be omitted and
+the rest must be realized as a style option.
+
+In the documentation part of a section text pieces, e.g.\ names of
+variables, can be inserted verbatim to demonstrate the connection to
+the program text. These parts are included in vertical bars
+(`{\tt\vbar}') while the vertical bar itself can be obtained by
+|\origvert|.
+
+This macro package does not offer the creation of an index because it is not
+known which syntactical tokens the language has that should be mentioned in
+an index. If you want a table of contents, just say |\contentspage| at the
+end of your document (you need not put a |\bye| after that, |\contentspage|
+does this for you). Some remarks about future enhancements which should be
+done urgently are set in slanted type.
+
+
+\sect We have to realize three parts: (1)~the formatting of rather
+small verbatim texts in a line, (2)~the formatting of larger parts of
+program and (3)~the document structuring elements for the separation
+of the sections. Before we start we declare some shorthands for
+category codes.
+
+By declaring the at sign~(`|@|') as well as the underscore~`(|_|)' as
+letters we can use them in our macros.
+{\tolerance=10000
+(I agree with D.~Knuth that |\identifier_several_words_long| is much
+better readable than |\IdentifierSeveralWordsLong| and both are better
+than |\pr@@@s|.)
+With the at sign we can use the ``private'' Plain macros and with the
+underscore we can make our own macros more readable. But as we have
+to restore these category codes at the end of this macro file we store
+their former values in the control sequences |\atcode| and |\uscode|.
+This method is better than the usage of a group because not all macros
+have to be defined global this way.
+\par}
+
+\beginprog
+\chardef\escape=0
+\chardef\letter=11
+\chardef\other=12
+%\chardef\active=13 % is defined in Plain already
+
+\chardef\atcode=\catcode`\@
+\chardef\uscode=\catcode`\_
+
+\catcode`\@=\letter
+\catcode`\_=\letter
+\endprog
+
+
+
+
+\chap Local Verbatim Formatting.
+
+The main point of every verbatim formatting is the switching of the
+character codes of all characters that have a special \TeX{} meaning.
+This can be done with the control sequence |\dospecials| that applies
+the control sequence |\do| to all special characters. Additionally,
+every line is regarded as a paragraph without indentation. Between
+two paragraphs, i.e.\ between two lines, no extra space is set.
+Finally all blanks and tabular characters shall be obeyed and the
+inter word space after sentence terminators shall not be enlarged.
+The activation of the tabular characters with |\obeytabs| is
+equivalent to |\obeyspaces| in {\tt plain.tex\/}.
+
+Verbatim texts are set in monospace, we use (like in \WEB{}) the
+character set with the extended {\mc ASCII}. For \LaTeX{} we would
+have to add here |\ttex| to all size modifications like |\xpt|,
+|\xiipt|, etc.
+
+\beginprog
+\font\tentex=cmtex10 % typewriter extended ASCII 10pt
+\let\ttex=\tentex % only for PLAIN with base size 10pt
+
+\def\setup_verbatim{%
+ \def\do##1{\catcode`##1\other}\dospecials
+ \parskip\z@skip \parindent\z@
+ \obeylines \obeyspaces \obeytabs \frenchspacing
+ \ttex
+ }
+
+\let\tab=\space
+\begingroup
+ \catcode`\^^I=\active% % Attention: no tabs!
+ \gdef\obeytabs{\catcode`\^^I=\active\def^^I{\tab}}
+ \global\let^^I=\tab% % if an active tab appears in a \write
+\endgroup
+\endprog
+
+\sect After having saved the old meaning of `{\tt\vbar}' in
+|\origvert| and after declaring |\vbar| as a synonym for the character
+that has the code of a vertical bar in the actual font, the vertical
+bar can be made active. Then we call |\setup_verbatim|. But the
+newline characters shall not be processed, they shall be regarded like
+blank space. This can be reached by defining |\par| as |\space|.
+
+The next vertical bar in the input closes the group which becomes an
+(unbreakable) |\hbox| then. The old meanings of the special
+characters and of the vertical bar are restored and \TeX{} is in
+normal (horizontal) mode again.
+
+\beginprog
+\let\origvert=|
+\chardef\vbar=`\|
+
+\catcode`\|=\active
+
+\def|{%
+ \leavevmode
+ \hbox\bgroup
+ \let\par\space \setup_verbatim
+ \let|\egroup
+ }
+\endprog
+
+
+
+
+\chap Program Fragments in Verbatim.
+
+We need macros to format the program fragments without any
+linebreaking. Such a text area shall start with the macro
+|\beginprog| and end with |\endprog|. The macro |\endprog| must stand
+at the very beginning of a line and must be followed by white space
+(blank, tab or newline character). After |\beginprog| as well as
+after |\endprog| the rest of the line is ignored.
+
+Two demands must be regarded: There should be no length restrictions
+for the processed text, and the tabular characters should be expanded
+so that this macro works on PC's and on VAXes, too.
+
+
+\sect The implementation method is quite simple: We read the next
+line, test, wether the end is reached (by comparing with |\endprog|)
+and otherwise set the character actually read. Every character is
+inspected and tabular characters are expanded.
+
+Wether a line is set or wether the end of the processed area is
+reached is indicated by the switch |\if@print|. At the beginning of
+the |\beginprog| macro most settings are done with |\setup_verbatim|
+(the vertical bar must be handled separately) and the rest of the line
+is ignored. As everything is done within a group, the end of the
+verbatim text can be processed by simply closing this group.
+
+For the user it looks as if |\endprog| terminates the processing, but
+it just serves for the identification of the end, the true processing
+is done with the internal macro |\end_verbatim|.
+
+\beginprog
+\newif\if@print
+
+\def\beginprog{%
+ \endgraf
+ \bigbreak
+ \begingroup
+ \setup_verbatim \catcode`\|\other
+ \@printtrue
+ \ignore_rest_line
+ }
+\let\end_verbatim=\endgroup % internal command !
+\endprog
+
+
+\sect The first line is ignored, all the other lines are identified
+with |\set_next_line| and processed with |\do_set|. This separation
+in identification and processing allows that the line end character is
+active in the definition only for a short time.
+
+When a line is to be formatted, we first check with |\check_print|
+wether it contains |\endprog|, otherwise it is printed with
+|\print_char|. The printing must be done for every character
+individually because we want to check for tabular characters; the
+exact algorithm is described below. Here we just have to note that
+|\print_char| is used with two parameters of which the second one is
+finished with the token |\end_line|. The first parameter is the first
+character of the line, the second parameter is the rest of the line.
+If the line is empty, the argument of |\do_set| is empty, too; so the
+activation of |\print_char| must be finished with two |\end_line|.
+Then the first |\end_line| is the first argument for |\print_char| and
+the second argument is empty. But if the line did contain something,
+the second |\end_line| is evaluated, for this case it is defined as
+|\relax|.
+
+At last we call |\set_next_line| again to format the next line. If
+the end is reached, i.e.\ if a line with |\endprog| was found,
+|\set_next_line| is redefined as |\relax|. This can be done because
+the original meaning is restored while closing the group with
+|\end_verbatim|.
+
+\beginprog
+\begingroup
+ \obeylines% % ^^M is active! ==> every line must end with %
+ \gdef\ignore_rest_line#1^^M{\set_next_line}%
+ \gdef\set_next_line#1^^M{\do_set{#1}}%
+\endgroup
+
+\def\do_set#1{%
+ \endgraf
+ \check_print{#1}%
+ \if@print \indent \print_char#1\end_line\end_line
+ \else \let\set_next_line\end_verbatim
+ \fi
+ \set_next_line
+ }
+\let\end_line=\relax
+\endprog
+
+
+\sect Before we look at the problem of formatting a line, we declare
+|\check_print| that checks the end of the verbatim mode. We have to
+do two things: we must split everything in front of the first blank
+or tabular character and compare for identity with |\endprog|. The
+splitting is easy because the line which is our first argument
+contains blanks and tabulators as active characters. First we call
+|\cut_at_tab| that demands a tabular character as separator for its
+two pramenters so that everything in the line in front of the first
+tabulator is part of the first parameter. If there is no tabular
+character in the line, we append one so that the second parameter is
+empty. The same trick is used to separate the part in front of the
+first blank character from the resulting first part.
+
+The check is done with |\do_check|. We use a separate macro here so
+that we can indent it (in the following definition blanks are active!)
+
+\beginprog
+\begingroup
+\obeyspaces\obeytabs
+\gdef\check_print#1{\cut_at_tab#1^^I\end_line}
+\gdef\cut_at_tab#1^^I#2\end_line{\check_first_part#1 \end_line}% blank !
+\gdef\check_first_part#1 #2\end_line{\do_check{#1}}
+\endgroup
+\endprog
+
+
+\sect |\do_check| compares the line with a sample line that is
+available in |\@endverbatim|. During the definition of
+|\@endverbatim| it must be cared for that the escape character `|\|'
+is a printable character: A comparison with |\ifx| demands identical
+category codes. As a temporary escape character we use the vertical
+bar.
+
+\beginprog
+\def\do_check#1{%
+ \def\@line{#1}%
+ \ifx \@line\@endverbatim \@printfalse
+ \fi
+ }
+
+{\catcode`\|=\escape \catcode`\\=\other % | is temporary escape char
+ |gdef|@endverbatim{\endprog} % sample line
+} % here \endgroup can't be used
+\endprog
+
+
+\sect Now we can set a line: we start with the first character,
+followed by the rest of the line. Each character is counted in
+|\char_count|. At the beginning of a line |\char_count| is~1, this
+is reset at the end of the line.
+
+\goodbreak
+
+\beginprog
+\newcount\char_count \char_count\@ne
+
+\def\print_char#1#2\end_line{%
+ \print_first_char{#1}%
+ \print_rest_of_line{#2}%
+ }
+\endprog
+
+
+\sect For each character that is set |\char_count| is incremented.
+If a character is a tabulator, we set with |\print_tab| the fitting
+amount of blank characters, otherwise the character itself. We must
+compare the character that is stored in |\@char| with a macro of which
+the ``first-level'' expansion is an active tabulator. For this case
+we declare |\@tab|.
+
+\beginprog
+{\obeytabs\gdef\@tab{^^I}}
+
+\def\print_first_char#1{%
+ \def\@char{#1}%
+ \advance \char_count\@ne
+ \ifx \@char\@tab \print_tab
+ \else \@char
+ \fi
+ }
+\endprog
+
+
+\sect If we want to fill the line with blank spaces up to the next
+column with a number that can be divided by~8, we must be able to
+compute the column number modulo~8, but \TeX{} has no modulo operator.
+So we define the macro |\mod_viii| that computes its argument modulo~8
+and returns the result in the counter |\count_mod_viii|. For the
+computation we need the temporary counter |\count@|.
+
+\beginprog
+\newcount\count_mod_viii
+\def\mod_viii#1{%
+ \count@ #1\relax \count_mod_viii\count@
+ \divide \count@ 8\relax
+ \multiply \count@ 8\relax
+ \advance \count_mod_viii -\count@
+ }
+\endprog
+
+
+\sect Now we can declare |\print_tab|. We must remember that
+|\char_count| was incremented already, if we set only one blank
+character the counter keeps untouched.
+
+\beginprog
+\def\print_tab{%
+ \loop \space \mod_viii\char_count
+ \ifnum \count_mod_viii>\z@
+ \advance \char_count\@ne
+ \repeat
+ }
+\endprog
+
+
+\sect If the rest of the line is empty, we are ready. |\char_count|
+is reset to~1 for the next line.
+
+Inside the |\else| part of |\ifx| |\print_char| should not be used
+directly because this costs too much storage of \TeX{}. Instead we
+set a control sequence |\next| that is processed afterwards, depending
+on the result of the comparison. If there is still something to set,
+we use |\print_char| again, otherwise a syntactically similar macro
+that expands to |\relax|.
+
+\beginprog
+\def\print_rest_of_line#1{%
+ \def\@line{#1}%
+ \ifx \@line\empty \char_count\@ne
+ \def\next##1\end_line{\relax}%
+ \else \let\next\print_char
+ \fi
+ \next#1\end_line
+ }
+\endprog
+
+
+
+
+\chap Document Structuring.
+
+The layout of the document shall be like in \WEB{}. This can be done
+easily in Plain. If \LaTeX{} shall be used for the document
+preparation, this part of the macro must be eliminated. It will also
+be better to include the program parts \LaTeX-like as an environment
+between |\begin{prog}| and |\end{prog}| and to define control
+sequences |\makebaractive| and |\makebarother| for the switch of the
+special meaning of the vertical bar (`{\tt \origvert\/}') (for the
+{\tt tabular\/} environment!)
+
+All sections are enumerated, the number of the next section is stored
+in the counter |\sectno|. We differenciate between main sections
+which start a group of sections and between normal sections within a
+group.
+
+\beginprog
+\newcount\sectno \sectno=\@ne
+\endprog
+
+
+\sect The main sections are started with the macro |\chap| that has
+one parameter, the title of the section group. This parameter must be
+terminated by a dot. We start a new page, typeset the title in bold
+face and separate it from the section text with a |\medskip|. This
+text, the documentation part of the section, is formatted without
+paragraph indentation.
+
+The deletion of the paragraph indentation is done with |\everypar|.
+We do not care if |\everypar| is used for something else and delete it
+after usage.
+
+The section number is marked to appear {\it via\/} |\topmark| in the
+headline, the title goes as a running head into the headline too. The
+section number is displayed on the terminal as a progress report, and title,
+section and page number are recorded in the contents file.
+
+\begingroup \sl
+The dealing with |\everypar| should not be so cruel.
+\endgroup
+
+\beginprog
+\def\chap#1.{%
+ \mark{\number\sectno}
+ \endgraf
+ \vfill\eject
+ \def\rhead{\uppercase{\ignorespaces#1}} % define running headline
+ \message{*\number\sectno} % progress report
+ \let\Z=\let % now you can \send the control sequence \Z
+ \edef\next{\write\cont{\Z{#1}{\number\sectno}{\the\pageno}}}\next % to contents file
+ \noindent {\bf \number\sectno.\quad #1.}%
+ \advance \sectno\@ne
+ \endgraf
+ \medskip \nobreak
+ \everypar{%
+ \setbox0\lastbox
+ \global\everypar{}%
+ }%
+ }
+\endprog
+
+
+\sect Normal sections are started with |\sect|. This macro has no
+parameter. Between two paragraphs we set 2~pica space (if possible)
+and prefer the page breaking. Between the section number and the text
+one quad of space is set.
+
+\begingroup \sl
+The page break manipulation could be more sophisticated.
+\endgroup
+
+\beginprog
+\def\sect{%
+ \mark{\number\sectno}
+ \endgraf
+ \vskip 2pc plus 1pc minus 6dd \goodbreak
+ \noindent {\bf \number\sectno.}\advance \sectno\@ne
+ \quad \ignorespaces
+ }
+\endprog
+
+
+\chap Formatting.
+The macros in this chapter are extracted from \.{WEBMAC.TEX}, while most of
+the documentation is taken from Appendix~G of the ``\.{WEB} User Manual''.
+The macros in \.{docmac} make it possible to produce a variety of formats,
+and the purpose of this appendix is to explain some of the possibilities.
+Displayed examples, that are included in the documentation, come out centered
+to distinguish them from program text, which is flushleft.
+
+\def\lpile{\def\cr{\hfill\endline}\matrix} % I [D E Knuth] only use \lpile by itself
+
+\sect We begin the formatting part with some declarations that should make
+look the output a little better for documenting programs.
+
+\beginprog
+\parskip 0pt % no stretch between paragraphs
+\parindent 1em % for paragraphs and for the first line of Pascal text
+\endprog
+
+\sect Three fonts have been declared in addition to the standard fonts of
+\.{PLAIN} format: You can say `\.{\{\\sc stuff\}}' to get {\sc stuff}
+in small caps; and you can select the largish fonts \.{\\titlefont}
+and \.{\\ttitlefont} in the title of your document, where \.{\\ttitlefont}
+is a typewriter style of type.
+
+\beginprog
+\font\eightrm=cmr8
+\font\sc=cmcsc10 % this IS a caps-and-small-caps font!
+\let\mainfont=\tenrm
+\font\titlefont=cmr7 scaled\magstep4 % title on the contents page
+\font\ttitlefont=cmtt10 scaled\magstep2 % typewriter type in title
+%\font\tentex=cmtex10 % TeX extended character set (used in strings)
+ % already defined above
+\fontdimen7\tentex=0pt % no extra space after punctuation
+\endprog
+
+\sect You can say `\.{\\\\\{identifier\}}' to set \\{identifier} in
+italics.
+
+To get typewriter-like type, as when referring to `\.{WEB}', you
+can use the `\.{\\.}' macro (e.g., `\.{\\.\{WEB\}}'). In the argument to
+this macro you should insert an additional backslash before the symbols
+listed below, i.e.,
+before backslashes and dollar signs and the like.
+A `\.{\\\ }' here will result in the visible space symbol; to get an
+invisible space following a control sequence you can say `\.{\{\ \}}'.
+
+\beginprog
+\def\\#1{\hbox{\it#1\/\kern.05em}} % italic type for identifiers
+\def\|#1{\hbox{$#1$}} % one-letter identifiers look a bit better this way
+\def\&#1{\hbox{\bf#1\/}} % boldface type for reserved words
+\def\.#1{\hbox{\tentex % typewriter type for strings
+ \let\\=\BS % backslash in a string
+ \let\'=\RQ % right quote in a string
+ \let\`=\LQ % left quote in a string
+ \let\{=\LB % left brace in a string
+ \let\}=\RB % right brace in a string
+ \let\~=\TL % tilde in a string
+ \let\ =\SP % space in a string
+ \let\_=\UL % underline in a string
+ \let\&=\AM % ampersand in a string
+ #1}}
+\def\#{\hbox{\tt\char`\#}} % parameter sign
+\def\${\hbox{\tt\char`\$}} % dollar sign
+\def\%{\hbox{\tt\char`\%}} % percent sign
+\def\^{\ifmmode\mathchar"222 \else\char`^ \fi} % pointer or hat
+% circumflex accents can be obtained from \^^D instead of \^
+\def\AT!{@} % at sign for control text
+
+\chardef\AM=`\& % ampersand character in a string
+\chardef\BS=`\\ % backslash in a string
+\chardef\LB=`\{ % left brace in a string
+\def\LQ{{\tt\char'22}} % left quote in a string
+\chardef\RB=`\} % right brace in a string
+\def\RQ{{\tt\char'23}} % right quote in a string
+\def\SP{{\tt\char`\ }} % (visible) space in a string
+\chardef\TL=`\~ % tilde in a string
+\chardef\UL=`\_ % underline character in a string
+\endprog
+
+\sect The three control sequences \.{\\pagewidth}, \.{\\pageheight},
+and \.{\\fullpageheight} can be redefined in the limbo section at the
+beginning of your source file, to change the dimensions of each page.
+The standard settings
+$$\lpile{\.{\\pagewidth=6.5in}\cr
+ \.{\\pageheight=8.7in}\cr
+ \.{\\fullpageheight=9in}\cr}$$
+were used to prepare the present report; \.{\\fullpageheight} is
+\.{\\pageheight} plus room for the additional heading and page numbers at
+the top of each page. If you change any of these quantities, you should
+call the macro \.{\\setpage} immediately after making the change.
+
+The \.{\\pageshift} macro defines an amount by which right-hand
+pages (i.e., odd-numbered pages) are shifted right with respect to
+left-hand (even-numbered) ones. By adjusting this amount you may be
+able to get two-sided output in which the page numbers line up on
+opposite sides of each sheet.
+
+\beginprog
+\newdimen\pagewidth \pagewidth=6.5in % the width of each page
+\newdimen\pageheight \pageheight=8.7in % the height of each page
+\newdimen\fullpageheight \fullpageheight=9in % page height including headlines
+\newdimen\pageshift \pageshift=0in % shift righthand pages wrt lefthand ones
+\def\magnify#1{\mag=#1\pagewidth=6.5truein\pageheight=8.7truein
+ \fullpageheight=9truein\setpage}
+\def\setpage{\hsize\pagewidth\vsize\pageheight} % use after changing page size
+\endprog
+
+\sect The \.{\\title} macro will appear at the top of each page
+in small caps. For example, this document was produced after saying
+`\.{\\def\\title\{DOCMAC\}}'.
+
+\beginprog
+\def\lheader{\mainfont\the\pageno\eightrm\qquad\rhead\hfill\title\qquad
+ \tensy x\mainfont\topmark} % top line on left-hand pages
+\def\rheader{\tensy x\mainfont\topmark\eightrm\qquad\title\hfill\rhead
+ \qquad\mainfont\the\pageno} % top line on right-hand pages
+\def\page{\box255 }
+\def\normaloutput#1#2#3{\ifodd\pageno\hoffset=\pageshift\fi
+ \shipout\vbox{
+ \vbox to\fullpageheight{
+ \iftitle\global\titlefalse
+ \else\hbox to\pagewidth{\vbox to10pt{}\ifodd\pageno #3\else#2\fi}\fi
+ \vfill#1}} % parameter #1 is the page itself
+ \global\advance\pageno by1}
+
+\def\rhead{\.{DOCMAC} OUTPUT} % this running head is reset by starred sections
+\def\title{} % an optional title can be set by the user
+\endprog
+
+\sect The first page usually is assigned page number 1.
+To start on page 16, with contents
+on page 15, say this: `\.{\\def\\contentspagenumber\{15\}}
+\.{\\pageno=\\contentspagenumber} \.{\\advance\\pageno by 1}'.
+
+\beginprog
+\def\contentspagenumber{0} % default page number for table of contents
+\endprog
+
+\sect The macro \.{\\iftitle} will suppress the header line if it is
+defined by `\.{\\titletrue}'. The normal value is \.{\\titlefalse}
+except for the table of contents; thus, the contents
+page is usually unnumbered.
+
+Two macros are provided to give flexibility to the table of
+contents: \.{\\topofcontents} is invoked just before the contents
+info is read, and \.{\\botofcontents} is invoked just after.
+For example, you can define:
+$$\lpile{\.{\\def\\topofcontents\{\\null\\vfill}\cr
+ \.{ { }\\titlefalse \% include headline on the contents page}\cr
+ \.{ { }\\def\\rheader\{\\mainfont Appendix D\\hfil 15\}}\cr
+ \.{ { }\\centerline\{\\titlefont The \{\\ttitlefont WEAVE\}{ }processor\}}\cr
+ \.{ { }\\vskip 15pt \\centerline\{(Version 4)\}{ }\\vfill\}}\cr}$$
+Redefining \.{\\rheader}, which is the headline for right-hand pages,
+suffices in this case to put the desired information at the top of the
+contents page.
+
+\beginprog
+\newif\iftitle
+
+\def\topofcontents{\centerline{\titlefont\title}
+ \vfill} % this material will start the table of contents page
+\def\botofcontents{\vfill} % this material will end the table of contents page
+\endprog
+
+\sect Data for the table of contents is written to a file that
+is read when |\contentspage| is called; there's one line of data
+for every starred module. For example, when this document was being created, a
+file \.{DOCMAC.TOC} containing
+$$\lpile{\.{\\Z \{{ }Introduction\}\{1\}\{1\}}\cr
+ \.{\\Z \{{ }Local Verbatim Formatting\}\{3\}\{2\}}\cr}$$
+and similar lines was created. The \.{\\topofcontents} macro could
+redefine \.{\\Z} so that the information appears in another format.
+
+\beginprog
+\def\contentsfile{\jobname.toc} % file that gets table of contents info
+\def\readcontents{\expandafter\input \contentsfile}
+
+\newwrite\cont
+\output{\setbox0=\page % the first page is garbage
+ \openout\cont=\contentsfile
+ \global\output{\normaloutput\page\lheader\rheader}}
+\setpage
+\vbox to \vsize{} % the first \topmark won't be null
+
+\def\con{%
+ \write\cont{} % ensure that the contents file isn't empty
+ \closeout\cont % the contents information has been fully gathered
+ \par\vfill\eject % finish the preceding page
+ \rightskip 0pt \hyphenpenalty 50 \tolerance 200
+ \setpage
+ \output{\normaloutput\page\lheader\rheader}
+ \titletrue % prepare to output the table of contents
+ \pageno=\contentspagenumber \def\rhead{TABLE OF CONTENTS}
+ \message{Table of contents:}
+ \topofcontents
+ \line{\hfil Section\hbox to3em{\hss Page}}
+ \def\Z##1##2##3{\line{\ignorespaces##1
+ \leaders\hbox to .5em{.\hfil}\hfil\ ##2\hbox to3em{\hss##3}}}
+ \readcontents\relax % read the contents info
+ \botofcontents \end} % print the contents page(s) and terminate
+\let\contentspage=\con
+\endprog
+
+\sect Sometimes it is necessary or desirable to divide the output of
+\.{docmac} into subfiles that can be processed separately. For example,
+the listing of \TeX\ runs to more than 500 pages, and that is enough to
+exceed the capacity of many printing devices and/or their software.
+When an extremely large job isn't cut into smaller pieces, the entire
+process might be spoiled by a single error of some sort, making it
+necessary to start everything over.
+
+Here's a safe way to break a docmac'ed file into three parts:
+Say the pieces are $\alpha$,
+$\beta$, and $\gamma$, where each piece begins with a starred module.
+All macros should be defined in the opening limbo section of $\alpha$,
+and copies of this \TeX\ code should be placed at the
+beginning of $\beta$ and of $\gamma$. In order to process the parts
+separately, we need to take care of two things: The starting page
+numbers of $\beta$ and $\gamma$ need to be set up properly, and
+the table of contents data from all three runs needs to be
+accumulated.
+
+The \.{docmac} macros include two control sequences \.{\\contentsfile} and
+\.{\\readcontents} that facilitate the necessary processing. We include
+`\.{\\def\\contentsfile\{CONT1\}}' in the limbo section of~$\alpha$, we
+include `\.{\\def\\contentsfile\{CONT2\}}' in the limbo section of~$\beta$,
+and we include `\.{\\def\\contentsfile\{CONT3\}}' in the limbo section
+of~$\gamma$; this causes \TeX\ to write the contents data for
+$\alpha$,~$\beta$, and~$\gamma$ into \.{CONT1.TEX}, \.{CONT2.TEX}, and
+\.{CONT3.TEX}. Now in~$\gamma$ we say $$\.{\\def\\readcontents\{\\input CONT1
+\\input CONT2 \\input CONT3\}};$$ this brings in the data from all three
+pieces, in the proper order.
+
+However, we still need to solve the page-numbering problem. One way to
+do it is to include the following in the limbo material for $\beta$:
+$$\lpile{\.{\\message\{Please type the last page number of part 1: \}}\cr
+ \.{\\read -1 to \\temp \\pageno=\\temp \\advance\\pageno by 1}\cr}$$
+Then you simply provide the necessary data when \TeX\ requests
+it; a similar construction is used at the beginning of $\gamma$.
+
+This method can, of course, be used to divide a docmac'ed file into
+any number of pieces.
+
+\sect The counter \.{\\sectno} is set to the number of the
+module being typeset.
+
+\sect We are finished and just have to restore the category codes.
+
+\beginprog
+\catcode`\@=\atcode
+\catcode`\_=\uscode
+
+\endinput
+\endprog
+
+
+
+
+
+\contentspage
+
diff --git a/biblio/bibtex/contrib/abstyles/docmac.tex b/biblio/bibtex/contrib/abstyles/docmac.tex
new file mode 100644
index 0000000000..c832c74f1c
--- /dev/null
+++ b/biblio/bibtex/contrib/abstyles/docmac.tex
@@ -0,0 +1,238 @@
+\chardef\escape=0
+\chardef\letter=11
+\chardef\other=12
+%\chardef\active=13 % is defined in Plain already
+
+\chardef\atcode=\catcode`\@
+\chardef\uscode=\catcode`\_
+
+\catcode`\@=\letter
+\catcode`\_=\letter
+\font\tentex=cmtex10 % typewriter extended ASCII 10pt
+\let\ttex=\tentex % only for PLAIN with base size 10pt
+
+\def\setup_verbatim{%
+ \def\do##1{\catcode`##1\other}\dospecials
+ \parskip\z@skip \parindent\z@
+ \obeylines \obeyspaces \obeytabs \frenchspacing
+ \ttex
+ }
+
+\let\tab=\space
+\begingroup
+ \catcode`\^^I=\active% % Attention: no tabs!
+ \gdef\obeytabs{\catcode`\^^I=\active\def^^I{\tab}}
+ \global\let^^I=\tab% % if an active tab appears in a \write
+\endgroup
+\let\origvert=|
+\chardef\vbar=`\|
+
+\catcode`\|=\active
+
+\def|{%
+ \leavevmode
+ \hbox\bgroup
+ \let\par\space \setup_verbatim
+ \let|\egroup
+ }
+\newif\if@print
+
+\def\beginprog{%
+ \endgraf
+ \bigbreak
+ \begingroup
+ \setup_verbatim \catcode`\|\other
+ \@printtrue
+ \ignore_rest_line
+ }
+\let\end_verbatim=\endgroup % internal command !
+\begingroup
+ \obeylines% % ^^M is active! ==> every line must end with %
+ \gdef\ignore_rest_line#1^^M{\set_next_line}%
+ \gdef\set_next_line#1^^M{\do_set{#1}}%
+\endgroup
+
+\def\do_set#1{%
+ \endgraf
+ \check_print{#1}%
+ \if@print \indent \print_char#1\end_line\end_line
+ \else \let\set_next_line\end_verbatim
+ \fi
+ \set_next_line
+ }
+\let\end_line=\relax
+\begingroup
+\obeyspaces\obeytabs
+\gdef\check_print#1{\cut_at_tab#1^^I\end_line}
+\gdef\cut_at_tab#1^^I#2\end_line{\check_first_part#1 \end_line}% blank !
+\gdef\check_first_part#1 #2\end_line{\do_check{#1}}
+\endgroup
+\def\do_check#1{%
+ \def\@line{#1}%
+ \ifx \@line\@endverbatim \@printfalse
+ \fi
+ }
+
+{\catcode`\|=\escape \catcode`\\=\other % | is temporary escape char
+ |gdef|@endverbatim{\endprog} % sample line
+} % here \endgroup can't be used
+\newcount\char_count \char_count\@ne
+
+\def\print_char#1#2\end_line{%
+ \print_first_char{#1}%
+ \print_rest_of_line{#2}%
+ }
+{\obeytabs\gdef\@tab{^^I}}
+
+\def\print_first_char#1{%
+ \def\@char{#1}%
+ \advance \char_count\@ne
+ \ifx \@char\@tab \print_tab
+ \else \@char
+ \fi
+ }
+\newcount\count_mod_viii
+\def\mod_viii#1{%
+ \count@ #1\relax \count_mod_viii\count@
+ \divide \count@ 8\relax
+ \multiply \count@ 8\relax
+ \advance \count_mod_viii -\count@
+ }
+\def\print_tab{%
+ \loop \space \mod_viii\char_count
+ \ifnum \count_mod_viii>\z@
+ \advance \char_count\@ne
+ \repeat
+ }
+\def\print_rest_of_line#1{%
+ \def\@line{#1}%
+ \ifx \@line\empty \char_count\@ne
+ \def\next##1\end_line{\relax}%
+ \else \let\next\print_char
+ \fi
+ \next#1\end_line
+ }
+\newcount\sectno \sectno=\@ne
+\def\chap#1.{%
+ \mark{\number\sectno}
+ \endgraf
+ \vfill\eject
+ \def\rhead{\uppercase{\ignorespaces#1}} % define running headline
+ \message{*\number\sectno} % progress report
+ \let\Z=\let % now you can \send the control sequence \Z
+ \edef\next{\write\cont{\Z{#1}{\number\sectno}{\the\pageno}}}\next % to contents file
+ \noindent {\bf \number\sectno.\quad #1.}%
+ \advance \sectno\@ne
+ \endgraf
+ \medskip \nobreak
+ \everypar{%
+ \setbox0\lastbox
+ \global\everypar{}%
+ }%
+ }
+\def\sect{%
+ \mark{\number\sectno}
+ \endgraf
+ \vskip 2pc plus 1pc minus 6dd \goodbreak
+ \noindent {\bf \number\sectno.}\advance \sectno\@ne
+ \quad \ignorespaces
+ }
+\parskip 0pt % no stretch between paragraphs
+\parindent 1em % for paragraphs and for the first line of Pascal text
+\font\eightrm=cmr8
+\font\sc=cmcsc10 % this IS a caps-and-small-caps font!
+\let\mainfont=\tenrm
+\font\titlefont=cmr7 scaled\magstep4 % title on the contents page
+\font\ttitlefont=cmtt10 scaled\magstep2 % typewriter type in title
+%\font\tentex=cmtex10 % TeX extended character set (used in strings)
+ % already defined above
+\fontdimen7\tentex=0pt % no extra space after punctuation
+\def\\#1{\hbox{\it#1\/\kern.05em}} % italic type for identifiers
+\def\|#1{\hbox{$#1$}} % one-letter identifiers look a bit better this way
+\def\&#1{\hbox{\bf#1\/}} % boldface type for reserved words
+\def\.#1{\hbox{\tentex % typewriter type for strings
+ \let\\=\BS % backslash in a string
+ \let\'=\RQ % right quote in a string
+ \let\`=\LQ % left quote in a string
+ \let\{=\LB % left brace in a string
+ \let\}=\RB % right brace in a string
+ \let\~=\TL % tilde in a string
+ \let\ =\SP % space in a string
+ \let\_=\UL % underline in a string
+ \let\&=\AM % ampersand in a string
+ #1}}
+\def\#{\hbox{\tt\char`\#}} % parameter sign
+\def\${\hbox{\tt\char`\$}} % dollar sign
+\def\%{\hbox{\tt\char`\%}} % percent sign
+\def\^{\ifmmode\mathchar"222 \else\char`^ \fi} % pointer or hat
+% circumflex accents can be obtained from \^^D instead of \^
+\def\AT!{@} % at sign for control text
+
+\chardef\AM=`\& % ampersand character in a string
+\chardef\BS=`\\ % backslash in a string
+\chardef\LB=`\{ % left brace in a string
+\def\LQ{{\tt\char'22}} % left quote in a string
+\chardef\RB=`\} % right brace in a string
+\def\RQ{{\tt\char'23}} % right quote in a string
+\def\SP{{\tt\char`\ }} % (visible) space in a string
+\chardef\TL=`\~ % tilde in a string
+\chardef\UL=`\_ % underline character in a string
+\newdimen\pagewidth \pagewidth=6.5in % the width of each page
+\newdimen\pageheight \pageheight=8.7in % the height of each page
+\newdimen\fullpageheight \fullpageheight=9in % page height including headlines
+\newdimen\pageshift \pageshift=0in % shift righthand pages wrt lefthand ones
+\def\magnify#1{\mag=#1\pagewidth=6.5truein\pageheight=8.7truein
+ \fullpageheight=9truein\setpage}
+\def\setpage{\hsize\pagewidth\vsize\pageheight} % use after changing page size
+\def\lheader{\mainfont\the\pageno\eightrm\qquad\rhead\hfill\title\qquad
+ \tensy x\mainfont\topmark} % top line on left-hand pages
+\def\rheader{\tensy x\mainfont\topmark\eightrm\qquad\title\hfill\rhead
+ \qquad\mainfont\the\pageno} % top line on right-hand pages
+\def\page{\box255 }
+\def\normaloutput#1#2#3{\ifodd\pageno\hoffset=\pageshift\fi
+ \shipout\vbox{
+ \vbox to\fullpageheight{
+ \iftitle\global\titlefalse
+ \else\hbox to\pagewidth{\vbox to10pt{}\ifodd\pageno #3\else#2\fi}\fi
+ \vfill#1}} % parameter #1 is the page itself
+ \global\advance\pageno by1}
+
+\def\rhead{\.{DOCMAC} OUTPUT} % this running head is reset by starred sections
+\def\title{} % an optional title can be set by the user
+\def\contentspagenumber{0} % default page number for table of contents
+\newif\iftitle
+
+\def\topofcontents{\centerline{\titlefont\title}
+ \vfill} % this material will start the table of contents page
+\def\botofcontents{\vfill} % this material will end the table of contents page
+\def\contentsfile{\jobname.toc} % file that gets table of contents info
+\def\readcontents{\expandafter\input \contentsfile}
+
+\newwrite\cont
+\output{\setbox0=\page % the first page is garbage
+ \openout\cont=\contentsfile
+ \global\output{\normaloutput\page\lheader\rheader}}
+\setpage
+\vbox to \vsize{} % the first \topmark won't be null
+
+\def\con{%
+ \write\cont{} % ensure that the contents file isn't empty
+ \closeout\cont % the contents information has been fully gathered
+ \par\vfill\eject % finish the preceding page
+ \rightskip 0pt \hyphenpenalty 50 \tolerance 200
+ \setpage
+ \output{\normaloutput\page\lheader\rheader}
+ \titletrue % prepare to output the table of contents
+ \pageno=\contentspagenumber \def\rhead{TABLE OF CONTENTS}
+ \message{Table of contents:}
+ \topofcontents
+ \line{\hfil Section\hbox to3em{\hss Page}}
+ \def\Z##1##2##3{\line{\ignorespaces##1
+ \leaders\hbox to .5em{.\hfil}\hfil\ ##2\hbox to3em{\hss##3}}}
+ \readcontents\relax % read the contents info
+ \botofcontents \end} % print the contents page(s) and terminate
+\let\contentspage=\con
+\catcode`\@=\atcode
+\catcode`\_=\uscode
+
+\endinput
diff --git a/biblio/bibtex/contrib/abstyles/jourabbr.bib b/biblio/bibtex/contrib/abstyles/jourabbr.bib
new file mode 100644
index 0000000000..7d6a973755
--- /dev/null
+++ b/biblio/bibtex/contrib/abstyles/jourabbr.bib
@@ -0,0 +1,75 @@
+This is JOURABBR.BIB, a BibTeX database file for the `adaptable' style
+family, written by Hans-Hermann Bode (HHBODE at DOSUNI1.BITNET). Use jourabbr
+as the first item in your \bibliography command, if journal names should be
+written out abbreviated. You may edit this file to add more STRING
+definitions for journal names or other purposes or to delete some that you
+don't need.
+
+------------------------------------------------------------------------------
+
+First of all we use a PREAMBLE command to put some stuff at the beginning
+of the bibliography. Inputting of apreambl.tex is mandatory for the
+adaptable styles and should always be done at the beginning of the preamble.
+Next, a language switch---easier to use than that in apreamble.tex---is
+defined and set appropriate, that can be used to distinguish between german
+and all other languages; the same technique may be adapted to other
+languages as well. The \sortby command is suggested in the BibTeX manual
+(where it is called \noopsort) and is helpful to force sorting of certain
+entries.
+
+Caution: It is a good idea to leave this preamble intact, unless you know
+what you are doing!
+
+@PREAMBLE{"\input apreambl "
+ # "\newif\ifger\gerfalse "
+ # "\ifnum\language=\german\gertrue\fi "
+ # "\ifnum\language=\austrian\gertrue\fi "
+ # "\def\sortby#1{}"}
+
+------------------------------------------------------------------------------
+
+The next three STRING definitions make it more convenient to distinguish
+between german and other languages. Now you can say something like
+
+ ifger # "Wird demn{\"a}chst erscheinen." # else # "To be published." # fi
+
+in the NOTE field, say, of some database entry.
+
+@STRING{ifger="{\ifger}"}
+@STRING{else="{\else}"}
+@STRING{fi="{\fi}"}
+
+------------------------------------------------------------------------------
+
+Here are the definitions of abbreviated journal names from the plain style
+family, that are lacking in the adaptable style files themselves (so you can
+use your old databases with the adaptable styles as well). Complete this
+list with strings you need for additional journal names, publishing
+companies or whatever.
+
+@STRING{acmcs="ACM Comput. Surv."}
+@STRING{acta="Acta Inf."}
+@STRING{cacm="Commun. ACM"}
+@STRING{ibmjrd="IBM J. Res. Dev."}
+@STRING{ibmsj="IBM Syst.~J."}
+@STRING{ieeese="IEEE Trans. Softw. Eng."}
+@STRING{ieeetc="IEEE Trans. Comput."}
+@STRING{ieeetcad="IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+@STRING{ipl="Inf. Process. Lett."}
+@STRING{jacm="J.~ACM"}
+@STRING{jcss="J.~Comput. Syst. Sci."}
+@STRING{scp="Sci. Comput. Programming"}
+@STRING{sicomp="SIAM J. Comput."}
+@STRING{tocs="ACM Trans. Comput. Syst."}
+@STRING{tods="ACM Trans. Database Syst."}
+@STRING{tog="ACM Trans. Gr."}
+@STRING{toms="ACM Trans. Math. Softw."}
+@STRING{toois="ACM Trans. Office Inf. Syst."}
+@STRING{toplas="ACM Trans. Prog. Lang. Syst."}
+@STRING{tcs="Theoretical Comput. Sci."}
+
+------------------------------------------------------------------------------
+
+That's it!
+
+------------------------------------------------------------------------------
diff --git a/biblio/bibtex/contrib/abstyles/jourfull.bib b/biblio/bibtex/contrib/abstyles/jourfull.bib
new file mode 100644
index 0000000000..6a1553d567
--- /dev/null
+++ b/biblio/bibtex/contrib/abstyles/jourfull.bib
@@ -0,0 +1,74 @@
+This is JOURFULL.BIB, a BibTeX database file for the `adaptable' style
+family, written by Hans-Hermann Bode (HHBODE at DOSUNI1.BITNET). Use jourfull
+as the first item in your \bibliography command, if journal names should be
+written out in full. You may edit this file to add more STRING definitions
+for journal names or other purposes or to delete some that you don't need.
+
+------------------------------------------------------------------------------
+
+First of all we use a PREAMBLE command to put some stuff at the beginning
+of the bibliography. Inputting of apreambl.tex is mandatory for the
+adaptable styles and should always be done at the beginning of the preamble.
+Next, a language switch---easier to use than that in apreamble.tex---is
+defined and set appropriate, that can be used to distinguish between german
+and all other languages; the same technique may be adapted to other
+languages as well. The \sortby command is suggested in the BibTeX manual
+(where it is called \noopsort) and is helpful to force sorting of certain
+entries.
+
+Caution: It is a good idea to leave this preamble intact, unless you know
+what you are doing!
+
+@PREAMBLE{"\input apreambl "
+ # "\newif\ifger\gerfalse "
+ # "\ifnum\language=\german\gertrue\fi "
+ # "\ifnum\language=\austrian\gertrue\fi "
+ # "\def\sortby#1{}"}
+
+------------------------------------------------------------------------------
+
+The next three STRING definitions make it more convenient to distinguish
+between german and other languages. Now you can say something like
+
+ ifger # "Wird demn{\"a}chst erscheinen." # else # "To be published." # fi
+
+in the NOTE field, say, of some database entry.
+
+@STRING{ifger="{\ifger}"}
+@STRING{else="{\else}"}
+@STRING{fi="{\fi}"}
+
+------------------------------------------------------------------------------
+
+Here are the definitions of full journal names from the plain style family,
+that are lacking in the adaptable style files themselves (so you can use
+your old databases with the adaptable styles as well). Complete this list
+with strings you need for additional journal names, publishing companies or
+whatever.
+
+@STRING{acmcs="ACM Computing Surveys"}
+@STRING{acta="Acta Informatica"}
+@STRING{cacm="Communications of the ACM"}
+@STRING{ibmjrd="IBM Journal of Research and Development"}
+@STRING{ibmsj="IBM Systems Journal"}
+@STRING{ieeese="IEEE Transactions on Software Engineering"}
+@STRING{ieeetc="IEEE Transactions on Computers"}
+@STRING{ieeetcad="IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+@STRING{ipl="Information Processing Letters"}
+@STRING{jacm="Journal of the ACM"}
+@STRING{jcss="Journal of Computer and System Sciences"}
+@STRING{scp="Science of Computer Programming"}
+@STRING{sicomp="SIAM Journal on Computing"}
+@STRING{tocs="ACM Transactions on Computer Systems"}
+@STRING{tods="ACM Transactions on Database Systems"}
+@STRING{tog="ACM Transactions on Graphics"}
+@STRING{toms="ACM Transactions on Mathematical Software"}
+@STRING{toois="ACM Transactions on Office Information Systems"}
+@STRING{toplas="ACM Transactions on Programming Languages and Systems"}
+@STRING{tcs="Theoretical Computer Science"}
+
+------------------------------------------------------------------------------
+
+That's it!
+
+------------------------------------------------------------------------------
diff --git a/biblio/bibtex/contrib/achemso b/biblio/bibtex/contrib/achemso
new file mode 120000
index 0000000000..9e7d00d268
--- /dev/null
+++ b/biblio/bibtex/contrib/achemso
@@ -0,0 +1 @@
+../../../macros/latex/contrib/achemso \ No newline at end of file
diff --git a/biblio/bibtex/contrib/acmtrans/acmtr.bib b/biblio/bibtex/contrib/acmtrans/acmtr.bib
new file mode 100644
index 0000000000..9d6d973579
--- /dev/null
+++ b/biblio/bibtex/contrib/acmtrans/acmtr.bib
@@ -0,0 +1,116 @@
+% acmtr.bib
+% $Header: acmtr.bib,v 1.3 96/01/30 14:27:43 boyland Exp $
+
+@mastersthesis{ko94,
+author = "Jacob Kornerup",
+title = "Mapping Powerlists onto Hypercubes",
+school = "The University of Texas at Austin",
+note = "(In preparation)",
+year = "1994"}
+%month = "dec",}
+
+@PhdThesis{gerndt:89,
+ author = "Michael Gerndt",
+ title = "Automatic Parallelization for Distributed-Memory
+ Multiprocessing Systems",
+ school = "University of Bonn",
+ year = 1989,
+ address = "Bonn, Germany",
+ month = dec
+}
+
+@article{6:1:1,
+author = "J. E. {Archer, Jr.} and R. Conway and F. B. Schneider",
+title = "User recovery and reversal in interactive systems",
+journal = "ACM Trans. Program. Lang. Syst.",
+volume = "6",
+number = "1",
+month = jan,
+year = 1984,
+pages = "1--19"}
+
+@article{7:1:137,
+author = "D. D. Dunlop and V. R. Basili",
+title = "Generalizing specifications for uniformly implemented loops",
+journal = "ACM Trans. Program. Lang. Syst.",
+volume = "7",
+number = "1",
+month = jan,
+year = 1985,
+pages = "137--158"}
+
+@article{7:2:183,
+author = "J. Heering and P. Klint",
+title = "Towards monolingual programming environments",
+journal = "ACM Trans. Program. Lang. Syst.",
+volume = "7",
+number = "2",
+month = apr,
+year = 1985,
+pages = "183--213"}
+
+@book{knuth:texbook,
+author = "Donald E. Knuth",
+title = "The {\TeX{}book}",
+publisher = "Addison-Wesley",
+address = "Reading, Mass.",
+year = 1984}
+
+@article{6:3:380,
+author = "E. Korach and D. Rotem and N. Santoro",
+title = "Distributed algorithms for finding centers and medians in networks",
+journal = "ACM Trans. Program. Lang. Syst.",
+volume = "6",
+number = "3",
+month = jul,
+year = 1984,
+pages = "380--401"}
+
+@book{lamport:latex,
+author = "Leslie Lamport",
+title = "\it {\LaTeX}: A Document Preparation System",
+publisher = "Addison-Wesley",
+address = "Reading, Mass.",
+year = 1986}
+
+@article{7:3:359,
+author = "F. Nielson",
+title = "Program transformations in a denotational setting",
+journal = "ACM Trans. Program. Lang. Syst.",
+volume = "7",
+number = "3",
+month = jul,
+year = 1985,
+pages = "359--379"}
+
+%testing
+@article{test,
+author = "F. Nielson",
+title = "Program transformations in a denotational setting",
+journal = "ACM Trans. Program. Lang. Syst.",
+volume = "7",
+number = "3",
+month = jul,
+year = 1986,
+pages = "359--379"}
+
+
+@inproceedings{reid:scribe,
+author = "Brian K. Reid",
+title = "A high-level approach to computer document formatting",
+booktitle = "Proceedings of the Seventh Annual Symposium on Principles of
+ Programming Languages",
+month = jan,
+year = 1980,
+publisher = "ACM",
+address = "New York",
+pages = "24--31"}
+
+
+
+
+
+
+
+
+
diff --git a/biblio/bibtex/contrib/acmtrans/acmtr2e.pdf b/biblio/bibtex/contrib/acmtrans/acmtr2e.pdf
new file mode 100644
index 0000000000..dc70cf0de8
--- /dev/null
+++ b/biblio/bibtex/contrib/acmtrans/acmtr2e.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/acmtrans/acmtr2e.tex b/biblio/bibtex/contrib/acmtrans/acmtr2e.tex
new file mode 100644
index 0000000000..f6dd45ba73
--- /dev/null
+++ b/biblio/bibtex/contrib/acmtrans/acmtr2e.tex
@@ -0,0 +1,1000 @@
+% acmtr.tex
+% revised 1/20/97
+% $Header: acmtr.tex,v 1.5 2/14/96 11:07:57 boyland Exp $
+
+\documentclass[hyperref]{acmtrans2e}
+\usepackage[pdfmark]{hyperref}
+
+%&t&{\tt #}&
+%&v&\verb|#|&
+
+\newcommand{\BibTeX}{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
+ T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
+
+\firstfoot{ACM Transactions on Document Formatting,
+ Vol.\ 8, No.\ 1, January 1999, Pages \pages.}
+
+\runningfoot{ACM Transactions on Document Formatting,
+ Vol.\ 8, No.\ 1, January 1999.}
+
+\markboth{Leslie Lamport et al.}{Preparing Articles for the ACM Transactions}
+
+\title{Preparing Articles for the ACM Transactions
+with \LaTeX}
+\author{LESLIE LAMPORT\\Digital Equipment Corporation\\
+ANDREW W. APPEL\\Princeton University \and
+JOHN TANG BOYLAND\\University of California, Berkeley}
+\begin{abstract}
+The \LaTeX\ {\tt acmtrans} document style formats articles in
+the style of the ACM transactions. Users who have prepared their
+document with \LaTeX\ can, with very little effort, produce
+camera-ready copy for these journals.
+%Then the ACM production department
+%will re-typeset from scratch anyway, introducing typographical errors.
+\end{abstract}
+
+\category{D.2.7}{Software Engineering}{Distribution and Main\-ten\-ance}%
+[documentation]
+
+\category{H.4.0}{Information Systems Applications}{General}
+
+\category{I.7.2}{Text Processing}{Document Preparation}[languages \and
+ photocomposition]
+
+\terms{Documentation, Languages}
+
+\keywords{Document preparation, publications, typesetting}
+
+\begin{document}
+
+\setcounter{page}{111}
+
+\begin{bottomstuff}
+Author's address: L. Lamport, System Research Center,
+Digital Equipment Corporation, 130 Lytton Ave., Palo Alto, CA 94301.\newline
+Start of a second footnote ...
+\permission
+\copyright\ 1999 ACM 0164-0925/99/0100-0111 \$00.75
+\end{bottomstuff}
+\maketitle
+
+\section{Introduction}
+
+This article is a description of the \LaTeX\ {\tt acmtrans} document
+style for typesetting articles in the format of the ACM
+transactions---{\em Transactions on Programming Languages and
+Systems}, {\em Transactions on Database Systems}, etc. It has, of
+course, been typeset using this document style, so it is a
+self-illustrating article. The reader is assumed to be familiar
+with \LaTeX, as described by~\citeN{lamport:latex}.
+
+This document also describes the {\tt acmtrans} bibliography style.
+
+\LaTeX\ is a document preparation system
+implemented as a macro package in Donald Knuth's
+\TeX\ typesetting system~\cite{knuth:texbook}. It is based
+upon the premise that the user should describe the logical structure of
+his document and not how the document is to be formatted. Formatting
+is under the direction of a {\em document style} chosen by the user.
+The user can dramatically change the way the document is formatted by
+simply choosing a different document style. The idea of separating the
+logical structure from the formatting comes from Brian Reid's {\em
+Scribe\/} system~\cite{reid:scribe}.
+
+
+It is impossible to provide predefined logical structures to handle all
+situations that may arise in a document, so users must sometimes make
+their own formatting decisions. \LaTeX\ provides a number of features
+to assist in this task and, if necessary, the user can call upon the
+full power of \TeX, which is probably the most powerful typesetting
+system currently available. However, very little user formatting is
+necessary for the majority of documents that appear in journals such as
+the ACM transactions. Consequently, it is quite easy to convert
+an existing \LaTeX\ input file to the {\tt acmtrans} style.
+
+\section{The Title Page}
+
+\subsection{The Title, Author(s), and Abstract}
+
+Following order is mandatory to generate a correct title page:
+
+\begin{verbatim}
+ \documentstyle{acmtrans}
+ \markboth{}{}
+ \title{}
+ \author{}
+ \begin{abstract} ... \end{abstract}
+ \category{}{}{}
+ \terms{}
+ \keywords{}
+ \begin{document}
+ \begin{bottomstuff} ... \end{bottomstuff}
+ \maketitle
+\end{verbatim}
+
+\subsubsection{Title and Author}
+The \LaTeX\ \verb|\title| and \verb|\author| declarations and the
+\verb|\maketitle| command are employed as usual. However, the user
+must format the author a little differently to match the ACM standard.
+The following example \cite{6:1:1} illustrates most features:
+\begin{quote}
+\begin{verbatim}
+\author{JAMES E. ARCHER, JR.\\ Rational Machines
+ \and RICHARD CONWAY and FRED B. SCHNEIDER \\
+ Cornell University}
+\end{verbatim}
+\end{quote}
+Note that authors' names are in uppercase letters, authors are
+separated from their affiliation by a \verb|\\| command, multiple
+authors with the same affiliation are separated by ``and'' (or commas
+and ``and'' if there are more than two), and authors with different
+affiliations are separated by an \verb|\and| command. The following
+example \cite{6:3:380} shows what to do if there are more than
+two affiliations:
+\begin{quote}
+\begin{verbatim}
+\author{E. KORACH \\ IBM Israel \\
+ D. ROTEM \\ University of Waterloo
+ \and N. SANTORO \\ Carleton University}
+\end{verbatim}
+\end{quote}
+In both the title and the author, you may have to insert \verb|\\|
+commands if lines need to be broken.
+
+\subsubsection{Abstract}
+The abstract is typed as usual with the {\tt abstract} environment.
+However, this environment must come before the \verb|\maketitle|
+command.
+
+
+\subsection{Content Indicators and Keywords}
+
+The content indicators and keywords are entered with \LaTeX\
+declarations. The CR categories are indicated with \verb|\category|
+declarations. The first CR category of this article, appearing
+right below the abstract, was entered with the following command:
+\begin{quote}
+\begin{verbatim}
+\category{D.2.7}{Software Engineering}{Distribution and
+ Maintenance}[Documentation]
+\end{verbatim}
+\end{quote}
+Note that the last argument (which contains the subject descriptors)
+is optional, since some categories have none. Multiple subject descriptors
+are separated by \verb|\and| commands, as in the last category of
+this article:
+\begin{quote}
+\begin{verbatim}
+\category{I.7.2}{Text Processing}{Document Preparation}
+ [Languages \and Photocomposition]
+\end{verbatim}
+\end{quote}
+Use a separate \verb|\category| declaration for each CR category;
+they will be listed in the order that the commands appear. The
+\verb|\category| commands must precede the \verb|\maketitle|
+command.
+
+The General Terms are declared with a (single) \verb|\terms|
+command as in the one for this article:
+\begin{quote}
+\begin{verbatim}
+\terms{Documentation, Languages}
+\end{verbatim}
+\end{quote}
+The \verb|\terms| declaration must come before the \verb|\maketitle|
+command. The terms {\it must} be chosen from the following list:
+\begin{quote}
+Algorithms;
+Design;
+Documentation;
+Economics;
+Experimentation;
+Human factors;
+Languages;
+Legal aspects;
+Management;
+Measurement;
+Performance;
+Reliability;
+Security;
+Standardization;
+Theory;
+Verification;
+\end{quote}
+The general terms are
+orthogonal to the Categories, at least theoretically, and so
+may be applied to any elements of the classification tree.
+
+Think of them as `perspectives' from which any topic may
+be approached. Thus you could use {\em Theory} or {\em Performance} for an
+article about {\em C.2.1 Distributed Networks}. However,
+some of these general terms actually slide over into
+content areas. Thus {\em Legal aspects} is a general term
+applicable to any category, but also an entire node in the tree,
+{\em K.5}, devoted to {\em Legal aspects of computing,} with many sub-topics.
+
+So, though perhaps not perfect, the General Terms are most useful
+in online searches when used in combination with categories.
+
+The ``Additional Keywords and Phrases'' item on the title page
+is provided by the \verb|\keywords| declaration, {\bf listed alphabetically\/}.
+For this article,
+they were produced by the following command:
+\begin{quote}
+\begin{verbatim}
+\keywords{Document preparation, publications, typesetting}
+\end{verbatim}
+\end{quote}
+There is no prescribed list of ``additional keywords;'' use any that
+you want.
+
+\subsection{The Bottom of the Title Page}
+
+The bottom of the article's title page contains acknowledgment of
+support, the author(s) address(es), a ``permission to copy'' statement,
+and a line containing a copyright symbol (\copyright) and a mysterious
+number. This is all entered with a {\tt bottomstuff} environment;
+there must be no blank line after the \verb|\begin{bottomstuff}|
+command. The permission to copy statement is produced by the
+\verb|\permission| command.
+
+\subsection{The Page Headers}
+
+\verb|\markboth{}{}| generates the left- and right-page headers. The first
+argument is the author's name(s):
+
+\begin{itemize}
+\item If there is one author, then use author's full name (ex. Leslie Lamport);
+\item If there are two authors, then abbreviate each author's first name
+ (L.~Lamport and A.~Appel);
+\item If there are more than two authors, then the format is Leslie Lamport et al.
+\end{itemize}
+
+The second argument of \verb|markboth| is the title;
+if the title is too long,
+contract it by omitting subtitles and phrases, not by abbreviating words.
+
+
+\section{Ordinary Text}
+
+Most of the body of the text is typed just as in an ordinary
+document. This section lists the differences.
+
+\subsection{Lists}
+
+\subsubsection{Enumeration and Itemization}
+
+Let's begin with enumeration.
+\begin{longenum}
+\item The ACM style has two different formats for
+itemized lists, which I will call the {\em long\/} and {\em short\/}
+formats. The long format is generally used when the individual items
+are more than two or three lines long, but ACM has been inconsistent in
+their choice of format, sometimes using the long format for lists whose
+items are all one or two lines long and the short format for lists of
+long items. This list is an example of the long format.
+
+\item The ordinary {\tt enumerate} environment
+produces the short format. For the long format, use the
+{\tt longenum} environment.
+\begin{enumerate}\itemindent 10pt
+\item This inner enumeration uses the short format.
+\item It was produced using \LaTeX's ordinary {\tt enumerate}
+ environment.
+\item ACM has no standard for enumerations nested more than
+ two levels deep, so the {\tt acmtrans} style does not
+ handle them well.
+\end{enumerate}
+\end{longenum}
+
+Itemized lists are similar to enumerated ones.
+\begin{longitem}
+\item As with enumerations, there is a long and a short
+format for itemized lists. This list is in the long format.
+
+\item The long format is produced by the {\tt longitem}
+environment. The ordinary {\tt itemize} environment
+uses the short format.
+\begin{itemize}
+\item This is an itemized list using the short format.
+
+\item It was produced with the {\tt itemize} environment
+that is used in ordinary \LaTeX\ input.
+\end{itemize}
+\end{longitem}
+
+It is interesting to observe that the style of tick mark used
+for an itemization changed around 1985 from an en dash
+(--) to an em dash (---). % jtb: changed!
+
+\subsubsection{Descriptions}
+
+A list is a sequence of displayed text elements, called items, each
+composed of the following two elements:
+\begin{describe}{{\em item body\/}:}
+\item[{\em label\/}:]
+A marker that identifies or sets off the item. It
+is a number in an enumerated list and a tick mark in an itemized list.
+
+\item[{\em item body\/}:] The text of the item. It is usually ordinary prose,
+but sometimes consists of an equation, a program statement, etc.
+
+Or another paragraph, which will be indented like normal paragraphs.
+\end{describe}
+
+When the labels of a list are names rather than numbers or tick marks,
+the list is called a {\em description\/} list.
+The ACM style
+has both long and short description lists. The above list is a short
+description list; the bodies of all the items are indented enough to
+accommodate the widest label.
+The following list is a long description list.
+The {\tt acmtrans} style provides both kinds of description lists:
+\begin{description}
+\item[short]
+The {\tt describe} environment
+%that works the
+%same as the {\tt description} environment except that it
+takes an argument, which should be the same as the argument of the \verb|\item|
+command that produces the widest label. Thus, the above description
+list was begun with the command
+\begin{quote}
+\begin{verbatim}
+\begin{describe}{{\em item body\/}:}
+\end{verbatim}
+\end{quote}
+
+A description label is often emphasized in some way; in this example I
+used the \LaTeX\ \verb|\em| command, italicized the label. The ACM
+appears to have no standard convention for formatting the labels of a
+description list, so the {\tt describe} environment leaves the label
+formatting up to you. An \verb|\hfill| command can be used to produce
+a label like ``{\em gnu \hfill --\/}'' where {\em gnu\/} is flush left
+against the margin and the ``--'' is aligned flush right next to the
+item body.
+
+\item[long]
+The standard \LaTeX\ {\tt description} environment produces a long
+description list. It italicizes the labels, and puts a period after
+them, which seems to be what is done in the ACM transactions.
+\end{description}
+
+\subsection{Theorems, Etc.}
+
+%\newtheorem{theorem}{Theorem}[subsection]
+%\begin{theorem}
+%testing section counter
+%\end{theorem}
+
+\LaTeX\ provides a single class of theorem-like environments, which are
+defined with the \verb|\newtheorem| command. The ACM transactions
+style divides this class into two subclasses that are formatted
+differently. The first class includes theorems, corollaries, lemmas,
+and propositions. It is produced with the \verb|\newtheorem| command.
+Such a theorem-like environment is often followed by a proof, for which
+the {\tt acmtrans} style provides a {\tt proof} environment.
+
+\newtheorem{subtheorem}{Theorem}[subsection]
+\begin{subtheorem}
+Notice that theorems are numbered inside the nearest section\newline subsection.
+\end{subtheorem}
+
+When listing within the theorem environment, this style will now produce
+roman parantheses. Thank you David Sands.
+
+\begin{proof}
+This theorem is an instance of {\tt subtheorem}, theorems nested in
+subsections.
+\end{proof}
+
+
+The second subclass of theorem-like environments includes ones for
+definitions, examples, and remarks. These environments are defined
+with the \verb|\newdef| command, which works the same as
+\verb|\newtheorem|. Here
+is an example of such an environment.
+
+\newdef{subexample}[subtheorem]{Definition}
+
+\begin{subexample}
+This is an example of a Definition, typed with an {\tt subexample}
+environment defined with \verb|\newdef|.
+As you can see theorems are italicized and definitions are not.
+\end{subexample}
+
+\newtheorem{subproperty}[subtheorem]{Property}
+
+Sometimes theorem-like environments are numbered in unusual ways, or
+are identified by a name. Consider the following example
+from~\citeN{7:3:359}.
+\begin{subproperty}[{\rm Ca}]
+Let syn $\in$ Syn, occ $\in$ Occ be maximal and sta $\in$ Sta. Then
+Tcol\/{\rm [[}syn\/{\rm ]]} occ sta\hspace{-2pt} $\downarrow\!1$ $=$
+Tsto\/{\rm [[}syn\/{\rm ]]} sta.
+\end{subproperty}
+\begin{proof}[of Property {\rm Ca}]
+By straightforward structural induction, and is \linebreak
+omitted.
+\end{proof}
+It was obtained by giving optional arguments to the
+{\tt property} environment (defined with \verb|\newtheorem|)
+and the {\tt proof} environment and was typed as follows.
+\begin{quote}
+\begin{verbatim}
+\begin{subproperty}[{\rm Ca}] Let ... \end{subproperty}
+\begin{proof}[of Property {\rm Ca}] By straightforward ...
+\end{verbatim}
+\end{quote}
+Notice that the optional argument to the {\tt property} environment
+suppresses the automatic numbering. If a null optional argument
+were given to this environment by typing ``{\tt []}'', then
+it would have produced the label ``{\sc Property.}'' This is
+how unnumbered theorems, etc.\ are produced.
+
+Environments defined by \verb|\newdef| use the optional
+argument the same way as those defined by \verb|\newtheorem|.
+
+\vskip10pt
+With this definition
+
+\begin{verbatim}
+ \newtheorem{secthm}{Theorem}[section]
+\end{verbatim}
+\noindent
+one can solve the counter problems and counter and label problems for
+theorems, lemmas and definitions etc.
+
+With the above definition and with the following variations
+\begin{verbatim}
+ \newdef{secdefn}[secthm]{Definition} or
+ \newdef{seclem}[secthm]{Lemma} or
+ \newdef{sectheo}{secthm]{Theorem} etc.
+\end{verbatim}
+\noindent
+one can achieve
+\begin{enumerate}
+\item correct counters in definitions, theorems etc. in \verb|\section| environment.
+For example, to generate ``Definition 4.1.''; without the above two definitions, it produces ``Definition 4.0.1.'' and
+\item correct counter and label associated with definitions, theorems etc. in any environment (section or subsection). For example,
+\begin{verbatim}
+ \begin{secdefn}[\thesecthm\ (label)]
+ text text text
+ \end{secdefn}
+\end{verbatim}
+produces the correct definition counter + correct placement of the period as in
+``Definition 3.1 (label).''.
+\end{enumerate}
+
+\subsection{Overfull hbox - Stretching/filling one horizontal line}
+
+To solve a line break due to ``Overfull \verb|\hbox|'', here is a plain \TeX\
+solution; here \verb|\hsize| is the default setting of acmtrans.sty:
+
+\begin{center}
+\verb|\hbox to \hsize{line sentence to be stretched}|
+\end{center}
+
+This can be used in a list environment as well but \verb|\hsize| declared to a reduce
+dimension:
+
+\begin{verbatim}
+ \hbox{\vbox{\hsize = less than the default setting
+ \hbox to \hsize{line sentence to be stretched}}}
+\end{verbatim}
+
+\subsection{Programs}
+
+Good formatting of programs requires a knowledge of their semantics,
+and is beyond the scope of a document production system. While
+``pretty printers'' are useful for handling the many pages of a real
+program, the short examples that are published in articles should be
+formatted by hand to improve their clarity. The \LaTeX\ {\tt tabbing}
+environment makes the formatting of programs relatively easy,
+especially if the user defines commands for his particular language
+constructs.
+One may also use the {\tt verbatim} environment.
+
+The ACM transactions style requires that programs be formatted with
+different size fonts, depending upon whether they appear in the text or
+in a figure, but that is handled by the figure macro which
+automatically sets the correct font size.
+%The {\tt acmtrans} style provides a {\tt program}
+%environment that is exactly the same as the standard {\tt tabbing}
+%environment except for the size of the fonts it uses. This environment
+%should be used for formatting programs, whether they appear in the
+%running text or in a figure.
+Moreover, programs in running text should be indented two ems
+on each side (as provided by the {\tt quote} environment), and
+programs in regular figures should be centered.
+(Programs in ``narrow figures'' (q.v.) are left or right justified
+automatically).
+
+Here is an example of a program:
+\begin{quote}
+\begin{tabbing}
+{\bf type} date =\\
+\hspace*{1em}\= {\bf record} \= day: 1\,.\,.\,31;\+\+\\
+ month: 1\,.\,.\,12;\\
+ year: integer \-\\
+ {\bf end} \-\\
+{\bf var} mybirth, today : date;\\
+{\bf var} myage : integer;
+\end{tabbing}
+\end{quote}
+Figure~\ref{fig:prog} shows how the same program looks in a figure.
+\begin{figure}
+\centerline{\parbox{104pt}{% it's safe to overestimate the size here
+\begin{tabbing}
+{\bf type} date =\\
+\hspace*{1em}\= {\bf record} \= day: 1\,.\,.\,31;\+\+\\
+ month: 1\,.\,.\,12;\\
+ year: integer \-\\
+ {\bf end} \-\\
+{\bf var} mybirth, today : date;\\
+{\bf var} myage : integer;
+\end{tabbing}}}
+\caption{An example of a program centered in a figure}
+\label{fig:prog}
+\end{figure}
+
+%The ACM standard calls for the program to start flush at the left
+%margin, with each new level of nesting indented by a distance of one
+%em, and with the continuation of broken lines indented two ems. However,
+%this standard is not applied consistently.
+
+In addition to formatting programs, the {\tt tabbing} environment may be
+used for similar displayed material such as BNF syntax specifications
+and rewrite rules.
+
+\subsection{User-specified Formatting}
+
+If \LaTeX\ does not provide a particular text structure, the user must
+define it himself and specify how it is to be formatted. This is most
+easily done by defining the new structure in terms of existing ones;
+the \LaTeX\ {\tt list} and {\tt trivlist} environments are useful
+tools. However, it is occasionally necessary for the user to provide
+explicit formatting commands.
+
+The best guide to how something should be formatted is what has been
+done in the ACM transactions. While horizontal spacing tends to depend
+strongly upon the particular text, there is a standard amount of
+vertical space used to set off text. The ordinary \LaTeX\
+\verb|\medskip| command produces a vertical space of the appropriate
+size.
+
+\section{Figures and Tables}
+
+\subsection{Figures}
+
+The ordinary \LaTeX\ {\tt figure} environment works as usual.
+Figure~\ref{fig:ordinary}, which is Figure~6 of \citeN{7:3:359}, a bogus reference,
+\begin{figure}
+\centering
+\(\begin{array}{c|ccc}
+ & \bot & F & T \\
+\hline
+\bot & \bot & \bot & T \\
+F & \bot & F & T \\
+T & \bot & T & T
+\end{array}\)
+\caption{The truth table for the parallel-or.}
+\label{fig:ordinary}
+\end{figure}
+was produced in this way.
+Note that figures should never appear in the text or at the bottom of
+a page. (If you use the figure placement optional argument, use only
+\verb"t" or \verb"p" or both; do not use \verb"h" or \verb"b").
+
+Some figures (and tables) have no caption except for the figure number.
+For such figures (and tables), one uses a \verb|\nocaption| command,
+which has no argument, instead of the \verb|\caption| command.
+
+\begin{narrowfig}{3in}
+\begin{tabbing}
+{\bf type} date =\\
+\hspace*{1em}\= {\bf record} \= day: 1\,.\,.\,31;\+\+\\
+ month: 1\,.\,.\,12;\\
+ year: integer \-\\
+ {\bf end} \-\\
+{\bf var} mybirth, today : date;\\
+{\bf var} myage : integer;
+\end{tabbing}
+\caption{An example of a program displayed in a figure.}
+\label{fig:narrow}
+\end{narrowfig}
+
+In addition to this method of formatting figures, the ACM transactions
+also uses figures with side captions, as in Figure~\ref{fig:narrow}.
+Such a figure is produced with the {\tt narrowfig} environment. This
+environment has a single mandatory argument, which is the width of the
+figure.
+Note that if the figure is generated by {\tt tabbing} or {\tt
+tabular}, one can safely overestimate the size.
+It works just like the ordinary {\tt figure} environment,
+except it must contain only one \verb|\caption| or \verb|\nocaption|
+command, which must come after the figure itself.
+
+The {\tt narrowfig} environment should obviously not be used unless the
+figure is narrow enough to leave a reasonable amount of space beside it
+for the caption. The ACM seems to have no consistent policy for choosing
+which style of figure to employ.
+
+\subsection{Tables}
+
+The ordinary \LaTeX\ {\tt table} environment can be used, but it
+requires the user to add formatting commands to match the ACM
+transactions style. This formatting is performed automatically
+if the {\tt acmtable} environment is used instead, producing
+the result shown in Table~\ref{tab:table}, which shows the same
+table displayed in Figure~\ref{fig:ordinary}.
+\begin{acmtable}{100pt}
+\centering
+\(\begin{array}{c|ccc}
+ & \bot & F & T \\
+\hline
+\bot & \bot & \bot & T \\
+F & \bot & F & T \\
+T & \bot & T & T
+\end{array}\)
+\caption{The truth table for the parallel-or.}
+\label{tab:table}
+\end{acmtable}
+This environment has a mandatory argument that equals the width
+of the table---more precisely, it specifies the width of the rules
+above and below the table. There must be only one
+\verb|\caption| or \verb|\nocaption|
+command, which must come after the text of the table.
+(Even though the table caption is printed above the table, the
+\verb|\caption| command comes after the table in the input file.)
+
+
+\section{The End of the Document}
+
+\subsection{Appendix}
+
+The appendix (if the article has one) should precede the
+acknowledgments (if any) and bibliography.
+If the appendix isn't broken into separate sections,
+then you should add the following commands after the \verb|\appendix|
+command:
+\begin{quote}
+\begin{verbatim}
+\section*{APPENDIX}
+\setcounter{section}{1}
+\end{verbatim}
+\end{quote}
+Setting the counter is necessary so that numbered subsections and
+theorems will have the names ``A.{\em N\/}'' in the text.
+
+For an article with multiple appendices, one begins
+the appendix with an \verb|\appendix| followed by
+\verb|\section*{APPENDIX}|, and then starts each
+appendix with an ordinary \verb|\section| command.
+
+Information about electronic appendices is given in
+Section~\ref{sec:elecappendix} and in the Appendix.
+
+\subsection{Acknowledgments}
+
+An optional acknowledgments section follows all the text of the
+article, including any appendices. It is produced with the
+{\tt acks} environment. (Since I can never remember how many
+{\em e\/}'s there are in {\em acknowledgments}, it seemed
+like an abbreviation was in order for the environment name.
+One may also spell out the name as {\tt acknowledgments}).
+Sometimes, there is just a single acknowledgment.
+This may be given using the {\tt ack} or {\tt acknowledgment}
+environment.
+
+\subsection{Bibliography}
+
+The bibliography follows the acknowledgments, and is the last
+significant body of text in the article. It is produced by the usual
+\LaTeX\ commands.
+
+In 1993 the ACM changed bibliography styles, from numerical citations [13]
+to author's name and year \cite{7:3:359}.
+The user is encouraged to let \LaTeX\ produce his bibliography
+with the \verb|\bibliography| command, letting \BibTeX\ handle the
+formatting of the entries.
+The \verb|acmtrans.sty|
+bibliography style file now generates citations in this format.
+Put
+\begin{quote}
+\begin{verbatim}
+\bibliographystyle{acmtrans}
+\end{verbatim}
+\end{quote}
+between the \verb|\begin{document}| and the \verb|\end{document}|.
+
+The conventional \verb|\cite| command will generate citations as usual in
+\LaTeX.
+Note that the style file automatically omits repeating author
+names~\cite{7:3:359,test}.
+If you mention the work explicitly in your prose, you should use
+\verb|\citeN| command. This command generates for example, \citeN{7:3:359}
+discusses denotational program transformations. Or, you use
+\verb|\citeyear| and say that Nielson \citeyear{7:3:359} discusses
+them.
+The command \verb|\shortcite| is an alias for \verb|\citeyear|.
+Either command may be used in cases where one refers to multiple
+works (of the same authors!).
+For example, \verb|Nielson~\shortcite{7:3:359,test}| generates
+Nielson~\shortcite{7:3:359,test}.
+%To generate author~[year1; year2], give the author's name and then use
+%the command \verb|\citeNN{year1,year2}|,
+%which generates ``Nielson~\citeNN{7:3:359,test}.''
+
+More variations of \verb|\cite| are discussed in comments in the
+\verb|acmtrans.sty| file. Here are some {\bf examples} on how to get
+
+\begin{enumerate}
+\item{Appel [1996]} $\rightarrow$ using either \verb|\citeN| or \verb|\citeyear|
+\item{[Kempe 1879]} $\rightarrow$ \verb|\cite{kempe79}|
+\item{Appel [1995; 1996]} $\rightarrow$ \verb|\shortcite{ref1-key,ref2-key}|
+\item{Fil\'e [1981a; 1981b]} $\rightarrow$ \verb|Fil\'{e}~\shortcite{engelfriet/file:81sweep,|\\
+\hbox{}\kern.2in\verb|engelfriet/file:81passes}| or simply \verb|\shortcite{ref1-key, ref2-key}|
+\item{[Appel and Shao 1992; Shao and Appel 1994]} $\rightarrow$
+\verb|\cite{appel-zhong-lsc92,|\\
+\hbox{}\kern3.5in\verb|shao94:clo}|
+\item{Chow and Harrison [1992; 1994]} $\rightarrow$
+ Chow~and~Harrison~[\verb|\citeyearNP{CH-popl92};|
+ \hbox{}\kern2in\verb|\citeyearNP{CH-iccl94}|]
+\item{[Chow and Harrison 1992; 1994; Cousot and Cousot 1984]} $\rightarrow$
+\verb|[\citeNP{CH-popl92};|\\
+ \hbox{}\kern1.7in \verb|\citeyearNP{CH-iccl94}; \citeNP{CC-apct77}]|
+\item{[Cytron et al. 1991]} $\rightarrow$ \verb|\cite{cytron-et-al-toplas91}|
+\item{Briggs et al. [1994]} $\rightarrow$ \verb|\citeN{briggs-cooper-torczon-toplas94}| or
+\item{Duri et al. [1993]} $\rightarrow$ \verb|Duri~et~al.~\citeyear{DBDS-sigsoft93}|
+\item{[Chaitin 1982; Chaitin et al. 1981]} $\rightarrow$ \verb|\cite{chaitin-pldi82,chaitin-et-al-cl81}|
+\item{[Alblas 1991; Deransart et al. 1988; Knuth 1868]} $\rightarrow$
+\verb|\cite{alblas:91intro,|
+\hbox{}\kern1in\verb|deransart/jourdan/lorho:88ag,knuth:68semantics}|
+\item{[Gary and Johnson 1979]} $\rightarrow$ \verb|\cite{garey-johnson-bk79}|
+\item{[Brand and Zafiropulo 1983; Gouda et al. 1984;1987]} $\rightarrow$ \newline
+\verb|[\citeNP{brand83}; \citeNP{gouda84};\citeyearNP{gouda87}]|
+\end{enumerate}
+\noindent
+The list will be updated as we find unique cases.
+
+\subsection{Received Date}
+
+An ACM transactions article ends with the dates that the article and its
+revised versions were received and the date it was accepted for
+publication. In the {\tt acmtrans} document style, this information is
+produced with the {\tt received} environment. Type the body of the
+environment just as it should appear in the printed version.
+(Note that only \verb"Received" and the months should be capitalized,
+the entries should be separated by semicolons,
+and the whole ``sentence'' should {\em not} be terminated by a period.)
+You can get these dates from the editor-in-chief.
+
+\section{Running Heads and Feet}
+
+The running foot of all but the title page of the article is declared
+with the \linebreak
+\verb|\runningfoot| command. It contains the name of the
+journal, volume, number, and date. The foot for the title page
+contains this information plus the page numbers. It is declared
+with the \verb|\firstfoot| command.
+
+The \verb|\pages| command prints the page numbers of the article,
+producing something like ``123--132''. It is implemented with the
+\LaTeX\ \verb|\pageref| command, so it will not produce the correct
+page numbers the first time the file is run through \LaTeX, or if the
+number of the first or last page has changed since the last time.
+
+The default page style for the {\tt acmtrans} style is {\tt
+myheadings}. Thus, a \verb|\markboth| command is used to set the
+running heads. The left head contains the author's name (or authors'
+names) and the right head contains the title. For long titles,
+some contraction of the title is used.
+
+{\bf
+At present, the ACM prefers to strip in their own running heads and
+feet, so it is unnecessary to worry about them when producing
+camera-ready copy.
+}
+
+\section{Interacting with ACM's Production Staff}
+
+After your article is accepted, format your document and send
+a Postscript file to the editor-in-chief. An ACM copy editor will
+mark up a paper copy and send it back to you for corrections.
+If there are just a few corrections, they may be sent to you by e-mail.
+Iterate this process until the copy editor is satisfied (it may take
+one or two iterations).
+
+Then print your final camera-ready copy on a 1200-dpi phototypesetter
+(or a 600-dpi laser printer, if you must) and mail it to ACM.
+
+If you are using a laser printer for your final camera-ready copy,
+you may enjoy using special paper designed for this purpose (it gives
+a sharper image on a whiter background). One such paper
+(manufactured by Hammermill Papers) is:
+\begin{verse}
+ Hammermill Laser Plus (Featuring Wax Holdout)\\
+ 8$\frac{1}{2}$x11--12M--S24/60\\
+ 10450--5\\
+ For Prepress Proofing and Camera-Ready Masters.
+\end{verse}
+
+But the use of special paper is entirely optional; plain white laser-printer
+paper is fine.
+
+\subsection{ACM Copy Editors' Preferences}
+
+We wish to thank the authors who have mailed to us copies of their page proofs.
+From the page proofs (and explicit requests from ACM), here is a list of items most
+frequently marked up by the copy editors.
+
+\begin{description}\itemindent\labelsep % that is, no indentation
+\item[\bf Center] Displayed items like figures, pieces of program codes, and equations. Equation numbers to appear right flushed. Remember to add a period if the displayed equation ends in a sentence.
+\item[\bf Fonts] Following items in regular Roman font:
+\begin{itemize}
+\item such words like et al., e.g., i.e., ad hoc, and bona fide, and
+\item the body of the definition environment.
+\end{itemize}
+\item[\bf Etc] No double period when a sentence ends with ``etc.''
+\item[\bf Figure] Spell out the word ``figure'' when using in a sentence, as in Figure 1.
+Use a period as in ``Fig. 1.'' and not a colon as in ``Fig. 1:''
+\item[\bf Contractions] Avoid the use of contractions; for example, use
+{\em do not} instead of {\em don't}.
+(If you prefer to use contractions to avoid
+stuffiness, you'll have to tell the copy editor explicitly after you
+get the marked-up proofs.)
+\item[\bf Conference References] Please use {\it 4th International Conf. on
+Document Formatting}, not {\it Fourth International Conference ...}; that
+is, do not spell out the number.
+\item[\bf Journal References] Figure~\ref{fig:abbrev} gives common journal abbreviations; there is a duplicate list in the acmtrans.bst file for your convenience. Using the {\it abbreviation} feature of \BibTeX\ for journal
+names (and months!) makes it easy to follow the rules.
+\end{description}
+
+\begin{figure}\noindent
+\begin{tabular}{l|l||l|l}
+\footnotesize
+acmcs&ACM Comput. Surv.&jlp&J. Logic Program.\\
+acmlett&ACM Lett. Program. Lang. Syst.&jcss&J. Comput. Syst. Sci.\\
+acta&Acta Inf.&jsmrp&J. Softw. Maint. Res. Pract.\\
+al&Ada Lett.&jss&J. Syst. Softw.\\
+acr&Adv. Comput. Res.&jlsc&J. Lisp Symb. Comput.\\
+bit&Bit&lpls&Lett. Program. Lang. Syst.\\
+cacm&Commun. ACM&mscs&Math. Struct. Comput. Sci.\\
+cj&Comput. J.&mst&Math. Syst. Theor.\\
+cn&Comput. J.&ngc&New Gen. Comput.\\
+cl&Comput. Lang.&scp&Sci. Comput. Program.\\
+ict&Inf. Contr.&sicomp&SIAM J. Comput.\\
+ieebcs&IEE/BCS Softw. Eng. J.&spe&Softw. Pract. Exper.\\
+ieees&IEEE Softw.&tocs&ACM Trans. Comput. Syst.\\
+ieeese&IEEE Trans. Softw. Eng.&tods&ACM Trans. Database Syst.\\
+ieeetc&IEEE Trans. Comput.&tog&ACM Trans. Graphics\\
+ieeetpds&IEEE Trans. Parall. Distrib. Syst.&toms&ACM Trans. Math. Softw.\\
+ieeetit&IEEE Trans. Inf. Theory&toois&ACM Trans. Office Inf. Syst.\\
+ipl&Inf. Process. Lett.&toplas&ACM Trans. Program. Lang. Syst.\\
+icp&Inf. Comput.&tcs&Theor. Comput. Sci.\\
+ist&Inf. Softw. Tech.&tr&Tech. Rep.\\
+ijsa&Int. J. Supercomput. Appl.&jf&J. Funct. Program.\\
+ijpp&Int. J. Parallel Program.&jlc&J. Logic and Comput.\\
+\end{tabular}
+\caption{Common journal abbreviations.}
+\label{fig:abbrev}
+\end{figure}
+
+The best method of
+reducing the number of copy editorial markups is by using a recent ACM journal
+as a guide to typesetting your article.
+
+\section{Electronic Appendices}
+\label{sec:elecappendix}
+
+Because of severe constraints on how many pages it can print,
+{\it ACM Transactions on Programming Languages and Systems} (TOPLAS)
+accepts some articles with {\it electronic appendices:} appendices
+in Postscript format that will not appear in the printed article but
+will be available separately. If your article is accepted with an
+electronic appendix, you should put an appendix header where the
+appendix normally belongs (before the ``acknowledgments'').
+The body of the electronic appendix should be given after the
+references.
+The \verb|appendixhead| command is given
+\begin{quote}
+{\tt \verb|\|appendixhead\{{\it journal}\}\{{\it article-id}\}}
+\end{quote}
+where {\it journal} is the name of the journal (e.g. {\tt toplas} or
+{\tt todf}), and
+{\it article-id} is a number given to you by the Editor.
+The result of \verb|\appendixhead| looks like this:\footnote{%
+See the end of this document for the remainder of the explanation of
+electronic appendices}
+
+\appendix
+\section*{ONLINE-ONLY APPENDICES}
+\setcounter{secnumbookdepth}{-1}
+% \begin{NoHyper}
+\section{Splitting off the electronic appendix}
+\section{Single appendix}
+\section{Multiple appendices}
+% \end{NoHyper}
+\setcounter{secnumbookdepth}{3}
+
+\appendixhead{Appendix A is}{appendix}{http://www.acm.org/toplas}
+
+\begin{acks}
+We wish to thank Howard Trickey for providing the now-obsolete
+version of the {\tt acmtrans}
+bibliography style, and for giving advice on creating the new one;
+Rebecca Davies for helping to adapt
+Glenn Paulley's ``Chicago'' bibliography
+style to fit the new ACM style;
+and Marilyn Salmansohn and George Criscione for providing information
+on the official ACM transactions style.
+\end{acks}
+
+\bibliographystyle{acmtrans}
+\bibliography{acmtr}
+\begin{received}
+Received February 1986;
+November 1993;
+accepted January 1996
+\end{received}
+
+elecappendix{http://www.acm.org/toplas}{1998}{ACM Transactions on Document Formatting,
+ Vol.~8, No.~1, January 1999, Pages \pages.}{
+\copyright\ 1999 ACM 0164-0925/98/0100-0208A \$5.00}
+
+The contents of the electronic appendix is written after the references
+and the ``received'' environment.
+The electronic appendix is started
+by an \verb|\elecappendix| command that takes two
+required arguments:
+\begin{quote}
+{\tt \verb|\|elecappendix\{{\it year}\}\{{\it ref\/}\}}
+\end{quote}
+where
+{\it year} is the year of appearance (or, if this not known, the year
+of acceptance), necessary for the copyright notice, and
+{\it ref\/} is a sentence provided by the Editor describing the
+publication reference
+information regarding your article.
+
+\section{Splitting off the electronic appendix}
+
+If you have an electronic appendix, only the main body of the
+article, up through and including the description of how to obtain
+the electronic appendix, will be printed in the journal.
+
+It will be necessary to split your dvi or Postscript file into
+two parts: one to be printed, the other to be available by
+FTP. Please split your Postscript into two separate postscript files
+using {\tt dvipages} or {\tt pslpr} and
+email them separately to the Editor.
+
+Note that the pages of the appendix are numbered A-1, A-2, etc.
+so as not to interfere with the normal journal pagination.
+
+\section{Single Appendix}
+
+When an article has a single electronic appendix, then after
+the \verb|\elecappendix| command, type the following.
+\begin{quote}
+\begin{verbatim}
+\setcounter{section}{1}
+\end{verbatim}
+\end{quote}
+If the text starts immediately, add a \verb|\medskip| to set off the
+text from the horizontal rule created by \verb|\elecappendix|.
+
+\section{Multiple appendices}
+
+For an article with multiple electronic appendices, one begins
+the appendix with an \verb|\elecappendix|
+command, then starts each
+appendix with an ordinary \verb|\section| command. Lower levels of
+sectioning are produced by the ordinary sectioning commands.
+
+\end{document}
+
+
+
+
+
diff --git a/biblio/bibtex/contrib/acmtrans/acmtrans.bst b/biblio/bibtex/contrib/acmtrans/acmtrans.bst
new file mode 100644
index 0000000000..f9720fd4a9
--- /dev/null
+++ b/biblio/bibtex/contrib/acmtrans/acmtrans.bst
@@ -0,0 +1,1768 @@
+% "ACM Transactions" BibTeX style, acmtrans.bst
+% for BibTeX version 0.99c, LaTeX version 3.141
+% Revised 28-MARCH-1996
+% Revised 30-JUNE-1995
+% Revised 15-JAN-1996
+% $Header: acmtrans.bst,v 1.2 96/01/17 09:05:38 boyland Exp $
+%
+% Hacked by John T. Boyland at University of California, Berkeley
+% (with assistance by John R. Hauser)
+% Hacked by Andrew W. Appel and Rebecca L. Davies at Princeton University,
+% based on a "chicago.bst" by Glenn Paulley at U. Waterloo,
+% which was based on "newapa.bst" found at ymir.claremont.edu.
+%
+% Citation format: [author-last-name year]
+% [author-last-name and author-last-name year]
+% [author-last-name, author-last-name, and author-last-name year]
+% [author-last-name et al. year]
+% [author-last-name]
+% author-last-name [year]
+% [author-last-name and author-last-name]
+% [author-last-name et al.]
+% [year] or [year,year]
+% year or year,year
+%
+% Reference list ordering: alphabetical by author or whatever passes
+% for author in the absence of one.
+%
+% This BibTeX style has support for abbreviated author lists and for
+% year-only citations. This is done by having the citations
+% actually look like
+%
+% \citeauthoryear{full-author-info}{abbrev-author-info}{year}
+%
+% The LaTeX style has to have the following (or similar)
+%
+% \let\@internalcite\cite
+% \def\fullcite{\def\citeauthoryear##1##2##3{##1, ##3}\@internalcite}
+% \def\fullciteA{\def\citeauthoryear##1##2##3{##1}\@internalcite}
+% \def\shortcite{\def\citeauthoryear##1##2##3{##2, ##3}\@internalcite}
+% \def\shortciteA{\def\citeauthoryear##1##2##3{##2}\@internalcite}
+% \def\citeyear{\def\citeauthoryear##1##2##3{##3}\@internalcite}
+%
+% These TeX macro definitions are found in acmtrans.sty. Additional
+% commands to manipulate different components of a citation can be defined
+% so that, for example, you can list author's names without parentheses
+% if using a citation as a noun or object in a sentence.
+%
+% Features of acmtrans.bst:
+% ========================
+%
+% - all authors appear last name first.
+% - all pages are listed xx-xx, (no pp.) and are at the end of the reference
+% - publishers are identified as publisher, address
+% - conferences papers (inproceedings) may give city of conference,
+% date of conference, and journal that the proceedings appear in.
+% - months abbreviated to max four letters (eg. Mar.)
+% - volume of a series indicated after the title of the series
+% - editors appear after edited title and are identified by a trailing "Eds."
+% not in parentheses. Editor names are not given in small caps.
+% (unless there is no author line)
+% - names terminated with a period even if there is no first name.
+% - editions are indicated trailing after the work, not in parentheses.
+% - "et al." citations have a protected period to avoid bad spacing (jrh)
+% - "address" required when publisher given
+% - series (roman) and volume are in a sentence separate from (book-)title
+%
+%
+% Features of chicago.bst:
+% =======================
+%
+% - full names used in citations, but abbreviated citations are available
+% (see above)
+% - if an entry has a "month", then the month and year are also printed
+% as part of that bibitem.
+% - all conjunctions use "and" instead of "\&"
+% - major modification from Chicago Manual of Style (13th ed.) is that
+% only the first author in a reference appears last name first-
+% additional authors appear as J. Q. Public.
+% - pages are listed as "pp. xx-xx" in all entry types except
+% article entries.
+% - book, inbook, and manual use "location: publisher" (or organization)
+% for address and publisher. All other types list publishers separately.
+% - "pp." are used to identify page numbers for all entry types except
+% articles.
+% - organization is used as a citation label if neither author nor editor
+% is present (for manuals).
+% - "et al." is used for long author and editor lists, or when "others"
+% is used.
+%
+% Modifications and bug fixes from newapa.bst:
+% ===========================================
+%
+% - added month, year to bib entries if month is present
+% - fixed bug with In proceedings, added necessary comma after title
+% - all conjunctions changed to "and" from "\&"
+% - fixed bug with author labels in my.full.label: "et al." now is
+% generated when "others" is an author name
+% - major modification from Chicago Manual of Style (13th ed.) is that
+% only the first author in a reference appears last name first-
+% additional authors appear as J. Q. Public.
+% - pages are listed as "pp. xx-xx" in all entry types except
+% article entries. Unnecessary (IMHO) "()" around page numbers
+% were removed, and page numbers now don't end with a period.
+% - created chicago.sty for use with this bibstyle (required).
+% - fixed bugs in FUNCTION {format.vol.num.pages} for missing volume,
+% number, and /or pages. Renamed to format.jour.vol.
+% - fixed bug in formatting booktitles: additional period an error if
+% book has a volume.
+% - fixed bug: editors usually given redundant period before next clause
+% (format.editors.dot) removed.
+% - added label support for organizations, if both author and editor
+% are missing (from alpha.bst). If organization is too long, then
+% the key field is used for abbreviated citations.
+% - In proceedings or books of several volumes, no comma was written
+% between the "Volume x" and the page numbers (this was intentional
+% in newapa.bst). Fixed.
+% - Some journals may not have volumes/numbers, only month/year (eg.
+% IEEE Computer). Fixed bug in article style that assumed volume/number
+% was always present.
+%
+% Original documentation for newapa.sty:
+% =====================================
+%
+% This version was made by modifying the master file made by
+% Oren Patashnik (PATASHNIK@SCORE.STANFORD.EDU), and the 'named' BibTeX
+% style of Peter F. Patel-Schneider.
+%
+% Copyright (C) 1985, all rights reserved.
+% Copying of this file is authorized only if either
+% (1) you make absolutely no changes to your copy, including name, or
+% (2) if you do make changes, you name it something other than 'newapa.bst'.
+% There are undoubtably bugs in this style. If you make bug fixes,
+% improvements, etc. please let me know. My e-mail address is:
+% spencer@cgrg.ohio.state.edu or 71160.3141@compuserve.com
+%
+% This style was made from 'plain.bst', 'named.bst', and 'apalike.bst',
+% with lots of tweaking to make it look like APA style, along with tips
+% from Young Ryu and Brian Reiser's modifications of 'apalike.bst'.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ city % jtb: added
+ date % jtb: added
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label.year extra.label sort.year sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t u }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+% Use a colon to separate output. Used only for address/publisher
+% combination in book/inbook types, address/institution for manuals,
+% and organization:publisher for proceedings (inproceedings).
+%
+FUNCTION {output.nonnull.colon}
+{ 's :=
+ output.state mid.sentence =
+ { ": " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.colon}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull.colon
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check.colon}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull.colon
+ if$
+}
+
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { write$
+ " " year * extra.label *
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+%
+% Emphasize the top string on the stack.
+%
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+%
+% Emphasize the top string on the stack, but add a trailing space.
+%
+FUNCTION {emphasize.space}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "\/}" * }
+ if$
+}
+
+%
+% Emphasize the top string on stack, add a trailing comma and space.
+%
+FUNCTION {emphasize.comma}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * ",\/}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+%
+% Format bibliographical entries with the first author last name first,
+% and subsequent authors with initials followed by last name.
+% All names are formatted in this routine.
+%
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr := % nameptr = 1;
+ s num.names$ 'numnames := % numnames = num.name$(s);
+ numnames 'namesleft :=
+ { namesleft #0 > }
+
+ { nameptr #1 =
+ {"{\sc " s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ * "}" * 't := }
+ {"{\sc " s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ * "}" * 't := }
+ if$
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "{\sc others}" =
+ { " {\sc et~al\mbox{.}}" * } % jrh: avoid spacing problems
+ { " {\sc and} " * t * } % from Chicago Manual of Style
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr := % nameptr += 1;
+ namesleft #1 - 'namesleft := % namesleft =- 1;
+ }
+ while$
+}
+
+FUNCTION {my.full.label}
+{ 's :=
+ #1 'nameptr := % nameptr = 1;
+ s num.names$ 'numnames := % numnames = num.name$(s);
+ numnames 'namesleft :=
+ { namesleft #0 > }
+
+ { s nameptr "{vv~}{ll}" format.name$ 't := % get the next name
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al\mbox{.}" * } % jrh: avoid spacing problems
+ { " and " * t * } % from Chicago Manual of Style
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr := % nameptr += 1;
+ namesleft #1 - 'namesleft := % namesleft =- 1;
+ }
+ while$
+
+}
+
+FUNCTION {format.names.fml}
+%
+% Format names in "familiar" format, with first initial followed by
+% last name. Like format.names, ALL names are formatted.
+% jtb: The names are NOT put in small caps
+%
+{ 's :=
+ #1 'nameptr := % nameptr = 1;
+ s num.names$ 'numnames := % numnames = num.name$(s);
+ numnames 'namesleft :=
+ { namesleft #0 > }
+
+ { "{" s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ * "}" * 't :=
+
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "{others}" =
+ { " {et~al\mbox{.}}" * }
+ { " {and} " * t * }
+% { " {\&} " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr := % nameptr += 1;
+ namesleft #1 - 'namesleft := % namesleft =- 1;
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names add.period$} % jtb: add period if none before
+ if$
+}
+
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+%
+% Format editor names for use in the "in" types: inbook, incollection,
+% inproceedings: first initial, then last names. When editors are the
+% LABEL for an entry, then format.editor is used which lists editors
+% by last name first.
+%
+FUNCTION {format.editors.fml}
+{ editor empty$
+ { "" }
+ { editor format.names.fml
+ editor num.names$ #1 >
+ { ", Eds." * } % jtb: removed parentheses
+ { ", Ed." * } % jtb: removed parentheses
+ if$
+ }
+ if$
+}
+
+%
+% Format editor names for use in labels, last names first.
+%
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", Eds." * } % jtb: removed parentheses
+ { ", Ed." * } % jtb: removed parentheses
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+% Note that the APA style requres case changes
+% in article titles. The following does not
+% change cases. If you perfer it, uncomment the
+% following and comment out the above.
+
+%FUNCTION {format.title}
+%{ title empty$
+% { "" }
+% { title }
+% if$
+%}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ edition empty$
+ { title emphasize }
+ { title empty$
+ { title emphasize } % jtb: what is this supposed to do ?!?
+ { "{\em " title * "\/}, " * edition * " ed." * } % jtb: no parens for ed.
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.emphasize.booktitle}
+{ edition empty$
+ { booktitle emphasize }
+ { booktitle empty$
+ { booktitle emphasize } % jtb: what is this supposed to do ?!?
+ { "{\em " booktitle * "\/}, " * edition * " ed." * } % jtb: no ()s for ed.
+ if$
+ }
+ if$
+ }
+
+% jtb: if the preceding string (the title of the conference) is non-empty,
+% jtb: append the location, otherwise leave empty (so as to trigger the
+% jtb: error message in output.check
+FUNCTION {format.city}
+{ duplicate$ empty$
+ { }
+ { city empty$
+ { date empty$
+ { }
+ { " (" * date * ")" * }
+ if$
+ }
+ { date empty$
+ { " (" * city * ")" * }
+ { " (" * city * ", " * date * ")" * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+% jtb: If there is a series, this is added and the volume trails after it.
+% jtb: Otherwise, "Vol" is Capitalized.
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { series empty$
+ { "Vol." volume tie.or.space.connect}
+ { series ", " * "vol." volume tie.or.space.connect *}
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "Number" } % gnp - changed to mixed case always
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { pages n.dashify } % gnp - removed () % jtb: removed pp.
+ { pages }
+ if$
+ }
+ if$
+}
+
+% By Young (and Spencer)
+% GNP - fixed bugs with missing volume, number, and/or pages
+%
+% Format journal, volume, number, pages for article types.
+%
+FUNCTION {format.jour.vol}
+{ journal empty$
+ { "no journal in " cite$ * warning$
+ "" }
+ { journal emphasize.space }
+ if$
+ number empty$
+ { volume empty$
+ { "no number and no volume in " cite$ * warning$
+ "" * }
+ { "~{\em " * Volume * "}" * }
+ if$
+ }
+ { volume empty$
+ {"no volume for " cite$ * warning$
+ "~" * number * }
+ { "~" *
+ volume emphasize.comma
+ "~" * number * * }
+ if$
+ month empty$
+ {}
+ {" (" * month * ")" *}
+ if$
+ }
+ if$
+ pages empty$
+ {"page numbers missing in " cite$ * warning$
+ "" * } % gnp - place a null string on the stack for output
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ", " * pages n.dashify * } % gnp - removed pp. for articles
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "Chapter" } % gnp - changed to mixed case
+ { type "t" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ {"page numbers missing in " cite$ * warning$} % gnp - added check
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+% jtb: format for collections or proceedings not appearing in a journal
+FUNCTION {format.in.emphasize.booktitle}
+{ booktitle empty$
+ { "" }
+ { "In " format.emphasize.booktitle * }
+ if$
+}
+
+% jtb: format for proceedings appearing in a journal
+FUNCTION {format.in.booktitle}
+{ booktitle empty$
+ { "" }
+ { "In " booktitle * }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " format.emphasize.booktitle * }
+ % jtb: swapped editor location
+ { "In " format.emphasize.booktitle * ", " * format.editors.fml * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+% {pop$
+ {{ "" }
+ type "t" change.case$}
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Tech. Rep." }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ "See"
+ "\citeN{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al\mbox{.}" * } % jrh: avoid spacing problems
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al\mbox{.}" * } % jrh: avoid spacing problems
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect % gnp - changed to mixed case
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \citeN{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ "See"
+ " \citeN{" * crossref * "}" *
+}
+
+% format.lab.names:
+%
+% determines "short" names for the abbreviated author information.
+% "Long" labels are created in calc.label, using the routine my.full.label
+% to format author and editor fields.
+%
+% There are 4 cases for labels. (n=3 in the example)
+% a) one author Foo
+% b) one to n Foo, Bar and Baz
+% c) use of "and others" Foo, Bar et al.
+% d) more than n Foo et al.
+%
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #2 > % change number to number of others allowed before
+ % forcing "et al".
+ { s #1 "{vv~}{ll}" format.name$ " et~al\mbox{.}" * } % jrh: \mbox{} added
+ {
+ numnames #1 - 'namesleft :=
+ #2 'nameptr :=
+ s #1 "{vv~}{ll}" format.name$
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al\mbox{.}" * } % jrh: avoid spacing problems
+ { " and " * s nameptr "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ { ", " * s nameptr "{vv~}{ll}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { "no key, author in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { "no key, editor in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+%
+% added - gnp. Provide label formatting by organization if author is null.
+%
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "no key, author or organization in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { organization }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+%
+% added - gnp. Provide label formatting by organization if editor is null.
+%
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "no key, editor or organization in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { organization }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "no key, author, or editor in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+%
+% Changed - GNP. See also author.organization.sort, editor.organization.sort
+% Form label for BibTeX entry. The classification of which fields are used
+% for which type of entry (book, inbook, etc.) are taken from alpha.bst.
+% The change here from newapa is to also include organization as a
+% citation label if author or editor is missing.
+%
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+
+ author empty$ % generate the full label citation information.
+ { editor empty$
+ { organization empty$
+ { "no author, editor, or organization in " cite$ * warning$
+ "??" }
+ { organization }
+ if$
+ }
+ { editor my.full.label }
+ if$
+ }
+ { author my.full.label }
+ if$
+
+% leave label on the stack, to be popped when required.
+
+ "}{" * swap$ * "}{" *
+% year field.or.null purify$ #-1 #4 substring$ *
+%
+% save the year for sort processing afterwards (adding a, b, c, etc.)
+%
+ year field.or.null purify$ #-1 #4 substring$
+ 'label.year :=
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+
+ "\bibitem[\protect\citeauthoryear{" write$
+ calc.label write$
+ sort.year write$
+ "}]{" write$
+
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ crossref missing$
+ { format.jour.vol output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors
+ "author and editor" output.check }
+ { format.authors
+ output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % added
+ new.block
+ format.btitle
+ "title" output.check
+ crossref missing$
+ { new.sentence % jtb: start a new sentence for series/volume
+ format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address "address" output.check % jtb: require address
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ howpublished output
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors
+ "author and editor" output.check
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % added
+ new.block
+ format.btitle
+ "title" output.check
+ crossref missing$
+ { new.sentence % jtb: start a new sentence for series/volume
+ format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address "address" output.check % jtb: require address
+ format.chapter.pages
+ "chapter and pages" output.check % jtb: moved from before publisher
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle
+ "booktitle" output.check
+ new.sentence % jtb: start a new sentence for series/volume
+ format.bvolume output
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address "address" output.check % jtb: require address
+ format.chapter.pages output % gnp - was special.output.nonnull
+% left out comma before page numbers
+ % jtb: moved from before publisher
+ }
+ { format.incoll.inproc.crossref
+ output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ crossref missing$
+ { journal missing$ % jtb: proceedings appearing in journals
+ { format.in.emphasize.booktitle format.city "booktitle" output.check
+ format.editors.fml output
+ new.sentence % jtb: start a new sentence for series/volume
+ format.bvolume output
+ format.number.series output
+ new.sentence
+ organization output
+ publisher "publisher" output.check % jtb: require publisher (?)
+ address "address" output.check % jtb: require address
+ format.pages output % jtb: moved from before publisher
+ }
+ % jtb: new:
+ { format.in.booktitle format.city "booktitle" output.check
+ format.editors.fml output
+ new.sentence
+ format.jour.vol output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { editor empty$
+ { organization "organization" output.check
+ organization format.key output } % if all else fails, use key
+ { format.editors "author and editor" output.check }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ output.year.check % added
+ new.block
+ format.btitle
+ "title" output.check
+ organization address new.block.checkb
+ % jtb: back to normal style: organization, address
+ organization "organization" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ "M.S.\ thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output % added
+ output.year.check % added
+ title howpublished new.block.checkb
+ format.title output
+ new.block
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ format.thesis.type "Ph.D. thesis" output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output
+ organization format.key output } % gnp - changed from author format.key
+ { format.editors output.nonnull }
+ if$
+% author format.key output % gnp - removed (should be either
+% editor or organization
+ output.year.check % added (newapa)
+ new.block
+ format.btitle format.city "title" output.check % jtb: added city
+ new.sentence
+ format.bvolume output
+ format.number.series output
+ new.sentence
+ organization output
+ % jtb: normal order: publisher, address
+ publisher output
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ format.tr.number output % jtb: moved month ...
+ institution "institution" output.check
+ address output
+ new.sentence
+ month output % jtb: ... to here (no parens)
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."} % jtb: corrected: was "March"
+
+MACRO {apr} {"Apr."} % jtb: corrected: was "April"
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acmlett} {"ACM Lett. Program. Lang. Syst."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {ai} {"Artificial Intelligence"}
+
+MACRO {al} {"Ada Lett."}
+
+MACRO {acr} {"Adv. Comput. Res."}
+
+MACRO {bit} {"Bit"}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {cj} {"Comput. J."}
+
+MACRO {cn} {"Comput. Netw."}
+
+MACRO {cl} {"Comput. Lang."}
+
+MACRO {ibmjrd} {"IBM J. Res. and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ict} {"Inf. Contr."}
+
+MACRO {ieebcs} {"IEE/BCS Softw. Eng. J."}
+
+MACRO {ieees} {"IEEE Softw."}
+
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ieeetpds} {"IEEE Trans. Parall. Distrib. Syst."}
+
+MACRO {ieeetit} {"IEEE Trans. Inf. Theory"}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {icp} {"Inf. Comput."}
+
+MACRO {ist} {"Inf. Softw. Tech."}
+
+MACRO {ijsa} {"Int. J. Supercomput. Appl."}
+
+MACRO {ijpp} {"Int. J. Parallel Program."}
+
+MACRO {jlp} {"J. Logic Program."}
+
+MACRO {jfp} {"J. Funct. Program."}
+
+MACRO {jcss} {"J. Comput. Syst. Sci."}
+
+MACRO {jsmrp} {"J. Softw. Maint. Res. Pract."}
+
+MACRO {jss} {"J. Syst. Softw."}
+
+MACRO {jlc} {"J. Logic and Comput."}
+
+MACRO {jlsc} {"J. Lisp Symb. Comput."}
+
+MACRO {lpls} {"Lett. Program. Lang. Syst."}
+
+MACRO {mor} {"Math. Oper. Res."}
+
+MACRO {mscs} {"Math. Struct. Comput. Sci."}
+
+MACRO {mst} {"Math. Syst. Theor."} % jtb: was Math. Syst. Theory
+ % jtb: (if you ask me, I prefer the old way)
+MACRO {ngc} {"New Gen. Comput."}
+
+MACRO {scp} {"Sci. Comput. Program."}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {spe} {"Softw. Pract. Exper."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Graphics"}
+
+MACRO {toms} {"ACM Trans. Math. Softw."}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Program. Lang. Syst."}
+
+MACRO {tcs} {"Theor. Comput. Sci."} % jtb: was Theor. Comp. Sci.
+
+MACRO {tr} {"Tech. Rep."}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { " et~al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ "" }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { "missing author in " cite$ * warning$
+ editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+%
+% added - GNP. Stack author or organization for sorting (from alpha.bst).
+% Unlike alpha.bst, we need entire names, not abbreviations
+%
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { organization sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+%
+% added - GNP. Stack editor or organization for sorting (from alpha.bst).
+% Unlike alpha.bst, we need entire names, not abbreviations
+%
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { organization sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+%
+% Presort creates the bibentry's label via a call to calc.label, and then
+% sorts the entries based on entry type. Chicago.bst adds support for
+% including organizations as the sort key; the following is stolen from
+% alpha.bst.
+%
+{ calc.label sortify % recalculate bibitem label
+ year field.or.null purify$ #-1 #4 substring$ * % add year
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ #1 entry.max$ substring$ % added for newapa
+ 'sort.label := % added for newapa
+ sort.label % added for newapa
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT % by label, year, author/editor, title
+
+STRINGS { last.label next.extra }
+
+INTEGERS { last.extra.num }
+
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+%
+% Pass through all entries, comparing current entry to last one.
+% Need to concatenate year to the stack (done by calc.label) to determine
+% if two entries are the same (see presort)
+%
+{ last.label
+ calc.label year field.or.null purify$ #-1 #4 substring$ * % add year
+ #1 entry.max$ substring$ = % are they equal?
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ calc.label year field.or.null purify$ #-1 #4 substring$ * % add year
+ #1 entry.max$ substring$ 'last.label := % assign to last.label
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label.year extra.label * 'sort.year :=
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT % by sort.label, year, title --- giving final bib. order.
+
+FUNCTION {begin.bib}
+
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$
+}
+
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/biblio/bibtex/contrib/acmtrans/acmtrans2e.cls b/biblio/bibtex/contrib/acmtrans/acmtrans2e.cls
new file mode 100644
index 0000000000..2a67feb385
--- /dev/null
+++ b/biblio/bibtex/contrib/acmtrans/acmtrans2e.cls
@@ -0,0 +1,1243 @@
+% latex2e by nr 7/3/96
+% acmtrans.cls revised 4/19/96
+% revised again 31-JAN-1996 (see end of file)
+% revised 5-14-1997 :
+% Don't use sans-serif font in categories and descriptors
+% include latexsym by default
+% Define longpage and shortpage
+% $Header: acmtrans.sty,v 1.3 96/01/31 13:12:53 boyland Exp $
+% Here is the basic framework that is needed to convert your paper
+% into ACM TOPLAS format and bibliographic format. For a tutorial
+% introduction, see ``acmtr.tex'' (compile it with LaTeX) that
+% accompanies the distribution of this style file.
+%
+% -> \documentclass{acmtrans}
+% -> \markboth{}{}
+% takes 2 arguments and it is for the left- and right-page headers:
+% the first set of braces is assigned for author's name(s)
+% and
+% the second set of braces is assigned for the title
+% (if the title is too long, contraction may be needed
+% -> \title{}
+% if the title is too long, it can be separated by \\
+% -> \author{}
+% author1 \\ author1 affiliation
+% \and
+% author2 \\ author2 affiliation
+% -> \begin{abstract}
+% -> \end{abstract}
+%
+% -> \category{}{}{}
+% takes 3 arguments for the Computing Reviews Classification Scheme.
+% ex: \category{D.3.3}{Programming Languages}{Language Constructs and
+% Features}[data types and structures]
+% the last argument, in square brackets, is optional.
+% -> \terms{} (ex: \terms{Human Factors, Languages})
+% -> \keywords{} (in alphabetical order \keywords{document processing, sequences,
+% string searching, subsequences, substrings})
+% -> \begin{document}
+%
+% -> \begin{bottomstuff}
+% similar to \thanks
+% for authors' addresses; research/grant statements
+% -> \end{bottomstuff}
+% -> \maketitle
+%
+% Now you can start the body of the paper; your figures, tables and
+% use all the latex constructs.
+%
+% -> \begin{acks}
+% acknowledgements
+% -> \end{acks}
+%
+% -> \bibliographystyle{acmtrans}
+% -> \bibliography{mybib_file}
+%
+% ****
+% If your paper has been accepted with a separate (electronic only)
+% appendix, you need to add the following control sequence:
+%
+% -> \appendixhead{}{}{}{}
+% takes 4 arguments to identify your appendix section.
+% first = journal name (e.g. toplas )
+% second = paper-id (a four-digit number)
+% third = year of appearance, for copyright notice
+% (approximation will suffice)
+% fourth = journal, volume and year of publication if known
+%
+% body of appendix
+%!!!!!! \appendixhead has be cut into two: \appendixhead and \elecappendix
+%!!!!!! See end of file. (jtb)
+%
+% -> \end{document}
+%
+% Do not worry about the other definitions in this style file
+% Remember to compile: latex, bibtex, latex latex
+%
+% Bibliographic cite forms needed:
+%
+% \cite{key}
+% which produces citations with author list and year.
+% eg. [Brown 1978; Jarke, et al. 1985]
+% \citeA{key}
+% which produces citations with only the author list.
+% eg. [Brown; Jarke, et al.]
+% \citeN{key}
+% which produces citations with the author list and year, but
+% can be used as nouns in a sentence; no brackets appear around
+% the author names, but only around the year.
+% eg. Shneiderman [1978] states that......
+% \citeN should only be used for a single citation.
+% \citeNN{refkey1,refkey2} for author [ref1year; ref2year]
+% \citeyear{key}
+% which produces the year information only, within brackets.
+%
+% Abbreviated author lists use the ``et al.'' construct.
+%
+% The above are examples of required ACM bibliographic cite formats needed.
+% *******************
+% Here is the complete list of cite forms from the chicago bibliographic style
+%
+% \cite{key}
+% which produces citations with abbreviated author list and year.
+% \citeNP{key}
+% which produces citations with abbreviated author list and year.
+% \citeA{key}
+% which produces only the abbreviated author list.
+% \citeANP{key}
+% which produces only the abbreviated author list.
+% \citeN{key}
+% which produces the abbreviated author list and year, with only the
+% year in parentheses. Use with only one citation.
+% \citeyear{key}
+% which produces the year information only, within parentheses.
+% \citeyearNP{key}
+% which produces the year information only.
+%
+% Abbreviated author lists use the ``et al.'' construct.
+%
+% `NP' means `no parentheses'
+%
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{acmtrans2e} [1996/07/03 ACM Transactions class based on <23 April 96>]
+\RequirePackage{latexsym}
+
+
+\if@compatibility\else
+\DeclareOption{a4paper}
+ {\setlength\paperheight {297mm}%
+ \setlength\paperwidth {210mm}%
+ \def\special@paper{210mm,297mm}}
+\DeclareOption{a5paper}
+ {\setlength\paperheight {210mm}%
+ \setlength\paperwidth {148mm}%
+ \def\special@paper{148mm,210mm}}
+\DeclareOption{b5paper}
+ {\setlength\paperheight {250mm}%
+ \setlength\paperwidth {176mm}%
+ \setlength\voffset {-15mm}%
+ \setlength\hoffset {-20mm}%
+ \def\special@paper{176mm,250mm}}
+\DeclareOption{letterpaper}
+ {\setlength\paperheight {11in}%
+ \setlength\paperwidth {8.5in}%
+ \def\special@paper{8.5in,11in}}
+\DeclareOption{legalpaper}
+ {\setlength\paperheight {14in}%
+ \setlength\paperwidth {8.5in}%
+ \def\special@paper{8.5in,14in}}
+\DeclareOption{executivepaper}
+ {\setlength\paperheight {10.5in}%
+ \setlength\paperwidth {7.25in}%
+ \def\special@paper{7.25in,10.5in}}
+\DeclareOption{landscape}
+ {\setlength\@tempdima {\paperheight}%
+ \setlength\paperheight {\paperwidth}%
+ \setlength\paperwidth {\@tempdima}}
+\fi
+
+\DeclareOption{checkMargin}{\setlength\overfullrule{5pt}}
+\DeclareOption{final}{\setlength\overfullrule{0pt}}
+
+\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
+\DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue}
+
+\DeclareOption{10pt}{\def\@ptsize{0}} %needed for amssymbols.sty
+\DeclareOption{11pt}{\ClassError{acmtrans}{11pt style not supported}
+ {ACM transactions doecuments can be set in 10pt only}}
+\DeclareOption{12pt}{\ClassError{acmtrans}{11pt style not supported}
+ {ACM transactions doecuments can be set in 10pt only}}
+
+\DeclareOption{hyperref}{%
+ \def\pages{\realpageref{@firstpg}--\realpageref{@lastpg}}%
+ \def\mypage{\thepage}%
+ \setlength{\bibitemindent}{-1em}
+ \def\@getpagenum#1#2#3#4{#2}%
+ \def\pdfinfo#1#2{\pdfmark{pdfmark=/DOCINFO,Title=#1,Author=#2}}
+ }
+\DeclareOption{nohyperref}{
+ \def\pages{\pageref{@firstpg}--\pageref{@lastpg}}%
+ \def\@getpagenum#1#2{#2}%
+ \def\mypage{\thepage}%
+ \def\pdfinfo#1#2{}%
+ \def\href#1#2{#2}%
+ \def\pdfbookmark#1#2{}%
+ }
+\DeclareOption{notfinal}{
+ \def\pages{TBD}%
+ \def\mypage{TBD}%
+ \def\@getpagenum#1#2{#2}%
+ \def\pdfinfo#1#2{}%
+ \def\pdfbookmark#1#2{}%
+ }
+\DeclareOption{omitline}{\def\@abstractbottom{\relax}}
+\DeclareOption{dontomitline}{\def\@abstractbottom{\hbox{\vrule height .2pt width 30pc}}}
+\newlength{\bibitemindent}
+\ExecuteOptions{twoside,final,10pt,dontomitline,nohyperref,letterpaper} % defaults
+
+
+
+\ProcessOptions
+
+
+ \widowpenalty=5000
+ \clubpenalty=5000
+
+
+\lineskip 1pt \normallineskip 1pt
+\def\baselinestretch{1}
+
+\renewcommand\normalsize{%
+ \@setfontsize\normalsize\@xpt\@xiipt
+ \abovedisplayskip 6pt plus2pt minus1pt\belowdisplayskip \abovedisplayskip
+ \abovedisplayshortskip 6pt plus0pt minus 3pt
+ \belowdisplayshortskip 6pt plus0pt minus3pt\let\@listi\@listI}
+
+\newcommand\small{%
+ \@setfontsize\small\@ixpt{11pt}%
+ \abovedisplayskip 5pt plus 2pt minus 1pt\belowdisplayskip \abovedisplayskip
+ \abovedisplayshortskip 5pt plus0pt minus2pt\belowdisplayshortskip 5pt plus0pt
+ minus 2pt
+ \def\@listi{\leftmargin\leftmargini \topsep 5pt plus 2pt minus 1pt\parsep 0pt
+ plus .7pt
+ \itemsep 1.6pt plus .8pt}}
+\newcommand\footnotesize{%
+% \@setfontsize\footnotesize\@viiipt{10pt}
+ \@setsize\footnotesize{10pt}\viiipt\@viiipt
+ \abovedisplayskip 4pt plus 1pt minus 0pt\belowdisplayskip \abovedisplayskip
+ \abovedisplayshortskip 4pt plus 0pt minus 1pt\belowdisplayshortskip 4pt plus
+ 0pt minus 1pt
+ \def\@listi{\leftmargin\leftmargini \topsep 4pt plus 1pt minus
+ 0pt\parsep 0pt plus .5pt
+ \itemsep 1pt plus .7pt}}
+
+\newcommand\scriptsize{\@setfontsize\scriptsize\@viipt\@viiipt}
+\newcommand\tiny{\@setfontsize\tiny\@vpt\@vipt}
+\newcommand\large{\@setfontsize\large\@xiipt{14}}
+\newcommand\Large{\@setfontsize\Large\@xivpt{18}}
+\newcommand\LARGE{\@setfontsize\LARGE\@xviipt{20}}
+\newcommand\huge{\@setfontsize\huge\@xxpt{25}}
+\newcommand\Huge{\@setfontsize\Huge\@xxvpt{30}}
+
+\normalsize
+
+ \oddsidemargin .75in \evensidemargin .75in \marginparwidth .5in
+ \marginparsep .125in
+ \topmargin .25in \headheight 12pt\headsep 16pt
+ %% not in latex2e \footheight 10pt
+ \footskip 15pt
+
+\textheight 47pc \textwidth 30pc \columnsep 10pt \columnseprule 0pt
+
+\footnotesep 7pt
+\skip\footins 15pt plus 4pt minus 3pt
+\floatsep 12pt plus 2pt minus 2pt
+\textfloatsep \floatsep
+\intextsep 1pc plus 1pc
+%%% not in 2e %% \@maxsep 1pc
+%%% not in 2e %% \@dblmaxsep 20pt
+\dblfloatsep 12pt plus 2pt minus 2pt
+\dbltextfloatsep 20pt plus 2pt minus 4pt
+\@fptop 0pt plus 1fil \@fpsep 1pc plus 2fil \@fpbot 0pt plus 1fil
+\@dblfptop 0pt plus 1fil \@dblfpsep 8pt plus 2fil \@dblfpbot 0pt plus 1fil
+\marginparpush 6pt
+
+\parskip 0pt plus .1pt \parindent 10pt \partopsep 0pt
+\@lowpenalty 51 \@medpenalty 151 \@highpenalty 301
+\@beginparpenalty -\@lowpenalty \@endparpenalty -\@lowpenalty \@itempenalty
+-\@lowpenalty
+
+
+\def\part{\@ucheadtrue
+ \@startsection{part}{9}{\z@}{-10pt plus -4pt minus
+ -2pt}{4pt}{\reset@font\normalsize\sffamily}}
+\def\section{\@ucheadtrue
+ \@startsection{section}{1}{\z@}{-10pt plus -4pt minus
+ -2pt}{4pt}{\reset@font\normalsize\sffamily}}
+\def\subsection{\@ucheadfalse
+ \@startsection{subsection}{2}{\z@}{-8pt plus -2pt minus
+ -1pt}{4pt}{\reset@font\normalsize\sffamily}}
+\def\subsubsection{\@ucheadfalse
+ \@startsection{subsubsection}{3}{\parindent}{6pt plus
+1pt}{-5pt}{\reset@font\normalsize\itshape}}
+\def\paragraph{\@ucheadfalse
+ \@startsection{paragraph}{3}{\parindent}{6pt plus
+1pt}{-5pt}{\reset@font\normalsize\itshape}}
+
+\renewcommand{\@seccntformat}[1]{\textup{\csname the#1\endcsname}}
+
+\gdef\@period{.}
+\def\@trivlist{\@topsepadd\topsep
+\if@noskipsec \gdef\@period{}\leavevmode\gdef\@period{.}\fi
+ \ifvmode \advance\@topsepadd\partopsep \else \unskip\par\fi
+ \if@inlabel \@noparitemtrue \@noparlisttrue
+ \else \@noparlistfalse \@topsep\@topsepadd \fi
+ \advance\@topsep \parskip
+ \leftskip\z@\rightskip\@rightskip \parfillskip\@flushglue
+ \@setpar{\if@newlist\else{\@@par}\fi} \global\@newlisttrue
+\@outerparskip\parskip}
+
+
+\def\@startsection#1#2#3#4#5#6{%
+ \if@noskipsec \leavevmode \fi
+ \par
+ \@tempskipa #4\relax
+ \@afterindenttrue
+ \ifdim \@tempskipa <\z@
+ \@tempskipa -\@tempskipa \@afterindentfalse
+ \fi
+ \if@nobreak
+ \everypar{}%
+ \else
+ \addpenalty\@secpenalty\addvspace\@tempskipa
+ \fi
+ \@ifstar
+ {\@ssect{#3}{#4}{#5}{#6}}%
+ {\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}}
+\def\@sect#1#2#3#4#5#6[#7]#8{%
+ \ifnum #2>\c@secnumdepth
+ \let\@svsec\@empty
+ \else
+ \refstepcounter{#1}%
+ \if@uchead%
+ \protected@edef\@svsec{\@seccntformat{#1}.\quad\relax}%
+ \else%
+ \protected@edef\@svsec{\@seccntformat{#1}\quad\relax}%
+ \fi%
+ \fi
+ \@tempskipa #5\relax
+ \ifdim \@tempskipa>\z@
+ \begingroup
+ #6{%
+ \@hangfrom{\hskip #3\relax\@svsec}%
+ \interlinepenalty \@M \if@uchead\MakeUppercase{#8}\else#8\fi \@@par}%
+ \endgroup
+ \csname #1mark\endcsname{#7}%
+ \addcontentsline{toc}{#1}{%
+ \ifnum #2>\c@secnumdepth \else
+ \protect\numberline{\csname the#1\endcsname}%
+ \fi
+ #7}%
+ \else
+ \def\@svsechd{%
+ #6{\hskip #3\relax
+ \@svsec \if@uchead\Makeuppercase{#8}\else#8\fi}%
+ \csname #1mark\endcsname{#7}%
+ \addcontentsline{toc}{#1}{%
+ \ifnum #2>\c@secnumdepth \else
+ \protect\numberline{\csname the#1\endcsname}%
+ \fi
+ #7}}%
+ \fi
+ \@xsect{#5}}
+
+\def\@xsect#1{\@tempskipa #1\relax
+ \ifdim \@tempskipa>\z@
+ \par \nobreak
+ \vskip \@tempskipa
+ \@afterheading
+ \else \global\@nobreakfalse \global\@noskipsectrue
+ \everypar{\if@noskipsec \global\@noskipsecfalse
+ \clubpenalty\@M \hskip -\parindent
+ \begingroup \@svsechd\@period \endgroup \unskip
+ \hskip -#1
+ \else \clubpenalty \@clubpenalty
+ \everypar{}\fi}\fi\ignorespaces}
+\newif\if@uchead\@ucheadfalse
+
+
+\setcounter{secnumdepth}{3}
+\newcounter{secnumbookdepth}
+\setcounter{secnumbookdepth}{3}
+
+\newfont{\apbf}{cmbx9}
+
+\def\@withappendix#1{App--\number #1}
+
+\newcommand{\elecappendix}{
+}
+
+\def\appenheader{\global\@topnum\z@ \global\@botroom \textheight \begin{figure}
+\newfont{\sc}{cmcsc10}
+\parindent\z@
+\hbox{}
+\vskip -\textfloatsep
+\vskip 11pt
+\hrule height .2pt width 30pc
+\vskip 2pt\rule{0pt}{10pt}\ignorespaces}
+\def\endappenheader{\end{figure}\gdef\appendixhead{}}
+
+\def\@appsec{}
+
+\def\appendix{\par
+ \setcounter{section}{0}
+ \setcounter{subsection}{0}
+ \def\@appsec{APPENDIX }
+ \def\thesection{\Alph{section}}
+ \def\theHsection{\Alph{section}}}
+
+
+
+\labelsep 5pt
+\settowidth{\leftmargini}{(9)} \addtolength\leftmargini\labelsep
+\settowidth{\leftmarginii}{(b)} \addtolength\leftmarginii\labelsep
+\leftmarginiii \leftmarginii
+\leftmarginiv \leftmarginii
+\leftmarginv \leftmarginii
+\leftmarginvi \leftmarginii
+\leftmargin\leftmargini
+\labelwidth\leftmargini\advance\labelwidth-\labelsep
+\def\@listI{\leftmargin\leftmargini \parsep 0pt plus 1pt\topsep 6pt plus 2pt
+minus 2pt\itemsep 2pt plus 1pt minus .5pt}
+\let\@listi\@listI
+\@listi
+\def\@listii{\leftmargin\leftmarginii
+ \labelwidth\leftmarginii\advance\labelwidth-\labelsep
+ \topsep 0pt plus 1pt
+ \parsep 0pt plus .5pt
+ \itemsep \parsep}
+\def\@listiii{\leftmargin\leftmarginiii
+ \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
+ \topsep 0pt plus 1pt
+ \parsep 0pt plus .5pt
+ \itemsep \parsep}
+\def\@listiv{\leftmargin\leftmarginiv
+ \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
+\def\@listv{\leftmargin\leftmarginv
+ \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
+\def\@listvi{\leftmargin\leftmarginvi
+ \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
+
+
+
+
+\def\enumerate{\ifnum \@enumdepth >3 \@toodeep\else
+ \advance\@enumdepth \@ne
+ \edef\@enumctr{enum\romannumeral\the\@enumdepth}\list
+ {\csname label\@enumctr\endcsname}{\usecounter
+ {\@enumctr}\def\makelabel##1{##1\hss}}\fi}
+\def\longenum{\ifnum \@enumdepth >3 \@toodeep\else
+ \advance\@enumdepth \@ne
+ \edef\@enumctr{enum\romannumeral\the\@enumdepth}\list
+ {\csname label\@enumctr\endcsname}{\usecounter
+ {\@enumctr}\labelwidth\z@}\fi}
+%\leftmargin\z@ \itemindent\parindent}\fi} - this indents each item in enumerate
+\let\endlongenum\endlist
+%%--------------------CHANGED: always roman parentheses. dave ---------------%%
+\def\labelenumi{{\rm (}\arabic{enumi}\/{\rm )}}
+\def\theenumi{\arabic{enumi}}
+\def\labelenumii{{\rm (}\alph{enumii}\rm{)}}
+\def\theenumii{\alph{enumii}}
+\def\p@enumii{\theenumi}
+\def\labelenumiii{\roman{enumiii}.}
+\def\theenumiii{\roman{enumiii}}
+\def\p@enumiii{\theenumi{\rm (}\theenumii{\rm )}}
+\def\labelenumiv{\Alph{enumiv}.}
+\def\theenumiv{\Alph{enumiv}}
+\def\p@enumiv{\p@enumiii\theenumiii}
+
+\def\p@enumiv{\p@enumiii\theenumiii}
+
+\def\itemize{\list{---\hskip -\labelsep}{\settowidth
+ {\leftmargin}{---}\labelwidth\leftmargin
+ \addtolength{\labelwidth}{-\labelsep}}}
+\let\enditemize\endlist
+\def\longitem{\list{---}{\labelwidth\z@
+ \leftmargin\z@ \itemindent\parindent \advance\itemindent\labelsep}}
+\let\endlongitem\endlist
+\def\verse{\let\\=\@centercr
+ \list{}{\leftmargin 2pc
+ \itemindent -1.5em\listparindent \itemindent
+ \rightmargin\leftmargin\advance\leftmargin 1.5em}\item[]}
+\let\endverse\endlist
+\def\quotation{\list{}{\leftmargin 2pc \listparindent .5em
+ \itemindent\listparindent
+ \rightmargin\leftmargin \parsep 0pt plus 1pt}\item[]}
+\let\endquotation=\endlist
+\def\quote{\list{}{\leftmargin 2pc \rightmargin\leftmargin}\item[]}
+\let\endquote=\endlist
+
+\def\description{\list{}{\listparindent\parindent\labelwidth\z@
+ \leftmargin\z@ \itemindent\parindent\advance\itemindent\labelsep
+ \def\makelabel##1{\it ##1.}}}
+\let\enddescription\endlist
+
+\def\describe#1{\list{}{\listparindent\parindent\settowidth{\labelwidth}{#1}\leftmargin
+ \labelwidth\addtolength\leftmargin\labelsep\def\makelabel##1{##1\hfil}}}
+\let\enddescribe\endlist
+
+\def\program{\ifx\@currsize\normalsize\small \else \rm \fi\tabbing}
+\let\endprogram\endtabbing
+ \def\@begintheorem#1#2{\trivlist \item[\hskip 10pt\hskip
+ \labelsep{\sc #1\hskip 5pt\relax#2.}] \itshape}
+ \def\@opargbegintheorem#1#2#3{\trivlist
+ \item[\hskip 10pt \hskip \labelsep{\sc #1\savebox\@tempboxa{#3}\ifdim
+ \wd\@tempboxa>\z@ \hskip 5pt\relax \box\@tempboxa\fi.}] \itshape}
+
+\newif\if@qeded\global\@qededfalse
+\def\proof{\global\@qededfalse\@ifnextchar[{\@xproof}{\@proof}}
+\def\endproof{\if@qeded\else\qed\fi\endtrivlist}
+\def\qed{\unskip\kern 10pt{\unitlength1pt\linethickness{.4pt}\framebox(6,6){}}
+\global\@qededtrue}
+\def\@proof{\trivlist \item[\hskip 10pt\hskip
+ \labelsep{\sc Proof.}]\ignorespaces}
+\def\@xproof[#1]{\trivlist \item[\hskip 10pt\hskip
+ \labelsep{\sc Proof #1.}]\ignorespaces}
+
+\def\newdef#1#2{\expandafter\@ifdefinable\csname #1\endcsname
+{\@definecounter{#1}\expandafter\xdef\csname
+the#1\endcsname{\@thmcounter{#1}}\global
+ \@namedef{#1}{\@defthm{#1}{#2}}\global
+ \@namedef{end#1}{\@endtheorem}}}
+\def\@defthm#1#2{\refstepcounter
+ {#1}\@ifnextchar[{\@ydefthm{#1}{#2}}{\@xdefthm{#1}{#2}}}
+\def\@xdefthm#1#2{\@begindef{#2}{\csname the#1\endcsname}\ignorespaces}
+\def\@ydefthm#1#2[#3]{\trivlist \item[\hskip 10pt\hskip
+ \labelsep{\it #2\savebox\@tempboxa{#3}\ifdim
+ \wd\@tempboxa>\z@ \ \box\@tempboxa\fi.}]\ignorespaces}
+\def\@begindef#1#2{\trivlist \item[\hskip 10pt\hskip
+ \labelsep{\it #1\ \rm #2.}]}
+
+\def\theequation{\arabic{equation}}
+
+\def\titlepage{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn
+ \else \newpage \fi \thispagestyle{empty}\c@page\z@}
+\def\endtitlepage{\if@restonecol\twocolumn \else \newpage \fi}
+
+\arraycolsep 2.5pt \tabcolsep 6pt \arrayrulewidth .4pt \doublerulesep 2pt
+\tabbingsep \labelsep
+
+\skip\@mpfootins = \skip\footins
+\fboxsep = 3pt \fboxrule = .4pt
+
+\newcounter{part}
+\newcounter{section}
+\newcounter{subsection}[section]
+\newcounter{subsubsection}[subsection]
+\newcounter{paragraph}[subsubsection]
+
+\def\thepart{\Roman{part}}
+\def\thesection {\arabic{section}}
+\def\thesubsection {\thesection.\arabic{subsection}}
+\def\thesubsubsection {\thesubsection.\arabic{subsubsection}}
+\def\theparagraph {\thesubsubsection.\arabic{paragraph}}
+
+\def\@pnumwidth{1.55em}
+\def\@tocrmarg {2.55em}
+\def\@dotsep{4.5}
+\setcounter{tocdepth}{3}
+
+\def\tableofcontents{\section*{Contents\@mkboth{CONTENTS}{CONTENTS}}
+ \@starttoc{toc}}
+\def\l@part#1#2{\addpenalty{\@secpenalty}
+ \addvspace{2.25em plus 1pt} \begingroup
+ \@tempdima 3em \parindent \z@ \rightskip \@pnumwidth \parfillskip
+-\@pnumwidth
+ {\large \bf \leavevmode #1\hfil \hbox to\@pnumwidth{\hss #2}}\par
+ \nobreak \endgroup}
+\def\l@section#1#2{\addpenalty{\@secpenalty} \addvspace{1.0em plus 1pt}
+\@tempdima 1.5em \begingroup
+ \parindent \z@ \rightskip \@pnumwidth
+ \parfillskip -\@pnumwidth
+ \bf \leavevmode #1\hfil \hbox to\@pnumwidth{\hss #2}\par
+ \endgroup}
+\def\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}}
+\def\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}}
+\def\listoffigures{\section*{List of Figures\@mkboth
+ {LIST OF FIGURES}{LIST OF FIGURES}}\@starttoc{lof}}
+\def\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
+\def\listoftables{\section*{List of Tables\@mkboth
+ {LIST OF TABLES}{LIST OF TABLES}}\@starttoc{lot}}
+\let\l@table\l@figure
+
+
+\def\thebibliography#1{\par\footnotesize
+\@ucheadfalse
+\@startsection{subsection}{2}{\z@}{16pt plus 2pt minus
+ 1pt}{2pt}{\sf}*{REFERENCES}%
+\list{\arabic{enumi}.}{%
+ \settowidth{\labelwidth}{99.}%
+ \leftmargin\labelwidth
+ \advance\leftmargin\labelsep \topsep \z@ \parsep 0pt plus .1pt
+ \itemsep \parsep
+ \usecounter{enumi}}%
+ \def\newblock{\hskip .11em plus .33em minus .07em}
+ \sloppy
+ \widowpenalty=10000
+ \clubpenalty=10000
+ \sfcode`\.=1000\relax}
+\let\endthebibliography=\endlist
+
+
+\newif\if@restonecol
+\def\theindex{\@restonecoltrue\if@twocolumn\@restonecolfalse\fi
+\columnseprule \z@
+\columnsep 35pt\twocolumn[\section*{Index}]
+ \@mkboth{INDEX}{INDEX}\thispagestyle{plain}\parindent\z@
+ \parskip\z@ plus .3pt\relax\let\item\@idxitem}
+\def\@idxitem{\par\hangindent 40pt}
+\def\subitem{\par\hangindent 40pt \hspace*{20pt}}
+\def\subsubitem{\par\hangindent 40pt \hspace*{30pt}}
+\def\endtheindex{\if@restonecol\onecolumn\else\clearpage\fi}
+\def\indexspace{\par \vskip 10pt plus 5pt minus 3pt\relax}
+
+\def\footnoterule{\kern-3\p@
+ \hrule \@height 0.2\p@ \@width 47\p@
+ \kern 2.6\p@
+}
+
+\long\def\@makefntext#1{\parindent 1em\noindent
+ $^{\@thefnmark}$#1}
+
+
+\setcounter{topnumber}{3}
+\def\topfraction{.99}
+\setcounter{bottomnumber}{1}
+\def\bottomfraction{.5}
+\setcounter{totalnumber}{3}
+\def\textfraction{.01}
+\def\floatpagefraction{.85}
+\setcounter{dbltopnumber}{2}
+\def\dbltopfraction{.7}
+\def\dblfloatpagefraction{.5}
+
+\long\def\@makecaption#1#2{\vskip 1pc \setbox\@tempboxa\hbox{#1.\hskip
+1em\relax #2}
+ \ifdim \wd\@tempboxa >\hsize #1. #2\par \else \hbox
+to\hsize{\hfil\box\@tempboxa\hfil}
+ \fi}
+
+\def\nocaption{\refstepcounter\@captype \par
+ \vskip 1pc \hbox to\hsize{\hfil \footnotesize Figure \thefigure
+ \hfil}}
+
+
+\newcounter{figure}
+\def\thefigure{\@arabic\c@figure}
+\def\fps@figure{tbp}
+\def\ftype@figure{1}
+\def\ext@figure{lof}
+\def\fnum@figure{Fig.\ \thefigure}
+\def\figure{\let\normalsize\footnotesize \normalsize \@float{figure}}
+\let\endfigure\end@float
+\@namedef{figure*}{\@dblfloat{figure}}
+\@namedef{endfigure*}{\end@dblfloat}
+
+\newcounter{table}
+\def\thetable{\@Roman\c@table}
+\def\fps@table{tbp}
+\def\ftype@table{2}
+\def\ext@table{lot}
+\def\fnum@table{Table \thetable}
+\def\table{\let\normalsize\footnotesize \normalsize\@float{table}}
+\let\endtable\end@float
+\@namedef{table*}{\@dblfloat{table}}
+\@namedef{endtable*}{\end@dblfloat}
+\def\acmtable#1{\@narrowfig #1\relax
+ \let\caption\@atcap \let\nocaption\@atnocap
+ \def\@tmpnf{}\@ifnextchar[{\@xntab}{\@ntab}}
+\def\endacmtable{\hbox to \textwidth{\hfil
+\vbox{\hsize \@narrowfig
+\box\@nfcapbox
+{\baselineskip 4pt \hbox{\vrule height .4pt width \hsize}}
+\vskip -1pt
+\box\@nfigbox\vskip -1pt
+{\baselineskip 4pt \hbox{\vrule height .4pt width \hsize}}}\hfil}
+\end@float}
+\def\@xntab[#1]{\def\@tmpnf{[#1]}\@ntab}
+\def\@ntab{\expandafter\table\@tmpnf
+ \setbox\@nfigbox\vbox\bgroup
+ \hsize \@narrowfig \@parboxrestore}
+\def\@atmakecap #1#2{\setbox\@tempboxa\hbox{#1.\hskip 1em\relax #2}
+ \ifdim \wd\@tempboxa >\hsize \sloppy #1.\hskip 1em\relax #2 \par \else \hbox
+to\hsize{\hfil\box\@tempboxa\hfil}
+ \fi}
+\def\@atcap{\par\egroup\refstepcounter\@captype
+ \@dblarg{\@atcapx\@captype}}
+\long\def\@atcapx#1[#2]#3{\setbox\@nfcapbox\vbox {\hsize \wd\@nfigbox
+ \@parboxrestore
+ \@atmakecap{\csname fnum@#1\endcsname}{\ignorespaces #3}\par}}
+\def\@atnocap{\egroup \refstepcounter\@captype
+ \setbox\@nfcapbox\vbox {\hsize \wd\@nfigbox
+ \hbox to\hsize{\hfil \footnotesize Table \thetable\hfil}}}
+
+%
+%% Narrow figures
+%
+\def\narrowfig#1{\@narrowfig #1\relax
+ \let\caption\@nfcap \let\nocaption\@nfnocap
+ \def\@tmpnf{}\@ifnextchar[{\@xnfig}{\@nfig}}
+\def\endnarrowfig{\hbox to \textwidth{\if@nfeven
+ \box\@nfcapbox\hfil\box\@nfigbox
+ \else \box\@nfigbox\hfil\box\@nfcapbox\fi}\end@float}
+\def\@xnfig[#1]{\def\@tmpnf{[#1]}\@nfig}
+\def\@nfig{\expandafter\figure\@tmpnf
+ \setbox\@nfigbox\vbox\bgroup
+ \hsize \@narrowfig \@parboxrestore}
+\def\@nfmakecap #1#2{\setbox\@tempboxa\hbox{#1.\hskip 1em\relax #2}
+ \ifdim \wd\@tempboxa >\hsize \sloppy #1.\hskip 1em\relax #2 \par \else \hbox
+to\hsize{\if@nfeven\else\hfil\fi\box\@tempboxa\if@nfeven\hfil\fi}
+ \fi}
+\def\@nfcap{\par\egroup\refstepcounter\@captype
+ \@dblarg{\@nfcapx\@captype}}
+\long\def\@nfcapx#1[#2]#3{\@seteven
+ \setbox\@nfcapbox\vbox to \ht\@nfigbox
+ {\hsize \textwidth \advance\hsize -2pc \advance\hsize -\wd\@nfigbox
+ \@parboxrestore
+ \vfil
+ \@nfmakecap{\csname fnum@#1\endcsname}{\ignorespaces #3}\par
+ \vfil}}
+\def\@nfnocap{\egroup \refstepcounter\@captype \@seteven
+ \setbox\@nfcapbox\vbox to \ht\@nfigbox
+ {\hsize \textwidth \advance\hsize -2pc \advance\hsize -\wd\@nfigbox
+ \@parboxrestore
+ \vfil
+ \hbox to\hsize{\if@nfeven\else\hfil\fi
+ \footnotesize Figure \thefigure
+ \if@nfeven\hfil\fi}
+ \vfil}}
+\def\@seteven{\@nfeventrue
+ \@ifundefined{r@@nf\thefigure}{}{%
+ \edef\@tmpnf{\csname r@@nf\thefigure\endcsname}%
+ \edef\@tmpnf{\expandafter\@getpagenum\@tmpnf}%
+ \ifodd\@tmpnf\relax\@nfevenfalse\fi}%
+\label{@nf\thefigure}\edef\@tmpnfx{\if@nfeven e\else o\fi}
+\edef\@tmpnf{\write\@unused {\noexpand\ifodd \noexpand\c@page
+ \noexpand\if \@tmpnfx e\noexpand\@nfmsg{\thefigure} \noexpand\fi
+ \noexpand\else
+ \noexpand\if \@tmpnfx o\noexpand\@nfmsg{\thefigure}\noexpand\fi
+ \noexpand\fi }}\@tmpnf}
+\def\@nfmsg#1{Bad narrowfig: Figure #1 on page \thepage}
+
+\newdimen\@narrowfig
+\newbox\@nfigbox
+\newbox\@nfcapbox
+\newif\if@nfeven
+
+\def\and{\\ and\\}
+\def\maketitle{\newpage \thispagestyle{titlepage}\par
+ \begingroup \lineskip = \z@\null \vskip -30pt\relax
+ \parindent\z@ \LARGE {\raggedright \hyphenpenalty\@M
+ \sf \@title \par}
+\label{@firstpg}
+{ \vskip 13.5pt\relax \normalsize \sf %vskip 13.5pt between title and author
+ \begingroup \addtolength{\baselineskip}{2pt}
+ \@author\par \vskip -2pt
+ \endgroup }
+ {\ifx \@categories\@empty
+ \else
+ \baselineskip 17pt\relax
+ \hbox{\vrule height .2pt width 30pc}}
+ \vskip 8.5pt \footnotesize \box\@abstract \vskip 4pt\relax %vskip8.5 space above abstract
+ {\def\and{\unskip\/{\rm ; }}
+ Categories and Subject Descriptors: \@categories \fi}\par\vskip 4pt\relax
+ \box\@terms \vskip 4pt\relax
+ \box\@keywords \par
+ {\baselineskip 14pt\relax
+ \@abstractbottom
+ }
+ \vskip 23pt\relax
+ \endgroup
+\let\maketitle\relax
+ % \gdef\@author{}\gdef\@title{}
+ \gdef\@categories{}}
+
+
+\newbox\@abstract
+\newbox\@terms
+\newbox\@keywords
+\def\abstract{\global\setbox\@abstract=\vbox\bgroup \everypar{}
+ \footnotesize \hsize 30pc \parindent 10pt \noindent
+ \rule{0pt}{10pt}\ignorespaces}
+\def\endabstract{\egroup}
+
+\def\terms#1{\setbox\@terms=\vbox{\everypar{}
+ \footnotesize \hsize 30pc \parindent 0pt \noindent
+ General Terms: \ignorespaces #1}}
+\def\keywords#1{\setbox\@keywords=\vbox{\everypar{}
+ \footnotesize \hsize 30pc \parindent 0pt \noindent
+ Additional Key Words and Phrases: \ignorespaces #1}
+}
+
+\def\category#1#2#3{\@ifnextchar
+ [{\@category{#1}{#2}{#3}}{\@xcategory{#1}{#2}{#3}}}
+\def\@category#1#2#3[#4]{\edef\@tempa{\ifx \@categories\@empty
+ \else ; \fi}{\def\protect{\noexpand\protect
+ \noexpand}\def\and{\noexpand\and}\xdef\@categories{\@categories\@tempa #1
+[{\bf #2}]:
+ #3\kern\z@---\hskip\z@{\it #4}}}}
+\def\@xcategory#1#2#3{\edef\@tempa{\ifx \@categories\@empty \else ;
+\fi}{\def\protect{\noexpand\protect\noexpand}\def\and{\noexpand
+ \and}\xdef\@categories{\@categories\@tempa #1 [{\bf #2}]: #3}}}
+\def\@categories{}
+\def\bottomstuff{\global\@topnum\z@ \global\@botroom \textheight \begin{figure}
+\parindent\z@
+\hbox{}
+\vskip -\textfloatsep
+\vskip 10pt
+\hrule height .2pt width 30pc
+\vskip 2pt\rule{0pt}{10pt}\ignorespaces}
+\def\endbottomstuff{\end{figure}\gdef\permission{}}
+
+\newenvironment{ackslike}[1]
+ {\par \footnotesize
+ \@ucheadfalse
+ \@startsection{subsection}{2}{\z@}{-16pt plus -2pt minus -1pt}{2pt}{\sf}*
+ {\uppercase{#1}}\par\normalsize
+ \pdfbookmark{Acknowledgments}{Ack}
+ }
+ {\par}
+\newenvironment{acks}{\begin{ackslike}{ACKNOWLEDGMENTS}}{\end{ackslike}}
+
+\def\received{\par\footnotesize\addvspace{18pt plus 0pt minus
+4pt}\parindent\z@}
+\def\endreceived{\label{@lastpg}\hskip-2pt\par}
+
+\mark{{}{}}
+
+\def\ps@myheadings{\let\@mkboth\@gobbletwo
+\def\@oddhead{\hbox{}\hfill \small\sf \rightmark\hskip
+19pt{\Large$\cdot$}\hskip 17pt\mypage}
+\def\@oddfoot{\hbox{}\hfill\tiny\@runningfoot}
+\def\@evenhead{\small\sf\mypage \hskip 17pt{\Large$\cdot$}\hskip 19pt\leftmark\hfill \hbox{}}
+\def\@evenfoot{\tiny\@runningfoot\hfill\hbox{}}
+\def\sectionmark##1{}\def\subsectionmark##1{}}
+\def\@runningfoot{}
+\def\runningfoot#1{\def\@runningfoot{#1}}
+\def\@firstfoot{}
+\def\firstfoot#1{\def\@firstfoot{#1}}
+\def\ps@titlepage{\let\@mkboth\@gobbletwo
+\def\@oddhead{}\def\@oddfoot{\hbox{}\hfill
+\tiny\@firstfoot}\def\@evenhead{}\def\@evenfoot{\tiny\@firstfoot\hfill\hbox{}}}
+
+\def\today{\ifcase\month\or
+ January\or February\or March\or April\or May\or June\or
+ July\or August\or September\or October\or November\or December\fi
+ \space\number\day, \number\year}
+\def\@marrayclassiv{\@addtopreamble{$\displaystyle \@nextchar$}}
+\def\@marrayclassz{\ifcase \@lastchclass \@acolampacol \or \@ampacol \or
+ \or \or \@addamp \or
+ \@acolampacol \or \@firstampfalse \@acol \fi
+\edef\@preamble{\@preamble
+ \ifcase \@chnum
+ \hfil$\relax\displaystyle\@sharp$\hfil \or $\relax\displaystyle\@sharp$\hfil
+ \or \hfil$\relax\displaystyle\@sharp$\fi}}
+\def\marray{\arraycolsep 2.5pt\let\@acol\@arrayacol \let\@classz\@marrayclassz
+ \let\@classiv\@marrayclassiv \let\\\@arraycr\def\@halignto{}\@tabarray}
+\def\endmarray{\crcr\egroup\egroup}
+
+
+\ps@myheadings \pagenumbering{arabic} \onecolumn
+
+%-----------------------BIBLIOGRAPHY STUFF-------------------------
+% this is adapted (November 1993) by Andrew Appel and Rebecca Davies from
+%
+%%% filename = "chicago.sty",
+%%% version = "4", % MODIFIED!
+%%% date = "31 August 1992",
+%%% time = "09:42:44 199",
+%%% author = "Glenn Paulley",
+%%% address = "Data Structuring Group
+%%% Department of Computer Science
+%%% University of Waterloo
+%%% Waterloo, Ontario, Canada
+%%% N2L 3G1",
+%%% telephone = "(519) 885-1211",
+%%% FAX = "(519) 885-1208",
+%%% email = "gnpaulle@bluebox.uwaterloo.ca",
+
+%%% ====================================================================
+%
+% this file: Modification of chicago.sty for new ACM bibliography
+% style, which is similar (but not identical) to the ``Chicago'' style.
+%
+% chicago.sty: Style file for use with bibtex style chicago.bst, for
+% bibliographies formatted according to the 13th Edition of the Chicago
+% Manual of Style.
+%
+% 'newapa.bst' was made from 'plain.bst', 'named.bst', and 'apalike.bst',
+% with lots of tweaking to make it look like APA style, along with tips
+% from Young Ryu and Brian Reiser's modifications of 'apalike.bst'.
+% newapa.sty formed the basis of this style, chicago.sty. Author-date
+% references in newapa.bst formed the basis for chicago.bst. Chicagoa.bst
+% supports annotations.
+%
+% Version 4 (August, 1992):
+% - fixed chicago.bst and chicagoa.bst to handle long author lists in
+% sorting
+% - fixed chicago.bst and chicagoa.bst so that missing page numbers in
+% ``article'' entries are handled correctly
+% - modified chicago.sty to format entries with 2nd and subsequent lines
+% indented.
+%
+% Citation format: (author-last-name year)
+% (author-last-name and author-last-name year)
+% (author-last-name et al. year)
+% (author-last-name)
+% author-last-name
+% author-last-name (year)
+% (author-last-name and author-last-name)
+% (author-last-name et al.)
+% (year) or (year,year)
+% year or year,year
+%
+% Reference list ordering: alphabetical by author or whatever passes
+% for author in the absence of one.
+%
+% This BibTeX style has support for abbreviated author lists and for
+% year-only citations. This is done by having the citations
+% actually look like
+%
+% \citeauthoryear{full-author-info}{abbrev-author-info}{year}
+%
+% The LaTeX style has to have the following (or similar)
+%
+% \let\@internalcite\cite
+% \def\fullcite{\def\citeauthoryear##1##2##3{##1, ##3}\@internalcite}
+% \def\fullciteA{\def\citeauthoryear##1##2##3{##1}\@internalcite}
+% \def\shortcite{\def\citeauthoryear##1##2##3{##2, ##3}\@internalcite}
+% \def\shortciteA{\def\citeauthoryear##1##2##3{##2}\@internalcite}
+% \def\citeyear{\def\citeauthoryear##1##2##3{##3}\@internalcite}
+%
+%
+% -------------------------------------------------------------------------
+%
+% Citation macros.
+%
+\let\@internalcite\cite
+
+\def\cite{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{[##1\if@tempswa , ##2\fi]}%
+ \def\citeauthoryear##1##2##3{##2 ##3}\@internalcite}
+\def\citeXNP#1#2{%
+ \def\@cite@label{#2}%
+ \def\@cite##1##2{##1\if@tempswa , ##2\fi}%
+ \def\citeauthoryear##1##2##3{\@cite@label}\@internalcite{#1}}
+% \def\@citeseppen{-1000}%
+% \def\@cite@label{#1}
+% \def\@cite##1##2{\if@tempswa ##2\fi}%
+% \def\citeauthoryear##1##2##3{##2 ##3}\@internalcite}
+\def\citeNP{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{##1\if@tempswa , ##2\fi}%
+ \def\citeauthoryear##1##2##3{##2 ##3}\@internalcite}
+\def\citeN{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{##1\if@tempswa , ##2]\else{]}\fi}%
+ \def\citeauthoryear##1##2##3{##2 [##3}\@citedata}
+\def\shortciteN{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{##1\if@tempswa , ##2]\else{]}\fi}%
+ \def\citeauthoryear##1##2##3{##2 [##3}\@citedata}
+\def\citeS#1{[\citeANP{#1} \citeyearNP{#1}]}
+\def\citeNS#1{\citeANP{#1} \citeyear{#1}}
+\def\citeNPS#1{\citeANP{#1} \citeyearNP{#1}}
+\def\citeNN{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{[##1\if@tempswa , ##2\fi]}%
+ \def\citeauthoryear##1##2##3{##3}\@citedata}
+
+\def\citeA{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{[##1\if@tempswa , ##2\fi]}%
+ \def\citeauthoryear##1##2##3{##2}\@internalcite}
+\def\citeANP{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{##1\if@tempswa , ##2\fi}%
+ \def\citeauthoryear##1##2##3{##2}\@internalcite}
+
+\def\citeyear{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{[##1\if@tempswa , ##2\fi]}%
+ \def\citeauthoryear##1##2##3{##3}\@citedata}
+\def\citeyearNP{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{##1\if@tempswa , ##2\fi}%
+ \def\citeauthoryear##1##2##3{##3}\@citedata}
+
+%
+% \@citedata and \@citedatax:
+%
+% Place commas in-between citations in the same \citeyear, \citeyearNP,
+% or \citeN command.
+% Use something like \citeN{ref1,ref2,ref3} and \citeN{ref4} for a list.
+%
+\def\@citedata{%
+ \@ifnextchar [{\@tempswatrue\@citedatax}%
+ {\@tempswafalse\@citedatax[]}%
+}
+
+\def\@citedatax[#1]#2{%
+\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi%
+ \def\@citea{}\@cite{\@for\@citeb:=#2\do%
+ {\@citea\def\@citea{; }\@ifundefined% by Young
+ {b@\@citeb}{{\bf ?}%
+ \@warning{Citation `\@citeb' on page \thepage \space undefined}}%
+{\csname b@\@citeb\endcsname}}}{#1}}%
+
+% don't box citations, separate with ; and a space
+% also, make the penalty between citations negative: a good place to break.
+%
+\def\@citex[#1]#2{%
+\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi%
+ \def\@citea{}\@cite{\@for\@citeb:=#2\do%
+ {\@citea\def\@citea{; }\@ifundefined% by Young
+ {b@\@citeb}{{\bf ?}%
+ \@warning{Citation `\@citeb' on page \thepage \space undefined}}%
+{\csname b@\@citeb\endcsname}}}{#1}}%
+
+% (from apalike.sty)
+% No labels in the bibliography.
+%
+\def\@biblabel#1{}
+
+% (from apalike.sty)
+% Set length of hanging indentation for bibliography entries.
+%
+\newlength{\bibhang}
+\setlength{\bibhang}{2em}
+
+% Indent second and subsequent lines of bibliographic entries. Stolen
+% from openbib.sty: \newblock is set to {}.
+
+\newdimen\bibindent
+\bibindent=1em
+\@ifundefined{refname}%
+ {\@ifundefined{chapter}%
+ {\newcommand{\refname}{\footnotesize REFERENCES}}%
+ {\newcommand{\refname}{\footnotesize BIBLIOGRAPHY}}%
+ }%
+ {}%
+\@ifundefined{chapter}%
+ {\def\thebibliography#1{\footnotesize \section*{\refname\@mkboth
+ {\uppercase{\refname}}{\uppercase{\refname}}}\list
+ {[\arabic{enumi}]}{
+ \settowidth\labelwidth{[#1]}
+ \leftmargin\labelwidth
+ \advance\leftmargin\labelsep
+ \advance\leftmargin\bibindent
+ \itemindent -\bibindent
+ \listparindent \itemindent
+ \parsep \z@
+ \usecounter{enumi}}
+ \def\newblock{}
+ \sloppy
+ \sfcode`\.=1000\relax}}
+ {\def\thebibliography#1{\footnotesize \chapter*{\refname\@mkboth
+ {\uppercase{\refname}}{\uppercase{\refname}}}\list
+ {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}
+ \leftmargin\labelwidth
+ \advance\leftmargin\labelsep
+ \advance\leftmargin\bibindent
+ \itemindent -\bibindent
+ \listparindent \itemindent
+ \parsep \z@
+ \usecounter{enumi}}
+ \def\newblock{}
+ \sloppy
+ \sfcode`\.=1000\relax}}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% fixes to acm trans macro package
+% 31-JAN-1996
+% John Tang Boyland
+
+% newdef need to take the optional parameters of newtheorem
+\def\newdef#1{\@ifnextchar[{\@xnewdef{#1}}{\@ynewdef{#1}}}
+\def\@xnewdef#1[#2]#3{\newtheorem{italic@#1}[#2]{{\em #3}}\@newdef{#1}}
+\def\@ynewdef#1#2{\@ifnextchar[{\@xynewdef{#1}{#2}}{\@yynewdef{#1}{#2}}}
+\def\@xynewdef#1#2[#3]{\newtheorem{italic@#1}{{\em #2}}[#3]\@newdef{#1}}
+\def\@yynewdef#1#2{\newtheorem{italic@#1}{{\em #2}}\@newdef{#1}}
+% and now fix up definition, to change body to use roman font:
+\def\@newdef#1{\newenvironment{#1}{\@ifnextchar[{\@xstartdef{#1}}{\@ystartdef{#1}}}{\end{italic@#1}}}
+\def\@xstartdef#1[#2]{\begin{italic@#1}[#2]\rm}
+\def\@ystartdef#1{\begin{italic@#1}\rm}
+
+% footers produced too small (vpt), when ACM typsets them at 7.5pt (!).
+% A better compromise is viipt.
+\def\@oddfoot{\hbox{}\hfill\scriptsize\@runningfoot}
+\def\@evenfoot{\scriptsize\@runningfoot\hfill\hbox{}}
+
+% first footer was set to (vpt), when ACM typesets them at 6.5pt (!).
+% A better compromise is vipt.
+\def\firstfootsize{\@setsize\firstfootsize{7pt}\vipt\@vipt}
+\def\ps@titlepage{\let\@mkboth\@gobbletwo
+\def\@oddhead{}\def\@oddfoot{\hbox{}\hfill\firstfootsize\@firstfoot}%
+\def\@evenhead{}\def\@evenfoot{\firstfootsize\@firstfoot\hfill\hbox{}}}
+
+% new permission statement
+\long\def\permission{\par
+% linebreaks added to conform to the current style
+Permission to make digital/hard copy of all or part of this material without
+fee
+for personal or classroom use
+provided that the copies are not made or distributed for profit
+or commercial advantage, the ACM copyright/server notice, the title of the
+publication, and its date appear, and notice is given that copying is by
+permission of the ACM, Inc. To copy
+otherwise, to republish, to post on servers, or to redistribute to lists
+requires prior specific
+permission and/or a fee.\par}
+
+% make sure \permission doesn't get trashed
+\def\endbottomstuff{\end{figure}}
+
+% alternate way of using citeyear
+\def\shortcite#1{\citeyear{#1}}
+
+% enumerations and longenums are wrong
+% 1. the second line in a paragraph of an enumerations in theorems
+% (or other trivlists) doesn't line up under the first
+% 1. the second line of a longenum doesn't properly wrap around
+% back to the left margin.
+
+% the original definition of \@listI doesn't set labelwidth
+\def\@listI{\leftmargin\leftmargini
+ \labelwidth\leftmargini\advance\labelwidth-\labelsep
+ \parsep 0pt plus 1pt
+ \topsep 6pt plus 2pt minus 2pt
+ \itemsep 2pt plus 1pt minus .5pt}
+\let\@listi\@listI
+\@listi
+
+% add set of \labelwidth and \itemindent
+\def\longenum{\ifnum \@enumdepth >3 \@toodeep\else
+ \advance\@enumdepth \@ne
+ \edef\@enumctr{enum\romannumeral\the\@enumdepth}\list
+ {\csname label\@enumctr\endcsname}{\usecounter
+ {\@enumctr}\labelwidth\z@\leftmargin\z@
+ \itemindent\parindent \advance\itemindent\labelsep}\fi}
+
+% split electronic appendix into two parts:
+
+\def\appendixhead#1#2#3{
+{#1} available only online.
+You should be able to get the online-only {#2} from the citation page
+for this article:
+\smallskip
+
+\quad \href{#3}{{\small #3}}
+\smallskip
+
+Alternative instructions on how to obtain online-only appendices
+are given on the back inside cover of current issues of ACM TOPLAS
+or on the ACM TOPLAS web page: \nopagebreak \smallskip
+
+ \quad \href{http://www.acm.org/toplas}{{\small http://www.acm.org/toplas} }}
+
+\long\def\elecappendix#1#2#3#4{
+\clearpage
+\makeatletter
+\pagenumbering{withappendix}
+\makeatother
+\appendix
+\par\noindent{\sc This document is the online-only appendix to:}\hfill \vskip 1em
+{\vbox{\Large\sf \parindent0pt\@title{}}}\vskip .5em
+\vbox{\sf \parindent0pt\@author{}}\vskip .5em\noindent
+\vskip 10pt\noindent
+{\firstfootsize #3}
+\vskip 11pt\noindent
+\hrule height .2pt
+\par
+\bottomstuff
+\permission
+\par
+#4
+\par
+\endbottomstuff
+}
+
+% provide for a single acknowledgment
+\def\ack{ \par \footnotesize
+\@ucheadfalse
+\@startsection{subsection}{2}{\z@}{-16pt plus -2pt minus
+ -1pt}{2pt}{\sf}*{ACKNOWLEDGMENT}\par\normalsize
+\pdfbookmark{Acknowledgment}{Ack}
+}
+\def\endack{\par}
+
+% provide both spellings of Acknowledgment(s)
+\let\acknowledgments\acks
+\let\endacknowledgments\endacks
+\let\acknowledgment\ack
+\let\endacknowledgment\endack
+
+\newcommand{\longpage}{\enlargethispage{\baselineskip}}
+\newcommand{\shortpage}{\enlargethispage{-\baselineskip}}
+
+
+% Don't indent bibliography and
+% override \refname (which sets fontsize):
+\def\thebibliography#1{
+ \footnotesize\section*{\footnotesize\sf{REFERENCES}\@mkboth
+ {\uppercase{\refname}}{\uppercase{\refname}}}\pdfbookmark{References}{Ref}\list
+ {\@biblabel{\arabic{enumiv}}}{%
+ %\settowidth\labelwidth{[#1]}
+ \labelwidth 0pt
+ \leftmargin \bibindent
+ \labelsep 0pt
+ \itemindent -\bibindent
+ \listparindent -\bibindent
+ \labelsep -\bibindent
+ \usecounter{enumiv}%
+ \let\p@enumiv\@empty
+ \def\theenumiv{\arabic{enumiv}}}%
+ \def\newblock{\hskip .11em plus.33em minus.07em}%
+ \sloppy
+ \clubpenalty=4500
+ \widowpenalty=4500
+ \frenchspacing}
+\def\endthebibliography{%
+ \def\@noitemerr{\@warning{Empty `thebibliography' environment}}%
+ \endlist}
+\def\@lbibitem[#1]#2{\item[]\if@filesw
+ {\def\protect##1{\string ##1\space}\immediate
+ \write\@auxout{\string\bibcite{#2}{#1}}}\fi\hspace{\bibitemindent}\ignorespaces}
+% Fix cite so it doesn't repeat author lists in citations:
+
+\def\cite{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{[##1\if@tempswa , ##2\fi]}%
+ \let\@lastauthor=\@noauthor
+ \let\citeauthoryear=\citeauthoryear@no@repeats\@internalcite}
+ %\def\citeauthoryear##1##2##3{##2 ##3}\@internalcite
+
+\def\@noauthor={\relax}
+\let\@lastauthor=\@noauthor
+\let\@currauthor=\@noauthor
+
+\def\citeauthoryear@no@repeats#1#2#3{%
+ \def\@currauthor{\csname @author #1\endcsname}%
+ \ifx\@lastauthor\@currauthor{#3}\else{#2 #3}\fi%
+ \let\@lastauthor=\@currauthor}
+
+\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
+\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
+\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
+\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
+\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
+\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
+\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
+\DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal}
+\DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal}
+
+
+\firstfoot{ACM Transactions on Programming Languages and Systems,
+ Vol.\ TBD, No.\ TDB, Month Year,
+Pages \pages.}
+
+\runningfoot{ACM Transactions on Programming Languages and Systems,
+ Vol.\ TBD, No.\ TDB, Month Year.}
diff --git a/biblio/bibtex/contrib/alpha-persian/README.txt b/biblio/bibtex/contrib/alpha-persian/README.txt
new file mode 100644
index 0000000000..0bd5c9b13b
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/README.txt
@@ -0,0 +1,83 @@
+%----------------------------------------------------------------------------------------------------------------------------%
+%----------------------------------------------------------------------------------------------------------------------------%
+Bib. style "alpha-persian", Persian (farsi) version of alpha.bst and also for pdflatex compiler.
+ by: Shapour Madadpour February 2019
+E-mail: madad_sh@yahoo.com
+This package is dependent to XePersian Package for persian language and also without it for pdflatex with help of the following commands:
+%%%%%\let\lr\relax %\let\setlatin\relax %\let\resetlatinfont\relax %\newenvironment{LTRbibitems}{}{}%%%%
+This work is author-maintained (as per LPPL maintenance status)
+by Shapour Madadpour
+%>>>%It has two user guide for persian language users (alpha-persian-p.userguide) and english language users (alpha-persian-l.userguide).
+%----------------------------------------------------------------------------------------------------------------------------%
+
+Thanks to Mahmoud Amintoosi and Mostafa Vahedi for creating the other bibtex styles in persian.
+%----------------------------------------------------------------------------------------------------------------------------%
+
+For XePersian, a Persian Typesetting Package in XeTeX and also for pdflatex.
+It may be distributed and/or modified under the
+conditions of the LaTeX Project Public License (version 1.3c),
+either this version of this license or (at your option) any later version.
+%-----------------------------------------------------------------------------------------------------------------------------%
+
+% BibTeX standard bibliography style `alpha'
+ % Version 0.99b (8-Dec-10 release) for BibTeX versions 0.99a or later.
+ % Copyright (C) 1984, 1985, 1988, 2010 Howard Trickey and Oren Patashnik.
+ % Unlimited copying and redistribution of this file are permitted as long as
+ % it is unmodified. Modifications (and redistribution of modified versions)
+ % are also permitted, but only if the resulting file is renamed to something
+ % besides btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+%------------------------------------------------------------------------------------------------------------------------------%
+
+ This style has all of properties alpha style. in addition to:
+%++++++%%++++++++++++++++++++++++++++++++++++++++++++% Changes %++++++%%+++++++++++++++++++++++++++++++++++++++++++++++++%
+%>>+ The title structure, has essentially changed.
+%>>+ isbn Added. It Writes in Persian style "شابک"..
+%>>+ issn Added. It Writes in Persian style ""شاپا"".
+%>>+ doi Added. It Writes in Persian style "شناسه‌ی دیجیتال".
+%>>+ slabel Added. slabel field is used for arbitrary label.
+%>>+ mlabel Added. mlabel field is used for a part of manual alpha style (just for author name and \etalchar) label in persian.
+%>>+ madadurltest Added. madadurltest field is needed for title (with link).
+%>>+ murl Added. murl field is used for when you want to your title be with link.
+%>>+ quotation Added. quotation field is used for when you want to your title be with quotation mark.
+%>>+ Compatible with hyperref, url, natbib and cite packages
+%>>>+ This style has\noopsort command for sort the references manually.
+%-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------%
+%-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------%
+
+address
+author % Set for english and persian language(LTR and RTL text).with et~al in persian and english.
+booktitle
+chapter % Set for english and persian language(LTR and RTL text).
+doi %---Added and set for english and persian language(LTR and RTL text)---%It Writes in Persian style "شناسه‌ی دیجیتال".
+edition % Set for english and persian language(LTR and RTL text).
+editor % Set for english and persian language(LTR and RTL text).
+howpublished
+institution
+isbn %---Added and it set for english and persian language(LTR and RTL text)---%It Writes in Persian style "شابک".
+issn %---Added and it set for english and persian language(LTR and RTL text)---%It Writes in Persian style "شاپا".
+journal
+key
+language %---Added and it set for persian language(RTL text)---%
+madadurltest %---Added and it set for english and persian language(LTR and RTL text)---%madadurltest={1},(with murl field)
+ % is needed for title with link(this structure different from key structure).
+mlabel %---Added and it set for english and persian language(LTR and RTL text)---%mlabel field is used for a part of manual alpha style (just for author name
+ %---and \etalchar) label in persian.
+month
+murl %---Added and set for english and persian language(LTR and RTL text)---%murl field is used for when you want to your title be with link(with madadurltest={1} field).
+note
+number % Set for english and persian language(LTR and RTL text).
+organization
+pages % Set for english and persian language(LTR and RTL text).
+publisher
+quotation %---Added and set for english and persian language(LTR and RTL text)---%quotation field is used for when you want to your title be with quotation mark.
+school
+series % Set for english and persian language(LTR and RTL text).
+slabel %---Added and set for english and persian language(LTR and RTL text)---%slabel field is used for arbitrary label.(this structure different from key structure).
+title % The title structure, has essentially changed. You can link it by fill in the murl field with madadurltest={1} in the bibfile. Also you can show title with
+ % or Without. quotation mark by fill in the questiton field in the bibfile.
+type
+url %---Added and set for english and persian language(LTR and RTL text)---%
+volume % Set for english and persian language(LTR and RTL text).
+year \ No newline at end of file
diff --git a/biblio/bibtex/contrib/alpha-persian/alpha-persian-l.userguide.pdf b/biblio/bibtex/contrib/alpha-persian/alpha-persian-l.userguide.pdf
new file mode 100644
index 0000000000..f213ce4dfc
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/alpha-persian-l.userguide.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/alpha-persian/alpha-persian-l.userguide.tex b/biblio/bibtex/contrib/alpha-persian/alpha-persian-l.userguide.tex
new file mode 100644
index 0000000000..1aa7191bdf
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/alpha-persian-l.userguide.tex
@@ -0,0 +1,592 @@
+\documentclass{article}
+\usepackage{xcolor}
+\usepackage{float}
+\parindent0pt
+\usepackage[pagebackref=true,colorlinks,linkcolor=blue,citecolor=green!80!black]{hyperref}
+\usepackage{amssymb}
+\usepackage{amsmath}
+\usepackage{verbatim}
+\usepackage{fancyvrb}
+\usepackage{xcolor}
+\usepackage{ragged2e}
+\newcommand*\justifyv{%
+\fontdimen2\font=0.4em
+\fontdimen3\font=0.2em
+\fontdimen4\font=0.1em
+\fontdimen7\font=0.1em
+\hyphenchar\font=`\-
+}
+\usepackage{fancyhdr}
+%\usepackage{url}
+\usepackage[compress]{cite}
+%باید دوبار خروجی بگیرید.
+%\usepackage[numbers,sort&compress]{natbib}
+\usepackage{graphicx}
+\usepackage{xepersian}
+\settextfont{Yas}
+\newcommand{\PRL}[1]{\RL{\Parsifont #1}}
+\DefineVerbatimEnvironment{rtlverbatim}{Verbatim}{commandchars=+\[\]}
+\newfontfamily\Parsifont[Script=Arabic]{XB Niloofar}
+\newcommand{\prl}[1]{\RL{\Parsifont #1}}
+\newcommand{\pdflatex}{P\!\!\reflectbox{\raisebox{-1mm}{{\small D}}}F\LaTeX}
+\pagestyle{fancy}
+\fancyhf{}
+\rhead[OR]{\lr{\thepage}}
+\lhead[EL]{\lr{\leftmark}}
+\renewcommand{\headrulewidth}{1pt}
+\renewcommand{\footrulewidth}{1pt}
+\fancyfoot[C]{{\lr{\color{green!50!black} By Shapour Madadpour}}}
+\begin{document}
+\begin{latin}\tableofcontents
+\paragraph{\color{red!50!black} version: 1.3}
+\paragraph{\color{red!50!black}10 March 2019}
+\section{\lr{alpha-persian.bst with \XeLaTeX}} \label{12}
+\noindent
+Bib style ``alpha-persian", Persian (farsi) version of alpha.bst (RTL and LTR references).\\
+\begin{Verbatim}[fontsize=\bf,commandchars=\^\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{red!50!black}]
+By: Shapour Madadpour
+E-mail: madad_sh@yahoo.com
+\end{Verbatim}
+{\color{red}$\hookrightarrow$ First Compile:} XeLaTex-BibTeX-XeLaTex-XeLaTex\\
+With this compile, persian references set at the end of latin references.\\
+{\tt\color{blue} Sample:}
+\end{latin}
+\begin{Verbatim}[numbers=left,fontsize=\bf,commandchars=\^\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{green!50!black}]
+@article{karamzadeh2012prime,
+author={Karamzadeh, Omid Ali Shahny},
+title={The Prime Avoidance Lemma Revisited},
+key={7},
+journal={Kyungpook mathematical journal},
+volume={52},
+number={2},
+pages={149^raisebox#.5mm--* ^!^!^!153},
+year={2012},
+quotation={1},
+publisher={Department of Mathematics, Kyungpook National University}
+}
+@phdthesis{mmm,
+title={^prl#Ùضای توپولوژی*},
+author={^prl# رضایی علی‌آباد,علی*},
+journal={Kyungpook mathematical journal},
+pages={1163^raisebox#.5mm--* ^!^!^!1171},
+LANGUAGE ={Persian},
+mlabel={^prl#ا.Ù….Ù*},
+murl={http://www.w3.org/TR/prov-o/},
+series={second series},
+year={2002},
+chapter={5},
+quotation={1},
+school={^prl#دانشگاه چمران اهواز*},
+}
+\end{Verbatim}
+\begin{figure}[H]
+\centering
+\includegraphics[width=\textwidth,height=3cm]{image/sh11}
+\end{figure}
+\begin{latin}\noindent
+{\color{red}$\hookrightarrow$ Second Compile:} XeLaTex-BibTeX 8 bit-XeLaTex-XeLaTex\\
+{\tt txs:///xelatex |bibtex8 -W -c cp1256fa %.aux| txs:///xelatex|txs:///
+xelatex.}\\
+With this compile, latin references set at the end of persian references.\\
+{\tt\color{blue} Sample:}
+\end{latin}
+\begin{figure}[H]
+\centering
+\includegraphics[width=\textwidth,height=3cm]{image/sht}
+\end{figure}
+\begin{latin}\noindent
+{\tt {\color{red}$\hookrightarrow$ quotation mark for title automatically.}}\\
+{\tt\color{blue} Sample:}
+\end{latin}
+\begin{Verbatim}[numbers=left,fontsize=\bf,commandchars=\^\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{green!50!black}]
+@article{karamzadeh2012prime,
+author={Karamzadeh, Omid Ali Shahny},
+title={The Prime Avoidance Lemma Revisited},
+key={7},
+journal={Kyungpook mathematical journal},
+volume={52},
+number={2},
+pages={149^raisebox#.5mm--* ^!^!^!153},
+year={2012},
+quotation={1},
+madadurltest={1},
+murl={http://www.w3.org/TR/prov-o/},
+publisher={Department of Mathematics, Kyungpook National University}
+}
+@phdthesis{mmm,
+title={^prl#Ùضای توپولوژی*},
+author={^prl#رضایی علی‌آباد,علی*},
+journal={Kyungpook mathematical journal},
+pages={1163^raisebox#.5mm--* ^!^!^!1171},
+LANGUAGE={Persian},
+mlabel={^prl#ا.Ù….Ù*},
+madadurltest={1},
+quotation={1},
+murl={http://www.w3.org/TR/prov-o/},
+series={second series},
+year={2002},
+chapter={5},
+school={^prl#دانشگاه چمران اهواز*},
+}
+\end{Verbatim}
+\begin{figure}[H]
+\centering
+\includegraphics[width=\textwidth,height=3cm]{image/sh2}
+\end{figure}
+\begin{latin}\noindent
+{\tt {\color{red}$\hookrightarrow$ with or without link for title automatically with hyperref\\ package.}}\\
+{\tt\color{blue} Sample:}
+\begin{Verbatim}[numbers=left,fontsize=\bf,commandchars=\^\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{green!50!black}]
+\usepackage[pagebackref=true,colorlinks,linkcolor=blue]{hyperref}
+\usepackage{xepersian}
+\settextfont{Yas}
+\end{Verbatim}
+\end{latin}
+\begin{figure}[H]
+\centering
+\includegraphics[width=\textwidth,height=3cm]{image/sh3}
+\end{figure}
+\begin{latin}\noindent
+{\tt {\color{red}$\hookrightarrow$ in addition to url with url and hyperref packages, it can\\ have url feild without them.}}\\
+{\tt\color{blue} Sample with hyperref package:}
+\end{latin}
+\begin{Verbatim}[numbers=left,fontsize=\bf,commandchars=\^\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{green!50!black}]
+@article{karamzadeh2012prime,
+author={Karamzadeh, Omid Ali Shahny},
+title={The Prime Avoidance Lemma Revisited},
+key={7},
+journal={Kyungpook mathematical journal},
+volume={52},
+number={2},
+pages={149--153},
+year={2012},
+quotation={1},
+url={http://www.w3.org/TR/prov-o/},
+publisher={Department of Mathematics, Kyungpook National University}
+}
+@phdthesis{mmm,
+title={^prl#Ùضای توپولوژی*},
+author={^prl#رضایی علی‌آباد,علی*},
+journal={Kyungpook mathematical journal},
+pages={1163^raisebox#.5mm--* ^!^!^!1171},
+LANGUAGE={Persian},
+mlabel={^prl#ا.Ù….Ù*},
+madadurltest={1},
+quotation={1},
+murl={http://www.w3.org/TR/prov-o/},
+series={second series},
+year={2002},
+url={http://www.w3.org/TR/prov-o/},
+chapter={5},
+school={^prl#دانشگاه چمران اهواز*},
+}
+\end{Verbatim}
+\begin{figure}[H]
+\centering
+\includegraphics[width=\textwidth,height=3cm]{image/sh4}
+\end{figure}
+
+\begin{latin}
+{\tt {\color{blue}Sample without url and hyperref packages:}}
+\end{latin}\noindent
+\begin{figure}[H]
+\centering
+\includegraphics[width=\textwidth,height=3.5cm]{image/sh5}
+\end{figure}
+
+\begin{latin}
+{\tt{\color{red}$\hookrightarrow$ issn+isbn+doi+et~al in english and persian bibstyle:}}\\
+{ isbn Added. It Writes in Persian style \rl{"شابک``}.\\
+ issn Added. It Writes in Persian style \rl{"شاپا``}.\\
+doi Added. It Writes in Persian style\rl{"شناسه‌ی دیجیتال``}.}\\
+{\rl{"شابک``}, \rl{"شاپا``} and \rl{"شناسه‌ی دیجیتال``} for {\color{blue} first time} in persian bib style}\\
+{\tt\color{blue} Sample:}
+\begin{Verbatim}[numbers=left,fontsize=\bf,commandchars=\&\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{green!50!black}]
+@inbook{d,
+AUTHOR={&prl#مددپور, شاپور* and &prl#مددپور, محمدحسین* and &prl#سایرین*},
+mlabel={&prl#مدد$^+$*},
+TITLE={&prl#همریختی و بروریختی در حلقه‌ها*},
+JOURNAL={&prl#مجله‌ی گرا٠Ùارس*},
+VOLUME ={1},
+YEAR={1395},
+MONTH={&prl#بهار*},
+PAGES={39&raisebox#.5mm--* &!&!&!43},
+quotation={1},
+LANGUAGE={Persian},
+url={http://www.w3.org/TR/prov-o/},
+doi={01.1000/doi-0121},
+isbn={123456789000},
+edition={&prl#دوم*},
+series={&prl#سری دوم*},
+number={10},
+chapter={5},
+madadurltest={1},
+murl={http://www.w3.org/TR/prov-o/},
+publisher={&prl#انتشارات دل آهنگ*},
+note={&prl#یک یادداشت اختیاری در این‌جا می‌توانید وارد کنید*},
+address={&prl#آدرس منتشر کننده*},
+}
+@book{kuznetsov1998elements,
+title={Elements of applied bifurcation theory},
+volume={112},
+madadurltest={1},
+year={1998},
+edition={third},
+publisher={Springer Verlag},
+murl={http://www.w3.org/TR/prov-o/},
+isbn={123456789000},
+number={10},
+pages={10&raisebox#.5mm--* &!&!&!19},
+series={second series},
+chapter={5},
+issn={1111-2222},
+doi={01.1000/doi-0121},
+editor={Kuznetsov, Y.A. and edward, Y.A.},
+address={The address of the publisher},
+}
+\end{Verbatim}
+\end{latin}
+\begin{figure}[H]
+\centering
+\includegraphics[width=\textwidth,height=5.5cm]{image/sh6}
+\end{figure}
+\begin{latin}
+{\tt {\color{red}$\hookrightarrow$ Flexible for each defined label with appropriative field.}}\\
+{\tt\color{blue} Sample:}
+\end{latin}
+\begin{Verbatim}[numbers=left,fontsize=\bf,commandchars=\&\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{green!50!black}]
+slabel={$\checkmark\checkmark\checkmark$},
+OR
+slabel={$\spadesuit$},
+OR
+slabel={$\clubsuit$},
+\end{Verbatim}
+\begin{figure}[H]
+\centering
+\includegraphics[width=\textwidth,height=8cm]{image/sh7}
+\end{figure}
+
+\begin{latin}
+{\tt{\color{red}$\hookrightarrow$ in addition to general label, we can choose numbering label.}}\\
+{\tt\color{blue} Sample:}
+\begin{Verbatim}[numbers=left,fontsize=\bf,commandchars=\&\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{green!50!black}]
+slabel={1},
+OR
+slabel={2},
+OR
+slabel={3},
+OR
+slabel={4},
+\end{Verbatim}
+\end{latin}
+\begin{figure}[H]
+\centering
+\includegraphics[width=\textwidth,height=7cm]{image/sh8}
+\end{figure}
+\begin{latin}
+{\tt {\color{red}$\hookrightarrow$ Compatible with hyperref, url, natbib and cite packages.}}
+\end{latin}
+\begin{latin}
+\begin{verbatim}
+\usepackage[numbers]{natbib}
+\usepackage[compress]{cite}
+\end{verbatim}
+{\tt\color{blue} Sample:}
+\end{latin}
+\begin{figure}[H]
+\centering
+\includegraphics[width=\textwidth,height=9cm]{image/sh9}
+\end{figure}
+\begin{latin}
+{\tt {\color{red}$\hookrightarrow$ you can sort persian references together and also
+english \linebreak references together and you can sort both of them together (mixed)\linebreak too with the help of
+\verb|\noopsort| command.}}\\
+{\tt\color{blue} Sample:}\\
+{\color{blue}$\hookrightarrow$ Compile: XeLaTex-BibTeX-XeLaTex-XeLaTex}
+\end{latin}
+\begin{Verbatim}[numbers=left,fontsize=\bf,commandchars=\&\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{green!50!black}]
+@misc{whatever,
+AUTHOR="{\noopsort{2}}{Madadpour},Ahmad ",
+quotation={1},
+year={2001},
+chapter={5},
+title={Testing the effects of bibtex styles on bibliography formatting},
+murl={http://www.w3.org/TR/prov-o/},
+doi={01.1000/doi-0121},
+madadurltest={1},
+key={665},
+}
+@misc{B02f,
+howpublished={How it was published},
+AUTHOR="{\noopsort{4}}{Madadpour},Shapour ",
+year={2002},
+quotation={1},
+title={First},
+pages={13&raisebox#.5mm--* &!&!&!17},
+madadurltest={1},
+mlabel={$\checkmark^+$},
+murl={http://www.w3.org/TR/prov-o/},
+chapter={5},
+}
+@article{aliabad2004rings,
+title={reference test-Rings of continuous functions vanishing at infinity},
+AUTHOR= "{\noopsort{6}}{Madadpour},Alireza ",
+journal={Commentationes Mathematicae Universitatis Carolinae},
+volume={45},
+pages={519&raisebox#.5mm--* &!&!&!533},
+quotation={1},
+year={2004},
+murl={http://www.w3.org/TR/prov-o/},
+madadurltest={1},
+publisher={Charles University in Prague, Faculty of Mathematics and Physics},
+}
+@article{ali,
+title={reference test-Pasting topological spaces at one point},
+AUTHOR= "{\noopsort{8}}{Madadpour},Mahmood ",
+journal={Czechoslovak Mathematical Journal},
+volume={56},
+number={4},
+pages={1193&raisebox#.5mm--* &!&!&!1206},
+quotation={1},
+year={2006},
+publisher={Springer},
+url={http://www.w3.org/TR/prov-o/},
+}
+@article{Amintoosi87afzayesh,
+TITLE={&prl#اÙزایش وضوح ناحیه‌ای*},
+BOOKTITLE={&prl#چهاردهمین Ú©Ù†Ùرانس ملی سالانه انجمن کامپیوتر ایران*},
+author={{\noopsort{1}}{&prl#امین‌طوسی*}&prl#محمود, * and &prl# مزینی ,ناصر*and &prl#سایرین*},
+YEAR ={1387},
+ORGANIZATION={&prl#دانشگاه امیرکبیر*},
+ADDRESS={&prl#تهران، ایران*},
+journal={&prl#نام مجله‌ی چاپ‌کننده*},
+month={&prl#اسÙند*},
+doi={01.1000/doi-0121},
+edition={&prl#ششم*},
+volume={45},
+number={3},
+pages={101&raisebox#.5mm--* &!&!&!108},
+issn={1111&raisebox#.5mm-* &!&!&!2222},
+madadurltest={1},
+chapter={5},
+quotation={1},
+LANGUAGE={Persian},
+mlabel={ا.م$^+$},
+slabel={$\heartsuit$},
+murl={http://www.w3.org/TR/prov-o/},
+}
+@inbook{d,
+AUTHOR={{\noopsort{1}}{&prl#مددپور*}&prl#شاپور, * and &prl# مددپور ,محمدحسین*and &prl#سایرین*},
+mlabel={&prl#مدد$^+$*},
+TITLE={&prl#همریختی و بروریختی در حلقه‌ها*},
+JOURNAL={&prl#مجله‌ی گرا٠Ùارس*},
+VOLUME={1},
+YEAR={1395},
+MONTH={&prl#بهار*},
+PAGES={39&raisebox#.5mm--* &!&!&!43},
+quotation={1},
+LANGUAGE={Persian},
+doi={&prl#01.1000/doi*&raisebox#.5mm-* &!&!&!0121},
+isbn={123456789000},
+edition={&prl#دوم*},
+series={&prl#سری دوم*},
+number={10},
+chapter={5},
+madadurltest={1},
+murl={http://www.w3.org/TR/prov-o/},
+publisher={&prl#انتشارات دل آهنگ*},
+note={&prl#یک یادداشت اختیاری در این‌جا می‌توانید وارد کنید*},
+address={‌&prl#آدرس منتشر کننده*},
+slabel={$\bigstar$},
+}
+@phdthesis{mmm,
+title={&prl#Ùضای توپولوژی*},
+author={{\noopsort{5}}{&prl#رضایی علی‌آباد*}&prl#علی,*},
+journal={Kyungpook mathematical journal},
+pages={1163&raisebox#.5mm--* &!&!&!1171},
+LANGUAGE ={Persian},
+mlabel={&prl#ا.Ù….Ù*},
+madadurltest={1},
+quotation={1},
+murl={http://www.w3.org/TR/prov-o/},
+series={second series},
+year={2002},
+url={http://www.w3.org/TR/prov-o/},
+chapter={5},
+school={&prl#دانشگاه چمران اهواز*},
+}
+@inbook{yu,
+author={{\noopsort{1}}{&prl#نامداری*}&prl#مهرداد, * and &prl# کوچک‌پور ,عبدعلی*},
+mlabel ={&prl#ن.ا.م$^+$*},
+TITLE ={&prl#مقدمه‌ای بر نظریه‌ی اصولی مجموعه‌ها*},
+VOLUME={1},
+YEAR={1394},
+MONTH={&prl#بهار*},
+PAGES={39&raisebox#.5mm--* &!&!&!43},
+quotation={1},
+LANGUAGE={Persian},
+doi={322/511},
+isbn={978&raisebox#.5mm-* &!&!&!600&raisebox#.5mm-* &!&!&!141&raisebox#.5mm-* &!&!&!173&raisebox#.5mm-* &!&!&!1},
+edition={&prl#دوم*},
+series={&prl#سری دوم*},
+number={100},
+chapter={5},
+madadurltest={1},
+murl={http://www.w3.org/TR/prov-o/},
+publisher={&prl#انتشارات دانشگاه چمران*},
+note={&prl#یک یادداشت اختیاری در این‌جا می‌توانید وارد کنید*},
+address={&prl#آدرس منتشر کننده*},
+slabel={4},
+}
+\end{Verbatim}
+\begin{latin}
+{\color{blue}$\hookrightarrow$ Compile: XeLaTex-BibTeX-XeLaTex-XeLaTex}
+\end{latin}
+\begin{figure}[H]
+\centering
+\includegraphics[width=\textwidth,height=11.5cm]{image/sh12}
+\end{figure}
+
+
+
+
+
+\noindent
+\begin{latin}
+{\tt{\color{blue} General example with xelatex compiler:}}\\
+{\color{blue}$\hookrightarrow$ Compile: XeLaTex-BibTeX-XeLaTex-XeLaTex}
+\end{latin}
+\lr{\cite{B02f}}
+ Ùˆ
+\cite{d}
+Ùˆ
+\cite{Amintoosi87afzayesh}
+Ùˆ
+\lr{\cite{aliabad2004rings}}
+Ùˆ
+\lr{\cite{ghafarzadeh2016stem}}
+Ùˆ
+\cite{aliabad2004rings,ali,whatever,B02f,d}
+و همچنین داریم:
+\lr{\cite{aliabad2004rings,ali,whatever,B02f,d}}
+
+\nocite{*}
+\bibliographystyle{alpha-persian}
+%\bibliography{sample1}
+%\bibliography{sample2}
+%\bibliography{sample3}
+%\bibliography{sample4}
+%\bibliography{sample5}
+%\bibliography{sample6}
+%\bibliography{sample7}
+\bibliography{sample8}
+\newpage
+\begin{latin}
+\section{\lr{alpha-persian.bst with \protect \pdflatex}}
+In addition to xelatex compile,
+You can also use from alpha-persian.bst with pdflatex compile (without xepersian package).
+To do this, just put the following codes before the \verb|\begin{document}|.
+\begin{verbatim}
+\let\lr\relax
+\let\setlatin\relax
+\let\resetlatinfont\relax
+\newenvironment{LTRbibitems}{}{}
+\end{verbatim}
+{\tt\color{blue} Sample:}\\
+{\color{blue}$\hookrightarrow$ Compile: pdfLaTeX-BibTeX-pdfLaTeX-pdfLaTeX}
+\begin{Verbatim}[numbers=left,fontsize=\bf,commandchars=\&\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{green!50!black}]
+@misc{whatever,
+AUTHOR= "{\noopsort{1}}{Madadpour},Ahmad ",
+quotation={1},
+year={2001},
+chapter={5},
+title={Testing the effects of bibtex styles on
+bibliography formatting},
+murl={http://www.w3.org/TR/prov-o/},
+doi={01.1000/doi-0121},
+madadurltest={1},
+key={665},
+}
+@misc{B02f,
+howpublished = {How it was published},
+AUTHOR= "{\noopsort{2}}{Madadpour},Shapour and
+Madadpour , Mohamadhosain and Madadpour , Mitra ",
+year={2002},
+quotation={1},
+title={First},
+pages={13--17},
+madadurltest={1},
+mlabel={&prl#$\checkmark^+$*},
+murl={http://www.w3.org/TR/prov-o/},
+chapter={5},
+}
+@article{aliabad2004rings,
+title={reference test-Rings of continuous functions
+vanishing at infinity},
+AUTHOR= "{\noopsort{3}}{Madadpour},Alireza ",
+journal={Commentationes Mathematicae Universitatis Carolinae},
+volume={45},
+pages={519--533},
+quotation={1},
+year={2004},
+murl={http://www.w3.org/TR/prov-o/},
+madadurltest={1},
+publisher={Charles University in Prague, Faculty of
+Mathematics and Physics},
+}
+@article{ali,
+title={reference test-Pasting topological spaces at one point},
+AUTHOR = "{\noopsort{4}}{Madadpour},Mahmood ",
+journal={Czechoslovak Mathematical Journal},
+volume={56},
+number={4},
+pages={1193--1206},
+quotation={1},
+year={2006},
+publisher={Springer},
+url={http://www.w3.org/TR/prov-o/},
+}
+@book{kuznetsov1998elements,
+title={reference test-Elements of
+applied bifurcation theory},
+volume={112},
+madadurltest={1},
+year={1998},
+edition={third},
+publisher={Springer Verlag},
+murl={http://www.w3.org/TR/prov-o/},
+isbn={123456789000},
+number={10},
+pages={10--19},
+series={second series},
+chapter={5},
+AUTHOR= "{\noopsort{5}}{Madadpour},Behrooz ",
+address={The address of the publisher},
+}
+\end{Verbatim}
+\begin{latin}
+{\color{blue}$\hookrightarrow$ Compile: pdfLaTeX-BibTeX-pdfLaTeX-pdfLaTeX}
+\end{latin}
+\begin{figure}[H]
+\centering
+\includegraphics[width=\textwidth,height=8cm]{image/sh13}
+\end{figure}
+\section*{Notice}
+With pdflatex compiler, we have all the properties in section \ref{12}; so enjoy it.
+\end{latin}
+
+
+
+
+
+\end{document}
+In addition to latex compile,
+You can also use from alpha-persian.bst with pdflatex compile(without xepersian package).
+To do this, just put the following codes before the \begin{document}.
+\let\lr\relax
+\let\resetlatinfont\relax
+\newenvironment{LTRbibitems}{}{}
+
+
+\newcommand{\pdflatex}{\LR {\leavevmode $\smash {\hbox {P\lower .6ex \hbox
+ {\kern -.225em\bidi@reflect@box {D}}\hbox{\bidi@reflect@box{F}} \kern -.4em \LaTeX }}$}}
diff --git a/biblio/bibtex/contrib/alpha-persian/alpha-persian-p.userguide.pdf b/biblio/bibtex/contrib/alpha-persian/alpha-persian-p.userguide.pdf
new file mode 100644
index 0000000000..06e50e310d
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/alpha-persian-p.userguide.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/alpha-persian/alpha-persian-p.userguide.tex b/biblio/bibtex/contrib/alpha-persian/alpha-persian-p.userguide.tex
new file mode 100644
index 0000000000..1a533201fd
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/alpha-persian-p.userguide.tex
@@ -0,0 +1,1183 @@
+%alpha-persian-p.userguide
+%by: shapour madadpour
+%E-mail: madad_sh@yahoo.com
+\documentclass{article}
+\usepackage[top=4cm,left=3cm,right=3cm,bottom=2.5cm]{geometry}
+\usepackage{xcolor}
+\usepackage{float}
+\parindent0pt
+\usepackage[pagebackref=true,colorlinks,linkcolor=blue,citecolor=green!80!black]{hyperref}
+\usepackage{amssymb}
+\usepackage{amsmath}
+\usepackage{verbatim}
+\usepackage{fancyvrb}
+\usepackage{xcolor}
+\usepackage{ragged2e}
+\newcommand*\justifyv{%
+\fontdimen2\font=0.4em
+\fontdimen3\font=0.2em
+\fontdimen4\font=0.1em
+\fontdimen7\font=0.1em
+\hyphenchar\font=`\-
+}
+\usepackage{fancyhdr}
+%\usepackage{url}
+\usepackage[compress]{cite}
+%باید دوبار خروجی بگیرید.
+%\usepackage[numbers,sort&compress]{natbib}
+\usepackage{graphicx}
+\usepackage{xepersian}
+\settextfont[Scale=1.2]{Yas}
+\newcommand{\PRL}[1]{\RL{\Parsifont #1}}
+\DefineVerbatimEnvironment{rtlverbatim}{Verbatim}{commandchars=+\[\]}
+\newfontfamily\Parsifont[Script=Arabic]{XB Niloofar}
+\newcommand{\prl}[1]{\RL{\Parsifont #1}}
+\newcommand{\pdflatex}{P\!\!\reflectbox{\raisebox{-1mm}{{\small D}}}F\LaTeX}
+\pagestyle{fancy}
+\fancyhf{}
+\rhead[OR]{\thepage}
+\lhead[EL]{\leftmark}
+\renewcommand{\headrulewidth}{1pt}
+\renewcommand{\footrulewidth}{1pt}
+\fancyfoot[C]{{\rl{\color{green!50!black}تهیه‌ کننده: شاپور مددپور}}}
+\title{\textbf{
+ سبک آلÙاپرشین; سبکی برای ایجاد مراجع Ùارسی Ùˆ انگلیسی}}
+\author{\LARGE{\textbf{نویسنده و نگه‌دارنده‌ی بسته‌: شاپور مددپور}}
+\\[1cm]
+\LARGE{\textbf{
+کارشناس ارشد توپولوژی}}
+\\[1cm]
+\LARGE{\textbf{
+دبیر ریاضی، دبیرستان‌های اهواز}}
+}
+\begin{document}
+\maketitle
+\clearpage
+\baselineskip=1cm
+\tableofcontents\clearpage
+\baselineskip=.5cm
+\paragraph{\color{red!50!black}سبک ایجاد مراجع،
+\lr{alpha-persian.bst}~ نسخه: 3.1}
+\paragraph{\color{red!50!black}19 اسÙند 1397}
+\paragraph{\color{red!50!black}
+نویسنده و نگه‌دارنده‌ی بسته‌: شاپور مددپور}
+\paragraph{\color{red!50!black}
+ایمیل:
+\lr{madad\_sh@yahoo.com}}\hfill
+
+\vspace*{2cm}
+سبک آلÙاپرشین در اسÙندماه 1397 توسط اینجانب ایجاد Ùˆ در آدرس
+زیر از
+\lr{CTAN}
+(شبکه‌ی جامع بایگانی تک) Ùˆ مخزن تکلایو قرار گرÙت.
+\href{https://ctan.org/tex-archive/biblio/bibtex/contrib/alpha-persian}{https://ctan.org/tex-archive/biblio/bibtex/contrib/alpha-persian}\\[.6cm]
+در تصویر زیر نیز می‌توانید محل ثبت و مشخصات آن را در
+\lr{CTAN}
+ببینید.
+\begin{figure}[H]
+\centering
+\includegraphics[width=\textwidth,height=7cm]{image/sh18}
+\end{figure}\vspace*{-.87cm}
+\begin{figure}[H]
+\centering
+\includegraphics[width=\textwidth,height=4cm]{image/sh20}
+ \end{figure}
+\begin{figure}[H]
+\centering
+\includegraphics[width=\textwidth,height=8cm]{image/21}
+\end{figure}
+\section{دیباچه}
+پروژه‌ی
+\lr{\TeX}
+در سال 1978 در دانشگاه استنÙورد توسط
+\textcolor{red}{\textbf{دونالد کنوث}}
+شروع شد. او در ابتدا تخمین زده بود که حدود شش ماه
+این کار را به اتمام می‌رساند اما در نهایت مراحل انجام این‌کار
+نزدیک به ده سال طول کشید.
+یک سال پس از آغاز پروژه‌اش، کنوث به
+یکی از سخنرانی مهم خود در نشست سالانه
+\lr{AMS}
+دعوت شد. او درباره‌ی کار خود در
+\lr{\TeX}
+از دید نه تنها جنبه‌های تایپی،
+بلکه ایده‌های ریاضی که در پشت برنامه بود، صحبت کرد.
+در سال 1985،
+\linebreak
+\textcolor{blue}{\textbf{لزلی لمپورت}}
+با معرÙÛŒ
+\lr{\LaTeX}
+کمک مهمی به محبوبیت
+\lr{\TeX}
+کرد. در واقع
+\lr{\LaTeX}
+مجموعه‌ای از ماکروها
+است که اجازه می‌دهد تا
+نویسندگان به تعامل با سیستم در یک سطح بالاتر از کنوث
+بپردازند. امروزه، سیستم
+\lr{\TeX}
+همچنان یک استاندارد شناخته می‌شود.
+حق Ú©Ù¾ÛŒ رایت این نرم اÙزار بر عهده ÛŒ انجمن ریاضی آمریکا
+\LTRfootnote{(AMS) American Mathematical Society}
+می‌باشد.
+این نرم اÙزار به صورت رایگان در دسترس قرار دارد. با نرم
+اÙزار لاتک امروزه می‌توان پایان‌نامه، مقاله‌، کتاب، رزومه، نامه‌ی
+اداری‌، طرح سوال امتحانی Ùˆ اسلاید به سبک بیمر برای دÙاع
+و... تهیه کرد.
+\subsection{مزیتها‌ی لاتک در مقایسه با حروÙ‌چین‌های دیگر}
+\begin{enumerate}
+\item
+لاتک دارای بهترین خروجی است. خروجی آن معمولاً به صورت پی‌دی‌ا٠مورد نیاز است که با یک پردازش ساده قابل دسترسی است و
+نیازی به نرم‌اÙزارهای جانبی برای این‌کار ندارد.
+\item
+لاتک به خوبی به حروÙ‌چینی واق٠است. Ùاصله‌ی بین کلمات Ùˆ حرو٠استاندارد (Ùˆ قابل تغییر) بوده Ùˆ در زمینه‌های چیدن پارگراÙ‌ها
+و ... بی‌نظیر است.
+\item
+لاتک سریع است. این بدان معنی است که با یک پردازش ساده
+می‌توانید خروجی مورد نیاز خود در متن یا کارهای گراÙیکی Ùˆ درج تصویر Ùˆ ... در زمانی مناسب دریاÙت کنید.
+\item
+لاتک ثبات دارد. (با بردن متون لاتک به دستگاه‌های دیگر،
+Ùرم نوشته‌ها به هم نمی‌ریزد)
+\item
+لاتک در عین ثباتش منعط٠است.
+رسم جداول Ùˆ نوشتن مراجع Ùˆ Ùراخوانی تصاویر Ùˆ ارجاع‌ها Ùˆ
+.... در آن مشکل نیست.
+\item
+ورودی لاتک به صورت متنی است قابل حمل به دستگاه‌های
+دیگر و دارای حجم کم است و برای استایل‌های خاص مانند مقاله،
+کتاب و ... به صورت
+پیش‌Ùرض تنظیمات دارد.
+\item
+خروجی آن به Ùرمتهای
+\lr{HTML}
+یا
+\lr{PDF}
+یا
+\lr{PostScript}
+قابل تبدیل است.
+\item
+قابل اجرا بر روی بیشتر سیستم‌ها از جمله ویندوز و
+مکینتاش و .... است (مستقل از سیستم عامل است).
+\item
+لاتک بسیار مناسب و استاندارد برای کلیه‌ی مجامع علمی و
+... می‌باشد.
+\item
+لاتک رایگان است.
+\end{enumerate}
+\subsection{ایجاد مراجع در لاتک}
+در انتهای هر نوشته، مراجعی که در آن نوشته به آنها ارجاع داده شده
+است نوشته می‌شوند. یکی از سبک‌های زیبا و استاندارد جهانی برای
+ایجاد مراجع، سبک
+\lr{BibTeX}
+است. این روش، یک
+روش‌ قدرتمند Ùˆ انعطاÙ‌پذیر برای نوشتن مراجع مقالات Ùˆ
+مدیریت مراجع در لاتک است.
+
+سبک
+\lr{alpha-persian}
+که به تازگی توسط این‌جانب تهیه شده است و در
+\href{https://ctan.org/tex-archive/biblio/bibtex/contrib/alpha-persian}{این آدرس}
+از
+\lr{CTAN}
+قرار گرÙته است یکی از سبک‌های
+\lr{BibTeX}
+است که
+Ú©Ù‡ برای بسته‌ی زی‌پرشین جهت پشتیبانی از زبان Ùارسی Ùˆ همچنین
+بدون استÙاده از بسته‌ی زی‌پرشن برای نوشته‌های انگلیسی
+ تنظیم شده‌ است.
+\\
+قبل از بیان ویژگی‌های این سبک ابتدا جهت آشنایی بهتر با طریقه‌ی
+مرجع‌نویسی به کمک
+\lr{BibTeX}،
+یک نمونه را در زیر می‌آوریم.
+ابتدا یک Ùایل تک مطابق زیر ایجاد می‌کنیم Ú©Ù‡ در این Ùایل باید
+سبک ظاهر شدن مراجع و همچنین محلی که می‌خواهیم مراجع در
+سند ما ظاهر شوند را به صورت زیر در سند خود مشخص کنیم.
+\begin{latin}
+\begin{Verbatim}[fontsize=\bf,baselinestretch=1,firstnumber=1,formatcom=\color{red!50!black}]
+\nocite{*}
+\bibliographystyle{alpha-persian}
+\bibliography{sample}
+\end{Verbatim}
+\end{latin}
+در دستورات بالا
+\lr{sample}
+نام Ùایلی است با پسوند
+\lr{.bib}
+که مراجع و موارد مربوط به آنها (نام و نام خانوادگی نویسنده‌ی اثر،
+سال انشار، شابک، شناسه‌ی دیجیتال و ...)
+به صورت خام در آنها تعری٠می‌شوند.
+
+به عنوان مثال از سبک
+\lr{alpha-persian}
+در نمونه‌ی بالا استÙاده شده است.
+توجه کنید که ویژگی‌های ظاهر شدن مراجع و موارد مربوط به آنها در
+سبک انتخابی شما تنظیم شده Ùˆ شما در Ùایل با پسوند
+\lr{.bib}
+(در نمونه‌ی بالا منظور همان
+\lr{sample.bib}
+یا
+\lr{sample}
+است)
+Ùقط اطلاعات را وارد می‌کنید Ùˆ تنظیم آنها به طور خودکار Ùˆ توسط سبک انتخابی شما انجام می‌شود. برای ایجاد Ùایل
+\lr{bib}
+کاÙÛŒ است یک Ùایل جدید در ویرایشگر خود ایجاد Ùˆ اطلاعات را در
+آن وارد کنید Ùˆ سپس در هنگام ذخیره‌ی Ùایل، پسوند آن را
+\lr{.bib}
+(به عنوان نمونه \lr{sample.bib})
+انتخاب کنید Ùˆ در پوشه‌ی حاوی Ùایل تک خود قرار دهید.
+دستور
+\verb|\nocite{*}|
+در دستورات بالا جهت ایجاد مراجع (بدون اینکه به آنها رجوع داده
+باشیم) می‌باشد.
+\\
+این سبک (\lr{alpha-persian}) در مخزن تکلایو و در آدرس زیر قرار دارد:
+\begin{latin}
+\begin{Verbatim}[fontsize=\bf,baselinestretch=1,firstnumber=1,formatcom=\color{red!50!black}]
+Direc­tory biblio/bibtex/contrib/alpha-persian
+\end{Verbatim}
+\end{latin}
+چنان‌چه از تکلایو
+2019
+به بالا استÙاده می‌کنید نیازی به به‌روز کردن آن جهت استÙاده از این سبک ندارید. اگر از تکلایو
+2018
+بهره می‌برید ابتدا مطابق تصاویر زیر تکلایو خود را به روز کنید (در
+مورد توزیع میک‌تک نیز به طور مشابه می‌توان عمل کرد).
+\subsection{به‌روز کردن تکلایو}
+در قسمت جستجوی ویندوز کلمه‌ی
+\lr{tlmgr}
+را جستجو کنید و روی آن کلیک کنید تا
+\lr{TeX Live Mananger 2018}
+مطابق شکل
+(\ref{23})
+ ظاهر گردد و مراحل انجام کار را مطابق شکل
+(\ref{23})
+از سر بگیرید. توجه کنید که ممکن است سرعت نت شما قوی نباشد لذا
+صبور بوده و مراحل را چند بار انجام دهید تا تکلایو شما به روز شود.
+در انتهای تصویر
+(\ref{24})
+ گزینه‌ی
+\lr{alpha-persian}
+ را باید مطابق نمونه تیک زده و گزینه‌ی
+\lr{Update}
+را تایید کنید.
+
+\begin{figure}[H]
+\centering
+\includegraphics[width=\textwidth,height=14cm]{image/sh14}
+\caption{مرحله‌ی اول به‌روز کردن تکلایو}
+\label{23}
+\end{figure}
+\begin{figure}[H]
+\centering
+\includegraphics[width=\textwidth,height=16cm]{image/sh15}
+\caption{مرحله‌ی دوم به‌روز کردن تکلایو}
+\label{24}
+\end{figure}
+\subsection{یک نمونه‌ی عملی}
+\paragraph{نمونه‌ی Ùایل تک}\hfill
+\begin{latin}
+\begin{Verbatim}[fontsize=\bf,baselinestretch=1,firstnumber=1,formatcom=\color{red!50!black}]
+\documentclass{article}
+\usepackage{xcolor}
+\usepackage[pagebackref=true,colorlinks,linkcolor=blue,%
+citecolor=green!80!black]{hyperref}
+\usepackage{xepersian}
+\settextfont{Yas}
+\begin{document}
+\nocite{*}
+\bibliographystyle{alpha-persian}
+\bibliography{sample}
+\end{document}
+\end{Verbatim}
+\end{latin}
+
+\paragraph{نمونه‌ی Ùایل
+\lr{bib}
+مطابق نمونه‌ی بالا با نام
+\lr{sample.bib}}
+این Ùایل را باید در پوشه‌ی سند خود قرار دهید تا در کنار Ùایل با
+پسوند
+\lr{.tex}
+شما باشد Ùˆ در زمان پردازش مورد استÙاده قرار گیرد.
+\hfill
+
+\begin{Verbatim}[numbers=left,fontsize=\bf,commandchars=\^\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{green!50!black}]
+@article{karamzadeh2012prime,
+author={Karamzadeh, Omid Ali Shahny},
+title={The Prime Avoidance Lemma Revisited},
+key={7},
+journal={Kyungpook mathematical journal},
+volume={52},
+number={2},
+pages={149^raisebox#.5mm--* ^!^!^!153},
+year={2012},
+quotation={1},
+publisher={Department of Mathematics, Kyungpook National University}
+}
+@phdthesis{mmm,
+title={^prl#Ùضای توپولوژی*},
+author={^prl# رضایی علی‌آباد,علی*},
+journal={Kyungpook mathematical journal},
+pages={1163^raisebox#.5mm--* ^!^!^!1171},
+LANGUAGE={Persian},
+mlabel={^prl#ا.Ù….Ù*},
+murl={http://uselatex.com/blog/},
+series={second series},
+year={2002},
+chapter={5},
+quotation={1},
+school={^prl#دانشگاه چمران اهواز*},
+}
+\end{Verbatim}
+\subsection{پردازش Ùایل}\label{34}
+در مورد پردازش این Ùایل‌ها بهتر است
+(\ref{33})
+را ببینید.
+\\
+می‌توان ویرایش‌‌گر خود را طوری تنظیم کرد که به صورت همزمان نیز
+هر چهار مرحله‌ی Ú¯Ùته شده در
+(\ref{33})
+انجام شود. برای این‌کار ویرایش‌گر خود (تک استودیو)
+را باز کنید و از منوی
+Options
+وارد
+\lr{Configure TeX studio}
+شوید و سپس در قسمت
+build
+یک یوزر جدید مطابق مراحل تصاویر
+(\ref{25})
+ ایجاد کنید.
+\\
+ مطابق شماره‌ها عمل کنید و در مرحله‌ی 4 کدهای زیر را وارد کنید:
+\begin{latin}
+\begin{Verbatim}[fontsize=\bf,commandchars=\^\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{red!50!black}]
+txs:///xelatex |bibtex8 -W -c cp1256fa %.aux| txs:///xelatex|txs:///xelatex
+\end{Verbatim}
+\end{latin}
+\begin{figure}[H]
+\centering
+\includegraphics[width=\textwidth,height=10.3cm]{image/sh16}
+\caption{مرحله‌ی اول برای ایجاد
+\lr{Command}
+جدید}
+\label{25}
+\end{figure}\vspace*{-.6cm}
+\begin{figure}[H]
+\centering
+\includegraphics[width=\textwidth,height=9cm]{image/sh17}
+\caption{مرحله‌ی دوم برای ایجاد
+\lr{Command}
+جدید}
+\label{26}
+\end{figure}
+بعد از انجام 5 مرحله‌ی قبل و تایید مراحل با دکمه‌ی
+\lr{ok}
+Ùایل منبع خود را باز کنید Ùˆ مطابق تصویر
+(\ref{26})،
+یوزرکامند
+\lr{xexebibxe}
+را از منوی
+\lr{Tools}
+اجرا کنید تا 4 مرحله‌ی پردازش بالا همزمان انجام شوند. \\
+با اجرای Ùرایند Ùوق
+ابتدا مراجع Ùارسی Ùˆ سپس لاتین قرار می‌گیرند.
+ در غیر این صورت در مرحله‌ی 4 باید کد‌های زیر را وارد کنید:
+\begin{latin}
+\begin{Verbatim}[fontsize=\bf,commandchars=\^\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{red!50!black}]
+txs:///xelatex |bibtex.exe %| txs:///xelatex|txs:///xelatex
+\end{Verbatim}
+\end{latin}
+بدیهی است Ú©Ù‡ Ùرایند این مرحله Ú©Ù…ÛŒ طولانی‌تر از حد معمول است Ùˆ Ùقط آن را زمانی انجام دهید Ú©Ù‡ می‌خواهید خروجی نهایی را از Ùایل خود بگیرید.
+\section{%
+سبک آلÙاپرشین
+با پردازش‌گر زی‌لاتک
+\lr{(\XeLaTeX)}}
+\label{12}
+\noindent
+سبک آلÙا‌پرشین جهت ایجاد مراجع Ú†Ù¾ به راست Ùˆ راست به Ú†Ù¾ تنظیم
+گردیده است.
+
+\subsection{طریقه‌ی پردازش Ùایل در این سبک}\label{33}
+زمانی Ú©Ù‡ در سند شما از این سبک استÙاده شود به دو طریق
+می‌توانید Ùایل خود را پردازش کنید.
+
+\paragraph{طریق اول پردازش Ùایل}
+به صورت زیر و با چهار مرحله پردازش
+می‌توانید Ùایل خود را پردازش کنید.
+\vspace*{.5cm}
+\begin{latin}
+{\color{red}$\hookrightarrow$ First Compile:} XeLaTex-BibTeX-XeLaTex-XeLaTex\\
+\end{latin}
+در این نوع پردازش، ابتدا مراجع با زبان انگلیسی و سپس مراجع با
+زبان Ùارسی قرار می‌گیرند.
+\paragraph{\color{blue} نمونه}
+
+\begin{Verbatim}[numbers=left,fontsize=\bf,commandchars=\^\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{green!50!black}]
+@article{karamzadeh2012prime,
+author={Karamzadeh, Omid Ali Shahny},
+title={The Prime Avoidance Lemma Revisited},
+key={7},
+journal={Kyungpook mathematical journal},
+volume={52},
+number={2},
+pages={149^raisebox#.5mm--* ^!^!^!153},
+year={2012},
+quotation={1},
+publisher={Department of Mathematics, Kyungpook National University}
+}
+@phdthesis{mmm,
+title={^prl#Ùضای توپولوژی*},
+author={^prl# رضایی علی‌آباد,علی*},
+journal={Kyungpook mathematical journal},
+pages={1163^raisebox#.5mm--* ^!^!^!1171},
+LANGUAGE ={Persian},
+mlabel={^prl#ا.Ù….Ù*},
+murl={http://uselatex.com/blog/},
+series={second series},
+year={2002},
+chapter={5},
+quotation={1},
+school={^prl#دانشگاه چمران اهواز*},
+}
+\end{Verbatim}
+\begin{figure}[H]
+\centering
+\includegraphics[width=\textwidth,height=3.6cm]{image/sh11}
+\end{figure}
+\paragraph{طریق دوم پردازش Ùایل}
+به صورت زیر می‌توانید Ùایل خود را پردازش کنید.
+\vspace*{.5cm}
+\begin{latin}
+{\color{red}$\hookrightarrow$ Second Compile:} XeLaTex-BibTeX 8 bit-XeLaTex-XeLaTex\\
+\end{latin}
+که در آن منظور از پرازش
+{\lr {\tt BibTeX 8 bit}}
+ایجاد یک
+{\lr {\tt User Command}}
+در ویرایش‌گر خود و مطابق با
+(\ref{34})
+ و با دستور زیر در مرحله‌ی 4 از آن است:
+\begin{latin}
+\begin{Verbatim}[fontsize=\bf,commandchars=\^\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{red!50!black}]
+bibtex8 -W -c cp1256fa %.aux
+\end{Verbatim}
+\end{latin}
+در این نوع پردازش، ابتدا مراجع با زبان Ùارسی Ùˆ سپس مراجع با
+زبان انگلیسی قرار می‌گیرند.
+\begin{figure}[H]
+\centering
+\includegraphics[width=\textwidth,height=3.5cm]{image/sht}
+\end{figure}
+\subsection{ایجاد کوتیشن‌مارک ("عنوان نوشته``) برای عنوان نوشته به صورت خودکار}
+چنان‌چه بخواهید عنوان مقاله‌ی شما به صورت خودکار و به همراه
+کوتیشن‌مارک (علامت نقل قول) ظاهر
+گردد کاÙÛŒ است Ùیلد
+\lr{quotation}
+را در Ùایل
+\lr{bib}
+و به صورت زیر پر کنید:
+\begin{latin}
+\begin{Verbatim}[fontsize=\bf,commandchars=\^\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{red!50!black}]
+quotation={1},
+\end{Verbatim}
+\end{latin}
+\paragraph{\color{blue} نمونه}
+نمونه‌‌ی زیر را ببینید:
+\begin{Verbatim}[numbers=left,fontsize=\bf,commandchars=\^\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{green!50!black}]
+@article{karamzadeh2012prime,
+author={Karamzadeh, Omid Ali Shahny},
+title={The Prime Avoidance Lemma Revisited},
+key={7},
+journal={Kyungpook mathematical journal},
+volume={52},
+number={2},
+pages={149^raisebox#.5mm--* ^!^!^!153},
+year={2012},
+quotation={1},
+madadurltest={1},
+murl={http://uselatex.com/blog/},
+publisher={Department of Mathematics, Kyungpook National University}
+}
+@phdthesis{mmm,
+title={^prl#Ùضای توپولوژی*},
+author={^prl#رضایی علی‌آباد,علی*},
+journal={Kyungpook mathematical journal},
+pages={1163^raisebox#.5mm--* ^!^!^!1171},
+LANGUAGE={Persian},
+mlabel={^prl#ا.Ù….Ù*},
+madadurltest={1},
+quotation={1},
+murl={http://uselatex.com/blog/},
+series={second series},
+year={2002},
+chapter={5},
+school={^prl#دانشگاه چمران اهواز*},
+}
+\end{Verbatim}
+\begin{figure}[H]
+\centering
+\includegraphics[width=\textwidth,height=3.5cm]{image/sh2}
+\end{figure}
+\subsection{ایجاد لینک در سبک آلÙاپرشین}
+ در این سبک به سه طریق می‌توان لینک ایجاد کرد; که یکی از
+ شاخصه‌های منحصر به Ùرد این سبک است.
+\paragraph{طریق اول، ایجاد لینک مخÙÛŒ برای عنوان:}
+در این روش عنوان، به Ú©Ù…Ú© بسته‌ی هایپررÙ
+\lr{(hyperref)}
+به صورت لینک‌دار ظاهر می‌گردد Ùˆ خود آدرس اینترنتی ظاهر نمی‌گردد. در این روش کاÙÛŒ است دو Ùیلد زیر را در Ùایل
+\lr{bib}
+پر کنید; که در آن محتویات
+\lr{murl}
+لینک مورد نظر شماست:
+\begin{latin}
+\begin{Verbatim}[fontsize=\bf,commandchars=\^\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{red!50!black}]
+madadurltest={1},
+murl={http://uselatex.com/blog/},
+\end{Verbatim}
+\end{latin}
+\paragraph{طریق دوم، ایجاد لینک آشکار}
+برای ایجاد این نوع لینک کاÙÛŒ است مطابق زیر Ùˆ
+\textbf{Ùقط}
+Ùیلد
+\lr{url}
+را پرکنید:
+\begin{latin}
+\begin{Verbatim}[fontsize=\bf,commandchars=\^\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{red!50!black}]
+url={http://uselatex.com/blog/},
+\end{Verbatim}
+\end{latin}
+در این حالت خود لینک در مراجع ظاهر می‌گردد و همچنین در حالت
+مراجع Ùارسی از کلمه‌ی لینک به جای
+\lr{URL}
+استÙاده می‌شود.
+\paragraph{طریق سوم}
+ترکیب دو روش بالا نیز مانند زیر امکان‌پذیر است:
+\begin{latin}
+\begin{Verbatim}[fontsize=\bf,commandchars=\^\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{red!50!black}]
+madadurltest={1},
+murl={http://uselatex.com/blog/},
+url={http://uselatex.com/blog/},
+\end{Verbatim}
+\end{latin}
+نمونه‌‌های
+(\ref{112})
+را در این زمینه ببینید.
+\subsection{پشتیبانی از بسته‌ی هایپرر٠جهت ایجاد لینک برای عنوان نوشته (لینک مخÙÛŒ Ùˆ لینک آشکار)}\label{112}
+برای ایجاد لینک‌های مورد نظر کاÙÛŒ است بسته‌ی هایپرر٠را به صورت
+زیر قبل از بسته‌ی زی‌پرشین Ùˆ در مقدمه‌ی سند Ùراخوانی کنید.
+\begin{latin}\noindent
+\begin{Verbatim}[fontsize=\bf,commandchars=\^\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{red!50!black}]
+\usepackage[pagebackref=true,colorlinks,linkcolor=blue]{hyperref}
+\usepackage{xepersian}
+\settextfont{Yas}
+\end{Verbatim}
+\end{latin}
+\paragraph{\color{blue} نمونه}
+نمونه‌‌ی ایجاد لینک مخÙÛŒ برای مقاله را در زیر ببینید:
+\begin{figure}[H]
+\centering
+\includegraphics[width=\textwidth,height=3.6cm]{image/sh3}
+\end{figure}
+\subsection{ایجاد
+\lr{{\large url}}
+بدون استÙاده از بسته‌های یو‌آر‌اÙÙ„ Ùˆ هایپررÙ}
+این قابلیت در این سبک وجود دارد که می‌توان در صورت لزوم و عدم
+استÙاده از بسته‌های
+\lr{url}
+Ùˆ
+\lr{hyperref}
+Ùیلد
+\lr{url}
+را ایجاد کرد.
+\paragraph{\color{blue} نمونه در صورت وجود بسته‌ی
+\lr{hyperref}‌}
+
+\begin{Verbatim}[numbers=left,fontsize=\bf,commandchars=\^\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{green!50!black}]
+@article{karamzadeh2012prime,
+author={Karamzadeh, Omid Ali Shahny},
+title={The Prime Avoidance Lemma Revisited},
+key={7},
+journal={Kyungpook mathematical journal},
+volume={52},
+number={2},
+pages={149--153},
+year={2012},
+quotation={1},
+url={http://uselatex.com/blog/},
+publisher={Department of Mathematics, Kyungpook National University}
+}
+@phdthesis{mmm,
+title={^prl#Ùضای توپولوژی*},
+author={^prl#رضایی علی‌آباد,علی*},
+journal={Kyungpook mathematical journal},
+pages={1163^raisebox#.5mm--* ^!^!^!1171},
+LANGUAGE={Persian},
+mlabel={^prl#ا.Ù….Ù*},
+madadurltest={1},
+quotation={1},
+murl={http://uselatex.com/blog/},
+series={second series},
+year={2002},
+url={http://uselatex.com/blog/},
+chapter={5},
+school={^prl#دانشگاه چمران اهواز*},
+}
+\end{Verbatim}
+\begin{figure}[H]
+\centering
+\includegraphics[width=\textwidth,height=4.5cm]{image/sh4}
+\end{figure}
+\paragraph{\color{blue} نمونه در صورت عدم وجود بسته‌های
+\lr{hyperref}
+Ùˆ
+\lr{url}}
+نمونه‌ی زیر را در این زمینه ببینید.
+\begin{figure}[H]
+\centering
+\includegraphics[width=\textwidth,height=4cm]{image/sh5}
+\end{figure}
+\subsection{ایجاد doi (شناسه‌ی دیجیتال)، isbn (شابک) و issn (شاپا) در یک نوشته}
+این سه قابلیت را سبک
+\lr{alpha}
+ دارا نیست. در سبک
+\lr{alpha-persian}
+این قابلیت‌ها به آن در حالت لاتین Ùˆ Ùارسی اÙزوده شده است.
+در این سبک
+\lr{(alpha-persian)}
+ نام Ùارسی آنها (شناسه‌ی دیجیتال، شابک Ùˆ شاپا)
+Ùˆ به طور خودکار در مراجع Ùارسی اعمال می‌شود.
+\paragraph{\color{blue} نمونه‌ی ورودی در Ùایل
+\lr{bib}}
+به صورت زیر می‌توانید اطلاعات را در Ùایل
+\lr{bib}
+وارد کنید.
+\begin{latin}\noindent
+\begin{Verbatim}[fontsize=\bf,commandchars=\^\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{red!50!black}]
+issn={1111-2222},
+doi={01.1000/doi-0121},
+isbn={123456789000},
+\end{Verbatim}
+\end{latin}
+\paragraph{\color{blue} نمونه‌ی Ú©Ù„ÛŒ در Ùایل
+\lr{bib}}\hfill
+
+\begin{latin}
+\begin{Verbatim}[numbers=left,fontsize=\bf,commandchars=\&\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{green!50!black}]
+@inbook{d,
+AUTHOR={&prl#مددپور, شاپور* and &prl#مددپور, محمدحسین* and &prl#سایرین*},
+mlabel={&prl#مدد$^+$*},
+TITLE={&prl#همریختی و بروریختی در حلقه‌ها*},
+JOURNAL={&prl#مجله‌ی گرا٠Ùارس*},
+VOLUME ={1},
+YEAR={1395},
+MONTH={&prl#بهار*},
+PAGES={39&raisebox#.5mm--* &!&!&!43},
+quotation={1},
+LANGUAGE={Persian},
+url={http://uselatex.com/blog/},
+doi={01.1000/doi-0121},
+isbn={123456789000},
+edition={&prl#دوم*},
+series={&prl#سری دوم*},
+number={10},
+chapter={5},
+madadurltest={1},
+murl={http://uselatex.com/blog/},
+publisher={&prl#انتشارات دل آهنگ*},
+note={&prl#یک یادداشت اختیاری در این‌جا می‌توانید وارد کنید*},
+address={&prl#آدرس منتشر کننده*},
+}
+@book{kuznetsov1998elements,
+title={Elements of applied bifurcation theory},
+volume={112},
+madadurltest={1},
+year={1998},
+edition={third},
+publisher={Springer Verlag},
+murl={http://uselatex.com/blog/},
+isbn={123456789000},
+number={10},
+pages={10&raisebox#.5mm--* &!&!&!19},
+series={second series},
+chapter={5},
+issn={1111-2222},
+doi={01.1000/doi-0121},
+editor={Kuznetsov, Y.A. and edward, Y.A.},
+address={The address of the publisher},
+}
+\end{Verbatim}
+\end{latin}
+\begin{figure}[H]
+\centering
+\includegraphics[width=\textwidth,height=6.5cm]{image/sh6}
+\end{figure}
+\subsection{تنوع برچسب مراجع در سبک آلÙاپرشین}
+شاید مهمترین ویژگی این سبک، تنوع در برچسب
+\lr{(label)}
+ دادن به مراجع است. در سبک
+\lr{alpha}
+Ùˆ در حالت پیش‌Ùرض، مراجع بر اساس نام خانوادگی نویسنده مرتب
+می‌شوند.
+\paragraph{حالت اول}
+در این سبک با پرکردن Ùیلد
+\lr{slabel}
+ و مطابق نمونه‌ی زیر می‌توانید برچسب دلخواه
+ (تعری٠شده در لاتک) برای مراجع خود انتخاب کنید:
+\begin{Verbatim}[numbers=left,fontsize=\bf,commandchars=\&\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{green!50!black}]
+slabel={$\checkmark\checkmark\checkmark$},
+OR
+slabel={$\spadesuit$},
+OR
+slabel={$\clubsuit$},
+\end{Verbatim}
+\begin{figure}[H]
+\centering
+\includegraphics[width=\textwidth,height=11cm]{image/sh7}
+\end{figure}
+این ویژگی منحصر به Ùرد
+برجسب‌گذاری برای برچسب‌ها این اختیار را به ما می‌دهد
+Ú©Ù‡ از سیستم شماره‌گذاری عددی نیز به سادگی استÙاده کنیم.
+برای انجام این کار ابتدا پردازش کنید و سپس با توجه به ترتیب سبک
+\lr{alpha}
+ شماره‌ی مراجع را انتخاب کنید که بر حسب نام خانوادگی نویسنده است. در ادامه و در
+(\ref{32})
+ می‌بینیم که می‌توان مراجع را با ترتیب دلخواه نیز مرتب کرد.
+نمونه‌‌ی زیر را ببینید.
+\begin{latin}
+\begin{Verbatim}[numbers=left,fontsize=\bf,commandchars=\&\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{green!50!black}]
+slabel={1},
+OR
+slabel={2},
+OR
+slabel={3},
+OR
+slabel={4},
+\end{Verbatim}
+\end{latin}
+\begin{figure}[H]
+\centering
+\includegraphics[width=\textwidth,height=8cm]{image/sh8}
+\end{figure}
+\paragraph{حالت دوم}
+نوع دیگر ایجاد بر چسب، استÙاده از حالت پیش‌Ùرض سبک
+\lr{alpha}
+است. در ای حالت برای مراجع لاتین نیازی به پرکردن Ùیلدی برای برچسب نیست اما به دلیل متÙاوت بودن ساختار زبان Ùارسی Ùˆ انگلیسی برای مراجع Ùارسی باید از Ùیلد
+\lr{mlabel}
+Ú©Ù…Ú© Ùˆ یکی از دو حالت زیر استÙاده کنید.
+\begin{itemize}
+\item
+چنان‌چه Ùقط یک نویسنده داشته باشید سه حر٠اول از بخش
+ آخر نام خانوادگی نویسنده (با یا بدون یک جداکننده‌ی دلخواه بین
+ حروÙ) را انتخاب کنید; به عنوان نمونه اگر نویسنده‌ی مقاله علی
+رضایی علی‌آباد باشد به صورت زیر Ùیلد
+\lr{mlabel}
+را پر کنید (یا روش دلخواه دیگر):
+\begin{latin}
+\begin{Verbatim}[fontsize=\bf,commandchars=\&\#\*,baselinestretch=1,formatcom=\color{red!50!black}]
+mlabel ={&prl#ع.ل.ی*}
+\end{Verbatim}
+\end{latin}
+\item
+اگر چند نویسنده داشته باشید حرو٠اول از ابتدای بخش آخر نام
+خانوادگی (با یا بدون یک جداکننده‌ی دلخواه بین حروÙ)
+نویسندگان را انتخاب
+کنید; به عنوان نمونه اگر نویسندگان یک مقاله به ترتیب ÙˆÙا خلیÙی،
+وحید دامن‌اÙشان Ùˆ سید جواد رضویان باشند به صورت زیر Ùیلد
+\lr{mlabel}
+را پر کنید (یا روش دلخواه دیگر):
+\begin{latin}
+\begin{Verbatim}[fontsize=\bf,commandchars=\&\#\*,baselinestretch=1,formatcom=\color{red!50!black}]
+mlabel ={&prl#خ.د.ر*}
+\end{Verbatim}
+\end{latin}
+\end{itemize}
+\paragraph{نکته‌ی مهم}
+معمولاً زمانی Ú©Ù‡ تعداد نویسندگان یک نوشته بیشتر از سه Ù†Ùر باشند
+تمایل بر این است که در مراجع لاتین از عبارت
+\lr{«et all»}
+ Ùˆ در Ùارسی از کلمه‌ی «سایرین» در نوشتن مراجع استÙاده شود.
+برای ایجاد این نوع مراجع به صورت زیر عمل کنید:
+\\
+چنان‌چه در مراجع لاتین بخواهیم این اتÙاق رخ دهد کاÙÛŒ است در انتهای نوشتن آن مرجع عبارت
+\lr{«and others»}
+ را به صورت زیر وارد کنید:
+\begin{latin}
+\begin{Verbatim}[fontsize=\bf,commandchars=\&\#\*,baselinestretch=1,formatcom=\color{red!50!black}]
+author={Rezaei, Ali and Namdari, Mehrdad and Eatemadi, Ali. and others},
+\end{Verbatim}
+\end{latin}
+در این حالت در برچسب این مرجع به طور خودکار بین نام و سال
+نوشته‌شدن آن نوشته یک «+» و در حالت توان و به زیبایی ایجاد
+می‌شود.
+چنان‌چه در مراجع Ùارسی بخواهیم این اتÙاق رخ دهد کاÙÛŒ است
+در انتهای نوشتن آن مرجع به صورت زیر عمل کنید:
+\begin{latin}
+\begin{Verbatim}[fontsize=\bf,commandchars=\&\#\*,baselinestretch=1,formatcom=\color{red!50!black}]
+author={&prl#امین‌طوسی,محمود* and&prl# مزینی ,ناصر* and &prl#سایرین*},
+\end{Verbatim}
+\end{latin}
+در این حالت باید در
+\lr{mlabel}
+به صورت زیر
+\verb|$^+$|
+را ایجاد کنید:
+\begin{latin}
+\begin{Verbatim}[fontsize=\bf,commandchars=\&\#\*,baselinestretch=1,formatcom=\color{red!50!black}]
+mlabel = {&prl#ا.م*$^+$},
+\end{Verbatim}
+\end{latin}
+نمونه‌ی
+(\ref{35})
+را ببنید.
+\subsection{سازگاری این سبک با بسته‌های
+\lr{{\large cite}}
+Ùˆ
+\lr{{\large natbib}}}\label{35}
+این سبک اگر با بسته‌های Ùوق به کار رود ایجاد مشکل نخواهد کرد.
+برای Ùشرده کردن ارجاعات متوالی معمولاً به همراه این سبک
+از این بسته‌ها کمک می‌گیریم.
+
+\begin{latin}
+\begin{Verbatim}[fontsize=\bf,commandchars=\^\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{red!50!black}]
+\usepackage[numbers,sort&compress]{natbib}
+\usepackage[compress]{cite}
+\end{Verbatim}
+\end{latin}\vspace*{-.8cm}
+\paragraph{\color{blue} نمونه}
+در نمونه‌ی زیر از بسته‌ی
+\lr{{\large cite}}
+برای Ùشرده‌ کردن ارجاعات متوالی استÙاده شده است.
+\begin{figure}[H]
+\centering
+\includegraphics[width=\textwidth,height=12.5cm]{image/sh9}
+\end{figure}
+\subsection{ترتیب دلخواه برای مراجع}\label{32}
+در این سبک می‌توانید به کمک ساختار دستور
+\verb|\noopsort|
+مراجع Ùارسی را با هم Ùˆ یا مراجع انگلیسی
+را نیز با هم و همچنین هر دو را به صورت ترکیبی بچینیم.
+برای انجام این کار ماکروی
+\verb|\noopsort|
+برای این سبک تنظیم شده است که می‌توانید آن را برای نام خانوادگی نویسنده‌ و به صورت زیر به کار ببرید:
+\begin{latin}
+\begin{Verbatim}[fontsize=\bf,commandchars=\^\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{red!50!black}]
+AUTHOR = "{\noopsort{1}}{Madadpour},Shapour ",
+\end{Verbatim}
+\end{latin}
+توجه کنید چنان‌چه بخواهید تمام مراجع را به صورت دستی
+مرتب کنید باید برای تمام مراجع این‌کار را انجام دهید.
+\\
+پردازش این‌گونه Ùایل‌ها باید به صورت
+زیر برای زی‌لاتک و یا پی‌دی‌ا٠لاتک انجام شود:
+\begin{latin}
+\begin{Verbatim}[fontsize=\bf,commandchars=\^\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{red!50!black}]
+XeLaTex-BibTeX-XeLaTex-XeLaTex
+OR
+pdfLaTeX-BibTeX-pdfLaTeX-pdfLaTeX
+\end{Verbatim}
+\end{latin}
+\begin{Verbatim}[numbers=left,fontsize=\bf,commandchars=\&\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{green!50!black}]
+@misc{whatever,
+AUTHOR="{\noopsort{2}}{Madadpour},Ahmad ",
+quotation={1},
+year={2001},
+chapter={5},
+title={Testing the effects of bibtex styles on bibliography formatting},
+murl={http://www.w3.org/TR/prov-o/},
+doi={01.1000/doi-0121},
+madadurltest={1},
+key={665},
+}
+@misc{B02f,
+howpublished={How it was published},
+AUTHOR="{\noopsort{4}}{Madadpour},Shapour ",
+year={2002},
+quotation={1},
+title={First},
+pages={13&raisebox#.5mm--* &!&!&!17},
+madadurltest={1},
+mlabel={$\checkmark^+$},
+murl={http://www.w3.org/TR/prov-o/},
+chapter={5},
+}
+@article{aliabad2004rings,
+title={reference test-Rings of continuous functions vanishing at infinity},
+AUTHOR= "{\noopsort{6}}{Madadpour},Alireza ",
+journal={Commentationes Mathematicae Universitatis Carolinae},
+volume={45},
+pages={519&raisebox#.5mm--* &!&!&!533},
+quotation={1},
+year={2004},
+murl={http://www.w3.org/TR/prov-o/},
+madadurltest={1},
+publisher={Charles University in Prague, Faculty of Mathematics and Physics},
+}
+@article{ali,
+title={reference test-Pasting topological spaces at one point},
+AUTHOR= "{\noopsort{8}}{Madadpour},Mahmood ",
+journal={Czechoslovak Mathematical Journal},
+volume={56},
+number={4},
+pages={1193&raisebox#.5mm--* &!&!&!1206},
+quotation={1},
+year={2006},
+publisher={Springer},
+url={http://www.w3.org/TR/prov-o/},
+}
+@article{Amintoosi87afzayesh,
+TITLE={&prl#اÙزایش وضوح ناحیه‌ای*},
+BOOKTITLE={&prl#چهاردهمین Ú©Ù†Ùرانس ملی سالانه انجمن کامپیوتر ایران*},
+author={{\noopsort{1}}{&prl#امین‌طوسی*}&prl#محمود, * and &prl# مزینی ,ناصر*and &prl#سایرین*},
+YEAR ={1387},
+ORGANIZATION={&prl#دانشگاه امیرکبیر*},
+ADDRESS={&prl#تهران، ایران*},
+journal={&prl#نام مجله‌ی چاپ‌کننده*},
+month={&prl#اسÙند*},
+doi={01.1000/doi-0121},
+edition={&prl#ششم*},
+volume={45},
+number={3},
+pages={101&raisebox#.5mm--* &!&!&!108},
+issn={1111&raisebox#.5mm-* &!&!&!2222},
+madadurltest={1},
+chapter={5},
+quotation={1},
+LANGUAGE={Persian},
+mlabel={ا.م$^+$},
+slabel={$\heartsuit$},
+murl={http://www.w3.org/TR/prov-o/},
+}
+@inbook{d,
+AUTHOR={{\noopsort{1}}{&prl#مددپور*}&prl#شاپور, * and &prl# مددپور ,محمدحسین*and &prl#سایرین*},
+mlabel={&prl#مدد$^+$*},
+TITLE={&prl#همریختی و بروریختی در حلقه‌ها*},
+JOURNAL={&prl#مجله‌ی گرا٠Ùارس*},
+VOLUME={1},
+YEAR={1395},
+MONTH={&prl#بهار*},
+PAGES={39&raisebox#.5mm--* &!&!&!43},
+quotation={1},
+LANGUAGE={Persian},
+doi={&prl#01.1000/doi*&raisebox#.5mm-* &!&!&!0121},
+isbn={123456789000},
+edition={&prl#دوم*},
+series={&prl#سری دوم*},
+number={10},
+chapter={5},
+madadurltest={1},
+murl={http://www.w3.org/TR/prov-o/},
+publisher={&prl#انتشارات دل آهنگ*},
+note={&prl#یک یادداشت اختیاری در این‌جا می‌توانید وارد کنید*},
+address={‌&prl#آدرس منتشر کننده*},
+slabel={$\bigstar$},
+}
+@phdthesis{mmm,
+title={&prl#Ùضای توپولوژی*},
+author={{\noopsort{5}}{&prl#رضایی علی‌آباد*}&prl#علی,*},
+journal={Kyungpook mathematical journal},
+pages={1163&raisebox#.5mm--* &!&!&!1171},
+LANGUAGE ={Persian},
+mlabel={&prl#ا.Ù….Ù*},
+madadurltest={1},
+quotation={1},
+murl={http://www.w3.org/TR/prov-o/},
+series={second series},
+year={2002},
+url={http://www.w3.org/TR/prov-o/},
+chapter={5},
+school={&prl#دانشگاه چمران اهواز*},
+}
+@inbook{yu,
+author={{\noopsort{1}}{&prl#نامداری*}&prl#مهرداد, * and &prl# کوچک‌پور ,عبدعلی*},
+mlabel ={&prl#ن.ا.م$^+$*},
+TITLE ={&prl#مقدمه‌ای بر نظریه‌ی اصولی مجموعه‌ها*},
+VOLUME={1},
+YEAR={1394},
+MONTH={&prl#بهار*},
+PAGES={39&raisebox#.5mm--* &!&!&!43},
+quotation={1},
+LANGUAGE={Persian},
+doi={322/511},
+isbn={978&raisebox#.5mm-* &!&!&!600&raisebox#.5mm-* &!&!&!141&raisebox#.5mm-* &!&!&!173&raisebox#.5mm-* &!&!&!1},
+edition={&prl#دوم*},
+series={&prl#سری دوم*},
+number={100},
+chapter={5},
+madadurltest={1},
+murl={http://www.w3.org/TR/prov-o/},
+publisher={&prl#انتشارات دانشگاه چمران*},
+note={&prl#یک یادداشت اختیاری در این‌جا می‌توانید وارد کنید*},
+address={&prl#آدرس منتشر کننده*},
+slabel={4},
+}
+\end{Verbatim}
+\begin{figure}[H]
+\centering
+\includegraphics[width=\textwidth,height=15.5cm]{image/sh12}
+\end{figure}
+
+
+\paragraph{یک نمونه‌ی کلی}
+Ùایل
+\lr{bib}
+این نمونه در
+\href{https://ctan.org/tex-archive/biblio/bibtex/contrib/alpha-persian}{این آدرس از
+\lr{CTAN}}
+و با نام
+\lr{sample8}
+قابل دسترسی است.
+\\
+\noindent
+\begin{latin}
+{\color{blue}$\hookrightarrow$ Compile: XeLaTex-BibTeX 8 bit-XeLaTex-XeLaTex}\\
+\end{latin}
+\lr{\cite{B02f}}
+ Ùˆ
+\cite{d}
+Ùˆ
+\cite{Amintoosi87afzayesh}
+Ùˆ
+\lr{\cite{aliabad2004rings}}
+Ùˆ
+\lr{\cite{ghafarzadeh2016stem}}
+Ùˆ
+\cite{aliabad2004rings,ali,whatever,B02f,d}
+و همچنین داریم:
+\\
+\lr{\cite{aliabad2004rings,ali,whatever,B02f,d}}
+
+\nocite{*}
+\bibliographystyle{alpha-persian}
+%\bibliography{sample1}
+%\bibliography{sample2}
+%\bibliography{sample3}
+%\bibliography{sample4}
+%\bibliography{sample5}
+%\bibliography{sample6}
+%\bibliography{sample7}
+\bibliography{sample8}
+\newpage
+\section{%
+سبک آلÙاپرشین
+با پردازش‌گر پی‌دی‌ا٠‌لاتک
+\lr{(\protect \pdflatex)}}
+استÙاده از سبک آلÙاپرشین
+بدون بسته‌ی زی‌پرشین و پردازشگر
+\lr{pdfLaTeX}
+نیز به سادگی امکان‌پذیر است.
+\\
+اگرچه این سبک برای استÙاده‌ی Ùارسی‌زبانان Ùˆ به Ú©Ù…Ú© بسته‌ی
+زی‌پرشین تدارک دیده شده است; اما با قرار دادن ساختار زیرقبل از
+\verb|\begin{document}|
+در سند خود می‌توانید با پردازش‌گر
+\lr{pdfLaTeX}
+نیز برای اسناد لاتین بهره بگیرید:
+\begin{latin}
+\begin{Verbatim}[fontsize=\bf,commandchars=\^\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{red!50!black}]
+\let\lr\relax
+\let\setlatin\relax
+\let\resetlatinfont\relax
+\newenvironment{LTRbibitems}{}{}
+\end{Verbatim}
+\end{latin}
+\paragraph{\color{blue} نمونه‌:}\hfill
+
+\begin{latin}
+{\color{blue}$\hookrightarrow$ Compile: pdfLaTeX-BibTeX-pdfLaTeX-pdfLaTeX}
+\begin{Verbatim}[numbers=left,fontsize=\bf,commandchars=\&\#\*,baselinestretch=1,firstnumber=1,formatcom=\color{green!50!black}]
+@misc{whatever,
+AUTHOR= "{\noopsort{1}}{Madadpour},Ahmad ",
+quotation={1},
+year={2001},
+chapter={5},
+title={Testing the effects of bibtex styles on
+bibliography formatting},
+murl={http://www.w3.org/TR/prov-o/},
+doi={01.1000/doi-0121},
+madadurltest={1},
+key={665},
+}
+@misc{B02f,
+howpublished = {How it was published},
+AUTHOR= "{\noopsort{2}}{Madadpour},Shapour and
+Madadpour , Mohamadhosain and Madadpour , Mitra ",
+year={2002},
+quotation={1},
+title={First},
+pages={13--17},
+madadurltest={1},
+mlabel={&prl#$\checkmark^+$*},
+murl={http://www.w3.org/TR/prov-o/},
+chapter={5},
+}
+@article{aliabad2004rings,
+title={reference test-Rings of continuous functions
+vanishing at infinity},
+AUTHOR= "{\noopsort{3}}{Madadpour},Alireza ",
+journal={Commentationes Mathematicae Universitatis Carolinae},
+volume={45},
+pages={519--533},
+quotation={1},
+year={2004},
+murl={http://www.w3.org/TR/prov-o/},
+madadurltest={1},
+publisher={Charles University in Prague, Faculty of
+Mathematics and Physics},
+}
+@article{ali,
+title={reference test-Pasting topological spaces at one point},
+AUTHOR = "{\noopsort{4}}{Madadpour},Mahmood ",
+journal={Czechoslovak Mathematical Journal},
+volume={56},
+number={4},
+pages={1193--1206},
+quotation={1},
+year={2006},
+publisher={Springer},
+url={http://www.w3.org/TR/prov-o/},
+}
+@book{kuznetsov1998elements,
+title={reference test-Elements of
+applied bifurcation theory},
+volume={112},
+madadurltest={1},
+year={1998},
+edition={third},
+publisher={Springer Verlag},
+murl={http://www.w3.org/TR/prov-o/},
+isbn={123456789000},
+number={10},
+pages={10--19},
+series={second series},
+chapter={5},
+AUTHOR= "{\noopsort{5}}{Madadpour},Behrooz ",
+address={The address of the publisher},
+}
+\end{Verbatim}
+\begin{latin}
+{\color{blue}$\hookrightarrow$ Compile: pdfLaTeX-BibTeX-pdfLaTeX-pdfLaTeX}
+\end{latin}
+\begin{figure}[H]
+\centering
+\includegraphics[width=\textwidth,height=11cm]{image/sh13}
+\end{figure}
+\end{latin}
+\paragraph{توجه}
+زمانی Ú©Ù‡ از پردازش‌گر پی‌دی‌ا٠لاتک در اسناد لاتین استÙاده می‌کنید
+تمام ویژگیهای پردازش با زی‌لاتک را نیز دارید.
+
+
+\noindent
+برگ سبزیست تحÙه‌ی درویش Ùˆ در پایان امیدوارم Ù…Ùید واقع
+شود و مجدداً از تمام عزیزان کاربر و صاحب‌نظر خواهشمندم
+با توجه به این‌که تاکنون در گیت‌لب Ùایل این سبک را قرار
+نداده‌ام، هرگونه پیشنهاد را به ایمیل شخصی این‌جانب در نشانی
+\verb|madad_sh@yahoo.com|
+ارسال کنند و پیشاپیش از همکاری شما عزیزان سپاس‌گزارم.
+درود بر شما.
+\begin{center}
+{\LARGE نوزدهم اسÙند هزار Ùˆ سیصد Ùˆ نود Ùˆ Ù‡Ùت; شاپور مددپور}
+\end{center}
+
+
+\end{document}
diff --git a/biblio/bibtex/contrib/alpha-persian/alpha-persian.bst b/biblio/bibtex/contrib/alpha-persian/alpha-persian.bst
new file mode 100644
index 0000000000..22693abf9d
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/alpha-persian.bst
@@ -0,0 +1,1831 @@
+%----------------------------------------------------------------------------------------------------------------------------%
+%----------------------------------------------------------------------------------------------------------------------------%
+
+%>>>% Bib. style "alpha-persian", Persian (farsi) version of alpha.bst and also for pdflatex compiler.
+%>>>% by: Shapour Madadpour March 2019
+%>>>% E-mail: madad_sh@yahoo.com
+%>>>%It has two user guide for persian language users (alpha-persian-p.userguide) and english language users (alpha-persian-l.userguide).
+%----------------------------------------------------------------------------------------------------------------------------%
+
+%>>>% Thanks to Mahmoud Amintoosi and Mostafa Vahedi for creating the other bibtex styles in persian.
+%----------------------------------------------------------------------------------------------------------------------------%
+
+%>>>% For XePersian, a Persian Typesetting Package in XeTeX and also for pdflatex with help of the following commands:
+%%%%%\let\lr\relax %\let\setlatin\relax %\let\resetlatinfont\relax %\newenvironment{LTRbibitems}{}{}%%%%
+%>>>% It may be distributed and/or modified under the
+%>>>% conditions of the LaTeX Project Public License (version 1.3c),
+%>>>% either this version of this license or (at your option) any later version.
+%>>>% This style has\noopsort command for sort the references manually.
+%-----------------------------------------------------------------------------------------------------------------------------%
+
+% BibTeX standard bibliography style `alpha'
+ % Version 0.99b (8-Dec-10 release) for BibTeX versions 0.99a or later.
+ % Copyright (C) 1984, 1985, 1988, 2010 Howard Trickey and Oren Patashnik.
+ % Unlimited copying and redistribution of this file are permitted as long as
+ % it is unmodified. Modifications (and redistribution of modified versions)
+ % are also permitted, but only if the resulting file is renamed to something
+ % besides btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+%------------------------------------------------------------------------------------------------------------------------------%
+
+%>>>% This style has all of properties alpha style. in addition to:
+%++++++%%++++++++++++++++++++++++++++++++++++++++++++% Changes %++++++%%+++++++++++++++++++++++++++++++++++++++++++++++++%
+%>>+ The title structure, has essentially changed.
+%>>+ isbn Added. It Writes in Persian style "شابک".
+%>>+ issn Added. It Writes in Persian style "شاپا".
+%>>+ doi Added. It Writes in Persian style "شناسه‌ی دیجیتال".
+%>>+ slabel Added. slabel field is used for arbitrary label.
+%>>+ mlabel Added. mlabel field is used for a part of manual alpha style (just for author name and \etalchar) label in persian.
+%>>+ madadurltest Added. madadurltest field is needed for title (with link).
+%>>+ murl Added. murl field is used for when you want to your title be with link.
+%>>+ quotation Added. quotation field is used for when you want to your title be with quotation mark.
+%>>+ Compatible with hyperref, url, natbib and cite packages
+%-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------%
+%-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------%
+
+ENTRY
+{address
+author % Set for english and persian language(LTR and RTL text).with et~al in persian and english.
+booktitle
+chapter % Set for english and persian language(LTR and RTL text).
+doi %---Added and set for english and persian language(LTR and RTL text)---%It Writes in Persian style "شناسه‌ی دیجیتال".
+edition % Set for english and persian language(LTR and RTL text).
+editor % Set for english and persian language(LTR and RTL text).
+howpublished
+institution
+isbn %---Added and it set for english and persian language(LTR and RTL text)---%It Writes in Persian style "شابک".
+issn %---Added and it set for english and persian language(LTR and RTL text)---%It Writes in Persian style "شاپا".
+journal
+key
+language %---Added and it set for persian language(RTL text)---%
+madadurltest %---Added and it set for english and persian language(LTR and RTL text)---%madadurltest={1},(with murl field)
+ % is needed for title with link(this structure different from key structure).
+mlabel %---Added and it set for english and persian language(LTR and RTL text)---%mlabel field is used for a part of manual alpha style (just for author name
+ %---and \etalchar) label in persian.
+month
+murl %---Added and set for english and persian language(LTR and RTL text)---%murl field is used for when you want to your title be with link(with madadurltest={1} field).
+note
+number % Set for english and persian language(LTR and RTL text).
+organization
+pages % Set for english and persian language(LTR and RTL text).
+publisher
+quotation %---Added and set for english and persian language(LTR and RTL text)---%quotation field is used for when you want to your title be with quotation mark.
+school
+series % Set for english and persian language(LTR and RTL text).
+slabel %---Added and set for english and persian language(LTR and RTL text)---%slabel field is used for arbitrary label.(this structure different from key structure).
+title % The title structure, has essentially changed. You can link it by fill in the murl field with madadurltest={1} in the bibfile. Also you can show title with
+ % or Without. quotation mark by fill in the questiton field in the bibfile.
+type
+url %---Added and set for english and persian language(LTR and RTL text)---%
+volume % Set for english and persian language(LTR and RTL text).
+year
+}
+{}
+{ label extra.label sort.label }
+%-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------%
+%-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------%
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {is.print.banners.to.terminal}{#1}
+%--------------------------------------------------------------------- FILE VERSION AND BANNER ---------------------------------------------------------------------------------%
+
+FUNCTION{bst.file.version} { "1.3" }
+FUNCTION{bst.file.date} { "2019/03/10" }
+FUNCTION{bst.file.website} { "http://www.parsilatex.com" }
+FUNCTION{bst.file.author} {"Sh.Madadpour" }
+FUNCTION {banner.message}
+{ is.print.banners.to.terminal
+ { "-- alpha-persian.bst version" " " * bst.file.version *
+ " (" * bst.file.date * ") " * %"by " * bst.file.author *
+ top$
+ "-- This is a BibTeX style for XePersian and also without it: " bst.file.website *
+ %top$
+ %" " *
+ top$
+ }
+ { skip$ }
+ if$
+}
+
+FUNCTION {completed.message}
+{ is.print.banners.to.terminal
+ { ""
+ top$
+ "Done."
+ top$
+ }
+ { skip$ }
+ if$
+}
+%------------------------------------------------------------------------------------------------------------------------------------------------------------------------------%
+%------------------------------------------------------------------------------------------------------------------------------------------------------------------------------%
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {author.mkey.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { ""}
+ if$
+}
+%----------------------------------------------------------------------------------add and change-----------------------------------------------------------------------------%
+%-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------%
+
+FUNCTION {format.mlabel}
+{slabel empty$
+{mlabel empty$
+{label}
+{"" mlabel *
+year purify$ #-1 #2 substring$ *}
+ if$
+}
+{"" slabel * }
+ if$
+}
+
+FUNCTION {format.madadurltest}
+{
+madadurltest empty$
+{quotation empty$
+{title "t" change.case$}
+{
+language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+{" ''" title "`` " * * "t" change.case$}
+{" ``" title "'' " * * "t" change.case$}
+ if$
+ }
+if$
+}
+{
+quotation empty$
+{"\href{" murl * "}{" title * "}" * * "t" change.case$}
+{
+language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+{"\href{" murl * "}{''" title * "``}" * * "t" change.case$}
+{"\href{" murl * "}{``" title * "''}" * * "t" change.case$}
+if$
+}
+if$
+}
+if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+{ "" }
+{format.madadurltest}
+ if$
+}
+
+FUNCTION {format.url}
+{
+url empty$
+{ "" }
+{
+language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+{"لینک: \url{" url * "}" * }
+{"URL: \url{" url * "}" * }
+if$
+}
+if$
+}
+
+FUNCTION {format.doi}
+{
+doi empty$
+{ "" }
+{
+language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+{"شناسه‌ی دیجیتال: \doi{" doi * "}" * }
+{"\ldoi{" doi * "}" * }
+if$
+}
+if$
+}
+FUNCTION {format.isbn}
+{
+isbn empty$
+{ "" }
+{
+language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+{"شابک: \isbn{" isbn * "}" * }
+{"\lisbn{" isbn * "}" * }
+if$
+}
+if$
+}
+
+FUNCTION {format.issn}
+{
+issn empty$
+{ "" }
+{
+language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+{"شاپا: \issn{" issn * "}" * }
+{"\lissn{" issn * "}" * }
+if$
+}
+if$
+}
+
+FUNCTION {output.bibitem}
+{
+ newline$
+language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+ { skip$ }
+ {
+ "\begin{LTRbibitems}" write$
+ newline$
+ "\resetlatinfont " write$
+ }
+if$
+newline$
+"\bibitem[" write$
+format.mlabel write$
+"]{" write$
+cite$ write$
+"}" write$
+newline$
+""
+before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+ {skip$}
+ { newline$
+ "\end{LTRbibitems}" write$
+ newline$
+ }
+ if$
+}
+%-------------------------------------------------------------------------some persian language setting----------------------------------------------------------------------%
+%-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------%
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ {
+language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+ { " سایرین." * }
+ { " and et~al." * }
+ if$
+ }
+ {
+language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+ { " Ùˆ " * t * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ {
+language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+ { ", ویراستاران" * }
+ { ", editors" * }
+ if$
+ }
+ {
+language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+ { ", ویراستار" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{format.madadurltest emphasize
+}
+
+
+
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ {
+language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+ {
+ "جلد" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " از " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+ { "شماره‌ی" }
+ { "number" }
+ if$
+ }
+ { language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+ { "شماره‌ی" }
+ { "Number" }
+ if$
+ }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ {
+language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+ { " در " * series * }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+ {
+ "ویرایش " edition *
+}
+{
+ output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+}
+ if$
+ }
+ if$
+}
+
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ {
+language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+ { "صÙحات" pages n.dashify tie.or.space.connect }
+ { "pages" pages n.dashify tie.or.space.connect }
+ if$
+ }
+ {
+language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+ { "صÙحه‌ی" pages tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ {
+language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+ {"\setlatin{:} " * pages n.dashify *}
+ {":" * pages n.dashify *}
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ {
+language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+ {"Ùصل" }
+ {"chapter" }
+ if$
+ }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ {
+language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+{"در " booktitle emphasize *}
+{"In " booktitle emphasize *}
+if$
+}
+{
+language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+{"در " format.editors * ", " * booktitle emphasize *}
+{"In " format.editors * ", " * booktitle emphasize *}
+if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ {
+language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+ { "گزارش ÙÙ†ÛŒ" }
+ { "Technical Report" }
+ if$
+}
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ {
+language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+ {"در {\em " journal * "\/}" * }
+ {"In {\em " journal * "\/}" * }
+ if$
+ }
+ if$
+ }
+ {
+language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+{"در " key *}
+{"In " key *}
+if$
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+
+
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ {
+language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+
+ {" در "}
+ {" In "}
+ if$
+ }
+ }
+ {
+{
+language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+ {"جلد" volume tie.or.space.connect}
+ {"Volume" volume tie.or.space.connect}
+ if$
+ }
+ {
+language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+ {" از " *}
+ {" of " *}
+ if$
+ }
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ {
+language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+{"در {\em " booktitle * "\/}" * }
+{"In {\em " booktitle * "\/}" * }
+if$
+}
+ if$
+ }
+ {
+language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+{"در " key * }
+{"In " key * }
+ if$
+ }
+ if$
+ }
+ {
+language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+{"در " format.crossref.editor * }
+ {"In " format.crossref.editor * }
+if$
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+new.block
+format.issn output
+new.block
+format.doi output
+new.block
+format.url output
+new.block
+note output
+fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+new.block
+format.isbn output
+ new.block
+ format.doi output
+new.block
+format.url output
+new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+format.isbn output
+new.block
+format.doi output
+new.block
+format.url output
+new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+format.isbn output
+ new.block
+ format.doi output
+new.block
+format.url output
+new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+new.block
+format.isbn output
+ new.block
+ format.doi output
+new.block
+format.url output
+new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+format.isbn output
+ new.block
+ format.doi output
+new.block
+format.url output
+new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+format.isbn output
+ new.block
+ format.doi output
+new.block
+format.url output
+new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+ {"پایان‌‌نامه‌ی کارشناسی ارشد" format.thesis.type output.nonnull}
+ { "Master's thesis" format.thesis.type output.nonnull}
+ if$
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ format.doi output
+new.block
+format.url output
+new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+new.block
+format.issn output
+ new.block
+ format.doi output
+new.block
+format.url output
+new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+language missing$
+{#0}
+{language "l" change.case$ "persian" =}
+if$
+ {"رساله‌ی دکترا" format.thesis.type output.nonnull}
+ { "PhD thesis" format.thesis.type output.nonnull}
+ if$
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ format.doi output
+new.block
+format.url output
+new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+format.isbn output
+ new.block
+ format.doi output
+new.block
+format.url output
+new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ format.doi output
+new.block
+format.url output
+new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+new.block
+format.doi output
+new.block
+format.url output
+new.block
+fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ year field.or.null purify$ #-1 #2 substring$
+ *
+ 'label :=
+ year field.or.null purify$ #-1 #4 substring$
+ *
+ sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {banner.message}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{"% Generated by alpha-persian.bst, version: " bst.file.version * " (" * bst.file.date * ")" *
+ write$ newline$
+"%This style has been developed to use Persian bibstyle"
+ write$ newline$
+"%with the xepersian package"
+write$ newline$
+"% Author: " bst.file.author *
+write$ newline$
+et.al.char.used
+{ "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+'skip$
+if$
+preamble$ empty$
+'skip$
+{preamble$ write$ newline$ }
+if$
+"\newcommand*{\ldoi}[1]{\lr{doi: #1}}"
+write$ newline$
+"\newcommand*{\lisbn}[1]{\lr{ISBN: #1}}"
+write$ newline$
+"\expandafter\ifx\csname href\endcsname\relax"
+write$ newline$
+"\def\href#1#2{#2}\fi"
+write$ newline$
+"\providecommand{\url}[1]{\texttt{#1}}"
+write$ newline$
+"\newcommand*{\lissn}[1]{\lr{ISSN: #1}}"
+write$ newline$
+"\expandafter\ifx\csname urlstyle\endcsname\relax"
+write$ newline$
+"\providecommand{\doi}[1]{\rl{\setlatin #1}}\else"
+write$ newline$
+" \providecommand{\doi}{\begingroup \urlstyle{rm}\Url}\fi"
+write$ newline$
+"\expandafter\ifx\csname urlstyle\endcsname\relax"
+write$ newline$
+"\providecommand{\isbn}[1]{\rl{\setlatin #1}}\else"
+write$ newline$
+"\providecommand{\isbn}{\begingroup \urlstyle{rm}\Url}\fi"
+write$ newline$
+"\expandafter\ifx\csname urlstyle\endcsname\relax"
+write$ newline$
+"\providecommand{\issn}[1]{\rl{\setlatin #1}}\else"
+write$ newline$
+"\providecommand{\issn}{\begingroup \urlstyle{rm}\Url}\fi"
+write$ newline$
+"\providecommand\noopsort[1]{}"
+write$ newline$
+"\begin{thebibliography}{" longest.label * "}" *
+write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+EXECUTE{completed.message}
+%--------------------------------------------------------------------------------------------------------------------------------------------------------------------------%
+%--------------------------------------------------------------------------------------------------------------------------------------------------------------------------%
+
+%>>>% Bib. style "alpha-persian", Persian (farsi) version of alpha.bst
+%>>>% by: Shapour Madadpour March 2019
+%>>>% E-mail: madad_sh@yahoo.com
+%--------------------------------------------------------------------------------------------------------------------------------------------------------------------------%
+%--------------------------------------------------------------------------------------------------------------------------------------------------------------------------% \ No newline at end of file
diff --git a/biblio/bibtex/contrib/alpha-persian/image/21.jpg b/biblio/bibtex/contrib/alpha-persian/image/21.jpg
new file mode 100644
index 0000000000..829183706d
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/image/21.jpg
Binary files differ
diff --git a/biblio/bibtex/contrib/alpha-persian/image/sh11.jpg b/biblio/bibtex/contrib/alpha-persian/image/sh11.jpg
new file mode 100644
index 0000000000..4a9be3f8eb
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/image/sh11.jpg
Binary files differ
diff --git a/biblio/bibtex/contrib/alpha-persian/image/sh12.jpg b/biblio/bibtex/contrib/alpha-persian/image/sh12.jpg
new file mode 100644
index 0000000000..e9a0b4b8f7
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/image/sh12.jpg
Binary files differ
diff --git a/biblio/bibtex/contrib/alpha-persian/image/sh13.jpg b/biblio/bibtex/contrib/alpha-persian/image/sh13.jpg
new file mode 100644
index 0000000000..c8c9a72f62
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/image/sh13.jpg
Binary files differ
diff --git a/biblio/bibtex/contrib/alpha-persian/image/sh14.PNG b/biblio/bibtex/contrib/alpha-persian/image/sh14.PNG
new file mode 100644
index 0000000000..9604f96b27
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/image/sh14.PNG
Binary files differ
diff --git a/biblio/bibtex/contrib/alpha-persian/image/sh15.PNG b/biblio/bibtex/contrib/alpha-persian/image/sh15.PNG
new file mode 100644
index 0000000000..65473d1256
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/image/sh15.PNG
Binary files differ
diff --git a/biblio/bibtex/contrib/alpha-persian/image/sh16.PNG b/biblio/bibtex/contrib/alpha-persian/image/sh16.PNG
new file mode 100644
index 0000000000..5575415531
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/image/sh16.PNG
Binary files differ
diff --git a/biblio/bibtex/contrib/alpha-persian/image/sh17.PNG b/biblio/bibtex/contrib/alpha-persian/image/sh17.PNG
new file mode 100644
index 0000000000..981f258bff
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/image/sh17.PNG
Binary files differ
diff --git a/biblio/bibtex/contrib/alpha-persian/image/sh18.jpg b/biblio/bibtex/contrib/alpha-persian/image/sh18.jpg
new file mode 100644
index 0000000000..197737b27b
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/image/sh18.jpg
Binary files differ
diff --git a/biblio/bibtex/contrib/alpha-persian/image/sh2.jpg b/biblio/bibtex/contrib/alpha-persian/image/sh2.jpg
new file mode 100644
index 0000000000..4e9f440f47
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/image/sh2.jpg
Binary files differ
diff --git a/biblio/bibtex/contrib/alpha-persian/image/sh20.jpg b/biblio/bibtex/contrib/alpha-persian/image/sh20.jpg
new file mode 100644
index 0000000000..ca5f3c39ef
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/image/sh20.jpg
Binary files differ
diff --git a/biblio/bibtex/contrib/alpha-persian/image/sh3.jpg b/biblio/bibtex/contrib/alpha-persian/image/sh3.jpg
new file mode 100644
index 0000000000..f791a59ce3
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/image/sh3.jpg
Binary files differ
diff --git a/biblio/bibtex/contrib/alpha-persian/image/sh4.jpg b/biblio/bibtex/contrib/alpha-persian/image/sh4.jpg
new file mode 100644
index 0000000000..ada885cf9c
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/image/sh4.jpg
Binary files differ
diff --git a/biblio/bibtex/contrib/alpha-persian/image/sh5.jpg b/biblio/bibtex/contrib/alpha-persian/image/sh5.jpg
new file mode 100644
index 0000000000..8dc9411fa4
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/image/sh5.jpg
Binary files differ
diff --git a/biblio/bibtex/contrib/alpha-persian/image/sh6.jpg b/biblio/bibtex/contrib/alpha-persian/image/sh6.jpg
new file mode 100644
index 0000000000..7dcf6f41df
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/image/sh6.jpg
Binary files differ
diff --git a/biblio/bibtex/contrib/alpha-persian/image/sh7.jpg b/biblio/bibtex/contrib/alpha-persian/image/sh7.jpg
new file mode 100644
index 0000000000..7f95e8e0cf
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/image/sh7.jpg
Binary files differ
diff --git a/biblio/bibtex/contrib/alpha-persian/image/sh8.jpg b/biblio/bibtex/contrib/alpha-persian/image/sh8.jpg
new file mode 100644
index 0000000000..bd5fde5dc0
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/image/sh8.jpg
Binary files differ
diff --git a/biblio/bibtex/contrib/alpha-persian/image/sh9.jpg b/biblio/bibtex/contrib/alpha-persian/image/sh9.jpg
new file mode 100644
index 0000000000..b3602efff7
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/image/sh9.jpg
Binary files differ
diff --git a/biblio/bibtex/contrib/alpha-persian/image/sht.jpg b/biblio/bibtex/contrib/alpha-persian/image/sht.jpg
new file mode 100644
index 0000000000..76b30d8f05
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/image/sht.jpg
Binary files differ
diff --git a/biblio/bibtex/contrib/alpha-persian/pdflatexsample.tex b/biblio/bibtex/contrib/alpha-persian/pdflatexsample.tex
new file mode 100644
index 0000000000..072c9d55c5
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/pdflatexsample.tex
@@ -0,0 +1,19 @@
+\documentclass{article}
+\usepackage{xcolor}
+\usepackage[pagebackref=true,colorlinks,linkcolor=blue,citecolor=green!80!black]{hyperref}
+\usepackage{amssymb}
+\usepackage{amsmath}
+\let\lr\relax
+\let\setlatin\relax
+\let\resetlatinfont\relax
+\newenvironment{LTRbibitems}{}{}
+\begin{document}
+According to
+\cite{B02f}
+and
+\cite{aliabad2004rings,ali,whatever,B02f}
+we have ...
+\nocite{*}
+\bibliographystyle{alpha-persian}
+\bibliography{sample10}
+\end{document}
diff --git a/biblio/bibtex/contrib/alpha-persian/sample1.bib b/biblio/bibtex/contrib/alpha-persian/sample1.bib
new file mode 100644
index 0000000000..2112aac84a
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/sample1.bib
@@ -0,0 +1,28 @@
+
+
+@article{karamzadeh2012prime,
+author={Karamzadeh, Omid Ali Shahny},
+title={The Prime Avoidance Lemma Revisited},
+key ={7},
+ journal={Kyungpook mathematical journal},
+ volume={52},
+ number={2},
+ pages={149--153},
+ year={2012},
+ quotation={1},
+ publisher={Department of Mathematics, Kyungpook National University}
+}
+@phdthesis{mmm,
+ title={Ùضای توپولوژی},
+ author={ رضایی علی‌آباد,علی},
+journal={Kyungpook mathematical journal},
+ pages={1163--1171},
+LANGUAGE = {Persian},
+mlabel = {ا.Ù….Ù},
+ murl = {http://www.w3.org/TR/prov-o/},
+series = {second series},
+year = {2002},
+chapter={5},
+ quotation={1},
+ school = {دانشگاه چمران اهواز},
+}
diff --git a/biblio/bibtex/contrib/alpha-persian/sample10.bib b/biblio/bibtex/contrib/alpha-persian/sample10.bib
new file mode 100644
index 0000000000..7f67afcfd6
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/sample10.bib
@@ -0,0 +1,70 @@
+
+‌
+@misc{whatever,
+AUTHOR = "{\noopsort{1}}{Madadpour},Ahmad ",
+quotation={1},
+year = {2001},
+chapter={5},
+title = {Testing the effects of bibtex styles on bibliography formatting},
+ murl = {http://www.w3.org/TR/prov-o/},
+doi = {01.1000/doi-0121},
+madadurltest={1},
+key={665},
+}
+@misc{B02f,
+ howpublished = {How it was published},
+AUTHOR = "{\noopsort{2}}{Madadpour},Shapour and Madadpour , Mohamadhosain and Madadpour ,Mitra ",
+ year = {2002},
+quotation={1},
+ title = {First},
+pages={13--17},
+madadurltest={1},
+mlabel = {$\checkmark^+$},
+ murl = {http://www.w3.org/TR/prov-o/},
+chapter={5},
+}
+
+
+@article{aliabad2004rings,
+ title={reference test-Rings of continuous functions vanishing at infinity},
+AUTHOR = "{\noopsort{3}}{Madadpour},Alireza ",
+ journal={Commentationes Mathematicae Universitatis Carolinae},
+ volume={45},
+ pages={519--533},
+quotation={1},
+ year={2004},
+murl = {http://www.w3.org/TR/prov-o/},
+madadurltest={1},
+ publisher={Charles University in Prague, Faculty of Mathematics and Physics},
+}
+@article{ali,
+ title={reference test-Pasting topological spaces at one point},
+AUTHOR = "{\noopsort{4}}{Madadpour},Mahmood ",
+ journal={Czechoslovak Mathematical Journal},
+ volume={56},
+ number={4},
+ pages={1193--1206},
+quotation={1},
+ year={2006},
+ publisher={Springer},
+url = {http://www.w3.org/TR/prov-o/},
+}
+
+
+@book{kuznetsov1998elements,
+ title={reference test-Elements of applied bifurcation theory},
+ volume={112},
+madadurltest={1},
+ year={1998},
+edition ={third},
+publisher={Springer Verlag},
+murl = {http://www.w3.org/TR/prov-o/},
+isbn = {123456789000},
+number = {10},
+pages = {10--19},
+series = {second series},
+chapter={5},
+AUTHOR = "{\noopsort{5}}{Madadpour},Behrooz ",
+address = {The address of the publisher},
+}
+
diff --git a/biblio/bibtex/contrib/alpha-persian/sample2.bib b/biblio/bibtex/contrib/alpha-persian/sample2.bib
new file mode 100644
index 0000000000..faae03ef2a
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/sample2.bib
@@ -0,0 +1,30 @@
+
+@article{karamzadeh2012prime,
+author={Karamzadeh, Omid Ali Shahny},
+title={The Prime Avoidance Lemma Revisited},
+key ={7},
+ journal={Kyungpook mathematical journal},
+ volume={52},
+ number={2},
+ pages={149--153},
+ year={2012},
+ quotation={1},
+madadurltest={1},
+murl = {http://www.w3.org/TR/prov-o/},
+ publisher={Department of Mathematics, Kyungpook National University}
+}
+@phdthesis{mmm,
+ title={Ùضای توپولوژی},
+ author={رضایی علی‌آباد,علی},
+journal={Kyungpook mathematical journal},
+ pages={1163--1171},
+LANGUAGE = {Persian},
+mlabel = {ا.Ù….Ù},
+madadurltest={1},
+quotation={1},
+murl = {http://www.w3.org/TR/prov-o/},
+series = {second series},
+year = {2002},
+chapter={5},
+ school = {دانشگاه چمران اهواز},
+}
diff --git a/biblio/bibtex/contrib/alpha-persian/sample3.bib b/biblio/bibtex/contrib/alpha-persian/sample3.bib
new file mode 100644
index 0000000000..bec1309d11
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/sample3.bib
@@ -0,0 +1,33 @@
+
+@article{karamzadeh2012prime,
+author={Karamzadeh, Omid Ali Shahny},
+title={The Prime Avoidance Lemma Revisited},
+key ={7},
+ journal={Kyungpook mathematical journal},
+ volume={52},
+ number={2},
+ pages={149--153},
+ year={2012},
+ quotation={1},
+url = {http://www.w3.org/TR/prov-o/},
+ publisher={Department of Mathematics, Kyungpook National University}
+}
+
+
+@phdthesis{mmm,
+ title={Ùضای توپولوژی},
+ author={رضایی علی‌آباد,علی},
+journal={Kyungpook mathematical journal},
+ pages={1163--1171},
+LANGUAGE = {Persian},
+mlabel = {ا.Ù….Ù},
+madadurltest={1},
+quotation={1},
+murl = {http://www.w3.org/TR/prov-o/},
+series = {second series},
+year = {2002},
+url = {http://www.w3.org/TR/prov-o/},
+chapter={5},
+ school = {دانشگاه چمران اهواز},
+}
+
diff --git a/biblio/bibtex/contrib/alpha-persian/sample4.bib b/biblio/bibtex/contrib/alpha-persian/sample4.bib
new file mode 100644
index 0000000000..4a70d1cbbb
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/sample4.bib
@@ -0,0 +1,47 @@
+@inbook{d,
+ AUTHOR = { مددپور, شاپور and مددپور, محمدحسین and سایرین},
+ mlabel = {مدد$^+$},
+ aaa = {1},
+ TITLE = {همریختی و بروریختی در حلقه‌ها},
+ JOURNAL = {مجله‌ی گرا٠Ùارس},
+ VOLUME = {1},
+ YEAR = {1395},
+ MONTH = {بهار},
+ PAGES = {39-43},
+quotation={1},
+ LANGUAGE = {Persian},
+url = {http://www.w3.org/TR/prov-o/},
+doi = {01.1000/doi-0121},
+isbn = {123456789000},
+edition ={دوم},
+series = {سری دوم},
+number = {10},
+chapter={5},
+madadurltest={1},
+ murl = {http://www.w3.org/TR/prov-o/},
+publisher = {انتشارات دل آهنگ},
+ note = {یک یادداشت اختیاری در این‌جا می‌توانید وارد کنید},
+ address = {آدرس منتشر کننده},
+}
+
+
+@book{kuznetsov1998elements,
+ title={Elements of applied bifurcation theory},
+ volume={112},
+madadurltest={1},
+ year={1998},
+edition ={third},
+publisher={Springer Verlag},
+murl = {http://www.w3.org/TR/prov-o/},
+isbn = {123456789000},
+number = {10},
+pages = {10--19},
+series = {second series},
+chapter={5},
+issn = {1111-2222},
+doi = {01.1000/doi-0121},
+ editor={Kuznetsov, Y.A. and edward, Y.A.},
+address = {The address of the publisher},
+}
+
+
diff --git a/biblio/bibtex/contrib/alpha-persian/sample5.bib b/biblio/bibtex/contrib/alpha-persian/sample5.bib
new file mode 100644
index 0000000000..f697983465
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/sample5.bib
@@ -0,0 +1,99 @@
+
+
+@article{Amintoosi87afzayesh,
+TITLE = {اÙزایش وضوح ناحیه‌ای},
+BOOKTITLE = {چهاردهمین Ú©Ù†Ùرانس ملی سالانه انجمن کامپیوتر ایران},
+author={امین‌طوسی,محمود and مزینی ,ناصر and سایرین},
+YEAR = {1387},
+ORGANIZATION = {دانشگاه امیرکبیر},
+ADDRESS = {تهران، ایران},
+ journal = {نام مجله‌ی چاپ‌کننده},
+month = {اسÙند},
+doi = {01.1000/doi-0121},
+edition ={ششم},
+editor={امین‌طوسی,محمود and مزینی ,ناصر and سایرین},
+volume={45},
+number={3},
+pages = {101--108},
+issn = {1111-2222},
+madadurltest={1},
+chapter={5},
+quotation={1},
+LANGUAGE = {Persian},
+mlabel = {ا.م$^+$},
+slabel = {$\clubsuit$},
+ murl = {http://www.w3.org/TR/prov-o/},
+}
+‌
+@misc{whatever,
+slabel = {$\checkmark$},
+ author = {Author, A.},
+quotation={1},
+ year = {2001},
+chapter={5},
+ title = {Testing the effects of biblatex styles on bibliography formatting},
+ murl = {http://www.w3.org/TR/prov-o/},
+doi = {01.1000/doi-0121},
+madadurltest={1},
+key={665},
+}
+
+
+@article{karamzadeh2012prime,
+author={Karamzadeh, Omid Ali Shahny},
+title={The Prime Avoidance Lemma Revisited},
+key ={7},
+slabel = {$\checkmark\checkmark$},
+ journal={Kyungpook mathematical journal},
+ volume={52},
+ number={2},
+ pages={149--153},
+ year={2012},
+ quotation={1},
+ publisher={Department of Mathematics, Kyungpook National University}
+}
+@inbook{d,
+ AUTHOR = {مددپور, شاپور and مددپور, محمدحسین and سایرین},
+ mlabel = {مدد$^+$},
+ TITLE = {همریختی و بروریختی در حلقه‌ها},
+ JOURNAL = {مجله‌ی گرا٠Ùارس},
+ VOLUME = {1},
+ YEAR = {1395},
+ MONTH = {بهار},
+ PAGES = {39-43},
+quotation={1},
+ LANGUAGE = {Persian},
+doi = {01.1000/doi-0121},
+isbn = {123456789000},
+edition ={دوم},
+series = {سری دوم},
+number = {10},
+chapter={5},
+madadurltest={1},
+ murl = {http://www.w3.org/TR/prov-o/},
+publisher = {انتشارات دل آهنگ},
+ note = {یک یادداشت اختیاری در این‌جا می‌توانید وارد کنید},
+ address = {آدرس منتشر کننده},
+slabel = {$\spadesuit$},
+}
+
+@book{kuznetsov1998elements,
+ title={Elements of applied bifurcation theory},
+ volume={112},
+slabel = {$\checkmark\checkmark\checkmark$},
+madadurltest={1},
+ year={1998},
+edition ={third},
+publisher={Springer Verlag},
+murl = {http://www.w3.org/TR/prov-o/},
+isbn = {123456789000},
+number = {10},
+pages = {10--19},
+series = {second series},
+chapter={5},
+ editor={Kuznetsov, Y.A. and edward, Y.A.},
+address = {The address of the publisher},
+}
+
+
+
diff --git a/biblio/bibtex/contrib/alpha-persian/sample6.bib b/biblio/bibtex/contrib/alpha-persian/sample6.bib
new file mode 100644
index 0000000000..7c8608ab04
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/sample6.bib
@@ -0,0 +1,82 @@
+
+
+@article{Amintoosi87afzayesh,
+TITLE = {اÙزایش وضوح ناحیه‌ای},
+BOOKTITLE = {چهاردهمین Ú©Ù†Ùرانس ملی سالانه انجمن کامپیوتر ایران},
+author={امین‌طوسی,محمود and مزینی ,ناصر and سایرین},
+YEAR = {1387},
+ORGANIZATION = {دانشگاه امیرکبیر},
+ADDRESS = {تهران، ایران},
+ journal = {نام مجله‌ی چاپ‌کننده},
+month = {اسÙند},
+doi = {01.1000/doi-0121},
+edition ={ششم},
+editor={امین‌طوسی,محمود and مزینی ,ناصر and سایرین},
+volume={45},
+number={3},
+pages = {101--108},
+issn = {1111-2222},
+madadurltest={1},
+chapter={5},
+quotation={1},
+LANGUAGE = {Persian},
+mlabel = {ا.م$^+$},
+slabel = {3},
+ murl = {http://www.w3.org/TR/prov-o/},
+}
+‌
+@misc{whatever,
+slabel = {1},
+ author = {Author, A.},
+quotation={1},
+ year = {2001},
+chapter={5},
+ title = {Testing the effects of biblatex styles on bibliography formatting},
+ murl = {http://www.w3.org/TR/prov-o/},
+doi = {01.1000/doi-0121},
+madadurltest={1},
+key={665},
+}
+
+
+@article{karamzadeh2012prime,
+author={Karamzadeh, Omid Ali Shahny},
+title={The Prime Avoidance Lemma Revisited},
+key ={7},
+slabel = {2},
+ journal={Kyungpook mathematical journal},
+ volume={52},
+ number={2},
+ pages={149--153},
+ year={2012},
+ quotation={1},
+ publisher={Department of Mathematics, Kyungpook National University}
+}
+@inbook{d,
+ AUTHOR = {مددپور, شاپور and مددپور, محمدحسین and سایرین},
+ mlabel = {مدد$^+$},
+ TITLE = {همریختی و بروریختی در حلقه‌ها},
+ JOURNAL = {مجله‌ی گرا٠Ùارس},
+ VOLUME = {1},
+ YEAR = {1395},
+ MONTH = {بهار},
+ PAGES = {39-43},
+quotation={1},
+ LANGUAGE = {Persian},
+doi = {01.1000/doi-0121},
+isbn = {123456789000},
+edition ={دوم},
+series = {سری دوم},
+number = {10},
+chapter={5},
+madadurltest={1},
+ murl = {http://www.w3.org/TR/prov-o/},
+publisher = {انتشارات دل آهنگ},
+ note = {یک یادداشت اختیاری در این‌جا می‌توانید وارد کنید},
+ address = {آدرس منتشر کننده},
+slabel = {4},
+}
+
+
+
+
diff --git a/biblio/bibtex/contrib/alpha-persian/sample7.bib b/biblio/bibtex/contrib/alpha-persian/sample7.bib
new file mode 100644
index 0000000000..8e8c086bfe
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/sample7.bib
@@ -0,0 +1,204 @@
+
+
+@article{Amintoosi87afzayesh,
+TITLE = {اÙزایش وضوح ناحیه‌ای},
+BOOKTITLE = {چهاردهمین Ú©Ù†Ùرانس ملی سالانه انجمن کامپیوتر ایران},
+author={امین‌طوسی,محمود and مزینی ,ناصر and سایرین},
+YEAR = {1387},
+ORGANIZATION = {دانشگاه امیرکبیر},
+ADDRESS = {تهران، ایران},
+ journal = {نام مجله‌ی چاپ‌کننده},
+month = {اسÙند},
+doi = {01.1000/doi-0121},
+edition ={ششم},
+editor={امین‌طوسی,محمود and مزینی ,ناصر and سایرین},
+volume={45},
+number={3},
+pages = {101--108},
+issn = {1111-2222},
+madadurltest={1},
+chapter={5},
+quotation={1},
+LANGUAGE = {Persian},
+mlabel = {ا.م$^+$},
+slabel = {دلخواه},
+ murl = {http://www.w3.org/TR/prov-o/},
+}
+‌
+@misc{whatever,
+slabel = {3},
+ author = {Author, A.},
+quotation={1},
+ year = {2001},
+chapter={5},
+ title = {Testing the effects of biblatex styles on bibliography formatting},
+ murl = {http://www.w3.org/TR/prov-o/},
+doi = {01.1000/doi-0121},
+madadurltest={1},
+key={665},
+}
+@misc{B02f,
+ howpublished = {How it was published},
+ author = {Buthor, B.},
+ year = {2002},
+quotation={1},
+ title = {First},
+pages={13--17},
+madadurltest={1},
+mlabel = {$\checkmark^+$},
+ murl = {http://www.w3.org/TR/prov-o/},
+chapter={5},
+}
+
+
+@article{aliabad2004rings,
+slabel = {1},
+ title={Rings of continuous functions vanishing at infinity},
+ author={Aliabad, Ali Rezaei and Azarpanah, F and Namdari, M and others},
+ journal={Commentationes Mathematicae Universitatis Carolinae},
+ volume={45},
+ pages={519--533},
+quotation={1},
+ year={2004},
+murl = {http://www.w3.org/TR/prov-o/},
+madadurltest={1},
+ publisher={Charles University in Prague, Faculty of Mathematics and Physics},
+}
+@article{ali,
+slabel = {2},
+ title={Pasting topological spaces at one point},
+ author={Aliabad, Ali Rezaei},
+ journal={Czechoslovak Mathematical Journal},
+ volume={56},
+ number={4},
+ pages={1193--1206},
+quotation={1},
+ year={2006},
+ publisher={Springer},
+url = {http://www.w3.org/TR/prov-o/},
+}
+
+@article{karamzadeh2012prime,
+author={Karamzadeh, Omid Ali Shahny},
+title={The Prime Avoidance Lemma Revisited},
+key ={7},
+ journal={Kyungpook mathematical journal},
+ volume={52},
+ number={2},
+ pages={149--153},
+ year={2012},
+ quotation={1},
+ publisher={Department of Mathematics, Kyungpook National University}
+}
+@article{ghafarzadeh2016stem,
+ title={Stem cell therapies for congenital heart disease},
+ author={Ghafarzadeh, Masoumeh and Namdari, Mehrdad and Eatemadi, Ali. and others},
+ journal={Biomedicine \& Pharmacotherapy},
+ volume={84},
+ pages={1163--1171},
+ year={2016},
+ number={1},
+ publisher={Elsevier},
+issn = {1111-2222},
+
+}
+@inbook{d,
+ AUTHOR = {مددپور, شاپور and مددپور, محمدحسین and سایرین},
+ mlabel = {مدد$^+$},
+ TITLE = {همریختی و بروریختی در حلقه‌ها},
+ JOURNAL = {مجله‌ی گرا٠Ùارس},
+ VOLUME = {1},
+ YEAR = {1395},
+ MONTH = {بهار},
+ PAGES = {39-43},
+quotation={1},
+ LANGUAGE = {Persian},
+url = {http://www.w3.org/TR/prov-o/},
+doi = {01.1000/doi-0121},
+isbn = {123456789000},
+edition ={دوم},
+series = {سری دوم},
+number = {10},
+chapter={5},
+madadurltest={1},
+ murl = {http://www.w3.org/TR/prov-o/},
+publisher = {انتشارات دل آهنگ},
+ note = {یک یادداشت اختیاری در این‌جا می‌توانید وارد کنید},
+ address = {آدرس منتشر کننده},
+}
+
+@book{kuznetsov1998elements,
+ title={Elements of applied bifurcation theory},
+ volume={112},
+madadurltest={1},
+ year={1998},
+edition ={third},
+publisher={Springer Verlag},
+murl = {http://www.w3.org/TR/prov-o/},
+isbn = {123456789000},
+number = {10},
+pages = {10--19},
+series = {second series},
+chapter={5},
+ editor={Kuznetsov, Y.A. and edward, Y.A.},
+address = {The address of the publisher},
+}
+
+@techreport{rt,
+ title={Ùضای توپولوژی},
+ author={رضایی علی‌آباد,علی},
+ pages={1163--1171},
+madadurltest={1},
+LANGUAGE = {Persian},
+mlabel = {ا.Ù….Ù},
+ murl = {http://www.w3.org/TR/prov-o/},
+series = {second series},
+year = {2002},
+chapter={5},
+}
+@mastersthesis{ty,
+ title={Ùضای توپولوژی},
+ author={رضایی علی‌آباد,علی},
+key ={6},
+journal={Kyungpook mathematical journal},
+ pages={1163--1171},
+madadurltest={1},
+LANGUAGE = {Persian},
+mlabel = {ا.Ù….Ù},
+ murl = {http://www.w3.org/TR/prov-o/},
+series = {second series},
+year = {2002},
+chapter={5},
+note ={یک یادداشت اختیاری},
+
+}
+@phdthesis{mmm,
+ title={Ùضای توپولوژی},
+ author={رضایی علی‌آباد,علی},
+journal={Kyungpook mathematical journal},
+ pages={1163--1171},
+madadurltest={1},
+LANGUAGE = {Persian},
+mlabel = {ا.Ù….Ù},
+ murl = {http://www.w3.org/TR/prov-o/},
+series = {second series},
+year = {2002},
+chapter={5},
+ school = {دانشگاه چمران اهواز},
+}
+@booklet{mgh,
+ title={Ùضای توپولوژی},
+ author={رضایی علی‌آباد,علی},
+journal={Kyungpook mathematical journal},
+ pages={1163--1171},
+madadurltest={1},
+LANGUAGE = {Persian},
+mlabel = {ا.Ù….Ù},
+ murl = {http://www.w3.org/TR/prov-o/},
+series = {second series},
+year = {2002},
+chapter={5},
+ howpublished = {چگونگی انتشار},
+address = {آدرس منتشر کننده},
+ key={4},
+}
diff --git a/biblio/bibtex/contrib/alpha-persian/sample8.bib b/biblio/bibtex/contrib/alpha-persian/sample8.bib
new file mode 100644
index 0000000000..f39d9bf0bd
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/sample8.bib
@@ -0,0 +1,201 @@
+@article{Amintoosi87afzayesh,
+TITLE = {اÙزایش وضوح ناحیه‌ای},
+BOOKTITLE = {چهاردهمین Ú©Ù†Ùرانس ملی سالانه انجمن کامپیوتر ایران},
+author={امین‌طوسی,محمود and مزینی ,ناصر and سایرین},
+YEAR = {1387},
+ORGANIZATION = {دانشگاه امیرکبیر},
+ADDRESS = {تهران، ایران},
+ journal = {نام مجله‌ی چاپ‌کننده},
+month = {اسÙند},
+doi = {01.1000/doi-0121},
+edition ={ششم},
+editor={امین‌طوسی,محمود and مزینی ,ناصر and سایرین},
+volume={45},
+number={3},
+pages = {101--108},
+issn = {1111-2222},
+madadurltest={1},
+chapter={5},
+quotation={1},
+LANGUAGE = {Persian},
+mlabel = {ا.م$^+$},
+slabel = {دلخواه},
+ murl = {http://www.w3.org/TR/prov-o/},
+}
+‌
+@misc{whatever,
+slabel = {3},
+ author = {Author, A.},
+quotation={1},
+ year = {2001},
+chapter={5},
+ title = {Testing the effects of biblatex styles on bibliography formatting},
+ murl = {http://www.w3.org/TR/prov-o/},
+doi = {01.1000/doi-0121},
+madadurltest={1},
+key={665},
+}
+@misc{B02f,
+ howpublished = {How it was published},
+ author = {Buthor, B.},
+ year = {2002},
+quotation={1},
+ title = {First},
+pages={13--17},
+madadurltest={1},
+mlabel = {$\checkmark^+$},
+ murl = {http://www.w3.org/TR/prov-o/},
+chapter={5},
+}
+
+
+@article{aliabad2004rings,
+slabel = {1},
+ title={Rings of continuous functions vanishing at infinity},
+ author={Aliabad, Ali Rezaei and Azarpanah, F and Namdari, M and others},
+ journal={Commentationes Mathematicae Universitatis Carolinae},
+ volume={45},
+ pages={519--533},
+quotation={1},
+ year={2004},
+murl = {http://www.w3.org/TR/prov-o/},
+madadurltest={1},
+ publisher={Charles University in Prague, Faculty of Mathematics and Physics},
+}
+@article{ali,
+slabel = {2},
+ title={Pasting topological spaces at one point},
+ author={Aliabad, Ali Rezaei},
+ journal={Czechoslovak Mathematical Journal},
+ volume={56},
+ number={4},
+ pages={1193--1206},
+quotation={1},
+ year={2006},
+ publisher={Springer},
+url = {http://www.w3.org/TR/prov-o/},
+}
+
+@article{karamzadeh2012prime,
+author={Karamzadeh, Omid Ali Shahny},
+title={The Prime Avoidance Lemma Revisited},
+key ={7},
+ journal={Kyungpook mathematical journal},
+ volume={52},
+ pages={149--153},
+ year={2012},
+ quotation={1},
+ publisher={Department of Mathematics, Kyungpook National University}
+}
+@article{ghafarzadeh2016stem,
+ title={Stem cell therapies for congenital heart disease},
+ author={Ghafarzadeh, Masoumeh and Namdari, Mehrdad and Eatemadi, Ali. and others},
+ journal={Biomedicine \& Pharmacotherapy},
+ volume={84},
+ pages={1163--1171},
+ year={2016},
+ number={1},
+ publisher={Elsevier},
+issn = {1111-2222},
+
+}
+@inbook{d,
+ AUTHOR = {مددپور, شاپور and مددپور, محمدحسین and سایرین},
+ mlabel = {مدد$^+$},
+ TITLE = {همریختی و بروریختی در حلقه‌ها},
+ JOURNAL = {مجله‌ی گرا٠Ùارس},
+ VOLUME = {1},
+ YEAR = {1395},
+ MONTH = {بهار},
+ PAGES = {39-43},
+quotation={1},
+ LANGUAGE = {Persian},
+url = {http://www.w3.org/TR/prov-o/},
+doi = {01.1000/doi-0121},
+isbn = {123456789000},
+edition ={دوم},
+series = {سری دوم},
+chapter={5},
+madadurltest={1},
+ murl = {http://www.w3.org/TR/prov-o/},
+publisher = {انتشارات دل آهنگ},
+ note = {یک یادداشت اختیاری در این‌جا می‌توانید وارد کنید},
+ address = {آدرس منتشر کننده},
+}
+
+@book{kuznetsov1998elements,
+ title={Elements of applied bifurcation theory},
+ volume={112},
+madadurltest={1},
+ year={1998},
+edition ={third},
+publisher={Springer Verlag},
+murl = {http://www.w3.org/TR/prov-o/},
+isbn = {123456789000},
+pages = {10--19},
+series = {second series},
+chapter={5},
+ editor={Kuznetsov, Y.A. and edward, Y.A.},
+address = {The address of the publisher},
+}
+
+@techreport{rt,
+ title={Ùضای توپولوژی},
+ author={رضایی علی‌آباد,علی},
+ pages={1163--1171},
+madadurltest={1},
+LANGUAGE = {Persian},
+mlabel = {ا.Ù….Ù},
+ murl = {http://www.w3.org/TR/prov-o/},
+series = {second series},
+year = {2002},
+chapter={5},
+ institution={چمران اهواز}
+}
+@mastersthesis{ty,
+ title={Ùضای توپولوژی},
+ author={رضایی علی‌آباد,علی},
+key ={6},
+school={شریÙ},
+journal={Kyungpook mathematical journal},
+ pages={1163--1171},
+madadurltest={1},
+LANGUAGE = {Persian},
+mlabel = {ا.Ù….Ù},
+ murl = {http://www.w3.org/TR/prov-o/},
+series = {second series},
+year = {2002},
+chapter={5},
+note ={یک یادداشت اختیاری},
+
+}
+@phdthesis{mmm,
+ title={Ùضای توپولوژی},
+ author={رضایی علی‌آباد,علی},
+journal={Kyungpook mathematical journal},
+ pages={1163--1171},
+madadurltest={1},
+LANGUAGE = {Persian},
+mlabel = {ا.Ù….Ù},
+ murl = {http://www.w3.org/TR/prov-o/},
+series = {second series},
+year = {2002},
+chapter={5},
+ school = {دانشگاه چمران اهواز},
+}
+@booklet{mgh,
+ title={Ùضای توپولوژی},
+ author={رضایی علی‌آباد,علی},
+journal={Kyungpook mathematical journal},
+ pages={1163--1171},
+madadurltest={1},
+LANGUAGE = {Persian},
+mlabel = {ا.Ù….Ù},
+ murl = {http://www.w3.org/TR/prov-o/},
+series = {second series},
+year = {2002},
+chapter={5},
+ howpublished = {چگونگی انتشار},
+address = {آدرس منتشر کننده},
+ key={4},
+}
diff --git a/biblio/bibtex/contrib/alpha-persian/sample9.bib b/biblio/bibtex/contrib/alpha-persian/sample9.bib
new file mode 100644
index 0000000000..faabdfc20b
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/sample9.bib
@@ -0,0 +1,144 @@
+
+‌
+@misc{whatever,
+AUTHOR = "{\noopsort{2}}{Madadpour},Ahmad ",
+quotation={1},
+year = {2001},
+chapter={5},
+title = {Testing the effects of bibtex styles on bibliography formatting},
+ murl = {http://www.w3.org/TR/prov-o/},
+doi = {01.1000/doi-0121},
+madadurltest={1},
+key={665},
+}
+@misc{B02f,
+ howpublished = {How it was published},
+AUTHOR = "{\noopsort{4}}{Madadpour},Shapour ",
+ year = {2002},
+quotation={1},
+ title = {First},
+pages={13--17},
+madadurltest={1},
+mlabel = {$\checkmark^+$},
+ murl = {http://www.w3.org/TR/prov-o/},
+chapter={5},
+}
+
+
+@article{aliabad2004rings,
+ title={reference test-Rings of continuous functions vanishing at infinity},
+AUTHOR = "{\noopsort{6}}{Madadpour},Alireza ",
+ journal={Commentationes Mathematicae Universitatis Carolinae},
+ volume={45},
+ pages={519--533},
+quotation={1},
+ year={2004},
+murl = {http://www.w3.org/TR/prov-o/},
+madadurltest={1},
+ publisher={Charles University in Prague, Faculty of Mathematics and Physics},
+}
+@article{ali,
+ title={reference test-Pasting topological spaces at one point},
+AUTHOR = "{\noopsort{8}}{Madadpour},Mahmood ",
+ journal={Czechoslovak Mathematical Journal},
+ volume={56},
+ number={4},
+ pages={1193--1206},
+quotation={1},
+ year={2006},
+ publisher={Springer},
+url = {http://www.w3.org/TR/prov-o/},
+}
+
+
+@article{Amintoosi87afzayesh,
+TITLE = {اÙزایش وضوح ناحیه‌ای},
+BOOKTITLE = {چهاردهمین Ú©Ù†Ùرانس ملی سالانه انجمن کامپیوتر ایران},
+author={{\noopsort{1}}{امین‌طوسی},محمود and مزینی ,ناصر and سایرین},
+YEAR = {1387},
+ORGANIZATION = {دانشگاه امیرکبیر},
+ADDRESS = {تهران، ایران},
+ journal = {نام مجله‌ی چاپ‌کننده},
+month = {اسÙند},
+doi = {01.1000/doi-0121},
+edition ={ششم},
+editor={امین‌طوسی,محمود and مزینی ,ناصر and سایرین},
+volume={45},
+number={3},
+pages = {101--108},
+issn = {1111-2222},
+madadurltest={1},
+chapter={5},
+quotation={1},
+LANGUAGE = {Persian},
+mlabel = {ا.م$^+$},
+slabel = {$\heartsuit$},
+ murl = {http://www.w3.org/TR/prov-o/},
+}
+
+@inbook{d,
+ AUTHOR = {{\noopsort{3}}{مددپور},شاپور and مددپور, محمدحسین and سایرین},
+ mlabel = {مدد$^+$},
+ TITLE = {همریختی و بروریختی در حلقه‌ها},
+ JOURNAL = {مجله‌ی گرا٠Ùارس},
+ VOLUME = {1},
+ YEAR = {1395},
+ MONTH = {بهار},
+ PAGES = {39-43},
+quotation={1},
+ LANGUAGE = {Persian},
+doi = {01.1000/doi-0121},
+isbn = {123456789000},
+edition ={دوم},
+series = {سری دوم},
+number = {10},
+chapter={5},
+madadurltest={1},
+ murl = {http://www.w3.org/TR/prov-o/},
+publisher = {انتشارات دل آهنگ},
+ note = {یک یادداشت اختیاری در این‌جا می‌توانید وارد کنید},
+ address = {آدرس منتشر کننده},
+slabel = {$\bigstar$},
+}
+
+@phdthesis{mmm,
+title={Ùضای توپولوژی},
+author={{\noopsort{5}}{رضایی علی‌آباد},علی},
+journal={Kyungpook mathematical journal},
+ pages={1163--1171},
+LANGUAGE = {Persian},
+mlabel = {ا.Ù….Ù},
+madadurltest={1},
+quotation={1},
+murl = {http://www.w3.org/TR/prov-o/},
+series = {second series},
+year = {2002},
+url = {http://www.w3.org/TR/prov-o/},
+chapter={5},
+ school = {دانشگاه چمران اهواز},
+}
+@inbook{yu,
+ AUTHOR = {
+{\noopsort{7}}{نامداری},مهرداد and کوچک‌پور,عبدعلی},
+ mlabel = {ن.ا.م$^+$},
+ TITLE = {مقدمه‌ای بر نظریه‌ی اصولی مجموعه‌ها},
+ VOLUME = {1},
+ YEAR = {1394},
+ MONTH = {بهار},
+ PAGES = {39-43},
+quotation={1},
+ LANGUAGE = {Persian},
+doi = {322/511},
+isbn = {978-600-141-173-1},
+edition ={دوم},
+series = {سری دوم},
+number = {100},
+chapter={5},
+madadurltest={1},
+ murl = {http://www.w3.org/TR/prov-o/},
+publisher = {انتشارات دانشگاه چمران},
+ note = {یک یادداشت اختیاری در این‌جا می‌توانید وارد کنید},
+ address = {آدرس منتشر کننده},
+slabel = {4},
+}
+
diff --git a/biblio/bibtex/contrib/alpha-persian/xelatexsample.tex b/biblio/bibtex/contrib/alpha-persian/xelatexsample.tex
new file mode 100644
index 0000000000..6cef7553e2
--- /dev/null
+++ b/biblio/bibtex/contrib/alpha-persian/xelatexsample.tex
@@ -0,0 +1,30 @@
+\documentclass{article}
+\usepackage{xcolor}
+\usepackage[pagebackref=true,colorlinks,linkcolor=blue,citecolor=green!80!black]{hyperref}
+\usepackage{amssymb}
+\usepackage{amsmath}
+%\usepackage{url}
+%\usepackage[compress]{cite}
+%\usepackage[numbers,sort&compress]{natbib}
+\usepackage{xepersian}
+\settextfont{Yas}
+\begin{document}
+\lr{\cite{B02f}}
+Ùˆ
+\cite{d}
+Ùˆ
+\cite{Amintoosi87afzayesh}
+Ùˆ
+\lr{\cite{aliabad2004rings}}
+Ùˆ
+\lr{\cite{ghafarzadeh2016stem}}
+Ùˆ
+\cite{aliabad2004rings,ali,whatever,B02f,d}
+و همچنین داریم:
+\lr{\cite{aliabad2004rings,ali,whatever,B02f,d}}
+
+\nocite{*}
+\bibliographystyle{alpha-persian}
+\bibliography{sample8}
+%\bibliography{sample9}
+\end{document}
diff --git a/biblio/bibtex/contrib/apacite/README b/biblio/bibtex/contrib/apacite/README
new file mode 100644
index 0000000000..85499490f1
--- /dev/null
+++ b/biblio/bibtex/contrib/apacite/README
@@ -0,0 +1,66 @@
+
+THE APACITE PACKAGE
+===================
+
+Description
+-----------
+
+The apacite package (for LaTeX and BibTeX) implements the requirements
+of the American Psychological Association concerning citations and
+reference list. In addition, it provides a large number of options and
+other possibilities for customization, so that a wide range of citation
+styles and reference list styles can be handled. Furthermore, it also
+provides the possibility of automatically generating an author index.
+
+
+Copyright and license
+---------------------
+
+Copyright (C) 1994-2013 Erik Meijer and any individual authors listed
+elsewhere in this package.
+
+This package may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either
+version 1.3 of this license or (at your option) any later
+version. The latest version of this license is in:
+
+ http://www.latex-project.org/lppl.txt
+
+and version 1.3 or later is part of all distributions of
+LaTeX version 2005/12/01 or later.
+
+See the file apacite.dtx for more details.
+
+
+Building the package and its documentation
+------------------------------------------
+
+The generated LaTeX package (.sty), BibTeX style (.bst), and supporting
+files (.apc, .bib, .drv, .tex) are extracted by running:
+
+tex apacite.ins
+
+The documentation is then generated by the following sequence:
+
+pdflatex apacite.drv <== Produces apacite.pdf (documentation)
+bibtex apacite <== Produces apacite.bbl (reference list)
+pdflatex apacite.drv <== Include ref. list
+pdflatex apacite.drv <== Resolve citations
+pdflatex apacite.drv <== 'Labels may have changed'
+makeindex -o apacite.and apacite.adx <== (author index)
+pdflatex apacite.drv <== Include author index
+pdflatex apacite.drv <== Resolve table of contents
+
+Note that apacite comes with pre-built documentation (PDF format,
+U.S. letter-sized paper), so you only need to regenerate the
+documentation if you are unhappy with the documentation as
+provided. For example, if you want to generate a version for
+A4 paper, or if you want the full reference manual, including the
+documented source code and change log. In the latter case,
+edit the file apacite.drv according to your wishes (see the comments
+in that file) and insert the following lines in the sequence, after
+generating the author index:
+
+makeindex -s gind.ist apacite <== Produces apacite.ind (code index)
+makeindex -s gglo.ist -o apacite.gls apacite.glo <== (change log)
+
diff --git a/biblio/bibtex/contrib/apacite/apacite.dtx b/biblio/bibtex/contrib/apacite/apacite.dtx
new file mode 100644
index 0000000000..30d4088ede
--- /dev/null
+++ b/biblio/bibtex/contrib/apacite/apacite.dtx
@@ -0,0 +1,23244 @@
+% \iffalse meta-comment
+%
+% Copyright (C) 1994-2013 Erik Meijer and any individual authors listed
+% elsewhere in this file.
+%
+% This file is part of the `apacite' package.
+% -------------------------------------------
+%
+% It may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either
+% version 1.3 of this license or (at your option) any later
+% version. The latest version of this license is in:
+%
+% http://www.latex-project.org/lppl.txt
+%
+% and version 1.3 or later is part of all distributions of
+% LaTeX version 2005/12/01 or later.
+%
+% The `apacite' package consists of the files apacite.dtx and
+% apacite.ins, and the following generated files:
+% apacite.sty, apacdoc.sty, apacite.drv,
+% apacite.bst, apacitex.bst, apacann.bst, apacannx.bst,
+% apa5ex.bib, apacxmpl.tex,
+% english.apc, dutch.apc, finnish.apc, french.apc,
+% german.apc, ngerman.apc, greek.apc, norsk.apc,
+% spanish.apc, swedish.apc.
+%
+% This work has the LPPL maintenance status `maintained'
+%
+% The Current Maintainer of this work is Erik Meijer
+%
+% This file may only be distributed together with a copy of the
+% source files of the apacite package, i.e., apacite.dtx and
+% apacite.ins. You may however distribute the apacite package without
+% the generated files.
+%
+% \fi
+%
+% \CheckSum{0}
+% \CharacterTable
+% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+% Digits \0\1\2\3\4\5\6\7\8\9
+% Exclamation \! Double quote \" Hash (number) \#
+% Dollar \$ Percent \% Ampersand \&
+% Acute accent \' Left paren \( Right paren \)
+% Asterisk \* Plus \+ Comma \,
+% Minus \- Point \. Solidus \/
+% Colon \: Semicolon \; Less than \<
+% Equals \= Greater than \> Question mark \?
+% Commercial at \@ Left bracket \[ Backslash \\
+% Right bracket \] Circumflex \^ Underscore \_
+% Grave accent \` Left brace \{ Vertical bar \|
+% Right brace \} Tilde \~}
+%
+% \iffalse
+%<*dtx>
+\ProvidesFile{apacite.dtx}
+ [2013/07/21 v6.03 apacite dtx file]
+%</dtx>
+%<driver>\ProvidesFile{apacite.drv}
+%<package|docpkg>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+%<package>\ProvidesPackage{apacite}
+%<docpkg>\ProvidesPackage{apacdoc}
+%<english>\ProvidesFile{english.apc}
+%<dutch>\ProvidesFile{dutch.apc}
+%<finnish>\ProvidesFile{finnish.apc}
+%<german>\ProvidesFile{german.apc}
+%<ngerman>\ProvidesFile{ngerman.apc}
+%<greek>\ProvidesFile{greek.apc}
+%<norsk>\ProvidesFile{norsk.apc}
+%<spanish>\ProvidesFile{spanish.apc}
+%<swedish>\ProvidesFile{swedish.apc}
+%<xmpl>%% apacxmpl.tex
+%<bibdb>%% apa5ex.bib
+%<bibstyle&!annotated>%% apacite.bst
+%<bibstyle&annotated>%% apacann.bst
+%<xbibstyle&!annotated>%% apacitex.bst
+%<xbibstyle&annotated>%% apacannx.bst
+%^^A
+%^^A I have to find out how I can replace the hard-coded date+version with a
+%^^A command such that the value of the command is written to the file instead
+%^^A of the name.
+%^^A
+%<driver> [2013/07/21 v6.03 apacite documentation driver file]
+%<package> [2013/07/21 v6.03 APA citation]
+%<docpkg> [2013/07/21 v6.03 apacite documentation style]
+%<english> [2013/07/21 v6.03 apacite language file]
+%<dutch> [2013/07/21 v6.03 apacite language file]
+%<finnish> [2013/07/21 v6.03 apacite language file]
+%<german> [2013/07/21 v6.03 apacite language file]
+%<ngerman> [2013/07/21 v6.03 apacite language file]
+%<greek> [2013/07/21 v6.03 apacite language file]
+%<norsk> [2013/07/21 v6.03 apacite language file]
+%<spanish> [2013/07/21 v6.03 apacite language file]
+%<swedish> [2013/07/21 v6.03 apacite language file]
+%<xmpl>%% [2013/07/21 v6.03 LaTeX file for examples]
+%<bibdb>%% [2013/07/21 v6.03 bibliography database for examples]
+%<bibstyle&!annotated>%% [2013/07/21 v6.03 APA bibliography style]
+%<*xbibstyle&!annotated>
+%% [2013/07/21 v6.03 APA bibl. style with author index info]
+%</xbibstyle&!annotated>
+%<bibstyle&annotated>%% [2013/07/21 v6.03 APA annotated bibliography style]
+%<*xbibstyle&annotated>
+%% [2013/07/21 v6.03 APA annotated bibl. style with author index info]
+%</xbibstyle&annotated>
+%
+%<*install>
+%^^A =============================================
+%^^A Here is the docstrip installation file
+%^^A It is written on first LaTeX run if it
+%^^A does not already exist
+%^^A =============================================
+\begin{filecontents*}{apacite.ins}
+%%
+%% This file will generate fast loadable files and documentation
+%% driver files from apacite.dtx when run through LaTeX.
+%%
+%% Copyright (C) 1994-2013 Erik Meijer and any individual authors listed
+%% elsewhere in this file.
+%%
+%% This file is part of the `apacite' package.
+%% -------------------------------------------
+%%
+%% It may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either
+%% version 1.3 of this license or (at your option) any later
+%% version. The latest version of this license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of
+%% LaTeX version 2005/12/01 or later.
+%%
+%% The `apacite' package consists of the files apacite.dtx and
+%% apacite.ins, and the following generated files:
+%% apacite.sty, apacdoc.sty, apacite.drv,
+%% apacite.bst, apacitex.bst, apacann.bst, apacannx.bst,
+%% apa5ex.bib, apacxmpl.tex,
+%% english.apc, dutch.apc, finnish.apc, french.apc,
+%% german.apc, ngerman.apc, greek.apc, norsk.apc,
+%% spanish.apc, swedish.apc.
+%%
+%% This work has the LPPL maintenance status `maintained'
+%%
+%% The Current Maintainer of this work is Erik Meijer
+%%
+%% This file may only be distributed together with a copy of the
+%% source files of the apacite package, i.e., apacite.dtx and
+%% apacite.ins. You may however distribute the apacite package without
+%% the generated files.
+
+\input docstrip.tex
+\keepsilent
+
+\declarepreamble\mainpreamble
+
+This is a generated file.
+
+Copyright (C) 1994-2013 Erik Meijer and any individual authors listed
+elsewhere in this file.
+
+This file is part of the `apacite' package.
+-------------------------------------------
+
+It may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either
+version 1.3 of this license or (at your option) any later
+version. The latest version of this license is in:
+
+ http://www.latex-project.org/lppl.txt
+
+and version 1.3 or later is part of all distributions of
+LaTeX version 2005/12/01 or later.
+
+The `apacite' package consists of the files apacite.dtx and
+apacite.ins, and the following generated files:
+apacite.sty, apacdoc.sty, apacite.drv,
+apacite.bst, apacitex.bst, apacann.bst, apacannx.bst,
+apa5ex.bib, apacxmpl.tex,
+english.apc, dutch.apc, finnish.apc, french.apc,
+german.apc, ngerman.apc, greek.apc, norsk.apc,
+spanish.apc, swedish.apc.
+
+This work has the LPPL maintenance status `maintained'
+
+The Current Maintainer of this work is Erik Meijer
+
+This file may only be distributed together with a copy of the
+source files of the apacite package, i.e., apacite.dtx and
+apacite.ins. You may however distribute the apacite package without
+the generated files.
+
+\endpreamble
+
+\declarepreamble\drvpreamble
+
+This is a generated file.
+
+Copyright (C) 1994-2013 Erik Meijer and any individual authors listed
+elsewhere in this file.
+
+This file is part of the `apacite' package.
+-------------------------------------------
+
+It may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either
+version 1.3 of this license or (at your option) any later
+version. The latest version of this license is in:
+
+ http://www.latex-project.org/lppl.txt
+
+and version 1.3 or later is part of all distributions of
+LaTeX version 2005/12/01 or later.
+
+The `apacite' package consists of the files apacite.dtx and
+apacite.ins, and the following generated files:
+apacite.sty, apacdoc.sty, apacite.drv,
+apacite.bst, apacitex.bst, apacann.bst, apacannx.bst,
+apa5ex.bib, apacxmpl.tex,
+english.apc, dutch.apc, finnish.apc, french.apc,
+german.apc, ngerman.apc, greek.apc, norsk.apc,
+spanish.apc, swedish.apc.
+
+This work has the LPPL maintenance status `maintained'
+
+The Current Maintainer of this work is Erik Meijer
+
+This file may only be distributed together with a copy of the
+source files of the apacite package, i.e., apacite.dtx and
+apacite.ins. You may however distribute the apacite package without
+the generated files.
+
+You are allowed to make changes to this file, in order to generate
+the user's manual with your preferred settings (e.g., to choose
+whether or not to include the documented source code). Please
+do not change apacite.dtx for this purpose.
+
+\endpreamble
+
+\edef\noendinputpostamble{%
+ \MetaPrefix ^^J%
+ \MetaPrefix\space End of file `\outFileName'.%
+}
+
+\askonceonly
+\generate{%
+ \usepreamble\mainpreamble
+ \file{apacite.sty}{\from{apacite.dtx}{package}}
+ \file{apacdoc.sty}{\from{apacite.dtx}{docpkg}}
+ \file{english.apc}{\from{apacite.dtx}{english}}
+ \file{dutch.apc}{\from{apacite.dtx}{dutch}}
+ \file{finnish.apc}{\from{apacite.dtx}{finnish}}
+ \file{french.apc}{\from{apacite.dtx}{french}}
+ \file{german.apc}{\from{apacite.dtx}{german}}
+ \file{ngerman.apc}{\from{apacite.dtx}{ngerman}}
+ \file{greek.apc}{\from{apacite.dtx}{greek}}
+ \file{norsk.apc}{\from{apacite.dtx}{norsk}}
+ \file{spanish.apc}{\from{apacite.dtx}{spanish}}
+ \file{swedish.apc}{\from{apacite.dtx}{swedish}}
+ \file{apacxmpl.tex}{\from{apacite.dtx}{xmpl}}
+ \usepreamble\drvpreamble
+ \file{apacite.drv}{\from{apacite.dtx}{driver}}
+ \usepreamble\mainpreamble
+ \usepostamble\noendinputpostamble
+ \file{apa5ex.bib}{\from{apacite.dtx}{bibdb}}
+ \file{apacite.bst}{\from{apacite.dtx}{bibstyle}}
+ \file{apacitex.bst}{\from{apacite.dtx}{xbibstyle}}
+ \file{apacann.bst}{\from{apacite.dtx}{bibstyle,annotated}}
+ \file{apacannx.bst}{\from{apacite.dtx}{xbibstyle,annotated}}
+}
+
+\obeyspaces
+\Msg{*****************************************************}
+\Msg{* *}
+\Msg{* To finish the installation you have to move the *}
+\Msg{* following files into a directory searched by TeX: *}
+\Msg{* *}
+\Msg{* All *.apc, *.sty *}
+\Msg{* *}
+\Msg{* and to move the following files into a directory *}
+\Msg{* searched by BibTeX: *}
+\Msg{* *}
+\Msg{* All *.bib, *.bst *}
+\Msg{* *}
+\Msg{* To produce the documentation, run the following *}
+\Msg{* script (or something similar, depending on your *}
+\Msg{* operating system): *}
+\Msg{* *}
+\Msg{* pdflatex apacite.drv *}
+\Msg{* bibtex apacite *}
+\Msg{* pdflatex apacite.drv *}
+\Msg{* pdflatex apacite.drv *}
+\Msg{* pdflatex apacite.drv *}
+\Msg{* makeindex -o apacite.and apacite.adx *}
+\Msg{* pdflatex apacite.drv *}
+\Msg{* pdflatex apacite.drv *}
+\Msg{* *}
+\Msg{* See the README file for a brief explanation and *}
+\Msg{* the file apacite.drv for how to customize the *}
+\Msg{* manual (e.g., to include the documented source *}
+\Msg{* code. *}
+\Msg{* *}
+\Msg{* Happy TeXing! *}
+\Msg{* *}
+\Msg{*****************************************************}
+
+\endbatchfile
+\end{filecontents*}
+%</install>
+%<*gobble>
+\IfFileExists{apacdoc.sty}{%
+ \let\finishprematurely\relax
+}{%
+ \typeout{**************************************************%
+ ********************}%
+ \typeout{*}%
+ \typeout{* To extract the package, style, and support files
+ of apacite,}%
+ \typeout{* run TeX on apacite.ins}%
+ \typeout{*}%
+ \typeout{* To (re)generate the apacite documentation, first
+ run TeX on}%
+ \typeout{* apacite.ins and then run LaTeX on apacite.drv
+ or apacite.dtx}%
+ \typeout{*}%
+ \typeout{**************************************************%
+ ********************^^J}%
+ \makeatletter
+ \edef\finishprematurely{\csname @@end\endcsname}%
+ \makeatother
+}
+\finishprematurely
+%</gobble>
+% \fi
+%
+% \DoNotIndex{\begin,\CodelineIndex,\CodelineNumbered,\def,\DisableCrossrefs}
+% \DoNotIndex{\DocInput,\documentclass,\EnableCrossrefs,\end,\GetFileInfo}
+% \DoNotIndex{\NeedsTeXFormat,\OnlyDescription,\RecordChanges,\usepackage}
+% \DoNotIndex{\ProvidesClass,\ProvidesPackage,\ProvidesFile,\RequirePackage}
+% \DoNotIndex{\LoadClass,\PassOptionsToClass,\PassOptionsToPackage}
+% \DoNotIndex{\DeclareOption,\CurrentOption,\ProcessOptions,\ExecuteOptions}
+% \DoNotIndex{\AtEndOfClass,\AtEndOfPackage,\AtBeginDocument,\AtEndDocument}
+% \DoNotIndex{\InputIfFileExists,\IfFileExists,\ClassError,\PackageError}
+% \DoNotIndex{\ClassWarning,\PackageWarning,\ClassWarningNoLine}
+% \DoNotIndex{\PackageWarningNoLine,\ClassInfo,\PackageInfo,\MessageBreak}
+% \DoNotIndex{\space,\protect,\DeclareRobustCommand,\CheckCommand}
+% \DoNotIndex{\newcommand,\renewcommand,\providecommand,\newenvironment}
+% \DoNotIndex{\renewenvironment,\newif,\newlength,\newcounter,\setlength}
+% \DoNotIndex{\setcounter,\if,\ifx,\ifcase,\ifnum,\ifdim,\else,\fi}
+% \DoNotIndex{\texttt,\textbf,\textrm,\textsl,\textsc,\reset@font}
+% \DoNotIndex{\textup,\textit,\textmd,\textsf,\emph,\futurelet}
+% \DoNotIndex{\ttfamily,\rmfamily,\sffamily,\mdseries,\bfseries,\upshape}
+% \DoNotIndex{\slshape,\scshape,\itshape,\em,\LaTeX,\LaTeXe}
+% \DoNotIndex{\filename,\fileversion,\filedate,\let,\makeindex}
+% \DoNotIndex{\@auxout,\@for,\@gobble,\@ifnextchar,\@m,\@mkboth,\@nil}
+% \DoNotIndex{\@noitemerr,\@tempa,\@tempswafalse,\@tempswatrue,\@warning}
+% \DoNotIndex{\advance,\arabic,\AtBeginDocument,\bf,\bibname,\chapter}
+% \DoNotIndex{\citation,\clubpenalty,\CodelineNumbered,\csname}
+% \DoNotIndex{\DisableCrossrefs,\do,\edef,\else,\endcsname,\endlist}
+% \DoNotIndex{\expandafter,\fi,\gdef,\global,\hbox,\hfill,\hskip,\hspace}
+% \DoNotIndex{\if,\if@filesw,\if@tempswa,\ifx,\immediate,\itemindent,\labelsep}
+% \DoNotIndex{\labelwidth,\lastskip,\leftmargin,\list,\mbox,\newblock}
+% \DoNotIndex{\newpage,\p@enumiv,\parindent,\penalty,\refname}
+% \DoNotIndex{\relax,\section,\settowidth,\sfcode,\sloppy,\small,\string}
+% \DoNotIndex{\theenumiv,\thepage,\unskip,\uppercase,\usecounter,\vskip}
+% \DoNotIndex{\widowpenalty,\write,\xdef,\z@,\catcode,\ifnum,\the}
+% \DoNotIndex{\@empty,\@ifundefined,\@latex@warning,\@minus,\@plus,\ }
+% \DoNotIndex{\document,\@namedef,\@listi,\markboth,\or,\p@}
+% \DoNotIndex{\listparindent,\noexpand,\par,\parsep,\pb,\pbf,\pbfseries}
+% \DoNotIndex{\pc,\pd,\pem,\pit,\pitshape,\pmdseries,\prm,\prmfamily,\psc}
+% \DoNotIndex{\pscshape,\psf,\psffamily,\psl,\pslshape,\ptt,\pttfamily}
+% \DoNotIndex{\pupshape,\@iden,\@firstofone,\@unexpandable@protect}
+% \DoNotIndex{\if@draft,\typeout}
+% \DoNotIndex{\@ifclassloaded,\@ifstar,\@onlypreamble,\@preamblecmds}
+% \DoNotIndex{\addtolength,\endinput,\@bsphack,\begingroup,\@wrindex}
+% \DoNotIndex{\@listctr,\bibname,\enddocument,\hfil,\ignorespaces,\item}
+% \DoNotIndex{\NAT@temp,\refname,\stepcounter,\@ifpackageloaded}
+% \DoNotIndex{\@gobbletwo,\index,\itemsep,\markright,\scriptsize}
+% \DoNotIndex{\textsuperscript,\@undefined}
+% \DoNotIndex{\@celt,\@cite@list,\@citea,\@citeb,\@compress@cite}
+% \DoNotIndex{\@bsphack,\@esphack,\@h@ld,\@make@cite@list,\@ne}
+% \DoNotIndex{\@sort@celt,\@tempcnta,\@tempcntb,\delimiter,\endgroup}
+% \DoNotIndex{\ifcat,\m@ne,\number}
+% \DoNotIndex{\@markboth,\@mkboth,\nobreak,\SK@,\SK@@citex}
+% \DoNotIndex{\SK@@label,\SK@@ref,SK@def,\SK@lbibitem,\bbl@redefine}
+% \DoNotIndex{\@safe@activesfalse,\@save@activestrue,\active@prefix}
+%
+% \DoNotIndex{\ ,\&,\{,\},\.,\!,\",\#,\%,\',\(,\),\*,\,,\-,\/}
+% \DoNotIndex{\:,\;,\<,\=,\>,\?,\@,\[,\\,\],\^,\_,\`,\|,\~}
+% \DoNotIndex{\@backslashchar,\@citec,\@element@,\@input@,\@nameuse}
+% \DoNotIndex{\@makeschapterhead,\@restonecolfalse,\@restonecoltrue}
+% \DoNotIndex{\@old@endthebibliography,\@oldbibpreamble,\@orig@@cite}
+% \DoNotIndex{\@orig@@nocitemeta,\@orig@nocite}
+% \DoNotIndex{\@tmp@arg,\@xp,\AA,\aa,\addcontentsline}
+% \DoNotIndex{\afterassignment,\aftergroup,\alph,\ast,\b@ex}
+% \DoNotIndex{\backslash,\baselineskip,\BibTeX,\bigskip,\bs}
+% \DoNotIndex{\clearpage,\cmd,\cmdfour,\cmdthree,\cmdthreealt}
+% \DoNotIndex{\cmdthreepre,\cmdtwo,\columnsep,\columnseprule,\count@}
+% \DoNotIndex{\dag,\do@url@hyp,\EM,\ensuremath,\entryname,\envirname}
+% \DoNotIndex{\evensidemargin,\fieldname,\flqq,\fname,\fontencoding}
+% \DoNotIndex{\fontfamily,\footnotesize,\footskip,\frqq}
+% \DoNotIndex{\g@addto@macro,\GlossaryPrologue,\headheight,\headsep}
+% \DoNotIndex{\hoffset,\if@mainmatter,\ifcodeline@index,\iffalse}
+% \DoNotIndex{\ifhave@multicol,\index@prologue,\IndexMin,\IndexParms}
+% \DoNotIndex{\IndexPrologue,\input,\jobname,\kern,\langle,\LaTeXrtf}
+% \DoNotIndex{\latextohtml,\lbrace,\LC,\ldots,\linewidth,\lower}
+% \DoNotIndex{\makeatletter,\makeatother,\MakeIndex,\MakeUppercase}
+% \DoNotIndex{\marginparpush,\marginparsep,\marginparwidth,\mid}
+% \DoNotIndex{\mathbin,\mathchar,\mathord,\newskip,\newwrite}
+% \DoNotIndex{\normalsize,\oddsidemargin,\oldBED,\oldBEd,\oldBEDS}
+% \DoNotIndex{\oldbibinitial,\oldbibliteral,\oldbibskipbracenodot}
+% \DoNotIndex{\oldBIn,\oldBRetrieved,\oldevensidemargin,\oldfootskip}
+% \DoNotIndex{\oldheadheight,\oldheadsep,\oldhoffset,\oldlinewidth}
+% \DoNotIndex{\oldmarginparpush,\oldmarginparsep,\oldmarginparwidth}
+% \DoNotIndex{\oldoddsidemargin,\oldtextheight,\oldtextwidth}
+% \DoNotIndex{\oldtopmargin,\oldvoffset,\onecolumn,\openout,\opt}
+% \DoNotIndex{\orig@printindex,\origbibDSM,\parskip,\Perl,\pfill}
+% \DoNotIndex{\pkg,\pkgoption,\protected@edef,\protected@write}
+% \DoNotIndex{\quad,\raggedright,\raisebox,\rangle,\rbrace,\rm,\sc}
+% \DoNotIndex{\selectfont,\simpleguillemots,\symbol,\TeX,\TeXht}
+% \DoNotIndex{\textheight,\textwidth,\thinspace,\thispagestyle}
+% \DoNotIndex{\thr@@,\times,\tiny,\topmargin,\triangleright}
+% \DoNotIndex{\twocolumn,\undefined,\voffset,\vspace,\X,\Y}
+%
+% \iffalse
+%<*driver>
+\documentclass{ltxdoc}
+%<driver>%\documentclass[twoside]{ltxdoc}
+%<driver>%\documentclass[a4paper]{ltxdoc}
+%<driver>%\documentclass[twoside,a4paper]{ltxdoc}
+%%
+\usepackage{apacdoc}[2013/07/21 v6.03]
+%% The |\providecommand|s make sure we don't get an error during
+%% installation.
+%% Define document-specific macros that are not interesting for
+%% users.
+\providecommand{\SetupAPACdoc}{}%
+\SetupAPACdoc
+%% Document page layout.
+\providecommand{\APACdocPageLayout}{}%
+\APACdocPageLayout
+%% Index styles for the source code documentation
+\providecommand{\SetupAPACdocPrologues}{}%
+\SetupAPACdocPrologues
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% LOADING OF PACKAGES
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% The following line is used for references to internet sources.
+%% It is not generally necessary for apacite, but used in the examples.
+\usepackage{url}
+%%
+%% Loading apacite with author index option.
+\usepackage[ltxemindex,bibnewpage]{apacite}[2013/07/21 v6.03]
+%%
+\raggedbottom
+%%
+%% To include the detailed explanation of the coding, comment out
+%% the next line
+\OnlyDescription
+%%
+%% To produce a command index: add the following line for one run,
+%% then run makeindex -s gind.ist apacite
+%% and reprocess, with or without this line (much faster without)
+%<driver>% \EnableCrossrefs\CodelineIndex
+%%
+%% To produce a change history: add the following line for one run,
+%% then run makeindex -s gglo.ist -o apacite.gls apacite.glo
+%% and reprocess, with or without this line (faster without)
+%<driver>% \RecordChanges
+%%
+\DisableCrossrefs % May stay; zapped by \EnableCrossrefs
+\CodelineNumbered % May stay
+%%
+\begin{document}
+ \DocInput{apacite.dtx}
+\end{document}
+%</driver>
+% \fi
+%
+% ^^A (I have to find out how to get the following remark in the right
+% ^^A place in the documentation.)
+% ^^A The earlier version numbers have been assigned retroactively;
+% ^^A originally, apacite had only release dates.
+%
+% \changes{v1.0}{1994/11/30}{First public version}
+% \changes{v2.0}{2000/09/22}{Second packaged version, the result of
+% continuous updating over many years. Not officially released through
+% ctan because there was no update of the documentation, but this was
+% available through my homepage at the time. Many additions in terms
+% of customizability, and introduction of the author indexing
+% facilities, which were first used in my PhD thesis in 1998.}
+% \changes{v2.1}{2003/03/27}{First official release since 1994. Compared
+% to 2.0, this primarily solved some important compatibility problems
+% with other packages.}
+% \changes{v2.2}{2003/09/05}{Updated for the 5th edition of the APA
+% manual, up to date documentation and test document, reorganized the
+% material, and improved compatibility.}
+% \changes{v3.0}{2004/07/01}{Now adds initials if necessary to
+% distinguish first authors; now adds 2nd and later authors if necessary
+% to distinguish references; now truncates author list after 6th author
+% and editor list after 1st in reference list if there are more than 6
+% authors/editors; improved sorting for reference list; improved author
+% index support; added explicit support for reporting a meta-analysis.}
+% \changes{v3.1}{2005/06/01}{Introduces explicit non-English language
+% support, solves some compatibility problems.}
+% \changes{v3.2}{2005/06/08}{Fix of a small but annoying bug.}
+% \changes{v4.00}{2007/09/03}{Solved many compatibility issues; improved
+% and extended language support; more extensive customizability.}
+% \changes{v4.05}{2009/03/01}{Some bug fixes; extended language support;
+% annotated bibliographies.}
+% \changes{v6.00}{2012/02/14}{First step toward compliance with v6 of
+% the APA manual; version number now indicates which version of the APA
+% manual is implemented.}
+% \changes{v6.01}{2012/02/25}{Bug fix}
+% \changes{v6.02}{2013/07/04}{Bug fixes}
+% \changes{v6.03}{2013/07/21}{Thesis formatting adapted to 6th edition
+% requirements}
+%
+% \GetFileInfo{apacite.sty}
+%
+% \setcounter{IndexColumns}{2}
+% \setlength{\IndexMin}{10cm}
+%
+% ^^A Start documentation here.
+%
+%
+% \iffalse
+%<*dtx>
+% \fi
+\MakePercentComment
+%
+% User's reference manual and test of the apacite package.
+% Written by Erik Meijer
+%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%% START OF ``NORMAL'' PART OF DOCUMENT
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\title{The \pkg{apacite} package%
+ \thanks{This document describes \pkg{apacite} version~\fileversion{}
+ dated \filedate.}
+ \vspace{0.3\baselineskip}\\
+ \large Citation and reference list with \LaTeX{} and \BibTeX{}
+ according to the rules of the American Psychological Association}
+\author{Erik Meijer\\
+ \textsf{apacite at gmail.com}
+}
+\date{\filedate}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% If ecmr (T1) font not available:
+\simpleguillemots
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\maketitle
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{abstract}
+ \noindent
+ This document describes and tests the \pkg{apacite} package
+ \APACversiondate{\filedate}. This is a package that can be used with
+ \LaTeX{} and \BibTeX{} to generate citations and a reference list,
+ formatted according to the rules of the American Psychological Association.
+ Furthermore, \pkg{apacite} contains an option to (almost) automatically
+ generate an author index as well. The package can be customized in many
+ ways.
+\end{abstract}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\clearpage
+\tableofcontents
+\clearpage
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\section{Introduction}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+The American Psychological Association (APA) is very strict about the style in
+which manuscripts submitted to its journals are written and formatted. The
+requirements of the APA are described in the \emph{Publication Manual of the
+American Psychological Association}, the latest version of which is the 6th
+edition \cite{APAManual6}. In the sequel, this is simply called the \emph{APA
+manual}.
+
+The APA manual discusses how candidate authors should write their manuscripts:
+writing style, parts of a manuscript and their order, presentation of the
+results in the form of tables and figures, and so forth. Candidate authors
+should study this and adhere to this.
+
+The APA manual also gives specific rules about the formatting of a manuscript.
+This includes double spacing, a running head, the typographic style of section
+headings, the placement of tables and figures on separate pages at the end of
+the document, and so forth. \LaTeX{} users will recognize these as ``style''
+elements that should be defined in a package (\fname{.sty} file) or class
+(\fname{.cls} file). Their specific documents (\fname{.tex} file) should be
+largely style-independent. This idea of separating content and logical
+structure from specific formatting is one of the basic elements of \LaTeX{}
+\cite[p.~7]{LaTeXbook}.
+
+An implementation of the formatting rules of the APA manual for use with
+\LaTeX{} is the \pkg{apa6} class by Brian Beitzel, which is a continuation of
+the earlier \pkg{apa} class by Athanassios Protopapas. This handles all kinds of
+issues about general document formatting, title page, section headings, figures
+and tables, and so forth. Therefore, if you intend to submit a manuscript to an
+APA journal, I strongly recommend using the \pkg{apa6} class.
+
+An important part of the APA style is the way citations and the reference list
+should be formatted. This takes 56 pages in the APA manual (pp.~169--224). This
+part is not handled by the \pkg{apa6} class, but by the \pkg{apacite} package.
+\pkg{apacite} can be used without \pkg{apa6}. The current document, for example,
+does not use the \pkg{apa6} class, because I find it desirable that possible
+users can study the \pkg{apacite} package and its documentation without having
+to install several other classes and packages first. Therefore, the current
+document uses standard \LaTeX{} as much as possible. (The \pkg{apa} class used
+to require the \pkg{apacite} package, but this was dropped because there is now
+also the \pkg{biblatex-apa} citation package as an alternative to
+\pkg{apacite}.)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\subsection*{Philosophy of \pkg{apacite}}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+The first priority of \pkg{apacite} is to implement the rules of the APA manual
+with regard to citation and reference list as closely as possible. However, just
+like its predecessors (culminating in Young U. Ryu's \pkg{theapa} package), and
+actually expanding much beyond their realm, \pkg{apacite} offers many
+possibilities for customization as well. Many details of \pkg{apacite},
+particularly punctuation and some fixed texts (e.g., ``Tech.\ Rep.'') can be
+changed easily by the user by redefining some commands in \LaTeX{}. Furthermore,
+\pkg{apacite} also offers several proper options to change some of its settings.
+
+Whether certain options or customizable aspects are implemented depends on two
+criteria: (1) Is it possible, easy (enough), and convenient to implement them
+without compromising the ability to adhere to the APA rules, and (2) Do I (EM)
+consider them important or useful enough to spend time to implement them.
+Actually, the decision process is the reverse of this: First, I decide whether
+I find it a relevant or useful option. If not, I will not implement it. If so,
+I will think about if and how I can implement it. If I have an idea for a
+solution that is practically feasible, I will pursue it. If I don't see a
+solution, if I think it will take me too much time, or if I think a solution
+will be inconvenient to other users, then I will not pursue it.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\subsection*{New in this version}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+Changes with respect to the previous version (v6.02,
+\APACversiondate{2013/07/04}):
+\begin{itemize}
+
+\item
+Thesis formatting (\entryname{@phdthesis}, \entryname{@mastersthesis})
+rewritten in order to conform to the 6th edition of the APA Manual.
+
+\item
+Added the \cmd{\APACaddressSchool} and \cmd{\APACtypeAddressSchool}
+commands to facilitate customization of the formatting of theses.
+
+\item
+Added the \cmd{\APACredefineOnce} command to \fname{apacdoc.sty}.
+
+\item
+Added examples 31--44 from the APA manual to \fname{apacxmpl.tex} and
+\fname{apa5ex.bib}.
+
+\item
+Improved source code documentation in the \fname{.dtx} file.
+
+\item
+Some minor changes and bug fixes.
+
+\end{itemize}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\subsection*{About this document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+The current document describes how to use \pkg{apacite} and largely assumes
+knowledge of or access to the standard \BibTeX{} documentation, such as
+\citeA{Pata88}, \citeA[Chapter~12]{KoDa04}, or \citeA[Chapters~12 and~13]{TLC2}.
+Hence, this document does not always describe how to use some of the citation
+commands or how to construct a bibliography database file in detail if there
+is no \pkg{apacite}-specific element to it. This document comes in two
+versions. The version supplied with the distribution is the user's manual.
+As is customary with packages that are distributed in \fname{.dtx} form, it is
+also possible to regenerate the user's manual in such a way that it includes
+the documented source code of the package as well. This is currently still
+in a primitive form compared to other packages, but it will be improved
+with later releases. The \fname{README} file describes how the documented
+source code can be included in this manual. \citeA{meijer07} contains some
+simple examples in which \pkg{apacite} is compared to standard \LaTeX/\BibTeX{}
+citation, as well as a description of how \pkg{apacite} works technically.
+
+{\bfseries Note that this manual is not completely up to date.}
+This is primarily the case for the specific discussion of the examples
+in section~\ref{sec:xmpl}, which focus on the 5th edition of the APA
+manual, but there may be some obsolete discussions or omissions elsewhere
+in the document as well.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\section{Installation, package loading, and running \BibTeX{}}
+\label{sec:usage}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\pkg{apacite} is distributed as a \fname{.dtx} file, like
+most \LaTeX{} packages. The file \fname{apacite.dtx} is supplemented by a
+\fname{README} file, which gives a brief introduction and installation
+instructions, the user's manual in the file \fname{apacite.pdf} (which you are
+reading right now), and the installation file \fname{apacite.ins}. Strictly
+speaking, only the \fname{apacite.dtx} file is necessary, because the
+installation file is regenerated from it if it is not available, and the user's
+manual is generated by running \LaTeX{} on \fname{apacite.dtx}. But it is
+customary (and convenient for potential users) to include the other files as
+well.
+
+The \LaTeX{} packages, \BibTeX{} style files, and other files in the
+distribution are generated by running \LaTeX{} on \fname{apacite.ins}.
+This generates the following files:
+\begin{description}
+\item[\fname{apacite.sty}] The \LaTeX{} citation package. This must
+ be placed in a directory where \TeX{} can find it.
+\item[\fname{apacite.bst}] The \BibTeX{} reference list style. This
+ must be placed in a directory where \BibTeX{} can find it.
+\item[\fname{apacitex.bst}] The \BibTeX{} reference list style with
+ added author index support. This must also be placed in a directory
+ where \BibTeX{} can find it.
+\item[\fname{apacann.bst}]
+\item[\fname{apacannx.bst}] Versions of \fname{apacite.bst} and
+ \fname{apacitex.bst} that generate annotated bibliographies (if the
+ \fieldname{annote} and/or \fieldname{annotate} fields are provided). Again,
+ these must be placed in a directory where \BibTeX{} can find it. Most
+ probably, some time in the future, the four \fname{.bst} files will be
+ combined in \fname{apacite.bst}, with the desired behavior induced by
+ options, but this is nontrivial and currently not implemented yet.
+\item[\fname{apacxmpl.tex}] \LaTeX{} file that (with the bibliography
+ database) implements the examples from the APA manual.
+ This can best be kept in the same directory as \fname{apacite.dtx}.
+\item[\fname{apa5ex.bib}] The file with bibliographic information
+ of the examples from the APA manual, this user's manual.
+ This is useful for users to find out how
+ certain nontrivial problems can be solved. This can best be kept
+ in the same directory as \fname{apacite.dtx}.
+\item[\fname{apacite.drv}] Documentation driver. Run \LaTeX{} on this
+ file to regenerate the user's manual. This is the current document,
+ and can also be ontained by running \LaTeX{} on \fname{apacite.dtx},
+ but you can edit the file \fname{apacite.drv} to change some settings,
+ e.g., choose whether or not the documented source code must be
+ included in the manual or not. Please don't edit \fname{apacite.dtx}
+ itself. The file \fname{apacite.drv} can best be kept
+ in the same directory as \fname{apacite.dtx}.
+\item[\fname{*.apc}] Language-specific modifications of \pkg{apacite}.
+ See section~\ref{sec:compat-babel} for a discussion of these.
+ These must be placed in a directory where \LaTeX{} can find them.
+ The files that are currently supplied are \fname{english.apc},
+ \fname{dutch.apc}, \fname{finnish.apc}, \fname{french.apc},
+ \fname{german.apc}, \fname{ngerman.apc}, \fname{greek.apc},
+ \fname{norsk.apc}, \fname{spanish.apc}, and \fname{swedish.apc}.
+\item[\fname{apacdoc.sty}] A \LaTeX{} package that contains commands
+ and settings used in this user's manual. This can be placed in a
+ directory where \TeX{} can find it, but given that it is primarily
+ useful for processing the user's manual and not intended as a
+ package for wider usage, it can also be left in the same directory as
+ \fname{apacite.dtx}. See section~\ref{sec:apacdoc} for a further discussion
+ of this package.
+\end{description}
+
+The \fname{apacite.sty} \LaTeX{} package is loaded by putting
+\mbox{}\vspace{0.7\baselineskip}\\
+\cmdthreealt{usepackage}{options}{apacite}
+\mbox{}\vspace{0.7\baselineskip}\\
+somewhere in your document between \cmd{\documentclass} and
+|\begin{document}|, or putting
+\mbox{}\vspace{0.7\baselineskip}\\
+\cmdthreealt{RequirePackage}{options}{apacite}
+\mbox{}\vspace{0.7\baselineskip}\\
+in your own personal \LaTeX{} package (say, \fname{mysettings.sty})
+that is loaded by your document.
+
+To load the \fname{apacite.bst} or \fname{apacitex.bst} bibliography style in
+\BibTeX{}, put
+\mbox{}\vspace{0.7\baselineskip}\\
+|\bibliographystyle{apacite}|
+\mbox{}\vspace{0.7\baselineskip}\\
+(or |apacitex|, |apacann|, or |apacannx|) in your document
+before the \cmd{\bibliography} command. The
+position of the bibliography (reference list) is determined by the line
+\mbox{}\vspace{0.7\baselineskip}\\
+\cmdtwo{bibliography}{bibfiles}
+\mbox{}\vspace{0.7\baselineskip}\\
+where \opt{bibfiles} is a list of filenames with \fname{.bib} extension, which
+contain the bibliographic information that is used by \BibTeX{} to construct the
+reference list. Usually, the \cmd{\bibliographystyle} and \cmd{\bibliography}
+are kept together (immediately follow each other) in the document, although when
+you are using the \pkg{apa6} document class with \pkg{apacite} support, the
+\cmd{\bibliographystyle} is defined by the class and you are not supposed to use
+the \cmd{\bibliographystyle} command yourself. See the documentation of the
+\pkg{apa6} documentclass for details about this.
+
+If you use one of the author indexing options, the author index is put in
+the \LaTeX{} output by the line
+\begin{verbatim}
+\printindex[autx]
+\end{verbatim}
+If you put this line in your document, but don't use one of the author
+indexing options, it will be ignored. For more on author indexing, see
+section~\ref{sec:autindex}.
+
+To get all parts in the final output, the following sequence of runs should
+typically be taken (when starting from scratch): (1) \LaTeX{}, (2) \BibTeX{},
+(3) \LaTeX{}, (4) \LaTeX{}, and, when author indexing is on, (5) \MakeIndex{},
+(6) \LaTeX{}, and (7) \LaTeX{}. The last one is to get the index in the table
+of contents. If the table of contents is on a regular page, i.e., an
+arabic-numbered page instead of a roman-numbered page in the front matter, it
+may even be necessary to run \MakeIndex{} another time, followed by \LaTeX{}
+once or twice. Occasionally, somewhere in the process, \LaTeX{} may complain
+about labels that may have changed, which requires even more additional
+\LaTeX{} runs at that stage. So the number of runs that are necessary to get
+everything right may become large.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\section{Package options}
+\label{sec:options}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+The following options are recognized by \pkg{apacite}:
+\begin{description}
+\item[\pkgoption{apaciteclassic}]
+\item[\pkgoption{natbibapa}]
+\item[\pkgoption{nocitation}] \mbox{}\\
+ These three option determine which citation commands are defined in
+ \pkg{apacite}. \pkgoption{apaciteclassic} defines the ``classic''
+ \pkg{apacite} citation commands \cmd{\cite}, \cmd{\citeA}, \cmd{\citeNP},
+ and so forth, which use angled bracket syntax for prenotes, for example,
+ |\cite<see>[for more details]{ex1}|. These are the commands
+ described in section~\ref{sec:cite} below. This is the default in the
+ current version, but this may change in the future.
+
+ \pkgoption{natbibapa}
+ loads the \pkg{natbib} package for the citation commands. These
+ commands, such as \cmd{\citet} and \cmd{\citep}, use double square
+ brackets, for example, |\citep[see][for more details]{ex1}|.
+ Because these commands are not defined by \pkg{apacite} but by
+ \pkg{natbib}, they are not documented in this manual. See the
+ \pkg{natbib} documentation for their usage. Using \pkg{natbib} has a
+ few advantages over using the classic \pkg{apacite} commands:
+ (i) the citation commands are robust, which means they can be used
+ inside other commands, such as \cmd{\caption}, whereas the \pkg{apacite}
+ commands, like the traditional \LaTeX{} \cmd{\cite} command, are
+ fragile and must be \cmd{\protect}ed when used inside other commands;
+ (ii) the angled brackets do not normally occur in text mode and when
+ they do, they have special meaning; this may lead to incompatibilities;
+ (iii) \pkg{natbib} supports sorting citations within a citation
+ command, and has commands such as \cmd{\Citet} that capitalize the
+ first letter of a citation; the classic \pkg{apacite} commands lack
+ this functionality;
+ (iv) it is easier to switch to other styles, even to numbered styles.
+
+ When the \pkgoption{nocitation} option is requested, no citation
+ commands (except for \cmd{\nocitemeta}) are defined in \pkg{apacite}.
+ This may be useful if you want to use another citation package and
+ want to avoid potential compatibility conflicts.
+
+ The option \pkgoption{natbibapa} is different from
+ \pkgoption{nocitation} combined with loading of \pkg{natbib} by the
+ user, because \pkgoption{natbibapa} modifies \pkg{natbib}'s and
+ \pkg{apacite}'s behavior in a way that better satisfies the APA
+ rules and fixes some compatibility problems.
+
+\item[\pkgoption{BCAY}] \mbox{}\\
+ This is a technical option for backwards compatibility with old versions
+ (pre-\APACversiondate{2003/09/05}) of \pkg{apacite}. In those versions of
+ \pkg{apacite}, the \cmd{\BCAY} construction was used to pass relevant
+ citation information from the \fname{.bbl} file (\BibTeX{}'s output) to
+ \LaTeX{}. This was taken over from its immediate predecessor, Young U. Ryu's
+ \pkg{theapa}. However, \pkg{natbib} does not recognize the \cmd{\BCAY}
+ construction, but it does recognize the analogous \cmd{\citeauthoryear}
+ construction, which was also used by an earlier predecessor of
+ \pkg{apacite}, \pkg{newapa}. Therefore, \pkg{apacite} has reverted to
+ \cmd{\citeauthoryear} as well. This makes different versions of
+ \pkg{apacite} incompatible with each other, because it is not possible to
+ support both constructions at the same time. This option is used to fix
+ that: In the (unlikely) event that you \emph{must} use a \fname{.bbl} file
+ that is generated by an old version of \pkg{apacite}, you can turn this
+ option on.
+
+\item[\pkgoption{mask}]
+\item[\pkgoption{unmask}] \mbox{}\\
+ Many journals use a double blind refereeing process. To conceal the
+ author's identity in such a masked review, it may be necessary to
+ suppress some citations, for example, to the working paper version
+ of the manuscript under review. \pkg{apa6} introduced masked citation
+ commands, which are now included in \pkg{apacite} as well. These
+ work as ordinary citations when the \pkgoption{mask} option is not
+ requested (or when the \pkgoption{unmask} option is chosen, which
+ is the default) and print a message mentioning suppression of citations
+ when \pkg{apacite} is loaded with the \pkgoption{mask} option.
+
+\item[\pkgoption{index}]
+\item[\pkgoption{indexpackage}]
+\item[\pkgoption{noindexpackage}] \mbox{}\\
+ The \pkgoption{index} option turns author indexing on. See
+ section~\ref{sec:autindex} for a discussion of the author indexing facility.
+ The \pkgoption{index} option should be used with the \fname{apacitex.bst}
+ (or \fname{apacannx.bst})
+ \BibTeX{} style, although it does not give errors with \fname{apacite.bst}
+ (or \fname{apacann.bst}),
+ but simply does not give author index entries, so then this option
+ typically does not have any effect (and an undesirable effect if
+ it does). The \pkgoption{indexpackage} and \pkgoption{noindexpackage}
+ select whether the author index entries should be generated according
+ to the method of the \pkg{index} package or using a more standard-\LaTeX{}
+ method.
+
+ By default, if the \pkgoption{index} option is requested, the
+ \pkgoption{indexpackage} option is turned on as well, consistent with
+ the behavior of previous versions of \pkg{apacite}.
+
+\item[\pkgoption{noindex}] \mbox{}\\
+ Turns author indexing off (the default). Typically used with
+ \fname{apacite.bst}, but can also be used with \fname{apacitex.bst}. In the
+ latter case, the author indexing commands are simply ignored. Therefore,
+ \fname{apacite.bst} is actually superfluous, but because author indexing
+ will be used rarely and \fname{apacitex.bst} is more likely to lead to errors
+ or incompatibilities, a ``clean'' (no author indexing) version,
+ \fname{apacite.bst}, is provided as well.
+
+\item[\pkgoption{suppresscorporate}] \mbox{}\\
+ Excludes corporate authors from the author index. The \cmd{\bibcorporate}
+ command must be used in the \fname{.bib} file to denote a corporate author;
+ see sections~\ref{subsec:fields}, \ref{subsec:labels}, and~\ref{sec:autindex}.
+
+\item[\pkgoption{includecorporate}] \mbox{}\\
+ Includes corporate authors in the author index, provided that an author index
+ is requested of course.
+
+\item[\pkgoption{stdindex}]
+\item[\pkgoption{tocindex}]
+\item[\pkgoption{emindex}]
+\item[\pkgoption{ltxemindex}] \mbox{}\\
+ These options select the style of index formatting. They all imply the
+ \pkgoption{index} option. The first three of these imply the
+ \pkgoption{indexpackage} option, whereas the fourth implies
+ \pkgoption{noindexpackage}. See section~\ref{sec:autindex}.
+
+\item[\pkgoption{numberedbib}] \mbox{}\\
+ This option implies that the bibliography (reference list) is a numbered
+ section or chapter, e.g., ``6.~References'', instead of just ``References''.
+
+\item[\pkgoption{unnumberedbib}] \mbox{}\\
+ The reverse of \pkgoption{numberedbib}: The bibliography is an unnumbered
+ section or chapter. This is the default. However, it is possible that when
+ using the \pkg{apa} document class, then \pkgoption{numberedbib} works
+ better, because that class turns section numbering off anyway and it may be
+ that \pkg{apa}'s page headings work well if the reference list is a
+ \cmd{\section} and not if it is a \cmd{\section*}. I have not experimented
+ with this (yet), however.
+
+\item[\pkgoption{sectionbib}] \mbox{}\\
+ With this option, the bibliography is a section and not a chapter. Mainly
+ useful in combination with the \pkg{chapterbib} package. Therefore, it will
+ be discussed in more detail in section~\ref{sec:compat-chapterbib}.
+
+\item[\pkgoption{nosectionbib}] \mbox{}\\
+ With this option, the bibliography is a chapter, if the \cmd{\chapter}
+ command is defined. Otherwise, it is always a section. Again, see
+ section~\ref{sec:compat-chapterbib}.
+
+\item[\pkgoption{tocbib}] \mbox{}\\
+ This puts the bibliography in the table of contents, even if it is
+ unnumbered, provided of course that a table of contents is requested in the
+ document (by \cmd{\tableofcontents}). This is the default.
+
+\item[\pkgoption{notocbib}] \mbox{}\\
+ This does not put the bibliography in the table of contents if it is an
+ unnumbered section or chapter. If it's numbered, it is always in the table
+ of contents.
+
+\item[\pkgoption{bibnewpage}] \mbox{}\\
+ The bibliography is started on a new page. This is required by some journal
+ styles, including the APA manual. The \pkg{apa} class already contained this
+ in its \pkgoption{man} option, but now it has been made available directly
+ in \pkg{apacite}.
+
+\item[\pkgoption{nobibnewpage}] \mbox{}\\
+ The bibliography is not explicitly started on a new page, although if the
+ bibliography is a chapter, it will be started on a new page anyway, because
+ chapters are started on a new page. This is the default in \pkg{apacite} and
+ thus is the only time a non-APA setting is used as default instead of an
+ available APA setting. Therefore, to satisfy the APA rules, you have to
+ request the \pkgoption{bibnewpage} option explicitly.
+
+\item[\pkgoption{doi}] \mbox{}\\
+ Includes doi information in the reference list; the default.
+
+\item[\pkgoption{nodoi}] \mbox{}\\
+ Suppresses doi information in the reference list.
+
+\end{description}
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\section{The citation commands}
+\label{sec:cite}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+This section describes the commands that can be used to cite a work.
+Section~\ref{sec:classic} describes the commands available with the
+\pkgoption{apaciteclassic} option selected. Section~\ref{sec:natbibapa}
+is devoted to the citation commands with the \pkgoption{natbibapa}
+command selected. Apart from differences in syntax, there are a few
+important differences between these sets of commands:
+\begin{itemize}
+\item
+The \pkgoption{apaciteclassic} commands are \emph{fragile}, like the
+standard \LaTeX{} \cmd{\cite} command. This means that they cannot be
+used in other commands, like \cmd{\caption}, unless they are protected
+by putting \cmd{\protect} before them, for example,
+\begin{verbatim}
+\caption{Theoretical constructs from \protect\citeA{Jones01}}
+\end{verbatim}
+In contrast, the \pkg{natbib}/\pkgoption{natbibapa} commands are
+\emph{robust}, so they can be used in other commands without the
+need for \cmd{\protect}.
+\item
+The use of the angled brackets (`|<|' and `|>|') in the
+\pkgoption{apaciteclassic} commands sometimes causes compatibility
+problems, for example, with certain options of the \pkg{babel}
+package, such as \pkgoption{spanish}.
+\item
+With the \pkgoption{sort} option, \pkg{natbib} sorts citations
+within the same citation command in the same order as in the reference
+list, as required by the APA manual (p.~178). Therefore, when
+\pkg{apacite} is loaded with the \pkgoption{natbibapa} option, it
+loads \pkg{natbib} with the \pkgoption{sort} option.
+Sorting is not implemented in the \pkgoption{apaciteclassic} commands,
+and thus the user will need to manually order the citations
+alphabetically.
+\item
+\pkg{natbib} provides a set of commands (e.g., \cmd{\Citet}) that
+capitalize the first letter of a citation. This can be used when
+a citation, of which the first author's name starts with a lowercase
+letter, starts a sentence (APA manual, p.~101). This behavior would
+be very hard to reproduce with the \pkgoption{apaciteclassic}
+commands.
+\end{itemize}
+Overall, I believe that the \pkg{natbibapa} option will be preferred
+by most users, and I expect that I will make this the default in a
+future release of \pkg{apacite}. However, because most users of
+\pkg{apacite} will still be working on documents that use the
+\pkgoption{apaciteclassic} commands, this is still the default in the
+current version.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\subsection{The ``classic'' \pkg{apacite} citation commands}
+\label{sec:classic}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+This section describes the default behavior of the citation commands
+that are avilable with the \pkgoption{apaciteclassic} option.
+In section~\ref{sec:custom}, customization of this behavior will be
+discussed. Extensive examples are given in section~\ref{sec:xmpl}
+and the new examples file described there. Table~\ref{tab:basic-cite}
+gives a brief impression of the usage and results of the most common
+citation commands.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{table}[tp]
+\begin{center}
+\caption{Examples of usage of basic citation commands.}
+\label{tab:basic-cite}
+\begin{tabular}{@{}ll@{}}
+\hline
+Command & Result \\
+\hline
+|\cite<e.g.,>[p.~11]{Jone01,Ross87}| &
+ (e.g., Jones, 2001; Ross, 1987, p.~11) \\
+|\citeA<e.g.,>[p.~11]{Jone01,Ross87}| &
+ e.g., Jones (2001); Ross (1987, p.~11) \\
+|\citeauthor<e.g.,>[p.~11]{Jone01,Ross87}| &
+ e.g., Jones; Ross, p.~11 \\
+|\citeyear<e.g.,>[p.~11]{Jone01,Ross87}| &
+ (e.g., 2001; 1987, p.~11) \\
+|\citeyearNP<e.g.,>[p.~11]{Jone01,Ross87}| &
+ e.g., 2001; 1987, p.~11 \\
+|\citeNP<e.g.,>[p.~11]{Jone01,Ross87}| &
+ e.g., Jones, 2001; Ross, 1987, p.~11 \\
+\hline
+\end{tabular}
+\end{center}
+\end{table}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\subsubsection*{Structure of the citation commands;
+ parenthetical citations}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\DescribeMacro{\cite}
+The traditional \LaTeX{} citation command is \cmd{\cite}, and
+\pkg{apacite} reimplements this command. This command is used for
+\emph{parenthetical} citations. For example,
+``|\cite{Jone01}|'' results in ``(Jones, 2001)''. Here,
+|Jone01| is the \emph{key} that identifies the reference; it is
+defined in the \fname{.bib} file, see section~\ref{sec:bib}.
+An optional postfix---text that follows the actual citation---can
+be added as a standard \LaTeX{} optional argument in square brackets:
+``|\cite[p.~11]{Jone01}|'' results in ``(Jones, 2001, p.~11)''.
+Similarly, an optional prefix can be added between angled brackets:
+``|\cite<e.g.,>{Jone01}|'' results in ``(e.g., Jones, 2001)''.
+Finally, there can be both a prefix and a postfix (in that order):
+``|\cite<e.g.,>[p.~11]{Jone01}|'' results in
+``(e.g., Jones, 2001, p.~11)''. As usual, multiple references
+can be included within the same citation:
+``|\cite<e.g.,>[p.~11]{Jone01, Ross87}|'' results in
+(e.g., Jones, 2001; Ross, 1987, p.~11). The citation keys of multiple
+citations must be separated by commas, with optional spaces after the
+commas.
+
+By default, \pkg{apacite} follows the APA rules and includes the
+citation in round parentheses, separates the author and year by a
+comma, the different references by a semicolon, and the year and
+the postfix by a comma, but this can all be changed by the user;
+see section~\ref{sec:custom}.
+
+\pkg{apacite} defines a large number of alternative citation
+commands, but they all have this same structure:
+\cmdfour{command}{prefix}{postfix}{keys}. However, the prefix, and to
+a lesser extent the postfix, are most useful with the parenthetical
+citation commands.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\subsubsection*{Text citations; splitting author and year; no
+parentheses}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\DescribeMacro{\citeA}
+The \cmd{\citeA} command produces text citations:
+``|\citeA{Jone01}|'' results in ``Jones (2001)'' and.
+``|\citeA[p.~11]{Jone01}|'' results in ``Jones (2001, p.~11)''.
+Prefixes are generally not useful for text citations (you can simply
+include the prefix in the text), but supported. Multiple citations
+are also supported. These are typically only useful for cases in which
+the authors are the same and only the year is repeated:
+``|\citeA{Jone01, Jone02}|'' results in ``Jones (2001, 2002)''.
+Corresponding with the APA rules, an ``and'' before the last author
+is formatted as ``and'' in text citations, whereas it is formatted
+as ``\&'' in parenthetical citations:
+``|\citeA{SmJo03}|'' gives ``Smith and Jones (2003)'', whereas
+``|\cite{SmJo03}|'' gives ``(Smith \& Jones, 2003)''.
+
+\DescribeMacro{\citeauthor}
+If a proper citation has been given in a paragraph,\footnote{Note that
+a paragraph is not a section. Nor does it need to be declared as a
+\cmd{\paragraph}. A reminder for Dutch readers: ``section'' =
+``paragraaf'' and ``paragraph'' = ``alinea''.}
+the second reference to the source may omit the year if no ambiguity
+can arise (APA manual, p.~174). The \cmd{\citeauthor} command can
+be used for such purposes:
+\begin{verbatim}
+\citeA{Jone01} argued that [...]. The empirical results of
+\citeauthor{Jone01} supported his argument.
+\end{verbatim}
+gives ``Jones (2001) argued that [\ldots]. The empirical results of
+Jones supported his argument.''
+
+\DescribeMacro{\citeyear}
+The \cmd{\citeyear} command gives just the year part of a text
+citation. This can be used for constructions like
+``|\citeauthor{Jone01}' \citeyear{Jone01} method|'', which
+gives ``Jones' (2001) method''. Note that \cmd{\citeyear} inserts the
+parentheses.
+
+\DescribeMacro{\citeyearNP}
+Some constructions may require even more flexibility. The
+\cmd{\citeyearNP} command (NP = no parentheses) omits the
+parentheses, which can be useful for a construction like
+``|In \citeyearNP{Jone01},| |\citeauthor{Jone01}| |introduced|
+|his method|'', which gives ``In 2001, Jones introduced his method''.
+
+\DescribeMacro{\citeauthorNP}
+As mentioned above, text citations use ``and'' between authors,
+whereas parenthetical citations use ``\&''. The, \cmd{\citeauthor}
+command is a text citation command and thus should not be used
+in a parenthetical citation; \cmd{\citeauthorNP} is the corresponding
+parenthetical command, which gives just the authors, but now with
+``\&'' when applicable. Note that neither \cmd{\citeauthor} nor
+\cmd{\citeauthorNP} insert parentheses. In hindsight, it would have
+been more logical---following \cmd{\cite} and \cmd{\citeA}---to use
+\cmd{\citeauthorA} for what is now \cmd{\citeauthor} and
+\cmd{\citeauthor} for what is now \cmd{\citeauthorNP}, but
+\cmd{\citeauthor} already existed as a text citation command in
+\pkg{apacite}'s predecessor \pkg{theapa}, it is used as such in
+some other packages (e.g., \pkg{natbib}), and I didn't realize at
+the time that \pkg{apacite} would need both. Therefore, the name
+\cmd{\citeauthorNP} is modeled after \cmd{\citeNP}
+
+\DescribeMacro{\citeNP}
+The \cmd{\citeNP} command is \cmd{\cite} without the parentheses.
+This is useful for complex constructions like
+\begin{verbatim}
+\citeauthor{Jone01} (\citeyearNP{Jone01}; see also \citeNP{SmJo03})
+\end{verbatim}
+which gives
+``Jones (2001; see also Smith \& Jones, 2003)''.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\subsubsection*{References without citation}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\DescribeMacro{\nocite}
+The standard \LaTeX{} command \cmd{\nocite} is also provided by
+\pkg{apacite}; \cmdtwo{nocite}{keys} includes the references
+corresponding with the keys in the reference list, but does not
+generate a citation in the text. Therefore, it does not allow a pre-
+or postfix. However, it does allow multiple citations. Like the
+standard \LaTeX{} command, |\nocite{*}| includes all references
+from the \fname{.bib} file in the reference list. In general, the APA
+requires (p.~174) that each reference list entry should be cited in
+the text, and thus this command will rarely be used in APA style
+manuscripts. One potential application is a meta-analysis based
+on more than 50 works. (See \cmd{\nocitemeta} below.)
+
+\DescribeMacro{\nocitemeta}
+An exception to the one-to-one correspondence requirement between
+citations and reference list is when a meta-analysis is reported.
+This is a quantitative analysis with results, e.g., regression
+coefficients, from published work used as data in the current work.
+Studies that are included in the meta-analysis should be included
+in the reference list, but do not need to be cited. They should,
+however, be marked with an asterisk in the reference list. This
+can be obtained by using \cmd{\nocitemeta}, which is otherwise
+identical to \cmd{\nocite}: the syntax is \cmdtwo{nocitemeta}{keys}
+and |\nocitemeta{*}| includes all entries from the \fname{.bib} file
+in the reference list and flags all of them with an asterisk. This
+is an unlikely situation, though. Because other packages, in particular
+\pkg{natbib} do not define \cmd{\nocitemeta} or an analogous command,
+\pkg{apacite} provides \cmd{\nocitemeta} regardless of whether the
+\pkgoption{apaciteclassic}, \pkgoption{natbibapa}, or even
+\pkgoption{nocitation} option is requested.
+
+If a meta-analysis includes more than 50 studies, these should not
+be included in the main reference list, but in a separate online
+supplemental archive (APA manual, p.~183). \pkg{apacite} currently
+does not count the number of references included in the meta-analysis,
+and thus does not check whether the references should be included in
+a separate online supplemental archive, it does not disable the
+\cmd{\nocitemeta} command, and it does not automatically generate
+the supplemental document. This is the responsibility of the user.
+If there is demand for it, I might implement such a counter so that
+\pkg{apacite} can give a warning at the end of the \LaTeX{} run that
+there are more than 50 references included in the meta-analysis.
+Presumably, in the online supplemental archive, the references are
+not marked with an asterisk, so this would be an example where
+\cmd{\nocite} can be useful.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\subsubsection*{Full and short author lists}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\DescribeMacro{\fullcite}
+\DescribeMacro{\fullciteA}
+\DescribeMacro{\fullciteNP}
+\DescribeMacro{\fullciteauthor}
+\DescribeMacro{\fullciteauthorNP}
+When citing a work with one or two authors, all authors are included
+in each citation. When citing a work with six or more authors, only
+the first author's name is included in the text, followed by
+``et al.\hbox{}''. With three to five authors, the full list is
+included the first time the work is cited, and only the first with
+``et al.\hbox{}'' in subsequent citations.
+
+\DescribeMacro{\shortcite}
+\DescribeMacro{\shortciteA}
+\DescribeMacro{\shortciteNP}
+\DescribeMacro{\shortciteauthor}
+\DescribeMacro{\shortciteauthorNP}
+There are some special cases, where some of the authors and the year
+are the same, but not the whole author list, in which more names are
+retained on subsequent citations as well. Section~\ref{sec:xmpl}
+includes some examples of complex situations and how to deal with
+them. All of this is automatically handled by \pkg{apacite}.
+
+However, occasionally one may want to use the full
+author list even after a first citation, or the short author list in
+the first citation. For such (rare) cases, \pkg{apacite} provides
+``full'' and ``short'' versions of all citation commands that include
+an author (list) in the text. Other than forcing the full or short
+author list in the text, these commands are identical to the versions
+without ``|full|'' or ``|short|''.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\subsubsection*{Masked citations}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\DescribeMacro{\maskcite}
+\DescribeMacro{\maskciteA}
+\DescribeMacro{\maskciteNP}
+\DescribeMacro{\maskciteauthor}
+\DescribeMacro{\maskciteauthorNP}
+\DescribeMacro{\maskciteyear}
+\DescribeMacro{\maskciteyearNP}
+Many journals use a ``masked'' or double-blind review process, in
+which the identities of the authors are concealed from the reviewers.
+As the APA manual states (p.~226), it is the responsibility of the
+authors to ensure that the content of the manuscript does not reveal
+their identities. This may include suppressing citations to other
+work by the authors, in particular unpublished material, such as
+the working paper version of the manuscript under review. To this
+end, the \pkg{apa6} class introduced ``masked'' citation commands,
+which produce the desired citation for the unmasked mode, but
+insert a message stating that citations have been masked in masked
+mode. Because these are citation commands, they are more properly
+included in \pkg{apacite}, and they now are. I am coordinating with
+\pkg{apa6}'s author Brian Beitzel on this issue (and other points
+of interaction between \pkg{apa6} and \pkg{apacite}).
+
+\DescribeMacro{\maskfullcite}
+\DescribeMacro{\maskfullciteA}
+\DescribeMacro{\maskfullciteNP}
+\DescribeMacro{\maskfullciteauthor}
+\DescribeMacro{\maskfullciteauthorNP}
+All the citation commands introduced in this section have a
+corresponding masked version, which has the same syntax and the same
+name, except that ``|mask|'' is inserted immediately after the
+backslash. Thus, the masked version of \cmd{\cite} is \cmd{\maskcite},
+the masked version of \cmd{\fullciteauthorNP} is
+\cmd{\maskfullciteauthorNP}, and so forth.
+
+\DescribeMacro{\maskshortcite}
+\DescribeMacro{\maskshortciteA}
+\DescribeMacro{\maskshortciteNP}
+\DescribeMacro{\maskshortciteauthor}
+\DescribeMacro{\maskshortciteauthorNP}
+When \pkg{apacite} is loaded with the \pkgoption{mask} option, these
+masked citation commands insert the message
+``\emph{(1\ citation removed for masked review)}'', or
+``\emph{(2\ citations removed for masked review)}'', and so forth,
+depending on the number of citations included in the citation
+command. When \pkg{apacite} is loaded with the \pkgoption{unmask}
+option (the default), the masked citation commands are equivalent
+to the same commands without the ``|mask|''.
+
+\DescribeMacro{\masknocite}
+\DescribeMacro{\masktext}
+%% \DescribeMacro{\maskcitations}
+%% \DescribeMacro{\unmaskcitations}
+In addition to the masked citation commands, \pkg{apacite} also
+provides \cmd{\masknocite}, although its usefulness seems even more
+remote than \cmd{\nocite} itself in APA style documents. Because
+\cmd{\nocite} does not insert a citation, \cmd{\masknocite} does
+not remove citations in \pkgoption{mask} mode. It only prevents an
+entry in the reference list. Therefore, this command does not
+insert a message about removed citations in the text either. Hence,
+it does nothing in \pkgoption{mask} mode. An additional command
+provided by \pkg{apacite} is \cmd{\masktext}. This has one mandatory
+argument, the text that is to be masked. It also has an optional
+argument, which is the text to be inserted in \pkgoption{mask} mode.
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\subsubsection*{Ad-hoc citation commands}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+In order to format the examples from the APA manual correctly in
+section~\ref{sec:xmpl}, the \fname{apacdoc.sty} package defines the
+following additional citation commands: \cmd{\DSMcite},
+\cmd{\biblecite}, and \cmd{\citesong}, and obvious variations with
+|full|, |short|, |A|, and |NP|. I have decided not to include these
+in \fname{apacite.sty}, primarily because I find it unattractive to
+introduce different types of citation commands for different types of
+citations. This also makes it more difficult to use the same document
+with another citation package. Perhaps I'll be able to provide,
+in a future version of \pkg{apacite}, more elegant solutions to the
+problems for which these commands were defined. See
+section~\ref{sec:apacdoc} for a description of the \fname{apacdoc.sty}
+package and some brief usage instructions.
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\subsection{Using \pkg{natbib} for citations}
+\label{sec:natbibapa}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+With the \pkgoption{natbibapa} option, \pkg{apacite} loads \pkg{natbib}
+with the options \pkgoption{longnamesfirst} and \pkgoption{sort}. The
+former inserts the full author lists in the first citation and the
+short author lists in subsequent citations, in the same way the
+\pkgoption{apaciteclassic} commands do. The \pkgoption{sort} option
+sorts the citations within the same citation command in the same order
+as in the reference list, as required by the APA manual (p.~178).
+In addition to loading \pkg{natbib}, \pkg{apacite} includes some
+code to improve the interoperability, and it defines some additional
+commands that are specific to the \pkg{natbib}-\pkg{apacite}
+combination. The latter will be described below.
+
+Because the citation commands are defined by \pkg{natbib}, this is
+not the place for extensive documentation of them. See the \pkg{natbib}
+documentation. However, for completeness, I provide very brief
+information here. Table~\ref{tab:natbibapa} lists the commands and
+a brief description.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{table}[tp]
+\centering
+\caption{The \pkg{natbib} citation commands.}
+\label{tab:natbibapa}
+\begin{tabular}{@{}ll@{}}
+\hline
+Command & Description \\
+\hline
+\cmd{\citep} & Parenthetical citation \\
+\cmd{\citet} & Text citation \\
+\cmd{\citeauthor} & Author only (text citation) \\
+\cmd{\citeyear} & Year only (no parentheses) \\
+\cmd{\citeyearpar} & Year citation (with parentheses) \\
+\cmd{\citealp} & Parenthetical citation without the parentheses \\
+\cmd{\citealt} & Text citation without the parentheses \\
+\cmd{\citenum} & Number of the reference \\
+\cmd{\nocite} & No citation, only reference list entry \\
+\cmd{\Citep} etc. & Capitalized citation \\
+\cmd{\citep*} etc. & Full author lists \\
+\cmd{\shortcites} & Short author lists \\
+\cmd{\defcitealias} & Define alias (e.g., \emph{DSM-IV}) \\
+\cmd{\citepalias} & Parenthetical citation of alias \\
+\cmd{\citetalias} & Text citation of alias \\
+\cmd{\citetext} & Arbitrary text within citation parentheses \\
+\hline
+\end{tabular}
+\end{table}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+Compared to the \pkgoption{apaciteclassic} commands,
+the \pkg{natbib} commands use square brackets for both the prefix and
+the postfix: ``|\command[prefix][postfix]{keys}|''. If only one
+optional argument is present, it is interpreted as a postfix. A
+citation with only a prefix is obtained by using both optional
+arguments, but leaving the postfix empty:
+``|\command[prefix][]{keys}|''. The full author list is obtained
+by adding a star after the command, for example, |\citet*{key}|.
+There is no separate command for the short author list, but it can
+be obtained with the construction |\shortcites{key}\citet{key}|.
+The first letter of the author list is capitalized with citation
+commands that capitalize the first letter of the citation command,
+such as \cmd{\Citet}.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\subsubsection*{Filling some gaps and other additions}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\DescribeMacro{\citeauthorp}
+\DescribeMacro{\citeauthort}
+\DescribeMacro{\Citeauthorp}
+\DescribeMacro{\Citeauthort}
+As mentioned in section~\ref{sec:classic}, the APA requires that
+``and'' between authors is ``and'' in text citations and ``\&'' in
+parenthetical citations, and therefore the \pkgoption{apaciteclassic}
+option defines two author-citing commands: \cmd{\citeauthor} for
+text citations and \cmd{\citeauthorNP} for parenthetical citations.
+However, \pkg{natbib} only provides \cmd{\citeauthor}. For
+consistency with \cmd{\citep} and \cmd{\citet}, when loaded with the
+\pkgoption{natbibapa} option, \pkg{apacite} defines
+\cmd{\citeauthorp} for parenthetical use and \cmd{\citeauthort} for
+text use, and the corresponding capitalized versions \cmd{\Citeauthorp}
+and \cmd{\Citeauthort}. The default command \cmd{\citeauthor} is a
+text citation command, so it's equivalent to \cmd{\citeauthort}.
+
+%% \DescribeMacro{\citefullauthorp}
+%% \DescribeMacro{\citefullauthort}
+%% \DescribeMacro{\Citefullauthorp}
+%% \DescribeMacro{\Citefullauthort}
+
+\DescribeMacro{\bibstyle@apacite}
+\DescribeMacro{\bibstyle@apa}
+The \pkg{natbib} package is also highly customizable, and one of
+the ways it allows customization is by the \cmd{\bibstyle@xxx}
+commands, which typically define the desired punctuation through
+\cmd{\bibpunct} and may define other customizations. These are
+executed by using the command |\citestyle{xxx}|. Furthermore, when
+\pkg{natbib} is loaded, it checks the bibliography style and if it
+is \fname{xxx.bst}, then it tries to execute |\citestyle{xxx}| if
+defined. With the \pkgoption{natbibapa} option, \pkg{apacite}
+defines \cmd{\bibstyle@apacite}, and as a synonym, \cmd{\bibstyle@apa}.
+Thus, the APA punctuation defaults can be obtained with
+|\citestyle{apacite}| or |\citestyle{apa}|, which are executed
+by \pkg{apacite}, so the user only needs to do this if the style
+has been changed.
+
+\DescribeMacro{\maskcitep}
+\DescribeMacro{\maskcitet}
+\DescribeMacro{\maskciteauthor}
+\DescribeMacro{\maskciteyear}
+\DescribeMacro{\maskciteyearpar}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\subsubsection*{Masked citations}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\DescribeMacro{\maskcitealp}
+\DescribeMacro{\maskcitealt}
+\DescribeMacro{\maskcitenum}
+\DescribeMacro{\maskcitetalias}
+\DescribeMacro{\maskcitepalias}
+Section~\ref{sec:classic} described masked citation commands that
+can be used in double-blind review processes in an effort to conceal
+the identity of the authors. Because \pkg{natbib} itself does not
+define such commands, \pkg{apacite} with the \pkgoption{natbibapa}
+option defines a full set of \pkg{natbib}-style masked citation
+commands. Again, these are identical to the un-|mask| version if
+the \pkgoption{mask} option is not requested, but insert a message
+about removed citations when the \pkgoption{mask} option is requested.
+
+\DescribeMacro{\maskCitep}
+\DescribeMacro{\maskCitet}
+\DescribeMacro{\maskCiteauthor}
+\DescribeMacro{\maskCitealp}
+\DescribeMacro{\maskCitealt}
+%% The |\mbox{}| is necessary to avoid errors about too many
+%% unprocessed floats. This gives some ugly vertical whitespace, but
+%% the only alternative would be to write some superfluous paragraphs,
+%% which is equally unattractive.
+\mbox{}
+
+\DescribeMacro{\maskciteauthorp}
+\DescribeMacro{\maskciteauthort}
+\DescribeMacro{\maskCiteauthorp}
+\DescribeMacro{\maskCiteauthort}
+\DescribeMacro{\masknocite}
+\DescribeMacro{\masktext}
+\mbox{}
+
+%% \DescribeMacro{\maskcite}
+%% \DescribeMacro{\maskcitefullauthor}
+%% \DescribeMacro{\maskCitefullauthor}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\section{Contents of the bibliography database file}
+\label{sec:bib}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+The information that is used by \LaTeX/\BibTeX{} to generate
+the citations and reference list must be stored by the user in one
+or more files with the \fname{.bib} extension.
+A detailed overview of the contents of the \fname{.bib} file is
+given in \citeA[section~12.2]{KoDa04} and \citeA[section~13.2]{TLC2}.
+Roughly speaking, the
+\fname{.bib} file consists of a collection of \emph{entries}
+of the form
+\mbox{}\vspace{0.7\baselineskip}\\
+\verb+@+\opt{entryname}\verb+{+\opt{contents}\verb+}+
+\mbox{}\vspace{0.7\baselineskip}\\
+Most entries describe a work that may be referenced, e.g., a book
+or article. There are, however, two exceptions: a \entryname{preamble}
+entry (with \opt{entryname} = \verb+preamble+) and a \entryname{string}
+entry (with \opt{entryname} = \verb+string+). There is typically
+at most one \entryname{preamble} entry. Its \opt{contents} consist of a
+string---according to \BibTeX, i.e., between double quotes (\verb+"+)
+or an additional pair of braces (\verb+{+ and \verb+}+). This
+string, which typically consists of \LaTeX{} commands like
+\verb+\newcommand{\SortNoop}[1]{}+, is literally included
+in the document before the bibliography. It can therefore be used
+to define commands that are used in the (other) entries of the
+\fname{.bib} file and that are not standard \LaTeX{}.
+
+A \entryname{string} entry is similar, but the contents are now not
+included in the document. Instead, the string is assigned to a kind of
+``variable'', the name of which may contain characters
+not usually associated with variable names, like colons and
+hyphens, see \citeA[p.~769]{TLC2}. An example of a
+\entryname{string} entry is
+\begin{verbatim}
+@string{ JPSP = {Journal of Personality and Social Psychology} }
+\end{verbatim}
+Then, if in a later entry, the journal is
+\emph{Journal of Personality and Social Psychology}, you can format this
+as
+\begin{verbatim}
+ journal = JPSP,
+\end{verbatim}
+instead of the usual
+\begin{verbatim}
+ journal = {Journal of Personality and Social Psychology},
+\end{verbatim}
+This is not only convenient because it saves typing of common
+long journal names (and reduces the likelihood of typos), but it can
+also be used to define style-specific variations. For example, some
+styles abbreviate journal names, such as
+\emph{J.~Pers.\ Soc.\ Psych.}\hbox{} instead of
+\emph{Journal of Personality and Social Psychology}.
+You could then put the definitions of all full journal names
+in one \fname{.bib} file (\fname{fulljou.bib}, say) and the definitions
+of the abbreviated journal names in another (\fname{abbrjou.bib}, say).
+Suppose that the information about the referenced works is stored in a
+third file, say, \fname{myrefs.bib}, and that the ``NotAPA''
+style rules, implemented in the \fname{notapa.bst} \BibTeX{} style file,
+require the abbreviated journal names. Then you can use
+\begin{verbatim}
+\bibliographystyle{notapa}
+\bibliography{abbrjou,myrefs}
+\end{verbatim}
+to obtain a reference list complying with the ``NotAPA'' rules. If
+you change your mind and decide to switch to using the rules of the
+APA manual, you only need to change the two lines above into
+\begin{verbatim}
+\bibliographystyle{apacite}
+\bibliography{fulljou,myrefs}
+\end{verbatim}
+(and additionally load the \fname{apacite.sty} \LaTeX{} package
+through \cmd{\usepackage}).
+
+The remaining entry types are types that correspond with the
+type of a referenced work, e.g., \entryname{book} or
+\entryname{article}. These entry types (reference types) are
+discussed in section~\ref{subsec:types} below.
+Such entries have the following structure:
+\mbox{}\vspace{0.7\baselineskip}\\
+\verb+@+\opt{entryname}\verb+{+\opt{key}\verb+,+\\
+$\mbox{}\qquad$\opt{fieldname1}\verb+ = +\opt{value1}\verb+,+\\
+$\mbox{}\qquad$\opt{fieldname2}\verb+ = +\opt{value2}\verb+,+\\
+$\mbox{}\qquad\qquad\vdots$\\
+$\mbox{}\qquad$\opt{fieldnameN}\verb+ = +\opt{valueN}\verb+,+\\
+\verb+}+
+\mbox{}\vspace{0.7\baselineskip}\\
+where \opt{key} corresponds to the key used in the citation
+commands and matches the entry with the citation (and should
+therefore be unique). The fieldnames are \verb+author+, \verb+year+,
+etc., which are described in section~\ref{subsec:fields} below.
+The values are strings, either defined previously by a
+\entryname{string} entry or explicitly indicated as such here
+by putting the relevant information between double quotes
+(\verb+"+) or a pair of braces (\verb+{+ and \verb+}+).
+
+To be able to obey the rules of the APA manual, \pkg{apacite}
+provides several fields and reference types that are not
+described in the standard \BibTeX{} documentation
+\cite<e.g.,>[Chapter~13]{TLC2}. Furthermore,
+the meaning and usage of many fields and reference types that
+\emph{are} described there have been altered somewhat. Therefore,
+a complete description is given here.
+The symbol \LC{} will be used to indicate that the field or
+reference type is also described in \citeA[Appendix~B]{LaTeXbook},
+\citeA[Chapter~12]{KoDa04}, or \citeA[Chapter~13]{TLC2}, although, as
+mentioned above, the specific meaning of the item may have been
+changed.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\subsection{Types of references}
+\label{subsec:types}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+In this section, the list of reference types that are recognized by
+\pkg{apacite} is given. An overview of which fields can be used for which
+reference type is given in Table~\ref{tab:fieldref}. If fields are not
+relevant, but you use them anyway in your \fname{.bib} file, they are ignored.
+The fields and their use are described in more detail in
+section~\ref{subsec:fields}, but here some specific issues will already be
+mentioned.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{table}[p]
+\centering
+\caption{List of fields that are used by the various reference types
+ (blank = not used; \X{} = used;
+ \Y{} = used, but only for citations; \A{} = only used by
+ \pkg{apacann} and \pkg{apacannx}).}
+\label{tab:fieldref}
+\small
+\makebox[0pt]{% some manipulation to squeeze the table onto the page
+\newlength{\oldtabcolsep}
+\setlength{\oldtabcolsep}{\tabcolsep}
+\setlength{\tabcolsep}{2pt}
+\begin{tabular}{@{}l@{}cccccccccc@{}}
+\hline
+ & \multicolumn{10}{c}{Reference type}\\
+ \cline{2-11}
+%
+% Normally, I would use the sideways environment of the rotating
+% package to format this nicely, but I do not want to require
+% other packages to format this document, so I choose an uglier
+% solution here.
+%
+ & article\\
+ & magazine & & & & &
+ & phdthesis
+ &
+ & manual\\
+Field
+ & newspaper & book & incollection & techreport & intechreport & lecture
+ & mastersthesis
+ & unpublished
+ & misc
+ & literal\\
+\hline
+address & &\X&\X&\X&\X&\X&\X&\X&\X& \\
+annote &\A&\A&\A&\A&\A&\A&\A&\A&\A&\A\\
+annotate &\A&\A&\A&\A&\A&\A&\A&\A&\A&\A\\
+author &\X&\X&\X&\X&\X&\X&\X&\X&\X& \\
+booktitle & & &\X& &\X& & & & & \\
+chair & & & & & &\X& & & & \\
+chapter & & &\X& & & & & & & \\
+day &\X& &\X&\X&\X&\X& &\X&\X& \\
+doi &\X&\X&\X&\X&\X&\X&\X&\X&\X&\X\\
+edition & &\X&\X&\X&\X& &\X& &\X& \\
+editor &\X&\X&\X&\X&\X& & &\X&\X& \\
+englishtitle &\X&\X&\X&\X&\X&\X&\X&\X&\X& \\
+firstkey &\Y&\Y&\Y&\Y&\Y&\Y&\Y&\Y&\Y&\Y\\
+howpublished &\X&\X&\X&\X&\X&\X&\X&\X&\X& \\
+institution & & & &\X&\X& & & & & \\
+journal &\X& & & & & &\X& & & \\
+key &\Y&\Y&\Y&\Y&\Y&\Y&\Y&\Y&\Y&\Y\\
+lastchecked &\X&\X&\X&\X&\X&\X&\X&\X&\X& \\
+month &\X& &\X&\X&\X&\X& &\X&\X& \\
+note &\X&\X&\X&\X&\X&\X&\X&\X&\X& \\
+number &\X&\X& &\X&\X& &\X&\X&\X& \\
+organization & & & & & & & &\X& & \\
+originaladdress &\X&\X&\X& &\X& & & & & \\
+originalbooktitle &\X&\X&\X& &\X& & & & & \\
+originaledition &\X&\X&\X& &\X& & & & & \\
+originaleditor &\X&\X&\X& &\X& & & & & \\
+originaljournal &\X&\X&\X& &\X& & & & & \\
+originalnumber &\X&\X&\X& &\X& & & & & \\
+originalpages &\X&\X&\X& &\X& & & & & \\
+originalpublisher &\X&\X&\X& &\X& & & & & \\
+originalvolume &\X&\X&\X& &\X& & & & & \\
+originalyear &\X&\X&\X&\Y&\X&\Y&\X&\Y&\Y&\Y\\
+pages &\X& &\X& &\X& &\X& & & \\
+publisher & &\X&\X& & & & & &\X& \\
+school & & & & & & &\X& & & \\
+series & & & & & & & & & & \\
+symposium & & & & & &\X& & & & \\
+text & & & & & & & & & &\X\\
+title &\X&\X&\X&\X&\X&\X&\X&\X&\X& \\
+translator &\X&\X&\X&\Y&\X&\Y&\Y&\Y&\Y&\Y\\
+type &\X&\X&\X&\X&\X&\X&\X&\X&\X& \\
+url &\X&\X&\X&\X&\X&\X&\X&\X&\X& \\
+urldate &\X&\X&\X&\X&\X&\X&\X&\X&\X& \\
+volume &\X&\X&\X&\X&\X& &\X& &\X& \\
+year &\X&\X&\X&\X&\X&\X&\X&\X&\X&\Y\\
+\hline
+\end{tabular}%
+\setlength{\tabcolsep}{\oldtabcolsep}
+}
+%
+\end{table}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+The following entry types (reference types) are defined in \pkg{apacite}:
+\begin{description}
+ \item[\entryname{article}\LC] \mbox{}\\
+ A journal article or comparable. If the
+ ``article'' referenced to is a special issue of a journal or
+ something else that has editors instead of authors, the
+ \fieldname{author} field should be empty and the \fieldname{editor}
+ field should be used for the editors. If the journal paginates
+ by issue instead of by volume, or when you are referring to a
+ whole special issue, the issue number should be given
+ in the \fieldname{number} field. In all other cases (including
+ referring to an article within a special issue), the
+ \fieldname{number} field must not be used. The \fieldname{type}
+ field can be used to denote the type of article, for example,
+ ``\verb+Letter to the editor+'', or
+ ``\verb+Review of the book \emph{Life in the middle}+''.
+
+ \item[\entryname{magazine}] \mbox{}\\
+ A magazine article. Unlike in early versions of \pkg{apacite},
+ this is now equivalent to \entryname{article}. However, with
+ an \entryname{article}, the \fieldname{month} and \fieldname{day}
+ fields should generally not be used, unless there is a compelling
+ reason to use them. For a magazine, the \fieldname{month}, and
+ \fieldname{day} (for weeklies) fields are commonly used.
+
+ \item[\entryname{newspaper}] \mbox{}\\
+ A newspaper article. This is similar to \entryname{article} and
+ \fieldname{magazine}, except that the pages are formatted a little
+ different, with ``pp.~23--49'' instead of just ``23--49''.
+
+ \item[\entryname{book}\LC] \mbox{}\\
+ An entire book. The \fieldname{type} field can be used
+ to denote a specific type of item (so generally not strictly
+ a book), e.g., ``\verb+Brochure+''. Similarly, the
+ \fieldname{number} field can be used if this is considered
+ useful. (It is used in example 24 in the APA manual, see
+ below.) This seems quite rare to me, however. It should
+ certainly \emph{not} be used for ISBN numbers and the like.
+
+ \item[\entryname{incollection}\LC] \mbox{}\\
+ An article in a (usually edited) book, or other kind of larger
+ work, except a report, for which the \entryname{intechreport}
+ entry is used. The \fieldname{booktitle} field contains the
+ title of the whole collection (book). The \fieldname{type}
+ field is currently used to denote the type of article, as
+ with the \entryname{article} reference type, although in some
+ cases, it may be more naturally to let the \fieldname{type}
+ field contain the type of the whole work (e.g., CD). Therefore,
+ I may change this somewhat in future versions of \pkg{apacite}.
+
+ \item[\entryname{techreport}\LC] \mbox{}\\
+ A report. This may be a ``technical'' report such as published
+ by universities, or a report from government organizations or
+ private companies. The \fieldname{type} field can be used to
+ indicate what kind of report it is, e.g.,
+ ``\verb+College Board Rep.+'' or ``\verb+{DHHS} Publication+''.
+ If the \fieldname{type} field is missing, the default type
+ ``\verb+Tech.\ Rep.\hbox{}+'' is used. (The \verb+\hbox{}+
+ ensures that \TeX{} does not view the period as the end of a
+ sentence, which would insert too much space.) If no type
+ description should
+ be given, \verb+\bibnotype+ should be used as the contents of
+ the \fieldname{type} field. The \fieldname{number} field can
+ be used to give the report number. The organization that
+ published the report should be given in the \fieldname{institution}
+ field.
+
+ \item[\entryname{intechreport}] \mbox{}\\
+ An article in a (usually edited) report. This is more or less
+ a combination of \entryname{incollection} and
+ \entryname{techreport}. It uses the same fields as the former
+ to describe the article itself, except \fieldname{type}, e.g.,
+ \fieldname{booktitle}, which is in this case the title of the
+ entire report,
+ and the same fields as the latter to describe the report.
+ In particular, the \fieldname{type}, \fieldname{number},
+ and \fieldname{institution} fields are used for the report.
+
+ \item[\entryname{lecture}] \mbox{}\\
+ A paper presented at a meeting. According to the APA manual,
+ the year and month should be given, but \pkg{apacite} also
+ uses the \fieldname{day} field when available.
+ The \fieldname{symposium} field can be used for the
+ name of the symposium and the \fieldname{chair} field for the chair of
+ the meeting. The \fieldname{howpublished} field should be used to
+ indicate the occasion at which the paper was presented if the
+ \fieldname{symposium} field is empty, e.g.,
+ ``\texttt{Paper presented at the meeting of the American
+ Professional Society on the Abuse of Children}''.
+ It can also be used to give additional information about
+ the symposium if the \fieldname{symposium} field is not empty.
+
+ \item[\entryname{phdthesis}\LC] \mbox{}\\
+ A doctoral dissertation. The \fieldname{school} field is used
+ to denote the university for which the thesis was written.
+ The \fieldname{type} field can be used for the thesis type,
+ e.g., ``\verb+PhD thesis+''. If it is empty, the default type
+ is used, which is ``\verb+Unpublished doctoral dissertation+''
+ or ``\verb+Doctoral dissertation+'', depending on whether
+ the \fieldname{journal} field is empty or not.
+
+ If the thesis is abstracted in \emph{Dissertation Abstracts
+ International} or similar, then the \fieldname{journal},
+ \fieldname{volume}, \fieldname{number}, and \fieldname{pages} fields
+ can be used as with journal articles. The \fieldname{year} field
+ should denote the year of the ``journal''.
+ The \fieldname{originalyear} field should be used to denote the year
+ of the original thesis, even if it is the same as the year of the
+ abstract, provided that the original thesis is used, and not
+ the abstract. Then, the \fieldname{school} field should also
+ be used, and optionally the \fieldname{type} field. If only
+ the abstract is used, it should presumably be treated as a
+ journal article.
+
+
+ \item[\entryname{mastersthesis}\LC] \mbox{}\\
+ This is equivalent to the \entryname{phdthesis} type, except that
+ the default ``unpublished'' and ``published'' \fieldname{type}s are
+ ``\verb+Unpublished master's thesis+'' and
+ ``\verb+Master's thesis+''.
+
+ \item[\entryname{unpublished}\LC] \mbox{}\\
+ For unpublished manuscripts and similarly ``obscure'' material.
+ The \fieldname{howpublished} field will typically be used to
+ indicate what kind of work is referred to (e.g.,
+ ``\verb+Unpublished manuscript+''). The \fieldname{organization}
+ field can be used to denote the organization in which the document
+ was produced, e.g., ``\texttt{Johns Hopkins University, Center
+ for Social Organization of Schools}''. Note that the larger
+ organization should be given first and the department after that.
+ The address (city and state, etc., see the discussion of the
+ \fieldname{address} field in section~\ref{subsec:fields} below)
+ of the organization should be given in the \fieldname{address}
+ field, unless it is already mentioned in the name of the
+ organization. Presumably, if the organization is
+ ``\verb+University of Groningen+'', the city name ``Groningen''
+ should not be given in the \fieldname{address} field, but
+ the country ``The Netherlands'' should. When both the
+ \fieldname{organization} and the \fieldname{address} field
+ are available, \pkg{apacite} formats these as
+ ``organization, address''. This is different from the
+ usual ``address: publisher'' form. This behavior cannot
+ explicitly be deduced from the 5th edition, nor from the
+ 4th edition, of the APA manual, but the 3rd edition
+ \cite{APAManual3} gives an explicit example (example 53,
+ p.~131): \citeA{APA-3rd-ed-ex53}.
+
+ \item[\entryname{misc}\LC] \mbox{}\\
+ For works that do not fit into the other categories, such as
+ motion pictures, cassette recordings, computer software, etc.
+ The \fieldname{type} field can be used to indicate the type
+ of work, and \pkg{apacite} recognizes a few specific types
+ that should be formatted a little differently, see the discussion
+ of the \fieldname{type} field below. If the \fieldname{address}
+ and \fieldname{publisher} fields are available, the address and
+ publisher part is formatted as with books. The \entryname{unpublished}
+ and \entryname{misc} types are very similar, but there are some
+ differences. For example, \entryname{unpublished} uses the
+ \entryname{organization} field and \entryname{misc} uses the
+ \fieldname{publisher} field, and this part is formatted differently.
+ Further, the \entryname{unpublished} type requires
+ \fieldname{author}, \fieldname{editor}, \fieldname{title}, or
+ \fieldname{type}, whereas with \fieldname{misc},
+ \fieldname{howpublished} takes the first position if these fields
+ are all empty. Finally, as briefly indicated above and discussed
+ in more detail below, \entryname{misc} recognizes some special
+ types in the \fieldname{type} field.
+
+ \item[\entryname{literal}] \mbox{}\\
+ If the other categories do not format the item correctly, this
+ category can be used. The \fieldname{text} field is copied literally
+ to the bibliography. The \fieldname{firstkey}, \fieldname{key},
+ \fieldname{year}, and possibly \fieldname{originalyear} and
+ \fieldname{translator} fields are necessary to get correct
+ in-text citations. However, I have never needed to use this
+ entry type and I think that \entryname{misc} should also
+ be able to format the entry correctly. Furthermore, the
+ correct placement of \entryname{literal} references in the
+ reference list (alphabetizing, sorting), may be problematic.
+
+ \item[\entryname{manual}\LC] \mbox{}\\
+ This is treated as a \entryname{misc}, except that when the
+ \fieldname{type} field is empty, it is assumed to be a
+ \cmd{\bibcomputersoftwaremanual}. See also the description of
+ the \fieldname{type} field below.
+
+ \item[\entryname{booklet}\LC]
+ \item[\entryname{inbook}\LC]
+ \item[\entryname{inproceedings}\LC]
+ \item[\entryname{proceedings}\LC] \mbox{}\\
+ These categories are defined by all standard citation styles. They
+ are, however, not needed for the examples in the APA manual. For
+ compatibility, however, they are included and defined as follows:
+ \entryname{booklet} = \entryname{proceedings} =
+ \entryname{misc}; \entryname{inbook} = \entryname{inproceedings} =
+ \entryname{incollection}. \citeA[p.~230]{KoDa04} also mention
+ \entryname{conference} as being the same as \entryname{inproceedings};
+ for compatibility, this is now supported in \pkg{apacite}.
+\end{description}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\subsection{Fields}
+\label{subsec:fields}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+The following fields can be used to describe a reference in the
+\fname{.bib} file:
+\begin{description}
+
+ \item[\fieldname{address}\LC] \mbox{}\\%
+ The address (usually the city and state or country) of the
+ publisher, school, institution, or organization that published
+ the item or at which the item was produced. The APA manual
+ requires that the state or territory of a U.S.-city must be given
+ in the official two-letter U.S. Postal Services form.
+
+ \item[\fieldname{annote}\LC]
+ \item[\fieldname{annotate}\LC] \mbox{}\\
+ These are used with the \pkg{apacann} and \pkg{apacannx} bibliography
+ styles to generate annotated bibliographies, see
+ section~\ref{sec:annotate}. They are simply ignored without warning by
+ the \pkg{apacite} and \pkg{apacitex} bibliography styles.
+
+ \item[\fieldname{author}\LC] \mbox{}\\
+ The author(s) of the work. This may also be a corporate
+ author when applicable, but some specific measures must
+ then be taken to prevent the corporate name from being
+ interpreted as a first name and last name
+ (such as ``Association, A. P.''):
+\begin{verbatim}
+ author = {{\bibcorporate{American Psychological Association}}},
+\end{verbatim}
+ It is important to surround the \cmd{\bibcorporate}\marg{Author}
+ by an additional pair of braces. Otherwise, \BibTeX{} sorts
+ the entry as if its name was ``Bibcorporate\marg{Author}''.
+ Section~\ref{sec:xmpl} contains more examples.
+
+ As discussed in the standard \BibTeX{} documentation,
+ multiple authors must be separated by the word \verb+and+,
+ and each author's name can either be given in the form
+ ``\opt{firstnames}\verb+ +\opt{lastnames}'' or
+ ``\opt{lastnames}\verb+, +\opt{firstnames}''. However,
+ ``von'' parts and ``junior'' parts complicate issues
+ a bit. See the examples and the discussion of them.
+
+ I would generally give the full first name(s) in the \fname{.bib}
+ file, even though the APA manual only requires initials,
+ because other styles require full first name(s) and
+ \pkg{apacite} abbreviates to initials automatically.
+ I have done this only occasionally with the examples,
+ because the APA manual only gives the initials.
+ Therefore, I have only provided first names with a few
+ examples for which I knew the authors' first names.
+
+ Previous versions of the APA manual required that, if there
+ are more than six authors, only the first six should be named
+ in the reference list, followed by ``et al.'', which allowed
+ one to include only the first six plus ``|and others|'' in the
+ \fname{.bib} file. In the 6th edition, however, the APA changed
+ this. Now, when there are up to seven authors, they should
+ all be listed, but with eight or more, the first six should
+ be listed, plus dots (\ldots), plus the last author. Therefore,
+ ``|and others|'' should not be used anymore in the \fname{.bib}
+ file. (It was already discouraged in earlier versions of the
+ \pkg{apacite} documentation.) Thus, one should list all authors
+ in the \fname{.bib} file.
+
+ \item[\fieldname{booktitle}\LC] \mbox{}\\
+ The title of the larger work, typically book, but sometimes
+ something else, like a report, in which the referenced item
+ (article) was published.
+
+ \item[\fieldname{chair}] \mbox{}\\
+ The chair(s) of a symposium or meeting. Used for lectures.
+ It is formatted the same way as editors.
+
+ \item[\fieldname{chapter}\LC] \mbox{}\\
+ The chapter number if the referenced item is a chapter in
+ a larger collection. Typically used if the referenced work
+ is a chapter in an internet document. If the collection is
+ a book, page numbers (in the \fieldname{pages} field)
+ should be used instead according to the APA rules.
+
+ \item[\fieldname{crossref}\LC] \mbox{}\\
+ The \pkg{apacite} package does not recognize this field,
+ because the APA manual does not discuss explicit
+ cross-referencing. If the referenced work is a chapter
+ (article) in an edited book, all relevant information
+ should be given in the reference list as part of the
+ information about the referenced chapter, not as, e.g.,
+ ``In Wainrib (1992)''. If several chapters from the
+ book edited by Wainrib are referenced, the same information
+ about this book is given with each referenced chapter,
+ and the work itself is not a separate entry in the reference
+ list (unless it is explicitly referred to).
+
+ However, the \fieldname{crossref} field
+ \emph{can} be used, as part of standard \BibTeX{} usage.
+ Missing fields for the referenced work are then copied from
+ the cross-referenced entry, which must come \emph{after}
+ the referring entry in the \fname{.bib} file. If you use
+ this, remember to put the title of the book (also) in the
+ \fieldname{booktitle} field, because the \fieldname{title}
+ field of the referring entry is not empty (it contains
+ the chapter title).
+
+ I have not tested cross-referencing in detail, so I do not
+ know whether it behaves well (i.e., complies with the implicit
+ or explicit APA rules) under various circumstances.
+ Therefore, I do not recommend using it without thorough
+ testing.
+
+ \item[\fieldname{day}] \mbox{}\\
+ The day of the month on which the referenced item was published,
+ produced, or presented. Mainly used for articles in daily or
+ weekly magazines or newspapers, for lectures (although the
+ APA manual only specifies the month), and electronic documents.
+
+ \item[\fieldname{doi}] \mbox{}\\
+ Digital object identifier (DOI). The 6th edition of the APA manual
+ asks authors to supply this whenever available.
+
+ \item[\fieldname{edition}\LC] \mbox{}\\
+ The edition of the book or report. Traditionally, this is of the
+ form ``1st'', ``2nd'', ``3rd'', etc., or ``Rev.'' for a revised edition.
+ This form is still supported, but \pkg{apacite} now also supports
+ the form in which only the number is given: ``1'', ``2'', etc.
+ If \pkg{apacite} detects that only a number is given, it inserts
+ ``\cmd{\PrintOrdinal}\marg{number}'' in the \fname{.bbl} file.
+ This \LaTeX{} function converts the number again to ``1st'', etc.
+ The advantage of this is that the same bibliography database can be
+ used for documents in different languages: In the language-specific
+ (\fname{.apc}) files supplied with \pkg{apacite},
+ \cmd{\PrintOrdinal} is redefined according to the document
+ language.
+
+ \item[\fieldname{editor}\LC] \mbox{}\\
+ The editor(s) of a book, report, or special issue of a journal.
+ In the examples, this field is also ``misused'' for the
+ producer of a television series.
+
+ \item[\fieldname{englishtitle}] \mbox{}\\
+ The English translation of the title of an item with a non-English
+ title. The APA manual requires that if the referenced work has a
+ non-English title, an English translation should be given as well. For
+ an article in a journal with a non-English name or in a book with a
+ non-English title, the journal name or book title should not be
+ translated or put in this field, only the title of the referenced work
+ itself must be translated. Because, as of version
+ \APACversiondate{2005/06/01}, \pkg{apacite} contains some support of
+ other languages for the main document (see
+ section~\ref{sec:compat-babel}), this field needs rethinking, which
+ will be deferred to a future version (but, as always, suggestions
+ are welcome).
+
+ \item[\fieldname{firstkey}] \mbox{}\\
+ The \fieldname{firstkey} field, if not empty, is used as
+ ``author'' for the first citation to an item. Subsequent citations
+ then use the \fieldname{key} field. This can be used if there is
+ no author or editor field that can be used for citations, or in
+ certain cases with corporate authors, where the citation in the
+ text uses an abbreviation of the author's name for second and
+ subsequent citations, where the abbreviation is introduced in the
+ first citation. It can also be used to ``trick'' the system
+ in difficult cases. See also \fieldname{key}.
+
+ \item[\fieldname{howpublished}\LC] \mbox{}\\
+ A description of how something was ``published''. For example,
+ ``Unpublished manuscript'' or ``Paper presented at the meeting
+ of the American Professional Society on the Abuse of Children''.
+ Also used for more retrieval information about electronic
+ documents, e.g., ``Retrieved November 19, 2000, from the
+ PsycARTICLES database'', or
+\begin{verbatim}
+ howpublished = {Retrieved August 24, 2000, from Columbia University,
+ Institute for Learning Technologies Web site:
+ \url{http://www.ilt.columbia.edu/
+ publications/papers/newwine1.html}\bibnodot{.}}
+\end{verbatim}
+ However, if the retrieval information consists only of a
+ date and/or a URL, it is better to use the \fieldname{lastchecked}
+ and \fieldname{url} fields for this and let \pkg{apacite}
+ format this information. See also the \fieldname{note} field
+ for an alternative to the \fieldname{howpublished} field.
+
+ \item[\fieldname{institution}\LC] \mbox{}\\
+ The institution, university, or company that published a
+ (technical) report.
+
+ \item[\fieldname{journal}\LC] \mbox{}\\
+ The journal, magazine, newspaper, etc.{} in which an
+ article, a review, or an abstract of a thesis was published.
+
+ \item[\fieldname{key}\LC] \mbox{}\\
+ See \fieldname{firstkey}. The \fieldname{key} field, if not
+ empty, is used for second and subsequent citations, or all citations
+ if \fieldname{firstkey} is missing. If \fieldname{author} is
+ empty and \fieldname{editor} is empty or can not be used as
+ author (e.g., in \entryname{incollection}), the \fieldname{key}
+ field may be necessary to obtain a useful citation. This is
+ so, because the APA manual requires an abbreviation of the
+ title as in-text citation, and the abbreviation must be
+ sensible. In the current version, \pkg{apacite} uses the
+ whole title if \fieldname{firstkey} and \fieldname{key} are missing.
+ Therefore, if the title is considered too long to use in citations,
+ the user must provide an abbreviation in the \fieldname{key} field.
+ Furthermore, the user must then also define the formatting:
+ If the key is used for a difficult kind of author (e.g.,
+ corporate author), it should be formatted as an author,
+ i.e., in plain text, with names capitalized.
+ If the key is used for an abbreviation of an article
+ title, it should be in plain text, with major words capitalized
+ (unlike in the reference list), and between double quotes
+ (`` and ''; also unlike in the reference list).
+ If the key is used for an abbreviation of a book title, it
+ should be emphasized, with major words capitalized
+ (unlike in the reference list), but not between quotes.
+
+ In a field in the \fname{.bib} file that is also
+ used for the citations, such as the \fieldname{key} field,
+ formatting through, e.g.,
+\begin{verbatim}
+ key = {{\itshape Text}},
+ key = {{\em Text\/}},
+\end{verbatim}
+ can be done (note the extra pair of braces!), but the
+ seemingly more logical variations
+\begin{verbatim}
+ key = {\textit{Text}},
+ key = {{\textit{Text}}},
+ key = {\emph{Text}},
+ key = {{\emph{Text}}},
+\end{verbatim}
+ do not work.
+ However, it is generally preferable to use as less explicit
+ formatting in the \fname{.bib} files as possible, because this
+ decreases the possibilities of successfully using the
+ same \fname{.bib} file with other styles. The following works
+ excellent:
+\begin{verbatim}
+ key = {{\APACcitebtitle{Text}}},
+\end{verbatim}
+ where the \cmd{\APACcitebtitle} macro recognizes that the argument
+ should be formatted as a booktitle (i.e., in italics according to the
+ APA rules). This macro, and its companion \cmd{\APACciteatitle} for
+ article title formatting, are used by \pkg{apacite} if the
+ \fieldname{firstkey} and \fieldname{key} fields are missing,
+ but can also be used by the user. Note that if you use such a
+ \fname{.bib} file with another style, you have to provide
+ definitions of these macros yourself (which can be copied from
+ the \pkg{apacite} source code).
+
+ \emph{Warning:} the \fieldname{key} field, which acts
+ as a kind of pseudo-author, should not be confused with the
+ (citation) \opt{key} that is used to match citations with
+ entries in a \fname{.bib} file.
+
+ \item[\fieldname{lastchecked}] \mbox{}\\
+ The date on which a web page was last visited. Only used in
+ combination with the \fieldname{url} field. Currently,
+ \pkg{apacite} does not contain language-specific code to
+ dissect this date, but copies its contents literally to the
+ \fname{.bbl} file. Hence, if you intend to use the same
+ bibliography database for documents in different languages,
+ you may have to use a self-defined command for this. You can
+ use the \pkg{apacite} commands \cmd{\APACrefYearMonthDay}
+ and \cmd{\APACmonth} as templates for this. I will probably
+ provide such a facility in a future version of \pkg{apacite}.
+
+ \item[\fieldname{month}\LC] \mbox{}\\
+ The month something was published. Mainly used for
+ magazine or newspaper articles, lectures, and electronic documents.
+ Use the month macros \verb+jan+, \verb+feb+, etc. These are
+ predefined strings in the \fname{.bst} files, reverting to
+ ``\verb+{\APACmonth{01}}+'', etc. You can also use the additional
+ macros \verb+winter+, \verb+spring+, \verb+summer+, and \verb+fall+,
+ which the \fname{.bst} files translate into
+ ``\verb+{\APACmonth{13}}+''--``\verb+{\APACmonth{16}}+''.
+ The \cmd{\APACmonth} command translates the numbers to the month or
+ season names. This system allows language-specific behavior at
+ the \LaTeX{} stage.
+
+ \item[\fieldname{note}\LC] \mbox{}\\
+ A note. This puts additional information between parentheses
+ at the end of a reference list entry. In the examples from
+ the APA manual, it is used for NTIS No., ERIC No., and UMI No.,
+ and for notes about how to obtain the work
+ (``Available from \opt{organization}, \opt{full address}'').
+ If however, the work has been obtained from the internet
+ or from an ``aggregated database'', then the
+ \fieldname{howpublished} or \fieldname{url} field should be
+ used, because it should not be between parentheses then.
+
+ Finally, the \fieldname{note} field is used to give the
+ recording date (i.e., year) of a song when this is different
+ from the date (year) of copyright. The latter should be
+ put in the \fieldname{year} field.
+
+ Do not use the \fieldname{note} field to denote the original
+ publication of a reprint or translation, because the
+ \fieldname{originalyear} field must be used in those cases to
+ obtain the correct citation in the text \cite<e.g.,>{ex39}.
+
+ \item[\fieldname{number}\LC] \mbox{}\\
+ The number of a journal issue or a report. This can be quite
+ complex, for example, ``\verb+PRM~92-01+'', or
+ ``\verb+3, Pt.~2+'', or ``\verb+1, Serial No.~231+''.
+ These latter examples imply that the generality (language and
+ style independence) of the \fname{.bib} file is somewhat lost.
+ Furthermore, if the journal paginates by year and not by issue,
+ the issue number should not be mentioned at all (except when
+ referring to a whole special issue). Of course, \pkg{apacite}
+ does not know whether the journal paginates by issue or by year.
+ If the \fieldname{number} field is available, \pkg{apacite}
+ simply assumes that it should be included. It is the user's
+ responsibility to ensure that this is indeed the case.
+
+ \item[\fieldname{organization}\LC] \mbox{}\\
+ Used for the \entryname{unpublished} reference type to denote
+ the organization in which the unpublished work was produced.
+
+ \item[\fieldname{originaladdress}]
+ \item[\fieldname{originalbooktitle}]
+ \item[\fieldname{originaledition}]
+ \item[\fieldname{originaleditor}]
+ \item[\fieldname{originaljournal}]
+ \item[\fieldname{originalnumber}]
+ \item[\fieldname{originalpages}]
+ \item[\fieldname{originalpublisher}]
+ \item[\fieldname{originalvolume}]
+ \item[\fieldname{originalyear}] \mbox{}\\
+ These (\fieldname{original*-}) fields have the same
+ meaning as their counterparts without the ``original'' prefix,
+ except that they refer to the book or journal in which the
+ work was originally published. This can be used in referring to
+ translations or reprints of articles in journals or books. If the
+ original work is a book or other ``standalone'' work,
+ only the \fieldname{originalyear} field should be used. If the
+ original work is a (PhD or Master's) thesis that is also abstracted
+ in \emph{Dissertation Abstracts International},
+ \emph{Masters Abstracts International}, or comparable, the
+ \fieldname{originalyear} field should be used to denote the year
+ of the dissertation and the \fieldname{year} field to
+ denote the year of publication of the abstract, even if they
+ are the same.
+
+ \item[\fieldname{pages}\LC] \mbox{}\\
+ The (inclusive) page numbers of the article that is referred to,
+ in the journal or book in which it was published. If a range of
+ pages is given (which is usually the case), an en-dash should
+ be used: ``\verb+29--43+''. Other styles sometimes allow a
+ single hyphen (``\verb+29-43+''), which is then automatically
+ formatted as an en-dash (``29--43''), rather than as a hyphen
+ (``29-43''), but I have encountered situations, such as software
+ manuals (LISREL) and reports for the U.S. Government, in which
+ the page number was of the form ``II-3'',
+ meaning page~3 of chapter~2. In such a situation, you may
+ get page numbers like ``II-1--II-15'', where the distinction
+ between a hyphen and an en-dash becomes important. Therefore,
+ \pkg{apacite} does not perform such automatic transformations.
+
+ \item[\fieldname{publisher}\LC] \mbox{}\\
+ The publisher of the item. Primarily used for books.
+
+ \item[\fieldname{school}\LC] \mbox{}\\
+ The school or university for which a PhD thesis or
+ master's thesis was written.
+
+ \item[\fieldname{series}\LC] \mbox{}\\
+ Not used, although the APA manual has a rule for series.
+ If you refer to a volume in a series, the series title,
+ volume number, and volume title should be joined into
+ a two-part title , e.g., \emph{Handbook of child psychology:
+ Vol.~4. Socialization, personality, and social development},
+ see ex.~36. In \pkg{apacite} this whole part must be put in
+ the \fieldname{title} or \fieldname{booktitle} field
+ (whichever is appropriate).
+
+ For a long time, I have intended to support the
+ \fieldname{series} field to allow disentangling such
+ situations. However, in the end, I have decided not to
+ do this. The reason for this is that, according to my
+ interpretation, the meaning of ``series'' in the APA manual
+ is quite different from the meaning of the \fieldname{series}
+ field, as intended by Oren Patashnik (the author of \BibTeX{}
+ and the original style files). Many books are published in
+ some sort of series. For example, my book with Tom Wansbeek
+ \cite{WaMe00}, is vol.~37 in the \emph{Advanced Textbooks
+ in Economics} series, of which the series editors are
+ C.~J. Bliss and M.~D. Intriligator. The intention of the
+ \fieldname{series} field is to generate a reference list entry
+ like
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{list}{\relax}{\labelsep=0em%
+ \parsep=0pt%
+ \itemsep=0pt plus .3pt\relax%
+ \leftmargin=2.5em%
+ \itemindent=-2.5em}%
+\sloppy\clubpenalty4000\widowpenalty4000
+\sfcode`\.=1000\relax
+\item
+Wansbeek, T., \& Meijer, E.
+\unskip\ \hskip .11em plus .33em minus .07em
+(2000).
+\unskip\ \hskip .11em plus .33em minus .07em
+\Bem{Measurement error and latent variables in econometrics}
+(Advanced Textbooks in Economics No.~37).
+\unskip\ \hskip .11em plus .33em minus .07em
+Amsterdam: North-Holland.
+\end{list}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ In economics (and often in psychology, I guess), mentioning
+ the series usually does not add much relevant information,
+ and it is therefore typically omitted. I think this is how
+ the APA intends it as well. However, in computer science, it
+ is often very convenient, because certain series, like Springer's
+ \emph{Lecture Notes in Computer Science} (LNCS) have a certain
+ status of their own, and researchers know how to find volumes
+ in this series.
+
+ In my interpretation, the APA ``series'' refers to a single
+ multivolume work with separate editors for the constituent
+ volumes, but with a series editor who initiates the whole
+ series. In the example from the APA manual, the
+ \emph{Handbook of child psychology} is not a loose collection
+ of separate books by different authors, but a combined effort
+ managed by the series editor to give an overview of the field.
+ In this case, the series editor may be considered the primary
+ author and it makes sense to have the different volumes of the
+ series together in the reference list. With my book with
+ Tom Wansbeek, the series editors act more like journal editors,
+ and different volumes of the series are unrelated books that
+ do not need to be gathered together in the reference list.
+ It would make no sense to cite this book as
+ ``Bliss, Intriligator, Wansbeek, \& Meijer (2000)''.
+
+ Because in my interpretation, the usual meaning of the
+ \fieldname{series} field should not be included in the
+ reference list according to the APA rules, \pkg{apacite}
+ ignores the \fieldname{series} field. Perhaps I'll
+ implement the APA manual ``series'' rules by introducing
+ a \fieldname{volumetitle} field, but this will further reduce
+ compatibility with other citation styles.
+
+ \item[\fieldname{symposium}] \mbox{}\\
+ The name of the symposium or meeting at which a
+ lecture was given. This is typically used for the
+ construction ``In \opt{chair} (Chair), \opt{symposium}'',
+ see ex.~51. I have never used it myself, however,
+ I always use the ``Paper presented \dots'' form,
+ which puts this information in the \fieldname{howpublished}
+ field.
+
+ \item[\fieldname{text}] \mbox{}\\
+ Used for items of type \entryname{literal}. This field contains
+ the complete literal text to be used in the bibliography.
+ I've never used it.
+
+ \item[\fieldname{title}\LC] \mbox{}\\
+ The title of the work.
+
+ \item[\fieldname{translator}] \mbox{}\\
+ The translator of a book or article. This should
+ be formatted in the same way as \fieldname{author} and
+ \fieldname{editor}. If the \fieldname{translator} and
+ \fieldname{editor} fields are identical, they are
+ formatted as if there were only an editor, except that the
+ editor receives the suffix ``(Ed. \& Trans.)'' instead of
+ just ``(Ed.)'', or similarly if there is more than 1 editor.
+
+ \item[\fieldname{type}\LC] \mbox{}\\
+ The type of \entryname{phdthesis} (e.g.,
+ ``Doctoral dissertation''), type of \entryname{article}
+ (e.g., ``Letter to the editor''), type of \entryname{techreport}
+ (e.g., ``DHHS Publication''), type of \entryname{book}
+ (e.g., ``Brochure''), type of \entryname{misc}
+ (e.g., ``Cassette recording''), and so forth.
+
+ With a review (which is typically an \entryname{article}),
+ the \fieldname{type} field contains a lot of information
+ and formatting, e.g.:
+\begin{verbatim}
+ type = {Review of the book {\APACcitebtitle{Life in the middle:
+ Psychological and social development in middle age}}},
+\end{verbatim}
+ where I used the \cmd{\APACcitebtitle} command introduced above in
+ the discussion of the \fieldname{key} field.
+
+ In one of the APA manual examples, I used the \fieldname{type}
+ field to give a description of the subject of an unpublished
+ raw data file (``Auditory response latencies in rat auditory
+ cortex''), leaving the \fieldname{title} field blank.
+
+ For most reference types, if the \fieldname{type} field
+ is missing, it is simply ignored and no type description
+ is given. For a \entryname{techreport}, however, if the
+ \fieldname{type} field is missing, the default type
+ (``Tech.\ Rep.\hbox{}'') is inserted. In ex.~42 of the APA manual,
+ a report without a type description is given. To make it
+ possible to format a report successfully without a
+ type description, \pkg{apacite} recognizes
+\begin{verbatim}
+ type = {\bibnotype},
+\end{verbatim}
+ indicating that there should be no type description.
+
+ Another special purpose use of the \fieldname{type}
+ field is for a computer program, software, programming
+ language and/or manual. These are put into a \entryname{misc}
+ entry, but unlike other \entryname{misc} types (such as
+ motion pictures) the titles of these types should not
+ be italicized. This is now recognized by \pkg{apacite}
+ in the following way: When referring to a computer program,
+ software, programming language and/or manual, you should
+ use the \entryname{misc} reference type with
+ one of the following commands in the \fieldname{type} field:\\
+ \cmd{\bibcomputerprogram},\\
+ \cmd{\bibcomputerprogrammanual},\\
+ \cmd{\bibcomputerprogramandmanual},\\
+ \cmd{\bibcomputersoftware},\\
+ \cmd{\bibcomputersoftwaremanual},\\
+ \cmd{\bibcomputersoftwareandmanual}, or\\
+ \cmd{\bibprogramminglanguage}.\\
+ Using any of these commands as type designator of a
+ \entryname{misc} entry ensures that the title is not italicized,
+ as required. The \entryname{manual} entry is now equal to
+ \entryname{misc} with default type \cmd{\bibcomputersoftwaremanual}
+ if the \fieldname{type} field is empty.
+
+ Similarly, if you refer to a message that has been posted to
+ a newsgroup, internet forum, etc., you should use the
+ \entryname{misc} reference type with \cmd{\bibmessage} as
+ \fieldname{type} field.
+
+ \item[\fieldname{url}] \mbox{}\\
+ The web address of a document. Used if the cited document (or
+ other work) is a website or was obtained from a website. Long
+ web addresses can cause problems, because \BibTeX{} splits long
+ lines (more than 80 characters) in the \fname{.bbl} file and inserts
+ a \TeX{} comment (percent sign). In most situations, this works fine,
+ because the percent sign ``hides'' the line break, which would be
+ processed as an undesired space by \TeX{}. But within the argument of
+ a \cmd{\url} command, a percent sign is copied to the output, because
+ it is a valid character in a URL. To prevent this problem, insert
+ line breaks and/or spaces in the URL in the \fname{.bib} file:
+\begin{verbatim}
+ url = {ftp://ftp.princeton.edu/harnad/Psycoloquy/
+ 2000.volume.11/psyc.00.11.001.
+ language-sex-chromosomes.1.crow},
+\end{verbatim}
+ Then \BibTeX{} breaks lines at the spaces/line breaks if a line
+ break in the output is considered necessary (but not otherwise).
+ These spaces are suppressed by default in the output, which is usually
+ the desired behavior. But see the \pkg{hyperref} and \pkg{url}
+ documentation if you want this differently. Also note that in the
+ \fieldname{url} field, special characters like `|%|'
+ and `|#|' should be entered without a backslash, unlike the normal
+ situation if they would be used in the text.
+
+ \item[\fieldname{urldate}] \mbox{}\\
+ See \fieldname{lastchecked}. This one is apparently defined in the
+ \pkg{jurabib} package. It is unfortunate that different packages define
+ different fields for the same function.
+
+ \item[\fieldname{volume}\LC] \mbox{}\\
+ The volume or volumes of the referenced book(s) or
+ of the book in which the referenced article was published,
+ or the volume of the journal (magazine, newspaper, \ldots)
+ in which the referenced article was published.
+
+ \item[\fieldname{year}\LC] \mbox{}\\
+ The year in which the referenced item was published, or
+ if it was not published, the year in which it was written
+ or presented. For manuscripts or books that are accepted
+ for publication but have not yet been published, ``in press''
+ should be used according to the APA rules. The best way to do
+ this is to use the ``\cmd{\BIP}'' command, which can be redefined
+ by the user if the language or editorial style requires
+ something else than ``in press''. Furthermore, \cmd{\BIP}
+ is recognized by \pkg{apacite} and treated a little differently,
+ because for multiple ``in press'' references with the same
+ author(s), a hyphen (``-'') should be inserted between the
+ ``year'' (i.e., ``in press'') and the ``a'', ``b'', etc., that
+ follow it to distinguish the works, whereas this hyphen must
+ be omitted if the ``year'' is an ordinary year (1991a, 1991b).
+
+ If no date is explicitly given in (or on) the referenced work,
+ a ``n.d.'' (no date) should be given as year description.
+ For this, \pkg{apacite} supports the \cmd{\bibnodate}
+ command. This sometimes leads to different formatting as well,
+ e.g., by referencing a translation of a work of which there
+ is no original date. Then the \fieldname{originalyear}
+ field should be \cmd{\bibnodate} and the \fieldname{year} field
+ is then, e.g., \verb+1931+. If the \fieldname{translator}
+ field is not empty, the citation in the text is then formatted
+ as, e.g., ``\citeA{3.100-2}''.
+\end{description}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\subsection{Overriding the default sorting orders}
+\label{subsec:sort}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+Occasionally, it may be necessary to override \BibTeX's default sorting.
+For example, the way \BibTeX{} handles accents and other nonstandard
+characters, which is typically fine for documents in English, may
+not be acceptable for documents in other languages:
+``\verb+\"{u}+'' is treated as ``\verb+u+'', ``\verb+\ss+'' is treated as
+``\verb+ss+'', and ``\verb+\ae+'' is treated as ``\verb+ae+''.
+In non-English languages this sorting may not be appropriate and one
+may desire that ``\verb+\"{u}+'' is treated as ``\verb+ue+''.
+Numerous problems are caused by different conventions in different languages.
+Some examples are given in the documentation of the \textsf{amsrefs}
+package. Non-latin scripts (Greek, Hebrew, Arabic, Chinese, etc.) may not be
+handled correctly as well. I am not able to judge this, nor does it seem
+to be a problem that must be solved in \textsf{apacite}. It has been
+announced that \BibTeX~1.0, when it will be released, will support
+non-English languages as well.
+
+An issue that occurs in English (APA) documents is that, according to
+the APA, numbers should be sorted as if they were spelled in words:
+``2003'' must be sorted as if it says ``\mbox{twothousandandthree}'';
+see example~4.04 in section~\ref{sec:xmpl} below.
+
+\DescribeMacro{\APACSortNoop}
+Overriding the default sorting order can be done by using the
+\cmd{\APACSortNoop} command in the \fname{.bib} file. This is a \LaTeX{}
+command provided by \pkg{apacite}. It has one mandatory argument, but it
+outputs nothing. However, \BibTeX{} does not know this and uses the
+contents of this command to sort the entry. For example,
+\begin{verbatim}
+ author = {M{\"{u}}ller, Gerd},
+\end{verbatim}
+is sorted as ``\verb*+muller g+'', whereas
+\begin{verbatim}
+ author = {{\APACSortNoop{Mueller}}M{\"{u}}ller, Gerd},
+\end{verbatim}
+is sorted as ``\verb*+muellermuller g+'', which typically results
+in the correct ordering. In the typeset document, both look like
+``M{\"{u}}ller''. Note that the extra pair of braces around the
+\cmd{\APACSortNoop} command are necessary to suggest to \BibTeX{}
+that it is an ``accent''. The specification
+\begin{verbatim}
+ author = {\APACSortNoop{Mueller}M{\"{u}}ller, Gerd},
+\end{verbatim}
+is sorted as ``\verb*+apacsortnoopmuellermuller g+'', which is
+incorrect.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\section{Customization}
+\label{sec:custom}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+The description in the previous sections, with the exception of
+section~\ref{sec:options}, primarily discussed the default behavior of
+\pkg{apacite}. However, as mentioned in the introduction, in addition to the
+options, \pkg{apacite} offers many possibilities for customization. Most
+punctuation used in the citations and reference list are implemented through
+\LaTeX{} commands instead of explicit symbols. Consequently, the user can
+fine-tune the behavior of \pkg{apacite} by redefining these commands, through
+\cmd{\renewcommand} after \pkg{apacite} has been loaded. Analogously, most
+fixed texts, like ``Tech.\ Rep.\hbox{}'' and ``Eds.\hbox{}'' are implemented
+through \LaTeX{} commands as well, and can similarly be changed by the user.
+The commands used by \pkg{apacite} are discussed in this section. Of course,
+the defaults are based on the rules of the APA manual.
+
+Some commands, predominantly punctuation, are used both in citations and in
+the reference list. If you want their definitions in citations to be different
+from their definitions in the reference list, you can simply redefine their
+definitions before starting the bibliography.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\subsection{Punctuation and small formatting issues}
+\label{sec:custom-punct}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+The following punctuation commands are provided and used for
+the citations and reference list.
+
+\DescribeMacro{\BAstyle}
+\DescribeMacro{\BAastyle}
+\cmd{\BAstyle} defines the text style of the authors (or whatever
+takes their place) for an in-text citation. It defaults to nothing:
+The authors use the same fonts as the text surrounding it. Introduced
+because some journals use a different style. For example,
+\emph{Statistica Neerlandica} uses small caps, so for that journal,
+you would define
+\begin{verbatim}
+\renewcommand{\BAstyle}{\scshape}
+\end{verbatim}
+Do not use the \cmd{\textsc}-type commands, but \cmd{\scshape},
+\cmd{\bfseries}, and so forth. The \cmd{\BAstyle} command is used for
+the author part by the \pkgoption{apaciteclassic} citation commands,
+except the author-only citation commands. \cmd{\BAastyle} is the same
+as \cmd{\BAstyle}, except that \cmd{\BAastyle} is used for the
+author-only citation commands.
+
+\DescribeMacro{\APACrefauthstyle}
+\cmd{\APACrefauthstyle} is similar to \cmd{\BAstyle}, except
+that this one is used for formatting authors in the reference list.
+In the current implementation, it also applies to editors in the
+author position, but not to editors in the editor position and
+not to titles and other elements that take the position of authors
+if there are no authors and editors.
+
+\DescribeMacro{\BBAA}
+\DescribeMacro{\BBAB}
+\DescribeMacro{\BAnd}
+\cmd{\BBAA} is the ``and'' between authors in a parenthetical
+citation and in the reference list, as in
+``(Mooijaart \& Bentler, 1986)'' or ``Mooijaart, A., \&
+Bentler, P.~M. (1986).''. Its default is ``\&''.
+\cmd{\BBAB} is the same ``and'' in a text citation, as in
+``Mooijaart and Bentler (1986)''. Its default is ``and''.
+The third ``and'', \cmd{\BAnd}, is used in the reference list
+if someone is both editor and translator:
+``In J. Strachey (Ed. \& Trans.),''. Default is ``\&''.
+
+\DescribeMacro{\BBOP}
+\DescribeMacro{\BBCP}
+\cmd{\BBOP} (opening parenthesis) and \cmd{\BBCP} (closing parenthesis)
+are used for the parentheses in a citation, as in ``(Rao, 1973)'' or
+``Rao (1973)'', and the year in the reference list, as in
+``Rao, C.~R. (1973).'' By default, they are round parentheses
+``('' and ``)''.
+
+\DescribeMacro{\BAP}
+\cmd{\BAP} is inserted after the prefix and before the first citation
+in a parenthetical citation. It defaults to an ordinary space. Note
+that if the prefix ends with a period, \TeX{} interprets this as a
+sentence ending and typically inserts a larger space, which is often
+not desirable. The standard way to avoid this would be to insert an
+explicit space (``|\ |''), but this does not work in a prefix. The
+solution is to insert an empty |\hbox{}| after the period:
+|\cite<cf.\hbox{}>{Jone01}|.
+
+\DescribeMacro{\BBAY}
+\DescribeMacro{\BBYY}
+\DescribeMacro{\BBN}
+\cmd{\BBAY} is the punctuation between author(s) and year in a
+parenthetical citation, as in ``(Rao, 1973)''. \cmd{\BBYY} is the
+punctuation between two subsequent years, if two works by the same
+author(s) are referenced in a single citation command, as in
+``(Rao, 1965, 1973)'' or ``Rao (1965, 1973)''. \cmd{\BBN} is the
+punctuation before a note (postfix) after a citation, as in
+``(Rao, 1973, p.~25)''. Default for all three is a comma and a
+space (``, '').
+
+\DescribeMacro{\BBC}
+\cmd{\BBC} is the punctuation between multiple cites, as in
+``(Rao, 1973; Mooijaart \& Bentler, 1986)''. Default is a semicolon
+and a space (``; '').
+
+\DescribeMacro{\BBOQ}
+\DescribeMacro{\BBCQ}
+\cmd{\BBOQ} (opening quote) and \cmd{\BBCQ} (closing quote) are the
+quotes around an article title in the reference list, for example the
+double quotes in ``Random polynomial factor analysis.'' Default is
+the empty string: no quotes are used. (The \pkg{theapa} package
+required the closing period to be part of the closing quote, but this
+has been changed, because the period must be left out if title
+comments, such as type, English translation of non-English title, or
+translator follow the title.)
+
+\DescribeMacro{\BPBI}
+\cmd{\BPBI} is the period between initials. Default is a period and a
+non-breaking space (``.~''), as required by the APA manual. However,
+many users prefer removing or reducing the space and in some
+non-English speaking countries this is customary. This can be achieved
+by redefining this command to, for example, just a period (no space),
+or ``|.\,|'' (small space). This command cannot be used to remove
+periods altogether, because there is still a period at the end. That
+is, redefining it as an empty string gives awkward results like
+``Bentler, PM., \& Mooijaart, A.''.
+
+\DescribeMacro{\BHBI}
+\cmd{\BHBI} is the hyphen between initials. Introduced for analogy with
+\cmd{\BPBI} and used for authors who have two or more first names
+with a hyphen between them, e.g., Jean-Paul Sartre. Default is
+a period and a hyphen. Unlike \cmd{\BPBI}, I think this one will not be
+changed often, although \BibTeX{} suppresses hyphens when it suppresses
+spaces between initials as well, so there are people who have different
+preferences. (Hence, \pkg{apacite} partly bypasses the standard
+\BibTeX{} formatting functions to make this work.)
+
+\DescribeMacro{\BCBT}
+\DescribeMacro{\BCBL}
+\cmd{\BCBT} is the comma between authors in the reference section when
+there are two authors, as in
+``Mooijaart, A., \& Bentler, P.~M. (1986).'' The comma after the ``A.''
+is this one. Default is a comma. The APA manual requires it, but other
+styles leave out this comma. In such a case, you would redefine this
+``comma'' to be the empty string:
+\begin{verbatim}
+\renewcommand{\BCBT}{}
+\end{verbatim}
+Analogously, \cmd{\BCBL} is the comma before the last author when there
+are three or more authors in a citation and in the reference section,
+as in ``(Gill, Murray, \& Wright, 1981)'' or
+``Gill, P.~E., Murray, W., \& Wright, M.~H. (1981).'' Its default is
+also a comma, as required by the APA manual, which is standard U.S.
+usage. Other styles, particularly European, such as British English,
+omit this comma. Again, in such a case, you would redefine this
+``comma'' to be the empty string. (This is in fact done in several of
+the language files. See section~\ref{sec:compat-babel}.)
+
+\DescribeMacro{\BDBL}
+\cmd{\BDBL} is the dots before the last author in the reference
+section when the reference has more than seven authors. The default
+is ``|, \dots{} |''. The APA manual seems to imply that there
+shouldn't be space around the dots, but I think it's better to have
+the space and I assume editors won't mind. However, if they insist on
+removing the space, you can redefine \cmd{\BDBL} accordingly.
+
+\DescribeMacro{\theBibCnt}
+\DescribeMacro{\BCnt}
+\DescribeMacro{\BCntIP}
+\DescribeMacro{\BCntND}
+If there are multiple citations with the same author and year, a
+letter should be added to the year to distinguish the references.
+For example, one may refer to two or more articles by J.~Smith
+published in 1982. They should be referred to as ``Smith (1982a)'',
+``Smith (1982b)'', and so forth. To accomplish this, the counter
+|BibCnt| is defined in \fname{apacite.sty}. The \cmd{\theBibCnt}
+command defines how the value of |BibCnt| is formatted. The default
+is ``|\alph{BibCnt}|'', that is, as a plain lowercase letter. To
+emphasize (italicize) the ``a'', ``b'', and so forth, you can redefine
+this as
+\begin{verbatim}
+\renewcommand{\theBibCnt}{{\em\alph{BibCnt}\/}}
+\end{verbatim}
+(This presumably works better than ``\verb+\emph{\alph{BibCnt}}+''.)
+To control this behavior, redefining the \cmd{\theBibCnt} command
+should normally be sufficient. However, the complete formatting
+commands are \cmd{\BCnt}, \cmd{\BCntIP}, and \cmd{\BCntND}. The
+second of these is for ``in press'' works, which need an extra hyphen
+between ``in press'' and the ``a'' and ``b'' suffixes. The third is
+similar, for works without a date, which is formatted as
+``n.d.\hbox{}'' in APA style. Their default definitions
+in \fname{apacite.sty} are
+\begin{verbatim}
+\DeclareRobustCommand{\BCnt}[1]{\setcounter{BibCnt}{#1}\theBibCnt}
+\DeclareRobustCommand{\BCntIP}[1]{\setcounter{BibCnt}{#1}\mbox{-\theBibCnt}}
+\DeclareRobustCommand{\BCntND}[1]{\setcounter{BibCnt}{#1}\mbox{-\theBibCnt}}
+\end{verbatim}
+
+\DescribeMacro{\APACciteatitle}
+\DescribeMacro{\APACcitebtitle}
+\cmd{\APACciteatitle} determines the formatting of the title of an
+article (or similar work) when used as a citation in the text when no
+author or editor is available for that purpose. Its default definition
+is
+\begin{verbatim}
+\newcommand{\APACciteatitle}[1]{``#1''}
+\end{verbatim}
+that is, the title is put between double quotes. Similarly,
+\cmd{\APACcitebtitle} determines the formatting of the title of a book
+(or other independent work) when used as a citation in the text when no
+author or editor is available for that purpose. Its default definition
+is
+\begin{verbatim}
+\newcommand{\APACcitebtitle}[1]{{\em #1\/}}
+\end{verbatim}
+that is, the title is emphasized (in italics) but not put between
+double quotes.
+
+\DescribeMacro{\APACmetastar}
+\cmd{\APACmetastar} is the asterisk that precedes an item in the
+bibliography to denote that it is included in the meta-analysis.
+The default value is ``\verb+\ensuremath{{}^\ast}+'', which
+prints as ``\APACmetastar''.
+
+\DescribeMacro{\bibnewpage}
+If the \pkgoption{bibnewpage} option is chosen, \cmd{\bibnewpage} is
+included before the bibliography. Its default definition is
+\cmd{\clearpage}, but \fname{apa.cls} used \cmd{\newpage} in a
+similar construction with its \pkgoption{man} option. See
+\citeA[p.~215]{LaTeXbook} or \citeA[p.~37]{KoDa04} for the differences
+between \cmd{\clearpage} and \cmd{\newpage}.
+
+\DescribeMacro{\bibliographytypesize}
+\cmd{\bibliographytypesize} is used before the reference list, but
+after the section or chapter heading. It is intended for the font size
+of the reference list: For \citeA{WaMe00}, I defined it as \cmd{\small}
+(and even then the reference list took up 34 pages). The default value
+is \cmd{\normalsize}.
+
+\DescribeMacro{\bibleftmargin}
+\DescribeMacro{\bibindent}
+\DescribeMacro{\bibitemsep}
+\DescribeMacro{\bibparsep}
+\DescribeMacro{\biblabelsep}
+Several parameters determine the layout of the reference list.
+\cmd{\bibleftmargin} gives the indentation of the second and subsequent
+lines of a reference list entry, relative to the usual left margin. It
+is not a proper command, but a rubber length, which means that it is
+not changed by \cmd{\renewcommand} but by \cmd{\setlength}. Its default
+value is 2.5em. \cmd{\bibindent} gives the indentation of the
+first line of a reference list entry, relative to the second line. It
+is also a rubber length, with default value is |-\bibleftmargin|, which
+means that the first line starts at the original left margin, and the
+second and subsequent lines are indented by 2.5em. \cmd{\biblabelsep}
+gives the horizontal separation between the reference list label and
+the rest of the entry. Normally, there are no reference list labels
+when using \pkg{apacite}, but this command allows one to define them
+through redefining \cmd{\@biblabel} and \cmd{\@lbibitem} without having
+to redefine the whole \envirname{bibliography} environment. I once used
+this to generate a numbered reference list for my CV. It is a rubber
+length in principle, but the default is a fixed length of 0pt.
+\cmd{\bibitemsep} gives the vertical separation between two reference
+list entries. It is also a rubber length, with default value
+``|0pt plus .3pt|'', i.e., 0pt, but it may be stretched a little to
+fill the page nicely. If you want to change it, e.g., to get a blank
+line between reference list entries, you can use
+\begin{verbatim}
+\setlength{\bibitemsep}{\baselineskip}
+\end{verbatim}
+Finally, \cmd{\bibparsep} gives the vertical separation between two
+paragraphs within the same reference list entry. Such a situation does
+not occur in the default setup, so it is not used, but it is
+conceivable that certain customizations lead to its use. It is a
+rubber length with default value 0pt.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\subsection{Labels}
+\label{subsec:labels}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+There are many specific pieces of text that can be put into the reference
+list or a citation by \pkg{apacite}. Here, these pieces are called
+\emph{labels}. Almost all of these are to some extent language-specific, and
+sometimes style-specific even within the same language. Therefore, they are
+implemented through \LaTeX{} commands, so that users can easily change them.
+In this section, these commands and their purposes are described, and their
+(U.S.\ English) defaults are given. Section~\ref{sec:compat-babel} below will
+discuss how these commands are changed if another language is used.
+
+The following label commands are used:
+\begin{description}
+
+ \item[\cmd{\onemaskedcitationmsg}] \DescribeMacro{\onemaskedcitationmsg}
+ \item[\cmd{\maskedcitationsmsg}] \DescribeMacro{\maskedcitationsmsg}
+ These commands have one mandatory argument (which should always
+ be 1 for \cmd{\onemaskedcitationmsg}) and define a message
+ stating that citations are removed for a masked review. The
+ default messages are
+ ``\emph{(1\ citation removed for masked review)}'' and
+ ``\emph{(}|#1|\emph{\ citations removed for masked review)}'',
+ respectively.
+
+ \item[\cmd{\bibmessage}] \DescribeMacro{\bibmessage}
+ This is the first of 9 specific type
+ commands that are recognized by \pkg{apacite}. If you
+ define the \fieldname{type} field of a \entryname{misc}
+ entry as ``\cmd{\bibmessage}'', the formatting of the
+ entry is changed (e.g., the title is not italicized),
+ see the discussion of the \fieldname{type} field in
+ section~\ref{subsec:fields} above. This one is used for
+ messages in newsgroups, internet forums, etc.
+ Default is ``\verb+Msg+''.
+
+ \item[\cmd{\bibcomputerprogram}] \DescribeMacro{\bibcomputerprogram}
+ Default is ``\verb+Computer program+''.
+
+ \item[\cmd{\bibcomputerprogrammanual}] \DescribeMacro{\bibcomputerprogrammanual}
+ Default is ``\verb+Computer program manual+''.
+
+ \item[\cmd{\bibcomputerprogramandmanual}] \DescribeMacro{\bibcomputerprogramandmanual}
+ Default is ``\verb+Computer program and manual+''.
+
+ \item[\cmd{\bibcomputersoftware}] \DescribeMacro{\bibcomputersoftware}
+ Default is ``\verb+Computer software+''.
+
+ \item[\cmd{\bibcomputersoftwaremanual}] \DescribeMacro{\bibcomputersoftwaremanual}
+ Default is ``\verb+Computer software manual+''.
+
+ \item[\cmd{\bibcomputersoftwareandmanual}] \DescribeMacro{\bibcomputersoftwareandmanual}
+ Default is ``\verb+Computer software and manual+''.
+
+ \item[\cmd{\bibprogramminglanguage}] \DescribeMacro{\bibprogramminglanguage}
+ Default is ``\verb+Programming language+''.
+
+ \item[\cmd{\bibnotype}] \DescribeMacro{\bibnotype}
+ This one is a bit different from the previous 8. It is used for
+ \entryname{techreport} entries to indicate that the type specifier
+ should be suppressed. Its default value is the empty string, but this
+ will not have an effect on \pkg{apacite} behavior, because the type
+ specifier is suppressed anyway by \pkg{apacite}. However, by defining it
+ as the empty string, formatting may become better (i.e., closer to the
+ desired formatting) with other styles.
+
+ \item[\cmd{\bibnodate}] \DescribeMacro{\bibnodate}
+ Used in the \fieldname{year} and
+ \fieldname{originalyear} fields to indicate that no
+ publication date has been given. Default value is ``\verb+n.d.\hbox{}+''.
+ The ``\verb+\hbox{}+'' ensures that \TeX{} does not treat
+ the last period as a sentence-ending period, after which
+ more space is inserted. This also applies to several other
+ labels discussed below.
+
+ \item[\cmd{\BOthers}] \DescribeMacro{\BOthers}
+ Used for ``others'' if the number of authors
+ or editors is too large, as in ``(Gill et al., 1981)''.
+ The default is ``\verb+et al.\hbox{}+''.
+
+ However, the definition contains a slight adaptation, because
+ in a previous version of \pkg{apacite}, there was a problem
+ implying that in some cases \BibTeX{} might put an extra period after
+ \cmd{\BOthers}, not recognizing that it already contains a period,
+ so that you would get ``et al.\hbox{}.'', which is undesirable.
+ It depends on the definition of \cmd{\BOthers} whether there should
+ be a period or not: If it is defined as ``\verb+et al.\hbox{}+'',
+ there should not be an additional period, but if it is defined
+ as, say, ``\verb+and others+'', then there should be an additional
+ period. But \BibTeX{} does not know what the (later) definition
+ of this command will be in \LaTeX{}. Therefore, the \cmd{\BOthers}
+ command is defined to have one argument. In \BibTeX,
+ \pkg{apacite} inserts \verb+\BOthers{.}+ in the output, so no
+ additional period is inserted by \BibTeX. By default, this
+ command is defined as ``\verb+et al.\hbox{}+'', and the argument is
+ simply ignored.
+
+ If you redefine the \cmd{\BOthers} command and need the additional
+ period, you can redefine it appropriately. However, in the current
+ version, the \cmd{\BOthers} command is distinguished from the
+ \cmd{\BOthersPeriod} command and I think the mentioned problems
+ do not occur anymore. Nevertheless, I have kept the definition of the
+ previous version. I may decide, after thorough testing, to change
+ this again in a next version.
+
+ There is still a complication, however. If you use a \cmd{\citeauthor}
+ at the end of a sentence, there may be a period too many, if
+ you end the sentence explicitly with it and \cmd{\BOthers} is
+ ``et al.\hbox{}''. On the other hand, if you omit the sentence-finishing
+ period but decide to redefine \cmd{\BOthers} to ``and others'',
+ the period is missing. Therefore, it seems wise not to end a sentence
+ with a \cmd{\citeauthor}, or you could define a command, e.g.,
+ \cmd{\finishsentence}, and insert it in an appropriate place.
+ Then, this command should be changed along with \cmd{\BOthers}.
+
+ \item[\cmd{\BOthersPeriod}] \DescribeMacro{\BOthersPeriod}
+ Also used for ``others'' if the number of
+ authors or editors is too large, as in
+ ``Gill, P. E., et al.\hbox{} (1981)''.
+ But this one is used for situations when it should always end with
+ a period. The default is ``\verb+et al.\hbox{}+''.
+
+ \item[\cmd{\bibcorporate}] \DescribeMacro{\bibcorporate}
+ This command can be used in the \fieldname{author}
+ field (and \fieldname{editor} and \fieldname{translator}) to tell
+ \pkg{apacite} that the author is a corporate author. See
+ section~\ref{subsec:fields} for an example of its usage. In combination
+ with the \pkgoption{includecorporate} and \pkgoption{suppresscorporate}
+ options, it can be used to include or exclude corporate authors from
+ the author index. The usage as described above is structured as if
+ \cmd{\bibcorporate} has an argument, the corporate author name, but
+ by default, this argument simply would have to be copied to the output
+ without further processing. Therefore, in the actual implementation,
+ \cmd{\bibcorporate} does not have an argument and reduces to \cmd{\relax},
+ i.e., it does nothing in \LaTeX{} and exerts its influence at the
+ \BibTeX{} stage.
+
+ \item[\cmd{\BIP}] \DescribeMacro{\BIP}
+ ``In press'', the string to be used as year for
+ in-press references. In the \fname{.bib} file, the \fieldname{year}
+ field should be ``\verb+\BIP+'', so that \pkg{apacite} can recognize
+ this and use appropriate formatting and sorting.
+ The default value is ``\verb+in press+''.
+
+ \item[\cmd{\BIn}] \DescribeMacro{\BIn}
+ Used for \entryname{incollection} and
+ \entryname{intechreport}, for ``In \opt{editor} (Ed.\hbox{}),
+ \opt{booktitle}'', and similar phrases. Default value is ``\verb+In+''.
+
+ \item[\cmd{\BCHAP}] \DescribeMacro{\BCHAP}
+ Used for \entryname{incollection} if the
+ \fieldname{pages} field is empty, to denote the chapter number
+ of the referenced work in the collection. Used primarily for
+ internet documents, where there are no page numbers.
+ Default value is ``chap.\hbox{}''. Note that in the text, in
+ particular in a citation, the APA (p.~179) prescribes ``Chapter'':
+ ``(Shimamura, 1989, Chapter~3)''. This is, however, something that
+ would be typed by the author of the manuscript, not inserted by
+ \pkg{apacite}, and thus \pkg{apacite} does not have a command
+ for this.
+
+ \item[\cmd{\BCHAPS}] \DescribeMacro{\BCHAPS}
+ Just like \cmd{\BCHAP}, but this one is used
+ if the \fieldname{chapter} field refers to more than 1 chapter.
+ Default value is ``chap.\hbox{}''.
+
+ \item[\cmd{\BED}] \DescribeMacro{\BED}
+ Editor in reference list, as in
+ ``In P. R. Krishnaiah (Ed.\hbox{})''. Default is ``\verb+Ed.\hbox{}+''.
+
+ \item[\cmd{\BEDS}] \DescribeMacro{\BEDS}
+ Editors (more than one editor) in reference list,
+ as in ``In C.~R. Rao \& J.~K. Ghosh (Eds.\hbox{})''.
+ Default is ``\verb+Eds.\hbox{}+''.
+
+ \item[\cmd{\BTRANS}] \DescribeMacro{\BTRANS}
+ Translator, as in ``(J. Strachey, Trans.\hbox{})''.
+ Default is ``\verb+Trans.\hbox{}+''.
+
+ \item[\cmd{\BTRANSS}] \DescribeMacro{\BTRANSS}
+ Translators. Default is ``\verb+Trans.\hbox{}+''.
+
+ \item[\cmd{\BTRANSL}] \DescribeMacro{\BTRANSL}
+ Translation. Used in a text citation when
+ referring to a translated work for which there is no date
+ for the original work. This is then formatted as
+ ``Aristotle (trans.\hbox{} 1931)''. Default is
+ ``\verb+trans.\hbox{}+''.
+
+ \item[\cmd{\BCHAIR}] \DescribeMacro{\BCHAIR}
+ Chair of a symposium, etc.
+ Default is ``\verb+Chair+''.
+
+ \item[\cmd{\BCHAIRS}] \DescribeMacro{\BCHAIRS}
+ Chairs. Default is ``\verb+Chairs+''.
+
+ \item[\cmd{\BVOL}] \DescribeMacro{\BVOL}
+ Volume, as in ``Vol.\hbox{}~1''.
+ Default is ``\verb+Vol.\hbox{}+''.
+
+ \item[\cmd{\BVOLS}] \DescribeMacro{\BVOLS}
+ Volumes, as in ``Vols.\hbox{} 1--4''.
+ Default is ``\verb+Vols.\hbox{}+''.
+
+ \item[\cmd{\BNUM}] \DescribeMacro{\BNUM}
+ Number, as in ``Tech.\ Rep.\hbox{}
+ No.\hbox{}~12''.
+ Default is ``\verb+No.\hbox{}+''.
+
+ \item[\cmd{\BNUMS}] \DescribeMacro{\BNUMS}
+ Numbers, as in ``Nos.\hbox{} 3--5''.
+ Default is ``\verb+Nos.\hbox{}+''.
+
+ \item[\cmd{\BEd}] \DescribeMacro{\BEd}
+ Edition, as in ``2nd ed.\hbox{}''.
+ Default is ``\verb+ed.\hbox{}+''.
+
+ \item[\cmd{\BPG}] \DescribeMacro{\BPG}
+ Page, default is ``\verb+p.\hbox{}+''.
+
+ \item[\cmd{\BPGS}] \DescribeMacro{\BPGS}
+ Pages, default is ``\verb+pp.\hbox{}+''.
+
+ \item[\cmd{\BTR}] \DescribeMacro{\BTR}
+ The (default) technical report type name, which can be
+ overridden by the \fieldname{type} field. Default is
+ ``\verb+Tech.\ Rep.\hbox{}+''
+
+ \item[\cmd{\BPhD}] \DescribeMacro{\BPhD}
+ The (default) PhD thesis type name, which can be
+ overridden by the \fieldname{type} field. Default is
+ ``\texttt{Doctoral dissertation}''.
+
+ \item[\cmd{\BUPhD}] \DescribeMacro{\BUPhD}
+ The (default) Unpublished PhD thesis type name,
+ which can be overridden by the \fieldname{type} field. Default is
+ ``\texttt{Unpublished doctoral dissertation}''.
+
+ \item[\cmd{\BMTh}] \DescribeMacro{\BMTh}
+ The (default) master's thesis type name, which can be
+ overridden by the \fieldname{type} field. Default is
+ ``\texttt{Master's thesis}''.
+
+ \item[\cmd{\BUMTh}] \DescribeMacro{\BUMTh}
+ The (default) unpublished master's thesis type name,
+ which can be overridden by the \fieldname{type} field. Default is
+ ``\texttt{Unpublished master's thesis}''.
+
+ \item[\cmd{\BOWP}] \DescribeMacro{\BOWP}
+ ``Original work published'', default is
+ ``\texttt{Original work published}''.
+
+ \item[\cmd{\BREPR}] \DescribeMacro{\BREPR}
+ ``Reprinted from'', default is
+ ``\texttt{Reprinted from}''.
+
+ \item[\cmd{\Bby}] \DescribeMacro{\Bby}
+ ``by'' in the construction
+ ``by P.~R. Krishnaiah, Ed.\hbox{}'' referring to the original
+ editor of a reprinted work. Default is ``\verb+by+''.
+
+ \item[\cmd{\BAuthor}] \DescribeMacro{\BAuthor}
+ ``Author'' as a description of the publisher
+ if the author and publisher are the same. Default is
+ ``\verb+Author+''
+
+ \item[\cmd{\BAvailFrom}] \DescribeMacro{\BAvailFrom}
+ ``Available from''. This is used in versions
+ of \pkg{apacite} up to [2009/03/01] if the \fieldname{url}
+ field is specified but the \fieldname{lastchecked} field is not.
+ This is now superseded by \cmd{\BRetrievedFrom}.
+ Default is ``\verb+Available from\ +''. Note the extra space.
+ This construction allows customization by redefining this command
+ as being empty, thereby omitting the phrase altogether, without
+ undesirable extra space.
+
+ \item[\cmd{\BRetrieved}] \DescribeMacro{\BRetrieved}
+ ``Retrieved from'', used if both the
+ \fieldname{url} field and the \fieldname{lastchecked} field are
+ specified. It has one argumnt: the date, i.e., the contents of
+ the \fieldname{lastchecked} field. The default is
+ ``\verb+Retrieved {#1}, from\ +'', again with extra space.
+
+ \item[\cmd{\BRetrievedFrom}] \DescribeMacro{\BRetrievedFrom}
+ ``Retrieved from'', used if the \fieldname{url}
+ field is specified but the \fieldname{lastchecked} field is not.
+ This was introduced, because the APA manual (p.~192) now states
+ that retrieval dates should be omitted ``unless the source
+ material may change over time'', and prescribes ``Retrieved from''
+ (p.~199).
+ Default is ``\verb+Retrieved from\ +'', again with extra space.
+
+ \item[\cmd{\BMsgPostedTo}] \DescribeMacro{\BMsgPostedTo}
+ Used for messages to newsgroups and the like.
+ Default is ``\verb+Message posted to\ +'', with space.
+
+ \item[\cmd{\refname}] \DescribeMacro{\refname}
+ Name of the reference list if it's a section.
+ (So it's the section name.) Default is ``\verb+References+''.
+ A problem with the current implementation is, that if you use
+ \pkg{babel}'s \cmd{\selectlanguage} command, then \cmd{\refname}
+ and \cmd{\bibname} are overwritten. Because \pkg{babel}'s
+ definitions of these commands are often (for various languages)
+ different from the names prescribed by the APA manual and analogous
+ bodies in other countries, it will often be necessary to redefine
+ \cmd{\refname} or \cmd{\bibname} if you have used
+ \cmd{\selectlanguage}. I hope to provide a fix in a next version
+ of \pkg{apacite}.
+
+ \item[\cmd{\bibname}] \DescribeMacro{\bibname}
+ Name of the reference list if it's a chapter.
+ Default is ``\verb+References+''. See also \cmd{\refname}.
+
+ \item[\cmd{\bibliographyprenote}] \DescribeMacro{\bibliographyprenote}
+ This command is used before
+ the reference list, but after the section or chapter heading,
+ and immediately after \cmd{\bibliographytypesize}.
+ It is intended for an optional note just before the references
+ in the reference list. It defaults to nothing, but can be changed
+ to a list of commands (e.g., if some commands should be different
+ in the reference list than in the text) and/or some text.
+
+ \item[\cmd{\APACmetaprenote}] \DescribeMacro{\APACmetaprenote}
+ If a meta-analysis is reported, the
+ works included in the meta-analysis should in the bibliography be
+ preceded by an asterisk, see the description of \cmd{\APACmetastar}
+ above. This should then be explained in a note before the references.
+ This command contains the text of that note. Default is
+ ``\texttt{References marked with an asterisk indicate studies
+ included in the meta-analysis.}''.
+
+ \item[\cmd{\authorindexname}] \DescribeMacro{\authorindexname}
+ Name (heading) of the author index.
+ Default is ``\verb+Author Index+''.
+
+ \item[\cmd{\doiprefix}] \DescribeMacro{\doiprefix}
+ String that is printed before a DOI.
+ Default is ``\verb+doi:+''.
+
+\end{description}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\subsection{More drastic formatting changes to the reference list}
+\label{sec:custom-big-formatting}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+In earlier versions of \pkg{apacite}, most of the formatting of the
+reference list was done in the \BibTeX{} stage, i.e., by the \fname{.bst}
+files. This corresponds with most other \BibTeX{} styles. This makes
+it difficult for users to customize the formatting of the reference
+list: They would have to make their own \fname{.bst} file, by adapting
+\fname{apacite.bst}. Certain small changes are relatively easy to make,
+but \BibTeX's ``bst'' language is not easy to understand for most users,
+and thus most desired changes, though seemingly small, may be too
+complicated to implement. Another drawback of this setup is that, each
+time I release a new version of \pkg{apacite}, users would have to make
+the same adaptations again. In the early days of \pkg{apacite}, wasting
+disk space was another drawback, but this is not important anymore.
+
+To overcome the most salient of these problems, \pkg{apacite} has always
+deferred some formatting choices to the \LaTeX{} stage, by using tailor-made
+formatting commands instead of explicit formatting, as discussed in
+sections~\ref{sec:custom-punct} and~\ref{subsec:labels} above. The amount of
+formatting thus handled has slightly grown over time, but still most choices
+were hard wired in the \BibTeX{} styles.
+
+Since the \APACversiondate{2007/09/03} version of \pkg{apacite}, a big step
+has been made in transferring these choices to the \LaTeX{} domain. Hence,
+a much larger set of commands, with wider-ranging scope, has been defined,
+and considerably fewer choices are made at the \BibTeX{} stage. For
+example, \fname{apacite.bst} now inserts
+\mbox{}\vspace{0.7\baselineskip}\\
+\mbox{\cmd{\APACjournalVolNumPages}%
+ \marg{journal}%
+ \marg{volume}%
+ \marg{number}%
+ \marg{pages}%
+ }
+\mbox{}\vspace{0.7\baselineskip}\\
+in the \fname{.bbl} file for an \entryname{article} entry, and
+the actual formatting of this information is defined in
+\fname{apacite.sty}. If all four components are available, the
+default (APA manual) formatting of this looks like
+\mbox{}\vspace{0.7\baselineskip}\\
+\mbox{\Bem{Acta Paedopsychiatrica},
+ \Bem{38}(9),
+ {229--231}}
+\mbox{}\vspace{0.7\baselineskip}\\
+but by redefining this command, users can change this, e.g., to
+\mbox{}\vspace{0.7\baselineskip}\\
+\mbox{\Bem{Acta Paedopsychiatrica}
+ \textbf{38}, No.~9:
+ {229--231}}
+\mbox{}\vspace{0.7\baselineskip}\\
+The advantage of this is that users can fairly easily construct a
+customized style by redefining only a few commands in \LaTeX, by
+using \cmd{\renewcommand}. Users will generally find it much easier
+to do this than adapt the \fname{.bst} files. Furthermore, only
+the affected commands need to be redefined, so that, when a new
+version of \pkg{apacite} becomes available, all the new features
+can be used---with the exception of the redefined commands, of
+course---without having to adapt everything again. The drawback
+is that the \fname{.bbl} file becomes less readable and more
+difficult to adapt: Previously, it was easy to make ad-hoc changes
+by editing the \fname{.bbl} file, but this has now become more
+difficult. However, I intend to make this facility more user-friendly
+in the future, e.g., by introducing options in the \LaTeX{} package
+(say, \pkgoption{boldvolume}) or by introducing user-friendly
+commands that accomplish the same (say, \cmd{\boldvolume}), so that
+the advantages will clearly outweigh the disadvantages for the vast
+majority of users.
+
+Some packages (\pkg{amsrefs} and \pkg{biblatex} are the ones I am aware of)
+handle the formatting of the reference list completely in the \LaTeX{} domain,
+using \BibTeX{} only for sorting the reference list. The current version of
+\pkg{apacite} does not go that far; there are still certain choices that are
+hardwired in the \BibTeX{} code. Examples are the ordering of the various blocks
+(most notably the position of the year; some styles have this at the end) and
+the formatting of names. It is doubtful whether \pkg{apacite} will follow the
+path toward the end, like these other packages. Some formatting choices are
+closely connected with sorting of entries (e.g., by title if there is no author;
+this assumes that the title then takes the author position) or other cross-entry
+relations (such as adding `a' and `b' suffixes to the year). Therefore, it does
+not seem useful to disconnect these choices by handing them over to \LaTeX.
+
+The following commands are currently implemented to format the reference
+list. If you want to customize them, you can study the source code in
+the file \fname{apacite.sty}, copy it to you own package file, and adapt
+the code as desired.\\[-0.3\baselineskip]
+\par\noindent\DescribeMacro{\APACmonth}
+\makebox[2.1in][l]{\cmd{\APACmonth}}
+\makebox{Month name (as function of a number)}
+\par\noindent\DescribeMacro{\APACrefYear}
+\makebox[2.1in][l]{\cmd{\APACrefYear}}
+\makebox{Year in the reference list}
+\par\noindent\DescribeMacro{\APACrefYearMonthDay}
+\makebox[2.1in][l]{\cmd{\APACrefYearMonthDay}}
+\makebox{Year + month + day}
+\par\noindent\DescribeMacro{\APACrefatitle}
+\makebox[2.1in][l]{\cmd{\APACrefatitle}}
+\makebox{Title (article style, default upright)}
+\par\noindent\DescribeMacro{\APACrefbtitle}
+\makebox[2.1in][l]{\cmd{\APACrefbtitle}}
+\makebox{Title (book style, default italicized)}
+\par\noindent\DescribeMacro{\APACrefaetitle}
+\makebox[2.1in][l]{\cmd{\APACrefaetitle}}
+\makebox{English translation of title (article)}
+\par\noindent\DescribeMacro{\APACrefbetitle}
+\makebox[2.1in][l]{\cmd{\APACrefbetitle}}
+\makebox{English translation of title (book)}
+\par\noindent\DescribeMacro{\APACjournalVolNumPages}
+\makebox[2.1in][l]{\cmd{\APACjournalVolNumPages}}
+\makebox{Journal, volume, number, and pages}
+\par\noindent\DescribeMacro{\APACaddressPublisher}
+\makebox[2.1in][l]{\cmd{\APACaddressPublisher}}
+\makebox{Address and publisher}
+\par\noindent\DescribeMacro{\APACaddressInstitution}
+\makebox[2.1in][l]{\cmd{\APACaddressInstitution}}
+\makebox{Address and institution (for technical reports)}
+\par\noindent\DescribeMacro{\APACaddressPublisherEqAuth}
+\makebox[2.1in][l]{\cmd{\APACaddressPublisherEqAuth}}
+\makebox{Address and publisher if the publisher is the author}
+\par\noindent\DescribeMacro{\APACaddressInstitutionEqAuth}
+\makebox[2.1in][l]{\cmd{\APACaddressInstitutionEqAuth}}
+\makebox{Address and institution if the latter is the author}
+\par\noindent\DescribeMacro{\APACaddressSchool}
+\makebox[2.1in][l]{\cmd{\APACaddressSchool}}
+\makebox{Address and school (for theses)}
+\par\noindent\DescribeMacro{\APACtypeAddressSchool}
+\makebox[2.1in][l]{\cmd{\APACtypeAddressSchool}}
+\makebox{Type, address, and school (for theses)}
+\par\noindent\DescribeMacro{\APAChowpublished}
+\makebox[2.1in][l]{\cmd{\APAChowpublished}}
+\makebox{\fieldname{howpublished} field}
+\par\noindent\DescribeMacro{\APACorigED}
+\makebox[2.1in][l]{\cmd{\APACorigED}}
+\makebox{Original editor for reprints and translations}
+\par\noindent\DescribeMacro{\APACorigEDS}
+\makebox[2.1in][l]{\cmd{\APACorigEDS}}
+\makebox{Ditto, multiple editors}
+\par\noindent\DescribeMacro{\APACrefnote}
+\makebox[2.1in][l]{\cmd{\APACrefnote}}
+\makebox{Formatting of \fieldname{note} field}
+\par\noindent\DescribeMacro{\APACorigyearnote}
+\makebox[2.1in][l]{\cmd{\APACorigyearnote}}
+\makebox{Original year + optional note}
+\par\noindent\DescribeMacro{\APACorigjournalnote}
+\makebox[2.1in][l]{\cmd{\APACorigjournalnote}}
+\makebox{Original journal (+ volume, number, pages) + optional note}
+\par\noindent\DescribeMacro{\APACorigbooknote}
+\makebox[2.1in][l]{\cmd{\APACorigbooknote}}
+\makebox{Formatting of ``original'' information if the original is a book}
+\par\noindent\DescribeMacro{\APACbVolEdTR}
+\makebox[2.1in][l]{\cmd{\APACbVolEdTR}}
+\makebox{Technical report information}
+\par\noindent\DescribeMacro{\APACbVolEdTRpgs}
+\makebox[2.1in][l]{\cmd{\APACbVolEdTRpgs}}
+\makebox{Ditto, for \entryname{intechreport}}
+\par\noindent\DescribeMacro{\doi}
+\makebox[2.1in][l]{\cmd{\doi}}
+\makebox{Formatting of DOI string}\\[0.7\baselineskip]
+In addition, the following environments are used:\\[-0.3\baselineskip]
+\par\noindent\DescribeEnv{APACrefauthors} \makebox[1.3in][l]{\envirname{APACrefauthors} } \makebox{Formatting of authors (or editors acting as authors) in the reference list.}
+\par\noindent\DescribeEnv{APACrefURL} \makebox[1.3in][l]{\envirname{APACrefURL} } \makebox{Formatting of \fieldname{url} field}
+\par\noindent\DescribeEnv{APACrefDOI} \makebox[1.3in][l]{\envirname{APACrefDOI} } \makebox{Formatting of \fieldname{doi} field}
+\par\noindent\DescribeEnv{APACrefURLmsg} \makebox[1.3in][l]{\envirname{APACrefURLmsg} } \makebox{Formatting of \fieldname{url} field for messages}
+\par\noindent\DescribeEnv{APACrefannotation}\makebox[1.3in][l]{\envirname{APACrefannotation}} \makebox{Formatting of \fieldname{annote} or \fieldname{annotate} fields for annotated bibliographies.}
+\\[0.7\baselineskip]
+It is likely that these lists will be expanded in future versions of
+\pkg{apacite}.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\section{Language support}
+\label{sec:compat-babel}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+The APA is, of course, American, and therefore the rules in the APA manual
+are also based on the (U.S.) English language. Because \pkg{apacite} was
+primarily designed to implement the APA rules, and because I write all
+my scientific work in English, \pkg{apacite} originally did not contain
+explicit support for other languages. However, most language-specific
+elements have been implemented in the form of \LaTeX{} commands, so that
+users could define their own \LaTeX{} package in which these elements were
+changed. The labels discussed in section~\ref{subsec:labels} above are the
+most important part of this.
+
+Furthermore, when writing in a non-English language, the \pkg{babel} package
+will usually be loaded. The \pkg{babel} package is an extensive package that
+facilitates using \LaTeX{} for documents in languages other than English.
+There have been some compatibility problems between \pkg{babel} and
+\pkg{apacite}, and therefore since 2003 \pkg{apacite} contained some
+explicit code to overcome the compatibility problems. I think this works
+well, provided that \pkg{apacite} is loaded \emph{after} \pkg{babel}.
+
+Thus, although \pkg{apacite} did not support non-English languages
+explicitly, it did facilitate them. Supporting non-English languages is
+not a main objective of \pkg{apacite}, because it is not needed for
+the APA. Nevertheless, it potentially is a useful addition. Many journals in
+non-English languages and universities in countries where other languages
+are spoken base their rules on the APA manual. Therefore, it is
+efficient if, with a few adaptations, \pkg{apacite} can also be used in
+these circumstances. For this reason, and based on user requests,
+\pkg{apacite} has contained some explicit language support since June 2005.
+
+The unpacked \pkg{apacite} distribution contains files that have names
+according to the construction \opt{language}\fname{.apc}, i.e.,
+\fname{english.apc}, \fname{dutch.apc}, etc.
+These files define the language-specific modifications of \pkg{apacite},
+mainly translations of terms like ``and'', ``Ed.\hbox{}'', etc. They have been
+written by \pkg{apacite} users who are (native) speakers of the languages
+involved. If the \pkg{babel}, \pkg{german}, or \pkg{ngerman} package is
+loaded, \pkg{apacite} is able to determine the language of the document that
+is processed. Then the corresponding \fname{.apc} file, when available, is
+read. In this way, language-specific elements are changed to the relevant
+language. This is done fully automatically, the user does not have to do
+anything explicitly. However, sometimes an \fname{.apc} file makes some
+assumptions or choices that are nontrivial. Therefore, look at the source
+code of the \fname{.apc} file (or in the Implementation section of this
+manual if you have generated this manual with the \cmd{\AlsoImplementation}
+option) if you obtain unexpected results. These files contain some brief
+documentation of the specific issues relevant for the language at hand.
+
+The list with available \fname{.apc} files has been given in
+section~\ref{sec:usage}. One file is defined for each ``language'', which can
+be used for several ``dialects'' (in \pkg{babel} terminology). For example,
+\fname{english.apc} is also used if the language is ``american''. See the
+documentation of the \pkg{babel} and \pkg{(n)german} packages for a list of
+dialects of the language files supplied. If an \fname{.apc} file is not
+available for the language you need, you can use one of the supplied ones as a
+template and write your own. If you send it to me, I can include it in a next
+version of \pkg{apacite}.
+
+The \pkg{babelbib} package offers very sophisticated support of
+different languages. Perhaps some of the features that it offers are
+useful additions to \pkg{apacite} as well, and these may be included
+in a future version of \pkg{apacite}.
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\subsection{Language-specific issues}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+This section lists issues that are specific to one or more language
+files. It is currently very incomplete. Again, I suggest you study
+the \fname{.apc} file of your language for more information.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\subsubsection*{Spanish}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\pkg{apacite}'s usage of |<| and |>| for pre-notes, as in
+|\cite<e.g.,>{jones06}| (inherited from its predecessor, \fname{theapa.sty}),
+conflicts with \pkg{babel}'s \pkgoption{spanish} option, which makes |<| and |>|
+active characters. Hence, either you must avoid using prenotes with
+\pkg{apacite}'s construction or you must disable \pkg{babel}'s behavior by
+inserting the command \cmd{\deactivatequoting} after loading \pkg{babel}.
+
+\DescribeMacro{\usespanishe}
+The default ``and'' between authors in Spanish is `y', but when the
+subsequent author's last name starts with an `I', this should be `e'.
+Therefore, \fname{spanish.apc} introduces the command \cmd{\usespanishe},
+which takes a comma-separated list of citation keys as argument. The ``and''
+in these citations is then formatted as `e'. So
+\begin{verbatim}
+\citeA{AnIn93},
+\citeA{AnIn95},
+\usespanishe{AnIn93, AnIn95}
+\citeA{AnIn93},
+\citeA{AnIn95}.
+\end{verbatim}
+gives as output ``Anderson y Ingram (1993), Anderson y Ingram (1995),
+Anderson e Ingram (1993), Anderson e Ingram (1995).''
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\subsection{Setting up \MiKTeX}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\MiKTeX{} preloads the \pkg{babel} package and often uses \pkgoption{french}
+as the default language. The result is that \pkg{apacite} formats
+the heading of the reference list and other text strings in French.
+(Other distributions also preload \pkg{babel} but use
+\pkgoption{english} or \pkgoption{nohyphenation} as default.)
+I have received many reports from \pkg{apacite} users who use \MiKTeX{},
+who just want the default English, but get French output and don't
+know how to turn this off. Therefore, even though I believe this is a
+\MiKTeX{} issue and not an \pkg{apacite} issue, I\footnote{Actually,
+most of this investigation, testing, etc., was done by David Huffer,
+because I don't have \MiKTeX. Thanks, David!} have reluctantly
+decided to investigate this issue, and as a result of my investigation,
+provide this section.
+
+So here is the way to solve this problem (for \MiKTeX{} version 2.7;
+presumably it works similar for other versions):
+\begin{enumerate}
+\item
+Click Start $\rightarrow$ Programs $\rightarrow$ MiKTeX 2.7 $\rightarrow$
+Settings to open the \MiKTeX{} Options window. Click on the Languages tab.
+\item
+Select ``\pkgoption{english}'', ``\pkgoption{nohyphenation}'', or whatever
+else you'd like to be the default language, and use the Down button to move
+this to the bottom. The \emph{last} checked language is the default main
+document language.
+\item
+Click on the General tab and click on Update Formats.
+\end{enumerate}
+If you do this with ``\pkgoption{english}'' or ``\pkgoption{nohyphenation}''
+as default language, \pkg{apacite} will use English strings and punctuation.
+
+If you want to override the default (and/or you are not able to set the
+default, perhaps because you don't have the administrative permissions),
+you can also insert the line
+\begin{verbatim}
+\usepackage[english]{babel}
+\end{verbatim}
+in your document, before loading \pkg{apacite}.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\section{Compatibility}
+\label{sec:compat}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+Generally speaking, I would want \pkg{apacite} to be compatible with other
+packages, of course. However, what does compatibility mean? It can mean
+various things:
+\begin{enumerate}
+\item \label{compat1}%
+ The same \fname{.bib} file can be used with
+ different \BibTeX{} styles and \LaTeX{} citation packages;
+\item \label{compat2}%
+ The same citation commands as other citation packages;
+\item \label{compat3}%
+ Another \LaTeX{} citation package can be used with a
+ \fname{.bbl} file that is generated by the \pkg{apacite}
+ \BibTeX{} style;
+\item \label{compat4}%
+ The \pkg{apacite} \LaTeX{} citation package can be used with a
+ \fname{.bbl} file that is generated by another \BibTeX{} style;
+\item \label{compat5}%
+ The \pkg{apacite} \LaTeX{} citation package can be loaded at the
+ same time as other packages without errors or undesirable
+ side-effects.
+\end{enumerate}
+Because of the complicated rules of the APA manual, it is not always possible
+to achieve all kinds of compatibility with all other packages. Later in this
+section, I will discuss compatibility issues with other packages with which
+known incompatibility problems exist or have existed. A first example of this,
+the \pkg{babel} package, has already been mentioned above in
+section~\ref{sec:compat-babel}.
+
+Point~\ref{compat1} is the most important. If you have to write a completely
+different \fname{.bib} file for different citation styles, there does not seem
+to be an advantage in using \BibTeX{}. You might as well write the reference
+list explicitly in \LaTeX{} then. However, not even this point can be achieved
+completely, although the vast majority of the items will be the same for
+different styles. But there remain a number of choices that are style-specific
+and that lead to differences in the \fname{.bib} file. Examples from the APA
+manual are:
+\begin{itemize}
+\item If a referenced book is volume~III according to its title
+ page, this should be referenced as Vol.~3 according to the
+ APA manual rules, but that may not be the case with other
+ styles;
+\item Journal names are abbreviated by some styles, but not
+ according to the APA manual rules;
+\item Publisher names should be abbreviated according to the
+ APA manual, e.g., ``John Wiley \& Sons'' becomes ``Wiley''.
+ Other styles do not do this;
+\item The issue number of a journal should only be given if
+ the journal starts each issue with page~1, not if page
+ numbers of different issues in the same volume are consecutive.
+ Other styles may require the issue number in all cases;
+\item Page ranges are given as ``341--351'' in APA style, whereas
+ other styles use ``341--51'';
+\item The APA rules require a capital after a colon (`\verb+:+'),
+ so that subtitles start with a capital as well. Other styles
+ may not do this;
+\item The APA has specific rules about the address: For a U.S. city,
+ the state (or territory) should be given as a 2-letter code
+ from the U.S. Postal Services, and the province and country
+ should be given if it is a non-U.S. city. There
+ are some exceptions if the name of the state (and sometimes
+ even city) is already mentioned in the university name and
+ the university acts as publisher;
+\item Yearbooks like \emph{Annual Review of Psychology} should be treated
+ as journals according to the APA rules, whereas other styles
+ treat these as books;
+\item The additional fields (such as \fieldname{translator} and the
+ \fieldname{original*}-fields) that are used by \pkg{apacite} but are
+ not defined in other \BibTeX{} styles are of course
+ \pkg{apacite}-specific.
+\end{itemize}
+Some of these problems can be handled relatively elegantly. For example,
+the user could use a command like ``\verb+\RomanVol{3}+'' in the
+\fieldname{volume} field. Then, the user could define a counter,
+\verb+RomanVolcounter+, say, in \LaTeX{} and then define
+\cmd{\RomanVol} (similar to \cmd{\BCnt} discussed earlier) as
+\begin{verbatim}
+\newcommand{\RomanVol}[1]{%
+ \setcounter{RomanVolcounter}{#1}\theRomanVolcounter}
+\end{verbatim}
+where \cmd{\theRomanVolcounter} is defined as \verb+\arabic{RomanVolcounter}+
+if \pkg{apacite} is loaded and as \verb+\Roman{RomanVolcounter}+ if another
+package is loaded that desires this. The example with style-specific
+\fname{.bib} files that contain the definitions of journal-strings was already
+given in section~\ref{sec:bib} above. However, many users will not go through
+all this trouble, and not all problems can be solved in this way. So we have
+to realize that not all entries in the \fname{.bib} file will be suitable for
+all citation styles. On the other hand, most citation styles and journals are
+not as critical as APA journals and many styles in psychology and other social
+sciences (including economics) are very similar, so a \fname{.bib} file that
+is tailor-made for \pkg{apacite} is likely to be suitable enough for the
+styles of most relevant alternative journals.
+
+Point~\ref{compat2} above is currently not fulfilled. The \pkg{apacite}
+citation commands are directly based on those of its immediate
+predecessor, \pkg{theapa}. But the use of `|<|' and `|>|' for prefixes
+is not used by other packages. The \pkg{chicago} package uses
+\cmd{\citeA} instead of \cmd{\citeauthor}, many ``numerical'' citation
+styles only recognize \cmd{\cite}, and so forth. Because \pkg{natbib}
+is widely used and versatile, the \pkgoption{natbibapa} option loads
+\pkg{natbib} for the citation commands, thereby allowing at least a
+little ``compatibility'' (actuallu, borrowing) of citation commands.
+
+I think that points~\ref{compat3} and~\ref{compat4} are not that
+important. It seems to me that there is not much wrong with defining
+a style through a combination of a \fname{.sty} and \fname{.bst} file,
+each requiring the other to work. However, given the possibilities and
+philosophy of the \pkg{natbib} package, it is desirable that
+\fname{natbib.sty} can be used with \fname{apacite.bst}. This is the
+case, especially with the \pkgoption{natbibapa} option.
+
+Point~\ref{compat5} is very important, especially with other packages that are
+complementary to \pkg{apacite} in some sense. It would be very annoying having
+to choose between using \pkg{babel} and \pkg{apacite}, or between
+\pkg{hyperref} and \pkg{apacite}, etc. These packages serve totally different
+purposes, cannot usefully be compared, and are more valuable when they can be
+used jointly. The rest of this section addresses this issue for a number of
+packages with which compatibility problems are known to exist or have existed.
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\subsection{\pkg{natbib}}
+\label{sec:compat-natbib}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+The \pkg{natbib} package is a general purpose citation package that is
+intended to work with a broad range of \BibTeX{} (and non-\BibTeX{}) styles
+that generate the bibliography. The \pkg{natbib} package is quite advanced and
+can be used to switch easily between completely different citation styles.
+Furthermore, the apparent popularity of \pkg{natbib} has inspired writers of
+packages that would otherwise be incompatible with \pkg{natbib} to write code
+to resolve these incompatibilities. I will mention some of these packages
+below.
+
+Using \pkg{natbib} for the citations has some advantages over using
+\pkg{apacite} for the citations. Apart from the abovementioned sorting
+of citations within a single citation command, these are mainly
+\pkg{natbib}'s better compatibility with some other important packages,
+although many compatibility problems with \pkg{apacite} have now been
+solved.
+
+When you want to use \pkg{natbib} for citation and \pkg{apacite} for the
+reference list, you still need to load the \LaTeX{} package \fname{apacite.sty}
+(with \cmd{\usepackage}), because of the commands that are included in the
+\BibTeX{} output (as defined in section~\ref{sec:custom} above). The best
+interoperability is obtained by loading \pkg{apacite} with the
+\pkgoption{natbibapa} option. There is then no need to load
+\pkg{natbib} explicitly, because \pkg{apacite} already does this.
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\subsection{\pkg{hyperref}, \pkg{backref}, and \pkg{url}}
+\label{sec:compat-hyper}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+The \pkg{hyperref} package turns (\mbox{cross-}) references into hypertext
+links. This can be used in conjunction with a program such as \latextohtml{} to
+compose \fname{.html} files with clickable links, to internet pages or within
+the same document, or it can be used to create a \fname{.pdf} document with
+clickable crossreferences. Evidently, citations are also references. Therefore,
+the \pkg{hyperref} package transforms these into hypertext links as well, and
+needs to redefine the citation commands and reference list commands in order to
+do so. These redefinitions have caused severe incompatibility problems between
+\pkg{apacite} and \pkg{hyperref} in the past. These incompatibility
+problems have been solved and \pkg{apacite} is compatible with \pkg{hyperref},
+provided that \pkg{apacite} is loaded \emph{after} \pkg{hyperref}.
+However, some of the ``dirty tricks'' I needed for
+complicated examples in section~\ref{sec:xmpl} still conflict with
+\pkg{hyperref}. You will probably not encounter these problems very often, but
+if you do these can be easily solved by editing the \fname{.bbl} file instead of
+using dangerous tricks; see also section~\ref{sec:autindex} below.
+
+The \pkg{backref} package adds to each entry in the bibliography a list of pages
+(or sections) on which it is referenced. Hence, it serves as an alternative to
+an author index, in which not the entries themselves are backreferenced, but the
+authors of these entries, see section~\ref{sec:autindex}. Note that \pkg{natbib}
+offers yet another possibility, viz.\ the citations in the standard index, or a
+separate citation index, see the \pkg{natbib} documentation. In my opinion, the
+\pkg{backref} way of indexing the page numbers of the citations is more logical.
+Moreover, it is more condensed as well.
+
+Obviously, the \pkg{backref} package has to change the citation commands and
+reference list to be able to do its backreferencing. Because \pkg{apacite}
+redefines these as well, they are conflicting to some degree. A similar
+compatibility problem between \pkg{backref} and \pkg{natbib} was noticed by the
+author of \pkg{backref}. Therefore, \pkg{backref} contains some code to make it
+compatible with \pkg{natbib}. This code has been adapted for \pkg{apacite} and
+incorporated in \pkg{apacite}. Thus, \pkg{backref} as a standalone package has
+been made compatible with \pkg{apacite}. The drawback of this solution is that
+if changes are made in the \pkg{backref} package, this may result in new
+incompatibilities with \pkg{apacite} unless \pkg{apacite} is changed as well.
+Whether, and if so, when, this will occur will be a question for the future.
+
+Apart from being a standalone package, \pkg{backref} can also be combined with
+\pkg{hyperref}. It is then not loaded separately, but through the
+\pkgoption{backref} or \pkgoption{pagebackref} option of the \pkg{hyperref}
+package. In this case, the backreferences become hypertext links. See the
+discussion of the \pkg{hyperref} package above.
+
+The \pkg{url} package provides the \cmd{\url} command for formatting URLs, i.e.,
+web addresses. It is typically loaded if \pkg{hyperref} is also loaded, but it
+is very useful on its own as well. There are no compatibility problems with
+\pkg{apacite} and it is not required when using \pkg{apacite}. However, if you
+use the \fieldname{url} field, \pkg{apacite} puts it into a \cmd{\url} command.
+If the \cmd{\url} command is not defined by another package, \pkg{apacite}
+provides a crude definition, so that no errors are generated. But the formatting
+thus obtained usually does not satisfy the APA rules about formatting,
+especially its rules about line breaking within a URL. The default line breaking
+rules of the \pkg{url} package are fairly close to the APA rules, but there are
+some differences. Therefore, \pkg{apacite} provides several URL-styles that
+adhere to the APA line breaking rules, supplemented by the additional
+suggestions in \citeA[p.~645]{chicago}. These styles apply to URL formatting
+through the \cmd{\url} command anywhere in the document, not only in the
+reference list and not only in the \fieldname{url} field.
+
+The only difference between the URL styles defined by \pkg{apacite} is which
+font family they use: \verb+APACtt+ uses \cmd{\ttfamily}, \verb+APACsf+ uses
+\cmd{\sffamily}, \verb+APACrm+ uses \cmd{\rmfamily}, and \verb+APACsame+ does
+not define a font family, and thus uses the font family that is active at the
+start of the URL. \verb+APACtt+ is selected by default, but you can select
+another URL style by inserting the command \cmd{\urlstyle}\marg{style} in your
+document, after \verb+\begin{document}+. See the documentation of the \pkg{url}
+package for more details.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\subsection{Multiple bibliographies}
+\label{sec:compat-chapterbib}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+The \pkg{chapterbib} package allows separate bibliographies for separate
+chapters of a book, or, technically, separate \cmd{\include}d files. To work
+properly, it needs some small changes to the citation package, which are
+clearly described in the \pkg{chapterbib} documentation. These changes have
+been incorporated in \pkg{apacite}, and therefore \pkg{apacite} is compatible
+with \pkg{chapterbib}.
+
+It is generally advisable not to use the \pkgoption{sectionbib} option of
+\pkg{chapterbib}, because this redefines \cmd{\thebibliography}, which
+interferes with the redefinition by \pkg{apacite}. You can use the
+\pkgoption{sectionbib} option of \pkg{apacite} to accomplish that the
+bibliography or bibliographies are sections, rather than chapters.
+
+Moreover, \pkg{apacite} is configured such that it takes a section as default
+if it is in the main matter (signified by \cmd{\mainmatter}) of the document.
+In the back matter (\cmd{\backmatter}) the bibliography is put in a chapter.
+This is also the case if \cmd{\chapter} is defined but \cmd{\mainmatter} not.
+(Is this possible? Perhaps for reports?) Consequently, the
+\pkgoption{sectionbib} option is only useful in specific circumstances. The
+\pkgoption{nosectionbib} forces the bibliography to be a chapter, provided
+\cmd{\chapter} is defined. (I figured a \pkgoption{chapterbib} option would be
+a bit confusing, so I stuck with \pkgoption{nosectionbib}.)
+
+The \pkg{bibunits} package is an alternative to \pkg{chapterbib}. It allows a
+greater flexibility in choosing the scope of a bibliography (chapter, section,
+or arbitrarily defined part of the document). In previous versions, there
+have been some compatibility problems between \pkg{apacite} and \pkg{bibunits},
+but these have now been solved.
+
+The \pkg{multibib} and \pkg{multibbl} packages support using multiple
+bibliographies simultaneously. Thus, one can cite entries from multiple
+bibliographies in the same part of the document. This may be useful of one
+wants thematically different bibliographies or separate bibliographies for
+references in different scripts (e.g., Latin and Greek). These packages
+accomplish this by introducing different citation commands for the different
+bibliographies. \pkg{apacite} contains compatibility code such that these
+packages can be used jointly with \pkg{apacite}.
+
+The \pkg{bibtopic} package offers a similar functionality, but instead of
+using separate citation commands, it requires the user to keep the references
+in different \fname{.bib} files, so that there is one bibliography per
+\fname{.bib} file. \pkg{apacite} contains a little bit of compatibility code,
+which largely seems to work, but ``and'' between authors is always ``\&'', even
+in \cmd{\citeA}. I hope to fix this in a future version of \pkg{apacite}.
+
+Another package that offers similar functionality is \pkg{splitbib}. This
+uses neither different citation commands, nor separate \fname{.bib} files.
+rather, it requires the user to declare the ``category'' of each cited
+reference, typically at the beginning of the document. Again, \pkg{apacite}
+contains compatibility code such that simultaneous redefinitions of some
+of the citation and reference list commands do not conflict.
+
+A few caveats must be mentioned here. First, simultaneous bibliographies
+only work well if it is guaranteed that there are no ambiguities in the
+reference lists. With a single bibliography, ambiguities are resolved at the
+\BibTeX{} stage by adding initials to ambiguous first author names,
+adding additional authors before (or instead of) ``et al.\hbox{}'' to
+ambiguous multiple-author lists, and adding ``a'' and ``b'' suffixed to
+the year for references to different documents with the same authors published
+in the same year. Because, with the exception of \pkg{splitbib}, these
+packages require multiple \BibTeX{} runs on separate selections of references,
+\fname{apacite.bst} can only resolve ambiguities within the same bibliography.
+When there are cross-bibliography ambiguities, these are not resolved. It
+seems like these packages are primarily intended to work with numbered
+citation styles, or otherwise labeled citation styles, so that unique
+cross-bibliography numbers or labels can be generated at the \LaTeX{} stage.
+
+Second, I wrote the compatibility code in early 2006 and have not
+recently tested it thoroughly.
+Please let me know if you encounter problems. Then I'll
+try to fix them or at the least mention them in the next version of the
+manual. In particular, I believe that usage of \cmd{\nocitemeta} is not
+prefectly integrated yet: You may get the ``References marked\dots'' message
+even if the relevant bibliography does not contain marked references,
+or references that are \cmd{\nocitemeta}'d for one bibliography but not
+for another are marked for both. I don't think the \cmd{\nocitemeta}
+command is used much, so I would be surprised if anybody encountered
+such problems, but please let me know if you do. Then I'll try to fix them.
+
+Third, the compatibility code for all of these packages either follows
+instructions given in those packages, or brutally redefines part of the
+code of those packages. If these packages change, this may mean that
+new compatibility problems are created, or that improved features of
+these packages are not available when combined with \pkg{apacite}. I do
+not have the time to regularly check for updates of these packages and
+then study changes and/or test compatibility again. Instead, I only take
+action when a user notifies me of a problem, or I coincidentally find out
+myself. Therefore, again, please let me know if you encounter problems.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\subsection{\pkg{bibentry}}
+\label{sec:compat-bibentry}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\pkg{bibentry} is a package that allows including a complete reference
+list entry in the text (or a footnote, which is arguably more common).
+Previous versions of \pkg{apacite} were incompatible with \pkg{bibentry},
+but I believe this has been fixed now. However, the APA reference format,
+which uses periods to separate the elements of a reference list entry and
+not commas, does not appear to be very suitable for in-text use, so this
+is most likely only useful for footnotes that do not contain any other text.
+Also note that the final period of the reference entry is not suppressed.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\subsection{Programs for conversion to html, rtf, etc.}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+There are several programs that convert \LaTeX{} files to other types
+of files, most notably \fname{html} and \fname{rtf}. This may, for example,
+be useful if you want to publish your document on the internet or if you
+are requested to send a ``Word'' file to a journal. I have received reports
+that \latextohtml{} and \LaTeXrtf{} do not handle documents that use
+\pkg{apacite} well. Therefore, I have studied these programs. This section
+contains my observations. Note that these are quite old and not updated, and
+it is quite likely that the software mentioned in this section has been
+altered (improved) considerably. Therefore, the information may be outdated.
+Please let me know if there are major changes that I should be aware of.
+
+\latextohtml{} is a \Perl{} program that converts a \LaTeX{} input
+file into one or more \fname{.html} files, so that a document that is prepared
+with \LaTeX{} can be used as a (user-friendly) internet document.
+Similarly, \LaTeXrtf{} is a standalone program that converts a \LaTeX{}
+document to \fname{.rtf} format, which can be read by most word processors.
+This may be convenient if you (a \LaTeX{} user) want to share a document with
+someone who does not work with \LaTeX{}, or as mentioned above, if you are
+required to send a ``Word'' file to a journal.
+Both \latextohtml{} and \LaTeXrtf{} implement \LaTeX{} macros etc.\ in
+another programming language (\latextohtml{}: \Perl{}; \LaTeXrtf{}: C) and
+process the \fname{.tex} files directly. This design implies that the
+conversion program must know the definitions of all \LaTeX{} macros that
+are used. A drawback of this design is that essentially the same code has
+to be written in different programming languages (\LaTeX{} macros for the
+\fname{.sty} file, \Perl{} for \latextohtml{}, and C for \LaTeXrtf{}), but
+typically with some adaptations specific for the application at hand.
+
+With \LaTeXrtf{}, the \LaTeX{} macros that it is able to process are included
+in the C source code that is compiled. Consequently, no user additions are
+possible in principle. However, the source code is freely available, so if you
+define a \LaTeX{} macro, you could adapt \LaTeXrtf{}'s source code and
+recompile \LaTeXrtf{}. It is obvious that this is very inconvenient,
+especially if \LaTeX{} macros are defined differently for different styles or
+if they are defined differently in different parts of the same document.
+Version~1.9.15 and higher of \LaTeXrtf{} contains some support for
+\pkg{apacite}, but lags a few versions of \pkg{apacite} behind and thus
+doesn't work with recent versions of \pkg{apacite}. Moreover, even if this
+would be fixed, e.g., because I (or you) send patches to the \LaTeXrtf{}
+authors, this wouldn't do justice to the flexibility of \pkg{apacite}, i.e.,
+its customization options.
+
+In contrast with this, \latextohtml{} allows the possibility to supply
+external \Perl{} scripts. If \latextohtml{} encounters a
+\cmdtwo{usepackage}{package} command in the document, it attempts to read the
+corresponding \opt{package}\fname{.perl} \Perl{} script. \latextohtml{} is
+shipped with many such \Perl{} scripts. There is not one for \pkg{apacite},
+but there is one for \pkg{natbib}, which could possibly be adapted for
+\pkg{apacite}. Alternatively, you could use the \pkg{natbib} citation commands
+and use the \pkg{natbib} package (e.g., through loading \pkg{apacite}
+with the \pkgoption{natbibapa} option), which should work.
+
+An alternative to both \latextohtml{} and \LaTeXrtf{} is \TeXht{}. This is
+a collection of programs and style files that convert \LaTeX{} to
+various formats, such as html, xml, and OpenOffice format. If you have
+OpenOffice, the latter can be used to convert to Word (or rtf) format.
+The principle of \TeXht{} is to let \LaTeX{} do most of the formatting and
+processing of commands, and do the conversion at low-level \TeX{} commands.
+In this way, all newly defined commands and user-defined changes are
+automatically supported. This even carries over to redefinitions of macros
+in the middle of a document. However, for some specific purposes, there are
+some additional things that must be arranged. Therefore, \TeXht{} contains a
+large list of \fname{.4ht} files that are necessary to support various
+\LaTeX{} packages. One of these is the \fname{apacite.4ht} file. The main
+purpose of this file is to make citations into hyperlinks to the corresponding
+entries in the reference list. Currently, this only works partially, but
+the citation text itself is formatted correctly, so this is only a
+relatively minor inconvenience. But, of course, it would be better if this
+would work perfectly. Perhaps I'll study the problems in the future and
+solve this for a future version (although, technically, it is a \TeXht{}
+problem and not an \pkg{apacite} problem).
+
+The choice of which converter to use will typically not (only) depend on how
+good it works in conjunction with \pkg{apacite}. Furthermore, apart from the
+converters mentioned above, there are several additional converters that I
+haven't studied at all. I will only study them if I receive reports about
+incompatibility and even then it is far from certain that I will be willing or
+able to fix the problems. It would be very demanding if I would have to define
+the \pkg{apacite} commands in a large number of programming languages for a
+large number of different converters. Because I prefer the design of \TeXht{}
+and because this converter seems to work best at the moment, I will give a
+bit more attention to this one.
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\section{Generating an author index}
+\label{sec:autindex}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+The \pkg{apacite} package contains an option to (almost) automatically
+generate an author index. This is done by using the \fname{apacitex.bst}
+\BibTeX{} style file instead of \fname{apacite.bst} and loading the
+\fname{apacite.sty} \LaTeX{} package with the \pkgoption{index} option,
+either explicitly or implicitly through one of the \pkgoption{stdindex},
+\pkgoption{tocindex}, \pkgoption{emindex}, or \pkgoption{ltxemindex} options.
+
+In earlier versions of \pkg{apacite}, the \pkgoption{index} option
+automatically loaded the \pkg{index} package for multiple indexes, so that
+you can have a subject index as well as an author index. However,
+the current document uses the standard \pkg{ltxdoc} class for documenting
+\LaTeX{} packages, and this class uses another method for supporting
+multiple indexes, which appears incompatible with the \pkg{index} package.
+I have been unable to resolve these compatibility problems and,
+therefore, have implemented another way to generate an author index in
+addition to other indexes. This uses the same principles as \pkg{ltxdoc}
+and thus does work for this user's manual. As a consequence,
+\pkg{apacite} now offers options that generate the author index either
+with the \pkg{index} package or without it.
+
+The \pkgoption{indexpackage} option implies that author indexing is done
+according to the \pkg{index}-scheme, whereas the \pkgoption{noindexpackage}
+uses the \pkg{ltxdoc}-based scheme. These options are ignored if the
+\pkgoption{index} option of \pkg{apacite} is not requested. When the
+\pkgoption{index} option is requested, the \pkgoption{indexpackage} option
+loads the \pkg{index} package. This is the default unless it is disabled
+by using either the \pkgoption{noindexpackage} option or the
+\pkgoption{ltxemindex} option.
+
+Obviously, the \pkg{index} package must be available in a directory that
+is read by \LaTeX{} if the \pkgoption{indexpackage} option is requested,
+either explicitly or implicitly. If a subject index is desired, it must be
+defined by the user, it is not defined by \pkg{apacite}. See the manual of
+the \pkg{index} package on how to do this. A default author index \emph{is}
+defined by \pkg{apacite}. The author index is then requested by putting
+\begin{verbatim}
+\printindex[autx]
+\end{verbatim}
+at the point in the \LaTeX{} document where the index is supposed to appear.
+To include the author index in the processed document, the following sequence
+must be followed: First, \LaTeX{}, which puts citation entries in the
+\fname{.aux} file. Second, \BibTeX{}, which generates the bibliography in the
+\fname{.bbl} file. Third, \LaTeX{} (at least) twice, which puts index entries
+in a \fname{.adx} file, Fourth, \MakeIndex{}, which uses the \fname{.adx} file
+as input and puts the formatted index in a \fname{.and} file, which can be
+processed by \LaTeX{}. So, if the main document is \fname{filename.tex}, then
+\MakeIndex{} must be called as follows:
+\begin{verbatim}
+makeindex -o filename.and filename.adx
+\end{verbatim}
+although the command with which the \MakeIndex{} program must be called
+may on some systems be slightly different, e.g., \fname{makeinde} or
+\fname{makeindx}. Furthermore, several additional options may be chosen
+on the \MakeIndex{} command line. Fifth, run \LaTeX{} again, which
+(finally) includes the formatted author index in the typeset document
+(\fname{.dvi} or \fname{.pdf} file).
+
+The \pkg{apacite} package provides some options to change the appearance of
+the index somewhat. With (only) the \pkgoption{index} option, the indexing
+facility is turned on, but the \envirname{theindex} environment is not explicitly
+(re)defined by \pkg{apacite}. This means that this environment is defined just
+like in standard \LaTeX{}, or the \pkg{index} package, or some other package
+that has been loaded that redefines this environment.
+
+The \pkgoption{stdindex} option explicitly uses the definition of the
+\envirname{theindex} environment that is defined in the \pkg{index} package
+[1995/09/28 v4.1beta Improved index support (dmj)].
+With this definition, the index does not appear in the table of contents. With
+the \pkgoption{tocindex} option, this definition is augmented with a table of
+contents entry. With the \pkgoption{emindex} option, there are some alternative
+definitions. It writes a table of contents entry as well, but the index itself
+is now set in two columns using the \pkg{multicol} package instead of the
+\cmd{\twocolumn} command, the text of the index is set in small type, and the
+page head is not put in uppercase. The \pkgoption{ltxemindex} option uses
+the same style as the \pkgoption{emindex} option, except that it does not
+load the \pkg{index} package and is thus tailored to a somewhat different
+indexing method.
+
+When a table of contents entry is desired, another additional \LaTeX{} run is
+required to obtain the table of contents with the author index included. In
+exceptional cases, the extra line in de table of contents may cause the text
+to be moved as well, so that it may be necessary to run \MakeIndex{} a second
+time, followed by yet one or two more \LaTeX{} runs.
+
+\DescribeMacro{\APACstdindex}
+\DescribeMacro{\APACtocindex}
+\DescribeMacro{\APACemindex}
+\DescribeMacro{\APACltxemindex}
+The definitions of the index discussed apply to all indexes in the
+document, so to, for example, the subject index as well as the author
+index. This may be undesirable, and therefore \pkg{apacite} provides
+the \cmd{\APACstdindex}, \cmd{\APACtocindex}, \cmd{\APACemindex}, and
+\cmd{\APACltxemindex} commands to switch index styles.
+These correspond to the package options \pkgoption{stdindex},
+\pkgoption{tocindex}, \pkgoption{emindex}, and \pkgoption{ltxemindex},
+respectively. Note, however, that the \pkgoption{ltxemindex} option
+and/or the \cmd{\APACltxemindex} command generally cannot be used in
+a document that uses one of the other styles, and vice versa, because
+the way \pkg{index} works is incompatible with how standard \LaTeX{}
+indexing works.
+
+If you want a different index style, either for all indexes in your document or
+only for some indexes, you can define such a style using the
+\cmd{\renewenvironment} command in the appropriate place. See the standard
+\LaTeX{} documentation for this command. The source code of the four commands
+mentioned here can be used as a template for such a style definition.
+
+Finally, some elements of the formatting of the index itself can be changed
+by using (and/or writing) an \fname{.ist} file containing the preferred
+options. \MakeIndex{} should then be called with the filename of this index
+style file after a ``\verb+-s+'' option on the command line, so, e.g.,
+\begin{verbatim}
+makeindex -s mystyle.ist -o filename.and filename.adx
+\end{verbatim}
+The \MakeIndex{} documentation discusses the possible options that can be put
+into the \fname{.ist} file.
+
+As discussed in sections~\ref{sec:options}, \ref{subsec:fields}, and
+\ref{subsec:labels}, the \pkgoption{suppresscorporate} and
+\pkgoption{includecorporate} options can be used to either
+exclude corporate authors from the author index or include them in it.
+The \cmd{\bibcorporate} command must be used in the \fname{.bib} file
+to denote a corporate author.
+
+For some of the examples from the APA manual, I had to use quite advanced
+\LaTeX{} tricks to obtain the correct formatting in the text, the reference
+list, and the author index; see section~\ref{sec:xmpl} below. This will
+typically not be necessary in practice. In the unlikely event that you
+encounter similar difficult cases, it will usually be sufficient to use
+a relatively simple trick in the \fname{.bib} file. In rare situations,
+this may still give incorrect formatting, most likely in the author index.
+Somewhat less rare is the situation when there is such a problematic case
+but you also want to use the \pkg{hyperref} package. The tricks I used
+conflict with \pkg{hyperref}.
+
+An easy solution to incorrect formatting and/or sorting in the author index is
+to edit the \fname{.bbl} file manually. This should be done at a time when
+\BibTeX{} will not have to be run again. Otherwise, the changes would be
+overwritten by the next \BibTeX{} run. This editing of the \fname{.bbl} file
+is not in the \TeX-spirit, but in my experience---I used it for two books
+with lots of references \cite{meijer1998, WaMe00}, with a previous version of
+\pkg{apacite} that caused a fair amount of problematic cases---this takes very
+little time, usually only minutes. Compare that with the time spent on writing
+a book, or with the time that would be necessary to manually make an author
+index. I also used it more recently for an edited book \cite{dLMe08a}
+with an adapted version of \pkg{apacite}, with essentially the current
+author indexing code, and had to do very little editing. The author index
+of the current document is automatically generated and does not contain
+any manual editing, although it does contain some advanced \LaTeX{} code
+to fix some issues.
+
+\DescribeMacro{\AX}
+The connection between the \fname{.bbl} file and the author index is through
+\cmd{\AX} commands that are entered by \fname{apacitex.bst} in the
+\fname{.bbl} file. These are responsible for the author indexing facilities.
+By looking at the contents of the \fname{.bbl} file, it is not difficult
+to see how problematic cases must be edited. For example, the entry for Bender
+is generated by the following lines:
+\begin{verbatim}
+\AX{bender jdirector
+@Bender, J\BPBI
+ {\protect\bibliteral{(Director)}\protect\indexskipbracenodot}.}%
+\end{verbatim}
+This can be changed to
+\begin{verbatim}
+\AX{bender j
+@Bender, J.}%
+\end{verbatim}
+which is formatted correctly in the author index without the need for
+advanced \LaTeX{} code, and conflicts with \pkg{hyperref} are resolved.
+Note that \pkg{apacite} uses the \opt{key}|@|\opt{visual} form of
+indexing. This form is used in \MakeIndex{} to distinguish between the actual
+representation in the index and the place where it should occur. The \opt{key}
+is used by \MakeIndex{} to sort the entry, but the entry actually appearing in
+the index is \opt{visual}. In the \opt{key} part as formatted by
+\pkg{apacite}, all names are in lower case letters and all accents and
+punctuation are removed. Furthermore, \pkg{apacite} inserts \emph{two} spaces
+between surname and initials, and to \MakeIndex{}, two spaces are different
+from one space. Spaces between surnames are removed, as well as spaces between
+initials. Finally, note that \pkg{apacite} always inserts a new line before
+the ``|@|''. This is to avoid bad line breaks by \BibTeX. To \MakeIndex,
+this means that each citation \opt{key} ends with a space.
+
+The author index of the current document does not contain entries for the authors
+Shocked and Goodenough as cited in section~\ref{sec:xmpl}, although it does for
+the reference list part. The reason for this is that the \fieldname{key} field was
+used for the citations. If you use the \fieldname{key} (and \fieldname{firstkey})
+field and you want the authors in the author index as well, you have to include
+the index command \cmd{\AX} explicitly. For example, the \fieldname{key} field
+for Michelle Shocked is
+\begin{verbatim}
+ key = {{\protect\bibsong{Shocked}{1992}{Over the
+ Waterfall}{track~5}}},
+\end{verbatim}
+and if we change this into
+\begin{verbatim}
+ key = {{\protect\bibsong{Shocked\AX{shocked m
+ @Shocked, M.}}{1992}{Over the Waterfall}{track~5}}},
+\end{verbatim}
+then citations to her are included in the author index.
+
+\DescribeMacro{\corporateAX}
+For corporate authors, the \cmd{\corporateAX} command is used instead of the
+\cmd{\AX} command. Depending on whether the \pkgoption{suppresscorporate}
+option or the \pkgoption{includecorporate} option is requested, either explicitly
+or implicitly, \cmd{\corporateAX} either swallows its argument or is equivalent
+to \cmd{\AX}. To make sure that this ends up correctly in the author index,
+it is important that this command as entered in the \fieldname{key} and/or
+\fieldname{firstkey} field is exactly as output by \fname{apacite.bst} for
+the \fieldname{author} field. The easiest way to accomplish this is to start
+with \fieldname{key} and/or \fieldname{firstkey} fields that do not have
+the \cmd{\corporateAX} command yet. Then, run \LaTeX{} and \BibTeX{} and
+extract the correct \cmd{\corporateAX} command from the \fname{.bbl} file
+and insert this in the \fieldname{key} and/or \fieldname{firstkey} fields.
+Rerun \BibTeX{} and after that proceed as usual. For example, the following
+is an excerpt from an entry for one of the examples from section~3.96 in the
+APA manual:
+\begin{verbatim}
+ author = {{\bibcorporate{National Institute of Mental Health}}},
+ firstkey = {{National Institute of Mental Health [NIMH]}},
+ key = {{NIMH}},
+\end{verbatim}
+If I run \LaTeX{} and \BibTeX{} on the current document, the \fname{.bbl}
+file contains the lines
+\begin{verbatim}
+\corporateAX{nationalinstituteofmentalhealth
+@{\bibcorporate{National Institute of Mental Health}}}%
+\end{verbatim}
+Note the \cmd{\bibcorporate} command and the additional braces. If these
+are left out,
+\begin{verbatim}
+ firstkey = {{National Institute of Mental Health
+ [NIMH]}\corporateAX{nationalinstituteofmentalhealth
+ @{National Institute of Mental Health}}},
+ key = {{NIMH}\corporateAX{nationalinstituteofmentalhealth
+ @{National Institute of Mental Health}}},
+\end{verbatim}
+then this organization gets two separate entries in the author index, which
+is incorrect. Instead, if we copy them literally,
+\begin{verbatim}
+ firstkey = {{National Institute of Mental Health
+ [NIMH]}\corporateAX{nationalinstituteofmentalhealth
+ @{\bibcorporate{National Institute of Mental Health}}}},
+ key = {{NIMH}\corporateAX{nationalinstituteofmentalhealth
+ @{\bibcorporate{National Institute of Mental Health}}}},
+\end{verbatim}
+then everything is as desired. The additional spaces before the ``\verb+@+''
+sign make no difference, but percentage signs should not be included in
+the \fname{.bib} file at the end of lines to hide a line break (as in
+\LaTeX{}), because \BibTeX{} does not recognize the percentage sign as
+a comment. Rather, it includes it in the \fname{.bbl} file and sometimes
+puts additional code behind it, which would then not be read by \LaTeX{}
+because \LaTeX{} does interpret the percent sign as a comment. This
+behavior has now become less likely, because \pkg{apacite} inserts
+numerous line breaks in the \fname{.bbl} file to avoid this problem and,
+more importantly, line breaks inserted by \BibTeX{} at undesired
+locations (e.g., in the middle of a command name or in the argument of
+a \cmd{\url} command), but is still a possibility.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\section{Annotated bibliographies}
+\label{sec:annotate}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+Annotated bibliographies can be obtained by requesting
+\begin{verbatim}
+\bibliographystyle{apacann}
+\end{verbatim}
+instead of
+\begin{verbatim}
+\bibliographystyle{apacite}
+\end{verbatim}
+or
+\begin{verbatim}
+\bibliographystyle{apacannx}
+\end{verbatim}
+instead of
+\begin{verbatim}
+\bibliographystyle{apacitex}
+\end{verbatim}
+The \BibTeX{} style files \fname{apacann.bst} and \fname{apacannx.bst} are
+almost identical to \fname{apacite.bst} and \fname{apacitex.bst}, respectively.
+The only relevant difference is that these styles include the contents of the
+\fieldname{annote} or \fieldname{annotate} field in the output, thereby
+generating an annotated bibliography.
+
+According to \citeA[pp.~810--811]{TLC2}, the \pkg{annotation} style uses the
+\fieldname{annote} field for annotations, whereas the \pkg{annotate} style
+defines the \fieldname{annotate} field for this purpose. To be compatible with
+both, \pkg{apacann} and \pkg{apacannx} support both of these fields. However,
+they are not both included in the output for the same reference, in case
+someone wants to make a file that is compatible with both the \pkg{annotate}
+and \pkg{annotation} styles and thus duplicates the information. In such a case,
+the contents of the \fieldname{annote} field is included in the output.
+
+\DescribeEnv{APACrefannotation}
+The annotation is inserted in the \fname{.bbl} file within a
+\envirname{APACrefannotation} environment. Hence, its formatting can be
+changed by the user by redefining this environment.
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\section{Auxiliary, ad hoc, and experimental commands in
+ \fname{apacdoc.sty}}
+\label{sec:apacdoc}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+Section~\ref{sec:xmpl} below cites all examples from the APA manual.
+This is a test of \pkg{apacite} and a proof that it does what it's
+supposed to do---format citations and reference lists complying with
+the APA rules. However, the APA manual discusses many nonstandard
+issues and several of them need nonstandard treatment. Some of these
+can only be formatted by what I call ``tricking'' the system. This
+has been done by defining several \LaTeX{} commands that are too
+specifically tailored for a certain reference, or ad hoc in other
+ways, or more generally experimental and not well tested, and likely
+to lead to more (compatibility) errors. Therefore,
+I do not consider these commands suitable for inclusion in the
+\pkg{apacite} package proper, that is, the file \fname{apacite.sty}.
+
+They are not important enough for that, and thus you would rarely need
+them, and for most of them I anticipated (or hoped) at one point that
+better solutions would be available in the future. Thus, it seemed
+quite likely that major changes in these commands would be made,
+and I didn't want to feel obliged to keep supporting them for backwards
+compatibility. Rather, I considered these as illustrations of the
+power of \LaTeX{} and templates that users can base their own tricks
+upon. I still largely feel the same way about these commands, although
+I'm not convinced anymore that within reasonable time I will come up
+with elegant solutions that make them obsolete. Nevertheless, I still
+make improvements in this direction.
+
+These auxiliary, ad hoc, and experimental commands are defined in a
+supplementary package file, \fname{apacdoc.sty}. As
+this name indicates, it is a package that is intended to be used
+for the \pkg{apacite} documentation (i.e., the current document).
+It contains several commands and settings (like page margins) that
+are not interesting outside this document. However, as mentioned
+above, I needed many of the commands defined in this file for the
+examples in section~\ref{sec:xmpl}. Thus, you might encounter
+similar situations as well, and these commands may be useful for you.
+
+Because most of the commands in \fname{apacdoc.sty} will not be
+useful for you, it is generally not a good idea to load this file with
+\cmd{\usepackage} to use the commands that are useful to you.
+Instead, if you want to use them, you can copy their definitions
+to the top of your own document or personal style file (say,
+\fname{mysettings.sty}), study their behavior, and perhaps improve
+them. This reflects the ``illustration'' or ``template'' nature
+of these commands.
+
+Accordingly, this section briefly mentions the commands that may
+be useful outside the context of the current document. Thorough
+documentation is outside the scope of this manual; their definitions
+can be studied in the source code of \fname{apacdoc.sty}, and their
+usage is illustrated in section~\ref{sec:xmpl}. I will mildly
+support them, though: If you want to use them, you can ask me
+questions, but I will not put as much effort in fixing possible
+problems as I do with proper \pkg{apacite} issues.
+
+The list below mentions (some of) the numbered examples in
+section~\ref{sec:xmpl} in which the commands are used.
+\begin{description}
+
+\item[\cmd{\biblecite}]
+\DescribeMacro{\biblecite}
+\DescribeMacro{\bibleciteA}
+\DescribeMacro{\bibleciteNP}
+\DescribeMacro{\fullbiblecite}
+\DescribeMacro{\fullbibleciteA}
+\DescribeMacro{\fullbibleciteNP}
+\DescribeMacro{\shortbiblecite}
+\DescribeMacro{\shortbibleciteA}
+\DescribeMacro{\shortbibleciteNP}
+This command, and its siblings \cmd{\bibleciteA}, \cmd{\bibleciteNP},
+\cmd{\fullbiblecite}, \cmd{\fullbibleciteA}, \cmd{\fullbibleciteNP},
+\cmd{\shortbiblecite}, \cmd{\shortbibleciteA}, and
+\cmd{\shortbibleciteNP} are commands for citing the Bible. They
+have one mandatory argument: the relevant chapter and verse, for
+example, |\biblecite{1~Cor.\ 13:1}| (ex.~3.100-3).
+
+\item[\cmd{\bibleversion}]
+\DescribeMacro{\bibleversion}
+This defines the version of the Bible used:
+|\bibleversion{Revised Standard Version}|. Use this before using
+the bible citing commands, typically in the preamble of your document.
+Note that the Bible is not included in the reference list. You can use
+these commands as templates for references to other ``classic'' works.
+See ex.~3.100-3.
+
+\item[\cmd{\citesong}]
+\DescribeMacro{\citesong}
+\DescribeMacro{\citeAsong}
+\DescribeMacro{\citesongNP}
+\DescribeMacro{\fullcitesong}
+\DescribeMacro{\fullciteAsong}
+\DescribeMacro{\fullcitesongNP}
+\DescribeMacro{\shortcitesong}
+\DescribeMacro{\shortciteAsong}
+\DescribeMacro{\shortcitesongNP}
+This command and its siblings \cmd{\citeAsong}, \cmd{\citesongNP},
+\cmd{\fullcitesong}, \cmd{\fullciteAsong}, \cmd{\fullcitesongNP},
+\cmd{\shortcitesong}, \cmd{\shortciteAsong}, and \cmd{\shortcitesongNP}
+cite a song as required by the APA (except for the relative
+placement of closing quotes and comma). See ex.~69.
+
+\item[\cmd{\bibsong}]
+\DescribeMacro{\bibsong}
+For \cmd{\citesong} and its siblings, the \fieldname{key} field
+(and possibly \fieldname{firstkey}) should contain the relevant
+information in the form of a protected \cmd{\bibsong} command:
+\begin{verbatim}
+ key = {{\protect\bibsong{author}{year}{song title}{track info}}},
+\end{verbatim}
+See ex.~69.
+
+\item[\cmd{\bibInstring}]
+\DescribeMacro{\bibInstring}
+This command has one argument. The macro changes the definition of
+the macro \cmd{\BIn} to the argument and then immediately changes
+the definition back to the old definition. So it makes a one-time
+change. Used to change ``In'' a book to ``On'' a CD for citing songs.
+See ex.~69.
+
+\item[\cmd{\BOn}]
+\DescribeMacro{\BOn}
+``On'', for citing songs ``On'' a CD. See ex.~69.
+
+\item[\cmd{\DSMcite}]
+\DescribeMacro{\DSMcite}
+\DescribeMacro{\DSMciteA}
+\DescribeMacro{\DSMciteNP}
+\DescribeMacro{\DSMfullcite}
+\DescribeMacro{\DSMfullciteA}
+\DescribeMacro{\DSMfullciteNP}
+\DescribeMacro{\DSMshortcite}
+\DescribeMacro{\DSMshortciteA}
+\DescribeMacro{\DSMshortciteNP}
+This command and its siblings \cmd{\DSMciteA}, \cmd{\DSMciteNP},
+\cmd{\DSMfullcite}, \cmd{\DSMfullciteA}, \cmd{\DSMfullciteNP},
+\cmd{\DSMshortcite}, \cmd{\DSMshortciteA}, and \cmd{\DSMshortciteNP}
+cite the DSM. See ex.~29. They can also be used for other
+``named'' works. \pkg{natbib} offers a similar functionality
+through the definition of an \emph{alias}, but I think that to
+get this working in the way the APA wants (i.e., the alias is not
+used for the first citation, but only for second and subsequent
+citations), it cannot be directly used. But the technical
+implementation of its functionality may form a useful basis
+for a better (more elegant) solution for this type of citation.
+
+\item[\cmd{\bibDSM}]
+\DescribeMacro{\bibDSM}
+For \cmd{\DSMcite} and its siblings, the \fieldname{key} field
+(and possibly \fieldname{firstkey}) should contain the relevant
+\cmd{\bibDSM} command:
+\begin{verbatim}
+ key = {{\bibDSM{American Psychiatric Association}{Diagnostic
+ and Statistical Manual of Mental Disorders}{4th
+ ed.\hbox{}}{DSM-IV}}},
+\end{verbatim}
+See ex.~29.
+
+\item[\cmd{\DSMauthor},
+\cmd{\DSMfulltitle},
+\cmd{\DSMedition},
+\cmd{\DSMshorttitle}]
+\DescribeMacro{\DSMauthor}
+\DescribeMacro{\DSMfulltitle}
+\DescribeMacro{\DSMedition}
+\DescribeMacro{\DSMshorttitle}
+These four commands extract the four elements of a \cmd{\bibDSM}
+command. They are used in the \cmd{\DSMcite} command and its
+siblings, but may occasionally be useful by themselves.
+
+\item[\cmd{\bibliteral}] \DescribeMacro{\bibliteral}
+This command is used in some of the examples in
+section~\ref{sec:xmpl} to put some literal text into the
+reference list that would otherwise be abbreviated to a
+single ``initial'' at the \BibTeX{} stage. For example, in
+ex.~4.08, the authors are ``Bulatao, E. (with Winford, C.~A.)'',
+where ``(with Winford, C.~A.)'' is inserted by wrapping it
+in a \cmd{\bibliteral} command, which itself is wrapped in
+an additional pair of braces, so that \BibTeX{} treats it a
+a complicated ``accent'' and the argument as a complicated
+single character. This text should not be put in the author
+index, and therefore some manipulation through redefining
+the meaning of this command before and after the reference
+list is used to suppress this text, as well as an additional
+period, there. Used in examples 4.08, 65, 66, 68, and 70.
+
+\item[\cmd{\bibinitial}] \DescribeMacro{\bibinitial}
+This command is similar to \cmd{\bibliteral}. It is used in
+one example (ex.~67), where the ``author'' is a ``(Producer)'',
+but the initial of the author is put in the text because there
+is another author with the same surname (Miller). This
+causes problems not encountered in the examples where
+\cmd{\bibliteral} is used, and after a lot of trial and error,
+the current definition of \cmd{\bibinitial} was developed
+to format this particular author correctly in text, reference
+list, and author index. It looks like this is an improved
+version of the \cmd{\bibliteral} command, so perhaps in the
+next release I'll use \cmd{\bibinitial} for all the examples
+in which now \cmd{\bibliteral} is used.
+
+\item[\cmd{\bibreftext}] \DescribeMacro{\bibreftext}
+This command takes two arguments. By default, it ignores the
+first and inserts the second in the output. In this manual,
+it is redefined before the reference list to ignore its
+second argument and insert the first argument in the output.
+This is used in ex.~17, where the year in the in-text
+citation should be ``1992/1993'', whereas in the reference
+list, it should be 1992 (and the 1993 is mentioned elsewhere).
+For reprints and translations, this is handled automatically
+by \pkg{apacite} if you use the \fieldname{original*} fields,
+but this one is different.
+
+\item[\cmd{\Dutchvon}] \DescribeMacro{\Dutchvon}
+This command is equivalent to \cmd{\bibreftext}, but is used
+for a different situation, and therefore, depending on
+language, subtle style differences, and other preferences,
+you might want to change the definition of one but not of
+the other. This one illustrates how the Dutch way to treat
+``von'' parts of surnames can be handled. It is discussed
+in ex.~B-2, although it is not actually used in the examples,
+because the Dutch way to treat ``von'' parts is not APA
+style.
+
+\item[\cmd{\SwapArgs}] \DescribeMacro{\SwapArgs}
+This command takes two arguments and swaps their order. This
+is useful if you cite a work whose title, (corporate) author,
+or other element starts with an article that should be
+disregarded for ordering. \pkg{apacite} disregards ``a'',
+``an'', and ``the'' in the sorting of titles, but these are
+obviously English. For French, you could say
+\begin{verbatim}
+ title = {\SwapArgs{Marseillaise}{La }},
+\end{verbatim}
+which is thus alphabetized under M. (Not used in the examples.)
+
+\item[\cmd{\swallownext}] \DescribeMacro{\swallownext}
+Eats up the next character. Dangerous but sometimes useful.
+Used in the definitions of some of the following commands.
+
+\item[\cmd{\swallowdot}] \DescribeMacro{\swallowdot}
+Eats up the next character, but only if it's a dot (`.').
+Used in the definitions of some of the following commands.
+
+\item[\cmd{\bibnodot}] \DescribeMacro{\bibnodot}
+Used as |\bibnodot{.}|. Eats the period, but prevents \BibTeX{}
+from adding one. Used in examples 78, 79, 87, 91, and 95.
+This is likely to be useful for many users, and is stable, so it
+may be upgraded to \fname{apacite.sty} in the next release of
+\pkg{apacite}. The only thing against this is that it is used in
+highly unelegant manual formatting of a fairly large piece of the
+description of a reference to a website in a
+\fieldname{howpublished} field. I'd prefer to avoid this, but that
+would require either adding another idiosyncratic field or even
+less elegant trickery in the \fname{.bib} file.
+
+\item[\cmd{\bibskipbracenodot}] \DescribeMacro{\bibskipbracenodot}
+Suppresses the period after a subsequent closing brace. Quickly leads
+to errors because it uses very low level \TeX{} code that (locally)
+changes some fundamental settings. This is used in some examples
+(65, 68) where \cmd{\bibliteral} is used to insert a description
+of a first ``author'', such as ``(Producer)''. This is
+interpreted by \BibTeX{} as a complicated one-letter first
+name, and thus it adds a period to make it into an initial.
+This period is the one that's eaten by this command.
+Used in examples 65 and 68.
+
+\item[\cmd{\indexskipbracenodot}] \DescribeMacro{\indexskipbracenodot}
+This serves the same purpose as \cmd{\bibskipbracenodot}, and it
+uses the same code, but whereas \cmd{\bibskipbracenodot} is
+activated for the reference list, \cmd{\indexskipbracenodot}
+is only activated for the author index. This has technical
+reasons and it does not work under all circumstances. Used in
+examples 4.08-3, 65, 66, and 68.
+
+\item[\cmd{\APACredefineOnce}] \DescribeMacro{\APACredefineOnce}
+This macro takes two arguments: (1) the name of a command (without the
+backslash) and (2) arbitrary \TeX{} code. It then redefines the
+command (1) to the \TeX{} code (2) as a one-time change, so after the
+command (1) has been invoked once, it reverts to its definition before
+\cmd{\APACredefineOnce} was issued. This can be used to redefine, say,
+\cmd{\BRetrievedFrom} from ``Retrieved from'' to ``Retrieved from
+Poverty Alleviation website'' for a single reference but restore it
+to ``Retrieved from'' immediately afterwards.
+
+\item[\cmd{\bibeditortype}] \DescribeMacro{\bibeditortype}
+This has one argument. The macro changes the definitions of the macros
+\cmd{\BED} and \cmd{\BEDS} to the argument and then immediately
+changes the definitions back to their old definitions. So it makes a
+one-time change. This is used when there is someone in an ``editor-type''
+role, but with another designation, such as ``producer'' or ``director''.
+Ex.\ 36, 67, and 68.
+
+\item[\cmd{\renewbibeditortype}] \DescribeMacro{\renewbibeditortype}
+The above-mentioned definition of \cmd{\bibeditortype} is only relevant
+in the reference list: In the citations in the text and in the author
+index, the command should do nothing. Therefore, the command is
+initially defined as ``nothing''. The definition discussed above is
+initialized by \cmd{\renewbibeditortype}. This command is executed
+just before the reference list in the current document. (After the
+reference list, \cmd{\bibeditortype} becomes ``nothing'' again.)
+
+\item[\cmd{\BAbstractRetrieved}] \DescribeMacro{\BAbstractRetrieved}
+This command is similar to \cmd{\BRetrieved}, except that it
+inserts ``Abstract retrieved'' instead of ``Retrieved''. Used in
+examples 82 and 83.
+
+\item[\cmd{\BmakeAbstractRetrieved}]
+\DescribeMacro{\BmakeAbstractRetrieved}
+This command functions much like \cmd{\bibeditortype}: It replaces
+the next instance of \cmd{\BRetrieved} by \cmd{\BAbstractRetrieved}.
+Used in examples 82 and 83.
+
+\item[\cmd{\noedition}] \DescribeMacro{\noedition}
+Suppresses the ``ed.'' (or ``\cmd{\BEd}'', rather) of an
+\fieldname{edition}. Used in examples 92 and 94 to format a
+string like ``Version~4'' as an \fieldname{edition}.
+
+\item[\cmd{\APACmanBeforeBib}] \DescribeMacro{\APACmanBeforeBib}
+Illustrates how some of the commands defined above are used in practice:
+This command is given just before the \cmd{\bibliography} command, and
+redefines some of the commands above, so that their meaning
+is different in the reference list from their meaning in the main text.
+Similar commands: \cmd{\APACmanBeforeIndex}, \cmd{\APACmanAfterIndex}.
+
+\end{description}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\section{Known problems and todo-list}
+\label{sec:todo}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+With any kind of software, there is usually a list with known problems (bugs)
+and desirable future work (to-do), and \pkg{apacite} is no exception. These
+subjects will be discussed in this section.
+
+A class of problems was already discussed in section~\ref{sec:compat} above.
+This concerns the incompatibility of the \fname{.bib} file with other citation
+styles, through \pkg{apacite}-specific fields, APA-specific contents of
+fields, or through special tricks. These lead to correctly formatted
+references in APA style, but may cause problems with using the \fname{.bib}
+file with other styles (in case APA journals reject your article~\ldots). As
+discussed there, however, this problem is unavoidable and presumably not a
+very big problem to most users.
+
+An incomplete list of other known problems and things that I would
+like to do with \pkg{apacite} follows below. Several items of this list
+are the direct result of the tricks I had to use for the examples in
+section~\ref{sec:xmpl} below.
+\begin{itemize}
+\item Fix a bug (which is unlikely to show up) in the \fname{.bst} file:
+ If there are two or more references, published in the same year, each
+ with 6 authors, the first 5 of which are the same but the 6th authors
+ are different, then these lead to ambiguous citations. The same thing
+ happens when one has 6 authors and another 7, with the same first 6
+ authors.
+\item In an \entryname{unpublished} entry, if \fieldname{author} and
+ \fieldname{organization} are equivalent, maybe we should replace
+ the latter with
+ ``Author'' in the output, analogous to the situation where
+ \fieldname{publisher} or \fieldname{institution} are equal to
+ \fieldname{author} in several of the other entry types.
+\item Solve several other rare cases where \pkgoption{apacite} does not
+ correctly implement the APA rules: (p.~175) If additional authors
+ are needed to resolve an ambiguity, end with ``et al.\hbox{}'',
+ even if this is only one author; (p.~179) citing the Qur'an;
+ (p.~184) same last name and same initials, but different first name;
+ (p.~185) ``ca.\hbox{}''; (p.~198) Advance online publication;
+ (p.~202) Abstract retrieved from; (pp.~208, 212) better deal with
+ named archives; (p.~214) uncertain author;
+ update the language files (\fname{.apc}) with correct definitions
+ of new text string commands; finish the examples file.
+ Many of these cases will not be a feature, but an ad-hoc workaround,
+ similar to the tricks that are described in section~\ref{sec:xmpl}.
+ Please contact me if you encounter any of these (or other
+ formatting errors) and need a workaround.
+\item Study referencing legal materials (Appendix~7.1).
+\item Support nonstandard types of authors, like ``Director'' and
+ ``Series Ed.\hbox{}''. This currently must be tricked in a
+ nonelegant way. Perhaps I (or you) can think of a better solution.
+\item If a work is authored by someone, ``with'' someone else: This
+ currently must be tricked in a nonelegant way. Perhaps I (or you)
+ can think of a better solution.
+\item Add more options and/or commands for easier customization of reference
+ list and author index.
+\item Continue with transferring reference list formatting code from
+ \BibTeX{} to \LaTeX.
+\item Introduce options for the \BibTeX{} part, e.g., index vs.\ noindex (so
+ that \fname{apacitex.bst} becomes superfluous); full first names
+ instead of only initials, or perhaps options for putting initials
+ in front of (2nd and later) author names; unsorted reference lists
+ or lists sorted chronologically (forward or reverse; for CVs); etc.
+\item Extend the \cmd{\bibcorporate} command with an optional argument that
+ gives the abbreviated form, so that the \fieldname{firstkey} and
+ \fieldname{key} fields do not have to be used for this common situation.
+\item Define \BibTeX{} macros or strings for commonly encountered
+ journals (at least the APA journals).
+\item Allow \fieldname{lastchecked} fields of the form |2009-02-01| and/or
+ |2009/02/01| and/or other schemes, and translate these into
+ language-specific date strings.
+\item Rewrite and reorganize the documentation; perhaps create a ``getting
+ started'' document.
+\item Improve the source code documentation, esp.\ the formatting,
+ indexing, and cross-referencing. (You only see this if you regenerate
+ this manual with the \cmd{\AlsoImplementation} flag set.)
+\end{itemize}
+Quite likely, other problems will come up when using the current version of
+\pkg{apacite}. I have lots of ideas for improvements, extensions, options, and
+so forth, but not much time to devote to it. Therefore, it is difficult to give
+a good estimate of when I will release a new update. However, in the meantime,
+if you have questions, remarks, suggestions, or bug reports, you can e-mail them
+to me.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\section{Examples of the APA manual}
+\label{sec:xmpl}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+{\bfseries Note: the text of this section has not been updated and
+reflects the working of the [2009/03/01] version of \pkg{apacite}
+vis-\`a-vis the 5th edition of the APA manual. The actual formatting
+is done by the current version of \pkg{apacite} and thus may not
+correspond to the text. This section is retained for the moment, because
+the majority may still be relevant and I haven't finished incorporating
+the examples from the 6th edition yet, and because it describes various
+workarounds and tips that may still be useful.}
+
+In this section, the \pkg{apacite} package is tested by citing the examples of
+the 5th edition of the APA manual \cite[pp.~207--281]{APAManual5}, and some
+additional references for additional purposes.
+
+The following list gives the examples from chapter~3 of the 5th edition of
+the APA manual, with
+section number. For these and all later examples, whenever I thought it
+necessary or desirable, I added some comments. These are indicated by the \EM{}
+symbol. Especially for later examples (from Chapter~4), the comments frequently
+pertain to the corresponding reference list entry.
+
+\begin{itemize}
+\item[3.94] \citeA{3.94-1} compared reaction times\\
+ In a recent study of reaction times \cite{3.94-1}\\
+ In \citeyearNP{3.94-1} \citeauthor{3.94-1} compared
+ reaction times\\
+ In a recent study of reaction times, \citeA{3.94-1}
+ described the method\ldots. \citeauthor{3.94-1} also found
+\item[3.95] \citeA{3.95-1} found\\
+ \citeA{3.95-1} found\\
+ \citeauthor{3.95-1} found\\
+ \fullcite{3.95-2} and \fullcite{3.95-3}\\
+ \citeA{3.95-2} and \citeA{3.95-3}\\
+ \EM It seems that if ``et al.\hbox{}'' would refer to one additional
+ author, then this author is named instead of the ``et al.\hbox{}''
+ clause.\\
+ \citeA{3.95-4} and \citeA{3.95-5}\\
+ as \citeA{3.95-6} demonstrated\\
+ \EM The comma after ``Nightlinger'' in the reference list
+ does not look right, but is explicitly required by the APA.
+ Of course, with people as authors,
+ one almost always has initials (although I have seen
+ an example of an econometrician who only had
+ one name), so this problem is not likely to occur.
+ With nicknames (``screen names'' as they are called in the
+ APA manual below ex. 85) in messages to newsgroups, initials
+ are typically missing, but then there is usually (always?)
+ only one author, so the problem does not exist either.
+ The problem can, however, come up when there are two authors,
+ the first of which is a corporate author, or with artists,
+ e.g., the song ``Into the Groove'' is written by
+ Madonna and Stephen Bray. \\
+ as has been shown \cite{3.95-7}
+\item[3.96] \cite{3.96-1}\\
+ \cite{3.96-1}\\
+ \cite{3.96-2}\\
+ \EM If the \fieldname{firstkey} field is different for different
+ references
+ and the \fieldname{key} field is the same, then, analogous
+ to the use of extra authors in 3.95 above, \pkg{apacite}
+ uses the \fieldname{firstkey} field for all citations:\\
+ \citeA{3.96-3}, \citeA{3.96-4}, \citeA{3.96-5}, \citeA{3.96-6};\\
+ \citeA{3.96-3}, \citeA{3.96-4}, \citeA{3.96-5}, \citeA{3.96-6}.\\
+ Although this is a constructed example, these organizations
+ really exist. The ``Koninklijke Nederlandse Schaakbond''
+ is the Royal Dutch Chess Association and the
+ ``Koninklijke Nederlandse Schaatsbond'' is the Royal Dutch
+ Skating Association. Both are abbreviated to KNSB and
+ presumably, both publish an annual report each year.
+ Furthermore, in these examples, I copied the contents of the
+ \fieldname{author} field to the \fieldname{publisher} field.
+ \pkg{apacite} recognizes this and puts the APA-requirement
+ ``Author'' as publisher description in the reference list.
+ Other styles may prefer the full publisher name again.
+\item[3.97] on free care \cite{3.97-1}\\
+ \EM The order of the
+ closing quotes and the comma is different from the
+ APA manual. I think this one is more logical, although the
+ APA manual's is the conventional one, presumably for
+ aesthetic reasons. I hope to implement this in a future
+ version.\\
+ the book \citeA{3.97-2}\\
+ \cite{3.97-3}\\
+ \EM If two articles both have no author and the title and
+ the year are the same, a's and b's should be used:
+ \citeA{3.97-4}, \citeA{3.97-5}, and \citeA{3.97-6}.
+ The latter two entries are correctly sorted by month,
+ through the way the month macros are defined in
+ the \fname{.bst} files.
+\item[3.98] \citeA{3.98-1} and \citeA{3.98-2} also found\\
+ \citeA{3.98-3} and \citeA{3.98-4} studied
+\item[3.99] Past research \cite{3.99-1,3.99-2}\\
+ Past research \cite{3.99-3,3.99-4,3.99-5}\\
+ Several studies
+ \cite{3.99-6,3.99-7,3.99-8,3.99-9,3.99-10,3.99-11}\\
+ Several studies \cite{3.99-12,3.99-13,3.99-14}\\
+ \EM \pkg{apacite} does not (yet?) sort the cited
+ references in the text (of course it does for the reference
+ list), as required by the APA manual.\\
+ (\citeNP{3.99-15}; see also \citeNP{3.99-16,3.99-17})\\
+ \EM Note that I had to use \cmd{\citeNP} here.
+\item[3.100] \cite{3.100-1}\\
+ \EM This is not an example, but a rule in the text.
+ The ``\bibnodate'' is handled by the \cmd{\bibnodate}
+ macro. It is not clear whether it is really meant that the
+ in-text form is \citeauthor{3.100-1}, \citeyearNP{3.100-1}
+ or the more logically consistent \citeA{3.100-1}.
+ The former can (currently) only be accomplished by using
+ \cmd{\citeauthor} and \cmd{\citeyearNP} explicitly,
+ whereas the latter is simply obtained by \cmd{\citeA}.\\
+ \cite{3.100-1b}\\
+ \EM Again, this is not an example, but a rule in the text.\\
+ \cite{3.100-2}\\
+ \citeA{3.100-3}\\
+ \EM For citations to the bible, I used \cmd{\biblecite} and
+ several obvious variations on it, as discussed in
+ section~\ref{sec:apacdoc}:\\
+ \cmd{\bibleciteA}, first cite: \bibleciteA{1 Cor.\ 13:1}\\
+ \cmd{\bibleciteA}, second cite: \bibleciteA{1 Cor.\ 13:1}\\
+ \cmd{\biblecite}, first cite: \fullbiblecite{1 Cor.\ 13:1}\\
+ \cmd{\biblecite}, second cite: \biblecite{1 Cor.\ 13:1}\\
+ (\cmd{\bibleciteNP}, first cite:
+ \fullbibleciteNP{1 Cor.\ 13:1} and some text surrounding it)\\
+ (\cmd{\bibleciteNP}, second cite:
+ \bibleciteNP{1 Cor.\ 13:1} and some text surrounding it)\\
+ \EM Here, there probably should be a comma if it's the first
+ cite and not a comma when it's a later cite. A difficult one.\\
+ \EM Ancient Greek and Roman works should be treated similarly,
+ i.e., not be listed in the reference list. But it seems to me
+ that title and/or author must be given in the text as well.
+ Maybe I will try to construct a tentative example of this in
+ a future release.
+\item[3.101] \cite[p.~332]{3.101-1}\\
+ \cite[Chapter~3]{3.101-2}\\
+ \EM If you like, you can use the \pkg{apacite}-defined
+ abbreviation commands \verb+\BPG+ and \verb+\BCHAP+.\\
+ \cite[\P~5]{3.101-3}\\
+ \cite[Conclusion section, para.~1]{3.101-4}
+\item[3.102] \EM Personal communication is not really citation and should
+ be done manually:\\
+ T.~K. Lutes (personal communication, April 18, 2001)\\
+ (V.-G. Nguyen, personal communication, September 28, 1998)
+\item[3.103] \cite<see Table~2 of>[for complete data]{3.103-1}
+\end{itemize}
+
+\noindent
+Chapter~4 of the APA manual deals with the reference list
+and only mentions some in-text citation issues in passing.
+Therefore, the rest mainly requires a lot of moving back and forth
+between the reference list and this part. I start with the
+more general part, sections 4.01--4.15, presented similar to
+the sections from chapter~3 as presented above.
+\begin{itemize}
+\item[4.04] \EM First, some examples mentioned in the text:\\
+ \citeA{4.04-t1},
+ \citeA{4.04-t2},
+ \citeA{4.04-t3},
+ \citeA{4.04-t4},
+ \citeA{4.04-t5},
+ \citeA{4.04-t6},
+ \citeA{4.04-t7},
+ \citeA{4.04-t8},
+ \citeA{4.04-t9}\\
+ \EM The APA manual states that prefixes must be treated
+ according to the rules of the language of origin. These rules
+ can differ a lot between languages (and countries) and it
+ is impossible to know all these rules. The APA manual gives two
+ examples, one in which ``De Vries'' is treated as the surname,
+ and one in which ``Helmholtz'' is the surname and ``von'' is
+ the ``von'' part of the name.
+
+ In the former case, the author is referred to as, say, ``De Vries
+ (1999)'' in text and ``De Vries, J. (1999).'', alphabetized under
+ ``D'' in the reference list. In the second example, the author is
+ referred to as, say, ``Helmholtz (1870)'' and listed in the
+ reference list as ``Helmholtz, H. L. F. von. (1870).'',
+ alphabetized under ``H''. To get this right, the author must be
+ defined as
+\begin{verbatim}
+ author = {H. L. F. von Helmholtz},
+\end{verbatim}
+ or
+\begin{verbatim}
+ author = {von Helmholtz, H. L. F.},
+\end{verbatim}
+ then \BibTeX{} will assign the correct parts to the first names,
+ ``von''-part, and last name. The seemingly logical
+\begin{verbatim}
+ author = {Helmholtz, H. L. F. von},
+\end{verbatim}
+ will not be formatted correctly, because ``von'' is now
+ considered to be part of the first names and therefore
+ abbreviated to ``v.''.
+
+ Below, under example B-2, I will further discuss some
+ issues about ``von'' parts.
+
+ \EM The APA manual requires that numerals are alphabetized
+ as if they were spelled out. This is not done by \pkg{apacite},
+ so when applicable should be done by the user, e.g.\ by using
+ the \cmd{\APACSortNoop} command as discussed in
+ section~\ref{subsec:sort}. I give one fictitious example
+ \cite{4.04-t10}.
+
+ \citeA{4.04-1}\\
+ \citeA{4.04-2}\\
+ \citeA{4.04-3}\\
+ \citeA{4.04-4}\\
+ \citeA{4.04-5}\\
+ \citeA{4.04-6}\\
+ \citeA{4.04-7}\\
+ \citeA{4.04-8}\\
+ \citeA{4.04-9}\\
+ \citeA{4.04-10}\\
+ \citeA{4.04-11}\\
+ \citeA{4.04-12}\\
+ \EM As stated in the APA manual, an exception to the rule
+ of sorting by title if author and year are the same occurs
+ when the works are identified as a series. Then ordering
+ the parts of the series sequentially can be done using the
+ \cmd{\APACSortNoop} command.\\
+ \EM Here, it says that only ``A'' and ``The'' are excluded
+ from the sorting (if they are the initial words), but I
+ assume they mean ``An'' as well. This is how it is
+ implemented in \pkg{apacite}.
+
+ \citeA{4.04-13}\\
+ \citeA{4.04-14}\\
+ \EM I have not (yet?) studied referencing legal materials.
+ In the first version of \pkg{apacite}, I defined a
+ \entryname{literal} type, so that the users can
+ literally format such entries themselves. This is still
+ available. However, I think that if you need to refer to
+ legal cases, you can find a way to use the
+ \entryname{misc} type to get it right. I might study this
+ and give examples in a next version of \pkg{apacite}.
+\item[4.05] \citeA{4.05-1}\\
+ \nocitemeta{4.05-2}\citeA{4.05-2}\\
+ \EM Here I used the \cmd{\nocitemeta} command to let
+ \pkg{apacite} know that a meta-analysis is reported and this
+ work is included in it. As you can see, you can still cite
+ the work by using the normal citation commands such as
+ \cmd{\citeA}.
+\item[4.08] \citeA{4.08-1}\\
+ \citeA{4.08-2}\\
+ \citeA{4.08-3}\\
+ \EM To obtain the ``(with \dots)'' description in the
+ reference list, I used the \cmd{\bibliteral} command.
+ Furthermore, to get this formatted correctly in the author
+ index, I used the \cmd{\indexskipbracenodot} command to
+ suppress an additional period. These commands are described
+ in section~\ref{sec:apacdoc}.
+
+ To \BibTeX{}, the \cmd{\bibliteral} construction is a complicated
+ accented character, which is the second initial of the author.
+ Consequently, this does not work properly with styles that put
+ the initials \emph{before} the surnames, and care must be
+ exercised with ``junior'' parts (see ex.~70). Furthermore,
+ this construction must be put between a pair of
+ braces in order for \BibTeX{} to treat it as an accented letter,
+ instead of abbreviating it.
+\item[4.09] \citeA{4.09-1}
+\item[4.10] \citeA{4.10-1}\\
+ \citeA{4.10-2}
+\item[4.11] \citeA{4.11-1}\\
+ \citeA{4.11-2}\\
+ \EM Note that in the \fname{.bib} file, the ``junior'' part comes
+ directly after the surname and a comma, with the initials
+ after the ``junior'' part, whereas in the formatted
+ reference list, the more logical order \opt{surname},
+ \opt{initials}, \opt{junior}, is used.
+\item[4.12] \citeA{4.12-1}
+\item[4.13] \citeA{4.13-1}\\
+ \EM ``For substantial reference works with a large editorial
+ board, naming the lead editor followed by \texttt{et al.} is
+ acceptable''. This is now implemented in \pkg{apacite} as
+ follows: If there are 7 or more editors, only the first one
+ is named, followed by ``et al.\hbox{}'' \cite{4.13-2}.
+\item[4.15] \citeA{4.15-1}\\
+ \EM Here I used the new \fieldname{url} and
+ \fieldname{lastchecked} fields.\\
+ \citeA{4.15-2}
+\end{itemize}
+
+\noindent
+The rest is from section~4.16, the examples section. The section number
+is omitted, but A--I are used instead for the unnumbered examples. For
+the numbered examples, only the number is given.
+The following enumerated list gives the example number, and
+the two basic in-text citation commands, both in a full and
+short form, of the examples.
+\begin{enumerate}
+\item[A-1] \cite{A-1} \\ \cite{A-1} \\ \fullciteA{A-1} \\ \citeA{A-1}
+\item \cite{ex1} \\ \cite{ex1} \\ \fullciteA{ex1} \\ \citeA{ex1}
+\item \cite{ex2} \\ \cite{ex2} \\ \fullciteA{ex2} \\ \citeA{ex2}
+\item \cite{ex3} \\ \cite{ex3} \\ \fullciteA{ex3} \\ \citeA{ex3}
+\item \cite{ex4} \\ \cite{ex4} \\ \fullciteA{ex4} \\ \citeA{ex4}\\
+ \cite{ex4-2} \\ \cite{ex4-2} \\ \fullciteA{ex4-2} \\ \citeA{ex4-2}\\
+ \EM Note that the list of authors can be finished with
+ ``\verb+and others+'' if there are more than 6 authors, or
+ all authors can be given, in which case \pkg{apacite} truncates
+ the list after the first~6. For compatibility with other styles,
+ the latter is preferable.
+\item \cite{ex5} \\ \cite{ex5} \\ \fullciteA{ex5} \\ \citeA{ex5}
+\item \cite{ex6} \\ \cite{ex6} \\ \fullciteA{ex6} \\ \citeA{ex6}
+\item \cite{ex7} \\ \cite{ex7} \\ \fullciteA{ex7} \\ \citeA{ex7}\\
+ \EM Here, I used
+\begin{verbatim}
+ month = spring,
+\end{verbatim}
+ using the new \verb+spring+ macro defined in the \fname{.bst} files.
+\item \cite{ex8} \\ \cite{ex8} \\ \fullciteA{ex8} \\ \citeA{ex8}\\
+ \EM Here, again, the order of the closing quotes and the
+ following comma should be reversed according to the APA rules.\\
+ \EM The \fieldname{month} field is formatted as
+\begin{verbatim}
+ month = aug # "/" # sep,
+\end{verbatim}
+ which uses the month macros and \BibTeX's concatenation
+ operator `\verb+#+'.
+\item \cite{ex9} \\ \cite{ex9} \\ \fullciteA{ex9} \\ \citeA{ex9}\\
+ \EM Here, again, the order of the closing quotes and the
+ following comma should be reversed according to the APA rules.
+\item \cite{ex10} \\ \cite{ex10}\\ \fullciteA{ex10}\\ \citeA{ex10}
+\item \cite{ex11} \\ \cite{ex11}\\ \fullciteA{ex11}\\ \citeA{ex11}\\
+ \EM Apparently, a weekly newspaper is not a magazine and should
+ therefore include ``p.\hbox{}'' or ``pp.\hbox{}'' in front of
+ the page
+ number(s), whereas a magazine article should not. I do not
+ understand the distinction very well and find it not very
+ useful as well, but will adhere to it. It means that the
+ \entryname{newspaper} type gets the ``pp.\hbox{}'', whereas
+ \entryname{magazine} and \entryname{article}, which are now
+ identical, do not.
+\item \cite{ex12} \\ \cite{ex12}\\ \fullciteA{ex12}\\ \citeA{ex12}\\
+ \EM Here, \verb+\emph{DSM-IV}+ must be entered without an extra
+ pair of braces in the title field; see ex.~73 for the intricacies
+ of braces and \verb+\emph+ in the title field.
+\item \cite{ex13} \\ \cite{ex13}\\ \fullciteA{ex13}\\ \citeA{ex13}\\
+ \EM Here, the \fieldname{number} field is \verb+1, Serial No.~231+.
+\item \cite{ex14} \\ \cite{ex14}\\ \fullciteA{ex14}\\ \citeA{ex14}\\
+ \EM Here, the \fieldname{number} field is \verb+3, Pt.~2+.
+\item \cite{ex15} \\ \cite{ex15}\\ \fullciteA{ex15}\\ \citeA{ex15}
+\item \cite{ex16} \\ \cite{ex16}\\ \fullciteA{ex16}\\ \citeA{ex16}
+\item \cite{ex17} \\ \cite{ex17}\\ \fullciteA{ex17}\\ \citeA{ex17}\\
+ \EM This case is the opposite of the more common situation where a
+ reprint is cited and an original publication year is given. I could
+ implement similar code to handle this case (and I may if I get requests
+ to do this), but for the moment, I decided to trick the system: I
+ used the \cmd{\bibreftext} command mentioned in
+ section~\ref{sec:apacdoc}. It must be called with two
+ arguments. Initially, it places the second argument in the text, but
+ just before the bibliography, its definition is changed so that the
+ first argument is placed in the reference list. By defining
+\begin{verbatim}
+ year = {{\protect\bibreftext{1992}{1992/1993}}},
+\end{verbatim}
+ in the \fname{.bib} file, the year is ``1992'' in the reference
+ list and ``1992/1993'' in the text citations. The \cmd{\protect}
+ is necessary to make sure that the \cmd{\bibreftext} macro is not
+ written out in the label-part of the bibliography, because then
+ only ``1992'' would appear in the text reference. The additional
+ pair of braces are necessary to make sure that the entry
+ is alphabetized correctly. When these are omitted, the entry
+ is alphabetized under the ``P'' of ``protect''. Of course, the
+ latter is only important if the reference list contains
+ multiple works by the same author(s), but the same phenomenon
+ is encountered when the \fieldname{author} or \fieldname{editor}
+ field starts with a command, or when there is no author or editor
+ and the \fieldname{title} field starts with a command, as in
+ the entry \citeA{4.04-t10} introduced in 4.04 above.
+
+ Of course, you can save yourself a lot of trouble by
+ obtaining the original article and citing that.
+\item \cite{ex18} \\ \cite{ex18}\\ \fullciteA{ex18}\\ \citeA{ex18}\\
+ \EM Here, the \fieldname{number} field is \verb+Suppl.~2+.
+\item \cite{ex19} \\ \cite{ex19}\\ \fullciteA{ex19}\\ \citeA{ex19}\\
+ \EM Other styles treat the \emph{Annual Review} as a book
+ (\emph{Sociological Methodology} is an even stronger example),
+ so this is a point where the \fname{.bib} file becomes
+ highly incompatible between styles. This cannot be avoided.
+\item \cite{ex20} \\ \cite{ex20}\\ \fullciteA{ex20}\\ \citeA{ex20}\\
+ \EM Here, the \fieldname{englishtitle} field is used for the
+ English translation of the German title. To get the German
+ capitalization of the title right, the capitalized words must
+ be protected by an additional pair of braces.
+\item \cite{ex21} \\ \cite{ex21}\\ \fullciteA{ex21}\\ \citeA{ex21}\\
+ \EM Apparently, a translator and original publication date
+ do not have to be mentioned here.
+\item Seidenberg and McClelland's study \cite<as cited in>{ex22}\\
+ %\cite{ex22} \\ \cite{ex22}\\ \fullciteA{ex22}\\ \citeA{ex22}\\
+ \EM The APA website (\url{http://www.apastyle.org/faqs.html})
+ mentions that the year should generally also be mentioned,
+ making it a complete cite, except that there is no reference
+ list entry. In my opinion, it would be better to list the
+ complete original work in the reference list as well, in case
+ readers do have access to the original work, but not to the
+ secondary source. But this is not the APA rule. \\
+ \EM You may like to have the authors of the unlisted reference
+ in the author index as well. Use the \cmd{\AX} command for
+ this, as explained in section~\ref{sec:autindex}.
+\item[B-1] \cite{B-1} \\ \cite{B-1} \\ \fullciteA{B-1} \\ \citeA{B-1}
+\item \cite{ex23} \\ \cite{ex23}\\ \fullciteA{ex23}\\ \citeA{ex23}\\
+ \EM Here, and in several other references, I put \verb+\hbox{}+
+ after the ``\verb+Jr.+'', so that \TeX{} does not consider the
+ period as a sentence-ending period.\\
+ \EM \pkg{apacite} now supports only an integer value (``\verb+3+'')
+ in the \fieldname{edition} field, and transforms this to
+ ``3rd''.
+\item \cite{ex24} \\ \cite{ex24}\\ \fullciteA{ex24}\\ \citeA{ex24}\\
+ \EM The APA manual gives a number, which would not ordinarily be
+ done with proper books and which suggests that it could also
+ be treated as a report. In that case, the default
+ ``Tech.\ Rep.\hbox{}''
+ description should be left out, however. This can be accomplished
+ by defining
+\begin{verbatim}
+ type = {\bibnotype},
+\end{verbatim}
+ which flags that the type must be left out, see ex.~42.
+ However, for books, it now works fine leaving the \fieldname{type}
+ field empty and giving the number in the \fieldname{number} field.
+\item \cite{ex25} \\ \cite{ex25}\\ \fullciteA{ex25}\\ \citeA{ex25}\\
+ \EM According to the note after ex.~25 in the APA manual,
+ an edited book with ``just one'' author should list
+ the editor (and translator, when available) after the
+ title, just like the translator. An example of this is
+ \citeA{ex25-t1}. (Should the original years of publication
+ be used here?)
+
+ However, what does ``just one author'' mean here? Does it mean that if
+ there are 2 authors and 1 or more editors, the editors should
+ not be mentioned, or the authors should not be mentioned?
+ Presumably, it means the following:
+ In the default case, an edited book consists of several chapters,
+ with different chapters written by different authors. In this case,
+ the reference to the whole book lists only the editor(s).
+ If every chapter is written by the same author, and there are 1
+ or more editors, their condition holds. I think that if all
+ chapters are written by the same $n$ ($\geq 2$) authors, it should
+ also be treated in this way, i.e., with the authors in the
+ author position and the editor behind the title. A difficult
+ case would appear if the book were a collection of works of, say,
+ 2 authors, with some chapters written by one and some by the
+ other, and some jointly, as in \citeA{ex25-t2}. These choices have
+ to be made by the user, however, \pkg{apacite} will format author,
+ editor, and translator, whenever available.
+\item \cite{ex26} \\ \cite{ex26}\\ \fullciteA{ex26}\\ \citeA{ex26}\\
+ \EM According to section~3.97, the title should be in italics.
+ In this example, in the citation, it is not given in italics,
+ but this must be an error, because they do give it in italics
+ on p.~219 (but give no date there).
+\item \cite{ex27} \\ \cite{ex27}\\ \fullciteA{ex27}\\ \citeA{ex27}\\
+ \EM Here, the \fieldname{edition} field has value
+ ``\verb+Rev.\hbox{}+'' and \pkg{apacite} handles this
+ noninteger value correctly as well.
+\item \cite{ex28} \\ \cite{ex28}\\ \fullciteA{ex28}\\ \citeA{ex28}\\
+ \EM Use the en-dash (``\verb+--+'') and not simply a hyphen
+ (``\verb+-+''), because the latter is not considered to mean
+ ``to'' by \pkg{apacite} (cf.\hbox{} ``Vol.~A-1'').
+\item \EM As mentioned in section~\ref{sec:apacdoc}, \fname{apacdoc.sty}
+ provides the \cmd{\DSMcite} macro and some related
+ alternatives to get the \emph{DSM} references right. On rereading
+ the description in the APA manual, I discovered that previous
+ versions of \pkg{apacite} did not format the first citation
+ correctly, although the description is a bit ambiguous as to
+ how exactly the first citation should be formatted. Therefore,
+ I looked at a recent issue of
+ \emph{Journal of Abnormal Psychology}, \emph{116}(3); and
+ \emph{Psychological Assessment}, \emph{19}(2). These show
+ some slight variations, some of which have good reasons, but
+ others seem arbitrary. In all articles I looked at, the first
+ citation was an in-text citation, and the following form was
+ the most frequently used, and thus implemented in
+ \fname{apacdoc.sty}:\\
+ \cmd{\DSMciteA}, first citation: \DSMciteA{ex29} \\
+ \EM The following citations then only use the abbreviated title:\\
+ \cmd{\DSMciteA}, second citation: \DSMciteA{ex29} \\
+ \EM Because I haven't found a parenthetical first cite, I
+ have to use some logic and common sense to define it:\\
+ \cmd{\DSMcite}, first citation: \DSMfullcite{ex29} \\
+ \EM Subsequent parenthetical cites are formatted as\\
+ \cmd{\DSMcite}, second citation: \DSMcite{ex29} \\
+ \EM Finally, here are ``\verb+NP+'' versions of them:\\
+ \cmd{\DSMciteNP}, first citation: \DSMfullciteNP{ex29} \\
+ \cmd{\DSMciteNP}, second citation: \DSMciteNP{ex29} \\
+ To use these citation commands, you have to provide a
+ \fieldname{key} field that contains a \cmd{\bibDSM}
+ command:
+\begin{verbatim}
+ key = {{\bibDSM{American Psychiatric Association}{Diagnostic
+ and Statistical Manual of Mental Disorders}{4th
+ ed.\hbox{}}{DSM-IV}}},
+\end{verbatim}
+ As is evident from this example, the four arguments are
+ author, full title, edition, short title. Thus, because
+ all this information is provided in the \fname{.bib}
+ entry (and not preprogrammed in \pkg{apacite}), it is
+ conceivable that this command is useful for other types
+ of works as well. The generality is a bit limited, though,
+ because all four arguments must be available and have
+ meaningful content (i.e., should not be empty). But it
+ is relatively straightforward to write your own specialized
+ citation commands, based on the \cmd{\DSMcite} code,
+ which do not require all parts to be available.
+
+ However, the \cmd{\DSM*} macros are still very rough. Multiple
+ citations are not handled well, so only one work should
+ be cited with such a macro. Furthermore, the pre- and
+ postfixes (through \verb+<...>+ and \verb+[...]+) are not
+ available. Note also that the edition should be spelled
+ out as ``\verb+4th ed.\hbox{}+''. When I experimented with
+ just ``\verb+4+'', trying to use the \cmd{\PrintOrdinal}
+ function, things went terribly wrong. Even if I put
+ \verb+\PrintOrdinal{4}+ in the \fieldname{key} field, it
+ didn't work. Finally, the ``ed.\hbox{}'' must be added
+ to allow reference to the ``3rd ed., rev.\hbox{}'' and the
+ ``4th ed., text rev.\hbox{}'' as well.
+
+ \EM In some of the articles I studied, ordinary citations
+ were used, esp.\ when page numbers were given in
+ parenthetical cites. Thus, you can also use\\
+ \verb+\cite[p.~25]{ex29}+: \cite[p.~25]{ex29}
+\item \cite{ex30} \\ \cite{ex30}\\ \fullciteA{ex30}\\ \citeA{ex30}\\
+ \EM Here, ``6th ed.'' comes before ``Vols.\ 1--20'', so it is
+ Vols.\ 1--20 of the 6th edition. Pre-[2003/09/05] versions
+ of \pkg{apacite} placed volumes before editions,
+ which is appropriate when different volumes of a series
+ are not updated jointly, so that you may have the 3rd edition
+ of Vol.~2, but only the 1st edition of Vol.~6. Should you
+ want this, you have to trick the system by putting both
+ elements in the \fieldname{edition} field:
+\begin{verbatim}
+ edition = {\BVOLS\ 1--20, 6th},
+\end{verbatim}
+ and leaving the \fieldname{volume} field empty.\\
+ \EM Does the remark about large editorial boards mean that the
+ APA intended to add ``et al.\hbox{}'' here? Anyway, here is an
+ example of such a situation: \citeA{ex30-2}.
+\item \cite{ex31} \\ \cite{ex31}\\ \fullciteA{ex31}\\ \citeA{ex31}
+\item \cite{ex32} \\ \cite{ex32}\\ \fullciteA{ex32}\\ \citeA{ex32}
+\item \cite{ex33} \\ \cite{ex33}\\ \fullciteA{ex33}\\ \citeA{ex33}\\
+ \EM This illustrates that a \fieldname{type} field can be used
+ with a \entryname{book} entry.
+\item[B-2] \cite{B-2} \\ \cite{B-2} \\ \fullciteA{B-2} \\ \citeA{B-2} \\
+ \EM This is a suitable point to discuss ``von'' parts further.
+ One of the editors in the current example is called
+ P. van den Broek. I am Dutch and I recognize this as a Dutch
+ name, so let's assume that this person is Dutch. Let us now
+ consider the situation that this person is the (only) author.
+ Then according to the Dutch rules, this person would be listed in the
+ reference list as ``Broek, P. van den. (1992)'' and listed under ``B'',
+ but referred to in the text as ``Van den Broek (1992)'', including
+ the ``von'' part and capitalizing the first letter. When an
+ initial precedes the ``von'' part (e.g., when there are two
+ primary authors with this surname, but with different initials),
+ then this person would be referred to in the text as
+ ``P. van den Broek (1992)'', including the ``von'' part, but now
+ in lower case. The Dutch rules are very difficult to do right in
+ \BibTeX{}/\LaTeX{} and they conflict with the rules for other
+ languages, and presumably with the rules of the APA, which would
+ require this person to be alphabetized under ``V'', at least.
+
+ For the current editor position, there is no big problem with
+ the APA rules. The ``von'' part can really be put in the ``von''
+ part as recognized by \BibTeX{}, which I did, or it can be enclosed
+ in braces, making the whole last name one part. Either will come
+ out right and the editor will not be referred to in the text
+ anyway. With styles that put the initials behind the surname,
+ it will only work right when put in the ``von'' part. In the
+ author position, however, things are different. Then this author
+ could be formatted as
+\begin{verbatim}
+ author = {Van {\lowercase{D}}en Broek, P.},
+\end{verbatim}
+ where the \verb+{\lowercase{D}}+ construction is used to prevent
+ \BibTeX{} from interpreting it as a ``von'' part, or
+\begin{verbatim}
+ author = {Van{\ }den{\ }Broek, P.},
+ author = {{Van den Broek}, P.},
+\end{verbatim}
+ which in most situations gives the correct version according to the
+ Dutch rules with the correct alphabetizing according to the APA
+ rules. Only in situations when the initial would appear
+ \emph{before} the surname (when there are other authors with the
+ same surname or when using other styles), this would lead to
+ unwanted results.
+
+ If you really want to alphabetize according to the Dutch rules
+ (which is \emph{not} APA in my interpretation), you can use the
+ following trick. \fname{apacdoc.sty} defines a macro \cmd{\Dutchvon}
+ with two arguments, which is equivalent to the \cmd{\bibreftext}
+ macro discussed in ex.~17 above. That is, in the beginning
+ of the document, it is defined as echoing its second argument,
+ and just before the reference list, it is redefined to echo
+ its first argument. Then define the author as
+\begin{verbatim}
+ author = {van den {\protect\Dutchvon{Broek}{Van den Broek}}, P.},
+\end{verbatim}
+ which, combined with the \pkg{apacite} formatting implies
+ that in text, ``Van den Broek'' is used, whereas the author
+ is alphabetized under ``B'' in the reference list, and listed
+ as ``Broek, P. van den''. Of course, we could simply have
+ used \cmd{\bibreftext} again, but that was used to cover a
+ completely different situation, and I can easily imagine that
+ when switching to another citation style, the former application
+ (i.e., 1992/1993) must be kept, but the ``von'' part is handled
+ differently, so that \cmd{\Dutchvon} must be redefined.
+ Based on this example, users should be able to define their
+ own tricks for similar peculiarities.
+
+ Finally, note that in Belgium, where many people
+ speak Dutch as well, it is customary to alphabetize under ``V''
+ anyway (``Van Damme'').
+\item \cite{ex34} \\ \cite{ex34}\\ \fullciteA{ex34}\\ \citeA{ex34}
+\item \cite{ex35} \\ \cite{ex35}\\ \fullciteA{ex35}\\ \citeA{ex35}\\
+ \EM The series title, volume number, and volume title are all
+ put into the \fieldname{booktitle} field.
+\item \cite{ex36} \\ \cite{ex36}\\ \fullciteA{ex36}\\ \citeA{ex36}\\
+ \EM Again, the series title, volume number, and volume title are
+ all put into the \fieldname{booktitle} field.\\
+ \EM I had to use some tricks to get the Series and Volume Editors'
+ descriptions right. The ``(Series Ed.\hbox{})'' is according to
+ \BibTeX{} part of the last name of the first editor,
+ and I used the \cmd{\bibeditortype} macro from
+ \fname{apacdoc.sty} to get the volume editor right.
+ See section~\ref{subsec:fields} for my interpretation of
+ APA's usage of the term ``series''.
+\item \cite{ex37} \\ \cite{ex37}\\ \fullciteA{ex37}\\ \citeA{ex37}\\
+ \EM Note that ``Van'' in the first editor's surname is
+ capitalized here, as in the APA manual. In the original Dutch,
+ this would be in lower case.
+\item \cite{ex38} \\ \cite{ex38}\\ \fullciteA{ex38}\\ \citeA{ex38}
+\item \cite{ex39} \\ \cite{ex39}\\ \fullciteA{ex39}\\ \citeA{ex39}\\
+ \EM Here, it is stated that the translator's name should be put
+ after the editor's name when both are different, but in ex.~40,
+ the translators are put after the title, before the editors.
+ Apparently, if the book is a collection of works by one
+ author(-group), edited and translated, then the translator
+ should come after the editor, but if different chapters
+ are translated by different translators, or perhaps not all
+ are translated works, then the translator should come after
+ the title. Of course, \pkg{apacite} has no way of knowing this.
+ In the current implementation, for an \entryname{incollection},
+ if the editor and translator are the same, they are formatted as
+ in this example, whereas if they are different, they are treated
+ as in ex.~40 below. I think this will be satisfactory in
+ most cases. If you really want the translator after the editor
+ when they are different, you can trick the system in a way
+ similar to ex.~36.
+\item \cite{ex40} \\ \cite{ex40}\\ \fullciteA{ex40}\\ \citeA{ex40}\\
+ \EM See my comments to ex.~39 above.
+
+ A test of the \fieldname{originaljournal} formatting:
+ \citeA{ex40-t1}.
+\item[C-1] \cite{C-1} \\ \cite{C-1} \\ \fullciteA{C-1} \\ \citeA{C-1}\\
+ \EM The APA manual initially formats the number with an
+ en-dash: ``91--5''. When it discusses the number separately,
+ however (p.~256), it uses a single hyphen: ``91-5''. Logically,
+ the latter makes more sense to me (and is generally used in
+ other numbers in the APA manual as well), so that's what I
+ did here. Moreover, if the en-dash would be entered as
+ ``\verb+--+'' in the \fieldname{number} field, \pkg{apacite}
+ would interpret this as ``to'' and insert ``Nos.\hbox{}''
+ instead of ``No.\hbox{}''. Thus, if you want the en-dash,
+ you have to put this in the \fname{.bib} file in a different
+ way, e.g., using the \cmd{\textendash} command.
+\item \cite{ex41} \\ \cite{ex41}\\ \fullciteA{ex41}\\ \citeA{ex41}
+\item \cite{ex42} \\ \cite{ex42}\\ \fullciteA{ex42}\\ \citeA{ex42}\\
+ \EM I used the \cmd{\bibnotype} command to suppress the default
+ ``(Tech.\ Rep.\hbox{})'' description. Actually, I don't think
+ there is anything wrong with calling a report a report, be it
+ ``technical'' by default, or by specifying
+\begin{verbatim}
+ type = {Report},
+\end{verbatim}
+ except that it's not done so in this specific example in the
+ APA manual. But there does not seem to be a rule against it.
+
+ \EM The NTIS information is put in a \fieldname{note} field.
+\item \cite{ex43} \\ \cite{ex43}\\ \fullciteA{ex43}\\ \citeA{ex43}\\
+ \EM The ERIC number is given in the \fieldname{note} field.
+\item \cite{ex44} \\ \cite{ex44}\\ \fullciteA{ex44}\\ \citeA{ex44}
+\item \cite{ex45} \\ \cite{ex45}\\ \fullciteA{ex45}\\ \citeA{ex45}
+\item \cite{ex46} \\ \cite{ex46}\\ \fullciteA{ex46}\\ \citeA{ex46}\\
+ \EM Note that in the example in the APA manual, ``Western Australia''
+ \emph{is} mentioned in the publisher location, whereas their rule
+ explicitly states that this should not be the case in this
+ situation, and they stress that again below the example.
+ Therefore, I did not mention ``Western Australia'' in the
+ \fieldname{publisher} field.
+\item \cite{ex47} \\ \cite{ex47}\\ \fullciteA{ex47}\\ \citeA{ex47}
+\item \cite{ex48} \\ \cite{ex48}\\ \fullciteA{ex48}\\ \citeA{ex48}
+\item \cite{ex49} \\ \cite{ex49}\\ \fullciteA{ex49}\\ \citeA{ex49}
+\item \cite{ex50} \\ \cite{ex50}\\ \fullciteA{ex50}\\ \citeA{ex50}
+\item \cite{ex51} \\ \cite{ex51}\\ \fullciteA{ex51}\\ \citeA{ex51}\\
+ \EM As of this version of \pkg{apacite}, the location of a
+ \entryname{lecture} can be given in the \fieldname{address}
+ field.
+\item \cite{ex52} \\ \cite{ex52}\\ \fullciteA{ex52}\\ \citeA{ex52}
+\item \cite{ex53} \\ \cite{ex53}\\ \fullciteA{ex53}\\ \citeA{ex53}
+\item \cite{ex54} \\ \cite{ex54}\\ \fullciteA{ex54}\\ \citeA{ex54}
+\item \cite{ex55} \\ \cite{ex55}\\ \fullciteA{ex55}\\ \citeA{ex55}\\
+ \EM It seems logical to suppress the original year in the
+ citation if it's the same as the year of the abstract, cf.\
+ the comment to ex.~17 in the APA manual (5th ed., p.~245).
+
+ \EM According to example 54 and the text below it, an ``A''
+ or ``B'' should be added to the volume number of \emph{DAI}
+ of this entry, presumably an ``A'', but because they did not
+ give one, I left it out as well.
+\item \cite{ex56} \\ \cite{ex56}\\ \fullciteA{ex56}\\ \citeA{ex56}
+\item \cite{ex57} \\ \cite{ex57}\\ \fullciteA{ex57}\\ \citeA{ex57}\\
+ \EM In ex.~59, the city should not be mentioned because it is
+ already mentioned in the name of the university. Here, the
+ city \emph{is} mentioned again, which seems contradictory.
+ This is all in the \fname{.bib} file; \pkg{apacite} uses
+ whatever is given there, so this is not a formatting problem
+ for \pkg{apacite} itself.
+\item \cite{ex58} \\ \cite{ex58}\\ \fullciteA{ex58}\\ \citeA{ex58}
+\item \cite{ex59} \\ \cite{ex59}\\ \fullciteA{ex59}\\ \citeA{ex59}\\
+ \EM See ex.~57 for the city issue.
+\item \cite{ex60} \\ \cite{ex60}\\ \fullciteA{ex60}\\ \citeA{ex60}
+\item \cite{ex61} \\ \cite{ex61}\\ \fullciteA{ex61}\\ \citeA{ex61}\\
+ \EM The description of the data goes into the
+ \fieldname{type} field. It may be more logical to put it
+ in the \fieldname{title} field, with some trickery to indicate
+ that it's a description and not a title, but putting it in the
+ \fieldname{type} field already ensures that it's formatted
+ correctly, so I think I'm gonna be lazy on this one. The same
+ applies more or less to reviews (G-1, 63, 64), although there
+ it is logical to put at least ``Review'' in the \fieldname{type}
+ field, so as we're already there, we might as well make it
+ complete.
+\item \cite{ex62} \\ \cite{ex62}\\ \fullciteA{ex62}\\ \citeA{ex62}\\
+ \EM ``Available from'' an address should be spelled out in the
+ \fieldname{note} field, to get the parentheses. ``Available
+ from'' a website is without parentheses, see ex.~95.
+\item[G-1] \cite{G-1} \\ \cite{G-1} \\ \fullciteA{G-1} \\ \citeA{G-1}\\
+ \EM See my comments to ex.~61 above about the logic of the
+ \fieldname{type} field. For a review, the \fieldname{type}
+ field must contain the message that it is a review of a
+ \emph{book} (or motion picture, or whatever it is a review of)
+ and give the title of the reviewed work in italics, which must
+ be manually formatted, e.g., by using the \cmd{\APACcitebtitle}
+ macro. The author of the reviewed work should apparently not be
+ mentioned.
+\item \cite{ex63} \\ \cite{ex63}\\ \fullciteA{ex63}\\ \citeA{ex63}
+\item \cite{ex64} \\ \cite{ex64}\\ \fullciteA{ex64}\\ \citeA{ex64} \\
+ \EM Here, the title of the motion picture,
+ \APACcitebtitle{Discovering Psychology}, is capitalized,
+ whereas this was not done with book titles in ex.~G-1 and 63.
+ I don't know whether this is an error or an implicit rule,
+ but this formatting must be done in the \fname{.bib} file,
+ so it's up to the user to do this as desired.
+\item \EM The rules for movies, television series, etc.\ do not appeal
+ very much to me, although they are not nearly as bad as those
+ for music recordings (ex.~69 and further, see below). My
+ primary objection is that when referring to movies and TV series,
+ the title is the most important characteristic. The director
+ may be a good second in some cases, but producers and writers are
+ almost always unknown to the general public and not relevant
+ when referring to them. You talk about the movie \emph{Jaws}
+ and not about Spielberg (1975) or whoever wrote the script.
+ Recognizing the primary creative input or authorship may be
+ politically correct, but not particularly informative.
+ However, you may think that my objections are mainly
+ driven by the difficulties of trying to format the entries
+ in \BibTeX{}. Anyway, here are my attempts to implement
+ the APA rules.\\
+ \cite{ex65-1} \\ \cite{ex65-1}\\ \fullciteA{ex65-1}\\ \citeA{ex65-1} \\
+ \EM I find ``United States'' a somewhat uninformative address.
+
+ \cite{ex65-2} \\ \cite{ex65-2}\\ \fullciteA{ex65-2}\\ \citeA{ex65-2} \\
+ \EM Note again that this and the following ``Available from''
+ must be between
+ parentheses (accomplished by putting it in the \fieldname{note} field),
+ whereas ``Available from'' some web site must not be between
+ parentheses, cf.\ ex.~95.
+
+ \EM In these examples, I used the \cmd{\bibliteral},
+ \cmd{\bibskipbracenodot}, and \cmd{\indexskipbracenodot} commands
+ from \fname{apacdoc.sty}.\\
+ \cite{ex65-3} \\ \cite{ex65-3}\\ \fullciteA{ex65-3}\\ \citeA{ex65-3}\\
+ \EM Here, I simply let ``(Producer)'' be part of the author name,
+ but because of this addendum, the entry is not sorted correctly
+ in the reference list: It should be before \citeA{APAManual6},
+ but because of the addendum, the authors are different to \BibTeX{}
+ and this one comes after \citeA{APAManual6}. The ordering can be
+ corrected by using the \cmd{\APACSortNoop} command as discussed in
+ section~\ref{subsec:sort}. However, the authors of these entries will
+ still be different. If it's important that they are the same (e.g.,
+ for the author index), the \fname{.bbl} file should be edited manually.
+ This seems an extremely rare event, though.
+\item \cite{ex66} \\ \cite{ex66}\\ \fullciteA{ex66}\\ \citeA{ex66} \\
+ \EM Here, I used the same tricks as in ex.~65.
+\item \cite{ex67} \\ \cite{ex67}\\ \fullciteA{ex67}\\ \citeA{ex67} \\
+ \EM I used several tricks introduced before: the \cmd{\bibeditortype}
+ (cf.\ ex.~36) construction to be able to use ``(Producer)'' in
+ the editor position instead of ``(Ed.\hbox{})'', and the ones used
+ in the previous examples. Because there is another Miller as well,
+ the initial is given here. To make sure that \BibTeX{} thinks
+ that there is only one initial, but the ``(Producer)'' is formatted
+ correctly, the name is defined as follows:
+\begin{verbatim}
+ editor = {Miller, {\bibinitial{R\bibeditortype{Producer}}}},
+\end{verbatim}
+ using the \cmd{\bibinitial} and \cmd{\bibeditortype} commands from
+ \fname{apacdoc.sty}.
+ It is then formatted correctly both in the text and in the reference
+ list if \cmd{\bibeditortype} is defined to swallow its argument
+ in the text, and redefined prior to the bibliography. After the
+ bibliography (before the index), it has to be redefined again
+ to swallow its argument.
+\item \cite{ex68} \\ \cite{ex68}\\ \fullciteA{ex68}\\ \citeA{ex68}\\
+ \EM Again, I used several tricks that were also used in the previous
+ examples.
+\item \EM The rules for music recordings do not make any sense, and they
+ are not entirely clear as well. It would seem to me that
+ most pop, rock, and other ``light'' music songs are almost always
+ attributed to the performing artist. You can usually read who the
+ composer and lyricist of the song are on the inlay-details
+ of the CD, but if you want the reader to refer to ``My Way'',
+ the reader will easier find it (in a CD store or on the
+ internet, for example) under ``Frank Sinatra'' than under
+ the composer's name (whoever that may be). Furthermore, the
+ year of release of the CD (or other medium) seems more relevant
+ in referring to the CD than the year of copyright of the
+ specific song, or the recording date.
+
+ For classical music, things are different. Then, the writer (composer)
+ is often more important than the performing artist, although
+ the percentage of people who know who wrote the lyrics for
+ Mozart's operas may not be high. Furthermore, it may be
+ time-consuming and not very relevant for most authors and
+ readers to find the year in which a certain piece was written,
+ although strictly speaking, we should use the ``date of copyright'',
+ which is not relevant for a lot of classical music.
+
+ However, when referring to Beethoven's 9th symphony, say, it will
+ typically not be very informative to refer to a specific recording on a
+ specific CD, unless that specific recording is the subject of interest,
+ but then it would seem that the ``performing artist'' (conductor or
+ orchestra) should take the role of ``author''. For example, when
+ comparing a performance of this symphony conducted in 1975 by Masur with
+ a performance of this symphony conducted in 1990 by Bernstein (assuming
+ this exists), it does not seem logical to compare ``9th Symphony''
+ (Beethoven, 1823a, tracks~1--4) with ``9th Symphony'' (Beethoven, 1823b,
+ tracks~1--4), but more logical to compare Masur (1975) with
+ Bernstein (1990).
+
+ Finally, it seems a bit strange that the track number should be
+ mentioned in text, but not in the reference list.
+
+ Again, you may think that my objections are mainly
+ driven by the difficulties of trying to format the entries
+ in \BibTeX. Nevertheless, here are my attempts to implement
+ the APA rules, using variations of the \cmd{\citesong}
+ command, defined in \fname{apacdoc.sty}:\\
+ \begin{tabular}{ll}
+ \cmd{\citeAsong}: & \citeAsong{ex69-1} \\
+ \cmd{\citesong}: & \citesong{ex69-1} \\
+ \cmd{\citesongNP}: & \citesongNP{ex69-1}\\
+ \cmd{\citeAsong}: & \citeAsong{ex69-2} \\
+ \cmd{\citesong}: & \citesong{ex69-2} \\
+ \cmd{\citesongNP}: & \citesongNP{ex69-2}
+ \end{tabular}\\
+ \EM The \fieldname{key} field contains the relevant
+ information in the form of a protected \cmd{\bibsong} command:
+\begin{verbatim}
+ key = {{\protect\bibsong{author}{year}{song title}{track info}}},
+\end{verbatim}
+ Furthermore, I used some tricks to get the reference list
+ entry right. I used the \entryname{incollection} type as
+ a basis, with the CD title in the \fieldname{booktitle} field.
+ At first sight, it seems natural to define
+\begin{verbatim}
+ type = {CD},
+\end{verbatim}
+ but with an \entryname{incollection}, the \fieldname{type}
+ field is put after the title, not after the book title.
+ I may change this for music-types (CD, record, etc.),
+ but this is currently not yet implemented. This means that the
+ ``[CD]'' description must be put in the \fieldname{booktitle}
+ field, after the CD title and with explicit formatting
+ commands:
+\begin{verbatim}
+ booktitle = {Arkansas Traveler {\upshape[\uppercase{CD}]}},
+\end{verbatim}
+ On the other hand, we can now use the \fieldname{type}
+ field to put the recording artists in for the second example:
+\begin{verbatim}
+ type = {Recorded by G. Bok, A. Mayo, \& E. Trickett},
+\end{verbatim}
+ We have to change the ``In'' string to ``On''
+ (``In'' a book versus ``On'' a CD). This is done with a
+ macro similar to the \cmd{\bibeditortype} macro discussed
+ in ex.~36. In this case, the macro is \cmd{\bibInstring},
+ defined in \fname{apacdoc.sty},
+ which has one argument. The macro changes the definition of
+ the macro \cmd{\BIn} to the argument and then immediately changes
+ the definition back to the old definition. So it makes a one-time
+ change. Of course, the \cmd{\bibInstring} macro only works
+ if it is executed \emph{before} the \cmd{\BIn} macro. The latter
+ macro comes before the \fieldname{booktitle}, so
+ \cmd{\bibInstring} must be added to a field that comes before
+ that. I put it in the \fieldname{title} field:
+\begin{verbatim}
+ title = {Over the Waterfall{\bibInstring{\BOn}}},
+\end{verbatim}
+ where \cmd{\BOn} is defined by default as ``\BOn''.
+ Finally, the recording date of the second example (1990) must
+ be put in the \fieldname{note} field.
+
+ If you want an author index, you would want the authors of
+ these works in the index as well. Because of the usage of the
+ \fieldname{key} field, this is not automatically done for the
+ citations. The \cmd{\AX} command has to be inserted explicitly,
+ see section~\ref{sec:autindex} above.
+
+ Note that this is all trickery within the \LaTeX{} domain
+ and the \fname{.bib} file, i.e., the user-definable and
+ user-customizable area.
+\item \cite{ex70} \\ \cite{ex70}\\ \fullciteA{ex70}\\ \citeA{ex70}
+\item \cite{ex71-1} \\ \cite{ex71-1}\\ \fullciteA{ex71-1}\\ \citeA{ex71-1} \\
+ \cite{ex71-2} \\ \cite{ex71-2}\\ \fullciteA{ex71-2}\\ \citeA{ex71-2} \\
+ \EM In contrast with earlier versions of \pkg{apacite}, in which
+ the ``Retrieved \dots'' message had to be formatted in the
+ \fieldname{howpublished} field, this is now formatted
+ automatically by using the \fieldname{url} and
+ \fieldname{lastchecked} fields.
+\item \cite{ex72} \\ \cite{ex72}\\ \fullciteA{ex72}\\ \citeA{ex72}
+\item \cite{ex73} \\ \cite{ex73}\\ \fullciteA{ex73}\\ \citeA{ex73} \\
+ \EM Note that the APA manual breaks a line \emph{after} a
+ period instead of before, against their own rules. Furthermore,
+ the APA manual uses a typeface in which `1' (one) and `l' (ell)
+ are not distinguishable. This requires some guessing of the
+ correct URLs. I think that this conflicts with their own stress
+ on accuracy w.r.t.\ URLs.
+
+ \EM Note the subtle use of braces to get \emph{Homo sapiens}
+ correctly formatted: The capital in \verb+\emph{Homo}+
+ is retained by \BibTeX, whereas the capital in
+ \verb+{\emph{Sapiens}}+ is changed into a lower case letter
+ by \BibTeX, because of the extra pair of braces.
+\item \cite{ex74} \\ \cite{ex74}\\ \fullciteA{ex74}\\ \citeA{ex74}
+\item \cite{ex75} \\ \cite{ex75}\\ \fullciteA{ex75}\\ \citeA{ex75}\\
+ \EM Note that \BibTeX{} does not consider a question mark
+ or an exclamation point as the end of the title and the beginning
+ of the subtitle. Hence, if there is a subtitle after it, the
+ capitalization of its first word is not retained (unlike
+ after a colon), so we have to protect it using braces in the
+ \fname{.bib} file.
+\item \cite{ex76} \\ \cite{ex76}\\ \fullciteA{ex76}\\ \citeA{ex76}
+\item \cite{ex77} \\ \cite{ex77}\\ \fullciteA{ex77}\\ \citeA{ex77}
+\item \cite{ex78} \\ \cite{ex78}\\ \fullciteA{ex78}\\ \citeA{ex78}\\
+ \EM For this example, the source is not simply the URL, but
+ with the qualification ``Columbia University, Institute for
+ Learning Technologies Web site:''. This means that we cannot
+ simply use the \fieldname{lastchecked} and \fieldname{url}
+ fields, but must revert to the way I proposed to format
+ references to electronic sources in previous versions of
+ \pkg{apacite}: by putting all the information in a
+ \fieldname{howpublished} field. This includes explicitly using
+ the \cmd{\url} command and adding ``\verb+\bibnodot{.}+''
+ immediately after the URL. The \cmd{\bibnodot} command,
+ defined in \fname{apacdoc.sty}, swallows the period, so that
+ there is no period after the URL in the reference list, thus
+ complying with the APA rules. This also applies to examples
+ 79, 87, 91, and 95, and all the examples that do not list
+ a specific URL, but only a description, like
+ ``the PsycARTICLES database'' (ex.~88).
+\item \cite{ex79} \\ \cite{ex79}\\ \fullciteA{ex79}\\ \citeA{ex79}
+\item \cite{ex80} \\ \cite{ex80}\\ \fullciteA{ex80}\\ \citeA{ex80}
+\item \cite{ex81} \\ \cite{ex81}\\ \fullciteA{ex81}\\ \citeA{ex81}
+\item \cite{ex82} \\ \cite{ex82}\\ \fullciteA{ex82}\\ \citeA{ex82}\\
+ \EM Here and in ex.~83, I used the \cmd{\BAbstractRetrieved}
+ and \cmd{\BmakeAbstractRetrieved} commands defined in
+ \fname{apacdoc.sty} to replace ``Retrieved'' by
+ ``Abstract retrieved''.
+\item \cite{ex83} \\ \cite{ex83}\\ \fullciteA{ex83}\\ \citeA{ex83} \\
+\item \cite{ex84} \\ \cite{ex84}\\ \fullciteA{ex84}\\ \citeA{ex84}
+\item \cite{ex85} \\ \cite{ex85}\\ \fullciteA{ex85}\\ \citeA{ex85} \\
+ \EM When referring to a message to a newsgroup, internet forum, etc.,
+ use the \entryname{misc} type. Then define
+\begin{verbatim}
+ type = {\bibmessage},
+\end{verbatim}
+ and use the \fieldname{number} field when relevant. The URL
+ of the message is given in the \fieldname{url} field. Then
+ the entry is formatted
+ correctly: If the message has a number, say 1, it reverts to
+ ``\verb+[\bibmessage~1]+'', i.e., ``[Msg~1]'' with the default
+ definition of \cmd{\bibmessage}. If there is no number, the
+ type identifier is omitted (because it is mentioned as
+ ``Message posted to [\dots]'' anyway). In both cases,
+ the title is formatted as an article title, i.e., not
+ italicized.
+\item \cite{ex86} \\ \cite{ex86}\\ \fullciteA{ex86}\\ \citeA{ex86}
+\item \cite{ex87} \\ \cite{ex87}\\ \fullciteA{ex87}\\ \citeA{ex87}
+\item \cite{ex88} \\ \cite{ex88}\\ \fullciteA{ex88}\\ \citeA{ex88}
+\item \cite{ex89} \\ \cite{ex89}\\ \fullciteA{ex89}\\ \citeA{ex89}
+\item \cite{ex90} \\ \cite{ex90}\\ \fullciteA{ex90}\\ \citeA{ex90} \\
+ \EM Here, ``de Ridder'' may well be a Dutch name. If the APA
+ manual is serious about its rule to format names as they
+ should according to the rule of the country of origin,
+ this name should then be formatted as ``De Ridder''.
+\item \cite{ex91} \\ \cite{ex91}\\ \fullciteA{ex91}\\ \citeA{ex91}
+\item \cite{ex92} \\ \cite{ex92}\\ \fullciteA{ex92}\\ \citeA{ex92}\\
+ \EM From ex.~94 below, I deduce that the version information
+ should be treated as an edition and not as part of the title.
+ Therefore, in this example and ex.~94, the version is formatted
+ in the \fieldname{edition} field:
+\begin{verbatim}
+ edition = {Version~4.0\noedition\ignorespaces},
+\end{verbatim}
+ using the \cmd{\noedition} command from \fname{apacdoc.sty},
+ which temporarily redefines \cmd{\BEd} to do nothing, and
+ \cmd{\ignorespaces}, which eats up the space that is ordinarily
+ present between the edition number and the ``ed.\hbox{}'' string.
+\item \cite{ex93} \\ \cite{ex93}\\ \fullciteA{ex93}\\ \citeA{ex93}\\
+ \EM To test the \entryname{manual} entry: \citeA{ex93-t1}.
+\item \cite{ex94} \\ \cite{ex94}\\ \fullciteA{ex94}\\ \citeA{ex94}\\
+ \EM The example in the APA manual does not list a date, not even
+ a ``n.d.\hbox{}''. Given the logic of the APA manual, this seems
+ an error to me, so I added a ``\cmd{\bibnodate}'' in the
+ \fieldname{year} field, which becomes ``\bibnodate'' in the
+ output. If it would really be the rule to omit the year, then
+ it is not clear when a year must be omitted and when not, or
+ replaced by ``n.d.\hbox{}''. Furthermore, formatting in both
+ the \fname{.sty} file and the \fname{.bst} file would have to
+ be adapted to anticipate a missing year. Currently, I assume
+ that there should always be something that acts like a date
+ (a year, an ``in press'', or a ``n.d.\hbox{}'').
+
+ \EM See ex.~92 for the treatment of the version.
+\item \cite{ex95} \\ \cite{ex95}\\ \fullciteA{ex95}\\ \citeA{ex95}\\
+ \EM Note that here, unlike ex.~44 and ex.~91,
+ ``U.S.'' is omitted before ``Department of Health and Human
+ Services''.
+\end{enumerate}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\StopEventually{%
+\MakePercentComment
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% Change History
+\PrintChanges
+%
+% Redefine commands that should be different in the bibliography.
+\APACmanBeforeBib
+%
+% Request apacite or apacitex bibliography style
+% depending on whether an index option was requested or not.
+\bibliographystyle{\APACbibstyle}%
+% Include the bibliography
+\bibliography{apa5ex}%
+%
+% Again redefine commands.
+\APACmanBeforeIndex
+%
+% Include the author index if the index option is on.
+\printindex[autx]
+%
+% Again redefine commands.
+\APACmanAfterIndex
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\PrintIndex
+\MakePercentIgnore
+}
+%
+\MakePercentIgnore
+% \iffalse
+%</dtx>
+% \fi
+%
+% \clearpage
+% \APACcodePageLayout
+% \section{Implementation}
+% The following sections describe the source code of the various
+% constituent parts of \pkg{apacite}.
+%
+%
+% \section{\LaTeX\ package (\fname{apacite.sty})}
+% This is the \LaTeX\ package part of \pkg{apacite}. We start with some
+% comments at the top of the package to recognize borrowed code.
+%
+% \begin{macrocode}
+%<*package>
+%%
+%% apacite.sty : citation and reference list according to APA manual
+%% Written by Erik Meijer
+%%
+%% Contains code adapted from
+%% index.sty [1995/09/28 v4.1beta Improved index support (dmj)],
+%% hyperref.dtx [6.71, 2000/10/04],
+%% babel.def [2001/03/01, v3.7h],
+%% backref.dtx [1.20, 2002/06/09],
+%% ltbibl.dtx [2004/02/15 v1.1q LaTeX Kernel (Bibliography)],
+%% bibtopic.dtx [2002/08/22 v1.0k],
+%% multibib.dtx [2004/01/28 v1.3 Multiple bibliographies for one document.],
+%% multibbl.dtx [2004/07/27 v1.1],
+%% amsrefs.dtx [2004/06/30 v2.0]
+%% ltidxglo.dtx [1996/01/20 v1.1e LaTeX Kernel (Index and Glossary)]
+%% doc.dtx [2004/02/09 v2.1b Standard LaTeX documentation package (FMi)]
+%% and code (used with permission) provided by:
+%% Stefan Bj\"ork.
+%%
+% \end{macrocode}
+%
+% \subsection{Options}
+%
+% ^^A There does not appear to be a \cmd{\DescribeOption} command.
+%
+% \subsubsection{Backwards compatibility}
+%
+% \begin{macro}{\@year@}
+% The \pkg{theapa} package used the \cmd{\BCAY} command where \pkg{newapa}
+% used \cmd{\citeauthoryear} for the same purpose. Because the first version
+% of \pkg{apacite} descended from \pkg{theapa}, it used \cmd{\BCAY} as well.
+% However, \pkg{natbib} does not recognize \cmd{\BCAY}, but it does
+% recognize \cmd{\citeauthoryear}. Therefore, since
+% \APACversiondate{2003/09/05}, \pkg{apacite} uses \cmd{\citeauthoryear}.
+% Unfortunately, the construction below can only be defined for one of them.
+% Therefore, this is a backwards compatibility option.
+% \begin{macrocode}
+\def\@year@\citeauthoryear#1#2#3{#3} % default
+\DeclareOption{BCAY}{% compatibility with old .bbl files
+ \def\@year@\BCAY#1#2#3{#3}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{Citation}
+%
+% \begin{macro}{\if@APAC@classic@cite}
+% \begin{macro}{\if@APAC@natbib@emu}
+% \begin{macro}{\if@APAC@natbib@apa}
+% \begin{macro}{\if@APAC@classic@or@emu}
+% \begin{macro}{\if@APAC@any@natbib}
+% \begin{macro}{\if@APAC@anycitation}
+% Allow different sets of citation commands through different options,
+% implemented through |\if| commands that enable and disable the relevant
+% parts of the code. \pkgoption{apaciteclassic} is the default, but this
+% may change in the future.
+% \begin{macrocode}
+\newif\if@APAC@classic@cite
+\newif\if@APAC@natbib@emu
+\newif\if@APAC@natbib@apa
+\newif\if@APAC@classic@or@emu
+\newif\if@APAC@any@natbib
+\newif\if@APAC@anycitation
+\DeclareOption{apaciteclassic}{%
+ \@APAC@classic@citetrue
+ \@APAC@natbib@emufalse
+ \@APAC@natbib@apafalse
+ \@APAC@classic@or@emutrue
+ \@APAC@any@natbibfalse
+ \@APAC@anycitationtrue
+}
+\DeclareOption{natbibemu}{%
+ \@APAC@classic@citefalse
+ \@APAC@natbib@emutrue
+ \@APAC@natbib@apafalse
+ \@APAC@classic@or@emutrue
+ \@APAC@any@natbibtrue
+ \@APAC@anycitationtrue
+}
+\DeclareOption{natbibapa}{%
+ \@APAC@classic@citefalse
+ \@APAC@natbib@emufalse
+ \@APAC@natbib@apatrue
+ \@APAC@classic@or@emufalse
+ \@APAC@any@natbibtrue
+ \@APAC@anycitationtrue
+}
+\DeclareOption{nocitation}{%
+ \@APAC@classic@citefalse
+ \@APAC@natbib@emufalse
+ \@APAC@natbib@apafalse
+ \@APAC@classic@or@emufalse
+ \@APAC@any@natbibfalse
+ \@APAC@anycitationfalse
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% The \pkgoption{mask} option masks citations that are flagged as
+% self-citations with the |\mask|-citation commands. The
+% \pkgoption{unmask} option (default) ignores the masking.
+%
+% \begin{macrocode}
+\newif\if@APAC@mask
+\DeclareOption{mask}{\@APAC@masktrue}
+\DeclareOption{unmask}{\@APAC@maskfalse}
+% \end{macrocode}
+%
+% \subsubsection{Bibliography}
+%
+% Various options for changing the formatting of the reference list. Most of
+%% ^^A \cmd{\if} somehow gives an error
+% these are implemented through |\if| commands, deferring the actual
+% implementation.
+% \begin{macro}{\if@numberedbib}
+% Should the bibliography section or chapter be numbered?
+% \begin{macrocode}
+\newif\if@numberedbib
+% \end{macrocode}
+% \end{macro}
+% The bibliography is a section or chapter with a number (e.g.,
+% section~6 or chapter~10). This does not work properly when the section or
+% chapter is in the backmatter.
+% \begin{macrocode}
+\DeclareOption{numberedbib}{\@numberedbibtrue}
+% \end{macrocode}
+% The bibliography is a section or chapter without a number (i.e.,
+% a section* or chapter*). This is the default.
+% \begin{macrocode}
+\DeclareOption{unnumberedbib}{\@numberedbibfalse}
+% \end{macrocode}
+% The next options determine whether the bibliography should be a section or
+% a chapter.
+% \begin{macro}{\if@sectionbib}
+% \begin{macro}{\if@sectionbibdefault}
+% With the \pkgoption{sectionbib} option, the bibliography is a section. This
+% is typically used with the \pkg{chapterbib} package; then each chapter has a
+% bibliography section. The \pkgoption{nosectionbib} option makes the
+% bibliography a chapter (if chapters are defined). If none of these options
+% are requested, \pkg{apacite} tries to guess the most logical choice. The
+% bibliography is a section if chapters are not defined or if we are in the
+% ``mainmatter'' of a document. Otherwise, i.e., in the ``backmatter'' of a
+% document that has chapters, it is a chapter. |\if@sectionbibdefault|
+% registers whether the default should be used (neither
+% \pkgoption{sectionbib} nor \pkgoption{nosectionbib} chosen) and if
+% the default is not used, |\if@sectionbib| registers which option was
+% chosen.
+% \begin{macrocode}
+\newif\if@sectionbib
+\newif\if@sectionbibdefault
+\@sectionbibfalse
+\@sectionbibdefaulttrue
+\DeclareOption{sectionbib}{%
+ \@sectionbibdefaultfalse
+ \@sectionbibtrue
+}
+\DeclareOption{nosectionbib}{%
+ \@sectionbibdefaultfalse
+ \@sectionbibfalse
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\if@tocbib}
+% These options determine whether the bibliography should be in the table of
+% contents.
+% \begin{macrocode}
+\newif\if@tocbib
+% \end{macrocode}
+% The bibliography in the table of contents, even if it's unnumbered. This is
+% the default.
+% \begin{macrocode}
+\DeclareOption{tocbib}{\@tocbibtrue}
+% \end{macrocode}
+% The bibliography not in the table of contents if it's unnumbered. This is
+% ignored if it's numbered.
+% \begin{macrocode}
+\DeclareOption{notocbib}{\@tocbibfalse}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@bibnewpage}
+% Start the bibliography on a new page? This is ignored if it's a chapter.
+% \begin{macrocode}
+\DeclareOption{bibnewpage}{\def\@bibnewpage{\bibnewpage}}
+\DeclareOption{nobibnewpage}{\let\@bibnewpage\relax}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\if@doi}
+% Should DOI information be printed in the reference list?
+% \begin{macrocode}
+\newif\if@doi
+\DeclareOption{doi}{\@doitrue}
+\DeclareOption{nodoi}{\@doifalse}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{Author indexing}
+%
+% \begin{macro}{\if@APAC@index}
+% No author index.
+%% ^^A \cmd{\if} somehow gives an error
+% The |\if| is necessary because packages can not be required here, so
+% we must handle the consequences of the \pkgoption{index} and
+% \pkgoption{noindex} options later.
+% \begin{macrocode}
+\newif\if@APAC@index
+\DeclareOption{noindex}{\@APAC@indexfalse}%
+% \end{macrocode}
+% \end{macro}
+%
+% Request author index.
+% \begin{macrocode}
+\DeclareOption{index}{\@APAC@indextrue}%
+% \end{macrocode}
+%
+% \begin{macro}{\if@APAC@include@corporate}
+% Include corporate authors in index?
+%% ^^A \cmd{\if} somehow gives an error
+% Use an |\if| here, the real definitions are handled within the index
+% options.
+% \begin{macrocode}
+\newif\if@APAC@include@corporate
+\DeclareOption{includecorporate}{\@APAC@include@corporatetrue}%
+\DeclareOption{suppresscorporate}{\@APAC@include@corporatefalse}%
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\if@APAC@index@package}
+% Use \pkg{index} package or standard \LaTeX\ index? Again, we only define the
+% boolean.
+% \begin{macrocode}
+\newif\if@APAC@index@package
+\DeclareOption{indexpackage}{\@APAC@index@packagetrue}%
+\DeclareOption{noindexpackage}{\@APAC@index@packagefalse}%
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{environment}{index}
+% Some options for changing the \envirname{index} environment. The actual
+% definitions are done through macros below; here these macros are used.
+%
+% The first option uses the definition from the \pkg{index} package
+% |[1995/09/28 v4.1beta Improved index support (dmj)]|,
+% which is the same code as in |(v3.02, 15 September 1993)|,
+% i.e., without table of contents entry.
+% \begin{macrocode}
+\DeclareOption{stdindex}{%
+ \ExecuteOptions{index}% Request author index
+ \ExecuteOptions{indexpackage}% This option requires the index package
+ \AtEndOfPackage{\APACstdindex}% index environment as in index package
+}%
+% \end{macrocode}
+% The next option adds a table of contents entry to the standard index.
+% \begin{macrocode}
+\DeclareOption{tocindex}{%
+ \ExecuteOptions{index}% Request author index
+ \ExecuteOptions{indexpackage}% This option requires the index package
+ \AtEndOfPackage{\APACtocindex}% index environment as in index package
+ %% with toc entry added
+}%
+% \end{macrocode}
+% This option defines my (EM) own favorite index style. Maybe you like it too.
+% \begin{macrocode}
+\DeclareOption{emindex}{%
+ \ExecuteOptions{index}% Request author index
+ \ExecuteOptions{indexpackage}% This option requires the index package
+ \AtEndOfPackage{\APACemindex}% EM's index environment (see below)
+}%
+% \end{macrocode}
+% The next option is a variation on the \pkgoption{emindex} option, but uses
+% standard \LaTeX\ code (adapted from the \pkg{ltxdoc} class) instead of the
+% the \pkg{index} package to support multiple indexes.
+% \begin{macrocode}
+\DeclareOption{ltxemindex}{%
+ \ExecuteOptions{index}% Request author index
+ \ExecuteOptions{noindexpackage}% Don't use the index package
+ \AtEndOfPackage{\APACltxemindex}% EM's index environment without the index
+ %% package (see below)
+}
+% \end{macrocode}
+% \end{environment}
+%
+% \subsubsection{Obsolete compatibility options}
+%
+% For compatibility with older versions of \pkg{apacite}.
+% \begin{macrocode}
+\DeclareOption{hyper}{%
+ \PackageWarningNoLine{apacite}{Obsolete option `hyper' ignored}%
+}
+\DeclareOption{nohyper}{%
+ \PackageWarningNoLine{apacite}{Obsolete option `nohyper' ignored}%
+}
+\DeclareOption{accentfix}{%
+ \PackageWarningNoLine{apacite}{Obsolete option `accentfix' ignored}%
+}
+\DeclareOption{noaccentfix}{%
+ \PackageWarningNoLine{apacite}{Obsolete option `noaccentfix' ignored}%
+}
+% \end{macrocode}
+%
+% \subsection{Option processing}
+%
+% Execute default options.
+% \begin{macrocode}
+\ExecuteOptions{apaciteclassic,noindex,indexpackage,unnumberedbib,tocbib,%
+ nobibnewpage,suppresscorporate,doi,unmask}
+% \end{macrocode}
+% Execute user-requested options.
+% \begin{macrocode}
+\ProcessOptions
+% \end{macrocode}
+%
+% \subsection{Citation commands}
+%
+% \begin{macro}{\citeauthoryear}
+% The \cmd{\citeauthoryear} command is defined within the citation commands,
+% but some packages (\pkg{splitbib}, \pkg{bibentry}) choke if it has not
+% been defined. Therefore, we start with defining it to do nothing. However,
+% \pkg{natbib} defines this with a \cmd{\newcommand}, so if \pkg{natbib} is
+% loaded after \pkg{apacite}, defining it here would give an error. Therefore,
+% we postpone this to |\begin{document}| and only initialize it then if it
+% hasn't been defined before.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \@ifundefined{citeauthoryear}{\def\citeauthoryear#1#2#3{}}{}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\themaskedRefs}
+% A counter for the number of masked citations, which should be
+% defined for all the citation options.
+% This construction ensures that there is no conflict if the
+% |maskedRefs| counter has already been defined (in \fname{apa6.cls}).
+% \begin{macrocode}
+\AtBeginDocument{%
+ \@ifundefined{themaskedRefs}{\newcounter{maskedRefs}}{}}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{Shared code between the \pkgoption{apaciteclassic} and
+% \pkgoption{natbibemu} options}
+%
+% Define a few |\if|s outside the main |\if|, because \TeX{} otherwise
+% chokes.
+% \begin{macro}{\if@F@cite}
+% First citation in a multi-citation.
+% \begin{macrocode}
+\newif\if@F@cite\@F@citetrue
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\if@A@cite}
+% \begin{macro}{\if@Y@cite}
+% Two flags to denote whether only the author or only the year must be cited
+% or both.
+% \begin{macrocode}
+\newif\if@A@cite\@A@citefalse
+\newif\if@Y@cite\@Y@citefalse
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macrocode}
+\if@APAC@classic@or@emu
+% \end{macrocode}
+%
+% \begin{macro}{\nocite}
+% This induces an entry in the reference list, but not in the text. It is
+% also called by the other citation commands to handle some bookkeeping.
+% \begin{macrocode}
+\def\nocite#1{%
+% \end{macrocode}
+% No flag-setting in \cmd{\nocite}: a no-cite is not a citation, so a
+% subsequent citation may be the first one.
+% \begin{macrocode}
+ \@bsphack
+ \ifx\@onlypreamble\document
+% \end{macrocode}
+% We are after |\begin{document}|, so we can do the citations.
+% \begin{macrocode}
+ \@for\@citeb:=#1\do{%
+ \edef\@citeb{\expandafter\@firstofone\@citeb}%
+% \end{macrocode}
+% The \cmd{\@newciteauxhandle} is for compatibility with \pkg{multibib}.
+% \begin{macrocode}
+ \if@filesw
+ \immediate\write\@newciteauxhandle{\string\citation{\@citeb}}%
+ \fi
+ \@ifundefined{b@\@citeb\APAC@extra@b@citeb}{%
+% \end{macrocode}
+% Check for |\nocite{*}|.
+% \begin{macrocode}
+ \edef\B@my@dummy{*}%
+ \ifx\@citeb\B@my@dummy
+ \else
+ \G@refundefinedtrue
+ \@latex@warning{Citation `\@citeb' undefined}%
+ \fi
+ }{}%
+ }%
+ \else
+% \end{macrocode}
+% \pkg{apacite} has no compatibility problems with \LaTeX~2.09, because it
+% does not work with \LaTeX~2.09 anyway, so we can do the following,
+% suggested in \fname{ltbibl.dtx}:
+% \begin{macrocode}
+ \AtBeginDocument{\nocite{#1}}%
+ \fi
+ \@esphack
+% \end{macrocode}
+% For compatibility with \pkg{multibib}.
+% \begin{macrocode}
+ \@restore@auxhandle
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\B@my@dummy}
+% This needs to be initialized to avoid errors with \pkg{tex4ht}.
+% \begin{macrocode}
+\global\def\B@my@dummy{*}%
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@ifauthorsequalc@de}
+% Code to be executed if current author(s) equal(s) previous.
+% \begin{macrocode}
+\def\@ifauthorsequalc@de#1{%
+ \if@F@cite
+ \@F@citefalse
+ \else
+ \if@Y@cite
+ {\@BBY}%
+ \fi
+ \fi
+ \if@Y@cite
+ \hyper@natlinkstart{#1}%
+ {\csname Y@\@citeb\APAC@extra@b@citeb\endcsname}%
+ \hyper@natlinkend
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@ifauthorsunequalc@de}
+% Code to be executed if current author(s) do(es) not equal previous.
+% \begin{macrocode}
+\def\@ifauthorsunequalc@de#1{%
+ \if@F@cite
+ \@F@citefalse
+ \else
+ \if@Y@cite
+ {\@BAY}%
+ \fi
+ {\@BBC}%
+ \fi
+ \edef\@cite@undefined{?}%
+ \def\BBA{\@BBA}%
+ \if@A@cite
+ \hyper@natlinkstart{#1}%
+ {\csname b@\@citeb\APAC@extra@b@citeb\endcsname}%
+ \hyper@natlinkend
+ \if@Y@cite
+ {\@BBAY}%
+ \fi
+ \fi
+ \if@Y@cite
+ \hyper@natlinkstart{#1}%
+ {\csname Y@\@citeb\APAC@extra@b@citeb\endcsname}%
+ \hyper@natlinkend
+ \fi
+ \let\BBA\relax
+}
+% \end{macrocode}
+% \end{macro}
+%
+% End of shared code.
+% \begin{macrocode}
+\fi
+% \end{macrocode}
+%
+% \subsubsection{\pkg{apacite} ``classic'' commands}
+%
+% This defines the citation commands and syntax with angled brackets that
+% have traditionally been used by \pkg{apacite}.
+% \begin{macrocode}
+\if@APAC@classic@cite
+% \end{macrocode}
+%
+% \begin{macro}{\cite}
+% \begin{macro}{\fullcite}
+% \begin{macro}{\shortcite}
+% Parenthetical citation commands.
+% \begin{macrocode}
+\def\cite{%
+ \def\BCAY##1##2##3{\BCA{##1}{##2}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##1}{##2}}%
+ \def\@BBOP{\BBOP}% % open parenthesis
+ \def\@BBCP{\BBCP}% % close parenthesis
+ \@ifnextchar<% % >
+ {\@cite}%
+ {\@cite<>}%
+}
+\def\fullcite{%
+ \def\BCAY##1##2##3{\BCA{##1}{##1}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##1}{##1}}%
+ \def\@BBOP{\BBOP}% % open parenthesis
+ \def\@BBCP{\BBCP}% % close parenthesis
+ \@ifnextchar<% % >
+ {\@cite}%
+ {\@cite<>}%
+}
+\def\shortcite{%
+ \def\BCAY##1##2##3{\BCA{##2}{##2}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##2}{##2}}%
+ \def\@BBOP{\BBOP}% % open parenthesis
+ \def\@BBCP{\BBCP}% % close parenthesis
+ \@ifnextchar<% % >
+ {\@cite}%
+ {\@cite<>}%
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\citeNP}
+% \begin{macro}{\fullciteNP}
+% \begin{macro}{\shortciteNP}
+% Parenthetical citation commands, but without the actual parentheses.
+% \begin{macrocode}
+\def\citeNP{%
+ \def\BCAY##1##2##3{\BCA{##1}{##2}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##1}{##2}}%
+ \def\@BBOP{}% % open parenthesis
+ \def\@BBCP{}% % close parenthesis
+ \@ifnextchar<%% >
+ {\@cite}%
+ {\@cite<>}%
+}
+\def\fullciteNP{%
+ \def\BCAY##1##2##3{\BCA{##1}{##1}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##1}{##1}}%
+ \def\@BBOP{}% % open parenthesis
+ \def\@BBCP{}% % close parenthesis
+ \@ifnextchar<%% >
+ {\@cite}%
+ {\@cite<>}%
+}
+\def\shortciteNP{%
+ \def\BCAY##1##2##3{\BCA{##2}{##2}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##2}{##2}}%
+ \def\@BBOP{}% % open parenthesis
+ \def\@BBCP{}% % close parenthesis
+ \@ifnextchar<%% >
+ {\@cite}%
+ {\@cite<>}%
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\@cite}
+% Second layer of the parenthetical and NP citation commands.
+% \begin{macrocode}
+\def\@cite<#1>{%
+ \def\@BAP{\BAP}% % after precitation [=#1] before first citation
+ \def\@BBA{\BBAA}% % `and' between authors
+ \def\@BBAY{\BBAY}% % between author and year
+ \def\@BAY{}% % after year
+ \def\@BBY{\BBYY}% % between years of multiple citations with same author
+ \def\@BBC{\BBC}% % between cites
+ \def\@BBN{\BBN}% % after last citation before note/postcitation [=#2]
+ \def\@BAstyle{\BAstyle}% text style of authors
+ \@A@citetrue% % cite authors
+ \@Y@citetrue% % cite years
+ \@ifnextchar[% % ]
+ {\@@cite<#1>}%
+ {\@@cite<#1>[]}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\citeA}
+% \begin{macro}{\fullciteA}
+% \begin{macro}{\shortciteA}
+% In-text citation commands.
+% \begin{macrocode}
+\def\citeA{%
+ \def\BCAY##1##2##3{\BCA{##1}{##2}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##1}{##2}}%
+ \@ifnextchar<% %>
+ {\@citeA}%
+ {\@citeA<>}%
+}
+\def\fullciteA{%
+ \def\BCAY##1##2##3{\BCA{##1}{##1}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##1}{##1}}%
+ \@ifnextchar<% %>
+ {\@citeA}%
+ {\@citeA<>}%
+}
+\def\shortciteA{%
+ \def\BCAY##1##2##3{\BCA{##2}{##2}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##2}{##2}}%
+ \@ifnextchar<% %>
+ {\@citeA}%
+ {\@citeA<>}%
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\@citeA}
+% Second layer of in-text citation commands.
+% \begin{macrocode}
+\def\@citeA<#1>{%
+ \def\@BBOP{}% % open parenthesis.
+ \def\@BAP{\BAP}% % after precitation [=#1] before first citation
+ \def\@BBA{\BBAB}% % `and' between authors
+ \def\@BBAY{ \BBOP}%% between author and year
+ \def\@BAY{\BBCP}% % after year
+ \def\@BBY{\BBYY}% % between years of multiple citations with same author
+ \def\@BBC{\BBC}% % between cites
+ \def\@BBN{\BBN}% % after last citation before note/postcitation [=#2]
+ \def\@BBCP{}% % close parenthesis
+ \def\@BAstyle{\BAstyle}% text style of authors
+ \@A@citetrue% % cite authors
+ \@Y@citetrue% % cite years
+ \@ifnextchar[% % ]
+ {\@@cite<#1>}%
+ {\@@cite<#1>[]}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\citeauthor}
+% \begin{macro}{\fullciteauthor}
+% \begin{macro}{\shortciteauthor}
+% \begin{macro}{\citeauthorNP}
+% \begin{macro}{\fullciteauthorNP}
+% \begin{macro}{\shortciteauthorNP}
+% Commands that only cite the author, for parenthetical and in-text citations,
+% the difference being that `\&' is used in the parenthetical versions,
+% whereas the in-text versions use `and' between the authors. Note that all
+% are without parentheses; \cmd{\citeauthorA} would be a better name for
+% \cmd{\citeauthor} to clarify its role (cf.~\cmd{\citeA}, \cmd{\cite}, and
+% \cmd{\citeNP}), but for backwards compatibility and compatibility with
+% some other citation packages, it is \cmd{\citeauthor}.
+% \begin{macrocode}
+\def\citeauthor{%
+ \def\BCAY##1##2##3{\BCA{##1}{##2}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##1}{##2}}%
+ \@ifnextchar<% %>
+ {\@citeauthor}%
+ {\@citeauthor<>}%
+}
+\def\fullciteauthor{%
+ \def\BCAY##1##2##3{\BCA{##1}{##1}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##1}{##1}}%
+ \@ifnextchar<% %>
+ {\@citeauthor}%
+ {\@citeauthor<>}%
+}
+\def\shortciteauthor{%
+ \def\BCAY##1##2##3{\BCA{##2}{##2}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##2}{##2}}%
+ \@ifnextchar<% %>
+ {\@citeauthor}%
+ {\@citeauthor<>}%
+}
+\def\citeauthorNP{%
+ \def\BCAY##1##2##3{\BCA{##1}{##2}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##1}{##2}}%
+ \@ifnextchar<% %>
+ {\@citeauthorNP}%
+ {\@citeauthorNP<>}%
+}
+\def\fullciteauthorA{%
+ \def\BCAY##1##2##3{\BCA{##1}{##1}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##1}{##1}}%
+ \@ifnextchar<% %>
+ {\@citeauthorNP}%
+ {\@citeauthorNP<>}%
+}
+\def\shortciteauthorA{%
+ \def\BCAY##1##2##3{\BCA{##2}{##2}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##2}{##2}}%
+ \@ifnextchar<% %>
+ {\@citeauthorNP}%
+ {\@citeauthorNP<>}%
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\@citeauthor}
+% \begin{macro}{\@citeauthorNP}
+% Second layer of the author citation commands.
+% \begin{macrocode}
+\def\@citeauthor<#1>{%
+ \def\@BBOP{}% % open parenthesis
+ \def\@BAP{\BAP}% % after precitation [=#1] before first citation
+ \def\@BBA{\BBAB}% % `and' between authors
+ \def\@BBAY{}% % between author and year
+ \def\@BAY{}% % after year
+ \def\@BBY{}% % between years of multiple citations with same author
+ \def\@BBC{\BBC}% % between cites
+ \def\@BBN{\BBN}% % after last citation before note/postcitation [=#2]
+ \def\@BBCP{}% % close parenthesis
+ \def\@BAstyle{\BAastyle}% text style of authors
+ \@A@citetrue% % cite authors
+ \@Y@citefalse% % do not cite years
+ \@ifnextchar[% % ]
+ {\@@cite<#1>}%
+ {\@@cite<#1>[]}%
+}
+\def\@citeauthorNP<#1>{%
+ \def\@BBOP{}% % open parenthesis
+ \def\@BAP{\BAP}% % after precitation [=#1] before first citation
+ \def\@BBA{\BBAA}% % `and' between authors
+ \def\@BBAY{}% % between author and year
+ \def\@BAY{}% % after year
+ \def\@BBY{}% % between years of multiple citations with same author
+ \def\@BBC{\BBC}% % between cites
+ \def\@BBN{\BBN}% % after last citation before note/postcitation [=#2]
+ \def\@BBCP{}% % close parenthesis
+ \def\@BAstyle{\BAastyle}% text style of authors
+ \@A@citetrue% % cite authors
+ \@Y@citefalse% % do not cite years
+ \@ifnextchar[% % ]
+ {\@@cite<#1>}%
+ {\@@cite<#1>[]}%
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\citeyear}
+% \begin{macro}{\citeyearNP}
+% Cite only the year; parenthetical and without parentheses.
+% \begin{macrocode}
+\def\citeyear{%
+ \def\BCAY##1##2##3{\BCA{##1}{##2}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##1}{##2}}%
+ \def\@BBOP{\BBOP}% % open parenthesis
+ \def\@BBCP{\BBCP}% % close parenthesis
+ \@ifnextchar<% % >
+ {\@citeyear}%
+ {\@citeyear<>}%
+}
+\def\citeyearNP{%
+ \def\BCAY##1##2##3{\BCA{##1}{##2}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##1}{##2}}%
+ \def\@BBOP{}% % open parenthesis
+ \def\@BBCP{}% % close parenthesis
+ \@ifnextchar<% % >
+ {\@citeyear}%
+ {\@citeyear<>}%
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\@citeyear}
+% Second layer of the year citation commands.
+% \begin{macrocode}
+\def\@citeyear<#1>{%
+ \def\@BAP{\BAP}% % after precitation [=#1] before first citation
+ \def\@BBA{}% % `and' between authors
+ \def\@BBAY{}% % between author and year
+ \def\@BAY{}% % after year
+ \def\@BBY{\BBYY}% % between years of multiple citations with same author
+ \def\@BBC{\BBC}% % between cites
+ \def\@BBN{\BBN}% % after last citation before note/postcitation [=#2]
+ \def\@BAstyle{}% % text style of authors
+ \@A@citefalse% % do not cite authors
+ \@Y@citetrue% % cite years
+ \@ifnextchar[% % ]
+ {\@@cite<#1>}%
+ {\@@cite<#1>[]}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% We are now arriving at the core citation routines. The following commands
+% must have been defined:\\
+% \begin{tabular}{@{\qquad}ll@{}}
+% \cmd{\@BBOP} & open parenthesis \\
+% \cmd{\@BAP} & after precitation before first citation \\
+% \cmd{\@BBA} & `and' between authors \\
+% \cmd{\@BBAY} & between author and year \\
+% \cmd{\@BAY} & after year \\
+% \cmd{\@BBY} & between years of multiple citations with same author \\
+% \cmd{\@BBC} & between cites \\
+% \cmd{\@BBN} & after last citation before note/postcitation \\
+% \cmd{\@BBCP} & close parenthesis \\
+% \cmd{\@BAstyle} & formatting style of authors (e.g., \cmd{\scshape})
+% \end{tabular}
+%
+% \begin{macro}{\@@cite}
+% The core citation command. Standard \LaTeX{} and other packages use
+% \cmd{\@citex} for this. It may be useful to change this as well, to increase
+% the likelihood of compatibility with some packages.
+% \begin{macrocode}
+\def\@@cite<#1>[#2]#3{%
+% \end{macrocode}
+% Write citation(s) to .aux file(s)
+% \begin{macrocode}
+ \nocite{#3}%
+% \end{macrocode}
+% The previous cite, for multiple citations with same author.
+% \begin{macrocode}
+ \edef\@citeP{}%
+% \end{macrocode}
+% Open parenthesis and pre-note. The \cmd{\mbox} is to avoid \pkg{hyperref}
+% problems if a \cmd{\citeA} follows an \cmd{\item}.
+% \begin{macrocode}
+ \mbox{\@BBOP}%
+ \ifx\@empty#1\@empty
+ \else%
+ {\ignorespaces #1\@BAP}%
+ \fi%
+% \end{macrocode}
+% Loop over citation entries
+% \begin{macrocode}
+ \@for\@citeb:=#3\do{%
+% \end{macrocode}
+% Removes a possible space before the citation key, so that, e.g.,
+% \verb*+\cite{key1, key2}+ can be done.
+% \begin{macrocode}
+ \edef\@citeb{\expandafter\@firstofone\@citeb}%
+% \end{macrocode}
+% For \pkg{backref}.
+% \begin{macrocode}
+ \back@cite{\@citeb}%
+% \end{macrocode}
+% Check whether the citation is defined.
+% \begin{macrocode}
+ \@ifundefined{b@\@citeb\APAC@extra@b@citeb}%
+ {\expandafter\def\csname b@\@citeb\APAC@extra@b@citeb\endcsname{?}%
+ \expandafter\def\csname Y@\@citeb\APAC@extra@b@citeb\endcsname{?}%
+ %% The following is now handled by \nocite
+ %% \G@refundefinedtrue
+ %% \@latex@warning{Citation `\@citeb' undefined}%
+ }%%
+% \end{macrocode}
+% If the citation is defined, check whether the flag has been set that
+% identifies that this is not the first citation to the work. If this
+% flag has not been set, it will be set to |DUMMY|. If this is the first
+% citation to the work, the full citation is used; else the short version
+% is used.
+% \begin{macrocode}
+ {\@ifundefined{flag@\@citeb\APAC@extra@b@citeb}%
+ {\global\expandafter
+ \def\csname flag@\@citeb\APAC@extra@b@citeb\endcsname{DUMMY}%
+ \def\BCA##1##2{{\@BAstyle ##1}}%
+ }%
+ {\def\BCA##1##2{{\@BAstyle ##2}}%
+ }%
+ }%
+% \end{macrocode}
+% Check whether the current author(s) is (are) equivalent to the
+% previous. If so, only the year is cited in the text and a \cmd{\@BBY}
+% (probably comma and space) is inserted between the two years. The
+% \cmd{\protected@edef} fixes the problem with authors with accents
+% (e.g., J{\"{o}}reskog). Older versions of \pkg{apacite} solved this
+% less elegantly (\pkgoption{accentfix} option). This fix was provided by
+% Robert Schlicht. See also the new definition of \cmd{\@citeP} below.
+% \begin{macrocode}
+ \protected@edef\B@my@dummy{\csname
+ b@\@citeb\APAC@extra@b@citeb\endcsname}%
+ \ifx\@citeP\B@my@dummy
+ \@ifauthorsequalc@de{\@citeb\APAC@extra@b@citeb}%
+ \else
+ \@ifauthorsunequalc@de{\@citeb\APAC@extra@b@citeb}%
+ \fi
+% \end{macrocode}
+% Store the current author(s) for comparison in the next citation (if
+% any).
+% \begin{macrocode}
+ \protected@edef\@citeP{\csname b@\@citeb\APAC@extra@b@citeb\endcsname}%
+ \let\BCA\relax
+ }%%
+% \end{macrocode}
+% End of the loop over citation entries. Add the post-note and closing
+% parenthesis.
+% \begin{macrocode}
+ \ifx\@empty#2\@empty
+ \else%
+ {\@BBN #2}%
+ \fi%
+ \if@Y@cite%
+ {\@BAY}%
+ \fi%
+ {\@BBCP}%
+% \end{macrocode}
+% We're finished with this citation command. Initialize for the next
+% \cmd{\@@cite} call.
+% \begin{macrocode}
+ \@F@citetrue %
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\maskcitations}
+% \begin{macro}{\unmaskcitations}
+% \begin{macro}{\masknocite}
+% \begin{macro}{\maskcite}
+% \begin{macro}{\maskfullcite}
+% \begin{macro}{\maskshortcite}
+% \begin{macro}{\maskciteNP}
+% \begin{macro}{\maskfullciteNP}
+% \begin{macro}{\maskshortciteNP}
+% \begin{macro}{\maskciteA}
+% \begin{macro}{\maskfullciteA}
+% \begin{macro}{\maskshortciteA}
+% \begin{macro}{\maskciteauthor}
+% \begin{macro}{\maskfullciteauthor}
+% \begin{macro}{\maskshortciteauthor}
+% \begin{macro}{\maskciteauthorNP}
+% \begin{macro}{\maskfullciteauthorNP}
+% \begin{macro}{\maskshortciteauthorNP}
+% \begin{macro}{\maskciteyear}
+% \begin{macro}{\maskciteyearNP}
+% \begin{macro}{\masktext}
+% These commands allow masking of (self-)citations for a masked
+% review.
+% The \cmd{maskcitations} command defines the masked citation commands;
+% \cmd{unmaskcitations} does the same, but lets them be equal to the
+% non-mask versions. The advantage of putting these definitions within
+% a command is that we can switch between masked and unmasked within
+% the same document. This is not likely to be used very often in
+% practice, but is useful for writing tutorials.
+% \begin{macrocode}
+\newcommand{\maskcitations}{%
+ \def\masknocite##1{}%
+ \def\maskcite{%
+ \@ifnextchar<% % >
+ {\mask@cite}%
+ {\mask@cite<>}%
+ }%
+ \def\mask@cite<##1>{%
+ \@ifnextchar[% % ]
+ {\mask@@cite<##1>}%
+ {\mask@@cite<##1>[]}%
+ }%
+ \def\mask@@cite<##1>[##2]##3{%
+ \relax
+% \end{macrocode}
+% Count number of masked references.
+% \begin{macrocode}
+ \setcounter{maskedRefs}{0}%
+ \@for\@citeb:=##3\do{%
+ \addtocounter{maskedRefs}{1}%
+ }%
+ \ifnum\value{maskedRefs} = 1%
+ \onemaskedcitationmsg{\themaskedRefs}%
+ \else
+ \maskedcitationsmsg{\themaskedRefs}%
+ \fi
+ }%
+% \end{macrocode}
+% Let all other citation commands be identical to \cmd{\maskcite}.
+% We could try to do fancy things with parentheses, but it's unlikely
+% we will be able to cover all cases of interest, and users can easily
+% change their document if they don't like how this comes out.
+% \begin{macrocode}
+ \let\maskfullcite\maskcite
+ \let\maskshortcite\maskcite
+ \let\maskciteNP\maskcite
+ \let\maskfullciteNP\maskciteNP
+ \let\maskshortciteNP\maskciteNP
+ \let\maskciteA\maskcite
+ \let\maskfullciteA\maskciteA
+ \let\maskshortciteA\maskciteA
+ \let\maskciteauthor\maskcite
+ \let\maskfullciteauthor\maskciteauthor
+ \let\maskshortciteauthor\maskciteauthor
+ \let\maskciteauthorNP\maskciteauthor
+ \let\maskfullciteauthorNP\maskciteauthorNP
+ \let\maskshortciteauthorNP\maskciteauthorNP
+ \let\maskciteyear\maskcite
+ \let\maskciteyearNP\maskciteyear
+% \end{macrocode}
+% A user command to flexibly mask or unmask certain pieces of text.
+% An environment is technically more stable than a command, but less
+% intuitive for users. Under masking, this command prints the optional
+% alternative text |#1|, which defaults to nothing.
+% \begin{macrocode}
+ \DeclareRobustCommand{\masktext}[2][]{##1}%
+}
+% \end{macrocode}
+%
+% The ``mask'' citation commands revert to the same commands without
+% ``mask'' if the \pkgoption{mask} option is not set.
+% \begin{macrocode}
+\newcommand{\unmaskcitations}{%
+ \let\masknocite\nocite
+ \let\maskcite\cite
+ \let\maskfullcite\fullcite
+ \let\maskshortcite\shortcite
+ \let\maskciteNP\citeNP
+ \let\maskfullciteNP\fullciteNP
+ \let\maskshortciteNP\shortciteNP
+ \let\maskciteA\citeA
+ \let\maskfullciteA\fullciteA
+ \let\maskshortciteA\shortciteA
+ \let\maskciteauthor\citeauthor
+ \let\maskfullciteauthor\fullciteauthor
+ \let\maskshortciteauthor\shortciteauthor
+ \let\maskciteauthorNP\citeauthorNP
+ \let\maskfullciteauthorNP\fullciteauthorNP
+ \let\maskshortciteauthorNP\shortciteauthorNP
+ \let\maskciteyear\citeyear
+ \let\maskciteyearNP\citeyearNP
+% \end{macrocode}
+% Unmasked, this command prints the mandatory second argument |#2|.
+% \begin{macrocode}
+ \DeclareRobustCommand{\masktext}[2][]{##2}
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% End of ``classic'' citation commands.
+% \begin{macrocode}
+\fi
+% \end{macrocode}
+%
+% \subsubsection{Emulation of \pkg{natbib} citation commands}
+%
+% If requested, this section defines the \pkg{natbib} citation commands,
+% using the same syntax, without actually loading \pkg{natbib}. We also
+% define a few additional commands that \pkg{natbib} did not implement,
+% but that fit the scheme and serve some useful purpose for APA style
+% citation.
+%
+% |\if@APAC@alias@cite| needs to be defined outside the
+% |\if@APAC@natbib@emu| because otherwise \TeX{} does not process the
+% nested |\if|'s below correctly.
+% \begin{macrocode}
+\newif\if@APAC@alias@cite
+\@APAC@alias@citefalse
+\if@APAC@natbib@emu
+% \end{macrocode}
+%
+% \begin{macro}{\citep}
+% \begin{macro}{\shortcitep}
+% Parenthetical citation commands.
+% \begin{macrocode}
+\DeclareRobustCommand\citep{%
+ \@ifstar{% full cite
+ \def\BCAY##1##2##3{\BCA{##1}{##1}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##1}{##1}}%
+ }{% else
+ \def\BCAY##1##2##3{\BCA{##1}{##2}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##1}{##2}}%
+ }%
+ \def\@BBOP{\BBOP}% % open parenthesis
+ \def\@BBCP{\BBCP}% % close parenthesis
+ \@ifnextchar[% % ]
+ {\APACNAT@citep}%
+ {\APACNAT@citep[]}%
+}
+\DeclareRobustCommand\shortcitep{%
+ \def\BCAY##1##2##3{\BCA{##2}{##2}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##2}{##2}}%
+ \def\@BBOP{\BBOP}% % open parenthesis
+ \def\@BBCP{\BBCP}% % close parenthesis
+ \@ifnextchar[% % ]
+ {\APACNAT@citep}%
+ {\APACNAT@citep[]}%
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\citealp}
+% \begin{macro}{\shortcitealp}
+% Parenthetical citation commands, but without the actual parentheses.
+% \begin{macrocode}
+\DeclareRobustCommand\citealp{%
+ \@ifstar{% full cite
+ \def\BCAY##1##2##3{\BCA{##1}{##1}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##1}{##1}}%
+ }{% else
+ \def\BCAY##1##2##3{\BCA{##1}{##2}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##1}{##2}}%
+ }%
+ \def\@BBOP{}% % open parenthesis
+ \def\@BBCP{}% % close parenthesis
+ \@ifnextchar[%% ]
+ {\APACNAT@citep}%
+ {\APACNAT@citep[]}%
+}
+\DeclareRobustCommand\shortcitealp{%
+ \def\BCAY##1##2##3{\BCA{##2}{##2}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##2}{##2}}%
+ \def\@BBOP{}% % open parenthesis
+ \def\@BBCP{}% % close parenthesis
+ \@ifnextchar[%% ]
+ {\APACNAT@citep}%
+ {\APACNAT@citep[]}%
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\APACNAT@citep}
+% Second layer of the parenthetical and alp citation commands.
+% \begin{macrocode}
+\newcommand\APACNAT@citep{}
+\def\APACNAT@citep[#1]{%
+ \def\@BAP{\BAP}% % after precitation [=#1] before first citation
+ \def\@BBA{\BBAA}% % `and' between authors
+ \def\@BBAY{\BBAY}% % between author and year
+ \def\@BAY{}% % after year
+ \def\@BBY{\BBYY}% % between years of multiple citations with same author
+ \def\@BBC{\BBC}% % between cites
+ \def\@BBN{\BBN}% % after last citation before note/postcitation [=#2]
+ \def\@BAstyle{\BAstyle}% text style of authors
+ \@A@citetrue% % cite authors
+ \@Y@citetrue% % cite years
+ \@ifnextchar[% % ]
+ {\@citex[#1]}%
+ {\@citex[][#1]}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\citet}
+% \begin{macro}{\shortcitet}
+% In-text citation commands.
+% \begin{macrocode}
+\DeclareRobustCommand\citet{%
+ \@ifstar{%
+ \def\BCAY##1##2##3{\BCA{##1}{##1}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##1}{##1}}%
+ }{% else
+ \def\BCAY##1##2##3{\BCA{##1}{##2}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##1}{##2}}%
+ }%
+ \def\@BBAY{ \BBOP}%% between author and year
+ \@ifnextchar[% %]
+ {\APACNAT@citet}%
+ {\APACNAT@citet[]}%
+}
+\DeclareRobustCommand\shortcitet{%
+ \def\BCAY##1##2##3{\BCA{##2}{##2}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##2}{##2}}%
+ \def\@BBAY{ \BBOP}%% between author and year
+ \@ifnextchar[% %]
+ {\APACNAT@citet}%
+ {\APACNAT@citet[]}%
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\citealt}
+% \begin{macro}{\shortcitealt}
+% Text citation commands, but without the actual parentheses. Not sure when
+% this would be useful, but \pkg{natbib} defines them.
+% \begin{macrocode}
+\DeclareRobustCommand\citealt{%
+ \@ifstar{% full cite
+ \def\BCAY##1##2##3{\BCA{##1}{##1}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##1}{##1}}%
+ }{% else
+ \def\BCAY##1##2##3{\BCA{##1}{##2}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##1}{##2}}%
+ }%
+ \def\@BBOP{}% % open parenthesis
+ \def\@BBCP{}% % close parenthesis
+ \def\@BBAY{ }%% between author and year
+ \@ifnextchar[%% ]
+ {\APACNAT@citet}%
+ {\APACNAT@citet[]}%
+}
+\DeclareRobustCommand\shortcitealt{%
+ \def\BCAY##1##2##3{\BCA{##2}{##2}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##2}{##2}}%
+ \def\@BBOP{}% % open parenthesis
+ \def\@BBCP{}% % close parenthesis
+ \def\@BBAY{ }%% between author and year
+ \@ifnextchar[%% ]
+ {\APACNAT@citet}%
+ {\APACNAT@citet[]}%
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\APACNAT@citet}
+% Second layer of in-text and alt citation commands.
+% \begin{macrocode}
+\newcommand\APACNAT@citet{}
+\def\APACNAT@citet[#1]{%
+ \def\@BBOP{}% % open parenthesis.
+ \def\@BAP{\BAP}% % after precitation [=#1] before first citation
+ \def\@BBA{\BBAB}% % `and' between authors
+%% \def\@BBAY{ \BBOP}%% between author and year
+ \def\@BAY{\BBCP}% % after year
+ \def\@BBY{\BBYY}% % between years of multiple citations with same author
+ \def\@BBC{\BBC}% % between cites
+ \def\@BBN{\BBN}% % after last citation before note/postcitation [=#2]
+ \def\@BBCP{}% % close parenthesis
+ \def\@BAstyle{\BAstyle}% text style of authors
+ \@A@citetrue% % cite authors
+ \@Y@citetrue% % cite years
+ \@ifnextchar[% % ]
+ {\@citex[#1]}%
+ {\@citex[][#1]}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\citeauthort}
+% \begin{macro}{\shortciteauthort}
+% \begin{macro}{\citeauthorp}
+% \begin{macro}{\shortciteauthorp}
+% \begin{macro}{\citeauthor}
+% \begin{macro}{\citefullauthor}
+% \begin{macro}{\shortciteauthor}
+% Commands that only cite the author, for parenthetical and in-text citations,
+% the difference being that `\&' is used in the parenthetical versions,
+% whereas the in-text versions use `and' between the authors. Note that all
+% are without parentheses.
+% \begin{macrocode}
+\DeclareRobustCommand\citeauthort{%
+ \@ifstar{%
+ \def\BCAY##1##2##3{\BCA{##1}{##1}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##1}{##1}}%
+ }{% else
+ \def\BCAY##1##2##3{\BCA{##1}{##2}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##1}{##2}}%
+ }%
+ \@ifnextchar[% %]
+ {\APACNAT@citeauthort}%
+ {\APACNAT@citeauthort[]}%
+}
+\DeclareRobustCommand\shortciteauthort{%
+ \def\BCAY##1##2##3{\BCA{##2}{##2}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##2}{##2}}%
+ \@ifnextchar[% %]
+ {\APACNAT@citeauthort}%
+ {\APACNAT@citeauthort[]}%
+}
+\DeclareRobustCommand\citeauthorp{%
+ \@ifstar{%
+ \def\BCAY##1##2##3{\BCA{##1}{##1}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##1}{##1}}%
+ }{% else
+ \def\BCAY##1##2##3{\BCA{##1}{##2}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##1}{##2}}%
+ }%
+ \@ifnextchar[% %]
+ {\APACNAT@citeauthorp}%
+ {\APACNAT@citeauthorp[]}%
+}
+\DeclareRobustCommand\shortciteauthorp{%
+ \def\BCAY##1##2##3{\BCA{##2}{##2}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##2}{##2}}%
+ \@ifnextchar[% %]
+ {\APACNAT@citeauthorp}%
+ {\APACNAT@citeauthorp[]}%
+}
+\DeclareRobustCommand\citeauthor{\citeauthort}
+\DeclareRobustCommand\citefullauthor{\citeauthort*}
+\DeclareRobustCommand\shortciteauthor{\shortciteauthort}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\APACNAT@citeauthort}
+% \begin{macro}{\APACNAT@citeauthorp}
+% Second layer of the author citation commands.
+% \begin{macrocode}
+\newcommand\APACNAT@citeauthort{}
+\def\APACNAT@citeauthort[#1]{%
+ \def\@BBOP{}% % open parenthesis
+ \def\@BAP{\BAP}% % after precitation [=#1] before first citation
+ \def\@BBA{\BBAB}% % `and' between authors
+ \def\@BBAY{}% % between author and year
+ \def\@BAY{}% % after year
+ \def\@BBY{}% % between years of multiple citations with same author
+ \def\@BBC{\BBC}% % between cites
+ \def\@BBN{\BBN}% % after last citation before note/postcitation [=#2]
+ \def\@BBCP{}% % close parenthesis
+ \def\@BAstyle{\BAastyle}% text style of authors
+ \@A@citetrue% % cite authors
+ \@Y@citefalse% % do not cite years
+ \@ifnextchar[% % ]
+ {\@citex[#1]}%
+ {\@citex[][#1]}%
+}
+\newcommand\APACNAT@citeauthorp{}
+\def\APACNAT@citep[#1]{%
+ \def\@BBOP{}% % open parenthesis
+ \def\@BAP{\BAP}% % after precitation [=#1] before first citation
+ \def\@BBA{\BBAA}% % `and' between authors
+ \def\@BBAY{}% % between author and year
+ \def\@BAY{}% % after year
+ \def\@BBY{}% % between years of multiple citations with same author
+ \def\@BBC{\BBC}% % between cites
+ \def\@BBN{\BBN}% % after last citation before note/postcitation [=#2]
+ \def\@BBCP{}% % close parenthesis
+ \def\@BAstyle{\BAastyle}% text style of authors
+ \@A@citetrue% % cite authors
+ \@Y@citefalse% % do not cite years
+ \@ifnextchar[% % ]
+ {\@citex[#1]}%
+ {\@citex[][#1]}%
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\citeyearpar}
+% \begin{macro}{\citeyear}
+% Cite only the year; parenthetical and without parentheses. Note that these
+% are the \pkg{natbib} conventions, so unlike traditional \pkg{apacite}
+% \cmd{\citeyear}, \cmd{\citeyear} here does not include the parentheses.
+% \begin{macrocode}
+\DeclareRobustCommand\citeyearpar{%
+ \def\BCAY##1##2##3{\BCA{##1}{##2}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##1}{##2}}%
+ \def\@BBOP{\BBOP}% % open parenthesis
+ \def\@BBCP{\BBCP}% % close parenthesis
+ \@ifnextchar[% % ]
+ {\APACNAT@citeyear}%
+ {\APACNAT@citeyear[]}%
+}
+\DeclareRobustCommand\citeyear{%
+ \def\BCAY##1##2##3{\BCA{##1}{##2}}% kept for compat. with prev. versions
+ \def\citeauthoryear##1##2##3{\BCA{##1}{##2}}%
+ \def\@BBOP{}% % open parenthesis
+ \def\@BBCP{}% % close parenthesis
+ \@ifnextchar[% % ]
+ {\APACNAT@citeyear}%
+ {\APACNAT@citeyear[]}%
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\APACNAT@citeyear}
+% Second layer of the year citation commands.
+% \begin{macrocode}
+\newcommand\APACNAT@citeyear{}
+\def\APACNAT@citeyear[#1]{%
+ \def\@BAP{\BAP}% % after precitation [=#1] before first citation
+ \def\@BBA{}% % `and' between authors
+ \def\@BBAY{}% % between author and year
+ \def\@BAY{}% % after year
+ \def\@BBY{\BBYY}% % between years of multiple citations with same author
+ \def\@BBC{\BBC}% % between cites
+ \def\@BBN{\BBN}% % after last citation before note/postcitation [=#2]
+ \def\@BAstyle{}% % text style of authors
+ \@A@citefalse% % do not cite authors
+ \@Y@citetrue% % cite years
+ \@ifnextchar[% % ]
+ {\@citex[#1]}%
+ {\@citex[][#1]}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\APACNAT@citex}
+% The core citation command. We will let \cmd{\@citex} revert to this.
+% \begin{macrocode}
+\newcommand\APACNAT@citex{}
+\def\APACNAT@citex[#1][#2]#3{%
+% \end{macrocode}
+% Write citation(s) to \fname{.aux} file(s)
+% \begin{macrocode}
+ \nocite{#3}%
+% \end{macrocode}
+% The previous cite, for multiple citations with same author.
+% \begin{macrocode}
+ \edef\@citeP{}%
+% \end{macrocode}
+% Open parenthesis and pre-note. The \cmd{\mbox} is to avoid \pkg{hyperref}
+% problems if a citation command follows an \cmd{\item}. Better to change
+% this to using \cmd{\citetext}; for the todo list.
+% \begin{macrocode}
+ \mbox{\@BBOP}%
+ \ifx\@empty#1\@empty
+ \else%
+ {\ignorespaces #1\@BAP}%
+ \fi%
+% \end{macrocode}
+% Loop over citation entries
+% \begin{macrocode}
+ \@for\@citeb:=#3\do{%
+% \end{macrocode}
+% Removes a possible space before the citation key, so that, e.g.,
+% \verb*+\cite{key1, key2}+ can be done.
+% \begin{macrocode}
+ \edef\@citeb{\expandafter\@firstofone\@citeb}%
+% \end{macrocode}
+% For \pkg{backref}.
+% \begin{macrocode}
+ \back@cite{\@citeb}%
+% \end{macrocode}
+% If this is an alias cite, we should include the alias but not author
+% or year, so the code is slightly different.
+% \begin{macrocode}
+ \if@APAC@alias@cite
+% \end{macrocode}
+% Check whether the alias is defined.
+% \begin{macrocode}
+ \@ifundefined{al@\@citeb\APAC@extra@b@citeb}%
+ {\PackageWarning{apacite}{Undefined alias for citation \@citeb}
+ \expandafter\def\csname al@\@citeb\APAC@extra@b@citeb\endcsname{?}%
+ }{}%
+% \end{macrocode}
+% Replace the authors by the alias and don't cite years.
+% \begin{macrocode}
+ \@Y@citefalse % do not cite years
+ \def\BCA##1##2{{\@BAstyle \csname
+ al@\@citeb\APAC@extra@b@citeb\endcsname}}%
+% \end{macrocode}
+% Use the ``unequal'' code because the alias takes the place of the
+% authors.
+% \begin{macrocode}
+ \@ifauthorsunequalc@de{\@citeb\APAC@extra@b@citeb}%
+ \else
+% \end{macrocode}
+% The usual author and/or year citation. Check whether the citation is
+% defined.
+% \begin{macrocode}
+ \@ifundefined{b@\@citeb\APAC@extra@b@citeb}%
+ {\expandafter\def\csname b@\@citeb\APAC@extra@b@citeb\endcsname{?}%
+ \expandafter\def\csname Y@\@citeb\APAC@extra@b@citeb\endcsname{?}%
+ }%
+% \end{macrocode}
+% If the citation is defined, check whether the flag has been set that
+% identifies that this is not the first citation to the work. If this
+% flag has not been set, it will be set to |DUMMY|. If this is the first
+% citation to the work, the full citation is used; else the short version
+% is used.
+% \begin{macrocode}
+ {\@ifundefined{flag@\@citeb\APAC@extra@b@citeb}%
+ {\global\expandafter
+ \def\csname flag@\@citeb\APAC@extra@b@citeb\endcsname{DUMMY}%
+ \def\BCA##1##2{{\@BAstyle ##1}}%
+ }%
+ {\def\BCA##1##2{{\@BAstyle ##2}}%
+ }%
+ }%
+% \end{macrocode}
+% Check whether the current author(s) is (are) equivalent to the
+% previous. If so, only the year is cited in the text and a \cmd{\@BBY}
+% (probably comma and space) is inserted between the two years. The
+% \cmd{\protected@edef} fixes the problem with authors with accents
+% (e.g., J{\"{o}}reskog). Older versions of \pkg{apacite} solved this
+% less elegantly (\pkgoption{accentfix} option). This fix was provided by
+% Robert Schlicht. See also the new definition of \cmd{\@citeP} below.
+% \begin{macrocode}
+ \protected@edef\B@my@dummy{\csname
+ b@\@citeb\APAC@extra@b@citeb\endcsname}%
+ \ifx\@citeP\B@my@dummy
+ \@ifauthorsequalc@de{\@citeb\APAC@extra@b@citeb}%
+ \else
+ \@ifauthorsunequalc@de{\@citeb\APAC@extra@b@citeb}%
+ \fi
+% \end{macrocode}
+% Store the current author(s) for comparison in the next citation (if
+% any).
+% \begin{macrocode}
+ \protected@edef\@citeP{\csname
+ b@\@citeb\APAC@extra@b@citeb\endcsname}%
+ \let\BCA\relax
+ \fi
+ }%
+% \end{macrocode}
+% End of the loop over citation entries. Add the post-note and closing
+% parenthesis.
+% \begin{macrocode}
+ \ifx\@empty#2\@empty
+ \else%
+ {\@BBN #2}%
+ \fi%
+ \if@Y@cite%
+ {\@BAY}%
+ \fi%
+ {\@BBCP}%
+% \end{macrocode}
+% We're finished with this citation command. Initialize for the next
+% \cmd{\APACNAT@citex} call.
+% \begin{macrocode}
+ \@F@citetrue %
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\citetext}
+% To place any arbitrary text inside the citation braces, use
+% \cmd{\citetext}.
+% \begin{macrocode}
+\newcommand\citetext[1]{\mbox{}\BBOP{}#1\BBCP}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@citex}
+% The core citation command.
+% \begin{macrocode}
+\let\@citex\APACNAT@citex
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\cite}
+% The use of \cmd{\cite} is considered deprecated in \pkg{natbib}, but
+% we provide it as a backwards compatibility definition just like \pkg{natbib}.
+% Without optional arguments, it reverts to \cmd{\citep} and with optional
+% arguments (even empty ones), it reverts to \cmd{\citet}.
+% \begin{macrocode}
+\DeclareRobustCommand\cite{%
+ \@ifstar{%
+ \@ifnextchar[% %]
+ {\citep*}%
+ {\citet*}%
+ }{%
+ \@ifnextchar[% %]
+ {\citep}%
+ {\citet}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\Citet}
+% \begin{macro}{\Citep}
+% \begin{macro}{\Citealt}
+% \begin{macro}{\Citealp}
+% \begin{macro}{\Citeauthort}
+% \begin{macro}{\Citeauthorp}
+% \begin{macro}{\Citeauthor}
+% \begin{macro}{\Citefullauthor}
+% \begin{macro}{\Cite}
+% Commands that capitalize the first name in a citation, to be used at the
+% beginning of a sentence. These are currently not implemented yet, so let's
+% just define them to be equal to the non-capitalized versions.
+% \begin{macrocode}
+\DeclareRobustCommand\Citet{\citet}
+\DeclareRobustCommand\Citep{\citep}
+\DeclareRobustCommand\Citealt{\citealt}
+\DeclareRobustCommand\Citealp{\citealp}
+\DeclareRobustCommand\Citeauthort{\citeauthort}
+\DeclareRobustCommand\Citeauthorp{\citeauthorp}
+\DeclareRobustCommand\Citeauthor{\citeauthor}
+\DeclareRobustCommand\Citefullauthor{\citefullauthor}
+\DeclareRobustCommand\Cite{\cite}
+\DeclareRobustCommand\shortCitet{\shortcitet}
+\DeclareRobustCommand\shortCitep{\shortcitep}
+\DeclareRobustCommand\shortCitealt{\shortcitealt}
+\DeclareRobustCommand\shortCitealp{\shortcitealp}
+\DeclareRobustCommand\shortCiteauthort{\shortciteauthort}
+\DeclareRobustCommand\shortCiteauthorp{\shortciteauthorp}
+\DeclareRobustCommand\shortCiteauthor{\shortciteauthor}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\shortcites}
+% This declares a list of citations that should be cited in their
+% short form. This can be overridden by using the starred form of
+% the citation commands later.
+% \begin{macrocode}
+\newcommand\shortcites[1]{%
+ \@bsphack
+ \@for\@citeb:=#1\do{%
+ \edef\@citeb{\expandafter\@firstofone\@citeb}%
+ \global\expandafter
+ \def\csname flag@\@citeb\APAC@extra@b@citeb\endcsname{DUMMY}%
+ }%
+ \@esphack
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\defcitealias}
+% \begin{macro}{\citetalias}
+% \begin{macro}{\citepalias}
+% Define an ``alias'', which can be an arbitrary text string, and use
+% this instead of the author and year in a citation. Adapted from
+% \fname{natbib.dtx}.
+% \begin{macrocode}
+\newcommand\defcitealias[2]{%
+ \@ifundefined{al@#1\APAC@extra@b@citeb}{}
+ {\PackageWarning{apacite}{Overwriting existing alias for citation #1}}
+ \@namedef{al@#1\APAC@extra@b@citeb}{#2}}
+\DeclareRobustCommand\citetalias{%
+ \@APAC@alias@citetrue
+ \citet
+}
+\DeclareRobustCommand\citepalias{%
+ \@APAC@alias@citetrue
+ \citep
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% Define \cmd{\citeindextype}, |\citeindextrue|, and |\citeindexfalse|
+% for compatibility with \pkg{natbib}. However, these don't do anything
+% in \pkg{apacite}, which supports author indexes using one of the
+% ``index'' options and back referencing of specific citations using
+% the \pkg{backref} package.
+% \begin{macrocode}
+\newif\ifciteindex \citeindexfalse
+\newcommand\citeindextype{default}
+% \end{macrocode}
+%
+% \begin{macro}{\citenumfont}
+% The \pkg{natbib} command \cmd{\citenum} is undefined and thus gives an
+% error, but the \cmd{\citenumfont} declaration is harmless and can stay.
+% \begin{macrocode}
+\let\citenumfont=\@empty
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\bibpunct}
+% This sets various punctuation commands equal to its arguments.
+% In contrast with the \pkg{natbib} implementation, the 5th argument
+% (4th mandatory argument) is ignored, because \pkg{apacite} currently
+% only supports author-year citations. Also, in contrast to the
+% \pkg{natbib} implementation, this does not disable subsequent
+% \cmd{\bibstyle} commands.
+% \begin{macrocode}
+\newcommand\bibpunct[7][, ]%
+ {\gdef\BBOP{#2}\gdef\BBCP{#3}\gdef\BBC{#4}%
+ \gdef\BBAY{#6}\gdef\BBYY{#7}\gdef\BBN{#1}%
+ }
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\bibstyle@apacite}
+% \begin{macro}{\bibstyle@apa}
+% These commands define the punctuation to be the \pkg{apacite}
+% default. This is normally not very useful, because this only
+% defines things as they are by default in \pkg{apacite} anyway, but
+% it may be useful as a simple reset if different parts of the
+% document need to use different styles.
+% \begin{macrocode}
+\newcommand\bibstyle@apacite{%
+ \bibpunct[, ]{(}{)}{; }{a}{, }{, }%
+ \setlength{\bibhang}{2.5em}%
+ \setlength{\bibsep}{0pt}%
+}
+\let\bibstyle@apa=\bibstyle@apacite
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\citestyle}
+% This command selects a predefined citation punctuation style.
+% In contrast to the \pkg{natbib} implementation, this is not
+% deactivated at |\begin{document}|, so it's possible to change
+% to a different style in the document body.
+% \begin{macrocode}
+\newcommand\citestyle[1]{\csname bibstyle@#1\endcsname}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\setcitestyle}
+% This sets individual punctuation parameters. Adapted from
+% \fname{natbib.dtx}.
+% \begin{macrocode}
+\newcommand\setcitestyle[1]{%
+ \@for\@tempa:=#1\do
+ {\def\@tempb{round}\ifx\@tempa\@tempb
+ \renewcommand\BBOP{(}\renewcommand\BBCP{)}\fi
+ \def\@tempb{square}\ifx\@tempa\@tempb
+ \renewcommand\BBOP{[}\renewcommand\BBCP{]}\fi
+ \def\@tempb{angle}\ifx\@tempa\@tempb
+ \renewcommand\BBOP{$<$}\renewcommand\BBCP{$>$}\fi
+ \def\@tempb{curly}\ifx\@tempa\@tempb
+ \renewcommand\BBOP{\{}\renewcommand\BBCP{\}}\fi
+ \def\@tempb{semicolon}\ifx\@tempa\@tempb
+ \renewcommand\BBC{; }\fi
+ \def\@tempb{colon}\ifx\@tempa\@tempb
+ \renewcommand\BBC{: }\fi
+ \def\@tempb{comma}\ifx\@tempa\@tempb
+ \renewcommand\BBC{, }\fi
+% \end{macrocode}
+% \pkg{apacite} supports author-year citation only, so |authoryear|,
+% |numbers|, and |super| are ignored. (Alternatively, we could have
+% issued an error for |numbers| and |super|.)
+% \begin{macrocode}
+ \def\@tempb{authoryear}\ifx\@tempa\@tempb
+ \fi
+ \def\@tempb{numbers}\ifx\@tempa\@tempb
+ \fi
+ \def\@tempb{super}\ifx\@tempa\@tempb
+ \fi
+ \expandafter\APAC@find@eq\@tempa=\relax\@nil
+ \if\@tempc\relax\else
+ \expandafter\APAC@rem@eq\@tempc
+ \def\@tempb{open}\ifx\@tempa\@tempb
+ \xdef\BBOP{\@tempc}\fi
+ \def\@tempb{close}\ifx\@tempa\@tempb
+ \xdef\BBCP{\@tempc}\fi
+ \def\@tempb{aysep}\ifx\@tempa\@tempb
+ \xdef\BBAY{\@tempc}\fi
+ \def\@tempb{yysep}\ifx\@tempa\@tempb
+ \xdef\BBYY{\@tempc}\fi
+ \def\@tempb{notesep}\ifx\@tempa\@tempb
+ \xdef\BBN{\@tempc}\fi
+ \def\@tempb{citesep}\ifx\@tempa\@tempb
+ \xdef\BBC{\@tempc}\fi
+ \fi
+ }%
+}
+\def\APAC@find@eq#1=#2\@nil{\def\@tempa{#1}\def\@tempc{#2}}
+\def\APAC@rem@eq#1={\def\@tempc{#1}}
+% \end{macrocode}
+% \end{macro}
+%
+% End of \pkg{natbib} emulation code.
+% \begin{macrocode}
+\fi
+% \end{macrocode}
+%
+% \subsubsection{Using \pkg{apacite} with \pkg{natbib} for citations}
+%
+% If requested, this section loads \pkg{natbib} with the options
+% \pkgoption{longnamesfirst} and \pkgoption{sort}, which are
+% necessary for APA-style adherence. Then, we redefine some
+% \pkg{natbib} and \pkg{apacite} commands to improve APA adherence of
+% the combination. We also define a few additional commands that
+% \pkg{natbib} did not implement, but that fit the scheme and serve
+% some useful purpose for APA style citation. Defer loading this part
+% until the end of the package, after loading the bibliography part.
+% (This needs to be fixed.)
+%
+% \begin{macrocode}
+\newcommand{\BBA@nat}{%
+ \ifNAT@swa
+% \end{macrocode}
+% parenthetical; ``\&''
+% \begin{macrocode}
+ \BBAA
+ \else
+% \end{macrocode}
+% in-text; ``and''
+% \begin{macrocode}
+ \BBAB
+ \fi
+}
+\if@APAC@natbib@apa
+ \AtEndOfPackage{%
+ \if@sectionbibdefault
+ \RequirePackage[longnamesfirst,sort]{natbib}
+ \else\if@sectionbib
+ \RequirePackage[longnamesfirst,sort,sectionbib]{natbib}
+ \else
+ \RequirePackage[longnamesfirst,sort]{natbib}
+ \fi\fi
+% \end{macrocode}
+%
+% \begin{macro}{\NAT@parse@date}
+% Redefine \pkg{natbib}'s date parsing function to avoid dropping the
+% year in ``(2008a, 2008b)''.
+% \begin{macrocode}
+\renewcommand\NAT@parse@date{}
+\def\NAT@parse@date#1#2#3#4#5#6@@{%
+ \def\NAT@year{#1#2}\def\NAT@exlab{{#3}}}
+% \end{macrocode}
+% \end{macro}
+% ``and'' vs.\ ``\&''.
+% \begin{macrocode}
+\DeclareRobustCommand{\BBA}{\BBA@nat}
+% \end{macrocode}
+% In the reflist ``\&''.
+% \begin{macrocode}
+\let\orig@nat@@lbibitem\@lbibitem
+\def\@lbibitem{\NAT@swatrue\orig@nat@@lbibitem}
+% \end{macrocode}
+%
+% Make sure we're in parenthetical mode when in \cmd{\citetext}
+% \begin{macrocode}
+\renewcommand\citetext[1]{\NAT@open\begingroup\NAT@swatrue
+ #1\endgroup\NAT@close}
+% \end{macrocode}
+%
+% \begin{macro}{\citeauthort}
+% \begin{macro}{\citeauthorp}
+% \begin{macro}{\citefullauthort}
+% \begin{macro}{\citefullauthorp}
+% \begin{macro}{\Citeauthort}
+% \begin{macro}{\Citeauthorp}
+% \begin{macro}{\Citefullauthort}
+% \begin{macro}{\Citefullauthorp}
+% There's only one \cmd{\citeauthor}, but we need to distinguish
+% between parenthetical and in-text. The most common is in-text, so
+% let \cmd{\citeauthor} be the in-text one, but define
+% \cmd{\citeauthort} to be the same, and add \cmd{\citeauthorp}.
+% \begin{macrocode}
+\DeclareRobustCommand\citeauthort{\citeauthor}
+\DeclareRobustCommand\Citeauthort{\Citeauthor}
+\DeclareRobustCommand\citeauthorp
+ {\begingroup\NAT@swatrue\let\NAT@ctype\@ne\NAT@parfalse
+ \@ifstar{\NAT@fulltrue\NAT@citetp}{\NAT@fullfalse\NAT@citetp}}
+\DeclareRobustCommand\Citeauthorp
+ {\begingroup\NAT@swatrue\let\NAT@ctype\@ne\NAT@parfalse
+ \let\NAT@up\NAT@Up
+ \@ifstar{\NAT@fulltrue\NAT@citetp}{\NAT@fullfalse\NAT@citetp}}
+% \end{macrocode}
+% For completeness of the system.
+% \begin{macrocode}
+\DeclareRobustCommand{\Citefullauthor}{\Citeauthor*}
+\DeclareRobustCommand{\citefullauthort}{\citeauthort*}
+\DeclareRobustCommand{\citefullauthorp}{\citeauthorp*}
+\DeclareRobustCommand{\Citefullauthort}{\Citeauthort*}
+\DeclareRobustCommand{\Citefullauthorp}{\Citeauthorp*}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\bibstyle@apacite}
+% \begin{macro}{\bibstyle@apa}
+% Other settings. I think the \pkg{natbib} defaults are good, but
+% let's define this explicitly and allow the usual \pkg{apacite}
+% customization options.
+% \begin{macrocode}
+\providecommand\bibstyle@apacite{%
+% \end{macrocode}
+% \pkg{natbib} is inconsistent with adding space.
+% \begin{macrocode}
+ \renewcommand{\BBAY}{,}%
+ \renewcommand{\BBC}{;}%
+ \renewcommand{\BBYY}{,}%
+ \bibpunct[\BBN ]{\BBOP }{\BBCP }{\BBC }{a}{\BBAY }{\BBYY }%
+ \setlength{\bibhang}{2.5em}%
+ \setlength{\bibsep}{0pt}%
+}
+\providecommand\bibstyle@apa{\bibstyle@apacite}
+\citestyle{apacite}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% End of \pkg{natbib}--\pkg{apacite} code.
+% \begin{macrocode}
+}% end \cmd{\AtEndOfPackage}
+\fi
+% \end{macrocode}
+%
+% \subsubsection{Shared code for \pkgoption{natbibemu} and
+% \pkgoption{natbibapa}}
+%
+% This section defines some extensions of \pkg{natbib} that are
+% useful with both the \pkgoption{natbibemu} and \pkgoption{natbibapa}
+% options.
+%
+% \begin{macrocode}
+\if@APAC@any@natbib
+% \end{macrocode}
+%
+% \begin{macro}{\maskcitations}
+% \begin{macro}{\unmaskcitations}
+% \begin{macro}{\masknocite}
+% \begin{macro}{\maskcitep}
+% \begin{macro}{\maskcitealp}
+% \begin{macro}{\maskcitet}
+% \begin{macro}{\maskcitealt}
+% \begin{macro}{\maskciteauthor}
+% \begin{macro}{\maskcitefullauthor}
+% \begin{macro}{\maskciteyearpar}
+% \begin{macro}{\maskciteyear}
+% \begin{macro}{\maskcite}
+% \begin{macro}{\maskcitetalias}
+% \begin{macro}{\maskcitepalias}
+% \begin{macro}{\maskCitet}
+% \begin{macro}{\maskCitep}
+% \begin{macro}{\maskCitealt}
+% \begin{macro}{\maskCitealp}
+% \begin{macro}{\maskCiteauthor}
+% \begin{macro}{\maskcitenum}
+% \begin{macro}{\maskciteauthort}
+% \begin{macro}{\maskciteauthorp}
+% \begin{macro}{\maskCitefullauthor}
+% \begin{macro}{\maskCiteauthort}
+% \begin{macro}{\maskCiteauthorp}
+% \begin{macro}{\masktext}
+% These commands allow masking of (self-)citations for a masked
+% review.
+% The \cmd{maskcitations} command defines the masked citation commands;
+% \cmd{unmaskcitations} does the same, but lets them be equal to the
+% non-mask versions. The advantage of putting these definitions within
+% a command is that we can switch between masked and unmasked within
+% the same document. This is not likely to be used very often in
+% practice, but is useful for writing tutorials.
+% \begin{macrocode}
+\newcommand{\maskcitations}{%
+ \def\masknocite##1{}%
+ \DeclareRobustCommand\maskcite{%
+ \@ifnextchar[% % ]
+ {\mask@cite}%
+ {\mask@cite[]}%
+ }%
+ \def\mask@cite[##1]{%
+ \@ifnextchar[% % ]
+ {\mask@@cite[##1]}%
+ {\mask@@cite[##1][]}%
+ }%
+ \def\mask@@cite[##1][##2]##3{%
+ \relax
+% \end{macrocode}
+% Count number of masked references.
+% \begin{macrocode}
+ \setcounter{maskedRefs}{0}%
+ \@for\@citeb:=##3\do{%
+ \addtocounter{maskedRefs}{1}%
+ }%
+ \ifnum\value{maskedRefs} = 1%
+ \onemaskedcitationmsg{\themaskedRefs}%
+ \else
+ \maskedcitationsmsg{\themaskedRefs}%
+ \fi
+ }%
+% \end{macrocode}
+% Let all other citation commands be identical to \cmd{\maskcite}.
+% We could try to do fancy things with parentheses, but it's unlikely
+% we will be able to cover all cases of interest, and users can easily
+% change their document if they don't like how this comes out.
+% \begin{macrocode}
+ \let\maskcitep\maskcite
+ \let\maskcitealp\maskcite
+ \let\maskcitet\maskcite
+ \let\maskcitealt\maskcite
+ \let\maskciteauthor\maskcite
+ \let\maskcitefullauthor\maskcite
+ \let\maskciteyearpar\maskcite
+ \let\maskciteyear\maskcite
+ \let\maskcitetalias\maskcite
+ \let\maskcitepalias\maskcite
+ \let\maskCitet\maskcite
+ \let\maskCitep\maskcite
+ \let\maskCitealt\maskcite
+ \let\maskCitealp\maskcite
+ \let\maskCiteauthor\maskcite
+ \let\maskcitenum\maskcite
+ \let\maskciteauthort\maskcite
+ \let\maskciteauthorp\maskcite
+ \let\maskCitefullauthor\maskcite
+ \let\maskCiteauthort\maskcite
+ \let\maskCiteauthorp\maskcite
+% \end{macrocode}
+% A user command to flexibly mask or unmask certain pieces of text.
+% An environment is technically more stable than a command, but less
+% intuitive for users. Under masking, this command prints the optional
+% alternative text |#1|, which defaults to nothing.
+% \begin{macrocode}
+ \DeclareRobustCommand{\masktext}[2][]{##1}%
+}
+% \end{macrocode}
+%
+% The ``mask'' citation commands revert to the same commands without
+% ``mask'' if the \pkgoption{mask} option is not set.
+% \begin{macrocode}
+\newcommand{\unmaskcitations}{%
+ \let\masknocite\nocite
+ \let\maskcitep\citep
+ \let\maskcitealp\citealp
+ \let\maskcitet\citet
+ \let\maskcitealt\citealt
+ \let\maskciteauthor\citeauthor
+ \let\maskcitefullauthor\citefullauthor
+ \let\maskciteyearpar\citeyearpar
+ \let\maskciteyear\citeyear
+ \let\maskcite\cite
+ \let\maskcitetalias\citetalias
+ \let\maskcitepalias\citepalias
+ \let\maskCitet\Citet
+ \let\maskCitep\Citep
+ \let\maskCitealt\Citealt
+ \let\maskCitealp\Citealp
+ \let\maskCiteauthor\Citeauthor
+ \let\maskcitenum\citenum
+ \let\maskciteauthort\citeauthort
+ \let\maskciteauthorp\citeauthorp
+ \let\maskCitefullauthor\Citefullauthor
+ \let\maskCiteauthort\Citeauthort
+ \let\maskCiteauthorp\Citeauthorp
+% \end{macrocode}
+% Unmasked, this command prints the mandatory second argument |#2|.
+% \begin{macrocode}
+ \DeclareRobustCommand{\masktext}[2][]{##2}
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% End of \pkg{natbib} code.
+% \begin{macrocode}
+\fi
+% \end{macrocode}
+%
+% This is part of the shared code, but has to be put after loading
+% of \pkg{natbib}, so we'll put it here for the moment.
+% \begin{macrocode}
+\if@APAC@anycitation
+ \AtEndOfPackage{%
+ \if@APAC@mask
+ \maskcitations
+ \else
+ \unmaskcitations
+ \fi
+ }%
+\fi
+% \end{macrocode}
+%
+% \subsubsection{Meta analysis}
+%
+% To my knowledge. \cmd{\nocitemeta} is not defined by any other citation
+% package, so we'll provide it here regardless of the citation option
+% chosen.
+% \begin{macro}{\definemetaflag}
+% \begin{macro}{\nocitemeta}
+% This induces an entry in the reference list, but not in the text, and
+% compared to \cmd{\nocite} defines an additional flag that indicates that the
+% reference has been used in the meta-analysis reported. The construction
+% with \cmd{\definemetaflag} is necessary to support \cmd{\nocitemeta} in
+% an appendix \emph{after} the reference list. However, the previous version
+% did not require the |\if@filesw|, which suggests that that would work if
+% we can't write to the \fname{.aux} file, whereas the current one wouldn't.
+% I don't know under what conditions this would happen or be useful, but it
+% seems extremely rare. If somebody complains, I'll make a fix.
+% \begin{macrocode}
+\def\definemetaflag#1{%
+ \@bsphack
+% \end{macrocode}
+% Define the note that precedes the reference list.
+% \begin{macrocode}
+ \expandafter\global\expandafter\def
+ \csname APAC@metaprenote@\APAC@extra@b@citeb\endcsname{%
+ \APACmetaprenote}%
+ \@for\@citeb:=#1\do{%
+ \edef\@citeb{\expandafter\@firstofone\@citeb}%
+% \end{macrocode}
+% Define the meta-analysis flag for the current item.
+% \begin{macrocode}
+ \@ifundefined{flagmeta@\@citeb\APAC@extra@b@citeb}%
+ {\global\expandafter
+ \def\csname flagmeta@\@citeb\APAC@extra@b@citeb\endcsname{DUMMY}%
+ }%
+ {}%
+ }%
+ \@esphack
+}
+\def\nocitemeta#1{%
+ \nocite{#1}%
+ \@bsphack
+ \if@filesw
+ \@for\@citeb:=#1\do{%
+ \edef\@citeb{\expandafter\@firstofone\@citeb}%
+ \immediate\write
+ \@newciteauxhandle{\string\definemetaflag{\@citeb}}%
+ }%
+ \fi
+ \@esphack
+ \@restore@auxhandle
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \subsection{Bibliography structure}
+%
+% Here we define commands and environments that handle the structure of the
+% reference list, various global style parameters, and the communication with
+% the citation commands. Commands for detailed aspects of the entries
+% themselves are defined below.
+%
+% \begin{macro}{\bibnewpage}
+% Macro for starting a new page before the bibliography, if requested.
+% \begin{macrocode}
+\def\bibnewpage{\clearpage}%
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@biblabel}
+% No labels in the bibliography.
+% \begin{macrocode}
+\def\@biblabel#1{}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@lbibitem}
+% Label-bibitem. If \pkg{natbib} is loaded after \pkg{apacite} (or
+% \pkg{apacite} is loaded with the \pkgoption{natbibapa} option),
+% this is overwritten. I should introduce an option that disables
+% \pkg{apacite}'s bibliography-defining commands and/or senses whether
+% \pkg{natbib} is loaded, so this is never defined in such cases.
+% \begin{macrocode}
+\def\@lbibitem[#1]#2{%
+ \def\BBA{\BBAA}% ``\&''
+% \end{macrocode}
+% For compatibility with \pkg{chapterbib}, \pkg{bibunits}, \pkg{backref}, and
+% \pkg{hyperref}. Adapted from \fname{natbib.dtx}.
+% \begin{macrocode}
+ \item[\hyper@natanchorstart{#2\APAC@extra@b@citeb}%
+ \@biblabel{#1}%
+ \hyper@natanchorend]%
+ \if@filesw{%
+ \def\BBA{\string\BBA}%
+ \let\protect\noexpand
+% \end{macrocode}
+% \pkg{bibunits} redefines \cmd{\bibcite} through \cmd{\AtBeginDocument}
+% in a way that is incompatible with \pkg{apacite}'s definition. The
+% simplest way to get things working automatically seems to be
+% introducing the parallel \cmd{\APACbibcite} command. This should also
+% solve many other compatibility problems.
+% \begin{macrocode}
+ \immediate\write\@newciteauxhandle{\string\bibcite{#2}{#1}}%
+ \immediate\write\@newciteauxhandle{\string\APACbibcite{#2}{#1}}%
+ \def\BBA{\BBAA}%
+ }%
+ \fi
+ \ignorespaces
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\APACbibcite}
+% \begin{macro}{\bibcite}
+% These commands pass the author-year information from the reference list to
+% the citation commands. See above for the necessity for \cmd{\APACbibcite}.
+% \begin{macrocode}
+\def\APACbibcite#1#2{%
+ \global\expandafter
+ \def\csname b@#1\APAC@extra@binfo\endcsname{#2}% names
+ \global\expandafter
+ \def\csname Y@#1\APAC@extra@binfo\endcsname{\@year@#2}% year
+}
+% \end{macrocode}
+% We don't need this one anymore, but other packages may use it.
+% \begin{macrocode}
+\let\bibcite\APACbibcite
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\st@rtbibsection}
+% Start a new section for the reference list.
+% \begin{macrocode}
+\def\st@rtbibsection{%
+ \@bibnewpage% start a new page if desired
+ \if@numberedbib%
+ \section{\refname}% e.g., 6. References
+ \else%
+ \section*{\refname}% e.g., References
+ \if@tocbib%
+ \addcontentsline{toc}{section}{\refname}%
+ \fi%
+% \end{macrocode}
+% Ideally, we'd use something like |\sectionmark{{\refname}}|, so that
+% user-defined page heading styles are respected. But this does not work
+% properly, because it generates section numbers. Therefore, we define the
+% complete headings here. I need to find a better solution for this.
+% \begin{macrocode}
+ \@ifundefined{chapter}
+ {\@mkboth{{\refname}}{{\refname}}}%
+ {\markright{{\refname}}}%
+ \fi%
+}%
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\st@rtbibchapter}
+% Start a new chapter for the reference list.
+% \begin{macrocode}
+\def\st@rtbibchapter{%
+% \end{macrocode}
+% Here no \cmd{\@bibnewpage}, because it is assumed that the \cmd{\chapter}
+% starts a new page.
+% \begin{macrocode}
+ \if@numberedbib%
+ \chapter{\bibname}% e.g., 6. References
+ \else%
+ \chapter*{\bibname}% e.g., References
+ \if@tocbib%
+ \addcontentsline{toc}{chapter}{\bibname}%
+ \fi%
+% \end{macrocode}
+% Again, \cmd{\chaptermark} and \cmd{\sectionmark} don't work properly, so
+% define headings at a lower level.
+% \begin{macrocode}
+ \@mkboth{{\bibname}}{{\bibname}}%
+ \fi%
+}%
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{environment}{thebibliography}
+% This environment contains the reference list. For historical reasons, it is
+% defined in the plain \TeX{} way through definition of the
+% \cmd{\thebibliography} and \cmd{\endthebibliography} macros instead of
+% \cmd{\renewenvironment}.
+% \begin{macrocode}
+\def\thebibliography#1{%
+% \end{macrocode}
+% If \cmd{\chapter} is not defined, start a bibliography section.
+% \begin{macrocode}
+ \@ifundefined{chapter}%
+ {\st@rtbibsection}%
+% \end{macrocode}
+% Else, chapter is defined. Check first whether an explicit option has been
+% chosen.
+% \begin{macrocode}
+ {\if@sectionbibdefault
+% \end{macrocode}
+% No explicit option chosen, so we have to speculate. If \cmd{\mainmatter}
+% is not defined (typically a report), assume that the bibliography is
+% a chapter. If \cmd{\mainmatter} is defined, a bibliography in the
+% main matter is typically a chapter-specific one, so generate a
+% bibliography section. A bibliography in the back matter is most likely
+% a global one, so then generate a bibliography chapter.
+% \begin{macrocode}
+ {\@ifundefined{@mainmatterfalse}%
+ {\st@rtbibchapter}%
+ {\if@mainmatter
+ \st@rtbibsection
+ \else
+ \st@rtbibchapter
+ \fi
+ }%
+ }%
+% \end{macrocode}
+% If an explicit option has been chosen, simply use this.
+% \begin{macrocode}
+ \else
+ \if@sectionbib
+ \st@rtbibsection
+ \else
+ \st@rtbibchapter
+ \fi
+ \fi
+ }%
+% \end{macrocode}
+% Insert some code between the chapter or section heading and the reference
+% list. \cmd{\bibliographytypesize} will typically be used for some font
+% settings and \cmd{\bibliographyprenote} for explanatory text, but this is
+% up to the user. The ``metaprenote'' is a fixed text indicating that
+% marked references are included in the meta-analysis reported.
+% \begin{macrocode}
+ \bibliographytypesize % e.g., to put the bibliography in \small type
+ \bibliographyprenote % some explanatory note before the references
+ \@ifundefined{APAC@metaprenote@\APAC@extra@b@citeb}%
+ {}% skip
+ {\csname APAC@metaprenote@\APAC@extra@b@citeb\endcsname}%
+% \end{macrocode}
+% Initialize the list environment that holds the reference list.
+% \begin{macrocode}
+ \list{\relax}{\labelsep=\biblabelsep
+% \parskip\z@ \@plus .3\p@\relax
+ \parsep=\bibparsep
+ \itemsep=\bibitemsep
+ \leftmargin=\bibleftmargin
+ \itemindent=\bibindent}% changed to cope with 4th ed.
+% \end{macrocode}
+% \cmd{\newblock} is inserted between ``blocks'' of a reference entry and
+% inserts some stretchable and shrinkable extra space between the blocks.
+% \begin{macrocode}
+ \def\newblock{\hskip .11em plus .33em minus .07em}%
+ \sloppy\clubpenalty4000\widowpenalty4000
+ \sfcode`\.=1000\relax %'
+% \end{macrocode}
+% For compatibility with \pkg{bibtopic}.
+% \begin{macrocode}
+ \bt@beg@thb@hook
+% \end{macrocode}
+% To overrule \pkg{backref}.
+% \begin{macrocode}
+ \APACrestorebibitem
+}
+\def\endthebibliography{%
+% \end{macrocode}
+% For compatibility with \pkg{bibtopic}.
+% \begin{macrocode}
+ \bt@end@thb@hook
+% \end{macrocode}
+% Warning if no item was included in the list and return to normal font size.
+% If \cmd{\bibliographytypesize} includes other formatting as well, the user
+% has to reset this explicitly after the bibliography, at least if there is
+% text after it.
+% \begin{macrocode}
+ \def\@noitemerr{%
+ \@latex@warning{Empty `thebibliography' environment}%
+ }%
+ \endlist\normalsize
+}
+% \end{macrocode}
+% \end{environment}
+%
+% \subsection{Reference list formatting}
+%
+% Traditionally, the reference list formatting is almost completely done by
+% the bibliography style (\fname{.bst} file). Modeled after its predecessor,
+% \pkg{theapa}, \pkg{apacite} has always supported some possibilities for
+% customization through redefinable macros in the reference list. Due to my
+% own customization needs, requests by users, and the language support, an
+% increasing amount of reference list formatting is handled in this way. This
+% section defines the default implementation of these macros, which users
+% thus can redefine.
+%
+% \begin{macro}{\@connect@with@commas}
+% An auxiliary function: Make a comma-separated output list of the input,
+% recognizing empty arguments. Must be called with one argument, and the
+% argument contains a comma-separated list of elements. The elements of this
+% should generally be enclosed in braces.
+% \begin{macrocode}
+\def\@connect@with@commas#1{%
+ \def\@comma@space{\unskip, }%
+ \let\@connect@string\relax
+% \end{macrocode}
+% Loop over elements.
+% \begin{macrocode}
+ \@for\@element@:=#1\do{%
+% \end{macrocode}
+% Commas should only be inserted if both sides are nonempty.
+% \begin{macrocode}
+ \ifx\@empty\@element@%
+ \else
+% \end{macrocode}
+% Not empty: insert connect string (nothing for the first nonempty
+% element, a comma and space afterwards).
+% \begin{macrocode}
+ \@connect@string\@element@%
+ \let\@connect@string\@comma@space
+ \fi
+ }%
+ \let\@connect@string\@undefined
+ \let\@comma@space\@undefined
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\APACmetastar}
+% \begin{macro}{\APACinsertmetastar}
+% Insert an asterisk before the names in the reference list for entries that
+% are used in a meta-analysis.
+% \begin{macrocode}
+\newcommand{\APACmetastar}{\ensuremath{{}^\ast}}
+\def\APACinsertmetastar#1{%
+ \@for\@citeb:=#1\do{%
+ \edef\@citeb{\expandafter\@firstofone\@citeb}%
+ \@ifundefined{flagmeta@\@citeb\APAC@extra@b@citeb}%
+ {}% skip
+ {{\APACmetastar}}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{environment}{APACrefauthors}
+% An environment that allows some limited customization of author
+% formatting in the reference list. In this implementation customization
+% is handled through the \cmd{\APACrefauthstyle} macro, which allows some
+% style definition, in particular font changes such as \cmd{\sc}.
+% \begin{macrocode}
+\newenvironment{APACrefauthors}{%
+ \begingroup \APACrefauthstyle
+}{\endgroup }
+% \end{macrocode}
+% \end{environment}
+%
+% \begin{macro}{\APACrefYear}
+% Formatting of the year in the reference list. Note that instead of redefining
+% this command, one can also redefine the parentheses themselves. The argument
+% should never be empty. The companion macro \cmd{\APACrefYearMonthDay} is
+% defined below in the language-specific section.
+% \begin{macrocode}
+\newcommand{\APACrefYear}[1]{%
+ {\BBOP}{#1}{\BBCP}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% Title formatting. In these, |#1| is the capitalized title and |#2| is the
+% sentence-case title.
+%
+% \begin{macro}{\APACrefatitle}
+% Article title (roman, not capitalized).
+% \begin{macrocode}
+\newcommand{\APACrefatitle}[2]{#2}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\APACrefbtitle}
+% Book title (italic, not capitalized).
+% \begin{macrocode}
+\newcommand{\APACrefbtitle}[2]{\Bem{#2}}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\APACrefaetitle}
+% English translation of a foreign article title (bracketed, roman, not
+% capitalized).
+% \begin{macrocode}
+\newcommand{\APACrefaetitle}[2]{[#2]}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\APACrefbetitle}
+% English translation of a foreign book title (bracketed, roman, not
+% capitalized).
+% \begin{macrocode}
+\newcommand{\APACrefbetitle}[2]{[#2]}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\APACjournalVolNumPages}
+% Journal, volume, number, pages
+% (|#1| = journal, |#2| = volume, |#3| = number, |#4| = formatted pages).
+% \begin{macrocode}
+\newcommand{\APACjournalVolNumPages}[4]{%
+ \Bem{#1}% journal
+ \ifx\@empty#2\@empty
+ \else
+ \unskip, \Bem{#2}% volume
+ \fi
+ \ifx\@empty#3\@empty
+ \else
+ \unskip({#3})% issue number
+ \fi
+ \ifx\@empty#4\@empty
+ \else
+ \unskip, {#4}% pages
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\APACaddressPublisher}
+% \begin{macro}{\APACaddressInstitution}
+% \begin{macro}{\APACaddressSchool}
+% Address and publisher, institution, or school (|#1| = address,
+% |#2| = publisher).
+% \begin{macrocode}
+\DeclareRobustCommand{\APACaddressPublisher}[2]{%
+ \ifx\@empty#1\@empty
+ \ifx\@empty#2\@empty
+ \else
+ {#2}% publisher
+ \fi
+ \else
+ {#1}% address
+ \ifx\@empty#2\@empty
+ \else
+ \unskip: {#2}% publisher
+ \fi
+ \fi
+}
+\let\APACaddressInstitution\APACaddressPublisher
+\DeclareRobustCommand{\APACaddressSchool}[2]{%
+ \ifx\@empty#2\@empty
+ \ifx\@empty#1\@empty
+ \else
+ {#1}% address
+ \fi
+ \else
+ {#2}% school
+ \ifx\@empty#1\@empty
+ \else
+ \unskip, {#1}% address
+ \fi
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\APACtypeAddressSchool}
+% Type, school, and address in parenthese after the title in a thesis.
+% \begin{macrocode}
+\DeclareRobustCommand{\APACtypeAddressSchool}[3]{%
+ \ifx\@empty#1\@empty
+ \ifx\@empty#3\@empty
+ \ifx\@empty#2\@empty
+ \else
+ ({#2})% address
+ \fi
+ \else
+ ({#3}% school
+ \ifx\@empty#2\@empty
+ \else
+ \unskip, {#2}% address
+ \fi
+ )%
+ \fi
+ \else
+ ({#1}% type
+ \ifx\@empty#3\@empty
+ \ifx\@empty#2\@empty
+ \else
+ \unskip, {#2}% address
+ \fi
+ \else
+ \unskip, {#3}% school
+ \ifx\@empty#2\@empty
+ \else
+ \unskip, {#2}% address
+ \fi
+ \fi
+ )%
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\APACaddressPublisherEqAuth}
+% \begin{macro}{\APACaddressInstitutionEqAuth}
+% Address and publisher/institution if the latter is also the author.
+% (|#1| = address, |#2| = publisher).
+% \begin{macrocode}
+\newcommand{\APACaddressPublisherEqAuth}[2]{%
+ \ifx\@empty#1\@empty
+ {\BAuthor{}}% Publisher formatted as ``Author''
+ \else
+ {#1\unskip: \BAuthor{}}% Address: Author
+ \fi
+}
+\let\APACaddressInstitutionEqAuth\APACaddressPublisherEqAuth
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\APAChowpublished}
+% Formatting of the \fieldname{howpublished} field. The
+% \cmd{\APAChowpublished} macro is only inserted in the \fname{.bbl} file if
+% the argument is nonempty. Because we don't want any special formatting, and
+% |\def\APAChowpublished#1{#1}| leads to problems with hash marks (`|#|') in
+% url's that may be present in \fieldname{howpublished}, we simply pretend
+% that \cmd{\APAChowpublished} does not have an argument and does nothing.
+% \begin{macrocode}
+\let\APAChowpublished\relax
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{environment}{APACrefURL}
+% URL formatting. Use an environment instead of a macro to avoid some problems
+% with url's as arguments of macros. The optional argument is the date that
+% the url was last checked.
+% \begin{macrocode}
+\newenvironment{APACrefURL}[1][]{%
+ \ifx\@empty#1\@empty
+ \BRetrievedFrom % Retrieved from
+ \else
+ \BRetrieved{#1}% Retrieved <date>, from
+ \fi
+}{}
+% \end{macrocode}
+% \end{environment}
+%
+% \begin{environment}{APACrefDOI}
+% DOI formatting. Use an environment instead of a macro to avoid some problems
+% with url's as arguments of macros.
+% \begin{macrocode}
+\newenvironment{APACrefDOI}{%
+ \global\let\old@doi\doi
+ \if@doi
+ \doiprefix
+ \else
+% \end{macrocode}
+% Suppression of DOIs. For non-APA styles.
+% \begin{macrocode}
+ \global\let\doi\@gobble
+ \fi
+% \end{macrocode}
+% Restore definition of \cmd{\doi}, in case a user wants to use this
+% command explicitly.
+% \begin{macrocode}
+ }{\global\let\doi\old@doi }
+% \end{macrocode}
+% \end{environment}
+%
+% \begin{environment}{APACrefURLmsg}
+% URLs of messages.
+% \begin{macrocode}
+\newenvironment{APACrefURLmsg}{%
+ \BMsgPostedTo
+}{}
+% \end{macrocode}
+% \end{environment}
+%
+% \begin{macro}{\APACorigED}
+% \begin{macro}{\APACorigEDS}
+% Original editor(s) for reprints and translations.
+% \begin{macrocode}
+\newcommand{\APACorigED}[1]{%
+ \ifx\@empty#1\@empty
+ \else
+ \Bby\ {#1}, \BED{}% ``by E. D. Itor (Ed.)''
+ \fi
+}
+\newcommand{\APACorigEDS}[1]{%
+ \ifx\@empty#1\@empty
+ \else
+ \Bby\ {#1}, \BEDS{}% ``by E. D. Itor \& A. N. Other (Eds.)''
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\APACbVolEdTR}
+% Volume, edition, type, number, for a technical report (|#1| = formatted
+% edition + volume, |#2| = formatted technical report type + number).
+% \begin{macrocode}
+\newcommand{\APACbVolEdTR}[2]{%
+ \ifx\@empty#1\@empty
+ \ifx\@empty#2\@empty
+ \else
+ {(#2)}% (Technical Report No.\ <no>)
+ \fi
+ \else
+ ({#1}% (2nd ed., Vol.~1
+ \ifx\@empty#2\@empty
+ \else
+ \unskip; {#2}% ; Technical Report No.\ <no>
+ \fi
+ )% Final parenthesis.
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\APACbVolEdTRpgs}
+% Volume, edition, type, number, pages for an \entryname{@intechreport}.
+% Arguments: |#1| = formatted edition + volume, |#2| = formatted technical
+% report type + number, |#3| = formatted pages.
+% \begin{macrocode}
+\newcommand{\APACbVolEdTRpgs}[3]{%
+ \ifx\@empty#1\@empty
+ \ifx\@empty#2\@empty
+ \ifx\@empty#3\@empty
+ \else
+ {(#3)}%% (pp. 10--30)
+ \fi
+ \else
+ %% (Technical Report No.\ <no>, pp. 10--30)
+ (\@connect@with@commas{{#2},{#3}})%
+ \fi
+ \else
+ ({#1}% (2nd ed., Vol.~1
+ \ifx\@empty#2\@empty
+ \ifx\@empty#3\@empty
+ \else
+ \unskip; {#3}% ; pp. 10--30
+ \fi
+ \else
+ %% ; Technical Report No.\ <no>, pp. 10--30
+ \unskip; \@connect@with@commas{{#2},{#3}}%
+ \fi
+ )% Final parenthesis.
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+%
+% Various note formatting functions.
+%
+% \begin{macro}{\APACrefnote}
+% Only a note.
+% \begin{macrocode}
+\newcommand{\APACrefnote}[1]{%
+ \ifx\@empty#1\@empty
+ \else
+ ({#1})%
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\APACorigyearnote}
+% Original year + optional note (|#1| = year, |#2| = note).
+% \begin{macrocode}
+\newcommand{\APACorigyearnote}[2]{%
+ \ifx\@empty#1\@empty
+% \end{macrocode}
+% Original year empty: format note.
+% \begin{macrocode}
+ \APACrefnote{#2}%
+ \else
+% \end{macrocode}
+% Check for \cmd{\bibnodate}. I think the following command does not check
+% whether |#1| = `\cmd{\bibnodate}', but expands them; but that should also
+% be OK and saves a lot of juggling with \cmd{\expandafter} commands.
+% \begin{macrocode}
+ \ifx\bibnodate#1\@empty
+% \end{macrocode}
+% Original year unknown: Format (only) note.
+% \begin{macrocode}
+ \APACrefnote{#2}%
+ \else
+% \end{macrocode}
+% Original year has been given: ``Original work published''.
+% \begin{macrocode}
+ (\BOWP{} {#1}%
+% \end{macrocode}
+% Insert note.
+% \begin{macrocode}
+ \ifx\@empty#2\@empty
+ \else
+ \unskip; {#2}%
+ \fi
+% \end{macrocode}
+% Final parenthesis.
+% \begin{macrocode}
+ )%
+ \fi
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\APACorigjournalnote}
+% Original journal + optional note.
+% Arguments: |#1| = year, |#2| = journal, |#3| = volume, |#4| = issue number,
+% |#5| = formatted pages, |#6| = note.
+% \begin{macrocode}
+\newcommand{\APACorigjournalnote}[6]{%
+ (\BREPR{} % ``(Reprinted from '' (note the space)
+ \Bem{#2}% Journal (should not be empty)
+ \ifx\@empty#1\@empty
+ \else
+ \unskip, {#1}% , year
+ \fi
+ \ifx\@empty#3\@empty
+ \else
+ \unskip, \Bem{#3}% , volume
+ \fi
+ \ifx\@empty#4\@empty
+ \else
+ \unskip{[#4]}% [issue number]
+ \fi
+ \ifx\@empty#5\@empty
+ \else
+ \unskip, {#5}% , pages
+ \fi
+ \ifx\@empty#6\@empty
+ \else
+ \unskip; {#6}% ; note
+ \fi
+ )% Final parenthesis
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\APACorigbooknote}
+% Original book + optional note. Arguments:
+% |#1| = year, |#2| = formatted editor, |#3| = formatted title,
+% |#4| = formatted edition, |#5| = formatted volume, |#6| = formatted pages,
+% |#7| = address, |#8| = publisher, |#9| = note.
+% \begin{macrocode}
+\newcommand{\APACorigbooknote}[9]{%
+ %% ``(Reprinted from '' (note the space)
+ (\BREPR{} %
+ %% Title, edition, volume, pages, editor, year, address: publisher
+% \end{macrocode}
+% These should not all be empty, but this is not checked here, because it's
+% done in the \fname{.bst} file.
+% \begin{macrocode}
+ \@connect@with@commas{%
+ {#3},{#4},{#5},{#6},{#2},{#1},{\APACaddressPublisher{#7}{#8}}%
+ }%%
+ \ifx\@empty#9\@empty
+ \else
+ ; #9%% ; note
+ \fi
+ )% Final parenthesis.
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{environment}{APACrefannotation}
+% Annotations; for annotated bibliographies. Cf.~\citeA[pp.~810--811]{TLC2}.
+% \begin{macrocode}
+\newenvironment{APACrefannotation}{%
+ \begin{quotation}\noindent\ignorespaces
+}{\end{quotation}}
+% \end{macrocode}
+% \end{environment}
+%
+% \subsection{Various specific style settings and utility macros}
+%
+% \begin{macro}{\BAstyle}
+% Text style of authors for citations that include the year as well
+% (\cmd{\cite}, \cmd{\shortcite}, \cmd{\fullcite}, \cmd{\citeA},
+% \cmd{\shortciteA}, \cmd{\fullciteA}, \cmd{\citeNP}, \cmd{\shortciteNP},
+% \cmd{\fullciteNP}).
+% \begin{macrocode}
+\newcommand{\BAstyle}{}%
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\BAastyle}
+% Text style of authors for \cmd{\citeauthor} and its variants
+% (\cmd{\shortciteauthor}, \cmd{\fullciteauthor}, \cmd{\citeauthorNP},
+% \cmd{\shortciteauthorNP}, \cmd{\fullciteauthorNP}).
+% \begin{macrocode}
+\newcommand{\BAastyle}{}%
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\APACrefauthstyle}
+% Text style of authors in reference list.
+% \begin{macrocode}
+\newcommand{\APACrefauthstyle}{}%
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\APACciteatitle}
+% \begin{macro}{\APACcitebtitle}
+% Formatting of ``article'' and ``book'' titles when they are used in a
+% citation, typically when there is no author and the title takes this role.
+% \begin{macrocode}
+\newcommand{\APACciteatitle}[1]{``#1''}
+\newcommand{\APACcitebtitle}[1]{{\em #1\/}}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\APACyear}
+% \begin{macro}{\APACexlab}
+% Formatting of the year and the extra label (`a', `b', etc.) that is used to
+% distinguish different works by the same author(s) in the same year. These
+% macros have been introduced to solve some problems with \pkg{natbib}'s
+% parsing macros.
+% \begin{macrocode}
+\newcommand{\APACyear}[1]{{#1}}%
+\newcommand{\APACexlab}[1]{{#1}}%
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\theBibCnt}
+% \begin{macro}{\BCnt}
+% The |BibCnt| counter is used to distinguish multiple citations with the same
+% author(s) and year. Using a counter allows the user control over its
+% formatting. The default formatting (APA style) is to add roman lowercase
+% letters: ``(Kruskal, 1964a, 1964b)''. The \cmd{\protect} is necessary when
+% \pkg{natbib} is used.
+% \begin{macrocode}
+\newcounter{BibCnt}
+\renewcommand{\theBibCnt}{\alph{BibCnt}}
+\DeclareRobustCommand{\BCnt}[1]{\setcounter{BibCnt}{#1}\theBibCnt}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\BCntIP}
+% \begin{macro}{\BCntND}
+% Variations of \cmd{\BCnt} for in-press and no-date citations. The \cmd{\mbox}
+% prevents a line break at the hyphen.
+% \begin{macrocode}
+\DeclareRobustCommand{\BCntIP}[1]{\setcounter{BibCnt}{#1}\mbox{-\theBibCnt}}
+\DeclareRobustCommand{\BCntND}[1]{\setcounter{BibCnt}{#1}\mbox{-\theBibCnt}}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\bibliographytypesize}
+% Font size of the references, but this macro can be abused to insert lots of
+% other style commands and/or text between the section or chapter heading and
+% the actual references as well.
+% \begin{macrocode}
+\let\bibliographytypesize\normalsize
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\bibliographyprenote}
+% An optional note just before the references in the reference list (but after
+% \cmd{\bibliographytypesize}). It defaults to nothing, but can be changed to
+% a list of commands (e.g., if author formatting should be different in the
+% reference list) and/or text (e.g., for an explanatory note).
+% \begin{macrocode}
+\newcommand{\bibliographyprenote}{}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\bibleftmargin}
+% \begin{macro}{\bibindent}
+% \begin{macro}{\bibparsep}
+% \begin{macro}{\bibitemsep}
+% \begin{macro}{\biblabelsep}
+% Declare a few length parameters for the reference list and give them
+% default values. Supporting the \pkg{natbib} length \cmd{\bibhang} would
+% be nice, but I don't see a way to do this in a user-friendly way that
+% allows loading \pkg{apacite} both with and without \pkg{natbib} and
+% also allows changing \cmd{\bibindent} and \cmd{\bibleftmargin}
+% separately.
+% \begin{macrocode}
+\newskip{\bibleftmargin}
+\newskip{\bibindent}
+\newskip{\bibparsep}
+\newskip{\bibitemsep}
+\newskip{\biblabelsep}
+\setlength{\bibleftmargin}{2.5em}
+\setlength{\bibindent}{-\bibleftmargin}
+\setlength{\bibparsep}{0pt}
+\setlength{\bibitemsep}{0pt plus .3pt}
+\setlength{\biblabelsep}{0pt}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\bibcorporate}
+% Formatting of corporate (group) authors. Its primary function is in the
+% \BibTeX{} stage. It is recognized by \fname{apacite.bst}, which handles
+% such authors slightly differently from ordinary authors.
+% \begin{macrocode}
+\let\bibcorporate\relax
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\BBA}
+% Initialize this command, which formats the ``and'' between authors.
+% \begin{macrocode}
+\newcommand{\BBA}{\BBAA}% `\&'
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\Bem}
+% Emphasis in the bibliography. A relic from \pkg{theapa}. It allows to use
+% underlining in the bibliography and italics in the text, but the default is
+% italics.
+% \begin{macrocode}
+\let\Bem\emph
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\bibnotype}
+% This macro indicates that the type information should be left empty. It is
+% used for \entryname{@techreport} and \entryname{@intechreport}, where
+% ``\cmd{\BTR}'' is the default type if the field is left empty. As such, it
+% primarily modifies the behavior of \fname{apacite.bst}.
+% \begin{macrocode}
+\newcommand{\bibnotype}{}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\APACSortNoop}
+% \begin{macro}{\bibphant}
+% The \cmd{\APACSortNoop} macro can be used to change the sorting order:
+% When put between a pair of braces at the beginning of a field, the entry is
+% sorted on the argument of this command, but the argument is never displayed.
+% \cmd{\bibphant} is the same as \cmd{\APACSortNoop}, so it is not discussed
+% in the main documentation. It is only kept for backwards compatibility with
+% old versions of \pkg{apacite}, in which it was documented.
+% \begin{macrocode}
+\newcommand{\APACSortNoop}[1]{}
+\let\bibphant\APACSortNoop
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\makehashother}
+% \begin{macro}{\makehashmacropar}
+% Setting the catcode of the hash mark `|#|'. This is mainly useful in some
+% cases in which the bibliography contains urls containing `|#|' symbols.
+% These are analogous to \cmd{\makeatother} and \cmd{\makeatletter}.
+% (They are undocumented in the main documentation!)
+% \begin{macrocode}
+\def\makehashother{\catcode`\#=12\relax}
+\def\makehashmacropar{\catcode`\#=6\relax}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \subsection{Author index setup and index styles}
+%
+% Here, the author index options are implemented. It also defines some index
+% styles and defines most of the index-related commands to do nothing in case
+% no author index is requested.
+%
+% \begin{macro}{\AX}
+% \begin{macro}{\corporateAX}
+% \begin{macro}{\@AXfile}
+% \begin{macro}{\currentindexname}
+% \begin{macro}{\printindex}
+% \begin{macro}{\PrintAX}
+% \begin{macro}{\orig@printindex}
+% \begin{macro}{\APAC@printindex}
+% \begin{macro}{\check@printindex}
+% Define the author-indexing macros and the index-printing commands.
+% \begin{macrocode}
+\if@APAC@index
+% \end{macrocode}
+% Author index requested.
+% \begin{macrocode}
+ \if@APAC@index@package
+% \end{macrocode}
+% Load \pkg{index} package.
+% \begin{macrocode}
+ \RequirePackage{index}[1995/09/28]
+% \end{macrocode}
+% Define the author index. This may be changed in the preamble of the
+% document (or in a user-provided package) by a \cmd{\renewindex}
+% command.
+% \begin{macrocode}
+ \newindex{autx}{adx}{and}{\authorindexname}
+% \end{macrocode}
+% Author indexing command. Some trial and error and adapting code from
+% other packages to get this right, esp.\ when \pkg{hyperref} is also
+% loaded.
+% \begin{macrocode}
+ \DeclareRobustCommand{\AX}[1]{%
+ \if@filesw{%
+ \protected@write\@auxout{}{%
+ \string\protected@write\string\tf@autx{}{%
+ \string\string\string
+ \indexentry{\string#1|hyperpage}{\thepage}}}%
+ }%
+ \fi
+ }%
+ \else
+% \end{macrocode}
+% Without the \pkg{index} package, using standard \LaTeX{}. This includes
+% a bit of code adapted from \fname{ltidxglo.dtx} and \fname{doc.dtx}.
+% \begin{macrocode}
+ \newwrite\@AXfile
+ \immediate\openout\@AXfile=\jobname.adx
+ \typeout
+ {Writing author index file \jobname.adx }%
+ \DeclareRobustCommand{\AX}[1]{%
+ \protected@write\@AXfile{}%
+ {\string\indexentry{\string#1}{\thepage}}%
+ }%
+ \def\PrintAX{\edef\currentindexname{\authorindexname}%
+ \@input@{\jobname.and}%
+ \global\let\PrintAX\@empty
+ }%
+ \AtBeginDocument{%
+% \end{macrocode}
+% Make sure that \cmd{\printindex} is defined.
+% \begin{macrocode}
+ \@ifundefined{printindex}{\makeindex}{}%
+% \end{macrocode}
+% Now, redefine \cmd{\printindex} to accommodate both \cmd{\printindex}
+% without argument and |\printindex[autx]|.
+% \begin{macrocode}
+ \let\orig@printindex\printindex
+ \def\printindex{\@ifnextchar[{\APAC@printindex}{%
+ \orig@printindex}}%
+ \def\APAC@printindex[autx]{\PrintAX}%
+ }%
+ \fi
+% \end{macrocode}
+% Include corporate authors in the author index?
+% \begin{macrocode}
+ \if@APAC@include@corporate
+ \let\corporateAX\AX
+ \else
+ \let\corporateAX\@gobble
+ \fi
+\else
+% \end{macrocode}
+% No author index. Wait until |\begin{document}| for checking whether another
+% package is loaded that defines \cmd{\printindex}.
+% \begin{macrocode}
+ \AtBeginDocument{%
+ \@ifundefined{printindex}%
+ {%
+% \end{macrocode}
+% \cmd{\printindex} has not been defined. Define \cmd{\printindex} so
+% that it suppresses the indexes.
+% \begin{macrocode}
+ \def\printindex{\@ifnextchar[{\check@printindex}{%
+ \check@printindex[]}}%
+ \def\check@printindex[#1]{\relax }%
+ }%
+ {%
+% \end{macrocode}
+% \cmd{\printindex} has been defined, so save its definition.
+% \begin{macrocode}
+ \let\orig@printindex\printindex
+% \end{macrocode}
+% Redefine \cmd{\printindex} so that it suppresses the author index
+% but does not change other indexes: (1) If there is no optional
+% argument, use the original definition.
+% \begin{macrocode}
+ \def\printindex{\@ifnextchar[{\check@printindex}{\orig@printindex}}%
+% \end{macrocode}
+% (2) If there is an optional argument, check whether it is equal to
+% ``|autx|''. If so, suppress this (author) index. If not, use the
+% original definition.
+% \begin{macrocode}
+ \def\check@printindex[#1]{%
+% \end{macrocode}
+% Use a clumsy way to check whether |#1| = |autx|, but seemingly more
+% elegant ways somehow didn't work.
+% \begin{macrocode}
+ \expandafter\def\csname APAC@#1\endcsname{DUMMY}%
+ \@ifundefined{APAC@autx}%
+ {\orig@printindex[#1]}%
+ {\let\APAC@autx\@undefined}%
+ }%
+ }%
+ }%
+% \end{macrocode}
+% Empty author indexing commands.
+% \begin{macrocode}
+ \let\AX\@gobble
+ \let\corporateAX\@gobble
+\fi
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{environment}{theindex}
+% \begin{macro}{\APACstdindex}
+% The \envirname{index} environment as defined in the \pkg{index} package;
+% literally copied from \fname{index.sty}.
+% \begin{macrocode}
+\newcommand{\APACstdindex}{%
+ \@ifclassloaded{article}{%
+ \renewenvironment{theindex}{%
+ \edef\indexname{\the\@nameuse{idxtitle@\@indextype}}%
+ \if@twocolumn
+ \@restonecolfalse
+ \else
+ \@restonecoltrue
+ \fi
+ \columnseprule \z@
+ \columnsep 35\p@
+ \twocolumn[%
+ \section*{\indexname}%
+ \ifx\index@prologue\@empty\else
+ \index@prologue
+ \bigskip
+ \fi
+ ]%
+ \@mkboth{\MakeUppercase\indexname}%
+ {\MakeUppercase\indexname}%
+ \thispagestyle{plain}%
+ \parindent\z@
+ \parskip\z@ \@plus .3\p@\relax
+ \let\item\@idxitem
+ }{%
+ \if@restonecol
+ \onecolumn
+ \else
+ \clearpage
+ \fi
+ }
+ }{%
+ \renewenvironment{theindex}{%
+ \edef\indexname{\the\@nameuse{idxtitle@\@indextype}}%
+ \if@twocolumn
+ \@restonecolfalse
+ \else
+ \@restonecoltrue
+ \fi
+ \columnseprule \z@
+ \columnsep 35\p@
+ \twocolumn[%
+ \@makeschapterhead{\indexname}%
+ \ifx\index@prologue\@empty\else
+ \index@prologue
+ \bigskip
+ \fi
+ ]%
+ \@mkboth{\MakeUppercase\indexname}%
+ {\MakeUppercase\indexname}%
+ \thispagestyle{plain}%
+ \parindent\z@
+ \parskip\z@ \@plus .3\p@\relax
+ \let\item\@idxitem
+ }{%
+ \if@restonecol
+ \onecolumn
+ \else
+ \clearpage
+ \fi
+ }%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\APACtocindex}
+% The \envirname{index} environment as defined in the \pkg{index} package, but
+% with a table of contents entry added.
+% \begin{macrocode}
+\newcommand{\APACtocindex}{%
+ \@ifclassloaded{article}{%
+ \renewenvironment{theindex}{%
+ \edef\indexname{\the\@nameuse{idxtitle@\@indextype}}%
+ \if@twocolumn
+ \@restonecolfalse
+ \else
+ \@restonecoltrue
+ \fi
+ \columnseprule \z@
+ \columnsep 35\p@
+ \twocolumn[%
+ \section*{\indexname}%
+ \ifx\index@prologue\@empty\else
+ \index@prologue
+ \bigskip
+ \fi
+ ]%
+ \@mkboth{\MakeUppercase\indexname}%
+ {\MakeUppercase\indexname}%
+% \end{macrocode}
+% The following line added by EM.
+% \begin{macrocode}
+ \addcontentsline{toc}{section}{\indexname}%
+ \thispagestyle{plain}%
+ \parindent\z@
+ \parskip\z@ \@plus .3\p@\relax
+ \let\item\@idxitem
+ }{%
+ \if@restonecol
+ \onecolumn
+ \else
+ \clearpage
+ \fi
+ }
+ }{%
+ \renewenvironment{theindex}{%
+ \edef\indexname{\the\@nameuse{idxtitle@\@indextype}}%
+ \if@twocolumn
+ \@restonecolfalse
+ \else
+ \@restonecoltrue
+ \fi
+ \columnseprule \z@
+ \columnsep 35\p@
+ \twocolumn[%
+ \@makeschapterhead{\indexname}%
+ \ifx\index@prologue\@empty\else
+ \index@prologue
+ \bigskip
+ \fi
+ ]%
+ \@mkboth{\MakeUppercase\indexname}%
+ {\MakeUppercase\indexname}%
+% \end{macrocode}
+% The following line added by EM.
+% \begin{macrocode}
+ \addcontentsline{toc}{chapter}{\indexname}%
+ \thispagestyle{plain}%
+ \parindent\z@
+ \parskip\z@ \@plus .3\p@\relax
+ \let\item\@idxitem
+ }{%
+ \if@restonecol
+ \onecolumn
+ \else
+ \clearpage
+ \fi
+ }%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\APACemindex}
+% An alternative style for the \envirname{index} environment, such that
+% automatically a chapter or section title is generated, with a corresponding
+% table of contents entry. The index is now in a \envirname{multicol}
+% environment.
+% \begin{macrocode}
+\newcommand{\APACemindex}{%
+ \RequirePackage{multicol}
+ \renewenvironment{theindex}{%
+ \edef\@indexname{\the\@nameuse{idxtitle@\@indextype}}%
+ \@ifundefined{chapter}%
+ {\section*{\@indexname}%
+ \addcontentsline{toc}{section}{\@indexname}%
+%% \sectionmark{{\@indexname}}% doesn't work: generates numbers
+ }%
+ {\chapter*{\@indexname}%
+ \addcontentsline{toc}{chapter}{\@indexname}%
+%% \chaptermark{{\@indexname}}% doesn't work: generates numbers
+%% % (except in the backmatter)
+%% \sectionmark{{\@indexname}}% doesn't work: generates numbers
+ }%
+ \@mkboth{{\@indexname}}{{\@indexname}}% Hence we need this.
+ \parindent\z@
+ \parskip\z@ \@plus .3\p@\relax
+ \let\item\@idxitem
+ \setlength{\columnsep}{2em}
+ \small
+ \begin{multicols}{2}
+ \raggedright
+ }%
+ {\end{multicols}\normalsize
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\APACltxemindex}
+% A variation on \cmd{\APACemindex}, but without using the \pkg{index} package,
+% which conflicts with the standard \LaTeX{} documentation classes.
+% \begin{macrocode}
+\newcommand{\APACltxemindex}{%
+ \RequirePackage{multicol}
+ \renewenvironment{theindex}{%
+% \end{macrocode}
+% The index naming scheme of the \pkg{index} package is also absent.
+% Therefore, try to guess an index name.
+% \begin{macrocode}
+ \@ifundefined{currentindexname}{%
+ \@ifundefined{indexname}{%
+ \edef\@indexname{Index}%
+ }{\edef\@indexname{\indexname}}%
+ }{\edef\@indexname{\currentindexname}}%
+ \@ifundefined{chapter}%
+ {\section*{\@indexname}%
+ \addcontentsline{toc}{section}{\@indexname}%
+%% \sectionmark{{\@indexname}}% doesn't work: generates numbers
+ }%
+ {\chapter*{\@indexname}%
+ \addcontentsline{toc}{chapter}{\@indexname}%
+%% \chaptermark{{\@indexname}}% doesn't work: generates numbers
+%% % (except in the backmatter)
+%% \sectionmark{{\@indexname}}% doesn't work: generates numbers
+ }%
+ \@mkboth{{\@indexname}}{{\@indexname}}% Hence we need this.
+ \def\pfill{\relax{}}%
+ \parindent\z@
+ \parskip\z@ \@plus .3\p@\relax
+ \let\item\@idxitem
+ \setlength{\columnsep}{2em}
+ \small
+ \begin{multicols}{2}
+ \raggedright
+ }%
+ {\end{multicols}\normalsize
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \end{environment}
+%
+% \subsection{Formatting of urls}
+%
+% \begin{macro}{\Url@force@Tilde}
+% \begin{macro}{\Url@APACdot}
+% \begin{macro}{\Url@APACcomma}
+% \begin{macro}{\Url@APACquestionmark}
+% \begin{macro}{\Url@APACexclamation}
+% \begin{macro}{\Url@APAChyphen}
+% \begin{macro}{\Url@APACunderscore}
+% \begin{macro}{\APACurlBreaks}
+% \begin{macro}{\url@APACttstyle}
+% \begin{macro}{\url@APACrmstyle}
+% \begin{macro}{\url@APACsfstyle}
+% \begin{macro}{\url@APACsamestyle}
+% The APA manual requires breaking of urls \emph{after} a slash or
+% \emph{before} a dot. In particular, there should not be a break between
+% ``|http:|'' and ``|//|''. This differs from the standard line breaking
+% style of the \pkg{url} package. Therefore, we define an APA-style for
+% url formatting here. (Maybe this should be part of the \pkg{apa} class,
+% but urls occur most often in the reference list, so we do it here.)
+% The \pkg{url} package also defines many other (punctuation) symbols at
+% which a line break may occur. The APA manual does not mention these, but
+% it seems in the spirit of the APA manual to use these as well. See also
+% \citeA[pp.~645--646]{chicago}.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \@ifpackageloaded{url}{%
+% \end{macrocode}
+% To circumvent an ``undefined'' error.
+% \begin{macrocode}
+ \@ifundefined{Url@force@Tilde}{\def\Url@force@Tilde{\relax}}{}%
+% \end{macrocode}
+% The original dot. Simply using `|.|' causes an infinite loop. This command
+% is used below, so that encoding-issues can be resolved easier by redefining
+% \cmd{\Url@APACdot}. The same argument holds for the other punctuation
+% marks.
+% \begin{macrocode}
+ \def\Url@APACdot{\mathchar"2E }%
+ \def\Url@APACcomma{\mathchar"2C }%
+ \def\Url@APACquestionmark{\mathchar"3F }%
+ \def\Url@APACexclamation{\mathchar"21 }%
+ \def\Url@APAChyphen{\mathchar"2D }%
+ \def\Url@APACunderscore{\_}%
+% \end{macrocode}
+% Define the APA-style line breaks for urls.
+% \begin{macrocode}
+ \def\APACurlBreaks{%
+% \end{macrocode}
+% Remove dot (`|.|') and slash (`|/|') from the ordinary breaks and add
+% the slash to the big breaks, so that |http://| is broken after the second
+% slash instead of after the colon. The \cmd{\UrlNoBreaks} and
+% \cmd{UrlOrds} are the default ones from the \pkg{url} package, but they
+% are repeated here to obtain a complete style, so that we don't have to
+% rely on what is the \pkg{url} default (which might change).
+% \begin{macrocode}
+ \def\UrlBreaks{\do\@\do\\\do\|\do\;\do\>\do\]\do\)\do\'\do+\do\=\do\#}%
+ \def\UrlBigBreaks{\do\/\do\:\do@url@hyp}%
+ \def\UrlNoBreaks{\do\(\do\[\do\{\do\<}% \)
+ \def\UrlOrds{\do\*\do\~\do\'\do\"}%
+% \end{macrocode}
+% Define the dot as an empty binary relation (after which a break may
+% occur) followed by a dot-symbol (after which no break may occur).
+% \citeA{chicago} requires the same treatment of a few other punctuation
+% marks, different from \pkg{url}'s default behavior. We implement these
+% as well.
+% \begin{macrocode}
+ \def\UrlSpecials{%
+ \do\.{\mathbin{}\Url@APACdot }%
+ \do\,{\mathbin{}\Url@APACcomma }%
+ \do\-{\mathbin{}\Url@APAChyphen }%
+ \do\?{\mathbin{}\Url@APACquestionmark }%
+ \do\!{\mathbin{}\Url@APACexclamation }%
+ \do\_{\mathbin{}\Url@APACunderscore }%
+ \do\ {\Url@space}\do\%{\Url@percent}\do\^^M{\Url@space}%
+ \Url@force@Tilde}% package option may force faked text-ascii-tilde
+ }%%
+% \end{macrocode}
+% Change the underscore for when a non-tt font is used.
+% \begin{macrocode}
+ \def\Url@OTnonTT{\do\<{\langle}\do\>{\mathbin{\rangle}}\do
+ \_{\mathbin{}\_}\do\|{\mid}\do\{{\lbrace}\do\}{\mathbin{\rbrace}}\do
+ \\{\mathbin{\backslash}}\UrlTildeSpecial}
+% \end{macrocode}
+% Define four APA url-styles, based on the standard styles in
+% \fname{url.sty}, and use the |APACtt|-style as default.
+% \begin{macrocode}
+ \def\url@APACttstyle{\def\UrlFont{\ttfamily}\APACurlBreaks }%
+ \def\url@APACrmstyle{\def\UrlFont{\rmfamily}\APACurlBreaks }%
+ \def\url@APACsfstyle{\def\UrlFont{\sffamily}\APACurlBreaks }%
+ \def\url@APACsamestyle{\def\UrlFont{}\APACurlBreaks }%
+ \urlstyle{APACtt}%
+ }{}%
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\url}
+% In case \cmd{\url} is undefined, define a very simple version.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \@ifundefined{url}{%
+ \def\url#1{\texttt{#1}}%
+ }{}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\doi}
+% \begin{macro}{\doiprefix}
+% Similarly, define \cmd{\doi}. Adapted from code in \fname{plainnat.bst}.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \expandafter\ifx\csname urlstyle\endcsname\relax
+ \providecommand{\doi}[1]{#1}\else
+ \providecommand{\doi}{\begingroup \urlstyle{APACsame}\Url}\fi
+}
+\@ifundefined{doiprefix}{%
+ \newcommand{\doiprefix}{doi:\penalty0{}}%
+}{}%
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{Compatibility code}
+%
+% Many other packages redefine citation commands and reference list commands,
+% or at least affect them, even if that is not their core business. This leads
+% to all kinds of compatibility problems. Here, these are repaired.
+%
+% \subsubsection{\pkg{babel}}
+%
+% From \fname{hyperref.dtx}:
+% \begin{quote}
+% Package \pkg{babel} redefines \cmd{\bibcite} with macro
+% \cmd{\bbl@cite@choice}. It needs to be overwritten to avoid the warning
+% ``Label(s) may have changed.''.
+% \end{quote}
+% Here, a slightly adapted version of the code mentioned above is inserted. The
+% other \cmd{\bibcite}-restoring compatibility code above does something
+% similar, but does not do the job correctly if \pkg{babel} is loaded (why?).
+% This only works if \pkg{babel} is loaded before \pkg{apacite}; putting it in
+% a \cmd{\AtBeginDocument} does not work well.
+% \begin{macrocode}
+\@ifundefined{bbl@cite@choice}{}{%
+ \g@addto@macro\bbl@cite@choice{%
+ \let\bibcite\APACbibcite
+ }%
+}
+% \end{macrocode}
+%
+% \subsubsection{\pkg{natbib}}
+%
+% Above, we implemented some code for the \pkgoption{natbibapa} option.
+% The code here is intended as a fix for more general cases, but we
+% have to make sure not to conflict with the code above. This applies
+% to the redefinition of the \cmd{\NAT@parse@date} command.
+% \begin{macrocode}
+\if@APAC@natbib@apa
+\else
+\AtBeginDocument{%
+ \@ifpackageloaded{natbib}{%
+% \end{macrocode}
+% Redefine a \pkg{natbib} command. This may be ethically dubious, but without
+% it, \pkg{natbib} simply cannot handle \pkg{apacite}-generated \fname{.bbl}
+% files. The only reason I can think of why both \pkg{apacite} and \pkg{natbib}
+% would be loaded is exactly the situation when you want to use \pkg{natbib}
+% for the citations and \pkg{apacite} for the reference list. In this
+% situation you would load \fname{apacite.sty}, not for the citation commands,
+% but for the punctuation commands and labels defined by \pkg{apacite}. In this
+% situation, the redefinition below is necessary and therefore I do this here.
+% \begin{macrocode}
+ \def\NAT@parse@date#1#2#3#4#5#6@@{%
+ \def\NAT@year{{#1}}\def\NAT@exlab{{#2}}%
+ }%
+ }{}%
+}
+\fi
+% \end{macrocode}
+% \pkg{natbib} redefines \cmd{\thebibliography}, which interferes a little with
+% our purposes. Therefore, add some patches. This goes wrong if
+% \cmd{\bibpreamble} is redefined later on, i.e., by the user, but I haven't
+% come up with a better hack yet.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \@ifpackageloaded{natbib}{%
+ \let\@oldbibpreamble\bibpreamble
+ \def\bibpreamble{%
+ \@oldbibpreamble%
+ \bibliographytypesize%
+ \bibliographyprenote%
+ \@ifundefined{APAC@metaprenote@\APAC@extra@b@citeb}%
+ {}% skip
+ {\csname APAC@metaprenote@\APAC@extra@b@citeb\endcsname}%
+ }%
+ \let\@old@endthebibliography\endthebibliography
+ \def\endthebibliography{\@old@endthebibliography%
+ \normalsize}%
+ }{}%
+}
+% \end{macrocode}
+%
+% \subsubsection{\pkg{hyperref}}
+%
+% The code here is adapted from \pkg{hyperref}, \pkg{natbib}, and their
+% respective documentation, to make use of their interoperability.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \@ifundefined{NAT@parse}{%
+ \def\NAT@parse{This is a fake natbib command to fool hyperref.}}{}%
+ \@ifundefined{hyper@natlinkstart}{%
+ \let\hyper@natlinkstart\@gobble}{}%
+ \@ifundefined{hyper@natlinkend}{%
+ \let\hyper@natlinkend\relax}{}%
+ \@ifundefined{hyper@natanchorstart}{%
+ \let\hyper@natanchorstart\@gobble}{}%
+ \@ifundefined{hyper@natanchorend}{%
+ \let\hyper@natanchorend\relax}{}%
+ \@ifundefined{hyperpage}{%
+ \def\hyperpage#1{#1}}{}%
+% \end{macrocode}
+% Remove spaces from hyperlinks (\pkg{hyperref} keeps them, even if they are
+% removed from the visible output, so you'd get awkward results like
+% |\href{http://my .link}{http://my.link}|).
+% \begin{macrocode}
+ \@ifpackageloaded{hyperref}{%
+% \end{macrocode}
+% The next should always be true, but just to be sure\ldots
+% \begin{macrocode}
+ \@ifpackageloaded{url}{%
+% \end{macrocode}
+% Is \pkgoption{obeyspaces} option requested? If not, then remove spaces
+% from hyperlinks.
+% \begin{macrocode}
+ \ifx\@empty\Url@ObeySp\@empty
+ \def\url@#1{\def\@tmp@arg{\string#1}%
+ \HyPsd@Subst{ }{}{\@tmp@arg}%
+ \hyper@linkurl{\Hurl{#1}}{\@tmp@arg}}%
+ \fi
+ }{}%
+ }{}%
+}
+% \end{macrocode}
+%
+% \subsubsection{\pkg{backref}}
+%
+% \begin{macro}{\back@cite}
+% \begin{macro}{\CurrentBib}
+% \begin{macro}{\PrintBackRefs}
+% \begin{macro}{\APACrestorebibitem}
+% A bit of code that makes life a little easier, adapted from
+% \fname{amsrefs.dtx}.
+% \begin{macrocode}
+\def\back@cite{}%
+\def\CurrentBib{}%
+\def\PrintBackRefs{}%
+\def\APACrestorebibitem{}%
+\AtBeginDocument{%
+ \@ifpackageloaded{backref}{%
+% \end{macrocode}
+% Make sure that \cmd{\ifBR@verbose} is defined.
+% \begin{macrocode}
+ \@ifundefined{ifBR@verbose}{%
+ \let\ifBR@verbose\iffalse
+ \let\fi\fi}{}%
+% \end{macrocode}
+% A backcite command that makes the code of other commands better readable.
+% \begin{macrocode}
+ \def\back@cite#1{%
+ \ifBR@verbose
+ \PackageInfo{backref}{back cite \string`#1\string'}%
+ \fi
+ \Hy@backout{#1\APAC@extra@b@citeb}%
+ }%
+% \end{macrocode}
+% Adaptation of the \cmd{\bibitem} command so that \pkg{backref} does not
+% scan the whole entry. The placement of the backrefs is explicitly done
+% through \cmd{\PrintBackRefs}.
+% \begin{macrocode}
+ \def\APACrestorebibitem{%
+ \def\BR@@lbibitem[##1]##2{%
+ \BRorg@bibitem[{##1}]{##2}%
+ \def\CurrentBib{##2\APAC@extra@b@citeb}%
+ }%
+ }%
+% \end{macrocode}
+% Printing the backrefs: Revert to the standard \pkg{backref} macro.
+% \begin{macrocode}
+ \def\PrintBackRefs#1{\BR@backref{#1}}%
+ }{%
+% \end{macrocode}
+% Else: \pkg{backref} not loaded.
+% \begin{macrocode}
+ \let\back@cite\@gobble
+ \let\PrintBackRefs\@gobble
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\BR@@lbibitem}
+% Frankly, at the moment, I do not completely understand why we need this. But
+% I'm sure it was for a good reason when I included this.
+% \begin{macrocode}
+\def\BR@@lbibitem[#1]#2#3\par{%
+ \BRorg@bibitem[#1]{#2}#3%
+ \BR@backref{#2}%
+}%
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{\pkg{chapterbib}}
+%
+% \begin{macro}{\@extra@b@citeb}
+% \begin{macro}{\@extra@binfo}
+% From the instructions of the \pkg{chapterbib} package.
+% \begin{macrocode}
+\@ifundefined{@extra@b@citeb}{\def\@extra@b@citeb{}}{}
+\gdef\@extra@binfo{}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\APAC@extra@b@citeb}
+% \begin{macro}{\APAC@extra@binfo}
+% Replacements of the \pkg{chapterbib} \cmd{\@extra@b@citeb} and
+% \cmd{\@extra@binfo} commands. These accumulate all kinds of additional flags
+% to accommodate multiple bibliographies of various packages (\pkg{chapterbib},
+% \pkg{bibunits}, \pkg{multibbl}).
+% \begin{macrocode}
+\def\APAC@extra@b@citeb{\APAC@curr@aux\APAC@bu\@extra@b@citeb}%
+\def\APAC@extra@binfo{\APAC@curr@aux\APAC@bu\@extra@binfo}%
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \subsubsection{\pkg{bibunits}}
+%
+% \begin{macro}{\APACstd@cite}
+% \begin{macro}{\APACstd@nocite}
+% \begin{macro}{\APACstd@lbibitem}
+% \begin{macro}{\APAC@bu}
+% Store the standard \pkg{apacite} definitions.
+% \begin{macrocode}
+\AtEndOfPackage{%
+ \let\APACstd@cite\cite
+ \let\APACstd@nocite\nocite
+ \let\APACstd@lbibitem\@lbibitem
+}
+% \end{macrocode}
+% Default definition, if \pkg{bibunits} is not loaded.
+% \begin{macrocode}
+\@ifundefined{APAC@bu}{\def\APAC@bu{}}{}
+\AtBeginDocument{%
+ \@ifpackageloaded{bibunits}{%
+% \end{macrocode}
+% To mimic \pkg{chapterbib} behavior (with flags etc.).
+% \begin{macrocode}
+ \def\APAC@bu{%
+ \ifx\cite\std@cite
+% \end{macrocode}
+% Outside a bibunit. The ``|@APACbu|'' strings are intended to minimize
+% the possibility of wrong matches, such as |\b@ex11| = |ex11| from the
+% global aux or |\b@ex11| = |ex1| from bibunit~1. The last `|@|' is
+% similarly intended to avoid confusion if both \pkg{bibunits} and
+% \pkg{chapterbib} are loaded (``|11@1|'' = 11th bibunit, 1st
+% \pkg{chapterbib} unit; ``|1@11|'' = 1st bibunit, 11th
+% \pkg{chapterbib} unit). It seems unlikely that both packages would be
+% used at the same time, but safety first.
+% \begin{macrocode}
+ @APACbu0@%
+ \else
+% \end{macrocode}
+% Within a bibunit: Use bibunit number to distinguish the bibunits.
+% \begin{macrocode}
+ @APACbu\the\@bibunitauxcnt @%
+ \fi
+ }%
+% \end{macrocode}
+% Standard \pkg{apacite} definition of the \cmd{\cite} and \cmd{\nocite}
+% commands. The latter is mainly necessary to avoid incorrect ``Citation
+% undefined'' warnings.
+% \begin{macrocode}
+ \let\std@cite\APACstd@cite
+ \let\std@nocite\APACstd@nocite
+% \end{macrocode}
+% Restore the \pkg{apacite} definition of \cmd{\bibitem}, mainly because of
+% the \cmd{\@newciteauxhandle} instead of \cmd{\@auxout}.
+% \begin{macrocode}
+ \def\std@lbibitem[#1]#2{%
+ \let\@APACtemp@auxout\@newciteauxhandle
+ \let\@newciteauxhandle\@bibunitaux
+ \APACstd@lbibitem[#1]{#2}%
+ \let\@newciteauxhandle\@APACtemp@auxout
+ }%
+% \end{macrocode}
+% To make sure everything works whether \pkg{bibunits} is loaded before or
+% after \pkg{apacite}.
+% \begin{macrocode}
+ \let\@lbibitem\std@lbibitem
+ }{}%
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \subsubsection{\pkg{bibtopic}}
+%
+% \begin{macrocode}
+\AtBeginDocument{%
+ \@ifpackageloaded{bibtopic}{%
+% \end{macrocode}
+% Somewhat rudely disable this command to prevent an undesired error
+% message of \pkg{bibtopic}.
+% \begin{macrocode}
+ \renewcommand*\bt@change@thb{\relax}%
+ }{%
+% \end{macrocode}
+% These \pkg{bibtopic} hooks are included in the
+% \envirname{thebibliography} environment as generated by
+% \fname{apacite.bst}, so \pkg{bibtopic} should work correctly. If
+% \pkg{bibtopic} is not loaded, they should do nothing.
+% \begin{macrocode}
+ \providecommand{\bt@beg@thb@hook}{\relax}
+ \providecommand{\bt@end@thb@hook}{\relax}
+ }%
+}
+% \end{macrocode}
+%
+% \subsubsection{\pkg{multibbl}}
+%
+% Almost all of \pkg{multibbl}'s code is redefined here, mainly because
+% \pkg{apacite} needs to distinguish which citation refers to which
+% bibliography, so that flags can be correctly set whether a citation
+% is the first citation to the work from the specific bibliography and
+% correctly includes the meta-analysis flags with the various
+% bibliographies.
+%
+% \begin{macro}{\APAC@curr@aux}
+% Default flag definition if \pkg{multibbl} is not loaded.
+% \begin{macrocode}
+\@ifundefined{APAC@curr@aux}{\def\APAC@curr@aux{}}{}
+\AtBeginDocument{%
+ \@ifpackageloaded{multibbl}{%
+% \end{macrocode}
+% To mimic \pkg{chapterbib} behavior (with flags etc.).
+% \begin{macrocode}
+ \def\APAC@def@curr@aux#1{\def\APAC@curr@aux{@APACaux@#1@}}%
+% \end{macrocode}
+% \begin{macro}{\newbibliography}
+% Ditto. This puts the \cmd{\bibcite} commands in |#1.aux| instead of in
+% the main \fname{.aux} file, so that the flags can be differentiated.
+% This also means that the \fname{.aux} file has to be read by \LaTeX{}
+% before it is overwritten.
+% \begin{macrocode}
+ \def\newbibliography#1{%
+ \APAC@def@curr@aux{#1}%
+ \@input@{#1.aux}%
+ \begingroup
+ \if@filesw
+ \expandafter\newwrite\csname #1@auxfile\endcsname
+ \expandafter\immediate\openout
+ \csname #1@auxfile\endcsname #1.aux\relax
+ \typeout{Writing auxiliary file #1.aux }%
+ \fi
+ \endgroup
+ }%%
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\APAC@mbbl@bibliography}
+% \begin{macro}{\bibliography}
+% Add the flag to the bibliography.
+% \begin{macrocode}
+ \let\APAC@mbbl@bibliography\bibliography
+ \def\bibliography#1#2#3{%
+ \APAC@def@curr@aux{#1}%
+ \let\@APACtemp@auxout\@newciteauxhandle
+ \def\@APACtemp{\csname #1@auxfile\endcsname}%
+ \let\@newciteauxhandle\@APACtemp
+ \APAC@mbbl@bibliography{#1}{#2}{#3}%
+ \let\@newciteauxhandle\@APACtemp@auxout
+ }%%
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\@orig@@cite}
+% \begin{macro}{\@@cite}
+% Add an extra argument to \cmd{\@@cite}.
+% \begin{macrocode}
+ \let\@orig@@cite\@@cite
+ \def\@@cite<#1>[#2]#3#4{%
+ \nocite{#3}{#4}%
+ \let\@temp@nocite\nocite
+ \let\nocite\@gobble
+ \APAC@def@curr@aux{#3}%
+ \@orig@@cite<#1>[#2]{#4}%
+ \let\nocite\@temp@nocite
+ \let\@temp@nocite\@undefined
+ }%%
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\@orig@nocite}
+% \begin{macro}{\nocite}
+% Add an extra argument to \cmd{\nocite}.
+% \begin{macrocode}
+ \let\@orig@nocite\nocite
+ \def\nocite#1#2{%
+% \end{macrocode}
+% Define a flag.
+% \begin{macrocode}
+ \APAC@def@curr@aux{#1}%
+% \end{macrocode}
+% No flag-setting in \cmd{\nocite}: A no-cite is not a citation,
+% so a subsequent citation may be the first citation.
+% \begin{macrocode}
+ \@bsphack
+ \ifx\@onlypreamble\document
+% \end{macrocode}
+% Since we are after |\begin{document}| we can do the citations:
+% \begin{macrocode}
+ \@for\@citeb:=#2\do{%
+ \edef\@citeb{\expandafter\@firstofone\@citeb}%
+% \end{macrocode}
+% \cmd{\@newciteauxhandle} for compatibility with \pkg{multibib};
+% |#1@auxfile| for compatibility with \pkg{multibbl}.
+% \begin{macrocode}
+ \@ifundefined{#1@auxfile}{%
+ \if@filesw
+ \immediate\write\@newciteauxhandle{\string\citation{\@citeb}}%
+ \fi
+ }{\if@filesw
+ \expandafter\immediate%
+ \write\csname #1@auxfile\endcsname{\string\citation{\@citeb}}%
+ \fi
+ }%
+ \@ifundefined{b@\@citeb\APAC@extra@b@citeb}{%
+ \edef\B@my@dummy{*}%
+ \ifx\@citeb\B@my@dummy
+ \else
+ \G@refundefinedtrue
+ \@latex@warning{Citation `\@citeb' undefined}%
+ \fi
+ }{}%
+ }%
+ \else
+% \end{macrocode}
+% \pkg{apacite} has no compatibility problems with \LaTeX~2.09,
+% because it does not work with \LaTeX~2.09 anyway, so we can do the
+% following, suggested in \fname{ltbibl.dtx}:
+% \begin{macrocode}
+ \AtBeginDocument{\nocite{#1}{#2}}%
+ \fi
+ \@esphack
+% \end{macrocode}
+% For compatibility with \pkg{multibib}.
+% \begin{macrocode}
+ \@restore@auxhandle
+ }%
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\@orig@nocitemeta}
+% \begin{macro}{\nocitemeta}
+% Add an extra argument to \cmd{\nocitemeta}.
+% \begin{macrocode}
+ \let\@orig@@nocitemeta\nocitemeta
+ \def\nocitemeta#1#2{%
+ \nocite{#1}{#2}%
+ \let\@temp@nocite\nocite
+ \let\nocite\@gobble
+ \@orig@@nocitemeta{#2}%
+ \let\nocite\@temp@nocite
+ \let\@temp@nocite\@undefined
+ }%
+ }{}%
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \subsubsection{\pkg{multibib}}
+%
+% From the instructions in \fname{multibib.dtx}.
+% \begin{macrocode}
+\providecommand\@newciteauxhandle{\@auxout}
+\def\@restore@auxhandle{\gdef\@newciteauxhandle{\@auxout}}
+\AtBeginDocument{%
+ \@ifundefined{newcites}{\global\let\@restore@auxhandle\relax}{}%
+}
+% \end{macrocode}
+% List of citation commands.
+% \begin{macrocode}
+\if@APAC@classic@cite
+\def\@mb@citenamelist{%
+ cite,fullcite,shortcite,citeNP,fullciteNP,shortciteNP,%
+ citeA,fullciteA,shortciteA,citeauthor,fullciteauthor,shortciteauthor,%
+ citeauthorNP,fullciteauthorNP,shortciteauthorNP,%
+ citeyear,citeyearNP,nocite,nocitemeta,%
+ maskcite,maskfullcite,maskshortcite,maskciteNP,maskfullciteNP,%
+ maskshortciteNP,maskciteA,maskfullciteA,maskshortciteA,%
+ maskciteauthor,maskfullciteauthor,maskshortciteauthor,%
+ maskciteauthorNP,maskfullciteauthorNP,maskshortciteauthorNP,%
+ maskciteauthorA,maskfullciteauthorA,maskshortciteauthorA,%
+ maskciteyear,maskciteyearNP,masknocite%
+}
+\fi
+\if@APAC@natbib@apa
+\AtEndOfPackage{%
+% \end{macrocode}
+% The \pkg{natbib} commands, if they haven't been declared already.
+% \begin{macrocode}
+\@ifundefined{@mb@citenamelist}{%
+ \def\@mb@citenamelist{%
+ nocite,citep,citealp,citet,citealt,citeauthor,citefullauthor,%
+ citeyearpar,citeyear,citetext,cite,shortcites,citetalias,%
+ citepalias,Citet,Citep,Citealt,Citealp,Citeauthor,citenum}%
+}{}
+% \end{macrocode}
+% The commands \pkg{apacite} adds.
+% \begin{macrocode}
+\let\orig@mb@citenamelist\@mb@citenamelist
+\edef\@mb@citenamelist{%
+ \orig@mb@citenamelist,%
+ citeauthort,citeauthorp,citefullauthort,citefullauthorp,Citeauthort,%
+ Citeauthorp,Citefullauthort,Citefullauthorp,%
+ masknocite,maskcitep,maskcitealp,maskcitet,maskcitealt,%
+ maskciteauthor,maskcitefullauthor,maskciteyearpar,maskciteyear,%
+ maskcite,maskcitetalias,maskcitepalias,maskCitet,maskCitep,%
+ maskCitealt,maskCitealp,maskCiteauthor,maskcitenum,maskciteauthort,%
+ maskciteauthorp,maskCitefullauthor,maskCiteauthort,maskCiteauthorp,%
+ nocitemeta%
+}
+}
+\fi
+% \end{macrocode}
+%
+%
+% \subsection{Language-specific macros and loading of language file}
+% \label{sec:language-code}
+%
+% This section initializes a number of macros that are likely to be subject
+% to redefinition in the language-specific files. Most of these are fairly
+% obvious, particularly literal text strings, but some style issues are
+% language-specific as well, e.g., whether or not a comma should be inserted
+% before the last author. After initializing these macros, \pkg{apacite} tries
+% to infer which language-specific (\fname{.apc}) file must be loaded, if any,
+% and then loads this file.
+%
+% \subsubsection{Literal text strings}
+%
+% \begin{macro}{\onemaskedcitationmsg}
+% \begin{macro}{\maskedcitationsmsg}
+% Messages that are inserted in the text if citations are masked.
+% Put these messages in separate commands so that they're easily
+% changed; e.g., for different languages. We use \cmd{\emph} instead
+% of \cmd{\textit}, so that this is put upright if it's executed
+% within an italic surrounding, and the parentheses are included
+% within the \cmd{\emph}, which looks better if this is included in
+% another pair of parentheses. But all of this is easily changed.
+% \begin{macrocode}
+\newcommand{\onemaskedcitationmsg}[1]{%
+ \emph{(#1\ citation removed for masked review)}}
+\newcommand{\maskedcitationsmsg}[1]{%
+ \emph{(#1\ citations removed for masked review)}}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\refname}
+% \begin{macro}{\bibname}
+% \begin{macro}{\authorindexname}
+% The section/chapter headings to be used for the reference list and the
+% author index. One of the first two is typically already defined by the
+% document class (e.g., \fname{article.cls} defines \cmd{\refname},
+% \fname{book.cls} defines \cmd{\bibname}. When using \pkg{babel}, these are
+% both redefined at each \cmd{\selectlanguage} invocation. The
+% language-specific (\fname{.apc}) file typically should override that, because
+% the strings defined by \pkg{babel} are often not the same as the strings
+% prescribed by the style guides for Psychology. For example, the standard
+% definition of \cmd{\bibname} in English is ``Bibliography'', whereas the
+% APA insists on ``References'' (with a few exceptions). In other languages,
+% the \cmd{\refname} may also be defined differently from the \pkg{babel}
+% definition. See the various \fname{.apc} files for how \pkg{babel} is
+% overridden.
+% \begin{macrocode}
+\def\refname{References}% Name of ref. list if it's a section.
+\def\bibname{References}% Name of ref. list if it's a chapter.
+\newcommand{\authorindexname}{Author Index}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\APACmetaprenote}
+% A note used just before the references in the reference list when a
+% meta-analysis is reported.
+% \begin{macrocode}
+\newcommand{\APACmetaprenote}{%
+ References marked with an asterisk indicate studies included in
+ the meta-analysis.}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\bibmessage}
+% \begin{macro}{\bibcomputerprogram}
+% \begin{macro}{\bibcomputerprogrammanual}
+% \begin{macro}{\bibcomputerprogramandmanual}
+% \begin{macro}{\bibcomputersoftware}
+% \begin{macro}{\bibcomputersoftwaremanual}
+% \begin{macro}{\bibcomputersoftwareandmanual}
+% \begin{macro}{\bibprogramminglanguage}
+% Commands for specific types of \entryname{@misc} entries. Besides the strings
+% themselves (as language-specific text), these are significant in that they
+% are recognized by \fname{apacite.bst} and used to modify the formatting of
+% the corresponding reference list entries.
+% \begin{macrocode}
+\newcommand{\bibmessage}{Msg}% Message, for internet forums and the like
+\newcommand{\bibcomputerprogram}{Computer program}
+\newcommand{\bibcomputerprogrammanual}{Computer program manual}
+\newcommand{\bibcomputerprogramandmanual}{Computer program and manual}
+\newcommand{\bibcomputersoftware}{Computer software}
+\newcommand{\bibcomputersoftwaremanual}{Computer software manual}
+\newcommand{\bibcomputersoftwareandmanual}{Computer software and manual}
+\newcommand{\bibprogramminglanguage}{Programming language}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\bibnodate}
+% \begin{macro}{\BIP}
+% Two types of ``special'' years: ``no date'' and ``in press''. These are not
+% only text strings unlike normal years, but also are recognized by
+% \fname{apacite.bst} and treated differently there. Here and in many other
+% macros below, the \cmd{\hbox} ensures that \TeX{} does not interpret the
+% final period as a sentence-ending period, and thus does not insert the extra
+% space associated with that.
+% \begin{macrocode}
+\newcommand{\bibnodate}{n.d.\hbox{}}% no date
+\newcommand{\BIP}{in press} % in press
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\BOthers}
+% \begin{macro}{\BOthersPeriod}
+% ``and others''. The argument contains a period to suppress an additional one
+% in the reference list, i.e., it is used as |\BOthers{.}| and the period in the
+% argument is seen by \BibTeX{}, which does not insert an additional one, so
+% that we now correctly get |et al.| and not |et al..| in the reference list.
+% The difference between \cmd{\BOthers} and \cmd{\BOthersPeriod} is that the
+% latter is used in a context where there should always be a period at the
+% end. Given that \BibTeX{} does not insert it because of the mentioned usage
+% of a period in the argument, this explicit distinction is necessary here.
+% Hence, if an unabbreviated string is used to define these commands, their
+% definitions become different. For example,
+% \begin{verbatim}
+% \renewcommand{\BOthers}{and others}
+% \renewcommand{\BOthersPeriod}{and others.}
+% \end{verbatim}
+% This does not work perfectly if \cmd{\citeauthor} is used at the end of a
+% sentence. This is on the todo-list. For the moment, the user will have to
+% employ an explicit workaround, i.e., insert an additional period if
+% \cmd{\BOthers} does not contain one and omit this period if it does.
+% \begin{macrocode}
+\newcommand{\BOthers}[1]{et al.\hbox{}}% ``and others''
+\newcommand{\BOthersPeriod}[1]{et al.\hbox{}}% ``and others.'', with a period
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\BIn}
+% \begin{macro}{\Bby}
+% Used for ``In Editor (Ed.), \emph{Booktitle}'' and
+% ``by Editor, Ed., \emph{Booktitle}'', respectively.
+% \begin{macrocode}
+\newcommand{\BIn}{In} % for ``In '' editor...
+\newcommand{\Bby}{by} % for ``by '' editor... (in reprints)
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\BED}
+% \begin{macro}{\BEDS}
+% \begin{macro}{\BTRANS}
+% \begin{macro}{\BTRANSS}
+% \begin{macro}{\BTRANSL}
+% \begin{macro}{\BCHAIR}
+% \begin{macro}{\BCHAIRS}
+% Various types of non-author contributions.
+% \begin{macrocode}
+\newcommand{\BED}{Ed.\hbox{}} % editor
+\newcommand{\BEDS}{Eds.\hbox{}} % editors
+\newcommand{\BTRANS}{Trans.\hbox{}} % translator
+\newcommand{\BTRANSS}{Trans.\hbox{}} % translators
+\newcommand{\BTRANSL}{trans.\hbox{}} % translation, for the year field
+\newcommand{\BCHAIR}{Chair} % chair of symposium
+\newcommand{\BCHAIRS}{Chairs} % chairs
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\BVOL}
+% \begin{macro}{\BVOLS}
+% \begin{macro}{\BNUM}
+% \begin{macro}{\BNUMS}
+% \begin{macro}{\BEd}
+% \begin{macro}{\BCHAP}
+% \begin{macro}{\BCHAPS}
+% \begin{macro}{\BPG}
+% \begin{macro}{\BPGS}
+% Various strings that indicate what kind of number is given.
+% \begin{macrocode}
+\newcommand{\BVOL}{Vol.\hbox{}} % volume (of a multi-volume book)
+\newcommand{\BVOLS}{Vols.\hbox{}} % volumes
+\newcommand{\BNUM}{No.\hbox{}} % number (of a technical report)
+\newcommand{\BNUMS}{Nos.\hbox{}} % numbers
+\newcommand{\BEd}{ed.\hbox{}} % edition
+\newcommand{\BCHAP}{chap.\hbox{}} % chapter (for electronic documents)
+\newcommand{\BCHAPS}{chap.\hbox{}} % chapters
+\newcommand{\BPG}{p.\hbox{}} % page
+\newcommand{\BPGS}{pp.\hbox{}} % pages
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\BTR}
+% \begin{macro}{\BPhD}
+% \begin{macro}{\BUPhD}
+% \begin{macro}{\BMTh}
+% \begin{macro}{\BUMTh}
+% Various strings that indicate what kind of work is referenced.
+% \begin{macrocode}
+%% Default technical report type name.
+\newcommand{\BTR}{Tech.\ Rep.\hbox{}}
+%% Default PhD thesis type name.
+\newcommand{\BPhD}{Doctoral dissertation}
+%% Default unpublished PhD thesis type name.
+\newcommand{\BUPhD}{Unpublished doctoral dissertation}
+%% Default master's thesis type name.
+\newcommand{\BMTh}{Master's thesis}
+%% Default unpublished master's thesis type name.
+\newcommand{\BUMTh}{Unpublished master's thesis}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\BAuthor}
+% ``Author'', the string used for the publisher if the publisher is also the
+% author of the work.
+% \begin{macrocode}
+\newcommand{\BAuthor}{Author}% ``Author'' if publisher = author
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\BOWP}
+% \begin{macro}{\BREPR}
+% Two strings that are used for reprints and translations.
+% \begin{macrocode}
+\newcommand{\BOWP}{Original work published}
+\newcommand{\BREPR}{Reprinted from}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\BAvailFrom}
+% \begin{macro}{\BRetrieved}
+% \begin{macro}{\BRetrievedFrom}
+% \begin{macro}{\BMsgPostedTo}
+% Strings that indicate where on the internet the referenced document was
+% obtained.
+% \begin{macrocode}
+\newcommand{\BAvailFrom}{Available from\ }% Websites; note the space.
+%% The argument is the date on which it was last checked.
+\newcommand{\BRetrieved}[1]{Retrieved {#1}, from\ }% Websites; note the space.
+\newcommand{\BRetrievedFrom}{Retrieved from\ }% Websites; note the space.
+\newcommand{\BMsgPostedTo}{Message posted to\ }% Messages; note the space.
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \subsubsection{Punctuation}
+%
+% Most of this is more style-specific than language specific, but there are
+% some punctuation differences between different languages, or even
+% ``dialects'' (in \pkg{babel}'s terminology) of the same ``language''.
+% Therefore, these are all included here and redefined in the \fname{.apc}
+% files.
+%
+% \begin{macro}{\BBOP}
+% \begin{macro}{\BBCP}
+% Opening and closing parentheses. Used to enclose the whole citation for a
+% parenthetical citation (e.g., \cmd{\cite}), only the year and post-note for
+% in-text citations (e.g., \cmd{\citeA}), and the year (and month and day, if
+% present) in the reference list. If different punctuation is desired for
+% the reference than used in citations, these commands can be redefined
+% immediately before the location of the \cmd{\bibliography} command. If
+% different punctuation is desired for parenthetical citations than for in-text
+% citations (seems unlikely), the citation commands themselves have to be
+% redefined.
+% \begin{macrocode}
+\newcommand{\BBOP}{(} % opening parenthesis
+\newcommand{\BBCP}{)} % closing parenthesis
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\BBOQ}
+% \begin{macro}{\BBCQ}
+% Opening and closing quotes for article-type titles in the reference list.
+% \begin{macrocode}
+\newcommand{\BBOQ}{} % opening quote for article title
+\newcommand{\BBCQ}{} % closing quote for article title
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\BBAA}
+% \begin{macro}{\BBAB}
+% \begin{macro}{\BAnd}
+% Three forms of ``and''. Of course, the word ``and'' is a literal text string,
+% so this part could also have been allocated to the the section that handles
+% those.
+% \begin{macrocode}
+\newcommand{\BBAA}{\&} % between authors in parenthetical cites and ref. list
+\newcommand{\BBAB}{and} % between authors in in-text citation
+\newcommand{\BAnd}{\&} % for ``Ed. \& Trans.'' in ref. list
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\BPBI}
+% \begin{macro}{\BHBI}
+% Punctuation between initials. This is primarily used to reduce or eliminate
+% space between initials. Note that there is currently not a similar command
+% for the last period after the initials, so that removing the periods in these
+% macros will generally give undesirable results.
+% \begin{macrocode}
+\DeclareRobustCommand{\BPBI}{.~}% Period between initials
+\DeclareRobustCommand{\BHBI}{.-}% Hyphen between initials
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\BAP}
+% \begin{macro}{\BBAY}
+% \begin{macro}{\BBYY}
+% \begin{macro}{\BBC}
+% \begin{macro}{\BBN}
+% \begin{macro}{\BCBT}
+% \begin{macro}{\BCBL}
+% \begin{macro}{\BDBL}
+% Punctuation between various parts of citations and reference list entries.
+% \begin{macrocode}
+\newcommand{\BAP}{ } % after prefix, before first citation
+\newcommand{\BBAY}{, } % between author(s) and year
+\newcommand{\BBYY}{, } % between years of multiple citations with same author
+\newcommand{\BBC}{; } % between cites
+\newcommand{\BBN}{, } % before note
+\newcommand{\BCBT}{,} % comma between authors in ref. list when no. of
+ %% authors = 2
+\newcommand{\BCBL}{,} % comma before last author when no. of authors > 2
+\newcommand{\BDBL}{, \dots{} }% dots before last author when no. of authors > 7
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \subsubsection{Date formatting}
+%
+% This consists of literal strings (names of the months), relative ordering of
+% year, month, and day, and punctuation between the elements.
+%
+% \begin{macro}{\APACmonth}
+% This takes one argument. If it is a number between 1 and 12, the name of
+% the corresponding month is produced (1 = January, \dots, 12 = December),
+% and 13--16 represent the seasons. Anything else is copied literally. In this
+% way, other kinds of dates can be handled as well, such as
+% ``August/September''. Note that this in its turn can be flexibly entered
+% as |\APACmonth{08}/\APACmonth{09}| in the \fname{.bib} file.
+% \begin{macrocode}
+\newcommand{\APACmonth}[1]{\ifcase #1\or January\or February\or March\or
+ April\or May\or June\or July\or August\or September\or October\or
+ November\or December\or Winter\or Spring\or Summer\or Fall\else
+ {#1}\fi}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\APACrefYearMonthDay}
+% Year, month, and day in the reference list. Often used for newspaper articles
+% and presentations at conferences. By default, this results in something like
+% ``(2005, July~5)''. The month and day should be seen as parenthetical
+% refinements of the year, so that in other languages, the year should be
+% named first as well, regardless of the conventions for representing dates in
+% such languages.
+% \begin{macrocode}
+\newcommand{\APACrefYearMonthDay}[3]{%
+ {\BBOP}{#1}% year (+ addendum); should not be empty
+ \ifx\@empty#2\@empty
+ \ifx\@empty#3\@empty
+ \else
+ \unskip, {#3}% day
+ \fi
+ \else
+ \unskip, {#2}% month
+ \ifx\@empty#3\@empty
+ \else
+ \unskip~{#3}% day
+ \fi
+ \fi
+ {\BBCP}% closing parenthesis
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\APACdate}
+% A date in the ordinary form, like \cmd{\today}. This is needed for processing
+% the \fieldname{lastchecked} field. Should be able to handle dates in both
+% typical \LaTeX{} input format (|2005/07/05|) and ISO format
+% (|2005-07-05|, possibly with time after it, which will be ignored). Maybe
+% other formats as well; e.g., |20050705|, as in the Un*x |touch| command.
+% Not yet implemented.
+% \end{macro}
+%
+% \subsubsection{Ordinal numbers}
+%
+% Some functions, for use with the \fieldname{edition} field, which transform
+% a (cardinal) number (``1'', ``2'', \dots) to an ordinal number (``1st'',
+% ``2nd'', \dots).
+%
+% I copied the functions here literally from \fname{amsrefs.dtx} (starting
+% with \cmd{\PrintEdition} there) and made only one slight adaptation: removing
+% \cmd{\editiontext}. In the \APACversiondate{2007/09/03} version of
+% \pkg{apacite}, \cmd{\PrintOrdinal} and \cmd{\print@ordinal} were called
+% \cmd{\PrintCardinal} and \cmd{\print@cardinal}, respectively, and what is
+% called ``ordinal'' now was called ``cardinal''. This terminology was copied
+% from the documentation of \pkg{amsrefs}, but it is incorrect and has
+% therefore been changed in the current version. This causes a slight
+% incompatibility between versions of \pkg{apacite}. So in case users have
+% redefined one of these macros to fit their own needs, they should rename
+% these accordingly. Note, however, that the current version of \pkg{apacite}
+% redefines these macros in the language-specific files, so for most users,
+% this will presumably be sufficient.
+%
+% \begin{macro}{\@xp}
+% Abbreviation.
+% \begin{macrocode}
+\let\@xp\expandafter
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\PrintOrdinal}
+% \begin{macro}{\print@ordinal}
+% \begin{macro}{\CardinalNumeric}
+% \begin{macro}{\keep@last@digit}
+% |\PrintOrdinal{2}| gives ``2nd'', etc. If the argument is not an integer
+% number, it is copied literally to the output. At least, apparently, because
+% I do not really understand how it works. The \pkg{amsrefs} documentation
+% suggests that \cmd{\CardinalNumeric} already gives the ordinal number
+% (incorrectly called ``cardinal number'' there), and the name
+% \cmd{\CardinalNumeric} without `|@|' sign likewise suggests that it is a
+% user command, but some tests using this give garbage. Therefore,
+% \cmd{\PrintOrdinal} (a slight adaptation of \pkg{amsrefs}'
+% \cmd{\PrintEdition}) is the command that ultimately should be used.
+% \begin{macrocode}
+\newcommand{\PrintOrdinal}[1]{%
+ \afterassignment\print@ordinal
+ \count@ 0#1\relax\@nil
+}
+\def\print@ordinal#1#2\@nil{%
+ \ifx\relax#1\relax
+ \ifnum\count@>\z@
+ \CardinalNumeric\count@
+ \else
+ ??th%
+ \fi
+ \else
+ \ifnum \count@>\z@ \number\count@ \fi
+ #1#2\relax
+ \fi
+}
+\newcommand{\CardinalNumeric}[1]{%
+ \number#1\relax
+ \if
+ \ifnum#1<14
+ \ifnum#1>\thr@@ T\else F\fi
+ \else
+ F%
+ \fi
+ T%
+ th%
+ \else
+ \@xp\keep@last@digit\@xp#1\number#1\relax
+ \ifcase#1th\or st\or nd\or rd\else th\fi
+ \fi
+}
+\def\keep@last@digit#1#2{%
+ \ifx\relax#2%
+ \@xp\@gobbletwo
+ \else
+ #1=#2\relax
+ \fi
+ \keep@last@digit#1%
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% Load language dependent sections from an external file. Based on code by
+% Stefan Bj\"ork [2004/12/25], although heavily modified.
+% \begin{macrocode}
+\AtBeginDocument{%
+% \end{macrocode}
+% Both \pkg{babel} and \pkg{(n)german} use \cmd{\iflanguage} to check the main
+% language. They both also use \cmd{\languagename}, but that gives more
+% problems with ``dialects''. For example, if \cmd{\languagename} = |austrian|
+% then |\iflanguage{german}{Yes}{No}| gives Yes. This allows us to provide only
+% \fname{.apc} files for the language class without complicated code to check
+% whether a certain ``dialect'' is used.
+%
+% Check whether \cmd{\iflanguage} is defined. If not, no language support
+% is offered.
+% \begin{macrocode}
+ \@ifundefined{iflanguage}%
+ {\relax }%
+ {%
+% \end{macrocode}
+% Some \TeX{} distributions automatically preload \pkg{babel} with default
+% language ``|nohyphenation|'', so this language should revert to doing
+% nothing. Strangely enough, \cmd{\iflanguage} does not work correctly, so
+% I'll use a trick. (Some trial and error, because \fname{babel.dtx} states
+% that there must be a ``\verb*+\string +'' before the ``|nohyphenation|'',
+% but apparently in this situation this is not the case.)
+% \begin{macrocode}
+ \edef\APAC@tmp{nohyphenation}%
+ \ifx\languagename\APAC@tmp
+ \else
+% \end{macrocode}
+% Check whether $\langle$\cmd{\languagename}$\rangle$\fname{.apc} exists.
+% If so, load this file.
+% \begin{macrocode}
+ \InputIfFileExists{\languagename.apc}{}{%
+% \end{macrocode}
+% Else, i.e., $\langle$\cmd{\languagename}$\rangle$\fname{.apc} does not
+% exist. Try whether the current language is a dialect of one of the
+% known languages. This is not perfect, because languages for which no
+% hyphenation patterns have been found revert to the default language,
+% so that the wrong language file may be loaded here in that case. Also,
+% |UKenglish| uses different hyphenation patterns from |english|. I have
+% to find a better way to solve this.
+%
+% \begin{macro}{\APAC@iflang}
+% Define a modification of \cmd{\iflanguage} that executes the ``true''
+% code if the language is defined and equal to the current language and
+% does nothing otherwise. (Just \cmd{\iflanguage} gives an error if the
+% language is not loaded.)
+% \begin{macrocode}
+ \def\APAC@iflang##1##2{%
+ \expandafter\ifx\csname l@##1\endcsname\relax
+ \else
+ \ifnum\csname l@##1\endcsname=\language
+ {##2}%
+ \fi
+ \fi
+ }%
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\APAC@apcfile}
+% Define the language support file. The \cmd{\def} instead of a direct
+% \cmd{\input} is done to provide a mechanism to check whether any
+% language file has been defined.
+% \begin{macrocode}
+ \APAC@iflang{dutch}{\gdef\APAC@apcfile{dutch.apc}}%
+ \APAC@iflang{finnish}{\gdef\APAC@apcfile{finnish.apc}}%
+ \APAC@iflang{french}{\gdef\APAC@apcfile{french.apc}}%
+ \APAC@iflang{german}{\gdef\APAC@apcfile{german.apc}}%
+ \APAC@iflang{ngerman}{\gdef\APAC@apcfile{ngerman.apc}}%
+ \APAC@iflang{greek}{\gdef\APAC@apcfile{greek.apc}}%
+ \APAC@iflang{norsk}{\gdef\APAC@apcfile{norsk.apc}}%
+ \APAC@iflang{spanish}{\gdef\APAC@apcfile{spanish.apc}}%
+ \APAC@iflang{swedish}{\gdef\APAC@apcfile{swedish.apc}}%
+% \end{macrocode}
+% The hyphenation patterns for UK English are different from
+% US English, so this needs to be accommodated explicitly to avoid a
+% warning. Australian, New Zealand, and Canadian all use either the
+% British or American hyphenation patterns, so do not need to be
+% treated separately here.
+% \begin{macrocode}
+ \APAC@iflang{UKenglish}{\gdef\APAC@apcfile{english.apc}}%
+% \end{macrocode}
+% The default English as the last one. If a language is loaded without
+% hyphenation patterns, the English hyphenation patterns are used by
+% default in \pkg{babel}. In such a case, both this particular
+% language and English give a hit. Having English as the last one
+% means that in such a case, \pkg{apacite} assigns English,
+% corresponding with \pkg{babel}'s default.
+% \begin{macrocode}
+ \APAC@iflang{english}{\gdef\APAC@apcfile{english.apc}}%
+% \end{macrocode}
+% \end{macro}
+%
+% Give a warning if the process so far has not resulted in a target
+% language file, or if the target language file cannot be found.
+% \begin{macrocode}
+ \@ifundefined{APAC@apcfile}{%
+ \PackageWarningNoLine{apacite}{%
+ No suitable language definition file (\languagename.apc) found}%
+ }{%
+ \InputIfFileExists{\APAC@apcfile}{}{%
+ \PackageWarningNoLine{apacite}{%
+ Language definition file \APAC@apcfile\space not found}%
+ }%
+ }%
+% \end{macrocode}
+% Clear up some macros that are no longer needed.
+% \begin{macrocode}
+ \let\APAC@apcfile\@undefined
+ }%
+ \fi
+ \let\APAC@tmp\@undefined
+ }%
+ \let\APAC@iflang\@undefined
+}
+%%
+%</package>
+% \end{macrocode}
+%
+%
+% \section{Documentation package (\fname{apacdoc.sty})}
+% The \pkg{apacdoc} package is written for generating the \pkg{apacite}
+% user's manual. But it also contains a few commands that are too
+% experimental or otherwise unsuitable to be included in \fname{apacite.sty},
+% but which are necessary to format some examples from the APA manual
+% correctly. As such, these commands may be useful for users if they
+% encounter similar citation problems. In such a case, it is probably
+% better to copy the definitions of the desired commands to the top
+% of your \fname{.tex} document (before \verb+\begin{document}+) or
+% to a tailor-made \fname{.sty} file, rather than loading the \pkg{apacdoc}
+% package.
+%
+% \begin{macrocode}
+%<*docpkg>
+%%
+%% apacdoc.sty : Style package that is used for the apacite documentation.
+%% Written by Erik Meijer
+% \end{macrocode}
+% \subsection{Options}
+% \begin{macro}{\if@APACdoc@AX}
+% Generate author index?
+% \begin{macrocode}
+\newif\if@APACdoc@AX
+\DeclareOption{makeAX}{\@APACdoc@AXtrue}%
+\@APACdoc@AXfalse
+\ProcessOptions
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{Document-specific definitions that may be useful for wider use}
+% \begin{macro}{\bibliteral}
+% \begin{macro}{\bibinitial}
+% Echo argument literally. Can be used to define a certain author type
+% (``Producer'') in a place where \BibTeX{} expects a first name.
+% Using this command between a pair of braces makes sure that the text
+% is not abbreviated into an initial.
+% This is the result of lots of trial and error. If I change something
+% in another part, I typically have to change something here as well.
+% The \verb+\space+ is necessary because in the current setup, an additional
+% space is inserted in the bibliography, and \MakeIndex{} is space-sensitive.
+% \begin{macrocode}
+%% \DeclareRobustCommand{\bibliteral}[1]{\string\bibliteral{#1}}
+%% \newcommand{\bibliteral}[1]{#1}
+%% \newcommand{\bibliteral}[1]{\string\bibliteral{#1}}
+\newcommand{\bibliteral}[1]{\string\bibliteral\space{#1}}
+\DeclareRobustCommand{\bibinitial}[1]{\string#1}
+%% \newcommand{\bibinitial}{\string\bibinitial\space}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\bibnodot}
+% If the argument is a period (`|.|'), \BibTeX{} puts no period after it.
+% \begin{macrocode}
+\newcommand{\bibnodot}[1]{}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\SwapArgs}
+% Reverse order of the two arguments. Can be used for various reasons,
+% mostly related to sorting in the reference list.
+% \begin{macrocode}
+\newcommand{\SwapArgs}[2]{#2#1}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\bibreftext}
+% \begin{macro}{\Dutchvon}
+% The following macro is especially useful if the \fieldname{year}
+% field must be different in the text and the reference list,
+% e.g., ``1992/1993'' in the text and ``1992'' in reference list.
+% Then \fieldname{year} can be defined as |\bibreftext{1992}{1992/1993}|.
+% The definition below displays only the second argument (``text'').
+% Just before the reference list, this can then be redefined to
+% display only the first argument (``ref'').
+% \begin{macrocode}
+\newcommand{\bibreftext}[2]{#2}
+% \end{macrocode}
+% The same command, but now intended for Dutch-style ``von'' parts,
+% so in order to create some flexibility in formatting items from
+% a \fname{.bib} file, it is useful to have a separate macro for
+% this application.
+% \begin{macrocode}
+\newcommand{\Dutchvon}[2]{#2}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\APACredefineOnce}
+% This macro takes two arguments: (1) the name of a command (without the
+% backslash) and (2) arbitrary \TeX{} code. It then redefines the
+% command (1) to the \TeX{} code (2) as a one-time change, so after the
+% command (1) has been invoked once, it reverts to its definition before
+% \cmd{\APACredefineOnce} was issued. This can be used to redefine, say,
+% \cmd{\BRetrievedFrom} from ``Retrieved from'' to ``Retrieved from
+% Poverty Alleviation website'' for a single reference but restore it
+% to ``Retrieved from'' immediately afterwards.
+% \begin{macrocode}
+\DeclareRobustCommand\APACredefineOnce[2]{%
+ \global
+ \expandafter\let
+ \csname old#1\expandafter\endcsname
+ \csname #1\endcsname
+ \expandafter\gdef
+ \csname #1\expandafter\endcsname
+ {{#2}%
+ \global
+ \expandafter\let
+ \csname #1\expandafter\endcsname
+ \csname old#1\endcsname
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\bibeditortype}
+% \begin{macro}{\renewbibeditortype}
+% The following macro changes the definitions of the macros \cmd{\BED}
+% and \cmd{\BEDS} to the argument of this macro and then immediately
+% changes the definitions back to their old definitions. So it makes a
+% one-time change. Can be used to use ``Producer'' instead of ``Ed.''
+% etc.
+% \begin{macrocode}
+\DeclareRobustCommand{\bibeditortype}[1]{\relax }%
+\def\renewbibeditortype{%
+ \def\oldBED{}%
+ \def\oldBEDS{}%
+ \DeclareRobustCommand{\bibeditortype}[1]{%
+ \global\let\oldBED\BED
+ \global\let\oldBEDS\BEDS
+ \global\def\BED{##1\global\let\BED\oldBED \global\let\BEDS\oldBEDS}%
+ \global\def\BEDS{##1\global\let\BED\oldBED \global\let\BEDS\oldBEDS}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\bibInstring}
+% \begin{macro}{\BOn}
+% The following macro changes the definition of the macro \cmd{\BIn} to the
+% argument and then immediately changes the definition back to the old
+% definition. So it makes a one-time change. Can be used to use ``On''
+% instead of ``In'' for a CD-track, for which \cmd{\BOn} is supplied.
+% \begin{macrocode}
+\newcommand{\bibInstring}[1]{%
+ \global\let\oldBIn\BIn
+ \global\def\BIn{#1\global\let\BIn\oldBIn}%
+}
+\newcommand{\BOn}{On}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\BAbstractRetrieved}
+% \begin{macro}{\BmakeAbstractRetrieved}
+% The following macros are used to change ``Retrieved'' into
+% ``Abstract retrieved''. They use the same principle as
+% \cmd{\renewbibeditortype}.
+% \begin{macrocode}
+\global\def\BAbstractRetrieved#1{Abstract retrieved {#1}, from\ }%
+\DeclareRobustCommand{\BmakeAbstractRetrieved}{%
+ \global\def\oldBRetrieved{}%
+ \global\let\oldBRetrieved\BRetrieved
+ \global\def\BRetrieved##1{%
+ \BAbstractRetrieved{##1}%
+ \global\let\BRetrieved\oldBRetrieved%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\noedition}
+% Suppress ``ed.'' to format ``Version 4.0'' in an \fieldname{edition}
+% field.
+% \begin{macrocode}
+\DeclareRobustCommand{\noedition}{%
+ \global\def\oldBEd{}%
+ \global\let\oldBEd\BEd
+ \global\def\BEd{%
+ \unskip
+ \global\let\BEd\oldBEd
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\swallownext}
+% \begin{macro}{\swallowdot}
+% \begin{macro}{\bibskipbracenodot}
+% \begin{macro}{\indexskipbracenodot}
+% The \cmd{\bibskipbracenodot} macro suppresses the period after a
+% following closing brace. It does not work entirely well at the
+% moment. In particular, it works differently in an \cmd{\AX} macro
+% in text and an \cmd{\AX} macro in the reference list. This probably
+% has something to do with robust vs.\ fragile macros and/or expansion
+% of the macro. I have experimented a lot with many variations, but
+% don't seem to get it right. I don't understand these issues well yet.
+% \cmd{\swallownext} swallows its argument; \cmd{\swallowdot} swallows
+% the next character if it's a period.
+% \begin{macrocode}
+\def\swallownext#1{\relax}
+\def\swallowdot{%
+ \@ifnextchar.%
+ {\swallownext}%
+ {\relax}%
+}
+% \end{macrocode}
+% When the above does not work, \cmd{\bibskipbracenodot} should reduce
+% to nothing. This is the current definition. Just before the
+% bibliography, it is redefined. \cmd{\indexskipbracenodot} has the
+% same purpose, but for the author index instead of the reference list.
+% \begin{macrocode}
+%% \def\bibskipbracenodot{\string\bibskipbracenodot}
+%% \def\bibskipbracenodot{\aftergroup\swallowdot}
+%% \let\bibskipbracenodot\relax
+\def\bibskipbracenodot{\noexpand\bibskipbracenodot}
+\def\indexskipbracenodot{\noexpand\indexskipbracenodot}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\APACmanBeforeBib}
+% Redefine commands that should be different in the bibliography.
+% \begin{macrocode}
+\newcommand{\APACmanBeforeBib}{%
+ \renewcommand{\bibreftext}[2]{##1}%
+ \renewcommand{\Dutchvon}[2]{##1}%
+ \renewbibeditortype
+ \global\let\oldbibskipbracenodot\bibskipbracenodot
+ \global\def\bibskipbracenodot{\aftergroup\swallowdot}%
+ \global\let\oldbibliteral\bibliteral
+ \renewcommand{\bibliteral}[1]{##1}%
+ \global\let\oldbibinitial\bibinitial
+ \renewcommand{\bibinitial}[1]{##1}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\APACbibstyle}
+% Dirty trick: request \fname{apacitex.bst} if \pkg{apacite} is loaded
+% with one of the index options, and request \fname{apacite.bst}
+% otherwise.
+% \begin{macrocode}
+\def\APACbibstyle{%
+ \if@APAC@index
+ apacitex% with index option
+ \else
+ apacite% without index option
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\APACmanBeforeIndex}
+% Redefine commands that should be different in the author index.
+% \begin{macrocode}
+\newcommand{\APACmanBeforeIndex}{%
+ \clearpage
+ \renewcommand{\bibeditortype}[1]{}%
+ \renewcommand{\bibliteral}[1]{\unskip}%
+ \global\let\indexskipbracenodot\bibskipbracenodot
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\APACmanAfterIndex}
+% Revert to the old definitions of commands after the index.
+% \begin{macrocode}
+\newcommand{\APACmanAfterIndex}{%
+ \global\let\bibskipbracenodot\oldbibskipbracenodot
+ \global\def\indexskipbracenodot{\noexpand\indexskipbracenodot}%
+ \APACdocindex
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\SetupAPACdocPrologues}
+% Redefine some indexing-related commands from \fname{doc.sty} and
+% \fname{ltxdoc.cls}. Unfortunately, I couldn't get the code index
+% and change history working with the \pkg{index} package, so I have
+% to tweak everything so that the \pkg{apacite} manual does not use the
+% \pkg{index} package (which is loaded by apacite when an
+% \pkgoption{index} option is requested).
+% \begin{macrocode}
+\newcommand{\SetupAPACdocPrologues}{%
+ \@ifundefined{IndexPrologue}{}{%
+ \IndexPrologue{%
+ \clearpage\section*{{Code Index}}%
+ \addcontentsline{toc}{section}{Code Index}%
+ \markboth{{Code Index}}{{Code Index}}%
+ Numbers written in italic refer to the page where the corresponding
+ entry is described; numbers underlined refer to the
+ \ifcodeline@index
+ code line of the
+ \fi
+ definition; numbers in roman refer to the
+ \ifcodeline@index
+ code lines
+ \else
+ pages
+ \fi
+ where the entry is used.
+ }%
+ }%
+ \@ifundefined{GlossaryPrologue}{}{%
+ \GlossaryPrologue{\section{{Change History}}%
+ \markboth{{Change History}}{{Change History}}%
+ }%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\APACdocindex}
+% From \fname{doc.dtx}.
+% \begin{macrocode}
+\def\APACdocindex{%
+ \ifhave@multicol
+ \renewenvironment{theindex}
+ {\begin{multicols}\c@IndexColumns[\index@prologue][\IndexMin]%
+ \IndexParms \let\item\@idxitem \ignorespaces}%
+ {\end{multicols}}
+ \else
+ \typeout{Can't find multicol.sty -- will use normal index layout if
+ necessary.}
+ \def\theindex{\@restonecoltrue\if@twocolumn\@restonecolfalse\fi
+ \columnseprule \z@ \columnsep 35\p@
+ \twocolumn[\index@prologue]%
+ \IndexParms \let\item\@idxitem \ignorespaces}
+ \def\endtheindex{\if@restonecol\onecolumn\else\clearpage\fi}
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{Citations to the Bible}
+% The \emph{APA manual} gives some rules how the Bible and other
+% classic works should be cited. These rules are not implemented
+% in standard \pkg{apacite}, so I provide a workaround here. This
+% needs to be fixed and generalized because the \emph{APA manual}
+% now also gives a Qur'an example.
+%
+% \begin{macro}{\bibleversion}
+% \begin{macro}{\@bibleversion}
+% To define which Bible version one has used.
+% \begin{macrocode}
+\def\bibleversion#1{\gdef\@bibleversion{#1}}
+\def\@bibleversion{Revised Standard Version}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\bibleciteA}
+% \begin{macro}{\fullbibleciteA}
+% \begin{macro}{\shortbibleciteA}
+% \begin{macro}{\biblecite}
+% \begin{macro}{\fullbiblecite}
+% \begin{macro}{\shortbiblecite}
+% \begin{macro}{\bibleciteNP}
+% \begin{macro}{\fullbibleciteNP}
+% \begin{macro}{\shortbibleciteNP}
+% The Bible citation commands follow the same names and syntax as the
+% ordinary citation commands, except that ``|bible|'' is inserted in
+% the command names.
+% \begin{macrocode}
+\def\bibleciteA#1{%
+ {\@ifundefined{flag@bible}%
+ {\fullbibleciteA{#1}}%
+ {\shortbibleciteA{#1}}%
+ }%
+}
+\def\fullbibleciteA#1{%
+% \end{macrocode}
+% Insert chapter and verse.
+% \begin{macrocode}
+ {#1}%
+% \end{macrocode}
+% Add Bible version.
+% \begin{macrocode}
+ { \BBOP\@bibleversion\BBCP}%
+% \end{macrocode}
+% Flag that the Bible has been cited.
+% \begin{macrocode}
+ {\global\expandafter\def\csname flag@bible\endcsname{DUMMY}}%
+}
+\def\shortbibleciteA#1{%
+ {#1}%
+% \end{macrocode}
+% Is this appropriate to flag that Bible has been cited, given that
+% we don't give the version here?
+% \begin{macrocode}
+ {\global\expandafter\def\csname flag@bible\endcsname{DUMMY}}%
+}
+\def\biblecite#1{%
+ {\@ifundefined{flag@bible}%
+ {\fullbiblecite{#1}}%
+ {\shortbiblecite{#1}}%
+ }%
+}
+\def\fullbiblecite#1{%
+ {\BBOP}%
+ {#1}%
+ {\BBAY{} \@bibleversion}%
+ {\BBCP}%
+ {\global\expandafter\def\csname flag@bible\endcsname{DUMMY}}%
+}
+\def\shortbiblecite#1{%
+ {\BBOP}%
+ {#1}%
+ {\BBCP}%
+ {\global\expandafter\def\csname flag@bible\endcsname{DUMMY}}%
+}
+\def\bibleciteNP#1{%
+ {\@ifundefined{flag@bible}%
+ {\fullbibleciteNP{#1}}%
+ {\shortbibleciteNP{#1}}%
+ }%
+}
+\def\fullbibleciteNP#1{%
+ {#1}%
+ {\BBAY{} \@bibleversion}%
+ {\global\expandafter\def\csname flag@bible\endcsname{DUMMY}}%
+}
+\def\shortbibleciteNP#1{%
+ {#1}%
+ {\global\expandafter\def\csname flag@bible\endcsname{DUMMY}}%
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \subsection{Citing songs}
+% The \emph{APA manual} gives some rules how songs should be cited.
+% These rules require some tweaking of standard \pkg{apacite}. This is
+% done here.
+%
+% \begin{macro}{\bibsong}
+% \begin{macro}{\citeAsong}
+% \begin{macro}{\fullciteAsong}
+% \begin{macro}{\shortciteAsong}
+% \begin{macro}{\citesong}
+% \begin{macro}{\fullcitesong}
+% \begin{macro}{\shortcitesong}
+% \begin{macro}{\citesongNP}
+% \begin{macro}{\fullcitesongNP}
+% \begin{macro}{\shortcitesongNP}
+% The names of these macros are a bit internally inconsistent and
+% inconsistent with the \cmd{\biblecite} and \cmd{DSMcite} suites.
+% Fix this in a next version.
+% \begin{macrocode}
+\newcommand{\bibsong}[4]{}
+\newcommand{\citeAsong}[1]{%
+ \def\bibsong##1##2##3##4{%
+ \APACciteatitle{##3} {\BBOP}{##1}{\BBAY}{##2}{\BBN}{##4}{\BBCP}%
+ }%
+ \citeauthor{#1}%
+ \def\bibsong##1##2##3##4{}%
+}
+\newcommand{\fullciteAsong}[1]{%
+ \def\bibsong##1##2##3##4{%
+ \APACciteatitle{##3} {\BBOP}{##1}{\BBAY}{##2}{\BBN}{##4}{\BBCP}%
+ }%
+ \fullciteauthor{#1}%
+ \def\bibsong##1##2##3##4{}%
+}
+\newcommand{\shortciteAsong}[1]{%
+ \def\bibsong##1##2##3##4{%
+ \APACciteatitle{##3} {\BBOP}{##1}{\BBAY}{##2}{\BBN}{##4}{\BBCP}%
+ }%
+ \shortciteauthor{#1}%
+ \def\bibsong##1##2##3##4{}%
+}
+\newcommand{\citesong}[1]{%
+ \def\bibsong##1##2##3##4{%
+ {\BBOP}\APACciteatitle{##3},{\BAP}{##1}{\BBAY}{##2}{\BBN}{##4}%
+ {\BBCP}%
+ }%
+ \citeauthor{#1}%
+ \def\bibsong##1##2##3##4{}%
+}
+\newcommand{\fullcitesong}[1]{%
+ \def\bibsong##1##2##3##4{%
+ {\BBOP}\APACciteatitle{##3},{\BAP}{##1}{\BBAY}{##2}{\BBN}{##4}%
+ {\BBCP}%
+ }%
+ \fullciteauthor{#1}%
+ \def\bibsong##1##2##3##4{}%
+}
+\newcommand{\shortcitesong}[1]{%
+ \def\bibsong##1##2##3##4{%
+ {\BBOP}\APACciteatitle{##3},{\BAP}{##1}{\BBAY}{##2}{\BBN}{##4}%
+ {\BBCP}%
+ }%
+ \shortciteauthor{#1}%
+ \def\bibsong##1##2##3##4{}%
+}
+\newcommand{\citesongNP}[1]{%
+ \def\bibsong##1##2##3##4{%
+ \APACciteatitle{##3},{\BAP}{##1}{\BBAY}{##2}{\BBN}{##4}%
+ }%
+ \citeauthor{#1}%
+ \def\bibsong##1##2##3##4{}%
+}
+\newcommand{\fullcitesongNP}[1]{%
+ \def\bibsong##1##2##3##4{%
+ \APACciteatitle{##3},{\BAP}{##1}{\BBAY}{##2}{\BBN}{##4}%
+ }%
+ \fullciteauthor{#1}%
+ \def\bibsong##1##2##3##4{}%
+}
+\newcommand{\shortcitesongNP}[1]{%
+ \def\bibsong##1##2##3##4{%
+ \APACciteatitle{##3},{\BAP}{##1}{\BBAY}{##2}{\BBN}{##4}%
+ }%
+ \shortciteauthor{#1}%
+ \def\bibsong##1##2##3##4{}%
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \subsection{Commands to cite the \emph{DSM}}
+% The \emph{APA manual} gives some rules how the \emph{DSM} should be
+% cited, which is a bit different from ordinary citations. These rules
+% are not implemented in standard \pkg{apacite}, so I provide a
+% workaround here.
+%
+% \begin{macro}{\bibDSM}
+% \begin{macro}{\origbibDSM}
+% \begin{macro}{\DSMauthor}
+% \begin{macro}{\DSMfulltitle}
+% \begin{macro}{\DSMshorttitle}
+% \begin{macro}{\DSMedition}
+% The \cmd{\bibDSM} macro has four arguments: (1) author, (2) full
+% title, (3) edition, (4) abbreviated title. The default definition
+% prints the author, so this gives something decent if an ordinary
+% citation command is used. The other macros extract the separate
+% arguments.
+% \begin{macrocode}
+\DeclareRobustCommand{\bibDSM}[4]{#1}
+\newcommand\origbibDSM{}
+\let\origbibDSM\bibDSM
+\newcommand{\DSMauthor}[1]{%
+ \def\bibDSM##1##2##3##4{##1}%
+ \citeauthor{#1}%
+ \let\bibDSM\origbibDSM
+}
+\newcommand{\DSMfulltitle}[1]{%
+ \def\bibDSM##1##2##3##4{##2}%
+ \citeauthor{#1}%
+ \let\bibDSM\origbibDSM
+}
+\newcommand{\DSMshorttitle}[1]{%
+ \def\bibDSM##1##2##3##4{##4}%
+ \citeauthor{#1}%
+ \let\bibDSM\origbibDSM
+}
+\newcommand{\DSMedition}[1]{%
+ \def\bibDSM##1##2##3##4{##3}%
+ \citeauthor{#1}%
+ \let\bibDSM\origbibDSM
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\DSMciteA}
+% \begin{macro}{\DSMfullciteA}
+% \begin{macro}{\DSMshortciteA}
+% \begin{macro}{\DSMcite}
+% \begin{macro}{\DSMfullcite}
+% \begin{macro}{\DSMshortcite}
+% \begin{macro}{\DSMciteNP}
+% \begin{macro}{\DSMfullciteNP}
+% \begin{macro}{\DSMshortciteNP}
+% The \emph{DSM} citation commands follow the same names and syntax as the
+% ordinary citation commands, except that ``|DSM|'' is inserted in
+% the command names.
+% \begin{macrocode}
+\newcommand{\DSMciteA}[1]{%
+ \@for\@citeb:=#1\do{%
+ \edef\@citeb{\expandafter\@firstofone\@citeb}%
+ \@ifundefined{flag@\@citeb\APAC@extra@b@citeb}%
+ {\DSMfullciteA{#1}}%
+ {\DSMshortciteA{#1}}%
+ }%
+}
+\newcommand{\DSMfullciteA}[1]{%
+% \end{macrocode}
+% \emph{Full Title} (edition; \emph{Short Title}; author, year)
+% \begin{macrocode}
+ \APACcitebtitle{\DSMfulltitle{#1}}
+ \BBOP
+ \DSMedition{#1};
+ \APACcitebtitle{\DSMshorttitle{#1}};
+ \citeNP{#1}%
+ \BBCP
+}
+\newcommand{\DSMshortciteA}[1]{%
+% \end{macrocode}
+% \emph{Short Title}
+% \begin{macrocode}
+ \APACcitebtitle{\DSMshorttitle{#1}}%
+}
+\newcommand{\DSMcite}[1]{%
+ \@for\@citeb:=#1\do{%
+ \edef\@citeb{\expandafter\@firstofone\@citeb}%
+ \@ifundefined{flag@\@citeb\APAC@extra@b@citeb}%
+ {\DSMfullcite{#1}}%
+ {\DSMshortcite{#1}}%
+ }%
+}
+\newcommand{\DSMfullcite}[1]{%
+ \BBOP
+ \APACcitebtitle{\DSMfulltitle{#1}},
+ \DSMedition{#1};
+ \APACcitebtitle{\DSMshorttitle{#1}};
+ \citeNP{#1}%
+ \BBCP
+}
+\newcommand{\DSMshortcite}[1]{%
+ \BBOP\APACcitebtitle{\DSMshorttitle{#1}}\BBCP
+}
+\newcommand{\DSMciteNP}[1]{%
+ \@for\@citeb:=#1\do{%
+ \edef\@citeb{\expandafter\@firstofone\@citeb}%
+ \@ifundefined{flag@\@citeb\APAC@extra@b@citeb}%
+ {\DSMfullciteNP{#1}}%
+ {\DSMshortciteNP{#1}}%
+ }%
+}
+\newcommand{\DSMfullciteNP}[1]{%
+ \APACcitebtitle{\DSMfulltitle{#1}},
+ \DSMedition{#1};
+ \APACcitebtitle{\DSMshorttitle{#1}};
+ \citeNP{#1}%
+}
+\newcommand{\DSMshortciteNP}[1]{%
+ \APACcitebtitle{\DSMshorttitle{#1}}%
+}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \subsection{Document-specific definitions}
+%
+% \begin{macro}{\SetupAPACdoc}
+% These are some commands that are used in the \pkg{apacite} manual,
+% but are presumably not especially relevant for users.
+%
+% \begin{macro}{\MiKTeX}
+% \begin{macro}{\BibTeX}
+% \begin{macro}{\MakeIndex}
+% \begin{macro}{\latextohtml}
+% \begin{macro}{\LaTeXrtf}
+% \begin{macro}{\TeXht}
+% \begin{macro}{\Perl}
+% Names of programs and packages.
+% \begin{macrocode}
+\newcommand{\SetupAPACdoc}{%
+ \newcommand{\MiKTeX}{MiK\TeX}
+ \@ifundefined{BibTeX}{%
+ \def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
+ T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}% from bibtex.web
+ }{}
+ \newcommand{\MakeIndex}{\textit{MakeIndex}}
+ \newcommand{\latextohtml}{\textup{\LaTeX2\texttt{HTML}}}% from html.sty
+ \newcommand{\LaTeXrtf}{\textup{\LaTeX2RTF}}%
+ \newcommand{\TeXht}{\textup{\TeX4ht}}%
+ \newcommand{\Perl}{\textsl{Perl}}%
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\EM}
+% My comments accompanying the examples. To be removed with better
+% source code documentation.
+% \begin{macrocode}
+ \newcommand{\EM}{\ensuremath{\triangleright\quad}}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\APACversiondate}
+% The date of a version of \pkg{apacite}. Makes it easy to search the
+% document for these dates. The \cmd{\relax} is a safety measure
+% (probably not needed), which ensures that the square brackets are
+% never interpreted as an optional argument.
+% \begin{macrocode}
+ \newcommand{\APACversiondate}[1]{\relax [##1]}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\LC}
+% \begin{macro}{\X}
+% \begin{macro}{\Y}
+% \begin{macro}{\A}
+% Some symbols that are used in the \pkg{apacite} manual.
+% \begin{macrocode}
+ \newcommand{\LC}{\mbox{${}^{\dag}$}}% \LaTeX{} Companion
+ \newcommand{\X}{\ensuremath{\times}}% for one table
+ \newcommand{\Y}{\ensuremath{c}}% for one table
+ \newcommand{\A}{\ensuremath{a}}% for one table
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\pkg}
+% \begin{macro}{\fname}
+% \begin{macro}{\fieldname}
+% \begin{macro}{\entryname}
+% \begin{macro}{\pkgoption}
+% \begin{macro}{\envirname}
+% Formatting of package names, options, etc.
+% \begin{macrocode}
+ \newcommand{\pkg}[1]{\textsf{##1}}% package name
+ \newcommand{\fname}[1]{\texttt{##1}}% file name
+ \newcommand{\fieldname}[1]{\texttt{##1}}% field name
+ \newcommand{\entryname}[1]{\texttt{##1}}% entry type name
+ \newcommand{\pkgoption}[1]{\texttt{##1}}% package option
+ \newcommand{\envirname}[1]{\texttt{##1}}% environment name
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\cmd}
+% \begin{macro}{\bs}
+% \begin{macro}{\opt}
+% \begin{macro}{\cmdtwo}
+% \begin{macro}{\cmdthree}
+% \begin{macro}{\cmdthreepre}
+% \begin{macro}{\cmdthreealt}
+% \begin{macro}{\cmdfour}
+% Formatting of macros.
+% \begin{macrocode}
+ \AtBeginDocument{%
+ \@ifundefined{cmd}{%
+ \newcommand{\cmd}[1]{\texttt{\string##1}}% command, incl. `\'
+ }{}%
+ }
+% \end{macrocode}
+% Some trickery with backslashes and |@| signs.
+% \begin{macrocode}
+ \newcommand{\bs}{{\ttfamily \@backslashchar}}% backslash
+ \newcommand{\opt}[1]{$\langle${\itshape ##1}$\rangle$}% generic text
+% \end{macrocode}
+% For \cmdtwo{nocite}{keys}:
+% \begin{macrocode}
+ \newcommand{\cmdtwo}[2]{{\mdseries\bs\texttt{##1\{}\opt{##2}%
+ \texttt{\}}}}%
+% \end{macrocode}
+% For \cmdthree{cite}{post}{keys}:
+% \begin{macrocode}
+ \newcommand{\cmdthree}[3]{{\mdseries\bs\texttt{##1[}\opt{##2}%
+ \texttt{]\{}\opt{##3}%
+ \texttt{\}}}}%
+% \end{macrocode}
+% For \cmdthreepre{cite}{pre}{keys}:
+% \begin{macrocode}
+ \newcommand{\cmdthreepre}[3]{{\mdseries\bs\texttt{##1<}\opt{##2}%
+ \texttt{>\{}\opt{##3}%
+ \texttt{\}}}}%
+% \end{macrocode}
+% For \cmdthreealt{usepackage}{options}{apacite}:
+% \begin{macrocode}
+ \newcommand{\cmdthreealt}[3]{{\mdseries\bs\texttt{##1[}\opt{##2}%
+ \texttt{]\{##3\}}}}%
+% \end{macrocode}
+% For all \cmdfour{cite}{pre}{post}{keys} variants:
+% \begin{macrocode}
+ \newcommand{\cmdfour}[4]{{\mdseries\bs\texttt{##1<}\opt{##2}%
+ \texttt{>[}\opt{##3}%
+ \texttt{]\{}\opt{##4}%
+ \texttt{\}}}}%
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\flqq}
+% \begin{macro}{\frqq}
+% \begin{macro}{\simpleguillemots}
+% It is not clear where and how the \cmd{\flqq} command is defined, so
+% provide an escape if it is not available. Use definitions from
+% \fname{fguill.sty} included here to avoid requiring a package that
+% may not be available. This can probably be improved by using
+% \cmd{\providecommand}.
+% \begin{macrocode}
+ \AtBeginDocument{%
+ \@ifundefined{flqq}{%
+ \newcommand{\flqq}{%
+ {\fontencoding{T1}\fontfamily{cmr}\selectfont\symbol{19}}}%
+ \newcommand{\frqq}{%
+ {\fontencoding{T1}\fontfamily{cmr}\selectfont\symbol{20}}}%
+ }{}%
+ }%
+ \newcommand{\simpleguillemots}{%
+ \renewcommand{\flqq}{\raisebox{2.5pt}{%
+ \tiny{\ensuremath{\mathord{<\!\!<}}}}}%
+ \renewcommand{\frqq}{\raisebox{2.5pt}{%
+ \tiny{\ensuremath{\mathord{>\!\!>}}}}}%
+ }%
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\APACdocPageLayout}
+% The basic page setup of the \pkg{apacite} manual.
+% \begin{macrocode}
+ \newcommand{\APACdocPageLayout}{%
+ \normalsize
+ \let\oldhoffset\hoffset
+ \let\oldvoffset\voffset
+ \let\oldoddsidemargin\oddsidemargin
+ \let\oldevensidemargin\evensidemargin
+ \let\oldtopmargin\topmargin
+ \let\oldheadheight\headheight
+ \let\oldheadsep\headsep
+ \let\oldtextheight\textheight
+ \let\oldfootskip\footskip
+ \let\oldtextwidth\textwidth
+ \let\oldlinewidth\linewidth
+ \let\oldmarginparsep\marginparsep
+ \let\oldmarginparwidth\marginparwidth
+ \let\oldmarginparpush\marginparpush
+ %%
+ %% \setlength{\hoffset}{-1in} % top-left reference point is
+ \setlength{\voffset}{-1in} % the top-left corner of the page
+ %% \setlength{\oddsidemargin}{1.3in}
+ %% \setlength{\evensidemargin}{1.3in}
+ \setlength{\topmargin}{1.35in}
+ %% %% \setlength{\headheight}{\baselineskip}
+ \setlength{\headheight}{0.12in}
+ \setlength{\headsep}{0.24in}
+ \setlength{\textheight}{7.9in}
+ \setlength{\footskip}{30pt}
+ %% \setlength{\textwidth}{5.9in}
+ %% \setlength{\linewidth}{\textwidth}
+ %% \setlength{\marginparsep}{0pt}
+ %% \setlength{\marginparwidth}{0pt}
+ %% \setlength{\marginparpush}{0pt}
+ }
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\APACcodePageLayout}
+% The page setup of the source code documentation part of the
+% \pkg{apacite} manual.
+% \begin{macrocode}
+ \newcommand{\APACcodePageLayout}{%
+ \let\hoffset\oldhoffset
+ \let\oddsidemargin\oldoddsidemargin
+ \let\evensidemargin\oldevensidemargin
+ \let\textwidth\oldtextwidth
+ \let\linewidth\oldlinewidth
+ \let\marginparsep\oldmarginparsep
+ \let\marginparwidth\oldmarginparwidth
+ \let\marginparpush\oldmarginparpush
+ }
+}
+%%
+%</docpkg>
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+%
+% \section{Language definition files}
+%
+% This section describes the code for the language-specific files
+% supplied with \pkg{apacite}.
+%
+% \subsection{\fname{english.apc}}
+%
+% This file redefines the language-specific elements of \pkg{apacite}
+% for the English language and its ``dialects'' in \pkg{babel}
+% terminology.
+%
+% \begin{macrocode}
+%<*english>
+%%
+%% english.apc - english version of apacite elements
+%% Written by Erik Meijer
+%%
+% \end{macrocode}
+% A fancy way to store and restore the category code of the |@| sign,
+% per Heiko Oberdiek.
+% \begin{macrocode}
+\edef\APACrestoreAtCode{%
+ \catcode`@=\the\catcode`@\relax
+}%
+\makeatletter
+\renewcommand{\onemaskedcitationmsg}[1]{%
+ \emph{(#1\ citation removed for masked review)}}%
+\renewcommand{\maskedcitationsmsg}[1]{%
+ \emph{(#1\ citations removed for masked review)}}%
+\renewcommand{\refname}{References}% Name of ref. list if it's a section.
+\renewcommand{\bibname}{References}% Name of ref. list if it's a chapter.
+\renewcommand{\authorindexname}{Author Index}% Name of Author Index
+%%
+%% A note before the references if a meta-analysis is reported.
+\renewcommand{\APACmetaprenote}{%
+ References marked with an asterisk indicate studies
+ included in the meta-analysis.}%
+%%
+%% Commands for specific types of @misc entries.
+\renewcommand{\bibmessage}{Msg}%
+\renewcommand{\bibcomputerprogram}{Computer program}%
+\renewcommand{\bibcomputerprogrammanual}{Computer program manual}%
+\renewcommand{\bibcomputerprogramandmanual}{Computer program and manual}%
+\renewcommand{\bibcomputersoftware}{Computer software}%
+\renewcommand{\bibcomputersoftwaremanual}{Computer software manual}%
+\renewcommand{\bibcomputersoftwareandmanual}{Computer software and manual}%
+\renewcommand{\bibprogramminglanguage}{Programming language}%
+%%
+%% Other labels
+\renewcommand{\bibnodate}{n.d.\hbox{}}% % ``no date''
+\renewcommand{\BIP}{in press}% % ``in press''
+\renewcommand{\BOthers}[1]{et al.\hbox{}}% ``and others''
+\renewcommand{\BOthersPeriod}[1]{et al.\hbox{}}% ``and others'' with a period
+\renewcommand{\BIn}{In}% % for ``In '' editor...
+\renewcommand{\Bby}{by}% % for ``by '' editor... (in reprints)
+\renewcommand{\BED}{Ed.\hbox{}}% % editor
+\renewcommand{\BEDS}{Eds.\hbox{}}% % editors
+\renewcommand{\BTRANS}{Trans.\hbox{}}% % translator
+\renewcommand{\BTRANSS}{Trans.\hbox{}}% % translators
+\renewcommand{\BTRANSL}{trans.\hbox{}}% % translation, for the year field
+\renewcommand{\BCHAIR}{Chair}% % chair of symposium
+\renewcommand{\BCHAIRS}{Chairs}% % chairs
+\renewcommand{\BVOL}{Vol.\hbox{}}% % volume
+\renewcommand{\BVOLS}{Vols.\hbox{}}% % volumes
+\renewcommand{\BNUM}{No.\hbox{}}% % number
+\renewcommand{\BNUMS}{Nos.\hbox{}}% % numbers
+\renewcommand{\BEd}{ed.\hbox{}}% % edition
+\renewcommand{\BCHAP}{chap.\hbox{}}% % chapter
+\renewcommand{\BCHAPS}{chap.\hbox{}}% % chapters
+\renewcommand{\BPG}{p.\hbox{}}% % page
+\renewcommand{\BPGS}{pp.\hbox{}}% % pages
+%% Default technical report type name.
+\renewcommand{\BTR}{Tech.\ Rep.\hbox{}}
+%% Default PhD thesis type name.
+\renewcommand{\BPhD}{Doctoral dissertation}
+%% Default unpublished PhD thesis type name.
+\renewcommand{\BUPhD}{Unpublished doctoral dissertation}
+%% Default master's thesis type name.
+\renewcommand{\BMTh}{Master's thesis}
+%% Default unpublished master's thesis type name.
+\renewcommand{\BUMTh}{Unpublished master's thesis}
+%%
+\renewcommand{\BAuthor}{Author}% ``Author'' if publisher = author
+\renewcommand{\BOWP}{Original work published}%
+\renewcommand{\BREPR}{Reprinted from}%
+\renewcommand{\BAvailFrom}{Available from\ }% Websites; note the space.
+%% The argument is the date on which it was last checked.
+\renewcommand{\BRetrieved}[1]{Retrieved {#1}, from\ }% Websites; note the space.
+\renewcommand{\BRetrievedFrom}{Retrieved from\ }% Websites; note the space.
+\renewcommand{\BMsgPostedTo}{Message posted to\ }% Messages; note the space.
+%%
+%% Punctuation
+\renewcommand{\BBOP}{(}% opening parenthesis
+\renewcommand{\BBCP}{)}% closing parenthesis
+\renewcommand{\BBOQ}{}% opening quote for article title
+\renewcommand{\BBCQ}{}% closing quote for article title
+\renewcommand{\BBAA}{\&}% between authors in parenthetical cites and ref. list
+\renewcommand{\BBAB}{and}% between authors in in-text citation
+\renewcommand{\BAnd}{\&}% for ``Ed. \& Trans.'' in ref. list
+\DeclareRobustCommand{\BPBI}{.~}% Period between initials
+\DeclareRobustCommand{\BHBI}{.-}% Hyphen between initials
+\renewcommand{\BAP}{ }% after prefix, before first citation
+\renewcommand{\BBAY}{, }% between author(s) and year
+\renewcommand{\BBYY}{, }% between years of multiple citations with same author
+\renewcommand{\BBC}{; }% between cites
+\renewcommand{\BBN}{, }% before note
+\renewcommand{\BCBT}{,}% comma between authors in ref. list when no. of
+ %% authors = 2
+\renewcommand{\BCBL}{,}% comma before last author when no. of authors > 2
+%% Remove excess space with the natbibapa option
+\if@APAC@natbib@apa
+ \renewcommand{\BBAY}{,}%
+ \renewcommand{\BBYY}{,}%
+ \renewcommand{\BBC}{;}%
+\fi
+%%
+%% Date formatting
+\renewcommand{\APACmonth}[1]{\ifcase #1\or January\or February\or March\or
+ April\or May\or June\or July\or August\or September\or October\or
+ November\or December\or Winter\or Spring\or Summer\or Fall\else
+ {#1}\fi}%
+\renewcommand{\APACrefYearMonthDay}[3]{%
+ {\BBOP}{#1}% year (+ addendum); should not be empty
+ \ifx\@empty#2\@empty
+ \ifx\@empty#3\@empty
+ \else
+ \unskip, {#3}% day
+ \fi
+ \else
+ \unskip, {#2}% month
+ \ifx\@empty#3\@empty
+ \else
+ \unskip~{#3}% day
+ \fi
+ \fi
+ {\BBCP}% closing parenthesis
+}%
+%% Some macros that transform a number (say, `2') to an ordinal one (`2nd')
+\renewcommand{\PrintOrdinal}[1]{%
+ \afterassignment\print@ordinal
+ \count@ 0#1\relax\@nil
+}%
+\def\print@ordinal#1#2\@nil{%
+ \ifx\relax#1\relax
+ \ifnum\count@>\z@
+ \CardinalNumeric\count@
+ \else
+ ??th%
+ \fi
+ \else
+ \ifnum \count@>\z@ \number\count@ \fi
+ #1#2\relax
+ \fi
+}%
+\renewcommand{\CardinalNumeric}[1]{%
+ \number#1\relax
+ \if
+ \ifnum#1<14
+ \ifnum#1>\thr@@ T\else F\fi
+ \else
+ F%
+ \fi
+ T%
+ th%
+ \else
+ \@xp\keep@last@digit\@xp#1\number#1\relax
+ \ifcase#1th\or st\or nd\or rd\else th\fi
+ \fi
+}%
+% \end{macrocode}
+% Differences between different versions of English, in particular British
+% and Australian vs.\ the default American.
+% \begin{macrocode}
+\def\APAC@tempb{US}%
+\edef\APAC@tempa{\string UKenglish}%
+\ifx\languagename\APAC@tempa
+ \def\APAC@tempb{UK}%
+\fi
+\edef\APAC@tempa{\string british}%
+\ifx\languagename\APAC@tempa
+ \def\APAC@tempb{UK}%
+\fi
+\def\APAC@tempa{UK}
+\ifx\APAC@tempa\APAC@tempb
+ \renewcommand{\BCBT}{}% no comma before `\&' in British
+ \renewcommand{\BCBL}{}% no comma before `\&' in British
+% \end{macrocode}
+% According to \pkg{babel}'s \fname{english.dtx}, in UK English, the date
+% is of the form 1st~January, although I thought January~1st was more common.
+% \begin{macrocode}
+ \renewcommand{\APACrefYearMonthDay}[3]{%
+ {\BBOP}{#1}% year (+ addendum); should not be empty
+ \ifx\@empty#3\@empty
+ \ifx\@empty#2\@empty
+ \else
+ \unskip, {#2}% month
+ \fi
+ \else
+ \unskip, {\PrintOrdinal{#3}}% day
+ \ifx\@empty#2\@empty
+ \else
+ \unskip~{#2}% month
+ \fi
+ \fi
+ {\BBCP}% closing parenthesis
+ }%
+\fi
+%%
+\edef\APAC@tempa{\string australian}%
+\ifx\languagename\APAC@tempa
+ \def\APAC@tempb{AU}%
+\fi
+% \end{macrocode}
+% New Zealand is equivalent to Australian for our purposes.
+% \begin{macrocode}
+\edef\APAC@tempa{\string newzealand}%
+\ifx\languagename\APAC@tempa
+ \def\APAC@tempb{AU}%
+\fi
+\def\APAC@tempa{AU}
+\ifx\APAC@tempa\APAC@tempb
+ \renewcommand{\BCBT}{}% no comma before `\&' in AU/NZ (?)
+ \renewcommand{\BCBL}{}% no comma before `\&' in AU/NZ (?)
+% \end{macrocode}
+% According to \pkg{babel}'s \fname{english.dtx}, In Australian and New
+% Zealand, the date is of the form 1~January.
+% \begin{macrocode}
+ \renewcommand{\APACrefYearMonthDay}[3]{%
+ {\BBOP}{#1}% year (+ addendum); should not be empty
+ \ifx\@empty#3\@empty
+ \ifx\@empty#2\@empty
+ \else
+ \unskip, {#2}% month
+ \fi
+ \else
+ \unskip, {#3}% day
+ \ifx\@empty#2\@empty
+ \else
+ \unskip~{#2}% month
+ \fi
+ \fi
+ {\BBCP}% closing parenthesis
+ }%
+\fi
+% \end{macrocode}
+% Clear up some macros that are no longer needed.
+% \begin{macrocode}
+\let\APAC@tempa\@undefined
+\let\APAC@tempb\@undefined
+% \end{macrocode}
+% Restore category code of |@| sign.
+% \begin{macrocode}
+\APACrestoreAtCode
+%</english>
+% \end{macrocode}
+%
+%
+%
+% \subsection{\fname{dutch.apc}}
+%
+% This file redefines the language-specific elements of \pkg{apacite}
+% for the Dutch language. The \pkg{babel} package considers Afrikaans
+% as a ``dialect'' of Dutch, but my limited knowledge of Afrikaans
+% suggests that most words are spelt differently (though are phonetically
+% similar), and many other words are simply different. So I doubt whether
+% this file can be directly applied to Afrikaans.
+%
+% For compiling the translated elements, the following sources were
+% used:
+% \begin{enumerate}
+% \item Instructions for the Dutch psychology journal ``De Psycholoog''
+% \cite{DePsych01}; indicated below as ``DP''.
+% \item Instructions for the Dutch psychology journal ``Nederlands Tijdschrift
+% voor de Psychologie en haar Grensgebieden'' \cite{NTPG04};
+% indicated below as ``NTPG''.
+% \item Instructions from the well-known book
+% \APACcitebtitle{Schrijfwijzer} \cite[pp.~404--410]{Renk02};
+% indicated below as ``SW''.
+% \item The previous three all state that their rules are adapted from the
+% APA manual. For translations that are not explicitly mentioned in
+% these sources, I used the extensive reference list from \citeA{Schr04}.
+% \item Finally, I consulted the \emph{Van Dale} English-Dutch dictionary
+% \cite{VanDale89}.
+% \end{enumerate}
+%
+% \begin{macrocode}
+%<*dutch>
+%%
+%% dutch.apc - dutch translation of apacite elements
+%% Written by Erik Meijer
+%%
+%% DP = De Psycholoog
+%% NTPG = Nederlands Tijdschrift voor de Psychologie en haar Grensgebieden
+%% SW = Schrijfwijzer
+%%
+% \end{macrocode}
+% A fancy way to store and restore the category code of the |@| sign,
+% per Heiko Oberdiek.
+% \begin{macrocode}
+\edef\APACrestoreAtCode{%
+ \catcode`@=\the\catcode`@\relax
+}%
+\makeatletter
+%%
+% \end{macrocode}
+%
+% Name of the reference list according to DP and NTPG.
+% SW gives the following general names:
+% \begin{itemize}
+% \item
+% ``Literatuuropgave'' [literally approx. ``Literature specification'']
+% \item
+% ``Literatuurlijst'' [literally ``Literature list'']
+% \end{itemize}
+% For more specific applications, SW gives the following names:
+% \begin{itemize}
+% \item
+% ``Bibliografie'' [``Bibliography'', ``a more or less complete survey
+% of publications in a certain area'']
+% \item
+% ``Geraadpleegde literatuur'' [``Consulted literature'']
+% \item
+% ``Aangehaalde literatuur'' [``Referenced literature'']
+% \end{itemize}
+%
+% \begin{macrocode}
+\renewcommand{\onemaskedcitationmsg}[1]{%
+ \emph{(#1\ citation removed for masked review)}}% !!! CHANGE
+\renewcommand{\maskedcitationsmsg}[1]{%
+ \emph{(#1\ citations removed for masked review)}}% !!! CHANGE
+\renewcommand{\refname}{Literatuur}% Name of ref. list if it's a section.
+\renewcommand{\bibname}{Literatuur}% Name of ref. list if it's a chapter.
+\renewcommand{\authorindexname}{Auteursindex}% Name of author index
+%%
+%% A note before the references if a meta-analysis is reported.
+%%
+\renewcommand{\APACmetaprenote}{%
+ Met een asterisk gemarkeerde referenties betreffen studies die in de
+ meta-analyse zijn gebruikt.}%
+%%
+%% Commands for specific types of @misc entries.
+\renewcommand{\bibmessage}{Bericht}%
+\renewcommand{\bibcomputerprogram}{Computerprogramma}%
+\renewcommand{\bibcomputerprogrammanual}{Handleiding van computerprogramma}%
+\renewcommand{\bibcomputerprogramandmanual}{Computerprogramma en handleiding}%
+\renewcommand{\bibcomputersoftware}{Computersoftware}%
+\renewcommand{\bibcomputersoftwaremanual}{Handleiding van computersoftware}%
+\renewcommand{\bibcomputersoftwareandmanual}{Computersoftware en handleiding}%
+\renewcommand{\bibprogramminglanguage}{Programmeertaal}%
+%%
+%% Other labels
+\renewcommand{\bibnodate}{z.~j.\hbox{}}% [SW] (``zonder jaartal'')
+\renewcommand{\BIP}{te verschijnen}% % [SW]
+\renewcommand{\BOthers}[1]{et al.\hbox{}}% % [DP]
+\renewcommand{\BOthersPeriod}[1]{et al.\hbox{}}% % [DP]
+%% NTPG requires the following, SW allows both variants:
+%% \renewcommand{\BOthers}[1]{e.~a.\hbox{}}% % [NTPG]
+%% \renewcommand{\BOthersPeriod}[1]{e.~a.\hbox{}}% % [NTPG]
+%%
+\renewcommand{\BIn}{In}% % for ``In '' editor...
+\renewcommand{\Bby}{door}% % for ``by '' editor... (in reprints)
+% \end{macrocode}
+%
+% ``Editor(s)'' is almost impossible to get right in Dutch, because SW
+% and DP require the translation of ``editor(s)'' to be dependent on
+% the language in which the referenced work is written:
+% \begin{itemize}
+% \item
+% ``Red.'' (or ``red.'') for referenced works in Dutch
+% \item
+% ``Ed.''/``Eds.'' for referenced works in English
+% \item
+% ``Hrsg.'' for referenced works in German
+% \item
+% ``edt.'' for referenced works in French
+% \end{itemize}
+% NTPG does not give an explicit rule for this, but only an example
+% in which an English work is referenced and ``Ed.'' is used.
+%
+% For the moment, I think it makes most sense to give the Dutch versions here:
+% \begin{macrocode}
+\renewcommand{\BED}{red.\hbox{}}% % [DP] (SW gives ``Red.'')
+\renewcommand{\BEDS}{red.\hbox{}}% % [DP] (SW gives ``Red.'')
+% \end{macrocode}
+%
+% Translators should not be mentioned according to DP.
+% NTPG does not explain how to format this.
+% SW gives a completely different format: ``Vertaald door:''
+% [``Translated by:''] followed by the name of the translator, or if the
+% translator is unknown: ``Vertaling van:'' [``Translation of:'']
+% followed by the original title. This is much too complicated, so I'll
+% choose a simple alternative.
+% \begin{macrocode}
+\renewcommand{\BTRANS}{vert.\hbox{}}% translator
+\renewcommand{\BTRANSS}{vert.\hbox{}}% translators
+\renewcommand{\BTRANSL}{vert.\hbox{}}% translation, for the year field
+%%
+\renewcommand{\BCHAIR}{voorz.\hbox{}}% chair of symposium
+\renewcommand{\BCHAIRS}{voorz.\hbox{}}% chairs
+% \end{macrocode}
+%
+% ``Volume'' according to SW. NTPG gives an example with ``Vol.'' but this is
+% presumably dependent on the language of the referenced work as well.
+% \begin{macrocode}
+\renewcommand{\BVOL}{Dl.\hbox{}}% volume [SW]
+\renewcommand{\BVOLS}{Dl.\hbox{}}% volumes [SW]
+\renewcommand{\BNUM}{nr.\hbox{}}% number [SW]
+\renewcommand{\BNUMS}{nr.\hbox{}}% numbers [SW]
+\renewcommand{\BEd}{dr.\hbox{}}% edition [SW]
+\renewcommand{\BCHAP}{hfdst.\hbox{}}% chapter
+\renewcommand{\BCHAPS}{hfdst.\hbox{}}% chapters
+\renewcommand{\BPG}{p.\hbox{}}% page
+\renewcommand{\BPGS}{pp.\hbox{}}% pages [SW]. DP gives ``p.'', NTPG both.
+% \end{macrocode}
+% Literally translating ``Tech.'' as ``Technisch'' does not make sense.
+% \begin{macrocode}
+%% Default technical report type name.
+\renewcommand{\BTR}{Rapport}%
+% \end{macrocode}
+% There is no Dutch ``DAI'' and the distinction between ``published'' and
+% ``unpublished'' PhD theses would generally be interpreted as ``published as
+% a book with an official publisher'' vs.\ ``privately published''. All PhD
+% theses in the Netherlands are required to be published with an ISBN number.
+% Therefore, in my view it is better to use the same term for ``published''
+% and ``unpublished''. (\citeNP{Schr04} use ``dissertatie''.)
+% \begin{macrocode}
+%% Default PhD thesis type name.
+\renewcommand{\BUPhD}{Academisch proefschrift}% ``published''
+\renewcommand{\BPhD}{Academisch proefschrift}% ``unpublished''
+% \end{macrocode}
+% There is no official forum to publish abstracts of master's theses either,
+% but, unlike PhD theses, they are (generally) unpublished.
+% The term used here refers to the Dutch educational system until ca. 2003.
+% Since ca. 2004, universities are gradually converting to a
+% bachelor--master system, so it's likely that this term will have to be
+% adapted in the near future.
+% \begin{macrocode}
+%% Default master's thesis type name.
+\renewcommand{\BMTh}{Doctoraalscriptie}% ``published''
+\renewcommand{\BUMTh}{Doctoraalscriptie}% ``unpublished''
+%%
+\renewcommand{\BAuthor}{Auteur}% ``Author'' if publisher = author
+% \end{macrocode}
+% From DP. They also require the original title after the
+% \fieldname{originalyear}. This is not implemented here.
+% \begin{macrocode}
+\renewcommand{\BOWP}{Oorspronkelijke editie}% Original work published
+\renewcommand{\BREPR}{Overgenomen uit}% Reprinted from
+%%
+%% THE NEXT FOUR ARE MY OWN TRANSLATIONS. CHECK!!!
+%% Websites and newsgroups; note the spaces.
+\renewcommand{\BAvailFrom}{Verkrijgbaar van\ }%
+%% The argument is the date on which it was last checked.
+\renewcommand{\BRetrieved}[1]{Op {#1} verkregen van\ }%
+\renewcommand{\BRetrievedFrom}{Verkregen van\ }%
+\renewcommand{\BMsgPostedTo}{Bericht geplaatst op\ }%
+%%
+%% Punctuation
+\renewcommand{\BBOP}{(}% opening parenthesis
+\renewcommand{\BBCP}{)}% closing parenthesis
+\renewcommand{\BBOQ}{}% opening quote for article title
+\renewcommand{\BBCQ}{}% closing quote for article title
+\renewcommand{\BBAA}{\&}% between authors in parenthetical cites and ref. list
+\renewcommand{\BBAB}{en}% between authors in in-text citation
+\renewcommand{\BAnd}{\&}% for ``Ed. \& Trans.'' in ref. list
+\DeclareRobustCommand{\BPBI}{.~}% Period between initials
+\DeclareRobustCommand{\BHBI}{.-}% Hyphen between initials
+\renewcommand{\BAP}{ }% after prefix, before first citation
+\renewcommand{\BBAY}{, }% between author(s) and year
+\renewcommand{\BBYY}{, }% between years of multiple citations with same author
+\renewcommand{\BBC}{; }% between cites
+\renewcommand{\BBN}{, }% before note
+%%
+%% No commas according to DP and SW. NTPG uses the US/APA comma.
+\renewcommand{\BCBT}{}% comma between authors in ref. list when no. of
+ %% authors = 2
+\renewcommand{\BCBL}{}% comma before last author when no. of authors > 2
+%% Remove excess space with the natbibapa option
+\if@APAC@natbib@apa
+ \renewcommand{\BBAY}{,}%
+ \renewcommand{\BBYY}{,}%
+ \renewcommand{\BBC}{;}%
+\fi
+%%
+%% Date formatting
+\renewcommand{\APACmonth}[1]{\ifcase #1\or januari\or februari\or maart\or
+ april\or mei\or juni\or juli\or augustus\or september\or oktober\or
+ november\or december\or winter\or lente\or zomer\or herfst\else
+ {#1}\fi}%
+\renewcommand{\APACrefYearMonthDay}[3]{%
+ {\BBOP}{#1}% year (+ addendum); should not be empty
+ \ifx\@empty#3\@empty
+ \ifx\@empty#2\@empty
+ \else
+ \unskip, {#2}% month
+ \fi
+ \else
+ \unskip, {#3}% day
+ \ifx\@empty#2\@empty
+ \else
+ \unskip~{#2}% month
+ \fi
+ \fi
+ {\BBCP}% closing parenthesis
+}%
+%% Some macros that transform a number (say, `2') to a ordinal one (`2nd')
+\renewcommand{\PrintOrdinal}[1]{%
+ \afterassignment\print@ordinal
+ \count@ 0#1\relax\@nil
+}%
+\def\print@ordinal#1#2\@nil{%
+ \ifx\relax#1\relax
+ \ifnum\count@>\z@
+ \CardinalNumeric\count@
+ \else
+ ??e%
+ \fi
+ \else
+ \ifnum \count@>\z@ \number\count@ \fi
+ #1#2\relax
+ \fi
+}%
+% \end{macrocode}
+% Dutch ordinal numbers are always obtained by simply putting an `e' after
+% the number, so this (and perhaps the code above) can be significantly
+% simplified. However, because I have trouble understanding this code (from
+% the \pkg{amsrefs} package) and experimenting did not give the expected
+% results, I won't mess with the code too much and stay close to the
+% English code.
+% \begin{macrocode}
+\renewcommand{\CardinalNumeric}[1]{%
+ \number#1\relax
+ \if
+ \ifnum#1<14
+ \ifnum#1>\thr@@ T\else F\fi
+ \else
+ F%
+ \fi
+ T%
+ e%
+ \else
+ \@xp\keep@last@digit\@xp#1\number#1\relax
+ \ifcase#1e\else e\fi
+ \fi
+}%
+% \end{macrocode}
+% Restore category code of |@| sign.
+% \begin{macrocode}
+\APACrestoreAtCode
+%</dutch>
+% \end{macrocode}
+%
+%
+%
+% \subsection{\fname{finnish.apc}}
+%
+% This file redefines the language-specific elements of \pkg{apacite}
+% for the Finnish language. Based on \citeA[Appendix~E]{KLO05}.
+%
+% \begin{macrocode}
+%<*finnish>
+%%
+%% finnish.apc - finnish version of apacite elements
+%% Written by Kari Pyykk\"o, with some minor edits by Erik Meijer.
+%%
+% \end{macrocode}
+% A fancy way to store and restore the category code of the |@| sign,
+% per Heiko Oberdiek.
+% \begin{macrocode}
+\edef\APACrestoreAtCode{%
+ \catcode`@=\the\catcode`@\relax
+}%
+\makeatletter
+\renewcommand{\onemaskedcitationmsg}[1]{%
+ \emph{(#1\ citation removed for masked review)}}% !!! CHANGE
+\renewcommand{\maskedcitationsmsg}[1]{%
+ \emph{(#1\ citations removed for masked review)}}% !!! CHANGE
+\renewcommand{\refname}{Viitteet}% Name of ref. list if it's a section.
+\renewcommand{\bibname}{Viitteet}% Name of ref. list if it's a chapter.
+\renewcommand{\authorindexname}{Tekij\"ahakemisto}% Name of Author Index
+%%
+%% A note before the references if a meta-analysis is reported.
+\renewcommand{\APACmetaprenote}{%
+ Viitteet merkitty t\"ahtimerkeill\"a osoittaen opintojen
+ sis\"altymist\"a meta-analyysiin.}%
+%%
+%% Commands for specific types of @misc entries.
+%%
+%% Msg
+\renewcommand{\bibmessage}{Sanoma}%
+%%
+%% Computer program
+\renewcommand{\bibcomputerprogram}{Tietokoneohjelma}%
+%%
+%% Computer program manual
+\renewcommand{\bibcomputerprogrammanual}{Tietokoneohjelman k\"asikirja}%
+%%
+%% Computer program and manual
+\renewcommand{\bibcomputerprogramandmanual}{Tietokoneohjelma ja k\"asikirja}%
+%%
+%% Computer software
+\renewcommand{\bibcomputersoftware}{Ohjelmisto}%
+%%
+%% Computer software manual
+\renewcommand{\bibcomputersoftwaremanual}{Ohjelmiston k\"asikirja}%
+%%
+%% Computer software and manual
+\renewcommand{\bibcomputersoftwareandmanual}{Ohjelmisto ja k\"asikirja}%
+%%
+%% Programming language
+\renewcommand{\bibprogramminglanguage}{Ohjelmointikieli}%
+%%
+%%
+%% Other labels
+%%
+%% n.d.
+\renewcommand{\bibnodate}{s.a.\hbox{}}% ``no date'', ``sine anno''
+%%
+%% in press
+\renewcommand{\BIP}{painossa}% % used as year for in-press citations
+%%
+%% et al.: ``and others'', not necessarily with a period
+\renewcommand{\BOthers}[1]{et al.\hbox{}}%
+%%
+%% et al.: ``and others'' with a period
+\renewcommand{\BOthersPeriod}[1]{et al.\hbox{}}%
+%%
+%% In
+\renewcommand{\BIn}{Teoksessa}% ``In'' editor...
+%%
+%% by
+\renewcommand{\Bby}{teoksesta}% ``by'' editor... (in reprints)
+%%
+%% Ed.
+\renewcommand{\BED}{toim.\hbox{}}% editor
+%%
+%% Eds.
+\renewcommand{\BEDS}{toim.\hbox{}}% editors
+%%
+%% Trans.
+\renewcommand{\BTRANS}{k\"a\"ant.\hbox{}}% translator
+%%
+%% Trans.
+\renewcommand{\BTRANSS}{k\"a\"ant.\hbox{}}% translators
+%%
+%% trans.
+\renewcommand{\BTRANSL}{k\"a\"an.\hbox{}}% translation, for the year field
+%%
+%% Chair
+\renewcommand{\BCHAIR}{pj.\hbox{}}% chair of symposium
+%%
+%% Chairs
+\renewcommand{\BCHAIRS}{pj.\hbox{}}% chairs
+%%
+%% Vol.
+\renewcommand{\BVOL}{osa}% volume
+%%
+%% Vols.
+\renewcommand{\BVOLS}{osat}% volumes
+%%
+%% No.
+\renewcommand{\BNUM}{nro}% number
+%%
+%% Nos.
+\renewcommand{\BNUMS}{nro}% numbers
+%%
+%% ed.
+\renewcommand{\BEd}{p.\hbox{}}% edition
+%%
+%% chap.
+\renewcommand{\BCHAP}{luku}% chapter
+%%
+%% chap.
+\renewcommand{\BCHAPS}{luvut}% chapters
+%%
+%% p.
+\renewcommand{\BPG}{s.\hbox{}}% page
+%%
+%% pp.
+\renewcommand{\BPGS}{s.\hbox{}}% pages
+%%
+%% Tech.\ Rep.
+\renewcommand{\BTR}{Tekn.\ rap.\hbox{}}% (default) technical report type name
+%%
+%% (default) PhD thesis type name
+\renewcommand{\BPhD}{V\"ait\"oskirja}%
+%%
+%% (default) unpublished PhD thesis type name
+\renewcommand{\BUPhD}{Julkaisematon v\"ait\"oskirja}%
+%%
+%% (default) master's thesis type name
+\renewcommand{\BMTh}{Pro gradu -tutkielma}%
+%%
+%% (default) unpublished master's thesis type name
+\renewcommand{\BUMTh}{Julkaisematon pro gradu -tutkielma}%
+%%
+\renewcommand{\BAuthor}{Tekij\"a}% ``Author'' if publisher = author
+%%
+%% Original work published
+\renewcommand{\BOWP}{Alkuaan julk.\hbox{}}%
+%%
+%% Reprinted from
+\renewcommand{\BREPR}{Uudelleen julk.\hbox{}}%
+%%
+%% (websites) Available from; note the space.
+\renewcommand{\BAvailFrom}{Saatavilla\ }%
+%%
+%% (websites) Retrieved ... from; note the space.
+%% The argument is the date on which it was last checked.
+\renewcommand{\BRetrieved}[1]{Lainattu {#1}, saatavilla\ }%
+\renewcommand{\BRetrievedFrom}{Lainattu saatavilla\ }%
+%%
+%% (newsgroups \& forums) Message posted to; note the space.
+\renewcommand{\BMsgPostedTo}{Viesti l\"ahetetty\ }%
+%%
+%% Punctuation
+\renewcommand{\BBOP}{(}% opening parenthesis
+\renewcommand{\BBCP}{)}% closing parenthesis
+\renewcommand{\BBOQ}{}% opening quote for article title
+\renewcommand{\BBCQ}{}% closing quote for article title
+\renewcommand{\BBAA}{\&}% between authors in parenthetical cites and ref. list
+%%
+%% and
+\renewcommand{\BBAB}{ja}% between authors in text
+%%
+\renewcommand{\BAnd}{\&}% for ``Ed. \& Trans.'' in ref. list
+\DeclareRobustCommand{\BPBI}{.~}% Period between initials
+\DeclareRobustCommand{\BHBI}{.-}% Hyphen between initials
+\renewcommand{\BAP}{ }% after prefix, before first citation
+\renewcommand{\BBAY}{, }% between author(s) and year
+\renewcommand{\BBYY}{, }% between years of multiple citations with same author
+\renewcommand{\BBC}{; }% between cites
+\renewcommand{\BBN}{, }% before note
+\renewcommand{\BCBT}{,}% comma between authors in ref. list when no. of
+ %% authors = 2
+\renewcommand{\BCBL}{,}% comma before last author when no. of authors > 2
+%% Remove excess space with the natbibapa option
+\if@APAC@natbib@apa
+ \renewcommand{\BBAY}{,}%
+ \renewcommand{\BBYY}{,}%
+ \renewcommand{\BBC}{;}%
+\fi
+%%
+%% Date formatting, adapted from babel's finnish.dtx
+\renewcommand{\APACmonth}[1]{\ifcase #1\or
+ tammikuuta\or helmikuuta\or maaliskuuta\or huhtikuuta\or
+ toukokuuta\or kes\"akuuta\or hein\"akuuta\or elokuuta\or
+ syyskuuta\or lokakuuta\or marraskuuta\or joulukuuta\or
+%% Winter Spring Summer Fall
+ talvea\or kev\"att\"a\or kes\"a\"a\or syksy\"a\else
+ {#1}\fi}%
+\renewcommand{\APACrefYearMonthDay}[3]{%
+ {\BBOP}{#1}% year (+ addendum); should not be empty
+ \ifx\@empty#3\@empty
+ \ifx\@empty#2\@empty
+ \else
+ \unskip, {#2}% month
+ \fi
+ \else
+ \unskip, {#3}.% day
+ \ifx\@empty#2\@empty
+ \else
+ \unskip~{#2}% month
+ \fi
+ \fi
+ {\BBCP}% closing parenthesis
+}%
+%%
+%% Some macros that transform a number (say, `2') to an ordinal one (`2nd')
+\renewcommand{\PrintOrdinal}[1]{%
+ \afterassignment\print@ordinal
+ \count@ 0#1\relax\@nil
+}%
+\def\print@ordinal#1#2\@nil{%
+ \ifx\relax#1\relax
+ \ifnum\count@>\z@
+ \CardinalNumeric\count@
+ \else
+ ??.%
+ \fi
+ \else
+ \ifnum \count@>\z@ \number\count@ \fi
+ #1#2\relax
+ \fi
+}%
+% \end{macrocode}
+% In Finnish, ordinal numbers are always obtained by simply
+% putting a period after the number. So I am reusing the German code here.
+% As mentioned in the section describing \fname{german.apc}, this (and perhaps
+% the code above) can then be significantly simplified, but, because I (EM)
+% have trouble understanding this code (from the \pkg{amsrefs} package) and
+% experimenting did not give the expected results, I won't mess with the code
+% too much and stay close to the English code.
+% \begin{macrocode}
+\renewcommand{\CardinalNumeric}[1]{%
+ \number#1\relax
+ \if
+ \ifnum#1<14
+ \ifnum#1>\thr@@ T\else F\fi
+ \else
+ F%
+ \fi
+ T%
+ .%
+ \else
+ \@xp\keep@last@digit\@xp#1\number#1\relax
+ \ifcase#1.\else .\fi
+ \fi
+}%
+% \end{macrocode}
+% Restore category code of |@| sign.
+% \begin{macrocode}
+\APACrestoreAtCode
+%</finnish>
+% \end{macrocode}
+%
+%
+% \subsection{\fname{french.apc}}
+%
+% This file redefines the language-specific elements of \pkg{apacite}
+% for the French language and its ``dialects'' in \pkg{babel}
+% terminology.
+%
+% \begin{macrocode}
+%<*french>
+%%
+%% french.apc - french version of apacite elements
+%% Adapted from english.apc by \'Eric Raufaste
+%%
+% \end{macrocode}
+% A fancy way to store and restore the category code of the |@| sign,
+% per Heiko Oberdiek.
+% \begin{macrocode}
+\edef\APACrestoreAtCode{%
+ \catcode`@=\the\catcode`@\relax
+}%
+\makeatletter
+\renewcommand{\onemaskedcitationmsg}[1]{%
+ \emph{(#1\ citation removed for masked review)}}% !!! CHANGE
+\renewcommand{\maskedcitationsmsg}[1]{%
+ \emph{(#1\ citations removed for masked review)}}% !!! CHANGE
+%%
+\renewcommand{\refname}{R\'ef\'erences}% Name of ref. list if it's a section.
+\renewcommand{\bibname}{R\'ef\'erences}% Name of ref. list if it's a chapter.
+%% The name (heading) of the Author Index
+\renewcommand{\authorindexname}{Index des auteurs}%
+%%
+%% A note before the references if a meta-analysis is reported.
+\renewcommand{\APACmetaprenote}{%
+ Les r\'ef\'erences marqu\'ees d'un ast\'erisque indiquent des \'etudes
+ incluses dans la m\'eta-analyse.}%
+%%
+%% Commands for specific types of @misc entries.
+\renewcommand{\bibmessage}{Msg}%
+\renewcommand{\bibcomputerprogram}{Logiciel}%
+\renewcommand{\bibcomputerprogrammanual}{Manuel de logiciel}%
+\renewcommand{\bibcomputerprogramandmanual}{Logiciel et manuel}%
+\renewcommand{\bibcomputersoftware}{Logiciel}%
+\renewcommand{\bibcomputersoftwaremanual}{Manuel de logiciel}%
+\renewcommand{\bibcomputersoftwareandmanual}{Logiciel et manuel}%
+\renewcommand{\bibprogramminglanguage}{Langage de programmation}%
+%%
+%% Other labels
+\renewcommand{\bibnodate}{s.~d.\hbox{}}% ``no date''
+\renewcommand{\BIP}{sous presse}% ``in press''
+\renewcommand{\BOthers}[1]{et al.\hbox{}}% ``and others''
+\renewcommand{\BOthersPeriod}[1]{et al.\hbox{}}% ``and others'' with a period
+\renewcommand{\BIn}{In}% % for ``In'' editor...
+\renewcommand{\Bby}{par}% % for ``by'' editor... (in reprints)
+\renewcommand{\BED}{Ed.\hbox{}}% % editor
+\renewcommand{\BEDS}{Eds.\hbox{}}% % editors
+\renewcommand{\BTRANS}{Trad.\hbox{}}% % translator
+\renewcommand{\BTRANSS}{Trad.\hbox{}}% % translators
+\renewcommand{\BTRANSL}{trad.\hbox{}}% % translation, for the year field
+\renewcommand{\BCHAIR}{Pr\'es.\hbox{}}% % chair of symposium
+\renewcommand{\BCHAIRS}{Pr\'es}% % chairs
+\renewcommand{\BVOL}{Vol.\hbox{}}% % volume
+\renewcommand{\BVOLS}{Vols.\hbox{}}% % volumes
+\renewcommand{\BNUM}{N\textsuperscript{o}}% % number
+\renewcommand{\BNUMS}{N\textsuperscript{os}}% numbers
+\renewcommand{\BEd}{\'ed.\hbox{}}% % edition
+\renewcommand{\BCHAP}{chap.\hbox{}}% % chapter
+\renewcommand{\BCHAPS}{chap.\hbox{}}% % chapters
+\renewcommand{\BPG}{p.\hbox{}}% % page
+\renewcommand{\BPGS}{pp.\hbox{}}% % pages
+%% Default technical report type name.
+\renewcommand{\BTR}{Rapport technique}%
+%% Default PhD thesis type name.
+\renewcommand{\BPhD}{Th\`ese de doctorat}%
+%% Default unpublished PhD thesis type name.
+\renewcommand{\BUPhD}{Th\`ese de doctorat non publi\'ee}%
+%% Default master's thesis type name.
+\renewcommand{\BMTh}{M\'emoire de Master}%
+%% Default unpublished master's thesis type name.
+\renewcommand{\BUMTh}{M\'emoire de Master non publi\'e}%
+%%
+\renewcommand{\BAuthor}{Auteur}%% Used if publisher = author
+\renewcommand{\BOWP}{\OE uvre originale publi\'ee en}%
+\renewcommand{\BREPR}{R\'eimprim\'e \`a partir de}%
+\renewcommand{\BAvailFrom}{Disponible sur\ }% Websites; note the space.
+%% Websites; note the space.
+%% The argument is the date on which it was last checked.
+\renewcommand{\BRetrieved}[1]{Consult\'e le {#1}, sur\ }%
+\renewcommand{\BRetrievedFrom}{Consult\'e sur\ }%
+\renewcommand{\BMsgPostedTo}{Message post\'e sur\ }% Messages; note the space.
+%%
+%% Punctuation
+\renewcommand{\BBOP}{(}% opening parenthesis
+\renewcommand{\BBCP}{)}% closing parenthesis
+\renewcommand{\BBOQ}{}% opening quote for article title
+\renewcommand{\BBCQ}{}% closing quote for article title
+\renewcommand{\BBAA}{\&}% between authors in parenthetical cites and ref. list
+\renewcommand{\BBAB}{et}% between authors in text
+\renewcommand{\BAnd}{\&}% for ``Ed. \& Trans.'' in ref. list
+\DeclareRobustCommand{\BPBI}{.~}% Period between initials
+\DeclareRobustCommand{\BHBI}{.-}% Hyphen between initials
+\renewcommand{\BAP}{ }% after prefix, before first citation
+\renewcommand{\BBAY}{, }% between author(s) and year
+\renewcommand{\BBYY}{, }% between years of multiple citations with same author
+\renewcommand{\BBC}{~; }% between cites
+\renewcommand{\BBN}{, }% before note
+\renewcommand{\BCBT}{,}% comma between authors in ref. list when no. of
+ %% authors = 2
+\renewcommand{\BCBL}{,}% comma before last author when no. of authors > 2
+%% Remove excess space with the natbibapa option
+\if@APAC@natbib@apa
+ \renewcommand{\BBAY}{,}%
+ \renewcommand{\BBYY}{,}%
+ \renewcommand{\BBC}{~;}%
+\fi
+%%
+%% Date formatting
+\renewcommand{\APACmonth}[1]{\ifcase #1\or janvier\or f\'evrier\or mars\or
+ avril\or mai\or juin\or juillet\or ao\^ut\or septembre\or octobre\or
+ novembre\or d\'ecembre\or hiver\or printemps\or \'et\'e\or automne\else
+ {#1}\fi}%
+%% Structure taken from definition of \today in frenchb.dtx
+\makeatletter
+\renewcommand{\APACrefYearMonthDay}[3]{%
+ {\BBOP}{#1}% year (+ addendum); should not be empty
+ \ifx\@empty#3\@empty
+ \ifx\@empty#2\@empty
+ \else
+ \unskip, {#2}% month
+ \fi
+ \else
+ \unskip, {#3}% day
+ \edef\APAC@tempa{#3}%
+ \edef\APAC@tempb{1}%
+ \ifx\APAC@tempa\APAC@tempb\@empty {\ier}\fi
+ \let\APAC@tempa\@undefined
+ \let\APAC@tempb\@undefined
+ %%
+ \ifx\@empty#2\@empty
+ \else
+ \unskip~{#2}% month
+ \fi
+ \fi
+ {\BBCP}% closing parenthesis
+}%
+%%
+%% Some macros that transform a number (say, `2') to an ordinal one (`2nd')
+% \end{macrocode}
+% Ordinal numbers should all be number + `\textsuperscript{e}',
+% except if number = 1, then it is ``1\textsuperscript{er}'' or
+% ``1\textsuperscript{re}''. \pkg{babel} provides the
+% commands \cmd{\ieme}, \cmd{\ier}, and \cmd{\iere} for formatting this.
+% We'll use these commands.
+%
+% \begin{macro}{\APACfirst}
+% \begin{macro}{\PrintOrdinalMale}
+% \pkg{apacite} only uses the ordinal numbers for edition numbers, and
+% the gender of ``\'edition'' is feminine, so we use the feminine form
+% ``1re'' by default. However, we put it in the macro \cmd{\APACfirst}.
+% Then we define \cmd{\PrintOrdinalMale} to redefine \cmd{\APACfirst}
+% to take the masculine form, then call \cmd{\PrintOrdinal}, and then
+% revert again, so that users can use this function for masculine words
+% (if desired).
+% \begin{macrocode}
+\DeclareRobustCommand{\APACfirst}{1\iere}%
+\DeclareRobustCommand{\PrintOrdinalMale}[1]{%
+ \DeclareRobustCommand{\APACfirst}{1\ier}%
+ \PrintOrdinal{#1}%
+ \DeclareRobustCommand{\APACfirst}{1\iere}%
+}%
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \begin{macrocode}
+\renewcommand{\PrintOrdinal}[1]{%
+ \afterassignment\print@ordinal
+ \count@ 0#1\relax\@nil
+}%
+\def\print@ordinal#1#2\@nil{%
+ \ifx\relax#1\relax
+ \ifnum\count@>\@ne
+ \CardinalNumeric\count@
+ \else
+ \ifnum1=\count@
+ {\APACfirst}%
+ \else
+ ??{\ieme}%
+ \fi
+ \fi
+ \else
+ \ifnum \count@>\z@ \number\count@ \fi
+ #1#2\relax
+ \fi
+}%
+\renewcommand{\CardinalNumeric}[1]{%
+ \number#1\relax
+ \if
+ \ifnum#1<14
+ \ifnum#1>\thr@@ T\else F\fi
+ \else
+ F%
+ \fi
+ T%
+ {\ieme}%
+ \else
+ \@xp\keep@last@digit\@xp#1\number#1\relax
+ \ifcase#1{\ieme}\else {\ieme}\fi
+ \fi
+}%
+%%
+%% In French, there should be a space before a colon `:', so we have to
+%% redefine a few macros that insert a colon.
+\renewcommand{\APACaddressPublisher}[2]{%
+ \ifx\@empty#1\@empty
+ %% publisher
+ \ifx\@empty#2\@empty
+ \else
+ {#2}%
+ \fi
+ %%
+ \else
+ %% address
+ {#1}%
+ %% publisher
+ \ifx\@empty#2\@empty
+ \else
+ \unskip{} : {#2}%
+ \fi
+ %%
+ \fi
+}%
+\let\APACaddressInstitution\APACaddressPublisher
+\renewcommand{\APACaddressPublisherEqAuth}[2]{%
+ \ifx\@empty#1\@empty
+ %% Publisher. This cannot be empty, because it is equal to the
+ %% author.
+ {\BAuthor{}}%
+ %%
+ \else
+ %% Address and publisher. These are not empty.
+ {#1\unskip{} : \BAuthor{}}%
+ %%
+ \fi
+}%
+\let\APACaddressInstitutionEqAuth\APACaddressPublisherEqAuth
+% \end{macrocode}
+% Restore category code of |@| sign.
+% \begin{macrocode}
+\APACrestoreAtCode
+%</french>
+% \end{macrocode}
+%
+%
+% \subsection{\fname{german.apc} and \fname{ngerman.apc}}
+%
+% This file redefines the language-specific elements of \pkg{apacite}
+% for the German language. These are based on the APA-inspired
+% instructions from the \citeA{DGPs07}. There is the traditional orthography
+% (`german') and the new orthography (`ngerman'), which are treated as
+% completely different languages by \pkg{babel} (unlike, e.g., the two
+% Norwegian languages), which presumably has technical reasons. We start
+% with `german'.
+%
+% \begin{macrocode}
+%<*german>
+%%
+%% german.apc - Deutsche Uebersetzung der Apacite-Elemente
+%% (German version of apacite elements)
+%% Written by Andreas Poege
+%% Some additions and adaptations by Erik Meijer.
+%%
+% \end{macrocode}
+% A fancy way to store and restore the category code of the |@| sign,
+% per Heiko Oberdiek.
+% \begin{macrocode}
+\edef\APACrestoreAtCode{%
+ \catcode`@=\the\catcode`@\relax
+}%
+\makeatletter
+\renewcommand{\onemaskedcitationmsg}[1]{%
+ \emph{(#1\ citation removed for masked review)}}% !!! CHANGE
+\renewcommand{\maskedcitationsmsg}[1]{%
+ \emph{(#1\ citations removed for masked review)}}% !!! CHANGE
+%% Bezeichnung fuer das Literaturverzeichnis, falls Section
+\renewcommand{\refname}{Literatur}%
+%% Bezeichnung fuer das Literaturverzeichnis, falls Chapter
+\renewcommand{\bibname}{Literaturverzeichnis}%
+%% Bezeichnung (heading) des Autorenverzeichnisses
+\renewcommand{\authorindexname}{Autorenregister}%
+%%
+%% Bemerkung vor Literaturangaben, falls eine Metaanalyse angegeben wurde
+\renewcommand{\APACmetaprenote}{Literaturangaben mit Stern kennzeichnen
+ Studien der Metaanalyse.}%
+%%
+%% Befehle fuer die speziellen @misc-Eintraege.
+\renewcommand{\bibmessage}{Msg.\hbox{}}% Newsgroup-, Internet-Messages
+\renewcommand{\bibcomputerprogram}{Computerprogramm}%
+\renewcommand{\bibcomputerprogrammanual}{Programm-Handbuch}%
+\renewcommand{\bibcomputerprogramandmanual}{Computerprogramm und Handbuch}%
+\renewcommand{\bibcomputersoftware}{Software}%
+\renewcommand{\bibcomputersoftwaremanual}{Software-Handbuch}%
+\renewcommand{\bibcomputersoftwareandmanual}{Software und Handbuch}%
+\renewcommand{\bibprogramminglanguage}{Programmiersprache}%
+%%
+%% Weitere Labels
+\renewcommand{\bibnodate}{o.\,J.\hbox{}}% "`ohne Jahresangabe"'
+\renewcommand{\BIP}{in Druck}% % Jahresangabe bei im Druck bef. Werken
+%%
+%% "`und andere"', das Argument beinhaltet einen Punkt, um einen weiteren im
+%% Literaturverzeichnis zu unterdruecken
+\renewcommand{\BOthers}[1]{et al.\hbox{}}%
+%% "`und andere"', das Argument beinhaltet einen Punkt, um einen weiteren im
+%% Literaturverzeichnis zu unterdruecken.
+\renewcommand{\BOthersPeriod}[1]{et al.\hbox{}}%
+%%
+\renewcommand{\BIn}{In}% % fuer "`In"' Herausgeber...
+\renewcommand{\Bby}{von}% % fuer "`von"' Herausgeber... (Nachdruck)
+\renewcommand{\BED}{Hrsg.\hbox{}}% % Herausgeber(in)
+\renewcommand{\BEDS}{Hrsg.\hbox{}}% % Herausgeber(innen)
+\renewcommand{\BTRANS}{\"Ubers.\hbox{}}%% Uebersetzer(in)
+\renewcommand{\BTRANSS}{\"Ubers.\hbox{}}% Uebersetzer(innen)
+\renewcommand{\BTRANSL}{\"Ubers.\hbox{}}% Uebersetzung (bei der Jahresangabe)
+\renewcommand{\BCHAIR}{Chair}% % Chair (bei Konferenzen)
+\renewcommand{\BCHAIRS}{Chairs}% % Chairs (bei Konferenzen)
+\renewcommand{\BVOL}{Bd.\hbox{}}% % Band
+\renewcommand{\BVOLS}{Bde.\hbox{}}% % Baende
+\renewcommand{\BNUM}{Nr.\hbox{}}% % Nummer
+\renewcommand{\BNUMS}{Nr.\hbox{}}% % Nummern
+\renewcommand{\BEd}{Aufl.\hbox{}}% % Auflage
+\renewcommand{\BCHAP}{Kap.\hbox{}}% % Kapitel
+\renewcommand{\BCHAPS}{Kap.\hbox{}}% % Kapitel
+\renewcommand{\BPG}{S.\hbox{}}% % Seite
+\renewcommand{\BPGS}{S.\hbox{}}% % Seiten
+%%
+%% (default) Bezeichnung fuer "`technical report"'
+\renewcommand{\BTR}{Bericht}%
+%% (default) Bezeichnung fuer Dissertation
+\renewcommand{\BPhD}{Dissertation}%
+%% (default) Bezeichnung fuer unveroeffentlichte Dissertation
+\renewcommand{\BUPhD}{Unver\"offentlichte Dissertation}%
+%% (default) Bezeichnung fuer Abschlussarbeit
+\renewcommand{\BMTh}{Diplomarbeit}%
+%% (default) Bezeichnung fuer unveroeffentlichte Abschlussarbeit
+\renewcommand{\BUMTh}{Unver\"offentlichte Diplomarbeit}%
+%%
+\renewcommand{\BAuthor}{Autor}% % ``Autor'' falls publisher = author
+\renewcommand{\BOWP}{Originalausgabe}% Originalausgabe
+\renewcommand{\BREPR}{Nachdruck von}% Nachdruck von
+%% Websites; note the spaces.
+\renewcommand{\BAvailFrom}{Verf\"ugbar unter\ }%
+%% The argument is the date on which it was last checked.
+\renewcommand{\BRetrieved}[1]{Zugriff am {#1} auf\ }%
+\renewcommand{\BRetrievedFrom}{Zugriff auf\ }%
+%% Note that here the English phrase is left untranslated in German.
+\renewcommand{\BMsgPostedTo}{Message posted to\ }%
+%%
+%% Deutsche Anpassung der Interpunktion und Formatierung
+\renewcommand{\BBOP}{(}% % Einleitende Klammer (default "(")
+\renewcommand{\BBCP}{)}% % Abschliessende Klammer (default ")")
+\renewcommand{\BBOQ}{}% % Einleitung v. Titel v. Artikel (default "")
+\renewcommand{\BBCQ}{}% % Abschluss v. Titel. von Artikel (default "")
+\renewcommand{\BBAA}{\&}%% Zwischen Autoren in Klammern (default "\&")
+\renewcommand{\BBAB}{und}% Zwischen Autoren im Text
+\renewcommand{\BAnd}{\&}%% Zwischen Hg. und Uebers., falls gleich (default "\&")
+\DeclareRobustCommand{\BPBI}{.~}% Period between initials
+\DeclareRobustCommand{\BHBI}{.-}% Hyphen between initials
+\renewcommand{\BAP}{ }% % Zeichen zw. Prefix und Zitat (default Leerzeichen)
+\renewcommand{\BBAY}{, }% Zwischen Autoren und Jahr(en) (default ", ")
+\renewcommand{\BBYY}{, }% Zwischen Jahren, wenn ein Author und mehrere Jahre
+\renewcommand{\BBC}{; }% Zwischen Autoren (mehrere Zitate) (default "; ")
+\renewcommand{\BBN}{, }% Zwischen Zitat und Postfix (default ", ")
+\renewcommand{\BCBT}{}% Zwischen 2 Autoren (zus. zu "&", default ",")
+\renewcommand{\BCBL}{}% Zwischen 3 o. mehr Autoren (zus. zu "&", default ",")
+%% Remove excess space with the natbibapa option
+\if@APAC@natbib@apa
+ \renewcommand{\BBAY}{,}%
+ \renewcommand{\BBYY}{,}%
+ \renewcommand{\BBC}{;}%
+\fi
+%%
+%% Date formatting, adapted from babel's germanb.dtx
+\renewcommand{\APACmonth}[1]{\ifcase #1\or
+ Januar\or Februar\or M\"arz\or April\or Mai\or Juni\or
+ Juli\or August\or September\or Oktober\or November\or Dezember\or
+ Winter\or Fr\"uhjahr\or Sommer\or Herbst\else {#1}\fi}%
+\renewcommand{\APACrefYearMonthDay}[3]{%
+ {\BBOP}{#1}% year (+ addendum); should not be empty
+ \ifx\@empty#3\@empty
+ \ifx\@empty#2\@empty
+ \else
+ \unskip, {#2}% month
+ \fi
+ \else
+ \unskip, {#3}.% day
+ \ifx\@empty#2\@empty
+ \else
+ \unskip~{#2}% month
+ \fi
+ \fi
+ {\BBCP}% closing parenthesis
+}%
+%% Some macros that transform a number (say, `2') to an ordinal one (`2nd'),
+%% adapted from amsrefs.dtx
+\renewcommand{\PrintOrdinal}[1]{%
+ \afterassignment\print@ordinal
+ \count@ 0#1\relax\@nil
+}%
+\def\print@ordinal#1#2\@nil{%
+ \ifx\relax#1\relax
+ \ifnum\count@>\z@
+ \CardinalNumeric\count@
+ \else
+ ??.%
+ \fi
+ \else
+ \ifnum \count@>\z@ \number\count@ \fi
+ #1#2\relax
+ \fi
+}%
+% \end{macrocode}
+% German ordinal numbers are always obtained by simply putting a period after
+% the number, so this (and perhaps the code above) can be significantly
+% simplified. However, because I (EM) have trouble understanding this code (from
+% the \pkg{amsrefs} package) and experimenting did not give the expected
+% results, I won't mess with the code too much and stay close to the
+% English code.
+% \begin{macrocode}
+\renewcommand{\CardinalNumeric}[1]{%
+ \number#1\relax
+ \if
+ \ifnum#1<14
+ \ifnum#1>\thr@@ T\else F\fi
+ \else
+ F%
+ \fi
+ T%
+ .%
+ \else
+ \@xp\keep@last@digit\@xp#1\number#1\relax
+ \ifcase#1.\else .\fi
+ \fi
+}%
+% \end{macrocode}
+% The DGPs puts a space between the volume and the issue number,
+% unlike the APA. So we have to slightly adapt this command.
+% (|#1| = journal, |#2| = volume, |#3| = number, |#4| = formatted pages).
+% \begin{macrocode}
+\renewcommand{\APACjournalVolNumPages}[4]{%
+ \Bem{#1}% journal
+ \ifx\@empty#2\@empty
+ \else
+ \unskip, \Bem{#2}% volume
+ \fi
+ \ifx\@empty#3\@empty
+ \else
+ \unskip\ ({#3})% issue number, with the added leading space
+ \fi
+ \ifx\@empty#4\@empty
+ \else
+ \unskip, {#4}% pages
+ \fi
+}%
+% \end{macrocode}
+% Presumably, for the original journal information of a reprint, a similar
+% space needs to be added.
+% Arguments: |#1| = year, |#2| = journal, |#3| = volume, |#4| = issue number,
+% |#5| = formatted pages, |#6| = note.
+% \begin{macrocode}
+\renewcommand{\APACorigjournalnote}[6]{%
+ (\BREPR{} % ``(Reprinted from '' (note the space)
+ \Bem{#2}% Journal (should not be empty)
+ \ifx\@empty#1\@empty
+ \else
+ \unskip, {#1}% , year
+ \fi
+ \ifx\@empty#3\@empty
+ \else
+ \unskip, \Bem{#3}% , volume
+ \fi
+ \ifx\@empty#4\@empty
+ \else
+ \unskip\ {[#4]}% \ [issue number]
+ \fi
+ \ifx\@empty#5\@empty
+ \else
+ \unskip, {#5}% , pages
+ \fi
+ \ifx\@empty#6\@empty
+ \else
+ \unskip; {#6}% ; note
+ \fi
+ )% Final parenthesis
+}%
+% \end{macrocode}
+% Differences between Austrian and German. (Apparently only the name of
+% January---``J\"anner'' vs.\ ``Januar''.)
+% \begin{macrocode}
+\edef\APACaustrian{\string austrian}%
+\ifx\languagename\APACaustrian
+ \renewcommand{\APACmonth}[1]{\ifcase #1\or
+ J\"anner\or Februar\or M\"arz\or April\or Mai\or Juni\or
+ Juli\or August\or September\or Oktober\or November\or Dezember\or
+ Winter\or Fr\"uhjahr\or Sommer\or Herbst\else {#1}\fi}%
+\fi
+\let\APACaustrian\undefined
+% \end{macrocode}
+% Restore category code of |@| sign.
+% \begin{macrocode}
+\APACrestoreAtCode
+%</german>
+% \end{macrocode}
+%
+%
+% Now, the file for the new orthography. Apparently, \fname{german.apc}
+% can also be used for the new orthography, so this is a very brief one:
+%
+% \begin{macrocode}
+%<*ngerman>
+%%
+%% ngerman.apc - german translation of apacite elements (new orthography)
+%% Written by Erik Meijer, based on instructions of Andreas Poege.
+%%
+%% According to Andreas Poege, his file german.apc can also be used
+%% for the new orthography, so I'll just do this:
+%%
+\input{german.apc}%
+%%
+% \end{macrocode}
+% Differences between Austrian and German. (Apparently only the name of
+% January---``J\"anner'' vs.\ ``Januar''.) This is not picked up in
+% \fname{german.apc}, because that file only checks for ``austrian'',
+% not for ``naustrian'', so we have to copy it here.
+% \begin{macrocode}
+\edef\APACaustrian{\string naustrian}%
+\ifx\languagename\APACaustrian
+ \renewcommand{\APACmonth}[1]{\ifcase #1\or
+ J\"anner\or Februar\or M\"arz\or April\or Mai\or Juni\or
+ Juli\or August\or September\or Oktober\or November\or Dezember\or
+ Winter\or Fr\"uhjahr\or Sommer\or Herbst\else {#1}\fi}%
+\fi
+\let\APACaustrian\undefined
+%%
+%%
+%</ngerman>
+% \end{macrocode}
+%
+%
+% \subsection{\fname{greek.apc}}
+%
+% This file redefines the language-specific elements of \pkg{apacite}
+% for the Greek language.
+%
+% \begin{macrocode}
+%<*greek>
+%%
+%% greek.apc - Greek version of apacite elements
+%% Greek translations by Athanassios Protopapas and Ioannis Dimakos
+%%
+% \end{macrocode}
+% A fancy way to store and restore the category code of the |@| sign,
+% per Heiko Oberdiek.
+% \begin{macrocode}
+\edef\APACrestoreAtCode{%
+ \catcode`@=\the\catcode`@\relax
+}%
+\makeatletter
+\renewcommand{\onemaskedcitationmsg}[1]{%
+ \emph{(#1\ citation removed for masked review)}}% !!! CHANGE
+\renewcommand{\maskedcitationsmsg}[1]{%
+ \emph{(#1\ citations removed for masked review)}}% !!! CHANGE
+%% Name of ref. list if it's a section.
+\renewcommand{\refname}{\textgreek{Bibliograf'ia}}%
+%% Name of ref. list if it's a chapter.
+\renewcommand{\bibname}{\textgreek{Bibliograf'ia}}%
+%% The name (heading) of the Author Index
+\renewcommand{\authorindexname}{\textgreek{Euret'hrio suggraf'ewn}}%
+%%
+%% A note before the references if a meta-analysis is reported.
+\renewcommand{\APACmetaprenote}{%
+ \textgreek{Oi ergas'iec pou sumperilamb'anontai sth meta-an'alush
+ shmei'wnontai me aster'isko}.}%
+%%
+%% Commands for specific types of @misc entries.
+\renewcommand{\bibmessage}{\textgreek{M'hnuma}}%
+\renewcommand{\bibcomputerprogram}{\textgreek{Logismik'o}}%
+\renewcommand{\bibcomputerprogrammanual}{%
+ \textgreek{Egqeir'idio logismiko'u}}%
+\renewcommand{\bibcomputerprogramandmanual}{%
+ \textgreek{Logismik'o kai egqeir'idio}}%
+\renewcommand{\bibcomputersoftware}{\textgreek{Logismik'o}}%
+\renewcommand{\bibcomputersoftwaremanual}{%
+ \textgreek{Egqeir'idio logismiko'u}}%
+\renewcommand{\bibcomputersoftwareandmanual}{%
+ \textgreek{Logismik'o kai egqeir'idio}}%
+\renewcommand{\bibprogramminglanguage}{%
+ \textgreek{Gl'wssa programmatismo'u}}%
+%%
+%% Other labels
+\renewcommand{\bibnodate}{\textgreek{qwr'ic hmeromhn'ia}}% ``no date''
+\renewcommand{\BIP}{\textgreek{up'o 'ekdosh}}% % ``in press''
+\renewcommand{\BOthers}[1]{\textgreek{k.\ sun.\hbox{}}}% ``and others''
+%% ``and others'' with a period
+\renewcommand{\BOthersPeriod}[1]{\textgreek{k.\ sun.\hbox{}}}%
+\renewcommand{\BIn}{\textgreek{Sto}}%% for ``In'' editor...
+% \end{macrocode}
+% The current command \cmd{\Bby} is problematic for application in Greek.
+% If it is followed by 1 male editor, then it should be ``|\textgreek{toy}|'';
+% in the case of 1 female editor, it should be ``|\textgreek{ths}|''; with
+% multiple editors, ``|\textgreek{twn}|'' is the correct translation. For
+% the moment, let's use the latter, which is gender-neutral and perhaps the
+% most common one. Note that a user can apply the sort of tricks that we
+% used in section~\ref{sec:xmpl} (Example~69) to make a one-time change to
+% the definition of \cmd{\Bby}. See the command \cmd{\bibInstring} in
+% section~\ref{sec:apacdoc}.
+% \begin{macrocode}
+\renewcommand{\Bby}{\textgreek{twn}}% for ``by'' editor... (in reprints)
+\renewcommand{\BED}{\textgreek{Epim.\hbox{}}}% % editor
+\renewcommand{\BEDS}{\textgreek{Epim.\hbox{}}}% % editors
+\renewcommand{\BTRANS}{\textgreek{Mtf.\hbox{}}}% % translator
+\renewcommand{\BTRANSS}{\textgreek{Mtf.\hbox{}}}%% translators
+\renewcommand{\BTRANSL}{\textgreek{mtf.\hbox{}}}%% translation
+\renewcommand{\BCHAIR}{\textgreek{Pr'oedroc}}% % chair of symposium
+\renewcommand{\BCHAIRS}{\textgreek{Pr'oedroi}}% % chairs
+\renewcommand{\BVOL}{\textgreek{t.\hbox{}}}% % volume
+\renewcommand{\BVOLS}{\textgreek{t.\hbox{}}}% % volumes
+\renewcommand{\BNUM}{\textgreek{ar.\hbox{}}}% % number
+\renewcommand{\BNUMS}{\textgreek{ar.\hbox{}}}% % numbers
+\renewcommand{\BEd}{\textgreek{'ekd.\hbox{}}}% % edition
+\renewcommand{\BCHAP}{\textgreek{kef.\hbox{}}}% % chapter
+\renewcommand{\BCHAPS}{\textgreek{kef.\hbox{}}}% % chapters
+\renewcommand{\BPG}{\textgreek{sel.\hbox{}}}% % page
+\renewcommand{\BPGS}{\textgreek{sel.\hbox{}}}% % pages
+%% Default technical report type name.
+\renewcommand{\BTR}{\textgreek{Teq.\ 'ekj.\hbox{}}}%
+%% Default PhD thesis type name.
+\renewcommand{\BPhD}{\textgreek{Didaktorik'h diatrib'h}}%
+%% (default) unpublished PhD thesis type name
+\renewcommand{\BUPhD}{\textgreek{Adhmos'ieuth didaktorik'h diatrib'h}}%
+%% (default) master's thesis type name
+\renewcommand{\BMTh}{\textgreek{Metaptuqiak'h diplwmatik'h ergas'ia}}%
+%% (default) unpublished master's thesis type name
+\renewcommand{\BUMTh}{%
+ \textgreek{Adhmos'ieuth metaptuqiak'h diplwmatik'h ergas'ia}}%
+%% ``Author'' if publisher = author
+\renewcommand{\BAuthor}{\textgreek{Auto'ekdosh}}%
+%% Original work published
+\renewcommand{\BOWP}{\textgreek{'Ekdosh prwtot'upou}}%
+%% Reprinted from
+\renewcommand{\BREPR}{\textgreek{Anat'upwsh ap'o}}%
+%% Websites; note the explicit spaces.
+\renewcommand{\BAvailFrom}{\textgreek{Diaj'esimo ap'o}\ }% Available from
+%% Retrieved ... from
+%% The argument is the date on which it was last checked.
+%% Correct only when ``date'' is full, not just month or year
+\renewcommand{\BRetrieved}[1]{%
+ \textgreek{Anakt'hjhke stis} {#1}, \textgreek{ap'o}\ }%
+\renewcommand{\BRetrievedFrom}{%
+ \textgreek{Anakt'hjhke stis} \textgreek{ap'o}\ }%
+% \end{macrocode}
+% If a URL follows without any leading words/phrase then this string
+% should be OK. If there is any other word before the URL then we
+% need to know its gender and number in order to produce the correct
+% translation. In the current \pkg{apacite} implementation, this is only
+% used with a URL immediately following, so we should be OK.
+% \begin{macrocode}
+%% Newsgroups, forums, etc.; ``Message posted to ''; note the space.
+\renewcommand{\BMsgPostedTo}{\textgreek{M'hnyma anarthm'eno se}\ }%
+%%
+%% Punctuation
+\renewcommand{\BBOP}{(}% opening parenthesis
+\renewcommand{\BBCP}{)}% closing parenthesis
+\renewcommand{\BBOQ}{}% opening quote for article title
+\renewcommand{\BBCQ}{}% closing quote for article title
+\renewcommand{\BBAA}{\&}% between authors in parenthetical cites and ref. list
+\renewcommand{\BBAB}{\textgreek{kai}}% between authors in text
+\renewcommand{\BAnd}{\&}% for ``Ed. \& Trans.'' in ref. list
+\DeclareRobustCommand{\BPBI}{.~}% Period between initials
+\DeclareRobustCommand{\BHBI}{.-}% Hyphen between initials
+\renewcommand{\BAP}{ }% after prefix, before first citation
+\renewcommand{\BBAY}{, }% between author(s) and year
+\renewcommand{\BBYY}{, }% between years of multiple citations with same author
+\renewcommand{\BBC}{; }% between cites
+\renewcommand{\BBN}{, }% before note
+\renewcommand{\BCBT}{,}% comma between authors in ref. list when no. of
+ %% authors = 2
+\renewcommand{\BCBL}{,}% comma before last author when no. of authors > 2
+%% Remove excess space with the natbibapa option
+\if@APAC@natbib@apa
+ \renewcommand{\BBAY}{,}%
+ \renewcommand{\BBYY}{,}%
+ \renewcommand{\BBC}{;}%
+\fi
+%%
+%% Date formatting. Adapted from babel's greek.dtx
+\renewcommand{\APACmonth}[1]{\textgreek{\ifcase #1\or
+ Ianouar'iou\or Febrouar'iou\or Mart'iou\or April'iou\or
+ Ma'"iou\or Ioun'iou\or Ioul'iou\or Augo'ustou\or
+ Septembr'iou\or Oktwbr'iou\or Noembr'iou\or Dekembr'iou\or
+ Qeim'wnas\or 'Anoixh\or Kaloka'iri\or Fjin'opwro\else
+ {#1}\fi}}%
+\renewcommand{\APACrefYearMonthDay}[3]{%
+ {\BBOP}{#1}% year (+ addendum); should not be empty
+ \ifx\@empty#3\@empty
+ \ifx\@empty#2\@empty
+ \else
+ \unskip, {#2}% month
+ \fi
+ \else
+ \unskip, {#3}% day
+ \ifx\@empty#2\@empty
+ \else
+ \unskip~{#2}% month
+ \fi
+ \fi
+ {\BBCP}% closing parenthesis
+}%
+%%
+% \end{macrocode}
+% The ordinal numbers are used only for editions in the current version of
+% \pkg{apacite}. Hence, we simply tag a ``|\textgreek{h}|'' to the number.
+% We could provide alternative versions later on if desired (see, e.g.,
+% \fname{french.apc}).
+% \begin{macrocode}
+%% Some macros that transform a number (say, `2') to an ordinal one (`2h').
+\renewcommand{\PrintOrdinal}[1]{%
+ \afterassignment\print@ordinal
+ \count@ 0#1\relax\@nil
+}%
+\def\print@ordinal#1#2\@nil{%
+ \ifx\relax#1\relax
+ \ifnum\count@>\z@
+ \CardinalNumeric\count@
+ \else
+ ??\textgreek{h}%
+ \fi
+ \else
+ \ifnum \count@>\z@ \number\count@ \fi
+ #1#2\relax
+ \fi
+}%
+\renewcommand{\CardinalNumeric}[1]{%
+ \number#1\relax
+ \if
+ \ifnum#1<14
+ \ifnum#1>\thr@@ T\else F\fi
+ \else
+ F%
+ \fi
+ T%
+ \textgreek{h}%
+ \else
+ \@xp\keep@last@digit\@xp#1\number#1\relax
+ \ifcase#1\textgreek{h}\or \textgreek{h}\else \textgreek{h}\fi
+ \fi
+}%
+% \end{macrocode}
+% Restore category code of |@| sign.
+% \begin{macrocode}
+\APACrestoreAtCode
+%</greek>
+% \end{macrocode}
+%
+%
+% \subsection{\fname{norsk.apc}}
+%
+% This file redefines the language-specific elements of \pkg{apacite}
+% for both Norwegian languages (Bokm{\aa}l and Nynorsk). In \pkg{babel}'s
+% setup, `norsk' is Bokm{\aa}l and `nynorsk' is a dialect of `norsk'.
+% This does not seem to reflect the relation between these languages
+% very well, but for compatibility with \pkg{babel} we use the same
+% file structure, i.e., \fname{norsk.apc} defines both languages.
+%
+% There are no official Norwegian translations of APA style. Some ideas
+% for this translation have been taken from \citeA{UIB08} and \citeA{UiO06}.
+%
+% \begin{macrocode}
+%<*norsk>
+%%
+%% norsk.apc - Norwegian Bokmal & Nynorsk versions of apacite elements.
+%% Version 1.1.
+%% Written by Karl Ove Hufthammer.
+%%
+% \end{macrocode}
+% A fancy way to store and restore the category code of the |@| sign,
+% per Heiko Oberdiek.
+% \begin{macrocode}
+\edef\APACrestoreAtCode{%
+ \catcode`@=\the\catcode`@\relax
+}%
+\makeatletter
+\renewcommand{\onemaskedcitationmsg}[1]{%
+ \emph{(#1\ citation removed for masked review)}}% !!! CHANGE
+\renewcommand{\maskedcitationsmsg}[1]{%
+ \emph{(#1\ citations removed for masked review)}}% !!! CHANGE
+\renewcommand{\refname}{Referanser}% Name of ref. list if it's a section.
+\renewcommand{\bibname}{Referanser}% Name of ref. list if it's a chapter.
+%% The name (heading) of the Author Index
+\renewcommand{\authorindexname}{Forfatterregister}%
+%%
+%% A note before the references if a meta-analysis is reported.
+\renewcommand{\APACmetaprenote}{%
+ Referanser merket med en stjerne viser til studier som er med i
+ metaanalysen.}
+%%
+%% Commands for specific types of @misc entries.
+\renewcommand{\bibmessage}{innlegg}%
+\renewcommand{\bibcomputerprogram}{dataprogram}%
+\renewcommand{\bibcomputerprogrammanual}{dataprogramh\aa ndbok}%
+\renewcommand{\bibcomputerprogramandmanual}{dataprogram og brukerh\aa ndbok}%
+\renewcommand{\bibcomputersoftware}{programvare}%
+\renewcommand{\bibcomputersoftwaremanual}{programvareh\aa ndbok}%
+\renewcommand{\bibcomputersoftwareandmanual}{programvare og brukerh\aa ndbok}%
+\renewcommand{\bibprogramminglanguage}{programmeringsspr\aa k}%
+%%
+%% Other labels
+\renewcommand{\bibnodate}{u.d.\hbox{}}% ``no date''
+\renewcommand{\BIP}{under publisering}% ``in press''
+\renewcommand{\BOthers}[1]{et al.\hbox{}}% ``and others''
+\renewcommand{\BOthersPeriod}[1]{et al.\hbox{}}% ``and others'', with a period
+\renewcommand{\BIn}{I}% % for ``In'' editor...
+\renewcommand{\Bby}{av}% % for ``by'' editor... (in reprints)
+\renewcommand{\BED}{red.\hbox{}}% % editor
+\renewcommand{\BEDS}{red.\hbox{}}% % editors
+\renewcommand{\BTRANS}{oms.\hbox{}}% % translator
+\renewcommand{\BTRANSS}{oms.\hbox{}}% % translators
+\renewcommand{\BTRANSL}{oms.\hbox{}}% % translation, for the year field
+\renewcommand{\BCHAIR}{ordstyrer}% % chair of symposium
+\renewcommand{\BCHAIRS}{ordstyrere}% % chairs
+\renewcommand{\BVOL}{vol.\hbox{}}% % volume
+\renewcommand{\BVOLS}{vol.\hbox{}}% % volumes
+\renewcommand{\BNUM}{nr.\hbox{}}% % number
+\renewcommand{\BNUMS}{nr.\hbox{}}% % numbers
+\renewcommand{\BEd}{utg.\hbox{}}% % edition
+\renewcommand{\BCHAP}{kap.\hbox{}}% % chapter
+\renewcommand{\BCHAPS}{kap.\hbox{}}% % chapters
+\renewcommand{\BPG}{s.\hbox{}}% % page
+\renewcommand{\BPGS}{s.\hbox{}}% % pages
+%% Default technical report type name.
+\renewcommand{\BTR}{Teknisk rapport}%
+%% Default PhD thesis type name.
+\renewcommand{\BPhD}{Akademisk avhandling}%
+%% Default unpublished PhD thesis type name.
+\renewcommand{\BUPhD}{Upublisert akademisk avhandling}%
+%% Default master's thesis type name.
+\renewcommand{\BMTh}{Masteroppgave}%
+%% Default unpublished master's thesis type name.
+\renewcommand{\BUMTh}{Upublisert masteroppgave}%
+%%
+\renewcommand{\BAuthor}{Forfatter}% ``Author'' if publisher = author
+\renewcommand{\BOWP}{Original publisert}% Original work published
+\renewcommand{\BREPR}{Opptrykk fra}% Reprinted from
+\renewcommand{\BAvailFrom}{Tilgjengelig fra\ }% Websites; note the space.
+%% The argument is the date on which it was last checked.
+\renewcommand{\BRetrieved}[1]{Hentet {#1} fra\ }% Websites; note the space.
+\renewcommand{\BRetrievedFrom}{Hentet fra\ }% Websites; note the space.
+\renewcommand{\BMsgPostedTo}{Innlegg p\aa \ }% Messages; note the space.
+% \end{macrocode}
+% To be in line with Norwegian rules of punctuation, a comma is never
+% used before `\&' or ``and'', and there is no space between initials.
+% \begin{macrocode}
+%%
+%% Punctuation
+\renewcommand{\BBOP}{(}% opening parenthesis
+\renewcommand{\BBCP}{)}% closing parenthesis
+\renewcommand{\BBOQ}{}% opening quote for article title
+\renewcommand{\BBCQ}{}% closing quote for article title
+\renewcommand{\BBAA}{\&}% between authors in parenthetical cites and ref. list
+\renewcommand{\BBAB}{og}% between authors in text
+\renewcommand{\BAnd}{\&}% for ``Ed. \& Trans.'' in ref. list
+\DeclareRobustCommand{\BPBI}{.}% Period between initials; no space
+\DeclareRobustCommand{\BHBI}{.-}% Hyphen between initials
+\renewcommand{\BAP}{ }% after prefix, before first citation
+\renewcommand{\BBAY}{, }% between author(s) and year
+\renewcommand{\BBYY}{, }% between years of multiple citations with same author
+\renewcommand{\BBC}{; }% between cites
+\renewcommand{\BBN}{, }% before note
+\renewcommand{\BCBT}{}% no comma between authors in ref. list when no. of
+ %% authors = 2
+\renewcommand{\BCBL}{}% no comma before last author when no. of authors > 2
+%% Remove excess space with the natbibapa option
+\if@APAC@natbib@apa
+ \renewcommand{\BBAY}{,}%
+ \renewcommand{\BBYY}{,}%
+ \renewcommand{\BBC}{;}%
+\fi
+%%
+%% Date formatting; adapted from babel's norsk.dtx
+\renewcommand{\APACmonth}[1]{\ifcase #1\or
+ januar\or februar\or mars\or april\or mai\or juni\or
+ juli\or august\or september\or oktober\or november\or desember\or
+ vinter\or v{\aa}r\or sommer\or h{\o}st\else
+ {#1}\fi}%
+\renewcommand{\APACrefYearMonthDay}[3]{%
+ {\BBOP}{#1}% year (+ addendum); should not be empty
+ \ifx\@empty#3\@empty
+ \ifx\@empty#2\@empty
+ \else
+ \unskip, {#2}% month
+ \fi
+ \else
+ \unskip, {#3}.% day
+ \ifx\@empty#2\@empty
+ \else
+ \unskip~{#2}% month
+ \fi
+ \fi
+ {\BBCP}% closing parenthesis
+}%
+%% Some macros that transform a number (say, `2') to an ordinal one (`2nd')
+\renewcommand{\PrintOrdinal}[1]{%
+ \afterassignment\print@ordinal
+ \count@ 0#1\relax\@nil
+}%
+\def\print@ordinal#1#2\@nil{%
+ \ifx\relax#1\relax
+ \ifnum\count@>\z@
+ \CardinalNumeric\count@
+ \else
+ ??.%
+ \fi
+ \else
+ \ifnum \count@>\z@ \number\count@ \fi
+ #1#2\relax
+ \fi
+}%
+% \end{macrocode}
+% Norwegian ordinal numbers are always obtained by simply putting a period
+% after the number, so this (and perhaps the code above) can be significantly
+% simplified. However, because I (EM) have trouble understanding this code (from
+% the \pkg{amsrefs} package) and experimenting did not give the expected
+% results, I won't mess with the code too much and stay close to the
+% English code.
+% \begin{macrocode}
+\renewcommand{\CardinalNumeric}[1]{%
+ \number#1\relax
+ \if
+ \ifnum#1<14
+ \ifnum#1>\thr@@ T\else F\fi
+ \else
+ F%
+ \fi
+ T%
+ .%
+ \else
+ \@xp\keep@last@digit\@xp#1\number#1\relax
+ \ifcase#1.\else .\fi
+ \fi
+}%
+%%
+%% Differences between norsk (bokmal) and nynorsk.
+\edef\APACnynorsk{\string nynorsk}%
+\ifx\languagename\APACnynorsk
+ \renewcommand{\refname}{Referansar}% Name of ref. list if it's a section.
+ \renewcommand{\bibname}{Referansar}% Name of ref. list if it's a chapter.
+ \renewcommand{\authorindexname}{Forfattarregister}%
+ \renewcommand{\APACmetaprenote}{%
+ Referansar merkte med ei stjerne viser til studiar som er med i
+ metaanalysen.}%
+ \renewcommand{\bibcomputerprogrammanual}{dataprogramhandbok}%
+ \renewcommand{\bibcomputerprogramandmanual}{dataprogram og brukarhandbok}%
+ \renewcommand{\bibcomputersoftwaremanual}{programvarehandbok}%
+ \renewcommand{\bibcomputersoftwareandmanual}{programvare og brukarhandbok}%
+ \renewcommand{\BCHAIR}{ordstyrar}% % chair of symposium
+ \renewcommand{\BCHAIRS}{ordstyrarar}% % chairs
+ %% Default master's thesis type name.
+ \renewcommand{\BMTh}{Masteroppg\aa ve}%
+ %% Default unpublished master's thesis type name.
+ \renewcommand{\BUMTh}{Upublisert masteroppg\aa ve}%
+ \renewcommand{\BAuthor}{Forfattar}% ``Author'' if publisher = author
+ \renewcommand{\BREPR}{Opptrykk fr\aa }% Reprinted from
+ \renewcommand{\BAvailFrom}{Tilgjengeleg fr\aa \ }% Websites; note the space.
+ \renewcommand{\BRetrieved}[1]{Henta {#1} fr\aa \ }% Websites; note the space.
+ \renewcommand{\APACmonth}[1]{\ifcase #1\or
+ januar\or februar\or mars\or april\or mai\or juni\or
+ juli\or august\or september\or oktober\or november\or desember\or
+ vinter\or v{\aa}r\or sommar\or haust\else
+ {#1}\fi}%
+\fi
+\let\APACnynorsk\undefined
+% \end{macrocode}
+% Restore category code of |@| sign.
+% \begin{macrocode}
+\APACrestoreAtCode
+%</norsk>
+% \end{macrocode}
+%
+%
+% \subsection{\fname{spanish.apc}}
+%
+% This file redefines the language-specific elements of \pkg{apacite}
+% for the Spanish language. Note that \pkg{apacite}'s usage of |<| and
+% |>| for pre-notes, as in |\cite<e.g.,>{jones06}| (inherited from its
+% predecessor, \fname{theapa.sty}), conflicts with \pkg{babel}'s
+% \pkgoption{spanish} option, which makes |<| and |>| active characters.
+% Hence, either you must avoid using prenotes with \pkg{apacite}'s
+% construction or you must disable \pkg{babel}'s behavior by inserting
+% the command \cmd{\deactivatequoting} after loading \pkg{babel}.
+%
+% \begin{macrocode}
+%<*spanish>
+%%
+%% spanish.apc - Versi\'on espa\~nola de elementos en apacite
+%% Escrito por Jorge L\'opez Puga
+%%
+% \end{macrocode}
+% A fancy way to store and restore the category code of the |@| sign,
+% per Heiko Oberdiek.
+% \begin{macrocode}
+\edef\APACrestoreAtCode{%
+ \catcode`@=\the\catcode`@\relax
+}%
+\makeatletter
+%% El nombre (del encabezado) de la Lista Referencias
+%% Nombre de la lista de ref. si es una secci\'on.
+\renewcommand{\refname}{Referencias}%
+%% Nomber de la lista de refs. si es un cap\'{\i}tulo.
+\renewcommand{\bibname}{Referencias}%
+%% El nombre (del encabezado) del \'Indice de Autores.
+\renewcommand{\authorindexname}{\'Indice de Autores}%
+%% Nota previa usada justo antes de la lista de referencias si un
+%% meta-an\'alisis es usado.
+\renewcommand{\APACmetaprenote}{%
+ Las referencias marcadas con un asterisco indican estudios incluidos en
+ el meta-an\'alisis.}%
+%% Comandos para tipos espec\'{\i}ficos de entradas @misc.
+\renewcommand{\bibmessage}{Msj}%
+\renewcommand{\bibcomputerprogram}{Programa inform\'atico}%
+\renewcommand{\bibcomputerprogrammanual}{Manual de programa inform\'atico}%
+\renewcommand{\bibcomputerprogramandmanual}{Programa inform\'atico y manual}%
+\renewcommand{\bibcomputersoftware}{Software inform\'atico}%
+\renewcommand{\bibcomputersoftwaremanual}{Manual de software inform\'atico}%
+\renewcommand{\bibcomputersoftwareandmanual}{Manual y software inform\'atico}%
+\renewcommand{\bibprogramminglanguage}{Lenguaje de programaci\'on}%
+%%
+%% Otras etiquetas
+\renewcommand{\bibnodate}{s.f.\hbox{}}% ``sin fecha''
+\renewcommand{\BIP}{en prensa}% Usado como a\~no para citas ``en prensa''
+%%
+%% El argumento contiene un punto, por tanto, evita poner uno adicional en
+%% la lista de referencias. No obstante algunas revistas aceptan ``et al.''
+%% que es lo que aparece por defecto.
+\renewcommand{\BOthers}[1]{y cols.\hbox{}}% ``y colaboradores''
+\renewcommand{\BOthersPeriod}[1]{y cols.\hbox{}}% ``y colaboradores''
+%%
+\renewcommand{\BIn}{En}% Para ``En'' editor...
+\renewcommand{\Bby}{por}% ``by'' editor (in reprints)
+\renewcommand{\BED}{Ed.\hbox{}}% editor
+\renewcommand{\BEDS}{Eds.\hbox{}}% editors
+\renewcommand{\BTRANS}{Traduc.\hbox{}}% traductor
+\renewcommand{\BTRANSS}{Traducs.\hbox{}}% traductores
+\renewcommand{\BTRANSL}{traduc.\hbox{}}% traducci\'on, para el campo a\~no
+\renewcommand{\BCHAIR}{Presidente}% Presidente/a de congreso
+\renewcommand{\BCHAIRS}{Presidencia}% Presidencia
+\renewcommand{\BVOL}{Vol.\hbox{}}% volume
+\renewcommand{\BVOLS}{Vols.\hbox{}}% volumes
+\renewcommand{\BNUM}{n\sptext{o}}% number
+\renewcommand{\BNUMS}{n\sptext{os}}% numbers
+\renewcommand{\BEd}{ed.\hbox{}}% edition
+\renewcommand{\BCHAP}{cap.\hbox{}}% cap\'{\i}tulo
+\renewcommand{\BCHAPS}{caps.\hbox{}}% cap\'{\i}tulos
+\renewcommand{\BPG}{p.\hbox{}}% page
+\renewcommand{\BPGS}{pp.\hbox{}}% pages
+%% Default technical report type name. --- Informe T\'ecnico
+\renewcommand{\BTR}{Inf.\ T\'ec.\hbox{}}%
+%% (por defecto) PhD thesis type name --- Tesis Doctoral
+\renewcommand{\BPhD}{Tesis Doctoral}%
+%% (por defecto) unpublished PhD thesis type name
+%% --- Tesis Doctoral no publicada
+\renewcommand{\BUPhD}{Tesis Doctoral no publicada}%
+%% (por defecto) master's thesis type name --- Tesis de Master
+\renewcommand{\BMTh}{Tesis de Master}%
+%% (por defecto) unpublished master's thesis type name
+%% --- Tesis de Master no publicada
+\renewcommand{\BUMTh}{Tesis de Master no publicada}%
+%%
+\renewcommand{\BAuthor}{Autor}% ``Author'' if publisher = author
+\renewcommand{\BOWP}{Trabajo original publicado en}% Original work published
+\renewcommand{\BREPR}{Reimpresi\'on de}% Reprinted from
+%%
+%% Websites and messages to newsgroups, forums, etc.; note the spaces.
+\renewcommand{\BAvailFrom}{Disponible en\ }% Available from
+%% The argument is the date on which it was last checked.
+\renewcommand{\BRetrieved}[1]{Descargado {#1}, de\ }% Retrieved ... from
+\renewcommand{\BRetrievedFrom}{Descargado de\ }% Retrieved from
+\renewcommand{\BMsgPostedTo}{Mensaje colgado en\ }% Message posted to
+%%
+%% Punctuation
+\renewcommand{\BBOP}{(}% opening parenthesis
+\renewcommand{\BBCP}{)}% closing parenthesis
+\renewcommand{\BBOQ}{}% opening quote for article title
+\renewcommand{\BBCQ}{}% closing quote for article title
+
+\renewcommand{\BBAA}{y}% Letra que va entre los autores en las referencias
+\renewcommand{\BBAB}{y}% Entre autores en el texto
+\renewcommand{\BAnd}{y}% for ``Ed. \& Trans.'' in ref. list
+\DeclareRobustCommand{\BPBI}{.~}% Period between initials
+\DeclareRobustCommand{\BHBI}{.-}% Hyphen between initials
+\renewcommand{\BAP}{ }% after prefix, before first citation
+\renewcommand{\BBAY}{, }% between author(s) and year
+\renewcommand{\BBYY}{, }% between years of multiple citations with same author
+\renewcommand{\BBC}{; }% between cites
+\renewcommand{\BBN}{, }% before note
+\renewcommand{\BCBT}{,}% comma between authors in ref. list when no. of
+ %% authors = 2
+\renewcommand{\BCBL}{,}% comma before last author when no. of authors > 2
+%% Remove excess space with the natbibapa option
+\if@APAC@natbib@apa
+ \renewcommand{\BBAY}{,}%
+ \renewcommand{\BBYY}{,}%
+ \renewcommand{\BBC}{;}%
+\fi
+%%
+%% Date formatting; adapted from babel's spanish.dtx
+\renewcommand{\APACmonth}[1]{\ifcase #1\or enero\or febrero\or
+ marzo\or abril\or mayo\or junio\or julio\or agosto\or
+ septiembre\or octubre\or noviembre\or diciembre\or
+ invierno\or primavera\or verano\or oto\~no\else
+ {#1}\fi}%
+\renewcommand{\APACrefYearMonthDay}[3]{%
+ {\BBOP}{#1}% year (+ addendum); should not be empty
+ \ifx\@empty#3\@empty
+ \ifx\@empty#2\@empty
+ \else
+ \unskip, {#2}% month --- mes
+ \fi
+ \else
+ \unskip, {#3}% day --- d\'ia
+ \ifx\@empty#2\@empty
+ \else
+ \unskip~de {#2}% month --- mes
+ \fi
+ \fi
+ {\BBCP}% closing parenthesis
+}%
+%% Some macros that transform a number (say, `2') to an ordinal one (`2nd')
+\renewcommand{\PrintOrdinal}[1]{%
+ \afterassignment\print@ordinal
+ \count@ 0#1\relax\@nil
+}%
+\def\print@ordinal#1#2\@nil{%
+ \ifx\relax#1\relax
+ \ifnum\count@>\z@
+ \CardinalNumeric\count@
+ \else
+ ??\sptext{a}%
+ \fi
+ \else
+ \ifnum \count@>\z@ \number\count@ \fi
+ #1#2\relax
+ \fi
+}%
+% \end{macrocode}
+% Spanish ordinal numbers are always obtained by putting
+% ``.\textsuperscript{a}'' after the number, at least for editions.
+% Therefore, the code here can be significantly simplified. However,
+% because I have trouble understanding this code (from the \pkg{amsrefs}
+% package) and experimenting did not give the expected results, I won't
+% mess with the code too much and stay close to the English code.
+% We use the \cmd{\sptext} command from \pkg{babel}'s \fname{spanish.dtx},
+% which formats the ``.\textsuperscript{a}'' slightly differently.
+% \begin{macrocode}
+\renewcommand{\CardinalNumeric}[1]{%
+ \number#1\relax
+ \if
+ \ifnum#1<14
+ \ifnum#1>\thr@@ T\else F\fi
+ \else
+ F%
+ \fi
+ T%
+ \sptext{a}%
+ \else
+ \@xp\keep@last@digit\@xp#1\number#1\relax
+ \ifcase#1\sptext{a}\else \sptext{a}\fi
+ \fi
+}%
+% \end{macrocode}
+% Some code for using `e' instead of `y' in Spanish if the following
+% name starts with `I'.
+% \begin{macrocode}
+\def\usespanishe#1{%
+ \@bsphack
+ \@for\@citeb:=#1\do{%
+ \edef\@citeb{\expandafter\@firstofone\@citeb}%
+ \@ifundefined{spanishe@\@citeb\APAC@extra@b@citeb}%
+ {\global\expandafter
+ \def\csname spanishe@\@citeb\APAC@extra@b@citeb\endcsname{DUMMY}%
+ }%
+ {}%
+ }%
+ \@esphack
+}
+\def\APACinsertmetastar#1{%
+ \@for\@citeb:=#1\do{%
+ \edef\@citeb{\expandafter\@firstofone\@citeb}%
+ \@ifundefined{flagmeta@\@citeb\APAC@extra@b@citeb}%
+ {}% skip
+ {{\APACmetastar}}%
+ \@ifundefined{spanishe@\@citeb\APAC@extra@b@citeb}%
+ {}% skip
+ {{% Use `e' instead of `y' in Spanish
+ \global\let\oldBBA\BBA
+ \global\def\BBA{e\global\let\BBA\oldBBA}%
+ }}%
+ }%
+}%
+\def\@ifauthorsunequalc@de#1{%
+ \if@F@cite
+ \@F@citefalse
+ \else
+ \if@Y@cite
+ {\@BAY}%
+ \fi
+ {\@BBC}%
+ \fi
+ \edef\@cite@undefined{?}%
+ \def\BBA{\@BBA}%
+ \@ifundefined{spanishe@\@citeb\APAC@extra@b@citeb}%
+ {}% skip
+ {{% Use `e' instead of `y' in Spanish
+ \global\let\oldBBA\BBA
+ \global\def\BBA{e\global\let\BBA\oldBBA}%
+ }}%
+ \if@A@cite
+ \hyper@natlinkstart{#1}%
+ {\csname b@\@citeb\APAC@extra@b@citeb\endcsname}%
+ \hyper@natlinkend
+ \if@Y@cite
+ {\@BBAY}%
+ \fi
+ \fi
+ \if@Y@cite
+ \hyper@natlinkstart{#1}%
+ {\csname Y@\@citeb\APAC@extra@b@citeb\endcsname}%
+ \hyper@natlinkend
+ \fi
+ \let\BBA\relax
+}%
+% \end{macrocode}
+% Restore category code of |@| sign.
+% \begin{macrocode}
+\APACrestoreAtCode
+%</spanish>
+% \end{macrocode}
+%
+%
+% \subsection{\fname{swedish.apc}}
+%
+% This file redefines the language-specific elements of \pkg{apacite}
+% for the Swedish language. Translation of APA elements into Swedish
+% is not obvious. Ideas of which terms to use have been taken from
+% \citeA{Erik01}, \citeA{Johnsson}, and \citeA{GU94}.
+%
+% \begin{macrocode}
+%<*swedish>
+%%
+%% swedish.apc - swedish translation of apacite elements
+%% Written by Stefan Bjork.
+%% Small adaptations by Erik Meijer
+%%
+% \end{macrocode}
+% A fancy way to store and restore the category code of the |@| sign,
+% per Heiko Oberdiek.
+% \begin{macrocode}
+\edef\APACrestoreAtCode{%
+ \catcode`@=\the\catcode`@\relax
+}%
+\makeatletter
+\renewcommand{\onemaskedcitationmsg}[1]{%
+ \emph{(#1\ citation removed for masked review)}}% !!! CHANGE
+\renewcommand{\maskedcitationsmsg}[1]{%
+ \emph{(#1\ citations removed for masked review)}}% !!! CHANGE
+%%
+%% Name of ref. list if it's a section.
+\renewcommand{\refname}{Referenser}%
+%% Name of ref. list if it's a chapter.
+\renewcommand{\bibname}{Litteraturf\"orteckning}%
+%% Author Index
+\renewcommand{\authorindexname}{F\"orfattarindex}%
+%%
+%% A note before the references if a meta-analysis is reported.
+\renewcommand{\APACmetaprenote}{%
+ Referenser markerade med stj\"arna avser studier inkluderade i
+ metaanalys.}%
+%%
+%% Commands for specific types of @misc entries.
+\renewcommand{\bibmessage}{meddelande}%
+\renewcommand{\bibcomputerprogram}{datorprogram}%
+\renewcommand{\bibcomputerprogrammanual}{handbok till datorprogram}%
+\renewcommand{\bibcomputerprogramandmanual}{datorprogram och handbok}%
+\renewcommand{\bibcomputersoftware}{mjukvara}%
+\renewcommand{\bibcomputersoftwaremanual}{handbok till mjukvara}%
+\renewcommand{\bibcomputersoftwareandmanual}{mjukvara och handbok}%
+\renewcommand{\bibprogramminglanguage}{programmeringsspr{\aa}k}%
+%%
+%% Other labels
+\renewcommand{\bibnodate}{u.~\aa{}.\hbox{}}% ``no date''
+\renewcommand{\BIP}{i tryck}% ``in press''
+\renewcommand{\BOthers}[1]{m.~fl.\hbox{}}% ``and others''
+\renewcommand{\BOthersPeriod}[1]{m.~fl.\hbox{}}% ``and others'', with a period
+\renewcommand{\BIn}{I}% for ``In'' editor...
+\renewcommand{\Bby}{av}% for ``by'' editor... (in reprints)
+\renewcommand{\BED}{red.\hbox{}}% editor
+\renewcommand{\BEDS}{red.\hbox{}}% editors
+\renewcommand{\BTRANS}{\"overs.\hbox{}}% translator
+\renewcommand{\BTRANSS}{\"overs.\hbox{}}% translators
+\renewcommand{\BTRANSL}{\"overs.\hbox{}}% translation, for the year field
+\renewcommand{\BCHAIR}{ordf\"orande}% chair of symposium
+\renewcommand{\BCHAIRS}{ordf\"oranden}% chairs
+\renewcommand{\BVOL}{vol.\hbox{}}% volume
+\renewcommand{\BVOLS}{vol.\hbox{}}% volumes
+\renewcommand{\BNUM}{nr.\hbox{}}% number
+\renewcommand{\BNUMS}{nr.\hbox{}}% numbers
+\renewcommand{\BEd}{utg{\aa}van}% edition
+\renewcommand{\BCHAP}{kap.\hbox{}}% chapter
+\renewcommand{\BCHAPS}{kap.\hbox{}}% chapters
+\renewcommand{\BPG}{s.\hbox{}}% page
+\renewcommand{\BPGS}{s.\hbox{}}% pages
+%% Default technical report type name.
+\renewcommand{\BTR}{forskningsrapport}%
+%% Default PhD thesis type name.
+\renewcommand{\BPhD}{doktorsavhandling}%
+%% Default unpublished PhD thesis type name.
+\renewcommand{\BUPhD}{opublicerad doktorsavhandling}%
+%% Default master's thesis type name.
+\renewcommand{\BMTh}{examensuppsats}%
+%% Default unpublished master's thesis type name.
+\renewcommand{\BUMTh}{opublicerad examensuppsats}%
+%%
+\renewcommand{\BAuthor}{F\"orfattare}% ``Author'' if publisher = author
+\renewcommand{\BOWP}{Original publicerat}% Original work published
+\renewcommand{\BREPR}{{\AA}terutgivning fr{\aa}n}% Reprinted from
+\renewcommand{\BAvailFrom}{Tillg\"anglig fr{\aa}n\ }% Websites; note the space.
+%% The argument is the date on which it was last checked.
+\renewcommand{\BRetrieved}[1]{H\"amtad {#1}, fr{\aa}n\ }% Websites; note the space.
+\renewcommand{\BRetrievedFrom}{H\"amtad fr{\aa}n\ }% Websites; note the space.
+\renewcommand{\BMsgPostedTo}{Meddelande postat till\ }% Messages; note the space.
+%%
+%% Punctuation
+\renewcommand{\BBOP}{(}% opening parenthesis
+\renewcommand{\BBCP}{)}% closing parenthesis
+\renewcommand{\BBOQ}{}% opening quote for article title
+\renewcommand{\BBCQ}{}% closing quote for article title
+\renewcommand{\BBAA}{\&}% between authors in parenthetical cites and ref. list
+\renewcommand{\BBAB}{och}% between authors in text
+\renewcommand{\BAnd}{\&}% for ``Ed. \& Trans.'' in ref. list
+\DeclareRobustCommand{\BPBI}{. }% Period between initials
+\DeclareRobustCommand{\BHBI}{.-}% Hyphen between initials
+\renewcommand{\BAP}{ }% after prefix, before first citation
+\renewcommand{\BBAY}{, }% between author(s) and year
+\renewcommand{\BBYY}{, }% between years of multiple citations with same author
+\renewcommand{\BBC}{; }% between cites
+\renewcommand{\BBN}{, }% before note
+\renewcommand{\BCBT}{}% no comma between authors in ref. list when no. of
+ %% authors = 2
+\renewcommand{\BCBL}{}% no comma before last author when no. of authors > 2
+%% Remove excess space with the natbibapa option
+\if@APAC@natbib@apa
+ \renewcommand{\BBAY}{,}%
+ \renewcommand{\BBYY}{,}%
+ \renewcommand{\BBC}{;}%
+\fi
+%%
+%% Date formatting; adapted from babel's swedish.dtx
+\renewcommand{\APACmonth}[1]{\ifcase #1\or
+ januari\or februari\or mars\or april\or maj\or juni\or
+ juli\or augusti\or september\or oktober\or november\or
+ december\or
+ vinter\or v{\aa}r\or sommar\or h\"ost\else
+ {#1}\fi}%
+%% Numbered version, which is preferred in the form ``(2008, 21/2)''.
+\def\APACswedishnumberedmonth#1{\ifcase #1\or
+ 1\or 2\or 3\or 4\or 5\or 6\or
+ 7\or 8\or 9\or 10\or 11\or 12\or
+ vinter\or v{\aa}r\or sommar\or h\"ost\else
+ {#1}\fi}%
+\renewcommand{\APACrefYearMonthDay}[3]{%
+ {\BBOP}{#1}% year (+ addendum); should not be empty
+ \ifx\@empty#3\@empty
+ \ifx\@empty#2\@empty
+ \else
+ %% Use full month if there is no day.
+ \unskip, {#2}% month
+ \fi
+ \else
+ \unskip, {#3}% day
+ \ifx\@empty#2\@empty
+ \else
+ %% Use numbered month if there is a day as well.
+ \let\APACorigmonth\APACmonth
+ \let\APACmonth\APACswedishnumberedmonth
+ \unskip{}/{#2}% month
+ \let\APACmonth\APACorigmonth
+ \let\APACorigmonth\@undefined
+ \fi
+ \fi
+ {\BBCP}% closing parenthesis
+}%
+%% Some macros that transform a number (say, `2') to an ordinal one (`2nd')
+\renewcommand{\PrintOrdinal}[1]{%
+ \afterassignment\print@ordinal
+ \count@ 0#1\relax\@nil
+}%
+\def\print@ordinal#1#2\@nil{%
+ \ifx\relax#1\relax
+ \ifnum\count@>\z@
+ \CardinalNumeric\count@
+ \else
+ ??:e%
+ \fi
+ \else
+ \ifnum \count@>\z@ \number\count@ \fi
+ #1#2\relax
+ \fi
+}%
+% \end{macrocode}
+% In swedish, ``1st'' = ``1:a'', ``2nd'' = ``2:a'', everything else =
+% ``:e''. From 20 onwards, if the last digit is 1 or 2, ``:a'' should
+% be used, and otherwise ``:e''.
+% \begin{macrocode}
+\renewcommand{\CardinalNumeric}[1]{%
+ \number#1\relax
+ \if
+ \ifnum#1<14
+ \ifnum#1>\thr@@ T\else F\fi
+ \else
+ F%
+ \fi
+ T%
+ :e%
+ \else
+ \@xp\keep@last@digit\@xp#1\number#1\relax
+ \ifcase#1:e\or :a\or :a\or :e\or :e\or :e\or :e\or :e\or :e\or
+ :e\else :e\fi
+ \fi
+}%
+% \end{macrocode}
+% Restore category code of |@| sign.
+% \begin{macrocode}
+\APACrestoreAtCode
+%</swedish>
+% \end{macrocode}
+%
+% \section{Bibliography database (\fname{apa5ex.bib})}
+%
+% This file includes the reference entries of all examples in the
+% APA manual, which are all formatted in the \pkg{apacite} reference
+% manual. As such, it shows how ordinary and (especially) difficult
+% items can be formatted.
+%
+% \subsection{References from the 5th edition of the Publication Manual}
+%
+% This includes some additional references that test some rules that are
+% mentioned in the text.
+% \begin{macrocode}
+%<*bibdb>
+%%
+%% apa5ex.bib: References from the 5th edition of the Publication Manual
+%% of the APA, plus a few additional references
+%% Written by Erik Meijer
+
+%% Entry labels are section number of the APA manual (5th ed.)
+%% plus a sequence number within the section.
+
+@misc{3.94-1,
+ author = {Walker},
+ year = {2000},
+ type = {Unknown},
+}
+
+@misc{3.95-1,
+ author = {Wasserstein and Zappulla and Rosen and Gerstman and Rock},
+ year = {1994},
+ type = {Unknown},
+}
+
+@misc{3.95-2,
+ author = {Bradley and Ramirez and Soo},
+ year = {1994},
+ type = {Unknown},
+}
+
+@misc{3.95-3,
+ author = {Bradley and Soo and Ramirez and Brown},
+ year = {1994},
+ type = {Unknown},
+}
+
+@misc{3.95-4,
+ author = {Kosslyn and Koenig and Barrett and Cave and Tang and Gabrieli},
+ year = {1996},
+ type = {Unknown},
+}
+
+@misc{3.95-5,
+ author = {Kosslyn and Koenig and Gabrieli and Tang and Marsolek and Daly},
+ year = {1996},
+ type = {Unknown},
+}
+
+@misc{3.95-6,
+ author = {Nightlinger and Littlewood},
+ year = {1993},
+ type = {Unknown},
+}
+
+@book{3.95-7,
+ author = {J{\"{o}}reskog, K[arl] G. and S{\"{o}}rbom, D[ag]},
+ year = {1989},
+ title = {{LISREL} 7: {A} Guide to the Program and Applications},
+ edition = {2},
+ address = {Chicago},
+ publisher = {SPSS},
+}
+
+@misc{3.96-1,
+ author = {{\bibcorporate{National Institute of Mental Health}}},
+ firstkey = {{National Institute of Mental Health [NIMH]}},
+ key = {{NIMH}},
+ year = {1999},
+ type = {Unknown},
+}
+
+@misc{3.96-2,
+ author = {{\bibcorporate{University of Pittsburgh}}},
+ year = {1993},
+ type = {Unknown},
+}
+
+@book{3.96-3,
+ author = {{\bibcorporate{Koninklijke Nederlandse Schaakbond}}},
+ firstkey = {{Koninklijke Nederlandse Schaakbond [KNSB]}},
+ key = {{KNSB}},
+ year = {2003},
+ title = {Jaarverslag 2002},
+ englishtitle = {Annual Report 2002},
+ address = {Amsterdam},
+ publisher = {{\bibcorporate{Koninklijke Nederlandse Schaakbond}}},
+ note = {Fake entry to study sorting and citing of references with
+ same key, but with different firstkey.},
+}
+
+@book{3.96-4,
+ author = {{\bibcorporate{Koninklijke Nederlandse Schaakbond}}},
+ firstkey = {{Koninklijke Nederlandse Schaakbond [KNSB]}},
+ key = {{KNSB}},
+ year = {2004},
+ title = {Jaarverslag 2003},
+ englishtitle = {Annual Report 2003},
+ address = {Amsterdam},
+ publisher = {{\bibcorporate{Koninklijke Nederlandse Schaakbond}}},
+ note = {Fake entry to study sorting and citing of references with
+ same key, but with different firstkey.},
+}
+
+@book{3.96-5,
+ author = {{\bibcorporate{Koninklijke Nederlandse Schaatsbond}}},
+ firstkey = {{Koninklijke Nederlandse Schaatsbond [KNSB]}},
+ key = {{KNSB}},
+ year = {2003},
+ title = {Jaarverslag 2002},
+ englishtitle = {Annual Report 2002},
+ address = {Amsterdam},
+ publisher = {{\bibcorporate{Koninklijke Nederlandse Schaatsbond}}},
+ note = {Fake entry to study sorting and citing of references with
+ same key, but with different firstkey.},
+}
+
+@book{3.96-6,
+ author = {{\bibcorporate{Koninklijke Nederlandse Schaatsbond}}},
+ firstkey = {{Koninklijke Nederlandse Schaatsbond [KNSB]}},
+ key = {{KNSB}},
+ year = {2004},
+ title = {Jaarverslag 2003},
+ englishtitle = {Annual Report 2003},
+ address = {Amsterdam},
+ publisher = {{\bibcorporate{Koninklijke Nederlandse Schaatsbond}}},
+ note = {Fake entry to study sorting and citing of references with
+ same key, but with different firstkey.},
+}
+
+@magazine{3.97-1,
+ key = {{\APACciteatitle{Study Finds}}},
+ year = {1982},
+ month = apr,
+ title = {Study Finds Free Care Used More},
+ journal = {{APA} Monitor},
+ pages = {14},
+}
+
+@book{3.97-2,
+ year = {1979},
+ title = {College Bound Seniors},
+ address = {Princeton, NJ},
+ publisher = {College Board Publications},
+}
+
+@misc{3.97-3,
+ author = {Anonymous},
+ year = {1998},
+ type = {Unknown},
+}
+
+@newspaper{3.97-4,
+ year = {2002},
+ month = mar,
+ day = {3},
+ title = {Editorial},
+ journal = {The Edited Newspaper},
+ pages = {2},
+ note = {Fake entry to study sorting and citing of references without
+ author, but with the same title.},
+}
+
+@newspaper{3.97-5,
+ year = {2003},
+ month = feb,
+ day = {12},
+ title = {Editorial},
+ journal = {The Edited Newspaper},
+ pages = {2},
+ note = {Fake entry to study sorting and citing of references without
+ author, but with the same title.},
+}
+
+@newspaper{3.97-6,
+ year = {2003},
+ month = jan,
+ day = {24},
+ title = {Editorial},
+ journal = {The Edited Newspaper},
+ pages = {2},
+ note = {Fake entry to study sorting and citing of references without
+ author, but with the same title.},
+}
+
+@book{3.98-1,
+ author = {Luce, R. Duncan},
+ year = {1959},
+ title = {Individual Choice Behavior},
+ address = {New York},
+ publisher = {Wiley},
+}
+
+@misc{3.98-2,
+ author = {Luce, P. A.},
+ year = {1986},
+ type = {Unknown},
+}
+
+@misc{3.98-3,
+ author = {Goldberg, J. M. and Neff},
+ year = {1961},
+ type = {Unknown},
+}
+
+@misc{3.98-4,
+ author = {Goldberg, M. E. and Wurtz},
+ year = {1972},
+ type = {Unknown},
+}
+
+@misc{3.99-1,
+ author = {Edeline and Weinberger},
+ year = {1991},
+ type = {Unknown},
+}
+
+@misc{3.99-2,
+ author = {Edeline and Weinberger},
+ year = {1993},
+ type = {Unknown},
+}
+
+@misc{3.99-3,
+ author = {Gogel},
+ year = {1984},
+ type = {Unknown},
+}
+
+@misc{3.99-4,
+ author = {Gogel},
+ year = {1990},
+ type = {Unknown},
+}
+
+@misc{3.99-5,
+ author = {Gogel},
+ year = {\BIP},
+ type = {Unknown},
+}
+
+@misc{3.99-6,
+ author = {Johnson},
+ year = {1991},
+ title = {Aaa},
+}
+
+@misc{3.99-7,
+ author = {Johnson},
+ year = {1991},
+ title = {Bbb},
+}
+
+@misc{3.99-8,
+ author = {Johnson},
+ year = {1991},
+ title = {Ccc},
+}
+
+@misc{3.99-9,
+ author = {Singh},
+ year = {1983},
+ type = {Unknown},
+}
+
+@misc{3.99-10,
+ author = {Singh},
+ year = {\BIP},
+ title = {Aaa},
+}
+
+@misc{3.99-11,
+ author = {Singh},
+ year = {\BIP},
+ title = {Bbb},
+}
+
+@misc{3.99-12,
+ author = {Balda},
+ year = {1980},
+ type = {Unknown},
+}
+
+@misc{3.99-13,
+ author = {Kamil},
+ year = {1988},
+ type = {Unknown},
+}
+
+@misc{3.99-14,
+ author = {Pepperberg and Funk},
+ year = {1990},
+ type = {Unknown},
+}
+
+@misc{3.99-15,
+ author = {Minor},
+ year = {2001},
+ type = {Unknown},
+}
+
+@misc{3.99-16,
+ author = {Adams},
+ year = {1999},
+ type = {Unknown},
+}
+
+@misc{3.99-17,
+ author = {Storandt},
+ year = {1997},
+ type = {Unknown},
+}
+
+@misc{3.100-1,
+ author = {Author},
+ year = {\bibnodate},
+ type = {Unknown},
+ note = {no example, but rule given in text},
+}
+
+@misc{3.100-1b,
+ author = {Author},
+ year = {2003 version},
+ type = {Unknown},
+ note = {no example, but rule given in text},
+}
+
+@book{3.100-2,
+ author = {Aristotle},
+ year = {1931},
+ title = {Unknown},
+ translator = {Someone},
+ originalyear = {\bibnodate},
+}
+
+@book{3.100-3,
+ author = {James},
+ year = {1983},
+ title = {Unknown},
+ originalyear = {1890},
+}
+
+@misc{3.101-1,
+ author = {Cheek and Buss},
+ year = {1981},
+ type = {Unknown},
+}
+
+@misc{3.101-2,
+ author = {Shimamura},
+ year = {1989},
+ type = {Unknown},
+}
+
+@misc{3.101-3,
+ author = {Myers},
+ year = {2000},
+ type = {Unknown},
+}
+
+@misc{3.101-4,
+ author = {Beutler},
+ year = {2000},
+ type = {Unknown},
+}
+
+@misc{3.103-1,
+ author = {Hashtroudi and Chrosniak and Schwartz},
+ year = {1991},
+ type = {Unknown},
+}
+
+@misc{4.04-t1,
+ author = {Brown, J. R.},
+ year = {\bibnodate},
+ type = {Unknown},
+}
+
+@misc{4.04-t2,
+ author = {Browning, A. R.},
+ year = {\bibnodate},
+ type = {Unknown},
+}
+
+@misc{4.04-t3,
+ author = {MacArthur},
+ year = {\bibnodate},
+ type = {Unknown},
+}
+
+@misc{4.04-t4,
+ author = {McAllister},
+ year = {\bibnodate},
+ type = {Unknown},
+}
+
+@misc{4.04-t5,
+ author = {MacNeil},
+ year = {\bibnodate},
+ type = {Unknown},
+}
+
+@misc{4.04-t6,
+ author = {M'Carthy},
+ year = {\bibnodate},
+ type = {Unknown},
+}
+
+@misc{4.04-t7,
+ author = {DeBase},
+ year = {\bibnodate},
+ type = {Unknown},
+}
+
+@misc{4.04-t8,
+ author = {De Vries, J.},
+ year = {\bibnodate},
+ type = {Unknown},
+}
+
+@misc{4.04-t9,
+ author = {von Helmholtz, H. L. F.},
+ year = {\bibnodate},
+ type = {Unknown},
+}
+
+@article{4.04-t10,
+ year = {2003},
+ title = {{\APACSortNoop{Two-Thousand and Three}}2003 Hottest Summer Ever},
+ journal = {Journal of Meteorology},
+ note = {This is a fake entry, used for didactical purposes.},
+}
+
+@misc{4.04-1,
+ author = {Hewlett, L. S.},
+ year = {1996},
+ type = {Unknown},
+}
+
+@misc{4.04-2,
+ author = {Hewlett, L. S.},
+ year = {1999},
+ type = {Unknown},
+}
+
+@misc{4.04-3,
+ author = {Alleyne, R. L.},
+ year = {2001},
+ type = {Unknown},
+}
+
+@misc{4.04-4,
+ author = {Alleyne, R. L. and Evans, A. J.},
+ year = {1999},
+ type = {Unknown},
+}
+
+@misc{4.04-5,
+ author = {Gosling, J. R. and Jerald, K. and Belfar, S. F.},
+ year = {2000},
+ type = {Unknown},
+}
+
+@misc{4.04-6,
+ author = {Gosling, J. R. and Tevlin, D. F.},
+ year = {1996},
+ type = {Unknown},
+}
+
+@misc{4.04-7,
+ author = {Hayward, D. and Firsching, A. and Brown, J.},
+ year = {1999},
+ type = {Unknown},
+}
+
+@misc{4.04-8,
+ author = {Hayward, D. and Firsching, A. and Smigel, J.},
+ year = {1999},
+ type = {Unknown},
+}
+
+@misc{4.04-9,
+ author = {Cabading, J. R. and Wright, K.},
+ year = {2000},
+ type = {Unknown},
+}
+
+@misc{4.04-10,
+ author = {Cabading, J. R. and Wright, K.},
+ year = {2001},
+ type = {Unknown},
+}
+
+@article{4.04-11,
+ author = {Baheti, J. R.},
+ year = {2001},
+ title = {Control {\ldots}},
+}
+
+@article{4.04-12,
+ author = {Baheti, J. R.},
+ year = {2001},
+ title = {Roles of {\ldots}},
+}
+
+@misc{4.04-13,
+ author = {Mathur, A. L. and Wallston, J.},
+ year = {1999},
+ type = {Unknown},
+}
+
+@misc{4.04-14,
+ author = {Mathur, S. E. and Ahlers, R. J.},
+ year = {1998},
+ type = {Unknown},
+}
+
+@book{4.05-1,
+ author = {Bandura, A. J.},
+ year = {1977},
+ title = {Social Learning Theory},
+ address = {Englewood Cliffs, NJ},
+ publisher = {Prentice Hall},
+}
+
+@article{4.05-2,
+ author = {Bretschneider, J. G. and McCoy, N. L.},
+ year = {1968},
+ title = {Sexual Interest and Behavior in Healthy
+ 80- to 102-Year-Olds},
+ journal = {Archives of Sexual Behavior},
+ volume = {14},
+ pages = {343--350},
+}
+
+@article{4.08-1,
+ author = {Kernis, M. H. and Cornell, D. P. and Sun, C.-R.
+ and Berry, A. and Harlow, T.},
+ year = {1993},
+ title = {There's More to Self-Esteem than Whether it is High
+ or Low: The Importance of Stability of Self-Esteem},
+ journal = {Journal of Personality and Social Psychology},
+ volume = {65},
+ pages = {1190--1204},
+}
+
+@book{4.08-2,
+ editor = {Robinson, D. N.},
+ year = {1992},
+ title = {Social Discourse and Moral Judgment},
+ address = {San Diego, CA},
+ publisher = {Academic Press},
+}
+
+@misc{4.08-3,
+ author = {Bulatao, E. {\protect\bibliteral{(with
+ Winford, C.~A.)}\protect\indexskipbracenodot}},
+ year = {\bibnodate},
+ type = {Unknown},
+}
+
+@article{4.09-1,
+ author = {Fowers, B. J. and Olson, D. H.},
+ year = {1993},
+ title = {{ENRICH} {Marital} {Satisfaction} {Scale}:
+ A Brief Research and Clinical Tool},
+ journal = {Journal of Family Psychology},
+ volume = {7},
+ pages = {176--185},
+}
+
+@article{4.10-1,
+ author = {Deutsch, F. M. and Lussier, J. B. and Servis, L. J.},
+ year = {1993},
+ title = {Husbands At Home: Predictors of Paternal Participation
+ in Childcare and Housework},
+ journal = {Journal of Personality and Social Psychology},
+ volume = {65},
+ pages = {1154--1166},
+}
+
+@incollection{4.10-2,
+ author = {O'Neil, J. M. and Egan, J.},
+ year = {1992},
+ title = {Men's and Women's Gender Role Journeys:
+ Metaphor for Healing, Transition, and Transformation},
+ editor = {Wainrib, B. R.},
+ booktitle = {Gender Issues Across the Life Cycle},
+ pages = {107--123},
+ address = {New York},
+ publisher = {Springer},
+}
+
+@article{4.11-1,
+ author = {Buss, D. M. and Schmitt, D. P.},
+ year = {1993},
+ title = {Sexual Strategies Theory: An Evolutionary Perspective
+ on Human Mating},
+ journal = {Psychological Review},
+ volume = {100},
+ pages = {204--232},
+}
+
+@magazine{4.11-2,
+ author = {Henry, III, W. A.},
+ year = {1990},
+ month = apr,
+ day = {9},
+ title = {Beyond the Melting Pot},
+ journal = {Time},
+ volume = {135},
+ pages = {28--31},
+}
+
+@book{4.12-1,
+ author = {Saxe, G. B.},
+ year = {1991},
+ title = {Cultural and Cognitive Development: Studies in
+ Mathematical Understanding},
+ address = {Hillsdale, NJ},
+ publisher = {Erlbaum},
+}
+
+@incollection{4.13-1,
+ author = {Baker, F. M. and Lightfoot, O. B.},
+ year = {1993},
+ title = {Psychiatric Care of Ethnic Elders},
+ editor = {Gaw, A. C.},
+ booktitle = {Culture, Ethnicity, and Mental Illness},
+ pages = {517--552},
+ address = {Washington, DC},
+ publisher = {American Psychiatric Press},
+}
+
+@incollection{4.13-2,
+ author = {Merikle, Philip M.},
+ year = {2000},
+ title = {Subliminal Perception},
+ editor = {Kazdin, Alan E. and Blanchard, Edward B. and
+ Bootzin, Richard R. and Bower, Gordon and
+ Close Conoley, Jane and Deaux, Kay and Fox, Ronald E. and
+ Harmon, Lenore W. and Howell, William C. and
+ Marsella, Anthony J. and Price, Richard H. and
+ Roediger, III, Henry L. and Rosenthal, Robert and
+ Schmitt, Neal W. and Singer, Jerome L. and Squire, Larry R. and
+ Zahn-Waxler, Carolyn},
+ booktitle = {Encyclopedia of Psychology},
+ volume = {7},
+ pages = {497--499},
+ address = {New York},
+ publisher = {Oxford University Press},
+}
+
+@misc{4.15-1,
+ key = {{\APACcitebtitle{Electronic Reference Formats}}},
+ title = {Electronic Reference Formats Recommended by the
+ {American} {Psychological} {Association}},
+ year = {2000},
+ month = oct,
+ day = {12},
+ lastchecked = {October 23, 2000},
+ URL = {http://www.apa.org/journals/webref.html},
+}
+
+@article{4.15-2,
+ author = {Eid, M. and Langeheine, R.},
+ year = {1999},
+ title = {The Measurement of Consistency and Occasion Specificity
+ with Latent Class Models: A New Model and its
+ Application to the Measurement of Affect},
+ journal = {Psychological Methods},
+ volume = {4},
+ pages = {100--116},
+ howpublished = {Retrieved November 19, 2000, from the PsycARTICLES database},
+}
+
+%
+% The rest is from section 4.16. Section number is omitted,
+% but A-I are used instead. For the numbered examples, these
+% letters are also omitted in favor of ``ex''.
+%
+
+@article{A-1,
+ author = {Herman, L. M. and Kuczaj, III, S. A. and Holder, M. D.},
+ year = {1993},
+ title = {Responses to Anomalous Gestural Sequences by a
+ Language-Trained Dolphin: {E}vidence for Processing
+ of Semantic Relations and Syntactic Information},
+ journal = {Journal of Experimental Psychology: General},
+ volume = {122},
+ pages = {184--194},
+}
+
+@article{ex1,
+ author = {Mellers, B. A.},
+ year = {2000},
+ title = {Choice and the Relative Pleasure of Consequences},
+ journal = {Psychological Bulletin},
+ volume = {126},
+ pages = {910--924},
+}
+
+@article{ex2,
+ author = {Klimoski, R. and Palmer, S.},
+ year = {1993},
+ title = {The {ADA} and the Hiring Process in Organizations},
+ journal = {Consulting Psychology Journal: Practice and Research},
+ volume = {45},
+ number = {2},
+ pages = {10--36},
+}
+
+@article{ex3,
+ author = {Saywitz, K. J. and Mannarino, A. P. and Berliner, L.
+ and Cohen, J. A.},
+ year = {2000},
+ title = {Treatment for Sexually Abused Children and Adolescents},
+ journal = {American Psychologist},
+ volume = {55},
+ pages = {1040--1049},
+}
+
+@article{ex4,
+ author = {Wolchik, S. A. and West, S. G. and Sandler, I. N. and
+ Tein, J. and Coatsworth, D. and Lengua, L. and others},
+ year = {2000},
+ title = {An Experimental Evaluation of Theory-Based Mother and
+ Mother-Child Programs for Children of Divorce},
+ journal = {Journal of Consulting and Clinical Psychology},
+ volume = {68},
+ pages = {843--856},
+}
+
+@article{ex4-2,
+ author = {Swait, Joffre and Adamowicz, Wiktor and Hanemann, Michael
+ and Diederich, Adele and Krosnick, Jon and Layton, David
+ and Provencher, William and Schkade, David and Tourangeau, Roger},
+ year = {2002},
+ title = {Context Dependence and Aggregation
+ in Disaggregate Choice Analysis},
+ journal = {Marketing Letters},
+ volume = {13},
+ pages = {195--205},
+}
+
+@article{ex5,
+ author = {Zuckerman, M. and Kieffer, S. C.},
+ year = {\BIP},
+ title = {Race Differences in Face-ism: {D}oes Facial Prominence
+ Imply Dominance?},
+ journal = {Journal of Personality and Social Psychology},
+}
+
+@magazine{ex6,
+ author = {Kandel, E. R. and Squire, L. R.},
+ year = {2000},
+ month = nov,
+ day = {10},
+ title = {Neuroscience: {B}reaking Down Scientific Barriers to the
+ Study of Brain and Mind},
+ journal = {Science},
+ volume = {290},
+ pages = {1113--1120},
+}
+
+@article{ex7,
+ author = {Brown, L. S.},
+ year = {1993},
+ month = spring,
+ title = {Antidomination Training as a Central Component of
+ Diversity in Clinical Psychology Education},
+ journal = {The Clinical Psychologist},
+ volume = {46},
+ pages = {83--87},
+}
+
+@article{ex8,
+ year = {1993},
+ month = aug # "/" # sep,
+ title = {The New Health-Care Lexicon},
+ journal = {Copy Editor},
+ volume = {4},
+ pages = {1--2},
+}
+
+@newspaper{ex9,
+ key = {{\APACciteatitle{New Drug}}},
+ year = {1993},
+ month = jul,
+ day = {15},
+ title = {New Drug Appears to Sharply Cut Risk of Death from
+ Heart Failure},
+ journal = {The Washington Post},
+ pages = {A12},
+}
+
+@newspaper{ex10,
+ author = {Schwartz, J.},
+ year = {1993},
+ month = sep,
+ day = {30},
+ title = {Obesity Affects Economic, Social Status},
+ journal = {The Washington Post},
+ pages = {A1, A4},
+}
+
+@newspaper{ex11,
+ author = {Berkowitz, A. D.},
+ year = {2000},
+ month = nov,
+ day = {24},
+ title = {How to Tackle the Problem of Student Drinking},
+ type = {Letter to the editor},
+ journal = {The Chronicle of Higher Education},
+ pages = {B20},
+}
+
+@article{ex12,
+ editor = {Barlow, D. H.},
+ year = {1991},
+ title = {Diagnoses, Dimensions, and \emph{DSM-IV}:
+ The Science of Classification},
+ type = {Special issue},
+ journal = {Journal of Abnormal Psychology},
+ volume = {100},
+ number = {3},
+}
+
+@article{ex13,
+ author = {Harris, P. L. and Kavanaugh, R. D.},
+ year = {1993},
+ title = {Young Children's Understanding of Pretense},
+ journal = {Monographs of the Society for Research in Child Development},
+ volume = {58},
+ number = {1, Serial No.~231},
+}
+
+@article{ex14,
+ author = {Battig, W. F. and Montague, W. E.},
+ year = {1969},
+ title = {Category Norms for Verbal Items in 56 Categories:
+ A Replication and Extension of the {Connecticut}
+ Category Norms},
+ journal = {Journal of Experimental Psychology Monographs},
+ volume = {80},
+ number = {3, Pt.~2},
+}
+
+@article{ex15,
+ author = {Ganster, D. C. and Schaubroeck, J. and Sime, W. E.
+ and Mayes, B. T.},
+ year = {1991},
+ title = {The Nomological Validity of the {Type}~{A} Personality
+ Among Employed Adults},
+ type = {Monograph},
+ journal = {Journal of Applied Psychology},
+ volume = {76},
+ pages = {143--168},
+}
+
+@article{ex16,
+ author = {Woolf, N. J. and Young, S. L. and Fanselow, M. S. and
+ Butcher, L. L.},
+ year = {1991},
+ title = {{MAP}-2 Expression in Cholinoceptive Pyramidal Cells
+ of Rodent Cortex and Hippocampus is Altered by
+ {Pavlovian} Conditioning},
+ type = {Abstract},
+ journal = {Society for Neuroscience Abstracts},
+ volume = {17},
+ pages = {480},
+}
+
+@article{ex17,
+ author = {Nakazato, K. and Shimonaka, Y. and Homma, A.},
+ year = {{\protect\bibreftext{1992}{1992/1993}}},
+ title = {Cognitive Functions of Centenarians: The {Tokyo}
+ {Metropolitan} {Centenarian} {Study}},
+ journal = {Japanese Journal of Developmental Psychology},
+ volume = {3},
+ pages = {9--16},
+ howpublished = {Abstract obtained from
+ {\APACcitebtitle{PsycSCAN: Neuropsychology}},
+ 1993, \emph{2}, Abstract No.~604},
+}
+
+@article{ex18,
+ author = {Regier, A. A. and Narrow, W. E. and Rae, D. S.},
+ year = {1990},
+ title = {The Epidemiology of Anxiety Disorders: The Epidemiologic
+ Catchment Area ({ECA}) Experience},
+ journal = {Journal of Psychiatric Research},
+ volume = {24},
+ number = {Suppl.~2},
+ pages = {3--14},
+}
+
+@article{ex19,
+ author = {Fiske, S. T.},
+ year = {1993},
+ title = {Social Cognition and Social Perception},
+ journal = {Annual Review of Psychology},
+ volume = {44},
+ pages = {155--194},
+}
+
+@article{ex20,
+ author = {Ising, M.},
+ year = {2000},
+ title = {Intensit{\"{a}}tsabh{\"{a}}ngigkeit evozierter {Potenzial} im
+ {EEG}: Sind impulsive {Personen} {Augmenter} oder
+ {Reducer}?},
+ englishtitle = {Intensity Dependence in Event-Related {EEG} Potentials:
+ Are Impulsive Individuals Augmenters or Reducers?},
+ journal = {Zeitschrift f{\"{u}}r Differentielle und Diagnostische
+ Psychologie},
+ volume = {21},
+ pages = {208--217},
+}
+
+@article{ex21,
+ author = {Stutte, H.},
+ year = {1972},
+ title = {Transcultural Child Psychiatry},
+ journal = {Acta Paedopsychiatrica},
+ volume = {38},
+ number = {9},
+ pages = {229--231},
+}
+
+@article{ex22,
+ author = {Coltheart, M. and Curtis, B. and Atkins, P. and Haller, M.},
+ year = {1993},
+ title = {Models of Reading Aloud: Dual-Route and
+ Parallel-Distributed-Processing Approaches},
+ journal = {Psychological Review},
+ volume = {100},
+ pages = {589--608},
+}
+
+@book{B-1,
+ author = {Beck, C. A. J. and Sales, B. D.},
+ year = {2001},
+ title = {Family Mediation: Facts, Myths, and Future Prospects},
+ address = {Washington, DC},
+ publisher = {American Psychological Association},
+}
+
+@book{ex23,
+ author = {Mitchell, T. R. and Larson, Jr.\hbox{}, J. R.},
+ year = {1987},
+ title = {People in Organizations: An Introduction to
+ Organizational Behavior},
+ edition = {3},
+ address = {New York},
+ publisher = {McGraw-Hill},
+}
+
+@book{ex24,
+ author = {{\bibcorporate{Australian Bureau of Statistics}}},
+ year = {1991},
+ title = {Estimated Resident Population by Age and Sex in
+ Statistical Local Areas, {New} {South} {Wales},
+ {June} 1990},
+ number = {3209.1},
+ address = {Canberra, Australian Capital Territory},
+ publisher = {{\bibcorporate{Australian Bureau of Statistics}}},
+}
+
+@book{ex25,
+ editor = {Gibbs, J. T. and Huang, L. N.},
+ year = {1991},
+ title = {Children of Color: Psychological Interventions with
+ Minority Youth},
+ address = {San Francisco},
+ publisher = {Jossey-Bass},
+}
+
+@book{ex25-t1,
+ author = {Vygotsky, L. S.},
+ year = {1978},
+ title = {Mind in Society: {T}he Development of Higher Mental
+ Processes},
+ editor = {Rice, Edgar},
+ translator = {Rice, Edgar},
+ address = {Cambridge, MA},
+ publisher = {Harvard University Press},
+ originalyear = {1930, 1933, 1935},
+}
+
+@book{ex25-t2,
+ author = {J{\"{o}}reskog, Karl G. and S{\"{o}}rbom, Dag},
+ year = {1979},
+ title = {Advances in Factor Analysis
+ and Structural Equation Models},
+ editor = {Magidson, Jay},
+ address = {Cambridge, MA},
+ publisher = {Abt Books},
+}
+
+@book{ex26,
+ year = {1993},
+ title = {Merriam-{Webster}'s Collegiate Dictionary},
+ edition = {10},
+ address = {Springfield, MA},
+ publisher = {Merriam-Webster},
+}
+
+@book{ex27,
+ author = {Rosenthal, R.},
+ year = {1987},
+ title = {Meta-Analytic Procedures for Social Research},
+ edition = {Rev.\hbox{}},
+ address = {Newbury Park, CA},
+ publisher = {Sage},
+}
+
+@book{ex28,
+ editor = {Koch, S.},
+ year = {1959--1963},
+ title = {Psychology: {A} Study of Science},
+ volume = {1--6},
+ address = {New York},
+ publisher = {McGraw-Hill},
+}
+
+@book{ex29,
+ key = {{\bibDSM{American Psychiatric
+ Association}{Diagnostic and Statistical Manual
+ of Mental Disorders}{4th ed.\hbox{}}{DSM-IV}}},
+ author = {{\bibcorporate{American Psychiatric Association}}},
+ year = {1994},
+ title = {Diagnostic and Statistical Manual of Mental Disorders},
+ edition = {4},
+ address = {Washington, DC},
+ publisher = {{\bibcorporate{American Psychiatric Association}}},
+}
+
+@book{ex30,
+ editor = {Sadie, S.},
+ year = {1980},
+ title = {The New {G}rove Dictionary of Music and Musicians},
+ edition = {6},
+ volume = {1--20},
+ address = {London},
+ publisher = {Macmillan},
+}
+
+@book{ex30-2,
+ editor = {Kazdin, Alan E. and Blanchard, Edward B. and
+ Bootzin, Richard R. and Bower, Gordon and
+ Close Conoley, Jane and Deaux, Kay and Fox, Ronald E. and
+ Harmon, Lenore W. and Howell, William C. and
+ Marsella, Anthony J. and Price, Richard H. and
+ Roediger, III, Henry L. and Rosenthal, Robert and
+ Schmitt, Neal W. and Singer, Jerome L. and Squire, Larry R. and
+ Zahn-Waxler, Carolyn},
+ year = {2000},
+ title = {Encyclopedia of Psychology},
+ address = {New York},
+ publisher = {Oxford University Press},
+}
+
+@book{ex31,
+ author = {Piaget, J. and Inhelder, B.},
+ year = {1951},
+ title = {La Gen{\`{e}}se de l'Id{\'{e}}e de Hasard chez l'Enfant},
+ englishtitle = {The Origin of the Idea of Chance in the Child},
+ address = {Paris},
+ publisher = {Presses Universitaires de France},
+}
+
+@book{ex32,
+ author = {Laplace, P.-S.},
+ year = {1951},
+ title = {A Philosophical Essay on Probabilities},
+ translator = {Truscott, F. W. and Emory, F. L.},
+ address = {New York},
+ publisher = {Dover},
+ originalyear = {1814},
+}
+
+@book{ex33,
+ author = {{\bibcorporate{Research and Training Center on
+ Independent Living}}},
+ firstkey = {{Research and Training Center on Independent Living [RTCIL]}},
+ key = {RTCIL},
+ year = {1993},
+ title = {Guidelines for Reporting and Writing About People
+ with Disabilities},
+ edition = {4},
+ type = {Brochure},
+ address = {Lawrence, KS},
+ publisher = {{\bibcorporate{Research and Training Center on
+ Independent Living}}},
+}
+
+@incollection{B-2,
+ author = {Massaro, D.},
+ year = {1992},
+ title = {Broadening the Domain of the Fuzzy Logical Model of Perception},
+ editor = {Pick, Jr.\hbox{}, H. L. and van den Broek, P. and Knill, D. C.},
+ booktitle = {Cognition: Conceptual and Methodological Issues},
+ pages = {51--84},
+ address = {Washington, DC},
+ publisher = {American Psychological Association},
+}
+
+@incollection{ex34,
+ author = {Bjork, R. A.},
+ year = {1989},
+ title = {Retrieval Inhibition as an Adaptive Mechanism in Human Memory},
+ editor = {Roediger, III, H. L. and Craik, F. I. M.},
+ booktitle = {Varieties of Memory \& Consciousness},
+ pages = {309--330},
+ address = {Hillsdale, NJ},
+ publisher = {Erlbaum},
+}
+
+@incollection{ex35,
+ author = {Auerbach, J. S.},
+ year = {\BIP},
+ title = {The Origins of Narcissism and Narcissistic Personality
+ Disorder: A Theoretical and Empirical Reformulation},
+ editor = {Masling, J. M. and Bornstein, R. F.},
+ booktitle = {Empirical Studies of Psychoanalytic Theories:
+ {Vol}.~4. {Psychoanalytic} Perspectives on Psychopathology},
+ address = {Washington, DC},
+ publisher = {American Psychological Association},
+}
+
+@incollection{ex36,
+ author = {Maccoby, E. E. and Martin, J.},
+ year = {1983},
+ title = {Socialization in the Context of the Family:
+ Parent-Child Interaction},
+ editor = {Mussen (Series Ed.\hbox{}), P. H. and
+ Hetherington{\bibeditortype{Vol.\ Ed.\hbox{}}}, E. M.},
+ booktitle = {Handbook of Child Psychology:
+ {Vol}.~4. {Socialization}, Personality, and Social Development},
+ edition = {4},
+ pages = {1--101},
+ address = {New York},
+ publisher = {Wiley},
+}
+
+@incollection{ex37,
+ author = {Davydov, V. V.},
+ year = {1972},
+ title = {De Introductie van het Begrip Grootheid in de Eerste
+ Klas van de Basisschool: Een Experimenteel Onderzoek},
+ englishtitle = {The Introduction of the Concept of Quantity in the
+ First Grade of the Primary School: An Experimental Study},
+ editor = {Van Parreren, C. F. and Carpay, J. A. M.},
+ booktitle = {Sovjetpsychologen aan het Woord},
+ pages = {227--289},
+ address = {Groningen, The Netherlands},
+ publisher = {Wolters-Noordhoff},
+}
+
+@incollection{ex38,
+ author = {Bergmann, P. G.},
+ year = {1993},
+ title = {Relativity},
+ booktitle = {The New Encyclopaedia {Britannica}},
+ volume = {26},
+ pages = {501--508},
+ address = {Chicago},
+ publisher = {Encyclopaedia Britannica},
+}
+
+@incollection{ex39,
+ author = {Freud, Sigmund},
+ year = {1961},
+ title = {The Ego and the Id},
+ editor = {Strachey, J.},
+ translator = {Strachey, J.},
+ booktitle = {The Standard Edition of the Complete Psychological
+ Works of {Sigmund} {Freud}},
+ volume = {19},
+ pages = {3--66},
+ address = {London},
+ publisher = {Hogarth Press},
+ originalyear = {1923},
+}
+
+@incollection{ex40,
+ author = {Piaget, J.},
+ year = {1988},
+ title = {Extracts from {Piaget}'s Theory},
+ translator = {Gellerier, G. and Langer, J.},
+ editor = {Richardson, K. and Sheldon, S.},
+ booktitle = {Cognitive Development to Adolescence: A Reader},
+ pages = {3--18},
+ address = {Hillsdale, NJ},
+ publisher = {Erlbaum},
+ originalbooktitle = {Manual of Child Psychology},
+ originalpages = {703--732},
+ originaleditor = {Mussen, P. H.},
+ originalyear = {1970},
+ originaladdress = {New York},
+ originalpublisher = {Wiley},
+}
+
+@incollection{ex40-t1,
+ author = {Browne, M[ichael] W.},
+ year = {1977},
+ title = {Generalized Least Squares Estimators in the Analysis
+ of Covariance Structures},
+ editor = {Aigner, D[ennis] J. and Goldberger, A[rthur] S.},
+ booktitle = {Latent Variables in Socio-Economic Models},
+ pages = {205--226},
+ address = {Amsterdam},
+ publisher = {North Holland},
+ originalyear = {1974},
+ originaljournal = {South African Statistical Journal},
+ originalvolume = {8},
+ originalpages = {1--24},
+}
+
+
+@techreport{C-1,
+ author = {Mazzeo, J. and Druesne, B. and Raffeld, P. C.
+ and Checketts, K. T. and Muhlstein, A.},
+ year = {1991},
+ title = {Comparability of Computer and Paper-and-Pencil Scores
+ for Two {CLEP} General Examinations},
+ type = {College Board Rep.},
+ number = {91-5},
+ address = {Princeton, NJ},
+ institution = {Educational Testing Service},
+}
+
+@techreport{ex41,
+ author = {{\bibcorporate{National Institute of Mental Health}}},
+ firstkey = {{National Institute of Mental Health [NIMH]}},
+ key = {{NIMH}},
+ year = {1990},
+ title = {Clinical Training in Serious Mental Illness},
+ type = {{DHHS} Publication},
+ number = {ADM 90-1679},
+ address = {Washington, DC},
+ institution = {U.S. Government Printing Office},
+}
+
+@techreport{ex42,
+ author = {Osgood, D. W. and Wilson, J. K.},
+ year = {1990},
+ title = {Covariation of Adolescent Health Problems},
+ type = {\bibnotype},
+ address = {Lincoln},
+ institution = {University of Nebraska},
+ note = {NTIS No.\hbox{} PB~91-154~377/AS},
+}
+
+@techreport{ex43,
+ author = {Mead, J. V.},
+ year = {1992},
+ title = {Looking at Old Photographs: Investigating the Teacher
+ Tales that Novice Teachers Bring with Them},
+ type = {Report},
+ number = {NCRTL-RR-92-4},
+ address = {East Lansing, MI},
+ institution = {National Center for Research on Teacher Learning},
+ note = {ERIC Document Reproduction Service No.\hbox{} ED346082},
+}
+
+@techreport{ex44,
+ author = {{\bibcorporate{U.S. Department of Health and
+ Human Services}}},
+ firstkey = {{U.S. Department of Health and Human Services [DHHS]}},
+ key = {{DHHS}},
+ year = {1992},
+ title = {Pressure Ulcers in Adults: Prediction and Prevention},
+ type = {AHCPR Publication},
+ number = {92-0047},
+ address = {Rockville, MD},
+ institution = {{\bibcorporate{U.S. Department of Health and
+ Human Services}}},
+}
+
+@intechreport{ex45,
+ author = {Matthews, K. A.},
+ year = {1985},
+ title = {Assessment of {Type}~{A} Behavior, Anger, and Hostility
+ in Epidemiologic Studies of Cardiovascular Disease},
+ editor = {Ostfield, A. M. and Eaker, E. D.},
+ booktitle = {Measuring Psychological Variables in Epidemiologic Studies
+ of Cardiovascular Disease},
+ type = {NIH Publication},
+ number = {85-2270},
+ pages = {153--183},
+ address = {Washington, DC},
+ institution = {U.S. Department of Health and Human Services},
+}
+
+@techreport{ex46,
+ author = {Broadhurst, R. G. and Maller, R. A.},
+ year = {1991},
+ title = {Sex Offending and Recidivism},
+ number = {3},
+ address = {Nedlands},
+ institution = {University of Western Australia, Crime Research Centre},
+}
+
+@techreport{ex47,
+ editor = {Shuker, R. and Openshaw, R. and Soler, J.},
+ year = {1990},
+ title = {Youth, Media, and Moral Panic in {New} {Zealand}:
+ From Hooligans to Video Nasties},
+ type = {Delta Research Monograph},
+ number = {11},
+ address = {Palmerston North, New Zealand},
+ institution = {Massey University, Department of Education},
+}
+
+@techreport{ex48,
+ author = {{\bibcorporate{Employee Benefit Research Institute}}},
+ firstkey = {{Employee Benefit Research Institute [EBRI]}},
+ key = {{EBRI}},
+ year = {1992},
+ month = feb,
+ title = {Sources of Health Insurance and Characteristics of the
+ Uninsured},
+ type = {Issue Brief},
+ number = {123},
+ address = {Washington, DC},
+ institution = {{\bibcorporate{Employee Benefit Research Institute}}},
+}
+
+@incollection{ex49,
+ author = {Deci, E. L. and Ryan, R. M.},
+ year = {1991},
+ title = {A Motivational Approach to Self:
+ Integration in Personality},
+ editor = {Dienstbier, R.},
+ booktitle = {Nebraska {Symposium} on {Motivation}: Vol.~38.
+ {Perspectives} on Motivation},
+ pages = {237--288},
+ address = {Lincoln},
+ publisher = {University of Nebraska Press},
+}
+
+@article{ex50,
+ author = {Cynx, J. and Williams, H. and Nottebohm, F.},
+ year = {1992},
+ title = {Hemispheric Differences in Avian Song Discrimination},
+ journal = {Proceedings of the National Academy of Sciences, USA},
+ volume = {89},
+ pages = {1372--1375},
+}
+
+@lecture{ex51,
+ author = {Lichstein, K. L. and Johnson, R. S. and Womack, T. D.
+ and Dean, J. E. and Childers, C. K.},
+ year = {1990},
+ month = jun,
+ title = {Relaxation Therapy for Polypharmacy Use in Elderly
+ Insomniacs and Noninsomniacs},
+ chair = {Rosenthal, T. L.},
+ symposium = {Reducing Medication in Geriatric Populations},
+ howpublished = {Symposium conducted at the meeting of the First
+ International Congress of Behavioral Medicine},
+ address = {Uppsala, Sweden},
+}
+
+@lecture{ex52,
+ author = {Lanktree, C. and Briere, J.},
+ year = {1991},
+ month = jan,
+ title = {Early Data on the {Trauma} {Symptom} {Checklist}
+ for {Children} ({TSC-C})},
+ howpublished = {Paper presented at the meeting of the American
+ Professional Society on the Abuse of Children},
+ address = {San Diego, CA},
+}
+
+@lecture{ex53,
+ author = {Ruby, J. and Fulton, C.},
+ year = {1993},
+ month = jun,
+ title = {Beyond Redlining: Editing Software that Works},
+ howpublished = {Poster session presented at the annual meeting of the
+ Society for Scholarly Publishing},
+ address = {Washington, DC},
+}
+
+@phdthesis{ex54,
+ author = {Bower, D. L.},
+ year = {1993},
+ title = {Employee Assistant Programs Supervisory Referrals:
+ Characteristics of Referring and Nonreferring
+ Supervisors},
+ journal = {Dissertation Abstracts International},
+ volume = {54},
+ number = {01},
+ pages = {534B},
+ note = {UMI No.~9315947},
+}
+
+@phdthesis{ex55,
+ author = {Ross, D. F.},
+ year = {1990},
+ title = {Unconscious Transference and Mistaken Identity: When
+ a Witness Misidentifies a Familiar but Innocent Person
+ from a Lineup},
+ school = {Cornell University},
+ originalyear = {1990},
+ journal = {Dissertation Abstracts International},
+ volume = {51},
+ pages = {417},
+}
+
+@phdthesis{ex56,
+ author = {Wilfley, D. E.},
+ year = {1989},
+ title = {Interpersonal Analyses of Bulimia: Normalweight
+ and Obese},
+ school = {University of Missouri},
+ address = {Columbia},
+}
+
+@mastersthesis{ex57,
+ author = {Almeida, D. M.},
+ year = {1990},
+ title = {Fathers' Participation in Family Work: Consequences
+ for Fathers' Stress and Father--Child Relations},
+ school = {University of Victoria},
+ address = {Victoria, British Columbia, Canada},
+}
+
+@unpublished{ex58,
+ author = {Stinson, C. and Milbrath, C. and Reidbord, S. and Bucci, W.},
+ year = {1992},
+ title = {Thematic Segmentation of Psychotherapy Transcripts for
+ Convergent Analyses},
+ howpublished = {Unpublished manuscript},
+}
+
+@unpublished{ex59,
+ author = {D{\'{e}}pret, E. F. and Fiske, S. T.},
+ year = {1993},
+ title = {Perceiving the Powerful: Intriguing Individuals Versus
+ Threatening Groups},
+ howpublished = {Unpublished manuscript},
+ organization = {University of Massachusetts at Amherst},
+}
+
+@unpublished{ex60,
+ author = {McIntosh, D. N.},
+ year = {1993},
+ title = {Religion as Schema, with Implications for the Relation
+ Between Religion and Coping},
+ howpublished = {Manuscript submitted for publication},
+}
+
+@unpublished{ex61,
+ author = {Bordi, F. and LeDoux, J. E.},
+ year = {1993},
+ type = {Auditory response latencies in rat auditory cortex},
+ howpublished = {Unpublished raw data},
+}
+
+@misc{ex62,
+ editor = {Klombers, N.},
+ year = {1993},
+ month = spring,
+ title = {{ADAA} {Reporter}},
+ note = {Available from the Anxiety Disorders Association of
+ America, 6000 Executive Boulevard, Suite 513,
+ Rockville, MD 20852},
+}
+
+@article{G-1,
+ author = {Mroczek, D. K.},
+ year = {2000},
+ title = {The Emerging Study of Midlife},
+ type = {Review of the book {\APACcitebtitle{Life in the middle:
+ Psychological and social development in middle age}}},
+ journal = {Contemporary Psychology: APA Review of Books},
+ volume = {45},
+ pages = {482--485},
+}
+
+@article{ex63,
+ author = {Schatz, B. R.},
+ year = {2000},
+ title = {Learning by Text or Context?},
+ type = {Review of the book
+ {\APACcitebtitle{The social life of information}}},
+ journal = {Science},
+ volume = {290},
+ pages = {1304},
+}
+
+@article{ex64,
+ author = {Kraus, S. J.},
+ year = {1992},
+ title = {Visions of Psychology: A Videotext of Classic Studies},
+ type = {Review of the motion picture
+ {\APACcitebtitle{Discovering Psychology}}},
+ journal = {Contemporary Psychology},
+ volume = {37},
+ pages = {1146--1147},
+}
+
+@misc{ex65-1,
+ author = {Scorsese, M. {\protect\bibliteral{(Producer)}\protect\bibskipbracenodot}
+ and Lonergan, K.
+ {\protect\bibliteral{(Writer/Director)}\protect\indexskipbracenodot}},
+ year = {2000},
+ title = {You Can Count On Me},
+ type = {Motion picture},
+ address = {United States},
+ publisher = {Paramount Pictures},
+}
+
+@misc{ex65-2,
+ author = {Harrison, J. {\protect\bibliteral{(Producer)}\protect\bibskipbracenodot}
+ and Schmiechen, R.
+ {\protect\bibliteral{(Director)}\protect\indexskipbracenodot}},
+ year = {1992},
+ title = {Changing Our Minds: The Story of {Evelyn} {Hooker}},
+ type = {Motion picture},
+ note = {Available from Changing Our Minds, Inc., 170 West End
+ Avenue, Suite 25R, New York, NY 10023},
+}
+
+@misc{ex65-3,
+ author = {{\bibcorporate{American Psychological Association (Producer)}}},
+ firstkey = {{American Psychological Association [APA]}},
+ key = {{APA}},
+ year = {2000},
+ title = {Responding Therapeutically to Patient Expressions of
+ Sexual Attraction: A Stimulus Training Tape},
+ type = {Motion picture},
+ note = {Available from the American Psychological Association,
+ 750 First Street, NE, Washington, DC 20002-4242},
+}
+
+@misc{ex66,
+ author = {Crystal, L. {\protect\bibliteral{(Executive
+ Producer)}\protect\indexskipbracenodot}},
+ year = {1993},
+ month = oct,
+ day = {11},
+ title = {The {MacNeil}/{Lehrer} News Hour},
+ type = {Television broadcast},
+ address = {New York and Washington, DC},
+ publisher = {Public Broadcasting Service},
+}
+
+@misc{ex67,
+ editor = {Miller, {\bibinitial{R\bibeditortype{Producer}}}},
+ year = {1989},
+ title = {The Mind},
+ type = {Television series},
+ address = {New York},
+ publisher = {WNET},
+}
+
+@incollection{ex68,
+ author = {Hall, B. {\protect\bibliteral{(Writer)}\protect\bibskipbracenodot}
+ and Bender, J.
+ {\protect\bibliteral{(Director)}\protect\indexskipbracenodot}},
+ year = {1991},
+ title = {The Rules of the Game},
+ type = {Television series episode},
+ editor = {Sander{\bibeditortype{Producer}}, J.},
+ booktitle = {I'll Fly Away},
+ address = {New York},
+ publisher = {New York Broadcasting Company},
+}
+
+@incollection{ex69-1,
+ key = {{\protect\bibsong{Shocked}{1992}{Over the
+ Waterfall}{track~5}}},
+ author = {Shocked, Michelle},
+ year = {1992},
+ title = {Over the Waterfall{\bibInstring{\BOn}}},
+ booktitle = {Arkansas Traveler {\upshape[\uppercase{CD}]}},
+ address = {New York},
+ publisher = {PolyGram Music},
+}
+
+@incollection{ex69-2,
+ key = {{\protect\bibsong{Goodenough}{1982}{Tails
+ and Trotters}{track~5}}},
+ author = {Goodenough, J. B.},
+ year = {1982},
+ title = {Tails and Trotters{\bibInstring{\BOn}}},
+ type = {Recorded by G. Bok, A. Mayo, \& E. Trickett},
+ booktitle = {And So Will We Yet {\upshape[\uppercase{CD}]}},
+ address = {Sharon, CT},
+ publisher = {Folk-Legacy Records},
+ note = {1990},
+}
+
+@misc{ex70,
+ author = {Costa, Jr.\hbox{} {\protect\bibliteral{(Speaker)}}, P. T.},
+ year = {1988},
+ title = {Personality, Continuity, and Changes of Adult Life},
+ type = {Cassette Recording},
+ number = {207-433-88A-B},
+ address = {Washington, DC},
+ publisher = {American Psychological Association},
+}
+
+@article{ex71-1,
+ author = {VandenBos, G. and Knapp, S. and Doe, J.},
+ year = {2001},
+ title = {Role of Reference Elements in the Selection of Resources
+ by Psychology Undergraduates},
+ type = {Electronic version},
+ journal = {Journal of Bibliographic Research},
+ volume = {5},
+ pages = {117--123},
+}
+
+@article{ex71-2,
+ author = {VandenBos, G. and Knapp, S. and Doe, J.},
+ year = {2001},
+ title = {Role of Reference Elements in the Selection of Resources
+ by Psychology Undergraduates},
+ journal = {Journal of Bibliographic Research},
+ volume = {5},
+ pages = {117--123},
+ lastchecked = {October 13, 2001},
+ url = {http://jbr.org/articles.html},
+}
+
+@article{ex72,
+ author = {Fredrickson, B. L.},
+ year = {2000},
+ month = mar,
+ day = {7},
+ title = {Cultivating Positive Emotions to Optimize Health
+ and Well-Being},
+ journal = {Prevention \& Treatment},
+ volume = {3},
+ pages = {Article 0001a},
+ lastchecked = {November 20, 2000},
+ url = {http://journals.apa.org/prevention/volume3/pre0030001a.html},
+}
+
+@article{ex73,
+ author = {Crow, T. J.},
+ year = {2000},
+ title = {Did \emph{Homo} {\emph{Sapiens}} Speciate on the
+ {\emph{Y}} Chromosome?},
+ journal = {Psycoloquy},
+ volume = {11},
+ lastchecked = {March 25, 2001},
+ url = {ftp://ftp.princeton.edu/harnad/Psycoloquy/
+ 2000.volume.11/psyc.00.11.001.
+ language-sex-chromosomes.1.crow},
+}
+
+@article{ex74,
+ author = {Glueckauf, R. L. and Whitton, J. and Baxter, J. and Kain, J.
+ and Vogelgesang, S. and Hudson, M. and others},
+ year = {1998},
+ month = jul,
+ title = {Videocounseling for Families of Rural Teens with
+ Epilepsy---{P}roject Update},
+ journal = {Telehealth News},
+ volume = {2},
+ number = {2},
+ lastchecked = {June 6, 2000},
+ url = {http://www.telehealth.net/subscribe/newslettr_4a.html#1},
+}
+
+@misc{ex75,
+ author = {{\bibcorporate{Greater New Milford (Ct) Area Healthy
+ Community 2000,
+ Task Force on Teen and Adolescent Issues}}},
+ firstkey = {{Greater New Milford (Ct) Area Healthy Community 2000,
+ Task Force on Teen and Adolescent Issues [TFTAI]}},
+ key = {{TFTAI}},
+ year = {\bibnodate},
+ title = {Who Has Time for a Family Meal? {You} Do!},
+ lastchecked = {October 5, 2000},
+ url = {http://www.familymealtime.org},
+}
+
+@incollection{ex76,
+ author = {{\bibcorporate{Benton Foundation}}},
+ year = {1998},
+ month = jul,
+ day = {7},
+ title = {Barriers to Closing the Gap},
+ booktitle = {Losing Ground Bit by Bit: Low-Income Communities in the
+ Information Age},
+ chapter = {2},
+ lastchecked = {August 18, 2001},
+ url = {http://www.benton.org/Library/Low-Income/two.html},
+}
+
+@misc{ex77,
+ year = {\bibnodate},
+ title = {{GVU}'s 8th {WWW} User Survey},
+ lastchecked = {August 8, 2000},
+ url = {http://www.cc.gatech.edu/gvu/user_surveys/survey-1997-10/},
+}
+
+@misc{ex78,
+ author = {Chou, L. and McClintock, R. and Moretti, F. and Nix, D. H.},
+ year = {1993},
+ title = {Technology and Education: New Wine in New Bottles:
+ Choosing Pasts and Imagining Educational Futures},
+ howpublished = {Retrieved August 24, 2000, from Columbia University,
+ Institute for Learning Technologies Web site:
+ \url{http://www.ilt.columbia.edu/
+ publications/papers/newwine1.html}\bibnodot{.}},
+}
+
+@misc{ex79,
+ author = {{\bibcorporate{University of California, San Francisco,
+ Institute for Health and Aging}}},
+ firstkey = {{University of California, San Francisco, Institute for
+ Health and Aging [UCSF-IHA]}},
+ key = {{UCSF-IHA}},
+ year = {1996},
+ month = nov,
+ title = {Chronic Care in {A}merica: {A} 21st Century Challenge},
+ howpublished = {Retrieved September 9, 2000, from the Robert Wood Johnson
+ Foundation Web site:
+ \url{http://www.rwjf.org/library/chrcare/}\bibnodot{.}},
+}
+
+@misc{ex80,
+ author = {{\bibcorporate{United States Sentencing Commission}}},
+ firstkey = {{United States Sentencing Commission [USSC]}},
+ key = {{USSC}},
+ year = {\bibnodate},
+ title = {{\APACSortNoop{Nineteen Ninety-Seven}}1997 Sourcebook of
+ Federal Sentencing Statistics},
+ lastchecked = {December 8, 1999},
+ url = {http://www.ussc.gov/annrpt/1997/sbtoc97.htm},
+}
+
+@misc{ex81,
+ author = {{\bibcorporate{Canarie, Inc.}}},
+ year = {1997},
+ month = sep,
+ day = {27},
+ title = {Towards a {Canadian} Health {IWAY}: Vision, Opportunities
+ and Future Steps},
+ lastchecked = {November 8, 2000},
+ url = {http://www.canarie.ca/press/publications/pdf/
+ health/healthvision.doc},
+}
+
+@techreport{ex82,
+ author = {Kruschke, J. K. and Bradley, A. L.},
+ year = {1995},
+ title = {Extensions to the Delta Rule of Associative Learning},
+ type = {Indiana University Cognitive Science Research Report},
+ number = {14\BmakeAbstractRetrieved},
+ lastchecked = {October 21, 2000},
+ url = {http://www.indiana.edu/~kruschke/deltarule_abstract.html},
+}
+
+@lecture{ex83,
+ author = {Cutler, L. D. and Fr{\"{o}}lich, B. and Hanrahan, P.},
+ year = {1997},
+ month = jan,
+ day = {16},
+ title = {Two-Handed Direct Manipulation on the Responsive
+ Workbench},
+ howpublished = {Paper presented at the 1997 Symposium on Interactive 3D
+ Graphics\BmakeAbstractRetrieved},
+ lastchecked = {June 12, 2000},
+ url = {http://www.graphics.stanford.edu/papers/twohanded/},
+}
+
+@lecture{ex84,
+ author = {Tan, G. and Lewandowsky, S.},
+ year = {1996},
+ title = {A Comparison of Operator Trust in Humans Versus Machines},
+ howpublished = {Paper presented at the CybErg 96 virtual conference},
+ lastchecked = {May 16, 2000},
+ url = {http://www.curtin.edu.au/conference/cyberg/
+ centre/outline.cgi/frame?dir=tan},
+}
+
+@misc{ex85,
+ author = {Chalmers, D.},
+ year = {2000},
+ month = nov,
+ day = {17},
+ title = {Seeing with Sound},
+ type = {\bibmessage},
+ number = {1},
+ url = {news://sci.psychology.consciousness}
+}
+
+@misc{ex86,
+ author = {Simons, D. J.},
+ year = {2000},
+ month = jul,
+ day = {14},
+ title = {News Resources for Visual Cognition},
+ type = {\bibmessage},
+ number = {31},
+ url = {http://groups.yahoo.com/group/visualcognition/message/31},
+}
+
+@misc{ex87,
+ author = {Hammond, T.},
+ year = {2000},
+ month = nov,
+ day = {20},
+ title = {{YAHC}: {Handle} {Parameters}, {DOI} {Genres}, etc.},
+ type = {\bibmessage},
+ howpublished = {Message posted to Ref-Links electronic mailing list,
+ archived at \url{http://www.doi.org/mail-archive/
+ ref-link/msg00088.html}\bibnodot{.}},
+}
+
+@article{ex88,
+ author = {Borman, W. C. and Hanson, M. A. and Oppler, S. H. and
+ Pulakos, E. D. and White, L. A.},
+ year = {1993},
+ title = {Role of Early Supervisory Experience in Supervisor Performance},
+ journal = {Journal of Applied Psychology},
+ volume = {78},
+ pages = {443--449},
+ howpublished = {Retrieved October 23, 2000, from the PsycARTICLES database},
+}
+
+@newspaper{ex89,
+ author = {Hilts, P. J.},
+ year = {1999},
+ month = feb,
+ day = {16},
+ title = {In Forecasting Their Emotions, Most People Flunk Out},
+ journal = {New York Times},
+ lastchecked = {November 21, 2000},
+ url = {http://www.nytimes.com},
+}
+
+@article{ex90,
+ author = {Fournier, M. and {\lowercase{D}}e Ridder, D. and Bensing, J.},
+ year = {1999},
+ title = {Optimism and Adaptation to Multiple Sclerosis: What Does
+ Optimism Mean?},
+ journal = {Journal of Behavioral Medicine},
+ volume = {22},
+ pages = {303--326},
+ howpublished = {Abstract retrieved October 23, 2000, from PsycINFO database},
+}
+
+@techreport{ex91,
+ author = {{\bibcorporate{U.S. General Accounting Office}}},
+ year = {1997},
+ month = feb,
+ title = {Telemedicine: Federal Strategy is Needed to Guide Investments},
+ type = {Publication},
+ number = {GAO/NSAID/HEHS-97-67},
+ howpublished = {Retrieved September 15, 2000, from General Accounting Office
+ Reports Online via GPO Access:
+ \url{http://www.access.gpo.gov/su_docs/aces/
+ aces160.shtml?/gao/index.html}\bibnodot{.}},
+}
+
+@misc{ex92,
+ author = {Miller, M. E.},
+ year = {1993},
+ title = {The {Interactive} {Tester}},
+ edition = {Version~4.0\noedition\ignorespaces},
+ type = {\bibcomputersoftware},
+ address = {Westminster, CA},
+ publisher = {Psytek Services},
+}
+
+@misc{ex93,
+ author = {Schwarzer, R.},
+ year = {1989},
+ title = {Statistics Software for Meta-Analysis},
+ type = {\bibcomputersoftwareandmanual},
+ lastchecked = {March 23, 2001},
+ url = {http://www.yorku.ca/faculty/academic/schwarze/meta_e.htm},
+}
+
+@manual{ex93-t1,
+ author = {{\bibcorporate{R Development Core Team}}},
+ year = {2004},
+ title = {R: A Language and Environment for Statistical Computing},
+ address = {Vienna, Austria},
+ publisher = {R Foundation for Statistical Computing},
+ url = {http://www.r-project.org},
+}
+
+@misc{ex94,
+ key = {{\APACcitebtitle{National Health Interview Survey}}},
+ title = {National {Health} {Interview} {Survey}---{Current} Health
+ Topics: 1991---{Longitudinal} Study of Aging},
+ edition = {Version~4\noedition\ignorespaces},
+ type = {Data file},
+ year = {\bibnodate},
+ address = {Hyattsville, MD},
+ publisher = {National Center for Health Statistics},
+}
+
+@misc{ex95,
+ author = {{\bibcorporate{Department of Health and Human Services,
+ National Center for Health Statistics}}},
+ firstkey = {{Department of Health and Human Services,
+ National Center for Health Statistics [DHHS-NCHS]}},
+ key = {{DHHS-NCHS}},
+ year = {1991},
+ title = {National {Health} {Provider} {Inventory}: Home Health
+ Agencies and Hospices, 1991},
+ type = {Data file},
+ howpublished = {Available from National Technical Information Service
+ Web site, \url{http://www.ntis.gov}\bibnodot{.}},
+}
+%</bibdb>
+% \end{macrocode}
+%
+% \subsection{The examples \LaTeX{} file (\fname{apacxmpl.tex})}
+%
+% The file \fname{apacxmpl.tex} contains the \LaTeX{} code for formatting
+% the examples from the APA manual. It can be studied to see how certain
+% nonstandard references can be formatted according to the APA rules,
+% to test \pkg{apacite}, and in particular to test compatibility with
+% other packages. We start with a standard head.
+% \begin{macrocode}
+%<*xmpl>
+\documentclass{article}
+\usepackage{url}
+\usepackage{apacite}
+\usepackage{apacdoc}
+
+\title{Testing \textsf{apacite}: Examples from the APA manual}
+\author{Erik Meijer\\
+ \textsf{apacite at gmail.com}
+}
+\date{2013/07/21}
+
+\begin{document}
+\maketitle
+\begin{abstract}
+This document tests \textsf{apacite} [2013/07/21 v6.03]. See the
+\textsf{apacite} documentation for more information.
+\end{abstract}
+
+%</xmpl>
+% \end{macrocode}
+%
+% \subsection{References from the 6th edition of the Publication Manual}
+%
+% These examples are from chapter~7 of the 6th edition of the APA manual.
+% \begin{macrocode}
+%<*xmpl>
+\section{Examples from chapter~7}
+
+\begin{enumerate}
+\item
+\cite{apa6:ch7-ex1} \\
+\cite{apa6:ch7-ex1} \\
+\fullciteA{apa6:ch7-ex1} \\
+\citeA{apa6:ch7-ex1}
+
+\item
+\cite{apa6:ch7-ex2} \\
+\cite{apa6:ch7-ex2} \\
+\fullciteA{apa6:ch7-ex2} \\
+\citeA{apa6:ch7-ex2}
+%</xmpl>
+%<*bibdb>
+@article{apa6:ch7-ex1,
+ author = {Herbst-Damm, Kathryn L. and Kulik, James A.},
+ year = {2005},
+ title = {Volunteer Support, Marital Status, and the Survival Times of
+ Terminally Ill Patients},
+ journal = {Health Psychology},
+ volume = {24},
+ pages = {225--229},
+ doi = {10.1037/0278-6133.24.2.225},
+}
+
+@article{apa6:ch7-ex2,
+ author = {Gilbert, David G. and McClernon, F. Joseph and
+ Rabinovich, Norka E. and Sugai, Chihiro and
+ Plath, Louisette C. and Asgaard, Greg and Zuo, Yantao and
+ Huggenvik, Jodi and Botros, Nazeih},
+ year = {2004},
+ title = {Effects of Quitting Smoking on {EEG} Activation and Attention
+ Last for More than 31 Days and are More Severe with Stress,
+ Dependence, {DRD2~A1} Allele, and Depressive Traits},
+ journal = {Nicotine \& Tobacco Research},
+ volume = {6},
+ pages = {249--267},
+ doi = {10.1080/14622200410001676305},
+}
+%</bibdb>
+% \end{macrocode}
+% Note that the page heading of the article itself gives the journal name with
+% an ampersand (`\&': \emph{Nicotine \& Tobacco Research}) and not with ``and''
+% as in the APA manual.
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex3-1} \\
+\cite{apa6:ch7-ex3-1} \\
+\fullciteA{apa6:ch7-ex3-1} \\
+\citeA{apa6:ch7-ex3-1}\\
+\mbox{}\\
+\cite{apa6:ch7-ex3-2} \\
+\cite{apa6:ch7-ex3-2} \\
+\fullciteA{apa6:ch7-ex3-2} \\
+\citeA{apa6:ch7-ex3-2}
+%</xmpl>
+%<*bibdb>
+@article{apa6:ch7-ex3-1,
+ author = {Sillick, Tamra J. and Schutte, Nicola S.},
+ year = {2006},
+ title = {Emotional Intelligence and Self-Esteem Mediate Between Perceived
+ Early Parental Love and Adult Happiness},
+ journal = {E-Journal of Applied Psychology: Emotional Intelligence},
+ volume = {2},
+ number = {2},
+ pages = {38--48},
+ url = {http://ojs.lib.swin.edu.au/index.php/ejab},
+}
+
+@article{apa6:ch7-ex3-2,
+ author = {Light, Matthew A. and Light, Ivan H.},
+ year = {2008},
+ title = {The Geographic Expansion of {Mexican} Immigration in the
+ {United} {States} and its Implications for Local Law
+ Enforcement},
+ journal = {Law Enforcement Executive Forum},
+ volume = {8},
+ number = {1},
+ pages = {73--82},
+}
+%</bibdb>
+% \end{macrocode}
+% This journal appears to prefer the name \emph{Law Enforcement Executive
+% Forum} over \emph{Law Enforcement Executive Forum Journal} (see
+% \url{http://www.iletsbei.com/lee_forum/}).
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex4} \\
+\cite{apa6:ch7-ex4} \\
+\fullciteA{apa6:ch7-ex4} \\
+\citeA{apa6:ch7-ex4}
+
+\item
+\cite{apa6:ch7-ex5} \\
+\cite{apa6:ch7-ex5} \\
+\fullciteA{apa6:ch7-ex5} \\
+\citeA{apa6:ch7-ex5}
+%</xmpl>
+%<*bibdb>
+@article{apa6:ch7-ex4,
+ author = {Guimard, Philippe and Florin, Agn\`es},
+ year = {2007},
+ title = {Les \'Evaluations des Enseignants en Grande Section de
+ Maternelle Sont-Elles Pr\'edictives des Difficult\'es de
+ Lecture au Cours Pr\'eparatoire?},
+ englishtitle = {Are Teacher Ratings in Kindergarten Predictive of
+ Reading Difficulties in First Grade?},
+ journal = {Approche Neuropsychologique des Apprentissages chez l'Enfant},
+ volume = {19},
+ pages = {5--17},
+}
+
+@article{apa6:ch7-ex5,
+ author = {Von Ledebur, Sidonia C.},
+ year = {2007},
+ title = {Optimizing Knowledge Transfer by New Employees in Companies},
+ journal = {Knowledge Management Research \& Practice},
+ howpublished = {Advance online publication},
+ doi = {10.1057/palgrave.kmrp.8500141},
+}
+%</bibdb>
+% \end{macrocode}
+% Here again the page heading of the article itself gives the journal name with
+% an ampersand (`\&') and not with ``and''. Note that the APA explicitly
+% changes ``von'' to ``Von'' to satisfy U.S. conventions of names. In
+% other languages, ``von'' would be retained. See elsewhere in this manual
+% for a discussion of how to treat von-parts.
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex6} \\
+\cite{apa6:ch7-ex6} \\
+\fullciteA{apa6:ch7-ex6} \\
+\citeA{apa6:ch7-ex6}
+
+\item
+\cite{apa6:ch7-ex7} \\
+\cite{apa6:ch7-ex7} \\
+\fullciteA{apa6:ch7-ex7} \\
+\citeA{apa6:ch7-ex7}
+%</xmpl>
+%<*bibdb>
+@article{apa6:ch7-ex6,
+ author = {Briscoe, Robert},
+ year = {\BIP},
+ title = {Egocentric Spatial Representation in Action and Perception},
+ journal = {Philosophy and Phenomenological Research},
+ url = {http://cogprints.org/5780/1/ECSRAP.F07.pdf},
+}
+
+@magazine{apa6:ch7-ex7,
+ author = {Chamberlin, J. and Novotney, A. and Packard, E.
+ and Price, M.},
+ year = {2008},
+ month = may,
+ title = {Enhancing Worker Well-Being: Occupational Health
+ Psychologists Convene to Share Their Research on Work,
+ Stress, and Health},
+ journal = {Monitor on Psychology},
+ volume = {39},
+ number = {5},
+ pages = {26--29},
+}
+%</bibdb>
+% \end{macrocode}
+% The online version (\url{http://www.apa.org/monitor/2008/05/workstress.aspx})
+% does not have a comma in the title before the ``and''.
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex8} \\
+\cite{apa6:ch7-ex8} \\
+\fullciteA{apa6:ch7-ex8} \\
+\citeA{apa6:ch7-ex8}
+%</xmpl>
+%<*bibdb>
+@magazine{apa6:ch7-ex8,
+ author = {Clay, Rebecca},
+ year = {2008},
+ month = jun,
+ title = {Science vs.\ Ideology: Psychologists Fight Back Against
+ the Misuse of Research},
+ journal = {Monitor on Psychology},
+ volume = {39},
+ number = {6},
+ url = {http://www.apa.org/monitor/},
+}
+%</bibdb>
+% \end{macrocode}
+% The APA manual incorrectly says ``about'' instead of ``against''.
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex9} \\
+\cite{apa6:ch7-ex9} \\
+\fullciteA{apa6:ch7-ex9} \\
+\citeA{apa6:ch7-ex9}
+
+\item
+\cite{apa6:ch7-ex10} \\
+\cite{apa6:ch7-ex10} \\
+\fullciteA{apa6:ch7-ex10} \\
+\citeA{apa6:ch7-ex10}
+
+\item
+\cite{apa6:ch7-ex11} \\
+\cite{apa6:ch7-ex11} \\
+\fullciteA{apa6:ch7-ex11} \\
+\citeA{apa6:ch7-ex11}
+
+\item
+\cite{apa6:ch7-ex12-1} \\
+\cite{apa6:ch7-ex12-1} \\
+\fullciteA{apa6:ch7-ex12-1} \\
+\citeA{apa6:ch7-ex12-1}\\
+\mbox{}\\
+\cite{apa6:ch7-ex12-2} \\
+\cite{apa6:ch7-ex12-2} \\
+\fullciteA{apa6:ch7-ex12-2} \\
+\citeA{apa6:ch7-ex12-2}\\
+%</xmpl>
+%<*bibdb>
+@article{apa6:ch7-ex9,
+ key = {{\APACciteatitle{Six Sites Meet}}},
+ title = {Six Sites Meet for Comprehensive Anti-Gang
+ Initiative Conference},
+ year = {2006},
+ month = nov # "/" # dec,
+ journal = {OJJDP News @ a Glance},
+ url =
+ {http://www.ncjrs.gov/html/ojjdp/news_at_glance/216684/topstory.html},
+}
+
+@newspaper{apa6:ch7-ex10,
+ author = {Schwartz, John},
+ year = {1993},
+ month = sep,
+ day = {30},
+ title = {Obesity Affects Economic, Social Status},
+ journal = {The Washington Post},
+ pages = {A1, A4},
+}
+
+@newspaper{apa6:ch7-ex11,
+ author = {Brody, Jane E.},
+ year = {2007},
+ month = dec,
+ day = {11},
+ title = {Mental Reserves Keep Brain Agile},
+ journal = {The New York Times},
+ url = {http://www.nytimes.com},
+}
+
+@article{apa6:ch7-ex12-1,
+ editor = {Haney, Craig and Wiener, Richard L.},
+ year = {2004},
+ title = {Capital Punishment in the {United} {States}},
+ type = {Special issue},
+ journal = {Psychology, Public Policy, and Law},
+ volume = {10},
+ number = {4},
+}
+
+@article{apa6:ch7-ex12-2,
+ editor = {Yan, Zheng and Greenfield, Patricia},
+ year = {2006},
+ title = {Children, Adolescents, and the {Internet}},
+ type = {Special section},
+ journal = {Developmental Psychology},
+ volume = {42},
+ pages = {391--458},
+}
+%</bibdb>
+% \end{macrocode}
+% The journal lists the editors as Yan and Greenfield (in this order),
+% although the first article (editorial introduction/overview) has
+% Greenfield and Yan.
+%
+% The following is an implementation of the second bullet point: a special
+% issue with no editors.
+% \begin{macrocode}
+%<*xmpl>
+\mbox{}\\
+\cite{apa6:ch7-ex12-3} \\
+\cite{apa6:ch7-ex12-3} \\
+\fullciteA{apa6:ch7-ex12-3} \\
+\citeA{apa6:ch7-ex12-3}
+
+\item
+\cite{apa6:ch7-ex13-1} \\
+\cite{apa6:ch7-ex13-1} \\
+\fullciteA{apa6:ch7-ex13-1} \\
+\citeA{apa6:ch7-ex13-1}\\
+%</xmpl>
+%<*bibdb>
+@article{apa6:ch7-ex12-3,
+ key = {{\APACciteatitle{Capital Punishment}}},
+ title = {Capital Punishment in the {United} {States}},
+ year = {2004},
+ type = {Special issue},
+ journal = {Psychology, Public Policy, and Law},
+ volume = {10},
+ number = {4},
+}
+
+@article{apa6:ch7-ex13-1,
+ author = {Ganster, Daniel C. and Schaubroeck, John and
+ Sime, Wesley E. and Mayes, Bronston T.},
+ year = {1991},
+ title = {The Nomological Validity of the {Type~A} Personality Among
+ Employed Adults},
+ type = {Monograph},
+ journal = {Journal of Applied Psychology},
+ volume = {76},
+ pages = {143--168},
+ doi = {10.1037/0021-9010.76.1.143},
+}
+%</bibdb>
+% \end{macrocode}
+% The bullet points given here were explicit examples in the 5th edition.
+% We have to be liberal with what goes in the \fieldname{number} field
+% for these:
+% \begin{macrocode}
+%<*xmpl>
+\mbox{}\\
+\cite{apa6:ch7-ex13-2} \\
+\cite{apa6:ch7-ex13-2} \\
+\fullciteA{apa6:ch7-ex13-2} \\
+\citeA{apa6:ch7-ex13-2}\\
+\mbox{}\\
+\cite{apa6:ch7-ex13-3} \\
+\cite{apa6:ch7-ex13-3} \\
+\fullciteA{apa6:ch7-ex13-3} \\
+\citeA{apa6:ch7-ex13-3}
+%</xmpl>
+%<*bibdb>
+@article{apa6:ch7-ex13-2,
+ author = {Harris, Paul L. and Kavanaugh, Robert D.},
+ year = {1993},
+ title = {Young Children's Understanding of Pretense},
+ journal = {Monographs of the Society for Research in Child Development},
+ volume = {58},
+ number = {1, Serial No.~231},
+}
+
+@article{apa6:ch7-ex13-3,
+ author = {Battig, William F. and Montague, William E.},
+ year = {1969},
+ title = {Category Norms for Verbal Items in 56 Categories:
+ A Replication and Extension of the {Connecticut}
+ Category Norms},
+ journal = {Journal of Experimental Psychology Monographs},
+ volume = {80},
+ number = {3, Pt.~2},
+}
+%</bibdb>
+% \end{macrocode}
+% The 5th edition gives the journal as ``Journal of Experimental
+% Psychology Monographs'' and its front cover says ``Journal of Experimental
+% Psychology Monograph'', but the volume and issue number and online
+% categorization (on JSTOR) suggests that this is just a special issue
+% of \emph{Journal of Experimental Psychology}, which would argue in
+% favor of dropping the ``Monographs''.
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex14} \\
+\cite{apa6:ch7-ex14} \\
+\fullciteA{apa6:ch7-ex14} \\
+\citeA{apa6:ch7-ex14}
+%</xmpl>
+%<*bibdb>
+@article{apa6:ch7-ex14,
+ key = {{\APACciteatitle{Editorial}}},
+ title = {Editorial: ``{What} Is a Disaster'' and Why Does This
+ Question Matter?},
+ year = {2006},
+ type = {Editorial},
+ journal = {Journal of Contingencies and Crisis Management},
+ volume = {14},
+ pages = {1--2},
+}
+%</bibdb>
+% \end{macrocode}
+% The doi is \doi{10.1111/j.1468-5973.2006.00475.x}; normally this would
+% be added.
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex15} \\
+\cite{apa6:ch7-ex15} \\
+\fullciteA{apa6:ch7-ex15} \\
+\citeA{apa6:ch7-ex15}
+%</xmpl>
+%<*bibdb>
+@article{apa6:ch7-ex15,
+ author = {Marshall-Pescini, Sarah and Whiten, Andrew},
+ year = {2008},
+ title = {Social Learning of Nut-Cracking Behavior in {East} {African}
+ Sanctuary-Living Chimpanzees (\emph{Pan troglodytes
+ schweinfurthii})},
+ type = {Supplemental material},
+ journal = {Journal of Comparative Psychology},
+ volume = {122},
+ pages = {186--194},
+ doi = {10.1037/0735-7036.122.2.186.supp},
+}
+%</bibdb>
+% \end{macrocode}
+% Enclosing ``\verb+Pan troglodytes schweinfurthii+'' in exactly one pair of
+% braces (which happen to also be the delimiters for the \cmd{\emph} command)
+% ensures that the correct capitalization is output.
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex16-1} \\
+\cite{apa6:ch7-ex16-1} \\
+\fullciteA{apa6:ch7-ex16-1} \\
+\citeA{apa6:ch7-ex16-1} \\
+\mbox{}\\
+\cite{apa6:ch7-ex16-2} \\
+\cite{apa6:ch7-ex16-2} \\
+\fullciteA{apa6:ch7-ex16-2} \\
+\citeA{apa6:ch7-ex16-2}
+%</xmpl>
+%<*bibdb>
+@article{apa6:ch7-ex16-1,
+ author = {Woolf, Nancy J. and Young, Stacey L. and Fanselow, Michael S.
+ and Butcher, Larry L.},
+ year = {1991},
+ title = {{MAP-2} Expression in Cholinoceptive Pyramidal Cells of
+ Rodent Cortex and Hippocampus is Altered by {Pavlovian}
+ Conditioning},
+ type = {Abstract},
+ journal = {Society for Neuroscience Abstracts},
+ volume = {17},
+ pages = {480},
+}
+
+@article{apa6:ch7-ex16-2,
+ author = {Lassen, Stephen R. and Steele, Michael M. and Sailor, Wayne},
+ year = {2006},
+ title = {The Relationship of School-Wide {Positive} {Behavior}
+ {Support} to Academic Achievement in an Urban Middle School},
+ journal = {Psychology in the Schools},
+ volume = {43},
+ pages = {701--712},
+ url = {http://www.interscience.wiley.com},
+}
+%</bibdb>
+% \end{macrocode}
+% The doi is \doi{10.1002/pits.20177}; normally this would be added. In
+% the title and the abstract, ``Positive Behavior Support'' is capitalized,
+% so presumably this is the proper name of an experimental program.
+% Therefore I have enclosed it in braces here as well, so that this
+% capitalization is preserved.
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex17} \\
+\cite{apa6:ch7-ex17} \\
+\fullciteA{apa6:ch7-ex17} \\
+\citeA{apa6:ch7-ex17}
+%</xmpl>
+%<*bibdb>
+@article{apa6:ch7-ex17,
+ author = {Hare, Linda R. and O'Neill, Kevin},
+ year = {2000},
+ title = {Effectiveness and Efficiency in Small Academic Peer Groups:
+ A Case Study},
+ journal = {Small Group Research},
+ volume = {31},
+ pages = {24--53},
+ howpublished = {Abstract retrieved from {Sociological} {Abstracts}
+ database},
+ note = {(Accession No.\ 200010185)},
+}
+%</bibdb>
+% \end{macrocode}
+% The construction using the \fieldname{howpublished} and \fieldname{note}
+% fields does the job, but is not very elegant.
+% The doi (of the whole article) is \doi{10.1177/104649640003100102}, which
+% presumably normally would be added. The abstract is also freely available
+% on the Sage website (\url{http://sgr.sagepub.com/content/31/1/24} on
+% July 10, 2010), which is a lot more accessible than this database.
+% Note that the APA manual omits the subtitle. It is remarkable how
+% many such small errors there are in the APA manual.
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex18} \\
+\cite{apa6:ch7-ex18} \\
+\fullciteA{apa6:ch7-ex18} \\
+\citeA{apa6:ch7-ex18}
+%</xmpl>
+%<*bibdb>
+@book{apa6:ch7-ex18,
+ author = {Shotton, Margaret A.},
+ year = {1989},
+ title = {Computer Addiction? {A} Study of Computer Dependency},
+ address = {London, England},
+ publisher = {Taylor \& Francis},
+}
+%</bibdb>
+% \end{macrocode}
+% I am puzzled by ``England''; ``UK'' seems more appropriate to me and that's
+% what I'm always using.
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex19-1} \\
+\cite{apa6:ch7-ex19-1} \\
+\fullciteA{apa6:ch7-ex19-1} \\
+\citeA{apa6:ch7-ex19-1} \\
+\mbox{}\\
+\cite{apa6:ch7-ex19-2} \\
+\cite{apa6:ch7-ex19-2} \\
+\fullciteA{apa6:ch7-ex19-2} \\
+\citeA{apa6:ch7-ex19-2}
+%</xmpl>
+%<*bibdb>
+@book{apa6:ch7-ex19-1,
+ author = {Shotton, Margaret A.},
+ year = {1989},
+ title = {Computer Addiction? {A} Study of Computer Dependency},
+ type = {DX Reader version},
+ url = {http://www.ebookstore.tandf.co.uk/html/index.asp},
+}
+
+@book{apa6:ch7-ex19-2,
+ author = {Schiraldi, Glenn R.},
+ year = {2000},
+ title = {The Post-Traumatic Stress Disorder Sourcebook:
+ A Guide to Healing, Recovery, and Growth},
+ type = {Adobe Digital Editions version},
+ doi = {10.1036/0071393722},
+}
+%</bibdb>
+% \end{macrocode}
+% The website that this doi refers to gives the publication date as 2000,
+% so that's what I'm using here. (The APA uses 2001.) This is supposed to
+% be a ``free eBook'', but even after installing the Adobe software, the
+% link to the actual content gives a ``page not found'' error for me.
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex20} \\
+\cite{apa6:ch7-ex20} \\
+\fullciteA{apa6:ch7-ex20} \\
+\citeA{apa6:ch7-ex20}
+%</xmpl>
+%<*bibdb>
+@book{apa6:ch7-ex20,
+ author = {O'Keeffe, Elton},
+ year = {\bibnodate},
+ title = {Egoism \& the Crisis in {Western} Values},
+ url = {http://www.onlineoriginals.com/showitem.asp?itemID=135},
+}
+%</bibdb>
+% \end{macrocode}
+% Note the typo in the last name of the author in the APA manual.
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex21} \\
+\cite{apa6:ch7-ex21} \\
+\fullciteA{apa6:ch7-ex21} \\
+\citeA{apa6:ch7-ex21}
+%</xmpl>
+%<*bibdb>
+@incollection{apa6:ch7-ex21,
+ author = {Freud, Sigmund},
+ year = {1953},
+ title = {The Method of Interpreting Dreams:
+ An Analysis of a Specimen Dream},
+ editor = {Strachey, James},
+ translator = {Strachey, James},
+ booktitle = {The Standard Edition of the Complete Psychological
+ Works of {Sigmund} {Freud}},
+ volume = {4},
+ pages = {96--121},
+ originalyear = {1900},
+ url = {http://books.google.com/books},
+}
+%</bibdb>
+% \end{macrocode}
+% This url did not bring me very far. It took me quite some time and different
+% search strings to find the volume referred to. Search for author =
+% ``Strachey'', year = 1953, and then select ``The interpretation of dreams,
+% first part (1900)''; this leads in my case to
+% \url{http://books.google.com/books?id=moN_OQAACAAJ&
+% dq=inauthor:%22James+Strachey%22&hl=en&ei=9E1FTOyVOsHflgems_DrAw&
+% sa=X&oi=book_result&ct=result&resnum=8&ved=0CEcQ6AEwBw}, but there is
+% no preview available, and there is no useful information other than the
+% title and the author, so exactly what is ``retrieved'' is not clear to
+% me. After some internet searching, I did find
+% \url{http://www.pep-web.org/static.php?page=standardedition}, which has
+% a clickable table of contents, and presumably if you have a registered
+% IP address, the actual content. Apparently, my IP address is not registered,
+% so I had no access to the actual content.
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex22} \\
+\cite{apa6:ch7-ex22} \\
+\fullciteA{apa6:ch7-ex22} \\
+\citeA{apa6:ch7-ex22}
+%</xmpl>
+%<*bibdb>
+@book{apa6:ch7-ex22,
+ editor = {Thomas, Noreen},
+ year = {2002},
+ title = {Perspectives on the Community College: A Journey of Discovery},
+ type = {Monograph},
+ url = {http://eric.ed.gov},
+}
+%</bibdb>
+% \end{macrocode}
+% The ERIC document number is ED\,463\,808.
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex23} \\
+\cite{apa6:ch7-ex23} \\
+\fullciteA{apa6:ch7-ex23} \\
+\citeA{apa6:ch7-ex23}
+%</xmpl>
+%<*bibdb>
+@book{apa6:ch7-ex23,
+ editor = {Koch, Sigmund},
+ year = {1959--1963},
+ title = {Psychology: A Study of a Science},
+ volume = {1--6},
+ address = {New York, NY},
+ publisher = {McGraw-Hill},
+}
+%</bibdb>
+% \end{macrocode}
+% Note that the correct title has ``a'' before ``science''.
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex24} \\
+\cite{apa6:ch7-ex24} \\
+\fullciteA{apa6:ch7-ex24} \\
+\citeA{apa6:ch7-ex24}
+%</xmpl>
+%<*bibdb>
+@incollection{apa6:ch7-ex24,
+ author = {Strong, Edward K., Jr. and Uhrbrock, Richard S.},
+ year = {1923},
+ title = {Bibliography on Job Analysis},
+ editor = {Outhwaite{\bibeditortype{Series Ed.\hbox{}}}, Leonard},
+ booktitle = {Personnel {Research} {Series}: Vol.~1. {Job} Analysis and the
+ Curriculum},
+ pages = {140--146},
+ doi = {10.1037/10762-000},
+}
+%</bibdb>
+% \end{macrocode}
+% There are several notable things with this reference: (1) The whole book is
+% written by the same authors, so I'd think we'd normally list the book title
+% in the \fieldname{title} field and in the text refer to the specific chapter
+% or pages, rather than single out the chapter in the reference list. (2)
+% The doi of the chapter is \doi{10.1037/10762-006}; the doi given here
+% is the one for the whole book. (3) It is unclear why we would mention the
+% series in which the book appears or the series editor. My impression from
+% earlier versions of the \emph{APA manual} is that this is only done if the
+% ``series'' is to be considered a joint work (like an encyclopedia) where
+% different volumes have different editors and there is a series editor. It is
+% my impression that the current work is just a book in a series of books, like
+% every publisher has its various series with their series editors. (Note that
+% the series title has to be capitalized.) So in summary, I would normally
+% format this example as
+% \begin{verbatim}
+% @book{apa6:ch7-ex24,
+% author = {Strong, Edward K., Jr. and Uhrbrock, Richard S.},
+% year = {1923},
+% title = {Job Analysis and the Curriculum},
+% doi = {10.1037/10762-000},
+% }
+% \end{verbatim}
+% where I'm using the url for the whole book, because I refer to the whole book.
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex25} \\
+\cite{apa6:ch7-ex25} \\
+\fullciteA{apa6:ch7-ex25} \\
+\citeA{apa6:ch7-ex25}
+%</xmpl>
+%<*bibdb>
+@incollection{apa6:ch7-ex25,
+ author = {Haybron, Daniel M.},
+ year = {2008},
+ title = {Philosophy and the Science of Subjective Well-Being},
+ editor = {Eid, Michael and Larsen, Randy J.},
+ booktitle = {The Science of Subjective Well-Being},
+ pages = {17--43},
+ address = {New York, NY},
+ publisher = {Guilford Press},
+}
+%</bibdb>
+% \end{macrocode}
+% In previous versions of the \emph{APA manual} (e.g., 5th ed., p.~217), the
+% states or countries of a list of cities ``well known for publishing'',
+% including New York, were not given, but this has been abandoned in the 6th
+% ed.
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex26} \\
+\cite{apa6:ch7-ex26} \\
+\fullciteA{apa6:ch7-ex26} \\
+\citeA{apa6:ch7-ex26}
+%</xmpl>
+%<*bibdb>
+@incollection{apa6:ch7-ex26,
+ author = {Piaget, Jean},
+ year = {1988},
+ title = {Extracts from {Piaget}'s Theory},
+ translator = {Gellerier, Guy and Langer, Jonas},
+ editor = {Richardson, Ken and Sheldon, Sue},
+ booktitle = {Cognitive Development to Adolescence: A Reader},
+ pages = {3--18},
+ address = {Hillsdale, NJ},
+ publisher = {Erlbaum},
+ originalbooktitle = {Manual of Child Psychology},
+ originalpages = {703--732},
+ originaleditor = {Mussen, Paul H.},
+ originalyear = {1970},
+ originaladdress = {New York, NY},
+ originalpublisher = {Wiley},
+}
+%</bibdb>
+% \end{macrocode}
+% It looks like the title of the Mussen book should be
+% \emph{Carmichael's Manual of Child Psychology} and it's the third edition.
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex27} \\
+\cite{apa6:ch7-ex27} \\
+\fullciteA{apa6:ch7-ex27} \\
+\citeA{apa6:ch7-ex27}
+%</xmpl>
+%<*bibdb>
+@book{apa6:ch7-ex27,
+ editor = {VandenBos, Gary R.},
+ year = {2007},
+ title = {{APA} Dictionary of Psychology},
+ address = {Washington, DC},
+ publisher = {American Psychological Association},
+}
+%</bibdb>
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex28} \\
+\cite{apa6:ch7-ex28} \\
+\fullciteA{apa6:ch7-ex28} \\
+\citeA{apa6:ch7-ex28}
+%</xmpl>
+%<*bibdb>
+@book{apa6:ch7-ex28,
+author = {{\bibcorporate{Real Academia Espa\~{n}ola}}},
+ year = {2001},
+ title = {Diccionario de la Lengua Espa\~{n}ola},
+ englishtitle = {Dictionary of the {Spanish} Language},
+ edition = {22},
+ address = {Madrid, Spain},
+ publisher = {{\bibcorporate{Real Academia Espa\~{n}ola}}},
+}
+%</bibdb>
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex29} \\
+\cite{apa6:ch7-ex29} \\
+\fullciteA{apa6:ch7-ex29} \\
+\citeA{apa6:ch7-ex29}
+%</xmpl>
+%<*bibdb>
+@incollection{apa6:ch7-ex29,
+ author = {Graham, George},
+ year = {2007},
+ title = {Behaviorism},
+ editor = {Zalta, Edward N.},
+ booktitle = {The {Stanford} Encyclopedia of Philosophy},
+ edition = {Fall 2007},
+ url = {http://plato.stanford.edu/entries/behaviorism/},
+}
+%</bibdb>
+% \end{macrocode}
+% At the time of this writing (June 2011), this url contains the Fall 2010
+% version. The Fall 2007 version can be found at
+% \url{http://plato.stanford.edu/archives/fall2007/entries/behaviorism/}.
+% This is what the website itself says about citation:
+% \begin{quote}
+% Please note that you are being asked to cite a URL that is in a fixed,
+% archived edition of the encyclopedia. The reason for this is that the
+% Stanford Encyclopedia of Philosophy recommends that readers use a stable
+% citation for scholarly purposes. You should not cite the dynamic portion
+% of the encyclopedia.
+% \end{quote}
+% Furthermore,
+% \begin{quote}
+% There are over 50 \BibTeX{} styles and no standard format that is
+% guaranteed to work for all 50. So, we suggest you use our string as a
+% `useful suggestion' that might need to be adapted for your particular
+% \BibTeX{} file.
+% \end{quote}
+% \begin{verbatim}
+% @InCollection{sep-behaviorism,
+% author = {Graham, George},
+% title = {Behaviorism},
+% booktitle = {The Stanford Encyclopedia of Philosophy},
+% editor = {Edward N. Zalta},
+% howpublished = {\url{http://plato.stanford.edu/archives/fall2007/entries/behaviorism/}},
+% year = {2007},
+% edition = {Fall 2007},
+% }
+% \end{verbatim}
+% which is pretty similar to what I did above. The only big difference is that
+% that they put the url in the \fieldname{howpublished} field, which should
+% work fine with \pkg{apacite}, except that the APA wants the ``Retrieved from''
+% string, which is generated by \pkg{apacite} if you put the url in the
+% \fieldname{url} field but not if you put it in the \fieldname{howpublished}
+% field, so you'll have to insert it yourself in the \fieldname{howpublished}
+% field if you want to use that.
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex30} \\
+\cite{apa6:ch7-ex30} \\
+\fullciteA{apa6:ch7-ex30} \\
+\citeA{apa6:ch7-ex30}
+%</xmpl>
+%<*bibdb>
+@incollection{apa6:ch7-ex30,
+ title = {Heuristic},
+ booktitle = {Merriam-{Webster}'s Online Dictionary},
+ edition = {11},
+ url = {http://www.m-w.com/dictionary/heuristic},
+}
+%</bibdb>
+% \end{macrocode}
+% One could argue that if the online edition refers to the 11th edition of
+% the print version, the year should also be the year of the print version,
+% instead of ``n.d.''.
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex31} \\
+\cite{apa6:ch7-ex31} \\
+\fullciteA{apa6:ch7-ex31} \\
+\citeA{apa6:ch7-ex31}
+%</xmpl>
+%<*bibdb>
+@techreport{apa6:ch7-ex31,
+ author = {{\bibcorporate{U.S. Department of Health and Human
+ Services, National Institutes of Health, National Heart,
+ Lung, and Blood Institute}}},
+ firstkey = {{U.S. Department of Health and Human
+ Services, National Institutes of Health, National Heart,
+ Lung, and Blood Institute [NHLBI]}},
+ key = {{NHLBI}},
+ year = {2003},
+ title = {Managing Asthma: A Guide for Schools},
+ type = {NIH Publication},
+ number = {02-2650},
+ url = {http://www.nhlbi.nih.gov/health/prof/lung/asthma/asth_sch.pdf},
+}
+%</bibdb>
+% \end{macrocode}
+% This is an awfully long author name. In the 5th edition,
+% section~3.96, example~1, only ``National Institute of Mental Health''
+% was used, without all the higher levels in the hierarchy.
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex32} \\
+\cite{apa6:ch7-ex32} \\
+\fullciteA{apa6:ch7-ex32} \\
+\citeA{apa6:ch7-ex32}
+%</xmpl>
+%<*bibdb>
+@techreport{apa6:ch7-ex32,
+ author = {{\bibcorporate{American Psychological Association, Task
+ Force on the Sexualization of Girls}}},
+ firstkey = {{American Psychological Association, Task
+ Force on the Sexualization of Girls [APA]}},
+ key = {{APA}},
+ year = {2007},
+ title = {Report of the {APA} {Task} {Force} on the {Sexualization}
+ of {Girls}},
+ type = {\bibnotype},
+ url = {http://www.apa.org/pi/wpo/sexualization.html},
+}
+%</bibdb>
+% \end{macrocode}
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex33} \\
+\cite{apa6:ch7-ex33} \\
+\fullciteA{apa6:ch7-ex33} \\
+\citeA{apa6:ch7-ex33}
+%</xmpl>
+%<*bibdb>
+@techreport{apa6:ch7-ex33,
+ author = {Kessy, Severine S. A. and Urio, Fratern M.},
+ year = {2006},
+ title = {The Contribution of Microfinance Institutions to
+ Poverty Reduction in {Tanzania}},
+ type = {Research Report\APACredefineOnce{BRetrievedFrom}
+ {Retrieved from Research on Poverty Alleviation
+ website:\ }},
+ number = {06.3},
+ url = {http://www.repoa.or.tz/documents_storage/Publications/Reports/06.3_Kessy_and_Urio.pdf},
+}
+%</bibdb>
+% \end{macrocode}
+% Note the use of \cmd{\APACredefineOnce} from the \pkg{apacdoc}
+% package to make a one-time change of the \cmd{\BRetrievedFrom}
+% command to accommodate the ``Research on Poverty Alleviation
+% website''.
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex34} \\
+\cite{apa6:ch7-ex34} \\
+\fullciteA{apa6:ch7-ex34} \\
+\citeA{apa6:ch7-ex34}
+%</xmpl>
+%<*bibdb>
+@techreport{apa6:ch7-ex34,
+ author = {McDaniel, Julie E. and Miskel, Cecil G.},
+ year = {2002},
+ title = {The Effect of Groups and Individuals on National
+ Decisionmaking: Influence and Domination in the
+ Reading Policymaking Environment},
+ type = {CIERA Report\APACredefineOnce{BRetrievedFrom}
+ {Retrieved from University of Michigan, Center for
+ Improvement of Early Reading Achievement website:\ }},
+ number = {3-025},
+ url = {http://www.ciera.org/library/reports/inquiry-3/3-025/3-025.pdf},
+}
+%</bibdb>
+% \end{macrocode}
+% The APA manual does not have a ``No.'' after ``CIERA Report'',
+% which seems like an error in the manual to me.
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex35} \\
+\cite{apa6:ch7-ex35} \\
+\fullciteA{apa6:ch7-ex35} \\
+\citeA{apa6:ch7-ex35}
+%</xmpl>
+%<*bibdb>
+@techreport{apa6:ch7-ex35,
+ author = {{\bibcorporate{Employee Benefit Research Institute}}},
+ firstkey = {{Employee Benefit Research Institute [EBRI]}},
+ key = {{EBRI}},
+ year = {1992},
+ month = feb,
+ title = {Sources of Health Insurance and Characteristics of the
+ Uninsured, Analysis of the {March} 1991 {Current}
+ {Population} {Survey}},
+ type = {Issue Brief},
+ number = {123},
+ address = {Washington, DC},
+ institution = {{\bibcorporate{Employee Benefit Research Institute}}},
+}
+%</bibdb>
+% \end{macrocode}
+% The APA manual does not include a url, perhaps for the sake of
+% an example that shows address and publisher, but I was able to
+% retrieve it from \url{http://www.ebri.org/publications/ib/}
+% Also, the APA manual does not list the full title.
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex36} \\
+\cite{apa6:ch7-ex36} \\
+\fullciteA{apa6:ch7-ex36} \\
+\citeA{apa6:ch7-ex36}
+%</xmpl>
+%<*bibdb>
+@lecture{apa6:ch7-ex36,
+ author = {Muellbauer, John},
+ year = {2007},
+ month = sep,
+ title = {Housing, Credit and Consumer Expenditure},
+ chair = {Ludvigson, Sydney C.},
+ symposium = {Housing and Consumer Behavior},
+ howpublished = {Symposium conducted at the meeting of the {Federal}
+ {Reserve} {Bank} of {Kansas} {City}},
+ address = {Jackson Hole, WY},
+}
+%</bibdb>
+% \end{macrocode}
+% There are several things not right about this entry. A minor point is
+% that the title does not have a comma after ``Credit''. More
+% importantly, the entry seems to misrepresent the symposium. On the
+% website
+% \url{http://www.kc.frb.org/publications/research/escp/escp-2007.cfm},
+% the symposium is listed as ``Housing, Housing Finance, \& Monetary
+% Policy, a symposium sponsored by the Federal Reserve Bank of Kansas
+% City''. So the title of the symposium is different and it is not a
+% ``meeting of'' but a ``symposium sponsored by''. ``Housing and
+% Consumer Behavior'' is the title of the session, in which
+% Muellbauer's paper is the only paper, so it appears this was simply
+% a provisional title of the paper. Ludvigson is the discussant, which
+% is not generally the same as the chair, and in fact Martin Feldstein
+% is listed as the chair of the general discussion, who also gives the
+% ``Overview and concluding remarks'' at the end of the symposium. The
+% Kansas City Fed's website posts two versions of the paper (neither of
+% which is listed in the APA manual): one downloadable from the website
+% mentioned above, which is nicely typeset and starts at page 267, and
+% thus looks like an edited published version, and one at
+% \url{http://www.kc.frb.org/publicat/sympos/2007/pdf/2007.09.17.muellbauer.pdf},
+% which looks like the accepted version from the author. The former
+% lists the middle initial ``N.'' of the author, whereas the latter
+% does not. Normally, one would cite the published version, but for the
+% sake of this example, we cite the paper presented. Nevertheless, the
+% description in the APA manual seems grossly inaccurate.
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex37} \\
+\cite{apa6:ch7-ex37} \\
+\fullciteA{apa6:ch7-ex37} \\
+\citeA{apa6:ch7-ex37}
+%</xmpl>
+%<*bibdb>
+@lecture{apa6:ch7-ex37,
+ author = {Liu, Shuhua},
+ year = {2005},
+ month = may,
+ title = {Defending Against Business Crises with the Help of
+ Intelligent Agent Based Early Warning Solutions},
+ howpublished = {Paper presented at the Seventh International
+ Conference on Enterprise Information Systems},
+ address = {Miami, FL\APACredefineOnce{BRetrievedFrom}{Abstract
+ retrieved from\ }},
+ url = {http://www.iceis.org/iceis2005/abstracts_2005.htm},
+}
+%</bibdb>
+% \end{macrocode}
+% The website itself uses ``7th'' instead of ``Seventh''.
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex38} \\
+\cite{apa6:ch7-ex38} \\
+\fullciteA{apa6:ch7-ex38} \\
+\citeA{apa6:ch7-ex38}
+%</xmpl>
+%<*bibdb>
+@article{apa6:ch7-ex38,
+ author = {Herculano-Houzel, Suzana and Collins, Christine E.
+ and Wong, Peiyan and Kaas, Jon H. and Lent, Roberto},
+ year = {2008},
+ title = {The Basic Nonuniformity of the Cerebral Cortex},
+ journal = {Proceedings of the National Academy of Sciences, USA},
+ volume = {105},
+ pages = {12593--12598},
+ doi = {10.1073/pnas.0805417105},
+}
+%</bibdb>
+% \end{macrocode}
+% Despite the name ``Proceedings'', this is an ordinary journal and
+% thus there is nothing special about this reference. It is
+% noteworthy, though, that in the first printing of the 6th edition
+% of the APA manual, ``, USA,'' was missing, and this addition is
+% listed as a correction in the errata on the APA website. Still this
+% is an interesting case where the APA departs from its policy of not
+% abbreviating journal titles: PNAS's website lists the name of the
+% journal as ``Proceedings of the National Academy of Sciences of the
+% United States of America'', and abbreviates it to PNAS.
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex39} \\
+\cite{apa6:ch7-ex39} \\
+\fullciteA{apa6:ch7-ex39} \\
+\citeA{apa6:ch7-ex39}
+%</xmpl>
+%<*bibdb>
+@incollection{apa6:ch7-ex39,
+ author = {Katz, Itai and Gabayan, Kevin and Aghajan, Hamid},
+ year = {2007},
+ title = {A Multi-touch Surface Using Multiple Cameras},
+ editor = {Blanc-Talon, Jacques and Philips, Wilfried
+ and Popescu, Dan and Scheunders, Paul},
+ booktitle = {{Lecture} {Notes} in {Computer} {Science}: Vol.~4678.
+ {Advanced} Concepts for Intelligent Vision Systems},
+ pages = {97--108},
+ doi = {10.1007/978-3-540-74607-2_9},
+}
+%</bibdb>
+% \end{macrocode}
+% For references with a doi or url, the general rule in the 6th edition
+% is to omit the publisher and its address, so this is what I did, and
+% the example in the APA manual seems incorrect. Also, the
+% capitalization of the book title seems incorrect (cf.\ example~24).
+% From previous versions of the APA manual, I got the impression that
+% ``series'' in APA speak was the title of a coherent multivolume work
+% with possibly different volume editors, and not the name of a book
+% series with unrelated works. Because the \fieldname{series} field in
+% \BibTeX{} is intended for the latter, which would not normally be
+% included in a reference in psychology, \pkg{apacite} has ignored it
+% thus far. This example, however, falls in the latter category, and
+% thus I may need to reconsider how \pkg{apacite} deals with this,
+% especially because it seems more natural then to split what is now
+% in the \fieldname{booktitle} field into \fieldname{series},
+% \fieldname{volume}, and \fieldname{booktitle}. Note that the example
+% does not mention the series editors, unlike series examples in
+% previous editions of the APA manual.
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex40} \\
+\cite{apa6:ch7-ex40} \\
+\fullciteA{apa6:ch7-ex40} \\
+\citeA{apa6:ch7-ex40} \\
+%</xmpl>
+%<*bibdb>
+@mastersthesis{apa6:ch7-ex40,
+ author = {McNiel, Donita S.},
+ year = {2006},
+ title = {Meaning Through Narrative: A Personal Narrative
+ Discussing Growing Up with an Alcoholic Mother},
+ howpublished = {Available from ProQuest Dissertations and Theses
+ database},
+ note = {UMI No.\ 1434728},
+}
+%</bibdb>
+% \end{macrocode}
+% The APA manual gives rules for unpublished theses, but provides no
+% explicit examples. So let's reuse two examples from the 5th edition
+% here. Note, however, that I obtained this information and the
+% abstracts, though not the full text, from ProQuest, and it says that
+% these are abstracted in \emph{DAI} (Series~B, Vol.~50, No.~11,
+% p.~5303, 1990) and \emph{MAI} (Vol.~30, No.~3, p.~906, 1992),
+% respectively. This also lists the title of the first one and the year
+% of the second one differently from the 5th edition of the APA manual.
+% I used the ProQuest information.
+% \begin{macrocode}
+%<*xmpl>
+\mbox{}\\
+\cite{apa6:ch7-ex40-2} \\
+\cite{apa6:ch7-ex40-2} \\
+\fullciteA{apa6:ch7-ex40-2} \\
+\citeA{apa6:ch7-ex40-2} \\
+\mbox{}\\
+\cite{apa6:ch7-ex40-3} \\
+\cite{apa6:ch7-ex40-3} \\
+\fullciteA{apa6:ch7-ex40-3} \\
+\citeA{apa6:ch7-ex40-3}
+%</xmpl>
+%<*bibdb>
+@phdthesis{apa6:ch7-ex40-2,
+ author = {Wilfley, Denise E.},
+ year = {1989},
+ title = {An Analysis of Psychological Distress, Self-concept,
+ and Patterns of Family Interactions in Two Subgroups
+ of Bulimia--Normal Weight and Obese},
+ school = {University of Missouri},
+ address = {Columbia},
+}
+@mastersthesis{apa6:ch7-ex40-3,
+ author = {Almeida, David M.},
+ year = {1989},
+ title = {Fathers' Participation in Family Work: Consequences
+ for Fathers' Stress and Father-Child Relations},
+ school = {University of Victoria},
+ address = {Victoria, British Columbia, Canada},
+}
+%</bibdb>
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex41} \\
+\cite{apa6:ch7-ex41} \\
+\fullciteA{apa6:ch7-ex41} \\
+\citeA{apa6:ch7-ex41}
+%</xmpl>
+%<*bibdb>
+@phdthesis{apa6:ch7-ex41,
+ author = {Adams, Ronald Jerry},
+ year = {1973},
+ title = {Building a Foundation for Evaluation of Instruction in
+ Higher Education and Continuing Education},
+ url = {http://www.ohiolink.edu/etd/},
+}
+%</bibdb>
+% \end{macrocode}
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex42} \\
+\cite{apa6:ch7-ex42} \\
+\fullciteA{apa6:ch7-ex42} \\
+\citeA{apa6:ch7-ex42}
+%</xmpl>
+%<*bibdb>
+@phdthesis{apa6:ch7-ex42,
+ author = {Bruckman, Amy},
+ year = {1997},
+ title = {{MOOSE} Crossing: Construction, Community, and
+ Learning in a Networked Virtual World for Kids},
+ school = {Massachusetts Institute of Technology},
+ url = {http://www-static.cc.gatech.edu/~asb/thesis/},
+}
+%</bibdb>
+% \end{macrocode}
+% On the thesis, the author's given names are listed as ``Amy Susan'',
+% but the APA manual only lists the first initial and the author cites
+% only her first given name in her reference list as well. The format
+% with MIT listed in parentheses fits neither rule on p.~207 of the
+% APA manual. Presumably, this was done because of a combination of
+% factors: thesis obtained from the web, but not a stable database,
+% and from the author's website at her current affiliation, not the
+% university where the degree was obtained.
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex43} \\
+\cite{apa6:ch7-ex43} \\
+\fullciteA{apa6:ch7-ex43} \\
+\citeA{apa6:ch7-ex43}
+%</xmpl>
+%<*bibdb>
+@phdthesis{apa6:ch7-ex43,
+ author = {Appelbaum, Lawrence G.},
+ year = {2005},
+ title = {Three Studies of Human Information Processing:
+ Texture Amplification, Motion Representation, and
+ Figure-Ground Segregation},
+ journal = {Dissertation Abstracts International: Section B.
+ Sciences and Engineering},
+ volume = {65},
+ number = {10},
+ pages = {5428},
+}
+%</bibdb>
+% \end{macrocode}
+% Unlike previous versions of the APA manual, where DAI abstracts had a
+% parenthetical part like ``(Doctoral dissertation, University of
+% California, Irvine, 2004)'', this is now formatted purely as a
+% journal article, so I could have simply used the \entryname{@article}
+% entry type. The \fieldname{school} and in particular
+% \fieldname{originalyear} fields should now be omitted.
+% \begin{macrocode}
+%<*xmpl>
+\item
+\cite{apa6:ch7-ex44} \\
+\cite{apa6:ch7-ex44} \\
+\fullciteA{apa6:ch7-ex44} \\
+\citeA{apa6:ch7-ex44}
+%</xmpl>
+%<*bibdb>
+@phdthesis{apa6:ch7-ex44,
+ author = {Carlbom, Pelle},
+ year = {2000},
+ title = {Carbody and Passengers in Rail Vehicle Dynamics},
+ type = {Doctoral thesis},
+ school = {Royal Institute of Technology},
+ address = {Stockholm, Sweden},
+ url = {http://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-3029},
+}
+%</bibdb>
+% \end{macrocode}
+% This follows the same pattern as example~42. ``Doctoral thesis'' is
+% presumably an error; it should be ``Doctoral dissertation''.
+% \begin{macrocode}
+%<*xmpl>
+\end{enumerate}
+\bibliographystyle{apacite}
+\bibliography{apa5ex}
+\end{document}
+%</xmpl>
+% \end{macrocode}
+%
+% \subsection{Additional references}
+%
+% \begin{macrocode}
+%<*bibdb>
+@book{APAManual3,
+ author = {{\bibcorporate{American Psychological Association}}},
+ firstkey = {{American Psychological Association [APA]}},
+ key = {{APA}},
+ year = {1984},
+ title = {Publication Manual of the {American} {Psychological}
+ {Association}},
+ edition = {3},
+ address = {Washington, DC},
+ publisher = {{\bibcorporate{American Psychological Association}}},
+ note = {with revisions},
+}
+
+@book{APAManual5,
+ author = {{\bibcorporate{American Psychological Association}}},
+ firstkey = {{American Psychological Association [APA]}},
+ key = {{APA}},
+ year = {2001},
+ title = {Publication Manual of the {American} {Psychological}
+ {Association}},
+ edition = {5},
+ address = {Washington, DC},
+ publisher = {{\bibcorporate{American Psychological Association}}},
+}
+
+@book{APAManual6,
+ author = {{\bibcorporate{American Psychological Association}}},
+ firstkey = {{American Psychological Association [APA]}},
+ key = {{APA}},
+ year = {2009},
+ title = {Publication Manual of the {American} {Psychological}
+ {Association}},
+ edition = {6},
+ address = {Washington, DC},
+ publisher = {{\bibcorporate{American Psychological Association}}},
+}
+
+@book{chicago,
+ title = {The {Chicago} Manual of Style},
+ edition = {15},
+ year = {2003},
+ address = {Chicago},
+ publisher = {The University of Chicago Press},
+}
+
+@misc{Pata88,
+ author = {Patashnik, Oren},
+ year = {1988},
+ title = {{\BibTeX ing}},
+ url = {http://www.ctan.org/tex-archive/biblio/
+ bibtex/distribs/doc/btxdoc.tex},
+ lastchecked = {October 4, 2008},
+}
+
+@book{LaTeXbook,
+ author = {Lamport, Leslie},
+ year = {1994},
+ title = {{\APACSortNoop{LaTeX}}{\LaTeX}: A Document Preparation System.
+ {User}'s Guide and Reference Manual},
+ edition = {2},
+ address = {Reading, MA},
+ publisher = {Addison-Wesley},
+}
+
+@book{KoDa04,
+ author = {Kopka, Helmut and Daly, Patrick W.},
+ year = {2004},
+ title = {Guide To {\APACSortNoop{LaTeX}}{\LaTeX}},
+ edition = {4},
+ address = {Boston, MA},
+ publisher = {Addison-Wesley},
+}
+
+@book{TLC2,
+ author = {Mittelbach, Frank and Goossens, Michel},
+ year = {2004},
+ title = {The {\APACSortNoop{LaTeX}}{\LaTeX} Companion},
+ edition = {2},
+ address = {Boston, MA},
+ publisher = {Addison-Wesley},
+}
+
+@book{dLMe08a,
+ editor = {De Leeuw, Jan and Meijer, Erik},
+ year = {2008},
+ title = {Handbook of Multilevel Analysis},
+ address = {New York, NY},
+ publisher = {Springer},
+}
+
+@book{meijer1998,
+ author = {Meijer, Erik},
+ year = {1998},
+ title = {Structural Equation Models for Nonnormal Data},
+ address = {Leiden, Netherlands},
+ publisher = {DSWO Press},
+}
+
+@article{meijer07,
+ author = {Meijer, Erik},
+ year = {2007},
+ title = {Citations, Reference List, and Author Index with
+ \textsf{apacite}},
+ journal = {Eutypon},
+ volume = {16--19},
+ pages = {1--31},
+ url = {http://www.eutypon.gr/eutypon/e-cont-16-19.html},
+}
+
+@book{WaMe00,
+ author = {Wansbeek, Tom and Meijer, Erik},
+ year = {2000},
+ title = {Measurement Error and Latent Variables in Econometrics},
+ address = {Amsterdam, Netherlands},
+ publisher = {North-Holland},
+}
+
+@unpublished{APA-3rd-ed-ex53,
+ author = {Gottfredson, G. D.},
+ year = {1978},
+ title = {Why Don't Vocational Interests Predict Job
+ Satisfaction Better Than They Do?},
+ howpublished = {Unpublished manuscript},
+ organization = {Johns Hopkins University, Center for Social
+ Organization of Schools},
+ address = {Baltimore},
+}
+
+@misc{DePsych01,
+ key = {{\APACciteatitle{Uitgebreide Richtlijnen}}},
+ title = {Uitgebreide Richtlijnen voor het Aanleveren van Kopij},
+ englishtitle = {Detailed Guidelines for the Submission of Manuscripts},
+ year = {2001},
+ lastchecked = {January~3, 2005},
+ url = {http://upload.lectric.nl/data/nip7/Richtlijnen%20voor%20auteurs.pdf},
+}
+
+@article{NTPG04,
+ title = {Aanwijzingen voor Auteurs},
+ englishtitle = {Instructions for Authors},
+ year = {2004},
+ journal = {Nederlands Tijdschrift voor de Psychologie en haar
+ Grensgebieden},
+ volume = {59},
+ pages = {inside back cover},
+}
+
+@book{Renk02,
+ author = {Renkema, J.},
+ year = {2002},
+ title = {Schrijfwijzer},
+ englishtitle = {Writing Indicator},
+ edition = {4},
+ address = {Den Haag, The Netherlands},
+ publisher = {Sdu},
+}
+
+@article{Schr04,
+ author = {Schrooten, M. G. S. and Smulders, F. T. Y.},
+ year = {2004},
+ title = {Een Experimentele Kijk op Angst: Aandacht en Automatisme
+ in de Verwerking van Bedreigende Stimuli},
+ englishtitle = {Anxiety from an Experimental Point of View: Attention and
+ Automaticity in the Processing of Threatening Stimuli},
+ journal = {Nederlands Tijdschrift voor de Psychologie en haar
+ Grensgebieden},
+ volume = {59},
+ pages = {135--149},
+}
+
+@book{VanDale89,
+ key = {{\APACcitebtitle{van Dale}}},
+ title = {van {Dale} Groot Woordenboek {Engels}-{Nederlands}},
+ englishtitle = {van {Dale}'s Large Dictionary {English}-{Dutch}},
+ edition = {2},
+ year = {1989},
+ address = {Utrecht, The Netherlands},
+ publisher = {Van Dale},
+}
+
+@book{KLO05,
+ author = {Haapam\"aki, Tuula and Hedman, Arne
+ and H\"am\"al\"ainen, Esa and Kurvinen, Birgitta
+ and Lager, Lassi and Lindegren, Yrj\"o
+ and Murtomaa, Eeva and Vainikka, Eila},
+ year = {2005},
+ title = {Monografioiden kuvailu},
+ englishtitle = {Description for Monographic Publications},
+ address = {Helsinki, Finland},
+ publisher = {Helsingin yliopiston kirjasto},
+ url = {http://www.kansalliskirjasto.fi/kirjastoala/
+ luettelointisaannot/Files/liitetiedosto2/
+ monografioiden_kuvailu.pdf},
+ lastchecked = {January 19, 2009},
+}
+
+@book{DGPs07,
+ firstkey = {Deutsche Gesellschaft f\"ur Psychologie [DGPs]},
+ key = {DGPs},
+ author = {\bibcorporate{Deutsche Gesellschaft f\"ur Psychologie}},
+ year = {2007},
+ title = {Richtlinien zur {Manuskriptgestaltung}},
+ englishtitle = {Guidelines for Manuscript Preparation},
+ edition = {3},
+ address = {G\"ottingen, Germany},
+ publisher = {Hogrefe-Verlag},
+}
+
+@misc{UIB08,
+ author = {{\bibcorporate{University of Bergen}}},
+ year = {2008},
+ title = {American {Psychological} {Association} ({APA})},
+ url = {http://www.sokogskriv.no/norsk/basis/sitering-etikk/APA.pdf},
+ lastchecked = {October 12, 2008},
+ address = {Bergen, Norway},
+ publisher = {University of Bergen, University Library},
+}
+%% Referenced from
+%% \url{http://www.sokogskriv.no/norsk/basis/sitering-etikk/4-stiler.html}
+%%
+%% Original version:
+%% \url{http://www.ub.uib.no/felles/IK/APA.pdf}
+%% but this page does not exist anymore on 2008/10/12.
+%%
+%% Norwegian name:
+%% Universitetsbiblioteket, Universitetet I Bergen, 2008
+
+@misc{UiO06,
+ author = {{\bibcorporate{University of Oslo}}},
+ year = {2006},
+ title = {Normer for skriftlig arbeid},
+ englishtitle = {Standards for Written Works},
+ url = {http://www.uio.no/studier/emner/medisin/isv/SYKVIT4400/v07/
+ REV_normer_skriftl_arb.pdf},
+ lastchecked = {October 12, 2008},
+ address = {Oslo, Norway},
+ publisher = {University of Oslo, Institute of Nursing and Health Sciences},
+}
+%% Referenced from
+%% \url{http://www.uio.no/studier/emner/medisin/isv/SYKVIT4400/v07/}
+%%
+%% Norwegian name:
+%% Universitetet i Oslo, Sykepleievitenskap, 28.06.06
+
+
+@misc{Erik01,
+ author = {Erikson, Martin G.},
+ year = {2001},
+ title = {Att Skriva Litteraturreferenser Enligt {Harvard}-Systemet},
+ englishtitle = {Citations According to the {Harvard} System},
+ url = {http://www.his.se/upload/10631/referenser.pdf},
+ lastchecked = {October 18, 2008},
+ Eriksremark = {Originally downloaded December 9, 2004, from
+ \url{http://www.ida.his.se/ida/kurser/exjobb/kursmaterial/referenser.pdf},
+ but this site does not exist anymore.},
+}
+
+@misc{Johnsson,
+ author = {Johnsson, Mattias},
+ title = {Lathund for Referensskrivning},
+ englishtitle = {Cheat Sheet for Formatting of References},
+ url = {http://www.ped.gu.se/users/berner/htmarkiv/referens.html},
+ lastchecked = {October 18, 2008},
+ Eriksremark = {Originally downloaded December 9, 2004},
+}
+
+@misc{GU94,
+ title = {Referensskrivning},
+ englishtitle = {Formatting of References},
+ year = {1994},
+ url = {http://www.ped.gu.se/forskarutbildning/Referens_skrivning.htm},
+ lastchecked = {October 18, 2008},
+ Eriksremark = {Originally downloaded December 9, 2004.
+ Site is Gothenburg University Web site, but reference seems
+ specific enough. Authors may be (?)
+ Informatorn/Dahlgren/Ottosson, but I don't know first
+ names.},
+}
+
+%%
+%</bibdb>
+% \end{macrocode}
+%
+% \section{\BibTeX\ style (\fname{apacite.bst} and its siblings)}
+% The program in \BibTeX's language that formats the reference list.
+% Currently, this supplies four files: \fname{apacite.bst}, \fname{apacitex.bst}
+% \fname{apacann.bst}, and \fname{apacannx.bst}.
+% These files are almost identical, but \fname{apacitex.bst} and
+% \fname{apacannx.bst} generate information that can be used to generate an
+% author index, and \fname{apacann.bst} and \fname{apacannx.bst} use annotation
+% when available for annotated bibliographies.
+%
+% We start with file headers and a function that prints the version number in
+% the \fname{.blg} file.
+% \begin{macrocode}
+%<*!annotated>
+%<bibstyle>%% apacite.bst : reference list according to APA manual
+%<xbibstyle>%% apacitex.bst : reference list according to APA manual
+%<xbibstyle>%% with author indexing information
+%</!annotated>
+%<*annotated>
+%<bibstyle>%% apacann.bst : reference list according to APA manual
+%<bibstyle>%% with annotations
+%<xbibstyle>%% apacannx.bst : reference list according to APA manual
+%<xbibstyle>%% with annotations and author indexing information
+%</annotated>
+%<*bibstyle|xbibstyle>
+%% Written by Erik Meijer
+
+FUNCTION {identify.apacite.version}
+{ % Put identifying string in the .blg file
+%</bibstyle|xbibstyle>
+%<*!annotated>
+%<bibstyle> "apacite.bst"
+%<xbibstyle> "apacitex.bst"
+%<bibstyle> " [2013/07/21 v6.03 APA bibliography style]"
+%<xbibstyle> " [2013/07/21 v6.03 APA bibl. style with author index info]"
+%</!annotated>
+%<*annotated>
+%<bibstyle> "apacann.bst"
+%<xbibstyle> "apacannx.bst"
+%<bibstyle> " [2013/07/21 v6.03 APA annotated bibliography style]"
+%<*xbibstyle>
+" [2013/07/21 v6.03 APA annotated bibl. style with author index info]"
+%</xbibstyle>
+%</annotated>
+%<*bibstyle|xbibstyle>
+ * top$
+}
+% \end{macrocode}
+% Declaration of fields, integers, and strings for each entry.
+% \begin{macrocode}
+ENTRY
+ { address
+ annote
+ annotate
+ author
+ booktitle
+ chair
+ chapter
+ day
+ doi
+ edition
+ editor
+ englishtitle
+ firstkey
+ howpublished
+ institution
+ journal
+ key
+ lastchecked
+ month
+ nihms
+ note
+ number
+ organization
+ originaladdress
+ originalbooktitle
+ originaledition
+ originaleditor
+ originaljournal
+ originalnumber
+ originalpages
+ originalpublisher
+ originalvolume
+ originalyear
+ pages
+ pmcid
+ publisher
+ school
+ series
+ symposium
+ text
+ title
+ translator
+ type
+ url
+ urldate
+ volume
+ year
+ }
+ { cite.order %% order of first citation
+ title.number %% for sorting titles
+ cite.initials %% dummy (0-1) indicating whether or not
+ %% initials of the 1st author must
+ %% be used for citing
+ cite.num.names.full %% number of names to be cited for full and
+ cite.num.names.short %% short cite
+ add.to.year %% For a, b, c, etc. after year
+ %% in multiple citations with same author-year
+ }
+ { year.label %% For sorting entries by year
+ author.year.sort.label %% For sorting entries and checking whether
+ %% initials should be added, how many authors
+ %% should be cited and whether a, b, etc.
+ %% after year is necessary
+ title.sort.label %% for sorting titles
+ citeorder.sort.label %% for sorting by citation order
+ type.2 %% Replacement for type with misc entries and
+ %% entries that revert to misc.
+ }
+% \end{macrocode}
+% Declaration of global integers and strings.
+% \begin{macrocode}
+INTEGERS { len pos name.max old.number numnames numnames.old
+ nameptr lastname format.num.names cite.initials.old
+ cite.num.names.old add.to.year.old forward
+ multiresult dot brace.level
+ }
+
+STRINGS { s t u old.label field
+ aut1f aut1s aut1f.old aut1s.old
+ aut2 aut2.old
+ aut3 aut3.old
+ aut4 aut4.old
+ aut5 aut5.old
+ aut6 aut6.old
+ year.label.old
+ }
+% \end{macrocode}
+% Two functions that can be used for testing purposes.
+% \begin{macrocode}
+FUNCTION {test} { #0 }
+FUNCTION {dump.stack}
+{ "---- STACK {" cite$ * "} ----" * top$
+ stack$
+ "---- END STACK {" cite$ * "} ----" * top$
+}
+% \end{macrocode}
+% A small function that indicates whether index entries must be generated.
+% This is the only line that is different between \fname{apacite.bst} and
+% \fname{apacitex.bst} (and between \fname{apacann.bst} and
+% \fname{apacannx.bst}).
+% \begin{macrocode}
+%</bibstyle|xbibstyle>
+%<bibstyle>FUNCTION {make.index} { #0 }
+%<xbibstyle>FUNCTION {make.index} { #1 }
+%<*bibstyle|xbibstyle>
+% \end{macrocode}
+% A small function that indicates whether the reference list must be
+% sorted.
+% \begin{macrocode}
+FUNCTION {unsorted} { #0 }
+% \end{macrocode}
+% Month macros. We use numbers, along with a \LaTeX{} function, which
+% translates them into words. This allows language-specific deviations.
+% \begin{macrocode}
+MACRO {jan} {"{\APACmonth{01}}"}
+MACRO {feb} {"{\APACmonth{02}}"}
+MACRO {mar} {"{\APACmonth{03}}"}
+MACRO {apr} {"{\APACmonth{04}}"}
+MACRO {may} {"{\APACmonth{05}}"}
+MACRO {jun} {"{\APACmonth{06}}"}
+MACRO {jul} {"{\APACmonth{07}}"}
+MACRO {aug} {"{\APACmonth{08}}"}
+MACRO {sep} {"{\APACmonth{09}}"}
+MACRO {oct} {"{\APACmonth{10}}"}
+MACRO {nov} {"{\APACmonth{11}}"}
+MACRO {dec} {"{\APACmonth{12}}"}
+MACRO {winter} {"{\APACmonth{13}}"}
+MACRO {spring} {"{\APACmonth{14}}"}
+MACRO {summer} {"{\APACmonth{15}}"}
+MACRO {fall} {"{\APACmonth{16}}"}
+% \end{macrocode}
+% Logical ``not'': If the top element on the stack is $A$ then this function
+% does the following:
+% \begin{verbatim}
+% push { #0 }
+% push { #1 }
+% \end{verbatim}
+% So now the first three elements of the stack are
+% \verb+{ #1 }+ \verb+{ #0 }+ $A$.
+% These are popped and subjected to ``if'':
+% If $A > 0$ then \verb+{ #0 }+ is executed, else \verb+{ #1 }+ is executed:
+% \begin{verbatim}
+% if A > 0
+% then 0
+% else 1
+% \end{verbatim}
+% So consider integers as logicals, where 1 = true and 0 = false,
+% then this does
+% \begin{verbatim}
+% (if A then false else true)
+% \end{verbatim}
+% which is a logical ``not''.
+% \begin{macrocode}
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Logical 'and':
+% If the first 2 elements on the stack are A B
+% then this function does the following:
+% push 'skip$
+% push { pop$ #0 }
+% So now first 4 elements are
+% { pop$ #0 } 'skip$ A B
+% The first 3 are popped and subjected to 'if' (B is on top of
+% the stack):
+% If A > 0 then 'skip$ is executed, else { pop$ #0 } is executed:
+% if A > 0
+% then (B stays on top of stack)
+% else (B is popped and #0 is pushed)
+% So consider integers as logicals, where 1 = true and 0 = false,
+% then this does
+% (if A then B else false)
+% which is a logical 'and'.
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Logical 'or':
+% If the first 2 elements on the stack are A B
+% then this function does the following:
+% push { pop$ #1 }
+% push 'skip$
+% So now first 4 elements are
+% 'skip$ { pop$ #1 } A B
+% The first 3 are popped and subjected to 'if' (B is on top of
+% the stack):
+% If A > 0 then { pop$ #1 } is executed, else 'skip$ is executed:
+% if A > 0
+% then (B is popped and #1 is pushed)
+% else (B stays on top of stack)
+% So consider integers as logicals, where 1 = true and 0 = false,
+% then this does
+% (if A then true else B)
+% which is a logical 'or'.
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% GENERAL PURPOSE FUNCTIONS FOR FORMATTING %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ % issues warning if field is empty
+ % call with
+ % "field" field warning.if.empty
+ % Note that the first field must be between quotes
+ % because it is the fieldname for use in the warning message.
+ %
+FUNCTION {warning.if.empty}
+{ empty$
+ { "No " swap$ * " in " * cite$ * warning$ }
+ { pop$ }
+ if$
+}
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % issues warning if title, type, and howpublished are empty
+ %
+FUNCTION {check.relevant.fields}
+{ title empty$
+ type empty$ and
+ howpublished empty$ and
+ { "No title, type, and howpublished in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % delivers 1 if (both editor and translator
+ % not empty and not equal to each other)
+ % 0 if (editor or translator empty) or
+ % (editor = translator)
+ %
+FUNCTION {editor.ne.trans}
+{ translator empty$
+ { #0 }
+ { editor empty$
+ { #0 }
+ { translator editor =
+ { #0 }
+ { #1 }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Convert integer to string, assume that integer < 100,000
+
+FUNCTION {conv.int.to.str}
+{ duplicate$ #10 <
+ { "0000" swap$ int.to.str$ * }
+ { duplicate$ #100 <
+ { "000" swap$ int.to.str$ * }
+ { duplicate$ #1000 <
+ { "00" swap$ int.to.str$ * }
+ { duplicate$ #10000 <
+ { "0" swap$ int.to.str$ * }
+ { int.to.str$ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Delivers 1 if possibly editor in author position
+% 2 if editor not in author position
+% 3 if not applicable: use key
+% 0 if unknown type
+
+FUNCTION {ref.type}
+{ type$ "article" =
+ type$ "magazine" =
+ type$ "newspaper" =
+ type$ "book" =
+ type$ "techreport" =
+ type$ "unpublished" =
+ type$ "misc" =
+ type$ "booklet" =
+ type$ "manual" =
+ type$ "proceedings" =
+ or
+ or
+ or
+ or
+ or
+ or
+ or
+ or
+ or
+ { #1 }
+ { type$ "incollection" =
+ type$ "phdthesis" =
+ type$ "mastersthesis" =
+ type$ "lecture" =
+ type$ "inbook" =
+ type$ "inproceedings" =
+ type$ "conference" =
+ type$ "intechreport" =
+ or
+ or
+ or
+ or
+ or
+ or
+ or
+ { #2 }
+ { type$ "literal" =
+ { #3 }
+ { #0 }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Delivers 1 if title is formatted as an "article"-type,
+% 0 otherwise
+
+FUNCTION {is.atype}
+{ type$ "article" =
+ type$ "magazine" =
+ type$ "newspaper" =
+ type$ "incollection" =
+ type$ "inbook" =
+ type$ "inproceedings" =
+ type$ "conference" =
+ type$ "intechreport" =
+ type$ "manual" =
+ or
+ or
+ or
+ or
+ or
+ or
+ or
+ or
+ { #1 }
+ { journal empty$ not
+ %
+ type$ "phdthesis" =
+ type$ "mastersthesis" =
+ or
+ %
+ and
+ { #1 }
+ { type$ "misc" =
+ type empty$ not and
+ { type "\bibmessage" =
+ type "\bibcomputerprogram" =
+ type "\bibcomputerprogrammanual" =
+ type "\bibcomputerprogramandmanual" =
+ type "\bibcomputersoftware" =
+ type "\bibcomputersoftwaremanual" =
+ type "\bibcomputersoftwareandmanual" =
+ type "\bibprogramminglanguage" =
+ or
+ or
+ or
+ or
+ or
+ or
+ or
+ { #1 }
+ { #0 }
+ if$
+ }
+ { #0 }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % connects two strings with connect string
+ % if one of them empty, then connect string
+ % is left out
+ %
+ % call with S1 S2 connectstring connect.check
+ %
+FUNCTION {connect.check}
+{ 'u :=
+ %
+ % if S2 = ""
+ %
+ duplicate$ empty$
+ %
+ % then remove S2
+ %
+ { pop$
+ %
+ % S1 is on top of stack.
+ % if it is empty, it is replaced by the empty string ""
+ %
+ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+ }
+ %
+ % else swap S1 and S2 so that S1 can be checked
+ %
+ { swap$
+ %
+ % if S1 is empty, remove S1 so that S2 is left on the
+ % stack and is the result is given
+ %
+ duplicate$ empty$
+ { pop$ }
+ %
+ % now the real work starts:
+ % push the connect string "C"
+ % so that top of stack is "C" "S1" "S2"
+ % concatenate, so that top of stack is
+ % "S1+C" "S2"
+ %
+ { u *
+ %
+ % swap and concatenate
+ %
+ swap$ *
+ }
+ if$
+ }
+ if$
+}
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % connects two strings with space ("\ ")
+ % if length of second is 4 or larger,
+ % connects them with non-breaking space ("tie", "~")
+ % if length of second smaller than 4
+ %
+ % call with S1 S2 tie.or.space.connect
+ % result: "S1\ S2" or "S1~S2"
+ %
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #4 <
+ { "~" }
+ { "\ " }
+ if$
+ swap$ * *
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % connects two strings with comma (", ")
+ % if one of them is empty, the comma is left out
+ %
+ % call with S1 S2 connect.with.comma.check
+ % result: "S1, S2"
+ %
+FUNCTION {connect.with.comma.check}
+{ ", " connect.check }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % connects two strings with semicolon ("; ")
+ % if one of them is empty, semicolon is left out
+ %
+ % call with S1 S2 connect.with.semicolon.check
+ % result: "S1; S2"
+ %
+FUNCTION {connect.with.semicolon.check}
+{ "; " connect.check }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % connects two strings with colon (": ")
+ % if one of them is empty, colon is left out
+ %
+ % call with S1 S2 connect.with.colon.check
+ % result: "S1: S2"
+ %
+FUNCTION {connect.with.colon.check}
+{ ": " connect.check }
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % connects two strings with space ("\ ")
+ %
+ % call with S1 S2 connect.with.space.check
+ % result: "S1\ S2"
+ %
+FUNCTION {connect.with.space.check}
+{ "\ " connect.check }
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % encloses string in pre- and postfix string
+ % call with
+ % prefix postfix S enclose.check
+ % delivers empty string if S empty
+ %
+FUNCTION {enclose.check}
+{ duplicate$ empty$
+ { pop$ pop$ pop$
+ ""
+ }
+ { swap$ * * }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % emphasizes top of stack
+ % call with
+ % "string" emphasize.check
+ %
+FUNCTION {emphasize.check}
+{ "\Bem{" swap$
+ "}" swap$
+ enclose.check
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % brackets top of stack
+ % call with
+ % "string" bracket
+ %
+FUNCTION {bracket.check}
+{ "[" swap$
+ "]" swap$
+ enclose.check
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % parenthesizes top of stack
+ % call with
+ % "string" parenthesize
+ %
+FUNCTION {parenthesize.check}
+{ "(" swap$
+ ")" swap$
+ enclose.check
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % checks whether argument is "multiresult":
+ % whether it contains '-', '+', or ',' characters
+ % used with pages to check whether pp. or p. must be used
+ %
+FUNCTION {multi.result.check}
+{ 't :=
+ #0 'multiresult :=
+ %
+ % while (not multiresult) and (length(t) > 1) do
+ %
+ { multiresult not
+ t text.length$ #1 >
+ and
+ }
+ %
+ % if t(1-2) = "--" or t(1) = "+" or ","
+ % then multiresult = 1
+ % else t = t(2-last)
+ %
+ { t #1 #2 substring$ 's :=
+ "--" s =
+ { #1 'multiresult := }
+ { t #1 #1 substring$ 's :=
+ "+" s =
+ "," s =
+ or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ if$
+ }
+ while$
+ multiresult
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % Checks whether an author is a corporate author, i.e.,
+ % whether the field starts with "{\bibcorporate".
+ % Call with
+ % field is.bibcorporate
+ %
+FUNCTION {is.bibcorporate}
+{ #1 #14 substring$ "{\bibcorporate" = }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% GENERAL PURPOSE FUNCTIONS FOR SORTING %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Remove non-alphanumeric characters
+% and change to lower case .
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Remove spaces from a string. Used for sorting.
+%
+% Call with
+% string remove.spaces
+%
+% E.g.,
+% "fine old day" remove.spaces
+% gives "fineoldday" .
+
+FUNCTION {remove.spaces}
+{ % Remove spaces from string.
+ % Works best if string only contains alphanumeric characters and spaces.
+ 's := % The original string
+ s text.length$ 'len := % Its length (no. of characters)
+ "" 't := % Initialize the transformed string
+ #0 'pos :=
+ %
+ % while (pos < len) do
+ %
+ { pos len < }
+ { pos #1 + 'pos :=
+ s pos #1 substring$ 'u :=
+ %
+ % u is the pos-th character in s
+ % If it is a space, move to next character,
+ % else copy character to output.
+ %
+ u " " =
+ 'skip$
+ { t u * 't := }
+ if$
+ }
+ while$
+ %
+ % Now push the result back on the stack
+ t
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% BASIC OUTPUT FUNCTIONS %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % end block by writing what's left on the stack and
+ % starting a new line
+ %
+FUNCTION {output.end.block}
+{ write$
+ newline$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % end block by adding a period and writing what's left
+ % on the stack and starting a new line
+ %
+FUNCTION {output.dot.end.block}
+{ add.period$
+ output.end.block
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % starting new block by writing what's left on the stack,
+ % starting a new line and adding some extra space or
+ % whatever is more defined in \newblock
+ %
+FUNCTION {output.new.block}
+{ output.end.block
+ "\newblock" write$ newline$
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % starting new block by writing what's left on the stack,
+ % starting a new line and adding some extra space or
+ % whatever is more defined in \newblock
+ %
+FUNCTION {output.dot.new.block}
+{ add.period$
+ output.new.block
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Starting new block assuming that stack is empty.
+% Starting a new line and adding some extra space or
+% whatever is more defined in \newblock
+
+FUNCTION {start.new.block}
+{ "\unskip\ " write$ newline$
+ "\newblock " write$ newline$
+}
+% \end{macrocode}
+%
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \subsection{Functions for sorting by author (or substitute),
+% year, title}
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% The ``classic'' versions are the ones with the von part
+% treated a in ``Beethoven, L. van'', whereas the nonclassic ones
+% have the new approach with the von part always before the last
+% name. The ``classic'' versions are not used in this version,
+% but I keep them defined so it's easy to switch, and perhaps
+% define an option in the future.
+% \begin{macrocode}
+
+FUNCTION {sort.name.format.classic} { "{ll{}}{ f{}}{ vv{}}{ jj{}}" }
+
+FUNCTION {cite.name.format.classic} { "{ll}" }
+
+FUNCTION {author.name.format.classic} { "{ll}{, f{\BPBI }.}{ vv}{, jj}" }
+
+FUNCTION {index.name.format.classic} { "{ll}{, f{\BPBI }.}{ vv}{, jj}" }
+
+FUNCTION {sort.name.format} { "{vv{}}{ll{}}{ f{}}{ jj{}}" }
+
+FUNCTION {cite.name.format} { "{vv }{ll}" }
+
+FUNCTION {cite.initials.name.format} { "{f{\BPBI }.~~}{vv }{ll}{ jj}" }
+
+FUNCTION {author.name.format} { "{vv }{ll}{, f{\BPBI }.}{, jj}" }
+
+FUNCTION {editor.name.format} { "{f{\BPBI }.~~}{vv }{ll}{ jj}" }
+
+FUNCTION {index.name.format} { "{vv }{ll}{, f{\BPBI }.}{, jj}" }
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Check whether initials must be added (1).
+% Initialization.
+
+FUNCTION {init.initials}
+{ "yyyyy" 'aut1f.old :=
+ "yyyyy" 'aut1s.old :=
+ #0 'cite.initials.old :=
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Check whether initials must be added (2).
+% Update when author, editor, and key fields are not used.
+%
+% Call with
+% field update.no.initials
+
+FUNCTION {update.no.initials}
+{ 'field :=
+ field 'aut1f.old :=
+ field 'aut1s.old :=
+ #0 'cite.initials.old :=
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Check whether initials must be added (3).
+
+FUNCTION {check.add.initials.aut}
+{ %
+ % If last name is equal to previous last name
+ % but initials are different, then initials should
+ % be cited. If initials are also the same, initials
+ % should be cited if that is the case for the previous
+ % author .
+ %
+ aut1s aut1s.old =
+ { aut1f aut1f.old =
+ { cite.initials.old 'cite.initials := }
+ { #1 'cite.initials :=
+ aut1f 'aut1f.old :=
+ aut1s 'aut1s.old :=
+ cite.initials 'cite.initials.old :=
+ }
+ if$
+ }
+ { %
+ % Different last name.
+ aut1f 'aut1f.old :=
+ aut1s 'aut1s.old :=
+ cite.initials 'cite.initials.old :=
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Check whether initials must be added (4).
+% Call with
+% field check.add.initials.field
+
+FUNCTION {check.add.initials.field}
+{ 'field :=
+ field #1 cite.initials.name.format format.name$ 'aut1f :=
+ field #1 cite.name.format format.name$ 'aut1s :=
+ %
+ % Now do the actual work
+ %
+ check.add.initials.aut
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Check whether initials must be added (4).
+
+FUNCTION {check.add.initials}
+{ %
+ % Check whether author or editor or other field acts as author.
+ % Initials are only relevant with author or editor.
+ %
+ firstkey empty$ not
+ { key empty$ not
+ { %
+ % Both key and firstkey are nonempty.
+ % Then, key is treated as last name of first author,
+ % and firstkey is treated as last name + initials of
+ % first author .
+ %
+ firstkey sortify remove.spaces 'aut1f :=
+ key sortify remove.spaces 'aut1s :=
+ check.add.initials.aut
+ }
+ { firstkey sortify remove.spaces update.no.initials }
+ if$
+ }
+ { key empty$ not
+ { key sortify remove.spaces update.no.initials }
+ { %
+ % No key or firstkey, so find out which field
+ % to use as author.
+ %
+ % Check reference type:
+ % if result is 1 then possibly editor acts as author
+ % 2 then editor does not act as author
+ % 3 then key should have been used
+ % 0 then unknown reference type
+ ref.type #2 =
+ { %
+ % Format first author with and without initials
+ author empty$
+ { title.sort.label update.no.initials }
+ { author check.add.initials.field }
+ if$
+ }
+ { %
+ % Format first author with and without initials
+ author empty$
+ { editor empty$
+ { title.sort.label update.no.initials }
+ { editor check.add.initials.field }
+ if$
+ }
+ { author check.add.initials.field }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Compute tentative number of names that must be cited (1).
+% Call with
+% field tentative.cite.num.names.field
+
+FUNCTION {tentative.cite.num.names.field}
+{ 'field :=
+ field num.names$ 'numnames :=
+ numnames #3 <
+ { %
+ % 1 or 2 names: always cite all of them.
+ numnames 'cite.num.names.full :=
+ numnames 'cite.num.names.short :=
+ }
+ { numnames #6 <
+ { %
+ % 3-5 names: cite all of them the first time,
+ % only the first name later times
+ numnames 'cite.num.names.full :=
+ #1 'cite.num.names.short :=
+ }
+ { %
+ % 6 or more names: cite only the first name
+ #1 'cite.num.names.full :=
+ #1 'cite.num.names.short :=
+ }
+ if$
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Compute tentative number of names that must be cited (2).
+
+FUNCTION {tentative.cite.num.names}
+{ %
+ % Check whether author or editor or other field acts as author.
+ % Number of names is only relevant with author or editor.
+ %
+ firstkey empty$ not
+ {
+ #1 'cite.num.names.full :=
+ #1 'cite.num.names.short :=
+ }
+ { key empty$ not
+ {
+ #1 'cite.num.names.full :=
+ #1 'cite.num.names.short :=
+ }
+ { %
+ % No key or firstkey, so find out which field
+ % to use as author.
+ %
+ % Check reference type:
+ % if result is 1 then possibly editor acts as author
+ % 2 then editor does not act as author
+ % 3 then key should have been used
+ % 0 then unknown reference type
+ ref.type #2 =
+ { %
+ % Format first author with and without initials
+ author empty$
+ {
+ #1 'cite.num.names.full :=
+ #1 'cite.num.names.short :=
+ }
+ { author tentative.cite.num.names.field }
+ if$
+ }
+ { %
+ % Format first author with and without initials
+ author empty$
+ { editor empty$
+ {
+ #1 'cite.num.names.full :=
+ #1 'cite.num.names.short :=
+ }
+ { editor tentative.cite.num.names.field }
+ if$
+ }
+ { author tentative.cite.num.names.field }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Initialize "number of names to be cited" before
+% looping over entries.
+
+FUNCTION {init.cite.num.names}
+{ #0 'cite.num.names.old :=
+ #0 'numnames.old :=
+ "yyyy" 'year.label.old :=
+ #0 'add.to.year.old :=
+ "" 'aut1f.old :=
+ "" 'aut2.old :=
+ "" 'aut3.old :=
+ "" 'aut4.old :=
+ "" 'aut5.old :=
+ "" 'aut6.old :=
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Update "number of names to be cited" .
+
+FUNCTION {update.cite.num.names}
+{ cite.num.names.short 'cite.num.names.old :=
+ numnames 'numnames.old :=
+ year.label 'year.label.old :=
+ add.to.year 'add.to.year.old :=
+ aut1f 'aut1f.old :=
+ aut2 'aut2.old :=
+ aut3 'aut3.old :=
+ aut4 'aut4.old :=
+ aut5 'aut5.old :=
+ aut6 'aut6.old :=
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Format (maximally) 6 authors for comparison issues
+% to determine number of authors that must be cited.
+% It is assumed that the 'field' and 'numnames' variables
+% have already been defined.
+
+FUNCTION {format.6.authors}
+{ %
+ % First author: with initials.
+ %
+ field #1 cite.initials.name.format format.name$ 'aut1f :=
+ %
+ % Second and later authors: without initials.
+ %
+ numnames #1 >
+ name.max #1 >
+ and
+ { %
+ % 2nd author
+ field #2 cite.name.format format.name$ 'aut2 :=
+ %
+ numnames #2 >
+ name.max #2 >
+ and
+ { %
+ % 3nd author
+ field #3 cite.name.format format.name$ 'aut3 :=
+ %
+ numnames #3 >
+ name.max #3 >
+ and
+ { %
+ % 4th author
+ field #4 cite.name.format format.name$ 'aut4 :=
+ %
+ numnames #4 >
+ name.max #4 >
+ and
+ { %
+ % 5th author
+ field #5 cite.name.format format.name$ 'aut5 :=
+ %
+ numnames #5 >
+ name.max #5 >
+ and
+ { %
+ % 6th author
+ field #6 cite.name.format format.name$ 'aut6 :=
+ }
+ { %
+ % 5 authors: 6 is empty
+ %
+ "" 'aut6 :=
+ }
+ if$
+ }
+ { %
+ % 4 authors: 5-6 are empty
+ %
+ "" 'aut5 :=
+ "" 'aut6 :=
+ }
+ if$
+ }
+ { %
+ % 3 authors: 4-6 are empty
+ %
+ "" 'aut4 :=
+ "" 'aut5 :=
+ "" 'aut6 :=
+ }
+ if$
+ }
+ { %
+ % 2 authors: 3-6 are empty
+ %
+ "" 'aut3 :=
+ "" 'aut4 :=
+ "" 'aut5 :=
+ "" 'aut6 :=
+ }
+ if$
+ }
+ { %
+ % Only 1 author: 2-6 are empty
+ %
+ "" 'aut2 :=
+ "" 'aut3 :=
+ "" 'aut4 :=
+ "" 'aut5 :=
+ "" 'aut6 :=
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Compute definitive number of names that must be cited
+% and whether a's or b's must be added to year (1).
+% a's or b's are necessary: update add.to.year variable
+
+FUNCTION {change.add.to.year}
+{
+ forward #1 =
+ { %
+ % Moving forward: this add.to.year number must be 1 higher than
+ % previous.
+ %
+ add.to.year.old #0 >
+ { add.to.year.old #1 + 'add.to.year := }
+ { #2 'add.to.year := }
+ if$
+ }
+ { %
+ % Moving backward: this add.to.year number must be 1 lower than
+ % previous.
+ %
+ add.to.year.old #1 - 'add.to.year :=
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Compute definitive number of names that must be cited
+% and whether a's or b's must be added to year (1).
+% Current and/or previous entry has 1 or 2 authors
+% or editors acting as authors and they are published in the
+% same year. The number of authors does not need to be changed
+% in this case, but a's or b's may be necessary.
+
+FUNCTION {definitive.cite.num.names.1.or.2}
+{ %
+ numnames numnames.old =
+ { %
+ % Same number of names: ambiguity could arise. Check whether current
+ % and previous have the same author(s).
+ %
+ aut1f aut1f.old =
+ { %
+ % Same first author: if the second author is also the same or if
+ % there is only one author, a's and b's should be added.
+ %
+ aut2 aut2.old =
+ numnames #2 =
+ and
+ %
+ numnames #1 =
+ or
+ { %
+ % Same author(s): add to year.
+ %
+ change.add.to.year
+ }
+ { %
+ % Different second author: no ambiguity possible.
+ %
+ skip$
+ }
+ if$
+ }
+ { %
+ % Different first author: no ambiguity possible.
+ %
+ skip$
+ }
+ if$
+ }
+ { %
+ % Different number of names: no ambiguity possible.
+ %
+ skip$
+ }
+ if$
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Compute definitive number of names that must be cited
+% and whether a's or b's must be added to year (2).
+% Both current and previous entries have 3 or more authors
+% or editors acting as authors and they are published in the
+% same year.
+
+FUNCTION {definitive.cite.num.names.3.or.more}
+{ %
+ % Check whether current and previous have the same first author.
+ %
+ aut1f aut1f.old =
+ { %
+ % Same first author: check second author
+ %
+ aut2 aut2.old =
+ { %
+ % Same 1st & 2nd author: check 3rd.
+ %
+ aut3 aut3.old =
+ { %
+ % Same 1st-3rd authors: check 4th.
+ %
+ numnames.old #3 =
+ { numnames #3 =
+ { %
+ % Both current and previous have 3 authors, which are
+ % the same, so both have identical author-year
+ % combinations, so ambiguity should be resolved by
+ % a's and b's. Check whether more authors were
+ % necessary for previous one.
+ %
+ change.add.to.year
+ cite.num.names.short cite.num.names.old <
+ { cite.num.names.old
+ 'cite.num.names.short :=
+ }
+ 'skip$
+ if$
+ }
+ { %
+ % Previous has 3 authors, current has more, with same
+ % first 3, so at least 4 must be used for current to
+ % make a difference.
+ %
+ cite.num.names.short #4 <
+ { #4 'cite.num.names.short := }
+ 'skip$
+ if$
+ }
+ if$
+ }
+ { numnames #3 =
+ { %
+ % Current has 3 authors, previous has more, with same
+ % first 3, so all 3 of current must be used.
+ %
+ numnames 'cite.num.names.short :=
+ }
+ { %
+ % Same 1st-3rd author and both current and previous
+ % have at least 4 authors: check 4th.
+ %
+ aut4 aut4.old =
+ { %
+ % Same 1st-4th authors: check 5th.
+ %
+ numnames.old #4 =
+ { numnames #4 =
+ { %
+ % Both current and previous have 4 authors,
+ % which are the same, so both have
+ % identical author-year combinations, so
+ % ambiguity should be resolved by a's and
+ % b's. Check whether more authors were
+ % necessary for previous one.
+ %
+ change.add.to.year
+ cite.num.names.short cite.num.names.old <
+ { cite.num.names.old
+ 'cite.num.names.short :=
+ }
+ 'skip$
+ if$
+ }
+ { %
+ % Previous has 4 authors, current has more,
+ % with same first 4, so at least 5 must be
+ % used for current to make a difference.
+ %
+ cite.num.names.short #5 <
+ { #5 'cite.num.names.short := }
+ 'skip$
+ if$
+ }
+ if$
+ }
+ { numnames #4 =
+ { %
+ % Current has 4 authors, previous has more,
+ % with same first 4, so all 4 of current
+ % must be used.
+ %
+ numnames 'cite.num.names.short :=
+ }
+ { %
+ % Same 1st-4th author and both current and
+ % previous have at least 5 authors: check
+ % 5th.
+ %
+ aut5 aut5.old =
+ { %
+ % Same 1st-5th authors: check 6th.
+ %
+ numnames.old #5 =
+ { numnames #5 =
+ { %
+ % Both current and previous
+ % have 5 authors, which are the
+ % same, so both have identical
+ % author-year combinations, so
+ % ambiguity should be resolved
+ % by a's and b's. Check whether
+ % more authors were necessary
+ % for previous one.
+ %
+ change.add.to.year
+ cite.num.names.short
+ cite.num.names.old <
+ { cite.num.names.old
+ 'cite.num.names.short :=
+ }
+ 'skip$
+ if$
+ }
+ { %
+ % Previous has 5 authors,
+ % current has more, with same
+ % first 5, so at least 6 must
+ % be used for current to make
+ % a difference.
+ %
+ cite.num.names.short #6 <
+ { #6 'cite.num.names.short := }
+ 'skip$
+ if$
+ }
+ if$
+ }
+ { numnames #5 =
+ { %
+ % Current has 5 authors,
+ % previous has more, with same
+ % first 5, so all 5 of current
+ % must be used.
+ %
+ numnames 'cite.num.names.short :=
+ }
+ { %
+ % Same 1st-5th author and both
+ % current and previous have at
+ % least 6 authors. If one has
+ % 6 authors and the other has
+ % more or the 6th is different,
+ % 6 should be used (which is
+ % the maximum).
+ %
+ numnames #6 >
+ numnames.old #6 =
+ and
+ %
+ numnames #6 =
+ numnames.old #6 >
+ and
+ %
+ or
+ %
+ aut6 aut6.old =
+ not
+ %
+ or
+ { #6 cite.num.names.short <
+ { #6
+ 'cite.num.names.short
+ :=
+ }
+ 'skip$
+ if$
+ }
+ { %
+ % The first 6 authors are
+ % the same and either both
+ % have 6 or both have more.
+ % So for all practical
+ % purposes they have
+ % identical author-year
+ % combination, so ambiguity
+ % should be resolved by a's
+ % and b's. Check whether
+ % more authors were
+ % necessary for previous
+ % one.
+ %
+ change.add.to.year
+ cite.num.names.short
+ cite.num.names.old
+ <
+ { cite.num.names.old
+ 'cite.num.names.short
+ :=
+ }
+ 'skip$
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ { %
+ % Different 5th author: citing 5 authors is
+ % sufficient for this comparison.
+ %
+ cite.num.names.short #5 <
+ { #5 'cite.num.names.short := }
+ 'skip$
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ { %
+ % Different 4th author: citing 4 authors is
+ % sufficient for this comparison.
+ %
+ cite.num.names.short #4 <
+ { #4 'cite.num.names.short := }
+ 'skip$
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ { %
+ % Different 3rd author: citing 3 authors is sufficient for this
+ % comparison.
+ %
+ cite.num.names.short #3 <
+ { #3 'cite.num.names.short := }
+ 'skip$
+ if$
+ }
+ if$
+ }
+ { %
+ % Different 2nd author: citing 2 authors is sufficient for this
+ % comparison.
+ %
+ cite.num.names.short #2 <
+ { #2 'cite.num.names.short := }
+ 'skip$
+ if$
+ }
+ if$
+ }
+ { %
+ % Different first author: no ambiguity, move to next entry.
+ %
+ skip$
+ }
+ if$
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Compute definitive number of names that must be cited
+% and whether a's or b's must be added to year (3).
+% Current entry has an author or editor acting as author.
+%
+% Call with
+% field definitive.cite.num.names.field
+%
+% What should we do with explicit "others"? Is now ignored.
+% If this causes ambiguity that could be resolved, the user
+% should have added additional author names.
+
+FUNCTION {definitive.cite.num.names.field}
+{ 'field :=
+ field num.names$ 'numnames :=
+ %
+ % Format authors
+ %
+ format.6.authors
+ %
+ % Now compare authors with authors of previous entry.
+ %
+ cite.num.names.short numnames.old >
+ { %
+ % The previous entry has less authors than already defined
+ % necessary to be cited. No ambiguity is possible and we're ready.
+ %
+ skip$
+ }
+ { %
+ % Both previous and current entry have at least one author .
+ %
+ year.label year.label.old =
+ { %
+ % Same year label: possibly ambiguous citation.
+ %
+ % First check: current and/or previous have 1 or
+ % 2 authors.
+ %
+ numnames #3 <
+ numnames.old #3 <
+ or
+ %
+ { definitive.cite.num.names.1.or.2 }
+ { definitive.cite.num.names.3.or.more }
+ if$
+ }
+ { %
+ % Different year label: everything's fine,
+ % move to next entry.
+ %
+ skip$
+ }
+ if$
+ }
+ if$
+ %
+ % If during the previous process the name maximum is exceeded
+ % (which was not checked), correct this. NOTE: If the name
+ % maximum is smaller than 6, this could lead to ambiguous
+ % citations if, e.g., the year and the first 5 authors are
+ % the same, but the 6th author is different.
+ %
+ cite.num.names.short name.max >
+ { name.max 'cite.num.names.short := }
+ 'skip$
+ if$
+ %
+ % For a "full" cite, the number of names should always be at least
+ % as large as for a "short" cite.
+ %
+ cite.num.names.full cite.num.names.short <
+ { cite.num.names.short 'cite.num.names.full := }
+ 'skip$
+ if$
+ %
+ % Update "old" variables for next entry.
+ %
+ update.cite.num.names
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Compute definitive number of names that must be cited (4)
+% and especially whether a's and b's should be added.
+% This function is for the situation when author or editor
+% are not used and firstkey, key, or something else is
+% used to cite the referenced work.
+%
+% Call with
+% formatted.field definitive.cite.no.names
+
+FUNCTION {definitive.cite.no.names}
+{ %
+ % The formatted field that acts as author is on top
+ % of the stack.
+ 'aut1f :=
+ "" 'aut2 :=
+ "" 'aut3 :=
+ "" 'aut4 :=
+ "" 'aut5 :=
+ "" 'aut6 :=
+ #1 'numnames :=
+ %
+ year.label year.label.old =
+ { %
+ % Same year label: possibly ambiguous citation.
+ %
+ definitive.cite.num.names.1.or.2
+ }
+ { %
+ % Different year label: everything's fine,
+ % move to next entry.
+ %
+ skip$
+ }
+ if$
+ %
+ % Update "old" variables for next entry.
+ %
+ update.cite.num.names
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Compute definitive number of names that must be cited (5).
+
+FUNCTION {definitive.cite.num.names}
+{ %
+ % Check whether author or editor or other field acts as author.
+ % Number of names is only relevant with author or editor.
+ %
+ firstkey empty$ not
+ { firstkey sortify remove.spaces definitive.cite.no.names }
+ { key empty$ not
+ { key sortify remove.spaces definitive.cite.no.names }
+ { %
+ % No key or firstkey, so find out which field
+ % to use as author.
+ %
+ % Check reference type:
+ % if result is 1 then possibly editor acts as author
+ % 2 then editor does not act as author
+ % 3 then key should have been used
+ % 0 then unknown reference type
+ ref.type #2 =
+ { %
+ % Format first author with and without initials
+ author empty$
+ { title.sort.label definitive.cite.no.names }
+ { author definitive.cite.num.names.field }
+ if$
+ }
+ { %
+ % Format first author with and without initials
+ author empty$
+ { editor empty$
+ { title.sort.label definitive.cite.no.names }
+ { editor definitive.cite.num.names.field }
+ if$
+ }
+ { author definitive.cite.num.names.field }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Make a tentative year sorting label (without `a' and `b').
+
+FUNCTION {make.tentative.year.sort.label}
+{ %
+ % Implicit or explicit ``no date'' is put at the front
+ % (the year zero; years B.C. will imply complications)
+ % because these are possibly old works.
+ % ``In press'' is put at the end.
+ %
+ year empty$
+ { "0000" 'year.label := }
+ { year "\bibnodate" =
+ year "l" change.case$ "no date" = or
+ year "l" change.case$ "n.d." = or
+ { "0000" 'year.label := }
+ { year "\BIP" =
+ year "l" change.case$ "in press" = or
+ year "l" change.case$ "forthcoming" = or
+ { "9999" 'year.label := }
+ { % It is not checked whether the year field
+ % makes sense.
+ year sortify remove.spaces 'year.label :=
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ %
+ % Push year sort label on the stack
+ year.label
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Give month and day when available.
+
+FUNCTION {month.number.day}
+{ month empty$
+ { "" }
+ { month sortify remove.spaces
+ %
+ % Add the day when available.
+ day empty$
+ 'skip$
+ { "/" *
+ day sortify remove.spaces *
+ }
+ if$
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Make tentative sort label with names in field on top of
+% the stack.
+%
+% Call with
+% field make.name.sort.label
+% where 'field' is the field that takes the author-role.
+
+FUNCTION {make.name.sort.label}
+{ %
+ % Author or editor-acting-as-author available.
+ % => Make tentative "short cite with initials" author
+ % label (L1) of one of the forms
+ % "Last1 F1"
+ % "Last1 F1 Last2"
+ % "Last1 F1 zzzz" ("zzzz" representing et al.)
+ % => If more than 2 'authors': make label (L2) for 2nd-6th authors
+ % of one of the forms
+ % "Last2 Last3"
+ % "Last2 Last3 Last4"
+ % "Last2 Last3 Last4 Last5"
+ % "Last2 Last3 Last4 Last5 Last6"
+ % "Last2 Last3 Last4 Last5 Last6 zzzz"
+ %
+ % Then format year label (L3) of one of the forms:
+ % "0000" (missing year or explicit 'no date')
+ % "9999" ('in press')
+ % year (otherwise; don't use originalyear here yet)
+ %
+ % From earlier sorting of titles, we have title number. Convert
+ % to string, which gives title label (L4) .
+ %
+ % Then tentative sorting label (author.year.sort.label) is a
+ % concatenation of
+ % L1
+ % " "
+ % L3
+ % " "
+ % L2
+ % " "
+ % L4
+ %
+ % The name field is on top of the stack.
+ 'field :=
+ %
+ % numnames is the total number of names contained in field
+ field num.names$ 'numnames :=
+ %
+ % Format first author
+ field #1 sort.name.format format.name$
+ %
+ % Format the second author if there are two, or else "zzzz" = et al.
+ numnames #1 =
+ 'skip$
+ { numnames #2 =
+ { %
+ % Two authors: format second author
+ field #2 "{ll{}}" format.name$ 's :=
+ s "others" =
+ { " zzzz" * } % Add "et al."-substitute
+ { " " * s * } % Add second author
+ if$
+ }
+ { " zzzz" * } % 3 or more authors: add "et al."-substitute
+ if$
+ }
+ if$
+ " " * % Add spaces
+ make.tentative.year.sort.label * % Add year (L3).
+ " " * % Add spaces
+ %
+ % Now build up L2 if applicable
+ numnames #3 <
+ 'skip$
+ { %
+ % Treat last author slightly differently
+ numnames name.max >
+ { name.max 'lastname :=
+ " zzzz" % Push "et al."-substitute on stack
+ }
+ { numnames 'lastname :=
+ "" % Push empty string on stack
+ }
+ if$
+ %
+ % Names 2 to "last" - 1
+ "" % Push empty string on stack
+ #2 'nameptr :=
+ { nameptr lastname < }
+ { % Add name no. nameptr
+ field nameptr "{ll{}}" format.name$ *
+ " " *
+ nameptr #1 + 'nameptr :=
+ }
+ while$
+ %
+ % "Last" author
+ field lastname "{ll{}}" format.name$ 's :=
+ s "others" =
+ { "zzzz" * } % Add "et al."-substitute
+ { s * } % Add last author
+ if$
+ %
+ swap$ * % Add the previously formatted empty string or
+ % "et al."-substitute if there are many authors.
+ * % Add L2 to the earlier labels.
+ }
+ if$
+ %
+ " " * % Add spaces
+ title.number conv.int.to.str * % Add sorted title number (L4).
+ sortify % Clean up and convert to lowercase
+ " " * % Add spaces
+ month.number.day * % Add month and day when available
+ 'author.year.sort.label := % Assign result to sort label.
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Called by make.tentative.sort.label to make tentative
+% sort label if key or firstkey is available or author and
+% editor are empty or unusable.
+%
+% Call with
+% field make.field.year.sort.label
+% where 'field' is the field that takes the author-role,
+% perhaps already subjected to removing articles from the
+% beginning.
+
+FUNCTION {make.field.year.sort.label}
+{ %
+ % 'field' acts as first author (L1), subsequent authors
+ % are empty (L2).
+ %
+ % Then format year label (L3) of one of the forms:
+ % "0000" (missing year or explicit 'no date')
+ % "9999" ('in press')
+ % year (otherwise; don't use originalyear here yet)
+ %
+ % From earlier sorting of titles, we have title number. Convert
+ % to string, which gives title label (L4) .
+ %
+ % Then tentative sorting label (author.year.sort.label) is a
+ % concatenation of
+ % L1
+ % " "
+ % L3
+ % " "
+ % L2
+ % " "
+ % L4
+ %
+ % 'field' is on top of the stack. It is already supposed to be cleaned
+ % (i.e., sortified and space-removed), so this is already L1.
+ " " * % Add spaces to L1
+ make.tentative.year.sort.label * % Add year (L3).
+ " " * % Add spaces
+ " " * % L2 is empty, add spaces
+ title.number conv.int.to.str * % Add sorted title number (L4).
+ sortify % Clean up and convert to lowercase
+ " " * % Add spaces
+ month.number.day * % Add month and day when available
+ 'author.year.sort.label := % Assign result to sort label.
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Called by make.tentative.sort.label to make tentative
+% sort label if key or firstkey are not available and
+% author or editor may be used
+
+FUNCTION {make.author.editor.sort.label}
+{ author empty$
+ { editor empty$
+ { %
+ % Use what has previously been stored in title.sort.label
+ % as author substitute .
+ title.sort.label make.field.year.sort.label
+ }
+ { editor make.name.sort.label }
+ if$
+ }
+ { author make.name.sort.label }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Called by make.tentative.sort.label to make tentative
+% sort label if key or firstkey are not available and
+% author (but not editor) may be used
+
+FUNCTION {make.author.sort.label}
+{ author empty$
+ { %
+ % Use what has previously been stored in title.sort.label
+ % as author substitute .
+ title.sort.label make.field.year.sort.label
+ }
+ { author make.name.sort.label }
+ if$
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Make tentative label for citing and sorting and do some
+% preprocessing.
+
+FUNCTION {make.tentative.sort.label}
+{ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ % General strategy:
+ %
+ % Ordinary situation: author or editor-acting-as-author
+ % available.
+ % => Make tentative "short cite with initials" author
+ % label (L1) of one of the forms
+ % "Last1 F1"
+ % "Last1 F1 Last2"
+ % "Last1 F1 zzzz" ("zzzz" representing et al.)
+ % => If more than 2 'authors': make label (L2) for 2nd-6th authors
+ % of one of the forms
+ % "Last2 Last3"
+ % "Last2 Last3 Last4"
+ % "Last2 Last3 Last4 Last5"
+ % "Last2 Last3 Last4 Last5 Last6"
+ % "Last2 Last3 Last4 Last5 Last6 zzzz"
+ % When key is available (overrules author and editor fields):
+ % => L1 = key, L2 = ""
+ % No author, editor, and key: define title or substitute as key
+ % and format as key.
+ %
+ % Then format year label (L3) of one of the forms:
+ % "0000" (missing year or explicit 'no date')
+ % "9999" ('in press')
+ % year (otherwise; don't use originalyear here yet)
+ %
+ % From earlier sorting of titles, we have title number. Convert
+ % to string, which gives title label (L4) .
+ %
+ % Then tentative sorting label (author.year.sort.label) is a
+ % concatenation of
+ % L1
+ % " "
+ % L3
+ % " "
+ % L2
+ % " "
+ % L4
+ %
+ % This can then be sorted, from which it can be derived
+ % whether initials are necessary, how many names must
+ % be used for short and full citations, and whether "a"'s and
+ % "b"'s etc. are necessary behind the year labels.
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % key and firstkey overrule author information
+ %
+ firstkey empty$ not
+ { key empty$ not
+ { %
+ % Both key and firstkey available:
+ % for sorting and checking initials, treat key as last
+ % name and firstkey as initials.
+ %
+ key sortify remove.spaces
+ " " *
+ firstkey sortify remove.spaces *
+ make.field.year.sort.label
+ }
+ { firstkey sortify remove.spaces make.field.year.sort.label }
+ if$
+ }
+ { key empty$ not
+ { key sortify remove.spaces make.field.year.sort.label }
+ { %
+ % No key or firstkey, so find out which field
+ % to use as author.
+ %
+ % Check reference type:
+ % if result is 1 then possibly editor acts as author
+ % 2 then editor does not act as author
+ % 3 then key should have been used
+ % 0 then unknown reference type
+ ref.type
+ duplicate$ #1 =
+ { pop$
+ make.author.editor.sort.label
+ }
+ { duplicate$ #2 =
+ { pop$
+ make.author.sort.label
+ }
+ { #3 =
+ { "no key in " cite$ * warning$
+ make.author.editor.sort.label
+ }
+ { make.author.editor.sort.label }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ %
+ author.year.sort.label 'sort.key$ :=
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Make final sort label with names in field on top of
+% the stack.
+%
+% Call with
+% field make.definitive.name.sort.label
+%
+% where 'field' is the field that takes the author-role.
+
+FUNCTION {make.definitive.name.sort.label}
+{ %
+ % Author or editor-acting-as-author available.
+ % => Make author-with-initials label (L1) of one of the forms
+ % "Last1 F1 Last2 F2 ... LastN FN"
+ % "Last1 F1 Last2 F2 ... Last6 F6 zzzz"
+ % (where N <= 6 is the total number of authors, and
+ % "zzzz" represents et al. if there are more than 6 authors)
+ % No author, editor, and key: define title or substitute as sort key.
+ %
+ % The name field is on top of the stack.
+ 'field :=
+ %
+ % numnames is the total number of names contained in field
+ field num.names$ 'numnames :=
+ %
+ % If there are more than 6 authors, only 6 are mentioned.
+ numnames name.max >
+ { name.max 'format.num.names := }
+ { numnames 'format.num.names := }
+ if$
+ % Initialize stack with empty string
+ ""
+ %
+ % Cycle over authors.
+ #1 'nameptr :=
+ { nameptr format.num.names < }
+ { % Format author and add spaces
+ field nameptr sort.name.format format.name$ *
+ " " *
+ nameptr #1 + 'nameptr :=
+ }
+ while$
+ % Format last author that must be formatted
+ field nameptr sort.name.format format.name$ *
+ % Add et al. if necessary
+ nameptr numnames <
+ { " zzzz" * }
+ 'skip$
+ if$
+ sortify % Clean up and change case
+ " " * % Add spaces
+ year.label * % Add year
+ " " * % Add spaces
+ title.number conv.int.to.str * % Add sorted title number
+ " " * % Add spaces
+ month.number.day * % Add month and day when available
+ 'author.year.sort.label := % Assign result to sort label.
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Called to make definitive sort label if author and
+% editor are empty or unusable.
+%
+% Call with
+% field make.definitive.field.year.sort.label
+% where 'field' is the field that takes the author-role,
+% perhaps already subjected to removing articles from the
+% beginning.
+
+FUNCTION {make.definitive.field.year.sort.label}
+{ %
+ % 'field' acts as author (L1).
+ %
+ % Then format year label (L2) of one of the forms:
+ % "0000" (missing year or explicit `no date')
+ % "9999" (`in press')
+ % year (otherwise; don't use originalyear here yet)
+ %
+ % From earlier sorting of titles, we have title number. Convert
+ % to string, which gives title label (L3) .
+ %
+ % Then tentative sorting label (author.year.sort.label) is a
+ % concatenation of
+ % L1
+ % " "
+ % L2
+ % " "
+ % L3
+ %
+ % 'field' is on top of the stack. It is already supposed to be cleaned
+ % (i.e., sortified and space-removed), so this is already L1.
+ " " * % Add spaces
+ year.label * % Add year
+ " " * % Add spaces
+ title.number conv.int.to.str * % Add sorted title number
+ " " * % Add spaces
+ month.number.day * % Add month and day when available
+ 'author.year.sort.label := % Assign result to sort label.
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Called by make.final.sort.key if author or editor
+% may be used.
+
+FUNCTION {make.definitive.author.editor.sort.label}
+{ author empty$
+ { editor empty$
+ { %
+ % Use what has previously been stored in title.sort.label
+ % as author substitute .
+ title.sort.label make.definitive.field.year.sort.label
+ }
+ { editor make.definitive.name.sort.label }
+ if$
+ }
+ { author make.definitive.name.sort.label }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Called by make.final.sort.key if author but not editor
+% may be used.
+
+FUNCTION {make.definitive.author.sort.label}
+{ author empty$
+ { %
+ % Use what has previously been stored in title.sort.label
+ % as author substitute .
+ title.sort.label make.definitive.field.year.sort.label
+ }
+ { author make.definitive.name.sort.label }
+ if$
+}
+% \end{macrocode}
+% Make the final sort key. The general strategy is the following. The
+% ordinary situation is that an author or editor-acting-as-author
+% is available. In this case, make an author-with-initials label (L1)
+% of one of the forms
+% \begin{verbatim}
+% "Last1 F1 Last2 F2 ... LastN FN"
+% "Last1 F1 Last2 F2 ... Last6 F6 zzzz"
+% \end{verbatim}
+% where $N \leq 6$ is the total number of authors, and ``|zzzz|''
+% represents et al.\ if there are more than 6 authors. If there is
+% no author, editor, and key, define the title or its substitute as a
+% sort key. Note that there are two spaces between last name and first
+% name and three spaces between authors.
+%
+% Next format a year label (L2) that is equal to the \fieldname{year}
+% field, unless that is missing or an explicit ``no date'', in which
+% case it is |0000| (and thus comes first) or if it is an explicit
+% in press (|\BIP|), in which case the year label is |9999| (and thus
+% it comes last). We don't use the \fieldname{originalyear} field here
+% yet. We add |/|\fieldname{month}|/|\fieldname{day} to the year label
+% when available.
+%
+% From earlier sorting of titles, we have the sorted title number. This
+% is converted to a string, which gives title label (L3).
+%
+% Then the final sorting label (|author.year.sort.label|) is a
+% concatenation of L1, L2, and L3, with four spaces between them. This
+% can then be sorted.
+%
+% If the reference type is 1, then possibly the editor acts as author;
+% if it is 2, then editor does not act as author; if it is 3, then the
+% \fieldname{key} field should have been used; if it is 0, this is an
+% unknown reference type.
+% \begin{macrocode}
+FUNCTION {make.final.sort.key}
+{ ref.type #2 =
+ { make.definitive.author.sort.label }
+ { make.definitive.author.editor.sort.label }
+ if$
+% \end{macrocode}
+% With the \pkgoption{unsorted} option, the reference listed is sorted
+% in the order in which \BibTeX{} reads the references, that is, in
+% order of first citation.
+% \begin{macrocode}
+ unsorted
+ { citeorder.sort.label 'sort.key$ := }
+ { author.year.sort.label 'sort.key$ := }
+ if$
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% FUNCTIONS THAT ALLOW SORTING BY TITLE %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Remove first N characters of string if they are equal to
+% teststring .
+%
+% Call with
+% teststring N string chop.word
+%
+% E.g.,
+% "A " #2 "A fine old day" chop.word
+% gives "fine old day"
+% and
+% "A " #2 "The fine old day" chop.word
+% gives "The fine old day".
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ { s }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Remove "a ", "an ", and "the " from beginning of string.
+%
+% Call with
+% string chop.articles
+
+FUNCTION {chop.articles}
+{ 's :=
+ "a " #2
+ "an " #3
+ "the " #4
+ s
+ chop.word
+ chop.word
+ chop.word
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Format title and other non-name/date entries for sort key.
+%
+% Call with
+% field format.sort.title
+%
+% Make sure that field is not empty, this is not checked here!
+
+FUNCTION {format.sort.title}
+{ %
+ % Remove non-alphanumeric characters and change to lower case .
+ sortify
+ %
+ % Remove "a ", "an ", and "the " from the front .
+ chop.articles #1 entry.max$ substring$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Make title sorting label or substitute.
+
+FUNCTION {make.sort.title}
+{ title empty$
+ { text empty$
+ { type empty$
+ { howpublished empty$
+ { note empty$
+ { url empty$
+ { " " }
+ { url format.sort.title }
+ if$
+ }
+ { note format.sort.title }
+ if$
+ }
+ { howpublished format.sort.title }
+ if$
+ }
+ { type format.sort.title }
+ if$
+ }
+ { text format.sort.title }
+ if$
+ }
+ { title format.sort.title }
+ if$
+ remove.spaces
+ 'title.sort.label :=
+ title.sort.label 'sort.key$ :=
+}
+% \end{macrocode}
+% Make title number: rank number of sorted title.
+% \begin{macrocode}
+FUNCTION {make.title.number}
+{ title.sort.label old.label =
+ {
+% \end{macrocode}
+% A tie: old and new label are the same.
+% \begin{macrocode}
+ old.number 'title.number :=
+ }
+ {
+% \end{macrocode}
+% The usual situation: titles are different.
+% \begin{macrocode}
+ old.number #1 + 'title.number :=
+ title.number 'old.number :=
+ title.sort.label 'old.label :=
+ }
+ if$
+}
+% \end{macrocode}
+% Order in which reference was first cited (integer and conversion to string).
+% \begin{macrocode}
+FUNCTION {make.citeorder.number}
+{ old.number #1 + 'cite.order :=
+ cite.order 'old.number :=
+ cite.order conv.int.to.str 'citeorder.sort.label :=
+}
+% \end{macrocode}
+%
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \subsection{Name formatting}
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% In order to support removal of spaces between the initials,
+% we have to split the formatting of the constituent parts,
+% because something like |"{ll}{, f{\BPBI }.}{ vv}{, jj}"| removes
+% the hyphens between initials as well. The ``classic'' versions
+% treat the von part differently. They were used in pervious versions
+% of \pkg{apacite}.
+%
+% \begin{macrocode}
+
+FUNCTION {last.part.name.format.classic} { "{ll}" }
+
+FUNCTION {von.junior.name.format.classic} { "{ vv}{, jj}" }
+
+FUNCTION {last.part.name.format} { "{vv }{ll}" }
+
+FUNCTION {initials.with.space.name.format} { "{f.}" }
+
+FUNCTION {von.last.junior.name.format} { "{vv }{ll}{ jj}" }
+
+FUNCTION {von.junior.name.format} { "{, jj}" }
+
+FUNCTION {one.complete.name.format} { "{vv }{ll}{, jj}{, ff}" }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% text.length$ views "special characters" as 1, whereas
+% substring$ looks at the number of actual characters.
+% So
+% "{\TeX}" text.length$ = 1
+% "{TeX}" text.length$ = 3
+% but
+% "{\TeX}" #4 #2 substring$ = "eX"
+% "{TeX}" #4 #2 substring$ = "X}"
+% Therefore, it is convenient to have a string length function
+% that uses the same numbering as substring$:
+% "{\TeX}" string.length = 6
+% "{TeX}" string.length = 5
+
+FUNCTION {string.length}
+{ #0 'pos :=
+ % If the next character exists, i.e., is not empty,
+ % add 1 to the string length.
+ % We cannot use empty$ because " " empty$ is true.
+ { duplicate$ pos #1 + #1 substring$ "" = not }
+ { pos #1 + 'pos := }
+ while$
+ pop$ pos
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Replace ". " and ".~" with "\BPBI " (period between initials)
+% and ".-" with "\BHBI " (hyphen between initials)
+% but only at brace level 0.
+
+FUNCTION {transform.spaces.and.hyphens}
+{ 's := % The original string
+ s string.length 'len := % Its length (no. of characters)
+ "" 't := % Initialize the transformed string
+ #1 'pos :=
+ #0 'brace.level :=
+ %
+ % while (pos < len) do
+ %
+ { pos len < }
+ { % First, check whether we are at brace level 0
+ brace.level #0 =
+ {
+ % At least two characters left: check for ". ", ".~", and ".-".
+ % If so, replace and shift two positions.
+ s pos #2 substring$ ". " =
+ s pos #2 substring$ ".~" = or
+ { t "\BPBI " * 't :=
+ pos #2 + 'pos :=
+ }
+ { s pos #2 substring$ ".-" =
+ { t "\BHBI " * 't :=
+ pos #2 + 'pos :=
+ }
+ { % neither is true, copy one character and shift one position
+ t s pos #1 substring$ * 't :=
+ % Check whether we need to increase brace level.
+ % Note that this is not sophisticated: it does not capture
+ % \{, \verb+}+, etc.
+ % Note also that unbalanced braces cause problems.
+ s pos #1 substring$ "{" =
+ { brace.level #1 + 'brace.level := }
+ 'skip$
+ if$
+ pos #1 + 'pos :=
+ }
+ if$
+ }
+ if$
+ }
+ { % Not at brace level 0: copy result literally
+ t s pos #1 substring$ * 't :=
+ % Check whether we need to increase or decrease brace level.
+ % Note that this is not sophisticated: it does not capture
+ % \{, \verb+}+, etc.
+ s pos #1 substring$ "{" =
+ { brace.level #1 + 'brace.level := }
+ { s pos #1 substring$ "}" =
+ { brace.level #1 - 'brace.level := }
+ 'skip$
+ if$
+ }
+ if$
+ pos #1 + 'pos :=
+ }
+ if$
+ }
+ while$
+ %
+ pos len =
+ { % Last character, copy
+ t s pos #1 substring$ * 't :=
+ }
+ { % pos = len + 1, so s ends with ". " or ".-"
+ % This should not have happened, but make the best out of it.
+ % Push last two characters of s on the stack, i.e., ". " or ".-".
+ s len #1 - #2 substring$
+ % Remove "\BPBI " or "\BHBI " from t
+ t text.length$ 'len := % Length of t (no. of characters)
+ t #1 len #6 - substring$
+ % Concatenate and assign to t
+ swap$ * 't :=
+ }
+ if$
+ %
+ % Now push the result back on the stack
+ t
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Format only the initials of a name, retaining hyphens, but
+% removing spaces between first names. So "Jean Pierre" becomes "J.P."
+% and "Jean-Pierre" becomes "J.-P.".
+
+FUNCTION {format.initials.with.hyphen}
+{ % Format initials.
+ % Call with
+ % field authornumber format.initials.with.hyphen
+ % e.g.
+ % author #1 format.initials.with.hyphen
+ % Instead of field, a string may also be used.
+ %
+ % First, format initials in the default way, retaining spaces
+ % and hyphens.
+ initials.with.space.name.format format.name$
+ transform.spaces.and.hyphens
+}
+
+FUNCTION {format.last.part.name}
+{ % Format a name with last.part.name.format,
+ % as part of more complicated things.
+ % Call with
+ % field authornumber format.last.part.name
+ % e.g.
+ % author #1 format.last.part.name
+ % Instead of field, a string may also be used.
+ last.part.name.format format.name$
+}
+
+FUNCTION {format.von.last.junior.name}
+{ % Format a name with von.last.junior.name.format,
+ % for citing or as part of more complicated things.
+ % Call with
+ % field authornumber format.von.last.junior.name
+ % e.g.
+ % author #1 format.von.last.junior.name
+ % Instead of field, a string may also be used.
+ von.last.junior.name.format format.name$
+}
+
+FUNCTION {format.von.junior.name}
+{ % Format a name with von.last.junior.name.format,
+ % for citing or as part of more complicated things.
+ % Call with
+ % field authornumber format.von.junior.name
+ % e.g.
+ % author #1 format.von.junior.name
+ % Instead of field, a string may also be used.
+ von.junior.name.format format.name$
+}
+
+FUNCTION {format.cite.initials.name}
+{ % Format a name for citing with initials.
+ % Call with
+ % field authornumber format.cite.initials.name
+ % e.g.
+ % author #1 format.cite.initials.name
+ % Instead of field, a string may also be used.
+ %
+ % First, extract the complete name, format it in the canonical form,
+ % and push on the stack.
+ one.complete.name.format format.name$
+ %
+ % Format the initials and push on the stack.
+ duplicate$ #1 format.initials.with.hyphen
+ %
+ % Format the von-last-junior part and push on the stack.
+ swap$ #1 format.von.last.junior.name
+ %
+ % Connect with "~" hyphen (if they're both non-empty).
+ "~" connect.check
+}
+
+FUNCTION {format.author.name}
+{ % Format an author name for the reference list.
+ % Call with
+ % field authornumber format.author.name
+ % e.g.
+ % author #1 format.author.name
+ % Instead of field, a string may also be used.
+ %
+ % First, extract the complete name, format it in the canonical form,
+ % and push on the stack.
+ one.complete.name.format format.name$
+ %
+ % Make two copies of the name, format the last name and push on the stack.
+ duplicate$ duplicate$ #1 format.last.part.name
+ %
+ % Format the initials and push on the stack.
+ swap$ #1 format.initials.with.hyphen
+ %
+ % Connect with last name.
+ connect.with.comma.check
+ %
+ % Format the von-junior part and connect with initials.
+ swap$ #1 format.von.junior.name "" connect.check
+}
+
+FUNCTION {format.editor.name}
+{ % Format a name for the reference list as an editor.
+ % Call with
+ % field authornumber format.editor.name
+ % e.g.
+ % author #1 format.editor.name
+ % Instead of field, a string may also be used.
+ %
+ format.cite.initials.name
+}
+
+FUNCTION {format.index.name}
+{ % Format an author name for the index.
+ % Call with
+ % field authornumber format.index.name
+ % e.g.
+ % author #1 format.index.name
+ % Instead of field, a string may also be used.
+ %
+ format.author.name
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% CITATION LABELS %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \end{macrocode}
+%
+% \begin{macro}{comma.between.two}
+% \begin{macro}{comma.between.names}
+% \begin{macro}{comma.before.last}
+% \begin{macro}{dots.before.last}
+% \begin{macro}{and.before.last}
+% \begin{macro}{et.al.string.cite}
+% \begin{macro}{et.al.string}
+% \begin{macro}{et.al.string.period}
+% Some macro strings about commas etc.\ between authors.
+% \begin{macrocode}
+FUNCTION {comma.between.two} { "\BCBT {}" }
+
+FUNCTION {comma.between.names} { ", " }
+
+FUNCTION {comma.before.last} { "\BCBL {}" }
+
+FUNCTION {dots.before.last} { "\BDBL {}" }
+
+FUNCTION {and.before.last} { "\ \BBA {} " }
+
+FUNCTION {et.al.string.cite} { "\ \protect \BOthers {.}" }
+
+FUNCTION {et.al.string} { "\ \BOthers {.}" }
+
+FUNCTION {et.al.string.period} { "\ \BOthersPeriod {.}" }
+
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macrocode}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Add author index entry when desired.
+% "field" must have been defined before and must contain the
+% contents of the relevant author field.
+% "nameptr" must also have been defined before. It is the
+% number of the author that must be formatted. (So if it is
+% #2, then the 2nd author must be formatted.)
+% What's on top of the stack (the formatted author) is written
+% to the .bbl file.
+
+FUNCTION {add.name.index}
+{ %
+ %
+ make.index
+ { "%" * write$ newline$
+ % Check for corporate author
+ field is.bibcorporate
+ { "\corporateAX{" }
+ { "\AX{" }
+ if$
+ write$
+ field nameptr sort.name.format format.name$ sortify write$ newline$
+ "@" write$
+ field nameptr format.index.name
+ "}%" * write$ newline$
+ }
+ { "%" * write$ newline$ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Citation labels when author or editor may be used.
+% Field is on top of the stack.
+%
+% Call with
+% format.num.names field make.name.cite.label
+
+FUNCTION {make.name.cite.label}
+{ 'field :=
+ 'format.num.names :=
+ %
+ field num.names$ 'numnames := % numnames is the total number of names
+ % contained in field
+ %
+ % It is implicit in the APA manual that if "et al." would refer
+ % to exactly one author, then this author should be named
+ % instead of "et al."
+ %
+ format.num.names numnames #1 - =
+ { numnames 'format.num.names := }
+ 'skip$
+ if$
+ %
+ % Format first author: with or without initials
+ %
+ #1 'nameptr :=
+ cite.initials #1 =
+ { field nameptr format.cite.initials.name }
+ { field nameptr cite.name.format format.name$ }
+ if$
+ add.name.index % Add index entry when desired.
+ %
+ numnames #1 =
+ 'skip$
+ { format.num.names #1 =
+ { %
+ % First author et al.
+ %
+ et.al.string.cite write$
+ }
+ { numnames #2 =
+ { %
+ % Given that format.num.names > 1, it is 2.
+ % Format second author.
+ %
+ #2 'nameptr :=
+ field nameptr cite.name.format format.name$ 's :=
+ %
+ % Check if 2nd author is explicit "others".
+ % If so, insert "et al." string.
+ %
+ s "others" =
+ { et.al.string.cite write$ } % First et al.
+ { %
+ % First \& Second
+ %
+ and.before.last write$
+ s
+ add.name.index % Add index entry when desired.
+ }
+ if$
+ }
+ { %
+ % 3 or more names, 2 or more must be cited
+ %
+ % for nameptr := 2 to format.num.names - 1 do
+ %
+ #2 'nameptr :=
+ { nameptr format.num.names < }
+ { %
+ % Put comma between consecutive authors
+ %
+ comma.between.names write$
+ %
+ % Format and add next author
+ %
+ field nameptr cite.name.format format.name$
+ add.name.index % Add index entry when desired.
+ %
+ % Move to next author
+ %
+ nameptr #1 + 'nameptr :=
+ }
+ while$
+ %
+ % nameptr = format.num.names
+ % Format this author.
+ %
+ field nameptr cite.name.format format.name$ 's :=
+ %
+ format.num.names numnames =
+ { %
+ % This is also the last author. Add (optional) comma.
+ %
+ comma.before.last write$
+ %
+ % Check if this author is explicit "others".
+ % If so, insert "et al." string.
+ %
+ s "others" =
+ { et.al.string.cite write$ }
+ { and.before.last write$
+ s
+ add.name.index % Add index entry when desired.
+ }
+ if$
+ }
+ { %
+ % This is not the last author.
+ % Add comma, author name, and "et al."
+ %
+ comma.between.names write$
+ s
+ add.name.index % Add index entry when desired.
+ %
+ comma.before.last et.al.string.cite * write$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Citation labels when no author, editor, firstkey or key
+% is available.
+
+FUNCTION {make.title.cite.label}
+{ %
+ % Formatting: check if formatted as article title or
+ % as book title, and insert this formatting.
+ %
+ is.atype
+ { "\APACciteatitle {" }
+ { "\APACcitebtitle {" }
+ if$
+ %
+ title empty$
+ { text empty$
+ { type empty$
+ { howpublished empty$
+ { note empty$
+ { url empty$
+ { cite$ }
+ { url }
+ if$
+ }
+ { note }
+ if$
+ }
+ { howpublished }
+ if$
+ }
+ { type }
+ if$
+ }
+ { text }
+ if$
+ }
+ { title }
+ if$
+ %
+ % Connect with formatting.
+ %
+ * "}" *
+ %
+ % Write to output
+ %
+ write$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Citation labels when author or editor may be used.
+
+FUNCTION {make.author.editor.cite.label}
+{ author empty$
+ { editor empty$
+ { %
+ % No author or editor:
+ % Use title or other description as citation label.
+ %
+ make.title.cite.label
+ "}{%" write$ newline$
+ make.title.cite.label
+ }
+ { cite.num.names.full editor make.name.cite.label
+ "}{%" write$ newline$
+ cite.num.names.short editor make.name.cite.label
+ }
+ if$
+ }
+ { cite.num.names.full author make.name.cite.label
+ "}{%" write$ newline$
+ cite.num.names.short author make.name.cite.label
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Citation labels when author (but not editor) may be used.
+
+FUNCTION {make.author.cite.label}
+{ author empty$
+ { %
+ % No author:
+ % Use title or other description as citation label.
+ %
+ make.title.cite.label
+ "}{%" write$ newline$
+ make.title.cite.label
+ }
+ { cite.num.names.full author make.name.cite.label
+ "}{%" write$ newline$
+ cite.num.names.short author make.name.cite.label
+ }
+ if$
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Make "a" or "b" supplement to year label when necessary.
+
+FUNCTION {make.definitive.year.supplement}
+{ %
+ % Add "a", "b", etc. when necessary.
+ %
+ add.to.year #0 =
+ { "" }
+ { "{\protect "
+ year empty$
+ { "\BCntND " * }
+ { year "\bibnodate" =
+ year "l" change.case$ "no date" = or
+ year "l" change.case$ "n.d." = or
+ { "\BCntND " * }
+ { year "\BIP" =
+ year "l" change.case$ "in press" = or
+ year "l" change.case$ "forthcoming" = or
+ { "\BCntIP " * }
+ { "\BCnt " * }
+ if$
+ }
+ if$
+ }
+ if$
+ "{" * add.to.year int.to.str$ * "}}" *
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Add \protect if year is \BIP or \bibnodate.
+
+FUNCTION {protect.year}
+{ year empty$
+ { "{\protect \bibnodate {}}" }
+ { year "\bibnodate" =
+ year "l" change.case$ "no date" = or
+ year "l" change.case$ "n.d." = or
+ { "{\protect \bibnodate {}}" }
+ { year "\BIP" =
+ year "l" change.case$ "in press" = or
+ year "l" change.case$ "forthcoming" = or
+ { "{\protect \BIP {}}" }
+ { year }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Make year label that is used for citations in text.
+
+FUNCTION {make.definitive.year.label}
+{ "{\protect \APACyear {"
+ originalyear empty$
+ { protect.year }
+ { originalyear "\bibnodate" = % date of original publication unknown
+ originalyear "l" change.case$ "no date" = or
+ originalyear "l" change.case$ "n.d." = or
+ { translator empty$
+ { protect.year }
+ { "{\protect \BTRANSL {}}~" protect.year * }
+ if$
+ }
+ { year empty$
+ { originalyear "/{\protect \bibnodate {}}" * } % 1923/n.d.
+ { originalyear year =
+ { protect.year }
+ { originalyear "/" * protect.year * } % 1923/1961
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ * "}}%" * write$ newline$
+ %
+ % Add "a", "b", etc. when necessary.
+ %
+ "{\protect \APACexlab {" "}}"
+ make.definitive.year.supplement enclose.check
+}
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Make citation labels:
+% - Full formatted author list (or substitute if no author
+% available) for first citation;
+% - Short formatted author list (ditto) for subsequent
+% citations;
+% - Year, with originalyear when applicable, and "a" or "b"
+% etc. addendum when necessary.
+
+FUNCTION {make.cite.labels}
+{ newline$
+ %
+ % Write a few lines for testing purposes.
+ %
+ test
+ { "\bibitem [] {} \fullciteA {" cite$ * "}" * write$ newline$
+ "\bibitem [] {} \citeA {" cite$ * "}" * write$ newline$
+ }
+ 'skip$
+ if$
+ %
+ "\bibitem [\protect \citeauthoryear {%" write$ newline$
+ %
+ % When key or firstkey is available, this takes precedence.
+ %
+ firstkey empty$ not
+ { %
+ % Full cite: firstkey.
+ %
+ firstkey write$
+ "}{%" write$ newline$
+ %
+ % Short cite: if key is not empty and cite.initials is 0,
+ % then key, else firstkey.
+ %
+ cite.initials #0 =
+ key empty$ not
+ and
+ { key }
+ { firstkey }
+ if$
+ write$
+ }
+ { key empty$ not
+ { %
+ % No firstkey, but key available:
+ % Both full and short labels are key.
+ %
+ key write$
+ "}{%" write$ newline$
+ key write$
+ }
+ { % No key or firstkey, so find out which field
+ % to use as author.
+ %
+ % Check reference type:
+ % if result is 1 then possibly editor acts as author
+ % 2 then editor does not act as author
+ % 3 then key should have been used
+ % 0 then unknown reference type
+ ref.type #2 =
+ { make.author.cite.label }
+ { make.author.editor.cite.label }
+ if$
+ }
+ if$
+ }
+ if$
+ "}{%" write$ newline$
+ %
+ % Make year label that's used for citations
+ %
+ make.definitive.year.label write$
+ "}]{%" write$ newline$
+ cite$ write$
+ "} " write$ newline$
+ % author.year.sort.label write$ newline$ % for testing purposes
+ % year.label write$ newline$ % for testing purposes
+ %
+ % If the item is used in a meta-analysis, indicate this with
+ % a star.
+ %
+ "\APACinsertmetastar {%" write$ newline$
+ cite$ write$
+ "}%" write$ newline$
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% FORMATTING OF REFERENCE LIST %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% "(Ed.)" or "(Eds.)" postfix.
+% editor must not be empty
+
+FUNCTION {editor.postfix}
+{ editor num.names$ #1 >
+ { "(\BEDS)" }
+ { "(\BED)" }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% "(Ed. \& Trans.)" postfix
+% editor must not be empty
+
+FUNCTION {editor.trans.postfix}
+{ editor num.names$ #1 >
+ { "(\BEDS{} \BAnd{} \BTRANSS)" }
+ { "(\BED{} \BAnd{} \BTRANS)" }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % "(Trans.)" postfix
+ % translator must not be empty
+ %
+FUNCTION {trans.postfix}
+{ translator num.names$ #1 >
+ { "(\BTRANSS)" }
+ { "(\BTRANS)" }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Format authors (or editors acting as authors) for the
+% reference list, according to APA 5th ed. rules.
+%
+% Call with
+% dot field authors.editors.reflist.apa5
+% where field is the field (string) that contains the authors
+% (or editors acting as authors) that must be formatted and
+% dot is 1 or 0 indicating whether or not a period must end
+% the formatting.
+
+FUNCTION {authors.editors.reflist.apa5}
+{ 'field :=
+ 'dot :=
+ %
+ field num.names$ 'numnames := % numnames is the total number of names
+ % contained in field
+ numnames 'format.num.names := % Format all authors
+ format.num.names name.max > % Unless this exceeds the maximum of 6.
+ { dot
+ { name.max 'format.num.names := } % Format 6 authors
+ { cite.num.names.full 'format.num.names := } % Format 1 editor
+ if$
+ }
+ 'skip$
+ if$
+ %
+ % Enclose authors in APACrefauthors environment to allow crude style
+ % options in \LaTeX.
+ "\begin{APACrefauthors}%"
+ write$ newline$
+ %
+ % It is kind of explicit in the APA manual that if "et al." would
+ % refer to exactly one author (the 7th), then this author should
+ % still be replaced by "et al.", unlike with citations.
+ % So format.num.names is not adapted.
+ %
+ % Format first author
+ %
+ #1 'nameptr :=
+ field nameptr format.author.name
+ %
+ % Add period if required and if this is the only author.
+ %
+ numnames #1 =
+ dot
+ and
+ { add.period$ }
+ 'skip$
+ if$
+ add.name.index % Add index entry when desired.
+ %
+ numnames #1 =
+ 'skip$
+ { format.num.names #1 =
+ { %
+ % First author et al.
+ %
+ comma.between.two
+ %
+ % Add period if required.
+ %
+ dot
+ { et.al.string.period * }
+ { et.al.string * }
+ if$
+ write$
+ }
+ { numnames #2 =
+ { %
+ % Given that format.num.names > 1, it is 2.
+ %
+ comma.between.two write$
+ %
+ % Format second author.
+ %
+ #2 'nameptr :=
+ field nameptr format.author.name 's :=
+ %
+ % Check if 2nd author is explicit "others".
+ % If so, insert "et al." string.
+ %
+ s "others" =
+ { %
+ % First et al.
+ % Add period if required.
+ %
+ dot
+ { et.al.string.period }
+ { et.al.string }
+ if$
+ write$
+ }
+ { %
+ % First \& Second
+ %
+ and.before.last write$
+ %
+ % Add period if required.
+ %
+ dot
+ { s add.period$ }
+ { s }
+ if$
+ add.name.index % Add index entry when desired.
+ }
+ if$
+ }
+ { %
+ % 3 or more names, 2 or more must be cited
+ %
+ % for nameptr := 2 to format.num.names - 1 do
+ %
+ #2 'nameptr :=
+ { nameptr format.num.names < }
+ { %
+ % Put comma between consecutive authors
+ %
+ comma.between.names write$
+ %
+ % Format and add next author
+ %
+ field nameptr format.author.name
+ add.name.index % Add index entry when desired.
+ %
+ % Move to next author
+ %
+ nameptr #1 + 'nameptr :=
+ }
+ while$
+ %
+ % nameptr = format.num.names
+ % Format this author.
+ %
+ field nameptr format.author.name 's :=
+ %
+ format.num.names numnames =
+ { %
+ % This is also the last author. Add (optional) comma.
+ %
+ comma.before.last write$
+ %
+ % Check if this author is explicit "others".
+ % If so, insert "et al." string.
+ %
+ s "others" =
+ { %
+ % Add period if required.
+ %
+ dot
+ { et.al.string.period }
+ { et.al.string }
+ if$
+ write$
+ }
+ { and.before.last write$
+ %
+ % Add period if required.
+ %
+ dot
+ { s add.period$ }
+ { s }
+ if$
+ add.name.index % Add index entry when desired.
+ }
+ if$
+ }
+ { %
+ % This is not the last author.
+ % Add comma, author name, and "et al."
+ %
+ comma.between.names write$
+ s
+ add.name.index % Add index entry when desired.
+ %
+ comma.before.last
+ %
+ % Add period if required.
+ %
+ dot
+ { et.al.string.period * }
+ { et.al.string * }
+ if$
+ write$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ %
+ % End APACrefauthors environment.
+ "\end{APACrefauthors}%"
+ write$ newline$
+}
+
+%
+% \begin{macro}{authors.reflist.apa6}
+% Format authors for the reference list according to the rules of the
+% 6th edition of the \emph{APA Manual}, i.e., if there are more than 7
+% authors, list the first 6, then dots, and then the last.
+% Call with
+% \begin{verbatim}
+% dot field authors.reflist.apa6
+% \end{verbatim}
+% where \texttt{field} is the field (string) that contains the authors
+% (or editors acting as authors) that must be formatted and \texttt{dot}
+% is 1 or 0 indicating whether or not a period must end the formatting.
+% \begin{macrocode}
+FUNCTION {authors.reflist.apa6}
+{ 'field :=
+ 'dot :=
+% \end{macrocode}
+% \texttt{numnames} is the total number of names in the \texttt{field}.
+% \texttt{format.num.names} is the number of names to be formatted,
+% which is \texttt{numnames} or 7, whichever is smaller
+% \begin{macrocode}
+ field num.names$ 'numnames :=
+ numnames #7 >
+ { #7 'format.num.names := }
+ { numnames 'format.num.names := }
+ if$
+% \end{macrocode}
+% Enclose authors in \envirname{APACrefauthors} environment to allow crude
+% style options in \LaTeX.
+% \begin{macrocode}
+ "\begin{APACrefauthors}%"
+ write$ newline$
+% \end{macrocode}
+% Format first author.
+% \begin{macrocode}
+ #1 'nameptr :=
+ field nameptr format.author.name
+ numnames #1 =
+% \end{macrocode}
+% Add period if required and if this is the only author, and add index
+% entry when desired.
+% \begin{macrocode}
+ { dot
+ { add.period$ }
+ 'skip$
+ if$
+ add.name.index
+ }
+ { add.name.index
+ numnames #2 =
+% \end{macrocode}
+% Optional comma between two authors; format second author and store in
+% \texttt{s}.
+% \begin{macrocode}
+ { comma.between.two write$
+ #2 'nameptr :=
+ field nameptr format.author.name 's :=
+ s "others" =
+% \end{macrocode}
+% Second author is explicit ``|others|''. Therefore, insert
+% ``et al.'' string. Note that this does not correspond with the
+% 6th edition of the \emph{APA manual}, so give a warning here,
+% but after that format the authors as in the 5th edition:
+% ``First, et al.''. Add a period if required.
+% \begin{macrocode}
+ { "`others' not consistent with 6th ed. of the APA Manual"
+ warning$
+ dot
+ { et.al.string.period }
+ { et.al.string }
+ if$
+ write$ newline$
+ }
+% \end{macrocode}
+% There really are two authors: ``First, \& Second'', with a period
+% after the latter if required.
+% \begin{macrocode}
+ { and.before.last write$
+ dot
+ { s add.period$ }
+ { s }
+ if$
+ add.name.index
+ }
+ if$
+ }
+% \end{macrocode}
+% Three or more authors, Format all the ones that need to be formatted,
+% except the last one, which needs special treatment.
+% \begin{macrocode}
+ { %% for nameptr := 2 to format.num.names - 1 do
+ #2 'nameptr :=
+ { nameptr format.num.names < }
+% \end{macrocode}
+% Put comma between consecutive authors and format and add the next
+% author and the optional index entry, and increase the loop variable.
+% \begin{macrocode}
+ { comma.between.names write$
+ field nameptr format.author.name
+ add.name.index
+ nameptr #1 + 'nameptr :=
+ }
+ while$
+% \end{macrocode}
+% Format the last author. If all authors are formatted, add an
+% ampersand; otherwise, add dots (new in 6th ed.).
+% \begin{macrocode}
+ field numnames format.author.name 's :=
+ format.num.names numnames =
+ { comma.before.last write$
+% \end{macrocode}
+% Check if this author is an explicit ``|others|''. If so, insert
+% ``et al.'' string. Note that this does not correspond with the
+% 6th edition of the \emph{APA manual}, so give a warning here. Add
+% a period if required.
+% \begin{macrocode}
+ s "others" =
+ { "`others' not consistent with 6th ed. of the APA "
+ "Manual" *
+ warning$
+ dot
+ { et.al.string.period }
+ { et.al.string }
+ if$
+ write$
+ }
+ { and.before.last write$
+ dot
+ { s add.period$ }
+ { s }
+ if$
+ add.name.index
+ }
+ if$
+ }
+% \end{macrocode}
+% We skipped some authors. Indicate by dots.
+% \begin{macrocode}
+ { dots.before.last write$
+ s
+ add.name.index
+ }
+ if$
+ }
+ if$
+ }
+ if$
+% \end{macrocode}
+% End \envirname{APACrefauthors} environment.
+% \begin{macrocode}
+ "\end{APACrefauthors}%"
+ write$ newline$
+}
+
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.author.names}
+% Format authors (or editors acting as authors) for the reference list.
+% Call with
+% \begin{verbatim}
+% dot field format.author.names
+% \end{verbatim}
+% where \texttt{field} is the field (string) that contains the authors
+% (or editors acting as authors) that must be formatted and \texttt{dot}
+% is 1 or 0 indicating whether or not a period must end the formatting.
+% \begin{macrocode}
+FUNCTION {format.author.names}
+{ 'field :=
+ 'dot :=
+% \end{macrocode}
+% This is a temporary trick, which needs to be cleaned up. We
+% now check whether |dot| is 1, which indicates it's an author
+% field. If it's not, it's an editor field. In the former case,
+% if there are more than 7 authors, the first 6 plus dots plus
+% the last author must be given, whereas in the latter case,
+% only the first and ``et al.'' needs to be given. The latter
+% is the same behavior as in the 5th edition, so we use that
+% function, whereas we use an adapted function for authors in
+% the 6th edition.
+% \begin{macrocode}
+ dot
+ { dot field authors.reflist.apa6 }
+ { dot field authors.editors.reflist.apa5 }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macrocode}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Format authors in reference list, where it is given that
+% the author field is not empty.
+
+FUNCTION {format.authors}
+{ #1 author format.author.names }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Format editors in reference list in case editors act as
+% authors (such as reference to entire edited book)
+%
+% Letheridge, S., \& Cannon, C. R. (Eds.).
+% or
+% Letheridge, S. (Ed.). (if only 1 editor)
+%
+% editor must not be empty
+
+FUNCTION {format.editors.as.authors}
+{ #0 editor format.author.names
+ "\ " editor.postfix * add.period$ write$ newline$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% Format editors in reference list in case editors are also
+% translators and act as authors (such as reference to entire
+% edited book of translated articles)
+%
+% Letheridge, S., \& Cannon, C. R. (Eds. and Trans.).
+% or
+% Letheridge, S. (Ed. and Trans.). (if only 1 editor)
+%
+% editor must not be empty
+
+FUNCTION {format.ed.trans.as.authors}
+{ #0 editor format.author.names
+ "\ " editor.trans.postfix * add.period$ write$ newline$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Format a list of names with the initials before the
+% last names (i.e., names in the editor position),
+% commas between names (not between 2),
+% and ampersand (\&) before last name.
+% These names are not put in the author index.
+%
+% Call with
+% field format.editor.names
+
+FUNCTION {format.editor.names}
+{ 'field :=
+ %
+ field num.names$ 'numnames := % numnames is the total number of names
+ % contained in field
+ numnames 'format.num.names := % Format all authors
+ format.num.names name.max > % Unless this exceeds the maximum of 6.
+ { #1 'format.num.names := } % Then it becomes 1 (First et al.)
+ 'skip$
+ if$
+ %
+ % Format first editor
+ %
+ field #1 format.editor.name
+ %
+ numnames #1 =
+ 'skip$
+ { format.num.names #1 =
+ { et.al.string * } % First editor et al., no comma.
+ { numnames #2 =
+ { %
+ % Given that format.num.names > 1, it is 2.
+ % No comma. Format second editor.
+ %
+ field #2 format.editor.name 's :=
+ %
+ % Check if 2nd editor is explicit "others".
+ % If so, insert "et al." string.
+ %
+ s "others" =
+ { et.al.string * } % First et al.
+ { and.before.last * s * } % First \& Second
+ if$
+ }
+ { %
+ % 3 or more names, 2 or more must be cited
+ %
+ % for nameptr := 2 to format.num.names - 1 do
+ %
+ #2 'nameptr :=
+ { nameptr format.num.names < }
+ { %
+ % Put comma between consecutive editors
+ %
+ comma.between.names *
+ %
+ % Format and add next editor
+ %
+ field nameptr format.editor.name *
+ %
+ % Move to next editor
+ %
+ nameptr #1 + 'nameptr :=
+ }
+ while$
+ %
+ % nameptr = format.num.names
+ % Format this editor.
+ %
+ field nameptr format.editor.name 's :=
+ %
+ format.num.names numnames =
+ { %
+ % This is also the last editor. Add (optional) comma.
+ %
+ comma.before.last *
+ %
+ % Check if this editor is explicit "others".
+ % If so, insert "et al." string.
+ %
+ s "others" =
+ { et.al.string * }
+ { and.before.last * s * }
+ if$
+ }
+ { %
+ % This is not the last editor.
+ % Add comma, editor name, and "et al."
+ %
+ comma.between.names * s *
+ comma.before.last * et.al.string *
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % format editors in case editors do not act as authors
+ % (such as reference to chapter in edited book)
+ %
+ % L. W. Poon (Ed.) (1 editor)
+ % or
+ % A. S. Gurman \& D. P. Kniskern (Eds.) (2 editors)
+ % or
+ % L. Poon, A. Jones, \& D. P. Smith (Eds.) (>2 editors)
+ %
+ % editor must not be empty
+ %
+FUNCTION {format.editors.in.line}
+{ editor format.editor.names
+ editor.postfix connect.with.space.check
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % format editors in case editors are also translators
+ % and do not act as authors
+ % (such as reference to chapter in edited book
+ % of translated articles)
+ %
+ % L. W. Poon (Ed. and Trans.) (1 editor)
+ % or
+ % A. S. Gurman \& D. P. Kniskern (Eds. and Trans.) (2 editors)
+ % or
+ % L. Poon, A. Jones, \& D. P. Smith (Eds. and Trans.) (>2 editors)
+ %
+ % editor must not be empty
+ %
+FUNCTION {format.editors.trans.in.line}
+{ editor format.editor.names
+ editor.trans.postfix connect.with.space.check
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % format translators in case translators act as editors
+ % (such as reference to chapter in translated book)
+ %
+ % L. W. Poon (Trans.) (1 translator)
+ % or
+ % A. S. Gurman \& D. P. Kniskern (Trans.) (2 translators)
+ % or
+ % L. Poon, A. Jones, \& D. P. Smith (Trans.) (>2 translators)
+ %
+ % translator must not be empty
+ %
+FUNCTION {format.translators.in.line}
+{ translator format.editor.names
+ trans.postfix connect.with.space.check
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % format translators in case translator does not act as editor
+ % (such as reference to translated book)
+ %
+ % L. Solotaroff, Trans.
+ %
+FUNCTION {format.translators.in.paren.check}
+{ translator empty$
+ { "" }
+ { translator format.editor.names
+ translator num.names$ #1 >
+ { ", \BTRANSS{}" * }
+ { ", \BTRANS{}" * }
+ if$
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % format editors and translators in case neither act as editor
+ % (such as reference to edited or translated book with a
+ % a single author)
+ %
+ % L. Solotaroff, Ed.
+ % L. Solotaroff, Ed. \& Trans.
+ % L. Solotaroff, Trans.
+ % L. Solotaroff, Ed. \& S. Prokofieff, Trans.
+ %
+FUNCTION {format.editors.translators.in.paren.check}
+{ editor empty$
+ { translator empty$
+ { "" }
+ { translator format.editor.names
+ translator num.names$ #1 >
+ { ", \BTRANSS{}" * }
+ { ", \BTRANS{}" * }
+ if$
+ }
+ if$
+ }
+ { editor format.editor.names
+ editor num.names$ #1 >
+ { ", \BEDS{}" * }
+ { ", \BED{}" * }
+ if$
+ translator empty$
+ 'skip$
+ { editor translator =
+ { editor num.names$ #1 >
+ { " \BAnd{} \BTRANSS" * }
+ { " \BAnd{} \BTRANS" * }
+ if$
+ }
+ { " \BAnd{} " *
+ translator format.editor.names *
+ translator num.names$ #1 >
+ { ", \BTRANSS{}" * }
+ { ", \BTRANS{}" * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % translator of article
+ %
+FUNCTION {format.atrans.check}
+{ format.translators.in.paren.check parenthesize.check }
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % format "In editor (Ed.), "
+ %
+FUNCTION {format.in.editors}
+{ "\BIn{} "
+ editor empty$
+ 'skip$
+ { format.editors.in.line * ", " * }
+ if$
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % format "In translator (Trans.),"
+ %
+FUNCTION {format.in.trans}
+{ "\BIn{} "
+ translator empty$
+ 'skip$
+ { format.translators.in.line * ", " * }
+ if$
+}
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % format "In editor (Ed. and Trans.)"
+ % or "In editor (Ed.)" if editor not equal to translator
+ %
+FUNCTION {format.in.editors.trans}
+{ "\BIn{} "
+ editor empty$
+ { translator empty$
+ 'skip$
+ { format.translators.in.line * ", " * }
+ if$
+ }
+ { translator empty$
+ { format.editors.in.line * }
+ { editor translator =
+ { format.editors.trans.in.line * }
+ { format.editors.in.line * }
+ if$
+ }
+ if$
+ ", " *
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% DATE %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Formats year (+ extra label) between parentheses (which
+% may be redefined by \BBOP and \BBCP).
+% Extra label can be used for
+% Bentler, P. M. (1983a) <article 1>
+% Bentler, P. M. (1983b) <article 2>
+
+FUNCTION {format.year.check}
+{ "\APACrefYear{"
+ protect.year *
+ %
+ % Add "a", "b", etc. when necessary.
+ %
+ make.definitive.year.supplement *
+ "}" *
+}
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Formats year (+ extra label) + month + day between
+% parentheses (which may be redefined by \BBOP and \BBCP).
+% Extra label can be used for
+% Bentler, P. M. (1983a, June 7) <article 1>
+% Bentler, P. M. (1983b, April 4) <article 2>
+
+FUNCTION {format.year.month.day.check}
+{ "\APACrefYearMonthDay{"
+ protect.year *
+ %
+ % Add "a", "b", etc. when necessary.
+ %
+ make.definitive.year.supplement *
+ "}{" *
+ %
+ % Add month and day when present.
+ %
+ month empty$
+ 'skip$
+ { month * }
+ if$
+ "}{" *
+ day empty$
+ 'skip$
+ { day * }
+ if$
+ "}" *
+}
+
+% \end{macrocode}
+%
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \subsection{Title formatting}
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \begin{macro}{format.atitle.no.dot}
+% Title of article in journal or book, without finishing period.
+% The field must be on top of stack (so \fieldname{englishtitle} can
+% be handled as well).
+% \begin{macrocode}
+FUNCTION {format.atitle.no.dot}
+{ "{\BBOQ}" swap$
+ "{\BBCQ}" swap$
+ duplicate$ empty$
+ 'skip$
+ { duplicate$
+ % Two arguments: Title twice: (1) don't change case; (2) change case
+ "\APACrefatitle {" swap$ * "} {" * swap$
+ "t" change.case$
+ * "}" *
+ }
+ if$
+ enclose.check
+}
+
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.atitle.dot}
+% Title of article in journal or book, with finishing period.
+% The field must be on top of stack (so \fieldname{englishtitle} can
+% be handled as well).
+% \begin{macrocode}
+FUNCTION {format.atitle.dot}
+{ "{\BBOQ}" swap$
+ "{\BBCQ}" swap$
+ duplicate$ empty$
+ 'skip$
+ { duplicate$
+ % Two arguments: Title twice: (1) don't change case; (2) change case
+ "\APACrefatitle {" swap$ * "} {" * swap$
+ "t" change.case$
+ * "}" * add.period$
+ }
+ if$
+ enclose.check
+}
+
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.atitle.connect}
+% Title of article in journal or book. The field must be on top of stack.
+% The second element on stack must be connected: if that is empty, then
+% |format.atitle.dot|, else |format.atitle.no.dot|, connect, and add a
+% period.
+% \begin{macrocode}
+FUNCTION {format.atitle.connect}
+{ swap$
+ duplicate$ empty$
+ { pop$
+ format.atitle.dot
+ }
+ { swap$
+ format.atitle.no.dot
+ swap$ connect.with.space.check
+ add.period$
+ }
+ if$
+}
+
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.btitle.no.dot}
+% Title of a book or so, without period. Call with
+% \begin{verbatim}
+% field format.btitle.no.dot
+% \end{verbatim}
+% \begin{macrocode}
+FUNCTION {format.btitle.no.dot}
+{ duplicate$ empty$
+ { pop$
+ ""
+ }
+ { duplicate$
+ % Two arguments: Title twice: (1) don't change case; (2) change case
+ "\APACrefbtitle {" swap$ * "} {" * swap$
+ "t" change.case$
+ * "}" *
+ }
+ if$
+}
+
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.btitle.dot}
+% Title of book or so, with period. Call with
+% \begin{verbatim}
+% field format.btitle.dot
+% \end{verbatim}
+% \begin{macrocode}
+FUNCTION {format.btitle.dot}
+{ duplicate$ empty$
+ { pop$
+ ""
+ }
+ { add.period$ format.btitle.no.dot }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macrocode}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % title of book and similar
+ % field must be on top of stack
+ % second element on stack must be connected:
+ % if that is empty, then btitle.dot
+ % else btitle.no.dot, connect, and add period
+ %
+FUNCTION {format.btitle.connect}
+{ swap$
+ duplicate$ empty$
+ { pop$
+ format.btitle.dot
+ }
+ { swap$
+ format.btitle.no.dot
+ swap$ connect.with.space.check
+ add.period$
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % title of book and similar
+ % field must be on top of stack
+ % second element on stack must be connected
+ %
+FUNCTION {format.btitle.connect.no.dot}
+{ swap$
+ duplicate$ empty$
+ { pop$
+ format.btitle.no.dot
+ }
+ { swap$
+ format.btitle.no.dot
+ swap$ connect.with.space.check
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % format englishtitle (of nonenglish article, etc.)
+ %
+FUNCTION {format.aetitle.check}
+{ englishtitle empty$
+ { "" }
+ { % Two arguments: Title twice: (1) don't change case; (2) change case
+ "\APACrefaetitle {" englishtitle * "} {" *
+ englishtitle "t" change.case$ * "}" *
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % format englishtitle (of nonenglish book, etc.)
+ %
+FUNCTION {format.betitle.check}
+{ englishtitle empty$
+ { "" }
+ { % Two arguments: Title twice: (1) don't change case; (2) change case
+ "\APACrefbetitle {" englishtitle * "} {" *
+ englishtitle "t" change.case$ * "}" *
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % format type (of article, etc.)
+ %
+FUNCTION {format.atype.check}
+{ type bracket.check }
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % format title and englishtitle (of article, etc.)
+ %
+FUNCTION {format.atitle.check}
+{ format.aetitle.check
+ title format.atitle.connect
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % format title, englishtitle, and type
+ % (of article, etc.)
+ %
+FUNCTION {format.atitle.type.check}
+{ format.aetitle.check
+ format.atype.check connect.with.space.check
+ title format.atitle.connect
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % format title, englishtitle,
+ % and translator (of article, etc.)
+ %
+FUNCTION {format.atitle.trans.check}
+{ format.aetitle.check
+ format.atrans.check connect.with.space.check
+ title format.atitle.connect
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % format title, englishtitle, type,
+ % and translator (of article, etc.)
+ %
+FUNCTION {format.atitle.type.trans.check}
+{ format.aetitle.check
+ format.atype.check connect.with.space.check
+ format.atrans.check connect.with.space.check
+ title format.atitle.connect
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% JOURNAL FORMATTING %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % format journal, volume, number and pages
+ % call with
+ % formatted.pages format.journal.vol.num.pages.check
+ %
+FUNCTION { format.journal.vol.num.pages.check }
+{ "journal" journal warning.if.empty
+ duplicate$ empty$
+ journal empty$ and
+ volume empty$ and
+ number empty$ and
+ { pop$ "" }
+ { "\APACjournalVolNumPages{" journal "" connect.check
+ "}{" * volume "" connect.check
+ "}{" * number "" connect.check
+ "}{" * swap$ "" connect.check
+ "}" *
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% BOOK VOLUME, EDITION, AND OTHER SUPPLEMENTARY INFO %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % volume of book, checks whether
+ % "Volume" or "Volumes"
+ %
+ % call with
+ % field format.bvolume.check
+ %
+FUNCTION {format.bvolume.check}
+{ duplicate$ empty$
+ 'skip$
+ { duplicate$ multi.result.check
+ { "\BVOLS" swap$ tie.or.space.connect }
+ { "\BVOL" swap$ tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % edition of book, must not be empty
+ % call with
+ % field format.edition.check
+ %
+FUNCTION {format.edition.check}
+{ duplicate$ empty$
+ 'skip$
+ { "\PrintOrdinal{" swap$ * "}" *
+ "\BEd" connect.with.space.check
+ }
+ if$
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % volume and edition of book
+ %
+FUNCTION {format.bvol.edition.check}
+{ edition format.edition.check
+ volume format.bvolume.check
+ connect.with.comma.check
+}
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % volume and edition of book
+ %
+FUNCTION {format.bvol.edition}
+{ format.bvol.edition.check
+ parenthesize.check
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % volume and edition and translator of translated book
+ %
+FUNCTION {format.bvol.edition.trans}
+{ format.bvol.edition.check
+ format.translators.in.paren.check connect.with.semicolon.check
+ parenthesize.check
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % volume, edition, editor, and translator of (translated) book
+ %
+FUNCTION {format.bvol.edition.editor.trans}
+{ format.bvol.edition.check
+ format.editors.translators.in.paren.check connect.with.semicolon.check
+ parenthesize.check
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % formats pages by first checking if 1 or more pages
+ % and prefixing pages with "p." or "pp." (these strings
+ % are given in the commands \BPG and \BPGS, respectively),
+ % whichever is applicable, and do a tie or space connect
+ %
+ % call with
+ % field format.bpages.check
+ %
+FUNCTION {format.bpages.check}
+{ duplicate$ empty$
+ 'skip$
+ { duplicate$ multi.result.check
+ { "\BPGS" swap$ tie.or.space.connect }
+ { "\BPG~" swap$ * }
+ if$
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % formats chapters by first checking if 1 or more chapters
+ % and prefixing pages with "chap." (this string
+ % is given in the commands \BCHAP and \BCHAPS, respectively),
+ % whichever is applicable, and do a tie or space connect
+ %
+ % call with
+ % field format.bchapter.check
+ %
+FUNCTION {format.bchapter.check}
+{ duplicate$ empty$
+ 'skip$
+ { duplicate$ multi.result.check
+ { "\BCHAPS" swap$ tie.or.space.connect }
+ { "\BCHAP" swap$ tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % volume, edition, and pages or chapter of article in book etc.
+ %
+FUNCTION {format.bvol.edition.pages}
+{ format.bvol.edition.check
+ pages empty$
+ { chapter format.bchapter.check connect.with.comma.check }
+ { pages format.bpages.check connect.with.comma.check }
+ if$
+ parenthesize.check
+}
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % title, volume, edition of book
+ %
+FUNCTION {format.btitle.vol.edition}
+{ format.betitle.check
+ format.bvol.edition connect.with.space.check
+ title format.btitle.connect.no.dot
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % title, volume, edition, and translator of book
+ %
+FUNCTION {format.btitle.vol.edition.trans}
+{ format.betitle.check
+ format.bvol.edition.trans connect.with.space.check
+ title format.btitle.connect.no.dot
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % title, volume, edition, editor, and translator of book
+ %
+FUNCTION {format.btitle.vol.edition.editor.trans}
+{ format.betitle.check
+ format.bvol.edition.editor.trans connect.with.space.check
+ title format.btitle.connect.no.dot
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ADDRESS AND PUBLISHER %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % format address and publisher of book etc.
+ %
+ % New York: Wiley
+ % or
+ % Wiley (if address empty)
+ % or
+ % New York (if publisher empty)
+ %
+FUNCTION {format.address.publisher}
+{ %
+ % If publisher = author or publisher = "author" or publisher = "Author"
+ % then hand over the final choice how to format this to \LaTeX.
+ % (I could imagine similar code for editors, but the APA manual does
+ % not mention it and then we'd have to check whether the editor is in
+ % the author position, so let's keep it simple until someone complains.)
+ %
+ author empty$
+ publisher empty$ or
+ { publisher "\APACaddressPublisher{" }
+ { author publisher =
+ "author" publisher = or
+ "Author" publisher = or
+ { author "\APACaddressPublisherEqAuth{" }
+ { publisher "\APACaddressPublisher{" }
+ if$
+ }
+ if$
+ address "" connect.check "}{" *
+ % Recover publisher that was pushed onto the stack previously.
+ swap$ "" connect.check "}" *
+}
+
+% \end{macrocode}
+%
+% \begin{macro}{format.address.publisher.check}
+% Format \fieldname{address} and \fieldname{publisher} of a book etc.:
+% ``New York, NY: Wiley'' or ``Wiley'' (if \fieldname{address} is empty)
+% or ``New York, NY'' (if \fieldname{publisher} is empty), or do nothing
+% if both are empty.
+% \begin{macrocode}
+FUNCTION {format.address.publisher.check}
+{ publisher empty$
+ address empty$
+ and
+ 'skip$
+ {
+% \end{macrocode}
+% Clear the stack.
+% \begin{macrocode}
+ duplicate$ empty$
+ 'skip$
+ { output.new.block }
+ if$
+ format.address.publisher
+ }
+ if$
+}
+
+% \end{macrocode}
+% \end{macro}
+% \begin{macrocode}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% TYPE AND NUMBER OF A REPORT %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % format number as in reports: No. 2017
+ % call with
+ % field format.rnumber.check
+ %
+FUNCTION {format.rnumber.check}
+{ duplicate$ empty$
+ 'skip$
+ { duplicate$ multi.result.check
+ { "\BNUMS" swap$ tie.or.space.connect }
+ { "\BNUM" swap$ tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % format type and number of a standalone item
+ % call with
+ % format.type.number
+ %
+FUNCTION { format.type.number }
+{ type empty$
+ { type.2 }
+ { type }
+ if$
+ number empty$
+ { bracket.check }
+ { number format.rnumber.check connect.with.space.check
+ parenthesize.check
+ }
+ if$
+}
+
+% \end{macrocode}
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \paragraph{Howpublished formatting functions}
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% The third function is a cleaner version. The first one is used with
+% various entry types; the second one with \entryname{@misc}, the
+% third one in v6.03 only with theses.
+% \begin{macrocode}
+FUNCTION {format.howpublished}
+{ howpublished empty$
+ 'skip$
+ { % clear the stack
+ duplicate$ empty$
+ 'pop$
+ { output.dot.new.block }
+ if$
+ "\APAChowpublished {" howpublished * "}" *
+ }
+ if$
+}
+FUNCTION {output.howpublished}
+{ howpublished empty$
+ 'skip$
+ { "\APAChowpublished {" howpublished * "}" *
+ output.dot.new.block
+ }
+ if$
+}
+FUNCTION {howpublished.block}
+{ howpublished empty$
+ 'skip$
+ { start.new.block
+ "\APAChowpublished {" howpublished * "}" *
+ output.dot.end.block
+ }
+ if$
+}
+% \end{macrocode}
+%
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \subsection{URL and DOI formatting functions}
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \begin{macro}{begin.end.url.env}
+% Begin and end of a URL environment.
+% \begin{macrocode}
+FUNCTION {begin.end.url.env}
+{ "\begin{APACrefURL} "
+% \end{macrocode}
+% For ``Retrieved $\langle$\textit{date}$\rangle$, from''
+% \begin{macrocode}
+ lastchecked empty$
+ { urldate empty$
+ 'skip$
+ { "[{" * urldate * "}]" * }
+ if$
+ }
+ { "[{" * lastchecked * "}]" * }
+ if$
+ " \end{APACrefURL} "
+}
+
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{begin.end.doi.env}
+% Begin and end of a DOI environment.
+% \begin{macrocode}
+FUNCTION {begin.end.doi.env}
+{ "\begin{APACrefDOI} "
+ " \end{APACrefDOI} "
+}
+
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{begin.end.msg.env}
+% Begin and end of a message environment.
+% \begin{macrocode}
+FUNCTION {begin.end.msg.env}
+{ "\begin{APACrefURLmsg} "
+ " \end{APACrefURLmsg} "
+}
+% \end{macrocode}
+% \end{macro}
+% Format \fieldname{url} given that it is not empty.
+% \begin{macrocode}
+FUNCTION {format.url}
+% \end{macrocode}
+% First format begin and end of the enclosing environment.
+% With posted messages, a different environment is used.
+% \begin{macrocode}
+{ type.2 empty$
+ { begin.end.url.env }
+ { type.2 "\bibmessage" =
+ { begin.end.msg.env }
+ { begin.end.url.env }
+ if$
+ }
+ if$
+ "\url{" url * "}" *
+% \end{macrocode}
+% Enclose url string in begin and end environment.
+% \begin{macrocode}
+ enclose.check
+}
+% \end{macrocode}
+% Process a whole url block. Skip if a \fieldname{doi} is also present
+% because then \fieldname{doi} has precedence.
+% \begin{macrocode}
+FUNCTION {url.block}
+{ doi empty$
+ { url empty$
+ 'skip$
+ { start.new.block
+ format.url
+ output.end.block
+ }
+ if$
+ }
+ 'skip$
+ if$
+}
+% \end{macrocode}
+% Format \fieldname{doi} given that it is not empty.
+% \begin{macrocode}
+FUNCTION {format.doi}
+% \end{macrocode}
+% Format begin and end of the enclosing environment.
+% \begin{macrocode}
+{ begin.end.doi.env
+ "\doi{" doi * "}" *
+% \end{macrocode}
+% Enclose doi string in begin and end environment.
+% \begin{macrocode}
+ enclose.check
+}
+% \end{macrocode}
+% Process a whole doi block.
+% \begin{macrocode}
+FUNCTION {doi.block}
+{ doi empty$
+ 'skip$
+ { start.new.block
+ format.doi
+ output.end.block
+ }
+ if$
+}
+% \end{macrocode}
+%
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \subsection{Note formatting functions}
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Format optional note.
+% \begin{macrocode}
+FUNCTION {format.note}
+{ "\APACrefnote{" "}" note enclose.check }
+% \end{macrocode}
+% Process a whole note block (only \fieldname{note}).
+% \begin{macrocode}
+FUNCTION {note.block}
+{ note empty$
+ 'skip$
+ { start.new.block
+ format.note
+ output.end.block
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % format original year of publication and note
+ % (reprint or translation)
+ %
+FUNCTION {format.orig.year.note}
+{ originalyear empty$
+ { format.note }
+ { "\APACorigyearnote{"
+ originalyear "" connect.check "}{" *
+ note "" connect.check "}" *
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % format original journal of publication and note
+ % (reprint or translation)
+ %
+FUNCTION {format.orig.journal.note}
+{ "\APACorigjournalnote{"
+ originalyear "" connect.check "}{" *
+ originaljournal "" connect.check "}{" *
+ originalvolume "" connect.check "}{" *
+ originalnumber "" connect.check "}{" *
+ originalpages "" connect.check "}{" *
+ note "" connect.check "}" *
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % format original book of publication and note
+ % (reprint or translation)
+ %
+FUNCTION {format.orig.book.note}
+{ "\APACorigbooknote{" originalyear "" connect.check "}{" *
+ %
+ originaleditor empty$
+ 'skip$
+ { originaleditor num.names$ #1 >
+ { "\APACorigEDS {" * originaleditor format.editor.names * "}" * }
+ { "\APACorigED {" * originaleditor format.editor.names * "}" * }
+ if$
+ }
+ if$
+ %
+ "}{" *
+ originalbooktitle format.btitle.no.dot "" connect.check "} {" *
+ originaledition format.edition.check "" connect.check "} {" *
+ originalvolume format.bvolume.check "" connect.check "} {" *
+ originalpages format.bpages.check "" connect.check "} {" *
+ originaladdress "" connect.check "} {" *
+ originalpublisher "" connect.check "} {" *
+ note "" connect.check "}" *
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % format information about original publication of reprint
+ % and format optional note
+ %
+FUNCTION {format.orig.note}
+{ originaljournal empty$
+ { originalbooktitle empty$
+ { note empty$
+ { originalyear empty$
+ 'skip$
+ { originalyear "\bibnodate" =
+ originalyear "l" change.case$ "no date" = or
+ originalyear "l" change.case$ "n.d." = or
+ 'skip$
+ { output.new.block
+ format.orig.year.note
+ }
+ if$
+ }
+ if$
+ }
+ { output.new.block
+ format.orig.year.note
+ }
+ if$
+ }
+ { output.new.block
+ format.orig.book.note
+ }
+ if$
+ }
+ { output.new.block
+ format.orig.journal.note
+ }
+ if$
+}
+% \end{macrocode}
+% Finish current entry by writing what's left on the stack and starting
+% a new line.
+% \begin{macrocode}
+FUNCTION {fin.entry}
+{ doi empty$
+ 'skip$
+ { output.new.block
+ format.doi
+ }
+ if$
+ output.end.block
+ "\PrintBackRefs{\CurrentBib}" write$ newline$
+ test
+ { "\vspace{\baselineskip}" write$ newline$ }
+ 'skip$
+ if$
+%<*annotated>
+ %
+ % According to TLC2, pp. 810-811, both annote and annotate fields are
+ % known, so support them both, but do not print them both, in case
+ % someone wants to make a file that is compatible with both the annotate
+ % and annotation styles and thus duplicates the information. Instead, we
+ % give annote priority.
+ %
+ annote empty$
+ {% Try annotate
+ annotate empty$
+ 'skip$
+ { % add annotation
+ "\begin{APACrefannotation}" write$ newline$
+ annotate write$ newline$
+ "\end{APACrefannotation}" write$ newline$
+ }
+ if$
+ }
+ { % add annotation
+ "\begin{APACrefannotation}" write$ newline$
+ annote write$ newline$
+ "\end{APACrefannotation}" write$ newline$
+ }
+ if$
+%</annotated>
+}
+% \end{macrocode}
+% Finish current entry: process \fieldname{doi}, back references, and
+% annotation if requested.
+% \begin{macrocode}
+FUNCTION {fin.entry.2}
+{ doi.block
+ "\PrintBackRefs{\CurrentBib}" write$ newline$
+ test
+ { "\vspace{\baselineskip}" write$ newline$ }
+ 'skip$
+ if$
+%<*annotated>
+% \end{macrocode}
+% According to TLC2, pp. 810--811, both \fieldname{annote} and
+% \fieldname{annotate} fields are known, so support them both, but do
+% not print them both, in case someone wants to make a \fname{.bib}
+% file that is compatible with both the \pkg{annotate} and
+% and \pkg{annotation} styles and thus duplicates the information.
+% Instead, we give \fieldname{annote} priority.
+% \begin{macrocode}
+ annote empty$
+ {% Try annotate
+ annotate empty$
+ 'skip$
+ { % add annotation
+ "\begin{APACrefannotation}" write$ newline$
+ annotate write$ newline$
+ "\end{APACrefannotation}" write$ newline$
+ }
+ if$
+ }
+ { % add annotation
+ "\begin{APACrefannotation}" write$ newline$
+ annote write$ newline$
+ "\end{APACrefannotation}" write$ newline$
+ }
+ if$
+%</annotated>
+}
+% \end{macrocode}
+%
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \subsection{Top-level and near-top level functions for formatting complete
+% entries}
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Article in periodical: \entryname{journal}, \entryname{magazine},
+% \entryname{newspaper}. Call with
+% \begin{verbatim}
+% formatted.pages formatted.date periodical
+% \end{verbatim}
+% \begin{macrocode}
+FUNCTION {periodical}
+{
+% \end{macrocode}
+% \fieldname{author} or \fieldname{editor}, \fieldname{year},
+% \fieldname{title}, \fieldname{englishtitle}, \fieldname{type}.
+% \begin{macrocode}
+ author empty$
+ %
+ % no author: possibly special issue with editors as authors
+ % (APA manual, ex. 11, p. 121)
+ %
+ { editor empty$
+ %
+ % no author or editor: title serves as author.
+ % title formatted as article title (APA manual not consistent in this,
+ % compare statement on p. 119: ``treat as book title'' and
+ % example 8, p. 121: no underlining => article title)
+ %
+ { format.atitle.type.trans.check output.new.block
+ %
+ % now formatted date on top of stack
+ %
+ output.dot.new.block
+ }
+ %
+ % format editor and year, and check if year is present
+ % format article title and check if title or type present
+ %
+ { format.editors.as.authors start.new.block
+ %
+ % now formatted date on top of stack
+ %
+ output.dot.new.block
+ format.atitle.type.trans.check output.new.block
+ }
+ if$
+ }
+ %
+ % format author and year, and check if year is present
+ % format article title and check if title or type present
+ %
+ { format.authors start.new.block
+ %
+ % now formatted date on top of stack
+ %
+ output.dot.new.block
+ format.atitle.type.trans.check output.new.block
+ }
+ if$
+ %
+ % format journal name, volume and issue number, and pages
+ % and check if journal not empty
+ %
+ format.journal.vol.num.pages.check
+ %
+ % if not empty, insert howpublished.
+ % (used if article is retrieved from the internet)
+ %
+ format.howpublished add.period$
+ %
+ % format url
+ %
+ url empty$
+ 'skip$
+ { % Clear the stack
+ duplicate$ empty$
+ 'skip$
+ { output.new.block }
+ if$
+ format.url
+ }
+ if$
+ %
+ % possible reprint and optional note
+ %
+ format.orig.note
+ fin.entry
+}
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % journal article
+ %
+FUNCTION {article}
+{ pages format.year.month.day.check periodical }
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % magazine article
+ %
+FUNCTION {magazine}
+{ pages format.year.month.day.check periodical }
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % newspaper article
+ %
+FUNCTION {newspaper}
+{ pages format.bpages.check format.year.month.day.check periodical }
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % (translation of) entire book
+ %
+FUNCTION {book}
+{ %
+ % author or editor,
+ % year, title, englishtitle, translator
+ %
+ author empty$
+ %
+ % no author: possibly edited book with editors as authors
+ %
+ { editor empty$
+ %
+ % no author or editor: title serves as author.
+ % title formatted as book title
+ %
+ { format.btitle.vol.edition.trans
+ format.type.number connect.with.space.check
+ output.dot.new.block
+ format.year.check add.period$
+ }
+ %
+ % format editor and year, and check if year is present
+ % format booktitle, volume, and edition and check if title present
+ %
+ { translator empty$
+ { format.editors.as.authors start.new.block
+ format.year.check output.dot.new.block
+ format.btitle.vol.edition
+ }
+ %
+ % format translator correctly
+ %
+ { translator editor =
+ not
+ { format.editors.as.authors start.new.block
+ format.year.check output.dot.new.block
+ format.btitle.vol.edition.trans
+ }
+ { format.ed.trans.as.authors start.new.block
+ format.year.check output.dot.new.block
+ format.btitle.vol.edition
+ }
+ if$
+ }
+ if$
+ format.type.number connect.with.space.check
+ add.period$
+ }
+ if$
+ }
+ %
+ % format author and year, and check if year is present
+ % format booktitle, volume, and edition and check if title present
+ %
+ { format.authors start.new.block
+ format.year.check output.dot.new.block
+ format.btitle.vol.edition.editor.trans
+ format.type.number connect.with.space.check
+ add.period$
+ }
+ if$
+ %
+ % format address and publisher
+ %
+ format.address.publisher.check
+ %
+ % if not empty, insert howpublished.
+ % (used if book is retrieved from the internet)
+ %
+ format.howpublished add.period$
+ %
+ % format url
+ %
+ url empty$
+ 'skip$
+ { % Clear the stack
+ duplicate$ empty$
+ 'skip$
+ { output.new.block }
+ if$
+ format.url
+ }
+ if$
+ %
+ % format original publication (of reprint/translation)
+ % and optional note
+ %
+ format.orig.note
+ fin.entry
+}
+%
+% \end{macrocode}
+% Article or chapter in edited book.
+% \begin{macrocode}
+FUNCTION {incollection}
+{ author empty$
+% \end{macrocode}
+% No \fieldname{author}: \fieldname{title} serves as author. The title is
+% formatted as an article title.
+% \begin{macrocode}
+ { editor.ne.trans
+ { format.atitle.type.trans.check }
+ { format.atitle.type.check }
+ if$
+ output.new.block
+% \end{macrocode}
+% Format \fieldname{month} and \fieldname{day} as well when available,
+% esp.\ for ``collections'' that are not books, such as parts of internet
+% documents.
+% \begin{macrocode}
+ format.year.month.day.check add.period$
+ }
+% \end{macrocode}
+% Format \fieldname{author} and \fieldname{year}, and check whether
+% \fieldname{year} is present. Format article title and check whether
+% \fieldname{title} or \fieldname{type} are present.
+% \begin{macrocode}
+ { format.authors start.new.block
+ format.year.month.day.check output.dot.new.block
+ editor.ne.trans
+ { format.atitle.type.trans.check }
+ { format.atitle.type.check }
+ if$
+ }
+ if$
+% \end{macrocode}
+% Format ``In '' \fieldname{editor} `` (Ed.\ \& Trans.), ''
+% \fieldname{booktitle}, \fieldname{volume}, \fieldname{edition},
+% \fieldname{pages}. Leave empty if all these fields are missing.
+% \begin{macrocode}
+ editor empty$
+ translator empty$ and
+ edition empty$ and
+ volume empty$ and
+ pages empty$ and
+ chapter empty$ and
+ booktitle empty$ and
+ 'skip$
+ {
+ output.new.block
+ format.in.editors.trans
+ format.bvol.edition.pages
+ booktitle format.btitle.connect * add.period$
+ }
+ if$
+% \end{macrocode}
+% Format \fieldname{address} and \fieldname{publisher}.
+% \begin{macrocode}
+ format.address.publisher.check
+% \end{macrocode}
+% If not empty, insert \fieldname{howpublished}.
+% \begin{macrocode}
+ format.howpublished add.period$
+% \end{macrocode}
+% Format \fieldname{url}.
+% \begin{macrocode}
+ url empty$
+ 'skip$
+ {
+% \end{macrocode}
+% Clear the stack.
+% \begin{macrocode}
+ duplicate$ empty$
+ 'skip$
+ { output.new.block }
+ if$
+ format.url
+ }
+ if$
+% \end{macrocode}
+% Format original publication (of reprint/translation) and optional note.
+% \begin{macrocode}
+ format.orig.note
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% REPORTS %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % technical report number
+ %
+FUNCTION {format.tr.number}
+{ type empty$
+ { "\BTR{}" }
+ { type "\bibnotype" =
+ { "" }
+ { type }
+ if$
+ }
+ if$
+ number format.rnumber.check connect.with.space.check
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % title, volume, edition, report number
+ %
+FUNCTION {format.tr.title.number}
+{ format.betitle.check
+ % Single out the situation in which there is no number
+ % and type = {\bibnotype}, i.e., no type as well.
+ % (Why not use book then?)
+ type empty$
+ { % Now, we're in the regular situation with at least a
+ % number, a type, a volume, or an edition.
+ "\APACbVolEdTR{" format.bvol.edition.check * "}{" *
+ format.tr.number * "}" *
+ }
+ { type "\bibnotype" =
+ number empty$
+ volume empty$
+ edition empty$
+ and
+ and
+ and
+ { "" }
+ { % Now, we're in the regular situation with at least a
+ % number, a type, a volume, or an edition.
+ "\APACbVolEdTR {" format.bvol.edition.check * "}{" *
+ format.tr.number * "}" *
+ }
+ if$
+ }
+ if$
+ connect.with.space.check
+ title format.btitle.connect
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % format address and institution of reports etc.
+ %
+ % Washington, DC: National Institute of Education
+ % or
+ % National Institute of Education (if address empty)
+ %
+ % warning if no institution
+ %
+FUNCTION {format.address.institution.check}
+{ url empty$
+ doi empty$ and
+ { "institution" institution warning.if.empty
+ "address" address warning.if.empty
+ }
+ 'skip$
+ if$
+ institution empty$
+ address empty$
+ and
+ 'skip$
+ { % Clear the stack
+ duplicate$ empty$
+ 'skip$
+ { output.new.block }
+ if$
+ %
+ % If institution = author or institution = "author"
+ % or institution = "Author" then hand over the final choice how to
+ % format this to \LaTeX. See also format.address.publisher
+ %
+ author empty$
+ institution empty$ or
+ { institution "\APACaddressInstitution{" }
+ { author institution =
+ "author" institution = or
+ "Author" institution = or
+ { author "\APACaddressInstitutionEqAuth{" }
+ { institution "\APACaddressInstitution{" }
+ if$
+ }
+ if$
+ address "" connect.check "}{" *
+ % Recover institution that was pushed onto the stack previously.
+ swap$ "" connect.check "}" *
+ }
+ if$
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % reports
+ %
+FUNCTION {techreport}
+{ author empty$
+ %
+ % no author: possibly edited report with editors as authors
+ %
+ { editor empty$
+ %
+ % no author or editor: title serves as author.
+ % title formatted as book title
+ %
+ { format.tr.title.number output.dot.new.block
+ format.year.month.day.check add.period$
+ }
+ %
+ % format editor and year, and check if year is present
+ % format report title and check if title present
+ % format volume, edition, type, and number
+ %
+ { format.editors.as.authors start.new.block
+ format.year.month.day.check output.dot.new.block
+ format.tr.title.number add.period$
+ }
+ if$
+ }
+ %
+ % format author and year, and check if year is present
+ % format report title and check if title present
+ % format volume, edition, type, and number
+ %
+ { format.authors start.new.block
+ format.year.month.day.check output.dot.new.block
+ format.tr.title.number add.period$
+ }
+ if$
+ %
+ % format address and institution, check if institution present
+ %
+ format.address.institution.check
+ %
+ % if not empty, insert howpublished.
+ % (used if report is retrieved from the internet)
+ %
+ format.howpublished add.period$
+ %
+ % format url
+ %
+ url empty$
+ 'skip$
+ { % Clear the stack
+ duplicate$ empty$
+ 'skip$
+ { output.new.block }
+ if$
+ format.url
+ }
+ if$
+ %
+ % format optional note
+ %
+ note empty$
+ 'skip$
+ { % Clear the stack
+ duplicate$ empty$
+ 'skip$
+ { output.new.block }
+ if$
+ format.note
+ }
+ if$
+ fin.entry
+}
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % (translated) article or chapter in report
+ %
+FUNCTION {intechreport}
+{ author empty$
+ %
+ % no author: title serves as author.
+ % title formatted as article title (APA manual not consistent in this,
+ % compare statement on p. 119: ``treat as book title'' and
+ % example 8, p. 121: no underlining => article title)
+ %
+ { editor.ne.trans
+ { format.atitle.trans.check }
+ { format.atitle.check }
+ if$
+ output.new.block
+ format.year.month.day.check output.dot.new.block
+ }
+ %
+ % format author and year, and check if year is present
+ % format article title and check if title or type present
+ %
+ { format.authors start.new.block
+ format.year.month.day.check output.dot.new.block
+ editor.ne.trans
+ { format.atitle.trans.check }
+ { format.atitle.check }
+ if$
+ output.new.block
+ }
+ if$
+ %
+ % format "In " editor " (Ed. \& Trans.), "
+ % booktitle, volume, edition, pages
+ %
+ format.in.editors.trans
+ %
+ % volume, edition, report type and number, pages
+ %
+ "\APACbVolEdTRpgs {" format.bvol.edition.check * "} {" *
+ format.tr.number *
+ "} {" * pages format.bpages.check *
+ "}" *
+ %
+ booktitle format.btitle.connect *
+ add.period$
+ %
+ % format address and publisher
+ %
+ format.address.institution.check
+ %
+ % if not empty, insert howpublished.
+ % (used if report is retrieved from the internet)
+ %
+ format.howpublished add.period$
+ %
+ % format url
+ %
+ url empty$
+ 'skip$
+ { % Clear the stack
+ duplicate$ empty$
+ 'skip$
+ { output.new.block }
+ if$
+ format.url
+ }
+ if$
+ %
+ % format original publication (of reprint/translation)
+ % and optional note
+ %
+ format.orig.note
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % papers presented at conferences etc.
+ %
+FUNCTION {lecture}
+{ author empty$
+ { "author" author warning.if.empty }
+ { format.authors start.new.block }
+ if$
+ %
+ % format year, month, and day, and check if year present
+ % format title and check if title present
+ % format howpublished and check if howpublished present
+ %
+ format.year.month.day.check output.dot.new.block
+ symposium empty$
+ { format.betitle.check
+ title format.btitle.connect output.new.block
+ howpublished empty$
+ { "symposium and howpublished missing in " cite$ * warning$
+ ""
+ }
+ { "\APAChowpublished {" howpublished * "}" * }
+ if$
+ address connect.with.comma.check
+ }
+ { format.atitle.type.check output.new.block
+ "\BIn{} "
+ chair empty$
+ 'skip$
+ { chair format.editor.names
+ chair num.names$ #1 >
+ { "(\BCHAIRS)" }
+ { "(\BCHAIR)" }
+ if$
+ connect.with.space.check * ", " *
+ }
+ if$
+ symposium format.btitle.no.dot *
+ format.howpublished
+ address connect.with.comma.check
+ }
+ if$
+ add.period$
+ %
+ % format url
+ %
+ url empty$
+ 'skip$
+ { % Clear the stack
+ duplicate$ empty$
+ 'skip$
+ { output.new.block }
+ if$
+ format.url
+ }
+ if$
+ %
+ % format optional note
+ %
+ note empty$
+ 'skip$
+ { % Clear the stack
+ duplicate$ empty$
+ 'skip$
+ { output.new.block }
+ if$
+ format.note
+ }
+ if$
+ fin.entry
+}
+
+% \end{macrocode}
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \paragraph{Theses}
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Format thesis title, with \fieldname{type} and \fieldname{school},
+% if necessary. Call with
+% \begin{verbatim}
+% "default.published.thesis" "default.unpublished.thesis" format.ttitle.type.school
+% \end{verbatim}
+% The type now needs to be done here, and the school as well if the
+% dissertation was retrieved from the internet, which we'll take to
+% be the same as \fieldname{url} non-empty. Note that \pkg{apacite}
+% cannot distinguish between institutional databases (ex.~41 in the
+% 6th ed.\ of the APA manual) and ordinary websites (ex.~42), so the
+% user should provide the \fieldname{school} if it's necessary but
+% not otherwise. If both \fieldname{url} and \fieldname{howpublished}
+% are empty, the type is taken to be the unpublished thesis type
+% (unless overridden by the \fieldname{type} field); otherwise, the
+% published type is used (unless overridden).
+% \begin{macrocode}
+FUNCTION {format.ttitle.type.school}
+{ doi empty$ not
+ url empty$ not or
+ howpublished empty$ not or
+ { pop$ }
+ { swap$ pop$ }
+ if$
+% \end{macrocode}
+% Single out the situation in which |type = {\bibnotype}|, i.e.,
+% no type.
+% \begin{macrocode}
+ type empty$
+ 'skip$
+ { type "\bibnotype" =
+ { pop$
+ ""
+ }
+ { pop$
+ type
+ }
+ if$
+ }
+ if$
+% \end{macrocode}
+% The desired type is on top of the stack. Build \LaTeX{} command.
+% \begin{macrocode}
+ duplicate$ empty$
+ doi empty$
+ url empty$ and
+ howpublished empty$ and
+ address empty$
+ school empty$ and or and
+ { 'pop$
+ title empty$ not
+ englishtitle empty$ not or
+ { start.new.block }
+ 'skip$
+ if$
+ ""
+ }
+ { start.new.block
+ "\APACtypeAddressSchool {" swap$ * "}{" *
+% \end{macrocode}
+% If unpublished, school and location are listed in the next block.
+% \begin{macrocode}
+ doi empty$
+ url empty$ and
+ howpublished empty$ and
+ { "}{}" * }
+ { address "" connect.check "}{" *
+ school "" connect.check "}" *
+ }
+ if$
+ }
+ if$
+% \end{macrocode}
+% Format english translation of title, if present, title itself, and
+% connect everything.
+% \begin{macrocode}
+ format.betitle.check swap$
+ connect.with.space.check
+ "title" title warning.if.empty
+ title format.btitle.connect
+}
+% \end{macrocode}
+% Block that indicates school and location for unpublished theses.
+% \begin{macrocode}
+FUNCTION {unpub.address.school.block}
+% \end{macrocode}
+% Determine whether this is an unpublished thesis (no \fieldname{url},
+% \fieldname{doi}, or \fieldname{howpublished}.
+% \begin{macrocode}
+{ doi empty$
+ url empty$ and
+ howpublished empty$ and
+% \end{macrocode}
+% If so, there should be a \fieldname{school}, so issue a warning if
+% it's empty.
+% \begin{macrocode}
+ { "school" school warning.if.empty
+ school empty$
+ address empty$ and
+ 'skip$
+ { start.new.block
+ "\APACaddressSchool {" address "" connect.check "}{" *
+ school "" connect.check "}" *
+ output.dot.end.block
+ }
+ if$
+ }
+% \end{macrocode}
+% Do nothing if it's not an unpublished thesis.
+% \begin{macrocode}
+ 'skip$
+ if$
+}
+% \end{macrocode}
+% Format theses. Call with
+% \begin{verbatim}
+% "default.published.thesis" "default.unpublished.thesis" thesis
+% \end{verbatim}
+% \begin{macrocode}
+FUNCTION {thesis}
+% \end{macrocode}
+% DAI and similar are now formatted purely as articles, so remove
+% the two default types on top of the stack and redirect to the
+% |article| function.
+% \begin{macrocode}
+{ journal empty$ not
+ { pop$ pop$
+ article
+ }
+ { author empty$
+ { "author" author warning.if.empty }
+ { format.authors start.new.block }
+ if$
+% \end{macrocode}
+% Check if \fieldname{year} is present and format year. Ditto for
+% \fieldname{title} with \fieldname{type} (and \fieldname{school}
+% if the dissertation was obtained from a website).
+% \begin{macrocode}
+ format.year.check output.dot.end.block
+ format.ttitle.type.school output.dot.end.block
+% \end{macrocode}
+% Put name of institution (\fieldname{school}) and its address here if
+% it's an unpublished thesis.
+% \begin{macrocode}
+ unpub.address.school.block
+% \end{macrocode}
+% If not empty, insert \fieldname{howpublished}. This is used if the
+% thesis was retrieved from a database.
+% \begin{macrocode}
+ howpublished.block
+% \end{macrocode}
+% Format \fieldname{url}, in case the thesis was downloaded from a
+% webpage, optional \fieldname{note}, and finalize with the standard
+% parts (\fieldname{doi}, back references).
+% \begin{macrocode}
+ url.block
+ note.block
+ fin.entry.2
+ }
+ if$
+}
+% \end{macrocode}
+% PhD theses and master's these, respectively. These set the default
+% published and unpublished thesis types and then call |thesis|.
+% \begin{macrocode}
+FUNCTION {phdthesis}
+{ "\BPhD" "\BUPhD" thesis }
+FUNCTION {mastersthesis}
+{ "\BMTh" "\BUMTh" thesis }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% OTHER %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % title of something (used in unpublished and misc)
+ % english translation of title
+ % type and number of something
+ %
+FUNCTION {format.btitle.type.num}
+{ format.betitle.check
+ format.bvol.edition connect.with.space.check
+ format.type.number
+ connect.with.space.check
+ title empty$
+ { add.period$ }
+ { title format.btitle.connect }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % title of message or software-related thing (used in misc)
+ % english translation of title
+ % type and number of something
+ %
+FUNCTION {format.mtitle.type.num}
+{ format.aetitle.check
+ format.bvol.edition connect.with.space.check
+ type.2 "\bibmessage" =
+ { number empty$
+ 'skip$
+ { type.2 number tie.or.space.connect
+ bracket.check
+ connect.with.space.check
+ }
+ if$
+ }
+ { format.type.number
+ connect.with.space.check
+ }
+ if$
+ title empty$
+ { add.period$ }
+ { title format.atitle.connect }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % title, english translation of title,
+ % type and number of something (used in misc)
+ %
+FUNCTION {output.misctitle.type.num}
+{ type.2 empty$
+ { format.btitle.type.num }
+ { type.2 "\bibmessage" =
+ type.2 "\bibcomputerprogram" = or
+ type.2 "\bibcomputerprogrammanual" = or
+ type.2 "\bibcomputerprogramandmanual" = or
+ type.2 "\bibcomputersoftware" = or
+ type.2 "\bibcomputersoftwaremanual" = or
+ type.2 "\bibcomputersoftwareandmanual" = or
+ type.2 "\bibprogramminglanguage" = or
+ { format.mtitle.type.num }
+ { format.btitle.type.num }
+ if$
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % unpublished manuscripts, etc.
+ %
+FUNCTION {unpublished}
+{ check.relevant.fields
+ author empty$
+ %
+ % no author: possibly edited book with editors as authors
+ %
+ { editor empty$
+ %
+ % no author or editor: title serves as author.
+ % title formatted as book title
+ %
+ { format.btitle.type.num output.new.block
+ format.year.month.day.check add.period$
+ }
+ %
+ % format editor and year, and check if year is present
+ % format book title, volume, and edition and check if title present
+ %
+ { format.editors.as.authors start.new.block
+ format.year.month.day.check output.dot.new.block
+ format.btitle.type.num
+ }
+ if$
+ }
+ %
+ % format author and year, and check if year is present
+ % format book title, volume, and edition
+ % and check if title or type present
+ %
+ { format.authors start.new.block
+ format.year.month.day.check output.dot.new.block
+ format.btitle.type.num
+ }
+ if$
+ howpublished empty$
+ organization empty$ and
+ address empty$ and
+ 'skip$
+ { output.new.block
+ "\APAChowpublished{" "}" howpublished enclose.check
+ organization connect.with.comma.check
+ address connect.with.comma.check
+ add.period$
+ }
+ if$
+ %
+ % format url
+ %
+ url empty$
+ 'skip$
+ { % Clear the stack
+ duplicate$ empty$
+ 'skip$
+ { output.new.block }
+ if$
+ format.url
+ }
+ if$
+ %
+ % format optional note
+ %
+ note empty$
+ 'skip$
+ { % Clear the stack
+ duplicate$ empty$
+ 'skip$
+ { output.new.block }
+ if$
+ format.note
+ }
+ if$
+ fin.entry
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % nonprint media and other things that don't fit
+ %
+FUNCTION {misc}
+{ %
+ % To handle @manual: use type.2 instead of type.
+ type.2 empty$
+ type empty$ not and
+ { type 'type.2 := }
+ 'skip$
+ if$
+ %
+ author empty$
+ %
+ % no author: possibly edited item with editors as authors
+ %
+ { editor empty$
+ %
+ % no author or editor: title/type serves as author.
+ % title formatted as book title
+ %
+ % if no title and no type, howpublished is title
+ %
+ { title empty$
+ type.2 empty$ and
+ { howpublished empty$
+ { "No author, editor, title, type, and howpublished in "
+ cite$ * warning$
+ ""
+ }
+ { "\APAChowpublished{" howpublished * "}" * add.period$ }
+ if$
+ format.year.month.day.check add.period$
+ }
+ { output.misctitle.type.num output.new.block
+ format.year.month.day.check add.period$
+ format.howpublished add.period$
+ }
+ if$
+ }
+ %
+ % format editor and year, and check if year is present
+ % format book title, volume, and edition and check if title present
+ %
+ { format.editors.as.authors start.new.block
+ format.year.month.day.check output.dot.new.block
+ output.misctitle.type.num
+ format.howpublished add.period$
+ }
+ if$
+ }
+ %
+ % format author and year, and check if year is present
+ % format book title, volume, and edition
+ % and check if title or type present
+ %
+ { format.authors start.new.block
+ format.year.month.day.check output.dot.new.block
+ output.misctitle.type.num
+ format.howpublished add.period$
+ }
+ if$
+ %
+ address empty$
+ publisher empty$ and
+ 'skip$
+ { % Clear the stack
+ duplicate$ empty$
+ 'skip$
+ { output.new.block }
+ if$
+ format.address.publisher add.period$
+ }
+ if$
+ %
+ % format url
+ %
+ url empty$
+ 'skip$
+ { % Clear the stack
+ duplicate$ empty$
+ 'skip$
+ { output.new.block }
+ if$
+ format.url
+ }
+ if$
+ %
+ % format optional note
+ %
+ note empty$
+ 'skip$
+ { % Clear the stack
+ duplicate$ empty$
+ 'skip$
+ { output.new.block }
+ if$
+ format.note
+ }
+ if$
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % for legal cases and other cases that need to be
+ % done by hand
+ %
+FUNCTION {literal}
+{ "key" key warning.if.empty
+ "text" text warning.if.empty
+ text empty$
+ { "" }
+ { text }
+ if$
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % technical documentation
+ %
+FUNCTION {manual}
+{ %
+ % If type is empty, assume that it is a computer software manual.
+ %
+ type empty$
+ { "\bibcomputersoftwaremanual" 'type.2 := }
+ 'skip$
+ if$
+ misc
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % booklet
+ %
+FUNCTION {booklet}
+{ misc }
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % part of a book
+ %
+FUNCTION {inbook}
+{ incollection }
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % article in proceedings
+ %
+FUNCTION {inproceedings}
+{ incollection }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % article in proceedings (Kopka & Daly, 2004, p. 230)
+ %
+FUNCTION {conference}
+{ inproceedings }
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % proceedings
+ %
+FUNCTION {proceedings}
+{ misc }
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % unknown types
+ %
+FUNCTION {default.type}
+{ misc }
+
+% \end{macrocode}
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \subsection{Initialization functions}
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% This currently only defines the maximum number of names to be
+% formatted and this is not even used. This is something that I may
+% want to revisit in order to make it more flexible.
+% \begin{macrocode}
+FUNCTION {initialize}
+{
+ #6 'name.max :=
+%% #250 'entry.max$ :=
+%% #5000 'global.max$ :=
+}
+% \end{macrocode}
+% For numbering the entries according to current sorting order.
+% \begin{macrocode}
+FUNCTION {init.old.number}
+{ #0 'old.number := }
+% \end{macrocode}
+% For comparing labels across entries.
+% \begin{macrocode}
+FUNCTION {init.old.label}
+{ "zzzzzz" 'old.label := }
+% \end{macrocode}
+% For all entries, initialize flags whether initials must be cited and
+% whether an `a', `b', etc.\ needs to be added to the year. Both are
+% initialized as not needed.
+% \begin{macrocode}
+FUNCTION {init.cite.initials.add.to.year}
+{ #0 'cite.initials :=
+ #0 'add.to.year :=
+}
+% \end{macrocode}
+% Functions that indicate whether we're moving forward (|ITERATE|) or
+% backward (|REVERSE|) through the entry list.
+% \begin{macrocode}
+FUNCTION {move.forward}
+{ #1 'forward := }
+FUNCTION {move.backward}
+{ #0 'forward := }
+% \end{macrocode}
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \subsection{Basic bibliography output functions}
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Beginning of the \envirname{thebibliography} environment: Write
+% preamble if there is one, write |\begin| command.
+% \begin{macrocode}
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$
+}
+% \end{macrocode}
+% Write |\end{thebibliography}| command.
+% \begin{macrocode}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+% \end{macrocode}
+% Write the citation labels and reference list entry to the
+% \fname{.bbl} file.
+% \begin{macrocode}
+FUNCTION {write.bbl.entry}
+{
+% \end{macrocode}
+% Output \cmd{\bibitem} and \cmd{\citeauthoryear} commands.
+% \begin{macrocode}
+ make.cite.labels
+% \end{macrocode}
+% Format and output reference list entry.
+% \begin{macrocode}
+ call.type$
+}
+% \end{macrocode}
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \subsection{Read and process entries and make the bibliography}
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Read citations from \fname{.aux} file and extract corresponding
+% entries from \fname{.bib} file.
+% \begin{macrocode}
+READ
+% \end{macrocode}
+% Write version info to \fname{.blg} file.
+% \begin{macrocode}
+EXECUTE { identify.apacite.version }
+% \end{macrocode}
+% Some initializations.
+% \begin{macrocode}
+EXECUTE { initialize }
+% \end{macrocode}
+% Store the citation order in an integer variable, and a corresponding
+% string variable that can be used for sorting.
+% \begin{macrocode}
+EXECUTE { init.old.number }
+ITERATE { make.citeorder.number }
+% \end{macrocode}
+% Sort items by title in order to replace each title by its number in
+% later sorting.
+% \begin{macrocode}
+ITERATE { make.sort.title }
+SORT
+EXECUTE { init.old.number }
+EXECUTE { init.old.label }
+ITERATE { make.title.number }
+% \end{macrocode}
+% Generate some tentative author-year labels and do some
+% preprocessing for the later definitive author and year labels.
+% \begin{macrocode}
+ITERATE { make.tentative.sort.label }
+SORT
+% \end{macrocode}
+% Check whether initials must be added to first author, how many
+% authors must be formatted, whether an `a', `b', etc., must be added
+% to the year label.
+% \begin{macrocode}
+ITERATE { init.cite.initials.add.to.year }
+EXECUTE { init.initials }
+ITERATE { check.add.initials }
+EXECUTE { init.initials }
+REVERSE { check.add.initials }
+ITERATE { tentative.cite.num.names }
+EXECUTE { init.cite.num.names }
+EXECUTE { move.forward }
+ITERATE { definitive.cite.num.names }
+EXECUTE { init.cite.num.names }
+EXECUTE { move.backward }
+REVERSE { definitive.cite.num.names }
+% \end{macrocode}
+% Make final sorting label and do definitive sorting.
+% \begin{macrocode}
+ITERATE { make.final.sort.key }
+SORT
+% \end{macrocode}
+% Write preamble and |\begin{thebibliography}{}| statement.
+% \begin{macrocode}
+EXECUTE { begin.bib }
+% \end{macrocode}
+% Make final cite labels, format reference list entry, and write to
+% \fname{.bbl} file.
+% \begin{macrocode}
+ITERATE { write.bbl.entry }
+% \end{macrocode}
+% Write |\end{thebibliography}| statement.
+% \begin{macrocode}
+EXECUTE { end.bib }
+
+%</bibstyle|xbibstyle>
+% \end{macrocode}
+%
+%
+% \Finale
+\endinput
+%
diff --git a/biblio/bibtex/contrib/apacite/apacite.ins b/biblio/bibtex/contrib/apacite/apacite.ins
new file mode 100644
index 0000000000..1328acc3a9
--- /dev/null
+++ b/biblio/bibtex/contrib/apacite/apacite.ins
@@ -0,0 +1,194 @@
+%%
+%% This file will generate fast loadable files and documentation
+%% driver files from apacite.dtx when run through LaTeX.
+%%
+%% Copyright (C) 1994-2013 Erik Meijer and any individual authors listed
+%% elsewhere in this file.
+%%
+%% This file is part of the `apacite' package.
+%% -------------------------------------------
+%%
+%% It may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either
+%% version 1.3 of this license or (at your option) any later
+%% version. The latest version of this license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of
+%% LaTeX version 2005/12/01 or later.
+%%
+%% The `apacite' package consists of the files apacite.dtx and
+%% apacite.ins, and the following generated files:
+%% apacite.sty, apacdoc.sty, apacite.drv,
+%% apacite.bst, apacitex.bst, apacann.bst, apacannx.bst,
+%% apa5ex.bib, apacxmpl.tex,
+%% english.apc, dutch.apc, finnish.apc, french.apc,
+%% german.apc, ngerman.apc, greek.apc, norsk.apc,
+%% spanish.apc, swedish.apc.
+%%
+%% This work has the LPPL maintenance status `maintained'
+%%
+%% The Current Maintainer of this work is Erik Meijer
+%%
+%% This file may only be distributed together with a copy of the
+%% source files of the apacite package, i.e., apacite.dtx and
+%% apacite.ins. You may however distribute the apacite package without
+%% the generated files.
+
+\input docstrip.tex
+\keepsilent
+
+\declarepreamble\mainpreamble
+
+This is a generated file.
+
+Copyright (C) 1994-2013 Erik Meijer and any individual authors listed
+elsewhere in this file.
+
+This file is part of the `apacite' package.
+-------------------------------------------
+
+It may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either
+version 1.3 of this license or (at your option) any later
+version. The latest version of this license is in:
+
+ http://www.latex-project.org/lppl.txt
+
+and version 1.3 or later is part of all distributions of
+LaTeX version 2005/12/01 or later.
+
+The `apacite' package consists of the files apacite.dtx and
+apacite.ins, and the following generated files:
+apacite.sty, apacdoc.sty, apacite.drv,
+apacite.bst, apacitex.bst, apacann.bst, apacannx.bst,
+apa5ex.bib, apacxmpl.tex,
+english.apc, dutch.apc, finnish.apc, french.apc,
+german.apc, ngerman.apc, greek.apc, norsk.apc,
+spanish.apc, swedish.apc.
+
+This work has the LPPL maintenance status `maintained'
+
+The Current Maintainer of this work is Erik Meijer
+
+This file may only be distributed together with a copy of the
+source files of the apacite package, i.e., apacite.dtx and
+apacite.ins. You may however distribute the apacite package without
+the generated files.
+
+\endpreamble
+
+\declarepreamble\drvpreamble
+
+This is a generated file.
+
+Copyright (C) 1994-2013 Erik Meijer and any individual authors listed
+elsewhere in this file.
+
+This file is part of the `apacite' package.
+-------------------------------------------
+
+It may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either
+version 1.3 of this license or (at your option) any later
+version. The latest version of this license is in:
+
+ http://www.latex-project.org/lppl.txt
+
+and version 1.3 or later is part of all distributions of
+LaTeX version 2005/12/01 or later.
+
+The `apacite' package consists of the files apacite.dtx and
+apacite.ins, and the following generated files:
+apacite.sty, apacdoc.sty, apacite.drv,
+apacite.bst, apacitex.bst, apacann.bst, apacannx.bst,
+apa5ex.bib, apacxmpl.tex,
+english.apc, dutch.apc, finnish.apc, french.apc,
+german.apc, ngerman.apc, greek.apc, norsk.apc,
+spanish.apc, swedish.apc.
+
+This work has the LPPL maintenance status `maintained'
+
+The Current Maintainer of this work is Erik Meijer
+
+This file may only be distributed together with a copy of the
+source files of the apacite package, i.e., apacite.dtx and
+apacite.ins. You may however distribute the apacite package without
+the generated files.
+
+You are allowed to make changes to this file, in order to generate
+the user's manual with your preferred settings (e.g., to choose
+whether or not to include the documented source code). Please
+do not change apacite.dtx for this purpose.
+
+\endpreamble
+
+\edef\noendinputpostamble{%
+ \MetaPrefix ^^J%
+ \MetaPrefix\space End of file `\outFileName'.%
+}
+
+\askonceonly
+\generate{%
+ \usepreamble\mainpreamble
+ \file{apacite.sty}{\from{apacite.dtx}{package}}
+ \file{apacdoc.sty}{\from{apacite.dtx}{docpkg}}
+ \file{english.apc}{\from{apacite.dtx}{english}}
+ \file{dutch.apc}{\from{apacite.dtx}{dutch}}
+ \file{finnish.apc}{\from{apacite.dtx}{finnish}}
+ \file{french.apc}{\from{apacite.dtx}{french}}
+ \file{german.apc}{\from{apacite.dtx}{german}}
+ \file{ngerman.apc}{\from{apacite.dtx}{ngerman}}
+ \file{greek.apc}{\from{apacite.dtx}{greek}}
+ \file{norsk.apc}{\from{apacite.dtx}{norsk}}
+ \file{spanish.apc}{\from{apacite.dtx}{spanish}}
+ \file{swedish.apc}{\from{apacite.dtx}{swedish}}
+ \file{apacxmpl.tex}{\from{apacite.dtx}{xmpl}}
+ \usepreamble\drvpreamble
+ \file{apacite.drv}{\from{apacite.dtx}{driver}}
+ \usepreamble\mainpreamble
+ \usepostamble\noendinputpostamble
+ \file{apa5ex.bib}{\from{apacite.dtx}{bibdb}}
+ \file{apacite.bst}{\from{apacite.dtx}{bibstyle}}
+ \file{apacitex.bst}{\from{apacite.dtx}{xbibstyle}}
+ \file{apacann.bst}{\from{apacite.dtx}{bibstyle,annotated}}
+ \file{apacannx.bst}{\from{apacite.dtx}{xbibstyle,annotated}}
+}
+
+\obeyspaces
+\Msg{*****************************************************}
+\Msg{* *}
+\Msg{* To finish the installation you have to move the *}
+\Msg{* following files into a directory searched by TeX: *}
+\Msg{* *}
+\Msg{* All *.apc, *.sty *}
+\Msg{* *}
+\Msg{* and to move the following files into a directory *}
+\Msg{* searched by BibTeX: *}
+\Msg{* *}
+\Msg{* All *.bib, *.bst *}
+\Msg{* *}
+\Msg{* To produce the documentation, run the following *}
+\Msg{* script (or something similar, depending on your *}
+\Msg{* operating system): *}
+\Msg{* *}
+\Msg{* pdflatex apacite.drv *}
+\Msg{* bibtex apacite *}
+\Msg{* pdflatex apacite.drv *}
+\Msg{* pdflatex apacite.drv *}
+\Msg{* pdflatex apacite.drv *}
+\Msg{* makeindex -o apacite.and apacite.adx *}
+\Msg{* pdflatex apacite.drv *}
+\Msg{* pdflatex apacite.drv *}
+\Msg{* *}
+\Msg{* See the README file for a brief explanation and *}
+\Msg{* the file apacite.drv for how to customize the *}
+\Msg{* manual (e.g., to include the documented source *}
+\Msg{* code. *}
+\Msg{* *}
+\Msg{* Happy TeXing! *}
+\Msg{* *}
+\Msg{*****************************************************}
+
+\endbatchfile
diff --git a/biblio/bibtex/contrib/apacite/apacite.pdf b/biblio/bibtex/contrib/apacite/apacite.pdf
new file mode 100644
index 0000000000..9420e5f8b5
--- /dev/null
+++ b/biblio/bibtex/contrib/apacite/apacite.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/apalike-german/README.html b/biblio/bibtex/contrib/apalike-german/README.html
new file mode 100644
index 0000000000..2a9ac1a31d
--- /dev/null
+++ b/biblio/bibtex/contrib/apalike-german/README.html
@@ -0,0 +1,40 @@
+<!DOCTYPE html><html><head><meta charset="utf-8"><title>Untitled Document.md</title><script type="text/javascript">
+//<![CDATA[
+window.__cfRocketOptions = {byc:0,p:0,petok:"b5913de6261340895918104164db936969affe08-1521285932-1800"};
+//]]>
+</script>
+<script type="text/javascript" src="https://ajax.cloudflare.com/cdn-cgi/scripts/935cb224/cloudflare-static/rocket.min.js"></script>
+<style>@charset "UTF-8";@import 'https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0-alpha2/katex.min.css';code{color:#c7254e;background-color:#f9f2f4;border-radius:4px}code,kbd{padding:2px 4px}kbd{color:#fff;background-color:#333;border-radius:3px;box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;box-shadow:none}pre{display:block;margin:0 0 10px;word-break:break-all;word-wrap:break-word;color:#333;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}table{background-color:transparent}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:20px}.table>thead>tr>th{padding:8px;line-height:1.4285714;border-top:1px solid #ddd}.table>thead>tr>td,.table>tbody>tr>th,.table>tbody>tr>td,.table>tfoot>tr>th,.table>tfoot>tr>td{padding:8px;line-height:1.4285714;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>th,.table>caption+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>thead:first-child>tr:first-child>th,.table>thead:first-child>tr:first-child>td{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>thead>tr>th,.table-condensed>thead>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tbody>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>tfoot>tr>td{padding:5px}.table-bordered,.table-bordered>thead>tr>th,.table-bordered>thead>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tbody>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>tfoot>tr>td{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td{border-bottom-width:2px}.table-striped>tbody>tr:nth-child(odd)>td,.table-striped>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.table-hover>tbody>tr:hover>td,.table-hover>tbody>tr:hover>th{background-color:#f5f5f5}table col[class*="col-"]{position:static;float:none;display:table-column}table td[class*="col-"],table th[class*="col-"]{position:static;float:none;display:table-cell}.table>thead>tr>td.active,.table>thead>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th{background-color:#f5f5f5}.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover,.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr.active:hover>th{background-color:#e8e8e8}.table>thead>tr>td.success,.table>thead>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th{background-color:#dff0d8}.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover,.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr.success:hover>th{background-color:#d0e9c6}.table>thead>tr>td.info,.table>thead>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th{background-color:#d9edf7}.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover,.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr.info:hover>th{background-color:#c4e3f3}.table>thead>tr>td.warning,.table>thead>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th{background-color:#fcf8e3}.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover,.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr.warning:hover>th{background-color:#faf2cc}.table>thead>tr>td.danger,.table>thead>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th{background-color:#f2dede}.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover,.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr.danger:hover>th{background-color:#ebcccc}fieldset{border:0;min-width:0}legend{display:block;width:100%;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}input[type="radio"],input[type="checkbox"]{margin:4px 0 0;margin-top:1px \9;line-height:normal}input[type="file"]{display:block}input[type="range"]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{padding-top:7px}output,.form-control{display:block;font-size:14px;line-height:1.4285714;color:#555}.form-control{width:100%;height:34px;padding:6px 12px;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#777;opacity:1}.form-control:-ms-input-placeholder{color:#777}.form-control::-webkit-input-placeholder{color:#777}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee;opacity:1}textarea.form-control{height:auto}input[type="date"],input[type="time"],input[type="datetime-local"],input[type="month"]{line-height:34px;line-height:1.4285714 \0}input[type="date"].input-sm,.form-horizontal .form-group-sm input[type="date"].form-control,.input-group-sm>input[type="date"].form-control,.input-group-sm>input[type="date"].input-group-addon,.input-group-sm>.input-group-btn>input[type="date"].btn,input[type="time"].input-sm,.form-horizontal .form-group-sm input[type="time"].form-control,.input-group-sm>input[type="time"].form-control,.input-group-sm>input[type="time"].input-group-addon,.input-group-sm>.input-group-btn>input[type="time"].btn,input[type="datetime-local"].input-sm,.form-horizontal .form-group-sm input[type="datetime-local"].form-control,.input-group-sm>input[type="datetime-local"].form-control,.input-group-sm>input[type="datetime-local"].input-group-addon,.input-group-sm>.input-group-btn>input[type="datetime-local"].btn,input[type="month"].input-sm,.form-horizontal .form-group-sm input[type="month"].form-control,.input-group-sm>input[type="month"].form-control,.input-group-sm>input[type="month"].input-group-addon,.input-group-sm>.input-group-btn>input[type="month"].btn{line-height:30px}input[type="date"].input-lg,.form-horizontal .form-group-lg input[type="date"].form-control,.input-group-lg>input[type="date"].form-control,.input-group-lg>input[type="date"].input-group-addon,.input-group-lg>.input-group-btn>input[type="date"].btn,input[type="time"].input-lg,.form-horizontal .form-group-lg input[type="time"].form-control,.input-group-lg>input[type="time"].form-control,.input-group-lg>input[type="time"].input-group-addon,.input-group-lg>.input-group-btn>input[type="time"].btn,input[type="datetime-local"].input-lg,.form-horizontal .form-group-lg input[type="datetime-local"].form-control,.input-group-lg>input[type="datetime-local"].form-control,.input-group-lg>input[type="datetime-local"].input-group-addon,.input-group-lg>.input-group-btn>input[type="datetime-local"].btn,input[type="month"].input-lg,.form-horizontal .form-group-lg input[type="month"].form-control,.input-group-lg>input[type="month"].form-control,.input-group-lg>input[type="month"].input-group-addon,.input-group-lg>.input-group-btn>input[type="month"].btn{line-height:46px}.form-group{margin-bottom:15px}.radio,.checkbox{position:relative;display:block;min-height:20px;margin-top:10px;margin-bottom:10px}.radio label,.checkbox label{padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.radio input[type="radio"],.radio-inline input[type="radio"],.checkbox input[type="checkbox"],.checkbox-inline input[type="checkbox"]{position:absolute;margin-left:-20px;margin-top:4px \9}.radio+.radio,.checkbox+.checkbox{margin-top:-5px}.radio-inline,.checkbox-inline{display:inline-block;padding-left:20px;margin-bottom:0;vertical-align:middle;font-weight:400;cursor:pointer}.radio-inline+.radio-inline,.checkbox-inline+.checkbox-inline{margin-top:0;margin-left:10px}input[type="radio"][disabled],input[type="radio"].disabled,fieldset[disabled] input[type="radio"],input[type="checkbox"][disabled],input[type="checkbox"].disabled,fieldset[disabled] input[type="checkbox"],.radio-inline.disabled,fieldset[disabled] .radio-inline,.checkbox-inline.disabled,fieldset[disabled] .checkbox-inline,.radio.disabled label,fieldset[disabled] .radio label,.checkbox.disabled label,fieldset[disabled] .checkbox label{cursor:not-allowed}.form-control-static{padding-top:7px;padding-bottom:7px;margin-bottom:0}.form-control-static.input-lg,.form-horizontal .form-group-lg .form-control-static.form-control,.input-group-lg>.form-control-static.form-control,.input-group-lg>.form-control-static.input-group-addon,.input-group-lg>.input-group-btn>.form-control-static.btn,.form-control-static.input-sm,.form-horizontal .form-group-sm .form-control-static.form-control,.input-group-sm>.form-control-static.form-control,.input-group-sm>.form-control-static.input-group-addon,.input-group-sm>.input-group-btn>.form-control-static.btn{padding-left:0;padding-right:0}.input-sm,.form-horizontal .form-group-sm .form-control,.input-group-sm>.form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.input-group-sm>.input-group-addon{height:30px;line-height:1.5}.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm,.form-horizontal .form-group-sm select.form-control,.input-group-sm>select.form-control,.input-group-sm>select.input-group-addon,.input-group-sm>.input-group-btn>select.btn{height:30px;line-height:30px}textarea.input-sm,.form-horizontal .form-group-sm textarea.form-control,.input-group-sm>textarea.form-control,.input-group-sm>textarea.input-group-addon,.input-group-sm>.input-group-btn>textarea.btn,select[multiple].input-sm,.form-horizontal .form-group-sm select[multiple].form-control,.input-group-sm>select[multiple].form-control,.input-group-sm>select[multiple].input-group-addon,.input-group-sm>.input-group-btn>select[multiple].btn{height:auto}.input-lg,.form-horizontal .form-group-lg .form-control,.input-group-lg>.form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.input-group-lg>.input-group-addon{height:46px;line-height:1.33}.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-lg,.form-horizontal .form-group-lg select.form-control,.input-group-lg>select.form-control,.input-group-lg>select.input-group-addon,.input-group-lg>.input-group-btn>select.btn{height:46px;line-height:46px}textarea.input-lg,.form-horizontal .form-group-lg textarea.form-control,.input-group-lg>textarea.form-control,.input-group-lg>textarea.input-group-addon,.input-group-lg>.input-group-btn>textarea.btn,select[multiple].input-lg,.form-horizontal .form-group-lg select[multiple].form-control,.input-group-lg>select[multiple].form-control,.input-group-lg>select[multiple].input-group-addon,.input-group-lg>.input-group-btn>select[multiple].btn{height:auto}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.form-control-feedback{position:absolute;top:25px;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center}.input-lg+.form-control-feedback,.form-horizontal .form-group-lg .form-control+.form-control-feedback,.input-group-lg>.form-control+.form-control-feedback,.input-group-lg>.input-group-addon+.form-control-feedback,.input-group-lg>.input-group-btn>.btn+.form-control-feedback{width:46px;height:46px;line-height:46px}.input-sm+.form-control-feedback,.form-horizontal .form-group-sm .form-control+.form-control-feedback,.input-group-sm>.form-control+.form-control-feedback,.input-group-sm>.input-group-addon+.form-control-feedback,.input-group-sm>.input-group-btn>.btn+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .help-block,.has-success .control-label,.has-success .radio,.has-success .checkbox,.has-success .radio-inline,.has-success .checkbox-inline{color:#3c763d}.has-success .form-control{border-color:#3c763d;box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;border-color:#3c763d;background-color:#dff0d8}.has-success .form-control-feedback{color:#3c763d}.has-warning .help-block,.has-warning .control-label,.has-warning .radio,.has-warning .checkbox,.has-warning .radio-inline,.has-warning .checkbox-inline{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;border-color:#8a6d3b;background-color:#fcf8e3}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .help-block,.has-error .control-label,.has-error .radio,.has-error .checkbox,.has-error .radio-inline,.has-error .checkbox-inline{color:#a94442}.has-error .form-control{border-color:#a94442;box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;border-color:#a94442;background-color:#f2dede}.has-error .form-control-feedback{color:#a94442}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}.form-horizontal .radio,.form-horizontal .checkbox,.form-horizontal .radio-inline,.form-horizontal .checkbox-inline{margin-top:0;margin-bottom:0;padding-top:7px}.form-horizontal .radio,.form-horizontal .checkbox{min-height:27px}.form-horizontal .form-group{margin-left:-15px;margin-right:-15px}.form-horizontal .form-group:before{content:" ";display:table}.form-horizontal .form-group:after{content:" ";display:table;clear:both}.form-horizontal .has-feedback .form-control-feedback{top:0;right:15px}.btn{display:inline-block;vertical-align:middle;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn:focus,.btn:active:focus,.btn.active:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus{color:#333;text-decoration:none}.btn:active,.btn.active{outline:0;background-image:none;box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;pointer-events:none;opacity:.65;filter:alpha(opacity=65);box-shadow:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default:hover,.btn-default:focus,.btn-default:active,.btn-default.active,.open>.btn-default.dropdown-toggle{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default:active,.btn-default.active,.open>.btn-default.dropdown-toggle{background-image:none}.btn-default.disabled,.btn-default.disabled:hover,.btn-default.disabled:focus,.btn-default.disabled:active,.btn-default.disabled.active,.btn-default[disabled],.btn-default[disabled]:hover,.btn-default[disabled]:focus,.btn-default[disabled]:active,.btn-default[disabled].active,fieldset[disabled] .btn-default,fieldset[disabled] .btn-default:hover,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:active,fieldset[disabled] .btn-default.active{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#428bca;border-color:#357ebd}.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.open>.btn-primary.dropdown-toggle{color:#fff;background-color:#3071a9;border-color:#285e8e}.btn-primary:active,.btn-primary.active,.open>.btn-primary.dropdown-toggle{background-image:none}.btn-primary.disabled,.btn-primary.disabled:hover,.btn-primary.disabled:focus,.btn-primary.disabled:active,.btn-primary.disabled.active,.btn-primary[disabled],.btn-primary[disabled]:hover,.btn-primary[disabled]:focus,.btn-primary[disabled]:active,.btn-primary[disabled].active,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-primary:hover,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:active,fieldset[disabled] .btn-primary.active{background-color:#428bca;border-color:#357ebd}.btn-primary .badge{color:#428bca;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success:hover,.btn-success:focus,.btn-success:active,.btn-success.active,.open>.btn-success.dropdown-toggle{color:#fff;background-color:#449d44;border-color:#398439}.btn-success:active,.btn-success.active,.open>.btn-success.dropdown-toggle{background-image:none}.btn-success.disabled,.btn-success.disabled:hover,.btn-success.disabled:focus,.btn-success.disabled:active,.btn-success.disabled.active,.btn-success[disabled],.btn-success[disabled]:hover,.btn-success[disabled]:focus,.btn-success[disabled]:active,.btn-success[disabled].active,fieldset[disabled] .btn-success,fieldset[disabled] .btn-success:hover,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:active,fieldset[disabled] .btn-success.active{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.active,.open>.btn-info.dropdown-toggle{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info:active,.btn-info.active,.open>.btn-info.dropdown-toggle{background-image:none}.btn-info.disabled,.btn-info.disabled:hover,.btn-info.disabled:focus,.btn-info.disabled:active,.btn-info.disabled.active,.btn-info[disabled],.btn-info[disabled]:hover,.btn-info[disabled]:focus,.btn-info[disabled]:active,.btn-info[disabled].active,fieldset[disabled] .btn-info,fieldset[disabled] .btn-info:hover,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:active,fieldset[disabled] .btn-info.active{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning:hover,.btn-warning:focus,.btn-warning:active,.btn-warning.active,.open>.btn-warning.dropdown-toggle{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning:active,.btn-warning.active,.open>.btn-warning.dropdown-toggle{background-image:none}.btn-warning.disabled,.btn-warning.disabled:hover,.btn-warning.disabled:focus,.btn-warning.disabled:active,.btn-warning.disabled.active,.btn-warning[disabled],.btn-warning[disabled]:hover,.btn-warning[disabled]:focus,.btn-warning[disabled]:active,.btn-warning[disabled].active,fieldset[disabled] .btn-warning,fieldset[disabled] .btn-warning:hover,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:active,fieldset[disabled] .btn-warning.active{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger:hover,.btn-danger:focus,.btn-danger:active,.btn-danger.active,.open>.btn-danger.dropdown-toggle{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger:active,.btn-danger.active,.open>.btn-danger.dropdown-toggle{background-image:none}.btn-danger.disabled,.btn-danger.disabled:hover,.btn-danger.disabled:focus,.btn-danger.disabled:active,.btn-danger.disabled.active,.btn-danger[disabled],.btn-danger[disabled]:hover,.btn-danger[disabled]:focus,.btn-danger[disabled]:active,.btn-danger[disabled].active,fieldset[disabled] .btn-danger,fieldset[disabled] .btn-danger:hover,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:active,fieldset[disabled] .btn-danger.active{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{color:#428bca;font-weight:400;cursor:pointer;border-radius:0}.btn-link,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;box-shadow:none}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active{border-color:transparent}.btn-link:hover,.btn-link:focus{color:#2a6496;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:hover,fieldset[disabled] .btn-link:focus{color:#777;text-decoration:none}.btn-lg{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.btn-sm{padding:5px 10px}.btn-sm,.btn-xs{font-size:12px;line-height:1.5;border-radius:3px}.btn-xs{padding:1px 5px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;transition:height .35s ease}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*="col-"]{float:none;padding-left:0;padding-right:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon{white-space:nowrap}.input-group-addon,.input-group-btn{width:1%;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm,.form-horizontal .form-group-sm .input-group-addon.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.input-group-addon.btn{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg,.form-horizontal .form-group-lg .input-group-addon.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.input-group-addon.btn{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type="radio"],.input-group-addon input[type="checkbox"]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group-btn:last-child>.btn-group:not(:last-child)>.btn{border-bottom-right-radius:0;border-top-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:first-child>.btn-group:not(:first-child)>.btn{border-bottom-left-radius:0;border-top-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{font-size:0;white-space:nowrap}.input-group-btn,.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:hover,.input-group-btn>.btn:focus,.input-group-btn>.btn:active{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{margin-left:-1px}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;line-height:1.4285714;text-decoration:none;color:#428bca;background-color:#fff;border:1px solid #ddd;margin-left:-1px}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-bottom-right-radius:4px;border-top-right-radius:4px}.pagination>li>a:hover,.pagination>li>a:focus,.pagination>li>span:hover,.pagination>li>span:focus{color:#2a6496;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>a:hover,.pagination>.active>a:focus,.pagination>.active>span,.pagination>.active>span:hover,.pagination>.active>span:focus{z-index:2;color:#fff;background-color:#428bca;border-color:#428bca;cursor:default}.pagination>.disabled>span,.pagination>.disabled>span:hover,.pagination>.disabled>span:focus,.pagination>.disabled>a,.pagination>.disabled>a:hover,.pagination>.disabled>a:focus{color:#777;background-color:#fff;border-color:#ddd;cursor:not-allowed}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-bottom-right-radius:6px;border-top-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-bottom-right-radius:3px;border-top-right-radius:3px}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.modal-open,.modal{overflow:hidden}.modal{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transform:translate3d(0,-25%,0);transform:translate3d(0,-25%,0);-webkit-transition:-webkit-transform .3s ease-out;transition:transform .3s ease-out;transition:transform .3s ease-out,-webkit-transform .3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;box-shadow:0 3px 9px rgba(0,0,0,.5);background-clip:padding-box;outline:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.modal-header{padding:15px;border-bottom:1px solid #e5e5e5;min-height:16.4285714px}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.4285714}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer:before,.modal-footer:after{content:" ";display:table}.modal-footer:after{clear:both}.modal-footer .btn+.btn{margin-left:5px;margin-bottom:0}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.clearfix:before,.clearfix:after{content:" ";display:table}.clearfix:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important;visibility:hidden!important}.affix{position:fixed;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.hljs{display:block;overflow-x:auto;padding:.5em;background:#002b36;color:#839496;-webkit-text-size-adjust:none}.hljs-comment,.hljs-template_comment,.diff .hljs-header,.hljs-doctype,.hljs-pi,.lisp .hljs-string,.hljs-javadoc{color:#586e75}.hljs-keyword,.hljs-winutils,.method,.hljs-addition,.css .hljs-tag,.hljs-request,.hljs-status,.nginx .hljs-title{color:#859900}.hljs-number,.hljs-command,.hljs-string,.hljs-tag .hljs-value,.hljs-rules .hljs-value,.hljs-phpdoc,.hljs-dartdoc,.tex .hljs-formula,.hljs-regexp,.hljs-hexcolor,.hljs-link_url{color:#2aa198}.hljs-title,.hljs-localvars,.hljs-chunk,.hljs-decorator,.hljs-built_in,.hljs-identifier,.vhdl .hljs-literal,.hljs-id,.css .hljs-function{color:#268bd2}.hljs-attribute,.hljs-variable,.lisp .hljs-body,.smalltalk .hljs-number,.hljs-constant,.hljs-class .hljs-title,.hljs-parent,.hljs-type,.hljs-link_reference{color:#b58900}.hljs-preprocessor,.hljs-preprocessor .hljs-keyword,.hljs-pragma,.hljs-shebang,.hljs-symbol,.hljs-symbol .hljs-string,.diff .hljs-change,.hljs-special,.hljs-attr_selector,.hljs-subst,.hljs-cdata,.css .hljs-pseudo,.hljs-header{color:#cb4b16}.hljs-deletion,.hljs-important{color:#dc322f}.hljs-link_label{color:#6c71c4}.tex .hljs-formula{background:#073642}*,*:before,*:after{box-sizing:border-box}html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:0 0}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}images{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd{font-size:1em}code,kbd,pre,samp{font-family:monospace,monospace}samp{font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}.debug{background-color:#ffc0cb!important}.ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ir{background-color:transparent;border:0;overflow:hidden}.ir::before{content:'';display:block;height:150%;width:0}html{font-size:.875em;background:#fff;color:#373D49}html,body{font-family:Georgia,Cambria,serif;height:100%}body{font-size:1rem;font-weight:400;line-height:2rem}ul,ol{margin-bottom:.83999rem;padding-top:.16001rem}li{-webkit-font-feature-settings:'kern' 1,'onum' 1,'liga' 1;font-feature-settings:'kern' 1,'onum' 1,'liga' 1;margin-left:1rem}li>ul,li>ol{margin-bottom:0}p{padding-top:.66001rem;-webkit-font-feature-settings:'kern' 1,'onum' 1,'liga' 1;font-feature-settings:'kern' 1,'onum' 1,'liga' 1;margin-top:0}p,pre{margin-bottom:1.33999rem}pre{font-size:1rem;padding:.66001rem 9.5px 9.5px;line-height:2rem;background:-webkit-linear-gradient(top,#fff 0,#fff .75rem,#f5f7fa .75rem,#f5f7fa 2.75rem,#fff 2.75rem,#fff 4rem);background:linear-gradient(to bottom,#fff 0,#fff .75rem,#f5f7fa .75rem,#f5f7fa 2.75rem,#fff 2.75rem,#fff 4rem);background-size:100% 4rem;border-color:#D3DAEA}blockquote{margin:0}blockquote p{font-size:1rem;margin-bottom:.33999rem;font-style:italic;padding:.66001rem 1rem 1rem;border-left:3px solid #A0AABF}th,td{padding:12px}h1,h2,h3,h4,h5,h6{font-family:"Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif;-webkit-font-feature-settings:'dlig' 1,'liga' 1,'lnum' 1,'kern' 1;font-feature-settings:'dlig' 1,'liga' 1,'lnum' 1,'kern' 1;font-style:normal;font-weight:600;margin-top:0}h1{line-height:3rem;font-size:2.0571429rem;margin-bottom:.21999rem;padding-top:.78001rem}h2{font-size:1.953125rem;margin-bottom:.1835837rem;padding-top:.8164163rem}h2,h3{line-height:3rem}h3{font-size:1.6457143rem;margin-bottom:.07599rem;padding-top:.92401rem}h4{font-size:1.5625rem;margin-bottom:.546865rem;padding-top:.453135rem}h5{font-size:1.25rem;margin-bottom:-.56251rem;padding-top:.56251rem}h6{font-size:1rem;margin-bottom:-.65001rem;padding-top:.65001rem}a{cursor:pointer;color:#35D7BB;text-decoration:none}a:hover,a:focus{border-bottom-color:#35D7BB;color:#dff9f4}img{height:auto;max-width:100%}.g{display:block}.g:after{clear:both;content:'';display:table}.g-b{float:left;margin:0;width:100%}.g{margin-left:-16px;margin-right:-16px}.g-b{padding-left:16px;padding-right:16px}.g-b--center{display:block;float:none;margin:0 auto}.g-b--right{float:right}.g-b--1of1{width:100%}.g-b--1of2,.g-b--2of4,.g-b--3of6,.g-b--4of8,.g-b--5of10,.g-b--6of12{width:50%}.g-b--1of3,.g-b--2of6,.g-b--4of12{width:33.333%}.g-b--2of3,.g-b--4of6,.g-b--8of12{width:66.666%}.g-b--1of4,.g-b--2of8,.g-b--3of12{width:25%}.g-b--3of4,.g-b--6of8,.g-b--9of12{width:75%}.g-b--1of5,.g-b--2of10{width:20%}.g-b--2of5,.g-b--4of10{width:40%}.g-b--3of5,.g-b--6of10{width:60%}.g-b--4of5,.g-b--8of10{width:80%}.g-b--1of6,.g-b--2of12{width:16.666%}.g-b--5of6,.g-b--10of12{width:83.333%}.g-b--1of8{width:12.5%}.g-b--3of8{width:37.5%}.g-b--5of8{width:62.5%}.g-b--7of8{width:87.5%}.g-b--1of10{width:10%}.g-b--3of10{width:30%}.g-b--7of10{width:70%}.g-b--9of10{width:90%}.g-b--1of12{width:8.333%}.g-b--5of12{width:41.666%}.g-b--7of12{width:58.333%}.g-b--11of12{width:91.666%}.g-b--push--1of1{margin-left:100%}.g-b--push--1of2,.g-b--push--2of4,.g-b--push--3of6,.g-b--push--4of8,.g-b--push--5of10,.g-b--push--6of12{margin-left:50%}.g-b--push--1of3,.g-b--push--2of6,.g-b--push--4of12{margin-left:33.333%}.g-b--push--2of3,.g-b--push--4of6,.g-b--push--8of12{margin-left:66.666%}.g-b--push--1of4,.g-b--push--2of8,.g-b--push--3of12{margin-left:25%}.g-b--push--3of4,.g-b--push--6of8,.g-b--push--9of12{margin-left:75%}.g-b--push--1of5,.g-b--push--2of10{margin-left:20%}.g-b--push--2of5,.g-b--push--4of10{margin-left:40%}.g-b--push--3of5,.g-b--push--6of10{margin-left:60%}.g-b--push--4of5,.g-b--push--8of10{margin-left:80%}.g-b--push--1of6,.g-b--push--2of12{margin-left:16.666%}.g-b--push--5of6,.g-b--push--10of12{margin-left:83.333%}.g-b--push--1of8{margin-left:12.5%}.g-b--push--3of8{margin-left:37.5%}.g-b--push--5of8{margin-left:62.5%}.g-b--push--7of8{margin-left:87.5%}.g-b--push--1of10{margin-left:10%}.g-b--push--3of10{margin-left:30%}.g-b--push--7of10{margin-left:70%}.g-b--push--9of10{margin-left:90%}.g-b--push--1of12{margin-left:8.333%}.g-b--push--5of12{margin-left:41.666%}.g-b--push--7of12{margin-left:58.333%}.g-b--push--11of12{margin-left:91.666%}.g-b--pull--1of1{margin-right:100%}.g-b--pull--1of2,.g-b--pull--2of4,.g-b--pull--3of6,.g-b--pull--4of8,.g-b--pull--5of10,.g-b--pull--6of12{margin-right:50%}.g-b--pull--1of3,.g-b--pull--2of6,.g-b--pull--4of12{margin-right:33.333%}.g-b--pull--2of3,.g-b--pull--4of6,.g-b--pull--8of12{margin-right:66.666%}.g-b--pull--1of4,.g-b--pull--2of8,.g-b--pull--3of12{margin-right:25%}.g-b--pull--3of4,.g-b--pull--6of8,.g-b--pull--9of12{margin-right:75%}.g-b--pull--1of5,.g-b--pull--2of10{margin-right:20%}.g-b--pull--2of5,.g-b--pull--4of10{margin-right:40%}.g-b--pull--3of5,.g-b--pull--6of10{margin-right:60%}.g-b--pull--4of5,.g-b--pull--8of10{margin-right:80%}.g-b--pull--1of6,.g-b--pull--2of12{margin-right:16.666%}.g-b--pull--5of6,.g-b--pull--10of12{margin-right:83.333%}.g-b--pull--1of8{margin-right:12.5%}.g-b--pull--3of8{margin-right:37.5%}.g-b--pull--5of8{margin-right:62.5%}.g-b--pull--7of8{margin-right:87.5%}.g-b--pull--1of10{margin-right:10%}.g-b--pull--3of10{margin-right:30%}.g-b--pull--7of10{margin-right:70%}.g-b--pull--9of10{margin-right:90%}.g-b--pull--1of12{margin-right:8.333%}.g-b--pull--5of12{margin-right:41.666%}.g-b--pull--7of12{margin-right:58.333%}.g-b--pull--11of12{margin-right:91.666%}.splashscreen{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#373D49;z-index:22}.splashscreen-dillinger{width:260px;height:auto;display:block;margin:0 auto;padding-bottom:3rem}.splashscreen p{font-size:1.25rem;padding-top:.56251rem;font-family:"Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;text-align:center;max-width:500px;margin:0 auto;color:#FFF}.sp-center{position:relative;-webkit-transform:translateY(-50%);transform:translateY(-50%);top:50%}.open-menu>.wrapper{overflow-x:hidden}.page{margin:0 auto;position:relative;top:0;left:0;width:100%;height:100%;z-index:2;-webkit-transition:all .25s ease-in-out;transition:all .25s ease-in-out;background-color:#fff;padding-top:51px;will-change:left}.open-menu .page{left:270px}.title{line-height:1rem;font-size:.8rem;margin-bottom:.77999rem;padding-top:.22001rem;font-weight:500;color:#A0AABF;letter-spacing:1px;text-transform:uppercase;padding-left:16px;padding-right:16px;margin-top:1rem}.split-preview .title{padding-left:0}.title-document{line-height:1rem;font-size:1.25rem;margin-bottom:.89999rem;padding-top:.10001rem;font-weight:400;font-family:"Ubuntu Mono",Monaco;color:#373D49;padding-left:16px;padding-right:16px;width:80%;min-width:300px;outline:0;border:none}.icon{display:block;margin:0 auto;width:36px;height:36px;border-radius:3px;text-align:center}.icon svg{display:inline-block;margin-left:auto;margin-right:auto}.icon-preview{background-color:#373D49;line-height:40px}.icon-preview svg{width:19px;height:12px}.icon-settings{background-color:#373D49;line-height:44px}.icon-settings svg{width:18px;height:18px}.icon-link{width:16px;height:16px;line-height:1;margin-right:24px;text-align:right}.navbar{background-color:#373D49;height:51px;width:100%;position:fixed;top:0;left:0;z-index:6;-webkit-transition:all .25s ease-in-out;transition:all .25s ease-in-out;will-change:left}.navbar:after{content:"";display:table;clear:both}.open-menu .navbar{left:270px}.navbar-brand{float:left;margin:0 0 0 24px;padding:0;line-height:42px}.navbar-brand svg{width:85px;height:11px}.nav-left{float:left}.nav-right{float:right}.nav-sidebar{width:100%}.menu{list-style:none;margin:0;padding:0}.menu a{border:0;color:#A0AABF;font-family:"Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif;outline:none;text-transform:uppercase}.menu a:hover{color:#35D7BB}.menu .menu-item{border:0;display:none;float:left;margin:0;position:relative}.menu .menu-item>a{display:block;font-size:12px;height:51px;letter-spacing:1px;line-height:51px;padding:0 24px}.menu .menu-item--settings,.menu .menu-item--preview,.menu .menu-item--save-to.in-sidebar,.menu .menu-item--import-from.in-sidebar,.menu .menu-item--link-unlink.in-sidebar,.menu .menu-item--documents.in-sidebar{display:block}.menu .menu-item--documents{padding-bottom:1rem}.menu .menu-item.open>a{background-color:#1D212A}.menu .menu-item-icon>a{height:auto;padding:0}.menu .menu-item-icon:hover>a{background-color:transparent}.menu .menu-link.open i{background-color:#1D212A}.menu .menu-link.open g{fill:#35D7BB}.menu .menu-link-preview,.menu .menu-link-settings{margin-top:8px;width:51px}.menu-sidebar{width:100%}.menu-sidebar .menu-item{float:none;margin-bottom:1px;width:100%}.menu-sidebar .menu-item.open>a{background-color:#373D49}.menu-sidebar .open .caret{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.menu-sidebar>.menu-item:hover .dropdown a,.menu-sidebar>.menu-item:hover .settings a{background-color:transparent}.menu-sidebar .menu-link{background-color:#373D49;font-weight:600}.menu-sidebar .menu-link:after{content:"";display:table;clear:both}.menu-sidebar .menu-link>span{float:left}.menu-sidebar .menu-link>.caret{float:right;text-align:right;top:22px}.menu-sidebar .dropdown,.menu-sidebar .settings{background-color:transparent;position:static;width:100%}.dropdown{position:absolute;right:0;top:51px;width:188px}.dropdown,.settings{display:none;background-color:#1D212A}.dropdown{padding:0}.dropdown,.settings,.sidebar-list{list-style:none;margin:0}.sidebar-list{padding:0}.dropdown li{margin:32px 0;padding:0 0 0 32px}.dropdown li,.settings li{line-height:1}.sidebar-list li{line-height:1;margin:32px 0;padding:0 0 0 32px}.dropdown a{color:#D0D6E2}.dropdown a,.settings a,.sidebar-list a{display:block;text-transform:none}.sidebar-list a{color:#D0D6E2}.dropdown a:after,.settings a:after,.sidebar-list a:after{content:"";display:table;clear:both}.dropdown .icon,.settings .icon,.sidebar-list .icon{float:right}.open .dropdown,.open .settings,.open .sidebar-list{display:block}.open .dropdown.collapse,.open .collapse.settings,.open .sidebar-list.collapse{display:none}.open .dropdown.collapse.in,.open .collapse.in.settings,.open .sidebar-list.collapse.in{display:block}.dropdown .unlinked .icon,.settings .unlinked .icon,.sidebar-list .unlinked .icon{opacity:.3}.dropdown.documents li,.documents.settings li,.sidebar-list.documents li{background-image:url("../img/icons/file.svg");background-position:240px center;background-repeat:no-repeat;background-size:14px 16px;padding:3px 32px}.dropdown.documents li.octocat,.documents.settings li.octocat,.sidebar-list.documents li.octocat{background-image:url("../img/icons/octocat.svg");background-position:234px center;background-size:24px 24px}.dropdown.documents li:last-child,.documents.settings li:last-child,.sidebar-list.documents li:last-child{margin-bottom:1rem}.dropdown.documents li.active a,.documents.settings li.active a,.sidebar-list.documents li.active a{color:#35D7BB}.settings{position:fixed;top:67px;right:16px;border-radius:3px;width:288px;background-color:#373D49;padding:16px;z-index:7}.show-settings .settings{display:block}.settings .has-checkbox{float:left}.settings a{font-size:1.25rem;font-family:"Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;-webkit-font-smoothing:antialiased;line-height:28px;color:#D0D6E2}.settings a:after{content:"";display:table;clear:both}.settings a:hover{color:#35D7BB}.settings li{border-bottom:1px solid #4F535B;margin:0;padding:16px 0}.settings li:last-child{border-bottom:none}.brand{border:none;display:block}.brand:hover g{fill:#35D7BB}.toggle{display:block;float:left;height:16px;padding:25px 16px 26px;width:40px}.toggle span:after,.toggle span:before{content:'';left:0;position:absolute;top:-6px}.toggle span:after{top:6px}.toggle span{display:block;position:relative}.toggle span,.toggle span:after,.toggle span:before{-webkit-backface-visibility:hidden;backface-visibility:hidden;background-color:#D3DAEA;height:2px;-webkit-transition:all .3s;transition:all .3s;width:20px}.open-menu .toggle span{background-color:transparent}.open-menu .toggle span:before{-webkit-transform:rotate(45deg) translate(3px,3px);transform:rotate(45deg) translate(3px,3px)}.open-menu .toggle span:after{-webkit-transform:rotate(-45deg) translate(5px,-6px);transform:rotate(-45deg) translate(5px,-6px)}.caret{display:inline-block;width:0;height:0;margin-left:6px;vertical-align:middle;position:relative;top:-1px;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.sidebar{overflow:auto;height:100%;padding-right:15px;padding-bottom:15px;width:285px}.sidebar-wrapper{-webkit-overflow-scrolling:touch;background-color:#2B2F36;left:0;height:100%;overflow-y:hidden;position:fixed;top:0;width:285px;z-index:1}.sidebar-branding{width:160px;padding:0;margin:16px auto}.header{border-bottom:1px solid #E8E8E8;position:relative}.words,.characters{line-height:1rem;font-size:.8rem;margin-bottom:.77999rem;padding-top:.22001rem;font-weight:500;font-family:"Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif;color:#A0AABF;letter-spacing:1px;text-transform:uppercase;z-index:5;position:absolute;right:16px;top:0}.words span,.characters span{color:#000}.words+.characters{top:22px}.btn{text-align:center;display:inline-block;width:100%;text-transform:uppercase;font-weight:600;font-family:"Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;text-shadow:0 1px 0 #1b8b77;padding:16px 24px;background-color:#35D7BB;border-radius:3px;margin:0 auto 16px;line-height:1;color:#fff;-webkit-transition:all .15s linear;transition:all .15s linear;-webkit-font-smoothing:antialiased}.btn--new,.btn--save{display:block;width:238px}.btn--new:hover,.btn--new:focus,.btn--save:hover,.btn--save:focus{color:#fff;border-bottom-color:transparent;box-shadow:0 1px 3px #24b59c;text-shadow:0 1px 0 #24b59c}.btn--save{background-color:#4A5261;text-shadow:0 1px 1px #1e2127}.btn--save:hover,.btn--save:focus{color:#fff;border-bottom-color:transparent;box-shadow:0 1px 5px #08090a;text-shadow:none}.btn--delete{display:block;width:238px;background-color:transparent;font-size:12px;text-shadow:none}.btn--delete:hover,.btn--delete:focus{color:#fff;border-bottom-color:transparent;text-shadow:0 1px 0 #08090a;opacity:.8}.btn--delete-modal,.btn--ok,.btn--close{border-top:0;background-color:#4A5261;text-shadow:0 1px 0 #08090a;margin:0}.btn--delete-modal:hover,.btn--delete-modal:focus,.btn--ok:hover,.btn--ok:focus,.btn--close:hover,.btn--close:focus{color:#fff;background-color:#292d36;text-shadow:none}.btn--delete-modal{display:inline;width:auto}.overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(55,61,73,.8);-webkit-transition:all .25s ease-in-out;transition:all .25s ease-in-out;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;will-change:left,opacity,visibility;z-index:5;opacity:0;visibility:hidden}.show-settings .overlay{visibility:visible;opacity:1}.switch{float:right;line-height:1}.switch input{display:none}.switch small{display:inline-block;cursor:pointer;padding:0 24px 0 0;-webkit-transition:all ease .2s;transition:all ease .2s;background-color:#2B2F36;border-color:#2B2F36}.switch small,.switch small:before{border-radius:30px;box-shadow:inset 0 0 2px 0 #14171F}.switch small:before{display:block;content:'';width:28px;height:28px;background:#fff}.switch.checked small{padding-right:0;padding-left:24px;background-color:#35D7BB;box-shadow:none}.modal--dillinger.about .modal-dialog{font-size:1.25rem;max-width:500px}.modal--dillinger.scope .modal-dialog{max-width:300px;margin:5rem auto}.modal--dillinger .modal-dialog{max-width:600px;width:auto;margin:5rem auto}.modal--dillinger .modal-content{background:#373D49;border-radius:3px;box-shadow:0 2px 5px 0 #2C3B59;color:#fff;font-family:"Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;padding:2rem}.modal--dillinger ul{list-style-type:disc;margin:1rem 0;padding:0 0 0 1rem}.modal--dillinger li{padding:0;margin:0}.modal--dillinger .modal-header{border:0;padding:0}.modal--dillinger .modal-body{padding:0}.modal--dillinger .modal-footer{border:0;padding:0}.modal--dillinger .close{color:#fff;opacity:1}.modal-backdrop{background-color:#373D49}.pagination--dillinger{padding:0!important;margin:1.5rem 0!important;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:stretch;align-content:stretch}.pagination--dillinger,.pagination--dillinger li{display:-webkit-box;display:-ms-flexbox;display:flex}.pagination--dillinger li{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;text-align:center}.pagination--dillinger li:first-child>a,.pagination--dillinger li.disabled>a,.pagination--dillinger li.disabled>a:hover,.pagination--dillinger li.disabled>a:focus,.pagination--dillinger li>a{background-color:transparent;border-color:#4F535B;border-right-color:transparent}.pagination--dillinger li.active>a,.pagination--dillinger li.active>a:hover,.pagination--dillinger li.active>a:focus{border-color:#4A5261;background-color:#4A5261;color:#fff}.pagination--dillinger li>a{float:none;color:#fff;width:100%;display:block;text-align:center;margin:0;border-right-color:transparent;padding:6px}.pagination--dillinger li>a:hover,.pagination--dillinger li>a:focus{border-color:#35D7BB;background-color:#35D7BB;color:#fff}.pagination--dillinger li:last-child a{border-color:#4F535B}.pagination--dillinger li:first-child a{border-right-color:transparent}.diNotify{position:absolute;z-index:9999;left:0;right:0;top:0;margin:0 auto;max-width:400px;text-align:center;-webkit-transition:top .5s ease-in-out,opacity .5s ease-in-out;transition:top .5s ease-in-out,opacity .5s ease-in-out;visibility:hidden}.diNotify-body{-webkit-font-smoothing:antialiased;background-color:#35D7BB;background:#666E7F;border-radius:3px;color:#fff;font-family:"Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;overflow:hidden;padding:1rem 2rem .5rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.diNotify-icon{display:block;width:16px;height:16px;line-height:16px;position:relative;top:3px}.diNotify-message{padding-left:1rem}.zen-wrapper{position:fixed;top:0;left:0;right:0;bottom:0;width:100%;height:100%;z-index:10;background-color:#FFF;opacity:0;-webkit-transition:opacity .25s ease-in-out;transition:opacity .25s ease-in-out}.zen-wrapper.on{opacity:1}.enter-zen-mode{background-image:url("../img/icons/enter-zen.svg");right:.5rem;top:.313rem;display:none}.enter-zen-mode,.close-zen-mode{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0;background-repeat:no-repeat;width:32px;height:32px;display:block;position:absolute}.close-zen-mode{background-image:url("../img/icons/exit-zen.svg");right:1rem;top:1rem}.zen-page{position:relative;top:0;bottom:0;z-index:11;height:100%;width:100%}#zen{font-size:1.25rem;width:300px;height:80%;margin:0 auto;position:relative;top:10%}#zen:before,#zen:after{content:"";position:absolute;height:10%;width:100%;z-index:12;pointer-events:none}#preview .table{width:auto}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:.1px;z-index:99999;display:block}.ui-resizable-e{background-color:#666;border-right:8px solid #e8e8e8;border-left:1px solid #222;width:10px;z-index:88!important;position:relative}.ui-resizable-e:after{content:"-";display:block;position:absolute;top:calc(50% - 16px);left:0;height:25px;width:2px;background-color:rgba(0,0,0,.4);margin:3px}#editor{cursor:ew-resize;position:relative;z-index:auto}.profile-pic{float:left;width:250px}#_default_ a::before{color:#A0AABF}#_default_ img{display:none}#_default_ #_default_{display:block;float:left;max-width:38%;word-wrap:break-word}#_default_ .default-ad{display:none}#_default_ ._default_{display:block}#_default_ a{color:#35d7bb;text-decoration:none}#_default_ a:hover{color:#8ae8d8}#_default_ .default-image{display:none}#_default_ .default-title:after{content:" — "}#_default_ .default-title,#_default_ .default-description{display:inline}#_default_ .default-title{position:relative;font-weight:600;display:none}#_default_ a:before{position:relative;top:0;padding:5px;color:#a0aabf;content:"Ad";text-transform:uppercase;font-size:8px;font-family:Verdana,sans-serif}#_default_{display:block;float:left;max-width:38%;word-wrap:break-word}#_default_ ._default_{display:block;font-size:.75rem;height:51px;letter-spacing:1px;line-height:1rem;padding:18px 24px}.split{overflow:scroll;padding:0!important}.split-editor{padding-left:0;padding-right:0;position:relative;z-index:3}.show-preview .split-editor{display:none}.split-preview{background-color:#fff;display:none;top:0;position:relative;z-index:4}.show-preview .split-preview{display:block}#editor{font-size:1rem;font-family:"Ubuntu Mono",Monaco;font-weight:400;line-height:2rem;width:100%;height:100%}#editor .ace_gutter{-webkit-font-smoothing:antialiased}.editor-header{width:50%;float:left;border-bottom:1px solid #E8E8E8;position:relative}.editor-header--first{border-right:1px solid #E8E8E8}.editor-header .title{display:inline-block}.preview-html{padding:15px}.preview-html a{color:#A0AABF;text-decoration:underline}.preview-src{white-space:normal}.preview-mode-toggle-src{background-image:url("../img/icons/code.svg")}.preview-mode-toggle-src,.preview-mode-toggle-html{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0;background-repeat:no-repeat;width:32px;height:32px;display:block;position:absolute;right:.5rem;top:.5rem;display:none}.preview-mode-toggle-html{background-image:url("../img/icons/eye.svg")}.sr-only{visibility:hidden;text-overflow:110%;overflow:hidden;top:-100px;position:absolute}.mnone{margin:0!important}@media screen and (min-width:27.5em){html{font-size:.875em}body{font-size:1rem}ul,ol{margin-bottom:.83999rem;padding-top:.16001rem}p{padding-top:.66001rem}p,pre{margin-bottom:1.33999rem}pre,blockquote p{font-size:1rem;padding-top:.66001rem}blockquote p{margin-bottom:.33999rem}h1{font-size:2.0571429rem;margin-bottom:.21999rem;padding-top:.78001rem}h2{font-size:1.953125rem;margin-bottom:.1835837rem;padding-top:.8164163rem}h3{font-size:1.6457143rem;margin-bottom:.07599rem;padding-top:.92401rem}h4{font-size:1.5625rem;margin-bottom:.546865rem;padding-top:.453135rem}h5{font-size:1.25rem;margin-bottom:-.56251rem;padding-top:.56251rem}h6{font-size:1rem;margin-bottom:-.65001rem;padding-top:.65001rem}.g{margin-left:-16px;margin-right:-16px}.g-b{padding-left:16px;padding-right:16px}.g-b--m1of1{width:100%}.g-b--m1of2,.g-b--m2of4,.g-b--m3of6,.g-b--m4of8,.g-b--m5of10,.g-b--m6of12{width:50%}.g-b--m1of3,.g-b--m2of6,.g-b--m4of12{width:33.333%}.g-b--m2of3,.g-b--m4of6,.g-b--m8of12{width:66.666%}.g-b--m1of4,.g-b--m2of8,.g-b--m3of12{width:25%}.g-b--m3of4,.g-b--m6of8,.g-b--m9of12{width:75%}.g-b--m1of5,.g-b--m2of10{width:20%}.g-b--m2of5,.g-b--m4of10{width:40%}.g-b--m3of5,.g-b--m6of10{width:60%}.g-b--m4of5,.g-b--m8of10{width:80%}.g-b--m1of6,.g-b--m2of12{width:16.666%}.g-b--m5of6,.g-b--m10of12{width:83.333%}.g-b--m1of8{width:12.5%}.g-b--m3of8{width:37.5%}.g-b--m5of8{width:62.5%}.g-b--m7of8{width:87.5%}.g-b--m1of10{width:10%}.g-b--m3of10{width:30%}.g-b--m7of10{width:70%}.g-b--m9of10{width:90%}.g-b--m1of12{width:8.333%}.g-b--m5of12{width:41.666%}.g-b--m7of12{width:58.333%}.g-b--m11of12{width:91.666%}.g-b--push--m1of1{margin-left:100%}.g-b--push--m1of2,.g-b--push--m2of4,.g-b--push--m3of6,.g-b--push--m4of8,.g-b--push--m5of10,.g-b--push--m6of12{margin-left:50%}.g-b--push--m1of3,.g-b--push--m2of6,.g-b--push--m4of12{margin-left:33.333%}.g-b--push--m2of3,.g-b--push--m4of6,.g-b--push--m8of12{margin-left:66.666%}.g-b--push--m1of4,.g-b--push--m2of8,.g-b--push--m3of12{margin-left:25%}.g-b--push--m3of4,.g-b--push--m6of8,.g-b--push--m9of12{margin-left:75%}.g-b--push--m1of5,.g-b--push--m2of10{margin-left:20%}.g-b--push--m2of5,.g-b--push--m4of10{margin-left:40%}.g-b--push--m3of5,.g-b--push--m6of10{margin-left:60%}.g-b--push--m4of5,.g-b--push--m8of10{margin-left:80%}.g-b--push--m1of6,.g-b--push--m2of12{margin-left:16.666%}.g-b--push--m5of6,.g-b--push--m10of12{margin-left:83.333%}.g-b--push--m1of8{margin-left:12.5%}.g-b--push--m3of8{margin-left:37.5%}.g-b--push--m5of8{margin-left:62.5%}.g-b--push--m7of8{margin-left:87.5%}.g-b--push--m1of10{margin-left:10%}.g-b--push--m3of10{margin-left:30%}.g-b--push--m7of10{margin-left:70%}.g-b--push--m9of10{margin-left:90%}.g-b--push--m1of12{margin-left:8.333%}.g-b--push--m5of12{margin-left:41.666%}.g-b--push--m7of12{margin-left:58.333%}.g-b--push--m11of12{margin-left:91.666%}.g-b--pull--m1of1{margin-right:100%}.g-b--pull--m1of2,.g-b--pull--m2of4,.g-b--pull--m3of6,.g-b--pull--m4of8,.g-b--pull--m5of10,.g-b--pull--m6of12{margin-right:50%}.g-b--pull--m1of3,.g-b--pull--m2of6,.g-b--pull--m4of12{margin-right:33.333%}.g-b--pull--m2of3,.g-b--pull--m4of6,.g-b--pull--m8of12{margin-right:66.666%}.g-b--pull--m1of4,.g-b--pull--m2of8,.g-b--pull--m3of12{margin-right:25%}.g-b--pull--m3of4,.g-b--pull--m6of8,.g-b--pull--m9of12{margin-right:75%}.g-b--pull--m1of5,.g-b--pull--m2of10{margin-right:20%}.g-b--pull--m2of5,.g-b--pull--m4of10{margin-right:40%}.g-b--pull--m3of5,.g-b--pull--m6of10{margin-right:60%}.g-b--pull--m4of5,.g-b--pull--m8of10{margin-right:80%}.g-b--pull--m1of6,.g-b--pull--m2of12{margin-right:16.666%}.g-b--pull--m5of6,.g-b--pull--m10of12{margin-right:83.333%}.g-b--pull--m1of8{margin-right:12.5%}.g-b--pull--m3of8{margin-right:37.5%}.g-b--pull--m5of8{margin-right:62.5%}.g-b--pull--m7of8{margin-right:87.5%}.g-b--pull--m1of10{margin-right:10%}.g-b--pull--m3of10{margin-right:30%}.g-b--pull--m7of10{margin-right:70%}.g-b--pull--m9of10{margin-right:90%}.g-b--pull--m1of12{margin-right:8.333%}.g-b--pull--m5of12{margin-right:41.666%}.g-b--pull--m7of12{margin-right:58.333%}.g-b--pull--m11of12{margin-right:91.666%}.splashscreen p{font-size:1.25rem;margin-bottom:1.43749rem;padding-top:.56251rem}.title{font-size:.8rem;margin-bottom:.77999rem;padding-top:.22001rem}.title-document{margin-bottom:.89999rem;padding-top:.10001rem}.title-document,.settings a{font-size:1.25rem}.words,.characters{font-size:.8rem;margin-bottom:.77999rem;padding-top:.22001rem}.modal--dillinger.about .modal-dialog,#zen{font-size:1.25rem}#zen{width:400px}#editor{font-size:1rem}}@media screen and (min-width:46.25em){html{font-size:.875em}body{font-size:1rem}ul,ol{margin-bottom:.83999rem;padding-top:.16001rem}p{padding-top:.66001rem}p,pre{margin-bottom:1.33999rem}pre,blockquote p{font-size:1rem;padding-top:.66001rem}blockquote p{margin-bottom:.33999rem}h1{font-size:2.0571429rem;margin-bottom:.21999rem;padding-top:.78001rem}h2{font-size:1.953125rem;margin-bottom:.1835837rem;padding-top:.8164163rem}h3{font-size:1.6457143rem;margin-bottom:.07599rem;padding-top:.92401rem}h4{font-size:1.5625rem;margin-bottom:.546865rem;padding-top:.453135rem}h5{font-size:1.25rem;margin-bottom:-.56251rem;padding-top:.56251rem}h6{font-size:1rem;margin-bottom:-.65001rem;padding-top:.65001rem}.g{margin-left:-16px;margin-right:-16px}.g-b{padding-left:16px;padding-right:16px}.g-b--t1of1{width:100%}.g-b--t1of2,.g-b--t2of4,.g-b--t3of6,.g-b--t4of8,.g-b--t5of10,.g-b--t6of12{width:50%}.g-b--t1of3,.g-b--t2of6,.g-b--t4of12{width:33.333%}.g-b--t2of3,.g-b--t4of6,.g-b--t8of12{width:66.666%}.g-b--t1of4,.g-b--t2of8,.g-b--t3of12{width:25%}.g-b--t3of4,.g-b--t6of8,.g-b--t9of12{width:75%}.g-b--t1of5,.g-b--t2of10{width:20%}.g-b--t2of5,.g-b--t4of10{width:40%}.g-b--t3of5,.g-b--t6of10{width:60%}.g-b--t4of5,.g-b--t8of10{width:80%}.g-b--t1of6,.g-b--t2of12{width:16.666%}.g-b--t5of6,.g-b--t10of12{width:83.333%}.g-b--t1of8{width:12.5%}.g-b--t3of8{width:37.5%}.g-b--t5of8{width:62.5%}.g-b--t7of8{width:87.5%}.g-b--t1of10{width:10%}.g-b--t3of10{width:30%}.g-b--t7of10{width:70%}.g-b--t9of10{width:90%}.g-b--t1of12{width:8.333%}.g-b--t5of12{width:41.666%}.g-b--t7of12{width:58.333%}.g-b--t11of12{width:91.666%}.g-b--push--t1of1{margin-left:100%}.g-b--push--t1of2,.g-b--push--t2of4,.g-b--push--t3of6,.g-b--push--t4of8,.g-b--push--t5of10,.g-b--push--t6of12{margin-left:50%}.g-b--push--t1of3,.g-b--push--t2of6,.g-b--push--t4of12{margin-left:33.333%}.g-b--push--t2of3,.g-b--push--t4of6,.g-b--push--t8of12{margin-left:66.666%}.g-b--push--t1of4,.g-b--push--t2of8,.g-b--push--t3of12{margin-left:25%}.g-b--push--t3of4,.g-b--push--t6of8,.g-b--push--t9of12{margin-left:75%}.g-b--push--t1of5,.g-b--push--t2of10{margin-left:20%}.g-b--push--t2of5,.g-b--push--t4of10{margin-left:40%}.g-b--push--t3of5,.g-b--push--t6of10{margin-left:60%}.g-b--push--t4of5,.g-b--push--t8of10{margin-left:80%}.g-b--push--t1of6,.g-b--push--t2of12{margin-left:16.666%}.g-b--push--t5of6,.g-b--push--t10of12{margin-left:83.333%}.g-b--push--t1of8{margin-left:12.5%}.g-b--push--t3of8{margin-left:37.5%}.g-b--push--t5of8{margin-left:62.5%}.g-b--push--t7of8{margin-left:87.5%}.g-b--push--t1of10{margin-left:10%}.g-b--push--t3of10{margin-left:30%}.g-b--push--t7of10{margin-left:70%}.g-b--push--t9of10{margin-left:90%}.g-b--push--t1of12{margin-left:8.333%}.g-b--push--t5of12{margin-left:41.666%}.g-b--push--t7of12{margin-left:58.333%}.g-b--push--t11of12{margin-left:91.666%}.g-b--pull--t1of1{margin-right:100%}.g-b--pull--t1of2,.g-b--pull--t2of4,.g-b--pull--t3of6,.g-b--pull--t4of8,.g-b--pull--t5of10,.g-b--pull--t6of12{margin-right:50%}.g-b--pull--t1of3,.g-b--pull--t2of6,.g-b--pull--t4of12{margin-right:33.333%}.g-b--pull--t2of3,.g-b--pull--t4of6,.g-b--pull--t8of12{margin-right:66.666%}.g-b--pull--t1of4,.g-b--pull--t2of8,.g-b--pull--t3of12{margin-right:25%}.g-b--pull--t3of4,.g-b--pull--t6of8,.g-b--pull--t9of12{margin-right:75%}.g-b--pull--t1of5,.g-b--pull--t2of10{margin-right:20%}.g-b--pull--t2of5,.g-b--pull--t4of10{margin-right:40%}.g-b--pull--t3of5,.g-b--pull--t6of10{margin-right:60%}.g-b--pull--t4of5,.g-b--pull--t8of10{margin-right:80%}.g-b--pull--t1of6,.g-b--pull--t2of12{margin-right:16.666%}.g-b--pull--t5of6,.g-b--pull--t10of12{margin-right:83.333%}.g-b--pull--t1of8{margin-right:12.5%}.g-b--pull--t3of8{margin-right:37.5%}.g-b--pull--t5of8{margin-right:62.5%}.g-b--pull--t7of8{margin-right:87.5%}.g-b--pull--t1of10{margin-right:10%}.g-b--pull--t3of10{margin-right:30%}.g-b--pull--t7of10{margin-right:70%}.g-b--pull--t9of10{margin-right:90%}.g-b--pull--t1of12{margin-right:8.333%}.g-b--pull--t5of12{margin-right:41.666%}.g-b--pull--t7of12{margin-right:58.333%}.g-b--pull--t11of12{margin-right:91.666%}.splashscreen-dillinger{width:500px}.splashscreen p{font-size:1.25rem;margin-bottom:1.43749rem;padding-top:.56251rem}.title{font-size:.8rem;margin-bottom:.77999rem;padding-top:.22001rem}.title-document{font-size:1.25rem;margin-bottom:.89999rem;padding-top:.10001rem}.menu .menu-item--save-to,.menu .menu-item--import-from{display:block}.menu .menu-item--preview,.menu .menu-item--save-to.in-sidebar,.menu .menu-item--import-from.in-sidebar{display:none}.settings a{font-size:1.25rem}.words,.characters{font-size:.8rem;margin-bottom:.77999rem;padding-top:.22001rem}.modal--dillinger.about .modal-dialog{font-size:1.25rem}.enter-zen-mode{display:block}.close-zen-mode{right:3rem;top:3rem}#zen{font-size:1.25rem;width:500px}.split-editor{border-right:1px solid #E8E8E8;float:left;height:calc(100vh - 172px);-webkit-overflow-scrolling:touch;padding-right:16px;width:50%}.show-preview .split-editor{display:block}.split-preview{display:block;float:right;height:calc(100vh - 172px);-webkit-overflow-scrolling:touch;position:relative;top:0;width:50%}#editor{font-size:1rem}.preview-mode-toggle-src,.preview-mode-toggle-html{display:block}}@media screen and (min-width:62.5em){html{font-size:.875em}body{font-size:1rem}ul,ol{margin-bottom:.83999rem;padding-top:.16001rem}p{padding-top:.66001rem}p,pre{margin-bottom:1.33999rem}pre,blockquote p{font-size:1rem;padding-top:.66001rem}blockquote p{margin-bottom:.33999rem}h1{font-size:2.0571429rem;margin-bottom:.21999rem;padding-top:.78001rem}h2{font-size:1.953125rem;margin-bottom:.1835837rem;padding-top:.8164163rem}h3{font-size:1.6457143rem;margin-bottom:.07599rem;padding-top:.92401rem}h4{font-size:1.5625rem;margin-bottom:.546865rem;padding-top:.453135rem}h5{font-size:1.25rem;margin-bottom:-.56251rem;padding-top:.56251rem}h6{font-size:1rem;margin-bottom:-.65001rem;padding-top:.65001rem}.g{margin-left:-16px;margin-right:-16px}.g-b{padding-left:16px;padding-right:16px}.g-b--d1of1{width:100%}.g-b--d1of2,.g-b--d2of4,.g-b--d3of6,.g-b--d4of8,.g-b--d5of10,.g-b--d6of12{width:50%}.g-b--d1of3,.g-b--d2of6,.g-b--d4of12{width:33.333%}.g-b--d2of3,.g-b--d4of6,.g-b--d8of12{width:66.666%}.g-b--d1of4,.g-b--d2of8,.g-b--d3of12{width:25%}.g-b--d3of4,.g-b--d6of8,.g-b--d9of12{width:75%}.g-b--d1of5,.g-b--d2of10{width:20%}.g-b--d2of5,.g-b--d4of10{width:40%}.g-b--d3of5,.g-b--d6of10{width:60%}.g-b--d4of5,.g-b--d8of10{width:80%}.g-b--d1of6,.g-b--d2of12{width:16.666%}.g-b--d5of6,.g-b--d10of12{width:83.333%}.g-b--d1of8{width:12.5%}.g-b--d3of8{width:37.5%}.g-b--d5of8{width:62.5%}.g-b--d7of8{width:87.5%}.g-b--d1of10{width:10%}.g-b--d3of10{width:30%}.g-b--d7of10{width:70%}.g-b--d9of10{width:90%}.g-b--d1of12{width:8.333%}.g-b--d5of12{width:41.666%}.g-b--d7of12{width:58.333%}.g-b--d11of12{width:91.666%}.g-b--push--d1of1{margin-left:100%}.g-b--push--d1of2,.g-b--push--d2of4,.g-b--push--d3of6,.g-b--push--d4of8,.g-b--push--d5of10,.g-b--push--d6of12{margin-left:50%}.g-b--push--d1of3,.g-b--push--d2of6,.g-b--push--d4of12{margin-left:33.333%}.g-b--push--d2of3,.g-b--push--d4of6,.g-b--push--d8of12{margin-left:66.666%}.g-b--push--d1of4,.g-b--push--d2of8,.g-b--push--d3of12{margin-left:25%}.g-b--push--d3of4,.g-b--push--d6of8,.g-b--push--d9of12{margin-left:75%}.g-b--push--d1of5,.g-b--push--d2of10{margin-left:20%}.g-b--push--d2of5,.g-b--push--d4of10{margin-left:40%}.g-b--push--d3of5,.g-b--push--d6of10{margin-left:60%}.g-b--push--d4of5,.g-b--push--d8of10{margin-left:80%}.g-b--push--d1of6,.g-b--push--d2of12{margin-left:16.666%}.g-b--push--d5of6,.g-b--push--d10of12{margin-left:83.333%}.g-b--push--d1of8{margin-left:12.5%}.g-b--push--d3of8{margin-left:37.5%}.g-b--push--d5of8{margin-left:62.5%}.g-b--push--d7of8{margin-left:87.5%}.g-b--push--d1of10{margin-left:10%}.g-b--push--d3of10{margin-left:30%}.g-b--push--d7of10{margin-left:70%}.g-b--push--d9of10{margin-left:90%}.g-b--push--d1of12{margin-left:8.333%}.g-b--push--d5of12{margin-left:41.666%}.g-b--push--d7of12{margin-left:58.333%}.g-b--push--d11of12{margin-left:91.666%}.g-b--pull--d1of1{margin-right:100%}.g-b--pull--d1of2,.g-b--pull--d2of4,.g-b--pull--d3of6,.g-b--pull--d4of8,.g-b--pull--d5of10,.g-b--pull--d6of12{margin-right:50%}.g-b--pull--d1of3,.g-b--pull--d2of6,.g-b--pull--d4of12{margin-right:33.333%}.g-b--pull--d2of3,.g-b--pull--d4of6,.g-b--pull--d8of12{margin-right:66.666%}.g-b--pull--d1of4,.g-b--pull--d2of8,.g-b--pull--d3of12{margin-right:25%}.g-b--pull--d3of4,.g-b--pull--d6of8,.g-b--pull--d9of12{margin-right:75%}.g-b--pull--d1of5,.g-b--pull--d2of10{margin-right:20%}.g-b--pull--d2of5,.g-b--pull--d4of10{margin-right:40%}.g-b--pull--d3of5,.g-b--pull--d6of10{margin-right:60%}.g-b--pull--d4of5,.g-b--pull--d8of10{margin-right:80%}.g-b--pull--d1of6,.g-b--pull--d2of12{margin-right:16.666%}.g-b--pull--d5of6,.g-b--pull--d10of12{margin-right:83.333%}.g-b--pull--d1of8{margin-right:12.5%}.g-b--pull--d3of8{margin-right:37.5%}.g-b--pull--d5of8{margin-right:62.5%}.g-b--pull--d7of8{margin-right:87.5%}.g-b--pull--d1of10{margin-right:10%}.g-b--pull--d3of10{margin-right:30%}.g-b--pull--d7of10{margin-right:70%}.g-b--pull--d9of10{margin-right:90%}.g-b--pull--d1of12{margin-right:8.333%}.g-b--pull--d5of12{margin-right:41.666%}.g-b--pull--d7of12{margin-right:58.333%}.g-b--pull--d11of12{margin-right:91.666%}.splashscreen-dillinger{width:700px}.splashscreen p{font-size:1.25rem;margin-bottom:1.43749rem;padding-top:.56251rem}.title{font-size:.8rem;margin-bottom:.77999rem;padding-top:.22001rem}.title-document{font-size:1.25rem;margin-bottom:.89999rem;padding-top:.10001rem}.menu .menu-item--export-as{display:block}.menu .menu-item--preview{display:none}.settings a{font-size:1.25rem}.words,.characters{font-size:.8rem;margin-bottom:.77999rem;padding-top:.22001rem}.modal--dillinger.about .modal-dialog,#zen{font-size:1.25rem}#zen{width:700px}#editor{font-size:1rem}}@media screen and (min-width:87.5em){html{font-size:.875em}body{font-size:1rem}ul,ol{margin-bottom:.83999rem;padding-top:.16001rem}p{padding-top:.66001rem}p,pre{margin-bottom:1.33999rem}pre,blockquote p{font-size:1rem;padding-top:.66001rem}blockquote p{margin-bottom:.33999rem}h1{font-size:2.0571429rem;margin-bottom:.21999rem;padding-top:.78001rem}h2{font-size:1.953125rem;margin-bottom:.1835837rem;padding-top:.8164163rem}h3{font-size:1.6457143rem;margin-bottom:.07599rem;padding-top:.92401rem}h4{font-size:1.5625rem;margin-bottom:.546865rem;padding-top:.453135rem}h5{font-size:1.25rem;margin-bottom:-.56251rem;padding-top:.56251rem}h6{font-size:1rem;margin-bottom:-.65001rem;padding-top:.65001rem}.splashscreen-dillinger{width:800px}.splashscreen p{font-size:1.25rem;margin-bottom:1.43749rem;padding-top:.56251rem}.title{font-size:.8rem;margin-bottom:.77999rem;padding-top:.22001rem}.title-document{margin-bottom:.89999rem;padding-top:.10001rem}.title-document,.settings a{font-size:1.25rem}.words,.characters{font-size:.8rem;margin-bottom:.77999rem;padding-top:.22001rem}.modal--dillinger.about .modal-dialog,#zen{font-size:1.25rem}#editor{font-size:1rem}}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn,.form-inline .input-group .form-control{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .radio,.form-inline .checkbox{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .radio label,.form-inline .checkbox label{padding-left:0}.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}.form-horizontal .control-label{text-align:right;margin-bottom:0;padding-top:7px}.form-horizontal .form-group-lg .control-label{padding-top:14.3px}.form-horizontal .form-group-sm .control-label{padding-top:6px}.modal-dialog{width:600px;margin:30px auto}.modal-content{box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}}@media (min-width:992px){.modal-lg{width:900px}}@media screen and (max-width:1200px){#_default_{max-width:30%}#_default_ ._default_{font-size:.825rem;line-height:.875rem;padding:12px 12px 6px 24px;text-align:justify}}@media screen and (max-width:1100px){#_default_{max-width:27%}#_default_ ._default_{font-size:.8rem;line-height:.85rem;padding:12px 6px 6px 24px;text-align:justify}}@media screen and (max-width:1000px){#_default_{max-width:24%}#_default_ ._default_{font-size:.775rem;line-height:.8rem;padding:12px 6px 6px 24px;text-align:justify}}@media screen and (max-width:900px){#_default_{max-width:30%}}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;overflow-x:auto;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd;-webkit-overflow-scrolling:touch}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>thead>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>tfoot>tr>td{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>thead>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.table-responsive>.table-bordered>thead>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}}@media screen and (max-width:720px){#_default_{max-width:60%}#_default_ ._default_{font-size:.75rem;line-height:1rem;padding:12px 24px}}@media screen and (max-width:620px){#_default_{max-width:50%}#_default_ ._default_{font-size:.66rem;letter-spacing:1px;line-height:1rem;padding:10px 24px}}@media screen and (max-width:520px){#_default_ ._default_{font-size:.4rem;line-height:.875rem;padding:6px 12px 6px 24px;text-align:justify}}@media screen and (max-width:460px){#_default_{display:none}}@media screen and (max-width:46.1875em){.editor-header{display:none}.editor-header--first{display:block;width:100%}}</style></head><body id="preview">
+<h1><a id="The_apalikegerman_package_an_author_year_style_for_BibTeX_0"></a>The <code>apalike-german</code> package: an author year style for BibTeX</h1>
+<h2><a id="Objective_2"></a>Objective</h2>
+<p>I made <code>apalike-german.bst</code> because I was forced to use plain old BibTeX in conjunction with <code>apalike.bst</code> but I needed German localization. It is simply a copy of the original file. My editions concern the following:</p>
+<ul>
+<li>Inserted words were translated to German.</li>
+<li>Puryifing of label numbers is removed. Thus, dots in the label year shall not be removed.</li>
+<li>Capitalization of title words will remain.</li>
+</ul>
+<h2><a id="Installing_10"></a>Installing</h2>
+<p>Create the directory <code>{TEXMF}/bibtex/bst/apalike-german</code>, move <code>apalike-german.bst</code> there and update the file name database.</p>
+<h2><a id="Usage_14"></a>Usage</h2>
+<p>First let me point out that if you are not forced to use plain BibTeX it is much better to rely on the <code>biblatex</code> package, preferably in conjunction with Biber. Thus, you gain much more flexibility for your references. If you took this into account, call <code>\bibliographystyle{apalike-german}</code> as usual after <code>\begin{document}</code>.</p>
+<p>In case a numerical year lacks you can use an expression like “n.d.â€:</p>
+<pre><code>@MISC{undated-item,
+ ...
+ year = {o.J.},
+}
+</code></pre>
+<p>The dots are kept, but only four digits are allowed!</p>
+<h2><a id="Help_27"></a>Help</h2>
+<p>Best is to use the <a href="https://github.com/CarlOrff/apalike-german">GitHub tracker</a>.</p>
+<p>Or visit me on <a href="https://ingram-braun.net/public/programming/tex/apalike-german-bst-bibtex-bibliography-author-date-style#ib_campaign=$apalike-german&amp;ib_medium=repository&amp;ib_source=readme">my website and use the comment function</a> there.</p>
+<h2><a id="History_33"></a>History</h2>
+<ul>
+<li>11-sep-2016: Original version by Ingram Braun</li>
+<li>17-mar-2018: Macro <code>mar</code> bug fixed (<a href="https://github.com/CarlOrff/apalike-german/issues/1">Issue #1</a>).</li>
+</ul>
+<h2><a id="Copyright_38"></a>Copyright</h2>
+<p>© 2016–2018 by <a href="https://ingram-braun.net/#ib_campaign=$apalike-german&amp;ib_medium=repository&amp;ib_source=readme">Ingram Braun</a>, 1986–2010 by Oren Patashnik.</p>
+<h2><a id="License_42"></a>License</h2>
+<p><a href="https://www.latex-project.org/lppl.txt">The LaTeX Project Public License 1.3c or later</a></p>
+
+</body></html> \ No newline at end of file
diff --git a/biblio/bibtex/contrib/apalike-german/README.md b/biblio/bibtex/contrib/apalike-german/README.md
new file mode 100644
index 0000000000..f3672bdbd5
--- /dev/null
+++ b/biblio/bibtex/contrib/apalike-german/README.md
@@ -0,0 +1,45 @@
+# The `apalike-german` package: an author year style for BibTeX
+
+## Objective
+
+I made `apalike-german.bst` because I was forced to use plain old BibTeX in conjunction with `apalike.bst` but I needed German localization. It is simply a copy of the original file. My editions concern the following:
+
+ - Inserted words were translated to German.
+ - Puryifing of label numbers is removed. Thus, dots in the label year shall not be removed.
+ - Capitalization of title words will remain.
+
+## Installing
+
+Create the directory `{TEXMF}/bibtex/bst/apalike-german`, move `apalike-german.bst` there and update the file name database.
+
+## Usage
+
+First let me point out that if you are not forced to use plain BibTeX it is much better to rely on the `biblatex` package, preferably in conjunction with Biber. Thus, you gain much more flexibility for your references. If you took this into account, call `\bibliographystyle{apalike-german}` as usual after `\begin{document}`.
+
+In case a numerical year lacks you can use an expression like "n.d.":
+
+ @MISC{undated-item,
+ ...
+ year = {o.J.},
+ }
+
+The dots are kept, but only four digits are allowed!
+
+## Help
+
+Best is to use the [GitHub tracker](https://github.com/CarlOrff/apalike-german).
+
+Or visit me on [my website and use the comment function](https://ingram-braun.net/public/programming/tex/apalike-german-bst-bibtex-bibliography-author-date-style#ib_campaign=$apalike-german&ib_medium=repository&ib_source=readme) there.
+
+## History
+
+ - 11-sep-2016: Original version by Ingram Braun
+ - 17-mar-2018: Macro `mar` bug fixed ([Issue #1](https://github.com/CarlOrff/apalike-german/issues/1)).
+
+## Copyright
+
+© 2016–2018 by [Ingram Braun](https://ingram-braun.net/#ib_campaign=$apalike-german&ib_medium=repository&ib_source=readme), 1986–2010 by Oren Patashnik.
+
+## License
+
+[The LaTeX Project Public License 1.3c or later](http://www.latex-project.org/lppl.txt) \ No newline at end of file
diff --git a/biblio/bibtex/contrib/apalike-german/apalike-german.bst b/biblio/bibtex/contrib/apalike-german/apalike-german.bst
new file mode 100644
index 0000000000..e8df34904d
--- /dev/null
+++ b/biblio/bibtex/contrib/apalike-german/apalike-german.bst
@@ -0,0 +1,1115 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% This is a copy of apalike.bst 0.99a with German localization.
+%
+% History:
+% 11-sep-2016: Original version by Ingram Braun (https://ingram-braun.net/).
+% 17-mar-2018: Macro "mar" bug fixed.
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% BibTeX `apalike' bibliography style (version 0.99a, 8-Dec-10), adapted
+% the `alpha' style, version 0.99a; for BibTeX version 0.99a.
+%
+% Copyright (C) 1988, 2010 Oren Patashnik.
+% Unlimited copying and redistribution of this file are permitted as long as
+% it is unmodified. Modifications (and redistribution of modified versions)
+% are also permitted, but only if the resulting file is renamed.
+%
+% Differences between this style and `alpha' are generally heralded by a `%'.
+% The file btxbst.doc has the documentation for alpha.bst.
+%
+% This style should be used with the `apalike' LaTeX style (apalike.sty).
+% \cite's come out like "(Jones, 1986)" in the text but there are no labels
+% in the bibliography, and something like "(1986)" comes out immediately
+% after the author. Author (and editor) names appear as last name, comma,
+% initials. A `year' field is required for every entry, and so is either
+% an author (or in some cases, an editor) field or a key field.
+%
+% Editorial note:
+% Many journals require a style like `apalike', but I strongly, strongly,
+% strongly recommend that you not use it if you have a choice---use something
+% like `plain' instead. Mary-Claire van Leunen (A Handbook for Scholars,
+% Knopf, 1979) argues convincingly that a style like `plain' encourages better
+% writing than one like `apalike'. Furthermore the strongest arguments for
+% using an author-date style like `apalike'---that it's "the most practical"
+% (The Chicago Manual of Style, University of Chicago Press, thirteenth
+% edition, 1982, pages 400--401)---fall flat on their face with the new
+% computer-typesetting technology. For instance page 401 anachronistically
+% states "The chief disadvantage of [a style like `plain'] is that additions
+% or deletions cannot be made after the manuscript is typed without changing
+% numbers in both text references and list." LaTeX sidesteps the disadvantage.
+%
+% History:
+% 15-sep-86 (OP) Original version by Oren Patashnik, ideas from Susan King.
+% 10-nov-86 (OP) Truncated the sort.key$ string to the correct length
+% in bib.sort.order to eliminate error message.
+% 24-jan-88 (OP) Updated for BibTeX version 0.99a, from alpha.bst 0.99a;
+% apalike now sorts by author, then year, then title;
+% THIS `apalike' VERSION DOES NOT WORK WITH BIBTEX 0.98i.
+% 8-dec-10 (OP) Still version 0.99a, as the code itself was unchanged;
+% this release clarified the license.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+% month not used in apalike
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+% apalike needs this function because
+% the year has special punctuation;
+% apalike ignores the month
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { write$
+ " (" year * extra.label * ")" *
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't := % last name first
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " u~a." * }
+ { " und " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.key} % this function is just for apalike
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", Herausgeber" * }
+ { ", Herausgeber" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "Band" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " in " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "Nummer" }
+ { "Nummer" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ ". Auf\kern0pt lage" * }
+ { edition "t" change.case$ ". Auf\kern0pt lage" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "Seiten" pages n.dashify tie.or.space.connect }
+ { "Seite" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "Kapitel" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technischer Bericht" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ "In" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Band" volume tie.or.space.connect
+ " von " *
+ }
+ if$
+ "\cite{" * crossref * "}" * % this is for apalike
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ "In" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ howpublished output
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address output % for apalike
+ new.sentence % there's no year
+ organization output % here so things
+ publisher output % are simpler
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title output
+ new.block
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "Dissertation" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output % for apalike
+ new.sentence % we always output
+ organization output % a nonempty organization
+ publisher output % here
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"Januar"}
+
+MACRO {feb} {"Februar"}
+
+MACRO {mar} {"M\^^b{a}rz"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"Mai"}
+
+MACRO {jun} {"Juni"}
+
+MACRO {jul} {"Juli"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"Oktober"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"Dezember"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+% There are three apalike cases: one person (Jones),
+% two (Jones and de~Bruijn), and more (Jones et~al.).
+% This function is much like format.crossref.editors.
+%
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " u~a." * }
+ { " und " * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key, no organization
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label % apalike ignores organization
+ 'author.key.label % for labeling and sorting
+ if$
+ }
+ if$
+ ", " % these three lines are
+ * % for apalike, which
+ year field.or.null #-1 #4 substring$ % uses all four digits
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$ % apalike uses initials
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't := % <= here
+ nameptr numnames = t "others" = and
+ { "u. a." * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+% apalike uses two sorting passes; the first one sets the
+% labels so that the `a's, `b's, etc. can be computed;
+% the second pass puts the references in "correct" order.
+% The presort function is for the first pass. It computes
+% label, sort.label, and title, and then concatenates.
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$ % for
+ 'sort.label := % apalike
+ sort.label % style
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT % by label, sort.label, title---for final label calculation
+
+STRINGS { last.label next.extra } % apalike labels are only for the text;
+
+INTEGERS { last.extra.num } % there are none in the bibliography
+
+FUNCTION {initialize.extra.label.stuff} % and hence there is no `longest.label'
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+% Now that the label is right we sort for real,
+% on sort.label then year then title. This is
+% for the second sorting pass.
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT % by sort.label, year, title---giving final bibliography order
+
+FUNCTION {begin.bib}
+{ preamble$ empty$ % no \etalchar in apalike
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$ % no labels in apalike
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/apalike2/apalike2.bst b/biblio/bibtex/contrib/apalike2/apalike2.bst
new file mode 100644
index 0000000000..8109d80d24
--- /dev/null
+++ b/biblio/bibtex/contrib/apalike2/apalike2.bst
@@ -0,0 +1,1273 @@
+% BibTeX `apalike' bibliography style (24-Jan-88 version)
+% Adapted from the `alpha' style, version 0.99a; for BibTeX version 0.99a.
+% Copyright (C) 1988, all rights reserved.
+% Copying of this file is allowed, provided that if you make any changes at all
+% you name it something other than `apalike.bst'.
+% This restriction helps ensure that all copies are identical.
+% Differences between this style and `alpha' are generally heralded by a `%'.
+% The file btxbst.doc has the documentation for alpha.bst.
+%
+% This style should be used with the `apalike' LaTeX style (apalike.sty).
+% \cite's come out like "(Jones, 1986)" in the text but there are no labels
+% in the bibliography, and something like "(1986)" comes out immediately
+% after the author. Author (and editor) names appear as last name, comma,
+% initials. A `year' field is required for every entry, and so is either
+% an author (or in some cases, an editor) field or a key field.
+%
+% Editorial note:
+% Many journals require a style like `apalike', but I strongly, strongly,
+% strongly recommend that you not use it if you have a choice---use something
+% like `plain' instead. Mary-Claire van Leunen (A Handbook for Scholars,
+% Knopf, 1979) argues convincingly that a style like `plain' encourages better
+% writing than one like `apalike'. Furthermore the strongest arguments for
+% using an author-date style like `apalike'---that it's "the most practical"
+% (The Chicago Manual of Style, University of Chicago Press, thirteenth
+% edition, 1982, pages 400--401)---fall flat on their face with the new
+% computer-typesetting technology. For instance page 401 anachronistically
+% states "The chief disadvantage of [a style like `plain'] is that additions
+% or deletions cannot be made after the manuscript is typed without changing
+% numbers in both text references and list." LaTeX sidesteps the disadvantage.
+%
+% History:
+% 15-sep-86 (SK,OP) Original version, by Susan King and Oren Patashnik.
+% 10-nov-86 (OP) Truncated the sort.key$ string to the correct length
+% in bib.sort.order to eliminate error message.
+% 24-jan-88 (OP) Updated for BibTeX version 0.99a, from alpha.bst 0.99a;
+% apalike now sorts by author, then year, then title;
+% THIS `apalike' VERSION DOES NOT WORK WITH BIBTEX 0.98i.
+% Local modifications 10/89 -- Brian Reiser
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+% month not used in apalike
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {eho.special.output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { " " * write$ }
+ { output.state after.block =
+ { % add.period$ write$
+ ": " write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { % add.period$ " " * write$
+ ": " * write$
+ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {eho.special.output}
+{ duplicate$ empty$
+ 'pop$
+ 'eho.special.output.nonnull
+ if$
+}
+
+%% Added by Eric Ho <eho@word> on Wed Jan 10 20:13:56 1990
+%% A special patch for output.nonnull in book environment.
+
+FUNCTION {eho.output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ": " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+%% Added by Eric Ho <eho@word> on Wed Jan 10 20:13:56 1990
+%% A special patch for output in book environment.
+
+FUNCTION {eho.output}
+{ duplicate$ empty$
+ 'pop$
+ 'eho.output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+%% Added by Eric Ho <eho@word> on Wed Jan 10 20:13:56 1990
+%% A special patch for output.check in book environment.
+
+FUNCTION {eho.output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'eho.output.nonnull
+ if$
+}
+
+% apalike needs this function because
+% the year has special punctuation;
+% apalike ignores the month
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { write$
+ " (" year * extra.label * ")" *
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't := % last name first
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " \& " * t * } % changed from " and " for names -- BJR 10/5/89
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+%% Added by Fri Jan 12 19:03:22 1990 on Fri Jan 12 19:03:27 1990
+%% Mainly to make sure that editors have initials before last names.
+
+FUNCTION {eho.format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f.} {vv~}{ll}{, jj}" format.name$ 't := %% initials first.
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " \& " * t * } % changed from " and " for names -- BJR 10/5/89
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.key} % this function is just for apalike
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", Eds." * } % changed from ", editors" -- BJR 10/5/89
+ { ", Ed." * } % changed from ", editor" -- BJR 10/5/89
+ if$
+ }
+ if$
+}
+
+%% Added by Eric Ho <eho@word> Fri Jan 12 19:11:12 1990
+%% Mainly to call eho.format.names instead of format.names and
+%% to make Eds or Ed to be surrounded by pararentheses instead of preceeded by
+%% a comma.
+
+FUNCTION {eho.format.editors}
+{ editor empty$
+ { "" }
+ { editor eho.format.names
+ editor num.names$ #1 >
+ { " (Eds.)" * } % changed from ", editors" -- BJR 10/5/89
+ { " (Ed.)" * } % changed from ", editor" -- BJR 10/5/89
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+% { "pages" pages n.dashify tie.or.space.connect }
+% { "page" pages tie.or.space.connect }
+ { "(pp.\" pages n.dashify tie.or.space.connect }
+ { "(pp.\" pages tie.or.space.connect }
+ if$
+ ")." *
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ", " * pages n.dashify * } % changed from ":" for vol,pgs -- BJR 10/5/89
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+%% Added by Eric Ho <eho@word> Fri Jan 12 19:17:37 1990
+%% Primarily to call eho.format.editors instead of format.editors.
+
+FUNCTION {eho.format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " eho.format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ "In" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "\cite{" * crossref * "}" * % this is for apalike
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ "In" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+%% Modified by Eric Ho <eho@word> on Wed Jan 10 20:30:11 1990
+%% Making it to call eho.output.check instead of output.check and eho.output
+%% instead of output.
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+% publisher "publisher" output.check
+% address output
+% switched order of publisher and address for book -- BJR 10/5/89
+ address eho.output % Using eho.output instead of output.
+ publisher "publisher" eho.output.check % Using eho.output.check
+ % instead of output.check.
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ howpublished output
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+%% Modified by Eric Ho <eho@word> on Wed Jan 10 20:27:26 1990
+%% Making it to call eho.output.check instead of output.check and eho.output
+%% instead of output.
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" eho.output.check % Using eho.output.check instead
+ % of output.check.
+ address eho.output % Using eho.output instead of output.
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+%% Modified by Eric Ho <eho@word> on Wed Jan 10 20:27:26 1990
+%% Making it to call eho.output.check instead of output.check and eho.output
+%% instead of output. Also modified by Eric Ho <eho@word> on Fri Jan 12
+%% 19:21:59 1990 so as to call eho.format.in.ed.booktitle instead of the old
+%% format.in.ed.booktitle.
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { eho.format.in.ed.booktitle "booktitle" output.check
+ % The above line is changed by Eric Ho <eho@word> on Fri Jan 12
+ % 19:20:28 1990 so that it'll call eho.format.in.ed.booktitle instead
+ % of format.in.ed.booktitle.
+
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages eho.special.output
+ new.sentence
+% publisher "publisher" output.check
+% address output
+% switched order of publisher and address for incollection -- BJR 1/3/90
+ address eho.output % Use eho.output instead of output.
+ publisher "publisher" eho.output.check % Use eho.output.check instead
+ % of output.check.
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { % format.in.ed.booktitle "booktitle" output.check
+ eho.format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages eho.special.output
+ address eho.special.output % for apalike
+ new.sentence % there's no year
+ organization eho.special.output % here so things
+ publisher eho.special.output % are simpler
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title output
+ new.block
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output % for apalike
+ new.sentence % we always output
+ organization output % a nonempty organization
+ publisher output % here
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+% format.title "title" output.check
+ format.btitle "title" output.check % change to ital title -- BJR
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+% There are three apalike cases: one person (Jones),
+% two (Jones and de~Bruijn), and more (Jones et~al.).
+% This function is much like format.crossref.editors.
+%
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " \& " * s #2 "{vv~}{ll}" format.name$ * } % " and " -- BJR 10/5/89
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key, no organization
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label % apalike ignores organization
+ 'author.key.label % for labeling and sorting
+ if$
+ }
+ if$
+ ", " % these three lines are
+ * % for apalike, which
+ year field.or.null purify$ #-1 #4 substring$ % uses all four digits
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$ % apalike uses initials
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't := % <= here
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+% apalike uses two sorting passes; the first one sets the
+% labels so that the `a's, `b's, etc. can be computed;
+% the second pass puts the references in "correct" order.
+% The presort function is for the first pass. It computes
+% label, sort.label, and title, and then concatenates.
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$ % for
+ 'sort.label := % apalike
+ sort.label % style
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT % by label, sort.label, title---for final label calculation
+
+STRINGS { last.label next.extra } % apalike labels are only for the text;
+
+INTEGERS { last.extra.num } % there are none in the bibliography
+
+FUNCTION {initialize.extra.label.stuff} % and hence there is no `longest.label'
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+% Now that the label is right we sort for real,
+% on sort.label then year then title. This is
+% for the second sorting pass.
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT % by sort.label, year, title---giving final bibliography order
+
+FUNCTION {begin.bib}
+{ preamble$ empty$ % no \etalchar in apalike
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$ % no labels in apalike
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/astron/README b/biblio/bibtex/contrib/astron/README
new file mode 100644
index 0000000000..a16608fef7
--- /dev/null
+++ b/biblio/bibtex/contrib/astron/README
@@ -0,0 +1,37 @@
+ ASTRON.BST
+
+ A BibTeX style for astronomical journals, for use with
+ BibTeX 0.99c.
+
+
+
+This distribution contains the following files:
+
+ astron.bst The BibTeX style for Astronomical Journals
+ astron.sty The associated LaTeX style
+
+ astdoc.tex LaTeX source of the documentation
+ astdoc.bib + related files
+ astdoc.aux
+ astdoc.bbl
+ astdoc.toc
+
+ example.tex LaTeX file with example citations
+ example.bib Example of a bibliographic database
+
+ mnemonic.bib Supporting files
+ template.bib
+
+ README This file
+
+To prepare the LaTeX documentation on the ASTRON bibliography style,
+run LaTeX on ASTDOC.TEX. If you have copied all ASTDOC files and the
+ASTRON style files onto your computer, you will need only one run to
+get a DVI file with all cross references in place.
+
+*** BUG REPORT ***
+
+A major bug has been reported: the UUCP mail address in the
+documentation and in the copyright header of the various files
+should NOT read: l42@nikhef.nikhefh.nl
+but it SHOULD read: l42@nikhefh.nikhef.nl
diff --git a/biblio/bibtex/contrib/astron/astdoc.bib b/biblio/bibtex/contrib/astron/astdoc.bib
new file mode 100644
index 0000000000..ea7721b725
--- /dev/null
+++ b/biblio/bibtex/contrib/astron/astdoc.bib
@@ -0,0 +1,32 @@
+@ARTICLE{daniel,
+ AUTHOR = "H.-U. Daniel and J. Berger and D. Savaray",
+ YEAR = 1989,
+ TITLE = "TeX and Mathor3--TeX for Astronomy and Astrophysics
+ Journal and Supplement Series",
+ JOURNAL = mess,
+ VOLUME = 56,
+ PAGES = "67-68"}
+
+@BOOK{burkhardt,
+ EDITOR = "G. Burkhardt and U. Esser and H. Hefele and I. Heinrich
+ and W. Hoffmann and D. Krahn and V. R. Matas and
+ L. D. Schmadel and R. Wielen and G. Zech",
+ TITLE = "Astronomy and Astrophysics Abstracts",
+ VOLUME = "49A",
+ YEAR = 1990,
+ PUBLISHER = "Springer-Verlag",
+ ADDRESS = "Heidelberg"}
+
+@BOOK{lamport,
+ AUTHOR = "Leslie Lamport",
+ TITLE = "LaTeX, A Document Preparation System",
+ PUBLISHER = "Addison-Wesley",
+ ADDRESS = "Reading, Massachusetts",
+ YEAR = 1986 }
+
+@UNPUBLISHED{patashnik,
+ AUTHOR = "Oren Patashnik",
+ TITLE = "{\BibTeX{}ing}",
+ ADDRESS = "Stanford University",
+ YEAR = 1988,
+ NOTE = "Supplied with {\BibTeX} distributions" }
diff --git a/biblio/bibtex/contrib/astron/astdoc.pdf b/biblio/bibtex/contrib/astron/astdoc.pdf
new file mode 100644
index 0000000000..112c45bca7
--- /dev/null
+++ b/biblio/bibtex/contrib/astron/astdoc.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/astron/astdoc.tex b/biblio/bibtex/contrib/astron/astdoc.tex
new file mode 100644
index 0000000000..c2a15325ab
--- /dev/null
+++ b/biblio/bibtex/contrib/astron/astdoc.tex
@@ -0,0 +1,1154 @@
+% Copyright (C) 1990 Sake J. Hogeveen.
+
+% This file contains the LaTeX source of the documentation for the BibTeX
+% style file ASTRON.BST and the complementary LaTeX style ASTRON.STY.
+
+% Copyright Notice:
+% The files ASTRON.BST, ASTRON.STY, ASTDOC.TEX, ASTDOC.BIB, EXAMPLE.TEX,
+% EXAMPLE.BIB, MNEMONIC.BIB, and TEMPLATE.BIB are a package.
+% You may copy and distribute them freely for non-commercial purposes,
+% provided that you keep the package together and this copyright notice
+% in tact.
+% You may not alter or modify the files; this helps to ensure that all
+% distributions of ASTRON.BST and related files are the same.
+% If you make any modifications, then you must give the files new names,
+% other than the present.
+% The author bears no responsibilities for errors in this document or
+% the software it describes; and shall not be held liable for any indirect,
+% incidental, or consequential damages.
+
+% If you find any bugs in the style files, or omissions in the documentation,
+% please report them to: E-mail A410SAKE@SARA.NL; UUCP: l42@nikhefh.nikhef.nl
+
+\documentstyle[titlepage,astron]{article}
+
+\textwidth 5.5in
+\textheight 8.5in
+\hoffset -.35in
+\voffset -.6in
+
+\setcounter{secnumdepth}{2}
+\setcounter{tocdepth}{3}
+
+\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em\TeX }}
+
+\title{%{\huge\tt astron.bst} \bigskip \\
+ A \BibTeX\ Style for Astronomical Journals}
+\author{(for use with BibTeX 0.99c) \bigskip \\
+ Sake J. Hogeveen}
+\date{\vspace{.5in}
+ \fbox{\parbox{3in}{\small This is a preliminary version. Please
+ report any bugs in the style files, and errors or omissions in the
+ documentation to one of the E-mail addresses below.
+ This package is sent to several astronomical journals, with a request
+ for their official approval of its use.
+ Version 1.0 will hopefully contain a list of journals that have given
+ their consent.}}\vfil
+ \parbox{4.5 in}{\normalsize Copyright \copyright 1990, Sake J. Hogeveen.
+ The files {\tt astron.bst}, {\tt astron.sty}, {\tt astdoc.tex},
+ {\tt astdoc.bib}, {\tt mnemonic.bib}, {\tt example.bib}, {\tt example.tex},
+ and {\tt template.bib} are a package.
+ You may copy and distribute them freely for non-commercial purposes,
+ provided that you keep the package together and this copyright notice
+ in tact.
+ You may not alter or modify the files; this helps to ensure that all
+ distributions of {\tt astron.bst} and related files are the same.
+ If you make any modifications, then you must give the files new names,
+ other than the present. \\
+ The author bears no responsibilities for errors in this document or
+ the software it describes; and shall not be held liable for any indirect,
+ incidental, or consequential damages.}\vfil
+ \parbox{5.5 in}{\begin{center} \normalsize
+ Astronomical Institute `Anton Pannekoek', Roetersstraat 15,
+ 1018 {\sc wb} Amsterdam, \\ The Netherlands \medskip \\
+ E-mail: Earn/Internet: {\tt A410SAKE@SARA.NL};
+ UUCP: {\tt l42@nikhefh.nikhef.nl}\end{center}}}
+
+\begin{document}
+\maketitle
+\renewcommand{\BibTeX}{BibTeX}
+\renewcommand{\LaTeX}{LaTeX}
+\tableofcontents
+\newpage
+
+\section*{Introduction}
+\addcontentsline{toc}{section}{Introduction}
+
+This document describes the \BibTeX\ style {\tt astron.bst}.
+\BibTeX\ is a programme that makes it much easier to produce a list of
+references for papers that are prepared with \LaTeX, and it comes with
+nearly every distribution of \LaTeX.
+Consult your local \TeX{}nician if you cannot find it on the computer(s)
+you use.
+
+The {\tt astron.bst} style is designed to produce a list of references in
+the author-year format that is commonly used among astronomical journals.
+The style file produces references in the exact format of
+{\sl Astronomy and Astrophysics}, the European astronomical journal.
+However, the formats of the various astronomical journals (notably
+Monthly Notices of the Royal Astronomical Society, Astrophysics and
+Space Science, The Astronomical Journal, and The Astrophysical Journal)
+only differ in typographical details, such as punctuation and the use
+of italics.
+
+In the near future we may expect astronomical journals to accept
+source or {\sc dvi} files of papers prepared with \TeX\ and \LaTeX.
+It will be possible to use \BibTeX\ and the style {\tt astron.bst}
+presented here {\sl without restrictions\/} with any of the \LaTeX\ style
+files that may be distributed by the journals or their publishers.
+
+For some aspects of scientific publishing with \TeX\ and \LaTeX, see
+appendix~\ref{aspects}
+
+\section{\BibTeX}
+
+This documentation is not intended as an introduction to \BibTeX,
+nor to \LaTeX.
+You are assumed to be familiar with both.
+If you are not: \LaTeX\ is documented in its {\sl User's Guide and
+Reference Manual\/} by Leslie Lamport \cite*{lamport}.
+\BibTeX\ is documented by its author: Oren Patashnik \cite*{patashnik}.
+The manual comes with each distribution of \BibTeX.
+It explains how \BibTeX\ should be used, and how style files can be created
+or adapted.
+
+\BibTeX\ is also documented in section 4.2.3, `Using \BibTeX', and appendix~B,
+`The Bibliography Database', of the \LaTeX\ {\sl User's Guide}.
+If you only want to use existing bibliography styles, the
+information in the \LaTeX\ {\sl User's Guide and Reference Manual\/}
+\cite{lamport} is sufficient.
+
+\section{The `{\tt astron}' style files}
+
+With this package you should find the \BibTeX\ style file {\tt astron.bst}
+and the complementary \LaTeX\ style file {\tt astron.sty}.
+You should install both on the computer on which you run \LaTeX\ and
+\BibTeX.
+Preferably you should put the files in the directory where the standard
+and/or optional \LaTeX\ and \BibTeX\ style files are kept.
+If you are on a multi-user system and have no permission to write
+to these directories, ask your system manager to install them for you.
+If you are the only astronomer on the system, and hence the only user of
+the `{\tt astron}' style, you may also put the files in your working
+directory.
+
+\subsection{$\backslash${\tt cite} and $\backslash${\tt cite*}}
+
+Citations in the author-year format usually look like: `(Author, year)'.
+But sometimes the name of the author is part of the running text,
+and you want to make a citation look like: `\ldots{} Author (year)'.
+To allow for both forms of citations, {\tt astron.sty} provides two
+commands: \verb|\cite| and \verb|\cite*|.
+The command \verb|\cite{|{\it label\/}\verb|}| will produce the full
+citation `(Author, year)', while the command
+\verb|\cite*{|{\it label\/}\verb|}| will produce the short citation `(year)'.
+
+These commands are not standard \LaTeX\ (\LaTeX\ only provides the \verb|\cite|
+command).
+They are added to the vocabulary of any \LaTeX\ document style by including
+the `astron' option in your document style call, e.g.:
+\begin{quotation}
+ \noindent\verb|\documentstyle[11pt,astron]{article}|
+\end{quotation}
+where `{\tt 11pt}' and `{\tt article}' represent the document styles you
+chose to use.
+
+If you want to make a citation of an other format than the formats produced
+by \verb|\cite| or \verb|\cite*|, you will have to type the entire citation
+yourself and use the \verb|\nocite| command.
+The call `\verb|\nocite{|{\it label\/}\verb|}|' in your document will cause
+\LaTeX\ and \BibTeX\ to include the citation indicated by {\it label\/} in
+the list of references, but the \verb|\nocite| command will {\sl not\/}
+be replaced by the {\it key\/} text.
+
+\subsection{{\tt astron.bst} and {\tt astron.sty}}
+
+The style file {\tt astron.bst} causes \BibTeX\ to produce a
+{\it document\/}{\tt .bbl} file with a list of references according
+to the usual format:
+%
+\begin{quotation}
+\noindent \verb|\begin{thebibliography}{}| \\
+\verb|\bibitem[|{\it key}\verb|]{|{\it label}\verb|}|{\it bibliography entry} \\
+\indent $\vdots$ \\
+\verb|\end{thebibliography}|
+\end{quotation}
+%
+The {\it label\/} is, of course, the label which you use in the
+\verb|\cite{|{\it label\/}\verb|}| and \verb|\cite*{|{\it label\/}\verb|}|
+calls in your \LaTeX\ document, and by which \BibTeX\ recognizes entries
+in the {\it database\/}{\tt.bib} file.
+
+\noindent The style file {\tt astron.bst} causes \BibTeX\ to produce {\it key\/}s
+with the format: \verb|{|{\it Author\/}\verb|}{|{\it year\/}\verb|}|.
+The style file {\tt astron.sty} causes \LaTeX\ to replace a
+\verb|\cite{|{\it label\/}\verb|}| call by the text `(Author, year)',
+and a \verb|\cite*{|{\it label\/}\verb|}| call by the text `(year)'.
+Due to the definition of \verb|\@biblabel| in {\tt astron.sty}, the {\it key\/}
+is not printed in the actual list of references.
+
+\subsection{Required, optional, and ignored fields}
+\label{fields}
+
+The bibliography style `{\tt astron}' has its own ideas about which fields
+in an entry are required, optional or ignored.
+Astronomical journals make an effort of `economic' printing, which means
+that they leave everything out that is not absolutely necessary.
+
+The classes of the fields in each entry are tabulated in
+appendix~\ref{classes}.
+One thing I will give away here: in the `author-year' citation system
+it is obvious that {\tt author} and {\tt year} information is
+required for every entry.
+Remember that `required' means that \BibTeX\ issues a warning if the field
+is empty, i.e., if the information is not available in your
+{\it database\/}{\tt .bib} file.
+
+\section{Examples}
+
+The files {\tt example.bib} and {\tt example.tex} show what a bibliographic
+database file might look like, and demonstrate the use of the \verb|\cite|
+and \verb|\cite*| commands in various forms.
+
+\section{Abbreviations}
+\label{abbreviations}
+
+The file {\tt mnemonic.bib} contains a list of mnemonics which may
+be used in the `{\tt journal}' fields of the entries in the bibliographic
+database.
+If you want to use the mnemonics, you should include {\tt mnemonic.bib}
+into the \verb|\bibliography| call:
+%
+\begin{quotation}
+\noindent\verb|\bibliography{mnemonic,|{\it other bibliographic
+ database files\/}\verb|}|
+\end{quotation}
+%
+If you have an entry: `{\tt journal = aa}' (note: {\sl without\/}
+quotes or braces around `{\tt aa}'), then \BibTeX\ will cause the
+mnemonic to be replaced by the text {\it Astron.\ Astrophys.\/} in the
+final list of references.
+
+The list in appendix~\ref{mnemonics} contains the same journals and
+periodicals as section 001 `Periodicals' in
+{\sl Astronomy and Astrophysics Abstracts}, Vol.~49A \cite{burkhardt}.
+The abbreviations follow the recommendations of the ``International
+List of Periodical Title Word Abbreviations'', so you are strongly
+encouraged to use them.
+
+If you want to cite periodicals which are not in {\tt mnemonic.bib},
+or if you think you will never use 90\% of the mnemonics in the
+supplied file, you could create your own mnemonics file, and copy
+from {\tt mnemonic.bib} the abbreviations which you do use.
+
+\section{Maintaining the database}
+
+To setup and maintain bibliographic databases for \BibTeX, this package
+contains a file {\tt template.bib}, which contains templates of the
+entries with their required and optional fields (according to
+{\tt astron.bst}).
+If you want to add an entry to a database, you can copy the relevant
+template from {\tt template.bib} into your database file, and then
+complete the entry with the relevant information.
+
+I have used this method to maintain the databases for quite some time,
+and I find that it saves me from a lot of arduous typing, and many
+typing errors.
+
+\section{Credits}
+
+The \BibTeX\ and \LaTeX\ `{\tt astron}' styles are adaptations of the
+`{\tt apalike}' styles developed by Oren Patashnik and Suzan King.
+The \verb|\cite| and \verb|\cite*| trickery is adapted from
+`{\tt named.bst}' by Peter~F. Patel-Schneider.
+
+\bibliographystyle{astron}
+\bibliography{mnemonic,astdoc}
+
+\appendix
+
+\newpage
+\section{Aspects of publishing with \TeX\ and \LaTeX}
+\label{aspects}
+
+New developments, such as \TeX\ and \LaTeX, are about to radically change
+the conventional ways of scientific publishing.
+Experiments with the acceptance of papers prepared with \TeX\ or
+\LaTeX\ are already going on \cite{daniel}.
+
+The principle is simple and appealing.
+Authors prepare their papers with \TeX\ or \LaTeX, and send their manuscripts
+to the publishers on floppy disk or via electronic mail.
+A publisher runs \TeX\ or \LaTeX\ on the manuscript, and produces a
+(high quality) printable copy of the paper.
+The costly and time consuming steps of typesetting and proofreading
+would then be eliminated.
+
+But before everything will run smoothly, some aspects of scientific publishing
+with \TeX\ and \LaTeX\ will have to be considered, and some problems need to
+be addressed.
+
+\subsection{Generalized Mark-up}
+
+Although papers in the various scientific journals exhibit a great variety
+in typographical appearance, a common underlying structure can be recognized.
+The papers can be characterized by: a heading (with the title of the paper,
+and the author's names and affiliations); an abstract or summary; sections;
+tables; figures; equations; a list of references; and sometimes appendices.
+The typographical form of a paper is intended to support this structure.
+The typography is, in fact, derived from the structure, as becomes evident
+from the typographical instructions that are scribbled on to the oldfashioned
+typewriter written manuscripts by a desk editor.
+
+A desk editor recognizes the structural elements of a paper from the
+typography of the typewriter written manuscript.
+The author has {\sl implicitly\/} structured his manuscript by applying
+some rudimentary typography.
+The structure of a manuscript can be formalized, by asking the author to
+{\sl explicitly\/} state what comes next, e.g. like this:
+%
+\begin{quotation}
+\noindent\begin{verbatim}
+title: Gnats and Gnus again
+author: A.N. Author
+affiliation: The Gnats and Gnus Institute,
+ Somewhere Lane 15, Downtown, Inthecountry.
+abstract:
+ Some people get fed up with examples that are about Gnats and Gnus.
+ This paper brings about new information, which shows that Gnats and
+ Gnus are a species with such unexpected virtues, that the reader will
+ never be agonized again, but, to the contrary, cannot wait to learn
+ more about them.
+introduction:
+\end{verbatim}
+\par$\vdots$
+\end{quotation}
+%
+A desk editor could again scribble his remarks in this manuscript,
+to indicate to a typesetter what typographical form is required for
+each of the structural elements.
+The `scribbeling' of the desk editor is, by the way, called `mark-up'.
+An other desk editor, of a different journal, could also scribble
+in {\sl his\/} remarks, which would make sure that the typesetter
+applies the typographical rules of this other journal.
+
+So we have not only {\sl formalized\/} the mark-up of the paper, we
+have also made it independent of the typographical form.
+Mark-up which is independent of the typographical form is said to be
+{\sl generalized\/} mark-up.
+
+The idea of modern (scientific) publishing is that the author supplies
+a manuscript, which is marked-up employing a `Generalized Mark-up
+Language'\footnote{
+ In fact, there is at present an international effort being made of
+ the development of what is called the `Standard Generalized Mark-up
+ Language' (SGML).
+ SGML will be~/~is an ISO standard.
+ SGML will be mainly used by publishers and by organisations to maintain
+ large databases.
+
+ As an author you do not have to worry that you will yet again have
+ to learn something new: suppliers of word-processors will incorporate
+ SGML in their products, so you will produce SGML manuscripts without
+ knowing it.}.
+
+This manuscript can be processed by {\em any\/} publisher into the
+typographical format of a particular publication.
+The advantages of the concept are obvious: 1.~the author does not
+have to bother with typographical matters, and 2.~the publisher is
+completely in control of the appearance of a publication, just as he
+always has been.
+
+\subsection{\TeX}
+
+So how do \TeX\ and \LaTeX\ fit into this concept?
+Let us first look at \TeX, and then at \LaTeX.
+
+\TeX\ is a computerized typesetting system, geared towards the typesetting
+of manuscripts which contain a lot of mathematics.
+Like the traditional typesetting systems, \TeX\ requires information
+from the user about {\sl where\/} and {\sl how\/} things are to be put on
+paper.
+\TeX\ provides many basic commands, but these commands are hardly ever
+used directly.
+The commands are grouped in {\sl macros}, which perform (typographically)
+logical functions.
+Macros are grouped into {\sl macro packages}.
+\TeX\ comes with a standard macro package `{\tt plain.tex}', and it is this
+macro package that is used by most authors who say they use \TeX.
+
+However, this `plain' macro package still requires information from the
+user about where and how things are to be put on paper.
+And it is here that a problem arises.
+Because if `plain' \TeX\ were to be used for scientific publishing, it
+would mean that authors have to concern themselves with the layout and
+the typographical details of the journal(s) they are publishing in.
+Although publishers would not dare to doubt the scientific capabilities
+of authors, they have serious concerns about their qualities as typographers.
+And with good reason, as years of experience with `camera ready' manuscripts
+have shown.
+
+But, because \TeX\ actually is a computer programme, there are great powers
+hidden inside.
+By building on the `plain' macros, or by developing completely new ones, the
+concept of macros can be carried further, until a package is achieved which,
+to the user, looks like a `Generalized Mark-up Language'.
+
+\subsection{\LaTeX\ as a Generalized Mark-up Language}
+
+A \TeX\ macro package with the properties of a Generalized Mark-up Language
+has already been developed.
+It is called \LaTeX.
+With \LaTeX\ the author uses `generalized mark-up' commands such as
+`\verb|\title|', `\verb|\begin{abstract}|', `\verb|\section|',
+`\verb|\appendix|', which bear no relation to a particular typographical
+format at all.
+The typographical format of the final printed copy of a \LaTeX\ manuscript
+is determined by so-called `style files'.
+\LaTeX\ comes with four standard style files, which allow the user to
+produce typographically sound articles (papers), books, reports, and letters.
+But these style files may be replaced by others, to produce an entirely
+different typographical format of a document from the {\sl same\/}
+mark-up commands.
+Thus, if a publisher accepts the source text of a \LaTeX\ manuscript, he
+can convert it into printed output with almost any desired
+typographical format,
+{\sl without\/} changing the original text.
+
+\subsection{\TeX, and the `typewriter syndrome'}
+
+If you are an editor or a publisher, you will have met authors who
+say that they much prefer \TeX\ over \LaTeX.
+They try to convince you that they can do much more with it than can be
+done with \LaTeX.
+What they mean is, that they have more direct control of what the
+{\sl printed output\/} looks like, and hence, over the typography of their
+product.
+We should realize that authors who say they use \TeX, in fact use the
+`plain' macro package.
+Some 90\% of these authors use `plain' \TeX\ as a sophisticated typewriter.
+For instance, when they start a new section, they tell \TeX\ to leave some
+white space between the preceding text and the new section heading,
+switch to a different font, type the heading, leave some white space again,
+switch back to the font for the running text, and continue to type the
+next paragraph.
+
+This is all fine when an author types a manuscript for his own purposes,
+or one that will be typeset again by a professional typesetter.
+Of course, a publisher could provide a set of instructions which tell
+the author how everything should be formatted, just like the instructions
+that are provided for `camera ready' papers.
+But publishers know how well authors keep to these instructions, and many
+authors have nightmares about camera ready manuscripts, which cost them
+blood, sweat, tears, and far too much time to prepare.
+
+Furthermore, \TeX\ is not intended to be used in this way.
+When `plain' \TeX\ is used as a typewriter, not even 5\% of its potential
+capabilities are challenged.
+The design of \TeX\ allows it to be adapted to the structural and typographical
+demands of the publications of many, different branches of science, by
+means of the `macro' concept.
+For very specialized branches, special macro packages can be developed
+(and are developed, such as the $\cal AMS$\TeX\ package of the American
+Mathematical Society).
+Other branches, like astronomy, could do with a `general purpose' package,
+such as \LaTeX.
+
+Authors will have to adapt to the concept of Generalized Mark-up, and
+be cured from the `typewriter syndrome'.
+Only through generalized mark-up, the principle of directly publishing
+the manuscript provided by the author will work.
+And the benefits will be great:
+it allows the author to fully concentrate on the writing of the manuscript,
+without worries about the layout; it leaves the publisher in full
+control of the typographical appearance of his publications; and the
+time between submission and publication can be reduced considerably.
+
+\subsection{Consultation and education}
+
+Like with every beautiful concept, there are some practical hazards and
+problems involved in scientific publishing with \TeX\ and \LaTeX.
+The mark-up commands provided by \LaTeX\ do not cover every peculiarity
+you may have in scientific papers, and not all commands are strictly
+`generalized', i.e., some do have a direct typographical effect\footnote{
+ This is not a problem peculiar to \LaTeX, it is a problem that designers
+ of generalized mark-up languages are struggling with in general.}.
+%
+And then authors should use the proper commands for their mark-up, which
+they have to select from an overwhelming number of available commands.
+
+Publishers can provide special or optional style files, which add new
+mark-up commands to the \LaTeX\ vocabulary.
+But this has to be done very cautiously, because every new command means a
+deviation from standard \LaTeX, and requires extra attention from the
+authors.
+New commands should not be added without proper consultation of the
+community of authors that has to use a particular macro package.
+
+Authors will have to be educated about the proper mark-up of their papers.
+Experience at Springer-Verlag (Heidelberg) and Kluwer Academic Publishers
+(Dordrecht), with \TeX\ and \LaTeX\ manuscripts provided by authors, has
+shown that the much greater possibilities of these systems in comparison to
+the old typewriter, are only to often used in the wrong way.
+This means that \TeX\ and \LaTeX\ manuscripts need so much polishing and
+brushing up, that the effort involved equals or sometimes surpasses that
+of having the manuscript typeset in the traditional way.
+
+What authors have to learn about the mark-up of their papers, are rules
+that generally apply to the proper typesetting of mathematical texts.
+These rules are not dependent of a particular journal (although, of course,
+some branches of science may have their peculiarities, but these are then
+again common for the branch).
+Rules of proper typesetting are mentioned at many places in the
+{\sl TeX{}book\/} and in the {\sl \LaTeX\ User's Guide and Reference Manual}.
+But the learning of \TeX\ and \LaTeX\ is at present still a matter
+of teaching it yourself, and many authors seem to miss the good advice
+that is given.
+
+\subsection{Concluding remarks}
+
+The use of \TeX\ and \LaTeX\ for scientific publishing will only succeed
+if we adapt to the concept of `generalized mark-up'.
+Only in that way an author can fully concentrate on the writing of his
+manuscript, and leave the typographical intricacies to the publisher.
+Much has yet to be learned by everyone involved: authors, editors, and
+publishers.
+We can learn from each other: publishers can learn from authors what
+is wrong about their macro packages; authors can learn from publishers
+which rules of proper typesetting they violate.
+
+It would be a good thing if the processes of consultation and education
+were formalized in working groups, or something similar.
+I know there are publishers who are reluctant about formalized consultation,
+because they are afraid it slows down their efforts to get going with
+\TeX\ and \LaTeX.
+However, it is my opinion that they can only benefit from participating
+in some form of formalized consultation.
+The introduction of \TeX\ and \LaTeX\ will take time anyway, and by listening
+to the authors, publishers may be prevented from releasing macro packages
+which are not accepted by the authors.
+
+Authors could in such negotiations stress that they will only opt for some
+form of generalized mark-up, because working truly camera ready would
+take too much of their time.
+An inventory could be made of what authors have to learn about the proper
+mark-up of mathematical texts, and courses could be set up to educate the
+new generation of authors.
+I think that some time from now universities will provide introductory courses
+in \LaTeX, just as they are now providing introductory courses in computer
+programming. \smallskip \\
+
+In the mean time, \LaTeX\ users can enjoy this \BibTeX\ style, which extends
+the concept of generalized mark-up to such a horrifying thing as the
+compilation of a list of references.
+
+
+
+\newpage
+\section{Classes of the fields}
+\label{classes}
+
+Fields in the entries of the bibliographic database are attributed one of
+three classes: required, optional, or ignored.
+The table in this appendix lists the class of each field in each entry.
+See also Sect.~\ref{fields}.
+
+\newcommand{\R}{{\sl R}}
+\renewcommand{\O}{{\sl O}}
+\newcommand{\I}{--}
+
+\vfil
+\noindent\begin{center}
+{\bf Table \thesection.1:} Classes of the fields. \\
+(\R $=$ Required, \O $=$ Optional, \I $=$ Ignored) \medskip \\
+%
+\begin{tabular}{lccccccc} \hline
+ & \multicolumn{7}{c}{\bf Entry} \\
+{\bf Field} & article & book & booklet & conference$^a$ & inbook & incoll.$^b$
+ & inproc.$^c$ \\ \hline\hline
+address & \I & \O & \O & \O & \O & \O & \O \\
+annote & \I & \I & \I & \I & \I & \I & \I \\
+author & \R & \R & \R & \R & \R & \R & \R \\
+booktitle & \I & \I & \I & \R & \I & \R & \R \\
+chapter & \I & \I & \I & \I & \R & \O & \I \\
+crossref & \O & \O & \I & \O & \O & \O & \O \\
+edition & \I & \O & \I & \I & \O & \O & \I \\
+editor & \I & \O & \I & \O & \O & \O & \O \\
+howpublished & \I & \I & \O & \I & \I & \I & \I \\
+institution & \I & \I & \I & \I & \I & \I & \I \\
+journal & \R & \I & \I & \I & \I & \I & \I \\
+key & \O & \O & \O & \O & \O & \O & \O \\
+month & \I & \I & \I & \I & \I & \I & \I \\
+note & \O & \O & \O & \O & \O & \O & \O \\
+number & \I & \O & \I & \O & \O & \O & \O \\
+organisation & \I & \I & \I & \O & \I & \I & \O \\
+pages & \O & \I & \I & \O & \O & \O & \O \\
+publisher & \I & \R & \I & \O & \R & \R & \O \\
+school & \I & \I & \I & \I & \I & \I & \I \\
+series & \I & \O & \I & \O & \O & \O & \O \\
+title & \I & \R & \R & \I & \R & \I & \I \\
+type & \I & \I & \I & \I & \I & \I & \I \\
+volume & \O & \O & \I & \O & \O & \O & \O \\
+year & \R & \R & \R & \R & \R & \R & \R \\ \hline
+\end{tabular}
+\end{center}
+$^a$ `conference' is the same as `inproceedings' \\
+$^b$ incoll.\ $=$ incollection \\
+$^c$ inproc.\ $=$ inproceedings
+
+\newpage
+
+\null\vfil
+\noindent\begin{center}
+{\bf Table \thesection.1:} Classes of the fields ({\it continued\/}). \\
+(\R $=$ Required, \O $=$ Optional, \I $=$ Ignored) \medskip \\
+%
+\begin{tabular}{lccccccc} \hline
+ & \multicolumn{7}{c}{\bf Entry} \\
+{\bf Field} & manual & masters.$^d$ & misc & phd.$^e$ & proc.$^f$ & tech.$^g$
+ & unpubl.$^h$ \\ \hline\hline
+address & \O & \O & \I & \O & \O & \O & \I \\
+annote & \I & \I & \I & \I & \I & \I & \I \\
+author & \R & \R & \R & \R & \R & \R & \R \\
+booktitle & \I & \I & \I & \I & \I & \I & \I \\
+chapter & \I & \I & \I & \I & \I & \I & \I \\
+crossref & \I & \I & \I & \I & \I & \I & \I \\
+edition & \O & \I & \I & \I & \I & \I & \I \\
+editor & \I & \I & \I & \I & \O & \I & \I \\
+howpublished & \I & \I & \O & \I & \I & \I & \I \\
+institution & \I & \I & \I & \I & \I & \O & \I \\
+journal & \I & \I & \I & \I & \I & \I & \I \\
+key & \O & \O & \O & \O & \O & \O & \O \\
+month & \I & \I & \I & \I & \I & \I & \I \\
+note & \O & \O & \O & \O & \O & \O & \R \\
+number & \I & \I & \I & \I & \O & \I & \I \\
+organisation & \O & \I & \I & \I & \O & \I & \I \\
+pages & \I & \I & \I & \I & \I & \I & \I \\
+publisher & \I & \I & \I & \I & \O & \I & \I \\
+school & \I & \R & \I & \R & \I & \I & \I \\
+series & \I & \I & \I & \I & \O & \I & \I \\
+title & \R & \I & \O & \I & \R & \R & \R \\
+type & \O & \O & \O & \O & \O & \O & \O \\
+volume & \I & \I & \I & \I & \O & \I & \I \\
+year & \R & \R & \R & \R & \R & \R & \R \\ \hline
+\end{tabular}
+\end{center}
+$^d$ masters.\ $=$ mastersthesis \\
+$^e$ phd.\ $=$ phdthesis \\
+$^f$ proc.\ $=$ proceedings \\
+$^g$ tech.\ $=$ techreport \\
+$^h$ unpubl.\ $=$ unpublished
+
+\newpage
+\section{Changing the style files yourself}
+
+The `{\tt astron}' bibliography style has been designed to meet the
+requirements of astronomical journals.
+Maybe you are working on documents which could do with about the same
+documentstyle, but not quite.
+Then you may want to modify the `{\tt astron}' styles to your needs.
+To help you on your way, here is a summary of what happens in each style
+file.
+
+You do remember to name modified style files anything other than
+{\tt astron.bst} or {\tt astron.sty}, don't you?
+
+\subsection{{\tt astron.bst}}
+
+The style {\tt astron.bst} causes \BibTeX\ to create a bibliography file
+which looks like:
+%
+\begin{quotation}
+\noindent \verb|\begin{thebibliography}{}| \\
+\verb|\bibitem[|{\it key}\verb|]{|{\it label}\verb|}|{\it bibliography entry} \\
+\indent $\vdots$ \\
+\verb|\end{thebibliography}|
+\end{quotation}
+%
+The {\it key\/} is formatted from the {\tt author} and {\tt year} entries
+in the bibliographic database.
+It looks like: \verb|{|{\it Author\/}\verb|}{|{\it year\/}\verb|}|.
+
+The {\it bibliography entry\/} is formatted from the required and optional
+information in the fields of an entry, like {\tt author}, {\tt year},
+{\tt title}, {\tt volume}, {\tt pages}, et cetera.
+According to the definitions in {\tt astron.bst}, \BibTeX\ takes care of
+the typographical intricacies of the {\it bibliography entry}, such
+as punctuation, italics for journal names and booktitles, boldface for
+journal volumes, etc.
+
+As an example, here is what {\tt astron.bst} made \BibTeX\ make of
+\verb|\cite{lamport}| in this document:
+%
+\begin{quotation}
+\noindent\begin{verbatim}
+\bibitem[\protect\astroncite{Lamport}{1986}]{lamport}
+Lamport, L.: 1986,
+\newblock {\em LaTeX, A Document Preparation System},
+\newblock Addison-Wesley, Reading, Massachusetts
+\end{verbatim}
+\end{quotation}
+
+\subsection{{\tt astron.sty}}
+
+The style file {\tt astron.sty} is a \LaTeX\ style file.
+It defines the \verb|\cite| and \verb|\cite*| commands such that
+\verb|\cite{|{\it label\/}\verb|}| is replaced by `(Author, year)'
+in the running text, and \verb|\cite*{|{\it label\/}\verb|}| by
+`(year)'.
+
+It also defines the {\tt thebibliography} environment.
+It causes the text `{\bf References}' to be produced as the heading of
+the list of references in `{\tt article}\,s', and `{\bf Bibliography}'
+as the heading in `{\tt report}\,s' and `{\tt book}\,s'
+
+The {\tt thebibliography} environment is defined in terms of the
+\LaTeX\ `{\tt list}' environment, in which the items are preceded
+by `\verb|\bibitem|'.
+All parameters related to the `{\tt list}' environment, such as
+`{\tt itemsep}', `{\tt leftmargin}', etc., are set at the
+\verb|\begin{thebibliography}| call. \medskip \\
+%
+To summarize in brief: the \BibTeX\ style {\tt astron.bst} takes care
+of the typographical details of each item in the bibliography;
+the \LaTeX\ style {\tt astron.sty} takes care of the global
+typographical appearance of the bibliography.
+
+\twocolumn
+\section{Mnemonics}
+\label{mnemonics}
+
+This appendix lists the mnemonics by which the abbreviations of journal
+names may be called in the {\tt journal} fields of the entries in the
+bibliographic database.
+See also Sect.~\ref{abbreviations}. \medskip \\
+
+% This file contains the abbreviations for journal names.
+% From: Astronomy and Astrophysics Abstracts, 1990, Vol. 49A.
+
+\newcommand{\printba}[2]{\noindent#2 \dotfill\ {\tt #1}\par}
+\frenchspacing
+\footnotesize
+
+\sloppy
+\printba{aao}{AAO Newsl.}
+\printba{aavso}{AAVSO Newsl.}
+\printba{acta}{Acta Astron.}
+\printba{aaguv}{Acta Astron. Geophys. Univ. Comenianae}
+\printba{actastsin}{Acta Astron. Sin.}
+\printba{actapsin}{Acta Astrophys. Sin.}
+\printba{agg}{Acta Geod. Geophys.}
+\printba{ags}{Acta Geophys. Sin.}
+\printba{appsb}{Acta Phys. Pol., Ser. B}
+\printba{atash}{Acta Tech. Acad. Sci. Hung.}
+\printba{advp}{Adv. Phys.}
+\printba{advsr}{Adv. Space Res.}
+\printba{aip}{AIP Conf. Proc.}
+\printba{aavsob}{Am. Assoc. Variable Star Obs. Bull.}
+\printba{aavsoc}{Am. Assoc. Variable Star Obs. Circ.}
+\printba{amjp}{Am. J. Phys.}
+\printba{aatar}{Anglo--Aust. Telesc., Annu. Rep.}
+\printba{ag}{Ann. Geophys.}
+\printba{apl}{Ann. Phys. (Leipzig)}
+\printba{apny}{Ann. Phys. (N.Y.)}
+\printba{app}{Ann. Phys. (Paris)}
+\printba{ao}{Appl. Opt.}
+\printba{appl}{Appl. Phys. Lett.}
+\printba{apb}{Appl. Phys., B}
+\printba{as}{Appl. Spectrosc.}
+\printba{ahes}{Arch. Hist. Exact Sci.}
+\printba{archuk}{Archeoastronomy (U.K.)}
+\printba{asbts}{Archenhold--Sternw. Berlin--Treptow, Sonderdr.}
+\printba{asbtvs}{Archenhold--Sternw. Berlin--Treptow, Vortr. Schr.}
+\printba{aonaicnl}{Arecibo Obs./NAIC, Newsl.}
+\printba{artsat}{Artif. Satell.}
+\printba{aiisao}{Astrofiz. Issled. Izv. Spets. Astrofiz. Obs.}
+\printba{af}{Astrofizika}
+\printba{aa}{Astron. Astrophys.}
+\printba{aar}{Astron. Astrophys. Rev.}
+\printba{aas}{Astron. Astrophys. Suppl. Ser.}
+\printba{abco}{Astron. Bull. (Carter Obs.)}
+\printba{agas}{Astron. Ges., Abstr. Ser.}
+\printba{asther}{Astron. Her.}
+\printba{aiubc}{Astron. Inst. Univ. Brno, Contrib.}
+\printba{astj}{Astron. J.}
+\printba{an}{Astron. Nachr.}
+\printba{astnow}{Astron. Now}
+\printba{astraum}{Astron. Raumfahrt}
+\printba{astriha}{Astron. Rechen-Inst.Heidelb., Mitt., Ser. A}
+\printba{astrihb}{Astron. Rechen-Inst.Heidelb., Mitt., Ser. B}
+\printba{astschu}{Astron. Sch.}
+\printba{asttid}{Astron. Tidsskr.}
+\printba{asttsir}{Astron. Tsirk.}
+\printba{astvest}{Astron. Vestn.}
+\printba{astzh}{Astron. Zh.}
+\printba{astuai}{Astronomia UAI}
+\printba{astie}{Astronomie}
+\printba{asty}{Astronomy}
+\printba{apj}{Astrophys. J.}
+\printba{apjl}{Astrophys. J., Lett.}
+\printba{apjss}{Astrophys. J., Suppl. Ser.}
+\printba{aplc}{Astrophys. Lett. Commmun.}
+\printba{apss}{Astrophys. Space. Sci.}
+\printba{ap}{Astrophysics}
+\printba{aanlsor}{Atti Accad. Naz. Lincei, Ser. Ottava, Rend.}
+\printba{ajast}{Aust. J. Astron.}
+\printba{ajp}{Aust. J. Phys.}
+\printba{bavm}{BAV Mitt.}
+\printba{bavr}{BAV Rundbrief}
+\printba{bbsag}{BBSAG Bull.}
+\printba{bestarnl}{Be Star Newsl.}
+\printba{bildw}{Bild Wiss.}
+\printba{bipm}{BIPM Circ. T}
+\printba{boaumkt}{Biul. Obs. Astron. Uniw. M. Kopernika Toruniu}
+\printba{boe}{Bol. Obs. Ebro}
+\printba{broa}{Bol. ROA}
+\printba{blm}{Boundary-Layer Meteorol.}
+\printba{boop}{Boyden Obs., Occas. Publ.}
+\printba{bastac}{Br. Astron. Assoc. Circ.}
+\printba{bjp}{Bulg. J. Phys.}
+\printba{baas}{Bull. Am. Astron. Soc.}
+\printba{baps}{Bull. Am. Phys. Soc.}
+\printba{bafoev}{Bull. Assoc. Fr. Obs. Etoiles Variables}
+\printba{bastic}{Bull. Astron. Inst. Czech.}
+\printba{basi}{Bull. Astron. Soc. India}
+\printba{bcao}{Bull. Crimean Astrophys. Obs.}
+\printba{bgsi}{Bull. Geogr. Surv. Inst.}
+\printba{bicds}{Bull. Inf. Cent. Donn\'ees Stellaires}
+\printba{boab}{Bull. Obs. Astron. Belgr.}
+\printba{crassgvs}{C. R. Acad. Sci., S\'er. G\'en., Vie Sci.}
+\printba{crassii}{C. R. Acad. Sci., II}
+\printba{cjp}{Can. J. Phys.}
+\printba{cm}{Celest. Mech.}
+\printba{cassos}{Cent. Astron. Sci. Spat., Obs. Sol.}
+\printba{cent}{Centaurus}
+\printba{cpl}{Chem. Phys. Lett.}
+\printba{chinaa}{Chin. Astron. Astrophys.}
+\printba{chinp}{Chin. Phys.}
+\printba{chinpl}{Chin. Phys. Lett.}
+\printba{ciel}{Ciel}
+\printba{cielt}{Ciel Terre}
+\printba{ccotl}{Circ. Czech. Obs. Time Lattiude}
+\printba{cinf}{Circ. Inf.}
+\printba{ctls}{Circ. Time Latitude Serv.}
+\printba{cqg}{Classical Quantum Gravity}
+\printba{cast}{Comments Astrophys.}
+\printba{cnpp}{Comments Nucl. Part. Phys.}
+\printba{cppcf}{Comments Plasma Phys. Controlled Fusion}
+\printba{cfsua}{Commun. Fac. Sci. Univ. Ankara, Ser. A2, A3}
+\printba{cko}{Commun. Konkoly Obs.}
+\printba{cmp}{Commun. Math. Phys.}
+\printba{culo}{Commun. Univ. Lond. Obs.}
+\printba{comp}{Comput. Phys.}
+\printba{compcom}{Comput. Phys. Commun.}
+\printba{cp}{Contemp. Phys.}
+\printba{caosp}{Contrib. Astron. Obs. Skalnat\'e Pleso}
+\printba{cap}{Contrib. Atmos. Phys.}
+\printba{cdaut}{Contrib. Dep. Astron., Univ. Tokyo}
+\printba{clo}{Contrib. Lick Obs.}
+\printba{cncopb}{Contrib. Nicholas Copernicus Obs. Planetarium Brno}
+\printba{cnjro}{Contrib. Nizamiah Japal-Rangapur Obs.}
+\printba{cpp}{Contrib. Plasma Phys.}
+\printba{cvvo}{Contrib. Van Vleck Obs.}
+\printba{cr}{Cosmic Res.}
+\printba{cryo}{Cryogenics}
+\printba{czjp}{Czech. J. Phys., Sect. B}
+\printba{drho}{Data Rep. Hydrogr. Obs., Ser. Astron. Geod.}
+\printba{dgkbawb}{Dtsch. Geod. Komm. Bayer. Akad. Wiss., Reihe B}
+\printba{dgkbawc}{Dtsch. Geod. Komm. Bayer. Akad. Wiss., Reihe C}
+\printba{dgkbawe}{Dtsch. Geod. Komm. Bayer. Akad. Wiss., Reihe E}
+\printba{epsl}{Earth Planet. Sci. Lett.}
+\printba{erb}{Earth Rotation Bull.}
+\printba{emp}{Earth, Moon, Planets}
+\printba{esrev}{Earth--Sci. Rev.}
+\printba{esab}{ESA Bull.}
+\printba{esaiuenl}{ESA IUE Newsl.}
+\printba{esaj}{ESA J.}
+\printba{esoar}{ESO Ann. Rep.}
+\printba{ejp}{Eur. J. Phys.}
+\printba{epl}{Europhys. Lett.}
+\printba{epn}{Europhys. News}
+\printba{expast}{Exp. Astron.}
+\printba{fiz}{Fizika}
+\printba{fortp}{Fortschr. Phys.}
+\printba{fp}{Found. Phys.}
+\printba{funcp}{Fundam. Cosmic Phys.}
+\printba{gaab}{G.~A.A.B.}
+\printba{gast}{G. Astron.}
+\printba{gem}{Gemini}
+\printba{grg}{Gen. Relativ. Gravitation}
+\printba{gca}{Geochim. Cosmochim. Acta}
+\printba{ga}{Geomagn. Aehron.}
+\printba{gafd}{Geophys. Astrophys. Fluid Dyn.}
+\printba{gj}{Geophys. J.}
+\printba{grl}{Geophys. Res. Lett.}
+\printba{geo}{Geophysics}
+\printba{geos}{GEOS Circ.}
+\printba{gbg}{Gerlands Beitr. Geophys.}
+\printba{heav}{Heavens}
+\printba{hpa}{Helv. Phys. Acta}
+\printba{hepnp}{High Energ. Phys. Nucl. Phys.}
+\printba{hob}{Hvar Obs. Bull.}
+\printba{hi}{Hyperfine Interact.}
+\printba{iappp}{I.A.P.P.P. Commun.}
+\printba{iauc}{IAU Circ.}
+\printba{iauib}{IAU Inf. Bull.}
+\printba{icarus}{Icarus}
+\printba{i3etm}{IEEE Trans. Magn.}
+\printba{i3etns}{IEEE Trans. Nucl. Sci.}
+\printba{i3etps}{IEEE Trans. Plasma Sci.}
+\printba{iersbb}{IERS Bull. B}
+\printba{iersba}{IERS Bull.--A}
+\printba{ijpap}{Indian J. Pure Appl. Phys.}
+\printba{ijrsp}{Indian J. Radio Space Phys.}
+\printba{ibvs}{Inf. Bull. Variable Stars}
+\printba{iaatub}{Inst. Astron. Astrophys. Tech. Univ. Berlin, Mitt.}
+\printba{iag}{Inst. Astron. Geod., Univ. Madr., Publ.}
+\printba{ia}{Inst. Astron., Univ. Camb., Annu. Rep.}
+\printba{icq}{Int. Comet Q.}
+\printba{ijimw}{Int. J. Infrared Millimeter Waves}
+\printba{ijmp}{Int. J. Mod. Phys. A}
+\printba{ijtp}{Int. J. Theor. Phys.}
+\printba{ip}{Inverse Probl.}
+\printba{iastj}{Ir. Astron. J.}
+\printba{iris}{IRIS Bull. A}
+\printba{iskz}{Issled. Solntsa Krasnykh Zvezd}
+\printba{intsa}{Itogi Nauki Tekh., Ser. Astron.}
+\printba{intsppk}{Itogi NAuki Tekh., Ser. Plazmennye Protsessy Kosmose}
+\printba{iaoe}{Izv. Astron. Obs. Ehngel'gardt.}
+\printba{ikao}{Izv. Krym. Astrofiz. Obs.}
+\printba{ivuzr}{Izv. Vyssch. Uchebn. Zaved., Radiofiz.}
+\printba{jasa}{J. Acoust. Soc. Am.}
+\printba{jaavso}{J. Am. Assoc. Variable Star Obs.}
+\printba{jam}{J. Appl. Meteorol.}
+\printba{jap}{J. Appl. Phys.}
+\printba{jastf}{J. Astron. Fr.}
+\printba{japast}{J. Astrophys. Astron.}
+\printba{jas}{J. Atmos. Sci.}
+\printba{jatp}{J. Atmos. Terr. Phys.}
+\printba{jbasta}{J. Br. Astron. Assoc.}
+\printba{jbis}{J. Br. Interplanet. Soc.}
+\printba{jcp}{J. Chem. Phys.}
+\printba{jcomp}{J. Comp. Phys.}
+\printba{jel}{J. Electrostat.}
+\printba{jfseu}{J. Fac Sci., Ege Univ., Ser. A}
+\printba{jfm}{J. Fluid Mech.}
+\printba{jgr}{J. Geophys. Res.}
+\printba{jhast}{J. Hist. Astron.}
+\printba{jms}{J. Mater. Sci.}
+\printba{jmp}{J. Math. Phys.}
+\printba{jmo}{J. Mod. Opt.}
+\printba{jop}{J. Opt. (Paris)}
+\printba{josaa}{J. Opt. Soc. Am. A}
+\printba{josab}{J. Opt. Soc. Am. B}
+\printba{jp}{J. Phys.}
+\printba{jpa}{J. Phys. A}
+\printba{jpb}{J. Phys. B}
+\printba{jpd}{J. Phys. D}
+\printba{jpe}{J. Phys. E}
+\printba{jpg}{J. Phys. G}
+\printba{jpsj}{J. Phys. Soc. Jpn.}
+\printba{jpp}{J. Plasma Phys.}
+\printba{jqsrt}{J. Quant. Spectrosc. Radiat. Transfer}
+\printba{jrasc}{J. R. Astron. Soc. Can.}
+\printba{jsp}{J. Stat. Phys.}
+\printba{jvst}{J. Vac. Sci. Technol., A}
+\printba{jetpl}{JETP Lett.}
+\printba{jhatd}{Johns Hopkins APL Tech. Dig.}
+\printba{jjap1}{Jpn. J. Appl. Phys., Part 1}
+\printba{jjap2}{Jpn. J. Appl. Phys., Part 2}
+\printba{kai}{Kapteyn Astron. Inst., Annu. Rep.}
+\printba{kexto}{Kexue Tongbao}
+\printba{kfnt}{Kinematika Fiz. Nebesn. Tel}
+\printba{kob}{Kodaikanal Obs. Bull.}
+\printba{kt}{Komet. Tsirk.}
+\printba{ki}{Kosm. Issled.}
+\printba{koz}{Kozmos}
+\printba{kpm}{KPM}
+\printba{lo}{Laser Optoelektron.}
+\printba{latc}{Latitude Circ.}
+\printba{lest}{LEST Found., Annu. Rep.}
+\printba{lmp}{Lett. Math. Phys.}
+\printba{lob}{Lick Obs. Bull.}
+\printba{mg}{Manuscr. Geod.}
+\printba{ml}{Mater. Lett.}
+\printba{mrb}{Mater. Res. Bull.}
+\printba{mfs}{Mem. Fac. Sci., Kyoto Univ., Ser. Phys., Astrophys., Geophys., Chem.}
+\printba{msai}{Mem. Soc. Astron. Ital.}
+\printba{merc}{Mercury}
+\printba{mess}{Messenger}
+\printba{met}{Meteoritics}
+\printba{metka}{Meteoritika}
+\printba{metro}{Metrologica}
+\printba{mpb}{Minor Planet Bull.}
+\printba{mpc}{Minor Planet Circ.}
+\printba{masbt}{Mitt. Archenold--Sternw. Berlin Treptow}
+\printba{mag}{Mitt. Astron. Ges.}
+\printba{mlotud}{Mitt. Lohrmann--Obs., Tech. Univ. Dresden}
+\printba{mss}{Mitt. Sternw. Sonneberg}
+\printba{mvs}{Mitt. Ver{\"a}nderliche Sterne}
+\printba{mzpe}{Mitt. Zentralinst. Phys. Erde}
+\printba{mpla}{Mod. Phys. Lett. A}
+\printba{mn}{Mon. Not. R. Astron. Soc.}
+\printba{mnassa}{Mon. Notes Astron. Soc. S. Afr.}
+\printba{nint}{Nablyud. Iskusstv. Nebesn. Tel.}
+\printba{nogb}{Nachr. Olbers--Ges. Bremen}
+\printba{naoj}{Natl. Astron. Obs. (Jpn.), Repr.}
+\printba{ng}{Natl. Geogr.}
+\printba{nraoa}{Natl. Radio Astron. Obs., Repr., Ser. A}
+\printba{nraob}{Natl. Radio Astron. Obs., Repr., Ser. B}
+\printba{nat}{Nature}
+\printba{natwis}{Naturwissenschaften}
+\printba{ni}{Nauchn. Inf.}
+\printba{nlasny}{News Lett. Astron. Soc. N.Y.}
+\printba{nrodaour}{Nizamiah Rangapur Obs. Dep. Astron., Osmania Univ., Repr.}
+\printba{nraow}{NRAO Workshop}
+\printba{nimpra}{Nucl. Instrum. Methods Phys. Res., Sect. A}
+\printba{nimprb}{Nucl. Instrum. Methods Phys. Res., Sect. B}
+\printba{npa}{Nucl. Phys. A}
+\printba{npb}{Nucl. Phys. B, Part. Phys.}
+\printba{nca}{Nuovo Cimento A}
+\printba{ncb}{Nuovo Cimento B}
+\printba{ncc}{Nuovo Cimento C}
+\printba{ot}{Obs. Trav.}
+\printba{obs}{Observatory}
+\printba{onl}{Occultation Newsl.}
+\printba{ozvp}{{\"O}sterr. Z. Vermessungswes. Photogramm.}
+\printba{oc}{Opt. Commun.}
+\printba{oe}{Opt. Eng.}
+\printba{olt}{Opt. Laser Technol.}
+\printba{ol}{Opt. Lett.}
+\printba{on}{Opt. News}
+\printba{os}{Opt. Spectrosc.}
+\printba{optik}{Optik}
+\printba{ofeb}{Origins Life Evol. Biosphere}
+\printba{orion}{Orion}
+\printba{orione}{Orione}
+\printba{oac}{Oss. Astrofis. Catania, Pubbl.}
+\printba{pz}{Perem. Zvezdy}
+\printba{pb}{Phys. Bl.}
+\printba{pcm}{Phys. Chem. Miner.}
+\printba{pfa}{Phys. Fluids, A}
+\printba{pfb}{Phys. Fluids, B}
+\printba{pla}{Phys. Lett. A}
+\printba{plb}{Phys. Lett. B}
+\printba{pr}{Phys. Rep.}
+\printba{pra}{Phys. Rev. A}
+\printba{prb}{Phys. Rev. B}
+\printba{prc}{Phys. Rev. C}
+\printba{prd}{Phys. Rev. D}
+\printba{prl}{Phys. Rev. Lett.}
+\printba{ps}{Phys. Scr.}
+\printba{ptch}{Phys. Teach.}
+\printba{ptod}{Phys. Today}
+\printba{pha}{Physica A}
+\printba{phb}{Physica B}
+\printba{phd}{Physica D}
+\printba{paz}{Pis'ma Astron. Zh.}
+\printba{pss}{Planet. Space Sci.}
+\printba{ppcf}{Plasma Phys. Controlled Fusion}
+\printba{pa}{Postepy Astron.}
+\printba{pram}{Pram\~{a}na}
+\printba{pri}{Priroda}
+\printba{pasa}{Proc. Astron. Soc. Aust.}
+\printba{pi3e}{Proc. IEEE}
+\printba{prsl}{Proc. R. Soc. London, Ser. A}
+\printba{posp}{Proceedings of SPIE}
+\printba{past}{Prog. Astron.}
+\printba{ptp}{Prog. Theor. Phys.}
+\printba{paicas}{Publ. Astron. Inst. Czech. Acad. Sci.}
+\printba{pasj}{Publ. Astron. Soc. Jpn.}
+\printba{pasp}{Publ. Astron. Soc. Pac.}
+\printba{pbao}{Publ. Beijing Astron. Obs.}
+\printba{pdaub}{Publ. Dep. Astron., Univ. Beogr.}
+\printba{pdao}{Publ. Dom. Astrophys. Obs.}
+\printba{pnlaoj}{Publ. Natl. Astron. Obs. Jpn.}
+\printba{ppmo}{Publ. Purple Mt. Obs.}
+\printba{psao}{Publ. Shaanxi Astron. Obs.}
+\printba{pscds}{Publ. Sp\'ec. Cent. Donn\'ees Stellaires}
+\printba{pyo}{Publ. Yunnan Obs.}
+\printba{pag}{Pure Appl. Geophys.}
+\printba{qbsa}{Q. Bull. Sol. Act.}
+\printba{qjras}{Q. J. R. Astron. Soc.}
+\printba{rad}{Radiant}
+\printba{rsci}{Radio Sci.}
+\printba{reche}{Recherche}
+\printba{rpp}{Rep. Prog. Phys.}
+\printba{ra}{Rev. Astron.}
+\printba{rg}{Rev. Geophys.}
+\printba{rmf}{Rev. Mex. Fis.}
+\printba{rmp}{Rev. Mod. Phys.}
+\printba{rrp}{Rev. Roum. Phys.}
+\printba{rsi}{Rev. Sci. Instrum.}
+\printba{rnc}{Riv. Nuovo Cimento}
+\printba{rh}{\v{R}\'{\i}\v{s}e hv\v{e}zd}
+\printba{saaoar}{S. Afr. Astron. Obs., Annu. Rep.}
+\printba{saaoc}{S. Afr. Astron. Obs., Circ.}
+\printba{saaon}{SAAO Newsl.}
+\printba{sciam}{Sci. Am.}
+\printba{scch}{Sci. China, Ser. A}
+\printba{srtu}{Sci. Rep. T\^{o}hoku Univ., Eighth Ser.}
+\printba{sc}{Science}
+\printba{sar}{Sendai Astron. Rap.}
+\printba{st}{Sidereal Times}
+\printba{sky}{Sky Telesc.}
+\printba{sbaavso}{Sol. Bull. (AAVSO)}
+\printba{se}{Sol. Energy}
+\printba{sp}{Sol. Phys.}
+\printba{srd}{Sol. Radio Data}
+\printba{ssres}{Sol. Syst. Res.}
+\printba{sdb}{Soln. Dannye, Byull.}
+\printba{sonne}{Sonne}
+\printba{sbo}{Soobshch. Byurak. Obs.}
+\printba{ssao}{Soobshch. Spets. Astrofiz. Obs.}
+\printba{sost}{South. Stars}
+\printba{sa}{Sov. Astron.}
+\printba{sal}{Sov. Astron. Lett.}
+\printba{sjot}{Sov. J. Opt. Technol.}
+\printba{spd}{Sov. Phys. -- Dokl.}
+\printba{spj}{Sov. Phys. -- JETP}
+\printba{spu}{Sov. Phys. -- Usp.}
+\printba{space}{Space}
+\printba{ssr}{Space Sci. Rev.}
+\printba{stsi}{Space Telesc. Sci. Inst., Newsl.}
+\printba{sf}{Spaceflight}
+\printba{sterne}{Sterne}
+\printba{sw}{Sterne Weltraum}
+\printba{sb}{Sternenbote}
+\printba{strlast}{Strolling Astron.}
+\printba{sgg}{Stud. Geophys. Geod.}
+\printba{taot}{Tartu Astrof{\"u}{\"u}s. Obs. Teated}
+\printba{tect}{Tectonophysics}
+\printba{tellus}{Tellus, Ser. A}
+\printba{tmf}{Teor. Mat. Fiz.}
+\printba{tp}{Theor. Pap.}
+\printba{tsb}{Time Serv. Bull.}
+\printba{tmnr}{Tokyo Meteor Network Rep.}
+\printba{tai}{Tsirk. Astron. Inst. (Tashkent)}
+\printba{ufz}{Ukr. Fiz. Zh.}
+\printba{ucla}{Universe Classroom}
+\printba{uao}{Upps. Astron. Obs., Rep.}
+\printba{urania}{Urania}
+\printba{usnoc}{U.S. Nav. Obs., Circ.}
+\printba{usnos4}{U.S. Nav. Obs., Ser. 4}
+\printba{ufn}{Usp. Fiz. Nauk}
+\printba{vsb}{Variable Star Bull.}
+\printba{vasiona}{Vasiona}
+\printba{varih}{Ver{\"o}ff. Astron. Rechen--Inst. Heidelb.}
+\printba{vzpe}{Ver{\"o}ff. Zentralinst. Phys. Erde}
+\printba{vesmir}{Vesm\'{\i}r}
+\printba{vansssr}{Vestn. Akad. Nauk SSSR}
+\printba{vku}{Vestn. Kiev. Univ., Astron.}
+\printba{va}{Vistas Astron.}
+\printba{wgn}{WGN}
+\printba{wztud}{Wiss. Z. Tech. Univ. Dresden}
+\printba{yama}{Yamamoto Circ.}
+\printba{zamp}{Z. Angew. Math. Phys.}
+\printba{zna}{Z. Naturforsch., A}
+\printba{zpa}{Z. Phys., A}
+\printba{zpc}{Z. Phys., C}
+\printba{zv}{Zemlya Vselennaya}
+\printba{zenit}{Zenit}
+\printba{zetf}{Zh. Ehksp. Teor. Fiz.}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/astron/astron.bst b/biblio/bibtex/contrib/astron/astron.bst
new file mode 100644
index 0000000000..b8b6e88172
--- /dev/null
+++ b/biblio/bibtex/contrib/astron/astron.bst
@@ -0,0 +1,1175 @@
+% Copyright (C) 1990 Sake J. Hogeveen.
+
+% This is ASTRON.BST, a BibTeX style for use with BibTeX version 0.99c.
+% ASTRON.BST has to be used in conjunction with the LaTeX style ASTRON.STY.
+% The use of both styles is documented in ASTDOC.TEX.
+
+% ASTRON.BST is an adaptation of APALIKE.BST by Oren Patashnik and Suzan King.
+
+% This style produces citations in the `author-year' format, which is widely
+% used among astronomical journals.
+% It supports two forms of citation: the \cite command produces: (Author, year)
+% in the text; the \cite* command only: (year) .
+
+% The long an short citation trickery is adapted from NAMED.BST by
+% Peter F. Patel-Schneider.
+
+% Copyright Notice:
+% The files ASTRON.BST, ASTRON.STY, ASTDOC.TEX, ASTDOC.BIB, EXAMPLE.TEX,
+% EXAMPLE.BIB, MNEMONIC.BIB, and TEMPLATE.BIB are a package.
+% You may copy and distribute them freely for non-commercial purposes,
+% provided that you keep the package together and this copyright notice
+% in tact.
+% You may not alter or modify the files; this helps to ensure that all
+% distributions of ASTRON.BST and related files are the same.
+% If you make any modifications, then you must give the files new names,
+% other than the present.
+% The author bears no responsibilities for errors in this document or
+% the software it describes; and shall not be held liable for any indirect,
+% incidental, or consequential damages.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+% month not used in apalike
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { ", " * write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { ", " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output.nonnull.extra}
+{ 's :=
+ output.state mid.sentence =
+ { " " * write$ }
+ { output.state after.block =
+ { ", " * write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { ", " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.extra}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull.extra
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check.extra}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull.extra
+ if$
+}
+
+% apalike needs this function because
+% the year has special punctuation;
+% apalike ignores the month
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { write$
+ ": " year * extra.label *
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {boldface}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\bf " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't := % last name first
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.ed.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f. }{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.key} % this function is just for apalike
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { " (eds.)" * }
+ { " (ed.)" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.editors.extra}
+{ editor empty$
+ { "" }
+ { editor format.ed.names
+ editor num.names$ #1 >
+ { " (eds.)" * }
+ { " (ed.)" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {first.page.number}
+{ 't :=
+ ""
+ { t "" =
+ { #0 }
+ { t #1 #1 substring$ "-" = not }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "Vol." volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "No." }
+ { "No." }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pp" pages n.dashify tie.or.space.connect }
+ { "p." pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.page}
+{ pages empty$
+ { "" }
+ { "p.~" pages first.page.number * }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { boldface ", " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.page}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { boldface ", " * pages first.page.number * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "Chapt." }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "in " booktitle emphasize * }
+ { "in " format.editors.extra * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ "in" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "in "
+ }
+ { "Vol." volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "\cite{" * crossref * "}" * % this is for apalike
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ "in" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check.extra
+ format.vol.num.page output.extra
+ }
+ { format.article.crossref output.nonnull
+ format.page output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ new.block
+ howpublished output
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+% format.title "title" output.check
+% new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+% format.title "title" output.check
+% new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ new.sentence % there's no year
+ organization output % here so things
+ publisher output % are simpler
+ address output % for apalike
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+% format.title "title" output.check
+% new.block
+ "Master's thesis" emphasize format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle output
+ new.block
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+% format.btitle "title" output.check
+% new.block
+ "Ph.D. thesis" emphasize format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output % for apalike
+ new.sentence % we always output
+ organization output % a nonempty organization
+ publisher output % here
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr,"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+% There are three apalike cases: one person (Jones),
+% two (Jones and de~Bruijn), and more (Jones et~al.).
+% This function is much like format.crossref.editors.
+%
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key, no organization
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label % apalike ignores organization
+ 'author.key.label % for labeling and sorting
+ if$
+ }
+ if$
+ "\protect\astroncite{" swap$ * "}{" % these three lines are
+ * % for apalike, which
+ year field.or.null purify$ #-1 #4 substring$ % uses all four digits
+ * % the mathing closing "}" comes in at the reverse.pass
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$ % apalike uses initials
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't := % <= here
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+% apalike uses two sorting passes; the first one sets the
+% labels so that the `a's, `b's, etc. can be computed;
+% the second pass puts the references in "correct" order.
+% The presort function is for the first pass. It computes
+% label, sort.label, and title, and then concatenates.
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$ % for
+ 'sort.label := % apalike
+ sort.label % style
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT % by label, sort.label, title---for final label calculation
+
+STRINGS { last.label next.extra } % apalike labels are only for the text;
+
+INTEGERS { last.extra.num } % there are none in the bibliography
+
+FUNCTION {initialize.extra.label.stuff} % and hence there is no `longest.label'
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * "}" * 'label :=
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+% Now that the label is right we sort for real,
+% on sort.label then year then title. This is
+% for the second sorting pass.
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT % by sort.label, year, title---giving final bibliography order
+
+FUNCTION {begin.bib}
+{ preamble$ empty$ % no \etalchar in apalike
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$ % no labels in apalike
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/astron/astron.sty b/biblio/bibtex/contrib/astron/astron.sty
new file mode 100644
index 0000000000..d42ed59188
--- /dev/null
+++ b/biblio/bibtex/contrib/astron/astron.sty
@@ -0,0 +1,70 @@
+% Copyright (C) 1990 Sake J. Hogeveen.
+
+% This is ASTRON.STY, a LaTeX style for use with the BibTeX style ASTRON.BST.
+
+% ASTRON.BST is an adaptation of APALIKE.BST by Oren Patashnik and Suzan King.
+
+% This style produces citations in the `author-year' format, which is widely
+% used among astronomical journals.
+% It supports two forms of citation: the \cite command produces: (Author, year)
+% in the text; the \cite* command only: (year) .
+
+% The long an short citation trickery is adapted from NAMED.BST by
+% Peter F. Patel-Schneider.
+
+% Copyright Notice:
+% The files ASTRON.BST, ASTRON.STY, ASTDOC.TEX, ASTDOC.BIB, EXAMPLE.TEX,
+% EXAMPLE.BIB, MNEMONIC.BIB, and TEMPLATE.BIB are a package.
+% You may copy and distribute them freely for non-commercial purposes,
+% provided that you keep the package together and this copyright notice
+% in tact.
+% You may not alter or modify the files; this helps to ensure that all
+% distributions of ASTRON.BST and related files are the same.
+% If you make any modifications, then you must give the files new names,
+% other than the present.
+% The author bears no responsibilities for errors in this document or
+% the software it describes; and shall not be held liable for any indirect,
+% incidental, or consequential damages.
+
+% If you find any bugs in the style files, or omissions in the documentation,
+% please report them to: E-mail A410SAKE@SARA.NL; UUCP: l42@nikhefh.nikhef.nl
+
+\@ifundefined{chapter}{\def\thebibliography#1{\section*{References\@mkboth
+ {REFERENCES}{REFERENCES}}\list
+ {\relax}{\setlength{\labelsep}{0em}
+ \setlength{\itemindent}{-\bibhang}
+ \setlength{\itemsep}{0pt}
+ \setlength{\parsep}{0pt}
+ \setlength{\leftmargin}{\bibhang}}
+ \def\newblock{\hskip .11em plus .33em minus .07em}
+ \sloppy\clubpenalty4000\widowpenalty4000
+ \sfcode`\.=1000\relax}}%
+{\def\thebibliography#1{\chapter*{Bibliography\@mkboth
+ {BIBLIOGRAPHY}{BIBLIOGRAPHY}}\list
+ {\relax}{\setlength{\labelsep}{0em}
+ \setlength{\itemindent}{-\bibhang}
+ \setlength{\itemsep}{0pt}
+ \setlength{\parsep}{0pt}
+ \setlength{\leftmargin}{\bibhang}}
+ \def\newblock{\hskip .11em plus .33em minus .07em}
+ \sloppy\clubpenalty4000\widowpenalty4000
+ \sfcode`\.=1000\relax}}
+
+\newlength{\bibhang}
+\setlength{\bibhang}{1.4em}
+
+\let\@internalcite\cite
+\def\cite{\@ifstar{\citeyear}{\citefull}}
+\def\citefull{\def\astroncite##1##2{##1, ##2}\@internalcite}
+\def\citeyear{\def\astroncite##1##2{##2}\@internalcite}
+
+\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
+ \def\@citea{}\@cite{\@for\@citeb:=#2\do
+ {\@citea\def\@citea{; }\@ifundefined
+ {b@\@citeb}{{\bf ?}\@warning
+ {Citation `\@citeb' on page \thepage \space undefined}}%
+{\csname b@\@citeb\endcsname}}}{#1}}
+
+\def\@cite#1#2{(#1\if@tempswa , #2\fi)}
+\def\@biblabel#1{}
+
diff --git a/biblio/bibtex/contrib/astron/example.bib b/biblio/bibtex/contrib/astron/example.bib
new file mode 100644
index 0000000000..0086753bea
--- /dev/null
+++ b/biblio/bibtex/contrib/astron/example.bib
@@ -0,0 +1,120 @@
+% In this example file, the entries are listed alphabetically.
+% In a real bibliographic database it is, of course, better to maintain
+% the entries in alphabetical order of the authors.
+
+@ARTICLE{einstein,
+ author = "Albert Einstein",
+ year = 1911,
+ journal = "Wied. Ann.",
+ volume = 35,
+ pages = "898--908"}
+
+@BOOK{burkhardt,
+ year = 1990,
+ title = "Astronomy and Astrophysics Abstracts",
+ publisher = "Springer-Verlag",
+ address = "Heidelberg",
+ editor = "G. Burkhardt and U. Esser and H. Hefele and I. Heinrich
+ and W. Hoffmann and D. Krahn and V. R. Matas and
+ L. D. Schmadel and R. Wielen and G. Zech",
+ volume = "49A"}
+
+@BOOKLET{fokker,
+ author = "A. D. Fokker",
+ year = 1972,
+ title = "Zonsactiviteit",
+ howpublished = "Sterrekundig Instituut",
+ address = "Utrecht"}
+
+% `CONFERENCE' is the same as `inproceedings'.
+
+@INBOOK{pringle:ibs,
+ editor = "J. E. Pringle and R. A. Wade",
+ year = 1985,
+ chapter = 2,
+ title = "Interacting Binary Stars",
+ publisher = "Cambridge University Press",
+ address = "Cambridge",
+ pages = "21--38"}
+
+@INCOLLECTION{chandrasekhar,
+ author = "S. Chandrasekhar",
+ year = 1967,
+ title = "Geodesics in G{\"o}dels Universe",
+ booktitle = "The Nature of Time",
+ publisher = "Cornell University Press",
+ address = "Ithaca, New York",
+ editor = "T. Gold",
+ pages = "68-74"}
+
+@INPROCEEDINGS{menzel,
+ author = "D. H. Menzel",
+ year = 1970,
+ title = "Laser Action in Non--LTE Atmospheres",
+ booktitle = "Spectrum Formation in Stars with Steady State Extended
+ Atmospheres",
+ editor = "H. G. Groth and P. Wellmann",
+ pages = "134-137",
+ publisher = "National Bureau of Standards",
+ series = "Proc. of the IAU Colloquium No. 2"}
+
+@MANUAL{hplot,
+ author = "R. Brun and H. R. Renshall and H. Watkins",
+ year = 1986,
+ title = "HPLOT User's Guide",
+ organization = "Cern Computer Centre",
+ address = "Geneva"}
+
+@MASTERSTHESIS{ott,
+ author = "Erica Ott",
+ year = 1989,
+ title = "An Interstellar Striptease",
+ school = "University of Amsterdam",
+ address = "Amsterdam"}
+
+% There is no MISC entry in this example.
+
+@PHDTHESIS{pannekoek,
+ author = "Anton Pannekoek",
+ year = 1902,
+ title = "Untersuchungen {\"u}ber den Lichtwechsel Algols",
+ school = "University of Leiden",
+ address = "Leiden, The Netherlands"}
+
+@PROCEEDINGS{blaauw,
+ year = 1955,
+ title = "Co-ordination of Galactic Research",
+ editor = "Adriaan Blaauw",
+ publisher = "Cambridge at the University Press",
+ address = "Cambridge",
+ series = "IAU Symposium No. 1"}
+
+@TECHREPORT{hogeveen,
+ author = "S. J. Hogeveen",
+ year = 1990,
+ title = "Concept of a LaTeX style package for the
+ Astronomy and Astrophysics publications",
+ institution = "Astronomical Institute `Anton Pannekoek'",
+ address = "Amsterdam"}
+
+% There is no UNPUBLISHED entry in this example.
+
+% Here are two more ARTICLE entries, to show what happens when more than
+% one paper of the same author, published in the same year, are cited.
+
+@ARTICLE{kuip:ds1,
+ author = "Gerard P. Kuiper",
+ title = "Problems of double star astronomy {I}",
+ journal = pasp,
+ year = 1935,
+ volume = 47,
+ pages = "15-42"}
+
+@ARTICLE{kuip:ds2,
+ author = "Gerard P. Kuiper",
+ title = "Problems of double star astronomy {II}",
+ journal = pasp,
+ year = 1935,
+ volume = 47,
+ pages = "121-150"}
+
diff --git a/biblio/bibtex/contrib/astron/example.tex b/biblio/bibtex/contrib/astron/example.tex
new file mode 100644
index 0000000000..3ef32868dd
--- /dev/null
+++ b/biblio/bibtex/contrib/astron/example.tex
@@ -0,0 +1,50 @@
+\documentstyle[astron]{article}
+
+\title{Citation Examples}
+\author{S. J. Hogeveen}
+
+\begin{document}
+\maketitle
+
+\section*{Introduction}
+
+This file gives examples of citations as they can be made with the
+`{\tt astron}' bibliography style.
+To see how citations are made, you should look at the source text of
+this example: {\tt example.tex}.
+The bibliography database that goes with this example is: {\tt example.bib}.
+To get everything right, you must: 1.~run LaTeX on {\tt example.tex},
+2.~run BibTeX on {\tt example}, 3.~run LaTeX on {\tt example},
+4.~run LaTeX on {\tt example}.
+
+\section*{Citations}
+
+You can make full and short citations.
+A full citation is used if the author's name is not part of the running text,
+like in: `Due to general relativistic effects \cite{einstein}, light of a
+star will \ldots'.
+A short (year only) citation is used if the name of the author {\sl is\/} part
+of the running text, like in: `Einstein \cite*{einstein} has shown that
+light of a star that passes the sun will \ldots'.
+
+You can also (short) cite more references in one \verb|\cite| or \verb|\cite*|
+call, {\sl and\/} add an optional note, like in: `As many authors have shown
+\cite[but not necessarily in this order]{einstein,burkhardt,chandrasekhar,%
+pannekoek,pringle:ibs}.
+% Note that no white spaces are left between the citation labels and the commas.
+% If you do leave blanks, BibTeX will complain.
+Here is what happens if you cite two (or more) publications of the same author
+which appeared in the same year: \cite{kuip:ds1,kuip:ds2}.
+The \verb|\cite*| form of the same citations yields: Kuiper
+\cite*{kuip:ds1,kuip:ds2}.
+
+Finally, we invoke the entire database to be entered in the list of references
+with a \verb|\nocite{*}| call \nocite{*}.
+Note that the \verb|\nocite| command is not replaced by {\it key\/}
+information.
+
+\bibliography{mnemonic,example}
+\bibliographystyle{astron}
+
+\end{document}
+
diff --git a/biblio/bibtex/contrib/astron/mnemonic.bib b/biblio/bibtex/contrib/astron/mnemonic.bib
new file mode 100644
index 0000000000..3cbd02aa17
--- /dev/null
+++ b/biblio/bibtex/contrib/astron/mnemonic.bib
@@ -0,0 +1,442 @@
+% Copyright (C) 1990 Sake J. Hogeveen.
+
+% This is MNEMONIC.BIB, a bibliography database file that provides mnemonics
+% for journal names, which can be used in the `journal' field of bibliography
+% entries in databases for BibTeX.
+% The abbreviations of the journal names in this file follow the rules of
+% the International List of Periodical Title Word Abbreviations.
+% From: Astronomy and Astrophysics Abstracts, 1990, Vol. 49A
+
+% Copyright Notice:
+% The files ASTRON.BST, ASTRON.STY, ASTDOC.TEX, ASTDOC.BIB, EXAMPLE.TEX,
+% EXAMPLE.BIB, MNEMONIC.BIB, and TEMPLATE.BIB are a package.
+% You may copy and distribute them freely for non-commercial purposes,
+% provided that you keep the package together and this copyright notice
+% in tact.
+% You may not alter or modify the files; this helps to ensure that all
+% distributions of ASTRON.BST and related files are the same.
+% If you make any modifications, then you must give the files new names,
+% other than the present.
+% The author bears no responsibilities for errors in this document or
+% the software it describes; and shall not be held liable for any indirect,
+% incidental, or consequential damages.
+
+@STRING{aao = "AAO Newsl."}
+@STRING{aavso = "AAVSO Newsl."}
+@STRING{acta = "Acta Astron."}
+@STRING{aaguv = "Acta Astron. Geophys. Univ. Comenianae"}
+@STRING{actastsin = "Acta Astron. Sin."}
+@STRING{actapsin = "Acta Astrophys. Sin."}
+@STRING{agg = "Acta Geod. Geophys."}
+@STRING{ags = "Acta Geophys. Sin."}
+@STRING{appsb = "Acta Phys. Pol., Ser. B"}
+@STRING{atash = "Acta Tech. Acad. Sci. Hung."}
+@STRING{advp = "Adv. Phys."}
+@STRING{advsr = "Adv. Space Res."}
+@STRING{aip = "AIP Conf. Proc."}
+@STRING{aavsob = "Am. Assoc. Variable Star Obs. Bull."}
+@STRING{aavsoc = "Am. Assoc. Variable Star Obs. Circ."}
+@STRING{amjp = "Am. J. Phys."}
+@STRING{aatar = "Anglo--Aust. Telesc., Annu. Rep."}
+@STRING{ag = "Ann. Geophys."}
+@STRING{apl = "Ann. Phys. (Leipzig)"}
+@STRING{apny = "Ann. Phys. (N.Y.)"}
+@STRING{app = "Ann. Phys. (Paris)"}
+@STRING{ao = "Appl. Opt."}
+@STRING{appl = "Appl. Phys. Lett."}
+@STRING{apb = "Appl. Phys., B"}
+@STRING{as = "Appl. Spectrosc."}
+@STRING{ahes = "Arch. Hist. Exact Sci."}
+@STRING{archuk = "Archeoastronomy (U.K.)"}
+@STRING{asbts = "Archenhold--Sternw. Berlin--Treptow, Sonderdr."}
+@STRING{asbtvs = "Archenhold--Sternw. Berlin--Treptow, Vortr. Schr."}
+@STRING{aonaicnl = "Arecibo Obs./NAIC, Newsl."}
+@STRING{artsat = "Artif. Satell."}
+@STRING{aiisao = "Astrofiz. Issled. Izv. Spets. Astrofiz. Obs."}
+@STRING{af = "Astrofizika"}
+@STRING{aa = "Astron. Astrophys."}
+@STRING{aar = "Astron. Astrophys. Rev."}
+@STRING{aas = "Astron. Astrophys. Suppl. Ser."}
+@STRING{abco = "Astron. Bull. (Carter Obs.)"}
+@STRING{agas = "Astron. Ges., Abstr. Ser."}
+@STRING{asther = "Astron. Her."}
+@STRING{aiubc = "Astron. Inst. Univ. Brno, Contrib."}
+@STRING{astj = "Astron. J."}
+@STRING{an = "Astron. Nachr."}
+@STRING{astnow = "Astron. Now"}
+@STRING{astraum = "Astron. Raumfahrt"}
+@STRING{astriha = "Astron. Rechen-Inst.Heidelb., Mitt., Ser. A"}
+@STRING{astrihb = "Astron. Rechen-Inst.Heidelb., Mitt., Ser. B"}
+@STRING{astschu = "Astron. Sch."}
+@STRING{asttid = "Astron. Tidsskr."}
+@STRING{asttsir = "Astron. Tsirk."}
+@STRING{astvest = "Astron. Vestn."}
+@STRING{astzh = "Astron. Zh."}
+@STRING{astuai = "Astronomia UAI"}
+@STRING{astie = "Astronomie"}
+@STRING{asty = "Astronomy"}
+@STRING{apj = "Astrophys. J."}
+@STRING{apjl = "Astrophys. J., Lett."}
+@STRING{apjss = "Astrophys. J., Suppl. Ser."}
+@STRING{aplc = "Astrophys. Lett. Commun."}
+@STRING{apss = "Astrophys. Space. Sci."}
+@STRING{ap = "Astrophysics"}
+@STRING{aanlsor = "Atti Accad. Naz. Lincei, Ser. Ottava, Rend."}
+@STRING{ajast = "Aust. J. Astron."}
+@STRING{ajp = "Aust. J. Phys."}
+@STRING{bavm = "BAV Mitt."}
+@STRING{bavr = "BAV Rundbrief"}
+@STRING{bbsag = "BBSAG Bull."}
+@STRING{bestarnl = "Be Star Newsl."}
+@STRING{bildw = "Bild Wiss."}
+@STRING{bipm = "BIPM Circ. T"}
+@STRING{boaumkt = "Biul. Obs. Astron. Uniw. M. Kopernika Toruniu"}
+@STRING{boe = "Bol. Obs. Ebro"}
+@STRING{broa = "Bol. ROA"}
+@STRING{blm = "Boundary-Layer Meteorol."}
+@STRING{boop = "Boyden Obs., Occas. Publ."}
+@STRING{bastac = "Br. Astron. Assoc. Circ."}
+@STRING{bjp = "Bulg. J. Phys."}
+@STRING{baas = "Bull. Am. Astron. Soc."}
+@STRING{baps = "Bull. Am. Phys. Soc."}
+@STRING{bafoev = "Bull. Assoc. Fr. Obs. Etoiles Variables"}
+@STRING{bastic = "Bull. Astron. Inst. Czech."}
+@STRING{basi = "Bull. Astron. Soc. India"}
+@STRING{bcao = "Bull. Crimean Astrophys. Obs."}
+@STRING{bgsi = "Bull. Geogr. Surv. Inst."}
+@STRING{bicds = "Bull. Inf. Cent. Donn\'ees Stellaires"}
+@STRING{boab = "Bull. Obs. Astron. Belgr."}
+@STRING{crassgvs = "C. R. Acad. Sci., S\'er. G\'en., Vie Sci."}
+@STRING{crassii = "C. R. Acad. Sci., II"}
+@STRING{cjp = "Can. J. Phys."}
+@STRING{cm = "Celest. Mech."}
+@STRING{cassos = "Cent. Astron. Sci. Spat., Obs. Sol."}
+@STRING{cent = "Centaurus"}
+@STRING{cpl = "Chem. Phys. Lett."}
+@STRING{chinaa = "Chin. Astron. Astrophys."}
+@STRING{chinp = "Chin. Phys."}
+@STRING{chinpl = "Chin. Phys. Lett."}
+@STRING{ciel = "Ciel"}
+@STRING{cielt = "Ciel Terre"}
+@STRING{ccotl = "Circ. Czech. Obs. Time Lattiude"}
+@STRING{cinf = "Circ. Inf."}
+@STRING{ctls = "Circ. Time Latitude Serv."}
+@STRING{cqg = "Classical Quantum Gravity"}
+@STRING{cast = "Comments Astrophys."}
+@STRING{cnpp = "Comments Nucl. Part. Phys."}
+@STRING{cppcf = "Comments Plasma Phys. Controlled Fusion"}
+@STRING{cfsua = "Commun. Fac. Sci. Univ. Ankara, Ser. A2, A3"}
+@STRING{cko = "Commun. Konkoly Obs."}
+@STRING{cmp = "Commun. Math. Phys."}
+@STRING{culo = "Commun. Univ. Lond. Obs."}
+@STRING{comp = "Comput. Phys."}
+@STRING{compcom = "Comput. Phys. Commun."}
+@STRING{cp = "Contemp. Phys."}
+@STRING{caosp = "Contrib. Astron. Obs. Skalnat\'e Pleso"}
+@STRING{cap = "Contrib. Atmos. Phys."}
+@STRING{cdaut = "Contrib. Dep. Astron., Univ. Tokyo"}
+@STRING{clo = "Contrib. Lick Obs."}
+@STRING{cncopb = "Contrib. Nicholas Copernicus Obs. Planetarium Brno"}
+@STRING{cnjro = "Contrib. Nizamiah Japal-Rangapur Obs."}
+@STRING{cpp = "Contrib. Plasma Phys."}
+@STRING{cvvo = "Contrib. Van Vleck Obs."}
+@STRING{cr = "Cosmic Res."}
+@STRING{cryo = "Cryogenics"}
+@STRING{czjp = "Czech. J. Phys., Sect. B"}
+@STRING{drho = "Data Rep. Hydrogr. Obs., Ser. Astron. Geod."}
+@STRING{dgkbawb = "Dtsch. Geod. Komm. Bayer. Akad. Wiss., Reihe B"}
+@STRING{dgkbawc = "Dtsch. Geod. Komm. Bayer. Akad. Wiss., Reihe C"}
+@STRING{dgkbawe = "Dtsch. Geod. Komm. Bayer. Akad. Wiss., Reihe E"}
+@STRING{epsl = "Earth Planet. Sci. Lett."}
+@STRING{erb = "Earth Rotation Bull."}
+@STRING{emp = "Earth, Moon, Planets"}
+@STRING{esrev = "Earth--Sci. Rev."}
+@STRING{esab = "ESA Bull."}
+@STRING{esaiuenl = "ESA IUE Newsl."}
+@STRING{esaj = "ESA J."}
+@STRING{esoar = "ESO Ann. Rep."}
+@STRING{ejp = "Eur. J. Phys."}
+@STRING{epl = "Europhys. Lett."}
+@STRING{epn = "Europhys. News"}
+@STRING{expast = "Exp. Astron."}
+@STRING{fiz = "Fizika"}
+@STRING{fortp = "Fortschr. Phys."}
+@STRING{fp = "Found. Phys."}
+@STRING{funcp = "Fundam. Cosmic Phys."}
+@STRING{gaab = "G.~A.A.B."}
+@STRING{gast = "G. Astron."}
+@STRING{gem = "Gemini"}
+@STRING{grg = "Gen. Relativ. Gravitation"}
+@STRING{gca = "Geochim. Cosmochim. Acta"}
+@STRING{ga = "Geomagn. Aehron."}
+@STRING{gafd = "Geophys. Astrophys. Fluid Dyn."}
+@STRING{gj = "Geophys. J."}
+@STRING{grl = "Geophys. Res. Lett."}
+@STRING{geo = "Geophysics"}
+@STRING{geos = "GEOS Circ."}
+@STRING{gbg = "Gerlands Beitr. Geophys."}
+@STRING{heav = "Heavens"}
+@STRING{hpa = "Helv. Phys. Acta"}
+@STRING{hepnp = "High Energ. Phys. Nucl. Phys."}
+@STRING{hob = "Hvar Obs. Bull."}
+@STRING{hi = "Hyperfine Interact."}
+@STRING{iappp = "I.A.P.P.P. Commun."}
+@STRING{iauc = "IAU Circ."}
+@STRING{iauib = "IAU Inf. Bull."}
+@STRING{icarus = "Icarus"}
+@STRING{i3etm = "IEEE Trans. Magn."}
+@STRING{i3etns = "IEEE Trans. Nucl. Sci."}
+@STRING{i3etps = "IEEE Trans. Plasma Sci."}
+@STRING{iersbb = "IERS Bull. B"}
+@STRING{iersba = "IERS Bull.--A"}
+@STRING{ijpap = "Indian J. Pure Appl. Phys."}
+@STRING{ijrsp = "Indian J. Radio Space Phys."}
+@STRING{ibvs = "Inf. Bull. Variable Stars"}
+@STRING{iaatub = "Inst. Astron. Astrophys. Tech. Univ. Berlin, Mitt."}
+@STRING{iag = "Inst. Astron. Geod., Univ. Madr., Publ."}
+@STRING{ia = "Inst. Astron., Univ. Camb., Annu. Rep."}
+@STRING{icq = "Int. Comet Q."}
+@STRING{ijimw = "Int. J. Infrared Millimeter Waves"}
+@STRING{ijmp = "Int. J. Mod. Phys. A"}
+@STRING{ijtp = "Int. J. Theor. Phys."}
+@STRING{ip = "Inverse Probl."}
+@STRING{iastj = "Ir. Astron. J."}
+@STRING{iris = "IRIS Bull. A"}
+@STRING{iskz = "Issled. Solntsa Krasnykh Zvezd"}
+@STRING{intsa = "Itogi Nauki Tekh., Ser. Astron."}
+@STRING{intsppk = "Itogi NAuki Tekh., Ser. Plazmennye Protsessy Kosmose"}
+@STRING{iaoe = "Izv. Astron. Obs. Ehngel'gardt."}
+@STRING{ikao = "Izv. Krym. Astrofiz. Obs."}
+@STRING{ivuzr = "Izv. Vyssch. Uchebn. Zaved., Radiofiz."}
+@STRING{jasa = "J. Acoust. Soc. Am."}
+@STRING{jaavso = "J. Am. Assoc. Variable Star Obs."}
+@STRING{jam = "J. Appl. Meteorol."}
+@STRING{jap = "J. Appl. Phys."}
+@STRING{jastf = "J. Astron. Fr."}
+@STRING{japast = "J. Astrophys. Astron."}
+@STRING{jas = "J. Atmos. Sci."}
+@STRING{jatp = "J. Atmos. Terr. Phys."}
+@STRING{jbasta = "J. Br. Astron. Assoc."}
+@STRING{jbis = "J. Br. Interplanet. Soc."}
+@STRING{jcp = "J. Chem. Phys."}
+@STRING{jcomp = "J. Comp. Phys."}
+@STRING{jel = "J. Electrostat."}
+@STRING{jfseu = "J. Fac Sci., Ege Univ., Ser. A"}
+@STRING{jfm = "J. Fluid Mech."}
+@STRING{jgr = "J. Geophys. Res."}
+@STRING{jhast = "J. Hist. Astron."}
+@STRING{jms = "J. Mater. Sci."}
+@STRING{jmp = "J. Math. Phys."}
+@STRING{jmo = "J. Mod. Opt."}
+@STRING{jop = "J. Opt. (Paris)"}
+@STRING{josaa = "J. Opt. Soc. Am. A"}
+@STRING{josab = "J. Opt. Soc. Am. B"}
+@STRING{jp = "J. Phys."}
+@STRING{jpa = "J. Phys. A"}
+@STRING{jpb = "J. Phys. B"}
+@STRING{jpd = "J. Phys. D"}
+@STRING{jpe = "J. Phys. E"}
+@STRING{jpg = "J. Phys. G"}
+@STRING{jpsj = "J. Phys. Soc. Jpn."}
+@STRING{jpp = "J. Plasma Phys."}
+@STRING{jqsrt = "J. Quant. Spectrosc. Radiat. Transfer"}
+@STRING{jrasc = "J. R. Astron. Soc. Can."}
+@STRING{jsp = "J. Stat. Phys."}
+@STRING{jvst = "J. Vac. Sci. Technol., A"}
+@STRING{jetpl = "JETP Lett."}
+@STRING{jhatd = "Johns Hopkins APL Tech. Dig."}
+@STRING{jjap1 = "Jpn. J. Appl. Phys., Part 1"}
+@STRING{jjap2 = "Jpn. J. Appl. Phys., Part 2"}
+@STRING{kai = "Kapteyn Astron. Inst., Annu. Rep."}
+@STRING{kexto = "Kexue Tongbao"}
+@STRING{kfnt = "Kinematika Fiz. Nebesn. Tel"}
+@STRING{kob = "Kodaikanal Obs. Bull."}
+@STRING{kt = "Komet. Tsirk."}
+@STRING{ki = "Kosm. Issled."}
+@STRING{koz = "Kozmos"}
+@STRING{kpm = "KPM"}
+@STRING{lo = "Laser Optoelektron."}
+@STRING{latc = "Latitude Circ."}
+@STRING{lest = "LEST Found., Annu. Rep."}
+@STRING{lmp = "Lett. Math. Phys."}
+@STRING{lob = "Lick Obs. Bull."}
+@STRING{mg = "Manuscr. Geod."}
+@STRING{ml = "Mater. Lett."}
+@STRING{mrb = "Mater. Res. Bull."}
+@STRING{mfs = "Mem. Fac. Sci., Kyoto Univ., Ser. Phys., Astrophys., Geophys., Chem."}
+@STRING{msai = "Mem. Soc. Astron. Ital."}
+@STRING{merc = "Mercury"}
+@STRING{mess = "Messenger"}
+@STRING{met = "Meteoritics"}
+@STRING{metka = "Meteoritika"}
+@STRING{metro = "Metrologica"}
+@STRING{mpb = "Minor Planet Bull."}
+@STRING{mpc = "Minor Planet Circ."}
+@STRING{masbt = "Mitt. Archenold--Sternw. Berlin Treptow"}
+@STRING{mag = "Mitt. Astron. Ges."}
+@STRING{mlotud = "Mitt. Lohrmann--Obs., Tech. Univ. Dresden"}
+@STRING{mss = "Mitt. Sternw. Sonneberg"}
+@STRING{mvs = "Mitt. Ver{\"a}nderliche Sterne"}
+@STRING{mzpe = "Mitt. Zentralinst. Phys. Erde"}
+@STRING{mpla = "Mod. Phys. Lett. A"}
+@STRING{mn = "Mon. Not. R. Astron. Soc."}
+@STRING{mnassa = "Mon. Notes Astron. Soc. S. Afr."}
+@STRING{nint = "Nablyud. Iskusstv. Nebesn. Tel."}
+@STRING{nogb = "Nachr. Olbers--Ges. Bremen"}
+@STRING{naoj = "Natl. Astron. Obs. (Jpn.), Repr."}
+@STRING{ng = "Natl. Geogr."}
+@STRING{nraoa = "Natl. Radio Astron. Obs., Repr., Ser. A"}
+@STRING{nraob = "Natl. Radio Astron. Obs., Repr., Ser. B"}
+@STRING{nat = "Nature"}
+@STRING{natwis = "Naturwissenschaften"}
+@STRING{ni = "Nauchn. Inf."}
+@STRING{nlasny = "News Lett. Astron. Soc. N.Y."}
+@STRING{nrodaour = "Nizamiah Rangapur Obs. Dep. Astron., Osmania Univ., Repr."}
+@STRING{nraow = "NRAO Workshop"}
+@STRING{nimpra = "Nucl. Instrum. Methods Phys. Res., Sect. A"}
+@STRING{nimprb = "Nucl. Instrum. Methods Phys. Res., Sect. B"}
+@STRING{npa = "Nucl. Phys. A"}
+@STRING{npb = "Nucl. Phys. B, Part. Phys."}
+@STRING{nca = "Nuovo Cimento A"}
+@STRING{ncb = "Nuovo Cimento B"}
+@STRING{ncc = "Nuovo Cimento C"}
+@STRING{ot = "Obs. Trav."}
+@STRING{obs = "Observatory"}
+@STRING{onl = "Occultation Newsl."}
+@STRING{ozvp = "{\"O}sterr. Z. Vermessungswes. Photogramm."}
+@STRING{oc = "Opt. Commun."}
+@STRING{oe = "Opt. Eng."}
+@STRING{olt = "Opt. Laser Technol."}
+@STRING{ol = "Opt. Lett."}
+@STRING{on = "Opt. News"}
+@STRING{os = "Opt. Spectrosc."}
+@STRING{optik = "Optik"}
+@STRING{ofeb = "Origins Life Evol. Biosphere"}
+@STRING{orion = "Orion"}
+@STRING{orione = "Orione"}
+@STRING{oac = "Oss. Astrofis. Catania, Pubbl."}
+@STRING{pz = "Perem. Zvezdy"}
+@STRING{pb = "Phys. Bl."}
+@STRING{pcm = "Phys. Chem. Miner."}
+@STRING{pfa = "Phys. Fluids, A"}
+@STRING{pfb = "Phys. Fluids, B"}
+@STRING{pla = "Phys. Lett. A"}
+@STRING{plb = "Phys. Lett. B"}
+@STRING{pr = "Phys. Rep."}
+@STRING{pra = "Phys. Rev. A"}
+@STRING{prb = "Phys. Rev. B"}
+@STRING{prc = "Phys. Rev. C"}
+@STRING{prd = "Phys. Rev. D"}
+@STRING{prl = "Phys. Rev. Lett."}
+@STRING{ps = "Phys. Scr."}
+@STRING{ptch = "Phys. Teach."}
+@STRING{ptod = "Phys. Today"}
+@STRING{pha = "Physica A"}
+@STRING{phb = "Physica B"}
+@STRING{phd = "Physica D"}
+@STRING{paz = "Pis'ma Astron. Zh."}
+@STRING{pss = "Planet. Space Sci."}
+@STRING{ppcf = "Plasma Phys. Controlled Fusion"}
+@STRING{pa = "Postepy Astron."}
+@STRING{pram = "Pram\~{a}na"}
+@STRING{pri = "Priroda"}
+@STRING{pasa = "Proc. Astron. Soc. Aust."}
+@STRING{pi3e = "Proc. IEEE"}
+@STRING{prsl = "Proc. R. Soc. London, Ser. A"}
+@STRING{posp = "Proceedings of SPIE"}
+@STRING{past = "Prog. Astron."}
+@STRING{ptp = "Prog. Theor. Phys."}
+@STRING{paicas = "Publ. Astron. Inst. Czech. Acad. Sci."}
+@STRING{pasj = "Publ. Astron. Soc. Jpn."}
+@STRING{pasp = "Publ. Astron. Soc. Pac."}
+@STRING{pbao = "Publ. Beijing Astron. Obs."}
+@STRING{pdaub = "Publ. Dep. Astron., Univ. Beogr."}
+@STRING{pdao = "Publ. Dom. Astrophys. Obs."}
+@STRING{pnlaoj = "Publ. Natl. Astron. Obs. Jpn."}
+@STRING{ppmo = "Publ. Purple Mt. Obs."}
+@STRING{psao = "Publ. Shaanxi Astron. Obs."}
+@STRING{pscds = "Publ. Sp\'ec. Cent. Donn\'ees Stellaires"}
+@STRING{pyo = "Publ. Yunnan Obs."}
+@STRING{pag = "Pure Appl. Geophys."}
+@STRING{qbsa = "Q. Bull. Sol. Act."}
+@STRING{qjras = "Q. J. R. Astron. Soc."}
+@STRING{rad = "Radiant"}
+@STRING{rsci = "Radio Sci."}
+@STRING{reche = "Recherche"}
+@STRING{rpp = "Rep. Prog. Phys."}
+@STRING{ra = "Rev. Astron."}
+@STRING{rg = "Rev. Geophys."}
+@STRING{rmf = "Rev. Mex. Fis."}
+@STRING{rmp = "Rev. Mod. Phys."}
+@STRING{rrp = "Rev. Roum. Phys."}
+@STRING{rsi = "Rev. Sci. Instrum."}
+@STRING{rnc = "Riv. Nuovo Cimento"}
+@STRING{rh = "\v{R}\'{\i}\v{s}e hv\v{e}zd"}
+@STRING{saaoar = "S. Afr. Astron. Obs., Annu. Rep."}
+@STRING{saaoc = "S. Afr. Astron. Obs., Circ."}
+@STRING{saaon = "SAAO Newsl."}
+@STRING{sciam = "Sci. Am."}
+@STRING{scch = "Sci. China, Ser. A"}
+@STRING{srtu = "Sci. Rep. T\^{o}hoku Univ., Eighth Ser."}
+@STRING{sc = "Science"}
+@STRING{sar = "Sendai Astron. Rap."}
+@STRING{st = "Sidereal Times"}
+@STRING{sky = "Sky Telesc."}
+@STRING{sbaavso = "Sol. Bull. (AAVSO)"}
+@STRING{se = "Sol. Energy"}
+@STRING{sp = "Sol. Phys."}
+@STRING{srd = "Sol. Radio Data"}
+@STRING{ssres = "Sol. Syst. Res."}
+@STRING{sdb = "Soln. Dannye, Byull."}
+@STRING{sonne = "Sonne"}
+@STRING{sbo = "Soobshch. Byurak. Obs."}
+@STRING{ssao = "Soobshch. Spets. Astrofiz. Obs."}
+@STRING{sost = "South. Stars"}
+@STRING{sa = "Sov. Astron."}
+@STRING{sal = "Sov. Astron. Lett."}
+@STRING{sjot = "Sov. J. Opt. Technol."}
+@STRING{spd = "Sov. Phys. -- Dokl."}
+@STRING{spj = "Sov. Phys. -- JETP"}
+@STRING{spu = "Sov. Phys. -- Usp."}
+@STRING{space = "Space"}
+@STRING{ssr = "Space Sci. Rev."}
+@STRING{stsi = "Space Telesc. Sci. Inst., Newsl."}
+@STRING{sf = "Spaceflight"}
+@STRING{sterne = "Sterne"}
+@STRING{sw = "Sterne Weltraum"}
+@STRING{sb = "Sternenbote"}
+@STRING{strlast = "Strolling Astron."}
+@STRING{sgg = "Stud. Geophys. Geod."}
+@STRING{taot = "Tartu Astrof{\"u}{\"u}s. Obs. Teated"}
+@STRING{tect = "Tectonophysics"}
+@STRING{tellus = "Tellus, Ser. A"}
+@STRING{tmf = "Teor. Mat. Fiz."}
+@STRING{tp = "Theor. Pap."}
+@STRING{tsb = "Time Serv. Bull."}
+@STRING{tmnr = "Tokyo Meteor Network Rep."}
+@STRING{tai = "Tsirk. Astron. Inst. (Tashkent)"}
+@STRING{ufz = "Ukr. Fiz. Zh."}
+@STRING{ucla = "Universe Classroom"}
+@STRING{uao = "Upps. Astron. Obs., Rep."}
+@STRING{urania = "Urania"}
+@STRING{usnoc = "U.S. Nav. Obs., Circ."}
+@STRING{usnos4 = "U.S. Nav. Obs., Ser. 4"}
+@STRING{ufn = "Usp. Fiz. Nauk"}
+@STRING{vsb = "Variable Star Bull."}
+@STRING{vasiona = "Vasiona"}
+@STRING{varih = "Ver{\"o}ff. Astron. Rechen--Inst. Heidelb."}
+@STRING{vzpe = "Ver{\"o}ff. Zentralinst. Phys. Erde"}
+@STRING{vesmir = "Vesm\'{\i}r"}
+@STRING{vansssr = "Vestn. Akad. Nauk SSSR"}
+@STRING{vku = "Vestn. Kiev. Univ., Astron."}
+@STRING{va = "Vistas Astron."}
+@STRING{wgn = "WGN"}
+@STRING{wztud = "Wiss. Z. Tech. Univ. Dresden"}
+@STRING{yama = "Yamamoto Circ."}
+@STRING{zamp = "Z. Angew. Math. Phys."}
+@STRING{zna = "Z. Naturforsch., A"}
+@STRING{zpa = "Z. Phys., A"}
+@STRING{zpc = "Z. Phys., C"}
+@STRING{zv = "Zemlya Vselennaya"}
+@STRING{zenit = "Zenit"}
+@STRING{zetf = "Zh. Ehksp. Teor. Fiz."}
diff --git a/biblio/bibtex/contrib/astron/puntxt.c b/biblio/bibtex/contrib/astron/puntxt.c
new file mode 100644
index 0000000000..26908c9d93
--- /dev/null
+++ b/biblio/bibtex/contrib/astron/puntxt.c
@@ -0,0 +1,49 @@
+/* Filter a LISTSERV PUNCH format message into normal text */
+
+#include <stdio.h>
+#include <string.h>
+
+int
+main()
+{
+ char buffer[81];
+ char *p;
+ int len, n, k;
+
+ k = 0;
+ while (gets(buffer) != (char*)NULL)
+ {
+ k++;
+ if (strcmp(buffer,"END/") == 0)
+ break;
+ p = strchr(buffer,'/');
+ if (p != (char*)NULL) p = strchr(p+1,'/');
+ if (p != (char*)NULL) ++p;
+ if ( (sscanf(buffer,"%d/%d/",&len,&n) != 2) || (p == (char*)NULL) )
+ {
+ fprintf(stderr,"Conversion error on line %d = [%s]\n",k,buffer);
+#if 0
+ exit(1);
+#endif
+ n = 1;
+ }
+
+ if (p != (char*)NULL)
+ fputs(p,stdout);
+ else
+ {
+ fputs("????",stdout);
+ fputs(buffer,stdout);
+ }
+
+ for (; n > 1; --n) /* copy continuation lines */
+ {
+ if (gets(buffer) == (char*)NULL)
+ break;
+ k++;
+ fputs(buffer,stdout);
+ }
+ fputc('\n',stdout);
+ }
+ exit (0);
+}
diff --git a/biblio/bibtex/contrib/astron/template.bib b/biblio/bibtex/contrib/astron/template.bib
new file mode 100644
index 0000000000..c87c8a33d3
--- /dev/null
+++ b/biblio/bibtex/contrib/astron/template.bib
@@ -0,0 +1,201 @@
+% This file contains templates for each entry in the bibliographic database.
+% It provides only the fields which are defined as required and optional
+% in the BibTeX style ASTRON.BST.
+% First come the required fields, then the optional. Text in fields requires
+% quotes (already provided in the templates); numbers don't.
+% Remember to delete the fields which you do not use. This will prevent
+% BibTeX from producing many irrelevant warnings and error messages.
+
+% Usage (compare with @ARTICLE template):
+%
+% @ARTICLE{citation_label,
+% author = "Title",
+% year = 1990,
+% journal = "The full name", % or: journal = abbrv,
+% volume = 42,
+% pages = 24, % or: pages = "24--31",
+% crossref = "other_citation_label",
+% key = "alternative_sort_key", % See LaTeX or BibTeX User's Guide
+% type = "type of the publication",
+% note = "additional information"}
+
+@ARTICLE{,
+ author = "",
+ year = ,
+ journal = "",
+ volume = ,
+ pages = ,
+ crossref = "",
+ key = "",
+ type = "",
+ note = ""}
+
+@BOOK{,
+ author = "",
+ year = ,
+ title = "",
+ publisher = "",
+ address = "",
+ editor = "",
+ edition = "",
+ volume = ,
+ series = "",
+ number = ,
+ crossref = "",
+ key = "",
+ type = "",
+ note = ""}
+
+@BOOKLET{,
+ author = "",
+ year = ,
+ title = "",
+ howpublished = "",
+ address = "",
+ key = "",
+ type = "",
+ note = ""}
+
+@CONFERENCE{, % `Conference' is the same as `inproceedings'.
+ author = "",
+ year = ,
+ title = "",
+ booktitle = "",
+ editor = "",
+ volume = ,
+ pages = ,
+ publisher = "",
+ address = "",
+ organization = "",
+ series = "",
+ number = ,
+ crossref = "",
+ key = "",
+ type = "",
+ note = ""}
+
+@INBOOK{,
+ author = "",
+ year = ,
+ chapter = ,
+ title = "",
+ publisher = "",
+ address = "",
+ editor = "",
+ edition = "",
+ volume = "",
+ series = "",
+ number = ,
+ pages = ,
+ crossref = "",
+ key = "",
+ type = "",
+ note = ""}
+
+@INCOLLECTION{,
+ author = "",
+ year = ,
+ title = "",
+ booktitle = "",
+ publisher = "",
+ address = "",
+ chapter = ,
+ editor = "",
+ edition = "",
+ volume = "",
+ series = "",
+ number = ,
+ pages = ,
+ crossref = "",
+ key = "",
+ type = "",
+ note = ""}
+
+@INPROCEEDINGS{,
+ author = "",
+ year = ,
+ title = "",
+ booktitle = "",
+ editor = "",
+ volume = ,
+ pages = ,
+ publisher = "",
+ address = "",
+ organization = "",
+ series = "",
+ number = ,
+ crossref = "",
+ key = "",
+ type = "",
+ note = ""}
+
+@MANUAL{,
+ author = "",
+ year = ,
+ title = "",
+ organization = "",
+ edition = "",
+ address = "",
+ key = "",
+ type = "",
+ note = ""}
+
+@MASTERSTHESIS{,
+ author = "",
+ year = ,
+ school = "",
+ address = "",
+ key = "",
+ type = "",
+ note = ""}
+
+@MISC{,
+ author = "",
+ year = ,
+ title = "",
+ howpublished = "",
+ key = "",
+ type = "",
+ note = ""}
+
+@PHDTHESIS{,
+ author = "",
+ year = ,
+ school = "",
+ address = "",
+ key = "",
+ type = "",
+ note = ""}
+
+@PROCEEDINGS{,
+ author = "",
+ year = ,
+ title = "",
+ editor = "",
+ volume = ,
+ publisher = "",
+ address = "",
+ organization = "",
+ series = "",
+ number = ,
+ key = "",
+ type = "",
+ note = ""}
+
+@TECHREPORT{,
+ author = "",
+ year = ,
+ title = "",
+ institution = "",
+ address = "",
+ key = "",
+ type = "",
+ note = ""}
+
+@UNPUBLISHED{,
+ author = "",
+ year = ,
+ title = "",
+ note = "",
+ key = "",
+ type = ""}
diff --git a/biblio/bibtex/contrib/authordate/README b/biblio/bibtex/contrib/authordate/README
new file mode 100644
index 0000000000..2eb5a0e667
--- /dev/null
+++ b/biblio/bibtex/contrib/authordate/README
@@ -0,0 +1,21 @@
+This directory contains 4 BibTeX style files for producing author-date
+reference-lists. The styles are loosely based on the recommendations of
+British Standard 1629 (1976 edition), Butcher's "Copy-editing" (Cambridge
+University Press, 1981) and the Chicago Manual of Style (1982 edition).
+
+The files are:
+authordate1.bst - Author's names are typeset in roman. Uppercase letters in
+ article, journal and book titles are left as given in the
+ bib file.
+authordate2.bst - As authordate1, but with downstyle titles, i.e., titles that
+ are lowercase except for the first letter, any letter
+ following a colon, and letters protected by { and }.
+authordate3.bst - As authordate1, but with author's names in small capitals.
+authordate4.bst - As authordate3, but with downstyle titles.
+
+These style files must be used in conjunction with certain re-definitions
+of thebibliography and \cite, as provided in the LaTeX style-option file
+authordate1-4.sty. For example, your LaTeX input file might contain
+ \documentstyle[authordate1-4]{report}
+and
+ \bibliographystyle{authordate2}
diff --git a/biblio/bibtex/contrib/authordate/authordate1-4.sty b/biblio/bibtex/contrib/authordate/authordate1-4.sty
new file mode 100644
index 0000000000..5364cf3805
--- /dev/null
+++ b/biblio/bibtex/contrib/authordate/authordate1-4.sty
@@ -0,0 +1,79 @@
+% This LaTeX style-option file, authordate1-4.sty, is intended for documents
+% that use the author-date citation system. When used in conjunction with
+% authordate1.bst, ... , authordate4.bst, it allows citations of the
+% form \shortcite{bloggs-60} as well as the usual \cite{bloggs-60}.
+% When
+% ... \cite{bloggs-60} ... \shortcite{bloggs-60} ...
+% appears in the input file,
+% ... (Bloggs, 1960) ... (1960) ...
+% appears in the final document.
+%
+% Note that:
+% - a command \bibtitle is defined, to generate the bibliography title
+% - a command \bibheadtitle is defined, to generate the text to be used
+% by \pagestyle{headings}
+% - \bibtitle and \bibheadtitle are set to generate "References" and
+% "REFERENCES" respectively.
+% - an \addcontentsline{toc}{...}{\bibtitle} is issued.
+% Thus:
+% - the default bibliography title is "References", but can be changed by
+% having \renewcommand{\bibtitle}{...} before \begin{thebibliography}
+% or \bibliography
+% - the default page header text is "REFERENCES", but can be changed by
+% \renewcommand{\bibheadtitle}{...}
+% - \tableofcontents will give a table of contents that mentions the
+% bibliography.
+%
+% David Rhead
+% Cripps Computing Centre
+% February 1990
+
+% Code taken from apalike.sty.
+%
+\def\@cite#1#2{(#1\if@tempswa , #2\fi)}
+\def\@biblabel#1{}
+
+% Set length of hanging indentation for bibliography entries
+%
+\newlength{\bibhang}
+\setlength{\bibhang}{2em}
+
+% Define default title and page-head text.
+%
+\def\bibtitle{References}
+\def\bibheadtitle{REFERENCES}
+
+\@ifundefined{chapter}{\def\thebibliography#1{\section*{\bibtitle\@mkboth
+ {\bibheadtitle}{\bibheadtitle}}
+ \addcontentsline{toc}{section}{\bibtitle}\list % For styles in
+ {\relax}{\setlength{\labelsep}{0em} % which \chapter
+ \setlength{\itemindent}{-\bibhang} % is undefined.
+ \setlength{\leftmargin}{\bibhang}}
+ \def\newblock{\hskip .11em plus .33em minus .07em}
+ \sloppy\clubpenalty4000\widowpenalty4000
+ \sfcode`\.=1000\relax}}%
+{\def\thebibliography#1{\chapter*{\bibtitle\@mkboth % For styles in
+ {\bibheadtitle}{\bibheadtitle}} % which \chapter
+ \addcontentsline{toc}{chapter}{\bibtitle}\list % is defined.
+ {\relax}{\setlength{\labelsep}{0em}
+ \setlength{\itemindent}{-\bibhang}
+ \setlength{\leftmargin}{\bibhang}}
+ \def\newblock{\hskip .11em plus .33em minus .07em}
+ \sloppy\clubpenalty4000\widowpenalty4000
+ \sfcode`\.=1000\relax}}
+%
+% Code taken from aaai.sty.
+%
+% don't box citations, add space between multiple citations, separate with ;
+\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
+ \def\@citea{}\@cite{\@for\@citeb:=#2\do
+ {\@citea\def\@citea{; }\@ifundefined
+ {b@\@citeb}{{\bf ?}\@warning
+ {Citation `\@citeb' on page \thepage \space undefined}}%
+{\csname b@\@citeb\endcsname}}}{#1}}
+% Allow short (name-less) citations, when used in
+% conjunction with a bibliography style that creates labels like
+% \citename{<names>, }<year>
+\let\@internalcite\cite
+\def\cite{\def\citename##1{##1}\@internalcite}
+\def\shortcite{\def\citename##1{}\@internalcite}
diff --git a/biblio/bibtex/contrib/authordate/authordate1.bst b/biblio/bibtex/contrib/authordate/authordate1.bst
new file mode 100644
index 0000000000..4c82b29213
--- /dev/null
+++ b/biblio/bibtex/contrib/authordate/authordate1.bst
@@ -0,0 +1,1309 @@
+% This BibTeX 0.99 style file is intended for documents that use the
+% author-date citation system. It should be used in conjunction with the
+% authordate1-4.sty (or equivalent) LaTeX style-option.
+%
+% In deciding on the bibliography layout to be implemented, the following
+% works have been consulted:
+% 1. British Standard 5605: "Citing publications by bibliographic
+% references", 1978.
+% 2. British Standard 1629: "Bibliographic references", 1976.
+% (Note: There is now a 1989 edition.)
+% 3. "Copy-editing" by Judith Butcher, Cambridge University Press, 1981.
+% 4. "The Oxford Dictionary for Writers and Editors", Oxford University
+% Press, 1981 (for abbreviations).
+% 5. "The Chicago Manual of Style", Chicago University Press, 1982.
+%
+% Discretion has been used in certain matters. In particular:
+% - Titles are italic except when there is a "contribution title" and
+% a "main publication title", in which case the "contribution title"
+% is roman while the "main publication title" is italic.
+% - When there is a PUBLISHER, it is assumed that ADDRESS contains "place of
+% publication"; output is of the form "place-of-publication: publisher".
+% When there is an ORGANIZATION as well as a PUBLISHER, output is of the
+% form "place-of-publication: publisher, for organization". Otherwise,
+% it is assumed that ADDRESS is a postal address, and output is of the
+% form "institution, address", "organization, address", "school, address"
+% or "howpublished, address".
+% - If there is a MONTH but no VOLUME or NUMBER for a journal-article, the
+% MONTH is used on the assumption that it contains information that is
+% equivalent to VOLUME or NUMBER. MONTH is ignored for other documents
+% that have a PUBLISHER, but output after YEAR for anything else.
+% - When CHAPTER and/or PAGES are specified with INBOOK, it is assumed that
+% these fields are being used to pick out particular pages of interest
+% (as an alternative to using the optional [...] argument of \cite);
+% the information is put at the very end of the entry, in line with BS 1629.
+% When CHAPTER and/or PAGES are specified for INCOLLECTION or INPROCEEDINGS,
+% it is assumed that the fields are being used to specify the location of
+% the part/article of interest; the information is put before the
+% BOOKTITLE, in line with Chicago's treatment of "parts" and "chapters".
+% - Since "volume" can be used in various ways (see page 219 of Butcher),
+% this file assumes that, when there is a SERIES, any VOLUME and NUMBER
+% refer to position in the SERIES (i.e. Butcher's meaning 4).
+% If there is a VOLUME but no SERIES, it is assumed that VOLUME refers
+% to a volume within a particular work (i.e. Butcher's meaning 1, 2 or 3).
+% For INPROCEEDINGS and INCOLLECTION, this information goes after the
+% BOOKTITLE. (If you prefer to have volume information before EDITOR,
+% as on page 449 of Chicago, you can set TYPE = "Vol." with INCOLLECTION.)
+%
+% This file differs from authordate2.bst, authordate3.bst and authordate4.bst
+% in that:
+% - The titles of articles, journals and books are left in whatever
+% combination of upper-case and lower-case appears in the .bib file.
+% - Author's and editor's names are in roman.
+%
+% The combination of authordate1.bst and authordate1-4.sty allows citations
+% of the form \shortcite{bloggs-60} as well as the usual \cite{bloggs-60}.
+% When
+% ... \cite{bloggs-60} ... \shortcite{bloggs-60} ...
+% appears in the input file,
+% ... (Bloggs, 1960) ... (1960) ...
+% appears in the final document.
+%
+% This file was developed from apalike.bst. It also uses code taken from
+% acm.bst, aaai-named.bst, btxbst.doc, ieeetr.bst and siam.bst.
+%
+% David Rhead
+% Cripps Computing Centre
+% Nottingham University
+% March 1990
+%
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.year.month.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { add.period$ write$
+ month empty$
+ { " " year * extra.label * "." *
+ after.sentence 'output.state :=
+ }
+ { " " year * extra.label * " (" * month * ")." *
+ after.sentence 'output.state :=
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { add.period$ write$
+ " " year * extra.label * "." *
+ after.sentence 'output.state :=
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {boldface}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\bf " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, ff}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { t "others" =
+ { ", {\em et~al.}" * }
+ { ", \& " * t * } % Butcher, pages
+ if$ % 186-189.
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 > % Use ODWE abbrevs.
+ { " (eds)" * } % to avoid
+ { " (ed)" * } % ambiguity between
+ if$ % "editor" and
+ } % "edition".
+ if$
+}
+
+FUNCTION {format.title} % Nothing needs
+{ title empty$ % doing here in
+ { "" } % authordate1.bst
+ { title } % or
+ if$ % authordate3.bst.
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ title empty$
+ { "" } % Don't change case
+ { title emphasize } % in
+ if$ % authordate1.bst
+} % or
+ % authordate3.bst.
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.numberinseries}
+{ number empty$
+ { "" }
+ { number multi.page.check
+ { ", nos. " number n.dashify tie.or.space.connect }
+ { ", no. " number tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {booklike.series.volume.number} % Chicago, pages
+{ series empty$ % 450-451.
+ { volume empty$
+ { " " }
+ { " Vol. " volume * }
+ if$
+ }
+ {
+ volume empty$
+ { number empty$
+ { series }
+ { series format.numberinseries * }
+ if$
+ }
+ { number empty$
+ { series ", vol. " volume * * }
+ { series ", vol. " * volume * format.numberinseries * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {incollectionlike.series.volume.number}
+{ series empty$
+ { volume empty$
+ { " " }
+ { " vol. " volume * }
+ if$
+ }
+ { new.block
+ volume empty$
+ { number empty$
+ { series }
+ { series format.numberinseries * }
+ if$
+ }
+ { number empty$
+ { series ", vol. " volume * * }
+ { series ", vol. " * volume * format.numberinseries * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edn." * }
+ { edition "t" change.case$ " edn." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "" pages n.dashify tie.or.space.connect }
+ { "" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pagesinbook} % By the time the
+{ pages empty$ % reader has read
+ { "" } % address, pub'r,
+ { pages multi.page.check % note (where the
+ { "Pages " pages n.dashify tie.or.space.connect } % note may end with
+ { "Page " pages tie.or.space.connect } % numbers), s/he
+ if$ % may not recognise
+ } % a number-range as
+ if$ % meaning pages.
+} % Avoid ambiguity
+ % (Butcher, p.181).
+
+FUNCTION {format.vol.num.date.pages}
+{ volume empty$
+ { month empty$
+ { "" }
+ { month }
+ if$
+ }
+ { volume boldface field.or.null
+ number empty$
+ { month empty$
+ 'skip$
+ { "(" month * ")" * * }
+ if$
+ }
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ", " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages.inbook}
+{ chapter empty$
+ 'format.pagesinbook
+ { type empty$
+ { "Chap." }
+ { type }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pagesinbook "l" change.case$ * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages.incoll}
+{ chapter empty$
+ { pages empty$
+ { "{\em In:} " }
+ { "{\em " format.pagesinbook " of:} " * * }
+ if$
+ }
+ { type empty$
+ { "{\em Chap. " chapter * }
+ { "{\em " type * " " * chapter * }
+ if$
+ pages empty$
+ { " of:} " * }
+ { ", " * format.pagesinbook "l" change.case$ " of:} " * * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle} % Achieves effect
+{ booktitle empty$ % shown in 16.51
+ { "" } % of Chicago, at
+ { editor empty$ % expense of not
+ { format.chapter.pages.incoll % achieving effects
+ booktitle emphasize * } % shown in 16.50
+ { format.chapter.pages.incoll % of Chicago, on
+ format.editors * ", " * % page 189 of
+ booktitle emphasize * } % Butcher and in
+ if$ % 4.4 of BS 1629.
+ }
+ if$ % Don't change
+} % case.
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type % Don't change
+ } % case.
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Tech. rept." } % ODWE abbrevs.
+ 'type
+ if$
+ number empty$
+ { } % Whatever was
+ { number tie.or.space.connect } % having its case
+ if$ % changed, leave
+} % it alone.
+
+FUNCTION {format.addr.pub}
+{ publisher empty$
+ { "" }
+ { address empty$
+ { "" }
+ { address ": " * }
+ if$
+ publisher *
+ }
+ if$
+}
+
+FUNCTION {format.addr.pub.org} % If there's an
+{ address empty$ % an organization
+ { publisher * ", for " * organization * } % and a publisher
+ { address ": " * publisher * ", for " * organization * } % too.
+ if$
+}
+
+FUNCTION {format.addr.inst}
+{ address empty$
+ { institution empty$
+ { "" }
+ { institution }
+ if$
+ }
+ { institution empty$
+ { "" }
+ { institution ", " * }
+ if$
+ address *
+ }
+ if$
+}
+
+FUNCTION {format.addr.org}
+{ address empty$
+ { organization empty$
+ { "" }
+ { organization }
+ if$
+ }
+ { organization empty$
+ { "" }
+ { organization ", " * }
+ if$
+ address *
+ }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ "{\em In:}"
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "{\em In:}"
+ }
+ { " Vol." volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "\cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ "{\em In:}"
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ output.year.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize % Don't change
+ "journal" output.check % case.
+ format.vol.num.date.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { new.sentence
+ format.edition output
+ new.block
+ booklike.series.volume.number output
+ new.block
+ format.addr.pub "publisher" output.check
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ output.year.month.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ howpublished output
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { new.sentence
+ format.edition output
+ new.block
+ booklike.series.volume.number output
+ new.block
+ format.addr.pub "publisher" output.check
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ new.block
+ note output
+ new.block % BS 1629 (rather
+ format.chapter.pages.inbook "chapter and pages" output.check
+ fin.entry % than Chicago,
+} % p. 451)
+
+FUNCTION {incollection}
+{ output.bibitem
+ author empty$
+ { format.editors "editor" output.check
+ editor format.key output }
+ { format.authors "author" output.check
+ author format.key output }
+ if$
+ output.year.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$ % Chapter and/or
+ { format.in.ed.booktitle output % page numbers can
+ format.edition output % come out via this
+ incollectionlike.series.volume.number output % route, too.
+ new.block
+ format.addr.pub "publisher" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ new.block
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ publisher empty$
+ { output.year.month.check }
+ { output.year.check }
+ if$
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ incollectionlike.series.volume.number output
+ new.block
+ publisher empty$
+ {
+ organization empty$
+ 'skip$
+ { format.addr.org output }
+ if$
+ }
+ {
+ organization empty$
+ { format.addr.pub output }
+ { format.addr.pub.org output }
+ if$
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ output.year.month.check
+ new.block
+ format.btitle "title" output.check
+ new.sentence
+ format.edition output
+ new.block
+ organization address new.block.checkb
+ format.addr.org output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ output.year.month.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "M.Phil. thesis" format.thesis.type output.nonnull % ODWE abbrev.
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ output.year.month.check
+ new.block
+ format.btitle output
+ new.block
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ output.year.month.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "Ph.D. thesis" format.thesis.type output.nonnull % Butcher,
+ school "school" output.check % page 174.
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors "author and editor" output.check
+ editor format.key output
+ publisher empty$
+ { output.year.month.check }
+ { output.year.check }
+ if$
+ new.block
+ format.btitle "title" output.check
+ new.block
+ booklike.series.volume.number output
+ new.block
+ publisher empty$
+ {
+ organization empty$
+ 'skip$
+ { format.addr.org output }
+ if$
+ }
+ {
+ organization empty$
+ { format.addr.pub output }
+ { format.addr.pub.org output }
+ if$
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ output.year.month.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ new.sentence
+ format.addr.inst "institution" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ output.year.month.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"Jan."} % ODWE, "months", &
+ % Chicago, p. 383.
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " {\em et~al.}" * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " {\em et~al.}" * }
+ { " \& " * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+ { type$ "book" =
+ type$ "inbook" =
+ type$ "incollection" = % For sensible
+ or or % treatment of
+ 'author.editor.key.label % Singer in
+ { type$ "proceedings" = % BS 1629.
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ duplicate$
+ year empty$
+ {
+ "\protect\citename{" swap$ * ", }" *
+ "n.d." * 'label := % Chicago,
+ } % page 457.
+ {
+ "\protect\citename{" swap$ * ", }" *
+ year
+ *
+ 'label :=
+ }
+ if$
+ year field.or.null purify$ *
+ sortify 'sort.label :=
+}
+
+
+FUNCTION {sort.format.names} % To produce the
+{ 's := % order of entries
+ #1 'nameptr := % specified in item
+ "" % (3) on page 187
+ s num.names$ 'numnames := % of Butcher.
+ numnames 'namesleft :=
+ { namesleft #0 > nameptr #3 < and } % Only 1st 2 names
+ { nameptr #1 > % matter for
+ { " " * } % sorting.
+ 'skip$
+ if$ % Anything that's
+ nameptr #2 = numnames #2 > and % "et al" goes
+ { "zzzzz" * } % after works by 2
+ { % authors.
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "zzzzz" * }
+ { t sortify * }
+ if$
+ }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort} % Two sorting
+{ calc.label % passes, from
+ label sortify % apalike.bst.
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ type$ "incollection" = % For Singer
+ or or % in BS 1629.
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { last.label next.extra }
+
+INTEGERS { last.extra.num }
+
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$ % Code needed here
+ % if \citeauthor
+ % and \citeyear
+ label extra.label * 'label := % were supported.
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/authordate/authordate1.ltx b/biblio/bibtex/contrib/authordate/authordate1.ltx
new file mode 100644
index 0000000000..39db7ab4b5
--- /dev/null
+++ b/biblio/bibtex/contrib/authordate/authordate1.ltx
@@ -0,0 +1,18 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/authordate1.ltx
+% Creator: David Rhead [David_Rhead@vme.nott.ac.uk]
+% Creation Date: Sun 28 Jun 92 19:10:19 BST
+
+\documentstyle[authordate1-4]{report}
+
+\raggedright
+
+\begin{document}
+
+\input{testadb.ltx}
+
+\bibliographystyle{authordate1}
+
+\bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/authordate/authordate2.bst b/biblio/bibtex/contrib/authordate/authordate2.bst
new file mode 100644
index 0000000000..39e2a8ae29
--- /dev/null
+++ b/biblio/bibtex/contrib/authordate/authordate2.bst
@@ -0,0 +1,1310 @@
+% This BibTeX 0.99 style file is intended for documents that use the
+% author-date citation system. It should be used in conjunction with the
+% authordate1-4.sty (or equivalent) LaTeX style-option.
+%
+% In deciding on the bibliography layout to be implemented, the following
+% works have been consulted:
+% 1. British Standard 5605: "Citing publications by bibliographic
+% references", 1978.
+% 2. British Standard 1629: "Bibliographic references", 1976.
+% (Note: There is now a 1989 edition.)
+% 3. "Copy-editing" by Judith Butcher, Cambridge University Press, 1981.
+% 4. "The Oxford Dictionary for Writers and Editors", Oxford University
+% Press, 1981 (for abbreviations).
+% 5. "The Chicago Manual of Style", Chicago University Press, 1982.
+%
+% Discretion has been used in certain matters. In particular:
+% - Titles are italic except when there is a "contribution title" and
+% a "main publication title", in which case the "contribution title"
+% is roman while the "main publication title" is italic.
+% - When there is a PUBLISHER, it is assumed that ADDRESS contains "place of
+% publication"; output is of the form "place-of-publication: publisher".
+% When there is an ORGANIZATION as well as a PUBLISHER, output is of the
+% form "place-of-publication: publisher, for organization". Otherwise,
+% it is assumed that ADDRESS is a postal address, and output is of the
+% form "institution, address", "organization, address", "school, address"
+% or "howpublished, address".
+% - If there is a MONTH but no VOLUME or NUMBER for a journal-article, the
+% MONTH is used on the assumption that it contains information that is
+% equivalent to VOLUME or NUMBER. MONTH is ignored for other documents
+% that have a PUBLISHER, but output after YEAR for anything else.
+% - When CHAPTER and/or PAGES are specified with INBOOK, it is assumed that
+% these fields are being used to pick out particular pages of interest
+% (as an alternative to using the optional [...] argument of \cite);
+% the information is put at the very end of the entry, in line with BS 1629.
+% When CHAPTER and/or PAGES are specified for INCOLLECTION or INPROCEEDINGS,
+% it is assumed that the fields are being used to specify the location of
+% the part/article of interest; the information is put before the
+% BOOKTITLE, in line with Chicago's treatment of "parts" and "chapters".
+% - Since "volume" can be used in various ways (see page 219 of Butcher),
+% this file assumes that, when there is a SERIES, any VOLUME and NUMBER
+% refer to position in the SERIES (i.e. Butcher's meaning 4).
+% If there is a VOLUME but no SERIES, it is assumed that VOLUME refers
+% to a volume within a particular work (i.e. Butcher's meaning 1, 2 or 3).
+% For INPROCEEDINGS and INCOLLECTION, this information goes after the
+% BOOKTITLE. (If you prefer to have volume information before EDITOR,
+% as on page 449 of Chicago, you can set TYPE = "Vol." with INCOLLECTION.)
+%
+% This file differs from authordate1.bst, authordate3.bst and authordate4.bst
+% in that:
+% - Titles of journals, articles and boooks are "downstyle". Apart from the
+% first character, and the first character following : and white space,
+% uppercase letters are converted to lowercase unless protected by {}.
+% - Author's and editor's names are in roman.
+%
+% The combination of authordate2.bst and authordate1-4.sty allows citations
+% of the form \shortcite{bloggs-60} as well as the usual \cite{bloggs-60}.
+% When
+% ... \cite{bloggs-60} ... \shortcite{bloggs-60} ...
+% appears in the input file,
+% ... (Bloggs, 1960) ... (1960) ...
+% appears in the final document.
+%
+% This file was developed from apalike.bst. It also uses code taken from
+% acm.bst, aaai-named.bst, btxbst.doc, ieeetr.bst and siam.bst.
+%
+% David Rhead
+% Cripps Computing Centre
+% Nottingham University
+% March 1990
+%
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.year.month.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { add.period$ write$
+ month empty$
+ { " " year * extra.label * "." *
+ after.sentence 'output.state :=
+ }
+ { " " year * extra.label * " (" * month * ")." *
+ after.sentence 'output.state :=
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { add.period$ write$
+ " " year * extra.label * "." *
+ after.sentence 'output.state :=
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {boldface}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\bf " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, ff}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { t "others" =
+ { ", {\em et~al.}" * }
+ { ", \& " * t * } % Butcher, pages
+ if$ % 186-189.
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 > % Use ODWE abbrevs.
+ { " (eds)" * } % to avoid
+ { " (ed)" * } % ambiguity between
+ if$ % "editor" and
+ } % "edition".
+ if$
+}
+
+FUNCTION {format.title} % Howells example
+{ title empty$ % in BS 5605 comes
+ { "" } % out wrong because
+ { title "t" change.case$ } % Patashnik
+ if$ % capitalizes
+} % after a colon.
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ title empty$
+ { "" }
+ { title "t" change.case$ emphasize }
+ if$
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.numberinseries}
+{ number empty$
+ { "" }
+ { number multi.page.check
+ { ", nos. " number n.dashify tie.or.space.connect }
+ { ", no. " number tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {booklike.series.volume.number} % Chicago, pages
+{ series empty$ % 450-451.
+ { volume empty$
+ { " " }
+ { " Vol. " volume * }
+ if$
+ }
+ {
+ volume empty$
+ { number empty$
+ { series }
+ { series format.numberinseries * }
+ if$
+ }
+ { number empty$
+ { series ", vol. " volume * * }
+ { series ", vol. " * volume * format.numberinseries * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {incollectionlike.series.volume.number}
+{ series empty$
+ { volume empty$
+ { " " }
+ { " vol. " volume * }
+ if$
+ }
+ { new.block
+ volume empty$
+ { number empty$
+ { series }
+ { series format.numberinseries * }
+ if$
+ }
+ { number empty$
+ { series ", vol. " volume * * }
+ { series ", vol. " * volume * format.numberinseries * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edn." * }
+ { edition "t" change.case$ " edn." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "" pages n.dashify tie.or.space.connect }
+ { "" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pagesinbook} % By the time the
+{ pages empty$ % reader has read
+ { "" } % address, pub'r,
+ { pages multi.page.check % note (where the
+ { "Pages " pages n.dashify tie.or.space.connect } % note may end with
+ { "Page " pages tie.or.space.connect } % numbers), s/he
+ if$ % may not recognise
+ } % a number-range as
+ if$ % meaning pages.
+} % Avoid ambiguity
+ % (Butcher, p.181).
+
+FUNCTION {format.vol.num.date.pages}
+{ volume empty$
+ { month empty$
+ { "" }
+ { month }
+ if$
+ }
+ { volume boldface field.or.null
+ number empty$
+ { month empty$
+ 'skip$
+ { "(" month * ")" * * }
+ if$
+ }
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ", " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages.inbook}
+{ chapter empty$
+ 'format.pagesinbook
+ { type empty$
+ { "Chap." }
+ { type }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pagesinbook "l" change.case$ * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages.incoll}
+{ chapter empty$
+ { pages empty$
+ { "{\em In:} " }
+ { "{\em " format.pagesinbook " of:} " * * }
+ if$
+ }
+ { type empty$
+ { "{\em Chap. " chapter * }
+ { "{\em " type * " " * chapter * }
+ if$
+ pages empty$
+ { " of:} " * }
+ { ", " * format.pagesinbook "l" change.case$ " of:} " * * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle} % Achieves effect
+{ booktitle empty$ % shown in 16.51
+ { "" } % of Chicago, at
+ { editor empty$ % expense of not
+ { format.chapter.pages.incoll % achieving effects
+ booktitle "t" change.case$ emphasize * } % shown in 16.50
+ { format.chapter.pages.incoll % of Chicago, on
+ format.editors * ", " * % page 189 of
+ booktitle "t" change.case$ emphasize * } % Butcher and in
+ if$ % 4.4 of BS 1629.
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Tech. rept." } % ODWE abbrevs.
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.addr.pub}
+{ publisher empty$
+ { "" }
+ { address empty$
+ { "" }
+ { address ": " * }
+ if$
+ publisher *
+ }
+ if$
+}
+
+FUNCTION {format.addr.pub.org} % If there's an
+{ address empty$ % an organization
+ { publisher * ", for " * organization * } % and a publisher
+ { address ": " * publisher * ", for " * organization * } % too.
+ if$
+}
+
+FUNCTION {format.addr.inst}
+{ address empty$
+ { institution empty$
+ { "" }
+ { institution }
+ if$
+ }
+ { institution empty$
+ { "" }
+ { institution ", " * }
+ if$
+ address *
+ }
+ if$
+}
+
+FUNCTION {format.addr.org}
+{ address empty$
+ { organization empty$
+ { "" }
+ { organization }
+ if$
+ }
+ { organization empty$
+ { "" }
+ { organization ", " * }
+ if$
+ address *
+ }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ "{\em In:}"
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "{\em In:}"
+ }
+ { " Vol." volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "\cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ "{\em In:}"
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ output.year.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal "t" change.case$ emphasize
+ "journal" output.check
+ format.vol.num.date.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { new.sentence
+ format.edition output
+ new.block
+ booklike.series.volume.number output
+ new.block
+ format.addr.pub "publisher" output.check
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ output.year.month.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ howpublished output
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { new.sentence
+ format.edition output
+ new.block
+ booklike.series.volume.number output
+ new.block
+ format.addr.pub "publisher" output.check
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ new.block
+ note output
+ new.block % BS 1629 (rather
+ format.chapter.pages.inbook "chapter and pages" output.check
+ fin.entry % than Chicago,
+} % p. 451)
+
+FUNCTION {incollection}
+{ output.bibitem
+ author empty$
+ { format.editors "editor" output.check
+ editor format.key output }
+ { format.authors "author" output.check
+ author format.key output }
+ if$
+ output.year.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$ % Chapter and/or
+ { format.in.ed.booktitle output % page numbers can
+ format.edition output % come out via this
+ incollectionlike.series.volume.number output % route, too.
+ new.block
+ format.addr.pub "publisher" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ new.block
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ publisher empty$
+ { output.year.month.check }
+ { output.year.check }
+ if$
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ incollectionlike.series.volume.number output
+ new.block
+ publisher empty$
+ {
+ organization empty$
+ 'skip$
+ { format.addr.org output }
+ if$
+ }
+ {
+ organization empty$
+ { format.addr.pub output }
+ { format.addr.pub.org output }
+ if$
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ output.year.month.check
+ new.block
+ format.btitle "title" output.check
+ new.sentence
+ format.edition output
+ new.block
+ organization address new.block.checkb
+ format.addr.org output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ output.year.month.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "M.Phil. thesis" format.thesis.type output.nonnull % ODWE abbrev.
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ output.year.month.check
+ new.block
+ format.btitle output
+ new.block
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ output.year.month.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "Ph.D. thesis" format.thesis.type output.nonnull % Butcher,
+ school "school" output.check % page 174.
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors "author and editor" output.check
+ editor format.key output
+ publisher empty$
+ { output.year.month.check }
+ { output.year.check }
+ if$
+ new.block
+ format.btitle "title" output.check
+ new.block
+ booklike.series.volume.number output
+ new.block
+ publisher empty$
+ {
+ organization empty$
+ 'skip$
+ { format.addr.org output }
+ if$
+ }
+ {
+ organization empty$
+ { format.addr.pub output }
+ { format.addr.pub.org output }
+ if$
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ output.year.month.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ new.sentence
+ format.addr.inst "institution" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ output.year.month.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"Jan."} % ODWE, "months", &
+ % Chicago, p. 383.
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " {\em et~al.}" * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " {\em et~al.}" * }
+ { " \& " * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+ { type$ "book" =
+ type$ "inbook" =
+ type$ "incollection" = % For sensible
+ or or % treatment of
+ 'author.editor.key.label % Singer in
+ { type$ "proceedings" = % BS 1629.
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ duplicate$
+ year empty$
+ {
+ "\protect\citename{" swap$ * ", }" *
+ "n.d." * 'label := % Chicago,
+ } % page 457.
+ {
+ "\protect\citename{" swap$ * ", }" *
+ year
+ *
+ 'label :=
+ }
+ if$
+ year field.or.null purify$ *
+ sortify 'sort.label :=
+}
+
+
+FUNCTION {sort.format.names} % To produce the
+{ 's := % order of entries
+ #1 'nameptr := % specified in item
+ "" % (3) on page 187
+ s num.names$ 'numnames := % of Butcher.
+ numnames 'namesleft :=
+ { namesleft #0 > nameptr #3 < and } % Only 1st 2 names
+ { nameptr #1 > % matter for
+ { " " * } % sorting.
+ 'skip$
+ if$ % Anything that's
+ nameptr #2 = numnames #2 > and % "et al" goes
+ { "zzzzz" * } % after works by 2
+ { % authors.
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "zzzzz" * }
+ { t sortify * }
+ if$
+ }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort} % Two sorting
+{ calc.label % passes, from
+ label sortify % apalike.bst.
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ type$ "incollection" = % For Singer
+ or or % in BS 1629.
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { last.label next.extra }
+
+INTEGERS { last.extra.num }
+
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$ % Code needed here
+ % if \citeauthor
+ % and \citeyear
+ label extra.label * 'label := % were supported.
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/authordate/authordate2.ltx b/biblio/bibtex/contrib/authordate/authordate2.ltx
new file mode 100644
index 0000000000..c2a49b7fb1
--- /dev/null
+++ b/biblio/bibtex/contrib/authordate/authordate2.ltx
@@ -0,0 +1,18 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/authordate2.ltx
+% Creator: David Rhead [David_Rhead@vme.nott.ac.uk]
+% Creation Date: Sun 28 Jun 92 19:10:19 BST
+
+\documentstyle[authordate1-4]{report}
+
+\raggedright
+
+\begin{document}
+
+\input{testadb.ltx}
+
+\bibliographystyle{authordate2}
+
+\bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/authordate/authordate3.bst b/biblio/bibtex/contrib/authordate/authordate3.bst
new file mode 100644
index 0000000000..d105c7c215
--- /dev/null
+++ b/biblio/bibtex/contrib/authordate/authordate3.bst
@@ -0,0 +1,1309 @@
+% This BibTeX 0.99 style file is intended for documents that use the
+% author-date citation system. It should be used in conjunction with the
+% authordate1-4.sty (or equivalent) LaTeX style-option.
+%
+% In deciding on the bibliography layout to be implemented, the following
+% works have been consulted:
+% 1. British Standard 5605: "Citing publications by bibliographic
+% references", 1978.
+% 2. British Standard 1629: "Bibliographic references", 1976.
+% (Note: There is now a 1989 edition.)
+% 3. "Copy-editing" by Judith Butcher, Cambridge University Press, 1981.
+% 4. "The Oxford Dictionary for Writers and Editors", Oxford University
+% Press, 1981 (for abbreviations).
+% 5. "The Chicago Manual of Style", Chicago University Press, 1982.
+%
+% Discretion has been used in certain matters. In particular:
+% - Titles are italic except when there is a "contribution title" and
+% a "main publication title", in which case the "contribution title"
+% is roman while the "main publication title" is italic.
+% - When there is a PUBLISHER, it is assumed that ADDRESS contains "place of
+% publication"; output is of the form "place-of-publication: publisher".
+% When there is an ORGANIZATION as well as a PUBLISHER, output is of the
+% form "place-of-publication: publisher, for organization". Otherwise,
+% it is assumed that ADDRESS is a postal address, and output is of the
+% form "institution, address", "organization, address", "school, address"
+% or "howpublished, address".
+% - If there is a MONTH but no VOLUME or NUMBER for a journal-article, the
+% MONTH is used on the assumption that it contains information that is
+% equivalent to VOLUME or NUMBER. MONTH is ignored for other documents
+% that have a PUBLISHER, but output after YEAR for anything else.
+% - When CHAPTER and/or PAGES are specified with INBOOK, it is assumed that
+% these fields are being used to pick out particular pages of interest
+% (as an alternative to using the optional [...] argument of \cite);
+% the information is put at the very end of the entry, in line with BS 1629.
+% When CHAPTER and/or PAGES are specified for INCOLLECTION or INPROCEEDINGS,
+% it is assumed that the fields are being used to specify the location of
+% the part/article of interest; the information is put before the
+% BOOKTITLE, in line with Chicago's treatment of "parts" and "chapters".
+% - Since "volume" can be used in various ways (see page 219 of Butcher),
+% this file assumes that, when there is a SERIES, any VOLUME and NUMBER
+% refer to position in the SERIES (i.e. Butcher's meaning 4).
+% If there is a VOLUME but no SERIES, it is assumed that VOLUME refers
+% to a volume within a particular work (i.e. Butcher's meaning 1, 2 or 3).
+% For INPROCEEDINGS and INCOLLECTION, this information goes after the
+% BOOKTITLE. (If you prefer to have volume information before EDITOR,
+% as on page 449 of Chicago, you can set TYPE = "Vol." with INCOLLECTION.)
+%
+% This file differs from authordate1.bst, authordate2.bst and authordate4.bst
+% in that:
+% - The titles of articles, journals and books are left in whatever
+% combination of upper-case and lower-case appears in the .bib file.
+% - Author's and editor's names are in small capitals.
+%
+% The combination of authordate3.bst and authordate1-4.sty allows citations
+% of the form \shortcite{bloggs-60} as well as the usual \cite{bloggs-60}.
+% When
+% ... \cite{bloggs-60} ... \shortcite{bloggs-60} ...
+% appears in the input file,
+% ... (Bloggs, 1960) ... (1960) ...
+% appears in the final document.
+%
+% This file was developed from apalike.bst. It also uses code taken from
+% acm.bst, aaai-named.bst, btxbst.doc, ieeetr.bst and siam.bst.
+%
+% David Rhead
+% Cripps Computing Centre
+% Nottingham University
+% March 1990
+%
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.year.month.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { add.period$ write$
+ month empty$
+ { " " year * extra.label * "." *
+ after.sentence 'output.state :=
+ }
+ { " " year * extra.label * " (" * month * ")." *
+ after.sentence 'output.state :=
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { add.period$ write$
+ " " year * extra.label * "." *
+ after.sentence 'output.state :=
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {boldface}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\bf " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, ff}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { t "others" =
+ { ", {\em et~al.}" * }
+ { ", \& " * t * } % Butcher, pages
+ if$ % 186-189.
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" } % Small capitals
+ { "{\sc " * author format.names "}" * } % for
+ if$ % authordate3.bst
+} % and
+ % authordate4.bst.
+FUNCTION {format.key}
+{ empty$
+ { "{\sc " * key field.or.null "}" * } % Small capitals.
+ { "" }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" } % Small capitals.
+ { "{\sc " * editor format.names "}" *
+ editor num.names$ #1 > % Use ODWE abbrevs.
+ { " (eds)" * } % to avoid
+ { " (ed)" * } % ambiguity between
+ if$ % "editor" and
+ } % "edition".
+ if$
+}
+
+FUNCTION {format.title} % Nothing needs
+{ title empty$ % doing here in
+ { "" } % authordate1.bst
+ { title } % or
+ if$ % authordate3.bst.
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ title empty$
+ { "" } % Don't change case
+ { title emphasize } % in
+ if$ % authordate1.bst
+} % or
+ % authordate3.bst.
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.numberinseries}
+{ number empty$
+ { "" }
+ { number multi.page.check
+ { ", nos. " number n.dashify tie.or.space.connect }
+ { ", no. " number tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {booklike.series.volume.number} % Chicago, pages
+{ series empty$ % 450-451.
+ { volume empty$
+ { " " }
+ { " Vol. " volume * }
+ if$
+ }
+ {
+ volume empty$
+ { number empty$
+ { series }
+ { series format.numberinseries * }
+ if$
+ }
+ { number empty$
+ { series ", vol. " volume * * }
+ { series ", vol. " * volume * format.numberinseries * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {incollectionlike.series.volume.number}
+{ series empty$
+ { volume empty$
+ { " " }
+ { " vol. " volume * }
+ if$
+ }
+ { new.block
+ volume empty$
+ { number empty$
+ { series }
+ { series format.numberinseries * }
+ if$
+ }
+ { number empty$
+ { series ", vol. " volume * * }
+ { series ", vol. " * volume * format.numberinseries * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edn." * }
+ { edition "t" change.case$ " edn." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "" pages n.dashify tie.or.space.connect }
+ { "" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pagesinbook} % By the time the
+{ pages empty$ % reader has read
+ { "" } % address, pub'r,
+ { pages multi.page.check % note (where the
+ { "Pages " pages n.dashify tie.or.space.connect } % note may end with
+ { "Page " pages tie.or.space.connect } % numbers), s/he
+ if$ % may not recognise
+ } % a number-range as
+ if$ % meaning pages.
+} % Avoid ambiguity
+ % (Butcher, p.181).
+
+FUNCTION {format.vol.num.date.pages}
+{ volume empty$
+ { month empty$
+ { "" }
+ { month }
+ if$
+ }
+ { volume boldface field.or.null
+ number empty$
+ { month empty$
+ 'skip$
+ { "(" month * ")" * * }
+ if$
+ }
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ", " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages.inbook}
+{ chapter empty$
+ 'format.pagesinbook
+ { type empty$
+ { "Chap." }
+ { type }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pagesinbook "l" change.case$ * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages.incoll}
+{ chapter empty$
+ { pages empty$
+ { "{\em In:} " }
+ { "{\em " format.pagesinbook " of:} " * * }
+ if$
+ }
+ { type empty$
+ { "{\em Chap. " chapter * }
+ { "{\em " type * " " * chapter * }
+ if$
+ pages empty$
+ { " of:} " * }
+ { ", " * format.pagesinbook "l" change.case$ " of:} " * * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle} % Achieves effect
+{ booktitle empty$ % shown in 16.51
+ { "" } % of Chicago, at
+ { editor empty$ % expense of not
+ { format.chapter.pages.incoll % achieving effects
+ booktitle emphasize * } % shown in 16.50
+ { format.chapter.pages.incoll % of Chicago, on
+ format.editors * ", " * % page 189 of
+ booktitle emphasize * } % Butcher and in
+ if$ % 4.4 of BS 1629.
+ }
+ if$ % Don't change
+} % case.
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type % Don't change
+ } % case.
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Tech. rept." } % ODWE abbrevs.
+ 'type
+ if$
+ number empty$
+ { } % Whatever was
+ { number tie.or.space.connect } % having its case
+ if$ % changed, leave
+} % it alone.
+
+FUNCTION {format.addr.pub}
+{ publisher empty$
+ { "" }
+ { address empty$
+ { "" }
+ { address ": " * }
+ if$
+ publisher *
+ }
+ if$
+}
+
+FUNCTION {format.addr.pub.org} % If there's an
+{ address empty$ % an organization
+ { publisher * ", for " * organization * } % and a publisher
+ { address ": " * publisher * ", for " * organization * } % too.
+ if$
+}
+
+FUNCTION {format.addr.inst}
+{ address empty$
+ { institution empty$
+ { "" }
+ { institution }
+ if$
+ }
+ { institution empty$
+ { "" }
+ { institution ", " * }
+ if$
+ address *
+ }
+ if$
+}
+
+FUNCTION {format.addr.org}
+{ address empty$
+ { organization empty$
+ { "" }
+ { organization }
+ if$
+ }
+ { organization empty$
+ { "" }
+ { organization ", " * }
+ if$
+ address *
+ }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ "{\em In:}"
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "{\em In:}"
+ }
+ { " Vol." volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "\cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ "{\em In:}"
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ output.year.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize % Don't change
+ "journal" output.check % case.
+ format.vol.num.date.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { new.sentence
+ format.edition output
+ new.block
+ booklike.series.volume.number output
+ new.block
+ format.addr.pub "publisher" output.check
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ output.year.month.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ howpublished output
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { new.sentence
+ format.edition output
+ new.block
+ booklike.series.volume.number output
+ new.block
+ format.addr.pub "publisher" output.check
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ new.block
+ note output
+ new.block % BS 1629 (rather
+ format.chapter.pages.inbook "chapter and pages" output.check
+ fin.entry % than Chicago,
+} % p. 451)
+
+FUNCTION {incollection}
+{ output.bibitem
+ author empty$
+ { format.editors "editor" output.check
+ editor format.key output }
+ { format.authors "author" output.check
+ author format.key output }
+ if$
+ output.year.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$ % Chapter and/or
+ { format.in.ed.booktitle output % page numbers can
+ format.edition output % come out via this
+ incollectionlike.series.volume.number output % route, too.
+ new.block
+ format.addr.pub "publisher" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ new.block
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ publisher empty$
+ { output.year.month.check }
+ { output.year.check }
+ if$
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ incollectionlike.series.volume.number output
+ new.block
+ publisher empty$
+ {
+ organization empty$
+ 'skip$
+ { format.addr.org output }
+ if$
+ }
+ {
+ organization empty$
+ { format.addr.pub output }
+ { format.addr.pub.org output }
+ if$
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ output.year.month.check
+ new.block
+ format.btitle "title" output.check
+ new.sentence
+ format.edition output
+ new.block
+ organization address new.block.checkb
+ format.addr.org output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ output.year.month.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "M.Phil. thesis" format.thesis.type output.nonnull % ODWE abbrev.
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ output.year.month.check
+ new.block
+ format.btitle output
+ new.block
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ output.year.month.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "Ph.D. thesis" format.thesis.type output.nonnull % Butcher,
+ school "school" output.check % page 174.
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors "author and editor" output.check
+ editor format.key output
+ publisher empty$
+ { output.year.month.check }
+ { output.year.check }
+ if$
+ new.block
+ format.btitle "title" output.check
+ new.block
+ booklike.series.volume.number output
+ new.block
+ publisher empty$
+ {
+ organization empty$
+ 'skip$
+ { format.addr.org output }
+ if$
+ }
+ {
+ organization empty$
+ { format.addr.pub output }
+ { format.addr.pub.org output }
+ if$
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ output.year.month.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ new.sentence
+ format.addr.inst "institution" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ output.year.month.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"Jan."} % ODWE, "months", &
+ % Chicago, p. 383.
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " {\em et~al.}" * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " {\em et~al.}" * }
+ { " \& " * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+ { type$ "book" =
+ type$ "inbook" =
+ type$ "incollection" = % For sensible
+ or or % treatment of
+ 'author.editor.key.label % Singer in
+ { type$ "proceedings" = % BS 1629.
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ duplicate$
+ year empty$
+ {
+ "\protect\citename{" swap$ * ", }" *
+ "n.d." * 'label := % Chicago,
+ } % page 457.
+ {
+ "\protect\citename{" swap$ * ", }" *
+ year
+ *
+ 'label :=
+ }
+ if$
+ year field.or.null purify$ *
+ sortify 'sort.label :=
+}
+
+
+FUNCTION {sort.format.names} % To produce the
+{ 's := % order of entries
+ #1 'nameptr := % specified in item
+ "" % (3) on page 187
+ s num.names$ 'numnames := % of Butcher.
+ numnames 'namesleft :=
+ { namesleft #0 > nameptr #3 < and } % Only 1st 2 names
+ { nameptr #1 > % matter for
+ { " " * } % sorting.
+ 'skip$
+ if$ % Anything that's
+ nameptr #2 = numnames #2 > and % "et al" goes
+ { "zzzzz" * } % after works by 2
+ { % authors.
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "zzzzz" * }
+ { t sortify * }
+ if$
+ }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort} % Two sorting
+{ calc.label % passes, from
+ label sortify % apalike.bst.
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ type$ "incollection" = % For Singer
+ or or % in BS 1629.
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { last.label next.extra }
+
+INTEGERS { last.extra.num }
+
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$ % Code needed here
+ % if \citeauthor
+ % and \citeyear
+ label extra.label * 'label := % were supported.
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/authordate/authordate3.ltx b/biblio/bibtex/contrib/authordate/authordate3.ltx
new file mode 100644
index 0000000000..0f9ff70398
--- /dev/null
+++ b/biblio/bibtex/contrib/authordate/authordate3.ltx
@@ -0,0 +1,18 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/authordate3.ltx
+% Creator: David Rhead [David_Rhead@vme.nott.ac.uk]
+% Creation Date: Sun 28 Jun 92 19:10:19 BST
+
+\documentstyle[authordate1-4]{report}
+
+\raggedright
+
+\begin{document}
+
+\input{testadb.ltx}
+
+\bibliographystyle{authordate3}
+
+\bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/authordate/authordate4.bst b/biblio/bibtex/contrib/authordate/authordate4.bst
new file mode 100644
index 0000000000..b8f76ab695
--- /dev/null
+++ b/biblio/bibtex/contrib/authordate/authordate4.bst
@@ -0,0 +1,1310 @@
+% This BibTeX 0.99 style file is intended for documents that use the
+% author-date citation system. It should be used in conjunction with the
+% authordate1-4.sty (or equivalent) LaTeX style-option.
+%
+% In deciding on the bibliography layout to be implemented, the following
+% works have been consulted:
+% 1. British Standard 5605: "Citing publications by bibliographic
+% references", 1978.
+% 2. British Standard 1629: "Bibliographic references", 1976.
+% (Note: There is now a 1989 edition.)
+% 3. "Copy-editing" by Judith Butcher, Cambridge University Press, 1981.
+% 4. "The Oxford Dictionary for Writers and Editors", Oxford University
+% Press, 1981 (for abbreviations).
+% 5. "The Chicago Manual of Style", Chicago University Press, 1982.
+%
+% Discretion has been used in certain matters. In particular:
+% - Titles are italic except when there is a "contribution title" and
+% a "main publication title", in which case the "contribution title"
+% is roman while the "main publication title" is italic.
+% - When there is a PUBLISHER, it is assumed that ADDRESS contains "place of
+% publication"; output is of the form "place-of-publication: publisher".
+% When there is an ORGANIZATION as well as a PUBLISHER, output is of the
+% form "place-of-publication: publisher, for organization". Otherwise,
+% it is assumed that ADDRESS is a postal address, and output is of the
+% form "institution, address", "organization, address", "school, address"
+% or "howpublished, address".
+% - If there is a MONTH but no VOLUME or NUMBER for a journal-article, the
+% MONTH is used on the assumption that it contains information that is
+% equivalent to VOLUME or NUMBER. MONTH is ignored for other documents
+% that have a PUBLISHER, but output after YEAR for anything else.
+% - When CHAPTER and/or PAGES are specified with INBOOK, it is assumed that
+% these fields are being used to pick out particular pages of interest
+% (as an alternative to using the optional [...] argument of \cite);
+% the information is put at the very end of the entry, in line with BS 1629.
+% When CHAPTER and/or PAGES are specified for INCOLLECTION or INPROCEEDINGS,
+% it is assumed that the fields are being used to specify the location of
+% the part/article of interest; the information is put before the
+% BOOKTITLE, in line with Chicago's treatment of "parts" and "chapters".
+% - Since "volume" can be used in various ways (see page 219 of Butcher),
+% this file assumes that, when there is a SERIES, any VOLUME and NUMBER
+% refer to position in the SERIES (i.e. Butcher's meaning 4).
+% If there is a VOLUME but no SERIES, it is assumed that VOLUME refers
+% to a volume within a particular work (i.e. Butcher's meaning 1, 2 or 3).
+% For INPROCEEDINGS and INCOLLECTION, this information goes after the
+% BOOKTITLE. (If you prefer to have volume information before EDITOR,
+% as on page 449 of Chicago, you can set TYPE = "Vol." with INCOLLECTION.)
+%
+% This file differs from authordate1.bst, authordate2.bst and authordate3.bst
+% in that:
+% - Titles of articles, journals and books are "downstyle". Apart from the
+% first character, and the first character following : and white space,
+% uppercase letters are converted to lowercase unless protected by {}.
+% - Author's and editor's names are in small capitals.
+%
+% The combination of authordate4.bst and authordate1-4.sty allows citations
+% of the form \shortcite{bloggs-60} as well as the usual \cite{bloggs-60}.
+% When
+% ... \cite{bloggs-60} ... \shortcite{bloggs-60} ...
+% appears in the input file,
+% ... (Bloggs, 1960) ... (1960) ...
+% appears in the final document.
+%
+% This file was developed from apalike.bst. It also uses code taken from
+% acm.bst, aaai-named.bst, btxbst.doc, ieeetr.bst and siam.bst.
+%
+% David Rhead
+% Cripps Computing Centre
+% Nottingham University
+% March 1990
+%
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.year.month.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { add.period$ write$
+ month empty$
+ { " " year * extra.label * "." *
+ after.sentence 'output.state :=
+ }
+ { " " year * extra.label * " (" * month * ")." *
+ after.sentence 'output.state :=
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { add.period$ write$
+ " " year * extra.label * "." *
+ after.sentence 'output.state :=
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {boldface}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\bf " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, ff}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { t "others" =
+ { ", {\em et~al.}" * }
+ { ", \& " * t * } % Butcher, pages
+ if$ % 186-189.
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" } % Small capitals
+ { "{\sc " * author format.names "}" * } % for
+ if$ % authordate3.bst
+} % and
+ % authordate4.bst.
+FUNCTION {format.key}
+{ empty$
+ { "{\sc " * key field.or.null "}" * } % Small capitals.
+ { "" }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" } % Small capitals.
+ { "{\sc " * editor format.names "}" *
+ editor num.names$ #1 > % Use ODWE abbrevs.
+ { " (eds)" * } % to avoid
+ { " (ed)" * } % ambiguity between
+ if$ % "editor" and
+ } % "edition".
+ if$
+}
+
+FUNCTION {format.title} % Howells example
+{ title empty$ % in BS 5605 comes
+ { "" } % out wrong because
+ { title "t" change.case$ } % Patashnik
+ if$ % capitalizes
+} % after a colon.
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ title empty$
+ { "" }
+ { title "t" change.case$ emphasize }
+ if$
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.numberinseries}
+{ number empty$
+ { "" }
+ { number multi.page.check
+ { ", nos. " number n.dashify tie.or.space.connect }
+ { ", no. " number tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {booklike.series.volume.number} % Chicago, pages
+{ series empty$ % 450-451.
+ { volume empty$
+ { " " }
+ { " Vol. " volume * }
+ if$
+ }
+ {
+ volume empty$
+ { number empty$
+ { series }
+ { series format.numberinseries * }
+ if$
+ }
+ { number empty$
+ { series ", vol. " volume * * }
+ { series ", vol. " * volume * format.numberinseries * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {incollectionlike.series.volume.number}
+{ series empty$
+ { volume empty$
+ { " " }
+ { " vol. " volume * }
+ if$
+ }
+ { new.block
+ volume empty$
+ { number empty$
+ { series }
+ { series format.numberinseries * }
+ if$
+ }
+ { number empty$
+ { series ", vol. " volume * * }
+ { series ", vol. " * volume * format.numberinseries * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edn." * }
+ { edition "t" change.case$ " edn." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "" pages n.dashify tie.or.space.connect }
+ { "" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pagesinbook} % By the time the
+{ pages empty$ % reader has read
+ { "" } % address, pub'r,
+ { pages multi.page.check % note (where the
+ { "Pages " pages n.dashify tie.or.space.connect } % note may end with
+ { "Page " pages tie.or.space.connect } % numbers), s/he
+ if$ % may not recognise
+ } % a number-range as
+ if$ % meaning pages.
+} % Avoid ambiguity
+ % (Butcher, p.181).
+
+FUNCTION {format.vol.num.date.pages}
+{ volume empty$
+ { month empty$
+ { "" }
+ { month }
+ if$
+ }
+ { volume boldface field.or.null
+ number empty$
+ { month empty$
+ 'skip$
+ { "(" month * ")" * * }
+ if$
+ }
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ", " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages.inbook}
+{ chapter empty$
+ 'format.pagesinbook
+ { type empty$
+ { "Chap." }
+ { type }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pagesinbook "l" change.case$ * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages.incoll}
+{ chapter empty$
+ { pages empty$
+ { "{\em In:} " }
+ { "{\em " format.pagesinbook " of:} " * * }
+ if$
+ }
+ { type empty$
+ { "{\em Chap. " chapter * }
+ { "{\em " type * " " * chapter * }
+ if$
+ pages empty$
+ { " of:} " * }
+ { ", " * format.pagesinbook "l" change.case$ " of:} " * * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle} % Achieves effect
+{ booktitle empty$ % shown in 16.51
+ { "" } % of Chicago, at
+ { editor empty$ % expense of not
+ { format.chapter.pages.incoll % achieving effects
+ booktitle "t" change.case$ emphasize * } % shown in 16.50
+ { format.chapter.pages.incoll % of Chicago, on
+ format.editors * ", " * % page 189 of
+ booktitle "t" change.case$ emphasize * } % Butcher and in
+ if$ % 4.4 of BS 1629.
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Tech. rept." } % ODWE abbrevs.
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.addr.pub}
+{ publisher empty$
+ { "" }
+ { address empty$
+ { "" }
+ { address ": " * }
+ if$
+ publisher *
+ }
+ if$
+}
+
+FUNCTION {format.addr.pub.org} % If there's an
+{ address empty$ % an organization
+ { publisher * ", for " * organization * } % and a publisher
+ { address ": " * publisher * ", for " * organization * } % too.
+ if$
+}
+
+FUNCTION {format.addr.inst}
+{ address empty$
+ { institution empty$
+ { "" }
+ { institution }
+ if$
+ }
+ { institution empty$
+ { "" }
+ { institution ", " * }
+ if$
+ address *
+ }
+ if$
+}
+
+FUNCTION {format.addr.org}
+{ address empty$
+ { organization empty$
+ { "" }
+ { organization }
+ if$
+ }
+ { organization empty$
+ { "" }
+ { organization ", " * }
+ if$
+ address *
+ }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ "{\em In:}"
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "{\em In:}"
+ }
+ { " Vol." volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "\cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ "{\em In:}"
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ output.year.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal "t" change.case$ emphasize
+ "journal" output.check
+ format.vol.num.date.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { new.sentence
+ format.edition output
+ new.block
+ booklike.series.volume.number output
+ new.block
+ format.addr.pub "publisher" output.check
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ output.year.month.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ howpublished output
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { new.sentence
+ format.edition output
+ new.block
+ booklike.series.volume.number output
+ new.block
+ format.addr.pub "publisher" output.check
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ new.block
+ note output
+ new.block % BS 1629 (rather
+ format.chapter.pages.inbook "chapter and pages" output.check
+ fin.entry % than Chicago,
+} % p. 451)
+
+FUNCTION {incollection}
+{ output.bibitem
+ author empty$
+ { format.editors "editor" output.check
+ editor format.key output }
+ { format.authors "author" output.check
+ author format.key output }
+ if$
+ output.year.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$ % Chapter and/or
+ { format.in.ed.booktitle output % page numbers can
+ format.edition output % come out via this
+ incollectionlike.series.volume.number output % route, too.
+ new.block
+ format.addr.pub "publisher" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ new.block
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ publisher empty$
+ { output.year.month.check }
+ { output.year.check }
+ if$
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ incollectionlike.series.volume.number output
+ new.block
+ publisher empty$
+ {
+ organization empty$
+ 'skip$
+ { format.addr.org output }
+ if$
+ }
+ {
+ organization empty$
+ { format.addr.pub output }
+ { format.addr.pub.org output }
+ if$
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ output.year.month.check
+ new.block
+ format.btitle "title" output.check
+ new.sentence
+ format.edition output
+ new.block
+ organization address new.block.checkb
+ format.addr.org output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ output.year.month.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "M.Phil. thesis" format.thesis.type output.nonnull % ODWE abbrev.
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ output.year.month.check
+ new.block
+ format.btitle output
+ new.block
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ output.year.month.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "Ph.D. thesis" format.thesis.type output.nonnull % Butcher,
+ school "school" output.check % page 174.
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors "author and editor" output.check
+ editor format.key output
+ publisher empty$
+ { output.year.month.check }
+ { output.year.check }
+ if$
+ new.block
+ format.btitle "title" output.check
+ new.block
+ booklike.series.volume.number output
+ new.block
+ publisher empty$
+ {
+ organization empty$
+ 'skip$
+ { format.addr.org output }
+ if$
+ }
+ {
+ organization empty$
+ { format.addr.pub output }
+ { format.addr.pub.org output }
+ if$
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ output.year.month.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ new.sentence
+ format.addr.inst "institution" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ output.year.month.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"Jan."} % ODWE, "months", &
+ % Chicago, p. 383.
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " {\em et~al.}" * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " {\em et~al.}" * }
+ { " \& " * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+ { type$ "book" =
+ type$ "inbook" =
+ type$ "incollection" = % For sensible
+ or or % treatment of
+ 'author.editor.key.label % Singer in
+ { type$ "proceedings" = % BS 1629.
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ duplicate$
+ year empty$
+ {
+ "\protect\citename{" swap$ * ", }" *
+ "n.d." * 'label := % Chicago,
+ } % page 457.
+ {
+ "\protect\citename{" swap$ * ", }" *
+ year
+ *
+ 'label :=
+ }
+ if$
+ year field.or.null purify$ *
+ sortify 'sort.label :=
+}
+
+
+FUNCTION {sort.format.names} % To produce the
+{ 's := % order of entries
+ #1 'nameptr := % specified in item
+ "" % (3) on page 187
+ s num.names$ 'numnames := % of Butcher.
+ numnames 'namesleft :=
+ { namesleft #0 > nameptr #3 < and } % Only 1st 2 names
+ { nameptr #1 > % matter for
+ { " " * } % sorting.
+ 'skip$
+ if$ % Anything that's
+ nameptr #2 = numnames #2 > and % "et al" goes
+ { "zzzzz" * } % after works by 2
+ { % authors.
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "zzzzz" * }
+ { t sortify * }
+ if$
+ }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort} % Two sorting
+{ calc.label % passes, from
+ label sortify % apalike.bst.
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ type$ "incollection" = % For Singer
+ or or % in BS 1629.
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { last.label next.extra }
+
+INTEGERS { last.extra.num }
+
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$ % Code needed here
+ % if \citeauthor
+ % and \citeyear
+ label extra.label * 'label := % were supported.
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/authordate/authordate4.ltx b/biblio/bibtex/contrib/authordate/authordate4.ltx
new file mode 100644
index 0000000000..56d4696cdf
--- /dev/null
+++ b/biblio/bibtex/contrib/authordate/authordate4.ltx
@@ -0,0 +1,18 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/authordate4.ltx
+% Creator: David Rhead [David_Rhead@vme.nott.ac.uk]
+% Creation Date: Sun 28 Jun 92 19:10:19 BST
+
+\documentstyle[authordate1-4]{report}
+
+\raggedright
+
+\begin{document}
+
+\input{testadb.ltx}
+
+\bibliographystyle{authordate4}
+
+\bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/authordate/testadb.ltx b/biblio/bibtex/contrib/authordate/testadb.ltx
new file mode 100644
index 0000000000..f5cf41fe01
--- /dev/null
+++ b/biblio/bibtex/contrib/authordate/testadb.ltx
@@ -0,0 +1,183 @@
+\chapter{Introduction}
+
+This document shows the effect of referring to some of the examples given
+by \cite{bs-1629}, \cite{bs-5605}, \cite{bs-6371}, \cite{butcher-81} and
+\cite{chicago-82}.
+
+\chapter{Examples given in BS 5605}
+
+\section{Citations from section 4}
+
+% Standard LaTeX provides \cite but not \shortcite.
+%
+Johnson \shortcite{johnson-74} describes \dots\\
+In a recent study \cite{johnson-74}, it is described as \dots\\
+%
+Howells \shortcite{howells-66-pop} discussed the subject briefly \dots\\
+%
+In a further article \cite{howells-66-var}, greater attention was
+given \dots\\
+%
+% BS 5605 uses &, whereas Chicago (page 402) would use "and" here.
+% Butcher (page 186) accepts either.
+Johnson and Howells \shortcite{johnson-howells} take a different view \dots\\
+%
+This work \cite{johnson-etc} quotes \dots\\
+%
+Elsewhere \cite{anon-67} it is shown \dots\\
+%
+Howells \shortcite[p.\ 29]{howells-66-var} describes \dots\\
+
+\section{Another reference from section 5}
+
+In \cite{howells-51} \dots\\
+
+\section{References from section 6}
+
+\dots\ \cite{fletcher-hopkins} \dots\\
+%
+\dots\ \cite{wright-63} \dots\\
+%
+\dots\ \cite{feigl-58} \dots\\
+
+\chapter{Examples given in BS 1629}
+
+\dots\ \cite{hoel-71-whole} \dots\\
+%
+\dots\ \cite{hoel-71-portion} \dots\\
+%
+\dots\ \cite{singer-whole} \dots\\
+%
+\dots\ \cite{singer-portion-chapter} \dots\\
+%
+\dots\ \cite{singer-portion-volume} \dots\\
+%
+% BS 5605 says that "if a contribution is separately paginated ... the part
+% number should be inserted in parentheses". BibTeX cannot tell whether
+% a contribution is separately paginated but, if the number field is present
+% in the bib file, will produce a reference in the required form.
+\dots\ \cite{godfrey-59} \dots\\
+%
+\dots\ \cite{ramsbottom-31} \dots\\
+%
+\dots\ \cite{bs-2570-manual} \dots\\
+%
+\dots\ \cite{bs-2570-techreport} \dots\\
+%
+\dots\ \cite{bs-2570-inbook} \dots\\
+%
+\dots\ \cite{ellis-walton} \dots\\
+%
+\dots\ \cite{hanlon-72} \dots\\
+%
+\dots\ \cite{winget-67} \dots\\
+%
+\dots\ \cite{bry-afflerbach} \dots\\
+%
+\dots\ \cite{ranganathan-51} \dots\\
+%
+\dots\ \cite{mccolvin-nodate} \dots\\
+
+\chapter{Examples given in BS 6371}
+
+\dots\ measures which the lords were urging on the king
+\cite[fol. 22]{exchequer-34-39}. Henry seems to have been ineffectual
+according to Traquair \shortcite{traquair-38}. With the appointment of a
+new receiver of rents \cite[fol. 2]{exchequer-34-39}, \dots\\
+
+\dots\ \cite{pym-24} \dots\\
+%
+\dots\ \cite{croft-78} \dots\\
+
+\chapter{Examples given by Butcher}
+
+\dots\ the synthesis of amino acids \cite[pp.\ 131--8]{darcy-20-amaz}
+amazed \dots\\
+%
+\dots\ the synthesis of amino acids by D'Arcy
+\shortcite[pp.\ 131--8]{darcy-20-amaz} amazed \dots\\
+%
+\dots\ if more than one is included in one text reference,
+one says \shortcite{darcy-20-amaz,darcy-20-again}.\\
+%
+\dots\ \cite{jones-n-h-r} \dots\\
+%
+\dots\ \cite{jones-s-r} \dots\\
+%
+\dots\ \cite{jones-65} \dots\\
+%
+\dots\ \cite{jones-69} \dots\\
+%
+\dots\ \cite{jones-abrams} \dots\\
+%
+\dots\ \cite{jones-a-s} \dots\\
+%
+\dots\ \cite{jones-smith} \dots\\
+%
+\dots\ \cite{bloggs-60} \dots\\
+%
+\dots\ \cite{bloggs-61} \dots\\
+%
+\dots\ \cite{bloggs-jones} \dots\\
+%
+\dots\ \cite{bloggs-s-j} \dots\\
+%
+\dots\ \cite{brown-f-s} \dots\\
+%
+\dots\ \cite{eckstein-zuckerman} \dots\\
+%
+\dots\ \cite{heller-lederis} \dots\\
+%
+\dots\ \cite{wood-61} \dots\\
+
+\chapter{Examples given by Chicago}
+
+\section{Citations from chapter 15}
+
+\dots\ \cite[121--25]{pratt-75} \dots\\
+%
+\dots\ \cite{light-72,light-wong,kingston-76} \dots\\
+%
+\dots\ \cite{kelley-96-spring,kelley-96-autumn,kelley-07} \dots\\
+
+\section{References from chapter 16}
+
+\dots\ \cite{brunswick-85} \dots\\
+%
+\dots\ \cite{wright-78-book} \dots\\
+%
+\dots\ \cite{wright-78-incollection} \dots\\
+%
+\dots\ \cite{kendeigh-52} \dots\\
+%
+\dots\ \cite{chapman-75} \dots\\
+%
+\dots\ \cite{hershkovitz-62} \dots\\
+%
+\dots\ \cite{ogilvy-65} \dots\\
+%
+\dots\ \cite{mcneill-63} \dots\\
+%
+\dots\ \cite{thomson-71} \dots\\
+%
+\dots\ \cite{gordon-75} \dots\\
+%
+\dots\ \cite{milton-24} \dots\\
+%
+\dots\ \cite{chomsky-73} \dots\\
+%
+\dots\ \cite{chave-64} \dots\\
+%
+\dots\ \cite{smart-76} \dots\\
+%
+\dots\ \cite{jackson-79} \dots\\
+%
+\dots\ \cite{prufer-64} \dots\\
+%
+\dots\ \cite{mann-68} \dots\\
+%
+\dots\ \cite{maguire-76} \dots\\
+%
+\dots\ \cite{downes-74} \dots\\
+%
+\dots\ \cite{hunt-76} \dots\\
diff --git a/biblio/bibtex/contrib/babelbib/ChangeLog b/biblio/bibtex/contrib/babelbib/ChangeLog
new file mode 100644
index 0000000000..7495370ef0
--- /dev/null
+++ b/biblio/bibtex/contrib/babelbib/ChangeLog
@@ -0,0 +1,192 @@
+2019/03/11 1.32 Norbert Preining (norbert@preining.info>
+ - Fix Spanish abbreviations for month 5,6,7 (Debian bug: #689450)
+
+2012/01/03 1.31 Harald Harders (harald.harders@gmx.de)
+ - Added Serbian, Czech, and Romanian language
+ - Corrections in Portuguese, Croatian, Swedish
+ - Change handling of editions to allow keyword `edition' before the edition number
+ - Added Romanian and Swedish numerals
+ - Fix definition of \btxnumerallong in Spanish
+
+2010/01/06 1.30 Harald Harders (h.harders@tu-bs.de)
+ - Added Croatian language
+
+2009/10/10 1.29 Harald Harders (h.harders@tu-bs.de)
+ - Fix output of "urldate"
+
+2009/06/23 1.28 Harald Harders (h.harders@tu-bs.de)
+ - Corrected Diciembre in Spanish language
+ - Automatic formatting of month year combinations
+ (either "June 2009" or "06/2009")
+
+2009/06/19 1.27 Harald Harders (h.harders@tu-bs.de)
+ - Capitalised month names in Poruguese but not in Brazilian
+ - Fixed publisherfont in babamspl.bst
+ - Added Russian language
+
+2009/06/17 1.26 Harald Harders (h.harders@tu-bs.de)
+ - Correct journal article title font in babamspl.bst
+ - Linebreak added between url and urldate
+ - Added Galician and Bahasa languages
+ - Added French and Portuguese numerals
+ - Corrected Spanish numerals
+ - Removed comma before `and' in long lists of authors in Portuguese
+ and Swedish
+
+2008/09/24 1.25 Harald Harders (h.harders@tu-bs.de)
+ - Add font command for publisher
+ - Remove change of language in alpha-numerical bib items because
+ of occasional exceeded TeX memory
+
+2008/02/17 1.24 Harald Harders (h.harders@tu-bs.de)
+ - Put \btxISSN and \btxISBN into an \mbox to prevent them from being
+ hyphenated
+
+2006/08/18 1.23 Harald Harders (h.harders@tu-bs.de)
+ - Fix bug in typesetting title of articles for babamspl.bst
+
+2006/01/02 1.22 Harald Harders (h.harders@tu-bs.de)
+ - Remove space after \btxurlfont again (has been lost sometimes)
+ because a linebreak between \url and the argument breaks
+ hyperref.sty.
+
+2005/11/20 1.21 Harald Harders (h.harders@tu-bs.de)
+ - Fix problem when the first bibliography entry is in an unknown
+ language.
+
+2005/11/13 1.20 Harald Harders (h.harders@tu-bs.de)
+ - Add Greek language.
+ - Change method to write urldate to enable to write it in brackets.
+ - Bugfix in names writing of abbreviated styles.
+ - Ensure to write URL's in latin font.
+ - Numerals for French and Spanish.
+ - Add the fields ANNOTE and ANNOTELANGUAGE to all bibTeX styles and
+ introduce the command \btxannotation which prints the annotations
+ on request.
+ - Add the package options isbn, noisbn, issn, noissn, varlanguage,
+ nolanguagenames, annote, and noannote.
+ - Add new font jtitle for titles of journal articles.
+ - Fix a bug with additional spaces after names.
+
+2005/11/05 1.17 Harald Harders (h.harders@tu-bs.de)
+ - Change the language in alpha-numerical bib items.
+ - Handle numerical edition numbers.
+
+2005/10/31 1.16 Harald Harders (h.harders@tu-bs.de)
+ - Allow to alter space between two abbreviated forenames.
+
+2005/09/01 1.15 Harald Harders (h.harders@tu-bs.de)
+ - Add \biblanguage that switches to the keyword language within a
+ field.
+ - Small bug fix in loading language files (Angel Tsankov).
+
+2005/07/11 1.14 Robert Fuster (rfuster@mat.upv.es)
+ - Complete and correct catalan.
+
+2005/06/27 1.13 Philip Ratcliffe (philip.ratcliffe@email.it)
+ - Apply corrections to and complete Italian language.
+
+2005/06/19 1.12 Harald Harders (h.harders@tu-bs.de)
+ - Add new font \btxlastname for last names.
+ - Add extra formatting of lastnames to BibTeX styles.
+ - Add the command \setbtxfallbacklanguage to force a fall-back
+ language.
+
+2005/06/19 1.12 Daniel Winkelmann (daniel.winkelmann@club-internet.fr)
+ - Correct \btxlanguagenameenglish, \btxmastthesis, and \btxmonaugshort
+ in french.bdf.
+
+2005/06/12 1.11 Harald Harders (h.harders@tu-bs.de)
+ - Avoid some additional line breaks in author and editor names.
+ - Switch ISBN and ISSN in bibliographies on and off
+ (does not work for AmS style).
+ - Remove space after \btxurlfont because a linebreak between \url and
+ the argument breaks hyperref.sty (which is a pity because this can
+ lead to line-break problems with long arguments).
+
+2005/05/24 1.10 Harald Harders (h.harders@tu-bs.de)
+ - Allow different ordering of forenames and lastnames.
+ - Protect the \foreignlanguage calls (avoids problems with natbib).
+ - Bug in Portuguese removed.
+
+2005/04/15 1.02 Harald Harders (h.harders@tu-bs.de)
+ - Language Portuguese completed.
+
+2005/04/11 1.01 Harald Harders (h.harders@tu-bs.de)
+ - Added space after the \btx... commands in the bst files to avoid
+ line-breaking problem.
+
+2005/02/16 1.00 Harald Harders (h.harders@tu-bs.de)
+ - Move ChangeLog from README to ChangeLog.
+ - Shorten version string.
+ - Renamed franceis to francais.
+ - Handle package frenchpro.
+ - Remove warning for old babel package with french language.
+ - Rewritten warning about frenchle.sty package.
+ - Remove emphasize and smallcaps from BibTeX styles.
+ - Added urldate to all BibTeX styles.
+
+2004/06/28 0.46 Harald Harders (h.harders@tu-bs.de)
+ - Enable to switch off printout of language name with babamspl style.
+
+2004/04/21 0.45 Harald Harders (h.harders@tu-bs.de)
+ - Added Esperanto and Finnish.
+
+2004/02/12 0.44a Harald Harders (h.harders@tu-bs.de)
+ - Adapted Makefile for TeXLive.
+
+2004/01/06 0.44 Harald Harders (h.harders@tu-bs.de)
+ - Improved spacings in documentation.
+
+2004/01/06 0.43 Harald Harders (h.harders@tu-bs.de)
+ - Document the problem using frenchle.sty when using
+ french language with some babel versions.
+ - Warn if using french language.
+ - Fix a bug in detection of the used languages that
+ did not work with some versions of babel.
+
+2003/11/09 0.42 Harald Harders (h.harders@tu-bs.de)
+ - Use unique version strings for all files of the bundle.
+ - Reorganise documentation.
+
+2003/11/02 0.41 Harald Harders (h.harders@tu-bs.de)
+ - Added Norwegian and corrected Swedish.
+
+2003/09/26 0.40 Harald Harders (h.harders@tu-bs.de)
+ - babalpha.bst: Use long strings for Technical Reports.
+ - Move the definition of the bst files into the dtx file.
+ - If no language field is given for an item, fall back to the
+ document's main language instead of an undefined behaviour.
+ - If no \url command is defined, produce an error message
+ when using the url field.
+
+2003/07/28 0.34 Harald Harders (h.harders@tu-bs.de)
+ - Added Afrikaans.
+
+2003/05/07 0.33 Harald Harders (h.harders@tu-bs.de)
+ - Added Portuguese, Swedish, Spanish, and Danish.
+
+2003/05/06 0.32 Harald Harders (h.harders@tu-bs.de)
+ - Added French.
+
+2003/05/06 0.32 Harald Harders (h.harders@tu-bs.de)
+ - Move decision about change of case from bst files to the style file.
+ - Add new font for journal names.
+
+2003/05/01 0.31 Harald Harders (h.harders@tu-bs.de)
+ - Added some language names for Italian.
+
+2003/04/21 0.3 Harald Harders (h.harders@tu-bs.de)
+ - Improved \setbiblanguage command.
+ - Added \setbtxcommands to add and change keywords.
+
+2003/04/20 0.2 Harald Harders (h.harders@tu-bs.de)
+ - Added option `languagenames'.
+ - Removed Italian from list of automatically loaded
+ languages, since it is not complete.
+ - Added language names to the current language definitions.
+ - Changed the font changing scheme to use the command
+ \setbibliographyfont instead of \renewcommand.
+
+2003/04/11 0.1 Harald Harders (h.harders@tu-bs.de)
+ - Total new version.
diff --git a/biblio/bibtex/contrib/babelbib/Makefile b/biblio/bibtex/contrib/babelbib/Makefile
new file mode 100644
index 0000000000..0e81fa0c85
--- /dev/null
+++ b/biblio/bibtex/contrib/babelbib/Makefile
@@ -0,0 +1,101 @@
+
+SRCDIR=babelbib
+INSTALLDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/tex/latex/babelbib
+DOCDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/doc/latex/babelbib
+BSTDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/bibtex/bst/babelbib
+VERSION=`latex getversion | grep '^VERSION' | sed 's/^VERSION \\(.*\\)\\.\\(.*\\)/\\1_\\2/'`
+
+
+.SUFFIXES: .sty .ins .dtx .ps .pdf
+
+.ins.sty:
+ latex $<
+
+.dtx.pdf:
+ pdflatex $<
+ pdflatex $<
+ makeindex -s gind.ist $(*D)/$(*F)
+ makeindex -s gglo.ist -o $(*D)/$(*F).gls $(*D)/$(*F).glo
+ pdflatex $<
+
+all: babelbib babelbib.pdf babelbibtest.pdf tugboat-babelbib.pdf
+
+babelbibtest.pdf: babelbibtest.tex babelbibtest.bib babelbib.sty
+ pdflatex babelbibtest
+ bibtex babelbibtest
+ pdflatex babelbibtest
+ pdflatex babelbibtest
+
+babelbib: babelbib.sty
+
+tugboat-babelbib.pdf:
+ if `test -f "tugboat-babelbib.tex"`; then \
+ pdflatex tugboat-babelbib; \
+ bibtex tugboat-babelbib; \
+ pdflatex tugboat-babelbib; \
+ pdflatex tugboat-babelbib; \
+ fi
+
+
+clean:
+ @-rm -f *.glo *.gls *.idx *.ilg *.ind *.toc *.log *.aux *.blg *.bbl
+ @-rm -f *~
+
+distclean: clean
+ @-rm -f babelbib.sty babelbib.pdf babelbib.ps
+ @-rm -f babelbibtest.pdf babelbibtest.ps
+ @-rm -f *.bdf bab*.bst
+ @-rm -f tugboat-babelbib.pdf tugboat-babelbib.bib
+ @-rm -rf texmf/
+
+tar: all clean
+ @echo Lege babelbib-$(VERSION).tar.gz an
+ -rm -f babelbib-$(VERSION).tar.gz
+ tar czCf .. babelbib-$(VERSION).tar.gz \
+ $(SRCDIR)/README \
+ $(SRCDIR)/ChangeLog \
+ $(SRCDIR)/Makefile \
+ $(SRCDIR)/babelbib.dtx \
+ $(SRCDIR)/babelbib.ins \
+ $(SRCDIR)/babelbib.pdf \
+ $(SRCDIR)/babelbibtest.tex \
+ $(SRCDIR)/babelbibtest.bib \
+ $(SRCDIR)/getversion.tex \
+ $(SRCDIR)/tugboat-babelbib.pdf
+ rm -f getversion.log
+
+
+zip: texlive
+ -@rm -f babelbib-$(VERSION).zip
+ zip -r babelbib-$(VERSION).zip texmf
+ rm -rf texmf
+ rm -f getversion.log
+
+
+texlive: all tugboat-babelbib.pdf clean
+ rm -rf texmf
+ mkdir -p texmf/tex/latex/babelbib/
+ mkdir -p texmf/doc/latex/babelbib/
+ mkdir -p texmf/source/latex/babelbib/
+ mkdir -p texmf/bibtex/bst/babelbib/
+ cp *.sty *.bdf texmf/tex/latex/babelbib/
+ cp babelbib.pdf README ChangeLog babelbibtest.tex texmf/doc/latex/babelbib/
+ cp babelbibtest.bib tugboat-babelbib.pdf texmf/doc/latex/babelbib/
+ cp babelbib.dtx babelbib.ins texmf/source/latex/babelbib/
+ cp Makefile getversion.tex texmf/source/latex/babelbib/
+ cp *.bst texmf/bibtex/bst/babelbib/
+
+
+install: all
+ if [ ! -d $(INSTALLDIR) ]; then mkdir -p $(INSTALLDIR); fi
+ if [ ! -d $(DOCDIR) ]; then mkdir -p $(DOCDIR); fi
+ if [ ! -d $(BSTDIR) ]; then mkdir -p $(BSTDIR); fi
+ install -m644 babelbib.sty $(INSTALLDIR)
+ install -m644 *.bdf $(INSTALLDIR)
+ install -m644 *.bst $(BSTDIR)
+ install -m644 babelbib.pdf $(DOCDIR)
+ texhash
+
+
+babelbib.sty: babelbib.ins babelbib.dtx
+
diff --git a/biblio/bibtex/contrib/babelbib/README b/biblio/bibtex/contrib/babelbib/README
new file mode 100644
index 0000000000..0d58543872
--- /dev/null
+++ b/biblio/bibtex/contrib/babelbib/README
@@ -0,0 +1,57 @@
+Multilingual bibliographies: The babelbib package
+=================================================
+
+
+This package enables to generate multilingual bibliographies in
+cooperation with babel. Two approaches are possible: Each citation
+may be written in another language, or the whole bibliography can
+be typeset in a language chosen by the user. The current version
+supports Afrikaans, Bahasa, Catalan, Croatian, Danish, Dutch, English,
+Esperanto, Finnish, French, Galician, German, Greek, Italian, Norwegian,
+Portuguese, Romanian, Russian, Serbian, Spanish, and Swedish.
+ In addition, the package supports commands to change the typography
+of the bibliographies.
+ Many of the standard and extended bibliography styles are available.
+
+Please help me to add more languages to babelbib.
+
+The file tugboat-babelbib.pdf is a draft of an article that has been
+published in TUGboat. It contains a detailed documentation of the babelbib
+package and how to extend it. The source code for this file is not included.
+This article is about version 0.40 of this package but is up-to-date in most
+parts.
+
+Copyright 2003--2019 Harald Harders
+
+This program can be redistributed and/or modified under the terms
+of the LaTeX Project Public License Distributed from CTAN
+archives in directory macros/latex/base/lppl.txt; either
+version 1 of the License, or any later version.
+
+
+
+Installation:
+
+automatic: - run make
+ - run make install
+ or
+ - run make
+ - copy *.sty, *.bst, and *.bdf to the correct places in the
+ texmf tree
+ - run texhash or the corresponding command of your distribution
+
+by hand: - execute latex on babelbib.ins
+ - execute latex on babelbib.dtx (2x)
+ - copy *.sty, *.bst, and *.bdf to the correct places in the
+ texmf tree
+ - run texhash or the corresponding command of your distribution
+
+
+To do:
+- Add more languages.
+- Test the different BibTeX styles.
+- Add definition of \btxurldatecomment to Esperanto and Afrikaans.
+
+2012-01-03
+Harald Harders
+h.harders@tu-bs.de
diff --git a/biblio/bibtex/contrib/babelbib/babelbib.dtx b/biblio/bibtex/contrib/babelbib/babelbib.dtx
new file mode 100644
index 0000000000..0a609cbbeb
--- /dev/null
+++ b/biblio/bibtex/contrib/babelbib/babelbib.dtx
@@ -0,0 +1,9503 @@
+% \iffalse meta comment
+% File: babelbib.dtx Copyright (C) 2003--2019 Harald Harders
+% \fi
+%
+% \iffalse
+%
+%<*driver>
+\documentclass{ltxdoc}
+\usepackage[T1]{fontenc}
+\usepackage[latin1]{inputenc}
+\usepackage[ngerman,english]{babel}
+%\usepackage{url}
+\usepackage{array}
+\usepackage{amsmath}
+\usepackage{hyperref}
+\IfFileExists{booktabs.sty}%
+ {\usepackage{booktabs}}%
+ {\let\toprule\hline
+ \let\midrule\hline
+ \let\bottomrule\hline}
+\IfFileExists{babelbib.sty}{\usepackage[fixlanguage]{babelbib}
+ \let\babelbibSTYfound\active}{\GenericWarning{babelbib.dtx}{Package
+ file babelbib.sty not found (Documentation will be messed up!^^J^^A
+ Generate babelbib.sty by LaTeXing babelbib.ins, process
+ babelbib.dtx again)^^J}\stop}
+\GetFileInfo{babelbib.sty}
+\title{Multilingual bibliographies: The \texttt{babelbib} package}
+\author{Harald Harders\\\texttt{harald.harders@gmx.de}}
+\date{Version \fileversion, \filedate, printed \today}
+\newlength{\tempdima}%
+\makeatletter
+\renewenvironment{table}[1][]{%
+ \@float{table}[#1]%
+ \centering%
+ \setlength{\tempdima}{\abovecaptionskip}%
+ \setlength{\abovecaptionskip}{\belowcaptionskip}%
+ \setlength{\belowcaptionskip}{\tempdima}%
+ }{%
+\end@float
+}
+\makeatother
+\EnableCrossrefs
+\CodelineIndex
+\DoNotIndex{\def,\edef,\let,\newcommand,\newenvironment,\newcounter}
+\DoNotIndex{\setcounter,\space,\",\@empty,\begin,\end,\iffalse,\fi,\extras}
+\DoNotIndex{\bibs,\ifx,\else,\fi,\ ,\ae,\emph,\input,\foreignlanguage}
+\DoNotIndex{\IeC,\cyrv,\CYRV,\cyrt,\CYRT,\cyrya,\protect}
+\CodelineNumbered
+\RecordChanges
+\CheckSum{14887}
+\hyphenation{bib-lio-gra-phy}
+\begin{document}
+ \DocInput{babelbib.dtx}
+\end{document}
+%</driver>
+% \fi
+%
+% \changes{0.1}{2003/04/11}{Total new version}%
+% \changes{0.2}{2003/04/20}{Rewritten in main parts}%
+% \changes{0.42}{2003/11/09}{Use unique version strings for all files
+% of the bundle}%
+% \changes{0.42}{2003/11/09}{Reorganise docstrip code}%
+% \changes{0.43}{2004/01/06}{Document the problem using
+% \texttt{frenchle.sty} when using \texttt{french} language with
+% some babel versions}%
+% \changes{0.44}{2004/01/06}{Improved spacings in documentation}%
+% \changes{0.44a}{2004/02/12}{Adapted Makefile for \TeX Live}%
+% \changes{0.46}{2004/06/28}{Enable to switch off printout of language
+% name with \texttt{babamspl} style}%
+% \changes{1.00}{2005/02/16}{Rewritten warning about \texttt{frenchle.sty}
+% package}%
+% \changes{1.00}{2005/02/16}{Shorten version string}%
+% \changes{1.00}{2005/02/16}{Added \texttt{urldate} to all \BibTeX\
+% styles}%
+% \changes{1.01}{2005/04/11}{Added space after the \cs{btx}\ldots\
+% commands in the \texttt{bst} files to avoid line-breaking problem}%
+% \changes{1.02}{2005/04/15}{Language Portuguese completed}%
+% \changes{1.10}{2005/05/24}{Allow different ordering of forenames and
+% lastnames}%
+% \changes{1.10}{2005/05/24}{Protect the \cs{foreignlanguage} calls
+% (avoids problems with natbib)}%
+% \changes{1.11}{2005/06/12}{Avoid some additional line breaks in
+% author and editor names}%
+% \changes{1.11}{2005/06/12}{Switch ISBN and ISSN in bibliographies on
+% and off (does not work for \protect\AmS\ style)}%
+% \changes{1.11}{2005/06/12}{Remove space after \cs{btxurlfont}
+% because a linebreak between \cs{url} and the argument breaks
+% \texttt{hyperref.sty} (which is a pity because this can lead to
+% line-break problems with long arguments)}%
+% \changes{1.12}{2005/06/19}{Correct \cs{btxlanguagenameenglish},
+% \cs{btxmastthesis}, and \cs{btxmonaugshort} in
+% \texttt{french.bdf}}%
+% \changes{1.13}{2005/06/27}{Apply corrections to and complete Italian
+% language}%
+% \changes{1.14}{2005/07/11}{Complete and correct catalan}%
+% \changes{1.20}{2005/11/13}{Add Greek language}%
+% \changes{1.20}{2005/11/13}{Change method to write \texttt{urldate}
+% to enable to write it in brackets}%
+% \changes{1.20}{2005/11/13}{Bugfix in names writing of abbreviated
+% styles}%
+% \changes{1.20}{2005/11/13}{Ensure to write URL's in latin font}%
+% \changes{1.20}{2005/11/13}{Numerals for French and Spanish}%
+% \changes{1.20}{2005/11/13}{Add the fields \texttt{ANNOTE} and
+% \texttt{ANNOTELANGUAGE} to all bib\TeX\ styles and introduce the
+% command \cs{btxannotation} which prints the annotations on
+% request.}%
+% \changes{1.20}{2005/11/13}{Add the package options \texttt{isbn},
+% \texttt{noisbn}, \texttt{issn}, \texttt{noissn},
+% \texttt{varlanguage}, \texttt{nolanguagenames}, \texttt{annote}, and
+% \texttt{noannote}}%
+% \changes{1.20}{2005/11/13}{Add new font \texttt{jtitle} for titles
+% of journal articles}%
+% \changes{1.20}{2005/11/13}{Fix a bug with additional spaces after
+% names}%
+% \changes{1.21}{2005/11/20}{Fix problem when the first bibliography entry
+% is in an unknown language}%
+% \changes{1.22}{2006/01/02}{Remove space after \cs{btxurlfont} again
+% because a linebreak between \cs{url} and the argument breaks
+% \texttt{hyperref.sty}}%
+% \changes{1.23}{2006/08/18}{Fix bug in typesetting title of articles for
+% \texttt{babamspl.bst}}%
+% \changes{1.24}{2008/02/17}{Put \cs{btxISSN} and \cs{btxISBN} into an
+% \cs{mbox} to prevent them from being hyphenated}%
+% \changes{1.25}{2008/09/24}{Add font command for publisher}%
+% \changes{1.25}{2008/09/24}{Remove change of language in
+% alpha-numerical bib items because of occasional exceeded TeX memory}%
+% \changes{1.26}{2009/06/17}{Correct journal article title font in
+% \texttt{babamspl.bst}}%
+% \changes{1.26}{2009/06/17}{Linebreak added between url and urldate}%
+% \changes{1.26}{2009/06/17}{Added Galician and Bahasa languages}%
+% \changes{1.26}{2009/06/17}{Added French and Portuguese numerals}%
+% \changes{1.26}{2009/06/17}{Corrected Spanish numerals}%
+% \changes{1.26}{2009/06/17}{Removed comma before `and' in long lists
+% of authors in Portuguese and Swedish}%
+% \changes{1.27}{2009/06/19}{Capitalised month names in Poruguese but
+% not in Brazilian}%
+% \changes{1.27}{2009/06/19}{Fixed publisherfont in babamspl.bst}%
+% \changes{1.27}{2009/06/19}{Added Russian language}%
+% \changes{1.28}{2009/07/05}{Corrected Diciembre in Spanish language}%
+% \changes{1.28}{2009/07/05}{Automatic formatting of month year
+% combinations (either ``June 2009'' or ``06/2009'')}%
+% \changes{1.28}{2009/07/05}{Some corrections in Brazilian Portuguese}%
+% \changes{1.29}{2009/10/10}{Fix output of ``urldate''}%
+% \changes{1.30}{2010/01/06}{Added Croatian language}%
+% \changes{1.31}{2012/01/03}{Corrections in Portuguese, Croatian, Swedish}%
+% \changes{1.31}{2012/01/03}{Added Serbian, Czech, and Romanian language}%
+% \changes{1.31}{2012/01/03}{Change handling of editions to allow
+% keyword `edition' before the edition number}%
+% \changes{1.32}{2019/03/11}{Fix Spanish month abbreviation missing periods}%
+%
+% \maketitle
+% \begin{abstract}
+% \noindent
+% This package enables to generate multilingual bibliographies in
+% cooperation with |babel|.
+% Two approaches are possible:
+% Each citation may be written in another language, or the whole
+% bibliography can be typeset in a language chosen by the user.
+%
+% In addition, the package supports commands to change the typography
+% of the bibliographies.
+%
+% The current version supports Afrikaans, Bahasa, Catalan, Croatian,
+% Danish, Dutch,
+% English, Esperanto, Finnish, French,\footnote{Babelbib does not work
+% with \texttt{frenchle} prior V5,987. Please update the frenchle
+% package or use the native babel support for French, instead.}
+% Galician, German, Greek, Italian, Norwegian, Portuguese, Romanian,
+% Russian, Serbian, Spanish, and Swedish.
+% Please help me to add more languages.
+%
+% Many of the standard and extended bibliography styles are available.
+% Please read section~\ref{sec:styles}.
+%
+% If you have used version 0.1 of this package:
+% The mechanism to change fonts has changed, please read
+% section~\ref{sec:typography}.
+%
+% Have a look to \texttt{tugboat-babelbib.pdf} which includes detailed
+% descriptions how to use and extend the babelbib bundle.
+% \end{abstract}
+%
+% \tableofcontents
+%
+% \section*{Copyright}
+% Copyright 2003--2019 Harald Harders.
+%
+% This program can be redistributed and/or modified under the terms
+% of the LaTeX Project Public License Distributed from CTAN
+% archives in directory macros/latex/base/lppl.txt; either
+% version 1 of the License, or any later version.
+%
+% \section{Introduction}
+%
+% This package is a replacement for |bibgerm.sty| \cite{germbib} with the
+% aim to be extendable to other languages more easily.
+% In addition, |babelbib| provides a more flexible typography of
+% bibliographies without the need to change |bst| files.
+% But there are two shortcomings: This package needs
+% |babel.sty|~\cite{babel} (thus, it does not work with |german.sty|
+% or |ngerman.sty|), and it is written for \LaTeXe\ and does not work
+% with plain \TeX.
+%
+% The current version supports Afrikaans, Bahasa, Catalan, Croatian,
+% Czech, Danish, Dutch, English, Esperanto, Finnish,
+% French,\footnote{Babelbib does not work with \texttt{frenchle}
+% prior V5,987. Please update the frenchle package or use the native
+% babel support for French, instead.}
+% Galician, German, Greek, Italian, Norwegian, Portuguese, Romanian,
+% Russian, Serbian, Spanish, and Swedish.
+%
+% If you have used version 0.1 of this package:
+% The mechanism to change fonts have changed, please read
+% section~\ref{sec:typography}.
+%
+% \section{Usage}%
+% \label{sec:usage}%
+%
+% To use this package place
+% \begin{verbatim}
+%\usepackage{babelbib}\end{verbatim}
+% into the preamble of your document.
+% The package loads all necessary language definitions for all files
+% it knows that are loaded by |babel|.
+%
+% By default, the language of the bibliographic keywords (``editor'',
+% ``page'', etc.) switches for each item to the language of the cited
+% document.\footnote{This is equivalent to using the package option
+% \texttt{varlanguage}.}
+% If all citations shall be written in the same language, add the
+% option\index{fixlanguage=\texttt{fixlanguage}|usage} |fixlanguage|
+% to the package call.
+% Then, all bibliographies are typeset in the document's main
+% language.
+% To change the bibliography's language, use
+% \DescribeMacro{\selectbiblanguage}
+% |\selectbiblanguage{|$\langle$language$\rangle$|}|.
+% This command only has an effect, if |fixlanguage| is set.
+%
+% |babelbib| supports the \BibTeX\ styles |babplain|, |babplai3|,
+% |babalpha|, |babunsrt|, |bababbrv|, and |bababbr3| that correspond
+% to the standard |bst| files, but include international support as
+% well as flexible typography.\footnote{The versions with the
+% \texttt{3} in the filenames replace the second and later authors by
+% \emph{et al.}, if more than three authors are given.}
+% As usual, you select the style using
+% \DescribeMacro{\bibliographystyle}
+% |\bibliographystyle{|$\langle$filename$\rangle$|}|.
+% In addition, the package supports the \BibTeX\ style |babamspl|
+% which corresponds to |amsplain| by the \AmS.
+% \changes{0.2}{2003/04/20}{Added option \texttt{languagenames} to
+% define commands for language names}%
+% \index{languagenames=\texttt{languagenames}|usage}%
+% If you want to use this style, you have to add the option
+% |languagenames| to the call of the package.
+% Default is |nolanguagenames|.
+%
+% \DescribeMacro{\declarebtxcommands}%
+% If you don't like some of the keywords provided by |babelbib|, or if
+% you want to use new ones, you are able to get these using the
+% command \cs{declarebtxcommands}.
+% It takes two arguments, where the first is the language for which
+% you want to add or change keywords, and the second is the list of
+% command definitions.
+% It seems to be best to show that for an example.
+% You may want to change the definitions for Ph.D.\ theses for English
+% and German with new orthography (the defaults are ``PhD thesis'' resp.\
+% \foreignlanguage{ngerman}{"`Dissertation"'}).
+% You can reach a change by the following code:
+% \begin{verbatim}
+%\declarebtxcommands{english}{%
+% \def\btxphdthesis#1{\protect\foreignlanguage{english}{Ph.D.\ thesis}}%
+%}
+%\declarebtxcommands{ngerman}{%
+% \def\btxphdthesis#1{\protect\foreignlanguage{ngerman}{Doktorarbeit}}%
+%}\end{verbatim}
+% You may change more than one command in one |\setbtxcommand|
+% command.
+% You just have to add more of the |\def|\ldots\ lines.
+% But please don't forget the percent sign at the end of the lines in
+% order to avoid unwanted spaces in the output.
+% The \AmS\ \BibTeX\ style |amsplain| uses ``Ph.D.\ thesis'' instead
+% of the default ``PhD thesis'' for |babamspl|.
+% If you want the same keyword as in the \AmS\ original, you can use
+% the \cs{declarebtxcommands} line shown above.
+%
+%
+% \section{Preparing the \texttt{bib} files}
+%
+% In order to use the feature of multilingual bibliographies, add the
+% field |language| to every entry in your |bib| files.
+% This field gives the language of the cited document, e.\,g.
+% \begin{verbatim}
+%@InBook{dieter1997a,
+% editor = {Dieter, George~E. and others},
+% title = {Materials Selection and Design},
+% chapter = {Effects of Composition, Processing, and Structure on
+% Properties of Engineering Plastics},
+% publisher = {ASM International},
+% year = 1997,
+% volume = 20,
+% series = {ASM Handbook},
+% pages = {434--456},
+% language = {english},
+% isbn = {0-87170-386-6}
+%}\end{verbatim}
+% Then, the output of the document data (title, authors, series, etc.)
+% is typeset with correct hyphenation patterns.
+% Wheather also the keywords (``edition'', ``pages'', etc.) are
+% switched to the citation language, depends on wheather |fixlanguage|
+% has been used.
+% All languages that appear in the bibliography have to be loaded by
+% |babel|.
+%
+% \DescribeMacro{\setbtxfallbacklanguage}
+% If the field |language| is missing, the citation is typeset using a
+% fall-back language.
+% By default, the document's main language (that one that is active at
+% \cs{begin\{document\}}) is used.
+% You can change the fall-back language by using
+% \cs{setbtxfallbacklanguage\marg{language}}, e.\,g.,
+% \begin{verbatim}
+%\setbtxfallbacklanguage{ngerman}\end{verbatim}
+%
+% |babelbib| supports a couple of additional fields:
+% |ISBN|, |ISSN|, |URL|, |URLDATE|, and |ANNOTE|.
+% |ISBN| and |ISSN| take the ISBN or ISSN respectively.
+% |URL| is the address of a WWW page while |URLDATE| is the date when
+% the WWW page has been visited.
+% The field |URL| is typeset using the command |\url| if available,
+% e.\,g., if the user has loaded |url.sty|.
+% Otherwise, |babelbib| defines a |\url| command which just calls
+% |\texttt|.
+% |ANNOTE| typesets annotations after each entry in the bibliography.
+% By default, a |quotation| environment (starting with \cs{noindent})
+% is used.
+% If the field |ANNOTELANGUAGE| is also given, the language is
+% switched to the specified language.
+% Otherwise the language of the keywords is used.
+%
+% You can change the behaviour by redefining
+% \cs{btxannotation}\marg{annotations}.
+% The annotations are only printed when the package option |annote| is
+% used.
+%
+% \DescribeMacro{\biblanguage}%
+% If you want to use language-dependent commands as \cs{alsoname} in a
+% bibliography that was produced with |fixlanguage| you will be
+% surprised that the commands change the output depending on the
+% language of the citation.
+% If you want to write a field with the keyword language, you can use
+% the command \cs{biblanguage}, e.g.,
+% \begin{verbatim}
+%@Article{abinger1988a,
+% author = {Abinger, R. and Hammer, F. and Leopold, J. and others},
+% title = {Gro"sschaden an einem 300"=MW"=Dampfturbosatz},
+% journal = {Der Maschinenschaden},
+% year = 1988,
+% volume = 61,
+% number = 2,
+% pages = {58--60},
+% language = {ngerman},
+% note = {\biblanguage{\alsoname~\cite{abinger1990a}}}
+%}\end{verbatim}
+% This will give the note ``\alsoname~[\ldots]'' instead of
+% ``{\selectlanguage{ngerman}\alsoname~[\ldots]}'' when the
+% bibliography uses English keywords.
+%
+%
+% \section{Available bibliography styles}%
+% \label{sec:styles}%
+%
+% The |babelbib| bundle contains adapted versions of the standard
+% bibliography styles |plain|, |unsrt|, |abbrv|, and |alpha|.
+% They are called |babplain|, |babunsrt|, |bababbrv|, and |babalpha|,
+% respectively.
+% All variants write names in a special manner when more than one
+% author is given.
+% The first author ist written ``Lastname, Forename'' while all other
+% authors are written ``Forename Lastname''.
+% This is done to emphesize the ordering by the lastname.
+%
+% If you don't want this behaviour you can use additional variants
+% that use the same notation for all names.
+% By appending |-fl| to the style name, e.\,g., |babalpha-fl|, all names
+% are written ``Forename Lastname''.
+% By appending |-lf|, e.\,g., |babalpha-lf|, all names are written
+% ``Lastname, Forename''.
+%
+% The style |babamspl| is the |babelbib| equivalent to |amsplain|.
+%
+%
+% \section{Customisation of the bibliography's typography}
+% \label{sec:typography}%
+%
+% In constrast to the standard and |germbib| |bst| files, the
+% appearance of the different data types is not fixed for |bab*.bst|.
+% There are commands for some data fields that determine the used
+% font.
+%
+% \DescribeMacro{\setbibliographyfont}%
+% You can change some font specifications in the bibliography using
+% the command
+% \cs{setbibliographyfont\{\textrm{\meta{element}}\}\{\textrm{\meta{font command}}\}},
+% where \meta{element} is a typographic element, listed in
+% table~\ref{tab:elements}.
+% \begin{table}[tp]
+% \centering
+% \caption{Default values for the fonts in bibliographies.
+% If no value is given, the standard font (normally upright roman)
+% is used.}
+% \label{tab:elements}
+% \begin{tabular}{llll}
+% \toprule
+% Element& Data types& \multicolumn{2}{c}{Default value for
+% \BibTeX\ style} \\
+% && |bababbrv|, |babalpha|& |babamspl| \\
+% && |babplain|, |babunsrt|& \\
+% \midrule
+% name& Authors, editors& & \\
+% lastname& Lastnames of Authors, editors& & \\
+% title& All kinds of titles& \cs{emph}& \cs{emph}\\
+% jtitle& Title of journal articles& \cs{emph}& \cs{emph}\\
+% etal& ``\emph{et al.}''& \cs{emph}& \\
+% journal& Journal name& & \\
+% publisher& Publisher name& & \\
+% volume& Volume (journal)& & \cs{textbf} \\
+% ISBN& ISBN& \cs{MakeUppercase}& \cs{MakeUppercase} \\
+% ISSN& ISSN& \cs{MakeUppercase}& \cs{MakeUppercase} \\
+% url& URL& \cs{url}& \cs{url} \\
+% urldate& visiting date of URL& & \\
+% ordinal& ordinal numbers in edition& & \\
+% \bottomrule
+% \end{tabular}
+% \end{table}
+% \meta{font command} is a command that takes one argument, e.\,g.\
+% |\textbf|, |\emph|, or |\textsc|.
+% If no suitable command is available, you have to define one, first.
+% For example, you can get a bold italic font as follows:
+% \begin{verbatim}
+%\newcommand\textitbf[1]{{\bfseries\itshape #1\/}}%
+%\setbibliographyfont{title}{\textitbf}%\end{verbatim}
+% As it can be seen in this example, the argument of the used font
+% command mustn't be specified in |\setbibliographyfont|.
+%
+%
+% \subsection{Names}
+%
+% The \meta{element} |name| changes the whole name of the author,
+% including forename and lastname.
+% If |lastname| is also specified, it changes the lastname within the
+% font for the name.
+% For example,
+% \begin{verbatim}
+%\setbibliographyfont{name}{\emph}
+%\setbibliographyfont{lastname}{\MakeUppercase}\end{verbatim}
+% leads to |\emph{Harald \MakeUppercase{Harders}}| resp.\
+% ``\emph{Harald \MakeUppercase{Harders}}''.
+%
+%
+% By default, a colon is printed after the author names.
+% If you want another sign, just redefine the command
+% \cs{btxauthorcolon}:
+% \begin{verbatim}
+%\renewcommand\btxauthorcolon{,}\end{verbatim}
+% Unfortunately, it cannot detect whether the name ends on a fullstop.
+% Thus, things like ``Harders, H.. \emph{Title of document}'' may
+% appear.
+%
+%
+% \subsection{URL's}
+%
+% The font definition for |urldate| can also be used not to change the
+% font but to provide a command that writes the date in the correct
+% language, e.\,g., using the |isodate| package:
+% \begin{verbatim}
+%\usepackage[short]{isodate}
+%\setbibliographyfont{urldate}{\printdate}\end{verbatim}
+%
+% When using |urldate|, normally a string is printed between the url
+% itself and the the date, e.g., in English
+% ``\url{http://www.dante.de}, visited on 2005-11-11''.
+% The string is ``|, visited on |''.
+% This is reached by the definition of the internal command
+% \cs{btxurldatecomment}, e.g., for English
+% \begin{verbatim}
+%\def\btxurldatecomment#1{%
+% \protect\foreignlanguage{english}{, visited on #1}%
+%}\end{verbatim}
+% You can change this command, for example, to typeset the date in
+% brackets:
+% \begin{verbatim}
+%\declarebtxcommands{english}{%
+% \def\btxurldatecomment#1{ [#1]}%
+%}\end{verbatim}
+% Be sure not to forget the leading space.
+% It is necessary to be able to begin with a comma which does not have
+% a space before it.
+%
+%
+% \subsection{ISBN and ISSN}
+%
+% \DescribeMacro{\btxISBN}%
+% \DescribeMacro{\btxISSN}%
+% There are two additional commands, \cs{btxISBN} and \cs{btxISSN}.
+% They generate the strings ``ISBN'' and ``ISSN'' in bibliographies.
+% By default, they do it without a change of the font.
+% For example, if using oldstyle digits, it could be worth to change
+% them e.\,g.\ to
+% \begin{verbatim}
+%\renewcommand\btxISBN{\textsc{isbn}}
+%\renewcommand\btxISSN{\textsc{issn}}\end{verbatim}
+%
+% \DescribeMacro{\btxprintISBN}%
+% \DescribeMacro{\btxprintISSN}%
+% By default, the ISBN resp.\ ISSN is printed if present in the data
+% base.
+% You can switch this behaviour off by using \cs{btxprintISBN\{false\}}
+% resp.\ \cs{btxprintISSN\{false\}}.
+% Similarly, printing is switched on by \cs{btxprintISBN\{true\}}
+% resp.\ \cs{btxprintISSN\{true\}}.
+% Alternatively, you can switch on or off the ISBN and ISSN when
+% loading the package by using the package options |isbn|, |noisbn|,
+% |issn|, or |noissn|.
+%
+% This, however, only works for the ``standard'' styles, i.\,e., not for
+% the \AmS\ style |babamspl|.
+%
+% If you are using |babamspl|, the language names of the citations are
+% printed by default, as the original \AmS\ style does it.
+% You can avoid this by adding following line to your preamble:
+% \begin{verbatim}
+%\newcommand\btxprintamslanguage[1]{}\end{verbatim}
+%
+%
+% \subsection{Spaces between forenames}
+%
+% \DescribeMacro{\btxfnamespaceshort}%
+% \DescribeMacro{\btxfnamespacelong}%
+% The spaces between multiple forenames are written by
+% \cs{btxfnamespacelong} and \cs{btxfnamespaceshort} for full and
+% abbreviated forenames, respectively.
+% By default, a normal space is used between full forenames, and a
+% thin space (\cs{,}) is used between abbreviated forenames (with the
+% exception English where no space is printed).
+% These defaults can be changed language-dependent:
+% \begin{verbatim}
+%\declarebtxcommands{english}{%
+% \def\btxfnamespaceshort{\,}%
+% \def\btxfnamespacelong{~}%
+%}\end{verbatim}
+%
+%
+% \subsection{Edition numbers}
+%
+% Ordinal numbers for editions are handled by \LaTeX\ when typesetting
+% the bibliography.
+% You just have to give the number itself in the |bib| file and it is
+% typeset correctly in the bibliography, e.g.,
+% \begin{verbatim}
+%edition = 3\end{verbatim}
+% is typeset as "`3."' in German and ``3rd'' in English.
+% For some other languages, corresponding definitions are included in
+% this package as well.
+% Unfortunately, I do not know about some languages how to write
+% ordinal numbers.
+% Thus, in some languages, a warning is produced and the given
+% number is printed without a change (``3'' in the example).
+% If not a pure number is given, it also is typeset without a change.
+% You can add or change the output of edition numbers on a language
+% basis, e.g.,
+% \begin{verbatim}
+%\declarebtxcommands{english}{%
+% \def\btxnumeralshort#1{%
+% \btxnumeralenglish{english}{#1}}%
+% \def\btxnumerallong#1{%
+% \ifnumber{#1}{%
+% \ifcase#1 0th\or first\or second\or third\or forth\or fifth\or
+% sixth\or seventh\or eighth\or nineth\or tenth\else
+% \btxnumeralenglish{english}{#1}%
+% \fi}{#1}}%
+%}\end{verbatim}
+% This example typesets the ordinals between 1st and 10th as words and
+% switches to the short form for larger numbers in English language
+% for the long version and uses the default function for the short
+% version.
+%
+% Three output formats are predefined:
+% \cs{btxnumeraldot} prints the number with a dot followed, as
+% it is common in German.
+% \cs{btxnumeralenglish} adds ``st'', ``nd'', ``rd'', or
+% ``th'', depending on the number.
+% And \cs{btxnumeralfallback} generates a warning and prints
+% the number as given.
+%
+% If you, for instance, want to switch the Danish behaviour to be as
+% the German is, use these commands:
+% \begin{verbatim}
+%\declarebtxcommands{danish}{%
+% \def\btxnumeralshort#1{\btxnumeraldot{danish}{#1}}%
+% \def\btxnumerallong#1{\btxnumeraldot{danish}{#1}}%
+%}\end{verbatim}
+%
+% For the English variant, a font |numeral| is predefined that
+% typesets the appended characters.
+% If you, for example, want to print the superscripted, use
+% \begin{verbatim}
+%\setbibliographyfont{numeral}{\textsuperscript}\end{verbatim}
+%
+% If you know how numerals are handled in a language, please send me
+% an eMail.
+%
+%
+% \subsection{Printing of month and year}
+%
+% \DescribeMacro{datename}%
+% Starting with version 1.29, |babelbib| prints dates in the format
+% ``MMM YYYY' with the name of the month in case the month is
+% specified in an bibliography entry by default (or by using the
+% package option |datename|).
+% For example,
+% \begin{verbatim}
+%@Manual{baeker1998a,
+% title = {Automatische Neuvernetzung mit ABAQUS/Standard -- Technik
+% und Anwendungen},
+% author = {B\"aker, M.},
+% organization = {Institut f\"ur Werkstoffe, Technische Universit\"at
+% Braunschweig},
+% address = {Braunschweig},
+% month = oct,
+% year = 1998,
+% language = {ngerman}
+%}
+%
+%@TechReport{aurenhammer1996a,
+% author = {Aurenhammer, F. and Klein, R.},
+% title = {Voronoi Diagrams},
+% institution = {FernUniversit\"at Gesamthochschule in Hagen},
+% year = 1996,
+% number = 198,
+% month = 5,
+% language = {english}
+%}\end{verbatim}
+% results in
+% \begingroup
+% \def\section*#1{}
+% \begin{thebibliography}{1}
+% \providebibliographyfont{name}{}%
+% \providebibliographyfont{title}{\emph}%
+% \providebibliographyfont{etal}{\emph}%
+% \providebibliographyfont{volume}{}%
+% \providebibliographyfont{ISBN}{\MakeUppercase}%
+% \providebibliographyfont{ISSN}{\MakeUppercase}%
+% \providebibliographyfont{url}{\url}%
+%
+% \btxselectlanguage {ngerman}
+% \bibitem {baeker1998a}
+% \btxnamefont {\btxlastnamefont {B\"aker}, M.}\btxauthorcolon\ \btxtitlefont
+% {Automatische Neuvernetzung mit ABAQUS/Standard -- Technik und Anwendungen}.
+% \newblock Institut f\"ur Werkstoffe, Technische Universit\"at Braunschweig,
+% Braunschweig, \btxprintmonthyear{.}{10}{1998}{long}.
+%\bibitem {aurenhammer1996a}
+%\btxnamefont {\btxlastnamefont {Aurenhammer}, F.} \btxandlong {}\ \btxnamefont
+% {R. \btxlastnamefont {Klein}}\btxauthorcolon\ \btxtitlefont
+% {\btxifchangecase {Voronoi diagrams}{Voronoi Diagrams}}.
+% \newblock \Btxtechreplong {}\ 198, FernUniversit\"at Gesamthochschule
+% in Hagen,
+% \btxprintmonthyear{.}{5}{1996}{long}.
+% \end{thebibliography}
+% \endgroup
+% Note that this conversion only works if you specify the month using
+% the predefined macro names |jan|, |feb|, etc.\ or if you specify the
+% month numerically (|1|, |2|, |3|, etc.).
+% If you use strings (e.\,g., ``January''), the handling of months
+% does not work so that month and year are printed as given in any
+% case.
+%
+% Whether the full name (e.\,g., ``October'') or an abbreviation
+% (e.\,g., ``Oct.'') is printed, is determined by the bibliography
+% style (|.bst|).
+%
+%
+% \DescribeMacro{datenumeric}%
+% By loading |babelbib| with the package option |datenumeric|, the
+% month is converted to a number.
+% Currently, the output format is ``MM/YYYY'' in all languages.
+% The result looks as follows:
+% \begingroup
+% \def\section*#1{}
+% \makeatletter
+% \btx@datenumeric
+% \makeatother
+% \begin{thebibliography}{1}
+% \providebibliographyfont{name}{}%
+% \providebibliographyfont{title}{\emph}%
+% \providebibliographyfont{etal}{\emph}%
+% \providebibliographyfont{volume}{}%
+% \providebibliographyfont{ISBN}{\MakeUppercase}%
+% \providebibliographyfont{ISSN}{\MakeUppercase}%
+% \providebibliographyfont{url}{\url}%
+%
+% \btxselectlanguage {ngerman}
+% \bibitem {baeker1998a}
+% \btxnamefont {\btxlastnamefont {B\"aker}, M.}\btxauthorcolon\ \btxtitlefont
+% {Automatische Neuvernetzung mit ABAQUS/Standard -- Technik und Anwendungen}.
+% \newblock Institut f\"ur Werkstoffe, Technische Universit\"at Braunschweig,
+% Braunschweig, \btxprintmonthyear{.}{10}{1998}{long}.
+%\bibitem {aurenhammer1996a}
+%\btxnamefont {\btxlastnamefont {Aurenhammer}, F.} \btxandlong {}\ \btxnamefont
+% {R. \btxlastnamefont {Klein}}\btxauthorcolon\ \btxtitlefont
+% {\btxifchangecase {Voronoi diagrams}{Voronoi Diagrams}}.
+% \newblock \Btxtechreplong {}\ 198, FernUniversit\"at Gesamthochschule
+% in Hagen,
+% \btxprintmonthyear{.}{5}{1996}{long}.
+% \end{thebibliography}
+% \endgroup
+%
+% \DescribeMacro{\btxprintmonthyearnum}%
+% If you don't like the used format, you might change it by redefining
+% the macro \cs{btxprintmonthyearnum} for your language as follows:
+% \begin{verbatim}
+%\declarebtxcommands{danish}{%
+% \def\btxprintmonthyearnum#1#2{#1-#2}%
+%}\end{verbatim}
+% Here, the first argument is the month, the second the year.
+%
+% \DescribeMacro{dateasis}%
+% By loading |babelbib| with the package option |dateasis|, the month
+% is printed as specified in the |bib| file in the format ``MMM YYYY''.
+% Beware that the internal macro names |jan|, |feb|, etc.\ are handled
+% as numbers so that following output is gained:
+% \begingroup
+% \def\section*#1{}
+% \makeatletter
+% \btx@dateasis
+% \makeatother
+% \begin{thebibliography}{1}
+% \providebibliographyfont{name}{}%
+% \providebibliographyfont{title}{\emph}%
+% \providebibliographyfont{etal}{\emph}%
+% \providebibliographyfont{volume}{}%
+% \providebibliographyfont{ISBN}{\MakeUppercase}%
+% \providebibliographyfont{ISSN}{\MakeUppercase}%
+% \providebibliographyfont{url}{\url}%
+%
+% \btxselectlanguage {ngerman}
+% \bibitem {baeker1998a}
+% \btxnamefont {\btxlastnamefont {B\"aker}, M.}\btxauthorcolon\ \btxtitlefont
+% {Automatische Neuvernetzung mit ABAQUS/Standard -- Technik und Anwendungen}.
+% \newblock Institut f\"ur Werkstoffe, Technische Universit\"at Braunschweig,
+% Braunschweig, \btxprintmonthyear{.}{10}{1998}{long}.
+%\bibitem {aurenhammer1996a}
+%\btxnamefont {\btxlastnamefont {Aurenhammer}, F.} \btxandlong {}\ \btxnamefont
+% {R. \btxlastnamefont {Klein}}\btxauthorcolon\ \btxtitlefont
+% {\btxifchangecase {Voronoi diagrams}{Voronoi Diagrams}}.
+% \newblock \Btxtechreplong {}\ 198, FernUniversit\"at Gesamthochschule
+% in Hagen,
+% \btxprintmonthyear{.}{5}{1996}{long}.
+% \end{thebibliography}
+% \endgroup
+%
+%
+%
+% \section{How to add new languages}
+%
+% The language definitions are placed in special files with the
+% extension |.bdf|.
+% If you want to add a new language to the |babelbib| system, you
+% should copy one of the existing |bdf| files and change the new
+% file.
+% Make sure to use an existing |bdf| file of the most recent babelbib
+% version.
+%
+% Since |babelbib.sty| contains a list of known languages, it will not
+% find the new language definition file, automatically.
+% Then, you can give the name of the new file without extension as an
+% option when loading |babelbib|.
+% For example, to load |mylang.bdf|, you have to load the package as
+% follows:
+% \begin{verbatim}
+%\usepackage[mylang]{babelbib}\end{verbatim}
+%
+% If you have developed a new |bdf| file, please send it to
+% |harald.harders@gmx.de|.
+% Then, I will add it to the |babelbib| system.
+%
+% \section{Problems and Incompatibilities}
+%
+% \begin{itemize}
+% \item
+% Babelbib does not work together with old versions of the
+% |frenchle| package prior V5,987.
+% Please update the frenchle package or use the native babel support
+% for the French language, instead.
+% \item
+% If babelbib is used together with one of the classes of the
+% KOMA-Script bundle, some additional spaces are added when
+% numerical edition numbers are used.
+% This is a KOMA-Script bug and will be fixed in the next
+% KOMA-Script release.
+% \end{itemize}
+%
+% \section{To Do}
+%
+% \begin{itemize}
+% \item Add more languages.
+% \item Complete Dutch.
+% \item Add the possibility to switch off ISBN and ISSN to |babasmpl|.
+% \end{itemize}
+%
+%
+% \section*{Acknowledgements}
+%
+% Danie Els, \url{dnjels@sun.ac.za} (Afrikaans);
+% Taneli Huuskonen, \url{huuskone@cc.helsinki.fi} (Esperanto, Finnish);
+% V\'\i ctor Lua\~na, \url{victor@fluor.quimica.uniovi.es} (Spanish);
+% Hans Fredrik Nordhaug, \url{hansfn@mi.uib.no} (Norwegian, Swedish);
+% Robert Fuster, \url{rfuster@imm.upv.es} (Catalan);
+% Markus Kohm, \url{komascript@gmx.info} (Different schemes for writing names);
+% Matthias D. Eisner, \url{matthias.eisner@ethz.ch} (protect
+% \cs{foreignlanguage} calls);
+% Daniel Winkelmann, \url{daniel.winkelmann@club-internet.fr}
+% (idea for different formatting of forenames and lastnames);
+% Jan Steffan, \url{me@jansteffan.de} (\cs{setbtxfallbacklanguage});
+% Philip Ratcliffe, \url{philip.ratcliffe@email.it} (corrections for
+% Italian); Angel Tsankov, \url{bigman@abv.bg} (bugfix with
+% \cs{bbbb\meta{\cs{CurrentOption}}loaded});
+% Prokopis Prokopidis, \url{prokopis@ilsp.gr} (Greek);
+% Daniel Flipo, \url{daniel.flipo@univ-lille1.fr} (French numerals);
+% Ignacio Fern\'andez Galv\'an, \url{jellby@yahoo.com} (Spanish
+% numerals);
+% Peter Bartke, \url{bartke@inf.fu-berlin.de} (idea of annote field);
+% Yanti Yulianti, \url{y_yanti@students.itb.ac.id} (Bahasa);
+% Miguel Rodr{\'\i}guez Penabad, \url{penabad@udc.es} (Galician);
+% Jos\'e Carlos Santos, \url{jcsantos@fc.up.pt} (Portuguese);
+% Iago Qui\~nones, \url{iagoqo@gmail.com} (bugfix for Spanish);
+% Erik \"Osthols, \url{erik.osthols@gmail.com} (Swedish);
+% Zoran Filipovic, \url{zoran.filipovic@yahoo.com} (Serbian);
+% Andrei Dragomirescu, \url{andrei.dragomirescu@gmail.com};
+% Tomas Hnizdil, \url{tomash.cz@gmail.com}.
+%
+% Furthermore, I thank the person who provided Russian.
+% Unfortunately, I cannot find the name anymore.
+%
+%\begin{thebibliography}{1}
+% \providebibliographyfont{name}{}%
+% \providebibliographyfont{title}{\emph}%
+% \providebibliographyfont{etal}{\emph}%
+% \providebibliographyfont{volume}{}%
+% \providebibliographyfont{ISBN}{\MakeUppercase}%
+% \providebibliographyfont{ISSN}{\MakeUppercase}%
+% \providebibliographyfont{url}{\url}%
+%
+%\selectlanguage{\english}
+%\bibitem{babel}
+%\btxnamefont{Braams, Johannes}: \btxtitlefont{Babel, a multilingual package
+% for use with \LaTeX's standard document classes}, 2002.
+%\newblock \btxurlfont{CTAN:macros/latex/required/babel/}.
+%
+%\selectlanguage{\english}
+%\bibitem{germbib}
+%\btxnamefont{Wallmeier, M.}, A.~Scherer\btxandcomma{} \btxandlong{}\
+% \btxnamefont{H.~Harders}: \btxtitlefont{Macros for german {\BibTeX}ing},
+% 2000.
+%\newblock \btxurlfont{CTAN:biblio/bibtex/contrib/germbib/}.
+%
+%\end{thebibliography}
+%
+% \StopEventually{\PrintChanges \PrintIndex}
+%
+%
+% \section{The implementation}
+%
+% Source lines that look like \texttt{$\langle$*...$\rangle$} or
+% \texttt{$\langle$/...$\rangle$} where \texttt{...} is arbitrary text
+% are not written into the output files.
+% If a source line starts with \texttt{$\langle$...$\rangle$}, this
+% part of the line is omitted.
+%
+% \subsection{Headings of the files}
+%
+% Heading of the package and the other files:
+% \begin{macrocode}
+%<*package>
+\NeedsTeXFormat{LaTeX2e}[1998/06/01]
+\ProvidesPackage{babelbib}
+%</package>
+% \end{macrocode}
+% File heads of the |bdf| files:
+% \begin{macrocode}
+%<afrikaans>%% Language definitions for Afrikaans by
+%<afrikaans>%% Danie Els <dnjels@sun.ac.za>
+%<afrikaans>\ProvidesFile{afrikaans.bdf}
+%<bahasa>%% Language definitions for Bahasa by
+%<bahasa>%% Yanti Yulianti <y_yanti@students.itb.ac.id>
+%<bahasa>\ProvidesFile{bahasa.bdf}
+%<catalan>%% Language definitions for Catalan by
+%<catalan>%% Robert Fuster <rfuster@imm.upv.es>
+%<catalan>\ProvidesFile{catalan.bdf}
+%<croatian>%% Language definitions for Croatian by
+%<croatian>%% Vedran Mileti\'c <vmiletic@inf.uniri.hr>,
+%<croatian>%% Ivan Kokan <ivan.kokan@gmail.com>,
+%<croatian>%% Ivica Naki\'c <nakic@math.hr>
+%<croatian>\ProvidesFile{croatian.bdf}
+%<czech>%% Language definitions for Czech by
+%<czech>%% Tomas Hnizdil <tomash.cz@gmail.com>
+%<czech>\ProvidesFile{czech.bdf}
+%<danish>\ProvidesFile{danish.bdf}
+%<dutch>\ProvidesFile{dutch.bdf}
+%<english>\ProvidesFile{english.bdf}
+%<esperanto>%% Language definitions for Esperanto by
+%<esperanto>%% Taneli Huuskonen <huuskone@cc.helsinki.fi>
+%<esperanto>\ProvidesFile{esperanto.bdf}
+%<finnish>%% Language definitions for Finnish by
+%<finnish>%% Taneli Huuskonen <huuskone@cc.helsinki.fi>
+%<finnish>\ProvidesFile{finnish.bdf}
+%<french>\ProvidesFile{french.bdf}
+%<galician>%% Language definitions for Galician by
+%<galician>%% Miguel Rodr{\'\i}guez Penabad <penabad@udc.es>
+%<galician>\ProvidesFile{galician.bdf}
+%<german>\ProvidesFile{german.bdf}
+%<greek>\ProvidesFile{greek.bdf}
+%<greek>%% Language definitions for Greek by
+%<greek>%% Prokopis Prokopidis <prokopis@ilsp.gr>
+%<italian>\ProvidesFile{italian.bdf}
+%<norsk>%% Language definitions for Norwegian by
+%<norsk>%% Hans Fredrik Nordhaug <hansfn@mi.uib.no>
+%<norsk>\ProvidesFile{norsk.bdf}
+%<portuguese>%% Language definitions for Portuguese by
+%<portuguese>%% Jos\'e Carlos Santos <jcsantos@fc.up.pt>
+%<portuguese>\ProvidesFile{portuguese.bdf}
+%<romanian>%% Language definitions for Romanian by
+%<romanian>%% Andrei Dragomirescu <andrei.dragomirescu@gmail.com>
+%<romanian>\ProvidesFile{romanian.bdf}
+%<russian>%% Language definitions for Russian by
+%<russian>%% ... (can't find the information. If it was you please tell me!)
+%<russian>\ProvidesFile{russian.bdf}
+%<serbian>%% Language definitions for Serbian by
+%<serbian>%% Zoran Filipovic <zoran.filipovic@yahoo.com>
+%<serbian>\ProvidesFile{serbian.bdf}
+%<spanish>%% Language definitions for Spanish by
+%<spanish>%% V{\'\i}ctor Lua{\~n}a <victor@fluor.quimica.uniovi.es>
+%<spanish>\ProvidesFile{spanish.bdf}
+%<swedish>%% Language definitions for Swedish by
+%<swedish>%% Hans Fredrik Nordhaug <hansfn@mi.uib.no> and
+%<swedish>%% Erik \"Osthols <erik.osthols@gmail.com>
+%<swedish>\ProvidesFile{swedish.bdf}
+% \end{macrocode}
+% Version information unique for all generated files:
+% \begin{macrocode}
+%<latex> [2019/03/11 v1.32 babelbib: multilingual bibliographies (HH)]
+%<bst>%% 2019/03/11 v1.32 babelbib: multilingual bibliographies (HH)
+% \end{macrocode}
+%
+% \subsection{The package itself}
+%
+% \index{fixlanguage=\texttt{fixlanguage}|main}%
+% Define an option which fixes the language in the bibliography to the
+% main language of the document.
+% \begin{macrocode}
+%<*package>
+\newif\ifbbbbfixlanguage
+\DeclareOption{fixlanguage}{\bbbbfixlanguagetrue}
+\DeclareOption{varlanguage}{\bbbbfixlanguagefalse}
+% \end{macrocode}
+% \changes{0.2}{2003/04/20}{Added option \texttt{languagenames} to
+% define commands for language names}%
+% \index{languagenames=\texttt{languagenames}|main}%
+% If this option is used, generate the commands
+% \cs{btxlanguagename}\meta{language} that save how languages are
+% called in other languages, e.\,g. in German, French is called
+% \foreignlanguage{ngerman}{"`französisch"'}.
+% \begin{macrocode}
+\newif\ifbbbblanguagenames
+\DeclareOption{nolanguagenames}{\bbbblanguagenamesfalse}
+\DeclareOption{languagenames}{\bbbblanguagenamestrue}
+% \end{macrocode}
+% \begin{macrocode}
+\newif\ifbbbbannotations
+\DeclareOption{annote}{\bbbbannotationstrue}
+\DeclareOption{noannote}{\bbbbannotationsfalse}
+% \end{macrocode}
+% \begin{macro}{\ifbtx@printISBN}
+% \begin{macro}{\ifbtx@printISSN}
+% The booleans that store the necessary information if ISBN and ISSN
+% shall be printed.
+% \begin{macrocode}
+\newif\ifbtx@printISBN
+\newif\ifbtx@printISSN
+\DeclareOption{isbn}{\btx@printISBNtrue}
+\DeclareOption{noisbn}{\btx@printISBNfalse}
+\DeclareOption{issn}{\btx@printISSNtrue}
+\DeclareOption{noissn}{\btx@printISSNfalse}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\bbbbifundefined}
+% \begin{macrocode}
+\newcommand\btxprintmonthyear[4]{}
+\newcommand*\btx@dateasis{%
+ \def\btxprintmonthyear##1##2##3##4{##2\ ##3}%
+}
+\newcommand*\btx@datenumeric{%
+ \def\btxprintmonthyear##1##2##3##4{%
+ \ifnumber{##2}{\btxprintmonthyearnum{##2}{##3}}{##2\ ##3}}%
+}
+\newcommand*\btx@datename{%
+ \def\btxprintmonthyear##1##2##3##4{%
+ \ifnumber{##2}{%
+ \ifcase ##2 \or
+ \csname btxmonjan##4\endcsname{##1}\or
+ \csname btxmonfeb##4\endcsname{##1}\or
+ \csname btxmonmar##4\endcsname{##1}\or
+ \csname btxmonapr##4\endcsname{##1}\or
+ \csname btxmonmay##4\endcsname{##1}\or
+ \csname btxmonjun##4\endcsname{##1}\or
+ \csname btxmonjul##4\endcsname{##1}\or
+ \csname btxmonaug##4\endcsname{##1}\or
+ \csname btxmonsep##4\endcsname{##1}\or
+ \csname btxmonoct##4\endcsname{##1}\or
+ \csname btxmonnov##4\endcsname{##1}\or
+ \csname btxmondec##4\endcsname{##1}\or
+ \PackageError{babelbib}{%
+ Month outside range 1 to 12 used}{%
+ Better use the BibTeX names jan, feb, mar, etc.}%
+ \fi
+ \ ##3%
+ }{%
+ ##2\ ##3}%
+ }%
+}
+\DeclareOption{dateasis}{\btx@dateasis}
+\DeclareOption{datenumeric}{\btx@datenumeric}
+\DeclareOption{datename}{\btx@datename}
+% \end{macrocode}
+% \end{macro}
+% If additional options are given, try to load these as
+% languages. This is implemented in order to be able to use a new
+% language that is not yet supported by the official |babelbib|.
+% \changes{1.15}{2005/09/01}{Small bug fix in loading language files}%
+% \begin{macrocode}
+\DeclareOption*{%
+ \InputIfFileExists{\CurrentOption.bdf}{%
+ \expandafter\def\csname bbbb\CurrentOption loaded\endcsname{\@empty}%
+ }{%
+ \PackageError{babelbib}{%
+ Language definition file \CurrentOption.bdf not found}{%
+ Maybe you misspelled the language option?}%
+ }%
+}
+% \end{macrocode}
+% Default options.
+% \begin{macrocode}
+\ExecuteOptions{varlanguage,nolanguagenames,noannote,isbn,issn,datename}
+% \end{macrocode}
+% Process the given options.
+% \begin{macrocode}
+\ProcessOptions*
+% \end{macrocode}
+% \begin{macro}{\bbbbifundefined}
+% Define a replacement for \cs{@ifundefined} that does not define the
+% command it is tested for as side effect.
+% This command has been taken from a news posting by Markus Kohm
+% (|markus.kohm@gmx.de|).
+% \begin{macrocode}
+\newcommand*{\bbbbifundefined}[1]{%
+ \begingroup\expandafter\expandafter\expandafter\endgroup
+ \expandafter\ifx\csname #1\endcsname\relax
+ \expandafter\@firstoftwo
+ \else
+ \expandafter\@secondoftwo
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\bbbbaddto}
+% Adds the command named |\bibs#2| to the command |\extras#1|, if this
+% command is defined before, where |#1| and |#2| are the arguments of
+% |\bbbbaddto|. For internal use only.
+% \changes{0.32}{2003/05/06}{Changed \cs{bbbbaddto} in order to allow
+% different commands to be added to \cs{extras}\meta{language}}%
+% \begin{macrocode}
+\newcommand\bbbbaddto[2]{%
+% \end{macrocode}
+% Test wheather |\extras#1| is defined.
+% \begin{macrocode}
+ \expandafter\bbbbifundefined{extras#1}{}{%
+% \end{macrocode}
+% Call |babel|'s command to append |\bibs#1| to |\extras#1|.
+% \begin{macrocode}
+ \expandafter\addto\expandafter{\csname extras#1\endcsname}{%
+ \csname #2\endcsname}%
+ \typeout{babelbib extension \@backslashchar #2 added to
+ \string\extras #1}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\inputbdf}
+% Input the file |#2.bdf| if babel has loaded the language |#1|.
+% For internal use only.
+% \begin{macrocode}
+\newcommand\inputbdf[2]{%
+% \end{macrocode}
+% \changes{0.43}{2004/01/05}{Test on \cs{date}\meta{language} instead on
+% \cs{l@}\meta{language} (caused problems with \TeX Live)}%
+% Test wheather |\date#1| is defined which is the case if the language
+% |#1| has been loaded.
+% \begin{macrocode}
+ \bbbbifundefined{date#1}{}{%
+% \end{macrocode}
+% Input |#2.bdf|.
+% \begin{macrocode}
+ \@ifundefined{bbbb#2loaded}{%
+ \expandafter\def\csname bbbb#2loaded\endcsname{\@empty}%
+ \input{#2.bdf}%
+ }{}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\selectbiblanguage}
+% \changes{0.3}{2003/04/21}{Handling of usage before or after
+% \texttt{begin\{document\}} added}%
+% Define |\selectbiblanguage| which explicitly selects the language
+% for the bibliography. This is only useful when the option
+% |fixlanguage| is used.
+% Otherwise the command produces a warning and does nothing else.
+%
+% Since all the language dependent macros are not know before
+% |\begin{document}|, the command |\selectbiblanguage| has to wait
+% until there, before doing any action.
+% Because after |\begin{document}|, it can do the action immediately,
+% |\selectbiblanguge| has to be redefined there.
+% \begin{macrocode}
+\ifbbbbfixlanguage
+% \end{macrocode}
+% Define the |\selectlanguage| command for usage before
+% |\begin{document}|.
+% \begin{macrocode}
+ \newcommand\selectbiblanguage[1]{%
+ \AtBeginDocument{\@selectbiblanguage{#1}}%
+ }
+% \end{macrocode}
+% Redefine it at |\begin{document}|.
+% \begin{macrocode}
+ \AtBeginDocument{%
+ \renewcommand\selectbiblanguage[1]{\@selectbiblanguage{#1}}%
+ }
+% \end{macrocode}
+% Define the ``real'' command that does the action.
+% It tests wheather |\bibs#1| and |\extras#1| are known and produces
+% error messages if not.
+% If everything is okay, change the bibliography language.
+% \begin{macrocode}
+ \newcommand\@selectbiblanguage[1]{%
+ \bbbbifundefined{bibs#1}{%
+ \bbbbifundefined{date#1}{%
+ \PackageError{babelbib}{Language #1 in bibliography not loaded
+ by babel}{%
+ The language #1 hasn't been loaded by babel.
+ Add it to the\MessageBreak
+ options of the \string\usepackage{babel} command or to the
+ global options.}%
+ }{%
+ \PackageError{babelbib}{Language #1 in bibliography unknown by
+ babelbib}{%
+ There are no definitions for #1 available in the
+ current\MessageBreak
+ version of babelbib. Please contact harald.harders@gmx.de.}%
+ }%
+ }{%
+ \typeout{babelbib: Set language for keywords in the bibliography fixed to #1}%
+ \csname bibs#1\endcsname
+ }%
+ }
+\else
+ \newcommand\selectbiblanguage[1]{%
+ \PackageWarning{babelbib}{Command \string\selectbiblanguage\space
+ used without package\MessageBreak
+ option fixlanguage. Ignored}%
+ }
+ \AtBeginDocument{%
+ \typeout{babelbib: Use citation-dependent languages in bibliography}%
+ }
+\fi
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\btxselectlanguage}
+% \changes{0.2}{2003/04/20}{Added}%
+% Define |\selectbiblanguage| which selects a language and complains
+% if babelbib does not know about this language.
+% For internal use, only.
+% \begin{macrocode}
+\newcommand\btxselectlanguage[1]{%
+ \bbbbifundefined{bibs#1}{%
+ \bbbbifundefined{date#1}{%
+ \PackageError{babelbib}{Language #1 in bibliography not loaded
+ by babel}{%
+ The language #1 hasn't been loaded by babel.
+ Add it to the\MessageBreak
+ options of the \string\usepackage{babel} command or to the
+ global options.}%
+ }{%
+ \ifbbbbfixlanguage
+ \PackageWarning{babelbib}{Language #1 in bibliography
+ unknown\MessageBreak
+ by babelbib. Hyphenation will be\MessageBreak
+ incorrect}%
+ \else
+ \PackageError{babelbib}{Language #1 in bibliography unknown by
+ babelbib}{%
+ There are no definitions for #1 available in the
+ current\MessageBreak
+ version of babelbib. Please contact harald.harders@gmx.de.}%
+ \fi
+ }%
+ }{%
+ \csname extras#1\endcsname
+ \selectlanguage{#1}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\biblanguage}
+% \changes{1.15}{2005/09/01}{Add \cs{biblanguage} that switches to the
+% keyword language within a field}%
+% Define \cs{biblanguage} which switches to the keyword language
+% within a field.
+% \begin{macrocode}
+\newcommand\biblanguage[1]{{%
+ \expandafter\selectlanguage\expandafter{\biblanguagename}#1}}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\btxlanguagename}
+% \changes{0.2}{2003/04/20}{Added}%
+% Define |\btxlanguagename| which typesets the name of the language
+% given in the argument, spoken in the current active language.
+% \begin{macrocode}
+\newcommand\btxlanguagename[1]{%
+ \bbbbifundefined{btxlanguagename#1}{%
+ \PackageError{babelbib}{Languagename for #1 not
+ defined\MessageBreak
+ in \languagename\space language}{%
+ Either you have forgotten to specify the option `languagenames'
+ when loading\MessageBreak
+ babelbib, or the command \string\bibs\languagename\space does
+ not contain a definition\MessageBreak
+ for the command \string\btxlanguagename#1.
+ In the latter case, please\MessageBreak
+ contact harald.harders@gmx.de.}%
+ #1%
+ }{%
+ \@nameuse{btxlanguagename#1}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\setbtxfallbacklanguage}
+% \changes{1.12}{2005/06/19}{Add the command \cs{setbtxfallbacklanguage}
+% to force a fall-back language}%
+% \begin{macrocode}
+\newcommand*\setbtxfallbacklanguage[1]{%
+ \edef\btxfallbacklanguage{#1}%
+ \typeout{babelbib: Set bibliography fall-back language to
+ \btxfallbacklanguage}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\btxfallbacklanguage}
+% \changes{0.40}{2003/09/26}{Add the command \cs{btxfallbacklanguage}
+% for items without given language}%
+% \begin{macrocode}
+\AtBeginDocument{%
+ \@ifundefined{btxfallbacklanguage}{%
+ \edef\btxfallbacklanguage{\languagename}%
+ \typeout{babelbib: Set bibliography fall-back language to
+ \btxfallbacklanguage}%
+ }{%
+ \typeout{babelbib: Bibliography fall-back language unchanged
+ (\btxfallbacklanguage)}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\declarebtxcommands}
+% \changes{0.3}{2003/04/21}{Added}%
+% Declare |\declarebtxcommands| which adds or replaces one or more of the
+% |\Btx| or |\btx| commands defined in a \cs{bibs}\meta{language}
+% command.
+% The first argument gives the language for which the commands shall
+% be added or changed.
+% The second argument includes the definitions of the commands.
+% For an example, see section~\ref{sec:usage}.
+% \begin{macrocode}
+\newcommand*\declarebtxcommands[2]{%
+ \AtBeginDocument{%
+ \typeout{babelbib: Add a command to \string\bibs#1}%
+ \expandafter\g@addto@macro\csname bibs#1\endcsname{#2}%
+ \ifbbbbfixlanguage
+ \selectbiblanguage{\biblanguagename}%
+ \fi
+ }%
+}
+% \end{macrocode}
+% This command may only be used in the preamble.
+% \begin{macrocode}
+\@onlypreamble\declarebtxcommands
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\btxifchangecaseon}
+% \begin{macro}{\btxifchangecaseoff}
+% \changes{0.32}{2003/05/06}{Move change of case from bst to sty}%
+% The bst files write titles twice, first with changed case and second
+% with preserved case.
+% The macros \cs{btxifchangecaseon} and \cs{btxifchangecaseoff}
+% typeset one of these versions.
+% The languages append one of these commands to the
+% \cs{extras}\meta{language} commands.
+% \begin{macrocode}
+\newcommand*\btxifchangecaseon{%
+ \def\btxifchangecase{\@firstoftwo}%
+}%
+\newcommand*\btxifchangecaseoff{%
+ \def\btxifchangecase{\@secondoftwo}%
+}%
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \begin{macro}{\setbibliographyfont}
+% \changes{0.2}{2003/04/20}{Don't change the font commands directly
+% but use this command}%
+% Define |\setbibliographyfont| and |\setbibliographyfont*| that set
+% the font declared by the first argument |#1| to the second argument
+% |#2|.
+% The second argument has to be a macro with one argument, like
+% |\textbf|, |\emph|, |\textsc|, etc.
+% The normal version generates an error, if the internal command
+% |\btx#1font| is not defined.
+% The star version doesn't.
+% error.
+% \begin{macrocode}
+\newcommand\setbibliographyfont{%
+ \@ifnextchar*{\@@setbibliographyfont}{\@setbibliographyfont}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\@setbibliographyfont}
+% \begin{macrocode}
+\newcommand\@setbibliographyfont[2]{%
+ \bbbbifundefined{btx#1font}{%
+ \PackageError{babelbib}{Bibliography font `#1' can't be set}{%
+ You have tried to define a font for the bibliographic element
+ \MessageBreak
+ `#1', which is unknown to babelbib}%
+ }{%
+ \expandafter\renewcommand\csname btx#1font\endcsname{#2}%
+ \typeout{babelbib: Bibliography font for `#1' changed.}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\@@setbibliographyfont}
+% The first argument is the |*| and ignored.
+% \begin{macrocode}
+\newcommand\@@setbibliographyfont[3]{%
+ \bbbbifundefined{btx#2font}{%
+ \expandafter\newcommand\csname btx#2font\endcsname{#3}%
+ \typeout{babelbib: Bibliography font for `#2' newly defined.}%
+ }{%
+ \expandafter\renewcommand\csname btx#2font\endcsname{#3}%
+ \typeout{babelbib: Bibliography font for `#2' changed.}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\providebibliographyfont}
+% \changes{0.2}{2003/04/20}{Added}%
+% Define |\providebibliographyfont| and |\providebibliographyfont*|
+% that do the same as |\setbibliographyfont| and
+% |\setbibliographyfont*|, but only, if |\setbibliographyfont| has not
+% been used for |#1|, before.
+% It is similar to |\providecommmand| which only defines that command
+% if it is undefined, before.
+% This command is intended to be used by the \BibTeX\ style, but can
+% also be used by the user.
+% \begin{macrocode}
+\newcommand\providebibliographyfont{%
+ \@ifnextchar*{\@@providebibliographyfont}{\@providebibliographyfont}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\@providebibliographyfont}
+% \begin{macrocode}
+\newcommand\@providebibliographyfont[2]{%
+ \bbbbifundefined{btx#1font}{%
+ \PackageError{babelbib}{Bibliography font `#1' can't be set}{%
+ You have tried to define a font for the bibliographic element
+ \MessageBreak
+ `#1', which is unknown to babelbib}%
+ }{%
+ \expandafter\ifx\csname btx#1font\endcsname\@empty
+ \expandafter\renewcommand\csname btx#1font\endcsname{#2}%
+ \typeout{babelbib: Using the BibTeX style's default font for `#1'.}%
+ \else
+ \typeout{babelbib: Using user changed font for `#1'.}%
+ \fi
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\@@setbibliographyfont}
+% The first argument is the |*| and ignored.
+% \begin{macrocode}
+\newcommand\@@providebibliographyfont[3]{%
+ \bbbbifundefined{btx#2font}{%
+ \expandafter\newcommand\csname btx#2font\endcsname{#3}%
+ \typeout{babelbib: Using the BibTeX style's default font for `#2'.}%
+ }{%
+ \expandafter\ifx\csname btx#2font\endcsname\@empty
+ \expandafter\renewcommand\csname btx#2font\endcsname{#3}%
+ \typeout{babelbib: Using the BibTeX style's default font for `#2'.}%
+ \else
+ \typeout{babelbib: Using user changed font for `#2'.}%
+ \fi
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\btxnamefont}
+% \changes{0.32}{2003/05/06}{Add new font for journal names}%
+% \changes{1.12}{2005/06/19}{Add new font \cs{btxlastname} for last
+% names}%
+% Define the dummy commands for available fonts
+% \begin{macrocode}
+\newcommand*\btxnamefont{}
+\let\btxnamefont=\@empty
+\newcommand*\btxlastnamefont{}
+\let\btxlastnamefont=\@empty
+\newcommand\btxtitlefont{}
+\let\btxtitlefont=\@empty
+\newcommand\btxjtitlefont{}
+\let\btxjtitlefont=\@empty
+\newcommand\btxetalfont{}
+\let\btxetalfont=\@empty
+\newcommand\btxjournalfont{}
+\let\btxjournalfont=\@empty
+\newcommand\btxpublisherfont{}
+\let\btxpublisherfont=\@empty
+\newcommand\btxvolumefont{}
+\let\btxvolumefont=\@empty
+\newcommand\btxISBNfont{}
+\let\btxISBNfont=\@empty
+\newcommand\btxISSNfont{}
+\let\btxISSNfont=\@empty
+\newcommand\btxurlfont{}
+\let\btxurlfont=\@empty
+\newcommand\btxurldatefont{}
+\let\btxurldatefont=\@empty
+\newcommand\btxnumeralfont{}
+\let\btxnumeralfont=\@empty
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\btxauthorcolon}
+% \changes{0.2}{2003/04/20}{Added}%
+% Define |\btxauthorcolon| which defines the characters typeset after
+% the authors, if they are written before the title.
+% By default, it is a ``:''.
+% \begin{macrocode}
+\newcommand\btxauthorcolon{:}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\btxISBN}
+% Define |\btxISBN| which outputs "`ISBN"' in a bibliography.
+% For example, it could be defined to |\textsc{isbn}| when old style
+% digits are used.
+% \begin{macrocode}
+\newcommand\btxISBN{ISBN}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\btxISSN}
+% Define |\btxISSN| which outputs "`ISSN"' in a bibliography.
+% For example, it could be defined to |\textsc{issn}| when old style
+% digits are used.
+% \begin{macrocode}
+\newcommand\btxISSN{ISSN}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\ifbtxprintISBN}
+% \begin{macro}{\ifbtxprintISSN}
+% These commands are used by the bibliography styles to typeset the
+% ISBN or ISSN only if wanted.
+% \begin{macrocode}
+\DeclareRobustCommand\ifbtxprintISBN[1]{\ifbtx@printISBN #1\fi}
+\DeclareRobustCommand\ifbtxprintISSN[1]{\ifbtx@printISSN #1\fi}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \begin{macro}{\btxprintISBN}
+% \begin{macro}{\btxprintISSN}
+% These macros are used to switch on or off printing of ISBN resp.\
+% ISSN.
+% Valid arguments are |true| and |false|.
+% \begin{macrocode}
+\newcommand*\btxprintISBN[1]{\csname btx@printISBN#1\endcsname}
+\newcommand*\btxprintISSN[1]{\csname btx@printISSN#1\endcsname}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \begin{macro}{\btxannotation}
+% A command that typesets annotations.
+% \begin{macrocode}
+\ifbbbbannotations
+ \DeclareRobustCommand\btxannotation[1]{%
+ \begin{quotation}%
+ \noindent
+ #1%
+ \end{quotation}%
+ }
+\else
+ \DeclareRobustCommand\btxannotation[1]{}%
+\fi
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\btx@ifnumerical}
+% Test wheather argument 1 is a number (from KOMA script)
+% \begin{macrocode}
+\providecommand\ifnumber[3]{%
+ \begingroup\@tempswafalse\let\scr@next\test@number
+ \expandafter\scr@next#1\scr@next
+ \if@tempswa\endgroup#2\else\endgroup#3\fi
+}
+\providecommand*\test@number[1]{%
+ \ifx \scr@next#1%
+ \let\scr@next\relax
+ \else
+ \@tempcnta=\expandafter\expandafter\expandafter\number
+ \expandafter`#1\relax
+ \ifnum \@tempcnta>47\relax
+ \ifnum \@tempcnta<58\relax
+ \@tempswatrue
+ \else\@tempswafalse\fi
+ \else\@tempswafalse\fi
+ \if@tempswa\else\let\scr@next\gobble@till@next\fi\fi
+ \scr@next
+}
+\def\gobble@till@next#1\scr@next{}
+% \end{macrocode}
+% \end{macro}
+% \changes{1.17}{2005/11/05}{Handle numerical edition numbers}%
+% \begin{macro}{\btx@parsenum}
+% Parses the number given by \cs{btx@parsenum}\meta{number}\cs{@empty}
+% prints it and returns the last two digits in \cs{btx@digita} and
+% \cs{btx@digitb}.
+% \begin{macrocode}
+\def\btx@parsenum#1#2#3\@empty{%
+ #1%
+ \edef\btx@digitb{#3}%
+ \ifx\@empty\btx@digitb
+ #2%
+ \edef\btx@digita{#1}%
+ \edef\btx@digitb{#2}%
+ \else
+ \expandafter\btx@parsenum#2#3\@empty
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\btxnumeralfallback}
+% \begin{macrocode}
+\DeclareRobustCommand\btxnumeralfallback[2]{%
+ \foreignlanguage{#1}{%
+ \ifnumber{#2}{%
+ \PackageWarning{babelbib}{Handling of numerical editions not
+ handled\MessageBreak by language #1 for edition `#2'}%
+ }{}%
+ #2%
+ }%
+}%
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\btxnumeraldot}
+% \begin{macrocode}
+\DeclareRobustCommand\btxnumeraldot[2]{%
+ \foreignlanguage{#1}{\ifnumber{#2}{#2.}{#2}}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\btxnumeralenglish}
+% \begin{macrocode}
+\DeclareRobustCommand\btxnumeralenglish[2]{%
+ \foreignlanguage{#1}{%
+ \ifnumber{#2}{%
+ \expandafter\btx@parsenum#2\@empty\@empty\@empty
+ \btxnumeralfont{%
+ \ifx\btx@digitb\@empty
+ \ifcase\btx@digita th\or st\or nd\or rd\else th\fi
+ \else
+ \ifnum\btx@digita=1
+ th%
+ \else
+ \ifcase\btx@digitb th\or st\or nd\or rd\else th\fi
+ \fi
+ \fi
+ }%
+ }{#2}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\btxnumeralromanian}
+% \changes{1.31}{2012/01/03}{Added Romanian numerals}%
+% \begin{macrocode}
+\newcounter{btxromaniannumeral}%
+\renewcommand\thebtxromaniannumeral{\Roman{btxromaniannumeral}}%
+\DeclareRobustCommand\btxnumeralromanian[2]{%
+ \foreignlanguage{#1}{%
+ \ifnumber{#2}{%
+ \setcounter{btxromaniannumeral}{#2}%
+ \ifcase#2 0\or \thebtxromaniannumeral\else a \thebtxromaniannumeral-a \fi
+ }{#2}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\btxnumeralswedish}
+% \changes{1.31}{2012/01/03}{Added Swedish numerals}%
+% \begin{macrocode}
+\DeclareRobustCommand\btxnumeralswedish[2]{%
+ \foreignlanguage{#1}{%
+ \ifnumber{#2}{%
+ \expandafter\btx@parsenum#2\@empty\@empty\@empty
+ \btxnumeralfont{%
+ \ifx\btx@digitb\@empty
+ \ifcase\btx@digita :e\or :a\or :a\or :e\else :e\fi
+ \else
+ \ifnum\btx@digita=1
+ :a%
+ \else
+ \ifcase\btx@digitb :e\or :a\or :a\or :e\else :e\fi
+ \fi
+ \fi
+ }%
+ }{#2}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\url}
+% \changes{0.40}{2003/09/26}{If no \cs{url} command is defined,
+% produce an error}%
+% \changes{0.2}{2003/04/20}{Added, if not available by another
+% package}%
+% Define |\url| which, by default, is used for URLs. Only necessary if
+% not provided by another package, e.\,g.\ |url.sty|.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \providecommand\url[1]{%
+ \PackageError{babelbib}{No \string\url\space command defined but
+ field URL used\MessageBreak
+ in bibliography}{%
+ Please define a \string\url\space command for printing URLs
+ before \string\begin{document}, e.\,g.\MessageBreak
+ by loading the package `url.sty'.}%
+ \texttt{#1}%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% Perform the following commands at |\begin{document}| in order to be
+% sure to do that after loading |babel|.
+% \begin{macrocode}
+\AtBeginDocument{%
+% \end{macrocode}
+% Load |babel| if that has not been done, yet.
+% \begin{macrocode}
+ \RequirePackage{babel}
+% \end{macrocode}
+% Input all know languages that babel has also loaded, before.
+% \changes{0.2}{2003/04/20}{Removed Italian from the list of
+% automatically found languages, since it is not complete, yet}%
+% \changes{0.31}{2003/05/01}{Added Italian to the list of automatically
+% found languages, again}%
+% \changes{0.34}{2003/07/28}{Added Afrikaans}%
+% \changes{0.41}{2003/11/03}{Added Norwegian (by Hans Fredrik Nordhaug)}%
+% \changes{1.00}{2005/02/16}{Renamed franceis to francais}%
+% \begin{macrocode}
+ \inputbdf{afrikaans}{afrikaans}
+ \inputbdf{american}{english}
+ \inputbdf{austrian}{german}
+ \inputbdf{bahasa}{bahasa}
+ \inputbdf{brazil}{portuguese}
+ \inputbdf{brazilian}{portuguese}
+ \inputbdf{british}{english}
+ \inputbdf{canadian}{english}
+ \inputbdf{canadien}{french}
+ \inputbdf{catalan}{catalan}
+ \inputbdf{croatian}{croatian}
+ \inputbdf{czech}{czech}
+ \inputbdf{danish}{danish}
+ \inputbdf{dutch}{dutch}
+ \inputbdf{english}{english}
+ \inputbdf{esperanto}{esperanto}
+ \inputbdf{finnish}{finnish}
+ \inputbdf{francais}{french}
+ \inputbdf{french}{french}
+ \inputbdf{frenchb}{french}
+ \inputbdf{galician}{galician}
+ \inputbdf{german}{german}
+ \inputbdf{germanb}{german}
+ \inputbdf{greek}{greek}
+ \inputbdf{italian}{italian}
+ \inputbdf{norsk}{norsk}
+ \inputbdf{mexican}{spanish}
+ \inputbdf{naustrian}{german}
+ \inputbdf{ngerman}{german}
+ \inputbdf{portuges}{portuguese}
+ \inputbdf{portuguese}{portuguese}
+ \inputbdf{romanian}{romanian}
+ \inputbdf{russian}{russian}
+ \inputbdf{russianb}{russian}
+ \inputbdf{serbian}{serbian}
+ \inputbdf{spanish}{spanish}
+ \inputbdf{swedish}{swedish}
+ \inputbdf{UKenglish}{english}
+ \inputbdf{USenglish}{english}
+% \end{macrocode}
+% Call |\bibs#1|, where |#1| stands for the main language of the
+% document, to activate the additional bibliographic commands.
+% \begin{macrocode}
+ \ifbbbbfixlanguage
+ \typeout{babelbib: Load BibTeX extensions
+ \string\bibs\bbl@main@language\space for \bbl@main@language}%
+ \selectbiblanguage{\bbl@main@language}%
+ \else
+ \expandafter\selectlanguage\expandafter{\bbl@main@language}%
+ \fi
+}
+%</package>
+% \end{macrocode}
+%
+% \subsection{The language definitions}
+%
+% \subsubsection{German}
+% \begin{macrocode}
+%<*german>
+% \end{macrocode}
+%
+% \begin{macro}{\bibsgerman}
+% Define |\bibsgerman| which itself defines all necessary expressions
+% used in bibliographies that differ in different languages.
+% This command is used for all German dialects.
+%
+% Since the language of the keywords may differ from the language of
+% the bibliography item, the keyword language is set for each keyword.
+% Because this command is also used for dialects, it has an optional
+% argument which is set to the dialect.
+% \begin{macrocode}
+\newcommand\bibsgerman[1][german]{%
+% \end{macrocode}
+% Define the command |\biblanguagename| that always returns the name
+% of the current language for bibliographies.
+% \begin{macrocode}
+ \def\biblanguagename{#1}%
+% \end{macrocode}
+% First, define all commands for usage within a sentence (which
+% normally start with a lowercase letter, if they aren't a noun).
+% These commands start with a lowercase letter.
+%
+% Many commands have an argument. This may be used by the bib\TeX\
+% styles to append a dot after abbreviations, e.\,g.\
+% |\btxetalshort{.}|.
+% \begin{macrocode}
+ \def\btxetalshort##1{\protect\foreignlanguage{#1}{et~al##1{}}}%
+ \def\btxetallong##1{\protect\foreignlanguage{#1}{et~alii}}%
+ \def\btxandshort##1{\protect\foreignlanguage{#1}{und}}%
+ \def\btxandlong##1{\protect\foreignlanguage{#1}{und}}%
+% \end{macrocode}
+% The command |\btxandcomma| contains a ``,'' if a comma is added
+% before the ``and'' in a list of more than two items.
+% For German, this is not the case.
+% \begin{macrocode}
+ \def\btxandcomma##1{}%
+ \def\btxinlong##1{\protect\foreignlanguage{#1}{in:}}%
+ \def\btxinshort##1{\protect\foreignlanguage{#1}{in:}}%
+ \def\btxofseriesshort##1{\protect\foreignlanguage{#1}{d.\ Reihe}}%
+ \def\btxinseriesshort##1{\protect\foreignlanguage{#1}{in}}%
+ \def\btxofserieslong##1{\protect\foreignlanguage{#1}{der Reihe}}%
+ \def\btxinserieslong##1{\protect\foreignlanguage{#1}{in}}%
+ \def\btxeditorshort##1{\protect\foreignlanguage{#1}{Hrsg##1{}}}%
+ \def\btxeditorlong##1{\protect\foreignlanguage{#1}{Herausgeber}}%
+ \def\btxeditorsshort##1{\protect\foreignlanguage{#1}{Hrsg##1{}}}%
+ \def\btxeditorslong##1{\protect\foreignlanguage{#1}{Herausgeber}}%
+ \def\btxvolumeshort##1{\protect\foreignlanguage{#1}{Bd##1{}}}%
+ \def\btxvolumelong##1{\protect\foreignlanguage{#1}{Band}}%
+ \def\btxnumbershort##1{\protect\foreignlanguage{#1}{Nr##1{}}}%
+ \def\btxnumberlong##1{\protect\foreignlanguage{#1}{Nummer}}%
+% \end{macrocode}
+% Avoid the ligature in
+% \foreignlanguage{ngerman}{"`Auf"|lage"'} in the same way, |babel|
+% does it.
+% This is a change in the behaviour to the |germbib| package.
+% In \foreignlanguage{ngerman}{"`Aufl"'} the ligature is still
+% used since this is done in abbreviations.
+% \begin{macrocode}
+ \def\btxeditionshort##1{\protect\foreignlanguage{#1}{Aufl##1{}}}%
+ \def\btxeditionlong##1{\protect\foreignlanguage{#1}{%
+ Auf\penalty10000\discretionary{-}{}{\kern.03em}%
+ \allowhyphens lage}}%
+ \def\btxeditionnumshort##1##2{\btxnumeralshort{##1}~\btxeditionshort{##2}}%
+ \def\btxeditionnumlong##1##2{\btxnumerallong{##1}~\btxeditionlong{##2}}%
+ \def\btxchaptershort##1{\protect\foreignlanguage{#1}{Kap##1{}}}%
+ \def\btxchapterlong##1{\protect\foreignlanguage{#1}{Kapitel}}%
+ \def\btxpageshort##1{\protect\foreignlanguage{#1}{S##1{}}}%
+ \def\btxpagelong##1{\protect\foreignlanguage{#1}{Seite}}%
+ \def\btxpagesshort##1{\protect\foreignlanguage{#1}{S##1{}}}%
+ \def\btxpageslong##1{\protect\foreignlanguage{#1}{Seiten}}%
+ \def\btxmastthesis##1{\protect\foreignlanguage{#1}{Diplomarbeit}}%
+% \end{macrocode}
+% Use \foreignlanguage{ngerman}{"`Dissertation"'} instead of
+% \foreignlanguage{ngerman}{"`Doktorarbeit"'} for PhD theses.
+% This is a change in the behaviour to the |germbib| package.
+% \begin{macrocode}
+ \def\btxphdthesis##1{\protect\foreignlanguage{#1}{Dissertation}}%
+ \def\btxtechrepshort##1{\protect\foreignlanguage{#1}{Techn.\ Ber##1{}}}%
+ \def\btxtechreplong##1{\protect\foreignlanguage{#1}{Technischer Bericht}}%
+ \def\btxmonjanlong##1{\protect\foreignlanguage{#1}{Januar}}%
+ \def\btxmonfeblong##1{\protect\foreignlanguage{#1}{Februar}}%
+ \def\btxmonmarlong##1{\protect\foreignlanguage{#1}{M\"arz}}%
+ \def\btxmonaprlong##1{\protect\foreignlanguage{#1}{April}}%
+ \def\btxmonmaylong##1{\protect\foreignlanguage{#1}{Mai}}%
+ \def\btxmonjunlong##1{\protect\foreignlanguage{#1}{Juni}}%
+ \def\btxmonjullong##1{\protect\foreignlanguage{#1}{Juli}}%
+ \def\btxmonauglong##1{\protect\foreignlanguage{#1}{August}}%
+ \def\btxmonseplong##1{\protect\foreignlanguage{#1}{September}}%
+ \def\btxmonoctlong##1{\protect\foreignlanguage{#1}{Oktober}}%
+ \def\btxmonnovlong##1{\protect\foreignlanguage{#1}{November}}%
+ \def\btxmondeclong##1{\protect\foreignlanguage{#1}{Dezember}}%
+ \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{Jan##1{}}}%
+ \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{Feb##1{}}}%
+ \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{M\"arz}}%
+ \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{Apr##1{}}}%
+ \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{Mai}}%
+ \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{Juni}}%
+ \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{Juli}}%
+ \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{Aug##1{}}}%
+ \def\btxmonsepshort##1{\protect\foreignlanguage{#1}{Sep##1{}}}%
+ \def\btxmonoctshort##1{\protect\foreignlanguage{#1}{Okt##1{}}}%
+ \def\btxmonnovshort##1{\protect\foreignlanguage{#1}{Nov##1{}}}%
+ \def\btxmondecshort##1{\protect\foreignlanguage{#1}{Dez##1{}}}%
+% \end{macrocode}
+% Then, define all commands for usage at the begin of a sentence
+% (which start with an uppercase letter).
+% These commands start with an uppercase letter.
+% Since, in German, many nouns are the same in the middle and at the
+% start of a sentence, the |\Btx| variants just call the |\btx|
+% variant.
+% \begin{macrocode}
+ \def\Btxinlong##1{\protect\foreignlanguage{#1}{In:}}%
+ \def\Btxinshort##1{\protect\foreignlanguage{#1}{In:}}%
+ \def\Btxeditorshort{\btxeditorshort}%
+ \def\Btxeditorlong{\btxeditorlong}%
+ \def\Btxeditorsshort{\btxeditorsshort}%
+ \def\Btxeditorslong{\btxeditorslong}%
+ \def\Btxvolumeshort{\btxvolumeshort}%
+ \def\Btxvolumelong{\btxvolumelong}%
+ \def\Btxnumbershort{\btxnumbershort}%
+ \def\Btxnumberlong{\btxnumberlong}%
+ \def\Btxeditionshort{\btxeditionshort}%
+ \def\Btxeditionlong{\btxeditionlong}%
+ \def\Btxeditionnumshort##1##2{\btxnumeralshort{##1}~\Btxeditionshort{##2}}%
+ \def\Btxeditionnumlong##1##2{\btxnumerallong{##1}~\Btxeditionlong{##2}}%
+ \def\Btxchaptershort{\btxchaptershort}%
+ \def\Btxchapterlong{\btxchapterlong}%
+ \def\Btxpageshort{\btxpageshort}%
+ \def\Btxpagelong{\btxpagelong}%
+ \def\Btxpagesshort{\btxpagesshort}%
+ \def\Btxpageslong{\btxpageslong}%
+ \def\Btxtechrepshort{\btxtechrepshort}%
+ \def\Btxtechreplong{\btxtechreplong}%
+ \def\btxurldatecomment##1{\protect\foreignlanguage{#1}{, besucht: ##1}}%
+% \end{macrocode}
+% \changes{1.16}{2005/10/31}{Allow to alter space between two
+% forenames}%
+% The command \cs{btxfnamespaceshort} and \cs{btxfnamespacelong}
+% contain the space between two abbreviated resp.\ full forenames.
+% \begin{macrocode}
+ \def\btxfnamespaceshort{\,}%
+ \def\btxfnamespacelong{ }%
+% \end{macrocode}
+% \changes{1.17}{2005/11/05}{Handle numerical edition numbers}%
+% Handle numerical edition numbers.
+% \begin{macrocode}
+ \def\btxnumeralshort##1{\btxnumeraldot{#1}{##1}}%
+ \def\btxnumerallong##1{\btxnumeraldot{#1}{##1}}%
+% \end{macrocode}
+% Define how to print month and year in numeric format, e.\,g. MM/YYYY.
+% \begin{macrocode}
+ \def\btxprintmonthyearnum##1##2{##1/##2}%
+% \end{macrocode}
+% A command that just puts some user defined text in the language of
+% the keywords.
+% \begin{macrocode}
+% \def\btxkeywordlanguage##1{\protect\foreignlanguage{#1}{##1}}%
+ \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}%
+% \end{macrocode}
+% \changes{0.2}{2003/04/20}{Added language names}%
+% Names of all known languages in the current language.
+% For example, used by |babamspl.bst|.
+% \begin{macrocode}
+ \ifbbbblanguagenames
+ \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{englisch}}%
+ \def\btxlanguagenameaustrian{\protect\foreignlanguage{#1}{deutsch}}%
+ \def\btxlanguagenamebrazil{\protect\foreignlanguage{#1}{portugiesisch}}%
+ \def\btxlanguagenamebrazilian{\protect\foreignlanguage{#1}{portugiesisch}}%
+ \def\btxlanguagenamebritish{\protect\foreignlanguage{#1}{englisch}}%
+ \def\btxlanguagenamebulgarian{\protect\foreignlanguage{#1}{bulgarisch}}%
+ \def\btxlanguagenamecanadian{\protect\foreignlanguage{#1}{englisch}}%
+ \def\btxlanguagenamecanadien{\protect\foreignlanguage{#1}{franz\"osisch}}%
+ \def\btxlanguagenamecatalan{\protect\foreignlanguage{#1}{katalanisch}}%
+ \def\btxlanguagenamecroatian{\protect\foreignlanguage{#1}{kroatisch}}%
+ \def\btxlanguagenameczech{\protect\foreignlanguage{#1}{tschechisch}}%
+ \def\btxlanguagenamedanish{\protect\foreignlanguage{#1}{d\"anisch}}%
+ \def\btxlanguagenamedutch{\protect\foreignlanguage{#1}{niederl\"andisch}}%
+ \def\btxlanguagenameenglish{\protect\foreignlanguage{#1}{englisch}}%
+ \def\btxlanguagenameesperanto{\protect\foreignlanguage{#1}{esperanto}}%
+ \def\btxlanguagenamefinnish{\protect\foreignlanguage{#1}{finnisch}}%
+ \def\btxlanguagenamefrancais{\protect\foreignlanguage{#1}{franz\"osisch}}%
+ \def\btxlanguagenamefrench{\protect\foreignlanguage{#1}{franz\"osisch}}%
+ \def\btxlanguagenamefrenchb{\protect\foreignlanguage{#1}{franz\"osisch}}%
+ \def\btxlanguagenamegerman{\protect\foreignlanguage{#1}{deutsch}}%
+ \def\btxlanguagenamegermanb{\protect\foreignlanguage{#1}{deutsch}}%
+ \def\btxlanguagenamegreek{\protect\foreignlanguage{#1}{griechisch}}%
+ \def\btxlanguagenamehebrew{\protect\foreignlanguage{#1}{hebr\"aisch}}%
+ \def\btxlanguagenamehungarian{\protect\foreignlanguage{#1}{ungarisch}}%
+ \def\btxlanguagenameicelandic{\protect\foreignlanguage{#1}{isl\"andisch}}%
+ \def\btxlanguagenameirish{\protect\foreignlanguage{#1}{irisch}}%
+ \def\btxlanguagenameitalian{\protect\foreignlanguage{#1}{italienisch}}%
+ \def\btxlanguagenamelatin{\protect\foreignlanguage{#1}{lateinisch}}%
+ \def\btxlanguagenamenaustrian{\protect\foreignlanguage{#1}{deutsch}}%
+ \def\btxlanguagenamengerman{\protect\foreignlanguage{#1}{deutsch}}%
+ \def\btxlanguagenamenorsk{\protect\foreignlanguage{#1}{norwegisch}}%
+ \def\btxlanguagenamenynorsk{\protect\foreignlanguage{#1}{neunorwegisch}}%
+ \def\btxlanguagenamepolish{\protect\foreignlanguage{#1}{polnisch}}%
+ \def\btxlanguagenameportuges{\protect\foreignlanguage{#1}{portugiesisch}}%
+ \def\btxlanguagenameportuguese{\protect\foreignlanguage{#1}{portugiesisch}}%
+ \def\btxlanguagenamerussian{\protect\foreignlanguage{#1}{russisch}}%
+ \def\btxlanguagenamescottish{\protect\foreignlanguage{#1}{schottisch}}%
+ \def\btxlanguagenameserbian{\protect\foreignlanguage{#1}{serbisch}}%
+ \def\btxlanguagenamespanish{\protect\foreignlanguage{#1}{spanisch}}%
+ \def\btxlanguagenameswedish{\protect\foreignlanguage{#1}{schwedisch}}%
+ \def\btxlanguagenameturkish{\protect\foreignlanguage{#1}{t\"urkisch}}%
+ \def\btxlanguagenameUKenglish{\protect\foreignlanguage{#1}{englisch}}%
+ \def\btxlanguagenameUSenglish{\protect\foreignlanguage{#1}{englisch}}%
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\bibsgermanb}
+% Do the same for the language ``germanb''. Since there is no
+% difference, just call |\bibsgerman|.
+% \begin{macrocode}
+\newcommand\bibsgermanb{\bibsgerman}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\bibsngerman}
+% Do the same for German with new ortography. Call |\bibsgerman| with
+% new hyphenation patterns.
+% \begin{macrocode}
+\newcommand\bibsngerman[1][ngerman]{\bibsgerman[#1]}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\bibsaustrian}
+% Once again. Austrians use \foreignlanguage{ngerman}{"`J\"anner"'}
+% instead of \foreignlanguage{ngerman}{"`Januar"'}. Thus, redefine the
+% corresponding command.
+% \begin{macrocode}
+\newcommand\bibsaustrian[1][austrian]{%
+ \bibsgerman[#1]%
+ \def\btxmonjanlong##1{\protect\foreignlanguage{#1}{J\"anner}}%
+ \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{J\"an##1{}}}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\bibsnaustrian}
+% New Austrian is the same as Austrian.
+% \begin{macrocode}
+\newcommand\bibsnaustrian[1][naustrian]{%
+ \bibsngerman[#1]%
+ \def\btxmonjanlong##1{\protect\foreignlanguage{#1}{J\"anner}}%
+ \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{J\"an##1{}}}%
+}
+% \end{macrocode}
+% \end{macro}
+% The rest has to be executed after loading |babel.sty|, because the
+% |\extra...| commands have to be defined for all used languages.
+% \begin{macrocode}
+\AtBeginDocument{%
+% \end{macrocode}
+% If the language is fixed, do nothing.
+% \begin{macrocode}
+ \ifbbbbfixlanguage
+ \else
+% \end{macrocode}
+% Append the corresponding |\#2| command to each used language,
+% namely |\extras#1|.
+% \begin{macrocode}
+ \bbbbaddto{austrian}{bibsaustrian}
+ \bbbbaddto{german}{bibsgerman}
+ \bbbbaddto{germanb}{bibsgermanb}
+ \bbbbaddto{naustrian}{bibsnaustrian}
+ \bbbbaddto{ngerman}{bibsngerman}
+ \fi
+% \end{macrocode}
+% \changes{0.32}{2003/05/06}{Move change of case from bst to sty}%
+% Switch off the change of case in titles for all German dialects by
+% appending \cs{btxifchangecaseoff} to \cs{extras}\meta{language}.
+% \begin{macrocode}
+ \bbbbaddto{austrian}{btxifchangecaseoff}
+ \bbbbaddto{german}{btxifchangecaseoff}
+ \bbbbaddto{germanb}{btxifchangecaseoff}
+ \bbbbaddto{naustrian}{btxifchangecaseoff}
+ \bbbbaddto{ngerman}{btxifchangecaseoff}
+}
+%</german>
+% \end{macrocode}
+%
+% \subsubsection{Galician}
+% \changes{1.26}{2009/06/17}{Added Galician language}%
+% \begin{macrocode}
+%<*galician>
+% \end{macrocode}
+%
+% The language definition for Galician was provided by Miguel
+% Rodr{\'\i}guez Penabad.
+%
+% \begin{macro}{\bibsgalician}
+% Bibliographic commands for Galician.
+% \begin{macrocode}
+\newcommand\bibsgalician[1][galician]{%
+ \def\biblanguagename{#1}%
+ \def\btxetalshort##1{\protect\foreignlanguage{#1}{e~cols##1{}}}%
+ \def\btxetallong##1{\protect\foreignlanguage{#1}{e~colaboradores}}%
+ \def\btxandshort##1{\protect\foreignlanguage{#1}{e}}%
+ \def\btxandlong##1{\protect\foreignlanguage{#1}{e}}%
+ \def\btxandcomma##1{}%
+ \def\btxinlong##1{\protect\foreignlanguage{#1}{en}}%
+ \def\btxinshort##1{\protect\foreignlanguage{#1}{en}}%
+ \def\btxofseriesshort##1{\protect\foreignlanguage{#1}{de}}%
+ \def\btxinseriesshort##1{\protect\foreignlanguage{#1}{en}}%
+ \def\btxofserieslong##1{\protect\foreignlanguage{#1}{de}}%
+ \def\btxinserieslong##1{\protect\foreignlanguage{#1}{en}}%
+ \def\btxeditorshort##1{\protect\foreignlanguage{#1}{ed##1{}}}%
+ \def\btxeditorlong##1{\protect\foreignlanguage{#1}{editor}}%
+ \def\btxeditorsshort##1{\protect\foreignlanguage{#1}{eds##1{}}}%
+ \def\btxeditorslong##1{\protect\foreignlanguage{#1}{editores}}%
+ \def\btxvolumeshort##1{\protect\foreignlanguage{#1}{vol##1{}}}%
+ \def\btxvolumelong##1{\protect\foreignlanguage{#1}{volume}}%
+ \def\btxnumbershort##1{\protect\foreignlanguage{#1}{%
+ n\textsuperscript{\underline{o}}}}%
+ \def\btxnumberlong##1{\protect\foreignlanguage{#1}{n\'umero}}%
+ \def\btxeditionshort##1{\protect\foreignlanguage{#1}{ed##1{}}}%
+ \def\btxeditionlong##1{\protect\foreignlanguage{#1}{edici\'{o}n}}%
+ \def\btxeditionnumshort##1##2{\btxnumeralshort{##1}~\btxeditionshort{##2}}%
+ \def\btxeditionnumlong##1##2{\btxnumerallong{##1}~\btxeditionlong{##2}}%
+ \def\btxchaptershort##1{\protect\foreignlanguage{#1}{cap##1{}}}%
+ \def\btxchapterlong##1{\protect\foreignlanguage{#1}{cap{\'\i}tulo}}%
+ \def\btxpageshort##1{\protect\foreignlanguage{#1}{p\'ax##1{}}}%
+ \def\btxpagelong##1{\protect\foreignlanguage{#1}{p\'axina}}%
+ \def\btxpagesshort##1{\protect\foreignlanguage{#1}{p\'axs##1{}}}%
+ \def\btxpageslong##1{\protect\foreignlanguage{#1}{p\'axinas}}%
+ \def\btxmastthesis##1{\protect\foreignlanguage{#1}{Tese de Licenciatura}}%
+ \def\btxphdthesis##1{\protect\foreignlanguage{#1}{Tese de Doutoramento}}%
+ \def\btxtechrepshort##1{\protect\foreignlanguage{#1}{Informe t\'ecnico##1{}}}%
+ \def\btxtechreplong##1{\protect\foreignlanguage{#1}{Informe t\'ecnico}}%
+ \def\btxmonjanlong##1{\protect\foreignlanguage{#1}{Xaneiro}}%
+ \def\btxmonfeblong##1{\protect\foreignlanguage{#1}{Febreiro}}%
+ \def\btxmonmarlong##1{\protect\foreignlanguage{#1}{Marzo}}%
+ \def\btxmonaprlong##1{\protect\foreignlanguage{#1}{Abril}}%
+ \def\btxmonmaylong##1{\protect\foreignlanguage{#1}{Maio}}%
+ \def\btxmonjunlong##1{\protect\foreignlanguage{#1}{Xu\~no}}%
+ \def\btxmonjullong##1{\protect\foreignlanguage{#1}{Xullo}}%
+ \def\btxmonauglong##1{\protect\foreignlanguage{#1}{Agosto}}%
+ \def\btxmonseplong##1{\protect\foreignlanguage{#1}{Setembro}}%
+ \def\btxmonoctlong##1{\protect\foreignlanguage{#1}{Outubro}}%
+ \def\btxmonnovlong##1{\protect\foreignlanguage{#1}{Novembro}}%
+ \def\btxmondeclong##1{\protect\foreignlanguage{#1}{Decembro}}%
+ \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{Xan##1{}}}%
+ \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{Feb##1{}}}%
+ \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{Mar##1{}}}%
+ \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{Abr##1{}}}%
+ \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{Mai}}%
+ \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{Xu\~n}}%
+ \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{Xul}}%
+ \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{Ago##1{}}}%
+ \def\btxmonsepshort##1{\protect\foreignlanguage{#1}{Set##1{}}}%
+ \def\btxmonoctshort##1{\protect\foreignlanguage{#1}{Out##1{}}}%
+ \def\btxmonnovshort##1{\protect\foreignlanguage{#1}{Nov##1{}}}%
+ \def\btxmondecshort##1{\protect\foreignlanguage{#1}{Dec##1{}}}%
+ \def\Btxinlong##1{\protect\foreignlanguage{#1}{En}}%
+ \def\Btxinshort##1{\protect\foreignlanguage{#1}{En}}%
+ \def\Btxeditorshort##1{\protect\foreignlanguage{#1}{Ed##1{}}}%
+ \def\Btxeditorlong##1{\protect\foreignlanguage{#1}{Editor}}%
+ \def\Btxeditorsshort##1{\protect\foreignlanguage{#1}{Ed##1{}}}%
+ \def\Btxeditorslong##1{\protect\foreignlanguage{#1}{Editores}}%
+ \def\Btxvolumeshort##1{\protect\foreignlanguage{#1}{Vol##1{}}}%
+ \def\Btxvolumelong##1{\protect\foreignlanguage{#1}{Volume}}%
+ \def\Btxnumbershort##1{\protect\foreignlanguage{#1}{%
+ N\textsuperscript{\underline{o}}}}%
+ \def\Btxnumberlong##1{\protect\foreignlanguage{#1}{N\'umero}}%
+ \def\Btxeditionshort##1{\protect\foreignlanguage{#1}{Ed##1{}}}%
+ \def\Btxeditionlong##1{\protect\foreignlanguage{#1}{Edici\'on}}%
+ \def\Btxeditionnumshort##1##2{\btxnumeralshort{##1}~\Btxeditionshort{##2}}%
+ \def\Btxeditionnumlong##1##2{\btxnumerallong{##1}~\Btxeditionlong{##2}}%
+ \def\Btxchaptershort##1{\protect\foreignlanguage{#1}{Cap##1{}}}%
+ \def\Btxchapterlong##1{\protect\foreignlanguage{#1}{Cap\'\itulo}}%
+ \def\Btxpageshort##1{\protect\foreignlanguage{#1}{P\'ax##1{}}}%
+ \def\Btxpagelong##1{\protect\foreignlanguage{#1}{P\'axina}}%
+ \def\Btxpagesshort##1{\protect\foreignlanguage{#1}{P\'axs##1{}}}%
+ \def\Btxpageslong##1{\protect\foreignlanguage{#1}{P\'axinas}}%
+ \def\Btxtechrepshort##1{\protect\foreignlanguage{#1}{Informe t\'ecnico}}%
+ \def\Btxtechreplong##1{\protect\foreignlanguage{#1}{Informe t\'ecnico}}%
+ \def\btxurldatecomment##1{\protect\foreignlanguage{#1}{, visitado o ##1}}%
+ \def\btxfnamespaceshort{\,}%
+ \def\btxfnamespacelong{ }%
+ \def\btxnumeralshort##1{\protect\foreignlanguage{#1}{%
+ \ifnumber{##1}{##1\textsuperscript{a}}{##1}}}%
+ \def\btxnumerallong##1{\btxnumeralshort{##1}}%
+% \end{macrocode}
+% Define how to print month and year in numeric format, e.\,g. MM/YYYY.
+% \begin{macrocode}
+ \def\btxprintmonthyearnum##1##2{##1/##2}%
+ \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}%
+ \ifbbbblanguagenames
+ \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{ingl\'es}}%
+ \def\btxlanguagenameaustrian{\protect\foreignlanguage{#1}{alem\'an}}%
+ \def\btxlanguagenamebrazil{\protect\foreignlanguage{#1}{portugu\'es}}%
+ \def\btxlanguagenamebrazilian{\protect\foreignlanguage{#1}{portugu\'es}}%
+ \def\btxlanguagenamebritish{\protect\foreignlanguage{#1}{ingl\'es}}%
+ \def\btxlanguagenamebulgarian{\protect\foreignlanguage{#1}{b\'ulgaro}}%
+ \def\btxlanguagenamecanadian{\protect\foreignlanguage{#1}{ingl\'es}}%
+ \def\btxlanguagenamecanadien{\protect\foreignlanguage{#1}{franc\'es}}%
+ \def\btxlanguagenamecatalan{\protect\foreignlanguage{#1}{catal\'an}}%
+ \def\btxlanguagenamecroatian{\protect\foreignlanguage{#1}{croata}}%
+ \def\btxlanguagenameczech{\protect\foreignlanguage{#1}{checo}}%
+ \def\btxlanguagenamedanish{\protect\foreignlanguage{#1}{dan\'es}}%
+ \def\btxlanguagenamedutch{\protect\foreignlanguage{#1}{holand\'es}}%
+ \def\btxlanguagenameenglish{\protect\foreignlanguage{#1}{ingl\'es}}%
+ \def\btxlanguagenameesperanto{\protect\foreignlanguage{#1}{esperanto}}%
+ \def\btxlanguagenamefinnish{\protect\foreignlanguage{#1}{finland\'es}}%
+ \def\btxlanguagenamefrancais{\protect\foreignlanguage{#1}{franc\'es}}%
+ \def\btxlanguagenamefrench{\protect\foreignlanguage{#1}{franc\'es}}%
+ \def\btxlanguagenamefrenchb{\protect\foreignlanguage{#1}{franc\'es}}%
+ \def\btxlanguagenamegerman{\protect\foreignlanguage{#1}{alem\'an}}%
+ \def\btxlanguagenamegermanb{\protect\foreignlanguage{#1}{alem\'an}}%
+ \def\btxlanguagenamegreek{\protect\foreignlanguage{#1}{grego}}%
+ \def\btxlanguagenamehebrew{\protect\foreignlanguage{#1}{hebreo}}%
+ \def\btxlanguagenamehungarian{\protect\foreignlanguage{#1}{h\'ungaro}}%
+ \def\btxlanguagenameicelandic{\protect\foreignlanguage{#1}{island\'es}}%
+ \def\btxlanguagenameirish{\protect\foreignlanguage{#1}{irland\'es}}%
+ \def\btxlanguagenameitalian{\protect\foreignlanguage{#1}{italiano}}%
+ \def\btxlanguagenamelatin{\protect\foreignlanguage{#1}{lat\'\i n}}%
+ \def\btxlanguagenamenaustrian{\protect\foreignlanguage{#1}{alem\'an}}%
+ \def\btxlanguagenamengerman{\protect\foreignlanguage{#1}{alem\'an}}%
+ \def\btxlanguagenamenorsk{\protect\foreignlanguage{#1}{noruego}}%
+ \def\btxlanguagenamenynorsk{\protect\foreignlanguage{#1}{noruego}}%
+ \def\btxlanguagenamepolish{\protect\foreignlanguage{#1}{polaco}}%
+ \def\btxlanguagenameportuges{\protect\foreignlanguage{#1}{portugu\'es}}%
+ \def\btxlanguagenameportuguese{\protect\foreignlanguage{#1}{portugu\'es}}%
+ \def\btxlanguagenamerussian{\protect\foreignlanguage{#1}{ruso}}%
+ \def\btxlanguagenamescottish{\protect\foreignlanguage{#1}{escoc\'es}}%
+ \def\btxlanguagenameserbian{\protect\foreignlanguage{#1}{serbio}}%
+ \def\btxlanguagenamespanish{\protect\foreignlanguage{#1}{espa\~nol}}%
+ \def\btxlanguagenameswedish{\protect\foreignlanguage{#1}{sueco}}%
+ \def\btxlanguagenameturkish{\protect\foreignlanguage{#1}{turco}}%
+ \def\btxlanguagenameUKenglish{\protect\foreignlanguage{#1}{ingl\'es}}%
+ \def\btxlanguagenameUSenglish{\protect\foreignlanguage{#1}{ingl\'es}}%
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% Append the definitions to the language-calling commands.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \ifbbbbfixlanguage
+ \else
+ \bbbbaddto{galician}{bibsgalician}
+ \fi
+ \bbbbaddto{galician}{btxifchangecaseoff}
+}
+%</galician>
+% \end{macrocode}
+%
+% \subsubsection{English}
+% \begin{macrocode}
+%<*english>
+% \end{macrocode}
+%
+% The language definition for English is mostly the same as the German
+% one. Therefore, it is not described in detail, again.
+%
+% \begin{macro}{\bibsenglish}
+% \changes{1.00}{2005/02/16}{Handle package \texttt{frenchpro}}%
+% |french.sty| already defines \cs{bibsenglish}.
+% In this case it has to be redefined, otherwise newly defined.
+% \begin{macrocode}
+\makeatletter
+\@ifpackageloaded{french}{}{\newcommand\bibsenglish{}}
+\makeatother
+% \end{macrocode}
+% \changes{0.2}{2003/04/20}{Changed some abbreviations}%
+% Bibliographic commands for English.
+% \begin{macrocode}
+\renewcommand\bibsenglish[1][english]{%
+ \def\biblanguagename{#1}%
+ \def\btxetalshort##1{\protect\foreignlanguage{#1}{et~al##1{}}}%
+ \def\btxetallong##1{\protect\foreignlanguage{#1}{et~alii}}%
+ \def\btxandshort##1{\protect\foreignlanguage{#1}{and}}%
+ \def\btxandlong##1{\protect\foreignlanguage{#1}{and}}%
+ \def\btxandcomma##1{,}%
+ \def\btxinlong##1{\protect\foreignlanguage{#1}{in}}%
+ \def\btxinshort##1{\protect\foreignlanguage{#1}{in}}%
+ \def\btxofseriesshort##1{\protect\foreignlanguage{#1}{of}}%
+ \def\btxinseriesshort##1{\protect\foreignlanguage{#1}{in}}%
+ \def\btxofserieslong##1{\protect\foreignlanguage{#1}{of}}%
+ \def\btxinserieslong##1{\protect\foreignlanguage{#1}{in}}%
+ \def\btxeditorshort##1{\protect\foreignlanguage{#1}{ed##1{}}}%
+ \def\btxeditorlong##1{\protect\foreignlanguage{#1}{editor}}%
+ \def\btxeditorsshort##1{\protect\foreignlanguage{#1}{eds##1{}}}%
+ \def\btxeditorslong##1{\protect\foreignlanguage{#1}{editors}}%
+ \def\btxvolumeshort##1{\protect\foreignlanguage{#1}{vol##1{}}}%
+ \def\btxvolumelong##1{\protect\foreignlanguage{#1}{volume}}%
+ \def\btxnumbershort##1{\protect\foreignlanguage{#1}{no##1{}}}%
+ \def\btxnumberlong##1{\protect\foreignlanguage{#1}{number}}%
+ \def\btxeditionshort##1{\protect\foreignlanguage{#1}{ed##1{}}}%
+ \def\btxeditionlong##1{\protect\foreignlanguage{#1}{edition}}%
+ \def\btxeditionnumshort##1##2{\btxnumeralshort{##1}~\btxeditionshort{##2}}%
+ \def\btxeditionnumlong##1##2{\btxnumerallong{##1}~\btxeditionlong{##2}}%
+ \def\btxchaptershort##1{\protect\foreignlanguage{#1}{ch##1{}}}%
+ \def\btxchapterlong##1{\protect\foreignlanguage{#1}{chapter}}%
+ \def\btxpageshort##1{\protect\foreignlanguage{#1}{p##1{}}}%
+ \def\btxpagelong##1{\protect\foreignlanguage{#1}{page}}%
+ \def\btxpagesshort##1{\protect\foreignlanguage{#1}{pp##1{}}}%
+ \def\btxpageslong##1{\protect\foreignlanguage{#1}{pages}}%
+ \def\btxmastthesis##1{\protect\foreignlanguage{#1}{Master's thesis}}%
+ \def\btxphdthesis##1{\protect\foreignlanguage{#1}{PhD thesis}}%
+ \def\btxtechrepshort##1{\protect\foreignlanguage{#1}{Techn.\ rep##1{}}}%
+ \def\btxtechreplong##1{\protect\foreignlanguage{#1}{Technical report}}%
+ \def\btxmonjanlong##1{\protect\foreignlanguage{#1}{January}}%
+ \def\btxmonfeblong##1{\protect\foreignlanguage{#1}{February}}%
+ \def\btxmonmarlong##1{\protect\foreignlanguage{#1}{March}}%
+ \def\btxmonaprlong##1{\protect\foreignlanguage{#1}{April}}%
+ \def\btxmonmaylong##1{\protect\foreignlanguage{#1}{May}}%
+ \def\btxmonjunlong##1{\protect\foreignlanguage{#1}{June}}%
+ \def\btxmonjullong##1{\protect\foreignlanguage{#1}{July}}%
+ \def\btxmonauglong##1{\protect\foreignlanguage{#1}{August}}%
+ \def\btxmonseplong##1{\protect\foreignlanguage{#1}{September}}%
+ \def\btxmonoctlong##1{\protect\foreignlanguage{#1}{October}}%
+ \def\btxmonnovlong##1{\protect\foreignlanguage{#1}{November}}%
+ \def\btxmondeclong##1{\protect\foreignlanguage{#1}{December}}%
+ \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{Jan##1{}}}%
+ \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{Feb##1{}}}%
+ \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{Mar##1{}}}%
+ \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{Apr##1{}}}%
+ \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{May}}%
+ \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{June}}%
+ \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{July}}%
+ \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{Aug##1{}}}%
+ \def\btxmonsepshort##1{\protect\foreignlanguage{#1}{Sept##1{}}}%
+ \def\btxmonoctshort##1{\protect\foreignlanguage{#1}{Oct##1{}}}%
+ \def\btxmonnovshort##1{\protect\foreignlanguage{#1}{Nov##1{}}}%
+ \def\btxmondecshort##1{\protect\foreignlanguage{#1}{Dec##1{}}}%
+ \def\Btxinlong##1{\protect\foreignlanguage{#1}{In}}%
+ \def\Btxinshort##1{\protect\foreignlanguage{#1}{In}}%
+ \def\Btxeditorshort##1{\protect\foreignlanguage{#1}{Ed##1{}}}%
+ \def\Btxeditorlong##1{\protect\foreignlanguage{#1}{Editor}}%
+ \def\Btxeditorsshort##1{\protect\foreignlanguage{#1}{Eds##1{}}}%
+ \def\Btxeditorslong##1{\protect\foreignlanguage{#1}{Editors}}%
+ \def\Btxvolumeshort##1{\protect\foreignlanguage{#1}{Vol##1{}}}%
+ \def\Btxvolumelong##1{\protect\foreignlanguage{#1}{Volume}}%
+ \def\Btxnumbershort##1{\protect\foreignlanguage{#1}{No##1{}}}%
+ \def\Btxnumberlong##1{\protect\foreignlanguage{#1}{Number}}%
+ \def\Btxeditionshort##1{\protect\foreignlanguage{#1}{Ed##1{}}}%
+ \def\Btxeditionlong##1{\protect\foreignlanguage{#1}{Edition}}%
+ \def\Btxeditionnumshort##1##2{\btxnumeralshort{##1}~\Btxeditionshort{##2}}%
+ \def\Btxeditionnumlong##1##2{\btxnumerallong{##1}~\Btxeditionlong{##2}}%
+ \def\Btxchaptershort##1{\protect\foreignlanguage{#1}{Ch##1{}}}%
+ \def\Btxchapterlong##1{\protect\foreignlanguage{#1}{Chapter}}%
+ \def\Btxpageshort##1{\protect\foreignlanguage{#1}{P##1{}}}%
+ \def\Btxpagelong##1{\protect\foreignlanguage{#1}{Page}}%
+ \def\Btxpagesshort##1{\protect\foreignlanguage{#1}{Pp##1{}}}%
+ \def\Btxpageslong##1{\protect\foreignlanguage{#1}{Pages}}%
+ \def\Btxtechrepshort##1{\protect\foreignlanguage{#1}{Tech.\ Rep##1{}}}%
+ \def\Btxtechreplong##1{\protect\foreignlanguage{#1}{Technical Report}}%
+ \def\btxurldatecomment##1{\protect\foreignlanguage{#1}{, visited on ##1}}%
+ \def\btxfnamespaceshort{}%
+ \def\btxfnamespacelong{ }%
+ \def\btxnumeralshort##1{\btxnumeralenglish{#1}{##1}}%
+ \def\btxnumerallong##1{\btxnumeralenglish{#1}{##1}}%
+% \end{macrocode}
+% Define how to print month and year in numeric format, e.\,g. MM/YYYY.
+% \begin{macrocode}
+ \def\btxprintmonthyearnum##1##2{##1/##2}%
+ \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}%
+% \end{macrocode}
+% \changes{0.2}{2003/04/20}{Added language names}%
+% Names of all known languages in the current language.
+% \begin{macrocode}
+ \ifbbbblanguagenames
+ \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{english}}%
+ \def\btxlanguagenameaustrian{\protect\foreignlanguage{#1}{german}}%
+ \def\btxlanguagenamebrazil{\protect\foreignlanguage{#1}{portuguese}}%
+ \def\btxlanguagenamebrazilian{\protect\foreignlanguage{#1}{portuguese}}%
+ \def\btxlanguagenamebritish{\protect\foreignlanguage{#1}{english}}%
+ \def\btxlanguagenamebulgarian{\protect\foreignlanguage{#1}{bulgarian}}%
+ \def\btxlanguagenamecanadian{\protect\foreignlanguage{#1}{english}}%
+ \def\btxlanguagenamecanadien{\protect\foreignlanguage{#1}{french}}%
+ \def\btxlanguagenamecatalan{\protect\foreignlanguage{#1}{catalan}}%
+ \def\btxlanguagenamecroatian{\protect\foreignlanguage{#1}{croatian}}%
+ \def\btxlanguagenameczech{\protect\foreignlanguage{#1}{czech}}%
+ \def\btxlanguagenamedanish{\protect\foreignlanguage{#1}{danish}}%
+ \def\btxlanguagenamedutch{\protect\foreignlanguage{#1}{dutch}}%
+ \def\btxlanguagenameenglish{\protect\foreignlanguage{#1}{english}}%
+ \def\btxlanguagenameesperanto{\protect\foreignlanguage{#1}{esperanto}}%
+ \def\btxlanguagenamefinnish{\protect\foreignlanguage{#1}{finnish}}%
+ \def\btxlanguagenamefrancais{\protect\foreignlanguage{#1}{french}}%
+ \def\btxlanguagenamefrench{\protect\foreignlanguage{#1}{french}}%
+ \def\btxlanguagenamefrenchb{\protect\foreignlanguage{#1}{french}}%
+ \def\btxlanguagenamegerman{\protect\foreignlanguage{#1}{german}}%
+ \def\btxlanguagenamegermanb{\protect\foreignlanguage{#1}{german}}%
+ \def\btxlanguagenamegreek{\protect\foreignlanguage{#1}{greek}}%
+ \def\btxlanguagenamehebrew{\protect\foreignlanguage{#1}{hebrew}}%
+ \def\btxlanguagenamehungarian{\protect\foreignlanguage{#1}{hungarian}}%
+ \def\btxlanguagenameicelandic{\protect\foreignlanguage{#1}{icelandic}}%
+ \def\btxlanguagenameirish{\protect\foreignlanguage{#1}{irish}}%
+ \def\btxlanguagenameitalian{\protect\foreignlanguage{#1}{italian}}%
+ \def\btxlanguagenamelatin{\protect\foreignlanguage{#1}{latin}}%
+ \def\btxlanguagenamenaustrian{\protect\foreignlanguage{#1}{german}}%
+ \def\btxlanguagenamengerman{\protect\foreignlanguage{#1}{german}}%
+ \def\btxlanguagenamenorsk{\protect\foreignlanguage{#1}{norwegian}}%
+ \def\btxlanguagenamenynorsk{\protect\foreignlanguage{#1}{new-norwegian}}%
+ \def\btxlanguagenamepolish{\protect\foreignlanguage{#1}{polish}}%
+ \def\btxlanguagenameportuges{\protect\foreignlanguage{#1}{portuguese}}%
+ \def\btxlanguagenameportuguese{\protect\foreignlanguage{#1}{portuguese}}%
+ \def\btxlanguagenamerussian{\protect\foreignlanguage{#1}{russian}}%
+ \def\btxlanguagenamescottish{\protect\foreignlanguage{#1}{scottish}}%
+ \def\btxlanguagenameserbian{\protect\foreignlanguage{#1}{serbian}}%
+ \def\btxlanguagenamespanish{\protect\foreignlanguage{#1}{spanish}}%
+ \def\btxlanguagenameswedish{\protect\foreignlanguage{#1}{swedish}}%
+ \def\btxlanguagenameturkish{\protect\foreignlanguage{#1}{turkish}}%
+ \def\btxlanguagenameUKenglish{\protect\foreignlanguage{#1}{english}}%
+ \def\btxlanguagenameUSenglish{\protect\foreignlanguage{#1}{english}}%
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% Copy the commands to the other languages.
+% \begin{macrocode}
+\newcommand\bibsamerican{\bibsenglish[american]}
+\newcommand\bibsbritish{\bibsenglish[british]}
+\newcommand\bibscanadian{\bibsenglish[canadian]}
+\newcommand\bibsUKenglish{\bibsenglish[UKenglish]}
+\newcommand\bibsUSenglish{\bibsenglish[USenglish]}
+% \end{macrocode}
+% Append the definitions to the language-calling commands.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \ifbbbbfixlanguage
+ \else
+ \bbbbaddto{american}{bibsamerican}
+ \bbbbaddto{british}{bibsbritish}
+ \bbbbaddto{canadian}{bibscanadian}
+ \bbbbaddto{english}{bibsenglish}
+ \bbbbaddto{UKenglish}{bibsUKenglish}
+ \bbbbaddto{USenglish}{bibsUSenglish}
+ \fi
+% \end{macrocode}
+% \changes{0.32}{2003/05/06}{Move change of case from bst to sty}%
+% Switch on the change of case in titles for all English dialects by
+% appending \cs{btxifchangecaseoff} to \cs{extras}\meta{language}.
+% \begin{macrocode}
+ \bbbbaddto{american}{btxifchangecaseon}
+ \bbbbaddto{british}{btxifchangecaseon}
+ \bbbbaddto{canadian}{btxifchangecaseon}
+ \bbbbaddto{english}{btxifchangecaseon}
+ \bbbbaddto{UKenglish}{btxifchangecaseon}
+ \bbbbaddto{USenglish}{btxifchangecaseon}
+}
+%</english>
+% \end{macrocode}
+%
+% \subsubsection{Italian}
+% \begin{macrocode}
+%<*italian>
+% \end{macrocode}
+%
+% \begin{macro}{\bibsitalian}
+% Bibliographic commands for Italian.
+% \changes{0.33}{2003/05/22}{Changed some Italian keywords according
+% to the custom-bib file italian.mbs}%
+% \begin{macrocode}
+\newcommand\bibsitalian[1][italian]{%
+ \def\biblanguagename{#1}%
+ \def\btxetalshort##1{\protect\foreignlanguage{#1}{et~al##1{}}}%
+ \def\btxetallong##1{\protect\foreignlanguage{#1}{et~alii}}%
+ \def\btxandshort##1{\protect\foreignlanguage{#1}{e}}%
+ \def\btxandlong##1{\protect\foreignlanguage{#1}{e}}%
+ \def\btxandcomma##1{}%
+ \def\btxinlong##1{\protect\foreignlanguage{#1}{in}}%
+ \def\btxinshort##1{\protect\foreignlanguage{#1}{in}}%
+ \def\btxofseriesshort##1{\protect\foreignlanguage{#1}{della serie}}%
+ \def\btxinseriesshort##1{\protect\foreignlanguage{#1}{nella serie}}%
+ \def\btxofserieslong##1{\protect\foreignlanguage{#1}{della serie}}%
+ \def\btxinserieslong##1{\protect\foreignlanguage{#1}{nella serie}}%
+ \def\btxeditorshort##1{\protect\foreignlanguage{#1}{cur##1{}}}%
+ \def\btxeditorlong##1{\protect\foreignlanguage{#1}{curatore}}%
+ \def\btxeditorsshort##1{\protect\foreignlanguage{#1}{cur##1{}}}%
+ \def\btxeditorslong##1{\protect\foreignlanguage{#1}{curatori}}%
+ \def\btxvolumeshort##1{\protect\foreignlanguage{#1}{vol##1{}}}%
+ \def\btxvolumelong##1{\protect\foreignlanguage{#1}{volume}}%
+ \def\btxnumbershort##1{\protect\foreignlanguage{#1}{no##1{}}}%
+ \def\btxnumberlong##1{\protect\foreignlanguage{#1}{numero}}%
+ \def\btxeditionshort##1{\protect\foreignlanguage{#1}{ed##1{}}}%
+ \def\btxeditionlong##1{\protect\foreignlanguage{#1}{edizione}}%
+ \def\btxeditionnumshort##1##2{\btxnumeralshort{##1}~\btxeditionshort{##2}}%
+ \def\btxeditionnumlong##1##2{\btxnumerallong{##1}~\btxeditionlong{##2}}%
+ \def\btxchaptershort##1{\protect\foreignlanguage{#1}{cap##1{}}}%
+ \def\btxchapterlong##1{\protect\foreignlanguage{#1}{capitolo}}%
+ \def\btxpageshort##1{\protect\foreignlanguage{#1}{p##1{}}}%
+ \def\btxpagelong##1{\protect\foreignlanguage{#1}{pagina}}%
+ \def\btxpagesshort##1{\protect\foreignlanguage{#1}{pp##1{}}}%
+ \def\btxpageslong##1{\protect\foreignlanguage{#1}{pagine}}%
+ \def\btxmastthesis##1{\protect\foreignlanguage{#1}{tesi di laurea}}%
+ \def\btxphdthesis##1{\protect\foreignlanguage{#1}{tesi di dottorato}}%
+ \def\btxtechrepshort##1{\protect\foreignlanguage{#1}{Rapp.\ Tecnico}}%
+ \def\btxtechreplong##1{\protect\foreignlanguage{#1}{Rapporto Tecnico}}%
+ \def\btxmonjanlong##1{\protect\foreignlanguage{#1}{gennaio}}%
+ \def\btxmonfeblong##1{\protect\foreignlanguage{#1}{febbraio}}%
+ \def\btxmonmarlong##1{\protect\foreignlanguage{#1}{marzo}}%
+ \def\btxmonaprlong##1{\protect\foreignlanguage{#1}{aprile}}%
+ \def\btxmonmaylong##1{\protect\foreignlanguage{#1}{maggio}}%
+ \def\btxmonjunlong##1{\protect\foreignlanguage{#1}{giugno}}%
+ \def\btxmonjullong##1{\protect\foreignlanguage{#1}{luglio}}%
+ \def\btxmonauglong##1{\protect\foreignlanguage{#1}{agosto}}%
+ \def\btxmonseplong##1{\protect\foreignlanguage{#1}{settembre}}%
+ \def\btxmonoctlong##1{\protect\foreignlanguage{#1}{ottobre}}%
+ \def\btxmonnovlong##1{\protect\foreignlanguage{#1}{novembre}}%
+ \def\btxmondeclong##1{\protect\foreignlanguage{#1}{dicembre}}%
+ \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{gen##1{}}}%
+ \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{feb##1{}}}%
+ \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{mar##1{}}}%
+ \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{apr##1{}}}%
+ \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{mag##1{}}}%
+ \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{giu##1{}}}%
+ \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{lug##1{}}}%
+ \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{ago##1{}}}%
+ \def\btxmonsepshort##1{\protect\foreignlanguage{#1}{set##1{}}}%
+ \def\btxmonoctshort##1{\protect\foreignlanguage{#1}{ott##1{}}}%
+ \def\btxmonnovshort##1{\protect\foreignlanguage{#1}{nov##1{}}}%
+ \def\btxmondecshort##1{\protect\foreignlanguage{#1}{dic##1{}}}%
+ \def\Btxinlong##1{\protect\foreignlanguage{#1}{Nel}}%
+ \def\Btxinshort##1{\protect\foreignlanguage{#1}{Nel}}%
+ \def\Btxeditorshort##1{\protect\foreignlanguage{#1}{Cur##1{}}}%
+ \def\Btxeditorlong##1{\protect\foreignlanguage{#1}{Curatore}}%
+ \def\Btxeditorsshort##1{\protect\foreignlanguage{#1}{Cur##1{}}}%
+ \def\Btxeditorslong##1{\protect\foreignlanguage{#1}{Curatori}}%
+ \def\Btxvolumeshort##1{\protect\foreignlanguage{#1}{Vol##1{}}}%
+ \def\Btxvolumelong##1{\protect\foreignlanguage{#1}{Volume}}%
+ \def\Btxnumbershort##1{\protect\foreignlanguage{#1}{No##1{}}}%
+ \def\Btxnumberlong##1{\protect\foreignlanguage{#1}{Numero}}%
+ \def\Btxeditionshort##1{\protect\foreignlanguage{#1}{Ed##1{}}}%
+ \def\Btxeditionlong##1{\protect\foreignlanguage{#1}{Edizione}}%
+ \def\Btxeditionnumshort##1##2{\btxnumeralshort{##1}~\Btxeditionshort{##2}}%
+ \def\Btxeditionnumlong##1##2{\btxnumerallong{##1}~\Btxeditionlong{##2}}%
+ \def\Btxchaptershort##1{\protect\foreignlanguage{#1}{Cap##1{}}}%
+ \def\Btxchapterlong##1{\protect\foreignlanguage{#1}{Capitolo}}%
+ \def\Btxpageshort##1{\protect\foreignlanguage{#1}{P##1{}}}%
+ \def\Btxpagelong##1{\protect\foreignlanguage{#1}{Pagina}}%
+ \def\Btxpagesshort##1{\protect\foreignlanguage{#1}{Pp##1{}}}%
+ \def\Btxpageslong##1{\protect\foreignlanguage{#1}{Pagine}}%
+ \def\Btxtechrepshort##1{\protect\foreignlanguage{#1}{Rap.\ Tecnico}}%
+ \def\Btxtechreplong##1{\protect\foreignlanguage{#1}{Rapporto Tecnico}}%
+ \def\btxurldatecomment##1{\protect\foreignlanguage{#1}{, accesso a ##1}}%
+ \def\btxfnamespaceshort{\,}%
+ \def\btxfnamespacelong{ }%
+ \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}%
+ \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}%
+% \end{macrocode}
+% Define how to print month and year in numeric format, e.\,g. MM/YYYY.
+% \begin{macrocode}
+ \def\btxprintmonthyearnum##1##2{##1/##2}%
+ \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}%
+% \end{macrocode}
+% \changes{0.2}{2003/04/20}{Added placeholders for language names}%
+% \changes{0.31}{2003/05/01}{Added some language names for Italian}%
+% Names of all known languages in the current language.
+% \begin{macrocode}
+ \ifbbbblanguagenames
+ \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{inglese}}%
+ \def\btxlanguagenameaustrian{\protect\foreignlanguage{#1}{tedesco}}%
+ \def\btxlanguagenamebrazil{\protect\foreignlanguage{#1}{portoghese}}%
+ \def\btxlanguagenamebrazilian{\protect\foreignlanguage{#1}{portoghese}}%
+ \def\btxlanguagenamebritish{\protect\foreignlanguage{#1}{inglese}}%
+ \def\btxlanguagenamebulgarian{\protect\foreignlanguage{#1}{bulgaro}}%
+ \def\btxlanguagenamecanadian{\protect\foreignlanguage{#1}{inglese}}%
+ \def\btxlanguagenamecanadien{\protect\foreignlanguage{#1}{francese}}%
+ \def\btxlanguagenamecatalan{\protect\foreignlanguage{#1}{catalano}}%
+ \def\btxlanguagenamecroatian{\protect\foreignlanguage{#1}{croato}}%
+ \def\btxlanguagenameczech{\protect\foreignlanguage{#1}{ceco}}%
+ \def\btxlanguagenamedanish{\protect\foreignlanguage{#1}{danese}}%
+ \def\btxlanguagenamedutch{\protect\foreignlanguage{#1}{olandese}}%
+ \def\btxlanguagenameenglish{\protect\foreignlanguage{#1}{inglese}}%
+ \def\btxlanguagenameesperanto{\protect\foreignlanguage{#1}{esperanto}}%
+ \def\btxlanguagenamefinnish{\protect\foreignlanguage{#1}{finlandese}}%
+ \def\btxlanguagenamefrancais{\protect\foreignlanguage{#1}{francese}}%
+ \def\btxlanguagenamefrench{\protect\foreignlanguage{#1}{francese}}%
+ \def\btxlanguagenamefrenchb{\protect\foreignlanguage{#1}{francese}}%
+ \def\btxlanguagenamegerman{\protect\foreignlanguage{#1}{tedesco}}%
+ \def\btxlanguagenamegermanb{\protect\foreignlanguage{#1}{tedesco}}%
+ \def\btxlanguagenamegreek{\protect\foreignlanguage{#1}{greco}}%
+ \def\btxlanguagenamehebrew{\protect\foreignlanguage{#1}{ebreo}}%
+ \def\btxlanguagenamehungarian{\protect\foreignlanguage{#1}{ungherese}}%
+ \def\btxlanguagenameicelandic{\protect\foreignlanguage{#1}{islandese}}%
+ \def\btxlanguagenameirish{\protect\foreignlanguage{#1}{irlandese}}%
+ \def\btxlanguagenameitalian{\protect\foreignlanguage{#1}{italiano}}%
+ \def\btxlanguagenamelatin{\protect\foreignlanguage{#1}{latino}}%
+ \def\btxlanguagenamenaustrian{\protect\foreignlanguage{#1}{tedesco}}%
+ \def\btxlanguagenamengerman{\protect\foreignlanguage{#1}{tedesco}}%
+ \def\btxlanguagenamenorsk{\protect\foreignlanguage{#1}{norvegese}}%
+ \def\btxlanguagenamenynorsk{\protect\foreignlanguage{#1}{nuovo norvegese}}%
+ \def\btxlanguagenamepolish{\protect\foreignlanguage{#1}{polacco}}%
+ \def\btxlanguagenameportuges{\protect\foreignlanguage{#1}{portoghese}}%
+ \def\btxlanguagenameportuguese{\protect\foreignlanguage{#1}{portoghese}}%
+ \def\btxlanguagenamerussian{\protect\foreignlanguage{#1}{russo}}%
+ \def\btxlanguagenamescottish{\protect\foreignlanguage{#1}{scozzese}}%
+ \def\btxlanguagenameserbian{\protect\foreignlanguage{#1}{serbo}}%
+ \def\btxlanguagenamespanish{\protect\foreignlanguage{#1}{spagnolo}}%
+ \def\btxlanguagenameswedish{\protect\foreignlanguage{#1}{svedese}}%
+ \def\btxlanguagenameturkish{\protect\foreignlanguage{#1}{turco}}%
+ \def\btxlanguagenameUKenglish{\protect\foreignlanguage{#1}{inglese}}%
+ \def\btxlanguagenameUSenglish{\protect\foreignlanguage{#1}{inglese}}%
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% Append the definitions to the language-calling commands.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \ifbbbbfixlanguage
+ \else
+ \bbbbaddto{italian}{bibsitalian}
+ \fi
+% \end{macrocode}
+% \changes{0.32}{2003/05/06}{Move change of case from bst to sty}%
+% Switch off the change of case in titles for Italian by
+% appending \cs{btxifchangecaseoff} to \cs{extrasitalian}.
+% \begin{macrocode}
+ \bbbbaddto{italian}{btxifchangecaseoff}
+}
+%</italian>
+% \end{macrocode}
+%
+% \subsubsection{Greek}
+% \begin{macrocode}
+%<*greek>
+% \end{macrocode}
+%
+% The language definition for Greek was provided by Prokopis
+% Prokopidis.
+%
+% \begin{macro}{\bibsgreek}
+% Bibliographic commands for Greek.
+% \begin{macrocode}
+\newcommand\bibsgreek[1][greek]{%
+ \def\biblanguagename{#1}%
+ \def\btxetalshort##1{\protect\foreignlanguage{#1}{k.'a##1{}}}%
+ \def\btxetallong##1{\protect\foreignlanguage{#1}{kai 'alloi}}%
+ \def\btxandshort##1{\protect\foreignlanguage{#1}{kai}}%
+ \def\btxandlong##1{\protect\foreignlanguage{#1}{kai}}%
+ \def\btxandcomma##1{,}%
+ \def\btxinlong##1{\protect\foreignlanguage{#1}{sto}}%
+ \def\btxinshort##1{\protect\foreignlanguage{#1}{sto}}%
+ \def\btxofseriesshort##1{\protect\foreignlanguage{#1}{tou}}%
+ \def\btxinseriesshort##1{\protect\foreignlanguage{#1}{sto}}%
+ \def\btxofserieslong##1{\protect\foreignlanguage{#1}{tou}}%
+ \def\btxinserieslong##1{\protect\foreignlanguage{#1}{sto}}%
+ \def\btxeditorshort##1{\protect\foreignlanguage{#1}{epim##1{}}}%
+ \def\btxeditorlong##1{\protect\foreignlanguage{#1}{epimelht'hc}}%
+ \def\btxeditorsshort##1{\protect\foreignlanguage{#1}{epim##1{}}}%
+ \def\btxeditorslong##1{\protect\foreignlanguage{#1}{epimelht'ec}}%
+ \def\btxvolumeshort##1{\protect\foreignlanguage{#1}{t'om##1{}}}%
+ \def\btxvolumelong##1{\protect\foreignlanguage{#1}{t'omoc}}%
+ \def\btxnumbershort##1{\protect\foreignlanguage{#1}{ar##1{}}}%
+ \def\btxnumberlong##1{\protect\foreignlanguage{#1}{arijm'oc}}%
+ \def\btxeditionshort##1{\protect\foreignlanguage{#1}{'ekd##1{}}}%
+ \def\btxeditionlong##1{\protect\foreignlanguage{#1}{'ekdosh}}%
+ \def\btxeditionnumshort##1##2{\btxnumeralshort{##1}~\btxeditionshort{##2}}%
+ \def\btxeditionnumlong##1##2{\btxnumerallong{##1}~\btxeditionlong{##2}}%
+ \def\btxchaptershort##1{\protect\foreignlanguage{#1}{kef##1{}}}%
+ \def\btxchapterlong##1{\protect\foreignlanguage{#1}{kef'alaio}}%
+ \def\btxpageshort##1{\protect\foreignlanguage{#1}{sel##1{}}}%
+ \def\btxpagelong##1{\protect\foreignlanguage{#1}{sel'ida}}%
+ \def\btxpagesshort##1{\protect\foreignlanguage{#1}{sel##1{}}}%
+ \def\btxpageslong##1{\protect\foreignlanguage{#1}{sel'idec}}%
+ \def\btxmastthesis##1{\protect\foreignlanguage{#1}{Metaptuqiak'h ergas'ia}}%
+ \def\btxphdthesis##1{\protect\foreignlanguage{#1}{Didaktorik'h diatrib'h}}%
+ \def\btxtechrepshort##1{\protect\foreignlanguage{#1}{Teqn.\ anaf##1{}}}%
+ \def\btxtechreplong##1{\protect\foreignlanguage{#1}{Teqnik'h anafor'a}}%
+ \def\btxmonjanlong##1{\protect\foreignlanguage{#1}{Ianou'arioc}}%
+ \def\btxmonfeblong##1{\protect\foreignlanguage{#1}{Febrou'arioc}}%
+ \def\btxmonmarlong##1{\protect\foreignlanguage{#1}{M'artioc}}%
+ \def\btxmonaprlong##1{\protect\foreignlanguage{#1}{Apr'ilioc}}%
+ \def\btxmonmaylong##1{\protect\foreignlanguage{#1}{M'aioc}}%
+ \def\btxmonjunlong##1{\protect\foreignlanguage{#1}{Io'unioc}}%
+ \def\btxmonjullong##1{\protect\foreignlanguage{#1}{Io'ulioc}}%
+ \def\btxmonauglong##1{\protect\foreignlanguage{#1}{A'ugoustoc}}%
+ \def\btxmonseplong##1{\protect\foreignlanguage{#1}{Sept'embrioc}}%
+ \def\btxmonoctlong##1{\protect\foreignlanguage{#1}{Okt'wbrioc}}%
+ \def\btxmonnovlong##1{\protect\foreignlanguage{#1}{No'embrioc}}%
+ \def\btxmondeclong##1{\protect\foreignlanguage{#1}{Dek'embrioc}}%
+ \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{Ian##1{}}}%
+ \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{Feb##1{}}}%
+ \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{M'ar##1{}}}%
+ \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{Apr##1{}}}%
+ \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{M'ai}}%
+ \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{Io'un##1{}}}%
+ \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{Io'ul##1{}}}%
+ \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{A'ug##1{}}}%
+ \def\btxmonsepshort##1{\protect\foreignlanguage{#1}{Sept##1{}}}%
+ \def\btxmonoctshort##1{\protect\foreignlanguage{#1}{Okt##1{}}}%
+ \def\btxmonnovshort##1{\protect\foreignlanguage{#1}{No'e##1{}}}%
+ \def\btxmondecshort##1{\protect\foreignlanguage{#1}{Dek##1{}}}%
+ \def\Btxinlong##1{\protect\foreignlanguage{#1}{Sto}}%
+ \def\Btxinshort##1{\protect\foreignlanguage{#1}{Sto}}%
+ \def\Btxeditorshort##1{\protect\foreignlanguage{#1}{Epim##1{}}}%
+ \def\Btxeditorlong##1{\protect\foreignlanguage{#1}{Epimelht'hc}}%
+ \def\Btxeditorsshort##1{\protect\foreignlanguage{#1}{Epim##1{}}}%
+ \def\Btxeditorslong##1{\protect\foreignlanguage{#1}{Epimelht'ec}}%
+ \def\Btxvolumeshort##1{\protect\foreignlanguage{#1}{T'om##1{}}}%
+ \def\Btxvolumelong##1{\protect\foreignlanguage{#1}{T'omoc}}%
+ \def\Btxnumbershort##1{\protect\foreignlanguage{#1}{Ar##1{}}}%
+ \def\Btxnumberlong##1{\protect\foreignlanguage{#1}{Arijm'oc}}%
+ \def\Btxeditionshort##1{\protect\foreignlanguage{#1}{'Ekd##1{}}}%
+ \def\Btxeditionlong##1{\protect\foreignlanguage{#1}{'Ekdosh}}%
+ \def\Btxeditionnumshort##1##2{\btxnumeralshort{##1}~\Btxeditionshort{##2}}%
+ \def\Btxeditionnumlong##1##2{\btxnumerallong{##1}~\Btxeditionlong{##2}}%
+ \def\Btxchaptershort##1{\protect\foreignlanguage{#1}{Kef##1{}}}%
+ \def\Btxchapterlong##1{\protect\foreignlanguage{#1}{Kef'alaio}}%
+ \def\Btxpageshort##1{\protect\foreignlanguage{#1}{Sel##1{}}}%
+ \def\Btxpagelong##1{\protect\foreignlanguage{#1}{Sel'ida}}%
+ \def\Btxpagesshort##1{\protect\foreignlanguage{#1}{Sel##1{}}}%
+ \def\Btxpageslong##1{\protect\foreignlanguage{#1}{Sel'idec}}%
+ \def\Btxtechrepshort##1{\protect\foreignlanguage{#1}{Teqn.\ Anaf##1{}}}%
+ \def\Btxtechreplong##1{\protect\foreignlanguage{#1}{Teqnik'h Anafor'a}}%
+ \def\btxurldatecomment##1{\protect\foreignlanguage{#1}{, ep'iskeyh thn ##1}}%
+ \def\btxfnamespaceshort{\,}%
+ \def\btxfnamespacelong{ }%
+ \def\btxnumeralshort##1{\protect\foreignlanguage{#1}{%
+ \ifnumber{##1}{##1h}{##1}}}%
+ \def\btxnumerallong##1{\protect\foreignlanguage{#1}{\ifnumber{##1}{%
+ \ifcase##1 ##1h\or pr'wth\or de'uterh\or tr'ith\or t'etarth%
+ \or p'empth\or 'ekth\or 'ebdomh\or 'ogdoh\or 'enath\else ##1h\fi
+ }{##1}}}%
+% \end{macrocode}
+% Define how to print month and year in numeric format, e.\,g. MM/YYYY.
+% \begin{macrocode}
+ \def\btxprintmonthyearnum##1##2{##1/##2}%
+ \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}%
+% \end{macrocode}
+% Names of all known languages in the current language.
+% \begin{macrocode}
+ \ifbbbblanguagenames
+ \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{agglik'a}}%
+ \def\btxlanguagenameaustrian{\protect\foreignlanguage{#1}{germanik'a}}%
+ \def\btxlanguagenamebrazil{\protect\foreignlanguage{#1}{portogalik'a}}%
+ \def\btxlanguagenamebrazilian{\protect\foreignlanguage{#1}{portogalik'a}}%
+ \def\btxlanguagenamebritish{\protect\foreignlanguage{#1}{agglik'a}}%
+ \def\btxlanguagenamebulgarian{\protect\foreignlanguage{#1}{boulgarik'a}}%
+ \def\btxlanguagenamecanadian{\protect\foreignlanguage{#1}{agglik'a}}%
+ \def\btxlanguagenamecanadien{\protect\foreignlanguage{#1}{gallik'a}}%
+ \def\btxlanguagenamecatalan{\protect\foreignlanguage{#1}{katalanik'a}}%
+ \def\btxlanguagenamecroatian{\protect\foreignlanguage{#1}{kroatik'a}}%
+ \def\btxlanguagenameczech{\protect\foreignlanguage{#1}{tseqik'a}}%
+ \def\btxlanguagenamedanish{\protect\foreignlanguage{#1}{danik'a}}%
+ \def\btxlanguagenamedutch{\protect\foreignlanguage{#1}{ollandik'a}}%
+ \def\btxlanguagenameenglish{\protect\foreignlanguage{#1}{agglik'a}}%
+ \def\btxlanguagenameesperanto{\protect\foreignlanguage{#1}{esperanto}}%
+ \def\btxlanguagenamefinnish{\protect\foreignlanguage{#1}{finlandik'a}}%
+ \def\btxlanguagenamefrancais{\protect\foreignlanguage{#1}{gallik'a}}%
+ \def\btxlanguagenamefrench{\protect\foreignlanguage{#1}{gallik'a}}%
+ \def\btxlanguagenamefrenchb{\protect\foreignlanguage{#1}{gallik'a}}%
+ \def\btxlanguagenamegerman{\protect\foreignlanguage{#1}{germanik'a}}%
+ \def\btxlanguagenamegermanb{\protect\foreignlanguage{#1}{germanik'a}}%
+ \def\btxlanguagenamegreek{\protect\foreignlanguage{#1}{ellhnik'a}}%
+ \def\btxlanguagenamehebrew{\protect\foreignlanguage{#1}{ebra"ik'a}}%
+ \def\btxlanguagenamehungarian{\protect\foreignlanguage{#1}{ouggrik'a}}%
+ \def\btxlanguagenameicelandic{\protect\foreignlanguage{#1}{islandik'a}}%
+ \def\btxlanguagenameirish{\protect\foreignlanguage{#1}{irlandik'a}}%
+ \def\btxlanguagenameitalian{\protect\foreignlanguage{#1}{italik'a}}%
+ \def\btxlanguagenamelatin{\protect\foreignlanguage{#1}{latinik'a}}%
+ \def\btxlanguagenamenaustrian{\protect\foreignlanguage{#1}{germanik'a}}%
+ \def\btxlanguagenamengerman{\protect\foreignlanguage{#1}{germanik'a}}%
+ \def\btxlanguagenamenorsk{\protect\foreignlanguage{#1}{norbhgik'a}}%
+ \def\btxlanguagenamenynorsk{\protect\foreignlanguage{#1}{n'ea norbhgik'a}}%
+ \def\btxlanguagenamepolish{\protect\foreignlanguage{#1}{polwnik'a}}%
+ \def\btxlanguagenameportuges{\protect\foreignlanguage{#1}{portogalik'a}}%
+ \def\btxlanguagenameportuguese{\protect\foreignlanguage{#1}{portogalik'a}}%
+ \def\btxlanguagenamerussian{\protect\foreignlanguage{#1}{rwsik'a}}%
+ \def\btxlanguagenamescottish{\protect\foreignlanguage{#1}{skwts'ezika}}%
+ \def\btxlanguagenameserbian{\protect\foreignlanguage{#1}{serbik'a}}%
+ \def\btxlanguagenamespanish{\protect\foreignlanguage{#1}{ispanik'a}}%
+ \def\btxlanguagenameswedish{\protect\foreignlanguage{#1}{souhdik'a}}%
+ \def\btxlanguagenameturkish{\protect\foreignlanguage{#1}{tourkik'a}}%
+ \def\btxlanguagenameUKenglish{\protect\foreignlanguage{#1}{agglik'a}}%
+ \def\btxlanguagenameUSenglish{\protect\foreignlanguage{#1}{agglik'a}}%
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% Append the definitions to the language-calling commands.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \ifbbbbfixlanguage
+ \else
+ \bbbbaddto{greek}{bibsgreek}
+ \fi
+ \bbbbaddto{greek}{btxifchangecaseoff}
+}
+%</greek>
+% \end{macrocode}
+%
+%
+% \subsubsection{Norwegian}
+% \begin{macrocode}
+%<*norsk>
+% \end{macrocode}
+%
+% The language definition for Norwegian was provided by Hans Fredrik
+% Nordhaug.
+%
+% \begin{macro}{\bibsnorsk}
+% Bibliographic commands for Norsk.
+% \begin{macrocode}
+\newcommand\bibsnorsk[1][norsk]{%
+ \def\biblanguagename{#1}%
+ \def\btxetalshort##1{\protect\foreignlanguage{#1}{et~al##1{}}}%
+ \def\btxetallong##1{\protect\foreignlanguage{#1}{et~alii}}%
+ \def\btxandshort##1{\protect\foreignlanguage{#1}{og}}%
+ \def\btxandlong##1{\protect\foreignlanguage{#1}{og}}%
+ \def\btxandcomma##1{}%
+ \def\btxinlong##1{\protect\foreignlanguage{#1}{i}}%
+ \def\btxinshort##1{\protect\foreignlanguage{#1}{i}}%
+ \def\btxofseriesshort##1{\protect\foreignlanguage{#1}{av}}%
+ \def\btxinseriesshort##1{\protect\foreignlanguage{#1}{i}}%
+ \def\btxofserieslong##1{\protect\foreignlanguage{#1}{av}}%
+ \def\btxinserieslong##1{\protect\foreignlanguage{#1}{i}}%
+ \def\btxeditorshort##1{\protect\foreignlanguage{#1}{red##1{}}}%
+ \def\btxeditorlong##1{\protect\foreignlanguage{#1}{redakt\o r}}%
+ \def\btxeditorsshort##1{\protect\foreignlanguage{#1}{red##1{}}}%
+ \def\btxeditorslong##1{\protect\foreignlanguage{#1}{redakt\o rer}}%
+ \def\btxvolumeshort##1{\protect\foreignlanguage{#1}{bd##1{}}}%
+ \def\btxvolumelong##1{\protect\foreignlanguage{#1}{bind}}%
+ \def\btxnumbershort##1{\protect\foreignlanguage{#1}{nr##1{}}}%
+ \def\btxnumberlong##1{\protect\foreignlanguage{#1}{nummer}}%
+ \def\btxeditionshort##1{\protect\foreignlanguage{#1}{utg##1{}}}%
+ \def\btxeditionlong##1{\protect\foreignlanguage{#1}{utgave}}%
+ \def\btxeditionnumshort##1##2{\btxnumeralshort{##1}~\btxeditionshort{##2}}%
+ \def\btxeditionnumlong##1##2{\btxnumerallong{##1}~\btxeditionlong{##2}}%
+ \def\btxchaptershort##1{\protect\foreignlanguage{#1}{kap##1{}}}%
+ \def\btxchapterlong##1{\protect\foreignlanguage{#1}{kapittel}}%
+ \def\btxpageshort##1{\protect\foreignlanguage{#1}{s##1{}}}%
+ \def\btxpagelong##1{\protect\foreignlanguage{#1}{side}}%
+ \def\btxpagesshort##1{\protect\foreignlanguage{#1}{s##1{}}}%
+ \def\btxpageslong##1{\protect\foreignlanguage{#1}{sider}}%
+ \def\btxmastthesis##1{\protect\foreignlanguage{#1}{Masteroppgave}}%
+ \def\btxphdthesis##1{\protect\foreignlanguage{#1}{PhD-avhandling}}%
+ \def\btxtechrepshort##1{\protect\foreignlanguage{#1}{tekn.\ rap##1{}}}%
+ \def\btxtechreplong##1{\protect\foreignlanguage{#1}{teknisk rapport}}%
+ \def\btxmonjanlong##1{\protect\foreignlanguage{#1}{Januar}}%
+ \def\btxmonfeblong##1{\protect\foreignlanguage{#1}{Februar}}%
+ \def\btxmonmarlong##1{\protect\foreignlanguage{#1}{Mars}}%
+ \def\btxmonaprlong##1{\protect\foreignlanguage{#1}{April}}%
+ \def\btxmonmaylong##1{\protect\foreignlanguage{#1}{Mai}}%
+ \def\btxmonjunlong##1{\protect\foreignlanguage{#1}{Juni}}%
+ \def\btxmonjullong##1{\protect\foreignlanguage{#1}{Juli}}%
+ \def\btxmonauglong##1{\protect\foreignlanguage{#1}{August}}%
+ \def\btxmonseplong##1{\protect\foreignlanguage{#1}{September}}%
+ \def\btxmonoctlong##1{\protect\foreignlanguage{#1}{Oktober}}%
+ \def\btxmonnovlong##1{\protect\foreignlanguage{#1}{November}}%
+ \def\btxmondeclong##1{\protect\foreignlanguage{#1}{Desember}}%
+ \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{Jan##1{}}}%
+ \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{Feb##1{}}}%
+ \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{Mar##1{}}}%
+ \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{Apr##1{}}}%
+ \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{Mai}}%
+ \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{Jun##1{}}}%
+ \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{Jul##1{}}}%
+ \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{Aug##1{}}}%
+ \def\btxmonsepshort##1{\protect\foreignlanguage{#1}{Sep##1{}}}%
+ \def\btxmonoctshort##1{\protect\foreignlanguage{#1}{Okt##1{}}}%
+ \def\btxmonnovshort##1{\protect\foreignlanguage{#1}{Nov##1{}}}%
+ \def\btxmondecshort##1{\protect\foreignlanguage{#1}{Des##1{}}}%
+ \def\Btxinlong##1{\protect\foreignlanguage{#1}{I}}%
+ \def\Btxinshort##1{\protect\foreignlanguage{#1}{I}}%
+ \def\Btxeditorshort##1{\protect\foreignlanguage{#1}{Red##1{}}}%
+ \def\Btxeditorlong##1{\protect\foreignlanguage{#1}{Redakt\o r}}%
+ \def\Btxeditorsshort##1{\protect\foreignlanguage{#1}{Red##1{}}}%
+ \def\Btxeditorslong##1{\protect\foreignlanguage{#1}{Redakt\o rer}}%
+ \def\Btxvolumeshort##1{\protect\foreignlanguage{#1}{Bd##1{}}}%
+ \def\Btxvolumelong##1{\protect\foreignlanguage{#1}{Bind}}%
+ \def\Btxnumbershort##1{\protect\foreignlanguage{#1}{Nr##1{}}}%
+ \def\Btxnumberlong##1{\protect\foreignlanguage{#1}{Nummer}}%
+ \def\Btxeditionshort##1{\protect\foreignlanguage{#1}{Utg##1{}}}%
+ \def\Btxeditionlong##1{\protect\foreignlanguage{#1}{Utgave}}%
+ \def\Btxeditionnumshort##1##2{\btxnumeralshort{##1}~\Btxeditionshort{##2}}%
+ \def\Btxeditionnumlong##1##2{\btxnumerallong{##1}~\Btxeditionlong{##2}}%
+ \def\Btxchaptershort##1{\protect\foreignlanguage{#1}{Kap##1{}}}%
+ \def\Btxchapterlong##1{\protect\foreignlanguage{#1}{Kapittel}}%
+ \def\Btxpageshort##1{\protect\foreignlanguage{#1}{S##1{}}}%
+ \def\Btxpagelong##1{\protect\foreignlanguage{#1}{Side}}%
+ \def\Btxpagesshort##1{\protect\foreignlanguage{#1}{S##1{}}}%
+ \def\Btxpageslong##1{\protect\foreignlanguage{#1}{Sider}}%
+ \def\Btxtechrepshort##1{\protect\foreignlanguage{#1}{Tekn.\ rap##1{}}}%
+ \def\Btxtechreplong##1{\protect\foreignlanguage{#1}{Teknisk rapport}}%
+ \def\btxurldatecomment##1{\protect\foreignlanguage{#1}{, sjekket: ##1}}%
+ \def\btxfnamespaceshort{\,}%
+ \def\btxfnamespacelong{ }%
+ \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}%
+ \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}%
+% \end{macrocode}
+% Define how to print month and year in numeric format, e.\,g. MM/YYYY.
+% \begin{macrocode}
+ \def\btxprintmonthyearnum##1##2{##1/##2}%
+ \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}%
+% \end{macrocode}
+% Names of all known languages in the current language.
+% \begin{macrocode}
+ \ifbbbblanguagenames
+ \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{engelsk}}%
+ \def\btxlanguagenameaustrian{\protect\foreignlanguage{#1}{tysk}}%
+ \def\btxlanguagenamebrazil{\protect\foreignlanguage{#1}{portugisisk}}%
+ \def\btxlanguagenamebrazilian{\protect\foreignlanguage{#1}{portugisisk}}%
+ \def\btxlanguagenamebritish{\protect\foreignlanguage{#1}{engelsk}}%
+ \def\btxlanguagenamebulgarian{\protect\foreignlanguage{#1}{bulgarsk}}%
+ \def\btxlanguagenamecanadian{\protect\foreignlanguage{#1}{engelsk}}%
+ \def\btxlanguagenamecanadien{\protect\foreignlanguage{#1}{fransk}}%
+ \def\btxlanguagenamecatalan{\protect\foreignlanguage{#1}{katalansk}}%
+ \def\btxlanguagenamecroatian{\protect\foreignlanguage{#1}{kroatisk}}%
+ \def\btxlanguagenameczech{\protect\foreignlanguage{#1}{tsjekkisk}}%
+ \def\btxlanguagenamedanish{\protect\foreignlanguage{#1}{dansk}}%
+ \def\btxlanguagenamedutch{\protect\foreignlanguage{#1}{nederlandsk}}%
+ \def\btxlanguagenameenglish{\protect\foreignlanguage{#1}{engelsk}}%
+ \def\btxlanguagenameesperanto{\protect\foreignlanguage{#1}{esperanto}}%
+ \def\btxlanguagenamefinnish{\protect\foreignlanguage{#1}{finsk}}%
+ \def\btxlanguagenamefrancais{\protect\foreignlanguage{#1}{fransk}}%
+ \def\btxlanguagenamefrench{\protect\foreignlanguage{#1}{fransk}}%
+ \def\btxlanguagenamefrenchb{\protect\foreignlanguage{#1}{fransk}}%
+ \def\btxlanguagenamegerman{\protect\foreignlanguage{#1}{tysk}}%
+ \def\btxlanguagenamegermanb{\protect\foreignlanguage{#1}{tysk}}%
+ \def\btxlanguagenamegreek{\protect\foreignlanguage{#1}{gr\ae sk}}%
+ \def\btxlanguagenamehebrew{\protect\foreignlanguage{#1}{hebraisk}}%
+ \def\btxlanguagenamehungarian{\protect\foreignlanguage{#1}{ungarsk}}%
+ \def\btxlanguagenameicelandic{\protect\foreignlanguage{#1}{islandsk}}%
+ \def\btxlanguagenameirish{\protect\foreignlanguage{#1}{irsk}}%
+ \def\btxlanguagenameitalian{\protect\foreignlanguage{#1}{italiensk}}%
+ \def\btxlanguagenamelatin{\protect\foreignlanguage{#1}{latinsk}}%
+ \def\btxlanguagenamenaustrian{\protect\foreignlanguage{#1}{tysk}}%
+ \def\btxlanguagenamengerman{\protect\foreignlanguage{#1}{tysk}}%
+ \def\btxlanguagenamenorsk{\protect\foreignlanguage{#1}{norsk}}%
+ \def\btxlanguagenamenynorsk{\protect\foreignlanguage{#1}{nynorsk}}%
+ \def\btxlanguagenamepolish{\protect\foreignlanguage{#1}{polsk}}%
+ \def\btxlanguagenameportuges{\protect\foreignlanguage{#1}{portugisisk}}%
+ \def\btxlanguagenameportuguese{\protect\foreignlanguage{#1}{portugisisk}}%
+ \def\btxlanguagenamerussian{\protect\foreignlanguage{#1}{russisk}}%
+ \def\btxlanguagenamescottish{\protect\foreignlanguage{#1}{skotsk}}%
+ \def\btxlanguagenameserbian{\protect\foreignlanguage{#1}{serbisk}}%
+ \def\btxlanguagenamespanish{\protect\foreignlanguage{#1}{spansk}}%
+ \def\btxlanguagenameswedish{\protect\foreignlanguage{#1}{svensk}}%
+ \def\btxlanguagenameturkish{\protect\foreignlanguage{#1}{tyrkisk}}%
+ \def\btxlanguagenameUKenglish{\protect\foreignlanguage{#1}{engelsk}}%
+ \def\btxlanguagenameUSenglish{\protect\foreignlanguage{#1}{engelsk}}%
+ \fi
+}
+\newcommand\bibsnorwegian{\bibsnorsk}
+% \end{macrocode}
+% \end{macro}
+% Append the definitions to the language-calling commands.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \ifbbbbfixlanguage
+ \else
+ \bbbbaddto{norsk}{bibsnorsk}
+ \fi
+% \end{macrocode}
+% Switch off the change of case in titles for Norsk by
+% appending \cs{btxifchangecaseoff} to \cs{extrasnorsk}.
+% \begin{macrocode}
+ \bbbbaddto{norsk}{btxifchangecaseoff}
+}
+%</norsk>
+% \end{macrocode}
+%
+% \subsubsection{French}
+% \changes{0.32}{2003/05/06}{Added French language}%
+% \begin{macrocode}
+%<*french>
+% \end{macrocode}
+%
+% \begin{macro}{\bibsfrench}
+% \changes{1.00}{2005/02/16}{Handle package \texttt{frenchpro}}%
+% |french.sty| already defines \cs{bibsfrench}.
+% In this case it has to be redefined, otherwise newly defined.
+% \begin{macrocode}
+\makeatletter
+\@ifpackageloaded{french}{}{\newcommand\bibsfrench{}}
+\makeatother
+% \end{macrocode}
+% Bibliographic commands for French.
+% \begin{macrocode}
+\renewcommand\bibsfrench[1][french]{%
+ \def\biblanguagename{#1}%
+ \def\btxetalshort##1{\protect\foreignlanguage{#1}{et~al##1{}}}%
+ \def\btxetallong##1{\protect\foreignlanguage{#1}{et~alii}}%
+ \def\btxandshort##1{\protect\foreignlanguage{#1}{et}}%
+ \def\btxandlong##1{\protect\foreignlanguage{#1}{et}}%
+ \def\btxandcomma##1{}%
+ \def\btxinlong##1{\protect\foreignlanguage{#1}{dans}}%
+ \def\btxinshort##1{\protect\foreignlanguage{#1}{dans}}%
+ \def\btxofseriesshort##1{\protect\foreignlanguage{#1}{de}}%
+ \def\btxinseriesshort##1{\protect\foreignlanguage{#1}{dans}}%
+ \def\btxofserieslong##1{\protect\foreignlanguage{#1}{de}}%
+ \def\btxinserieslong##1{\protect\foreignlanguage{#1}{dans}}%
+ \def\btxeditorshort##1{\protect\foreignlanguage{#1}{r\'ed##1{}}}%
+ \def\btxeditorlong##1{\protect\foreignlanguage{#1}{r\'edacteur}}%
+ \def\btxeditorsshort##1{\protect\foreignlanguage{#1}{r\'eds##1{}}}%
+ \def\btxeditorslong##1{\protect\foreignlanguage{#1}{r\'edacteurs}}%
+ \def\btxvolumeshort##1{\protect\foreignlanguage{#1}{t##1{}}}%
+ \def\btxvolumelong##1{\protect\foreignlanguage{#1}{tome}}%
+ \def\btxnumbershort##1{\protect\foreignlanguage{#1}{%
+ n\textsuperscript{o}\kern.2em\relax{}}}%
+ \def\btxnumberlong##1{\protect\foreignlanguage{#1}{num\'ero}}%
+ \def\btxeditionshort##1{\protect\foreignlanguage{#1}{\'ed##1{}}}%
+ \def\btxeditionlong##1{\protect\foreignlanguage{#1}{\'edition}}%
+ \def\btxeditionnumshort##1##2{\btxnumeralshort{##1}~\btxeditionshort{##2}}%
+ \def\btxeditionnumlong##1##2{\btxnumerallong{##1}~\btxeditionlong{##2}}%
+ \def\btxchaptershort##1{\protect\foreignlanguage{#1}{chap##1{}}}%
+ \def\btxchapterlong##1{\protect\foreignlanguage{#1}{chapitre}}%
+ \def\btxpageshort##1{\protect\foreignlanguage{#1}{p##1{}}}%
+ \def\btxpagelong##1{\protect\foreignlanguage{#1}{page}}%
+ \def\btxpagesshort##1{\protect\foreignlanguage{#1}{p##1{}}}%
+ \def\btxpageslong##1{\protect\foreignlanguage{#1}{pages}}%
+ \def\btxmastthesis##1{\protect\foreignlanguage{#1}{M\'emoire de ma\^itrise}}%
+ \def\btxphdthesis##1{\protect\foreignlanguage{#1}{Th\`ese de doctorat}}%
+ \def\btxtechrepshort##1{\protect\foreignlanguage{#1}{rap.\ tech##1{}}}%
+ \def\btxtechreplong##1{\protect\foreignlanguage{#1}{rapport technique}}%
+ \def\btxmonjanlong##1{\protect\foreignlanguage{#1}{janvier}}%
+ \def\btxmonfeblong##1{\protect\foreignlanguage{#1}{f\'evrier}}%
+ \def\btxmonmarlong##1{\protect\foreignlanguage{#1}{mars}}%
+ \def\btxmonaprlong##1{\protect\foreignlanguage{#1}{avril}}%
+ \def\btxmonmaylong##1{\protect\foreignlanguage{#1}{mai}}%
+ \def\btxmonjunlong##1{\protect\foreignlanguage{#1}{juin}}%
+ \def\btxmonjullong##1{\protect\foreignlanguage{#1}{juillet}}%
+ \def\btxmonauglong##1{\protect\foreignlanguage{#1}{ao\^ut}}%
+ \def\btxmonseplong##1{\protect\foreignlanguage{#1}{septembre}}%
+ \def\btxmonoctlong##1{\protect\foreignlanguage{#1}{octobre}}%
+ \def\btxmonnovlong##1{\protect\foreignlanguage{#1}{novembre}}%
+ \def\btxmondeclong##1{\protect\foreignlanguage{#1}{d\'ecembre}}%
+ \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{jan##1{}}}%
+ \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{f\'ev##1{}}}%
+ \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{mar##1{}}}%
+ \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{avr##1{}}}%
+ \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{mai}}%
+ \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{juin}}%
+ \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{juil##1{}}}%
+ \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{ao\^ut}}%
+ \def\btxmonsepshort##1{\protect\foreignlanguage{#1}{sept##1{}}}%
+ \def\btxmonoctshort##1{\protect\foreignlanguage{#1}{oct##1{}}}%
+ \def\btxmonnovshort##1{\protect\foreignlanguage{#1}{nov##1{}}}%
+ \def\btxmondecshort##1{\protect\foreignlanguage{#1}{d\'ec##1{}}}%
+ \def\Btxinlong##1{\protect\foreignlanguage{#1}{Dans}}%
+ \def\Btxinshort##1{\protect\foreignlanguage{#1}{Dans}}%
+ \def\Btxeditorshort##1{\protect\foreignlanguage{#1}{R\'ed##1{}}}%
+ \def\Btxeditorlong##1{\protect\foreignlanguage{#1}{R\'edacteur}}%
+ \def\Btxeditorsshort##1{\protect\foreignlanguage{#1}{R\'eds##1{}}}%
+ \def\Btxeditorslong##1{\protect\foreignlanguage{#1}{R\'edacteurs}}%
+ \def\Btxvolumeshort##1{\protect\foreignlanguage{#1}{T##1{}}}%
+ \def\Btxvolumelong##1{\protect\foreignlanguage{#1}{Tome}}%
+ \def\Btxnumbershort##1{\protect\foreignlanguage{#1}{%
+ N\textsuperscript{o}\kern.2em\relax}}%
+ \def\Btxnumberlong##1{\protect\foreignlanguage{#1}{Num\'ero}}%
+ \def\Btxeditionshort##1{\protect\foreignlanguage{#1}{\'Ed##1{}}}%
+ \def\Btxeditionlong##1{\protect\foreignlanguage{#1}{\'Edition}}%
+ \def\Btxeditionnumshort##1##2{\btxnumeralshort{##1}~\Btxeditionshort{##2}}%
+ \def\Btxeditionnumlong##1##2{\btxnumerallong{##1}~\Btxeditionlong{##2}}%
+ \def\Btxchaptershort##1{\protect\foreignlanguage{#1}{Chap##1{}}}%
+ \def\Btxchapterlong##1{\protect\foreignlanguage{#1}{Chapitre}}%
+ \def\Btxpageshort##1{\protect\foreignlanguage{#1}{P##1{}}}%
+ \def\Btxpagelong##1{\protect\foreignlanguage{#1}{Page}}%
+ \def\Btxpagesshort##1{\protect\foreignlanguage{#1}{P##1{}}}%
+ \def\Btxpageslong##1{\protect\foreignlanguage{#1}{Pages}}%
+ \def\Btxtechrepshort##1{\protect\foreignlanguage{#1}{Rap. tech##1{}}}%
+ \def\Btxtechreplong##1{\protect\foreignlanguage{#1}{Rapport technique}}%
+ \def\btxurldatecomment##1{\protect\foreignlanguage{#1}{, visit\'e le ##1}}%
+ \def\btxfnamespaceshort{\,}%
+ \def\btxfnamespacelong{ }%
+ \def\btxnumeralshort##1{\btxnumeralfrench{#1}{##1}}%
+ \def\btxnumerallong##1{\btxnumeralfrench{#1}{##1}}%
+% \end{macrocode}
+% Define how to print month and year in numeric format, e.\,g. MM/YYYY.
+% \begin{macrocode}
+ \def\btxprintmonthyearnum##1##2{##1/##2}%
+ \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}%
+% \end{macrocode}
+% Names of all known languages in the current language.
+% \begin{macrocode}
+ \ifbbbblanguagenames
+ \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{anglais}}%
+ \def\btxlanguagenameaustrian{\protect\foreignlanguage{#1}{allemand}}%
+ \def\btxlanguagenamebrazil{\protect\foreignlanguage{#1}{portugais}}%
+ \def\btxlanguagenamebrazilian{\protect\foreignlanguage{#1}{portugais}}%
+ \def\btxlanguagenamebritish{\protect\foreignlanguage{#1}{anglais}}%
+ \def\btxlanguagenamebulgarian{\protect\foreignlanguage{#1}{bulgare}}%
+ \def\btxlanguagenamecanadian{\protect\foreignlanguage{#1}{anglais}}%
+ \def\btxlanguagenamecanadien{\protect\foreignlanguage{#1}{fran\c{c}ais}}%
+ \def\btxlanguagenamecatalan{\protect\foreignlanguage{#1}{catalan}}%
+ \def\btxlanguagenamecroatian{\protect\foreignlanguage{#1}{croate}}%
+ \def\btxlanguagenameczech{\protect\foreignlanguage{#1}{tch\`eque}}%
+ \def\btxlanguagenamedanish{\protect\foreignlanguage{#1}{danois}}%
+ \def\btxlanguagenamedutch{\protect\foreignlanguage{#1}{n\'eerlandais}}%
+ \def\btxlanguagenameenglish{\protect\foreignlanguage{#1}{anglais}}%
+ \def\btxlanguagenameesperanto{\protect\foreignlanguage{#1}{esperanto}}%
+ \def\btxlanguagenamefinnish{\protect\foreignlanguage{#1}{finnois}}%
+ \def\btxlanguagenamefrancais{\protect\foreignlanguage{#1}{fran\c{c}ais}}%
+ \def\btxlanguagenamefrench{\protect\foreignlanguage{#1}{fran\c{c}ais}}%
+ \def\btxlanguagenamefrenchb{\protect\foreignlanguage{#1}{fran\c{c}ais}}%
+ \def\btxlanguagenamegerman{\protect\foreignlanguage{#1}{allemand}}%
+ \def\btxlanguagenamegermanb{\protect\foreignlanguage{#1}{allemand}}%
+ \def\btxlanguagenamegreek{\protect\foreignlanguage{#1}{grec}}%
+ \def\btxlanguagenamehebrew{\protect\foreignlanguage{#1}{h\'ebreu}}%
+ \def\btxlanguagenamehungarian{\protect\foreignlanguage{#1}{hongrois}}%
+ \def\btxlanguagenameicelandic{\protect\foreignlanguage{#1}{islandais}}%
+ \def\btxlanguagenameirish{\protect\foreignlanguage{#1}{irlandais}}%
+ \def\btxlanguagenameitalian{\protect\foreignlanguage{#1}{italien}}%
+ \def\btxlanguagenamelatin{\protect\foreignlanguage{#1}{latin}}%
+ \def\btxlanguagenamenaustrian{\protect\foreignlanguage{#1}{allemand}}%
+ \def\btxlanguagenamengerman{\protect\foreignlanguage{#1}{allemand}}%
+ \def\btxlanguagenamenorsk{\protect\foreignlanguage{#1}{norv\'egien}}%
+ \def\btxlanguagenamenynorsk{\protect\foreignlanguage{#1}{nouveau
+ norv\'egien}}%
+ \def\btxlanguagenamepolish{\protect\foreignlanguage{#1}{polonais}}%
+ \def\btxlanguagenameportuges{\protect\foreignlanguage{#1}{portugais}}%
+ \def\btxlanguagenameportuguese{\protect\foreignlanguage{#1}{portugais}}%
+ \def\btxlanguagenamerussian{\protect\foreignlanguage{#1}{russe}}%
+ \def\btxlanguagenamescottish{\protect\foreignlanguage{#1}{\'ecossais}}%
+ \def\btxlanguagenameserbian{\protect\foreignlanguage{#1}{serbe}}%
+ \def\btxlanguagenamespanish{\protect\foreignlanguage{#1}{espagnol}}%
+ \def\btxlanguagenameswedish{\protect\foreignlanguage{#1}{su\'edois}}%
+ \def\btxlanguagenameturkish{\protect\foreignlanguage{#1}{turc}}%
+ \def\btxlanguagenameUKenglish{\protect\foreignlanguage{#1}{anglais}}%
+ \def\btxlanguagenameUSenglish{\protect\foreignlanguage{#1}{anglais}}%
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% Copy the commands to the other languages.
+% \begin{macrocode}
+\newcommand\bibsfrancais{\bibsfrench[francais]}
+\newcommand\bibsfrenchb{\bibsfrench[frenchb]}
+\newcommand\bibscanadien{\bibsfrench[canadien]}
+% \end{macrocode}
+% Append the definitions to the language-calling commands.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \ifbbbbfixlanguage
+ \else
+ \bbbbaddto{francais}{bibsfrancais}
+ \bbbbaddto{french}{bibsfrench}
+ \bbbbaddto{frenchb}{bibsfrenchb}
+ \bbbbaddto{canadien}{bibscanadien}
+ \fi
+% \end{macrocode}
+% Switch on the change of case in titles for all French dialects by
+% appending \cs{btxifchangecaseoff} to \cs{extras}\meta{language}.
+% \begin{macrocode}
+ \bbbbaddto{francais}{btxifchangecaseoff}
+ \bbbbaddto{french}{btxifchangecaseoff}
+ \bbbbaddto{frenchb}{btxifchangecaseoff}
+ \bbbbaddto{canadien}{btxifchangecaseoff}
+}
+% \end{macrocode}
+% \begin{macro}{\btxnumeralfrench}
+% \begin{macrocode}
+\makeatletter
+\DeclareRobustCommand\btxnumeralfrench[2]{%
+ \foreignlanguage{#1}{%
+ \ifnumber{#2}{%
+ \expandafter\btx@parsenum#2\@empty\@empty\@empty
+ \btxnumeralfont{%
+ \ifx\btx@digitb\@empty
+ \ifcase\btx@digita \ieme\or \iere\else \ieme\fi
+ \else
+ \ifnum\btx@digita=1
+ th%
+ \else
+ \ifcase\btx@digitb \ieme\or \iere\else \ieme\fi
+ \fi
+ \fi
+ }%
+ }{#2}%
+ }%
+}
+\makeatother
+% \end{macrocode}
+% \end{macro}
+% \changes{0.43}{2004/01/06}{Warn if using \texttt{french} language}%
+% \changes{0.44}{2004/01/06}{Only warn if babel version is too old}%
+% \changes{1.00}{2005/02/16}{Remove warning for old babel package with
+% \texttt{french} language}%
+% \begin{macrocode}
+%</french>
+% \end{macrocode}
+%
+% \subsubsection{Romanian}
+% \changes{1.31}{2012/01/03}{Added Serbian, Czech, and Romanian language}%
+% \begin{macrocode}
+%<*romanian>
+% \end{macrocode}
+%
+% \begin{macro}{\bibsromanian}
+% Bibliographic commands for Romanian.
+% \begin{macrocode}
+\newcommand\bibsromanian[1][romanian]{%
+ \def\biblanguagename{#1}%
+ \def\btxetalshort##1{\protect\foreignlanguage{#1}{et~al##1{}}}%
+ \def\btxetallong##1{\protect\foreignlanguage{#1}{et~alii}}%
+ \def\btxandshort##1{\protect\foreignlanguage{#1}{\hskip-1.5ex}}%
+ \def\btxandlong##1{\protect\foreignlanguage{#1}{\c{s}i}}%
+ \def\btxandcomma##1{,}%
+ \def\btxinlong##1{\protect\foreignlanguage{#1}{\^{i}n}}%
+ \def\btxinshort##1{\protect\foreignlanguage{#1}{\^{i}n}}%
+ \def\btxofseriesshort##1{\protect\foreignlanguage{#1}{din seria}}%
+ \def\btxinseriesshort##1{\protect\foreignlanguage{#1}{\^{i}n}}%
+ \def\btxofserieslong##1{\protect\foreignlanguage{#1}{din seria}}%
+ \def\btxinserieslong##1{\protect\foreignlanguage{#1}{\^{i}n}}%
+ \def\btxeditorshort##1{\protect\foreignlanguage{#1}{ed##1{}}}%
+ \def\btxeditorlong##1{\protect\foreignlanguage{#1}{editor}}%
+ \def\btxeditorsshort##1{\protect\foreignlanguage{#1}{ed##1{}}}%
+ \def\btxeditorslong##1{\protect\foreignlanguage{#1}{editori}}%
+ \def\btxvolumeshort##1{\protect\foreignlanguage{#1}{vol##1{}}}%
+ \def\btxvolumelong##1{\protect\foreignlanguage{#1}{volumul}}%
+ \def\btxnumbershort##1{\protect\foreignlanguage{#1}{nr##1{}}}%
+ \def\btxnumberlong##1{\protect\foreignlanguage{#1}{num\~{a}rul}}%
+ \def\btxeditionshort##1{\protect\foreignlanguage{#1}{Ed{##1}}}%
+ \def\btxeditionlong##1{\protect\foreignlanguage{#1}{Edi\c{t}ia}}%
+ \def\btxeditionnumshort##1##2{\btxeditionshort{##2}~\btxnumeralshort{##1}}%
+ \def\btxeditionnumlong##1##2{\btxeditionlong{##2}~\btxnumerallong{##1}}%
+ \def\btxchaptershort##1{\protect\foreignlanguage{#1}{cap##1{}}}%
+ \def\btxchapterlong##1{\protect\foreignlanguage{#1}{capitolul}}%
+ \def\btxpageshort##1{\protect\foreignlanguage{#1}{p##1{}}}%
+ \def\btxpagelong##1{\protect\foreignlanguage{#1}{pagina}}%
+ \def\btxpagesshort##1{\protect\foreignlanguage{#1}{pp##1{}}}%
+ \def\btxpageslong##1{\protect\foreignlanguage{#1}{paginile}}%
+ \def\btxmastthesis##1{\protect\foreignlanguage{#1}{%
+ Tez\~{a} de dizerta\c{t}ie}}%
+ \def\btxphdthesis##1{\protect\foreignlanguage{#1}{Tez\~{a} de doctorat}}%
+ \def\btxtechrepshort##1{\protect\foreignlanguage{#1}{Rap.\ tehn##1{}}}%
+ \def\btxtechreplong##1{\protect\foreignlanguage{#1}{Raport tehnic}}%
+ \def\btxmonjanlong##1{\protect\foreignlanguage{#1}{ianuarie}}%
+ \def\btxmonfeblong##1{\protect\foreignlanguage{#1}{februarie}}%
+ \def\btxmonmarlong##1{\protect\foreignlanguage{#1}{martie}}%
+ \def\btxmonaprlong##1{\protect\foreignlanguage{#1}{aprilie}}%
+ \def\btxmonmaylong##1{\protect\foreignlanguage{#1}{mai}}%
+ \def\btxmonjunlong##1{\protect\foreignlanguage{#1}{iunie}}%
+ \def\btxmonjullong##1{\protect\foreignlanguage{#1}{iulie}}%
+ \def\btxmonauglong##1{\protect\foreignlanguage{#1}{august}}%
+ \def\btxmonseplong##1{\protect\foreignlanguage{#1}{septembrie}}%
+ \def\btxmonoctlong##1{\protect\foreignlanguage{#1}{octombrie}}%
+ \def\btxmonnovlong##1{\protect\foreignlanguage{#1}{noiembrie}}%
+ \def\btxmondeclong##1{\protect\foreignlanguage{#1}{decembrie}}%
+ \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{ian##1{}}}%
+ \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{feb##1{}}}%
+ \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{mart##1{}}}%
+ \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{apr##1{}}}%
+ \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{mai}}%
+ \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{iun}}%
+ \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{iul}}%
+ \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{aug##1{}}}%
+ \def\btxmonsepshort##1{\protect\foreignlanguage{#1}{sept##1{}}}%
+ \def\btxmonoctshort##1{\protect\foreignlanguage{#1}{oct##1{}}}%
+ \def\btxmonnovshort##1{\protect\foreignlanguage{#1}{nov##1{}}}%
+ \def\btxmondecshort##1{\protect\foreignlanguage{#1}{dec##1{}}}%
+ \def\Btxinlong##1{\protect\foreignlanguage{#1}{\^{I}}}%
+ \def\Btxinshort##1{\protect\foreignlanguage{#1}{\^{I}}}%
+ \def\Btxeditorshort##1{\protect\foreignlanguage{#1}{Ed##1{}}}%
+ \def\Btxeditorlong##1{\protect\foreignlanguage{#1}{Editor}}%
+ \def\Btxeditorsshort##1{\protect\foreignlanguage{#1}{Ed##1{}}}%
+ \def\Btxeditorslong##1{\protect\foreignlanguage{#1}{Editori}}%
+ \def\Btxvolumeshort##1{\protect\foreignlanguage{#1}{Vol##1{}}}%
+ \def\Btxvolumelong##1{\protect\foreignlanguage{#1}{Volumul}}%
+ \def\Btxnumbershort##1{\protect\foreignlanguage{#1}{Nr##1{}}}%
+ \def\Btxnumberlong##1{\protect\foreignlanguage{#1}{Num\~{a}}}%
+ \def\Btxeditionshort##1{\protect\foreignlanguage{#1}{\hskip-1.5ex}}%
+ \def\Btxeditionlong##1{\protect\foreignlanguage{#1}{\hskip-1.5ex}}%
+ \def\Btxeditionnumshort##1##2{\btxnumeralshort{##1}~\Btxeditionshort{##2}}%
+ \def\Btxeditionnumlong##1##2{\btxnumerallong{##1}~\Btxeditionlong{##2}}%
+ \def\Btxchaptershort##1{\protect\foreignlanguage{#1}{Cap##1{}}}%
+ \def\Btxchapterlong##1{\protect\foreignlanguage{#1}{Capitolul}}%
+ \def\Btxpageshort##1{\protect\foreignlanguage{#1}{P##1{}}}%
+ \def\Btxpagelong##1{\protect\foreignlanguage{#1}{Pagina}}%
+ \def\Btxpagesshort##1{\protect\foreignlanguage{#1}{Pp##1{}}}%
+ \def\Btxpageslong##1{\protect\foreignlanguage{#1}{Paginile}}%
+ \def\Btxtechrepshort##1{\protect\foreignlanguage{#1}{Rap.\ tehn##1{}}}%
+ \def\Btxtechreplong##1{\protect\foreignlanguage{#1}{Raport tehnic}}%
+ \def\btxurldatecomment##1{\protect\foreignlanguage{#1}{, accesat la ##1}}%
+ \def\btxfnamespaceshort{}%
+ \def\btxfnamespacelong{ }%
+ \def\btxnumeralshort##1{\btxnumeralromanian{#1}{##1}}%
+ \def\btxnumerallong##1{\btxnumeralromanian{#1}{##1}}%
+% \end{macrocode}
+% Define how to print month and year in numeric format, e.\,g. MM/YYYY.
+% \begin{macrocode}
+ \def\btxprintmonthyearnum##1##2{##1/##2}%
+ \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}%
+ \ifbbbblanguagenames
+ \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{englez\~{a}}}%
+ \def\btxlanguagenameaustrian{\protect\foreignlanguage{#1}{german\~{a}}}%
+ \def\btxlanguagenamebrazil{\protect\foreignlanguage{#1}{portughez\~{a}}}%
+ \def\btxlanguagenamebrazilian{\protect\foreignlanguage{#1}{portughez\~{a}}}%
+ \def\btxlanguagenamebritish{\protect\foreignlanguage{#1}{englez\~{a}}}%
+ \def\btxlanguagenamebulgarian{\protect\foreignlanguage{#1}{bulgar\~{a}}}%
+ \def\btxlanguagenamecanadian{\protect\foreignlanguage{#1}{englez\~{a}}}%
+ \def\btxlanguagenamecanadien{\protect\foreignlanguage{#1}{francez\~{a}}}%
+ \def\btxlanguagenamecatalan{\protect\foreignlanguage{#1}{cataln\~{a}}}%
+ \def\btxlanguagenamecroatian{\protect\foreignlanguage{#1}{croat\~{a}}}%
+ \def\btxlanguagenameczech{\protect\foreignlanguage{#1}{ceh\~{a}}}%
+ \def\btxlanguagenamedanish{\protect\foreignlanguage{#1}{danez\~{a}}}%
+ \def\btxlanguagenamedutch{\protect\foreignlanguage{#1}{olandez\~{a}}}%
+ \def\btxlanguagenameenglish{\protect\foreignlanguage{#1}{englez\~{a}}}%
+ \def\btxlanguagenameesperanto{\protect\foreignlanguage{#1}{esperanto}}%
+ \def\btxlanguagenamefinnish{\protect\foreignlanguage{#1}{finlandez\~{a}}}%
+ \def\btxlanguagenamefrancais{\protect\foreignlanguage{#1}{fracez\~{a}}}%
+ \def\btxlanguagenamefrench{\protect\foreignlanguage{#1}{francez\~{a}}}%
+ \def\btxlanguagenamefrenchb{\protect\foreignlanguage{#1}{francez\~{a}}}%
+ \def\btxlanguagenamegerman{\protect\foreignlanguage{#1}{german\~{a}}}%
+ \def\btxlanguagenamegermanb{\protect\foreignlanguage{#1}{german\~{a}}}%
+ \def\btxlanguagenamegreek{\protect\foreignlanguage{#1}{greac\~{a}}}%
+ \def\btxlanguagenamehebrew{\protect\foreignlanguage{#1}{ebraic\~{a}}}%
+ \def\btxlanguagenamehungarian{\protect\foreignlanguage{#1}{ungar\~{a}}}%
+ \def\btxlanguagenameicelandic{\protect\foreignlanguage{#1}{islandez\~{a}}}%
+ \def\btxlanguagenameirish{\protect\foreignlanguage{#1}{irlandez\~{a}}}%
+ \def\btxlanguagenameitalian{\protect\foreignlanguage{#1}{italian\~{a}}}%
+ \def\btxlanguagenamelatin{\protect\foreignlanguage{#1}{latin\~{a}}}%
+ \def\btxlanguagenamenaustrian{\protect\foreignlanguage{#1}{german\~{a}}}%
+ \def\btxlanguagenamengerman{\protect\foreignlanguage{#1}{german\~{a}}}%
+ \def\btxlanguagenamenorsk{\protect\foreignlanguage{#1}{norvegian\~{a}}}%
+ \def\btxlanguagenamenynorsk{\protect\foreignlanguage{#1}{neo-norvegian\~{a}}}%
+ \def\btxlanguagenamepolish{\protect\foreignlanguage{#1}{polonez\~{a}}}%
+ \def\btxlanguagenameportuges{\protect\foreignlanguage{#1}{portughez\~{a}}}%
+ \def\btxlanguagenameportuguese{\protect\foreignlanguage{#1}{portughez\~{a}}}%
+ \def\btxlanguagenamerussian{\protect\foreignlanguage{#1}{rus\~{a}}}%
+ \def\btxlanguagenamescottish{\protect\foreignlanguage{#1}{sco\c{t}ian\~{a}}}%
+ \def\btxlanguagenameserbian{\protect\foreignlanguage{#1}{s\^{i}rb\~{a}}}%
+ \def\btxlanguagenamespanish{\protect\foreignlanguage{#1}{spaniol\~{a}}}%
+ \def\btxlanguagenameswedish{\protect\foreignlanguage{#1}{suedez\~{a}}}%
+ \def\btxlanguagenameturkish{\protect\foreignlanguage{#1}{turc\~{a}}}%
+ \def\btxlanguagenameUKenglish{\protect\foreignlanguage{#1}{englez\~{a}}}%
+ \def\btxlanguagenameUSenglish{\protect\foreignlanguage{#1}{englez\~{a}}}%
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% Append the definitions to the language-calling commands.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \ifbbbbfixlanguage
+ \else
+ \bbbbaddto{romanian}{bibsromanian}
+ \fi
+% \end{macrocode}
+% Switch off the change of case in titles for all Romanian dialects by
+% appending \cs{btxifchangecaseoff} to \cs{extras}\meta{language}.
+% \begin{macrocode}
+ \bbbbaddto{romanian}{btxifchangecaseoff}
+}
+%</romanian>
+% \end{macrocode}
+%
+% \subsubsection{Russian}
+% \begin{macrocode}
+%<*russian>
+% \end{macrocode}
+%
+% \begin{macro}{\bibsrussian}
+% Bibliographic commands for Russian.
+% \begin{macrocode}
+\newcommand\bibsrussian[1][russian]{%
+ \def\biblanguagename{#1}%
+ \def\btxetalshort##1{\protect\foreignlanguage{#1}{\IeC {\cyri }~\IeC
+ {\cyrd }\IeC {\cyrr }.##1{}}}%
+ \def\btxetallong##1{\protect\foreignlanguage{#1}{\IeC {\cyri }~\IeC
+ {\cyrd }\IeC {\cyrr }\IeC {\cyru }\IeC {\cyrg }\IeC {\cyri }\IeC
+ {\cyre }}}%
+ \def\btxandshort##1{\protect\foreignlanguage{#1}{\IeC {\cyri }}}%
+ \def\btxandlong##1{\protect\foreignlanguage{#1}{\IeC {\cyri }}}%
+ \def\btxandcomma##1{,}%
+ \def\btxinlong##1{\protect\foreignlanguage{#1}{\IeC {\cyrv }}}%
+ \def\btxinshort##1{\protect\foreignlanguage{#1}{\IeC {\cyrv }}}%
+ \def\btxofseriesshort##1{\protect\foreignlanguage{#1}{\IeC {\cyri
+ }\IeC {\cyrz }}}%
+ \def\btxinseriesshort##1{\protect\foreignlanguage{#1}{\IeC {\cyrv }}}%
+ \def\btxofserieslong##1{\protect\foreignlanguage{#1}{\IeC {\cyri
+ }\IeC {\cyrz }}}%
+ \def\btxinserieslong##1{\protect\foreignlanguage{#1}{\IeC {\cyrv }}}%
+ \def\btxeditorshort##1{\protect\foreignlanguage{#1}{\IeC {\cyrr
+ }\IeC {\cyre }\IeC {\cyrd }.##1{}}}%
+ \def\btxeditorlong##1{\protect\foreignlanguage{#1}{\IeC {\cyrr }\IeC
+ {\cyre }\IeC {\cyrd }\IeC {\cyra }\IeC {\cyrk }\IeC {\cyrt }\IeC
+ {\cyro }\IeC {\cyrr }}}%
+ \def\btxeditorsshort##1{\protect\foreignlanguage{#1}{\IeC {\cyrr
+ }\IeC {\cyre }\IeC {\cyrd }.##1{}}}%
+ \def\btxeditorslong##1{\protect\foreignlanguage{#1}{\IeC {\cyrr
+ }\IeC {\cyre }\IeC {\cyrd }\IeC {\cyra }\IeC {\cyrk }\IeC {\cyrt
+ }\IeC {\cyro }\IeC {\cyrr }\IeC {\cyrery }}}%
+ \def\btxvolumeshort##1{\protect\foreignlanguage{#1}{\IeC {\cyrt }.##1{}}}%
+ \def\btxvolumelong##1{\protect\foreignlanguage{#1}{\IeC {\cyrt }\IeC
+ {\cyro }\IeC {\cyrm }}}%
+ \def\btxnumbershort##1{\protect\foreignlanguage{#1}{%
+ n\textsuperscript{\underline{o}}}}%
+ \def\btxnumberlong##1{\protect\foreignlanguage{#1}{\IeC {\cyrn }\IeC
+ {\cyro }\IeC {\cyrm }\IeC {\cyre }\IeC {\cyrr }}}%
+ \def\btxeditionshort##1{\protect\foreignlanguage{#1}{\IeC {\cyrr
+ }\IeC {\cyre }\IeC {\cyrd }.##1{}}}%
+ \def\btxeditionlong##1{\protect\foreignlanguage{#1}{\IeC {\cyrr
+ }\IeC {\cyre }\IeC {\cyrd }\IeC {\cyra }\IeC {\cyrk }\IeC {\cyrc
+ }\IeC {\cyri }\IeC {\cyrya }}}%
+ \def\btxeditionnumshort##1##2{\btxnumeralshort{##1}~\btxeditionshort{##2}}%
+ \def\btxeditionnumlong##1##2{\btxnumerallong{##1}~\btxeditionlong{##2}}%
+ \def\btxchaptershort##1{\protect\foreignlanguage{#1}{\IeC {\cyrg
+ }\IeC {\cyrl }.##1{}}}%
+ \def\btxchapterlong##1{\protect\foreignlanguage{#1}{\IeC {\cyrg
+ }\IeC {\cyrl }\IeC {\cyra }\IeC {\cyrv }\IeC {\cyra }}}%
+ \def\btxpageshort##1{\protect\foreignlanguage{#1}{\IeC {\cyrs }\IeC
+ {\cyrt }\IeC {\cyrr }.##1{}}}%
+ \def\btxpagelong##1{\protect\foreignlanguage{#1}{\IeC {\cyrs }\IeC
+ {\cyrt }\IeC {\cyrr }\IeC {\cyra }\IeC {\cyrn }\IeC {\cyri }\IeC
+ {\cyrc }\IeC {\cyra }}}%
+ \def\btxpagesshort##1{\protect\foreignlanguage{#1}{\IeC {\cyrs }\IeC
+ {\cyrt }\IeC {\cyrr }.##1{}}}%
+ \def\btxpageslong##1{\protect\foreignlanguage{#1}{\IeC {\cyrs }\IeC
+ {\cyrt }\IeC {\cyrr }\IeC {\cyra }\IeC {\cyrn }\IeC {\cyri }\IeC
+ {\cyrc }\IeC {\cyrery }}}%
+ \def\btxmastthesis##1{\protect\foreignlanguage{#1}{\IeC {\CYRD }\IeC
+ {\cyri }\IeC {\cyrp }\IeC {\cyrl }\IeC {\cyro }\IeC {\cyrm }
+ \IeC {\cyrm }\IeC {\cyra }\IeC {\cyrg }\IeC {\cyri }\IeC {\cyrs
+ }\IeC {\cyrt }\IeC {\cyrr }\IeC {\cyra }}}%
+ \def\btxphdthesis##1{\protect\foreignlanguage{#1}{\IeC {\CYRK }\IeC
+ {\cyra }\IeC {\cyrn }\IeC {\cyrd }\IeC {\cyri }\IeC {\cyrd }\IeC
+ {\cyra }\IeC {\cyrt }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyra }\IeC
+ {\cyrya } \IeC {\cyrd }\IeC {\cyri }\IeC {\cyrs }\IeC {\cyrs
+ }\IeC {\cyre }\IeC {\cyrr }\IeC {\cyrt }\IeC {\cyra }\IeC {\cyrc
+ }\IeC {\cyri }\IeC {\cyrya }}}%
+ \def\btxtechrepshort##1{\protect\foreignlanguage{#1}{\IeC {\cyrt
+ }\IeC {\cyre }\IeC {\cyrh }.\ \IeC {\cyro }\IeC {\cyrt }\IeC
+ {\cyrch }\IeC {\cyre }\IeC {\cyrt }##1{}}}%
+ \def\btxtechreplong##1{\protect\foreignlanguage{#1}{\IeC {\cyrt
+ }\IeC {\cyre }\IeC {\cyrh }\IeC {\cyrn }\IeC {\cyri }\IeC
+ {\cyrch }\IeC {\cyre }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri
+ }\IeC {\cyrishrt } \IeC {\cyro }\IeC {\cyrt }\IeC {\cyrch }\IeC
+ {\cyre }\IeC {\cyrt }}}%
+ \def\btxmonjanlong##1{\protect\foreignlanguage{#1}{\IeC {\cyrya
+ }\IeC {\cyrn }\IeC {\cyrv }\IeC {\cyra }\IeC {\cyrr }\IeC
+ {\cyrsftsn }}}%
+ \def\btxmonfeblong##1{\protect\foreignlanguage{#1}{\IeC {\cyrf }\IeC
+ {\cyre }\IeC {\cyrv }\IeC {\cyrr }\IeC {\cyra }\IeC {\cyrl }\IeC
+ {\cyrsftsn }}}%
+ \def\btxmonmarlong##1{\protect\foreignlanguage{#1}{\IeC {\cyrm }\IeC
+ {\cyra }\IeC {\cyrr }\IeC {\cyrt }}}%
+ \def\btxmonaprlong##1{\protect\foreignlanguage{#1}{\IeC {\cyra }\IeC
+ {\cyrp }\IeC {\cyrr }\IeC {\cyre }\IeC {\cyrl }\IeC {\cyrsftsn
+ }}}%
+ \def\btxmonmaylong##1{\protect\foreignlanguage{#1}{\IeC {\cyrm }\IeC
+ {\cyra }\IeC {\cyrishrt }}}%
+ \def\btxmonjunlong##1{\protect\foreignlanguage{#1}{\IeC {\cyri }\IeC
+ {\cyryu }\IeC {\cyrn }\IeC {\cyrsftsn }}}%
+ \def\btxmonjullong##1{\protect\foreignlanguage{#1}{\IeC {\cyri }\IeC
+ {\cyryu }\IeC {\cyrl }\IeC {\cyrsftsn }}}%
+ \def\btxmonauglong##1{\protect\foreignlanguage{#1}{\IeC {\cyra }\IeC
+ {\cyrv }\IeC {\cyrg }\IeC {\cyru }\IeC {\cyrs }\IeC {\cyrt }}}%
+ \def\btxmonseplong##1{\protect\foreignlanguage{#1}{\IeC {\cyrs }\IeC
+ {\cyre }\IeC {\cyrn }\IeC {\cyrt }\IeC {\cyrya }\IeC {\cyrb
+ }\IeC {\cyrr }\IeC {\cyrsftsn }}}%
+ \def\btxmonoctlong##1{\protect\foreignlanguage{#1}{\IeC {\cyro }\IeC
+ {\cyrk }\IeC {\cyrt }\IeC {\cyrya }\IeC {\cyrb }\IeC {\cyrr
+ }\IeC {\cyrsftsn }}}%
+ \def\btxmonnovlong##1{\protect\foreignlanguage{#1}{\IeC {\cyrn }\IeC
+ {\cyro }\IeC {\cyrya }\IeC {\cyrb }\IeC {\cyrr }\IeC {\cyrsftsn
+ }}}%
+ \def\btxmondeclong##1{\protect\foreignlanguage{#1}{\IeC {\cyrd }\IeC
+ {\cyre }\IeC {\cyrk }\IeC {\cyra }\IeC {\cyrb }\IeC {\cyrr }\IeC
+ {\cyrsftsn }}}%
+ \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{\IeC {\cyrya
+ }\IeC {\cyrn }\IeC {\cyrv }.##1{}}}%
+ \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{\IeC {\cyrf
+ }\IeC {\cyre }\IeC {\cyrv }.##1{}}}%
+ \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{\IeC {\cyrm
+ }\IeC {\cyra }\IeC {\cyrr }.##1{}}}%
+ \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{\IeC {\cyra
+ }\IeC {\cyrp }\IeC {\cyrr }.##1{}}}%
+ \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{\IeC {\cyrm
+ }\IeC {\cyra }\IeC {\cyrishrt }}}%
+ \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{\IeC {\cyri
+ }\IeC {\cyryu }\IeC {\cyrn }\IeC {\cyrsftsn }##1{}}}%
+ \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{\IeC {\cyri
+ }\IeC {\cyryu }\IeC {\cyrl }\IeC {\cyrsftsn }##1{}}}%
+ \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{\IeC {\cyra
+ }\IeC {\cyrv }\IeC {\cyrg }.##1{}}}%
+ \def\btxmonsepshort##1{\protect\foreignlanguage{#1}{\IeC {\cyrs
+ }\IeC {\cyre }\IeC {\cyrn }.##1{}}}%
+ \def\btxmonoctshort##1{\protect\foreignlanguage{#1}{\IeC {\cyro
+ }\IeC {\cyrk }\IeC {\cyrt }.##1{}}}%
+ \def\btxmonnovshort##1{\protect\foreignlanguage{#1}{\IeC {\cyrn
+ }\IeC {\cyro }\IeC {\cyrya }.##1{}}}%
+ \def\btxmondecshort##1{\protect\foreignlanguage{#1}{\IeC {\cyrd
+ }\IeC {\cyre }\IeC {\cyrk }.##1{}}}%
+ \def\Btxinlong##1{\protect\foreignlanguage{#1}{\IeC {\CYRV }}}%
+ \def\Btxinshort##1{\protect\foreignlanguage{#1}{\IeC {\CYRV }}}%
+ \def\Btxeditorshort##1{\protect\foreignlanguage{#1}{\IeC {\CYRR
+ }\IeC {\cyre }\IeC {\cyrd }.##1{}}}%
+ \def\Btxeditorlong##1{\protect\foreignlanguage{#1}{\IeC {\CYRR }\IeC
+ {\cyre }\IeC {\cyrd }\IeC {\cyra }\IeC {\cyrk }\IeC {\cyrt }\IeC
+ {\cyro }\IeC {\cyrr }}}%
+ \def\Btxeditorsshort##1{\protect\foreignlanguage{#1}{\IeC {\CYRR
+ }\IeC {\cyre }\IeC {\cyrd }.##1{}}}%
+ \def\Btxeditorslong##1{\protect\foreignlanguage{#1}{\IeC {\CYRR
+ }\IeC {\cyre }\IeC {\cyrd }\IeC {\cyra }\IeC {\cyrk }\IeC {\cyrt
+ }\IeC {\cyro }\IeC {\cyrr }\IeC {\cyrery }}}%
+ \def\Btxvolumeshort##1{\protect\foreignlanguage{#1}{\IeC {\CYRT }.##1{}}}%
+ \def\Btxvolumelong##1{\protect\foreignlanguage{#1}{\IeC {\CYRT }\IeC
+ {\cyro }\IeC {\cyrm }}}%
+ \def\Btxnumbershort##1{\protect\foreignlanguage{#1}{%
+ N\textsuperscript{\underline{o}}}}%
+ \def\Btxnumberlong##1{\protect\foreignlanguage{#1}{\IeC {\CYRN }\IeC
+ {\cyro }\IeC {\cyrm }\IeC {\cyre }\IeC {\cyrr }}}%
+ \def\Btxeditionshort##1{\protect\foreignlanguage{#1}{\IeC {\CYRR
+ }\IeC {\cyre }\IeC {\cyrd }.##1{}}}%
+ \def\Btxeditionlong##1{\protect\foreignlanguage{#1}{\IeC {\CYRR
+ }\IeC {\cyre }\IeC {\cyrd }\IeC {\cyra }\IeC {\cyrk }\IeC {\cyrc
+ }\IeC {\cyri }\IeC {\cyrya }}}%
+ \def\Btxeditionnumshort##1##2{\btxnumeralshort{##1}~\Btxeditionshort{##2}}%
+ \def\Btxeditionnumlong##1##2{\btxnumerallong{##1}~\Btxeditionlong{##2}}%
+ \def\Btxchaptershort##1{\protect\foreignlanguage{#1}{\IeC {\CYRG
+ }\IeC {\cyrl }.##1{}}}%
+ \def\Btxchapterlong##1{\protect\foreignlanguage{#1}{\IeC {\CYRG
+ }\IeC {\cyrl }\IeC {\cyra }\IeC {\cyrv }\IeC {\cyra }}}%
+ \def\Btxpageshort##1{\protect\foreignlanguage{#1}{\IeC {\CYRS }\IeC
+ {\cyrt }\IeC {\cyrr }.##1{}}}%
+ \def\Btxpagelong##1{\protect\foreignlanguage{#1}{\IeC {\CYRS }\IeC
+ {\cyrt }\IeC {\cyrr }\IeC {\cyra }\IeC {\cyrn }\IeC {\cyri }\IeC
+ {\cyrc }\IeC {\cyra }}}%
+ \def\Btxpagesshort##1{\protect\foreignlanguage{#1}{\IeC {\CYRS }\IeC
+ {\cyrt }\IeC {\cyrr }.##1{}}}%
+ \def\Btxpageslong##1{\protect\foreignlanguage{#1}{\IeC {\CYRS }\IeC
+ {\cyrt }\IeC {\cyrr }\IeC {\cyra }\IeC {\cyrn }\IeC {\cyri }\IeC
+ {\cyrc }\IeC {\cyrery }}}%
+ \def\Btxtechrepshort##1{\protect\foreignlanguage{#1}{\IeC {\CYRT
+ }\IeC {\cyre }\IeC {\cyrh }.\ \IeC {\cyro }\IeC {\cyrt }\IeC
+ {\cyrch }\IeC {\cyre }\IeC {\cyrt }##1{}}}%
+ \def\Btxtechreplong##1{\protect\foreignlanguage{#1}{\IeC {\CYRT
+ }\IeC {\cyre }\IeC {\cyrh }\IeC {\cyrn }\IeC {\cyri }\IeC
+ {\cyrch }\IeC {\cyre }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri
+ }\IeC {\cyrishrt } \IeC {\cyro }\IeC {\cyrt }\IeC {\cyrch }\IeC
+ {\cyre }\IeC {\cyrt }}}%
+ \def\btxurldatecomment##1{\protect\foreignlanguage{#1}{, \IeC {\cyrp
+ }\IeC {\cyro }\IeC {\cyrs }\IeC {\cyre }\IeC {\cyrshch }\IeC
+ {\cyre }\IeC {\cyrn }\IeC {\cyro } ##1}}%
+ \def\btxfnamespaceshort{\,}%
+ \def\btxfnamespacelong{ }%
+ \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}%
+ \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}%
+% \end{macrocode}
+% Define how to print month and year in numeric format, e.\,g. MM/YYYY.
+% \begin{macrocode}
+ \def\btxprintmonthyearnum##1##2{##1/##2}%
+ \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}%
+ \ifbbbblanguagenames
+ \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{\IeC
+ {\cyra }\IeC {\cyrn }\IeC {\cyrg }\IeC {\cyrl }\IeC {\cyri
+ }\IeC {\cyrishrt }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC
+ {\cyrishrt }}}%
+ \def\btxlanguagenameaustrian{\protect\foreignlanguage{#1}{\IeC
+ {\cyra }\IeC {\cyrv }\IeC {\cyrs }\IeC {\cyrt }\IeC {\cyrr
+ }\IeC {\cyri }\IeC {\cyrishrt }\IeC {\cyrs }\IeC {\cyrk }\IeC
+ {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamebrazil{\protect\foreignlanguage{#1}{\IeC
+ {\cyrp }\IeC {\cyro }\IeC {\cyrr }\IeC {\cyrt }\IeC {\cyru
+ }\IeC {\cyrg }\IeC {\cyra }\IeC {\cyrl }\IeC {\cyrsftsn }\IeC
+ {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamebrazilian{\protect\foreignlanguage{#1}{\IeC
+ {\cyrp }\IeC {\cyro }\IeC {\cyrr }\IeC {\cyrt }\IeC {\cyru
+ }\IeC {\cyrg }\IeC {\cyra }\IeC {\cyrl }\IeC {\cyrsftsn }\IeC
+ {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamebritish{\protect\foreignlanguage{#1}{\IeC
+ {\cyra }\IeC {\cyrn }\IeC {\cyrg }\IeC {\cyrl }\IeC {\cyri
+ }\IeC {\cyrishrt }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC
+ {\cyrishrt }}}%
+ \def\btxlanguagenamebulgarian{\protect\foreignlanguage{#1}{\IeC
+ {\cyrb }\IeC {\cyro }\IeC {\cyrl }\IeC {\cyrg }\IeC {\cyra
+ }\IeC {\cyrr }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC
+ {\cyrishrt }}}%
+ \def\btxlanguagenamecanadian{\protect\foreignlanguage{#1}{\IeC
+ {\cyra }\IeC {\cyrn }\IeC {\cyrg }\IeC {\cyrl }\IeC {\cyri
+ }\IeC {\cyrishrt }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC
+ {\cyrishrt }}}%
+ \def\btxlanguagenamecanadien{\protect\foreignlanguage{#1}{\IeC
+ {\cyrf }\IeC {\cyrr }\IeC {\cyra }\IeC {\cyrn }\IeC {\cyrc
+ }\IeC {\cyru }\IeC {\cyrz }\IeC {\cyrs }\IeC {\cyrk }\IeC
+ {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamecatalan{\protect\foreignlanguage{#1}{\IeC
+ {\cyrk }\IeC {\cyra }\IeC {\cyrt }\IeC {\cyra }\IeC {\cyrl
+ }\IeC {\cyro }\IeC {\cyrn }\IeC {\cyrs }\IeC {\cyrk }\IeC
+ {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamecroatian{\protect\foreignlanguage{#1}{\IeC
+ {\cyrh }\IeC {\cyro }\IeC {\cyrr }\IeC {\cyrv }\IeC {\cyra
+ }\IeC {\cyrt }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC
+ {\cyrishrt }}}%
+ \def\btxlanguagenameczech{\protect\foreignlanguage{#1}{\IeC
+ {\cyrch }\IeC {\cyre }\IeC {\cyrsh }\IeC {\cyrs }\IeC {\cyrk
+ }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamedanish{\protect\foreignlanguage{#1}{\IeC
+ {\cyrd }\IeC {\cyra }\IeC {\cyrt }\IeC {\cyrs }\IeC {\cyrk
+ }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamedutch{\protect\foreignlanguage{#1}{\IeC {\cyrg
+ }\IeC {\cyro }\IeC {\cyrl }\IeC {\cyrl }\IeC {\cyra }\IeC
+ {\cyrn }\IeC {\cyrd }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri
+ }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenameenglish{\protect\foreignlanguage{#1}{\IeC
+ {\cyra }\IeC {\cyrn }\IeC {\cyrg }\IeC {\cyrl }\IeC {\cyri
+ }\IeC {\cyrishrt }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC
+ {\cyrishrt }}}%
+ \def\btxlanguagenameesperanto{\protect\foreignlanguage{#1}{\IeC
+ {\cyrerev }\IeC {\cyrs }\IeC {\cyrp }\IeC {\cyre }\IeC {\cyrr
+ }\IeC {\cyra }\IeC {\cyrn }\IeC {\cyrt }\IeC {\cyro }}}%
+ \def\btxlanguagenamefinnish{\protect\foreignlanguage{#1}{\IeC
+ {\cyrf }\IeC {\cyri }\IeC {\cyrn }\IeC {\cyrs }\IeC {\cyrk
+ }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamefranceis{\protect\foreignlanguage{#1}{\IeC
+ {\cyrf }\IeC {\cyrr }\IeC {\cyra }\IeC {\cyrn }\IeC {\cyrc
+ }\IeC {\cyru }\IeC {\cyrz }\IeC {\cyrs }\IeC {\cyrk }\IeC
+ {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamefrench{\protect\foreignlanguage{#1}{\IeC
+ {\cyrf }\IeC {\cyrr }\IeC {\cyra }\IeC {\cyrn }\IeC {\cyrc
+ }\IeC {\cyru }\IeC {\cyrz }\IeC {\cyrs }\IeC {\cyrk }\IeC
+ {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamefrenchb{\protect\foreignlanguage{#1}{\IeC
+ {\cyrf }\IeC {\cyrr }\IeC {\cyra }\IeC {\cyrn }\IeC {\cyrc
+ }\IeC {\cyru }\IeC {\cyrz }\IeC {\cyrs }\IeC {\cyrk }\IeC
+ {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamegerman{\protect\foreignlanguage{#1}{\IeC
+ {\cyrn }\IeC {\cyre }\IeC {\cyrm }\IeC {\cyre }\IeC {\cyrc
+ }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamegermanb{\protect\foreignlanguage{#1}{\IeC
+ {\cyrn }\IeC {\cyre }\IeC {\cyrm }\IeC {\cyre }\IeC {\cyrc
+ }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamegreek{\protect\foreignlanguage{#1}{\IeC {\cyrg
+ }\IeC {\cyrr }\IeC {\cyre }\IeC {\cyrch }\IeC {\cyre }\IeC
+ {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamehebrew{\protect\foreignlanguage{#1}{\IeC
+ {\cyre }\IeC {\cyrv }\IeC {\cyrr }\IeC {\cyre }\IeC {\cyrishrt
+ }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamehungarian{\protect\foreignlanguage{#1}{\IeC
+ {\cyrv }\IeC {\cyre }\IeC {\cyrn }\IeC {\cyrg }\IeC {\cyre
+ }\IeC {\cyrr }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC
+ {\cyrishrt }}}%
+ \def\btxlanguagenameicelandic{\protect\foreignlanguage{#1}{\IeC
+ {\cyri }\IeC {\cyrs }\IeC {\cyrl }\IeC {\cyra }\IeC {\cyrn
+ }\IeC {\cyrd }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC
+ {\cyrishrt }}}%
+ \def\btxlanguagenameirish{\protect\foreignlanguage{#1}{\IeC {\cyri
+ }\IeC {\cyrr }\IeC {\cyrl }\IeC {\cyra }\IeC {\cyrn }\IeC
+ {\cyrd }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt
+ }}}%
+ \def\btxlanguagenameitalian{\protect\foreignlanguage{#1}{\IeC
+ {\cyri }\IeC {\cyrt }\IeC {\cyra }\IeC {\cyrl }\IeC {\cyrsftsn
+ }\IeC {\cyrya }\IeC {\cyrn }\IeC {\cyrs }\IeC {\cyrk }\IeC
+ {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamelatin{\protect\foreignlanguage{#1}{\IeC {\cyrl
+ }\IeC {\cyra }\IeC {\cyrt }\IeC {\cyri }\IeC {\cyrn }\IeC
+ {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamenaustrian{\protect\foreignlanguage{#1}{\IeC
+ {\cyrn }\IeC {\cyre }\IeC {\cyrm }\IeC {\cyre }\IeC {\cyrc
+ }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamengerman{\protect\foreignlanguage{#1}{\IeC
+ {\cyrn }\IeC {\cyre }\IeC {\cyrm }\IeC {\cyre }\IeC {\cyrc
+ }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamenorsk{\protect\foreignlanguage{#1}{\IeC {\cyrn
+ }\IeC {\cyro }\IeC {\cyrr }\IeC {\cyrv }\IeC {\cyre }\IeC
+ {\cyrzh }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC
+ {\cyrishrt }}}%
+ \def\btxlanguagenamenynorsk{\protect\foreignlanguage{#1}{\IeC
+ {\cyrn }\IeC {\cyro }\IeC {\cyrv }\IeC {\cyro }\IeC {\cyrn
+ }\IeC {\cyro }\IeC {\cyrr }\IeC {\cyrv }\IeC {\cyre }\IeC
+ {\cyrzh }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC
+ {\cyrishrt }}}%
+ \def\btxlanguagenamepolish{\protect\foreignlanguage{#1}{\IeC
+ {\cyrp }\IeC {\cyro }\IeC {\cyrl }\IeC {\cyrsftsn }\IeC {\cyrs
+ }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenameportuges{\protect\foreignlanguage{#1}{\IeC
+ {\cyrp }\IeC {\cyro }\IeC {\cyrr }\IeC {\cyrt }\IeC {\cyru
+ }\IeC {\cyrg }\IeC {\cyra }\IeC {\cyrl }\IeC {\cyrsftsn }\IeC
+ {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenameportuguese{\protect\foreignlanguage{#1}{\IeC
+ {\cyrp }\IeC {\cyro }\IeC {\cyrr }\IeC {\cyrt }\IeC {\cyru
+ }\IeC {\cyrg }\IeC {\cyra }\IeC {\cyrl }\IeC {\cyrsftsn }\IeC
+ {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamerussian{\protect\foreignlanguage{#1}{\IeC
+ {\cyrr }\IeC {\cyru }\IeC {\cyrs }\IeC {\cyrs }\IeC {\cyrk
+ }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamescottish{\protect\foreignlanguage{#1}{\IeC
+ {\cyrsh }\IeC {\cyro }\IeC {\cyrt }\IeC {\cyrl }\IeC {\cyra
+ }\IeC {\cyrn }\IeC {\cyrd }\IeC {\cyrs }\IeC {\cyrk }\IeC
+ {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenameserbian{\protect\foreignlanguage{#1}{\IeC
+ {\cyrs }\IeC {\cyre }\IeC {\cyrr }\IeC {\cyrb }\IeC {\cyrs
+ }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenamespanish{\protect\foreignlanguage{#1}{\IeC
+ {\cyri }\IeC {\cyrs }\IeC {\cyrp }\IeC {\cyra }\IeC {\cyrn
+ }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenameswedish{\protect\foreignlanguage{#1}{\IeC
+ {\cyrsh }\IeC {\cyrv }\IeC {\cyre }\IeC {\cyrd }\IeC {\cyrs
+ }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenameturkish{\protect\foreignlanguage{#1}{\IeC
+ {\cyrt }\IeC {\cyru }\IeC {\cyrr }\IeC {\cyre }\IeC {\cyrc
+ }\IeC {\cyrk }\IeC {\cyri }\IeC {\cyrishrt }}}%
+ \def\btxlanguagenameukrainian{\protect\foreignlanguage{#1}{\IeC
+ {\cyru }\IeC {\cyrk }\IeC {\cyrr }\IeC {\cyra }\IeC {\cyri
+ }\IeC {\cyrn }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC
+ {\cyrishrt }}}%
+ \def\btxlanguagenameUKenglish{\protect\foreignlanguage{#1}{\IeC
+ {\cyra }\IeC {\cyrn }\IeC {\cyrg }\IeC {\cyrl }\IeC {\cyri
+ }\IeC {\cyrishrt }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC
+ {\cyrishrt }}}%
+ \def\btxlanguagenameUSenglish{\protect\foreignlanguage{#1}{\IeC
+ {\cyra }\IeC {\cyrn }\IeC {\cyrg }\IeC {\cyrl }\IeC {\cyri
+ }\IeC {\cyrishrt }\IeC {\cyrs }\IeC {\cyrk }\IeC {\cyri }\IeC
+ {\cyrishrt }}}%
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% Copy the commands to the other languages.
+% \begin{macrocode}
+\newcommand\bibsrussianb{\bibsrussian[russianb]}
+% \end{macrocode}
+% Append the definitions to the language-calling commands.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \ifbbbbfixlanguage
+ \else
+ \bbbbaddto{russianb}{bibrussianb}
+ \bbbbaddto{russian}{bibsrussian}
+ \fi
+% \end{macrocode}
+% Switch off the change of case in titles for all Russian dialects by
+% appending \cs{btxifchangecaseoff} to \cs{extras}\meta{language}.
+% \begin{macrocode}
+ \bbbbaddto{russianb}{btxifchangecaseoff}
+ \bbbbaddto{russian}{btxifchangecaseoff}
+}
+%</russian>
+% \end{macrocode}
+%
+% \subsubsection{Serbian}
+% \changes{1.31}{2012/01/03}{Added Serbian, Czech, and Romanian language}%
+% \begin{macrocode}
+%<*serbian>
+% \end{macrocode}
+%
+% The language definition for Serbian was provided by Zoran Filipovic.
+%
+% \begin{macro}{\bibsserbian}
+% Bibliographic commands for Serbian.
+% \begin{macrocode}
+\newcommand\bibsserbian[1][serbian]{%
+ \def\biblanguagename{#1}%
+ \def\btxetalshort##1{\protect\foreignlanguage{#1}{i~dr.##1{}}}%
+ \def\btxetallong##1{\protect\foreignlanguage{#1}{i~drugi}}%
+ \def\btxandshort##1{\protect\foreignlanguage{#1}{i}}%
+ \def\btxandlong##1{\protect\foreignlanguage{#1}{i}}%
+ \def\btxandcomma##1{,}%
+ \def\btxinlong##1{\protect\foreignlanguage{#1}{u:}}%
+ \def\btxinshort##1{\protect\foreignlanguage{#1}{u:}}%
+ \def\btxofseriesshort##1{\protect\foreignlanguage{#1}{iz}}%
+ \def\btxinseriesshort##1{\protect\foreignlanguage{#1}{u}}%
+ \def\btxofserieslong##1{\protect\foreignlanguage{#1}{iz}}%
+ \def\btxinserieslong##1{\protect\foreignlanguage{#1}{u}}%
+ \def\btxeditorshort##1{\protect\foreignlanguage{#1}{ur.##1{}}}%
+ \def\btxeditorlong##1{\protect\foreignlanguage{#1}{urednik}}%
+ \def\btxeditorsshort##1{\protect\foreignlanguage{#1}{ur.##1{}}}%
+ \def\btxeditorslong##1{\protect\foreignlanguage{#1}{urednici}}%
+ \def\btxvolumeshort##1{\protect\foreignlanguage{#1}{tm.##1{}}}%
+ \def\btxvolumelong##1{\protect\foreignlanguage{#1}{tom}}%
+ \def\btxnumbershort##1{\protect\foreignlanguage{#1}{br.##1{}}}%
+ \def\btxnumberlong##1{\protect\foreignlanguage{#1}{broj}}%
+ \def\btxeditionshort##1{\protect\foreignlanguage{#1}{ed.##1{}}}%
+ \def\btxeditionlong##1{\protect\foreignlanguage{#1}{edicija}}%
+ \def\btxeditionnumshort##1##2{\btxnumeralshort{##1}~\btxeditionshort{##2}}%
+ \def\btxeditionnumlong##1##2{\btxnumerallong{##1}~\btxeditionlong{##2}}%
+ \def\btxchaptershort##1{\protect\foreignlanguage{#1}{pog.##1{}}}%
+ \def\btxchapterlong##1{\protect\foreignlanguage{#1}{poglavlje}}%
+ \def\btxpageshort##1{\protect\foreignlanguage{#1}{str.##1{}}}%
+ \def\btxpagelong##1{\protect\foreignlanguage{#1}{strana}}%
+ \def\btxpagesshort##1{\protect\foreignlanguage{#1}{str.##1{}}}%
+ \def\btxpageslong##1{\protect\foreignlanguage{#1}{strane}}%
+ \def\btxmastthesis##1{\protect\foreignlanguage{#1}{Magistarska teza}}%
+ \def\btxphdthesis##1{\protect\foreignlanguage{#1}{Doktorska disertacija}}%
+ \def\btxtechrepshort##1{\protect\foreignlanguage{#1}{Tehn.\ izv##1{}}}%
+ \def\btxtechreplong##1{\protect\foreignlanguage{#1}{%
+ Tehni\v cki izve\v staj}}%
+ \def\btxmonjanlong##1{\protect\foreignlanguage{#1}{Januar}}%
+ \def\btxmonfeblong##1{\protect\foreignlanguage{#1}{Februar}}%
+ \def\btxmonmarlong##1{\protect\foreignlanguage{#1}{Mart}}%
+ \def\btxmonaprlong##1{\protect\foreignlanguage{#1}{April}}%
+ \def\btxmonmaylong##1{\protect\foreignlanguage{#1}{Maj}}%
+ \def\btxmonjunlong##1{\protect\foreignlanguage{#1}{Jun}}%
+ \def\btxmonjullong##1{\protect\foreignlanguage{#1}{Jul}}%
+ \def\btxmonauglong##1{\protect\foreignlanguage{#1}{Avgust}}%
+ \def\btxmonseplong##1{\protect\foreignlanguage{#1}{Septembar}}%
+ \def\btxmonoctlong##1{\protect\foreignlanguage{#1}{Octobar}}%
+ \def\btxmonnovlong##1{\protect\foreignlanguage{#1}{Novembar}}%
+ \def\btxmondeclong##1{\protect\foreignlanguage{#1}{Decembar}}%
+ \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{Jan##1{}}}%
+ \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{Feb##1{}}}%
+ \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{Mar##1{}}}%
+ \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{Apr##1{}}}%
+ \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{Maj}}%
+ \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{Jun}}%
+ \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{Jul}}%
+ \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{Avg##1{}}}%
+ \def\btxmonsepshort##1{\protect\foreignlanguage{#1}{Sept##1{}}}%
+ \def\btxmonoctshort##1{\protect\foreignlanguage{#1}{Oct##1{}}}%
+ \def\btxmonnovshort##1{\protect\foreignlanguage{#1}{Nov##1{}}}%
+ \def\btxmondecshort##1{\protect\foreignlanguage{#1}{Dec##1{}}}%
+ \def\Btxinlong##1{\protect\foreignlanguage{#1}{U:}}%
+ \def\Btxinshort##1{\protect\foreignlanguage{#1}{U:}}%
+ \def\Btxeditorshort##1{\protect\foreignlanguage{#1}{Ur.##1{}}}%
+ \def\Btxeditorlong##1{\protect\foreignlanguage{#1}{Urednik}}%
+ \def\Btxeditorsshort##1{\protect\foreignlanguage{#1}{Ur.##1{}}}%
+ \def\Btxeditorslong##1{\protect\foreignlanguage{#1}{Urednici}}%
+ \def\Btxvolumeshort##1{\protect\foreignlanguage{#1}{Tm.##1{}}}%
+ \def\Btxvolumelong##1{\protect\foreignlanguage{#1}{Tom}}%
+ \def\Btxnumbershort##1{\protect\foreignlanguage{#1}{Br.##1{}}}%
+ \def\Btxnumberlong##1{\protect\foreignlanguage{#1}{Broj}}%
+ \def\Btxeditionshort##1{\protect\foreignlanguage{#1}{Ed.##1{}}}%
+ \def\Btxeditionlong##1{\protect\foreignlanguage{#1}{Edicija}}%
+ \def\Btxeditionnumshort##1##2{\btxnumeralshort{##1}~\Btxeditionshort{##2}}%
+ \def\Btxeditionnumlong##1##2{\btxnumerallong{##1}~\Btxeditionlong{##2}}%
+ \def\Btxchaptershort##1{\protect\foreignlanguage{#1}{Pog.##1{}}}%
+ \def\Btxchapterlong##1{\protect\foreignlanguage{#1}{Poglavlje}}%
+ \def\Btxpageshort##1{\protect\foreignlanguage{#1}{Str.##1{}}}%
+ \def\Btxpagelong##1{\protect\foreignlanguage{#1}{Strana}}%
+ \def\Btxpagesshort##1{\protect\foreignlanguage{#1}{Str.##1{}}}%
+ \def\Btxpageslong##1{\protect\foreignlanguage{#1}{Strane}}%
+ \def\Btxtechrepshort##1{\protect\foreignlanguage{#1}{Tehn.\ Izv##1{}}}%
+ \def\Btxtechreplong##1{\protect\foreignlanguage{#1}{Tehni\v cki Izve\ staj}}%
+ \def\btxurldatecomment##1{\protect\foreignlanguage{#1}{, poseta na: ##1}}%
+ \def\btxfnamespaceshort{}%
+ \def\btxfnamespacelong{ }%
+ \def\btxnumeralshort##1{\btxnumeralenglish{#1}{##1}}%
+ \def\btxnumerallong##1{\btxnumeralenglish{#1}{##1}}%
+% \end{macrocode}
+% Define how to print month and year in numeric format, e.\,g. MM/YYYY.
+% \begin{macrocode}
+ \def\btxprintmonthyearnum##1##2{##1/##2}%
+ \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}%
+ \ifbbbblanguagenames
+ \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{engleski}}%
+ \def\btxlanguagenameaustrian{\protect\foreignlanguage{#1}{nema\v cki}}%
+ \def\btxlanguagenamebrazil{\protect\foreignlanguage{#1}{portugalski}}%
+ \def\btxlanguagenamebrazilian{\protect\foreignlanguage{#1}{portugalski}}%
+ \def\btxlanguagenamebritish{\protect\foreignlanguage{#1}{engleski}}%
+ \def\btxlanguagenamebulgarian{\protect\foreignlanguage{#1}{bugarski}}%
+ \def\btxlanguagenamecanadian{\protect\foreignlanguage{#1}{engleski}}%
+ \def\btxlanguagenamecanadien{\protect\foreignlanguage{#1}{francuski}}%
+ \def\btxlanguagenamecatalan{\protect\foreignlanguage{#1}{katalonski}}%
+ \def\btxlanguagenamecroatian{\protect\foreignlanguage{#1}{hrvatski}}%
+ \def\btxlanguagenameczech{\protect\foreignlanguage{#1}{\v ce\v ski}}%
+ \def\btxlanguagenamedanish{\protect\foreignlanguage{#1}{danski}}%
+ \def\btxlanguagenamedutch{\protect\foreignlanguage{#1}{holandski}}%
+ \def\btxlanguagenameenglish{\protect\foreignlanguage{#1}{engleski}}%
+ \def\btxlanguagenameesperanto{\protect\foreignlanguage{#1}{esperanto}}%
+ \def\btxlanguagenamefinnish{\protect\foreignlanguage{#1}{finski}}%
+ \def\btxlanguagenamefrancais{\protect\foreignlanguage{#1}{francuski}}%
+ \def\btxlanguagenamefrench{\protect\foreignlanguage{#1}{francuski}}%
+ \def\btxlanguagenamefrenchb{\protect\foreignlanguage{#1}{francuski}}%
+ \def\btxlanguagenamegerman{\protect\foreignlanguage{#1}{nema\v cki}}%
+ \def\btxlanguagenamegermanb{\protect\foreignlanguage{#1}{nema\v cki}}%
+ \def\btxlanguagenamegreek{\protect\foreignlanguage{#1}{gr\v cki}}%
+ \def\btxlanguagenamehebrew{\protect\foreignlanguage{#1}{jevrejski}}%
+ \def\btxlanguagenamehungarian{\protect\foreignlanguage{#1}{ma\dj arski}}%
+ \def\btxlanguagenameicelandic{\protect\foreignlanguage{#1}{islandski}}%
+ \def\btxlanguagenameirish{\protect\foreignlanguage{#1}{irski}}%
+ \def\btxlanguagenameitalian{\protect\foreignlanguage{#1}{italianski}}%
+ \def\btxlanguagenamelatin{\protect\foreignlanguage{#1}{latinski}}%
+ \def\btxlanguagenamenaustrian{\protect\foreignlanguage{#1}{nema\v cki}}%
+ \def\btxlanguagenamengerman{\protect\foreignlanguage{#1}{nema\v cki}}%
+ \def\btxlanguagenamenorsk{\protect\foreignlanguage{#1}{norve\v ski}}%
+ \def\btxlanguagenamenynorsk{\protect\foreignlanguage{#1}{%
+ novi-norve\v ski}}%
+ \def\btxlanguagenamepolish{\protect\foreignlanguage{#1}{poljski}}%
+ \def\btxlanguagenameportuges{\protect\foreignlanguage{#1}{portugalski}}%
+ \def\btxlanguagenameportuguese{\protect\foreignlanguage{#1}{portugalski}}%
+ \def\btxlanguagenamerussian{\protect\foreignlanguage{#1}{ruski}}%
+ \def\btxlanguagenamescottish{\protect\foreignlanguage{#1}{\v skotski}}%
+ \def\btxlanguagenameserbian{\protect\foreignlanguage{#1}{srpski}}%
+ \def\btxlanguagenamespanish{\protect\foreignlanguage{#1}{\v spanski}}%
+ \def\btxlanguagenameswedish{\protect\foreignlanguage{#1}{\v svedski}}%
+ \def\btxlanguagenameturkish{\protect\foreignlanguage{#1}{turski}}%
+ \def\btxlanguagenameUKenglish{\protect\foreignlanguage{#1}{engleski}}%
+ \def\btxlanguagenameUSenglish{\protect\foreignlanguage{#1}{engleski}}%
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% Append the definitions to the language-calling commands.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \ifbbbbfixlanguage
+ \else
+ \bbbbaddto{serbian}{bibsserbian}
+ \fi
+ \bbbbaddto{serbian}{btxifchangecaseoff}
+}
+%</serbian>
+% \end{macrocode}
+%
+% \subsubsection{Spanish}
+% \changes{0.33}{2003/05/22}{Added Spanish language}%
+% \changes{1.32}{2019/03/11}{Corrected Spanish abbrevs (by Pablo Daniel Pareja Obregon)}%
+% \begin{macrocode}
+%<*spanish>
+% \end{macrocode}
+%
+% The language definition for Spanish was provided by V{\'\i}ctor
+% Lua{\~n}a and slightly changed by me according to |spanish.mbs|
+% (custom-bib package).
+%
+% \begin{macro}{\bibsspanish}
+% Bibliographic commands for Spanish.
+% \begin{macrocode}
+\newcommand\bibsspanish[1][spanish]{%
+ \def\biblanguagename{#1}%
+ \def\btxetalshort##1{\protect\foreignlanguage{#1}{y~cols##1{}}}%
+ \def\btxetallong##1{\protect\foreignlanguage{#1}{y~colaboradores}}%
+ \def\btxandshort##1{\protect\foreignlanguage{#1}{y}}%
+ \def\btxandlong##1{\protect\foreignlanguage{#1}{y}}%
+ \def\btxandcomma##1{}%
+ \def\btxinlong##1{\protect\foreignlanguage{#1}{en}}%
+ \def\btxinshort##1{\protect\foreignlanguage{#1}{en}}%
+ \def\btxofseriesshort##1{\protect\foreignlanguage{#1}{de}}%
+ \def\btxinseriesshort##1{\protect\foreignlanguage{#1}{en}}%
+ \def\btxofserieslong##1{\protect\foreignlanguage{#1}{de}}%
+ \def\btxinserieslong##1{\protect\foreignlanguage{#1}{en}}%
+ \def\btxeditorshort##1{\protect\foreignlanguage{#1}{ed##1{}}}%
+ \def\btxeditorlong##1{\protect\foreignlanguage{#1}{editor}}%
+ \def\btxeditorsshort##1{\protect\foreignlanguage{#1}{eds##1{}}}%
+ \def\btxeditorslong##1{\protect\foreignlanguage{#1}{editores}}%
+ \def\btxvolumeshort##1{\protect\foreignlanguage{#1}{vol##1{}}}%
+ \def\btxvolumelong##1{\protect\foreignlanguage{#1}{volumen}}%
+ \def\btxnumbershort##1{\protect\foreignlanguage{#1}{%
+ n\textsuperscript{\underline{o}}}}%
+ \def\btxnumberlong##1{\protect\foreignlanguage{#1}{n\'umero}}%
+ \def\btxeditionshort##1{\protect\foreignlanguage{#1}{ed##1{}}}%
+ \def\btxeditionlong##1{\protect\foreignlanguage{#1}{edici{\'o}n}}%
+ \def\btxeditionnumshort##1##2{\btxnumeralshort{##1}~\btxeditionshort{##2}}%
+ \def\btxeditionnumlong##1##2{\btxnumerallong{##1}~\btxeditionlong{##2}}%
+ \def\btxchaptershort##1{\protect\foreignlanguage{#1}{cap##1{}}}%
+ \def\btxchapterlong##1{\protect\foreignlanguage{#1}{cap{\'\i}tulo}}%
+ \def\btxpageshort##1{\protect\foreignlanguage{#1}{p\'ag##1{}}}%
+ \def\btxpagelong##1{\protect\foreignlanguage{#1}{p\'agina}}%
+ \def\btxpagesshort##1{\protect\foreignlanguage{#1}{p\'ags##1{}}}%
+ \def\btxpageslong##1{\protect\foreignlanguage{#1}{p\'aginas}}%
+ \def\btxmastthesis##1{\protect\foreignlanguage{#1}{Tesis de Licenciatura}}%
+ \def\btxphdthesis##1{\protect\foreignlanguage{#1}{Tesis de Doctorado}}%
+ \def\btxtechrepshort##1{\protect\foreignlanguage{#1}{Informe t\'ecnico##1{}}}%
+ \def\btxtechreplong##1{\protect\foreignlanguage{#1}{Informe t\'ecnico}}%
+ \def\btxmonjanlong##1{\protect\foreignlanguage{#1}{Enero}}%
+ \def\btxmonfeblong##1{\protect\foreignlanguage{#1}{Febrero}}%
+ \def\btxmonmarlong##1{\protect\foreignlanguage{#1}{Marzo}}%
+ \def\btxmonaprlong##1{\protect\foreignlanguage{#1}{Abril}}%
+ \def\btxmonmaylong##1{\protect\foreignlanguage{#1}{Mayo}}%
+ \def\btxmonjunlong##1{\protect\foreignlanguage{#1}{Junio}}%
+ \def\btxmonjullong##1{\protect\foreignlanguage{#1}{Julio}}%
+ \def\btxmonauglong##1{\protect\foreignlanguage{#1}{Agosto}}%
+ \def\btxmonseplong##1{\protect\foreignlanguage{#1}{Septiembre}}%
+ \def\btxmonoctlong##1{\protect\foreignlanguage{#1}{Octubre}}%
+ \def\btxmonnovlong##1{\protect\foreignlanguage{#1}{Noviembre}}%
+ \def\btxmondeclong##1{\protect\foreignlanguage{#1}{Diciembre}}%
+ \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{Ene##1{}}}%
+ \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{Feb##1{}}}%
+ \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{Mar##1{}}}%
+ \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{Abr##1{}}}%
+ \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{May##1{}}}%
+ \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{Jun##1{}}}%
+ \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{Jul##1{}}}%
+ \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{Ago##1{}}}%
+ \def\btxmonsepshort##1{\protect\foreignlanguage{#1}{Sep##1{}}}%
+ \def\btxmonoctshort##1{\protect\foreignlanguage{#1}{Oct##1{}}}%
+ \def\btxmonnovshort##1{\protect\foreignlanguage{#1}{Nov##1{}}}%
+ \def\btxmondecshort##1{\protect\foreignlanguage{#1}{Dic##1{}}}%
+ \def\Btxinlong##1{\protect\foreignlanguage{#1}{En}}%
+ \def\Btxinshort##1{\protect\foreignlanguage{#1}{En}}%
+ \def\Btxeditorshort##1{\protect\foreignlanguage{#1}{Ed##1{}}}%
+ \def\Btxeditorlong##1{\protect\foreignlanguage{#1}{Editor}}%
+ \def\Btxeditorsshort##1{\protect\foreignlanguage{#1}{Ed##1{}}}%
+ \def\Btxeditorslong##1{\protect\foreignlanguage{#1}{Editores}}%
+ \def\Btxvolumeshort##1{\protect\foreignlanguage{#1}{Vol##1{}}}%
+ \def\Btxvolumelong##1{\protect\foreignlanguage{#1}{Volumen}}%
+ \def\Btxnumbershort##1{\protect\foreignlanguage{#1}{%
+ N\textsuperscript{\underline{o}}}}%
+ \def\Btxnumberlong##1{\protect\foreignlanguage{#1}{N\'umero}}%
+ \def\Btxeditionshort##1{\protect\foreignlanguage{#1}{Ed##1{}}}%
+ \def\Btxeditionlong##1{\protect\foreignlanguage{#1}{Edici\'on}}%
+ \def\Btxeditionnumshort##1##2{\btxnumeralshort{##1}~\Btxeditionshort{##2}}%
+ \def\Btxeditionnumlong##1##2{\btxnumerallong{##1}~\Btxeditionlong{##2}}%
+ \def\Btxchaptershort##1{\protect\foreignlanguage{#1}{Cap##1{}}}%
+ \def\Btxchapterlong##1{\protect\foreignlanguage{#1}{Cap\'\itulo}}%
+ \def\Btxpageshort##1{\protect\foreignlanguage{#1}{P\'ag##1{}}}%
+ \def\Btxpagelong##1{\protect\foreignlanguage{#1}{P\'agina}}%
+ \def\Btxpagesshort##1{\protect\foreignlanguage{#1}{P\'ags##1{}}}%
+ \def\Btxpageslong##1{\protect\foreignlanguage{#1}{P\'aginas}}%
+ \def\Btxtechrepshort##1{\protect\foreignlanguage{#1}{Informe t\'ecnico}}%
+ \def\Btxtechreplong##1{\protect\foreignlanguage{#1}{Informe t\'ecnico}}%
+ \def\btxurldatecomment##1{\protect\foreignlanguage{#1}{, visitado el ##1}}%
+ \def\btxfnamespaceshort{\,}%
+ \def\btxfnamespacelong{ }%
+ \def\btxnumeralshort##1{\protect\foreignlanguage{#1}{%
+ \ifnumber{##1}{##1\textsuperscript{\underline a}}{##1}}}%
+% \def\btxnumeralshort##1{\ifnumber{##1}{\protect\foreignlanguage{#1}{%
+% ##1\ifcase##1 \ieme\or \iere\else \ieme\fi}}{##1}}%
+% \end{macrocode}
+% \changes{1.31}{2012/01/03}{Fix definition of \cs{btxnumerallong} in
+% Spanish}
+% Bug and solution for \cs{btxnumerallong} reported by Iago Quiñones
+% \begin{macrocode}
+ \def\btxnumerallong##1{\btxnumeralshort{##1}}%
+% \end{macrocode}
+% Define how to print month and year in numeric format, e.\,g. MM/YYYY.
+% \begin{macrocode}
+ \def\btxprintmonthyearnum##1##2{##1/##2}%
+ \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}%
+ \ifbbbblanguagenames
+ \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{ingl\'es}}%
+ \def\btxlanguagenameaustrian{\protect\foreignlanguage{#1}{alem\'an}}%
+ \def\btxlanguagenamebrazil{\protect\foreignlanguage{#1}{portugu\'es}}%
+ \def\btxlanguagenamebrazilian{\protect\foreignlanguage{#1}{portugu\'es}}%
+ \def\btxlanguagenamebritish{\protect\foreignlanguage{#1}{ingl\'es}}%
+ \def\btxlanguagenamebulgarian{\protect\foreignlanguage{#1}{b\'ulgaro}}%
+ \def\btxlanguagenamecanadian{\protect\foreignlanguage{#1}{ingl\'es}}%
+ \def\btxlanguagenamecanadien{\protect\foreignlanguage{#1}{franc\'es}}%
+ \def\btxlanguagenamecatalan{\protect\foreignlanguage{#1}{catalan}}%
+ \def\btxlanguagenamecroatian{\protect\foreignlanguage{#1}{croata}}%
+ \def\btxlanguagenameczech{\protect\foreignlanguage{#1}{checo}}%
+ \def\btxlanguagenamedanish{\protect\foreignlanguage{#1}{dan\'es}}%
+ \def\btxlanguagenamedutch{\protect\foreignlanguage{#1}{holand\'es}}%
+ \def\btxlanguagenameenglish{\protect\foreignlanguage{#1}{ingl\'es}}%
+ \def\btxlanguagenameesperanto{\protect\foreignlanguage{#1}{esperanto}}%
+ \def\btxlanguagenamefinnish{\protect\foreignlanguage{#1}{finland\'es}}%
+ \def\btxlanguagenamefrancais{\protect\foreignlanguage{#1}{franc\'es}}%
+ \def\btxlanguagenamefrench{\protect\foreignlanguage{#1}{franc\'es}}%
+ \def\btxlanguagenamefrenchb{\protect\foreignlanguage{#1}{franc\'es}}%
+ \def\btxlanguagenamegerman{\protect\foreignlanguage{#1}{alem\'an}}%
+ \def\btxlanguagenamegermanb{\protect\foreignlanguage{#1}{alem\'an}}%
+ \def\btxlanguagenamegreek{\protect\foreignlanguage{#1}{griego}}%
+ \def\btxlanguagenamehebrew{\protect\foreignlanguage{#1}{hebreo}}%
+ \def\btxlanguagenamehungarian{\protect\foreignlanguage{#1}{h\'ungaro}}%
+ \def\btxlanguagenameicelandic{\protect\foreignlanguage{#1}{island\'es}}%
+ \def\btxlanguagenameirish{\protect\foreignlanguage{#1}{irland\'es}}%
+ \def\btxlanguagenameitalian{\protect\foreignlanguage{#1}{italiano}}%
+ \def\btxlanguagenamelatin{\protect\foreignlanguage{#1}{lat\'\i n}}%
+ \def\btxlanguagenamenaustrian{\protect\foreignlanguage{#1}{alem\'an}}%
+ \def\btxlanguagenamengerman{\protect\foreignlanguage{#1}{alem\'an}}%
+ \def\btxlanguagenamenorsk{\protect\foreignlanguage{#1}{noruego}}%
+ \def\btxlanguagenamenynorsk{\protect\foreignlanguage{#1}{noruego}}%
+ \def\btxlanguagenamepolish{\protect\foreignlanguage{#1}{polaco}}%
+ \def\btxlanguagenameportuges{\protect\foreignlanguage{#1}{portugu\'es}}%
+ \def\btxlanguagenameportuguese{\protect\foreignlanguage{#1}{portugu\'es}}%
+ \def\btxlanguagenamerussian{\protect\foreignlanguage{#1}{ruso}}%
+ \def\btxlanguagenamescottish{\protect\foreignlanguage{#1}{escoc\'es}}%
+ \def\btxlanguagenameserbian{\protect\foreignlanguage{#1}{serbio}}%
+ \def\btxlanguagenamespanish{\protect\foreignlanguage{#1}{espa\~nol}}%
+ \def\btxlanguagenameswedish{\protect\foreignlanguage{#1}{sueco}}%
+ \def\btxlanguagenameturkish{\protect\foreignlanguage{#1}{turco}}%
+ \def\btxlanguagenameUKenglish{\protect\foreignlanguage{#1}{ingl\'es}}%
+ \def\btxlanguagenameUSenglish{\protect\foreignlanguage{#1}{ingl\'es}}%
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% Copy the commands to the other languages.
+% \begin{macrocode}
+\newcommand\bibsmexican[1][mexican]{%
+ \bibsspanish[mexican]%
+ \def\btxmastthesis##1{\protect\foreignlanguage{#1}{Tesis de Maestr{\'\i}a}}%
+}
+% \end{macrocode}
+% Append the definitions to the language-calling commands.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \ifbbbbfixlanguage
+ \else
+ \bbbbaddto{spanish}{bibsspanish}
+ \bbbbaddto{mexican}{bibsmexican}
+ \fi
+ \bbbbaddto{spanish}{btxifchangecaseoff}
+ \bbbbaddto{mexican}{btxifchangecaseoff}
+}
+%</spanish>
+% \end{macrocode}
+%
+% \subsubsection{Czech}
+% \changes{1.31}{2012/01/03}{Added Serbian, Czech, and Romanian language}%
+% \begin{macrocode}
+%<*czech>
+% \end{macrocode}
+%
+% The language definition for Czech was provided by
+% Tomas Hnizdil, \url{tomash.cz@gmail.com}.
+%
+% \begin{macro}{\bibsczech}
+% \begin{macrocode}
+\newcommand\bibsczech[1][czech]{%
+ \def\biblanguagename{#1}%
+ \def\btxetalshort##1{\protect\foreignlanguage{#1}{a~kol##1{}}}%
+ \def\btxetallong##1{\protect\foreignlanguage{#1}{a~kolektiv}}%
+ \def\btxandshort##1{\protect\foreignlanguage{#1}{a}}%
+ \def\btxandlong##1{\protect\foreignlanguage{#1}{a}}%
+ \def\btxandcomma##1{}%
+ \def\btxinlong##1{\protect\foreignlanguage{#1}{v}}%
+ \def\btxinshort##1{\protect\foreignlanguage{#1}{v}}%
+ \def\btxofseriesshort##1{\protect\foreignlanguage{#1}{z}}%
+ \def\btxinseriesshort##1{\protect\foreignlanguage{#1}{v}}%
+ \def\btxofserieslong##1{\protect\foreignlanguage{#1}{z}}%
+ \def\btxinserieslong##1{\protect\foreignlanguage{#1}{v}}%
+ \def\btxeditorshort##1{\protect\foreignlanguage{#1}{edit##1{}}}%
+ \def\btxeditorlong##1{\protect\foreignlanguage{#1}{editor}}%
+ \def\btxeditorsshort##1{\protect\foreignlanguage{#1}{edit##1{}}}%
+ \def\btxeditorslong##1{\protect\foreignlanguage{#1}{edito\v{r}i}}%
+ \def\btxvolumeshort##1{\protect\foreignlanguage{#1}{sv##1{}}}%
+ \def\btxvolumelong##1{\protect\foreignlanguage{#1}{svazek}}%
+ \def\btxnumbershort##1{\protect\foreignlanguage{#1}{\v{c}##1{}}}%
+ \def\btxnumberlong##1{\protect\foreignlanguage{#1}{\v{c}\'islo}}%
+ \def\btxeditionshort##1{\protect\foreignlanguage{#1}{ed##1{}}}%
+ \def\btxeditionlong##1{\protect\foreignlanguage{#1}{edice}}%
+ \def\btxeditionnumshort##1##2{\btxnumeralshort{##1}~\btxeditionshort{##2}}%
+ \def\btxeditionnumlong##1##2{\btxnumerallong{##1}~\btxeditionlong{##2}}%
+ \def\btxchaptershort##1{\protect\foreignlanguage{#1}{kap##1{}}}%
+ \def\btxchapterlong##1{\protect\foreignlanguage{#1}{kapitola}}%
+ \def\btxpageshort##1{\protect\foreignlanguage{#1}{str##1{}}}%
+ \def\btxpagelong##1{\protect\foreignlanguage{#1}{strana}}%
+ \def\btxpagesshort##1{\protect\foreignlanguage{#1}{str##1{}}}%
+ \def\btxpageslong##1{\protect\foreignlanguage{#1}{strany}}%
+ \def\btxmastthesis##1{\protect\foreignlanguage{#1}{diplomov\'a pr\'ace}}%
+ \def\btxphdthesis##1{\protect\foreignlanguage{#1}{disertace}}%
+ \def\btxtechrepshort##1{\protect\foreignlanguage{#1}{Tech.\ zpr##1}}%
+ \def\btxtechreplong##1{\protect\foreignlanguage{#1}{Technick\'a zpr\'ava}}%
+ \def\btxmonjanlong##1{\protect\foreignlanguage{#1}{leden}}%
+ \def\btxmonfeblong##1{\protect\foreignlanguage{#1}{\'unor}}%
+ \def\btxmonmarlong##1{\protect\foreignlanguage{#1}{b\v{r}eze}}%
+ \def\btxmonaprlong##1{\protect\foreignlanguage{#1}{duben}}%
+ \def\btxmonmaylong##1{\protect\foreignlanguage{#1}{kv\v{e}ten}}%
+ \def\btxmonjunlong##1{\protect\foreignlanguage{#1}{\v{c}erven}}%
+ \def\btxmonjullong##1{\protect\foreignlanguage{#1}{\v{c}ervenec}}%
+ \def\btxmonauglong##1{\protect\foreignlanguage{#1}{srpen}}%
+ \def\btxmonseplong##1{\protect\foreignlanguage{#1}{z\'a\v{r}\'i}}%
+ \def\btxmonoctlong##1{\protect\foreignlanguage{#1}{\v{r}\'ijen}}%
+ \def\btxmonnovlong##1{\protect\foreignlanguage{#1}{listopad}}%
+ \def\btxmondeclong##1{\protect\foreignlanguage{#1}{prosinec}}%
+ \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{led##1{}}}%
+ \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{\'uno##1{}}}%
+ \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{b\v{r}e##1{}}}%
+ \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{dub##1{}}}%
+ \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{kv\v{e}##1{}}}%
+ \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{\v{c}er##1{}}}%
+ \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{\v{c}ec##1{}}}%
+ \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{srp##1{}}}%
+ \def\btxmonsepshort##1{\protect\foreignlanguage{#1}{z\'a\v{r}##1{}}}%
+ \def\btxmonoctshort##1{\protect\foreignlanguage{#1}{\v{r}\'ij##1{}}}%
+ \def\btxmonnovshort##1{\protect\foreignlanguage{#1}{lis##1{}}}%
+ \def\btxmondecshort##1{\protect\foreignlanguage{#1}{pro##1{}}}%
+ \def\Btxinlong##1{\protect\foreignlanguage{#1}{V}}%
+ \def\Btxinshort##1{\protect\foreignlanguage{#1}{V}}%
+ \def\Btxeditorshort##1{\protect\foreignlanguage{#1}{Edit##1{}}}%
+ \def\Btxeditorlong##1{\protect\foreignlanguage{#1}{Editor}}%
+ \def\Btxeditorsshort##1{\protect\foreignlanguage{#1}{Edit##1{}}}%
+ \def\Btxeditorslong##1{\protect\foreignlanguage{#1}{Edito\v{r}i}}%
+ \def\Btxvolumeshort##1{\protect\foreignlanguage{#1}{Sv##1{}}}%
+ \def\Btxvolumelong##1{\protect\foreignlanguage{#1}{Svazek}}%
+ \def\Btxnumbershort##1{\protect\foreignlanguage{#1}{\v{C}##1{}}}%
+ \def\Btxnumberlong##1{\protect\foreignlanguage{#1}{\v{C}\'islo}}%
+ \def\Btxeditionshort##1{\protect\foreignlanguage{#1}{Ed##1{}}}%
+ \def\Btxeditionlong##1{\protect\foreignlanguage{#1}{Edice}}%
+ \def\Btxeditionnumshort##1##2{\btxnumeralshort{##1}~\Btxeditionshort{##2}}%
+ \def\Btxeditionnumlong##1##2{\btxnumerallong{##1}~\Btxeditionlong{##2}}%
+ \def\Btxchaptershort##1{\protect\foreignlanguage{#1}{Kap##1{}}}%
+ \def\Btxchapterlong##1{\protect\foreignlanguage{#1}{Kapitola}}%
+ \def\Btxpageshort##1{\protect\foreignlanguage{#1}{Str##1{}}}%
+ \def\Btxpagelong##1{\protect\foreignlanguage{#1}{Strana}}%
+ \def\Btxpagesshort##1{\protect\foreignlanguage{#1}{Str##1{}}}%
+ \def\Btxpageslong##1{\protect\foreignlanguage{#1}{Strany}}%
+ \def\Btxtechrepshort##1{\protect\foreignlanguage{#1}{Techn.\ zpr##1}}%
+ \def\Btxtechreplong##1{\protect\foreignlanguage{#1}{Technick\'a zpr\'ava}}%
+ \def\btxurldatecomment##1{\protect\foreignlanguage{#1}{, dostupn\'e z ##1}}%
+ \def\btxfnamespaceshort{\,}%
+ \def\btxfnamespacelong{ }%
+ \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}%
+ \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}%
+% \end{macrocode}
+% Define how to print month and year in numeric format, e.\,g. MM/YYYY.
+% \begin{macrocode}
+ \def\btxprintmonthyearnum##1##2{##1/##2}%
+ \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}%
+ \ifbbbblanguagenames
+ \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{anglicky}}%
+ \def\btxlanguagenameaustrian{\protect\foreignlanguage{#1}{n\v{e}mecky}}%
+ \def\btxlanguagenamebrazil{\protect\foreignlanguage{#1}{portugalsky}}%
+ \def\btxlanguagenamebrazilian{\protect\foreignlanguage{#1}{portugalsky}}%
+ \def\btxlanguagenamebritish{\protect\foreignlanguage{#1}{anglicky}}%
+ \def\btxlanguagenamebulgarian{\protect\foreignlanguage{#1}{bulharsky}}%
+ \def\btxlanguagenamecanadian{\protect\foreignlanguage{#1}{anglicky}}%
+ \def\btxlanguagenamecanadien{\protect\foreignlanguage{#1}{francouzsky}}%
+ \def\btxlanguagenamecatalan{\protect\foreignlanguage{#1}{katal\'ansky}}%
+ \def\btxlanguagenamecroatian{\protect\foreignlanguage{#1}{chorvatsky}}%
+ \def\btxlanguagenameczech{\protect\foreignlanguage{#1}{\v{c}esky}}%
+ \def\btxlanguagenamedanish{\protect\foreignlanguage{#1}{danese}}%
+ \def\btxlanguagenamedutch{\protect\foreignlanguage{#1}{holandsky}}%
+ \def\btxlanguagenameenglish{\protect\foreignlanguage{#1}{anglicky}}%
+ \def\btxlanguagenameesperanto{\protect\foreignlanguage{#1}{esperanto}}%
+ \def\btxlanguagenamefinnish{\protect\foreignlanguage{#1}{finsky}}%
+ \def\btxlanguagenamefrancais{\protect\foreignlanguage{#1}{francouzsky}}%
+ \def\btxlanguagenamefrench{\protect\foreignlanguage{#1}{francouzsky}}%
+ \def\btxlanguagenamefrenchb{\protect\foreignlanguage{#1}{francouzsky}}%
+ \def\btxlanguagenamegerman{\protect\foreignlanguage{#1}{n\v{e}mecky}}%
+ \def\btxlanguagenamegermanb{\protect\foreignlanguage{#1}{n\v{e}mecky}}%
+ \def\btxlanguagenamegreek{\protect\foreignlanguage{#1}{\v{r}ecky}}%
+ \def\btxlanguagenamehebrew{\protect\foreignlanguage{#1}{hebrejsky}}%
+ \def\btxlanguagenamehungarian{\protect\foreignlanguage{#1}{ma~arsky}}%
+ \def\btxlanguagenameicelandic{\protect\foreignlanguage{#1}{islandsky}}%
+ \def\btxlanguagenameirish{\protect\foreignlanguage{#1}{irsky}}%
+ \def\btxlanguagenameitalian{\protect\foreignlanguage{#1}{italsky}}%
+ \def\btxlanguagenamelatin{\protect\foreignlanguage{#1}{latinsky}}%
+ \def\btxlanguagenamenaustrian{\protect\foreignlanguage{#1}{n\v{e}mecky}}%
+ \def\btxlanguagenamengerman{\protect\foreignlanguage{#1}{n\v{e}mecky}}%
+ \def\btxlanguagenamenorsk{\protect\foreignlanguage{#1}{norsky}}%
+ \def\btxlanguagenamenynorsk{\protect\foreignlanguage{#1}{norsky}}%
+ \def\btxlanguagenamepolish{\protect\foreignlanguage{#1}{polsky}}%
+ \def\btxlanguagenameportuges{\protect\foreignlanguage{#1}{portugalsky}}%
+ \def\btxlanguagenameportuguese{\protect\foreignlanguage{#1}{portugalsky}}%
+ \def\btxlanguagenamerussian{\protect\foreignlanguage{#1}{rusky}}%
+ \def\btxlanguagenamescottish{\protect\foreignlanguage{#1}{skotsky}}%
+ \def\btxlanguagenameserbian{\protect\foreignlanguage{#1}{srbsky}}%
+ \def\btxlanguagenamespanish{\protect\foreignlanguage{#1}{%
+ \v{s}pan\v{e}lsky}}%
+ \def\btxlanguagenameswedish{\protect\foreignlanguage{#1}{\v{s}v\'edsky}}%
+ \def\btxlanguagenameturkish{\protect\foreignlanguage{#1}{turecky}}%
+ \def\btxlanguagenameUKenglish{\protect\foreignlanguage{#1}{anglicky}}%
+ \def\btxlanguagenameUSenglish{\protect\foreignlanguage{#1}{anglicky}}%
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% Append the definitions to the language-calling commands.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \ifbbbbfixlanguage
+ \else
+ \bbbbaddto{czech}{bibsczech}
+ \fi
+% \end{macrocode}
+% Switch on the change of case in titles for all Afrikaans dialects by
+% appending \cs{btxifchangecaseoff} to \cs{extras}\meta{language}.
+% \begin{macrocode}
+ \bbbbaddto{czech}{btxifchangecaseoff}
+}
+%</czech>
+% \end{macrocode}
+%
+% \subsubsection{Danish}
+% \changes{0.33}{2003/05/22}{Added Danish language}%
+% \begin{macrocode}
+%<*danish>
+% \end{macrocode}
+%
+% \begin{macro}{\bibsdanish}
+% Bibliographic commands for Danish.
+% \begin{macrocode}
+\newcommand\bibsdanish[1][danish]{%
+ \def\biblanguagename{#1}%
+ \def\btxetalshort##1{\protect\foreignlanguage{#1}{et~al##1{}}}%
+ \def\btxetallong##1{\protect\foreignlanguage{#1}{et~alii}}%
+ \def\btxandshort##1{\protect\foreignlanguage{#1}{og}}%
+ \def\btxandlong##1{\protect\foreignlanguage{#1}{og}}%
+ \def\btxandcomma##1{}%
+ \def\btxinlong##1{\protect\foreignlanguage{#1}{i}}%
+ \def\btxinshort##1{\protect\foreignlanguage{#1}{i}}%
+ \def\btxofseriesshort##1{\protect\foreignlanguage{#1}{af}}%
+ \def\btxinseriesshort##1{\protect\foreignlanguage{#1}{i}}%
+ \def\btxofserieslong##1{\protect\foreignlanguage{#1}{af}}%
+ \def\btxinserieslong##1{\protect\foreignlanguage{#1}{i}}%
+ \def\btxeditorshort##1{\protect\foreignlanguage{#1}{red##1{}}}%
+ \def\btxeditorlong##1{\protect\foreignlanguage{#1}{redakt\o r}}%
+ \def\btxeditorsshort##1{\protect\foreignlanguage{#1}{red##1{}}}%
+ \def\btxeditorslong##1{\protect\foreignlanguage{#1}{redakt\o rer}}%
+ \def\btxvolumeshort##1{\protect\foreignlanguage{#1}{bd##1{}}}%
+ \def\btxvolumelong##1{\protect\foreignlanguage{#1}{bind}}%
+ \def\btxnumbershort##1{\protect\foreignlanguage{#1}{nr##1{}}}%
+ \def\btxnumberlong##1{\protect\foreignlanguage{#1}{nummer}}%
+ \def\btxeditionshort##1{\protect\foreignlanguage{#1}{udg##1{}}}%
+ \def\btxeditionlong##1{\protect\foreignlanguage{#1}{udgave}}%
+ \def\btxeditionnumshort##1##2{\btxnumeralshort{##1}~\btxeditionshort{##2}}%
+ \def\btxeditionnumlong##1##2{\btxnumerallong{##1}~\btxeditionlong{##2}}%
+ \def\btxchaptershort##1{\protect\foreignlanguage{#1}{kap##1{}}}%
+ \def\btxchapterlong##1{\protect\foreignlanguage{#1}{kapitel}}%
+ \def\btxpageshort##1{\protect\foreignlanguage{#1}{s##1{}}}%
+ \def\btxpagelong##1{\protect\foreignlanguage{#1}{side}}%
+ \def\btxpagesshort##1{\protect\foreignlanguage{#1}{pp##1{}}}%
+ \def\btxpageslong##1{\protect\foreignlanguage{#1}{sider}}%
+ \def\btxmastthesis##1{\protect\foreignlanguage{#1}{Speciale}}%
+ \def\btxphdthesis##1{\protect\foreignlanguage{#1}{ph.d.-afhandling}}%
+ \def\btxtechrepshort##1{\protect\foreignlanguage{#1}{Tekn.\ rap##1{}}}%
+ \def\btxtechreplong##1{\protect\foreignlanguage{#1}{Teknisk rapport}}%
+ \def\btxmonjanlong##1{\protect\foreignlanguage{#1}{Januar}}%
+ \def\btxmonfeblong##1{\protect\foreignlanguage{#1}{Februar}}%
+ \def\btxmonmarlong##1{\protect\foreignlanguage{#1}{Marts}}%
+ \def\btxmonaprlong##1{\protect\foreignlanguage{#1}{April}}%
+ \def\btxmonmaylong##1{\protect\foreignlanguage{#1}{Maj}}%
+ \def\btxmonjunlong##1{\protect\foreignlanguage{#1}{Juni}}%
+ \def\btxmonjullong##1{\protect\foreignlanguage{#1}{Juli}}%
+ \def\btxmonauglong##1{\protect\foreignlanguage{#1}{August}}%
+ \def\btxmonseplong##1{\protect\foreignlanguage{#1}{September}}%
+ \def\btxmonoctlong##1{\protect\foreignlanguage{#1}{Oktober}}%
+ \def\btxmonnovlong##1{\protect\foreignlanguage{#1}{November}}%
+ \def\btxmondeclong##1{\protect\foreignlanguage{#1}{December}}%
+ \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{Jan##1{}}}%
+ \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{Feb##1{}}}%
+ \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{Mar##1{}}}%
+ \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{Apr##1{}}}%
+ \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{Maj}}%
+ \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{Jun##1{}}}%
+ \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{Jul##1{}}}%
+ \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{Aug##1{}}}%
+ \def\btxmonsepshort##1{\protect\foreignlanguage{#1}{Sep##1{}}}%
+ \def\btxmonoctshort##1{\protect\foreignlanguage{#1}{Okt##1{}}}%
+ \def\btxmonnovshort##1{\protect\foreignlanguage{#1}{Nov##1{}}}%
+ \def\btxmondecshort##1{\protect\foreignlanguage{#1}{Dec##1{}}}%
+ \def\Btxinlong##1{\protect\foreignlanguage{#1}{I}}%
+ \def\Btxinshort##1{\protect\foreignlanguage{#1}{I}}%
+ \def\Btxeditorshort##1{\protect\foreignlanguage{#1}{Red##1{}}}%
+ \def\Btxeditorlong##1{\protect\foreignlanguage{#1}{Redakt\o r}}%
+ \def\Btxeditorsshort##1{\protect\foreignlanguage{#1}{Red##1{}}}%
+ \def\Btxeditorslong##1{\protect\foreignlanguage{#1}{Redakt\o rer}}%
+ \def\Btxvolumeshort##1{\protect\foreignlanguage{#1}{Bd##1{}}}%
+ \def\Btxvolumelong##1{\protect\foreignlanguage{#1}{Bind}}%
+ \def\Btxnumbershort##1{\protect\foreignlanguage{#1}{Nr##1{}}}%
+ \def\Btxnumberlong##1{\protect\foreignlanguage{#1}{Nummer}}%
+ \def\Btxeditionshort##1{\protect\foreignlanguage{#1}{Udg##1{}}}%
+ \def\Btxeditionlong##1{\protect\foreignlanguage{#1}{Udgave}}%
+ \def\Btxeditionnumshort##1##2{\btxnumeralshort{##1}~\Btxeditionshort{##2}}%
+ \def\Btxeditionnumlong##1##2{\btxnumerallong{##1}~\Btxeditionlong{##2}}%
+ \def\Btxchaptershort##1{\protect\foreignlanguage{#1}{Kap##1{}}}%
+ \def\Btxchapterlong##1{\protect\foreignlanguage{#1}{Kapitel}}%
+ \def\Btxpageshort##1{\protect\foreignlanguage{#1}{S##1{}}}%
+ \def\Btxpagelong##1{\protect\foreignlanguage{#1}{Side}}%
+ \def\Btxpagesshort##1{\protect\foreignlanguage{#1}{Pp##1{}}}%
+ \def\Btxpageslong##1{\protect\foreignlanguage{#1}{Sider}}%
+ \def\Btxtechrepshort##1{\protect\foreignlanguage{#1}{Tekn.\ rap##1{}}}%
+ \def\Btxtechreplong##1{\protect\foreignlanguage{#1}{Teknisk rapport}}%
+ \def\btxurldatecomment##1{\protect\foreignlanguage{#1}{, bes\o gt den ##1}}%
+ \def\btxfnamespaceshort{\,}%
+ \def\btxfnamespacelong{ }%
+ \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}%
+ \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}%
+% \end{macrocode}
+% Define how to print month and year in numeric format, e.\,g. MM/YYYY.
+% \begin{macrocode}
+ \def\btxprintmonthyearnum##1##2{##1/##2}%
+ \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}%
+ \ifbbbblanguagenames
+ \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{engelsk}}%
+ \def\btxlanguagenameaustrian{\protect\foreignlanguage{#1}{tysk}}%
+ \def\btxlanguagenamebrazil{\protect\foreignlanguage{#1}{portugisisk}}%
+ \def\btxlanguagenamebrazilian{\protect\foreignlanguage{#1}{portugisisk}}%
+ \def\btxlanguagenamebritish{\protect\foreignlanguage{#1}{engelsk}}%
+ \def\btxlanguagenamebulgarian{\protect\foreignlanguage{#1}{bulgarsk}}%
+ \def\btxlanguagenamecanadian{\protect\foreignlanguage{#1}{engelsk}}%
+ \def\btxlanguagenamecanadien{\protect\foreignlanguage{#1}{fransk}}%
+ \def\btxlanguagenamecatalan{\protect\foreignlanguage{#1}{katalansk}}%
+ \def\btxlanguagenamecroatian{\protect\foreignlanguage{#1}{kroatisk}}%
+ \def\btxlanguagenameczech{\protect\foreignlanguage{#1}{tjekkisk}}%
+ \def\btxlanguagenamedanish{\protect\foreignlanguage{#1}{dansk}}%
+ \def\btxlanguagenamedutch{\protect\foreignlanguage{#1}{nederlandsk}}%
+ \def\btxlanguagenameenglish{\protect\foreignlanguage{#1}{engelsk}}%
+ \def\btxlanguagenameesperanto{\protect\foreignlanguage{#1}{esperanto}}%
+ \def\btxlanguagenamefinnish{\protect\foreignlanguage{#1}{finsk}}%
+ \def\btxlanguagenamefrancais{\protect\foreignlanguage{#1}{fransk}}%
+ \def\btxlanguagenamefrench{\protect\foreignlanguage{#1}{fransk}}%
+ \def\btxlanguagenamefrenchb{\protect\foreignlanguage{#1}{fransk}}%
+ \def\btxlanguagenamegerman{\protect\foreignlanguage{#1}{tysk}}%
+ \def\btxlanguagenamegermanb{\protect\foreignlanguage{#1}{tysk}}%
+ \def\btxlanguagenamegreek{\protect\foreignlanguage{#1}{gr\ae sk}}%
+ \def\btxlanguagenamehebrew{\protect\foreignlanguage{#1}{hebraisk}}%
+ \def\btxlanguagenamehungarian{\protect\foreignlanguage{#1}{ungarsk}}%
+ \def\btxlanguagenameicelandic{\protect\foreignlanguage{#1}{islandsk}}%
+ \def\btxlanguagenameirish{\protect\foreignlanguage{#1}{irsk}}%
+ \def\btxlanguagenameitalian{\protect\foreignlanguage{#1}{italiensk}}%
+ \def\btxlanguagenamelatin{\protect\foreignlanguage{#1}{latinsk}}%
+ \def\btxlanguagenamenaustrian{\protect\foreignlanguage{#1}{tysk}}%
+ \def\btxlanguagenamengerman{\protect\foreignlanguage{#1}{tysk}}%
+ \def\btxlanguagenamenorsk{\protect\foreignlanguage{#1}{norsk}}%
+ \def\btxlanguagenamenynorsk{\protect\foreignlanguage{#1}{nynorsk}}%
+ \def\btxlanguagenamepolish{\protect\foreignlanguage{#1}{polsk}}%
+ \def\btxlanguagenameportuges{\protect\foreignlanguage{#1}{portugisisk}}%
+ \def\btxlanguagenameportuguese{\protect\foreignlanguage{#1}{portugisisk}}%
+ \def\btxlanguagenamerussian{\protect\foreignlanguage{#1}{russisk}}%
+ \def\btxlanguagenamescottish{\protect\foreignlanguage{#1}{skotsk}}%
+ \def\btxlanguagenameserbian{\protect\foreignlanguage{#1}{serbisk}}%
+ \def\btxlanguagenamespanish{\protect\foreignlanguage{#1}{spansk}}%
+ \def\btxlanguagenameswedish{\protect\foreignlanguage{#1}{svensk}}%
+ \def\btxlanguagenameturkish{\protect\foreignlanguage{#1}{tyrkisk}}%
+ \def\btxlanguagenameUKenglish{\protect\foreignlanguage{#1}{engelsk}}%
+ \def\btxlanguagenameUSenglish{\protect\foreignlanguage{#1}{engelsk}}%
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% Append the definitions to the language-calling commands.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \ifbbbbfixlanguage
+ \else
+ \bbbbaddto{danish}{bibsdanish}
+ \fi
+ \bbbbaddto{danish}{btxifchangecaseoff}
+}
+%</danish>
+% \end{macrocode}
+%
+% \subsubsection{Finnish}
+% \changes{0.45}{2004/04/21}{Added Finnish language}%
+% \begin{macrocode}
+%<*finnish>
+% \end{macrocode}
+%
+% \begin{macro}{\bibsfinnish}
+% Bibliographic commands for Finnish.
+% \begin{macrocode}
+\newcommand\bibsfinnish[1][finnish]{%
+ \def\biblanguagename{#1}%
+ \def\btxetalshort##1{\protect\foreignlanguage{#1}{et~al##1{}}}%
+ \def\btxetallong##1{\protect\foreignlanguage{#1}{et~alii}}%
+ \def\btxandshort##1{\protect\foreignlanguage{#1}{ja}}%
+ \def\btxandlong##1{\protect\foreignlanguage{#1}{ja}}%
+ \def\btxandcomma##1{}%
+ \def\btxinlong##1{\protect\foreignlanguage{#1}{teoksessa}}%
+ \def\btxinshort##1{\protect\foreignlanguage{#1}{teoksessa}}%
+ \def\btxofseriesshort##1{\protect\foreignlanguage{#1}{sarjassa}}%
+ \def\btxinseriesshort##1{\protect\foreignlanguage{#1}{sarjassa}}%
+ \def\btxofserieslong##1{\protect\foreignlanguage{#1}{sarjassa}}%
+ \def\btxinserieslong##1{\protect\foreignlanguage{#1}{sarjassa}}%
+ \def\btxeditorshort##1{\protect\foreignlanguage{#1}{toim##1{}}}%
+ \def\btxeditorlong##1{\protect\foreignlanguage{#1}{toimittaja}}%
+ \def\btxeditorsshort##1{\protect\foreignlanguage{#1}{toim##1{}}}%
+ \def\btxeditorslong##1{\protect\foreignlanguage{#1}{toimittajat}}%
+ \def\btxvolumeshort##1{\protect\foreignlanguage{#1}{nide}}%
+ \def\btxvolumelong##1{\protect\foreignlanguage{#1}{nide}}%
+ \def\btxnumbershort##1{\protect\foreignlanguage{#1}{nro##1{}}}%
+ \def\btxnumberlong##1{\protect\foreignlanguage{#1}{numero}}%
+ \def\btxeditionshort##1{\protect\foreignlanguage{#1}{p##1{}}}%
+ \def\btxeditionlong##1{\protect\foreignlanguage{#1}{painos}}%
+ \def\btxeditionnumshort##1##2{\btxnumeralshort{##1}~\btxeditionshort{##2}}%
+ \def\btxeditionnumlong##1##2{\btxnumerallong{##1}~\btxeditionlong{##2}}%
+ \def\btxchaptershort##1{\protect\foreignlanguage{#1}{l##1{}}}%
+ \def\btxchapterlong##1{\protect\foreignlanguage{#1}{luku}}%
+ \def\btxpageshort##1{\protect\foreignlanguage{#1}{s##1{}}}%
+ \def\btxpagelong##1{\protect\foreignlanguage{#1}{sivu}}%
+ \def\btxpagesshort##1{\protect\foreignlanguage{#1}{ss##1{}}}%
+ \def\btxpageslong##1{\protect\foreignlanguage{#1}{sivut}}%
+ \def\btxmastthesis##1{\protect\foreignlanguage{#1}{Pro Gradu -ty\"o}}%
+ \def\btxphdthesis##1{\protect\foreignlanguage{#1}{v\"ait\"oskirja}}%
+ \def\btxtechrepshort##1{\protect\foreignlanguage{#1}{tekn.\ rap##1{}}}%
+ \def\btxtechreplong##1{\protect\foreignlanguage{#1}{tekninen raportti}}%
+ \def\btxmonjanlong##1{\protect\foreignlanguage{#1}{tammikuu}}%
+ \def\btxmonfeblong##1{\protect\foreignlanguage{#1}{helmikuu}}%
+ \def\btxmonmarlong##1{\protect\foreignlanguage{#1}{maaliskuu}}%
+ \def\btxmonaprlong##1{\protect\foreignlanguage{#1}{huhtikuu}}%
+ \def\btxmonmaylong##1{\protect\foreignlanguage{#1}{toukokuu}}%
+ \def\btxmonjunlong##1{\protect\foreignlanguage{#1}{kes\"akuu}}%
+ \def\btxmonjullong##1{\protect\foreignlanguage{#1}{hein\"akuu}}%
+ \def\btxmonauglong##1{\protect\foreignlanguage{#1}{elokuu}}%
+ \def\btxmonseplong##1{\protect\foreignlanguage{#1}{syyskuu}}%
+ \def\btxmonoctlong##1{\protect\foreignlanguage{#1}{lokakuu}}%
+ \def\btxmonnovlong##1{\protect\foreignlanguage{#1}{marraskuu}}%
+ \def\btxmondeclong##1{\protect\foreignlanguage{#1}{joulukuu}}%
+ \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{tam##1{}}}%
+ \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{hel##1{}}}%
+ \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{maa##1{}}}%
+ \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{huh##1{}}}%
+ \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{tou##1{}}}%
+ \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{kes##1{}}}%
+ \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{hei##1{}}}%
+ \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{elo##1{}}}%
+ \def\btxmonsepshort##1{\protect\foreignlanguage{#1}{syy##1{}}}%
+ \def\btxmonoctshort##1{\protect\foreignlanguage{#1}{lok##1{}}}%
+ \def\btxmonnovshort##1{\protect\foreignlanguage{#1}{mar##1{}}}%
+ \def\btxmondecshort##1{\protect\foreignlanguage{#1}{jou##1{}}}%
+ \def\Btxinlong##1{\protect\foreignlanguage{#1}{Teoksessa}}%
+ \def\Btxinshort##1{\protect\foreignlanguage{#1}{Teoksessa}}%
+ \def\Btxeditorshort##1{\protect\foreignlanguage{#1}{Toim##1{}}}%
+ \def\Btxeditorlong##1{\protect\foreignlanguage{#1}{Toimittaja}}%
+ \def\Btxeditorsshort##1{\protect\foreignlanguage{#1}{Toim##1{}}}%
+ \def\Btxeditorslong##1{\protect\foreignlanguage{#1}{Toimittajat}}%
+ \def\Btxvolumeshort##1{\protect\foreignlanguage{#1}{Nide##1{}}}%
+ \def\Btxvolumelong##1{\protect\foreignlanguage{#1}{Nide}}%
+ \def\Btxnumbershort##1{\protect\foreignlanguage{#1}{Nro##1{}}}%
+ \def\Btxnumberlong##1{\protect\foreignlanguage{#1}{Numero}}%
+ \def\Btxeditionshort##1{\protect\foreignlanguage{#1}{P##1{}}}%
+ \def\Btxeditionlong##1{\protect\foreignlanguage{#1}{Painos}}%
+ \def\Btxeditionnumshort##1##2{\btxnumeralshort{##1}~\Btxeditionshort{##2}}%
+ \def\Btxeditionnumlong##1##2{\btxnumerallong{##1}~\Btxeditionlong{##2}}%
+ \def\Btxchaptershort##1{\protect\foreignlanguage{#1}{L##1{}}}%
+ \def\Btxchapterlong##1{\protect\foreignlanguage{#1}{Luku}}%
+ \def\Btxpageshort##1{\protect\foreignlanguage{#1}{S##1{}}}%
+ \def\Btxpagelong##1{\protect\foreignlanguage{#1}{Sivu}}%
+ \def\Btxpagesshort##1{\protect\foreignlanguage{#1}{Ss##1{}}}%
+ \def\Btxpageslong##1{\protect\foreignlanguage{#1}{Sivut}}%
+ \def\Btxtechrepshort##1{\protect\foreignlanguage{#1}{Tekn.\ rap##1{}}}%
+ \def\Btxtechreplong##1{\protect\foreignlanguage{#1}{Tekninen raportti}}%
+ \def\btxurldatecomment##1{\protect\foreignlanguage{#1}{, vierailtu ##1}}%
+ \def\btxfnamespaceshort{\,}%
+ \def\btxfnamespacelong{ }%
+ \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}%
+ \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}%
+% \end{macrocode}
+% Define how to print month and year in numeric format, e.\,g. MM/YYYY.
+% \begin{macrocode}
+ \def\btxprintmonthyearnum##1##2{##1/##2}%
+ \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}%
+ \ifbbbblanguagenames
+ \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{englanti}}%
+ \def\btxlanguagenameaustrian{\protect\foreignlanguage{#1}{saksa}}%
+ \def\btxlanguagenamebrazil{\protect\foreignlanguage{#1}{portugali}}%
+ \def\btxlanguagenamebrazilian{\protect\foreignlanguage{#1}{portugali}}%
+ \def\btxlanguagenamebritish{\protect\foreignlanguage{#1}{englanti}}%
+ \def\btxlanguagenamebulgarian{\protect\foreignlanguage{#1}{bulgaria}}%
+ \def\btxlanguagenamecanadian{\protect\foreignlanguage{#1}{englanti}}%
+ \def\btxlanguagenamecanadien{\protect\foreignlanguage{#1}{ranska}}%
+ \def\btxlanguagenamecatalan{\protect\foreignlanguage{#1}{katalaani}}%
+ \def\btxlanguagenamecroatian{\protect\foreignlanguage{#1}{kroaati}}%
+ \def\btxlanguagenameczech{\protect\foreignlanguage{#1}{tsekki}}%
+ \def\btxlanguagenamedanish{\protect\foreignlanguage{#1}{tanska}}%
+ \def\btxlanguagenamedutch{\protect\foreignlanguage{#1}{hollanti}}%
+ \def\btxlanguagenameenglish{\protect\foreignlanguage{#1}{englanti}}%
+ \def\btxlanguagenameesperanto{\protect\foreignlanguage{#1}{esperanto}}%
+ \def\btxlanguagenamefinnish{\protect\foreignlanguage{#1}{suomi}}%
+ \def\btxlanguagenamefrancais{\protect\foreignlanguage{#1}{ranska}}%
+ \def\btxlanguagenamefrench{\protect\foreignlanguage{#1}{ranska}}%
+ \def\btxlanguagenamefrenchb{\protect\foreignlanguage{#1}{ranska}}%
+ \def\btxlanguagenamegerman{\protect\foreignlanguage{#1}{saksa}}%
+ \def\btxlanguagenamegermanb{\protect\foreignlanguage{#1}{saksa}}%
+ \def\btxlanguagenamegreek{\protect\foreignlanguage{#1}{kreikka}}%
+ \def\btxlanguagenamehebrew{\protect\foreignlanguage{#1}{heprea}}%
+ \def\btxlanguagenamehungarian{\protect\foreignlanguage{#1}{unkari}}%
+ \def\btxlanguagenameicelandic{\protect\foreignlanguage{#1}{islanti}}%
+ \def\btxlanguagenameirish{\protect\foreignlanguage{#1}{iiri}}%
+ \def\btxlanguagenameitalian{\protect\foreignlanguage{#1}{italia}}%
+ \def\btxlanguagenamelatin{\protect\foreignlanguage{#1}{latina}}%
+ \def\btxlanguagenamenaustrian{\protect\foreignlanguage{#1}{saksa}}%
+ \def\btxlanguagenamengerman{\protect\foreignlanguage{#1}{saksa}}%
+ \def\btxlanguagenamenorsk{\protect\foreignlanguage{#1}{norja}}%
+ \def\btxlanguagenamenynorsk{\protect\foreignlanguage{#1}{uusnorja}}%
+ \def\btxlanguagenamepolish{\protect\foreignlanguage{#1}{puola}}%
+ \def\btxlanguagenameportuges{\protect\foreignlanguage{#1}{portugali}}%
+ \def\btxlanguagenameportuguese{\protect\foreignlanguage{#1}{portugali}}%
+ \def\btxlanguagenamerussian{\protect\foreignlanguage{#1}{ven\"j\"a}}%
+ \def\btxlanguagenamescottish{\protect\foreignlanguage{#1}{skotti}}%
+ \def\btxlanguagenameserbian{\protect\foreignlanguage{#1}{serbi}}%
+ \def\btxlanguagenamespanish{\protect\foreignlanguage{#1}{espanja}}%
+ \def\btxlanguagenameswedish{\protect\foreignlanguage{#1}{ruotsi}}%
+ \def\btxlanguagenameturkish{\protect\foreignlanguage{#1}{turkki}}%
+ \def\btxlanguagenameUKenglish{\protect\foreignlanguage{#1}{englanti}}%
+ \def\btxlanguagenameUSenglish{\protect\foreignlanguage{#1}{englanti}}%
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% Append the definitions to the language-calling commands.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \ifbbbbfixlanguage
+ \else
+ \bbbbaddto{finnish}{bibsfinnish}
+ \fi
+% \end{macrocode}
+% Switch off the change of case in titles by appending
+% \cs{btxifchangecaseoff} to \cs{extras}\meta{language}.
+% \begin{macrocode}
+ \bbbbaddto{finnish}{btxifchangecaseoff}
+}
+%</finnish>
+% \end{macrocode}
+%
+% \subsubsection{Esperanto}
+% \changes{0.45}{2004/04/21}{Added Esperanto language}%
+% \begin{macrocode}
+%<*esperanto>
+% \end{macrocode}
+%
+% \begin{macro}{\bibsesperanto}
+% Bibliographic commands for Esperanto.
+% \begin{macrocode}
+\newcommand\bibsesperanto[1][esperanto]{%
+ \def\biblanguagename{#1}%
+ \def\btxetalshort##1{\protect\foreignlanguage{#1}{k~al##1{}}}%
+ \def\btxetallong##1{\protect\foreignlanguage{#1}{kaj~aliaj}}%
+ \def\btxandshort##1{\protect\foreignlanguage{#1}{k}}%
+ \def\btxandlong##1{\protect\foreignlanguage{#1}{kaj}}%
+ \def\btxandcomma##1{}%
+ \def\btxinlong##1{\protect\foreignlanguage{#1}{en}}%
+ \def\btxinshort##1{\protect\foreignlanguage{#1}{en}}%
+ \def\btxofseriesshort##1{\protect\foreignlanguage{#1}{de}}%
+ \def\btxinseriesshort##1{\protect\foreignlanguage{#1}{en}}%
+ \def\btxofserieslong##1{\protect\foreignlanguage{#1}{de}}%
+ \def\btxinserieslong##1{\protect\foreignlanguage{#1}{en}}%
+ \def\btxeditorshort##1{\protect\foreignlanguage{#1}{red##1{}}}%
+ \def\btxeditorlong##1{\protect\foreignlanguage{#1}{redaktoro}}%
+ \def\btxeditorsshort##1{\protect\foreignlanguage{#1}{red-oj##1{}}}%
+ \def\btxeditorslong##1{\protect\foreignlanguage{#1}{redaktoroj}}%
+ \def\btxvolumeshort##1{\protect\foreignlanguage{#1}{vol##1{}}}%
+ \def\btxvolumelong##1{\protect\foreignlanguage{#1}{volumo}}%
+ \def\btxnumbershort##1{\protect\foreignlanguage{#1}{no##1{}}}%
+ \def\btxnumberlong##1{\protect\foreignlanguage{#1}{nombro}}%
+ \def\btxeditionshort##1{\protect\foreignlanguage{#1}{red##1{}}}%
+ \def\btxeditionlong##1{\protect\foreignlanguage{#1}{redakcio}}%
+ \def\btxeditionnumshort##1##2{\btxnumeralshort{##1}~\btxeditionshort{##2}}%
+ \def\btxeditionnumlong##1##2{\btxnumerallong{##1}~\btxeditionlong{##2}}%
+ \def\btxchaptershort##1{\protect\foreignlanguage{#1}{\^c##1{}}}%
+ \def\btxchapterlong##1{\protect\foreignlanguage{#1}{\^capitro}}%
+ \def\btxpageshort##1{\protect\foreignlanguage{#1}{p##1{}}}%
+ \def\btxpagelong##1{\protect\foreignlanguage{#1}{pa\^go}}%
+ \def\btxpagesshort##1{\protect\foreignlanguage{#1}{pp##1{}}}%
+ \def\btxpageslong##1{\protect\foreignlanguage{#1}{pa\^goj}}%
+ \def\btxmastthesis##1{\protect\foreignlanguage{#1}{magistra disertacio}}%
+ \def\btxphdthesis##1{\protect\foreignlanguage{#1}{doktora disertacio}}%
+ \def\btxtechrepshort##1{\protect\foreignlanguage{#1}{Tekn.\ rap##1{}}}%
+ \def\btxtechreplong##1{\protect\foreignlanguage{#1}{Teknika raporto}}%
+ \def\btxmonjanlong##1{\protect\foreignlanguage{#1}{Januaro}}%
+ \def\btxmonfeblong##1{\protect\foreignlanguage{#1}{Februaro}}%
+ \def\btxmonmarlong##1{\protect\foreignlanguage{#1}{Marco}}%
+ \def\btxmonaprlong##1{\protect\foreignlanguage{#1}{Aprilo}}%
+ \def\btxmonmaylong##1{\protect\foreignlanguage{#1}{Majo}}%
+ \def\btxmonjunlong##1{\protect\foreignlanguage{#1}{Junio}}%
+ \def\btxmonjullong##1{\protect\foreignlanguage{#1}{Julio}}%
+ \def\btxmonauglong##1{\protect\foreignlanguage{#1}{A\u{u}gusto}}%
+ \def\btxmonseplong##1{\protect\foreignlanguage{#1}{Septembro}}%
+ \def\btxmonoctlong##1{\protect\foreignlanguage{#1}{Oktobro}}%
+ \def\btxmonnovlong##1{\protect\foreignlanguage{#1}{Novembro}}%
+ \def\btxmondeclong##1{\protect\foreignlanguage{#1}{Decembro}}%
+ \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{Jan##1{}}}%
+ \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{Feb##1{}}}%
+ \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{Mar##1{}}}%
+ \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{Apr##1{}}}%
+ \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{Maj##1{}}}%
+ \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{Jun##1{}}}%
+ \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{Jul##1{}}}%
+ \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{Aug##1{}}}%
+ \def\btxmonsepshort##1{\protect\foreignlanguage{#1}{Sept##1{}}}%
+ \def\btxmonoctshort##1{\protect\foreignlanguage{#1}{Okt##1{}}}%
+ \def\btxmonnovshort##1{\protect\foreignlanguage{#1}{Nov##1{}}}%
+ \def\btxmondecshort##1{\protect\foreignlanguage{#1}{Dec##1{}}}%
+ \def\Btxinlong##1{\protect\foreignlanguage{#1}{En}}%
+ \def\Btxinshort##1{\protect\foreignlanguage{#1}{En}}%
+ \def\Btxeditorshort##1{\protect\foreignlanguage{#1}{Red##1{}}}%
+ \def\Btxeditorlong##1{\protect\foreignlanguage{#1}{Redaktoro}}%
+ \def\Btxeditorsshort##1{\protect\foreignlanguage{#1}{Red##1{}}}%
+ \def\Btxeditorslong##1{\protect\foreignlanguage{#1}{Redaktoroj}}%
+ \def\Btxvolumeshort##1{\protect\foreignlanguage{#1}{Vol##1{}}}%
+ \def\Btxvolumelong##1{\protect\foreignlanguage{#1}{Volumo}}%
+ \def\Btxnumbershort##1{\protect\foreignlanguage{#1}{No##1{}}}%
+ \def\Btxnumberlong##1{\protect\foreignlanguage{#1}{Nombro}}%
+ \def\Btxeditionshort##1{\protect\foreignlanguage{#1}{Red##1{}}}%
+ \def\Btxeditionlong##1{\protect\foreignlanguage{#1}{Redakcio}}%
+ \def\Btxeditionnumshort##1##2{\btxnumeralshort{##1}~\Btxeditionshort{##2}}%
+ \def\Btxeditionnumlong##1##2{\btxnumerallong{##1}~\Btxeditionlong{##2}}%
+ \def\Btxchaptershort##1{\protect\foreignlanguage{#1}{\^C##1{}}}%
+ \def\Btxchapterlong##1{\protect\foreignlanguage{#1}{\^Capitro}}%
+ \def\Btxpageshort##1{\protect\foreignlanguage{#1}{P##1{}}}%
+ \def\Btxpagelong##1{\protect\foreignlanguage{#1}{Pa\^go}}%
+ \def\Btxpagesshort##1{\protect\foreignlanguage{#1}{Pp##1{}}}%
+ \def\Btxpageslong##1{\protect\foreignlanguage{#1}{Pa\^goj}}%
+ \def\Btxtechrepshort##1{\protect\foreignlanguage{#1}{Tekn.\ Rap##1{}}}%
+ \def\Btxtechreplong##1{\protect\foreignlanguage{#1}{Teknika Raporto}}%
+% \def\btxurldatecomment##1{\protect\foreignlanguage{#1}{, ?? ##1}}%
+ \def\btxurldatecomment##1{\PackageError{babelbib}{Comment for
+ urldate in Esperanto undefined. Please send the translation for
+ 'visited on' to harald.harders@tu-bs.de}{} [##1]}%
+ \def\btxfnamespaceshort{\,}%
+ \def\btxfnamespacelong{ }%
+ \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}%
+ \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}%
+% \end{macrocode}
+% Define how to print month and year in numeric format, e.\,g. MM/YYYY.
+% \begin{macrocode}
+ \def\btxprintmonthyearnum##1##2{##1/##2}%
+ \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}%
+ \ifbbbblanguagenames
+ \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{angla}}%
+ \def\btxlanguagenameaustrian{\protect\foreignlanguage{#1}{germana}}%
+ \def\btxlanguagenamebrazil{\protect\foreignlanguage{#1}{portugala}}%
+ \def\btxlanguagenamebrazilian{\protect\foreignlanguage{#1}{portugala}}%
+ \def\btxlanguagenamebritish{\protect\foreignlanguage{#1}{angla}}%
+ \def\btxlanguagenamebulgarian{\protect\foreignlanguage{#1}{bulgara}}%
+ \def\btxlanguagenamecanadian{\protect\foreignlanguage{#1}{angla}}%
+ \def\btxlanguagenamecanadien{\protect\foreignlanguage{#1}{franca}}%
+ \def\btxlanguagenamecatalan{\protect\foreignlanguage{#1}{katalana}}%
+ \def\btxlanguagenamecroatian{\protect\foreignlanguage{#1}{kroata}}%
+ \def\btxlanguagenameczech{\protect\foreignlanguage{#1}{\^ce\^ha}}%
+ \def\btxlanguagenamedanish{\protect\foreignlanguage{#1}{dana}}%
+ \def\btxlanguagenamedutch{\protect\foreignlanguage{#1}{nederlanda}}%
+ \def\btxlanguagenameenglish{\protect\foreignlanguage{#1}{angla}}%
+ \def\btxlanguagenameesperanto{\protect\foreignlanguage{#1}{esperanto}}%
+ \def\btxlanguagenamefinnish{\protect\foreignlanguage{#1}{finna}}%
+ \def\btxlanguagenamefrancais{\protect\foreignlanguage{#1}{franca}}%
+ \def\btxlanguagenamefrench{\protect\foreignlanguage{#1}{franca}}%
+ \def\btxlanguagenamefrenchb{\protect\foreignlanguage{#1}{franca}}%
+ \def\btxlanguagenamegerman{\protect\foreignlanguage{#1}{germana}}%
+ \def\btxlanguagenamegermanb{\protect\foreignlanguage{#1}{germana}}%
+ \def\btxlanguagenamegreek{\protect\foreignlanguage{#1}{greka}}%
+ \def\btxlanguagenamehebrew{\protect\foreignlanguage{#1}{hebrea}}%
+ \def\btxlanguagenamehungarian{\protect\foreignlanguage{#1}{hungara}}%
+ \def\btxlanguagenameicelandic{\protect\foreignlanguage{#1}{islanda}}%
+ \def\btxlanguagenameirish{\protect\foreignlanguage{#1}{irlanda}}%
+ \def\btxlanguagenameitalian{\protect\foreignlanguage{#1}{itala}}%
+ \def\btxlanguagenamelatin{\protect\foreignlanguage{#1}{latino}}%
+ \def\btxlanguagenamenaustrian{\protect\foreignlanguage{#1}{germana}}%
+ \def\btxlanguagenamengerman{\protect\foreignlanguage{#1}{germana}}%
+ \def\btxlanguagenamenorsk{\protect\foreignlanguage{#1}{norvega}}%
+ \def\btxlanguagenamenynorsk{\protect\foreignlanguage{#1}{nov-norvega}}%
+ \def\btxlanguagenamepolish{\protect\foreignlanguage{#1}{pola}}%
+ \def\btxlanguagenameportuges{\protect\foreignlanguage{#1}{portugala}}%
+ \def\btxlanguagenameportuguese{\protect\foreignlanguage{#1}{portugala}}%
+ \def\btxlanguagenamerussian{\protect\foreignlanguage{#1}{rusa}}%
+ \def\btxlanguagenamescottish{\protect\foreignlanguage{#1}{skota}}%
+ \def\btxlanguagenameserbian{\protect\foreignlanguage{#1}{serba}}%
+ \def\btxlanguagenamespanish{\protect\foreignlanguage{#1}{hispana}}%
+ \def\btxlanguagenameswedish{\protect\foreignlanguage{#1}{sveda}}%
+ \def\btxlanguagenameturkish{\protect\foreignlanguage{#1}{turka}}%
+ \def\btxlanguagenameUKenglish{\protect\foreignlanguage{#1}{angla}}%
+ \def\btxlanguagenameUSenglish{\protect\foreignlanguage{#1}{angla}}%
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% Append the definitions to the language-calling commands.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \ifbbbbfixlanguage
+ \else
+ \bbbbaddto{esperanto}{bibsesperanto}
+ \fi
+% \end{macrocode}
+% Switch off the change of case in titles by appending
+% \cs{btxifchangecaseoff} to \cs{extras}\meta{language}.
+% \begin{macrocode}
+ \bbbbaddto{esperanto}{btxifchangecaseoff}
+}
+%</esperanto>
+% \end{macrocode}
+%
+% \subsubsection{Portuguese}
+% \changes{0.33}{2003/05/22}{Added Portuguese language}%
+% \changes{1.02}{2005/04/15}{Language Portuguese completed}%
+% \changes{1.10}{2005/04/24}{Bug in Portuguese removed}%
+% \begin{macrocode}
+%<*portuguese>
+% \end{macrocode}
+%
+% \begin{macro}{\bibsportuguese}
+% Bibliographic commands for Portuguese.
+% \begin{macrocode}
+\newcommand\bibsportuguese[1][portuguese]{%
+ \def\biblanguagename{#1}%
+ \def\btxetalshort##1{\protect\foreignlanguage{#1}{et~al##1{}}}%
+ \def\btxetallong##1{\protect\foreignlanguage{#1}{et~alii}}%
+ \def\btxandshort##1{\protect\foreignlanguage{#1}{e}}%
+ \def\btxandlong##1{\protect\foreignlanguage{#1}{e}}%
+ \def\btxandcomma##1{}%
+ \def\btxinlong##1{\protect\foreignlanguage{#1}{em}}%
+ \def\btxinshort##1{\protect\foreignlanguage{#1}{em}}%
+ \def\btxofseriesshort##1{\protect\foreignlanguage{#1}{de}}%
+ \def\btxinseriesshort##1{\protect\foreignlanguage{#1}{em}}%
+ \def\btxofserieslong##1{\protect\foreignlanguage{#1}{de}}%
+ \def\btxinserieslong##1{\protect\foreignlanguage{#1}{em}}%
+ \def\btxeditorshort##1{\protect\foreignlanguage{#1}{ed##1{}}}%
+ \def\btxeditorlong##1{\protect\foreignlanguage{#1}{editor}}%
+ \def\btxeditorsshort##1{\protect\foreignlanguage{#1}{eds##1{}}}%
+ \def\btxeditorslong##1{\protect\foreignlanguage{#1}{editores}}%
+ \def\btxvolumeshort##1{\protect\foreignlanguage{#1}{vol##1{}}}%
+ \def\btxvolumelong##1{\protect\foreignlanguage{#1}{volume}}%
+ \def\btxnumbershort##1{\protect\foreignlanguage{#1}{%
+ n\textsuperscript{\underline{o}}}}%
+ \def\btxnumberlong##1{\protect\foreignlanguage{#1}{n\'umero}}%
+ \def\btxeditionshort##1{\protect\foreignlanguage{#1}{ed##1{}}}%
+ \def\btxeditionlong##1{\protect\foreignlanguage{#1}{edi\c c\~ao}}%
+ \def\btxeditionnumshort##1##2{\btxnumeralshort{##1}~\btxeditionshort{##2}}%
+ \def\btxeditionnumlong##1##2{\btxnumerallong{##1}~\btxeditionlong{##2}}%
+ \def\btxchaptershort##1{\protect\foreignlanguage{#1}{cap##1{}}}%
+ \def\btxchapterlong##1{\protect\foreignlanguage{#1}{cap\'\i tulo}}%
+ \def\btxpageshort##1{\protect\foreignlanguage{#1}{p\'ag##1{}}}%
+ \def\btxpagelong##1{\protect\foreignlanguage{#1}{p\'agina}}%
+ \def\btxpagesshort##1{\protect\foreignlanguage{#1}{p\'ags##1{}}}%
+ \def\btxpageslong##1{\protect\foreignlanguage{#1}{p\'aginas}}%
+ \def\btxmastthesis##1{\protect\foreignlanguage{#1}{Tese de Mestrado}}%
+ \def\btxphdthesis##1{\protect\foreignlanguage{#1}{Tese de Doutoramento}}%
+ \def\btxtechrepshort##1{\protect\foreignlanguage{#1}{Rel.\ T\'ec##1{}}}%
+ \def\btxtechreplong##1{\protect\foreignlanguage{#1}{Relat\'orio T\'ecnico}}%
+ \def\btxmonjanlong##1{\protect\foreignlanguage{#1}{janeiro}}%
+ \def\btxmonfeblong##1{\protect\foreignlanguage{#1}{fevereiro}}%
+ \def\btxmonmarlong##1{\protect\foreignlanguage{#1}{mar\c co}}%
+ \def\btxmonaprlong##1{\protect\foreignlanguage{#1}{abril}}%
+ \def\btxmonmaylong##1{\protect\foreignlanguage{#1}{maio}}%
+ \def\btxmonjunlong##1{\protect\foreignlanguage{#1}{junho}}%
+ \def\btxmonjullong##1{\protect\foreignlanguage{#1}{julho}}%
+ \def\btxmonauglong##1{\protect\foreignlanguage{#1}{agosto}}%
+ \def\btxmonseplong##1{\protect\foreignlanguage{#1}{setembro}}%
+ \def\btxmonoctlong##1{\protect\foreignlanguage{#1}{outubro}}%
+ \def\btxmonnovlong##1{\protect\foreignlanguage{#1}{novembro}}%
+ \def\btxmondeclong##1{\protect\foreignlanguage{#1}{dezembro}}%
+ \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{jan##1{}}}%
+ \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{fev##1{}}}%
+ \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{mar##1{}}}%
+ \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{abr##1{}}}%
+ \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{maio}}%
+ \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{jun##1{}}}%
+ \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{jul##1{}}}%
+ \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{ago##1{}}}%
+ \def\btxmonsepshort##1{\protect\foreignlanguage{#1}{set##1{}}}%
+ \def\btxmonoctshort##1{\protect\foreignlanguage{#1}{out##1{}}}%
+ \def\btxmonnovshort##1{\protect\foreignlanguage{#1}{nov##1{}}}%
+ \def\btxmondecshort##1{\protect\foreignlanguage{#1}{dez##1{}}}%
+ \def\Btxinlong##1{\protect\foreignlanguage{#1}{Em}}%
+ \def\Btxinshort##1{\protect\foreignlanguage{#1}{Em}}%
+ \def\Btxeditorshort##1{\protect\foreignlanguage{#1}{Ed##1{}}}%
+ \def\Btxeditorlong##1{\protect\foreignlanguage{#1}{Editor}}%
+ \def\Btxeditorsshort##1{\protect\foreignlanguage{#1}{Eds##1{}}}%
+ \def\Btxeditorslong##1{\protect\foreignlanguage{#1}{Editores}}%
+ \def\Btxvolumeshort##1{\protect\foreignlanguage{#1}{Vol##1{}}}%
+ \def\Btxvolumelong##1{\protect\foreignlanguage{#1}{Volume}}%
+ \def\Btxnumbershort##1{\protect\foreignlanguage{#1}{%
+ N\textsuperscript{\underline{o}}}}%
+ \def\Btxnumberlong##1{\protect\foreignlanguage{#1}{N\'umero}}%
+ \def\Btxeditionshort##1{\protect\foreignlanguage{#1}{Ed##1{}}}%
+ \def\Btxeditionlong##1{\protect\foreignlanguage{#1}{Edi\c c\~ao}}%
+ \def\Btxeditionnumshort##1##2{\btxnumeralshort{##1}~\Btxeditionshort{##2}}%
+ \def\Btxeditionnumlong##1##2{\btxnumerallong{##1}~\Btxeditionlong{##2}}%
+ \def\Btxchaptershort##1{\protect\foreignlanguage{#1}{Cap##1{}}}%
+ \def\Btxchapterlong##1{\protect\foreignlanguage{#1}{Cap\'{\i}tulo}}%
+ \def\Btxpageshort##1{\protect\foreignlanguage{#1}{P\'ag##1{}}}%
+ \def\Btxpagelong##1{\protect\foreignlanguage{#1}{P\'agina}}%
+ \def\Btxpagesshort##1{\protect\foreignlanguage{#1}{P\'ags##1{}}}%
+ \def\Btxpageslong##1{\protect\foreignlanguage{#1}{P\'aginas}}%
+ \def\Btxtechrepshort##1{\protect\foreignlanguage{#1}{Rel.\ T\'ec##1{}}}%
+ \def\Btxtechreplong##1{\protect\foreignlanguage{#1}{Relat\'orio T\'ecnico}}%
+ \def\btxurldatecomment##1{\protect\foreignlanguage{#1}{, acedido em ##1}}%
+ \def\btxfnamespaceshort{\,}%
+ \def\btxfnamespacelong{ }%
+ \def\btxnumeralshort##1{\protect\foreignlanguage{#1}{%
+ \ifnumber{##1}{##1\textsuperscript{\underline a}}{##1}}}%
+ \def\btxnumerallong##1{\btxnumeralshort{##1}}%
+% \end{macrocode}
+% Define how to print month and year in numeric format, e.\,g. MM/YYYY.
+% \begin{macrocode}
+ \def\btxprintmonthyearnum##1##2{##1/##2}%
+ \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}%
+ \ifbbbblanguagenames
+ \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{ingl\^es}}%
+ \def\btxlanguagenameaustrian{\protect\foreignlanguage{#1}{alem\~ao}}%
+ \def\btxlanguagenamebrazil{\protect\foreignlanguage{#1}{portugu\^es}}%
+ \def\btxlanguagenamebrazilian{\protect\foreignlanguage{#1}{portugu\^es}}%
+ \def\btxlanguagenamebritish{\protect\foreignlanguage{#1}{ingl\^es}}%
+ \def\btxlanguagenamebulgarian{\protect\foreignlanguage{#1}{b\'ulgaro}}%
+ \def\btxlanguagenamecanadian{\protect\foreignlanguage{#1}{ingl\^es}}%
+ \def\btxlanguagenamecanadien{\protect\foreignlanguage{#1}{franc\^es}}%
+ \def\btxlanguagenamecatalan{\protect\foreignlanguage{#1}{catal\~ao}}%
+ \def\btxlanguagenamecroatian{\protect\foreignlanguage{#1}{croata}}%
+ \def\btxlanguagenameczech{\protect\foreignlanguage{#1}{checo}}%
+ \def\btxlanguagenamedanish{\protect\foreignlanguage{#1}{dinamarqu\^es}}%
+ \def\btxlanguagenamedutch{\protect\foreignlanguage{#1}{holand\^es}}%
+ \def\btxlanguagenameenglish{\protect\foreignlanguage{#1}{ingl\^es}}%
+ \def\btxlanguagenameesperanto{\protect\foreignlanguage{#1}{esperanto}}%
+ \def\btxlanguagenamefinnish{\protect\foreignlanguage{#1}{finland\^es}}%
+ \def\btxlanguagenamefranceis{\protect\foreignlanguage{#1}{franc\^es}}%
+ \def\btxlanguagenamefrench{\protect\foreignlanguage{#1}{franc\^es}}%
+ \def\btxlanguagenamefrenchb{\protect\foreignlanguage{#1}{franc\^es}}%
+ \def\btxlanguagenamegerman{\protect\foreignlanguage{#1}{\alem\~ao}}%
+ \def\btxlanguagenamegermanb{\protect\foreignlanguage{#1}{\alem\~ao}}%
+ \def\btxlanguagenamegreek{\protect\foreignlanguage{#1}{grego}}%
+ \def\btxlanguagenamehebrew{\protect\foreignlanguage{#1}{hebreu}}%
+ \def\btxlanguagenamehungarian{\protect\foreignlanguage{#1}{h\'ungaro}}%
+ \def\btxlanguagenameicelandic{\protect\foreignlanguage{#1}{island\^es}}%
+ \def\btxlanguagenameirish{\protect\foreignlanguage{#1}{irland\^es}}%
+ \def\btxlanguagenameitalian{\protect\foreignlanguage{#1}{italiano}}%
+ \def\btxlanguagenamelatin{\protect\foreignlanguage{#1}{latim}}%
+ \def\btxlanguagenamenaustrian{\protect\foreignlanguage{#1}{\alem\~ao}}%
+ \def\btxlanguagenamengerman{\protect\foreignlanguage{#1}{\alem\~ao}}%
+ \def\btxlanguagenamenorsk{\protect\foreignlanguage{#1}{noruegu\^es}}%
+ \def\btxlanguagenamenynorsk{\protect\foreignlanguage{#1}{neo-noruegu\^es}}%
+ \def\btxlanguagenamepolish{\protect\foreignlanguage{#1}{polaco}}%
+ \def\btxlanguagenameportuges{\protect\foreignlanguage{#1}{portugu\^es}}%
+ \def\btxlanguagenameportuguese{\protect\foreignlanguage{#1}{portugu\^es}}%
+ \def\btxlanguagenamerussian{\protect\foreignlanguage{#1}{russio}}%
+ \def\btxlanguagenamescottish{\protect\foreignlanguage{#1}{escoc\^es}}%
+ \def\btxlanguagenameserbian{\protect\foreignlanguage{#1}{s\'ervio}}%
+ \def\btxlanguagenamespanish{\protect\foreignlanguage{#1}{espanhol}}%
+ \def\btxlanguagenameswedish{\protect\foreignlanguage{#1}{sueco}}%
+ \def\btxlanguagenameturkish{\protect\foreignlanguage{#1}{turco}}%
+ \def\btxlanguagenameUKenglish{\protect\foreignlanguage{#1}{ingl\^es}}%
+ \def\btxlanguagenameUSenglish{\protect\foreignlanguage{#1}{ingl\^es}}%
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% Copy the commands to the other languages.
+% \begin{macrocode}
+\newcommand\bibsportuges[1][portuges]{\bibsportuguese[#1]}
+\newcommand\bibsbrazil[1][brazil]{\bibsbrazilian[#1]}
+\newcommand\bibsbrazilian[1][brazilian]{%
+ \bibsportuguese[#1]%
+ \def\btxmonjanlong##1{\protect\foreignlanguage{#1}{janeiro}}%
+ \def\btxmonfeblong##1{\protect\foreignlanguage{#1}{fevereiro}}%
+ \def\btxmonmarlong##1{\protect\foreignlanguage{#1}{mar\c co}}%
+ \def\btxmonaprlong##1{\protect\foreignlanguage{#1}{abril}}%
+ \def\btxmonmaylong##1{\protect\foreignlanguage{#1}{maio}}%
+ \def\btxmonjunlong##1{\protect\foreignlanguage{#1}{junho}}%
+ \def\btxmonjullong##1{\protect\foreignlanguage{#1}{julho}}%
+ \def\btxmonauglong##1{\protect\foreignlanguage{#1}{agosto}}%
+ \def\btxmonseplong##1{\protect\foreignlanguage{#1}{setembro}}%
+ \def\btxmonoctlong##1{\protect\foreignlanguage{#1}{outubro}}%
+ \def\btxmonnovlong##1{\protect\foreignlanguage{#1}{novembro}}%
+ \def\btxmondeclong##1{\protect\foreignlanguage{#1}{dezembro}}%
+ \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{jan##1{}}}%
+ \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{fev##1{}}}%
+ \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{mar##1{}}}%
+ \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{abr##1{}}}%
+ \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{mai##1{}}}%
+ \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{jun##1{}}}%
+ \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{jul##1{}}}%
+ \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{ago##1{}}}%
+ \def\btxmonsepshort##1{\protect\foreignlanguage{#1}{set##1{}}}%
+ \def\btxmonoctshort##1{\protect\foreignlanguage{#1}{out##1{}}}%
+ \def\btxmonnovshort##1{\protect\foreignlanguage{#1}{nov##1{}}}%
+ \def\btxmondecshort##1{\protect\foreignlanguage{#1}{dez##1{}}}%
+ \def\btxpageshort##1{\protect\foreignlanguage{#1}{p##1{}}}%
+ \def\btxpagesshort##1{\protect\foreignlanguage{#1}{pp##1{}}}%
+ \def\Btxpageshort##1{\protect\foreignlanguage{#1}{P##1{}}}%
+ \def\Btxpagesshort##1{\protect\foreignlanguage{#1}{Pp##1{}}}%
+ \def\btxurldatecomment##1{\protect\foreignlanguage{#1}{, acesso em ##1}}%
+}
+% \end{macrocode}
+% Append the definitions to the language-calling commands.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \ifbbbbfixlanguage
+ \else
+ \bbbbaddto{brazil}{bibsbrazil}
+ \bbbbaddto{brazilian}{bibsbrazilian}
+ \bbbbaddto{portuges}{bibsportuges}
+ \bbbbaddto{portuguese}{bibsportuguese}
+ \fi
+% \end{macrocode}
+% Switch off the change of case in titles for all Portuguese dialects by
+% appending \cs{btxifchangecaseoff} to \cs{extras}\meta{language}.
+% \begin{macrocode}
+ \bbbbaddto{brazil}{btxifchangecaseoff}
+ \bbbbaddto{brazilian}{btxifchangecaseoff}
+ \bbbbaddto{portuges}{btxifchangecaseoff}
+ \bbbbaddto{portuguese}{btxifchangecaseoff}
+}
+%</portuguese>
+% \end{macrocode}
+%
+% \subsubsection{Dutch}
+% \changes{0.33}{2003/05/22}{Added Dutch language}%
+% \begin{macrocode}
+%<*dutch>
+% \end{macrocode}
+%
+% \begin{macro}{\bibsdutch}
+% Bibliographic commands for Dutch.
+% \begin{macrocode}
+\newcommand\bibsdutch[1][dutch]{%
+ \def\biblanguagename{#1}%
+ \def\btxetalshort##1{\protect\foreignlanguage{#1}{et~al##1{}}}%
+ \def\btxetallong##1{\protect\foreignlanguage{#1}{en anderen}}%
+ \def\btxandshort##1{\protect\foreignlanguage{#1}{en}}%
+ \def\btxandlong##1{\protect\foreignlanguage{#1}{en}}%
+ \def\btxandcomma##1{,}%
+ \def\btxinlong##1{\protect\foreignlanguage{#1}{in}}%
+ \def\btxinshort##1{\protect\foreignlanguage{#1}{in}}%
+ \def\btxofseriesshort##1{\protect\foreignlanguage{#1}{van}}%
+ \def\btxinseriesshort##1{\protect\foreignlanguage{#1}{in}}%
+ \def\btxofserieslong##1{\protect\foreignlanguage{#1}{van}}%
+ \def\btxinserieslong##1{\protect\foreignlanguage{#1}{in}}%
+ \def\btxeditorshort##1{\protect\foreignlanguage{#1}{red##1{}}}%
+ \def\btxeditorlong##1{\protect\foreignlanguage{#1}{redactie}}%
+ \def\btxeditorsshort##1{\protect\foreignlanguage{#1}{red##1{}}}%
+ \def\btxeditorslong##1{\protect\foreignlanguage{#1}{redactie}}%
+ \def\btxvolumeshort##1{\protect\foreignlanguage{#1}{vol##1{}}}%
+ \def\btxvolumelong##1{\protect\foreignlanguage{#1}{volume}}%
+ \def\btxnumbershort##1{\protect\foreignlanguage{#1}{nr##1{}}}%
+ \def\btxnumberlong##1{\protect\foreignlanguage{#1}{nummer}}%
+ \def\btxeditionshort##1{\protect\foreignlanguage{#1}{druk}}%
+ \def\btxeditionlong##1{\protect\foreignlanguage{#1}{uitgave}}%
+ \def\btxeditionnumshort##1##2{\btxnumeralshort{##1}~\btxeditionshort{##2}}%
+ \def\btxeditionnumlong##1##2{\btxnumerallong{##1}~\btxeditionlong{##2}}%
+ \def\btxchaptershort##1{\protect\foreignlanguage{#1}{hfdst##1{}}}%
+ \def\btxchapterlong##1{\protect\foreignlanguage{#1}{hoofdstuk}}%
+ \def\btxpageshort##1{\protect\foreignlanguage{#1}{pag##1{}}}%
+ \def\btxpagelong##1{\protect\foreignlanguage{#1}{pagina}}%
+ \def\btxpagesshort##1{\protect\foreignlanguage{#1}{pag##1{}}}%
+ \def\btxpageslong##1{\protect\foreignlanguage{#1}{pagina's}}%
+ \def\btxmastthesis##1{\protect\foreignlanguage{#1}{scriptie}}%
+ \def\btxphdthesis##1{\protect\foreignlanguage{#1}{proefschrift}}%
+ \def\btxtechrepshort##1{\protect\foreignlanguage{#1}{Tech.\ Rapp##1{}}}%
+ \def\btxtechreplong##1{\protect\foreignlanguage{#1}{Technisch Rapport}}%
+ \def\btxmonjanlong##1{\protect\foreignlanguage{#1}{Januari}}%
+ \def\btxmonfeblong##1{\protect\foreignlanguage{#1}{Februari}}%
+ \def\btxmonmarlong##1{\protect\foreignlanguage{#1}{Maart}}%
+ \def\btxmonaprlong##1{\protect\foreignlanguage{#1}{April}}%
+ \def\btxmonmaylong##1{\protect\foreignlanguage{#1}{Mei}}%
+ \def\btxmonjunlong##1{\protect\foreignlanguage{#1}{Juni}}%
+ \def\btxmonjullong##1{\protect\foreignlanguage{#1}{Juli}}%
+ \def\btxmonauglong##1{\protect\foreignlanguage{#1}{Augustus}}%
+ \def\btxmonseplong##1{\protect\foreignlanguage{#1}{September}}%
+ \def\btxmonoctlong##1{\protect\foreignlanguage{#1}{Oktober}}%
+ \def\btxmonnovlong##1{\protect\foreignlanguage{#1}{November}}%
+ \def\btxmondeclong##1{\protect\foreignlanguage{#1}{December}}%
+ \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{Jan##1{}}}%
+ \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{Feb##1{}}}%
+ \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{Mrt}}%
+ \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{Apr##1{}}}%
+ \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{Mei}}%
+ \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{Jun##1{}}}%
+ \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{Jul##1{}}}%
+ \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{Aug##1{}}}%
+ \def\btxmonsepshort##1{\protect\foreignlanguage{#1}{Sep##1{}}}%
+ \def\btxmonoctshort##1{\protect\foreignlanguage{#1}{Okt##1{}}}%
+ \def\btxmonnovshort##1{\protect\foreignlanguage{#1}{Nov##1{}}}%
+ \def\btxmondecshort##1{\protect\foreignlanguage{#1}{Dec##1{}}}%
+ \def\Btxinlong##1{\protect\foreignlanguage{#1}{In}}%
+ \def\Btxinshort##1{\protect\foreignlanguage{#1}{In}}%
+ \def\Btxeditorshort##1{\protect\foreignlanguage{#1}{Red##1{}}}%
+ \def\Btxeditorlong##1{\protect\foreignlanguage{#1}{Redactie}}%
+ \def\Btxeditorsshort##1{\protect\foreignlanguage{#1}{Red##1{}}}%
+ \def\Btxeditorslong##1{\protect\foreignlanguage{#1}{Redactie}}%
+ \def\Btxvolumeshort##1{\protect\foreignlanguage{#1}{Vol##1{}}}%
+ \def\Btxvolumelong##1{\protect\foreignlanguage{#1}{Volume}}%
+ \def\Btxnumbershort##1{\protect\foreignlanguage{#1}{Nr##1{}}}%
+ \def\Btxnumberlong##1{\protect\foreignlanguage{#1}{Nummer}}%
+ \def\Btxeditionshort##1{\protect\foreignlanguage{#1}{Druk}}%
+ \def\Btxeditionlong##1{\protect\foreignlanguage{#1}{Uitgave}}%
+ \def\Btxeditionnumshort##1##2{\btxnumeralshort{##1}~\Btxeditionshort{##2}}%
+ \def\Btxeditionnumlong##1##2{\btxnumerallong{##1}~\Btxeditionlong{##2}}%
+ \def\Btxchaptershort##1{\protect\foreignlanguage{#1}{Hfdst##1{}}}%
+ \def\Btxchapterlong##1{\protect\foreignlanguage{#1}{Hoofdstuk}}%
+ \def\Btxpageshort##1{\protect\foreignlanguage{#1}{Pag##1{}}}%
+ \def\Btxpagelong##1{\protect\foreignlanguage{#1}{Pagina}}%
+ \def\Btxpagesshort##1{\protect\foreignlanguage{#1}{Pags##1{}}}%
+ \def\Btxpageslong##1{\protect\foreignlanguage{#1}{Pagina's}}%
+ \def\Btxtechrepshort##1{\protect\foreignlanguage{#1}{Tech.\ Rapp##1{}}}%
+ \def\Btxtechreplong##1{\protect\foreignlanguage{#1}{Technisch Rapport}}%
+ \def\btxurldatecomment##1{\protect\foreignlanguage{#1}{, bezocht op ##1}}%
+ \def\btxfnamespaceshort{\,}%
+ \def\btxfnamespacelong{ }%
+ \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}%
+ \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}%
+% \end{macrocode}
+% Define how to print month and year in numeric format, e.\,g. MM/YYYY.
+% \begin{macrocode}
+ \def\btxprintmonthyearnum##1##2{##1/##2}%
+ \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}%
+ \ifbbbblanguagenames
+ \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{engels}}%
+ % \def\btxlanguagenameaustrian{\protect\foreignlanguage{#1}{german}}%
+ \def\btxlanguagenamebrazil{\protect\foreignlanguage{#1}{portugees}}%
+ \def\btxlanguagenamebrazilian{\protect\foreignlanguage{#1}{portugees}}%
+ \def\btxlanguagenamebritish{\protect\foreignlanguage{#1}{engels}}%
+ % \def\btxlanguagenamebulgarian{\protect\foreignlanguage{#1}{bulgarian}}%
+ \def\btxlanguagenamecanadian{\protect\foreignlanguage{#1}{engels}}%
+ % \def\btxlanguagenamecanadien{\protect\foreignlanguage{#1}{french}}%
+ % \def\btxlanguagenamecatalan{\protect\foreignlanguage{#1}{catalan}}%
+ % \def\btxlanguagenamecroatian{\protect\foreignlanguage{#1}{croatian}}%
+ % \def\btxlanguagenameczech{\protect\foreignlanguage{#1}{czech}}%
+ % \def\btxlanguagenamedanish{\protect\foreignlanguage{#1}{d\"anisch}}%
+ % \def\btxlanguagenamedutch{\protect\foreignlanguage{#1}{dutch}}%
+ \def\btxlanguagenameenglish{\protect\foreignlanguage{#1}{engels}}%
+ % \def\btxlanguagenameesperanto{\protect\foreignlanguage{#1}{esperanto}}%
+ % \def\btxlanguagenamefinnish{\protect\foreignlanguage{#1}{finnish}}%
+ % \def\btxlanguagenamefrancais{\protect\foreignlanguage{#1}{french}}%
+ % \def\btxlanguagenamefrench{\protect\foreignlanguage{#1}{french}}%
+ % \def\btxlanguagenamefrenchb{\protect\foreignlanguage{#1}{french}}%
+ % \def\btxlanguagenamegerman{\protect\foreignlanguage{#1}{german}}%
+ % \def\btxlanguagenamegermanb{\protect\foreignlanguage{#1}{german}}%
+ % \def\btxlanguagenamegreek{\protect\foreignlanguage{#1}{greek}}%
+ % \def\btxlanguagenamehebrew{\protect\foreignlanguage{#1}{hebrew}}%
+ % \def\btxlanguagenamehungarian{\protect\foreignlanguage{#1}{hungarian}}%
+ % \def\btxlanguagenameicelandic{\protect\foreignlanguage{#1}{icelandic}}%
+ % \def\btxlanguagenameirish{\protect\foreignlanguage{#1}{irish}}%
+ % \def\btxlanguagenameitalian{\protect\foreignlanguage{#1}{italian}}%
+ % \def\btxlanguagenamelatin{\protect\foreignlanguage{#1}{latin}}%
+ % \def\btxlanguagenamenaustrian{\protect\foreignlanguage{#1}{german}}%
+ % \def\btxlanguagenamengerman{\protect\foreignlanguage{#1}{german}}%
+ % \def\btxlanguagenamenorsk{\protect\foreignlanguage{#1}{norwegian}}%
+ % \def\btxlanguagenamenynorsk{\protect\foreignlanguage{#1}{new-norwegian}}%
+ % \def\btxlanguagenamepolish{\protect\foreignlanguage{#1}{polish}}%
+ \def\btxlanguagenameportuges{\protect\foreignlanguage{#1}{portugees}}%
+ \def\btxlanguagenameportuguese{\protect\foreignlanguage{#1}{portugees}}%
+ % \def\btxlanguagenamerussian{\protect\foreignlanguage{#1}{russian}}%
+ % \def\btxlanguagenamescottish{\protect\foreignlanguage{#1}{scottish}}%
+ % \def\btxlanguagenameserbian{\protect\foreignlanguage{#1}{serbian}}%
+ % \def\btxlanguagenamespanish{\protect\foreignlanguage{#1}{spanish}}%
+ % \def\btxlanguagenameswedish{\protect\foreignlanguage{#1}{swedish}}%
+ % \def\btxlanguagenameturkish{\protect\foreignlanguage{#1}{turkish}}%
+ \def\btxlanguagenameUKenglish{\protect\foreignlanguage{#1}{engels}}%
+ \def\btxlanguagenameUSenglish{\protect\foreignlanguage{#1}{engels}}%
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% Append the definitions to the language-calling commands.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \ifbbbbfixlanguage
+ \else
+ \bbbbaddto{dutch}{bibsdutch}
+ \fi
+% \end{macrocode}
+% Switch on the change of case in titles for all Dutch dialects by
+% appending \cs{btxifchangecaseoff} to \cs{extras}\meta{language}.
+% \begin{macrocode}
+ \bbbbaddto{dutch}{btxifchangecaseoff}
+}
+%</dutch>
+% \end{macrocode}
+%
+% \subsubsection{Swedish}
+% \changes{0.33}{2003/05/22}{Added Swedish language}%
+% \changes{0.41}{2003/11/03}{Corrected swedish (by Hans Fredrik Nordhaug)}%
+% \changes{1.31}{2012/01/03}{Corrected Swedish (by Erik {\"O}sthols)}%
+% \begin{macrocode}
+%<*swedish>
+% \end{macrocode}
+%
+% The language definition for Swedish was provided by Hans Fredrik
+% Nordhaug and Erik {\"O}sthols.
+%
+% \begin{macro}{\bibsswedish}
+% Bibliographic commands for Swedish.
+% \begin{macrocode}
+\newcommand\bibsswedish[1][swedish]{%
+ \def\biblanguagename{#1}%
+ \def\btxetalshort##1{\protect\foreignlanguage{#1}{et~al##1{}}}%
+ \def\btxetallong##1{\protect\foreignlanguage{#1}{et~alii}}%
+ \def\btxandshort##1{\protect\foreignlanguage{#1}{och}}%
+ \def\btxandlong##1{\protect\foreignlanguage{#1}{och}}%
+ \def\btxandcomma##1{}%
+ \def\btxinlong##1{\protect\foreignlanguage{#1}{i}}%
+ \def\btxinshort##1{\protect\foreignlanguage{#1}{i}}%
+ \def\btxofseriesshort##1{\protect\foreignlanguage{#1}{av}}%
+ \def\btxinseriesshort##1{\protect\foreignlanguage{#1}{i}}%
+ \def\btxofserieslong##1{\protect\foreignlanguage{#1}{av}}%
+ \def\btxinserieslong##1{\protect\foreignlanguage{#1}{i}}%
+ \def\btxeditorshort##1{\protect\foreignlanguage{#1}{red##1{}}}%
+ \def\btxeditorlong##1{\protect\foreignlanguage{#1}{redakt\"or}}%
+ \def\btxeditorsshort##1{\protect\foreignlanguage{#1}{red##1{}}}%
+ \def\btxeditorslong##1{\protect\foreignlanguage{#1}{redakt\"orer}}%
+ \def\btxvolumeshort##1{\protect\foreignlanguage{#1}{vol##1{}}}%
+ \def\btxvolumelong##1{\protect\foreignlanguage{#1}{volym}}%
+ \def\btxnumbershort##1{\protect\foreignlanguage{#1}{nr##1{}}}%
+ \def\btxnumberlong##1{\protect\foreignlanguage{#1}{nummer}}%
+ \def\btxeditionshort##1{\protect\foreignlanguage{#1}{utg}}%
+ \def\btxeditionlong##1{\protect\foreignlanguage{#1}{utg\aa va}}%
+ \def\btxeditionnumshort##1##2{\btxnumeralshort{##1}~\btxeditionshort{##2}}%
+ \def\btxeditionnumlong##1##2{\btxnumerallong{##1}~\btxeditionlong{##2}}%
+ \def\btxchaptershort##1{\protect\foreignlanguage{#1}{kap##1{}}}%
+ \def\btxchapterlong##1{\protect\foreignlanguage{#1}{kapitel}}%
+ \def\btxpageshort##1{\protect\foreignlanguage{#1}{ss##1{}}}%
+ \def\btxpagelong##1{\protect\foreignlanguage{#1}{sida}}%
+ \def\btxpagesshort##1{\protect\foreignlanguage{#1}{s##1{}}}%
+ \def\btxpageslong##1{\protect\foreignlanguage{#1}{sidor}}%
+ \def\btxmastthesis##1{\protect\foreignlanguage{#1}{examensarbete}}%
+ \def\btxphdthesis##1{\protect\foreignlanguage{#1}{doktorsavhandling}}%
+ \def\btxtechrepshort##1{\protect\foreignlanguage{#1}{Tekn.\ rapp##1{}}}%
+ \def\btxtechreplong##1{\protect\foreignlanguage{#1}{Teknisk rapport}}%
+ \def\btxmonjanlong##1{\protect\foreignlanguage{#1}{januari}}%
+ \def\btxmonfeblong##1{\protect\foreignlanguage{#1}{februari}}%
+ \def\btxmonmarlong##1{\protect\foreignlanguage{#1}{mars}}%
+ \def\btxmonaprlong##1{\protect\foreignlanguage{#1}{april}}%
+ \def\btxmonmaylong##1{\protect\foreignlanguage{#1}{maj}}%
+ \def\btxmonjunlong##1{\protect\foreignlanguage{#1}{juni}}%
+ \def\btxmonjullong##1{\protect\foreignlanguage{#1}{juli}}%
+ \def\btxmonauglong##1{\protect\foreignlanguage{#1}{augusti}}%
+ \def\btxmonseplong##1{\protect\foreignlanguage{#1}{september}}%
+ \def\btxmonoctlong##1{\protect\foreignlanguage{#1}{oktober}}%
+ \def\btxmonnovlong##1{\protect\foreignlanguage{#1}{november}}%
+ \def\btxmondeclong##1{\protect\foreignlanguage{#1}{december}}%
+ \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{jan##1{}}}%
+ \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{feb##1{}}}%
+ \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{mar}}%
+ \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{apr##1{}}}%
+ \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{maj}}%
+ \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{jun##1{}}}%
+ \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{jul##1{}}}%
+ \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{aug##1{}}}%
+ \def\btxmonsepshort##1{\protect\foreignlanguage{#1}{sep##1{}}}%
+ \def\btxmonoctshort##1{\protect\foreignlanguage{#1}{okt##1{}}}%
+ \def\btxmonnovshort##1{\protect\foreignlanguage{#1}{nov##1{}}}%
+ \def\btxmondecshort##1{\protect\foreignlanguage{#1}{dec##1{}}}%
+ \def\Btxinlong##1{\protect\foreignlanguage{#1}{I}}%
+ \def\Btxinshort##1{\protect\foreignlanguage{#1}{I}}%
+ \def\Btxeditorshort##1{\protect\foreignlanguage{#1}{Red##1{}}}%
+ \def\Btxeditorlong##1{\protect\foreignlanguage{#1}{Redakt\"or}}%
+ \def\Btxeditorsshort##1{\protect\foreignlanguage{#1}{Red##1{}}}%
+ \def\Btxeditorslong##1{\protect\foreignlanguage{#1}{Redakt\"orer}}%
+ \def\Btxvolumeshort##1{\protect\foreignlanguage{#1}{Vol##1{}}}%
+ \def\Btxvolumelong##1{\protect\foreignlanguage{#1}{Volym}}%
+ \def\Btxnumbershort##1{\protect\foreignlanguage{#1}{Nr##1{}}}%
+ \def\Btxnumberlong##1{\protect\foreignlanguage{#1}{Nummer}}%
+ \def\Btxeditionshort##1{\protect\foreignlanguage{#1}{Utg}}%
+ \def\Btxeditionlong##1{\protect\foreignlanguage{#1}{Utg\aa va}}%
+ \def\Btxeditionnumshort##1##2{\btxnumeralshort{##1}~\Btxeditionshort{##2}}%
+ \def\Btxeditionnumlong##1##2{\btxnumerallong{##1}~\Btxeditionlong{##2}}%
+ \def\Btxchaptershort##1{\protect\foreignlanguage{#1}{Kap##1{}}}%
+ \def\Btxchapterlong##1{\protect\foreignlanguage{#1}{Kapitel}}%
+ \def\Btxpageshort##1{\protect\foreignlanguage{#1}{S##1{}}}%
+ \def\Btxpagelong##1{\protect\foreignlanguage{#1}{Sida}}%
+ \def\Btxpagesshort##1{\protect\foreignlanguage{#1}{Ss##1{}}}%
+ \def\Btxpageslong##1{\protect\foreignlanguage{#1}{Sida}}%
+ \def\Btxtechrepshort##1{\protect\foreignlanguage{#1}{Tekn.\ Rapp##1{}}}%
+ \def\Btxtechreplong##1{\protect\foreignlanguage{#1}{Teknisk Rapport}}%
+ \def\btxurldatecomment##1{\protect\foreignlanguage{#1}{, nedladdad ##1}}%
+ \def\btxfnamespaceshort{\,}%
+ \def\btxfnamespacelong{ }%
+ \def\btxnumeralshort#1{\btxnumeralswedish{swedish}{#1}}%
+ \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}%
+ \def\btxnumerallong##1{%
+ \ifnumber{##1}{%
+ \ifcase##1 0:e\or f\"orsta\or andra\or tredje\or fj\"arde\or femte\or
+ sj\"atte\or sjunde\or {\aa}ttonde\or nionde\or tionde\else
+ \btxnumeralswedish{swedish}{##1}%
+ \fi}{##1}%
+ }%
+% \end{macrocode}
+% Define how to print month and year in numeric format, e.\,g. MM/YYYY.
+% \begin{macrocode}
+ \def\btxprintmonthyearnum##1##2{##1~##2}%
+ \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}%
+ \ifbbbblanguagenames
+ \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{engelska}}%
+ \def\btxlanguagenameaustrian{\protect\foreignlanguage{#1}{tyska}}%
+ \def\btxlanguagenamebrazil{\protect\foreignlanguage{#1}{portugisiska}}%
+ \def\btxlanguagenamebrazilian{\protect\foreignlanguage{#1}{portugisiska}}%
+ \def\btxlanguagenamebritish{\protect\foreignlanguage{#1}{engelska}}%
+ \def\btxlanguagenamebulgarian{\protect\foreignlanguage{#1}{bulgariska}}%
+ \def\btxlanguagenamecanadian{\protect\foreignlanguage{#1}{engelska}}%
+ \def\btxlanguagenamecanadien{\protect\foreignlanguage{#1}{franska}}%
+ \def\btxlanguagenamecatalan{\protect\foreignlanguage{#1}{katalanska}}%
+ \def\btxlanguagenamecroatian{\protect\foreignlanguage{#1}{kroatiska}}%
+ \def\btxlanguagenameczech{\protect\foreignlanguage{#1}{tjeckiska}}%
+ \def\btxlanguagenamedanish{\protect\foreignlanguage{#1}{danska}}%
+ \def\btxlanguagenamedutch{\protect\foreignlanguage{#1}{nederl\"andska}}%
+ \def\btxlanguagenameenglish{\protect\foreignlanguage{#1}{engelska}}%
+ \def\btxlanguagenameesperanto{\protect\foreignlanguage{#1}{esperanto}}%
+ \def\btxlanguagenamefinnish{\protect\foreignlanguage{#1}{finska}}%
+ \def\btxlanguagenamefrancais{\protect\foreignlanguage{#1}{franska}}%
+ \def\btxlanguagenamefrench{\protect\foreignlanguage{#1}{franska}}%
+ \def\btxlanguagenamefrenchb{\protect\foreignlanguage{#1}{franska}}%
+ \def\btxlanguagenamegerman{\protect\foreignlanguage{#1}{tyska}}%
+ \def\btxlanguagenamegermanb{\protect\foreignlanguage{#1}{tyska}}%
+ \def\btxlanguagenamegreek{\protect\foreignlanguage{#1}{grekiska}}%
+ \def\btxlanguagenamehebrew{\protect\foreignlanguage{#1}{hebreiska}}%
+ \def\btxlanguagenamehungarian{\protect\foreignlanguage{#1}{ungerska}}%
+ \def\btxlanguagenameicelandic{\protect\foreignlanguage{#1}{isl\"andska}}%
+ \def\btxlanguagenameirish{\protect\foreignlanguage{#1}{iriska}}%
+ \def\btxlanguagenameitalian{\protect\foreignlanguage{#1}{italienska}}%
+ \def\btxlanguagenamelatin{\protect\foreignlanguage{#1}{latin}}%
+ \def\btxlanguagenamenaustrian{\protect\foreignlanguage{#1}{tyska}}%
+ \def\btxlanguagenamengerman{\protect\foreignlanguage{#1}{tyska}}%
+ \def\btxlanguagenamenorsk{\protect\foreignlanguage{#1}{norska}}%
+ \def\btxlanguagenamenynorsk{\protect\foreignlanguage{#1}{nynorska}}%
+ \def\btxlanguagenamepolish{\protect\foreignlanguage{#1}{polska}}%
+ \def\btxlanguagenameportuges{\protect\foreignlanguage{#1}{portugisiska}}%
+ \def\btxlanguagenameportuguese{\protect\foreignlanguage{#1}{portugisiska}}%
+ \def\btxlanguagenamerussian{\protect\foreignlanguage{#1}{ryska}}%
+ \def\btxlanguagenamescottish{\protect\foreignlanguage{#1}{skotska}}%
+ \def\btxlanguagenameserbian{\protect\foreignlanguage{#1}{serbiska}}%
+ \def\btxlanguagenamespanish{\protect\foreignlanguage{#1}{spanska}}%
+ \def\btxlanguagenameswedish{\protect\foreignlanguage{#1}{svenska}}%
+ \def\btxlanguagenameturkish{\protect\foreignlanguage{#1}{turkiska}}%
+ \def\btxlanguagenameUKenglish{\protect\foreignlanguage{#1}{engelska}}%
+ \def\btxlanguagenameUSenglish{\protect\foreignlanguage{#1}{engelska}}%
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% Append the definitions to the language-calling commands.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \ifbbbbfixlanguage
+ \else
+ \bbbbaddto{swedish}{bibsswedish}
+ \fi
+% \end{macrocode}
+% Switch on the change of case in titles for all Swedish dialects by
+% appending \cs{btxifchangecaseoff} to \cs{extras}\meta{language}.
+% \begin{macrocode}
+ \bbbbaddto{swedish}{btxifchangecaseoff}
+}
+%</swedish>
+% \end{macrocode}
+%
+% \subsubsection{Afrikaans}
+% \changes{0.34}{2003/07/28}{Added Afrikaans language}%
+% \begin{macrocode}
+%<*afrikaans>
+% \end{macrocode}
+%
+% The language definition for Afrikaans was provided by Danie Els.
+%
+% \begin{macro}{\bibsafrikaans}
+% Bibliographic commands for Afrikaans.
+% \begin{macrocode}
+\newcommand\bibsafrikaans[1][afrikaans]{%
+ \def\biblanguagename{#1}%
+ \def\btxetalshort##1{\protect\foreignlanguage{#1}{et~al##1{}}}%
+ \def\btxetallong##1{\protect\foreignlanguage{#1}{et~alii}}%
+ \def\btxandshort##1{\protect\foreignlanguage{#1}{en}}%
+ \def\btxandlong##1{\protect\foreignlanguage{#1}{en}}%
+ \def\btxandcomma##1{\protect\foreignlanguage{#1}{}}%
+ \def\btxinlong##1{\protect\foreignlanguage{#1}{in}}%
+ \def\btxinshort##1{\protect\foreignlanguage{#1}{in}}%
+ \def\btxofseriesshort##1{\protect\foreignlanguage{#1}{van}}%
+ \def\btxinseriesshort##1{\protect\foreignlanguage{#1}{in}}%
+ \def\btxofserieslong##1{\protect\foreignlanguage{#1}{van}}%
+ \def\btxinserieslong##1{\protect\foreignlanguage{#1}{in}}%
+ \def\btxeditorshort##1{\protect\foreignlanguage{#1}{red##1{}}}%
+ \def\btxeditorlong##1{\protect\foreignlanguage{#1}{redakteur}}%
+ \def\btxeditorsshort##1{\protect\foreignlanguage{#1}{reds##1{}}}%
+ \def\btxeditorslong##1{\protect\foreignlanguage{#1}{redakteurs}}%
+ \def\btxvolumeshort##1{\protect\foreignlanguage{#1}{vol##1{}}}%
+ \def\btxvolumelong##1{\protect\foreignlanguage{#1}{volume}}%
+ \def\btxnumbershort##1{\protect\foreignlanguage{#1}{no##1{}}}%
+ \def\btxnumberlong##1{\protect\foreignlanguage{#1}{nommer}}%
+ \def\btxeditionshort##1{\protect\foreignlanguage{#1}{uitg##1{}}}%
+ \def\btxeditionlong##1{\protect\foreignlanguage{#1}{uitgawe}}%
+ \def\btxeditionnumshort##1##2{\btxnumeralshort{##1}~\btxeditionshort{##2}}%
+ \def\btxeditionnumlong##1##2{\btxnumerallong{##1}~\btxeditionlong{##2}}%
+ \def\btxchaptershort##1{\protect\foreignlanguage{#1}{hfst##1{}}}%
+ \def\btxchapterlong##1{\protect\foreignlanguage{#1}{hoofstuk}}%
+ \def\btxpageshort##1{\protect\foreignlanguage{#1}{p##1{}}}%
+ \def\btxpagelong##1{\protect\foreignlanguage{#1}{bladsy}}%
+ \def\btxpagesshort##1{\protect\foreignlanguage{#1}{pp##1{}}}%
+ \def\btxpageslong##1{\protect\foreignlanguage{#1}{bladsye}}%
+ \def\btxmastthesis##1{\protect\foreignlanguage{#1}{Meesters tesis}}%
+ \def\btxphdthesis##1{\protect\foreignlanguage{#1}{PhD verhandeling}}%
+ \def\btxtechrepshort##1{\protect\foreignlanguage{#1}{Tegn.\ versl##1{}}}%
+ \def\btxtechreplong##1{\protect\foreignlanguage{#1}{Tegniese verslag}}%
+ \def\btxmonjanlong##1{\protect\foreignlanguage{#1}{Januarie}}%
+ \def\btxmonfeblong##1{\protect\foreignlanguage{#1}{Februarie}}%
+ \def\btxmonmarlong##1{\protect\foreignlanguage{#1}{Maart}}%
+ \def\btxmonaprlong##1{\protect\foreignlanguage{#1}{April}}%
+ \def\btxmonmaylong##1{\protect\foreignlanguage{#1}{Mei}}%
+ \def\btxmonjunlong##1{\protect\foreignlanguage{#1}{Junie}}%
+ \def\btxmonjullong##1{\protect\foreignlanguage{#1}{Julie}}%
+ \def\btxmonauglong##1{\protect\foreignlanguage{#1}{Augustus}}%
+ \def\btxmonseplong##1{\protect\foreignlanguage{#1}{September}}%
+ \def\btxmonoctlong##1{\protect\foreignlanguage{#1}{Oktober}}%
+ \def\btxmonnovlong##1{\protect\foreignlanguage{#1}{November}}%
+ \def\btxmondeclong##1{\protect\foreignlanguage{#1}{Desember}}%
+ \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{Jan##1{}}}%
+ \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{Feb##1{}}}%
+ \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{Mrt##1{}}}%
+ \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{Apr##1{}}}%
+ \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{Mei##1}}%
+ \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{Jun##1}}%
+ \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{Jul##1}}%
+ \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{Aug##1{}}}%
+ \def\btxmonsepshort##1{\protect\foreignlanguage{#1}{Sep##1{}}}%
+ \def\btxmonoctshort##1{\protect\foreignlanguage{#1}{Okt##1{}}}%
+ \def\btxmonnovshort##1{\protect\foreignlanguage{#1}{Nov##1{}}}%
+ \def\btxmondecshort##1{\protect\foreignlanguage{#1}{Des##1{}}}%
+ \def\Btxinlong##1{\protect\foreignlanguage{#1}{In}}%
+ \def\Btxinshort##1{\protect\foreignlanguage{#1}{In}}%
+ \def\Btxeditorshort##1{\protect\foreignlanguage{#1}{Red##1{}}}%
+ \def\Btxeditorlong##1{\protect\foreignlanguage{#1}{Redakteur}}%
+ \def\Btxeditorsshort##1{\protect\foreignlanguage{#1}{Reds##1{}}}%
+ \def\Btxeditorslong##1{\protect\foreignlanguage{#1}{Redakteurs}}%
+ \def\Btxvolumeshort##1{\protect\foreignlanguage{#1}{Vol##1{}}}%
+ \def\Btxvolumelong##1{\protect\foreignlanguage{#1}{Volume}}%
+ \def\Btxnumbershort##1{\protect\foreignlanguage{#1}{No##1{}}}%
+ \def\Btxnumberlong##1{\protect\foreignlanguage{#1}{Nommer}}%
+ \def\Btxeditionshort##1{\protect\foreignlanguage{#1}{Uitg##1{}}}%
+ \def\Btxeditionlong##1{\protect\foreignlanguage{#1}{Uitgawe}}%
+ \def\Btxeditionnumshort##1##2{\btxnumeralshort{##1}~\Btxeditionshort{##2}}%
+ \def\Btxeditionnumlong##1##2{\btxnumerallong{##1}~\Btxeditionlong{##2}}%
+ \def\Btxchaptershort##1{\protect\foreignlanguage{#1}{Hfst##1{}}}%
+ \def\Btxchapterlong##1{\protect\foreignlanguage{#1}{Hoofstuk}}%
+ \def\Btxpageshort##1{\protect\foreignlanguage{#1}{P##1{}}}%
+ \def\Btxpagelong##1{\protect\foreignlanguage{#1}{Bladsy}}%
+ \def\Btxpagesshort##1{\protect\foreignlanguage{#1}{Pp##1{}}}%
+ \def\Btxpageslong##1{\protect\foreignlanguage{#1}{Bladsye}}%
+ \def\Btxtechrepshort##1{\protect\foreignlanguage{#1}{Tegn.\ Verslag}}%
+ \def\Btxtechreplong##1{\protect\foreignlanguage{#1}{Tegniese Verslag}}%
+% \def\btxurldatecomment##1{\protect\foreignlanguage{#1}{, ?? ##1}}%
+ \def\btxurldatecomment##1{\PackageError{babelbib}{Comment for
+ urldate in Afrikaans undefined. Please send the translation for
+ 'visited on' to harald.harders@tu-bs.de}{} [##1]}%
+ \def\btxfnamespaceshort{\,}%
+ \def\btxfnamespacelong{ }%
+ \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}%
+ \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}%
+% \end{macrocode}
+% Define how to print month and year in numeric format, e.\,g. MM/YYYY.
+% \begin{macrocode}
+ \def\btxprintmonthyearnum##1##2{##1/##2}%
+ \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}%
+ \ifbbbblanguagenames
+ \def\btxlanguagenameafrikaans{\protect\foreignlanguage{#1}{afrikaans}}%
+ \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{engels}}%
+ \def\btxlanguagenameaustrian{\protect\foreignlanguage{#1}{duits}}%
+ \def\btxlanguagenamebrazil{\protect\foreignlanguage{#1}{portugees}}%
+ \def\btxlanguagenamebrazilian{\protect\foreignlanguage{#1}{portugees}}%
+ \def\btxlanguagenamebritish{\protect\foreignlanguage{#1}{engels}}%
+ \def\btxlanguagenamebulgarian{\protect\foreignlanguage{#1}{bulgaars}}%
+ \def\btxlanguagenamecanadian{\protect\foreignlanguage{#1}{engels}}%
+ \def\btxlanguagenamecanadien{\protect\foreignlanguage{#1}{frans}}%
+ \def\btxlanguagenamecatalan{\protect\foreignlanguage{#1}{katalaans}}%
+ \def\btxlanguagenamecroatian{\protect\foreignlanguage{#1}{kroaties}}%
+ \def\btxlanguagenameczech{\protect\foreignlanguage{#1}{tsjeggies}}%
+ \def\btxlanguagenamedanish{\protect\foreignlanguage{#1}{deens}}%
+ \def\btxlanguagenamedutch{\protect\foreignlanguage{#1}{nederlands}}%
+ \def\btxlanguagenameenglish{\protect\foreignlanguage{#1}{engels}}%
+ \def\btxlanguagenameesperanto{\protect\foreignlanguage{#1}{esperanto}}%
+ \def\btxlanguagenamefinnish{\protect\foreignlanguage{#1}{fins}}%
+ \def\btxlanguagenamefrancais{\protect\foreignlanguage{#1}{frans}}%
+ \def\btxlanguagenamefrench{\protect\foreignlanguage{#1}{frans}}%
+ \def\btxlanguagenamefrenchb{\protect\foreignlanguage{#1}{frans}}%
+ \def\btxlanguagenamegerman{\protect\foreignlanguage{#1}{duits}}%
+ \def\btxlanguagenamegermanb{\protect\foreignlanguage{#1}{duits}}%
+ \def\btxlanguagenamegreek{\protect\foreignlanguage{#1}{grieks}}%
+ \def\btxlanguagenamehebrew{\protect\foreignlanguage{#1}{hebreeus}}%
+ \def\btxlanguagenamenhungarian{\protect\foreignlanguage{#1}{hongaars}}%
+ \def\btxlanguagenamenicelandic{\protect\foreignlanguage{#1}{yslands}}%
+ \def\btxlanguagenamenirish{\protect\foreignlanguage{#1}{iers}}%
+ \def\btxlanguagenamenitalian{\protect\foreignlanguage{#1}{italiaans}}%
+ \def\btxlanguagenamenlatin{\protect\foreignlanguage{#1}{latyn}}%
+ \def\btxlanguagenamenaustrian{\protect\foreignlanguage{#1}{duits}}%
+ \def\btxlanguagenamengerman{\protect\foreignlanguage{#1}{duits}}%
+ \def\btxlanguagenamennorsk{\protect\foreignlanguage{#1}{noors}}%
+ \def\btxlanguagenamennynorsk{\protect\foreignlanguage{#1}{neo-noors}}%
+ \def\btxlanguagenamenpolish{\protect\foreignlanguage{#1}{pools}}%
+ \def\btxlanguagenamenportuges{\protect\foreignlanguage{#1}{portugees}}%
+ \def\btxlanguagenamenportuguese{\protect\foreignlanguage{#1}{portugees}}%
+ \def\btxlanguagenamenrussian{\protect\foreignlanguage{#1}{russies}}%
+ \def\btxlanguagenamenscottish{\protect\foreignlanguage{#1}{skots}}%
+ \def\btxlanguagenamenserbian{\protect\foreignlanguage{#1}{serwies}}%
+ \def\btxlanguagenamenspanish{\protect\foreignlanguage{#1}{spaans}}%
+ \def\btxlanguagenamenswedish{\protect\foreignlanguage{#1}{sweeds}}%
+ \def\btxlanguagenamenturkish{\protect\foreignlanguage{#1}{turks}}%
+ \def\btxlanguagenameUKenglish{\protect\foreignlanguage{#1}{engels}}%
+ \def\btxlanguagenameUSenglish{\protect\foreignlanguage{#1}{engels}}%
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% Append the definitions to the language-calling commands.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \ifbbbbfixlanguage
+ \else
+ \bbbbaddto{afrikaans}{bibsafrikaans}
+ \fi
+% \end{macrocode}
+% Switch on the change of case in titles for all Afrikaans dialects by
+% appending \cs{btxifchangecaseoff} to \cs{extras}\meta{language}.
+% \begin{macrocode}
+ \bbbbaddto{afrikaans}{btxifchangecaseoff}
+}
+%</afrikaans>
+% \end{macrocode}
+%
+% \subsubsection{Bahasa}
+% \begin{macrocode}
+%<*bahasa>
+% \end{macrocode}
+%
+% The language definition for Bahasa was provided by Yanti Yulianti.
+%
+% \begin{macro}{\bibsbahasa}
+% Bibliographic commands for Bahasa.
+% \begin{macrocode}
+\newcommand\bibsbahasa[1][bahasa]{%
+ \def\biblanguagename{#1}%
+ \def\btxetalshort##1{\protect\foreignlanguage{#1}{et~al##1{}}}%
+ \def\btxetallong##1{\protect\foreignlanguage{#1}{en~alii }}%
+ \def\btxandshort##1{\protect\foreignlanguage{#1}{dan}}%
+ \def\btxandlong##1{\protect\foreignlanguage{#1}{dan}}%
+ \def\btxandcomma##1{,}%
+ \def\btxinlong##1{\protect\foreignlanguage{#1}{dalam}}%
+ \def\btxinshort##1{\protect\foreignlanguage{#1}{dalam}}%
+ \def\btxofseriesshort##1{\protect\foreignlanguage{#1}{dari}}%
+ \def\btxinseriesshort##1{\protect\foreignlanguage{#1}{dalam}}%
+ \def\btxofserieslong##1{\protect\foreignlanguage{#1}{dari}}%
+ \def\btxinserieslong##1{\protect\foreignlanguage{#1}{dalam}}%
+ \def\btxeditorshort##1{\protect\foreignlanguage{#1}{red##1{}}}%
+ \def\btxeditorlong##1{\protect\foreignlanguage{#1}{redaktur}}%
+ \def\btxeditorsshort##1{\protect\foreignlanguage{#1}{red##1{}}}%
+ \def\btxeditorslong##1{\protect\foreignlanguage{#1}{redaktur}}%
+ \def\btxvolumeshort##1{\protect\foreignlanguage{#1}{vol##1{}}}%
+ \def\btxvolumelong##1{\protect\foreignlanguage{#1}{volume}}%
+ \def\btxnumbershort##1{\protect\foreignlanguage{#1}{nr##1{}}}%
+ \def\btxnumberlong##1{\protect\foreignlanguage{#1}{nomor}}%
+ \def\btxeditionshort##1{\protect\foreignlanguage{#1}{edisi}}%
+ \def\btxeditionlong##1{\protect\foreignlanguage{#1}{edisi}}%
+ \def\btxeditionnumshort##1##2{\btxnumeralshort{##1}~\btxeditionshort{##2}}%
+ \def\btxeditionnumlong##1##2{\btxnumerallong{##1}~\btxeditionlong{##2}}%
+ \def\btxchaptershort##1{\protect\foreignlanguage{#1}{bab##1{}}}%
+ \def\btxchapterlong##1{\protect\foreignlanguage{#1}{bab}}%
+ \def\btxpageshort##1{\protect\foreignlanguage{#1}{hal##1{}}}%
+ \def\btxpagelong##1{\protect\foreignlanguage{#1}{halaman}}%
+ \def\btxpagesshort##1{\protect\foreignlanguage{#1}{hal##1{}}}%
+ \def\btxpageslong##1{\protect\foreignlanguage{#1}{halaman}}%
+ \def\btxmastthesis##1{\protect\foreignlanguage{#1}{tesis Master}}%
+ \def\btxphdthesis##1{\protect\foreignlanguage{#1}{disertasi Dokotor}}%
+ \def\btxtechrepshort##1{\protect\foreignlanguage{#1}{Lap.\ Rapp##1{}}}%
+ \def\btxtechreplong##1{\protect\foreignlanguage{#1}{Laporan}}%
+ \def\btxmonjanlong##1{\protect\foreignlanguage{#1}{Januari}}%
+ \def\btxmonfeblong##1{\protect\foreignlanguage{#1}{Februari}}%
+ \def\btxmonmarlong##1{\protect\foreignlanguage{#1}{Maret}}%
+ \def\btxmonaprlong##1{\protect\foreignlanguage{#1}{April}}%
+ \def\btxmonmaylong##1{\protect\foreignlanguage{#1}{Mei}}%
+ \def\btxmonjunlong##1{\protect\foreignlanguage{#1}{Juni}}%
+ \def\btxmonjullong##1{\protect\foreignlanguage{#1}{Juli}}%
+ \def\btxmonauglong##1{\protect\foreignlanguage{#1}{Augustus}}%
+ \def\btxmonseplong##1{\protect\foreignlanguage{#1}{September}}%
+ \def\btxmonoctlong##1{\protect\foreignlanguage{#1}{Oktober}}%
+ \def\btxmonnovlong##1{\protect\foreignlanguage{#1}{November}}%
+ \def\btxmondeclong##1{\protect\foreignlanguage{#1}{Desember}}%
+ \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{Jan##1{}}}%
+ \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{Feb##1{}}}%
+ \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{Mrt}}%
+ \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{Apr##1{}}}%
+ \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{Mei}}%
+ \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{Jun##1{}}}%
+ \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{Jul##1{}}}%
+ \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{Aug##1{}}}%
+ \def\btxmonsepshort##1{\protect\foreignlanguage{#1}{Sep##1{}}}%
+ \def\btxmonoctshort##1{\protect\foreignlanguage{#1}{Okt##1{}}}%
+ \def\btxmonnovshort##1{\protect\foreignlanguage{#1}{Nov##1{}}}%
+ \def\btxmondecshort##1{\protect\foreignlanguage{#1}{Des##1{}}}%
+ \def\Btxinlong##1{\protect\foreignlanguage{#1}{Dalam}}%
+ \def\Btxinshort##1{\protect\foreignlanguage{#1}{Dalam}}%
+ \def\Btxeditorshort##1{\protect\foreignlanguage{#1}{Red##1{}}}%
+ \def\Btxeditorlong##1{\protect\foreignlanguage{#1}{Redaktur}}%
+ \def\Btxeditorsshort##1{\protect\foreignlanguage{#1}{Red##1{}}}%
+ \def\Btxeditorslong##1{\protect\foreignlanguage{#1}{Redaktur}}%
+ \def\Btxvolumeshort##1{\protect\foreignlanguage{#1}{Vol##1{}}}%
+ \def\Btxvolumelong##1{\protect\foreignlanguage{#1}{Volume}}%
+ \def\Btxnumbershort##1{\protect\foreignlanguage{#1}{Nr##1{}}}%
+ \def\Btxnumberlong##1{\protect\foreignlanguage{#1}{Nomor}}%
+ \def\Btxeditionshort##1{\protect\foreignlanguage{#1}{Ed}}%
+ \def\Btxeditionlong##1{\protect\foreignlanguage{#1}{Edisi}}%
+ \def\Btxeditionnumshort##1##2{\btxnumeralshort{##1}~\Btxeditionshort{##2}}%
+ \def\Btxeditionnumlong##1##2{\btxnumerallong{##1}~\Btxeditionlong{##2}}%
+ \def\Btxchaptershort##1{\protect\foreignlanguage{#1}{Bab##1{}}}%
+ \def\Btxchapterlong##1{\protect\foreignlanguage{#1}{Bab}}%
+ \def\Btxpageshort##1{\protect\foreignlanguage{#1}{Hal##1{}}}%
+ \def\Btxpagelong##1{\protect\foreignlanguage{#1}{Halaman}}%
+ \def\Btxpagesshort##1{\protect\foreignlanguage{#1}{Hal##1{}}}%
+ \def\Btxpageslong##1{\protect\foreignlanguage{#1}{Halaman}}%
+ \def\Btxtechrepshort##1{\protect\foreignlanguage{#1}{Lap.\ Rapp##1{}}}%
+ \def\Btxtechreplong##1{\protect\foreignlanguage{#1}{Laporan}}%
+ \def\btxurldatecomment##1{\protect\foreignlanguage{#1}{%
+ , diambil tanggal ##1}}%
+ \def\btxfnamespaceshort{\,}%
+ \def\btxfnamespacelong{ }%
+ \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}%
+ \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}%
+% \end{macrocode}
+% Define how to print month and year in numeric format, e.\,g. MM/YYYY.
+% \begin{macrocode}
+ \def\btxprintmonthyearnum##1##2{##1/##2}%
+ \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}%
+ \ifbbbblanguagenames
+ \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{inggris}}%
+ \def\btxlanguagenameaustrian{\protect\foreignlanguage{#1}{jerman}}%
+ \def\btxlanguagenamebrazil{\protect\foreignlanguage{#1}{portugis}}%
+ \def\btxlanguagenamebrazilian{\protect\foreignlanguage{#1}{portugis}}%
+ \def\btxlanguagenamebritish{\protect\foreignlanguage{#1}{inggris}}%
+ \def\btxlanguagenamebulgarian{\protect\foreignlanguage{#1}{bulgaria}}%
+ \def\btxlanguagenamecanadian{\protect\foreignlanguage{#1}{inggris}}%
+ \def\btxlanguagenamecanadien{\protect\foreignlanguage{#1}{prancis}}%
+ \def\btxlanguagenamecatalan{\protect\foreignlanguage{#1}{catalanya}}%
+ \def\btxlanguagenamecroatian{\protect\foreignlanguage{#1}{kroasia}}%
+ \def\btxlanguagenameczech{\protect\foreignlanguage{#1}{ceko}}%
+ \def\btxlanguagenamedanish{\protect\foreignlanguage{#1}{denmark}}%
+ \def\btxlanguagenamedutch{\protect\foreignlanguage{#1}{belanda}}%
+ \def\btxlanguagenameenglish{\protect\foreignlanguage{#1}{inggris}}%
+ \def\btxlanguagenameesperanto{\protect\foreignlanguage{#1}{spanyol}}%
+ \def\btxlanguagenamefinnish{\protect\foreignlanguage{#1}{finlandia}}%
+ \def\btxlanguagenamefrancais{\protect\foreignlanguage{#1}{prancis}}%
+ \def\btxlanguagenamefrench{\protect\foreignlanguage{#1}{prancis}}%
+ \def\btxlanguagenamefrenchb{\protect\foreignlanguage{#1}{prancis}}%
+ \def\btxlanguagenamegerman{\protect\foreignlanguage{#1}{jerman}}%
+ \def\btxlanguagenamegermanb{\protect\foreignlanguage{#1}{jerman}}%
+ \def\btxlanguagenamegreek{\protect\foreignlanguage{#1}{yunani}}%
+ \def\btxlanguagenamehebrew{\protect\foreignlanguage{#1}{yahudi}}%
+ \def\btxlanguagenamehungarian{\protect\foreignlanguage{#1}{hungaria}}%
+ \def\btxlanguagenameicelandic{\protect\foreignlanguage{#1}{islandia}}%
+ \def\btxlanguagenameirish{\protect\foreignlanguage{#1}{irlandia}}%
+ \def\btxlanguagenameitalian{\protect\foreignlanguage{#1}{italia}}%
+ \def\btxlanguagenamelatin{\protect\foreignlanguage{#1}{latin}}%
+ \def\btxlanguagenamenaustrian{\protect\foreignlanguage{#1}{jerman}}%
+ % \def\btxlanguagenamengerman{\protect\foreignlanguage{#1}{jerman}}%
+ % \def\btxlanguagenamenorsk{\protect\foreignlanguage{#1}{norwegia}}%
+ % \def\btxlanguagenamenynorsk{\protect\foreignlanguage{#1}{norwegia baru}}%
+ % \def\btxlanguagenamepolish{\protect\foreignlanguage{#1}{polish}}%
+ \def\btxlanguagenameportuges{\protect\foreignlanguage{#1}{portugis}}%
+ \def\btxlanguagenameportuguese{\protect\foreignlanguage{#1}{portugis}}%
+ \def\btxlanguagenamerussian{\protect\foreignlanguage{#1}{russia}}%
+ \def\btxlanguagenamescottish{\protect\foreignlanguage{#1}{skotlandia}}%
+ \def\btxlanguagenameserbian{\protect\foreignlanguage{#1}{serbia}}%
+ \def\btxlanguagenamespanish{\protect\foreignlanguage{#1}{spanyol}}%
+ \def\btxlanguagenameswedish{\protect\foreignlanguage{#1}{swedia}}%
+ \def\btxlanguagenameturkish{\protect\foreignlanguage{#1}{turki}}%
+ \def\btxlanguagenameUKenglish{\protect\foreignlanguage{#1}{inggris}}%
+ \def\btxlanguagenameUSenglish{\protect\foreignlanguage{#1}{inggris}}%
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% Append the definitions to the language-calling commands.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \ifbbbbfixlanguage
+ \else
+ \bbbbaddto{bahasa}{bibsbahasa}
+ \fi
+ \bbbbaddto{bahasa}{btxifchangecaseoff}
+}
+%</bahasa>
+% \end{macrocode}
+%
+% \subsubsection{Catalan}
+% \changes{1.00}{2005/02/16}{Added Catalan language}%
+% \begin{macrocode}
+%<*catalan>
+% \end{macrocode}
+%
+% The language definition for Catalan was provided by
+% Robert Fuster, rfuster@imm.upv.es.
+%
+% \begin{macro}{\bibsafrikaans}
+% \begin{macrocode}
+\newcommand\bibscatalan[1][catalan]{%
+ \def\biblanguagename{#1}%
+ \def\btxetalshort##1{\protect\foreignlanguage{#1}{i~al##1{}}}%
+ \def\btxetallong##1{\protect\foreignlanguage{#1}{i~altres}}%
+ \def\btxandshort##1{\protect\foreignlanguage{#1}{i}}%
+ \def\btxandlong##1{\protect\foreignlanguage{#1}{i}}%
+ \def\btxandcomma##1{}%
+ \def\btxinlong##1{\protect\foreignlanguage{#1}{dins}}%
+ \def\btxinshort##1{\protect\foreignlanguage{#1}{dins}}%
+ \def\btxinseriesshort##1{\protect\foreignlanguage{#1}{dins}}%
+ \def\btxofserieslong##1{\protect\foreignlanguage{#1}{de}}%
+ \def\btxinserieslong##1{\protect\foreignlanguage{#1}{dins}}%
+ \def\btxeditorshort##1{\protect\foreignlanguage{#1}{ed##1{}}}%
+ \def\btxeditorlong##1{\protect\foreignlanguage{#1}{editor}}%
+ \def\btxeditorsshort##1{\protect\foreignlanguage{#1}{eds##1{}}}%
+ \def\btxeditorslong##1{\protect\foreignlanguage{#1}{editors}}%
+ \def\btxvolumeshort##1{\protect\foreignlanguage{#1}{vol##1{}}}%
+ \def\btxvolumelong##1{\protect\foreignlanguage{#1}{volum}}%
+ \def\btxnumbershort##1{\protect\foreignlanguage{#1}{n}}%
+ \def\btxnumberlong##1{\protect\foreignlanguage{#1}{n\'umero}}%
+ \def\btxeditionshort##1{\protect\foreignlanguage{#1}{ed##1{}}}%
+ \def\btxeditionlong##1{\protect\foreignlanguage{#1}{edici{\'o}}}%
+ \def\btxeditionnumshort##1##2{\btxnumeralshort{##1}~\btxeditionshort{##2}}%
+ \def\btxeditionnumlong##1##2{\btxnumerallong{##1}~\btxeditionlong{##2}}%
+ \def\btxchaptershort##1{\protect\foreignlanguage{#1}{cap##1{}}}%
+ \def\btxchapterlong##1{\protect\foreignlanguage{#1}{cap{\'\i}tol}}%
+ \def\btxpageshort##1{\protect\foreignlanguage{#1}{p##1{}}}%
+ \def\btxpagelong##1{\protect\foreignlanguage{#1}{p\`agina}}%
+ \def\btxpagesshort##1{\protect\foreignlanguage{#1}{ps##1{}}}%
+ \def\btxpageslong##1{\protect\foreignlanguage{#1}{p\`agines}}%
+ \def\btxmastthesis##1{\protect\foreignlanguage{#1}{Tesina de Llicenciatura}}%
+ \def\btxphdthesis##1{\protect\foreignlanguage{#1}{Tesi de Doctorat}}%
+ \def\btxtechrepshort##1{\protect\foreignlanguage{#1}{Rep. t\`ecnic}}%
+ \def\btxtechreplong##1{\protect\foreignlanguage{#1}{Report t\`ecnic}}%
+ \def\btxmonjanlong##1{\protect\foreignlanguage{#1}{gener}}%
+ \def\btxmonfeblong##1{\protect\foreignlanguage{#1}{febrer}}%
+ \def\btxmonmarlong##1{\protect\foreignlanguage{#1}{mar\c{c}}}%
+ \def\btxmonaprlong##1{\protect\foreignlanguage{#1}{abril}}%
+ \def\btxmonmaylong##1{\protect\foreignlanguage{#1}{maig}}%
+ \def\btxmonjunlong##1{\protect\foreignlanguage{#1}{juny}}%
+ \def\btxmonjullong##1{\protect\foreignlanguage{#1}{juliol}}%
+ \def\btxmonauglong##1{\protect\foreignlanguage{#1}{agost}}%
+ \def\btxmonseplong##1{\protect\foreignlanguage{#1}{setembre}}%
+ \def\btxmonoctlong##1{\protect\foreignlanguage{#1}{octubre}}%
+ \def\btxmonnovlong##1{\protect\foreignlanguage{#1}{novembre}}%
+ \def\btxmondeclong##1{\protect\foreignlanguage{#1}{desembre}}%
+ \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{gen##1{}}}%
+ \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{feb##1{}}}%
+ \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{mar\c{c}}}%
+ \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{abr##1{}}}%
+ \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{maig}}%
+ \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{juny}}%
+ \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{jul}}%
+ \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{ago##1{}}}%
+ \def\btxmonsepshort##1{\protect\foreignlanguage{#1}{sep##1{}}}%
+ \def\btxmonoctshort##1{\protect\foreignlanguage{#1}{oct##1{}}}%
+ \def\btxmonnovshort##1{\protect\foreignlanguage{#1}{nov##1{}}}%
+ \def\btxmondecshort##1{\protect\foreignlanguage{#1}{dec##1{}}}%
+ \def\Btxinlong##1{\protect\foreignlanguage{#1}{Dins}}%
+ \def\Btxinshort##1{\protect\foreignlanguage{#1}{Dins}}%
+ \def\Btxeditorshort##1{\protect\foreignlanguage{#1}{Ed##1{}}}%
+ \def\Btxeditorlong##1{\protect\foreignlanguage{#1}{Editor}}%
+ \def\Btxeditorsshort##1{\protect\foreignlanguage{#1}{Ed##1{}}}%
+ \def\Btxeditorslong##1{\protect\foreignlanguage{#1}{Editors}}%
+ \def\Btxvolumeshort##1{\protect\foreignlanguage{#1}{Vol##1{}}}%
+ \def\Btxvolumelong##1{\protect\foreignlanguage{#1}{Volum}}%
+ \def\Btxnumbershort##1{\protect\foreignlanguage{#1}{N\'um}}%
+ \def\Btxnumberlong##1{\protect\foreignlanguage{#1}{N\'umero}}%
+ \def\Btxeditionshort##1{\protect\foreignlanguage{#1}{Ed##1{}}}%
+ \def\Btxeditionlong##1{\protect\foreignlanguage{#1}{Edici\'o}}%
+ \def\Btxeditionnumshort##1##2{\btxnumeralshort{##1}~\Btxeditionshort{##2}}%
+ \def\Btxeditionnumlong##1##2{\btxnumerallong{##1}~\Btxeditionlong{##2}}%
+ \def\Btxchaptershort##1{\protect\foreignlanguage{#1}{Cap##1{}}}%
+ \def\Btxchapterlong##1{\protect\foreignlanguage{#1}{Cap\'\itol}}%
+ \def\Btxpageshort##1{\protect\foreignlanguage{#1}{P##1{}}}%
+ \def\Btxpagelong##1{\protect\foreignlanguage{#1}{P\`agina}}%
+ \def\Btxpagesshort##1{\protect\foreignlanguage{#1}{P##1{}}}%
+ \def\Btxpageslong##1{\protect\foreignlanguage{#1}{P\`agines}}%
+ \def\Btxtechrepshort##1{\protect\foreignlanguage{#1}{Rep. t\`ecnic}}%
+ \def\Btxtechreplong##1{\protect\foreignlanguage{#1}{Report t\`ecnic}}%
+ \def\btxurldatecomment##1{\protect\foreignlanguage{#1}{, visitada el ##1}}%
+ \def\btxfnamespaceshort{\,}%
+ \def\btxfnamespacelong{ }%
+ \def\btxnumeralshort##1{\btxnumeralfallback{#1}{##1}}%
+ \def\btxnumerallong##1{\btxnumeralfallback{#1}{##1}}%
+% \end{macrocode}
+% Define how to print month and year in numeric format, e.\,g. MM/YYYY.
+% \begin{macrocode}
+ \def\btxprintmonthyearnum##1##2{##1/##2}%
+ \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}%
+ \ifbbbblanguagenames
+ \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{angl\`es}}%
+ \def\btxlanguagenameaustrian{\protect\foreignlanguage{#1}{alem\`any}}%
+ \def\btxlanguagenamebrazil{\protect\foreignlanguage{#1}{portugu\`es}}%
+ \def\btxlanguagenamebrazilian{\protect\foreignlanguage{#1}{portugu\`es}}%
+ \def\btxlanguagenamebritish{\protect\foreignlanguage{#1}{angl\'es}}%
+ \def\btxlanguagenamebulgarian{\protect\foreignlanguage{#1}{b\'ulgar}}%
+ \def\btxlanguagenamecanadian{\protect\foreignlanguage{#1}{angl\`es}}%
+ \def\btxlanguagenamecanadien{\protect\foreignlanguage{#1}{franc\`es}}%
+ \def\btxlanguagenamecatalan{\protect\foreignlanguage{#1}{catal\`a}}%
+ \def\btxlanguagenamecroatian{\protect\foreignlanguage{#1}{croat}}%
+ \def\btxlanguagenameczech{\protect\foreignlanguage{#1}{txec}}%
+ \def\btxlanguagenamedanish{\protect\foreignlanguage{#1}{dan\`es}}%
+ \def\btxlanguagenamedutch{\protect\foreignlanguage{#1}{neerland\`es}}%
+ \def\btxlanguagenameenglish{\protect\foreignlanguage{#1}{angl\`es}}%
+ \def\btxlanguagenameesperanto{\protect\foreignlanguage{#1}{esperanto}}%
+ \def\btxlanguagenamefinnish{\protect\foreignlanguage{#1}{finland\`es}}%
+ \def\btxlanguagenamefrancais{\protect\foreignlanguage{#1}{franc\`es}}%
+ \def\btxlanguagenamefrench{\protect\foreignlanguage{#1}{franc\`es}}%
+ \def\btxlanguagenamefrenchb{\protect\foreignlanguage{#1}{franc\`es}}%
+ \def\btxlanguagenamegerman{\protect\foreignlanguage{#1}{alem\`any}}%
+ \def\btxlanguagenamegermanb{\protect\foreignlanguage{#1}{alem\`any}}%
+ \def\btxlanguagenamegreek{\protect\foreignlanguage{#1}{grec}}%
+ \def\btxlanguagenamehebrew{\protect\foreignlanguage{#1}{hebreu}}%
+ \def\btxlanguagenamehungarian{\protect\foreignlanguage{#1}{hongar\`es}}%
+ \def\btxlanguagenameicelandic{\protect\foreignlanguage{#1}{island\`es}}%
+ \def\btxlanguagenameirish{\protect\foreignlanguage{#1}{irland\`es}}%
+ \def\btxlanguagenameitalian{\protect\foreignlanguage{#1}{itali\`a}}%
+ \def\btxlanguagenamelatin{\protect\foreignlanguage{#1}{llat\'\i}}%
+ \def\btxlanguagenamenaustrian{\protect\foreignlanguage{#1}{alem\`any}}%
+ \def\btxlanguagenamengerman{\protect\foreignlanguage{#1}{alem\`any}}%
+ \def\btxlanguagenamenorsk{\protect\foreignlanguage{#1}{noruec}}%
+ \def\btxlanguagenamenynorsk{\protect\foreignlanguage{#1}{noruec}}%
+ \def\btxlanguagenamepolish{\protect\foreignlanguage{#1}{polon\`es}}%
+ \def\btxlanguagenameportuges{\protect\foreignlanguage{#1}{portugu\`es}}%
+ \def\btxlanguagenameportuguese{\protect\foreignlanguage{#1}{portugu\`es}}%
+ \def\btxlanguagenamerussian{\protect\foreignlanguage{#1}{rus}}%
+ \def\btxlanguagenamescottish{\protect\foreignlanguage{#1}{escoc\`es}}%
+ \def\btxlanguagenameserbian{\protect\foreignlanguage{#1}{serbi}}%
+ \def\btxlanguagenamespanish{\protect\foreignlanguage{#1}{espa\~nol}}%
+ \def\btxlanguagenameswedish{\protect\foreignlanguage{#1}{suec}}%
+ \def\btxlanguagenameturkish{\protect\foreignlanguage{#1}{turc}}%
+ \def\btxlanguagenameUKenglish{\protect\foreignlanguage{#1}{angl\`es}}%
+ \def\btxlanguagenameUSenglish{\protect\foreignlanguage{#1}{angl\`es}}%
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% Append the definitions to the language-calling commands.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \ifbbbbfixlanguage
+ \else
+ \bbbbaddto{catalan}{bibscatalan}
+ \fi
+% \end{macrocode}
+% Switch on the change of case in titles for all Afrikaans dialects by
+% appending \cs{btxifchangecaseoff} to \cs{extras}\meta{language}.
+% \begin{macrocode}
+ \bbbbaddto{catalan}{btxifchangecaseoff}
+}
+%</catalan>
+% \end{macrocode}
+%
+% \subsubsection{Croatian}
+% \changes{1.30}{2010/01/06}{Added Croatian language}%
+% \begin{macrocode}
+%<*croatian>
+% \end{macrocode}
+%
+% The language definition for Croatian was provided by
+% Vedran Mileti\'c (vmiletic@inf.uniri.hr),
+% Ivan Kokan (ivan.kokan@gmail.com), and
+% Ivica Naki\'c (nakic@math.hr).
+%
+% \begin{macro}{\bibscroatian}
+% \begin{macrocode}
+\newcommand\bibscroatian[1][croatian]{%
+ \def\biblanguagename{#1}%
+ \def\btxetalshort##1{\protect\foreignlanguage{#1}{i~ost##1{}}}%
+ \def\btxetallong##1{\protect\foreignlanguage{#1}{i~ostali}}%
+ \def\btxandshort##1{\protect\foreignlanguage{#1}{i}}%
+ \def\btxandlong##1{\protect\foreignlanguage{#1}{i}}%
+ \def\btxandcomma##1{}%
+ \def\btxinlong##1{\protect\foreignlanguage{#1}{u}}%
+ \def\btxinshort##1{\protect\foreignlanguage{#1}{u}}%
+ \def\btxofseriesshort##1{\protect\foreignlanguage{#1}{iz}}%
+ \def\btxinseriesshort##1{\protect\foreignlanguage{#1}{u}}%
+ \def\btxofserieslong##1{\protect\foreignlanguage{#1}{iz}}%
+ \def\btxinserieslong##1{\protect\foreignlanguage{#1}{u}}%
+ \def\btxeditorshort##1{\protect\foreignlanguage{#1}{ur##1{}}}%
+ \def\btxeditorlong##1{\protect\foreignlanguage{#1}{urednik}}%
+ \def\btxeditorsshort##1{\protect\foreignlanguage{#1}{ur##1{}}}%
+ \def\btxeditorslong##1{\protect\foreignlanguage{#1}{urednici}}%
+ \def\btxvolumeshort##1{\protect\foreignlanguage{#1}{sv##1{}}}%
+ \def\btxvolumelong##1{\protect\foreignlanguage{#1}{svezak}}%
+ \def\btxnumbershort##1{\protect\foreignlanguage{#1}{br##1{}}}%
+ \def\btxnumberlong##1{\protect\foreignlanguage{#1}{broj}}%
+ \def\btxeditionshort##1{\protect\foreignlanguage{#1}{izd##1{}}}%
+ \def\btxeditionlong##1{\protect\foreignlanguage{#1}{izdanje}}%
+ \def\btxeditionnumshort##1##2{\btxnumeralshort{##1}~\btxeditionshort{##2}}%
+ \def\btxeditionnumlong##1##2{\btxnumerallong{##1}~\btxeditionlong{##2}}%
+ \def\btxchaptershort##1{\protect\foreignlanguage{#1}{pogl##1{}}}%
+ \def\btxchapterlong##1{\protect\foreignlanguage{#1}{poglavlje}}%
+ \def\btxpageshort##1{\protect\foreignlanguage{#1}{str##1{}}}%
+ \def\btxpagelong##1{\protect\foreignlanguage{#1}{stranica}}%
+ \def\btxpagesshort##1{\protect\foreignlanguage{#1}{str##1{}}}%
+ \def\btxpageslong##1{\protect\foreignlanguage{#1}{stranice}}%
+ \def\btxmastthesis##1{\protect\foreignlanguage{#1}{Magistarski rad}}%
+ \def\btxphdthesis##1{\protect\foreignlanguage{#1}{Disertacija}}%
+ \def\btxtechrepshort##1{\protect\foreignlanguage{#1}{Tehn.\ izvj##1{}}}%
+ \def\btxtechreplong##1{\protect\foreignlanguage{#1}{%
+ Tehni\v{c}ki izvje\v{s}taj}}%
+ \def\btxmonjanlong##1{\protect\foreignlanguage{#1}{sije\v{c}anj}}%
+ \def\btxmonfeblong##1{\protect\foreignlanguage{#1}{velja\v{c}a}}%
+ \def\btxmonmarlong##1{\protect\foreignlanguage{#1}{o\v{z}ujak}}%
+ \def\btxmonaprlong##1{\protect\foreignlanguage{#1}{travanj}}%
+ \def\btxmonmaylong##1{\protect\foreignlanguage{#1}{svibanj}}%
+ \def\btxmonjunlong##1{\protect\foreignlanguage{#1}{lipanj}}%
+ \def\btxmonjullong##1{\protect\foreignlanguage{#1}{srpanj}}%
+ \def\btxmonauglong##1{\protect\foreignlanguage{#1}{kolovoz}}%
+ \def\btxmonseplong##1{\protect\foreignlanguage{#1}{rujan}}%
+ \def\btxmonoctlong##1{\protect\foreignlanguage{#1}{listopad}}%
+ \def\btxmonnovlong##1{\protect\foreignlanguage{#1}{studeni}}%
+ \def\btxmondeclong##1{\protect\foreignlanguage{#1}{prosinac}}%
+ \def\btxmonjanshort##1{\protect\foreignlanguage{#1}{sij##1{}}}%
+ \def\btxmonfebshort##1{\protect\foreignlanguage{#1}{velj##1{}}}%
+ \def\btxmonmarshort##1{\protect\foreignlanguage{#1}{o\v{z}u##1{}}}%
+ \def\btxmonaprshort##1{\protect\foreignlanguage{#1}{tra##1{}}}%
+ \def\btxmonmayshort##1{\protect\foreignlanguage{#1}{svi##1{}}}%
+ \def\btxmonjunshort##1{\protect\foreignlanguage{#1}{lip##1{}}}%
+ \def\btxmonjulshort##1{\protect\foreignlanguage{#1}{srp##1{}}}%
+ \def\btxmonaugshort##1{\protect\foreignlanguage{#1}{kol##1{}}}%
+ \def\btxmonsepshort##1{\protect\foreignlanguage{#1}{ruj##1{}}}%
+ \def\btxmonoctshort##1{\protect\foreignlanguage{#1}{lis##1{}}}%
+ \def\btxmonnovshort##1{\protect\foreignlanguage{#1}{stu##1{}}}%
+ \def\btxmondecshort##1{\protect\foreignlanguage{#1}{pro##1{}}}%
+ \def\Btxinlong##1{\protect\foreignlanguage{#1}{U}}%
+ \def\Btxinshort##1{\protect\foreignlanguage{#1}{U}}%
+ \def\Btxeditorshort##1{\protect\foreignlanguage{#1}{Ur##1{}}}%
+ \def\Btxeditorlong##1{\protect\foreignlanguage{#1}{Urednik}}%
+ \def\Btxeditorsshort##1{\protect\foreignlanguage{#1}{Ur##1{}}}%
+ \def\Btxeditorslong##1{\protect\foreignlanguage{#1}{Urednici}}%
+ \def\Btxvolumeshort##1{\protect\foreignlanguage{#1}{Sv##1{}}}%
+ \def\Btxvolumelong##1{\protect\foreignlanguage{#1}{Svezak}}%
+ \def\Btxnumbershort##1{\protect\foreignlanguage{#1}{Br##1{}}}%
+ \def\Btxnumberlong##1{\protect\foreignlanguage{#1}{Broj}}%
+ \def\Btxeditionshort##1{\protect\foreignlanguage{#1}{Izd##1{}}}%
+ \def\Btxeditionlong##1{\protect\foreignlanguage{#1}{Izdanje}}%
+ \def\Btxeditionnumshort##1##2{\btxnumeralshort{##1}~\Btxeditionshort{##2}}%
+ \def\Btxeditionnumlong##1##2{\btxnumerallong{##1}~\Btxeditionlong{##2}}%
+ \def\Btxchaptershort##1{\protect\foreignlanguage{#1}{Pogl##1{}}}%
+ \def\Btxchapterlong##1{\protect\foreignlanguage{#1}{Poglavlje}}%
+ \def\Btxpageshort##1{\protect\foreignlanguage{#1}{Str##1{}}}%
+ \def\Btxpagelong##1{\protect\foreignlanguage{#1}{Stranica}}%
+ \def\Btxpagesshort##1{\protect\foreignlanguage{#1}{Str##1{}}}%
+ \def\Btxpageslong##1{\protect\foreignlanguage{#1}{Stranice}}%
+ \def\Btxtechrepshort##1{\protect\foreignlanguage{#1}{Tehn.\ izvj##1{}}}%
+ \def\Btxtechreplong##1{\protect\foreignlanguage{#1}{%
+ Tehni\v{c}ki izvje\v{s}taj}}%
+ \def\btxurldatecomment##1{\protect\foreignlanguage{#1}{, posje\'{c}eno ##1}}%
+ \def\btxfnamespaceshort{\ }%
+ \def\btxfnamespacelong{ }%
+ \def\btxnumeralshort##1{\btxnumeraldot{#1}{##1}}%
+ \def\btxnumerallong##1{\btxnumeraldot{#1}{##1}}%
+% \end{macrocode}
+% Define how to print month and year in numeric format, e.\,g. MM/YYYY.
+% \begin{macrocode}
+ \def\btxprintmonthyearnum##1##2{##1/##2}%
+ \def\btxkeywordlanguage##1{{\protect\selectlanguage{#1}##1}}%
+ \ifbbbblanguagenames
+ \def\btxlanguagenameamerican{\protect\foreignlanguage{#1}{engleski}}%
+ \def\btxlanguagenameaustrian{\protect\foreignlanguage{#1}{njema\v{c}ki}}%
+ \def\btxlanguagenamebrazil{\protect\foreignlanguage{#1}{portugalski}}%
+ \def\btxlanguagenamebrazilian{\protect\foreignlanguage{#1}{portugalski}}%
+ \def\btxlanguagenamebritish{\protect\foreignlanguage{#1}{engleski}}%
+ \def\btxlanguagenamebulgarian{\protect\foreignlanguage{#1}{bugarski}}%
+ \def\btxlanguagenamecanadian{\protect\foreignlanguage{#1}{engleski}}%
+ \def\btxlanguagenamecanadien{\protect\foreignlanguage{#1}{francuski}}%
+ \def\btxlanguagenamecatalan{\protect\foreignlanguage{#1}{katalonski}}%
+ \def\btxlanguagenamecroatian{\protect\foreignlanguage{#1}{hrvatski}}%
+ \def\btxlanguagenameczech{\protect\foreignlanguage{#1}{\v{c}e\v{s}ki}}%
+ \def\btxlanguagenamedanish{\protect\foreignlanguage{#1}{danski}}%
+ \def\btxlanguagenamedutch{\protect\foreignlanguage{#1}{nizozemski}}%
+ \def\btxlanguagenameenglish{\protect\foreignlanguage{#1}{engleski}}%
+ \def\btxlanguagenameesperanto{\protect\foreignlanguage{#1}{esperanto}}%
+ \def\btxlanguagenamefinnish{\protect\foreignlanguage{#1}{finski}}%
+ \def\btxlanguagenamefrancais{\protect\foreignlanguage{#1}{francuski}}%
+ \def\btxlanguagenamefrench{\protect\foreignlanguage{#1}{francuski}}%
+ \def\btxlanguagenamefrenchb{\protect\foreignlanguage{#1}{francuski}}%
+ \def\btxlanguagenamegerman{\protect\foreignlanguage{#1}{njema\v{c}ki}}%
+ \def\btxlanguagenamegermanb{\protect\foreignlanguage{#1}{njema\v{c}ki}}%
+ \def\btxlanguagenamegreek{\protect\foreignlanguage{#1}{gr\v{c}ki}}%
+ \def\btxlanguagenamehebrew{\protect\foreignlanguage{#1}{hebrejski}}%
+ \def\btxlanguagenamehungarian{\protect\foreignlanguage{#1}{ma\dj{}arski}}%
+ \def\btxlanguagenameicelandic{\protect\foreignlanguage{#1}{islandski}}%
+ \def\btxlanguagenameirish{\protect\foreignlanguage{#1}{irski}}%
+ \def\btxlanguagenameitalian{\protect\foreignlanguage{#1}{talijanski}}%
+ \def\btxlanguagenamelatin{\protect\foreignlanguage{#1}{latinski}}%
+ \def\btxlanguagenamenaustrian{\protect\foreignlanguage{#1}{njema\v{c}ki}}%
+ \def\btxlanguagenamengerman{\protect\foreignlanguage{#1}{njema\v{c}ki}}%
+ \def\btxlanguagenamenorsk{\protect\foreignlanguage{#1}{norve\v{s}ki}}%
+ \def\btxlanguagenamenynorsk{\protect\foreignlanguage{#1}{novonorve\v{s}ki}}%
+ \def\btxlanguagenamepolish{\protect\foreignlanguage{#1}{poljski}}%
+ \def\btxlanguagenameportuges{\protect\foreignlanguage{#1}{portugalski}}%
+ \def\btxlanguagenameportuguese{\protect\foreignlanguage{#1}{portugalski}}%
+ \def\btxlanguagenamerussian{\protect\foreignlanguage{#1}{ruski}}%
+ \def\btxlanguagenamescottish{\protect\foreignlanguage{#1}{\v{s}kotski}}%
+ \def\btxlanguagenameserbian{\protect\foreignlanguage{#1}{srpski}}%
+ \def\btxlanguagenamespanish{\protect\foreignlanguage{#1}{\v{s}panjolski}}%
+ \def\btxlanguagenameswedish{\protect\foreignlanguage{#1}{\v{s}vedski}}%
+ \def\btxlanguagenameturkish{\protect\foreignlanguage{#1}{turski}}%
+ \def\btxlanguagenameUKenglish{\protect\foreignlanguage{#1}{engleski}}%
+ \def\btxlanguagenameUSenglish{\protect\foreignlanguage{#1}{engleski}}%
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% Append the definitions to the language-calling commands.
+% \begin{macrocode}
+\AtBeginDocument{%
+ \ifbbbbfixlanguage
+ \else
+ \bbbbaddto{croatian}{bibscroatian}
+ \fi
+% \end{macrocode}
+% Switch on the change of case in titles for all Afrikaans dialects by
+% appending \cs{btxifchangecaseoff} to \cs{extras}\meta{language}.
+% \begin{macrocode}
+ \bbbbaddto{croatian}{btxifchangecaseoff}
+}
+%</croatian>
+% \end{macrocode}
+%
+% \section{\BibTeX\ style files}
+% \changes{0.40}{2003/09/26}{Moved the \texttt{bst} files into the
+% global \texttt{dtx} file}%
+%
+% \subsection{``Normal'' \BibTeX\ style files}
+%
+% \subsubsection{Generic code}
+%
+% Because most parts of the \BibTeX\ style files are equal for all
+% styles, they are generated from the same source code.
+% \begin{macrocode}
+%<*bststd>
+% \end{macrocode}
+% Declare the data fields that are handled by the \BibTeX\ styles.
+% \begin{macrocode}
+ENTRY
+ { address
+ annote
+ annotelanguage
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ isbn
+ issn
+ journal
+ key
+ language
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ url
+ urldate
+ volume
+ year
+ }
+ {}
+%</bststd>
+%<bststd&!bstalpha> { label }
+%<bststd&bstalpha> { label extra.label sort.label }
+%<*bststd>
+
+% \end{macrocode}
+% Declare integer variables.
+% \begin{macrocode}
+INTEGERS
+ { output.state
+ before.all
+ mid.sentence
+ after.sentence
+ after.block
+ before.title
+ }
+
+% \end{macrocode}
+% Declare string variables.
+% \begin{macrocode}
+STRINGS
+ { s
+ t
+ language.state
+ change.temp
+ isbn.command
+ }
+
+% \end{macrocode}
+% Declare the constants that define at which position within a
+% citation we are when processing it.
+% \begin{macrocode}
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #4 'before.title :=
+ "nostate" 'language.state :=
+}
+
+% \end{macrocode}
+% Logical function |not|.
+%
+% Syntax: \meta{int1} |not| $\longrightarrow$ \meta{int2}.
+%
+% Returns |1| if \meta{arg1} != |0|, |0| otherwise.
+% \begin{macrocode}
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+% \end{macrocode}
+% Logical function |and|.
+% Syntax: \meta{arg1} \meta{arg1} |and|.
+% Returns |1| if \meta{arg1} == |true| and \meta{arg2} == |true|, |0|
+% otherwise.
+% \begin{macrocode}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+% \end{macrocode}
+% Logical function |or|.
+% Syntax: \meta{arg1} \meta{arg1} |or|.
+% Returns |1| if \meta{arg1} == |true| or \meta{arg2} == |true|, |0|
+% otherwise.
+% \begin{macrocode}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+% \end{macrocode}
+% Function |language.change.case|.
+% Syntax: \meta{string1} \meta{string2} |language.change.case|
+% $\longrightarrow$ \meta{string3}
+% This function has the same syntax as |change.case$| but writes
+% \meta{string1} twice into \meta{string3}, first with changed case,
+% second with original case.
+% \begin{macrocode}
+FUNCTION {language.change.case}
+{
+ 'change.temp :=
+ 't :=
+ "\btxifchangecase {"
+ t change.temp change.case$ *
+ "}{" *
+ t *
+ "}" *
+}
+
+% \end{macrocode}
+% Generates output for the string \meta{string1}.
+% Syntax: \meta{string1} |output.nonnull| $\longrightarrow$ \meta{string2}
+% \begin{macrocode}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ {
+ output.state before.title =
+ { "\btxauthorcolon\ " * write$ }
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+% \end{macrocode}
+% Generates output if the given string \meta{string1} is not empty.
+% Syntax: \meta{string1} |output.nonnull| $\longrightarrow$ \meta{string2}
+% \begin{macrocode}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+% \end{macrocode}
+% Outputs a bibliography item.
+% \changes{1.17}{2005/11/05}{Change the language in alpha-numerical
+% bib items}%
+% \begin{macrocode}
+FUNCTION {output.bibitem}
+{ newline$
+% \end{macrocode}
+% \changes{0.40}{2003/09/26}{Switch to a fall-back language when
+% \texttt{language} field is missing}%
+% If no language is given, fall back to the language that has been
+% active at \cs{begin\{document\}} or to the given fall-back
+% language.
+% For \BibTeX, this language gets the name \texttt{nolanguage}.
+% \begin{macrocode}
+ language empty$
+ {
+ language.state "nolanguage" =
+ 'skip$
+ {
+ "empty language in " cite$ * warning$
+ "\expandafter\btxselectlanguage\expandafter {"
+ "\btxfallbacklanguage}" *
+ write$ newline$
+ }
+ if$
+ "nolanguage" 'language.state :=
+ }
+ {
+ language.state language =
+ 'skip$
+ {
+ "\btxselectlanguage {" language * "}" *
+ write$ newline$
+ }
+ if$
+ language 'language.state :=
+ }
+ if$
+%</bststd>
+%<bststd&!bstalpha> "\bibitem {" write$
+%<bststd&bstalpha> "\bibitem [{" label * "}]{" * write$
+%<*bststd>
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+% \end{macrocode}
+% Output an ISBN or ISSN.
+%
+% Syntax: \meta{string1} \meta{string2} |output.isbn|
+%
+% Prints the ISBN or ISSN given by \meta{string1} and uses the \TeX\
+% macro given by \meta{string2} to determine if the text is printed or
+% not.
+% \meta{string2} normally is \cs{ifbtxprintISSN} or
+% \cs{ifbtxprintISSN}.
+% \begin{macrocode}
+FUNCTION {output.isbn}
+{
+ 'isbn.command :=
+ duplicate$
+ empty$
+ 'pop$
+ {
+ 's :=
+ output.state mid.sentence =
+ {
+ isbn.command * " {, " * write$
+ s "}" *
+ }
+ { output.state after.block =
+ {
+ add.period$
+ write$
+ newline$
+ "\newblock " write$
+ isbn.command " {" * s * ".}" *
+ }
+ { output.state before.all =
+ {
+ write$
+ isbn.command " {" * write$
+ s "}" *
+ }
+ {
+ output.state before.title =
+ {
+ "\btxauthorcolon\ " * write$
+ isbn.command " {" * write$
+ s "}" *
+ }
+ {
+ add.period$ " " * write$
+ isbn.command " {" * write$
+ s ".}" *
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ }
+ if$
+}
+
+% \end{macrocode}
+% Completes an entry.
+% \begin{macrocode}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {after.authors}
+{ output.state before.all =
+ 'skip$
+ { before.title 'output.state := }
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {new.block.checkc}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'after.authors
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+% \end{macrocode}
+% \changes{1.00}{2005/02/16}{Remove \texttt{emphasize} and
+% \texttt{smallcaps} from \BibTeX\ styles}%
+% \begin{macrocode}
+FUNCTION {namefont}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\btxnamefont {" swap$ * "}" * }
+ if$
+}
+
+% \end{macrocode}
+% \changes{1.12}{2005/06/19}{Add extra formatting of lastnames to
+% \BibTeX\ styles}%
+% \begin{macrocode}
+FUNCTION {lastnamefont}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\btxlastnamefont {" swap$ * "}" * }
+ if$
+}
+% \end{macrocode}
+% Set font for titles:
+% \begin{macrocode}
+FUNCTION {titlefont}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\btxtitlefont {" swap$ * "}" * }
+ if$
+}
+% \end{macrocode}
+% Set font for titles of articles in journals:
+% \begin{macrocode}
+FUNCTION {jtitlefont}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\btxjtitlefont {" swap$ * "}" * }
+ if$
+}
+% \end{macrocode}
+% Set font for the journal name:
+% \begin{macrocode}
+FUNCTION {journalfont}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\btxjournalfont {" swap$ * "}" * }
+ if$
+}
+% \end{macrocode}
+% Set font for the publisher name:
+% \begin{macrocode}
+FUNCTION {publisherfont}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\btxpublisherfont {" swap$ * "}" * }
+ if$
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {volumefont}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\btxvolumefont {" swap$ * "}" * }
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {etalfont}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\btxetalfont {" swap$ * "}" * }
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+INTEGERS { nameptr namesleft numnames }
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ {
+%</bststd>
+%<*bststd&!bstshort&!namevarb>
+ s nameptr "{ff{\btxfnamespacelong } }{vv~}" format.name$
+ s nameptr "{ll}" format.name$ lastnamefont *
+ s nameptr "{, jj}" format.name$ *
+ 't :=
+%</bststd&!bstshort&!namevarb>
+%<*bststd&bstshort&!namevarb>
+ s nameptr
+ "{f{.\btxfnamespaceshort }.~}{vv~}" format.name$
+ s nameptr "{ll}" format.name$ lastnamefont *
+ s nameptr "{,~jj}" format.name$ *
+ 't :=
+%</bststd&bstshort&!namevarb>
+%<*bststd&!bstshort&namevarb>
+ s nameptr "{ll}" format.name$ lastnamefont
+ s nameptr "{,~jj}{, ff{\btxfnamespacelong }}{~vv}" format.name$ *
+ 't :=
+%</bststd&!bstshort&namevarb>
+%<*bststd&bstshort&namevarb>
+ s nameptr "{ll}" format.name$ lastnamefont
+ s nameptr "{,~jj}{,~f{.\btxfnamespaceshort }.}{~vv}" format.name$ *
+ 't :=
+%</bststd&bstshort&namevarb>
+%<*bststd&bstthree>
+ namesleft #2 >
+ { " " "\btxetalshort {.}" etalfont * *
+ #1 'namesleft := }
+ {
+%</bststd&bstthree>
+%<*bststd>
+ namesleft #1 >
+ { ", " * t namefont * }
+ { numnames #2 >
+ { "\btxandcomma {}" * }
+ 'skip$
+ if$
+ s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ "others" =
+ { " " "\btxetalshort {.}" etalfont * * }
+%</bststd>
+%<bststd&!bstshort> { " \btxandlong {}\ " * t namefont * }
+%<bststd&bstshort> { " \btxandshort {.}\ " * t namefont * }
+%<*bststd&bstthree>
+ if$
+ }
+%</bststd&bstthree>
+%<*bststd>
+ if$
+ }
+ if$
+ }
+ {
+%</bststd>
+%<*bststd&!bstshort&!namevara>
+ s nameptr "{ll}" format.name$ lastnamefont
+ s nameptr "{,~jj}{, ff{\btxfnamespacelong }}{~vv}"
+ format.name$ * namefont
+%</bststd&!bstshort&!namevara>
+%<*bststd&bstshort&!namevara>
+ s nameptr "{ll}" format.name$ lastnamefont
+ s nameptr "{,~jj}{,~f{.\btxfnamespaceshort }.}{~vv}"
+ format.name$ * namefont
+%</bststd&bstshort&!namevara>
+%<*bststd&!bstshort&namevara>
+ s nameptr "{ff{\btxfnamespacelong } }{vv~}" format.name$
+ s nameptr "{ll}" format.name$ lastnamefont *
+ s nameptr "{,~jj}" format.name$ * namefont
+%</bststd&!bstshort&namevara>
+%<*bststd&bstshort&namevara>
+ s nameptr "{f{.\btxfnamespaceshort }.~}{vv~}" format.name$
+ s nameptr "{ll}" format.name$ lastnamefont *
+ s nameptr "{,~jj}" format.name$ * namefont
+%</bststd&bstshort&namevara>
+%<*bststd>
+ }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+%</bststd>
+%<*bststd&!bstshort>
+ { "\ (\btxeditorslong {})" * }
+ { "\ (\btxeditorlong {})" * }
+%</bststd&!bstshort>
+%<*bststd&bstshort>
+ { "\ (\btxeditorsshort {.})" * }
+ { "\ (\btxeditorshort {.})" * }
+%</bststd&bstshort>
+%<*bststd>
+ if$
+ }
+ if$
+}
+% \end{macrocode}
+% Format the title:
+% \begin{macrocode}
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" language.change.case titlefont }
+ if$
+}
+% \end{macrocode}
+% Format the title of a journal article:
+% \begin{macrocode}
+FUNCTION {format.jtitle}
+{ title empty$
+ { "" }
+ { title "t" language.change.case jtitlefont }
+ if$
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+%</bststd>
+%<*bststd&!bstshort>
+ { "\btxprintmonthyear{.}{"
+ month * "}{" * year * "}{long}" *
+ }
+%</bststd&!bstshort>
+%<*bststd&bstshort>
+ { "\btxprintmonthyear{.}{"
+ month * "}{" * year * "}{short}" *
+ }
+%</bststd&bstshort>
+%<*bststd>
+ if$
+ }
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {format.btitle}
+{ title titlefont
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { "\ " }
+ if$
+ swap$ * *
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {volume.tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { "\ " }
+ if$
+ swap$ volumefont * *
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { output.state after.block =
+%</bststd>
+%<bststd&!bstshort> { "\Btxvolumelong {}" }
+%<bststd&!bstshort> { "\btxvolumelong {}" }
+%<bststd&bstshort> { "\Btxvolumeshort {.}" }
+%<bststd&bstshort> { "\btxvolumeshort {.}" }
+%<*bststd>
+ if$
+ volume volume.tie.or.space.connect
+ series empty$
+ 'skip$
+%</bststd>
+%<bststd&!bstshort> { " \btxofserieslong {}\ " * series titlefont * }
+%<bststd&bstshort> { " \btxofseriesshort {.}\ " * series titlefont * }
+%<*bststd>
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+%</bststd>
+%<bststd&!bstshort> { "\btxnumberlong {}" }
+%<bststd&!bstshort> { "\Btxnumberlong {}" }
+%<bststd&bstshort> { "\btxnumbershort {.}" }
+%<bststd&bstshort> { "\Btxnumbershort {.}" }
+%<*bststd>
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+%</bststd>
+%<bststd&!bstshort> { " \btxinserieslong {}\ " * series titlefont * }
+%<bststd&bstshort> { " \btxinseriesshort {.}\ " * series titlefont * }
+%<*bststd>
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ {
+%</bststd>
+% \end{macrocode}
+% Handle the edition first to get the beginning of the sentence.
+% Afterwards, the text before the edition is put to the stack and
+% exchanged with the edition number itself.
+% \begin{macrocode}
+%<*bststd&!bstshort>
+ output.state mid.sentence =
+ { edition "l" change.case$ }
+ { edition "t" change.case$ }
+ if$
+ "\btxeditionnumlong {" swap$ *
+ "}{}" *
+%</bststd&!bstshort>
+%<*bststd&bstshort>
+ output.state mid.sentence =
+ { edition "l" change.case$ }
+ { edition "t" change.case$ }
+ if$
+ "\btxeditionnumshort {" swap$ *
+ "}{.}" *
+%</bststd&bstshort>
+%<*bststd>
+ }
+ if$
+}
+
+FUNCTION {format.isbn}
+{ isbn empty$
+ { "" }
+ { "\mbox{\btxISBN~\btxISBNfont {" isbn * "}}" * }
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {format.issn}
+{ issn empty$
+ { "" }
+ { "\mbox{\btxISSN~\btxISSNfont {" issn * "}}" * }
+ if$
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ {
+ urldate empty$
+ { "{\latintext \btxurlfont{" url * "}}" * }
+ {
+ "{\latintext \btxurlfont{" url * "}}\empty " *
+ "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" *
+ urldate * "}}}" *
+ }
+ if$
+ }
+ if$
+}
+% \end{macrocode}
+% Format annotations:
+% \begin{macrocode}
+FUNCTION {write.annote}
+{ annote empty$
+ 'skip$
+ {
+ annotelanguage empty$
+ { "\btxkeywordlanguage {" }
+ { "{\selectlanguage {" annotelanguage * "}" * }
+ if$
+ "\btxannotation {" * annote * "}}" *
+ write$ newline$
+ }
+ if$
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+INTEGERS { multiresult }
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+%</bststd>
+%<*bststd&!bstshort>
+ { "\btxpageslong {}" pages n.dashify tie.or.space.connect }
+ { "\btxpagelong {}" pages tie.or.space.connect }
+%</bststd&!bstshort>
+%<*bststd&bstshort>
+ { "\btxpagesshort {.}" pages n.dashify tie.or.space.connect }
+ { "\btxpageshort {.}" pages tie.or.space.connect }
+%</bststd&bstshort>
+%<*bststd>
+ if$
+ }
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+%</bststd>
+%<bststd&!bstshort> { "\btxchapterlong {}" }
+%<bststd&bstshort> { "\btxchaptershort {.}" }
+%<*bststd>
+ { type "l" language.change.case }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+%</bststd>
+%<*bststd&!bstshort>
+ { "\Btxinlong {}\ " booktitle titlefont * }
+ { "\Btxinlong {}\ " format.editors * ": " * booktitle titlefont * }
+%</bststd&!bstshort>
+%<*bststd&bstshort>
+ { "\Btxinshort {.}\ " booktitle titlefont * }
+ { "\Btxinshort {.}\ " format.editors * ": " * booktitle titlefont * }
+%</bststd&bstshort>
+%<*bststd>
+ if$
+ }
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" language.change.case
+ }
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {format.tr.number}
+{
+ number empty$
+ {
+ type empty$
+%</bststd>
+% \end{macrocode}
+% \changes{0.40}{2003/09/26}{For \texttt{babalpha.bst}, use
+% \cs{btxtechreplong}}%
+% \begin{macrocode}
+%<bststd&!bstshort> { "\btxtechreplong {}" }
+%<bststd&bstshort> { "\btxtechrepshort {.}" }
+%<*bststd>
+ { type "t" language.change.case }
+ if$
+ }
+ {
+ type empty$
+%</bststd>
+% \end{macrocode}
+% \changes{0.40}{2003/09/26}{For \texttt{babalpha.bst}, use
+% \cs{Btxtechreplong}}%
+% \begin{macrocode}
+%<bststd&!bstshort> { "\Btxtechreplong {}" }
+%<bststd&bstshort> { "\Btxtechrepshort {.}" }
+%<*bststd>
+ { type "t" language.change.case }
+ if$
+ number tie.or.space.connect
+ }
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {format.article.crossref}
+{ key empty$
+%</bststd>
+%<*bststd&!bstshort>
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "\Btxinlong {}\ " journal titlefont * }
+ if$
+ }
+ { "\Btxinlong {}\ " key titlefont * }
+%</bststd&!bstshort>
+%<*bststd&bstshort>
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "\Btxinshort {.}\ " journal titlefont * }
+ if$
+ }
+ { "\Btxinshort {.}\ " key titlefont * }
+%</bststd&bstshort>
+%<*bststd>
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {format.crossref.editor}
+{
+%</bststd>
+%<*bststd&!bstshort>
+ editor #1 "{ll}{,~jj}{, ff}{~vv}" format.name$ namefont
+%</bststd&!bstshort>
+%<*bststd&bstshort>
+ editor #1 "{ll}{,~jj}{,~f.}{~vv}" format.name$ namefont
+%</bststd&bstshort>
+%<*bststd>
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " " "\btxetalshort {.}" etalfont * * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " " "\btxetalshort {.}" etalfont * * }
+%</bststd>
+%<*bststd&!bstshort>
+ { " \btxandlong {}\ " * editor #2 "{ff}{~vv}{~ll}{, jj}"
+%</bststd&!bstshort>
+%<*bststd&bstshort>
+ { " \btxandshort {.}\ " * editor #2 "{vv~}{ll}"
+%</bststd&bstshort>
+%<*bststd>
+ format.name$ namefont * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+%</bststd>
+%<bststd&!bstshort> "\Btxinlong {}\ "
+%<bststd&bstshort> "\Btxinshort {.}\ "
+%<*bststd>
+ }
+%</bststd>
+%<*bststd&!bstshort>
+ { "\Btxvolumelong {}" volume volume.tie.or.space.connect
+ " \btxofserieslong {}\ " *
+%</bststd&!bstshort>
+%<*bststd&bstshort>
+ { "\Btxvolumeshort {.}" volume volume.tie.or.space.connect
+ " \btxofseriesshort {.}\ " *
+%</bststd&bstshort>
+%<*bststd>
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { series titlefont * }
+ if$
+ }
+ { key titlefont * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+%</bststd>
+%<bststd&!bstshort> { "\Btxinlong {}\ " booktitle titlefont * }
+%<bststd&bstshort> { "\Btxinshort {.}\ " booktitle titlefont * }
+%<*bststd>
+ if$
+ }
+%</bststd>
+%<bststd&!bstshort> { "\Btxinlong {}\ " key titlefont * }
+%<bststd&bstshort> { "\Btxinshort {.}\ " key titlefont * }
+%<*bststd>
+ if$
+ }
+%</bststd>
+%<bststd&!bstshort> { "\Btxinlong {}\ " format.crossref.editor * }
+%<bststd&bstshort> { "\Btxinshort {.}\ " format.crossref.editor * }
+%<*bststd>
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.jtitle "title" output.check
+ new.block
+ crossref missing$
+ { journal
+ title missing$
+ { titlefont }
+ { journalfont }
+ if$
+ "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.issn "\ifbtxprintISSN" output.isbn
+ new.block
+ format.url output
+ note output
+ fin.entry
+ write.annote
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ after.authors
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check publisherfont
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ format.isbn "\ifbtxprintISBN" output.isbn
+ new.block
+ format.url output
+ note output
+ fin.entry
+ write.annote
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ after.authors
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ format.url output
+ note output
+ fin.entry
+ write.annote
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ after.authors
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check publisherfont
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ format.isbn "\ifbtxprintISBN" output.isbn
+ new.block
+ format.url output
+ note output
+ fin.entry
+ write.annote
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check publisherfont
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.isbn "\ifbtxprintISBN" output.isbn
+ new.block
+ format.url output
+ note output
+ fin.entry
+ write.annote
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher publisherfont output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher publisherfont output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.isbn "\ifbtxprintISBN" output.isbn
+ new.block
+ format.url output
+ note output
+ fin.entry
+ write.annote
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {conference} { inproceedings }
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ after.authors
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ format.isbn "\ifbtxprintISBN" output.isbn
+ new.block
+ format.url output
+ note output
+ fin.entry
+ write.annote
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.title "title" output.check
+ new.block
+ "\btxmastthesis {}" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ format.url output
+ note output
+ fin.entry
+ write.annote
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkc
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ format.isbn "\ifbtxprintISBN" output.isbn
+ new.block
+ format.issn "\ifbtxprintISSN" output.isbn
+ new.block
+ format.url output
+ note output
+ fin.entry
+ write.annote
+ empty.misc.check
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.btitle "title" output.check
+ new.block
+ "\btxphdthesis {}" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ format.isbn "\ifbtxprintISBN" output.isbn
+ new.block
+ format.url output
+ note output
+ fin.entry
+ write.annote
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ after.authors
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher publisherfont output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher publisherfont output
+ }
+ if$
+ format.isbn "\ifbtxprintISBN" output.isbn
+ new.block
+ format.url output
+ note output
+ fin.entry
+ write.annote
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ format.isbn "\ifbtxprintISBN" output.isbn
+ new.block
+ format.url output
+ note output
+ fin.entry
+ write.annote
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.title "title" output.check
+ new.block
+ format.url output
+ note "note" output.check
+ format.date output
+ fin.entry
+ write.annote
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {default.type} { misc }
+
+%</bststd>
+% \end{macrocode}
+% Months and journals:
+% \begin{macrocode}
+%<*bststd&!bstshort>
+MACRO {jan} {"1"}
+MACRO {feb} {"2"}
+MACRO {mar} {"3"}
+MACRO {apr} {"4"}
+MACRO {may} {"5"}
+MACRO {jun} {"6"}
+MACRO {jul} {"7"}
+MACRO {aug} {"8"}
+MACRO {sep} {"9"}
+MACRO {oct} {"10"}
+MACRO {nov} {"11"}
+MACRO {dec} {"12"}
+MACRO {acmcs} {"ACM Computing Surveys"}
+MACRO {acta} {"Acta Informatica"}
+MACRO {cacm} {"Communications of the ACM"}
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+MACRO {ibmsj} {"IBM Systems Journal"}
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+MACRO {ipl} {"Information Processing Letters"}
+MACRO {jacm} {"Journal of the ACM"}
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+MACRO {scp} {"Science of Computer Programming"}
+MACRO {sicomp} {"SIAM Journal on Computing"}
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+MACRO {tods} {"ACM Transactions on Database Systems"}
+MACRO {tog} {"ACM Transactions on Graphics"}
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+MACRO {tcs} {"Theoretical Computer Science"}
+%</bststd&!bstshort>
+%<*bststd&bstshort>
+MACRO {jan} {"1"}
+MACRO {feb} {"2"}
+MACRO {mar} {"3"}
+MACRO {apr} {"4"}
+MACRO {may} {"5"}
+MACRO {jun} {"6"}
+MACRO {jul} {"7"}
+MACRO {aug} {"8"}
+MACRO {sep} {"9"}
+MACRO {oct} {"10"}
+MACRO {nov} {"11"}
+MACRO {dec} {"12"}
+MACRO {acmcs} {"ACM Comput.\ Surv.{}"}
+MACRO {acta} {"Acta Inf.{}"}
+MACRO {cacm} {"Commun. ACM"}
+MACRO {ibmjrd} {"IBM J.~Res.\ Dev.{}"}
+MACRO {ibmsj} {"IBM Syst.~J.{}"}
+MACRO {ieeese} {"IEEE Trans.\ Softw.\ Eng.{}"}
+MACRO {ieeetc} {"IEEE Trans.\ Comput.{}"}
+MACRO {ieeetcad}
+ {"IEEE Trans.\ Comput.-Aided Design Integrated Circuits"}
+MACRO {ipl} {"Inf.\ Process.\ Lett.{}"}
+MACRO {jacm} {"J.~ACM"}
+MACRO {jcss} {"J.~Comput.\ Syst.\ Sci.{}"}
+MACRO {scp} {"Sci.\ Comput.\ Programming"}
+MACRO {sicomp} {"SIAM J.~Comput.{}"}
+MACRO {tocs} {"ACM Trans.\ Comput.\ Syst.{}"}
+MACRO {tods} {"ACM Trans.\ Database Syst.{}"}
+MACRO {tog} {"ACM Trans.\ Gr.{}"}
+MACRO {toms} {"ACM Trans.\ Math.\ Softw.{}"}
+MACRO {toois} {"ACM Trans.\ Office Inf.\ Syst.{}"}
+MACRO {toplas} {"ACM Trans.\ Prog.\ Lang.\ Syst.{}"}
+MACRO {tcs} {"Theoretical Comput.\ Sci.{}"}
+%</bststd&bstshort>
+% \end{macrocode}
+% Action.
+% \begin{macrocode}
+%<*bststd>
+
+READ
+
+%</bststd>
+% \end{macrocode}
+%
+% \subsubsection{Sorted bibliographies}
+%
+% This code is only used for sorted bibliographies.
+% \changes{1.00}{2005/02/16}{Fix sorting of \BibTeX\ entries without
+% an author}%
+% \begin{macrocode}
+%<*bststd&!bstunsorted>
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+INTEGERS { len }
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+%</bststd&!bstunsorted>
+%<*bststd&bstalpha>
+% \end{macrocode}
+%
+% \begin{macrocode}
+INTEGERS { et.al.char.used }
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+EXECUTE {initialize.et.al.char.used}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ year field.or.null purify$ #-1 #2 substring$
+ *
+ 'label :=
+ year field.or.null purify$ #-1 #4 substring$
+ *
+ sortify 'sort.label :=
+}
+
+%</bststd&bstalpha>
+%<*bststd&!bstunsorted>
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+%</bststd&!bstunsorted>
+% \end{macrocode}
+% \changes{0.41}{2003/11/03}{Corrected \texttt{babunsrt.bst}}%
+% \begin{macrocode}
+%<*bststd&!bstshort&!bstunsorted>
+ s nameptr "{ll{ }}{ ff{ }}{vv{ } }{ jj{ }}" format.name$ 't :=
+%</bststd&!bstshort&!bstunsorted>
+%<*bststd&bstshort&!bstunsorted>
+ s nameptr "{ll{ }}{ f{ }}{vv{ } }{ jj{ }}" format.name$ 't :=
+%</bststd&bstshort&!bstunsorted>
+%<*bststd&!bstunsorted>
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {presort}
+{
+%</bststd&!bstunsorted>
+%<*bststd&bstalpha>
+ calc.label
+ sort.label
+ " "
+ *
+%</bststd&bstalpha>
+%<*bststd&!bstunsorted>
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+%</bststd&!bstunsorted>
+%<bststd&bstalpha> *
+%<*bststd&!bstunsorted>
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+ITERATE {presort}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+SORT
+
+%</bststd&!bstunsorted>
+%<*bststd&!bstalpha>
+% \end{macrocode}
+%
+% \begin{macrocode}
+STRINGS { longest.label }
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+INTEGERS { number.label longest.label.width }
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+%</bststd&!bstalpha>
+%<*bststd&bstalpha>
+% \end{macrocode}
+%
+% \begin{macrocode}
+STRINGS { longest.label last.sort.label next.extra }
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+INTEGERS { longest.label.width last.extra.num }
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+%</bststd&bstalpha>
+% \end{macrocode}
+%
+% \subsubsection{Generic code}
+%
+% \begin{macrocode}
+%<*bststd>
+
+EXECUTE {initialize.longest.label}
+
+%</bststd>
+%<bststd&!bstalpha>ITERATE {longest.label.pass}
+%<bststd&bstalpha>ITERATE {forward.pass}
+%<bststd&bstalpha>REVERSE {reverse.pass}
+%<*bststd>
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {begin.bib}
+{
+%</bststd>
+%<*bststd&bstalpha>
+ et.al.char.used
+ { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+ 'skip$
+ if$
+%</bststd&bstalpha>
+%<*bststd>
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+ " \providebibliographyfont{name}{}%" write$ newline$
+ " \providebibliographyfont{lastname}{}%" write$ newline$
+ " \providebibliographyfont{title}{\emph}%" write$ newline$
+ " \providebibliographyfont{jtitle}{\btxtitlefont}%" write$ newline$
+ " \providebibliographyfont{etal}{\emph}%" write$ newline$
+ " \providebibliographyfont{journal}{}%" write$ newline$
+ " \providebibliographyfont{volume}{}%" write$ newline$
+ " \providebibliographyfont{ISBN}{\MakeUppercase}%" write$ newline$
+ " \providebibliographyfont{ISSN}{\MakeUppercase}%" write$ newline$
+ " \providebibliographyfont{url}{\url}%" write$ newline$
+ " \providebibliographyfont{numeral}{}%" write$ newline$
+ " \expandafter\btxselectlanguage\expandafter {\btxfallbacklanguage}"
+ write$ newline$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+EXECUTE {begin.bib}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+EXECUTE {init.state.consts}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+ITERATE {call.type$}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+EXECUTE {end.bib}
+%</bststd>
+% \end{macrocode}
+%
+%
+% \subsection{AMS styles}
+%
+% The following \BibTeX\ styles are derived from the AMS \BibTeX-style-files
+% by the American Mathematical Society.
+% For example, see `amsplain.bst' for more documentation about the
+% original.
+% \begin{macrocode}
+%<*bstams>
+ENTRY
+ { address
+ annote
+ annotelanguage
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ isbn
+ issn
+ journal
+ key
+ language
+ month
+ mrnumber
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ url
+ urldate
+ volume
+ year
+ }
+ {}
+ { label bysame }
+
+
+INTEGERS { output.state before.all mid.sentence }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+}
+
+STRINGS { s t language.state change.temp}
+
+FUNCTION {shows}
+{ duplicate$ ":::: `" swap$ * "'" * top$
+}
+
+FUNCTION {showstack}
+{"STACK================================================================"
+top$
+stack$
+"ENDSTACK============================================================="
+top$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {language.change.case}
+{
+ 'change.temp :=
+ 't :=
+ "\btxifchangecase {"
+ t change.temp change.case$ *
+ "}{" *
+ t *
+ "}" *
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+% \end{macrocode}
+% \changes{1.00}{2005/02/16}{Remove \texttt{emphasize} and
+% \texttt{smallcaps} from \BibTeX\ styles}%
+% \begin{macrocode}
+FUNCTION {namefont}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\btxnamefont {" swap$ * "}" * }
+ if$
+}
+
+% \end{macrocode}
+% \changes{1.12}{2005/06/19}{Add extra formatting of lastnames to
+% \BibTeX\ styles}%
+% \begin{macrocode}
+FUNCTION {lastnamefont}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\btxlastnamefont {" swap$ * "}" * }
+ if$
+}
+
+FUNCTION {titlefont}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\btxtitlefont {" swap$ * "}" * }
+ if$
+}
+
+FUNCTION {jtitlefont}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\btxjtitlefont {" swap$ * "}" * }
+ if$
+}
+
+FUNCTION {journalfont}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\btxjournalfont {" swap$ * "}" * }
+ if$
+}
+
+FUNCTION {publisherfont}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\btxpublisherfont {" swap$ * "}" * }
+ if$
+}
+
+FUNCTION {volumefont}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\btxvolumefont {" swap$ * "}" * }
+ if$
+}
+
+FUNCTION {etalfont}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\btxetalfont {" swap$ * "}" * }
+ if$
+}
+
+% \end{macrocode}
+% \texttt{n.dashify} is used to make sure page ranges get the \TeX\ code
+% (two hyphens) for en-dashes.
+% \begin{macrocode}
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+% \end{macrocode}
+% |tie.or.space.connect| connects two items with a |~| if the
+% second item is less than 3 letters long, otherwise it just puts an
+% ordinary space.
+% \begin{macrocode}
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { "\ " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {add.space.if.necessary}
+{ duplicate$ "" =
+ 'skip$
+ { "\ " * }
+ if$
+}
+
+% \end{macrocode}
+% |either.or.check| gives a warning if two mutually exclusive fields
+% were used in the database.
+% \begin{macrocode}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+% \end{macrocode}
+% |output.nonnull| is called by output.
+% \begin{macrocode}
+FUNCTION {output.nonnull}
+% \end{macrocode}
+% remove the top item from the stack because it's in the way.
+% \begin{macrocode}
+{ 's :=
+ output.state mid.sentence =
+% \end{macrocode}
+% If we're in mid-sentence, add a comma to the new top item and write it
+% \begin{macrocode}
+ { ", " * write$ }
+% \end{macrocode}
+% Otherwise, if we're at the beginning of a bibitem,
+% \begin{macrocode}
+ { output.state before.all =
+% \end{macrocode}
+% just write out the top item from the stack;
+% \begin{macrocode}
+ 'write$
+% \end{macrocode}
+% and the last alternative is that we're at the end of the current
+% bibitem, so we add a period to the top stack item and write it out.
+% \begin{macrocode}
+ { add.period$ " " * write$ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+% \end{macrocode}
+% Put the top item back on the stack that we removed earlier.
+% \begin{macrocode}
+ s
+}
+
+% \end{macrocode}
+% Output checks to see if the stack top is empty; if not, it
+% calls output.nonnull to write it out.
+% \begin{macrocode}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+% \end{macrocode}
+% Standard warning message for a missing or empty field. For the user
+% we call any such field `missing' without respect to the distinction
+% made by Bib\TeX\ between missing and empty.
+% \begin{macrocode}
+FUNCTION {missing.warning}
+{ "missing " swap$ * " in " * cite$ * warning$ }
+
+% \end{macrocode}
+% |output.check| is like output except that it gives a warning on-screen
+% if the given field in the database entry is empty. t is the field
+% name.
+% \begin{macrocode}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ t missing.warning }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+% \end{macrocode}
+% \changes{0.40}{2003/09/26}{Switch to a fall-back language when
+% \texttt{language} field is missing}%
+% If no language is given, fall back to the language that has been
+% active at \cs{begin\{document\}}.
+% For \BibTeX, this language gets the name \texttt{nolanguage}.
+% \begin{macrocode}
+ language empty$
+ { "empty language in " cite$ * warning$
+ language.state "nolanguage" =
+ 'skip$
+ {
+ "\expandafter\btxselectlanguage\expandafter {"
+ "\btxfallbacklanguage}" * write$
+ newline$
+ }
+ if$
+ "nolanguage" 'language.state :=
+ }
+ { language.state language =
+ 'skip$
+ { "\btxselectlanguage {" language * "}" * write$
+ newline$
+ }
+ if$
+ language 'language.state :=
+ }
+ if$
+ "\bibitem {" cite$ * "}" * write$
+ newline$
+% \end{macrocode}
+% This empty string is the first thing that will be written
+% the next time \verb|write$| is called. Done this way because each
+% item is saved on the stack until we find out what punctuation
+% should be added after it. Therefore we need an empty first item.
+% \begin{macrocode}
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {output.nonempty.mrnumber}
+{ duplicate$ missing$
+ { pop$ "" }
+ 'skip$
+ if$
+ duplicate$ empty$
+ 'pop$
+ { " \MR{" swap$ * "}" * write$ }
+ if$
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ mrnumber output.nonempty.mrnumber
+ newline$
+}
+
+% \end{macrocode}
+% Removed |new.block|, |new.block.checka|, |new.block.checkb|,
+% |new.sentence|, |new.sentence.checka|, and |new.sentence.checkb|
+% functions here, since they don't seem to be needed in the AMS style.
+% Also moved some real basic functions like `and' and 'or' earlier in
+% the file.
+% \begin{macrocode}
+INTEGERS { nameptr namesleft numnames }
+
+% \end{macrocode}
+% The extra section to write out a language field was added
+% for babamspl.bst. Not present in babplain.bst.
+% \begin{macrocode}
+FUNCTION {format.language}
+{ language empty$
+ { "" }
+ { "\btxprintamslanguage{\btxlanguagename {" language * "}}" * }
+ if$
+}
+
+% \end{macrocode}
+% This version of format.names puts names in the format
+% ``First von Last, Jr.''
+% (i.\,e., first name first, no abbreviating to initials).
+% \begin{macrocode}
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {
+ s nameptr "{ff{\btxfnamespacelong }~}{vv~}" format.name$
+ s nameptr "{ll}" format.name$ lastnamefont *
+ s nameptr "{, jj}" format.name$ * 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t namefont * }
+ { numnames #2 >
+ { "\btxandcomma {}" * }
+ 'skip$
+ if$
+ s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ "others" =
+ { " " * "\btxetalshort {.}" etalfont * }
+ { " \btxandlong {} " * t namefont * }
+ if$
+ }
+ if$
+ }
+ {
+ s nameptr "{ff{\btxfnamespacelong }~}{vv~}" format.name$
+ s nameptr "{ll}" format.name$ lastnamefont *
+ s nameptr "{, jj}" format.name$ * namefont
+ }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { bysame "\bysame" =
+ {"\bysame"}
+ { author format.names }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { "\ (\btxeditorsshort {.})" * }
+ { "\ (\btxeditorshort {.})" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.nonauthor.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", \btxeditorsshort {.}" * }
+ { ", \btxeditorshort {.}" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" language.change.case titlefont }
+ if$
+}
+
+FUNCTION {format.jtitle}
+{ title empty$
+ { "" }
+ { title "t" language.change.case jtitlefont }
+ if$
+}
+
+FUNCTION {format.journal.vol.year}
+{ journal empty$
+ { "journal name" missing.warning ""}
+ { journal journalfont }
+ if$
+ volume empty$
+ 'skip$
+ { " " * volume volumefont * }
+ if$
+ year empty$
+ { "year" missing.warning }
+ { " (" * year * ")" * }
+ if$
+}
+
+% \end{macrocode}
+% For formatting the issue number for a journal article.
+% \begin{macrocode}
+FUNCTION {format.number}
+{ number empty$
+ { "" }
+ { "\btxnumbershort {.}~" number * }
+ if$
+}
+
+% \end{macrocode}
+% For formatting miscellaneous dates
+% \begin{macrocode}
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { "\btxprintmonthyear{.}{"
+ month * "}{" * year * "}{long}" *
+ }
+ if$
+ }
+ if$
+}
+
+% \end{macrocode}
+% The volume, series and number information is sort of tricky.
+% This code handles it as follows:
+% If the series is present, and the volume, but not the number,
+% then we do "\emph{Book title}, Series Name, vol. 000"
+% If the series is present, and the number, but not the volume,
+% then we do "\emph{Book title}, Series Name, no. 000"
+% If the series is present, and both number and volume,
+% then we do "\emph{Book title}, vol. XX, Series Name, no. 000"
+% Finally, if the series is absent,
+% then we do "\emph{Book title}, vol. XX"
+% or "\emph{Book title}, no. 000"
+% and if both volume and number are present, give a warning message.
+% \begin{macrocode}
+FUNCTION {format.bookvolume.series.number}
+{ volume empty$
+ { "" % Push the empty string as a placeholder in case everything else
+ % is empty too.
+ series empty$
+ 'skip$
+ { pop$ series } % if series is not empty put in stack
+ if$
+ number empty$
+ 'skip$
+ { duplicate$ empty$ % if no preceding material,
+ 'skip$ % do nothing, otherwise
+ { ", " * } % add a comma and space to separate.
+ if$
+ "\btxnumbershort {.}" number tie.or.space.connect * % add the number information
+ }
+ if$
+ }
+% \end{macrocode}
+% If the volume is NOT EMPTY:
+% \begin{macrocode}
+ { "\btxvolumeshort {.}" volume tie.or.space.connect % vol. XX
+ number empty$
+ { series empty$
+ 'skip$
+ { series ", " * swap$ *} % Series Name, vol. XX
+ if$
+ }
+ { series empty$
+ { "can't use both volume and number if series info is missing"
+ warning$
+ "in BibTeX entry type `" type$ * "'" * top$
+ }
+ { ", " * series * ", \btxnumbershort {.}" * number tie.or.space.connect }
+ if$
+ }
+ if$
+ }
+ if$
+
+} % end of format.bookvolume.series.number
+
+% \end{macrocode}
+% |format.inproc.title.where.editors| is used by inproceedings entry types
+% No case changing or emphasizing for the title. We want initial
+% caps, roman.
+% We add parentheses around the address (place where conference
+% was held).
+% Likewise we add parentheses around the editors' names.
+% \begin{macrocode}
+FUNCTION {format.inproc.title.address.editors}
+{ booktitle empty$
+ { "" }
+ { booktitle
+ address empty$
+ 'skip$
+ { add.space.if.necessary "(" * address * ")" * }
+ if$
+ editor empty$
+ 'skip$
+ { add.space.if.necessary "(" * format.nonauthor.editors * ")" * }
+ if$
+ }
+ if$
+}
+
+% \end{macrocode}
+% |format.incoll.title.editors| is similar to |format.inproc...| but
+% omits the address. For collections that are not proceedings volumes.
+% \begin{macrocode}
+FUNCTION {format.incoll.title.editors}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { booktitle }
+ { booktitle
+ add.space.if.necessary "(" * format.nonauthor.editors * ")" *
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ {
+ output.state mid.sentence =
+ { edition "l" change.case$ }
+ { edition "t" change.case$ }
+ if$
+ "\btxeditionnumshort {" swap$ *
+ "}{.}" *
+ }
+ if$
+}
+
+FUNCTION {format.isbn}
+{ isbn empty$
+ { "" }
+ { "\mbox{\btxISBN~\btxISBNfont {" isbn * "}}" * }
+ if$
+}
+
+FUNCTION {format.issn}
+{ issn empty$
+ { "" }
+ { "\mbox{\btxISSN~\btxISSNfont {" issn * "}}" * }
+ if$
+}
+
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ {
+ urldate empty$
+ { "{\latintext \btxurlfont{" url * "}}" * }
+ {
+ "{\latintext \btxurlfont{" url * "}}\empty " *
+ "\btxurldatecomment {\btxkeywordlanguage {\btxurldatefont{" *
+ urldate * "}}}" *
+ }
+ if$
+ }
+ if$
+}
+% \end{macrocode}
+% Format annotations:
+% \begin{macrocode}
+FUNCTION {write.annote}
+{ annote empty$
+ 'skip$
+ {
+ annotelanguage empty$
+ { "\btxkeywordlanguage {" }
+ { "{\selectlanguage {" annotelanguage * "}" * }
+ if$
+ "\btxannotation {" * annote * "}}" *
+ write$ newline$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages n.dashify }
+ if$
+}
+
+FUNCTION {format.book.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "\btxpagesshort {.}~" pages n.dashify * }
+ { "\btxpageshort {.}~" pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.book.pages
+ { type empty$
+ { "\btxchaptershort {.}~" }
+ { type "l" language.change.case " " * }
+ if$
+ chapter *
+ pages empty$
+ 'skip$
+ { ", " * format.book.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" language.change.case
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "\Btxtechrepshort {.}" }
+ 'type
+ if$
+ number empty$
+ { "t" language.change.case }
+ { number tie.or.space.connect }
+ if$
+}
+
+% \end{macrocode}
+% The |format.crossref| functions haven't been paid much attention
+% at the present time (June 1990) and could probably use some
+% work. MJD
+% \begin{macrocode}
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "\btxinshort {} " journal journalfont * }
+ if$
+ }
+ { "\btxinshort {} " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " \btxetalshort {.}" * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " \btxetalshort {.}" * }
+ { " \btxandlong {} " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "\btxinserieslong {} "
+ }
+ { "\btxvolumeshort {.}" volume tie.or.space.connect
+ " \btxofserieslong {} " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { series * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "\btxinlong {} " * booktitle titlefont * }
+ if$
+ }
+ { "\btxinlong {} " key * }
+ if$
+ }
+ { "\btxinlong {} " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+% \end{macrocode}
+% The main functions for each entry type.
+%
+% journal, vol and year are formatted together because they are
+% not separated by commas.
+% \begin{macrocode}
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ format.jtitle "title" output.check
+ crossref missing$
+ { format.journal.vol.year output
+ format.number output
+ format.pages "pages" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages "pages" output.check
+ }
+ if$
+ format.issn output
+ format.url output
+ format.language *
+ note output
+ fin.entry
+ write.annote
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.title "title" output.check
+ format.edition output
+ crossref missing$
+ { format.bookvolume.series.number output
+ publisher "publisher" output.check publisherfont
+ address output
+ }
+ { format.book.crossref output.nonnull
+ }
+ if$
+ format.date "year" output.check
+ format.isbn output
+ format.url output
+ format.language *
+ note output
+ fin.entry
+ write.annote
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ format.title "title" output.check
+ howpublished output
+ address output
+ format.date output
+ format.url output
+ note output
+ fin.entry
+ write.annote
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.title "title" output.check
+ format.edition output
+ crossref missing$
+ { format.bookvolume.series.number output
+ format.chapter.pages "chapter and pages" output.check
+ publisher "publisher" output.check publisherfont
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.date "year" output.check
+ format.isbn output
+ format.url output
+ format.language *
+ note output
+ fin.entry
+ write.annote
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ crossref missing$
+ { format.incoll.title.editors "booktitle" output.check
+ format.bookvolume.series.number output
+ publisher "publisher" output.check publisherfont
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ }
+ if$
+ note output
+ format.book.pages output
+ format.isbn output
+ format.url output
+ format.language *
+ fin.entry
+ write.annote
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ crossref missing$
+ { format.inproc.title.address.editors "booktitle" output.check
+ format.bookvolume.series.number output
+ organization output
+ publisher publisherfont output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ }
+ if$
+ note output
+ format.book.pages output
+ format.isbn output
+ format.url output
+ format.language *
+ fin.entry
+ write.annote
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ format.title "title" output.check
+ author empty$
+ { organization empty$
+ { address output }
+ 'skip$
+ if$
+ }
+ { organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ format.isbn output
+ format.url output
+ note output
+ fin.entry
+ write.annote
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ "\btxmastthesis {}" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ format.url output
+ note output
+ format.book.pages output
+ fin.entry
+ write.annote
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ format.title output
+ howpublished output
+ format.date output
+ format.isbn output
+ format.issn output
+ format.url output
+ note output
+ format.book.pages output
+ fin.entry
+ write.annote
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ "\btxphdthesis {}" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ format.isbn output
+ format.url output
+ note output
+ format.book.pages output
+ fin.entry
+ write.annote
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ format.title "title" output.check
+ format.bookvolume.series.number output
+ address empty$
+ { editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher publisherfont output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher publisherfont output
+ format.date "year" output.check
+ }
+ if$
+ format.isbn output
+ format.url output
+ note output
+ fin.entry
+ write.annote
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ format.isbn output
+ format.url output
+ note output
+ fin.entry
+ write.annote
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ format.url output
+ note "note" output.check
+ format.date output
+ fin.entry
+ write.annote
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"1"}
+MACRO {feb} {"2"}
+MACRO {mar} {"3"}
+MACRO {apr} {"4"}
+MACRO {may} {"5"}
+MACRO {jun} {"6"}
+MACRO {jul} {"7"}
+MACRO {aug} {"8"}
+MACRO {sep} {"9"}
+MACRO {oct} {"10"}
+MACRO {nov} {"11"}
+MACRO {dec} {"12"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" language.change.case
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label prev.author this.author }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+ "abcxyz" 'prev.author :=
+ "" 'this.author :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ author empty$
+ { editor empty$
+ { "" }
+ 'editor
+ if$
+ }
+ 'author
+ if$
+ 'this.author :=
+ this.author prev.author =
+ { "\bysame" 'bysame := }
+ { "" 'bysame :=
+ this.author "" =
+ { "abcxyz" }
+ 'this.author
+ if$
+ 'prev.author :=
+ }
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {write.lines}
+{ { duplicate$ "." = NOT }
+ { write$ newline$ }
+ while$
+ pop$
+}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+ " \providecommand{\bysame}{\leavevmode\hbox to3em{\hrulefill}\thinspace}"
+ write$ newline$
+ " \providecommand{\MR}{\relax\ifhmode\unskip\space\fi MR }"
+ write$ newline$
+ " % \MRhref is called by the amsart/book/proc definition of \MR."
+ write$ newline$
+ " \providecommand{\MRhref}[2]{%" write$ newline$
+ " \href{http://www.ams.org/mathscinet-getitem?mr=#1}{#2}"
+ write$ newline$
+ " }" write$ newline$
+ " \providecommand{\href}[2]{#2}" write$ newline$
+ " \providebibliographyfont{name}{}%" write$ newline$
+ " \providebibliographyfont{lastname}{}%" write$ newline$
+ " \providebibliographyfont{title}{\emph}%" write$ newline$
+ " \providebibliographyfont{jtitle}{\btxtitlefont}%" write$ newline$
+ " \providebibliographyfont{etal}{}%" write$ newline$
+ " \providebibliographyfont{journal}{}%" write$ newline$
+ " \providebibliographyfont{volume}{\textbf}%" write$ newline$
+ " \providebibliographyfont{ISBN}{\MakeUppercase}%" write$ newline$
+ " \providebibliographyfont{ISSN}{\MakeUppercase}%" write$ newline$
+ " \providebibliographyfont{url}{\url}%" write$ newline$
+ " \providebibliographyfont{numeral}{}%" write$ newline$
+ " \providecommand\btxprintamslanguage[1]{\ (#1)}" write$ newline$
+ " \expandafter\btxselectlanguage\expandafter {\btxfallbacklanguage}"
+ write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+%</bstams>
+% \end{macrocode}
+%
+% \Finale
+
diff --git a/biblio/bibtex/contrib/babelbib/babelbib.ins b/biblio/bibtex/contrib/babelbib/babelbib.ins
new file mode 100644
index 0000000000..a757a37e7d
--- /dev/null
+++ b/biblio/bibtex/contrib/babelbib/babelbib.ins
@@ -0,0 +1,69 @@
+\def\batchfile{babelbib.ins}
+\input docstrip.tex
+\preamble
+
+ babelbib package
+
+ Copyright 2003--2012 Harald Harders
+
+ This program can be redistributed and/or modified under the terms
+ of the LaTeX Project Public License Distributed from CTAN
+ archives in directory macros/latex/base/lppl.txt; either
+ version 1 of the License, or any later version.
+
+ harald.harders@gmx.de
+
+\endpreamble
+
+\askforoverwritefalse
+
+% Files
+%%%%%%%%%%%%%%%%%%%%%%
+\generate{%
+ \file{babelbib.sty}{\from{babelbib.dtx}{latex,package}}%
+ \file{afrikaans.bdf}{\from{babelbib.dtx}{latex,afrikaans}}%
+ \file{bahasa.bdf}{\from{babelbib.dtx}{latex,bahasa}}%
+ \file{catalan.bdf}{\from{babelbib.dtx}{latex,catalan}}%
+ \file{croatian.bdf}{\from{babelbib.dtx}{latex,croatian}}%
+ \file{czech.bdf}{\from{babelbib.dtx}{latex,czech}}%
+ \file{danish.bdf}{\from{babelbib.dtx}{latex,danish}}%
+ \file{dutch.bdf}{\from{babelbib.dtx}{latex,dutch}}%
+ \file{english.bdf}{\from{babelbib.dtx}{latex,english}}%
+ \file{esperanto.bdf}{\from{babelbib.dtx}{latex,esperanto}}%
+ \file{finnish.bdf}{\from{babelbib.dtx}{latex,finnish}}%
+ \file{french.bdf}{\from{babelbib.dtx}{latex,french}}%
+ \file{galician.bdf}{\from{babelbib.dtx}{latex,galician}}%
+ \file{german.bdf}{\from{babelbib.dtx}{latex,german}}%
+ \file{greek.bdf}{\from{babelbib.dtx}{latex,greek}}%
+ \file{italian.bdf}{\from{babelbib.dtx}{latex,italian}}%
+ \file{norsk.bdf}{\from{babelbib.dtx}{latex,norsk}}%
+ \file{portuguese.bdf}{\from{babelbib.dtx}{latex,portuguese}}%
+ \file{romanian.bdf}{\from{babelbib.dtx}{latex,romanian}}%
+ \file{russian.bdf}{\from{babelbib.dtx}{latex,russian}}%
+ \file{serbian.bdf}{\from{babelbib.dtx}{latex,serbian}}%
+ \file{spanish.bdf}{\from{babelbib.dtx}{latex,spanish}}%
+ \file{swedish.bdf}{\from{babelbib.dtx}{latex,swedish}}%
+ \usepostamble\empty
+ \file{babplain.bst}{\from{babelbib.dtx}{bst,bststd}}%
+ \file{babplain-fl.bst}{\from{babelbib.dtx}{bst,bststd,namevara}}%
+ \file{babplain-lf.bst}{\from{babelbib.dtx}{bst,bststd,namevarb}}%
+ \file{babplai3.bst}{\from{babelbib.dtx}{bst,bststd,bstthree}}%
+ \file{babplai3-fl.bst}{\from{babelbib.dtx}{bst,bststd,bstthree,namevara}}%
+ \file{babplai3-lf.bst}{\from{babelbib.dtx}{bst,bststd,bstthree,namevarb}}%
+ \file{bababbrv.bst}{\from{babelbib.dtx}{bst,bststd,bstshort}}%
+ \file{bababbrv-fl.bst}{\from{babelbib.dtx}{bst,bststd,bstshort,namevara}}%
+ \file{bababbrv-lf.bst}{\from{babelbib.dtx}{bst,bststd,bstshort,namevarb}}%
+ \file{bababbr3.bst}{\from{babelbib.dtx}{bst,bststd,bstshort,bstthree}}%
+ \file{bababbr3-fl.bst}{\from{babelbib.dtx}{bst,bststd,bstshort,bstthree,namevara}}%
+ \file{bababbr3-lf.bst}{\from{babelbib.dtx}{bst,bststd,bstshort,bstthree,namevarb}}%
+ \file{babunsrt.bst}{\from{babelbib.dtx}{bst,bststd,bstunsorted}}%
+ \file{babunsrt-fl.bst}{\from{babelbib.dtx}{bst,bststd,bstunsorted,namevara}}%
+ \file{babunsrt-lf.bst}{\from{babelbib.dtx}{bst,bststd,bstunsorted,namevarb}}%
+ \file{babalpha.bst}{\from{babelbib.dtx}{bst,bststd,bstsorted,bstalpha}}%
+ \file{babalpha-fl.bst}{\from{babelbib.dtx}{bst,bststd,bstsorted,bstalpha,namevara}}%
+ \file{babalpha-lf.bst}{\from{babelbib.dtx}{bst,bststd,bstsorted,bstalpha,namevarb}}%
+ \file{babamspl.bst}{\from{babelbib.dtx}{bst,bstams}}%
+}
+
+\Msg{* Ready}
+\endbatchfile
diff --git a/biblio/bibtex/contrib/babelbib/babelbib.pdf b/biblio/bibtex/contrib/babelbib/babelbib.pdf
new file mode 100644
index 0000000000..21c0e1a8c7
--- /dev/null
+++ b/biblio/bibtex/contrib/babelbib/babelbib.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/babelbib/babelbibtest.bib b/biblio/bibtex/contrib/babelbib/babelbibtest.bib
new file mode 100644
index 0000000000..4653c2a731
--- /dev/null
+++ b/biblio/bibtex/contrib/babelbib/babelbibtest.bib
@@ -0,0 +1,3921 @@
+@Misc{harders2005a,
+ author = {Harders, Harald},
+ title = {Homepage von Harald Harders},
+ month = jul,
+ year = 2004,
+ url = {http://www.harald-harders.de},
+ urldate = {2005-02-17},
+ language = {ngerman},
+ annote = {I do not know what I should exactly write here. Thus I
+ leave everything empty. This is written in \languagename.},
+}
+
+@Misc{harders2005b,
+ author = {Harders, Harald},
+ title = {Homepage of Harald Harders},
+ month = jul,
+ year = 2004,
+ url = {http://www.harald-harders.de/index_en.html},
+ urldate = {2005-02-17},
+ language = {english},
+ annote = {Das ist eine Anmerkung, die in deutsch gesetzt werden muss.
+ Sie wird auch in \languagename\ geschrieben.},
+ annotelanguage = {ngerman}
+}
+
+@Article{abinger1988a,
+ author = {Abinger, R. and Hammer, F. and Leopold, J. and others},
+ title = {Gro"sschaden an einem 300"=MW"=Dampfturbosatz},
+ journal = {Der Maschinenschaden},
+ year = 1988,
+ volume = 61,
+ number = 2,
+ pages = {58--60},
+ language = {ngerman},
+}
+
+
+@Article{aboav1997a,
+ author = {Aboav, D. A.},
+ title = {Foam and Polycrystal},
+ journal = {Materials characterization},
+ year = 1997,
+ volume = 39,
+ pages = {169--181},
+ issn = {1044-5803}
+}
+% language = {english},
+
+
+@Misc{akprueftechnik2000a,
+ key = {Protokoll},
+ title = {Protokoll des Arbeitskreistreffens "`Mechanische
+ Pr"uftechnik"' und "`Quantitative Gef"ugebeschreibung"' am
+ 29.\ und 30.\,03.~2000 an der TU Bergakademie Freiberg,
+ Institut f\"ur Metallkunde},
+ month = {04.\,04.},
+ year = 2000,
+ language = {ngerman}
+}
+
+@Book{altenpohl1994a,
+ author = {Altenpohl, D.},
+ title = {aluminium von innen},
+ publisher = {Aluminium"=Verlag},
+ year = 1994,
+ address = {D"usseldorf},
+ edition = 5,
+ language = {ngerman},
+ isbn = {3-87017-235-5}
+}
+
+@Book{aluminium1983a,
+ editor = {Aluminium-Zentrale},
+ title = {Aluminium-Taschenbuch},
+ publisher = {Aluminium-Verlag},
+ year = 1983,
+ address = {D"usseldorf},
+ edition = 14,
+ language = {ngerman},
+ isbn = {3-87017-169-3}
+}
+
+@Article{andrews1999a,
+ author = {Andrews, E. and Sanders, W. and Gibson, L. J.},
+ title = {Compressive and Tensile Behaviour of Aluminium Foams},
+ journal = {Materials Science and Engineering},
+ year = 1999,
+ volume = {A~270},
+ pages = {113--124},
+ language = {english}
+}
+
+@Article{andrews2001a,
+ author = {Andrews, E. W. and Gibson, L. J.},
+ title = {The Influence of Cracks, Notches and Holes on the Tensile
+ Strength of Cellular Solids},
+ journal = {Acta Materialia},
+ year = 2001,
+ volume = 49,
+ pages = {2975--2979},
+ language = {english}
+}
+
+@Article{andrews2001b,
+ author = {Andrews, E. W. and Gibson, L. J.},
+ title = {The Influence of Crack-Like Defects on the Tensile Strength
+ of an Open-Cell Aluminum Foam},
+ journal = {Scripta materialia},
+ year = 2001,
+ volume = 44,
+ pages = {1005--1010},
+ language = {english}
+}
+
+@Article{andrews2001c,
+ author = {Andrews, E. W. and Gioux, G. and Onck, P. R. and
+ Gibson, L. J.},
+ title = {Size effects in ductile cellular solids. Part~I:
+ experimental results},
+ journal = {International Journal of Mechanical Sciences},
+ year = 2001,
+ volume = 43,
+ pages = {701--713},
+ language = {english}
+}
+
+@Article{andrieux2000a,
+ author = {Andrieux, F. and Sun, D.-Z.},
+ title = {Entwicklung und Anwendung von Werkstoffmodellen zur
+ Beschreibung des Verformungs- und Versagensverhaltens von
+ Aluminiumsch"aumen},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {531--534},
+ language = {ngerman}
+}
+
+@InProceedings{arzt1999a,
+ author = {Arzt, M. and Brocks, W. and Mohr, R.},
+ title = {An implicit integration method for solving non-linear
+ problems in mechanics of structures under complex loading
+ histories},
+ booktitle = {Proceedings of the Ninth International Conference on
+ Computational Methods and Experimental Measurements --
+ CMEM 99},
+ pages = {371--380},
+ year = 1999,
+ editor = {Carlomagno, C. M. and Brebbia, C. A.},
+ volume = 2,
+ series = {Computational Engineering},
+ address = {Southhampton},
+ publisher = {WIT Press},
+ language = {english},
+ isbn = {1-85312-683-7}
+}
+
+@Book{ashby1980a,
+ author = {Ashby, M. F. and Jones, D. R. H.},
+ title = {Engineering Materials 1: An Introduction to their
+ Properties and Applications},
+ publisher = {Pergamon Press},
+ year = 1980,
+ address = {Oxford},
+ language = {english},
+ isbn = {0-08-026138-8}
+}
+
+@Article{ashby1983a,
+ author = {Ashby, M. F.},
+ title = {The mechanical properties of cellular solids},
+ journal = {Metallurgical Transactions},
+ year = 1983,
+ volume = {14~A},
+ pages = 1755,
+ language = {english}
+}
+
+@Book{ashby1986a,
+ author = {Ashby, M. F. and Jones, D. R. H.},
+ title = {Engineering Materials 2: An Introduction to
+ Microstructure, Processing and Design},
+ publisher = {Pergamon Press},
+ year = 1986,
+ address = {Oxford},
+ language = {english},
+ isbn = {0-08-032532-7}
+}
+
+@Book{ashby1992a,
+ author = {Ashby, M. F.},
+ title = {Materials Selection in Mechanical Design},
+ publisher = {Butterworth-Heinemann},
+ year = 1992,
+ address = {Oxford},
+ isbn = {0-7506-2727-1},
+ language = {english}
+}
+
+@Book{ashby1998a,
+ editor = {Ashby, M. F. and Evans, A. G. and Hutchinson, J. W. and
+ Fleck, N. A.},
+ title = {Metal Foams: a Design Guide},
+ publisher = {Cambridge Centre for Micromechanics},
+ year = 1998,
+ number = {Report Number CUED/C-MICROMECH/TR3},
+ language = {english}
+}
+
+@Book{ashcroft1988a,
+ author = {Ashcroft, N. W. and Mermin, N. D.},
+ title = {Solid State Physics},
+ publisher = {ITPS Thomson Learning},
+ year = 2000,
+ language = {english},
+ isbn = {0-03-083993-9}
+}
+
+@Book{askeland1996a,
+ author = {Askeland, D. R.},
+ title = {Materialwissenschaften},
+ publisher = {Spektrum Akademischer Verlag},
+ year = 1996,
+ address = {Heidelberg},
+ language = {ngerman},
+ isbn = {3-86025-357-3}
+}
+
+@InBook{astm399a,
+ editor = {Storer, R. A. and others},
+ title = {Metals Test Methods and Analytical Procedures},
+ chapter = {Standard Test Method for Plane-Strain Fracture Toughness
+ of Metallic Materials},
+ publisher = {American Society for Testing and Materials},
+ year = 1995,
+ volume = {03.01},
+ series = {1995 Annual Book of ASTM Standards},
+ address = {Philadelphia},
+ pages = {412--442},
+ language = {english},
+ isbn = {0-8031-2200-4}
+}
+
+@InBook{astm561a,
+ editor = {Storer, R. A. and others},
+ title = {Metals Test Methods and Analytical Procedures},
+ chapter = {Standard Practice for {$R$}-Curve Determination},
+ publisher = {American Society for Testing and Materials},
+ year = 1995,
+ volume = {03.01},
+ series = {1995 Annual Book of ASTM Standards},
+ address = {Philadelphia},
+ pages = {492--504},
+ language = {english},
+ isbn = {0-8031-2200-4}
+}
+
+@TechReport{aurenhammer1996a,
+ author = {Aurenhammer, F. and Klein, R.},
+ title = {Voronoi Diagrams, english, Nummer},
+ institution = {FernUniversit\"at Gesamthochschule in Hagen},
+ year = 1996,
+ number = 198,
+ month = 5,
+ language = {english}
+}
+
+@TechReport{aurenhammer1996b,
+ author = {Aurenhammer, F. and Klein, R.},
+ title = {Voronoi Diagrams, ngerman, Nummer},
+ institution = {FernUniversit\"at Gesamthochschule in Hagen},
+ year = 1996,
+ number = 198,
+ month = 5,
+ type = {Gross klein Gross klein},
+ language = {ngerman}
+}
+
+@TechReport{aurenhammer1996c,
+ author = {Aurenhammer, F. and Klein, R.},
+ title = {Voronoi Diagrams, english},
+ institution = {FernUniversit\"at Gesamthochschule in Hagen},
+ year = 1996,
+ month = may,
+ type = {Gross klein Gross klein},
+ language = {english}
+}
+
+@TechReport{aurenhammer1996d,
+ author = {Aurenhammer, F. and Klein, R.},
+ title = {Voronoi Diagrams, ngerman},
+ institution = {FernUniversit\"at Gesamthochschule in Hagen},
+ year = 1996,
+ month = 5,
+ type = {Gross klein Gross klein},
+ language = {ngerman}
+}
+
+@TechReport{aurenhammer1996e,
+ author = {Aurenhammer, F. and Klein, R.},
+ title = {Voronoi Diagrams, english},
+ institution = {FernUniversit\"at Gesamthochschule in Hagen},
+ year = 1996,
+ month = 5,
+ language = {english}
+}
+
+@TechReport{aurenhammer1996f,
+ author = {Aurenhammer, F. and Klein, R.},
+ title = {Voronoi Diagrams, ngerman},
+ institution = {FernUniversit\"at Gesamthochschule in Hagen},
+ year = 1996,
+ month = 5,
+ language = {ngerman}
+}
+
+@TechReport{aurenhammer1996g,
+ author = {Aurenhammer, F. and Klein, R.},
+ title = {Voronoi Diagrams, english, Nummer},
+ institution = {FernUniversit\"at Gesamthochschule in Hagen},
+ year = 1996,
+ month = 5,
+ number = 198,
+ language = {english}
+}
+
+@TechReport{aurenhammer1996h,
+ author = {Aurenhammer, F. and Klein, R.},
+ title = {Voronoi Diagrams, ngerman, Nummer},
+ institution = {FernUniversit\"at Gesamthochschule in Hagen},
+ year = 1996,
+ month = 5,
+ number = 198,
+ language = {ngerman}
+}
+
+@Manual{baeker1998a,
+ title = {Automatische Neuvernetzung mit ABAQUS/Standard -- Technik
+ und Anwendungen},
+ author = {B\"aker, M.},
+ organization = {Institut f\"ur Werkstoffe, Technische Universit\"at
+ Braunschweig},
+ address = {Braunschweig},
+ month = oct,
+ year = 1998,
+ language = {ngerman}
+}
+
+@Book{baeker2002a,
+ author = {B\"aker, M.},
+ title = {Numerische Methoden in der Materialwissenschaft},
+ publisher = {Fachbereich Maschinenbau der TU Braunschweig},
+ year = 2002,
+ volume = 8,
+ series = {Braunschweiger Schriften zum Maschinenbau},
+ language = {ngerman},
+ isbn = {3-936148-08-2}
+}
+
+@InCollection{baker1997a,
+ author = {Baker, A.-M. M. and Barry, C. M. F.},
+ title = {Effects of Composition, Processing, and Structure on
+ Properties of Engineering Plastics},
+ booktitle = {Materials Selection and Design},
+ pages = {434--456},
+ publisher = {ASM International},
+ year = 1997,
+ editor = {Dieter, G. E.},
+ volume = 20,
+ series = {ASM Handbook},
+ language = {english},
+ isbn = {0-87170-386-6}
+}
+
+@Article{banhart1994a,
+ author = {Banhart, J. and Baumeister, J. and Weber, M.},
+ title = {Metallschaum~-- ein Werkstoff mit Perspektiven},
+ journal = {Aluminium},
+ year = 1994,
+ volume = 70,
+ number = {3/4},
+ pages = {209--213},
+ language = {ngerman}
+}
+
+@Article{banhart1997a,
+ author = {Banhart, J. and Baumeister, J. and Weber, M.},
+ title = {Aluminium foams for transport industry},
+ journal = {Materials \&\ Design},
+ year = 1997,
+ volume = 18,
+ pages = 221,
+ language = {english}
+}
+
+@Article{banhart1997b,
+ author = {Banhart, J. and Baumeister, J.},
+ title = {Das Verformungsverhalten gesch"aumter Metalle},
+ journal = {Metall},
+ year = 1997,
+ volume = 51,
+ pages = {19--24},
+ note = {vgl.\ \cite{banhart1998a}},
+ language = {ngerman}
+}
+
+@Article{banhart1998a,
+ author = {Banhart, J. and Baumeister, J.},
+ title = {Deformation characteristics of metal foams},
+ journal = {Journal of Materials Science},
+ year = 1998,
+ volume = 33,
+ number = 6,
+ pages = {1431--1440},
+ note = {vgl.\ \cite{banhart1997b}},
+ language = {english}
+}
+
+@Article{banhart1999a,
+ author = {Banhart, J.},
+ title = {Foam Metal: The Recipe},
+ journal = {europhysics news},
+ year = 1999,
+ pages = {17--20},
+ month = {January/February},
+ language = {english}
+}
+
+@Article{banhart1999b,
+ author = {Banhart, J.},
+ title = {Offenporige Aluminiumsch"aume -- Eigenschaften und
+ Anwendungen},
+ journal = {ALUMINIUM},
+ year = 1999,
+ volume = 75,
+ number = 12,
+ language = {ngerman}
+}
+
+@Article{banhart1999c,
+ author = {Banhart, J. and Baumeister, J. and Melzer, A. and
+ Seeliger, W. and Weber, M.},
+ title = {Aluminiumschaum-Leichtbaustrukturen f\"ur den Fahrzeugbau},
+ journal = {Werkstoffe im Automobilbau},
+ year = {1998/1999},
+ language = {ngerman}
+}
+
+@Article{banhart1999d,
+ author = {Banhart, J. and Brinkers, W.},
+ title = {Fatige Behavior of Aluminum Foams},
+ journal = {Journal of Materials Science Letters},
+ year = 1999,
+ volume = 18,
+ pages = {617--619},
+ language = {english}
+}
+
+@Article{banhart2000a,
+ author = {Banhart, J.},
+ title = {Manufacturing Routes for Metallic Foams},
+ journal = {JOM},
+ year = 2000,
+ month = {December},
+ language = {english}
+}
+
+@Article{banhart2000b,
+ author = {Banhart, J.},
+ title = {Eigenschaften und Anwendungsgebiete offenporiger
+ metallischer Werkstoffe},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {501--504},
+ language = {ngerman}
+}
+
+@Article{banhart2001a,
+ author = {Banhart, J. and Bellmann, D. and Clemens, H.},
+ title = {Investigation of Metal Foam Formation by Microscopy and
+ Ultra Small-Angle Neutron Scattering},
+ journal = {Acta materialia},
+ year = 2001,
+ volume = 49,
+ pages = {3409--3420},
+ language = {english}
+}
+
+@Article{banhart2001b,
+ author = {Banhart, J. and Stanzick, H. and Helfen, L. and
+ Baumbach, T.},
+ title = {Metal form evolution studied by synchroton radioscopy},
+ journal = {Applied Physics Letters},
+ year = 2001,
+ volume = 78,
+ number = 8,
+ pages = {1152--1154},
+ language = {english}
+}
+
+@Article{bart-smith1998a,
+ author = {Bart-Smith, H. and Bastawros, A.-F. and Mumm,
+ D. R. and Evans, A. G. and Sypeck, D. J. and Wadley,
+ H. N. G.},
+ title = {Compressive Deformation and Yielding Mechanisms in
+ Cellular {Al} Alloys Determined Using X-Ray Tomography
+ and Surface Strain Mapping},
+ journal = {Acta Materialia},
+ year = 1998,
+ volume = 46,
+ number = 10,
+ pages = {3583--3592},
+ language = {english}
+}
+
+@InProceedings{bart-smith1998b,
+ author = {Bart-Smith, H. and Bastawros, A.-F. and Mumm, D. R. and
+ Evans, A. G. and Sypeck, D. J. and Wadley, H. N. G.},
+ title = {Compressive Deformation and Yielding Mechanisms in
+ Cellular {Al} Alloys Determined Using X-Ray Tomography and
+ Surface Strain Mapping},
+ booktitle = {Porous and Cellular Materials for Structural Applications},
+ pages = {71--81},
+ year = 1998,
+ editor = {Schwartz, D. S. and Shih, D. S. and Evans, A. G. and
+ Wadley, H. N. G.},
+ volume = 521,
+ series = {Symposium Proceedings},
+ address = {Warrendale, Pennsylvania},
+ month = {April},
+ publisher = {Materials Research Society},
+ language = {english}
+}
+
+@Article{bastawros2000a,
+ author = {Bastawros, A.-F. and Bart-Smith, H. and Evans, A. G.},
+ title = {Experimental Analysis of Deformation Mechanisms in a
+ Closed-Cell Aluminium Alloy Foam},
+ journal = {Journal of the Mechanics and Physics of Solids},
+ year = 2000,
+ volume = 48,
+ pages = {301--322},
+ language = {english}
+}
+
+@InProceedings{baumeister1997a,
+ author = {Baumeister, J.},
+ title = {"Uberblick: Verfahren zur Herstellung von
+ Metallsch"aumen},
+ booktitle = {Metallsch"aume (Beitr"age zum Symposium Metallsch"aume,
+ IFAM, Bremen, 06.~--~07. 03.~1997)},
+ pages = 3,
+ year = 1997,
+ address = {Bremen},
+ publisher = {Verlag MIT Bremen},
+ language = {ngerman}
+}
+
+@Article{beals1997a,
+ author = {Beals, J. T. and Thompson, M. S.},
+ title = {Density gradient effects on aluminium foam
+ compression behavior},
+ journal = {Journal of Materials Science},
+ year = 1997,
+ volume = 32,
+ pages = 3595,
+ language = {english}
+}
+
+@Book{becker1975a,
+ author = {Becker, E. and B"urger, W.},
+ title = {Kontinuumsmechanik},
+ publisher = {B.\,G.\ Teubner},
+ year = 1975,
+ volume = 20,
+ series = {Leitf"aden der angewandten Mathematik und Mechanik},
+ address = {Stuttgart},
+ language = {ngerman},
+ isbn = {3-519-02319-9}
+}
+
+@InProceedings{begley1971a,
+ author = {Begley, J. A. and Landes, J. D.},
+ title = {The {$J$} Integral as a Fracture Criterion},
+ booktitle = {Fracture Toughness. Proceedings of the 1971 National
+ Symposium on Fracture Mechanics},
+ pages = {1--20},
+ year = 1971,
+ volume = {Part~II},
+ address = {Philadelphia},
+ organization = {American Society for Testing and Materials},
+ language = {english}
+}
+
+@Book{begley1973a,
+ author = {Begley, J. A.},
+ title = {An estimation model for the application of the {$J$}
+ integral},
+ publisher = {Pa.\ \&\ Scientific papers},
+ year = 1973,
+ address = {Pittsburgh},
+ language = {english}
+}
+
+@Book{beiser1983a,
+ author = {Beiser, A.},
+ title = {Atome, Molek"ule, Festk"orper},
+ publisher = {Vieweg Verlag},
+ year = 1983,
+ address = {Braunschweig},
+ language = {ngerman},
+ isbn = {3-528-08459-6}
+}
+
+@Unpublished{bergmann1997a,
+ author = {Bergmann, D. and Galanulis, K.},
+ title = {Zum Einsatz der optischen Feldme"stechnik in der
+ Bruchmechanik},
+ year = 1997,
+ language = {ngerman}
+}
+
+@Book{bergmann2000a,
+ author = {Bergmann, W.},
+ title = {Werkstofftechnik, Teil 1: Grundlagen},
+ publisher = {Hanser},
+ year = 2000,
+ edition = 3,
+ language = {ngerman},
+ isbn = {3-446-21409-7}
+}
+
+@Unpublished{bergmanna,
+ author = {Bergmann, D.},
+ title = {3D Deformation Measurement in small Areas based on
+ Grating Method and Photogrammetry},
+ language = {english}
+}
+
+@Unpublished{bergmannb,
+ author = {Bergmann, D. and Reich, C. and Ritter, R.},
+ title = {Experimentelle Untersuchungen zum Vergleich mit
+ Modellrechnungen bei der Aufstellung von Kriterien der
+ Flie"sbruchmechanik},
+ language = {ngerman}
+}
+
+@Article{bernard2002a,
+ author = {Bernard, T. and Zoch, H.-W.},
+ title = {Aluminiumsch"aume -- Eigenschaften und Einsetzbarkeit},
+ journal = {H"arterreitechnische Mitteilungen (HTM)},
+ year = 2002,
+ volume = 57,
+ number = 5,
+ pages = {308--315},
+ language = {ngerman}
+}
+
+@Book{betten1993a,
+ author = {Betten, J.},
+ title = {Kontinuumsmechanik},
+ publisher = {Springer"=Verlag},
+ year = 1993,
+ address = {Berlin},
+ language = {ngerman},
+ isbn = {3-540-56646-5}
+}
+
+@Book{blumenauer1993a,
+ author = {Blumenauer, H. and Pusch, G.},
+ title = {Technische Bruchmechanik},
+ publisher = {Deutscher Verlag f\"ur Grundstoffindustrie},
+ year = 1993,
+ address = {Stuttgart},
+ language = {ngerman},
+ isbn = {3-342-00659-5}
+}
+
+@Article{boehm2000a,
+ author = {B"ohm, H. and Ismar, H. and Schmitt, J.},
+ title = {Flie"sfl"ache metallischer Sch"aume},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {21--23},
+ language = {ngerman}
+}
+
+@InProceedings{boellinghaus2000a,
+ author = {B"ollinghaus, T. and von Hagen, H. and Bleck, W.},
+ title = {Erm"udung von Sandwichverbunden aus
+ Aluminiumschaum mit Stahldeckblechen},
+ booktitle = {Metallsch"aume},
+ pages = {488--492},
+ year = 2000,
+ editor = {Degischer, H. P.},
+ publisher = {Wiley-VCH},
+ language = {ngerman}
+}
+
+@Article{boellinghaus2000b,
+ author = {B"ollinghaus, T. and von Hagen, H. and Bleck, W.},
+ title = {Erm"udung von Sandwichverbunden aus Aluminiumschaum mit
+ Stahldeckblechen},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {488--492},
+ language = {ngerman}
+}
+
+@Article{boellinghaus2000c,
+ author = {B\"ollinghaus, T. and von Hagen, H. and Bleck, W.},
+ title = {Laserstrahlschwei\ss{}en von sch\"aumbarem
+ Aluminiumhalbzeug},
+ journal = {UTF science},
+ year = 2000,
+ volume = {II},
+ pages = {23--26},
+ language = {ngerman}
+}
+
+@InProceedings{bramfitt1994a,
+ author = {Bramfitt, J. E. and Hess, R. L.},
+ title = {A Novel Heat Activated Recoverable Temporary Stent
+ (Hearts System)},
+ booktitle = {Proceedings of SMST-94},
+ pages = {435--442},
+ year = 1994,
+ address = {California},
+ language = {english}
+}
+
+@Article{braune2000a,
+ author = {Braune, R. and Otto, A.},
+ title = {Tailored Blanking mit Kernverbunden aus aufsch\"aumbarem
+ Aluminiumhalbzeug},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {562--565},
+ language = {ngerman}
+}
+
+@Book{bronstein1993a,
+ author = {Bron\v{s}tein, I. N. and Semendjaev, K. A. and Musiaol, G.
+ and M"uhlig, H.},
+ title = {Taschenbuch der Mathematik},
+ publisher = {Verlag Harri Deutsch},
+ year = 1993,
+ address = {Thun},
+ edition = 1,
+ language = {ngerman},
+ isbn = {3-8171-2001-X}
+}
+
+@Article{bross1998a,
+ author = {Bross, S. and Steck E.},
+ title = {Simulation of selforganised dislocation structures in
+ b.c.c. single crystals},
+ journal = {Computational Materials Science},
+ year = 1998,
+ volume = 13,
+ pages = {16--22},
+ language = {english}
+}
+
+@Article{buengener2000a,
+ author = {B\"ungener, N. and Sch\"one, A. and Fritsching, U.},
+ title = {Zum kontinuierlichen thermisch-chemischen Aufsch\"aumen
+ uns Ausbringen von Aluminium und Aluminiumlegierungen},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {535--537},
+ language = {ngerman}
+}
+
+@Book{buergel1998a,
+ author = {B"urgel, R.},
+ title = {Handbuch Hochtemperatur"=Werkstofftechnik},
+ publisher = {Vieweg Verlag},
+ year = 1998,
+ address = {Braunschweig},
+ language = {ngerman},
+ isbn = {3-528-03107-7}
+}
+
+@Book{callister2000a,
+ author = {Callister, W. D.},
+ title = {Materials Science and Engineering},
+ publisher = {Wiley \&\ Sons},
+ year = 2000,
+ edition = 5,
+ language = {english},
+ isbn = {0-471-32013-7}
+}
+
+@Book{chawla1993a,
+ author = {Chawla, K. K.},
+ title = {Ceramic Matrix Composites},
+ publisher = {Chapman \&\ Hall},
+ year = 1993,
+ address = {London},
+ edition = 1,
+ language = {english},
+ isbn = {0-412-36740-8}
+}
+
+@InCollection{clements1988a,
+ author = {Clements, L. L.},
+ title = {Polymer Science for Engineers},
+ booktitle = {Engineering Plastics},
+ pages = {48--62},
+ publisher = {ASM International},
+ year = 1988,
+ editor = {Epel, J. N.},
+ volume = 2,
+ series = {Engineered Materials Handbook},
+ language = {english},
+ isbn = {0-87170-279-7}
+}
+
+@InProceedings{cordes2000a,
+ author = {Cordes, M. and Bardenheier, R.},
+ title = {Hochgeschwindigkeitsversuche und Crashsimulation},
+ booktitle = {Vortr\"age der Tagung Werkstoffpr\"ufung 2000},
+ year = 2000,
+ address = {Bad Nauheim},
+ month = {Dezember},
+ organization = {Deutscher Verband f\"ur Materialforschung und -pr\"ufung},
+ language = {ngerman},
+ note = {Nicht im Tagungsband enthalten}
+}
+
+@Book{cottrell1956a,
+ author = {Cottrell, A. H.},
+ title = {Dislocations and plastic flow in crystals},
+ publisher = {Clarendon Press},
+ address = {Oxford},
+ year = 1965,
+ language = {english}
+}
+
+@Book{courtney1990a,
+ author = {Courtney, T. H.},
+ title = {Mechanical Behaviour of Materials},
+ publisher = {McGraw-Hill},
+ year = 1990,
+ address = {New York},
+ language = {english},
+ isbn = {0-07-013265-8}
+}
+
+@Article{davies1983a,
+ author = {Davies, G. J. and Zhen, Shu},
+ title = {Metallic foams: their production, properties and
+ applications},
+ journal = {Journal of Materials Science},
+ year = 1983,
+ volume = 18,
+ pages = {1899--1911},
+ language = {english}
+}
+
+@Book{davis1994a,
+ editor = {Davis, J. R.},
+ title = {Stainless Steels},
+ publisher = {ASM International},
+ year = 1994,
+ series = {ASM Specialty Handbook},
+ language = {english},
+ isbn = {0-87170-503-6}
+}
+
+@Article{daxner2000a,
+ author = {Daxner, T. and B\"ohm, H. J. and Ramerstorfer, F. G. and
+ Denzer, R. and Maier, M.},
+ title = {Simulation des elasto-plastischen Verhaltens von
+ Metallschaum mit Hilfe von 2D und 3D Einheits-Modellen},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {447--450},
+ language = {ngerman}
+}
+
+@Article{degischer1997a,
+ author = {Degischer, H. P.},
+ title = {Innovative light metals: metal matrix composites
+ and foamed aluminium},
+ journal = {Materials \& Design},
+ year = 1997,
+ volume = 18,
+ pages = 221,
+ language = {english}
+}
+
+@InProceedings{degischer1997b,
+ author = {Degischer, H. P. and Galovsky, U. and Gradinger,
+ R. and Kretz, R. and Simanc\'ik, F.},
+ title = {\"Uber mechanische Eigenschaften von
+ Aluminiumsch"aumen},
+ booktitle = {Metallsch"aume (Beitr"age zum Symposium Metallsch"aume,
+ IFAM, Bremen, 06.~--~07. 03.~1997},
+ pages = 79,
+ year = 1997,
+ editor = {Banhart, J.},
+ publisher = {Verlag MIT Bremen},
+ language = {ngerman}
+}
+
+@Article{deshpande2001a,
+ author = {Deshpande, V. S. and Ashby, M. F. and Fleck, N. A.},
+ title = {Foam Topology Bending Versus Stretching Dominated
+ Architectures},
+ journal = {Acter Materialia},
+ year = 2001,
+ volume = 49,
+ pages = {1035--1040},
+ language = {english}
+}
+
+@Article{deshpande2001b,
+ author = {Deshpande, V. S. and Fleck, N. A.},
+ title = {Multi-Axial Yield Behaviour of Polymer Foams},
+ journal = {Acter materialia},
+ year = 2001,
+ volume = 49,
+ pages = {1859--1866},
+ language = {english}
+}
+
+@Misc{dfgdaempfung2000a,
+ key = {Arbeitsbericht},
+ title = {Arbeitsbericht zum DFG-Vorhaben SI~408/5-1 \quotedblbase
+ Mechanische D\"ampfung metallischer
+ Sch\"aume\textquotedblleft\
+ im DFG-Schwerpunktprogramm SPP~1075},
+ year = 2000,
+ language = {ngerman}
+}
+
+@Book{dieter1986a,
+ author = {Dieter, G. E.},
+ title = {Mechanical Metallurgy},
+ publisher = {McGraw-Hill},
+ year = 1988,
+ address = {New York},
+ language = {english},
+ isbn = {0-07-100406-8}
+}
+
+@Book{dieter1988a,
+ author = {Dieter, G. E.},
+ title = {Mechanical Metallurgy},
+ publisher = {McGraw-Hill},
+ year = 1988,
+ address = {London},
+ language = {english},
+ isbn = {0-07-100406-8}
+}
+
+@Book{dieter1995a,
+ editor = {Dieter, G.},
+ title = {Mechanical Metallurgy},
+ publisher = {McGraw-Hill},
+ year = 1995,
+ language = {english}
+}
+
+@Book{domininghaus1998a,
+ author = {Domininghaus, H.},
+ title = {Die Kunststoffe und ihre Eigenschaften},
+ publisher = {Springer"=Verlag},
+ year = 1998,
+ address = {Berlin},
+ edition = 5,
+ language = {ngerman},
+ isbn = {3-540-62659-X}
+}
+
+@Book{domke1994a,
+ author = {Domke, W.},
+ title = {Werkstoffkunde und Werkstoffpr"ufung},
+ publisher = {Cornelsen Verlag},
+ year = 1994,
+ address = {Berlin},
+ edition = 10,
+ language = {ngerman},
+ isbn = {3-590-81220-6},
+}
+
+@Article{duarte2000a,
+ author = {Duarte, I. and Banhart, J.},
+ title = {A Study of Aluminium Foam Formation---Kinetics and
+ Microstructure},
+ journal = {Acta materialia},
+ year = 2000,
+ volume = 48,
+ pages = {2349--2362},
+ language = {english}
+}
+
+@Book{dubbel1990a,
+ editor = {Beitz, W. and Grote, K.-H.},
+ title = {Dubbel~-- Taschenbuch f\"ur den Maschinenbau},
+ publisher = {Springer"=Verlag},
+ year = 2001,
+ address = {Berlin},
+ edition = 20,
+ isbn = {3-540-67777-1},
+ language = {ngerman}
+}
+
+@Article{ehlers1999a,
+ author = {Ehlers, W. and Droste, A.},
+ title = {A Continuum Model for Highly Porous Aluminium Foam},
+ journal = {Technische Mechanik},
+ year = 1999,
+ volume = 19,
+ number = 4,
+ pages = {341--350},
+ language = {english}
+}
+
+@Book{ehrenstein1999a,
+ author = {Ehrenstein, G. W.},
+ title = {Polymer-Werkstoffe},
+ publisher = {Hanser Verlag},
+ year = 1999,
+ address = {M"unchen},
+ edition = 2,
+ language = {ngerman},
+ isbn = {3-446-21161-6}
+}
+
+@InProceedings{elmoutaouakkail2001a,
+ author = {Elmoutaouakkail, A. and Salvo, L. and Maire, E. and
+ Peix, G.},
+ title = {{2D} and {3D} characterisation of metal foams using
+ {X}-ray tomography},
+ booktitle = {Cellular Metals and Metal Foaming Technology},
+ pages = {245--250},
+ year = 2001,
+ editor = {Banhart, J. and Ashby, M. F. and Fleck, N. A.},
+ address = {Bremen},
+ publisher = {Verlag MIT Publishing},
+ language = {english},
+ isbn = {3-935538-11-1}
+}
+
+@Article{erbe1994a,
+ author = {Erbe, M. and Galanulis, K. and Ritter, R. and Steck, E.},
+ title = {Theoretical and Experimental Investigations of Fracture
+ by Finite Element and Grating Methods},
+ journal = {Engineering Fracture Mechanics},
+ year = 1994,
+ volume = 48,
+ number = 1,
+ pages = {103-118},
+ language = {english}
+}
+
+@Book{erhard1993a,
+ author = {Erhard, G.},
+ title = {Konstruieren mit Kunststoffen},
+ publisher = {Carl-Hanser-Verlag},
+ year = 1993,
+ address = {M"unchen},
+ language = {ngerman},
+ isbn = {3-446-17397-8}
+}
+
+@Article{fatima2001a,
+ author = {F\'atima Vaz, M. and Fortes, M. A.},
+ title = {Simulation of cell collapse in the compression of
+ non-uniform cellular solids},
+ journal = {Scripta Materialia},
+ year = 2001,
+ volume = 45,
+ pages = {375--382},
+ language = {english}
+}
+
+@InProceedings{fazekas2001a,
+ author = {Fazekas, A. and Dendievel, R. and Salvo, L. and
+ Br\'echet, Y.},
+ title = {Influence of microstructural dispersions on the effective
+ properties of cellular solids},
+ booktitle = {Cellular Metals and Metal Foaming Technology},
+ pages = {259--264},
+ year = 2001,
+ editor = {Banhart, J. and Ashby, M. F. and Fleck, N. A.},
+ address = {Bremen},
+ publisher = {Verlag MIT Publishing},
+ language = {english},
+ isbn = {3-935538-11-1}
+}
+
+@Article{feith2000a,
+ author = {Feith, G.},
+ title = {Schaumteile als Dauerkerne in Gu"steilen},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {407--408},
+ language = {ngerman}
+}
+
+@Book{feynman1989a,
+ author = {Feynman, R. P. and Leighton, R. B. and Sands, M.},
+ title = {The Feynman Lectures on Physics, Vol~I, II \&\ III},
+ publisher = {Pearson Higher Education},
+ year = 1989,
+ language = {english},
+ isbn = {0-201-50064-7}
+}
+
+@Article{foroughi2000a,
+ author = {Foroughi, B. and Kriszt, B. and Degischer, H. P.},
+ title = {Simulation des Verformungsverhaltens von por\"osen
+ Metallen},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {451--454},
+ language = {ngerman}
+}
+
+@InProceedings{foroughi2001a,
+ author = {Foroughi, B. and Kriszt, B. and Degischer, H. P.},
+ title = {Modelling of mechanical properties of inhomogeneous cellular
+ materials},
+ booktitle = {Cellular Metals and Metal Foaming Technology},
+ pages = {265--268},
+ year = 2001,
+ editor = {Banhart, J. and Ashby, M. F. and Fleck, N. A.},
+ address = {Bremen},
+ publisher = {Verlag MIT Publishing},
+ language = {english},
+ isbn = {3-935538-11-1}
+}
+
+@Book{frost1982a,
+ author = {Frost, H. J. and Ashby, M. F.},
+ title = {Deformation-Mechanism Maps},
+ publisher = {Pergamon Press},
+ year = 1982,
+ edition = 1,
+ language = {english},
+ isbn = {0-08-029338-7}
+}
+
+@Book{fujita1998a,
+ editor = {Fujita, F. E.},
+ title = {Physics of New Materials},
+ publisher = {Springer-Verlag},
+ year = 1998,
+ volume = 27,
+ series = {Springer Series in Materials Science},
+ address = {Berlin},
+ edition = 2,
+ language = {english},
+ isbn = {3-540-64143-2}
+}
+
+@InProceedings{galanulis1999a,
+ author = {Galanulis, K. and Hofmann, A.},
+ title = {Determination of Forming Limit Diagrams Using an Optical
+ Measurement System},
+ booktitle = {Sheet Metal 1999},
+ year = 1999,
+ editor = {Geiger, M. and Kals, H. J. J. and Shirvani, B. and
+ Singh, U. P.},
+ address = {Erlangen},
+ month = {September},
+ language = {english},
+ isbn = {3-87525-110-5}
+}
+
+@Article{galovsky2000a,
+ author = {Galovsky, U.},
+ title = {Bestimmung von Bruchz\"ahigkeitswerten bei
+ Schaumaluminium},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {578--580},
+ language = {ngerman}
+}
+
+@Article{gent1963a,
+ author = {Gent, A. N. and Thomas, A. G.},
+ title = {Mechanics of Foamed Elastic Materials},
+ journal = {Rubber Chemistry and Technology},
+ year = 1963,
+ volume = 36,
+ pages = {597--610},
+ language = {english}
+}
+
+@InProceedings{gent1963b,
+ author = {Gent, A. N. and Thomas, A. G.},
+ title = {Mechanics of Foamed Elastic Materials},
+ booktitle = {Proceedings of the 7th Annual Technical Conference of the
+ Cellular Plastics Division},
+ year = 1963,
+ address = {New York},
+ organization = {Society of the Plastics Industry},
+ language = {english}
+}
+
+@Article{gers2000a,
+ author = {Gers, H. and Brungs, D. and Nijhof, K. and Baumg\"artner, F.
+ and M\"aurer, H.-J.},
+ title = {Pulvermetallurgische Fertigung von Bauteilen aus
+ Aluminiumschaum},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {403--406},
+ language = {ngerman}
+}
+
+@InProceedings{giamei1997a,
+ author = {Giamei, A.},
+ title = {Aero-Engine and Naval Applications for Ultra-Lightweight
+ Metals},
+ booktitle = {Proceedings of the Fraunhofer USA Metal Foam Symposium},
+ pages = {63--78},
+ year = 1997,
+ address = {Bremen (Germany)},
+ publisher = {MIT-Verlag},
+ language = {english}
+}
+
+@Article{gibson1982a,
+ author = {Gibson, L. J. and Ashby, M. F.},
+ title = {The Mechanics of Three-Dimensional Cellular Materials},
+ journal = {Proceedings of the Royal Society of London},
+ year = 1982,
+ volume = {A~382},
+ pages = {43--59},
+ language = {english}
+}
+
+@Article{gibson1982b,
+ author = {Gibson, L. J. and Ashby, M. F. and Schajer, G. S. and
+ Robertson, C. I.},
+ title = {The mechanics of two-dimensional cellular materials},
+ journal = {Proceedings of the Royal Society of London},
+ year = 1982,
+ volume = {A~382},
+ pages = {25--42},
+ language = {english}
+}
+
+@Article{gibson1989a,
+ author = {Gibson, L. J.},
+ title = {Modelling the mechanical behaviour of cellular
+ materials},
+ journal = {Materials Science and Engineering},
+ year = 1989,
+ volume = {A~110},
+ pages = 1,
+ language = {english}
+}
+
+@Book{gibson1997a,
+ author = {Gibson, L. J. and Ashby, M. F.},
+ title = {Cellular solids},
+ publisher = {Cambridge University Press},
+ year = 1997,
+ edition = {2nd},
+ language = {english}
+}
+
+@Article{gioux2000a,
+ author = {Gioux, G. and McCormack, T. M. and Gibson, L. J.},
+ title = {Failure of aluminum foams under multiaxial loads},
+ journal = {International Journal of Mechanical Sciences},
+ year = 2000,
+ volume = 42,
+ pages = {1097--1117},
+ language = {english}
+}
+
+@InProceedings{golovin2000a,
+ author = {Golovin, I. S. and Sinning, H.-R.},
+ title = {Damping of Some Aluminium Foams at Low Amplitudes},
+ booktitle = {MS-2, Poland, 2-8 December 2000, Solid State Phenomena},
+ year = 2000,
+ language = {english}
+}
+
+@InProceedings{golovin2000b,
+ author = {Golovin, I. S. and Sinning, H.-R.},
+ title = {Low-amplitude Mechanical Damping of Some Aluminium Foams},
+ booktitle = {Materials Week},
+ year = 2000,
+ address = {Munich},
+ month = {October},
+ language = {english}
+}
+
+@InProceedings{golovin2000c,
+ author = {Golovin, I. S. and Sinning, H.-R. and G\"oken, J. and
+ Riehemann, W.},
+ title = {Amplitude Dependent Damping of Some Metallic Foams},
+ booktitle = {2nd Mechanical Spectroscopy School},
+ year = 2000,
+ address = {Krakow, Poland},
+ month = {December},
+ language = {english}
+}
+
+@Book{gottstein1998a,
+ author = {Gottstein, G.},
+ title = {Physikalische Grundlagen der Materialkunde},
+ publisher = {Springer"=Verlag},
+ year = 1998,
+ address = {Berlin},
+ language = {ngerman},
+ isbn = {3-540-62670-0}
+}
+
+@InCollection{greenhut1997a,
+ author = {Greenhug, V. A.},
+ title = {Effects of Composition, Processing, and Structure on
+ Properties of Ceramics and Glasses},
+ booktitle = {Materials Selection and Design},
+ pages = {416--433},
+ publisher = {ASM International},
+ year = 1997,
+ editor = {Dieter, G. E.},
+ volume = 20,
+ series = {ASM Handbook},
+ language = {english},
+ isbn = {0-87170-386-6}
+}
+
+@Article{grenestedt2000a,
+ author = {Grenestedt, J. L.},
+ title = {Influence of Cell Wall Wiggles on Stiffness of Cellular
+ Solids},
+ journal = {International Journal of Mechanical Sciences},
+ year = 2000,
+ volume = 42,
+ number = 7,
+ pages = {1327--1338},
+ language = {english},
+}
+
+@Article{grenestedt2000b,
+ author = {Grenestedt, J. L. and Bassinet, F.},
+ title = {Influence of Cell Wall Thickness Variations on Elastic
+ Stiffness of Closed-Cell Cellular Solids},
+ journal = {International Journal of Mechanical Sciences},
+ year = 2000,
+ volume = 42,
+ pages = {1327--1338},
+ language = {english}
+}
+
+@Book{gross2001a,
+ author = {Gross, D. and Seelig, T.},
+ title = {Bruchmechanik mit einer Einf"uhrung in die Mikromechanik},
+ publisher = {Springer"=Verlag},
+ address = {Berlin},
+ year = 2001,
+ edition = 3,
+ language = {ngerman},
+ isbn = {3-540-42203-X}
+}
+
+@Article{grote2000a,
+ author = {Grote, F. and Stemmler, M. and Kaesberg, S.},
+ title = {\"Ubertragung realer zellularer Strukturen auf
+ 3D-FEM-Modell -- Methoden und Potential},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {455--458},
+ language = {ngerman}
+}
+
+@Book{guy1970a,
+ author = {Guy, A. G.},
+ title = {Metallkunde f\"ur Ingenieure},
+ publisher = {Akademische Verlagsgesellschaft},
+ year = 1970,
+ volume = 7,
+ series = {Technisch-physikalische Sammlung},
+ address = {Frankfurt am Main},
+ language = {ngerman}
+}
+
+@Article{haag2003a,
+ author = {Haag, M. and Wanner, A. and Clemens, H. and Zhang, P. and
+ Kraft, O. and Arzt, E.},
+ title = {Creep of Aluminium-Based Closed-Cell Foams},
+ journal = {Acta Materialia},
+ year = 2003,
+ note = {Submitted to Acta Materialia},
+ language = {english}
+}
+
+@Article{haberling2000a,
+ author = {Haberling, C. and Haldenwanger, H.-G.},
+ title = {Leichtbau durch lokales Aussteifen von Strukturbauteilen
+ im PKW-Bau},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {505--510},
+ language = {ngerman}
+}
+
+@InProceedings{hagen1998a,
+ author = {von Hagen, H. and Bleck, W.},
+ title = {Compressive, Tensile and Shear Testing of Melt-Foamed
+ Aluminium},
+ booktitle = {Porous and Cellular Materials for Structural Applications},
+ pages = {59--64},
+ year = 1998,
+ editor = {Schwartz, D. S. and Shih, D. S. and Evans, A. G. and
+ Wadley, H. N. G.},
+ volume = 521,
+ series = {Symposium Proceedings},
+ address = {Warrendale, Pennsylvania},
+ month = {April},
+ publisher = {Materials Research Society},
+ language = {english}
+}
+
+@Article{hahn2000a,
+ author = {Hahn, M. and Otto, A.},
+ title = {Hochtemperatur-Umformung von zellularem Aluminium},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {432--435},
+ language = {ngerman}
+}
+
+@PhdThesis{harder1997a,
+ author = {Harder, J.},
+ title = {Simulation lokaler Flie"svorg"ange in Polykristallen},
+ school = {Mechanik"=Zentrum, TU Braunschweig},
+ year = 1997,
+ language = {ngerman},
+ isbn = {3-920395-27-1}
+}
+
+@Article{harder1999a,
+ author = {Harder, J.},
+ title = {A crystallographic model for the study of local deformation
+ processes in polycrystals},
+ journal = {International Journal of Plasticity},
+ year = 1999,
+ volume = 15,
+ pages = {605--624},
+ language = {english},
+ issn = {0749-6419}
+}
+
+@TechReport{harders1999a,
+ author = {Harders, Harald and Wei\ss{}, Susanne and Thielecke, Frank},
+ title = {Verwendung des datengest\"utzten Systemidentifizierungstools
+ RAPID zur fehlertoleranten Modellierung des
+ Luftdatensystems FADS},
+ institution = {Institut f\"ur Flugmechanik, Deutsches Zentrum f\"ur Luft-
+ und Raumfahrt e.\,V.},
+ year = 1999,
+ number = {Institutsbericht IB 111-1999/25},
+ address = {Braunschweig},
+ language = {ngerman}
+}
+
+@InProceedings{harders2000a,
+ author = {Harders, Harald and R\"osler, Joachim and Hupfer, Knut},
+ title = {Schwingfestigkeitsversuche an Aluminiumschaum},
+ booktitle = {Vortr\"age der Tagung Werkstoffpr\"ufung 2000},
+ pages = {241--246},
+ year = 2000,
+ address = {Bad Nauheim},
+ month = {Dezember},
+ organization = {Deutscher Verband f\"ur Materialforschung und -pr\"ufung},
+ language = {ngerman}
+}
+
+@InProceedings{harders2001a,
+ author = {Harders, Harald and R\"osler, Joachim and Hupfer, Knut and
+ Steck, Elmar},
+ title = {Experimental Studies and Simulations of the Fatigue
+ Behaviour of Metal Foams},
+ booktitle = {Cellular Metals and Metal Foaming Technology},
+ pages = {317--322},
+ year = 2001,
+ editor = {Banhart, J. and Ashby, M. F. and Fleck, N. A.},
+ address = {Bremen (Germany)},
+ publisher = {MIT-Verlag},
+ language = {english}
+}
+
+@Article{harte1999a,
+ author = {Harte, A.-M. and Fleck, N. A. and Ashby, M. F.},
+ title = {Fatigue failure of an open cell and a closed cell
+ aluminium alloy foam},
+ journal = {Acta Materialia},
+ year = 1999,
+ volume = 47,
+ number = 8,
+ pages = {2511--2524},
+ language = {english},
+ issn = {1359-6454}
+}
+
+@Article{herrmann1997a,
+ author = {Herrmann, K. P.},
+ title = {Ri"sausbreitungsvorg\"ange in thermomechanisch belasteten
+ Zweikomponentenmedien: Analysis und Experiment},
+ journal = {Zeitschrift f\"ur angewandte Mathematik und Mechanik (ZAMM)},
+ year = 1997,
+ volume = 77,
+ number = 3,
+ pages = {163--188},
+ language = {ngerman}
+}
+
+@Book{hill1950a,
+ author = {Hill, R.},
+ title = {The Mathematical Theory of Plasticity},
+ publisher = {Oxford University Press},
+ year = 1998,
+ address = {Oxford},
+ language = {english},
+ isbn = {0-19-850367-9}
+}
+
+@Article{hipke2000a,
+ author = {Hipke, T. and Wunderlich, T.},
+ title = {Chancen und Hemmnisse f\"ur den Metallschaumeinsatz},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {396--399},
+ language = {ngerman}
+}
+
+@Article{hoenscheidt2000a,
+ author = {H\"ohnscheidt, W.},
+ title = {Aluminium-Schaum-Strukturen bald serienreif f\"ur den Pkw},
+ journal = {VDI nachrichten},
+ year = 2000,
+ volume = 34,
+ pages = {18--19},
+ month = {August},
+ language = {ngerman}
+}
+
+@Book{holzapfel2000a,
+ author = {Holzapfel, G. A.},
+ title = {Nonlinear Solid Mechanics},
+ publisher = {John Wiley \&\ Sons},
+ year = 2000,
+ address = {Chichester},
+ language = {english},
+ isbn = {0-471-82319-8}
+}
+
+@Book{honeycombe2000a,
+ author = {Honeycombe, R. W. K.},
+ title = {Steels~-- Microstructure and Properties},
+ publisher = {Edward Arnold},
+ year = 2000,
+ address = {London},
+ language = {english},
+ isbn = {0-7131-2793-7}
+}
+
+@book{hornbogen1983a,
+ author = {Hornbogen, E.},
+ title = {Werkstoffe},
+ publisher = {Springer"=Verlag},
+ year = 1994,
+ address = {Berlin},
+ edition = 6,
+ language = {ngerman},
+ isbn = {3-540-57325-9}
+}
+
+@Book{hoser1996a,
+ author = {Ohser, J. and Lorz, U.},
+ title = {Quantitative Gef\"ugeanalyse: theoretische Grundlagen und
+ Anwendungen},
+ publisher = {TU Bergakademie Freiberg},
+ year = 1996,
+ volume = {B~276},
+ series = {Freiberger Forschungshefte},
+ address = {Freiberg},
+ edition = 2,
+ language = {ngerman},
+ isbn = {3-86012-025-5}
+}
+
+@InProceedings{huang1998a,
+ author = {Huang, J. S. and Lin, J. Y.},
+ title = {Modeling of Fatigue for Cellular Materials},
+ booktitle = {Porous and Cellular Materials for Structural Applications},
+ pages = {27--32},
+ year = 1998,
+ editor = {Schwartz, D. S. and Shih, D. S. and Evans, A. G. and
+ Wadley, H. N. G.},
+ volume = 521,
+ series = {Symposium Proceedings},
+ address = {Warrendale, Pennsylvania},
+ month = {April},
+ publisher = {Materials Research Society},
+ language = {english}
+}
+
+@Article{huebler1999a,
+ author = {H\"ubler, A. C. and Hahn, U. and Weidner, J. and
+ Schneider, J.},
+ title = {Krafteinleitung an Bauelementen aus Aluminiumschaum},
+ journal = {konstruktionspraxis},
+ year = 1999,
+ volume = 04,
+ language = {ngerman}
+}
+
+@Article{hunsche1986a,
+ author = {Hunsche, A. and Neumann, P.},
+ title = {Quantitative measurement of persistent slip band profiles
+ and crack initiation},
+ journal = {Acta metallurgica},
+ year = 1986,
+ volume = 34,
+ number = 2,
+ pages = {207--217},
+ language = {english}
+}
+
+@PhdThesis{hupfer2003a,
+ author = {Hupfer, K.},
+ title = {Einflu\ss\ der Mikrostruktur auf die
+ Festigkeitseigenschaften von Metallsch\"aumen},
+ school = {Braunschweiger Schriften zur Mechanik},
+ year = 2003,
+ type = {Dissertation},
+ address = {Braunschweig},
+ language = {ngerman}
+}
+
+@InProceedings{huschka1997a,
+ author = {Huschka, S. and Hicken, S. and Arendts, F.-J.},
+ title = {Modellierung der Spannungs-Stauchungskurven von
+ Aluminiumschaum unter Ber\"ucksichtigung der
+ Porengr"o"senverteilung},
+ booktitle = {Metallsch"aume (Beitr"age zum Symposium Metallsch"aume,
+ IFAM, Bremen 06.~--~07.{\,}03.~1997},
+ pages = 189,
+ year = 1997,
+ editor = {Banhart, J.},
+ publisher = {Verlag MIT Bremen},
+ language = {ngerman}
+}
+
+@PhdThesis{huschka1998a,
+ author = {Huschka, S.},
+ title = {Modellierung eines Materialgesetzes zur
+ Beschreibung der mechanischen Eigenschaften von
+ Aluminiumschaum},
+ school = {Universit\"at Stuttgart},
+ year = 1998,
+ type = {Dissertation},
+ address = {VDI-Verlag. Fortschrittberichte, Reihe 5, Nr. 525},
+ language = {ngerman}
+}
+
+@Article{hutchinson2000a,
+ author = {Hutchinson, J. W. and He, M. Y.},
+ title = {Buckling of cylindrical sandwich shells with metal foam
+ cores},
+ journal = {International journal of solids and structures},
+ year = 2000,
+ volume = 37,
+ number = {46--47},
+ pages = {6777-6794},
+ language = {english},
+ issn = {0020-7683}
+}
+
+@Article{ichitsubo2002a,
+ author = {Ichitsubo, T. and Tane, M. and Ogi, H. and Hirao, M. and
+ Ikeda, T. and Nakajima, H.},
+ title = {Anisotropic elastic constants of lotus-type porous copper:
+ measurements and micromechanics modeling},
+ journal = {Acta Materialia},
+ year = 2002,
+ volume = 50,
+ pages = {4105--5115},
+ language = {english}
+}
+
+@Manual{ifam2001a,
+ title = {Metal Foams},
+ organization = {Frauhofer Institut f\"ur Fertigungstechnik und
+ Angewandte Materialforschung (IFAM)},
+ address = {Bremen},
+ month = 01,
+ year = 2001,
+ language = {english}
+}
+
+@Manual{ifam2001b,
+ title = {FOAMINAL},
+ organization = {Frauhofer Institut f\"ur Fertigungstechnik und
+ Angewandte Materialforschung (IFAM)},
+ address = {Bremen},
+ month = 01,
+ year = 2001,
+ language = {english}
+}
+
+@Article{illerhaus2000a,
+ author = {Illerhaus, B. and Goebbels, J.},
+ title = {Dreidimensionale Charakterisierung von Metallschaumk\"orpern
+ mittels MikroComputertomographie},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {527--528},
+ language = {ngerman}
+}
+
+@Book{ilschner2002a,
+ author = {Ilschner, B. and Singer, R. F.},
+ title = {Werkstoffwissenschaften und Fertigungstechnik},
+ publisher = {Springer"=Verlag},
+ year = 2002,
+ address = {Berlin},
+ language = {ngerman},
+ isbn = {3-540-67451-9}
+}
+
+@Article{ishikawa2000a,
+ author = {Ishikawa, N. and Parks, D. M. and Socrate, S. and
+ Kurihara, M.},
+ title = {Micromechanical Modeling of Ferrite-Pearlite Steels Using
+ Finite Element Unit Cell Models},
+ journal = {ISIJ International},
+ year = 2000,
+ volume = 40,
+ number = 11,
+ pages = {1170--1179},
+ language = {english}
+}
+
+@Book{issler1995a,
+ author = {Issler, L. and Ruo"s, H. and H"afele, P.},
+ title = {Festigkeitslehre~-- Grundlagen},
+ publisher = {Springer"=Verlag},
+ year = 1997,
+ edition = 2,
+ address = {Berlin},
+ language = {ngerman},
+ isbn = {3-540-61998-4}
+}
+
+@InProceedings{jasiuniene2001a,
+ author = {Jansiunien\"e, E. and Goebbels, J. and Illerhaus, B. and
+ L\"owe, P. and Kottar, A.},
+ title = {{3D} investigation of strength tested metallic foams by
+ micro-tomography},
+ booktitle = {Cellular Metals and Metal Foaming Technology},
+ pages = {251--254},
+ year = 2001,
+ editor = {Banhart, J. and Ashby, M. F. and Fleck, N. A.},
+ address = {Bremen},
+ publisher = {Verlag MIT Publishing},
+ language = {english},
+ isbn = {3-935538-11-1}
+}
+
+@Book{jenkins1972a,
+ editor = {Jenkins, A. D.},
+ title = {Polymer Science},
+ publisher = {North-Holland Publishing Company},
+ year = 1972,
+ volume = 1,
+ address = {Amsterdam},
+ language = {english},
+ isbn = {0-7204-0246-8}
+}
+
+@Book{kaliszky1984a,
+ author = {Kaliszky, S.},
+ title = {Plastizit"atslehre},
+ publisher = {VDI"=Verlag},
+ year = 1984,
+ address = {D"usseldorf},
+ language = {ngerman},
+ isbn = {3-18-400447-3}
+}
+
+@Article{kathuria2001a,
+ author = {Kathuria, Y. P.},
+ title = {Laser Assisted Foaming of Aluminum},
+ journal = {Advanced Engineering Materials},
+ year = 2001,
+ volume = 3,
+ number = 9,
+ pages = {702--705},
+ language = {english}
+}
+
+@Book{kausch1983a,
+ editor = {Kausch, H.-H.},
+ title = {Crazing in Polymers, Vol.~1},
+ publisher = {Springer-Verlag},
+ year = 1983,
+ volume = {52/53},
+ series = {Advances in Polymer Science},
+ address = {Berlin},
+ language = {english},
+ isbn = {3-540-12571-X}
+}
+
+@Book{kausch1990a,
+ editor = {Kausch, H.-H.},
+ title = {Crazing in Polymers, Vol.~2},
+ publisher = {Springer-Verlag},
+ year = 1990,
+ volume = {91/92},
+ series = {Advances in Polymer Science},
+ language = {english},
+ isbn = {3-540-51306-X}
+}
+
+@Book{kittel1999a,
+ author = {Kittel, Ch.},
+ title = {Einf"uhrung in die Festk"orperphysik},
+ publisher = {R. Oldenbourg Verlag},
+ year = 1999,
+ address = {M"unchen},
+ edition = 12,
+ language = {ngerman},
+ isbn = {3-486-23843-4}
+}
+
+@Article{ko1965a,
+ author = {Ko, W. L.},
+ title = {Deformations of Foamed Elastomers},
+ journal = {Journal of CELLULAR PLASTICS},
+ year = 1965,
+ pages = {45--50},
+ month = {January},
+ language = {english}
+}
+
+@Article{kottar2000a,
+ author = {Kottar, A. and Degischer, H. P. and Kriszt, B.},
+ title = {R\"ontgen-Computertomographie zur Charakterisierung von
+ zellularem Aluminium und seiner Verformung},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {465--469},
+ language = {ngerman}
+}
+
+@InProceedings{kretz1999a,
+ author = {Kretz, R. and Hombergsmeier, E. and Eipper, K.},
+ title = {Manufacturing and testing of aluminium foam structural parts
+ for passenger cars demonstrated by example of a rear
+ intermediate panel},
+ booktitle = {Metal Foams and Porous Metal Structures},
+ pages = {23--38},
+ year = 1999,
+ editor = {Banhart, J. and Ashby, M. F. and Fleck, N. A.},
+ address = {Bremen},
+ publisher = {MIT-Verlag},
+ language = {english}
+}
+
+@Article{kretz2000a,
+ author = {Kretz, R. and Wolfsgruber, E.},
+ title = {Potential des Alulight Verfahrens zur Herstellung von
+ dreidimensionalen Net Shape Schaumaluminiumbauteilen},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {400--402},
+ language = {ngerman}
+}
+
+@TechReport{kriszt1997a,
+ author = {Kriszt, B. and Ashby, M. F.},
+ title = {Structure and Properties of Nickel Foams},
+ institution = {University of Cambridge},
+ year = 1997,
+ number = {CUED/C-MATS/TR240},
+ language = {english}
+}
+
+@Article{kriszt2000a,
+ author = {Kriszt, B. and Kraft, O. and Clemens, H.},
+ title = {Mikrostruktureigenschaften von Alporas Schaum in
+ Abh\"angigkeit von thermisch mechanischer Belastung},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {478--480},
+ language = {ngerman}
+}
+
+@Article{kumar1994a,
+ author = {Kumar, S. and Kurtz, S. K.},
+ title = {Simulation of Material Microstructure Using a 3D Voronoi
+ Tesselation: Calculation of Effective Thermal Expansion
+ Coefficient of Polycrystalline Materials},
+ journal = {Acta metallurgica et materialia},
+ year = 1994,
+ volume = 42,
+ number = 12,
+ pages = {3917--3927},
+ language = {english}
+}
+
+@Article{kunz2001a,
+ author = {Kunz, L. and Luk\'a\v{s}, P. and Weiss, B. and Melisova, D.},
+ title = {Effect of loading history on cyclic stress-strain response},
+ journal = {Materials Science and Engineering},
+ year = 2001,
+ volume = {A~314},
+ pages = {1--6},
+ language = {english}
+}
+
+@Book{landau1997a,
+ author = {Landau, L. D. and Lifschitz, E. M.},
+ title = {Lehrbuch der theoretischen Physik},
+ publisher = {Verlag Harri Deutsch},
+ year = 1997,
+ volume = {Bd.{\,}2: Klassische Feldtheorie},
+ edition = 12,
+ language = {ngerman},
+ isbn = {3-8171-1327-7}
+}
+
+@Article{lange1974a,
+ author = {Lange, G.},
+ title = {Vereinfachte Ermittlung der Flie"skurve metallischer
+ Werkstoffe im Zugversuch w"ahrend der Einschn"urung der
+ Proben},
+ journal = {Archiv f\"ur das Eisenh"uttenwesen},
+ year = 1974,
+ volume = 45,
+ number = 11,
+ pages = {809--812},
+ month = {November},
+ language = {ngerman}
+}
+
+@Book{lange1992a,
+ editor = {Lange, G.},
+ title = {Systematische Beurteilung technischer Schadensf"alle},
+ publisher = {Wiley-VCH},
+ year = 2001,
+ address = {Weinheim},
+ edition = 5,
+ language = {ngerman},
+ isbn = {3-527-30417-7}
+}
+
+@InProceedings{lankford1998a,
+ author = {Lankford, J., Jr. and Dannemann, K. A.},
+ title = {Strain Rate Effects in Porous Materials},
+ booktitle = {Porous and Cellular Materials for Structural Applications},
+ pages = {103--108},
+ year = 1998,
+ editor = {Schwartz, D. S. and Shih, D. S. and Evans, A. G. and
+ Wadley, H. N. G.},
+ volume = 521,
+ series = {Symposium Proceedings},
+ address = {Warrendale, Pennsylvania},
+ month = {April},
+ publisher = {Materials Research Society},
+ language = {english}
+}
+
+@Article{lederman1971a,
+ author = {Lederman, J. M.},
+ title = {The Prediction of the Tensile Properties of Flexible Foams},
+ journal = {Journal of Applied Polymer Science},
+ year = 1971,
+ volume = 15,
+ pages = {693--703},
+ language = {english}
+}
+
+@InCollection{lehman1991a,
+ author = {Lehman, R. L.},
+ title = {Overview of Ceramic Design and Process Engineering},
+ booktitle = {Ceramics and Glasses},
+ pages = {29--37},
+ publisher = {ASM International},
+ year = 1991,
+ editor = {Schneider, Samuel J.},
+ volume = 4,
+ series = {Engineered Materials Handbook},
+ language = {english},
+ isbn = {0-87170-282-7}
+}
+
+@Article{lehmhus2000a,
+ author = {Lehmhus, D. and Marschner, C. and Banhart, J.},
+ title = {Einflu\ss{} von W\"armebehandlungen auf Gef\"uge und
+ Festigkeitseigenschaften von Aluminiumsch\"aumen},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {474--477},
+ language = {ngerman}
+}
+
+@Article{lehmhus2002a,
+ author = {Lehmhus, D. and Banhart, J. and Rodriguez-Perez, M. A.},
+ title = {Adaptation of aluminium foam properties by means of
+ precipitation hardening},
+ journal = {Materials Science and Technology},
+ year = 2002,
+ volume = 18,
+ month = {May},
+ language = {english}
+}
+
+@InProceedings{leitlmeier2000a,
+ author = {Leitlmeier, D. and Flankl, H.},
+ title = {Vergleich der Herstellverfahren von Aluminiumschaum unter
+ dem Aspekt zuk"unftiger industrieller
+ Anwendungsm"oglichkeiten},
+ booktitle = {1.~Ranshofer Leichtmetalltage:
+ Vom Werkstoff zum Bauteilsystem},
+ pages = {155--167},
+ year = 2000,
+ editor = {Kaufmann, U. and Uggowitzer, P. J.},
+ month = {Mai},
+ language = {ngerman}
+}
+
+@InBook{lemaitre2001a,
+ editor = {Lemaitre, J.},
+ title = {Handbook of Materials Behavior Models},
+ chapter = {Damage mechanisms in amorphous glassy polymers: crazing},
+ publisher = {Harcourt Publishers},
+ year = 2001,
+ language = {english},
+ isbn = {0-12-443341-3}
+}
+
+@Article{loethman2000a,
+ author = {L\"othman, P. A. and Andersen, O. and Gr\"under, J. and
+ Landgraf, G.},
+ title = {Mechanische Eigenschaften metallischer Hohlkugelformk\"orper
+ und Charakterisierung ihrer Zellwandeigenschaften},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {529--530},
+ language = {ngerman}
+}
+
+@Article{lukas2002a,
+ author = {Luk\'{a}\v{s}, P. and Kunz, L.},
+ title = {Specific features of high-cycle and ultra-high-cycle
+ fatigue},
+ journal = {Fatigue and fracture of engineering materials and
+ structures},
+ year = 2002,
+ volume = 25,
+ number = 8,
+ pages = {747--753},
+ language = {english}
+}
+
+@Book{macherauch1990a,
+ author = {Macherauch, E.},
+ title = {Praktikum in Werkstoffkunde},
+ publisher = {Vieweg Verlagsgesellschaft},
+ year = 1990,
+ address = {Braunschweig},
+ edition = 9,
+ language = {ngerman},
+ isbn = {3-528-83306-8}
+}
+
+@Article{magnin2001a,
+ author = {Magnin, T. and Bosch, C. and Wolski, K. and Delafosse, D.},
+ title = {Cyclic plastic deformation behaviour of {Ni} single crystal
+ oriented for single slip as a function of hydrogen content},
+ journal = {Materials Science and Engineering},
+ year = 2001,
+ volume = {A\,314},
+ pages = {7--11},
+ language = {english}
+}
+
+@Article{maire2001a,
+ author = {Maire, E. and Buffi\`ere, J.-Y. and Salvo, L.},
+ title = {On the Application of X-ray Microtomography in the Field
+ of Materials Science},
+ journal = {Advanced Engineering Materials},
+ year = 2001,
+ volume = 3,
+ number = 8,
+ pages = {539--546},
+ language = {english}
+}
+
+@InProceedings{margevicius1998a,
+ author = {Margevicius, R. W. and Stanek, P. W. and Jacobson, L. A.},
+ title = {Effects of Thermomechanical Processing on the Resulting
+ Mechanical Properties of 6101 Aluminium Foam},
+ booktitle = {Porous and Cellular Materials for Structural Applications},
+ pages = {65--70},
+ year = 1998,
+ editor = {Schwartz, D. S. and Shih, D. S. and Evans, A. G. and
+ Wadley, H. N. G.},
+ volume = 521,
+ series = {Symposium Proceedings},
+ address = {Warrendale, Pennsylvania},
+ month = {April},
+ publisher = {Materials Research Society},
+ language = {english}
+}
+
+@Article{markaki2001a,
+ author = {Markaki, A. E. and Clyne, T. W.},
+ title = {The Effect of Cell Wall Microstructure on the Deformation and
+ Fracture of Aluminium-Based Foams},
+ journal = {Acta Materialia},
+ year = 2001,
+ volume = 49,
+ pages = {1677--1686},
+ language = {english}
+}
+
+@Article{maurer2000a,
+ author = {Maurer, M. and Lugscheider, E.},
+ title = {Erh\"ohung und Charakterisierung der Festigkeit von
+ Metallsch\"aumen f\"ur lasttragende Anwendungen durch
+ thermisch gespritzte Verbundstrukturen},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {523--526},
+ language = {ngerman}
+}
+
+@Article{mcclintock1968a,
+ author = {McClintock, F. A.},
+ title = {A Criterion for Ductile Fracture by the Growth of Holes},
+ journal = {Journal of Applied Mechanics},
+ year = 1968,
+ pages = {363--371},
+ month = {June},
+ language = {english}
+}
+
+@Book{mccrum1988a,
+ author = {McCrum, N. G. and Buckley, C. P. and Bucknall, C. B.},
+ title = {Principles of Polymer Engineering},
+ publisher = {Oxford University Press},
+ year = 1988,
+ language = {english},
+ isbn = {0-19-856152-0}
+}
+
+@Article{mccullough2000a,
+ author = {McCullough, K. Y. G. and Fleck, N. A. and Ashby, M. F.},
+ title = {The stress-life fatigue behaviour of aluminium alloy foams},
+ journal = {Fatigue \&\ fracture of engineering materials \&\
+ structures},
+ year = 2000,
+ volume = 23,
+ number = 3,
+ pages = {199--208},
+ language = {english},
+ issn = {0160-4112}
+}
+
+@Misc{mems1997a,
+ key = {mems},
+ title = {MEMS Material Database},
+ howpublished = {http://www.memsnet.org},
+ year = 1997,
+ language = {english}
+}
+
+@Article{menges1975a,
+ author = {Menges, G. and Knipschild, F.},
+ title = {Estimation of Mechanical Properties for Rigid Polyurethane
+ Foams},
+ journal = {Polymer Engineering and Science},
+ year = 1975,
+ volume = 15,
+ number = 8,
+ pages = {623--627},
+ month = {August},
+ language = {english}
+}
+
+@Misc{mepura1997a,
+ key = {MEPURA},
+ title = {MEPURA: "`Alulight"'},
+ howpublished = {Firmenschrift der MEPURA-Metallpulver GmbH},
+ month = {April},
+ year = 1997,
+ note = {Ranshofen, "Osterreich},
+ language = {ngerman}
+}
+
+@Book{merkel2000a,
+ author = {Merkel, M. and Thomas, K.-H.},
+ title = {Taschenbuch der Werkstoffe},
+ publisher = {Fachbuchverlag Leipzig},
+ year = 2000,
+ edition = 5,
+ language = {ngerman},
+ isbn = {3-446-21410-0}
+}
+
+@InCollection{miyayama1991a,
+ author = {Miyayama, M. and Koumoto, K. and Yanagida, H.},
+ title = {Engineering Properties of Single Oxides},
+ booktitle = {Ceramics and Glasses},
+ pages = {748--757},
+ publisher = {ASM International},
+ year = 1991,
+ editor = {Schneider, Samuel J.},
+ volume = 4,
+ series = {Engineered Materials Handbook},
+ language = {english},
+ isbn = {0-87170-282-7}
+}
+
+@Article{miyoshi2000a,
+ author = {Miyoshi, T. and Itoh, M. and Akiyama, S. and Kitahara, A.},
+ title = {{ALPORAS} Aluminium Foam: Production Process, Properties,
+ and Applications},
+ journal = {Advanced Engineering Materials},
+ year = 2000,
+ volume = 2,
+ number = 4,
+ pages = {179--183},
+ language = {english}
+}
+
+@Unpublished{moehrmann2001a,
+ author = {M\"ohrmann, C. and Jung, A. and Woldt, E.},
+ title = {The Packing Density of Randomly Packed Spheres and the
+ Structural Stability of Metallic Glasses},
+ note = {abgelehnt von Elsevier Science},
+ year = 2001,
+ language = {english}
+}
+
+@InCollection{moet1988a,
+ author = {Moet, A. and Aglan, H.},
+ title = {Fatigue Failure},
+ booktitle = {Engineering Plastics},
+ pages = {741--750},
+ publisher = {ASM International},
+ year = 1988,
+ editor = {Epel, J. N.},
+ volume = 2,
+ series = {Engineered Materials Handbook},
+ language = {english},
+ isbn = {0-87170-279-7}
+}
+
+@Article{mohr2000a,
+ author = {Mohr, U. and Bleck, W. and Scholz P.-F.},
+ title = {Metallic Foams Produced by Slipcasting},
+ journal = {Advanced Engineering Materials},
+ year = 2000,
+ volume = 4,
+ number = {1--2},
+ pages = {28--33},
+ language = {english}
+}
+
+@Article{mosler2000a,
+ author = {Mosler, U. and Heinzel, G. and Martin, U. and Oettel, H.},
+ title = {Mikrostruktur und Verformungsverhalten von
+ Aluminium-Sch\"aumen},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {519--522},
+ language = {ngerman}
+}
+
+@Unpublished{mosler2000b,
+ author = {Mosler, U.},
+ title = {Mikrostrukturuntersuchungen von AlSi\,7-Schaum},
+ note = {Vortrag beim Arbeitskreistreffen \emph{Quantitative
+ Gef\"ugebestimmung} des DFG-SPP~1075 am 29. und 30.{\,}03.~2000,
+ unver"offentlicht, Institut f\"ur Metallkunde,
+ TU~Bergakademie Freiberg},
+ year = 2000,
+ language = {ngerman}
+}
+
+@Article{mosler2001a,
+ author = {Mosler, U. and M\"uller, A.},
+ title = {Gef\"ugeinterpretation von Aluminium-Sch"aumen},
+ journal = {Praktische Metallographie (Sonderb"ande)},
+ year = 2001,
+ volume = 32,
+ pages = {279--284},
+ language = {ngerman}
+}
+
+@InProceedings{mosler2001b,
+ author = {Mosler, U. and M\"uller, A. and Baum, H. and Martin, U. and
+ Oettel, H.},
+ title = {Microstructure of the Foamable Precursor and Foamed Aluminium
+ Material},
+ booktitle = {Cellular Metals and Metal Foaming Technology},
+ pages = {233--238},
+ year = 2001,
+ editor = {Banhart, J. and Ashby, M. F. and Fleck, N. A.},
+ address = {Bremen},
+ publisher = {Verlag MIT Publishing},
+ language = {english},
+ isbn = {3-935538-11-1}
+}
+
+@Misc{mosler2001c,
+ author = {Mosler, U.},
+ title = {LiMi-Aufnahmen von AlSi\,7},
+ howpublished = {E-Mail an Knut Hupfer},
+ month = {August},
+ year = 2001,
+ language = {ngerman}
+}
+
+@Unpublished{moslera,
+ author = {Mosler, U. and M\"uller, A. and Baum, H. and Martin, U.
+ and Oettel, H.},
+ title = {Microstructure of the foamable precursor and foamed
+ aluminium material},
+ note = {TU Freiberg},
+ language = {english}
+}
+
+@Article{motz2000a,
+ author = {Motz, C. and Pippan, R.},
+ title = {Bruchz\"ahigkeit und Ri"sfortschritt in den Zellw\"anden
+ von Schaumaluminium},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {493--496},
+ language = {ngerman}
+}
+
+@Article{motz2001a,
+ author = {Motz, C. and Pippan, R.},
+ title = {Deformation Behaviour of Closed-Cell Aluminium Foams in
+ Tension},
+ journal = {Acta Materialia},
+ year = 2001,
+ volume = 49,
+ pages = {2463--2470},
+ language = {english}
+}
+
+@Article{motz2002a,
+ author = {Motz, C. and Pippan, R.},
+ title = {Fracture behaviour and fracture toughness of ductile
+ closed-cell metallic foams},
+ journal = {Acta Materialia},
+ year = 2002,
+ volume = 50,
+ pages = {2013--2033},
+ language = {english}
+}
+
+@PhdThesis{mueller1983a,
+ author = {M"uller, H.},
+ title = {Flie"sspannung von Zink in Abh"angigkeit von
+ Korngr"o"se,
+ Beanspruchungsrichtung und Verformungsgrad},
+ school = {Technische Universit\"at Braunschweig},
+ year = 1983,
+ type = {Dissertation},
+ language = {ngerman}
+}
+
+@Unpublished{muellera,
+ author = {M\"uller, A. and Mosler, U.},
+ title = {Gef\"ugeinterpretation von Aluminium-Sch\"aumen},
+ note = {Institut f\"ur Metallkunde, TU Bergakademie Freiberg.
+ Ist es vielleicht in Sonderb\"ande der Praktischen
+ Metallographie 32 (2001) 279},
+ language = {ngerman}
+}
+
+@Article{muench2000a,
+ author = {M\"unch, M. and Schlimmer, M.},
+ title = {Ermittlung mechanischer Kennwerte von Aluminiumsch\"aumen},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {544--546},
+ language = {ngerman}
+}
+
+@Book{munz1989a,
+ author = {Munz, D. and Fett, T.},
+ title = {Mechanisches Verhalten keramischer Werkstoffe},
+ publisher = {Springer"=Verlag},
+ year = 1989,
+ address = {Berlin},
+ language = {ngerman},
+ isbn = {3-540-51508-9}
+}
+
+@Book{nadgornyi1988a,
+ author = {Nadgornyi, E.},
+ title = {Dislocation dynamics and mechanical properties of crystals},
+ publisher = {Pergamon Press},
+ year = 1988,
+ volume = 31,
+ series = {Progress in materials science},
+ address = {Oxford},
+ edition = 1,
+ language = {english},
+ isbn = {0-08-036864-6}
+}
+
+@Book{nadgronyi1988a,
+ author = {Nadgornyi, E. M.},
+ title = {Dislocation dynamics and mechanical properties of crystals},
+ publisher = {Pergamon Press},
+ year = 1988,
+ volume = 31,
+ series = {Progress in materials science},
+ address = {Oxford},
+ language = {english},
+ isbn = {0-08-036864-6}
+}
+
+@Book{neuber1985a,
+ author = {Neuber, H.},
+ title = {Kerbspannungslehre},
+ publisher = {Springer"=Verlag},
+ year = 1985,
+ address = {Berlin},
+ edition = 3,
+ language = {ngerman},
+ isbn = {3-540-13558-8}
+}
+
+@InProceedings{neugebauer1998a,
+ author = {Neugebauer, R. and Hipke, Th.},
+ title = {Parameters of Construction for Applications of Metal Foams},
+ booktitle = {Porous and Cellular Materials for Structural Applications},
+ pages = {265--270},
+ year = 1998,
+ editor = {Schwartz, D. S. and Shih, D. S. and Evans, A. G. and
+ Wadley, H. N. G.},
+ volume = 521,
+ series = {Symposium Proceedings},
+ address = {Warrendale, Pennsylvania},
+ month = {April},
+ publisher = {Materials Research Society},
+ language = {english}
+}
+
+@InProceedings{neugebauer1998b,
+ author = {Neugebauer, R. and Br\"aunlich, H. and Wagner, U.},
+ title = {Lightweight Products with Metal Foam---Properties and
+ Methods of Processing},
+ booktitle = {Porous and Cellular Materials for Structural Applications},
+ pages = {271--278},
+ year = 1998,
+ editor = {Schwartz, D. S. and Shih, D. S. and Evans, A. G. and
+ Wadley, H. N. G.},
+ volume = 521,
+ series = {Symposium Proceedings},
+ address = {Warrendale, Pennsylvania},
+ month = {April},
+ publisher = {Materials Research Society},
+ language = {english}
+}
+
+@Article{neugebauer2000a,
+ author = {Neugebauer, R. and Wagner, U.},
+ title = {Strukturanalyse von Metallsch\"aumen},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {462--464},
+ language = {ngerman}
+}
+
+@Misc{newprocess2000a,
+ key = {AAA},
+ title = {Foam Metal Developed with New Process},
+ howpublished = {Japan Chemical Week},
+ month = {June 15},
+ year = 2000,
+ language = {english}
+}
+
+@InProceedings{olurin1999a,
+ author = {Olurin, O. B. and Fleck, N. A. and Ashby, M. F.},
+ title = {Fatigue of an aluminium alloy foam},
+ booktitle = {Metal Foams and Porous Metal Structures},
+ pages = {365--371},
+ year = 1999,
+ editor = {Banhart, J. and Ashby, M. F. and Fleck, N. A.},
+ publisher = {MIT Verlag},
+ language = {english}
+}
+
+@Article{olurin2001a,
+ author = {Olurin, O. B. and Fleck, N. A. and Ashby, M. F.},
+ title = {Tensile and Compressive Failure of Notched Cellular Foams},
+ journal = {Advanced Engineering Materials},
+ year = 2001,
+ volume = 3,
+ number = {1--2},
+ pages = {55--58},
+ language = {english}
+}
+
+@Article{olurin2002a,
+ author = {Olurin, O. B. and Arnold, M. and K\"orner, C. and
+ Singer, R. F.},
+ title = {The investigation of morphometric parameters of aluminium
+ foams using micro-computed tomography},
+ journal = {Materials Science and Engineering},
+ year = 2002,
+ volume = {A~328},
+ pages = {334--343},
+ language = {english}
+}
+
+@Article{onck2001a,
+ author = {Onck, P. R. and Andrews, E. W. and Gibson, L. J.},
+ title = {Size effects in ductile cellular solids. Part~I: modeling},
+ journal = {International Journal of Mechanical Sciences},
+ year = 2001,
+ volume = 43,
+ pages = {681--699},
+ language = {english}
+}
+
+
+@InCollection{ownby1991a,
+ author = {Ownby, P. D. and Stewart, R. W.},
+ title = {Engineering Properties of Diamond and Graphite},
+ booktitle = {Ceramics and Glasses},
+ pages = {821--834},
+ publisher = {ASM International},
+ year = 1991,
+ editor = {Schneider, Samuel J.},
+ volume = 4,
+ series = {Engineered Materials Handbook},
+ language = {english},
+ isbn = {0-87170-282-7}
+}
+
+
+@Book{podesta1996a,
+ author = {de Podesta, M.},
+ title = {Understanding the Properties of Matter},
+ publisher = {UCL Press},
+ year = 1996,
+ address = {London},
+ language = {english},
+ isbn = {1-85728-299-X}
+}
+
+
+@Article{poeppe1999a,
+ author = {P"oppe, C.},
+ title = {Der Beweis der Keplerschen Vermutung},
+ journal = {Spektrum der Wissenschaft},
+ year = 1999,
+ volume = 4,
+ language = {ngerman}
+}
+
+
+@Book{polmear1995a,
+ author = {Polmear, I. J.},
+ title = {Light Alloys},
+ publisher = {Arnold},
+ year = 1995,
+ series = {Metallurgy and Materials Science Series},
+ address = {London},
+ edition = 3,
+ language = {english},
+ isbn = {0-340-63207-0}
+}
+
+
+@Book{prager1961a,
+ author = {Prager, W.},
+ title = {Einf"uhrung in die Konitnuumsmechanik},
+ publisher = {Birkh"auser Verlag},
+ year = 1961,
+ volume = 20,
+ series = {Lehr- und Handb"ucher der Ingenieurwissenschaften},
+ address = {Basel},
+ language = {ngerman}
+}
+
+
+@Article{quelheillalt2002a,
+ author = {Queheillalt, D. T. and Sypeck, D. J. and Wadley, H. N. G.},
+ title = {Ultrasonic characterization of cellular metal structures},
+ journal = {Materials Science and Engineering},
+ year = 2002,
+ volume = {A~323},
+ pages = {138--147},
+ language = {english}
+}
+
+
+@Article{rabiei2000a,
+ author = {Rabiei, A. and Evans, A. G. and Hutchinson, J. W.},
+ title = {Heat Generation During the Fatigue of a Cellular {Al} Alloy},
+ journal = {Metallurgical and materials transactions},
+ year = 2000,
+ volume = 31,
+ number = 4,
+ pages = {1129--1136},
+ language = {english},
+ issn = {1073-5623}
+}
+
+
+@Book{radaj1995a,
+ author = {Radaj, D.},
+ title = {Erm"udungsfestigkeit},
+ publisher = {Springer"=Verlag},
+ year = 1995,
+ address = {Berlin},
+ language = {ngerman},
+ isbn = {3-540-58348-3}
+}
+
+
+@Article{rausch2000a,
+ author = {Rausch, G. and Hartwig, T. and Weber, M. and Schulz, O.},
+ title = {Herstellung und Eigenschaften von Titansch\"aumen},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {412--414},
+ language = {ngerman}
+}
+
+
+@Article{rausch2000b,
+ author = {Rausch, G. and Weber, M. and Kn\"uwer, M.},
+ title = {Neue Entwicklungen zur Herstellung von Stahlsch\"aumen},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {424--427},
+ language = {ngerman}
+}
+
+
+@Book{reckling1967a,
+ author = {Reckling, K.-A.},
+ title = {Plastizit"atstheorie und ihre Anwendung auf
+ Festigkeitsprobleme},
+ publisher = {Springer"=Verlag},
+ year = 1967,
+ address = {Berlin},
+ language = {ngerman}
+}
+
+
+@Book{reif1987a,
+ author = {Reif, F.},
+ title = {Statistische Physik und Theorie der W"arme},
+ publisher = {De Gruyter},
+ year = 1987,
+ edition = 3,
+ language = {ngerman},
+ isbn = {3-11-011383-X}
+}
+
+
+@InProceedings{renauld1998a,
+ author = {Renauld, M. L. and Giamei, A. F. and Thompson, M. S. and
+ Priluck, J.},
+ title = {The Effect of Parent Metal Properties on the Performance
+ of Lattice Block Material},
+ booktitle = {Porous and Cellular Materials for Structural Applications},
+ pages = {109--117},
+ year = 1998,
+ editor = {Schwartz, D. S. and Shih, D. S. and Evans, A. G. and
+ Wadley, H. N. G.},
+ volume = 521,
+ series = {Symposium Proceedings},
+ address = {Warrendale, Pennsylvania},
+ month = {April},
+ publisher = {Materials Research Society},
+ language = {english}
+}
+
+
+@Book{rhines1956a,
+ author = {Rhines, F. N.},
+ title = {Phase Diagrams in Metallurgy},
+ publisher = {McGraw-Hill Book Company},
+ year = 1956,
+ series = {Metallurgy and Metallurgical Engineering Series},
+ address = {New York},
+ language = {english}
+}
+
+
+@Article{rice1968a,
+ author = {Rice, J. R.},
+ title = {A Path Independent Integral and the Approximate Analysis
+ of Strain Concentration by Notches and Cracks},
+ journal = {Journal of Applied Mechanics},
+ year = 1968,
+ pages = {379--386},
+ month = {June},
+ language = {english}
+}
+
+
+@Book{riedel1990a,
+ author = {Riedel, E.},
+ title = {Allgemeine und Anorganische Chemie},
+ publisher = {Walter de Gruyter},
+ year = 1990,
+ address = {Berlin},
+ edition = 5,
+ language = {ngerman},
+ isbn = {3-11-012586-2}
+}
+
+
+@Article{rinebolt1951a,
+ author = {Rinebolt, J. A. and Harris, W. J., Jr.},
+ title = {Effect of Alloying Elements on Notch Toughness of
+ Pearlitic Steels},
+ journal = {Transactions of the American Society of Metals},
+ year = 1951,
+ volume = 43,
+ pages = {1175--1202},
+ language = {english}
+}
+
+
+@Article{roberts2001a,
+ author = {Roberts, A. P. and Garboczi, E. J.},
+ title = {Elastic Moduli of Model Random Three-Dimensional
+ Closed-Cell Cellular Solids},
+ journal = {Acta Materialia},
+ year = 2001,
+ volume = 49,
+ pages = {189--197},
+ language = {english}
+}
+
+
+@Article{roberts2002a,
+ author = {Roberts, A. P. and Garboczi, E. J.},
+ title = {Elastic properties of model random three-dimensional
+ open-cell solids},
+ journal = {Journal of the Mechanics and Physics of Solids},
+ year = 2002,
+ volume = 50,
+ pages = {35--55},
+ language = {english}
+}
+
+
+@Article{roesler1992a,
+ author = {R\"osler, J. and Joos, R. and Arzt, E.},
+ title = {Microstructure and Creep Properties of
+ Dispersion-Strengthened Aluminium Alloys},
+ journal = {Metallurgical Transactions A},
+ year = 1992,
+ volume = {23\,A},
+ pages = {1521--1539},
+ month = {May},
+ language = {english}
+}
+
+
+@Book{roesler2003a,
+ editor = {R{\"o}sler, J. and Harders, H. and B{\"a}ker, M.},
+ title = {Mechanisches Verhalten der Werkstoffe},
+ publisher = {Teubner-Verlag},
+ edition = 1,
+ year = 2003,
+ language = {ngerman}
+}
+
+
+@Book{ruge2001a,
+ author = {Ruge, J. and Wohlfahrt, H.},
+ title = {Technologie der Werkstoffe},
+ publisher = {Vieweg Verlag},
+ year = 2001,
+ address = {Braunschweig},
+ edition = 6,
+ language = {ngerman},
+ isbn = {3-528-53021-9}
+}
+
+
+@InProceedings{saenz1998a,
+ author = {Saenz, E. and Baranda, P. S. and Bonhomme, J.},
+ title = {Shear Properties on Aluminium Metal Foams Prepared by
+ the Melt Route},
+ booktitle = {Porous and Cellular Materials for Structural Applications},
+ pages = {83--89},
+ year = 1998,
+ editor = {Schwartz, D. S. and Shih, D. S. and Evans, A. G. and
+ Wadley, H. N. G.},
+ volume = 521,
+ series = {Symposium Proceedings},
+ address = {Warrendale, Pennsylvania},
+ month = {April},
+ publisher = {Materials Research Society},
+ language = {english}
+}
+
+
+@Book{salmang1982a,
+ author = {Salmang, H. and Scholze, H.},
+ title = {Keramik, Teil 1},
+ publisher = {Springer"=Verlag},
+ year = 1982,
+ address = {Berlin},
+ edition = 6,
+ language = {ngerman},
+ isbn = {3-540-10987-0}
+}
+
+
+@Book{salmang1983a,
+ author = {Salmang, H. and Scholze, H.},
+ title = {Keramik, Teil 2},
+ publisher = {Springer"=Verlag},
+ year = 1983,
+ address = {Berlin},
+ edition = 6,
+ language = {ngerman},
+ isbn = {3-540-12595-7}
+}
+
+
+@InProceedings{sanders1998a,
+ author = {Sanders, W. and Gibson, L. J.},
+ title = {Reduction in Young's Modulus of Aluminum Foams Due to
+ Cell Wall Curvature and Corrugation},
+ booktitle = {Porous and Cellular Material for Structural Applications},
+ pages = {53--57},
+ year = 1998,
+ volume = 521,
+ organization = {Materials Research Society},
+ language = {english}
+}
+
+
+@Article{santosa1998a,
+ author = {Santosa, S. and Wierzbicki, T.},
+ title = {On the modeling of crush behavior of a closed-cell
+ aluminium foam structure},
+ journal = {Journal of the Mechanics and Physics of Solids},
+ year = 1998,
+ volume = 46,
+ pages = 645,
+ language = {english}
+}
+
+
+@PhdThesis{sass1997a,
+ author = {Sa"s, V.},
+ title = {Untersuchung der Anisotropie im Kriechverhalten der
+ einkristallinen Nickelbasis"=Superlegierung CMSX"~4},
+ school = {TU Berlin},
+ year = 1997,
+ type = {Dissertation},
+ language = {ngerman},
+ isbn = {3-89574-236-8}
+}
+
+
+@Article{sassov2000a,
+ author = {Sassov, A. and Cronelis, E. and Van Dyck, D.},
+ title = {Non destructive 3-D Investigation of Metal Foam
+ Microstructure},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {571--573},
+ language = {english}
+}
+
+
+@PhdThesis{schacht2001a,
+ author = {Schacht, T.},
+ title = {Orientierungsabh"angige Rissbildung in duktilen Metallen},
+ school = {TU~Braunschweig},
+ year = {2001},
+ type = {Dissertation},
+ address = {Braunschweiger Schriften zur Mechanik, Nr.~42-2001,
+ Mechanik-Zentrum der TU Braunschweig},
+ language = {ngerman}
+}
+
+
+@Book{schatt1996a,
+ editor = {Schatt, W. and Worch, H.},
+ title = {Werkstoffwissenschaft},
+ publisher = {Deutscher Verlag f\"ur Grundstoffindustrie},
+ year = 1996,
+ address = {Stuttgart},
+ language = {ngerman},
+ isbn = {3-527-30956-X}
+}
+
+
+@Book{schimpke1977a,
+ author = {Schimpke, P. and Schropp, H. and K\"onig, R.},
+ title = {Technologie der Maschinenbaustoffe:
+ Werkstoffkunde, Werkstoffpr\"ufung, Werkstoffverarbeitung},
+ publisher = {Hirzel},
+ year = 1977,
+ address = {Stuttgart},
+ edition = 18,
+ language = {ngerman},
+ isbn = {3-7776-0312-0}
+}
+
+
+@Article{schlums1992a,
+ author = {Schlums, H. and Steck, E.},
+ title = {Description of Cyclic Deformation Processes With a
+ Stochastic Model for Inelastic Behaviour of Metals},
+ journal = {International Journal of Plasticity},
+ year = 1992,
+ volume = 8,
+ pages = {147--159},
+ language = {english}
+}
+
+
+@InProceedings{schneider1990a,
+ author = {Schneider, K.},
+ title = {Advanced Blading},
+ booktitle = {High Temperature Materials for Power Engineering 1990~--
+ Part~{II}},
+ pages = {935--954},
+ year = 1990,
+ editor = {Bauchelet, E. and others},
+ address = {Dordrecht},
+ publisher = {Kluwer Academic Publishers},
+ language = {english}
+}
+
+
+@Book{schott1997a,
+ editor = {Schott, G.},
+ title = {Werkstofferm"udung~-- Erm"udungsfestigkeit},
+ publisher = {Deutscher Verlag f\"ur Grundstoffindustrie},
+ year = 1997,
+ address = {Stuttgart},
+ edition = 4,
+ language = {ngerman},
+ isbn = {3-342-00511-4}
+}
+
+
+@Book{schultz1977a,
+ author = {Schultz, J. M.},
+ title = {Properties of solid polymeric materials~-- Part B},
+ publisher = {Academic Press},
+ year = 1977,
+ volume = 10,
+ series = {Treatise on materials science and technology},
+ address = {New York},
+ language = {english},
+ isbn = {0-12-341841-0}
+}
+
+
+@InProceedings{schultz1999a,
+ author = {Schultz, O. and Ligneris, A. des and Haider, O. and
+ Starke, P.},
+ title = {Fatigue behaviour, Strength and Failure of
+ Aluminium Foam},
+ booktitle = {Metal Foams and Porous Metal Structures},
+ pages = {379--386},
+ year = 1999,
+ editor = {Banhart, J. and Ashby, M. F. and Fleck, N. A.},
+ publisher = {MIT Verlag},
+ language = {english}
+}
+
+
+@Article{schultz2000a,
+ author = {Schultz, O. and Ligneris, A. des and Haider, O. and
+ Starke, P.},
+ title = {Fatigue behaviour, Strength and Failure of
+ Aluminium Foam},
+ journal = {Advanced Engineering Materials},
+ year = 2000,
+ volume = 2,
+ number = 4,
+ pages = {215--218},
+ language = {english}
+}
+
+
+@Article{schultz2000b,
+ author = {Schultz, O. and Schindler, R.},
+ title = {Aluminiumschaum: Dynamische Festigkeit und Anwendung im
+ Hubschrauber},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {511--514},
+ language = {ngerman}
+}
+
+
+@Book{schumann1962a,
+ author = {Schumann, H.},
+ title = {Metallographie},
+ publisher = {VEB Deutscher Verlag f\"ur Grundstoffindustrie},
+ year = 1962,
+ address = {Leipzig},
+ edition = 4,
+ language = {ngerman}
+}
+
+
+@Book{schwalbe1980a,
+ author = {Schwalbe, K.-H.},
+ title = {Bruchmechanik metallischer Werkstoffe},
+ publisher = {Carl Hanser Verlag},
+ address = {M"unchen},
+ year = 1980,
+ language = {ngerman},
+ isbn = {3-446-12983-9}
+}
+
+
+@Article{schwalbe2001a,
+ author = {Schwalbe, H.-J. and Baumg"artner, F. and Beichelt, Ch.},
+ title = {Investigations on the Failure Behaviour of Aluminium Foams},
+ journal = {ALUMINIUM},
+ year = 2001,
+ volume = {1/2},
+ pages = {87--92},
+ language = {english}
+}
+
+
+@InProceedings{seeliger1997a,
+ author = {Seeliger, H.-W.},
+ title = {Complex Shaped Aluminum Foam Sandwich Panels for
+ Automotive Applications},
+ booktitle = {Proceedings of the Fraunhofer USA Metal Foam Symposium},
+ pages = {79--89},
+ year = 1997,
+ address = {Bremen (Germany)},
+ publisher = {MIT-Verlag},
+ language = {english}
+}
+
+
+@Article{seitzberger2000a,
+ author = {Seitzberger, M. and Willminger, S.},
+ title = {Versagensmechanismen zur Kollapsanalyse axial gedr\"uckter
+ Aluminiumschaum-gef\"ullter Profile},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {459--461},
+ language = {ngerman}
+}
+
+
+@Article{shiozawa2002a,
+ author = {Shiozawa, K. and Lu, L.},
+ title = {Very high-cycle fatigue behaviour of shot-peened
+ high-carbon-chromium bearing steel},
+ journal = {Fatigue and fracture of engineering materials and
+ structures},
+ year = 2002,
+ volume = 25,
+ number = 8,
+ pages = {813--833},
+ language = {english}
+}
+
+
+@Article{silva1995a,
+ author = {Silva, M. J. and Hayes, W. C. and Gibson, L. J.},
+ title = {The effects of non-periodic microstructure on the elastic
+ properties of two-dimensional cellular solids},
+ journal = {International journal of mechanical sciences},
+ year = 1995,
+ volume = 37,
+ number = 11,
+ pages = {1161--1177},
+ language = {english}
+}
+
+
+@Article{silva1997a,
+ author = {Silva, M. J. and Gibson, L. J.},
+ title = {The effect of non-periodic microstructure and
+ defects on the compressive strength of
+ two-dimensional cellular solids},
+ journal = {International Journal of Mechanical Sciences},
+ year = 1997,
+ volume = 39,
+ pages = 549,
+ language = {english}
+}
+
+
+@InProceedings{simancik1998a,
+ author = {Siman\v{c}ik, F. and Kov\'a\v{c}ik, J. and Min\'arikov\'a, N.},
+ title = {Bending Properties of Foamed Aluminium Panels and
+ Sandwiches},
+ booktitle = {Porous and Cellular Materials for Structural Applications},
+ pages = {91--97},
+ year = 1998,
+ editor = {Schwartz, D. S. and Shih, D. S. and Evans, A. G. and
+ Wadley, H. N. G.},
+ volume = 521,
+ series = {Symposium Proceedings},
+ address = {Warrendale, Pennsylvania},
+ month = {April},
+ publisher = {Materials Research Society},
+ language = {english}
+}
+
+@Article{simone1998a,
+ author = {Simone, A. E. and Gibson, L. J.},
+ title = {Aluminium foams produced by liquid-state
+ processes},
+ journal = {Acta Materialia},
+ year = 1998,
+ volume = 46,
+ pages = 3109,
+ language = {english}
+}
+
+@Article{simone1998b,
+ author = {Simone, A. E. and Gibson, L. J.},
+ title = {Effects of solid distribution on the stiffness and
+ strength of metallic foams},
+ journal = {Acta Materialia},
+ year = 1998,
+ volume = 46,
+ pages = {2139--2150},
+ language = {english}
+}
+
+@Manual{stahlschluessel1992a,
+ title = {Stahlschl"ussel-Taschenbuch},
+ key = {Stahlschluessel},
+ organization = {Verlag Stahlschl"ussel Wegst GmbH},
+ address = {Marbach/N.},
+ year = 1992,
+ language = {ngerman},
+ isbn = {3-922599-08-7}
+}
+
+@Article{stanzick2000a,
+ author = {Stanzick, H. and Duarte, I. and Banhart, J.},
+ title = {Der Sch\"aumproze\ss{} von Aluminium},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {409--411},
+ language = {ngerman}
+}
+
+@Article{steck1989a,
+ author = {Steck, E.},
+ title = {A Stochastic Model for the Interaction of Plasticity and
+ Creep in Metals},
+ journal = {Nuclear Engineering and Design},
+ year = 1989,
+ volume = 114,
+ pages = {285--294},
+ language = {english}
+}
+
+@Article{steck1991a,
+ author = {Steck, E. and Kublik, F.},
+ title = {Application of Constitutive Models for the Prediction of
+ Multiaxial Inelastic Behaviour},
+ journal = {SMiRT 11 Transactions},
+ year = 1991,
+ volume = {L},
+ language = {english}
+}
+
+@InProceedings{steck1992a,
+ author = {Steck, E.},
+ title = {Stochastic Modelling of Cyclic Deformation Processes in
+ Metals},
+ booktitle = {Proceedings of the 13th Ris\o\ International Symposium on
+ Materials Science: Modelling of Plastic Deformation and
+ Its Engineering Applications},
+ pages = {439--444},
+ year = 1992,
+ editor = {Andersen, S. I. and Bilde-S\o{}rensen, J. B. and Hansen, N.
+ and Juul Jensen, D. and Leffers, T. and Lilholt, H. and
+ Lorentzen, T. and Pedersen, O. B. and Ralph, B.},
+ address = {Roskilde, Denmark},
+ organization = {Ris\o\ National Laboratory},
+ language = {english}
+}
+
+
+
+@Article{steck1995a,
+ author = {Steck, E.},
+ title = {Zur Ber\"ucksichtigung von Vorg\"angen im Mikrobereich
+ metallischer Werkstoffe bei der Entwicklung von
+ Stoffmodellen},
+ journal = {Zeitschrift f\"ur angewandte Mathematik und Mechanik (ZAMM)},
+ year = 1995,
+ volume = 75,
+ number = 5,
+ pages = {331--341},
+ language = {ngerman},
+ issn = {0946-8463}
+}
+
+@InProceedings{steck1995b,
+ author = {Steck, E.},
+ title = {Zur Ber\"ucksichtigung von Vorg\"angen im Mikrobereich
+ kristalliner Werkstoffe bei der Entwicklung von
+ Stoffmodellen},
+ booktitle = {Jahrbuch 1995},
+ pages = {115--130},
+ year = 1995,
+ organization = {Braunschweigische Wissenschaftliche Gesellschaft},
+ language = {ngerman}
+}
+
+@Article{steck1997a,
+ author = {Steck, E.},
+ title = {Zur Berechnung der Ri"sausbreitung in z\"ahen metallischen
+ Werkstoffen},
+ journal = {Abhandlungen der Braunschweigischen Wissenschaftlichen
+ Gesellschaft},
+ year = 1997,
+ volume = {XLVII},
+ pages = {211--229},
+ language = {ngerman}
+}
+
+@InCollection{stevens1991a,
+ author = {Stevens, R.},
+ title = {Engineering Properties of Zirconia},
+ booktitle = {Ceramics and Glasses},
+ pages = {775--786},
+ publisher = {ASM International},
+ year = 1991,
+ editor = {Schneider, Samuel J.},
+ volume = 4,
+ series = {Engineered Materials Handbook},
+ language = {english},
+ isbn = {0-87170-282-7}
+}
+
+@Article{stiebel2001a,
+ author = {Stiebel, C. and W\"urtz, T. and Janocha, H.},
+ title = {Leistungsverst\"arker f\"ur piezoelektrische Aktoren},
+ journal = {Elektronik},
+ year = 2001,
+ volume = 12,
+ pages = {82--88},
+ language = {ngerman}
+}
+
+@Book{stoyan1995a,
+ author = {Stoyan, D. and Kendall, W. S. and Mecke, J.},
+ title = {Stochastic Geometry and its Applications},
+ publisher = {John Wiley \&\ Sons},
+ year = 1995,
+ address = {Chichester},
+ edition = {2nd},
+ language = {english},
+ isbn = {0-471-95099-8}
+}
+
+
+@Article{stroehla2000a,
+ author = {Str\"ohla, S. and Winter, W. and Kuhn, G.},
+ title = {Numerische Ermittlung elastischer Eigenschaften von
+ Metallsch\"aumen mit Polyeder-Einheitszellen},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {444--446},
+ language = {ngerman}
+}
+
+@Book{stuewe1991a,
+ author = {Stüwe, H.-P.},
+ title = {Einf\"uhrung in die Werkstoffkunde},
+ publisher = {B.I.-Wissenschaftsverlag},
+ year = 1991,
+ series = {B.I.-Hochschultaschenbuch},
+ volume = {467},
+ edition = 2,
+ address = {Mannheim, Wien, Z\"urich},
+ language = {ngerman}
+}
+
+@Article{sugimura1997a,
+ author = {Sugimura, Y. and Meyer, J. and He, M. Y. and
+ Bart-Smith, H. and Greenstedt, J. and Evans, A. G.},
+ title = {On the mechanical performance of closed cell {Al} alloy
+ foams},
+ journal = {Acta Materialia},
+ year = 1997,
+ volume = 45,
+ number = 12,
+ pages = {5245--5260},
+ language = {english}
+}
+
+@Article{sugimura1999a,
+ author = {Sugimura, Y. and Rabiei, A. and Evans, A. G. and
+ Harte, A. M. and Fleck, N. A.},
+ title = {Compression fatigue of a cellular {Al} alloy},
+ journal = {Materials Science \&\ Engineering},
+ year = 1999,
+ volume = {A~269},
+ pages = {38--48},
+ language = {english}
+}
+
+@Book{tabellenbuch1999a,
+ author = {Fischer, U. and Heinzler, M. and Kilgus, R. and N"aher, F.
+ and Paetzold, H. and R"ohrer, W. and Schilling, K. and
+ Stephan, A.},
+ title = {Tabellenbuch Metall},
+ publisher = {Verlag Europa-Lehrmittel},
+ year = 1999,
+ address = {Haan-Gruiten},
+ edition = 41,
+ language = {ngerman},
+ isbn = {3-8085-1721-2}
+}
+
+
+@Book{tada2000a,
+ author = {Tada,H. and Paris, P. and Irwin, G.},
+ title = {The Stress Analysis of Cracks Handbook},
+ publisher = {ASME},
+ year = 2000,
+ address = {New York},
+ language = {english},
+ isbn = {1-86058-304-0}
+}
+
+
+
+
+@Article{tanaka2002a,
+ author = {Tanaka, K. and Akiniwa, Y.},
+ title = {Fatigue crack propagation behaviour derived from S-N
+ data in very high cycle regime},
+ journal = {Fatigue and fracture of engineering materials and
+ structures},
+ year = 2002,
+ volume = 25,
+ number = 8,
+ pages = {775--784},
+ language = {english}
+}
+
+@Book{tenckhoff1980a,
+ author = {Tenckhoff, E.},
+ title = {Verformungsmechanismen, Textur und Anisotropie in
+ Zirkonium und Zircaloy},
+ publisher = {Gebr"uder Borntraeger, Berlin, Stuttgart},
+ year = 1980,
+ series = {Materialkundlich-Technische Reihe~5},
+ language = {ngerman}
+}
+
+@Article{torquato1998a,
+ author = {Torquato, S. and Gibiansky, L. V. and Silva, M. J. and
+ Gibson, L. J.},
+ title = {Effective Mechanical and Transport Properties of Cellular
+ Solids},
+ journal = {International Journal of Mechanical Sciences},
+ year = 1998,
+ volume = 40,
+ number = 1,
+ pages = {71--82},
+ language = {english}
+}
+
+@Article{triantafillou1989a,
+ author = {Triantafillou, T. C. and Zhang, J. and Shercliff,
+ T. L. and Gibson, L. J. and Ashby, M. F.},
+ title = {Failure surfaces for cellular materials under
+ multiaxial loads -- {II}.~Comparison of models with
+ experiment},
+ journal = {International Journal of Mechanical Sciences},
+ year = 1997,
+ volume = 39,
+ pages = 549,
+ language = {english}
+}
+
+@TechReport{vesper2000a,
+ author = {Vesper, M. and Steck, E.},
+ title = {Customizing ABAQUS Material Subroutines UMAT Incorporating
+ Constitutive Laws for FCC Polycrystalline Metals},
+ institution = {Institut f\"ur Allgemeine Mechanik und Festigkeitslehre,
+ Technische Universi\"at Braunschweig},
+ year = 2000,
+ type = {Technical Report},
+ address = {Braunschweig},
+ language = {english}
+}
+
+@InProceedings{wadley2001a,
+ author = {Wadley, H. N. G.},
+ title = {Cellular metals manufacturing: an overview of stochastic
+ and periodic concepts},
+ booktitle = {Cellular Metals and Metal Foaming Technology},
+ pages = {137--146},
+ year = 2001,
+ editor = {Banhart, J. and Ashby, M. F. and Fleck, N. A.},
+ address = {Bremen},
+ publisher = {Verlag MIT Publishing},
+ language = {english},
+ isbn = {3-935538-11-1}
+}
+
+@Article{wallach2001a,
+ author = {Wallach, J. C. and Gibson, L. J.},
+ title = {Mechanical behavior of a three-dimensional truss material},
+ journal = {International Journal of Solids and Structures},
+ year = 2001,
+ volume = 38,
+ pages = {7181--7196},
+ language = {english}
+}
+
+
+
+@Article{wallach2001b,
+ author = {Wallach, J. C. and Gibson, L. J.},
+ title = {Defect sensitivity of a {3D} truss material},
+ journal = {Scripta Materialia},
+ year = 2001,
+ volume = 45,
+ pages = {639--644},
+ language = {english}
+}
+
+@Article{wanner2000a,
+ author = {Wanner, A. and Kriszt, B.},
+ title = {Charakterisierung des linear-elastischen Verhaltens von
+ Metallsch\"aumen mittels Ultraschall-Phasenspektroskopie},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {481--483},
+ language = {ngerman}
+}
+
+@Article{weaire1994a,
+ author = {Weaire, D. and Fortes, M. A.},
+ title = {Stress and strain in liquid and solid foams},
+ journal = {Advances in Physics},
+ year = 1994,
+ volume = 43,
+ pages = 685,
+ language = {english}
+}
+
+
+@PhdThesis{weber1995a,
+ author = {Weber, M.},
+ title = {Herstellung von Metallsch\"aumen und Beschreibung der
+ Werkstoffeigenschaften},
+ school = {Technische Universit\"at Clausthal},
+ year = 1995,
+ type = {Dissertation},
+ language = {ngerman}
+}
+
+@InProceedings{weiss1999a,
+ author = {Wei\ss{}, S. and Thielecke, F. and Harders, H.},
+ title = {Ein neuer Ansatz zur Modellierung von Luftdatensystemen},
+ booktitle = {Deutscher Luft- und Raumfahrtkongre\ss{} 1999\,/\,DGLR
+ Jahrestagung 1999},
+ year = 1999,
+ address = {Berlin},
+ month = {27.\,--\,30.\,09.},
+ language = {ngerman}
+}
+
+@Book{wellinger1976a,
+ author = {Wellinger, K. and Dietmann, H.},
+ title = {Festigkeitsberechnung: Grundlagen und technische Anwendung},
+ publisher = {Alfred Kr"oner Verlag},
+ year = 1976,
+ address = {Stuttgart},
+ edition = 3,
+ language = {ngerman},
+ isbn = {3-520-90303-2}
+}
+
+@Article{westergaard1939a,
+ author = {Westergaard, H. M.},
+ title = {Bearing Pressures and Cracks},
+ journal = {Journal of Applied Mechanics},
+ year = 1939,
+ volume = 6,
+ pages = {49--53},
+ language = {english}
+}
+
+@MastersThesis{wieding1991a,
+ author = {Wieding, H., v.},
+ title = {Entwicklung eines Programmpaketes zur Berechnung der
+ ertragbaren Spannungen bzw.\ der Lebensdauer bei
+ mehrachsiger Betriebsbeanspruchung auf der Basis der
+ modifizierten Okaederschubspannungshypothese},
+ school = {Institut f\"ur Werkstoffe, TU Braunschweig},
+ year = 1991,
+ type = {Studienarbeit},
+ language = {ngerman}
+}
+
+@Unpublished{witzela,
+ author = {Witzel, W. and Drude, H. and Schwarze, R. and B\"uckle, R.
+ and Hagedorn, U. and Otremba, R.},
+ title = {Torsionspr\"ufung mit Laserextensometer zur Messung von
+ Dehnungsverteilungen},
+ language = {ngerman}
+}
+
+@Misc{www.copper.org,
+ key = {CopperPage},
+ title = {The Copper Page},
+ howpublished = {http://www.copper.org},
+ language = {english}
+}
+
+@Article{yamada2000a,
+ author = {Yamada, Y. and Shimojima, K. and Mabuchi, M. and
+ Nakamura, M. and Asahina, T. and Mukai, T. and
+ Kanahashi, H. and Higashi, K.},
+ title = {Compressive deformation behavior of {Al$_2$O$_3$} foam},
+ journal = {Materials Science and Engineering},
+ year = 2000,
+ volume = {A~277},
+ pages = {213--217},
+ language = {english}
+}
+
+@Article{yang2000a,
+ author = {Yang, C. C. and Nakae, H.},
+ title = {Foam Structure Effect on the Compression Behavior of
+ Foamed Aluminium Alloy},
+ journal = {ISIJ International},
+ year = 2000,
+ volume = 40,
+ number = 12,
+ pages = {1283--1286},
+ language = {english}
+}
+
+@Article{yu1998a,
+ author = {Yu, C.J. and Eifert, H. H. and Banhart, J. and
+ Baumeister, J.},
+ title = {Metal foaming by a powder metallurgy method: Production,
+ properties and applications},
+ journal = {Materials research innovations},
+ year = 1998,
+ volume = 2,
+ pages = {181--188},
+ language = {english}
+}
+
+@InProceedings{zettl1998a,
+ author = {Zettl, B. and Stanzl-Tschegg, S. and Gradinger, R.
+ and Degischer, H. P.},
+ title = {High Cycle Fatigue Properties of Aluminium Foams},
+ booktitle = {Porous and Cellular Materials for Structural Applications},
+ pages = {97--102},
+ year = 1998,
+ editor = {Schwartz, D. S. and Shih, D. S. and Evans, A. G. and
+ Wadley, H. N. G.},
+ volume = 521,
+ series = {Symposium Proceedings},
+ address = {Warrendale, Pennsylvania},
+ month = {April},
+ publisher = {Materials Research Society},
+ language = {english}
+}
+
+
+@InProceedings{zettl1999a,
+ author = {Zettl, B. and Stanzl-Tschegg, S.},
+ title = {Fatigue of Aluminium Foams at Ultrasonic
+ Frequencies},
+ booktitle = {Metal Foams and Porous Metal Structures},
+ pages = {373--378},
+ year = 1999,
+ editor = {Banhart, J. and Ashby, M. F. and Fleck, N. A.},
+ publisher = {MIT Verlag},
+ language = {english}
+}
+
+
+@InProceedings{zettl2000a,
+ author = {Zettl, B. and Stanzl-Tschegg, S.},
+ title = {Er\"udungssch\"aden in Aluminiumschaum},
+ booktitle = {Metallsch\"aume},
+ pages = {484--487},
+ year = 2000,
+ editor = {Degischer, H. P.},
+ publisher = {Wiley-VCH},
+ language = {ngerman}
+}
+
+@Article{zettl2000b,
+ author = {Zettl, B. and Stanzl-Tschegg, S.},
+ title = {Erm\"udungssch\"aden in Aluminiumschaum},
+ journal = {Materialwissenschaft und Werkstofftechnik},
+ year = 2000,
+ volume = 31,
+ pages = {484--487},
+ language = {ngerman}
+}
+
+@Book{zhang1989a,
+ author = {Zhang, J.},
+ title = {The Mechanics of Foams and Honeycombs},
+ publisher = {University of Cambridge},
+ year = 1989,
+ language = {english}
+}
+
+@Article{zhou2002a,
+ author = {Zhou, J. and Mercer, C. and Soboyejo, W. O.},
+ title = {An Investigation of the Mictrostructure and Strengh of
+ Open-Cell 6101 Aluminum Foams},
+ journal = {Metallurgical and Materials Transactions A},
+ year = 2002,
+ volume = {33A},
+ pages = {1413--1427},
+ month = {May},
+ language = {english}
+}
+
+@InCollection{ziegler1991a,
+ author = {Ziegler, G.},
+ title = {Engineering Properties of Carbon-Carbon and Ceramic-Matrix
+ Composites},
+ booktitle = {Ceramics and Glasses},
+ pages = {835--844},
+ publisher = {ASM International},
+ year = 1991,
+ editor = {Schneider, Samuel J.},
+ volume = 4,
+ series = {Engineered Materials Handbook},
+ language = {english},
+ isbn = {0-87170-282-7}
+}
+
+@PhdThesis{zorn2002a,
+ author = {Zorn, C.},
+ title = {Plastisch instabile Verformung aufgrund dynamischer
+ Reckalterung und korrelierten Versetzungsgleitens},
+ school = {Mechanik"=Zentrum, TU Braunschweig},
+ year = 2002,
+ type = {Dissertation},
+ language = {ngerman},
+ isbn = {3-920395-45-X}
+}
+
+@PhDThesis{ov-mori-sanchez2002,
+ author = {Mori-S{\'a}nchez, Paula},
+ title = {Densidad electr{\'o}nica y enlace qu{\'\i}mico.
+ {De} la mol{\'e}cula al cristal},
+ year = 2002,
+ month = {Febrero},
+ type = {Tesis Doctoral},
+ school = {Universidad de Oviedo},
+ language = {spanish},
+ url = {http://www.uniovi.es/~quimica.fisica/qcg/pms/tesis.html},
+ }
+
+@MastersThesis{ov-montes2002,
+ author = {Men{\'e}ndez Montes, Jos{\'e} Manuel},
+ title = {Sumas electrost{\'a}ticas en sistemas bidimensionales:
+ Fundamentos, algoritmos y aplicaciones},
+ year = 2002,
+ school = {Universidad de Oviedo},
+ type = {{S}eminario de {I}nvestigaci{\'o}n},
+ note = {Directores: A. Mart{\'\i}n Pend{\'a}s
+ M. A. Blanco y A. Costales Castro},
+ pages = 127,
+ language = {spanish},
+}
+
+@misc{ov-luana2002,
+ author = {Lua{\~n}a, V{\'\i}ctor},
+ booktitle = {Curso de Espectroscop\'{\i}a Molecular 2002},
+ title = {Curso de Espectroscop\'{\i}a Molecular 2002},
+ year = 2002,
+ abstract = {%
+ Conjunto de 166 transparencias en formato PDF creadas para impartir
+ la asignatura Espectroscop\'{\i}a Molecular correspondiente al
+ tercer a\~{n}o de la Licenciatura en Ciencias Qu\'{\i}micas. Estas
+ transparencias, junto con el resto del material docente desarrollado,
+ est\'{a}n disponibles en el servidor web de la Universidad de Oviedo.
+ },
+ url = {http://www.uniovi.es/~quimica.fisica/qcg/asignaturas.html},
+ language = {spanish},
+}
+
+@Book{ov-LG2002,
+ author = {Lua{\~n}a, V{\'\i}ctor
+ and Garc{\'\i}a Fern{\'a}ndez, V. M.
+ and Francisco, E.
+ and Recio, J. M.},
+ title = {Espectroscop\'{\i}a Molecular},
+ year = 2002,
+ publisher = {{S}ervicio de {P}ublicaciones, {U}niversidad de {O}viedo},
+ address = {Oviedo},
+ isbn = {84-8317-273-9},
+ pages = {269+x},
+ note = {269+x p\'{a}gs},
+ language = {spanish},
+}
+
+@Article{ov-PB86,
+ author = {Pueyo, L.
+ and Barandiar{\'a}n, Z.
+ and Fern{\'a}ndez Rodrigo, G.
+ and Fl{\'o}rez, M.
+ and Francisco, E.
+ and Lua{\~n}a, V.
+ and Recio, J. M.
+ and van der Maelen, F. J.
+ and Bermejo, M.
+ and Seijo, L.},
+ title = {Algunos problemas en el c\'{a}lculo de la estructura
+ electr\'{o}nica de iones de transici\'{o}n en redes
+ i\'{o}nicas},
+ journal = {Studia Chemica},
+ year = 1986,
+ volume = 11,
+ pages = {285--301},
+ note = {(Homenaje a Jos\'{e} Antonio Herr\'{a}ez)},
+ language = {spanish},
+}
+
+@Book{plateau1873a,
+ author = {Plateau, Joseph},
+ title = {Statique exp\'erimentale et th\'eorique des liquides},
+ publisher = {Gauthier-Villars},
+ year = 1873,
+ volume = 1,
+ address = {Paris},
+ language = {frenchb}
+}
+
+@Article{voronoi1908a,
+ author = {Vorono\"\i, G.},
+ title = {Nouvelles applications des param\`etres continus \`a la
+ th\'eorie des formes quadratiques},
+ journal = {Journal f\"ur die reine und angewandte Mathematik},
+ year = 1908,
+ volume = 134,
+ pages = {198--312},
+ language = {frenchb}
+}
+
+@InProceedings{BK_2003_GP,
+ author = {Bosk'akh, R'ania and Kazantz'h, D'hmhtra},
+ title = {Ex'aleiyh amfishmi'wn se ousiastikopoihm'ena ep'ijeta kai
+ epirr'hmata},
+ booktitle = {Praktik'a 6ou Diejno'uc Sunedr'iou Ellhnik'hc Glwssolog'iac},
+ year = 2003,
+ month = {Sept'embrioc},
+ organization = {Panepist'hmio thc Kr'hthc},
+ url = {http://www.philology.uoc.gr/conferences/6thICGL/},
+ language = {greek}
+}
+
+@Book{KM2005_GB,
+ editor = {Kla'irhc, Qr'hstoc and Mpampini'wthc, Ge'wrgioc},
+ title = {Grammatik'h thc N'eac Ellhnik'hc: Domoleitourgik'h --
+ Epikoinwniak'h},
+ publisher = {Ellhnik'a Gr'ammata},
+ year = 2005,
+ address = {Aj'hna},
+ language = {greek}
+
+}
+
+@Book{T1995_GB,
+ author = {Tsitsip'hc, L.},
+ title = {Eisagwg'h sthn anjrwpolog'ia thc gl'wssac: Gl'wssa,
+ ideolog'ia, dialogik'othta kai epit'elesh},
+ publisher = {\textlatin{Gutenberg}},
+ year = 1995,
+ address = {Aj'hna},
+ language = {greek}
+}
+
+
+@Article{T1986_GA,
+ author = {Jeofanopo'ulou-Konto'u, D'hmhtra},
+ title = {Ken'ec Kathgor'iec kai Klitik'a sth N'ea Ellhnik'h},
+ journal = {Glwssolog'ia},
+ year = {1986--1987},
+ number = {5--6},
+ language = {greek}
+}
+
+@PhdThesis{M1985_GPHD,
+ author = {Margar'ith, Mari'anna},
+ title = {Fwnologik'h An'alush tou Siatistino'u Idi'wmatoc},
+ school = {Aristot'eleio Panepist'hmio Jessalon'ikhc},
+ year = 1985,
+ language = {greek}
+}
+
+@MastersThesis{W1998_GMA,
+ author = {Wrai'opouloc, Jras'ubouloc},
+ title = {Eisagwg'h sth morfolog'ia thc \textlatin{Navajo}},
+ school = {Panepist'hmio Agr'afwn},
+ year = 1998,
+ language = {greek}
+}
+
+@TechReport{W1999_GTA,
+ author = {Wrai'opouloc, Jras'ubouloc},
+ title = {Eisagwg'h sth s'untaxh thc \textlatin{Navajo}},
+ institution = {Fantasiak'o Ereunhtik'o 'Idruma},
+ year = 1999,
+ language = {greek}
+}
+
+
+@Book{W2003num_GBED,
+ editor = {Wrai'opouloc, Jras'ubouloc},
+ title = {N'eec prosegg'iseic sth s'untaxh thc \textlatin{Navajo}},
+ publisher = {Indi'anika Gr'ammata},
+ year = 2003,
+ edition = 3,
+ address = {Aj'hna},
+ language = {greek}
+}
+
+@misc{K2005_GMMISC,
+ title = {Glwssik'ec Ask'hseic me b'ash to Ep'itomo Lexik'o Kriar'a},
+ year = 2005,
+ url = {http://www.komvos.edu.gr/dictionaries/dictonline/DictOnLineKri.htm},
+ language = {greek},
+}
+
+
+@Article{portuguese,
+ author = {Nobody, N.},
+ title = {Portuguese},
+ journal = {Any},
+ year = 2009,
+ month = jul,
+ language = {portuguese}
+}
+
+@Article{brazilian,
+ author = {Nobody, N.},
+ title = {Brazilian},
+ journal = {Any},
+ year = 2009,
+ month = jul,
+ language = {brazilian}
+}
+
diff --git a/biblio/bibtex/contrib/babelbib/babelbibtest.tex b/biblio/bibtex/contrib/babelbib/babelbibtest.tex
new file mode 100644
index 0000000000..7b4a97919e
--- /dev/null
+++ b/biblio/bibtex/contrib/babelbib/babelbibtest.tex
@@ -0,0 +1,115 @@
+%\documentclass[spanish,ngerman,frenchb,greek,portuguese,brazilian,romanian,swedish,serbian,english]{article}
+%\documentclass[spanish,ngerman,english,frenchb]{article}
+%\documentclass[spanish,frenchb,english,ngerman]{article}
+%\documentclass[frenchb,english,ngerman,spanish]{article}
+\documentclass[greek,brazilian,portuguese,frenchb,english,ngerman,romanian,spanish,czech]{article}
+\usepackage[latin1]{inputenc}
+\usepackage{url}
+\usepackage{babel}
+
+%% Load package with fixed language or flexible language:
+%\usepackage[annote,languagenames]{babelbib}[2003/04/21]
+\usepackage[annote,languagenames,datenumeric,fixlanguage]{babelbib}[2003/04/21]
+
+%% force a fall-back language other than the document's language
+\setbtxfallbacklanguage{ngerman}
+
+%% Switch off to print ISBNs and ISSNs:
+\btxprintISBN{false}
+\btxprintISSN{false}
+
+%% Auto format date strings in 'urldate'
+\IfFileExists{isodate.sty}{%
+ \usepackage[short]{isodate}
+ \setbibliographyfont{urldate}{\printdate}
+}{\typeout{Package isodate not available. Skipping that functionality}}
+
+%% Change font for some parts of the bibliography:
+%\setbibliographyfont{name}{\textsc}
+%\setbibliographyfont{lastname}{\textsc}
+%\setbibliographyfont{title}{\textbf}
+\setbibliographyfont{jtitle}{}
+%\setbibliographyfont{etal}{}
+%\setbibliographyfont{volume}{\textsc}
+\setbibliographyfont{journal}{\emph}
+\setbibliographyfont{numeral}{\textsuperscript}
+
+%% Change language for bibliography when option `fixlanguage' is chosen:
+%\selectbiblanguage{ngerman}
+
+%% Change or add keywords to specific languages:
+%\declarebtxcommands{english}{%
+% \def\btxphdthesis#1{\foreignlanguage{english}{Ph.D.\ thesis}}%
+%}
+%\declarebtxcommands{ngerman}{%
+% \def\btxphdthesis#1{\foreignlanguage{ngerman}{Doktorarbeit}}%
+%}
+\declarebtxcommands{english}{%
+ \def\btxfnamespaceshort{\,}%
+ \def\btxeditionnumerallong#1{%
+ \ifnumber{#1}{%
+ \ifcase#1 0\or first\or second\or third\or forth\or fifth\or
+ sixth\or seventh\or eighth\or nineth\or tenth\else
+ \btxeditionnumeralenglish{english}{#1}%
+ \fi}{#1}}%
+% \def\btxeditionnumerallong#1{\btxeditionnumeralenglish{english}{#1}}%
+ \def\btxurldatecomment#1{ [#1]}%
+}
+
+%% Use the next line to avoid the babamspl style to print out the
+%% language names:
+% \newcommand\btxprintamslanguage[1]{}
+
+%\newcommand\btxprintmonthyear[2]{\ifnumber{#1}{#1/#2}{#1\ #2}}
+\newcommand\btxprintmonthyearasdf[4]{%
+ \ifnumber{#2}{%
+ \ifcase #2 \or
+ \csname btxmonjan#4\endcsname{#1}\or
+ \btxmonfeblong{#1}\or \btxmonmarlong{#1}\or
+ \btxmonaprlong{#1}\or \btxmonmaylong{#1}\or \btxmonjunlong{#1}\or
+ \btxmonjullong{#1}\or \btxmonauglong{#1}\or \btxmonseplong{#1}\or
+ \btxmonoctlong{#1}\or \btxmonnovlong{#1}\or \btxmondeclong{#1}\fi
+ \ #3%
+ }{%
+ #2\ #3}%
+}
+
+\declarebtxcommands{english}{%
+ \def\btxprintmonthyearnum#1#2{#1-#2}%
+}
+
+\begin{document}
+If you change \verb|\usepackage[languagenames,fixlanguage]{babelbib}| to
+\verb|\usepackage[languagenames]{babelbib}|, the
+bibliography will change the language citation-dependent.
+Then, an error will appear at citation in a language that is not yet
+available.
+This is normal and can be avoided by helping me to add that language.
+
+You may change the \verb|\bibliographystyle| line to test all styles.
+
+There are most of the available commands to change anything in the
+source code, but commented out.
+Remove the \%\ in order to see the effects.
+
+\nocite*
+
+%% Choose one BibTeX style:
+%\bibliographystyle{plain}
+%\bibliographystyle{bababbrv}
+%\bibliographystyle{bababbrv-lf}
+%\bibliographystyle{bababbrv-fl}
+\bibliographystyle{babplain}
+%\bibliographystyle{babplain-lf}
+%\bibliographystyle{babplain-fl}
+%\bibliographystyle{babalpha}
+%\bibliographystyle{babunsrt}
+%\bibliographystyle{babamspl}
+
+\bibliography{babelbibtest}
+
+\ifnumber{3}{3/2009}{März 2009}
+
+\ifnumber{März}{3/2009}{März 2009}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/babelbib/getversion.tex b/biblio/bibtex/contrib/babelbib/getversion.tex
new file mode 100644
index 0000000000..1420a53f99
--- /dev/null
+++ b/biblio/bibtex/contrib/babelbib/getversion.tex
@@ -0,0 +1,8 @@
+\documentclass[english]{ltxdoc}
+\nofiles
+\usepackage{babel}
+\usepackage{babelbib}
+\GetFileInfo{babelbib.sty}
+\typeout{VERSION \fileversion}
+\begin{document}
+\end{document}
diff --git a/biblio/bibtex/contrib/babelbib/tugboat-babelbib.pdf b/biblio/bibtex/contrib/babelbib/tugboat-babelbib.pdf
new file mode 100644
index 0000000000..224cf440d8
--- /dev/null
+++ b/biblio/bibtex/contrib/babelbib/tugboat-babelbib.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/bath-bst/Makefile b/biblio/bibtex/contrib/bath-bst/Makefile
new file mode 100644
index 0000000000..63bb81e277
--- /dev/null
+++ b/biblio/bibtex/contrib/bath-bst/Makefile
@@ -0,0 +1,72 @@
+NAME = bath-bst
+BST1 = bath.bst
+BST2 = bathx.bst
+SHELL = bash
+PWD = $(shell pwd)
+TEMP := $(shell mktemp -d -t tmp.XXXXXXXXXX)
+TDIR = $(TEMP)/$(NAME)
+VERS = $(shell ltxfileinfo -v $(NAME).dtx)
+LOCAL = $(shell kpsewhich --var-value TEXMFLOCAL)
+UTREE = $(shell kpsewhich --var-value TEXMFHOME)
+
+.PHONY: source clean distclean inst install uninst uninstall zip ctan
+
+all: $(BST1) $(BST2) $(NAME)-v1.pdf $(NAME).pdf clean
+ @exit 0
+
+source: $(BST1) $(BST2) $(NAME).bib $(NAME)-v1.tex $(NAME)-v1.bib
+
+$(BST1) $(BST2) $(NAME).bib $(NAME)-v1.tex $(NAME)-v1.bib: $(NAME).dtx
+ luatex -interaction=batchmode $(NAME).dtx >/dev/null
+
+$(NAME).pdf: $(NAME).dtx $(BST2) $(NAME).bib
+ latexmk -silent -lualatex -synctex=1 -interaction=batchmode $(NAME).dtx >/dev/null
+ @echo "Compilation of main PDF complete."
+
+$(NAME)-v1.pdf: $(NAME)-v1.tex $(BST1) $(NAME)-v1.bib
+ latexmk -silent -lualatex -synctex=1 -interaction=batchmode $(NAME)-v1.tex >/dev/null
+ @echo "Compilation of test PDF complete."
+
+clean:
+ rm -f $(NAME){,-v1}.{aux,bbl,bcf,blg,doc,fdb_latexmk,fls,glo,gls,hd,idx,ilg,ind,listing,log,nav,out,run.xml,snm,synctex.gz,tcbtemp,toc,vrb}
+ rm -f $(NAME){,-v1}.markdown.in
+ rm -rf _markdown_$(NAME)
+
+distclean: clean
+ rm -f $(NAME).{pdf,bib,ins} $(BST1) $(BST2) $(NAME)-v1.{pdf,bib,tex}
+
+inst: all
+ mkdir -p $(UTREE)/{source,doc}/bibtex/$(NAME)
+ mkdir -p $(UTREE)/bibtex/bst/$(NAME)
+ cp $(NAME).dtx $(NAME).ins $(UTREE)/source/bibtex/$(NAME)
+ cp $(NAME).{bib,pdf} $(NAME)-v1.{pdf,bib,tex} $(UTREE)/doc/bibtex/$(NAME)
+ cp $(BST1) $(BST2) $(UTREE)/bibtex/bst/$(NAME)
+ mktexlsr
+
+uninst:
+ rm -r $(UTREE)/{source,doc}/bibtex/$(NAME)
+ rm -r $(UTREE)/bibtex/bst/$(NAME)
+ mktexlsr
+
+install: all
+ sudo mkdir -p $(LOCAL)/{source,doc}/bibtex/$(NAME)
+ sudo mkdir -p $(LOCAL)/bibtex/bst/$(NAME)
+ sudo cp $(NAME).dtx $(NAME).ins $(LOCAL)/source/bibtex/$(NAME)
+ sudo cp $(NAME).{bib,pdf} $(NAME)-v1.{pdf,bib,tex} $(LOCAL)/doc/bibtex/$(NAME)
+ sudo cp $(BST1) $(BST2) $(LOCAL)/bibtex/bst/$(NAME)
+ mktexlsr
+
+uninstall:
+ sudo rm -r $(LOCAL)/{source,doc}/bibtex/$(NAME)
+ sudo rm -r $(LOCAL)/bibtex/bst/$(NAME)
+ mktexlsr
+
+zip: all
+ mkdir $(TDIR)
+ cp $(NAME).{dtx,bib,pdf} $(NAME)-v1.{pdf,bib,tex} $(BST1) $(BST2) README.md Makefile $(TDIR)
+ cd $(TEMP); zip -Drq $(PWD)/$(NAME)-$(VERS).zip $(NAME)
+
+ctan: all
+ mkdir $(TDIR)
+ cp $(NAME).{dtx,pdf} $(NAME)-v1.pdf README.md Makefile $(TDIR)
+ cd $(TEMP); zip -Drq $(PWD)/$(NAME)-$(VERS).zip $(NAME)
diff --git a/biblio/bibtex/contrib/bath-bst/README.md b/biblio/bibtex/contrib/bath-bst/README.md
new file mode 100644
index 0000000000..cd073944a3
--- /dev/null
+++ b/biblio/bibtex/contrib/bath-bst/README.md
@@ -0,0 +1,111 @@
+# bath-bst: Harvard referencing style as recommended by the University of Bath Library
+
+This package provides a [BibTeX] style to format reference lists in the
+[Harvard style][bath-harvard] recommended by the University of Bath Library.
+It should be used in conjunction with [natbib] for citations.
+
+## Installation
+
+The files you need are included in the zip archive available from [GitHub].
+If you use the zip archive from [CTAN], you will need to run `luatex
+bath-bst.dtx` to generate them.
+
+You can use this style simply by copying the `bath.bst`/`bathx.bst` files into
+your working directory, that is, the directory holding the main `.tex` file for
+your document. If you want the style to be available for all your documents
+without having to copy it over each time, you can install it using the
+instructions below.
+
+### Managed way
+
+The latest stable release of bath-bst has been packaged for TeX Live and
+MiKTeX. If you are running TeX Live and have `tlmgr` installed, you can install
+the package simply by running `tlmgr install bath-bst`. If you are running
+MiKTeX, you can install the package by running `mpm --install=bath-bst`.
+Both `tlmgr` and `mpm` have GUI versions that you might find friendlier.
+
+### Automated way
+
+A makefile is provided which you can use with the Make utility on
+UNIX-like systems:
+
+ * Running `make source` generates the derived files
+ - `README.md`
+ - `bath.bst` and `bathx.bst`
+ - `bath-bst-v1.tex`
+ - `bath-bst.bib` and `bath-bst-v1.bib`
+ - `bath-bst.ins`
+ * Running `make` generates the above files and also `bath-bst.pdf` and
+ `bath-bst-v1.pdf`. Ensure you have (at least) the [luatexja], [adobemapping]
+ and [ipaex] packages installed first.
+ * Running `make inst` installs the files in the user's TeX tree.
+ You can undo this with `make uninst`.
+ * Running `make install` installs the files in the local TeX tree.
+ You can undo this with `make uninstall`.
+
+### Manual way
+
+You do not need to follow the first step if you downloaded the zip archive from
+[GitHub]. You do not need to follow the second step if you already have the PDF
+documentation.
+
+ 1. Run `luatex bath-bst.dtx` to generate the source files.
+
+ 2. Compile `bath-bst.dtx` with [LuaLaTeX] and BibTeX to generate the
+ documentation. You will need, among other things, the [luatexja],
+ [adobemapping] and [ipaex] packages installed; this is just for the
+ documentation, not for the BibTeX style itself. To generate the version 1
+ tests and documentation, compile `bath-bst-v1.tex` with LuaLaTeX and BibTeX.
+
+ 3. If you are using TeX Live, find your home TeX tree using the following
+ command at the command prompt/terminal:
+
+ ```
+ kpsewhich -var-value=TEXMFHOME
+ ```
+
+ If you are using MikTeX, consult the MikTeX manual entry for [integrating
+ local additions](http://docs.miktex.org/manual/localadditions.html). You
+ can use one of the roots (TeX trees) already defined – preferably one of
+ the User roots – or set up a new one.
+
+ 4. Move the files to your TeX tree as follows:
+ - `source/bibtex/bath-bst`:
+ `bath-bst.dtx`,
+ (`bath-bst.ins`)
+ - `bibtex/bst/bath-bst`:
+ `bath.bst`,
+ `bathx.bst`
+ - `doc/bibtex/bath-bst`:
+ `bath-bst.pdf`,
+ `bath-bst-v1.pdf`,
+ `README.md`
+
+ 5. You may then have to update your installation's file name database
+ before TeX and friends can see the files.
+
+[bath-harvard]: https://library.bath.ac.uk/referencing/harvard-bath
+[BibTeX]: http://ctan.org/pkg/bibtex
+[GitHub]: https://github.com/alex-ball/bathbib/releases
+[CTAN]: http://ctan.org/pkg/bath-bst
+[natbib]: http://www.ctan.org/pkg/natbib
+[LuaLaTeX]: http://ctan.org/pkg/lualatex-doc
+[luatexja]: http://ctan.org/pkg/luatexja
+[adobemapping]: http://ctan.org/pkg/adobemapping
+[ipaex]: http://ctan.org/pkg/ipaex
+
+## Licence
+
+Copyright 2016-2018 University of Bath.
+
+This work consists of the documented LaTeX file bath-bst.dtx and a Makefile.
+
+The text files contained in this work may be distributed and/or modified
+under the conditions of the [LaTeX Project Public License (LPPL)][lppl],
+either version 1.3c of this license or (at your option) any later
+version.
+
+This work is ‘maintained’ (as per LPPL maintenance status) by [Alex Ball][me].
+
+[lppl]: http://www.latex-project.org/lppl.txt "LaTeX Project Public License (LPPL)"
+[me]: https://github.com/alex-ball/bathbib "Alex Ball"
diff --git a/biblio/bibtex/contrib/bath-bst/bath-bst-v1.pdf b/biblio/bibtex/contrib/bath-bst/bath-bst-v1.pdf
new file mode 100644
index 0000000000..ce82e8fbfc
--- /dev/null
+++ b/biblio/bibtex/contrib/bath-bst/bath-bst-v1.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/bath-bst/bath-bst.dtx b/biblio/bibtex/contrib/bath-bst/bath-bst.dtx
new file mode 100644
index 0000000000..1c1560d008
--- /dev/null
+++ b/biblio/bibtex/contrib/bath-bst/bath-bst.dtx
@@ -0,0 +1,6094 @@
+% \iffalse meta-comment
+%<*internal>
+\iffalse
+%</internal>
+%<*bst1|bst2>
+%</bst1|bst2>
+%<*readme>
+# bath-bst: Harvard referencing style as recommended by the University of Bath Library
+%</readme>
+%<*internal>
+\fi
+\def\nameofplainTeX{plain}
+\ifx\fmtname\nameofplainTeX\else
+ \expandafter\begingroup
+\fi
+%</internal>
+%<*install>
+\input docstrip.tex
+\keepsilent
+\askforoverwritefalse
+
+\nopreamble\nopostamble
+
+\usedir{doc/bibtex/\jobname}
+\generate{
+ \file{README.md}{\from{\jobname.dtx}{readme}}
+ \file{\jobname.bib}{\from{\jobname.dtx}{bib}}
+}
+
+\preamble
+----------------------------------------------------------------
+bath-bst --- Harvard referencing style as recommended by the University of Bath Library
+Author: Alex Ball
+E-mail: a.j.ball@bath.ac.uk
+License: Released under the LaTeX Project Public License v1.3c or later
+See: http://www.latex-project.org/lppl.txt
+----------------------------------------------------------------
+
+\endpreamble
+\postamble
+
+Copyright (C) 2019 by University of Bath
+\endpostamble
+
+\usedir{bibtex/bst/\jobname}
+\generate{
+ \file{bath.bst}{\from{\jobname.dtx}{bst1}}
+ \file{bathx.bst}{\from{\jobname.dtx}{bst2}}
+}
+%</install>
+%<install>\endbatchfile
+%<*internal>
+\usedir{source/bibtex/\jobname}
+\generate{
+ \file{\jobname.ins}{\from{\jobname.dtx}{install}}
+}
+\usedir{doc/bibtex/\jobname}
+\generate{
+ \file{bath-bst-v1.tex}{\from{\jobname.dtx}{tex1}}
+}
+\nopreamble\nopostamble
+\generate{
+ \file{bath-bst.bib}{\from{\jobname.dtx}{bib}}
+ \file{bath-bst-v1.bib}{\from{\jobname.dtx}{bib1}}
+}
+\ifx\fmtname\nameofplainTeX
+ \expandafter\endbatchfile
+\else
+ \expandafter\endgroup
+\fi
+%</internal>
+%<tex1>\ProvidesFile{bath-bst-v1.tex}
+%<*driver>
+\ProvidesFile{bath-bst.dtx}
+%</driver>
+%<*driver|tex1>
+ [2019/07/10 v3.0 Harvard referencing style as recommended by the University of Bath Library]
+
+\documentclass[10pt,a4paper]{article}
+\usepackage[british]{babel}
+\usepackage[hmargin=3cm,vmargin=2.5cm]{geometry}
+\frenchspacing
+
+% For typesetting the CJK example
+
+\usepackage{iftex}
+\ifPDFTeX
+ \usepackage{CJKutf8}
+\else
+ \ifLuaTeX
+ \usepackage{luatexja-fontspec}
+ \setmainjfont{IPAexGothic}
+ \else
+ \ifXeTeX
+ \usepackage{ctex}
+ \fi
+ \fi
+\fi
+
+% For typesetting the examples
+
+\usepackage{xpatch,csquotes,xcolor,xparse,multicol,fancyvrb}
+\xdefinecolor{Green}{rgb}{0,.5,0}
+\xdefinecolor{Slate}{RGB}{80,86,94}
+\xdefinecolor{BathStone}{RGB}{213,211,185}
+\colorlet{ok}{Green}
+\colorlet{todo}{red}
+\colorlet{hacked}{orange}
+\colorlet{manual}{purple}
+\RecustomVerbatimEnvironment
+ {Verbatim}{Verbatim}
+ {commentchar=\%}
+
+\usepackage[tightLists=false]{markdown}
+\markdownSetup{rendererPrototypes={%
+ link = {\href{#3}{#1}}%
+}}
+
+\usepackage{fontawesome}[2015/07/07]
+\newcommand{\booksym}{\makebox[1em][c]{\faicon{book}}}
+\newcommand{\cogsym}{\makebox[1em][c]{\faicon{cog}}}
+\makeatletter
+\newcommand{\hangfrom}[1]{%
+ \setbox\@tempboxa\hbox{{#1}}%
+ \hangindent \wd\@tempboxa\noindent\box\@tempboxa}
+\makeatother
+\newenvironment{tips}{%
+ \begin{list}{\makebox[2em][c]{\faLightbulbO}}{%
+ \setlength{\leftmargin}{2em}
+ \setlength{\labelwidth}{2em}
+ \setlength{\labelsep}{0pt}}
+}{\end{list}}
+\newenvironment{info}{%
+ \begin{list}{\makebox[2em][c]{\faInfoCircle}}{%
+ \setlength{\leftmargin}{2em}
+ \setlength{\labelwidth}{2em}
+ \setlength{\labelsep}{0pt}}
+}{\end{list}}
+\newenvironment{hacks}{%
+ \begin{list}{\makebox[2em][c]{\faWrench}}{%
+ \setlength{\leftmargin}{2em}
+ \setlength{\labelwidth}{2em}
+ \setlength{\labelsep}{0pt}}
+}{\end{list}}
+
+\usepackage{tcolorbox}
+\tcbuselibrary{listings,breakable,skins,xparse}
+\colorlet{Option}{violet}
+\newcommand*{\key}[1]{\textcolor{Option}{\ttfamily #1}}
+\lstdefinelanguage{bafll}%
+ { alsoletter={.}
+ , morekeywords=[2]%
+ { add.period$
+ , call.type$
+ , change.case$
+ , chr.to.int$
+ , cite$
+ , duplicate$
+ , empty$
+ , format.name$
+ , global.max$
+ , if$
+ , int.to.chr$
+ , int.to.str$
+ , missing$
+ , newline$
+ , num.names$
+ , pop$
+ , preamble$
+ , purify$
+ , quote$
+ , skip$
+ , sort.key$
+ , stack$
+ , substring$
+ , swap$
+ , text.length$
+ , text.prefix$
+ , top$
+ , type$
+ , warning$
+ , while$
+ , width$
+ , write$
+ }
+ , morekeywords=[3]%
+ { ENTRY
+ , INTEGERS
+ , STRINGS
+ , MACRO
+ , FUNCTION
+ , READ
+ , EXECUTE
+ , ITERATE
+ , SORT
+ , REVERSE
+ }
+ , morekeywords=[1]{}
+ , otherkeywords=%
+ { +
+ , -
+ , >
+ , <
+ , =
+ , *
+ , :=
+ }
+ , sensitive=true
+ , morestring=[b]"
+ , morecomment=[l]\%
+ }[keywords,strings,comments]
+\lstloadlanguages{[LaTeX]TeX,bafll}
+\lstdefinestyle{dtxlatex}%
+ { columns=fullflexible
+ , basicstyle=\ttfamily
+ , language={[LaTeX]TeX}
+ , texcsstyle=*\color{red!75!black}
+ , commentstyle=\color{gray}\itshape
+ , moretexcs=
+ { citet
+ , citep
+ , defcitealias
+ , citepalias
+ , citetalias
+ , noop
+ , urlprefix
+ , urldateprefix
+ }
+ , moredelim=**[s][\color{violet}]{[}{]}
+ , moredelim=**[s][\color{blue!75!black}]{\{}{\}}
+ }
+\lstdefinestyle{dtxbst}%
+ { columns=fullflexible
+ , basicstyle=\ttfamily
+ , language=bafll
+ , keywordstyle=[1]\color{orange!75!black}
+ , keywordstyle=[2]\color{red!75!black}
+ , keywordstyle=[3]\color{green!50!black}
+ , commentstyle=\color{gray}\itshape
+ , stringstyle=\color{violet}
+ , mathescape=false
+ , showstringspaces=false
+ }
+\lstset{style=dtxlatex}
+\tcbset
+ { colframe = Slate
+ , colback = BathStone!25
+ , listing options =
+ { style = tcblatex
+ , style = dtxlatex
+ , basicstyle=\ttfamily\small
+ }
+ }
+\NewTColorBox{bibexbox}{D(){ok}d<>m}%
+ {bicolor
+ ,colframe = #1
+ ,colback = #1!5!white
+ ,colbacklower = white
+ ,fontlower = \footnotesize
+ ,before upper = {\hangfrom{\booksym\space}}
+ ,after upper = {\par\hangfrom{\cogsym\space}\bibentry{#3}.}
+ ,IfNoValueTF={#2}{}%
+ {overlay = {
+ \node[anchor=south east,text=teal] at (frame.south east) {#2};
+ }
+ }
+ }
+%</driver|tex1>
+%<*driver>
+% For typesetting the implementation
+\usepackage{doc}
+\makeatletter
+\newwrite\ydocwrite
+\def\ydocfname{\jobname.listing}
+\def\ydoc@catcodes{%
+ \let\do\@makeother
+ \dospecials
+ \catcode`\\=\active
+ \catcode`\^^M=\active
+ \catcode`\ =\active
+}
+\def\macrocode{%
+ \begingroup
+ \ydoc@catcodes
+ \macro@code
+}
+\def\endmacrocode{}
+\begingroup
+\endlinechar\m@ne
+\@firstofone{%
+\catcode`\|=0\relax
+\catcode`\(=1\relax
+\catcode`\)=2\relax
+\catcode`\*=14\relax
+\catcode`\{=12\relax
+\catcode`\}=12\relax
+\catcode`\ =12\relax
+\catcode`\%=12\relax
+\catcode`\\=\active
+\catcode`\^^M=\active
+\catcode`\ =\active
+}*
+|gdef|macro@code#1^^M% \end{macrocode}(*
+|endgroup|expandafter|macro@@code|expandafter(|ydoc@removeline#1|noexpand|lastlinemacro)*
+)*
+|gdef|ydoc@removeline#1^^M(|noexpand|firstlinemacro)*
+|gdef|ydoc@defspecialmacros(*
+|def^^M(|noexpand|newlinemacro)*
+|def (|noexpand|spacemacro)*
+|def\(|noexpand|bslashmacro)*
+)*
+|gdef|ydoc@defrevspecialmacros(*
+|def|newlinemacro(|noexpand^^M)*
+|def|spacemacro(|noexpand )*
+|def|bslashmacro(|noexpand\)*
+)*
+|endgroup
+\def\macro@@code#1{%
+ {\ydoc@defspecialmacros
+ \xdef\themacrocode{#1}}%
+ \PrintMacroCode
+ \end{macrocode}%
+}
+\def\PrintMacroCode{%
+ \begingroup
+ \let\firstlinemacro\empty
+ \let\lastlinemacro\empty
+ \def\newlinemacro{^^J}%
+ \let\bslashmacro\bslash
+ \let\spacemacro\space
+ \immediate\openout\ydocwrite=\ydocfname\relax
+ \immediate\write\ydocwrite{\themacrocode}%
+ \immediate\closeout\ydocwrite
+ \let\input\@input
+ \tcbinputlisting{enhanced,breakable,size=small,listing only,listing file=\ydocfname}%
+ \endgroup
+}
+\makeatother
+%</driver>
+%<*driver|tex1>
+
+% Documentation
+
+\usepackage{natbib}
+\newcommand*{\urlprefix}{Available from: }
+\newcommand*{\urldateprefix}{Accessed }
+
+\usepackage{bibentry}
+%<*driver>
+\bibliographystyle{bathx}
+%</driver>
+%<tex1>\bibliographystyle{bath}
+\nobibliography*
+
+\usepackage{readprov}
+\usepackage[british,cleanlook]{isodate}
+
+\usepackage[colorlinks,citecolor=black]{hyperref}
+\makeatletter
+\Urlmuskip=0mu plus 3mu\relax
+\mathchardef\UrlBigBreakPenalty=100\relax
+\mathchardef\UrlBreakPenalty=200\relax
+\def\UrlBigBreaks{\do\:\do\-}%
+\def\UrlBreaks{%
+ \do\.\do\@\do\/\do\\\do\!\do\_\do\|\do\;\do\>\do\]\do\)\do\}%
+ \do\,\do\?\do\'\do\+\do\=\do\#\do\$\do\&\do\*\do\^\do\"}%
+\let\do=\noexpand
+\makeatother
+
+\sloppy
+
+\title{bath-bst: Harvard referencing style as recommended by the University of Bath Library}
+\author{%
+ Maintainer: Alex Ball\thanks{%
+ To contact the maintainer about this package, please visit the repository
+ where the code is hosted: \url{https://github.com/alex-ball/bathbib}.%
+ }%
+}
+%<*driver>
+\date{Package \UseVersionOf{bath-bst.dtx} --\printdateTeX{\UseDateOf{bath-bst.dtx}}}
+%</driver>
+%<tex1>\date{Package \UseVersionOf{\jobname.tex} --\printdateTeX{\UseDateOf{\jobname.tex}}}
+
+\begin{document}
+\maketitle
+
+\section{Introduction}
+
+%</driver|tex1>
+%<*driver>
+\begin{markdown*}{hybrid=true}
+%</driver>
+%<*driver|readme>
+
+This package provides a [BibTeX] style to format reference lists in the
+[Harvard style][bath-harvard] recommended by the University of Bath Library.
+It should be used in conjunction with [natbib] for citations.
+
+## Installation
+
+The files you need are included in the zip archive available from [GitHub].
+If you use the zip archive from [CTAN], you will need to run `luatex
+bath-bst.dtx` to generate them.
+
+You can use this style simply by copying the `bath.bst`/`bathx.bst` files into
+your working directory, that is, the directory holding the main `.tex` file for
+your document. If you want the style to be available for all your documents
+without having to copy it over each time, you can install it using the
+instructions below.
+
+### Managed way
+
+The latest stable release of bath-bst has been packaged for TeX Live and
+MiKTeX. If you are running TeX Live and have `tlmgr` installed, you can install
+the package simply by running `tlmgr install bath-bst`. If you are running
+MiKTeX, you can install the package by running `mpm --install=bath-bst`.
+Both `tlmgr` and `mpm` have GUI versions that you might find friendlier.
+
+### Automated way
+
+A makefile is provided which you can use with the Make utility on
+UNIX-like systems:
+
+ * Running `make source` generates the derived files
+ - `README.md`
+ - `bath.bst` and `bathx.bst`
+ - `bath-bst-v1.tex`
+ - `bath-bst.bib` and `bath-bst-v1.bib`
+ - `bath-bst.ins`
+ * Running `make` generates the above files and also `bath-bst.pdf` and
+ `bath-bst-v1.pdf`. Ensure you have (at least) the [luatexja], [adobemapping]
+ and [ipaex] packages installed first.
+ * Running `make inst` installs the files in the user's TeX tree.
+ You can undo this with `make uninst`.
+ * Running `make install` installs the files in the local TeX tree.
+ You can undo this with `make uninstall`.
+
+### Manual way
+
+You do not need to follow the first step if you downloaded the zip archive from
+[GitHub]. You do not need to follow the second step if you already have the PDF
+documentation.
+
+ 1. Run `luatex bath-bst.dtx` to generate the source files.
+
+ 2. Compile `bath-bst.dtx` with [LuaLaTeX] and BibTeX to generate the
+ documentation. You will need, among other things, the [luatexja],
+ [adobemapping] and [ipaex] packages installed; this is just for the
+ documentation, not for the BibTeX style itself. To generate the version 1
+ tests and documentation, compile `bath-bst-v1.tex` with LuaLaTeX and BibTeX.
+
+ 3. If you are using TeX Live, find your home TeX tree using the following
+ command at the command prompt/terminal:
+
+ ```
+ kpsewhich -var-value=TEXMFHOME
+ ```
+
+ If you are using MikTeX, consult the MikTeX manual entry for [integrating
+ local additions](http://docs.miktex.org/manual/localadditions.html). You
+ can use one of the roots (TeX trees) already defined – preferably one of
+ the User roots – or set up a new one.
+
+ 4. Move the files to your TeX tree as follows:
+ - `source/bibtex/bath-bst`:
+ `bath-bst.dtx`,
+ (`bath-bst.ins`)
+ - `bibtex/bst/bath-bst`:
+ `bath.bst`,
+ `bathx.bst`
+ - `doc/bibtex/bath-bst`:
+ `bath-bst.pdf`,
+ `bath-bst-v1.pdf`,
+ `README.md`
+
+ 5. You may then have to update your installation's file name database
+ before TeX and friends can see the files.
+
+[bath-harvard]: https://library.bath.ac.uk/referencing/harvard-bath
+[BibTeX]: http://ctan.org/pkg/bibtex
+[GitHub]: https://github.com/alex-ball/bathbib/releases
+[CTAN]: http://ctan.org/pkg/bath-bst
+[natbib]: http://www.ctan.org/pkg/natbib
+[LuaLaTeX]: http://ctan.org/pkg/lualatex-doc
+[luatexja]: http://ctan.org/pkg/luatexja
+[adobemapping]: http://ctan.org/pkg/adobemapping
+[ipaex]: http://ctan.org/pkg/ipaex
+%</driver|readme>
+%<*driver>
+\end{markdown*}
+
+\section{Choosing which variant to use}
+%</driver>
+%<*driver|tex1>
+
+The data model offered by the standard Bib\TeX\ styles, and even the extended
+\textsf{natbib} variants, is not really rich enough to support the nuances of
+the Harvard (Bath) style. This means design decisions have to be made about
+whether to attempt some level of compatibility with other styles or craft
+something utterly unique.
+
+In the first version of \textsf{bath-bst}, the intention was to set things up
+so that, if the same \texttt{.bib} file was used with a different style, the features
+peculiar to the Harvard (Bath) style would be ignored and the remaining
+information would come out in a sensible arrangement. The recommendations of
+the style's documentation were to use the standard entry types as much as
+possible (though more semantic aliases were provided), and minimal new fields
+were introduced. For the more exotic (in Bib\TeX\ terms) demands of the style,
+extensive use was made of the (standard) \texttt{note} and (non-standard)
+\texttt{titleaddon} fields to place information properly. If you have written
+a \texttt{.bib} file according the principles in that first version, the \texttt{bath}
+style will still work as advertised for you.
+
+The second version introduced a new variant, \texttt{bathx} (`Bath extended'),
+which has a different aim. The idea with this one is that \texttt{.bib} files written
+for this style will be rendered just the same by the companion
+\textsf{biblatex-bath} style. Where possible, features from the latter have
+been emulated for Bib\TeX; otherwise, the `cheats' used in this style will
+also work under \textsf{biblatex}.
+
+Happily, it has been possible to do this while keeping most of the code in
+common. The main differences between two versions are as follows:
+
+\begin{itemize}
+\item
+ In \texttt{bath}, the \texttt{titleaddon} field is printed bare, while
+ in \texttt{bathx} it is wrapped in square brackets.
+\item
+ In \texttt{bathx} online items are marked with `[Online]' automatically,
+ while in \texttt{bath} you have to mark them thus yourself.
+\item
+ In \texttt{bathx} undated items are marked with `n.d.' automatically,
+ while in \texttt{bath} you have to give `n.d.' as the value of \texttt{year}
+ yourself.
+\end{itemize}
+
+One other change worth noting regards URL access dates. In version 1, the
+advice was to put them in \texttt{urldate}. With version 2 the advice is now
+to put them, perhaps counter-intuitively, in \texttt{urlyear}. The reason is that
+\textsf{biblatex} will complain if the value of \texttt{urldate} is in the wrong
+format, but will happily print the contents of \texttt{urlyear} literally. If
+you don't care about \textsf{biblatex} compatibility, you can continue to use
+\texttt{urldate}.
+
+%<*driver>
+\iffalse
+%</driver>
+%<*tex1>
+This document provides a suite of examples that demonstrate and test the
+bibliography format that was recommended for version 1.0 of the style.
+%</tex1>
+%<*driver>
+\fi
+%</driver>
+
+
+\section{Using the style}
+
+To use the style, add these lines to your preamble:
+
+%<*driver>
+\begin{tcblisting}{listing only}
+\usepackage{natbib}
+\newcommand*{\urlprefix}{Available from: }
+\newcommand*{\urldateprefix}{Accessed }
+\bibliographystyle{bathx}
+\end{tcblisting}
+\iffalse
+%</driver>
+%<*tex1>
+\begin{tcblisting}{listing only}
+\usepackage{natbib}
+\newcommand*{\urlprefix}{Available from: }
+\newcommand*{\urldateprefix}{Accessed }
+\bibliographystyle{bath}
+\end{tcblisting}
+%</tex1>
+%<*driver>
+\fi
+%</driver>
+
+Remember also to specify your \texttt{.bib} file at the end of the document:
+
+\begin{tcblisting}{listing only}
+\bibliography{file}
+\end{tcblisting}
+
+To make a citation in the text, use the key that corresponds to the entry in your \texttt{.bib} file:
+
+\begin{tcblisting}{}
+While collections can be supplemented by other means \citep{williams1997edd},
+the absence of an invisible collection amongst historians is noted by
+\citet[p.556]{stieg1981inh}. It may be, as \citet{burchard1965hhl} points out,
+that they have no assistants or are reluctant to delegate, or it may be
+down to economic factors \citep{adams2009tc1, adams2014tc2, gb.pa2014,
+adams2017tc3}\dots
+\end{tcblisting}
+
+Please refer to the documentation for \href{http://www.ctan.org/pkg/natbib}{\textsf{natbib}}
+for the full range of commands available for in-text citations. Be aware that the
+\textsf{natbib} option \texttt{sort} will sort citations in bibliography order,
+rather than the chronological order demanded by Harvard (Bath) -- so don't use it!
+
+\subsection{Migrating from version 2 to version 3}
+
+If you have previously used version 2 of the style, you may need to update your
+.bib file to accommodate the following changes in version 3:
+
+\begin{itemize}
+\item
+ Journal titles are now coerced to sentence case, so any capital letters you
+ want to keep need to be protected with braces.
+\item
+ Entries of type \texttt{unpublished} are now marked as unpublished. If you
+ have been using this for an item that should not be marked as unpublished
+ (e.g.~archive photographs, law reports), you can use \texttt{booklet} instead:
+ this is the other entry type (along with \texttt{misc}) that has a
+ \texttt{howpublished} field instead of a \texttt{publisher}.
+%<tex1> Other entry types may work as well; indeed, some examples below have been updated to use \texttt{manual} or \texttt{report} instead.
+\item
+ Some changes to the Harvard (Bath) style cannot be applied automatically
+ (e.g.~the update to how standards are referenced), so you may need to update
+ your .bib file accordingly.
+\end{itemize}
+
+
+\section{Examples}
+
+The examples below are shown in three parts.
+The first, marked with \faBook, shows an extract from the
+\href{https://library.bath.ac.uk/referencing/harvard-bath}{\emph{Referencing guide: Harvard Bath}} or
+\href{https://library.bath.ac.uk/images/referencing}{\emph{Referencing images}}.
+The second, marked with \faCog, shows the reference as formatted by Bib\TeX.
+The last shows how the reference was entered in the \texttt{.bib} file.
+The bottom right corner shows the source of the example: `RX' indicates the `Reference examples (A-Z)' section of the Guide; `RL' indicates the `Organise a reference list' section of the Guide; `RI' indicates \emph{Referencing images}.
+
+Some examples are highlighted in
+\tcbox[colframe=hacked,colback=hacked!5!white,nobeforeafter,size=fbox,tcbox raise base]{orange}.
+This indicates that some fields have been `abused' to achieve the right effect;
+in other words, they contain information that does not conform with their intended use.
+Some others make use of the \texttt{note} and \texttt{titleaddon} fields to achieve
+the right effect, where other styles might need the information placed differently.
+Particular care should be taken with such items when switching between different styles,
+though of course any item might need adjustment to take account of differing conventions.
+
+
+\subsection{Books and book chapters}
+
+\subsubsection*{Book with author(s)}
+
+\begin{bibexbox}<RX>{rang.etal2012rdp}
+ Rang, H.P., Dale, M.M., Ritter, J.M., Flower, R.J. and Henderson, G., 2012. \emph{Rang and Dale's pharmacology}. 7th ed. Edinburgh:\@ Elsevier Churchill Livingstone.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib|tex1|bib1>
+@book{rang.etal2012rdp,
+ author = {Rang, H. P. and Dale, M. M. and Ritter, J. M. and Flower, R. J. and Henderson, G.},
+ year = {2012},
+ title = {Rang and {Dale's} Pharmacology},
+ edition = {7},
+ address = {Edinburgh},
+ publisher = {Elsevier Churchill Livingstone}}
+%</driver|bib|tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+\end{bibexbox}
+
+\begin{bibexbox}<RX>{ou1972em}
+ Open University, 1972. \emph{Electricity and magnetism}. Bletchley:\@ Open University Press.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib|tex1|bib1>
+@book{ou1972em,
+ author = {{Open University}},
+ year = {1972},
+ title = {Electricity and Magnetism},
+ address = {Bletchley},
+ publisher = {Open University Press}}
+%</driver|bib|tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+\end{bibexbox}
+
+
+\subsubsection*{Book with editor(s) instead of author(s)}
+
+\begin{bibexbox}<RX>{rothman.etal2008me}
+ Rothman, K.J., Greenland, S. and Lash, T.L., eds, 2008. \emph{Modern epidemiology}. 3rd ed. Philadelphia, Pa.:\@ Lippincott Williams \& Wilkins.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib|tex1|bib1>
+@book{rothman.etal2008me,
+ editor = {Kenneth J. Rothman and Sander Greenland and Timothy L. Lash},
+ year = {2008},
+ title = {Modern Epidemiology},
+ edition = {3},
+ address = {Philadelphia, Pa.},
+ publisher = {Lippincott Williams \& Wilkins}}
+%</driver|bib|tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+\end{bibexbox}
+
+
+\subsubsection*{Electronic book}
+
+\begin{bibexbox}<RX>{haynes2014crc}
+ Haynes, W.M., ed.\@, 2014. \emph{CRC handbook of chemistry and physics} [Online]. 94th ed. Boca Raton, Fla.:\@ CRC Press/Taylor and Francis. Available from:\@ \url{http://www.hbcpnetbase.com} [Accessed 16 June 2016].
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@book{haynes2014crc,
+ editor = {Haynes, W. M.},
+ year = {2014},
+ title = {{CRC} Handbook of Chemistry and Physics},
+ edition = {94},
+ address = {Boca Raton, Fla.},
+ publisher = {CRC Press/Taylor and Francis},
+ url = {http://www.hbcpnetbase.com},
+ urlyear = {16 June 2016}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@book{haynes2014crc,
+ editor = {Haynes, W. M.},
+ year = {2014},
+ title = {{CRC} Handbook of Chemistry and Physics},
+ titleaddon = {[Online]},
+ edition = {94},
+ address = {Boca Raton, Fla.},
+ publisher = {CRC Press/Taylor and Francis},
+ url = {http://www.hbcpnetbase.com},
+ urldate = {16 June 2016}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+\begin{bibexbox}<RX>{hodds2016re}
+ Hodds, J., 2016. \emph{Referencing ebooks} [Kindle version 4.18]. Bath:\@ University of Bath.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@book{hodds2016re,
+ author = {Hodds, J.},
+ year = {2016},
+ title = {Referencing ebooks},
+ titleaddon = {Kindle version 4.18},
+ address = {Bath},
+ publisher = {University of Bath}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@book{hodds2016re,
+ author = {Hodds, J.},
+ year = {2016},
+ title = {Referencing ebooks},
+ titleaddon = {[Kindle version 4.18]},
+ address = {Bath},
+ publisher = {University of Bath}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+
+\subsubsection*{One chapter\slash paper from a collection (by different authors) in an edited book}
+
+\begin{bibexbox}<RL>{burchard1965hhl}
+ Burchard, J.E., 1965. How humanists use a library. In:\@ C.F.J. Overhage and J.R. Harman, eds. \emph{Intrex:\@ report on a planning conference and information transfer experiments}. Cambridge, Mass.:\@ MIT Press, pp.41--87.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib|tex1|bib1>
+@incollection{burchard1965hhl,
+ author = {Burchard, J. E.},
+ year = {1965},
+ title = {How Humanists use a Library},
+ editor = {C. F. J. Overhage and J. R. Harman},
+ booktitle = {Intrex: report on a planning conference and information transfer experiments},
+ address = {Cambridge, Mass.},
+ publisher = {MIT Press},
+ pages = {41-87}}
+%</driver|bib|tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+\end{bibexbox}
+
+\begin{bibexbox}<RX>{reid1967ptp}
+ Reid, D.R., 1967. Physical testing of polymer films. In:\@ S.H. Pinner, ed. \emph{Modern packaging films}. London:\@ Butterworths, pp.143--183.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib|tex1|bib1>
+@incollection{reid1967ptp,
+ author = {D. R. Reid},
+ year = {1967},
+ title = {Physical Testing of Polymer Films},
+ editor = {S. H. Pinner},
+ booktitle = {Modern Packaging Films},
+ address = {London},
+ publisher = {Butterworths},
+ pages = {143-183}}
+%</driver|bib|tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+\end{bibexbox}
+
+
+\subsection{Articles and periodicals}
+
+\subsubsection*{Journal article}
+
+\begin{bibexbox}<RL>{stieg1981cer}
+ Stieg, M.F., 1981a. Continuing education and the reference librarian in the academic and research library. \emph{Library journal}, 105(22), pp.2547--2551.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib|tex1|bib1>
+@article{stieg1981cer,
+ author = {Stieg, M. F.},
+ year = {1981},
+ title = {Continuing Education and the Reference Librarian in the Academic and Research Library},
+ journal = {Library Journal},
+ volume = {105},
+ number ={22},
+ pages = {2547-2551}}
+%</driver|bib|tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+\end{bibexbox}
+
+\begin{bibexbox}<RL>{stieg1981inh}
+ Stieg, M.F., 1981b. The information needs of historians. \emph{College and research libraries}, 42(6), pp.549--560.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib|tex1|bib1>
+@article{stieg1981inh,
+ author = {Stieg, M. F.},
+ year = {1981},
+ title = {The Information Needs of Historians},
+ journal = {College and Research Libraries},
+ volume = {42},
+ number ={6},
+ pages = {549-560}}
+%</driver|bib|tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+\end{bibexbox}
+
+\begin{bibexbox}<RX>{newman2010mcb}
+ Newman, R., 2010. Malaria control beyond 2010. \emph{Brit.\@ Med.\@ J.}, 341(7765), pp.157--208.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib|tex1|bib1>
+@article{newman2010mcb,
+ author = {Newman, R.},
+ year = {2010},
+ title = {Malaria control beyond 2010},
+ journal = {{Brit.\@ Med.\@ J.}},
+ volume = {341},
+ number = {7765},
+ pages = {157-208}}
+%</driver|bib|tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+\end{bibexbox}
+
+
+\subsubsection*{Electronic journal article}
+
+\begin{bibexbox}<RX>{williams1997edd}
+ Williams, F., 1997. Electronic document delivery:\@ a trial in an academic library. \emph{Ariadne} [Online], 10. Available from:\@ \url{http://www.ariadne.ac.uk/issue10/edd/} [Accessed 5 December 1997].
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@article{williams1997edd,
+ author = {Williams, F.},
+ year = {1997},
+ title = {Electronic Document Delivery: a Trial in an Academic Library},
+ journal = {Ariadne},
+ volume = {10},
+ url = {http://www.ariadne.ac.uk/issue10/edd/},
+ urlyear = {5 December 1997}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@article{williams1997edd,
+ author = {Williams, F.},
+ year = {1997},
+ title = {Electronic Document Delivery: a Trial in an Academic Library},
+ journal = {Ariadne \textup{[Online]}},
+ volume = {10},
+ url = {http://www.ariadne.ac.uk/issue10/edd/},
+ urldate = {5 December 1997}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+%<*driver>
+\iffalse
+%</driver>
+%<*tex1>
+\begin{hacks}
+\item With most styles, you would put `in press' or `preprint' as the
+ \texttt{year} for articles that have yet to be officially published, but for
+ this style you need to put it in \texttt{volume}. If you would rather lose
+ this information when switching to a different style than have it incorrectly
+ placed, you can use the \texttt{pubstate} field from \textsf{biblatex}
+ instead. Use the keyword \texttt{inpress} for `in press' and
+ \texttt{inpreparation} or \texttt{submitted} (whichever is more accurate) for
+ `preprint'.
+
+\begin{tcolorbox}%
+ [ colframe = Slate
+ , colback = white
+ , fontupper = \footnotesize
+ ]
+ \begin{Verbatim}
+ pubstate = {inpress},
+ \end{Verbatim}
+\end{tcolorbox}
+\end{hacks}
+
+%</tex1>
+%<*driver>
+\fi
+\begin{tips}
+\item
+If citing an article yet to be officially published, use the \texttt{pubstate}
+field (from \textsf{biblatex}) with the keyword \texttt{inpress} for `in press'
+and \texttt{inpreparation} or \texttt{submitted} (whichever is more accurate)
+for `preprint'.
+\end{tips}
+
+\begin{bibexbox}<RX>{liontou.etal2019dra}
+%</driver>
+%<tex1>\begin{bibexbox}(hacked)<RX>{liontou.etal2019dra}
+ Liontou, C., Kontopodis, E., Oikonomidis, N., Maniotis, C., Tassopoulos, A., Tsiafoutis, I., Lazaris, E. and Koutouzis, M., 2019. Distal radial access:\@ a review article. \emph{Cardiovascular revascularization medicine} [Online], in press. Available from: \url{https://www.sciencedirect.com/science/article/pii/S1553838919303367} [Accessed 19 June 2019].
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@article{liontou.etal2019dra,
+ author = {Liontou, C. and Kontopodis, E. and Oikonomidis, N. and Maniotis, C. and
+ Tassopoulos, A. and Tsiafoutis, I. and Lazaris, E. and Koutouzis, M.},
+ year = {2019},
+ title = {Distal Radial Access: a Review Article},
+ journal = {Cardiovascular Revascularization Medicine},
+ pubstate = {inpress},
+ url = {https://www.sciencedirect.com/science/article/pii/S1553838919303367},
+ urlyear = {19 June 2019}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@article{liontou.etal2019dra,
+ author = {Liontou, C. and Kontopodis, E. and Oikonomidis, N. and Maniotis, C. and
+ Tassopoulos, A. and Tsiafoutis, I. and Lazaris, E. and Koutouzis, M.},
+ year = {2019},
+ title = {Distal Radial Access: a Review Article},
+ journal = {Cardiovascular revascularization medicine \textup{[Online]}},
+ volume = {in press},
+ url = {https://www.sciencedirect.com/science/article/pii/S1553838919303367},
+ urldate = {19 June 2019}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+
+\subsubsection*{Preprint in a digital repository}
+
+\begin{tips}
+\item
+The Harvard (Bath) style gives you a choice whether to treat preprints as
+pre-publication articles (above) or as grey literature (below). In the latter
+case, the \texttt{techreport} entry type is the best match semantically.
+\end{tips}
+
+\begin{bibexbox}<RX>{shah.corrick2016hsc}
+ Shah, I. and Corrick, I., 2016. \emph{How should central banks respond to non-neutral inflation expectations?} Bath:\@ University of Bath. \emph{OPUS} [Online]. Available from:\@ \url{http://opus.bath.ac.uk} [Accessed 4 May 2016].
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@techreport{shah.corrick2016hsc,
+ author = {Shah, I. and Corrick, I.},
+ year = {2016},
+ title = {How should central banks respond to non-neutral inflation expectations?},
+ address = {Bath},
+ institution = {University of Bath},
+ library = {OPUS},
+ url = {http://opus.bath.ac.uk},
+ urlyear = {4 May 2016}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@techreport{shah.corrick2016hsc,
+ author = {Shah, I. and Corrick, I.},
+ year = {2016},
+ title = {How should central banks respond to non-neutral inflation expectations?},
+ address = {Bath},
+ institution = {University of Bath},
+ note = {\emph{OPUS} [Online]},
+ url = {http://opus.bath.ac.uk},
+ urldate = {4 May 2016}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+
+\subsubsection*{Newspaper article}
+
+\begin{hacks}\item Give the issue's day and month as the \texttt{volume}.\end{hacks}
+
+\begin{bibexbox}(hacked)<RX>{haurant2004bbh}
+ Haurant, S., 2004. Britain's borrowing hits £1 trillion. \emph{The Guardian}, 29 July, p.16c.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib|tex1|bib1>
+@article{haurant2004bbh,
+ author = {Haurant, S.},
+ year = {2004},
+ title = {Britain's Borrowing Hits \pounds 1 Trillion},
+ journal = {The {Guardian}},
+ volume = {29 July},
+ pages = {16c}}
+%</driver|bib|tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+\end{bibexbox}
+
+\begin{bibexbox}(hacked)<RX>{independent1992pub}
+ The Independent, 1992. Picking up the bills. \emph{The Independent}, 4 June, p.28a.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib|tex1|bib1>
+@article{independent1992pub,
+ author = {{The Independent}},
+ year = {1992},
+ title = {Picking Up the Bills},
+ journal = {The {Independent}},
+ volume = {4 June},
+ pages = {28a}}
+%</driver|bib|tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+\end{bibexbox}
+
+
+\subsection{Conference papers}
+
+\begin{info}\item
+As in the standard Bib\TeX\ styles, \texttt{conference} is a legacy (and highly deprecated) alias for \texttt{inproceedings}.
+\end{info}
+
+\subsubsection*{Conference paper (when proceedings have a named editor)}
+
+\begin{bibexbox}<RX>{crawford1965oim}
+ Crawford, G.I., 1965. Oxygen in metals. In:\@ J.M.A. Lenihan and S.J. Thompson, eds. \emph{Activation analysis:\@ proceedings of a NATO Advanced Study Institute}, 2--4 August 1964, Glasgow. London:\@ Academic Press, pp.113--118.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@inproceedings{crawford1965oim,
+ author = {Crawford, G. I.},
+ year = {1965},
+ title = {Oxygen in Metals},
+ editor = {J. M. A. Lenihan and S. J. Thompson},
+ booktitle = {Activation Analysis: Proceedings of a {NATO} {Advanced} {Study} {Institute}},
+ eventyear = {2--4 August 1964},
+ venue = {Glasgow},
+ address = {London},
+ publisher = {Academic Press},
+ pages = {113-118}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@inproceedings{crawford1965oim,
+ author = {Crawford, G. I.},
+ year = {1965},
+ title = {Oxygen in Metals},
+ editor = {J. M. A. Lenihan and S. J. Thompson},
+ booktitle = {Activation Analysis: Proceedings of a {NATO} {Advanced} {Study} {Institute}},
+ venue = {2--4 August 1964, Glasgow},
+ address = {London},
+ publisher = {Academic Press},
+ pages = {113-118}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+
+\subsubsection*{Conference paper (when proceedings have no named editor or are part of a major series)}
+
+\begin{bibexbox}<RX>{soper1972rbc}
+ Soper, D., 1972. Review of bracken control experiments with asulam. \emph{Proceedings of the 11th British Weed Control Conference}, 15--17 November 1972, Brighton. Brighton:\@ University of Sussex, pp.24--31.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@inproceedings{soper1972rbc,
+ author = {Soper, D.},
+ year = {1972},
+ title = {Review of Bracken Control Experiments with Asulam},
+ booktitle = {Proceedings of the 11th {British} {Weed} {Control} {Conference}},
+ eventyear = {15--17 November 1972},
+ venue = {Brighton},
+ address = {Brighton},
+ publisher = {University of Sussex},
+ pages = {24-31}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@inproceedings{soper1972rbc,
+ author = {Soper, D.},
+ year = {1972},
+ title = {Review of Bracken Control Experiments with Asulam},
+ booktitle = {Proceedings of the 11th {British} {Weed} {Control} {Conference}},
+ venue = {15--17 November 1972, Brighton},
+ address = {Brighton},
+ publisher = {University of Sussex},
+ pages = {24-31}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+
+\subsection{Grey literature}
+
+\subsubsection*{Thesis/dissertation}
+
+\begin{bibexbox}<RX>{burrell1973ist}
+ Burrell, J.G., 1973. \emph{The importance of school tours in education}. Thesis (M.A.). Queen's University, Belfast.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib|tex1|bib1>
+@mastersthesis{burrell1973ist,
+ author = {Burrell, J. G.},
+ year = {1973},
+ title = {The Importance of School Tours in Education},
+ type = {Thesis ({M.A.})},
+ school = {Queen's University, Belfast}}
+%</driver|bib|tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+\end{bibexbox}
+
+\begin{info}\item Internally, \texttt{thesis} is an alias for \texttt{phdthesis}.\end{info}
+
+
+\subsubsection*{Report}
+
+\begin{bibexbox}<RX>{unesco1993gip}
+ UNESCO, 1993. \emph{General information programme and UNISIST}\@. (PGI-93/WS/22). Paris:\@ UNESCO.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib|tex1|bib1>
+@techreport{unesco1993gip,
+ author = {{UNESCO}},
+ year = {1993},
+ title = {General Information Programme and {UNISIST}},
+ address = {Paris},
+ institution = {UNESCO},
+ number = {PGI-93/WS/22}}
+%</driver|bib|tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+\end{bibexbox}
+
+\begin{bibexbox}<RX>{bre2007dqb}
+ BRE, 2007. \emph{Designing quality buildings:\@ a BRE guide}. (Report 497). Bracknell:\@ BRE.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib|tex1|bib1>
+@techreport{bre2007dqb,
+ author = {{BRE}},
+ year = {2007},
+ title = {Designing Quality Buildings: a {BRE} Guide},
+ address = {Bracknell},
+ institution = {BRE},
+ type = {Report},
+ number = {497}}
+%</driver|bib|tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+\end{bibexbox}
+
+\begin{info}\item Internally, \texttt{report} is an alias for \texttt{techreport}.\end{info}
+
+
+\subsubsection*{Standard}
+
+\begin{bibexbox}<RX>{bs5605:1990}
+ BSI, 1990. \emph{BS 5605:1990 Recommendations for citing and referencing
+ published material.} London: BSI.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@standard{bs5605:1990,
+ author = {{BSI}},
+ year = {1990},
+ title = {{BS}~5605:1990 {Recommendations} for Citing and Referencing Published Material},
+ address = {London},
+ organization = {BSI}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@manual{bs5605:1990,
+ author = {{BSI}},
+ year = {1990},
+ title = {{BS}~5605:1990 {Recommendations} for Citing and Referencing Published Material},
+ address = {London},
+ organization = {BSI}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+\begin{bibexbox}<RX>{astm.d1655}
+ ASTM, 2019. \emph{ASTM D1655 - 19 Standard specification for aviation
+ turbine fuels.} West Conshohocken, Pa.: ASTM.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@standard{astm.d1655,
+ author = {{ASTM}},
+ year = {2019},
+ title = {{ASTM~D1655} - 19 {Standard} Specification for Aviation Turbine Fuels},
+ address = {West Conshohocken, Pa.},
+ organization = {ASTM}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@manual{astm.d1655,
+ author = {{ASTM}},
+ year = {2019},
+ title = {{ASTM~D1655} - 19 {Standard} Specification for Aviation Turbine Fuels},
+ address = {West Conshohocken, Pa.},
+ organization = {ASTM}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+\begin{info}\item Internally, \texttt{standard} is an alias for \texttt{manual}.\end{info}
+
+
+\subsubsection*{Patent}
+
+\begin{bibexbox}<RX>{pm1981opa}
+ Phillipp Morris Inc., 1981. \emph{Optical perforating apparatus and system}. European patent application 0021165A1. 1981-01-07.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@patent{pm1981opa,
+ author = {{Phillipp Morris Inc.}},
+ year = {1981},
+ title = {Optical perforating apparatus and system},
+ type = {European patent application},
+ number = {0021165A1. 1981-01-07}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@manual{pm1981opa,
+ author = {{Phillipp Morris Inc.}},
+ year = {1981},
+ title = {Optical perforating apparatus and system},
+ series = {European patent application},
+ number = {0021165A1. 1981-01-07}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+\begin{info}\item Internally, \texttt{patent} is an alias for \texttt{manual}.\end{info}
+
+
+\subsubsection*{Unpublished written material and personal communications}
+
+\begin{bibexbox}<RX>{harris2013fgr}
+ Harris, G., 2013. \emph{Focus group recommendations:\@ internal task group
+ report}. Unpublished.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib|tex1|bib1>
+@unpublished{harris2013fgr,
+ author = {Harris, G.},
+ year = {2013},
+ title = {Focus group recommendations: internal task group report}}
+%</driver|bib|tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+\end{bibexbox}
+
+\begin{bibexbox}<RX>{hadley2015bir}
+ Hadley, S., 2015. \emph{Biomechanics:\@ introductory reading, BM289:\@ sport
+ biomechanics}. University of Bath. Unpublished.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib|tex1|bib1>
+@unpublished{hadley2015bir,
+ author = {Hadley, S.},
+ year = {2015},
+ title = {Biomechanics: introductory reading, {BM289}: sport biomechanics},
+ howpublished = {University of Bath}}
+%</driver|bib|tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+\end{bibexbox}
+
+\begin{bibexbox}<RX>{thomas2015wcr}
+ Thomas, D., 2015. Word count and referencing style. \emph{Frequently
+ asked questions discussion board:\@ PHYS 2011:\@ housing studies.}
+ University of Bath. Unpublished.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib|tex1|bib1>
+@unpublished{thomas2015wcr,
+ author = {Thomas, D.},
+ year = {2015},
+ title = {Word count and referencing style},
+ booktitle = {Frequently asked questions discussion board: {PHYS} 2011: housing studies},
+ howpublished = {University of Bath}}
+%</driver|bib|tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+\end{bibexbox}
+
+
+\subsection{Audiovisual materials}
+
+\subsubsection*{Image}
+
+%<tex1>\begin{tips}\item You would normally class images as \texttt{misc} or \texttt{unpublished}, but those entry types have particular formatting quirks in this style that don't work for images. Use \texttt{manual} or \texttt{booklet} instead. You can use \texttt{online} (an alias for \texttt{manual}) for online images.\end{tips}
+
+\begin{bibexbox}<RI>{nasa2015nat}
+ NASA, 2015, \emph{NASA astronaut Tim Kopra on Dec.\@ 21 spacewalk} [Online]. Washington:\@ NASA. Available from:\@ \url{http://www.nasa.gov/image-feature/nasa-astronaut-tim-kopra-on-dec-21-spacewalk} [Accessed 7 January 2015].
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@image{nasa2015nat,
+ author = {{NASA}},
+ year = {2015},
+ title = {{NASA} Astronaut {Tim} {Kopra} on {Dec.\@} 21 Spacewalk},
+ address = {Washington},
+ publisher = {NASA},
+ url = {http://www.nasa.gov/image-feature/nasa-astronaut-tim-kopra-on-dec-21-spacewalk},
+ urlyear = {7 January 2015}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@manual{nasa2015nat,
+ author = {{NASA}},
+ year = {2015},
+ title = {{NASA} Astronaut {Tim} {Kopra} on {Dec.\@} 21 Spacewalk},
+ titleaddon = {[Online]},
+ address = {Washington},
+ organization = {NASA},
+ url = {http://www.nasa.gov/image-feature/nasa-astronaut-tim-kopra-on-dec-21-spacewalk},
+ urldate = {7 January 2015}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+\begin{tips}\item You can use either the \texttt{publisher} or the \texttt{organization} field to
+record the source of the image.\end{tips}
+
+\begin{bibexbox}<RI>{iliff2006rcb}
+ Iliff, D., 2006. \emph{Royal Crescent in Bath, England - July 2006} [Online]. San Francisco:\@ Wikimedia Foundation. Available from:\@ \url{https://commons.wikimedia.org/wiki/File:Royal_Crescent_in_Bath,_England_-_July_2006.jpg} [Accessed 7 January 2016].
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@image{iliff2006rcb,
+ author = {D. Iliff},
+ year = {2006},
+ title = {{Royal} {Crescent} in {Bath,} {England} - {July} 2006},
+ address = {San Francisco},
+ organization = {Wikimedia Foundation},
+ url = {https://commons.wikimedia.org/wiki/File:Royal_Crescent_in_Bath,_England_-_July_2006.jpg},
+ urlyear = {7 January 2016}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@manual{iliff2006rcb,
+ author = {D. Iliff},
+ year = {2006},
+ title = {{Royal} {Crescent} in {Bath,} {England} - {July} 2006},
+ titleaddon = {[Online]},
+ address = {San Francisco},
+ organization = {Wikimedia Foundation},
+ url = {https://commons.wikimedia.org/wiki/File:Royal_Crescent_in_Bath,_England_-_July_2006.jpg},
+ urldate = {7 January 2016}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+\begin{bibexbox}<RI>{anon1946peb}
+ Anon., 1946. \emph{Prototype electric bicycle displayed at the \enquote{Britain Can Make It} exhibition organised by the Council of Industrial Design and held at the Victoria and Albert Museum, London, 1946. Designed by B.~G. Bowden} [Photograph]. At:\@ London. Design Council Slide Collection.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@image{anon1946peb,
+ author = {Anon.},
+ year = {1946},
+ title = {Prototype electric bicycle displayed at the \enquote{Britain Can Make It} exhibition
+ organised by the {Council} of {Industrial} {Design} and held at the {Victoria} and {Albert}
+ {Museum}, {London}, 1946. {Designed} by {B.~G.} {Bowden}},
+ titleaddon = {Photograph},
+ address = {London},
+ library = {Design Council Slide Collection}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@manual{anon1946peb,
+ author = {Anon.},
+ year = {1946},
+ title = {Prototype electric bicycle displayed at the \enquote{Britain Can Make It} exhibition
+ organised by the {Council} of {Industrial} {Design} and held at the {Victoria} and {Albert}
+ {Museum}, {London}, 1946. {Designed} by {B.~G.} {Bowden}},
+ titleaddon = {[Photograph]},
+ note = {At: London. Design Council Slide Collection}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+%<*driver>
+\begin{tips}
+\item
+Use the \texttt{library} field to record the archive and register number.
+If you also wish to provide the name of the organisation that published the image,
+use the \texttt{publisher} field if the location you provide relates to the publisher,
+but the \texttt{organization} field if the location relates to the archive.
+\end{tips}
+%</driver>
+
+\subsubsection*{Map}
+
+\begin{bibexbox}<RX>{andrews.dury1773wilts}
+ Andrews, J. and Dury, A., 1773. \emph{Map of Wiltshire}, 1 inch to 2 miles. Devizes:\@ Wiltshire Record Society.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib|tex1|bib1>
+@manual{andrews.dury1773wilts,
+ author = {Andrews, J. and Dury, A.},
+ year = {1773},
+ title = {Map of {Wiltshire}},
+ series = {1 inch to 2 miles},
+ address = {Devizes},
+ publisher = {Wiltshire Record Society}}
+%</driver|bib|tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+\end{bibexbox}
+
+\begin{tips}\item The \texttt{book} entry type would also work for this reference.\end{tips}
+
+
+\subsubsection*{Film, video or DVD}
+
+\begin{bibexbox}<RX>{macbeth1948}
+ \emph{Macbeth}, 1948. Film.\@ Directed by Orson Welles. USA:\@ Republic Pictures.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@video{macbeth1948,
+ year = {1948},
+ title = {Macbeth},
+ type = {Film},
+ note = {Directed by Orson Welles},
+ address = {USA},
+ publisher = {Republic Pictures}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@booklet{macbeth1948,
+ year = {1948},
+ title = {Macbeth},
+ howpublished = {Film. Directed by Orson Welles},
+ address = {USA},
+ publisher = {Republic Pictures}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+\begin{info}\item Internally, \texttt{movie} and \texttt{video} are aliases for \texttt{booklet}.\end{info}
+
+
+\subsubsection*{Streamed video (YouTube, TED Talks, etc.)}
+
+\begin{bibexbox}<RX>{moran2016sol}
+ Moran, C., 2016. \emph{Save our libraries} [Online]. Available from:\@ \url{https://www.youtube.com/watch?v=gKTfCz4JtVE&feature=youtu.be} [Accessed 29 April 2016].
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@video{moran2016sol,
+ author = {Moran, C.},
+ year = {2016},
+ title = {Save Our Libraries},
+ url = {https://www.youtube.com/watch?v=gKTfCz4JtVE&feature=youtu.be},
+ urlyear = {29 April 2016}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@manual{moran2016sol,
+ author = {Moran, C.},
+ year = {2016},
+ title = {Save Our Libraries},
+ titleaddon = {[Online]},
+ url = {https://www.youtube.com/watch?v=gKTfCz4JtVE&feature=youtu.be},
+ urldate = {29 April 2016}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+\begin{bibexbox}<RI>{uob2015wie}
+ University of Bath, 2015. \emph{What is engineering?} [Online]. Available from:\@ \url{https://www.youtube.com/watch?v=NoyZarq-Zbo} [Accessed 12 January 2016].
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@video{uob2015wie,
+ author = {{University of Bath}},
+ year = {2015},
+ title = {What is Engineering?},
+ url = {https://www.youtube.com/watch?v=NoyZarq-Zbo},
+ urlyear = {12 January 2016}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@manual{uob2015wie,
+ author = {{University of Bath}},
+ year = {2015},
+ title = {What is Engineering?},
+ titleaddon = {[Online]},
+ url = {https://www.youtube.com/watch?v=NoyZarq-Zbo},
+ urldate = {12 January 2016}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+\begin{bibexbox}<RI>{chakrabarti2016hac}
+ Chakrabarti, V., 2016. \emph{How architecture and city planning can combat social inequality} [Online]. Available from:\@ \url{https://www.curbed.com/2016/5/5/11593058/vishaan-chakrabarti-pau-curbed-appeal-podcast} [Accessed 28 March 2019].
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@audio{chakrabarti2016hac,
+ author = {Chakrabarti, V.},
+ year = {2016},
+ title = {How Architecture and City Planning Can Combat Social Inequality},
+ url = {https://www.curbed.com/2016/5/5/11593058/vishaan-chakrabarti-pau-curbed-appeal-podcast},
+ urlyear = {28 March 2019}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@manual{chakrabarti2016hac,
+ author = {Chakrabarti, V.},
+ year = {2016},
+ title = {How Architecture and City Planning Can Combat Social Inequality},
+ titleaddon = {[Online]},
+ url = {https://www.curbed.com/2016/5/5/11593058/vishaan-chakrabarti-pau-curbed-appeal-podcast},
+ urlyear = {28 March 2019}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+
+\subsubsection*{Television or radio broadcast}
+
+\begin{bibexbox}<RX>{rsfo2006ep5}
+ \emph{Rick Stein's French odyssey:\@ Episode 5}, 2006. TV. BBC2, 23 August. 20.30 hrs.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@video{rsfo2006ep5,
+ year = {2006},
+ title = {Rick {Stein's} {French} Odyssey: Episode 5},
+ type = {TV},
+ note = {BBC2, 23 August. 20.30 hrs}
+}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@booklet{rsfo2006ep5,
+ year = {2006},
+ title = {Rick {Stein's} {French} Odyssey: Episode 5},
+ howpublished = {TV. BBC2, 23 August. 20.30 hrs}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+\begin{bibexbox}<RX>{archers20060823}
+ \emph{The Archers}, 2006. Radio. BBC Radio 4, 23 August. 19.02 hrs.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@audio{archers20060823,
+ year = {2006},
+ title = {The {Archers}},
+ type = {Radio},
+ note = {BBC Radio 4, 23 August. 19.02 hrs}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@booklet{archers20060823,
+ year = {2006},
+ title = {The {Archers}},
+ howpublished = {Radio. BBC Radio 4, 23 August. 19.02 hrs}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+%<*driver>
+\begin{tips}\item Use \texttt{type} for the medium and \texttt{note} for the channel, date and time.\end{tips}
+%</driver>
+
+\begin{info}\item Internally, \texttt{audio} and \texttt{music} are aliases for \texttt{booklet}.\end{info}
+
+
+\subsubsection*{Music score}
+
+\begin{bibexbox}<RX>{beethoven1950symph1}
+ Beethoven, L. van, 1950. \emph{Symphony no.1 in C, Op.21}. Harmondsworth:\@ Penguin.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib|tex1|bib1>
+@book{beethoven1950symph1,
+ author = {Ludwig van Beethoven},
+ year = {1950},
+ title = {Symphony no.1 in {C,} {Op.21}},
+ address = {Harmondsworth},
+ publisher = {Penguin}}
+%</driver|bib|tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+\end{bibexbox}
+
+
+\subsection{Digital media}
+
+\subsubsection*{Website\slash webpage}
+
+While it is normal when using Bib\TeX\ to use \texttt{misc} for websites,
+with this style you should use \texttt{online} (or \texttt{electronic} or \texttt{www}) instead.
+Internally these are all aliases for \texttt{manual}.
+
+\begin{bibexbox}<RX>{holland2002gci}
+ Holland, M., 2002. \emph{Guide to citing internet sources} [Online]. Poole:\@ Bournemouth University. Available from:\@ \url{http://www.bournemouth.ac.uk/library/using/guide_to_citing_internet_sourc.html} [Accessed 4 November 2002].
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@online{holland2002gci,
+ author = {Holland, M.},
+ year = {2002},
+ title = {Guide to Citing Internet Sources},
+ address = {Poole},
+ organization = {Bournemouth University},
+ url = {http://www.bournemouth.ac.uk/library/using/guide_to_citing_internet_sourc.html},
+ urlyear = {4 November 2002}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@manual{holland2002gci,
+ author = {Holland, M.},
+ year = {2002},
+ title = {Guide to Citing Internet Sources},
+ titleaddon = {[Online]},
+ address = {Poole},
+ organization = {Bournemouth University},
+ url = {http://www.bournemouth.ac.uk/library/using/guide_to_citing_internet_sourc.html},
+ urldate = {4 November 2002}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+\subsubsection*{Email discussion lists (jiscmail\slash listserv etc.)}
+
+\begin{bibexbox}(hacked)<RX>{clark2004euk}
+ Clark, T., 5 July 2004. A European UK Libraries Plus? \emph{Lis-link} [Online]. Available from:\@ \url{lis-link@jiscmail.ac.uk} [Accessed 30 July 2004].
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@letter{clark2004euk,
+ author = {Clark, T.},
+ year = {5 July 2004},
+ title = {A {European} {UK} {Libraries} {Plus}?},
+ journal = {Lis-link},
+ url = {lis-link@jiscmail.ac.uk},
+ urlyear = {30 July 2004}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@article{clark2004euk,
+ author = {Clark, T.},
+ year = {5 July 2004},
+ title = {A {European} {UK} {Libraries} {Plus}?},
+ journal = {Lis-link \textup{[Online]}},
+ url = {lis-link@jiscmail.ac.uk},
+ urldate = {30 July 2004}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+\begin{tips}
+\item Use the \texttt{journal} field to specify the mailing list.
+%<*driver>
+Internally, a \texttt{letter} entry with a \texttt{journal} field is treated
+like an \texttt{article} entry, while one without is treated like an
+\texttt{unpublished} entry.
+%</driver>
+\end{tips}
+
+\begin{hacks}
+\item You will need to put the full date in the \texttt{year} field;
+unfortunately this means you have to put in extra work to show only the year in citations:
+\end{hacks}
+
+\begin{tcblisting}{listing side text, lefthand width=.5\linewidth}
+\citetext{\citeauthor[2004]{clark2004euk}}
+\end{tcblisting}
+
+
+\subsubsection*{Database}
+
+\begin{bibexbox}<RX>{bvd2008bt}
+ Bureau van Dijk, 2008. \emph{BT Group plc company report}. \emph{FAME} [Online]. London:\@ Bureau van Dijk. Available from:\@ \url{http://www.portal.euromonitor.com} [Accessed 6 November 2014].
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@online{bvd2008bt,
+ author = {{Bureau van Dijk}},
+ year = {2008},
+ title = {{BT} {Group} PLC Company Report},
+ library = {FAME},
+ address = {London},
+ organization = {Bureau van Dijk},
+ url = {http://www.portal.euromonitor.com},
+ urlyear = {6 November 2014}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@manual{bvd2008bt,
+ author = {{Bureau van Dijk}},
+ year = {2008},
+ title = {{BT} {Group} PLC Company Report},
+ series = {\emph{FAME} [Online]},
+ address = {London},
+ organization = {Bureau van Dijk},
+ url = {http://www.portal.euromonitor.com},
+ urldate = {6 November 2014}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+
+\subsubsection*{Dataset}
+
+\begin{bibexbox}<RX>{wilson2013rgc}
+ Wilson, D., 2013. \emph{Real geometry and connectedness via triangular description:\@ CAD example bank} [Online]. Bath:\@ University of Bath. Available from:\@ \url{https://doi.org/10.15125/BATH-00069} [Accessed 20 April 2016].
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@online{wilson2013rgc,
+ author = {Wilson, D.},
+ year = {2013},
+ title = {Real Geometry and Connectedness via Triangular Description: {CAD} Example Bank},
+ address = {Bath},
+ organization = {University of Bath},
+ doi = {10.15125/BATH-00069},
+ urlyear = {20 April 2016}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@manual{wilson2013rgc,
+ author = {Wilson, D.},
+ year = {2013},
+ title = {Real Geometry and Connectedness via Triangular Description: {CAD} Example Bank},
+ titleaddon = {[Online]},
+ address = {Bath},
+ organization = {University of Bath},
+ doi = {10.15125/BATH-00069},
+ urldate = {20 April 2016}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+\begin{info}\item You can use \texttt{dataset} instead of \texttt{online} as an alias for \texttt{manual}.\end{info}
+
+
+\subsubsection*{Computer program}
+
+\begin{bibexbox}<RX>{screencasto}
+ @screencasto, n.d. \emph{Screencast-O-Matic} (v.2) [computer program]. Available from:\@ \url{https://screencast-o-matic.com/} [Accessed 16 May 2016].
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@software{screencasto,
+ author = {@screencasto},
+ title = {{Screencast-O-Matic}},
+ version = {2},
+ titleaddon = {computer program},
+ url = {https://screencast-o-matic.com/},
+ urlyear = {16 May 2016}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@manual{screencasto,
+ author = {@screencasto},
+ year = {n.d.},
+ title = {{Screencast-O-Matic}},
+ titleaddon = {(v.2) [computer program]},
+ url = {https://screencast-o-matic.com/},
+ urldate = {16 May 2016}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+\begin{info}\item Internally, \texttt{software} is an alias for \texttt{manual}.\end{info}
+
+
+\subsection{Works in languages other than English}
+
+\subsubsection*{Work in translation}
+
+\begin{bibexbox}<RX>{aristotle2007ne}
+ Aristotle, 2007. \emph{Nicomachean ethics} (W.D. Ross, Trans.). South Dakota:\@ NuVisions.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@book{aristotle2007ne,
+ author = {Aristotle},
+ year = {2007},
+ title = {Nicomachean Ethics},
+ translator = {W. D. Ross},
+ address = {South Dakota},
+ publisher = {NuVisions}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@book{aristotle2007ne,
+ author = {Aristotle},
+ year = {2007},
+ title = {Nicomachean Ethics},
+ titleaddon = {(W.D. Ross, Trans.)},
+ address = {South Dakota},
+ publisher = {NuVisions}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+
+\subsubsection*{Work in the Roman alphabet}
+
+\begin{bibexbox}<RX>{esquivel2003cap}
+ Esquivel, L., 2003. \emph{Como agua para chocolate} [Like water for chocolate]. Barcelona:\@ Debolsillo.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@book{esquivel2003cap,
+ author = {Esquivel, L.},
+ year = {2003},
+ title = {Como Agua para Chocolate},
+ titleaddon = {Like water for chocolate},
+ address = {Barcelona},
+ publisher = {Debolsillo}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@book{esquivel2003cap,
+ author = {Esquivel, L.},
+ year = {2003},
+ title = {Como Agua para Chocolate},
+ titleaddon = {[Like water for chocolate]},
+ address = {Barcelona},
+ publisher = {Debolsillo}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+\begin{bibexbox}<RX>{thurfjell1975vhv}
+ Thurfjell, W., 1975. Vart har våran doktor tagit vägen? [Where has our doctor gone?]. \emph{Läkartidningen}, 72, p.789.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@article{thurfjell1975vhv,
+ author = {Thurfjell, W.},
+ year = {1975},
+ title = {Vart har våran doktor tagit vägen?},
+ titleaddon = {Where has our doctor gone?},
+ journal = {Läkartidningen},
+ volume = {72},
+ pages = {789}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@article{thurfjell1975vhv,
+ author = {Thurfjell, W.},
+ year = {1975},
+ title = {Vart har våran doktor tagit vägen?},
+ titleaddon = {[Where has our doctor gone?]},
+ journal = {Läkartidningen},
+ volume = {72},
+ pages = {789}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+
+\subsubsection*{Work in a non-Roman alphabet}
+
+\begin{tips}
+\item
+The following example tricks Bib\TeX\ into treating the original rendering of the author's name as the `von' part of a Roman-alphabet name. This requires the use of a command that simply gobbles its argument, which you have to define yourself:
+
+\begin{tcblisting}{listing only}
+\newcommand*{\noop}[1]{}
+\end{tcblisting}
+
+For the trick to work, the argument you give to \lstinline[style=dtxlatex]|\noop| must be lowercase, but otherwise it can be anything you like.
+\end{tips}
+
+\newcommand*{\noop}[1]{}
+\begin{bibexbox}(hacked)<RX>{hua1999qys1}
+ Hua, L. è¯æž—甫, 1999. Qingdai yilai Sanxia diqu shuihan zaihai de chubu yanjiu 清代以來三峽地å€æ°´æ—±ç½å®³çš„åˆæ­¥ç¡ [A preliminary study of floods and droughts in the Three Gorges region since the Qing dynasty]. \emph{Zhongguo shehui kexue} 中國社會科學, 1, pp.168--79.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@article{hua1999qys1,
+ author = {Linfu \noop{h}è¯æž—甫 Hua},
+ year = {1999},
+ title = {Qingdai yilai {Sanxia} diqu shuihan zaihai de chubu yanjiu
+ {清代以來三峽地å€æ°´æ—±ç½å®³çš„åˆæ­¥ç¡}},
+ titleaddon = {A preliminary study of floods and droughts in the {Three} {Gorges} region since
+ the {Qing} dynasty},
+ journal = {Zhongguo shehui kexue \textup{中國社會科學}},
+ volume = {1},
+ pages = {168-79}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@article{hua1999qys1,
+ author = {Linfu \noop{h}è¯æž—甫 Hua},
+ year = {1999},
+ title = {Qingdai yilai {Sanxia} diqu shuihan zaihai de chubu yanjiu
+ {清代以來三峽地å€æ°´æ—±ç½å®³çš„åˆæ­¥ç¡}},
+ titleaddon = {[A preliminary study of floods and droughts in the {Three} {Gorges} region since
+ the {Qing} dynasty]},
+ journal = {Zhongguo shehui kexue \textup{中國社會科學}},
+ volume = {1},
+ pages = {168-79}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+\begin{tips}
+\item If the name is due to appear initial first (e.g.\ after `In:'), you can append the non-Roman characters to the author's surname; to do this, use inverted name order as you would for English double-barrelled names without hyphens, e.g.\ \texttt{Hua è¯æž—甫, Linfu}.
+\end{tips}
+
+\begin{bibexbox}<RX>{hua1999qys2}
+ Hua, L., 1999. Qingdai yilai Sanxia diqu shuihan zaihai de chubu yanjiu [A preliminary study of floods and droughts in the Three Gorges region since the Qing dynasty]. \emph{Zhongguo shehui kexue}, 1, pp.168--79.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@article{hua1999qys2,
+ author = {Hua, Linfu},
+ year = {1999},
+ title = {Qingdai yilai {Sanxia} diqu shuihan zaihai de chubu yanjiu},
+ titleaddon = {A preliminary study of floods and droughts in the {Three} {Gorges} region since
+ the {Qing} dynasty},
+ journal = {Zhongguo shehui kexue},
+ volume = {1},
+ pages = {168-79}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@article{hua1999qys2,
+ author = {Hua, Linfu},
+ year = {1999},
+ title = {Qingdai yilai {Sanxia} diqu shuihan zaihai de chubu yanjiu},
+ titleaddon = {[A preliminary study of floods and droughts in the {Three} {Gorges} region since
+ the {Qing} dynasty]},
+ journal = {Zhongguo shehui kexue},
+ volume = {1},
+ pages = {168-79}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+\begin{bibexbox}<RX>{pamporov2006rvb}
+ Pamporov, A., 2006. \emph{Romskoto vsekidnevie v Balgariya} [Roma everyday life in Bulgaria]. Veliko Tarnovo: Faber.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@book{pamporov2006rvb,
+ author = {Pamporov, A.},
+ year = {2006},
+ title = {Romskoto vsekidnevie v {Balgariya}},
+ titleaddon = {Roma everyday life in Bulgaria},
+ address = {Veliko Tarnovo},
+ publisher = {Faber}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@book{pamporov2006rvb,
+ author = {Pamporov, A.},
+ year = {2006},
+ title = {Romskoto vsekidnevie v {Balgariya}},
+ titleaddon = {[Roma everyday life in Bulgaria]},
+ address = {Veliko Tarnovo},
+ publisher = {Faber}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+
+\subsection{Legal references: UK legislation and parliamentary reports}
+
+% UK Primary Legislation
+
+\subsubsection*{Act of Parliament (UK Statutes) before 1963}
+
+\begin{bibexbox}<RX>{gb.wa1735}
+ \emph{Witchcraft Act 1735} (9 Geo.2, c.5).
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@legislation{gb.wa1735,
+ title = {Witchcraft {Act}},
+ year = {1735},
+ series = {9 Geo.2},
+ chapter = {5}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@book{gb.wa1735,
+ key = {Witchcraft Act 1735},
+ title = {Witchcraft {Act} 1735},
+ titleaddon = {(9 Geo.2, c.5)}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+
+\subsubsection*{Act of Parliament (UK Statutes) 1963 onwards}
+
+\begin{bibexbox}<RX>{gb.pa2014}
+ \emph{Pensions Act 2014}, c.19. London:\@ TSO.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@legislation{gb.pa2014,
+ title = {Pensions {Act}},
+ year = {2014},
+ chapter = {19},
+ address = {London},
+ publisher = {TSO}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@book{gb.pa2014,
+ key = {Pensions Act 2014},
+ title = {Pensions {Act} 2014},
+ number = {c.19},
+ address = {London},
+ publisher = {TSO}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+
+\subsubsection*{House of Commons/House of Lords bill}
+
+\begin{bibexbox}<RX>{gb.bill1987/88-66}
+ Great Britain.\@ Parliament.\@ House of Commons, 1988. \emph{Local government finance bill}. (Bills | 1987/88, 66). London:\@ HMSO.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@legislation{gb.bill1987/88-66,
+ author = {{Great Britain. Parliament. House of Commons}},
+ year = {1988},
+ title = {Local Government Finance Bill},
+ address = {London},
+ publisher = {HMSO},
+ series = {{Bills | 1987/88}},
+ number = {66}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@techreport{gb.bill1987/88-66,
+ author = {{Great Britain. Parliament. House of Commons}},
+ year = {1988},
+ title = {Local Government Finance Bill},
+ address = {London},
+ publisher = {HMSO},
+ type = {{Bills |}},
+ number = {1987/88, 66}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+
+% UK secondary legislation
+
+\subsubsection*{Statutory instrument}
+
+\begin{bibexbox}<RX>{gb.hmr2012}
+ \emph{The Human Medicines Regulations 2012} [Online], No.1916, United Kingdom:\@ HMSO. Available from:\@ \url{http://www.legislation.gov.uk/uksi/2012/1916/pdfs/uksi_20121916_en.pdf} [Accessed 17 April 2016].
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@legislation{gb.hmr2012,
+ entrysubtype = {secondary},
+ title = {The {Human} {Medicines} {Regulations}},
+ year = {2012},
+ number = {No.1916},
+ address = {United Kingdom},
+ publisher = {HMSO},
+ url = {http://www.legislation.gov.uk/uksi/2012/1916/pdfs/uksi_20121916_en.pdf},
+ urlyear = {17 April 2016}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@book{gb.hmr2012,
+ title = {The {Human} {Medicines} {Regulations} 2012},
+ titleaddon = {[Online]},
+ number = {No.1916},
+ address = {United Kingdom},
+ publisher = {HMSO},
+ url = {http://www.legislation.gov.uk/uksi/2012/1916/pdfs/uksi_20121916_en.pdf},
+ urldate = {17 April 2016}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+%<*driver>
+\begin{tips}\item Use the \texttt{entrysubtype} `secondary' to put the number in the right place.\end{tips}
+%</driver>
+
+% Parliamentary reports
+
+\subsubsection*{House of Commons paper}
+
+Use this form for reports of House of Commons select committees.
+
+\begin{bibexbox}<RX>{gb.hc2003/04-30}
+ Great Britain.\@ Parliament.\@ House of Commons, 2004. \emph{National Savings investment deposits:\@ account 2002--2003}. (HC 2003/04, 30). London:\@ National Audit Office.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@techreport{gb.hc2003/04-30,
+ author = {{Great Britain. Parliament. House of Commons}},
+ year = {2004},
+ title = {National {Savings} Investment Deposits: account 2002--2003},
+ address = {London},
+ publisher = {National Audit Office},
+ series = {HC 2003/04},
+ number = {30}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@techreport{gb.hc2003/04-30,
+ author = {{Great Britain. Parliament. House of Commons}},
+ year = {2004},
+ title = {National {Savings} Investment Deposits: account 2002--2003},
+ address = {London},
+ publisher = {National Audit Office},
+ type = {{HC}},
+ number = {2003/04, 30}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+
+\subsubsection*{House of Lords paper}
+
+Use this form for reports of House of Lords select committees.
+
+\begin{bibexbox}<RX>{gb.hl1986/87-66}
+ Great Britain.\@ Parliament.\@ House of Lords, 1987. \emph{Social fund (maternity and funeral expenses) bill}. (HL 1986/87, (66)). London:\@ HMSO.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@techreport{gb.hl1986/87-66,
+ author = {{Great Britain. Parliament. House of Lords}},
+ year = {1987},
+ title = {Social Fund (Maternity and Funeral Expenses) Bill},
+ address = {London},
+ publisher = {HMSO},
+ series = {HL 1986/87},
+ number = {66}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@techreport{gb.hl1986/87-66,
+ author = {{Great Britain. Parliament. House of Lords}},
+ year = {1987},
+ title = {Social Fund (Maternity and Funeral Expenses) Bill},
+ address = {London},
+ publisher = {HMSO},
+ type = {{HL}},
+ number = {1986/87, (66)}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+%<*driver>
+\begin{hacks}
+\item For joint committees, you will have to hack this slightly, putting the session
+years in \texttt{series} and the HL and HC numbers in \texttt{number}.
+\end{hacks}
+%</driver>
+
+
+\subsubsection*{Command paper}
+
+\begin{bibexbox}<RX>{gb.cm6041}
+ Great Britain.\@ Ministry of Defence, 2004. \emph{Delivering security in a changing world:\@ defence white paper}. (Cm.\@ 6041). London:\@ TSO.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@techreport{gb.cm6041,
+ author = {{Great Britain. Ministry of Defence}},
+ year = {2004},
+ title = {Delivering Security in a Changing World{:} Defence White Paper},
+ address = {London},
+ publisher = {TSO},
+ series = {Cm},
+ number = {6041}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@techreport{gb.cm6041,
+ author = {{Great Britain. Ministry of Defence}},
+ year = {2004},
+ title = {Delivering Security in a Changing World{:} Defence White Paper},
+ address = {London},
+ publisher = {TSO},
+ type = {{Cm.}},
+ number = {6041}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+
+\subsection{Legal references: EU legislation and reports}
+
+% European legislation
+
+\subsubsection*{EU regulation or directive, decision, recommendation or opinion}
+
+\begin{bibexbox}<RX>{eu.dir1984/2003}
+ Council Regulation (EC) 1984/2003 of 8 April 2003 introducing a system for the statistical monitoring of trade in bluefin tuna, swordfish and big eye tuna within the Community [2003] \emph{OJ} L295.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@legislation{eu.dir1984/2003,
+ title = {Council {Regulation} ({EC}) 1984/2003 of 8 {April} 2003 Introducing a System for
+ the Statistical Monitoring of Trade in Bluefin Tuna, Swordfish and Big Eye Tuna within
+ the {Community}},
+ year = {2003},
+ journal = {OJ},
+ series = {L},
+ volume = {295}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@misc{eu.dir1984/2003,
+ title = {Council {Regulation} ({EC}) 1984/2003 of 8 {April} 2003 Introducing a System for
+ the Statistical Monitoring of Trade in Bluefin Tuna, Swordfish and Big Eye Tuna within
+ the {Community}},
+ titleaddon = {[2003] \emph{OJ} L295}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+\begin{hacks}
+\item Use \lstinline[style=dtxlatex]|\defcitealias| to provide a suitable citation string:
+\begin{tcblisting}{listing side text, lefthand width=.46\linewidth}
+\defcitealias{eu.dir1984/2003}{%
+ Council Regulation [EC] 1984/2003}
+\citepalias{eu.dir1984/2003}
+\end{tcblisting}
+\end{hacks}
+
+% European reports
+
+\subsubsection*{EU publication}
+
+\begin{bibexbox}<RX>{ec2015gra}
+ European Commission, 2015. \emph{General report on the activities of the European Union 2014}. Luxembourg:\@ Publications Office of the European Union.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@techreport{ec2015gra,
+ author = {{European Commission}},
+ year = {2015},
+ title = {General Report on the Activities of the {European} {Union} 2014},
+ address = {Luxembourg},
+ publisher = {Publications Office of the European Union}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@techreport{ec2015gra,
+ author = {{European Commission}},
+ year = {2015},
+ title = {General Report on the Activities of the {European} {Union} 2014},
+ address = {Luxembourg},
+ publisher = {Publications Office of the European Union}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+
+\subsection{Legal references: case reports}
+
+\subsubsection*{Legal case study}
+
+\begin{bibexbox}<RX>{seldon-v-c.w.j2012}
+ \emph{Seldon v.~Clarkson Wright \& Jakes}. [2012]. UKSC 16.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@jurisdiction{seldon-v-c.w.j2012,
+ title = {Seldon v.~{Clarkson} {Wright} \& {Jakes}},
+ year = {2012},
+ journal = {UKSC},
+ pages = {16}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@report{seldon-v-c.w.j2012,
+ title = {Seldon v.~{Clarkson} {Wright} \& {Jakes}},
+ note = {[2012]. UKSC 16}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+\begin{info}\item
+Generally speaking, the year should be in square brackets if it is essential to the citation
+(unless it is a Scottish case, in which case it is printed bare), and in parentheses if it is
+not.
+\end{info}
+%<*driver>
+
+\begin{tips}
+\item The style assumes the year is essential if and only if a volume number is
+\emph{not} provided; to override this, you can use the \key{year-essential} option:
+
+\begin{tcolorbox}%
+ [ colframe = Slate
+ , colback = white
+ , fontupper = \footnotesize
+ ]
+\begin{Verbatim}
+ options = {year-essential=true},
+\end{Verbatim}
+\end{tcolorbox}
+
+To use Scottish style for a case, you can either use the \key{scottish-style} option or
+the keyword \texttt{sc}.
+
+\begin{tcolorbox}%
+ [ colframe = Slate
+ , colback = white
+ , fontupper = \footnotesize
+ ]
+\begin{Verbatim}
+ options = {scottish-style},
+ keywords = {sc},
+\end{Verbatim}
+\end{tcolorbox}
+\end{tips}
+
+\begin{info}
+\item Please bear in mind that the \texttt{options} and \texttt{keywords}
+fields from \textsf{biblatex} have been emulated rather crudely. You can only
+supply one of each and the text must match exactly (so don't add spaces
+or anything like that).
+\end{info}
+
+\begin{hacks}\item
+This should cover most cases, but legal references tend to enforce their own conventions
+no matter what the rest of the reference list is doing,
+and it is out of scope for this style to cater for every variation.
+Therefore if you need a different format (e.g.\@ for an American case),
+you may prefer to format the reference more-or-less by hand:
+
+\begin{tcolorbox}%
+ [ colframe = Slate
+ , colback = white
+ , fontupper = \footnotesize
+ ]
+ \begin{Verbatim}
+ title = {Seldon v.~{Clarkson} {Wright} \& {Jakes}},
+ sortyear = {2012},
+ note = {[2012]. UKSC 16}
+ \end{Verbatim}
+\end{tcolorbox}
+\end{hacks}
+%</driver>
+
+
+\subsubsection*{Judgment of the European Court of Justice}
+
+\begin{bibexbox}<RX>{srl.etal-v-comm2005}
+ \emph{Alessandrini Srl and others v.~Commission} (C-295/03 P) [2005] ECR I--5700.
+ \tcblower
+\begin{Verbatim}
+%</driver|tex1>
+%<*driver|bib>
+@jurisdiction{srl.etal-v-comm2005,
+ title = {Alessandrini {Srl} and others v.~{Commission}},
+ number = {C-295/03 P},
+ year = {2005},
+ journal = {ECR},
+ volume = {I},
+ pages = {5700}}
+%</driver|bib>
+%<*driver>
+\end{Verbatim}
+\iffalse
+%</driver>
+%<*tex1|bib1>
+@report{srl.etal-v-comm2005,
+ title = {Alessandrini {Srl} and others v.~{Commission}},
+ titleaddon = {(C-295/03 P) [2005] ECR I--5700}}
+%</tex1|bib1>
+%<*driver|tex1>
+\end{Verbatim}
+%<*driver>
+\fi
+%</driver>
+\end{bibexbox}
+
+%<*driver>
+\begin{tips}
+\item
+Use the \texttt{number} field (or the non-standard \texttt{casenmuber} field)
+for the case number. For Commission Decisions, use the (non-standard)
+\texttt{casenumber} or (\textsf{biblatex-oscola}) \texttt{userb} field for the
+Commission case number, \texttt{number} for the formal decision number, and give
+`Commission' as the \texttt{institution}.
+\end{tips}
+%</driver>
+
+
+%</driver|tex1>
+%<tex1>\bibliography{bath-bst-v1}
+%<*driver>
+\bibliography{bath-bst}
+
+\section*{Licence}
+
+\begin{markdown*}{hybrid=true}
+%</driver>
+%<readme>
+%<readme>## Licence
+%<readme>
+%<*driver|readme>
+Copyright 2016-2018 University of Bath.
+
+This work consists of the documented LaTeX file bath-bst.dtx and a Makefile.
+
+The text files contained in this work may be distributed and/or modified
+under the conditions of the [LaTeX Project Public License (LPPL)][lppl],
+either version 1.3c of this license or (at your option) any later
+version.
+
+This work is ‘maintained’ (as per LPPL maintenance status) by [Alex Ball][me].
+
+[lppl]: http://www.latex-project.org/lppl.txt "LaTeX Project Public License (LPPL)"
+[me]: https://github.com/alex-ball/bathbib "Alex Ball"
+%</driver|readme>
+%<*driver>
+\end{markdown*}
+
+\newpage
+\lstset
+ { style=dtxbst
+ , aboveskip=0pt
+ , belowskip=0pt
+ , numbers=left
+ , numberstyle=\color{gray}\footnotesize\itshape
+ , firstnumber=last
+ , basicstyle=\ttfamily\footnotesize
+ , breaklines=true
+ }%
+\tcbset
+ { listing options =
+ { style = tcblatex
+ , style = dtxbst
+ , basicstyle=\ttfamily\footnotesize
+ }
+ }%
+\MakeShortVerb{\|}%
+\DocInput{\jobname.dtx}
+
+%</driver>
+%<*driver|tex1>
+\end{document}
+%</driver|tex1>
+%<*bib|bib1>
+@book{adams2009tc1,
+ author = {Adams, Gomez},
+ year = {2009},
+ title = {Test Citation One},
+ address = {London},
+ publisher = {Imperial College Bookstall}}
+@book{adams2014tc2,
+ author = {Adams, Gomez},
+ year = {2014},
+ title = {Test Citation Two},
+ address = {Oxford},
+ publisher = {Oxford University Press}}
+@book{adams2017tc3,
+ author = {Adams, Gomez},
+ year = {2017},
+ title = {Test Citation Three},
+ address = {Cambridge},
+ publisher = {Cambridge University Press}}
+%</bib|bib1>
+%<*bst1|bst2>
+% \fi
+%
+% \section{Implementation}
+%
+% The line numbers for the listings below match |bathx.bst|.
+% \setcounter{lstnumber}{16}
+%
+% \subsection{Data model}
+%
+% We begin by listing the entry fields that we will recognize. These are the
+% standard Bib\TeX\ ones plus |archive|, |doi|, |eid|, |eprint|, |entrysubtype|,
+% |eventyear|, |keywords|, |language|, |library|, |options|, |pubstate|,
+% |sortyear|, |titleaddon|, |translator|, |url|, |urldate|, |urlyear|, |userb|,
+% |venue|, and |version|, all of which have been backported from \textsf{natbib}
+% and \textsf{biblatex}. |casenumber| is specific to this style.
+%
+% \begin{macrocode}
+ENTRY
+ { address
+ archive
+ author
+ booktitle
+ casenumber
+ chapter
+ doi
+ edition
+ editor
+ eid
+ entrysubtype
+ eprint
+ eventyear
+ howpublished
+ institution
+ journal
+ key
+ keywords
+ language
+ library
+ month
+ note
+ number
+ options
+ organization
+ pages
+ publisher
+ pubstate
+ school
+ series
+ sortyear
+ title
+ titleaddon
+ translator
+ type
+ url
+ urldate
+ urlyear
+ userb
+ venue
+ version
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+% \end{macrocode}
+%
+% \subsection{Writing references out to a file}
+%
+% We define a set of integers for saving an output state. We will use them to
+% to implement the mechanism for stringing the elements of the reference
+% together. Whenever an element is printed, it is separated from any previous
+% previous text by a delimiter, and the delimiter chosen depends on the state.
+% We define five states which trigger increasingly strong delimiters.
+%
+% \begin{macrocode}
+INTEGERS { output.state before.all mid.clause mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.clause :=
+ #2 'mid.sentence :=
+ #3 'after.sentence :=
+ #4 'after.block :=
+}
+% \end{macrocode}
+%
+% We also define two variables to store strings in.
+%
+% \begin{macrocode}
+STRINGS { s t }
+% \end{macrocode}
+%
+% The |output.nonnull| function removes an element from the stack, writes the
+% appropriate delimiter to the .bbl file depending on the state, then restores
+% the original element. Afterwards, the output state is set to |mid.sentence|.
+%
+% \begin{itemize}
+% \item |before.all| = nothing is written.
+% \item |mid.clause| = a space is written.
+% \item |mid.sentence| = a comma is written.
+% \item |after.sentence| = a period is written.
+% \item |after.block| = a period, line break and |\newblock| are written.
+% \end{itemize}
+%
+% \begin{macrocode}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.sentence =
+ { add.period$ " " * write$ }
+ { output.state before.all =
+ 'write$
+ { output.state mid.clause =
+ { " " * write$ }
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+% \end{macrocode}
+%
+% The `after' output states persist if nothing is printed. The `mid.clause'
+% state shouldn't, so we provide a macro for reverting to `mid.sentence'.
+%
+% \begin{macrocode}
+FUNCTION {end.clause}
+{ output.state mid.clause =
+ { mid.sentence 'output.state := }
+ 'skip$
+ if$
+}
+% \end{macrocode}
+%
+% Before writing anything out, we need to make sure there is something to be
+% printed. We provide two functions for this: |output| is silent, while
+% |output.check| will write a warning to the log that the field is empty. The
+% latter consumes an additional string (at the top of the stack) for printing
+% in the warning message.
+%
+% \begin{macrocode}
+FUNCTION {output}
+{ duplicate$ empty$
+ { pop$ end.clause }
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$
+ end.clause
+ }
+ 'output.nonnull
+ if$
+}
+% \end{macrocode}
+%
+% We provide some convenience functions for changing the state from
+% |mid.sentence|. The order of precedence is before.all, after.block,
+% after.sentence, mid.clause/mid.sentence.
+%
+% \begin{macrocode}
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {continue.clause}
+{ output.state after.sentence =
+ 'skip$
+ { output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { mid.clause 'output.state := }
+ if$
+ }
+ if$
+ }
+ if$
+}
+% \end{macrocode}
+%
+% The |date.block| function is a handy alias.
+%
+% \begin{macrocode}
+FUNCTION {date.block}
+{ new.block
+}
+% \end{macrocode}
+%
+% The |bibinfo| functions consume two tokens: the value and name of a field
+% respectively. If the value is non-null, it is written out to the .bbl file in
+% the form |\bibinfo{field name}| |{field value}|. If the value is missing, the
+% tokens are replaced with an empty string; if the value is empty, it is put
+% back on the stack. The |check| version does this silently, while the |warn|
+% version issues warnings in the log file if the value is missing or empty.
+%
+% \begin{macrocode}
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ { pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ { swap$ pop$
+ }
+ { swap$
+ "\bibinfo{" swap$ * "}{" * swap$ * "}" *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ { swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ { swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ "\bibinfo{" swap$ * "}{" * swap$ * "}" *
+ }
+ if$
+ }
+ if$
+}
+% \end{macrocode}
+%
+% At the end of the reference, |fin.entry| writes out a final period and line
+% break. We will handle the start of the reference a bit later.
+%
+% \begin{macrocode}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+% \end{macrocode}
+%
+% \subsection{Convenience functions}
+%
+% We define some useful logical operations for use with |if$|.
+%
+% \begin{macrocode}
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+% \end{macrocode}
+%
+% |new.block.checkb| consumes two tokens and starts a new block if at least one
+% is non-empty.
+%
+% \begin{macrocode}
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+% \end{macrocode}
+%
+% |field.or.null| replaces an empty (null) field value with an empty string.
+%
+% \begin{macrocode}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+% \end{macrocode}
+%
+% The \texttt{emphasize} function applies emphasis.
+%
+% \begin{macrocode}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+% \end{macrocode}
+%
+% The \texttt{tie.or.space.prefix} function prefixes a string with a non-breaking
+% space if it is up to three characters long, or a normal space otherwise.
+%
+% \begin{macrocode}
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+% \end{macrocode}
+%
+% The \texttt{capitalize} function makes putting strings into sentence case a
+% little more robust.
+%
+% \begin{macrocode}
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+% \end{macrocode}
+%
+% The \texttt{space.word} function adds a space to either side of a string.
+%
+% \begin{macrocode}
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+% \end{macrocode}
+%
+% |either.or.check| takes a string and a field, and if the field is not empty,
+% writes a warning to the log file.
+%
+% \begin{macrocode}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+% \end{macrocode}
+%
+% |is.online| checks whether the entry should have `[Online]' in it somewhere.
+%
+% \begin{macrocode}
+FUNCTION {is.online}
+{ type$ "software" =
+ { #0 }
+ { url empty$
+ { type$ "online" =
+ { #1 }
+ { #0 }
+ if$
+ }
+ { #1 }
+ if$
+ }
+ if$
+}
+% \end{macrocode}
+%
+% \subsection{Bibliography strings}
+%
+% Instead of dropping literal English words into the text of references, we
+% will use these functions instead. This makes it easier to translate the style
+% into other languages.
+%
+% \begin{macrocode}
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds" }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.translator}
+{ "Trans." }
+
+FUNCTION {bbl.edition}
+{ "ed." }
+
+FUNCTION {bbl.volume}
+{ "vol." }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "no." }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "pp." }
+
+FUNCTION {bbl.page}
+{ "p." }
+
+FUNCTION {bbl.chapter}
+{ "chap." }
+
+FUNCTION {bbl.techrep}
+{ "Tech. Rep." }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+FUNCTION {bbl.first}
+{ "1st" }
+
+FUNCTION {bbl.second}
+{ "2nd" }
+
+FUNCTION {bbl.third}
+{ "3rd" }
+
+FUNCTION {bbl.fourth}
+{ "4th" }
+
+FUNCTION {bbl.fifth}
+{ "5th" }
+
+FUNCTION {bbl.st}
+{ "st" }
+
+FUNCTION {bbl.nd}
+{ "nd" }
+
+FUNCTION {bbl.rd}
+{ "rd" }
+
+FUNCTION {bbl.th}
+{ "th" }
+
+FUNCTION {bbl.commission}
+{ "Commission Decision" }
+
+FUNCTION {bbl.online}
+{ "[Online]" }
+
+FUNCTION {bbl.nodate}
+{ "n.d." }
+
+FUNCTION {bbl.inpreparation}
+{ "preprint" }
+
+FUNCTION {bbl.submitted}
+{ "preprint" }
+
+FUNCTION {bbl.inpress}
+{ "in press" }
+
+FUNCTION {bbl.unpublished}
+{ "Unpublished" }
+
+% \end{macrocode}
+%
+% These macros are codes that users can put in their \texttt{.bib} file instead of
+% literal strings.
+%
+% \begin{macrocode}
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+% \end{macrocode}
+%
+% This function allows us to convert cardinal numbers to English ordinals.
+%
+% \begin{macrocode}
+FUNCTION {eng.ord}
+{ duplicate$ "1" swap$ *
+ #-2 #1 substring$ "1" =
+ { bbl.th * }
+ { duplicate$ #-1 #1 substring$
+ duplicate$ "1" =
+ { pop$ bbl.st * }
+ { duplicate$ "2" =
+ { pop$ bbl.nd * }
+ { "3" =
+ { bbl.rd * }
+ { bbl.th * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+% \end{macrocode}
+%
+% \subsection{Name handling}
+%
+% |format.names| consumes two tokens (field, string field name) and returns a
+% list of names in the form `Surname, Suffix, Initials Prefix'. To help with this,
+% we define some additional integers and strings.
+%
+% \begin{macrocode}
+INTEGERS { nameptr namesleft numnames }
+STRINGS { bibinfo }
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$
+ 'skip$
+ { 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ll}{, jj}{, f{.}.}{~vv}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ { " " * bbl.etal *
+ }
+ { bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ }
+ if$
+}
+% \end{macrocode}
+%
+% |format.names.ed| consumes two tokens (field, string field name) and writes
+% out a list of names in the form `Initials Prefix Surname Suffix'.
+%
+% \begin{macrocode}
+FUNCTION {format.names.ed}
+{ 'bibinfo :=
+ duplicate$ empty$
+ 'skip$
+ { 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{f{.}.~}{vv~}{ll}{ jj}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ { " " * bbl.etal *
+ }
+ { bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ }
+ if$
+}
+% \end{macrocode}
+%
+% |format.authors| returns author names.
+%
+% \begin{macrocode}
+FUNCTION {format.authors}
+{ author "author" format.names
+}
+% \end{macrocode}
+%
+% |format.editors| returns editor names, and appends `ed.' or `eds' as
+% appropriate.
+%
+% \begin{macrocode}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ { "," *
+ " " *
+ get.bbl.editor
+ *
+ }
+ if$
+}
+% \end{macrocode}
+%
+% |format.translators| does likewise for translators, in the form
+% `(name, Trans.)'.
+%
+% \begin{macrocode}
+FUNCTION {format.translators}
+{ translator "translator" format.names.ed duplicate$ empty$ 'skip$
+ { "," *
+ " " *
+ bbl.translator *
+ "(" swap$ *
+ ")" *
+ }
+ if$
+}
+% \end{macrocode}
+%
+% |format.full.names| consumes one token (a name field) and, contrary to what
+% the name might suggest, returns a list of names in the form `Prefix Surname'.
+% It is called `full' because the list is not truncated.
+%
+% \begin{macrocode}
+FUNCTION {format.full.names}
+{'s :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$
+ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ { " " * bbl.etal *
+ }
+ { bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+% \end{macrocode}
+%
+% |author.editor.key.full| returns the author part of an author--year citation.
+% In order of preference, it outputs the author surnames, editor surnames, the
+% |key| field, or the first three characters of the entry key. It is used in
+% |book| and |inbook| entry types.
+%
+% \begin{macrocode}
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+% \end{macrocode}
+%
+% |editor.key.full| does similar but skips the author names. It is used for the
+% |proceedings| entry type.
+%
+% \begin{macrocode}
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+% \end{macrocode}
+%
+% |author.key.full| does similar but skips the editor names. It is used for all
+% other entry types.
+%
+% \begin{macrocode}
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+% \end{macrocode}
+%
+% |make.full.names| chooses between the above.
+%
+% \begin{macrocode}
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+% \end{macrocode}
+%
+% |output.bibitem| writes out the very start of the entry in the bibliography,
+% which looks like |\bibitem[{|author--year elements|}]{|entry key|}|. The
+% author--year part uses special \textsf{natbib} syntax: either `Author(Year)'
+% or `Truncated author list(Year)Full author list'. The |calc.label| function
+% below supplies the truncated author list, opening parenthesis and year; you
+% see here the closing parenthesis and conditional inclusion of the full list.
+% The function then starts a new line and puts the entry driver into the
+% |before.all| output state.
+%
+% \begin{macrocode}
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[{" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "}]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+% \end{macrocode}
+%
+% |format.key| takes a field (author or editor). If the field is empty, it
+% replaces it with the key field (if not non-null). Otherwise, replaces it with
+% an empty string. It is used as a last resort to stop an entry beginning with
+% the date.
+%
+% \begin{macrocode}
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+% \end{macrocode}
+%
+% \subsection{Titles}
+%
+% |select.language| checks if the field before was written out, and if so,
+% wraps |{\selectlanguage{language}\dots}| around it.
+%
+% \begin{macrocode}
+FUNCTION {select.language}
+{ duplicate$ empty$
+ 'pop$
+ { language empty$
+ 'skip$
+ { "{\selectlanguage{" language * "}" * swap$ * "}" * }
+ if$
+ }
+ if$
+}
+% \end{macrocode}
+%
+% |format.title| returns the title and language fields, where the title
+% should be in the upright shape.
+%
+% \begin{macrocode}
+FUNCTION {format.title}
+{ title
+ duplicate$ empty$ 'skip$
+ { "t" change.case$ }
+ if$
+ "title" bibinfo.check
+ duplicate$ empty$
+ 'skip$
+ { select.language }
+ if$
+}
+% \end{macrocode}
+%
+% |format.btitle| returns the title and language fields, where the title
+% should be in the italic shape.
+%
+% \begin{macrocode}
+FUNCTION {format.btitle}
+{ title
+ duplicate$ empty$ 'skip$
+ { "t" change.case$ }
+ if$
+ "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ { emphasize
+ select.language
+ }
+ if$
+}
+% \end{macrocode}
+%
+% |format.titleaddon| returns the titleaddon field.
+%
+% \begin{macrocode}
+FUNCTION {format.titleaddon}
+{ titleaddon
+ duplicate$ empty$ 'skip$
+%<bst1> { "titleaddon" bibinfo.check }
+%<bst2> { "[" swap$ "titleaddon" bibinfo.check * "]" * }
+ if$
+}
+% \end{macrocode}
+%
+% |format.version| returns the version field.
+%
+% \begin{macrocode}
+FUNCTION {format.version}
+{ version
+ duplicate$ empty$ 'skip$
+ { "(v." swap$ *
+ "version" bibinfo.check
+ ")" *
+ }
+ if$
+}
+% \end{macrocode}
+%
+% |get.title.addenda| is a convenience for writing out the elements that
+% normally follow the title in |mid.clause| state.
+%
+% \begin{macrocode}
+FUNCTION {get.title.addenda}
+{ continue.clause
+ format.version output
+ continue.clause
+ format.titleaddon output
+ continue.clause
+%<*bst2>
+ library empty$
+ type$ "image" =
+ or
+ is.online
+ and
+ journal empty$
+ and
+ { bbl.online output }
+ 'skip$
+ if$
+ continue.clause
+%</bst2>
+ format.translators output
+}
+% \end{macrocode}
+%
+% |word.in| provides the `In:' before book titles.
+%
+% \begin{macrocode}
+FUNCTION {word.in}
+{ bbl.in capitalize
+ ":" *
+ " " * }
+% \end{macrocode}
+%
+% |format.booktitle| returns the booktitle field in italics.
+%
+% \begin{macrocode}
+FUNCTION {format.booktitle}
+{ booktitle
+ duplicate$ empty$ 'skip$
+ { "t" change.case$ }
+ if$
+ "booktitle" bibinfo.check
+ emphasize
+}
+% \end{macrocode}
+%
+% |format.in.ed.booktitle| returns the booktitle, prepended by `In: editors,
+% eds.'
+%
+% \begin{macrocode}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ { editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ { "," *
+ " " *
+ get.bbl.editor add.period$
+ " " *
+ * swap$
+ *
+ word.in swap$ *
+ }
+ if$
+ }
+ if$
+}
+% \end{macrocode}
+%
+% |legal.journal.shape| emphasizes the preceding string if it matches `OJ' but
+% otherwise does nothing.
+%
+% \begin{macrocode}
+FUNCTION {legal.journal.shape}
+{ duplicate$ "OJ" =
+ 'emphasize
+ 'skip$
+ if$
+}
+% \end{macrocode}
+%
+% \subsection{Dates}
+%
+% |nodate.check| looks at the most recent token. If it is empty, replaces it
+% with `n.d.' unless either |sortyear| or the |nonodate| option is present.
+%
+% \begin{macrocode}
+FUNCTION {nodate.check}
+{
+%<bst1> skip$
+%<*bst2>
+duplicate$ empty$
+ sortyear empty$
+ and
+ { options field.or.null "nonodate" =
+ 'skip$
+ { pop$ bbl.nodate }
+ if$
+ }
+ 'skip$
+ if$
+%</bst2>
+}
+% \end{macrocode}
+%
+% |format.date| returns the year and any disambiguation label.
+%
+% \begin{macrocode}
+FUNCTION {format.date}
+{ year "year" bibinfo.check nodate.check
+ extra.label *
+}
+% \end{macrocode}
+%
+% |format.jur.date| wraps the year and any disambiguation label in parentheses
+% if a volume number is provided or if |year-essential=false| has been given
+% as the |options|. If there is no volume number, or if |year-essential=true|
+% has been given as the |options|, then the year will be wrapped in square
+% brackets or, if |scottish-style| has been given as the |options| or |sc| as
+% the |keywords|, left bare. But if the journal is `OJ' or `ECR', the date is
+% wrapped in brackets regardless. Not complicated at all, really.
+%
+% \begin{macrocode}
+FUNCTION {format.date.brackets}
+{ format.date
+ "[" swap$ * "]" *
+}
+FUNCTION {format.date.parens}
+{ format.date
+ "(" swap$ * ")" *
+}
+FUNCTION {format.jur.date.essential}
+{ options field.or.null "scottish-style" =
+ keywords field.or.null "sc" =
+ or
+ 'format.date
+ 'format.date.brackets
+ if$
+}
+FUNCTION {format.jur.date}
+{ journal field.or.null 's :=
+ s "OJ" =
+ s "ECR" =
+ or
+ 'format.date.brackets
+ { options field.or.null "year-essential=false" =
+ 'format.date.parens
+ { volume empty$
+ 'format.jur.date.essential
+ { options field.or.null "year-essential=true" =
+ 'format.jur.date.essential
+ 'format.date.parens
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+% \end{macrocode}
+%
+% |format.eu.date| wraps the year and any disambiguation label in square
+% brackets if (and only if) the journal title is `OJ' or `ECR'.
+%
+% \begin{macrocode}
+FUNCTION {format.eu.date}
+{ journal field.or.null 's :=
+ s "OJ" =
+ s "ECR" =
+ or
+ 'format.date.brackets
+ 'format.date
+ if$
+}
+% \end{macrocode}
+%
+% \subsection{Series, volumes, editions}
+%
+% |format.bvolume| returns the volume and series information (in italics),
+% with a comma between. A warning is given if |number| is also given.
+%
+% \begin{macrocode}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { emphasize ", " * swap$ * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+% \end{macrocode}
+%
+% |format.number.series| returns an empty string if a volume has been specified.
+% Otherwise, it returns the series and the number separated by a space.
+%
+% \begin{macrocode}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { number "number" bibinfo.check }
+ { series "series" bibinfo.check
+ number tie.or.space.prefix "number" bibinfo.check * *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+% \end{macrocode}
+%
+% |is.num| converts a string to an integer and ensures it is in the range 0--9.
+%
+% \begin{macrocode}
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+% \end{macrocode}
+%
+% |extract.num| takes a string. If it begins with an integer, it returns just
+% that integer. Otherwise it returns the whole string.
+%
+% \begin{macrocode}
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+% \end{macrocode}
+%
+% |convert.edition| should operate on the edition field. If the value begins
+% with a number (or is an English ordinal word from `first' to `fifth'), then it
+% returns the bibliography string version of the ordinal number (1st, 2nd,
+% 3rd\dots). Otherwise, returns the edition field verbatim.
+%
+% \begin{macrocode}
+FUNCTION {convert.edition}
+{ extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bbl.first 't := }
+ { s "second" = s "2" = or
+ { bbl.second 't := }
+ { s "third" = s "3" = or
+ { bbl.third 't := }
+ { s "fourth" = s "4" = or
+ { bbl.fourth 't := }
+ { s "fifth" = s "5" = or
+ { bbl.fifth 't := }
+ { s #1 #1 substring$ is.num
+ { s eng.ord 't := }
+ { edition 't := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ t
+}
+% \end{macrocode}
+%
+% |format.edition| returns the converted edition field and `ed.'
+%
+% \begin{macrocode}
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ { convert.edition
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+% \end{macrocode}
+%
+% If the type is provided, |format.thesis.type| deletes the preceding string
+% (the default value) and writes the type field with an initial capital.
+% Otherwise it does nothing.
+%
+% \begin{macrocode}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+% \end{macrocode}
+%
+% If the type is provided, |format.booklet.type| simply writes the type field
+% with an initial capital. Otherwise it returns an empty string.
+%
+% \begin{macrocode}
+FUNCTION {format.booklet.type}
+{ type duplicate$ empty$
+ { pop$ "" }
+ { "type" bibinfo.check}
+ if$
+}
+% \end{macrocode}
+%
+% |format.tr.number| returns the series, type and number fields as one of
+% `(number)', `(type number)', `(series, number)', or `(series, type number)'.
+% If a series is given, a |continue.clause| is inserted to remove the preceeding
+% comma.
+%
+% If the series begins `HL\textvisiblespace', it is assumed to be a House of
+% Lords paper, thus the number acquires additional parentheses. If it equals
+% `C', `Cd', `Cmd', `Cmnd' or `Cm', it is followed by a dot rather than a comma
+% (implemented as |add.cmd.number|). To help with this, |format.legr.number|
+% consumes one token (the number) and returns the series and number as one
+% token.
+%
+% \begin{macrocode}
+FUNCTION {add.cmd.number}
+{ ". " swap$ "number" bibinfo.check *
+}
+FUNCTION {format.legr.number}
+{ series field.or.null 's :=
+ s "C" =
+ 'add.cmd.number
+ { s "Cd" =
+ 'add.cmd.number
+ { s "Cmd" =
+ 'add.cmd.number
+ { s "Cmnd" =
+ 'add.cmd.number
+ { s "Cm" =
+ 'add.cmd.number
+ { s #1 #3 substring$ 't :=
+ t "HL " =
+ { ", (" swap$
+ "number" bibinfo.check *
+ ")" *
+ }
+ { ", " swap$
+ "number" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ series duplicate$ empty$
+ { pop$
+ type duplicate$ empty$
+ { pop$
+ number duplicate$ empty$
+ { pop$ ""
+ }
+ { "(" swap$
+ "number" bibinfo.check
+ * ")" *
+ }
+ if$
+ }
+ { "(" swap$
+ "t" change.case$ "type" bibinfo.check
+ *
+ number duplicate$ empty$
+ 'pop$
+ { tie.or.space.prefix
+ "number" bibinfo.check
+ * *
+ }
+ if$
+ ")" *
+ }
+ if$
+ }
+ { "(" swap$ *
+ type duplicate$ empty$
+ { pop$
+ number duplicate$ empty$
+ 'pop$
+ { format.legr.number * }
+ if$
+ }
+ { "t" change.case$ "type" bibinfo.check
+ *
+ number duplicate$ empty$
+ 'pop$
+ { tie.or.space.prefix
+ "number" bibinfo.check
+ * *
+ }
+ if$
+ }
+ if$
+ ")" *
+ continue.clause
+ }
+ if$
+}
+% \end{macrocode}
+%
+% |format.manual.number| returns the series, type and number fields as one of
+% `(number)', `(type number)', `(series number)', or `(series number, type)'.
+%
+% \begin{macrocode}
+FUNCTION {format.manual.number}
+{ series duplicate$ empty$
+ { pop$
+ type duplicate$ empty$
+ { pop$
+ number duplicate$ empty$
+ { pop$ ""
+ }
+ { "number" bibinfo.check
+ }
+ if$
+ }
+ { "t" change.case$ "type" bibinfo.check
+ number duplicate$ empty$
+ 'pop$
+ { tie.or.space.prefix
+ "number" bibinfo.check
+ * *
+ }
+ if$
+ }
+ if$
+ }
+ { number duplicate$ empty$
+ 'pop$
+ { tie.or.space.prefix
+ "number" bibinfo.check
+ * *
+ }
+ if$
+ type duplicate$ empty$
+ 'pop$
+ { ", " swap$ *
+ "t" change.case$ "type" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+}
+% \end{macrocode}
+%
+% |format.chapter| prints out the chapter field in the form `c.1', for use with
+% UK primary legislation.
+%
+% \begin{macrocode}
+FUNCTION {format.chapter}
+{ chapter duplicate$ empty$
+ { pop$ "" }
+ { "chapter" bibinfo.check
+ "c." swap$ *
+ }
+ if$
+}
+% \end{macrocode}
+%
+% |format.series.number.chapter| prints out the series and chapter/number fields
+% in the form `(series, c.1)' or `(series, number)', for use with UK legislation.
+%
+% \begin{macrocode}
+FUNCTION {format.series.number.chapter}
+{ series duplicate$ empty$
+ { pop$ "(" }
+ { "series" bibinfo.check
+ "(" swap$ *
+ }
+ if$
+ type duplicate$ empty$
+ { pop$
+ number duplicate$ empty$
+ 'pop$
+ { "number" bibinfo.check
+ swap$ duplicate$ "(" =
+ { swap$ * }
+ { ", " * swap$ * }
+ if$
+ }
+ if$
+ chapter duplicate$ empty$
+ 'pop$
+ { "chapter" bibinfo.check
+ swap$ duplicate$ "(" =
+ { swap$ * }
+ { ", c." * swap$ * }
+ if$
+ }
+ if$
+ }
+ { "type" bibinfo.check
+ swap$ duplicate$ "(" =
+ { swap$ * }
+ { ", " * swap$ * }
+ if$
+ number duplicate$ empty$
+ { pop$
+ chapter duplicate$ empty$
+ 'pop$
+ { "chapter" bibinfo.check
+ " c." swap$ * *
+ }
+ if$
+ }
+ { "number" bibinfo.check
+ " " swap$ * *
+ chapter duplicate$ empty$
+ 'pop$
+ { "chapter" bibinfo.check
+ ", c." swap$ * *
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ ")" *
+ duplicate$ "()" =
+ { pop$ "" }
+ 'skip$
+ if$
+}
+% \end{macrocode}
+%
+% |format.case.number| returns the number field, suppressing punctuation,
+% or inserts a period. In the case of EU Commission Decisions, the format is
+% `(userb) Commission Decision number`
+%
+% \begin{macrocode}
+FUNCTION {format.case.number}
+{ casenumber duplicate$ empty$
+ { pop$
+ number duplicate$ empty$
+ { pop$ "" }
+ { institution field.or.null "Commission" =
+ userb empty$ not
+ and
+ { userb "userb" bibinfo.check
+ "(" swap$ * ") " * bbl.commission * " " *
+ swap$ "number" bibinfo.check *
+ }
+ { "number" bibinfo.check
+ "(" swap$ * ")" *
+ }
+ if$
+ }
+ if$
+ }
+ { "casenumber" bibinfo.check
+ "(" swap$ * ")" *
+ institution field.or.null "Commission" =
+ number empty$ not
+ and
+ { " " * bbl.commission * " " *
+ number "number" bibinfo.check *
+ }
+ 'skip$
+ if$
+ }
+ if$
+}
+% \end{macrocode}
+%
+% |eu.case.check| checks if the case is in OJ or has a number, in which case
+% punctuation is suppressed.
+%
+% \begin{macrocode}
+FUNCTION {eu.case.check}
+{ journal field.or.null "OJ" =
+ number empty$ not
+ or
+ casenumber empty$ not
+ or
+ 'continue.clause
+ 'new.block
+ if$
+}
+% \end{macrocode}
+%
+% \subsection{Notes}
+%
+% |format.note| returns the note field, but changes the case of the first
+% letter according to the output state (unless protected by braces).
+%
+% \begin{macrocode}
+FUNCTION {format.note}
+{ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ output.state mid.clause =
+ or
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+% \end{macrocode}
+%
+% \subsection{Addresses and publishers}
+%
+% |format.org.or.pub| intercepts a publisher (or whatever) being written out as
+% bibinfo. If the write will succeed and an address has been specified, the
+% address is written out first, then a colon and space; then the original write
+% is allowed to proceed.
+%
+% \begin{macrocode}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ { address "address" bibinfo.check *
+ t empty$
+ 'skip$
+ { address empty$
+ 'skip$
+ { ": " * }
+ if$
+ t *
+ }
+ if$
+ }
+ if$
+}
+% \end{macrocode}
+%
+% The next three functions write out the address plus the publisher,
+% organization and institution respectively.
+%
+% \begin{macrocode}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+FUNCTION {format.organization.address}
+{ publisher empty$
+ { organization "organization" bibinfo.check format.org.or.pub }
+ { publisher "publisher" bibinfo.warn format.org.or.pub
+ organization duplicate$ empty$
+ 'pop$
+ { "organization" bibinfo.check ". " * swap$ * }
+ if$
+ }
+ if$
+}
+FUNCTION {format.institution.address}
+{ publisher empty$
+ { institution "institution" bibinfo.check format.org.or.pub }
+ { publisher "publisher" bibinfo.warn format.org.or.pub
+ institution duplicate$ empty$
+ 'pop$
+ { "institution" bibinfo.check ". " * swap$ * }
+ if$
+ }
+ if$
+}
+% \end{macrocode}
+%
+% We add a macro for printing the library (repository) holding an eprint.
+%
+% \begin{macrocode}
+FUNCTION {format.library}
+{ library "library" bibinfo.check
+ emphasize
+%<*bst2>
+ duplicate$ empty$ not
+ is.online
+ and
+ journal empty$
+ and
+ { " " * bbl.online * }
+ 'skip$
+ if$
+%</bst2>
+}
+% \end{macrocode}
+%
+% The library field is also used for where a physical image is kept.
+% As we have only one address field, it will attach to whichever is
+% present out of organization, publisher and library. In case there
+% is more than one, it will attach to |publisher| in preference to
+% |library| and |library| in preference to |organization|.
+%
+% \begin{macrocode}
+FUNCTION {format.img.library}
+{ library duplicate$ empty$
+ { pop$ "" }
+ { "library" bibinfo.check
+ "At: " swap$ *
+ }
+ if$
+}
+FUNCTION {format.img.library.address}
+{ address empty$ library empty$ and institution empty$ and
+ { "" }
+ { "At: "
+ address "address" bibinfo.check *
+ library duplicate$ empty$
+ { institution duplicate$ empty$
+ { pop$ "" }
+ { address empty$
+ 'skip$
+ { ". " swap$ }
+ if$
+ "institution" bibinfo.check * *
+ }
+ if$
+ }
+ { address empty$
+ 'skip$
+ { ". " swap$ }
+ if$
+ "library" bibinfo.check * *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.pub.org.lib.address}
+{ publisher duplicate$ empty$
+ { pop$
+ organization duplicate$ empty$
+ { pop$
+ format.img.library.address }
+ { "organization" bibinfo.check
+ library empty$
+ { format.org.or.pub }
+ { ". " *
+ format.img.library.address *
+ }
+ if$
+ }
+ if$
+ }
+ { "publisher" bibinfo.warn format.org.or.pub
+ library empty$
+ 'skip$
+ { ". " *
+ format.img.library *
+ }
+ if$
+ }
+ if$
+}
+
+% \end{macrocode}
+%
+% \subsection{Pinpointing}
+%
+% |multi.page.check| should operate on the pages field. If the value is a range,
+% that is, contains `-', `,' or `+', returns 1, otherwise returns 0.
+%
+% \begin{macrocode}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+% \end{macrocode}
+%
+% |n.dashify| converts hyphens in page ranges into en dashes.
+%
+% \begin{macrocode}
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+% \end{macrocode}
+%
+% |format.pages| returns the pages fields, prefixed by `p.' or `pp.' as
+% appropriate.
+%
+% \begin{macrocode}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ { bbl.pages swap$
+ n.dashify
+ }
+ { bbl.page swap$
+ }
+ if$
+ "pages" bibinfo.check
+ *
+ }
+ if$
+}
+% \end{macrocode}
+%
+% |format.journal.pages| does similar, but it looks at the preceding string and,
+% if both are non-empty, inserts a comma between it and the pages string.
+%
+% \begin{macrocode}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ { ", " *
+ swap$
+ n.dashify
+ pages multi.page.check
+ 'bbl.pages
+ 'bbl.page
+ if$
+ swap$
+ "pages" bibinfo.check
+ * *
+ }
+ if$
+ }
+ if$
+}
+% \end{macrocode}
+%
+% |format.journal.eid| returns the EID, but it looks at the preceding string
+% and, if both are non-empty, inserts a comma between it and the EID string.
+% The EID is a code used by some online-only journals to identify an article
+% within a volume or issue instead of a page range (since the page numbering
+% resets for each article, not each volume\slash issue).
+%
+% \begin{macrocode}
+FUNCTION {format.journal.eid}
+{ eid "eid" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$ 'skip$
+ { ", " *
+ }
+ if$
+ swap$ *
+ }
+ if$
+}
+% \end{macrocode}
+%
+% |format.vol.num.pages| returns the journal pinpointing in the form
+% `volume(number), eid\slash pages'. It writes a warning to the log if |number|
+% is given instead of |volume|: if a journal does not organize itself into
+% volumes, treat every issue as its own volume! Since the Harvard (Bath) style
+% places publication state information in the volume position, the |pubstate|
+% field from \textsf{biblatex} is emulated here.
+%
+% \begin{macrocode}
+FUNCTION {format.vol.num.pages}
+{ pubstate field.or.null
+ duplicate$ "inpress" =
+ { pop$ bbl.inpress }
+ { duplicate$ "submitted" =
+ { pop$ bbl.submitted }
+ { duplicate$ "inpreparation" =
+ { pop$ bbl.inpreparation }
+ { pop$ "" }
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$ empty$
+ { pop$
+ volume field.or.null
+ duplicate$ empty$ 'skip$
+ { "volume" bibinfo.check
+ }
+ if$
+ number "number" bibinfo.check duplicate$ empty$ 'skip$
+ { swap$ duplicate$ empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ swap$
+ "(" swap$ * ")" *
+ }
+ if$ *
+ eid empty$
+ { format.journal.pages }
+ { format.journal.eid }
+ if$
+ }
+ 'skip$
+ if$
+}
+% \end{macrocode}
+%
+% |format.chapter.pages| returns pinpointing information for books, in the
+% form `chap.\@ chapter, p.pages'.
+%
+% \begin{macrocode}
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+% \end{macrocode}
+%
+% |format.journal.series.vol.pages| returns the journal title and pinpointing
+% in the form `volume journal pages', `journal volume-pages' or `journal
+% series\,volume/pages', depending on the journal.
+%
+% \begin{macrocode}
+FUNCTION {format.journal.series.vol.pages}
+{ journal field.or.null
+ duplicate$ "OJ" =
+ { "journal" bibinfo.check
+ emphasize
+ series empty$
+ volume empty$
+ and
+ pages empty$
+ and
+ 'skip$
+ { " " * }
+ if$
+ series "series" bibinfo.check
+ volume "volume" bibinfo.check *
+ duplicate$ empty$
+ 'skip$
+ { pages field.or.null duplicate$ empty$
+ 'skip$
+ { "/" swap$ *
+ }
+ if$ *
+ }
+ if$ *
+ }
+ { duplicate$ "ECR" =
+ { "journal" bibinfo.check
+ volume "volume" bibinfo.check
+ duplicate$ empty$
+ 'skip$
+ { " " swap$ * "--" * * }
+ if$
+ }
+ { "journal" bibinfo.check
+%<*bst2>
+ is.online
+ { " " * bbl.online * }
+ 'skip$
+ if$
+%</bst2>
+ volume "volume" bibinfo.check
+ duplicate$ empty$
+ 'pop$
+ { " " * swap$ * }
+ if$
+ pages empty$
+ eid empty$
+ and
+ 'skip$
+ { " " * }
+ if$
+ }
+ if$
+ }
+ if$
+ eid empty$
+ { pages "pages" bibinfo.check * }
+ { eid "eid" bibinfo.check * }
+ if$
+}
+% \end{macrocode}
+%
+% \subsection{URLs}
+%
+% |format.eprint| constructs a string |\eprint[archive]{eprint}|.
+%
+% \begin{macrocode}
+FUNCTION {format.eprint}
+{ eprint duplicate$ empty$
+ 'skip$
+ { "\eprint"
+ archive empty$
+ 'skip$
+ { "[" * archive * "]" * }
+ if$
+ "{" * swap$ * "}" *
+ }
+ if$
+}
+% \end{macrocode}
+%
+% |format.url| constructs a string |Available from: \url{url} [Accessed urldate]|.
+%
+% \begin{macrocode}
+FUNCTION {format.url}
+{ doi empty$
+ { url }
+ { "https://doi.org/" doi * }
+ if$
+ duplicate$ empty$
+ { pop$ "" }
+ { "\urlprefix\url{" swap$ * "}" * }
+ if$
+ urlyear empty$
+ { urldate empty$
+ 'skip$
+ { " [\urldateprefix{}" * urldate * "]" * }
+ if$
+ }
+ { " [\urldateprefix{}" * urlyear * "]" * }
+ if$
+}
+% \end{macrocode}
+%
+% \subsection{Cross referencing between entries}
+%
+% The following functions are used for entries that look like `Author, (Year).
+% Title. In: Author (Year).' In practice, they should never be used with Harvard
+% (Bath).
+%
+% \begin{macrocode}
+FUNCTION {format.article.crossref}
+{ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{ word.in
+ " \cite{" * crossref * "}" *
+}
+% \end{macrocode}
+%
+% |format.book.crossref| is a bit different as it is intended for cases where
+% the given book is volume X of a larger work: `Author, (Year). Title. Vol.\@
+% volume of Author (Year).' In the absence of a volume, writes a warning to the
+% log and behaves like the above.
+%
+% \begin{macrocode}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ capitalize
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+% \end{macrocode}
+%
+% \subsection{Formatting drivers for specific entry types}
+%
+% These functions are called when an entry of the given type is being
+% formatted.
+%
+% \subsubsection{Article}
+%
+% \begin{macrocode}
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ get.title.addenda
+ new.block
+ crossref missing$
+ { journal "t" change.case$
+ "journal" bibinfo.check
+ emphasize
+ "journal" output.check
+%<*bst2>
+ is.online
+ { continue.clause
+ bbl.online output
+ }
+ 'skip$
+ if$
+%</bst2>
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ format.note output
+ new.block
+ format.eprint output
+ format.url output
+ fin.entry
+}
+% \end{macrocode}
+%
+% \subsubsection{Book}
+%
+% \begin{macrocode}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { editor empty$
+ { format.btitle "title" output.check
+ format.date "year" output.check
+ year empty$ 'skip$ { date.block } if$
+ get.title.addenda
+ }
+ { format.editors "author and editor" output.check
+ editor format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ get.title.addenda
+ }
+ if$
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ get.title.addenda
+ }
+ if$
+ format.bvolume output
+ format.number.series output
+ new.block
+ format.edition output
+ crossref missing$
+ { new.sentence
+ format.publisher.address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ new.block
+ format.note output
+ new.block
+ format.eprint output
+ format.url output
+ fin.entry
+}
+% \end{macrocode}
+%
+% \subsubsection{Unpublished or self-published monograph}
+%
+% \begin{macrocode}
+FUNCTION {booklet}
+{ output.bibitem
+ author empty$
+ { format.btitle "title" output.check
+ format.date "year" output.check
+ year empty$ 'skip$ { date.block } if$
+ get.title.addenda
+ }
+ { format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ get.title.addenda
+ }
+ if$
+ new.block
+ format.booklet.type output
+ new.block
+ howpublished "howpublished" bibinfo.check output
+ new.block
+ format.note output
+ publisher empty$ 'skip$
+ { new.block}
+ if$
+ format.publisher.address output
+ new.block
+ format.eprint output
+ format.url output
+ fin.entry
+}
+% \end{macrocode}
+%
+% \subsubsection{Work in book}
+%
+% \begin{macrocode}
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ get.title.addenda
+ crossref missing$
+ { format.publisher.address output
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ format.note output
+ new.block
+ format.eprint output
+ format.url output
+ fin.entry
+}
+% \end{macrocode}
+%
+% \subsubsection{Work in collection}
+%
+% \begin{macrocode}
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ get.title.addenda
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ new.block
+ format.publisher.address output
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ format.note output
+ new.block
+ format.eprint output
+ format.url output
+ fin.entry
+}
+% \end{macrocode}
+%
+% \subsubsection{Conference paper}
+%
+% \begin{macrocode}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ get.title.addenda
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ eventyear output
+ venue output
+ new.sentence
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ format.note output
+ new.block
+ format.eprint output
+ format.url output
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+% \end{macrocode}
+%
+% \subsubsection{Legal case studies}
+%
+% \begin{macrocode}
+FUNCTION {jurisdiction}
+{ output.bibitem
+ author empty$
+ { format.btitle "title" output.check
+ continue.clause
+ format.case.number output
+ number empty$
+ casenumber empty$
+ and
+ 'new.sentence
+ 'continue.clause
+ if$
+ format.jur.date "year" output.check
+ year empty$ 'skip$ { eu.case.check } if$
+ get.title.addenda
+ }
+ { format.authors output
+ author format.key output
+ format.jur.date "year" output.check
+ date.block
+ continue.clause
+ format.btitle "title" output.check
+ get.title.addenda
+ }
+ if$
+ eu.case.check
+ format.note output
+ note empty$
+ 'eu.case.check
+ 'new.block
+ if$
+ crossref missing$
+ { continue.clause
+ format.journal.series.vol.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ format.eprint output
+ format.url output
+ fin.entry
+}
+% \end{macrocode}
+%
+% \subsubsection{Legislation}
+%
+% \begin{macrocode}
+FUNCTION {uklegislation}
+{ output.bibitem
+ author empty$
+ { format.btitle "title" output.check
+ continue.clause
+ format.date emphasize "year" output.check
+ get.title.addenda
+ }
+ { format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ continue.clause
+ format.btitle "title" output.check
+ get.title.addenda
+ }
+ if$
+ entrysubtype field.or.null "secondary" =
+ { number "number" bibinfo.check output }
+ { series empty$ type empty$ and
+ { number empty$
+ { format.chapter output }
+ { continue.clause
+ format.series.number.chapter output
+ }
+ if$
+ }
+ { chapter empty$
+ { new.block }
+ { continue.clause }
+ if$
+ format.series.number.chapter output
+ }
+ if$
+ }
+ if$
+ note empty$
+ 'skip$
+ { new.block
+ format.note output
+ new.block
+ }
+ if$
+ publisher empty$ 'skip$
+ { entrysubtype field.or.null "secondary" =
+ 'skip$
+ { new.block }
+ if$
+ format.publisher.address output
+ }
+ if$
+ new.block
+ format.eprint output
+ format.url output
+ fin.entry
+}
+FUNCTION {eulegislation}
+{ output.bibitem
+ author empty$
+ { format.title "title" output.check
+ continue.clause
+ format.eu.date "year" output.check
+ get.title.addenda
+ }
+ { format.authors output
+ author format.key output
+ format.eu.date "year" output.check
+ date.block
+ continue.clause
+ format.title "title" output.check
+ get.title.addenda
+ }
+ if$
+ eu.case.check
+ format.note output
+ note empty$
+ 'eu.case.check
+ 'new.block
+ if$
+ crossref missing$
+ { continue.clause
+ format.journal.series.vol.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ format.eprint output
+ format.url output
+ fin.entry
+}
+FUNCTION {legislation}
+{ journal empty$
+ 'uklegislation
+ 'eulegislation
+ if$
+}
+% \end{macrocode}
+%
+% \subsubsection{Manual}
+%
+% \begin{macrocode}
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { format.btitle "title" output.check
+ format.date "year" output.check
+ year empty$ 'skip$ { date.block } if$
+ get.title.addenda
+ }
+ { format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ get.title.addenda
+ }
+ if$
+ format.edition output
+ new.block
+ format.manual.number output
+ new.block
+ format.library output
+ organization address new.block.checkb
+ format.organization.address output
+ new.block
+ format.note output
+ new.block
+ format.eprint output
+ format.url output
+ fin.entry
+}
+% \end{macrocode}
+%
+% \subsubsection{Image}
+%
+% \begin{macrocode}
+FUNCTION {image}
+{ output.bibitem
+ author empty$
+ { format.btitle "title" output.check
+ format.date "year" output.check
+ year empty$ 'skip$ { date.block } if$
+ get.title.addenda
+ }
+ { format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ get.title.addenda
+ }
+ if$
+ format.edition output
+ new.block
+ format.manual.number output
+ new.block
+ format.pub.org.lib.address output
+ new.block
+ format.note output
+ new.block
+ format.eprint output
+ format.url output
+ fin.entry
+}
+% \end{macrocode}
+%
+% \subsubsection{Master's thesis}
+%
+% \begin{macrocode}
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ get.title.addenda
+ new.block
+ bbl.mthesis format.thesis.type output.nonnull
+ new.block
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ new.block
+ format.note output
+ new.block
+ format.eprint output
+ format.url output
+ fin.entry
+}
+% \end{macrocode}
+%
+% \subsubsection{Miscellaneous}
+%
+% \begin{macrocode}
+FUNCTION {misc}
+{ output.bibitem
+ author empty$
+ { format.title "title" output.check
+ format.date "year" output.check
+ year empty$ 'skip$ { date.block } if$
+ get.title.addenda
+ }
+ { format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ get.title.addenda
+ }
+ if$
+ new.block
+ howpublished "howpublished" bibinfo.check output
+ new.block
+ format.note output
+ new.block
+ format.eprint output
+ format.url output
+ fin.entry
+}
+% \end{macrocode}
+%
+% \subsubsection{Doctoral thesis}
+%
+% \begin{macrocode}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ get.title.addenda
+ new.block
+ bbl.phdthesis format.thesis.type output.nonnull
+ new.block
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ new.block
+ format.note output
+ new.block
+ format.eprint output
+ format.url output
+ fin.entry
+}
+% \end{macrocode}
+%
+% \subsubsection{Conference proceedings}
+%
+% \begin{macrocode}
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { format.btitle "title" output.check
+ format.date "year" output.check
+ year empty$ 'skip$ { date.block } if$
+ get.title.addenda
+ }
+ { format.editors output
+ editor format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ get.title.addenda
+ }
+ if$
+ format.bvolume output
+ format.number.series output
+ new.sentence
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ new.block
+ format.note output
+ new.block
+ format.eprint output
+ format.url output
+ fin.entry
+}
+% \end{macrocode}
+%
+% \subsubsection{Report}
+%
+% \begin{macrocode}
+FUNCTION {techreport}
+{ output.bibitem
+ author empty$
+ { format.btitle "title" output.check
+ format.date "year" output.check
+ year empty$ 'skip$ { date.block } if$
+ get.title.addenda
+ }
+ { format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ get.title.addenda
+ }
+ if$
+ new.block
+ format.tr.number output
+ new.block
+ publisher empty$
+ { format.institution.address output }
+ { institution "institution" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ new.block
+ format.library output
+ new.block
+ format.note output
+ new.block
+ format.eprint output
+ format.url output
+ fin.entry
+}
+% \end{macrocode}
+%
+% \subsubsection{Unpublished works}
+%
+% \begin{macrocode}
+FUNCTION {unpublished}
+{ output.bibitem
+ author empty$
+ { booktitle empty$ 'format.btitle 'format.title if$ "title" output.check
+ format.date "year" output.check
+ year empty$ 'skip$ { date.block } if$
+ get.title.addenda
+ }
+ { format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ booktitle empty$ 'format.btitle 'format.title if$ "title" output.check
+ get.title.addenda
+ }
+ if$
+ new.block
+ format.in.ed.booktitle output
+ new.block
+ howpublished "howpublished" bibinfo.check output
+ new.block
+ bbl.unpublished output
+ new.block
+ format.note output
+ new.block
+ format.eprint output
+ format.url output
+ fin.entry
+}
+
+% \end{macrocode}
+%
+% \subsubsection{Aliases and fallbacks}
+%
+% Here are a list of aliases supported by this style.
+%
+% \begin{macrocode}
+FUNCTION {letter}
+{ journal empty$
+ 'unpublished
+ 'article
+ if$
+}
+FUNCTION {audio} { booklet }
+FUNCTION {movie} { booklet }
+FUNCTION {music} { booklet }
+FUNCTION {video} { booklet }
+FUNCTION {dataset} { manual }
+FUNCTION {electronic} { manual }
+FUNCTION {online} { manual }
+FUNCTION {patent} { manual }
+FUNCTION {software} { manual }
+FUNCTION {standard} { manual }
+FUNCTION {www} { manual }
+FUNCTION {thesis} { phdthesis }
+FUNCTION {report} { techreport }
+% \end{macrocode}
+%
+% The fallback driver is \texttt{misc}, as with most styles.
+%
+% \begin{macrocode}
+FUNCTION {default.type} { misc }
+
+% \end{macrocode}
+%
+% \subsection{Bibliography processing}
+%
+% We are now ready for Bib\TeX\ to read in the \texttt{.bib} file.
+%
+% \begin{macrocode}
+READ
+% \end{macrocode}
+%
+% These functions are used to generate a sort key for each entry in the \texttt{.bib}
+% file.
+%
+% |sortify| strips out \LaTeX\ commands, spaces and ASCII symbols, and converts
+% to lowercase.
+%
+% \begin{macrocode}
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+% \end{macrocode}
+%
+% |chop.word| takes a string \emph{s}, an integer \emph{len}, and a prefix
+% (stop) string. If the first \emph{len} characters of \emph{s} match the
+% prefix, those characters are stripped off \emph{s}.
+%
+% \begin{macrocode}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+% \end{macrocode}
+%
+% |format.lab.names| is similar to |format.full.names|, the main difference
+% being that if there are more than 3 names in the list, the second and
+% subsequent names are replaced with `et al.'
+%
+% \begin{macrocode}
+FUNCTION {format.lab.names}
+{'s :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$
+ 't :=
+ nameptr #1 >
+ { nameptr #2 =
+ numnames #3 > and
+ { "others" 't :=
+ #1 'namesleft := }
+ 'skip$
+ if$
+ namesleft #1 >
+ { ", " * t * }
+ { s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ { " " * bbl.etal *
+ }
+ { bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+% \end{macrocode}
+%
+% |author.editor.key.label| is the analogue of |author.editor.key.full| but with
+% a truncated list of author\slash editor names.
+%
+% \begin{macrocode}
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { title empty$
+ { cite$ #1 #3 substring$ }
+ { title
+ type$ "book" =
+ { emphasize }
+ 'skip$
+ if$
+ }
+ if$
+ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+% \end{macrocode}
+%
+% |editor.key.label| is the analogue of |editor.key.full| but with
+% a truncated list of editor names.
+%
+% \begin{macrocode}
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { title empty$
+ { cite$ #1 #3 substring$ }
+ { title emphasize }
+ if$
+ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+% \end{macrocode}
+%
+% |author.key.label| is the analogue of |author.key.full| but with
+% a truncated list of author names.
+%
+% \begin{macrocode}
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { title empty$
+ { cite$ #1 #3 substring$ }
+ { title
+ type$ "article" =
+ type$ "incollection" =
+ or
+ type$ "inproceedings" =
+ or
+ type$ "misc" =
+ or
+ 'skip$
+ { emphasize }
+ if$
+ }
+ if$
+ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+% \end{macrocode}
+%
+% |calc.short.authors| chooses between the above.
+%
+% \begin{macrocode}
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+% \end{macrocode}
+%
+% |calc.label| creates a string in the form `Truncated Author List(Year'. The
+% closing parenthesis is supplied by |output.bibitem| (see above), into which
+% this string is incorporated.
+%
+% \begin{macrocode}
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year nodate.check duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+% \end{macrocode}
+%
+% |sort.format.names| consumes one token (a field) and constructs a list of
+% names in the form `Surname Forename Prefix Suffix', with just spaces between
+% adjacent names and `zzzzz' used in place of `et al.'
+%
+% \begin{macrocode}
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ll{ }}{ f{ }}{ jj{ }}{ vv{}}"
+ format.name$ 't :=
+ nameptr #1 >
+ { " " *
+ namesleft #1 =
+ t "others" =
+ and
+ { "zzzzz" 't := }
+ 'skip$
+ if$
+ t sortify *
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+% \end{macrocode}
+%
+% |sort.format.title| strips off initial articles from the preceding field
+% and normalizes what remains using |sortify| (see above).
+%
+% \begin{macrocode}
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+% \end{macrocode}
+%
+% |author.editor.sort| creates a string for use when sorting the entry in the
+% bibliography. In order of preference, the string is based on author, editor,
+% title or the |key| field.
+%
+% \begin{macrocode}
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { title empty$
+ { key empty$
+ { "to sort, need author, editor, title, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { title sort.format.title }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+% \end{macrocode}
+%
+% |editor.sort| does similar but skips the author names.
+%
+% \begin{macrocode}
+FUNCTION {editor.sort}
+{ editor empty$
+ { title empty$
+ { key empty$
+ { "to sort, need editor, title, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { title sort.format.title }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+% \end{macrocode}
+%
+% |author.sort| does similar but skips the editor names.
+%
+% \begin{macrocode}
+FUNCTION {author.sort}
+{ author empty$
+ { title empty$
+ { key empty$
+ { "to sort, need author, title, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { title sort.format.title }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+% \end{macrocode}
+%
+% |presort| constructs the |sort.label| from the |calc.label| and one of the
+% above three functions. It also constructs the |sort.key$| (used by SORT) from
+% the |sort.label| and the title.
+%
+% \begin{macrocode}
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+% \end{macrocode}
+%
+% We now tell Bib\TeX\ to go through each entry in turn and apply the
+% \texttt{presort} function, then use the resultant sort keys to put the entries
+% in order.
+%
+% \begin{macrocode}
+ITERATE {presort}
+SORT
+% \end{macrocode}
+%
+% If there are any duplicate author--year combinations, these functions detect
+% them and disambiguate them by adding a letter to the year.
+%
+% \begin{macrocode}
+STRINGS { last.label next.extra }
+INTEGERS { last.extra.num last.extra.num.extended last.extra.num.blank number.label }
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ "a" chr.to.int$ #1 - 'last.extra.num.blank :=
+ last.extra.num.blank 'last.extra.num.extended :=
+ #0 'number.label :=
+}
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num "z" chr.to.int$ >
+ { "a" chr.to.int$ 'last.extra.num :=
+ last.extra.num.extended #1 + 'last.extra.num.extended :=
+ }
+ 'skip$
+ if$
+ last.extra.num.extended last.extra.num.blank >
+ { last.extra.num.extended int.to.chr$
+ last.extra.num int.to.chr$
+ * 'extra.label := }
+ { last.extra.num int.to.chr$ 'extra.label := }
+ if$
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+% \end{macrocode}
+%
+% Applying these functions is a bit more tricky, but once we have done that,
+% we re-sort the entries to make absolutely sure they in the right order,
+% this time wih the year between with |sort.label| and the title.
+%
+% \begin{macrocode}
+EXECUTE {initialize.extra.label.stuff}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+ITERATE {bib.sort.order}
+SORT
+% \end{macrocode}
+%
+% We now write out the beginning of the bibliography to a .bbl file. This
+% includes opening a \LaTeX\ environment, \texttt{thebibliography}, and some
+% user-redefinable strings.
+%
+% \begin{macrocode}
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\providecommand{\natexlab}[1]{#1}"
+ write$ newline$
+ "\providecommand{\url}[1]{\texttt{#1}}"
+ write$ newline$
+ "\providecommand{\urlprefix}{Available from: }"
+ write$ newline$
+ "\providecommand{\urldateprefix}{Accessed }"
+ write$ newline$
+ "\providecommand{\selectlanguage}[1]{\relax}"
+ write$ newline$
+ "\providecommand{\bibinfo}[2]{#2}"
+ write$ newline$
+ "\providecommand{\eprint}[2][]{\url{#2}}"
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+% \end{macrocode}
+%
+% We go through each entry in turn, in the right order, and write the
+% formatted text out to the file.
+%
+% \begin{macrocode}
+ITERATE {call.type$}
+% \end{macrocode}
+%
+% After the last entry, we close the \LaTeX\ environment and stop writing to the
+% .bbl file.
+%
+% \begin{macrocode}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+% \end{macrocode}
+% \iffalse
+%</bst1|bst2>
+% \fi
diff --git a/biblio/bibtex/contrib/bath-bst/bath-bst.pdf b/biblio/bibtex/contrib/bath-bst/bath-bst.pdf
new file mode 100644
index 0000000000..37b1b312d3
--- /dev/null
+++ b/biblio/bibtex/contrib/bath-bst/bath-bst.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/besjournals/README b/biblio/bibtex/contrib/besjournals/README
new file mode 100644
index 0000000000..3192c77925
--- /dev/null
+++ b/biblio/bibtex/contrib/besjournals/README
@@ -0,0 +1,51 @@
+This is the BibTeX style (.bst) file for the
+following journals by The British Ecological Society:
+
+Functional Ecology
+Journal of Animal Ecology
+Journal of Ecology
+Journal of Applied Ecology
+
+Simply include it in your .tex file with command
+
+ \bibliography{myreferences}
+ \bibliographystyle{besjournals}
+
+where 'myreferences' is actually the file
+'myreferences.bib', which should be your bibliographic
+databank in BibTeX format, of course!
+
+Please, be aware that this style was pro­duced in­de­pen­dently
+of the British Ecol. So­ci­ety, and has no for­mal ap­proval
+from the Society.
+
+--------------- if you feel like doing a hackers' job:
+I have included here also the file
+
+besjournals.dbj
+
+which is the one used originally to generate functional_ecol.bst
+but should serve for all 4 BES journals. If
+you spot any mistake in the .bst file, you'd better fixing
+it in the .dbj file, instead of trying to fix the .bst file.
+
+Then, make sure you have custom-bib installed and run:
+
+latex besjournals.dbj
+
+to produce besjournals.bst, and please, let me know!!!
+
+Cheers
+
+Og DeSouza <og.souza@ufv.br>
+http://www.isoptera.ufv.br
+
+PS: if you publish a paper using this bst file, please be
+kind to mention it in the acknowledgments, and send me a
+pdf of your paper for my records. It may improve the chances
+to get my next research grant!
+
+--------------- changelog
+2014-10-21 fixing typos in README file
+2014-10-21 eliminating the inclusion of URL’s for each reference
+2014-10-22 renaming README.txt to README to comply with CTAN standards
diff --git a/biblio/bibtex/contrib/besjournals/besjournals.bst b/biblio/bibtex/contrib/besjournals/besjournals.bst
new file mode 100644
index 0000000000..beec0045d5
--- /dev/null
+++ b/biblio/bibtex/contrib/besjournals/besjournals.bst
@@ -0,0 +1,1708 @@
+%%
+%% This is file `functional_ecol.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `head,ay,nat,nm-rvvc,jnrlab,keyxyr,dt-beg,yr-par,yrp-x,note-yr,vol-bf,vnum-x,volp-com,num-xser,jnm-x,edpar,edby-par,edbyx,blk-tit,in-x,pp,ed,abr,xedn,amper,and-xcom,etal-xc,etal-it,nfss,,{}')
+%% physjour.mbs (with options: `ay,nat,nm-rvvc,jnrlab,keyxyr,dt-beg,yr-par,yrp-x,note-yr,vol-bf,vnum-x,volp-com,num-xser,jnm-x,edpar,edby-par,edbyx,blk-tit,in-x,pp,ed,abr,xedn,amper,and-xcom,etal-xc,etal-it,nfss,,{}')
+%% geojour.mbs (with options: `ay,nat,nm-rvvc,jnrlab,keyxyr,dt-beg,yr-par,yrp-x,note-yr,vol-bf,vnum-x,volp-com,num-xser,jnm-x,edpar,edby-par,edbyx,blk-tit,in-x,pp,ed,abr,xedn,amper,and-xcom,etal-xc,etal-it,nfss,,{}')
+%% photjour.mbs (with options: `ay,nat,nm-rvvc,jnrlab,keyxyr,dt-beg,yr-par,yrp-x,note-yr,vol-bf,vnum-x,volp-com,num-xser,jnm-x,edpar,edby-par,edbyx,blk-tit,in-x,pp,ed,abr,xedn,amper,and-xcom,etal-xc,etal-it,nfss,,{}')
+%% merlin.mbs (with options: `tail,ay,nat,nm-rvvc,jnrlab,keyxyr,dt-beg,yr-par,yrp-x,note-yr,vol-bf,vnum-x,volp-com,num-xser,jnm-x,edpar,edby-par,edbyx,blk-tit,in-x,pp,ed,abr,xedn,amper,and-xcom,etal-xc,etal-it,nfss,,{}')
+%% ----------------------------------------
+%% *** BibTeX style (bst) for Functional Ecology ***
+%% Created by Og DeSouza <og.souza@ufv.br>
+%% using custom-bib
+%% Copyright 1994-2011 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2011/11/18 4.33 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is natbib.sty by Patrick W. Daly
+ % The form of the \bibitem entries is
+ % \bibitem[Jones et al.(1990)]{key}...
+ % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
+ % The essential feature is that the label (the part in brackets) consists
+ % of the author names, as they should appear in the citation, with the year
+ % in parentheses following. There must be no space before the opening
+ % parenthesis!
+ % With natbib v5.3, a full list of authors may also follow the year.
+ % In natbib.sty, it is possible to define the type of enclosures that is
+ % really wanted (brackets or parentheses), but in either case, there must
+ % be parentheses in the label.
+ % The \cite command functions as follows:
+ % \citet{key} ==>> Jones et al. (1990)
+ % \citet*{key} ==>> Jones, Baker, and Smith (1990)
+ % \citep{key} ==>> (Jones et al., 1990)
+ % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
+ % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
+ % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
+ % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., 1990, p. 32)
+ % \citeauthor{key} ==>> Jones et al.
+ % \citeauthor*{key} ==>> Jones, Baker, and Smith
+ % \citeyear{key} ==>> 1990
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ eid
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ add.blank
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+FUNCTION {bolden}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textbf{" swap$ * "}" * }
+ if$
+}
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds." }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "edn." }
+
+FUNCTION {bbl.volume}
+{ "vol." }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "no." }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "pp." }
+
+FUNCTION {bbl.page}
+{ "p." }
+
+FUNCTION {bbl.chapter}
+{ "chap." }
+
+FUNCTION {bbl.techrep}
+{ "Tech. Rep." }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"Jun."}
+
+MACRO {jul} {"Jul."}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sep."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+ %-------------------------------------------------------------------
+ % Begin module:
+ % \ProvidesFile{physjour.mbs}[2002/01/14 2.2 (PWD)]
+MACRO {aa}{"Astronomy and Astrophysics"}
+MACRO {aasup}{"Astronomy and Astrophysics, Supplement Series"}
+MACRO {aj}{"Astronomical Journal"}
+MACRO {aph} {"Acta Physica"}
+MACRO {advp} {"Advances in Physics"}
+MACRO {ajp} {"American Journal of Physics"}
+MACRO {ajm} {"American Journal of Mathematics"}
+MACRO {amsci} {"American Scientist"}
+MACRO {anofd} {"Annals of Fluid Dynamics"}
+MACRO {am} {"Annals of Mathematics"}
+MACRO {ap} {"Annals of Physics"}
+MACRO {adp} {"Annalen der Physik"}
+MACRO {ao} {"Applied Optics"}
+MACRO {apl} {"Applied Physics Letters"}
+MACRO {app} {"Astroparticle Physics"}
+MACRO {apj} {"Astrophysical Journal"}
+MACRO {apjsup} {"Astrophysical Journal Supplement"}
+MACRO {apss} {"Astrophysics and Space Science"}
+MACRO {araa} {"Annual Review of Astronomy and Astrophysics"}
+MACRO {baas} {"Bulletin of the American Astronomical Society"}
+MACRO {baps} {"Bulletin of the American Physical Society"}
+MACRO {cmp} {"Communications in Mathematical Physics"}
+MACRO {cpam} {"Communications on Pure and Applied Mathematics"}
+MACRO {cppcf} {"Comments on Plasma Physics and Controlled Fusion"}
+MACRO {cpc} {"Computer Physics Communications"}
+MACRO {cqg} {"Classical and Quantum Gravity"}
+MACRO {cra} {"Comptes Rendus des S{\'e}ances de l'Acad{\'e}mie des Sciences A"}
+MACRO {fed} {"Fusion Engineering and Design"}
+MACRO {ft} {"Fusion Technology"}
+MACRO {grg} {"General Relativity and Gravitation"}
+MACRO {ieeens} {"IEEE Transactions on Nuclear Science"}
+MACRO {ieeeps} {"IEEE Transactions on Plasma Science"}
+MACRO {ijimw} {"International Journal of Infrared and Millimeter Waves"}
+MACRO {ip} {"Infrared Physics"}
+MACRO {irp} {"Infrared Physics"}
+MACRO {jap} {"Journal of Applied Physics"}
+MACRO {jasa} {"Journal of the Acoustical Society of America"}
+MACRO {jcp} {"Journal of Computational Physics"}
+MACRO {jetp} {"Soviet Physics--JETP"}
+MACRO {jfe} {"Journal of Fusion Energy"}
+MACRO {jfm} {"Journal of Fluid Mechanics"}
+MACRO {jmp} {"Journal of Mathematical Physics"}
+MACRO {jne} {"Journal of Nuclear Energy"}
+MACRO {jnec} {"Journal of Nuclear Energy, Part C: Plasma Physics, Accelerators, Thermonuclear Research"}
+MACRO {jnm} {"Journal of Nuclear Materials"}
+MACRO {jpc} {"Journal of Physical Chemistry"}
+MACRO {jpp} {"Journal of Plasma Physics"}
+MACRO {jpsj} {"Journal of the Physical Society of Japan"}
+MACRO {jsi} {"Journal of Scientific Instruments"}
+MACRO {jvst} {"Journal of Vacuum Science and Technology"}
+MACRO {nat} {"Nature"}
+MACRO {nature} {"Nature"}
+MACRO {nedf} {"Nuclear Engineering and Design/Fusion"}
+MACRO {nf} {"Nuclear Fusion"}
+MACRO {nim} {"Nuclear Instruments and Methods"}
+MACRO {nimpr} {"Nuclear Instruments and Methods in Physics Research"}
+MACRO {np} {"Nuclear Physics"}
+MACRO {npb} {"Nuclear Physics B"}
+MACRO {nt/f} {"Nuclear Technology/Fusion"}
+MACRO {npbpc} {"Nuclear Physics B (Proceedings Supplements)"}
+MACRO {inc} {"Il Nuovo Cimento"}
+MACRO {nc} {"Nuovo Cimento"}
+MACRO {pf} {"Physics of Fluids"}
+MACRO {pfa} {"Physics of Fluids A: Fluid Dynamics"}
+MACRO {pfb} {"Physics of Fluids B: Plasma Physics"}
+MACRO {pl} {"Physics Letters"}
+MACRO {pla} {"Physics Letters A"}
+MACRO {plb} {"Physics Letters B"}
+MACRO {prep} {"Physics Reports"}
+MACRO {pnas} {"Proceedings of the National Academy of Sciences of the USA"}
+MACRO {pp} {"Physics of Plasmas"}
+MACRO {ppcf} {"Plasma Physics and Controlled Fusion"}
+MACRO {phitrsl} {"Philosophical Transactions of the Royal Society of London"}
+MACRO {prl} {"Physical Review Letters"}
+MACRO {pr} {"Physical Review"}
+MACRO {physrev} {"Physical Review"}
+MACRO {pra} {"Physical Review A"}
+MACRO {prb} {"Physical Review B"}
+MACRO {prc} {"Physical Review C"}
+MACRO {prd} {"Physical Review D"}
+MACRO {pre} {"Physical Review E"}
+MACRO {ps} {"Physica Scripta"}
+MACRO {procrsl} {"Proceedings of the Royal Society of London"}
+MACRO {rmp} {"Reviews of Modern Physics"}
+MACRO {rsi} {"Review of Scientific Instruments"}
+MACRO {science} {"Science"}
+MACRO {sciam} {"Scientific American"}
+MACRO {sam} {"Studies in Applied Mathematics"}
+MACRO {sjpp} {"Soviet Journal of Plasma Physics"}
+MACRO {spd} {"Soviet Physics--Doklady"}
+MACRO {sptp} {"Soviet Physics--Technical Physics"}
+MACRO {spu} {"Soviet Physics--Uspeki"}
+MACRO {st} {"Sky and Telescope"}
+ % End module: physjour.mbs
+ %-------------------------------------------------------------------
+ % Begin module:
+ % \ProvidesFile{geojour.mbs}[2002/07/10 2.0h (PWD)]
+MACRO {aisr} {"Advances in Space Research"}
+MACRO {ag} {"Annales Geophysic\ae"}
+MACRO {anigeo} {"Annali di Geofisica"}
+MACRO {angl} {"Annals of Glaciology"}
+MACRO {andmet} {"Annalen der Meteorologie"}
+MACRO {andgeo} {"Annales de Geophysique"}
+MACRO {andphy} {"Annales de Physique"}
+MACRO {afmgb} {"Archiv f\^^b{u}r Meteorologie, Geophysik und Bioklimatologie"}
+MACRO {ass}{"Astrophysics and Space Science"}
+MACRO {atph} {"Atm\'osphera"}
+MACRO {aao} {"Atmosphere-Ocean"}
+MACRO {atenv} {"Atmospheric Environment"}
+MACRO {aujag} {"Australian Journal of Agricultural Research"}
+MACRO {aumet} {"Australian Meteorological Magazine"}
+MACRO {blmet} {"Boundary-Layer Meteorology"}
+MACRO {bams} {"Bulletin of the American Meteorological Society"}
+MACRO {cch} {"Climatic Change"}
+MACRO {cdyn} {"Climate Dynamics"}
+MACRO {cbul} {"Climatological Bulletin"}
+MACRO {cap} {"Contributions to Atmospheric Physics"}
+MACRO {dsr} {"Deep-Sea Research"}
+MACRO {dhz} {"Deutsche Hydrographische Zeitschrift"}
+MACRO {dao} {"Dynamics of Atmospheres and Oceans"}
+MACRO {eco} {"Ecology"}
+MACRO {empl}{"Earth, Moon and Planets"}
+MACRO {envres} {"Environmental Research"}
+MACRO {envst} {"Environmental Science and Technology"}
+MACRO {ecms} {"Estuarine and Coastal Marine Science"}
+MACRO {expa}{"Experimental Astronomy"}
+MACRO {geoint} {"Geofisica Internationale"}
+MACRO {geopub} {"Geofysiske Publikasjoner"}
+MACRO {geogeo} {"Geologiya i Geofizika"}
+MACRO {gafd} {"Geophysical and Astrophysical Fluid Dynamics"}
+MACRO {gfd} {"Geophysical Fluid Dynamics"}
+MACRO {geomag} {"Geophysical Magazine"}
+MACRO {georl} {"Geophysical Research Letters"}
+MACRO {grl} {"Geophysical Research Letters"}
+MACRO {ga} {"Geophysica"}
+MACRO {gs} {"Geophysics"}
+MACRO {ieeetap} {"IEEE Transactions on Antennas and Propagation"}
+MACRO {ijawp} {"International Journal of Air and Water Pollution"}
+MACRO {ijc} {"International Journal of Climatology"}
+MACRO {ijrs} {"International Journal of Remote Sensing"}
+MACRO {jam} {"Journal of Applied Meteorology"}
+MACRO {jaot} {"Journal of Atmospheric and Oceanic Technology"}
+MACRO {jatp} {"Journal of Atmospheric and Terrestrial Physics"}
+MACRO {jastp} {"Journal of Atmospheric and Solar-Terrestrial Physics"}
+MACRO {jce} {"Journal of Climate"}
+MACRO {jcam} {"Journal of Climate and Applied Meteorology"}
+MACRO {jcm} {"Journal of Climate Meteorology"}
+MACRO {jcy} {"journal of Climatology"}
+MACRO {jgr} {"Journal of Geophysical Research"}
+MACRO {jga} {"Journal of Glaciology"}
+MACRO {jh} {"Journal of Hydrology"}
+MACRO {jmr} {"Journal of Marine Research"}
+MACRO {jmrj} {"Journal of Meteorological Research, Japan"}
+MACRO {jm} {"Journal of Meteorology"}
+MACRO {jpo} {"Journal of Physical Oceanography"}
+MACRO {jra} {"Journal de Recherches Atmospheriques"}
+MACRO {jaes} {"Journal of the Aeronautical Sciences"}
+MACRO {japca} {"Journal of the Air Pollution Control Association"}
+MACRO {jas} {"Journal of the Atmospheric Sciences"}
+MACRO {jmts} {"Journal of the Marine Technology Society"}
+MACRO {jmsj} {"Journal of Meteorological Society of Japan"}
+MACRO {josj} {"Journal of the Oceanographical Society of Japan"}
+MACRO {jwm} {"Journal of Weather Modification"}
+MACRO {lao} {"Limnology and Oceanography"}
+MACRO {mwl} {"Mariners Weather Log"}
+MACRO {mau} {"Mausam"}
+MACRO {meteor} {"``Meteor'' Forschungsergebnisse"}
+MACRO {map} {"Meteorology and Atmospheric Physics"}
+MACRO {metmag} {"Meteorological Magazine"}
+MACRO {metmon} {"Meteorological Monographs"}
+MACRO {metrun} {"Meteorologische Rundschau"}
+MACRO {metzeit} {"Meteorologische Zeitschrift"}
+MACRO {metgid} {"Meteorologiya i Gidrologiya"}
+MACRO {mwr} {"Monthly Weather Review"}
+MACRO {nwd} {"National Weather Digest"}
+MACRO {nzjmfr} {"New Zealand Journal of Marine and Freshwater Research"}
+MACRO {npg} {"Nonlinear Processes in Geophysics"}
+MACRO {om} {"Oceanography and Meteorology"}
+MACRO {ocac} {"Oceanologica Acta"}
+MACRO {oceanus} {"Oceanus"}
+MACRO {paleoc} {"Paleoceanography"}
+MACRO {pce} {"Physics and Chemistry of the Earth"}
+MACRO {pmg} {"Papers in Meteorology and Geophysics"}
+MACRO {ppom} {"Papers in Physical Oceanography and Meteorology"}
+MACRO {physzeit} {"Physikalische Zeitschrift"}
+MACRO {pps} {"Planetary and Space Science"}
+MACRO {pss} {"Planetary and Space Science"}
+MACRO {pag} {"Pure and Applied Geophysics"}
+MACRO {qjrms} {"Quarterly Journal of the Royal Meteorological Society"}
+MACRO {quatres} {"Quaternary Research"}
+MACRO {rsci} {"Radio Science"}
+MACRO {rse} {"Remote Sensing of the Environment"}
+MACRO {rgeo} {"Reviews of Geophysics"}
+MACRO {rgsp} {"Reviews of Geophysics and Space Physics"}
+MACRO {rdgeo} {"Revista de Geofisica"}
+MACRO {revmeta} {"Revista Meteorologica"}
+MACRO {sgp}{"Surveys in Geophysics"}
+MACRO {sp} {"Solar Phys."}
+MACRO {ssr} {"Space Science Review"}
+MACRO {tellus} {"Tellus"}
+MACRO {tac} {"Theoretical and Applied Climatology"}
+MACRO {tagu} {"Transactions, American Geophysical Union (EOS)"}
+MACRO {wrr} {"Water Resources Research"}
+MACRO {weather} {"Weather"}
+MACRO {wafc} {"Weather and Forecasting"}
+MACRO {ww} {"Weatherwise"}
+MACRO {wmob} {"World Meteorological Organization Bulletin"}
+MACRO {zeitmet} {"Zeitschrift f\^^b{u}r Meteorologie"}
+ % End module: geojour.mbs
+ %-------------------------------------------------------------------
+ % Begin module:
+ % \ProvidesFile{photjour.mbs}[1999/02/24 2.0b (PWD)]
+
+MACRO {appopt} {"Applied Optics"}
+MACRO {bell} {"Bell Systems Technical Journal"}
+MACRO {ell} {"Electronics Letters"}
+MACRO {jasp} {"Journal of Applied Spectroscopy"}
+MACRO {jqe} {"IEEE Journal of Quantum Electronics"}
+MACRO {jlwt} {"Journal of Lightwave Technology"}
+MACRO {jmo} {"Journal of Modern Optics"}
+MACRO {josa} {"Journal of the Optical Society of America"}
+MACRO {josaa} {"Journal of the Optical Society of America~A"}
+MACRO {josab} {"Journal of the Optical Society of America~B"}
+MACRO {jdp} {"Journal de Physique"}
+MACRO {oc} {"Optics Communications"}
+MACRO {ol} {"Optics Letters"}
+MACRO {phtl} {"IEEE Photonics Technology Letters"}
+MACRO {pspie} {"Proceedings of the Society for Photo-Optical Instruments Engineers"}
+MACRO {sse} {"Solid-State Electronics"}
+MACRO {sjot} {"Soviet Journal of Optical Technology"}
+MACRO {sjqe} {"Soviet Journal of Quantum Electronics"}
+MACRO {sleb} {"Soviet Physics--Lebedev Institute Reports"}
+MACRO {stph} {"Soviet Physics--Technical Physics"}
+MACRO {stphl} {"Soviet Technical Physics Letters"}
+MACRO {vr} {"Vision Research"}
+MACRO {zph} {"Zeitschrift f\^^b{u}r Physik"}
+MACRO {zphb} {"Zeitschrift f\^^b{u}r Physik~B"}
+MACRO {zphd} {"Zeitschrift f\^^b{u}r Physik~D"}
+
+MACRO {CLEO} {"Conf. on Lasers and Electro-Optics"}
+MACRO {ASSL} {"Advanced Solid State Lasers"}
+MACRO {OSA} {"Optical Society of America"}
+ % End module: photjour.mbs
+%% Copyright 1994-2011 Patrick W Daly
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+INTEGERS { nameptr namesleft numnames }
+
+
+STRINGS { bibinfo}
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}{, jj}{, f{.}.}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ {
+ "\&"
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.names.ed}
+{
+ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{f{.}.~}{vv~}{ll}{ jj}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+
+ " " * bbl.etal emphasize *
+ }
+ {
+ "\&"
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author "author" format.names
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ " " *
+ get.bbl.editor
+ "(" swap$ * ")" *
+ *
+ }
+ if$
+}
+FUNCTION {format.note}
+{
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ duplicate$ empty$ 'skip$
+ { "t" change.case$ }
+ if$
+ "title" bibinfo.check
+}
+FUNCTION {format.full.names}
+{'s :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}{, jj}" format.name$
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ {
+ "\&"
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[{" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "}]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ "" }
+
+FUNCTION {format.date}
+{ year "year" bibinfo.check duplicate$ empty$
+ {
+ "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????"
+ }
+ 'skip$
+ if$
+ extra.label *
+ before.all 'output.state :=
+ " (" swap$ * ")" *
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ bbl.of space.word * swap$
+ emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { number "number" bibinfo.check }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ bbl.pages swap$
+ n.dashify
+ }
+ {
+ bbl.page swap$
+ }
+ if$
+ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ", " *
+ swap$
+ n.dashify
+ "pages" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.journal.eid}
+{ eid "eid" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$ 'skip$
+ {
+ ", " *
+ }
+ if$
+ swap$ *
+ }
+ if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ "volume" bibinfo.check
+ }
+ if$
+ bolden
+ eid empty$
+ { format.journal.pages }
+ { format.journal.eid }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+ emphasize
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ {
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ get.bbl.editor
+ " " * swap$ *
+ "(" swap$ * ")" *
+ swap$
+ " " * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ capitalize
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ t empty$
+ { address "address" bibinfo.check *
+ }
+ { t *
+ address empty$
+ 'skip$
+ { ", " * address "address" bibinfo.check * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.sentence
+ crossref missing$
+ {
+ journal
+ "journal" bibinfo.check
+ emphasize
+ "journal" output.check
+ add.blank
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.sentence
+ format.number.series output
+ format.publisher.address output
+ }
+ {
+ new.sentence
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.note output
+ fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.sentence
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.sentence
+ format.number.series output
+ format.publisher.address output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ new.sentence
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.sentence
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ format.publisher.address output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.sentence
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ new.sentence
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ format.edition output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ new.sentence
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title output
+ new.sentence
+ howpublished "howpublished" bibinfo.check output
+ format.note output
+ fin.entry
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ new.sentence
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ new.sentence
+ format.tr.number output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ format.note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+READ
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+FUNCTION {format.lab.names}
+{ 's :=
+ "" 't :=
+ s #1 "{vv~}{ll}{, jj}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$
+ " " * bbl.etal emphasize *
+ }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ { " \& " * s #2 "{vv~}{ll}" format.name$
+ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" 't := }
+ 'skip$
+ if$
+ t sortify *
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+SORT
+STRINGS { last.label next.extra }
+INTEGERS { last.extra.num last.extra.num.extended last.extra.num.blank number.label }
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ "a" chr.to.int$ #1 - 'last.extra.num.blank :=
+ last.extra.num.blank 'last.extra.num.extended :=
+ #0 'number.label :=
+}
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num "z" chr.to.int$ >
+ { "a" chr.to.int$ 'last.extra.num :=
+ last.extra.num.extended #1 + 'last.extra.num.extended :=
+ }
+ 'skip$
+ if$
+ last.extra.num.extended last.extra.num.blank >
+ { last.extra.num.extended int.to.chr$
+ last.extra.num int.to.chr$
+ * 'extra.label := }
+ { last.extra.num int.to.chr$ 'extra.label := }
+ if$
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+EXECUTE {initialize.extra.label.stuff}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+ITERATE {bib.sort.order}
+SORT
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\providecommand{\natexlab}[1]{#1}"
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `functional_ecol.bst'.
diff --git a/biblio/bibtex/contrib/besjournals/besjournals.dbj b/biblio/bibtex/contrib/besjournals/besjournals.dbj
new file mode 100644
index 0000000000..2d9866342d
--- /dev/null
+++ b/biblio/bibtex/contrib/besjournals/besjournals.dbj
@@ -0,0 +1,661 @@
+%% Driver file to produce functional_ecol.bst from merlin.mbs
+%% Generated with makebst, version 4.1 (2003/09/08)
+%% Produced on 2008/03/18 at 16:04
+%%
+\input docstrip
+
+\preamble
+----------------------------------------
+*** BibTeX style (bst) for Functional Ecology ***
+Created by Og DeSouza <og.souza@ufv.br>
+using custom-bib
+\endpreamble
+
+\postamble
+End of customized bst file
+\endpostamble
+
+\keepsilent
+
+\askforoverwritefalse
+\def\MBopts{\from{merlin.mbs}{%
+%EXTERNAL FILES:
+%Name of language file: \cfile=.
+%Name of included files: \jfile=physjour,geojour,photjour,.mbs.
+ head,\MBopta}
+\from{physjour.mbs}{\MBopta}
+\from{geojour.mbs}{\MBopta}
+\from{photjour.mbs}{\MBopta}
+\from{merlin.mbs}{tail,\MBopta}}
+\def\MBopta{%
+%<<INTERNAL LANGUAGE SUPPORT (if no external language file)
+ %: (def) English words used explicitly
+% babel,%: Babel (words replaced by commands defined in babelbst.tex)
+%------\ans=*(==)-------
+%>>INTERNAL LANGUAGE SUPPORT (if no external language file)
+%<<STYLE OF CITATIONS:
+% %: (def) Numerical as in standard LaTeX
+ ay,%: Author-year with some non-standard interface
+% alph,%: Alpha style, Jon90 or JWB90 for single or multiple authors
+% alph,alf-1,%: Alpha style, Jon90 even for multiple authors
+% alph,alf-f,%: Alpha style, Jones90 (full name of first author)
+% cite,%: Cite key (special for listing contents of bib file)
+%------\ans=a(==ay)-------
+%>>STYLE OF CITATIONS:
+%<<HTML OUTPUT (if non author-year citations)
+% %: (def) Normal LaTeX output
+% html,%: Hypertext output, in HTML code, in paragraphs
+% html,htlist,%: Hypertext list with sequence numbers
+% html,htdes,%: Hypertext with keys for viewing databases
+%------\ans=*(==)-------
+%>>HTML OUTPUT (if non author-year citations)
+%<<AUTHOR--YEAR SUPPORT SYSTEM (if author-year citations)
+ nat,%: Natbib for use with natbib v5.3 or later
+% %: (def) Older Natbib without full authors citations
+% alk,%: Apalike for use with apalike.sty
+% har,%: Harvard system with harvard.sty
+% ast,%: Astronomy system with astron.sty
+% cay,%: Chicago system with chicago.sty
+% nmd,%: Named system with named.sty
+% cn,%: Author-date system with authordate1-4.sty
+%------\ans=*(==nat)-------
+%<<HARVARD EXTENSIONS INCLUDED (if Harvard support selected)
+% harnm,%: With Harvard extensions for LaTeX2e version of harvard.sty
+% %: (def) Older Harvard style, for LaTeX 2.09
+%------\ans=*(==harnm)-------
+%>>HARVARD EXTENSIONS INCLUDED (if Harvard support selected)
+%>>AUTHOR--YEAR SUPPORT SYSTEM (if author-year citations)
+%<<LANGUAGE FIELD
+ %: (def) No language field
+% lang,%: Add language field to switch hyphenation patterns temporarily
+%------\ans=*(==)-------
+%>>LANGUAGE FIELD
+%<<ANNOTATIONS:
+ %: (def) No annotations will be recognized
+% annote,%: Annotations in annote field or in .tex file of citekey name
+%------\ans=*(==)-------
+%>>ANNOTATIONS:
+%<<PRESENTATIONS:
+ %: (def) Do not add presentation type for conference talks
+% pres,%: Add presentation, speaker not highlighted
+% pres,pres-bf,%: Presentation, speaker bold face
+% pres,pres-it,%: Presentaion, speaker italic
+% pres,pres-sc,%: Presentaion, speaker in small caps
+%------\ans=*(==)-------
+%>>PRESENTATIONS:
+%<<ORDERING OF REFERENCES (if non-author/year and non-alph)
+% %: (def) Alphabetical by all authors
+% seq-no,%: Citation order (unsorted, like unsrt.bst)
+% seq-yr,%: Year ordered and then by authors
+% seq-yrr,%: Reverse year ordered and then by authors
+%------\ans=*(==)-------
+%>>ORDERING OF REFERENCES (if non-author/year and non-alph)
+%<<ORDERING OF REFERENCES (if author-year citations)
+ %: (def) Alphabetical by all authors
+% seq-lab,%: By label (Jones before Jones and James before Jones et al)
+% seq-key,%: By label and cite key instead of label and title, as above
+% seq-yr,%: Year ordered and then by authors (for publication lists)
+% seq-yrr,%: Reverse year ordered and then by authors (most recent first)
+% seq-no,%: Citation order (unsorted, only meaningful for numericals)
+%------\ans=*(==)-------
+%>>ORDERING OF REFERENCES (if author-year citations)
+%<<ORDER ON VON PART (if not citation order)
+ %: (def) Sort on von part (de la Maire before Defoe)
+% vonx,%: Sort without von part (de la Maire after Mahone)
+%------\ans=*(==)-------
+%>>ORDER ON VON PART (if not citation order)
+%<<AUTHOR NAMES:
+% ed-au,%: Full, surname last (John Frederick Smith)
+% nm-revf,%: Full, surname first (Smith, John Frederick)
+% nm-init,ed-au,%: Initials + surname (J. F. Smith)
+% nm-rev,%: Surname + initials (Smith, J. F.)
+% nm-rv,%: Surname + dotless initials (Smith J F)
+ nm-rvvc,%: Surname + comma + spaceless initials (Smith, J.F.)
+% nm-rvx,%: Surname + pure initials (Smith JF)
+% nm-rvcx,%: Surname + comma + pure initials (Smith, JF)
+% nm-rvv,%: Surname + spaceless initials (Smith J.F.)
+% nm-rev1,%: Only first name reversed, initials (AGU style: Smith, J. F., H. K. Jones)
+% nm-revv1,%: First name reversed, with full names (Smith, John Fred, Harry Kab Jones)
+%------\ans=w(==nm-rvvc)-------
+%>>AUTHOR NAMES:
+%<<EDITOR NAMES IN COLLECTIONS (if author names reversed)
+% ed-rev,%: Editor names reversed just like authors'
+%------\ans=r(==ed-rev)-------
+%<<POSITION OF JUNIOR (if author names reversed)
+% jnrlst,%: Junior comes last as Smith, John, Jr.
+% %: (def) Junior between as Smith, Jr., John
+%------\ans=*(==jnrlst)-------
+%>>POSITION OF JUNIOR (if author names reversed)
+%>>EDITOR NAMES IN COLLECTIONS (if author names reversed)
+%<<JUNIOR PART IN THE CITATION (if author-year citations)
+% %: (def) No `junior' part in the citations but in the ref listing
+ jnrlab,%: `Junior' in citations as well as in ref listing
+%------\ans=j(==jnrlab)-------
+%>>JUNIOR PART IN THE CITATION (if author-year citations)
+%<<PUNCTUATION BETWEEN AUTHOR NAMES:
+ %: (def) Author names separated by commas
+% aunm-semi,%: Names separated by semi-colon
+% aunm-sl,%: Names separated by slash /
+%------\ans=*(==)-------
+%>>PUNCTUATION BETWEEN AUTHOR NAMES:
+%<<ADJACENT REFERENCES WITH REPEATED NAMES:
+ %: (def) Author/editor names always present
+% nmdash,%: Repeated author/editor names replaced by dash
+% nmdash,nmd-2,%: Repeated author/editor names replaced by 2 dashes
+% nmdash,nmd-3,%: Repeated author/editor names replaced by 3 dashes
+%------\ans=*(==)-------
+%>>ADJACENT REFERENCES WITH REPEATED NAMES:
+%<<NUMBER OF AUTHORS IN BIBLIOGRAPHY:
+ %: (def) All authors included in listing
+% nmlm,%: Limited authors (et al replaces missing names)
+%------\ans=*(==)-------
+%>>NUMBER OF AUTHORS IN BIBLIOGRAPHY:
+%<<AUTHORS IN CITATIONS:
+ %: (def) One author et al for three or more authors
+% mcite,%: Some other truncation scheme
+%------\ans=*(==)-------
+%>>AUTHORS IN CITATIONS:
+%<<MAX AUTHORS BEFORE ET AL: (if regular cite not selected)
+% mct-1,%: One et al
+% mct-2,%: One, Two et al
+% mct-3,%: One, Two, Three et al
+% mct-4,%: One, Two, Three, Four et al
+% mct-5,%: One, Two, Three, Four, Five et al
+%------\ans=*(==mct-1)-------
+%>>MAX AUTHORS BEFORE ET AL: (if regular cite not selected)
+%<<MAX AUTHORS WITHOUT ET AL: (if regular cite not selected)
+% mct-x2,%: Two authors without truncating
+% mct-x3,%: Three authors without truncating
+% mct-x4,%: Four authors without truncating
+% mct-x5,%: Five authors without truncating
+%------\ans=*(==mct-x2)-------
+%>>MAX AUTHORS WITHOUT ET AL: (if regular cite not selected)
+%<<TYPEFACE FOR AUTHORS IN LIST OF REFERENCES:
+ %: (def) Normal font for author names
+% nmft,nmft-sc,%: Small caps authors (\sc)
+% nmft,nmft-it,%: Italic authors (\it or \em)
+% nmft,nmft-bf,%: Bold authors (\bf)
+% nmft,nmft-def,%: User defined author font (\bibnamefont)
+%------\ans=*(==)-------
+%>>TYPEFACE FOR AUTHORS IN LIST OF REFERENCES:
+%<<FONT FOR FIRST NAMES (if non-default font for authors)
+% %: (def) First names same font as surnames
+% fnm-rm,%: First names in normal font
+% fnm-def,%: First names in user defined font (\bibfnamefont)
+%------\ans=*(==)-------
+%<<EDITOR NAMES IN INCOLLECTION ETC:
+% %: (def) Editors incollection normal font
+% nmfted,%: Editors incollection like authors font
+%------\ans=*(==)-------
+%>>EDITOR NAMES IN INCOLLECTION ETC:
+%<<FONT FOR `AND' IN LIST:
+% %: (def) `And' in author font (JONES AND JAMES)
+% nmand-rm,%: `And' in normal font (JONES and JAMES)
+%------\ans=*(==)-------
+%>>FONT FOR `AND' IN LIST:
+%>>FONT FOR FIRST NAMES (if non-default font for authors)
+%<<FONT OF CITATION LABELS IN TEXT (if author-year citations)
+ %: (def) Cited authors plain as result of \cite command
+% lab,lab-it,%: Cited authors italic
+% lab,lab-sc,%: Cited authors small caps
+% lab,lab-bf,%: Cited authors bold
+% lab,lab-def,%: User defined citation font (\citenamefont)
+%------\ans=*(==)-------
+%<<FONT FOR `AND' IN CITATIONS (if non-default font for citation lables)
+% %: (def) Cited `and' in author font
+% and-rm,%: Cited `and' in normal font
+%------\ans=*(==)-------
+%>>FONT FOR `AND' IN CITATIONS (if non-default font for citation lables)
+%<<FONT OF EXTRA LABEL (The extra letter on the year)
+ %: (def) Extra label plain
+% xlab-it,%: Extra label italic
+%------\ans=*(==)-------
+%>>FONT OF EXTRA LABEL (The extra letter on the year)
+%>>FONT OF CITATION LABELS IN TEXT (if author-year citations)
+%<<LABEL WHEN AUTHORS MISSING (if author-year citations)
+ keyxyr,%: Year blank when KEY replaces missing author (for natbib 7.0)
+% %: (def) Year included when KEY replaces missing author
+%------\ans=*(==keyxyr)-------
+%>>LABEL WHEN AUTHORS MISSING (if author-year citations)
+%<<MISSING DATE (if author-year citations)
+ %: (def) Missing date set to ???? in label and text
+% blkyear,%: Missing date left blank
+%------\ans=*(==)-------
+%>>MISSING DATE (if author-year citations)
+%<<DATE POSITION:
+% %: (def) Date at end
+ dt-beg,%: Date after authors
+% dt-jnl,%: Date part of journal spec. (as 1994;45:34-40) else at end
+% dt-end,%: Date at very end after any notes
+%------\ans=b(==dt-beg)-------
+%>>DATE POSITION:
+%<<DATE FORMAT (if non author-year citations)
+% %: (def) Plain month and year without any brackets
+% yr-par,%: Date in parentheses as (May 1993)
+% yr-brk,%: Date in brackets as [May 1993]
+% yr-col,%: Date preceded by colon as `: May 1993'
+% yr-per,%: Date preceded by period as `. May 1993'
+% yr-com,%: Date preceded by comma as `, May 1993'
+% yr-blk,%: Date preceded by space only, as ` May 1993'
+%------\ans=*(==)-------
+%<<SUPPRESS MONTH:
+% %: (def) Date is month and year
+% xmth,%: Date is year only
+%------\ans=*(==)-------
+%>>SUPPRESS MONTH:
+%<<REVERSED DATE (if including month)
+% %: (def) Date as month year
+% dtrev,%: Date as year month
+%------\ans=*(==)-------
+%>>REVERSED DATE (if including month)
+%>>DATE FORMAT (if non author-year citations)
+%<<DATE FORMAT (if author-year citations)
+% %: (def) Year plain without any brackets
+ yr-par,%: Year in parentheses as (1993)
+% yr-brk,%: Year in brackets as [1993]
+% yr-col,%: Year preceded by colon as `: 1993'
+% yr-per,%: Year preceded by period as `. 1993'
+% yr-com,%: Date preceded by comma as `, 1993'
+% yr-blk,%: Year preceded by space only, as ` 1993'
+%------\ans=p(==yr-par)-------
+%<<INCLUDE MONTHS:
+ %: (def) Date is year only without the month
+% aymth,%: Include month in date
+%------\ans=*(==)-------
+%>>INCLUDE MONTHS:
+%<<REVERSED DATE (if including month)
+% %: (def) Date as month year
+% dtrev,%: Date as year month
+%------\ans=*(==)-------
+%>>REVERSED DATE (if including month)
+%>>DATE FORMAT (if author-year citations)
+%<<DATE PUNCTUATION (if date not at end)
+% %: (def) Date with standard block punctuation (comma or period)
+% yrp-col,%: Colon after date as 1994:
+% yrp-semi,%: Semi-colon after date as 1994;
+% yrp-per,%: Period after date even when blocks use commas
+ yrp-x,%: No punct. after date
+%------\ans=x(==yrp-x)-------
+%<<BLANK AFTER DATE:
+ %: (def) Space after date and punctuation
+% yrpp-xsp,%: No space after date as 1994:45
+%------\ans=*(==)-------
+%>>BLANK AFTER DATE:
+%>>DATE PUNCTUATION (if date not at end)
+%<<DATE FONT:
+ %: (def) Date in normal font
+% dtbf,%: Date in bold face
+%------\ans=*(==)-------
+%>>DATE FONT:
+%<<TRUNCATE YEAR (if author-year citations)
+ note-yr,%: Year text full as 1990--1993 or `in press'
+% %: (def) Year truncated to last 4 digits
+%------\ans=*(==note-yr)-------
+%>>TRUNCATE YEAR (if author-year citations)
+%<<TITLE OF ARTICLE:
+ %: (def) Title plain with no special font
+% tit-it,%: Title italic (\em)
+% tit-qq,qt-s,%: Title and punctuation in single quotes (`Title,' ..)
+% tit-qq,%: Title and punctuation in double quotes (``Title,'' ..)
+% tit-qq,qt-g,%: Title and punctuation in guillemets (<<Title,>> ..)
+% tit-qq,qt-s,qx,%: Title in single quotes (`Title', ..)
+% tit-qq,qx,%: Title in double quotes (``Title'', ..)
+% tit-qq,qt-g,qx,%: Title in guillemets (<<Title>>, ..)
+%------\ans=*(==)-------
+%>>TITLE OF ARTICLE:
+%<<COLLECTION/PROCEEDINGS TITLES (if quoted title)
+% bt-qq,%: Quote collection and proceedings titles too
+% %: (def) Collection and proceedings titles not in quotes
+%------\ans=*(==bt-qq)-------
+%>>COLLECTION/PROCEEDINGS TITLES (if quoted title)
+%<<CAPITALIZATION OF ARTICLE TITLE:
+ %: (def) Sentence style (capitalize first word and those in braces)
+% atit-u,%: Title style (just as in bib entry)
+%------\ans=*(==)-------
+%>>CAPITALIZATION OF ARTICLE TITLE:
+%<<ARTICLE TITLE PRESENT:
+ %: (def) Article title present in journals and proceedings
+% jtit-x,%: No article title
+%------\ans=*(==)-------
+%>>ARTICLE TITLE PRESENT:
+%<<JOURNAL NAMES:
+ %: (def) Periods in journal names are retained, as `Phys. Rev.'
+% jxper,%: Dotless journal names as `Phys Rev'
+%------\ans=*(==)-------
+%>>JOURNAL NAMES:
+%<<JOURNAL NAME FONT:
+ %: (def) Journal name italics
+% jttl-rm,%: Journal name normal font
+%------\ans=*(==)-------
+%>>JOURNAL NAME FONT:
+%<<THESIS TITLE:
+ %: (def) Thesis titles like books
+% thtit-a,%: Thesis title like article
+% thtit-x,%: No thesis title
+%------\ans=*(==)-------
+%>>THESIS TITLE:
+%<<TECHNICAL REPORT TITLE:
+ %: (def) Tech. report title like articles
+% trtit-b,%: Tech. report title like books
+%------\ans=*(==)-------
+%>>TECHNICAL REPORT TITLE:
+%<<TECHNICAL REPORT NUMBER:
+ %: (def) Tech. report and number plain as `Tech. Rep. 123'
+% trnum-it,%: Tech. report and number italic as `{\it Tech. Rep. 123'}
+%------\ans=*(==)-------
+%>>TECHNICAL REPORT NUMBER:
+%<<JOURNAL VOLUME:
+% %: (def) Volume plain as vol(num)
+% vol-it,%: Volume italic as {\em vol}(num)
+ vol-bf,%: Volume bold as {\bf vol}(num)
+% vol-2bf,%: Volume and number bold as {\bf vol(num)}
+%------\ans=b(==vol-bf)-------
+%>>JOURNAL VOLUME:
+%<<JOURNAL VOL AND NUMBER:
+% %: (def) Journal vol(num) as 34(2)
+% vnum-sp,%: Journal vol (num) as 34 (2)
+% vnum-cm,%: Journal vol, num as 34, 2
+% vnum-nr,%: Journal vol, no. num as 34, no. 2
+% vnum-h,%: Journal vol, \# number as 34, \#2
+% vnum-b,%: Journal vol number as 34 2
+ vnum-x,%: Journal vol, without number as 34
+%------\ans=x(==vnum-x)-------
+%>>JOURNAL VOL AND NUMBER:
+%<<VOLUME PUNCTUATION:
+% %: (def) Volume with colon as vol(num):ppp
+% volp-sp,%: Volume with colon and space as vol(num): ppp
+% volp-semi,%: Volume with semi-colon as vol(num); ppp
+ volp-com,%: Volume with comma as vol(num), ppp
+% volp-blk,%: Volume with blank as vol(num) ppp
+%------\ans=c(==volp-com)-------
+%>>VOLUME PUNCTUATION:
+%<<YEAR IN JOURNAL SPECIFICATION:
+ %: (def) Journal year like others as given by date position
+% jdt-v,%: Journal vol(year) as 34(1995)
+% jdt-vs,%: Journal vol (year) as 34 (1995)
+% jdt-p,%: Year with pages as 34(2), (1995) 1345--1387
+% jdt-pc,%: Year, comma, pages as 34(2), (1995), 1345--1387
+%------\ans=*(==)-------
+%>>YEAR IN JOURNAL SPECIFICATION:
+%<<PAGE NUMBERS:
+ %: (def) Start and stop page numbers given
+% jpg-1,%: Only start page number
+%------\ans=*(==)-------
+%>>PAGE NUMBERS:
+%<<LARGE PAGE NUMBERS:
+ %: (def) No separators for large page numbers
+% pgsep-c,%: Comma inserted over 9999 as 11,234
+% pgsep-s,%: Thin space inserted over 9999 as 11 234
+% pgsep-p,%: Period inserted over 9999 as 11.234
+%------\ans=*(==)-------
+%>>LARGE PAGE NUMBERS:
+%<<WORD `PAGE' IN ARTICLES:
+ %: (def) Article pages numbers only as 234-256
+% jwdpg,%: Include `page' in articles as pp. 234--256
+%------\ans=*(==)-------
+%>>WORD `PAGE' IN ARTICLES:
+%<<POSITION OF PAGES:
+ %: (def) Pages given mid text as is normal
+% pp-last,%: Pages at end but before any notes
+%------\ans=*(==)-------
+%>>POSITION OF PAGES:
+%<<WORD `VOLUME' IN ARTICLES:
+ %: (def) Article volume as number only as 21
+% jwdvol,%: Include `volume' in articles as vol. 21
+%------\ans=*(==)-------
+%>>WORD `VOLUME' IN ARTICLES:
+%<<NUMBER AND SERIES FOR COLLECTIONS:
+ num-xser,%: Allows number without series and suppresses word "number"
+% %: (def) Standard BibTeX as: "number 123 in Total Works"; error if number and no series
+%------\ans=*(==num-xser)-------
+%>>NUMBER AND SERIES FOR COLLECTIONS:
+%<<POSITION OF NUMBER AND SERIES:
+ %: (def) After chapter and pages as in standard BibTeX
+% numser,%: Just before publisher or organization
+%------\ans=*(==)-------
+%>>POSITION OF NUMBER AND SERIES:
+%<<VOLUME AND SERIES FOR BOOKS/COLLECTIONS:
+ %: (def) Vol. 23 of Series as in standard BibTeX
+% ser-vol,%: Series, vol. 23
+%------\ans=*(==)-------
+%>>VOLUME AND SERIES FOR BOOKS/COLLECTIONS:
+%<<POSITION OF VOLUME AND SERIES FOR INCOLLECTIONS:
+ %: (def) Series and volume after the editors
+% ser-ed,%: Series and volume after booktitle and before editors
+%------\ans=*(==)-------
+%>>POSITION OF VOLUME AND SERIES FOR INCOLLECTIONS:
+%<<JOURNAL NAME PUNCTUATION:
+% %: (def) Comma after journal name
+ jnm-x,%: Space after journal name
+%------\ans=x(==jnm-x)-------
+%>>JOURNAL NAME PUNCTUATION:
+%<<BOOK TITLE:
+ %: (def) Book title italic (\em)
+% btit-rm,bt-rm,%: Book title plain (no font command)
+%------\ans=*(==)-------
+%>>BOOK TITLE:
+%<<PAGES IN BOOKS:
+ %: (def) Pages in book plain as pp. 50-55
+% bkpg-par,%: Pages in book in parentheses as (pp. 50-55)
+% bkpg-x,%: Pages in book bare as 50-55
+%------\ans=*(==)-------
+%>>PAGES IN BOOKS:
+%<<TOTAL PAGES OF A BOOK:
+ %: (def) Total book pages not printed
+% pg-bk,%: For book: 345 pages or pp.
+% pg-bk,pg-pre,%: Total book pages before publisher
+%------\ans=*(==)-------
+%>>TOTAL PAGES OF A BOOK:
+%<<PUBLISHER ADDRESS:
+ %: (def) Publisher, address as Harcourt, New York
+% add-pub,%: Address: Publisher as New York: Harcourt
+%------\ans=*(==)-------
+%>>PUBLISHER ADDRESS:
+%<<PUBLISHER IN PARENTHESES:
+ %: (def) Publisher as normal block without parentheses
+% pub-par,%: Publisher in parentheses
+% pub-date,%: Publisher and date in parentheses (Oxford, 1994)
+% pub-date,pub-xc,%: Publisher and date in parentheses, no comma (Oxford 1994)
+% pub-date,pub-xpar,%: Publisher and date without parentheses Oxford, 1994
+% pub-date,pub-xpar,pub-xc,%: Publisher and date, no parentheses, no comma Oxford 1994
+%------\ans=*(==)-------
+%>>PUBLISHER IN PARENTHESES:
+%<<PUBLISHER POSITION:
+ %: (def) Publisher after chapter, pages
+% pre-pub,%: Publisher before chapter, pages
+% pre-edn,%: Publisher after edition
+%------\ans=*(==)-------
+%>>PUBLISHER POSITION:
+%<<ISBN NUMBER:
+% isbn,%: Include ISBN for books, booklets, etc.
+ %: (def) No ISBN
+%------\ans=x(==)-------
+%>>ISBN NUMBER:
+%<<ISSN NUMBER:
+% issn,%: Include ISSN for periodicals
+ %: (def) No ISSN
+%------\ans=x(==)-------
+%>>ISSN NUMBER:
+%<<DOI NUMBER:
+% doi,%: Include DOI as "doi: number"
+% agu-doi,doi,%: Insert DOI AGU style as part of page number
+ %: (def) No DOI
+%------\ans=x(==)-------
+%>>DOI NUMBER:
+%<<`EDITOR' AFTER NAMES (EDITED BOOKS WITHOUT AUTHORS):
+% %: (def) Word `editor' after name
+ edpar,%: `Name (editor),' in parentheses, after name, comma after
+% edpar,bkedcap,%: `Name (Editor),' as above, editor upper case
+% edparc,%: `Name, (editor)' in parentheses, after name, comma between
+% edparc,bkedcap,%: `Name, (Editor)' as above, editor upper case
+% edparxc,%: `Name (editor)' in parentheses, after name, no commas
+% edparxc,bkedcap,%: `Name (Editor)' as above, editor upper case
+%------\ans=a(==edpar)-------
+%>>`EDITOR' AFTER NAMES (EDITED BOOKS WITHOUT AUTHORS):
+%<<EDITOR IN COLLECTIONS:
+% %: (def) Same as for edited book (names before booktitle)
+% edby,%: In booktitle, edited by .. (where .. is names)
+% edby-par,%: In booktitle (edited by ..)
+% edby-parc,%: In booktitle, (edited by ..)
+% edby,edbyx,%: In booktitle, editor ..
+% edby,edbyw,%: In booktitle, (editor) ..
+ edby-par,edbyx,%: In booktitle (editor..)
+% edby-parc,edbyx,%: In booktitle, (editor..)
+% edby,edbyy,%: In booktitle, .., editor
+% edby-par,edbyy,%: In booktitle (.., editor)
+%------\ans=k(==edby-par,edbyx)-------
+%>>EDITOR IN COLLECTIONS:
+%<<CAPITALIZE `EDITOR' OR `EDITED BY' (if editor capitalizable)
+ %: (def) `(editor,..)' or `(edited by..)' in lower case
+% edcap,%: `(Editor,..)' or `(Edited by..)' in upper case
+%------\ans=*(==)-------
+%>>CAPITALIZE `EDITOR' OR `EDITED BY' (if editor capitalizable)
+%<<PUNCTUATION BETWEEN SECTIONS (BLOCKS):
+% %: (def) \newblock after blocks (periods or new lines with openbib option)
+% blk-com,%: Comma between blocks
+% blk-com,com-semi,%: Semi-colon between blocks
+% blk-com,com-blank,%: Blanks between blocks
+ blk-tit,%: Period after titles of articles, books, etc else commas
+% blk-tit,tit-col,%: Colon after titles of articles, books, etc else commas
+% blk-tita,%: Period after titles of articles else commas
+% blk-tita,tit-col,%: Colon after titles of articles else commas
+%------\ans=t(==blk-tit)-------
+%>>PUNCTUATION BETWEEN SECTIONS (BLOCKS):
+%<<PUNCTUATION BEFORE NOTES (if not using \newblock)
+ %: (def) Notes have regular punctuation like all other blocks
+% blknt,%: Notes preceded by period
+%------\ans=*(==)-------
+%>>PUNCTUATION BEFORE NOTES (if not using \newblock)
+%<<PUNCTUATION AFTER AUTHORS:
+ %: (def) Author block normal with regular block punctuation
+% au-col,%: Author block with colon
+%------\ans=*(==)-------
+%>>PUNCTUATION AFTER AUTHORS:
+%<<PUNCTUATION AFTER `IN':
+% %: (def) Space after `in' for incollection or inproceedings
+% in-col,%: Colon after `in' (as `In: ...')
+% in-it,%: Italic `in' and space
+% in-col,in-it,%: Italic `in' and colon
+ in-x,%: No word `in' for edited works
+%------\ans=x(==in-x)-------
+%>>PUNCTUATION AFTER `IN':
+%<<`IN' WITH JOURNAL NAMES (if using 'in' with collections)
+% %: (def) No `in' before journal name
+% injnl,%: Add `in' before journal name in style for incollection
+%------\ans=*(==)-------
+%>>`IN' WITH JOURNAL NAMES (if using 'in' with collections)
+%<<FINAL PUNCTUATION:
+ %: (def) Period at very end of the listed reference
+% fin-bare,%: No period at end
+%------\ans=*(==)-------
+%>>FINAL PUNCTUATION:
+%<<ABBREVIATE WORD `PAGES' (if not using external language file)
+% %: (def) `Page(s)' (no abbreviation)
+ pp,%: `Page' abbreviated as p. or pp.
+% ppx,%: `Page' omitted
+%------\ans=a(==pp)-------
+%<<ABBREVIATE WORD `EDITORS':
+% %: (def) `Editor(s)' (no abbreviation)
+ ed,%: `Editor' abbreviated as ed. or eds.
+%------\ans=a(==ed)-------
+%>>ABBREVIATE WORD `EDITORS':
+%<<OTHER ABBREVIATIONS:
+% %: (def) No abbreviations of volume, edition, chapter, etc
+ abr,%: Abbreviations of such words
+%------\ans=a(==abr)-------
+%>>OTHER ABBREVIATIONS:
+%<<ABBREVIATION FOR `EDITION' (if abbreviating words)
+ %: (def) `Edition' abbreviated as `edn'
+% ednx,%: `Edition' abbreviated as `ed'
+%------\ans=*(==)-------
+%<<MONTHS WITH DOTS:
+ %: (def) Months with dots as Jan.
+% mth-bare,%: Months without dots as Feb Mar
+%------\ans=*(==)-------
+%>>MONTHS WITH DOTS:
+%>>ABBREVIATION FOR `EDITION' (if abbreviating words)
+%<<EDITION NUMBERS:
+ xedn,%: Editions as in database saving much processing memory
+% %: (def) Write out editions as first, second, third, etc
+% ord,%: Numerical editions as 1st, 2nd, 3rd, etc
+%------\ans=*(==xedn)-------
+%>>EDITION NUMBERS:
+%>>ABBREVIATE WORD `PAGES' (if not using external language file)
+%Reading external language file \cfile=
+%<<STORED JOURNAL NAMES:
+ %: (def) Full journal names for prestored journals
+% jabr,%: Abbreviated journal names
+% jabr,jaa,%: Abbreviated with astronomy shorthands like ApJ and AJ
+%------\ans=*(==)-------
+%>>STORED JOURNAL NAMES:
+%<<AMPERSAND:
+% %: (def) Use word `and' in author lists
+ amper,%: Use ampersand in place of `and'
+% varand,%: Use \BIBand in place of `and'
+%------\ans=a(==amper)-------
+%>>AMPERSAND:
+%<<COMMA BEFORE `AND':
+% %: (def) Comma before `and' as `Tom, Dick, and Harry'
+ and-xcom,%: No comma before `and' as `Tom, Dick and Harry'
+% and-com,%: Comma even with 2 authors as `Tom, and Harry'
+%------\ans=n(==and-xcom)-------
+%>>COMMA BEFORE `AND':
+%<<COMMA BEFORE `AND' EVEN FOR COLLECTION EDITORS (if using comma before `and' with authors)
+% and-com-ed,%: Comma with 2 editors in collections
+% %: (def) Two editors without comma as `Tom and Harry'
+%------\ans=*(==and-com-ed)-------
+%>>COMMA BEFORE `AND' EVEN FOR COLLECTION EDITORS (if using comma before `and' with authors)
+%<<NO `AND' IN REFERENCE LIST:
+ %: (def) With `and' before last author in reference list
+% xand,%: No `and' as `Tom, Dick, Harry'
+%------\ans=*(==)-------
+%>>NO `AND' IN REFERENCE LIST:
+%<<COMMA BEFORE `ET AL':
+% %: (def) Comma before `et al' in reference list
+ etal-xc,%: No comma before `et al'
+%------\ans=x(==etal-xc)-------
+%>>COMMA BEFORE `ET AL':
+%<<FONT OF `ET AL':
+% %: (def) Plain et al
+ etal-it,%: Italic et al
+% etal-rm,%: Roman et al even when authors something else
+%------\ans=i(==etal-it)-------
+%>>FONT OF `ET AL':
+%<<ADDITIONAL REVTeX DATA FIELDS:
+ %: (def) No additional fields for REVTeX
+% revdata,eprint,url,url-blk,%: Include REVTeX data fields collaboration, eid, eprint, archive, numpages, url
+%------\ans=*(==)-------
+%<<E-PRINT DATA FIELD: (without REVTeX fields)
+ %: (def) Do not include eprint field
+% eprint,%: Include eprint and archive fields for electronic publications
+%------\ans=*(==)-------
+%>>E-PRINT DATA FIELD: (without REVTeX fields)
+%<<URL ADDRESS: (without REVTeX fields)
+ %: (def) No URL for electronic (Internet) documents
+% url,url-blk,%: Include URL as regular item block
+% url,url-nt,%: URL as note
+% url,url-nl,%: URL on new line after rest of reference
+%------\ans=u(==url,url-blk)-------
+%>>URL ADDRESS: (without REVTeX fields)
+%>>ADDITIONAL REVTeX DATA FIELDS:
+%<<REFERENCE COMPONENT TAGS:
+ %: (def) No reference component tags in the \bibitem entries
+% bibinfo,%: Reference component tags like \bibinfo in the content of \bibitem
+%------\ans=*(==)-------
+%>>REFERENCE COMPONENT TAGS:
+%<<EMPHASIS: (affects all so-called italics)
+ %: (def) Use emphasis ie, \em, allows font switching
+% em-it,%: Use true italics ie, \it, absolute italics
+% em-x,%: No italics at all
+% em-ul,%: Underlining in place of italics, best with ulem package
+%------\ans=*(==)-------
+%>>EMPHASIS: (affects all so-called italics)
+%<<COMPATIBILITY WITH PLAIN TEX:
+ nfss,%: Use LaTeX commands which may not work with Plain TeX
+% plntx,%: Use only Plain TeX commands for fonts and testing
+%------\ans=*(==nfss)-------
+%>>COMPATIBILITY WITH PLAIN TEX:
+,{%
+ }}
+\generate{\file{functional_ecol.bst}{\MBopts}}
+\endbatchfile
diff --git a/biblio/bibtex/contrib/bestpapers/Makefile b/biblio/bibtex/contrib/bestpapers/Makefile
new file mode 100644
index 0000000000..23f39b480d
--- /dev/null
+++ b/biblio/bibtex/contrib/bestpapers/Makefile
@@ -0,0 +1,35 @@
+PACKAGE = bestpapers
+
+TEX = bestpapers-guide.tex
+
+PDF = ${TEX:%.tex=%.pdf}
+
+all: ${PDF}
+
+%.pdf: %.tex bestpapers.bst tex.bib
+ pdflatex $*
+ - bibtex tex
+ - bibtex typography
+ pdflatex $*
+ pdflatex $*
+ while ( grep -q 'may have changed' $*.log) \
+ do pdflatex $<; done
+
+clean:
+ $(RM) *.log *.aux \
+ *.cfg *.glo *.idx *.toc \
+ *.ilg *.ind *.out *.lof \
+ *.lot *.bbl *.blg *.gls \
+ *.dvi *.ps *.thm *.tgz *.zip
+
+distclean: clean
+ $(RM) $(PDF)
+
+archive: all clean
+ cd ..; \
+ tar -czvf $(PACKAGE)/$(PACKAGE).tgz --exclude '*~' --exclude '*.tgz' --exclude '*.zip' --exclude CVS $(PACKAGE); \
+ cd $(PACKAGE)
+
+zip: all clean
+ cd ..; $(RM) $(PACKAGE).zip; \
+ zip -r $(PACKAGE).zip $(PACKAGE)/* -x '*~' -x '*.tgz' -x '*.zip' -x '*CVS*' \ No newline at end of file
diff --git a/biblio/bibtex/contrib/bestpapers/README b/biblio/bibtex/contrib/bestpapers/README
new file mode 100644
index 0000000000..683da6adcc
--- /dev/null
+++ b/biblio/bibtex/contrib/bestpapers/README
@@ -0,0 +1,16 @@
+ Bestpapers bibliography style
+ Boris Veytsman
+ Version 1.0
+
+Many people preparing their resumes find the requirement ``please list
+five (or six, or ten) papers authored by you''. The same requirement
+is often stated for reports prepared by professional teams. The
+creation of such lists may be a cumbersome task. Even more difficult
+is to support the lists over the time, when one adds new papers. The
+style bestpapers.bst is intended to make this task simpler. It is
+based on the idea that it is easier to score than to sort: we can
+assign a score to a paper, and then let the computer to select the
+papers with highest scores.
+
+This work was commissioned by Consumer Financial Protection Bureau,
+United States Treasury. This package is in the public domain
diff --git a/biblio/bibtex/contrib/bestpapers/bestpapers-export.bst b/biblio/bibtex/contrib/bestpapers/bestpapers-export.bst
new file mode 100644
index 0000000000..ce8097777e
--- /dev/null
+++ b/biblio/bibtex/contrib/bestpapers/bestpapers-export.bst
@@ -0,0 +1,535 @@
+%% besstpapers-export.bst
+%%
+%% This file is in the public domain, see
+%% https://creativecommons.org/publicdomain/zero/1.0/legalcode
+%%
+%%
+%% Based on export.bst
+%%
+%% EXPORT.BST COPYRIGHT STATEMENT
+%% [Not applicable here since the name is changed but preserved
+%% for completeness]
+%%
+%% This is file `export.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% bibexport.dtx (with options: `export')
+%%
+%% (c) 2011/11/28 Nicolas Markey <markey at lsv dot ens-cachan dot fr>
+%%
+%% This work may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%% The Current Maintainer of this work is Nicolas Markey.
+%%
+%% END EXPORT.BST COPYRIGHT STATEMENT
+%%
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+%%
+FUNCTION{left.width}{#18}
+FUNCTION{right.width}{#55}
+FUNCTION{url.right.width}{#61}
+FUNCTION{left.short.width}{#10} %% for @preamble
+FUNCTION{right.long.width}{#63}
+FUNCTION{left.delim}{"{"}
+FUNCTION{right.delim}{"}"}
+ENTRY{
+ address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ abstract
+ doi
+ eid
+ isbn
+ issn
+ language
+ url
+ score
+ max.best.papers
+}{}{}
+FUNCTION{not}
+{
+ {#0}
+ {#1}
+ if$
+}
+FUNCTION{and}
+{
+ 'skip$
+ {pop$ #0}
+ if$
+}
+FUNCTION{or}
+{
+ {pop$ #1}
+ 'skip$
+ if$
+}
+
+INTEGERS{left.length right.length}
+STRINGS{ s t }
+STRINGS { final.max.best.papers }
+INTEGERS {num.seq printed.all }
+
+FUNCTION{space.complete}
+{
+ 'left.length :=
+ duplicate$ text.length$ left.length swap$ -
+ {duplicate$ #0 >}
+ {
+ swap$ " " * swap$ #1 -
+ }
+ while$
+ pop$
+}
+FUNCTION{split.string}
+{
+ 'right.length :=
+ duplicate$ right.length #1 + #1 substring$ "" =
+ {""}
+ {
+ 's :=
+ right.length
+ {duplicate$ duplicate$ s swap$ #1 substring$ " " = not and}
+ {#1 -}
+ while$
+ duplicate$ #2 <
+ {
+ pop$ " " s * ""
+ }
+ {
+ duplicate$ s swap$ #1 swap$ substring$
+ swap$
+ s swap$ global.max$ substring$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION{split.url}
+{
+ 'right.length :=
+ duplicate$ right.length #1 + #1 substring$ "" =
+ {""}
+ {
+ 's :=
+ right.length
+ {duplicate$ duplicate$ s swap$ #1 substring$ "/" = not and}
+ {#1 -}
+ while$
+ duplicate$ #2 <
+ {
+ pop$ " " s * ""
+ }
+ {
+ duplicate$ s swap$ #1 swap$ substring$
+ swap$ #1 +
+ s swap$ global.max$ substring$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION{split.name}
+{
+ 'right.length :=
+ duplicate$ right.length #1 + #1 substring$ "" =
+ {""}
+ {
+ 's :=
+ right.length
+ {duplicate$ duplicate$ s swap$ #5 substring$ " and " = not and}
+ {#1 -}
+ while$
+ duplicate$ #2 <
+ {
+ pop$ " " s * ""
+ }
+ {
+ #4 + duplicate$ s swap$ #1 swap$ substring$
+ swap$
+ s swap$ global.max$ substring$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION{field.export}
+{
+ duplicate$ missing$
+ 'skip$
+ {
+ left.delim swap$ * right.delim *
+ swap$
+ " " swap$ * " = " * left.width space.complete
+ swap$ "," *
+ {duplicate$ "" = not}
+ {
+ right.width split.string 't :=
+ *
+ write$ newline$
+ "" left.width space.complete t
+ }
+ while$
+ }
+ if$
+ pop$ pop$
+}
+FUNCTION{abbrv.export}
+{
+ duplicate$ missing$
+ 'skip$
+ {
+ swap$
+ " " swap$ * " = " * left.width space.complete
+ swap$ "," *
+ {duplicate$ "" = not}
+ {
+ right.width split.string 't :=
+ *
+ write$ newline$
+ "" left.width space.complete t
+ }
+ while$
+ }
+ if$
+ pop$ pop$
+}
+FUNCTION{name.export}
+{
+ duplicate$ missing$
+ 'skip$
+ {
+ left.delim swap$ * right.delim *
+ swap$
+ " " swap$ * " = " * left.width space.complete
+ swap$ "," *
+ {duplicate$ "" = not}
+ {
+ right.width split.name 't :=
+ *
+ write$ newline$
+ "" left.width space.complete t
+ }
+ while$
+ }
+ if$
+ pop$ pop$
+}
+FUNCTION{url.export}
+{
+ duplicate$ missing$
+ 'skip$
+ {
+ left.delim swap$ * right.delim *
+ swap$
+ " " swap$ * " = " * left.width space.complete
+ swap$ "," *
+ {duplicate$ "" = not}
+ {
+ url.right.width split.url 't :=
+ *
+ write$ newline$
+ "" left.width space.complete t
+ }
+ while$
+ }
+ if$
+ pop$ pop$
+}
+MACRO{jan}{"export-jan"}
+MACRO{feb}{"export-feb"}
+MACRO{mar}{"export-mar"}
+MACRO{apr}{"export-apr"}
+MACRO{may}{"export-may"}
+MACRO{jun}{"export-jun"}
+MACRO{jul}{"export-jul"}
+MACRO{aug}{"export-aug"}
+MACRO{sep}{"export-sep"}
+MACRO{oct}{"export-oct"}
+MACRO{nov}{"export-nov"}
+MACRO{dec}{"export-dec"}
+MACRO{acmcs}{"export-acmcs"}
+MACRO{acta}{"export-acta"}
+MACRO{cacm}{"export-cacm"}
+MACRO{ibmjrd}{"export-ibmjrd"}
+MACRO{ibmsj}{"export-ibmsj"}
+MACRO{ieeese}{"export-ieeese"}
+MACRO{ieeetc}{"export-ieeetc"}
+MACRO{ieeetcad}{"export-ieeetcad"}
+MACRO{ipl}{"export-ipl"}
+MACRO{jacm}{"export-jacm"}
+MACRO{jcss}{"export-jcss"}
+MACRO{scp}{"export-scp"}
+MACRO{sicomp}{"export-sicomp"}
+MACRO{tocs}{"export-tocs"}
+MACRO{tods}{"export-tods"}
+MACRO{tog}{"export-tog"}
+MACRO{toms}{"export-toms"}
+MACRO{toois}{"export-poois"}
+MACRO{toplas}{"export-toplas"}
+MACRO{tcs}{"export-tcs"}
+INTEGERS{ intxt }
+FUNCTION{remove.exports.from.months}
+{
+ #0 'intxt :=
+ duplicate$ missing$
+ 'skip$
+ {'t :=
+ ""
+ {t #1 #1 substring$ "" = not}
+ {
+ t #1 #7 substring$ "export-" =
+ {intxt
+ {right.delim * #0 'intxt :=}
+ 'skip$
+ if$
+ duplicate$ "" =
+ 'skip$
+ {" # " *}
+ if$
+ t #8 #3 substring$ *
+ t #11 global.max$ substring$ 't :=}
+ {intxt
+ 'skip$
+ {duplicate$ "" =
+ {}
+ {" # " *}
+ if$
+ left.delim * #1 'intxt :=}
+ if$
+ t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=}
+ if$
+ }
+ while$
+ intxt
+ {right.delim *}
+ 'skip$
+ if$
+ }
+ if$
+}
+FUNCTION{remove.export.from.journals}
+{
+ duplicate$ missing$
+ 'skip$
+ {
+ duplicate$ #1 #7 substring$ "export-" =
+ {#8 global.max$ substring$}
+ {left.delim swap$
+ right.delim * *}
+ if$
+ }
+ if$
+}
+FUNCTION{entry.export.standard}
+{
+ "address" address field.export
+ "author" author name.export
+ "booktitle" booktitle field.export
+ "chapter" chapter field.export
+ "crossref" crossref field.export
+ "edition" edition field.export
+ "editor" editor name.export
+ "howpublished" howpublished field.export
+ "institution" institution field.export
+ "journal" journal remove.export.from.journals abbrv.export
+ "key" key field.export
+ "month" month remove.exports.from.months abbrv.export
+ "note" note field.export
+ "number" number field.export
+ "organization" organization field.export
+ "pages" pages field.export
+ "publisher" publisher field.export
+ "school" school field.export
+ "series" series field.export
+ "type" type field.export
+ "title" title field.export
+ "volume" volume field.export
+ "year" year field.export
+}
+FUNCTION{entry.export.extra}
+{
+ "abstract" abstract field.export
+ "doi" doi field.export
+ "eid" eid field.export
+ "isbn" isbn field.export
+ "issn" issn field.export
+ "language" language field.export
+ "url" url url.export
+ "score" score field.export
+ "max.best.papers" max.best.papers field.export
+}
+FUNCTION{entry.export}
+{
+ entry.export.standard
+ entry.export.extra
+}
+FUNCTION{export}
+{
+ "@" type$ * "{" * cite$ * "," * write$ newline$
+ entry.export
+ "}" write$ newline$ newline$
+}
+FUNCTION{preamble}
+{
+preamble$ duplicate$ "" =
+ 'pop$
+ {
+ ",-------------------." write$ newline$
+ "| PREAMBLE |" write$ newline$
+ "`-------------------'" write$ newline$ newline$
+ "@preamble{ " swap$
+ quote$ swap$ * quote$ *
+ {duplicate$ "" = not}
+ {
+ right.long.width split.string 't :=
+ *
+ write$ newline$
+ "" left.short.width space.complete t
+ }
+ while$
+ "}" write$ newline$ newline$
+ pop$ pop$
+ }
+if$
+}
+FUNCTION{header}
+{
+final.max.best.papers "" =
+ {"5" 'final.max.best.papers :=}
+ 'skip$
+if$
+#0 'printed.all :=
+newline$
+}
+FUNCTION{entries.header}
+{
+preamble$ "" =
+ 'skip$
+ {
+ ",-------------------." write$ newline$
+ "| BIBTEX ENTRIES |" write$ newline$
+ "`-------------------'" write$ newline$ newline$
+ }
+if$
+}
+FUNCTION{article}{export}
+FUNCTION{book}{export}
+FUNCTION{booklet}{export}
+FUNCTION{conference}{export}
+FUNCTION{habthesis}{export}
+FUNCTION{inbook}{export}
+FUNCTION{incollection}{export}
+FUNCTION{inproceedings}{export}
+FUNCTION{journals}{export}
+FUNCTION{manual}{export}
+FUNCTION{mastersthesis}{export}
+FUNCTION{misc}{export}
+FUNCTION{phdthesis}{export}
+FUNCTION{proceedings}{export}
+FUNCTION{techreport}{export}
+FUNCTION{unpublished}{export}
+FUNCTION{setup}{export}
+
+FUNCTION {str.to.fix}
+{ "000000000" swap$ *
+ #-1 #10 substring$
+}
+
+FUNCTION {int.to.fix}
+{ "000000000" swap$ int.to.str$ *
+ #-1 #10 substring$
+}
+
+
+FUNCTION {presort}
+{ max.best.papers missing$
+ 'skip$
+ {max.best.papers 'final.max.best.papers :=}
+ if$
+ score missing$
+ {"0"}
+ {score}
+ if$
+ str.to.fix
+ 'sort.key$ :=
+}
+
+
+
+READ
+ITERATE {presort}
+SORT
+
+EXECUTE{header}
+EXECUTE{preamble}
+EXECUTE{entries.header}
+
+FUNCTION {print.entry}
+{ type$ "setup" =
+ 'call.type$
+ { printed.all
+ 'skip$
+ { num.seq #1 + 'num.seq :=
+ num.seq int.to.fix final.max.best.papers str.to.fix =
+ {#1 'printed.all :=}
+ 'skip$
+ if$
+ call.type$
+ }
+ if$}
+ if$
+}
+
+
+REVERSE {print.entry}
+
+
+%%
+%%
+%% End of file `export.bst'.
diff --git a/biblio/bibtex/contrib/bestpapers/bestpapers-guide.pdf b/biblio/bibtex/contrib/bestpapers/bestpapers-guide.pdf
new file mode 100644
index 0000000000..a7d09b4228
--- /dev/null
+++ b/biblio/bibtex/contrib/bestpapers/bestpapers-guide.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/bestpapers/bestpapers-guide.tex b/biblio/bibtex/contrib/bestpapers/bestpapers-guide.tex
new file mode 100644
index 0000000000..d46e690a0f
--- /dev/null
+++ b/biblio/bibtex/contrib/bestpapers/bestpapers-guide.tex
@@ -0,0 +1,158 @@
+\documentclass{article}
+\usepackage[numbers]{natbib}
+\usepackage{hyperref,alltt}
+\usepackage[resetlabels]{multibib}
+\newcommand{\BibTeX}{\textsc{Bib}\TeX}
+\newcites{tex}{Books and articles about \TeX}
+\newcites{typography}{Books and articles about typography}
+\begin{document}
+
+\title{User Guide for \texttt{bestpapers.bst} Bibliography Style}
+\author{Boris Veytsman\thanks{This work was commissioned by Consumer
+ Financial Protection Bureau, United States Treasury. This file
+ and the package are in the public domain}}
+\date{October 2014}
+\maketitle
+
+\section{Introduction}
+\label{sec:intro}
+
+
+
+Many people preparing their r\'esum\'es find the requirement ``please
+list five (or six, or ten) papers authored by you''. The same
+requirement is often stated for reports prepared by professional
+teams. The creation of such lists may be a cumbersome task. Even more
+difficult is to support the lists over the time, when one adds new
+papers. The style \texttt{bestpapers.bst} is intended to make this task
+simpler. It is based on the idea that it is easier to score than to
+sort: we can assign a score to a paper, and then let the computer to
+select the papers with highest scores.
+
+\section{Simple Usage}
+\label{sec:simple}
+
+The use of the package is simple. We assume that you keep all your
+publications in a \BibTeX\ file (or files). Then,
+\begin{enumerate}
+\item Add to each bibliographic entry in the file the field
+ \begin{alltt}
+ score = \itshape SCORE
+ \end{alltt}
+ where \texttt{\itshape SCORE} is an non-negative integer. The
+ higher the score is, the more you think about the paper. Since only
+ the relation between scores matter, you may limit yourself to scores
+ between, say, $0$ and $100$. An absent score is equivalent to
+ \texttt{score=0}.
+\item Add to the preamble of your r\'esum\'e
+\begin{verbatim}
+\usepackage[numbers]{natbib}
+\end{verbatim}
+ and to the document itself
+\begin{verbatim}
+\renewcommand{\refname}{My Best Works}
+\nocite{*}
+\bibliography{myworks}
+\bibliographystyle{bestpapers}
+\end{verbatim}
+\item You document will get the list of five~best works, sorted by
+ decreasing scores.
+\end{enumerate}
+
+
+\section{Customization}
+\label{sec:custom}
+
+
+Sometimes you need to change the number of best papers displayed.
+The package introduces a new entry type \verb|@SETUP| with the
+field \verb|max.best.papers|, for example,
+\begin{verbatim}
+@SETUP{setup,
+ max.best.papers = 6,
+}
+\end{verbatim}
+
+Normally the score of the papers is not printed. However, for debug
+purposes you can change this: just define the command
+\verb|\PrintScore|, for example
+\begin{verbatim}
+\newcommand{\PrintScore}[1]{Score: #1}
+\end{verbatim}
+
+\section{Bibexport}
+\label{sec:bibexport}
+
+Sometimes you need to extract your best works from \texttt{.bib} files
+rather than typeset the list of them. You can use for this the
+program \textsl{bibexport} (\url{http://www.ctan.org/pkg/bibexport}), a
+handy tool for the manipulation of \BibTeX\ databases. The package
+provides the style \texttt{bestpapers-export.bst} intended for this
+task.
+
+To extract the best works from the files \texttt{myworks.bib} and
+\texttt{ourworks.bib} into the file \texttt{result.bib},
+\begin{enumerate}
+\item Create the file \texttt{extract.aux} with the following content:
+\begin{verbatim}
+\citation{*}
+\bibdata{myworks,ourworks}
+\bibstyle{bestpapers-export}
+\end{verbatim}
+
+\item If necessary, add to any of these files \texttt{@SETUP} entry as
+ described in Section~\ref{sec:custom}.
+\item Run
+\begin{verbatim}
+bibexport -b bestpapers-export -o result.bib export.aux
+\end{verbatim}
+
+\end{enumerate}
+
+
+\section{Multiple Bibliographies}
+\label{sec:multiple}
+
+
+
+Sometimes you need to have collective report and provide several
+best papers for each person in the group. The package
+\texttt{multibib} allows you to do this:
+\begin{verbatim}
+\usepackage{multibib}
+\newcites{chico,harpo,groucho,zeppo}{Chico's Papers,%
+ Harpo's Papers,%
+ Groucho's Papers,%
+ Zeppo's Papers}
+...
+\nocitechico{*}
+\bibliographychico{chico.bib}
+\bibliographystylechico{bestpapers}
+
+\nociteharpo{*}
+\bibliographyharpo{harpo.bib}
+\bibliographystyleharpo{bestpapers}
+
+\nocitegroucho{*}
+\bibliographygroucho{groucho.bib}
+\bibliographystylegroucho{bestpapers}
+
+\nocitezeppo{*}
+\bibliographyzeppo{zeppo.bib}
+\bibliographystylezeppo{bestpapers}
+\end{verbatim}
+
+Note that you may want to use \texttt{resetlabels} option of the
+\texttt{multibib} package if you want all the lists to start from~1.
+
+An example of this usage is the source code of this file, which lists
+6~books about \TeX\ and 5~books about typography separately.
+
+\nocitetex{*}
+\nocitetypography{*}
+\bibliographytex{tex}
+\bibliographystyletex{bestpapers}
+\bibliographytypography{typography}
+\bibliographystyletypography{bestpapers}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/bestpapers/bestpapers.bst b/biblio/bibtex/contrib/bestpapers/bestpapers.bst
new file mode 100644
index 0000000000..b4e49a1023
--- /dev/null
+++ b/biblio/bibtex/contrib/bestpapers/bestpapers.bst
@@ -0,0 +1,1280 @@
+%% File: `bestpapers.bst'
+%%
+%% Based on unsrtnat.bst
+%%
+%% This file is in the public domain, see
+%% https://creativecommons.org/publicdomain/zero/1.0/legalcode
+%%
+%% UNSRTNAT COPYRIGHT STATEMENT
+%% [Not applicable here since the name is changed but preserved
+%% for completeness]
+%% File: `unsrtnat.bst'
+%% A modification of `unsrt.bst' for use with natbib package
+%%
+%% Copyright 1993-2007 Patrick W Daly
+%% Max-Planck-Institut f\"ur Sonnensystemforschung
+%% Max-Planck-Str. 2
+%% D-37191 Katlenburg-Lindau
+%% Germany
+%% E-mail: daly@mps.mpg.de
+%%
+%% This program can be redistributed and/or modified under the terms
+%% of the LaTeX Project Public License Distributed from CTAN
+%% archives in directory macros/latex/base/lppl.txt; either
+%% version 1 of the License, or any later version.
+%%
+%% END UNSRTNAT COPYRIGHT STATEMENT
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ doi
+ eid
+ edition
+ editor
+ howpublished
+ institution
+ isbn
+ issn
+ journal
+ key
+ max.best.papers
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ score
+ series
+ title
+ type
+ url
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+INTEGERS {num.seq printed.all }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #0 'num.seq :=
+ #0 'printed.all :=
+}
+
+STRINGS { s t final.max.best.papers}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.isbn}
+{ isbn empty$
+ { "" }
+ { new.block "ISBN " isbn * }
+ if$
+}
+
+FUNCTION {format.issn}
+{ issn empty$
+ { "" }
+ { new.block "ISSN " issn * }
+ if$
+}
+
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { new.block "URL \url{" url * "}" * }
+ if$
+}
+
+FUNCTION {format.doi}
+{ doi empty$
+ { "" }
+ { new.block "\doi{" doi * "}" * }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {format.full.names}
+{'s :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.full}
+{ author empty$
+ { editor empty$
+ { "" }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.full}
+{ author empty$
+ { "" }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.full}
+{ editor empty$
+ { "" }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.full
+ { type$ "proceedings" =
+ 'editor.full
+ 'author.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year duplicate$ empty$
+ { "empty year in " cite$ * warning$
+ pop$ "" }
+ 'skip$
+ if$
+ month empty$
+ 'skip$
+ { month
+ " " * swap$ *
+ }
+ if$
+ extra.label *
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.eid}
+{ eid empty$
+ { "" }
+ { "art." eid tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "\penalty0 (" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":\penalty0 " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.eid}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "\penalty0 (" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ eid empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.eid }
+ { ":\penalty0 " * eid * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In \emph{" journal * "}" * }
+ if$
+ }
+ { "In " }
+ if$
+ " \citet{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "\emph{" * series * "}" * }
+ if$
+ }
+ 'skip$
+ if$
+ }
+ 'skip$
+ if$
+ " \citet{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In \emph{" booktitle * "}" * }
+ if$
+ }
+ { "In " }
+ if$
+ }
+ { "In " }
+ if$
+ " \citet{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ eid empty$
+ { format.vol.num.pages output }
+ { format.vol.num.eid output }
+ if$
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ eid empty$
+ { format.pages output }
+ { format.eid output }
+ if$
+ }
+ if$
+ format.issn output
+ format.doi output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ format.isbn output
+ format.doi output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ format.isbn output
+ format.doi output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ format.isbn output
+ format.doi output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.isbn output
+ format.doi output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.isbn output
+ format.doi output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ new.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+ format.date output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ format.issn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ format.isbn output
+ format.doi output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ format.url output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+FUNCTION {setup} {}
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+INTEGERS { seq.num }
+
+FUNCTION {init.seq}
+{ #0 'seq.num :=}
+
+EXECUTE {init.seq}
+
+FUNCTION {int.to.fix}
+{ "000000000" swap$ int.to.str$ *
+ #-1 #10 substring$
+}
+
+FUNCTION {str.to.fix}
+{ "000000000" swap$ *
+ #-1 #10 substring$
+}
+
+
+FUNCTION {presort}
+{ calc.label
+ max.best.papers missing$
+ 'skip$
+ {max.best.papers 'final.max.best.papers :=}
+ if$
+ score missing$
+ {"0"}
+ {score}
+ if$
+ str.to.fix
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ final.max.best.papers "" =
+ {"5" 'final.max.best.papers :=}
+ 'skip$
+ if$
+ "\begin{thebibliography}{" final.max.best.papers * "}" *
+ write$ newline$
+ "\providecommand{\natexlab}[1]{#1}"
+ write$ newline$
+ "\providecommand{\url}[1]{\texttt{#1}}"
+ write$ newline$
+ "\expandafter\ifx\csname urlstyle\endcsname\relax"
+ write$ newline$
+ " \providecommand{\doi}[1]{doi: #1}\else"
+ write$ newline$
+ " \providecommand{\doi}{doi: \begingroup \urlstyle{rm}\Url}\fi"
+ write$ newline$
+ " \providecommand{\PrintScore}[1]{}"
+ write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+FUNCTION {print.entry}
+{ printed.all
+ 'skip$
+ { num.seq #1 + 'num.seq :=
+ num.seq int.to.fix final.max.best.papers str.to.fix =
+ {#1 'printed.all :=}
+ 'skip$
+ if$
+ call.type$
+ "\PrintScore{" sort.key$ * "}" * write$ newline$
+ }
+ if$
+}
+
+REVERSE {print.entry}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/bestpapers/tex.bib b/biblio/bibtex/contrib/bestpapers/tex.bib
new file mode 100644
index 0000000000..ab277df5ab
--- /dev/null
+++ b/biblio/bibtex/contrib/bestpapers/tex.bib
@@ -0,0 +1,108 @@
+@SETUP{setup,
+ score = 0,
+ max.best.papers = 6,
+}
+
+
+@BOOK{Lamport94,
+ author = {Leslie Lamport},
+ year = 1994,
+ title = {{\LaTeX}: a Document Preparation System},
+ edition = {Second},
+ publisher = {Addison-Wesley Publishing Company},
+ address = {Reading, MA},
+ note = {Illustrations by Duane Bibby},
+ score = 10,
+}
+
+@Manual{MI,
+ author = {P. Cheng and M. A. Harrison},
+ title = {Index Preparation and Processing},
+ year = 1988,
+ month = {October},
+ note = {\url{http://mirrors.ctan.org/indexing/makeindex/paper}},
+ score = 5,
+}
+
+
+@Misc{TeXFAQ,
+ author = {{UK \TeX{} Users Group}},
+ title = {{UK} List of {\TeX} Frequently Asked Questions},
+ year = 2008,
+ howpublished = {\url{http://www.tex.ac.uk/cgi-bin/texfaq2html}},
+ score = 4,
+}
+
+
+@manual{lshort,
+ author = {Tobias Oetiker and Hubert Partl and Irene Hyna and
+ Elisabeth Schlegl},
+ month = {April},
+ note = {\url{http://mirrors.ctan.org/info/lshort}},
+ title = {The Not So Short Introduction to \LaTeXe{}, Or
+ \LaTeXe{} in 174 Minutes},
+ year = {2011},
+ score = 5,
+}
+
+@Book{Mittelbach04:LaTeXCompanion,
+ author = {Frank Mittelbach and Michel Goossens and Johannes Braams
+ and David Carlisle and Chris Rowley},
+ title = {The \LaTeX{} Companion},
+ publisher = {Addison-Wesley Professional},
+ year = 2004,
+ series = {Addison-Wesley Series on Tools and Techniques
+ for Computer Typesetting},
+ address = {Boston},
+ score = 8,
+}
+
+
+@Book{Goossens97:LateXGraphicsCompanion,
+ author = {Michel Goossens and Sebastian Rahtz and Frank Mittelbach},
+ title = { The \LaTeX{} Graphics Companion:
+ Illustrating Documents With \TeX{} and {PostScript}},
+ chapter = {},
+ publisher = {Addison-Wesley},
+ year = 1997,
+ series = {Addison-Wesley Series on Tools and Techniques
+ for Computer Typesetting},
+ address = {Reading, MA},
+ score = 7,
+}
+
+@Book{Goossens99:LaTeXWebCompanion,
+ author = {Michael Goossens and Sebastian Rahtz and
+ Eitan M. Gurari and Ross Moore and Robert S. Sutor},
+ title = {The \LaTeX{} Web Companion:
+ Integrating \TeX{}, {HTML}, and {XML}},
+ publisher = {Addison Wesley Longman},
+ year = 1999,
+ series = {Addison-Wesley Series on Tools and Techniques
+ for Computer Typesetting},
+ address = {Reading, MA},
+ score = 7,
+}
+
+@Book{Knuth94:TheTeXbook,
+ author = {Knuth, Donald Ervin},
+ title = {The \TeX book},
+ publisher = {Addison-Wesley Publishing Company},
+ year = 1994,
+ series = {Computers \& Typesetting A},
+ address = {Reading, MA},
+ note = {Illustrations by Duane Bibby},
+ score = 20
+}
+
+
+@Manual{instr-l,
+ title = {Instructions for Preparation of Papers and
+ Monographs, {AMS\LaTeX}},
+ organization = {American Mathematical Society},
+ month = {August},
+ year = 2004,
+ note = {\url{http://mirrors.ctan.org/macros/latex/required/amslatex/classes/instr-l.pdf}},
+ score = 4,
+}
+
diff --git a/biblio/bibtex/contrib/bestpapers/typography.bib b/biblio/bibtex/contrib/bestpapers/typography.bib
new file mode 100644
index 0000000000..a96304cfdf
--- /dev/null
+++ b/biblio/bibtex/contrib/bestpapers/typography.bib
@@ -0,0 +1,214 @@
+@Book{Tufte03:PowerPoint,
+ author = {Edward R. Tufte},
+ title = {The Cognitive Style of {Power Point}},
+ publisher = {Graphics Press LLC},
+ year = 2003,
+ address = {Cheshire, CT},
+ score = 10
+}
+
+
+@Book{Gill:Typography,
+ author = {Eric Gill},
+ title = {An Essay on Typography. With a new
+ introduction by Cristopher Skelton},
+ publisher = {David R. Godine},
+ year = 2007,
+ address = {Boston},
+ score = 12
+}
+
+
+@Article{Brumberger03a,
+ author = {Brumberger, Eva R.},
+ title = {The Rhetoric of Typography: The Persona of Typeface and
+ Text},
+ journal = {Technical Communication},
+ year = 2003,
+ volume = 50,
+ number = 2,
+ pages = {206--223},
+ score = 12,
+ annote = {Practitioners typically agree that typefaces have
+personas, and they often suggest specific personas for specific
+typefaces, but these guidelines rely on craftlore rather than on
+empirical evidence. Research on typography has focused primarily on
+readability and legibility issues; there have been few studies
+investigating the personas of typefaces. There is a clear gap in the
+research. With the increased flexibility in design that comes with
+more sophisticated desktop publishing technology, with an ongoing
+shift from printed to electronic documents, and with a growing
+emphasis on visual communication, this gap is becoming increasingly
+important to the field of technical communication. The studies
+discussed here provide strong empirical support for the notion that
+readers ascribe personality attributes both to typefaces and to text
+passages. The data provide a foundation for investigation of the
+interactions between typeface and text persona.} }
+
+
+@Article{Brumberger03b,
+ author = {Brumberger, Eva R.},
+ title = {The Rhetoric of Typography: The Awareness and
+ Impact of Typeface Appropriateness},
+ journal = {Technical Communication},
+ year = 2003,
+ volume = 50,
+ number = 2,
+ pages = {224--231},
+ score = 8,
+ annote = {Technical communicators have an emerging body of research
+ in visual rhetoric on which to build our practice, but little of
+ that work has focused on the rhetorical role of typography. The
+ majority of studies focused on typography have examined instead its
+ role in readability and legibility. A handful of studies have
+ investigated typeface persona, exploring the notion that typefaces
+ carry with them a message distinct from that of the verbal text that
+ they represent, and an additional few have investigated the issue of
+ typeface suitability. The studies presented here extend this
+ discussion by investigating whether clashes in typeface and text
+ persona affect readers\u2019 perceptions of the text.} }
+
+
+
+@Article{Brumberger04,
+ author = {Brumberger, Eva},
+ title = {The Rhetoric of Typography: Effects on Reading
+ Time, Reading Comprehension, and Perceptions of
+ Ethos},
+ journal = {Technical Communication},
+ year = 2004,
+ volume = 51,
+ number = 1,
+ pages = {13--24},
+ score = 9,
+ annote = {Asserts that typography has not occupied a
+ significant role in discussions of visual rhetoric.
+ Extends those discussions by investigating whether
+ typeface persona shapes readers' interactions with a
+ document.}
+}
+
+@Book{Bartram04,
+ author = {Alan Bartram},
+ title = {Bauhaus, Modernism and the Illustrated Book},
+ publisher = {Yale University Press},
+ year = 2004,
+ address = {New Haven, CT},
+ score = 14,
+}
+
+@Book{Tschichold91:FormBook,
+ author = {Jan Tschichold},
+ editor = {Robert Bringhurst},
+ title = {The Form of the Book.
+ Essays on the Morality of Good Design},
+ publisher = {Hartley \& Marks},
+ year = 1991,
+ address = {Point Roberts, Washington},
+ score = 25
+}
+
+
+
+@book{bringhurst2004elements,
+ title={The Elements of Typographic Style},
+ author={Bringhurst, Robert},
+ isbn={9780881792065},
+ lccn={2004053913},
+ year={2004},
+ publisher={Hartley \& Marks, Publishers},
+ address = {Vancouver, BC, Canada},
+ score = 22,
+}
+
+
+@Book{Tschichold98:NewTypography,
+ author = {Jan Tschichold},
+ title = {The New Typography},
+ publisher = {University of California Press},
+ year = 1998,
+ address = {Berkeley and Los Angelos, CA},
+ score = 24,
+}
+
+@Article{Legge11,
+ author = {Gordon E. Legge and Charles A. Bigelow},
+ title = {Does Print Size Matter for Reading?
+ {A} Review of Findings
+ from Vision Science and Typography},
+ journal = {J. Vision},
+ year = 2011,
+ volume = {11(5)},
+ number = 8,
+ pages = {1--22},
+ score = 23,
+ annote = {The size and shape of printed symbols determine the
+legibility of text. In this paper, we focus on print size because of
+its crucial role in understanding reading performance and its
+significance in the history and contemporary practice of
+typography. We present evidence supporting the hypothesis that the
+distribution of print sizes in historical and contemporary
+publications falls within the psychophysically defined range of fluent
+print sizeVthe range over which text can be read at maximum speed. The
+fluent range extends over a factor of 10 in angular print size
+(x-height) from approximately 0.2- to 2-. Assuming a standard reading
+distance of 40 cm (16 inches), the corresponding physical x-heights
+are 1.4 mm (4 points) and 14 mm (40 points). We provide new data on
+the distributions of print sizes in published books and newspapers and
+in typefounders' specimens, and consider factors influencing these
+distributions. We discuss theoretical concepts from vision science
+concerning visual size coding that help inform our understanding of
+historical and modern typographical practices. While economic,
+social, technological, and artistic factors influence type design and
+selection, we conclude that properties of human visual processing play
+a dominant role in constraining the distribution of print sizes in
+common use. } }
+
+@Book{Spiekermann02,
+ author = {Erik Spiekermann and E. M. Ginger},
+ title = {Stop Stealing Sheep \& Find Out How Type Works},
+ publisher = {Adobe Press},
+ year = 2002,
+ address = {Berkeley, CA},
+ edition = {Second},
+ score = 16,
+ ISBN = {978-0201703399}
+}
+
+@InProceedings{Morris02,
+ author = {Morris, R. A. and Aquilante, K. and Yager, D. and
+ Bigelow, C.},
+ title = {Serifs Slow {RSVP} Reading At Very Small Sizes But Don't
+ Matter At Larger Sizes},
+ booktitle = {SID 2002, San Jose, CA: Digest of Technical Papers},
+ pages = {244--247},
+ year = 2002,
+ score = 19,
+ organization = {The Society for Information Display},
+ annote = {Morris, Aquilante, Yager and Bigelow (2002) did find an
+effect of serifs on reading speed, unlike Arditi and Cho. These
+investigators used specially designed versions of the Lucida typeface
+family (Bigelow and Holmes Inc., San Jose, CA), one with serifs and
+one without serifs. Although typical serif and sans-serif fonts differ
+in a variety of attributes, the specially designed Lucida fonts were
+almost identical, apart from the presence or absence of
+serifs. According to Morris et al: "the designers produced a seriffed
+and sans-serif pair whose underlying forms are identical in stem
+weights, character widths, character spacing and fitting, and
+modulation of thick to thin. The only difference is the presence or
+absence of serifs, and the slight increase of black area in the
+seriffed variant." The investigators used the rapid serial visual
+presentation (RSVP) method to measure reading speed for the two font
+variants. For a small print size of 12 min-arc (probably near the
+critical print size, Section 3.2), reading speed was about 20% faster
+for the sans-serif font, but there was no difference in reading speed
+at a larger print size of 48 min-arc} }
+
+@book{Jaspert:TypefacesEncyclopaedia,
+ title={The Encyclop\ae dia of Typefaces},
+ author={Jaspert, W. P. and Berry, W. T. and Johnson, A. F.},
+ year= 2009,
+ publisher={Cassell},
+ edition = {55th Anniversary},
+ address = {London}
+}
diff --git a/biblio/bibtex/contrib/bib-fr/CHANGELOG b/biblio/bibtex/contrib/bib-fr/CHANGELOG
new file mode 100644
index 0000000000..c86695a049
--- /dev/null
+++ b/biblio/bibtex/contrib/bib-fr/CHANGELOG
@@ -0,0 +1,21 @@
+v1.0 2002/08/01 First release
+v1.1 2002/11/24 month names should begin
+ with a lowercase letter
+v1.2 2003/05/25 you can now configure the
+ punctuation following
+ the authors
+v1.3 2003/07/09 no comma before fr.and ("et")
+ in author/editor lists.
+ "\string:" instead of ":" in
+ journal references.
+ fix a bug with fr.add.period
+v1.4 2004/03/06 no comma before fr.and ("et")
+ (easier method ;-))
+ "\string:" made configurable
+ fix several minor mistakes.
+ added apalike-fr.bst
+ ieeetr-fr.bst
+ siam-fr.bst
+ {abbrv,plain,unsrt}nat-fr.bst
+v1.5 2005/10/16 corrected a bug in *-nat-fr styles.
+ (thanks to François Druel).
diff --git a/biblio/bibtex/contrib/bib-fr/README b/biblio/bibtex/contrib/bib-fr/README
new file mode 100644
index 0000000000..d867e7255c
--- /dev/null
+++ b/biblio/bibtex/contrib/bib-fr/README
@@ -0,0 +1,10 @@
+v1.5 Sun Oct 16 16:32:32 CEST 2005
+
+These files are French translations of the classical
+BibTeX style files. The translations can easily be
+modified by simply redefining FUNCTIONs named fr.*,
+at the beginning (lines 50-150) of each file.
+If you modify anything, however, please change the
+name of the file.
+
+NM <markey@lsv.ens-cachan.fr>
diff --git a/biblio/bibtex/contrib/bib-fr/abbrv-fr.bst b/biblio/bibtex/contrib/bib-fr/abbrv-fr.bst
new file mode 100644
index 0000000000..119cf7c061
--- /dev/null
+++ b/biblio/bibtex/contrib/bib-fr/abbrv-fr.bst
@@ -0,0 +1,1234 @@
+%%
+%% Bib. style "abbrv-fr" (version francisee de abbrv.bst)
+%%
+%% NM, 2004/02/22
+%% markey@lsv.ens-cachan.fr
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Original Copyright (Oren Patashnik):
+%%
+ % This program may be distributed and/or modified under the
+ % conditions of the LaTeX Project Public License, either version 1.2
+ % of this license or (at your option) any later version.
+ % The latest version of this license is in
+ % http://www.latex-project.org/lppl.txt
+ % and version 1.2 or later is part of all distributions of LaTeX
+ % version 1999/12/01 or later.
+ %
+ % This program consists of the files abbrv.bst
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% C'est ici que je definis les "traductions". Normalement, y a
+%% que ca a changer pour franciser le style...
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION{fr.and}{ %% le "et" entre les deux derniers auteurs
+" et "
+}
+
+FUNCTION{fr.editeur}{ %% ", \'editeur" au singulier, ou " (\'editeur)"...
+", \'ed."
+}
+
+FUNCTION{fr.editeurs}{ %% ", \'editeurs" au pluriel, ou " (\'editeurs)"...
+", \'eds"
+}
+
+FUNCTION{fr.et.al}{ %% " et~al."
+" \emph{et~al.}"
+}
+
+FUNCTION{fr.in}{ %% "Dans "
+"\emph{In} "
+}
+
+FUNCTION{fr.in.spc}{ %% " de " (ou " de la s\'erie ")
+" de "
+}
+
+FUNCTION{fr.of}{ %% " de "
+" de "
+}
+
+FUNCTION{fr.number}{ %% "num. "
+"num. "
+}
+
+FUNCTION{fr.number.maj}{ %% "Num. "
+"Num. "
+}
+
+FUNCTION{fr.volume}{ %% "volume"
+"vol."
+}
+
+FUNCTION{fr.volume.maj}{ %% "Volume"
+"Vol."
+}
+
+FUNCTION{fr.edition}{ %% " \'edn"
+" \'edn"
+}
+
+FUNCTION{fr.pages}{ %% "p."
+"p."
+}
+
+FUNCTION{fr.page}{ %% "p."
+"p."
+}
+
+FUNCTION{fr.chapter}{ %% "chap."
+"chap."
+}
+
+FUNCTION{fr.tech.rep}{ %% "Rap. Tech."
+"Rap. tech."
+}
+
+FUNCTION{fr.master}{ %% "M\'emoire de D.E.A."
+"M\'emoire de D.E.A."
+}
+
+FUNCTION{fr.phd}{ %% "Th\`ese de doctorat"
+"Th\`ese de doctorat"
+}
+
+FUNCTION{fr.auteurs.style}{
+ %% si on veut des small caps sur le LASTNAME de l'auteur
+ %% Cette fonction est utilisee dans la definition d'une
+ %% fonction LaTeX.
+"\scshape"
+}
+
+FUNCTION{fr.ponctuation.apres.auteurs}{ %% Comme son nom l'indique...
+" : "
+}
+
+FUNCTION{fr.deuxpoints}{ %% Pour eviter l'espace avant les ":".
+"\string:\penalty500\relax "
+}
+
+MACRO {jan} {"jan."}
+MACRO {feb} {"f\'ev."}
+MACRO {mar} {"mars"}
+MACRO {apr} {"avr."}
+MACRO {may} {"mai"}
+MACRO {jun} {"juin"}
+MACRO {jul} {"juil."}
+MACRO {aug} {"ao\^ut"}
+MACRO {sep} {"sept."}
+MACRO {oct} {"oct."}
+MACRO {nov} {"nov."}
+MACRO {dec} {"d\'ec."}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% La suite, normalement, y a rien a changer...
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block after.authors }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #0 'after.authors :=
+}
+
+STRINGS { s t }
+
+FUNCTION{ fr.add.period }{
+after.authors
+ { fr.ponctuation.apres.auteurs empty$
+ { add.period$ }
+ { fr.ponctuation.apres.auteurs * #0 'after.authors := }
+ if$}
+ { add.period$ }
+if$
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { fr.add.period write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f.~}{vv~}\bgroup\fonteauteurs\bgroup {ll}\egroup\egroup{{}}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { %numnames #2 > namesleft #2 > and
+ % { "," * }
+ % 'skip$
+ %if$
+ t "\bgroup\fonteauteurs\bgroup others\egroup\egroup{}" =
+ { fr.et.al * }
+ { fr.and * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names #1 'after.authors := }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { fr.editeurs * }
+ { fr.editeur * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { fr.volume volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { fr.of * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { fr.number }
+ { fr.number.maj }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { fr.in.spc * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ fr.edition * }
+ { edition "t" change.case$ fr.edition * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { fr.pages pages n.dashify tie.or.space.connect }
+ { fr.page pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { fr.deuxpoints * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { fr.chapter }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { fr.in booktitle emphasize * }
+ { fr.in format.editors #1 'after.authors := fr.add.period " " * * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { fr.tech.rep }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { fr.in "{\em " * journal * "\/}" * }
+ if$
+ }
+ { fr.in key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}\bgroup\fonteauteurs\bgroup {ll}\egroup\egroup{{}}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ fr.et.al * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { fr.et.al * }
+ { fr.and * editor #2 "{vv~}\bgroup\fonteauteurs\bgroup {ll}\egroup\egroup{{}}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ fr.in
+ }
+ { fr.volume.maj volume tie.or.space.connect
+ fr.of *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { fr.in "{\em " * booktitle * "\/}" * }
+ if$
+ }
+ { fr.in key * }
+ if$
+ }
+ { fr.in format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ fr.master format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ fr.phd format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+MACRO {acta} {"Acta Inf."}
+MACRO {cacm} {"Commun. ACM"}
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+MACRO {ibmsj} {"IBM Syst.~J."}
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+MACRO {ipl} {"Inf. Process. Lett."}
+MACRO {jacm} {"J.~ACM"}
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+MACRO {scp} {"Sci. Comput. Programming"}
+MACRO {sicomp} {"SIAM J. Comput."}
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+MACRO {tods} {"ACM Trans. Database Syst."}
+MACRO {tog} {"ACM Trans. Gr."}
+MACRO {toms} {"ACM Trans. Math. Softw."}
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "Le " #3
+ "La " #3
+ "Les " #4
+ "Un " #3
+ "Une " #4
+ "Des " #4
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "Le " #3
+ "La " #3
+ "Les " #4
+ "The " #4 organization chop.word
+ chop.word
+ chop.word
+ chop.word
+ sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "Le " #3
+ "La " #3
+ "Les " #4
+ "The " #4 organization chop.word
+ chop.word
+ chop.word
+ chop.word
+ sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+ "\expandafter\ifx\csname fonteauteurs\endcsname\relax"
+ write$ newline$
+ "\def\fonteauteurs{" fr.auteurs.style * "}\fi" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+
+
+%%
+%% Changelog :
+%% 1.0 -> 1.1 : les mois ne prennent pas de majuscule
+%% 1.1 -> 1.2 : le '.' qui suit la liste des auteurs peut etre
+%% change en autre chose (':' notamment).
+%%
diff --git a/biblio/bibtex/contrib/bib-fr/abbrvnat-fr.bst b/biblio/bibtex/contrib/bib-fr/abbrvnat-fr.bst
new file mode 100644
index 0000000000..9b949e01df
--- /dev/null
+++ b/biblio/bibtex/contrib/bib-fr/abbrvnat-fr.bst
@@ -0,0 +1,1506 @@
+%%
+%% Bib. style "abbrvnat-fr" (version francisee de abbrvnat.bst)
+%%
+%% NM, 2005/10/16
+%% markey@lsv.ens-cachan.fr
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Original Copyright (Patrick Daly):
+%%
+%% File: `abbrvnat.bst'
+%% A modification of `abbrv.bst' for use with natbib package
+%%
+%% Copyright 1993-1999 Patrick W Daly
+%% Max-Planck-Institut f\"ur Aeronomie
+%% Max-Planck-Str. 2
+%% D-37191 Katlenburg-Lindau
+%% Germany
+%% E-mail: daly@linmpi.mpg.de
+%%
+%% This program can be redistributed and/or modified under the terms
+%% of the LaTeX Project Public License Distributed from CTAN
+%% archives in directory macros/latex/base/lppl.txt; either
+%% version 1 of the License, or any later version.
+%%
+ % Version and source file information:
+ % \ProvidesFile{natbst.mbs}[1999/05/11 1.6 (PWD)]
+ %
+ % BibTeX `plainnat' family
+ % version 0.99b for BibTeX versions 0.99a or later,
+ % for LaTeX versions 2.09 and 2e.
+ %
+ % For use with the `natbib.sty' package; emulates the corresponding
+ % member of the `plain' family, but with author-year citations.
+ %
+ % With version 6.0 of `natbib.sty', it may also be used for numerical
+ % citations, while retaining the commands \citeauthor, \citefullauthor,
+ % and \citeyear to print the corresponding information.
+ %
+ % For version 7.0 of `natbib.sty', the KEY field replaces missing
+ % authors/editors, and the date is left blank in \bibitem.
+ %
+ % Includes fields ISBN and ISSN.
+ %
+ % Includes field URL for Internet addresses (best used with
+ % with the url.sty package of Donald Arseneau
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ isbn
+ issn
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ url
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% C'est ici que je definis les "traductions". Normalement, y a
+%% que ca a changer pour franciser le style...
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION{fr.and}{ %% le "et" entre les deux derniers auteurs
+" et "
+}
+
+FUNCTION{fr.editeur}{ %% ", \'editeur" au singulier, ou " (\'editeur)"...
+", \'ed."
+}
+
+FUNCTION{fr.editeurs}{ %% ", \'editeurs" au pluriel, ou " (\'editeurs)"...
+", \'eds"
+}
+
+FUNCTION{fr.et.al}{ %% " et~al."
+" \emph{et~al.}"
+}
+
+FUNCTION{fr.in}{ %% "Dans "
+"\emph{In} "
+}
+
+FUNCTION{fr.in.spc}{ %% " de " (ou " de la s\'erie ")
+" de "
+}
+
+FUNCTION{fr.of}{ %% " de "
+" de "
+}
+
+FUNCTION{fr.number}{ %% "num. "
+"num. "
+}
+
+FUNCTION{fr.number.maj}{ %% "Num. "
+"Num. "
+}
+
+FUNCTION{fr.volume}{ %% "volume"
+"vol."
+}
+
+FUNCTION{fr.volume.maj}{ %% "Volume"
+"Vol."
+}
+
+FUNCTION{fr.edition}{ %% " \'edn"
+" \'edn"
+}
+
+FUNCTION{fr.pages}{ %% "p."
+"p."
+}
+
+FUNCTION{fr.page}{ %% "p."
+"p."
+}
+
+FUNCTION{fr.chapter}{ %% "chap."
+"chap."
+}
+
+FUNCTION{fr.tech.rep}{ %% "Rap. Tech."
+"Rap. tech."
+}
+
+FUNCTION{fr.master}{ %% "M\'emoire de D.E.A."
+"M\'emoire de D.E.A."
+}
+
+FUNCTION{fr.phd}{ %% "Th\`ese de doctorat"
+"Th\`ese de doctorat"
+}
+
+FUNCTION{fr.auteurs.style}{
+ %% si on veut des small caps sur le LASTNAME de l'auteur
+ %% Cette fonction est utilisee dans la definition d'une
+ %% fonction LaTeX.
+"\scshape"
+}
+
+FUNCTION{fr.ponctuation.apres.auteurs}{ %% Comme son nom l'indique...
+" : "
+}
+
+FUNCTION{fr.deuxpoints}{ %% Pour eviter l'espace avant les ":".
+"\string:\penalty500\relax "
+}
+
+MACRO {jan} {"jan."}
+MACRO {feb} {"f\'ev."}
+MACRO {mar} {"mars"}
+MACRO {apr} {"avr."}
+MACRO {may} {"mai"}
+MACRO {jun} {"juin"}
+MACRO {jul} {"juil."}
+MACRO {aug} {"ao\^ut"}
+MACRO {sep} {"sept."}
+MACRO {oct} {"oct."}
+MACRO {nov} {"nov."}
+MACRO {dec} {"d\'ec."}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% La suite, normalement, y a rien a changer...
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block after.authors }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #0 'after.authors :=
+}
+
+STRINGS { s t }
+
+FUNCTION{ fr.add.period }{
+after.authors
+ { fr.ponctuation.apres.auteurs empty$
+ { add.period$ }
+ { fr.ponctuation.apres.auteurs * #0 'after.authors := }
+ if$}
+ { add.period$ }
+if$
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { fr.add.period write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f.~}{vv~}\bgroup\fonteauteurs\bgroup {ll}\egroup\egroup{{}}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { %numnames #2 >
+ % { "," * }
+ % 'skip$
+ %if$
+ t "\bgroup\fonteauteurs\bgroup others\egroup\egroup{}" =
+ { fr.et.al * }
+ { fr.and * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names #1 'after.authors := }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { fr.editeurs * }
+ { fr.editeur * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.isbn}
+{ isbn empty$
+ { "" }
+ { new.block "ISBN " isbn * }
+ if$
+}
+
+FUNCTION {format.issn}
+{ issn empty$
+ { "" }
+ { new.block "ISSN " issn * }
+ if$
+}
+
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { new.block "URL \url{" url * "}" * }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {format.full.names}
+{%
+ % Ici, on laisse les noms en minuscules, on ne les mets pas en small caps.
+ %
+ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "\bgroup\fonteauteurs\bgroup others\egroup\egroup{}" =
+ { fr.et.al * }
+ { fr.and * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.full}
+{ author empty$
+ { editor empty$
+ { "" }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.full}
+{ author empty$
+ { "" }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.full}
+{ editor empty$
+ { "" }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.full
+ { type$ "proceedings" =
+ 'editor.full
+ 'author.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year duplicate$ empty$
+ { "empty year in " cite$ * warning$
+ pop$ "" }
+ 'skip$
+ if$
+ month empty$
+ 'skip$
+ { month
+ " " * swap$ *
+ }
+ if$
+ extra.label *
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { fr.volume volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { fr.of * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { fr.number }
+ { fr.number.maj }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { fr.in.spc * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ fr.edition * }
+ { edition "t" change.case$ fr.edition * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { fr.pages pages n.dashify tie.or.space.connect }
+ { fr.page pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "\penalty0 (" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { fr.deuxpoints * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { fr.chapter }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { fr.in booktitle emphasize * }
+ { fr.in format.editors #1 'after.authors := fr.add.period " " * * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { fr.tech.rep }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { fr.in "{\em " * journal * "\/}" * }
+ if$
+ }
+ { fr.in key * }
+ if$
+ " \citep{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ fr.in
+ }
+ { fr.volume.maj volume tie.or.space.connect
+ fr.of *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ 'skip$
+ if$
+ ", \citet{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { fr.in "{\em " * booktitle * "\/}" * }
+ if$
+ }
+ { fr.in key * }
+ if$
+ }
+ { fr.in }
+ if$
+ " \citet{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.issn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ format.isbn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ format.isbn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ format.isbn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.isbn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.isbn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ new.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+ format.date output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ fr.master format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ format.issn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.btitle "title" output.check
+ new.block
+ fr.phd format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ format.isbn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ format.url output
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+MACRO {acta} {"Acta Inf."}
+MACRO {cacm} {"Commun. ACM"}
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+MACRO {ibmsj} {"IBM Syst.~J."}
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+MACRO {ipl} {"Inf. Process. Lett."}
+MACRO {jacm} {"J.~ACM"}
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+MACRO {scp} {"Sci. Comput. Programming"}
+MACRO {sicomp} {"SIAM J. Comput."}
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+MACRO {tods} {"ACM Trans. Database Syst."}
+MACRO {tog} {"ACM Trans. Gr."}
+MACRO {toms} {"ACM Trans. Math. Softw."}
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.lab.names}
+%
+% Ici, on laisse les noms en minuscules, on ne les mets pas en small caps.
+%
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ fr.et.al * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { fr.et.al * }
+ { fr.and * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "Le " #3
+ "La " #3
+ "Les " #4
+ "The " #4 organization chop.word
+ chop.word
+ chop.word
+ chop.word
+ #3 text.prefix$ }
+ if$
+ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "Le " #3
+ "La " #3
+ "Les " #4
+ "The " #4 organization chop.word
+ chop.word
+ chop.word
+ chop.word
+ #3 text.prefix$ }
+ if$
+ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { fr.et.al * } %% sera "purify"e ensuite...
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "Un " #3
+ "Une " #4
+ "Des " #4
+ "Le " #3
+ "La " #3
+ "Les " #4
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "Le " #3
+ "La " #3
+ "Les " #4
+ "The " #4 organization chop.word
+ chop.word
+ chop.word
+ chop.word}
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "Le " #3
+ "La " #3
+ "Les " #4
+ "The " #4 organization chop.word
+ chop.word
+ chop.word
+ chop.word}
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num number.label }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {bib.sort.order}
+{ sort.label 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\expandafter\ifx\csname natexlab\endcsname\relax\def\natexlab#1{#1}\fi"
+ write$ newline$
+ "\expandafter\ifx\csname fonteauteurs\endcsname\relax"
+ write$ newline$
+ "\def\fonteauteurs{" fr.auteurs.style * "}\fi" * write$ newline$
+ "\expandafter\ifx\csname url\endcsname\relax" write$ newline$
+ " \def\url#1{{\tt #1}}% " write$ newline$
+ " \message{You should include the url package}\fi" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/bib-fr/alpha-fr.bst b/biblio/bibtex/contrib/bib-fr/alpha-fr.bst
new file mode 100644
index 0000000000..3d4b6be5de
--- /dev/null
+++ b/biblio/bibtex/contrib/bib-fr/alpha-fr.bst
@@ -0,0 +1,1408 @@
+%%
+%% Bib. style "alpha-fr" (version francisee de alpha.bst)
+%%
+%% NM, 2004/02/22
+%% markey@lsv.ens-cachan.fr
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ % Original Copyright (Oren Patashnik):
+ %
+ % This program may be distributed and/or modified under the
+ % conditions of the LaTeX Project Public License, either version 1.2
+ % of this license or (at your option) any later version.
+ % The latest version of this license is in
+ % http://www.latex-project.org/lppl.txt
+ % and version 1.2 or later is part of all distributions of LaTeX
+ % version 1999/12/01 or later.
+ %
+ % This program consists of the file alpha.bst
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% C'est ici que je definis les "traductions". Normalement, y a
+%% que ca a changer pour franciser le style...
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION{fr.and}{ %% le "et" entre les deux derniers auteurs
+" et "
+}
+
+FUNCTION{fr.editeur}{ %% ", \'editeur" au singulier, ou " (\'editeur)"...
+", \'editeur"
+}
+
+FUNCTION{fr.editeurs}{ %% ", \'editeurs" au pluriel, ou " (\'editeurs)"...
+", \'editeurs"
+}
+
+FUNCTION{fr.et.al}{ %% " et~al."
+" \emph{et~al.}"
+}
+
+FUNCTION{fr.in}{ %% "Dans "
+"\emph{In} "
+}
+
+FUNCTION{fr.in.spc}{ %% " de " (ou " de la s\'erie ")
+" de "
+}
+
+FUNCTION{fr.of}{ %% " de "
+" de "
+}
+
+FUNCTION{fr.number}{ %% "num\'ero "
+"num\'ero "
+}
+
+FUNCTION{fr.number.maj}{ %% "Num\'ero "
+"Num\'ero "
+}
+
+FUNCTION{fr.volume}{ %% "volume"
+"volume"
+}
+
+FUNCTION{fr.volume.maj}{ %% "Volume"
+"Volume"
+}
+
+FUNCTION{fr.edition}{ %% " \'edition"
+" \'edition"
+}
+
+FUNCTION{fr.pages}{ %% "pages"
+"pages"
+}
+
+FUNCTION{fr.page}{ %% "page"
+"page"
+}
+
+FUNCTION{fr.chapter}{ %% "chapitre"
+"chapitre"
+}
+
+FUNCTION{fr.tech.rep}{ %% "Rapport Technique"
+"Rapport technique"
+}
+
+FUNCTION{fr.master}{ %% "M\'emoire de D.E.A."
+"M\'emoire de D.E.A."
+}
+
+FUNCTION{fr.phd}{ %% "Th\`ese de doctorat"
+"Th\`ese de doctorat"
+}
+
+FUNCTION{fr.auteurs.style}{
+ %% si on veut des small caps sur le LASTNAME de l'auteur
+ %% Cette fonction est utilisee dans la definition d'une
+ %% fonction LaTeX.
+"\scshape"
+}
+
+FUNCTION{fr.ponctuation.apres.auteurs}{ %% Comme son nom l'indique...
+" : "
+}
+
+FUNCTION{fr.deuxpoints}{ %% separateur num. journal/num. pages
+"\string:\penalty500\relax "
+}
+
+MACRO {jan} {"janvier"}
+MACRO {feb} {"f\'evrier"}
+MACRO {mar} {"mars"}
+MACRO {apr} {"avril"}
+MACRO {may} {"mai"}
+MACRO {jun} {"juin"}
+MACRO {jul} {"juillet"}
+MACRO {aug} {"ao\^ut"}
+MACRO {sep} {"septembre"}
+MACRO {oct} {"octobre"}
+MACRO {nov} {"novembre"}
+MACRO {dec} {"d\'ecembre"}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% La suite, normalement, y a rien a changer...
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block after.authors }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #0 'after.authors :=
+}
+
+STRINGS { s t }
+
+FUNCTION{ fr.add.period }{
+after.authors
+ { fr.ponctuation.apres.auteurs empty$
+ { add.period$ }
+ { fr.ponctuation.apres.auteurs * #0 'after.authors := }
+ if$}
+ { add.period$ }
+if$
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { fr.add.period write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+ #0 'after.authors :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}\bgroup\fonteauteurs\bgroup {ll}\egroup\egroup{{}}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { %numnames #2 > namesleft #2 > and
+ % { "," * }
+ % 'skip$
+ %if$
+ t "\bgroup\fonteauteurs\bgroup others\egroup\egroup{}" =
+ { fr.et.al * }
+ { fr.and * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names #1 'after.authors := }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { fr.editeurs * }
+ { fr.editeur * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { fr.volume volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { fr.of * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { fr.number }
+ { fr.number.maj }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { fr.in.spc * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ fr.edition * }
+ { edition "t" change.case$ fr.edition * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { fr.pages pages n.dashify tie.or.space.connect }
+ { fr.page pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { fr.deuxpoints * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { fr.chapter }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { fr.in booktitle emphasize * }
+ { fr.in format.editors #1 'after.authors := fr.add.period " " * * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { fr.tech.rep }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { fr.in "{\em " * journal * "\/}" * }
+ if$
+ }
+ { fr.in key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}\bgroup\fonteauteurs\bgroup {ll}\egroup\egroup{{}}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ fr.et.al * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { fr.et.al * }
+ { fr.and * editor #2 "{vv~}\bgroup\fonteauteurs\bgroup {ll}\egroup\egroup{{}}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ fr.in
+ }
+ { fr.volume.maj volume tie.or.space.connect
+ fr.of *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { fr.in "{\em " * booktitle * "\/}" * }
+ if$
+ }
+ { fr.in key * }
+ if$
+ }
+ { fr.in format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ fr.master format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ fr.phd format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+MACRO {acta} {"Acta Informatica"}
+MACRO {cacm} {"Communications of the ACM"}
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+MACRO {ibmsj} {"IBM Systems Journal"}
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+MACRO {ipl} {"Information Processing Letters"}
+MACRO {jacm} {"Journal of the ACM"}
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+MACRO {scp} {"Science of Computer Programming"}
+MACRO {sicomp} {"SIAM Journal on Computing"}
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+MACRO {tods} {"ACM Transactions on Database Systems"}
+MACRO {tog} {"ACM Transactions on Graphics"}
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "Le " #3
+ "La " #3
+ "Les " #4
+ "The " #4 organization chop.word
+ chop.word
+ chop.word
+ chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "Le " #3
+ "La " #3
+ "Les " #4
+ "The " #4 organization chop.word
+ chop.word
+ chop.word
+ chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ year field.or.null purify$ #-1 #2 substring$
+ *
+ 'label :=
+ year field.or.null purify$ #-1 #4 substring$
+ *
+ sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "Le " #3
+ "La " #3
+ "Les " #4
+ "Un " #3
+ "Une " #4
+ "Des " #4
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "Le " #3
+ "La " #3
+ "Les " #4
+ "The " #4 organization chop.word
+ chop.word
+ chop.word
+ chop.word
+ sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "Le " #3
+ "La " #3
+ "Les " #4
+ "The " #4 organization chop.word
+ chop.word
+ chop.word
+ chop.word
+ sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{ et.al.char.used
+ { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+ 'skip$
+ if$
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+ "\expandafter\ifx\csname fonteauteurs\endcsname\relax"
+ write$ newline$
+ "\def\fonteauteurs{" fr.auteurs.style * "}\fi" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+
+
+%%
+%% Changelog :
+%% 1.0 -> 1.1 : les mois ne prennent pas de majuscule
+%% 1.1 -> 1.2 : le '.' qui suit la liste des auteurs peut etre
+%% change en autre chose (':' notamment).
+%%
diff --git a/biblio/bibtex/contrib/bib-fr/apalike-fr.bst b/biblio/bibtex/contrib/bib-fr/apalike-fr.bst
new file mode 100644
index 0000000000..d397ec8585
--- /dev/null
+++ b/biblio/bibtex/contrib/bib-fr/apalike-fr.bst
@@ -0,0 +1,1222 @@
+%%
+%% Bib. style "apalike-fr" (version francisee de apalike.bst)
+%%
+%% NM, 2004/02/22
+%% markey@lsv.ens-cachan.fr
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Original Copyright (Susan King, Oren Patashnik):
+%%
+% BibTeX `apalike' bibliography style (24-Jan-88 version)
+% Adapted from the `alpha' style, version 0.99a; for BibTeX version 0.99a.
+% Copyright (C) 1988, all rights reserved.
+% Copying of this file is allowed, provided that if you make any changes at all
+% you name it something other than `apalike.bst'.
+% This restriction helps ensure that all copies are identical.
+% Differences between this style and `alpha' are generally heralded by a `%'.
+% The file btxbst.doc has the documentation for alpha.bst.
+%
+% This style should be used with the `apalike' LaTeX style (apalike.sty).
+% \cite's come out like "(Jones, 1986)" in the text but there are no labels
+% in the bibliography, and something like "(1986)" comes out immediately
+% after the author. Author (and editor) names appear as last name, comma,
+% initials. A `year' field is required for every entry, and so is either
+% an author (or in some cases, an editor) field or a key field.
+%
+% Editorial note:
+% Many journals require a style like `apalike', but I strongly, strongly,
+% strongly recommend that you not use it if you have a choice---use something
+% like `plain' instead. Mary-Claire van Leunen (A Handbook for Scholars,
+% Knopf, 1979) argues convincingly that a style like `plain' encourages better
+% writing than one like `apalike'. Furthermore the strongest arguments for
+% using an author-date style like `apalike'---that it's "the most practical"
+% (The Chicago Manual of Style, University of Chicago Press, thirteenth
+% edition, 1982, pages 400--401)---fall flat on their face with the new
+% computer-typesetting technology. For instance page 401 anachronistically
+% states "The chief disadvantage of [a style like `plain'] is that additions
+% or deletions cannot be made after the manuscript is typed without changing
+% numbers in both text references and list." LaTeX sidesteps the disadvantage.
+%
+% History:
+% 15-sep-86 (SK,OP) Original version, by Susan King and Oren Patashnik.
+% 10-nov-86 (OP) Truncated the sort.key$ string to the correct length
+% in bib.sort.order to eliminate error message.
+% 24-jan-88 (OP) Updated for BibTeX version 0.99a, from alpha.bst 0.99a;
+% apalike now sorts by author, then year, then title;
+% THIS `apalike' VERSION DOES NOT WORK WITH BIBTEX 0.98i.
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+% month not used in apalike
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% C'est ici que je definis les "traductions". Normalement, y a
+%% que ca a changer pour franciser le style...
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+FUNCTION{fr.and}{ %% le "et" entre les deux derniers auteurs
+" et "
+}
+
+FUNCTION{fr.editeur}{ %% ", \'editeur" au singulier, ou " (\'editeur)"...
+", \'editeur"
+}
+
+FUNCTION{fr.editeurs}{ %% ", \'editeurs" au pluriel, ou " (\'editeurs)"...
+", \'editeurs"
+}
+
+FUNCTION{fr.et.al}{ %% " et~al."
+" \emph{et~al.}"
+}
+
+FUNCTION{fr.in}{ %% "Dans "
+"\emph{In} "
+}
+
+FUNCTION{fr.in.spc}{ %% " de " (ou " de la s\'erie ")
+" de "
+}
+
+FUNCTION{fr.of}{ %% " de "
+" de "
+}
+
+FUNCTION{fr.number}{ %% "num{\'e}ro "
+"num\'ero "
+}
+
+FUNCTION{fr.number.maj}{ %% "Num\'ero "
+"Num\'ero "
+}
+
+FUNCTION{fr.volume}{ %% "volume"
+"volume"
+}
+
+FUNCTION{fr.volume.maj}{ %% "Volume"
+"Volume"
+}
+
+FUNCTION{fr.edition}{ %% " \'edition"
+" \'edition"
+}
+
+FUNCTION{fr.pages}{ %% "pages"
+"pages"
+}
+
+FUNCTION{fr.page}{ %% "page"
+"page"
+}
+
+FUNCTION{fr.chapter}{ %% "chapitre"
+"chapitre"
+}
+
+FUNCTION{fr.tech.rep}{ %% "Rapport Technique"
+"Rapport technique"
+}
+
+FUNCTION{fr.master}{ %% "M\'emoire de D.E.A."
+"M\'emoire de D.E.A."
+}
+
+FUNCTION{fr.phd}{ %% "Th\`ese de doctorat"
+"Th\`ese de doctorat"
+}
+
+FUNCTION{fr.auteurs.style}{
+ %% si on veut des small caps sur le LASTNAME de l'auteur
+ %% Cette fonction est utilisee dans la definition d'une
+ %% fonction LaTeX.
+"\scshape"
+}
+
+FUNCTION{fr.ponctuation.apres.auteurs}{ %% Comme son nom l'indique...
+ %% Laisser vide pour un "."
+" : "
+}
+
+FUNCTION{fr.deuxpoints}{ %% Pour eviter l'espace avant les ":".
+"\string:\penalty500\relax "
+}
+
+MACRO {jan} {"janvier"}
+MACRO {feb} {"f\'evrier"}
+MACRO {mar} {"mars"}
+MACRO {apr} {"avril"}
+MACRO {may} {"mai"}
+MACRO {jun} {"juin"}
+MACRO {jul} {"juillet"}
+MACRO {aug} {"ao\^ut"}
+MACRO {sep} {"septembre"}
+MACRO {oct} {"octobre"}
+MACRO {nov} {"novembre"}
+MACRO {dec} {"d\'ecembre"}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% La suite, normalement, y a rien a changer...
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block after.authors }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #0 'after.authors :=
+}
+
+STRINGS { s t }
+
+FUNCTION{ fr.add.period }{
+after.authors
+ { fr.ponctuation.apres.auteurs empty$
+ { add.period$ }
+ { fr.ponctuation.apres.auteurs * #0 'after.authors := }
+ if$}
+ { add.period$ }
+if$
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { fr.add.period write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+% apalike needs this function because
+% the year has special punctuation;
+% apalike ignores the month
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { write$
+ " (" year * extra.label * ")" *
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}\bgroup\fonteauteurs\bgroup {ll}\egroup\egroup{{}}{, jj}{, f.}" format.name$ 't := % last name first
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { %numnames #2 > namesleft #2 > and
+ % { "," * }
+ % 'skip$
+ %if$
+ t "\bgroup\fonteauteurs\bgroup others\egroup\egroup{}" =
+ { fr.et.al * }
+ { fr.and * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.key} % this function is just for apalike
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { fr.editeurs * }
+ { fr.editeur * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { fr.volume volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { fr.of * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { fr.number }
+ { fr.number.maj }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { fr.in.spc * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ fr.edition * }
+ { edition "t" change.case$ fr.edition * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { fr.pages pages n.dashify tie.or.space.connect }
+ { fr.page pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { fr.deuxpoints * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { fr.chapter }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { fr.in booktitle emphasize * }
+ { fr.in format.editors #1 'after.authors := fr.add.period " " * * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { fr.tech.rep }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ fr.in % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ fr.in
+ }
+ { "Volume" volume tie.or.space.connect
+ fr.of *
+ }
+ if$
+ "\cite{" * crossref * "}" * % this is for apalike
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ fr.in % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ howpublished output
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address output % for apalike
+ new.sentence % there's no year
+ organization output % here so things
+ publisher output % are simpler
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ fr.master format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title output
+ new.block
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ new.block
+ fr.phd format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output % for apalike
+ new.sentence % we always output
+ organization output % a nonempty organization
+ publisher output % here
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+MACRO {acta} {"Acta Informatica"}
+MACRO {cacm} {"Communications of the ACM"}
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+MACRO {ibmsj} {"IBM Systems Journal"}
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+MACRO {ipl} {"Information Processing Letters"}
+MACRO {jacm} {"Journal of the ACM"}
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+MACRO {scp} {"Science of Computer Programming"}
+MACRO {sicomp} {"SIAM Journal on Computing"}
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+MACRO {tods} {"ACM Transactions on Database Systems"}
+MACRO {tog} {"ACM Transactions on Graphics"}
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+% There are three apalike cases: one person (Jones),
+% two (Jones and de~Bruijn), and more (Jones et~al.).
+% This function is much like format.crossref.editors.
+%
+FUNCTION {format.lab.names}
+%
+% Ici, on laisse les noms en minuscules, on ne les mets pas
+% en small caps.
+%
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ fr.et.al * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { fr.et.al * }
+ { fr.and * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key, no organization
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label % apalike ignores organization
+ 'author.key.label % for labeling and sorting
+ if$
+ }
+ if$
+ ", " % these three lines are
+ * % for apalike, which
+ year field.or.null purify$ #-1 #4 substring$ % uses all four digits
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$ % apalike uses initials
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't := % <= here
+ nameptr numnames = t "others" = and
+ { fr.et.al * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "Un " #3
+ "Une " #4
+ "Des " #4
+ "Le " #3
+ "La " #3
+ "Les " #4
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+% apalike uses two sorting passes; the first one sets the
+% labels so that the `a's, `b's, etc. can be computed;
+% the second pass puts the references in "correct" order.
+% The presort function is for the first pass. It computes
+% label, sort.label, and title, and then concatenates.
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$ % for
+ 'sort.label := % apalike
+ sort.label % style
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT % by label, sort.label, title---for final label calculation
+
+STRINGS { last.label next.extra } % apalike labels are only for the text;
+
+INTEGERS { last.extra.num } % there are none in the bibliography
+
+FUNCTION {initialize.extra.label.stuff} % and hence there is no `longest.label'
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+% Now that the label is right we sort for real,
+% on sort.label then year then title. This is
+% for the second sorting pass.
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT % by sort.label, year, title---giving final bibliography order
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$
+ "\expandafter\ifx\csname fonteauteurs\endcsname\relax"
+ write$ newline$
+ "\def\fonteauteurs{" fr.auteurs.style * "}\fi" * write$ newline$
+ "\expandafter\ifx\csname url\endcsname\relax" write$ newline$
+ " \def\url#1{{\tt #1}}% " write$ newline$
+ " \message{You should include the url package}\fi" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/bib-fr/ieeetr-fr.bst b/biblio/bibtex/contrib/bib-fr/ieeetr-fr.bst
new file mode 100644
index 0000000000..db98d5fb29
--- /dev/null
+++ b/biblio/bibtex/contrib/bib-fr/ieeetr-fr.bst
@@ -0,0 +1,1082 @@
+%%
+%% Bib. style "ieeetr-fr" (version francisee de ieeetr.bst)
+%%
+%% NM, 2004/03/05
+%% markey@lsv.ens-cachan.fr
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Original Copyright (Oren Patashnik & Howard Trickey):
+%%
+ % IEEE Transactions bibliography style (29-Jan-88 version)
+ % numeric labels, order-of-reference, IEEE abbreviations,
+ % quotes around article titles, commas separate all fields
+ % except after book titles and before "notes". Otherwise,
+ % much like the "plain" family, from which this is adapted.
+ %
+ % History
+ % 9/30/85 (HWT) Original version, by Howard Trickey.
+ % 1/29/88 (OP&HWT) Updated for BibTeX version 0.99a, Oren Patashnik;
+ % THIS `ieeetr' VERSION DOES NOT WORK WITH BIBTEX 0.98i.
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% C'est ici que je definis les "traductions". Normalement, y a
+%% que ca a changer pour franciser le style...
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+FUNCTION{fr.and}{ %% le "et" entre les deux derniers auteurs
+" et "
+}
+
+FUNCTION{fr.editeur}{ %% ", \'editeur" au singulier, ou " (\'editeur)"...
+", \'ed."
+}
+
+FUNCTION{fr.editeurs}{ %% ", \'editeurs" au pluriel, ou " (\'editeurs)"...
+", \'eds"
+}
+
+FUNCTION{fr.og}{ %% "ouvrez les guillemets"
+"\og " %% ATENTION : necessite babel
+}
+
+FUNCTION{fr.fg}{ %% "fermez les guillemets"
+"\fg{}" %% ATENTION : necessite babel
+}
+
+FUNCTION{fr.et.al}{ %% " et~al."
+" \emph{et~al.}"
+}
+
+FUNCTION{fr.in}{ %% "/In/ "
+"\emph{In} "
+}
+
+FUNCTION{fr.in.min}{ %% "/in/ "
+"\emph{in} "
+}
+
+FUNCTION{fr.in.spc}{ %% " de " (ou " de la s\'erie ")
+" de "
+}
+
+FUNCTION{fr.of}{ %% " de "
+" de "
+}
+
+FUNCTION{fr.number}{ %% "num{\'e}ro "
+"no.~"
+}
+
+FUNCTION{fr.number.maj}{ %% "Num\'ero "
+"No.~"
+}
+
+FUNCTION{fr.volume}{ %% "volume"
+"vol.~"
+}
+
+FUNCTION{fr.volume.maj}{ %% "Volume"
+"Vol.~"
+}
+
+FUNCTION{fr.edition}{ %% " \'edition"
+"~\'ed."
+}
+
+FUNCTION{fr.pages}{ %% "pages"
+"p.~"
+}
+
+FUNCTION{fr.page}{ %% "page"
+"p.~"
+}
+
+FUNCTION{fr.chapter}{ %% "chapitre"
+"chap.~"
+}
+
+FUNCTION{fr.tech.rep}{ %% "Rapport Technique"
+"Rap. tech."
+}
+
+FUNCTION{fr.master}{ %% "M\'emoire de D.E.A."
+"M\'em. D.E.A."
+}
+
+FUNCTION{fr.phd}{ %% "Th\`ese de doctorat"
+"Th\`ese doctorat"
+}
+
+FUNCTION{fr.auteurs.style}{
+ %% si on veut des small caps sur le LASTNAME de l'auteur
+ %% Cette fonction est utilisee dans la definition d'une
+ %% fonction LaTeX.
+"\scshape"
+}
+
+FUNCTION{fr.ponctuation.apres.auteurs}{ %% Comme son nom l'indique...
+ %% Laisser vide pour un "."
+" : "
+}
+
+FUNCTION{fr.deuxpoints}{ %% Pour eviter l'espace avant les ":".
+"\string:\penalty500\relax "
+}
+
+MACRO {jan} {"jan."}
+MACRO {feb} {"f\'ev."}
+MACRO {mar} {"mars"}
+MACRO {apr} {"avril"}
+MACRO {may} {"mai"}
+MACRO {jun} {"juin"}
+MACRO {jul} {"juil."}
+MACRO {aug} {"ao\^ut"}
+MACRO {sep} {"sept."}
+MACRO {oct} {"oct."}
+MACRO {nov} {"nov."}
+MACRO {dec} {"d\'ec."}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% La suite, normalement, y a rien a changer...
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+INTEGERS { output.state before.all mid.sentence after.quote after.sentence
+ after.quoted.block after.block after.authors}
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.quote :=
+ #3 'after.sentence :=
+ #4 'after.quoted.block :=
+ #5 'after.block :=
+ #0 'after.authors :=
+}
+
+STRINGS { s t }
+
+FUNCTION{ fr.add.period }{
+after.authors
+ { fr.ponctuation.apres.auteurs empty$
+ { add.period$ }
+ { fr.ponctuation.apres.auteurs * #0 'after.authors := }
+ if$}
+ { add.period$ }
+if$
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.quote =
+ { " " * write$ }
+ { output.state after.block =
+ { fr.add.period write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { output.state after.quoted.block =
+ { write$
+ newline$
+ "\newblock " write$
+ }
+ { fr.add.period " " * write$ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {blank.sep}
+{ after.quote 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ output.state after.quoted.block =
+ 'skip$
+ 'add.period$
+ if$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { output.state after.quote =
+ { after.quoted.block 'output.state := }
+ { after.block 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f.~}{vv~}\bgroup\fonteauteurs\bgroup {ll}\egroup\egroup{{}}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { %numnames #2 >
+ %{ "," * }
+ %'skip$
+ %if$
+ t "\bgroup\fonteauteurs\bgroup others\egroup\egroup{}" =
+ { fr.et.al * }
+ { fr.and * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { fr.editeurs * }
+ { fr.editeur * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { fr.og title "t" change.case$ * fr.fg * ", " * }
+ if$
+}
+
+FUNCTION {format.title.p}
+{ title empty$
+ { "" }
+ { fr.og title "t" change.case$ * fr.fg * ". " * }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { fr.volume volume *
+ series empty$
+ 'skip$
+ { fr.in.min * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { fr.number }
+ { fr.number.maj }
+ if$
+ number *
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { fr.in.spc * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { edition "l" change.case$ fr.edition * }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { fr.pages pages n.dashify * }
+ { fr.page pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.volume}
+{ volume empty$
+ { "" }
+ { fr.volume volume * }
+ if$
+}
+
+FUNCTION {format.number}
+{ number empty$
+ { "" }
+ { fr.number number * }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { fr.chapter chapter * }
+ { type "l" change.case$ chapter tie.or.space.connect }
+ if$
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { fr.in.min booktitle emphasize *
+ editor empty$
+ 'skip$
+ { " (" * format.editors * ")" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ output.state after.block =
+ { type "t" change.case$ }
+ { type "l" change.case$ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { fr.tech.rep }
+ 'type
+ if$
+ number empty$
+ { "l" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.addr.pub}
+{ publisher empty$
+ { "" }
+ { address empty$
+ { "" }
+ { address ": " * }
+ if$
+ publisher *
+ }
+ if$
+}
+
+FUNCTION {format.paddress}
+{ address empty$
+ { "" }
+ { "(" address * ")" * }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { fr.in.min "{\em " * journal * "\/}" * }
+ if$
+ }
+ { fr.in.min key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}\bgroup\fonteauteurs\bgroup {ll}\egroup\egroup{{}}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ fr.et.al * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { fr.et.al * }
+ { fr.and * editor #2 "{vv~}\bgroup\fonteauteurs\bgroup {ll}\egroup\egroup{{}}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ fr.in
+ }
+ { fr.volume volume *
+ fr.of *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { fr.in.min "{\em " * booktitle * "\/}" * }
+ if$
+ }
+ { fr.in.min key * }
+ if$
+ }
+ { fr.in.min format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ blank.sep
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.volume output
+ month empty$
+ { format.number output }
+ 'skip$
+ if$
+ format.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ format.addr.pub "publisher" output.check
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ title empty$
+ { "empty title in " cite$ * warning$
+ howpublished new.sentence.checka
+ }
+ { howpublished empty$ not
+ address empty$ month empty$ year empty$ and and
+ or
+ { format.title.p output.nonnull }
+ { format.title output.nonnull }
+ if$
+ blank.sep
+ }
+ if$
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ format.addr.pub "publisher" output.check
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ blank.sep
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ format.addr.pub "publisher" output.check
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ blank.sep
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.paddress output
+ format.pages output
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ blank.sep
+ fr.master format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title empty$
+ { howpublished new.sentence.checka }
+ { howpublished empty$ not
+ month empty$ year empty$ and
+ or
+ { format.title.p output.nonnull }
+ { format.title output.nonnull }
+ if$
+ blank.sep
+ }
+ if$
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ format.btitle "title" output.check
+ new.block
+ fr.phd format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ format.paddress output
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ blank.sep
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title.p "title" output.check
+ blank.sep
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+MACRO {acta} {"Acta Informatica"}
+MACRO {cacm} {"Communications ACM"}
+MACRO {ibmjrd} {"IBM J. Research and Development"}
+MACRO {ibmsj} {"IBM Systems~J."}
+MACRO {ieeese} {"IEEE Trans. Software Engineering"}
+MACRO {ieeetc} {"IEEE Trans. Computers"}
+MACRO {ieeetcad}
+ {"IEEE Trans. Computer-Aided Design"}
+MACRO {ipl} {"Information Processing Letters"}
+MACRO {jacm} {"J.~ACM"}
+MACRO {jcss} {"J.~Computer and System Sciences"}
+MACRO {scp} {"Science of Computer Programming"}
+MACRO {sicomp} {"SIAM J. Computing"}
+MACRO {tocs} {"ACM Trans. Computer Systems"}
+MACRO {tods} {"ACM Trans. Database Systems"}
+MACRO {tog} {"ACM Trans. Graphics"}
+MACRO {toms} {"ACM Trans. Mathematical Software"}
+MACRO {toois} {"ACM Trans. Office Information Systems"}
+MACRO {toplas} {"ACM Trans. Programming Languages and Systems"}
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+ "\expandafter\ifx\csname fonteauteurs\endcsname\relax"
+ write$ newline$
+ "\def\fonteauteurs{" fr.auteurs.style * "}\fi" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/bib-fr/plain-fr.bst b/biblio/bibtex/contrib/bib-fr/plain-fr.bst
new file mode 100644
index 0000000000..a47e102c03
--- /dev/null
+++ b/biblio/bibtex/contrib/bib-fr/plain-fr.bst
@@ -0,0 +1,1235 @@
+%%
+%% Bib. style "plain-fr" (version francisee de plain.bst)
+%%
+%% NM, 2004/02/22
+%% markey@lsv.ens-cachan.fr
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Original Copyright (Oren Patashnik):
+%%
+ % This program may be distributed and/or modified under the
+ % conditions of the LaTeX Project Public License, either version 1.2
+ % of this license or (at your option) any later version.
+ % The latest version of this license is in
+ % http://www.latex-project.org/lppl.txt
+ % and version 1.2 or later is part of all distributions of LaTeX
+ % version 1999/12/01 or later.
+ %
+ % This program consists of the files plain.bst
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% C'est ici que je definis les "traductions". Normalement, y a
+%% que ca a changer pour franciser le style...
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+FUNCTION{fr.and}{ %% le "et" entre les deux derniers auteurs
+" et "
+}
+
+FUNCTION{fr.editeur}{ %% ", \'editeur" au singulier, ou " (\'editeur)"...
+", \'editeur"
+}
+
+FUNCTION{fr.editeurs}{ %% ", \'editeurs" au pluriel, ou " (\'editeurs)"...
+", \'editeurs"
+}
+
+FUNCTION{fr.et.al}{ %% " et~al."
+" \emph{et~al.}"
+}
+
+FUNCTION{fr.in}{ %% "Dans "
+"\emph{In} "
+}
+
+FUNCTION{fr.in.spc}{ %% " de " (ou " de la s\'erie ")
+" de "
+}
+
+FUNCTION{fr.of}{ %% " de "
+" de "
+}
+
+FUNCTION{fr.number}{ %% "num{\'e}ro "
+"num\'ero "
+}
+
+FUNCTION{fr.number.maj}{ %% "Num\'ero "
+"Num\'ero "
+}
+
+FUNCTION{fr.volume}{ %% "volume"
+"volume"
+}
+
+FUNCTION{fr.volume.maj}{ %% "Volume"
+"Volume"
+}
+
+FUNCTION{fr.edition}{ %% " \'edition"
+" \'edition"
+}
+
+FUNCTION{fr.pages}{ %% "pages"
+"pages"
+}
+
+FUNCTION{fr.page}{ %% "page"
+"page"
+}
+
+FUNCTION{fr.chapter}{ %% "chapitre"
+"chapitre"
+}
+
+FUNCTION{fr.tech.rep}{ %% "Rapport Technique"
+"Rapport technique"
+}
+
+FUNCTION{fr.master}{ %% "M\'emoire de D.E.A."
+"M\'emoire de D.E.A."
+}
+
+FUNCTION{fr.phd}{ %% "Th\`ese de doctorat"
+"Th\`ese de doctorat"
+}
+
+FUNCTION{fr.auteurs.style}{
+ %% si on veut des small caps sur le LASTNAME de l'auteur
+ %% Cette fonction est utilisee dans la definition d'une
+ %% fonction LaTeX.
+"\scshape"
+}
+
+FUNCTION{fr.ponctuation.apres.auteurs}{ %% Comme son nom l'indique...
+ %% Laisser vide pour un "."
+" : "
+}
+
+FUNCTION{fr.deuxpoints}{ %% Pour eviter l'espace avant les ":".
+"\string:\penalty500\relax "
+}
+
+MACRO {jan} {"janvier"}
+MACRO {feb} {"f\'evrier"}
+MACRO {mar} {"mars"}
+MACRO {apr} {"avril"}
+MACRO {may} {"mai"}
+MACRO {jun} {"juin"}
+MACRO {jul} {"juillet"}
+MACRO {aug} {"ao\^ut"}
+MACRO {sep} {"septembre"}
+MACRO {oct} {"octobre"}
+MACRO {nov} {"novembre"}
+MACRO {dec} {"d\'ecembre"}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% La suite, normalement, y a rien a changer...
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block after.authors }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #0 'after.authors :=
+}
+
+STRINGS { s t }
+
+FUNCTION{ fr.add.period }{
+after.authors
+ { fr.ponctuation.apres.auteurs empty$
+ { add.period$ }
+ { fr.ponctuation.apres.auteurs * #0 'after.authors := }
+ if$}
+ { add.period$ }
+if$
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { fr.add.period write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}\bgroup\fonteauteurs\bgroup {ll}\egroup\egroup{{}}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { %numnames #2 > namesleft #2 > and
+ % { "," * }
+ % 'skip$
+ %if$
+ t "\bgroup\fonteauteurs\bgroup others\egroup\egroup{}" =
+ { fr.et.al * }
+ { fr.and * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names #1 'after.authors := }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { fr.editeurs * }
+ { fr.editeur * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { fr.volume volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { fr.of * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { fr.number }
+ { fr.number.maj }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { fr.in.spc * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ fr.edition * }
+ { edition "t" change.case$ fr.edition * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { fr.pages pages n.dashify tie.or.space.connect }
+ { fr.page pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { fr.deuxpoints * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { fr.chapter }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { fr.in booktitle emphasize * }
+ { fr.in format.editors #1 'after.authors := fr.add.period " " * * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { fr.tech.rep }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { fr.in "{\em " * journal * "\/}" * }
+ if$
+ }
+ { fr.in key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}\bgroup\fonteauteurs\bgroup {ll}\egroup\egroup{{}}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ fr.et.al * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { fr.et.al * }
+ { fr.and * editor #2 "{vv~}\bgroup\fonteauteurs\bgroup {ll}\egroup\egroup{{}}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ fr.in
+ }
+ { fr.volume.maj volume tie.or.space.connect
+ fr.of *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { fr.in "{\em " * booktitle * "\/}" * }
+ if$
+ }
+ { fr.in key * }
+ if$
+ }
+ { fr.in format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ fr.master format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ fr.phd format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+MACRO {acta} {"Acta Informatica"}
+MACRO {cacm} {"Communications of the ACM"}
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+MACRO {ibmsj} {"IBM Systems Journal"}
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+MACRO {ipl} {"Information Processing Letters"}
+MACRO {jacm} {"Journal of the ACM"}
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+MACRO {scp} {"Science of Computer Programming"}
+MACRO {sicomp} {"SIAM Journal on Computing"}
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+MACRO {tods} {"ACM Transactions on Database Systems"}
+MACRO {tog} {"ACM Transactions on Graphics"}
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "Le " #3
+ "La " #3
+ "Les " #4
+ "Un " #3
+ "Une " #4
+ "Des " #4
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "Le " #3
+ "La " #3
+ "Les " #4
+ "The " #4 organization chop.word
+ chop.word
+ chop.word
+ chop.word
+ sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "Le " #3
+ "La " #3
+ "Les " #4
+ "The " #4 organization chop.word
+ chop.word
+ chop.word
+ chop.word
+ sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+ "\expandafter\ifx\csname fonteauteurs\endcsname\relax"
+ write$ newline$
+ "\def\fonteauteurs{" fr.auteurs.style * "}\fi" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+
+
+%%
+%% Changelog :
+%% 1.0 -> 1.1 : les mois ne prennent pas de majuscule
+%% 1.1 -> 1.2 : le '.' qui suit la liste des auteurs peut etre
+%% change en autre chose (':' notamment).
+%%
diff --git a/biblio/bibtex/contrib/bib-fr/plainnat-fr.bst b/biblio/bibtex/contrib/bib-fr/plainnat-fr.bst
new file mode 100644
index 0000000000..76e37074af
--- /dev/null
+++ b/biblio/bibtex/contrib/bib-fr/plainnat-fr.bst
@@ -0,0 +1,1503 @@
+%%
+%% Bib. style "plainnat-fr" (version francisee de plainnat.bst)
+%%
+%% NM, 2005/10/16
+%% markey@lsv.ens-cachan.fr
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Original Copyright (Patrick Daly):
+%%
+%% Copyright 1993-1999 Patrick W Daly
+%% Max-Planck-Institut f\"ur Aeronomie
+%% Max-Planck-Str. 2
+%% D-37191 Katlenburg-Lindau
+%% Germany
+%% E-mail: daly@linmpi.mpg.de
+%%
+%% This program can be redistributed and/or modified under the terms
+%% of the LaTeX Project Public License Distributed from CTAN
+%% archives in directory macros/latex/base/lppl.txt; either
+%% version 1 of the License, or any later version.
+%%
+ % Version and source file information:
+ % \ProvidesFile{natbst.mbs}[1999/05/11 1.6 (PWD)]
+ %
+ % BibTeX `plainnat' family
+ % version 0.99b for BibTeX versions 0.99a or later,
+ % for LaTeX versions 2.09 and 2e.
+ %
+ % For use with the `natbib.sty' package; emulates the corresponding
+ % member of the `plain' family, but with author-year citations.
+ %
+ % With version 6.0 of `natbib.sty', it may also be used for numerical
+ % citations, while retaining the commands \citeauthor, \citefullauthor,
+ % and \citeyear to print the corresponding information.
+ %
+ % For version 7.0 of `natbib.sty', the KEY field replaces missing
+ % authors/editors, and the date is left blank in \bibitem.
+ %
+ % Includes fields ISBN and ISSN.
+ %
+ % Includes field URL for Internet addresses (best used with
+ % with the url.sty package of Donald Arseneau
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ isbn
+ issn
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ url
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% C'est ici que je definis les "traductions". Normalement, y a que ca a changer
+%% pour franciser le style...
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION{fr.and}{ %% le "et" entre les deux derniers auteurs
+" et "
+}
+
+FUNCTION{fr.editeur}{ %% ", {\'e}diteur" au singulier, ou " ({\'e}diteur)"...
+", {\'e}diteur"
+}
+
+FUNCTION{fr.editeurs}{ %% ", {\'e}diteurs" au pluriel, ou " ({\'e}diteurs)"...
+", {\'e}diteurs"
+}
+
+FUNCTION{fr.et.al}{ %% " et~al."
+" \emph{et~al.}"
+}
+
+FUNCTION{fr.in}{ %% "Dans "
+"\emph{In} "
+}
+
+FUNCTION{fr.in.spc}{ %% " dans "
+" \emph{in} "
+}
+
+FUNCTION{fr.of}{ %% " de "
+" de "
+}
+
+FUNCTION{fr.number}{ %% "num{\'e}ro "
+"num{\'e}ro "
+}
+
+FUNCTION{fr.number.maj}{ %% "Num{\'e}ro "
+"Num{\'e}ro "
+}
+
+FUNCTION{fr.volume}{ %% "volume"
+"volume"
+}
+
+FUNCTION{fr.volume.maj}{ %% "Volume"
+"Volume"
+}
+
+FUNCTION{fr.edition}{ %% " {\'e}dition"
+" {\'e}dition"
+}
+
+FUNCTION{fr.pages}{ %% "pages"
+"pages"
+}
+
+FUNCTION{fr.page}{ %% "page"
+"page"
+}
+
+FUNCTION{fr.chapter}{ %% "chapitre"
+"chapitre"
+}
+
+FUNCTION{fr.tech.rep}{ %% "Rapport Technique"
+"Rapport technique"
+}
+
+FUNCTION{fr.master}{ %% "M{\'e}moire de D.E.A."
+"M{\'e}moire de D.E.A."
+}
+
+FUNCTION{fr.phd}{ %% "Th{\`e}se de doctorat"
+"Th{\`e}se de doctorat"
+}
+
+FUNCTION{fr.auteurs.style}{
+ %% si on veut des small caps sur le LASTNAME de l'auteur
+ %% Cette fonction est utilisee dans la definition d'une
+ %% fonction LaTeX.
+"\scshape"
+}
+
+FUNCTION{fr.ponctuation.apres.auteurs}{ %% Comme son nom l'indique...
+" : "
+}
+
+FUNCTION{fr.deuxpoints}{ %% Pour eviter l'espace avant les ":".
+"\string:\penalty500\relax "
+}
+
+MACRO {jan} {"janvier"}
+MACRO {feb} {"f\'evrier"}
+MACRO {mar} {"mars"}
+MACRO {apr} {"avril"}
+MACRO {may} {"mai"}
+MACRO {jun} {"juin"}
+MACRO {jul} {"juillet"}
+MACRO {aug} {"ao\^ut"}
+MACRO {sep} {"septembre"}
+MACRO {oct} {"octobre"}
+MACRO {nov} {"novembre"}
+MACRO {dec} {"d\'ecembre"}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% La suite, normalement, y a rien a changer...
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block after.authors }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #0 'after.authors :=
+}
+
+STRINGS { s t }
+
+FUNCTION{ fr.add.period }{
+after.authors
+ { fr.ponctuation.apres.auteurs empty$
+ { add.period$ }
+ { fr.ponctuation.apres.auteurs * #0 'after.authors := }
+ if$}
+ { add.period$ }
+if$
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { fr.add.period write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}\bgroup\fonteauteurs\bgroup {ll}\egroup\egroup{{}}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { %numnames #2 >
+ % { "," * }
+ % 'skip$
+ %if$
+ t "\bgroup\fonteauteurs\bgroup others\egroup\egroup{}" =
+ { fr.et.al * }
+ { fr.and * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names #1 'after.authors := }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { fr.editeurs * }
+ { fr.editeur * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.isbn}
+{ isbn empty$
+ { "" }
+ { new.block "ISBN " isbn * }
+ if$
+}
+
+FUNCTION {format.issn}
+{ issn empty$
+ { "" }
+ { new.block "ISSN " issn * }
+ if$
+}
+
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { new.block "URL \url{" url * "}" * }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {format.full.names}
+{%
+ % Ici, on laisse les noms en minuscules, on ne les mets pas en small caps.
+ %
+ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "\bgroup\fonteauteurs\bgroup others\egroup\egroup{}" =
+ { fr.et.al * }
+ { fr.and * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.full}
+{ author empty$
+ { editor empty$
+ { "" }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.full}
+{ author empty$
+ { "" }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.full}
+{ editor empty$
+ { "" }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.full
+ { type$ "proceedings" =
+ 'editor.full
+ 'author.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year duplicate$ empty$
+ { "empty year in " cite$ * warning$
+ pop$ "" }
+ 'skip$
+ if$
+ month empty$
+ 'skip$
+ { month
+ " " * swap$ *
+ }
+ if$
+ extra.label *
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { fr.volume volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { fr.of * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { fr.number }
+ { fr.number.maj }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { fr.in.spc * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ fr.edition * }
+ { edition "t" change.case$ fr.edition * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { fr.pages pages n.dashify tie.or.space.connect }
+ { fr.page pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "\penalty0 (" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { fr.deuxpoints * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { fr.chapter }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { fr.in booktitle emphasize * }
+ { fr.in format.editors #1 'after.authors := fr.add.period " " * * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { fr.tech.rep }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { fr.in "{\em " * journal * "\/}" * }
+ if$
+ }
+ { fr.in key * }
+ if$
+ " \citep{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ fr.in
+ }
+ { fr.volume.maj volume tie.or.space.connect
+ fr.of *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ 'skip$
+ if$
+ ", \citet{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { fr.in "{\em " * booktitle * "\/}" * }
+ if$
+ }
+ { fr.in key * }
+ if$
+ }
+ { fr.in }
+ if$
+ " \citet{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.issn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ format.isbn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ format.isbn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ format.isbn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.isbn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.isbn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ new.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+ format.date output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ fr.master format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ format.issn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.btitle "title" output.check
+ new.block
+ fr.phd format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ format.isbn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ format.url output
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+MACRO {acta} {"Acta Informatica"}
+MACRO {cacm} {"Communications of the ACM"}
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+MACRO {ibmsj} {"IBM Systems Journal"}
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+MACRO {ieeetcad} {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+MACRO {ipl} {"Information Processing Letters"}
+MACRO {jacm} {"Journal of the ACM"}
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+MACRO {scp} {"Science of Computer Programming"}
+MACRO {sicomp} {"SIAM Journal on Computing"}
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+MACRO {tods} {"ACM Transactions on Database Systems"}
+MACRO {tog} {"ACM Transactions on Graphics"}
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+MACRO {tcs} {"Theoretical Computer Science"}
+
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.lab.names}
+%
+% Ici, on laisse les noms en minuscules, on ne les mets pas
+% en small caps.
+%
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ fr.et.al * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { fr.et.al * }
+ { fr.and * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "Le " #3
+ "La " #3
+ "Les " #4
+ "The " #4 organization chop.word
+ chop.word
+ chop.word
+ chop.word
+ #3 text.prefix$ }
+ if$
+ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "Le " #3
+ "La " #3
+ "Les " #4
+ "The " #4 organization chop.word
+ chop.word
+ chop.word
+ chop.word
+ #3 text.prefix$ }
+ if$
+ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { fr.et.al * } %% sera "purify"e ensuite...
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "Un " #3
+ "Une " #4
+ "Des " #4
+ "Le " #3
+ "La " #3
+ "Les " #4
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "Le " #3
+ "La " #3
+ "Les " #4
+ "The " #4 organization chop.word
+ chop.word
+ chop.word
+ chop.word
+ sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "Le " #3
+ "La " #3
+ "Les " #4
+ "The " #4 organization chop.word
+ chop.word
+ chop.word
+ chop.word
+ sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num number.label }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {bib.sort.order}
+{ sort.label 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\expandafter\ifx\csname natexlab\endcsname\relax\def\natexlab#1{#1}\fi"
+ write$ newline$
+ "\expandafter\ifx\csname fonteauteurs\endcsname\relax"
+ write$ newline$
+ "\def\fonteauteurs{" fr.auteurs.style * "}\fi" * write$ newline$
+ "\expandafter\ifx\csname url\endcsname\relax" write$ newline$
+ " \def\url#1{{\tt #1}}% " write$ newline$
+ " \message{You should include the url package}\fi" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/bib-fr/siam-fr.bst b/biblio/bibtex/contrib/bib-fr/siam-fr.bst
new file mode 100644
index 0000000000..d972db1b3a
--- /dev/null
+++ b/biblio/bibtex/contrib/bib-fr/siam-fr.bst
@@ -0,0 +1,1154 @@
+%%
+%% Bib. style "siam-fr" (version francisee de siam.bst)
+%%
+%% NM, 2004/03/05
+%% markey@lsv.ens-cachan.fr
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Original Copyright (Oren Patashnik & Howard Trickey):
+%%
+ % SIAM bibliography style (29-Jan-88 version)
+ % numeric labels, alphabetic order, Mathematical Reviews abbreviations,
+ % names in \sc, titles in italics, book titles mixed upper-lower and article
+ % titles lowercase, commas separate all fields except before "notes".
+ %
+ % History
+ % 1/30/86 (HWT) Original version, by Howard Trickey.
+ % 6/15/87 (HWT) Fix format.editors---Martin Costabel.
+ % 1/29/88 (OP&HWT) Updated for BibTeX version 0.99a, Oren Patashnik;
+ % THIS `siam' VERSION DOES NOT WORK WITH BIBTEX 0.98i.
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% C'est ici que je definis les "traductions". Normalement, y a
+%% que ca a changer pour franciser le style...
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+FUNCTION{fr.and}{ %% le "et" entre les deux derniers auteurs
+" et "
+}
+
+FUNCTION{fr.editeur}{ %% ", \'editeur" au singulier, ou " (\'editeur)"...
+", \'ed."
+}
+
+FUNCTION{fr.editeurs}{ %% ", \'editeurs" au pluriel, ou " (\'editeurs)"...
+", \'eds."
+}
+
+FUNCTION{fr.et.al}{ %% " et~al."
+" \emph{et~al.}"
+}
+
+FUNCTION{fr.in}{ %% "Dans "
+"\emph{In} "
+}
+
+FUNCTION{fr.in.min}{ %% "Dans "
+"\emph{in} "
+}
+
+FUNCTION{fr.in.spc}{ %% " de " (ou " de la s\'erie ")
+" de "
+}
+
+FUNCTION{fr.of}{ %% " de "
+" de "
+}
+
+FUNCTION{fr.number}{ %% "num{\'e}ro "
+"no~"
+}
+
+FUNCTION{fr.number.maj}{ %% "Num\'ero "
+"No~"
+}
+
+FUNCTION{fr.volume}{ %% "volume"
+"vol.~"
+}
+
+FUNCTION{fr.volume.maj}{ %% "Volume"
+"Vol.~"
+}
+
+FUNCTION{fr.edition}{ %% " \'edition"
+"~\'ed."
+}
+
+FUNCTION{fr.pages}{ %% "pages"
+"p.~"
+}
+
+FUNCTION{fr.page}{ %% "page"
+"p~"
+}
+
+FUNCTION{fr.chapter}{ %% "chapitre"
+"chap.~"
+}
+
+FUNCTION{fr.tech.rep}{ %% "Rapport Technique"
+"Rap. tech."
+}
+
+FUNCTION{fr.master}{ %% "M\'emoire de D.E.A."
+"M\'em. D.E.A."
+}
+
+FUNCTION{fr.phd}{ %% "Th\`ese de doctorat"
+"Th\`ese doctorat"
+}
+
+FUNCTION{fr.auteurs.style}{
+ %% si on veut des small caps sur le LASTNAME de l'auteur
+ %% Cette fonction est utilisee dans la definition d'une
+ %% fonction LaTeX.
+"\scshape"
+}
+
+FUNCTION{fr.ponctuation.apres.auteurs}{ %% Comme son nom l'indique...
+ %% Laisser vide pour un "."
+" : "
+}
+
+MACRO {jan} {"jan."}
+MACRO {feb} {"f\'ev."}
+MACRO {mar} {"mars"}
+MACRO {apr} {"avril"}
+MACRO {may} {"mai"}
+MACRO {jun} {"juin"}
+MACRO {jul} {"juil."}
+MACRO {aug} {"ao\^ut"}
+MACRO {sep} {"sept."}
+MACRO {oct} {"oct."}
+MACRO {nov} {"nov."}
+MACRO {dec} {"d\'ec."}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% La suite, normalement, y a rien a changer...
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+INTEGERS { output.state before.all mid.sentence after.block after.authors }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.block :=
+ #0 'after.authors :=
+}
+
+STRINGS { s t }
+
+FUNCTION{ fr.add.period }{
+after.authors
+ { fr.ponctuation.apres.auteurs empty$
+ { add.period$ }
+ { fr.ponctuation.apres.auteurs * #0 'after.authors := }
+ if$}
+ { add.period$ }
+if$
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { fr.add.period write$
+ newline$
+ "\newblock " write$
+ }
+ 'write$
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {scapify}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\fonteauteurs{" swap$ * "}}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+ %% Le passage en small-caps est fait plus loin, sur tout le nom.
+ %% (c'est le comportement du siam.bst original)
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { %numnames #2 >
+ %{ "," * }
+ %'skip$
+ %if$
+ t "others" =
+ { fr.et.al * }
+ { fr.and * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+STRINGS { last.authors }
+
+FUNCTION {init.last.authors}
+{ "" 'last.authors :=
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" 'last.authors :=
+ ""
+ }
+ { author last.authors =
+ { "\leavevmode\vrule height 2pt depth -1.6pt width 23pt" }
+ { author format.names scapify }
+ if$
+ author 'last.authors :=
+ }
+ if$
+}
+
+FUNCTION {format.organization}
+{ organization empty$
+ { "" 'last.authors :=
+ ""
+ }
+ { organization last.authors =
+ { "\leavevmode\vrule height 2pt depth -1.6pt width 23pt" }
+ { organization scapify }
+ if$
+ organization 'last.authors :=
+ }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" 'last.authors :=
+ ""
+ }
+ { editor last.authors =
+ { "\leavevmode\vrule height 2pt depth -1.6pt width 23pt" }
+ { editor format.names scapify }
+ if$
+ editor num.names$ #1 >
+ { fr.editeurs * }
+ { fr.editeur * }
+ if$
+ editor 'last.authors :=
+ }
+ if$
+}
+
+FUNCTION {format.ineditors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { fr.editeurs * }
+ { fr.editeur * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ emphasize }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { fr.volume volume *
+ series empty$
+ 'skip$
+ { fr.of * series * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { fr.number number *
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { fr.in.min * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { edition "l" change.case$ fr.edition * }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { fr.pages pages n.dashify * }
+ { fr.page pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.year}
+{ volume field.or.null
+ year empty$
+ { "empty year in " cite$ * warning$ }
+ { " (" year * ")" * * }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { fr.chapter chapter * }
+ { type "l" change.case$ chapter tie.or.space.connect }
+ if$
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { fr.in.min booktitle * }
+ { fr.in.min booktitle * ", " * format.ineditors * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "l" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { fr.tech.rep }
+ 'type
+ if$
+ number empty$
+ { "l" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { fr.in.min journal * }
+ if$
+ }
+ { fr.in.min key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}\bgroup\fonteauteurs\bgroup{ll}\egroup\egroup{{}}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ fr.et.al * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { fr.et.al * }
+ { fr.and * editor #2 "{vv~}\bgroup\fonteauteurs\bgroup{ll}\egroup\egroup{{}}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ fr.in.min
+ }
+ { fr.volume volume *
+ fr.of *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { series * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { fr.in.min booktitle * }
+ if$
+ }
+ { fr.in.min key * }
+ if$
+ }
+ { fr.in.min format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ crossref missing$
+ { journal "journal" output.check
+ format.vol.year output
+ }
+ { format.article.crossref output.nonnull }
+ if$
+ format.pages output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ publisher "publisher" output.check
+ address output
+ }
+ { format.book.crossref output.nonnull }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ format.title "title" output.check
+ howpublished new.block.checka
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ publisher "publisher" output.check
+ address output
+ }
+ { format.book.crossref output.nonnull }
+ if$
+ format.edition output
+ format.date "year" output.check
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull }
+ if$
+ format.chapter.pages output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull }
+ if$
+ format.pages output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { format.organization output }
+ { format.authors output.nonnull }
+ if$
+ format.btitle "title" output.check
+ author empty$
+ 'skip$
+ { organization output }
+ if$
+ address output
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ fr.master format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ format.btitle "title" output.check
+ fr.phd format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { format.organization output }
+ { format.editors output.nonnull }
+ if$
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {acmcs} {"ACM Comput. Surveys"}
+MACRO {acta} {"Acta Inf."}
+MACRO {cacm} {"Comm. ACM"}
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+MACRO {ibmsj} {"IBM Syst.~J."}
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+MACRO {ipl} {"Inf. Process. Lett."}
+MACRO {jacm} {"J.~Assoc. Comput. Mach."}
+MACRO {jcss} {"J.~Comput. System Sci."}
+MACRO {scp} {"Sci. Comput. Programming"}
+MACRO {sicomp} {"SIAM J. Comput."}
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+MACRO {tods} {"ACM Trans. Database Syst."}
+MACRO {tog} {"ACM Trans. Gr."}
+MACRO {toms} {"ACM Trans. Math. Softw."}
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { fr.et.al sortify * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "Un " #3
+ "Une " #4
+ "Des " #4
+ "Le " #3
+ "La " #3
+ "Les " #4
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "Le " #3 "La " #3 "Les " #4
+ "The " #4 organization chop.word
+ chop.word chop.word chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "Le " #3 "La " #3 "Les " #4
+ "The " #4 organization chop.word
+ chop.word chop.word chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+ "\expandafter\ifx\csname fonteauteurs\endcsname\relax"
+ write$ newline$
+ "\def\fonteauteurs{" fr.auteurs.style * "}\fi" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+EXECUTE {init.last.authors}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/bib-fr/unsrt-fr.bst b/biblio/bibtex/contrib/bib-fr/unsrt-fr.bst
new file mode 100644
index 0000000000..79a9c15f71
--- /dev/null
+++ b/biblio/bibtex/contrib/bib-fr/unsrt-fr.bst
@@ -0,0 +1,1062 @@
+%%
+%% Bib. style "unsrt-fr" (version francisee de unsrt.bst)
+%%
+%% NM, 2004/02/22
+%% markey@lsv.ens-cachan.fr
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Original Copyright (Oren Patashnik):
+%%
+ % This program may be distributed and/or modified under the
+ % conditions of the LaTeX Project Public License, either version 1.2
+ % of this license or (at your option) any later version.
+ % The latest version of this license is in
+ % http://www.latex-project.org/lppl.txt
+ % and version 1.2 or later is part of all distributions of LaTeX
+ % version 1999/12/01 or later.
+ %
+ % This program consists of the files unsrt.bst
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% C'est ici que je definis les "traductions". Normalement, y a que ca a changer
+%% pour franciser le style...
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION{fr.and}{ %% le "et" entre les deux derniers auteurs
+" et "
+}
+
+FUNCTION{fr.editeur}{ %% ", \'editeur" au singulier, ou " (\'editeur)"...
+", \'editeur"
+}
+
+FUNCTION{fr.editeurs}{ %% ", \'editeurs" au pluriel, ou " (\'editeurs)"...
+", \'editeurs"
+}
+
+FUNCTION{fr.et.al}{ %% " et~al."
+" \emph{et~al.}"
+}
+
+FUNCTION{fr.in}{ %% "In "
+"\emph{In} "
+}
+
+FUNCTION{fr.in.spc}{ %% " de " (ou " de la s\'erie ")
+" de "
+}
+
+FUNCTION{fr.of}{ %% " de "
+" de "
+}
+
+FUNCTION{fr.number}{ %% "num\'ero "
+"num\'ero "
+}
+
+FUNCTION{fr.number.maj}{ %% "Num\'ero "
+"Num\'ero "
+}
+
+FUNCTION{fr.volume}{ %% "volume"
+"volume"
+}
+
+FUNCTION{fr.volume.maj}{ %% "Volume"
+"Volume"
+}
+
+FUNCTION{fr.edition}{ %% " \'edition"
+" \'edition"
+}
+
+FUNCTION{fr.pages}{ %% "pages"
+"pages"
+}
+
+FUNCTION{fr.page}{ %% "page"
+"page"
+}
+
+FUNCTION{fr.chapter}{ %% "chapitre"
+"chapitre"
+}
+
+FUNCTION{fr.tech.rep}{ %% "Rapport Technique"
+"Rapport technique"
+}
+
+FUNCTION{fr.master}{ %% "M\'emoire de D.E.A."
+"M\'emoire de D.E.A."
+}
+
+FUNCTION{fr.phd}{ %% "Th\`ese de doctorat"
+"Th\`ese de doctorat"
+}
+
+FUNCTION{fr.auteurs.style}{
+ %% si on veut des small caps sur le LASTNAME de l'auteur
+ %% Cette fonction est utilisee dans la definition d'une
+ %% fonction LaTeX.
+"\scshape"
+}
+
+FUNCTION{fr.ponctuation.apres.auteurs}{ %% Comme son nom l'indique...
+" : "
+}
+
+FUNCTION{fr.deuxpoints}{ %% Pour eviter l'espace avant les ":".
+"\string:\penalty500\relax "
+}
+
+MACRO {jan} {"janvier"}
+MACRO {feb} {"f\'evrier"}
+MACRO {mar} {"mars"}
+MACRO {apr} {"avril"}
+MACRO {may} {"mai"}
+MACRO {jun} {"juin"}
+MACRO {jul} {"juillet"}
+MACRO {aug} {"ao\^ut"}
+MACRO {sep} {"septembre"}
+MACRO {oct} {"octobre"}
+MACRO {nov} {"novembre"}
+MACRO {dec} {"d\'ecembre"}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% La suite, normalement, y a rien a changer...
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block after.authors }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #0 'after.authors :=
+}
+
+STRINGS { s t }
+
+FUNCTION{ fr.add.period }{
+after.authors
+ { fr.ponctuation.apres.auteurs empty$
+ { add.period$ }
+ { fr.ponctuation.apres.auteurs * #0 'after.authors := }
+ if$}
+ { add.period$ }
+if$
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { fr.add.period write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}\bgroup\fonteauteurs\bgroup {ll}\egroup\egroup{{}}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { %numnames #2 > namesleft #2 > and
+ % { "," * }
+ % 'skip$
+ %if$
+ t "\bgroup\fonteauteurs\bgroup others\egroup\egroup{}" =
+ { fr.et.al * }
+ { fr.and * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names #1 'after.authors := }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { fr.editeurs * }
+ { fr.editeur * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { fr.volume volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { fr.of * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { fr.number }
+ { fr.number.maj }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { fr.in.spc * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ fr.edition * }
+ { edition "t" change.case$ fr.edition * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { fr.pages pages n.dashify tie.or.space.connect }
+ { fr.page pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { fr.deuxpoints * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { fr.chapter }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { fr.in booktitle emphasize * }
+ { fr.in format.editors #1 'after.authors := fr.add.period " " * * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { fr.tech.rep }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { fr.in "{\em " * journal * "\/}" * }
+ if$
+ }
+ { fr.in key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}\bgroup\fonteauteurs\bgroup {ll}\egroup\egroup{{}}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ fr.et.al * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { fr.et.al * }
+ { fr.and * editor #2 "{vv~}\bgroup\fonteauteurs\bgroup {ll}\egroup\egroup{{}}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ fr.in
+ }
+ { fr.volume.maj volume tie.or.space.connect
+ fr.of *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { fr.in "{\em " * booktitle * "\/}" * }
+ if$
+ }
+ { fr.in key * }
+ if$
+ }
+ { fr.in format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ fr.master format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ fr.phd format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+MACRO {acta} {"Acta Informatica"}
+MACRO {cacm} {"Communications of the ACM"}
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+MACRO {ibmsj} {"IBM Systems Journal"}
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+MACRO {ipl} {"Information Processing Letters"}
+MACRO {jacm} {"Journal of the ACM"}
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+MACRO {scp} {"Science of Computer Programming"}
+MACRO {sicomp} {"SIAM Journal on Computing"}
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+MACRO {tods} {"ACM Transactions on Database Systems"}
+MACRO {tog} {"ACM Transactions on Graphics"}
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+ "\expandafter\ifx\csname fonteauteurs\endcsname\relax"
+ write$ newline$
+ "\def\fonteauteurs{" fr.auteurs.style * "}\fi" * write$ newline$
+ "\makeatother" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+
+
+%%
+%% Changelog :
+%% 1.0 -> 1.1 : les mois ne prennent pas de majuscule
+%% 1.1 -> 1.2 : le '.' qui suit la liste des auteurs peut etre
+%% change en autre chose (':' notamment).
+%%
diff --git a/biblio/bibtex/contrib/bib-fr/unsrtnat-fr.bst b/biblio/bibtex/contrib/bib-fr/unsrtnat-fr.bst
new file mode 100644
index 0000000000..ca0a8e65f8
--- /dev/null
+++ b/biblio/bibtex/contrib/bib-fr/unsrtnat-fr.bst
@@ -0,0 +1,1495 @@
+%%
+%% Bib. style "unsrtnat-fr" (version francisee de unsrtnat.bst)
+%%
+%% NM, 2005/10/16
+%% markey@lsv.ens-cachan.fr
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Original Copyright (Patrick Daly):
+%%
+%% Copyright 1993-1999 Patrick W Daly
+%% Max-Planck-Institut f\"ur Aeronomie
+%% Max-Planck-Str. 2
+%% D-37191 Katlenburg-Lindau
+%% Germany
+%% E-mail: daly@linmpi.mpg.de
+%%
+%% This program can be redistributed and/or modified under the terms
+%% of the LaTeX Project Public License Distributed from CTAN
+%% archives in directory macros/latex/base/lppl.txt; either
+%% version 1 of the License, or any later version.
+%%
+ % Version and source file information:
+ % \ProvidesFile{natbst.mbs}[1999/05/11 1.6 (PWD)]
+ %
+ % BibTeX `plainnat' family
+ % version 0.99b for BibTeX versions 0.99a or later,
+ % for LaTeX versions 2.09 and 2e.
+ %
+ % For use with the `natbib.sty' package; emulates the corresponding
+ % member of the `plain' family, but with author-year citations.
+ %
+ % With version 6.0 of `natbib.sty', it may also be used for numerical
+ % citations, while retaining the commands \citeauthor, \citefullauthor,
+ % and \citeyear to print the corresponding information.
+ %
+ % For version 7.0 of `natbib.sty', the KEY field replaces missing
+ % authors/editors, and the date is left blank in \bibitem.
+ %
+ % Includes fields ISBN and ISSN.
+ %
+ % Includes field URL for Internet addresses (best used with
+ % with the url.sty package of Donald Arseneau
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ isbn
+ issn
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ url
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% C'est ici que je definis les "traductions". Normalement, y a que ca a changer
+%% pour franciser le style...
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION{fr.and}{ %% le "et" entre les deux derniers auteurs
+" et "
+}
+
+FUNCTION{fr.editeur}{ %% ", {\'e}diteur" au singulier, ou " ({\'e}diteur)"...
+", {\'e}diteur"
+}
+
+FUNCTION{fr.editeurs}{ %% ", {\'e}diteurs" au pluriel, ou " ({\'e}diteurs)"...
+", {\'e}diteurs"
+}
+
+FUNCTION{fr.et.al}{ %% " et~al."
+" \emph{et~al.}"
+}
+
+FUNCTION{fr.in}{ %% "Dans "
+"\emph{In} "
+}
+
+FUNCTION{fr.in.spc}{ %% " dans "
+" \emph{in} "
+}
+
+FUNCTION{fr.of}{ %% " de "
+" de "
+}
+
+FUNCTION{fr.number}{ %% "num{\'e}ro "
+"num{\'e}ro "
+}
+
+FUNCTION{fr.number.maj}{ %% "Num{\'e}ro "
+"Num{\'e}ro "
+}
+
+FUNCTION{fr.volume}{ %% "volume"
+"volume"
+}
+
+FUNCTION{fr.volume.maj}{ %% "Volume"
+"Volume"
+}
+
+FUNCTION{fr.edition}{ %% " {\'e}dition"
+" {\'e}dition"
+}
+
+FUNCTION{fr.pages}{ %% "pages"
+"pages"
+}
+
+FUNCTION{fr.page}{ %% "page"
+"page"
+}
+
+FUNCTION{fr.chapter}{ %% "chapitre"
+"chapitre"
+}
+
+FUNCTION{fr.tech.rep}{ %% "Rapport Technique"
+"Rapport technique"
+}
+
+FUNCTION{fr.master}{ %% "M{\'e}moire de D.E.A."
+"M{\'e}moire de D.E.A."
+}
+
+FUNCTION{fr.phd}{ %% "Th{\`e}se de doctorat"
+"Th{\`e}se de doctorat"
+}
+
+FUNCTION{fr.auteurs.style}{
+ %% si on veut des small caps sur le LASTNAME de l'auteur
+ %% Cette fonction est utilisee dans la definition d'une
+ %% fonction LaTeX.
+"\scshape"
+}
+
+FUNCTION{fr.ponctuation.apres.auteurs}{ %% Comme son nom l'indique...
+" : "
+}
+
+FUNCTION{fr.deuxpoints}{ %% Pour eviter l'espace avant les ":".
+"\string:\penalty500\relax "
+}
+
+MACRO {jan} {"janvier"}
+MACRO {feb} {"f\'evrier"}
+MACRO {mar} {"mars"}
+MACRO {apr} {"avril"}
+MACRO {may} {"mai"}
+MACRO {jun} {"juin"}
+MACRO {jul} {"juillet"}
+MACRO {aug} {"ao\^ut"}
+MACRO {sep} {"septembre"}
+MACRO {oct} {"octobre"}
+MACRO {nov} {"novembre"}
+MACRO {dec} {"d\'ecembre"}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% La suite, normalement, y a rien a changer...
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block after.authors }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #0 'after.authors :=
+}
+
+STRINGS { s t }
+
+FUNCTION{ fr.add.period }{
+after.authors
+ { fr.ponctuation.apres.auteurs empty$
+ { add.period$ }
+ { fr.ponctuation.apres.auteurs * #0 'after.authors := }
+ if$}
+ { add.period$ }
+if$
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { fr.add.period write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}\bgroup\fonteauteurs\bgroup {ll}\egroup\egroup{{}}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { %numnames #2 >
+ % { "," * }
+ % 'skip$
+ %if$
+ t "\bgroup\fonteauteurs\bgroup others\egroup\egroup{}" =
+ { fr.et.al * }
+ { fr.and * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names #1 'after.authors := }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { fr.editeurs * }
+ { fr.editeur * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.isbn}
+{ isbn empty$
+ { "" }
+ { new.block "ISBN " isbn * }
+ if$
+}
+
+FUNCTION {format.issn}
+{ issn empty$
+ { "" }
+ { new.block "ISSN " issn * }
+ if$
+}
+
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { new.block "URL \url{" url * "}" * }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {format.full.names}
+{%
+ % Ici, on laisse les noms en minuscules, on ne les mets pas en small caps.
+ %
+ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "\bgroup\fonteauteurs\bgroup others\egroup\egroup{}" =
+ { fr.et.al * }
+ { fr.and * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.full}
+{ author empty$
+ { editor empty$
+ { "" }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.full}
+{ author empty$
+ { "" }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.full}
+{ editor empty$
+ { "" }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.full
+ { type$ "proceedings" =
+ 'editor.full
+ 'author.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year duplicate$ empty$
+ { "empty year in " cite$ * warning$
+ pop$ "" }
+ 'skip$
+ if$
+ month empty$
+ 'skip$
+ { month
+ " " * swap$ *
+ }
+ if$
+ extra.label *
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { fr.volume volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { fr.of * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { fr.number }
+ { fr.number.maj }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { fr.in.spc * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ fr.edition * }
+ { edition "t" change.case$ fr.edition * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { fr.pages pages n.dashify tie.or.space.connect }
+ { fr.page pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "\penalty0 (" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { fr.deuxpoints * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { fr.chapter }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { fr.in booktitle emphasize * }
+ { fr.in format.editors #1 'after.authors := fr.add.period " " * * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { fr.tech.rep }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { fr.in "{\em " * journal * "\/}" * }
+ if$
+ }
+ { fr.in key * }
+ if$
+ " \citep{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ fr.in
+ }
+ { fr.volume.maj volume tie.or.space.connect
+ fr.of *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ 'skip$
+ if$
+ ", \citet{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { fr.in "{\em " * booktitle * "\/}" * }
+ if$
+ }
+ { fr.in key * }
+ if$
+ }
+ { fr.in }
+ if$
+ " \citet{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.issn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ format.isbn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ format.isbn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ format.isbn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.isbn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.isbn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ new.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+ format.date output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ fr.master format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ format.issn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.btitle "title" output.check
+ new.block
+ fr.phd format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ format.isbn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ format.url output
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+MACRO {acta} {"Acta Informatica"}
+MACRO {cacm} {"Communications of the ACM"}
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+MACRO {ibmsj} {"IBM Systems Journal"}
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+MACRO {ieeetcad} {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+MACRO {ipl} {"Information Processing Letters"}
+MACRO {jacm} {"Journal of the ACM"}
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+MACRO {scp} {"Science of Computer Programming"}
+MACRO {sicomp} {"SIAM Journal on Computing"}
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+MACRO {tods} {"ACM Transactions on Database Systems"}
+MACRO {tog} {"ACM Transactions on Graphics"}
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+MACRO {tcs} {"Theoretical Computer Science"}
+
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.lab.names}
+%
+% Ici, on laisse les noms en minuscules, on ne les mets pas
+% en small caps.
+%
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ fr.et.al * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { fr.et.al * }
+ { fr.and * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "Le " #3
+ "La " #3
+ "Les " #4
+ "The " #4 organization chop.word
+ chop.word
+ chop.word
+ chop.word
+ #3 text.prefix$ }
+ if$
+ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "Le " #3
+ "La " #3
+ "Les " #4
+ "The " #4 organization chop.word
+ chop.word
+ chop.word
+ chop.word
+ #3 text.prefix$ }
+ if$
+ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { fr.et.al * } %% sera "purify"e ensuite...
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "Un " #3
+ "Une " #4
+ "Des " #4
+ "Le " #3
+ "La " #3
+ "Les " #4
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "Le " #3
+ "La " #3
+ "Les " #4
+ "The " #4 organization chop.word
+ chop.word
+ chop.word
+ chop.word
+ sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "Le " #3
+ "La " #3
+ "Les " #4
+ "The " #4 organization chop.word
+ chop.word
+ chop.word
+ chop.word
+ sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+INTEGERS { seq.num }
+
+FUNCTION {init.seq}
+{ #0 'seq.num :=}
+
+EXECUTE {init.seq}
+
+FUNCTION {int.to.fix}
+{
+ "000000000" swap$ int.to.str$ *
+ #-1 #10 substring$
+}
+
+
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ seq.num #1 + 'seq.num :=
+ seq.num int.to.fix
+ 'sort.label :=
+ sort.label *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num number.label }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {bib.sort.order}
+{ sort.label 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\expandafter\ifx\csname natexlab\endcsname\relax\def\natexlab#1{#1}\fi"
+ write$ newline$
+ "\expandafter\ifx\csname fonteauteurs\endcsname\relax"
+ write$ newline$
+ "\def\fonteauteurs{" fr.auteurs.style * "}\fi" * write$ newline$
+ "\expandafter\ifx\csname url\endcsname\relax" write$ newline$
+ " \def\url#1{{\tt #1}}% " write$ newline$
+ " \message{You should include the url package}\fi" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/bibhtml/LICENCE b/biblio/bibtex/contrib/bibhtml/LICENCE
new file mode 100644
index 0000000000..3912109b5c
--- /dev/null
+++ b/biblio/bibtex/contrib/bibhtml/LICENCE
@@ -0,0 +1,340 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Library General
+Public License instead of this License.
diff --git a/biblio/bibtex/contrib/bibhtml/README b/biblio/bibtex/contrib/bibhtml/README
new file mode 100644
index 0000000000..ff0f77f9a9
--- /dev/null
+++ b/biblio/bibtex/contrib/bibhtml/README
@@ -0,0 +1,18 @@
+Bibhtml consists of a set of BibTeX style files, which allow you to
+use BibTeX to produce bibliographies in HTML. These are modelled
+closely on the standard BibTeX style files, paired so that
+plainhtml.bst is derived from plain.bst.
+
+To accompany them, this package includes a pair of XSLT scripts which
+illustrate how you might integrate these generated bibliographies into
+an XML/HTML workflow.
+
+The long-term URL for this package is http://purl.org/nxg/dist/bibhtml
+
+The code is available at <https://bitbucket.org/nxg/bibhtml>,
+where you can find an issues list.
+
+This distribution contains bibhtml version 2.0.2, released 2013 September 8.
+
+
+Norman Gray, http://nxg.me.uk
diff --git a/biblio/bibtex/contrib/bibhtml/abbrvhtml.bst b/biblio/bibtex/contrib/bibhtml/abbrvhtml.bst
new file mode 100644
index 0000000000..e434775bd8
--- /dev/null
+++ b/biblio/bibtex/contrib/bibhtml/abbrvhtml.bst
@@ -0,0 +1,1402 @@
+%% abbrvhtml.bst
+%%
+%% Part of bibhtml, version 2.0.2, released 2013 September 8
+%% Hg node 7076ce83a035.
+%% See <http://purl.org/nxg/dist/bibhtml>
+%%
+%% Copyright 1999, 2005, 2006, 2009, Norman Gray <norman@astro.gla.ac.uk>
+%%
+%% This is a modification of a modification!
+%%
+%%% Modification of BibTeX style file /usr/local/texlive/2008/texmf-dist/bibtex/bst/base/abbrv.bst
+%%% ... by urlbst, version 0.6-4 (marked with "% urlbst")
+%%% See <http://purl.org/nxg/dist/urlbst>
+%%% Added webpage entry type, and url and lastchecked fields.
+%%% Added eprint support.
+%%% Added DOI support.
+%%% Added PUBMED support.
+%%% Added hyperref support.
+%%% Original headers follow...
+
+% BibTeX standard bibliography style `abbrv'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ eprint % urlbst
+ doi % urlbst
+ pubmed % urlbst
+ url % urlbst
+ lastchecked % urlbst
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block doiform }
+
+STRINGS { urlintro eprinturl eprintprefix doiprefix doiurl pubmedprefix pubmedurl openinlinelink closeinlinelink } % urlbst...
+INTEGERS { inlinelinks makeinlinelink addeprints adddoiresolver addpubmedresolver }
+% Following constants may be adjusted by hand, if desired
+FUNCTION {init.urlbst.variables}
+{
+ "Available from: " 'urlintro := % prefix before URL
+ "http://arxiv.org/abs/" 'eprinturl := % prefix to make URL from eprint ref
+ "arXiv:" 'eprintprefix := % text prefix printed before eprint ref
+ "http://dx.doi.org/" 'doiurl := % prefix to make URL from DOI
+ "doi:" 'doiprefix := % text prefix printed before DOI ref
+ "http://www.ncbi.nlm.nih.gov/pubmed/" 'pubmedurl := % prefix to make URL from PUBMED
+ "PMID:" 'pubmedprefix := % text prefix printed before PUBMED ref
+ #1 'addeprints := % 0=no eprints; 1=include eprints
+ #1 'adddoiresolver := % 0=no DOI resolver; 1=include it
+ #1 'addpubmedresolver := % 0=no PUBMED resolver; 1=include it
+ #1 'inlinelinks := % 0=URLs explicit; 1=URLs attached to titles
+ #1 'doiform := % 0=simple, but can produce invalid HTML; 1=needs post-processing
+ % the following are internal state variables, not config constants
+ #0 'makeinlinelink := % state variable managed by possibly.setup.inlinelink
+ "" 'openinlinelink := % ditto
+ "" 'closeinlinelink := % ditto
+}
+INTEGERS {
+ bracket.state
+ outside.brackets
+ open.brackets
+ within.brackets
+ close.brackets
+ close.first.block
+}
+% ...urlbst to here
+FUNCTION {init.state.consts}
+{ #0 'outside.brackets := % urlbst
+ #1 'open.brackets :=
+ #2 'within.brackets :=
+ #3 'close.brackets :=
+
+ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #0 'close.first.block :=
+}
+
+STRINGS { s t }
+
+% urlbst
+FUNCTION {output.nonnull.original}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ % close the <dt> after the end of the first block
+ close.first.block
+ { "</a></dt>" write$ newline$ "<dd>" write$
+ #0 'close.first.block := }
+ { newline$ }
+ if$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+% urlbst...
+% The following three functions are for handling inlinelink. They wrap
+% a block of text which is potentially output with write$ by multiple
+% other functions, so we don't know the content a priori.
+% They communicate between each other using the variables makeinlinelink
+% (which is true if a link should be made), and closeinlinelink (which holds
+% the string which should close any current link. They can be called
+% at any time, but start.inlinelink will be a no-op unless something has
+% previously set makeinlinelink true, and the two ...end.inlinelink functions
+% will only do their stuff if start.inlinelink has previously set
+% closeinlinelink to be non-empty.
+FUNCTION {possibly.setup.inlinelink}
+{ makeinlinelink
+ { "<a href=" quote$ * url * quote$ * ">" * 'openinlinelink :=
+ "</a>" 'closeinlinelink :=
+ #0 'makeinlinelink := }
+ 'skip$
+ if$ % makeinlinelink
+}
+FUNCTION {add.inlinelink}
+{ openinlinelink empty$
+ 'skip$
+ { openinlinelink swap$ * closeinlinelink *
+ "" 'openinlinelink :=
+ }
+ if$
+}
+FUNCTION {output.nonnull}
+{ % Save the thing we've been asked to output
+ 's :=
+ % If the bracket-state is close.brackets, then add a close-bracket to
+ % what is currently at the top of the stack, and set bracket.state
+ % to outside.brackets
+ bracket.state close.brackets =
+ { "]" *
+ outside.brackets 'bracket.state :=
+ }
+ 'skip$
+ if$
+ bracket.state outside.brackets =
+ { % We're outside all brackets -- this is the normal situation.
+ % Write out what's currently at the top of the stack, using the
+ % original output.nonnull function.
+ s
+ add.inlinelink
+ output.nonnull.original % invoke the original output.nonnull
+ }
+ { % Still in brackets. Add open-bracket or (continuation) comma, add the
+ % new text (in s) to the top of the stack, and move to the close-brackets
+ % state, ready for next time (unless inbrackets resets it). If we come
+ % into this branch, then output.state is carefully undisturbed.
+ bracket.state open.brackets =
+ { " [" * }
+ { ", " * } % bracket.state will be within.brackets
+ if$
+ s *
+ close.brackets 'bracket.state :=
+ }
+ if$
+}
+
+% Call this function just before adding something which should be presented in
+% brackets. bracket.state is handled specially within output.nonnull.
+FUNCTION {inbrackets}
+{ bracket.state close.brackets =
+ { within.brackets 'bracket.state := } % reset the state: not open nor closed
+ { open.brackets 'bracket.state := }
+ if$
+}
+
+FUNCTION {format.lastchecked}
+{ lastchecked empty$
+ { "" }
+ { inbrackets "cited " lastchecked * }
+ if$
+}
+% ...urlbst to here
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem.original}
+{ newline$
+ "<dt><a name='" write$
+ cite$ write$
+ "'>[" cite$ * "] " * write$
+ % the <dt> is closed within output.nonnull, as long as close.first.block is true
+ #1 'close.first.block :=
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry.original}
+{ add.period$ "</dd>" *
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<em>" swap$ * "</em>" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In <em>" journal * "</em>" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " <span class='cite'>" * crossref * "</span>" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "<em>" * series * "</em>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " <span class='cite'>" * crossref * "</span>" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In <em>" booktitle * "</em>" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " <span class='cite'>" * crossref * "</span>" *
+}
+
+% urlbst...
+% Functions for making hypertext links.
+FUNCTION {make.href}
+{
+ "<a href='" swap$ * "'><code>" * swap$ * "</code></a>" *
+}
+
+% If inlinelinks is true, then format.url should be a no-op, since it's
+% (a) redundant, and (b) could end up as a link-within-a-link.
+FUNCTION {format.url}
+{ inlinelinks #1 = url empty$ or
+ { "" }
+ { urlintro "<code>" * url * "</code>" * }
+ if$
+}
+
+FUNCTION {format.eprint}
+{ eprint empty$
+ { "" }
+ { eprintprefix eprint * eprinturl eprint * make.href }
+ if$
+}
+
+FUNCTION {format.doi}
+{ doi empty$
+ { "" }
+ { doiform #0 =
+ { doiprefix doi * doiurl doi * make.href }
+ { "DOI:{" doi * "}" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pubmed}
+{ pubmed empty$
+ { "" }
+ { pubmedprefix pubmed * pubmedurl pubmed * make.href }
+ if$
+}
+
+% Output a URL. We can't use the more normal idiom (something like
+% `format.url output'), because the `inbrackets' within
+% format.lastchecked applies to everything between calls to `output',
+% so that `format.url format.lastchecked * output' ends up with both
+% the URL and the lastchecked in brackets.
+FUNCTION {output.url}
+{ url empty$
+ 'skip$
+ { new.block
+ format.url output
+ format.lastchecked output
+ }
+ if$
+}
+
+FUNCTION {output.web.refs}
+{
+ new.block
+ output.url
+ addeprints eprint empty$ not and
+ { format.eprint output.nonnull }
+ 'skip$
+ if$
+ adddoiresolver doi empty$ not and
+ { format.doi output.nonnull }
+ 'skip$
+ if$
+ addpubmedresolver pubmed empty$ not and
+ { format.pubmed output.nonnull }
+ 'skip$
+ if$
+}
+
+% Wrapper for output.bibitem.original.
+% If the URL field is not empty, set makeinlinelink to be true,
+% so that an inline link will be started at the next opportunity
+FUNCTION {output.bibitem}
+{ outside.brackets 'bracket.state :=
+ output.bibitem.original
+ inlinelinks url empty$ not and
+ { #1 'makeinlinelink := }
+ { #0 'makeinlinelink := }
+ if$
+}
+
+% Wrapper for fin.entry.original
+FUNCTION {fin.entry}
+{ output.web.refs % urlbst
+ makeinlinelink % ooops, it appears we didn't have a title for inlinelink
+ { possibly.setup.inlinelink % add some artificial link text here, as a fallback
+ "[link]" output.nonnull }
+ 'skip$
+ if$
+ bracket.state close.brackets = % urlbst
+ { "]" * }
+ 'skip$
+ if$
+ fin.entry.original
+}
+
+% Webpage entry type.
+% Title and url fields required;
+% author, note, year, month, and lastchecked fields optional
+% See references
+% ISO 690-2 http://www.nlc-bnc.ca/iso/tc46sc9/standard/690-2e.htm
+% http://www.classroom.net/classroom/CitingNetResources.html
+% http://neal.ctstateu.edu/history/cite.html
+% http://www.cas.usf.edu/english/walker/mla.html
+% for citation formats for web pages.
+FUNCTION {webpage}
+{ output.bibitem
+ author empty$
+ { editor empty$
+ 'skip$ % author and editor both optional
+ { format.editors output.nonnull }
+ if$
+ }
+ { editor empty$
+ { format.authors output.nonnull }
+ { "can't use both author and editor fields in " cite$ * warning$ }
+ if$
+ }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$
+ format.title "title" output.check
+ inbrackets "online" output
+ new.block
+ year empty$
+ 'skip$
+ { format.date "year" output.check }
+ if$
+ % We don't need to output the URL details ('lastchecked' and 'url'),
+ % because fin.entry does that for us, using output.web.refs. The only
+ % reason we would want to put them here is if we were to decide that
+ % they should go in front of the rather miscellaneous information in 'note'.
+ new.block
+ note output
+ fin.entry
+}
+% ...urlbst to here
+
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ possibly.setup.inlinelink format.vol.num.pages output% urlbst
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Programming"}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Gr."}
+
+MACRO {toms} {"ACM Trans. Math. Softw."}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "<dl>" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.urlbst.variables}
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "</dl>" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/bibhtml/alphahtml.bst b/biblio/bibtex/contrib/bibhtml/alphahtml.bst
new file mode 100644
index 0000000000..dab6362bbd
--- /dev/null
+++ b/biblio/bibtex/contrib/bibhtml/alphahtml.bst
@@ -0,0 +1,1565 @@
+%% alphahtml.bst
+%%
+%% Part of bibhtml, version 2.0.2, released 2013 September 8
+%% Hg node 7076ce83a035.
+%% See <http://purl.org/nxg/dist/bibhtml>
+%%
+%% Copyright 1999, 2005, 2006, 2009, Norman Gray <norman@astro.gla.ac.uk>
+%%
+%% This is a modification of a modification!
+%%
+%%% Modification of BibTeX style file /usr/local/texlive/2008/texmf-dist/bibtex/bst/base/alpha.bst
+%%% ... by urlbst, version 0.6-4 (marked with "% urlbst")
+%%% See <http://purl.org/nxg/dist/urlbst>
+%%% Added webpage entry type, and url and lastchecked fields.
+%%% Added eprint support.
+%%% Added DOI support.
+%%% Added PUBMED support.
+%%% Added hyperref support.
+%%% Original headers follow...
+
+% BibTeX standard bibliography style `alpha'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ eprint % urlbst
+ doi % urlbst
+ pubmed % urlbst
+ url % urlbst
+ lastchecked % urlbst
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block doiform }
+
+STRINGS { urlintro eprinturl eprintprefix doiprefix doiurl pubmedprefix pubmedurl openinlinelink closeinlinelink } % urlbst...
+INTEGERS { inlinelinks makeinlinelink addeprints adddoiresolver addpubmedresolver }
+% Following constants may be adjusted by hand, if desired
+FUNCTION {init.urlbst.variables}
+{
+ "Available from: " 'urlintro := % prefix before URL
+ "http://arxiv.org/abs/" 'eprinturl := % prefix to make URL from eprint ref
+ "arXiv:" 'eprintprefix := % text prefix printed before eprint ref
+ "http://dx.doi.org/" 'doiurl := % prefix to make URL from DOI
+ "doi:" 'doiprefix := % text prefix printed before DOI ref
+ "http://www.ncbi.nlm.nih.gov/pubmed/" 'pubmedurl := % prefix to make URL from PUBMED
+ "PMID:" 'pubmedprefix := % text prefix printed before PUBMED ref
+ #1 'addeprints := % 0=no eprints; 1=include eprints
+ #1 'adddoiresolver := % 0=no DOI resolver; 1=include it
+ #1 'addpubmedresolver := % 0=no PUBMED resolver; 1=include it
+ #1 'inlinelinks := % 0=URLs explicit; 1=URLs attached to titles
+ #1 'doiform := % 0=simple, but can produce invalid HTML; 1=needs post-processing
+ % the following are internal state variables, not config constants
+ #0 'makeinlinelink := % state variable managed by possibly.setup.inlinelink
+ "" 'openinlinelink := % ditto
+ "" 'closeinlinelink := % ditto
+}
+INTEGERS {
+ bracket.state
+ outside.brackets
+ open.brackets
+ within.brackets
+ close.brackets
+ close.first.block
+}
+% ...urlbst to here
+FUNCTION {init.state.consts}
+{ #0 'outside.brackets := % urlbst
+ #1 'open.brackets :=
+ #2 'within.brackets :=
+ #3 'close.brackets :=
+
+ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #0 'close.first.block :=
+}
+
+STRINGS { s t }
+
+% urlbst
+FUNCTION {output.nonnull.original}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ % close the <dt> after the end of the first block
+ close.first.block
+ { "</a></dt>" write$ newline$ "<dd>" write$
+ #0 'close.first.block := }
+ { newline$ }
+ if$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+% urlbst...
+% The following three functions are for handling inlinelink. They wrap
+% a block of text which is potentially output with write$ by multiple
+% other functions, so we don't know the content a priori.
+% They communicate between each other using the variables makeinlinelink
+% (which is true if a link should be made), and closeinlinelink (which holds
+% the string which should close any current link. They can be called
+% at any time, but start.inlinelink will be a no-op unless something has
+% previously set makeinlinelink true, and the two ...end.inlinelink functions
+% will only do their stuff if start.inlinelink has previously set
+% closeinlinelink to be non-empty.
+FUNCTION {possibly.setup.inlinelink}
+{ makeinlinelink
+ { "<a href=" quote$ * url * quote$ * ">" * 'openinlinelink :=
+ "</a>" 'closeinlinelink :=
+ #0 'makeinlinelink := }
+ 'skip$
+ if$ % makeinlinelink
+}
+FUNCTION {add.inlinelink}
+{ openinlinelink empty$
+ 'skip$
+ { openinlinelink swap$ * closeinlinelink *
+ "" 'openinlinelink :=
+ }
+ if$
+}
+FUNCTION {output.nonnull}
+{ % Save the thing we've been asked to output
+ 's :=
+ % If the bracket-state is close.brackets, then add a close-bracket to
+ % what is currently at the top of the stack, and set bracket.state
+ % to outside.brackets
+ bracket.state close.brackets =
+ { "]" *
+ outside.brackets 'bracket.state :=
+ }
+ 'skip$
+ if$
+ bracket.state outside.brackets =
+ { % We're outside all brackets -- this is the normal situation.
+ % Write out what's currently at the top of the stack, using the
+ % original output.nonnull function.
+ s
+ add.inlinelink
+ output.nonnull.original % invoke the original output.nonnull
+ }
+ { % Still in brackets. Add open-bracket or (continuation) comma, add the
+ % new text (in s) to the top of the stack, and move to the close-brackets
+ % state, ready for next time (unless inbrackets resets it). If we come
+ % into this branch, then output.state is carefully undisturbed.
+ bracket.state open.brackets =
+ { " [" * }
+ { ", " * } % bracket.state will be within.brackets
+ if$
+ s *
+ close.brackets 'bracket.state :=
+ }
+ if$
+}
+
+% Call this function just before adding something which should be presented in
+% brackets. bracket.state is handled specially within output.nonnull.
+FUNCTION {inbrackets}
+{ bracket.state close.brackets =
+ { within.brackets 'bracket.state := } % reset the state: not open nor closed
+ { open.brackets 'bracket.state := }
+ if$
+}
+
+FUNCTION {format.lastchecked}
+{ lastchecked empty$
+ { "" }
+ { inbrackets "cited " lastchecked * }
+ if$
+}
+% ...urlbst to here
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem.original}
+{ newline$
+ "<dt><a name='" write$
+ cite$ write$
+ "'>[" cite$ * "] " * write$
+ % the <dt> is closed within output.nonnull, as long as close.first.block is true
+ #1 'close.first.block :=
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry.original}
+{ add.period$ "</dd>" *
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<em>" swap$ * "</em>" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " <span class='cite'>" * crossref * "</span>" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "<em>" * series * "</em>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " <span class='cite'>" * crossref * "</span>" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In <em>" booktitle * "</em>" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " <span class='cite'>" * crossref * "</span>" *
+}
+
+% urlbst...
+% Functions for making hypertext links.
+FUNCTION {make.href}
+{
+ "<a href='" swap$ * "'><code>" * swap$ * "</code></a>" *
+}
+
+% If inlinelinks is true, then format.url should be a no-op, since it's
+% (a) redundant, and (b) could end up as a link-within-a-link.
+FUNCTION {format.url}
+{ inlinelinks #1 = url empty$ or
+ { "" }
+ { urlintro "<code>" * url * "</code>" * }
+ if$
+}
+
+FUNCTION {format.eprint}
+{ eprint empty$
+ { "" }
+ { eprintprefix eprint * eprinturl eprint * make.href }
+ if$
+}
+
+FUNCTION {format.doi}
+{ doi empty$
+ { "" }
+ { doiform #0 =
+ { doiprefix doi * doiurl doi * make.href }
+ { "DOI:{" doi * "}" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pubmed}
+{ pubmed empty$
+ { "" }
+ { pubmedprefix pubmed * pubmedurl pubmed * make.href }
+ if$
+}
+
+% Output a URL. We can't use the more normal idiom (something like
+% `format.url output'), because the `inbrackets' within
+% format.lastchecked applies to everything between calls to `output',
+% so that `format.url format.lastchecked * output' ends up with both
+% the URL and the lastchecked in brackets.
+FUNCTION {output.url}
+{ url empty$
+ 'skip$
+ { new.block
+ format.url output
+ format.lastchecked output
+ }
+ if$
+}
+
+FUNCTION {output.web.refs}
+{
+ new.block
+ output.url
+ addeprints eprint empty$ not and
+ { format.eprint output.nonnull }
+ 'skip$
+ if$
+ adddoiresolver doi empty$ not and
+ { format.doi output.nonnull }
+ 'skip$
+ if$
+ addpubmedresolver pubmed empty$ not and
+ { format.pubmed output.nonnull }
+ 'skip$
+ if$
+}
+
+% Wrapper for output.bibitem.original.
+% If the URL field is not empty, set makeinlinelink to be true,
+% so that an inline link will be started at the next opportunity
+FUNCTION {output.bibitem}
+{ outside.brackets 'bracket.state :=
+ output.bibitem.original
+ inlinelinks url empty$ not and
+ { #1 'makeinlinelink := }
+ { #0 'makeinlinelink := }
+ if$
+}
+
+% Wrapper for fin.entry.original
+FUNCTION {fin.entry}
+{ output.web.refs % urlbst
+ makeinlinelink % ooops, it appears we didn't have a title for inlinelink
+ { possibly.setup.inlinelink % add some artificial link text here, as a fallback
+ "[link]" output.nonnull }
+ 'skip$
+ if$
+ bracket.state close.brackets = % urlbst
+ { "]" * }
+ 'skip$
+ if$
+ fin.entry.original
+}
+
+% Webpage entry type.
+% Title and url fields required;
+% author, note, year, month, and lastchecked fields optional
+% See references
+% ISO 690-2 http://www.nlc-bnc.ca/iso/tc46sc9/standard/690-2e.htm
+% http://www.classroom.net/classroom/CitingNetResources.html
+% http://neal.ctstateu.edu/history/cite.html
+% http://www.cas.usf.edu/english/walker/mla.html
+% for citation formats for web pages.
+FUNCTION {webpage}
+{ output.bibitem
+ author empty$
+ { editor empty$
+ 'skip$ % author and editor both optional
+ { format.editors output.nonnull }
+ if$
+ }
+ { editor empty$
+ { format.authors output.nonnull }
+ { "can't use both author and editor fields in " cite$ * warning$ }
+ if$
+ }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$
+ format.title "title" output.check
+ inbrackets "online" output
+ new.block
+ year empty$
+ 'skip$
+ { format.date "year" output.check }
+ if$
+ % We don't need to output the URL details ('lastchecked' and 'url'),
+ % because fin.entry does that for us, using output.web.refs. The only
+ % reason we would want to put them here is if we were to decide that
+ % they should go in front of the rather miscellaneous information in 'note'.
+ new.block
+ note output
+ fin.entry
+}
+% ...urlbst to here
+
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ possibly.setup.inlinelink format.vol.num.pages output% urlbst
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ year field.or.null purify$ #-1 #2 substring$
+ *
+ 'label :=
+ year field.or.null purify$ #-1 #4 substring$
+ *
+ sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label %EDIT2
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+%%% XXX The macro \etalchar is generated in function format.lab.names.
+%%% I have no idea what format.lab.names does,
+%%% and it doesn't seem to do anything in my test cases.
+%%% However the \etalchar definition messes up the HTML output,
+%%% so I'll simply skip that for now...
+FUNCTION {begin.bib}
+{ %et.al.char.used
+ % { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+ % 'skip$
+ %if$
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "<dl>" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.urlbst.variables}
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "</dl>" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/bibhtml/alphahtmldate.bst b/biblio/bibtex/contrib/bibhtml/alphahtmldate.bst
new file mode 100644
index 0000000000..21597aeffb
--- /dev/null
+++ b/biblio/bibtex/contrib/bibhtml/alphahtmldate.bst
@@ -0,0 +1,1362 @@
+%%
+%% DO NOT EDIT
+%%
+%% This is alphahtmldate.bst, edited from alphahtml.bst by alphahtmldate.sed
+%%
+%% alphahtml.bst
+%%
+%% Part of bibhtml, version 2.0.2, released 2013 September 8
+%% Hg node 7076ce83a035.
+%% See <http://purl.org/nxg/dist/bibhtml>
+%%
+%% Copyright 1999, 2005, 2006, 2009, Norman Gray <norman@astro.gla.ac.uk>
+%%
+%% This is a modification of a modification!
+%%
+%%% Modification of BibTeX style file /usr/local/texlive/2008/texmf-dist/bibtex/bst/base/alpha.bst
+%%% ... by urlbst, version 0.6-4 (marked with "% urlbst")
+%%% See <http://purl.org/nxg/dist/urlbst>
+%%% Added webpage entry type, and url and lastchecked fields.
+%%% Added eprint support.
+%%% Added DOI support.
+%%% Added PUBMED support.
+%%% Added hyperref support.
+%%% Original headers follow...
+ENTRY
+{ address
+author
+booktitle
+chapter
+edition
+editor
+howpublished
+institution
+journal
+key
+month
+note
+number
+organization
+pages
+publisher
+school
+series
+title
+type
+volume
+year
+eprint % urlbst
+doi % urlbst
+pubmed % urlbst
+url % urlbst
+lastchecked % urlbst
+}
+{}
+{ label extra.label sort.label }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block doiform }
+STRINGS { urlintro eprinturl eprintprefix doiprefix doiurl pubmedprefix pubmedurl openinlinelink closeinlinelink } % urlbst...
+INTEGERS { inlinelinks makeinlinelink addeprints adddoiresolver addpubmedresolver }
+FUNCTION {init.urlbst.variables}
+{
+"Available from: " 'urlintro := % prefix before URL
+"http://arxiv.org/abs/" 'eprinturl := % prefix to make URL from eprint ref
+"arXiv:" 'eprintprefix := % text prefix printed before eprint ref
+"http://dx.doi.org/" 'doiurl := % prefix to make URL from DOI
+"doi:" 'doiprefix := % text prefix printed before DOI ref
+"http://www.ncbi.nlm.nih.gov/pubmed/" 'pubmedurl := % prefix to make URL from PUBMED
+"PMID:" 'pubmedprefix := % text prefix printed before PUBMED ref
+#1 'addeprints := % 0=no eprints; 1=include eprints
+#1 'adddoiresolver := % 0=no DOI resolver; 1=include it
+#1 'addpubmedresolver := % 0=no PUBMED resolver; 1=include it
+#1 'inlinelinks := % 0=URLs explicit; 1=URLs attached to titles
+#1 'doiform := % 0=simple, but can produce invalid HTML; 1=needs post-processing
+#0 'makeinlinelink := % state variable managed by possibly.setup.inlinelink
+"" 'openinlinelink := % ditto
+"" 'closeinlinelink := % ditto
+}
+INTEGERS {
+bracket.state
+outside.brackets
+open.brackets
+within.brackets
+close.brackets
+close.first.block
+}
+FUNCTION {init.state.consts}
+{ #0 'outside.brackets := % urlbst
+#1 'open.brackets :=
+#2 'within.brackets :=
+#3 'close.brackets :=
+#0 'before.all :=
+#1 'mid.sentence :=
+#2 'after.sentence :=
+#3 'after.block :=
+#0 'close.first.block :=
+}
+STRINGS { s t }
+FUNCTION {output.nonnull.original}
+{ 's :=
+output.state mid.sentence =
+{ ", " * write$ }
+{ output.state after.block =
+{ add.period$ write$
+close.first.block
+{ "</a></dt>" write$ newline$ "<dd>" write$
+#0 'close.first.block := }
+{ newline$ }
+if$
+}
+{ output.state before.all =
+'write$
+{ add.period$ " " * write$ }
+if$
+}
+if$
+mid.sentence 'output.state :=
+}
+if$
+s
+}
+FUNCTION {possibly.setup.inlinelink}
+{ makeinlinelink
+{ "<a href=" quote$ * url * quote$ * ">" * 'openinlinelink :=
+"</a>" 'closeinlinelink :=
+#0 'makeinlinelink := }
+'skip$
+if$ % makeinlinelink
+}
+FUNCTION {add.inlinelink}
+{ openinlinelink empty$
+'skip$
+{ openinlinelink swap$ * closeinlinelink *
+"" 'openinlinelink :=
+}
+if$
+}
+FUNCTION {output.nonnull}
+{ % Save the thing we've been asked to output
+'s :=
+bracket.state close.brackets =
+{ "]" *
+outside.brackets 'bracket.state :=
+}
+'skip$
+if$
+bracket.state outside.brackets =
+{ % We're outside all brackets -- this is the normal situation.
+s
+add.inlinelink
+output.nonnull.original % invoke the original output.nonnull
+}
+{ % Still in brackets. Add open-bracket or (continuation) comma, add the
+bracket.state open.brackets =
+{ " [" * }
+{ ", " * } % bracket.state will be within.brackets
+if$
+s *
+close.brackets 'bracket.state :=
+}
+if$
+}
+FUNCTION {inbrackets}
+{ bracket.state close.brackets =
+{ within.brackets 'bracket.state := } % reset the state: not open nor closed
+{ open.brackets 'bracket.state := }
+if$
+}
+FUNCTION {format.lastchecked}
+{ lastchecked empty$
+{ "" }
+{ inbrackets "cited " lastchecked * }
+if$
+}
+FUNCTION {output}
+{ duplicate$ empty$
+'pop$
+'output.nonnull
+if$
+}
+FUNCTION {output.check}
+{ 't :=
+duplicate$ empty$
+{ pop$ "empty " t * " in " * cite$ * warning$ }
+'output.nonnull
+if$
+}
+FUNCTION {output.bibitem.original}
+{ newline$
+"<dt><a name='" write$
+cite$ write$
+"'>[" cite$ * "] " * write$
+#1 'close.first.block :=
+newline$
+""
+before.all 'output.state :=
+}
+FUNCTION {fin.entry.original}
+{ add.period$ "</dd>" *
+write$
+newline$
+}
+FUNCTION {new.block}
+{ output.state before.all =
+'skip$
+{ after.block 'output.state := }
+if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+'skip$
+{ output.state before.all =
+'skip$
+{ after.sentence 'output.state := }
+if$
+}
+if$
+}
+FUNCTION {not}
+{ { #0 }
+{ #1 }
+if$
+}
+FUNCTION {and}
+{ 'skip$
+{ pop$ #0 }
+if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+'skip$
+if$
+}
+FUNCTION {new.block.checka}
+{ empty$
+'skip$
+'new.block
+if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.block
+if$
+}
+FUNCTION {new.sentence.checka}
+{ empty$
+'skip$
+'new.sentence
+if$
+}
+FUNCTION {new.sentence.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.sentence
+if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+{ pop$ "" }
+'skip$
+if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "<em>" swap$ * "</em>" * }
+if$
+}
+INTEGERS { nameptr namesleft numnames }
+FUNCTION {format.names}
+{ 's :=
+#1 'nameptr :=
+s num.names$ 'numnames :=
+numnames 'namesleft :=
+{ namesleft #0 > }
+{ s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+nameptr #1 >
+{ namesleft #1 >
+{ ", " * t * }
+{ numnames #2 >
+{ "," * }
+'skip$
+if$
+t "others" =
+{ " et~al." * }
+{ " and " * t * }
+if$
+}
+if$
+}
+'t
+if$
+nameptr #1 + 'nameptr :=
+namesleft #1 - 'namesleft :=
+}
+while$
+}
+FUNCTION {format.authors}
+{ author empty$
+{ "" }
+{ author format.names }
+if$
+}
+FUNCTION {format.editors}
+{ editor empty$
+{ "" }
+{ editor format.names
+editor num.names$ #1 >
+{ ", editors" * }
+{ ", editor" * }
+if$
+}
+if$
+}
+FUNCTION {format.title}
+{ title empty$
+{ "" }
+{ title "t" change.case$ }
+if$
+}
+FUNCTION {n.dashify}
+{ 't :=
+""
+{ t empty$ not }
+{ t #1 #1 substring$ "-" =
+{ t #1 #2 substring$ "--" = not
+{ "--" *
+t #2 global.max$ substring$ 't :=
+}
+{ { t #1 #1 substring$ "-" = }
+{ "-" *
+t #2 global.max$ substring$ 't :=
+}
+while$
+}
+if$
+}
+{ t #1 #1 substring$ *
+t #2 global.max$ substring$ 't :=
+}
+if$
+}
+while$
+}
+FUNCTION {format.date}
+{ year empty$
+{ month empty$
+{ "" }
+{ "there's a month but no year in " cite$ * warning$
+month
+}
+if$
+}
+{ month empty$
+'year
+{ month " " * year * }
+if$
+}
+if$
+}
+FUNCTION {format.btitle}
+{ title emphasize
+}
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+{ "~" }
+{ " " }
+if$
+swap$ * *
+}
+FUNCTION {either.or.check}
+{ empty$
+'pop$
+{ "can't use both " swap$ * " fields in " * cite$ * warning$ }
+if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+{ "" }
+{ "volume" volume tie.or.space.connect
+series empty$
+'skip$
+{ " of " * series emphasize * }
+if$
+"volume and number" number either.or.check
+}
+if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+{ number empty$
+{ series field.or.null }
+{ output.state mid.sentence =
+{ "number" }
+{ "Number" }
+if$
+number tie.or.space.connect
+series empty$
+{ "there's a number but no series in " cite$ * warning$ }
+{ " in " * series * }
+if$
+}
+if$
+}
+{ "" }
+if$
+}
+FUNCTION {format.edition}
+{ edition empty$
+{ "" }
+{ output.state mid.sentence =
+{ edition "l" change.case$ " edition" * }
+{ edition "t" change.case$ " edition" * }
+if$
+}
+if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+#0 'multiresult :=
+{ multiresult not
+t empty$ not
+and
+}
+{ t #1 #1 substring$
+duplicate$ "-" =
+swap$ duplicate$ "," =
+swap$ "+" =
+or or
+{ #1 'multiresult := }
+{ t #2 global.max$ substring$ 't := }
+if$
+}
+while$
+multiresult
+}
+FUNCTION {format.pages}
+{ pages empty$
+{ "" }
+{ pages multi.page.check
+{ "pages" pages n.dashify tie.or.space.connect }
+{ "page" pages tie.or.space.connect }
+if$
+}
+if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+number empty$
+'skip$
+{ "(" number * ")" * *
+volume empty$
+{ "there's a number but no volume in " cite$ * warning$ }
+'skip$
+if$
+}
+if$
+pages empty$
+'skip$
+{ duplicate$ empty$
+{ pop$ format.pages }
+{ ":" * pages n.dashify * }
+if$
+}
+if$
+}
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+'format.pages
+{ type empty$
+{ "chapter" }
+{ type "l" change.case$ }
+if$
+chapter tie.or.space.connect
+pages empty$
+'skip$
+{ ", " * format.pages * }
+if$
+}
+if$
+}
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+{ "" }
+{ editor empty$
+{ "In " booktitle emphasize * }
+{ "In " format.editors * ", " * booktitle emphasize * }
+if$
+}
+if$
+}
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+month empty$ year empty$ note empty$
+and and and and and
+key empty$ not and
+{ "all relevant fields are empty in " cite$ * warning$ }
+'skip$
+if$
+}
+FUNCTION {format.thesis.type}
+{ type empty$
+'skip$
+{ pop$
+type "t" change.case$
+}
+if$
+}
+FUNCTION {format.tr.number}
+{ type empty$
+{ "Technical Report" }
+'type
+if$
+number empty$
+{ "t" change.case$ }
+{ number tie.or.space.connect }
+if$
+}
+FUNCTION {format.article.crossref}
+{ key empty$
+{ journal empty$
+{ "need key or journal for " cite$ * " to crossref " * crossref *
+warning$
+""
+}
+{ "In {\em " journal * "\/}" * }
+if$
+}
+{ "In " key * }
+if$
+" <span class='cite'>" * crossref * "</span>" *
+}
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+editor num.names$ duplicate$
+#2 >
+{ pop$ " et~al." * }
+{ #2 <
+'skip$
+{ editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+{ " et~al." * }
+{ " and " * editor #2 "{vv~}{ll}" format.name$ * }
+if$
+}
+if$
+}
+if$
+}
+FUNCTION {format.book.crossref}
+{ volume empty$
+{ "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+"In "
+}
+{ "Volume" volume tie.or.space.connect
+" of " *
+}
+if$
+editor empty$
+editor field.or.null author field.or.null =
+or
+{ key empty$
+{ series empty$
+{ "need editor, key, or series for " cite$ * " to crossref " *
+crossref * warning$
+"" *
+}
+{ "<em>" * series * "</em>" * }
+if$
+}
+{ key * }
+if$
+}
+{ format.crossref.editor * }
+if$
+" <span class='cite'>" * crossref * "</span>" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+editor field.or.null author field.or.null =
+or
+{ key empty$
+{ booktitle empty$
+{ "need editor, key, or booktitle for " cite$ * " to crossref " *
+crossref * warning$
+""
+}
+{ "In <em>" booktitle * "</em>" * }
+if$
+}
+{ "In " key * }
+if$
+}
+{ "In " format.crossref.editor * }
+if$
+" <span class='cite'>" * crossref * "</span>" *
+}
+FUNCTION {make.href}
+{
+"<a href='" swap$ * "'><code>" * swap$ * "</code></a>" *
+}
+FUNCTION {format.url}
+{ inlinelinks #1 = url empty$ or
+{ "" }
+{ urlintro "<code>" * url * "</code>" * }
+if$
+}
+FUNCTION {format.eprint}
+{ eprint empty$
+{ "" }
+{ eprintprefix eprint * eprinturl eprint * make.href }
+if$
+}
+FUNCTION {format.doi}
+{ doi empty$
+{ "" }
+{ doiform #0 =
+{ doiprefix doi * doiurl doi * make.href }
+{ "DOI:{" doi * "}" * }
+if$
+}
+if$
+}
+FUNCTION {format.pubmed}
+{ pubmed empty$
+{ "" }
+{ pubmedprefix pubmed * pubmedurl pubmed * make.href }
+if$
+}
+FUNCTION {output.url}
+{ url empty$
+'skip$
+{ new.block
+format.url output
+format.lastchecked output
+}
+if$
+}
+FUNCTION {output.web.refs}
+{
+new.block
+output.url
+addeprints eprint empty$ not and
+{ format.eprint output.nonnull }
+'skip$
+if$
+adddoiresolver doi empty$ not and
+{ format.doi output.nonnull }
+'skip$
+if$
+addpubmedresolver pubmed empty$ not and
+{ format.pubmed output.nonnull }
+'skip$
+if$
+}
+FUNCTION {output.bibitem}
+{ outside.brackets 'bracket.state :=
+output.bibitem.original
+inlinelinks url empty$ not and
+{ #1 'makeinlinelink := }
+{ #0 'makeinlinelink := }
+if$
+}
+FUNCTION {fin.entry}
+{ output.web.refs % urlbst
+makeinlinelink % ooops, it appears we didn't have a title for inlinelink
+{ possibly.setup.inlinelink % add some artificial link text here, as a fallback
+"[link]" output.nonnull }
+'skip$
+if$
+bracket.state close.brackets = % urlbst
+{ "]" * }
+'skip$
+if$
+fin.entry.original
+}
+FUNCTION {webpage}
+{ output.bibitem
+author empty$
+{ editor empty$
+'skip$ % author and editor both optional
+{ format.editors output.nonnull }
+if$
+}
+{ editor empty$
+{ format.authors output.nonnull }
+{ "can't use both author and editor fields in " cite$ * warning$ }
+if$
+}
+if$
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$
+format.title "title" output.check
+inbrackets "online" output
+new.block
+year empty$
+'skip$
+{ format.date "year" output.check }
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {article}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.title "title" output.check
+new.block
+crossref missing$
+{ journal emphasize "journal" output.check
+possibly.setup.inlinelink format.vol.num.pages output% urlbst
+format.date "year" output.check
+}
+{ format.article.crossref output.nonnull
+format.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+author empty$
+{ format.editors "author and editor" output.check }
+{ format.authors output.nonnull
+crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+if$
+}
+if$
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.btitle "title" output.check
+crossref missing$
+{ format.bvolume output
+new.block
+format.number.series output
+new.sentence
+publisher "publisher" output.check
+address output
+}
+{ new.block
+format.book.crossref output.nonnull
+}
+if$
+format.edition output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+format.authors output
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.title "title" output.check
+howpublished address new.block.checkb
+howpublished output
+address output
+format.date output
+new.block
+note output
+fin.entry
+}
+FUNCTION {inbook}
+{ output.bibitem
+author empty$
+{ format.editors "author and editor" output.check }
+{ format.authors output.nonnull
+crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+if$
+}
+if$
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.btitle "title" output.check
+crossref missing$
+{ format.bvolume output
+format.chapter.pages "chapter and pages" output.check
+new.block
+format.number.series output
+new.sentence
+publisher "publisher" output.check
+address output
+}
+{ format.chapter.pages "chapter and pages" output.check
+new.block
+format.book.crossref output.nonnull
+}
+if$
+format.edition output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {incollection}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.title "title" output.check
+new.block
+crossref missing$
+{ format.in.ed.booktitle "booktitle" output.check
+format.bvolume output
+format.number.series output
+format.chapter.pages output
+new.sentence
+publisher "publisher" output.check
+address output
+format.edition output
+format.date "year" output.check
+}
+{ format.incoll.inproc.crossref output.nonnull
+format.chapter.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.title "title" output.check
+new.block
+crossref missing$
+{ format.in.ed.booktitle "booktitle" output.check
+format.bvolume output
+format.number.series output
+format.pages output
+address empty$
+{ organization publisher new.sentence.checkb
+organization output
+publisher output
+format.date "year" output.check
+}
+{ address output.nonnull
+format.date "year" output.check
+new.sentence
+organization output
+publisher output
+}
+if$
+}
+{ format.incoll.inproc.crossref output.nonnull
+format.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+author empty$
+{ organization empty$
+'skip$
+{ organization output.nonnull
+address output
+}
+if$
+}
+{ format.authors output.nonnull }
+if$
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.btitle "title" output.check
+author empty$
+{ organization empty$
+{ address new.block.checka
+address output
+}
+'skip$
+if$
+}
+{ organization address new.block.checkb
+organization output
+address output
+}
+if$
+format.edition output
+format.date output
+new.block
+note output
+fin.entry
+}
+FUNCTION {mastersthesis}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.title "title" output.check
+new.block
+"Master's thesis" format.thesis.type output.nonnull
+school "school" output.check
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {misc}
+{ output.bibitem
+format.authors output
+title howpublished new.block.checkb
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.title output
+howpublished new.block.checka
+howpublished output
+format.date output
+new.block
+note output
+fin.entry
+empty.misc.check
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.btitle "title" output.check
+new.block
+"PhD thesis" format.thesis.type output.nonnull
+school "school" output.check
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {proceedings}
+{ output.bibitem
+editor empty$
+{ organization output }
+{ format.editors output.nonnull }
+if$
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.btitle "title" output.check
+format.bvolume output
+format.number.series output
+address empty$
+{ editor empty$
+{ publisher new.sentence.checka }
+{ organization publisher new.sentence.checkb
+organization output
+}
+if$
+publisher output
+format.date "year" output.check
+}
+{ address output.nonnull
+format.date "year" output.check
+new.sentence
+editor empty$
+'skip$
+{ organization output }
+if$
+publisher output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {techreport}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.title "title" output.check
+new.block
+format.tr.number output.nonnull
+institution "institution" output.check
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {unpublished}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.title "title" output.check
+new.block
+note "note" output.check
+format.date output
+fin.entry
+}
+FUNCTION {default.type} { misc }
+MACRO {jan} {"January"}
+MACRO {feb} {"February"}
+MACRO {mar} {"March"}
+MACRO {apr} {"April"}
+MACRO {may} {"May"}
+MACRO {jun} {"June"}
+MACRO {jul} {"July"}
+MACRO {aug} {"August"}
+MACRO {sep} {"September"}
+MACRO {oct} {"October"}
+MACRO {nov} {"November"}
+MACRO {dec} {"December"}
+MACRO {acmcs} {"ACM Computing Surveys"}
+MACRO {acta} {"Acta Informatica"}
+MACRO {cacm} {"Communications of the ACM"}
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+MACRO {ibmsj} {"IBM Systems Journal"}
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+MACRO {ieeetcad}
+{"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+MACRO {ipl} {"Information Processing Letters"}
+MACRO {jacm} {"Journal of the ACM"}
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+MACRO {scp} {"Science of Computer Programming"}
+MACRO {sicomp} {"SIAM Journal on Computing"}
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+MACRO {tods} {"ACM Transactions on Database Systems"}
+MACRO {tog} {"ACM Transactions on Graphics"}
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+MACRO {tcs} {"Theoretical Computer Science"}
+READ
+FUNCTION {sortify}
+{ purify$
+"l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+'len :=
+s #1 len substring$ =
+{ s len #1 + global.max$ substring$ }
+'s
+if$
+}
+INTEGERS { et.al.char.used }
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+EXECUTE {initialize.et.al.char.used}
+FUNCTION {format.lab.names}
+{ 's :=
+s num.names$ 'numnames :=
+numnames #1 >
+{ numnames #4 >
+{ #3 'namesleft := }
+{ numnames 'namesleft := }
+if$
+#1 'nameptr :=
+""
+{ namesleft #0 > }
+{ nameptr numnames =
+{ s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+{ "{\etalchar{+}}" *
+#1 'et.al.char.used :=
+}
+{ s nameptr "{v{}}{l{}}" format.name$ * }
+if$
+}
+{ s nameptr "{v{}}{l{}}" format.name$ * }
+if$
+nameptr #1 + 'nameptr :=
+namesleft #1 - 'namesleft :=
+}
+while$
+numnames #4 >
+{ "{\etalchar{+}}" *
+#1 'et.al.char.used :=
+}
+'skip$
+if$
+}
+{ s #1 "{v{}}{l{}}" format.name$
+duplicate$ text.length$ #2 <
+{ pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+'skip$
+if$
+}
+if$
+}
+FUNCTION {author.key.label}
+{ author empty$
+{ key empty$
+{ cite$ #1 #3 substring$ }
+{ key #3 text.prefix$ }
+if$
+}
+{ author format.lab.names }
+if$
+}
+FUNCTION {author.editor.key.label}
+{ author empty$
+{ editor empty$
+{ key empty$
+{ cite$ #1 #3 substring$ }
+{ key #3 text.prefix$ }
+if$
+}
+{ editor format.lab.names }
+if$
+}
+{ author format.lab.names }
+if$
+}
+FUNCTION {author.key.organization.label}
+{ author empty$
+{ key empty$
+{ organization empty$
+{ cite$ #1 #3 substring$ }
+{ "The " #4 organization chop.word #3 text.prefix$ }
+if$
+}
+{ key #3 text.prefix$ }
+if$
+}
+{ author format.lab.names }
+if$
+}
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+{ key empty$
+{ organization empty$
+{ cite$ #1 #3 substring$ }
+{ "The " #4 organization chop.word #3 text.prefix$ }
+if$
+}
+{ key #3 text.prefix$ }
+if$
+}
+{ editor format.lab.names }
+if$
+}
+FUNCTION {calc.label}
+{ type$ "book" =
+type$ "inbook" =
+or
+'author.editor.key.label
+{ type$ "proceedings" =
+'editor.key.organization.label
+{ type$ "manual" =
+'author.key.organization.label
+'author.key.label
+if$
+}
+if$
+}
+if$
+duplicate$
+year field.or.null purify$ #-1 #2 substring$
+*
+'label :=
+year field.or.null purify$ #-1 #4 substring$
+*
+sortify 'sort.label :=
+}
+FUNCTION {sort.format.names}
+{ 's :=
+#1 'nameptr :=
+""
+s num.names$ 'numnames :=
+numnames 'namesleft :=
+{ namesleft #0 > }
+{ nameptr #1 >
+{ " " * }
+'skip$
+if$
+s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+nameptr numnames = t "others" = and
+{ "et al" * }
+{ t sortify * }
+if$
+nameptr #1 + 'nameptr :=
+namesleft #1 - 'namesleft :=
+}
+while$
+}
+FUNCTION {sort.format.title}
+{ 't :=
+"A " #2
+"An " #3
+"The " #4 t chop.word
+chop.word
+chop.word
+sortify
+#1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+{ key empty$
+{ "to sort, need author or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+{ editor empty$
+{ key empty$
+{ "to sort, need author, editor, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ editor sort.format.names }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {author.organization.sort}
+{ author empty$
+{ organization empty$
+{ key empty$
+{ "to sort, need author, organization, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ "The " #4 organization chop.word sortify }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {editor.organization.sort}
+{ editor empty$
+{ organization empty$
+{ key empty$
+{ "to sort, need editor, organization, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ "The " #4 organization chop.word sortify }
+if$
+}
+{ editor sort.format.names }
+if$
+}
+FUNCTION {presort}
+{ calc.label
+ year field.or.null sortify
+ " "
+ *
+ sort.label
+ *
+" "
+*
+type$ "book" =
+type$ "inbook" =
+or
+'author.editor.sort
+{ type$ "proceedings" =
+'editor.organization.sort
+{ type$ "manual" =
+'author.organization.sort
+'author.sort
+if$
+}
+if$
+}
+if$
+*
+" "
+*
+year field.or.null sortify
+*
+" "
+*
+title field.or.null
+sort.format.title
+*
+#1 entry.max$ substring$
+'sort.key$ :=
+}
+ITERATE {presort}
+SORT
+STRINGS { longest.label last.sort.label next.extra }
+INTEGERS { longest.label.width last.extra.num }
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+#0 int.to.chr$ 'last.sort.label :=
+"" 'next.extra :=
+#0 'longest.label.width :=
+#0 'last.extra.num :=
+}
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+{ last.extra.num #1 + 'last.extra.num :=
+last.extra.num int.to.chr$ 'extra.label :=
+}
+{ "a" chr.to.int$ 'last.extra.num :=
+"" 'extra.label :=
+sort.label 'last.sort.label :=
+}
+if$
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+{ "a" 'extra.label := }
+'skip$
+if$
+label extra.label * 'label :=
+label width$ longest.label.width >
+{ label 'longest.label :=
+label width$ 'longest.label.width :=
+}
+'skip$
+if$
+extra.label 'next.extra :=
+}
+EXECUTE {initialize.longest.label}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+%%% XXX The macro \etalchar is generated in function format.lab.names.
+%%% I have no idea what format.lab.names does,
+%%% and it doesn't seem to do anything in my test cases.
+%%% However the \etalchar definition messes up the HTML output,
+%%% so I'll simply skip that for now...
+FUNCTION {begin.bib}
+{ %et.al.char.used
+preamble$ empty$
+'skip$
+{ preamble$ write$ newline$ }
+if$
+"<dl>" write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.urlbst.variables}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+"</dl>" write$ newline$
+}
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/bibhtml/alphahtmldater.bst b/biblio/bibtex/contrib/bibhtml/alphahtmldater.bst
new file mode 100644
index 0000000000..75d0a9feb3
--- /dev/null
+++ b/biblio/bibtex/contrib/bibhtml/alphahtmldater.bst
@@ -0,0 +1,1362 @@
+%%
+%% DO NOT EDIT
+%%
+%% This is alphahtmldater.bst, edited from alphahtml.bst by alphahtmldater.sed
+%%
+%% alphahtml.bst
+%%
+%% Part of bibhtml, version 2.0.2, released 2013 September 8
+%% Hg node 7076ce83a035.
+%% See <http://purl.org/nxg/dist/bibhtml>
+%%
+%% Copyright 1999, 2005, 2006, 2009, Norman Gray <norman@astro.gla.ac.uk>
+%%
+%% This is a modification of a modification!
+%%
+%%% Modification of BibTeX style file /usr/local/texlive/2008/texmf-dist/bibtex/bst/base/alpha.bst
+%%% ... by urlbst, version 0.6-4 (marked with "% urlbst")
+%%% See <http://purl.org/nxg/dist/urlbst>
+%%% Added webpage entry type, and url and lastchecked fields.
+%%% Added eprint support.
+%%% Added DOI support.
+%%% Added PUBMED support.
+%%% Added hyperref support.
+%%% Original headers follow...
+ENTRY
+{ address
+author
+booktitle
+chapter
+edition
+editor
+howpublished
+institution
+journal
+key
+month
+note
+number
+organization
+pages
+publisher
+school
+series
+title
+type
+volume
+year
+eprint % urlbst
+doi % urlbst
+pubmed % urlbst
+url % urlbst
+lastchecked % urlbst
+}
+{}
+{ label extra.label sort.label }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block doiform }
+STRINGS { urlintro eprinturl eprintprefix doiprefix doiurl pubmedprefix pubmedurl openinlinelink closeinlinelink } % urlbst...
+INTEGERS { inlinelinks makeinlinelink addeprints adddoiresolver addpubmedresolver }
+FUNCTION {init.urlbst.variables}
+{
+"Available from: " 'urlintro := % prefix before URL
+"http://arxiv.org/abs/" 'eprinturl := % prefix to make URL from eprint ref
+"arXiv:" 'eprintprefix := % text prefix printed before eprint ref
+"http://dx.doi.org/" 'doiurl := % prefix to make URL from DOI
+"doi:" 'doiprefix := % text prefix printed before DOI ref
+"http://www.ncbi.nlm.nih.gov/pubmed/" 'pubmedurl := % prefix to make URL from PUBMED
+"PMID:" 'pubmedprefix := % text prefix printed before PUBMED ref
+#1 'addeprints := % 0=no eprints; 1=include eprints
+#1 'adddoiresolver := % 0=no DOI resolver; 1=include it
+#1 'addpubmedresolver := % 0=no PUBMED resolver; 1=include it
+#1 'inlinelinks := % 0=URLs explicit; 1=URLs attached to titles
+#1 'doiform := % 0=simple, but can produce invalid HTML; 1=needs post-processing
+#0 'makeinlinelink := % state variable managed by possibly.setup.inlinelink
+"" 'openinlinelink := % ditto
+"" 'closeinlinelink := % ditto
+}
+INTEGERS {
+bracket.state
+outside.brackets
+open.brackets
+within.brackets
+close.brackets
+close.first.block
+}
+FUNCTION {init.state.consts}
+{ #0 'outside.brackets := % urlbst
+#1 'open.brackets :=
+#2 'within.brackets :=
+#3 'close.brackets :=
+#0 'before.all :=
+#1 'mid.sentence :=
+#2 'after.sentence :=
+#3 'after.block :=
+#0 'close.first.block :=
+}
+STRINGS { s t }
+FUNCTION {output.nonnull.original}
+{ 's :=
+output.state mid.sentence =
+{ ", " * write$ }
+{ output.state after.block =
+{ add.period$ write$
+close.first.block
+{ "</a></dt>" write$ newline$ "<dd>" write$
+#0 'close.first.block := }
+{ newline$ }
+if$
+}
+{ output.state before.all =
+'write$
+{ add.period$ " " * write$ }
+if$
+}
+if$
+mid.sentence 'output.state :=
+}
+if$
+s
+}
+FUNCTION {possibly.setup.inlinelink}
+{ makeinlinelink
+{ "<a href=" quote$ * url * quote$ * ">" * 'openinlinelink :=
+"</a>" 'closeinlinelink :=
+#0 'makeinlinelink := }
+'skip$
+if$ % makeinlinelink
+}
+FUNCTION {add.inlinelink}
+{ openinlinelink empty$
+'skip$
+{ openinlinelink swap$ * closeinlinelink *
+"" 'openinlinelink :=
+}
+if$
+}
+FUNCTION {output.nonnull}
+{ % Save the thing we've been asked to output
+'s :=
+bracket.state close.brackets =
+{ "]" *
+outside.brackets 'bracket.state :=
+}
+'skip$
+if$
+bracket.state outside.brackets =
+{ % We're outside all brackets -- this is the normal situation.
+s
+add.inlinelink
+output.nonnull.original % invoke the original output.nonnull
+}
+{ % Still in brackets. Add open-bracket or (continuation) comma, add the
+bracket.state open.brackets =
+{ " [" * }
+{ ", " * } % bracket.state will be within.brackets
+if$
+s *
+close.brackets 'bracket.state :=
+}
+if$
+}
+FUNCTION {inbrackets}
+{ bracket.state close.brackets =
+{ within.brackets 'bracket.state := } % reset the state: not open nor closed
+{ open.brackets 'bracket.state := }
+if$
+}
+FUNCTION {format.lastchecked}
+{ lastchecked empty$
+{ "" }
+{ inbrackets "cited " lastchecked * }
+if$
+}
+FUNCTION {output}
+{ duplicate$ empty$
+'pop$
+'output.nonnull
+if$
+}
+FUNCTION {output.check}
+{ 't :=
+duplicate$ empty$
+{ pop$ "empty " t * " in " * cite$ * warning$ }
+'output.nonnull
+if$
+}
+FUNCTION {output.bibitem.original}
+{ newline$
+"<dt><a name='" write$
+cite$ write$
+"'>[" cite$ * "] " * write$
+#1 'close.first.block :=
+newline$
+""
+before.all 'output.state :=
+}
+FUNCTION {fin.entry.original}
+{ add.period$ "</dd>" *
+write$
+newline$
+}
+FUNCTION {new.block}
+{ output.state before.all =
+'skip$
+{ after.block 'output.state := }
+if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+'skip$
+{ output.state before.all =
+'skip$
+{ after.sentence 'output.state := }
+if$
+}
+if$
+}
+FUNCTION {not}
+{ { #0 }
+{ #1 }
+if$
+}
+FUNCTION {and}
+{ 'skip$
+{ pop$ #0 }
+if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+'skip$
+if$
+}
+FUNCTION {new.block.checka}
+{ empty$
+'skip$
+'new.block
+if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.block
+if$
+}
+FUNCTION {new.sentence.checka}
+{ empty$
+'skip$
+'new.sentence
+if$
+}
+FUNCTION {new.sentence.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.sentence
+if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+{ pop$ "" }
+'skip$
+if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "<em>" swap$ * "</em>" * }
+if$
+}
+INTEGERS { nameptr namesleft numnames }
+FUNCTION {format.names}
+{ 's :=
+#1 'nameptr :=
+s num.names$ 'numnames :=
+numnames 'namesleft :=
+{ namesleft #0 > }
+{ s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+nameptr #1 >
+{ namesleft #1 >
+{ ", " * t * }
+{ numnames #2 >
+{ "," * }
+'skip$
+if$
+t "others" =
+{ " et~al." * }
+{ " and " * t * }
+if$
+}
+if$
+}
+'t
+if$
+nameptr #1 + 'nameptr :=
+namesleft #1 - 'namesleft :=
+}
+while$
+}
+FUNCTION {format.authors}
+{ author empty$
+{ "" }
+{ author format.names }
+if$
+}
+FUNCTION {format.editors}
+{ editor empty$
+{ "" }
+{ editor format.names
+editor num.names$ #1 >
+{ ", editors" * }
+{ ", editor" * }
+if$
+}
+if$
+}
+FUNCTION {format.title}
+{ title empty$
+{ "" }
+{ title "t" change.case$ }
+if$
+}
+FUNCTION {n.dashify}
+{ 't :=
+""
+{ t empty$ not }
+{ t #1 #1 substring$ "-" =
+{ t #1 #2 substring$ "--" = not
+{ "--" *
+t #2 global.max$ substring$ 't :=
+}
+{ { t #1 #1 substring$ "-" = }
+{ "-" *
+t #2 global.max$ substring$ 't :=
+}
+while$
+}
+if$
+}
+{ t #1 #1 substring$ *
+t #2 global.max$ substring$ 't :=
+}
+if$
+}
+while$
+}
+FUNCTION {format.date}
+{ year empty$
+{ month empty$
+{ "" }
+{ "there's a month but no year in " cite$ * warning$
+month
+}
+if$
+}
+{ month empty$
+'year
+{ month " " * year * }
+if$
+}
+if$
+}
+FUNCTION {format.btitle}
+{ title emphasize
+}
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+{ "~" }
+{ " " }
+if$
+swap$ * *
+}
+FUNCTION {either.or.check}
+{ empty$
+'pop$
+{ "can't use both " swap$ * " fields in " * cite$ * warning$ }
+if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+{ "" }
+{ "volume" volume tie.or.space.connect
+series empty$
+'skip$
+{ " of " * series emphasize * }
+if$
+"volume and number" number either.or.check
+}
+if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+{ number empty$
+{ series field.or.null }
+{ output.state mid.sentence =
+{ "number" }
+{ "Number" }
+if$
+number tie.or.space.connect
+series empty$
+{ "there's a number but no series in " cite$ * warning$ }
+{ " in " * series * }
+if$
+}
+if$
+}
+{ "" }
+if$
+}
+FUNCTION {format.edition}
+{ edition empty$
+{ "" }
+{ output.state mid.sentence =
+{ edition "l" change.case$ " edition" * }
+{ edition "t" change.case$ " edition" * }
+if$
+}
+if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+#0 'multiresult :=
+{ multiresult not
+t empty$ not
+and
+}
+{ t #1 #1 substring$
+duplicate$ "-" =
+swap$ duplicate$ "," =
+swap$ "+" =
+or or
+{ #1 'multiresult := }
+{ t #2 global.max$ substring$ 't := }
+if$
+}
+while$
+multiresult
+}
+FUNCTION {format.pages}
+{ pages empty$
+{ "" }
+{ pages multi.page.check
+{ "pages" pages n.dashify tie.or.space.connect }
+{ "page" pages tie.or.space.connect }
+if$
+}
+if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+number empty$
+'skip$
+{ "(" number * ")" * *
+volume empty$
+{ "there's a number but no volume in " cite$ * warning$ }
+'skip$
+if$
+}
+if$
+pages empty$
+'skip$
+{ duplicate$ empty$
+{ pop$ format.pages }
+{ ":" * pages n.dashify * }
+if$
+}
+if$
+}
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+'format.pages
+{ type empty$
+{ "chapter" }
+{ type "l" change.case$ }
+if$
+chapter tie.or.space.connect
+pages empty$
+'skip$
+{ ", " * format.pages * }
+if$
+}
+if$
+}
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+{ "" }
+{ editor empty$
+{ "In " booktitle emphasize * }
+{ "In " format.editors * ", " * booktitle emphasize * }
+if$
+}
+if$
+}
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+month empty$ year empty$ note empty$
+and and and and and
+key empty$ not and
+{ "all relevant fields are empty in " cite$ * warning$ }
+'skip$
+if$
+}
+FUNCTION {format.thesis.type}
+{ type empty$
+'skip$
+{ pop$
+type "t" change.case$
+}
+if$
+}
+FUNCTION {format.tr.number}
+{ type empty$
+{ "Technical Report" }
+'type
+if$
+number empty$
+{ "t" change.case$ }
+{ number tie.or.space.connect }
+if$
+}
+FUNCTION {format.article.crossref}
+{ key empty$
+{ journal empty$
+{ "need key or journal for " cite$ * " to crossref " * crossref *
+warning$
+""
+}
+{ "In {\em " journal * "\/}" * }
+if$
+}
+{ "In " key * }
+if$
+" <span class='cite'>" * crossref * "</span>" *
+}
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+editor num.names$ duplicate$
+#2 >
+{ pop$ " et~al." * }
+{ #2 <
+'skip$
+{ editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+{ " et~al." * }
+{ " and " * editor #2 "{vv~}{ll}" format.name$ * }
+if$
+}
+if$
+}
+if$
+}
+FUNCTION {format.book.crossref}
+{ volume empty$
+{ "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+"In "
+}
+{ "Volume" volume tie.or.space.connect
+" of " *
+}
+if$
+editor empty$
+editor field.or.null author field.or.null =
+or
+{ key empty$
+{ series empty$
+{ "need editor, key, or series for " cite$ * " to crossref " *
+crossref * warning$
+"" *
+}
+{ "<em>" * series * "</em>" * }
+if$
+}
+{ key * }
+if$
+}
+{ format.crossref.editor * }
+if$
+" <span class='cite'>" * crossref * "</span>" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+editor field.or.null author field.or.null =
+or
+{ key empty$
+{ booktitle empty$
+{ "need editor, key, or booktitle for " cite$ * " to crossref " *
+crossref * warning$
+""
+}
+{ "In <em>" booktitle * "</em>" * }
+if$
+}
+{ "In " key * }
+if$
+}
+{ "In " format.crossref.editor * }
+if$
+" <span class='cite'>" * crossref * "</span>" *
+}
+FUNCTION {make.href}
+{
+"<a href='" swap$ * "'><code>" * swap$ * "</code></a>" *
+}
+FUNCTION {format.url}
+{ inlinelinks #1 = url empty$ or
+{ "" }
+{ urlintro "<code>" * url * "</code>" * }
+if$
+}
+FUNCTION {format.eprint}
+{ eprint empty$
+{ "" }
+{ eprintprefix eprint * eprinturl eprint * make.href }
+if$
+}
+FUNCTION {format.doi}
+{ doi empty$
+{ "" }
+{ doiform #0 =
+{ doiprefix doi * doiurl doi * make.href }
+{ "DOI:{" doi * "}" * }
+if$
+}
+if$
+}
+FUNCTION {format.pubmed}
+{ pubmed empty$
+{ "" }
+{ pubmedprefix pubmed * pubmedurl pubmed * make.href }
+if$
+}
+FUNCTION {output.url}
+{ url empty$
+'skip$
+{ new.block
+format.url output
+format.lastchecked output
+}
+if$
+}
+FUNCTION {output.web.refs}
+{
+new.block
+output.url
+addeprints eprint empty$ not and
+{ format.eprint output.nonnull }
+'skip$
+if$
+adddoiresolver doi empty$ not and
+{ format.doi output.nonnull }
+'skip$
+if$
+addpubmedresolver pubmed empty$ not and
+{ format.pubmed output.nonnull }
+'skip$
+if$
+}
+FUNCTION {output.bibitem}
+{ outside.brackets 'bracket.state :=
+output.bibitem.original
+inlinelinks url empty$ not and
+{ #1 'makeinlinelink := }
+{ #0 'makeinlinelink := }
+if$
+}
+FUNCTION {fin.entry}
+{ output.web.refs % urlbst
+makeinlinelink % ooops, it appears we didn't have a title for inlinelink
+{ possibly.setup.inlinelink % add some artificial link text here, as a fallback
+"[link]" output.nonnull }
+'skip$
+if$
+bracket.state close.brackets = % urlbst
+{ "]" * }
+'skip$
+if$
+fin.entry.original
+}
+FUNCTION {webpage}
+{ output.bibitem
+author empty$
+{ editor empty$
+'skip$ % author and editor both optional
+{ format.editors output.nonnull }
+if$
+}
+{ editor empty$
+{ format.authors output.nonnull }
+{ "can't use both author and editor fields in " cite$ * warning$ }
+if$
+}
+if$
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$
+format.title "title" output.check
+inbrackets "online" output
+new.block
+year empty$
+'skip$
+{ format.date "year" output.check }
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {article}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.title "title" output.check
+new.block
+crossref missing$
+{ journal emphasize "journal" output.check
+possibly.setup.inlinelink format.vol.num.pages output% urlbst
+format.date "year" output.check
+}
+{ format.article.crossref output.nonnull
+format.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+author empty$
+{ format.editors "author and editor" output.check }
+{ format.authors output.nonnull
+crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+if$
+}
+if$
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.btitle "title" output.check
+crossref missing$
+{ format.bvolume output
+new.block
+format.number.series output
+new.sentence
+publisher "publisher" output.check
+address output
+}
+{ new.block
+format.book.crossref output.nonnull
+}
+if$
+format.edition output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+format.authors output
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.title "title" output.check
+howpublished address new.block.checkb
+howpublished output
+address output
+format.date output
+new.block
+note output
+fin.entry
+}
+FUNCTION {inbook}
+{ output.bibitem
+author empty$
+{ format.editors "author and editor" output.check }
+{ format.authors output.nonnull
+crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+if$
+}
+if$
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.btitle "title" output.check
+crossref missing$
+{ format.bvolume output
+format.chapter.pages "chapter and pages" output.check
+new.block
+format.number.series output
+new.sentence
+publisher "publisher" output.check
+address output
+}
+{ format.chapter.pages "chapter and pages" output.check
+new.block
+format.book.crossref output.nonnull
+}
+if$
+format.edition output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {incollection}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.title "title" output.check
+new.block
+crossref missing$
+{ format.in.ed.booktitle "booktitle" output.check
+format.bvolume output
+format.number.series output
+format.chapter.pages output
+new.sentence
+publisher "publisher" output.check
+address output
+format.edition output
+format.date "year" output.check
+}
+{ format.incoll.inproc.crossref output.nonnull
+format.chapter.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.title "title" output.check
+new.block
+crossref missing$
+{ format.in.ed.booktitle "booktitle" output.check
+format.bvolume output
+format.number.series output
+format.pages output
+address empty$
+{ organization publisher new.sentence.checkb
+organization output
+publisher output
+format.date "year" output.check
+}
+{ address output.nonnull
+format.date "year" output.check
+new.sentence
+organization output
+publisher output
+}
+if$
+}
+{ format.incoll.inproc.crossref output.nonnull
+format.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+author empty$
+{ organization empty$
+'skip$
+{ organization output.nonnull
+address output
+}
+if$
+}
+{ format.authors output.nonnull }
+if$
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.btitle "title" output.check
+author empty$
+{ organization empty$
+{ address new.block.checka
+address output
+}
+'skip$
+if$
+}
+{ organization address new.block.checkb
+organization output
+address output
+}
+if$
+format.edition output
+format.date output
+new.block
+note output
+fin.entry
+}
+FUNCTION {mastersthesis}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.title "title" output.check
+new.block
+"Master's thesis" format.thesis.type output.nonnull
+school "school" output.check
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {misc}
+{ output.bibitem
+format.authors output
+title howpublished new.block.checkb
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.title output
+howpublished new.block.checka
+howpublished output
+format.date output
+new.block
+note output
+fin.entry
+empty.misc.check
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.btitle "title" output.check
+new.block
+"PhD thesis" format.thesis.type output.nonnull
+school "school" output.check
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {proceedings}
+{ output.bibitem
+editor empty$
+{ organization output }
+{ format.editors output.nonnull }
+if$
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.btitle "title" output.check
+format.bvolume output
+format.number.series output
+address empty$
+{ editor empty$
+{ publisher new.sentence.checka }
+{ organization publisher new.sentence.checkb
+organization output
+}
+if$
+publisher output
+format.date "year" output.check
+}
+{ address output.nonnull
+format.date "year" output.check
+new.sentence
+editor empty$
+'skip$
+{ organization output }
+if$
+publisher output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {techreport}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.title "title" output.check
+new.block
+format.tr.number output.nonnull
+institution "institution" output.check
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {unpublished}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.title "title" output.check
+new.block
+note "note" output.check
+format.date output
+fin.entry
+}
+FUNCTION {default.type} { misc }
+MACRO {jan} {"January"}
+MACRO {feb} {"February"}
+MACRO {mar} {"March"}
+MACRO {apr} {"April"}
+MACRO {may} {"May"}
+MACRO {jun} {"June"}
+MACRO {jul} {"July"}
+MACRO {aug} {"August"}
+MACRO {sep} {"September"}
+MACRO {oct} {"October"}
+MACRO {nov} {"November"}
+MACRO {dec} {"December"}
+MACRO {acmcs} {"ACM Computing Surveys"}
+MACRO {acta} {"Acta Informatica"}
+MACRO {cacm} {"Communications of the ACM"}
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+MACRO {ibmsj} {"IBM Systems Journal"}
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+MACRO {ieeetcad}
+{"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+MACRO {ipl} {"Information Processing Letters"}
+MACRO {jacm} {"Journal of the ACM"}
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+MACRO {scp} {"Science of Computer Programming"}
+MACRO {sicomp} {"SIAM Journal on Computing"}
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+MACRO {tods} {"ACM Transactions on Database Systems"}
+MACRO {tog} {"ACM Transactions on Graphics"}
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+MACRO {tcs} {"Theoretical Computer Science"}
+READ
+FUNCTION {sortify}
+{ purify$
+"l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+'len :=
+s #1 len substring$ =
+{ s len #1 + global.max$ substring$ }
+'s
+if$
+}
+INTEGERS { et.al.char.used }
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+EXECUTE {initialize.et.al.char.used}
+FUNCTION {format.lab.names}
+{ 's :=
+s num.names$ 'numnames :=
+numnames #1 >
+{ numnames #4 >
+{ #3 'namesleft := }
+{ numnames 'namesleft := }
+if$
+#1 'nameptr :=
+""
+{ namesleft #0 > }
+{ nameptr numnames =
+{ s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+{ "{\etalchar{+}}" *
+#1 'et.al.char.used :=
+}
+{ s nameptr "{v{}}{l{}}" format.name$ * }
+if$
+}
+{ s nameptr "{v{}}{l{}}" format.name$ * }
+if$
+nameptr #1 + 'nameptr :=
+namesleft #1 - 'namesleft :=
+}
+while$
+numnames #4 >
+{ "{\etalchar{+}}" *
+#1 'et.al.char.used :=
+}
+'skip$
+if$
+}
+{ s #1 "{v{}}{l{}}" format.name$
+duplicate$ text.length$ #2 <
+{ pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+'skip$
+if$
+}
+if$
+}
+FUNCTION {author.key.label}
+{ author empty$
+{ key empty$
+{ cite$ #1 #3 substring$ }
+{ key #3 text.prefix$ }
+if$
+}
+{ author format.lab.names }
+if$
+}
+FUNCTION {author.editor.key.label}
+{ author empty$
+{ editor empty$
+{ key empty$
+{ cite$ #1 #3 substring$ }
+{ key #3 text.prefix$ }
+if$
+}
+{ editor format.lab.names }
+if$
+}
+{ author format.lab.names }
+if$
+}
+FUNCTION {author.key.organization.label}
+{ author empty$
+{ key empty$
+{ organization empty$
+{ cite$ #1 #3 substring$ }
+{ "The " #4 organization chop.word #3 text.prefix$ }
+if$
+}
+{ key #3 text.prefix$ }
+if$
+}
+{ author format.lab.names }
+if$
+}
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+{ key empty$
+{ organization empty$
+{ cite$ #1 #3 substring$ }
+{ "The " #4 organization chop.word #3 text.prefix$ }
+if$
+}
+{ key #3 text.prefix$ }
+if$
+}
+{ editor format.lab.names }
+if$
+}
+FUNCTION {calc.label}
+{ type$ "book" =
+type$ "inbook" =
+or
+'author.editor.key.label
+{ type$ "proceedings" =
+'editor.key.organization.label
+{ type$ "manual" =
+'author.key.organization.label
+'author.key.label
+if$
+}
+if$
+}
+if$
+duplicate$
+year field.or.null purify$ #-1 #2 substring$
+*
+'label :=
+year field.or.null purify$ #-1 #4 substring$
+*
+sortify 'sort.label :=
+}
+FUNCTION {sort.format.names}
+{ 's :=
+#1 'nameptr :=
+""
+s num.names$ 'numnames :=
+numnames 'namesleft :=
+{ namesleft #0 > }
+{ nameptr #1 >
+{ " " * }
+'skip$
+if$
+s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+nameptr numnames = t "others" = and
+{ "et al" * }
+{ t sortify * }
+if$
+nameptr #1 + 'nameptr :=
+namesleft #1 - 'namesleft :=
+}
+while$
+}
+FUNCTION {sort.format.title}
+{ 't :=
+"A " #2
+"An " #3
+"The " #4 t chop.word
+chop.word
+chop.word
+sortify
+#1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+{ key empty$
+{ "to sort, need author or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+{ editor empty$
+{ key empty$
+{ "to sort, need author, editor, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ editor sort.format.names }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {author.organization.sort}
+{ author empty$
+{ organization empty$
+{ key empty$
+{ "to sort, need author, organization, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ "The " #4 organization chop.word sortify }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {editor.organization.sort}
+{ editor empty$
+{ organization empty$
+{ key empty$
+{ "to sort, need editor, organization, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ "The " #4 organization chop.word sortify }
+if$
+}
+{ editor sort.format.names }
+if$
+}
+FUNCTION {presort}
+{ calc.label
+ year field.or.null sortify
+ " "
+ *
+ sort.label
+ *
+" "
+*
+type$ "book" =
+type$ "inbook" =
+or
+'author.editor.sort
+{ type$ "proceedings" =
+'editor.organization.sort
+{ type$ "manual" =
+'author.organization.sort
+'author.sort
+if$
+}
+if$
+}
+if$
+*
+" "
+*
+year field.or.null sortify
+*
+" "
+*
+title field.or.null
+sort.format.title
+*
+#1 entry.max$ substring$
+'sort.key$ :=
+}
+ITERATE {presort}
+SORT
+STRINGS { longest.label last.sort.label next.extra }
+INTEGERS { longest.label.width last.extra.num }
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+#0 int.to.chr$ 'last.sort.label :=
+"" 'next.extra :=
+#0 'longest.label.width :=
+#0 'last.extra.num :=
+}
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+{ last.extra.num #1 + 'last.extra.num :=
+last.extra.num int.to.chr$ 'extra.label :=
+}
+{ "a" chr.to.int$ 'last.extra.num :=
+"" 'extra.label :=
+sort.label 'last.sort.label :=
+}
+if$
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+{ "a" 'extra.label := }
+'skip$
+if$
+label extra.label * 'label :=
+label width$ longest.label.width >
+{ label 'longest.label :=
+label width$ 'longest.label.width :=
+}
+'skip$
+if$
+extra.label 'next.extra :=
+}
+EXECUTE {initialize.longest.label}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+%%% XXX The macro \etalchar is generated in function format.lab.names.
+%%% I have no idea what format.lab.names does,
+%%% and it doesn't seem to do anything in my test cases.
+%%% However the \etalchar definition messes up the HTML output,
+%%% so I'll simply skip that for now...
+FUNCTION {begin.bib}
+{ %et.al.char.used
+preamble$ empty$
+'skip$
+{ preamble$ write$ newline$ }
+if$
+"<dl>" write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.urlbst.variables}
+EXECUTE {init.state.consts}
+REVERSE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+"</dl>" write$ newline$
+}
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/bibhtml/bibhtml b/biblio/bibtex/contrib/bibhtml/bibhtml
new file mode 100755
index 0000000000..7088249658
--- /dev/null
+++ b/biblio/bibtex/contrib/bibhtml/bibhtml
@@ -0,0 +1,464 @@
+#! /usr/bin/env perl
+## 'perl -w' is good, but the PERL on the previous line is substituted,
+## by default, by '/usr/bin/env perl', and that doesn't always cope well
+## with multiple arguments, so leave the option off.
+#
+# This software is copyright, 1999, 2005, Norman Gray.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
+# Author: Norman Gray, norman@astro.gla.ac.uk.
+# Department of Physics and Astronomy, University of Glasgow, UK
+#
+# See the file LICENCE for a copy of the GPL.
+# You can also find an online copy at http://www.gnu.org/copyleft/gpl.html .
+#
+# $Id$
+#
+# See <http://www.astro.gla.ac.uk/users/norman/distrib/bibhtml.html>
+# for documentation.
+
+use strict;
+
+my $version = 'Bibhtml, version 2.0.2, Norman Gray <norman@astro.gla.ac.uk>, 2013 September 8';
+
+
+# configuration...
+my $rootname = 'bibliography';
+my $bibdata = ''; # default bibdata is ./bib.bib
+my $bibstyle = ''; # default, below, is plainhtml
+my $bibconfig = 'bibhtml.config'; # configuration file
+
+my $html3 = 0;
+my $citeall = 0;
+my $verbose = 1;
+my $mergebib = 0;
+my $strippis = 0; # if true, then strip PIs from output
+
+# configuration variables
+my $endash;
+my $nbsp;
+
+my $bibfilename; # the name of the .bib file
+my $bblfilename; # the name of the generated .bbl file
+my $auxfilename; # the .aux file we generate here
+
+# control flags
+my $phase;
+my $foundslot; # true when we're in the gap between
+ # <?bibhtml start...end?>
+
+# set to 1 to switch on debugging, set > 1 to exit after option parsing
+my $debug = 0;
+
+# normalise progname - part after last slash
+$0 =~ /([^\/]*)$/;
+my $progname = $1;
+
+if ($#ARGV < $[) {
+ print "Usage: $progname filename ...\n[$version]\n";
+ exit 1;
+}
+
+# get directory of first arg (this is where we'll search for bibhtml.config)
+$ARGV[0] =~ /[^\/:]*$/;
+my $defdir = $`;
+#print "defdir $defdir\n";
+
+
+#------
+
+# if -c is present in the argument list, then undefine $bibconfig,
+# and so don't read it automatically at the beginning
+for (@ARGV) { if (/^-c/) { undef ($bibconfig); last; }}
+if (defined ($bibconfig) && (-r $bibconfig)) {
+ readconfig ($bibconfig);
+}
+
+# Option processing
+while ($_ = $ARGV[0], /^[-+]/)
+{
+ # print "ARGV[0]=$_\n";
+ if (/^([-+])3/ ) { $html3= ($1 eq '+') }
+ if (/^-v/) { $verbose = 1 }
+ if (/^-q/) { $verbose = 0 }
+ if (/^-a/) { $citeall = 1 }
+ if (/^-V/) { print STDERR $version, "\n"; exit }
+ if (/^--version/) { print STDERR $version, "\n"; exit }
+ if (/^--merge/) { $mergebib = 1 }
+ if (/^--strip/) { $strippis = 1 }
+ if (/^--help/) { printhelp(); exit }
+
+ shift;
+ last if ($#ARGV < $[);
+ if (/^-r/) { $rootname = $ARGV[0]; shift }
+ if (/^-b/) { $bibdata = $ARGV[0]; shift }
+ if (/^-s/) { $bibstyle = $ARGV[0]; shift }
+ if (/^-c/) { my $bibconfig = $ARGV[0];
+ shift;
+ readconfig ($bibconfig); }
+ last if ($#ARGV < $[);
+}
+
+
+if ($debug)
+{
+ # debugging arglist...
+ print STDERR "rootname $rootname, bibdata $bibdata\n";
+ if ($html3) { print STDERR "html3\n"; }
+ if ($verbose) { print STDERR "verbose\n"; }
+ if ($citeall) { print STDERR "citeall\n"; }
+ print STDERR "ARGV @ARGV\n";
+ exit if ($debug > 1);
+}
+
+if ($mergebib) {
+ # usage is bibhtml file.bbl file.html - do nothing other than
+ # merge a bbl file into an html file
+ if ($#ARGV < 1) {
+ print "Usage: $progname --merge file.bbl file.html\n";
+ exit;
+ }
+
+ $phase = +1;
+ $bblfilename = $ARGV[0];
+ $bibfilename = $ARGV[1];
+ # Insist that both files have the correct extension
+ # This route will mostly be called by scripts, so this check is
+ # both useful and easily satisfied
+ ($bblfilename =~ /\.bbl$/) && ($bibfilename =~ /\.html$/)
+ || do {
+ print STDERR "Usage: $progname --merge file.bbl file.html\n\tfile extensions required!\n";
+ exit;
+ };
+}
+else
+{
+ if ($#ARGV < $[)
+ {
+ print "Usage: $progname filename ...\n";
+ exit;
+ }
+
+ # If the command name is bibhtml, then do everything.
+ # If it isn't, then use the name of the (first) argument to work out which
+ # phase to perform. If it's a .bbl file, then merge it with the .html
+ # file, if not, then create the .aux file ready for BibTeX to be
+ # invoked manually.
+ if ($progname eq 'bibhtml')
+ {
+ $phase = 0;
+ }
+ else
+ {
+ if ($ARGV[0] =~ /(.*)\.bbl$/)
+ {
+ $rootname = $1;
+ $phase = +1;
+ }
+ else
+ {
+ $phase = -1;
+ }
+ }
+}
+
+if ($debug)
+{
+ print STDERR "rootname $rootname\nbibdata $bibdata\nphase $phase, html3 $html3\n";
+#exit;
+}
+
+
+my @date = localtime(time);
+my @mname = ("January", "February", "March", "April", "May", "June",
+ "July", "August", "September", "October", "November", "December");
+
+$bblfilename = "$rootname.bbl" unless (defined ($bblfilename));
+$bibfilename = "$rootname.html" unless (defined ($bibfilename));
+$auxfilename = "$rootname.aux" unless (defined ($auxfilename));
+
+print "bibfilename=$bibfilename\nbibdata=$bibdata\n" if $verbose;
+
+########################################
+#
+# Start the scanning phase
+
+if ($phase <= 0) # -1 or 0
+{
+ print "Creating $auxfilename...\n" if ($verbose);
+
+ open (OUT, ">$auxfilename") || die "can't open $auxfilename to write\n";
+ print OUT "\\relax\n"; # not really necessary, but...
+
+ if ($citeall)
+ {
+ print "Citing all...\n" if ($verbose);
+ print OUT "\\citation{*}\n";
+ }
+ else
+ {
+ foreach my $fn (@ARGV)
+ {
+ my $t; # temporary string
+ print "scanning $fn...\n" if ($verbose);
+
+ open (IN, "$fn") || die "can't open $fn to read\n";
+
+ while (<IN>)
+ {
+ # Match possibly multiple times on one line
+ # Note bibfilename must be present, even if this is the
+ # bibliography itself.
+ foreach my $m (/$bibfilename#([^\"]+)/g) {
+ print OUT "\\citation{$m}\n";
+ }
+ if (($t) = /<\?bibhtml\s+bibdata\s+([\w,]*)/) {
+ # accumulate bibdata
+ if ($bibdata eq '') {
+ $bibdata = $t;
+ } else {
+ $bibdata .= ',' . $t;
+ }
+ print "bibdata=$bibdata\n" if $verbose;
+ }
+ if (($t) = /<\?bibhtml\s+bibstyle\s+(\w*)/) {
+ # do not override any value specified on the command line
+ $bibstyle = $t if $bibstyle eq '';
+ print "bibstyle=$bibstyle\n" if $verbose;
+ }
+ }
+
+ close (IN);
+ }
+ }
+
+ $bibdata = 'bib' if ($bibdata eq '');
+ $bibstyle = 'plainhtml' if ($bibstyle eq '');
+
+ print OUT "\\bibstyle{$bibstyle}\n";
+ print OUT "\\bibdata{$bibdata}\n";
+
+ close (OUT);
+}
+
+########################################
+#
+# Call BibTeX
+
+if ($phase == 0)
+{
+ print "Calling BibTeX...\n" if ($verbose);
+
+ system ("bibtex $rootname")==0 || die "can't bibtex $auxfilename\n";
+}
+
+########################################
+#
+# Substitution phase
+
+if ($phase >= 0 && -r "$bblfilename") # $phase +1 or 0
+{
+ print "Merging $bblfilename into $bibfilename...\n" if ($verbose);
+
+ # now merge the new bbl file with the old bibfilename, between the
+ # pattern /<?\s*bibhtml start/ and 'end'
+
+
+ if ($debug)
+ {
+ open (ORIG, "$bibfilename")||die "can't open $bibfilename to read";
+ }
+ else
+ {
+ rename ($bibfilename, "$bibfilename.old")||die "can't rename $bibfilename";
+ open (OUT, ">$bibfilename") ||die "can't open $bibfilename to write";
+ select (OUT);
+ open (ORIG, "$bibfilename.old")||die "can't open $bibfilename.old to read";
+ }
+ open (BBL, "$bblfilename") ||die "can't open $bblfilename to read";
+
+
+ $foundslot = 0; # copy the old to the new up to pattern
+
+ FINDSLOT: while (<ORIG>)
+ {
+ if (/<\?bibhtml\s+today/ || /<!--\s*bibhtml:today/)
+ {
+ print unless $strippis;
+ # gobble a line containing the old date
+ <ORIG>;
+ print "$date[3] $mname[$date[4]] 19$date[5]\n";
+ }
+ elsif (/<\?bibhtml\s+start/ || /<!--\s*bibhtml:start/)
+ {
+ print unless $strippis;
+ $foundslot = 1;
+ print STDERR "Found start\n" if $debug;
+ last FINDSLOT;
+ }
+ elsif (/<\?bibhtml\s+insert/)
+ {
+ # don't print this line
+ $foundslot = 2;
+ print STDERR "Found insertion point\n" if $debug;
+ last FINDSLOT;
+ } else {
+ if ($strippis)
+ {
+ print unless /<\?bibhtml/;
+ } else {
+ print;
+ }
+ }
+ }
+
+ $foundslot || die "couldn't find the insertion point";
+
+ if ($html3)
+ {
+ $nbsp='&nbsp;';
+ $endash='&endash;';
+ }
+ else
+ {
+ $nbsp=' ';
+ $endash='-';
+ }
+
+ while (<BBL>)
+ {
+ # If a line ends with a %, then remove the %\n. write$ does
+ # a decent job of line breaking, but if it can't break a line
+ # at space, it puts in a %, which is OK in TeX, but messes
+ # up HTML.
+ if (/%$/) {
+ chop; chop;
+ $_ .= <BBL>;
+ }
+
+ # Spot hrefs in the current line: if we find any, emit them and
+ # remove them from $_, so they're escaped as appropriate for URLs,
+ # which is different from the escaping required for text, below.
+ # We lose in principle, if there are any characters which need
+ # escaped before the href, but the output of bibtex is pretty
+ # consistent, and doesn't produce these in fact.
+ my $href;
+ if (($href) = /(.*href[^>]*)/) {
+ $href =~ s/\&/\&amp;/g;
+ $href =~ s/\~/%7e/g;
+ print "$href\n";
+ s{.*href[^>]*}{};
+ }
+ s/\&/\&amp;/g;
+ s/\~/$nbsp/g ;
+ s/[\{\}]//g ;
+ s/--/$endash/g ;
+ print;
+ }
+
+ if ($foundslot > 1)
+ {
+ # we found <?bibhtml insert?> -- there is no end marker to be found
+ $foundslot = 0;
+ } else {
+ # we found <?bibhtml start?> -- look for the end marker
+ $foundslot = 0;
+
+ # now discard lines of the input file until we find one which
+ # matches <?bibhtml end?>
+ SKIPGAP: while (<ORIG>)
+ {
+ if (/<\?bibhtml\s+end/ || /--\s*bibhtml:end/)
+ {
+ print unless $strippis;
+ $foundslot = 1;
+ print STDERR "Found end\n" if $debug;
+ last SKIPGAP;
+ }
+ }
+
+ $foundslot || warn "couldn't find end marker";
+ }
+
+ # now copy the remainder of the file to OUT
+ while (<ORIG>)
+ {
+ if (/<\?bibhtml\s+today/ || /--\s*bibhtml:today/)
+ {
+ print unless $strippis;
+ # gobble a line
+ <ORIG>;
+ print "$date[3] $mname[$date[4]] 19$date[5]\n";
+ } else {
+ if ($strippis)
+ {
+ print unless /<\?bibhtml/;
+ } else {
+ print;
+ }
+ }
+ }
+
+ close (ORIG);
+ close (BBL);
+ close (OUT) if (!$debug);
+}
+
+
+sub readconfig {
+ my $bibconfig = shift;
+ if (-r $bibconfig)
+ {
+ print STDERR "reading config $bibconfig\n";
+ open (CONF, $bibconfig);
+ $_ = <CONF>;
+ chop;
+ my @newargs = split (/ +/);
+ close (CONF);
+ unshift (@ARGV, @newargs);
+ print STDERR "readconfig: ARGV[0]=($ARGV[0]), ARGV=@ARGV\n" if ($debug);
+ }
+ else
+ {
+ print STDERR "no config file $bibconfig\n";
+ }
+}
+
+sub printhelp {
+ print STDOUT <<\_EOD;
+This is bibhtml version 2.0.2, 2013 September 8.
+
+Usage:
+ % bibhtml [options...] filename...
+ % bibhtml --merge file.bbl file.html
+
+Options:
+ -3 Opposite of +3 -- do not use these entities
+ +3 Use HTML3 entities (ie, &nbsp and &enspace) as appropriate
+ -a Produce citations for the entire BibTeX database
+ (as if \nocite{*} had been included in a LaTeX file)
+ -b bibdata Specify the name of the BibTeX database file.
+ -c configfile Specify a configuration file
+ --merge Merge mode: merge a bbl file into an html file
+ --help Print this help and exit
+ -q Be quiet -- opposite of -v
+ -r rootname Set the root file name: default is 'bibliography'
+ -s bibstyle Name of the bibliography style file.
+ --strip Strip the processing instructions out of the file
+ -v Be verbose (default)
+ -V, --version Show the version number and exit
+_EOD
+}
diff --git a/biblio/bibtex/contrib/bibhtml/bibhtml-extract-aux.xslt b/biblio/bibtex/contrib/bibhtml/bibhtml-extract-aux.xslt
new file mode 100644
index 0000000000..f0ce737f1e
--- /dev/null
+++ b/biblio/bibtex/contrib/bibhtml/bibhtml-extract-aux.xslt
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ! bibhtml-extract-aux.xslt
+ !
+ ! Part of bibhtml, version 2.0.2, released 2013 September 8
+ ! Hg Node 7076ce83a035.
+ ! See <http://purl.org/nxg/dist/bibhtml>
+ !
+ ! This sample script processes an XML file which contains elements like
+ ! <span class='cite'>citation</span>, extracting each of the `citation'
+ ! strings and emitting a .aux file which, once a \bibdata line has been
+ ! appended, is suitable for processing with BibTeX. Adapt or extend as
+ ! appropriate.
+ !-->
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform"
+ version="1.0"
+ exclude-result-prefixes="h"
+ xmlns:h="http://www.w3.org/1999/xhtml">
+
+ <output method="xml"
+ version="1.0"
+ doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
+ doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
+ omit-xml-declaration="yes"/>
+
+ <template match="/">
+ <text>\relax
+</text>
+ <apply-templates select="//h:span[@class='cite']"/>
+ <apply-templates select='//processing-instruction("bibliography")'/>
+ <!--
+ <call-template name="make-tex-command">
+ <with-param name="command">bibstyle</with-param>
+ <with-param name="content">plainhtml</with-param>
+ </call-template>
+ -->
+ </template>
+
+ <template match="h:span[@class='cite']">
+ <!--
+ <h:a>
+ <attribute name='href'>
+ <text>#</text>
+ <copy-of select='.'/>
+ </attribute>
+ <copy-of select='.'/>
+ </h:a>
+ -->
+ <call-template name="make-tex-command">
+ <with-param name="command">citation</with-param>
+ <with-param name="content">
+ <copy-of select="."/>
+ </with-param>
+ </call-template>
+ </template>
+
+ <template match='processing-instruction("bibliography")'>
+ <choose>
+ <when test='string-length(.) = 0'>
+ <text>% No bibliography file specified!
+</text>
+ </when>
+ <when test='contains(.," ")'>
+ <call-template name='make-tex-command'>
+ <with-param name='command'>bibdata</with-param>
+ <with-param name='content'>
+ <value-of select='substring-before(.," ")'/>
+ </with-param>
+ </call-template>
+ <call-template name='make-tex-command'>
+ <with-param name='command'>bibstyle</with-param>
+ <with-param name='content'>
+ <value-of select='substring-after(.," ")'/>
+ </with-param>
+ </call-template>
+ </when>
+ <otherwise>
+ <call-template name='make-tex-command'>
+ <with-param name='command'>bibdata</with-param>
+ <with-param name='content'>
+ <value-of select='normalize-space(.)'/>
+ </with-param>
+ </call-template>
+ </otherwise>
+ </choose>
+ </template>
+
+ <template name="make-tex-command">
+ <param name="command"/>
+ <param name="content"/>
+ <text>\</text>
+ <value-of select="$command"/>
+ <text>{</text>
+ <value-of select="$content"/>
+ <text>}
+</text>
+ </template>
+
+</stylesheet>
diff --git a/biblio/bibtex/contrib/bibhtml/bibhtml-insert-bib.xslt b/biblio/bibtex/contrib/bibhtml/bibhtml-insert-bib.xslt
new file mode 100644
index 0000000000..0fd46ff6bd
--- /dev/null
+++ b/biblio/bibtex/contrib/bibhtml/bibhtml-insert-bib.xslt
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ! bibhtml-extract-aux.xslt
+ !
+ ! Part of bibhtml, version 2.0.2, released 2013 September 8
+ ! Hg node 7076ce83a035.
+ ! See <http://purl.org/nxg/dist/bibhtml>
+ !
+ ! This sample script processes an XML file which contains elements like
+ ! <span class='cite'>citation</span>, extracting each of the `citation'
+ ! strings and emitting a .aux file which, once a \bibdata line has been
+ ! appended, is suitable for processing with BibTeX. Adapt or extend as
+ ! appropriate.
+ !-->
+<x:stylesheet xmlns:x="http://www.w3.org/1999/XSL/Transform"
+ version="1.0"
+ xmlns="http://www.w3.org/1999/xhtml"
+ exclude-result-prefixes="h"
+ xmlns:h="http://www.w3.org/1999/xhtml">
+
+ <x:output method="xml"
+ version="1.0"
+ doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
+ doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
+ omit-xml-declaration="yes"/>
+
+ <x:param name='bibfile-name'>bibliography</x:param>
+
+
+ <!-- identity transform -->
+ <x:template match="*">
+ <x:copy>
+ <x:copy-of select="@*"/>
+ <x:apply-templates/>
+ </x:copy>
+ </x:template>
+
+ <x:template match="h:span[@class='cite']">
+ <a>
+ <x:attribute name='href'>
+ <x:text>#</x:text>
+ <x:copy-of select='.'/>
+ </x:attribute>
+ <x:apply-templates/>
+ </a>
+ </x:template>
+
+ <x:template match='processing-instruction("bibliography")'>
+ <x:copy-of select='document(concat($bibfile-name,".bbl"))'/>
+ </x:template>
+</x:stylesheet>
diff --git a/biblio/bibtex/contrib/bibhtml/bibhtml.html b/biblio/bibtex/contrib/bibhtml/bibhtml.html
new file mode 100644
index 0000000000..0b97184ca8
--- /dev/null
+++ b/biblio/bibtex/contrib/bibhtml/bibhtml.html
@@ -0,0 +1,580 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>Bibhtml documentation</title>
+ <meta name="keywords" content="bibhtml, bibtex, HTML" />
+ <link href="http://nxg.me.uk" rev="author" />
+ <link type="text/css" rel="stylesheet" href="style.css" />
+ </head>
+
+<body>
+
+<h1>Bibhtml</h1>
+
+<div class="abstract">
+<p><em>Bibhtml</em> consists of a set of BibTeX style files, which
+allow you to use BibTeX to produce bibliographies in HTML. These are
+modelled closely on the standard BibTeX style files.</p>
+
+<p>To accompany them, this package includes a pair of XSLT scripts
+which illustrate how you might integrate these generated
+bibliographies into an XML/HTML workflow.</p>
+
+<p>The long-term URL for this package is <code>http://purl.org/nxg/dist/bibhtml</code></p>
+
+<p>This documentation describes
+bibhtml version 2.0.2, released 2013 September 8.</p>
+</div>
+
+<h3>Contents</h3>
+<ul>
+<li><a href="#bst-files">BibTeX style files</a></li>
+<li><a href="#xslt">XSLT scripts</a></li>
+<li><a href="#postprocess">Postprocessing HTML bibliographies</a></li>
+<li><a href="#install">Installation</a></li>
+<li><a href="#usage">The <em>bibhtml</em> script</a></li>
+<li><a href="#example">Example</a></li>
+<li><a href="#refs">References</a></li>
+<li><a href="#dist">Distribution, licence and source code</a></li>
+</ul>
+
+<p><em>Bibhtml</em> consists of a set of BibTeX style files, which
+allow you to use BibTeX to produce bibliographies in HTML. These are
+modelled closely on the standard BibTeX style files. For sample output,
+see <a href="#refs">the reference section below</a>.</p>
+
+<p>To accompany them, this package includes a pair of XSLT scripts
+which illustrate how you might integrate these generated
+bibliographies into an XML/HTML workflow.</p>
+
+<p>The output of these style files is usable as-is, but it benefits
+from some post-processing, to remove TeX-isms. There’s a <em>sed</em>
+script in the distribution which does exactly that, called
+<code>detex.sed</code>. If you want to make a version of that in some
+other regexp-supporting language, let me know and I can include it in
+the distribution.</p>
+
+<p>As well,
+the package includes a Perl script which orchestrates the various steps
+required to manage such a bibliography for one or more HTML files.
+The references in the text are linked directly to the corresponding
+bibliography entry, and if a URL is defined in the entry within the
+BibTeX database file, then the generated bibliography entry is linked
+to this.</p>
+
+<p>The BibTeX style files are
+<code>abbrvhtml.bst</code>,
+<code>alphahtml.bst</code>,
+<code>plainhtml.bst</code> and
+<code>unsrthtml.bst</code>.
+As well, there are
+<code>.bst</code> files which produce their output in date order. To
+use them, you should generate an <code>.aux</code> file by some
+appropriate means, and include the line
+<code>\bibstyle{plainhtml}</code>. Run BibTeX, and the result is a
+<code>.bbl</code> file, in broadly the same style as the corresponding
+traditional BibTeX one, but formatted
+using HTML rather than LaTeX. This might form a useful component of a
+XSLT-based workflow. For further details, see the discussion of the
+style files <a href="#bst-files">below</a>.</p>
+
+<p>There is also a Perl script, <em>bibhtml</em>, which can orchestrate generating and using
+this <code>.aux</code> file. This script isn’t really maintained any
+more, but it is still distributed, and documented <a href="#usage">below</a>.</p>
+
+<p><em>Bibhtml</em> works with a standard BibTeX database – it is
+intended to be compatible with a database used in the standard way
+with LaTeX. The <a href="#bst-files">BibTeX style files</a>
+distributed with this package define an additional
+<code>url</code> field: if this is present, then the generated entry
+will contain a link to this URL. They also define an
+<code>eprint</code> field – if you do not use the LANL preprint
+archive, this will be of no interest to you.</p>
+
+<h2><a name="bst-files" id="bst-files">BibTeX style files</a></h2>
+
+<p>The package includes several BibTeX style files. As well as the
+ones directly derived from the standard styles, there are also
+<code>plainhtmldate.bst</code>,
+<code>plainhtmldater.bst</code>,
+<code>alphahtmldate.bst</code> and
+<code>alphahtmldater.bst</code> styles,
+which are derived from the standard
+<code>plain.bst</code> and <code>alpha.bst</code> styles,
+which sort the
+output by date and reverse date, rather than by author.</p>
+
+<p>In version 2 of the <em>bibhtml</em> package, the
+<code>*html.bst</code> files are derived from the traditional files
+using the <a href="http://purl.org/nxg/dist/urlbst">urlbst</a>
+package, and then minimally adjusted so as to produce HTML rather than
+LaTeX.</p>
+
+<p>Since they are derived via the <em>urlbst</em> package, these style
+files support an additional entry type, <code>@webpage</code>, and two
+additional fields on all entry types, <code>url</code> and
+<code>lastchecked</code>, which give the URL associated with the
+reference, and the date at which the URL was last verified to be still
+present.</p>
+
+<p>The distributed <code>.bst</code> files have two configurable
+parameters, which you might want to adjust for your installation:</p>
+
+<p>The variable <code>'xxxmirror</code> gives the host name of the arXiv mirror which will be used
+when generating links to eprints. The default setting in the
+<code>.bst</code> files is:</p>
+<pre>
+"xxx.arxiv.org" 'xxxmirror :=
+</pre>
+
+<p>By default, the style files generate link targets in the
+bibliography with the same name as the citation key. Thus a BibTeX
+entry with key <code>surname99</code>, say, would appear in the
+generated HTML <code>.bbl</code> file wrapped in <code>&lt;a
+name="surname99"&gt;...&lt;/a&gt;</code>. If this is inconvenient,
+perhaps because it conflicts with other links within the file,
+then you can adjust the <code>'hrefprefix</code> variable within the
+style file, to specify a prefix which should appear in the link key.
+Thus setting</p>
+<pre>
+"ref:" 'hrefprefix :=
+</pre>
+<p>in the <code>.bst</code> file would produce links like <code>&lt;a
+name="ref:surname99"&gt;...&lt;/a&gt;</code> in the <code>.bbl</code>
+file.</p>
+
+<h2><a name="xslt" id="xslt">XSLT scripts</a></h2>
+
+<p>The distribution includes a pair of sample XSLT scripts:</p>
+<ul>
+<li><code>bibhtml-extract-aux.xslt</code> shows how you might use XSLT to
+extract citations from a source file into an <code>.aux</code>
+file, for processing into a <code>.bbl</code> file;</li>
+<li><code>bibhtml-insert-bib.xslt</code> shows how you might use XSLT
+to insert the resulting <code>.bbl</code> file into the original
+file.</li>
+</ul>
+
+<p>The scripts assume that a source file is in XHTML, and has
+citations marked up as</p>
+<pre>
+&lt;span class='cite'&gt;ref99&lt;/span&gt;
+</pre>
+<p>and that the bibliography is indicated with</p>
+<pre>
+&lt;?bibliography <em>bibdata</em> <em>bibstyle</em>?&gt;
+</pre>
+<p>A suitable workflow, taking as an example the source file for the
+page you are reading, is:</p>
+<pre>
+% xsltproc bibhtml-extract-aux.xslt bibhtml.html &gt;bibhtml.aux
+% bibtex bibhtml
+This is BibTeX, Version 0.99c (Web2C 7.5.7)
+The top-level auxiliary file: bibhtml.aux
+The style file: unsrthtml.bst
+Database file #1: bibrefs.bib
+% sed -f detex.sed bibhtml.bbl &gt;bibhtml.bbl.tmp
+% mv bibhtml.bbl.tmp bibhtml.bbl
+% xsltproc --stringparam bibfile-name bibhtml \
+ bibhtml-insert-bib.xslt bibhtml.html &gt;bibhtml-new.html
+</pre>
+
+<p>The <code>bibhtml.xslt</code> script, when run over a source file,
+generates a <code>.aux</code> suitable for processing with BibTeX.
+The resulting <code>.bbl</code> file, possibly after
+<a href="#postprocessing">post-processing</a>, can be included in the
+source XHTML with an XSLT script which includes something like:</p>
+<pre>
+&lt;xsl:template select="processing-instruction('bibliography')"&gt;
+ &lt;xsl:copy-of select="document('mybib.bbl')"/&gt;
+&lt;/xsl:template&gt;
+</pre>
+
+<h2><a name="postprocess" id="postprocess">Postprocessing HTML bibliographies</a></h2>
+
+<p>The output of the BibTeX styles is designed so that it is generally
+reasonably usable without any post-processing. However it is not
+ideal, since there are occasionaly TeX-isms such as backslash-escaped
+characters and the like, depending on what is in the source
+<code>.bib</code> file. Also, without post-processing any DOIs in
+the source file aren’t formed into links.</p>
+
+<p>The distribution includes a <code>sed</code> file,
+<code>detex.sed</code>, which can do appropriate post-processing.
+Thus the normal workflow is:</p>
+<pre>
+% bibtex mydoc
+% sed -f detex.sed mydoc.bbl &gt;mydoc.bbl.tmp
+% mv mydoc.bbl.tmp mydoc.bbl
+</pre>
+<p>Since it uses <code>sed</code>, this is fairly obviously
+unix-specific, but if anyone would like to contribute a script with
+similar functionality (it’s just a few moderately tortuous regular
+expressions), I’d be delighted to include it in the distribution.</p>
+
+<h2><a name="install" id="install">Installation</a></h2>
+
+<p>The <code>.bst</code> files have to be installed
+<a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=inst-wlcf">‘somewhere where LaTeX can find them’</a>. If you give the command
+<code>kpsepath bst</code> you can see the list of directories that
+BibTeX searches for <code>.bst</code> files – on my system, I’d put
+them into <code>/usr/local/texlive/texmf-local/bibtex/bst</code>,
+which is a directory for system-wide local additions.</p>
+
+<p>If you wish, you may change the distributed BibTeX style files (see
+<a href="#bst-files">above</a>) to the extent of changing the
+‘eprint’ mirror site from the master <code>xxx.arxiv.org</code> to a
+more local mirror. If you don’t use the LANL preprint archive, this
+will be of no interest to you.</p>
+
+<h2><a name="usage" id="usage">The <em>bibhtml</em> script</a></h2>
+
+<p>As noted above, <strong>this script should still work and is distributed on
+that basis, but it’s no longer maintained, and won’t be further developed.</strong>
+The XSLT-based mechanism described above is probably more robust;
+also, the interface described in this section is not the same as the interface
+of the <a href="#xslt">XSLT scripts</a> section above.</p>
+
+<h3>The BibTeX database</h3>
+
+<p>TeX features such as <code>~</code> and <code>--</code> are translated to
+corresponding HTML entities (controlled with the <code>+3</code>
+switch, see below), but other TeX constructions will make their way
+into the generated HTML, and look a little odd. I might try to deal
+with these in future versions. </p>
+
+<h3>Preparing the text</h3>
+
+<p>You prepare your text simply by including links to the bibliography file
+(the default is <code>bibliography.html</code>), followed by a fragment
+composed of the BibTeX citation key. Thus, you might cite [grendel89]
+with</p>
+<pre>&lt;a href="bibliography.html#grendel89"&gt;(Grendel, 1989)&lt;/a&gt;</pre>
+<p>(of course, the link text can be anything you like). That’s all there is to
+it. When you run <em>bibhtml</em>, it generates an
+<code>.aux</code> file which makes BibTeX produce references for exactly those
+keys which appear in this way. </p>
+
+<h3><a name="pis" id="pis">Preparing the bibliography file – processing
+instructions supported</a></h3>
+
+<p>The bibliography file is an ordinary HTML document (which may
+itself have citations within it), distinguished only by having two
+processing instructions within it.
+<em>Bibhtml</em> replaces everything between
+<code>&lt;?bibhtml start ?&gt;</code>
+and
+<code>&lt;?bibhtml end ?&gt;</code>
+(which should be on lines by themselves) with the formatted
+bibliography. It leaves those instructions in place, naturally, so once
+this file is set up, you shouldn’t have to touch it again. Older
+versions of bibhtml used the magic comments <code>&lt;-- bibhtml start
+--&gt;</code> and <code>&lt;-- bibhtml end --&gt;</code>: these are
+still supported, but are deprecated and may disappear in a future version.</p>
+
+<p>Alternatively, you may include the processing instruction
+<code>&lt;?bibhtml insert?&gt;</code>. This acts broadly like the
+<code>start</code> and <code>end</code> processing instructions,
+except that the line is completely replaced by the inserted
+bibliography. This is useful if the file being processed is a
+generated file (perhaps the output of a separate XML tool-chain, for
+example), which will not therefore have to be rescanned in future.</p>
+
+<p>You can specify the bibliography database and style file either on
+the command line (see <a href="#options">below</a>) or using the
+<code>&lt;?bibhtml bibdata </code><em>bibfile</em><code>?&gt;</code>
+and <code>&lt;?bibhtml bibstyle</code><em>stylefile</em><code>?&gt;</code> instructions. The
+value of ‘bibdata’ is cumulative, and appends to any value specified
+on the command line. A value of ‘bibstyle’ specified on the command
+line, in contrast, overrides any value in the file.</p>
+
+<p>As a special case, <em>bibhtml</em> also replaces the line <em>after</em> a
+comment <code>&lt;?bibhtml today ?&gt;</code> with today’s date.</p>
+
+<p>Summary of processing instructions:</p>
+
+<dl>
+<dt><code>&lt;?bibhtml start?&gt;</code> and <code>&lt;?bibhtml
+stop?&gt;</code></dt>
+<dd>Bracket the bibliography – any text between these PIs is replaced
+when <em>bibhtml</em> is next run.</dd>
+
+<dt><code>&lt;?bibhtml insert?&gt;</code></dt>
+<dd>This PI is replaced by the bibliography when <em>bibhtml</em> is
+next run. This PI is always removed, irrespective of the presence or
+absence of the <code>--strip</code> option.</dd>
+
+<dt><code>&lt;?bibhtml bibdata </code><em>bibfile</em><code>?&gt;</code></dt>
+<dd>Specify the bibliography database to be used. This is the
+analogue of a
+<code>\bibliography{</code><em>bibfile</em><code>}</code> command in a
+LaTeX file; see also the <code>-b</code> command-line option.</dd>
+
+<dt><code>&lt;?bibhtml bibstyle </code><em>stylefile</em><code>?&gt;</code></dt>
+<dd>Specify the bibliography style to be used. This is the analogue
+of <code>\bibliographystyle{</code><em>stylefile</em><code>}</code>
+command in a LaTex file; see also the <code>-s</code> command-line option.</dd>
+
+<dt><code>&lt;?bibhtml today?&gt;</code></dt>
+<dd>Replace the <em>following</em> line by today’s date.</dd>
+</dl>
+
+<h3><a name="options" id="options">Supported options</a></h3>
+
+<p><em>Usage</em></p>
+<pre>
+% bibhtml [options...] filename...
+% bibhtml --merge file.bbl file.html
+</pre>
+
+<p>The <code>filename</code> argument is the name of a file to be scanned.</p>
+
+<p><em>Bibhtml</em> takes a list of HTML files as argument (though see
+<a href="#two-pass">below</a> for a two-pass variant). It creates an
+<code>.aux</code> file, runs BibTeX, and merges the resulting
+<code>.bbl</code> file (if it exists) into <code>bibliography.html</code>, or
+whatever has been specified as the bibliography file name. </p>
+
+<p>There are several options:</p>
+<dl>
+<dt>-3, +3</dt>
+<dd>Set this to +3 if you want <code>~</code> translated to
+<code>&amp;nbsp;</code>, and <code>--</code> to
+<code>&amp;enspace;</code>. Or set it to -3 (the default) if you
+don’t.</dd>
+
+<dt>-a</dt>
+<dd>If this option is set, <em>bibhtml</em> won’t bother scanning any
+files at all, and will generate references for all the entries in your
+database. This is equivalent to <code>\nocite{*}</code> in LaTeX.</dd>
+
+<dt>-b bibdata</dt>
+<dd>The name of your BibTeX database file, as it would be specified in a
+<code>\bibliography{}</code> command in LaTeX. Unless <em>you</em> happen to
+keep all your references in a file called <code>bib.bib</code>, you’ll
+probably want to change this. Or you can use the <code>&lt;?bibhtml
+bibdata xxx?&gt;</code> <a href="#pis">processing instruction</a>.</dd>
+
+<dt>-c configfile</dt>
+<dd>Specifies a configuration file which contains a single line of
+options, which are inserted in the command line at that point.</dd>
+
+<dt><a name="merge" id="merge">--merge</a></dt>
+<dd>In this special case, <em>bibhtml</em> takes two arguments, a
+<code>.bbl</code> file and an <code>.html</code> file,
+merges the first into the second, and nothing else. It’s
+intended to be used when you have generated a
+<code>.bbl</code> file by a separate run of BibTeX, and simply
+wish to merge the results into your bibliography file. As
+such, it will most likely be useful as part of a script, or
+other post-processing system.</dd>
+
+<dt>-r rootname</dt>
+<dd>Specify this and you’ll create <code>rootname.html</code>,
+<code>rootname.aux</code> and so on. Why not just stick with the default
+‘bibliography’...? </dd>
+
+<dt><a name="opt-s" id="opt-s">-s bibstyle</a></dt>
+<dd>The name of the BibTeX bibliography style you want to use, as it
+would be specified for the <code>\bibstyle</code> command in
+LaTeX. If you want to have a different layout for your HTML
+bibliographies, please don’t change the file plainhtml.bst
+distributed with bibhtml. Instead, make a <em>copy</em> of
+plainhtml.bst under a different name, edit it as much as you
+like, and use this option of bibhtml to use the modified
+version instead of the default. Or you can use the <code>&lt;?bibhtml
+bibstyle xxx?&gt;</code> <a href="#pis">processing instruction</a>.</dd>
+
+<dt><a name="strip" id="strip">--strip</a></dt>
+<dd>If this option is set, then strip all processing-instruction lines
+from the output file. This means that the resulting file cannot be
+processed again by <em>bibhtml</em>, and so is appropriate when the
+file is the output of a separate tool-chain.</dd>
+
+<dt>-V, --version</dt>
+<dd>Bibhtml prints the version information and exits.</dd>
+
+<dt>-v, -q</dt>
+<dd>Do you want the program to be verbose or quiet? The default is -v,
+verbose.</dd>
+
+</dl>
+
+<p>The defaults for the various parameters are unlikely to be helpful,
+so you’re likely to want to set one or more of them every time you run
+the program. It is for this reason, and because you’re likely to want
+the same set of options every time you create the bibliography for a
+set of files in a directory, that you can put a collection of options
+in a configuration file. This can be specified on the command line
+with the option <code>-c configfilename</code>. If this option
+is not given, then <em>bibhtml</em> looks for a file named
+<code>bibhtml.config</code>. For example, the configuration
+file might contain:</p>
+
+<pre>
+-b mybib +3 -r refs
+</pre>
+
+<h3><a name="two-pass" id="two-pass">Two-pass bibhtml</a></h3>
+
+<p>You might sometimes have a need to invoke the
+two phases separately. If you make a symbolic link to the program via
+<code>ln -s bibhtml bibhtml2</code>, then you can generate an
+aux-file alone by giving the command <code>bibhtml2 *.html</code>,
+say; and you can merge a bbl-file into the bibliography file with the
+command <code>bibhtml2 bibliography.bbl</code>. The command line option
+<code>--merge</code> <a href="#merge">above</a> may be more suitable
+if you are calling this code from a script, as it requires you to
+specify both the <code>.bbl</code> and the <code>.html</code> file it
+is being merged with, (and so it is more robust, and more flexible).</p>
+
+<p>On Unix, this works because the program is able to
+detect the name it was invoked under. This may be more difficult on other
+platforms. If so, please get in touch, with suggestions. </p>
+
+<h2><a name="example" id="example">Example</a></h2>
+
+<p>There are multiple sources of advice for how to cite electronic
+documents. The most formal are an ISO standard <a href="#url:iso690">url:iso690</a>, and the American Psychological
+Association’s guidance in Sect. 6.31 of <a href="#apastyle">apastyle</a>. As well, there are older but still
+useful discussions in <a href="#walker06">walker06</a> and
+<a href="#emory95">emory95</a>.</p>
+
+<h2><a name="refs" id="refs">References</a></h2>
+
+<dl xmlns="">
+
+<dt><a name="url:iso690" id="url:iso690">[url:iso690]
+International Standards Organisation.</a></dt>
+<dd><a href="http://en.wikipedia.org/wiki/ISO_690">ISO 690-2</a> [online,
+ cited 9 August 2009].</dd>
+
+<dt><a name="apastyle" id="apastyle">[apastyle]
+American Psychological Association.</a></dt>
+<dd><a href="http://www.apastyle.org/manual/index.aspx"><em>Publication Manual
+ of the American Psychological Association</em></a>, 6th edition, 2009 [cited
+ 9 August 2009].</dd>
+
+<dt><a name="walker06" id="walker06">[walker06]
+Janice R. Walker and Todd Taylor.</a></dt>
+<dd><a href="http://cup.columbia.edu/book/978-0-231-13210-7/the-columbia-guide-to-online-style"><em>The
+ Columbia Guide to Online Style</em></a>.
+Columbia University Press, 2nd edition, 2006 [cited 9 August 2009].</dd>
+
+<dt><a name="emory95" id="emory95">[emory95]
+Goizueta Business Library.</a></dt>
+<dd><a href="http://business.library.emory.edu/eresources/citing.html">Citation
+ formats</a> [online, cited 9 August 2009].</dd>
+
+</dl>
+
+<p>See also the documentation for the <a href="http://purl.org/nxg/dist/urlbst"><code>urlbst</code>
+package</a>, which generates BibTeX style files for ordinary LaTeX
+output (which also supports a <code>@webpage</code> entry type, and
+<code>url</code> and <code>lastchecked</code> fields), and which
+contains a similar list of references concerned with citing online
+sources.</p>
+
+<h2><a name="dist" id="dist">Distribution</a></h2>
+
+<h3><a name="get" id="get">Obtaining <em>bibhtml</em></a></h3>
+
+<p>Bibhtml is available on CTAN at
+<a href="http://www.ctan.org/tex-archive/biblio/bibtex/contrib/bibhtml/"><code>biblio/bibtex/contrib/bibhtml/</code></a>,
+and at
+<a href="http://purl.org/nxg/dist/bibhtml"><code>http://purl.org/nxg/dist/bibhtml</code></a>.</p>
+
+<p>Download the distribution:
+<a href="bibhtml-2.0.2.tar.gz">bibhtml-2.0.2.tar.gz</a> or
+<a href="bibhtml-2.0.2.zip">bibhtml-2.0.2.zip</a>.</p>
+
+<p>Do <a href="mailto:norman@astro.gla.ac.uk">let me know</a> if
+you use this stuff. I’d be grateful for any bug reports,
+and bug fixes, and also for any comments on the clarity or
+otherwise of this documentation.</p>
+
+<p>The project source code is
+<a href="http://bitbucket.org/nxg/bibhtml/">hosted at bitbucket.org</a>.
+You can check out the source code from there, and you are welcome to
+add issues to the bugparade.</p>
+
+<h3><a name="licence" id="licence">Licence</a></h3>
+
+<p>This software is copyright, 1999, 2005, 2006, 2009, 2013 Norman Gray.
+It is released under the terms of the GNU General Public Licence.
+See the copyright declaration at the top of file <code>bibhtml</code>,
+and the file <code>LICENCE</code> for the licence conditions.
+You can find an online copy of the GPL at
+<code><a href="http://www.gnu.org/copyleft/gpl.html">http://www.gnu.org/copyleft/gpl.html</a></code>.</p>
+
+<p>If this licence is a problem for you,
+get in touch and we can work something out.</p>
+
+<h3><a name="changes" id="changes">Changes</a></h3>
+
+<dl>
+<dt>2.0.2, 2013 September 8</dt>
+<dd>Minor bugfixes: XSLT namespace fixes, and DOI formatting.</dd>
+
+<dt>2.0.1, 2009 November 2</dt>
+<dd>The *date.bst and *dater.bst styles now work again.</dd>
+
+<dt>2.0, 2009 August 9</dt>
+<dd>First real release of v2.0, after mild use elsewhere.</dd>
+
+<dt>2.0b1, 2009 August 9</dt>
+<dd>Substantial rewrite, taking the style files from the urlbst
+package (thus there are more styles than before), adding more XSLT
+scripts, and de-emphasising the Perl script. The code is now
+<a href="http://bitbucket.org/nxg/bibhtml/">hosted at bitbucket.org</a>.</dd>
+
+<dt>1.3, 2006 October 31</dt>
+<dd><ul>
+<li>Add <code>hrefprefix</code> parameterisation to style files.</li>
+<li><code>xxx.arxiv.org</code> is now the default e-prints host.</li>
+<li>Some improvements to documentation.</li>
+</ul>
+</dd>
+
+<dt>1.2, 2005 September 19</dt>
+<dd><ul>
+<li>Changes to <code>.bst</code> style files, adding
+<code>@webpage</code> entry type, and <code>lastchecked</code> field
+to all entry types.</li>
+<li>Updates to documentation, fixing broken links to online references
+discussing how to cite online sources.</li>
+<li>No reports of breakage from beta releases below.</li>
+</ul>
+</dd>
+
+<dt>1.2b2, 2005 August 30</dt>
+<dd><ul>
+<li>Bugfix – correctly escape characters in .bbl hrefs</li>
+<li>Portability fix – use <code>/usr/bin/env perl</code> at the top of the
+script, rather than <code>/usr/bin/perl</code>; this should be more
+portable.</li>
+</ul>
+</dd>
+
+<dt>1.2b1, 2005 August 19</dt>
+<dd><ul>
+<li>Use processing instructions such as
+<code>&lt;?bibhtml start?&gt;</code>, rather than magic comments (the
+old behaviour is still temporarily supported).</li>
+<li>Add a new directive – <code>&lt;?bibhtml insert?&gt;</code>
+inserts the bibliography in-place.</li>
+<li>Debugging output is now written to stderr rather than stdout.</li>
+<li>Add <code>--help</code> and <code>--strip</code> options.</li>
+<li>Documentation improvements.</li>
+<li>Bugfix – URLs are now properly escaped in the bibliography.</li>
+</ul>
+</dd>
+</dl>
+
+<div class="signature">
+<a href="http://nxg.me.uk">Norman</a><br />
+2013 September 8
+</div>
+
+</body>
+</html>
diff --git a/biblio/bibtex/contrib/bibhtml/bibrefs.bib b/biblio/bibtex/contrib/bibhtml/bibrefs.bib
new file mode 100644
index 0000000000..76fef8e5c5
--- /dev/null
+++ b/biblio/bibtex/contrib/bibhtml/bibrefs.bib
@@ -0,0 +1,221 @@
+% Webpage with lastchecked and date
+@webpage{url:weapas,
+ url = {http://www.beadsland.com/weapas/},
+ title = {Web Extension to {American Psychological Association} Style ({WEAPAS}) (Rev.2.0)},
+ author = {B Land},
+ year = 2001,
+ month = jul,
+ lastchecked = {16 June 2008}
+}
+
+
+
+@Manual{apastyle,
+ title = {Publication Manual of the American Psychological
+ Association},
+ organization = {{American Psychological Association}},
+ edition = {6th},
+ year = 2009,
+ lastchecked = {9 August 2009},
+ url = {http://www.apastyle.org/manual/index.aspx}
+}
+
+@webpage{url:iso690,
+ author = {{International Standards Organisation}},
+ title = {{ISO 690-2}},
+ url = {http://en.wikipedia.org/wiki/ISO_690},
+ lastchecked = {9 August 2009}
+}
+
+% This one appears to be dead
+@Webpage{gone:classroom96,
+ title = {Citing Internet Addresses: how students should
+ reference online sources in their bibliographies},
+ year = 1996,
+ month = mar,
+ key = {Classroom},
+ url = "http://www.classroom.net/classroom/CitingNetResources.html"
+}
+
+@Webpage{emory95,
+ author = {{Goizueta Business Library}},
+ title = "Citation Formats",
+ date = {1997},
+ lastchecked = {9 August 2009},
+ url = {http://business.library.emory.edu/eresources/citing.html}
+}
+
+@Book{walker06,
+ author = {Janice R. Walker and Todd Taylor},
+ title = {The Columbia Guide to Online Style},
+ publisher = {Columbia University Press},
+ year = 2006,
+ edition = {2nd},
+ isbn = {978-0-231-13211-4},
+ url = {http://cup.columbia.edu/book/978-0-231-13210-7/the-columbia-guide-to-online-style},
+ lastchecked = {9 August 2009}
+}
+
+% this one appears to be dead
+@Webpage{walker-orig,
+ title = {{MLA}-Style Citations of Electronic Sources},
+ author = {Janice R. Walker},
+ url = {http://www.cas.usf.edu/english/walker/mla.html},
+ year = 1995,
+ lastchecked = {23 October 2002},
+ note = {Updated and superceded by \cite{walker}}
+}
+
+@Webpage{texfaq,
+ url = {http://www.tex.ac.uk/cgi-bin/texfaq2html?label=citeURL},
+ title = {{UK \TeX\ FAQ: URLs in BibTeX bibliographies}},
+ key = {UK TeX FAQ},
+ editor = {Robin Fairbairns},
+ year = 2002,
+ lastchecked = {16 June 2008}
+}
+
+
+
+@Webpage{url:daly,
+ url = {http://www.tex.ac.uk/tex-archive/macros/latex/contrib/custom-bib/},
+ title = {Index of custom-bib},
+ author = {Patrick W Daly},
+ year = 2003,
+ lastchecked = {4 June 2003}
+}
+
+% Following are test entries
+
+% Article with URL and lastchecked
+@article{test:towell,
+ title = {Presence in Text-Based Networked Virtual
+ Environments or `{MUDs}'},
+ author = {John Towell and Elizabeth Towell},
+ journal = {Presence},
+ volume = 6,
+ number = 5,
+ pages = {590-595},
+ year = 1997,
+ url = {http://www-unix.mcs.anl.gov/~towell/presence.html},
+ lastchecked = {13 February 2002}
+}
+
+% Book with URL, lastchecked, and note.
+@Book{test:raymond99,
+ author = {Eric S Raymond},
+ title = {The Cathedral and the Bazaar},
+ publisher = {O'Reilly},
+ year = 1999,
+ url = {http://www.tuxedo.org},
+ isbn = {1-56592-724-9},
+ lastchecked = {1 April 2002},
+ note = {The seminal book on the commercialisation of open-source}
+}
+
+% Plain book, no URLs at all
+@book{test:laurillard93,
+ author = {Diana Laurillard},
+ title = {Rethinking University Teaching},
+ publisher = {Routledge},
+ year = 1993
+}
+
+% Webpage with lastchecked but no date
+@webpage{test:iso690,
+ author = {{International Standards Organisation}},
+ title = {{ISO 690-2}},
+ url = {http://www.nlc-bnc.ca/iso/tc46sc9/standard/690-2e.htm},
+ lastchecked = {20 August 2001}
+}
+
+% Webpage with date but no lastchecked
+@Webpage{test:classroom96,
+ title = {Citing Internet Addresses: how students should
+ reference online sources in their bibliographies},
+ year = 1996,
+ month = mar,
+ key = {Classroom},
+ url = "http://www.classroom.net/classroom/CitingNetResources.html"
+}
+
+% Webpage with neither date nor lastchecked
+@Webpage{test:emory95,
+ author = "libsf@web.cc.emory.edu",
+ title = "Citation Formats",
+ url = "http://www.emory.edu/WHSCL/citation.formats.html"
+}
+
+% The same, but with no title either
+@Webpage{test:emory95x,
+ author = "libsf@web.cc.emory.edu",
+ url = "http://www.emory.edu/WHSCL/citation.formats.html"
+}
+
+% Article with eprint number
+@techreport{test:simkin,
+ author = {Mikhail Simkin and V. P. Roychowdhury},
+ title = {Read before you cite!},
+ year = 2002,
+ institution = {UCLA},
+ eprint = {cond-mat/0212043}
+}
+
+% Article with a DOI
+% an underscore
+@article{test:gray00c,
+ author = "Norman Gray",
+ title = "Automatic Reduction of Elliptic Integrals using
+ {Carlson's} Relations",
+ journal = {Mathematics of Computation},
+ volume = 71,
+ pages = {311-318},
+ year = 2002,
+ doi = {10.1090/S0025-5718-01-01333-3}
+}
+
+% Article with a PUBMED reference
+
+
+@Article{test:giffin03,
+ author = {M J Giffin and J C Stroud and D L Bates and von Koenig, K D and J Hardin and L Chen},
+ title = {Structure of {NFAT1} Bound as a Dimer to the {HIV-1 LTR} kappa {B} element},
+ journal = {Nature Structural Biology},
+ year = {2003},
+ volume = {10},
+ number = {10},
+ pages = {800-6},
+ month = oct,
+ pubmed = {12949493}
+}
+
+@ARTICLE{test:nastydoi,
+ author = {Zemla, Adam and Venclovas, Ceslovas and Moult, John and
+ Fidelis, Krzysztof},
+ title = {{P}rocessing and analysis of {CASP}3 protein structure predictions},
+ journal = {Proteins: Structure, Function, and Genetics},
+ year = {1999},
+ volume = {37},
+ pages = {22--29},
+ number = {S3},
+ month = jan,
+ comment = {Description of GDT measure.},
+ doi = {10.1002/(SICI)1097-0134(1999)37:3+<22::AID-PROT5>3.0.CO;2-W},
+ keywords = {CASP},
+ timestamp = {2007-03-13}
+}
+
+% Example from Jason Eisner, by mail (nothing special about the entry,
+% but he seemed to be having formatting problems with unsrturl and proceedings
+% entries.
+@InProceedings{test:eisner-sample,
+ author = {Damianos Karakos and Sanjeev Khudanpur and Jason
+ Eisner and Carey~E. Priebe},
+ title = {Iterative denoising using {J}ensen-{R}eny\'{\i}
+ divergences with an application to unsupervised
+ document categorization},
+ booktitle = {Proceedings of ICASSP},
+ year = 2007,
+ url = {http://cs.jhu.edu/~jason/papers/#icassp07}
+}
+
diff --git a/biblio/bibtex/contrib/bibhtml/detex.sed b/biblio/bibtex/contrib/bibhtml/detex.sed
new file mode 100644
index 0000000000..72395862fb
--- /dev/null
+++ b/biblio/bibtex/contrib/bibhtml/detex.sed
@@ -0,0 +1,57 @@
+# Edit TeXisms in the .bbl output, to make it HTML-ready
+# From bibhtml release 2.0.2, of 2013 September 8.
+# Hg node 7076ce83a035.
+# See http://purl.org/nxg/dist/bibhtml
+
+# Remove %\n line-breaks added by BibTeX
+/% *$/{
+ :a
+ N
+ s/% *\n//
+ t a
+}
+
+# Escape ampersands
+s,&,&amp;,g
+
+# Process DOI:{...} lines, escaping '<' characters in DOIs and rearranging into a <a> element
+# (the substitutions below probably rely on the "DOI:" being at the beginning of a line).
+# First, turn DOI:{X} into DOI:{X|X}
+/^ *DOI/s,DOI:{\([^}]*\)},DOI:{\1|\1},
+# Escape the two DOIs differently...
+# ...first do URL escaping
+# ...then do HTML/XML escaping
+/^ *DOI:/{
+ :bx
+ s,\([^<|]*\)<\([^|]*\)|,\1%3C\2|,
+ t bx
+ :cx
+ s,\([^<}]*\)<\([^}]*\)},\1\&lt;\2},
+ t cx
+}
+# ...and then turn the result into a <a> element
+/^ *DOI:{/s,DOI:{\([^|]*\)|\([^}]*\)},doi:<a href='http://dx.doi.org/\1'><code>\2</code></a>,
+
+# Get rid of TeX braces (I hope there aren't any of these in DOIs or other URLs)
+s/[{}]//g
+
+# Replace '~' ties with spaces, as lont as they aren't URL ".../~user"
+s,\([^/]\)~,\1 ,g
+# ...and '\ ' with plain space
+s,\\ , ,g
+
+# accented characters
+s,\\'a,á,g
+s,\\'e,é,g
+s,\\`e,è,g
+s,\\^o,ô,g
+s+\\,c+ç+g
+s,\\ss,ß,g
+s,\\"a,ä,g
+s,\\"o,ö,g
+s,\\"u,ü,g
+# We could include the following substitution, but I'm nervous of that,
+# because I'm not positive that "--" can't legitimately appear in DOIs
+# (the above substitutions are also in principle illegitimate for the same reason,
+# but they seem safely unlikely).
+#s,--,–,
diff --git a/biblio/bibtex/contrib/bibhtml/plainhtml.bst b/biblio/bibtex/contrib/bibhtml/plainhtml.bst
new file mode 100644
index 0000000000..c97d043591
--- /dev/null
+++ b/biblio/bibtex/contrib/bibhtml/plainhtml.bst
@@ -0,0 +1,1431 @@
+%% plainhtml.bst
+%%
+%% Part of bibhtml, version 2.0.2, released 2013 September 8
+%% Hg node 7076ce83a035.
+%% See <http://purl.org/nxg/dist/bibhtml>
+%%
+%% Copyright 1999, 2005, 2006, 2009, Norman Gray <norman@astro.gla.ac.uk>
+%%
+%% This is a modification of a modification!
+%%
+%%% Modification of BibTeX style file /usr/local/texlive/2008/texmf-dist/bibtex/bst/base/plain.bst
+%%% ... by urlbst, version 0.6-4 (marked with "% urlbst")
+%%% See <http://purl.org/nxg/dist/urlbst>
+%%% Added webpage entry type, and url and lastchecked fields.
+%%% Added eprint support.
+%%% Added DOI support.
+%%% Added PUBMED support.
+%%% Added hyperref support.
+%%% Original headers follow...
+
+% BibTeX standard bibliography style `plain'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ eprint % urlbst
+ doi % urlbst
+ pubmed % urlbst
+ url % urlbst
+ lastchecked % urlbst
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block doiform }
+
+STRINGS { urlintro eprinturl eprintprefix doiprefix doiurl pubmedprefix pubmedurl openinlinelink closeinlinelink } % urlbst...
+INTEGERS { inlinelinks makeinlinelink addeprints adddoiresolver addpubmedresolver }
+% Following constants may be adjusted by hand, if desired
+FUNCTION {init.urlbst.variables}
+{
+ "Available from: " 'urlintro := % prefix before URL
+ "http://arxiv.org/abs/" 'eprinturl := % prefix to make URL from eprint ref
+ "arXiv:" 'eprintprefix := % text prefix printed before eprint ref
+ "http://dx.doi.org/" 'doiurl := % prefix to make URL from DOI
+ "doi:" 'doiprefix := % text prefix printed before DOI ref
+ "http://www.ncbi.nlm.nih.gov/pubmed/" 'pubmedurl := % prefix to make URL from PUBMED
+ "PMID:" 'pubmedprefix := % text prefix printed before PUBMED ref
+ #1 'addeprints := % 0=no eprints; 1=include eprints
+ #1 'adddoiresolver := % 0=no DOI resolver; 1=include it
+ #1 'addpubmedresolver := % 0=no PUBMED resolver; 1=include it
+ #1 'inlinelinks := % 0=URLs explicit; 1=URLs attached to titles
+ #1 'doiform := % 0=simple, but can produce invalid HTML; 1=needs post-processing
+ % the following are internal state variables, not config constants
+ #0 'makeinlinelink := % state variable managed by possibly.setup.inlinelink
+ "" 'openinlinelink := % ditto
+ "" 'closeinlinelink := % ditto
+}
+INTEGERS {
+ bracket.state
+ outside.brackets
+ open.brackets
+ within.brackets
+ close.brackets
+ close.first.block
+}
+% ...urlbst to here
+FUNCTION {init.state.consts}
+{ #0 'outside.brackets := % urlbst
+ #1 'open.brackets :=
+ #2 'within.brackets :=
+ #3 'close.brackets :=
+
+ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #0 'close.first.block :=
+}
+
+STRINGS { s t }
+
+% urlbst
+FUNCTION {output.nonnull.original}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ % close the <dt> after the end of the first block
+ close.first.block
+ { "</a></dt>" write$ newline$ "<dd>" write$
+ #0 'close.first.block := }
+ { newline$ }
+ if$
+ %"\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+% urlbst...
+% The following three functions are for handling inlinelink. They wrap
+% a block of text which is potentially output with write$ by multiple
+% other functions, so we don't know the content a priori.
+% They communicate between each other using the variables makeinlinelink
+% (which is true if a link should be made), and closeinlinelink (which holds
+% the string which should close any current link. They can be called
+% at any time, but start.inlinelink will be a no-op unless something has
+% previously set makeinlinelink true, and the two ...end.inlinelink functions
+% will only do their stuff if start.inlinelink has previously set
+% closeinlinelink to be non-empty.
+FUNCTION {possibly.setup.inlinelink}
+{ makeinlinelink
+ { "<a href=" quote$ * url * quote$ * ">" * 'openinlinelink :=
+ "</a>" 'closeinlinelink :=
+ #0 'makeinlinelink := }
+ 'skip$
+ if$ % makeinlinelink
+}
+FUNCTION {add.inlinelink}
+{ openinlinelink empty$
+ 'skip$
+ { openinlinelink swap$ * closeinlinelink *
+ "" 'openinlinelink :=
+ }
+ if$
+}
+FUNCTION {output.nonnull}
+{ % Save the thing we've been asked to output
+ 's :=
+ % If the bracket-state is close.brackets, then add a close-bracket to
+ % what is currently at the top of the stack, and set bracket.state
+ % to outside.brackets
+ bracket.state close.brackets =
+ { "]" *
+ outside.brackets 'bracket.state :=
+ }
+ 'skip$
+ if$
+ bracket.state outside.brackets =
+ { % We're outside all brackets -- this is the normal situation.
+ % Write out what's currently at the top of the stack, using the
+ % original output.nonnull function.
+ s
+ add.inlinelink
+ output.nonnull.original % invoke the original output.nonnull
+ }
+ { % Still in brackets. Add open-bracket or (continuation) comma, add the
+ % new text (in s) to the top of the stack, and move to the close-brackets
+ % state, ready for next time (unless inbrackets resets it). If we come
+ % into this branch, then output.state is carefully undisturbed.
+ bracket.state open.brackets =
+ { " [" * }
+ { ", " * } % bracket.state will be within.brackets
+ if$
+ s *
+ close.brackets 'bracket.state :=
+ }
+ if$
+}
+
+% Call this function just before adding something which should be presented in
+% brackets. bracket.state is handled specially within output.nonnull.
+FUNCTION {inbrackets}
+{ bracket.state close.brackets =
+ { within.brackets 'bracket.state := } % reset the state: not open nor closed
+ { open.brackets 'bracket.state := }
+ if$
+}
+
+FUNCTION {format.lastchecked}
+{ lastchecked empty$
+ { "" }
+ { inbrackets "cited " lastchecked * }
+ if$
+}
+% ...urlbst to here
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem.original}
+{ newline$
+ "<dt><a name='" write$
+ cite$ write$
+ "'>[" cite$ * "] " * write$
+ % the <dt> is closed within output.nonnull, as long as close.first.block is true
+ #1 'close.first.block :=
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry.original}
+{ add.period$ "</dd>" *
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<em>" swap$ * "</em>" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In <em>" journal * "</em>" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " <span class='cite'>" * crossref * "</span>" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "<em>" * series * "</em>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " <span class='cite'>" * crossref * "</span>" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In <em>" booktitle * "</em>" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " <span class='cite'>" * crossref * "</span>" *
+}
+
+% urlbst...
+% Functions for making hypertext links.
+FUNCTION {make.href}
+{
+ "<a href='" swap$ * "'><code>" * swap$ * "</code></a>" *
+}
+
+% If inlinelinks is true, then format.url should be a no-op, since it's
+% (a) redundant, and (b) could end up as a link-within-a-link.
+FUNCTION {format.url}
+{ inlinelinks #1 = url empty$ or
+ { "" }
+ { urlintro "<code>" * url * "</code>" * }
+ if$
+}
+
+FUNCTION {format.eprint}
+{ eprint empty$
+ { "" }
+ { eprintprefix eprint * eprinturl eprint * make.href }
+ if$
+}
+
+FUNCTION {format.doi}
+{ doi empty$
+ { "" }
+ { doiform #0 =
+ { doiprefix doi * doiurl doi * make.href }
+ { "DOI:{" doi * "}" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pubmed}
+{ pubmed empty$
+ { "" }
+ { pubmedprefix pubmed * pubmedurl pubmed * make.href }
+ if$
+}
+
+% Output a URL. We can't use the more normal idiom (something like
+% `format.url output'), because the `inbrackets' within
+% format.lastchecked applies to everything between calls to `output',
+% so that `format.url format.lastchecked * output' ends up with both
+% the URL and the lastchecked in brackets.
+FUNCTION {output.url}
+{ url empty$
+ 'skip$
+ { new.block
+ format.url output
+ format.lastchecked output
+ }
+ if$
+}
+
+FUNCTION {output.web.refs}
+{
+ new.block
+ output.url
+ addeprints eprint empty$ not and
+ { format.eprint output.nonnull }
+ 'skip$
+ if$
+ adddoiresolver doi empty$ not and
+ { format.doi output.nonnull }
+ 'skip$
+ if$
+ addpubmedresolver pubmed empty$ not and
+ { format.pubmed output.nonnull }
+ 'skip$
+ if$
+}
+
+% Wrapper for output.bibitem.original.
+% If the URL field is not empty, set makeinlinelink to be true,
+% so that an inline link will be started at the next opportunity
+FUNCTION {output.bibitem}
+{ outside.brackets 'bracket.state :=
+ output.bibitem.original
+ inlinelinks url empty$ not and
+ { #1 'makeinlinelink := }
+ { #0 'makeinlinelink := }
+ if$
+}
+
+% Wrapper for fin.entry.original
+FUNCTION {fin.entry}
+{ output.web.refs % urlbst
+ makeinlinelink % ooops, it appears we didn't have a title for inlinelink
+ { possibly.setup.inlinelink % add some artificial link text here, as a fallback
+ "[link]" output.nonnull }
+ 'skip$
+ if$
+ bracket.state close.brackets = % urlbst
+ { "]" * }
+ 'skip$
+ if$
+ fin.entry.original
+}
+
+% Webpage entry type.
+% Title and url fields required;
+% author, note, year, month, and lastchecked fields optional
+% See references
+% ISO 690-2 http://www.nlc-bnc.ca/iso/tc46sc9/standard/690-2e.htm
+% http://www.classroom.net/classroom/CitingNetResources.html
+% http://neal.ctstateu.edu/history/cite.html
+% http://www.cas.usf.edu/english/walker/mla.html
+% for citation formats for web pages.
+FUNCTION {webpage}
+{ output.bibitem
+ author empty$
+ { editor empty$
+ 'skip$ % author and editor both optional
+ { format.editors output.nonnull }
+ if$
+ }
+ { editor empty$
+ { format.authors output.nonnull }
+ { "can't use both author and editor fields in " cite$ * warning$ }
+ if$
+ }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$
+ format.title "title" output.check
+ inbrackets "online" output
+ new.block
+ year empty$
+ 'skip$
+ { format.date "year" output.check }
+ if$
+ % We don't need to output the URL details ('lastchecked' and 'url'),
+ % because fin.entry does that for us, using output.web.refs. The only
+ % reason we would want to put them here is if we were to decide that
+ % they should go in front of the rather miscellaneous information in 'note'.
+ new.block
+ note output
+ fin.entry
+}
+% ...urlbst to here
+
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ possibly.setup.inlinelink format.vol.num.pages output% urlbst
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort.by.author}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+FUNCTION {presort.by.year}
+{ year field.or.null sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort.by.author}
+
+SORT
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "<dl>" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.urlbst.variables}
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "</dl>" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/bibhtml/plainhtmldate.bst b/biblio/bibtex/contrib/bibhtml/plainhtmldate.bst
new file mode 100644
index 0000000000..55087db870
--- /dev/null
+++ b/biblio/bibtex/contrib/bibhtml/plainhtmldate.bst
@@ -0,0 +1,1236 @@
+%%
+%% DO NOT EDIT
+%%
+%% This is plainhtmldate.bst, edited from plainhtml.bst by plainhtmldate.sed
+%%
+%% plainhtml.bst
+%%
+%% Part of bibhtml, version 2.0.2, released 2013 September 8
+%% Hg node 7076ce83a035.
+%% See <http://purl.org/nxg/dist/bibhtml>
+%%
+%% Copyright 1999, 2005, 2006, 2009, Norman Gray <norman@astro.gla.ac.uk>
+%%
+%% This is a modification of a modification!
+%%
+%%% Modification of BibTeX style file /usr/local/texlive/2008/texmf-dist/bibtex/bst/base/plain.bst
+%%% ... by urlbst, version 0.6-4 (marked with "% urlbst")
+%%% See <http://purl.org/nxg/dist/urlbst>
+%%% Added webpage entry type, and url and lastchecked fields.
+%%% Added eprint support.
+%%% Added DOI support.
+%%% Added PUBMED support.
+%%% Added hyperref support.
+%%% Original headers follow...
+ENTRY
+{ address
+author
+booktitle
+chapter
+edition
+editor
+howpublished
+institution
+journal
+key
+month
+note
+number
+organization
+pages
+publisher
+school
+series
+title
+type
+volume
+year
+eprint % urlbst
+doi % urlbst
+pubmed % urlbst
+url % urlbst
+lastchecked % urlbst
+}
+{}
+{ label }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block doiform }
+STRINGS { urlintro eprinturl eprintprefix doiprefix doiurl pubmedprefix pubmedurl openinlinelink closeinlinelink } % urlbst...
+INTEGERS { inlinelinks makeinlinelink addeprints adddoiresolver addpubmedresolver }
+FUNCTION {init.urlbst.variables}
+{
+"Available from: " 'urlintro := % prefix before URL
+"http://arxiv.org/abs/" 'eprinturl := % prefix to make URL from eprint ref
+"arXiv:" 'eprintprefix := % text prefix printed before eprint ref
+"http://dx.doi.org/" 'doiurl := % prefix to make URL from DOI
+"doi:" 'doiprefix := % text prefix printed before DOI ref
+"http://www.ncbi.nlm.nih.gov/pubmed/" 'pubmedurl := % prefix to make URL from PUBMED
+"PMID:" 'pubmedprefix := % text prefix printed before PUBMED ref
+#1 'addeprints := % 0=no eprints; 1=include eprints
+#1 'adddoiresolver := % 0=no DOI resolver; 1=include it
+#1 'addpubmedresolver := % 0=no PUBMED resolver; 1=include it
+#1 'inlinelinks := % 0=URLs explicit; 1=URLs attached to titles
+#1 'doiform := % 0=simple, but can produce invalid HTML; 1=needs post-processing
+#0 'makeinlinelink := % state variable managed by possibly.setup.inlinelink
+"" 'openinlinelink := % ditto
+"" 'closeinlinelink := % ditto
+}
+INTEGERS {
+bracket.state
+outside.brackets
+open.brackets
+within.brackets
+close.brackets
+close.first.block
+}
+FUNCTION {init.state.consts}
+{ #0 'outside.brackets := % urlbst
+#1 'open.brackets :=
+#2 'within.brackets :=
+#3 'close.brackets :=
+#0 'before.all :=
+#1 'mid.sentence :=
+#2 'after.sentence :=
+#3 'after.block :=
+#0 'close.first.block :=
+}
+STRINGS { s t }
+FUNCTION {output.nonnull.original}
+{ 's :=
+output.state mid.sentence =
+{ ", " * write$ }
+{ output.state after.block =
+{ add.period$ write$
+close.first.block
+{ "</a></dt>" write$ newline$ "<dd>" write$
+#0 'close.first.block := }
+{ newline$ }
+if$
+}
+{ output.state before.all =
+'write$
+{ add.period$ " " * write$ }
+if$
+}
+if$
+mid.sentence 'output.state :=
+}
+if$
+s
+}
+FUNCTION {possibly.setup.inlinelink}
+{ makeinlinelink
+{ "<a href=" quote$ * url * quote$ * ">" * 'openinlinelink :=
+"</a>" 'closeinlinelink :=
+#0 'makeinlinelink := }
+'skip$
+if$ % makeinlinelink
+}
+FUNCTION {add.inlinelink}
+{ openinlinelink empty$
+'skip$
+{ openinlinelink swap$ * closeinlinelink *
+"" 'openinlinelink :=
+}
+if$
+}
+FUNCTION {output.nonnull}
+{ % Save the thing we've been asked to output
+'s :=
+bracket.state close.brackets =
+{ "]" *
+outside.brackets 'bracket.state :=
+}
+'skip$
+if$
+bracket.state outside.brackets =
+{ % We're outside all brackets -- this is the normal situation.
+s
+add.inlinelink
+output.nonnull.original % invoke the original output.nonnull
+}
+{ % Still in brackets. Add open-bracket or (continuation) comma, add the
+bracket.state open.brackets =
+{ " [" * }
+{ ", " * } % bracket.state will be within.brackets
+if$
+s *
+close.brackets 'bracket.state :=
+}
+if$
+}
+FUNCTION {inbrackets}
+{ bracket.state close.brackets =
+{ within.brackets 'bracket.state := } % reset the state: not open nor closed
+{ open.brackets 'bracket.state := }
+if$
+}
+FUNCTION {format.lastchecked}
+{ lastchecked empty$
+{ "" }
+{ inbrackets "cited " lastchecked * }
+if$
+}
+FUNCTION {output}
+{ duplicate$ empty$
+'pop$
+'output.nonnull
+if$
+}
+FUNCTION {output.check}
+{ 't :=
+duplicate$ empty$
+{ pop$ "empty " t * " in " * cite$ * warning$ }
+'output.nonnull
+if$
+}
+FUNCTION {output.bibitem.original}
+{ newline$
+"<dt><a name='" write$
+cite$ write$
+"'>[" cite$ * "] " * write$
+#1 'close.first.block :=
+newline$
+""
+before.all 'output.state :=
+}
+FUNCTION {fin.entry.original}
+{ add.period$ "</dd>" *
+write$
+newline$
+}
+FUNCTION {new.block}
+{ output.state before.all =
+'skip$
+{ after.block 'output.state := }
+if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+'skip$
+{ output.state before.all =
+'skip$
+{ after.sentence 'output.state := }
+if$
+}
+if$
+}
+FUNCTION {not}
+{ { #0 }
+{ #1 }
+if$
+}
+FUNCTION {and}
+{ 'skip$
+{ pop$ #0 }
+if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+'skip$
+if$
+}
+FUNCTION {new.block.checka}
+{ empty$
+'skip$
+'new.block
+if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.block
+if$
+}
+FUNCTION {new.sentence.checka}
+{ empty$
+'skip$
+'new.sentence
+if$
+}
+FUNCTION {new.sentence.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.sentence
+if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+{ pop$ "" }
+'skip$
+if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "<em>" swap$ * "</em>" * }
+if$
+}
+INTEGERS { nameptr namesleft numnames }
+FUNCTION {format.names}
+{ 's :=
+#1 'nameptr :=
+s num.names$ 'numnames :=
+numnames 'namesleft :=
+{ namesleft #0 > }
+{ s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+nameptr #1 >
+{ namesleft #1 >
+{ ", " * t * }
+{ numnames #2 >
+{ "," * }
+'skip$
+if$
+t "others" =
+{ " et~al." * }
+{ " and " * t * }
+if$
+}
+if$
+}
+'t
+if$
+nameptr #1 + 'nameptr :=
+namesleft #1 - 'namesleft :=
+}
+while$
+}
+FUNCTION {format.authors}
+{ author empty$
+{ "" }
+{ author format.names }
+if$
+}
+FUNCTION {format.editors}
+{ editor empty$
+{ "" }
+{ editor format.names
+editor num.names$ #1 >
+{ ", editors" * }
+{ ", editor" * }
+if$
+}
+if$
+}
+FUNCTION {format.title}
+{ title empty$
+{ "" }
+{ title "t" change.case$ }
+if$
+}
+FUNCTION {n.dashify}
+{ 't :=
+""
+{ t empty$ not }
+{ t #1 #1 substring$ "-" =
+{ t #1 #2 substring$ "--" = not
+{ "--" *
+t #2 global.max$ substring$ 't :=
+}
+{ { t #1 #1 substring$ "-" = }
+{ "-" *
+t #2 global.max$ substring$ 't :=
+}
+while$
+}
+if$
+}
+{ t #1 #1 substring$ *
+t #2 global.max$ substring$ 't :=
+}
+if$
+}
+while$
+}
+FUNCTION {format.date}
+{ year empty$
+{ month empty$
+{ "" }
+{ "there's a month but no year in " cite$ * warning$
+month
+}
+if$
+}
+{ month empty$
+'year
+{ month " " * year * }
+if$
+}
+if$
+}
+FUNCTION {format.btitle}
+{ title emphasize
+}
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+{ "~" }
+{ " " }
+if$
+swap$ * *
+}
+FUNCTION {either.or.check}
+{ empty$
+'pop$
+{ "can't use both " swap$ * " fields in " * cite$ * warning$ }
+if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+{ "" }
+{ "volume" volume tie.or.space.connect
+series empty$
+'skip$
+{ " of " * series emphasize * }
+if$
+"volume and number" number either.or.check
+}
+if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+{ number empty$
+{ series field.or.null }
+{ output.state mid.sentence =
+{ "number" }
+{ "Number" }
+if$
+number tie.or.space.connect
+series empty$
+{ "there's a number but no series in " cite$ * warning$ }
+{ " in " * series * }
+if$
+}
+if$
+}
+{ "" }
+if$
+}
+FUNCTION {format.edition}
+{ edition empty$
+{ "" }
+{ output.state mid.sentence =
+{ edition "l" change.case$ " edition" * }
+{ edition "t" change.case$ " edition" * }
+if$
+}
+if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+#0 'multiresult :=
+{ multiresult not
+t empty$ not
+and
+}
+{ t #1 #1 substring$
+duplicate$ "-" =
+swap$ duplicate$ "," =
+swap$ "+" =
+or or
+{ #1 'multiresult := }
+{ t #2 global.max$ substring$ 't := }
+if$
+}
+while$
+multiresult
+}
+FUNCTION {format.pages}
+{ pages empty$
+{ "" }
+{ pages multi.page.check
+{ "pages" pages n.dashify tie.or.space.connect }
+{ "page" pages tie.or.space.connect }
+if$
+}
+if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+number empty$
+'skip$
+{ "(" number * ")" * *
+volume empty$
+{ "there's a number but no volume in " cite$ * warning$ }
+'skip$
+if$
+}
+if$
+pages empty$
+'skip$
+{ duplicate$ empty$
+{ pop$ format.pages }
+{ ":" * pages n.dashify * }
+if$
+}
+if$
+}
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+'format.pages
+{ type empty$
+{ "chapter" }
+{ type "l" change.case$ }
+if$
+chapter tie.or.space.connect
+pages empty$
+'skip$
+{ ", " * format.pages * }
+if$
+}
+if$
+}
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+{ "" }
+{ editor empty$
+{ "In " booktitle emphasize * }
+{ "In " format.editors * ", " * booktitle emphasize * }
+if$
+}
+if$
+}
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+month empty$ year empty$ note empty$
+and and and and and
+key empty$ not and
+{ "all relevant fields are empty in " cite$ * warning$ }
+'skip$
+if$
+}
+FUNCTION {format.thesis.type}
+{ type empty$
+'skip$
+{ pop$
+type "t" change.case$
+}
+if$
+}
+FUNCTION {format.tr.number}
+{ type empty$
+{ "Technical Report" }
+'type
+if$
+number empty$
+{ "t" change.case$ }
+{ number tie.or.space.connect }
+if$
+}
+FUNCTION {format.article.crossref}
+{ key empty$
+{ journal empty$
+{ "need key or journal for " cite$ * " to crossref " * crossref *
+warning$
+""
+}
+{ "In <em>" journal * "</em>" * }
+if$
+}
+{ "In " key * }
+if$
+" <span class='cite'>" * crossref * "</span>" *
+}
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+editor num.names$ duplicate$
+#2 >
+{ pop$ " et~al." * }
+{ #2 <
+'skip$
+{ editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+{ " et~al." * }
+{ " and " * editor #2 "{vv~}{ll}" format.name$ * }
+if$
+}
+if$
+}
+if$
+}
+FUNCTION {format.book.crossref}
+{ volume empty$
+{ "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+"In "
+}
+{ "Volume" volume tie.or.space.connect
+" of " *
+}
+if$
+editor empty$
+editor field.or.null author field.or.null =
+or
+{ key empty$
+{ series empty$
+{ "need editor, key, or series for " cite$ * " to crossref " *
+crossref * warning$
+"" *
+}
+{ "<em>" * series * "</em>" * }
+if$
+}
+{ key * }
+if$
+}
+{ format.crossref.editor * }
+if$
+" <span class='cite'>" * crossref * "</span>" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+editor field.or.null author field.or.null =
+or
+{ key empty$
+{ booktitle empty$
+{ "need editor, key, or booktitle for " cite$ * " to crossref " *
+crossref * warning$
+""
+}
+{ "In <em>" booktitle * "</em>" * }
+if$
+}
+{ "In " key * }
+if$
+}
+{ "In " format.crossref.editor * }
+if$
+" <span class='cite'>" * crossref * "</span>" *
+}
+FUNCTION {make.href}
+{
+"<a href='" swap$ * "'><code>" * swap$ * "</code></a>" *
+}
+FUNCTION {format.url}
+{ inlinelinks #1 = url empty$ or
+{ "" }
+{ urlintro "<code>" * url * "</code>" * }
+if$
+}
+FUNCTION {format.eprint}
+{ eprint empty$
+{ "" }
+{ eprintprefix eprint * eprinturl eprint * make.href }
+if$
+}
+FUNCTION {format.doi}
+{ doi empty$
+{ "" }
+{ doiform #0 =
+{ doiprefix doi * doiurl doi * make.href }
+{ "DOI:{" doi * "}" * }
+if$
+}
+if$
+}
+FUNCTION {format.pubmed}
+{ pubmed empty$
+{ "" }
+{ pubmedprefix pubmed * pubmedurl pubmed * make.href }
+if$
+}
+FUNCTION {output.url}
+{ url empty$
+'skip$
+{ new.block
+format.url output
+format.lastchecked output
+}
+if$
+}
+FUNCTION {output.web.refs}
+{
+new.block
+output.url
+addeprints eprint empty$ not and
+{ format.eprint output.nonnull }
+'skip$
+if$
+adddoiresolver doi empty$ not and
+{ format.doi output.nonnull }
+'skip$
+if$
+addpubmedresolver pubmed empty$ not and
+{ format.pubmed output.nonnull }
+'skip$
+if$
+}
+FUNCTION {output.bibitem}
+{ outside.brackets 'bracket.state :=
+output.bibitem.original
+inlinelinks url empty$ not and
+{ #1 'makeinlinelink := }
+{ #0 'makeinlinelink := }
+if$
+}
+FUNCTION {fin.entry}
+{ output.web.refs % urlbst
+makeinlinelink % ooops, it appears we didn't have a title for inlinelink
+{ possibly.setup.inlinelink % add some artificial link text here, as a fallback
+"[link]" output.nonnull }
+'skip$
+if$
+bracket.state close.brackets = % urlbst
+{ "]" * }
+'skip$
+if$
+fin.entry.original
+}
+FUNCTION {webpage}
+{ output.bibitem
+author empty$
+{ editor empty$
+'skip$ % author and editor both optional
+{ format.editors output.nonnull }
+if$
+}
+{ editor empty$
+{ format.authors output.nonnull }
+{ "can't use both author and editor fields in " cite$ * warning$ }
+if$
+}
+if$
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$
+format.title "title" output.check
+inbrackets "online" output
+new.block
+year empty$
+'skip$
+{ format.date "year" output.check }
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {article}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.title "title" output.check
+new.block
+crossref missing$
+{ journal emphasize "journal" output.check
+possibly.setup.inlinelink format.vol.num.pages output% urlbst
+format.date "year" output.check
+}
+{ format.article.crossref output.nonnull
+format.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+author empty$
+{ format.editors "author and editor" output.check }
+{ format.authors output.nonnull
+crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+if$
+}
+if$
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.btitle "title" output.check
+crossref missing$
+{ format.bvolume output
+new.block
+format.number.series output
+new.sentence
+publisher "publisher" output.check
+address output
+}
+{ new.block
+format.book.crossref output.nonnull
+}
+if$
+format.edition output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+format.authors output
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.title "title" output.check
+howpublished address new.block.checkb
+howpublished output
+address output
+format.date output
+new.block
+note output
+fin.entry
+}
+FUNCTION {inbook}
+{ output.bibitem
+author empty$
+{ format.editors "author and editor" output.check }
+{ format.authors output.nonnull
+crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+if$
+}
+if$
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.btitle "title" output.check
+crossref missing$
+{ format.bvolume output
+format.chapter.pages "chapter and pages" output.check
+new.block
+format.number.series output
+new.sentence
+publisher "publisher" output.check
+address output
+}
+{ format.chapter.pages "chapter and pages" output.check
+new.block
+format.book.crossref output.nonnull
+}
+if$
+format.edition output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {incollection}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.title "title" output.check
+new.block
+crossref missing$
+{ format.in.ed.booktitle "booktitle" output.check
+format.bvolume output
+format.number.series output
+format.chapter.pages output
+new.sentence
+publisher "publisher" output.check
+address output
+format.edition output
+format.date "year" output.check
+}
+{ format.incoll.inproc.crossref output.nonnull
+format.chapter.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.title "title" output.check
+new.block
+crossref missing$
+{ format.in.ed.booktitle "booktitle" output.check
+format.bvolume output
+format.number.series output
+format.pages output
+address empty$
+{ organization publisher new.sentence.checkb
+organization output
+publisher output
+format.date "year" output.check
+}
+{ address output.nonnull
+format.date "year" output.check
+new.sentence
+organization output
+publisher output
+}
+if$
+}
+{ format.incoll.inproc.crossref output.nonnull
+format.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+author empty$
+{ organization empty$
+'skip$
+{ organization output.nonnull
+address output
+}
+if$
+}
+{ format.authors output.nonnull }
+if$
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.btitle "title" output.check
+author empty$
+{ organization empty$
+{ address new.block.checka
+address output
+}
+'skip$
+if$
+}
+{ organization address new.block.checkb
+organization output
+address output
+}
+if$
+format.edition output
+format.date output
+new.block
+note output
+fin.entry
+}
+FUNCTION {mastersthesis}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.title "title" output.check
+new.block
+"Master's thesis" format.thesis.type output.nonnull
+school "school" output.check
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {misc}
+{ output.bibitem
+format.authors output
+title howpublished new.block.checkb
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.title output
+howpublished new.block.checka
+howpublished output
+format.date output
+new.block
+note output
+fin.entry
+empty.misc.check
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.btitle "title" output.check
+new.block
+"PhD thesis" format.thesis.type output.nonnull
+school "school" output.check
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {proceedings}
+{ output.bibitem
+editor empty$
+{ organization output }
+{ format.editors output.nonnull }
+if$
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.btitle "title" output.check
+format.bvolume output
+format.number.series output
+address empty$
+{ editor empty$
+{ publisher new.sentence.checka }
+{ organization publisher new.sentence.checkb
+organization output
+}
+if$
+publisher output
+format.date "year" output.check
+}
+{ address output.nonnull
+format.date "year" output.check
+new.sentence
+editor empty$
+'skip$
+{ organization output }
+if$
+publisher output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {techreport}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.title "title" output.check
+new.block
+format.tr.number output.nonnull
+institution "institution" output.check
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {unpublished}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.title "title" output.check
+new.block
+note "note" output.check
+format.date output
+fin.entry
+}
+FUNCTION {default.type} { misc }
+MACRO {jan} {"January"}
+MACRO {feb} {"February"}
+MACRO {mar} {"March"}
+MACRO {apr} {"April"}
+MACRO {may} {"May"}
+MACRO {jun} {"June"}
+MACRO {jul} {"July"}
+MACRO {aug} {"August"}
+MACRO {sep} {"September"}
+MACRO {oct} {"October"}
+MACRO {nov} {"November"}
+MACRO {dec} {"December"}
+MACRO {acmcs} {"ACM Computing Surveys"}
+MACRO {acta} {"Acta Informatica"}
+MACRO {cacm} {"Communications of the ACM"}
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+MACRO {ibmsj} {"IBM Systems Journal"}
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+MACRO {ieeetcad}
+{"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+MACRO {ipl} {"Information Processing Letters"}
+MACRO {jacm} {"Journal of the ACM"}
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+MACRO {scp} {"Science of Computer Programming"}
+MACRO {sicomp} {"SIAM Journal on Computing"}
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+MACRO {tods} {"ACM Transactions on Database Systems"}
+MACRO {tog} {"ACM Transactions on Graphics"}
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+MACRO {tcs} {"Theoretical Computer Science"}
+READ
+FUNCTION {sortify}
+{ purify$
+"l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+'len :=
+s #1 len substring$ =
+{ s len #1 + global.max$ substring$ }
+'s
+if$
+}
+FUNCTION {sort.format.names}
+{ 's :=
+#1 'nameptr :=
+""
+s num.names$ 'numnames :=
+numnames 'namesleft :=
+{ namesleft #0 > }
+{ nameptr #1 >
+{ " " * }
+'skip$
+if$
+s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+nameptr numnames = t "others" = and
+{ "et al" * }
+{ t sortify * }
+if$
+nameptr #1 + 'nameptr :=
+namesleft #1 - 'namesleft :=
+}
+while$
+}
+FUNCTION {sort.format.title}
+{ 't :=
+"A " #2
+"An " #3
+"The " #4 t chop.word
+chop.word
+chop.word
+sortify
+#1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+{ key empty$
+{ "to sort, need author or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+{ editor empty$
+{ key empty$
+{ "to sort, need author, editor, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ editor sort.format.names }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {author.organization.sort}
+{ author empty$
+{ organization empty$
+{ key empty$
+{ "to sort, need author, organization, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ "The " #4 organization chop.word sortify }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {editor.organization.sort}
+{ editor empty$
+{ organization empty$
+{ key empty$
+{ "to sort, need editor, organization, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ "The " #4 organization chop.word sortify }
+if$
+}
+{ editor sort.format.names }
+if$
+}
+FUNCTION {presort.by.author}
+{ type$ "book" =
+type$ "inbook" =
+or
+'author.editor.sort
+{ type$ "proceedings" =
+'editor.organization.sort
+{ type$ "manual" =
+'author.organization.sort
+'author.sort
+if$
+}
+if$
+}
+if$
+" "
+*
+year field.or.null sortify
+*
+" "
+*
+title field.or.null
+sort.format.title
+*
+#1 entry.max$ substring$
+'sort.key$ :=
+}
+FUNCTION {presort.by.year}
+{ year field.or.null sortify
+" "
+*
+type$ "book" =
+type$ "inbook" =
+or
+'author.editor.sort
+{ type$ "proceedings" =
+'editor.organization.sort
+{ type$ "manual" =
+'author.organization.sort
+'author.sort
+if$
+}
+if$
+}
+if$
+*
+" "
+*
+title field.or.null
+sort.format.title
+*
+#1 entry.max$ substring$
+'sort.key$ :=
+}
+ITERATE {presort.by.year}
+SORT
+STRINGS { longest.label }
+INTEGERS { number.label longest.label.width }
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+#1 'number.label :=
+#0 'longest.label.width :=
+}
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+number.label #1 + 'number.label :=
+label width$ longest.label.width >
+{ label 'longest.label :=
+label width$ 'longest.label.width :=
+}
+'skip$
+if$
+}
+EXECUTE {initialize.longest.label}
+ITERATE {longest.label.pass}
+FUNCTION {begin.bib}
+{ preamble$ empty$
+'skip$
+{ preamble$ write$ newline$ }
+if$
+"<dl>" write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.urlbst.variables}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+"</dl>" write$ newline$
+}
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/bibhtml/plainhtmldater.bst b/biblio/bibtex/contrib/bibhtml/plainhtmldater.bst
new file mode 100644
index 0000000000..d3b969ac61
--- /dev/null
+++ b/biblio/bibtex/contrib/bibhtml/plainhtmldater.bst
@@ -0,0 +1,1236 @@
+%%
+%% DO NOT EDIT
+%%
+%% This is plainhtmldater.bst, edited from plainhtml.bst by plainhtmldater.sed
+%%
+%% plainhtml.bst
+%%
+%% Part of bibhtml, version 2.0.2, released 2013 September 8
+%% Hg node 7076ce83a035.
+%% See <http://purl.org/nxg/dist/bibhtml>
+%%
+%% Copyright 1999, 2005, 2006, 2009, Norman Gray <norman@astro.gla.ac.uk>
+%%
+%% This is a modification of a modification!
+%%
+%%% Modification of BibTeX style file /usr/local/texlive/2008/texmf-dist/bibtex/bst/base/plain.bst
+%%% ... by urlbst, version 0.6-4 (marked with "% urlbst")
+%%% See <http://purl.org/nxg/dist/urlbst>
+%%% Added webpage entry type, and url and lastchecked fields.
+%%% Added eprint support.
+%%% Added DOI support.
+%%% Added PUBMED support.
+%%% Added hyperref support.
+%%% Original headers follow...
+ENTRY
+{ address
+author
+booktitle
+chapter
+edition
+editor
+howpublished
+institution
+journal
+key
+month
+note
+number
+organization
+pages
+publisher
+school
+series
+title
+type
+volume
+year
+eprint % urlbst
+doi % urlbst
+pubmed % urlbst
+url % urlbst
+lastchecked % urlbst
+}
+{}
+{ label }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block doiform }
+STRINGS { urlintro eprinturl eprintprefix doiprefix doiurl pubmedprefix pubmedurl openinlinelink closeinlinelink } % urlbst...
+INTEGERS { inlinelinks makeinlinelink addeprints adddoiresolver addpubmedresolver }
+FUNCTION {init.urlbst.variables}
+{
+"Available from: " 'urlintro := % prefix before URL
+"http://arxiv.org/abs/" 'eprinturl := % prefix to make URL from eprint ref
+"arXiv:" 'eprintprefix := % text prefix printed before eprint ref
+"http://dx.doi.org/" 'doiurl := % prefix to make URL from DOI
+"doi:" 'doiprefix := % text prefix printed before DOI ref
+"http://www.ncbi.nlm.nih.gov/pubmed/" 'pubmedurl := % prefix to make URL from PUBMED
+"PMID:" 'pubmedprefix := % text prefix printed before PUBMED ref
+#1 'addeprints := % 0=no eprints; 1=include eprints
+#1 'adddoiresolver := % 0=no DOI resolver; 1=include it
+#1 'addpubmedresolver := % 0=no PUBMED resolver; 1=include it
+#1 'inlinelinks := % 0=URLs explicit; 1=URLs attached to titles
+#1 'doiform := % 0=simple, but can produce invalid HTML; 1=needs post-processing
+#0 'makeinlinelink := % state variable managed by possibly.setup.inlinelink
+"" 'openinlinelink := % ditto
+"" 'closeinlinelink := % ditto
+}
+INTEGERS {
+bracket.state
+outside.brackets
+open.brackets
+within.brackets
+close.brackets
+close.first.block
+}
+FUNCTION {init.state.consts}
+{ #0 'outside.brackets := % urlbst
+#1 'open.brackets :=
+#2 'within.brackets :=
+#3 'close.brackets :=
+#0 'before.all :=
+#1 'mid.sentence :=
+#2 'after.sentence :=
+#3 'after.block :=
+#0 'close.first.block :=
+}
+STRINGS { s t }
+FUNCTION {output.nonnull.original}
+{ 's :=
+output.state mid.sentence =
+{ ", " * write$ }
+{ output.state after.block =
+{ add.period$ write$
+close.first.block
+{ "</a></dt>" write$ newline$ "<dd>" write$
+#0 'close.first.block := }
+{ newline$ }
+if$
+}
+{ output.state before.all =
+'write$
+{ add.period$ " " * write$ }
+if$
+}
+if$
+mid.sentence 'output.state :=
+}
+if$
+s
+}
+FUNCTION {possibly.setup.inlinelink}
+{ makeinlinelink
+{ "<a href=" quote$ * url * quote$ * ">" * 'openinlinelink :=
+"</a>" 'closeinlinelink :=
+#0 'makeinlinelink := }
+'skip$
+if$ % makeinlinelink
+}
+FUNCTION {add.inlinelink}
+{ openinlinelink empty$
+'skip$
+{ openinlinelink swap$ * closeinlinelink *
+"" 'openinlinelink :=
+}
+if$
+}
+FUNCTION {output.nonnull}
+{ % Save the thing we've been asked to output
+'s :=
+bracket.state close.brackets =
+{ "]" *
+outside.brackets 'bracket.state :=
+}
+'skip$
+if$
+bracket.state outside.brackets =
+{ % We're outside all brackets -- this is the normal situation.
+s
+add.inlinelink
+output.nonnull.original % invoke the original output.nonnull
+}
+{ % Still in brackets. Add open-bracket or (continuation) comma, add the
+bracket.state open.brackets =
+{ " [" * }
+{ ", " * } % bracket.state will be within.brackets
+if$
+s *
+close.brackets 'bracket.state :=
+}
+if$
+}
+FUNCTION {inbrackets}
+{ bracket.state close.brackets =
+{ within.brackets 'bracket.state := } % reset the state: not open nor closed
+{ open.brackets 'bracket.state := }
+if$
+}
+FUNCTION {format.lastchecked}
+{ lastchecked empty$
+{ "" }
+{ inbrackets "cited " lastchecked * }
+if$
+}
+FUNCTION {output}
+{ duplicate$ empty$
+'pop$
+'output.nonnull
+if$
+}
+FUNCTION {output.check}
+{ 't :=
+duplicate$ empty$
+{ pop$ "empty " t * " in " * cite$ * warning$ }
+'output.nonnull
+if$
+}
+FUNCTION {output.bibitem.original}
+{ newline$
+"<dt><a name='" write$
+cite$ write$
+"'>[" cite$ * "] " * write$
+#1 'close.first.block :=
+newline$
+""
+before.all 'output.state :=
+}
+FUNCTION {fin.entry.original}
+{ add.period$ "</dd>" *
+write$
+newline$
+}
+FUNCTION {new.block}
+{ output.state before.all =
+'skip$
+{ after.block 'output.state := }
+if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+'skip$
+{ output.state before.all =
+'skip$
+{ after.sentence 'output.state := }
+if$
+}
+if$
+}
+FUNCTION {not}
+{ { #0 }
+{ #1 }
+if$
+}
+FUNCTION {and}
+{ 'skip$
+{ pop$ #0 }
+if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+'skip$
+if$
+}
+FUNCTION {new.block.checka}
+{ empty$
+'skip$
+'new.block
+if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.block
+if$
+}
+FUNCTION {new.sentence.checka}
+{ empty$
+'skip$
+'new.sentence
+if$
+}
+FUNCTION {new.sentence.checkb}
+{ empty$
+swap$ empty$
+and
+'skip$
+'new.sentence
+if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+{ pop$ "" }
+'skip$
+if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+{ pop$ "" }
+{ "<em>" swap$ * "</em>" * }
+if$
+}
+INTEGERS { nameptr namesleft numnames }
+FUNCTION {format.names}
+{ 's :=
+#1 'nameptr :=
+s num.names$ 'numnames :=
+numnames 'namesleft :=
+{ namesleft #0 > }
+{ s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+nameptr #1 >
+{ namesleft #1 >
+{ ", " * t * }
+{ numnames #2 >
+{ "," * }
+'skip$
+if$
+t "others" =
+{ " et~al." * }
+{ " and " * t * }
+if$
+}
+if$
+}
+'t
+if$
+nameptr #1 + 'nameptr :=
+namesleft #1 - 'namesleft :=
+}
+while$
+}
+FUNCTION {format.authors}
+{ author empty$
+{ "" }
+{ author format.names }
+if$
+}
+FUNCTION {format.editors}
+{ editor empty$
+{ "" }
+{ editor format.names
+editor num.names$ #1 >
+{ ", editors" * }
+{ ", editor" * }
+if$
+}
+if$
+}
+FUNCTION {format.title}
+{ title empty$
+{ "" }
+{ title "t" change.case$ }
+if$
+}
+FUNCTION {n.dashify}
+{ 't :=
+""
+{ t empty$ not }
+{ t #1 #1 substring$ "-" =
+{ t #1 #2 substring$ "--" = not
+{ "--" *
+t #2 global.max$ substring$ 't :=
+}
+{ { t #1 #1 substring$ "-" = }
+{ "-" *
+t #2 global.max$ substring$ 't :=
+}
+while$
+}
+if$
+}
+{ t #1 #1 substring$ *
+t #2 global.max$ substring$ 't :=
+}
+if$
+}
+while$
+}
+FUNCTION {format.date}
+{ year empty$
+{ month empty$
+{ "" }
+{ "there's a month but no year in " cite$ * warning$
+month
+}
+if$
+}
+{ month empty$
+'year
+{ month " " * year * }
+if$
+}
+if$
+}
+FUNCTION {format.btitle}
+{ title emphasize
+}
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+{ "~" }
+{ " " }
+if$
+swap$ * *
+}
+FUNCTION {either.or.check}
+{ empty$
+'pop$
+{ "can't use both " swap$ * " fields in " * cite$ * warning$ }
+if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+{ "" }
+{ "volume" volume tie.or.space.connect
+series empty$
+'skip$
+{ " of " * series emphasize * }
+if$
+"volume and number" number either.or.check
+}
+if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+{ number empty$
+{ series field.or.null }
+{ output.state mid.sentence =
+{ "number" }
+{ "Number" }
+if$
+number tie.or.space.connect
+series empty$
+{ "there's a number but no series in " cite$ * warning$ }
+{ " in " * series * }
+if$
+}
+if$
+}
+{ "" }
+if$
+}
+FUNCTION {format.edition}
+{ edition empty$
+{ "" }
+{ output.state mid.sentence =
+{ edition "l" change.case$ " edition" * }
+{ edition "t" change.case$ " edition" * }
+if$
+}
+if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+#0 'multiresult :=
+{ multiresult not
+t empty$ not
+and
+}
+{ t #1 #1 substring$
+duplicate$ "-" =
+swap$ duplicate$ "," =
+swap$ "+" =
+or or
+{ #1 'multiresult := }
+{ t #2 global.max$ substring$ 't := }
+if$
+}
+while$
+multiresult
+}
+FUNCTION {format.pages}
+{ pages empty$
+{ "" }
+{ pages multi.page.check
+{ "pages" pages n.dashify tie.or.space.connect }
+{ "page" pages tie.or.space.connect }
+if$
+}
+if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+number empty$
+'skip$
+{ "(" number * ")" * *
+volume empty$
+{ "there's a number but no volume in " cite$ * warning$ }
+'skip$
+if$
+}
+if$
+pages empty$
+'skip$
+{ duplicate$ empty$
+{ pop$ format.pages }
+{ ":" * pages n.dashify * }
+if$
+}
+if$
+}
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+'format.pages
+{ type empty$
+{ "chapter" }
+{ type "l" change.case$ }
+if$
+chapter tie.or.space.connect
+pages empty$
+'skip$
+{ ", " * format.pages * }
+if$
+}
+if$
+}
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+{ "" }
+{ editor empty$
+{ "In " booktitle emphasize * }
+{ "In " format.editors * ", " * booktitle emphasize * }
+if$
+}
+if$
+}
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+month empty$ year empty$ note empty$
+and and and and and
+key empty$ not and
+{ "all relevant fields are empty in " cite$ * warning$ }
+'skip$
+if$
+}
+FUNCTION {format.thesis.type}
+{ type empty$
+'skip$
+{ pop$
+type "t" change.case$
+}
+if$
+}
+FUNCTION {format.tr.number}
+{ type empty$
+{ "Technical Report" }
+'type
+if$
+number empty$
+{ "t" change.case$ }
+{ number tie.or.space.connect }
+if$
+}
+FUNCTION {format.article.crossref}
+{ key empty$
+{ journal empty$
+{ "need key or journal for " cite$ * " to crossref " * crossref *
+warning$
+""
+}
+{ "In <em>" journal * "</em>" * }
+if$
+}
+{ "In " key * }
+if$
+" <span class='cite'>" * crossref * "</span>" *
+}
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+editor num.names$ duplicate$
+#2 >
+{ pop$ " et~al." * }
+{ #2 <
+'skip$
+{ editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+{ " et~al." * }
+{ " and " * editor #2 "{vv~}{ll}" format.name$ * }
+if$
+}
+if$
+}
+if$
+}
+FUNCTION {format.book.crossref}
+{ volume empty$
+{ "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+"In "
+}
+{ "Volume" volume tie.or.space.connect
+" of " *
+}
+if$
+editor empty$
+editor field.or.null author field.or.null =
+or
+{ key empty$
+{ series empty$
+{ "need editor, key, or series for " cite$ * " to crossref " *
+crossref * warning$
+"" *
+}
+{ "<em>" * series * "</em>" * }
+if$
+}
+{ key * }
+if$
+}
+{ format.crossref.editor * }
+if$
+" <span class='cite'>" * crossref * "</span>" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+editor field.or.null author field.or.null =
+or
+{ key empty$
+{ booktitle empty$
+{ "need editor, key, or booktitle for " cite$ * " to crossref " *
+crossref * warning$
+""
+}
+{ "In <em>" booktitle * "</em>" * }
+if$
+}
+{ "In " key * }
+if$
+}
+{ "In " format.crossref.editor * }
+if$
+" <span class='cite'>" * crossref * "</span>" *
+}
+FUNCTION {make.href}
+{
+"<a href='" swap$ * "'><code>" * swap$ * "</code></a>" *
+}
+FUNCTION {format.url}
+{ inlinelinks #1 = url empty$ or
+{ "" }
+{ urlintro "<code>" * url * "</code>" * }
+if$
+}
+FUNCTION {format.eprint}
+{ eprint empty$
+{ "" }
+{ eprintprefix eprint * eprinturl eprint * make.href }
+if$
+}
+FUNCTION {format.doi}
+{ doi empty$
+{ "" }
+{ doiform #0 =
+{ doiprefix doi * doiurl doi * make.href }
+{ "DOI:{" doi * "}" * }
+if$
+}
+if$
+}
+FUNCTION {format.pubmed}
+{ pubmed empty$
+{ "" }
+{ pubmedprefix pubmed * pubmedurl pubmed * make.href }
+if$
+}
+FUNCTION {output.url}
+{ url empty$
+'skip$
+{ new.block
+format.url output
+format.lastchecked output
+}
+if$
+}
+FUNCTION {output.web.refs}
+{
+new.block
+output.url
+addeprints eprint empty$ not and
+{ format.eprint output.nonnull }
+'skip$
+if$
+adddoiresolver doi empty$ not and
+{ format.doi output.nonnull }
+'skip$
+if$
+addpubmedresolver pubmed empty$ not and
+{ format.pubmed output.nonnull }
+'skip$
+if$
+}
+FUNCTION {output.bibitem}
+{ outside.brackets 'bracket.state :=
+output.bibitem.original
+inlinelinks url empty$ not and
+{ #1 'makeinlinelink := }
+{ #0 'makeinlinelink := }
+if$
+}
+FUNCTION {fin.entry}
+{ output.web.refs % urlbst
+makeinlinelink % ooops, it appears we didn't have a title for inlinelink
+{ possibly.setup.inlinelink % add some artificial link text here, as a fallback
+"[link]" output.nonnull }
+'skip$
+if$
+bracket.state close.brackets = % urlbst
+{ "]" * }
+'skip$
+if$
+fin.entry.original
+}
+FUNCTION {webpage}
+{ output.bibitem
+author empty$
+{ editor empty$
+'skip$ % author and editor both optional
+{ format.editors output.nonnull }
+if$
+}
+{ editor empty$
+{ format.authors output.nonnull }
+{ "can't use both author and editor fields in " cite$ * warning$ }
+if$
+}
+if$
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$
+format.title "title" output.check
+inbrackets "online" output
+new.block
+year empty$
+'skip$
+{ format.date "year" output.check }
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {article}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.title "title" output.check
+new.block
+crossref missing$
+{ journal emphasize "journal" output.check
+possibly.setup.inlinelink format.vol.num.pages output% urlbst
+format.date "year" output.check
+}
+{ format.article.crossref output.nonnull
+format.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+author empty$
+{ format.editors "author and editor" output.check }
+{ format.authors output.nonnull
+crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+if$
+}
+if$
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.btitle "title" output.check
+crossref missing$
+{ format.bvolume output
+new.block
+format.number.series output
+new.sentence
+publisher "publisher" output.check
+address output
+}
+{ new.block
+format.book.crossref output.nonnull
+}
+if$
+format.edition output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+format.authors output
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.title "title" output.check
+howpublished address new.block.checkb
+howpublished output
+address output
+format.date output
+new.block
+note output
+fin.entry
+}
+FUNCTION {inbook}
+{ output.bibitem
+author empty$
+{ format.editors "author and editor" output.check }
+{ format.authors output.nonnull
+crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+if$
+}
+if$
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.btitle "title" output.check
+crossref missing$
+{ format.bvolume output
+format.chapter.pages "chapter and pages" output.check
+new.block
+format.number.series output
+new.sentence
+publisher "publisher" output.check
+address output
+}
+{ format.chapter.pages "chapter and pages" output.check
+new.block
+format.book.crossref output.nonnull
+}
+if$
+format.edition output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {incollection}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.title "title" output.check
+new.block
+crossref missing$
+{ format.in.ed.booktitle "booktitle" output.check
+format.bvolume output
+format.number.series output
+format.chapter.pages output
+new.sentence
+publisher "publisher" output.check
+address output
+format.edition output
+format.date "year" output.check
+}
+{ format.incoll.inproc.crossref output.nonnull
+format.chapter.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.title "title" output.check
+new.block
+crossref missing$
+{ format.in.ed.booktitle "booktitle" output.check
+format.bvolume output
+format.number.series output
+format.pages output
+address empty$
+{ organization publisher new.sentence.checkb
+organization output
+publisher output
+format.date "year" output.check
+}
+{ address output.nonnull
+format.date "year" output.check
+new.sentence
+organization output
+publisher output
+}
+if$
+}
+{ format.incoll.inproc.crossref output.nonnull
+format.pages output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+author empty$
+{ organization empty$
+'skip$
+{ organization output.nonnull
+address output
+}
+if$
+}
+{ format.authors output.nonnull }
+if$
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.btitle "title" output.check
+author empty$
+{ organization empty$
+{ address new.block.checka
+address output
+}
+'skip$
+if$
+}
+{ organization address new.block.checkb
+organization output
+address output
+}
+if$
+format.edition output
+format.date output
+new.block
+note output
+fin.entry
+}
+FUNCTION {mastersthesis}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.title "title" output.check
+new.block
+"Master's thesis" format.thesis.type output.nonnull
+school "school" output.check
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {misc}
+{ output.bibitem
+format.authors output
+title howpublished new.block.checkb
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.title output
+howpublished new.block.checka
+howpublished output
+format.date output
+new.block
+note output
+fin.entry
+empty.misc.check
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.btitle "title" output.check
+new.block
+"PhD thesis" format.thesis.type output.nonnull
+school "school" output.check
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {proceedings}
+{ output.bibitem
+editor empty$
+{ organization output }
+{ format.editors output.nonnull }
+if$
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.btitle "title" output.check
+format.bvolume output
+format.number.series output
+address empty$
+{ editor empty$
+{ publisher new.sentence.checka }
+{ organization publisher new.sentence.checkb
+organization output
+}
+if$
+publisher output
+format.date "year" output.check
+}
+{ address output.nonnull
+format.date "year" output.check
+new.sentence
+editor empty$
+'skip$
+{ organization output }
+if$
+publisher output
+}
+if$
+new.block
+note output
+fin.entry
+}
+FUNCTION {techreport}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.title "title" output.check
+new.block
+format.tr.number output.nonnull
+institution "institution" output.check
+address output
+format.date "year" output.check
+new.block
+note output
+fin.entry
+}
+FUNCTION {unpublished}
+{ output.bibitem
+format.authors "author" output.check
+new.block
+title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+format.title "title" output.check
+new.block
+note "note" output.check
+format.date output
+fin.entry
+}
+FUNCTION {default.type} { misc }
+MACRO {jan} {"January"}
+MACRO {feb} {"February"}
+MACRO {mar} {"March"}
+MACRO {apr} {"April"}
+MACRO {may} {"May"}
+MACRO {jun} {"June"}
+MACRO {jul} {"July"}
+MACRO {aug} {"August"}
+MACRO {sep} {"September"}
+MACRO {oct} {"October"}
+MACRO {nov} {"November"}
+MACRO {dec} {"December"}
+MACRO {acmcs} {"ACM Computing Surveys"}
+MACRO {acta} {"Acta Informatica"}
+MACRO {cacm} {"Communications of the ACM"}
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+MACRO {ibmsj} {"IBM Systems Journal"}
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+MACRO {ieeetcad}
+{"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+MACRO {ipl} {"Information Processing Letters"}
+MACRO {jacm} {"Journal of the ACM"}
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+MACRO {scp} {"Science of Computer Programming"}
+MACRO {sicomp} {"SIAM Journal on Computing"}
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+MACRO {tods} {"ACM Transactions on Database Systems"}
+MACRO {tog} {"ACM Transactions on Graphics"}
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+MACRO {tcs} {"Theoretical Computer Science"}
+READ
+FUNCTION {sortify}
+{ purify$
+"l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+'len :=
+s #1 len substring$ =
+{ s len #1 + global.max$ substring$ }
+'s
+if$
+}
+FUNCTION {sort.format.names}
+{ 's :=
+#1 'nameptr :=
+""
+s num.names$ 'numnames :=
+numnames 'namesleft :=
+{ namesleft #0 > }
+{ nameptr #1 >
+{ " " * }
+'skip$
+if$
+s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+nameptr numnames = t "others" = and
+{ "et al" * }
+{ t sortify * }
+if$
+nameptr #1 + 'nameptr :=
+namesleft #1 - 'namesleft :=
+}
+while$
+}
+FUNCTION {sort.format.title}
+{ 't :=
+"A " #2
+"An " #3
+"The " #4 t chop.word
+chop.word
+chop.word
+sortify
+#1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+{ key empty$
+{ "to sort, need author or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+{ editor empty$
+{ key empty$
+{ "to sort, need author, editor, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ editor sort.format.names }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {author.organization.sort}
+{ author empty$
+{ organization empty$
+{ key empty$
+{ "to sort, need author, organization, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ "The " #4 organization chop.word sortify }
+if$
+}
+{ author sort.format.names }
+if$
+}
+FUNCTION {editor.organization.sort}
+{ editor empty$
+{ organization empty$
+{ key empty$
+{ "to sort, need editor, organization, or key in " cite$ * warning$
+""
+}
+{ key sortify }
+if$
+}
+{ "The " #4 organization chop.word sortify }
+if$
+}
+{ editor sort.format.names }
+if$
+}
+FUNCTION {presort.by.author}
+{ type$ "book" =
+type$ "inbook" =
+or
+'author.editor.sort
+{ type$ "proceedings" =
+'editor.organization.sort
+{ type$ "manual" =
+'author.organization.sort
+'author.sort
+if$
+}
+if$
+}
+if$
+" "
+*
+year field.or.null sortify
+*
+" "
+*
+title field.or.null
+sort.format.title
+*
+#1 entry.max$ substring$
+'sort.key$ :=
+}
+FUNCTION {presort.by.year}
+{ year field.or.null sortify
+" "
+*
+type$ "book" =
+type$ "inbook" =
+or
+'author.editor.sort
+{ type$ "proceedings" =
+'editor.organization.sort
+{ type$ "manual" =
+'author.organization.sort
+'author.sort
+if$
+}
+if$
+}
+if$
+*
+" "
+*
+title field.or.null
+sort.format.title
+*
+#1 entry.max$ substring$
+'sort.key$ :=
+}
+ITERATE {presort.by.year}
+SORT
+STRINGS { longest.label }
+INTEGERS { number.label longest.label.width }
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+#1 'number.label :=
+#0 'longest.label.width :=
+}
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+number.label #1 + 'number.label :=
+label width$ longest.label.width >
+{ label 'longest.label :=
+label width$ 'longest.label.width :=
+}
+'skip$
+if$
+}
+EXECUTE {initialize.longest.label}
+ITERATE {longest.label.pass}
+FUNCTION {begin.bib}
+{ preamble$ empty$
+'skip$
+{ preamble$ write$ newline$ }
+if$
+"<dl>" write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.urlbst.variables}
+EXECUTE {init.state.consts}
+REVERSE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+"</dl>" write$ newline$
+}
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/bibhtml/style.css b/biblio/bibtex/contrib/bibhtml/style.css
new file mode 100644
index 0000000000..946d11a6a5
--- /dev/null
+++ b/biblio/bibtex/contrib/bibhtml/style.css
@@ -0,0 +1,260 @@
+body {
+ color: #333;
+ background: white;
+ margin-left: +30%;
+ width: 50%; /* body is 50% of screen width */
+ padding: 0.5em; /* this will make a difference if I decide to
+ have the background a different colour */
+ /* I can't decide on font: Optima's always nice, but Gill looks
+ agreeably intense. Helvetica's a decent fallback. */
+ font-family: "Helvetica Neue", Helvetica, "Gill Sans", gill, sans-serif;
+ /* font-family: Optima, "Gill Sans", gill, Helvetica, sans-serif; */
+ /* font-family: "Gill Sans", gill, Helvetica, sans-serif; */
+ /* I seem to have used 11pt at some point in the past, but this
+ is far too big -- did I ever have a reason for that, or is it
+ just due to browser changes? */
+ font-size: 10pt;
+ line-height: 150%;
+}
+
+/* adapt to wider screens */
+@media screen and (min-width: 700pt) {
+ body {
+ margin-left: 210pt;
+ width: 350pt;
+ }
+}
+
+/* The following appears not to work in Safari or Chrome
+ -- don't know why, yet.
+@media print {
+ @page :right {
+ size: auto;
+ body {
+ margin-top: 2cm;
+ margin-bottom: 3cm;
+ margin-left: 10%;
+ width: 60%;
+ margin-right: 30%;
+ color: #d33;
+ }
+ }
+ @page :left {
+ size: auto;
+ body {
+ margin-top: 2cm;
+ margin-bottom: 3cm;
+ margin-left: 30%;
+ width: 60%;
+ margin-right: 10%;
+ color: #33d;
+ }
+ }
+}
+*/
+
+div.topsidebar {
+ float: right;
+ width: 50%; /* ...of the body width (ie, 50% x 50% of screen) */
+ font-size: smaller;
+ margin-left: 1em;
+ padding-left: 1em;
+ border-left: solid thin #AAA;
+}
+
+/* On wider screens, move the sidebar out to the right hand side */
+/* This uses CSS3 media queries: http://www.w3.org/TR/css3-mediaqueries/ */
+@media screen and (min-width: 700pt) and (max-width: 850pt) {
+ body {
+ margin-left: 210pt;
+ width: 350pt; /* 50% of 700pt */
+ margin-right: auto;
+ }
+ div.topsidebar {
+ position: absolute;
+ /* I feel this size should be 595pt (350 + 210 + 0.05*700),
+ but that's clearly not right -- I don't think I understand what the -5%
+ in the h1 spec below is actually 5% of! */
+ left: 570pt;
+ width: auto;
+ margin-left: 0pt;
+ padding-left: 0pt;
+ border: none;
+ }
+}
+/* On still-wider screens, expand the left-margin, keeping the sidebar attached to the right-hand edge.
+ When the screen is 850pt wide (expanding from the @media case above),
+ the left margin will be 210pt, the width 350pt, and the right margin therefore 290pt.*/
+@media screen and (min-width: 850pt) {
+ body {
+ margin-right: 290pt; /* 290 = 850-(210+350) */
+ width: 350pt;
+ margin-left: auto; /* ...takes up the slack */
+ }
+ div.topsidebar {
+ position: absolute;
+ width: 290pt; /* same 290pt as above */
+ left: auto;
+ right: 0%;
+ padding-left: 0pt;
+ border: none;
+ }
+}
+
+
+code, pre {
+ font-family: Monaco, fixed;
+ font-size: 9pt;
+}
+
+a { text-decoration: none; }
+a:link { color: #66C; }
+a:visited { color: #669; }
+a[href]:hover { background: #EEE; }
+
+div.abstract {
+ font-style: oblique;
+ text-align: left;
+}
+div.abstract em { font-style: normal; }
+div.abstract code {
+ font-style: normal;
+ font-size: 80%;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ color: #822;
+ font-weight: 100; /* few fonts have ultra-light weights */
+ line-height: 100%; /* no need to spread out titles */
+}
+h1 {
+ margin-left: -40%;
+ margin-right: -5%;
+ padding: 0.5em;
+ border: solid thin #666;
+ text-align: right;
+}
+h2 {
+ margin-left: -40%;
+ margin-right: -5%;
+ padding: 0.2em;
+ border-top: solid thin #666;
+ clear: both;
+}
+
+h2.appendices {
+ margin-top: 10ex;
+ border-top: double medium #666;
+}
+h3 {
+ margin-left: -30%;
+ float: left;
+ width: 25%;
+ display: block;
+ text-align: right;
+ vertical-align: bottom;
+ padding-top: 0pt;
+ padding-right: 0.5em;
+ margin-top: 0pt;
+ line-height: 120%;
+}
+
+/*
+h4 {
+ color: #C66;
+}
+*/
+
+pre, table { background: #dde; }
+
+pre {
+ padding: 1em;
+ line-height: 130%;
+}
+
+table {
+ font-size: smaller;
+}
+td {
+ padding: 0.5ex;
+}
+
+Q:before { content: "“"; }
+Q:after { content: "â€"; }
+
+img.smallimage {
+ float: right;
+ margin: 24pt;
+ margin-right: -30%;
+}
+
+div.signature {
+ margin-left: -40%;
+ margin-right: -5%;
+ margin-top: 4ex;
+ text-align: right;
+ border: solid thin #666;
+ padding: 0.3em;
+ clear: both;
+}
+
+/* ============================================================
+ * Some other curiosities of my one-time formatting for web pages
+ */
+.doc-history {
+ font-size: xx-small;
+ background: #eee;
+ line-height: 100%;
+}
+
+div.subtoc, div.subsubtoc { display: none; }
+
+/* ============================================================
+ * Special formatting for ToC
+ */
+
+/*
+ If there's significant amount of text in front of the first subsection,
+ then the following are good to put in the per-document stylesheet:
+ width: 25%;
+ float: right;
+*/
+div#toc {
+ color: #888;
+ padding: 0;
+ font-size: smaller;
+ text-align: right;
+}
+div#toc a:link { color: #888; }
+div#toc > ul {
+ padding: 0pt;
+ margin: 0pt;
+ list-style: none;
+}
+div#toc li {
+ padding: 0pt;
+ display: inline-block;
+}
+div#toc li:before {
+ content: "§ ";
+ margin-left: 1em;
+}
+/* the following elements aren't currently generated by structure.lx */
+div#toc li ul {
+ padding-left: 1em;
+ margin-left: 0;
+ font-style: italic;
+ display: inline;
+}
+div#toc li ul:before {
+ content: "( ";
+}
+div#toc li ul:after {
+ content: " ) ";
+}
+div#toc li li {
+ padding-left: 0pt;
+}
+div#toc li li:after {
+ content: "; ";
+}
diff --git a/biblio/bibtex/contrib/bibhtml/unsrthtml.bst b/biblio/bibtex/contrib/bibhtml/unsrthtml.bst
new file mode 100644
index 0000000000..a1c7a210a3
--- /dev/null
+++ b/biblio/bibtex/contrib/bibhtml/unsrthtml.bst
@@ -0,0 +1,1256 @@
+%% unsrthtml.bst
+%%
+%% Part of bibhtml, version 2.0.2, released 2013 September 8
+%% Hg node 7076ce83a035.
+%% See <http://purl.org/nxg/dist/bibhtml>
+%%
+%% Copyright 1999, 2005, 2006, 2009, Norman Gray <norman@astro.gla.ac.uk>
+%%
+%% This is a modification of a modification!
+%%
+%%% Modification of BibTeX style file /usr/local/texlive/2008/texmf-dist/bibtex/bst/base/unsrt.bst
+%%% ... by urlbst, version 0.6-4 (marked with "% urlbst")
+%%% See <http://purl.org/nxg/dist/urlbst>
+%%% Added webpage entry type, and url and lastchecked fields.
+%%% Added eprint support.
+%%% Added DOI support.
+%%% Added PUBMED support.
+%%% Added hyperref support.
+%%% Original headers follow...
+
+% BibTeX standard bibliography style `unsrt'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ eprint % urlbst
+ doi % urlbst
+ pubmed % urlbst
+ url % urlbst
+ lastchecked % urlbst
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block doiform }
+
+STRINGS { urlintro eprinturl eprintprefix doiprefix doiurl pubmedprefix pubmedurl openinlinelink closeinlinelink } % urlbst...
+INTEGERS { inlinelinks makeinlinelink addeprints adddoiresolver addpubmedresolver }
+% Following constants may be adjusted by hand, if desired
+FUNCTION {init.urlbst.variables}
+{
+ "Available from: " 'urlintro := % prefix before URL
+ "http://arxiv.org/abs/" 'eprinturl := % prefix to make URL from eprint ref
+ "arXiv:" 'eprintprefix := % text prefix printed before eprint ref
+ "http://dx.doi.org/" 'doiurl := % prefix to make URL from DOI
+ "doi:" 'doiprefix := % text prefix printed before DOI ref
+ "http://www.ncbi.nlm.nih.gov/pubmed/" 'pubmedurl := % prefix to make URL from PUBMED
+ "PMID:" 'pubmedprefix := % text prefix printed before PUBMED ref
+ #1 'addeprints := % 0=no eprints; 1=include eprints
+ #1 'adddoiresolver := % 0=no DOI resolver; 1=include it
+ #1 'addpubmedresolver := % 0=no PUBMED resolver; 1=include it
+ #1 'inlinelinks := % 0=URLs explicit; 1=URLs attached to titles
+ #1 'doiform := % 0=simple, but can produce invalid HTML; 1=needs post-processing
+ % the following are internal state variables, not config constants
+ #0 'makeinlinelink := % state variable managed by possibly.setup.inlinelink
+ "" 'openinlinelink := % ditto
+ "" 'closeinlinelink := % ditto
+}
+INTEGERS {
+ bracket.state
+ outside.brackets
+ open.brackets
+ within.brackets
+ close.brackets
+ close.first.block
+}
+% ...urlbst to here
+FUNCTION {init.state.consts}
+{ #0 'outside.brackets := % urlbst
+ #1 'open.brackets :=
+ #2 'within.brackets :=
+ #3 'close.brackets :=
+
+ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #0 'close.first.block :=
+}
+
+STRINGS { s t }
+
+% urlbst
+FUNCTION {output.nonnull.original}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ % close the <dt> after the end of the first block
+ close.first.block
+ { "</a></dt>" write$ newline$ "<dd>" write$
+ #0 'close.first.block := }
+ { newline$ }
+ if$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+% urlbst...
+% The following three functions are for handling inlinelink. They wrap
+% a block of text which is potentially output with write$ by multiple
+% other functions, so we don't know the content a priori.
+% They communicate between each other using the variables makeinlinelink
+% (which is true if a link should be made), and closeinlinelink (which holds
+% the string which should close any current link. They can be called
+% at any time, but start.inlinelink will be a no-op unless something has
+% previously set makeinlinelink true, and the two ...end.inlinelink functions
+% will only do their stuff if start.inlinelink has previously set
+% closeinlinelink to be non-empty.
+FUNCTION {possibly.setup.inlinelink}
+{ makeinlinelink
+ { "<a href=" quote$ * url * quote$ * ">" * 'openinlinelink :=
+ "</a>" 'closeinlinelink :=
+ #0 'makeinlinelink := }
+ 'skip$
+ if$ % makeinlinelink
+}
+FUNCTION {add.inlinelink}
+{ openinlinelink empty$
+ 'skip$
+ { openinlinelink swap$ * closeinlinelink *
+ "" 'openinlinelink :=
+ }
+ if$
+}
+FUNCTION {output.nonnull}
+{ % Save the thing we've been asked to output
+ 's :=
+ % If the bracket-state is close.brackets, then add a close-bracket to
+ % what is currently at the top of the stack, and set bracket.state
+ % to outside.brackets
+ bracket.state close.brackets =
+ { "]" *
+ outside.brackets 'bracket.state :=
+ }
+ 'skip$
+ if$
+ bracket.state outside.brackets =
+ { % We're outside all brackets -- this is the normal situation.
+ % Write out what's currently at the top of the stack, using the
+ % original output.nonnull function.
+ s
+ add.inlinelink
+ output.nonnull.original % invoke the original output.nonnull
+ }
+ { % Still in brackets. Add open-bracket or (continuation) comma, add the
+ % new text (in s) to the top of the stack, and move to the close-brackets
+ % state, ready for next time (unless inbrackets resets it). If we come
+ % into this branch, then output.state is carefully undisturbed.
+ bracket.state open.brackets =
+ { " [" * }
+ { ", " * } % bracket.state will be within.brackets
+ if$
+ s *
+ close.brackets 'bracket.state :=
+ }
+ if$
+}
+
+% Call this function just before adding something which should be presented in
+% brackets. bracket.state is handled specially within output.nonnull.
+FUNCTION {inbrackets}
+{ bracket.state close.brackets =
+ { within.brackets 'bracket.state := } % reset the state: not open nor closed
+ { open.brackets 'bracket.state := }
+ if$
+}
+
+FUNCTION {format.lastchecked}
+{ lastchecked empty$
+ { "" }
+ { inbrackets "cited " lastchecked * }
+ if$
+}
+% ...urlbst to here
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem.original}
+{ newline$
+ "<dt><a name='" write$
+ cite$ write$
+ "'>[" cite$ * "] " * write$
+ % the <dt> is closed within output.nonnull, as long as close.first.block is true
+ #1 'close.first.block :=
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry.original}
+{ add.period$ "</dd>" *
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<em>" swap$ * "</em>" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In <em>" journal * "</em>" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " <span class='cite'>" * crossref * "</span>" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "<em>" * series * "</em>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " <span class='cite'>" * crossref * "</span>" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In <em>" booktitle * "</em>" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " <span class='cite'>" * crossref * "</span>" *
+}
+
+% urlbst...
+% Functions for making hypertext links.
+FUNCTION {make.href}
+{
+ "<a href='" swap$ * "'><code>" * swap$ * "</code></a>" *
+}
+
+% If inlinelinks is true, then format.url should be a no-op, since it's
+% (a) redundant, and (b) could end up as a link-within-a-link.
+FUNCTION {format.url}
+{ inlinelinks #1 = url empty$ or
+ { "" }
+ { urlintro "<code>" * url * "</code>" * }
+ if$
+}
+
+FUNCTION {format.eprint}
+{ eprint empty$
+ { "" }
+ { eprintprefix eprint * eprinturl eprint * make.href }
+ if$
+}
+
+FUNCTION {format.doi}
+{ doi empty$
+ { "" }
+ { doiform #0 =
+ { doiprefix doi * doiurl doi * make.href }
+ { "DOI:{" doi * "}" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pubmed}
+{ pubmed empty$
+ { "" }
+ { pubmedprefix pubmed * pubmedurl pubmed * make.href }
+ if$
+}
+
+% Output a URL. We can't use the more normal idiom (something like
+% `format.url output'), because the `inbrackets' within
+% format.lastchecked applies to everything between calls to `output',
+% so that `format.url format.lastchecked * output' ends up with both
+% the URL and the lastchecked in brackets.
+FUNCTION {output.url}
+{ url empty$
+ 'skip$
+ { new.block
+ format.url output
+ format.lastchecked output
+ }
+ if$
+}
+
+FUNCTION {output.web.refs}
+{
+ new.block
+ output.url
+ addeprints eprint empty$ not and
+ { format.eprint output.nonnull }
+ 'skip$
+ if$
+ adddoiresolver doi empty$ not and
+ { format.doi output.nonnull }
+ 'skip$
+ if$
+ addpubmedresolver pubmed empty$ not and
+ { format.pubmed output.nonnull }
+ 'skip$
+ if$
+}
+
+% Wrapper for output.bibitem.original.
+% If the URL field is not empty, set makeinlinelink to be true,
+% so that an inline link will be started at the next opportunity
+FUNCTION {output.bibitem}
+{ outside.brackets 'bracket.state :=
+ output.bibitem.original
+ inlinelinks url empty$ not and
+ { #1 'makeinlinelink := }
+ { #0 'makeinlinelink := }
+ if$
+}
+
+% Wrapper for fin.entry.original
+FUNCTION {fin.entry}
+{ output.web.refs % urlbst
+ makeinlinelink % ooops, it appears we didn't have a title for inlinelink
+ { possibly.setup.inlinelink % add some artificial link text here, as a fallback
+ "[link]" output.nonnull }
+ 'skip$
+ if$
+ bracket.state close.brackets = % urlbst
+ { "]" * }
+ 'skip$
+ if$
+ fin.entry.original
+}
+
+% Webpage entry type.
+% Title and url fields required;
+% author, note, year, month, and lastchecked fields optional
+% See references
+% ISO 690-2 http://www.nlc-bnc.ca/iso/tc46sc9/standard/690-2e.htm
+% http://www.classroom.net/classroom/CitingNetResources.html
+% http://neal.ctstateu.edu/history/cite.html
+% http://www.cas.usf.edu/english/walker/mla.html
+% for citation formats for web pages.
+FUNCTION {webpage}
+{ output.bibitem
+ author empty$
+ { editor empty$
+ 'skip$ % author and editor both optional
+ { format.editors output.nonnull }
+ if$
+ }
+ { editor empty$
+ { format.authors output.nonnull }
+ { "can't use both author and editor fields in " cite$ * warning$ }
+ if$
+ }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$
+ format.title "title" output.check
+ inbrackets "online" output
+ new.block
+ year empty$
+ 'skip$
+ { format.date "year" output.check }
+ if$
+ % We don't need to output the URL details ('lastchecked' and 'url'),
+ % because fin.entry does that for us, using output.web.refs. The only
+ % reason we would want to put them here is if we were to decide that
+ % they should go in front of the rather miscellaneous information in 'note'.
+ new.block
+ note output
+ fin.entry
+}
+% ...urlbst to here
+
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ possibly.setup.inlinelink format.vol.num.pages output% urlbst
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "<dl>" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.urlbst.variables}
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "</dl>" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/bids b/biblio/bibtex/contrib/bids
new file mode 120000
index 0000000000..5e111b63a3
--- /dev/null
+++ b/biblio/bibtex/contrib/bids
@@ -0,0 +1 @@
+../utils/bids \ No newline at end of file
diff --git a/biblio/bibtex/contrib/biolett-bst/README.txt b/biblio/bibtex/contrib/biolett-bst/README.txt
new file mode 100644
index 0000000000..a4174b329b
--- /dev/null
+++ b/biblio/bibtex/contrib/biolett-bst/README.txt
@@ -0,0 +1,33 @@
+This is the BibTeX style (.bst) file for the
+journal "Biology Letters" from the Royal Society.
+
+Simply include it in your .tex file with command
+
+ \bibliography{myreferences}
+ \bibliographystyle{biolett}
+
+where 'myreferences' is actually the file
+'myreferences.bib', which should be your bibliographic
+databank in BibTeX format, of course!
+
+Please, be aware that this style was pro­duced in­de­pen­dently
+of the Royal So­ci­ety, and has no for­mal ap­proval
+from the Society.
+
+If you spot any mistake in the .bst file, you'd better fixing
+it in the .dbj file, instead of trying to fix the .bst file.
+In such case, I can send you my original biolett.dbj file
+to speed up your work. Just drop me an email!
+
+Cheers
+
+Og DeSouza <og.souza@ufv.br>
+http://www.isoptera.ufv.br
+
+PS: if you publish a paper using this bst file, please be
+kind to mention it in the acknowledgments, and send me a
+pdf of your paper for my records. It may improve the chances
+to get my next research grant!
+
+--------------- changelog
+2016-10-05 first version
diff --git a/biblio/bibtex/contrib/biolett-bst/biolett.bst b/biblio/bibtex/contrib/biolett-bst/biolett.bst
new file mode 100644
index 0000000000..a465b569b2
--- /dev/null
+++ b/biblio/bibtex/contrib/biolett-bst/biolett.bst
@@ -0,0 +1,1282 @@
+%%
+%% This is file `biolett.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `seq-no,nm-rvx,ed-rev,nmlm,x10,x0,m10,m0,mcite,mct-1,mct-x2,dt-beg,yr-per,xmth,yrp-x,vol-bf,vnum-cm,volp-com,num-xser,jnm-x,add-pub,doi,edpar,in-col,pp,ed,abr,ednx,xedn,jabr,and-xcom,xand,etal-xc,etal-it,nfss,')
+%% ----------------------------------------
+%% *** BibTeX style for the journal Biology Letters ***
+%% This is an independent production without formal
+%% approval from the Royal Society, the publisher of
+%% Biol. Lett.
+%%
+%% Created by Og DeSouza <og.souza@ufv.br>
+%% using custom-bib
+%%
+%% This file was originally produced running <latex biolett.dbj>
+%% and then modified manually by changing line 482
+%% from "\doi{" doi * "}" *
+%% to "(\doi{" doi * "})" *
+%% in order to comply with Biol. Lett. format for doi numbers.
+%%
+%% Copyright 1994-2011 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2011/11/18 4.33 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is a numerical citation style, and as such is standard LaTeX.
+ % It requires no extra package to interface to the main text.
+ % The form of the \bibitem entries is
+ % \bibitem{key}...
+ % Usage of \cite is as follows:
+ % \cite{key} ==>> [#]
+ % \cite[chap. 2]{key} ==>> [#, chap. 2]
+ % where # is a number determined by the ordering in the reference list.
+ % The order in the reference list is that by which the works were originally
+ % cited in the text, or that in the database.
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ doi
+ edition
+ editor
+ eid
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ add.blank
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+STRINGS {z}
+
+FUNCTION {remove.dots}
+{ 'z :=
+ ""
+ { z empty$ not }
+ { z #1 #2 substring$
+ duplicate$ "\." =
+ { z #3 global.max$ substring$ 'z := * }
+ { pop$
+ z #1 #1 substring$
+ z #2 global.max$ substring$ 'z :=
+ duplicate$ "." = 'pop$
+ { * }
+ if$
+ }
+ if$
+ }
+ while$
+}
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+FUNCTION {bolden}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textbf{" swap$ * "}" * }
+ if$
+}
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds." }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "ed." }
+
+FUNCTION {bbl.volume}
+{ "vol." }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "no." }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "pp." }
+
+FUNCTION {bbl.page}
+{ "p." }
+
+FUNCTION {bbl.chapter}
+{ "chap." }
+
+FUNCTION {bbl.techrep}
+{ "Tech. Rep." }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"Jun."}
+
+MACRO {jul} {"Jul."}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sep."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Software Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput. Aid. Des."}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Program."}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Graphic."}
+
+MACRO {toms} {"ACM Trans. Math. Software"}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Progr. Lang. Syst."}
+
+MACRO {tcs} {"Theor. Comput. Sci."}
+
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+INTEGERS { nameptr namesleft numnames }
+
+
+STRINGS { bibinfo}
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}{ jj}{ f{}}"
+ format.name$
+ remove.dots
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ nameptr #0
+ #10 +
+ #1 + =
+ numnames #0
+ #10 +
+ > and
+ { "others" 't :=
+ #1 'namesleft := }
+ 'skip$
+ if$
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ "," *
+ t "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ { " " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.names.ed}
+{
+ format.names
+}
+FUNCTION {format.authors}
+{ author "author" format.names
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ " " *
+ get.bbl.editor
+ "(" swap$ * ")" *
+ *
+ }
+ if$
+}
+FUNCTION {format.doi}
+{ doi empty$
+ { "" }
+ {
+ new.block
+ "(\doi{" doi * "})" *
+ }
+ if$
+}
+FUNCTION {format.note}
+{
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ duplicate$ empty$ 'skip$
+ { "t" change.case$ }
+ if$
+ "title" bibinfo.check
+}
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in capitalize
+ ":" *
+ " " * }
+
+FUNCTION {format.date}
+{
+ ""
+ duplicate$ empty$
+ year "year" bibinfo.check duplicate$ empty$
+ { swap$ 'skip$
+ { "there's a month but no year in " cite$ * warning$ }
+ if$
+ *
+ }
+ { swap$ 'skip$
+ {
+ swap$
+ " " * swap$
+ }
+ if$
+ *
+ }
+ if$
+ duplicate$ empty$
+ 'skip$
+ {
+ before.all 'output.state :=
+ after.sentence 'output.state :=
+ }
+ if$
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ bbl.of space.word * swap$
+ emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { number "number" bibinfo.check }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ bbl.pages swap$
+ n.dashify
+ }
+ {
+ bbl.page swap$
+ }
+ if$
+ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ", " *
+ swap$
+ n.dashify
+ "pages" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.journal.eid}
+{ eid "eid" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$ 'skip$
+ {
+ ", " *
+ }
+ if$
+ swap$ *
+ }
+ if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ "volume" bibinfo.check
+ }
+ if$
+ bolden
+ number "number" bibinfo.check duplicate$ empty$ 'skip$
+ {
+ swap$ duplicate$ empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ swap$
+ ", " swap$ *
+ }
+ if$ *
+ eid empty$
+ { format.journal.pages }
+ { format.journal.eid }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+ emphasize
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ {
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ " " *
+ get.bbl.editor
+ "(" swap$ * "), " *
+ * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+}
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ key duplicate$ empty$
+ { pop$
+ journal duplicate$ empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref * warning$ }
+ { "journal" bibinfo.check emphasize word.in swap$ * }
+ if$
+ }
+ { word.in swap$ * " " *}
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ "editor" bibinfo.check
+ editor num.names$ duplicate$
+ #2 >
+ { pop$
+ "editor" bibinfo.check
+ " " * bbl.etal
+ emphasize
+ *
+ }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ "editor" bibinfo.check
+ " " * bbl.etal
+ emphasize
+ *
+ }
+ {
+ bbl.and space.word
+ * editor #2 "{vv~}{ll}" format.name$
+ "editor" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ capitalize
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { series emphasize * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { format.booktitle duplicate$ empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ }
+ { word.in swap$ * }
+ if$
+ }
+ { word.in key * " " *}
+ if$
+ }
+ { word.in format.crossref.editor * " " *}
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ address "address" bibinfo.check *
+ t empty$
+ 'skip$
+ { address empty$
+ 'skip$
+ { ": " * }
+ if$
+ t *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ {
+ journal
+ "journal" bibinfo.check
+ emphasize
+ "journal" output.check
+ add.blank
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.doi output
+ new.block
+ format.note output
+ fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher.address output
+ }
+ {
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.doi output
+ new.block
+ format.note output
+ fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ format.date output
+ date.block
+ format.title "title" output.check
+ new.block
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ format.doi output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher.address output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.doi output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ format.publisher.address output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.doi output
+ new.block
+ format.note output
+ fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ new.sentence
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.doi output
+ new.block
+ format.note output
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization "organization" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { output
+ address "address" bibinfo.check output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ format.date output
+ date.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ {
+ address new.block.checka
+ address "address" bibinfo.check output
+ }
+ 'skip$
+ if$
+ }
+ {
+ organization address new.block.checkb
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ }
+ if$
+ format.edition output
+ format.doi output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ new.block
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.doi output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ format.date output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished "howpublished" bibinfo.check output
+ format.doi output
+ new.block
+ format.note output
+ fin.entry
+ empty.misc.check
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ new.block
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.doi output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization "organization" bibinfo.check output
+ }
+ { format.editors output.nonnull }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ editor empty$
+ { publisher empty$
+ 'skip$
+ {
+ new.sentence
+ format.publisher.address output
+ }
+ if$
+ }
+ { publisher empty$
+ {
+ new.sentence
+ format.organization.address output }
+ {
+ new.sentence
+ organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ }
+ if$
+ format.doi output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.doi output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ format.date output
+ date.block
+ format.title "title" output.check
+ format.doi output
+ new.block
+ format.note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+READ
+STRINGS { longest.label }
+INTEGERS { number.label longest.label.width }
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+EXECUTE {initialize.longest.label}
+ITERATE {longest.label.pass}
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" *
+ write$ newline$
+ "\expandafter\ifx\csname urlstyle\endcsname\relax"
+ write$ newline$
+ " \providecommand{\doi}[1]{doi:\discretionary{}{}{}#1}\else"
+ write$ newline$
+ " \providecommand{\doi}{doi:\discretionary{}{}{}\begingroup \urlstyle{rm}\Url}\fi"
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `biolett.bst'.
diff --git a/biblio/bibtex/contrib/bookdb/README b/biblio/bibtex/contrib/bookdb/README
new file mode 100644
index 0000000000..27553557cb
--- /dev/null
+++ b/biblio/bibtex/contrib/bookdb/README
@@ -0,0 +1,41 @@
+ The bookdb BibTeX package provides an extended book entry for
+use in catalogueing a home library.
+
+ The extensions include fields for:
+binding, category, collator, condition, copy, illustrations, introduction,
+location, pages, size, value, volumes
+
+
+Changes in version 0.1 (2015/06/01)
+o First public release
+
+Changes in version 0.2 (2015/06/04)
+o Added two fields: foreword and preface
+
+---------------------------------------------------------------
+ Author: Peter Wilson (Herries Press)
+
+ This work may be distributed and/or modified under the
+ conditions of the Latex Project Public License, either
+ version 1.3 of this license or (at your option) any
+ later version.
+ The latest version of the license is in
+ http://www.latex-project.org/lppl.txt
+ and version 1.3 or later is part of all distributions of
+ LaTeX version 2003/06/01 or later.
+
+ This work has the LPPL maintenance status "author-maintained".
+
+ This work and distribution consists of the files:
+ README (this file)
+ bookdb.bst
+ bookdb.tex
+ and the derived file
+ bookdb.pdf
+
+---------------------------------------------------------------
+
+2015/06/01
+Peter Wilson
+herries dot press at earthlink dot net
+
diff --git a/biblio/bibtex/contrib/bookdb/bookdb.bst b/biblio/bibtex/contrib/bookdb/bookdb.bst
new file mode 100644
index 0000000000..d76b6ae654
--- /dev/null
+++ b/biblio/bibtex/contrib/bookdb/bookdb.bst
@@ -0,0 +1,1759 @@
+%% This is file `bookdb.bst' version 0.2,
+%% as modified by Peter Wilson (herries.press@earthlink.net) in June 2015 from
+%% `bookdb.bst' generated with the docstrip utility.
+%%
+%% It is intended for use in catalogueing a home library.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `ay,nat,ed-au,keyxyr,dt-end,yr-com,note-yr,tit-it,atit-u,num-xser,pg-bk,pub-date,isbn,edparxc,pp,ed,xedn,nfss,')
+%% ----------------------------------------
+%%
+%% Copyright 1994-2011 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ %
+ % The originally generated file was modified by Peter Wilson in 2015
+ % to better suit his purposes.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2011/11/18 4.33 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is natbib.sty by Patrick W. Daly
+ % The form of the \bibitem entries is
+ % \bibitem[Jones et al.(1990)]{key}...
+ % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
+ % The essential feature is that the label (the part in brackets) consists
+ % of the author names, as they should appear in the citation, with the year
+ % in parentheses following. There must be no space before the opening
+ % parenthesis!
+ % With natbib v5.3, a full list of authors may also follow the year.
+ % In natbib.sty, it is possible to define the type of enclosures that is
+ % really wanted (brackets or parentheses), but in either case, there must
+ % be parentheses in the label.
+ % The \cite command functions as follows:
+ % \citet{key} ==>> Jones et al. (1990)
+ % \citet*{key} ==>> Jones, Baker, and Smith (1990)
+ % \citep{key} ==>> (Jones et al., 1990)
+ % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
+ % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
+ % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
+ % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., 1990, p. 32)
+ % \citeauthor{key} ==>> Jones et al.
+ % \citeauthor*{key} ==>> Jones, Baker, and Smith
+ % \citeyear{key} ==>> 1990
+ %---------------------------------------------------------------------
+ %
+ % PW added entries for: binding, category, collator, condition, copy,
+ % foreword, illustrations, introduction,
+ % location, preface,translator, size, value,
+ % volumes,
+
+ENTRY
+ { address
+ author
+ binding
+ booktitle
+ category
+ chapter
+ collator
+ condition
+ copy
+ edition
+ editor
+ eid
+ foreword
+ howpublished
+ illustrations
+ institution
+ introduction
+ isbn
+ journal
+ key
+ location
+ month
+ normal
+ note
+ number
+ organization
+ pages
+ preface
+ publisher
+ school
+ series
+ size
+ title
+ translator
+ type
+ value
+ volume
+ volumes
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ new.block
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+
+%% PW added this for a bold font
+FUNCTION {bold}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textbf{" swap$ * "}" * }
+ if$
+}
+%% and this
+FUNCTION {boldcat}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "Category: \textbf{" swap$ * "}" * }
+ if$
+}
+FUNCTION {boldval}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "Value: \textbf{" swap$ * "}" * }
+ if$
+}
+
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds." }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "edition" }
+
+FUNCTION {bbl.volume}
+{ "volume" }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "number" }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "pp." }
+
+FUNCTION {bbl.page}
+{ "p." }
+
+FUNCTION {bbl.chapter}
+{ "chapter" }
+
+FUNCTION {bbl.collator}
+{ "collator" }
+
+FUNCTION {bbl.collators}
+{ "collators" }
+
+FUNCTION {bbl.techrep}
+{ "Technical Report" }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+FUNCTION {bbl.translator}
+{ "translator" }
+
+FUNCTION {bbl.translators}
+{ "translators" }
+
+FUNCTION {bbl.foreword}
+{ "foreword by " }
+
+FUNCTION {bbl.introduction}
+{ "introduction by " }
+
+FUNCTION {bbl.preface}
+{ "preface by " }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+%% Publishers
+
+% MACRO {CUP} {"Cambridge University Press"}
+
+% MACRO {OUP} {"Oxford University Press"}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+INTEGERS { nameptr namesleft numnames }
+
+
+STRINGS { bibinfo}
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ff~}{vv~}{ll}{, jj}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.names.ed}
+{
+ format.names
+}
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author "author" format.names
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ " " *
+ get.bbl.editor
+ "(" swap$ * ")" *
+ *
+ }
+ if$
+}
+
+% PW added collator names
+FUNCTION {get.bbl.collator}
+{ collator num.names$ #1 > 'bbl.collators 'bbl.collator if$ }
+
+FUNCTION {format.collator}
+{ collator "collator" format.names duplicate$ empty$ 'skip$
+ {
+ " " *
+ get.bbl.collator
+ "(" swap$ * ")" *
+ *
+ }
+ if$
+}
+
+% PW added translator names
+FUNCTION {get.bbl.translator}
+{ translator num.names$ #1 > 'bbl.translators 'bbl.translator if$ }
+FUNCTION {format.translator}
+{ translator "translator" format.names duplicate$ empty$ 'skip$
+ {
+ " " *
+ get.bbl.translator
+ "(" swap$ * ")" *
+ *
+ }
+ if$
+}
+
+% PW added foreword names
+FUNCTION {get.bbl.foreword}
+{foreword 'bbl.foreword }
+FUNCTION {format.foreword}
+{ foreword "foreword" format.names duplicate$ empty$ 'skip$
+ {
+ "" *
+ bbl.foreword
+ swap$ *
+ }
+ if$
+}
+
+% PW added introduction names
+FUNCTION {get.bbl.introduction}
+{introduction 'bbl.introduction }
+FUNCTION {format.introduction}
+{ introduction "introduction" format.names duplicate$ empty$ 'skip$
+ {
+ "" *
+ bbl.introduction
+ swap$ *
+ }
+ if$
+}
+
+% PW added preface names
+FUNCTION {get.bbl.preface}
+{preface 'bbl.preface }
+FUNCTION {format.preface}
+{ preface "preface" format.names duplicate$ empty$ 'skip$
+ {
+ "" *
+ bbl.preface
+ swap$ *
+ }
+ if$
+}
+
+
+FUNCTION {format.book.pages}
+{ pages "pages" bibinfo.check
+ duplicate$ empty$ 'skip$
+ { " " * bbl.pages * }
+ if$
+}
+FUNCTION {format.isbn}
+{ isbn "isbn" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ new.block
+ "ISBN " swap$ *
+ }
+ if$
+}
+
+FUNCTION {format.note}
+{
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ }
+ if$
+}
+FUNCTION {format.full.names}
+{'s :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[{" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "}]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in capitalize
+ " " * }
+
+FUNCTION {format.date}
+{ year "year" bibinfo.check duplicate$ empty$
+ {
+ "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????"
+ }
+ 'skip$
+ if$
+ extra.label *
+ before.all 'output.state :=
+ ", " swap$ *
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ bbl.of space.word * swap$
+ emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { number "number" bibinfo.check }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ bbl.pages swap$
+ n.dashify
+ }
+ {
+ bbl.page swap$
+ }
+ if$
+ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ":" *
+ swap$
+ n.dashify
+ "pages" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.journal.eid}
+{ eid "eid" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$ 'skip$
+ {
+ ":" *
+ }
+ if$
+ swap$ *
+ }
+ if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ "volume" bibinfo.check
+ }
+ if$
+ number "number" bibinfo.check duplicate$ empty$ 'skip$
+ {
+ swap$ duplicate$ empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ swap$
+ "(" swap$ * ")" *
+ }
+ if$ *
+ eid empty$
+ { format.journal.pages }
+ { format.journal.eid }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+ emphasize
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ {
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ " " *
+ get.bbl.editor
+ "(" swap$ * ") " *
+ * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ capitalize
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ add.blank "(" *
+ t empty$
+ { address "address" bibinfo.check *
+ }
+ { t *
+ address empty$
+ 'skip$
+ { ", " * address "address" bibinfo.check * }
+ if$
+ }
+ if$
+ year duplicate$ empty$
+ { "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????" }
+ { "year" bibinfo.check extra.label * }
+ if$
+ t empty$ address empty$ and
+ { * }
+ { ", " swap$ * * }
+ if$
+ ")" *
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+ %----------------------------------------------------------------
+ % PW formatting added entry types
+
+FUNCTION {format.binding}
+{ binding "binding" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ new.block
+ "Binding: " swap$ *
+ }
+ if$
+}
+
+FUNCTION {format.category}
+{ category "category" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ new.block
+ boldcat
+ }
+ if$
+}
+
+
+FUNCTION {format.condition}
+{ condition "condition" bibinfo.check
+ duplicate$ empty$ 'skip$
+ { new.block
+ "Condition: " swap$ *
+ }
+ if$
+}
+
+FUNCTION {format.copy}
+{ copy "copy" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ new.block
+ "Copy: " swap$ *
+ }
+ if$
+}
+
+FUNCTION {format.illustrations}
+{ illustrations "illustrations" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ new.block
+ "Illustrations: " swap$ *
+ }
+ if$
+}
+
+FUNCTION {format.location}
+{ location "location" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ new.block
+ "Location: " swap$ *
+ }
+ if$
+}
+
+FUNCTION {format.size}
+{ size "size" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ new.block
+ "Size: " swap$ *
+ }
+ if$
+}
+
+FUNCTION {format.value}
+{ value "value" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ new.block
+ boldval
+ }
+ if$
+}
+
+FUNCTION {format.volumes}
+{ volumes "volumes" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ new.block
+ "Volumes: " swap$ *
+ }
+ if$
+}
+
+ %-----------------------------------------------------------------
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ {
+ journal
+ "journal" bibinfo.check
+ emphasize
+ "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ format.note output
+ new.block
+ format.date "year" output.check
+ fin.entry
+}
+
+% ---------------------------------------------------------
+% PW extended the book entry
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ add.blank
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.editors output
+ format.collator output
+ format.translator output
+ format.foreword output
+ format.preface output
+ format.introduction output
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher.address output
+ }
+ {
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.book.pages output
+ format.edition output
+ format.isbn output
+ format.volumes output
+ format.illustrations output
+ format.binding output
+ format.size output
+ new.block
+ format.note output
+ new.block
+ format.condition output
+ format.copy output
+ format.location output
+ format.category output
+ format.value output
+ fin.entry
+}
+
+% --------------------------------------------------------
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ format.isbn output
+ format.book.pages output
+ new.block
+ format.note output
+ new.block
+ format.date "year" output.check
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher.address output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ crossref missing$
+ { format.isbn output }
+ 'skip$
+ if$
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ format.publisher.address output
+ format.edition output
+ format.isbn output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ format.note output
+ fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ new.sentence
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.isbn output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ format.note output
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ new.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ format.edition output
+ new.block
+ format.note output
+ new.block
+ format.date "year" output.check
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.btitle
+ "title" output.check
+ new.block
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ new.block
+ format.note output
+ new.block
+ format.date "year" output.check
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ new.block
+ format.title output
+ new.block
+ howpublished "howpublished" bibinfo.check output
+ new.block
+ format.note output
+ new.block
+ format.date "year" output.check
+ fin.entry
+}
+
+FUNCTION {heading}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ new.block
+ format.note output
+ fin.entry
+}
+
+
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.btitle
+ "title" output.check
+ new.block
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ new.block
+ format.note output
+ new.block
+ format.date "year" output.check
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ new.sentence
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.isbn output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ new.block
+ format.note output
+ new.block
+ format.date "year" output.check
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ format.note "note" output.check
+ new.block
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+READ
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+FUNCTION {format.lab.names}
+{ 's :=
+ "" 't :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$
+ " " * bbl.etal *
+ }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ " " * bbl.etal *
+ }
+ { bbl.and space.word * s #2 "{vv~}{ll}" format.name$
+ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" 't := }
+ 'skip$
+ if$
+ t sortify *
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+SORT
+STRINGS { last.label next.extra }
+INTEGERS { last.extra.num last.extra.num.extended last.extra.num.blank number.label }
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ "a" chr.to.int$ #1 - 'last.extra.num.blank :=
+ last.extra.num.blank 'last.extra.num.extended :=
+ #0 'number.label :=
+}
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num "z" chr.to.int$ >
+ { "a" chr.to.int$ 'last.extra.num :=
+ last.extra.num.extended #1 + 'last.extra.num.extended :=
+ }
+ 'skip$
+ if$
+ last.extra.num.extended last.extra.num.blank >
+ { last.extra.num.extended int.to.chr$
+ last.extra.num int.to.chr$
+ * 'extra.label := }
+ { last.extra.num int.to.chr$ 'extra.label := }
+ if$
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+EXECUTE {initialize.extra.label.stuff}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+ITERATE {bib.sort.order}
+SORT
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\providecommand{\natexlab}[1]{#1}"
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `bookdb.bst'.
diff --git a/biblio/bibtex/contrib/bookdb/bookdb.pdf b/biblio/bibtex/contrib/bookdb/bookdb.pdf
new file mode 100644
index 0000000000..7d24865f8a
--- /dev/null
+++ b/biblio/bibtex/contrib/bookdb/bookdb.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/bookdb/bookdb.tex b/biblio/bibtex/contrib/bookdb/bookdb.tex
new file mode 100644
index 0000000000..1775619aa6
--- /dev/null
+++ b/biblio/bibtex/contrib/bookdb/bookdb.tex
@@ -0,0 +1,530 @@
+% bookdb.tex User manual for the bookdb.bst package
+\begin{filecontents}{bookdb.bib}
+
+@misc{DALY,
+ author = {Patrick W. Daly},
+ title = {Customizing Bibliograhic Style Files},
+ note = "\url{http://mirror.ctan.org/macros/latex/contrib/custom-bib/makebst.pdf}",
+ month = aug,
+ year = 2003
+}
+
+@misc{NATBIB,
+ author = {Patrick W. Daly},
+ title = {Natural Sciences Citations and References},
+ note = "\url{http://mirror.ctan.org/macros/latex/contrib/natbib/natbib.pdf}",
+ month = sep,
+ year = 2010
+}
+
+@misc{LEHMAN,
+ author = {Philipp Lehman},
+ title = {The biblatex package},
+ note = "\url{http://mirror.ctan.org/macros/latex/contrib/biblatex/doc/biblatex.pdf}",
+ month = jul,
+ year = 2009
+}
+
+@misc{MARKEY,
+ author = {Nicolas Markey},
+ title = {Tame the BeaST},
+ note = "\url{http://mirror.ctan.org/info/bibtex/tamethebeast/ttb_en.pdf}",
+ month = oct,
+ year = 2009
+}
+
+@misc{PATASHNIK,
+ author = {Oren Patashnik},
+ title = {Designing BibTeX Styles},
+ note = "\url{http://mirror.ctan.org/biblio/bibtex/base/btxhak.pdf}",
+ month = feb,
+ year = 1988
+}
+
+\end{filecontents}
+
+\documentclass{article}
+\fontencoding{T1}
+\usepackage{booktabs}
+%\usepackage{natbib}
+
+\bibliographystyle{plain}
+\usepackage{url}
+\usepackage{alltt}
+\usepackage{lmodern}
+\usepackage{comment}
+
+\addtolength{\topmargin}{-1in}
+\addtolength{\textheight}{2in}
+\addtolength{\oddsidemargin}{-0.75in}
+\addtolength{\textwidth}{1.5in}
+\addtolength{\evensidemargin}{-0.75in}
+
+\newenvironment{ttdesc}[1]
+ {\begin{list}{}%
+ {\renewcommand{\makelabel}[1]{\texttt{##1:}\hfil}%
+ \settowidth{\labelwidth}{\makelabel{#1}}%
+ \setlength{\leftmargin}{\labelwidth}%
+ \addtolength{\leftmargin}{\labelsep}}}%
+ {\end{list}}
+
+\newcommand{\BibTeX}{\texttt{BibTeX}}
+\newcommand{\file}[1]{\texttt{#1}}
+\newcommand{\field}[1]{\texttt{#1}}
+\newcommand{\pack}[1]{\texttt{#1}}
+
+\title{\texttt{bookdb.bst} --- A Personal Book Catalogue}
+\author{Peter Wilson}
+\date{4 June 2015}
+
+\begin{document}
+\maketitle
+
+\section{Introduction}
+
+For many years I have been collecting books. They are located in five rooms, as well as
+two bookcases in my printing and binding workshop. But recently I found that I was buying
+books that I already had. I decided that the best way to save money was to catalogue all
+the books that I owned and where they were kept.
+
+I searched on the web for free database programs that would be appropriate. There were only
+a few that would run under Linux, which is the operating system I am most comfortable with.
+Of those, some I could not install, and the one that I could I couldn't get to work
+for me.
+
+I contacted several booksellers that I
+dealt with and asked them what they used for catalogueing their stock. They all replied
+but most used proprietry and expensive software that included things like preparing
+invoices that were
+irrelevant as far as I was concerned. The two responses that grabbed my attention were
+`use a card index' (but I needed space for books, not card indexes) and `try Bibtex',
+which immediately appealed as I had used it for many years; why I hadn't thought of it myself
+I'll never know.
+
+\section{Usage}
+
+The standard \BibTeX\ enries did not meet my needs so I looked at
+\pack{biblatex}~\cite{LEHMAN}
+but its entries also didn't match my requirements so I decided to tweak \BibTeX.
+To that end I used Patrick Daly's \texttt{makebst} program~\cite{DALY}
+for generating a \file{*.bst}
+file that went someway towards meeting my needs. This required some hand-coded additions
+later; I read the articles by Oren Patashnik~\cite{PATASHNIK}, the creator of \BibTeX,
+and Nicolas Markey~\cite{MARKEY} which helped me on my way.
+In the end I had a \BibTeX\ file called \file{bookdb.bst} that included all the
+regular entries but a greatly expanded \texttt{book} entry, as follows:
+
+\vspace{0.5\baselineskip}
+\noindent \begin{tabular}{lp{0.9\textwidth}} \toprule
+\texttt{book} & A book with a publisher \\
+ & \textit{Required:} \texttt{author} or {editor}, \texttt{title, publisher, year} \\
+ & \textit{Optional:} \texttt{volume} or \texttt{number, series, address, edition,
+ month, note, collator, foreword, preface, introduction, volumes, pages, illustrations,
+ binding, size, condition, copy, location, category, value} \\ \bottomrule
+\end{tabular}
+\vspace{0.2\baselineskip}
+
+And also I created a new entry called \texttt{heading}, as follows:
+
+\vspace{0.5\baselineskip}
+\noindent \begin{tabular}{lp{0.87\textwidth}} \toprule
+\texttt{heading} & A heading in the bibliography \\
+ & \textit{Required:} \texttt{key} \\
+ & \textit{Optional:} \texttt{note} \\ \bottomrule
+\end{tabular}
+\vspace{0.5\baselineskip}
+
+The additional fields in the \texttt{book} entry are:
+\begin{ttdesc}{condition}
+\item[binding] Information about the book's binding. Output as: \\
+ Binding: `binding.'
+\item[category] The general theme of the book. Output as: \\
+ Category: `\textbf{category.}'
+\item[collator] The name(s) of those who collated the book contents. Output as: \\
+ `collator' (collator(s))
+\item[condition] The book's condition. Output as: \\
+ Condition: `condition.'
+\item[copy] For a limited edition, the particular copy. Output as: \\
+ Copy: `copy.'
+\item[foreword] The name(s) of the author(s) of the Foreword, if not written by the
+ author(s) of the main text. Output as: \\
+ foreword by `foreword'
+\item[illustrations] \mbox{} \\ Information about the number and kind of any illustrations and
+ possibly who created them. Output as: \\
+ Illustrations: `illustrations.'
+\item[introduction] \mbox{} \\ The name(s) of the author(s) of the book's Introduction, if not
+ written by the author(s) of the main text. Output as: \\
+ introduction by `introduction'
+\item[location] Where the book is located. Output as: \\
+ Location: `location.'
+\item[pages] The total number of pages. Output as: \\
+ `pages' pp.,
+\item[preface] The name(s) of the author(s) of the Preface, if not written by the
+ author(s) of the main text. Output as: \\
+ preface by `preface'
+\item[size] The book's physical dimensions. Output as: \\
+ Size: `size.'
+\item[value] The book's value. Output as: \\
+ Value: `\textbf{value}.'
+\item[volumes] The number of volumes. Output as: \\
+ Volumes: `volumes.'
+\end{ttdesc}
+
+I use the \texttt{heading} entry for putting a heading or division marker into
+a bibliography. The \field{key} is required so that the \texttt{heading} is sorted
+into the correct position in the bibliography (normally sorting is based on the author
+or editor). The contents of the \field{note}
+form the printed heading. For instance if you wanted a heading before each alphabetical
+group of authors you could do something like:
+\begin{verbatim}
+@heading{A1,
+ key = {A1},
+ note = {\ahead{AAAAAAAA...}}
+}
+@heading{B1,
+ key ={B1},
+ note = {\ahead{BBBBBBBB...}}
+}
+etc
+\end{verbatim}
+where \verb!\ahead! might be defined as:
+\begin{verbatim}
+\providecommand{\ahead}[1]{%
+ \textbf{\large #1}}
+\end{verbatim}
+
+To help clarify matters Figure~\ref{fig:data} shows a possible entry in a
+\file{*.bib} file. The output after processing in a document using
+\file{bookdb.bst} is illustrated in Figure~\ref{fig:result}.
+
+%\noindent
+\begin{figure}
+\centering
+\begin{minipage}{0.75\columnwidth}
+\rule{0.75\columnwidth}{0.4pt}
+\begin{verbatim}
+@book{ABOOK,
+ author = {A. N. Author and A. Nother},
+ title = {A Book Entry},
+ editor = {Smith and Jones},
+ collator = {Jane and Tim},
+ translator = {Jo and Mary},
+ foreword = {Alpha},
+ preface = {Zoe},
+ introduction = {Bloggs and Friend},
+ volume = 7,
+ publisher = {Herries Press},
+ year = 2020,
+ pages = {xii + 278 + vi},
+ edition = {Third},
+ isbn = {0-201-36299-8},
+ volumes = 9,
+ illustrations = {11 wood engravings},
+ binding = {full red leather},
+ size = {11 by 17 inches},
+ note = {This is a note},
+ condition = {Hot off the press},
+ copy = {23 of 125},
+ location = {my study},
+ category = {private press},
+ value = {\$270}
+}
+\end{verbatim}
+\rule{0.75\columnwidth}{0.4pt}
+\end{minipage}
+\caption{An example entry for \texttt{bookdb} processing} \label{fig:data}
+\end{figure}
+
+\begin{figure}
+\rule{\textwidth}{0.4pt} \par
+\hangindent=1.5em\hangafter=1
+\noindent A. N. Author and A. Nother. \textit{A Book Entry}, Smith and Jones (eds.),
+ Jane and Tim (collators), Jo and Mary (translators), foreword by Alpha,
+ preface by Zoe, introduction by
+ Bloggs and Friend, volume 7 (Herries Press, 2020), xii + 278 + vi pp.,
+ third edition. ISBN 0-201-36299-8. Volumes: 9. Illustrations: 11 wood
+ engravings. Binding: full red leather.
+ Size: 11 by 17 inches. This is a note. Condition: Hot off the press.
+ Copy: 23 of 125. Location: my study. Category: \textbf{private press}.
+ Value: \textbf{\$270}. \par
+\noindent\rule{\textwidth}{0.4pt}
+\caption{The example's output} \label{fig:result}
+\end{figure}
+
+\clearpage
+
+As an example this is a file that I use for printing a catalogue of my books,
+where the book details are in file \file{mybooks.bib}. Note that using
+\pack{bookdb} requires the use of the \pack{natbib} package ~\cite{NATBIB}.
+\begin{verbatim}
+% books.tex a catalogue of my books
+\documentclass[11pt,a4paper]{memoir}
+\usepackage[T1]{fontenc}
+\usepackage{natbib}
+\pagestyle{empty}
+\begin{document}
+\nocite{*}
+\bibliographystyle{bookdb}
+\bibliography{mybooks}
+\end{document}
+\end{verbatim}
+
+
+\begin{comment}
+\section{Implementation}
+
+As I said earlier I had to extend the \file{bookdb.bst} file produced by
+the \texttt{makebst} program. I didn't really know how it all worked but after
+much trial and many errors I got something that on the whole met my needs. My
+basic process was to copy elements of the original \file{bst}, change some names,
+and see what was produced.
+
+First of all I added the new \texttt{book} fields to the \file{bookdb.bst} \texttt{ENTRY}
+command as:
+\begin{verbatim}
+ENTRY
+ { ...
+ binding
+ category
+ collator
+ condition
+ copy
+ illustrations
+ introduction
+ location
+ pages
+ size
+ translator
+ value
+ volumes
+ }
+\end{verbatim}
+
+The next thing was to add the new entries in the correct order to the function that output
+the \texttt{book} bibliography entries, together with how they should be formatted. This
+was the final result after much try it, \BibTeX\ it, change it, and repeat
+(the original code is in
+a typewriter font and my additions are in an italic font).
+
+\begin{alltt}
+{\ttfamily
+FUNCTION \{book\}
+\{ output.bibitem
+ author empty$
+ \{ format.editors "author and editor"
+ output.check
+ editor format.key output
+ add.blank
+ \}
+ \{ format.authors output.nonnull
+ crossref missing$
+ \{ "author and editor" editor
+ either.or.check \}
+ 'skip$
+ if$
+ \}
+ if$
+ new.block
+ format.btitle "title" output.check }{\itshape
+ format.editors output
+ format.collator output
+ format.translator output
+ format.introduction output }{\ttfamily
+ crossref missing$
+ \{ format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher.address output
+ \}
+ \{
+ new.block
+ format.book.crossref output.nonnull
+ \}
+ if$
+ format.book.pages output
+ format.edition output
+ format.isbn output }{\itshape
+ format.volumes output
+ format.illustrations output
+ format.binding output
+ format.size output }{\ttfamily
+ new.block
+ format.note output }{\itshape
+ format.condition output
+ format.copy output
+ format.location output
+ format.category output
+ format.value output }{\ttfamily
+ fin.entry
+\} }
+\end{alltt}
+
+Effectively `all' I had left to do was to specify the formatting of my new fields.
+I used three basic forms:
+\begin{enumerate}
+\item Some introductory text, like `introduction by' or `Illustrations:', followed by
+ the field data.
+\item Like the first form but with the field data in a bold font.
+\item Name(s) forming the field data followed by what their contribution was
+ in parentheses.
+\end{enumerate}
+
+As an example of the first form here is the code for \field{binding}:
+
+\begin{verbatim}
+FUNCTION {format.binding}
+{ binding "binding" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ new.block
+ "Binding: " swap$ *
+ }
+ if$
+}
+\end{verbatim}
+
+Life was a little more complicated for the second form. This is the code for the
+\field{value} field which requires two functions, the first dealing with the
+bolding and the second with the output.
+
+\begin{verbatim}
+FUNCTION {boldval}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "Value: \textbf{" swap$ * "}" * }
+ if$
+}
+FUNCTION {format.value}
+{ value "value" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ new.block
+ boldval
+ }
+ if$
+}
+\end{verbatim}
+
+The third form required several functions, as in the code for \field{collator}, where if there
+is a single collator this is output as `Name (collator)' but if the are multiple collators
+the output is `Name1 and Name2 ... (collators)'.
+
+\begin{verbatim}
+FUNCTION {bbl.collator}
+{ "collator" }
+FUNCTION {bbl.collators}
+{ "collators" }
+FUNCTION {get.bbl.collator}
+{ collator num.names$ #1 >
+ 'bbl.collators 'bbl.collator
+ if$
+}
+FUNCTION {format.collator}
+{ collator "collator" format.names
+ duplicate$ empty$ 'skip$
+ { " " *
+ get.bbl.collator
+ "(" swap$ * ")" *
+ }
+ if$
+}
+\end{verbatim}
+
+\end{comment}
+
+%\clearpage
+
+\section{My book database}
+
+The \file{*.bib} for my book catalogue looks somewhat like this:
+\begin{verbatim}
+%%% mybooks.bib 2015/04/22
+
+%%% for formating headings
+@preamble{ "\providecommand{\ahead}[1]{%
+ \textbf{\large #1}}" }
+
+%%% publishers
+@string{CUP =
+ "Cambridge University Press"}
+% etc
+%%% categories
+@string{science =
+ "science, mathematics, computers"}
+% etc
+
+@heading{A1,
+ key = {A},
+ note = {\ahead{AAAAAAAAAAA....}
+}
+
+@book{A1KEY,
+author = {First A. Author},
+% etc
+}
+
+@book{A2KEY,
+author = {Second A. Author},
+% etc
+}
+
+% etc
+\end{verbatim}
+
+I used the \BibTeX\ \verb!@preamble! command to provide a definition of the \verb!\ahead!
+macro. This, if required, can be overridden by an existing definition in the
+document used to print the bibliography.
+
+I added various \verb!@string! commands to provide shorthands for many of the
+fields in the \file{.bib} file, such as publisher, location, category, that
+would have the same value. This meant that I could have a shortened field entry
+that looked like:
+\begin{verbatim}
+publisher = CUP,
+\end{verbatim}
+instead of:
+\begin{verbatim}
+publisher = {Cambridge University Press},
+\end{verbatim}
+
+\section{Infelicities}
+
+
+ \BibTeX\ uses a stack-based language which I find hard to understand.
+%Many years ago I wrote an interpreter for a stack-based language whose name
+%I have forgotten but even so I was unable to use the language itself. I think
+%that it is a little like crosswords. I like doing `cryptic' crosswords but
+%I find that with some setters I can follow their clues easily but with
+%others I haven't a clue.
+
+ My basic approach was to take an existing \file{*.bst} file, try and see what it did,
+then copy and modify what seemed relevant to my needs.
+
+ I did have a couple of infelicities that I did not manage to resolve.
+
+ The first was that no matter what I tried I could not stop the \texttt{heading}
+from outputting its \field{key}, so it should be made as short and unobtrusive as possible.
+
+ The second was that I couldn't stop the warning message issued by \BibTeX\ if both
+an \field{author} and \field{editor} were supplied although the output was printed
+including both.
+
+ In spite of these, if you are a collector then you may want to consider tweaking a
+\file{*.bst} file to meet your particular needs.
+
+
+\bibliography{bookdb}
+
+\end{document}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/biblio/bibtex/contrib/catalan/README b/biblio/bibtex/contrib/catalan/README
new file mode 100644
index 0000000000..6394e6a163
--- /dev/null
+++ b/biblio/bibtex/contrib/catalan/README
@@ -0,0 +1,40 @@
+This is the catalanbib package, version 1.0 of January 05.
+(Catalan bibliographic styles for use with bibtex).
+
+This package can be redistributed and/or modified under the terms
+of the LaTeX Project Public License Distributed from CTAN
+archives in directory macros/latex/base/lppl.txt; either
+version 1 of the License, or any later version.
+
+CONTENTS:
+
+Bibliographic styles:
+ caauda0.bst
+ caauda1.bst
+ caauda2.bst
+ caauda3.bst
+ caabbrv.bst
+ caalpha.bst
+ caplain.bst
+ caunsrt.bst
+Examples:
+ caauda0.tex
+ caauda1.tex
+ caauda2.tex
+ caauda3.tex
+ caabbrv.tex
+ caalpha.tex
+ caplain.tex
+ caunsrt.tex
+ exemples.bib
+Documentation:
+ catalanbib.{tex,pdf}
+
+_________________________________________
+Robert Fuster (rfuster@imm.upv.es)
+
+Institut de Matemàtica Multidisciplinar
+Universitat Politècnica de València
+Camí de Vera, 14
+46022 València (Spain)
+_________________________________________ \ No newline at end of file
diff --git a/biblio/bibtex/contrib/catalan/bibtex/bst/caabbrv.bst b/biblio/bibtex/contrib/catalan/bibtex/bst/caabbrv.bst
new file mode 100644
index 0000000000..a876fbdcdf
--- /dev/null
+++ b/biblio/bibtex/contrib/catalan/bibtex/bst/caabbrv.bst
@@ -0,0 +1,1381 @@
+%%
+%% This is file `caabbrv.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `head,exlang,nm-init,catalan,mab,nom,jabr,and-xcom,nfss,{}')
+%% catalan.mbs (with options: `exlang,nm-init,catalan,mab,nom,jabr,and-xcom,nfss,{}')
+%% merlin.mbs (with options: `tail,exlang,nm-init,catalan,mab,nom,jabr,and-xcom,nfss,{}')
+%% ----------------------------------------
+%% *** ca(talan)abbrv BibTeX style, by Robert Fuster 19/05/1998 ***
+%% *** modified 18/11/2004 ***
+%% Changes: 18/11/04: added date as optional field in unpublished
+%% (as in standard abbrv style)
+%% 18/11/04: now the title field in mastersthesis is not emphasized
+%% (as in standard abbrv style)
+%%
+ %-------------------------------------------------------------------
+ % The original source file contains the following version information:
+ % \ProvidesFile{merlin.mbs}[1996/12/16 3.82 (PWD)]
+ %
+ % NOTICE:
+ % This file may be used for non-profit purposes.
+ % It may not be distributed in exchange for money,
+ % other than distribution costs.
+ %
+ % The author provides it `as is' and does not guarantee it in any way.
+ %
+ % Copyright (C) 1994, 1995, 1996 Patrick W. Daly
+ %-------------------------------------------------------------------
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in
+ % CATALAN
+ % This is a numerical citation style, and as such is standard LaTeX.
+ % It requires no extra package to interface to the main text.
+ % The form of the \bibitem entries is
+ % \bibitem{key}...
+ % Usage of \cite is as follows:
+ % \cite{key} ==>> [#]
+ % \cite[chap. 2]{key} ==>> [#, chap. 2]
+ % where # is a number determined by the ordering in the reference list.
+ % The order in the reference list is alphabetical by authors.
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ new.block
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {non.stop}
+{ duplicate$
+ "}" * add.period$
+ #-1 #1 substring$ "." =
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ %-------------------------------------------------------------------
+ % The original source file contains the following version information:
+ % \ProvidesFile{catalan.mbs}[1998/05/17 2.0 (PWD/RF)]
+ % Copyright (C) 1994, 1995 Patrick W. Daly
+ % Copyright (C) 1997, 1998 Robert Fuster
+
+ %-------------------------------------------------------------------
+
+ % The language selected here is CATALAN
+FUNCTION {bbl.and}
+{ "i"}
+
+FUNCTION {bbl.editors}
+{ "editors" }
+
+FUNCTION {bbl.editor}
+{ "editor" }
+
+FUNCTION {bbl.edby}
+{ "editat per" }
+
+FUNCTION {bbl.edition}
+{ "edici\'o" }
+
+FUNCTION {bbl.volume}
+{ "volum" }
+
+FUNCTION {bbl.of}
+{ "de" }
+
+FUNCTION {bbl.number}
+{ "n\'umero" }
+
+FUNCTION {bbl.nr}
+{ "n." }
+
+FUNCTION {bbl.in}
+{ "dins" }
+
+FUNCTION {bbl.pages}
+{ "p\`agines" }
+
+FUNCTION {bbl.page}
+{ "p\`agina" }
+
+FUNCTION {bbl.chapter}
+{ "cap\'{\i}tol" }
+
+FUNCTION {bbl.techrep}
+{ "Report t{\`e}cnic" }
+
+FUNCTION {bbl.mthesis}
+{ "Projecte F. de Carrera o Tesina de L." }
+
+FUNCTION {bbl.phdthesis}
+{ "Tesi Doctoral" }
+
+FUNCTION {bbl.first}
+{ "primera" }
+
+FUNCTION {bbl.second}
+{ "segona" }
+
+FUNCTION {bbl.third}
+{ "tercera" }
+
+FUNCTION {bbl.fourth}
+{ "quarta" }
+
+FUNCTION {bbl.fifth}
+{ "cinquena" }
+
+FUNCTION {bbl.th}
+{ "a" }
+
+MACRO {jan} {"gen."}
+
+MACRO {feb} {"feb."}
+
+MACRO {mar} {"mar\c{c}"}
+
+MACRO {apr} {"abr."}
+
+MACRO {may} {"maig"}
+
+MACRO {jun} {"juny"}
+
+MACRO {jul} {"jul."}
+
+MACRO {aug} {"ag."}
+
+MACRO {sep} {"set."}
+
+MACRO {oct} {"oct."}
+
+MACRO {nov} {"nov."}
+
+MACRO {dec} {"des."}
+
+ % End of language definition file
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Programming"}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Gr."}
+
+MACRO {toms} {"ACM Trans. Math. Softw."}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ t "others" =
+ { " et~al." * }
+ { bbl.and space.word * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.names.ed}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{f.~}{vv~}{ll}{, jj}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ t "others" =
+ { " et~al." * }
+ { bbl.and space.word * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ {
+ author format.names
+ }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ {
+ editor format.names
+ editor num.names$ #1 >
+ { ", " * bbl.editors * }
+ { ", " * bbl.editor * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.editors}
+{ editor empty$
+ { "" }
+ { editor format.names.ed
+ editor num.names$ #1 >
+ { ", " * bbl.editors * }
+ { ", " * bbl.editor * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in capitalize
+ " " * }
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { bbl.of space.word * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { bbl.in space.word * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+FUNCTION {convert.edition}
+{ edition extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bbl.first 't := }
+ { s "second" = s "2" = or
+ { bbl.second 't := }
+ { s "third" = s "3" = or
+ { bbl.third 't := }
+ { s "fourth" = s "4" = or
+ { bbl.fourth 't := }
+ { s "fifth" = s "5" = or
+ { bbl.fifth 't := }
+ { s #1 #1 substring$ is.num
+ { s bbl.th * 't := }
+ { edition 't := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ t
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { convert.edition "l" change.case$ " " * bbl.edition * }
+ { convert.edition "t" change.case$ " " * bbl.edition * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { bbl.pages pages n.dashify tie.or.space.connect }
+ { bbl.page pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.journal.pages}
+{
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ {
+ "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ format.journal.pages
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { word.in booktitle emphasize * }
+ { word.in format.in.editors * ", " *
+ booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { bbl.techrep }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{
+ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { word.in journal emphasize * }
+ if$
+ }
+ { word.in key * " " *}
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { bbl.and space.word * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ word.in
+ }
+ { bbl.volume capitalize
+ volume tie.or.space.connect
+ bbl.of space.word *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { series emphasize * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { word.in booktitle emphasize * }
+ if$
+ }
+ { word.in key * " " *}
+ if$
+ }
+ { word.in format.crossref.editor * " " *}
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.publisher}
+{ publisher empty$
+ { "empty publisher in " cite$ * warning$ }
+ 'skip$
+ if$
+ ""
+ address empty$ publisher empty$ and
+ 'skip$
+ {
+ publisher empty$
+ { address empty$
+ 'skip$
+ { address * }
+ if$
+ }
+ { publisher *
+ address empty$
+ 'skip$
+ { ", " * address * }
+ if$
+ }
+ if$
+ }
+ if$
+ output
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal
+ emphasize
+ "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher
+ }
+ {
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ new.block
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ format.publisher
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ new.sentence
+ publisher empty$
+ { organization output
+ address output
+ }
+ { organization output
+ format.publisher
+ }
+ if$
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ {
+ address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ {
+ organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "aaaaa" * }
+ { t sortify * }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" *
+ write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `caabbrv.bst'. \ No newline at end of file
diff --git a/biblio/bibtex/contrib/catalan/bibtex/bst/caalpha.bst b/biblio/bibtex/contrib/catalan/bibtex/bst/caalpha.bst
new file mode 100644
index 0000000000..2ae1036419
--- /dev/null
+++ b/biblio/bibtex/contrib/catalan/bibtex/bst/caalpha.bst
@@ -0,0 +1,1539 @@
+%%
+%% This is file `caalpha.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `head,exlang,alph,catalan,nom,and-xcom,nfss,{}')
+%% catalan.mbs (with options: `exlang,alph,catalan,nom,and-xcom,nfss,{}')
+%% merlin.mbs (with options: `tail,exlang,alph,catalan,nom,and-xcom,nfss,{}')
+%% ----------------------------------------
+%% *** ca(talan)alpha BibTeX style, by Robert Fuster 18/05/1998 ***
+%% *** modified 18/11/2004 ***
+%% Changes: 18/11/04: added date as optional field in unpublished
+%% (as in standard alpha style)
+%% 18/11/04: now the title field in mastersthesis is not emphasized
+%% (as in standard alpha style)
+%%
+ %-------------------------------------------------------------------
+ % The original source file contains the following version information:
+ % \ProvidesFile{merlin.mbs}[1996/12/16 3.82 (PWD)]
+ %
+ % NOTICE:
+ % This file may be used for non-profit purposes.
+ % It may not be distributed in exchange for money,
+ % other than distribution costs.
+ %
+ % The author provides it `as is' and does not guarantee it in any way.
+ %
+ % Copyright (C) 1994, 1995, 1996 Patrick W. Daly
+ %-------------------------------------------------------------------
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in
+ % CATALAN
+ % This is a labelled citation style similar to the standard alpha.bst,
+ % where labels are of the form Dal90 or DBK89.
+ % It requires no extra package to interface to the main text.
+ % The form of the \bibitem entries is
+ % \bibitem[label]{key}...
+ % Usage of \cite is as follows:
+ % \cite{key} ==>> [label]
+ % \cite[chap. 2]{key} ==>> [label, chap. 2]
+ % The order in the reference list is by label.
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ new.block
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {non.stop}
+{ duplicate$
+ "}" * add.period$
+ #-1 #1 substring$ "." =
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ %-------------------------------------------------------------------
+ % The original source file contains the following version information:
+ % \ProvidesFile{catalan.mbs}[1998/05/17 2.0 (PWD/RF)]
+ % Copyright (C) 1994, 1995 Patrick W. Daly
+ % Copyright (C) 1997, 1998 Robert Fuster
+
+ %-------------------------------------------------------------------
+
+ % The language selected here is CATALAN
+FUNCTION {bbl.and}
+{ "i"}
+
+FUNCTION {bbl.editors}
+{ "editors" }
+
+FUNCTION {bbl.editor}
+{ "editor" }
+
+FUNCTION {bbl.edby}
+{ "editat per" }
+
+FUNCTION {bbl.edition}
+{ "edici\'o" }
+
+FUNCTION {bbl.volume}
+{ "volum" }
+
+FUNCTION {bbl.of}
+{ "de" }
+
+FUNCTION {bbl.number}
+{ "n\'umero" }
+
+FUNCTION {bbl.nr}
+{ "n." }
+
+FUNCTION {bbl.in}
+{ "dins" }
+
+FUNCTION {bbl.pages}
+{ "p\`agines" }
+
+FUNCTION {bbl.page}
+{ "p\`agina" }
+
+FUNCTION {bbl.chapter}
+{ "cap\'{\i}tol" }
+
+FUNCTION {bbl.techrep}
+{ "Report t{\`e}cnic" }
+
+FUNCTION {bbl.mthesis}
+{ "Projecte F. de Carrera o Tesina de L." }
+
+FUNCTION {bbl.phdthesis}
+{ "Tesi Doctoral" }
+
+FUNCTION {bbl.first}
+{ "primera" }
+
+FUNCTION {bbl.second}
+{ "segona" }
+
+FUNCTION {bbl.third}
+{ "tercera" }
+
+FUNCTION {bbl.fourth}
+{ "quarta" }
+
+FUNCTION {bbl.fifth}
+{ "cinquena" }
+
+FUNCTION {bbl.th}
+{ "a" }
+
+MACRO {jan} {"gener"}
+
+MACRO {feb} {"febrer"}
+
+MACRO {mar} {"mar\c{c}"}
+
+MACRO {apr} {"abril"}
+
+MACRO {may} {"maig"}
+
+MACRO {jun} {"juny"}
+
+MACRO {jul} {"juliol"}
+
+MACRO {aug} {"agost"}
+
+MACRO {sep} {"setembre"}
+
+MACRO {oct} {"octubre"}
+
+MACRO {nov} {"novembre"}
+
+MACRO {dec} {"desembre"}
+
+ % End of language definition file
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ t "others" =
+ { " et~al." * }
+ { bbl.and space.word * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.names.ed}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ff~}{vv~}{ll}{, jj}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ t "others" =
+ { " et~al." * }
+ { bbl.and space.word * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ {
+ author format.names
+ }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ {
+ editor format.names
+ editor num.names$ #1 >
+ { ", " * bbl.editors * }
+ { ", " * bbl.editor * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.editors}
+{ editor empty$
+ { "" }
+ { editor format.names.ed
+ editor num.names$ #1 >
+ { ", " * bbl.editors * }
+ { ", " * bbl.editor * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" label * "]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in capitalize
+ " " * }
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { bbl.of space.word * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { bbl.in space.word * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+FUNCTION {convert.edition}
+{ edition extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bbl.first 't := }
+ { s "second" = s "2" = or
+ { bbl.second 't := }
+ { s "third" = s "3" = or
+ { bbl.third 't := }
+ { s "fourth" = s "4" = or
+ { bbl.fourth 't := }
+ { s "fifth" = s "5" = or
+ { bbl.fifth 't := }
+ { s #1 #1 substring$ is.num
+ { s bbl.th * 't := }
+ { edition 't := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ t
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { convert.edition "l" change.case$ " " * bbl.edition * }
+ { convert.edition "t" change.case$ " " * bbl.edition * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { bbl.pages pages n.dashify tie.or.space.connect }
+ { bbl.page pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.journal.pages}
+{
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ {
+ "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ format.journal.pages
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { word.in booktitle emphasize * }
+ { word.in format.in.editors * ", " *
+ booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { bbl.techrep }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{
+ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { word.in journal emphasize * }
+ if$
+ }
+ { word.in key * " " *}
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { bbl.and space.word * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ word.in
+ }
+ { bbl.volume capitalize
+ volume tie.or.space.connect
+ bbl.of space.word *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { series emphasize * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { word.in booktitle emphasize * }
+ if$
+ }
+ { word.in key * " " *}
+ if$
+ }
+ { word.in format.crossref.editor * " " *}
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.publisher}
+{ publisher empty$
+ { "empty publisher in " cite$ * warning$ }
+ 'skip$
+ if$
+ ""
+ address empty$ publisher empty$ and
+ 'skip$
+ {
+ publisher empty$
+ { address empty$
+ 'skip$
+ { address * }
+ if$
+ }
+ { publisher *
+ address empty$
+ 'skip$
+ { ", " * address * }
+ if$
+ }
+ if$
+ }
+ if$
+ output
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal
+ emphasize
+ "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher
+ }
+ {
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ new.block
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ format.publisher
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ new.sentence
+ publisher empty$
+ { organization output
+ address output
+ }
+ { organization output
+ format.publisher
+ }
+ if$
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ {
+ address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ {
+ organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ year field.or.null purify$ #-1 #2 substring$
+ *
+ 'label :=
+ year field.or.null purify$ #-1 #4 substring$
+ *
+ sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "aaaaa" * }
+ { t sortify * }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{ et.al.char.used
+ { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+ 'skip$
+ if$
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" *
+ write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `caalpha.bst'. \ No newline at end of file
diff --git a/biblio/bibtex/contrib/catalan/bibtex/bst/caauda0.bst b/biblio/bibtex/contrib/catalan/bibtex/bst/caauda0.bst
new file mode 100644
index 0000000000..f2922b749d
--- /dev/null
+++ b/biblio/bibtex/contrib/catalan/bibtex/bst/caauda0.bst
@@ -0,0 +1,2020 @@
+%%
+%% This is file `caauda0.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `head,exlang,ay,nat,lang,vonx,nm-revf,aunm-semi,nmdash,nmlm,x3,m1,nmft,nmft-sc,fnm-rm,nmfted,nmand-rm,lab,lab-sc,and-rm,xlab-it,keyxyr,dt-beg,xmth,yr-par,yrp-col,note-yr,tit-qq,qt-g,qx,volp-sp,jwdpg,jwdvol,ser-vol,isbn,issn,doi,edparxc,edby-par,edbyy,catalan,ps,ed,nom,and-xcom,xand,etal-it,eprint,url,url-nt,nfss,,{}')
+%% catalan.mbs (with options: `exlang,ay,nat,lang,vonx,nm-revf,aunm-semi,nmdash,nmlm,x3,m1,nmft,nmft-sc,fnm-rm,nmfted,nmand-rm,lab,lab-sc,and-rm,xlab-it,keyxyr,dt-beg,xmth,yr-par,yrp-col,note-yr,tit-qq,qt-g,qx,volp-sp,jwdpg,jwdvol,ser-vol,isbn,issn,doi,edparxc,edby-par,edbyy,catalan,ps,ed,nom,and-xcom,xand,etal-it,eprint,url,url-nt,nfss,,{}')
+%% physjour.mbs (with options: `exlang,ay,nat,lang,vonx,nm-revf,aunm-semi,nmdash,nmlm,x3,m1,nmft,nmft-sc,fnm-rm,nmfted,nmand-rm,lab,lab-sc,and-rm,xlab-it,keyxyr,dt-beg,xmth,yr-par,yrp-col,note-yr,tit-qq,qt-g,qx,volp-sp,jwdpg,jwdvol,ser-vol,isbn,issn,doi,edparxc,edby-par,edbyy,catalan,ps,ed,nom,and-xcom,xand,etal-it,eprint,url,url-nt,nfss,,{}')
+%% geojour.mbs (with options: `exlang,ay,nat,lang,vonx,nm-revf,aunm-semi,nmdash,nmlm,x3,m1,nmft,nmft-sc,fnm-rm,nmfted,nmand-rm,lab,lab-sc,and-rm,xlab-it,keyxyr,dt-beg,xmth,yr-par,yrp-col,note-yr,tit-qq,qt-g,qx,volp-sp,jwdpg,jwdvol,ser-vol,isbn,issn,doi,edparxc,edby-par,edbyy,catalan,ps,ed,nom,and-xcom,xand,etal-it,eprint,url,url-nt,nfss,,{}')
+%% photjour.mbs (with options: `exlang,ay,nat,lang,vonx,nm-revf,aunm-semi,nmdash,nmlm,x3,m1,nmft,nmft-sc,fnm-rm,nmfted,nmand-rm,lab,lab-sc,and-rm,xlab-it,keyxyr,dt-beg,xmth,yr-par,yrp-col,note-yr,tit-qq,qt-g,qx,volp-sp,jwdpg,jwdvol,ser-vol,isbn,issn,doi,edparxc,edby-par,edbyy,catalan,ps,ed,nom,and-xcom,xand,etal-it,eprint,url,url-nt,nfss,,{}')
+%% merlin.mbs (with options: `tail,exlang,ay,nat,lang,vonx,nm-revf,aunm-semi,nmdash,nmlm,x3,m1,nmft,nmft-sc,fnm-rm,nmfted,nmand-rm,lab,lab-sc,and-rm,xlab-it,keyxyr,dt-beg,xmth,yr-par,yrp-col,note-yr,tit-qq,qt-g,qx,volp-sp,jwdpg,jwdvol,ser-vol,isbn,issn,doi,edparxc,edby-par,edbyy,catalan,ps,ed,nom,and-xcom,xand,etal-it,eprint,url,url-nt,nfss,,{}')
+%% ----------------------------------------
+%% *** catalan author-date BibTeX style (by Robert Fuster using makebst, 19/11/04) ***
+%% *** this BibTeX style requires the natbib LaTeX style***
+%% *** year follows author(s) ***
+%%
+%% Copyright 1994-2004 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2004/02/09 4.13 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in
+ % CATALAN
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is natbib.sty by Patrick W. Daly
+ % The form of the \bibitem entries is
+ % \bibitem[Jones et al.(1990)]{key}...
+ % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
+ % The essential feature is that the label (the part in brackets) consists
+ % of the author names, as they should appear in the citation, with the year
+ % in parentheses following. There must be no space before the opening
+ % parenthesis!
+ % With natbib v5.3, a full list of authors may also follow the year.
+ % In natbib.sty, it is possible to define the type of enclosures that is
+ % really wanted (brackets or parentheses), but in either case, there must
+ % be parentheses in the label.
+ % The \cite command functions as follows:
+ % \citet{key} ==>> Jones et al. (1990)
+ % \citet*{key} ==>> Jones, Baker, and Smith (1990)
+ % \citep{key} ==>> (Jones et al., 1990)
+ % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
+ % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
+ % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
+ % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
+ % \citeauthor{key} ==>> Jones et al.
+ % \citeauthor*{key} ==>> Jones, Baker, and Smith
+ % \citeyear{key} ==>> 1990
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ archive
+ author
+ booktitle
+ chapter
+ doi
+ edition
+ editor
+ eid
+ eprint
+ howpublished
+ institution
+ isbn
+ issn
+ journal
+ key
+ language
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ url
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ ":" *
+ add.blank
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+FUNCTION {non.stop}
+{ duplicate$
+ "}" * add.period$
+ #-1 #1 substring$ "." =
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+FUNCTION {scaps}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textsc{" swap$ * "}" * }
+ if$
+}
+FUNCTION {bib.name.font}
+{ scaps }
+FUNCTION {bib.fname.font}
+{ skip$ }
+FUNCTION {cite.name.font}
+{ scaps }
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ %-------------------------------------------------------------------
+ % Begin module: catalan.mbs
+ % \ProvidesFile{catalan.mbs}[2003/11/06 4.2 (PWD)]
+
+ % The language selected here is CATALAN
+FUNCTION {bbl.and}
+{ "i"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds." }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "editat per" }
+
+FUNCTION {bbl.edition}
+{ "edici\'o" }
+
+FUNCTION {bbl.volume}
+{ "volum" }
+
+FUNCTION {bbl.of}
+{ "de" }
+
+FUNCTION {bbl.number}
+{ "n\'umero" }
+
+FUNCTION {bbl.nr}
+{ "n." }
+
+FUNCTION {bbl.in}
+{ "dins" }
+
+FUNCTION {bbl.pages}
+{ "ps." }
+
+FUNCTION {bbl.page}
+{ "p." }
+
+FUNCTION {bbl.chapter}
+{ "cap\'{\i}tol" }
+
+FUNCTION {bbl.techrep}
+{ "Report t{\`e}cnic" }
+
+FUNCTION {bbl.mthesis}
+{ "Projecte F. de Carrera o Tesina de L." }
+
+FUNCTION {bbl.phdthesis}
+{ "Tesi Doctoral" }
+
+FUNCTION {bbl.first}
+{ "primera" }
+
+FUNCTION {bbl.second}
+{ "segona" }
+
+FUNCTION {bbl.third}
+{ "tercera" }
+
+FUNCTION {bbl.fourth}
+{ "quarta" }
+
+FUNCTION {bbl.fifth}
+{ "cinquena" }
+
+FUNCTION {bbl.th}
+{ "a" }
+
+MACRO {jan} {"gener"}
+
+MACRO {feb} {"febrer"}
+
+MACRO {mar} {"mar\c{c}"}
+
+MACRO {apr} {"abril"}
+
+MACRO {may} {"maig"}
+
+MACRO {jun} {"juny"}
+
+MACRO {jul} {"juliol"}
+
+MACRO {aug} {"agost"}
+
+MACRO {sep} {"setembre"}
+
+MACRO {oct} {"octubre"}
+
+MACRO {nov} {"novembre"}
+
+MACRO {dec} {"desembre"}
+
+ % End module: catalan.mbs
+ % \end{macrocode}
+ %-------------------------------------------------------------------
+ % Begin module:
+ % \ProvidesFile{physjour.mbs}[2002/01/14 2.2 (PWD)]
+MACRO {aa}{"Astronomy and Astrophysics"}
+MACRO {aasup}{"Astronomy and Astrophysics, Supplement Series"}
+MACRO {aj}{"Astronomical Journal"}
+MACRO {aph} {"Acta Physica"}
+MACRO {advp} {"Advances in Physics"}
+MACRO {ajp} {"American Journal of Physics"}
+MACRO {ajm} {"American Journal of Mathematics"}
+MACRO {amsci} {"American Scientist"}
+MACRO {anofd} {"Annals of Fluid Dynamics"}
+MACRO {am} {"Annals of Mathematics"}
+MACRO {ap} {"Annals of Physics"}
+MACRO {adp} {"Annalen der Physik"}
+MACRO {ao} {"Applied Optics"}
+MACRO {apl} {"Applied Physics Letters"}
+MACRO {app} {"Astroparticle Physics"}
+MACRO {apj} {"Astrophysical Journal"}
+MACRO {apjsup} {"Astrophysical Journal Supplement"}
+MACRO {apss} {"Astrophysics and Space Science"}
+MACRO {araa} {"Annual Review of Astronomy and Astrophysics"}
+MACRO {baas} {"Bulletin of the American Astronomical Society"}
+MACRO {baps} {"Bulletin of the American Physical Society"}
+MACRO {cmp} {"Communications in Mathematical Physics"}
+MACRO {cpam} {"Communications on Pure and Applied Mathematics"}
+MACRO {cppcf} {"Comments on Plasma Physics and Controlled Fusion"}
+MACRO {cpc} {"Computer Physics Communications"}
+MACRO {cqg} {"Classical and Quantum Gravity"}
+MACRO {cra} {"Comptes Rendus des S{\'e}ances de l'Acad{\'e}mie des Sciences A"}
+MACRO {fed} {"Fusion Engineering and Design"}
+MACRO {ft} {"Fusion Technology"}
+MACRO {grg} {"General Relativity and Gravitation"}
+MACRO {ieeens} {"IEEE Transactions on Nuclear Science"}
+MACRO {ieeeps} {"IEEE Transactions on Plasma Science"}
+MACRO {ijimw} {"International Journal of Infrared and Millimeter Waves"}
+MACRO {ip} {"Infrared Physics"}
+MACRO {irp} {"Infrared Physics"}
+MACRO {jap} {"Journal of Applied Physics"}
+MACRO {jasa} {"Journal of the Acoustical Society of America"}
+MACRO {jcp} {"Journal of Computational Physics"}
+MACRO {jetp} {"Soviet Physics--JETP"}
+MACRO {jfe} {"Journal of Fusion Energy"}
+MACRO {jfm} {"Journal of Fluid Mechanics"}
+MACRO {jmp} {"Journal of Mathematical Physics"}
+MACRO {jne} {"Journal of Nuclear Energy"}
+MACRO {jnec} {"Journal of Nuclear Energy, Part C: Plasma Physics, Accelerators, Thermonuclear Research"}
+MACRO {jnm} {"Journal of Nuclear Materials"}
+MACRO {jpc} {"Journal of Physical Chemistry"}
+MACRO {jpp} {"Journal of Plasma Physics"}
+MACRO {jpsj} {"Journal of the Physical Society of Japan"}
+MACRO {jsi} {"Journal of Scientific Instruments"}
+MACRO {jvst} {"Journal of Vacuum Science and Technology"}
+MACRO {nat} {"Nature"}
+MACRO {nature} {"Nature"}
+MACRO {nedf} {"Nuclear Engineering and Design/Fusion"}
+MACRO {nf} {"Nuclear Fusion"}
+MACRO {nim} {"Nuclear Instruments and Methods"}
+MACRO {nimpr} {"Nuclear Instruments and Methods in Physics Research"}
+MACRO {np} {"Nuclear Physics"}
+MACRO {npb} {"Nuclear Physics B"}
+MACRO {nt/f} {"Nuclear Technology/Fusion"}
+MACRO {npbpc} {"Nuclear Physics B (Proceedings Supplements)"}
+MACRO {inc} {"Il Nuovo Cimento"}
+MACRO {nc} {"Nuovo Cimento"}
+MACRO {pf} {"Physics of Fluids"}
+MACRO {pfa} {"Physics of Fluids A: Fluid Dynamics"}
+MACRO {pfb} {"Physics of Fluids B: Plasma Physics"}
+MACRO {pl} {"Physics Letters"}
+MACRO {pla} {"Physics Letters A"}
+MACRO {plb} {"Physics Letters B"}
+MACRO {prep} {"Physics Reports"}
+MACRO {pnas} {"Proceedings of the National Academy of Sciences of the USA"}
+MACRO {pp} {"Physics of Plasmas"}
+MACRO {ppcf} {"Plasma Physics and Controlled Fusion"}
+MACRO {phitrsl} {"Philosophical Transactions of the Royal Society of London"}
+MACRO {prl} {"Physical Review Letters"}
+MACRO {pr} {"Physical Review"}
+MACRO {physrev} {"Physical Review"}
+MACRO {pra} {"Physical Review A"}
+MACRO {prb} {"Physical Review B"}
+MACRO {prc} {"Physical Review C"}
+MACRO {prd} {"Physical Review D"}
+MACRO {pre} {"Physical Review E"}
+MACRO {ps} {"Physica Scripta"}
+MACRO {procrsl} {"Proceedings of the Royal Society of London"}
+MACRO {rmp} {"Reviews of Modern Physics"}
+MACRO {rsi} {"Review of Scientific Instruments"}
+MACRO {science} {"Science"}
+MACRO {sciam} {"Scientific American"}
+MACRO {sam} {"Studies in Applied Mathematics"}
+MACRO {sjpp} {"Soviet Journal of Plasma Physics"}
+MACRO {spd} {"Soviet Physics--Doklady"}
+MACRO {sptp} {"Soviet Physics--Technical Physics"}
+MACRO {spu} {"Soviet Physics--Uspeki"}
+MACRO {st} {"Sky and Telescope"}
+ % End module: physjour.mbs
+ %-------------------------------------------------------------------
+ % Begin module:
+ % \ProvidesFile{geojour.mbs}[2002/07/10 2.0h (PWD)]
+MACRO {aisr} {"Advances in Space Research"}
+MACRO {ag} {"Annales Geophysic\ae"}
+MACRO {anigeo} {"Annali di Geofisica"}
+MACRO {angl} {"Annals of Glaciology"}
+MACRO {andmet} {"Annalen der Meteorologie"}
+MACRO {andgeo} {"Annales de Geophysique"}
+MACRO {andphy} {"Annales de Physique"}
+MACRO {afmgb} {"Archiv f\^^b{u}r Meteorologie, Geophysik und Bioklimatologie"}
+MACRO {ass}{"Astrophysics and Space Science"}
+MACRO {atph} {"Atm\'osphera"}
+MACRO {aao} {"Atmosphere-Ocean"}
+MACRO {atenv} {"Atmospheric Environment"}
+MACRO {aujag} {"Australian Journal of Agricultural Research"}
+MACRO {aumet} {"Australian Meteorological Magazine"}
+MACRO {blmet} {"Boundary-Layer Meteorology"}
+MACRO {bams} {"Bulletin of the American Meteorological Society"}
+MACRO {cch} {"Climatic Change"}
+MACRO {cdyn} {"Climate Dynamics"}
+MACRO {cbul} {"Climatological Bulletin"}
+MACRO {cap} {"Contributions to Atmospheric Physics"}
+MACRO {dsr} {"Deep-Sea Research"}
+MACRO {dhz} {"Deutsche Hydrographische Zeitschrift"}
+MACRO {dao} {"Dynamics of Atmospheres and Oceans"}
+MACRO {eco} {"Ecology"}
+MACRO {empl}{"Earth, Moon and Planets"}
+MACRO {envres} {"Environmental Research"}
+MACRO {envst} {"Environmental Science and Technology"}
+MACRO {ecms} {"Estuarine and Coastal Marine Science"}
+MACRO {expa}{"Experimental Astronomy"}
+MACRO {geoint} {"Geofisica Internationale"}
+MACRO {geopub} {"Geofysiske Publikasjoner"}
+MACRO {geogeo} {"Geologiya i Geofizika"}
+MACRO {gafd} {"Geophysical and Astrophysical Fluid Dynamics"}
+MACRO {gfd} {"Geophysical Fluid Dynamics"}
+MACRO {geomag} {"Geophysical Magazine"}
+MACRO {georl} {"Geophysical Research Letters"}
+MACRO {grl} {"Geophysical Research Letters"}
+MACRO {ga} {"Geophysica"}
+MACRO {gs} {"Geophysics"}
+MACRO {ieeetap} {"IEEE Transactions on Antennas and Propagation"}
+MACRO {ijawp} {"International Journal of Air and Water Pollution"}
+MACRO {ijc} {"International Journal of Climatology"}
+MACRO {ijrs} {"International Journal of Remote Sensing"}
+MACRO {jam} {"Journal of Applied Meteorology"}
+MACRO {jaot} {"Journal of Atmospheric and Oceanic Technology"}
+MACRO {jatp} {"Journal of Atmospheric and Terrestrial Physics"}
+MACRO {jastp} {"Journal of Atmospheric and Solar-Terrestrial Physics"}
+MACRO {jce} {"Journal of Climate"}
+MACRO {jcam} {"Journal of Climate and Applied Meteorology"}
+MACRO {jcm} {"Journal of Climate Meteorology"}
+MACRO {jcy} {"journal of Climatology"}
+MACRO {jgr} {"Journal of Geophysical Research"}
+MACRO {jga} {"Journal of Glaciology"}
+MACRO {jh} {"Journal of Hydrology"}
+MACRO {jmr} {"Journal of Marine Research"}
+MACRO {jmrj} {"Journal of Meteorological Research, Japan"}
+MACRO {jm} {"Journal of Meteorology"}
+MACRO {jpo} {"Journal of Physical Oceanography"}
+MACRO {jra} {"Journal de Recherches Atmospheriques"}
+MACRO {jaes} {"Journal of the Aeronautical Sciences"}
+MACRO {japca} {"Journal of the Air Pollution Control Association"}
+MACRO {jas} {"Journal of the Atmospheric Sciences"}
+MACRO {jmts} {"Journal of the Marine Technology Society"}
+MACRO {jmsj} {"Journal of Meteorological Society of Japan"}
+MACRO {josj} {"Journal of the Oceanographical Society of Japan"}
+MACRO {jwm} {"Journal of Weather Modification"}
+MACRO {lao} {"Limnology and Oceanography"}
+MACRO {mwl} {"Mariners Weather Log"}
+MACRO {mau} {"Mausam"}
+MACRO {meteor} {"``Meteor'' Forschungsergebnisse"}
+MACRO {map} {"Meteorology and Atmospheric Physics"}
+MACRO {metmag} {"Meteorological Magazine"}
+MACRO {metmon} {"Meteorological Monographs"}
+MACRO {metrun} {"Meteorologische Rundschau"}
+MACRO {metzeit} {"Meteorologische Zeitschrift"}
+MACRO {metgid} {"Meteorologiya i Gidrologiya"}
+MACRO {mwr} {"Monthly Weather Review"}
+MACRO {nwd} {"National Weather Digest"}
+MACRO {nzjmfr} {"New Zealand Journal of Marine and Freshwater Research"}
+MACRO {npg} {"Nonlinear Processes in Geophysics"}
+MACRO {om} {"Oceanography and Meteorology"}
+MACRO {ocac} {"Oceanologica Acta"}
+MACRO {oceanus} {"Oceanus"}
+MACRO {paleoc} {"Paleoceanography"}
+MACRO {pce} {"Physics and Chemistry of the Earth"}
+MACRO {pmg} {"Papers in Meteorology and Geophysics"}
+MACRO {ppom} {"Papers in Physical Oceanography and Meteorology"}
+MACRO {physzeit} {"Physikalische Zeitschrift"}
+MACRO {pps} {"Planetary and Space Science"}
+MACRO {pss} {"Planetary and Space Science"}
+MACRO {pag} {"Pure and Applied Geophysics"}
+MACRO {qjrms} {"Quarterly Journal of the Royal Meteorological Society"}
+MACRO {quatres} {"Quaternary Research"}
+MACRO {rsci} {"Radio Science"}
+MACRO {rse} {"Remote Sensing of the Environment"}
+MACRO {rgeo} {"Reviews of Geophysics"}
+MACRO {rgsp} {"Reviews of Geophysics and Space Physics"}
+MACRO {rdgeo} {"Revista de Geofisica"}
+MACRO {revmeta} {"Revista Meteorologica"}
+MACRO {sgp}{"Surveys in Geophysics"}
+MACRO {sp} {"Solar Phys."}
+MACRO {ssr} {"Space Science Review"}
+MACRO {tellus} {"Tellus"}
+MACRO {tac} {"Theoretical and Applied Climatology"}
+MACRO {tagu} {"Transactions, American Geophysical Union (EOS)"}
+MACRO {wrr} {"Water Resources Research"}
+MACRO {weather} {"Weather"}
+MACRO {wafc} {"Weather and Forecasting"}
+MACRO {ww} {"Weatherwise"}
+MACRO {wmob} {"World Meteorological Organization Bulletin"}
+MACRO {zeitmet} {"Zeitschrift f\^^b{u}r Meteorologie"}
+ % End module: geojour.mbs
+ %-------------------------------------------------------------------
+ % Begin module:
+ % \ProvidesFile{photjour.mbs}[1999/02/24 2.0b (PWD)]
+
+MACRO {appopt} {"Applied Optics"}
+MACRO {bell} {"Bell Systems Technical Journal"}
+MACRO {ell} {"Electronics Letters"}
+MACRO {jasp} {"Journal of Applied Spectroscopy"}
+MACRO {jqe} {"IEEE Journal of Quantum Electronics"}
+MACRO {jlwt} {"Journal of Lightwave Technology"}
+MACRO {jmo} {"Journal of Modern Optics"}
+MACRO {josa} {"Journal of the Optical Society of America"}
+MACRO {josaa} {"Journal of the Optical Society of America~A"}
+MACRO {josab} {"Journal of the Optical Society of America~B"}
+MACRO {jdp} {"Journal de Physique"}
+MACRO {oc} {"Optics Communications"}
+MACRO {ol} {"Optics Letters"}
+MACRO {phtl} {"IEEE Photonics Technology Letters"}
+MACRO {pspie} {"Proceedings of the Society for Photo-Optical Instruments Engineers"}
+MACRO {sse} {"Solid-State Electronics"}
+MACRO {sjot} {"Soviet Journal of Optical Technology"}
+MACRO {sjqe} {"Soviet Journal of Quantum Electronics"}
+MACRO {sleb} {"Soviet Physics--Lebedev Institute Reports"}
+MACRO {stph} {"Soviet Physics--Technical Physics"}
+MACRO {stphl} {"Soviet Technical Physics Letters"}
+MACRO {vr} {"Vision Research"}
+MACRO {zph} {"Zeitschrift f\^^b{u}r Physik"}
+MACRO {zphb} {"Zeitschrift f\^^b{u}r Physik~B"}
+MACRO {zphd} {"Zeitschrift f\^^b{u}r Physik~D"}
+
+MACRO {CLEO} {"Conf. on Lasers and Electro-Optics"}
+MACRO {ASSL} {"Advanced Solid State Lasers"}
+MACRO {OSA} {"Optical Society of America"}
+ % End module: photjour.mbs
+%% Copyright 1994-2004 Patrick W Daly
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.eprint}
+{ eprint duplicate$ empty$
+ 'skip$
+ { "\eprint"
+ archive empty$
+ 'skip$
+ { "[" * archive * "]" * }
+ if$
+ "{" * swap$ * "}" *
+ }
+ if$
+}
+STRINGS { bibinfo}
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$ bib.name.font
+ s nameptr
+ "{jj, }{ff}"
+ format.name$ duplicate$ empty$ 'skip$
+ { bib.fname.font ", " swap$ * }
+ if$
+ *
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ nameptr #1
+ #1 + =
+ numnames #3
+ > and
+ { "others" 't :=
+ #1 'namesleft := }
+ 'skip$
+ if$
+ namesleft #1 >
+ { "; " * t * }
+ {
+ ";" *
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ { " " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.names.ed}
+{
+ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ff}" format.name$ duplicate$ empty$ 'skip$
+ { tie.or.space.prefix bib.fname.font swap$ * }
+ if$
+ s nameptr
+ "{vv~}{ll}" format.name$ bib.name.font *
+ s nameptr
+ "{jj}" format.name$ duplicate$ empty$ 'skip$
+ { bib.fname.font ", " swap$ * }
+ if$
+ *
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { "; " * t * }
+ {
+ ";" *
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+
+ " " * bbl.etal emphasize *
+ }
+ { " " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author "author" format.names
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ " " *
+ get.bbl.editor
+ "(" swap$ * ")" *
+ *
+ }
+ if$
+}
+FUNCTION {format.isbn}
+{ isbn "isbn" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ new.block
+ "ISBN " swap$ *
+ }
+ if$
+}
+
+FUNCTION {format.issn}
+{ issn "issn" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ new.block
+ "ISSN " swap$ *
+ }
+ if$
+}
+
+FUNCTION {format.doi}
+{ doi "doi" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ new.block
+ "\doi{" swap$ * "}" *
+ }
+ if$
+}
+FUNCTION {select.language}
+{ duplicate$ empty$
+ 'pop$
+ { language empty$
+ 'skip$
+ { "{\selectlanguage{" language * "}" * swap$ * "}" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.note}
+{
+ url empty$
+ 'skip$
+ { "\urlprefix\url{" url * "}" * output }
+ if$
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ duplicate$ empty$ 'skip$
+ { "t" change.case$ }
+ if$
+ "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ "\enquote{" swap$ *
+ "}" *
+ select.language
+ }
+ if$
+}
+FUNCTION {format.full.names}
+{'s :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$
+ cite.name.font
+ 't :=
+ nameptr #1 >
+ {
+ nameptr #1
+ #1 + =
+ numnames #3
+ > and
+ { "others" 't :=
+ #1 'namesleft := }
+ 'skip$
+ if$
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[{" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "}]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in capitalize
+ " " * }
+
+FUNCTION {format.date}
+{ year "year" bibinfo.check duplicate$ empty$
+ {
+ "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????"
+ }
+ 'skip$
+ if$
+ extra.label *
+ before.all 'output.state :=
+ " (" swap$ * ")" *
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ select.language
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { emphasize ", " * swap$ * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+FUNCTION {convert.edition}
+{ extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bbl.first 't := }
+ { s "second" = s "2" = or
+ { bbl.second 't := }
+ { s "third" = s "3" = or
+ { bbl.third 't := }
+ { s "fourth" = s "4" = or
+ { bbl.fourth 't := }
+ { s "fifth" = s "5" = or
+ { bbl.fifth 't := }
+ { s #1 #1 substring$ is.num
+ { s bbl.th * 't := }
+ { edition 't := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ t
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ convert.edition
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ bbl.pages swap$
+ n.dashify
+ }
+ {
+ bbl.page swap$
+ }
+ if$
+ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ": " *
+ swap$
+ n.dashify
+ pages multi.page.check
+ 'bbl.pages
+ 'bbl.page
+ if$
+ swap$ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.journal.eid}
+{ eid "eid" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$ 'skip$
+ {
+ ": " *
+ }
+ if$
+ swap$ *
+ }
+ if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ bbl.volume swap$ tie.or.space.prefix
+ "volume" bibinfo.check
+ * *
+ }
+ if$
+ number "number" bibinfo.check duplicate$ empty$ 'skip$
+ {
+ swap$ duplicate$ empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ swap$
+ "(" swap$ * ")" *
+ }
+ if$ *
+ eid empty$
+ { format.journal.pages }
+ { format.journal.eid }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+ emphasize
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ {
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ get.bbl.editor
+ swap$ "," *
+ " " * swap$ *
+ "(" swap$ * ")" *
+ swap$
+ " " * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ capitalize
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ t empty$
+ { address "address" bibinfo.check *
+ }
+ { t *
+ address empty$
+ 'skip$
+ { ", " * address "address" bibinfo.check * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+STRINGS {oldname}
+
+FUNCTION {name.or.dash}
+{ 's :=
+ oldname empty$
+ { s 'oldname := s }
+ { s oldname =
+ { "---" }
+ { s 'oldname := s }
+ if$
+ }
+ if$
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ {
+ journal
+ "journal" bibinfo.check
+ emphasize
+ "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.issn output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ add.blank
+ name.or.dash
+ }
+ { format.authors output.nonnull
+ name.or.dash
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher.address output
+ }
+ {
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.isbn output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ format.isbn output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ name.or.dash
+ }
+ { format.authors output.nonnull
+ name.or.dash
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher.address output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ crossref missing$
+ { format.isbn output }
+ 'skip$
+ if$
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ format.publisher.address output
+ format.edition output
+ format.isbn output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ new.sentence
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.isbn output
+ format.issn output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ format.edition output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ new.block
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title output
+ new.block
+ howpublished "howpublished" bibinfo.check output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ new.block
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ new.sentence
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.isbn output
+ format.issn output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ format.doi output
+ new.block
+ format.note "note" output.check
+ format.eprint output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+READ
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+FUNCTION {format.lab.names}
+{ 's :=
+ "" 't :=
+ s #1 "{vv~}{ll}" format.name$
+ cite.name.font
+ s num.names$ duplicate$
+ #2 >
+ { pop$
+ " " * bbl.etal emphasize *
+ }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ { bbl.and space.word * s #2 "{vv~}{ll}" format.name$
+ cite.name.font
+ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ll{ }}{ ff{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ nameptr #1
+ #1 + =
+ numnames #3
+ > and
+ { "others" 't :=
+ #1 'namesleft := }
+ 'skip$
+ if$
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" * }
+ { t sortify * }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+SORT
+STRINGS { last.label next.extra }
+INTEGERS { last.extra.num number.label }
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ emphasize
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+EXECUTE {initialize.extra.label.stuff}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+ITERATE {bib.sort.order}
+SORT
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\ProvideTextCommand{\guillemotleft}{OT1}{%"
+ write$ newline$
+ " \leavevmode\raise .27ex\hbox{$\scriptscriptstyle\ll$}}"
+ write$ newline$
+ "\ProvideTextCommand{\guillemotright}{OT1}{%"
+ write$ newline$
+ " \leavevmode\raise .27ex\hbox{$\scriptscriptstyle\gg$}}"
+ write$ newline$
+ "\newcommand{\enquote}[1]{\guillemotleft#1\guillemotright}"
+ write$ newline$
+ "\providecommand{\natexlab}[1]{#1}"
+ write$ newline$
+ "\providecommand{\url}[1]{\texttt{#1}}"
+ write$ newline$
+ "\providecommand{\urlprefix}{URL }"
+ write$ newline$
+ "\expandafter\ifx\csname urlstyle\endcsname\relax"
+ write$ newline$
+ " \providecommand{\doi}[1]{doi:\discretionary{}{}{}#1}\else"
+ write$ newline$
+ " \providecommand{\doi}{doi:\discretionary{}{}{}\begingroup \urlstyle{rm}\Url}\fi"
+ write$ newline$
+ "\providecommand{\selectlanguage}[1]{\relax}"
+ write$ newline$
+ "\providecommand{\eprint}[2][]{\url{#2}}"
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `caauda0.bst'. \ No newline at end of file
diff --git a/biblio/bibtex/contrib/catalan/bibtex/bst/caauda1.bst b/biblio/bibtex/contrib/catalan/bibtex/bst/caauda1.bst
new file mode 100644
index 0000000000..52d51c5a0c
--- /dev/null
+++ b/biblio/bibtex/contrib/catalan/bibtex/bst/caauda1.bst
@@ -0,0 +1,2023 @@
+%%
+%% This is file `caauda1.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `head,exlang,ay,nat,lang,vonx,nm-revf,aunm-semi,nmdash,nmlm,x3,m1,nmft,nmft-sc,fnm-rm,nmfted,nmand-rm,lab,lab-sc,and-rm,xlab-it,keyxyr,blkyear,aymth,yrp-col,note-yr,tit-qq,qt-g,qx,volp-sp,jwdpg,jwdvol,ser-vol,isbn,issn,doi,edparxc,edby-par,edbyy,catalan,ps,ed,nom,and-xcom,xand,etal-it,eprint,url,url-nt,nfss,,{}')
+%% catalan.mbs (with options: `exlang,ay,nat,lang,vonx,nm-revf,aunm-semi,nmdash,nmlm,x3,m1,nmft,nmft-sc,fnm-rm,nmfted,nmand-rm,lab,lab-sc,and-rm,xlab-it,keyxyr,blkyear,aymth,yrp-col,note-yr,tit-qq,qt-g,qx,volp-sp,jwdpg,jwdvol,ser-vol,isbn,issn,doi,edparxc,edby-par,edbyy,catalan,ps,ed,nom,and-xcom,xand,etal-it,eprint,url,url-nt,nfss,,{}')
+%% physjour.mbs (with options: `exlang,ay,nat,lang,vonx,nm-revf,aunm-semi,nmdash,nmlm,x3,m1,nmft,nmft-sc,fnm-rm,nmfted,nmand-rm,lab,lab-sc,and-rm,xlab-it,keyxyr,blkyear,aymth,yrp-col,note-yr,tit-qq,qt-g,qx,volp-sp,jwdpg,jwdvol,ser-vol,isbn,issn,doi,edparxc,edby-par,edbyy,catalan,ps,ed,nom,and-xcom,xand,etal-it,eprint,url,url-nt,nfss,,{}')
+%% geojour.mbs (with options: `exlang,ay,nat,lang,vonx,nm-revf,aunm-semi,nmdash,nmlm,x3,m1,nmft,nmft-sc,fnm-rm,nmfted,nmand-rm,lab,lab-sc,and-rm,xlab-it,keyxyr,blkyear,aymth,yrp-col,note-yr,tit-qq,qt-g,qx,volp-sp,jwdpg,jwdvol,ser-vol,isbn,issn,doi,edparxc,edby-par,edbyy,catalan,ps,ed,nom,and-xcom,xand,etal-it,eprint,url,url-nt,nfss,,{}')
+%% photjour.mbs (with options: `exlang,ay,nat,lang,vonx,nm-revf,aunm-semi,nmdash,nmlm,x3,m1,nmft,nmft-sc,fnm-rm,nmfted,nmand-rm,lab,lab-sc,and-rm,xlab-it,keyxyr,blkyear,aymth,yrp-col,note-yr,tit-qq,qt-g,qx,volp-sp,jwdpg,jwdvol,ser-vol,isbn,issn,doi,edparxc,edby-par,edbyy,catalan,ps,ed,nom,and-xcom,xand,etal-it,eprint,url,url-nt,nfss,,{}')
+%% merlin.mbs (with options: `tail,exlang,ay,nat,lang,vonx,nm-revf,aunm-semi,nmdash,nmlm,x3,m1,nmft,nmft-sc,fnm-rm,nmfted,nmand-rm,lab,lab-sc,and-rm,xlab-it,keyxyr,blkyear,aymth,yrp-col,note-yr,tit-qq,qt-g,qx,volp-sp,jwdpg,jwdvol,ser-vol,isbn,issn,doi,edparxc,edby-par,edbyy,catalan,ps,ed,nom,and-xcom,xand,etal-it,eprint,url,url-nt,nfss,,{}')
+%% ----------------------------------------
+%% *** catalan author-date BibTeX style (by Robert Fuster using makebst, 19/11/04) ***
+%% *** this BibTeX style requires the natbib LaTeX style***
+%% *** date at end ***
+%%
+%% Copyright 1994-2004 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2004/02/09 4.13 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in
+ % CATALAN
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is natbib.sty by Patrick W. Daly
+ % The form of the \bibitem entries is
+ % \bibitem[Jones et al.(1990)]{key}...
+ % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
+ % The essential feature is that the label (the part in brackets) consists
+ % of the author names, as they should appear in the citation, with the year
+ % in parentheses following. There must be no space before the opening
+ % parenthesis!
+ % With natbib v5.3, a full list of authors may also follow the year.
+ % In natbib.sty, it is possible to define the type of enclosures that is
+ % really wanted (brackets or parentheses), but in either case, there must
+ % be parentheses in the label.
+ % The \cite command functions as follows:
+ % \citet{key} ==>> Jones et al. (1990)
+ % \citet*{key} ==>> Jones, Baker, and Smith (1990)
+ % \citep{key} ==>> (Jones et al., 1990)
+ % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
+ % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
+ % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
+ % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
+ % \citeauthor{key} ==>> Jones et al.
+ % \citeauthor*{key} ==>> Jones, Baker, and Smith
+ % \citeyear{key} ==>> 1990
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ archive
+ author
+ booktitle
+ chapter
+ doi
+ edition
+ editor
+ eid
+ eprint
+ howpublished
+ institution
+ isbn
+ issn
+ journal
+ key
+ language
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ url
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ ":" *
+ add.blank
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+FUNCTION {non.stop}
+{ duplicate$
+ "}" * add.period$
+ #-1 #1 substring$ "." =
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+FUNCTION {scaps}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textsc{" swap$ * "}" * }
+ if$
+}
+FUNCTION {bib.name.font}
+{ scaps }
+FUNCTION {bib.fname.font}
+{ skip$ }
+FUNCTION {cite.name.font}
+{ scaps }
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ %-------------------------------------------------------------------
+ % Begin module: catalan.mbs
+ % \ProvidesFile{catalan.mbs}[2003/11/06 4.2 (PWD)]
+
+ % The language selected here is CATALAN
+FUNCTION {bbl.and}
+{ "i"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds." }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "editat per" }
+
+FUNCTION {bbl.edition}
+{ "edici\'o" }
+
+FUNCTION {bbl.volume}
+{ "volum" }
+
+FUNCTION {bbl.of}
+{ "de" }
+
+FUNCTION {bbl.number}
+{ "n\'umero" }
+
+FUNCTION {bbl.nr}
+{ "n." }
+
+FUNCTION {bbl.in}
+{ "dins" }
+
+FUNCTION {bbl.pages}
+{ "ps." }
+
+FUNCTION {bbl.page}
+{ "p." }
+
+FUNCTION {bbl.chapter}
+{ "cap\'{\i}tol" }
+
+FUNCTION {bbl.techrep}
+{ "Report t{\`e}cnic" }
+
+FUNCTION {bbl.mthesis}
+{ "Projecte F. de Carrera o Tesina de L." }
+
+FUNCTION {bbl.phdthesis}
+{ "Tesi Doctoral" }
+
+FUNCTION {bbl.first}
+{ "primera" }
+
+FUNCTION {bbl.second}
+{ "segona" }
+
+FUNCTION {bbl.third}
+{ "tercera" }
+
+FUNCTION {bbl.fourth}
+{ "quarta" }
+
+FUNCTION {bbl.fifth}
+{ "cinquena" }
+
+FUNCTION {bbl.th}
+{ "a" }
+
+MACRO {jan} {"gener"}
+
+MACRO {feb} {"febrer"}
+
+MACRO {mar} {"mar\c{c}"}
+
+MACRO {apr} {"abril"}
+
+MACRO {may} {"maig"}
+
+MACRO {jun} {"juny"}
+
+MACRO {jul} {"juliol"}
+
+MACRO {aug} {"agost"}
+
+MACRO {sep} {"setembre"}
+
+MACRO {oct} {"octubre"}
+
+MACRO {nov} {"novembre"}
+
+MACRO {dec} {"desembre"}
+
+ % End module: catalan.mbs
+ % \end{macrocode}
+ %-------------------------------------------------------------------
+ % Begin module:
+ % \ProvidesFile{physjour.mbs}[2002/01/14 2.2 (PWD)]
+MACRO {aa}{"Astronomy and Astrophysics"}
+MACRO {aasup}{"Astronomy and Astrophysics, Supplement Series"}
+MACRO {aj}{"Astronomical Journal"}
+MACRO {aph} {"Acta Physica"}
+MACRO {advp} {"Advances in Physics"}
+MACRO {ajp} {"American Journal of Physics"}
+MACRO {ajm} {"American Journal of Mathematics"}
+MACRO {amsci} {"American Scientist"}
+MACRO {anofd} {"Annals of Fluid Dynamics"}
+MACRO {am} {"Annals of Mathematics"}
+MACRO {ap} {"Annals of Physics"}
+MACRO {adp} {"Annalen der Physik"}
+MACRO {ao} {"Applied Optics"}
+MACRO {apl} {"Applied Physics Letters"}
+MACRO {app} {"Astroparticle Physics"}
+MACRO {apj} {"Astrophysical Journal"}
+MACRO {apjsup} {"Astrophysical Journal Supplement"}
+MACRO {apss} {"Astrophysics and Space Science"}
+MACRO {araa} {"Annual Review of Astronomy and Astrophysics"}
+MACRO {baas} {"Bulletin of the American Astronomical Society"}
+MACRO {baps} {"Bulletin of the American Physical Society"}
+MACRO {cmp} {"Communications in Mathematical Physics"}
+MACRO {cpam} {"Communications on Pure and Applied Mathematics"}
+MACRO {cppcf} {"Comments on Plasma Physics and Controlled Fusion"}
+MACRO {cpc} {"Computer Physics Communications"}
+MACRO {cqg} {"Classical and Quantum Gravity"}
+MACRO {cra} {"Comptes Rendus des S{\'e}ances de l'Acad{\'e}mie des Sciences A"}
+MACRO {fed} {"Fusion Engineering and Design"}
+MACRO {ft} {"Fusion Technology"}
+MACRO {grg} {"General Relativity and Gravitation"}
+MACRO {ieeens} {"IEEE Transactions on Nuclear Science"}
+MACRO {ieeeps} {"IEEE Transactions on Plasma Science"}
+MACRO {ijimw} {"International Journal of Infrared and Millimeter Waves"}
+MACRO {ip} {"Infrared Physics"}
+MACRO {irp} {"Infrared Physics"}
+MACRO {jap} {"Journal of Applied Physics"}
+MACRO {jasa} {"Journal of the Acoustical Society of America"}
+MACRO {jcp} {"Journal of Computational Physics"}
+MACRO {jetp} {"Soviet Physics--JETP"}
+MACRO {jfe} {"Journal of Fusion Energy"}
+MACRO {jfm} {"Journal of Fluid Mechanics"}
+MACRO {jmp} {"Journal of Mathematical Physics"}
+MACRO {jne} {"Journal of Nuclear Energy"}
+MACRO {jnec} {"Journal of Nuclear Energy, Part C: Plasma Physics, Accelerators, Thermonuclear Research"}
+MACRO {jnm} {"Journal of Nuclear Materials"}
+MACRO {jpc} {"Journal of Physical Chemistry"}
+MACRO {jpp} {"Journal of Plasma Physics"}
+MACRO {jpsj} {"Journal of the Physical Society of Japan"}
+MACRO {jsi} {"Journal of Scientific Instruments"}
+MACRO {jvst} {"Journal of Vacuum Science and Technology"}
+MACRO {nat} {"Nature"}
+MACRO {nature} {"Nature"}
+MACRO {nedf} {"Nuclear Engineering and Design/Fusion"}
+MACRO {nf} {"Nuclear Fusion"}
+MACRO {nim} {"Nuclear Instruments and Methods"}
+MACRO {nimpr} {"Nuclear Instruments and Methods in Physics Research"}
+MACRO {np} {"Nuclear Physics"}
+MACRO {npb} {"Nuclear Physics B"}
+MACRO {nt/f} {"Nuclear Technology/Fusion"}
+MACRO {npbpc} {"Nuclear Physics B (Proceedings Supplements)"}
+MACRO {inc} {"Il Nuovo Cimento"}
+MACRO {nc} {"Nuovo Cimento"}
+MACRO {pf} {"Physics of Fluids"}
+MACRO {pfa} {"Physics of Fluids A: Fluid Dynamics"}
+MACRO {pfb} {"Physics of Fluids B: Plasma Physics"}
+MACRO {pl} {"Physics Letters"}
+MACRO {pla} {"Physics Letters A"}
+MACRO {plb} {"Physics Letters B"}
+MACRO {prep} {"Physics Reports"}
+MACRO {pnas} {"Proceedings of the National Academy of Sciences of the USA"}
+MACRO {pp} {"Physics of Plasmas"}
+MACRO {ppcf} {"Plasma Physics and Controlled Fusion"}
+MACRO {phitrsl} {"Philosophical Transactions of the Royal Society of London"}
+MACRO {prl} {"Physical Review Letters"}
+MACRO {pr} {"Physical Review"}
+MACRO {physrev} {"Physical Review"}
+MACRO {pra} {"Physical Review A"}
+MACRO {prb} {"Physical Review B"}
+MACRO {prc} {"Physical Review C"}
+MACRO {prd} {"Physical Review D"}
+MACRO {pre} {"Physical Review E"}
+MACRO {ps} {"Physica Scripta"}
+MACRO {procrsl} {"Proceedings of the Royal Society of London"}
+MACRO {rmp} {"Reviews of Modern Physics"}
+MACRO {rsi} {"Review of Scientific Instruments"}
+MACRO {science} {"Science"}
+MACRO {sciam} {"Scientific American"}
+MACRO {sam} {"Studies in Applied Mathematics"}
+MACRO {sjpp} {"Soviet Journal of Plasma Physics"}
+MACRO {spd} {"Soviet Physics--Doklady"}
+MACRO {sptp} {"Soviet Physics--Technical Physics"}
+MACRO {spu} {"Soviet Physics--Uspeki"}
+MACRO {st} {"Sky and Telescope"}
+ % End module: physjour.mbs
+ %-------------------------------------------------------------------
+ % Begin module:
+ % \ProvidesFile{geojour.mbs}[2002/07/10 2.0h (PWD)]
+MACRO {aisr} {"Advances in Space Research"}
+MACRO {ag} {"Annales Geophysic\ae"}
+MACRO {anigeo} {"Annali di Geofisica"}
+MACRO {angl} {"Annals of Glaciology"}
+MACRO {andmet} {"Annalen der Meteorologie"}
+MACRO {andgeo} {"Annales de Geophysique"}
+MACRO {andphy} {"Annales de Physique"}
+MACRO {afmgb} {"Archiv f\^^b{u}r Meteorologie, Geophysik und Bioklimatologie"}
+MACRO {ass}{"Astrophysics and Space Science"}
+MACRO {atph} {"Atm\'osphera"}
+MACRO {aao} {"Atmosphere-Ocean"}
+MACRO {atenv} {"Atmospheric Environment"}
+MACRO {aujag} {"Australian Journal of Agricultural Research"}
+MACRO {aumet} {"Australian Meteorological Magazine"}
+MACRO {blmet} {"Boundary-Layer Meteorology"}
+MACRO {bams} {"Bulletin of the American Meteorological Society"}
+MACRO {cch} {"Climatic Change"}
+MACRO {cdyn} {"Climate Dynamics"}
+MACRO {cbul} {"Climatological Bulletin"}
+MACRO {cap} {"Contributions to Atmospheric Physics"}
+MACRO {dsr} {"Deep-Sea Research"}
+MACRO {dhz} {"Deutsche Hydrographische Zeitschrift"}
+MACRO {dao} {"Dynamics of Atmospheres and Oceans"}
+MACRO {eco} {"Ecology"}
+MACRO {empl}{"Earth, Moon and Planets"}
+MACRO {envres} {"Environmental Research"}
+MACRO {envst} {"Environmental Science and Technology"}
+MACRO {ecms} {"Estuarine and Coastal Marine Science"}
+MACRO {expa}{"Experimental Astronomy"}
+MACRO {geoint} {"Geofisica Internationale"}
+MACRO {geopub} {"Geofysiske Publikasjoner"}
+MACRO {geogeo} {"Geologiya i Geofizika"}
+MACRO {gafd} {"Geophysical and Astrophysical Fluid Dynamics"}
+MACRO {gfd} {"Geophysical Fluid Dynamics"}
+MACRO {geomag} {"Geophysical Magazine"}
+MACRO {georl} {"Geophysical Research Letters"}
+MACRO {grl} {"Geophysical Research Letters"}
+MACRO {ga} {"Geophysica"}
+MACRO {gs} {"Geophysics"}
+MACRO {ieeetap} {"IEEE Transactions on Antennas and Propagation"}
+MACRO {ijawp} {"International Journal of Air and Water Pollution"}
+MACRO {ijc} {"International Journal of Climatology"}
+MACRO {ijrs} {"International Journal of Remote Sensing"}
+MACRO {jam} {"Journal of Applied Meteorology"}
+MACRO {jaot} {"Journal of Atmospheric and Oceanic Technology"}
+MACRO {jatp} {"Journal of Atmospheric and Terrestrial Physics"}
+MACRO {jastp} {"Journal of Atmospheric and Solar-Terrestrial Physics"}
+MACRO {jce} {"Journal of Climate"}
+MACRO {jcam} {"Journal of Climate and Applied Meteorology"}
+MACRO {jcm} {"Journal of Climate Meteorology"}
+MACRO {jcy} {"journal of Climatology"}
+MACRO {jgr} {"Journal of Geophysical Research"}
+MACRO {jga} {"Journal of Glaciology"}
+MACRO {jh} {"Journal of Hydrology"}
+MACRO {jmr} {"Journal of Marine Research"}
+MACRO {jmrj} {"Journal of Meteorological Research, Japan"}
+MACRO {jm} {"Journal of Meteorology"}
+MACRO {jpo} {"Journal of Physical Oceanography"}
+MACRO {jra} {"Journal de Recherches Atmospheriques"}
+MACRO {jaes} {"Journal of the Aeronautical Sciences"}
+MACRO {japca} {"Journal of the Air Pollution Control Association"}
+MACRO {jas} {"Journal of the Atmospheric Sciences"}
+MACRO {jmts} {"Journal of the Marine Technology Society"}
+MACRO {jmsj} {"Journal of Meteorological Society of Japan"}
+MACRO {josj} {"Journal of the Oceanographical Society of Japan"}
+MACRO {jwm} {"Journal of Weather Modification"}
+MACRO {lao} {"Limnology and Oceanography"}
+MACRO {mwl} {"Mariners Weather Log"}
+MACRO {mau} {"Mausam"}
+MACRO {meteor} {"``Meteor'' Forschungsergebnisse"}
+MACRO {map} {"Meteorology and Atmospheric Physics"}
+MACRO {metmag} {"Meteorological Magazine"}
+MACRO {metmon} {"Meteorological Monographs"}
+MACRO {metrun} {"Meteorologische Rundschau"}
+MACRO {metzeit} {"Meteorologische Zeitschrift"}
+MACRO {metgid} {"Meteorologiya i Gidrologiya"}
+MACRO {mwr} {"Monthly Weather Review"}
+MACRO {nwd} {"National Weather Digest"}
+MACRO {nzjmfr} {"New Zealand Journal of Marine and Freshwater Research"}
+MACRO {npg} {"Nonlinear Processes in Geophysics"}
+MACRO {om} {"Oceanography and Meteorology"}
+MACRO {ocac} {"Oceanologica Acta"}
+MACRO {oceanus} {"Oceanus"}
+MACRO {paleoc} {"Paleoceanography"}
+MACRO {pce} {"Physics and Chemistry of the Earth"}
+MACRO {pmg} {"Papers in Meteorology and Geophysics"}
+MACRO {ppom} {"Papers in Physical Oceanography and Meteorology"}
+MACRO {physzeit} {"Physikalische Zeitschrift"}
+MACRO {pps} {"Planetary and Space Science"}
+MACRO {pss} {"Planetary and Space Science"}
+MACRO {pag} {"Pure and Applied Geophysics"}
+MACRO {qjrms} {"Quarterly Journal of the Royal Meteorological Society"}
+MACRO {quatres} {"Quaternary Research"}
+MACRO {rsci} {"Radio Science"}
+MACRO {rse} {"Remote Sensing of the Environment"}
+MACRO {rgeo} {"Reviews of Geophysics"}
+MACRO {rgsp} {"Reviews of Geophysics and Space Physics"}
+MACRO {rdgeo} {"Revista de Geofisica"}
+MACRO {revmeta} {"Revista Meteorologica"}
+MACRO {sgp}{"Surveys in Geophysics"}
+MACRO {sp} {"Solar Phys."}
+MACRO {ssr} {"Space Science Review"}
+MACRO {tellus} {"Tellus"}
+MACRO {tac} {"Theoretical and Applied Climatology"}
+MACRO {tagu} {"Transactions, American Geophysical Union (EOS)"}
+MACRO {wrr} {"Water Resources Research"}
+MACRO {weather} {"Weather"}
+MACRO {wafc} {"Weather and Forecasting"}
+MACRO {ww} {"Weatherwise"}
+MACRO {wmob} {"World Meteorological Organization Bulletin"}
+MACRO {zeitmet} {"Zeitschrift f\^^b{u}r Meteorologie"}
+ % End module: geojour.mbs
+ %-------------------------------------------------------------------
+ % Begin module:
+ % \ProvidesFile{photjour.mbs}[1999/02/24 2.0b (PWD)]
+
+MACRO {appopt} {"Applied Optics"}
+MACRO {bell} {"Bell Systems Technical Journal"}
+MACRO {ell} {"Electronics Letters"}
+MACRO {jasp} {"Journal of Applied Spectroscopy"}
+MACRO {jqe} {"IEEE Journal of Quantum Electronics"}
+MACRO {jlwt} {"Journal of Lightwave Technology"}
+MACRO {jmo} {"Journal of Modern Optics"}
+MACRO {josa} {"Journal of the Optical Society of America"}
+MACRO {josaa} {"Journal of the Optical Society of America~A"}
+MACRO {josab} {"Journal of the Optical Society of America~B"}
+MACRO {jdp} {"Journal de Physique"}
+MACRO {oc} {"Optics Communications"}
+MACRO {ol} {"Optics Letters"}
+MACRO {phtl} {"IEEE Photonics Technology Letters"}
+MACRO {pspie} {"Proceedings of the Society for Photo-Optical Instruments Engineers"}
+MACRO {sse} {"Solid-State Electronics"}
+MACRO {sjot} {"Soviet Journal of Optical Technology"}
+MACRO {sjqe} {"Soviet Journal of Quantum Electronics"}
+MACRO {sleb} {"Soviet Physics--Lebedev Institute Reports"}
+MACRO {stph} {"Soviet Physics--Technical Physics"}
+MACRO {stphl} {"Soviet Technical Physics Letters"}
+MACRO {vr} {"Vision Research"}
+MACRO {zph} {"Zeitschrift f\^^b{u}r Physik"}
+MACRO {zphb} {"Zeitschrift f\^^b{u}r Physik~B"}
+MACRO {zphd} {"Zeitschrift f\^^b{u}r Physik~D"}
+
+MACRO {CLEO} {"Conf. on Lasers and Electro-Optics"}
+MACRO {ASSL} {"Advanced Solid State Lasers"}
+MACRO {OSA} {"Optical Society of America"}
+ % End module: photjour.mbs
+%% Copyright 1994-2004 Patrick W Daly
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.eprint}
+{ eprint duplicate$ empty$
+ 'skip$
+ { "\eprint"
+ archive empty$
+ 'skip$
+ { "[" * archive * "]" * }
+ if$
+ "{" * swap$ * "}" *
+ }
+ if$
+}
+STRINGS { bibinfo}
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$ bib.name.font
+ s nameptr
+ "{jj, }{ff}"
+ format.name$ duplicate$ empty$ 'skip$
+ { bib.fname.font ", " swap$ * }
+ if$
+ *
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ nameptr #1
+ #1 + =
+ numnames #3
+ > and
+ { "others" 't :=
+ #1 'namesleft := }
+ 'skip$
+ if$
+ namesleft #1 >
+ { "; " * t * }
+ {
+ ";" *
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ { " " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.names.ed}
+{
+ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ff}" format.name$ duplicate$ empty$ 'skip$
+ { tie.or.space.prefix bib.fname.font swap$ * }
+ if$
+ s nameptr
+ "{vv~}{ll}" format.name$ bib.name.font *
+ s nameptr
+ "{jj}" format.name$ duplicate$ empty$ 'skip$
+ { bib.fname.font ", " swap$ * }
+ if$
+ *
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { "; " * t * }
+ {
+ ";" *
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+
+ " " * bbl.etal emphasize *
+ }
+ { " " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author "author" format.names
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ " " *
+ get.bbl.editor
+ "(" swap$ * ")" *
+ *
+ }
+ if$
+}
+FUNCTION {format.isbn}
+{ isbn "isbn" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ new.block
+ "ISBN " swap$ *
+ }
+ if$
+}
+
+FUNCTION {format.issn}
+{ issn "issn" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ new.block
+ "ISSN " swap$ *
+ }
+ if$
+}
+
+FUNCTION {format.doi}
+{ doi "doi" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ new.block
+ "\doi{" swap$ * "}" *
+ }
+ if$
+}
+FUNCTION {select.language}
+{ duplicate$ empty$
+ 'pop$
+ { language empty$
+ 'skip$
+ { "{\selectlanguage{" language * "}" * swap$ * "}" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.note}
+{
+ url empty$
+ 'skip$
+ { "\urlprefix\url{" url * "}" * output }
+ if$
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ duplicate$ empty$ 'skip$
+ { "t" change.case$ }
+ if$
+ "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ "\enquote{" swap$ *
+ "}" *
+ select.language
+ }
+ if$
+}
+FUNCTION {format.full.names}
+{'s :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$
+ cite.name.font
+ 't :=
+ nameptr #1 >
+ {
+ nameptr #1
+ #1 + =
+ numnames #3
+ > and
+ { "others" 't :=
+ #1 'namesleft := }
+ 'skip$
+ if$
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[{" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "}]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in capitalize
+ " " * }
+
+FUNCTION {format.date}
+{ year "year" bibinfo.check duplicate$ empty$
+ {
+ }
+ 'skip$
+ if$
+ month "month" bibinfo.check duplicate$ empty$
+ 'skip$
+ {
+ " " * swap$
+ }
+ if$
+ *
+ extra.label *
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ select.language
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { emphasize ", " * swap$ * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+FUNCTION {convert.edition}
+{ extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bbl.first 't := }
+ { s "second" = s "2" = or
+ { bbl.second 't := }
+ { s "third" = s "3" = or
+ { bbl.third 't := }
+ { s "fourth" = s "4" = or
+ { bbl.fourth 't := }
+ { s "fifth" = s "5" = or
+ { bbl.fifth 't := }
+ { s #1 #1 substring$ is.num
+ { s bbl.th * 't := }
+ { edition 't := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ t
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ convert.edition
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ bbl.pages swap$
+ n.dashify
+ }
+ {
+ bbl.page swap$
+ }
+ if$
+ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ": " *
+ swap$
+ n.dashify
+ pages multi.page.check
+ 'bbl.pages
+ 'bbl.page
+ if$
+ swap$ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.journal.eid}
+{ eid "eid" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$ 'skip$
+ {
+ ": " *
+ }
+ if$
+ swap$ *
+ }
+ if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ bbl.volume swap$ tie.or.space.prefix
+ "volume" bibinfo.check
+ * *
+ }
+ if$
+ number "number" bibinfo.check duplicate$ empty$ 'skip$
+ {
+ swap$ duplicate$ empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ swap$
+ "(" swap$ * ")" *
+ }
+ if$ *
+ eid empty$
+ { format.journal.pages }
+ { format.journal.eid }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+ emphasize
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ {
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ get.bbl.editor
+ swap$ "," *
+ " " * swap$ *
+ "(" swap$ * ")" *
+ swap$
+ " " * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ capitalize
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ t empty$
+ { address "address" bibinfo.check *
+ }
+ { t *
+ address empty$
+ 'skip$
+ { ", " * address "address" bibinfo.check * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+STRINGS {oldname}
+
+FUNCTION {name.or.dash}
+{ 's :=
+ oldname empty$
+ { s 'oldname := s }
+ { s oldname =
+ { "---" }
+ { s 'oldname := s }
+ if$
+ }
+ if$
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ {
+ journal
+ "journal" bibinfo.check
+ emphasize
+ "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.issn output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ add.blank
+ name.or.dash
+ }
+ { format.authors output.nonnull
+ name.or.dash
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher.address output
+ }
+ {
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ format.isbn output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ name.or.dash
+ new.block
+ format.title "title" output.check
+ new.block
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ format.date "year" output.check
+ format.isbn output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ name.or.dash
+ }
+ { format.authors output.nonnull
+ name.or.dash
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher.address output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ crossref missing$
+ { format.isbn output }
+ 'skip$
+ if$
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ format.publisher.address output
+ format.edition output
+ format.date "year" output.check
+ format.isbn output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ new.sentence
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.date "year" output.check
+ format.isbn output
+ format.issn output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ name.or.dash
+ new.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ format.edition output
+ format.date "year" output.check
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.date "year" output.check
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ name.or.dash
+ new.block
+ format.title output
+ new.block
+ howpublished "howpublished" bibinfo.check output
+ format.date "year" output.check
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ new.block
+ format.btitle
+ "title" output.check
+ new.block
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.date "year" output.check
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ name.or.dash
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ new.sentence
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.date "year" output.check
+ format.isbn output
+ format.issn output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.date "year" output.check
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ new.block
+ format.title "title" output.check
+ format.date "year" output.check
+ format.doi output
+ new.block
+ format.note "note" output.check
+ format.eprint output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+READ
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+FUNCTION {format.lab.names}
+{ 's :=
+ "" 't :=
+ s #1 "{vv~}{ll}" format.name$
+ cite.name.font
+ s num.names$ duplicate$
+ #2 >
+ { pop$
+ " " * bbl.etal emphasize *
+ }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ { bbl.and space.word * s #2 "{vv~}{ll}" format.name$
+ cite.name.font
+ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ll{ }}{ ff{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ nameptr #1
+ #1 + =
+ numnames #3
+ > and
+ { "others" 't :=
+ #1 'namesleft := }
+ 'skip$
+ if$
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" * }
+ { t sortify * }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+SORT
+STRINGS { last.label next.extra }
+INTEGERS { last.extra.num number.label }
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ emphasize
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+EXECUTE {initialize.extra.label.stuff}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+ITERATE {bib.sort.order}
+SORT
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\ProvideTextCommand{\guillemotleft}{OT1}{%"
+ write$ newline$
+ " \leavevmode\raise .27ex\hbox{$\scriptscriptstyle\ll$}}"
+ write$ newline$
+ "\ProvideTextCommand{\guillemotright}{OT1}{%"
+ write$ newline$
+ " \leavevmode\raise .27ex\hbox{$\scriptscriptstyle\gg$}}"
+ write$ newline$
+ "\newcommand{\enquote}[1]{\guillemotleft#1\guillemotright}"
+ write$ newline$
+ "\providecommand{\natexlab}[1]{#1}"
+ write$ newline$
+ "\providecommand{\url}[1]{\texttt{#1}}"
+ write$ newline$
+ "\providecommand{\urlprefix}{URL }"
+ write$ newline$
+ "\expandafter\ifx\csname urlstyle\endcsname\relax"
+ write$ newline$
+ " \providecommand{\doi}[1]{doi:\discretionary{}{}{}#1}\else"
+ write$ newline$
+ " \providecommand{\doi}{doi:\discretionary{}{}{}\begingroup \urlstyle{rm}\Url}\fi"
+ write$ newline$
+ "\providecommand{\selectlanguage}[1]{\relax}"
+ write$ newline$
+ "\providecommand{\eprint}[2][]{\url{#2}}"
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `caauda1.bst'. \ No newline at end of file
diff --git a/biblio/bibtex/contrib/catalan/bibtex/bst/caauda2.bst b/biblio/bibtex/contrib/catalan/bibtex/bst/caauda2.bst
new file mode 100644
index 0000000000..d51c8ea232
--- /dev/null
+++ b/biblio/bibtex/contrib/catalan/bibtex/bst/caauda2.bst
@@ -0,0 +1,2044 @@
+%%
+%% This is file `caauda2.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `head,exlang,ay,nat,lang,vonx,nm-revf,aunm-semi,nmdash,nmlm,x3,m1,nmft,nmft-sc,fnm-rm,nmfted,nmand-rm,lab,lab-sc,and-rm,xlab-it,keyxyr,dt-beg,xmth,yr-par,yrp-col,note-yr,tit-qq,qt-g,qx,volp-sp,jwdpg,jwdvol,ser-vol,isbn,issn,doi,edparxc,edby-par,edbyy,catalan,ps,ed,nom,and-xcom,xand,etal-it,eprint,url,url-nt,nfss,,{}')
+%% catalan.mbs (with options: `exlang,ay,nat,lang,vonx,nm-revf,aunm-semi,nmdash,nmlm,x3,m1,nmft,nmft-sc,fnm-rm,nmfted,nmand-rm,lab,lab-sc,and-rm,xlab-it,keyxyr,dt-beg,xmth,yr-par,yrp-col,note-yr,tit-qq,qt-g,qx,volp-sp,jwdpg,jwdvol,ser-vol,isbn,issn,doi,edparxc,edby-par,edbyy,catalan,ps,ed,nom,and-xcom,xand,etal-it,eprint,url,url-nt,nfss,,{}')
+%% physjour.mbs (with options: `exlang,ay,nat,lang,vonx,nm-revf,aunm-semi,nmdash,nmlm,x3,m1,nmft,nmft-sc,fnm-rm,nmfted,nmand-rm,lab,lab-sc,and-rm,xlab-it,keyxyr,dt-beg,xmth,yr-par,yrp-col,note-yr,tit-qq,qt-g,qx,volp-sp,jwdpg,jwdvol,ser-vol,isbn,issn,doi,edparxc,edby-par,edbyy,catalan,ps,ed,nom,and-xcom,xand,etal-it,eprint,url,url-nt,nfss,,{}')
+%% geojour.mbs (with options: `exlang,ay,nat,lang,vonx,nm-revf,aunm-semi,nmdash,nmlm,x3,m1,nmft,nmft-sc,fnm-rm,nmfted,nmand-rm,lab,lab-sc,and-rm,xlab-it,keyxyr,dt-beg,xmth,yr-par,yrp-col,note-yr,tit-qq,qt-g,qx,volp-sp,jwdpg,jwdvol,ser-vol,isbn,issn,doi,edparxc,edby-par,edbyy,catalan,ps,ed,nom,and-xcom,xand,etal-it,eprint,url,url-nt,nfss,,{}')
+%% photjour.mbs (with options: `exlang,ay,nat,lang,vonx,nm-revf,aunm-semi,nmdash,nmlm,x3,m1,nmft,nmft-sc,fnm-rm,nmfted,nmand-rm,lab,lab-sc,and-rm,xlab-it,keyxyr,dt-beg,xmth,yr-par,yrp-col,note-yr,tit-qq,qt-g,qx,volp-sp,jwdpg,jwdvol,ser-vol,isbn,issn,doi,edparxc,edby-par,edbyy,catalan,ps,ed,nom,and-xcom,xand,etal-it,eprint,url,url-nt,nfss,,{}')
+%% merlin.mbs (with options: `tail,exlang,ay,nat,lang,vonx,nm-revf,aunm-semi,nmdash,nmlm,x3,m1,nmft,nmft-sc,fnm-rm,nmfted,nmand-rm,lab,lab-sc,and-rm,xlab-it,keyxyr,dt-beg,xmth,yr-par,yrp-col,note-yr,tit-qq,qt-g,qx,volp-sp,jwdpg,jwdvol,ser-vol,isbn,issn,doi,edparxc,edby-par,edbyy,catalan,ps,ed,nom,and-xcom,xand,etal-it,eprint,url,url-nt,nfss,,{}')
+%% ----------------------------------------
+%% *** catalan author-date BibTeX style (by Robert Fuster using makebst, 19/11/04) ***
+%% *** this BibTeX style requires the natbib LaTeX style***
+%% *** year follows author(s) ***
+%%
+%% Copyright 1994-2004 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2004/02/09 4.13 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in
+ % CATALAN
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is natbib.sty by Patrick W. Daly
+ % The form of the \bibitem entries is
+ % \bibitem[Jones et al.(1990)]{key}...
+ % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
+ % The essential feature is that the label (the part in brackets) consists
+ % of the author names, as they should appear in the citation, with the year
+ % in parentheses following. There must be no space before the opening
+ % parenthesis!
+ % With natbib v5.3, a full list of authors may also follow the year.
+ % In natbib.sty, it is possible to define the type of enclosures that is
+ % really wanted (brackets or parentheses), but in either case, there must
+ % be parentheses in the label.
+ % The \cite command functions as follows:
+ % \citet{key} ==>> Jones et al. (1990)
+ % \citet*{key} ==>> Jones, Baker, and Smith (1990)
+ % \citep{key} ==>> (Jones et al., 1990)
+ % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
+ % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
+ % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
+ % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
+ % \citeauthor{key} ==>> Jones et al.
+ % \citeauthor*{key} ==>> Jones, Baker, and Smith
+ % \citeyear{key} ==>> 1990
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ annote
+ archive
+ author
+ booktitle
+ chapter
+ doi
+ edition
+ editor
+ eid
+ eprint
+ howpublished
+ institution
+ isbn
+ issn
+ journal
+ key
+ language
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ url
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ ":" *
+ add.blank
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+FUNCTION {non.stop}
+{ duplicate$
+ "}" * add.period$
+ #-1 #1 substring$ "." =
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+FUNCTION {scaps}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textsc{" swap$ * "}" * }
+ if$
+}
+FUNCTION {bib.name.font}
+{ scaps }
+FUNCTION {bib.fname.font}
+{ skip$ }
+FUNCTION {cite.name.font}
+{ scaps }
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ %-------------------------------------------------------------------
+ % Begin module: catalan.mbs
+ % \ProvidesFile{catalan.mbs}[2003/11/06 4.2 (PWD)]
+
+ % The language selected here is CATALAN
+FUNCTION {bbl.and}
+{ "i"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds." }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "editat per" }
+
+FUNCTION {bbl.edition}
+{ "edici\'o" }
+
+FUNCTION {bbl.volume}
+{ "volum" }
+
+FUNCTION {bbl.of}
+{ "de" }
+
+FUNCTION {bbl.number}
+{ "n\'umero" }
+
+FUNCTION {bbl.nr}
+{ "n." }
+
+FUNCTION {bbl.in}
+{ "dins" }
+
+FUNCTION {bbl.pages}
+{ "ps." }
+
+FUNCTION {bbl.page}
+{ "p." }
+
+FUNCTION {bbl.chapter}
+{ "cap\'{\i}tol" }
+
+FUNCTION {bbl.techrep}
+{ "Report t{\`e}cnic" }
+
+FUNCTION {bbl.mthesis}
+{ "Projecte F. de Carrera o Tesina de L." }
+
+FUNCTION {bbl.phdthesis}
+{ "Tesi Doctoral" }
+
+FUNCTION {bbl.first}
+{ "primera" }
+
+FUNCTION {bbl.second}
+{ "segona" }
+
+FUNCTION {bbl.third}
+{ "tercera" }
+
+FUNCTION {bbl.fourth}
+{ "quarta" }
+
+FUNCTION {bbl.fifth}
+{ "cinquena" }
+
+FUNCTION {bbl.th}
+{ "a" }
+
+MACRO {jan} {"gener"}
+
+MACRO {feb} {"febrer"}
+
+MACRO {mar} {"mar\c{c}"}
+
+MACRO {apr} {"abril"}
+
+MACRO {may} {"maig"}
+
+MACRO {jun} {"juny"}
+
+MACRO {jul} {"juliol"}
+
+MACRO {aug} {"agost"}
+
+MACRO {sep} {"setembre"}
+
+MACRO {oct} {"octubre"}
+
+MACRO {nov} {"novembre"}
+
+MACRO {dec} {"desembre"}
+
+ % End module: catalan.mbs
+ % \end{macrocode}
+ %-------------------------------------------------------------------
+ % Begin module:
+ % \ProvidesFile{physjour.mbs}[2002/01/14 2.2 (PWD)]
+MACRO {aa}{"Astronomy and Astrophysics"}
+MACRO {aasup}{"Astronomy and Astrophysics, Supplement Series"}
+MACRO {aj}{"Astronomical Journal"}
+MACRO {aph} {"Acta Physica"}
+MACRO {advp} {"Advances in Physics"}
+MACRO {ajp} {"American Journal of Physics"}
+MACRO {ajm} {"American Journal of Mathematics"}
+MACRO {amsci} {"American Scientist"}
+MACRO {anofd} {"Annals of Fluid Dynamics"}
+MACRO {am} {"Annals of Mathematics"}
+MACRO {ap} {"Annals of Physics"}
+MACRO {adp} {"Annalen der Physik"}
+MACRO {ao} {"Applied Optics"}
+MACRO {apl} {"Applied Physics Letters"}
+MACRO {app} {"Astroparticle Physics"}
+MACRO {apj} {"Astrophysical Journal"}
+MACRO {apjsup} {"Astrophysical Journal Supplement"}
+MACRO {apss} {"Astrophysics and Space Science"}
+MACRO {araa} {"Annual Review of Astronomy and Astrophysics"}
+MACRO {baas} {"Bulletin of the American Astronomical Society"}
+MACRO {baps} {"Bulletin of the American Physical Society"}
+MACRO {cmp} {"Communications in Mathematical Physics"}
+MACRO {cpam} {"Communications on Pure and Applied Mathematics"}
+MACRO {cppcf} {"Comments on Plasma Physics and Controlled Fusion"}
+MACRO {cpc} {"Computer Physics Communications"}
+MACRO {cqg} {"Classical and Quantum Gravity"}
+MACRO {cra} {"Comptes Rendus des S{\'e}ances de l'Acad{\'e}mie des Sciences A"}
+MACRO {fed} {"Fusion Engineering and Design"}
+MACRO {ft} {"Fusion Technology"}
+MACRO {grg} {"General Relativity and Gravitation"}
+MACRO {ieeens} {"IEEE Transactions on Nuclear Science"}
+MACRO {ieeeps} {"IEEE Transactions on Plasma Science"}
+MACRO {ijimw} {"International Journal of Infrared and Millimeter Waves"}
+MACRO {ip} {"Infrared Physics"}
+MACRO {irp} {"Infrared Physics"}
+MACRO {jap} {"Journal of Applied Physics"}
+MACRO {jasa} {"Journal of the Acoustical Society of America"}
+MACRO {jcp} {"Journal of Computational Physics"}
+MACRO {jetp} {"Soviet Physics--JETP"}
+MACRO {jfe} {"Journal of Fusion Energy"}
+MACRO {jfm} {"Journal of Fluid Mechanics"}
+MACRO {jmp} {"Journal of Mathematical Physics"}
+MACRO {jne} {"Journal of Nuclear Energy"}
+MACRO {jnec} {"Journal of Nuclear Energy, Part C: Plasma Physics, Accelerators, Thermonuclear Research"}
+MACRO {jnm} {"Journal of Nuclear Materials"}
+MACRO {jpc} {"Journal of Physical Chemistry"}
+MACRO {jpp} {"Journal of Plasma Physics"}
+MACRO {jpsj} {"Journal of the Physical Society of Japan"}
+MACRO {jsi} {"Journal of Scientific Instruments"}
+MACRO {jvst} {"Journal of Vacuum Science and Technology"}
+MACRO {nat} {"Nature"}
+MACRO {nature} {"Nature"}
+MACRO {nedf} {"Nuclear Engineering and Design/Fusion"}
+MACRO {nf} {"Nuclear Fusion"}
+MACRO {nim} {"Nuclear Instruments and Methods"}
+MACRO {nimpr} {"Nuclear Instruments and Methods in Physics Research"}
+MACRO {np} {"Nuclear Physics"}
+MACRO {npb} {"Nuclear Physics B"}
+MACRO {nt/f} {"Nuclear Technology/Fusion"}
+MACRO {npbpc} {"Nuclear Physics B (Proceedings Supplements)"}
+MACRO {inc} {"Il Nuovo Cimento"}
+MACRO {nc} {"Nuovo Cimento"}
+MACRO {pf} {"Physics of Fluids"}
+MACRO {pfa} {"Physics of Fluids A: Fluid Dynamics"}
+MACRO {pfb} {"Physics of Fluids B: Plasma Physics"}
+MACRO {pl} {"Physics Letters"}
+MACRO {pla} {"Physics Letters A"}
+MACRO {plb} {"Physics Letters B"}
+MACRO {prep} {"Physics Reports"}
+MACRO {pnas} {"Proceedings of the National Academy of Sciences of the USA"}
+MACRO {pp} {"Physics of Plasmas"}
+MACRO {ppcf} {"Plasma Physics and Controlled Fusion"}
+MACRO {phitrsl} {"Philosophical Transactions of the Royal Society of London"}
+MACRO {prl} {"Physical Review Letters"}
+MACRO {pr} {"Physical Review"}
+MACRO {physrev} {"Physical Review"}
+MACRO {pra} {"Physical Review A"}
+MACRO {prb} {"Physical Review B"}
+MACRO {prc} {"Physical Review C"}
+MACRO {prd} {"Physical Review D"}
+MACRO {pre} {"Physical Review E"}
+MACRO {ps} {"Physica Scripta"}
+MACRO {procrsl} {"Proceedings of the Royal Society of London"}
+MACRO {rmp} {"Reviews of Modern Physics"}
+MACRO {rsi} {"Review of Scientific Instruments"}
+MACRO {science} {"Science"}
+MACRO {sciam} {"Scientific American"}
+MACRO {sam} {"Studies in Applied Mathematics"}
+MACRO {sjpp} {"Soviet Journal of Plasma Physics"}
+MACRO {spd} {"Soviet Physics--Doklady"}
+MACRO {sptp} {"Soviet Physics--Technical Physics"}
+MACRO {spu} {"Soviet Physics--Uspeki"}
+MACRO {st} {"Sky and Telescope"}
+ % End module: physjour.mbs
+ %-------------------------------------------------------------------
+ % Begin module:
+ % \ProvidesFile{geojour.mbs}[2002/07/10 2.0h (PWD)]
+MACRO {aisr} {"Advances in Space Research"}
+MACRO {ag} {"Annales Geophysic\ae"}
+MACRO {anigeo} {"Annali di Geofisica"}
+MACRO {angl} {"Annals of Glaciology"}
+MACRO {andmet} {"Annalen der Meteorologie"}
+MACRO {andgeo} {"Annales de Geophysique"}
+MACRO {andphy} {"Annales de Physique"}
+MACRO {afmgb} {"Archiv f\^^b{u}r Meteorologie, Geophysik und Bioklimatologie"}
+MACRO {ass}{"Astrophysics and Space Science"}
+MACRO {atph} {"Atm\'osphera"}
+MACRO {aao} {"Atmosphere-Ocean"}
+MACRO {atenv} {"Atmospheric Environment"}
+MACRO {aujag} {"Australian Journal of Agricultural Research"}
+MACRO {aumet} {"Australian Meteorological Magazine"}
+MACRO {blmet} {"Boundary-Layer Meteorology"}
+MACRO {bams} {"Bulletin of the American Meteorological Society"}
+MACRO {cch} {"Climatic Change"}
+MACRO {cdyn} {"Climate Dynamics"}
+MACRO {cbul} {"Climatological Bulletin"}
+MACRO {cap} {"Contributions to Atmospheric Physics"}
+MACRO {dsr} {"Deep-Sea Research"}
+MACRO {dhz} {"Deutsche Hydrographische Zeitschrift"}
+MACRO {dao} {"Dynamics of Atmospheres and Oceans"}
+MACRO {eco} {"Ecology"}
+MACRO {empl}{"Earth, Moon and Planets"}
+MACRO {envres} {"Environmental Research"}
+MACRO {envst} {"Environmental Science and Technology"}
+MACRO {ecms} {"Estuarine and Coastal Marine Science"}
+MACRO {expa}{"Experimental Astronomy"}
+MACRO {geoint} {"Geofisica Internationale"}
+MACRO {geopub} {"Geofysiske Publikasjoner"}
+MACRO {geogeo} {"Geologiya i Geofizika"}
+MACRO {gafd} {"Geophysical and Astrophysical Fluid Dynamics"}
+MACRO {gfd} {"Geophysical Fluid Dynamics"}
+MACRO {geomag} {"Geophysical Magazine"}
+MACRO {georl} {"Geophysical Research Letters"}
+MACRO {grl} {"Geophysical Research Letters"}
+MACRO {ga} {"Geophysica"}
+MACRO {gs} {"Geophysics"}
+MACRO {ieeetap} {"IEEE Transactions on Antennas and Propagation"}
+MACRO {ijawp} {"International Journal of Air and Water Pollution"}
+MACRO {ijc} {"International Journal of Climatology"}
+MACRO {ijrs} {"International Journal of Remote Sensing"}
+MACRO {jam} {"Journal of Applied Meteorology"}
+MACRO {jaot} {"Journal of Atmospheric and Oceanic Technology"}
+MACRO {jatp} {"Journal of Atmospheric and Terrestrial Physics"}
+MACRO {jastp} {"Journal of Atmospheric and Solar-Terrestrial Physics"}
+MACRO {jce} {"Journal of Climate"}
+MACRO {jcam} {"Journal of Climate and Applied Meteorology"}
+MACRO {jcm} {"Journal of Climate Meteorology"}
+MACRO {jcy} {"journal of Climatology"}
+MACRO {jgr} {"Journal of Geophysical Research"}
+MACRO {jga} {"Journal of Glaciology"}
+MACRO {jh} {"Journal of Hydrology"}
+MACRO {jmr} {"Journal of Marine Research"}
+MACRO {jmrj} {"Journal of Meteorological Research, Japan"}
+MACRO {jm} {"Journal of Meteorology"}
+MACRO {jpo} {"Journal of Physical Oceanography"}
+MACRO {jra} {"Journal de Recherches Atmospheriques"}
+MACRO {jaes} {"Journal of the Aeronautical Sciences"}
+MACRO {japca} {"Journal of the Air Pollution Control Association"}
+MACRO {jas} {"Journal of the Atmospheric Sciences"}
+MACRO {jmts} {"Journal of the Marine Technology Society"}
+MACRO {jmsj} {"Journal of Meteorological Society of Japan"}
+MACRO {josj} {"Journal of the Oceanographical Society of Japan"}
+MACRO {jwm} {"Journal of Weather Modification"}
+MACRO {lao} {"Limnology and Oceanography"}
+MACRO {mwl} {"Mariners Weather Log"}
+MACRO {mau} {"Mausam"}
+MACRO {meteor} {"``Meteor'' Forschungsergebnisse"}
+MACRO {map} {"Meteorology and Atmospheric Physics"}
+MACRO {metmag} {"Meteorological Magazine"}
+MACRO {metmon} {"Meteorological Monographs"}
+MACRO {metrun} {"Meteorologische Rundschau"}
+MACRO {metzeit} {"Meteorologische Zeitschrift"}
+MACRO {metgid} {"Meteorologiya i Gidrologiya"}
+MACRO {mwr} {"Monthly Weather Review"}
+MACRO {nwd} {"National Weather Digest"}
+MACRO {nzjmfr} {"New Zealand Journal of Marine and Freshwater Research"}
+MACRO {npg} {"Nonlinear Processes in Geophysics"}
+MACRO {om} {"Oceanography and Meteorology"}
+MACRO {ocac} {"Oceanologica Acta"}
+MACRO {oceanus} {"Oceanus"}
+MACRO {paleoc} {"Paleoceanography"}
+MACRO {pce} {"Physics and Chemistry of the Earth"}
+MACRO {pmg} {"Papers in Meteorology and Geophysics"}
+MACRO {ppom} {"Papers in Physical Oceanography and Meteorology"}
+MACRO {physzeit} {"Physikalische Zeitschrift"}
+MACRO {pps} {"Planetary and Space Science"}
+MACRO {pss} {"Planetary and Space Science"}
+MACRO {pag} {"Pure and Applied Geophysics"}
+MACRO {qjrms} {"Quarterly Journal of the Royal Meteorological Society"}
+MACRO {quatres} {"Quaternary Research"}
+MACRO {rsci} {"Radio Science"}
+MACRO {rse} {"Remote Sensing of the Environment"}
+MACRO {rgeo} {"Reviews of Geophysics"}
+MACRO {rgsp} {"Reviews of Geophysics and Space Physics"}
+MACRO {rdgeo} {"Revista de Geofisica"}
+MACRO {revmeta} {"Revista Meteorologica"}
+MACRO {sgp}{"Surveys in Geophysics"}
+MACRO {sp} {"Solar Phys."}
+MACRO {ssr} {"Space Science Review"}
+MACRO {tellus} {"Tellus"}
+MACRO {tac} {"Theoretical and Applied Climatology"}
+MACRO {tagu} {"Transactions, American Geophysical Union (EOS)"}
+MACRO {wrr} {"Water Resources Research"}
+MACRO {weather} {"Weather"}
+MACRO {wafc} {"Weather and Forecasting"}
+MACRO {ww} {"Weatherwise"}
+MACRO {wmob} {"World Meteorological Organization Bulletin"}
+MACRO {zeitmet} {"Zeitschrift f\^^b{u}r Meteorologie"}
+ % End module: geojour.mbs
+ %-------------------------------------------------------------------
+ % Begin module:
+ % \ProvidesFile{photjour.mbs}[1999/02/24 2.0b (PWD)]
+
+MACRO {appopt} {"Applied Optics"}
+MACRO {bell} {"Bell Systems Technical Journal"}
+MACRO {ell} {"Electronics Letters"}
+MACRO {jasp} {"Journal of Applied Spectroscopy"}
+MACRO {jqe} {"IEEE Journal of Quantum Electronics"}
+MACRO {jlwt} {"Journal of Lightwave Technology"}
+MACRO {jmo} {"Journal of Modern Optics"}
+MACRO {josa} {"Journal of the Optical Society of America"}
+MACRO {josaa} {"Journal of the Optical Society of America~A"}
+MACRO {josab} {"Journal of the Optical Society of America~B"}
+MACRO {jdp} {"Journal de Physique"}
+MACRO {oc} {"Optics Communications"}
+MACRO {ol} {"Optics Letters"}
+MACRO {phtl} {"IEEE Photonics Technology Letters"}
+MACRO {pspie} {"Proceedings of the Society for Photo-Optical Instruments Engineers"}
+MACRO {sse} {"Solid-State Electronics"}
+MACRO {sjot} {"Soviet Journal of Optical Technology"}
+MACRO {sjqe} {"Soviet Journal of Quantum Electronics"}
+MACRO {sleb} {"Soviet Physics--Lebedev Institute Reports"}
+MACRO {stph} {"Soviet Physics--Technical Physics"}
+MACRO {stphl} {"Soviet Technical Physics Letters"}
+MACRO {vr} {"Vision Research"}
+MACRO {zph} {"Zeitschrift f\^^b{u}r Physik"}
+MACRO {zphb} {"Zeitschrift f\^^b{u}r Physik~B"}
+MACRO {zphd} {"Zeitschrift f\^^b{u}r Physik~D"}
+
+MACRO {CLEO} {"Conf. on Lasers and Electro-Optics"}
+MACRO {ASSL} {"Advanced Solid State Lasers"}
+MACRO {OSA} {"Optical Society of America"}
+ % End module: photjour.mbs
+%% Copyright 1994-2004 Patrick W Daly
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.annote}
+{ annote missing$
+ 'skip$
+ { "{\topsep 0pt\begin{trivlist}\item\BIBannoteformat" write$ newline$
+ annote write$ "." write$ newline$
+ "\end{trivlist}}" write$ newline$}
+ if$
+}
+FUNCTION {format.eprint}
+{ eprint duplicate$ empty$
+ 'skip$
+ { "\eprint"
+ archive empty$
+ 'skip$
+ { "[" * archive * "]" * }
+ if$
+ "{" * swap$ * "}" *
+ }
+ if$
+}
+STRINGS { bibinfo}
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$ bib.name.font
+ s nameptr
+ "{jj, }{ff}"
+ format.name$ duplicate$ empty$ 'skip$
+ { bib.fname.font ", " swap$ * }
+ if$
+ *
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ nameptr #1
+ #1 + =
+ numnames #3
+ > and
+ { "others" 't :=
+ #1 'namesleft := }
+ 'skip$
+ if$
+ namesleft #1 >
+ { "; " * t * }
+ {
+ ";" *
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ { " " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.names.ed}
+{
+ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ff}" format.name$ duplicate$ empty$ 'skip$
+ { tie.or.space.prefix bib.fname.font swap$ * }
+ if$
+ s nameptr
+ "{vv~}{ll}" format.name$ bib.name.font *
+ s nameptr
+ "{jj}" format.name$ duplicate$ empty$ 'skip$
+ { bib.fname.font ", " swap$ * }
+ if$
+ *
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { "; " * t * }
+ {
+ ";" *
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+
+ " " * bbl.etal emphasize *
+ }
+ { " " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author "author" format.names
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ " " *
+ get.bbl.editor
+ "(" swap$ * ")" *
+ *
+ }
+ if$
+}
+FUNCTION {format.isbn}
+{ isbn "isbn" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ new.block
+ "ISBN " swap$ *
+ }
+ if$
+}
+
+FUNCTION {format.issn}
+{ issn "issn" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ new.block
+ "ISSN " swap$ *
+ }
+ if$
+}
+
+FUNCTION {format.doi}
+{ doi "doi" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ new.block
+ "\doi{" swap$ * "}" *
+ }
+ if$
+}
+FUNCTION {select.language}
+{ duplicate$ empty$
+ 'pop$
+ { language empty$
+ 'skip$
+ { "{\selectlanguage{" language * "}" * swap$ * "}" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.note}
+{
+ url empty$
+ 'skip$
+ { "\urlprefix\url{" url * "}" * output }
+ if$
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ duplicate$ empty$ 'skip$
+ { "t" change.case$ }
+ if$
+ "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ "\enquote{" swap$ *
+ "}" *
+ select.language
+ }
+ if$
+}
+FUNCTION {format.full.names}
+{'s :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$
+ cite.name.font
+ 't :=
+ nameptr #1 >
+ {
+ nameptr #1
+ #1 + =
+ numnames #3
+ > and
+ { "others" 't :=
+ #1 'namesleft := }
+ 'skip$
+ if$
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[{" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "}]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in capitalize
+ " " * }
+
+FUNCTION {format.date}
+{ year "year" bibinfo.check duplicate$ empty$
+ {
+ "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????"
+ }
+ 'skip$
+ if$
+ extra.label *
+ before.all 'output.state :=
+ " (" swap$ * ")" *
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ select.language
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { emphasize ", " * swap$ * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+FUNCTION {convert.edition}
+{ extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bbl.first 't := }
+ { s "second" = s "2" = or
+ { bbl.second 't := }
+ { s "third" = s "3" = or
+ { bbl.third 't := }
+ { s "fourth" = s "4" = or
+ { bbl.fourth 't := }
+ { s "fifth" = s "5" = or
+ { bbl.fifth 't := }
+ { s #1 #1 substring$ is.num
+ { s bbl.th * 't := }
+ { edition 't := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ t
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ convert.edition
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ bbl.pages swap$
+ n.dashify
+ }
+ {
+ bbl.page swap$
+ }
+ if$
+ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ": " *
+ swap$
+ n.dashify
+ pages multi.page.check
+ 'bbl.pages
+ 'bbl.page
+ if$
+ swap$ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.journal.eid}
+{ eid "eid" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$ 'skip$
+ {
+ ": " *
+ }
+ if$
+ swap$ *
+ }
+ if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ bbl.volume swap$ tie.or.space.prefix
+ "volume" bibinfo.check
+ * *
+ }
+ if$
+ number "number" bibinfo.check duplicate$ empty$ 'skip$
+ {
+ swap$ duplicate$ empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ swap$
+ "(" swap$ * ")" *
+ }
+ if$ *
+ eid empty$
+ { format.journal.pages }
+ { format.journal.eid }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+ emphasize
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ {
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ get.bbl.editor
+ swap$ "," *
+ " " * swap$ *
+ "(" swap$ * ")" *
+ swap$
+ " " * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ capitalize
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ t empty$
+ { address "address" bibinfo.check *
+ }
+ { t *
+ address empty$
+ 'skip$
+ { ", " * address "address" bibinfo.check * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+STRINGS {oldname}
+
+FUNCTION {name.or.dash}
+{ 's :=
+ oldname empty$
+ { s 'oldname := s }
+ { s oldname =
+ { "---" }
+ { s 'oldname := s }
+ if$
+ }
+ if$
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ {
+ journal
+ "journal" bibinfo.check
+ emphasize
+ "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.issn output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+ format.annote
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ add.blank
+ name.or.dash
+ }
+ { format.authors output.nonnull
+ name.or.dash
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher.address output
+ }
+ {
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.isbn output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+ format.annote
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ format.isbn output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+ format.annote
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ name.or.dash
+ }
+ { format.authors output.nonnull
+ name.or.dash
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher.address output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ crossref missing$
+ { format.isbn output }
+ 'skip$
+ if$
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+ format.annote
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ format.publisher.address output
+ format.edition output
+ format.isbn output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+ format.annote
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ new.sentence
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.isbn output
+ format.issn output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+ format.annote
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ format.edition output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+ format.annote
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ new.block
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+ format.annote
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title output
+ new.block
+ howpublished "howpublished" bibinfo.check output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+ format.annote
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ new.block
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+ format.annote
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ new.sentence
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.isbn output
+ format.issn output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+ format.annote
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+ format.annote
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ format.doi output
+ new.block
+ format.note "note" output.check
+ format.eprint output
+ fin.entry
+ format.annote
+}
+
+FUNCTION {default.type} { misc }
+READ
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+FUNCTION {format.lab.names}
+{ 's :=
+ "" 't :=
+ s #1 "{vv~}{ll}" format.name$
+ cite.name.font
+ s num.names$ duplicate$
+ #2 >
+ { pop$
+ " " * bbl.etal emphasize *
+ }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ { bbl.and space.word * s #2 "{vv~}{ll}" format.name$
+ cite.name.font
+ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ll{ }}{ ff{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ nameptr #1
+ #1 + =
+ numnames #3
+ > and
+ { "others" 't :=
+ #1 'namesleft := }
+ 'skip$
+ if$
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" * }
+ { t sortify * }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+SORT
+STRINGS { last.label next.extra }
+INTEGERS { last.extra.num number.label }
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ emphasize
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+EXECUTE {initialize.extra.label.stuff}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+ITERATE {bib.sort.order}
+SORT
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\ProvideTextCommand{\guillemotleft}{OT1}{%"
+ write$ newline$
+ " \leavevmode\raise .27ex\hbox{$\scriptscriptstyle\ll$}}"
+ write$ newline$
+ "\ProvideTextCommand{\guillemotright}{OT1}{%"
+ write$ newline$
+ " \leavevmode\raise .27ex\hbox{$\scriptscriptstyle\gg$}}"
+ write$ newline$
+ "\newcommand{\enquote}[1]{\guillemotleft#1\guillemotright}"
+ write$ newline$
+ "\providecommand{\natexlab}[1]{#1}"
+ write$ newline$
+ "\providecommand{\url}[1]{\texttt{#1}}"
+ write$ newline$
+ "\providecommand{\urlprefix}{URL }"
+ write$ newline$
+ "\expandafter\ifx\csname urlstyle\endcsname\relax"
+ write$ newline$
+ " \providecommand{\doi}[1]{doi:\discretionary{}{}{}#1}\else"
+ write$ newline$
+ " \providecommand{\doi}{doi:\discretionary{}{}{}\begingroup \urlstyle{rm}\Url}\fi"
+ write$ newline$
+ "\providecommand{\selectlanguage}[1]{\relax}"
+ write$ newline$
+ "\providecommand{\eprint}[2][]{\url{#2}}"
+ write$ newline$
+ "\providecommand{\BIBannoteformat}{\small\itshape}"
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `caauda2.bst'. \ No newline at end of file
diff --git a/biblio/bibtex/contrib/catalan/bibtex/bst/caauda3.bst b/biblio/bibtex/contrib/catalan/bibtex/bst/caauda3.bst
new file mode 100644
index 0000000000..2076a63cb1
--- /dev/null
+++ b/biblio/bibtex/contrib/catalan/bibtex/bst/caauda3.bst
@@ -0,0 +1,2047 @@
+%%
+%% This is file `caauda3.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `head,exlang,ay,nat,lang,vonx,nm-revf,aunm-semi,nmdash,nmlm,x3,m1,nmft,nmft-sc,fnm-rm,nmfted,nmand-rm,lab,lab-sc,and-rm,xlab-it,keyxyr,blkyear,aymth,yrp-col,note-yr,tit-qq,qt-g,qx,volp-sp,jwdpg,jwdvol,ser-vol,isbn,issn,doi,edparxc,edby-par,edbyy,catalan,ps,ed,nom,and-xcom,xand,etal-it,eprint,url,url-nt,nfss,,{}')
+%% catalan.mbs (with options: `exlang,ay,nat,lang,vonx,nm-revf,aunm-semi,nmdash,nmlm,x3,m1,nmft,nmft-sc,fnm-rm,nmfted,nmand-rm,lab,lab-sc,and-rm,xlab-it,keyxyr,blkyear,aymth,yrp-col,note-yr,tit-qq,qt-g,qx,volp-sp,jwdpg,jwdvol,ser-vol,isbn,issn,doi,edparxc,edby-par,edbyy,catalan,ps,ed,nom,and-xcom,xand,etal-it,eprint,url,url-nt,nfss,,{}')
+%% physjour.mbs (with options: `exlang,ay,nat,lang,vonx,nm-revf,aunm-semi,nmdash,nmlm,x3,m1,nmft,nmft-sc,fnm-rm,nmfted,nmand-rm,lab,lab-sc,and-rm,xlab-it,keyxyr,blkyear,aymth,yrp-col,note-yr,tit-qq,qt-g,qx,volp-sp,jwdpg,jwdvol,ser-vol,isbn,issn,doi,edparxc,edby-par,edbyy,catalan,ps,ed,nom,and-xcom,xand,etal-it,eprint,url,url-nt,nfss,,{}')
+%% geojour.mbs (with options: `exlang,ay,nat,lang,vonx,nm-revf,aunm-semi,nmdash,nmlm,x3,m1,nmft,nmft-sc,fnm-rm,nmfted,nmand-rm,lab,lab-sc,and-rm,xlab-it,keyxyr,blkyear,aymth,yrp-col,note-yr,tit-qq,qt-g,qx,volp-sp,jwdpg,jwdvol,ser-vol,isbn,issn,doi,edparxc,edby-par,edbyy,catalan,ps,ed,nom,and-xcom,xand,etal-it,eprint,url,url-nt,nfss,,{}')
+%% photjour.mbs (with options: `exlang,ay,nat,lang,vonx,nm-revf,aunm-semi,nmdash,nmlm,x3,m1,nmft,nmft-sc,fnm-rm,nmfted,nmand-rm,lab,lab-sc,and-rm,xlab-it,keyxyr,blkyear,aymth,yrp-col,note-yr,tit-qq,qt-g,qx,volp-sp,jwdpg,jwdvol,ser-vol,isbn,issn,doi,edparxc,edby-par,edbyy,catalan,ps,ed,nom,and-xcom,xand,etal-it,eprint,url,url-nt,nfss,,{}')
+%% merlin.mbs (with options: `tail,exlang,ay,nat,lang,vonx,nm-revf,aunm-semi,nmdash,nmlm,x3,m1,nmft,nmft-sc,fnm-rm,nmfted,nmand-rm,lab,lab-sc,and-rm,xlab-it,keyxyr,blkyear,aymth,yrp-col,note-yr,tit-qq,qt-g,qx,volp-sp,jwdpg,jwdvol,ser-vol,isbn,issn,doi,edparxc,edby-par,edbyy,catalan,ps,ed,nom,and-xcom,xand,etal-it,eprint,url,url-nt,nfss,,{}')
+%% ----------------------------------------
+%% *** catalan author-date BibTeX style (by Robert Fuster using makebst, 19/11/04) ***
+%% *** this BibTeX style requires the natbib LaTeX style***
+%% *** date at end ***
+%%
+%% Copyright 1994-2004 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2004/02/09 4.13 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in
+ % CATALAN
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is natbib.sty by Patrick W. Daly
+ % The form of the \bibitem entries is
+ % \bibitem[Jones et al.(1990)]{key}...
+ % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
+ % The essential feature is that the label (the part in brackets) consists
+ % of the author names, as they should appear in the citation, with the year
+ % in parentheses following. There must be no space before the opening
+ % parenthesis!
+ % With natbib v5.3, a full list of authors may also follow the year.
+ % In natbib.sty, it is possible to define the type of enclosures that is
+ % really wanted (brackets or parentheses), but in either case, there must
+ % be parentheses in the label.
+ % The \cite command functions as follows:
+ % \citet{key} ==>> Jones et al. (1990)
+ % \citet*{key} ==>> Jones, Baker, and Smith (1990)
+ % \citep{key} ==>> (Jones et al., 1990)
+ % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
+ % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
+ % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
+ % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
+ % \citeauthor{key} ==>> Jones et al.
+ % \citeauthor*{key} ==>> Jones, Baker, and Smith
+ % \citeyear{key} ==>> 1990
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ annote
+ archive
+ author
+ booktitle
+ chapter
+ doi
+ edition
+ editor
+ eid
+ eprint
+ howpublished
+ institution
+ isbn
+ issn
+ journal
+ key
+ language
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ url
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ ":" *
+ add.blank
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+FUNCTION {non.stop}
+{ duplicate$
+ "}" * add.period$
+ #-1 #1 substring$ "." =
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+FUNCTION {scaps}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textsc{" swap$ * "}" * }
+ if$
+}
+FUNCTION {bib.name.font}
+{ scaps }
+FUNCTION {bib.fname.font}
+{ skip$ }
+FUNCTION {cite.name.font}
+{ scaps }
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ %-------------------------------------------------------------------
+ % Begin module: catalan.mbs
+ % \ProvidesFile{catalan.mbs}[2003/11/06 4.2 (PWD)]
+
+ % The language selected here is CATALAN
+FUNCTION {bbl.and}
+{ "i"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds." }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "editat per" }
+
+FUNCTION {bbl.edition}
+{ "edici\'o" }
+
+FUNCTION {bbl.volume}
+{ "volum" }
+
+FUNCTION {bbl.of}
+{ "de" }
+
+FUNCTION {bbl.number}
+{ "n\'umero" }
+
+FUNCTION {bbl.nr}
+{ "n." }
+
+FUNCTION {bbl.in}
+{ "dins" }
+
+FUNCTION {bbl.pages}
+{ "ps." }
+
+FUNCTION {bbl.page}
+{ "p." }
+
+FUNCTION {bbl.chapter}
+{ "cap\'{\i}tol" }
+
+FUNCTION {bbl.techrep}
+{ "Report t{\`e}cnic" }
+
+FUNCTION {bbl.mthesis}
+{ "Projecte F. de Carrera o Tesina de L." }
+
+FUNCTION {bbl.phdthesis}
+{ "Tesi Doctoral" }
+
+FUNCTION {bbl.first}
+{ "primera" }
+
+FUNCTION {bbl.second}
+{ "segona" }
+
+FUNCTION {bbl.third}
+{ "tercera" }
+
+FUNCTION {bbl.fourth}
+{ "quarta" }
+
+FUNCTION {bbl.fifth}
+{ "cinquena" }
+
+FUNCTION {bbl.th}
+{ "a" }
+
+MACRO {jan} {"gener"}
+
+MACRO {feb} {"febrer"}
+
+MACRO {mar} {"mar\c{c}"}
+
+MACRO {apr} {"abril"}
+
+MACRO {may} {"maig"}
+
+MACRO {jun} {"juny"}
+
+MACRO {jul} {"juliol"}
+
+MACRO {aug} {"agost"}
+
+MACRO {sep} {"setembre"}
+
+MACRO {oct} {"octubre"}
+
+MACRO {nov} {"novembre"}
+
+MACRO {dec} {"desembre"}
+
+ % End module: catalan.mbs
+ % \end{macrocode}
+ %-------------------------------------------------------------------
+ % Begin module:
+ % \ProvidesFile{physjour.mbs}[2002/01/14 2.2 (PWD)]
+MACRO {aa}{"Astronomy and Astrophysics"}
+MACRO {aasup}{"Astronomy and Astrophysics, Supplement Series"}
+MACRO {aj}{"Astronomical Journal"}
+MACRO {aph} {"Acta Physica"}
+MACRO {advp} {"Advances in Physics"}
+MACRO {ajp} {"American Journal of Physics"}
+MACRO {ajm} {"American Journal of Mathematics"}
+MACRO {amsci} {"American Scientist"}
+MACRO {anofd} {"Annals of Fluid Dynamics"}
+MACRO {am} {"Annals of Mathematics"}
+MACRO {ap} {"Annals of Physics"}
+MACRO {adp} {"Annalen der Physik"}
+MACRO {ao} {"Applied Optics"}
+MACRO {apl} {"Applied Physics Letters"}
+MACRO {app} {"Astroparticle Physics"}
+MACRO {apj} {"Astrophysical Journal"}
+MACRO {apjsup} {"Astrophysical Journal Supplement"}
+MACRO {apss} {"Astrophysics and Space Science"}
+MACRO {araa} {"Annual Review of Astronomy and Astrophysics"}
+MACRO {baas} {"Bulletin of the American Astronomical Society"}
+MACRO {baps} {"Bulletin of the American Physical Society"}
+MACRO {cmp} {"Communications in Mathematical Physics"}
+MACRO {cpam} {"Communications on Pure and Applied Mathematics"}
+MACRO {cppcf} {"Comments on Plasma Physics and Controlled Fusion"}
+MACRO {cpc} {"Computer Physics Communications"}
+MACRO {cqg} {"Classical and Quantum Gravity"}
+MACRO {cra} {"Comptes Rendus des S{\'e}ances de l'Acad{\'e}mie des Sciences A"}
+MACRO {fed} {"Fusion Engineering and Design"}
+MACRO {ft} {"Fusion Technology"}
+MACRO {grg} {"General Relativity and Gravitation"}
+MACRO {ieeens} {"IEEE Transactions on Nuclear Science"}
+MACRO {ieeeps} {"IEEE Transactions on Plasma Science"}
+MACRO {ijimw} {"International Journal of Infrared and Millimeter Waves"}
+MACRO {ip} {"Infrared Physics"}
+MACRO {irp} {"Infrared Physics"}
+MACRO {jap} {"Journal of Applied Physics"}
+MACRO {jasa} {"Journal of the Acoustical Society of America"}
+MACRO {jcp} {"Journal of Computational Physics"}
+MACRO {jetp} {"Soviet Physics--JETP"}
+MACRO {jfe} {"Journal of Fusion Energy"}
+MACRO {jfm} {"Journal of Fluid Mechanics"}
+MACRO {jmp} {"Journal of Mathematical Physics"}
+MACRO {jne} {"Journal of Nuclear Energy"}
+MACRO {jnec} {"Journal of Nuclear Energy, Part C: Plasma Physics, Accelerators, Thermonuclear Research"}
+MACRO {jnm} {"Journal of Nuclear Materials"}
+MACRO {jpc} {"Journal of Physical Chemistry"}
+MACRO {jpp} {"Journal of Plasma Physics"}
+MACRO {jpsj} {"Journal of the Physical Society of Japan"}
+MACRO {jsi} {"Journal of Scientific Instruments"}
+MACRO {jvst} {"Journal of Vacuum Science and Technology"}
+MACRO {nat} {"Nature"}
+MACRO {nature} {"Nature"}
+MACRO {nedf} {"Nuclear Engineering and Design/Fusion"}
+MACRO {nf} {"Nuclear Fusion"}
+MACRO {nim} {"Nuclear Instruments and Methods"}
+MACRO {nimpr} {"Nuclear Instruments and Methods in Physics Research"}
+MACRO {np} {"Nuclear Physics"}
+MACRO {npb} {"Nuclear Physics B"}
+MACRO {nt/f} {"Nuclear Technology/Fusion"}
+MACRO {npbpc} {"Nuclear Physics B (Proceedings Supplements)"}
+MACRO {inc} {"Il Nuovo Cimento"}
+MACRO {nc} {"Nuovo Cimento"}
+MACRO {pf} {"Physics of Fluids"}
+MACRO {pfa} {"Physics of Fluids A: Fluid Dynamics"}
+MACRO {pfb} {"Physics of Fluids B: Plasma Physics"}
+MACRO {pl} {"Physics Letters"}
+MACRO {pla} {"Physics Letters A"}
+MACRO {plb} {"Physics Letters B"}
+MACRO {prep} {"Physics Reports"}
+MACRO {pnas} {"Proceedings of the National Academy of Sciences of the USA"}
+MACRO {pp} {"Physics of Plasmas"}
+MACRO {ppcf} {"Plasma Physics and Controlled Fusion"}
+MACRO {phitrsl} {"Philosophical Transactions of the Royal Society of London"}
+MACRO {prl} {"Physical Review Letters"}
+MACRO {pr} {"Physical Review"}
+MACRO {physrev} {"Physical Review"}
+MACRO {pra} {"Physical Review A"}
+MACRO {prb} {"Physical Review B"}
+MACRO {prc} {"Physical Review C"}
+MACRO {prd} {"Physical Review D"}
+MACRO {pre} {"Physical Review E"}
+MACRO {ps} {"Physica Scripta"}
+MACRO {procrsl} {"Proceedings of the Royal Society of London"}
+MACRO {rmp} {"Reviews of Modern Physics"}
+MACRO {rsi} {"Review of Scientific Instruments"}
+MACRO {science} {"Science"}
+MACRO {sciam} {"Scientific American"}
+MACRO {sam} {"Studies in Applied Mathematics"}
+MACRO {sjpp} {"Soviet Journal of Plasma Physics"}
+MACRO {spd} {"Soviet Physics--Doklady"}
+MACRO {sptp} {"Soviet Physics--Technical Physics"}
+MACRO {spu} {"Soviet Physics--Uspeki"}
+MACRO {st} {"Sky and Telescope"}
+ % End module: physjour.mbs
+ %-------------------------------------------------------------------
+ % Begin module:
+ % \ProvidesFile{geojour.mbs}[2002/07/10 2.0h (PWD)]
+MACRO {aisr} {"Advances in Space Research"}
+MACRO {ag} {"Annales Geophysic\ae"}
+MACRO {anigeo} {"Annali di Geofisica"}
+MACRO {angl} {"Annals of Glaciology"}
+MACRO {andmet} {"Annalen der Meteorologie"}
+MACRO {andgeo} {"Annales de Geophysique"}
+MACRO {andphy} {"Annales de Physique"}
+MACRO {afmgb} {"Archiv f\^^b{u}r Meteorologie, Geophysik und Bioklimatologie"}
+MACRO {ass}{"Astrophysics and Space Science"}
+MACRO {atph} {"Atm\'osphera"}
+MACRO {aao} {"Atmosphere-Ocean"}
+MACRO {atenv} {"Atmospheric Environment"}
+MACRO {aujag} {"Australian Journal of Agricultural Research"}
+MACRO {aumet} {"Australian Meteorological Magazine"}
+MACRO {blmet} {"Boundary-Layer Meteorology"}
+MACRO {bams} {"Bulletin of the American Meteorological Society"}
+MACRO {cch} {"Climatic Change"}
+MACRO {cdyn} {"Climate Dynamics"}
+MACRO {cbul} {"Climatological Bulletin"}
+MACRO {cap} {"Contributions to Atmospheric Physics"}
+MACRO {dsr} {"Deep-Sea Research"}
+MACRO {dhz} {"Deutsche Hydrographische Zeitschrift"}
+MACRO {dao} {"Dynamics of Atmospheres and Oceans"}
+MACRO {eco} {"Ecology"}
+MACRO {empl}{"Earth, Moon and Planets"}
+MACRO {envres} {"Environmental Research"}
+MACRO {envst} {"Environmental Science and Technology"}
+MACRO {ecms} {"Estuarine and Coastal Marine Science"}
+MACRO {expa}{"Experimental Astronomy"}
+MACRO {geoint} {"Geofisica Internationale"}
+MACRO {geopub} {"Geofysiske Publikasjoner"}
+MACRO {geogeo} {"Geologiya i Geofizika"}
+MACRO {gafd} {"Geophysical and Astrophysical Fluid Dynamics"}
+MACRO {gfd} {"Geophysical Fluid Dynamics"}
+MACRO {geomag} {"Geophysical Magazine"}
+MACRO {georl} {"Geophysical Research Letters"}
+MACRO {grl} {"Geophysical Research Letters"}
+MACRO {ga} {"Geophysica"}
+MACRO {gs} {"Geophysics"}
+MACRO {ieeetap} {"IEEE Transactions on Antennas and Propagation"}
+MACRO {ijawp} {"International Journal of Air and Water Pollution"}
+MACRO {ijc} {"International Journal of Climatology"}
+MACRO {ijrs} {"International Journal of Remote Sensing"}
+MACRO {jam} {"Journal of Applied Meteorology"}
+MACRO {jaot} {"Journal of Atmospheric and Oceanic Technology"}
+MACRO {jatp} {"Journal of Atmospheric and Terrestrial Physics"}
+MACRO {jastp} {"Journal of Atmospheric and Solar-Terrestrial Physics"}
+MACRO {jce} {"Journal of Climate"}
+MACRO {jcam} {"Journal of Climate and Applied Meteorology"}
+MACRO {jcm} {"Journal of Climate Meteorology"}
+MACRO {jcy} {"journal of Climatology"}
+MACRO {jgr} {"Journal of Geophysical Research"}
+MACRO {jga} {"Journal of Glaciology"}
+MACRO {jh} {"Journal of Hydrology"}
+MACRO {jmr} {"Journal of Marine Research"}
+MACRO {jmrj} {"Journal of Meteorological Research, Japan"}
+MACRO {jm} {"Journal of Meteorology"}
+MACRO {jpo} {"Journal of Physical Oceanography"}
+MACRO {jra} {"Journal de Recherches Atmospheriques"}
+MACRO {jaes} {"Journal of the Aeronautical Sciences"}
+MACRO {japca} {"Journal of the Air Pollution Control Association"}
+MACRO {jas} {"Journal of the Atmospheric Sciences"}
+MACRO {jmts} {"Journal of the Marine Technology Society"}
+MACRO {jmsj} {"Journal of Meteorological Society of Japan"}
+MACRO {josj} {"Journal of the Oceanographical Society of Japan"}
+MACRO {jwm} {"Journal of Weather Modification"}
+MACRO {lao} {"Limnology and Oceanography"}
+MACRO {mwl} {"Mariners Weather Log"}
+MACRO {mau} {"Mausam"}
+MACRO {meteor} {"``Meteor'' Forschungsergebnisse"}
+MACRO {map} {"Meteorology and Atmospheric Physics"}
+MACRO {metmag} {"Meteorological Magazine"}
+MACRO {metmon} {"Meteorological Monographs"}
+MACRO {metrun} {"Meteorologische Rundschau"}
+MACRO {metzeit} {"Meteorologische Zeitschrift"}
+MACRO {metgid} {"Meteorologiya i Gidrologiya"}
+MACRO {mwr} {"Monthly Weather Review"}
+MACRO {nwd} {"National Weather Digest"}
+MACRO {nzjmfr} {"New Zealand Journal of Marine and Freshwater Research"}
+MACRO {npg} {"Nonlinear Processes in Geophysics"}
+MACRO {om} {"Oceanography and Meteorology"}
+MACRO {ocac} {"Oceanologica Acta"}
+MACRO {oceanus} {"Oceanus"}
+MACRO {paleoc} {"Paleoceanography"}
+MACRO {pce} {"Physics and Chemistry of the Earth"}
+MACRO {pmg} {"Papers in Meteorology and Geophysics"}
+MACRO {ppom} {"Papers in Physical Oceanography and Meteorology"}
+MACRO {physzeit} {"Physikalische Zeitschrift"}
+MACRO {pps} {"Planetary and Space Science"}
+MACRO {pss} {"Planetary and Space Science"}
+MACRO {pag} {"Pure and Applied Geophysics"}
+MACRO {qjrms} {"Quarterly Journal of the Royal Meteorological Society"}
+MACRO {quatres} {"Quaternary Research"}
+MACRO {rsci} {"Radio Science"}
+MACRO {rse} {"Remote Sensing of the Environment"}
+MACRO {rgeo} {"Reviews of Geophysics"}
+MACRO {rgsp} {"Reviews of Geophysics and Space Physics"}
+MACRO {rdgeo} {"Revista de Geofisica"}
+MACRO {revmeta} {"Revista Meteorologica"}
+MACRO {sgp}{"Surveys in Geophysics"}
+MACRO {sp} {"Solar Phys."}
+MACRO {ssr} {"Space Science Review"}
+MACRO {tellus} {"Tellus"}
+MACRO {tac} {"Theoretical and Applied Climatology"}
+MACRO {tagu} {"Transactions, American Geophysical Union (EOS)"}
+MACRO {wrr} {"Water Resources Research"}
+MACRO {weather} {"Weather"}
+MACRO {wafc} {"Weather and Forecasting"}
+MACRO {ww} {"Weatherwise"}
+MACRO {wmob} {"World Meteorological Organization Bulletin"}
+MACRO {zeitmet} {"Zeitschrift f\^^b{u}r Meteorologie"}
+ % End module: geojour.mbs
+ %-------------------------------------------------------------------
+ % Begin module:
+ % \ProvidesFile{photjour.mbs}[1999/02/24 2.0b (PWD)]
+
+MACRO {appopt} {"Applied Optics"}
+MACRO {bell} {"Bell Systems Technical Journal"}
+MACRO {ell} {"Electronics Letters"}
+MACRO {jasp} {"Journal of Applied Spectroscopy"}
+MACRO {jqe} {"IEEE Journal of Quantum Electronics"}
+MACRO {jlwt} {"Journal of Lightwave Technology"}
+MACRO {jmo} {"Journal of Modern Optics"}
+MACRO {josa} {"Journal of the Optical Society of America"}
+MACRO {josaa} {"Journal of the Optical Society of America~A"}
+MACRO {josab} {"Journal of the Optical Society of America~B"}
+MACRO {jdp} {"Journal de Physique"}
+MACRO {oc} {"Optics Communications"}
+MACRO {ol} {"Optics Letters"}
+MACRO {phtl} {"IEEE Photonics Technology Letters"}
+MACRO {pspie} {"Proceedings of the Society for Photo-Optical Instruments Engineers"}
+MACRO {sse} {"Solid-State Electronics"}
+MACRO {sjot} {"Soviet Journal of Optical Technology"}
+MACRO {sjqe} {"Soviet Journal of Quantum Electronics"}
+MACRO {sleb} {"Soviet Physics--Lebedev Institute Reports"}
+MACRO {stph} {"Soviet Physics--Technical Physics"}
+MACRO {stphl} {"Soviet Technical Physics Letters"}
+MACRO {vr} {"Vision Research"}
+MACRO {zph} {"Zeitschrift f\^^b{u}r Physik"}
+MACRO {zphb} {"Zeitschrift f\^^b{u}r Physik~B"}
+MACRO {zphd} {"Zeitschrift f\^^b{u}r Physik~D"}
+
+MACRO {CLEO} {"Conf. on Lasers and Electro-Optics"}
+MACRO {ASSL} {"Advanced Solid State Lasers"}
+MACRO {OSA} {"Optical Society of America"}
+ % End module: photjour.mbs
+%% Copyright 1994-2004 Patrick W Daly
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.annote}
+{ annote missing$
+ 'skip$
+ { "{\topsep 0pt\begin{trivlist}\item\BIBannoteformat" write$ newline$
+ annote write$ "." write$ newline$
+ "\end{trivlist}}" write$ newline$}
+ if$
+}
+FUNCTION {format.eprint}
+{ eprint duplicate$ empty$
+ 'skip$
+ { "\eprint"
+ archive empty$
+ 'skip$
+ { "[" * archive * "]" * }
+ if$
+ "{" * swap$ * "}" *
+ }
+ if$
+}
+STRINGS { bibinfo}
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$ bib.name.font
+ s nameptr
+ "{jj, }{ff}"
+ format.name$ duplicate$ empty$ 'skip$
+ { bib.fname.font ", " swap$ * }
+ if$
+ *
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ nameptr #1
+ #1 + =
+ numnames #3
+ > and
+ { "others" 't :=
+ #1 'namesleft := }
+ 'skip$
+ if$
+ namesleft #1 >
+ { "; " * t * }
+ {
+ ";" *
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ { " " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.names.ed}
+{
+ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ff}" format.name$ duplicate$ empty$ 'skip$
+ { tie.or.space.prefix bib.fname.font swap$ * }
+ if$
+ s nameptr
+ "{vv~}{ll}" format.name$ bib.name.font *
+ s nameptr
+ "{jj}" format.name$ duplicate$ empty$ 'skip$
+ { bib.fname.font ", " swap$ * }
+ if$
+ *
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { "; " * t * }
+ {
+ ";" *
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+
+ " " * bbl.etal emphasize *
+ }
+ { " " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author "author" format.names
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ " " *
+ get.bbl.editor
+ "(" swap$ * ")" *
+ *
+ }
+ if$
+}
+FUNCTION {format.isbn}
+{ isbn "isbn" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ new.block
+ "ISBN " swap$ *
+ }
+ if$
+}
+
+FUNCTION {format.issn}
+{ issn "issn" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ new.block
+ "ISSN " swap$ *
+ }
+ if$
+}
+
+FUNCTION {format.doi}
+{ doi "doi" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ new.block
+ "\doi{" swap$ * "}" *
+ }
+ if$
+}
+FUNCTION {select.language}
+{ duplicate$ empty$
+ 'pop$
+ { language empty$
+ 'skip$
+ { "{\selectlanguage{" language * "}" * swap$ * "}" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.note}
+{
+ url empty$
+ 'skip$
+ { "\urlprefix\url{" url * "}" * output }
+ if$
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ duplicate$ empty$ 'skip$
+ { "t" change.case$ }
+ if$
+ "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ "\enquote{" swap$ *
+ "}" *
+ select.language
+ }
+ if$
+}
+FUNCTION {format.full.names}
+{'s :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$
+ cite.name.font
+ 't :=
+ nameptr #1 >
+ {
+ nameptr #1
+ #1 + =
+ numnames #3
+ > and
+ { "others" 't :=
+ #1 'namesleft := }
+ 'skip$
+ if$
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[{" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "}]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in capitalize
+ " " * }
+
+FUNCTION {format.date}
+{ year "year" bibinfo.check duplicate$ empty$
+ {
+ }
+ 'skip$
+ if$
+ month "month" bibinfo.check duplicate$ empty$
+ 'skip$
+ {
+ " " * swap$
+ }
+ if$
+ *
+ extra.label *
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ select.language
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { emphasize ", " * swap$ * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+FUNCTION {convert.edition}
+{ extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bbl.first 't := }
+ { s "second" = s "2" = or
+ { bbl.second 't := }
+ { s "third" = s "3" = or
+ { bbl.third 't := }
+ { s "fourth" = s "4" = or
+ { bbl.fourth 't := }
+ { s "fifth" = s "5" = or
+ { bbl.fifth 't := }
+ { s #1 #1 substring$ is.num
+ { s bbl.th * 't := }
+ { edition 't := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ t
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ convert.edition
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ bbl.pages swap$
+ n.dashify
+ }
+ {
+ bbl.page swap$
+ }
+ if$
+ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ": " *
+ swap$
+ n.dashify
+ pages multi.page.check
+ 'bbl.pages
+ 'bbl.page
+ if$
+ swap$ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.journal.eid}
+{ eid "eid" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$ 'skip$
+ {
+ ": " *
+ }
+ if$
+ swap$ *
+ }
+ if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ bbl.volume swap$ tie.or.space.prefix
+ "volume" bibinfo.check
+ * *
+ }
+ if$
+ number "number" bibinfo.check duplicate$ empty$ 'skip$
+ {
+ swap$ duplicate$ empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ swap$
+ "(" swap$ * ")" *
+ }
+ if$ *
+ eid empty$
+ { format.journal.pages }
+ { format.journal.eid }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+ emphasize
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ {
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ get.bbl.editor
+ swap$ "," *
+ " " * swap$ *
+ "(" swap$ * ")" *
+ swap$
+ " " * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ capitalize
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ t empty$
+ { address "address" bibinfo.check *
+ }
+ { t *
+ address empty$
+ 'skip$
+ { ", " * address "address" bibinfo.check * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+STRINGS {oldname}
+
+FUNCTION {name.or.dash}
+{ 's :=
+ oldname empty$
+ { s 'oldname := s }
+ { s oldname =
+ { "---" }
+ { s 'oldname := s }
+ if$
+ }
+ if$
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ {
+ journal
+ "journal" bibinfo.check
+ emphasize
+ "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.issn output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+ format.annote
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ add.blank
+ name.or.dash
+ }
+ { format.authors output.nonnull
+ name.or.dash
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher.address output
+ }
+ {
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ format.isbn output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+ format.annote
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ name.or.dash
+ new.block
+ format.title "title" output.check
+ new.block
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ format.date "year" output.check
+ format.isbn output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+ format.annote
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ name.or.dash
+ }
+ { format.authors output.nonnull
+ name.or.dash
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher.address output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ crossref missing$
+ { format.isbn output }
+ 'skip$
+ if$
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+ format.annote
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ format.publisher.address output
+ format.edition output
+ format.date "year" output.check
+ format.isbn output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+ format.annote
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ new.sentence
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.date "year" output.check
+ format.isbn output
+ format.issn output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+ format.annote
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ name.or.dash
+ new.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ format.edition output
+ format.date "year" output.check
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+ format.annote
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.date "year" output.check
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+ format.annote
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ name.or.dash
+ new.block
+ format.title output
+ new.block
+ howpublished "howpublished" bibinfo.check output
+ format.date "year" output.check
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+ format.annote
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ new.block
+ format.btitle
+ "title" output.check
+ new.block
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.date "year" output.check
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+ format.annote
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ name.or.dash
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ new.sentence
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.date "year" output.check
+ format.isbn output
+ format.issn output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+ format.annote
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.date "year" output.check
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ fin.entry
+ format.annote
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ new.block
+ format.title "title" output.check
+ format.date "year" output.check
+ format.doi output
+ new.block
+ format.note "note" output.check
+ format.eprint output
+ fin.entry
+ format.annote
+}
+
+FUNCTION {default.type} { misc }
+READ
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+FUNCTION {format.lab.names}
+{ 's :=
+ "" 't :=
+ s #1 "{vv~}{ll}" format.name$
+ cite.name.font
+ s num.names$ duplicate$
+ #2 >
+ { pop$
+ " " * bbl.etal emphasize *
+ }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ { bbl.and space.word * s #2 "{vv~}{ll}" format.name$
+ cite.name.font
+ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ll{ }}{ ff{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ nameptr #1
+ #1 + =
+ numnames #3
+ > and
+ { "others" 't :=
+ #1 'namesleft := }
+ 'skip$
+ if$
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" * }
+ { t sortify * }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+SORT
+STRINGS { last.label next.extra }
+INTEGERS { last.extra.num number.label }
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ emphasize
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+EXECUTE {initialize.extra.label.stuff}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+ITERATE {bib.sort.order}
+SORT
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\ProvideTextCommand{\guillemotleft}{OT1}{%"
+ write$ newline$
+ " \leavevmode\raise .27ex\hbox{$\scriptscriptstyle\ll$}}"
+ write$ newline$
+ "\ProvideTextCommand{\guillemotright}{OT1}{%"
+ write$ newline$
+ " \leavevmode\raise .27ex\hbox{$\scriptscriptstyle\gg$}}"
+ write$ newline$
+ "\newcommand{\enquote}[1]{\guillemotleft#1\guillemotright}"
+ write$ newline$
+ "\providecommand{\natexlab}[1]{#1}"
+ write$ newline$
+ "\providecommand{\url}[1]{\texttt{#1}}"
+ write$ newline$
+ "\providecommand{\urlprefix}{URL }"
+ write$ newline$
+ "\expandafter\ifx\csname urlstyle\endcsname\relax"
+ write$ newline$
+ " \providecommand{\doi}[1]{doi:\discretionary{}{}{}#1}\else"
+ write$ newline$
+ " \providecommand{\doi}{doi:\discretionary{}{}{}\begingroup \urlstyle{rm}\Url}\fi"
+ write$ newline$
+ "\providecommand{\selectlanguage}[1]{\relax}"
+ write$ newline$
+ "\providecommand{\eprint}[2][]{\url{#2}}"
+ write$ newline$
+ "\providecommand{\BIBannoteformat}{\small\itshape}"
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `caauda3.bst'. \ No newline at end of file
diff --git a/biblio/bibtex/contrib/catalan/bibtex/bst/caplain.bst b/biblio/bibtex/contrib/catalan/bibtex/bst/caplain.bst
new file mode 100644
index 0000000000..b5e04ea7fd
--- /dev/null
+++ b/biblio/bibtex/contrib/catalan/bibtex/bst/caplain.bst
@@ -0,0 +1,1381 @@
+%%
+%% This is file `caplain.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `head,exlang,catalan,nom,and-xcom,{}')
+%% catalan.mbs (with options: `exlang,catalan,nom,and-xcom,{}')
+%% merlin.mbs (with options: `tail,exlang,catalan,nom,and-xcom,{}')
+%% ----------------------------------------
+%% *** ca(talan)plain BibTeX style, by Robert Fuster 18/05/1998 ***
+%% *** modified 18/11/2004 ***
+%% Changes: 18/11/04: added date as optional field in unpublished
+%% (as in standard plain style)
+%% 18/11/04: now the title field in mastersthesis is not emphasized
+%% (as in standard plain style)
+%%
+ %-------------------------------------------------------------------
+ % The original source file contains the following version information:
+ % \ProvidesFile{merlin.mbs}[1996/12/16 3.82 (PWD)]
+ %
+ % NOTICE:
+ % This file may be used for non-profit purposes.
+ % It may not be distributed in exchange for money,
+ % other than distribution costs.
+ %
+ % The author provides it `as is' and does not guarantee it in any way.
+ %
+ % Copyright (C) 1994, 1995, 1996 Patrick W. Daly
+ %-------------------------------------------------------------------
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in
+ % CATALAN
+ % This is a numerical citation style, and as such is standard LaTeX.
+ % It requires no extra package to interface to the main text.
+ % The form of the \bibitem entries is
+ % \bibitem{key}...
+ % Usage of \cite is as follows:
+ % \cite{key} ==>> [#]
+ % \cite[chap. 2]{key} ==>> [#, chap. 2]
+ % where # is a number determined by the ordering in the reference list.
+ % The order in the reference list is alphabetical by authors.
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ new.block
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {non.stop}
+{ duplicate$
+ "}" * add.period$
+ #-1 #1 substring$ "." =
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "\/}" * }
+ if$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ %-------------------------------------------------------------------
+ % The original source file contains the following version information:
+ % \ProvidesFile{catalan.mbs}[1998/05/17 2.0 (PWD/RF)]
+ % Copyright (C) 1994, 1995 Patrick W. Daly
+ % Copyright (C) 1997, 1998 Robert Fuster
+
+ %-------------------------------------------------------------------
+
+ % The language selected here is CATALAN
+FUNCTION {bbl.and}
+{ "i"}
+
+FUNCTION {bbl.editors}
+{ "editors" }
+
+FUNCTION {bbl.editor}
+{ "editor" }
+
+FUNCTION {bbl.edby}
+{ "editat per" }
+
+FUNCTION {bbl.edition}
+{ "edici\'o" }
+
+FUNCTION {bbl.volume}
+{ "volum" }
+
+FUNCTION {bbl.of}
+{ "de" }
+
+FUNCTION {bbl.number}
+{ "n\'umero" }
+
+FUNCTION {bbl.nr}
+{ "n." }
+
+FUNCTION {bbl.in}
+{ "dins" }
+
+FUNCTION {bbl.pages}
+{ "p\`agines" }
+
+FUNCTION {bbl.page}
+{ "p\`agina" }
+
+FUNCTION {bbl.chapter}
+{ "cap\'{\i}tol" }
+
+FUNCTION {bbl.techrep}
+{ "Report t{\`e}cnic" }
+
+FUNCTION {bbl.mthesis}
+{ "Projecte F. de Carrera o Tesina de L." }
+
+FUNCTION {bbl.phdthesis}
+{ "Tesi Doctoral" }
+
+FUNCTION {bbl.first}
+{ "primera" }
+
+FUNCTION {bbl.second}
+{ "segona" }
+
+FUNCTION {bbl.third}
+{ "tercera" }
+
+FUNCTION {bbl.fourth}
+{ "quarta" }
+
+FUNCTION {bbl.fifth}
+{ "cinquena" }
+
+FUNCTION {bbl.th}
+{ "a" }
+
+MACRO {jan} {"gener"}
+
+MACRO {feb} {"febrer"}
+
+MACRO {mar} {"mar\c{c}"}
+
+MACRO {apr} {"abril"}
+
+MACRO {may} {"maig"}
+
+MACRO {jun} {"juny"}
+
+MACRO {jul} {"juliol"}
+
+MACRO {aug} {"agost"}
+
+MACRO {sep} {"setembre"}
+
+MACRO {oct} {"octubre"}
+
+MACRO {nov} {"novembre"}
+
+MACRO {dec} {"desembre"}
+
+ % End of language definition file
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ t "others" =
+ { " et~al." * }
+ { bbl.and space.word * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.names.ed}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ff~}{vv~}{ll}{, jj}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ t "others" =
+ { " et~al." * }
+ { bbl.and space.word * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ {
+ author format.names
+ }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ {
+ editor format.names
+ editor num.names$ #1 >
+ { ", " * bbl.editors * }
+ { ", " * bbl.editor * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.editors}
+{ editor empty$
+ { "" }
+ { editor format.names.ed
+ editor num.names$ #1 >
+ { ", " * bbl.editors * }
+ { ", " * bbl.editor * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in capitalize
+ " " * }
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { bbl.of space.word * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { bbl.in space.word * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+FUNCTION {convert.edition}
+{ edition extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bbl.first 't := }
+ { s "second" = s "2" = or
+ { bbl.second 't := }
+ { s "third" = s "3" = or
+ { bbl.third 't := }
+ { s "fourth" = s "4" = or
+ { bbl.fourth 't := }
+ { s "fifth" = s "5" = or
+ { bbl.fifth 't := }
+ { s #1 #1 substring$ is.num
+ { s bbl.th * 't := }
+ { edition 't := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ t
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { convert.edition "l" change.case$ " " * bbl.edition * }
+ { convert.edition "t" change.case$ " " * bbl.edition * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { bbl.pages pages n.dashify tie.or.space.connect }
+ { bbl.page pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.journal.pages}
+{
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ {
+ "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ format.journal.pages
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { word.in booktitle emphasize * }
+ { word.in format.in.editors * ", " *
+ booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { bbl.techrep }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{
+ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { word.in journal emphasize * }
+ if$
+ }
+ { word.in key * " " *}
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { bbl.and space.word * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ word.in
+ }
+ { bbl.volume capitalize
+ volume tie.or.space.connect
+ bbl.of space.word *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { series emphasize * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { word.in booktitle emphasize * }
+ if$
+ }
+ { word.in key * " " *}
+ if$
+ }
+ { word.in format.crossref.editor * " " *}
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.publisher}
+{ publisher empty$
+ { "empty publisher in " cite$ * warning$ }
+ 'skip$
+ if$
+ ""
+ address empty$ publisher empty$ and
+ 'skip$
+ {
+ publisher empty$
+ { address empty$
+ 'skip$
+ { address * }
+ if$
+ }
+ { publisher *
+ address empty$
+ 'skip$
+ { ", " * address * }
+ if$
+ }
+ if$
+ }
+ if$
+ output
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal
+ emphasize
+ "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher
+ }
+ {
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ new.block
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ format.publisher
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ new.sentence
+ publisher empty$
+ { organization output
+ address output
+ }
+ { organization output
+ format.publisher
+ }
+ if$
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ {
+ address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ {
+ organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "aaaaa" * }
+ { t sortify * }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" *
+ write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `caplain.bst'.
diff --git a/biblio/bibtex/contrib/catalan/bibtex/bst/caunsrt.bst b/biblio/bibtex/contrib/catalan/bibtex/bst/caunsrt.bst
new file mode 100644
index 0000000000..a083dac7d5
--- /dev/null
+++ b/biblio/bibtex/contrib/catalan/bibtex/bst/caunsrt.bst
@@ -0,0 +1,1232 @@
+%%
+%% This is file `caunsrt.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `head,exlang,seq-no,catalan,nom,and-xcom,nfss,{}')
+%% catalan.mbs (with options: `exlang,seq-no,catalan,nom,and-xcom,nfss,{}')
+%% merlin.mbs (with options: `tail,exlang,seq-no,catalan,nom,and-xcom,nfss,{}')
+%% ----------------------------------------
+%% *** ca(talan)unsrt BibTeX style, by Robert Fuster 18/05/1998 ***
+%% *** modified 18/11/2004 ***
+%% Changes: 18/11/04: added date as optional field in unpublished
+%% (as in standard unsrt style)
+%% 18/11/04: now the title field in mastersthesis is not emphasized
+%% (as in standard unsrt style)
+%%
+ %-------------------------------------------------------------------
+ % The original source file contains the following version information:
+ % \ProvidesFile{merlin.mbs}[1996/12/16 3.82 (PWD)]
+ %
+ % NOTICE:
+ % This file may be used for non-profit purposes.
+ % It may not be distributed in exchange for money,
+ % other than distribution costs.
+ %
+ % The author provides it `as is' and does not guarantee it in any way.
+ %
+ % Copyright (C) 1994, 1995, 1996 Patrick W. Daly
+ %-------------------------------------------------------------------
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in
+ % CATALAN
+ % This is a numerical citation style, and as such is standard LaTeX.
+ % It requires no extra package to interface to the main text.
+ % The form of the \bibitem entries is
+ % \bibitem{key}...
+ % Usage of \cite is as follows:
+ % \cite{key} ==>> [#]
+ % \cite[chap. 2]{key} ==>> [#, chap. 2]
+ % where # is a number determined by the ordering in the reference list.
+ % The order in the reference list is that by which the works were originally
+ % cited in the text, or that in the database.
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ new.block
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {non.stop}
+{ duplicate$
+ "}" * add.period$
+ #-1 #1 substring$ "." =
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ %-------------------------------------------------------------------
+ % The original source file contains the following version information:
+ % \ProvidesFile{catalan.mbs}[1998/05/17 2.0 (PWD/RF)]
+ % Copyright (C) 1994, 1995 Patrick W. Daly
+ % Copyright (C) 1997, 1998 Robert Fuster
+
+ %-------------------------------------------------------------------
+
+ % The language selected here is CATALAN
+FUNCTION {bbl.and}
+{ "i"}
+
+FUNCTION {bbl.editors}
+{ "editors" }
+
+FUNCTION {bbl.editor}
+{ "editor" }
+
+FUNCTION {bbl.edby}
+{ "editat per" }
+
+FUNCTION {bbl.edition}
+{ "edici\'o" }
+
+FUNCTION {bbl.volume}
+{ "volum" }
+
+FUNCTION {bbl.of}
+{ "de" }
+
+FUNCTION {bbl.number}
+{ "n\'umero" }
+
+FUNCTION {bbl.nr}
+{ "n." }
+
+FUNCTION {bbl.in}
+{ "dins" }
+
+FUNCTION {bbl.pages}
+{ "p\`agines" }
+
+FUNCTION {bbl.page}
+{ "p\`agina" }
+
+FUNCTION {bbl.chapter}
+{ "cap\'{\i}tol" }
+
+FUNCTION {bbl.techrep}
+{ "Report t{\`e}cnic" }
+
+FUNCTION {bbl.mthesis}
+{ "Projecte F. de Carrera o Tesina de L." }
+
+FUNCTION {bbl.phdthesis}
+{ "Tesi Doctoral" }
+
+FUNCTION {bbl.first}
+{ "primera" }
+
+FUNCTION {bbl.second}
+{ "segona" }
+
+FUNCTION {bbl.third}
+{ "tercera" }
+
+FUNCTION {bbl.fourth}
+{ "quarta" }
+
+FUNCTION {bbl.fifth}
+{ "cinquena" }
+
+FUNCTION {bbl.th}
+{ "a" }
+
+MACRO {jan} {"gener"}
+
+MACRO {feb} {"febrer"}
+
+MACRO {mar} {"mar\c{c}"}
+
+MACRO {apr} {"abril"}
+
+MACRO {may} {"maig"}
+
+MACRO {jun} {"juny"}
+
+MACRO {jul} {"juliol"}
+
+MACRO {aug} {"agost"}
+
+MACRO {sep} {"setembre"}
+
+MACRO {oct} {"octubre"}
+
+MACRO {nov} {"novembre"}
+
+MACRO {dec} {"desembre"}
+
+ % End of language definition file
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ t "others" =
+ { " et~al." * }
+ { bbl.and space.word * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.names.ed}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ff~}{vv~}{ll}{, jj}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ t "others" =
+ { " et~al." * }
+ { bbl.and space.word * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ {
+ author format.names
+ }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ {
+ editor format.names
+ editor num.names$ #1 >
+ { ", " * bbl.editors * }
+ { ", " * bbl.editor * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.editors}
+{ editor empty$
+ { "" }
+ { editor format.names.ed
+ editor num.names$ #1 >
+ { ", " * bbl.editors * }
+ { ", " * bbl.editor * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in capitalize
+ " " * }
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { bbl.of space.word * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { bbl.in space.word * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+FUNCTION {convert.edition}
+{ edition extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bbl.first 't := }
+ { s "second" = s "2" = or
+ { bbl.second 't := }
+ { s "third" = s "3" = or
+ { bbl.third 't := }
+ { s "fourth" = s "4" = or
+ { bbl.fourth 't := }
+ { s "fifth" = s "5" = or
+ { bbl.fifth 't := }
+ { s #1 #1 substring$ is.num
+ { s bbl.th * 't := }
+ { edition 't := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ t
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { convert.edition "l" change.case$ " " * bbl.edition * }
+ { convert.edition "t" change.case$ " " * bbl.edition * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { bbl.pages pages n.dashify tie.or.space.connect }
+ { bbl.page pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.journal.pages}
+{
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ {
+ "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ format.journal.pages
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { word.in booktitle emphasize * }
+ { word.in format.in.editors * ", " *
+ booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { bbl.techrep }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{
+ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { word.in journal emphasize * }
+ if$
+ }
+ { word.in key * " " *}
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { bbl.and space.word * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ word.in
+ }
+ { bbl.volume capitalize
+ volume tie.or.space.connect
+ bbl.of space.word *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { series emphasize * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { word.in booktitle emphasize * }
+ if$
+ }
+ { word.in key * " " *}
+ if$
+ }
+ { word.in format.crossref.editor * " " *}
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.publisher}
+{ publisher empty$
+ { "empty publisher in " cite$ * warning$ }
+ 'skip$
+ if$
+ ""
+ address empty$ publisher empty$ and
+ 'skip$
+ {
+ publisher empty$
+ { address empty$
+ 'skip$
+ { address * }
+ if$
+ }
+ { publisher *
+ address empty$
+ 'skip$
+ { ", " * address * }
+ if$
+ }
+ if$
+ }
+ if$
+ output
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal
+ emphasize
+ "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher
+ }
+ {
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ new.block
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ format.publisher
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ new.sentence
+ publisher empty$
+ { organization output
+ address output
+ }
+ { organization output
+ format.publisher
+ }
+ if$
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ {
+ address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ {
+ organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" *
+ write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `caunsrt.bst'. \ No newline at end of file
diff --git a/biblio/bibtex/contrib/catalan/catalanbib.pdf b/biblio/bibtex/contrib/catalan/catalanbib.pdf
new file mode 100644
index 0000000000..c474924ff4
--- /dev/null
+++ b/biblio/bibtex/contrib/catalan/catalanbib.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/catalan/doc/bibtex/catalan/catalanbib.tex b/biblio/bibtex/contrib/catalan/doc/bibtex/catalan/catalanbib.tex
new file mode 100644
index 0000000000..10f266bc87
--- /dev/null
+++ b/biblio/bibtex/contrib/catalan/doc/bibtex/catalan/catalanbib.tex
@@ -0,0 +1,248 @@
+\documentclass[a4paper]{article}
+\usepackage[T1]{fontenc}
+\usepackage[latin1]{inputenc}
+\usepackage[english,catalan]{babel}
+\usepackage{natbib}
+\usepackage{url}
+\newcommand{\BibTeX}{\textsc{Bib}\TeX}
+\bibpunct{(}{)}{;}{a}{:}{,}
+\begin{document}
+
+\title{Estils bibliogr\`afics en catal\`a}
+\author{Robert Fuster\thanks{ce: \texttt{rfuster@imm.upv.es},
+ \texttt{rfuster@mat.upv.es}}\\\small
+Institut de Matemàtica Multidisciplinar\\\small
+Universitat Politècnica de València\\\small
+Camí de Vera, 14\\\small
+46022 -- València (Spain)}
+\maketitle
+{\selectlanguage{english}
+\begin{abstract}
+The \texttt{catalanbib} package includes
+several Catalan bibliografic styles for \BibTeX:
+the standard ones ---adapted to the
+Catalan typographical conventions--- (\texttt{caplain.bst},
+\texttt{caunsrt.bst}, \texttt{caabbrev.bst}, and
+\texttt{caalpha.bst}), and some \emph{author-date} styles
+---following the bibliographic norms
+from \citet{manualdestil}.
+
+These author-date styles require the \texttt{natbib}
+package \citep{natbib}.
+\end{abstract}
+}
+\begin{abstract}
+El paquet \texttt{catalanbib} conté diversos estils bibliogràfics
+per fer servir el \BibTeX{} en català:
+els estils estàndard ---adaptats a les convencions
+tipogràfiques catalanes---
+(\texttt{caplain.bst},
+\texttt{caunsrt.bst}, \texttt{caabbrev.bst} i
+\texttt{caalpha.bst}) i alguns estils autor-data
+---seguint les normes bibliogràfiques de
+\citet{manualdestil}.
+
+Aquests estils autor-data requereixen el paquet
+\texttt{natbib}
+\citep{natbib}.
+\end{abstract}
+\tableofcontents
+\section{Els estils estàndard}
+Els quatre estils bibliogràfics \texttt{caplain.bst},
+\texttt{caunsrt.bst}, \texttt{caabbrev.bst} i
+\texttt{caalpha.bst} es corresponen respectivament amb els
+estils estàndard \texttt{plain.bst},
+\texttt{unsrt.bst}, \texttt{abbrev.bst} i
+\texttt{alpha.bst}.
+Aquests estils no requereixen cap paquet addicional i es fan
+servir de la manera habitual. Com ara, incloent al fitxer font
+\begin{verbatim}
+\nocite{*}
+\bibliography{exemples}
+\bibliographystyle{caplain}
+\end{verbatim}
+compondrem totes les referències bibliogràfiques emmagatzemades
+a la base de dades \verb+exemples.bib+ en l'estil \verb+caplain+.
+Vegeu-ne exemples d'aquests estils als documents
+\texttt{caplain.tex},
+\texttt{caunsrt.tex}, \texttt{caabbrev.tex} i
+\texttt{caalpha.tex}.
+\section{Estils autor-data}
+En general, resulta molt més recomanable l'estil de
+citacions autor-data front als estils numèrics o
+alfabètics, pel fet que les referències són molt més
+explícites.
+
+Amb el \LaTeX{} i el \BibTeX{} podem fer servir diversos
+paquets i estils bibliogràfics per tal de compondre
+els nostres documents amb l'estil de citació autor-data.
+Entre totes aquestes opcions la més flexible, perquè
+permet personalitzar l'estil de les referències
+bibliogràfiques tant com es vulga, és la que ens
+proporcionen el paquet \verb+natbib+ \citep{natbib}
+i el programa \verb+makebst+ \citep{makebst}.
+
+El \verb+makebst+ és un programa interactiu en \TeX{}
+per a definir estils bibliogràfics (és a dir,
+fitxers \verb+.bst+).
+Tots els estils
+bibliogràfics inclosos en el paquet \verb+catalanbib+
+han estat creats fent servir aquest programa.\footnote{Tot i que en
+algun cas els estils han estat editats posteriorment per tal d'introduir-hi
+alguna modificació.}
+En qualsevol cas, aquest programa només us pot ser
+útil si esteu interessats a crear els vostres propis
+estils bibliogràfics.
+
+El paquet \verb+natbib+ és una reimplementació de la
+marca \verb+\cite+ que permet tant la citació numèrica
+com la del tipus autor-data. Aquest paquet és compatible amb
+els estils estàndard i amb els més populars entre els
+estils autor-data, com ara \verb+apalike+ o \verb+chicago+.
+A més de la marca \verb+\cite+ el paquet \verb+natbib+ defineix
+diverses marques per a controlar l'estil de les citacions, entre les quals
+destaquem les següents:\footnote{Ací només descrivim parcialment
+algunes de les característiques del paquet \texttt{natbib}. }
+\begin{description}
+\item[\texttt{\textbackslash citet\{\textit{<clau>}\}},] per a citacions \emph{textuals}, com ara, "<... segons es diu en \citet{manualdestil}...">.
+\item[\texttt{\textbackslash citep\{\textit{<clau>}\}},] per a citacions entre parèntesis,
+com ara, "<Aquesta qüestió ja ha estat discutida \citep{manualdestil}.">.
+\item[\texttt{\textbackslash citeauthor\{\textit{<clau>}\}},
+\texttt{\textbackslash citeyear\{\textit{<clau>}\}},]
+per a citar únicament el nom desl autors o la data de publicació.
+\end{description}
+
+Els estils bibliogràfics \verb+caauda0+, \verb+caauda1+,
+\verb+caauda2+ i \verb+caauda3+, que componen la llista de
+referències bibliogràfiques
+en el format adequat per al sistema de citació autor-data,
+requereixen el paquet \verb+natbib+.\footnote{Els estils estàndard (\texttt{caplain}, etc) també són compatibles amb el \texttt{natbib}.}
+Així, per a compondre
+una llista de referències en l'estil \verb+caauda0+
+escriurem quelcom paregut a açò:
+\begin{verbatim}
+\usepackage{natbib}
+...
+\nocite{*}
+\bibliography{exemples}
+\bibliographystyle{caauda0}
+\end{verbatim}
+Els fitxers \verb+caauda0.tex+, \verb+caauda1.tex+,
+\verb+caauda2.tex+ i \verb+caauda3.tex+ mostren exemples
+dels quatre estils.
+
+Aquests estils segueixen aproximadament les recomanacions de \citet{manualdestil} i \citet{lacreu}. Les principals diferències entre ells
+són les següents:
+\begin{itemize}
+\item El format i la posició de la data. En els estils \verb+caauda0+ i
+ \verb+caauda2+
+ la data es redueix a l'any, entre parèntesis,
+ i se situa immediatament darrere
+ dels autors, la qual cosa facilita la recerca de les citacions. En els
+ altres dos estils, la data inclou el mes i l'any i es compon en la
+ mateixa posició dels estils estàndard.
+\item Els estils \verb+caauda2+ i \verb+caauda3+
+ reconeixen el camp \verb+annote+, per a compondre bibliografies
+ anotades.
+
+ Per defecte les anotacions es componen amb els tipus del cos
+ \verb+\small+ i en cursiva. Si voleu modificar aquest comportament
+ definiu (amb la marca \verb+\newcommand+) la comanda
+ \verb+\BIBannoteformat+.
+ Per exemple,
+\begin{verbatim}
+ \newcommand{\BIBannoteformat}{%
+ \small\slshape\textbf{Comentari: }}
+\end{verbatim}
+ compondrà les anotacions en lletra \verb+\small+ oblíqua i
+ amb el rètol \verb+Comentari:+ en \verb+\small+ oblíqua negreta.
+\end{itemize}
+
+A més dels camps habituals, aquests quatre estils
+n'admeten alguns altres com a opcionals:
+\begin{itemize}
+\item \verb+DOI+ (\emph{Digital Object Identifier}) per a compondre els
+números de serie normalitzats d'alguns objectes
+digitals. Aquest camp és opcional en tots els registres.
+\item
+\verb+ISBN+ (\emph{International Standard Book Number}),
+per a compondre els números de serie normalitzats dels llibres.
+Aquest camp és opcional en els registres dels tipus
+\verb+book+, \verb+booklet+, \verb+inbook+,
+\verb+incollection+, \verb+inproceedings+ i
+\verb+proceedings+.
+\item \verb+ISSN+(\emph{International Standard Serial Number}),
+per a compondre els números de serie normalitzats de les
+publicacions periòdiques.
+Aquest camp és opcional en els registres dels tipus
+\verb+article+, \verb+inproceedings+ i \verb+proceedings+.
+\item \verb+language+, per a declarar la llengua
+en què està compost el document corresponent.
+Aquest camp és opcional en
+tots els registres i només afecta la composició
+dels títols. El seu ús únicament té efecte si s'ha
+fet servir el sistema \verb+babel+ i el contingut
+d'aquest camp s'ha declarat com una de les llengües
+del document, però no es produeix cap error en cas
+contrari.
+\item \verb+url+ (\emph{Universal Resource Locator}), per a indicar
+la localització d'un document electrònic. Aquest camp és opcional
+en tots els registres. El seu contingut es compon
+amb la marca \verb+\url+, que per defecte és idèntica a \verb+\texttt+,
+la qual cosa sol produir problemes, perquè
+amb el tipus de lletra mecanogràfica no es trenca la ratlla. És molt
+recomanable que carregueu el paquet \verb+url+, que defineix la comanda
+\verb+\url+ permetent el tall en els signes de puntuació (coma ara, \verb+/+)
+per tal d'evitar línies massa buides o desbordades pel marge dret
+(\emph{Overfull hlines}).
+\end{itemize}
+% Bibliografia creada originalment amb el bibtex
+%\bibliographystyle{caauda2}
+%\bibliography{catalanbib}
+% Bibliografia explícita per facilitar la compilació sense l'estil caauda2
+\begin{thebibliography}{4}
+\ProvideTextCommand{\guillemotleft}{OT1}{%
+ \leavevmode\raise .27ex\hbox{$\scriptscriptstyle\ll$}}
+\ProvideTextCommand{\guillemotright}{OT1}{%
+ \leavevmode\raise .27ex\hbox{$\scriptscriptstyle\gg$}}
+\newcommand{\enquote}[1]{\guillemotleft#1\guillemotright}
+\providecommand{\natexlab}[1]{#1}
+\providecommand{\url}[1]{\texttt{#1}}
+\providecommand{\urlprefix}{URL }
+\expandafter\ifx\csname urlstyle\endcsname\relax
+ \providecommand{\doi}[1]{doi:\discretionary{}{}{}#1}\else
+ \providecommand{\doi}{doi:\discretionary{}{}{}\begingroup
+ \urlstyle{rm}\Url}\fi
+\providecommand{\selectlanguage}[1]{\relax}
+\providecommand{\eprint}[2][]{\url{#2}}
+\providecommand{\BIBannoteformat}{\small\itshape}
+
+\bibitem[{\textsc{Daly}(1999)}]{makebst}
+\textsc{Daly}, Patrick~W. (1999): {\selectlanguage{english}\emph{Costumizing
+ Bibliographic Style Files}}.
+\newblock \urlprefix\url{<CTAN>/macros/latex/contrib/supported/custom-bib/}.
+{\topsep 0pt\begin{trivlist}\item\BIBannoteformat
+Descripci{\'o} del programa {\texttt{makebst}} versi{\'o} 4.0--beta1.
+\end{trivlist}}
+
+\bibitem[{\textsc{Daly}(2000)}]{natbib}
+--- (2000): {\selectlanguage{english}\emph{Natural Sciences Citations and
+ References}}.
+\newblock \urlprefix\url{<CTAN>/macros/latex/contrib/supported/natbib/}.
+{\topsep 0pt\begin{trivlist}\item\BIBannoteformat
+Descripci{\'o} del paquet {\texttt{natbib}} versi{\'o} 7.0a.
+\end{trivlist}}
+
+\bibitem[{\textsc{Lacreu}(1995)}]{lacreu}
+\textsc{Lacreu}, Josep (1995): {\selectlanguage{catalan}\emph{Criteris
+ Ling\"u\'\i{}stics}}.
+\newblock Generalitat Valenciana, Val\`encia.
+
+\bibitem[{\textsc{Mestres} \emph{et~al.}(2000)}]{manualdestil}
+\textsc{Mestres}, Josep~M.; \emph{et~al.} (2000): \emph{Manual d'estil. La
+ redacci\'o i l'edici\'o de textos}.
+\newblock Eumo, Universitat de Barcelona, Universitat Pompeu Fabra i
+ Associaci\'o de mestres {R}osa {S}ensat, Barcelona, segona edici\'o.
+
+\end{thebibliography}
+\end{document} \ No newline at end of file
diff --git a/biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/caabbrv.tex b/biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/caabbrv.tex
new file mode 100644
index 0000000000..f156149983
--- /dev/null
+++ b/biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/caabbrv.tex
@@ -0,0 +1,19 @@
+\documentclass{article}
+\usepackage[latin1]{inputenc}
+\usepackage[spanish,english,italian,catalan]{babel}
+\title{Exemple de l'estil bibliogràfic \textsf{caabbrv}}
+\author{Robert Fuster}
+\date{15 de desembre de 2004}
+\begin{document}
+\maketitle
+Aquest és un exemple de l'estil bibliogràfic \textsf{caabbrv}.
+
+Entre altres documents la bibliografia inclou dues entrades del mateix autor
+(\cite{lamport2,biblamport}), el document electrònic~\cite{hyperlatex}
+i algun llibre de text, com ara~\cite{rbjcjmau}. Diversos documents
+\cite{biblamport, btxdoc,lamport2,vafus,jcccrf,liang} fan referència al \TeX, al
+\LaTeX{} i al \textsc{Bib}\TeX.
+\nocite{*}
+\bibliographystyle{caabbrv}
+\bibliography{exemples}
+\end{document}
diff --git a/biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/caalpha.tex b/biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/caalpha.tex
new file mode 100644
index 0000000000..93e10f6b65
--- /dev/null
+++ b/biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/caalpha.tex
@@ -0,0 +1,19 @@
+\documentclass{article}
+\usepackage[latin1]{inputenc}
+\usepackage[spanish,english,italian,catalan]{babel}
+\title{Exemple de l'estil bibliogràfic \textsf{caalpha}}
+\author{Robert Fuster}
+\date{15 de desembre de 2004}
+\begin{document}
+\maketitle
+Aquest és un exemple de l'estil bibliogràfic \textsf{caalpha}.
+
+Entre altres documents la bibliografia inclou dues entrades del mateix autor
+(\cite{lamport2,biblamport}), el document electrònic~\cite{hyperlatex}
+i algun llibre de text, com ara~\cite{rbjcjmau}. Diversos documents
+\cite{biblamport, btxdoc,lamport2,vafus,jcccrf,liang} fan referència al \TeX, al
+\LaTeX{} i al \textsc{Bib}\TeX.
+\nocite{*}
+\bibliographystyle{caalpha}
+\bibliography{exemples}
+\end{document}
diff --git a/biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/caauda0.tex b/biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/caauda0.tex
new file mode 100644
index 0000000000..19b7a91748
--- /dev/null
+++ b/biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/caauda0.tex
@@ -0,0 +1,21 @@
+\documentclass{article}
+\usepackage[latin1]{inputenc}
+\usepackage[spanish,english,italian,catalan]{babel}
+\usepackage{natbib}
+\usepackage{url}
+\title{Exemple de l'estil bibliogràfic \textsf{caauda0}}
+\author{Robert Fuster}
+\date{15 de desembre de 2004}
+\begin{document}
+\maketitle
+Aquest és un exemple de l'estil bibliogràfic del tipus autor-data \textsf{caauda0}.
+
+Entre altres documents la bibliografia inclou dues entrades del mateix autor
+\citep{lamport2,biblamport}, el document electrònic~\citet{hyperlatex}
+i algun llibre de text, com ara~\citet{rbjcjmau}. Diversos documents
+\citep{biblamport, btxdoc,lamport2,vafus,jcccrf,liang} fan referència al \TeX, al
+\LaTeX{} i al \textsc{Bib}\TeX.
+\nocite{*}
+\bibliographystyle{caauda0}
+\bibliography{exemples}
+\end{document}
diff --git a/biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/caauda1.tex b/biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/caauda1.tex
new file mode 100644
index 0000000000..a2d9932849
--- /dev/null
+++ b/biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/caauda1.tex
@@ -0,0 +1,21 @@
+\documentclass{article}
+\usepackage[latin1]{inputenc}
+\usepackage[spanish,english,italian,catalan]{babel}
+\usepackage{natbib}
+\usepackage{url}
+\title{Exemple de l'estil bibliogràfic \textsf{caauda1}}
+\author{Robert Fuster}
+\date{15 de desembre de 2004}
+\begin{document}
+\maketitle
+Aquest és un exemple de l'estil bibliogràfic del tipus autor-data \textsf{caauda1}.
+
+Entre altres documents la bibliografia inclou dues entrades del mateix autor
+\citep{lamport2,biblamport}, el document electrònic~\citet{hyperlatex}
+i algun llibre de text, com ara~\citet{rbjcjmau}. Diversos documents
+\citep{biblamport, btxdoc,lamport2,vafus,jcccrf,liang} fan referència al \TeX, al
+\LaTeX{} i al \textsc{Bib}\TeX.
+\nocite{*}
+\bibliographystyle{caauda1}
+\bibliography{exemples}
+\end{document}
diff --git a/biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/caauda2.tex b/biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/caauda2.tex
new file mode 100644
index 0000000000..e5e62cbdeb
--- /dev/null
+++ b/biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/caauda2.tex
@@ -0,0 +1,21 @@
+\documentclass{article}
+\usepackage[latin1]{inputenc}
+\usepackage[spanish,english,italian,catalan]{babel}
+\usepackage{natbib}
+\usepackage{url}
+\title{Exemple de l'estil bibliogràfic \textsf{caauda2}}
+\author{Robert Fuster}
+\date{15 de desembre de 2004}
+\begin{document}
+\maketitle
+Aquest és un exemple de l'estil bibliogràfic del tipus autor-data \textsf{caauda2}.
+
+Entre altres documents la bibliografia inclou dues entrades del mateix autor
+\citep{lamport2,biblamport}, el document electrònic~\citet{hyperlatex}
+i algun llibre de text, com ara~\citet{rbjcjmau}. Diversos documents
+\citep{biblamport, btxdoc,lamport2,vafus,jcccrf,liang} fan referència al \TeX, al
+\LaTeX{} i al \textsc{Bib}\TeX.
+\nocite{*}
+\bibliographystyle{caauda2}
+\bibliography{exemples}
+\end{document}
diff --git a/biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/caauda3.tex b/biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/caauda3.tex
new file mode 100644
index 0000000000..f0ecb142ec
--- /dev/null
+++ b/biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/caauda3.tex
@@ -0,0 +1,24 @@
+\documentclass{article}
+\usepackage[latin1]{inputenc}
+\usepackage[spanish,english,italian,catalan]{babel}
+\usepackage{natbib}
+\usepackage{url}
+\bibpunct{(}{)}{;}{a}{:}{,} % Puntuacio en les citacions (veure natbib)
+\newcommand{\BIBannoteformat}{% Format de les anotacions
+ \small\slshape\textbf{Comentari: }}
+\title{Exemple de l'estil bibliogràfic \textsf{caauda3}}
+\author{Robert Fuster}
+\date{15 de desembre de 2004}
+\begin{document}
+\maketitle
+Aquest és un exemple de l'estil bibliogràfic del tipus autor-data \textsf{caauda3}.
+
+Entre altres documents la bibliografia inclou dues entrades del mateix autor
+\citep{lamport2,biblamport}, el document electrònic~\citet{hyperlatex}
+i algun llibre de text, com ara~\citet{rbjcjmau}. Diversos documents
+\citep{biblamport, btxdoc,lamport2,vafus,jcccrf,liang} fan referència al \TeX, al
+\LaTeX{} i al \textsc{Bib}\TeX.
+\nocite{*}
+\bibliographystyle{caauda3}
+\bibliography{exemples}
+\end{document}
diff --git a/biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/caplain.tex b/biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/caplain.tex
new file mode 100644
index 0000000000..2bee8f3333
--- /dev/null
+++ b/biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/caplain.tex
@@ -0,0 +1,19 @@
+\documentclass{article}
+\usepackage[latin1]{inputenc}
+\usepackage[spanish,english,italian,catalan]{babel}
+\title{Exemple de l'estil bibliogràfic \textsf{caplain}}
+\author{Robert Fuster}
+\date{15 de desembre de 2004}
+\begin{document}
+\maketitle
+Aquest és un exemple de l'estil bibliogràfic \textsf{caplain}.
+
+Entre altres documents la bibliografia inclou dues entrades del mateix autor
+(\cite{lamport2,biblamport}), el document electrònic~\cite{hyperlatex}
+i algun llibre de text, com ara~\cite{rbjcjmau}. Diversos documents
+\cite{biblamport, btxdoc,lamport2,vafus,jcccrf,liang} fan referència al \TeX, al
+\LaTeX{} i al \textsc{Bib}\TeX.
+\nocite{*}
+\bibliographystyle{caplain}
+\bibliography{exemples}
+\end{document}
diff --git a/biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/caunsrt.tex b/biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/caunsrt.tex
new file mode 100644
index 0000000000..f9d1804854
--- /dev/null
+++ b/biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/caunsrt.tex
@@ -0,0 +1,19 @@
+\documentclass{article}
+\usepackage[latin1]{inputenc}
+\usepackage[spanish,english,italian,catalan]{babel}
+\title{Exemple de l'estil bibliogràfic \textsf{caunsrt}}
+\author{Robert Fuster}
+\date{15 de desembre de 2004}
+\begin{document}
+\maketitle
+Aquest és un exemple de l'estil bibliogràfic \textsf{caunsrt}.
+
+Entre altres documents la bibliografia inclou dues entrades del mateix autor
+(\cite{lamport2,biblamport}), el document electrònic~\cite{hyperlatex}
+i algun llibre de text, com ara~\cite{rbjcjmau}. Diversos documents
+\cite{biblamport, btxdoc,lamport2,vafus,jcccrf,liang} fan referència al \TeX, al
+\LaTeX{} i al \textsc{Bib}\TeX.
+\nocite{*}
+\bibliographystyle{caunsrt}
+\bibliography{exemples}
+\end{document}
diff --git a/biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/exemples.bib b/biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/exemples.bib
new file mode 100644
index 0000000000..18c2a216d3
--- /dev/null
+++ b/biblio/bibtex/contrib/catalan/doc/bibtex/catalan/exemples/exemples.bib
@@ -0,0 +1,204 @@
+FITXER 'EXEMPLES.BIB': EXEMPLE DE BASE DE DADES PER AL BibTeX
+ Robert Fuster, 23 de maig de 1998, 12 de novembre 2004, 15 de desembre 2004
+
+@STRING{upv = "Universitat Polit{\`e}cnica de Val{\`e}ncia"}
+
+@ARTICLE{vafus,
+ author = "Valiente Feruglio, Gabriel and Robert Fuster",
+ title = "Typesetting {C}atalan Texts with {\TeX}",
+ language = "english",
+ journal = "TUGBoat",
+ year = 1993,
+ volume = 14,
+ number = 3,
+ pages = "252--259",
+ month = sep,
+ annote = "Descripci{\'o} dels patrons de tall de paraula,
+ proposta de tractament de l'ela geminada i altres
+ q{\"u}estions relacionades amb l'{\'u}s del {\TeX}
+ en llengua catalana"}
+
+@BOOK{rbjcjmau,
+ author = "Rafael Bru and Joan Josep Climent and Josep Mas
+ and Ana Urbano",
+ title = "{\'A}lgebra {L}ineal",
+ language = "spanish",
+ publisher = "Servicio de Publicaciones de la " # upv,
+ year = 1993,
+ address = "Val{\`e}ncia",
+ isbn = "8477216304",
+ note = "Ref.: SPUPV, 712, 713",
+ annote = "Apunts d'{\`A}lgebra Lineal, enfocats
+ des d'un punt de vista matricial"}
+
+@BOOK{jinvdma,
+ editor = "Robert Fuster",
+ title = "Jornades d'Investigaci{\'o} i de foment
+ de la multidisciplinarietat",
+ language = "catalan",
+ publisher = "Servicio de Publicaciones de la " # upv,
+ year = 2000,
+ address = "Val{\`e}ncia",
+ note = "Ref.: SPUPV, 2275",
+ isbn = "847721896X"}
+
+@BOOKLET{jcccrf,
+ author = "Climent i Coloma, Joan Josep and Cristina Corral
+ and Robert Fuster",
+ title = "Introducci{\'o}n a la Preparaci{\'o}n de Textos
+ con {\LaTeX}",
+ language = "spanish",
+ address = "Departament de Matem{\`a}tica Aplicada, " # upv,
+ month = nov,
+ year = 1990,
+ howpublished = "Publicaci{\'o}n informal de libre
+ distribuci{\'o}n",
+ annote = "Breu introducci{\'o} al {\LaTeX} (versi{\'o} 2.08)"}
+
+@INBOOK{biblamport,
+ title = "Using {\textsc{Bib}\TeX}",
+ language = "english",
+ chapter = "4.3.1",
+ pages = "70--71",
+ type = "subsection",
+ annote = "Descripci{\'o} bastant completa de l'{\'u}s del
+ {\textsc{Bib}\TeX}",
+ crossref = "lamport2"}
+
+@BOOK{lamport2,
+ author = "Leslie Lamport",
+ title = "{\LaTeX} {A} Document Preparation System",
+ language = "english",
+ publisher = "Addison-Wesley",
+ year = "1994",
+ address = "Reading, Massachusetts",
+ edition = "Second",
+ isbn = "0201529831",
+ annote = "El manual oficial del {\LaTeX}. Aquesta segona
+ edici{\'o} en descriu la versi{\'o} {\LaTeXe}. Text d'obligada
+ lectura"}
+
+@INCOLLECTION{multiplexat,
+ author = "Esteban, Ramon and Reglero, Victor",
+ title = "Multiplexat especial de senyals",
+ language = "catalan",
+ crossref = "jinvdma",
+ pages = "103--109"}
+
+@INPROCEEDINGS{goluboverton,
+ author = "G. H. Golub and M. L. Overton",
+ title = "Convergence of a Two-Stage {R}ichardson Iterative
+ Procedure for Solving Systems of Linear Equations",
+ language = "english",
+ pages = "128--139",
+ crossref = "numanalprocNBC"}
+
+@MANUAL{hyperlatex,
+ title = "The Hiperlatex Manual",
+ language = "english",
+ author = "Otfried Cheong",
+ organization = "Institute of Information and Computing Sciences.
+ Utrecht University",
+ address = "Utrecht, the Netherlands ",
+ month = 12 # nov,
+ year = 2004,
+ url = "http://hyperlatex.sourceforge.net/html/hyperlatex.html"}
+
+@MASTERSTHESIS{siurana,
+ author = "Siurana Huete, Leonardo",
+ title = "Algoritmos {S}ist{\'o}licos para la resoluci{\'o}n de
+ {S}istemas de {E}cuaciones {L}ineales mediante
+ {M}{\'e}todos {I}terativos",
+ language = "spanish",
+ school = "Facultat d'Inform{\`a}tica, " # upv,
+ year = 1991,
+ address = "Val{\`e}ncia",
+ type = "Proyecto final de carrera",
+ month = jul}
+
+@MISC{ctan,
+ key = "CTAN",
+ title = "The Comprehensive {\TeX} Archive Network ({CTAN})",
+ language = "english",
+ url = {FTP: //ftp.dante.de/tex-archive},
+ annote = "{CTAN} {\'e}s una xarxa d'arxius on s'hi poden trobar
+ gaireb{\'e} tots els programes, utilitats, paquets...
+ relacionats amb el {\TeX}"}}
+
+@PHDTHESIS{liang,
+ author = "Frank Mark Liang",
+ title = "Word Hy-phen-a-tion by Com-pu-ter",
+ language = "english",
+ school = "Stanford University",
+ year = 1983,
+ address = "Stanford, California",
+ month = jun,
+ note = "Also avalable as Stanford University, Department of
+ Computer Science Report No. STAN-CS-83-977",
+ }
+
+@PROCEEDINGS{numanalprocNBC,
+ title = "Numerical Analisys (Proceedings of the Ninth Biennal
+ Conference), Dundee, Scotland, 1981",
+ language = "english",
+ year = 1982,
+ editor = "G. A. Watson",
+ number = 912,
+ series = "Lecture notes in Mathematics",
+ address = "New York",
+ publisher = "Springer Verlag"}
+
+@TECHREPORT{ccamjm,
+ author = "Cristina Corral and {\'A}ngeles Mart{\'\i}nez and
+ Josep Mas",
+ title = "Inplementaci{\'o}n de {P}recondicionadores {P}olinomiales
+ {P}aralelos en un {M}ultiprocesador con memoria
+ distribuida con {T}opolog{\'\i}a de {M}alla",
+ language = "spanish",
+ institution = "Departament de Matem{\`a}tica Aplicada, " # upv,
+ year = 1994,
+ number = 7,
+ address = "Val{\`e}ncia",
+ type = "Notes de recerca",
+ month = sep}
+
+@UNPUBLISHED{btxdoc,
+ author = "Oren Patashnik",
+ title = "{\textsc{Bib}\TeX}ing",
+ language = "english",
+ note = "Computer file included in the {\textsc{Bib}\TeX}
+ distribution",
+ month = "8~" # feb,
+ year = 1988,
+ annote = "Documentaci{\'o} per a tots els usuaris
+ del {\textsc{Bib}\TeX}. Descriu tots els registres i camps
+ i explica totes les q{\"u}estions de sintaxi"}
+
+ @ARTICLE{prodi,
+ author = "Romano Prodi",
+ title = "L'industria dopo l'euro",
+ language = "italian",
+ journal = "Rivista di economia e politica industriale",
+ year = 2002,
+ volume = 4,
+ pages = "252--259",
+ month = oct # "--" # dec,
+ note = "Publicaci{\'o} electr{\`o}nica",
+ issn = "00197416",
+ doi = "10.1430/8105",
+ annote = "Descripci{\'o} de l'escenari competitiu de
+ la ind{\'u}stria europea. En particular, analitza
+ les seues relacions amb els {EUA}, la {Xina} i
+ els pa{\"i}sos mediterranis"}
+
+@BOOK{pefu,
+ author = "Pedroche i Sánchez, Francesc and Fullana i Alfonso, Màrius Josep",
+ title = "Fonaments d'àlgebra lineal amb aplicacions i pràctiques d'ordinador",
+ language = "catalan",
+ publisher = "Servei de Publicacions de la " # upv,
+ year = 1998,
+ address = "Val{\`e}ncia",
+ note = "Ref.: SPUPV, 98.3510",
+ isbn = "8477216037",
+ annote = "Un primer curs d'{\`A}lgebra Lineal, enfocat des d'un
+ punt de vista matricial. Inclou algorismes en {M}atlab"} \ No newline at end of file
diff --git a/biblio/bibtex/contrib/chem-journal/jcc.bst b/biblio/bibtex/contrib/chem-journal/jcc.bst
new file mode 100644
index 0000000000..3a7a60c2e4
--- /dev/null
+++ b/biblio/bibtex/contrib/chem-journal/jcc.bst
@@ -0,0 +1,997 @@
+% BibTeX bibliography style `jcc2005' for J. Comp. Chem.
+% 03 May 05 A. Cervellino
+% no output of 'title' for 'article', 'book', 'inbook', 'incollection'
+% no output of 'note' except in 'unpublished'
+% initials after the name, semicolons to separate authors,
+% etc. usw.
+%
+% for BibTeX versions 0.99a or later, LaTeX2e.
+% Copyright under Latex Project Public License (LPPL)
+% Copying of this file is authorized only if either
+% (1) you make absolutely no changes to your copy, including name, or
+% (2) if you do make changes, you name it something other than
+% btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+% This restriction helps ensure that all standard styles are identical.
+%
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block after.item author.or.editor }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #4 'after.item :=
+}
+
+FUNCTION {add.semicolon}
+{ duplicate$
+ #-1 #1 substring$ "}" =
+ { #-2 #1024 substring$ ";} " * }
+ { "; " * }
+ if$
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.semicolon write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { output.state after.item =
+ { " " * write$ }
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {new.item}
+{ duplicate$ empty$
+ { skip$ }
+ { output.state mid.sentence =
+ { after.item 'output.state := }
+ { skip$ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.item.checka}
+{ empty$
+ 'skip$
+ 'new.item
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {boldface}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\bf " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {paren}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "(" swap$ * ")" * }
+ if$
+}
+
+FUNCTION {comma}
+{ duplicate$ empty$
+ { pop$ "" }
+ { swap$ * "," * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll,~}{jj,~}{f.}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { "; " * t * }
+ { numnames #2 >
+ { "" * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { #1 'author.or.editor :=
+ author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { #2 'author.or.editor :=
+ editor format.names
+ editor num.names$ #1 >
+ { ", Eds." * }
+ { ", Ed." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ { year }
+ { month " " * year paren }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.bdate}
+{ year empty$
+ { "there's no year in " cite$ * warning$ }
+ 'year
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "Vol. " volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " ed." * }
+ { edition "t" change.case$ " ed." * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume boldface field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ", " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.booktitle.ed}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " booktitle emphasize * ", " * format.editors * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pub.address}
+{ publisher empty$
+ { "" }
+ { address empty$
+ { publisher }
+ { publisher ", " * address *}
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.date "year" output.check
+ format.vol.num.pages output new.item
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ format.pub.address "publisher" output.check
+ }
+ { format.book.crossref output.nonnull }
+ if$
+ format.edition output
+ format.bdate "year" output.check
+ new.block
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output new.item
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull }
+ if$
+ format.in.booktitle.ed "title" output.check
+ crossref missing$
+ { format.pub.address "publisher" output.check
+ format.bdate "year" output.check
+ new.block
+ format.bvolume output
+ new.block
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check new.item
+ crossref missing$
+ { format.in.booktitle.ed "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ new.block
+ format.pub.address "publisher" output.check
+ format.edition output
+ format.bdate "year" output.check
+ new.block
+ format.chapter.pages output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check new.item
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.bdate "year" output.check
+ }
+ { address output.nonnull
+ format.bdate "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.title "title" output.check new.sentence
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull new.item }
+ if$
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check new.item
+ format.title "title" output.check new.item
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ format.title output
+ howpublished new.item.checka
+ howpublished output
+ format.bdate output
+ new.block
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check new.item
+ format.btitle "title" output.check new.item
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull new.item }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check new.item
+ format.title "title" output.check new.item
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check new.item
+% format.title "title" output.check new.item
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {bbrc} {"Biochem. Biophys. Res. Commun."}
+
+MACRO {jacs} {"J. Amer. Chem. Soc."}
+
+MACRO {jbc} {"J. Biol. Chem."}
+
+MACRO {pnas} {"Proc. Natl. Acad. Sci."}
+
+MACRO {jmb} {"J. Mol. Biol."}
+
+MACRO {embo} {"EMBO J."}
+
+MACRO {tibs} {"Trends Biochem. Sci."}
+
+MACRO {protsfg} {"Proteins: Struct. Func. Gen."}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/chem-journal/jpc.bst b/biblio/bibtex/contrib/chem-journal/jpc.bst
new file mode 100644
index 0000000000..66f83d5a89
--- /dev/null
+++ b/biblio/bibtex/contrib/chem-journal/jpc.bst
@@ -0,0 +1,990 @@
+% BibTeX bibliography style `jpc' for J. Phys. Chem.
+% 8/9/93 Joerg-R. Hill
+% no output of 'title' for 'article', 'book', 'inbook', 'incollection'
+% no output of 'note' except in 'unpublished'
+%
+% version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+% Copyright (C) 1985, all rights reserved.
+% Copying of this file is authorized only if either
+% (1) you make absolutely no changes to your copy, including name, or
+% (2) if you do make changes, you name it something other than
+% btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+% This restriction helps ensure that all standard styles are identical.
+% The file btxbst.doc has the documentation for this style.
+%
+% Fixed article, book references 11/10/92---CLF
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block after.item author.or.editor }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #4 'after.item :=
+}
+
+FUNCTION {add.semicolon}
+{ duplicate$
+ #-1 #1 substring$ "}" =
+ { #-2 #1024 substring$ ";} " * }
+ { "; " * }
+ if$
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.semicolon write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { output.state after.item =
+ { " " * write$ }
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {new.item}
+{ duplicate$ empty$
+ { skip$ }
+ { output.state mid.sentence =
+ { after.item 'output.state := }
+ { skip$ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.item.checka}
+{ empty$
+ 'skip$
+ 'new.item
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {boldface}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\bf " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, f}." format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { author.or.editor #1 =
+ { "; " * t * }
+ { ", " * t * }
+ if$
+ }
+ { t "others" =
+ { " et~al." * }
+ { author.or.editor #1 =
+ { "; " * t * }
+ { ", " * t * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { #1 'author.or.editor :=
+ author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { #2 'author.or.editor :=
+ editor format.names
+ editor num.names$ #1 >
+ { ", Eds." * }
+ { ", Ed." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ { year boldface }
+ { month " " * year boldface }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.bdate}
+{ year empty$
+ { "there's no year in " cite$ * warning$ }
+ 'year
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "Vol. " volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " ed." * }
+ { edition "t" change.case$ " ed." * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume emphasize field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ", " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.booktitle.ed}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " booktitle emphasize * "; " * format.editors * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pub.address}
+{ publisher empty$
+ { "" }
+ { address empty$
+ { publisher }
+ { publisher ": " * address *}
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check new.item
+ crossref missing$
+ { journal emphasize "journal" output.check new.item
+ format.date "year" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check new.item }
+ { format.authors output.nonnull new.item
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ new.block
+ format.pub.address "publisher" output.check
+ }
+ { format.book.crossref output.nonnull }
+ if$
+ format.edition output
+ format.bdate "year" output.check
+ new.block
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output new.item
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check new.item }
+ { format.authors output.nonnull new.item }
+ if$
+ format.in.booktitle.ed "title" output.check
+ new.block
+ crossref missing$
+ { format.pub.address "publisher" output.check
+ format.bdate "year" output.check
+ new.block
+ format.bvolume output
+ new.block
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check new.item
+ crossref missing$
+ { format.in.booktitle.ed "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ new.block
+ format.pub.address "publisher" output.check
+ format.edition output
+ format.bdate "year" output.check
+ new.block
+ format.chapter.pages output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check new.item
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.bdate "year" output.check
+ }
+ { address output.nonnull
+ format.bdate "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.title "title" output.check new.sentence
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull new.item }
+ if$
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check new.item
+ format.title "title" output.check new.item
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.title output
+ new.sentence
+ format.authors output new.item
+ howpublished new.item.checka
+ howpublished output
+ format.date output
+ new.block
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check new.item
+ format.btitle "title" output.check new.item
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull new.item }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check new.item
+ format.title "title" output.check new.item
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check new.item
+% format.title "title" output.check new.item
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {bbrc} {"Biochem. Biophys. Res. Commun."}
+
+MACRO {jacs} {"J. Amer. Chem. Soc."}
+
+MACRO {jbc} {"J. Biol. Chem."}
+
+MACRO {pnas} {"Proc. Natl. Acad. Sci."}
+
+MACRO {jmb} {"J. Mol. Biol."}
+
+MACRO {embo} {"EMBO J."}
+
+MACRO {tibs} {"Trends Biochem. Sci."}
+
+MACRO {protsfg} {"Proteins: Struct. Func. Gen."}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/chem-journal/pccp.bst b/biblio/bibtex/contrib/chem-journal/pccp.bst
new file mode 100644
index 0000000000..9c73cdbf53
--- /dev/null
+++ b/biblio/bibtex/contrib/chem-journal/pccp.bst
@@ -0,0 +1,989 @@
+% BibTeX bibliography style `pccp' for Phys. Chem. Chem. Phys.
+% 5/5/00 Joerg-R. Hill
+% no output of 'title' for 'article', 'book', 'inbook', 'incollection'
+% no output of 'note' except in 'unpublished'
+%
+% version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+% Copyright (C) 1985, all rights reserved.
+% Copying of this file is authorized only if either
+% (1) you make absolutely no changes to your copy, including name, or
+% (2) if you do make changes, you name it something other than
+% btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+% This restriction helps ensure that all standard styles are identical.
+% The file btxbst.doc has the documentation for this style.
+%
+% Fixed article, book references 11/10/92---CLF
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block after.item author.or.editor }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #4 'after.item :=
+}
+
+FUNCTION {add.semicolon}
+{ duplicate$
+ #-1 #1 substring$ "}" =
+ { #-2 #1024 substring$ ";} " * }
+ { "; " * }
+ if$
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.semicolon write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { output.state after.item =
+ { " " * write$ }
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {new.item}
+{ duplicate$ empty$
+ { skip$ }
+ { output.state mid.sentence =
+ { after.item 'output.state := }
+ { skip$ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.item.checka}
+{ empty$
+ 'skip$
+ 'new.item
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {boldface}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\bf " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {paren}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "(" swap$ * ")" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { #1 'author.or.editor :=
+ author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { #2 'author.or.editor :=
+ editor num.names$ #1 >
+ { "ed. " * }
+ { "ed. " * }
+ if$
+ editor format.names
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ { year }
+ { month " " * year }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.bdate}
+{ year empty$
+ { "there's no year in " cite$ * warning$ }
+ 'year
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "Vol. " volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " ed." * }
+ { edition "t" change.case$ " ed." * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pp." pages n.dashify tie.or.space.connect }
+ { "p." pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume boldface field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ", " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.booktitle.ed}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "in " booktitle emphasize * }
+ { "in " booktitle emphasize * ", " * format.editors * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pub.address}
+{ publisher empty$
+ { "" }
+ { address empty$
+ { publisher }
+ { publisher ", " * address *}
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.date "year" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ format.pub.address "publisher" output.check
+ }
+ { format.book.crossref output.nonnull }
+ if$
+ format.edition output
+ format.bdate "year" output.check
+ new.block
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output new.item
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull }
+ if$
+ format.in.booktitle.ed "title" output.check
+ crossref missing$
+ { format.pub.address "publisher" output.check
+ format.bdate "year" output.check
+ new.block
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check new.item
+ crossref missing$
+ { format.in.booktitle.ed "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ new.block
+ format.pub.address "publisher" output.check
+ format.edition output
+ format.bdate "year" output.check
+ new.block
+ format.chapter.pages output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check new.item
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.bdate "year" output.check
+ }
+ { address output.nonnull
+ format.bdate "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.title "title" output.check new.sentence
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull new.item }
+ if$
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check new.item
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ format.title output
+ howpublished new.item.checka
+ howpublished output
+ format.bdate output
+ new.block
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check new.item
+ format.btitle "title" output.check new.item
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull new.item }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check new.item
+ format.title "title" output.check new.item
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+% format.title "title" output.check new.item
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {bbrc} {"Biochem. Biophys. Res. Commun."}
+
+MACRO {jacs} {"J. Amer. Chem. Soc."}
+
+MACRO {jbc} {"J. Biol. Chem."}
+
+MACRO {pnas} {"Proc. Natl. Acad. Sci."}
+
+MACRO {jmb} {"J. Mol. Biol."}
+
+MACRO {embo} {"EMBO J."}
+
+MACRO {tibs} {"Trends Biochem. Sci."}
+
+MACRO {protsfg} {"Proteins: Struct. Func. Gen."}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/chem-journal/revcompchem.bst b/biblio/bibtex/contrib/chem-journal/revcompchem.bst
new file mode 100644
index 0000000000..e3f7c5be88
--- /dev/null
+++ b/biblio/bibtex/contrib/chem-journal/revcompchem.bst
@@ -0,0 +1,993 @@
+% BibTeX bibliography style `revcompchem' for Reviews in Computational Chemistry
+% 4/28/98 Joerg-R. Hill
+%
+% version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+% Copyright (C) 1985, all rights reserved.
+% Copying of this file is authorized only if either
+% (1) you make absolutely no changes to your copy, including name, or
+% (2) if you do make changes, you name it something other than
+% btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+% This restriction helps ensure that all standard styles are identical.
+% The file btxbst.doc has the documentation for this style.
+%
+% Fixed article, book references 11/10/92---CLF
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block after.item author.or.editor }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #4 'after.item :=
+}
+
+FUNCTION {add.semicolon}
+{ duplicate$
+ #-1 #1 substring$ "}" =
+ { #-2 #1024 substring$ ";} " * }
+ { "; " * }
+ if$
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.semicolon write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { output.state after.item =
+ { " " * write$ }
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {new.item}
+{ duplicate$ empty$
+ { skip$ }
+ { output.state mid.sentence =
+ { after.item 'output.state := }
+ { skip$ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.item.checka}
+{ empty$
+ 'skip$
+ 'new.item
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {boldface}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\bf " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {paren}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "(" swap$ * ")" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { #1 'author.or.editor :=
+ author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { #2 'author.or.editor :=
+ editor format.names
+ editor num.names$ #1 >
+ { ", Eds." * }
+ { ", Ed." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ { year paren }
+ { month " " * year paren }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.bdate}
+{ year empty$
+ { "there's no year in " cite$ * warning$ }
+ 'year
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "Vol. " volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " ed." * }
+ { edition "t" change.case$ " ed." * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume boldface field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ", " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "in " booktitle emphasize * }
+ { "in " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.booktitle.ed}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "in " booktitle emphasize * }
+ { "in " booktitle emphasize * ", " * format.editors * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pub.address}
+{ publisher empty$
+ { "" }
+ { address empty$
+ { publisher }
+ { publisher ", " * address *}
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "in {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "in " key * }
+ if$
+ }
+ { "in " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output new.item
+ format.date "year" output.check new.sentence
+ format.title "title" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ format.pub.address "publisher" output.check
+ }
+ { format.book.crossref output.nonnull }
+ if$
+ format.edition output
+ format.bdate "year" output.check
+ new.block
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output new.item
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull }
+ if$
+ format.in.booktitle.ed "booktitle" output.check
+ crossref missing$
+ { format.pub.address "publisher" output.check
+ format.bdate "year" output.check
+ new.block
+ format.bvolume output
+ new.block
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ title empty$
+ { "need title for " cite$ * warning$ }
+ { format.title output }
+ if$
+ new.block
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check new.item
+ crossref missing$
+ { format.in.booktitle.ed "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ new.block
+ format.pub.address "publisher" output.check
+ format.edition output
+ format.bdate "year" output.check
+ new.block
+ format.chapter.pages output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check new.item
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.bdate "year" output.check
+ }
+ { address output.nonnull
+ format.bdate "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.title "title" output.check new.sentence
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull new.item }
+ if$
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check new.item
+ format.title "title" output.check new.item
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ format.title output
+ howpublished new.item.checka
+ howpublished output
+ format.bdate output
+ new.block
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check new.item
+ format.btitle "title" output.check new.item
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull new.item }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check new.item
+ format.title "title" output.check new.item
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check new.item
+% format.title "title" output.check new.item
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {bbrc} {"Biochem. Biophys. Res. Commun."}
+
+MACRO {jacs} {"J. Amer. Chem. Soc."}
+
+MACRO {jbc} {"J. Biol. Chem."}
+
+MACRO {pnas} {"Proc. Natl. Acad. Sci."}
+
+MACRO {jmb} {"J. Mol. Biol."}
+
+MACRO {embo} {"EMBO J."}
+
+MACRO {tibs} {"Trends Biochem. Sci."}
+
+MACRO {protsfg} {"Proteins: Struct. Func. Gen."}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/chembst/README b/biblio/bibtex/contrib/chembst/README
new file mode 100644
index 0000000000..08b55a8d36
--- /dev/null
+++ b/biblio/bibtex/contrib/chembst/README
@@ -0,0 +1,11 @@
+The chembst package is a collection of advanced BibTeX style files suitable for
+publications in chemistry journals. Currently, style files for journals
+published by the American Chemical Society, Wiley-VCH and The Royal Society of
+Chemistry are available. The style file support advanced features like
+automatic formatting of errata or creating an appropriate entry for
+publications in Angewandte Chemie where both English and German should be cited
+simultaneously.
+
+This material is subject to the LaTeX Project Public License. See
+http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for the
+details of that license. \ No newline at end of file
diff --git a/biblio/bibtex/contrib/chembst/chembst.dtx b/biblio/bibtex/contrib/chembst/chembst.dtx
new file mode 100644
index 0000000000..ed9e1dfd02
--- /dev/null
+++ b/biblio/bibtex/contrib/chembst/chembst.dtx
@@ -0,0 +1,3110 @@
+% \iffalse
+%
+%% File: chembst.dtx Copyright (C) 2008 Stephan Schenk
+%% $Id: chembst.dtx,v 1.12 2008/09/17 19:07:16 schenk Exp $
+%%
+%% Stephan Schenk (mail@schenk-stephan.de)
+%%
+%% This program may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%%
+%% *****
+%%
+% This package consists of the files chembst.dtx and chembst.ins
+%
+% To typeset this documentation use
+%
+% pdflatex chembst.dtx
+% makeindex -s gind.ist chembst.idx
+% makeindex -s gglo.ist -o chembst.gls chembst.glo
+% pdflatex chembst.dtx
+%
+%
+% The following journals can be selected:
+% - ChemCommun
+% - ChemEurJ
+% - InorgChem
+% - JAmChemSoc
+%
+% The following additional selection rules exist:
+% - cv
+% Create a style file for a curriculum vitae.
+% - namesone
+% Truncate list of names to one and append et al.
+% Works only if more names than specified by *name options are present.
+% - tennames
+% If a list contains more than ten names it is truncated.
+% See names* options
+% - fifteennames
+% Same as tennames but with 16 names.
+%
+%
+%
+%<*driver>
+\ProvidesFile{chembst.dtx}
+ [2008/09/17 0.2.5 BibTeX style files for chemistry journals]
+\documentclass{ltxdoc}
+\GetFileInfo{chembst.dtx}
+\CodelineIndex
+\RecordChanges
+%\OnlyDescription
+\begin{document}
+ \DocInput{\filename}
+\end{document}
+%</driver>
+% \fi
+%
+% \CheckSum{175}
+%
+% \CharacterTable
+% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+% Digits \0\1\2\3\4\5\6\7\8\9
+% Exclamation \! Double quote \" Hash (number) \#
+% Dollar \$ Percent \% Ampersand \&
+% Acute accent \' Left paren \( Right paren \)
+% Asterisk \* Plus \+ Comma \,
+% Minus \- Point \. Solidus \/
+% Colon \: Semicolon \; Less than \<
+% Equals \= Greater than \> Question mark \?
+% Commercial at \@ Left bracket \[ Backslash \\
+% Right bracket \] Circumflex \^ Underscore \_
+% Grave accent \` Left brace \{ Vertical bar \|
+% Right brace \} Tilde \~}
+%
+% ^^A Cheat on doc.sty since this BibTeX commands do not start with '\'
+% \renewcommand*{\bslash}{}
+% ^^A Suppress index entries for \DescribeMacro{}
+% \makeatletter\let\SpecialUsageIndex=\@gobble\makeatother
+%
+% ^^A For some reason I don't understand right now the counter has to be
+% ^^A set to 0. doc.dtx states that this is the default anyway.
+% \setcounter{StandardModuleDepth}{0}
+%
+% \changes{0.2.5}{2008/09/17}{Minor documentation updates}
+% \changes{0.2.4}{2008/03/18}{Removed number of pages from papers with EID in
+% all styles except 'cv'.}
+% \changes{0.2.3}{2008/01/17}{Fixed some minor issues with ACS styles.}
+% \changes{0.2.2}{2007/09/13}{JAmChemSoc now requires truncation of author list
+% after more than 15 names only.}
+% \changes{0.2.2}{2007/09/13}{Added InorgChem.bst}
+% \changes{0.2.0}{2006/07/27}{Renamed european.bst to ChemEurJ.bst}
+% \changes{0.2.0}{2006/07/27}{Renamed american.bst to JAmChemSoc.bst}
+% \changes{0.2.0}{2006/07/27}{Added support for Chem. Commun.}
+% \changes{0.1.2}{2006/05/03}{Added support for a curriculum vitae}
+% \changes{0.1.2}{2006/05/03}{Removed unused function add.blank}
+% \changes{0.1.0}{2006/02/23}{Initial revision}
+% \title{\BibTeX\ Style Files for Chemistry Journals\thanks{This file
+% describes version \fileversion\ and has been last revised \filedate.}}
+% \author{Stephan Schenk\\mail (at) schenk-stephan.de}
+% \maketitle
+%
+% \setcounter{tocdepth}{2}
+% \tableofcontents
+%
+% \section{Introduction}
+%
+% This collection of bibtex style files started with a version intended for
+% \emph{Chem.\ Eur.~J.} The base version of it was created using the
+% marvelous |makebst| program by Patrick W.~Daly. Soon afterwards, a version for
+% \emph{J.~Am.\ Chem.\ Soc.}\ was available, too. With changes to both files
+% becoming more and more complex, everything was merged into a single
+% |chembst.dtx| file to avoid maintaining several versions of the code. Using
+% the |docstrip| utility, the different style files can now easily be generated
+% by running |latex chembst.ins|.
+% Currently, the following journals are supported:
+% \begin{itemize}
+% \item \emph{Chem.\ Commun.}\ (|ChemCommun.bst|)
+% \item \emph{Inorg.\ Chem.}\ (|InorgChem.bst|), which can be used for
+% most of the journals published by the American Chemical Society
+% \item \emph{J.~Am.\ Chem.\ Soc.}\ (|JAmChemSoc.bst|)
+% \item \emph{Chem.\ Eur.~J.}\ (|ChemEurJ.bst|), which can be used for most of
+% the journals published by Wiley
+% \end{itemize}
+% Additionally, the following styles are also supported:
+% \begin{itemize}
+% \item \emph{Curriculum vitae} (|cv.bst|), a style similar to \emph{Chem.\
+% Eur.~J.} that includes the title of an article
+% \end{itemize}
+%
+%
+%
+% \section{Some notes}
+%
+% \subsection{crossref entries}
+% \label{o::crossref}
+%
+% The crossref feature is described in detail in the |btxdoc.dvi| \BibTeX\
+% documentation. Using crossref is a way to inherit information from a parent
+% entry. As an example consider a database containing a @book entry for citing
+% the whole book and a @inbook entry for citing some pages from that book.
+% Naturally, the only difference between both entries is that @inbook contains
+% a |pages| field. All the other information is stored redundantly.
+%
+% Using the crossref feature the @inbook entry can be as simple as
+% \begin{verbatim}
+% @inbook{inbook_key,
+% crossref = {book_key},
+% pages = {1-5},
+% }
+% \end{verbatim}
+% All the other fields (author, publisher, year etc.) are inherited from the
+% parent entry with the key |book_key|.
+%
+% If you do not cite the whole book in your document, i.\,e.\ the document does
+% not contain |\cite{book_key}|, the following will happen. If |book_key| is
+% not cross-referenced more than once\footnote{%
+% You can change that number by passing the argument |-min-crossrefs=number|
+% to bibtex.}
+% everything will look perfectly like a ``normal'' @inbook entry. However, if
+% |book_key| is cross-referenced more than once, the entry corresponding to the
+% whole book will be added automatically to the bibliography and the @inbook
+% entry will be formatted as A. Author in |\cite{book_key}|,
+% pages 1-5.\footnote{%
+% In fact \cs{bibliographycite} is used. See section~\ref{o::customization}
+% for details.}
+% If your document does contain |\cite{book_key}| you will always get the
+% crossref format.
+%
+% This applies to entries of type @inbook, @incollection and @inproceedings.
+%
+%
+%
+% \subsection{JAmChemSoc.bst}
+%
+% The Journal of the American Chemical Society (ACS) now requires
+% that for citations with more than 10 authors the list of authors is
+% abbreviated by giving only the first author followed by \emph{et al.} The
+% style file |JAmChemSoc.bst| automatically takes care of that. However, ACS
+% also
+% requires that for those citations the full list of authors should be given as
+% Supporting Information. The style |JAmChemSoc_all.bst| can be used for this
+% purpose, since it does not abbreviate the list of authors.
+%
+%
+%
+% \subsection{Customization}
+% \label{o::customization}
+%
+% Defaults for several commands used in the |thebibliography| environment are
+% defined at the beginning of the |.bbl| file. To override the default settings
+% define the command before using the \mbox{\cs{bibliography}} command.
+%
+%
+% \DescribeMacro{\url}
+% The \cs{url} command is used to display urls. By default this only selects a
+% typewriter font. However, it is strongly recommened, that you use the package
+% |url.sty| which defines \cs{url} in a more sophisticated way. Due to some
+% problems with multiline urls (spurious '\%' in formatted url) you should use
+% some reasonable new version (3.2 works fine) of |url.sty|.
+%
+%
+% \DescribeMacro{\urlprefix}
+% Every \cs{url} is prefixed by \cs{urlprefix}. By default \cs{urlprefix} does
+% nothing. This command is useful if you have to prepend every url with some
+% text. For \emph{Angew.\ Chem.}, i.\,e., every url must be preceded by ``to be
+% found under''. This can easily be achieved by giving
+% \begin{verbatim}
+% \newcommand{\urlprefix}{to be found under }
+% \end{verbatim}
+%
+%
+% \DescribeMacro{\foreignlanguage}
+% This command is used to temporary switch the language for the title of books
+% etc. By default this does nothing but if you load |babel.sty| then the
+% language will be changed.
+%
+%
+% \DescribeMacro{\bibliographycite}
+% This command is used for formatting crossref entries. It defaults to
+% \cs{cite}. However, if you use |overcite.sty| you may not want superscripted
+% citations in your bibliography. Then you can define \cs{bibliographycite} the
+% following way
+% \begin{verbatim}
+% \newcommand{\bibliographycite}[1]{[\citen{#1}]}}
+% \end{verbatim}
+%
+%
+% \DescribeMacro{\bbl*}
+% Inside the |.bbl| file no text is hard coded and instead the appropriate
+% \cs{bbl*} command is used. The text ``erratum'', i.\,e., is produced by
+% \cs{bblerratum}. Thus one can easily change all the words in the bibliography
+% by defining the appropriate commands.
+% \begin{verbatim}
+% \newcommand{\bblerratum}{\emph{errat.}}
+% \end{verbatim}
+% for instance will give ``\emph{errat.}''. By redefining all necessary commands
+% you can also change the language to some other language than the default
+% english.
+%
+%
+%
+% \section{Description of important entry types}
+%
+% The entry types discussed in this section are those which are most commonly
+% used in writing articles in chemistry. The types listed here refer to entries
+% in the database (i.\,e.\ |*.bib|).
+%
+%
+%
+% \subsection{@article}
+%
+% This entry type is designed for an article in a journal.
+% The entry type has been augmented with several additional fields. Other style
+% files will simply ignore these fields. The following fields are recognized:
+%
+% \begin{description}
+% \item[author] The names of all authors
+% \item[journal] The name of the journal the article was published in
+% \item[year] The year the article has been published
+% \item[volume] The volume this article has been published in
+% \item[pages] The page numbers of the article
+% \item[eid] The electronic identifier of an article. Some journals, i.\,e.\
+% \emph{J.~Chem.\ Phys.} no longer have page numbers associated to an
+% article but only use the EID. If an EID is present |pages| will be
+% ignored.
+% \item[numpages] The number of pages of an article. This will only be used
+% together with an EID.
+% \item[germanpages] When citing articles from \emph{Angew.\ Chem.} one
+% should always give both the german and the english version. If this
+% field is present the style file assumes that this is a citation of
+% \emph{Angew.\ Chem.\ Int.\ Ed.} and automatically appends the correct
+% citation for \emph{Angew.\ Chem.} The year is always the same for
+% both versions and the german volume is easily calculated by adding 73
+% to the english volume. The page range of the german version is taken
+% from the |germanpages| field.
+% \item[erratumyear, erratumvolume, erratumpages, erratumeid,
+% erratumnumpages] If any of these fields is non-empty the information
+% will be used to append a correctly formatted citation of the erratum
+% to the regular citation.
+% \item[note] A free format text that will be appended at the very end of a
+% citation.
+% \end{description}
+%
+%
+%
+% \subsection{@book}
+%
+% This entry type is designed for citing a whole book. If you want to cite only
+% some chapters or pages of a book use @inbook or @incollection (see below).
+% The following fields are recognized:
+%
+% \begin{description}
+% \item[author, editor] The names of all authors or editors. You can only use
+% one of author or editor, but not both.
+% \item[title] The title of the book
+% \item[language] The language of the title
+% \item[edition] The edition of the book
+% \item[volume] The volume of the book
+% \item[series] The series the book is part of
+% \item[publisher] The publisher of the book
+% \item[address] The publisher's address
+% \item[year] The year the book was published in
+% \item[note] A free format text that will be appended at the very end of the
+% citation.
+% \end{description}
+%
+%
+%
+% \subsection{@inbook}
+%
+% This entry type is designed for citing chapters or pages of a book. The final
+% format of the citation is the same as for @book except that the cited
+% chapter(s) and/or pages are appended. For the crossref feature see
+% section~\ref{o::crossref}. The same fields as for @book plus
+% the following are recognized:
+%
+% \begin{description}
+% \item[chapter] The cited chapters
+% \item[pages] The cited pages
+% \end{description}
+%
+%
+%
+% \subsection{@incollection}
+%
+% This entry is also designed for citing chapters or pages of a book and thus
+% very similar to @inbook. However, there is one difference: the present entry
+% is designed for chapter(s) written by some authors in a book edited by
+% others. The final citation looks similar to A. Author, in book title, edited
+% by E. Editor. The crossref feature is discussed in section~\ref{o::crossref}.
+% The same fields as for @inbook (except |title|) plus the following are
+% recognized.
+%
+% \begin{description}
+% \item[booktitle] The name of the book
+% \end{description}
+%
+%
+%
+% \subsection{@masterthesis and @phdthesis}
+%
+% These entries are designed for citing a master's thesis or a PhD thesis. Both
+% entries are very similar. The only difference is the thesis' name. The
+% following fields are recognized:
+%
+% \begin{description}
+% \item[author] The author of the thesis
+% \item[school] The school or university where this thesis work was carried
+% out.
+% \item[address] The school's address
+% \item[year] The year the thesis was finished in.
+% \item[note] A free format text that will be appended at the very end of the
+% citation.
+% \item[url] An url where the thesis can be found.
+% \end{description}
+%
+%
+%
+% \subsection{@program}
+%
+% This entry is designed for citing a program. This is a new entry type which
+% is not contained in the standard \BibTeX\ styles. It allows greater
+% flexibility compared to the @misc entry. The following fields are recognized:
+%
+% \begin{description}
+% \item[author] The program's authors
+% \item[title] The program name
+% \item[description] A short description of the program
+% \item[version] The version/release of the program
+% \item[year] The year the program was published in.
+% \item[publisher] The publisher of the program
+% \item[address] The publisher's address
+% \item[note] A free format text that will be appended at the very end of the
+% citation.
+% \item[url] An url where the program can be found.
+% \end{description}
+%
+%
+% \subsection{@misc}
+%
+% This entry is designed for everything that does not fit into one of the other
+% entry categories. This is for instance useful to cite websites. The following
+% fields are recognized:
+%
+% \begin{description}
+% \item[author] The author of the cited work
+% \item[title] The title of the cited work
+% \item[howpublished] A free format text describing how this work has been
+% published. This is usually empty.
+% \item[year] The year the cited work was published in.
+% \item[note] A free format text that will be appended at the very end of the
+% citation.
+% \item[url] An url where the cited work can be found.
+% \end{description}
+%
+%
+%
+% \subsection{@unpublished}
+%
+% This entry is designed for unpublished results. The following fields are
+% recognized:
+%
+% \begin{description}
+% \item[author] The author(s) of the unpublished work
+% \item[title] The title of the unpublished work
+% \item[year] The year the unpublished work was carried out.
+% \item[note] A free format text explaining what kind of unpublished work
+% this is (i.\,e.\ ``unpublished results'').
+% \item[url] An url where this work can be found.
+% \end{description}
+%
+%
+% \StopEventually{}
+%
+%
+%
+% \section{The implementation}
+%
+% Write the journal this style file is intended for to the file header.
+% \begin{macrocode}
+%% This file is intended for use with:
+%<ChemCommun>%% Chem. Commun.
+%<ChemEurJ>%% Chem.-Eur. J.
+%<InorgChem>%% Inorg. Chem.
+%<JAmChemSoc>%% J. Am. Chem. Soc.
+%<cv>%% a curriculum vitae
+%%
+% \end{macrocode}
+%
+%
+%
+% \subsection{Setup}
+%
+% \begin{macro}{ENTRY}
+% Define all the fields an entry can contain.
+% \begin{macrocode}
+ENTRY
+ {
+ address
+ author
+ booktitle
+ chapter
+ collaboration
+ description
+ edition
+ editor
+ eid
+ erratumeid
+ erratumgermanpages
+ erratumnumpages
+ erratumpages
+ erratumvolume
+ erratumyear
+ germanpages
+ howpublished
+ institution
+ journal
+ key
+ language
+ month
+ note
+ number
+ numpages
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ url
+ version
+ volume
+ year
+ }
+ {}
+ { label }
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{INTEGERS}
+% \changes{0.1.2}{2006/05/03}{Removed unused variables, added new.sentence}
+% Define all integer variables.
+% \begin{macrocode}
+INTEGERS {
+ before.all
+ i
+ j
+ longest.label.width
+ mid.sentence
+ multiresult
+ nameptr
+ namesleft
+ new.sentence
+ number.label
+ numnames
+ o
+ output.state
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{STRINGS}
+% Define all string variables.
+% \begin{macrocode}
+STRINGS {
+ bibinfo
+ delimiter
+ longest.label
+ s
+ t
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{bbl.*}
+% Define all the functions for the \LaTeX\ code which returns the words used.
+% \begin{macrocode}
+FUNCTION {bbl.and} { "\bbland{}" }
+FUNCTION {bbl.chap} { "\bblchap{}" }
+FUNCTION {bbl.chapter} { "\bblchapter{}" }
+FUNCTION {bbl.edition} { "\bbledn{}" }
+FUNCTION {bbl.editor} { "\bbled{}" }
+FUNCTION {bbl.editors} { "\bbleds{}" }
+FUNCTION {bbl.eidp} { "\bbleidp{}" }
+FUNCTION {bbl.eidpp} { "\bbleidpp{}" }
+FUNCTION {bbl.erratum} { "\bblerratum{}" }
+FUNCTION {bbl.etal} { "\bbletal{}" }
+FUNCTION {bbl.fifth} { "\bblfiftho{}" }
+FUNCTION {bbl.first} { "\bblfirsto{}" }
+FUNCTION {bbl.fourth} { "\bblfourtho{}" }
+FUNCTION {bbl.in} { "\bblin{}" }
+FUNCTION {bbl.mthesis} { "\bblmthesis{}" }
+FUNCTION {bbl.nd} { "\bblnd{}" }
+FUNCTION {bbl.nr} { "\bblno{}" }
+FUNCTION {bbl.number} { "\bblno{}" }
+FUNCTION {bbl.of} { "\bblof{}" }
+FUNCTION {bbl.page}{ "\bblp{}" }
+FUNCTION {bbl.pages} { "\bblpp{}" }
+FUNCTION {bbl.phdthesis} { "\bblphdthesis{}" }
+FUNCTION {bbl.rd} { "\bblrd{}" }
+FUNCTION {bbl.second} { "\bblsecondo{}" }
+FUNCTION {bbl.st} { "\bblst{}" }
+FUNCTION {bbl.techrep} { "\bbltechrep{}" }
+FUNCTION {bbl.th} { "\bblth{}" }
+FUNCTION {bbl.third} { "\bblthirdo{}" }
+FUNCTION {bbl.volume} { "\bblvol{}" }
+MACRO {jan} {"\bbljan{}"}
+MACRO {feb} {"\bblfeb{}"}
+MACRO {mar} {"\bblmar{}"}
+MACRO {apr} {"\bblapr{}"}
+MACRO {may} {"\bblmay{}"}
+MACRO {jun} {"\bbljun{}"}
+MACRO {jul} {"\bbljul{}"}
+MACRO {aug} {"\bblaug{}"}
+MACRO {sep} {"\bblsep{}"}
+MACRO {oct} {"\bbloct{}"}
+MACRO {nov} {"\bblnov{}"}
+MACRO {dec} {"\bbldec{}"}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{delimiter.*}
+% Define some delimiters used to separate different parts of a citation.
+% \begin{macrocode}
+FUNCTION {delimiter.blank} { " " }
+FUNCTION {delimiter.colon} { ": " }
+FUNCTION {delimiter.comma} { ", " }
+FUNCTION {delimiter.semicolon} { "; " }
+FUNCTION {delimiter.default}
+{
+%<ChemCommun|ChemEurJ|cv> delimiter.comma
+%<JAmChemSoc|InorgChem> delimiter.semicolon
+}
+% \end{macrocode}
+% \end{macro}
+%
+%
+%
+% \subsection{Output related functions}
+%
+% \begin{macro}{output.bibitem}
+% Write \cs{bibitem} and setup new citation.
+% \begin{macrocode}
+FUNCTION {output.bibitem}
+{
+ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{output.internal}
+% \changes{0.1.2}{2006/05/3}{Removed dead code (variable never got specific
+% value)}
+% This function is finally called by all the other output functions. It first
+% pops the delimiter from the stack. If the (now)
+% top string is non-empty the function appends the delimiter to
+% the (top-1) string and writes it. The old top string is pushed back on the
+% stack at the very end thus leaving it untouched.
+% \begin{macrocode}
+FUNCTION {output.internal}
+{
+ 'delimiter :=
+% \end{macrocode}
+% write only if top string is non-empty
+% \begin{macrocode}
+ duplicate$ empty$
+ 'pop$
+ {
+% \end{macrocode}
+% backup top string
+% \begin{macrocode}
+ 's :=
+ output.state mid.sentence =
+ {
+ delimiter *
+ write$
+ }
+ {
+ output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{output.check.internal}
+% The function first pops the delimiter from the stack. If the (now) top string
+% is empty it issues a warning, otherwise it calls |output.internal| for
+% writing.
+% \begin{macrocode}
+FUNCTION {output.check.internal}
+{
+ 'delimiter :=
+ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ { delimiter output.internal }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{output}
+% \begin{macro}{output.blank}
+% \begin{macro}{output.comma}
+% \begin{macro}{output.semicolon}
+% These functions just push the appropriate delimiter on the stack and then
+% call |output.internal|.
+% \begin{macrocode}
+FUNCTION {output} { delimiter.default output.internal }
+FUNCTION {output.blank} { delimiter.blank output.internal }
+FUNCTION {output.comma} { delimiter.comma output.internal }
+FUNCTION {output.semicolon} { delimiter.semicolon output.internal }
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{output.check}
+% \begin{macro}{output.check.blank}
+% \begin{macro}{output.check.comma}
+% \begin{macro}{output.check.semicolon}
+% These functions just push the appropriate delimiter and then call
+% |output.check.internal|.
+% \begin{macrocode}
+FUNCTION {output.check} { delimiter.default output.check.internal }
+FUNCTION {output.check.blank} { delimiter.blank output.check.internal }
+FUNCTION {output.check.comma} { delimiter.comma output.check.internal }
+FUNCTION {output.check.semicolon} { delimiter.semicolon output.check.internal }
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+%
+%
+% \subsection{Operators}
+%
+% \begin{macro}{not}
+% Define a logical |not|.
+% \begin{macrocode}
+FUNCTION {not}
+{
+ { #0 }
+ { #1 }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{and}
+% Define a logical |and|.
+% \begin{macrocode}
+FUNCTION {and}
+{
+ 'skip$
+ { pop$ #0 }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{or}
+% Define a logical |or|.
+% \begin{macrocode}
+FUNCTION {or}
+{
+ { pop$ #1 }
+ 'skip$
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{multiply}
+% Define a function for multiplying two integers.
+% \begin{macrocode}
+FUNCTION {multiply}
+{
+% \end{macrocode}
+% |i| is the multiplicator and will be used as a counter
+% \begin{macrocode}
+ 'i :=
+% \end{macrocode}
+% |j| is the value to multiplicate by i, thus will be added i times
+% to itself
+% \begin{macrocode}
+ 'j :=
+ #0
+ j #0 =
+% \end{macrocode}
+% if |j==0|, nothing has to be done since the product will always be 0;
+% |i==0| will be handled gracefully by while loop below
+% \begin{macrocode}
+ 'skip$
+ {
+% \end{macrocode}
+% now add |j| |i| times to the 0 on the stack
+% \begin{macrocode}
+ { i }
+ {
+ j +
+ i #1 - 'i :=
+ }
+ while$
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+%
+%
+% \subsection{Small helper functions}
+%
+% \begin{macro}{bibinfo.check}
+% This function checks whether the top value is a missing field. If so it
+% replaces the top value by an empty string, otherwise the top value is left
+% unchanged.
+% \begin{macrocode}
+FUNCTION {bibinfo.check}
+{
+ duplicate$ missing$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{bibinfo.warn}
+% This functions first checks whether a field is empty. If so it issues a
+% warning. The topmost value is a description of the current field. If the
+% field is missing, |bibinfo.warn| pushes an empty string, otherwise the value
+% is left unchanged. The behaviour is very similar to |bibinfo.check|.
+% \begin{macrocode}
+FUNCTION {bibinfo.warn}
+{
+ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{bolden}
+% This function returns the \LaTeX\ code for boldening the top string.
+% \begin{macrocode}
+FUNCTION {bolden}
+{
+ duplicate$ empty$
+ { pop$ "" }
+ { "\textbf{" swap$ * "}" * }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{capitalize}
+% This function capitalizes the first letter of a word.
+% \begin{macrocode}
+FUNCTION {capitalize}
+{
+ "\capitalize" swap$ *
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{cat.internal}
+% This function catenates two strings using the delimiter on top of the stack.
+% The second string is at (top-1) position, the first at (top-2). If any of
+% both strings is empty the function just returns the other string without any
+% delimiter.
+% \begin{macrocode}
+FUNCTION {cat.internal}
+{
+ 'delimiter :=
+ duplicate$ empty$
+ 'pop$
+ {
+ swap$
+ duplicate$ empty$
+ 'skip$
+ { delimiter * }
+ if$
+ swap$
+ *
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{cat.blank}
+% \begin{macro}{cat.colon}
+% \begin{macro}{cat.comma}
+% \begin{macro}{cat.default}
+% \begin{macro}{cat.semicolon}
+% These functions just push the appropriate delimiter and call |cat.internal|.
+% \begin{macrocode}
+FUNCTION {cat.blank} { delimiter.blank cat.internal }
+FUNCTION {cat.colon} { delimiter.colon cat.internal }
+FUNCTION {cat.comma} { delimiter.comma cat.internal }
+FUNCTION {cat.default} { delimiter.default cat.internal }
+FUNCTION {cat.semicolon} { delimiter.semicolon cat.internal }
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{eng.ord}
+% This function formats an english ordinal by appending the appropriate string.
+% \begin{macrocode}
+FUNCTION {eng.ord}
+{
+ duplicate$ "1" swap$ *
+ #-2 #1 substring$ "1" =
+ { bbl.th * }
+ { duplicate$ #-1 #1 substring$
+ duplicate$ "1" =
+ { pop$ bbl.st * }
+ { duplicate$ "2" =
+ { pop$ bbl.nd * }
+ { "3" =
+ { bbl.rd * }
+ { bbl.th * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{is.num}
+% This function checks whether the top character is a number.
+% \begin{macrocode}
+FUNCTION {is.num}
+{
+ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{extract.num}
+% This function extracts a number (as string) from the top string.
+% \begin{macrocode}
+FUNCTION {extract.num}
+{
+ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ {
+ t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{convert.edition}
+% This functions converts the |edition| field into the appropriate ordinal.
+% \begin{macrocode}
+FUNCTION {convert.edition}
+{
+ extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bbl.first 't := }
+ { s "second" = s "2" = or
+ { bbl.second 't := }
+ { s "third" = s "3" = or
+ { bbl.third 't := }
+ { s "fourth" = s "4" = or
+ { bbl.fourth 't := }
+ { s "fifth" = s "5" = or
+ { bbl.fifth 't := }
+ { s #1 #1 substring$ is.num
+ { s eng.ord 't := }
+ { edition 't := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ t
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{either.or.check}
+% This function checks whether mutually exclusive fields are present at the
+% same time.
+% \begin{macrocode}
+FUNCTION {either.or.check}
+{
+ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{emphasize}
+% This function returns the \LaTeX\ code for emphasizing the top string.
+% \begin{macrocode}
+FUNCTION {emphasize}
+{
+ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{fin.entry}
+% This function finalizes a citation. It appends a dot and writes the last
+% text chunk.
+% \begin{macrocode}
+FUNCTION {fin.entry}
+{
+ add.period$
+ write$ newline$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.names}
+% \changes{0.2.2}{2007/09/13}{Added fifteennames option}
+% This function formats a list of names.
+% \begin{macrocode}
+FUNCTION {format.names}
+{
+% bibinfo is the description of the names, i.e. author, editor
+ 'bibinfo :=
+ duplicate$ empty$
+ 'skip$
+ {
+% \end{macrocode}
+% |s| is the full list of names
+% \begin{macrocode}
+ 's :=
+% \end{macrocode}
+% |t| is the formatted name
+% \begin{macrocode}
+ "" 't :=
+% \end{macrocode}
+% |nameptr| is the index of the current name\\
+% |numnames| is the total number of names\\
+% |namesleft| is the number of names yet to format
+% \begin{macrocode}
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {
+ s nameptr
+%<ChemCommun|ChemEurJ|cv> "{f.~}{vv~}{ll}{, jj}"
+%<JAmChemSoc|InorgChem> "{vv~}{ll}{, f.}{, jj}"
+ format.name$
+ bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+% \end{macrocode}
+% The following code chunk checks whether the list of names should be
+% abbreviated by et al.
+% \begin{macrocode}
+ numnames #0
+%<tennames> #10 +
+%<fifteennames> #15 +
+ >
+% \end{macrocode}
+% If no appropriate |docstrip| option is given, the next expression will
+% always be false (|nameptr| is always $>1$, see above). Thus the check is
+% effectively disabled.
+% \begin{macrocode}
+ nameptr #0
+%<namesone> #2 +
+ =
+ and
+ {
+% \end{macrocode}
+% list of names should be truncated, set formatted name to ``others''
+% \begin{macrocode}
+ "others" 't :=
+ #1 'namesleft :=
+ }
+ 'skip$
+ if$
+ delimiter.default *
+ namesleft #1 >
+ { t * }
+ {
+% \end{macrocode}
+% check whether current name is ``others'', if so set formatted name
+% to ``others''
+% \begin{macrocode}
+ s nameptr "{ll}" format.name$
+ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+% \end{macrocode}
+% check whether formatted name is ``others'', if so print et al.
+% \begin{macrocode}
+ t "others" =
+ { bbl.etal * }
+ { t * }
+ if$
+ }
+ if$
+ }
+% \end{macrocode}
+% this is the first name
+% \begin{macrocode}
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{get.bbl.editor}
+% Return ``editors'' if |editor| contains more than one name, ``editor''
+% otherwise.
+% \begin{macrocode}
+FUNCTION {get.bbl.editor}
+{
+ editor num.names$ #1 >
+ 'bbl.editors
+ 'bbl.editor
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{get.bbl.erratum}
+% Return the formatted string for ``erratum''.
+% \begin{macrocode}
+FUNCTION {get.bbl.erratum}
+{
+ bbl.erratum
+ ":" *
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{multi.page.check}
+% Check whether the top string is only a single page or a range of pages.
+% \begin{macrocode}
+FUNCTION {multi.page.check}
+{
+ 't :=
+ #0 'multiresult :=
+ {
+ multiresult not
+ t empty$ not and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{get.bbl.page}
+% Return a formatted prefix for pages.
+% \begin{macrocode}
+FUNCTION {get.bbl.page}
+{
+ duplicate$ multi.page.check
+ { bbl.pages }
+ { bbl.page }
+ if$
+%<ChemCommun|ChemEurJ|cv> "." *
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{n.dashify}
+% Replace a single ``|-|'' in a range of pages by ``|--|''.
+% \begin{macrocode}
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ {
+ t #1 #1 substring$ "-" =
+ {
+ t #1 #2 substring$ "--" = not
+ {
+ "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ {
+% \end{macrocode}
+% there is more than one '|-|', therefore append all of them to the string
+% on the stack
+% \begin{macrocode}
+ { t #1 #1 substring$ "-" = }
+ {
+ "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ {
+% \end{macrocode}
+% the current char is not '|-|', therefore just append it
+% \begin{macrocode}
+ t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{select.language}
+% \changes{0.1.3}{2006/07/27}{leave empty string on stack (replace pop\$ by
+% skip\$)}
+% Return \LaTeX\ code for changing the language for the string
+% on top of the stack.
+% \begin{macrocode}
+FUNCTION {select.language}
+{
+ duplicate$ empty$
+ 'skip$
+ {
+ language empty$
+ 'skip$
+ { "\foreignlanguage{" language * "}{" * swap$ * "}" * }
+ if$
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{space.word}
+% This function puts spaces around a word.
+% \begin{macrocode}
+FUNCTION {space.word}
+{
+ " " swap$ * " " *
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{str.to.int.warn}
+% Print a warning if top string is not a representation of a valid integer
+% (used by |str.to.int|).
+% \begin{macrocode}
+FUNCTION {str.to.int.warn}
+{
+ "str.to.int: '" swap$ * "' is not a valid integer" * warning$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{str.to.int}
+% This function converts a string into an integer. A warning is issued if the
+% string is not a valid representation of an integer.
+% \begin{macrocode}
+FUNCTION {str.to.int}
+{
+ duplicate$ empty$
+ {
+ str.to.int.warn
+ #0
+ }
+ {
+% \end{macrocode}
+% assign the original string to |t| for parsing |t| from the end
+% \begin{macrocode}
+ duplicate$ 't :=
+% \end{macrocode}
+% check for sign
+% \begin{macrocode}
+ t #1 #1 substring$ "-" =
+ {
+% \end{macrocode}
+% be sure that ``|-|'' is followed by at least one more character
+% \begin{macrocode}
+ t #2 global.max$ substring$ 't :=
+ t empty$
+ {
+ duplicate$ str.to.int.warn
+ #0
+ }
+ { #-1 }
+ if$
+ }
+ { #1 }
+ if$
+% \end{macrocode}
+% the top stack position contains now $-1$ or $1$ depending on sign\\
+% |o| stores the offset for position inside the number
+% \begin{macrocode}
+ #1 'o :=
+% \end{macrocode}
+% push starting value on stack
+% \begin{macrocode}
+ #0
+ { t empty$ not}
+ {
+% \end{macrocode}
+% get last character
+% \begin{macrocode}
+ t #-1 #1 substring$
+ duplicate$ is.num
+ {
+% \end{macrocode}
+% character is in range [0--9], now multiply by offset and add to value already
+% on stack
+% \begin{macrocode}
+ chr.to.int$ #48 -
+ o multiply
+ +
+% \end{macrocode}
+% remove last character from string, increment offset |o|
+% \begin{macrocode}
+ t #-2 global.max$ substring$ 't :=
+ o #10 multiply 'o :=
+ }
+ {
+% \end{macrocode}
+% the last character was not a digit, therefore
+% pop last character and sum
+% \begin{macrocode}
+ pop$ pop$
+% \end{macrocode}
+% swap sign and original string, duplicate string, print warning
+% \begin{macrocode}
+ swap$ duplicate$ str.to.int.warn
+% \end{macrocode}
+% swap original string and sign, push 0
+% \begin{macrocode}
+ swap$ #0
+% \end{macrocode}
+% break |while| loop
+% \begin{macrocode}
+ "" 't :=
+ }
+ if$
+ }
+ while$
+% \end{macrocode}
+% stack holds value and sign, multiply combines them
+% \begin{macrocode}
+ multiply
+% \end{macrocode}
+% pop copy of original string
+% \begin{macrocode}
+ swap$ pop$
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{tie.or.space.prefix}
+% This function prepends a string with either a space or a ``|~|'' depending on
+% the length of the string.
+% \begin{macrocode}
+FUNCTION {tie.or.space.prefix}
+{
+ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{word.in}
+% This function returns the word ``in'' followed by a space.
+% \begin{macrocode}
+FUNCTION {word.in}
+{
+ bbl.in delimiter.blank *
+}
+% \end{macrocode}
+% \end{macro}
+%
+%
+%
+% \subsection{Field formatting functions}
+%
+% \begin{macro}{format.year.internal}
+% This function applies all necessary formatting for a year on the stack.
+% \begin{macrocode}
+FUNCTION {format.year.internal}
+{
+%<ChemEurJ|cv> bolden
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.volume.internal}
+% This function applies all necessary formating for a volume on the stack.
+% \begin{macrocode}
+FUNCTION {format.volume.internal}
+{
+ duplicate$ empty$
+ 'skip$
+ {
+ bbl.volume
+ swap$
+ tie.or.space.prefix
+% \end{macrocode}
+% stack (top-down): volume, tie/space, bbl.volume
+% \begin{macrocode}
+ * *
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.authors}
+% This function formats the list of authors. If a |collaboration| field is
+% present its contents is printed and the list of authors is appended in
+% parentheses.
+% \begin{macrocode}
+FUNCTION {format.authors}
+{
+ author "author" format.names
+ duplicate$ empty$
+ 'skip$
+ {
+ collaboration bibinfo.check
+ duplicate$ empty$
+ 'skip$
+ { " (" * swap$ * ")" * }
+ if$
+ *
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.booktitle}
+% This function formats the title of a book and switches to an optional foreign
+% language for this title.
+% \begin{macrocode}
+FUNCTION {format.booktitle}
+{
+ booktitle bibinfo.check
+ emphasize
+ select.language
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.chapter}
+% \changes{0.1.1}{2006/02/28}{added capitalize to bbl.chapter for JACS}
+% This function formats a chapter. If a |type| field is present its contents is
+% used as a prefix. If it is absent then the default (return value
+% of |bbl.chapter|) will be % used.
+% \begin{macrocode}
+FUNCTION {format.chapter}
+{
+ chapter bibinfo.check
+ duplicate$ empty$
+ 'skip$
+ {
+ type bibinfo.check
+ duplicate$ empty$
+ { pop$ bbl.chapter }
+ { "l" change.case$ }
+ if$
+%<JAmChemSoc|InorgChem> capitalize
+ swap$
+% \end{macrocode}
+% stack (top-down): chapter, type/bbl.chapter
+% \begin{macrocode}
+ tie.or.space.prefix
+ * *
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.date}
+% This function formats the date of a citation. All currently supported styles
+% only use the year. It is pushed onto the stack and |format.year.internal| is
+% called to format it.
+% \begin{macrocode}
+FUNCTION {format.date}
+{
+ year bibinfo.check
+ format.year.internal
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.edition}
+% This function formats the edition. It is converted into the appropriate
+% english ordinal and the return value of |bbl.edition| will be appended.
+% \begin{macrocode}
+FUNCTION {format.edition}
+{
+ edition bibinfo.check
+ duplicate$ empty$
+ 'skip$
+ {
+ convert.edition
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ " " * bbl.edition *
+%<ChemCommun|ChemEurJ|cv> emphasize
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.editors}
+% \changes{0.2.3}{2008/01/17}{ACS does not print 'Eds.' if there are no
+% authors.}
+% This function formats the list of editors.
+% \begin{macrocode}
+FUNCTION {format.editors}
+{
+ editor "editor" format.names
+ duplicate$ empty$
+ 'skip$
+ {
+%<JAmChemSoc|InorgChem> author empty$
+%<JAmChemSoc|InorgChem> 'skip$
+%<JAmChemSoc|InorgChem> {
+%<JAmChemSoc|InorgChem> "," *
+ " " *
+ get.bbl.editor
+ capitalize
+%<ChemCommun|ChemEurJ|cv> "(" swap$ * ")" *
+ *
+%<JAmChemSoc|InorgChem> }
+%<JAmChemSoc|InorgChem> if$
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.in.booktitle}
+% This function formats a booktitle an prepends it with ``in''.
+% \begin{macrocode}
+FUNCTION {format.in.booktitle}
+{
+ format.booktitle
+ duplicate$ empty$
+ 'skip$
+ {
+ word.in
+%<JAmChemSoc|InorgChem> capitalize
+ swap$ *
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.note}
+% This function formats the |note| field of a citation. Since this is a free
+% format field is content is used unchanged.
+% \begin{macrocode}
+FUNCTION {format.note}
+{
+ note bibinfo.check
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.number.series}
+% This function formats number and series if the |volume| field is empty.
+% \begin{macrocode}
+FUNCTION {format.number.series}
+{
+ volume bibinfo.check
+ duplicate$ empty$
+ {
+ number empty$
+ { series bibinfo.check }
+ {
+ series empty$
+ { number bibinfo.check }
+ {
+ output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number bibinfo.check tie.or.space.prefix * *
+ word.in *
+ series bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ 'skip$
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.org.or.pub}
+% This function formats an organization or publisher (on the stack) and its
+% address.
+% \begin{macrocode}
+FUNCTION {format.org.or.pub}
+{
+ 't :=
+ address empty$ t empty$ and
+ { "" }
+ {
+ t
+ address bibinfo.check
+ duplicate$ empty$
+ 'pop$
+ {
+%<ChemCommun|ChemEurJ|cv> cat.comma
+%<JAmChemSoc|InorgChem> cat.colon
+ }
+ if$
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.organization.address}
+% This function formats an organization and its address. It pushes
+% the organization onto the stack and calls |format.org.or.pub|.
+% \begin{macrocode}
+FUNCTION {format.organization.address}
+{
+ organization bibinfo.check
+ format.org.or.pub
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.pages}
+% This function formats a list of pages. The list is prepended with
+% |bbl.page(s)|.
+% \begin{macrocode}
+FUNCTION {format.pages}
+{
+ pages bibinfo.check
+ duplicate$ empty$
+ 'skip$
+ {
+ n.dashify
+ get.bbl.page
+% \end{macrocode}
+% stack top-down: pages prefix, pages
+% \begin{macrocode}
+ swap$
+ tie.or.space.prefix *
+ *
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.publisher.address}
+% This function formats a publisher and its address. It pushes
+% the publisher onto the stack and calls |format.org.or.pub|.
+% \begin{macrocode}
+FUNCTION {format.publisher.address}
+{
+ publisher "publisher" bibinfo.warn
+ format.org.or.pub
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.thesis.type}
+% This function formats the type of a thesis.
+% \begin{macrocode}
+FUNCTION {format.thesis.type}
+{
+ type
+ duplicate$ empty$
+ 'pop$
+ {
+ swap$ pop$
+ "t" change.case$ bibinfo.check
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.title}
+% This function formats a title. It also switches the language temporarily.
+% \begin{macrocode}
+FUNCTION {format.title}
+{
+ title bibinfo.check
+ duplicate$ empty$
+ 'skip$
+ {
+ emphasize
+ select.language
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.tr.number}
+% This function formats the number of a technical report.
+% \begin{macrocode}
+FUNCTION {format.tr.number}
+{
+ number bibinfo.check
+ type
+ duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ bibinfo.check
+ swap$
+ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.url}
+% \changes{0.2.3}{2008/01/17}{Put URL into a new sentence.}
+% This function formats an url. Each url is prefixed with \cs{urlprefix}. See
+% section \ref{o::customization} for more information.
+% \begin{macrocode}
+FUNCTION {format.url}
+{
+ url bibinfo.check
+ duplicate$ empty$
+ 'skip$
+ {
+ "\urlprefix\url{" swap$ * "}" *
+ new.sentence 'output.state :=
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.volume}
+% This function formats the |volume| field. It merely pushes the field's value
+% onto the stack and calls |format.volume.internal| to format it.
+% \begin{macrocode}
+FUNCTION {format.volume}
+{
+ volume bibinfo.check
+ format.volume.internal
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.volume.and.series}
+% This function will format the |volume| and |series|, but only if \emph{both}
+% of them are not empty. Otherwise and empty string is returned.
+% \begin{macrocode}
+FUNCTION {format.volume.and.series}
+{
+ volume empty$ series empty$ or
+ { "" }
+ {
+ volume format.volume.internal
+% \end{macrocode}
+% prepend "of"
+% \begin{macrocode}
+ swap$ bbl.of space.word * swap$
+ emphasize
+ *
+ "volume and number" number either.or.check
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.volume.noseries}
+% This function formats the volume. If the |series| field is non-empty an empty
+% string is returned.
+% \begin{macrocode}
+FUNCTION {format.volume.noseries}
+{
+ series empty$
+ {
+ volume bibinfo.check
+ format.volume.internal
+%<ChemCommun|ChemEurJ|cv> emphasize
+ }
+ { "" }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+%
+%
+% \subsection{Functions related to cross-referenced entries}
+%
+% \begin{macro}{bibliography.cite}
+% This function returns the string for citing the document the |crossref|
+% field points to.
+% \begin{macrocode}
+FUNCTION {bibliography.cite}
+{
+ "\bibliographycite{" swap$ * "}" *
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.crossref}
+% This function formats the cross-reference.
+% \begin{macrocode}
+FUNCTION {format.crossref}
+{
+ bbl.in " " *
+%<JAmChemSoc|InorgChem> capitalize
+ crossref bibliography.cite *
+}
+% \end{macrocode}
+% \end{macro}
+%
+%
+%
+% \subsection{@article related funtions}
+%
+% \begin{macro}{format.article.cat.journal.year}
+% \changes{0.2.0}{2006/07/27}{NEW}
+% This function catenates the journal name and the year. It is used when
+% formatting an erratum and/or articles in \emph{Angew.~Chem.}
+% \begin{macrocode}
+FUNCTION {format.article.cat.journal.year}
+{
+%<ChemCommun> cat.comma
+%<ChemEurJ|cv|JAmChemSoc|InorgChem> cat.blank
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.article.year.internal}
+% This function provides all formatting required for an article which is not
+% already done in |format.date.internal|.
+% \begin{macrocode}
+FUNCTION {format.article.year.internal}
+{
+%<JAmChemSoc|InorgChem> bolden
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.article.volume.internal}
+% This function applies all necessary formatting to the volume an article is
+% published in.
+% \begin{macrocode}
+FUNCTION {format.article.volume.internal}
+{
+%<ChemCommun> bolden
+%<ChemEurJ|cv|JAmChemSoc|InorgChem> emphasize
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.article.germanpages.volume.internal}
+% This function is used while formatting citations of \emph{Angew.\ Chem.\
+% Int.\ Ed.} It calculates the volume of the german edition from the volume of
+% the english one (on the stack).
+% \begin{macrocode}
+FUNCTION {format.article.germanpages.volume.internal}
+{
+ duplicate$ empty$
+ 'skip$
+ {
+ str.to.int
+ duplicate$ #1 <
+ {
+ pop$
+ "volume in " cite$ * " is not a positive integer value" * warning$
+ ""
+ }
+ {
+% \end{macrocode}
+% vol.~1 of the english edition corresponds to vol.~74 of the german one
+% \begin{macrocode}
+ #73 +
+ int.to.str$
+ format.article.volume.internal
+ }
+ if$
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.article.germanpages.pages.internal}
+% This function applies all necessary formatting to pages of \emph{Angew.\
+% Chem.}, the german edition of \emph{Angew.\ Chem.\ Engl.\ Ed.}
+% \begin{macrocode}
+FUNCTION {format.article.germanpages.pages.internal}
+{
+ n.dashify
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.article.date}
+% This function formats the date of an article.
+% \begin{macrocode}
+FUNCTION {format.article.date}
+{
+ format.date
+ format.article.year.internal
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.article.numpages}
+% This function formats the number of pages of an article. The number of pages
+% (|numpages| field) is only used in conjunction with an EID. The number of
+% pages is assumed to be already on the stack.
+% \begin{macrocode}
+FUNCTION {format.article.numpages}
+{
+ duplicate$ empty$
+ 'skip$
+ {
+ duplicate$ "1" =
+ { "~" * bbl.eidp * }
+ { "~" * bbl.eidpp * }
+ if$
+ "(" swap$ * ")" *
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.article.eid}
+% \changes{0.2.4}{2008/03/18}{Include number of pages only for style 'cv'}
+% This function formats the EID of an article.
+% \begin{macrocode}
+FUNCTION {format.article.eid}
+{
+ eid bibinfo.check
+ duplicate$ empty$
+ 'pop$
+ {
+ cat.comma
+%<cv> numpages bibinfo.check
+%<cv> format.article.numpages
+%<cv> cat.blank
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.article.journal}
+% This function formats the journal an article was published in.
+% \begin{macrocode}
+FUNCTION {format.article.journal}
+{
+ journal bibinfo.check
+ duplicate$ empty$
+ 'skip$
+ { emphasize }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.article.germanpages.journalname}
+% This function formats \emph{Angew.\ Chem.} as the name of the german version
+% of \emph{Angew.\ Chem.\ Int.\ Ed.}
+% \begin{macrocode}
+FUNCTION {format.article.germanpages.journalname}
+{
+ "Angew.\ Chem."
+ emphasize
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.article.erratum.germanpages.pages}
+% This function is used for an erratum in \emph{Angew.\ Chem.\ Int.\ Ed.} It
+% formats the pages of the german version.
+% \begin{macrocode}
+FUNCTION {format.article.erratum.germanpages.pages}
+{
+ erratumgermanpages bibinfo.check
+ format.article.germanpages.pages.internal
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.article.erratum.year}
+% This function formats the year an erratum was published.
+% \begin{macrocode}
+FUNCTION {format.article.erratum.year}
+{
+ erratumyear bibinfo.check
+ format.year.internal
+ format.article.year.internal
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.article.erratum.germanpages.volume}
+% This function is used for an erratum in \emph{Angew.\ Chem.\ Int.\ Ed.} It
+% formats the erratum's volume in the german version.
+% \begin{macrocode}
+FUNCTION {format.article.erratum.germanpages.volume}
+{
+ erratumvolume "erratumvolume" bibinfo.warn
+ format.article.germanpages.volume.internal
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.article.erratum.germanpages}
+% \changes{0.2.0}{2006/07/27}{Use format.article.cat.journal.year}
+% This function formats the german version of an erratum published in
+% \emph{Angew.\ Chem.\ Int.\ Ed.}
+% \begin{macrocode}
+FUNCTION {format.article.erratum.germanpages}
+{
+ erratumgermanpages empty$
+ { "" }
+ {
+ format.article.germanpages.journalname
+ format.article.erratum.year format.article.cat.journal.year
+ format.article.erratum.germanpages.volume cat.comma
+ format.article.erratum.germanpages.pages cat.comma
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.article.erratum.journal}
+% This function formats the journal of an erratum. Normally this is the same
+% journal the original article was published in.
+% \begin{macrocode}
+FUNCTION {format.article.erratum.journal} { format.article.journal }
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.article.erratum.pages}
+% This function formats the pages of an erratum.
+% \begin{macrocode}
+FUNCTION {format.article.erratum.pages}
+{
+ erratumpages bibinfo.check
+ n.dashify
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.article.erratum.eid}
+% This function formats the EID of an erratum.
+% \begin{macrocode}
+FUNCTION {format.article.erratum.eid}
+{
+ erratumeid bibinfo.check
+ erratumnumpages bibinfo.check format.article.numpages *
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.article.erratum.volume}
+% This function formats the volume of an erratum.
+% \begin{macrocode}
+FUNCTION {format.article.erratum.volume}
+{
+ erratumvolume bibinfo.check
+ format.article.volume.internal
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.article.erratum}
+% \changes{0.2.0}{2006/07/27}{Use format.article.cat.journal.year}
+% This function formats an erratum of an article.
+% The erratum will be formatted if one of |erratumyear|, |erratumvolume|,
+% |erratumpages| or |erratumeid| is present.
+% \begin{macrocode}
+FUNCTION {format.article.erratum}
+{
+ erratumyear bibinfo.check empty$
+ erratumvolume bibinfo.check empty$ and
+ erratumpages bibinfo.check empty$ and
+ erratumeid bibinfo.check empty$ and
+ { "" }
+ {
+% \end{macrocode}
+% An erratum was detected.
+% Since at least one field is present, ``erratum:'' can already be printed.
+% \begin{macrocode}
+ get.bbl.erratum
+ format.article.erratum.journal cat.blank
+ format.article.erratum.year format.article.cat.journal.year
+ format.article.erratum.volume cat.comma
+ erratumeid empty$
+ { format.article.erratum.pages }
+ { format.article.erratum.eid }
+ if$
+ cat.comma
+ format.article.erratum.germanpages cat.semicolon
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.article.germanpages.pages}
+% This function formats the pages of the german version of an article in
+% \emph{Angew.\ Chem.\ Int.\ Ed.}
+% \begin{macrocode}
+FUNCTION {format.article.germanpages.pages}
+{
+ germanpages bibinfo.check
+ format.article.germanpages.pages.internal
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.article.germanpages.volume}
+% This function formats the volume of the german version of an article in
+% \emph{Angew.\ Chem.\ Int.\ Ed.} It pushes the volume of the english version
+% onto the stack and calls |format.article.germanpages.volume.internal| which
+% automatically calculates and formats the german volume.
+% \begin{macrocode}
+FUNCTION {format.article.germanpages.volume}
+{
+ volume "volume" bibinfo.warn
+ format.article.germanpages.volume.internal
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.article.germanpages.year}
+% This function formats the year of the german version of an article in
+% \emph{Angew.\ Chem.\ Int.\ Ed.} This is always the same as the english
+% version.
+% \begin{macrocode}
+FUNCTION {format.article.germanpages.year} { format.article.date }
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.article.germanpages}
+% \changes{0.2.0}{2006/07/27}{Use format.article.cat.journal.year}
+% This function formats the german version of an article in \emph{Angew.\
+% Chem.\ Int.\ Ed.}
+% \begin{macrocode}
+FUNCTION {format.article.germanpages}
+{
+ germanpages empty$
+ { "" }
+ {
+ format.article.germanpages.journalname
+ format.article.germanpages.year format.article.cat.journal.year
+ format.article.germanpages.volume cat.comma
+ format.article.germanpages.pages cat.comma
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.article.pages}
+% This function formats the pages of an article.
+% \begin{macrocode}
+FUNCTION {format.article.pages}
+{
+% \end{macrocode}
+% The stack contains whatever is the text directly preceding pages.
+% \begin{macrocode}
+ pages
+ duplicate$ empty$
+ 'pop$
+ {
+% \end{macrocode}
+% Check whether preceding string is empty.
+% \begin{macrocode}
+ swap$
+ duplicate$ empty$
+% \end{macrocode}
+% If the preceding string is empty, pop it and the pages from stack and call
+% |format.pages|. This means that |pages| is the only text so far (except
+% bibitem).
+% \begin{macrocode}
+ { pop$ pop$ format.pages }
+% \end{macrocode}
+% The preceding string is not empty. Therefore format the pages and append
+% them.
+% \begin{macrocode}
+ {
+ swap$
+ n.dashify
+ cat.comma
+ }
+ if$
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.article.title}
+% \changes{0.1.2}{2006/05/3}{NEW}
+% This function formats the title of an article.
+% \begin{macrocode}
+FUNCTION {format.article.title}
+{
+ title bibinfo.check
+ duplicate$ empty$
+ 'skip$
+ {
+ new.sentence 'output.state :=
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.article.volume.and.number}
+% This function formats the volume an article was published in. Optionally it
+% appends the issue to the volume.
+% \begin{macrocode}
+FUNCTION {format.article.volume.and.number}
+{
+ volume bibinfo.check
+ duplicate$ empty$
+ 'skip$
+ { bibinfo.check }
+ if$
+ format.article.volume.internal
+%<*number>
+ number bibinfo.check
+ duplicate$ empty$
+ 'skip$
+ {
+ swap$
+ duplicate$ empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ swap$
+ "(" swap$ * ")" *
+ }
+ if$
+ *
+%</number>
+}
+% \end{macrocode}
+% \end{macro}
+%
+%
+%
+% \subsection{@book related functions}
+%
+% \begin{macro}{format.book.authors}
+% This function formats the authors of a book. If no authors were given, the
+% editors are used instead.
+% \begin{macrocode}
+FUNCTION {format.book.authors}
+{
+ author empty$
+ { format.editors }
+ {
+ format.authors
+ "author and editor" editor either.or.check
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.book.editors}
+% This function formats the editors of a book. If the book has no authors then
+% the editors were already given as a substitute for the authors. In this case,
+% nothing is printed, since the editors should not be given twice.
+% \begin{macrocode}
+FUNCTION {format.book.editors}
+{
+ author empty$
+ { "" }
+ { format.editors }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.book.volume.internal}
+% This function formats the volume of a book.
+% \begin{macrocode}
+FUNCTION {format.book.volume.internal}
+{
+ volume bibinfo.check
+ duplicate$ empty$
+ 'skip$
+ {
+ tie.or.space.prefix *
+ bbl.volume swap$ *
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.book.volume.and.series}
+% This function formats the volume of a book and the series it is part of. For
+% this function to produce any non-empty output both |volume| and |series| must
+% be non-empty. To format the volume without a series the
+% |format.book.volume.noseries| function is used (see below).
+% \begin{macrocode}
+FUNCTION {format.book.volume.and.series}
+{
+ series bibinfo.check
+ duplicate$ empty$
+ 'skip$
+ {
+%<ChemCommun|ChemEurJ|cv> emphasize
+% \end{macrocode}
+% Now the formatted series is on the stack.
+% \begin{macrocode}
+ format.book.volume.internal
+%<ChemCommun|ChemEurJ|cv> bbl.of space.word *
+% \end{macrocode}
+% stack top-down: formatted volume; formatted series
+% \begin{macrocode}
+%<ChemCommun|ChemEurJ|cv> swap$ *
+%<JAmChemSoc|InorgChem> cat.comma
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.book.volume.noseries}
+% This function formats the volume of a book if the |series| field is empty.
+% \begin{macrocode}
+FUNCTION {format.book.volume.noseries}
+{
+ series empty$ not
+ { "" }
+ {
+ format.book.volume.internal
+%<ChemCommun|ChemEurJ|cv> emphasize
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+%
+%
+% \subsection{@misc related functions}
+%
+% \begin{macro}{misc.empty.check}
+% This function checks whether fields of an |@misc| entry are empty and issues
+% a warning.
+% \begin{macrocode}
+FUNCTION {misc.empty.check}
+{
+ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$ url empty$
+ and and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+%
+%
+% \subsection{@program related functions}
+%
+% \begin{macro}{format.program.description}
+% This function formats the description of a program. It also temporarily
+% switches the language.
+% \begin{macrocode}
+FUNCTION {format.program.description}
+{
+ description bibinfo.check
+ duplicate$ empty$
+ 'skip$
+ { select.language }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.program.publisher.address}
+% This function formats the publisher of a program and its address.
+% \begin{macrocode}
+FUNCTION {format.program.publisher.address}
+{
+ publisher bibinfo.check
+ format.org.or.pub
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.program.title}
+% This function formats the title of a program.
+% \begin{macrocode}
+FUNCTION {format.program.title}
+{
+ title "title" bibinfo.warn
+ duplicate$ empty$
+ 'skip$
+ {
+ "t" change.case$
+ " " swap$ *
+ capitalize
+ emphasize
+ }
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{format.program.version}
+% This function formats the version of a program.
+% \begin{macrocode}
+FUNCTION {format.program.version}
+{
+ version
+}
+% \end{macrocode}
+% \end{macro}
+%
+%
+% \subsection{Entry types}
+%
+% \begin{macro}{article}
+% \mbox{}
+% \begin{macrocode}
+FUNCTION {article}
+{
+ output.bibitem
+ format.authors "author"
+%<ChemCommun|ChemEurJ|cv> output.check
+%<JAmChemSoc|InorgChem> output.check.blank
+%<cv> format.article.title "title" output.check
+%<cv> new.sentence 'output.state :=
+ format.article.journal "journal"
+%<ChemCommun|ChemEurJ|cv> output.check
+%<JAmChemSoc|InorgChem> output.check.blank
+ format.article.date "year"
+% \end{macrocode}
+% If you change the way journal name and publication year are catenated, do not
+% forget to change |format.article.cat.journal.year|.
+% \begin{macrocode}
+%<ChemCommun> output.check
+%<ChemEurJ|cv|JAmChemSoc|InorgChem> output.check.blank
+ format.article.volume.and.number output.comma
+ eid empty$
+ { format.article.pages }
+ { format.article.eid }
+ if$
+ format.article.germanpages output.semicolon
+ format.article.erratum output.semicolon
+ format.note output
+ fin.entry
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{book}
+% \mbox{}
+% \begin{macrocode}
+FUNCTION {book}
+{
+ output.bibitem
+ format.book.authors "author and editor" output.check
+ format.title "title"
+%<ChemCommun|ChemEurJ|cv> output.check.comma
+%<JAmChemSoc|InorgChem> output.check.blank
+ format.edition
+%<ChemCommun|ChemEurJ|cv> output.blank
+%<JAmChemSoc|InorgChem> output.comma
+%<JAmChemSoc|InorgChem> format.book.editors output.semicolon
+ format.book.volume.and.series output
+%<ChemCommun|ChemEurJ|cv> format.book.volume.noseries output
+%<ChemCommun|ChemEurJ|cv> format.book.editors output.comma
+ format.publisher.address output
+ format.date "year" output.check.comma
+%<JAmChemSoc|InorgChem> format.volume.noseries output.semicolon
+ format.note output
+ fin.entry
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{booklet}
+% \mbox{}
+% \begin{macrocode}
+FUNCTION {booklet}
+{
+ output.bibitem
+ format.authors output
+ format.title "title" output.check
+ howpublished bibinfo.check output
+ address bibinfo.check output
+ format.date output
+ format.note output
+ fin.entry
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{inbook}
+% \mbox{}
+% \begin{macrocode}
+FUNCTION {inbook}
+{
+ output.bibitem
+ format.book.authors "author and editor" output.check
+ crossref missing$
+ {
+ format.title "title"
+%<ChemCommun|ChemEurJ|cv> output.check.comma
+%<JAmChemSoc|InorgChem> output.check.blank
+ format.edition
+%<ChemCommun|ChemEurJ|cv> output.blank
+%<JAmChemSoc|InorgChem> output.comma
+%<JAmChemSoc|InorgChem> format.book.editors output.semicolon
+ format.book.volume.and.series output
+%<ChemCommun|ChemEurJ|cv> format.book.volume.noseries output
+%<ChemCommun|ChemEurJ|cv> format.book.editors output.comma
+ format.publisher.address output
+ format.date "year" output.check.comma
+% \end{macrocode}
+% The \emph{J.~Am.\ Chem.\ Soc.} requires ``; volume, chapter, pages''.
+% To handle empty entries gracefully we cat them together and write the entire
+% string afterwards.
+% \begin{macrocode}
+%<JAmChemSoc|InorgChem> format.volume.noseries
+%<ChemCommun|ChemEurJ|cv> ""
+ }
+ {
+ format.crossref output.blank
+% \end{macrocode}
+% Push an empty string since there will not be a volume.
+% \begin{macrocode}
+ ""
+ }
+ if$
+ format.chapter cat.comma
+ format.pages cat.comma
+ output
+ format.note output
+ fin.entry
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{incollection}
+% \changes{0.2.1}{2007/02/28}{Added title for style cv}
+% \mbox{}
+% \begin{macrocode}
+FUNCTION {incollection}
+{
+ output.bibitem
+ format.authors "author" output.check
+%<cv> format.title "title" output.check
+ crossref missing$
+ {
+ format.in.booktitle "booktitle" output.check.blank
+ format.edition
+%<ChemCommun|ChemEurJ|cv> output.blank
+%<JAmChemSoc|InorgChem> output.comma
+%<JAmChemSoc|InorgChem> format.book.editors output.semicolon
+ format.book.volume.and.series output
+%<ChemCommun|ChemEurJ|cv> format.book.volume.noseries output
+%<ChemCommun|ChemEurJ|cv> format.book.editors output.comma
+ format.publisher.address output
+ format.date "year" output.check.comma
+% \end{macrocode}
+% The \emph{J.~Am.\ Chem.\ Soc.} requires ``; volume, chapter, pages''.
+% To handle empty entries gracefully we cat them together and write the entire
+% string afterwards.
+% \begin{macrocode}
+%<JAmChemSoc|InorgChem> format.volume.noseries
+%<ChemCommun|ChemEurJ|cv> ""
+ }
+ {
+ format.crossref output.blank
+% \end{macrocode}
+% Push an empty string since there will not be a volume.
+% \begin{macrocode}
+ ""
+ }
+ if$
+ format.chapter cat.comma
+ format.pages cat.comma
+ output
+ format.note output
+ fin.entry
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{inproceedings}
+% \changes{0.2.1}{2007/02/27}{Added title for style cv}
+% \changes{0.2.1}{2007/02/28}{Fixed formating of volume and series}
+% \mbox{}
+% \begin{macrocode}
+FUNCTION {inproceedings}
+{
+ output.bibitem
+ format.authors "author" output.check
+%<cv> format.title "title" output.check
+ crossref missing$
+ {
+ format.in.booktitle "booktitle" output.check.blank
+ publisher empty$
+ { format.organization.address output }
+ {
+ organization bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.book.volume.and.series output
+ }
+ { format.crossref output.blank }
+ if$
+ format.pages "pages" output.check
+ format.note output
+ format.url output
+ fin.entry
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{manual}
+% \mbox{}
+% \begin{macrocode}
+FUNCTION {manual}
+{
+ output.bibitem
+ author empty$
+ {
+ organization bibinfo.check
+ duplicate$ empty$
+ 'pop$
+ {
+ output
+ address bibinfo.check output
+ }
+ if$
+ }
+ { format.authors output }
+ if$
+ format.title "title" output.check
+ author empty$
+ {
+ organization empty$
+ { address bibinfo.check output }
+ 'skip$
+ if$
+ }
+ {
+ organization bibinfo.check output
+ address bibinfo.check output
+ }
+ if$
+ format.edition output
+ format.date output
+ format.note output
+ format.url output
+ fin.entry
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{mastersthesis}
+% \mbox{}
+% \begin{macrocode}
+FUNCTION {mastersthesis}
+{
+ output.bibitem
+ format.authors "author" output.check
+ bbl.mthesis format.thesis.type output
+ school "school" bibinfo.warn output
+ address bibinfo.check output
+ format.date "year" output.check
+ format.note output
+ format.url output
+ fin.entry
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{misc}
+% \mbox{}
+% \begin{macrocode}
+FUNCTION {misc}
+{
+ output.bibitem
+ format.authors output
+ format.title output
+ howpublished bibinfo.check output
+ format.date output
+ format.note output
+ format.url output
+ fin.entry
+ misc.empty.check
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{phdthesis}
+% \changes{0.2.1}{2007/02/27}{Added title for style cv}
+% \mbox{}
+% \begin{macrocode}
+FUNCTION {phdthesis}
+{
+ output.bibitem
+ format.authors "author" output.check
+%<cv> format.title "title" output.check
+ bbl.phdthesis format.thesis.type output
+ school "school" bibinfo.warn output
+ address bibinfo.check output
+ format.date "year" output.check
+ format.note output
+ format.url output
+ fin.entry
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{proceedings}
+% \mbox{}
+% \begin{macrocode}
+FUNCTION {proceedings}
+{
+ output.bibitem
+ editor empty$
+ { organization bibinfo.check output }
+ { format.editors output }
+ if$
+ format.title "title" output.check
+ format.volume output
+ format.number.series output
+ editor empty$
+ {
+ publisher empty$
+ 'skip$
+ { format.publisher.address output }
+ if$
+ }
+ {
+ publisher empty$
+ { format.organization.address output }
+ {
+ organization bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ }
+ if$
+%<ChemCommun|ChemEurJ|cv> format.date "year" output.check
+ format.note output
+ format.url output
+ fin.entry
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{program}
+% \changes{0.2.3}{2008/01/17}{ACS does not like a delimiter after last author
+% name}
+% \mbox{}
+% \begin{macrocode}
+FUNCTION {program}
+{
+ output.bibitem
+ format.authors output
+ format.program.title "title"
+%<ChemCommun|ChemEurJ|cv> output.check
+%<JAmChemSoc|InorgChem> output.check.blank
+ format.program.description output.comma
+ format.program.version output
+%<ChemCommun|ChemEurJ|cv> format.date output
+ format.program.publisher.address output
+%<JAmChemSoc|InorgChem> format.date output.comma
+ format.note output
+ format.url output
+ fin.entry
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{techreport}
+% \mbox{}
+% \begin{macrocode}
+FUNCTION {techreport}
+{
+ output.bibitem
+ format.authors "author" output.check
+ format.title
+ "title" output.check
+ format.tr.number output
+ institution "institution" bibinfo.warn output
+ address bibinfo.check output
+ format.date "year" output.check
+ format.note output
+ format.url output
+ fin.entry
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{unpublished}
+% \mbox{}
+% \begin{macrocode}
+FUNCTION {unpublished}
+{
+ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output
+ format.date output
+ format.note "note" output.check
+ format.url output
+ fin.entry
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{conference}
+% |conference| is an alias for |inproceedings|.
+% \begin{macrocode}
+FUNCTION {conference} { inproceedings }
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{default.type}
+% The default type is |misc|.
+% \begin{macrocode}
+FUNCTION {default.type} { misc }
+% \end{macrocode}
+% \end{macro}
+%
+%
+%
+% \subsection{Main program}
+%
+% \begin{macro}{begin.bib}
+% This function starts the bibliography by opening the |thebibliography|
+% environment.
+% \begin{macrocode}
+FUNCTION {begin.bib}
+{
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{end.bib}
+% This function ends the bibliography by closing the |thebibliography|
+% environment.
+% \begin{macrocode}
+FUNCTION {end.bib}
+{
+ newline$
+ "\end{thebibliography}" write$ newline$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{initialize.longest.label}
+% This function sets up the variables for the longest label.
+% \begin{macrocode}
+FUNCTION {initialize.longest.label}
+{
+ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{init.consts}
+% \changes{0.1.2}{2006/05/03}{Added new.sentence initialization}
+% This function sets up some constant used while formatting the bibliography.
+% \begin{macrocode}
+FUNCTION {init.consts}
+{
+ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'new.sentence :=
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{longest.label.pass}
+% This function is used to determine the length of the longest label.
+% It checks whether the current label is longer than the current longest label.
+% If so, it updates |longest.label.width|.
+% \begin{macrocode}
+FUNCTION {longest.label.pass}
+{
+ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ {
+ label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{write.babel.misc}
+% This function writes the default definitions of some commands used in
+% formatting a citation.
+% \begin{macrocode}
+FUNCTION {write.babel.misc}
+{
+ "\providecommand{\bbland}{and}" write$ newline$
+ "\providecommand{\bblchap}{chap.}" write$ newline$
+ "\providecommand{\bblchapter}{chapter}" write$ newline$
+ "\providecommand{\bbletal}{et~al.}" write$ newline$
+ "\providecommand{\bbleditors}{editors}" write$ newline$
+ "\providecommand{\bbleds}{eds.}" write$ newline$
+ "\providecommand{\bbleditor}{editor}" write$ newline$
+ "\providecommand{\bbled}{ed.}" write$ newline$
+ "\providecommand{\bbledition}{edition}" write$ newline$
+ "\providecommand{\bbledn}{ed.}" write$ newline$
+ "\providecommand{\bbleidp}{page}" write$ newline$
+ "\providecommand{\bbleidpp}{pages}" write$ newline$
+ "\providecommand{\bblerratum}{erratum}" write$ newline$
+ "\providecommand{\bblin}{in}" write$ newline$
+ "\providecommand{\bblmthesis}{Master's thesis}" write$ newline$
+ "\providecommand{\bblno}{no.}" write$ newline$
+ "\providecommand{\bblnumber}{number}" write$ newline$
+ "\providecommand{\bblof}{of}" write$ newline$
+ "\providecommand{\bblpage}{page}" write$ newline$
+ "\providecommand{\bblpages}{pages}" write$ newline$
+ "\providecommand{\bblp}{p}" write$ newline$
+ "\providecommand{\bblphdthesis}{Ph.D. thesis}" write$ newline$
+ "\providecommand{\bblpp}{pp}" write$ newline$
+ "\providecommand{\bbltechrep}{Tech. Rep.}" write$ newline$
+ "\providecommand{\bbltechreport}{Technical Report}" write$ newline$
+ "\providecommand{\bblvolume}{volume}" write$ newline$
+ "\providecommand{\bblvol}{Vol.}" write$ newline$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{write.babel.months}
+% This function writes the default names of the months.
+% \begin{macrocode}
+FUNCTION {write.babel.months}
+{
+ "\providecommand{\bbljan}{January}" write$ newline$
+ "\providecommand{\bblfeb}{February}" write$ newline$
+ "\providecommand{\bblmar}{March}" write$ newline$
+ "\providecommand{\bblapr}{April}" write$ newline$
+ "\providecommand{\bblmay}{May}" write$ newline$
+ "\providecommand{\bbljun}{June}" write$ newline$
+ "\providecommand{\bbljul}{July}" write$ newline$
+ "\providecommand{\bblaug}{August}" write$ newline$
+ "\providecommand{\bblsep}{September}" write$ newline$
+ "\providecommand{\bbloct}{October}" write$ newline$
+ "\providecommand{\bblnov}{November}" write$ newline$
+ "\providecommand{\bbldec}{December}" write$ newline$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{write.babel.ordinals}
+% This function writes the default names of the ordinals.
+% \begin{macrocode}
+FUNCTION {write.babel.ordinals}
+{
+ "\providecommand{\bblfirst}{First}" write$ newline$
+ "\providecommand{\bblfirsto}{1st}" write$ newline$
+ "\providecommand{\bblsecond}{Second}" write$ newline$
+ "\providecommand{\bblsecondo}{2nd}" write$ newline$
+ "\providecommand{\bblthird}{Third}" write$ newline$
+ "\providecommand{\bblthirdo}{3rd}" write$ newline$
+ "\providecommand{\bblfourth}{Fourth}" write$ newline$
+ "\providecommand{\bblfourtho}{4th}" write$ newline$
+ "\providecommand{\bblfifth}{Fifth}" write$ newline$
+ "\providecommand{\bblfiftho}{5th}" write$ newline$
+ "\providecommand{\bblst}{st}" write$ newline$
+ "\providecommand{\bblnd}{nd}" write$ newline$
+ "\providecommand{\bblrd}{rd}" write$ newline$
+ "\providecommand{\bblth}{th}" write$ newline$
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{write.babel}
+% This function writes the default of all words used for formatting a citation.
+% \begin{macrocode}
+FUNCTION {write.babel}
+{
+ write.babel.misc
+ write.babel.months
+ write.babel.ordinals
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{write.commands}
+% \changes{0.2.1}{2007/02/28}{Replaced newcommand by providecommand for
+% capitalize}
+% This function writes the commands used in a citation.
+% \begin{macrocode}
+FUNCTION {write.commands}
+{
+ "\providecommand{\url}[1]{\texttt{#1}}" write$ newline$
+ "\providecommand{\urlprefix}{}" write$ newline$
+ "\providecommand{\foreignlanguage}[2]{#2}" write$ newline$
+ "\providecommand{\Capitalize}[1]{\uppercase{#1}}" write$ newline$
+ "\providecommand{\capitalize}[1]{\expandafter\Capitalize#1}" write$ newline$
+ "\providecommand{\bibliographycite}[1]{\cite{#1}}" write$ newline$
+ write.babel
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{write.header}
+% This function writes the header of the |.bbl| file. It does not, however,
+% start the |thebibliography| environment. The contents of |@preamble| is
+% always written first.
+% \begin{macrocode}
+FUNCTION {write.header}
+{
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ write.commands
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{main}
+% Read all required entries from the database. The entries are in citation
+% order.
+% \begin{macrocode}
+READ
+% \end{macrocode}
+% Determine the length of the longest label.
+% \begin{macrocode}
+EXECUTE {initialize.longest.label}
+ITERATE {longest.label.pass}
+% \end{macrocode}
+% Write the header to the file and open the |thebibliography| environment.
+% \begin{macrocode}
+EXECUTE {init.consts}
+EXECUTE {write.header}
+EXECUTE {begin.bib}
+% \end{macrocode}
+% Format all entries
+% \begin{macrocode}
+ITERATE {call.type$}
+% \end{macrocode}
+% Close the |thebibliography| environment.
+% \begin{macrocode}
+EXECUTE {end.bib}
+% \end{macrocode}
+% \end{macro}
+%
+%
+%
+% \Finale
+% \PrintChanges
+% \setcounter{IndexColumns}{2}
+% \PrintIndex
diff --git a/biblio/bibtex/contrib/chembst/chembst.ins b/biblio/bibtex/contrib/chembst/chembst.ins
new file mode 100644
index 0000000000..d76eb3c6c1
--- /dev/null
+++ b/biblio/bibtex/contrib/chembst/chembst.ins
@@ -0,0 +1,70 @@
+%%
+%% File: chembst.ins Copyright (C) 2005-2006 Stephan Schenk
+%%
+%% Stephan Schenk,
+%% e-mail: mail@schenk-stephan.de
+%%
+%% This program may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%%
+%% This program consists of the files chembst.dtx and chembst.ins
+%%
+
+\input docstrip
+
+\keepsilent
+\askforoverwritefalse
+
+\preamble
+
+*****
+
+IMPORTANT NOTICE:
+
+For the copyright see below.
+
+Any modified versions of this file must be renamed
+with new filenames distinct from \outFileName.
+For distribution of the original source see the terms
+for copying and modification in the file \inFileName.
+
+This generated file may be distributed as long as the
+original source files, as listed above, are part of the
+same distribution. (The sources need not necessarily be
+in the same archive or directory.)
+
+*****
+
+The preliminary version of this bibliographic style file has been created
+using the `makebst' program. The original header included:
+
+Copyright 1994-2005 Patrick W Daly
+===============================================================
+IMPORTANT NOTICE:
+This bibliographic style (bst) file has been generated from one or
+more master bibliographic style (mbs) files, listed above [merlin.mbs].
+
+This generated file can be redistributed and/or modified under the terms
+of the LaTeX Project Public License Distributed from CTAN
+archives in directory macros/latex/base/lppl.txt; either
+version 1 of the License, or any later version.
+===============================================================
+
+*****
+
+\endpreamble
+
+\nopostamble
+
+\generate{
+ \file{ChemCommun.bst}{\from{chembst.dtx}{ChemCommun}}
+ \file{ChemEurJ.bst}{\from{chembst.dtx}{ChemEurJ}}
+ \file{InorgChem.bst}{\from{chembst.dtx}{InorgChem}}
+ \file{JAmChemSoc.bst}{\from{chembst.dtx}{JAmChemSoc,fifteennames,namesone}}
+ \file{JAmChemSoc_all.bst}{\from{chembst.dtx}{JAmChemSoc}}
+ \file{cv.bst}{\from{chembst.dtx}{cv}}
+}
+\endbatchfile
diff --git a/biblio/bibtex/contrib/chembst/chembst.pdf b/biblio/bibtex/contrib/chembst/chembst.pdf
new file mode 100644
index 0000000000..e3381f1566
--- /dev/null
+++ b/biblio/bibtex/contrib/chembst/chembst.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/chicago-annote/README b/biblio/bibtex/contrib/chicago-annote/README
new file mode 100644
index 0000000000..b4be68673e
--- /dev/null
+++ b/biblio/bibtex/contrib/chicago-annote/README
@@ -0,0 +1,2 @@
+Revision of chicagoa annotated bibliography style to use semi-standard
+`annote' field instead of non-standard `annotation' field. \ No newline at end of file
diff --git a/biblio/bibtex/contrib/chicago-annote/chicago-annote.bst b/biblio/bibtex/contrib/chicago-annote/chicago-annote.bst
new file mode 100644
index 0000000000..90cf31d519
--- /dev/null
+++ b/biblio/bibtex/contrib/chicago-annote/chicago-annote.bst
@@ -0,0 +1,1689 @@
+%%% ====================================================================
+%%% @BibTeX-style-file{
+%%% author = "Aarre Laakso",
+%%% version = "1",
+%%% date = "30 January 2009",
+%%% time = "10:24:38 199",
+%%% filename = "chicago-annote.bst",
+%%% email = "aarre@pair.com",
+%%% codetable = "ISO/ASCII",
+%%% keywords = "annotate annotation",
+%%% supported = "yes",
+%%% abstract = "A BibTeX bibliography style that follows the
+%%% `B' reference style of the 13th Edition of
+%%% the Chicago Manual of Style. Supports annotated
+%%% bibliographies through the BibTeX field
+%%% `annote'. A detailed feature list is given
+%%% below.",
+%%% }
+%%% ====================================================================
+%
+% "Chicago" BibTeX style, chicago-annote.bst - Chicago style with annotations
+% =====================================================================
+%
+% Copyright 2009 Aarre Laakso <aarre@pair.com>
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Aarre Laakso.
+%
+% This work consists of the file chicago-annote.bst.
+%
+% BibTeX `chicago-annote' style file for BibTeX version 0.99c, LaTeX version 2.09
+% Place it in a file called chicago-annote.bst in the BibTeX search path.
+% You need to include chicago.sty as a \documentstyle option.
+% (Placing it in the same directory as the LaTeX document should also work.)
+% The "chicago" and "chicagoa" styles were originall based on newapa.bst (American Psych. Assoc.)
+% found at ymir.claremont.edu. Annotation support added 07/09/92 by Glenn Paulley.
+% Modifications are loosely based on Chicago Manual of Style. Changed to use
+% semi-standard `annote' field instead of non-standard `annotation' field by
+% Aarre Laakso on 30 January 2009 and renamed to `chicago-annote' instead of
+% `chicagoa' in order to avoid confusion with the origina.
+%
+% Citation format: (author-last-name year)
+% (author-last-name and author-last-name year)
+% (author-last-name, author-last-name, and author-last-name year)
+% (author-last-name et al. year)
+% (author-last-name)
+% author-last-name (year)
+% (author-last-name and author-last-name)
+% (author-last-name et al.)
+% (year) or (year,year)
+% year or year,year
+%
+% Reference list ordering: alphabetical by author or whatever passes
+% for author in the absence of one.
+%
+% This BibTeX style has support for abbreviated author lists and for
+% year-only citations. This is done by having the citations
+% actually look like
+%
+% \citeauthoryear{full-author-info}{abbrev-author-info}{year}
+%
+% The LaTeX style has to have the following (or similar)
+%
+% \let\@internalcite\cite
+% \def\fullcite{\def\citeauthoryear##1##2##3{##1, ##3}\@internalcite}
+% \def\fullciteA{\def\citeauthoryear##1##2##3{##1}\@internalcite}
+% \def\shortcite{\def\citeauthoryear##1##2##3{##2, ##3}\@internalcite}
+% \def\shortciteA{\def\citeauthoryear##1##2##3{##2}\@internalcite}
+% \def\citeyear{\def\citeauthoryear##1##2##3{##3}\@internalcite}
+%
+% These TeX macro definitions are found in chicago.sty. Additional
+% commands to manipulate different components of a citation can be defined
+% so that, for example, you can list author's names without parentheses
+% if using a citation as a noun or object in a sentence.
+%
+% This file was originally copied from chicagoa.bst on CTAN
+%
+% Features of chicago-annote.bst:
+% =======================
+%
+% - supports an "annote" field for annotated bibliographies.
+% - full names used in citations, but abbreviated citations are available
+% (see above)
+% - if an entry has a "month", then the month and year are also printed
+% as part of that bibitem.
+% - all conjunctions use "and" instead of "\&"
+% - major modification from Chicago Manual of Style (13th ed.) is that
+% only the first author in a reference appears last name first-
+% additional authors appear as J. Q. Public.
+% - pages are listed as "pp. xx-xx" in all entry types except
+% article entries.
+% - book, inbook, and manual use "location: publisher" (or organization)
+% for address and publisher. All other types list publishers separately.
+% - "pp." are used to identify page numbers for all entry types except
+% articles.
+% - organization is used as a citation label if neither author nor editor
+% is present (for manuals).
+% - "et al." is used for long author and editor lists, or when "others"
+% is used.
+%
+% Modifications and bug fixes from newapa.bst:
+% ===========================================
+%
+% - added month, year to bib entries if month is present
+% - fixed bug with In proceedings, added necessary comma after title
+% - all conjunctions changed to "and" from "\&"
+% - fixed bug with author labels in my.full.label: "et al." now is
+% generated when "others" is an author name
+% - major modification from Chicago Manual of Style (13th ed.) is that
+% only the first author in a reference appears last name first-
+% additional authors appear as J. Q. Public.
+% - pages are listed as "pp. xx-xx" in all entry types except
+% article entries. Unnecessary (IMHO) "()" around page numbers
+% were removed, and page numbers now don't end with a period.
+% - created chicago.sty for use with this bibstyle (required).
+% - fixed bugs in FUNCTION {format.vol.num.pages} for missing volume,
+% number, and /or pages. Renamed to format.jour.vol.
+% - fixed bug in formatting booktitles: additional period an error if
+% book has a volume.
+% - fixed bug: editors usually given redundant period before next clause
+% (format.editors.dot) removed.
+% - added label support for organizations, if both author and editor
+% are missing (from alpha.bst). If organization is too long, then
+% the key field is used for abbreviated citations.
+% - In proceedings or books of several volumes, no comma was written
+% between the "Volume x" and the page numbers (this was intentional
+% in newapa.bst). Fixed.
+% - Some journals may not have volumes/numbers, only month/year (eg.
+% IEEE Computer). Fixed bug in article style that assumed volume/number
+% was always present.
+%
+% Original documentation for newapa.sty:
+% =====================================
+%
+% This version was made by modifying the master file made by
+% Oren Patashnik (PATASHNIK@SCORE.STANFORD.EDU), and the 'named' BibTeX
+% style of Peter F. Patel-Schneider.
+%
+% Copyright (C) 1985, all rights reserved.
+% Copying of this file is authorized only if either
+% (1) you make absolutely no changes to your copy, including name, or
+% (2) if you do make changes, you name it something other than 'newapa.bst'.
+% There are undoubtably bugs in this style. If you make bug fixes,
+% improvements, etc. please let me know. My e-mail address is:
+% spencer@cgrg.ohio.state.edu or 71160.3141@compuserve.com
+%
+% This style was made from 'plain.bst', 'named.bst', and 'apalike.bst',
+% with lots of tweaking to make it look like APA style, along with tips
+% from Young Ryu and Brian Reiser's modifications of 'apalike.bst'.
+
+ENTRY
+ { address
+ annote
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label.year extra.label sort.year sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t u }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+% Use a colon to separate output. Used only for address/publisher
+% combination in book/inbook types, address/institution for manuals,
+% and organization:publisher for proceedings (inproceedings).
+%
+FUNCTION {output.nonnull.colon}
+{ 's :=
+ output.state mid.sentence =
+ { ": " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.colon}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull.colon
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check.colon}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull.colon
+ if$
+}
+
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { write$
+ " (" year * extra.label *
+ month empty$
+ { ")" * }
+ { ", " * month * ")" * }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+%
+% Emphasize the top string on the stack.
+%
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+%
+% Emphasize the top string on the stack, but add a trailing space.
+%
+FUNCTION {emphasize.space}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "\/}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+%
+% Format bibliographical entries with the first author last name first,
+% and subsequent authors with initials followed by last name.
+% All names are formatted in this routine.
+%
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr := % nameptr = 1;
+ s num.names$ 'numnames := % numnames = num.name$(s);
+ numnames 'namesleft :=
+ { namesleft #0 > }
+
+ { nameptr #1 =
+ {s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't := }
+ {s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := }
+ if$
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * } % from Chicago Manual of Style
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr := % nameptr += 1;
+ namesleft #1 - 'namesleft := % namesleft =- 1;
+ }
+ while$
+}
+
+FUNCTION {my.full.label}
+{ 's :=
+ #1 'nameptr := % nameptr = 1;
+ s num.names$ 'numnames := % numnames = num.name$(s);
+ numnames 'namesleft :=
+ { namesleft #0 > }
+
+ { s nameptr "{vv~}{ll}" format.name$ 't := % get the next name
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * } % from Chicago Manual of Style
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr := % nameptr += 1;
+ namesleft #1 - 'namesleft := % namesleft =- 1;
+ }
+ while$
+
+}
+
+FUNCTION {format.names.fml}
+%
+% Format names in "familiar" format, with first initial followed by
+% last name. Like format.names, ALL names are formatted.
+%
+{ 's :=
+ #1 'nameptr := % nameptr = 1;
+ s num.names$ 'numnames := % numnames = num.name$(s);
+ numnames 'namesleft :=
+ { namesleft #0 > }
+
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+% { " \& " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr := % nameptr += 1;
+ namesleft #1 - 'namesleft := % namesleft =- 1;
+ }
+ while$
+}
+
+FUNCTION {format.annote}
+{ annote empty$
+ { "" }
+ { " \begin{quotation}\noindent "
+ annote
+ * " \end{quotation} " *
+ }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+%
+% Format editor names for use in the "in" types: inbook, incollection,
+% inproceedings: first initial, then last names. When editors are the
+% LABEL for an entry, then format.editor is used which lists editors
+% by last name first.
+%
+FUNCTION {format.editors.fml}
+{ editor empty$
+ { "" }
+ { editor format.names.fml
+ editor num.names$ #1 >
+ { " (Eds.)" * }
+ { " (Ed.)" * }
+ if$
+ }
+ if$
+}
+
+%
+% Format editor names for use in labels, last names first.
+%
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { " (Eds.)" * }
+ { " (Ed.)" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+% Note that the APA style requres case changes
+% in article titles. The following does not
+% change cases. If you perfer it, uncomment the
+% following and comment out the above.
+
+%FUNCTION {format.title}
+%{ title empty$
+% { "" }
+% { title }
+% if$
+%}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ edition empty$
+ { title emphasize }
+ { title empty$
+ { title emphasize }
+ { volume empty$ % gnp - check for volume, then don't need period
+ { "{\em " title * "\/} (" * edition * " ed.)" * "." * }
+ { "{\em " title * "\/} (" * edition * " ed.)" * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.emphasize.booktitle}
+{ edition empty$
+ { booktitle emphasize }
+ { booktitle empty$
+ { booktitle emphasize }
+ { volume empty$ % gnp - extra period an error if book has a volume
+ { "{\em " booktitle * "\/} (" * edition * " ed.)" * "." *}
+ { "{\em " booktitle * "\/} (" * edition * " ed.)" * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "Volume" volume tie.or.space.connect % gnp - changed to mixed case
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "Number" } % gnp - changed to mixed case always
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pp.\ " pages n.dashify tie.or.space.connect } % gnp - removed ()
+ { "pp.\ " pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+% By Young (and Spencer)
+% GNP - fixed bugs with missing volume, number, and/or pages
+%
+% Format journal, volume, number, pages for article types.
+%
+FUNCTION {format.jour.vol}
+{ journal empty$
+ { "no journal in " cite$ * warning$
+ "" }
+ { journal emphasize.space }
+ if$
+ number empty$
+ { volume empty$
+ { "no number and no volume in " cite$ * warning$
+ "" * }
+ { "~{\em " * Volume * "}" * }
+ if$
+ }
+ { volume empty$
+ {"no volume for " cite$ * warning$
+ "~(" * number * ")" * }
+ { "~" *
+ volume emphasize.space
+ "(" * number * ")" * * }
+ if$
+ }
+ if$
+ pages empty$
+ {"page numbers missing in " cite$ * warning$
+ "" * } % gnp - place a null string on the stack for output
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ", " * pages n.dashify * } % gnp - removed pp. for articles
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "Chapter" } % gnp - changed to mixed case
+ { type "t" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ {"page numbers missing in " cite$ * warning$} % gnp - added check
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " format.emphasize.booktitle * }
+ { "In " format.editors.fml * ", " * format.emphasize.booktitle * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ "See"
+ "\citeN{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect % gnp - changed to mixed case
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \citeN{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ "See"
+ " \citeN{" * crossref * "}" *
+}
+
+% format.lab.names:
+%
+% determines "short" names for the abbreviated author information.
+% "Long" labels are created in calc.label, using the routine my.full.label
+% to format author and editor fields.
+%
+% There are 4 cases for labels. (n=3 in the example)
+% a) one author Foo
+% b) one to n Foo, Bar and Baz
+% c) use of "and others" Foo, Bar et al.
+% d) more than n Foo et al.
+%
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #2 > % change number to number of others allowed before
+ % forcing "et al".
+ { s #1 "{vv~}{ll}" format.name$ " et~al." * }
+ {
+ numnames #1 - 'namesleft :=
+ #2 'nameptr :=
+ s #1 "{vv~}{ll}" format.name$
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * s nameptr "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ { ", " * s nameptr "{vv~}{ll}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { "no key, author in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { "no key, editor in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+%
+% added - gnp. Provide label formatting by organization if author is null.
+%
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "no key, author or organization in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { organization }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+%
+% added - gnp. Provide label formatting by organization if editor is null.
+%
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "no key, editor or organization in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { organization }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "no key, author, or editor in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+%
+% Changed - GNP. See also author.organization.sort, editor.organization.sort
+% Form label for BibTeX entry. The classification of which fields are used
+% for which type of entry (book, inbook, etc.) are taken from alpha.bst.
+% The change here from newapa is to also include organization as a
+% citation label if author or editor is missing.
+%
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+
+ author empty$ % generate the full label citation information.
+ { editor empty$
+ { organization empty$
+ { "no author, editor, or organization in " cite$ * warning$
+ "??" }
+ { organization }
+ if$
+ }
+ { editor my.full.label }
+ if$
+ }
+ { author my.full.label }
+ if$
+
+% leave label on the stack, to be popped when required.
+
+ "}{" * swap$ * "}{" *
+% year field.or.null purify$ #-1 #4 substring$ *
+%
+% save the year for sort processing afterwards (adding a, b, c, etc.)
+%
+ year field.or.null purify$ #-1 #4 substring$
+ 'label.year :=
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+
+ "\bibitem[\protect\citeauthoryear{" write$
+ calc.label write$
+ sort.year write$
+ "}]{" write$
+
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ crossref missing$
+ { format.jour.vol output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+ format.annote write$
+ newline$
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors
+ "author and editor" output.check }
+ { format.authors
+ output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % added
+ new.block
+ format.btitle
+ "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ address output
+ publisher "publisher" output.check.colon
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+ format.annote write$
+ newline$
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ howpublished output
+ address output
+ new.block
+ note output
+ fin.entry
+ format.annote write$
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors
+ "author and editor" output.check
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % added
+ new.block
+ format.btitle
+ "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages
+ "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ address output
+ publisher
+ "publisher" output.check.colon
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+ format.annote write$
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle
+ "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output % gnp - was special.output.nonnull
+% left out comma before page numbers
+ new.sentence
+ address output
+ publisher "publisher" output.check.colon
+ }
+ { format.incoll.inproc.crossref
+ output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+ format.annote write$
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle
+ "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ address output
+ format.pages output
+ new.sentence
+ organization output
+ publisher output.colon
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+ format.annote write$
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { editor empty$
+ { organization "organization" output.check
+ organization format.key output } % if all else fails, use key
+ { format.editors "author and editor" output.check }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ output.year.check % added
+ new.block
+ format.btitle
+ "title" output.check
+ organization address new.block.checkb
+% Reversed the order of "address" and "organization", added the ":".
+ address output
+ organization "organization" output.check.colon
+% address output
+% ":" output
+% organization output
+ new.block
+ note output
+ fin.entry
+ format.annote write$
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+ format.annote write$
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output % added
+ output.year.check % added
+ title howpublished new.block.checkb
+ format.title output
+ new.block
+ howpublished output
+ new.block
+ note output
+ fin.entry
+ format.annote write$
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.btitle
+ "title" output.check
+ new.block
+ "Ph.\ D. thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+ format.annote write$
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output
+ organization format.key output } % gnp - changed from author format.key
+ { format.editors output.nonnull }
+ if$
+% author format.key output % gnp - removed (should be either
+% editor or organization
+ output.year.check % added (newapa)
+ new.block
+ format.btitle
+ "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output
+ new.sentence
+ organization output
+ publisher output.colon
+ new.block
+ note output
+ fin.entry
+ format.annote write$
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution
+ "institution" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+ format.annote write$
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+ format.annote write$
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {ai} {"Artificial Intelligence"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { " et~al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ "" }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { "missing author in " cite$ * warning$
+ editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+%
+% added - GNP. Stack author or organization for sorting (from alpha.bst).
+% Unlike alpha.bst, we need entire names, not abbreviations
+%
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { organization sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+%
+% added - GNP. Stack editor or organization for sorting (from alpha.bst).
+% Unlike alpha.bst, we need entire names, not abbreviations
+%
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { organization sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+%
+% Presort creates the bibentry's label via a call to calc.label, and then
+% sorts the entries based on entry type. Chicago.bst adds support for
+% including organizations as the sort key; the following is stolen from
+% alpha.bst.
+%
+{ calc.label sortify % recalculate bibitem label
+ year field.or.null purify$ #-1 #4 substring$ * % add year
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ #1 entry.max$ substring$ % added for newapa
+ 'sort.label := % added for newapa
+ sort.label % added for newapa
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT % by label, year, author/editor, title
+
+STRINGS { last.label next.extra }
+
+INTEGERS { last.extra.num }
+
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+%
+% Pass through all entries, comparing current entry to last one.
+% Need to concatenate year to the stack (done by calc.label) to determine
+% if two entries are the same (see presort)
+%
+{ last.label
+ calc.label year field.or.null purify$ #-1 #4 substring$ * % add year
+ #1 entry.max$ substring$ = % are they equal?
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ calc.label year field.or.null purify$ #-1 #4 substring$ * % add year
+ #1 entry.max$ substring$ 'last.label := % assign to last.label
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label.year extra.label * 'sort.year :=
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT % by sort.label, year, title --- giving final bib. order.
+
+FUNCTION {begin.bib}
+
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$
+}
+
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+
+
diff --git a/biblio/bibtex/contrib/chicago/chicago.bst b/biblio/bibtex/contrib/chicago/chicago.bst
new file mode 100644
index 0000000000..925f9a2e0e
--- /dev/null
+++ b/biblio/bibtex/contrib/chicago/chicago.bst
@@ -0,0 +1,1653 @@
+%%% ====================================================================
+%%% @BibTeX-style-file{
+%%% author = "Glenn Paulley",
+%%% version = "4",
+%%% date = "28 August 1992",
+%%% time = "10:23:39 199",
+%%% filename = "chicago.bst",
+%%% address = "Data Structuring Group
+%%% Department of Computer Science
+%%% University of Waterloo
+%%% Waterloo, Ontario, Canada
+%%% N2L 3G1",
+%%% telephone = "(519) 885-1211",
+%%% FAX = "(519) 885-1208",
+%%% checksum = "26323 1654 5143 37417",
+%%% email = "gnpaulle@bluebox.uwaterloo.ca",
+%%% codetable = "ISO/ASCII",
+%%% keywords = "",
+%%% supported = "yes",
+%%% abstract = "A BibTeX bibliography style that follows the
+%%% `B' reference style of the 13th Edition of
+%%% the Chicago Manual of Style. A detailed
+%%% feature list is given below.",
+%%% docstring = "The checksum field above contains a CRC-16
+%%% checksum as the first value, followed by the
+%%% equivalent of the standard UNIX wc (word
+%%% count) utility output of lines, words, and
+%%% characters. This is produced by Robert
+%%% Solovay's checksum utility.",
+%%% }
+%%% ====================================================================
+%
+% "Chicago" BibTeX style, chicago.bst
+% ===================================
+%
+% BibTeX `chicago' style file for BibTeX version 0.99c, LaTeX version 2.09
+% Place it in a file called chicago.bst in the BibTeX search path.
+% You need to include chicago.sty as a \documentstyle option.
+% (Placing it in the same directory as the LaTeX document should also work.)
+% This "chicago" style is based on newapa.bst (American Psych. Assoc.)
+% found at ymir.claremont.edu.
+%
+% Citation format: (author-last-name year)
+% (author-last-name and author-last-name year)
+% (author-last-name, author-last-name, and author-last-name year)
+% (author-last-name et al. year)
+% (author-last-name)
+% author-last-name (year)
+% (author-last-name and author-last-name)
+% (author-last-name et al.)
+% (year) or (year,year)
+% year or year,year
+%
+% Reference list ordering: alphabetical by author or whatever passes
+% for author in the absence of one.
+%
+% This BibTeX style has support for abbreviated author lists and for
+% year-only citations. This is done by having the citations
+% actually look like
+%
+% \citeauthoryear{full-author-info}{abbrev-author-info}{year}
+%
+% The LaTeX style has to have the following (or similar)
+%
+% \let\@internalcite\cite
+% \def\fullcite{\def\citeauthoryear##1##2##3{##1, ##3}\@internalcite}
+% \def\fullciteA{\def\citeauthoryear##1##2##3{##1}\@internalcite}
+% \def\shortcite{\def\citeauthoryear##1##2##3{##2, ##3}\@internalcite}
+% \def\shortciteA{\def\citeauthoryear##1##2##3{##2}\@internalcite}
+% \def\citeyear{\def\citeauthoryear##1##2##3{##3}\@internalcite}
+%
+% These TeX macro definitions are found in chicago.sty. Additional
+% commands to manipulate different components of a citation can be defined
+% so that, for example, you can list author's names without parentheses
+% if using a citation as a noun or object in a sentence.
+%
+% This file was originally copied from newapa.bst at ymir.claremont.edu.
+%
+% Features of chicago.bst:
+% =======================
+%
+% - full names used in citations, but abbreviated citations are available
+% (see above)
+% - if an entry has a "month", then the month and year are also printed
+% as part of that bibitem.
+% - all conjunctions use "and" instead of "\&"
+% - major modification from Chicago Manual of Style (13th ed.) is that
+% only the first author in a reference appears last name first-
+% additional authors appear as J. Q. Public.
+% - pages are listed as "pp. xx-xx" in all entry types except
+% article entries.
+% - book, inbook, and manual use "location: publisher" (or organization)
+% for address and publisher. All other types list publishers separately.
+% - "pp." are used to identify page numbers for all entry types except
+% articles.
+% - organization is used as a citation label if neither author nor editor
+% is present (for manuals).
+% - "et al." is used for long author and editor lists, or when "others"
+% is used.
+%
+% Modifications and bug fixes from newapa.bst:
+% ===========================================
+%
+% - added month, year to bib entries if month is present
+% - fixed bug with In proceedings, added necessary comma after title
+% - all conjunctions changed to "and" from "\&"
+% - fixed bug with author labels in my.full.label: "et al." now is
+% generated when "others" is an author name
+% - major modification from Chicago Manual of Style (13th ed.) is that
+% only the first author in a reference appears last name first-
+% additional authors appear as J. Q. Public.
+% - pages are listed as "pp. xx-xx" in all entry types except
+% article entries. Unnecessary (IMHO) "()" around page numbers
+% were removed, and page numbers now don't end with a period.
+% - created chicago.sty for use with this bibstyle (required).
+% - fixed bugs in FUNCTION {format.vol.num.pages} for missing volume,
+% number, and /or pages. Renamed to format.jour.vol.
+% - fixed bug in formatting booktitles: additional period an error if
+% book has a volume.
+% - fixed bug: editors usually given redundant period before next clause
+% (format.editors.dot) removed.
+% - added label support for organizations, if both author and editor
+% are missing (from alpha.bst). If organization is too long, then
+% the key field is used for abbreviated citations.
+% - In proceedings or books of several volumes, no comma was written
+% between the "Volume x" and the page numbers (this was intentional
+% in newapa.bst). Fixed.
+% - Some journals may not have volumes/numbers, only month/year (eg.
+% IEEE Computer). Fixed bug in article style that assumed volume/number
+% was always present.
+%
+% Original documentation for newapa.sty:
+% =====================================
+%
+% This version was made by modifying the master file made by
+% Oren Patashnik (PATASHNIK@SCORE.STANFORD.EDU), and the 'named' BibTeX
+% style of Peter F. Patel-Schneider.
+%
+% Copyright (C) 1985, all rights reserved.
+% Copying of this file is authorized only if either
+% (1) you make absolutely no changes to your copy, including name, or
+% (2) if you do make changes, you name it something other than 'newapa.bst'.
+% There are undoubtably bugs in this style. If you make bug fixes,
+% improvements, etc. please let me know. My e-mail address is:
+% spencer@cgrg.ohio.state.edu or 71160.3141@compuserve.com
+%
+% This style was made from 'plain.bst', 'named.bst', and 'apalike.bst',
+% with lots of tweaking to make it look like APA style, along with tips
+% from Young Ryu and Brian Reiser's modifications of 'apalike.bst'.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label.year extra.label sort.year sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t u }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+% Use a colon to separate output. Used only for address/publisher
+% combination in book/inbook types, address/institution for manuals,
+% and organization:publisher for proceedings (inproceedings).
+%
+FUNCTION {output.nonnull.colon}
+{ 's :=
+ output.state mid.sentence =
+ { ": " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.colon}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull.colon
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check.colon}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull.colon
+ if$
+}
+
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { write$
+ " (" year * extra.label *
+ month empty$
+ { ")" * }
+ { ", " * month * ")" * }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+%
+% Emphasize the top string on the stack.
+%
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+%
+% Emphasize the top string on the stack, but add a trailing space.
+%
+FUNCTION {emphasize.space}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "\/}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+%
+% Format bibliographical entries with the first author last name first,
+% and subsequent authors with initials followed by last name.
+% All names are formatted in this routine.
+%
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr := % nameptr = 1;
+ s num.names$ 'numnames := % numnames = num.name$(s);
+ numnames 'namesleft :=
+ { namesleft #0 > }
+
+ { nameptr #1 =
+ {s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't := }
+ {s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := }
+ if$
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * } % from Chicago Manual of Style
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr := % nameptr += 1;
+ namesleft #1 - 'namesleft := % namesleft =- 1;
+ }
+ while$
+}
+
+FUNCTION {my.full.label}
+{ 's :=
+ #1 'nameptr := % nameptr = 1;
+ s num.names$ 'numnames := % numnames = num.name$(s);
+ numnames 'namesleft :=
+ { namesleft #0 > }
+
+ { s nameptr "{vv~}{ll}" format.name$ 't := % get the next name
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * } % from Chicago Manual of Style
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr := % nameptr += 1;
+ namesleft #1 - 'namesleft := % namesleft =- 1;
+ }
+ while$
+
+}
+
+FUNCTION {format.names.fml}
+%
+% Format names in "familiar" format, with first initial followed by
+% last name. Like format.names, ALL names are formatted.
+%
+{ 's :=
+ #1 'nameptr := % nameptr = 1;
+ s num.names$ 'numnames := % numnames = num.name$(s);
+ numnames 'namesleft :=
+ { namesleft #0 > }
+
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+% { " \& " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr := % nameptr += 1;
+ namesleft #1 - 'namesleft := % namesleft =- 1;
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+%
+% Format editor names for use in the "in" types: inbook, incollection,
+% inproceedings: first initial, then last names. When editors are the
+% LABEL for an entry, then format.editor is used which lists editors
+% by last name first.
+%
+FUNCTION {format.editors.fml}
+{ editor empty$
+ { "" }
+ { editor format.names.fml
+ editor num.names$ #1 >
+ { " (Eds.)" * }
+ { " (Ed.)" * }
+ if$
+ }
+ if$
+}
+
+%
+% Format editor names for use in labels, last names first.
+%
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { " (Eds.)" * }
+ { " (Ed.)" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+% Note that the APA style requres case changes
+% in article titles. The following does not
+% change cases. If you perfer it, uncomment the
+% following and comment out the above.
+
+%FUNCTION {format.title}
+%{ title empty$
+% { "" }
+% { title }
+% if$
+%}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ edition empty$
+ { title emphasize }
+ { title empty$
+ { title emphasize }
+ { volume empty$ % gnp - check for volume, then don't need period
+ { "{\em " title * "\/} (" * edition * " ed.)" * "." * }
+ { "{\em " title * "\/} (" * edition * " ed.)" * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.emphasize.booktitle}
+{ edition empty$
+ { booktitle emphasize }
+ { booktitle empty$
+ { booktitle emphasize }
+ { volume empty$ % gnp - extra period an error if book has a volume
+ { "{\em " booktitle * "\/} (" * edition * " ed.)" * "." *}
+ { "{\em " booktitle * "\/} (" * edition * " ed.)" * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "Volume" volume tie.or.space.connect % gnp - changed to mixed case
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "Number" } % gnp - changed to mixed case always
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pp.\ " pages n.dashify tie.or.space.connect } % gnp - removed ()
+ { "pp.\ " pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+% By Young (and Spencer)
+% GNP - fixed bugs with missing volume, number, and/or pages
+%
+% Format journal, volume, number, pages for article types.
+%
+FUNCTION {format.jour.vol}
+{ journal empty$
+ { "no journal in " cite$ * warning$
+ "" }
+ { journal emphasize.space }
+ if$
+ number empty$
+ { volume empty$
+ { "no number and no volume in " cite$ * warning$
+ "" * }
+ { "~{\em " * Volume * "}" * }
+ if$
+ }
+ { volume empty$
+ {"no volume for " cite$ * warning$
+ "~(" * number * ")" * }
+ { "~" *
+ volume emphasize.space
+ "(" * number * ")" * * }
+ if$
+ }
+ if$
+ pages empty$
+ {"page numbers missing in " cite$ * warning$
+ "" * } % gnp - place a null string on the stack for output
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ", " * pages n.dashify * } % gnp - removed pp. for articles
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "Chapter" } % gnp - changed to mixed case
+ { type "t" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ {"page numbers missing in " cite$ * warning$} % gnp - added check
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " format.emphasize.booktitle * }
+ { "In " format.editors.fml * ", " * format.emphasize.booktitle * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ "See"
+ "\citeN{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect % gnp - changed to mixed case
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \citeN{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ "See"
+ " \citeN{" * crossref * "}" *
+}
+
+% format.lab.names:
+%
+% determines "short" names for the abbreviated author information.
+% "Long" labels are created in calc.label, using the routine my.full.label
+% to format author and editor fields.
+%
+% There are 4 cases for labels. (n=3 in the example)
+% a) one author Foo
+% b) one to n Foo, Bar and Baz
+% c) use of "and others" Foo, Bar et al.
+% d) more than n Foo et al.
+%
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #2 > % change number to number of others allowed before
+ % forcing "et al".
+ { s #1 "{vv~}{ll}" format.name$ " et~al." * }
+ {
+ numnames #1 - 'namesleft :=
+ #2 'nameptr :=
+ s #1 "{vv~}{ll}" format.name$
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * s nameptr "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ { ", " * s nameptr "{vv~}{ll}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { "no key, author in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { "no key, editor in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+%
+% added - gnp. Provide label formatting by organization if author is null.
+%
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "no key, author or organization in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { organization }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+%
+% added - gnp. Provide label formatting by organization if editor is null.
+%
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "no key, editor or organization in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { organization }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "no key, author, or editor in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+%
+% Changed - GNP. See also author.organization.sort, editor.organization.sort
+% Form label for BibTeX entry. The classification of which fields are used
+% for which type of entry (book, inbook, etc.) are taken from alpha.bst.
+% The change here from newapa is to also include organization as a
+% citation label if author or editor is missing.
+%
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+
+ author empty$ % generate the full label citation information.
+ { editor empty$
+ { organization empty$
+ { "no author, editor, or organization in " cite$ * warning$
+ "??" }
+ { organization }
+ if$
+ }
+ { editor my.full.label }
+ if$
+ }
+ { author my.full.label }
+ if$
+
+% leave label on the stack, to be popped when required.
+
+ "}{" * swap$ * "}{" *
+% year field.or.null purify$ #-1 #4 substring$ *
+%
+% save the year for sort processing afterwards (adding a, b, c, etc.)
+%
+ year field.or.null purify$ #-1 #4 substring$
+ 'label.year :=
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+
+ "\bibitem[\protect\citeauthoryear{" write$
+ calc.label write$
+ sort.year write$
+ "}]{" write$
+
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ crossref missing$
+ { format.jour.vol output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors
+ "author and editor" output.check }
+ { format.authors
+ output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % added
+ new.block
+ format.btitle
+ "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ address output
+ publisher "publisher" output.check.colon
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ howpublished output
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors
+ "author and editor" output.check
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % added
+ new.block
+ format.btitle
+ "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages
+ "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ address output
+ publisher
+ "publisher" output.check.colon
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle
+ "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output % gnp - was special.output.nonnull
+% left out comma before page numbers
+ new.sentence
+ address output
+ publisher "publisher" output.check.colon
+ }
+ { format.incoll.inproc.crossref
+ output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle
+ "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ address output
+ format.pages output
+ new.sentence
+ organization output
+ publisher output.colon
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { editor empty$
+ { organization "organization" output.check
+ organization format.key output } % if all else fails, use key
+ { format.editors "author and editor" output.check }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ output.year.check % added
+ new.block
+ format.btitle
+ "title" output.check
+ organization address new.block.checkb
+% Reversed the order of "address" and "organization", added the ":".
+ address output
+ organization "organization" output.check.colon
+% address output
+% ":" output
+% organization output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output % added
+ output.year.check % added
+ title howpublished new.block.checkb
+ format.title output
+ new.block
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.btitle
+ "title" output.check
+ new.block
+ "Ph.\ D. thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output
+ organization format.key output } % gnp - changed from author format.key
+ { format.editors output.nonnull }
+ if$
+% author format.key output % gnp - removed (should be either
+% editor or organization
+ output.year.check % added (newapa)
+ new.block
+ format.btitle
+ "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output
+ new.sentence
+ organization output
+ publisher output.colon
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution
+ "institution" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {ai} {"Artificial Intelligence"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { " et~al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ "" }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { "missing author in " cite$ * warning$
+ editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+%
+% added - GNP. Stack author or organization for sorting (from alpha.bst).
+% Unlike alpha.bst, we need entire names, not abbreviations
+%
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { organization sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+%
+% added - GNP. Stack editor or organization for sorting (from alpha.bst).
+% Unlike alpha.bst, we need entire names, not abbreviations
+%
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { organization sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+%
+% Presort creates the bibentry's label via a call to calc.label, and then
+% sorts the entries based on entry type. Chicago.bst adds support for
+% including organizations as the sort key; the following is stolen from
+% alpha.bst.
+%
+{ calc.label sortify % recalculate bibitem label
+ year field.or.null purify$ #-1 #4 substring$ * % add year
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ #1 entry.max$ substring$ % added for newapa
+ 'sort.label := % added for newapa
+ sort.label % added for newapa
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT % by label, year, author/editor, title
+
+STRINGS { last.label next.extra }
+
+INTEGERS { last.extra.num }
+
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+%
+% Pass through all entries, comparing current entry to last one.
+% Need to concatenate year to the stack (done by calc.label) to determine
+% if two entries are the same (see presort)
+%
+{ last.label
+ calc.label year field.or.null purify$ #-1 #4 substring$ * % add year
+ #1 entry.max$ substring$ = % are they equal?
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ calc.label year field.or.null purify$ #-1 #4 substring$ * % add year
+ #1 entry.max$ substring$ 'last.label := % assign to last.label
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label.year extra.label * 'sort.year :=
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT % by sort.label, year, title --- giving final bib. order.
+
+FUNCTION {begin.bib}
+
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$
+}
+
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+
diff --git a/biblio/bibtex/contrib/chicago/chicago.sty b/biblio/bibtex/contrib/chicago/chicago.sty
new file mode 100644
index 0000000000..db39103502
--- /dev/null
+++ b/biblio/bibtex/contrib/chicago/chicago.sty
@@ -0,0 +1,264 @@
+% -*- LaTeX -*-
+%%% ====================================================================
+%%% @LaTeX-style-file{
+%%% author = "Glenn Paulley",
+%%% version = "4",
+%%% date = "31 August 1992",
+%%% time = "09:42:44 199",
+%%% filename = "chicago.sty",
+%%% address = "Data Structuring Group
+%%% Department of Computer Science
+%%% University of Waterloo
+%%% Waterloo, Ontario, Canada
+%%% N2L 3G1",
+%%% telephone = "(519) 885-1211",
+%%% FAX = "(519) 885-1208",
+%%% checksum = "44674 264 1050 10394",
+%%% email = "gnpaulle@bluebox.uwaterloo.ca",
+%%% codetable = "ISO/ASCII",
+%%% keywords = "",
+%%% supported = "yes",
+%%% abstract = "Contains the LaTeX style command definitions
+%%% for the Chicago BibTeX styles chicago.bst and
+%%% chicagoa.bst. For details, see below.",
+%%% docstring = "The checksum field above contains a CRC-16
+%%% checksum as the first value, followed by the
+%%% equivalent of the standard UNIX wc (word
+%%% count) utility output of lines, words, and
+%%% characters. This is produced by Robert
+%%% Solovay's checksum utility.",
+%%% }
+%%% ====================================================================
+%
+% chicago.sty: Style file for use with bibtex style chicago.bst, for
+% bibliographies formatted according to the 13th Edition of the Chicago
+% Manual of Style.
+%
+% 'newapa.bst' was made from 'plain.bst', 'named.bst', and 'apalike.bst',
+% with lots of tweaking to make it look like APA style, along with tips
+% from Young Ryu and Brian Reiser's modifications of 'apalike.bst'.
+% newapa.sty formed the basis of this style, chicago.sty. Author-date
+% references in newapa.bst formed the basis for chicago.bst. Chicagoa.bst
+% supports annotations.
+%
+% Version 4 (August, 1992):
+% - fixed chicago.bst and chicagoa.bst to handle long author lists in
+% sorting
+% - fixed chicago.bst and chicagoa.bst so that missing page numbers in
+% ``article'' entries are handled correctly
+% - modified chicago.sty to format entries with 2nd and subsequent lines
+% indented.
+%
+% Citation format: (author-last-name year)
+% (author-last-name and author-last-name year)
+% (author-last-name et al. year)
+% (author-last-name)
+% author-last-name
+% author-last-name (year)
+% (author-last-name and author-last-name)
+% (author-last-name et al.)
+% (year) or (year,year)
+% year or year,year
+%
+% Reference list ordering: alphabetical by author or whatever passes
+% for author in the absence of one.
+%
+% This BibTeX style has support for abbreviated author lists and for
+% year-only citations. This is done by having the citations
+% actually look like
+%
+% \citeauthoryear{full-author-info}{abbrev-author-info}{year}
+%
+% The LaTeX style has to have the following (or similar)
+%
+% \let\@internalcite\cite
+% \def\fullcite{\def\citeauthoryear##1##2##3{##1, ##3}\@internalcite}
+% \def\fullciteA{\def\citeauthoryear##1##2##3{##1}\@internalcite}
+% \def\shortcite{\def\citeauthoryear##1##2##3{##2, ##3}\@internalcite}
+% \def\shortciteA{\def\citeauthoryear##1##2##3{##2}\@internalcite}
+% \def\citeyear{\def\citeauthoryear##1##2##3{##3}\@internalcite}
+%
+% -------------------------------------------------------------------------
+% This file implements citations for the ``chicago'' bibliography style.
+% Place it in a file called chicago.sty in the TeX search path.
+%(Placing it in the same directory as the LaTeX document should also work.)
+%
+% This file is a modification of the ``newapa'' LaTeX style,
+% originally adapted by Steven Spencer from the ``apalike'' LaTeX style.
+% It was originally modified by Stephen N. Spencer, with further
+% modifications by Young U. Ryu.
+%
+% The ``chicago'' BibTeX bibliography style creates citations with labels:
+% \citeauthoryear{author-info}{abbrev. author-info}{year}
+%
+% These labels are processed by the following LaTeX commands:
+%
+% \cite{key}
+% which produces citations with full author list and year.
+% eg. (Brown 1978; Jarke, Turner, Stohl, et al. 1985)
+% \citeNP{key}
+% which produces citations with full author list and year, but without
+% enclosing parentheses:
+% eg. Brown 1978; Jarke, Turner and Stohl 1985
+% \citeA{key}
+% which produces citations with only the full author list.
+% eg. (Brown; Jarke, Turner and Stohl)
+% \citeANP{key}
+% which produces citations with only the full author list, without
+% parentheses eg. Brown; Jarke, Turner and Stohl
+% \citeN{key}
+% which produces citations with the full author list and year, but
+% can be used as nouns in a sentence; no parentheses appear around
+% the author names, but only around the year.
+% eg. Shneiderman (1978) states that......
+% \citeN should only be used for a single citation.
+% \shortcite{key}
+% which produces citations with abbreviated author list and year.
+% \shortciteNP{key}
+% which produces citations with abbreviated author list and year.
+% \shortciteA{key}
+% which produces only the abbreviated author list.
+% \shortciteANP{key}
+% which produces only the abbreviated author list.
+% \shortciteN{key}
+% which produces the abbreviated author list and year, with only the
+% year in parentheses. Use with only one citation.
+% \citeyear{key}
+% which produces the year information only, within parentheses.
+% \citeyearNP{key}
+% which produces the year information only.
+%
+% Abbreviated author lists use the ``et al.'' construct.
+%
+% `NP' means `no parentheses'.
+%
+% This LaTeX style file must be used with the ``chicago'' or ``chicagoa''
+% (annotated chicago style) BibTeX styles.
+%
+\typeout{Using Chicago Manual of Style bibliography: 31 August 1992}
+%
+% -------------------------------------------------------------------------
+%
+% Citation macros.
+%
+\let\@internalcite\cite
+%
+\def\cite{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{(##1\if@tempswa , ##2\fi)}%
+ \def\citeauthoryear##1##2##3{##1 ##3}\@internalcite}
+\def\citeNP{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{##1\if@tempswa , ##2\fi}%
+ \def\citeauthoryear##1##2##3{##1 ##3}\@internalcite}
+\def\citeN{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{##1\if@tempswa , ##2)\else{)}\fi}%
+ \def\citeauthoryear##1##2##3{##1 (##3}\@citedata}
+\def\citeA{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{(##1\if@tempswa , ##2\fi)}%
+ \def\citeauthoryear##1##2##3{##1}\@internalcite}
+\def\citeANP{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{##1\if@tempswa , ##2\fi}%
+ \def\citeauthoryear##1##2##3{##1}\@internalcite}
+%
+\def\shortcite{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{(##1\if@tempswa , ##2\fi)}%
+ \def\citeauthoryear##1##2##3{##2 ##3}\@internalcite}
+\def\shortciteNP{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{##1\if@tempswa , ##2\fi}%
+ \def\citeauthoryear##1##2##3{##2 ##3}\@internalcite}
+\def\shortciteN{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{##1\if@tempswa , ##2)\else{)}\fi}%
+ \def\citeauthoryear##1##2##3{##2 (##3}\@citedata}
+\def\shortciteA{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{(##1\if@tempswa , ##2\fi)}%
+ \def\citeauthoryear##1##2##3{##2}\@internalcite}
+\def\shortciteANP{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{##1\if@tempswa , ##2\fi}%
+ \def\citeauthoryear##1##2##3{##2}\@internalcite}
+%
+\def\citeyear{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{(##1\if@tempswa , ##2\fi)}%
+ \def\citeauthoryear##1##2##3{##3}\@citedata}
+\def\citeyearNP{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{##1\if@tempswa , ##2\fi}%
+ \def\citeauthoryear##1##2##3{##3}\@citedata}
+
+%
+% \@citedata and \@citedatax:
+%
+% Place commas in-between citations in the same \citeyear, \citeyearNP,
+% \citeN, or \shortciteN command.
+% Use something like \citeN{ref1,ref2,ref3} and \citeN{ref4} for a list.
+%
+\def\@citedata{%
+ \@ifnextchar [{\@tempswatrue\@citedatax}%
+ {\@tempswafalse\@citedatax[]}%
+}
+
+\def\@citedatax[#1]#2{%
+\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi%
+ \def\@citea{}\@cite{\@for\@citeb:=#2\do%
+ {\@citea\def\@citea{, }\@ifundefined% by Young
+ {b@\@citeb}{{\bf ?}%
+ \@warning{Citation `\@citeb' on page \thepage \space undefined}}%
+{\csname b@\@citeb\endcsname}}}{#1}}%
+
+% don't box citations, separate with ; and a space
+% also, make the penalty between citations negative: a good place to break.
+%
+\def\@citex[#1]#2{%
+\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi%
+ \def\@citea{}\@cite{\@for\@citeb:=#2\do%
+ {\@citea\def\@citea{; }\@ifundefined% by Young
+ {b@\@citeb}{{\bf ?}%
+ \@warning{Citation `\@citeb' on page \thepage \space undefined}}%
+{\csname b@\@citeb\endcsname}}}{#1}}%
+
+% (from apalike.sty)
+% No labels in the bibliography.
+%
+\def\@biblabel#1{}
+
+% (from apalike.sty)
+% Set length of hanging indentation for bibliography entries.
+%
+\newlength{\bibhang}
+\setlength{\bibhang}{2em}
+
+% Indent second and subsequent lines of bibliographic entries. Stolen
+% from openbib.sty: \newblock is set to {}.
+
+\newdimen\bibindent
+\bibindent=1.5em
+\@ifundefined{refname}%
+ {\@ifundefined{chapter}%
+ {\newcommand{\refname}{References}}%
+ {\newcommand{\refname}{Bibliography}}%
+ }%
+ {}%
+\@ifundefined{chapter}%
+ {\def\thebibliography#1{\section*{\refname\@mkboth
+ {\uppercase{\refname}}{\uppercase{\refname}}}\list
+ {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}
+ \leftmargin\labelwidth
+ \advance\leftmargin\labelsep
+ \advance\leftmargin\bibindent
+ \itemindent -\bibindent
+ \listparindent \itemindent
+ \parsep \z@
+ \usecounter{enumi}}
+ \def\newblock{}
+ \sloppy
+ \sfcode`\.=1000\relax}}
+ {\def\thebibliography#1{\chapter*{\refname\@mkboth
+ {\uppercase{\refname}}{\uppercase{\refname}}}\list
+ {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}
+ \leftmargin\labelwidth
+ \advance\leftmargin\labelsep
+ \advance\leftmargin\bibindent
+ \itemindent -\bibindent
+ \listparindent \itemindent
+ \parsep \z@
+ \usecounter{enumi}}
+ \def\newblock{}
+ \sloppy
+ \sfcode`\.=1000\relax}}
diff --git a/biblio/bibtex/contrib/custom-bib b/biblio/bibtex/contrib/custom-bib
new file mode 120000
index 0000000000..09b3fac172
--- /dev/null
+++ b/biblio/bibtex/contrib/custom-bib
@@ -0,0 +1 @@
+../../../macros/latex/contrib/custom-bib \ No newline at end of file
diff --git a/biblio/bibtex/contrib/directory/README b/biblio/bibtex/contrib/directory/README
new file mode 100644
index 0000000000..1497e9c80c
--- /dev/null
+++ b/biblio/bibtex/contrib/directory/README
@@ -0,0 +1,32 @@
+This is the 'directory 1.20' distribution.
+
+'directory' is a macro package for LaTeX and BibTeX that facilitates
+the construction, the maintenance and the exploitation of an address
+book like database.
+
+Files included:
+
+ README
+ address-html.bst
+ address-ldif.bst
+ address-vcard.bst
+ address.bst
+ birthday.bst
+ business.bib
+ directory.pdf
+ directory.ps
+ directory.sty
+ directory.tex
+ email-html.bst
+ email.bst
+ family.bib
+ letter.bst
+ phone.bst
+
+To rebuild the user's guide (directory.ps or directory.pdf), you must
+run LaTeX, run BibTeX and then run LaTeX twice on the file
+'directory.tex'.
+
+Enjoy!
+
+Christophe Geuzaine <geuz@geuz.org>
diff --git a/biblio/bibtex/contrib/directory/address-html.bst b/biblio/bibtex/contrib/directory/address-html.bst
new file mode 100644
index 0000000000..9f34152717
--- /dev/null
+++ b/biblio/bibtex/contrib/directory/address-html.bst
@@ -0,0 +1,870 @@
+%% address-html.bst
+%% Copyright 1998-2003 Christophe Geuzaine <geuz@geuz.org>
+%
+% $Id: address-html.bst,v 1.8 2004/02/07 23:41:45 geuzaine Exp $
+%
+% This program can be redistributed and/or modified under the terms
+% of the LaTeX Project Public License distributed from CTAN
+% archives in directory macros/latex/base/lppl.txt; either
+% version 1 of the License, or (at your option) any later version.
+%
+% BibTeX bibliography style `address-html.bst'
+% 'directory' database: all fields
+%
+% This is definitively a hack...
+%
+% The parts you may want to customize are labeled with "CUSTOM"
+%
+
+INTEGERS { nameptr namesleft numnames numaux len }
+STRINGS { s t u v }
+
+% ------------------------------------------------------------
+% E N T R I E S
+% ------------------------------------------------------------
+
+ENTRY
+ { name
+ nickname
+ birthday
+ birthyear
+ address % if empty, use street, city, ...
+ street
+ city
+ state
+ zip
+ country
+ phone
+ cellular
+ fax
+ email
+ url
+ account
+ p.address % if empty, use p.street, p.city, ...
+ p.street
+ p.city
+ p.state
+ p.zip
+ p.country
+ p.phone
+ p.cellular
+ p.fax
+ p.email
+ p.url
+ p.account
+ r.address % if empty, use r.street, r.city, ...
+ r.street
+ r.city
+ r.state
+ r.zip
+ r.country
+ r.phone
+ r.cellular
+ r.fax
+ r.email
+ r.url
+ r.account
+ w.title
+ w.name
+ w.address % if empty, use w.street, w.city, ...
+ w.street
+ w.city
+ w.state
+ w.zip
+ w.country
+ w.phone
+ w.cellular
+ w.fax
+ w.email
+ w.url
+ w.account
+ note
+ }
+ {}
+ { birthday.str
+ private.str
+ residence.str
+ work.str
+ note.str
+ and.str
+ nickname.str
+ address.str
+ phone.str
+ cellular.str
+ fax.str
+ email.str
+ url.str
+ account.str
+ title.str
+ name.str
+ }
+
+
+% ------------------------------------------------------------
+% G E N E R A L
+% ------------------------------------------------------------
+
+FUNCTION {init.strings}
+{
+
+% CUSOTM this is the 'html' equivalent for the \dirXXX customization
+% commands
+
+ "<dt>&nbsp;&nbsp;&nbsp;&nbsp;<em>birthday</em></dt>" 'birthday.str :=
+ "<dt>&nbsp;&nbsp;&nbsp;&nbsp;<em>home</em></dt>" 'private.str :=
+ "<dt>&nbsp;&nbsp;&nbsp;&nbsp;<em>residence</em></dt>" 'residence.str :=
+ "<dt>&nbsp;&nbsp;&nbsp;&nbsp;<em>workplace</em></dt>" 'work.str :=
+ "<dt>&nbsp;&nbsp;&nbsp;&nbsp;<em>note</em></dt>" 'note.str :=
+
+ " and " 'and.str :=
+ " aka " 'nickname.str :=
+ "" 'address.str :=
+ "Tel: " 'phone.str :=
+ "Mobile: " 'cellular.str :=
+ "Fax: " 'fax.str :=
+ "" 'email.str :=
+ "" 'url.str :=
+ "Account: " 'account.str :=
+ "" 'title.str :=
+ "" 'name.str :=
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ write$
+ newline$
+ "<dd> " write$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {emailize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<A HREF=" quote$ * "mailto:" * swap$ * quote$ * " >" * swap$ * "</A>" * }
+ if$
+}
+
+FUNCTION {urlize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<A HREF=" quote$ * swap$ * quote$ * " >" * swap$ * "</A>" * }
+ if$
+}
+
+FUNCTION {ttize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<tt>" swap$ * "</tt>" * }
+ if$
+}
+
+% ------------------------------------------------------------
+% S O R T I N G F U N C T I O N S
+% ------------------------------------------------------------
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+FUNCTION {sort.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+
+FUNCTION {sort.raw.names}
+{ 't :=
+ "A " #2 "L'" #2
+ "An " #3 "Au " #3 "Le " #3 "La " #3
+ "The " #4 "Les " #4 "Aux " #4
+ t
+ chop.word chop.word
+ chop.word chop.word chop.word chop.word
+ chop.word chop.word chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {name.sort}
+{ name empty$
+ { " Name field missing in entry '" cite$ * "'" * warning$ "" }
+ { name sort.names }
+ if$
+}
+
+FUNCTION {raw.name.sort}
+{ name empty$
+ { " Name field missing in entry '" cite$ * "'" * warning$ "" }
+ { name sort.raw.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "company" =
+ type$ "place" =
+ or
+ { raw.name.sort }
+ { name.sort }
+ if$
+ " "
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+% ------------------------------------------------------------
+% P R E - A N D P O S T - H E A D E R S
+% ------------------------------------------------------------
+
+FUNCTION {begin.bib}
+{ "<HTML>" write$
+ newline$
+ "<TITLE>Address Book</TITLE>" write$
+ newline$
+}
+
+FUNCTION {end.bib}
+{ newline$
+ "<p><hr><center><font size=-1>This address book was generated by <A HREF= " write$
+ quote$ "http://www.geuz.org/directory/" * quote$ * write$
+ " >directory</A></center></HTML>" write$
+ newline$
+}
+
+% ------------------------------------------------------------
+% F O R M A T S
+% ------------------------------------------------------------
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {
+% CUSTOM uncomment one of the following lines to have the behaviour on the right
+ s nameptr "{ff{ } }{vv{ } }{ll{ }}{, jj{ }}" format.name$ 't := % Christophe de Geuzaine, jr
+% s nameptr "{f.{ } }{vv{ } }{ll{ }}{, jj{ }}" format.name$ 't := % C. de Geuzaine, jr
+% s nameptr "{vv{ } }{ll{ }}{ f.{ }}{, jj{ }}" format.name$ 't := % de Geuzaine C., jr
+% s nameptr "{vv{ } }{ll{ }}{, ff{ }}{, jj{ }}" format.name$ 't := % de Geuzaine, Christophe, jr
+
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { and.str * t * }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+
+FUNCTION {format.dates}
+{
+ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+
+ birthyear empty$
+ { #0 'numaux := }
+ { birthyear num.names$ 'numaux :=
+ numnames numaux =
+ { }
+ { " birthdays and birthyears don't match in entry '" cite$ * "'" * warning$ }
+ if$
+ }
+ if$
+
+% CUSTOM
+
+ { namesleft #0 > }
+ { s nameptr "{ff}" format.name$ 't :=
+ s nameptr "{ll}" format.name$ 'u :=
+
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * "/" * u * }
+ { and.str * t * "/" * u * }
+ if$
+ }
+ { t "/" * u * }
+ if$
+
+ numaux #0 > not
+ { }
+ { birthyear nameptr "{ll}" format.name$ 'v :=
+ "/" * v * }
+ if$
+
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ numaux #1 - 'numaux :=
+ }
+ while$
+}
+
+FUNCTION {format.years}
+{
+ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+
+ { namesleft #0 > }
+ { s nameptr "{ll}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { and.str * t * }
+ if$
+ }
+ t
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.name}
+{ name empty$
+ { "" }
+ { name format.names }
+ if$
+}
+
+FUNCTION {format.nickname}
+{ nickname empty$
+ { "" }
+ { nickname.str nickname format.names * }
+ if$
+}
+
+FUNCTION {format.birthday.flag}
+{ birthyear empty$ not
+ birthday empty$ not
+ or
+ { birthday.str }
+ { "" }
+ if$
+}
+
+FUNCTION {format.birthday}
+{ birthday empty$
+ {
+ birthyear empty$
+ { "" }
+ { birthyear format.years }
+ if$
+ }
+ { birthday format.dates }
+ if$
+}
+
+FUNCTION {format.address}
+{ address empty$
+ {
+ street empty$ city empty$ state empty$ zip empty$ country empty$
+ and and and and
+ { "" }
+ { address.str
+ street empty$ { "" * } { street " " * * } if$
+ city empty$ { "" * } { city " " * * } if$
+ state empty$ { "" * } { state " " * * } if$
+ zip empty$ { "" * } { zip " " * * } if$
+ country empty$ { "" * } { country * } if$
+ }
+ if$
+ }
+ { address.str address * }
+ if$
+}
+
+FUNCTION {format.account}
+{ account empty$
+ { "" }
+ { account.str account ttize * }
+ if$
+}
+
+FUNCTION {format.phone}
+{ phone empty$
+ { "" }
+ { phone.str phone * }
+ if$
+}
+
+FUNCTION {format.cellular}
+{ cellular empty$
+ { "" }
+ { cellular.str cellular * }
+ if$
+}
+
+FUNCTION {format.fax}
+{ fax empty$
+ { "" }
+ { fax.str fax * }
+ if$
+}
+
+FUNCTION {format.email}
+{ email empty$
+ { "" }
+ { email.str email email emailize * }
+ if$
+}
+
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { url.str url url urlize * }
+ if$
+}
+
+
+FUNCTION {format.p.flag}
+{ p.address empty$ not
+ p.street empty$ not
+ p.city empty$ not
+ p.state empty$ not
+ p.zip empty$ not
+ p.country empty$ not
+ p.phone empty$ not
+ p.cellular empty$ not
+ p.fax empty$ not
+ p.email empty$ not
+ p.url empty$ not
+ p.account empty$ not
+ or or or or or or or or or or or
+ { private.str }
+ { "" }
+ if$
+}
+
+FUNCTION {format.p.address}
+{ p.address empty$
+ {
+ p.street empty$ p.city empty$ p.state empty$ p.zip empty$ p.country empty$
+ and and and and
+ { "" }
+ { address.str
+ p.street empty$ { "" * } { p.street " " * * } if$
+ p.city empty$ { "" * } { p.city " " * * } if$
+ p.state empty$ { "" * } { p.state " " * * } if$
+ p.zip empty$ { "" * } { p.zip " " * * } if$
+ p.country empty$ { "" * } { p.country * } if$
+ }
+ if$
+ }
+ { address.str p.address * }
+ if$
+}
+
+FUNCTION {format.p.phone}
+{ p.phone empty$
+ { "" }
+ { phone.str p.phone * }
+ if$
+}
+
+FUNCTION {format.p.cellular}
+{ p.cellular empty$
+ { "" }
+ { cellular.str p.cellular * }
+ if$
+}
+
+FUNCTION {format.p.fax}
+{ p.fax empty$
+ { "" }
+ { fax.str p.fax * }
+ if$
+}
+
+FUNCTION {format.p.email}
+{ p.email empty$
+ { "" }
+ { email.str p.email p.email emailize * }
+ if$
+}
+
+FUNCTION {format.p.url}
+{ p.url empty$
+ { "" }
+ { url.str p.url p.url urlize * }
+ if$
+}
+
+FUNCTION {format.p.account}
+{ p.account empty$
+ { "" }
+ { account.str p.account ttize * }
+ if$
+}
+
+FUNCTION {format.r.flag}
+{ r.address empty$ not
+ r.street empty$ not
+ r.city empty$ not
+ r.state empty$ not
+ r.zip empty$ not
+ r.country empty$ not
+ r.phone empty$ not
+ r.cellular empty$ not
+ r.fax empty$ not
+ r.email empty$ not
+ r.url empty$ not
+ r.account empty$ not
+ or or or or or or or or or or or
+ { residence.str }
+ { "" }
+ if$
+}
+
+FUNCTION {format.r.address}
+{ r.address empty$
+ {
+ r.street empty$ r.city empty$ r.state empty$ r.zip empty$ r.country empty$
+ and and and and
+ { "" }
+ { address.str
+ r.street empty$ { "" * } { r.street " " * * } if$
+ r.city empty$ { "" * } { r.city " " * * } if$
+ r.state empty$ { "" * } { r.state " " * * } if$
+ r.zip empty$ { "" * } { r.zip " " * * } if$
+ r.country empty$ { "" * } { r.country * } if$
+ }
+ if$
+ }
+ { address.str r.address * }
+ if$
+}
+
+FUNCTION {format.r.phone}
+{ r.phone empty$
+ { "" }
+ { phone.str r.phone * }
+ if$
+}
+
+FUNCTION {format.r.cellular}
+{ r.cellular empty$
+ { "" }
+ { cellular.str r.cellular * }
+ if$
+}
+
+FUNCTION {format.r.fax}
+{ r.fax empty$
+ { "" }
+ { fax.str r.fax * }
+ if$
+}
+
+FUNCTION {format.r.email}
+{ r.email empty$
+ { "" }
+ { email.str r.email r.email emailize * }
+ if$
+}
+
+FUNCTION {format.r.url}
+{ r.url empty$
+ { "" }
+ { url.str r.url r.url urlize * }
+ if$
+}
+
+FUNCTION {format.r.account}
+{ r.account empty$
+ { "" }
+ { account.str r.account ttize * }
+ if$
+}
+
+FUNCTION {format.w.flag}
+{ w.title empty$ not
+ w.name empty$ not
+ w.address empty$ not
+ w.street empty$ not
+ w.city empty$ not
+ w.state empty$ not
+ w.zip empty$ not
+ w.country empty$ not
+ w.phone empty$ not
+ w.cellular empty$ not
+ w.fax empty$ not
+ w.email empty$ not
+ w.url empty$ not
+ w.account empty$ not
+ or or or or or or or or or or or or or
+ { work.str }
+ { "" }
+ if$
+}
+
+FUNCTION {format.w.title}
+{ w.title empty$
+ { "" }
+ { title.str w.title * }
+ if$
+}
+
+FUNCTION {format.w.name}
+{ w.name empty$
+ { "" }
+ { name.str w.name * }
+ if$
+}
+
+FUNCTION {format.w.address}
+{ w.address empty$
+ {
+ w.street empty$ w.city empty$ w.state empty$ w.zip empty$ w.country empty$
+ and and and and
+ { "" }
+ { address.str
+ w.street empty$ { "" * } { w.street " " * * } if$
+ w.city empty$ { "" * } { w.city " " * * } if$
+ w.state empty$ { "" * } { w.state " " * * } if$
+ w.zip empty$ { "" * } { w.zip " " * * } if$
+ w.country empty$ { "" * } { w.country * } if$
+ }
+ if$
+ }
+ { address.str w.address * }
+ if$
+}
+
+FUNCTION {format.w.phone}
+{ w.phone empty$
+ { "" }
+ { phone.str w.phone * }
+ if$
+}
+
+FUNCTION {format.w.cellular}
+{ w.cellular empty$
+ { "" }
+ { cellular.str w.cellular * }
+ if$
+}
+
+FUNCTION {format.w.fax}
+{ w.fax empty$
+ { "" }
+ { fax.str w.fax * }
+ if$
+}
+
+FUNCTION {format.w.email}
+{ w.email empty$
+ { "" }
+ { email.str w.email w.email emailize * }
+ if$
+}
+
+FUNCTION {format.w.url}
+{ w.url empty$
+ { "" }
+ { url.str w.url w.url urlize * }
+ if$
+}
+
+FUNCTION {format.w.account}
+{ w.account empty$
+ { "" }
+ { account.str w.account ttize * }
+ if$
+}
+
+FUNCTION {format.note.flag}
+{ note empty$
+ { "" }
+ { note.str }
+ if$
+}
+
+FUNCTION {format.note}
+{ note empty$
+ { "" }
+ { note }
+ if$
+}
+
+
+% ------------------------------------------------------------
+% P E R S O N E N T R Y
+% ------------------------------------------------------------
+
+FUNCTION { person }
+{
+ init.strings
+ newline$
+ "<p><dt><b>" write$
+ format.name write$
+ "</b></dt>" write$
+
+ format.nickname write$
+
+ ""
+ format.birthday.flag output
+ format.birthday output
+
+ format.p.flag output
+ format.p.address output
+ format.p.phone output
+ format.p.cellular output
+ format.p.fax output
+ format.p.email output
+ format.p.url output
+ format.p.account output
+
+ format.r.flag output
+ format.r.address output
+ format.r.phone output
+ format.r.cellular output
+ format.r.fax output
+ format.r.email output
+ format.r.url output
+ format.r.account output
+
+ format.w.flag output
+ format.w.title output
+ format.w.name output
+ format.w.address output
+ format.w.phone output
+ format.w.cellular output
+ format.w.fax output
+ format.w.email output
+ format.w.url output
+ format.w.account output
+
+ format.note.flag output
+ format.note output
+
+ write$
+ newline$
+}
+
+% ------------------------------------------------------------
+% C O M P A N Y E N T R Y
+% ------------------------------------------------------------
+
+
+FUNCTION { company }
+{
+ init.strings
+ newline$
+ "<p><dt><b>" write$
+ name write$
+ "</b></dt><dd>" write$
+
+ ""
+ format.address output
+ format.phone output
+ format.cellular output
+ format.fax output
+ format.email output
+ format.url output
+ format.account output
+ format.note.flag output
+ format.note output
+
+ write$
+ newline$
+}
+
+% ------------------------------------------------------------
+% P L A C E E N T R Y
+% ------------------------------------------------------------
+
+FUNCTION { place }
+{
+ init.strings
+ newline$
+ "<p><dt><b>" write$
+ name write$
+ "</b></dt><dd>" write$
+
+ ""
+ format.address output
+ format.phone output
+ format.cellular output
+ format.fax output
+ format.note.flag output
+ format.note output
+
+ write$
+ newline$
+}
+
+% ------------------------------------------------------------
+% M A I N
+% ------------------------------------------------------------
+
+READ
+ITERATE {presort}
+SORT
+EXECUTE {begin.bib}
+ITERATE {call.type$}
+EXECUTE {end.bib}
+
diff --git a/biblio/bibtex/contrib/directory/address-ldif.bst b/biblio/bibtex/contrib/directory/address-ldif.bst
new file mode 100644
index 0000000000..5d69f62df6
--- /dev/null
+++ b/biblio/bibtex/contrib/directory/address-ldif.bst
@@ -0,0 +1,679 @@
+%% address-ldif.bst
+%% Copyright 2003 Christophe Geuzaine <geuz@geuz.org>
+%
+% $Id: address-ldif.bst,v 1.7 2003/09/16 07:18:07 geuzaine Exp $
+%
+% This program can be redistributed and/or modified under the terms
+% of the LaTeX Project Public License distributed from CTAN
+% archives in directory macros/latex/base/lppl.txt; either
+% version 1 of the License, or (at your option) any later version.
+%
+% BibTeX bibliography style `address-ldif.bst'
+% 'directory' database: all fields
+%
+% This is definitively a hack... To get a working ldif file if the bib
+% file contains special characters (ISO Latin 1, etc.) you must
+% convert the output bbl file to UTF8. You can do it e.g. with the
+% following C code (found on the web, don't know who wrote it):
+%
+% /* Read Latin-1 (ISO-8859-1) characters from stdin, convert them
+% to UTF-8, and write the converted characters to stdout.
+% UTF-8 is defined by RFC 2044.
+% */
+% #include <errno.h>
+% #include <stdio.h>
+%
+% int
+% main (int argc, char** argv)
+% {
+% register int c;
+% while ((c = getchar()) != EOF) {
+% if ((c & 0x80) == 0) {
+% putchar (c);
+% } else {
+% putchar (0xC0 | (0x03 & (c >> 6)));
+% putchar (0x80 | (0x3F & c));
+% }
+% }
+% if ( ! feof (stdin)) {
+% errno = ferror (stdin);
+% perror (argv[0]);
+% }
+% return 0;
+% }
+%
+
+INTEGERS { nameptr namesleft numnames numaux len }
+STRINGS { s t u v }
+
+% ------------------------------------------------------------
+% E N T R I E S
+% ------------------------------------------------------------
+
+ENTRY
+ { name
+ nickname
+ birthday
+ birthyear
+ address % if empty, use street, city, ...
+ street
+ city
+ state
+ zip
+ country
+ phone
+ cellular
+ fax
+ email
+ url
+ account
+ p.address % if empty, use p.street, p.city, ...
+ p.street
+ p.city
+ p.state
+ p.zip
+ p.country
+ p.phone
+ p.cellular
+ p.fax
+ p.email
+ p.url
+ p.account
+ r.address % if empty, use r.street, r.city, ...
+ r.street
+ r.city
+ r.state
+ r.zip
+ r.country
+ r.phone
+ r.cellular
+ r.fax
+ r.email
+ r.url
+ r.account
+ w.title
+ w.name
+ w.address % if empty, use w.street, w.city, ...
+ w.street
+ w.city
+ w.state
+ w.zip
+ w.country
+ w.phone
+ w.cellular
+ w.fax
+ w.email
+ w.url
+ w.account
+ note
+ }
+ {}
+ {
+ }
+
+% ------------------------------------------------------------
+% G E N E R A L
+% ------------------------------------------------------------
+
+FUNCTION {output}
+{ 's :=
+ s empty$
+ {}
+ { s write$
+ newline$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+% ------------------------------------------------------------
+% P R E - A N D P O S T - H E A D E R S
+% ------------------------------------------------------------
+
+FUNCTION {begin.bib}
+{
+}
+
+FUNCTION {end.bib}
+{
+}
+
+% ------------------------------------------------------------
+% G E N E R A L F O R M A T T I N G F U N C T I O N S
+% ------------------------------------------------------------
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {
+ s nameptr "{ff{ } }{vv{ } }{ll{ }}{, jj{ }}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { " and " * t * }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.first.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {
+ s nameptr "{ff{ }}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { " and " * t * }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.last.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {
+ s nameptr "{vv{ } }{ll{ }}{, jj{ }}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { " and " * t * }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.dates}
+{
+ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+
+ birthyear empty$
+ { #0 'numaux := }
+ { birthyear num.names$ 'numaux :=
+ numnames numaux =
+ { }
+ { " birthdays and birthyears don't match in entry '" cite$ * "'" * warning$ }
+ if$
+ }
+ if$
+
+ { namesleft #0 > }
+ { s nameptr "{ff}" format.name$ 't :=
+ s nameptr "{ll}" format.name$ 'u :=
+
+ numaux #0 > not
+ { }
+ { birthyear nameptr "{ll}" format.name$ 'v :=
+ v * "-" * }
+ if$
+
+ nameptr #1 >
+ { ";" * u * "-" * t * }
+ { u "-" * t * }
+ if$
+
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ numaux #1 - 'numaux :=
+ }
+ while$
+}
+
+% ------------------------------------------------------------
+% V C A R D F I E L D F O R M A T S
+% ------------------------------------------------------------
+
+FUNCTION {format.name}
+{ name empty$
+ { "" }
+ { "cn: " name format.names * }
+ if$
+}
+
+FUNCTION {format.first.name}
+{ name empty$
+ { "" }
+ { "givenName: " name format.first.names * }
+ if$
+}
+
+FUNCTION {format.last.name}
+{ name empty$
+ { "" }
+ { "sn: " name format.last.names * }
+ if$
+}
+
+FUNCTION {format.simple.name}
+{ name empty$
+ { "" }
+ { "cn: " name * }
+ if$
+}
+
+FUNCTION {format.simple.last.name}
+{ name empty$
+ { "" }
+ { "sn: " name * }
+ if$
+}
+
+FUNCTION {format.nickname}
+{ nickname empty$
+ { "" }
+ { "xmozillanickname: " nickname * }
+ if$
+}
+
+FUNCTION {format.birthday}
+{ birthday empty$
+ {
+ birthyear empty$
+ { "" }
+ { "custom1: birthyear=" birthyear * }
+ if$
+ }
+ { "custom1: birthday=" birthday format.dates * }
+ if$
+}
+
+FUNCTION {format.address}
+{ address empty$
+ {
+ % ugly, but we need a new line after each field
+ street empty$ { skip$ } { "postalAddress: " street * output } if$
+ city empty$ { skip$ } { "l: " city * output } if$
+ state empty$ { skip$ } { "st: " state * output } if$
+ zip empty$ { skip$ } { "postalCode: " zip * output } if$
+ country empty$ { skip$ } { "c: " country * output } if$
+ ""
+ }
+ { "postalAddress: " address * }
+ if$
+}
+
+FUNCTION {format.account}
+{ account empty$
+ { "" }
+ { "custom2: account=" account * }
+ if$
+}
+
+FUNCTION {format.phone}
+{ phone empty$
+ { "" }
+ { "telephoneNumber: " phone * }
+ if$
+}
+
+FUNCTION {format.cellular}
+{ cellular empty$
+ { "" }
+ { "mobile: " cellular * }
+ if$
+}
+
+FUNCTION {format.fax}
+{ fax empty$
+ { "" }
+ { "facsimileTelephoneNumber: " fax * }
+ if$
+}
+
+FUNCTION {format.email}
+{ email empty$
+ { "" }
+ { "mail: " email * }
+ if$
+}
+
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { "workurl: " url * }
+ if$
+}
+
+FUNCTION {format.p.address}
+{ p.address empty$
+ {
+ % ugly, but we need a new line after each field
+ p.street empty$ { skip$ } { "homePostalAddress: " p.street * output } if$
+ p.city empty$ { skip$ } { "mozillaHomeLocalityName: " p.city * output } if$
+ p.state empty$ { skip$ } { "mozillaHomeState: " p.state * output } if$
+ p.zip empty$ { skip$ } { "mozillaHomePostalCode: " p.zip * output } if$
+ p.country empty$ { skip$ } { "mozillaHomeCountryName: " p.country * output } if$
+ ""
+ }
+ { "homePostalAddress: " p.address * }
+ if$
+}
+
+FUNCTION {format.p.phone}
+{ p.phone empty$
+ { "" }
+ { "homePhone: " p.phone * }
+ if$
+}
+
+FUNCTION {format.p.cellular}
+{ p.cellular empty$
+ { "" }
+ { "mobile: " p.cellular * }
+ if$
+}
+
+FUNCTION {format.p.fax}
+{ p.fax empty$
+ { "" }
+ { "facsimileTelephoneNumber: " p.fax * }
+ if$
+}
+
+FUNCTION {format.p.email}
+{ p.email empty$
+ { "" }
+ { "mail: " p.email * }
+ if$
+}
+
+FUNCTION {format.p.url}
+{ p.url empty$
+ { "" }
+ { "homeurl: " p.url * }
+ if$
+}
+
+FUNCTION {format.p.account}
+{ p.account empty$
+ { "" }
+ { "custom2: account=" p.account * }
+ if$
+}
+
+FUNCTION {format.r.address}
+{ r.address empty$
+ {
+ % ugly, but we need a new line after each field
+ r.street empty$ { skip$ } { "homePostalAddress: " r.street * output } if$
+ r.city empty$ { skip$ } { "mozillaHomeLocalityName: " r.city * output } if$
+ r.state empty$ { skip$ } { "mozillaHomeState: " r.state * output } if$
+ r.zip empty$ { skip$ } { "mozillaHomePostalCode: " r.zip * output } if$
+ r.country empty$ { skip$ } { "mozillaHomeCountryName: " r.country * output } if$
+ ""
+ }
+ { "homePostalAddress: " r.address * }
+ if$
+}
+
+FUNCTION {format.r.phone}
+{ r.phone empty$
+ { "" }
+ { "homePhone: " r.phone * }
+ if$
+}
+
+FUNCTION {format.r.cellular}
+{ r.cellular empty$
+ { "" }
+ { "mobile: " r.cellular * }
+ if$
+}
+
+FUNCTION {format.r.fax}
+{ r.fax empty$
+ { "" }
+ { "facsimileTelephoneNumber: " r.fax * }
+ if$
+}
+
+FUNCTION {format.r.email}
+{ r.email empty$
+ { "" }
+ { "mail: " r.email * }
+ if$
+}
+
+FUNCTION {format.r.url}
+{ r.url empty$
+ { "" }
+ { "homeurl: " r.url * }
+ if$
+}
+
+FUNCTION {format.r.account}
+{ r.account empty$
+ { "" }
+ { "custom2: account=" r.account * }
+ if$
+}
+
+FUNCTION {format.w.title}
+{ w.title empty$
+ { "" }
+ { "title: " w.title * }
+ if$
+}
+
+FUNCTION {format.w.name}
+{ w.name empty$
+ { "" }
+ { "o: " w.name * }
+ if$
+}
+
+FUNCTION {format.w.address}
+{ w.address empty$
+ {
+ % ugly, but we need a new line after each field
+ w.street empty$ { skip$ } { "postalAddress: " w.street * output } if$
+ w.city empty$ { skip$ } { "l: " w.city * output } if$
+ w.state empty$ { skip$ } { "st: " w.state * output } if$
+ w.zip empty$ { skip$ } { "postalCode: " w.zip * output } if$
+ w.country empty$ { skip$ } { "c: " w.country * output } if$
+ ""
+ }
+ { "postalAddress: " w.address * }
+ if$
+}
+
+FUNCTION {format.w.phone}
+{ w.phone empty$
+ { "" }
+ { "telephoneNumber: " w.phone * }
+ if$
+}
+
+FUNCTION {format.w.cellular}
+{ w.cellular empty$
+ { "" }
+ { "mobile: " w.cellular * }
+ if$
+}
+
+FUNCTION {format.w.fax}
+{ w.fax empty$
+ { "" }
+ { "facsimileTelephoneNumber: " w.fax * }
+ if$
+}
+
+FUNCTION {format.w.email}
+{ w.email empty$
+ { "" }
+ { "mail: " w.email * }
+ if$
+}
+
+FUNCTION {format.w.url}
+{ w.url empty$
+ { "" }
+ { "workurl: " w.url * }
+ if$
+}
+
+FUNCTION {format.w.account}
+{ w.account empty$
+ { "" }
+ { "custom2: account=" w.account * }
+ if$
+}
+
+FUNCTION {format.note}
+{ note empty$
+ { "" }
+ { "description: " note * }
+ if$
+}
+
+% ------------------------------------------------------------
+% P E R S O N E N T R Y
+% ------------------------------------------------------------
+
+FUNCTION { person }
+{
+ "objectclass: top" output
+ "objectclass: person" output
+ "objectclass: organizationalPerson" output
+ "objectclass: inetOrgPerson" output
+ "objectclass: mozillaAbPersonObsolete" output
+
+ format.first.name output
+ format.last.name output
+ format.name output
+ format.nickname output
+ format.birthday output
+
+ format.p.address output
+ format.p.phone output
+ format.p.cellular output
+ format.p.fax output
+ format.p.email output
+ format.p.url output
+ format.p.account output
+
+ format.r.address output
+ format.r.phone output
+ format.r.cellular output
+ format.r.fax output
+ format.r.email output
+ format.r.url output
+ format.r.account output
+
+ format.w.title output
+ format.w.name output
+ format.w.address output
+ format.w.phone output
+ format.w.cellular output
+ format.w.fax output
+ format.w.email output
+ format.w.url output
+ format.w.account output
+
+ format.note output
+
+ newline$
+}
+
+% ------------------------------------------------------------
+% C O M P A N Y E N T R Y
+% ------------------------------------------------------------
+
+FUNCTION { company }
+{
+ "objectclass: top" output
+ "objectclass: person" output
+ "objectclass: organizationalPerson" output
+ "objectclass: inetOrgPerson" output
+ "objectclass: mozillaAbPersonObsolete" output
+
+ format.simple.last.name output
+ format.simple.name output
+ format.address output
+ format.phone output
+ format.cellular output
+ format.fax output
+ format.email output
+ format.url output
+ format.account output
+ format.note output
+
+ newline$
+}
+
+% ------------------------------------------------------------
+% P L A C E E N T R Y
+% ------------------------------------------------------------
+
+FUNCTION { place }
+{
+ "objectclass: top" output
+ "objectclass: person" output
+ "objectclass: organizationalPerson" output
+ "objectclass: inetOrgPerson" output
+ "objectclass: mozillaAbPersonObsolete" output
+
+ format.simple.last.name output
+ format.simple.name output
+ format.address output
+ format.phone output
+ format.cellular output
+ format.fax output
+ format.note output
+
+ newline$
+}
+
+% ------------------------------------------------------------
+% M A I N
+% ------------------------------------------------------------
+
+READ
+EXECUTE {begin.bib}
+ITERATE {call.type$}
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/directory/address-vcard.bst b/biblio/bibtex/contrib/directory/address-vcard.bst
new file mode 100644
index 0000000000..394330b141
--- /dev/null
+++ b/biblio/bibtex/contrib/directory/address-vcard.bst
@@ -0,0 +1,612 @@
+%% address-vcard.bst
+%% Copyright 2003-2004 Christophe Geuzaine <geuz@geuz.org>
+%
+% $Id: address-vcard.bst,v 1.9 2004/01/10 06:45:16 geuzaine Exp $
+%
+% This program can be redistributed and/or modified under the terms
+% of the LaTeX Project Public License distributed from CTAN
+% archives in directory macros/latex/base/lppl.txt; either
+% version 1 of the License, or (at your option) any later version.
+%
+% BibTeX bibliography style `address-vcard.bst'
+% 'directory' database: all fields
+%
+% This is definitively a hack... It assumes the character encoding to
+% be ISO Latin 1. Multi-name entries are not treated entirely
+% correctly due to limitations in the vCard spec.
+%
+% Also, bibtex splits lines automatically in the output file, which
+% can cause alignment problems (and apparently encoding problems with
+% Apple's address book application). You can e.g. fix bibtex's output
+% with awk:
+%
+% awk "!/^ /{ buf[i++] = $0; }
+% /^ /{ buf[i-1] = buf[i-1] substr($0,2,length($0)-1) }
+% END{ for(j=0;j<i;j++) print buf[j] }" file.bbl
+
+INTEGERS { nameptr namesleft numnames numaux len }
+STRINGS { s t u v }
+
+% ------------------------------------------------------------
+% E N T R I E S
+% ------------------------------------------------------------
+
+ENTRY
+ { name
+ nickname
+ birthday
+ birthyear
+ address % if empty, use street, city, ...
+ street
+ city
+ state
+ zip
+ country
+ phone
+ cellular
+ fax
+ email
+ url
+ account
+ p.address % if empty, use p.street, p.city, ...
+ p.street
+ p.city
+ p.state
+ p.zip
+ p.country
+ p.phone
+ p.cellular
+ p.fax
+ p.email
+ p.url
+ p.account
+ r.address % if empty, use r.street, r.city, ...
+ r.street
+ r.city
+ r.state
+ r.zip
+ r.country
+ r.phone
+ r.cellular
+ r.fax
+ r.email
+ r.url
+ r.account
+ w.title
+ w.name
+ w.address % if empty, use w.street, w.city, ...
+ w.street
+ w.city
+ w.state
+ w.zip
+ w.country
+ w.phone
+ w.cellular
+ w.fax
+ w.email
+ w.url
+ w.account
+ note
+ }
+ {}
+ {
+ }
+
+% ------------------------------------------------------------
+% G E N E R A L
+% ------------------------------------------------------------
+
+FUNCTION {output}
+{ 's :=
+ s empty$
+ {}
+ { s write$
+ newline$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+% ------------------------------------------------------------
+% P R E - A N D P O S T - H E A D E R S
+% ------------------------------------------------------------
+
+FUNCTION {begin.bib}
+{
+}
+
+FUNCTION {end.bib}
+{
+}
+
+% ------------------------------------------------------------
+% G E N E R A L F O R M A T T I N G F U N C T I O N S
+% ------------------------------------------------------------
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {
+ % "Clinton; Bill (with Hillary Rodham, Chelsee and Christophe Geuzaine)"
+ nameptr #1 >
+ { s nameptr "{ff }{vv }{ll}{\, jj}" format.name$ 't := }
+ { s nameptr "{vv{ } }{ll{ }}{;ff{ }}{\, jj{ }}" format.name$ 't := }
+ if$
+ nameptr #1 >
+ {
+ nameptr #2 =
+ { " (with " * t * }
+ {
+ namesleft #1 >
+ { ", " * t * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ namesleft #1 =
+ { ")" * }
+ { }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.dates}
+{
+ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+
+ birthyear empty$
+ { #0 'numaux := }
+ { birthyear num.names$ 'numaux :=
+ numnames numaux =
+ { }
+ { " birthdays and birthyears don't match in entry '" cite$ * "'" * warning$ }
+ if$
+ }
+ if$
+
+ { namesleft #0 > }
+ { s nameptr "{ff}" format.name$ 't :=
+ s nameptr "{ll}" format.name$ 'u :=
+
+ numaux #0 > not
+ { }
+ { birthyear nameptr "{ll}" format.name$ 'v :=
+ v * "-" * }
+ if$
+
+ nameptr #1 >
+ { ";" * u * "-" * t * }
+ { u "-" * t * }
+ if$
+
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ numaux #1 - 'numaux :=
+ }
+ while$
+}
+
+% ------------------------------------------------------------
+% V C A R D F I E L D F O R M A T S
+% ------------------------------------------------------------
+
+FUNCTION {format.name}
+{ name empty$
+ { "" }
+ { "N;charset=iso-8859-1:" name format.names * }
+ if$
+}
+
+FUNCTION {format.simple.name}
+{ name empty$
+ { "" }
+ { "N;charset=iso-8859-1:" name ";" * * }
+ if$
+}
+
+FUNCTION {format.nickname}
+{ nickname empty$
+ { "" }
+ { "NICKNAME;charset=iso-8859-1:" nickname * }
+ if$
+}
+
+FUNCTION {format.birthday}
+{ birthday empty$
+ {
+ birthyear empty$
+ { "" }
+ { "BDAY;value=date:" birthyear * }
+ if$
+ }
+ { "BDAY;value=date:" birthday format.dates * }
+ if$
+}
+
+FUNCTION {format.address}
+{ address empty$
+ {
+ street empty$ city empty$ state empty$ zip empty$ country empty$
+ and and and and
+ { "" }
+ { "ADR;type=WORK;charset=iso-8859-1:;;"
+ street empty$ { "" } { street } if$ * ";" *
+ city empty$ { "" } { city } if$ * ";" *
+ state empty$ { "" } { state } if$ * ";" *
+ zip empty$ { "" } { zip } if$ * ";" *
+ country empty$ { "" } { country } if$ *
+ }
+ if$
+ }
+ { "ADR;type=WORK;charset=iso-8859-1:;;" address * ";;;;" * }
+ if$
+}
+
+FUNCTION {format.account}
+{ account empty$
+ { "" }
+ { "ACCOUNT:" account * }
+ if$
+}
+
+FUNCTION {format.phone}
+{ phone empty$
+ { "" }
+ { "TEL;type=WORK:" phone * }
+ if$
+}
+
+FUNCTION {format.cellular}
+{ cellular empty$
+ { "" }
+ { "TEL;type=CELL:" cellular * }
+ if$
+}
+
+FUNCTION {format.fax}
+{ fax empty$
+ { "" }
+ { "TEL;type=FAX:" fax * }
+ if$
+}
+
+FUNCTION {format.email}
+{ email empty$
+ { "" }
+ { "EMAIL:" email * }
+ if$
+}
+
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { "URL:" url * }
+ if$
+}
+
+FUNCTION {format.p.address}
+{ p.address empty$
+ {
+ p.street empty$ p.city empty$ p.state empty$ p.zip empty$ p.country empty$
+ and and and and
+ { "" }
+ { "ADR;type=HOME;charset=iso-8859-1:;;"
+ p.street empty$ { "" } { p.street } if$ * ";" *
+ p.city empty$ { "" } { p.city } if$ * ";" *
+ p.state empty$ { "" } { p.state } if$ * ";" *
+ p.zip empty$ { "" } { p.zip } if$ * ";" *
+ p.country empty$ { "" } { p.country } if$ *
+ }
+ if$
+ }
+ { "ADR;type=HOME;charset=iso-8859-1:;;" p.address * ";;;;" * }
+ if$
+}
+
+FUNCTION {format.p.phone}
+{ p.phone empty$
+ { "" }
+ { "TEL;type=HOME:" p.phone * }
+ if$
+}
+
+FUNCTION {format.p.cellular}
+{ p.cellular empty$
+ { "" }
+ { "TEL;type=CELL:" p.cellular * }
+ if$
+}
+
+FUNCTION {format.p.fax}
+{ p.fax empty$
+ { "" }
+ { "TEL;type=FAX;type=HOME:" p.fax * }
+ if$
+}
+
+FUNCTION {format.p.email}
+{ p.email empty$
+ { "" }
+ { "EMAIL;type=HOME:" p.email * }
+ if$
+}
+
+FUNCTION {format.p.url}
+{ p.url empty$
+ { "" }
+ { "URL;type=HOME:" p.url * }
+ if$
+}
+
+FUNCTION {format.p.account}
+{ p.account empty$
+ { "" }
+ { "ACCOUNT;type=HOME:" p.account * }
+ if$
+}
+
+FUNCTION {format.r.address}
+{ r.address empty$
+ {
+ r.street empty$ r.city empty$ r.state empty$ r.zip empty$ r.country empty$
+ and and and and
+ { "" }
+ { "ADR;type=HOME;charset=iso-8859-1:;;"
+ r.street empty$ { "" } { r.street } if$ * ";" *
+ r.city empty$ { "" } { r.city } if$ * ";" *
+ r.state empty$ { "" } { r.state } if$ * ";" *
+ r.zip empty$ { "" } { r.zip } if$ * ";" *
+ r.country empty$ { "" } { r.country } if$ *
+ }
+ if$
+ }
+ { "ADR;type=HOME;charset=iso-8859-1:;;" r.address * ";;;;" * }
+ if$
+}
+
+FUNCTION {format.r.phone}
+{ r.phone empty$
+ { "" }
+ { "TEL;type=HOME:" r.phone * }
+ if$
+}
+
+FUNCTION {format.r.cellular}
+{ r.cellular empty$
+ { "" }
+ { "TEL;type=CELL:" r.cellular * }
+ if$
+}
+
+FUNCTION {format.r.fax}
+{ r.fax empty$
+ { "" }
+ { "TEL;type=FAX;type=HOME:" r.fax * }
+ if$
+}
+
+FUNCTION {format.r.email}
+{ r.email empty$
+ { "" }
+ { "EMAIL;type=HOME:" r.email * }
+ if$
+}
+
+FUNCTION {format.r.url}
+{ r.url empty$
+ { "" }
+ { "URL;type=HOME:" r.url * }
+ if$
+}
+
+FUNCTION {format.r.account}
+{ r.account empty$
+ { "" }
+ { "ACCOUNT;type=HOME:" r.account * }
+ if$
+}
+
+FUNCTION {format.w.title}
+{ w.title empty$
+ { "" }
+ { "TITLE;charset=iso-8859-1:" w.title * }
+ if$
+}
+
+FUNCTION {format.w.name}
+{ w.name empty$
+ { "" }
+ { "ORG;charset=iso-8859-1:" w.name * }
+ if$
+}
+
+FUNCTION {format.w.address}
+{ w.address empty$
+ {
+ w.street empty$ w.city empty$ w.state empty$ w.zip empty$ w.country empty$
+ and and and and
+ { "" }
+ { "ADR;type=WORK;charset=iso-8859-1:;;"
+ w.street empty$ { "" } { w.street } if$ * ";" *
+ w.city empty$ { "" } { w.city } if$ * ";" *
+ w.state empty$ { "" } { w.state } if$ * ";" *
+ w.zip empty$ { "" } { w.zip } if$ * ";" *
+ w.country empty$ { "" } { w.country } if$ *
+ }
+ if$
+ }
+ { "ADR;type=WORK;charset=iso-8859-1:;;" w.address * ";;;;" * }
+ if$
+}
+
+FUNCTION {format.w.phone}
+{ w.phone empty$
+ { "" }
+ { "TEL;type=WORK:" w.phone * }
+ if$
+}
+
+FUNCTION {format.w.cellular}
+{ w.cellular empty$
+ { "" }
+ { "TEL;type=CELL:" w.cellular * }
+ if$
+}
+
+FUNCTION {format.w.fax}
+{ w.fax empty$
+ { "" }
+ { "TEL;type=FAX;type=WORK:" w.fax * }
+ if$
+}
+
+FUNCTION {format.w.email}
+{ w.email empty$
+ { "" }
+ { "EMAIL;type=WORK:" w.email * }
+ if$
+}
+
+FUNCTION {format.w.url}
+{ w.url empty$
+ { "" }
+ { "URL;type=WORK:" w.url * }
+ if$
+}
+
+FUNCTION {format.w.account}
+{ w.account empty$
+ { "" }
+ { "ACCOUNT;type=WORK:" w.account * }
+ if$
+}
+
+FUNCTION {format.note}
+{ note empty$
+ { "" }
+ { "NOTE;charset=iso-8859-1:" note * }
+ if$
+}
+
+% ------------------------------------------------------------
+% P E R S O N E N T R Y
+% ------------------------------------------------------------
+
+FUNCTION { person }
+{
+ "BEGIN:VCARD" output
+ "VERSION:3.0" output
+
+ format.name output
+ format.nickname output
+ format.birthday output
+
+ format.p.address output
+ format.p.phone output
+ format.p.cellular output
+ format.p.fax output
+ format.p.email output
+ format.p.url output
+ format.p.account output
+
+ format.r.address output
+ format.r.phone output
+ format.r.cellular output
+ format.r.fax output
+ format.r.email output
+ format.r.url output
+ format.r.account output
+
+ format.w.title output
+ format.w.name output
+ format.w.address output
+ format.w.phone output
+ format.w.cellular output
+ format.w.fax output
+ format.w.email output
+ format.w.url output
+ format.w.account output
+
+ format.note output
+
+ "END:VCARD" output
+}
+
+% ------------------------------------------------------------
+% C O M P A N Y E N T R Y
+% ------------------------------------------------------------
+
+FUNCTION { company }
+{
+ "BEGIN:VCARD" output
+ "VERSION:3.0" output
+
+ format.simple.name output
+ format.address output
+ format.phone output
+ format.cellular output
+ format.fax output
+ format.email output
+ format.url output
+ format.account output
+ format.note output
+
+ "END:VCARD" output
+}
+
+% ------------------------------------------------------------
+% P L A C E E N T R Y
+% ------------------------------------------------------------
+
+FUNCTION { place }
+{
+ "BEGIN:VCARD" output
+ "VERSION:3.0" output
+
+ format.simple.name output
+ format.address output
+ format.phone output
+ format.cellular output
+ format.fax output
+ format.note output
+
+ "END:VCARD" output
+}
+
+% ------------------------------------------------------------
+% M A I N
+% ------------------------------------------------------------
+
+READ
+EXECUTE {begin.bib}
+ITERATE {call.type$}
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/directory/address.bst b/biblio/bibtex/contrib/directory/address.bst
new file mode 100644
index 0000000000..4a7cface0d
--- /dev/null
+++ b/biblio/bibtex/contrib/directory/address.bst
@@ -0,0 +1,852 @@
+%% address.bst
+%% Copyright 1998-2003 Christophe Geuzaine <geuz@geuz.org>
+%
+% $Id: address.bst,v 1.7 2003/09/16 07:18:07 geuzaine Exp $
+%
+% This program can be redistributed and/or modified under the terms
+% of the LaTeX Project Public License distributed from CTAN
+% archives in directory macros/latex/base/lppl.txt; either
+% version 1 of the License, or (at your option) any later version.
+%
+% BibTeX bibliography style `address.bst'
+% 'directory' database: all fields
+%
+% The parts you may want to customize are labeled with "CUSTOM"
+%
+
+INTEGERS { nameptr namesleft numnames numaux len }
+STRINGS { s t u v }
+
+% ------------------------------------------------------------
+% E N T R I E S
+% ------------------------------------------------------------
+
+ENTRY
+ { name
+ nickname
+ birthday
+ birthyear
+ address % if empty, use street, city, ...
+ street
+ city
+ state
+ zip
+ country
+ phone
+ cellular
+ fax
+ email
+ url
+ account
+ p.address % if empty, use p.street, p.city, ...
+ p.street
+ p.city
+ p.state
+ p.zip
+ p.country
+ p.phone
+ p.cellular
+ p.fax
+ p.email
+ p.url
+ p.account
+ r.address % if empty, use r.street, r.city, ...
+ r.street
+ r.city
+ r.state
+ r.zip
+ r.country
+ r.phone
+ r.cellular
+ r.fax
+ r.email
+ r.url
+ r.account
+ w.title
+ w.name
+ w.address % if empty, use w.street, w.city, ...
+ w.street
+ w.city
+ w.state
+ w.zip
+ w.country
+ w.phone
+ w.cellular
+ w.fax
+ w.email
+ w.url
+ w.account
+ note
+ }
+ {}
+ { label
+ letter
+ }
+
+% ------------------------------------------------------------
+% G E N E R A L
+% ------------------------------------------------------------
+
+FUNCTION {output}
+{ 's :=
+ s empty$
+ {}
+ { s write$
+ newline$
+ "\dirblock" write$
+ newline$
+ }
+ if$
+}
+
+FUNCTION {output.flag}
+{ 's :=
+ s empty$
+ {}
+ { s write$
+ newline$
+ }
+ if$
+}
+
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+% ------------------------------------------------------------
+% S O R T I N G F U N C T I O N S
+% ------------------------------------------------------------
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+FUNCTION {sort.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+
+FUNCTION {sort.raw.names}
+{ 't :=
+ "A " #2 "L'" #2
+ "An " #3 "Au " #3 "Le " #3 "La " #3
+ "The " #4 "Les " #4 "Aux " #4
+ t
+ chop.word chop.word
+ chop.word chop.word chop.word chop.word
+ chop.word chop.word chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {name.sort}
+{ name empty$
+ { " Name field missing in entry '" cite$ * "'" * warning$ "" }
+ { name sort.names }
+ if$
+}
+
+FUNCTION {raw.name.sort}
+{ name empty$
+ { " Name field missing in entry '" cite$ * "'" * warning$ "" }
+ { name sort.raw.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "company" =
+ type$ "place" =
+ or
+ { raw.name.sort }
+ { name.sort }
+ if$
+ " "
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+FUNCTION {format.first.letter}
+{ type$ "company" =
+ type$ "place" =
+ or
+ { raw.name.sort }
+ { name.sort }
+ if$
+ #1 #1 substring$
+}
+
+% ------------------------------------------------------------
+% P R E - A N D P O S T - H E A D E R S
+% ------------------------------------------------------------
+
+FUNCTION {begin.bib}
+{ "\begin{theaddressbook}" write$
+ newline$
+}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{theaddressbook}" write$
+ newline$
+}
+
+% ------------------------------------------------------------
+% F O R M A T S
+% ------------------------------------------------------------
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {
+% CUSTOM uncomment one of the following lines to have the behaviour on the right
+ s nameptr "{ff }{vv }{ll}{, jj}" format.name$ 't := % Christophe de Geuzaine, jr
+% s nameptr "{f. }{vv }{ll}{, jj}" format.name$ 't := % C. de Geuzaine, jr
+% s nameptr "{vv }{ll}{ f.}{, jj}" format.name$ 't := % de Geuzaine C., jr
+% s nameptr "{vv }{ll}{, ff}{, jj}" format.name$ 't := % de Geuzaine, Christophe, jr
+
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { " {\dirandf} " * t * }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+
+FUNCTION {format.dates}
+{
+ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+
+ birthyear empty$
+ { #0 'numaux := }
+ { birthyear num.names$ 'numaux :=
+ numnames numaux =
+ { }
+ { " birthdays and birthyears don't match in entry '" cite$ * "'" * warning$ }
+ if$
+ }
+ if$
+
+% CUSTOM you shoudn't change this, but rather redefine the command \Dirbirthday.
+
+ { namesleft #0 > }
+ { s nameptr "{ff}" format.name$ 't :=
+ s nameptr "{ll}" format.name$ 'u :=
+
+ nameptr #1 >
+ { namesleft #1 >
+ { ", \dirbira{" * t * "}{" * u * "}" * }
+ { " {\dirandf} \dirbira{" * t * "}{" * u * "}" * }
+ if$
+ }
+ { "\dirbira{" t * "}{" * u * "}" * }
+ if$
+
+ numaux #0 > not
+ { }
+ { birthyear nameptr "{ll}" format.name$ 'v :=
+ "\dirbiya{" * v * "}" * }
+ if$
+
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ numaux #1 - 'numaux :=
+ }
+ while$
+}
+
+FUNCTION {format.years}
+{
+ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+
+ { namesleft #0 > }
+ { s nameptr "{ll}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", \dirbyra{" * t * "}" * }
+ { " {\dirandf} \dirbyra{" * t * "}" * }
+ if$
+ }
+ { "\dirbyra{" t * "}" * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.name}
+{ name empty$
+ { "" }
+ { name format.names }
+ if$
+}
+
+FUNCTION {format.nickname}
+{ nickname empty$
+ { "" }
+ { newline$
+ "\dirnica{" nickname format.names "}" * * }
+ if$
+}
+
+FUNCTION {format.birthday.flag}
+{ birthyear empty$ not
+ birthday empty$ not
+ or
+ { "\dirbirf" }
+ { "" }
+ if$
+}
+
+FUNCTION {format.birthday}
+{ birthday empty$
+ {
+ birthyear empty$
+ { "" }
+ { birthyear format.years }
+ if$
+ }
+ { birthday format.dates }
+ if$
+}
+
+FUNCTION {format.address}
+{ address empty$
+ {
+ street empty$ city empty$ state empty$ zip empty$ country empty$
+ and and and and
+ { "" }
+ { "\diradda{"
+ street empty$ { "" * } { street "\dirblock " * * } if$
+ city empty$ { "" * } { city " " * * } if$
+ state empty$ { "" * } { state " " * * } if$
+ zip empty$ { "" * } { zip " " * * } if$
+ country empty$ { "" * } { country * } if$
+ "}" *
+ }
+ if$
+ }
+ { "\diradda{" address "}" * * }
+ if$
+}
+
+FUNCTION {format.account}
+{ account empty$
+ { "" }
+ { "\diracca{" account "}" * * }
+ if$
+}
+
+FUNCTION {format.phone}
+{ phone empty$
+ { "" }
+ { "\dirphoa{" phone "}" * * }
+ if$
+}
+
+FUNCTION {format.cellular}
+{ cellular empty$
+ { "" }
+ { "\dircela{" cellular "}" * * }
+ if$
+}
+
+FUNCTION {format.fax}
+{ fax empty$
+ { "" }
+ { "\dirfaxa{" fax "}" * * }
+ if$
+}
+
+FUNCTION {format.email}
+{ email empty$
+ { "" }
+ { "\diremaa{" email "}" * * }
+ if$
+}
+
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { "\dirurla{" url "}" * * }
+ if$
+}
+
+
+FUNCTION {format.p.flag}
+{ p.address empty$ not
+ p.street empty$ not
+ p.city empty$ not
+ p.state empty$ not
+ p.zip empty$ not
+ p.country empty$ not
+ p.phone empty$ not
+ p.cellular empty$ not
+ p.fax empty$ not
+ p.email empty$ not
+ p.url empty$ not
+ p.account empty$ not
+ or or or or or or or or or or or
+ { "\dirprif" }
+ { "" }
+ if$
+}
+
+FUNCTION {format.p.address}
+{ p.address empty$
+ {
+ p.street empty$ p.city empty$ p.state empty$ p.zip empty$ p.country empty$
+ and and and and
+ { "" }
+ { "\dirpadda{"
+ p.street empty$ { "" * } { p.street "\dirblock " * * } if$
+ p.city empty$ { "" * } { p.city " " * * } if$
+ p.state empty$ { "" * } { p.state " " * * } if$
+ p.zip empty$ { "" * } { p.zip " " * * } if$
+ p.country empty$ { "" * } { p.country * } if$
+ "}" *
+ }
+ if$
+ }
+ { "\dirpadda{" p.address "}" * * }
+ if$
+}
+
+FUNCTION {format.p.phone}
+{ p.phone empty$
+ { "" }
+ { "\dirpphoa{" p.phone "}" * * }
+ if$
+}
+
+FUNCTION {format.p.cellular}
+{ p.cellular empty$
+ { "" }
+ { "\dirpcela{" p.cellular "}" * * }
+ if$
+}
+
+FUNCTION {format.p.fax}
+{ p.fax empty$
+ { "" }
+ { "\dirpfaxa{" p.fax "}" * * }
+ if$
+}
+
+FUNCTION {format.p.email}
+{ p.email empty$
+ { "" }
+ { "\dirpemaa{" p.email "}" * * }
+ if$
+}
+
+FUNCTION {format.p.url}
+{ p.url empty$
+ { "" }
+ { "\dirpurla{" p.url "}" * * }
+ if$
+}
+
+FUNCTION {format.p.account}
+{ p.account empty$
+ { "" }
+ { "\dirpacca{" p.account "}" * * }
+ if$
+}
+
+FUNCTION {format.r.flag}
+{ r.address empty$ not
+ r.street empty$ not
+ r.city empty$ not
+ r.state empty$ not
+ r.zip empty$ not
+ r.country empty$ not
+ r.phone empty$ not
+ r.cellular empty$ not
+ r.fax empty$ not
+ r.email empty$ not
+ r.url empty$ not
+ r.account empty$ not
+ or or or or or or or or or or or
+ { "\dirresf" }
+ { "" }
+ if$
+}
+
+FUNCTION {format.r.address}
+{ r.address empty$
+ {
+ r.street empty$ r.city empty$ r.state empty$ r.zip empty$ r.country empty$
+ and and and and
+ { "" }
+ { "\dirpadda{"
+ r.street empty$ { "" * } { r.street "\dirblock " * * } if$
+ r.city empty$ { "" * } { r.city " " * * } if$
+ r.state empty$ { "" * } { r.state " " * * } if$
+ r.zip empty$ { "" * } { r.zip " " * * } if$
+ r.country empty$ { "" * } { r.country * } if$
+ "}" *
+ }
+ if$
+ }
+ { "\dirradda{" r.address "}" * * }
+ if$
+}
+
+FUNCTION {format.r.phone}
+{ r.phone empty$
+ { "" }
+ { "\dirrphoa{" r.phone "}" * * }
+ if$
+}
+
+FUNCTION {format.r.cellular}
+{ r.cellular empty$
+ { "" }
+ { "\dirrcela{" r.cellular "}" * * }
+ if$
+}
+
+FUNCTION {format.r.fax}
+{ r.fax empty$
+ { "" }
+ { "\dirrfaxa{" r.fax "}" * * }
+ if$
+}
+
+FUNCTION {format.r.email}
+{ r.email empty$
+ { "" }
+ { "\dirremaa{" r.email "}" * * }
+ if$
+}
+
+FUNCTION {format.r.url}
+{ r.url empty$
+ { "" }
+ { "\dirrurla{" r.url "}" * * }
+ if$
+}
+
+FUNCTION {format.r.account}
+{ r.account empty$
+ { "" }
+ { "\dirracca{" r.account "}" * * }
+ if$
+}
+
+FUNCTION {format.w.flag}
+{ w.title empty$ not
+ w.name empty$ not
+ w.address empty$ not
+ w.street empty$ not
+ w.city empty$ not
+ w.state empty$ not
+ w.zip empty$ not
+ w.country empty$ not
+ w.phone empty$ not
+ w.cellular empty$ not
+ w.fax empty$ not
+ w.email empty$ not
+ w.url empty$ not
+ w.account empty$ not
+ or or or or or or or or or or or or or
+ { "\dirworf" }
+ { "" }
+ if$
+}
+
+FUNCTION {format.w.title}
+{ w.title empty$
+ { "" }
+ { "\dirtita{" w.title "}" * * }
+ if$
+}
+
+FUNCTION {format.w.name}
+{ w.name empty$
+ { "" }
+ { "\dirnama{" w.name "}" * * }
+ if$
+}
+
+FUNCTION {format.w.address}
+{ w.address empty$
+ {
+ w.street empty$ w.city empty$ w.state empty$ w.zip empty$ w.country empty$
+ and and and and
+ { "" }
+ { "\dirpadda{"
+ w.street empty$ { "" * } { w.street "\dirblock " * * } if$
+ w.city empty$ { "" * } { w.city " " * * } if$
+ w.state empty$ { "" * } { w.state " " * * } if$
+ w.zip empty$ { "" * } { w.zip " " * * } if$
+ w.country empty$ { "" * } { w.country * } if$
+ "}" *
+ }
+ if$
+ }
+ { "\dirwadda{" w.address "}" * * }
+ if$
+}
+
+FUNCTION {format.w.phone}
+{ w.phone empty$
+ { "" }
+ { "\dirwphoa{" w.phone "}" * * }
+ if$
+}
+
+FUNCTION {format.w.cellular}
+{ w.cellular empty$
+ { "" }
+ { "\dirwcela{" w.cellular "}" * * }
+ if$
+}
+
+FUNCTION {format.w.fax}
+{ w.fax empty$
+ { "" }
+ { "\dirwfaxa{" w.fax "}" * * }
+ if$
+}
+
+FUNCTION {format.w.email}
+{ w.email empty$
+ { "" }
+ { "\dirwemaa{" w.email "}" * * }
+ if$
+}
+
+FUNCTION {format.w.url}
+{ w.url empty$
+ { "" }
+ { "\dirwurla{" w.url "}" * * }
+ if$
+}
+
+FUNCTION {format.w.account}
+{ w.account empty$
+ { "" }
+ { "\dirwacca{" w.account "}" * * }
+ if$
+}
+
+FUNCTION {format.note.flag}
+{ note empty$
+ { "" }
+ { "\dirnotf" }
+ if$
+}
+
+FUNCTION {format.note}
+{ note empty$
+ { "" }
+ { "\dirnota{" note "}" * * }
+ if$
+}
+
+
+% ------------------------------------------------------------
+% P E R S O N E N T R Y
+% ------------------------------------------------------------
+
+FUNCTION { person }
+{
+ newline$
+
+ "\dircheck{" write$
+ format.first.letter write$
+ "}" write$
+ newline$
+
+ "\diritem[" write$
+ format.name write$
+ "]{" write$
+ "d." cite$ * write$
+ "}\dirgroup" write$
+ format.nickname write$
+ newline$
+ "\dirblock" write$
+ newline$
+
+ format.birthday.flag output.flag
+ format.birthday output
+
+ format.p.flag output.flag
+ format.p.address output
+ format.p.phone output
+ format.p.cellular output
+ format.p.fax output
+ format.p.email output
+ format.p.url output
+ format.p.account output
+
+ format.r.flag output.flag
+ format.r.address output
+ format.r.phone output
+ format.r.cellular output
+ format.r.fax output
+ format.r.email output
+ format.r.url output
+ format.r.account output
+
+ format.w.flag output.flag
+ format.w.title output
+ format.w.name output
+ format.w.address output
+ format.w.phone output
+ format.w.cellular output
+ format.w.fax output
+ format.w.email output
+ format.w.url output
+ format.w.account output
+
+ format.note.flag output.flag
+ format.note output
+
+ "\direndgroup" write$
+ newline$
+}
+
+% ------------------------------------------------------------
+% C O M P A N Y E N T R Y
+% ------------------------------------------------------------
+
+
+FUNCTION { company }
+{
+ newline$
+
+ "\dircheck{" write$
+ format.first.letter write$
+ "}" write$
+ newline$
+
+ "\diritem[" write$
+ name write$
+ "]{" write$
+ "d." cite$ * write$
+ "}\dirgroup" write$
+ newline$
+ "\dirblock" write$
+ newline$
+
+ format.address output
+ format.phone output
+ format.cellular output
+ format.fax output
+ format.email output
+ format.url output
+ format.account output
+ format.note.flag output.flag
+ format.note output
+
+ "\direndgroup" write$
+ newline$
+}
+
+% ------------------------------------------------------------
+% P L A C E E N T R Y
+% ------------------------------------------------------------
+
+FUNCTION { place }
+{
+ newline$
+
+ "\dircheck{" write$
+ format.first.letter write$
+ "}" write$
+ newline$
+
+ "\diritem[" write$
+ name write$
+ "]{" write$
+ "d." cite$ * write$
+ "}\dirgroup" write$
+ newline$
+ "\dirblock" write$
+ newline$
+
+ format.address output
+ format.phone output
+ format.cellular output
+ format.fax output
+ format.note.flag output.flag
+ format.note output
+
+ "\direndgroup" write$
+ newline$
+}
+
+% ------------------------------------------------------------
+% M A I N
+% ------------------------------------------------------------
+
+READ
+ITERATE {presort}
+SORT
+EXECUTE {begin.bib}
+ITERATE {call.type$}
+EXECUTE {end.bib}
+
diff --git a/biblio/bibtex/contrib/directory/birthday.bst b/biblio/bibtex/contrib/directory/birthday.bst
new file mode 100644
index 0000000000..69f0b9eefc
--- /dev/null
+++ b/biblio/bibtex/contrib/directory/birthday.bst
@@ -0,0 +1,299 @@
+%% birthday.bst
+%% Copyright 1998-2003 Christophe Geuzaine <geuz@geuz.org>
+%
+% $Id: birthday.bst,v 1.6 2003/09/14 09:47:49 geuzaine Exp $
+%
+% This program can be redistributed and/or modified under the terms
+% of the LaTeX Project Public License distributed from CTAN
+% archives in directory macros/latex/base/lppl.txt; either
+% version 1 of the License, or (at your option) any later version.
+%
+% BibTeX bibliography style `birthday.bst'
+% 'directory' database: only birthday field
+%
+% The parts you may want to customize are labeled with "CUSTOM"
+%
+
+INTEGERS { nameptr namesleft numnames numaux len }
+STRINGS { s t u v }
+
+% ------------------------------------------------------------
+% E N T R I E S
+% ------------------------------------------------------------
+
+ENTRY
+ { name
+ birthday
+ birthyear
+ }
+ {}
+ {}
+
+% ------------------------------------------------------------
+% G E N E R A L
+% ------------------------------------------------------------
+
+FUNCTION {output}
+{ 's :=
+ s empty$
+ {}
+ { s write$
+ newline$
+ "\dirblock" write$
+ newline$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+% ------------------------------------------------------------
+% S O R T I N G F U N C T I O N S
+% ------------------------------------------------------------
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+FUNCTION {sort.day}
+{
+ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ skip$
+ s nameptr "{ll{}}{ff{}}" format.name$ 't :=
+ t sortify *
+ #1 global.max$ substring$
+}
+
+
+FUNCTION {birthday.sort}
+{ type$ "person" =
+ { birthday empty$
+ { "" }
+ { birthday sort.day }
+ if$ }
+ { "" }
+ if$
+}
+
+FUNCTION {presort}
+{ birthday.sort
+ " "
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+% ------------------------------------------------------------
+% P R E - A N D P O S T - H E A D E R S
+% ------------------------------------------------------------
+
+FUNCTION {begin.bib}
+{ "\begin{thephonebook}" write$
+ newline$
+}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thephonebook}" write$
+ newline$
+}
+
+% ------------------------------------------------------------
+% F O R M A T S
+% ------------------------------------------------------------
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {
+% CUSTOM uncomment one of the following lines to have the behaviour on the right
+ s nameptr "{ff }{vv }{ll}{, jj}" format.name$ 't := % Christophe de Geuzaine, jr
+% s nameptr "{f. }{vv }{ll}{, jj}" format.name$ 't := % C. de Geuzaine, jr
+% s nameptr "{vv }{ll}{ f.}{, jj}" format.name$ 't := % de Geuzaine C., jr
+% s nameptr "{vv }{ll}{, ff}{, jj}" format.name$ 't := % de Geuzaine, Christophe, jr
+
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { " {\dirandf} " * t * }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+
+FUNCTION {format.dates}
+{
+ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+
+ birthyear empty$
+ { #0 'numaux := }
+ { birthyear num.names$ 'numaux :=
+ numnames numaux =
+ { }
+ { " birthdays and birthyears don't match in entry '" cite$ * "'" * warning$ }
+ if$
+ }
+ if$
+
+% CUSTOM you shoudn't change this, but rather redefine the command \Dirbirthday.
+
+ { namesleft #0 > }
+ { s nameptr "{ff}" format.name$ 't :=
+ s nameptr "{ll}" format.name$ 'u :=
+
+ nameptr #1 >
+ { namesleft #1 >
+ { ", \dirbira{" * t * "}{" * u * "}" * }
+ { " {\dirandf} \dirbira{" * t * "}{" * u * "}" * }
+ if$
+ }
+ { "\dirbira{" t * "}{" * u * "}" * }
+ if$
+
+ numaux #0 > not
+ { }
+ { birthyear nameptr "{ll}" format.name$ 'v :=
+ "\dirbiya{" * v * "}" * }
+ if$
+
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ numaux #1 - 'numaux :=
+ }
+ while$
+}
+
+FUNCTION {format.years}
+{
+ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+
+ { namesleft #0 > }
+ { s nameptr "{ll}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", \dirbyra{" * t * "}" * }
+ { " {\dirandf} \dirbyra{" * t * "}" * }
+ if$
+ }
+ { "\dirbyra{" t * "}" * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.name}
+{ name empty$
+ { "" }
+ { name format.names }
+ if$
+}
+
+FUNCTION {format.birthday.flag}
+{ birthyear empty$ not
+ birthday empty$ not
+ or
+ { "\dirbirf " }
+ { "" }
+ if$
+}
+
+FUNCTION {format.birthday}
+{ birthday empty$
+ {
+ birthyear empty$
+ { "" }
+ { birthyear format.years }
+ if$
+ }
+ { birthday format.dates }
+ if$
+}
+
+% ------------------------------------------------------------
+% P E R S O N E N T R Y
+% ------------------------------------------------------------
+
+
+FUNCTION { person }
+{
+ birthday empty$ not
+ { newline$
+
+ "\diritem[" write$
+ format.birthday.flag write$
+ format.birthday write$
+ "]{" write$
+ "d." cite$ * write$
+ "}\dirgroup" write$
+ newline$
+ "\dirblock" write$
+ newline$
+
+ format.name output
+
+ "\direndgroup" write$
+ newline$
+ }
+ { }
+ if$
+}
+
+% ------------------------------------------------------------
+% C O M P A N Y E N T R Y
+% ------------------------------------------------------------
+
+FUNCTION { company }
+{
+}
+
+% ------------------------------------------------------------
+% P L A C E E N T R Y
+% ------------------------------------------------------------
+
+FUNCTION { place }
+{
+}
+
+
+% ------------------------------------------------------------
+% M A I N
+% ------------------------------------------------------------
+
+READ
+ITERATE {presort}
+SORT
+EXECUTE {begin.bib}
+ITERATE {call.type$}
+EXECUTE {end.bib}
+
diff --git a/biblio/bibtex/contrib/directory/business.bib b/biblio/bibtex/contrib/directory/business.bib
new file mode 100644
index 0000000000..7d7b679768
--- /dev/null
+++ b/biblio/bibtex/contrib/directory/business.bib
@@ -0,0 +1,36 @@
+## business.bib
+## Copyright 1998 Christophe Geuzaine
+#
+# $Id: business.bib,v 1.4 2003/09/15 05:40:31 geuzaine Exp $
+#
+# This program can be redistributed and/or modified under the terms
+# of the LaTeX Project Public License distributed from CTAN
+# archives in directory macros/latex/base/lppl.txt; either
+# version 1 of the License, or (at your option) any later version.
+#
+# 'directory' package: sample bib file
+#
+
+@Company{microknud,
+ name = "Microknud Corp.",
+ phone = "+01-(0)2-465.83.99",
+ fax = "005.79.00",
+ street = "Haight Street 513",
+ city = "Novosibirsk",
+ zip = "80214",
+ country = "Gnuland",
+ url = "http://microknu.com/ass/bill.html",
+}
+
+@Company{knudsoft,
+ name = "The Knudsoft Company",
+ email = "knud@knudsoft.com",
+ url = "http://knudsoft.com/hole/gates.htm",
+}
+
+@Place{knudsoft:rs.2,
+ name = "Knudsoft (RS.2 Computer Room)",
+ phone = "+01-(0)2-434.23.23",
+}
+
+
diff --git a/biblio/bibtex/contrib/directory/directory.pdf b/biblio/bibtex/contrib/directory/directory.pdf
new file mode 100644
index 0000000000..d9a6af0e3f
--- /dev/null
+++ b/biblio/bibtex/contrib/directory/directory.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/directory/directory.sty b/biblio/bibtex/contrib/directory/directory.sty
new file mode 100644
index 0000000000..fbcb34e933
--- /dev/null
+++ b/biblio/bibtex/contrib/directory/directory.sty
@@ -0,0 +1,436 @@
+%% directory.sty
+%% Copyright 1998-2004 Christophe Geuzaine <geuz@geuz.org>
+%
+% $Id: directory.sty,v 1.10 2004/02/11 16:17:29 geuzaine Exp $
+%
+% This program can be redistributed and/or modified under the terms
+% of the LaTeX Project Public License distributed from CTAN
+% archives in directory macros/latex/base/lppl.txt; either
+% version 1 of the License, or (at your option) any later version.
+%
+% LaTeX style file `directory.sty'
+%
+% For use in conjunction with 'address.bst', 'phone.bst',
+% 'email.bst', 'birthday.bst', 'letter.bst'
+%
+\newif\if@break\@breakfalse
+\newif\if@german\@germanfalse
+\newif\if@french\@frenchfalse
+\newif\if@longdates\@longdatesfalse
+%
+\DeclareOption{split}{
+ \typeout{^^JWarning: the `split' option is obsolete! Redefine `Dirheader' instead.^^J}
+}
+\DeclareOption{break}{\@breaktrue}
+\DeclareOption{german}{\@germantrue}
+\DeclareOption{french}{\@frenchtrue}
+\DeclareOption{longdates}{\@longdatestrue}
+%
+\ProcessOptions*
+%
+\RequirePackage{url}
+%
+% ------------------------------------------------------------
+% N E W D I M E N S I O N S
+% ------------------------------------------------------------
+%
+\newlength{\dirindent} \setlength{\dirindent} {3em}
+\newlength{\dirsep} \setlength{\dirsep} {3ex}
+\newlength{\dirparindent} \setlength{\dirparindent} {0em}
+\newlength{\dirtablewidth} \setlength{\dirtablewidth}{0.5\textwidth}
+%
+% ------------------------------------------------------------
+% C U S T O M I Z A T I O N C O M M A N D S
+% ------------------------------------------------------------
+%
+\if@german
+%
+% German localization
+%
+ \newcommand{\dirsymbol} {}
+ \newcommand{\dirbirthday} {$\star$~}
+ \newcommand{\dirnote} {$\triangleright$~}
+ \newcommand{\dirnickname} {}
+ \newcommand{\diraddress} {}
+ \newcommand{\dirand} {\normalfont{und}}
+ \newcommand{\dirprivate} {\emph{p}~}
+ \newcommand{\dirresidence} {\emph{z}~} % 'Zweiter Wohnsitz'
+ \newcommand{\dirwork} {\emph{b}~} % 'Beruf'
+ \newcommand{\dirphone} {Tel.~}
+ \newcommand{\dircellular} {Mobil~}
+ \newcommand{\dirfax} {Fax~}
+ \newcommand{\diremail} {}
+ \newcommand{\dirurl} {}
+ \newcommand{\diraccount} {}
+ \newcommand{\dirtitle} {}
+ \newcommand{\dirname} {}
+ \if@longdates
+ \newcommand{\Dirbirthday}[2] {{\number#1}.~{\ifcase #2\or Januar\or Februar\or%
+ M\"arz\or April\or Mai\or Juni\or Juli\or%
+ August\or September\or Oktober\or November\or%
+ Dezember\fi}}
+ \newcommand{\Dirbirthyear}[1] {~{#1}}
+ \else
+ \newcommand{\Dirbirthday}[2] {{\number#1}.{\number#2}.}
+ \newcommand{\Dirbirthyear}[1] {{#1}}
+ \fi
+ \newcommand{\DirbirthyearAlone}[1]{{#1}}
+ \newcommand{\Dirnickname}[1] {(alias \emph{#1})}
+\else
+\if@french
+%
+% French localization
+%
+ \newcommand{\dirsymbol} {}
+ \newcommand{\dirbirthday} {$\star$~}
+ \newcommand{\dirnote} {$\triangleright$~}
+ \newcommand{\dirnickname} {}
+ \newcommand{\diraddress} {}
+ \newcommand{\dirand} {\normalfont{et}}
+ \newcommand{\dirprivate} {\emph{p}~}
+ \newcommand{\dirresidence} {\emph{r}~}
+ \newcommand{\dirwork} {\emph{b}~} % 'bureau'
+ \newcommand{\dirphone} {t\'el: }
+ \newcommand{\dircellular} {gsm: }
+ \newcommand{\dirfax} {fax: }
+ \newcommand{\diremail} {}
+ \newcommand{\dirurl} {}
+ \newcommand{\diraccount} {cpte: }
+ \newcommand{\dirtitle} {}
+ \newcommand{\dirname} {}
+ \if@longdates
+ \newcommand{\Dirbirthday}[2] {{\ifnum #1=1 1er\else\number#1\fi}~%
+ {\ifcase #2\or janvier\or f\'evrier\or mars\or%
+ avril\or mai\or juin\or juillet\or ao\^ut\or%
+ septembre\or octobre\or novembre\or d\'ecembre\fi}}
+ \newcommand{\Dirbirthyear}[1] {~{#1}}
+ \else
+ \newcommand{\Dirbirthday}[2] {{\number#1}/{\number#2}}
+ \newcommand{\Dirbirthyear}[1] {/{#1}}
+ \fi
+ \newcommand{\DirbirthyearAlone}[1]{{#1}}
+ \newcommand{\Dirnickname}[1] {(dit \emph{#1})}
+\else
+%
+% Default localization (English)
+%
+ \newcommand{\dirsymbol} {}
+ \newcommand{\dirbirthday} {$\star$~}
+ \newcommand{\dirnote} {$\triangleright$~}
+ \newcommand{\dirnickname} {}
+ \newcommand{\diraddress} {}
+ \newcommand{\dirand} {\normalfont{and}}
+ \newcommand{\dirprivate} {\emph{p}~}
+ \newcommand{\dirresidence} {\emph{r}~}
+ \newcommand{\dirwork} {\emph{w}~}
+ \newcommand{\dirphone} {tel: }
+ \newcommand{\dircellular} {mobile: }
+ \newcommand{\dirfax} {fax: }
+ \newcommand{\diremail} {}
+ \newcommand{\dirurl} {}
+ \newcommand{\diraccount} {acc: }
+ \newcommand{\dirtitle} {}
+ \newcommand{\dirname} {}
+ \if@longdates
+ \newcommand{\Dirbirthday}[2] {{\ifcase #2\or January\or February\or March\or%
+ April\or May\or June\or July\or August\or%
+ September\or October\or November\or December\fi}%
+ {\space\ifnum #1=1 1st\else\number#1\fi}}
+ \newcommand{\Dirbirthyear}[1] {, {#1}}
+ \else
+ \newcommand{\Dirbirthday}[2] {{\number#2}/{\number#1}}
+ \newcommand{\Dirbirthyear}[1] {/{#1}}
+ \fi
+ \newcommand{\DirbirthyearAlone}[1]{{#1}}
+ \newcommand{\Dirnickname}[1] {(aka \emph{#1})}
+\fi
+\fi
+
+\newcommand{\dirpaddress} {\diraddress}
+\newcommand{\dirraddress} {\diraddress}
+\newcommand{\dirwaddress} {\diraddress}
+\newcommand{\dirpphone} {\dirphone}
+\newcommand{\dirrphone} {\dirphone}
+\newcommand{\dirwphone} {\dirphone}
+\newcommand{\dirpcellular} {\dircellular}
+\newcommand{\dirrcellular} {\dircellular}
+\newcommand{\dirwcellular} {\dircellular}
+\newcommand{\dirpfax} {\dirfax}
+\newcommand{\dirrfax} {\dirfax}
+\newcommand{\dirwfax} {\dirfax}
+\newcommand{\dirpemail} {\diremail}
+\newcommand{\dirremail} {\diremail}
+\newcommand{\dirwemail} {\diremail}
+\newcommand{\dirpurl} {\dirurl}
+\newcommand{\dirrurl} {\dirurl}
+\newcommand{\dirwurl} {\dirurl}
+\newcommand{\dirpaccount} {\diraccount}
+\newcommand{\dirraccount} {\diraccount}
+\newcommand{\dirwaccount} {\diraccount}
+\newcommand{\Dirlabel}[1] {\textbf{#1}}
+%\newcommand{\Dirheader}[1]{\newpage\markboth{\MakeUppercase{#1}}{\MakeUppercase{#1}}}
+\newcommand{\Dirheader}[1] {}
+\newcommand{\Diraddress}[1] {{#1}}
+\newcommand{\Dirpaddress}[1] {\Diraddress{#1}}
+\newcommand{\Dirraddress}[1] {\Diraddress{#1}}
+\newcommand{\Dirwaddress}[1] {\Diraddress{#1}}
+\newcommand{\Dirphone}[1] {{#1}}
+\newcommand{\Dirpphone}[1] {\Dirphone{#1}}
+\newcommand{\Dirrphone}[1] {\Dirphone{#1}}
+\newcommand{\Dirwphone}[1] {\Dirphone{#1}}
+\newcommand{\Dircellular}[1] {{#1}}
+\newcommand{\Dirpcellular}[1] {\Dircellular{#1}}
+\newcommand{\Dirrcellular}[1] {\Dircellular{#1}}
+\newcommand{\Dirwcellular}[1] {\Dircellular{#1}}
+\newcommand{\Dirfax}[1] {{#1}}
+\newcommand{\Dirpfax}[1] {\Dirfax{#1}}
+\newcommand{\Dirrfax}[1] {\Dirfax{#1}}
+\newcommand{\Dirwfax}[1] {\Dirfax{#1}}
+\newcommand{\Diremail}[1] {\url{#1}}
+\newcommand{\Dirpemail}[1] {\Diremail{#1}}
+\newcommand{\Dirremail}[1] {\Diremail{#1}}
+\newcommand{\Dirwemail}[1] {\Diremail{#1}}
+\newcommand{\Dirurl}[1] {\url{#1}}
+\newcommand{\Dirpurl}[1] {\Dirurl{#1}}
+\newcommand{\Dirrurl}[1] {\Dirurl{#1}}
+\newcommand{\Dirwurl}[1] {\Dirurl{#1}}
+\newcommand{\Diraccount}[1] {\url{#1}}
+\newcommand{\Dirpaccount}[1] {\Diraccount{#1}}
+\newcommand{\Dirraccount}[1] {\Diraccount{#1}}
+\newcommand{\Dirwaccount}[1] {\Diraccount{#1}}
+\newcommand{\Dirtitle}[1] {{#1}}
+\newcommand{\Dirname}[1] {{#1}}
+\newcommand{\Dirnote}[1] {{#1}}
+%
+% ------------------------------------------------------------
+% D I R E C T O R Y
+% ------------------------------------------------------------
+%
+\def\dirbegin{\string\begin{tabular}{@{}p{\dirtablewidth}@{}}}
+\def\dirnext{\string\\}
+\def\dirbreak{\dirnext} %% this will be redefined for phonebooks and addressbooks
+\def\dirend{\string\end{tabular}}
+%
+% \diritem
+%
+\def\diritem{\@ifnextchar[\@diritem\@ldiritem}
+\def\@diritem[#1]#2{%
+ \item\hspace{-\dirindent}\@dirlabel{#1}%
+ \if@filesw
+ {\let\protect\noexpand%
+ \immediate
+ \write\@auxout{\string\bibcite{#2}{#1}}}
+ \fi
+ \ignorespaces}
+\def\@ldiritem#1#2{%
+ \if@filesw
+ {\let\protect\noexpand%
+ \immediate
+ \write\@auxout{\string\bibcite{#2}{#1}}}
+ \fi
+ \ignorespaces}
+%
+% \directory
+%
+\newcommand*\directory[2][bbl]{%
+ \if@filesw
+ \immediate\write\@auxout{\string\bibdata{#2}}%
+ \fi
+ \@input@{\jobname.#1}}
+%
+% \directorystyle
+%
+\def\directorystyle#1{%
+ \ifx\@begindocumenthook\@undefined\else
+ \expandafter\AtBeginDocument
+ \fi
+ {\if@filesw
+ \immediate\write\@auxout{\string\bibstyle{#1}}%
+ \fi}}
+%
+% \@dirlabel
+%
+\def\@dirlabel#1{\Dirlabel{#1}}
+%
+% \dir
+%
+\def\dir{\@ifnextchar [{\@tempswatrue\@directorycitex}%
+ {\@tempswafalse\@directorycitex[]}}
+\def\@directorycitex[#1]#2{%
+ \let\@citea\@empty
+ \@directorycite{\@for\@citeb:=#2\do
+ {\@citea\def\@citea{,\penalty\@m\ }%
+ \edef\@citeb{\expandafter\@firstofone\@citeb}%
+ \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi
+ \@ifundefined{b@d.\@citeb}{\mbox{\reset@font\bfseries ?}%
+ \G@refundefinedtrue\@latex@warning
+ {Directory citation `#2' on page \thepage \space undefined}}%
+% {\hbox{\csname b@d.\@citeb\endcsname}}}}{#1}}
+ {{\let\nobreakspace\space\csname b@d.\@citeb\endcsname}}}}{#1}}
+%
+% \pdir
+%
+\def\pdir{\@ifnextchar [{\@tempswatrue\@pdirectorycitex}%
+ {\@tempswafalse\@pdirectorycitex[]}}
+\def\@pdirectorycitex[#1]#2{%
+ \let\@citea\@empty
+ \@directorycite{\@for\@citeb:=#2\do
+ {\@citea\def\@citea{,\penalty\@m\ }%
+ \edef\@citeb{\expandafter\@firstofone\@citeb}%
+ \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi
+ \@ifundefined{b@p.\@citeb}{\mbox{\reset@font\bfseries ?}%
+ \G@refundefinedtrue\@latex@warning
+ {Private part of directory citation `#2' on page \thepage \space undefined%
+ (probably other directory style than 'letter.bst')}}%
+ {\hbox{\csname b@p.\@citeb\endcsname}}}}{#1}}
+%
+% \rdir
+%
+\def\rdir{\@ifnextchar [{\@tempswatrue\@rdirectorycitex}%
+ {\@tempswafalse\@rdirectorycitex[]}}
+\def\@rdirectorycitex[#1]#2{%
+ \let\@citea\@empty
+ \@directorycite{\@for\@citeb:=#2\do
+ {\@citea\def\@citea{,\penalty\@m\ }%
+ \edef\@citeb{\expandafter\@firstofone\@citeb}%
+ \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi
+ \@ifundefined{b@r.\@citeb}{\mbox{\reset@font\bfseries ?}%
+ \G@refundefinedtrue\@latex@warning
+ {Residence part of directory citation `#2' on page \thepage \space undefined%
+ (probably other directory style than 'letter.bst')}}%
+ {\hbox{\csname b@r.\@citeb\endcsname}}}}{#1}}
+%
+% \wdir
+%
+\def\wdir{\@ifnextchar [{\@tempswatrue\@wdirectorycitex}%
+ {\@tempswafalse\@wdirectorycitex[]}}
+\def\@wdirectorycitex[#1]#2{%
+ \let\@citea\@empty
+ \@directorycite{\@for\@citeb:=#2\do
+ {\@citea\def\@citea{,\penalty\@m\ }%
+ \edef\@citeb{\expandafter\@firstofone\@citeb}%
+ \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi
+ \@ifundefined{b@w.\@citeb}{\mbox{\reset@font\bfseries ?}%
+ \G@refundefinedtrue\@latex@warning
+ {Work part of directory citation `#2' on page \thepage \space undefined%
+ (probably other directory style than 'letter.bst')}}%
+ {\hbox{\csname b@w.\@citeb\endcsname}}}}{#1}}
+%
+% \nodir
+%
+\def\nodir#1{\@bsphack
+ \@for\@citeb:=#1\do{%
+ \edef\@citeb{\expandafter\@firstofone\@citeb}%
+ \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi
+ \@ifundefined{b@\@citeb}{\G@refundefinedtrue
+ \@latex@warning{Citation `\@citeb' undefined}}{}}%
+ \@esphack}
+\expandafter\let\csname b@*\endcsname\@empty
+%
+% \@directorycite
+%
+\def\@directorycite#1#2{\Dirlabel{#1}\dirsymbol}
+%
+% ------------------------------------------------------------
+% T H E P H O N E B O O K
+% ------------------------------------------------------------
+%
+\def\thephonebook{
+ \list{}{\partopsep 2ex
+ \parsep 0pt
+ \labelsep 0ex
+ \listparindent\dirparindent
+ \labelwidth\dirindent
+ \leftmargin\dirindent
+ \itemsep\dirsep}
+ \def\dirblock{\space}
+ \def\dirgroup{\space}
+ \def\direndgroup{}
+ \def\dirbreak{\relax\noparindent}
+ \def\dirbirf{\dirbirthday}
+ \def\dirprif{\dirprivate}
+ \def\dirresf{\dirresidence}
+ \def\dirworf{\dirwork}
+ \def\dirnotf{\dirnote}
+}
+\def\endthephonebook{\endlist}
+%
+% ------------------------------------------------------------
+% T H E A D D R E S S B O O K
+% ------------------------------------------------------------
+%
+\def\theaddressbook{
+ \list{}{\partopsep 2ex
+ \parsep 0pt
+ \labelsep 0ex
+ \listparindent\dirparindent
+ \labelwidth\dirindent
+ \leftmargin\dirindent
+ \itemsep\dirsep}
+ \if@break
+ \def\dirblock{\par}
+ \def\dirbreak{\par\noindent}
+ \def\dirgroup{}
+ \def\direndgroup{}
+ \else
+ \def\dirblock{\par\nopagebreak}
+ \def\dirbreak{\par\nopagebreak\noindent}
+ \def\dirgroup{\begingroup\samepage}
+ \def\direndgroup{\endgroup}
+ \fi
+ \def\dirbirf{\leavevmode\llap\dirbirthday}
+ \def\dirprif{\leavevmode\llap\dirprivate}
+ \def\dirresf{\leavevmode\llap\dirresidence}
+ \def\dirworf{\leavevmode\llap\dirwork}
+ \def\dirnotf{\leavevmode\llap\dirnote}
+}
+\def\endtheaddressbook{\endlist}
+%
+% ------------------------------------------------------------
+% sectionning according to first letter in field
+% ------------------------------------------------------------
+%
+\def\dirlastletter{-}
+\def\dircheck#1{\if#1\dirlastletter\else\def\dirlastletter{#1}\Dirheader{#1}\fi}
+%
+% ------------------------------------------------------------
+% define remaining bbl file commands
+% ------------------------------------------------------------
+%
+\def\dirandf{\dirand}
+\def\dirnica#1{\dirnickname\Dirnickname{#1}}
+\def\dirbira#1#2{\Dirbirthday{#1}{#2}}
+\def\dirbiya#1{\Dirbirthyear{#1}}
+\def\dirbyra#1{\DirbirthyearAlone{#1}}
+\def\dirnota#1{\Dirnote{#1}}
+\def\diradda#1{\diraddress\Diraddress{#1}}
+ \def\dirpadda#1{\dirpaddress\Dirpaddress{#1}}
+ \def\dirradda#1{\dirraddress\Dirraddress{#1}}
+ \def\dirwadda#1{\dirwaddress\Dirwaddress{#1}}
+\def\dirphoa#1{\dirphone\Dirphone{#1}}
+ \def\dirpphoa#1{\dirpphone\Dirpphone{#1}}
+ \def\dirrphoa#1{\dirrphone\Dirrphone{#1}}
+ \def\dirwphoa#1{\dirwphone\Dirwphone{#1}}
+\def\dircela#1{\dircellular\Dircellular{#1}}
+ \def\dirpcela#1{\dirpcellular\Dirpcellular{#1}}
+ \def\dirrcela#1{\dirrcellular\Dirrcellular{#1}}
+ \def\dirwcela#1{\dirwcellular\Dirwcellular{#1}}
+\def\dirfaxa#1{\dirfax\Dirfax{#1}}
+ \def\dirpfaxa#1{\dirpfax\Dirpfax{#1}}
+ \def\dirrfaxa#1{\dirrfax\Dirrfax{#1}}
+ \def\dirwfaxa#1{\dirwfax\Dirwfax{#1}}
+\def\diremaa#1{\diremail\Diremail{#1}}
+ \def\dirpemaa#1{\dirpemail\Dirpemail{#1}}
+ \def\dirremaa#1{\dirremail\Dirremail{#1}}
+ \def\dirwemaa#1{\dirwemail\Dirwemail{#1}}
+\def\dirurla#1{\dirurl\Dirurl{#1}}
+ \def\dirpurla#1{\dirpurl\Dirpurl{#1}}
+ \def\dirrurla#1{\dirrurl\Dirrurl{#1}}
+ \def\dirwurla#1{\dirwurl\Dirwurl{#1}}
+\def\diracca#1{\diraccount\Diraccount{#1}}
+ \def\dirpacca#1{\dirpaccount\Dirpaccount{#1}}
+ \def\dirracca#1{\dirraccount\Dirraccount{#1}}
+ \def\dirwacca#1{\dirwaccount\Dirwaccount{#1}}
+\def\dirtita#1{\dirtitle\Dirtitle{#1}}
+\def\dirnama#1{\dirname\Dirname{#1}}
+%
diff --git a/biblio/bibtex/contrib/directory/directory.tex b/biblio/bibtex/contrib/directory/directory.tex
new file mode 100644
index 0000000000..287b18b027
--- /dev/null
+++ b/biblio/bibtex/contrib/directory/directory.tex
@@ -0,0 +1,773 @@
+%% directory.tex
+%% Copyright 1998-2004 Christophe Geuzaine <geuz@geuz.org>
+%
+% $Id: directory.tex,v 1.32 2004/09/22 21:05:18 geuzaine Exp $
+%
+% This program can be redistributed and/or modified under the terms
+% of the LaTeX Project Public License distributed from CTAN
+% archives in directory macros/latex/base/lppl.txt; either
+% version 1 of the License, or (at your option) any later version.
+%
+% 'directory' user's guide and example file
+%
+% The parts you may want to customize are labeled with "CUSTOM:". The lines
+% beginning with "%%tth:" are used by TTH (a LaTeX to HTML translator).
+
+\documentclass[10pt]{article}
+
+\usepackage[break,longdates]{directory}
+
+% CUSTOM: uncomment one of the following:
+% \directorystyle{email}
+% \directorystyle{phone}
+% \directorystyle{birthday}
+% \directorystyle{letter}
+% \directorystyle{address-html}
+% \directorystyle{email-html}
+% \directorystyle{address-vcard}
+% \directorystyle{address-ldif}
+\directorystyle{address}
+
+% CUSTOM: here is how I customize the directory for this user's guide:
+\renewcommand{\dirsymbol}{\raisebox{1ex}{\tiny{[see \S\ref{sec:output}]}}}
+\renewcommand{\Dirlabel}[1]{{#1}}
+\renewcommand{\Dirheader}[1]{\item\hspace{-\dirindent}\textbf{\MakeUppercase{#1}}}
+
+\ifx\pdfoutput\undefined\else
+ \usepackage[colorlinks=true,urlcolor=blue]{hyperref}
+ \newcommand\MyURL{\begingroup\Url}
+ \renewcommand{\Diremail}[1]{\href{mailto:#1}{\MyURL{#1}}}
+ \renewcommand{\Dirurl}[1]{\href{#1}{\MyURL{#1}}}
+\fi
+\def\baselinestretch{0.98}
+
+\newcommand{\BibTeX}{\textsc{Bib}\TeX}
+\newcommand{\Quote}[1]{`{#1}'}
+\newcommand{\DbleQuote}[1]{``{#1}''}
+\newcommand{\Download}{\footnote{\texttt{directory} is available at
+ \url{http://www.geuz.org/directory/} or through the CTAN in the
+ \url{biblio/bibtex/contrib/directory/} subdirectory. \texttt{directory}
+ is distributed under the \LaTeX\ Project Public License (LPPL) since
+ version 1.11.}}
+
+%%tth: \def\Quote#1{'{#1}'}
+%%tth: \def\DbleQuote#1{''{#1}''}
+%%tth: \def\Download{\footnote{\texttt{directory} is distributed under the
+%%tth: \LaTeX\ Project Public License (LPPL) since version 1.11.}}
+%%tth: \def\LaTeX{LaTeX}
+%%tth: \def\BibTeX{BibTeX}
+
+\pagestyle{headings}
+
+\begin{document}
+
+\title{\texttt{directory}: address books with \LaTeX\ and \BibTeX}
+
+% CUSTOM: try e.g. \author{\wdir{c.geuzaine}} with \directorystyle{letter}
+\author{\dir{c.geuzaine}}
+
+%%tth: \special{html:<H3 align=center>Christophe Geuzaine</H3>}
+
+\date{Version 1.20, 22 September 2004}
+
+\maketitle
+
+%%tth: \section*{Download}
+%%tth: The current distribution of \texttt{directory} is
+%%tth: \href{http://www.geuz.org/directory/src/directory-1.20.tgz}{directory-1.20.tgz}.
+%%tth: This distribution contains both a
+%%tth: \href{http://www.geuz.org/directory/directory.ps}{PostScript}
+%%tth: and a \href{http://www.geuz.org/directory/directory.pdf}{PDF}
+%%tth: version of the documentation. The separate files are also available
+%%tth: through the \href{http://www.ctan.org/}{CTAN} sites in the
+%%tth: \href{http://www.ctan.org/tex-archive/biblio/bibtex/contrib/directory/}
+%%tth: {biblio/bibtex/contrib/directory/} subdirectory. Older versions are
+%%tth: still available \href{http://www.geuz.org/directory/src/}{here}.
+%%tth: Any questions, comments or suggestions? Send me an
+%%tth: \href{mailto:geuz@geuz.org}{e-mail}.
+
+\tableofcontents
+
+\section{Introduction}
+
+\texttt{directory}\Download\ is a macro package for \LaTeX\ and \BibTeX\ that
+facilitates the construction, the maintenance and the exploitation of an
+address book like database. It consists of five \BibTeX\ style files
+(\texttt{address.bst}, \texttt{phone.bst}, \texttt{email.bst},
+\texttt{birthday.bst} and \texttt{letter.bst}) designed to be used in
+conjunction with the \LaTeX\ style file \texttt{directory.sty}. Depending on
+the bibliographical style used, the package has two main applications:
+
+\begin{enumerate}
+\item
+the construction of a list of information (address, phone number, etc.)
+about selected persons, companies or places;
+\item
+the inclusion of a selected piece of information concerning a person, a
+place or a company at a desired location in a document.
+\end{enumerate}
+
+In the first case, \texttt{directory} behaves just like standard
+bibliographical styles: while standard bibliographical styles handle data
+concerning books, articles, proceedings, etc., \texttt{directory} handles
+data relative to people, companies or places. For example, the name in the
+title of this guide refers to the corresponding entry in the directory
+listed in section~\ref{sec:output}. The first four \BibTeX\ files provide
+several ways to handle this data.
+
+In the second case, the package enables bits of the database to be put in your
+document. It can for example be used to put the address of your correspondent
+in the address field of a letter.
+
+\sloppypar
+Four special \BibTeX\ style files (\texttt{address-html.bst},
+\texttt{email-html.bst}, \texttt{address-vcard.bst} and
+\texttt{address-ldif.bst}) are also provided for an easy generation of HTML,
+vCard and LDIF versions of your directories.
+
+\section{General description}
+
+\subsection{Package inclusion and options}
+
+The package is included by the usual \verb'\usepackage{directory}' command
+at the top of the document. Four options are available:
+\begin{description}
+\item[\textmd{\texttt{break}:}] allows the directory fields to be broken
+ across pages;
+\item[\textmd{\texttt{german}:}] creates directories in German;
+\item[\textmd{\texttt{french}:}] creates directories in French;
+\item[\textmd{\texttt{longdates}:}] prints birthday dates using month names
+ instead of numbers.
+\end{description}
+The old (before version 1.10) formatting options are now handled by the same
+command mechanism as all other customization options (see
+section~\ref{sec:custom}).
+
+The directory is produced by the
+\verb'\directory['\emph{extension}\verb']{'\emph{filename}\verb'}' command,
+where \emph{filename} stands for the name of the \texttt{bib} file (without
+the \texttt{bib} extension) and where the optional argument \emph{extension}
+gives, if necessary, the extension of the file output by \BibTeX\ (see
+section~\ref{sec:usingboth}). As usual, multiple \texttt{bib} files can be
+included, a comma separating the different file names.
+
+\subsection{Making a citation}
+
+An entry is cited in the text by a \verb'\dir{'\emph{key}\verb'}',
+\verb'\pdir{'\emph{key}\verb'}', \verb'\rdir{'\emph{key}\verb'}' or
+\verb'\wdir{'\emph{key}\verb'}' command, equivalent to the standard
+\verb'\cite{'\emph{key}\verb'}' command, where \emph{key} is used in the same
+way as ever (referring to an entry in a \texttt{bib} file).
+The differences between the four citation commands will be explained in the next
+section.
+A \verb'\nodir{'\emph{key}\verb'}' command exists and acts exactly like
+\verb'\nocite{'\emph{key}\verb'}' for standard bibliographies.
+
+\subsection{The \texttt{bst} styles}
+
+The style of the directory is chosen by a \verb'\directorystyle{'\emph{style}\verb'}'
+command, where \emph{style} is one of the following:
+\begin{description}
+\item[\textmd{\texttt{address}:}]
+full listing in the directory of all fields corresponding to the
+\emph{key} entry. The \verb'\dir{'\emph{key}\verb'}' command also prints the
+\texttt{name} field of the entry in the document;
+\item[\textmd{\texttt{phone}:}]
+only the phone, cellular and fax fields corresponding to the cited entry are
+displayed in the directory. The \verb'\dir{'\emph{key}\verb'}' command acts in
+the same way as with the \texttt{address} style, except that the names are
+abbreviated;
+\item[\textmd{\texttt{email}:}]
+only e-mail addresses are displayed in the directory. The
+\verb'\dir{'\emph{key}\verb'}' command acts in the same way as with the
+\texttt{address} style;
+\item[\textmd{\texttt{birthday}:}]
+only the birthdays are displayed, sorting the entries in chronological
+order. The \verb'\dir{'\emph{key}\verb'}' command acts in the same way as with
+the \texttt{address} style;
+\item[\textmd{\texttt{letter}:}]
+acts in a slightly different way than the four preceding styles. No directory
+is produced with the \verb|\directory| command. The
+\verb'\dir{'\emph{key}\verb'}' command results in the \texttt{name} field of
+the \emph{key} entry to be printed in the document. The
+\verb'\pdir{'\emph{key}\verb'}' (respectively \verb'\rdir{'\emph{key}\verb'}'
+or \verb'\wdir{'\emph{key}\verb'}') command prints the name and the private
+(respectively residence or work) address in the document in a tabulated way.
+\end{description}
+
+
+\subsection{The \texttt{bib} file fields}
+
+\texttt{directory} defines three entry types: \verb'@person{}',
+\verb'@company{}' and \verb'@place{}'. In all these types, \texttt{name} is
+the only mandatory field, since it serves as a key for sorting the entries.
+Here are all the available fields that can be defined for each entry:
+
+\begin{verbatim}
+@person{key,
+ name = "Full name(s), in standard BibTeX format",
+ nickname = "Nickname(s)",
+ birthday = "Birthday date(s), in numeric 'day month' format",
+ birthyear = "Birth year(s)",
+
+ p.street = "Street of private residence",
+ p.city = "City of private residence",
+ p.zip = "ZIP code of private residence",
+ p.state = "State of private residence",
+ p.country = "Country of private residence",
+ p.phone = "Private phone number",
+ p.cellular = "Private mobile phone number",
+ p.fax = "Private fax number",
+ p.email = "Private e-mail address",
+ p.url = "Private home page",
+ p.account = "Private bank account",
+
+ r.street = "Street of alternative residence",
+ r.city = "City of alternative residence",
+ r.zip = "ZIP code of alternative residence",
+ r.state = "State of alternative residence",
+ r.country = "Country of alternative residence",
+ r.phone = "Alternative phone number",
+ r.cellular = "Alternative mobile phone number",
+ r.fax = "Alternative fax number",
+ r.email = "Alternative e-mail address",
+ r.url = "Alternative home page",
+ r.account = "Alternative bank account",
+
+ w.name = "Work organization name",
+ w.title = "Job title",
+ w.street = "Street of work organization",
+ w.city = "City of work organization",
+ w.zip = "ZIP code of work organization",
+ w.state = "State of work organization",
+ w.country = "Country of work organization",
+ w.phone = "Work phone number",
+ w.cellular = "Work mobile phone number",
+ w.fax = "Work fax number",
+ w.email = "Work e-mail address",
+ w.url = "Work home page",
+ w.account = "Work bank account",
+
+ note = "Additional notes about the person",
+}
+\end{verbatim}
+
+\begin{verbatim}
+@company{key,
+ name = "Company name",
+ street = "Company street",
+ city = "Company city",
+ zip = "Company ZIP code",
+ state = "Company state",
+ country = "Company country",
+ phone = "Company phone number",
+ cellular = "Company mobile phone number",
+ fax = "Company fax number",
+ email = "Company e-mail address",
+ url = "Company home page",
+ account = "Company bank account",
+ note = "Additional notes about the company",
+}
+\end{verbatim}
+
+\begin{verbatim}
+@place{key,
+ name = "Place name",
+ street = "Place street",
+ city = "Place city",
+ zip = "Place ZIP code",
+ state = "Place state",
+ country = "Place country",
+ phone = "Place phone number",
+ cellular = "Place mobile phone number",
+ fax = "Place fax number",
+ note = "Additional notes about the place",
+}
+\end{verbatim}
+
+Multiple names, nicknames or birthday dates should be be separated with
+``\texttt{and}''. For backward compatibility, or if an unconventional
+address formatting is needed, the \texttt{street}, \texttt{city},
+\texttt{state}, \texttt{zip} and \texttt{country} fields (and their
+\texttt{p.}, \texttt{r.} and \texttt{w.} equivalents) can be replaced by
+generic \texttt{address}, \texttt{p.address}, \texttt{r.address} or
+\texttt{w.address} fields. As soon as an \texttt{address} field is defined,
+any \texttt{street}, \texttt{city}, \texttt{state}, \texttt{zip} or
+\texttt{country} field definition is ignored, and the formatting in the
+\texttt{address} field is kept as is.
+
+\section{Customization}
+\label{sec:custom}
+
+\subsection{Dimensions}
+
+Three new dimensions defining the indentation of the fields (\verb'\dirindent'
+and \verb'\dirparindent') and the amount of space between two entries
+(\verb'\dirsep') have been introduced. The default values are:
+\begin{quote}
+\begin{verbatim}
+\setlength{\dirindent}{3em}
+\setlength{\dirparindent}{0em}
+\setlength{\dirsep}{3ex}
+\end{verbatim}
+\end{quote}
+
+If you want to explicitly introduce a new paragraph in a field, you
+should use the \verb'\dirbreak' command.
+
+A fourth dimension (\verb'\dirtablewidth') sets the width of the table used
+to display fields in when the \texttt{letter} style is selected. The default
+value is:
+\begin{quote}
+\begin{verbatim}
+\setlength{\dirtablewidth}{0.5\textwidth}
+\end{verbatim}
+\end{quote}
+
+
+\subsection{Flags and formats}
+\label{sec:flagsformats}
+
+Each field of a directory is easily customizable by redefining one of the
+commands summarized in table~\ref{tab:commands} at the end of this user's
+guide (page~\pageref{tab:commands}).
+
+For example, to produce nicely formatted address booklets, you could
+redefine the \verb'\Dirheader' command as
+\begin{quote}
+\begin{verbatim}
+\pagestyle{headings}
+\renewcommand{\Dirheader}[1]
+ {\newpage\markboth{\MakeUppercase{#1}}{\MakeUppercase{#1}}}
+\end{verbatim}
+\end{quote}
+(which will split the directory across pages, with the first letter used in
+the sorting algorithm in the header of each page) or
+\begin{quote}
+\begin{verbatim}
+\renewcommand{\Dirheader}[1]
+ {\item\hspace{-\dirindent}\textbf{\MakeUppercase{#1}}}
+\end{verbatim}
+\end{quote}
+(which will produce inline headings).
+
+When a field type appears multiple times in an entry, the default settings
+assume the same formatting for each one. For example, there are three
+instances of a \texttt{phone} type field in a full \texttt{person} entry,
+i.e.\ \texttt{p.phone}, \texttt{r.phone} and \texttt{w.phone}, and the
+\verb'\dirphone' and \verb'\Dirphone' customization commands apply to these
+three instances in the same way.
+
+To particularize the formatting of one of these instances, you can use
+special versions of the customization commands, constructed by inserting
+\texttt{p}, \texttt{r} or \texttt{w} after the \verb'\dir' or \verb'\Dir'
+prefix of the original commands. For example, to customize only the
+\texttt{phone} field in the work part, you should use \verb'\dirwphone' and
+\verb'\Dirwphone'.
+
+To change the formatting of names, you have to edit the \BibTeX\ style
+files. For example, the default name format ``Christophe von Geuzaine, Jr.''
+can be changed into ``von Geuzaine C., Jr.'' in your address books by replacing the line
+\begin{quote}
+\begin{verbatim}
+s nameptr "{ff }{vv }{ll}{, jj}" format.name$ 't :=
+\end{verbatim}
+\end{quote}
+in the file \texttt{address.bst} by the line
+\begin{quote}
+\begin{verbatim}
+s nameptr "{vv }{ll}{ f.}{, jj}" format.name$ 't :=
+\end{verbatim}
+\end{quote}
+
+
+\section{Using both \texttt{directory} and \texttt{bibliography}}
+\label{sec:usingboth}
+
+Since \BibTeX\ always produces an output file of the form
+\Quote{\emph{filename}\texttt{.bbl}}, it is necessary---in order to use \emph{both}
+directory and bibliography entries---, after generating the \texttt{bbl} file
+corresponding to the directory, to rename it with a new extension (for example
+\texttt{dir}), and to give this new extension as an optional argument to the
+\verb'\directory' command. The normal procedure can then be followed during the
+rest of the bibliography processing. Remember that changing the directory
+(adding an entry or suppressing one) forces you to restart from the beginning.
+
+\section{Generating directories with hypertext links}
+
+You can use the \texttt{hyperref} package along with \texttt{directory}. For
+example, adding the following lines in the preamble of your document and
+using \texttt{pdflatex} will produce a PDF version of your directory, with
+working links for the \verb'email' and \verb'url' fields.
+
+\begin{quote}
+\begin{verbatim}
+\ifx\pdfoutput\undefined\else
+ \usepackage{hyperref}
+ \newcommand\MyURL{\begingroup\Url}
+ \renewcommand{\Diremail}[1]{\href{mailto:#1}{\MyURL{#1}}}
+ \renewcommand{\Dirurl}[1]{\href{#1}{\MyURL{#1}}}
+\fi
+\end{verbatim}
+\end{quote}
+
+\section{Generating HTML, vCard or LDIF directories}
+
+Four special \BibTeX\ style files (\texttt{address-html},
+\texttt{email-html}, \texttt{address-vcard} and \texttt{address-ldif}) allow
+the easy generation of HTML, vCard and LDIF versions of your directories:
+
+\begin{description}
+\item[\textmd{\texttt{address-html}:}]
+full listing in the HTML directory of all fields corresponding to the
+\emph{key} entry. The output formatting is similar to that produced by \LaTeX\
+with the \texttt{address} style;
+\item[\textmd{\texttt{email-html}:}]
+only e-mail addresses are displayed in the HTML directory;
+\item[\textmd{\texttt{address-vcard}:}]
+full listing in the vCard directory of all fields corresponding to the
+\emph{key} entry.
+\item[\textmd{\texttt{address-ldif}:}]
+full listing in the LDIF directory of all fields corresponding to the
+\emph{key} entry.
+\end{description}
+
+Since \BibTeX\ directly outputs a \texttt{bbl} file in HTML, vCard or LDIF
+format, no additional program is needed to make the HTML/vCard/LDIF
+conversion. The \texttt{bbl} file directly contains the HTML/vCard/LDIF
+code, ready to be included in a HTML document or to be imported in a
+vCard/LDIF-aware application (Apple Address Book, Microsoft Outlook, Mozilla
+Mail, etc.).
+
+This method presents nevertheless a little drawback: after \BibTeX'ing your
+\LaTeX\ file, running \LaTeX\ on the same file (even with another
+\verb|\directorystyle|) will produce errors, since the \texttt{bbl} file is
+not understandable by \LaTeX. You have to either delete the \texttt{bbl}
+file or to override the error messages (and to change the
+\verb|\directorystyle|) before any subsequent successful \LaTeX\ run.
+
+The handling of special characters in the HTML/vCard/LDIF directories is
+also somewhat problematic: any special \LaTeX\ character sequence is output
+the way it is in the \texttt{bib} file. This implies for example that
+\verb|{\'e}| is printed in the HTML document as \verb|{\'e}|, and not as
+\verb|&eacute;|. The vCard style assumes an ISO Latin 1 encoding of the
+directory. If a special encoding is used in the \texttt{bib} file, the LDIF
+output will need to be converted to UTF8. See the comments in the \BibTeX\
+style files for more information.
+
+\section{Example}
+\label{sec:example}
+
+Despite the option described in section~\ref{sec:usingboth}, one of the most
+interesting way of using \texttt{directory} is to build a separate address
+book, including several \texttt{bib} files referring to several categories of
+people, companies or places, as in the example shown in this document:
+\begin{quote}
+\verb|\nodir{*}| \\
+\verb|\directory{family,business}|
+\end{quote}
+
+A second interesting way of using \texttt{directory} is to use it in your faxes
+or letters. Using the standard \LaTeX\ class \texttt{letter.cls} with the
+directory style \texttt{letter}, you may for example begin a letter by the
+following command (\verb'\wdir' must be \texttt{protect}'ed since the argument
+of the \texttt{letter} environment is a moving argument):
+\begin{quote}
+\verb'\begin{letter}{\protect\wdir{c.geuzaine}}'
+\end{quote}
+
+Take a look at the example \texttt{tex} and \texttt{bib}
+files (\texttt{directory.tex}, \texttt{family.bib} and
+\texttt{business.bib}) and try the options out. The source files are
+commented and easy to customize. I would be very happy to get your suggestions
+to improve this package.
+
+\subsection{Source file}
+
+Here are four \texttt{bib} entries (taken from \texttt{family.bib} and
+\texttt{business.bib}):
+
+\begin{verbatim}
+@Person{c.geuzaine,
+ name = "Christophe Geuzaine",
+ birthday = "06 02",
+ birthyear = "1973",
+ p.email = "geuz@geuz.org",
+ p.url = "http://www.geuz.org",
+ w.title = "Postdoctoral Scholar",
+ w.name = "Caltech, Applied and Computational Mathematics",
+ w.url = "http://www.acm.caltech.edu",
+ w.street = "1200 E California Blvd",
+ w.city = "Pasadena",
+ w.state = "CA",
+ w.zip = 91125,
+ w.country = "USA",
+ w.phone = "1 626 395 4552",
+}
+
+@Person{d.d.knu,
+ name = "Knudson, Daffy Duck and Bunny, Bugs and Mr. Pluto",
+ nickname = "gnat and gnu and pluto",
+ birthday = "10 02 and 05 11 and 01 01",
+ p.phone = "+01-(0)2-765.43.21",
+ p.cellular = "+01-(0)5-555.55.55",
+ p.account = "010-1234567-05",
+ r.street = "Haight Street 512",
+ r.zip = 80214,
+ r.city = "Novosibirsk",
+ r.country = "Gnuland",
+ r.phone = "+01-(0)2-876.54.32",
+ w.name = "University of Novosibirsk,
+ Department of Octopus Parthenogenesis",
+}
+
+@Company{knudsoft,
+ name = "The Knudsoft Company",
+ email = "knud@knudsoft.com",
+ url = "http://knudsoft.com/hole/gates.htm",
+}
+
+@Place{knudsoft:rs.2,
+ name = "Knudsoft (RS.2 Computer Room)",
+ phone = "+01-(0)2-434.23.23",
+}
+\end{verbatim}
+
+\subsection{Output}
+\label{sec:output}
+
+The output resulting from the \verb'\directory{family,business}' command is
+shown below (all entries are listed, thanks to the \verb'\nodir{*}' command):
+
+% CUSTOM: try e.g. citing just some of the entries
+\nodir{*}
+
+% CUSTOM: this has the same effect as \directory[bbl]{family,business}
+\directory{family,business}
+
+%%tth: \par directory generated with \href{directory-address.html}{address-html.bst},
+%%tth: \href{directory-email.html}{email-html.bst},
+%%tth: \href{directory-address.vcf}{address-vcard.bst} and
+%%tth: \href{directory-address.ldif}{address-ldif.bst}.
+
+\section{Contributors}
+
+Many thanks to Bernd Schandl, Robert Walker Sumner, Thomas Ruedas and
+J\"urgen G\"obel for their suggestions and corrections.
+
+\section{Versions}
+
+\begin{description}
+\item[0.95] (Jan 8, 1998)
+First distributed version.
+\item[0.96] (Jan 9, 1998)
+New documentation. Introduction of customization commands. New alignment
+mechanism in the \texttt{addressbook} and \texttt{phonebook} environments.
+\item[0.97] (Jan 26, 1998)
+Entries \texttt{ccp} and \texttt{p.ccp} changed to \texttt{account} and
+\texttt{p.account}.
+\item[0.98] (Feb 9, 1998)
+New style \texttt{letter.bst}. New commands \verb|\pdir|, \verb|\rdir| and
+\verb|\wdir| to produce in-text addresses when used with the
+\texttt{letter.bst} style. New internal key generation.
+\item[0.99] (Feb 12, 1998)
+Name change of old customization flags (\verb'\'\emph{name}\verb'flag' becomes
+\verb'\dir'\emph{name}). New flags introduced: \verb|\dirnickname|, \verb|\dirphone|,
+\verb|\dirfax|, \verb|\diremail|, \verb|\dirurl|, \verb|\diraccount| and
+\verb|\dirand|.
+\item[1.00] (Mar 26, 1998)
+New HTML styles (\texttt{address-html.bst} and \texttt{email-html.bst}).
+\item[1.01] (Oct 26, 1998)
+Minor corrections.
+\item[1.10] (May 6, 1999)
+Major rewriting of \texttt{bst} files (suppression of direct \LaTeX\
+formatting). Definition of new customization commands. New package global
+options to split directories across pages and allow page breaks inside
+directory fields. The \texttt{url.sty} package is now required.
+\item[1.11] (May 7, 1999)
+Introduction of \verb'\dirparindent'.
+\item[1.12] (May 11, 1999)
+Formatting commands can be particularized to each subfield by adding
+\texttt{p}, \texttt{r} or \texttt{w} after the \verb'\dir' or \verb'\Dir'
+prefix of the original customization command. Many simplifications and small
+corrections in the page breaking mechanism and in the list environments.
+\item[1.13] (Jun 21, 1999)
+Fixed bug for long entries without blank spaces (e.g.\ in \texttt{url}
+fields).
+\item[1.14] (Jun 21, 2000)
+More flexible definition of \verb|\Dirheader|.
+\item[1.15] (Aug 28, 2000)
+Added fields for cellular phones (suggested by Stefano Ferrari). Added
+section explaining how to use \texttt{hyperref} to generate PDF documents
+with hyperlinks. Updated web site address.
+\item[1.16] (Feb 5, 2002)
+Added \verb'\dirtablewidth' to set the width of the fields when the
+\texttt{letter} style is selected. Suppressed the \texttt{split} option
+(redefining the \verb'\Dirheader' command makes it possible to achieve the
+same result: see section~\ref{sec:flagsformats}).
+\item[1.17] (Dec 15, 2002)
+Revised documentation.
+\item[1.18] (Sep 13, 2003)
+Added vCard and LDIF support.
+\item[1.19] (Sep 15, 2003)
+Split \texttt{address} into \texttt{street}, \texttt{city}, \texttt{state},
+\texttt{zip} and \texttt{country}.
+\item[1.20] (Sep 22, 2004)
+Fixed small vcard export bug when using the old \texttt{address} fields;
+new \texttt{german}, \texttt{french} and \texttt{longdates} options.
+\end{description}
+
+
+\begin{table}[p]
+\caption{Summary of customization commands\label{tab:commands}}
+\begin{center}\small
+\begin{tabular}{@{}l@{\hspace{5pt}}c@{\hspace{5pt}}p{3.8cm}l@{}}
+\hline
+Command & Arg. & Explanation & Default \\
+\hline
+
+\verb'\dirsymbol' & 0 &
+\raggedright In-text symbol produced after a directory citation &
+\verb*'' \\
+
+\verb'\dirand' & 0 &
+\DbleQuote{anding} string &
+\verb*'\normalfont{and}' \\
+
+\verb'\dirbirthday' & 0 &
+Birthday field flag &
+\verb*'$\star$~' \\
+
+\verb'\dirprivate' & 0 &
+Private field flag &
+\verb*'\emph{p}~' \\
+
+\verb'\dirresidence' & 0 &
+Residence field flag &
+\verb*'\emph{r}~' \\
+
+\verb'\dirwork' & 0 &
+Work field flag &
+\verb*'\emph{w}~' \\
+
+\verb'\dirnote' & 0 &
+Note field flag &
+\verb*'$\triangleright$~' \\
+
+\verb'\dirnickname' & 0 &
+Nickname field flag &
+\verb*'' \\
+
+\verb'\diraddress' & 0 &
+Address fields flag &
+\verb*'' \\
+
+\verb'\dirphone'$^*$ & 0 &
+Phone fields flag &
+\verb*'tel: ' \\
+
+\verb'\dircellular'$^*$ & 0 &
+Cellular phone fields flag &
+\verb*'mobile: ' \\
+
+\verb'\dirfax'$^*$ & 0 &
+Fax fields flag &
+\verb*'fax: ' \\
+
+\verb'\diremail'$^*$ & 0 &
+E-mail fields flag &
+\verb*'' \\
+
+\verb'\dirurl'$^*$ & 0 &
+Url fields flag &
+\verb*'' \\
+
+\verb'\diraccount'$^*$ & 0 &
+Account fields flag &
+\verb*'acc: ' \\
+
+\verb'\dirtitle' & 0 &
+Title field flag &
+\verb*'' \\
+
+\verb'\dirname' & 0 &
+Name field flag &
+\verb*'' \\
+
+\verb'\Dirlabel' & 1 &
+Label format &
+\verb*'{\textbf{#1}}' \\
+
+\verb'\Dirheader' & 1 &
+Command issued for each new starting letter in the directory (the arg.\ is
+the first letter used in the sorting algorithm) &
+\verb*'{}' \\
+
+\verb'\Dirbirthday' & 2 &
+\raggedright Birthday format (the first arg.\ is the day, the second
+is the month) &
+\verb*'{\number#2}/{\number#1}' \\
+
+\verb'\Dirbirthyear' & 1 &
+\raggedright Birth year format when a \texttt{birthday} field exists &
+\verb*'/{#1}' \\
+
+\verb'\DirbirthyearAlone' & 1 &
+\raggedright Birth year format when no \texttt{birthday} field exists &
+\verb*'{#1}' \\
+
+\verb'\Dirnickname' & 1 &
+Nickname format &
+\verb*'(aka \emph{#1})' \\
+
+\verb'\Diraddress'$^*$ & 1 &
+Address format &
+\verb*'{#1}' \\
+
+\verb'\Dirphone'$^*$ & 1 &
+Phone format &
+\verb*'{#1}' \\
+
+\verb'\Dircellular'$^*$ & 1 &
+Cellular phone format &
+\verb*'{#1}' \\
+
+\verb'\Dirfax'$^*$ & 1 &
+Fax format &
+\verb*'{#1}' \\
+
+\verb'\Diremail'$^*$ & 1 &
+E-mail format &
+\verb*'\url{#1}' \\
+
+\verb'\Dirurl'$^*$ & 1 &
+Url format &
+\verb*'\url{#1}' \\
+
+\verb'\Diraccount'$^*$ & 1 &
+Account format &
+\verb*'\url{#1}' \\
+
+\verb'\Dirtitle' & 1 &
+Title format &
+\verb*'{#1}' \\
+
+\verb'\Dirname' & 1 &
+Name format &
+\verb*'{#1}' \\
+
+\verb'\Dirnote' & 1 &
+Note format &
+\verb*'{#1}' \\
+
+\hline
+\end{tabular}
+\end{center}
+\vspace{-5pt}\small
+$^*$\,The commands marked with an asterisk also exist
+in three other versions, controlling independently the private, residence and
+work parts (e.g.\ \verb'\dirphone' can be particularized to \verb'\dirpphone',
+\verb'\dirrphone' and \verb'\dirwphone').
+\end{table}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/directory/email-html.bst b/biblio/bibtex/contrib/directory/email-html.bst
new file mode 100644
index 0000000000..f81551b860
--- /dev/null
+++ b/biblio/bibtex/contrib/directory/email-html.bst
@@ -0,0 +1,359 @@
+%% email-html.bst
+%% Copyright 1998-2003 Christophe Geuzaine <geuz@geuz.org>
+%
+% $Id: email-html.bst,v 1.7 2004/02/07 23:41:45 geuzaine Exp $
+%
+% This program can be redistributed and/or modified under the terms
+% of the LaTeX Project Public License distributed from CTAN
+% archives in directory macros/latex/base/lppl.txt; either
+% version 1 of the License, or (at your option) any later version.
+%
+% BibTeX bibliography style `addr-htm.bst'
+% 'directory' database: all fields
+%
+% This is definitively a hack...
+%
+% The parts you may want to customize are labeled with "CUSTOM"
+%
+
+INTEGERS { nameptr namesleft numnames numaux len }
+STRINGS { s t u v }
+
+% ------------------------------------------------------------
+% E N T R I E S
+% ------------------------------------------------------------
+
+ENTRY
+ { name
+ email
+ p.email
+ r.email
+ w.email
+ }
+ {}
+ { private.str
+ residence.str
+ work.str
+ and.str
+ }
+
+
+% ------------------------------------------------------------
+% G E N E R A L
+% ------------------------------------------------------------
+
+FUNCTION {init.strings}
+{
+% CUSOTM this is the 'html' equivalent for the \dirXXX customization
+% commands
+
+ "&nbsp;<em>priv.</em>" 'private.str :=
+ "&nbsp;<em>temp.</em>" 'residence.str :=
+ "&nbsp;<em>prof.</em>" 'work.str :=
+ " and " 'and.str :=
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ write$
+ newline$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {emailize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<A HREF=" quote$ * "mailto:" * swap$ * quote$ * " >" * swap$ * "</A>" * }
+ if$
+}
+
+% ------------------------------------------------------------
+% S O R T I N G F U N C T I O N S
+% ------------------------------------------------------------
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+FUNCTION {sort.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+
+FUNCTION {sort.raw.names}
+{ 't :=
+ "A " #2 "L'" #2
+ "An " #3 "Au " #3 "Le " #3 "La " #3
+ "The " #4 "Les " #4 "Aux " #4
+ t
+ chop.word chop.word
+ chop.word chop.word chop.word chop.word
+ chop.word chop.word chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {name.sort}
+{ name empty$
+ { " Name field missing in entry '" cite$ * "'" * warning$ "" }
+ { name sort.names }
+ if$
+}
+
+FUNCTION {raw.name.sort}
+{ name empty$
+ { " Name field missing in entry '" cite$ * "'" * warning$ "" }
+ { name sort.raw.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "company" =
+ type$ "place" =
+ or
+ { raw.name.sort }
+ { name.sort }
+ if$
+ " "
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+% ------------------------------------------------------------
+% P R E - A N D P O S T - H E A D E R S
+% ------------------------------------------------------------
+
+FUNCTION {begin.bib}
+{ "<HTML>" write$
+ newline$
+ "<TITLE>E-mail directory</TITLE>" write$
+ newline$
+}
+
+FUNCTION {end.bib}
+{ newline$
+ "<p><hr><center><font size=-1>This e-mail directory was generated by <A HREF= " write$
+ quote$ "http://www.geuz.org/directory/" * quote$ * write$
+ " >directory</A></center></HTML>" write$
+ newline$
+}
+
+% ------------------------------------------------------------
+% F O R M A T S
+% ------------------------------------------------------------
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {
+% CUSTOM uncomment one of the following lines to have the behaviour on the right
+% s nameptr "{ff{ } }{vv{ } }{ll{ }}{, jj{ }}" format.name$ 't := % Christophe de Geuzaine, jr
+% s nameptr "{f.{ } }{vv{ } }{ll{ }}{, jj{ }}" format.name$ 't := % C. de Geuzaine, jr
+% s nameptr "{vv{ } }{ll{ }}{ f.{ }}{, jj{ }}" format.name$ 't := % de Geuzaine C., jr
+ s nameptr "{vv{ } }{ll{ }}{, ff{ }}{, jj{ }}" format.name$ 't := % de Geuzaine, Christophe, jr
+
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { and.str * t * }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.name}
+{ name empty$
+ { "" }
+ { name format.names }
+ if$
+}
+
+FUNCTION {format.email}
+{ email empty$
+ { "" }
+ { email email emailize }
+ if$
+}
+
+FUNCTION {format.p.flag}
+{ p.email empty$ not
+ { private.str }
+ { "" }
+ if$
+}
+
+FUNCTION {format.p.email}
+{ p.email empty$
+ { "" }
+ { p.email p.email emailize }
+ if$
+}
+
+FUNCTION {format.r.flag}
+{ r.email empty$ not
+ { residence.str }
+ { "" }
+ if$
+}
+
+FUNCTION {format.r.email}
+{ r.email empty$
+ { "" }
+ { r.email r.email emailize }
+ if$
+}
+
+FUNCTION {format.w.flag}
+{ w.email empty$ not
+ { work.str }
+ { "" }
+ if$
+}
+
+FUNCTION {format.w.email}
+{ w.email empty$
+ { "" }
+ { w.email w.email emailize }
+ if$
+}
+
+
+% ------------------------------------------------------------
+% P E R S O N E N T R Y
+% ------------------------------------------------------------
+
+FUNCTION { person }
+{
+ p.email empty$ not
+ r.email empty$ not
+ w.email empty$ not
+ or or
+ { init.strings
+
+ newline$
+ "<br><b>" write$
+ format.name write$
+ "</b>" write$
+
+ ""
+ format.p.flag output
+ format.p.email output
+ format.r.flag output
+ format.r.email output
+ format.w.flag output
+ format.w.email output
+
+ write$
+ newline$
+ }
+ { }
+ if$
+}
+
+% ------------------------------------------------------------
+% C O M P A N Y E N T R Y
+% ------------------------------------------------------------
+
+
+FUNCTION { company }
+{
+ email empty$ not
+ { init.strings
+
+ newline$
+ "<br><b>" write$
+ name write$
+ "</b>" write$
+
+ ""
+ format.email output
+
+ write$
+ newline$
+ }
+ { }
+ if$
+
+}
+
+% ------------------------------------------------------------
+% P L A C E E N T R Y
+% ------------------------------------------------------------
+
+FUNCTION { place }
+{
+}
+
+% ------------------------------------------------------------
+% M A I N
+% ------------------------------------------------------------
+
+READ
+ITERATE {presort}
+SORT
+EXECUTE {begin.bib}
+ITERATE {call.type$}
+EXECUTE {end.bib}
+
diff --git a/biblio/bibtex/contrib/directory/email.bst b/biblio/bibtex/contrib/directory/email.bst
new file mode 100644
index 0000000000..bb88854fa8
--- /dev/null
+++ b/biblio/bibtex/contrib/directory/email.bst
@@ -0,0 +1,366 @@
+%% email.bst
+%% Copyright 1998-2003 Christophe Geuzaine <geuz@geuz.org>
+%
+% $Id: email.bst,v 1.6 2003/09/14 09:47:49 geuzaine Exp $
+%
+% This program can be redistributed and/or modified under the terms
+% of the LaTeX Project Public License distributed from CTAN
+% archives in directory macros/latex/base/lppl.txt; either
+% version 1 of the License, or (at your option) any later version.
+%
+% BibTeX bibliography style `email.bst'
+% 'directory' database: only email field
+%
+% The parts you may want to customize are labeled with "CUSTOM"
+%
+
+INTEGERS { nameptr namesleft numnames numaux len }
+STRINGS { s t u v }
+
+% ------------------------------------------------------------
+% E N T R I E S
+% ------------------------------------------------------------
+
+ENTRY
+ { name
+ email
+ p.email
+ r.email
+ w.email
+ }
+ {}
+ {}
+
+% ------------------------------------------------------------
+% G E N E R A L
+% ------------------------------------------------------------
+
+FUNCTION {output}
+{ 's :=
+ s empty$
+ {}
+ { s write$
+ newline$
+ "\dirblock" write$
+ newline$
+ }
+ if$
+}
+
+FUNCTION {output.flag}
+{ 's :=
+ s empty$
+ {}
+ { s write$
+ newline$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+
+% ------------------------------------------------------------
+% S O R T I N G F U N C T I O N S
+% ------------------------------------------------------------
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+FUNCTION {sort.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+
+FUNCTION {sort.raw.names}
+{ 't :=
+ "A " #2 "L'" #2
+ "An " #3 "Au " #3 "Le " #3 "La " #3
+ "The " #4 "Les " #4 "Aux " #4
+ t
+ chop.word chop.word
+ chop.word chop.word chop.word chop.word
+ chop.word chop.word chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {name.sort}
+{ name empty$
+ { " Name field missing in entry '" cite$ * "'" * warning$ "" }
+ { name sort.names }
+ if$
+}
+
+FUNCTION {raw.name.sort}
+{ name empty$
+ { " Name field missing in entry '" cite$ * "'" * warning$ "" }
+ { name sort.raw.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "company" =
+ type$ "place" =
+ or
+ { raw.name.sort }
+ { name.sort }
+ if$
+ " "
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+FUNCTION {format.first.letter}
+{ type$ "company" =
+ type$ "place" =
+ or
+ { raw.name.sort }
+ { name.sort }
+ if$
+ #1 #1 substring$
+}
+
+
+% ------------------------------------------------------------
+% P R E - A N D P O S T - H E A D E R S
+% ------------------------------------------------------------
+
+FUNCTION {begin.bib}
+{ "\begin{thephonebook}" write$
+ newline$
+}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thephonebook}" write$
+ newline$
+}
+
+% ------------------------------------------------------------
+% F O R M A T S
+% ------------------------------------------------------------
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {
+% CUSTOM uncomment one of the following lines to have the behaviour on the right
+ s nameptr "{ff }{vv }{ll}{, jj}" format.name$ 't := % Christophe de Geuzaine, jr
+% s nameptr "{f. }{vv }{ll}{, jj}" format.name$ 't := % C. de Geuzaine, jr
+% s nameptr "{vv }{ll}{ f.}{, jj}" format.name$ 't := % de Geuzaine C., jr
+% s nameptr "{vv }{ll}{, ff}{, jj}" format.name$ 't := % de Geuzaine, Christophe, jr
+
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { " {\dirandf} " * t * }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.name}
+{ name empty$
+ { "" }
+ { name format.names }
+ if$
+}
+
+FUNCTION {format.email}
+{ email empty$
+ { "" }
+ { "\diremaa{" email "}" * * }
+ if$
+}
+
+FUNCTION {format.p.flag}
+{ p.email empty$ not
+ { "\dirprif " }
+ { "" }
+ if$
+}
+
+FUNCTION {format.p.email}
+{ p.email empty$
+ { "" }
+ { "\dirpemaa{" p.email "}" * * }
+ if$
+}
+
+FUNCTION {format.r.flag}
+{ r.email empty$ not
+ { "\dirresf " }
+ { "" }
+ if$
+}
+
+FUNCTION {format.r.email}
+{ r.email empty$
+ { "" }
+ { "\dirremaa{" r.email "}" * * }
+ if$
+}
+
+FUNCTION {format.w.flag}
+{ w.email empty$ not
+ { "\dirworf " }
+ { "" }
+ if$
+}
+
+FUNCTION {format.w.email}
+{ w.email empty$
+ { "" }
+ { "\dirwemaa{" w.email "}" * * }
+ if$
+}
+
+% ------------------------------------------------------------
+% P E R S O N E N T R Y
+% ------------------------------------------------------------
+
+FUNCTION { person }
+{
+ p.email empty$ not
+ r.email empty$ not
+ w.email empty$ not
+ or or
+ { newline$
+
+ "\dircheck{" write$
+ format.first.letter write$
+ "}" write$
+ newline$
+
+ "\diritem[" write$
+ format.name write$
+ "]{" write$
+ "d." cite$ * write$
+ "}\dirgroup" write$
+ newline$
+ "\dirblock" write$
+ newline$
+
+ format.p.flag output.flag
+ format.p.email output
+
+ format.r.flag output.flag
+ format.r.email output
+
+ format.w.flag output.flag
+ format.w.email output
+
+ "\direndgroup" write$
+ newline$
+ }
+ { }
+ if$
+}
+
+% ------------------------------------------------------------
+% C O M P A N Y E N T R Y
+% ------------------------------------------------------------
+
+
+FUNCTION { company }
+{
+ email empty$ not
+ { newline$
+
+ "\dircheck{" write$
+ format.first.letter write$
+ "}" write$
+ newline$
+
+ "\diritem[" write$
+ name write$
+ "]{" write$
+ "d." cite$ * write$
+ "}\dirgroup" write$
+ newline$
+ "\dirblock" write$
+ newline$
+
+ format.email output
+
+ "\direndgroup" write$
+ newline$
+ }
+ { }
+ if$
+}
+
+% ------------------------------------------------------------
+% P L A C E E N T R Y
+% ------------------------------------------------------------
+
+
+FUNCTION { place }
+{
+}
+
+% ------------------------------------------------------------
+% M A I N
+% ------------------------------------------------------------
+
+READ
+ITERATE {presort}
+SORT
+EXECUTE {begin.bib}
+ITERATE {call.type$}
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/directory/family.bib b/biblio/bibtex/contrib/directory/family.bib
new file mode 100644
index 0000000000..7704f9bdac
--- /dev/null
+++ b/biblio/bibtex/contrib/directory/family.bib
@@ -0,0 +1,72 @@
+## family.bib
+## Copyright 1998-2003 Christophe Geuzaine
+#
+# $Id: family.bib,v 1.8 2003/09/15 05:40:31 geuzaine Exp $
+#
+# This program can be redistributed and/or modified under the terms
+# of the LaTeX Project Public License distributed from CTAN
+# archives in directory macros/latex/base/lppl.txt; either
+# version 1 of the License, or (at your option) any later version.
+#
+# 'directory' package: sample bib file
+#
+# important notes:
+# * 'birthday' field format: "day month"
+# * For married couples, be aware that an entry of the form 'Hillary and
+# Bill Clinton' will produce silly alphabetical sorting, since BibTeX
+# thinks Hillary is a last name. A better (but not perfect, and a little
+# bit macho) way to proceed is to introduce 'Bill Clinton and Hillary'.
+# The best way is of course to introduce 'Bill Clinton and Hillary Rodham'.
+# (An even better way is to introduce 'Clinton, William Jefferson
+# Blythe III and Rodham, Hillary' and put 'Bill' in the nickname field.)
+
+@Person{c.geuzaine,
+ name = "Christophe Geuzaine",
+ birthday = "06 02",
+ birthyear = "1973",
+ p.email = "geuz@geuz.org",
+ p.url = "http://www.geuz.org",
+ w.title = "Postdoctoral Scholar",
+ w.name = "Caltech, Applied and Computational Mathematics",
+ w.url = "http://www.acm.caltech.edu",
+ w.street = "1200 E California Blvd",
+ w.city = "Pasadena",
+ w.state = "CA",
+ w.zip = 91125,
+ w.country = "USA",
+ w.phone = "1 626 395 4552",
+}
+
+@Person{d.e.knu,
+ name = "Knudson, Donald Ernest",
+ birthday = "29 01",
+ p.phone = "+01-(0)2-234.56.78",
+ p.email = "duck@novosi.uni.gnu",
+ note = "1952 Permafrost Press Award winner",
+}
+
+@Person{d.d.knu,
+ name = "Knudson, Daffy Duck and Bunny, Bugs and Mr. Pluto",
+ nickname = "gnat and gnu and pluto",
+ birthday = "10 02 and 05 11 and 01 01",
+ p.phone = "+01-(0)2-765.43.21",
+ p.cellular = "+01-(0)5-555.55.55",
+ p.account = "010-1234567-05",
+ r.street = "Haight Street 512",
+ r.zip = 80214,
+ r.city = "Novosibirsk",
+ r.country = "Gnuland",
+ r.phone = "+01-(0)2-876.54.32",
+ w.name = "University of Novosibirsk,
+ Department of Octopus Parthenogenesis",
+}
+
+@Person{b.b.knu,
+ name = "Bip B. Knudson",
+ nickname = "road runner",
+ birthday = "27 02",
+ p.email = "bip_bip@free.prov.gnu",
+ p.address = "Somewhere close to a falling rock",
+}
+
+
diff --git a/biblio/bibtex/contrib/directory/letter.bst b/biblio/bibtex/contrib/directory/letter.bst
new file mode 100644
index 0000000000..b0b79725cf
--- /dev/null
+++ b/biblio/bibtex/contrib/directory/letter.bst
@@ -0,0 +1,359 @@
+%% letter.bst
+%% Copyright 1998-2003 Christophe Geuzaine <geuz@geuz.org>
+%
+% $Id: letter.bst,v 1.7 2003/09/15 05:40:31 geuzaine Exp $
+%
+% This program can be redistributed and/or modified under the terms
+% of the LaTeX Project Public License distributed from CTAN
+% archives in directory macros/latex/base/lppl.txt; either
+% version 1 of the License, or (at your option) any later version.
+%
+% BibTeX bibliography style `letter.bst'
+% 'directory' database: all fields
+%
+% The parts you may want to customize are labeled with "CUSTOM"
+%
+
+INTEGERS { nameptr namesleft numnames numaux len }
+STRINGS { s t u v }
+
+% ------------------------------------------------------------
+% E N T R I E S
+% ------------------------------------------------------------
+
+ENTRY
+ { name
+ address
+ street
+ city
+ state
+ zip
+ country
+ p.address
+ p.street
+ p.city
+ p.state
+ p.zip
+ p.country
+ r.address
+ r.street
+ r.city
+ r.state
+ r.zip
+ r.country
+ w.title
+ w.name
+ w.address
+ w.street
+ w.city
+ w.state
+ w.zip
+ w.country
+ }
+ {}
+ {}
+
+% ------------------------------------------------------------
+% G E N E R A L
+% ------------------------------------------------------------
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+% ------------------------------------------------------------
+% F O R M A T S
+% ------------------------------------------------------------
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {
+% CUSTOM uncomment one of the following lines to have the behaviour on the right
+ s nameptr "{ff }{vv }{ll}{, jj}" format.name$ 't := % Christophe de Geuzaine, jr
+% s nameptr "{f. }{vv }{ll}{, jj}" format.name$ 't := % C. de Geuzaine, jr
+% s nameptr "{vv }{ll}{ f.}{, jj}" format.name$ 't := % de Geuzaine C., jr
+% s nameptr "{vv }{ll}{, ff}{, jj}" format.name$ 't := % de Geuzaine, Christophe, jr
+
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { " {\dirandf} " * t * }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.name}
+{ name empty$
+ { "" }
+ { name format.names }
+ if$
+}
+
+FUNCTION {format.address}
+{ address empty$
+ {
+ street empty$ city empty$ state empty$ zip empty$ country empty$
+ and and and and
+ { "" }
+ { " \dirnext "
+ street empty$ { "" * } { street " \dirnext " * * } if$
+ city empty$ { "" * } { city " " * * } if$
+ state empty$ { "" * } { state " " * * } if$
+ zip empty$ { "" * } { zip " " * * } if$
+ country empty$ { "" * } { country * } if$
+ }
+ if$
+ }
+ { " \dirnext " address * }
+ if$
+}
+
+FUNCTION {format.p.address}
+{ p.address empty$
+ {
+ p.street empty$ p.city empty$ p.state empty$ p.zip empty$ p.country empty$
+ and and and and
+ { "" }
+ { " \dirnext "
+ p.street empty$ { "" * } { p.street " \dirnext " * * } if$
+ p.city empty$ { "" * } { p.city " " * * } if$
+ p.state empty$ { "" * } { p.state " " * * } if$
+ p.zip empty$ { "" * } { p.zip " " * * } if$
+ p.country empty$ { "" * } { p.country * } if$
+ }
+ if$
+ }
+ { " \dirnext " p.address * }
+ if$
+}
+
+FUNCTION {format.r.address}
+{ r.address empty$
+ {
+ r.street empty$ r.city empty$ r.state empty$ r.zip empty$ r.country empty$
+ and and and and
+ { "" }
+ { " \dirnext "
+ r.street empty$ { "" * } { r.street " \dirnext " * * } if$
+ r.city empty$ { "" * } { r.city " " * * } if$
+ r.state empty$ { "" * } { r.state " " * * } if$
+ r.zip empty$ { "" * } { r.zip " " * * } if$
+ r.country empty$ { "" * } { r.country * } if$
+ }
+ if$
+ }
+ { " \dirnext " r.address * }
+ if$
+}
+
+FUNCTION {format.w.title}
+{ w.title empty$
+ { "" }
+ { " \dirnext " w.title * }
+ if$
+}
+
+FUNCTION {format.w.name}
+{ w.name empty$
+ { "" }
+ { " \dirnext " w.name * }
+ if$
+}
+
+FUNCTION {format.w.address}
+{ w.address empty$
+ {
+ w.street empty$ w.city empty$ w.state empty$ w.zip empty$ w.country empty$
+ and and and and
+ { "" }
+ { " \dirnext "
+ w.street empty$ { "" * } { w.street " \dirnext " * * } if$
+ w.city empty$ { "" * } { w.city " " * * } if$
+ w.state empty$ { "" * } { w.state " " * * } if$
+ w.zip empty$ { "" * } { w.zip " " * * } if$
+ w.country empty$ { "" * } { w.country * } if$
+ }
+ if$
+ }
+ { " \dirnext " w.address * }
+ if$
+}
+
+% ------------------------------------------------------------
+% P E R S O N E N T R Y
+% ------------------------------------------------------------
+
+FUNCTION { person }
+{
+ "\diritem{" write$
+ format.name write$
+ "}{" write$
+ "d." cite$ * write$
+ "}" write$
+
+ newline$
+
+ "\diritem{" write$
+ "\dirbegin " write$
+ format.name write$
+ format.p.address write$
+ "\dirend " write$
+ "}{" write$
+ "p." cite$ * write$
+ "}" write$
+
+ newline$
+
+ "\diritem{" write$
+ "\dirbegin " write$
+ format.name write$
+ format.r.address write$
+ "\dirend " write$
+ "}{" write$
+ "r." cite$ * write$
+ "}" write$
+
+ newline$
+
+ "\diritem{" write$
+ "\dirbegin " write$
+ format.name write$
+ format.w.title write$
+ format.w.name write$
+ format.w.address write$
+ "\dirend " write$
+ "}{" write$
+ "w." cite$ * write$
+ "}" write$
+
+ newline$
+}
+
+% ------------------------------------------------------------
+% C O M P A N Y E N T R Y
+% ------------------------------------------------------------
+
+
+FUNCTION { company }
+{
+ "\diritem{" write$
+ name write$
+ "}{" write$
+ "d." cite$ * write$
+ "}" write$
+
+ newline$
+
+ "\diritem{" write$
+ "\dirbegin " write$
+ name write$
+ format.address write$
+ "\dirend " write$
+ "}{" write$
+ "p." cite$ * write$
+ "}" write$
+
+ newline$
+
+ "\diritem{" write$
+ "\dirbegin " write$
+ name write$
+ format.address write$
+ "\dirend " write$
+ "}{" write$
+ "r." cite$ * write$
+ "}" write$
+
+ newline$
+
+ "\diritem{" write$
+ "\dirbegin " write$
+ name write$
+ format.address write$
+ "\dirend " write$
+ "}{" write$
+ "w." cite$ * write$
+ "}" write$
+
+ newline$
+}
+
+% ------------------------------------------------------------
+% P L A C E E N T R Y
+% ------------------------------------------------------------
+
+FUNCTION { place }
+{
+ "\diritem{" write$
+ name write$
+ "}{" write$
+ "d." cite$ * write$
+ "}" write$
+
+ newline$
+
+ "\diritem{" write$
+ "\dirbegin " write$
+ name write$
+ format.address write$
+ "\dirend " write$
+ "}{" write$
+ "p." cite$ * write$
+ "}" write$
+
+ newline$
+
+ "\diritem{" write$
+ "\dirbegin " write$
+ name write$
+ format.address write$
+ "\dirend " write$
+ "}{" write$
+ "r." cite$ * write$
+ "}" write$
+
+ newline$
+
+ "\diritem{" write$
+ "\dirbegin " write$
+ name write$
+ format.address write$
+ "\dirend " write$
+ "}{" write$
+ "w." cite$ * write$
+ "}" write$
+
+ newline$
+}
+
+% ------------------------------------------------------------
+% M A I N
+% ------------------------------------------------------------
+
+READ
+ITERATE {call.type$}
+
diff --git a/biblio/bibtex/contrib/directory/phone.bst b/biblio/bibtex/contrib/directory/phone.bst
new file mode 100644
index 0000000000..81150d2117
--- /dev/null
+++ b/biblio/bibtex/contrib/directory/phone.bst
@@ -0,0 +1,485 @@
+%% phone.bst
+%% Copyright 1998-2003 Christophe Geuzaine <geuz@geuz.org>
+%
+% $Id: phone.bst,v 1.6 2003/09/14 09:47:49 geuzaine Exp $
+%
+% This program can be redistributed and/or modified under the terms
+% of the LaTeX Project Public License distributed from CTAN
+% archives in directory macros/latex/base/lppl.txt; either
+% version 1 of the License, or (at your option) any later version.
+%
+% BibTeX bibliography style `phone.bst'
+% 'directory' database: only phone and fax fields
+%
+% The parts you may want to customize are labeled with "CUSTOM"
+%
+
+INTEGERS { nameptr namesleft numnames numaux len }
+STRINGS { s t u v }
+
+% ------------------------------------------------------------
+% E N T R I E S
+% ------------------------------------------------------------
+
+ENTRY
+ { name
+ phone
+ cellular
+ fax
+ p.phone
+ p.cellular
+ p.fax
+ r.phone
+ r.cellular
+ r.fax
+ w.phone
+ w.cellular
+ w.fax
+ }
+ {}
+ {}
+
+% ------------------------------------------------------------
+% G E N E R A L
+% ------------------------------------------------------------
+
+FUNCTION {output}
+{ 's :=
+ s empty$
+ {}
+ { s write$
+ newline$
+ "\dirblock" write$
+ newline$
+ }
+ if$
+}
+
+FUNCTION {output.flag}
+{ 's :=
+ s empty$
+ {}
+ { s write$
+ newline$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+
+% ------------------------------------------------------------
+% S O R T I N G F U N C T I O N S
+% ------------------------------------------------------------
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+FUNCTION {sort.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+
+FUNCTION {sort.raw.names}
+{ 't :=
+ "A " #2 "L'" #2
+ "An " #3 "Au " #3 "Le " #3 "La " #3
+ "The " #4 "Les " #4 "Aux " #4
+ t
+ chop.word chop.word
+ chop.word chop.word chop.word chop.word
+ chop.word chop.word chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {name.sort}
+{ name empty$
+ { " Name field missing in entry '" cite$ * "'" * warning$ "" }
+ { name sort.names }
+ if$
+}
+
+FUNCTION {raw.name.sort}
+{ name empty$
+ { " Name field missing in entry '" cite$ * "'" * warning$ "" }
+ { name sort.raw.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "company" =
+ type$ "place" =
+ or
+ { raw.name.sort }
+ { name.sort }
+ if$
+ " "
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+FUNCTION {format.first.letter}
+{ type$ "company" =
+ type$ "place" =
+ or
+ { raw.name.sort }
+ { name.sort }
+ if$
+ #1 #1 substring$
+}
+
+
+% ------------------------------------------------------------
+% P R E - A N D P O S T - H E A D E R S
+% ------------------------------------------------------------
+
+FUNCTION {begin.bib}
+{ "\begin{thephonebook}" write$
+ newline$
+}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thephonebook}" write$
+ newline$
+}
+
+% ------------------------------------------------------------
+% F O R M A T S
+% ------------------------------------------------------------
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {
+% CUSTOM uncomment one of the following lines to have the behaviour on the right
+% s nameptr "{ff }{vv }{ll}{, jj}" format.name$ 't := % Christophe de Geuzaine, jr
+% s nameptr "{f. }{vv }{ll}{, jj}" format.name$ 't := % C. de Geuzaine, jr
+ s nameptr "{vv }{ll}{ f.}{, jj}" format.name$ 't := % de Geuzaine C., jr
+% s nameptr "{vv }{ll}{, ff}{, jj}" format.name$ 't := % de Geuzaine, Christophe, jr
+
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { " {\dirandf} " * t * }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.name}
+{ name empty$
+ { "" }
+ { name format.names }
+ if$
+}
+
+FUNCTION {format.phone}
+{ phone empty$
+ { "" }
+ { "\dirphoa{" phone "}" * * }
+ if$
+}
+
+FUNCTION {format.cellular}
+{ cellular empty$
+ { "" }
+ { "\dircela{" cellular "}" * * }
+ if$
+}
+
+FUNCTION {format.fax}
+{ fax empty$
+ { "" }
+ { "\dirfaxa{" fax "}" * * }
+ if$
+}
+
+FUNCTION {format.p.flag}
+{ p.phone empty$ not
+ p.cellular empty$ not
+ p.fax empty$ not
+ or or
+ { "\dirprif " }
+ { "" }
+ if$
+}
+
+FUNCTION {format.p.phone}
+{ p.phone empty$
+ { "" }
+ { "\dirpphoa{" p.phone "}" * * }
+ if$
+}
+
+FUNCTION {format.p.cellular}
+{ p.cellular empty$
+ { "" }
+ { "\dirpcela{" p.cellular "}" * * }
+ if$
+}
+
+FUNCTION {format.p.fax}
+{ p.fax empty$
+ { "" }
+ { "\dirpfaxa{" p.fax "}" * * }
+ if$
+}
+
+FUNCTION {format.r.flag}
+{ r.phone empty$ not
+ r.cellular empty$ not
+ r.fax empty$ not
+ or or
+ { "\dirresf " }
+ { "" }
+ if$
+}
+
+FUNCTION {format.r.phone}
+{ r.phone empty$
+ { "" }
+ { "\dirrphoa{" r.phone "}" * * }
+ if$
+}
+
+FUNCTION {format.r.cellular}
+{ r.cellular empty$
+ { "" }
+ { "\dirrcela{" r.cellular "}" * * }
+ if$
+}
+
+FUNCTION {format.r.fax}
+{ r.fax empty$
+ { "" }
+ { "\dirrfaxa{" r.fax "}" * * }
+ if$
+}
+
+FUNCTION {format.w.flag}
+{ w.phone empty$ not
+ w.cellular empty$ not
+ w.fax empty$ not
+ or or
+ { "\dirworf " }
+ { "" }
+ if$
+}
+
+FUNCTION {format.w.phone}
+{ w.phone empty$
+ { "" }
+ { "\dirwphoa{" w.phone "}" * * }
+ if$
+}
+
+FUNCTION {format.w.cellular}
+{ w.cellular empty$
+ { "" }
+ { "\dirwcela{" w.cellular "}" * * }
+ if$
+}
+
+FUNCTION {format.w.fax}
+{ w.fax empty$
+ { "" }
+ { "\dirwfaxa{" w.fax "}" * * }
+ if$
+}
+
+% ------------------------------------------------------------
+% P E R S O N E N T R Y
+% ------------------------------------------------------------
+
+FUNCTION { person }
+{
+ p.phone empty$ not
+ p.cellular empty$ not
+ p.fax empty$ not
+ r.phone empty$ not
+ r.cellular empty$ not
+ r.fax empty$ not
+ w.phone empty$ not
+ w.cellular empty$ not
+ w.fax empty$ not
+ or or or or or or or or
+ { newline$
+
+ "\dircheck{" write$
+ format.first.letter write$
+ "}" write$
+ newline$
+
+ "\diritem[" write$
+ format.name write$
+ "]{" write$
+ "d." cite$ * write$
+ "}\dirgroup" write$
+ newline$
+ "\dirblock" write$
+ newline$
+
+ format.p.flag output.flag
+ format.p.phone output
+ format.p.cellular output
+ format.p.fax output
+
+ format.r.flag output.flag
+ format.r.phone output
+ format.r.cellular output
+ format.r.fax output
+
+ format.w.flag output.flag
+ format.w.phone output
+ format.w.cellular output
+ format.w.fax output
+
+ "\direndgroup" write$
+ newline$
+ }
+ { }
+ if$
+}
+
+% ------------------------------------------------------------
+% C O M P A N Y E N T R Y
+% ------------------------------------------------------------
+
+FUNCTION { company }
+{
+ phone empty$ not
+ cellular empty$ not
+ fax empty$ not
+ or or
+ { newline$
+
+ "\dircheck{" write$
+ format.first.letter write$
+ "}" write$
+ newline$
+
+ "\diritem[" write$
+ name write$
+ "]{" write$
+ "d." cite$ * write$
+ "}\dirgroup" write$
+ newline$
+ "\dirblock" write$
+ newline$
+
+ format.phone output
+ format.cellular output
+ format.fax output
+
+ "\direndgroup" write$
+ newline$
+ }
+ { }
+ if$
+}
+
+% ------------------------------------------------------------
+% P L A C E E N T R Y
+% ------------------------------------------------------------
+
+FUNCTION { place }
+{
+ phone empty$ not
+ cellular empty$ not
+ fax empty$ not
+ or or
+ { newline$
+
+ "\dircheck{" write$
+ format.first.letter write$
+ "}" write$
+ newline$
+
+ "\diritem[" write$
+ name write$
+ "]{" write$
+ "d." cite$ * write$
+ "}\dirgroup" write$
+ newline$
+ "\dirblock" write$
+ newline$
+
+ format.phone output
+ format.cellular output
+ format.fax output
+
+ "\direndgroup" write$
+ newline$
+ }
+ { }
+ if$
+}
+
+
+% ------------------------------------------------------------
+% M A I N
+% ------------------------------------------------------------
+
+READ
+ITERATE {presort}
+SORT
+EXECUTE {begin.bib}
+ITERATE {call.type$}
+EXECUTE {end.bib}
+
diff --git a/biblio/bibtex/contrib/dk-bib/88591-dk.csf b/biblio/bibtex/contrib/dk-bib/88591-dk.csf
new file mode 100644
index 0000000000..6355c5421e
--- /dev/null
+++ b/biblio/bibtex/contrib/dk-bib/88591-dk.csf
@@ -0,0 +1,106 @@
+%%% 88591-dk.csf --- Danish latin-1 sorting order file for bibtex8
+
+%% Copyright (C) 2005 Arne Jorgensen
+
+%% Author: Arne Jorgensen <arne.jorgensen@tug.dk>
+%% Version: $Id: 88591-dk.csf 71 2005-08-05 22:44:05Z arne $
+
+%% This file is free software; you can redistribute it and/or modify
+%% it under the terms of the GNU General Public License as published
+%% by the Free Software Foundation; either version 2 of the License,
+%% or (at your option) any later version.
+
+%% This file is distributed in the hope that it will be useful, but
+%% WITHOUT ANY WARRANTY; without even the implied warranty of
+%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+%% General Public License for more details.
+
+%% You should have received a copy of the GNU General Public License
+%% along with this file; if not, write to the Free Software
+%% Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+%% 02110-1301, USA.
+
+%%% Commentary:
+
+%%% Code:
+
+%%% Character Set:
+
+\lowupcase{
+ à À % \`{a} \`{A}
+ á Á % \'{a} \'{A}
+ â Â % \^{a} \^{A}
+ ã Ã % \~{a} \~{A}
+ ä Ä % \"{a} \"{A}
+ å Å % \ring{a} \ring{A}
+ æ Æ % \ae \AE
+ ç Ç % \c{c} \c{C}
+ è È % \`{e} \`{E}
+ é É % \'{e} \'{E}
+ ê Ê % \^{e} \^{E}
+ ë Ë % \"{e} \"{E}
+ ì Ì % \`{\i} \`{I}
+ í Í % \'{\i} \'{I}
+ î Î % \^{\i} \^{I}
+ ï Ï % \"{\i} \"{I}
+ ð Ð % eth ETH
+ ñ Ñ % \~{n} \~{N}
+ ò Ò % \`{o} \`{O}
+ ó Ó % \'{o} \'{O}
+ ô Ô % \^{o} \^{O}
+ õ Õ % \~{o} \~{O}
+ ö Ö % \"{o} \"{O}
+ ø Ø % \o \O
+ ù Ù % \`{u} \`{U}
+ ú Ú % \'{u} \'{U}
+ û Û % \^{u} \^{U}
+ ü Ü % \"{u} \"{U}
+ ý Ý % \'{y} \'{Y}
+ þ Þ % thorn THORN
+}
+
+%%% Sorting Order:
+
+%% Notice that Þ / þ (THORN / thorn) will be sorted as T / t and not
+%% as Th / th as it should be. You are probably better off be putting
+%% \TH / \th into your .bib file.
+
+\order{
+ 0-9 % 0-9
+ A Á À Â Ã a á à â ã % A \'{A} \`{A} \^{A} \~{A} a \'{a} \`{a} \^{a} \~{a}
+ B b % B b
+ C Ç c ç % C \c{C} c \c{c}
+ D Ð d ð % D ETH d eth
+ E É È Ë Ê e é è ë ê % E \'{E} \`{E} \"{E} \^{E} e \'{e} \`{e} \"{e} \^{e}
+ F f % F f
+ G g % G g
+ H h % H h
+ I Í Ì Ï Î i í ì ï î % I \'{I} \'{I} \"{I} \^{I} i \'{\i} \`{\i} \"{\i} \^{\i}
+ J j % J j
+ K k % K k
+ L l % L l
+ M m % M m
+ N Ñ n ñ % N \~{N} n \~{n}
+ O Ó Ò Ô Õ o ó ò ô õ % O \'{O} \`{O} \^{O} \~{O} o \'{o} \`{o} \^{o} \~{o}
+ P p % P p
+ Q q % Q q
+ R r % R r
+ S s % S s
+ T Þ t þ % T THORN t thorn
+ U Ú Ù Û u ú ù û % U \'{U} \`{U} \^{U} u \'{u} \`{u} \^{u}
+ V v % V v
+ W w % W w
+ X x % X x
+ Y Ü Ý y ü ý ÿ % Y \"{U} \'{Y} y \"{u} \'{y} \"{y}
+ Z z % Z z
+ Æ Ä æ ä % \AE \"{A} \ae \"{a}
+ Ø Ö ø ö % \O \"{O} \o \"{o}
+ Å å % \ring{A} \ring{a}
+}
+
+%% Local Variables:
+%% coding: iso-8859-1
+%% comment-start: "%% "
+%% End:
+
+%%% 88591-dk.csf ends here
diff --git a/biblio/bibtex/contrib/dk-bib/COPYRIGHT b/biblio/bibtex/contrib/dk-bib/COPYRIGHT
new file mode 100644
index 0000000000..8be8530c9a
--- /dev/null
+++ b/biblio/bibtex/contrib/dk-bib/COPYRIGHT
@@ -0,0 +1,362 @@
+The files
+
+ dk-abbrv.bst
+ dk-alpha.bst
+ dk-apali.bst
+ dk-plain.bst
+ dk-unsrt.bst
+ dk-apali.sty
+
+are licensed under the normal licensing of bst-files which says
+
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+
+
+All other files in dk-bib is released under the GNU General Public License.
+
+
+
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Library General
+Public License instead of this License.
diff --git a/biblio/bibtex/contrib/dk-bib/Makefile b/biblio/bibtex/contrib/dk-bib/Makefile
new file mode 100644
index 0000000000..0489f75f6f
--- /dev/null
+++ b/biblio/bibtex/contrib/dk-bib/Makefile
@@ -0,0 +1,71 @@
+### Makefile --- for building dk-bib
+
+# Copyright (C) 2004, 2005, 2006 Arne Jorgensen
+
+# Version: $Id: Makefile 89 2006-05-16 19:50:56Z arne $
+
+# This file is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or (at
+# your option) any later version.
+
+# This file is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this file; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+.PHONY: all doc install-texmfhome install-texmflocal install texlive clean
+
+all: dk-bib.pdf
+
+doc: dk-bib.ltx litteratur.bib dk-plain.bst dk-bib.sty
+ test ${LATEX} # checking wheter LATEX is set
+ ${LATEX} dk-bib.ltx
+ bibtex dk-bib
+ ${LATEX} dk-bib.ltx
+ ${LATEX} dk-bib.ltx
+
+dk-bib.pdf: dk-bib.ltx litteratur.bib dk-plain.bst dk-bib.sty
+ LATEX=pdflatex make doc
+
+dk-bib.dvi: dk-bib.ltx litteratur.bib dk-plain.bst dk-bib.sty
+ LATEX=latex make doc
+
+dk-bib.zip: README COPYRIGHT Makefile dk-bib.ltx dk-bib.pdf\
+ *.sty litteratur.bib *.bst *.csf
+ zip -z $@ $^ < README
+
+install: dk-bib.pdf
+ test ${INSTALLDIR} # checking whether INSTALLDIR is set
+ install -m 0755 -d ${INSTALLDIR}/tex/latex/dk-bib/
+ install -m 0755 -d ${INSTALLDIR}/doc/latex/dk-bib/
+ install -m 0755 -d ${INSTALLDIR}/bibtex/bst/dk-bib/
+ install -m 0755 -d ${INSTALLDIR}/bibtex/csf/dk-bib/
+ install -m 0644 dk-bib.sty ${INSTALLDIR}/tex/latex/dk-bib/
+ install -m 0644 dk-apali.sty ${INSTALLDIR}/tex/latex/dk-bib/
+ install -m 0644 dk-bib.pdf ${INSTALLDIR}/doc/latex/dk-bib/
+ install -m 0644 *.bst ${INSTALLDIR}/bibtex/bst/dk-bib/
+ install -m 0644 *.csf ${INSTALLDIR}/bibtex/csf/dk-bib/
+ (test -f ${INSTALLDIR}/ls-R && mktexlsr ${INSTALLDIR}) || true
+
+texlive:
+ INSTALLDIR=texlive/texmf-dist make install
+
+install-texmfhome:
+ test `kpsexpand '$$TEXMFHOME'` # checking whether TEXMFHOME is defined
+ INSTALLDIR=`kpsexpand '$$TEXMFHOME'` make install
+
+install-texmflocal:
+ test `kpsexpand '$$TEXMFLOCAL'` # checking whether TEXMFLOCAL is defined
+ INSTALLDIR=`kpsexpand '$$TEXMFLOCAL'` make install
+
+clean:
+ ${RM} dk-bib.aux dk-bib.log dk-bib.blg dk-bib.bbl dk-bib.out dk-bib.dvi\
+ dk-bib.pdf dk-bib.zip
+ ${RM} *~
+
+### Makefile ends here
diff --git a/biblio/bibtex/contrib/dk-bib/README b/biblio/bibtex/contrib/dk-bib/README
new file mode 100644
index 0000000000..049b5a80ed
--- /dev/null
+++ b/biblio/bibtex/contrib/dk-bib/README
@@ -0,0 +1,9 @@
+Dk-bib is a translation of the four standard BibTeX style files
+(abbrv, alpha, plain and unsrt) and the apalike style file into
+Danish.
+
+The files have been extended with URL, ISBN, ISSN, annote and printing
+fields which can be enabled through a LaTeX style file.
+
+Dk-bib also comes with a couple of Danish sorting order files for
+BibTeX8.
diff --git a/biblio/bibtex/contrib/dk-bib/cp850-dk.csf b/biblio/bibtex/contrib/dk-bib/cp850-dk.csf
new file mode 100644
index 0000000000..263786360b
--- /dev/null
+++ b/biblio/bibtex/contrib/dk-bib/cp850-dk.csf
@@ -0,0 +1,106 @@
+%%% cp850-dk.csf --- Danish CP 850 sorting order file for bibtex8
+
+%% Copyright (C) 2005 Arne Jorgensen
+
+%% Author: Arne Jorgensen <arne.jorgensen@tug.dk>
+%% Version: $Id: cp850-dk.csf 71 2005-08-05 22:44:05Z arne $
+
+%% This file is free software; you can redistribute it and/or modify
+%% it under the terms of the GNU General Public License as published
+%% by the Free Software Foundation; either version 2 of the License,
+%% or (at your option) any later version.
+
+%% This file is distributed in the hope that it will be useful, but
+%% WITHOUT ANY WARRANTY; without even the implied warranty of
+%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+%% General Public License for more details.
+
+%% You should have received a copy of the GNU General Public License
+%% along with this file; if not, write to the Free Software
+%% Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+%% 02110-1301, USA.
+
+%%% Commentary:
+
+%%% Code:
+
+%%% Character Set:
+
+\lowupcase{
+ … · % \`{a} \`{A}
+   µ % \'{a} \'{A}
+ ƒ ¶ % \^{a} \^{A}
+ Æ Ç % \~{a} \~{A}
+ „ Ž % \"{a} \"{A}
+ † % \ring{a} \ring{A}
+ ‘ ’ % \ae \AE
+ ‡ € % \c{c} \c{C}
+ Š Ô % \`{e} \`{E}
+ ‚ % \'{e} \'{E}
+ ˆ Ò % \^{e} \^{E}
+ ‰ Ó % \"{e} \"{E}
+ Þ % \`{\i} \`{I}
+ ¡ Ö % \'{\i} \'{I}
+ Œ × % \^{\i} \^{I}
+ ‹ Ø % \"{\i} \"{I}
+ Ð Ñ % eth ETH
+ ¤ ¥ % \~{n} \~{N}
+ • ã % \`{o} \`{O}
+ ¢ à % \'{o} \'{O}
+ “ â % \^{o} \^{O}
+ ä å % \~{o} \~{O}
+ ” ™ % \"{o} \"{O}
+ › % \o \O
+ — ë % \`{u} \`{U}
+ £ é % \'{u} \'{U}
+ – ê % \^{u} \^{U}
+ š % \"{u} \"{U}
+ ì í % \'{y} \'{Y}
+ ç è % thorn THORN
+}
+
+%%% Sorting Order:
+
+%% Notice that è / ç (THORN / thorn) will be sorted as T / t and not
+%% as Th / th as it should be. You are probably better off be putting
+%% \TH / \th into your .bib file.
+
+\order{
+ 0-9 % 0-9
+ A µ · ¶ Ç a   … ƒ Æ % A \'{A} \`{A} \^{A} \~{A} a \'{a} \`{a} \^{a} \~{a}
+ B b % B b
+ C € c ‡ % C \c{C} c \c{c}
+ D Ñ d Ð % D ETH d eth
+ E Ô Ó Ò e ‚ Š ‰ ˆ % E \'{E} \`{E} \"{E} \^{E} e \'{e} \`{e} \"{e} \^{e}
+ F f % F f
+ G g % G g
+ H h % H h
+ I Ö Þ Ø × i ¡ ‹ Œ % I \'{I} \'{I} \"{I} \^{I} i \'{\i} \`{\i} \"{\i} \^{\i}
+ J j % J j
+ K k % K k
+ L l % L l
+ M m % M m
+ N ¥ n ¤ % N \~{N} n \~{n}
+ O à ã â å o ¢ • “ ä % O \'{O} \`{O} \^{O} \~{O} o \'{o} \`{o} \^{o} \~{o}
+ P p % P p
+ Q q % Q q
+ R r % R r
+ S s % S s
+ T è t ç % T THORN t thorn
+ U é ë ê u £ — – % U \'{U} \`{U} \^{U} u \'{u} \`{u} \^{u}
+ V v % V v
+ W w % W w
+ X x % X x
+ Y š í y ì ˜ % Y \"{U} \'{Y} y \"{u} \'{y} \"{y}
+ Z z % Z z
+ ’ Ž ‘ „ % \AE \"{A} \ae \"{a}
+ ™ › ” % \O \"{O} \o \"{o}
+ † % \ring{A} \ring{a}
+}
+
+%% Local Variables:
+%% coding: cp850
+%% comment-start: "%% "
+%% End:
+
+%%% cp850-dk.csf ends here
diff --git a/biblio/bibtex/contrib/dk-bib/dk-abbrv.bst b/biblio/bibtex/contrib/dk-bib/dk-abbrv.bst
new file mode 100644
index 0000000000..17a5c410fd
--- /dev/null
+++ b/biblio/bibtex/contrib/dk-bib/dk-abbrv.bst
@@ -0,0 +1,1301 @@
+% BibTeX standard bibliography style `abbrv'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+% "Translated" into Norwegian by dag@ifi.uio.no, July 1997.
+% Now called `norabbrv'.
+% Added field "isbn" and "issn". dag@ifi.uio.no, April 2001.
+% Translated into Danish by arne.jorgensen@tug.dk, June 2001.
+% Now called `dk-abbrv'.
+% This is dk-bib, Version 0.6 ($Id: dk-abbrv.bst 92 2006-05-21 21:18:10Z arne $)
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ printing
+ editor
+ howpublished
+ institution
+ isbn
+ issn
+ url
+ annote
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {output.annote}
+{ annote empty$
+ 'skip$
+ { "\dkbibannote{" cite$ * "}{" * annote add.period$ * "}" *
+ write$ newline$ }
+ if$
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+ output.annote
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {output.isbn.issn}
+{ isbn empty$
+ 'skip$
+ { new.block "\dkbibisbn{" isbn * "}" * output }
+ if$
+ issn empty$
+ 'skip$
+ { new.block "\dkbibissn{" issn * "}" * output }
+ if$
+}
+
+FUNCTION {output.url}
+{ url empty$
+ 'skip$
+ { new.block "\dkbiburl{" url * "}" * output }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f.~}{vv }{ll}{~jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { t "others" =
+ { " et~al." * }
+ { " og " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", redakt\o rer" * }
+ { ", redakt\o r" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { "\dkbibdash" *
+ t #2 global.max$ substring$ 't :=
+ { t #1 #1 substring$ "-" = }
+ { t #2 global.max$ substring$ 't := }
+ while$
+ t #1 #1 substring$ " " =
+ { "{}" * }
+ { " " * }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "bind" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " af " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "nr." }
+ { "Nr." }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " i " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {ordinal.translate.i}
+{ duplicate$ "l" change.case$ "first" =
+ {pop$ "1"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "second" =
+ {pop$ "2"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "third" =
+ {pop$ "3"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "fourth" =
+ {pop$ "4"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "fifth" =
+ {pop$ "5"}
+ {skip$}
+ if$
+}
+
+FUNCTION {ordinal.translate.ii}
+{ duplicate$ "l" change.case$ "sixth" =
+ {pop$ "6"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "seventh" =
+ {pop$ "7"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "eighth" =
+ {pop$ "8"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "ninth" =
+ {pop$ "9"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "tenth" =
+ {pop$ "10"}
+ {skip$}
+ if$
+}
+
+FUNCTION {ordinal.translate.iii}
+{ duplicate$ "l" change.case$ "eleventh" =
+ {pop$ "11"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "twelfth" =
+ {pop$ "12"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "thirteenth" =
+ {pop$ "13"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "fourteenth" =
+ {pop$ "14"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "fifteenth" =
+ {pop$ "15"}
+ {skip$}
+ if$
+}
+
+FUNCTION {ordinal.translate.iv}
+{ duplicate$ "l" change.case$ "sixteenth" =
+ {pop$ "16"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "seventeenth" =
+ {pop$ "17"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "eighteenth" =
+ {pop$ "18"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "nineteenth" =
+ {pop$ "19"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "twentieth" =
+ {pop$ "20"}
+ {skip$}
+ if$
+}
+
+FUNCTION {ordinal.translate}
+{ ordinal.translate.i
+ ordinal.translate.ii
+ ordinal.translate.iii
+ ordinal.translate.iv
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ printing empty$
+ +
+ #2
+ =
+ { "" }
+ { output.state mid.sentence =
+ { "\dkbibedition{" }
+ { "\dkbibEdition{" }
+ if$
+ edition empty$
+ { "" }
+ { edition ordinal.translate
+ duplicate$ "l" change.case$
+ duplicate$ "u" change.case$
+ =
+ { purify$ }
+ { output.state mid.sentence =
+ { skip$ }
+ { "u" change.case$
+ "t" change.case$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ * "}{" *
+ printing empty$
+ { "" }
+ { printing ordinal.translate
+ duplicate$ "l" change.case$
+ duplicate$ "u" change.case$
+ =
+ { purify$ }
+ { skip$ }
+ if$
+ }
+ if$
+ * "}" *
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "side" pages n.dashify tie.or.space.connect }
+ { "side" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "kapitel" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "I " booktitle emphasize * }
+ { "I " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$ isbn empty$ issn empty$
+ and and and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Rapport" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "I \emph{" journal * "}" * }
+ if$
+ }
+ { "I " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv }{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff~}{vv }{ll}{~jj}" format.name$ "others" =
+ { " et~al." * }
+ { " og " * editor #2 "{vv }{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Bind" volume tie.or.space.connect
+ " af " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "\emph{" * series * "}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "I \emph{" booktitle * "}" * }
+ if$
+ }
+ { "I " key * }
+ if$
+ }
+ { "I " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Specialeafhandling" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "Ph.d.-afhandling" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"jan."}
+
+MACRO {feb} {"feb."}
+
+MACRO {mar} {"mar."}
+
+MACRO {apr} {"apr."}
+
+MACRO {may} {"maj"}
+
+MACRO {jun} {"jun."}
+
+MACRO {jul} {"jul."}
+
+MACRO {aug} {"aug."}
+
+MACRO {sep} {"sep."}
+
+MACRO {oct} {"okt."}
+
+MACRO {nov} {"nov."}
+
+MACRO {dec} {"dec."}
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Programming"}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Gr."}
+
+MACRO {toms} {"ACM Trans. Math. Softw."}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{ll{ }}{ f{ }}{ vv{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { organization sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+ "\makeatletter" write$ newline$
+ "\@tfor\dkbib@reserved@a:=0123456789\do{%" write$ newline$
+ " \expandafter\sfcode\expandafter`\dkbib@reserved@a=1007}" write$ newline$
+ "\providecommand{\dkbib@addperiod}{\ifnum\spacefactor=1007.\fi}" write$ newline$
+ "\providecommand{\dkbibedition}[2]{#1\dkbib@addperiod~udgave}" write$ newline$
+ "\providecommand{\dkbibEdition}[2]{#1\dkbib@addperiod~udgave}" write$ newline$
+ "\providecommand{\dkbibisbn}[1]{\unskip\@gobble}" write$ newline$
+ "\providecommand{\dkbibissn}[1]{\unskip\@gobble}" write$ newline$
+ "\providecommand{\dkbiburl}[1]{\unskip\@gobble}" write$ newline$
+ "\providecommand{\dkbibannote}[2]{\unskip}" write$ newline$
+ "\providecommand{\dkbibdash}{\hbox{-}\penalty\@m}" write$ newline$
+ "\makeatother" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/dk-bib/dk-alpha.bst b/biblio/bibtex/contrib/dk-bib/dk-alpha.bst
new file mode 100644
index 0000000000..20ccee3b2a
--- /dev/null
+++ b/biblio/bibtex/contrib/dk-bib/dk-alpha.bst
@@ -0,0 +1,1455 @@
+% BibTeX standard bibliography style `alpha'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+% "Translated" into Norwegian by dag@ifi.uio.no, January 1997.
+% Now called `noralpha'.
+% Added field "isbn" and "issn". dag@ifi.uio.no, April 2001.
+% Translated into Danish by arne.jorgensen@tug.dk, June 2001.
+% Now called `dk-alpha'.
+% This is dk-bib, Version 0.6 ($Id: dk-alpha.bst 92 2006-05-21 21:18:10Z arne $)
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ printing
+ editor
+ howpublished
+ institution
+ isbn
+ issn
+ url
+ annote
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {output.annote}
+{ annote empty$
+ 'skip$
+ { "\dkbibannote{" cite$ * "}{" * annote add.period$ * "}" *
+ write$ newline$ }
+ if$
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+ output.annote
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {output.isbn.issn}
+{ isbn empty$
+ 'skip$
+ { new.block "\dkbibisbn{" isbn * "}" * output }
+ if$
+ issn empty$
+ 'skip$
+ { new.block "\dkbibissn{" issn * "}" * output }
+ if$
+}
+
+FUNCTION {output.url}
+{ url empty$
+ 'skip$
+ { new.block "\dkbiburl{" url * "}" * output }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv }{ll}{~jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { t "others" =
+ { " et~al." * }
+ { " og " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", redakt\o rer" * }
+ { ", redakt\o r" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { "\dkbibdash" *
+ t #2 global.max$ substring$ 't :=
+ { t #1 #1 substring$ "-" = }
+ { t #2 global.max$ substring$ 't := }
+ while$
+ t #1 #1 substring$ " " =
+ { "{}" * }
+ { " " * }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "bind" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " af " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "nr." }
+ { "Nr." }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " i " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {ordinal.translate.i}
+{ duplicate$ "l" change.case$ "first" =
+ {pop$ "1"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "second" =
+ {pop$ "2"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "third" =
+ {pop$ "3"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "fourth" =
+ {pop$ "4"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "fifth" =
+ {pop$ "5"}
+ {skip$}
+ if$
+}
+
+FUNCTION {ordinal.translate.ii}
+{ duplicate$ "l" change.case$ "sixth" =
+ {pop$ "6"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "seventh" =
+ {pop$ "7"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "eighth" =
+ {pop$ "8"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "ninth" =
+ {pop$ "9"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "tenth" =
+ {pop$ "10"}
+ {skip$}
+ if$
+}
+
+FUNCTION {ordinal.translate.iii}
+{ duplicate$ "l" change.case$ "eleventh" =
+ {pop$ "11"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "twelfth" =
+ {pop$ "12"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "thirteenth" =
+ {pop$ "13"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "fourteenth" =
+ {pop$ "14"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "fifteenth" =
+ {pop$ "15"}
+ {skip$}
+ if$
+}
+
+FUNCTION {ordinal.translate.iv}
+{ duplicate$ "l" change.case$ "sixteenth" =
+ {pop$ "16"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "seventeenth" =
+ {pop$ "17"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "eighteenth" =
+ {pop$ "18"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "nineteenth" =
+ {pop$ "19"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "twentieth" =
+ {pop$ "20"}
+ {skip$}
+ if$
+}
+
+FUNCTION {ordinal.translate}
+{ ordinal.translate.i
+ ordinal.translate.ii
+ ordinal.translate.iii
+ ordinal.translate.iv
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ printing empty$
+ +
+ #2
+ =
+ { "" }
+ { output.state mid.sentence =
+ { "\dkbibedition{" }
+ { "\dkbibEdition{" }
+ if$
+ edition empty$
+ { "" }
+ { edition ordinal.translate
+ duplicate$ "l" change.case$
+ duplicate$ "u" change.case$
+ =
+ { purify$ }
+ { output.state mid.sentence =
+ { skip$ }
+ { "u" change.case$
+ "t" change.case$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ * "}{" *
+ printing empty$
+ { "" }
+ { printing ordinal.translate
+ duplicate$ "l" change.case$
+ duplicate$ "u" change.case$
+ =
+ { purify$ }
+ { skip$ }
+ if$
+ }
+ if$
+ * "}" *
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "side" pages n.dashify tie.or.space.connect }
+ { "side" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "kapitel" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "I " booktitle emphasize * }
+ { "I " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$ isbn empty$ issn empty$
+ and and and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Rapport" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "I \emph{" journal * "}" * }
+ if$
+ }
+ { "I " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv }{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff~}{vv }{ll}{~jj}" format.name$ "others" =
+ { " et~al." * }
+ { " og " * editor #2 "{vv }{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "I "
+ }
+ { "Bind" volume tie.or.space.connect
+ " af " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "\emph{" * series * "}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "I \emph{" booktitle * "}" * }
+ if$
+ }
+ { "I " key * }
+ if$
+ }
+ { "I " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Specialeafhandling" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "Ph.d.-afhandling" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"januar"}
+
+MACRO {feb} {"februar"}
+
+MACRO {mar} {"marts"}
+
+MACRO {apr} {"april"}
+
+MACRO {may} {"maj"}
+
+MACRO {jun} {"juni"}
+
+MACRO {jul} {"juli"}
+
+MACRO {aug} {"august"}
+
+MACRO {sep} {"september"}
+
+MACRO {oct} {"oktober"}
+
+MACRO {nov} {"november"}
+
+MACRO {dec} {"december"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { organization #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ year field.or.null purify$ #-1 #2 substring$
+ *
+ 'label :=
+ year field.or.null purify$ #-1 #4 substring$
+ *
+ sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{ll{ }}{ ff{ }}{ vv{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{ et.al.char.used
+ { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+ 'skip$
+ if$
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+ "\makeatletter" write$ newline$
+ "\@tfor\dkbib@reserved@a:=0123456789\do{%" write$ newline$
+ " \expandafter\sfcode\expandafter`\dkbib@reserved@a=1007}" write$ newline$
+ "\providecommand{\dkbib@addperiod}{\ifnum\spacefactor=1007.\fi}" write$ newline$
+ "\providecommand{\dkbibedition}[2]{#1\dkbib@addperiod~udgave}" write$ newline$
+ "\providecommand{\dkbibEdition}[2]{#1\dkbib@addperiod~udgave}" write$ newline$
+ "\providecommand{\dkbibisbn}[1]{\unskip\@gobble}" write$ newline$
+ "\providecommand{\dkbibissn}[1]{\unskip\@gobble}" write$ newline$
+ "\providecommand{\dkbiburl}[1]{\unskip\@gobble}" write$ newline$
+ "\providecommand{\dkbibannote}[2]{\unskip}" write$ newline$
+ "\providecommand{\dkbibdash}{\hbox{-}\penalty\@m}" write$ newline$
+ "\makeatother" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/dk-bib/dk-apali.bst b/biblio/bibtex/contrib/dk-bib/dk-apali.bst
new file mode 100644
index 0000000000..c33983a99d
--- /dev/null
+++ b/biblio/bibtex/contrib/dk-bib/dk-apali.bst
@@ -0,0 +1,1295 @@
+% BibTeX `apalike' bibliography style (24-Jan-88 version)
+% Adapted from the `alpha' style, version 0.99a; for BibTeX version 0.99a.
+% Copyright (C) 1988, all rights reserved.
+% Copying of this file is allowed, provided that if you make any changes at all
+% you name it something other than `apalike.bst'.
+% This restriction helps ensure that all copies are identical.
+% Differences between this style and `alpha' are generally heralded by a `%'.
+% The file btxbst.doc has the documentation for alpha.bst.
+%
+% This style should be used with the `apalike' LaTeX style (apalike.sty).
+% \cite's come out like "(Jones, 1986)" in the text but there are no labels
+% in the bibliography, and something like "(1986)" comes out immediately
+% after the author. Author (and editor) names appear as last name, comma,
+% initials. A `year' field is required for every entry, and so is either
+% an author (or in some cases, an editor) field or a key field.
+%
+% Editorial note:
+% Many journals require a style like `apalike', but I strongly, strongly,
+% strongly recommend that you not use it if you have a choice---use something
+% like `plain' instead. Mary-Claire van Leunen (A Handbook for Scholars,
+% Knopf, 1979) argues convincingly that a style like `plain' encourages better
+% writing than one like `apalike'. Furthermore the strongest arguments for
+% using an author-date style like `apalike'---that it's "the most practical"
+% (The Chicago Manual of Style, University of Chicago Press, thirteenth
+% edition, 1982, pages 400--401)---fall flat on their face with the new
+% computer-typesetting technology. For instance page 401 anachronistically
+% states "The chief disadvantage of [a style like `plain'] is that additions
+% or deletions cannot be made after the manuscript is typed without changing
+% numbers in both text references and list." LaTeX sidesteps the disadvantage.
+%
+% History:
+% 15-sep-86 (SK,OP) Original version, by Susan King and Oren Patashnik.
+% 10-nov-86 (OP) Truncated the sort.key$ string to the correct length
+% in bib.sort.order to eliminate error message.
+% 24-jan-88 (OP) Updated for BibTeX version 0.99a, from alpha.bst 0.99a;
+% apalike now sorts by author, then year, then title;
+% THIS `apalike' VERSION DOES NOT WORK WITH BIBTEX 0.98i.
+% 20-jan-2005 (arne) Translated into Danish by arne.jorgensen@tug.dk.
+% Now called `dk-apali'.
+% This is dk-bib, Version 0.6 ($Id: dk-apali.bst 92 2006-05-21 21:18:10Z arne $)
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ printing
+ editor
+ howpublished
+ institution
+ isbn
+ issn
+ url
+ annote
+ journal
+ key
+% month not used in apalike
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+% apalike needs this function because
+% the year has special punctuation;
+% apalike ignores the month
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { write$
+ " (" year * extra.label * ")" *
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {output.annote}
+{ annote empty$
+ 'skip$
+ { "\dkbibannote{" cite$ * "}{" * annote add.period$ * "}" *
+ write$ newline$ }
+ if$
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+ output.annote
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {output.isbn.issn}
+{ isbn empty$
+ 'skip$
+ { new.block "\dkbibisbn{" isbn * "}" * output }
+ if$
+ issn empty$
+ 'skip$
+ { new.block "\dkbibissn{" issn * "}" * output }
+ if$
+}
+
+FUNCTION {output.url}
+{ url empty$
+ 'skip$
+ { new.block "\dkbiburl{" url * "}" * output }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't := % last name first
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { t "others" =
+ { " et~al." * }
+ { " og " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.key} % this function is just for apalike
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", redakt\o rer" * }
+ { ", redakt\o r" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { "\dkbibdash" *
+ t #2 global.max$ substring$ 't :=
+ { t #1 #1 substring$ "-" = }
+ { t #2 global.max$ substring$ 't := }
+ while$
+ t #1 #1 substring$ " " =
+ { "{}" * }
+ { " " * }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "bind" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " af " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "nr." }
+ { "Nr." }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " i " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {ordinal.translate.i}
+{ duplicate$ "l" change.case$ "first" =
+ {pop$ "1"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "second" =
+ {pop$ "2"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "third" =
+ {pop$ "3"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "fourth" =
+ {pop$ "4"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "fifth" =
+ {pop$ "5"}
+ {skip$}
+ if$
+}
+
+FUNCTION {ordinal.translate.ii}
+{ duplicate$ "l" change.case$ "sixth" =
+ {pop$ "6"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "seventh" =
+ {pop$ "7"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "eighth" =
+ {pop$ "8"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "ninth" =
+ {pop$ "9"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "tenth" =
+ {pop$ "10"}
+ {skip$}
+ if$
+}
+
+FUNCTION {ordinal.translate.iii}
+{ duplicate$ "l" change.case$ "eleventh" =
+ {pop$ "11"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "twelfth" =
+ {pop$ "12"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "thirteenth" =
+ {pop$ "13"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "fourteenth" =
+ {pop$ "14"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "fifteenth" =
+ {pop$ "15"}
+ {skip$}
+ if$
+}
+
+FUNCTION {ordinal.translate.iv}
+{ duplicate$ "l" change.case$ "sixteenth" =
+ {pop$ "16"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "seventeenth" =
+ {pop$ "17"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "eighteenth" =
+ {pop$ "18"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "nineteenth" =
+ {pop$ "19"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "twentieth" =
+ {pop$ "20"}
+ {skip$}
+ if$
+}
+
+FUNCTION {ordinal.translate}
+{ ordinal.translate.i
+ ordinal.translate.ii
+ ordinal.translate.iii
+ ordinal.translate.iv
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ printing empty$
+ +
+ #2
+ =
+ { "" }
+ { output.state mid.sentence =
+ { "\dkbibedition{" }
+ { "\dkbibEdition{" }
+ if$
+ edition empty$
+ { "" }
+ { edition ordinal.translate
+ duplicate$ "l" change.case$
+ duplicate$ "u" change.case$
+ =
+ { purify$ }
+ { output.state mid.sentence =
+ { skip$ }
+ { "u" change.case$
+ "t" change.case$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ * "}{" *
+ printing empty$
+ { "" }
+ { printing ordinal.translate
+ duplicate$ "l" change.case$
+ duplicate$ "u" change.case$
+ =
+ { purify$ }
+ { skip$ }
+ if$
+ }
+ if$
+ * "}" *
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "side" pages n.dashify tie.or.space.connect }
+ { "side" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "kapitel" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "I " booktitle emphasize * }
+ { "I " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Rapport" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ "I" % this is for apalike
+ "~\cite{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "I "
+ }
+ { "Bind" volume tie.or.space.connect
+ " af " *
+ }
+ if$
+ "\cite{" * crossref * "}" * % this is for apalike
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ "I" % this is for apalike
+ "~\cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ howpublished output
+ address output
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address output % for apalike
+ new.sentence % there's no year
+ organization output % here so things
+ publisher output % are simpler
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ "Specialeafhandling" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title output
+ new.block
+ howpublished output
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "Ph.d.-afhandling" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output % for apalike
+ new.sentence % we always output
+ organization output % a nonempty organization
+ publisher output % here
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"januar"}
+
+MACRO {feb} {"februar"}
+
+MACRO {mar} {"marts"}
+
+MACRO {apr} {"april"}
+
+MACRO {may} {"maj"}
+
+MACRO {jun} {"juni"}
+
+MACRO {jul} {"juli"}
+
+MACRO {aug} {"august"}
+
+MACRO {sep} {"september"}
+
+MACRO {oct} {"oktober"}
+
+MACRO {nov} {"november"}
+
+MACRO {dec} {"december"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+% There are three apalike cases: one person (Jones),
+% two (Jones and de~Bruijn), and more (Jones et~al.).
+% This function is much like format.crossref.editors.
+%
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " og " * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key, no organization
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label % apalike ignores organization
+ 'author.key.label % for labeling and sorting
+ if$
+ }
+ if$
+ ", " % these three lines are
+ * % for apalike, which
+ year field.or.null purify$ #-1 #4 substring$ % uses all four digits
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$ % apalike uses initials
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't := % <= here
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+% apalike uses two sorting passes; the first one sets the
+% labels so that the `a's, `b's, etc. can be computed;
+% the second pass puts the references in "correct" order.
+% The presort function is for the first pass. It computes
+% label, sort.label, and title, and then concatenates.
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$ % for
+ 'sort.label := % apalike
+ sort.label % style
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT % by label, sort.label, title---for final label calculation
+
+STRINGS { last.label next.extra } % apalike labels are only for the text;
+
+INTEGERS { last.extra.num } % there are none in the bibliography
+
+FUNCTION {initialize.extra.label.stuff} % and hence there is no `longest.label'
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+% Now that the label is right we sort for real,
+% on sort.label then year then title. This is
+% for the second sorting pass.
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT % by sort.label, year, title---giving final bibliography order
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$ % no labels in apalike
+ "\makeatletter" write$ newline$
+ "\@tfor\dkbib@reserved@a:=0123456789\do{%" write$ newline$
+ " \expandafter\sfcode\expandafter`\dkbib@reserved@a=1007}" write$ newline$
+ "\providecommand{\dkbib@addperiod}{\ifnum\spacefactor=1007.\fi}" write$ newline$
+ "\providecommand{\dkbibedition}[2]{#1\dkbib@addperiod~udgave}" write$ newline$
+ "\providecommand{\dkbibEdition}[2]{#1\dkbib@addperiod~udgave}" write$ newline$
+ "\providecommand{\dkbibisbn}[1]{\unskip\@gobble}" write$ newline$
+ "\providecommand{\dkbibissn}[1]{\unskip\@gobble}" write$ newline$
+ "\providecommand{\dkbiburl}[1]{\unskip\@gobble}" write$ newline$
+ "\providecommand{\dkbibannote}[2]{\unskip}" write$ newline$
+ "\providecommand{\dkbibdash}{\hbox{-}\penalty\@m}" write$ newline$
+ "\makeatother" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/dk-bib/dk-apali.sty b/biblio/bibtex/contrib/dk-bib/dk-apali.sty
new file mode 100644
index 0000000000..dfd4b5549c
--- /dev/null
+++ b/biblio/bibtex/contrib/dk-bib/dk-apali.sty
@@ -0,0 +1,37 @@
+% This file is based on BibTeX's original apalike.sty
+
+% This is dk-bib, Version 0.6 ($Id: dk-apali.sty 92 2006-05-21 21:18:10Z arne $)
+
+\def\@cite#1#2{(#1\if@tempswa , #2\fi)}
+\def\@biblabel#1{}
+
+\newlength{\bibhang}
+\setlength{\bibhang}{2em}
+
+% In case babel is not used we provide \refname and \bibname here
+\providecommand{\refname}{References}
+\providecommand{\bibname}{Bibliography}
+
+\@ifundefined{chapter}{\def\thebibliography#1{\section*{\refname\@mkboth
+ {\refname}{\refname}}\list
+ {\relax}{\setlength{\labelsep}{0em}
+ \setlength{\itemindent}{-\bibhang}
+ \setlength{\leftmargin}{\bibhang}}
+ \def\newblock{\hskip .11em plus .33em minus .07em}
+ \sloppy\clubpenalty4000\widowpenalty4000
+ \sfcode`\.=1000\relax}}%
+{\def\thebibliography#1{\chapter*{\bibname\@mkboth
+ {\MakeUppercase\bibname}{\MakeUppercase\bibname}}\list
+ {\relax}{\setlength{\labelsep}{0em}
+ \setlength{\itemindent}{-\bibhang}
+ \setlength{\leftmargin}{\bibhang}}
+ \def\newblock{\hskip .11em plus .33em minus .07em}
+ \sloppy\clubpenalty4000\widowpenalty4000
+ \sfcode`\.=1000\relax}}
+
+\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
+ \def\@citea{}\@cite{\@for\@citeb:=#2\do
+ {\@citea\def\@citea{; }\@ifundefined
+ {b@\@citeb}{{\bf ?}\@warning
+ {Citation `\@citeb' on page \thepage \space undefined}}%
+{\csname b@\@citeb\endcsname}}}{#1}}
diff --git a/biblio/bibtex/contrib/dk-bib/dk-bib.ltx b/biblio/bibtex/contrib/dk-bib/dk-bib.ltx
new file mode 100644
index 0000000000..4782345b22
--- /dev/null
+++ b/biblio/bibtex/contrib/dk-bib/dk-bib.ltx
@@ -0,0 +1,352 @@
+% Copyright (C) 2004, 2005, 2006 Arne Jørgensen
+
+% This file is free software; you can redistribute it and/or modify it
+% under the terms of the GNU General Public License as published by
+% the Free Software Foundation; either version 2 of the License, or
+% (at your option) any later version.
+
+% This file is distributed in the hope that it will be useful, but
+% WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+% General Public License for more details.
+
+% You should have received a copy of the GNU General Public License
+% along with this file; if not, write to the Free Software Foundation,
+% Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+\documentclass[a4paper,pointednumbers,abstracton,bibtotoc]{scrartcl}
+\usepackage[T1]{fontenc}
+\usepackage[utf8]{inputenc}
+\usepackage[english,danish]{babel}
+\usepackage{lmodern}
+\usepackage[osf,sc]{mathpazo}
+\usepackage{booktabs}
+\usepackage[danish]{varioref}
+\usepackage[protrusion=true,expansion=true]{microtype}
+\usepackage{hyperref}
+
+% subversion date and revision
+\def\dkbib@svn $#1 #2 #3 #4-#5-#6 #7 #8 ${%
+ \def\dkbibrevision{#3}
+ \year =#4
+ \month =#5
+ \day =#6
+}
+\dkbib@svn $Id: dk-bib.ltx 90 2006-05-17 20:51:31Z arne $
+
+% this is how the LaTeX package can be called
+\usepackage[isbn=true,ordinals2word=true]{dk-bib}
+
+% if you want your own way of typesetting URL's, ISBN's, and ISSN's do
+\newcommand{\dkbiburl}[1]{\textsc{url} \url{#1}}
+\newcommand{\dkbibisbn}[1]{%
+ \textsc{isbn} \href{http://isbn.nu/#1}{#1}}
+
+\newcommand{\BibTeX}{\textsc{Bib}\TeX}
+\bibliographystyle{dk-plain}
+
+\setkomafont{title}{\rmfamily}
+\setkomafont{sectioning}{\rmfamily\bfseries}
+
+\title{Dk-bib -- danske varianter af \BibTeX s standardstilarter}
+\author{Arne Jørgensen\thanks{\href{mailto:arne.jorgensen@tug.dk}%
+ {\texttt{arne.jorgensen@tug.dk}}}}
+\makeatletter
+\hypersetup{pdfauthor={Arne J\o rgensen},
+ pdftitle={Dk-bib Manual, version \dkbib@version\ (r\dkbibrevision)},
+ pdfsubject={Danish variants of the standard BibTeX styles, version \dkbib@version},
+ pdfkeywords={dk-abbrv.bst dk-alpha.bst dk-apali.bst dk-plain.bst
+ dk-unsrt.bst dk-bib.sty 88591-dk.csf cp850-dk.csf mac-dk.csf
+ utf8-dk.csf BibTeX BibTeX8 LaTeX},
+ pdfstartview={FitH},
+}
+\makeatother
+
+\begin{document}
+\maketitle
+
+{\selectlanguage{english}{%
+\renewcommand{\abstractname}{Abstract in English}
+\begin{abstract}
+ Dk-bib is a translation of the four standard \BibTeX\ style files
+ (abbrv, alpha, plain and unsrt) and the apalike style file into
+ Danish. The files have been extended with \textsc{url},
+ \textsc{isbn}, \textsc{issn}, \texttt{annote} and \texttt{printing}
+ fields which can be enabled through a \LaTeX\ style file.
+
+ Dk-bib also comes with a couple of Danish sorting order files for
+ \BibTeX8.
+
+ This manual is in Danish.
+\end{abstract}
+}}
+\section{Introduktion}
+Dk-bib er en oversættelse til dansk af de fire
+\BibTeX-standardstilarter (abbrv, alpha, plain, unsrt), samt
+apalike-stilarten.
+
+Stilarterne er udvidet med \textsc{url}-, \textsc{isbn}-,
+\textsc{issn}-, \texttt{printing}- (oplag) og \texttt{annote}-felter
+der kan slås til ved hjælp af den medfølgende \LaTeX-pakke.
+
+Sammen med dk-bib leveres også en række danske sorteringsdefinitioner
+til \BibTeX8.
+
+Har du brug for en generel introduktion til \BibTeX\ kan kapitel~12
+og~13 i~\cite{Mittelbach:2004} anbefales.
+
+\section{Simpel brug}
+I sin simpleste form anvendes de ved blot at skrive
+\begin{verbatim}
+ \bibliographystyle{dk-plain}
+\end{verbatim}
+i stedet for
+\begin{verbatim}
+ \bibliographystyle{plain}
+\end{verbatim}
+i \LaTeX-dokumentet.
+
+Dette bevirker at der blandt andet skrives \emph{og} mellem
+forfatternavne i stedet for det engelske \emph{and} og at der skrives
+for eksempel \emph{2.~udgave} i stedet for \emph{second edition}.
+
+\subsection{Apalike-stilarten}
+Ønsker du at bruge oversættelsen af apalike-stilarten skal du forkorte
+en smule og blot skrive
+\begin{verbatim}
+ \bibliographystyle{dk-apali}
+\end{verbatim}
+
+Apalike.bst har brug for en anden udgave af \LaTeX's
+\verb|\cite|-kommando end den der som standard er defineret. Vi er
+derfor nødt til at fortælle \LaTeX\ at vi bruger apalike.
+
+Det kan du gøre ved at tilføje følgende i præamblen:
+\begin{verbatim}
+ \usepackage[apalike]{dk-bib}
+\end{verbatim}
+
+\section{ISBN-, ISSN- og URL-felter}
+Hvis \BibTeX-databasen indeholder \textsc{isbn}-, \textsc{issn}- eller
+\textsc{url}-felter og du ønsker at have disse med i din
+litteraturliste kan du gøre bruge at \LaTeX-pakken \texttt{dk-bib}.
+
+I præamblen af dit \LaTeX-dokument tilføjer du
+\begin{verbatim}
+ \usepackage[isbn,issn,url]{dk-bib}
+\end{verbatim}
+
+Hvis du er utilfreds med måden disse felter bliver sat på er det
+muligt at definere din egen måde. Det gør du ved i præamblen at
+definere en eller flere af kommandoerne \verb|\dkbibisbn|,
+\verb|\dkbibissn| og \verb|\dkbiburl|. De skal alle tage ét argument,
+henholdsvis \textsc{isbn}"-nummeret, \textsc{issn}"-nummeret og
+\textsc{url}'en.
+
+Følgende eksempel sætter ordet \textsc{isbn} med kapitæler og gør
+\textsc{isbn}-nummeret til et link (ved hjælp af hyperref-pakken):
+\begin{verbatim}
+ \newcommand{\dkbibisbn}[1]{%
+ \textsc{isbn} \href{http://isbn.nu/#1}{#1}}
+\end{verbatim}
+
+\section{"`Printing"'-feltet til oplagsnumre}
+Ønsker du at medtage hvilket oplag af en publikation du referer eller
+henviser til kan du gøre brug af \verb|printing|-feltet. I
+\verb|.bib|-filen tilføjes for eksempel nedenstående ved en
+publikation:
+\begin{verbatim}
+ printing = {1},
+\end{verbatim}
+
+Af hensyn til bagudkompatibiliteten medtages dette dog ikke i
+litteraturlisten før det aktiveres ved at tilføje \verb|printing| som
+tilvalg til \verb|dk-bib|-pakken:
+\begin{verbatim}
+ \usepackage[printing]{dk-bib}
+\end{verbatim}
+
+Bemærk at de danske \BibTeX-stilarter er de eneste der benytter
+\verb|printing|-feltet og at der tilsyneladende ikke er andre
+\BibTeX-stilarter der medtager oplagsinformation. Deler du dine
+\verb|.bib|-filer med andre \LaTeX-brugere kan du derfor ikke
+umiddelbart forvente at de vil kunne gøre brug af oplagsnummeret i
+dine \verb|.bib|-filer eller at du har glæde af oplagsnumre i deres.
+
+\section{Ordenstal i "`edition"'- og "`printing"'-felterne}
+Hvis du udveksler \BibTeX-databasefiler (\texttt{.bib}-filer) med
+andre \LaTeX-brugere vil du måske bemærke at der er tradition for at
+skrive udgavenummeret med ord og på engelsk, for eksempel
+
+\begin{verbatim}
+ edition = {second},
+\end{verbatim}
+
+De danske \BibTeX-stilarter oversætter disse (op til
+\makeatletter
+\@nameuse{dkbib@word\the\dkbib@maxordinaldepth}
+\makeatother
+udgave) til \emph{2.~udgave}. På samme vis oversættes oplagsnummeret.
+
+Ønsker du at der i din danske litteraturliste i stedet for for
+eksempel \emph{2.~udgave} står \emph{anden udgave} kan du bruge
+\LaTeX-pakken \texttt{dk-bib} således:
+
+\begin{verbatim}
+ \usepackage[ordinals2word]{dk-bib}
+\end{verbatim}
+
+Bemærk at udgave og oplag bliver omskrevet uanset om der i
+\BibTeX-databasen står \emph{second} som ovenfor eller for eksempel
+
+\begin{verbatim}
+ edition = {2},
+\end{verbatim}
+
+Som udgangspunkt omskrives i dette tilfælde alle udgave- og
+oplagsnumre op til og med
+\makeatletter
+\emph{\@nameuse{dkbib@word\the\dkbib@maxordinaldepth}}%
+\makeatother%
+, men du kan selv sætte en \emph{lavere}
+grænse med
+\begin{verbatim}
+ \usepackage[ordinals2word,ordinaldepth=10]{dk-bib}
+\end{verbatim}
+
+\section{"`Annote"'-feltet til kommentarer}
+Blandt \BibTeX's "`standardfelter"' finder vi \texttt{annote}-feltet
+der kan bruges til at fremstille en kommenteret litteraturliste.
+
+Ønsker du at få disse kommentarer med i din litteraturliste bruges
+\texttt{annote}-tilvalget til \texttt{dk-bib}-pakken:
+
+\begin{verbatim}
+ \usepackage[annote]{dk-bib}
+\end{verbatim}
+
+Kommentarerne bliver sat i en typografi der minder om dem der anvendes
+af \BibTeX-stilarterne annotate og annotation.
+
+Du kan bestemme en anden typografi ved at definere kommandoen
+\verb|\dkbibannote| i præamblen. Kommandoen skal tage to argumenter;
+nøglen i \BibTeX-databasen og selve kommentaren, for eksempel
+
+\begin{verbatim}
+ \newcommand{\dkbibannote}[2]{\textbf{#1:} #2}
+\end{verbatim}
+
+\section{"`Specialeafhandling"' og "`Ph.d.-afhandling"'}
+De danske \BibTeX-stilarter oversætter felterne \emph{Master's
+ thesis} og \emph{PhD thesis} til henholdsvis
+\emph{Specialeafhandling} og \emph{Ph.d.-afhandling}.
+
+Nogle uddannelsesinstitutioner bruger ikke begrebet
+\emph{specialeafhandling}, men for eksempel \emph{hovedopgave} eller
+slet og ret \emph{speciale}. Andre kan få ret ophidsede diskussioner
+ud af stavemåden af ph.d.
+
+Måden man løser dette på er (helt uafhængigt af dk-bib) at indsætte
+et \texttt{type}-felt i \BibTeX-databasen ved den pågældende
+afhandling, for eksempel
+\begin{verbatim}
+ type = {Hovedopgave},
+\end{verbatim}
+eller
+\begin{verbatim}
+ type = {{PhD}-afhandling},
+\end{verbatim}
+
+Sidstnævnte er i øvrigt ikke noget forsvar af eller undskyldning for
+at anvende en anden stavemåde end den af Dansk Sprognævn anbefalede,
+nemlig \emph{ph.d.} (og husk at det ved lov er bestemt at offentlige
+myndigheder skal følge sprognævnets anvisninger).
+
+\section{Dansk sortering med \BibTeX8}
+Da \BibTeX\ ikke er i stand til at sortere de andre bogstaver end A-Z
+og a-z korrekt kan vi på dansk med fordel anvende \BibTeX8.
+
+\BibTeX8 beskrives i \cite[afsnit~13.1.1]{Mittelbach:2004} og leveres som
+udgangspunkt med en sorteringdefinition der er tilpasset skandinaviske
+sprog og \textsc{iso} 8859-1-tegnsættet. Denne sortering tager dog kun
+højde for Æ, æ, Ø, ø, Å og å og sorterer derfor ikke accentuerede
+bogstaver med mere korrekt.
+
+\begin{table}
+ \centering
+ \begin{tabular}{ll}
+\toprule
+\emph{Sorteringsdefinition} & \emph{Tilvalg til {\ttfamily inputenc}-pakken}\\
+\midrule
+88591-dk & latin1, latin9, ansinew, cp1252\\
+cp850-dk & cp850\\
+mac-dk & applemac\\
+utf8-dk (eksperimentiel!) & utf8, utf8x\\
+\bottomrule
+\end{tabular}
+\caption{Sorteringsdefinitioner til \BibTeX8 og de tilsvarende tilvalg
+ til \texttt{inputenc}-pakken.}
+\label{tab:csf-inputenc}
+\end{table}
+
+Sammen med denne pakke leveres derfor også et antal
+sorteringsdefinitioner tilpasset dansk sortering og flere tegnsæt. Se
+sammenhængen mellem sorteringsdefinitioner og tilvalg til
+\texttt{inputenc}-pakken i tabel~\vref{tab:csf-inputenc}.
+
+Hvis din \BibTeX-database skal sorteres med \texttt{bibtex8} skal den
+skrives i samme tegnsæt som \LaTeX-dokumentet anvender og de danske
+bogstaver skal skrives direkte -- det vil sige skriv
+\verb|Svend Ã…ge Madsen| og ikke \verb|Svend \AA{}ge Madsen|.
+
+På grund af måden både \BibTeX\ og \BibTeX8 er konstrueret på er der
+dog et par problemer der kun besværligt lader sig løse.
+
+BibTeX8 kan ikke sortere dobbelt-A under Å, så har du for eksempel en
+forfatter ved navn Ole Aagesen kan du sikre at han placeres korrekt i
+bibliografien ved at indskrive følgende i starten af
+\texttt{bib}-filen:
+\begin{verbatim}
+ @preamble{ "\providecommand{\Aa}[1]{Aa}" }
+\end{verbatim}
+og herefter skrive forfatteren ind i \texttt{bib}-filen som (antallet
+af \verb|{}| er vigtigt)
+\begin{verbatim}
+ author = {Ole {\Aa{Ã…}}gesen}
+\end{verbatim}
+
+Ligeledes kan \BibTeX8 heller ikke sortere det islandske \TH\ korrekt
+under Th. Løsningen er her at skrive (igen er antallet af \verb|{}|
+vigtigt)
+\begin{verbatim}
+ author = {\TH{}orvaldur Bjarnarson}
+\end{verbatim}
+
+Slutteligt vil jeg \emph{advare} mod at bruge sorteringsdefinitionen
+til \textsc{utf-8}-tegnsættet uden omhyggelig korrekturlæsning.
+Sorteringsdefinitionen benytter sig af en række ikke"-dokumenterede
+effekter ved \texttt{bibtex8} og på grund af
+\textsc{utf-8}-tegnsættets og \BibTeX8's opbygning kan der forekomme
+en række sammenfald mellem sjældent og hyppigere brugte bogstaver (for
+eksempel \L{} og \'{A}).
+
+\section{Fejl, forbedringer og tak}
+Finder du fejl i oversættelserne, \BibTeX-stilarterne, \LaTeX-pakken
+eller har du blot forslag til forbedring er du hjertelig velkommen til
+at sende dem via \href{mailto:arne.jorgensen@tug.dk}{e-post} eller på
+\url{https://arnested.dk/projects/dk-bib}.
+
+De danske \BibTeX-stilarter er oprindeligt oversat fra den norske
+oversættelse af de oprindelige stilarter. En stor tak til Dag Langmyhr
+for disse. En tak skal også lyde til Thomas Esser, Morten Høgholm,
+Mads Sørensen, Rasmus Villemoes, Thomas Widmann og min kære broder,
+Palle Jørgensen, for at bidrage med kommentarer og forslag.
+
+\bibliography{litteratur}
+
+\end{document}
+
+%%% Local Variables:
+%%% mode: latex
+%%% TeX-master: t
+%%% End:
diff --git a/biblio/bibtex/contrib/dk-bib/dk-bib.pdf b/biblio/bibtex/contrib/dk-bib/dk-bib.pdf
new file mode 100644
index 0000000000..8e0aa5bf17
--- /dev/null
+++ b/biblio/bibtex/contrib/dk-bib/dk-bib.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/dk-bib/dk-bib.sty b/biblio/bibtex/contrib/dk-bib/dk-bib.sty
new file mode 100644
index 0000000000..b5d61f468f
--- /dev/null
+++ b/biblio/bibtex/contrib/dk-bib/dk-bib.sty
@@ -0,0 +1,202 @@
+% Copyright (C) 2004, 2005, 2006 Arne Jorgensen
+
+% This file is free software; you can redistribute it and/or modify it
+% under the terms of the GNU General Public License as published by
+% the Free Software Foundation; either version 2 of the License, or
+% (at your option) any later version.
+
+% This file is distributed in the hope that it will be useful, but
+% WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+% General Public License for more details.
+
+% You should have received a copy of the GNU General Public License
+% along with this file; if not, write to the Free Software Foundation,
+% Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+
+% subversion date and revision
+\def\dkbib@svn $#1 #2 #3 #4-#5-#6 #7 #8 ${%
+ \def\dkbib@sty@revision{#3}
+ \def\dkbib@sty@date{#4/#5/#6}
+}
+\dkbib@svn $Id: dk-bib.sty 92 2006-05-21 21:18:10Z arne $
+\def\dkbib@version{0.6}
+
+\ProvidesPackage{dk-bib}[\dkbib@sty@date\space v\dkbib@version\space(r\dkbib@sty@revision) Danish variants of the standard BibTeX styles]
+
+\RequirePackage{xkeyval}
+
+\newif\ifdkbib@url
+\dkbib@urlfalse
+\DeclareOptionX{url}[true]{%
+ \csname dkbib@url#1\endcsname}
+
+\newif\ifdkbib@isbn
+\dkbib@isbnfalse
+\DeclareOptionX{isbn}[true]{%
+ \csname dkbib@isbn#1\endcsname}
+
+\newif\ifdkbib@issn
+\dkbib@issnfalse
+\DeclareOptionX{issn}[true]{%
+ \csname dkbib@issn#1\endcsname}
+
+\newif\ifdkbib@annote
+\dkbib@annotefalse
+\DeclareOptionX{annote}[true]{%
+ \csname dkbib@annote#1\endcsname}
+
+\newif\ifdkbib@printing
+\dkbib@printingfalse
+\DeclareOptionX{printing}[true]{%
+ \csname dkbib@printing#1\endcsname}
+
+\newif\ifdkbib@apalike
+\dkbib@apalikefalse
+\DeclareOptionX{apalike}[true]{%
+ \csname dkbib@apalike#1\endcsname}
+
+\newif\ifdkbib@fixcitedash
+\dkbib@fixcitedashtrue
+\DeclareOptionX{fixcitedash}[true]{%
+ \csname dkbib@fixcitedash#1\endcsname}
+
+\newcount\dkbib@maxordinaldepth
+\dkbib@maxordinaldepth0
+\newcommand*\dkbib@DeclareOrdinalWord[2]{
+ \ifnum#1>\dkbib@maxordinaldepth
+ \dkbib@maxordinaldepth#1
+ \fi
+ \@namedef{dkbib@word#1}{#2}%
+}
+\dkbib@DeclareOrdinalWord{1}{f\o rste}
+\dkbib@DeclareOrdinalWord{2}{anden}
+\dkbib@DeclareOrdinalWord{3}{tredje}
+\dkbib@DeclareOrdinalWord{4}{fjerde}
+\dkbib@DeclareOrdinalWord{5}{femte}
+\dkbib@DeclareOrdinalWord{6}{sjette}
+\dkbib@DeclareOrdinalWord{7}{syvende}
+\dkbib@DeclareOrdinalWord{8}{ottende}
+\dkbib@DeclareOrdinalWord{9}{niende}
+\dkbib@DeclareOrdinalWord{10}{tiende}
+\dkbib@DeclareOrdinalWord{11}{elvte}
+\dkbib@DeclareOrdinalWord{12}{tolvte}
+\dkbib@DeclareOrdinalWord{13}{trettende}
+\dkbib@DeclareOrdinalWord{14}{fjortende}
+\dkbib@DeclareOrdinalWord{15}{femtende}
+\dkbib@DeclareOrdinalWord{16}{sekstende}
+\dkbib@DeclareOrdinalWord{17}{syttende}
+\dkbib@DeclareOrdinalWord{18}{attende}
+\dkbib@DeclareOrdinalWord{19}{nittende}
+\dkbib@DeclareOrdinalWord{20}{tyvende}
+
+\newcount\dkbib@ordinaldepth
+\dkbib@ordinaldepth\dkbib@maxordinaldepth
+\DeclareOptionX{ordinaldepth}{%
+ \dkbib@ordinaldepth#1}
+
+\ifnum\dkbib@ordinaldepth>\dkbib@maxordinaldepth
+ \PackageWarningNoLine{dk-bib}{Ordinal depth set to
+ \the\dkbib@ordinaldepth, but maximum is \the\dkbib@maxordinaldepth}
+\fi
+
+\newif\ifdkbib@ordinalstoword
+\dkbib@ordinalstowordfalse
+\DeclareOptionX{ordinals2word}[true]{%
+ \csname dkbib@ordinalstoword#1\endcsname}
+
+\ProcessOptionsX
+
+% Work around a wrong implementation of \MakeUppercase (according to
+% Morten H\o gholm who also provided this implementation)
+\DeclareRobustCommand\dkbib@MakeUppercase[1]{%
+ \begingroup
+ \def\i{I}\def\j{J}%
+ \def\dkbib@reserved@a##1##2{\let##1##2\dkbib@reserved@a}%
+ \expandafter\dkbib@reserved@a\@uclclist\dkbib@reserved@b{\dkbib@reserved@b\@gobble}%
+ \protected@edef\dkbib@reserved@a{\endgroup\uppercase{#1}}%
+ \dkbib@reserved@a
+}
+\protected@edef\dkbib@MakeUppercase#1{\dkbib@MakeUppercase{#1}}
+
+\AtBeginDocument{%
+ %%% fixcitedash
+ \@ifpackageloaded{cite}%
+ {\ifdkbib@fixcitedash%
+ \providecommand{\dkbibdash}{\hbox{-}\penalty\@m}%
+ \renewcommand{\citedash}{\dkbibdash}%
+ \fi}%
+ {\relax}%
+ %%% apalike
+ \ifdkbib@apalike%
+ \RequirePackage{dk-apali}%
+ \fi%
+ %%% url
+ \ifdkbib@url%
+ \RequirePackage{url}%
+ \providecommand{\dkbiburl}[1]{URL \url{#1}}%
+ \else%
+ \def\dkbiburl#1{\unskip\@gobble}%
+ \fi%
+ %%% isbn
+ \ifdkbib@isbn%
+ \providecommand{\dkbibisbn}[1]{ISBN #1}%
+ \else%
+ \def\dkbibisbn#1{\unskip\@gobble}%
+ \fi%
+ %%% issn
+ \ifdkbib@issn%
+ \providecommand{\dkbibissn}[1]{ISSN #1}%
+ \else%
+ \def\dkbibissn#1{\unskip\@gobble}%
+ \fi%
+ %%% annote
+ \ifdkbib@annote%
+ \providecommand{\dkbibannote}[2]{%
+ \begin{quotation}\noindent
+ \dkbib@MakeUppercase #2
+ \end{quotation}
+ }%
+ \else%
+ \def\dkbibannote#1#2{\unskip}%
+ \fi%
+ %%% edition/printing
+ \DeclareRobustCommand{\dkbibedition}[2]{%
+ \ifx\@empty#1\@empty\else%
+ \ifdkbib@ordinalstoword%
+ \@ifundefined{dkbib@word#1}%
+ {#1\dkbib@addperiod~udgave}%
+ {\ifnum#1>\dkbib@ordinaldepth
+ #1\dkbib@addperiod~udgave%
+ \else
+ \@nameuse{dkbib@word#1}~udgave%
+ \fi}%
+ \else
+ #1\dkbib@addperiod~udgave%
+ \fi
+ \ifdkbib@printing
+ \ifx\@empty#2\@empty\else, \fi
+ \fi
+ \fi
+ \ifdkbib@printing
+ \ifx\@empty#2\@empty\else
+ \ifdkbib@ordinalstoword%
+ \@ifundefined{dkbib@word#2}%
+ {#2\dkbib@addperiod~oplag}%
+ {\ifnum#2>\dkbib@ordinaldepth
+ #2\dkbib@addperiod~oplag%
+ \else
+ \@nameuse{dkbib@word#2}~oplag%
+ \fi}%
+ \else
+ #2\dkbib@addperiod~oplag%
+ \fi
+ \fi
+ \fi
+ }
+ \DeclareRobustCommand\dkbibEdition[2]{%
+ \protected@edef\reserved@a{\csname dkbibedition \endcsname{#1}{#2}}%
+ \expandafter\dkbib@MakeUppercase\reserved@a}
+}
diff --git a/biblio/bibtex/contrib/dk-bib/dk-plain.bst b/biblio/bibtex/contrib/dk-bib/dk-plain.bst
new file mode 100644
index 0000000000..f61bcc6179
--- /dev/null
+++ b/biblio/bibtex/contrib/dk-bib/dk-plain.bst
@@ -0,0 +1,1301 @@
+% BibTeX standard bibliography style `plain'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+% "Translated" into Norwegian by dag@ifi.uio.no, July 1997.
+% Now called `norplain'.
+% Added field "isbn" and "issn". dag@ifi.uio.no, April 2001.
+% Translated into Danish by arne.jorgensen@tug.dk, June 2001.
+% Now called `dk-plain'.
+% This is dk-bib, Version 0.6 ($Id: dk-plain.bst 92 2006-05-21 21:18:10Z arne $)
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ printing
+ editor
+ howpublished
+ institution
+ isbn
+ issn
+ url
+ annote
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {output.annote}
+{ annote empty$
+ 'skip$
+ { "\dkbibannote{" cite$ * "}{" * annote add.period$ * "}" *
+ write$ newline$ }
+ if$
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+ output.annote
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {output.isbn.issn}
+{ isbn empty$
+ 'skip$
+ { new.block "\dkbibisbn{" isbn * "}" * output }
+ if$
+ issn empty$
+ 'skip$
+ { new.block "\dkbibissn{" issn * "}" * output }
+ if$
+}
+
+FUNCTION {output.url}
+{ url empty$
+ 'skip$
+ { new.block "\dkbiburl{" url * "}" * output }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv }{ll}{~jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { t "others" =
+ { " et~al." * }
+ { " og " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", redakt\o rer" * }
+ { ", redakt\o r" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { "\dkbibdash" *
+ t #2 global.max$ substring$ 't :=
+ { t #1 #1 substring$ "-" = }
+ { t #2 global.max$ substring$ 't := }
+ while$
+ t #1 #1 substring$ " " =
+ { "{}" * }
+ { " " * }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "bind" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " af " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "nr." }
+ { "Nr." }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " i " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {ordinal.translate.i}
+{ duplicate$ "l" change.case$ "first" =
+ {pop$ "1"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "second" =
+ {pop$ "2"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "third" =
+ {pop$ "3"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "fourth" =
+ {pop$ "4"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "fifth" =
+ {pop$ "5"}
+ {skip$}
+ if$
+}
+
+FUNCTION {ordinal.translate.ii}
+{ duplicate$ "l" change.case$ "sixth" =
+ {pop$ "6"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "seventh" =
+ {pop$ "7"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "eighth" =
+ {pop$ "8"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "ninth" =
+ {pop$ "9"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "tenth" =
+ {pop$ "10"}
+ {skip$}
+ if$
+}
+
+FUNCTION {ordinal.translate.iii}
+{ duplicate$ "l" change.case$ "eleventh" =
+ {pop$ "11"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "twelfth" =
+ {pop$ "12"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "thirteenth" =
+ {pop$ "13"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "fourteenth" =
+ {pop$ "14"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "fifteenth" =
+ {pop$ "15"}
+ {skip$}
+ if$
+}
+
+FUNCTION {ordinal.translate.iv}
+{ duplicate$ "l" change.case$ "sixteenth" =
+ {pop$ "16"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "seventeenth" =
+ {pop$ "17"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "eighteenth" =
+ {pop$ "18"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "nineteenth" =
+ {pop$ "19"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "twentieth" =
+ {pop$ "20"}
+ {skip$}
+ if$
+}
+
+FUNCTION {ordinal.translate}
+{ ordinal.translate.i
+ ordinal.translate.ii
+ ordinal.translate.iii
+ ordinal.translate.iv
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ printing empty$
+ +
+ #2
+ =
+ { "" }
+ { output.state mid.sentence =
+ { "\dkbibedition{" }
+ { "\dkbibEdition{" }
+ if$
+ edition empty$
+ { "" }
+ { edition ordinal.translate
+ duplicate$ "l" change.case$
+ duplicate$ "u" change.case$
+ =
+ { purify$ }
+ { output.state mid.sentence =
+ { skip$ }
+ { "u" change.case$
+ "t" change.case$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ * "}{" *
+ printing empty$
+ { "" }
+ { printing ordinal.translate
+ duplicate$ "l" change.case$
+ duplicate$ "u" change.case$
+ =
+ { purify$ }
+ { skip$ }
+ if$
+ }
+ if$
+ * "}" *
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "side" pages n.dashify tie.or.space.connect }
+ { "side" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "kapitel" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "I " booktitle emphasize * }
+ { "I " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$ isbn empty$ issn empty$
+ and and and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Rapport" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "I \emph{" journal * "}" * }
+ if$
+ }
+ { "I " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv }{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff~}{vv }{ll}{~jj}" format.name$ "others" =
+ { " et~al." * }
+ { " og " * editor #2 "{vv }{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "I "
+ }
+ { "Bind" volume tie.or.space.connect
+ " af " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "\emph{" * series * "}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "I \emph{" booktitle * "}" * }
+ if$
+ }
+ { "I " key * }
+ if$
+ }
+ { "I " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Specialeafhandling" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "Ph.d.-afhandling" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"januar"}
+
+MACRO {feb} {"februar"}
+
+MACRO {mar} {"marts"}
+
+MACRO {apr} {"april"}
+
+MACRO {may} {"maj"}
+
+MACRO {jun} {"juni"}
+
+MACRO {jul} {"juli"}
+
+MACRO {aug} {"august"}
+
+MACRO {sep} {"september"}
+
+MACRO {oct} {"oktober"}
+
+MACRO {nov} {"november"}
+
+MACRO {dec} {"december"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{ll{ }}{ ff{ }}{ vv{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+ "\makeatletter" write$ newline$
+ "\@tfor\dkbib@reserved@a:=0123456789\do{%" write$ newline$
+ " \expandafter\sfcode\expandafter`\dkbib@reserved@a=1007}" write$ newline$
+ "\providecommand{\dkbib@addperiod}{\ifnum\spacefactor=1007.\fi}" write$ newline$
+ "\providecommand{\dkbibedition}[2]{#1\dkbib@addperiod~udgave}" write$ newline$
+ "\providecommand{\dkbibEdition}[2]{#1\dkbib@addperiod~udgave}" write$ newline$
+ "\providecommand{\dkbibisbn}[1]{\unskip\@gobble}" write$ newline$
+ "\providecommand{\dkbibissn}[1]{\unskip\@gobble}" write$ newline$
+ "\providecommand{\dkbiburl}[1]{\unskip\@gobble}" write$ newline$
+ "\providecommand{\dkbibannote}[2]{\unskip}" write$ newline$
+ "\providecommand{\dkbibdash}{\hbox{-}\penalty\@m}" write$ newline$
+ "\makeatother" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/dk-bib/dk-unsrt.bst b/biblio/bibtex/contrib/dk-bib/dk-unsrt.bst
new file mode 100644
index 0000000000..eda2126210
--- /dev/null
+++ b/biblio/bibtex/contrib/dk-bib/dk-unsrt.bst
@@ -0,0 +1,1155 @@
+% BibTeX standard bibliography style `unsrt'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+% "Translated" into Norwegian by dag@ifi.uio.no, July 1997.
+% Now called `norunsrt'.
+% Added field "isbn" and "issn". dag@ifi.uio.no, April 2001.
+% Translated into Danish by arne.jorgensen@tug.dk, June 2001.
+% Now called `dk-unsrt'.
+% This is dk-bib, Version 0.6 ($Id: dk-unsrt.bst 92 2006-05-21 21:18:10Z arne $)
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ printing
+ editor
+ howpublished
+ institution
+ isbn
+ issn
+ url
+ annote
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {output.annote}
+{ annote empty$
+ 'skip$
+ { "\dkbibannote{" cite$ * "}{" * annote add.period$ * "}" *
+ write$ newline$ }
+ if$
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+ output.annote
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {output.isbn.issn}
+{ isbn empty$
+ 'skip$
+ { new.block "\dkbibisbn{" isbn * "}" * output }
+ if$
+ issn empty$
+ 'skip$
+ { new.block "\dkbibissn{" issn * "}" * output }
+ if$
+}
+
+FUNCTION {output.url}
+{ url empty$
+ 'skip$
+ { new.block "\dkbiburl{" url * "}" * output }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv }{ll}{~jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { t "others" =
+ { " et~al." * }
+ { " og " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", redakt\o rer" * }
+ { ", redakt\o r" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { "\dkbibdash" *
+ t #2 global.max$ substring$ 't :=
+ { t #1 #1 substring$ "-" = }
+ { t #2 global.max$ substring$ 't := }
+ while$
+ t #1 #1 substring$ " " =
+ { "{}" * }
+ { " " * }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "bind" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " af " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "nr." }
+ { "Nr." }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " i " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {ordinal.translate.i}
+{ duplicate$ "l" change.case$ "first" =
+ {pop$ "1"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "second" =
+ {pop$ "2"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "third" =
+ {pop$ "3"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "fourth" =
+ {pop$ "4"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "fifth" =
+ {pop$ "5"}
+ {skip$}
+ if$
+}
+
+FUNCTION {ordinal.translate.ii}
+{ duplicate$ "l" change.case$ "sixth" =
+ {pop$ "6"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "seventh" =
+ {pop$ "7"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "eighth" =
+ {pop$ "8"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "ninth" =
+ {pop$ "9"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "tenth" =
+ {pop$ "10"}
+ {skip$}
+ if$
+}
+
+FUNCTION {ordinal.translate.iii}
+{ duplicate$ "l" change.case$ "eleventh" =
+ {pop$ "11"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "twelfth" =
+ {pop$ "12"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "thirteenth" =
+ {pop$ "13"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "fourteenth" =
+ {pop$ "14"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "fifteenth" =
+ {pop$ "15"}
+ {skip$}
+ if$
+}
+
+FUNCTION {ordinal.translate.iv}
+{ duplicate$ "l" change.case$ "sixteenth" =
+ {pop$ "16"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "seventeenth" =
+ {pop$ "17"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "eighteenth" =
+ {pop$ "18"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "nineteenth" =
+ {pop$ "19"}
+ {skip$}
+ if$
+ duplicate$ "l" change.case$ "twentieth" =
+ {pop$ "20"}
+ {skip$}
+ if$
+}
+
+FUNCTION {ordinal.translate}
+{ ordinal.translate.i
+ ordinal.translate.ii
+ ordinal.translate.iii
+ ordinal.translate.iv
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ printing empty$
+ +
+ #2
+ =
+ { "" }
+ { output.state mid.sentence =
+ { "\dkbibedition{" }
+ { "\dkbibEdition{" }
+ if$
+ edition empty$
+ { "" }
+ { edition ordinal.translate
+ duplicate$ "l" change.case$
+ duplicate$ "u" change.case$
+ =
+ { purify$ }
+ { output.state mid.sentence =
+ { skip$ }
+ { "u" change.case$
+ "t" change.case$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ * "}{" *
+ printing empty$
+ { "" }
+ { printing ordinal.translate
+ duplicate$ "l" change.case$
+ duplicate$ "u" change.case$
+ =
+ { purify$ }
+ { skip$ }
+ if$
+ }
+ if$
+ * "}" *
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "side" pages n.dashify tie.or.space.connect }
+ { "side" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "kapitel" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "I " booktitle emphasize * }
+ { "I " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$ isbn empty$ issn empty$
+ and and and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Rapport" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "I \emph{" journal * "}" * }
+ if$
+ }
+ { "I " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv }{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff~}{vv }{ll}{~jj}" format.name$ "others" =
+ { " et~al." * }
+ { " og " * editor #2 "{vv }{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "I "
+ }
+ { "Bind" volume tie.or.space.connect
+ " af " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "\emph{" * series * "}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "I \emph{" booktitle * "}" * }
+ if$
+ }
+ { "I " key * }
+ if$
+ }
+ { "I " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Specialeafhandling" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "Ph.d.-afhandling" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ output.isbn.issn
+ output.url
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"januar"}
+
+MACRO {feb} {"februar"}
+
+MACRO {mar} {"marts"}
+
+MACRO {apr} {"april"}
+
+MACRO {may} {"maj"}
+
+MACRO {jun} {"juni"}
+
+MACRO {jul} {"juli"}
+
+MACRO {aug} {"august"}
+
+MACRO {sep} {"september"}
+
+MACRO {oct} {"oktober"}
+
+MACRO {nov} {"november"}
+
+MACRO {dec} {"december"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+ "\makeatletter" write$ newline$
+ "\@tfor\dkbib@reserved@a:=0123456789\do{%" write$ newline$
+ " \expandafter\sfcode\expandafter`\dkbib@reserved@a=1007}" write$ newline$
+ "\providecommand{\dkbib@addperiod}{\ifnum\spacefactor=1007.\fi}" write$ newline$
+ "\providecommand{\dkbibedition}[2]{#1\dkbib@addperiod~udgave}" write$ newline$
+ "\providecommand{\dkbibEdition}[2]{#1\dkbib@addperiod~udgave}" write$ newline$
+ "\providecommand{\dkbibisbn}[1]{\unskip\@gobble}" write$ newline$
+ "\providecommand{\dkbibissn}[1]{\unskip\@gobble}" write$ newline$
+ "\providecommand{\dkbiburl}[1]{\unskip\@gobble}" write$ newline$
+ "\providecommand{\dkbibannote}[2]{\unskip}" write$ newline$
+ "\providecommand{\dkbibdash}{\hbox{-}\penalty\@m}" write$ newline$
+ "\makeatother" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/dk-bib/litteratur.bib b/biblio/bibtex/contrib/dk-bib/litteratur.bib
new file mode 100644
index 0000000000..848cf3a612
--- /dev/null
+++ b/biblio/bibtex/contrib/dk-bib/litteratur.bib
@@ -0,0 +1,10 @@
+@Book{Mittelbach:2004,
+ author = {Frank Mittelbach and Michel Goosens},
+ title = {The {\LaTeX} Companion},
+ publisher = {Addison-Wesley},
+ year = 2004,
+ edition = {second},
+ printing = {first},
+ isbn = {0-201-36299-6},
+ url = {http://www.awprofessional.com/titles/0201362996}
+}
diff --git a/biblio/bibtex/contrib/dk-bib/mac-dk.csf b/biblio/bibtex/contrib/dk-bib/mac-dk.csf
new file mode 100644
index 0000000000..653459365b
--- /dev/null
+++ b/biblio/bibtex/contrib/dk-bib/mac-dk.csf
@@ -0,0 +1,99 @@
+%%% mac-dk.csf --- Danish mac-roman sorting order file for bibtex8
+
+%% Copyright (C) 2005 Arne Jorgensen
+
+%% Author: Arne Jorgensen <arne.jorgensen@tug.dk>
+%% Version: $Id: mac-dk.csf 70 2005-08-03 11:13:09Z arne $
+
+%% This file is free software; you can redistribute it and/or modify
+%% it under the terms of the GNU General Public License as published
+%% by the Free Software Foundation; either version 2 of the License,
+%% or (at your option) any later version.
+
+%% This file is distributed in the hope that it will be useful, but
+%% WITHOUT ANY WARRANTY; without even the implied warranty of
+%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+%% General Public License for more details.
+
+%% You should have received a copy of the GNU General Public License
+%% along with this file; if not, write to the Free Software
+%% Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+%% 02110-1301, USA.
+
+%%% Commentary:
+
+%%% Code:
+
+%%% Character Set:
+
+\lowupcase{
+ ˆ Ë % \`{a} \`{A}
+ ‡ ç % \'{a} \'{A}
+ ‰ å % \^{a} \^{A}
+ ‹ Ì % \~{a} \~{A}
+ Š € % \"{a} \"{A}
+ Π% \ring{a} \ring{A}
+ ¾ ® % \ae \AE
+ ‚ % \c{c} \c{C}
+ é % \`{e} \`{E}
+ Ž ƒ % \'{e} \'{E}
+ æ % \^{e} \^{E}
+ ‘ è % \"{e} \"{E}
+ “ í % \`{\i} \`{I}
+ ’ ê % \'{\i} \'{I}
+ ” ë % \^{\i} \^{I}
+ • ì % \"{\i} \"{I}
+ – „ % \~{n} \~{N}
+ ˜ ñ % \`{o} \`{O}
+ — î % \'{o} \'{O}
+ ™ ï % \^{o} \^{O}
+ › Í % \~{o} \~{O}
+ š … % \"{o} \"{O}
+ ¿ ¯ % \o \O
+ ô % \`{u} \`{U}
+ œ ò % \'{u} \'{U}
+ ž ó % \^{u} \^{U}
+ Ÿ † % \"{u} \"{U}
+}
+
+%%% Sorting Order:
+
+\order{
+ 0-9 % 0-9
+ A ç Ë å Ì a ‡ ˆ ‰ ‹ % A \'{A} \`{A} \^{A} \~{A} a \'{a} \`{a} \^{a} \~{a}
+ B b % B b
+ C ‚ c % C \c{C} c \c{c}
+ D d % D d
+ E ƒ é è æ e Ž ‘ % E \'{E} \`{E} \"{E} \^{E} e \'{e} \`{e} \"{e} \^{e}
+ F f % F f
+ G g % G g
+ H h % H h
+ I ê í ì ë i ’ “ • ” % I \'{I} \'{I} \"{I} \^{I} i \'{\i} \`{\i} \"{\i} \^{\i}
+ J j % J j
+ K k % K k
+ L l % L l
+ M m % M m
+ N „ n – % N \~{N} n \~{n}
+ O î ñ ï Í o — ˜ ™ › % O \'{O} \`{O} \^{O} \~{O} o \'{o} \`{o} \^{o} \~{o}
+ P p % P p
+ Q q % Q q
+ R r % R r
+ S s % S s
+ T t % T t
+ U ò ô ó u œ ž % U \'{U} \`{U} \^{U} u \'{u} \`{u} \^{u}
+ V v % V v
+ W w % W w
+ X x % X x
+ Y † y Ÿ Ø % Y \"{U} y \"{u} \"{y}
+ Z z % Z z
+ ® € ¾ Š % \AE \"{A} \ae \"{a}
+ ¯ … ¿ š % \O \"{O} \o \"{o}
+ Π% \ring{A} \ring{a}
+}
+
+%% Local Variables:
+%% coding: mac-roman
+%% comment-start: "%% "
+%% End:
+
+%%% mac-dk.csf ends here
diff --git a/biblio/bibtex/contrib/dk-bib/utf8-dk.csf b/biblio/bibtex/contrib/dk-bib/utf8-dk.csf
new file mode 100644
index 0000000000..590841f46f
--- /dev/null
+++ b/biblio/bibtex/contrib/dk-bib/utf8-dk.csf
@@ -0,0 +1,127 @@
+%%% utf8-dk.csf --- Danish UTF-8 sorting order file for bibtex8
+
+%% Copyright (C) 2005 Arne Jorgensen
+
+%% Author: Arne Jorgensen <arne.jorgensen@tug.dk>
+%% Version: $Id: utf8-dk.csf 71 2005-08-05 22:44:05Z arne $
+
+%% This file is free software; you can redistribute it and/or modify
+%% it under the terms of the GNU General Public License as published
+%% by the Free Software Foundation; either version 2 of the License,
+%% or (at your option) any later version.
+
+%% This file is distributed in the hope that it will be useful, but
+%% WITHOUT ANY WARRANTY; without even the implied warranty of
+%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+%% General Public License for more details.
+
+%% You should have received a copy of the GNU General Public License
+%% along with this file; if not, write to the Free Software
+%% Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+%% 02110-1301, USA.
+
+%%% Commentary:
+
+%% This is a VERY EXPERIMENTAL shot at making a sorting order file for
+%% the Danish language and the UTF-8 character set.
+
+%% Generally it should not be possible to fit a sorting of the UTF-8
+%% character set into bibtex8's scheme, but we try to use some hacks
+%% and unexplained behaviour to fit it in anyway.
+
+%% As we said VERY EXPERIMENTAL.
+
+%% Please report any experiences to the author.
+
+%%% Code:
+
+%%% Character Set:
+
+%% Whether this really works for UTF-8 is a big question. Please
+%% report expriences with it.
+
+\lowupcase{
+ ^^a0 ^^80 % \`{a} \`{A}
+ ^^a1 ^^81 % \'{a} \'{A}
+ ^^a2 ^^82 % \^{a} \^{A}
+ ^^a3 ^^83 % \~{a} \~{A}
+ ^^a4 ^^84 % \"{a} \"{A}
+ ^^a5 ^^85 % \ring{a} \ring{A}
+ ^^a6 ^^86 % \ae \AE
+ ^^a7 ^^87 % \c{c} \c{C}
+ ^^a8 ^^88 % \`{e} \`{E}
+ ^^a9 ^^89 % \'{e} \'{E}
+ ^^aa ^^8a % \^{e} \^{E}
+ ^^ab ^^8b % \"{e} \"{E}
+ ^^ac ^^8c % \`{\i} \`{I}
+ ^^ad ^^8d % \'{\i} \'{I}
+ ^^ae ^^8e % \^{\i} \^{I}
+ ^^af ^^8f % \"{\i} \"{I}
+ ^^b0 ^^90 % eth ETH
+ ^^b1 ^^91 % \~{n} \~{N}
+ ^^b2 ^^92 % \`{o} \`{O}
+ ^^b3 ^^93 % \'{o} \'{O}
+ ^^b4 ^^94 % \^{o} \^{O}
+ ^^b5 ^^95 % \~{o} \~{O}
+ ^^b6 ^^96 % \"{o} \"{O}
+ ^^b8 ^^98 % \o \O
+ ^^b9 ^^99 % \`{u} \`{U}
+ ^^ba ^^9a % \'{u} \'{U}
+ ^^bb ^^9b % \^{u} \^{U}
+ ^^bc ^^9c % \"{u} \"{U}
+ ^^bd ^^9d % \'{y} \'{Y}
+ ^^be ^^9e % thorn THORN
+}
+
+%%% Sorting Order:
+
+%% For sorting we rely on the fact that the most used and relevant
+%% parts of the special characters in Danish in UTF-8 is encoded as
+%% the two-byte combination of a ^^c3 and a second byte which is
+%% placed above value ^^7f and thus does not collide with the normal
+%% character ranges.
+
+%% So we leave out ^^c3 of the sorting order and there by ignoring
+%% it's presence (it shouldn't be ignored, but sorted last, but it
+%% actually IS ignored) and let the second byte decide the order of
+%% the character.
+
+\order{
+ 0-9 % 0-9
+ A ^^81 ^^80 ^^82 ^^83 a ^^a1 ^^a0 ^^a2 ^^a3 % A \'{A} \`{A} \^{A} \~{A} a \'{a} \`{a} \^{a} \~{a}
+ B b % B b
+ C ^^87 c ^^a7 % C \c{C} c \c{c}
+ D ^^90 d ^^b0 % D ETH d eth
+ E ^^89 ^^88 ^^8b ^^8a e ^^a9 ^^a8 ^^ab ^^aa % E \'{E} \`{E} \"{E} \^{E} e \'{e} \`{e} \"{e} \^{e}
+ F f % F f
+ G g % G g
+ H h % H h
+ I ^^8d ^^8c ^^8f ^^8e i ^^ad ^^ac ^^af ^^ae % I \'{I} \`{I} \"{I} \^{I} i \'{\i} \`{\i} \"{\i} \^{\i}
+ J j % J j
+ K k % K k
+ L l % L l
+ M m % M m
+ N ^^91 n ^^b1 % N \~{N} n \~{n}
+ O ^^93 ^^92 ^^94 ^^95 o ^^b3 ^^b2 ^^b4 ^^b5 % O \'{O} \`{O} \^{O} \~{O} o \'{o} \`{o} \^{o} \~{o}
+ P p % P p
+ Q q % Q q
+ R r % R r
+ S s % S s
+ T ^^9e t ^^be % T THORN t thorn
+ U ^^9a ^^99 ^^9b u ^^ba ^^b9 ^^bb % U \'{U} \`{U} \^{U} u \'{u} \`{u} \^{u}
+ V v % V v
+ W w % W w
+ X x % X x
+ Y ^^9c ^^9d y ^^bc ^^bd ^^bf % Y \"{U} \'{Y} y \"{u} \'{y} \"{y}
+ Z z % Z z
+ ^^86 ^^84 ^^a6 ^^a4 % \AE \"{A} \ae \"{a}
+ ^^98 ^^96 ^^b8 ^^b6 % \O \"{O} \o \"{o}
+ ^^85 ^^a5 % \ring{A} \ring{a}
+}
+
+%% Local Variables:
+%% coding: raw-text
+%% comment-start: "%% "
+%% End:
+
+%%% utf8-dk.csf ends here
diff --git a/biblio/bibtex/contrib/doc/README b/biblio/bibtex/contrib/doc/README
new file mode 100644
index 0000000000..fb4e7ea3ef
--- /dev/null
+++ b/biblio/bibtex/contrib/doc/README
@@ -0,0 +1,40 @@
+
+Here is a collection of BibTeX documentation.
+
+
+********************************* Files **********************************
+
+README - This file.
+
+btxdoc.pdf - The BibTeX user guide in PDF format.
+
+btxhak.pdf - The BibTeX style hacking guide in PDF format.
+
+btxFAQ.pdf - BibTeX Tips and FAQ in PDF format.
+
+***************************************************************************
+Legal Notice:
+This code is offered as-is without any warranty either expressed or
+implied; without even the implied warranty of MERCHANTABILITY or
+FITNESS FOR A PARTICULAR PURPOSE!
+User assumes all risk.
+In no event shall any contributor to this code be liable for any damages or
+losses, including, but not limited to, incidental, consequential, or any
+other damages, resulting from the use or misuse of any information
+contained here.
+
+All comments are the opinions of their respective authors.
+
+This work is distributed under the LaTeX Project Public License (LPPL)
+( http://www.latex-project.org/ ) version 1.3, and may be freely used,
+distributed and modified. A copy of the LPPL, version 1.3, is included
+in the base LaTeX documentation of all distributions of LaTeX released
+2003/12/01 or later.
+Retain all contribution notices and credits.
+** Modified files should be clearly indicated as such, including **
+** renaming them and changing author support contact information. **
+
+File list of work: btxdoc.pdf, btxhak.pdf, btxFAQ.pdf
+
+***************************************************************************
+
diff --git a/biblio/bibtex/contrib/doc/btxFAQ.pdf b/biblio/bibtex/contrib/doc/btxFAQ.pdf
new file mode 100644
index 0000000000..19cbd76add
--- /dev/null
+++ b/biblio/bibtex/contrib/doc/btxFAQ.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/doc/btxdoc.pdf b/biblio/bibtex/contrib/doc/btxdoc.pdf
new file mode 120000
index 0000000000..9d7bdb4345
--- /dev/null
+++ b/biblio/bibtex/contrib/doc/btxdoc.pdf
@@ -0,0 +1 @@
+../../base/btxdoc.pdf \ No newline at end of file
diff --git a/biblio/bibtex/contrib/doc/btxhak.pdf b/biblio/bibtex/contrib/doc/btxhak.pdf
new file mode 120000
index 0000000000..0d4d83fe68
--- /dev/null
+++ b/biblio/bibtex/contrib/doc/btxhak.pdf
@@ -0,0 +1 @@
+../../base/btxhak.pdf \ No newline at end of file
diff --git a/biblio/bibtex/contrib/econ-bst/CHANGES.md b/biblio/bibtex/contrib/econ-bst/CHANGES.md
new file mode 100644
index 0000000000..3704d1fe74
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/CHANGES.md
@@ -0,0 +1,284 @@
+<!--
+Author: Shiro Takeda
+First-written: <2008/11/18>
+Time-stamp: <2018-12-07 18:50:38 st>
+-->
+
+Changelogs for econ.bst
+==============================
+
+## Ver. 2.5
+
+* Changed the license of `econ.bst` to the LaTeX Project Public License.
+
+
+## Ver. 2.4
+
+* Added the function to implement certificated random author ordering propsed by
+ the following article.
+
+ Ray, Debraj â“¡ Arthur Robson (2018) "Certiï¬ed Random: A New Order for
+ Coauthorship," American Economic Review, Vol. 108, No. 2, pp. 489–520, URL:
+ http://www.aeaweb.org/articles?id=10.1257/aer.20161492, DOI:
+ http://dx.doi.org/10.1257/aer.20161492.
+
+ For this, the following functions are added: `bst.use.nameorder`,
+ `bst.and.nameorder`, `bst.cite.and.nameorder`, `bst.and.others.nameorder`.
+
+ For the details, see the section "Certified random order" in econ-example.pdf.
+
+* Changed the default value of `bst.doi.pre`.
+
+
+## Ver. 2.3
+
+* Changed the default setting of `bst.hide.number`.
+
+* Modified the style for Ph.D. thesis (the title of Ph.D. thesis is treated as
+ book title).
+
+* Modified the style for editors to be similar to the style for authors. Now,
+ the setting of `bst.author.name` is applied to editors.
+
+
+## Ver. 2.2 (2017-08-19)
+
+* Slightly changed the definition of `format.url`, `bst.url.pre` and
+ `bst.url.post`.
+
+* Changed `\it` command to `\textit` command.
+
+* Added the function `bst.url.doi` which determines the way for displaying URL
+ and DOI fields when both fields exist. You can choose three values for
+ `bst.url.doi`.
+
+ + `#0` -> Both fields are displayed
+ + `#1` -> Only URL field is displayed
+ + `#2` -> Only DOI field is displayed
+
+
+## Ver. 2.1 (2013-07-09)
+
+* URL field: In the new econ.bst, URL field can be displayed. If you set
+ non-zero to `bst.show.url`, url field is displayed before note field (this is
+ the default behavior). If you set zero to `bst.show.url`, url field is
+ suppressed.
+
+* Added the new function `bst.url.pre` and `bst.url.post`. These functions
+ specify the strings before and after url field.
+
+* access field: Added the new function `bst.access.pre` and
+ `bst.access.post`. These functions specify the strings before and after access
+ field. Note that access field is specific to econ.bst and not inherent in the
+ standard bib file. The value of access field is used for accessed date for
+ URL. For example, suppose that there are the following two settings in the bib
+ file
+
+ url = {http://shirotakeda.org/en/tex/econ-bst.html},
+ access = {4th July, 2013}
+
+ In the default econ.bst, these settings generate the reference like
+
+ URL: http://shirotakeda.org/en/tex/econ-bst.html, accessed on 4th July, 2013.
+
+* Added the new function `bst.show.doi`. If you set non-zero to `bst.show.doi`,
+ DOI field is displayed before note field. If you set zero to `bst.show.doi`,
+ DOI field is suppressed (this is the default behavior). Note that DOI field is
+ not inherent in the standard bib file. See econ-sample.pdf for an example.
+
+* Added the new function `bst.doi.pre` and `bst.doi.post`. These functions
+ specify the strings before and after DOI field.
+
+* Added the new function `bst.post.note`. This function specifies the strings
+ after note field.
+
+* Added new type "online". This is the document type for web page. Note that
+ this is not inherent in the standard bib file and it does not work for other
+ bst files.
+
+
+## Ver. 2.0.1 (2011-12-05)
+
+* Fixed bugs for sorting entries. In version 2.0, entries of book and
+ incollection type are not sometimes sorted in alphabetical order.
+
+* The previous econ.bst always puts `period' before the content of note
+ field. The new econ.bst uses `comma' by default (but this depends on user
+ customization).
+
+* Added new function `bst.hide.title`. If you set non-zero to bst.hide.title,
+ title is not displayed.
+
+
+## Ver. 2.0 (2011-11-10)
+
+* Added \bysame abbreviation of alternative style.
+
+ Suppose that there are the following three entries:
+
+ Mazda, A., Subaru, B., and Honda, C., (2011) "ABC"
+ Mazda, A., Subaru, B., and Honda, C., (2011) "DEF"
+ Mazda, A., Subaru, B., and Toyota, D., (2011) "GHI"
+
+ When you set non-zero to `bst.use.bysame` in the previous econ.bst,
+ these entries are listed like
+
+ [List 1]
+ Mazda, A., Subaru, B., and Honda, C., (2011) "ABC"
+ ----, (2011) "DEF"
+ Mazda, A., Subaru, B., and Toyota, D., (2011) "GHI"
+
+ That is, the abbreviation of authors by \bysame is only applied to entries
+ with exactly the same name.
+
+ In the new econ.bst, you can choose an alternative abbreviation style like
+
+ [List 2]
+ Mazda, A., Subaru, B., Honda, C., (2011) "ABC"
+ ----, ----, and ----, (2011) "DEF"
+ ----, ----, and Toyota, D., (2011) "GHI"
+
+ In the new econ.bst, you can choose three values for `bst.use.bysame`.
+
+ + `#0`: Not use bysame command.
+ + `#1`: Use bysame command like List 1 (this is the default value).
+ + `#2`: Use bysame command like List 2.
+
+ For the details, see econ-sample.pdf.
+
+
+* Abolished `bst.year.backward` and added `bst.year.position`.
+ Now you can choose the position of year.
+
+ If set to #0, year is always placed right after "author".
+
+ If non-zero, year is placed at the end (before note field) except for aritcle
+ type entry.
+
+ In article type entry, the position of year changes according to the following
+ rule:
+
+ + `#1` -> year is placed at the end.
+ + `#2` -> year is placed after journal name in aritcle type entry.
+ + `#3` -> year is placed after volume in aritcle type entry.
+
+* Added `bst.year.na.pre` and `bst.year.na.post`. These functions are
+ `bst.year.pre` and `bst.year.post` for non-article type entry. In the new
+ econ.bst, `bst.year.pre` and `bst.year.post` are only applied to aritcle type
+ entry.
+
+* Added `bst.editor.btitle.order`.
+
+ This determines the order of editor and booktitle in incollection and
+ inproceedings entry.
+
+ If `#0`, editors - booktitle order (the default value).
+ If non-zero, booktitle - editors order.
+
+* Added `bst.address.position`.
+
+ You can choose the order of address and publisher by this function.
+
+ If `#0`, address -> publisher order (the default value).
+ If non-zero, publisher -> address order.
+
+
+## Ver. 1.3.2 (2011-04-05)
+
+* Fixed a bug in `bst.hide.number`.
+
+
+## Ver. 1.3.1 (2010-12-17)
+
+* Added the new function `bst.hide.number`. If you want to hide number filed,
+ set non-zero to this function.
+
+
+## Ver. 1.3 (2010-12-04)
+
+* Fixed a bug in period-comma handling.
+
+* Changed the rule for sorting entries.
+
+ In the previous rule, econ.bst use full author name for primary sorting
+ key. For example, suppose that there are references like
+
+ Hatoyama, Fukuda, Abe (2009) "apple"
+ Hatoyama, Aso, Fukuda, Abe (2007) "orange."
+ Hatoyama, Abe, Fukuda, Koizumi (2009) "grape."
+
+ In this case, econ.bst sorts references in the following order.
+
+ Hatoyama, Abe, Fukuda, Koizumi (2009) "grape."
+ Hatoyama, Aso, Fukuda, Abe (2007) "orange."
+ Hatoyama, Fukuda, Abe (2009) "apple."
+
+ In the new rule, econ.bst uses the abbreviated author name instead of the full
+ author name. That is, the econ.bst uses
+
+ Hatoyama et al. (2009) "apple."
+ Hatoyama et al. (2007) "orange."
+ Hatoyama et al. (2009) "grape."
+
+ for the sorting key. So three articles are sorted in the following order.
+
+ Hatoyama, Aso, Fukuda, Abe (2007) "orange."
+ Hatoyama, Fukuda, Abe (2009) "apple."
+ Hatoyama, Abe, Fukuda, Koizumi (2009) "grape."
+
+* Changed the rule for attaching alphabetical index to year.
+
+ In the previous rule, econ.bst does not attach alphabetical index to year in
+ the following two articles.
+
+ Hatoyama, Abe, Fukuda, Koizumi (2009) "grape."
+ Hatoyama, Fukuda, Abe (2009) "apple."
+
+ This means that two articles have the exactly same abbreated citation form
+ "Hatoyama et al.(2009)".
+
+ In the new rule, econ.bst attaches alphabetical index to the above two
+ articles like
+
+ Hatoyama, Fukuda, Abe (2009a) "apple."
+ Hatoyama, Abe, Fukuda, Koizumi (2009b) "grape."
+
+ So the abbreated citation form for two articles are distinguished like
+ Hatoyama et al.(2009a) and Hatoyama et al.(2009b).
+
+
+## Ver. 1.2 (2008-12-22)
+
+* When there are successive periods and commas (for example, ".,", "..", ",,"
+ etc.), the second one is removed. In the previous econ.bst, it is difficult
+ to use period and comma as delimiters at the same time because it often causes
+ problems such as successive commas and periods. The new econ.bst removes the
+ second period or comma if there are successive periods and commas.
+
+* Added new function `bst.and.others.num`. Author names in the citation part
+ are abbreviated by et al. if the number of authors is greater or equal to
+ bst.and.others.num.
+
+
+## Ver. 1.1 (2008-11-17)
+
+* Added new functions: `bst.sort.year`, `bst.and.others`, `bst.cite.and` and
+ `bst.cite.ands`.
+
+* Corrected typos.
+
+
+## Ver. 1.0 (2007-11-20)
+
+* The initial release.
+
+
+<!--
+--------------------
+Local Variables:
+mode: markdown
+fill-column: 80
+coding: utf-8-dos
+End:
+-->
+
diff --git a/biblio/bibtex/contrib/econ-bst/README.md b/biblio/bibtex/contrib/econ-bst/README.md
new file mode 100644
index 0000000000..c9a06fa57e
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/README.md
@@ -0,0 +1,43 @@
+<!--
+Filename: README.md
+Author: Shiro Takeda
+e-mail <shiro.takeda@gmail.com>
+First-written: <2017-07-30>
+Time-stamp: <2018-12-07 17:12:31 st>
+-->
+
+econ.bst
+==============================
+
+`econ.bst` is a BibTeX style file for economics. It provids the following
+features:
+
+* The author-year type citation (you need `natbib.sty` as well).
+* Reference style used in economics papers (`econ.bst` is not a BibTeX style for a specific journal).
+* Highly customizable. You can easily customize reference style as you wish.
+* You can use "certified random order" proposed by [Ray â“¡ Robson (2018), AER](http://dx.doi.org/10.1257/aer.20161492).
+
+
+## Explanation of files
+
+| File | Explanation |
+|:-----------------------------------------|:-------------------------------------------------------------|
+| `econ.bst` | This is the main bst file. |
+| `econ-example.tex` | This file explains how to use econ.bst. |
+| [`econ-example.pdf`](econ-example.pdf) | A PDF file created fom `econ-example.tex`. |
+| `econ-example.bib` | This is a bibliography database file. |
+| `customization` | This folder contains customized bst files. |
+| [`CHANGES.md`](CHANGES.md) | Changelog file. |
+| `README.md` | This file. |
+
+
+<!--
+--------------------
+Local Variables:
+mode: markdown
+fill-column: 80
+coding: utf-8-dos
+End:
+-->
+
+
diff --git a/biblio/bibtex/contrib/econ-bst/customization/README.md b/biblio/bibtex/contrib/econ-bst/customization/README.md
new file mode 100644
index 0000000000..aed7368f0e
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/customization/README.md
@@ -0,0 +1,41 @@
+<!--
+Author: Shiro Takeda
+e-mail <shiro.takeda@gmail.com>
+First-written: <2016-03-16>
+Time-stamp: <2018-11-09 11:54:42 st>
+-->
+
+Contents of this folder
+==============================
+
++ This folders includes bst files created by customizing econ.bst.
++ If you want to customize econ.bst, see these files.
+
+| bst file | Explanation |
+|:---------------------|:--------------------------------------------------------|
+| `econ.bst` | The default econ.bst file. |
+| `econ-a.bst` | A simple style. |
+| `econ-b.bst` | A style with much decoration. |
+| `econ-aer.bst` | A style like AER (American Economic Review). |
+| `econ-jet.bst` | A style like JET (Journal of Economic Theoriy). |
+| `econ-no-sort.bst` | This style lists entries in citation order. |
+| `econ-econometrica.bst` | A style like Econometrica. |
+| `econ-jie.bst` | A style like JIE (Journal of International Economics). |
+
+| PDF file | Explanation |
+|:---------------------|:--------------------------------------------------------|
+| `econ-default.pdf` | PDF file created from econ.bst file. |
+| `econ-numbers.pdf` | PDF file which use numerical citation mode. |
+
+Other PDF files are created from the corresponding bst files above.
+
+
+<!--
+--------------------
+Local Variables:
+mode: markdown
+fill-column: 90
+coding: utf-8-dos
+End:
+-->
+
diff --git a/biblio/bibtex/contrib/econ-bst/customization/cited-part.tex b/biblio/bibtex/contrib/econ-bst/customization/cited-part.tex
new file mode 100644
index 0000000000..1ff16c9b18
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/customization/cited-part.tex
@@ -0,0 +1,52 @@
+
+\noindent Cited entries: \vspace{1em} \\
+\noindent
+\citet{Ryza15:_advan_analy_spark_patter_learn_data_scale},
+\citet{yamazaki13:_japan},
+\citet{stakeda2013web},
+\citet{Takeda2012a},
+\citet{bergemann11:_ration},
+\citet{goldin:katz:2011},
+\citet{Takeda2011b},
+\citet{takeda2011c},
+\citet{takeda10:_cge_analy_welfar_effec_trade},
+\citet{2009yamasue502165},
+\citet{goldin:katz:2008},
+\citet{Biker-2007-unemployment},
+\citet{takeda06:_cge_analy_welfar_effec_trade},
+\citet{2007yamasue482353},
+\citet{Peri2007},
+\citet{BabikerRutherford-2005-EconomicEffectsof},
+\citet{ishikawa03:_green_gas_emiss_contr_open_econom},
+\citet{brooke03:_gams},
+\citet{DeGorter2002},
+\citet{Babiker2000525},
+\citet{goldin:katz:2000},
+\citet{rutherford00:_gtapin_gtap_eg},
+\citet{fujita99jp:_spatial_econom},
+\citet{Babiker-1999-KyotoProtocoland},
+\citet{Babiker-1999-JapaneseNuclearPower},
+\citet{Parry1997},
+\citet{borgers95:_note_implem_stron_domin},
+\citet{wong95:_inter_trade_goods_factor_mobil_},
+\citet{ishikawa94:_revis_stolp_samuel_rybcz_theor_produc_exter},
+\citet{brezis93:_leapf_inter_compet},
+\citet{krugman91:_geogr_trade},
+\citet{helpman91:_inter_trade_trade_polic},
+\citet{krugman91:_is_bilat_bad},
+\citet{wang89:_model_therm_hydrod_aspec_molten},
+\citet{lucas76:_econom_polic_evaluat},
+\citet{milne-thomson68:_theor_hydrod}. \\
+
+\vspace*{1em}
+\noindent
+\citet{10.1257/aer.20161492},
+\citet{RePEc:hka:wpaper:2018-037},
+\citet{vohra18:_maxim_farsig_stabl_set},
+\citet{NBERw25205}.
+
+% --------------------
+% Local Variables:
+% fill-column: 80
+% End:
+
diff --git a/biblio/bibtex/contrib/econ-bst/customization/econ-a.bst b/biblio/bibtex/contrib/econ-bst/customization/econ-a.bst
new file mode 100644
index 0000000000..bea9f43e8c
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/customization/econ-a.bst
@@ -0,0 +1,3541 @@
+%% econ.bst: BibTeX style file for papers in economics.
+%
+% Author: Shiro Takeda
+% Maintainer: Shiro Takeda
+% Copyright (C) 2001-2018 Shiro Takeda
+% First-written: <2007/07/28>
+% Time-stamp: <2018-12-07 18:49:52 st>
+% Version: 2.5
+% Keywords: TeX, BibTeX, bst
+% URL: https://github.com/ShiroTakeda/econ-bst
+
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainer of this work is Shiro Takeda.
+
+%% Main features of econ.bst.
+
+% "econ.bst" is a BibTeX style file for economics. It provids the following
+% features:
+
+% 1) The author-year type citation (you need "natbib.sty" as well).
+% 2) Reference style used in economics papers ("econ.bst" is not a BibTeX style
+% for a specific journal).
+% 3) Highly customizable. You can easily customize reference style as you wish.
+% 4) You can use "certified random order" proposed by Ray â“¡ Robson (2018)
+% (http://dx.doi.org/10.1257/aer.20161492).
+
+% Bug reports, requests and suggestions are welcome.
+
+% For changelogs, see CHANGES.txt file.
+
+% version number
+FUNCTION {econ.version} { "2.5" }
+
+% Debug mode. Non-zero makes debug mode on.
+FUNCTION {econ.debug}
+{ #0 } % Debug mode off (default).
+% { #1 } % Debug mode on.
+
+ENTRY
+ %%% Declaration of field
+ { access address author booktitle chapter doi edition editor howpublished
+ institution journal key month note number organization pages publisher
+ school series title type url volume year
+ % Fields specific to econ.bst
+ order absorder nameorder
+ }
+
+ % Definition of entry variable. The entry variable is a variable which has
+ % different values according to different entries.
+ %% Integer entry variable:
+ { order.cited }
+
+ %% String entry variable
+ { label cyear flabel alabel extra.label sort.label sort.label.abb
+ extra.label.bysame nameorder.temp }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% Functions for customization:
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Use \bysame or not.
+%
+% If set to #0, \bysame is not used.
+% If set to #1, \bysame is used
+% If set to #2, \bysame is used (alternative abbreviation style).
+%
+% Note that integer number is expressed as # + integer in bst file.
+% \bysame is the function that abbreviates succession of the same authors' name by ---.
+%
+% See econ-sample.pdf for details.
+%
+FUNCTION {bst.use.bysame}
+{ #0 } % Not use \bysame
+% { #1 } % -> Use \bysame (default)
+% { #2 } % -> Use \bysame of alternative style.
+
+% The definition of \bysame command.
+%
+FUNCTION {bst.bysame.definition}
+{ "\hskip.3em \leavevmode\rule[.5ex]{3em}{.3pt}\hskip0.5em" } % (default)
+% { "\leavevmode\hbox to\leftmargin{\hrulefill\,\,}" } % If you set #2 to bst.use.bysame, use this.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% The order of fist and last name.
+%
+FUNCTION {bst.author.name}
+% { #0 } % (default)
+{ #1 }
+% { #2 }
+
+% Case of #0: First author -> last-first, other authors -> first-last.
+% Fujita, Masahisa, Paul R. Krugman, and Anthony J. Venables.
+
+% Case of #1: All authors -> last-first
+% Fujita, Masahisa, Krugman, Paul R., and Venables, Anthony J.
+
+% Case of #2: All authors -> first-last
+% Masahisa Fujita, Paul R. Krugman, and Anthony J. Venables.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Abbreviate first name of authors (editors):
+%
+FUNCTION {bst.first.name.initial}
+% { #0 } % #0 -> full letters (default).
+{ #1 } % Non-zero -> initial letter only.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Decapitalize of strings in title field.
+%
+FUNCTION {bst.title.lower.case}
+% { #0 } % If #0, not decapitalize title (default).
+{ #1 } % If non-#0, decapitalize title
+
+% Hide title filed.
+%
+FUNCTION {bst.hide.title}
+{ #0 } % #0 -> Title field is displayed (default)
+% { #1 } % Non-zer -> Title field is hidden
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Hide month.
+%
+FUNCTION {bst.hide.month}
+% { #0 } % #0 -> show month field (default).
+{ #1 } % non-#0 -> hide month field.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Attach number index like plain.bst.
+%
+FUNCTION {bst.use.number.index}
+{ #0 } % Not use number index (default).
+% { #1 } % Non-#0 -> Use number index
+
+% The string before number index:
+%
+FUNCTION {bst.number.index.pre}
+{ "[" } % (default)
+
+% The string after number index. Adjustment is recommended.
+%
+FUNCTION {bst.number.index.post}
+{ "]\hskip1.0em " } % (default)
+
+% Maximum digit of number index:
+% If the number of reference items >= 100, set 3 to this function.
+% If the number of reference items < 100, set 2 to this function.
+% If the number of reference items < 10, set 1 to this function.
+%
+FUNCTION {bst.number.index.digit}
+{ "2" } % (default)
+% { "3" }
+
+% The functions below are used to adjust space and postion. If you use fonts
+% other than computer modern fonts, you had better make adjustments.
+%
+% Setting for bst.number.index.digit = 1:
+FUNCTION {bst.number.index.bibhang.one}
+{ "2.05em" } % (default)
+% Setting for bst.number.index.digit = 2:
+FUNCTION {bst.number.index.bibhang.ten}
+{ "2.55em" } % (default)
+% Setting for bst.number.index.digit = 3:
+FUNCTION {bst.number.index.bibhang.hund}
+{ "3.05em" } % (default).
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Position of "year":
+%
+% You can choose the position of year by this function.
+%
+% If set to #0, year is placed right after "author".
+% If set to non-zero, year is placed at the end (before note field) except for
+% aritcle type entry.
+%
+% In article type entry, the position of year changes according to the
+% following rule:
+%
+% #1 -> year is placed at the end.
+% #2 -> year is placed after journal name in aritcle type entry.
+% #3 -> year is placed after volume in aritcle type entry.
+%
+FUNCTION {bst.year.position}
+{ #0 } % (default).
+% { #1 } % Last place before note.
+% { #2 } % After journal name for aticle type entry.
+% { #3 } % After volume for aticle type entry.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% If 0, references are sorted by old documents -> recent documents. If
+% non-zero, reverse order.
+FUNCTION {bst.reverse.year}
+{ #0 } % Normal order (old -> recent) (default).
+% { #1 } % inverse order (recent -> old)
+
+% If non-zero, sort references by using year field as the primary key
+% (chronological sorting).
+FUNCTION {bst.sort.year}
+{ #0 } % Normal case: year is used as the sorting key next to author (default).
+% { #1 } % year is used as the primary sorting key.
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% If non-zero, references are listed in citation order.
+%
+FUNCTION {bst.no.sort}
+{ #0 } % (default)
+% { #1 } % listed in citation order.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Non-zero -> sort references by entry type (article, book, incollection etc.)
+%
+FUNCTION {bst.sort.entry.type}
+{ #0 } % #0 -> Normal (not sort references by entry type) (default).
+% { #1 } % Non-zero -> sort references by entry type.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% 0 -> use absorder field to sort items. Otherwise, ignore absorder field.
+%
+FUNCTION {bst.notuse.absorder.field}
+{ #0 } % #0 -> Use absorder (default).
+% { #1 } % Non-#0 -> Not use absorder.
+%
+% Order of priority to sort items
+%
+% absorder -> author -> year -> order -> month -> title
+%
+% wehre absorder and order fields are specific to econ.bst.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% 0 -> use order field to sort items. Otherwise, ignore order field.
+% Note: order field is specific to econ.bst.
+FUNCTION {bst.notuse.order.field}
+{ #0 } % #0 -> Use order field (default).
+% { #1 } % Non-#0 -> not use order field.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%% and
+
+%%% String used to separate author names in references.
+%
+% String replaced with _ in "Mr. A _ Mr. B "
+%
+FUNCTION {bst.and}
+{ ", " }
+% { " and " } % (default)
+
+%%% String used to separate author names in references (more than two authors).
+%
+% String replaced with _ in "Mr. A, Mr. B _ Mr. C"
+%
+FUNCTION {bst.ands}
+{ ", " }
+% { ", and " } % (default)
+
+%%% String used to separate author names in citation part.
+%
+% String replaced with _ in "Mr. A _ Mr. B "
+%
+FUNCTION {bst.cite.and}
+{ " and " } % (default)
+
+%%% String used to separate author names in citation part (more than two authors).
+%
+% String replaced with _ in "Mr. A, Mr. B _ Mr. C"
+%
+FUNCTION {bst.cite.ands}
+{ " and " } % (default)
+
+%%% If you want to use random author order for some bibliography entries, set
+% non-zero to this function.
+%
+FUNCTION {bst.use.nameorder}
+{ #1 } % Use random order (default)
+% { #0 } % Not use random order
+
+%%% String used to separate author names in references for the entry of random
+% author order.
+%
+FUNCTION {bst.and.nameorder}
+{ " \textcircled{r} " } % (default)
+
+%%% String used to separate author names in citation part for the entry of
+% random author order
+%
+FUNCTION {bst.cite.and.nameorder}
+{ " \textcircled{r} " } % (default)
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Author names in the citation part are abbreviated by et al. if the number of
+% authors is greater or equal to bst.and.others.num.
+FUNCTION {bst.and.others.num}
+{ #3 } % If the number of authors is greater or equal to three (default).
+% { #4 }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Strings used when abbreviating multiple-authors in citation part.
+FUNCTION {bst.and.others}
+{ " et~al." } % (default)
+
+% Strings used when abbreviating multiple-authors in citation part for entries
+% with random author order.
+FUNCTION {bst.and.others.nameorder}
+{ " \textcircled{r}~al." } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% author
+
+% The string before author:
+%
+FUNCTION {bst.author.pre}
+{ "" } % (default)
+
+% The string after author:
+%
+FUNCTION {bst.author.post}
+{ "." } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% year
+
+% The string before year only for aritcle type entry.
+%
+FUNCTION {bst.year.pre}
+{ " " }
+% { " (" } % (default)
+
+% The string after year only for aritcle type entry.
+%
+FUNCTION {bst.year.post}
+{ ". " }
+% { ") " } % (default)
+
+% The string after year for non-article type entry (book, incollection etc)
+%
+FUNCTION {bst.year.na.pre}
+{ " " }
+% { " (" } % (default)
+
+% The string after year for non-article type entry (book, incollection etc)
+%
+FUNCTION {bst.year.na.post}
+{ ". " }
+% { ") " } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% title (except for title in book)
+
+% The string before title:
+%
+FUNCTION {bst.title.pre}
+{ "" }
+% { "``" } % (default)
+
+% The string after title:
+%
+FUNCTION {bst.title.post}
+{ "." }
+% { ",''" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% tile for book:
+
+% The string before book title:
+%
+FUNCTION {bst.book.pre}
+{ " " }
+% { " \textit{" } % (default)
+
+% The string after book title:
+%
+FUNCTION {bst.book.post}
+{ "." }
+% { "}" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% booktitle
+
+% The string before booktitle:
+%
+FUNCTION {bst.btitle.pre}
+{ " " }
+% { " \textit{" } % (default)
+
+% The string after booktitle:
+%
+FUNCTION {bst.btitle.post}
+{ "" }
+% { "}" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% journal name
+
+% The string before journal name:
+%
+FUNCTION {bst.journal.pre}
+{ " " }
+% { " \textit{" } % (default)
+
+% The string after journal name:
+%
+FUNCTION {bst.journal.post}
+{ "" }
+% { "}" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% editor notation:
+
+% The string that indicates multiple editors:
+%
+FUNCTION {bst.editors}
+{ " eds. " } % (default)
+
+% The string that indicates single editor:
+%
+FUNCTION {bst.editor}
+{ " ed. " } % (default)
+
+% Order of editor and booktitle in incollection and inproceedings entries.
+%
+% If set to #0: editors -> booktitle order
+% If set to non-zero: booktitle -> editors order
+%
+FUNCTION {bst.editor.btitle.order}
+{ #0 } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% edition
+
+% The string before edition:
+%
+FUNCTION {bst.edition.pre}
+{ ", " } % (default)
+
+% The string after edition:
+%
+FUNCTION {bst.edition.post}
+{ " edition" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% volume
+
+% The string before volume:
+%
+FUNCTION {bst.volume.pre}
+{ ", " }
+% { ", Vol. " } % (default)
+
+% The string after volume:
+%
+FUNCTION {bst.volume.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% number
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Hide number. If non-zero, number is suppressed.
+FUNCTION {bst.hide.number}
+{ #0 } % #0 -> show number field (default)
+% { #1 } % non-#0 -> Hide number field.
+
+% The string before number:
+%
+FUNCTION {bst.number.pre}
+{ " (" }
+% { ", No. " } % (default)
+
+% The string after number:
+%
+FUNCTION {bst.number.post}
+{ ")" }
+% { "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% in
+
+% In
+%
+FUNCTION {bst.in}
+{ " In " }
+% { " in " } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% page
+
+% The string before page (multiple pages):
+%
+FUNCTION {bst.pages.pre}
+{ ", " }
+% { ", pp." } % (default)
+
+% The string before page:
+%
+FUNCTION {bst.page.pre}
+{ ", p." } % (default)
+
+% The string after page (multiple pages):
+%
+FUNCTION {bst.pages.post}
+{ "" } % (default)
+
+% The string after page:
+%
+FUNCTION {bst.page.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% chapter
+
+% The string before chapter:
+%
+FUNCTION {bst.chapter.pre}
+{ ", Chap." } % (default)
+
+% The string after chapter:
+%
+FUNCTION {bst.chapter.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% month
+
+% The string before month:
+%
+FUNCTION {bst.month.pre}
+{ ", " } % (default)
+
+% The string after month:
+%
+FUNCTION {bst.month.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% address
+% The string before address:
+%
+FUNCTION {bst.address.pre}
+{ ", " } % (default)
+
+% The string after address:
+%
+FUNCTION {bst.address.post}
+{ "" } % (default)
+
+% You can choose the order of address and publisher by this function.
+%
+% If #0, address -> publisher order (the default value).
+% If non-zero, publisher -> address order.
+
+FUNCTION {bst.address.position}
+{ #0 } % Address is placed before publisher (default)
+% { #1 } % Address is placed after publisher
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% publisher
+
+% The string before publisher:
+%
+FUNCTION {bst.publisher.pre}
+{ ", " }
+% { ": " } % (default)
+
+% The string after publisher:
+%
+FUNCTION {bst.publisher.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% series
+
+% The string before series:
+%
+FUNCTION {bst.series.pre}
+{ ", " } % (default)
+
+% The string after series:
+%
+FUNCTION {bst.series.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% organization
+
+% The string before organization:
+%
+FUNCTION {bst.organization.pre}
+{ ", " } % (default)
+
+% The string after organization:
+%
+FUNCTION {bst.organization.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% school
+
+% The string before school:
+%
+FUNCTION {bst.school.pre}
+{ ", " } % (default)
+
+% The string after school:
+%
+FUNCTION {bst.school.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% institution
+
+% The string before institution:
+%
+FUNCTION {bst.institution.pre}
+{ ", " } % (default)
+
+% The string after institution:
+%
+FUNCTION {bst.institution.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% howpublished
+
+% The string before howpublished:
+%
+FUNCTION {bst.howpublished.pre}
+{ " " } % (default)
+
+% The string after howpublished:
+%
+FUNCTION {bst.howpublished.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% url
+
+% Show or Hide url. If non-zero, url is displayed. Otherwise, url is suppressed.
+FUNCTION {bst.show.url}
+% { #1 } % non-#0 -> Show url field (default)
+{ #0 } % #0 -> Not show url field.
+
+% The string before url:
+%
+FUNCTION {bst.url.pre}
+{ ", URL: \url{" } % (default)
+
+% The string after url:
+%
+FUNCTION {bst.url.post}
+{ "}" } % (default)
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Access
+
+% This setting is valid only if there are "access" field in bib
+% files. The value of access field indicates accessed date for URL.
+
+% The string before access.
+FUNCTION {bst.access.pre}
+{ ", accessed on " } % (default)
+
+% The string after access.
+FUNCTION {bst.access.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% DOI (digital object identifier)
+
+% This setting is valid only if there are "doi" field in bib files.
+
+% Show or Hide DOI. If non-zero, DOI is displayed. Otherwise, DOI is suppressed.
+FUNCTION {bst.show.doi}
+% { #1 } % non-#0 -> Show DOI field (default)
+{ #0 } % #0 -> Not show DOI field.
+
+% The string before DOI:
+%
+FUNCTION {bst.doi.pre}
+{ ", DOI: \href{http://dx.doi.org/" doi * "}{" * } % (default)
+
+% The string after DOI:
+%
+FUNCTION {bst.doi.post}
+{ "}" } % (default)
+
+% How to show URL and DOI fields when both fields exist.
+%
+% #0 -> Both fields are displayed
+% #1 -> Only URL field is displayed
+% #2 -> Only DOI field is displayed
+%
+FUNCTION {bst.url.doi}
+% { #0 } % (default) -> Both fields are displayed
+{ #1 } % -> Only URL field is displayed
+% { #2 } % -> Only DOI field is displayed
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Other functions:
+
+% The string before note.
+FUNCTION {bst.note.pre}
+{ ", " } % (default)
+
+% The string after note.
+FUNCTION {bst.note.post}
+{ "" } % (default)
+
+% The string that represents Technical report:
+%
+FUNCTION {bst.techrep}
+{ " Tech. Rep." } % (default)
+
+% The string that represents master thesis:
+%
+FUNCTION {bst.mthesis}
+{ " Master's thesis" } % (default)
+
+% The string that represents phd thesis:
+%
+FUNCTION {bst.phdthesis}
+{ " Ph.D. thesis" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% Functions for customization end here:
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION {bst.first}
+{ "1st" }
+
+FUNCTION {bst.second}
+{ "2nd" }
+
+FUNCTION {bst.third}
+{ "3rd" }
+
+FUNCTION {bst.fourth}
+{ "4th" }
+
+FUNCTION {bst.fifth}
+{ "5th" }
+
+FUNCTION {bst.st}
+{ "st" }
+
+FUNCTION {bst.nd}
+{ "nd" }
+
+FUNCTION {bst.rd}
+{ "rd" }
+
+FUNCTION {bst.th}
+{ "th" }
+
+%%%%% memo by Takeda
+
+% "a" 'b := indicates substituting string "a" for variable b.
+
+% Integer number #0, #1,...
+
+%%% Function definition:
+%
+% FUNCTION {name}
+% { 's :=
+%
+% }
+%
+% This is the definition of a function named "name". The function "name" is
+% used in the following way
+%
+% "foo" name
+% "foo" is an argument for the function "name".
+%
+% About the definition of a function with more than two arguments, see the
+% definition of "chop.word".
+
+%%% Declaration of variables:
+
+%% String global variables:
+STRINGS { s t tt }
+STRINGS { year.num }
+STRINGS { preone preten }
+STRINGS { last.sort.label next.extra prev.author prev.author.aer this.author }
+STRINGS { hang }
+STRINGS { item.type }
+STRINGS { tempa tempb }
+
+%% Integer global variables:
+INTEGERS { nameptr namesleft numnames name.num }
+INTEGERS { multiresult }
+INTEGERS { index }
+INTEGERS { len }
+INTEGERS { last.extra.num }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+INTEGERS { last.period.comma }
+INTEGERS { len1.aer len2.aer i.aer }
+
+%%% Definition of functions:
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+%%% Initialize variables:
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+%%% Remove comma and add period:
+%
+%%%
+FUNCTION {add.period.x}
+{ duplicate$
+ #-1 #1 substring$ "," =
+ { #-2 global.max$ substring$ "." * }
+ { duplicate$
+ #-1 #2 substring$ ". " =
+ { #-3 global.max$ substring$ "." * }
+ { duplicate$
+ #-1 #2 substring$ ", " =
+ { #-3 global.max$ substring$ "." * }
+ { duplicate$
+ #-1 #2 substring$ ",'" =
+ { #-3 global.max$ substring$ ".'" * }
+ { duplicate$
+ #-1 #2 substring$ ".'" =
+ { #-3 global.max$ substring$ ".'" * }
+ { duplicate$
+ #-1 #2 substring$ ".~" =
+ { #-3 global.max$ substring$ ".~" * }
+ { duplicate$
+ #-1 #2 substring$ ",~" =
+ { #-3 global.max$ substring$ ".~" * }
+ { duplicate$
+ #-1 #3 substring$ ",''" =
+ { #-4 global.max$ substring$ ".''" * }
+ { duplicate$
+ #-1 #3 substring$ ".''" =
+ { #-4 global.max$ substring$ ".''" * }
+ { add.period$ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ % mid.sentence
+ output.state mid.sentence =
+ { ", " * write$ }
+ % not mid.sentence
+ { output.state after.block =
+ % after.block
+ { add.period.x " " * write$ }
+ % before.all
+ { output.state before.all =
+ 'write$
+ { add.period.x " " * write$ }
+ if$
+ }
+ if$
+ % not mid.sentence, set to mid.sentence
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+%%% If the last character is period or comma, set non-zero to
+%%% last.period.comma.
+FUNCTION {period.comma.p}
+{ duplicate$ 't :=
+ t #-1 #1 substring$ "." =
+ t #-1 #1 substring$ "," = or
+ t #-1 #1 substring$ ":" = or
+ t #-1 #2 substring$ ".'" = or
+ t #-1 #2 substring$ ",'" = or
+ t #-1 #3 substring$ ".''" = or
+ t #-1 #3 substring$ ",''" = or
+ t #-1 #2 substring$ ".~" = or
+ t #-1 #2 substring$ ",~" = or
+ { #1 'last.period.comma := }
+ { #0 'last.period.comma := }
+ if$
+}
+
+%%% remove unnecessary comma.
+FUNCTION {remove.pre.comma}
+{ 's :=
+ s empty$
+ { "" }
+ { s #1 #1 substring$ "," =
+ { s #2 global.max$ substring$ }
+ { s #1 #1 substring$ "." =
+ { s #2 global.max$ substring$ }
+ 's
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% output.nonnull.nocomma is the same as output.nonnull except that it does
+%%% not add commas even in mid.sentence.
+FUNCTION {output.nonnull.nocomma}
+{ 's :=
+ output.state mid.sentence =
+ % mid.sentence
+ { period.comma.p "" * write$ }
+
+ % not mid.sentence
+ { output.state after.block =
+ % after.block
+ { add.period.x " " * write$ }
+ % before.all
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ last.period.comma #0 =
+ { s }
+ { s remove.pre.comma }
+ if$
+}
+
+% Not used in the current econ.bst.
+% FUNCTION {output}
+% { duplicate$ empty$
+% 'pop$
+% 'output.nonnull
+% if$
+% }
+
+FUNCTION {output.nocomma}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull.nocomma
+ if$
+}
+
+% Not used in the current econ.bst.
+% FUNCTION {output.check}
+% { 't :=
+% duplicate$ empty$
+% { pop$ "empty " t * " in " * cite$ * warning$ }
+% 'output.nonnull
+% if$
+% }
+
+FUNCTION {output.check.nocomma}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull.nocomma
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%% Format in bbl file:
+
+% \harvarditem[Brezis et~al.]{Brezis, Krugman and
+% Tsiddon}{1993}{brezis93:_leapf_inter_compet}
+% Brezis, Elise~S., Paul~R. Krugman, and Daniel Tsiddon (1993) ``Leapfrogging in
+% International Competition: A Theory of Cycles in National Technological
+% Leadership.'', {\em American Economic Review.}, Vol.~83. No.~5. pp.
+% 1211--1219.
+
+% \harvarditem[abbreviated citation]{full citation}{year}{keyword} ...
+
+%%% Add period and newline.
+FUNCTION {fin.entry}
+{ add.period.x
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {new.block.check}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+%%% booktitle
+FUNCTION {format.btitle}
+{ booktitle empty$
+ { "" }
+ { bst.btitle.pre booktitle * bst.btitle.post * }
+ if$
+}
+
+%%% journal
+FUNCTION {format.journal}
+{ journal empty$
+ { "" }
+ { bst.journal.pre journal * bst.journal.post * }
+ if$
+}
+
+%%% title for book
+FUNCTION {format.book}
+{ title empty$
+ { "" }
+ { bst.book.pre title * bst.book.post * }
+ if$
+}
+
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { type$ "online" = bst.show.url or
+ { bst.url.pre url * bst.url.post *
+ access empty$
+ { "" * }
+ { bst.access.pre * access * bst.access.post * }
+ if$
+ }
+ { "" }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.doi}
+{ doi empty$ bst.show.doi not or
+ { "" }
+ { bst.doi.pre doi * bst.doi.post * }
+ if$
+}
+
+FUNCTION {format.url.doi}
+{ url empty$
+ { format.doi }
+ { doi empty$
+ { format.url }
+ { bst.url.doi #0 =
+ { format.url output.nocomma
+ format.doi }
+ { bst.url.doi #1 =
+ { format.url }
+ { format.doi }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% and others
+FUNCTION {bst.and.others.output}
+{ nameorder.temp "random" =
+ bst.use.nameorder #0 = not and
+ { bst.and.others.nameorder }
+ { bst.and.others }
+ if$
+}
+
+%%% author and editor
+
+%%% name
+FUNCTION {format.names}
+{ 's :=
+ % insert 1 to nameptr.
+ #1 'nameptr :=
+ % Set the number of authors to numnames.
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ % Repeat if namesleft > 0
+ { namesleft #0 > }
+ { nameptr #1 =
+ % First author
+ { bst.author.name #0 =
+ bst.author.name #1 =
+ or
+ { bst.first.name.initial #0 =
+ { s nameptr "{vv~}{ll}{, ff}{, jj}" format.name$ 't := }
+ { s nameptr "{vv~}{ll}{, f.}{, jj}" format.name$ 't := }
+ if$
+ }
+ { bst.first.name.initial #0 =
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't := }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := }
+ if$
+ }
+ if$
+ }
+ % The second or later authors
+ { bst.author.name #0 =
+ bst.author.name #2 =
+ or
+ { bst.first.name.initial #0 =
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't := }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := }
+ if$
+ }
+ { bst.first.name.initial #0 =
+ { s nameptr "{vv~}{ll}{, ff}{, jj}" format.name$ 't := }
+ { s nameptr "{vv~}{ll}{, f.}{, jj}" format.name$ 't := }
+ if$
+ }
+ if$
+ }
+ if$
+
+ nameptr #1 >
+ % The second or later authors
+ { nameorder.temp "random" =
+ bst.use.nameorder #0 = not and
+ { bst.and.nameorder * t * }
+ { namesleft #1 >
+ % More than one authors left
+ { ", " * t * }
+ % Only one author left
+ { t "others" =
+ { bst.and.others.output * }
+ { numnames #2 =
+ % Entry with two authors
+ { bst.and * t * }
+ { bst.ands * t * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+% remove successive periods (commas) from author
+FUNCTION {remove.ss.period.auth}
+{ 's :=
+ s format.names 'tempa :=
+ bst.author.post 'tempb :=
+ tempb #1 #1 substring$ "}" =
+ { tempa tempb * }
+ { tempa #-1 #1 substring$ tempb #1 #1 substring$ =
+ { tempa tempb #2 global.max$ substring$ * }
+ { tempa tempb * }
+ if$
+ }
+ if$
+}
+
+% <prev name list> <new name list> compare.names <modified name list>
+FUNCTION {compare.names.aer}
+{ 's :=
+ 'tempa :=
+
+% "current.author = " s * "\\" * write$ newline$
+% "prev.author = " tempa * "\\" * write$ newline$
+
+ tempa num.names$ 'len1.aer := % len1 = the number of previous authors
+ s num.names$ 'len2.aer := % len2 = the number of current authors
+
+% len1.aer := min(len1.aer,len2.aer)
+% len1 -> min{ the number of previous authors, the number of current authors }
+ len1.aer len2.aer >
+ { len2.aer 'len1.aer := }
+ { }
+ if$
+
+% start with an empty string, then while the components are the same
+% add "\bysame"
+ ""
+ #1 'i.aer :=
+
+ { i.aer len1.aer > not }
+ { tempa i.aer "{ff }{vv }{ll}{ jj}" format.name$
+ s i.aer "{ff }{vv }{ll}{ jj}" format.name$
+ =
+ { #1 i.aer <
+ { " and " * } % \bysame ã§çœç•¥ã™ã‚‹è‘—者ã®å‰ã«ã¤ã and
+ { }
+ if$
+ "\bysame{}" *
+ i.aer #1 + 'i.aer := }
+ { #-1 'len1.aer := }
+ if$
+ }
+ while$
+
+% add the rest of the second string
+ { i.aer len2.aer > not }
+ { #1 i.aer <
+ { " and " * }
+ { }
+ if$
+ s i.aer "{ff }{vv }{ll}{ jj}" format.name$ *
+ i.aer #1 + 'i.aer :=
+ }
+ while$
+}
+
+%%% author
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { bst.use.bysame #2 =
+ { prev.author.aer author compare.names.aer 's :=
+ author 'prev.author.aer := }
+ { author 's := }
+ if$
+ extra.label.bysame "bysame" =
+ { "\bysame " }
+ { bst.author.pre s remove.ss.period.auth * }
+ if$
+ }
+ if$
+}
+
+%%% editor
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { bst.use.bysame #2 =
+ { prev.author.aer editor compare.names.aer 's :=
+ editor 'prev.author.aer := }
+ { editor 's := }
+ if$
+ extra.label.bysame "bysame" =
+ { "\bysame " }
+ { bst.author.pre s remove.ss.period.auth * }
+ if$
+ s num.names$ #1 >
+ { bst.editors * }
+ { bst.editor * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.authors.alt}
+{ author empty$
+ { "" }
+ { extra.label.bysame "bysame" =
+ {"\bysame "}
+ { bst.author.pre author remove.ss.period.auth * }
+ if$
+ }
+ if$
+}
+
+%%% editor
+FUNCTION {format.editors.alt}
+{ editor empty$
+ { "" }
+ { extra.label.bysame "bysame" =
+ { "\bysame " }
+ { bst.author.pre editor remove.ss.period.auth * }
+ if$
+ editor num.names$ #1 >
+ { bst.editors * }
+ { bst.editor * }
+ if$
+ }
+ if$
+}
+
+%%% format.in.ed.booktitle
+FUNCTION {format.editors.x}
+{ editor empty$
+ { "" }
+ { bst.editor.btitle.order #0 =
+ { "" }
+ { editor num.names$ #1 >
+ { bst.editors " by " * }
+ { bst.editor " by " * }
+ if$
+ }
+ if$
+ editor format.names *
+ bst.editor.btitle.order #0 =
+ { editor num.names$ #1 >
+ { bst.editors * }
+ { bst.editor * }
+ if$
+ }
+ { "" * }
+ if$
+ }
+ if$
+}
+
+%%% Remove commas in the cases like "?." and "?,".
+FUNCTION {remove.irrelevant.period.comma}
+{ 's :=
+ s empty$
+ { "" }
+ { s #-1 #3 substring$ "?,'" =
+ s #-1 #3 substring$ "?.'" = or
+ { s #-3 global.max$ substring$ "'" * }
+ { s #-1 #4 substring$ "?,''" =
+ s #-1 #4 substring$ "?.''" = or
+ { s #-4 global.max$ substring$ "''" * }
+ { s #-1 #2 substring$ "?," =
+ s #-1 #2 substring$ "?." = or
+ { s #-2 global.max$ substring$ "" * }
+ { s #-1 #3 substring$ "?,~" =
+ s #-1 #3 substring$ "?.~" = or
+ { s #-4 global.max$ substring$ "?~" * }
+ 's
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% title
+FUNCTION {format.title.sub}
+{ bst.title.lower.case #0 =
+ { bst.title.pre title * bst.title.post * }
+ { bst.title.pre title "t" change.case$ * bst.title.post * }
+ if$
+}
+
+%%% title
+FUNCTION {format.title}
+{ title empty$
+ bst.hide.title #0 = not or
+ { "" }
+ { format.title.sub remove.irrelevant.period.comma }
+ if$
+}
+
+%%% title for misc.
+FUNCTION {format.misc.title}
+{ title empty$
+ { "" }
+ { bst.title.pre title * bst.title.post * }
+ if$
+}
+
+% Convert "-" to "--" (for pages field)
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ %% while$
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+%%% year
+FUNCTION {format.year}
+{ year empty$
+ { "there's no year in " cite$ * warning$
+ ", " }
+ { type$ "article" =
+ { bst.year.pre year * extra.label * bst.year.post * }
+ { bst.year.na.pre year * extra.label * bst.year.na.post * }
+ if$
+ }
+ if$
+}
+
+%%% page for book
+FUNCTION {format.book.pages}
+{ pages empty$
+ { "" }
+ { bst.pages.pre pages * bst.pages.post * }
+ if$
+}
+
+%%% Attach tie for the string with two or less characters.
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+%%% volume for book
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bst.volume.pre volume * bst.volume.post *
+ series empty$
+ 'skip$
+ %% If there is series field
+ { " of " * series * bst.series.post * }
+ if$
+% "volume and number" number either.or.check
+ }
+ if$
+}
+
+%%% series
+FUNCTION {output.series}
+{ series empty$
+ { "" }
+ { bst.series.pre series * bst.series.post * }
+ if$
+}
+
+%%% number and series
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ bst.hide.month #0 = not or
+ % number is empty
+ { series empty$
+ { "" }
+ % series is not empty.
+ { output.series }
+ if$
+ }
+ % number is not empty$
+ { series empty$
+ { bst.number.pre number * bst.number.post * }
+ % series is not empty.
+ { bst.in bst.series.pre * series * bst.series.post *
+ bst.number.pre * number * bst.number.post * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+%%% Number or not.
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% edition
+
+% Convert edition to 1st, 2nd, 3rd, 4th etc
+FUNCTION {eng.ord}
+{ duplicate$ "1" swap$ *
+ #-2 #1 substring$ "1" =
+ { bst.th * }
+ { duplicate$ #-1 #1 substring$
+ duplicate$ "1" =
+ { pop$ bst.st * }
+ { duplicate$ "2" =
+ { pop$ bst.nd * }
+ { "3" =
+ { bst.rd * }
+ { bst.th * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+% Convert first, second etc in edition field to 1st, 2nd (from jfm.bst)
+FUNCTION {convert.edition}
+{ edition extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bst.first }
+ { s "second" = s "2" = or
+ { bst.second }
+ { s "third" = s "3" = or
+ { bst.third }
+ { s "fourth" = s "4" = or
+ { bst.fourth }
+ { s "fifth" = s "5" = or
+ { bst.fifth }
+ { s #1 #1 substring$ is.num
+ { s eng.ord }
+ { edition }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% edition
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { bst.edition.pre convert.edition "l" change.case$ * bst.edition.post * }
+ { bst.edition.pre convert.edition "t" change.case$ * bst.edition.post * }
+ if$
+ }
+ if$
+}
+
+%%% month
+FUNCTION {format.month}
+{ month empty$
+ bst.hide.month #0 = not or
+ { "" }
+ { bst.month.pre month * bst.month.post * }
+ if$
+}
+
+%%% year and month
+FUNCTION {format.date}
+{ format.month format.year *
+}
+
+%%% Is multiple pages like 1-100?
+FUNCTION { multi.page.check }
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+%%% pages
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { bst.pages.pre pages n.dashify tie.or.space.connect * bst.pages.post }
+ { bst.page.pre pages tie.or.space.connect * bst.page.post }
+ if$
+ }
+ if$
+}
+
+%%% number
+FUNCTION {format.number}
+{ number empty$
+ bst.hide.number #0 = not or
+ { "" }
+ { bst.number.pre number * bst.number.post * }
+ if$
+}
+
+%%% volume
+FUNCTION {format.volume}
+{ volume empty$
+ 'skip$
+ { bst.volume.pre volume * bst.volume.post *
+ bst.year.position #3 =
+ { format.year * }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+%%% number, page
+FUNCTION {format.number.pages}
+{ number empty$
+ { format.pages }
+ { format.number format.pages * }
+ if$
+}
+
+%%% volume, page
+FUNCTION {format.volume.pages}
+{ volume empty$
+ { format.pages }
+ { format.volume format.pages * }
+ if$
+}
+
+%%% volume, number, page
+FUNCTION {format.volume.number.pages}
+{ volume empty$
+ { number empty$
+ { format.pages }
+ { format.number format.pages * }
+ if$
+ }
+ { number empty$
+ { format.volume format.pages * }
+ { format.volume format.number * format.pages * }
+ if$
+ }
+ if$
+}
+
+% volume, number, page
+FUNCTION {format.vol.num.pages}
+{ volume empty$
+ %% volume is empty.
+ { number empty$
+ %% number is empty.
+ { pages empty$
+ % warning
+ { "there is no volume, number, and pages in " cite$ * warning$ "" }
+ { "" format.pages * }
+ if$
+ }
+ %% number is not empty.
+ % warning
+ { "there's a number but no volume in " cite$ * warning$
+ format.number.pages }
+ if$
+ }
+ %% volume is not empty.
+ { number empty$
+ %% number is empty.
+ { format.volume.pages }
+ %% number is not empty.
+ { format.volume.number.pages }
+ if$
+ }
+ if$
+}
+
+%%% chapter
+FUNCTION {format.chapter}
+{ chapter empty$
+ { "" }
+ { type empty$
+ { bst.chapter.pre chapter tie.or.space.connect * bst.chapter.post }
+ { ", " * type " " * chapter * }
+ if$
+ }
+ if$
+}
+
+%%% chapter, pages
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ { pages empty$
+ { "" }
+ { "" format.pages * }
+ if$
+ }
+ { pages empty$
+ { "" format.chapter * }
+ { "" format.chapter * format.pages * }
+ if$
+ }
+ if$
+}
+
+%%% editor and booktitle
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { bst.in format.btitle * }
+ { bst.editor.btitle.order #0 =
+ { bst.in format.editors.x * " " * format.btitle * }
+ { bst.in format.btitle * " " * format.editors.x * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% howpublished
+FUNCTION {format.howpublished}
+{ howpublished empty$
+ { "" }
+ { bst.howpublished.pre howpublished * bst.howpublished.post * }
+ if$
+}
+
+%%% address
+FUNCTION {format.address}
+{ address empty$
+ { "" }
+ { bst.address.pre address * bst.address.post * }
+ if$
+}
+
+%%% publisher
+FUNCTION {format.publisher}
+{ publisher empty$
+ { "" }
+ { bst.publisher.pre publisher * bst.publisher.post * }
+ if$
+}
+
+%%% organization
+FUNCTION {format.organization}
+{ organization empty$
+ { "" }
+ { bst.organization.pre organization * bst.organization.post * }
+ if$
+}
+
+%% publisher and address
+FUNCTION {output.publisher.address}
+{ address empty$
+ { format.publisher "publisher" output.check.nocomma }
+ { bst.address.position #0 =
+ { format.address output.nocomma
+ format.publisher "publisher" output.check.nocomma }
+ { format.publisher "publisher" output.check.nocomma
+ format.address output.nocomma }
+ if$
+ }
+ if$
+}
+
+%% address, organization, publisher
+FUNCTION {output.address.organization.publisher}
+{ address empty$
+ %% address is empty
+ { organization empty$
+ %% organization is empty
+ { publisher empty$
+ 'skip$
+ { format.publisher "publisher" output.check.nocomma }
+ if$
+ }
+ %% organization is not empty
+ { publisher empty$
+ { format.organization "organization" output.check.nocomma }
+ { format.organization "organization" output.check.nocomma
+ format.publisher "publisher" output.check.nocomma }
+ if$
+ }
+ if$
+ }
+ %% address is not empty
+ { organization empty$
+ %% organization is empty
+ { publisher empty$
+ %% publisher is empty
+ { format.address output.nocomma }
+ %% publisher is not empty
+ { bst.address.position #0 =
+ { format.address output.nocomma
+ format.publisher "publisher" output.check.nocomma }
+ { format.publisher "publisher" output.check.nocomma
+ format.address output.nocomma }
+ if$
+ }
+ if$
+ }
+ %% organization is not empty
+ { publisher empty$
+ %% publisher is empty
+ { format.organization "organization" output.check.nocomma
+ format.address output.nocomma }
+ %% publisher is not empty
+ { format.organization "organization" output.check.nocomma
+ bst.address.position #0 =
+ { format.address output.nocomma
+ format.publisher "publisher" output.check.nocomma }
+ { format.publisher "publisher" output.check.nocomma
+ format.address output.nocomma }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% misc
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$ " " type * }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ { " " type * }
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+%%% phdthesis
+FUNCTION {format.phd}
+{ bst.phdthesis }
+
+%%% mastersthesis
+FUNCTION {format.mthesis}
+{ bst.mthesis }
+
+%%% school
+FUNCTION {format.school}
+{ school empty$
+ { "" }
+ { bst.school.pre school * bst.school.post * }
+ if$
+}
+
+%%% institution
+FUNCTION {format.institution}
+{ institution empty$
+ { "" }
+ { bst.institution.pre institution * bst.institution.post * }
+ if$
+}
+
+%%% remove first ? characters.
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.note}
+{ note empty$
+ { "" }
+ { bst.note.pre note * bst.note.post * }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \havarditem
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\harvarditem[" write$
+ alabel write$ % alabel <- abbreviated citation
+ "]{" write$
+ flabel write$ % flabel <- full citation
+ "}{" write$
+ cyear write$
+ % cyear = year
+ "}{" write$
+ cite$ write$ % cite$ -> pusch keyword
+ "}" write$
+ % If number index is on
+ bst.use.number.index #0 =
+ 'skip$
+ { index #1 + 'index :=
+ "" 'preone :=
+ "" 'preten :=
+ bst.number.index.digit "1" =
+ 'skip$
+ { bst.number.index.digit "2" =
+ { "\hskip0.5em" 'preone := }
+ { bst.number.index.digit "3" =
+ { "\hskip1em" 'preone :=
+ "\hskip0.5em" 'preten := }
+ 'skip$
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ newline$
+ before.all 'output.state :=
+ ""
+ % number index
+ bst.use.number.index #0 =
+ 'skip$
+ { index #10 <
+ % Insert spaces according to digit of number index.
+ { preone }
+ { index #100 <
+ { preten }
+ { "" }
+ if$
+ }
+ if$
+ bst.number.index.pre * index int.to.str$ * bst.number.index.post * write$
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% article
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+
+ format.journal "journal" output.check.nocomma
+ bst.year.position #2 =
+ { format.date output.nocomma }
+ 'skip$
+ if$
+ format.vol.num.pages output.nocomma
+
+ bst.year.position #1 =
+ { format.date output.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% book
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check.nocomma }
+ { format.authors output.nonnull.nocomma
+ "author and editor" editor either.or.check
+ }
+ if$
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.book "title" output.check.nocomma
+
+ format.bvolume output.nocomma
+ format.number.series output.nocomma
+ output.publisher.address
+
+ format.edition output.nocomma
+ format.book.pages output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% booklet
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output.nocomma
+ format.year output.nocomma
+ format.misc.title "title" output.check.nocomma
+ format.howpublished output.nocomma
+ format.address output.nocomma
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% inbook
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check.nocomma }
+ { format.authors output.nonnull.nocomma
+ "author and editor" editor either.or.check
+ }
+ if$
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+% format.book remove.pre.comma "title" output.check.nocomma
+ format.book "title" output.check.nocomma
+ format.edition output.nocomma
+
+ format.bvolume output.nocomma
+ format.chapter.pages "chapter and pages" output.check.nocomma
+ format.number.series output.nocomma
+ output.publisher.address
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% incollection
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+
+ format.in.ed.booktitle "booktitle" output.check.nocomma
+ format.bvolume output.nocomma
+ output.address.organization.publisher
+ format.edition output.nocomma
+ format.chapter.pages output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% inproceedings
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+
+ format.in.ed.booktitle "booktitle" output.check.nocomma
+ format.bvolume output.nocomma
+ format.number.series output.nocomma
+ format.pages output.nocomma
+ output.address.organization.publisher
+
+ bst.year.position #0 = not
+ { format.date output.nocomma }
+ { format.month output.nocomma }
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% conference
+
+FUNCTION {conference}
+{ inproceedings }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% manual
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull.nocomma
+ address output.nocomma
+ }
+ if$
+ }
+ { format.authors output.nonnull.nocomma }
+ if$
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.book "title" output.check.nocomma
+ author empty$
+ { organization empty$
+ { format.address new.block.check
+ format.address output.nocomma
+ }
+ 'skip$
+ if$
+ }
+ { output.address.organization.publisher }
+ if$
+ format.edition output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% mastersthesis
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+ format.mthesis format.thesis.type output.nonnull.nocomma
+ format.school "school" output.check.nocomma
+ format.address output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% misc
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.misc.title output.nocomma
+ format.howpublished output.nocomma
+
+ bst.year.position #0 = not
+ { format.date output.nocomma }
+ { format.month output.nocomma }
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+ empty.misc.check
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Online
+
+FUNCTION {online}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.misc.title output.nocomma
+ format.howpublished output.nocomma
+
+ bst.year.position #0 = not
+ { format.date output.nocomma }
+ { format.month output.nocomma }
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+ empty.misc.check
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% phdthesis
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.book "title" output.check.nocomma
+ format.phd
+ format.thesis.type output.nonnull.nocomma
+ format.school "school" output.check.nocomma
+ address empty$
+ 'skip$
+ { format.address output.nocomma }
+ if$
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% proceedings
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output.nocomma }
+ { format.editors output.nonnull.nocomma }
+ if$
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.btitle remove.pre.comma "title" output.check.nocomma
+ format.bvolume output.nocomma
+ format.number.series output.nocomma
+ output.address.organization.publisher
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% techreport
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+ format.tr.number output.nonnull.nocomma
+ format.institution "institution" output.check.nocomma
+ format.address output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% unpublished
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+
+ bst.year.position #0 = not
+ { format.date remove.pre.comma output.nocomma }
+ { month empty$
+ 'skip$
+ { format.month remove.pre.comma output.nocomma }
+ if$
+ }
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note "note" output.check.nocomma
+ fin.entry
+}
+
+FUNCTION {default.type}
+{ misc }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Alias for month names:
+
+MACRO {jan} {"January"}
+MACRO {feb} {"February"}
+MACRO {mar} {"March"}
+MACRO {apr} {"April"}
+MACRO {may} {"May"}
+MACRO {jun} {"June"}
+MACRO {jul} {"July"}
+MACRO {aug} {"August"}
+MACRO {sep} {"September"}
+MACRO {oct} {"October"}
+MACRO {nov} {"November"}
+MACRO {dec} {"December"}
+
+%%% Read entries:
+READ
+
+%%% Variable for remembering the order of citation.
+INTEGERS { order.num }
+FUNCTION {initialize.order.num}
+{
+ #1 'order.num :=
+}
+%%% Initialize a variables
+EXECUTE {initialize.order.num}
+
+%%% Variable for remembering the order of citation.
+FUNCTION {set.order.cited}
+{
+ order.num 'order.cited :=
+ #1 order.num + 'order.num :=
+}
+%%% Iterate for all entries:
+ITERATE {set.order.cited}
+
+%%% check the value of nameorder field.
+FUNCTION {set.nameorder}
+{ nameorder empty$
+ { "" 'nameorder.temp := }
+ { nameorder 'nameorder.temp := }
+ if$
+}
+%%% Iterate for all entries:
+ITERATE {set.nameorder}
+
+%%% Remove symbols and convert to lowercase.
+FUNCTION {sortify}
+{ purify$ "l" change.case$ }
+
+%%% names for sorting
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { ", " * }
+ 'skip$
+ if$
+ s nameptr "{ll}{ f}{ j}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { bst.and.others.output *}
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.names.abb}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames bst.and.others.num <
+ { s sort.format.names }
+ { s #1 "{ll}{ f}{ j}" format.name$ " zz " * }
+ if$
+}
+
+%%% Label for full author name.
+FUNCTION {format.lab.names.full}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { nameorder.temp "random" = bst.use.nameorder #0 = not and
+ { bst.and.nameorder * t * }
+ { ", " * t * }
+ if$
+ }
+ { t "others" =
+ { bst.and.others.output * }
+ { numnames #2 >
+ { nameorder.temp "random" = bst.use.nameorder #0 = not and
+ { bst.cite.and.nameorder * t * }
+ { bst.cite.ands * t * }
+ if$
+ }
+ { nameorder.temp "random" = bst.use.nameorder #0 = not and
+ { bst.cite.and.nameorder * t * }
+ { bst.cite.and * t * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #1 > #1 #2 = and {", eds" *} {} if$
+ numnames #1 = #1 #2 = and {", ed" *} {} if$
+}
+
+%%% laberl for abbreviated author name.
+FUNCTION {format.lab.names.abb}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames bst.and.others.num <
+ % if the number of authors is less than bst.and.others.num, full name.
+ { s format.lab.names.full }
+ % if the number of authors is equal or more than bst.and.others.num, abbreviated name.
+ { s #1 "{ll}" format.name$ bst.and.others.output * }
+ if$
+}
+
+%%% abbreviated author
+FUNCTION {author.key.label.abb}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names.abb }
+ if$
+}
+
+%%% full author
+FUNCTION {author.key.label.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names.full }
+ if$
+}
+
+FUNCTION {format.names.full.wo.and}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ll}{, ff}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { " " * t * }
+ { t "others" =
+ { " " * }
+ { numnames #2 >
+ { " " * t * }
+ { " " * t * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.key.full.wo.and}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.names.full.wo.and }
+ if$
+}
+
+FUNCTION {author.editor.key.full.wo.and}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.names.full.wo.and }
+ if$
+ }
+ { author format.names.full.wo.and }
+ if$
+}
+
+FUNCTION {editor.key.organization.key.full.wo.and}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.names.full.wo.and }
+ if$
+}
+
+FUNCTION {author.key.organization.key.full.wo.and}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.names.full.wo.and }
+ if$
+}
+
+%%% abbreviated author
+FUNCTION {author.editor.key.label.abb}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names.abb }
+ if$
+ }
+ { author format.lab.names.abb }
+ if$
+}
+
+%%% full author
+FUNCTION {author.editor.key.label.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names.full }
+ if$
+ }
+ { author format.lab.names.full }
+ if$
+}
+
+FUNCTION {author.key.organization.label.full}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names.full }
+ if$
+}
+
+FUNCTION {author.key.organization.label.abb}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names.abb }
+ if$
+}
+
+FUNCTION {editor.key.organization.label.full}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names.full }
+ if$
+}
+
+FUNCTION {editor.key.organization.label.abb}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names.abb }
+ if$
+}
+
+%%% Convert numbers: 0->9, 1->8, 2->7,..., 9->0
+FUNCTION {reverse.num}
+{ 's :=
+ s "1" =
+ { "8" 'year.num := }
+ { s "2" =
+ { "7" 'year.num := }
+ { s "3" =
+ { "6" 'year.num := }
+ { s "4" =
+ { "5" 'year.num := }
+ { s "5" =
+ { "4" 'year.num := }
+ { s "6" =
+ { "3" 'year.num := }
+ { s "7" =
+ { "2" 'year.num := }
+ { s "8" =
+ { "1" 'year.num := }
+ { s "9" =
+ { "0" 'year.num := }
+ { s "0" =
+ { "9" 'year.num := }
+ { "9" 'year.num := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ year.num
+}
+
+%%% Convert year (large number -> small number)
+FUNCTION {convert.year}
+{ 't :=
+ bst.reverse.year #0 =
+ { t 'tt := }
+ { t #1 #1 substring$ reverse.num
+ t #2 #1 substring$ reverse.num *
+ t #3 #1 substring$ reverse.num *
+ t #4 #1 substring$ reverse.num * 'tt := }
+ if$
+ tt
+}
+
+%%% cyear
+FUNCTION {calc.cyear}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full.wo.and
+ { type$ "proceedings" =
+ 'editor.key.organization.key.full.wo.and
+ { type$ "manual" =
+ 'author.key.organization.key.full.wo.and
+ 'author.key.full.wo.and
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ year empty$
+ { "2199" 'cyear := }
+ { year 'cyear := }
+ if$
+ year empty$
+ { " " "2199" convert.year * field.or.null * }
+ { " " year convert.year * field.or.null * }
+ if$
+ sortify 'sort.label :=
+ % For debug
+ econ.debug #0 = not
+ { "sort.label = ``\texttt{" write$
+ sort.label write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+ pop$
+}
+
+FUNCTION {calc.sort.label.abb}
+{ author empty$
+ { editor empty$
+ { "" }
+ { editor 's := }
+ if$
+ }
+ { author 's := }
+ if$
+ s sort.format.names.abb 't :=
+ year empty$
+ { t sortify " " * "2199" convert.year * 'sort.label.abb := }
+ { t sortify " " * year convert.year * 'sort.label.abb := }
+ if$
+ econ.debug #0 = not
+ { "sort.label.abb = ``\texttt{" write$
+ sort.label.abb write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+%%% flabel
+FUNCTION {calc.flabel}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label.full
+ { type$ "proceedings" =
+ 'editor.key.organization.label.full
+ { type$ "manual" =
+ 'author.key.organization.label.full
+ 'author.key.label.full
+ if$
+ }
+ if$
+ }
+ if$
+ 'flabel :=
+ % For debug
+ econ.debug #0 = not
+ { "flabel = ``\texttt{" write$
+ flabel write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+%%% alabel
+FUNCTION {calc.alabel}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label.abb
+ { type$ "proceedings" =
+ 'editor.key.organization.label.abb
+ { type$ "manual" =
+ 'author.key.organization.label.abb
+ 'author.key.label.abb
+ if$
+ }
+ if$
+ }
+ if$
+ 'alabel :=
+ % For debug
+ econ.debug #0 = not
+ { "alabel = ``\texttt{" write$
+ alabel write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+%%% title for sorting
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+%%% author for sorting
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+%%% editor for sorting
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+%%% 1,...,9 -> 001,...,009
+%%% 10,...,99 -> 010,...,099
+FUNCTION {add.zero.to.number}
+{ 's :=
+ s text.length$ #1 =
+ { "00" s * }
+ { s text.length$ #2 =
+ { "0" s * }
+ { s }
+ if$
+ }
+ if$
+}
+
+%% entry type
+FUNCTION {bst.sort.entry.type.order}
+{ 'item.type :=
+ item.type "article" =
+ { "01" }
+ { item.type "book" =
+ { "02" }
+ { item.type "booklet" =
+ { "03" }
+ { item.type "comment" =
+ { "04" }
+ { item.type "conference" =
+ { "05" }
+ { item.type "inbook" =
+ { "06" }
+ { item.type "incollection" =
+ { "07" }
+ { item.type "inproceedings" =
+ { "08" }
+ { item.type "manual" =
+ { "09" }
+ { item.type "masterthesis" =
+ { "10" }
+ { item.type "misc" =
+ { "11" }
+ { item.type "phdthesis" =
+ { "12" }
+ { item.type "proceedings" =
+ { "13" }
+ { item.type "techreport" =
+ { "14" }
+ { item.type "unpublished" =
+ { "15" }
+ { "16" }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% Create sort.key$: absorder -> author -> year -> order -> month -> title.
+FUNCTION {presort.one}
+{
+ bst.no.sort #0 = not
+ { order.cited int.to.str$ add.zero.to.number " " * }
+ { "" }
+ if$
+ bst.sort.year #0 = not
+ %% Use year field as the primary sorting key.
+ { year convert.year * }
+ 'skip$
+ if$
+ bst.sort.entry.type #0 = not
+ { type$ bst.sort.entry.type.order * " " * }
+ 'skip$
+ if$
+ absorder empty$
+ { "/// " * }
+ { bst.notuse.absorder.field #0 =
+ { absorder "999" =
+ { "zzz " * }
+ { absorder add.zero.to.number "000" =
+ { "/// " * }
+ { absorder add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ { "/// " * }
+ if$
+ }
+ if$
+ " " *
+ sort.label.abb *
+ " " *
+ type$ "book" = type$ "inbook" = or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ * " " *
+ " "
+ order empty$
+ { "/// " * }
+ { bst.notuse.order.field #0 =
+ { order "999" =
+ { "zzz " * }
+ { order add.zero.to.number "000" =
+ { "/// " * }
+ { order add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ { "/// " * }
+ if$
+ }
+ if$
+ month empty$
+ { * "/// " * }
+ { month "999" =
+ { * month add.zero.to.number * "zzz " * }
+ { month add.zero.to.number "000" =
+ { * month add.zero.to.number * "/// " * }
+ { * month add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ if$
+ title field.or.null sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+ % For debug
+ econ.debug #0 = not
+ { "``\texttt{" write$
+ sort.key$ write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+FUNCTION {presort.two}
+{
+ bst.no.sort #0 = not
+ { order.cited int.to.str$ add.zero.to.number " " * }
+ { "" }
+ if$
+ bst.sort.year #0 = not
+ %% Use year field as the primary sorting key.
+ { year convert.year * }
+ 'skip$
+ if$
+ bst.sort.entry.type #0 = not
+ { type$ bst.sort.entry.type.order * " " * }
+ 'skip$
+ if$
+ absorder empty$
+ { "/// " * }
+ { bst.notuse.absorder.field #0 =
+ { absorder "999" =
+ { "zzz " * }
+ { absorder add.zero.to.number "000" =
+ { "/// " * }
+ { absorder add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ { "/// " * }
+ if$
+ }
+ if$
+ " " * sort.label * " "
+ order empty$
+ { "/// " * }
+ { bst.notuse.order.field #0 =
+ { order "999" =
+ { "zzz " * }
+ { order add.zero.to.number "000" =
+ { "/// " * }
+ { order add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ { "/// " * }
+ if$
+ }
+ if$
+ month empty$
+ { * "/// " * }
+ { month "999" =
+ { * month add.zero.to.number * "zzz " * }
+ { month add.zero.to.number "000" =
+ { * month add.zero.to.number * "/// " * }
+ { * month add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ if$
+ title field.or.null sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+ % For debug
+ econ.debug #0 = not
+ { "``\texttt{" write$
+ sort.key$ write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+%%% Codes for debugging
+FUNCTION {calc.alabel.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of calc.alabel: alabel = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+FUNCTION {calc.flabel.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of calc.flabel: flabel = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+FUNCTION {presort.one.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of presort (1st time): \$sort.key = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {presort.two.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of presort (2nd time): \$sort.key = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {calc.cyear.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of calc.cyear: sort.label = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {calc.sort.label.abb.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of calc.sort.label.abb: sort.label.abb = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+
+%%% alabel
+EXECUTE {calc.alabel.mess}
+ITERATE {calc.alabel}
+
+%%% flabel
+EXECUTE {calc.flabel.mess}
+ITERATE {calc.flabel}
+
+%%% cyear and sort.label
+EXECUTE {calc.cyear.mess}
+ITERATE {calc.cyear}
+
+%%%
+EXECUTE {calc.sort.label.abb.mess}
+ITERATE {calc.sort.label.abb}
+
+%%% Sorting by $sort.key (first time)
+%
+% Sorting is done in two times. This is the first time.
+%
+EXECUTE {presort.one.mess}
+ITERATE {presort.one}
+SORT
+
+FUNCTION {forward.pass}
+{ bst.use.bysame #0 = bst.use.bysame #2 = or
+ % Not use \bysame
+ { last.sort.label sort.label.abb =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label.abb 'last.sort.label :=
+ }
+ if$
+ }
+ % Use \bysame
+ { last.sort.label sort.label.abb =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label.abb 'last.sort.label :=
+ }
+ if$
+ author empty$
+ { editor empty$
+ { "" }
+ 'format.editors.alt
+ if$
+ }
+ 'format.authors.alt
+ if$
+ 'this.author :=
+ % format.names 'this.author :=
+ this.author prev.author =
+ { "bysame" 'extra.label.bysame := }
+ { this.author "" =
+ { "abcxyz" }
+ 'this.author
+ if$
+ 'prev.author :=
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label empty$ not
+ { cyear extra.label * }
+ { cyear "" * }
+ if$
+ "" field.or.null *
+ 'cyear :=
+ extra.label 'next.extra :=
+}
+
+%%% \bysame
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+%%% Sorting by sort.key$ (second time)
+EXECUTE {presort.two.mess}
+ITERATE {presort.two}
+SORT
+
+FUNCTION {reset.prev.author}
+{ "xxyyzz" 'prev.author := }
+
+EXECUTE {reset.prev.author}
+
+FUNCTION {forward.pass.two}
+{ bst.use.bysame #1 =
+ { author empty$
+ { editor empty$
+ { "" }
+ 'format.editors.alt
+ if$
+ }
+ 'format.authors.alt
+ if$
+ 'this.author :=
+ this.author prev.author =
+ { "bysame" 'extra.label.bysame := }
+ { this.author "" =
+ { "abcxyz" }
+ 'this.author
+ if$
+ 'prev.author :=
+ }
+ if$
+ }
+ 'skip$
+ if$
+}
+
+ITERATE {forward.pass.two}
+
+FUNCTION{punctuation}
+{
+ "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" write$ newline$
+ "% This bbl file is created by econ.bst ver." econ.version * write$ newline$
+ "% The latest econ.bst is available at" write$ newline$
+ "% <https://github.com/ShiroTakeda/econ-bst>" write$ newline$ newline$
+}
+
+EXECUTE {punctuation}
+
+FUNCTION {begin.bib}
+{
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ bst.use.bysame #0 =
+ % Not use \bysame.
+ 'skip$
+ % Use \bysame.
+ { "%%% Definition of \bysame" write$ newline$
+ "\ifx\undefined\bysame" write$ newline$
+ "\newcommand{\bysame}{" bst.bysame.definition * "}" *
+ write$ newline$
+ "\fi" write$ newline$ newline$ }
+ if$
+ %% When number index is attached to the beginning of each item.
+ bst.use.number.index #0 =
+ 'skip$
+ { bst.number.index.digit "1" =
+ % one digit.
+ { bst.number.index.bibhang.one }
+ { bst.number.index.digit "2" =
+ % two digits.
+ { bst.number.index.bibhang.ten }
+ % three or more digits.
+ { bst.number.index.bibhang.hund }
+ if$
+ }
+ if$
+ 'hang :=
+ "%%% Redefinition of \bibhang" write$ newline$
+ "\ifx\undefined\bibhang" write$ newline$
+ "\relax" write$ newline$
+ "\else" write$ newline$
+ "\setlength{\bibhang}{"
+ hang * "}" * write$ newline$
+ "\fi" write$ newline$ newline$
+ }
+ if$
+ "\begin{thebibliography}{xxx}" write$ newline$
+
+ %% Initialize the variable `index'.
+ #0 'index :=
+}
+
+FUNCTION {end.bib}
+{ newline$ "\end{thebibliography}" write$ newline$ }
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+EXECUTE {end.bib}
+
+% --------------------
+% Local Variables:
+% fill-column: 78
+% mode: bst
+% End:
diff --git a/biblio/bibtex/contrib/econ-bst/customization/econ-a.pdf b/biblio/bibtex/contrib/econ-bst/customization/econ-a.pdf
new file mode 100644
index 0000000000..087a705082
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/customization/econ-a.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/econ-bst/customization/econ-a.tex b/biblio/bibtex/contrib/econ-bst/customization/econ-a.tex
new file mode 100644
index 0000000000..71051674e5
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/customization/econ-a.tex
@@ -0,0 +1,55 @@
+%#!pdflatex
+%#BIBTEX bibtex econ-a
+
+%############################## Main #################################
+\documentclass[10pt]{article}
+
+%% Use natbib.sty
+\usepackage{natbib}
+\usepackage{mathpazo}
+\usepackage{url}
+\usepackage{graphicx}
+\usepackage{color}
+\definecolor{MyBrown}{rgb}{0.3,0,0}
+\definecolor{MyBlue}{rgb}{0,0,0.3}
+\definecolor{MyRed}{rgb}{0.4,0,0.1}
+\definecolor{MyGreen}{rgb}{0,0.4,0}
+\usepackage[bookmarks=true,%
+bookmarksnumbered=true,%
+colorlinks=true,%
+linkcolor=MyBlue,%
+citecolor=MyRed,%
+filecolor=MyBlue,%
+urlcolor=MyGreen%
+]{hyperref}
+
+\setlength{\topmargin}{-20pt}
+\setlength{\textheight}{648pt}
+\setlength{\oddsidemargin}{15pt}
+\setlength{\textwidth}{440pt}
+
+%#####################################################################
+%######################### Document Starts ###########################
+%#####################################################################
+\begin{document}
+
+This document uses ``\verb|econ-a.bst|''.
+
+\vspace{1em}
+
+\input{cited-part}
+\nocite{*}
+
+%% bst file:
+\bibliographystyle{econ-a}
+\bibliography{../econ-example}
+
+\end{document}
+
+%#####################################################################
+%######################### Document Ends #############################
+%#####################################################################
+% --------------------
+% Local Variables:
+% fill-column: 80
+% End:
diff --git a/biblio/bibtex/contrib/econ-bst/customization/econ-aer.bst b/biblio/bibtex/contrib/econ-bst/customization/econ-aer.bst
new file mode 100644
index 0000000000..d570b82a67
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/customization/econ-aer.bst
@@ -0,0 +1,3538 @@
+%% econ.bst: BibTeX style file for papers in economics.
+%
+% Author: Shiro Takeda
+% Maintainer: Shiro Takeda
+% Copyright (C) 2001-2018 Shiro Takeda
+% First-written: <2007/07/28>
+% Time-stamp: <2018-12-07 18:49:31 st>
+% Version: 2.5
+% Keywords: TeX, BibTeX, bst
+% URL: https://github.com/ShiroTakeda/econ-bst
+
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainer of this work is Shiro Takeda.
+
+%% Main features of econ.bst.
+
+% "econ.bst" is a BibTeX style file for economics. It provids the following
+% features:
+
+% 1) The author-year type citation (you need "natbib.sty" as well).
+% 2) Reference style used in economics papers ("econ.bst" is not a BibTeX style
+% for a specific journal).
+% 3) Highly customizable. You can easily customize reference style as you wish.
+% 4) You can use "certified random order" proposed by Ray â“¡ Robson (2018)
+% (http://dx.doi.org/10.1257/aer.20161492).
+
+% Bug reports, requests and suggestions are welcome.
+
+% For changelogs, see CHANGES.txt file.
+
+% version number
+FUNCTION {econ.version} { "2.5" }
+
+% Debug mode. Non-zero makes debug mode on.
+FUNCTION {econ.debug}
+{ #0 } % Debug mode off (default).
+% { #1 } % Debug mode on.
+
+ENTRY
+ %%% Declaration of field
+ { access address author booktitle chapter doi edition editor howpublished
+ institution journal key month note number organization pages publisher
+ school series title type url volume year
+ % Fields specific to econ.bst
+ order absorder nameorder
+ }
+
+ % Definition of entry variable. The entry variable is a variable which has
+ % different values according to different entries.
+ %% Integer entry variable:
+ { order.cited }
+
+ %% String entry variable
+ { label cyear flabel alabel extra.label sort.label sort.label.abb
+ extra.label.bysame nameorder.temp }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% Functions for customization:
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Use \bysame or not.
+%
+% If set to #0, \bysame is not used.
+% If set to #1, \bysame is used
+% If set to #2, \bysame is used (alternative abbreviation style).
+%
+% Note that integer number is expressed as # + integer in bst file.
+% \bysame is the function that abbreviates succession of the same authors' name by ---.
+%
+% See econ-sample.pdf for details.
+%
+FUNCTION {bst.use.bysame}
+{ #0 } % Not use \bysame
+% { #1 } % -> Use \bysame (default)
+% { #2 } % -> Use \bysame of alternative style.
+
+% The definition of \bysame command.
+%
+FUNCTION {bst.bysame.definition}
+{ "\hskip.3em \leavevmode\rule[.5ex]{3em}{.3pt}\hskip0.5em" } % (default)
+% { "\leavevmode\hbox to\leftmargin{\hrulefill\,\,}" } % If you set #2 to bst.use.bysame, use this.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% The order of fist and last name.
+%
+FUNCTION {bst.author.name}
+{ #0 } % (default)
+% { #1 }
+% { #2 }
+
+% Case of #0: First author -> last-first, other authors -> first-last.
+% Fujita, Masahisa, Paul R. Krugman, and Anthony J. Venables.
+
+% Case of #1: All authors -> last-first
+% Fujita, Masahisa, Krugman, Paul R., and Venables, Anthony J.
+
+% Case of #2: All authors -> first-last
+% Masahisa Fujita, Paul R. Krugman, and Anthony J. Venables.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Abbreviate first name of authors (editors):
+%
+FUNCTION {bst.first.name.initial}
+{ #0 } % #0 -> full letters (default).
+% { #1 } % Non-zero -> initial letter only.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Decapitalize of strings in title field.
+%
+FUNCTION {bst.title.lower.case}
+{ #0 } % If #0, not decapitalize title (default).
+% { #1 } % If non-#0, decapitalize title
+
+% Hide title filed.
+%
+FUNCTION {bst.hide.title}
+{ #0 } % #0 -> Title field is displayed (default)
+% { #1 } % Non-zer -> Title field is hidden
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Hide month.
+%
+FUNCTION {bst.hide.month}
+{ #0 } % #0 -> show month field (default).
+% { #1 } % non-#0 -> hide month field.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Attach number index like plain.bst.
+%
+FUNCTION {bst.use.number.index}
+{ #0 } % Not use number index (default).
+% { #1 } % Non-#0 -> Use number index
+
+% The string before number index:
+%
+FUNCTION {bst.number.index.pre}
+{ "[" } % (default)
+
+% The string after number index. Adjustment is recommended.
+%
+FUNCTION {bst.number.index.post}
+{ "]\hskip1.0em " } % (default)
+
+% Maximum digit of number index:
+% If the number of reference items >= 100, set 3 to this function.
+% If the number of reference items < 100, set 2 to this function.
+% If the number of reference items < 10, set 1 to this function.
+%
+FUNCTION {bst.number.index.digit}
+{ "2" } % (default)
+% { "3" }
+
+% The functions below are used to adjust space and postion. If you use fonts
+% other than computer modern fonts, you had better make adjustments.
+%
+% Setting for bst.number.index.digit = 1:
+FUNCTION {bst.number.index.bibhang.one}
+{ "2.05em" } % (default)
+% Setting for bst.number.index.digit = 2:
+FUNCTION {bst.number.index.bibhang.ten}
+{ "2.55em" } % (default)
+% Setting for bst.number.index.digit = 3:
+FUNCTION {bst.number.index.bibhang.hund}
+{ "3.05em" } % (default).
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Position of "year":
+%
+% You can choose the position of year by this function.
+%
+% If set to #0, year is placed right after "author".
+% If set to non-zero, year is placed at the end (before note field) except for
+% aritcle type entry.
+%
+% In article type entry, the position of year changes according to the
+% following rule:
+%
+% #1 -> year is placed at the end.
+% #2 -> year is placed after journal name in aritcle type entry.
+% #3 -> year is placed after volume in aritcle type entry.
+%
+FUNCTION {bst.year.position}
+{ #0 } % (default).
+% { #1 } % Last place before note.
+% { #2 } % After journal name for aticle type entry.
+% { #3 } % After volume for aticle type entry.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% If 0, references are sorted by old documents -> recent documents. If
+% non-zero, reverse order.
+FUNCTION {bst.reverse.year}
+{ #0 } % Normal order (old -> recent) (default).
+% { #1 } % inverse order (recent -> old)
+
+% If non-zero, sort references by using year field as the primary key
+% (chronological sorting).
+FUNCTION {bst.sort.year}
+{ #0 } % Normal case: year is used as the sorting key next to author (default).
+% { #1 } % year is used as the primary sorting key.
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% If non-zero, references are listed in citation order.
+%
+FUNCTION {bst.no.sort}
+{ #0 } % (default)
+% { #1 } % listed in citation order.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Non-zero -> sort references by entry type (article, book, incollection etc.)
+%
+FUNCTION {bst.sort.entry.type}
+{ #0 } % #0 -> Normal (not sort references by entry type) (default).
+% { #1 } % Non-zero -> sort references by entry type.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% 0 -> use absorder field to sort items. Otherwise, ignore absorder field.
+%
+FUNCTION {bst.notuse.absorder.field}
+{ #0 } % #0 -> Use absorder (default).
+% { #1 } % Non-#0 -> Not use absorder.
+%
+% Order of priority to sort items
+%
+% absorder -> author -> year -> order -> month -> title
+%
+% wehre absorder and order fields are specific to econ.bst.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% 0 -> use order field to sort items. Otherwise, ignore order field.
+% Note: order field is specific to econ.bst.
+FUNCTION {bst.notuse.order.field}
+{ #0 } % #0 -> Use order field (default).
+% { #1 } % Non-#0 -> not use order field.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%% and
+
+%%% String used to separate author names in references.
+%
+% String replaced with _ in "Mr. A _ Mr. B "
+%
+FUNCTION {bst.and}
+{ ", and " }
+% { " and " } % (default)
+
+%%% String used to separate author names in references (more than two authors).
+%
+% String replaced with _ in "Mr. A, Mr. B _ Mr. C"
+%
+FUNCTION {bst.ands}
+{ ", and " } % (default)
+
+%%% String used to separate author names in citation part.
+%
+% String replaced with _ in "Mr. A _ Mr. B "
+%
+FUNCTION {bst.cite.and}
+{ " and " } % (default)
+
+%%% String used to separate author names in citation part (more than two authors).
+%
+% String replaced with _ in "Mr. A, Mr. B _ Mr. C"
+%
+FUNCTION {bst.cite.ands}
+{ " and " } % (default)
+
+%%% If you want to use random author order for some bibliography entries, set
+% non-zero to this function.
+%
+FUNCTION {bst.use.nameorder}
+{ #1 } % Use random order (default)
+% { #0 } % Not use random order
+
+%%% String used to separate author names in references for the entry of random
+% author order.
+%
+FUNCTION {bst.and.nameorder}
+{ " \textcircled{r} " } % (default)
+
+%%% String used to separate author names in citation part for the entry of
+% random author order
+%
+FUNCTION {bst.cite.and.nameorder}
+{ " \textcircled{r} " } % (default)
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Author names in the citation part are abbreviated by et al. if the number of
+% authors is greater or equal to bst.and.others.num.
+FUNCTION {bst.and.others.num}
+{ #3 } % If the number of authors is greater or equal to three (default).
+% { #4 }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Strings used when abbreviating multiple-authors in citation part.
+FUNCTION {bst.and.others}
+{ " et~al." } % (default)
+
+% Strings used when abbreviating multiple-authors in citation part for entries
+% with random author order.
+FUNCTION {bst.and.others.nameorder}
+{ " \textcircled{r}~al." } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% author
+
+% The string before author:
+%
+FUNCTION {bst.author.pre}
+{ "\textbf{" }
+% { "" } % (default)
+
+% The string after author:
+%
+FUNCTION {bst.author.post}
+{ ".}" }
+% { "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% year
+
+% The string before year only for aritcle type entry.
+%
+FUNCTION {bst.year.pre}
+{ " " }
+% { " (" } % (default)
+
+% The string after year only for aritcle type entry.
+%
+FUNCTION {bst.year.post}
+{ ". " }
+% { ") " } % (default)
+
+% The string after year for non-article type entry (book, incollection etc)
+%
+FUNCTION {bst.year.na.pre}
+{ " " }
+% { " (" } % (default)
+
+% The string after year for non-article type entry (book, incollection etc)
+%
+FUNCTION {bst.year.na.post}
+{ ". " }
+% { ") " } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% title (except for title in book)
+
+% The string before title:
+%
+FUNCTION {bst.title.pre}
+{ "``" } % (default)
+
+% The string after title:
+%
+FUNCTION {bst.title.post}
+{ ".''" }
+% { ",''" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% tile for book:
+
+% The string before book title:
+%
+FUNCTION {bst.book.pre}
+{ " \textit{" } % (default)
+
+% The string after book title:
+%
+FUNCTION {bst.book.post}
+{ "}." }
+% { "}" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% booktitle
+
+% The string before booktitle:
+%
+FUNCTION {bst.btitle.pre}
+{ " \textit{" } % (default)
+
+% The string after booktitle:
+%
+FUNCTION {bst.btitle.post}
+{ "}." }
+% { "}" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% journal name
+
+% The string before journal name:
+%
+FUNCTION {bst.journal.pre}
+{ " \textit{" } % (default)
+
+% The string after journal name:
+%
+FUNCTION {bst.journal.post}
+{ "}" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% editor notation:
+
+% The string that indicates multiple editors:
+%
+FUNCTION {bst.editors}
+{ " eds. " } % (default)
+
+% The string that indicates single editor:
+%
+FUNCTION {bst.editor}
+{ " ed. " } % (default)
+
+% Order of editor and booktitle in incollection and inproceedings entries.
+%
+% If set to #0: editors -> booktitle order
+% If set to non-zero: booktitle -> editors order
+%
+FUNCTION {bst.editor.btitle.order}
+{ #1 }
+% { #0 } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% edition
+
+% The string before edition:
+%
+FUNCTION {bst.edition.pre}
+{ ", " } % (default)
+
+% The string after edition:
+%
+FUNCTION {bst.edition.post}
+{ " edition" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% volume
+
+% The string before volume:
+%
+FUNCTION {bst.volume.pre}
+{ ", " }
+% { ", Vol. " } % (default)
+
+% The string after volume:
+%
+FUNCTION {bst.volume.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% number
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Hide number. If non-zero, number is suppressed.
+FUNCTION {bst.hide.number}
+{ #0 } % #0 -> show number field (default)
+% { #1 } % non-#0 -> Hide number field.
+
+% The string before number:
+%
+FUNCTION {bst.number.pre}
+{ "(" }
+% { ", No. " } % (default)
+
+% The string after number:
+%
+FUNCTION {bst.number.post}
+{ "): " }
+% { "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% in
+
+% In
+%
+FUNCTION {bst.in}
+{ " In " }
+% { " in " } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% page
+
+% The string before page (multiple pages):
+%
+FUNCTION {bst.pages.pre}
+{ " " }
+% { ", pp." } % (default)
+
+% The string before page:
+%
+FUNCTION {bst.page.pre}
+{ ", p." } % (default)
+
+% The string after page (multiple pages):
+%
+FUNCTION {bst.pages.post}
+{ "" } % (default)
+
+% The string after page:
+%
+FUNCTION {bst.page.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% chapter
+
+% The string before chapter:
+%
+FUNCTION {bst.chapter.pre}
+{ ", Chap." } % (default)
+
+% The string after chapter:
+%
+FUNCTION {bst.chapter.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% month
+
+% The string before month:
+%
+FUNCTION {bst.month.pre}
+{ ", " } % (default)
+
+% The string after month:
+%
+FUNCTION {bst.month.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% address
+% The string before address:
+%
+FUNCTION {bst.address.pre}
+{ ", " } % (default)
+
+% The string after address:
+%
+FUNCTION {bst.address.post}
+{ "" } % (default)
+
+% You can choose the order of address and publisher by this function.
+%
+% If #0, address -> publisher order (the default value).
+% If non-zero, publisher -> address order.
+
+FUNCTION {bst.address.position}
+{ #0 } % Address is placed before publisher (default)
+% { #1 } % Address is placed after publisher
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% publisher
+
+% The string before publisher:
+%
+FUNCTION {bst.publisher.pre}
+{ ": " } % (default)
+
+% The string after publisher:
+%
+FUNCTION {bst.publisher.post}
+{ ", " }
+% { "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% series
+
+% The string before series:
+%
+FUNCTION {bst.series.pre}
+{ ", " } % (default)
+
+% The string after series:
+%
+FUNCTION {bst.series.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% organization
+
+% The string before organization:
+%
+FUNCTION {bst.organization.pre}
+{ ", " } % (default)
+
+% The string after organization:
+%
+FUNCTION {bst.organization.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% school
+
+% The string before school:
+%
+FUNCTION {bst.school.pre}
+{ ", " } % (default)
+
+% The string after school:
+%
+FUNCTION {bst.school.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% institution
+
+% The string before institution:
+%
+FUNCTION {bst.institution.pre}
+{ ", " } % (default)
+
+% The string after institution:
+%
+FUNCTION {bst.institution.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% howpublished
+
+% The string before howpublished:
+%
+FUNCTION {bst.howpublished.pre}
+{ " " } % (default)
+
+% The string after howpublished:
+%
+FUNCTION {bst.howpublished.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% url
+
+% Show or Hide url. If non-zero, url is displayed. Otherwise, url is suppressed.
+FUNCTION {bst.show.url}
+{ #1 } % non-#0 -> Show url field (default)
+% { #0 } % #0 -> Not show url field.
+
+% The string before url:
+%
+FUNCTION {bst.url.pre}
+{ ", URL: \url{" } % (default)
+
+% The string after url:
+%
+FUNCTION {bst.url.post}
+{ "}" } % (default)
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Access
+
+% This setting is valid only if there are "access" field in bib
+% files. The value of access field indicates accessed date for URL.
+
+% The string before access.
+FUNCTION {bst.access.pre}
+{ ", accessed on " } % (default)
+
+% The string after access.
+FUNCTION {bst.access.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% DOI (digital object identifier)
+
+% This setting is valid only if there are "doi" field in bib files.
+
+% Show or Hide DOI. If non-zero, DOI is displayed. Otherwise, DOI is suppressed.
+FUNCTION {bst.show.doi}
+{ #1 } % non-#0 -> Show DOI field (default)
+% { #0 } % #0 -> Not show DOI field.
+
+% The string before DOI:
+%
+FUNCTION {bst.doi.pre}
+{ ", DOI: \href{http://dx.doi.org/" doi * "}{" * } % (default)
+
+% The string after DOI:
+%
+FUNCTION {bst.doi.post}
+{ "}" } % (default)
+
+% How to show URL and DOI fields when both fields exist.
+%
+% #0 -> Both fields are displayed
+% #1 -> Only URL field is displayed
+% #2 -> Only DOI field is displayed
+%
+FUNCTION {bst.url.doi}
+% { #0 } % (default) -> Both fields are displayed
+% { #1 } % -> Only URL field is displayed
+{ #2 } % -> Only DOI field is displayed
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Other functions:
+
+% The string before note.
+FUNCTION {bst.note.pre}
+{ ", " } % (default)
+
+% The string after note.
+FUNCTION {bst.note.post}
+{ "" } % (default)
+
+% The string that represents Technical report:
+%
+FUNCTION {bst.techrep}
+{ " Tech. Rep." } % (default)
+
+% The string that represents master thesis:
+%
+FUNCTION {bst.mthesis}
+{ " Master's thesis" } % (default)
+
+% The string that represents phd thesis:
+%
+FUNCTION {bst.phdthesis}
+{ " Ph.D. dissertation" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% Functions for customization end here:
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION {bst.first}
+{ "1st" }
+
+FUNCTION {bst.second}
+{ "2nd" }
+
+FUNCTION {bst.third}
+{ "3rd" }
+
+FUNCTION {bst.fourth}
+{ "4th" }
+
+FUNCTION {bst.fifth}
+{ "5th" }
+
+FUNCTION {bst.st}
+{ "st" }
+
+FUNCTION {bst.nd}
+{ "nd" }
+
+FUNCTION {bst.rd}
+{ "rd" }
+
+FUNCTION {bst.th}
+{ "th" }
+
+%%%%% memo by Takeda
+
+% "a" 'b := indicates substituting string "a" for variable b.
+
+% Integer number #0, #1,...
+
+%%% Function definition:
+%
+% FUNCTION {name}
+% { 's :=
+%
+% }
+%
+% This is the definition of a function named "name". The function "name" is
+% used in the following way
+%
+% "foo" name
+% "foo" is an argument for the function "name".
+%
+% About the definition of a function with more than two arguments, see the
+% definition of "chop.word".
+
+%%% Declaration of variables:
+
+%% String global variables:
+STRINGS { s t tt }
+STRINGS { year.num }
+STRINGS { preone preten }
+STRINGS { last.sort.label next.extra prev.author prev.author.aer this.author }
+STRINGS { hang }
+STRINGS { item.type }
+STRINGS { tempa tempb }
+
+%% Integer global variables:
+INTEGERS { nameptr namesleft numnames name.num }
+INTEGERS { multiresult }
+INTEGERS { index }
+INTEGERS { len }
+INTEGERS { last.extra.num }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+INTEGERS { last.period.comma }
+INTEGERS { len1.aer len2.aer i.aer }
+
+%%% Definition of functions:
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+%%% Initialize variables:
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+%%% Remove comma and add period:
+%
+%%%
+FUNCTION {add.period.x}
+{ duplicate$
+ #-1 #1 substring$ "," =
+ { #-2 global.max$ substring$ "." * }
+ { duplicate$
+ #-1 #2 substring$ ". " =
+ { #-3 global.max$ substring$ "." * }
+ { duplicate$
+ #-1 #2 substring$ ", " =
+ { #-3 global.max$ substring$ "." * }
+ { duplicate$
+ #-1 #2 substring$ ",'" =
+ { #-3 global.max$ substring$ ".'" * }
+ { duplicate$
+ #-1 #2 substring$ ".'" =
+ { #-3 global.max$ substring$ ".'" * }
+ { duplicate$
+ #-1 #2 substring$ ".~" =
+ { #-3 global.max$ substring$ ".~" * }
+ { duplicate$
+ #-1 #2 substring$ ",~" =
+ { #-3 global.max$ substring$ ".~" * }
+ { duplicate$
+ #-1 #3 substring$ ",''" =
+ { #-4 global.max$ substring$ ".''" * }
+ { duplicate$
+ #-1 #3 substring$ ".''" =
+ { #-4 global.max$ substring$ ".''" * }
+ { add.period$ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ % mid.sentence
+ output.state mid.sentence =
+ { ", " * write$ }
+ % not mid.sentence
+ { output.state after.block =
+ % after.block
+ { add.period.x " " * write$ }
+ % before.all
+ { output.state before.all =
+ 'write$
+ { add.period.x " " * write$ }
+ if$
+ }
+ if$
+ % not mid.sentence, set to mid.sentence
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+%%% If the last character is period or comma, set non-zero to
+%%% last.period.comma.
+FUNCTION {period.comma.p}
+{ duplicate$ 't :=
+ t #-1 #1 substring$ "." =
+ t #-1 #1 substring$ "," = or
+ t #-1 #1 substring$ ":" = or
+ t #-1 #2 substring$ ".'" = or
+ t #-1 #2 substring$ ",'" = or
+ t #-1 #3 substring$ ".''" = or
+ t #-1 #3 substring$ ",''" = or
+ t #-1 #2 substring$ ".~" = or
+ t #-1 #2 substring$ ",~" = or
+ { #1 'last.period.comma := }
+ { #0 'last.period.comma := }
+ if$
+}
+
+%%% remove unnecessary comma.
+FUNCTION {remove.pre.comma}
+{ 's :=
+ s empty$
+ { "" }
+ { s #1 #1 substring$ "," =
+ { s #2 global.max$ substring$ }
+ { s #1 #1 substring$ "." =
+ { s #2 global.max$ substring$ }
+ 's
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% output.nonnull.nocomma is the same as output.nonnull except that it does
+%%% not add commas even in mid.sentence.
+FUNCTION {output.nonnull.nocomma}
+{ 's :=
+ output.state mid.sentence =
+ % mid.sentence
+ { period.comma.p "" * write$ }
+
+ % not mid.sentence
+ { output.state after.block =
+ % after.block
+ { add.period.x " " * write$ }
+ % before.all
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ last.period.comma #0 =
+ { s }
+ { s remove.pre.comma }
+ if$
+}
+
+% Not used in the current econ.bst.
+% FUNCTION {output}
+% { duplicate$ empty$
+% 'pop$
+% 'output.nonnull
+% if$
+% }
+
+FUNCTION {output.nocomma}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull.nocomma
+ if$
+}
+
+% Not used in the current econ.bst.
+% FUNCTION {output.check}
+% { 't :=
+% duplicate$ empty$
+% { pop$ "empty " t * " in " * cite$ * warning$ }
+% 'output.nonnull
+% if$
+% }
+
+FUNCTION {output.check.nocomma}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull.nocomma
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%% Format in bbl file:
+
+% \harvarditem[Brezis et~al.]{Brezis, Krugman and
+% Tsiddon}{1993}{brezis93:_leapf_inter_compet}
+% Brezis, Elise~S., Paul~R. Krugman, and Daniel Tsiddon (1993) ``Leapfrogging in
+% International Competition: A Theory of Cycles in National Technological
+% Leadership.'', {\em American Economic Review.}, Vol.~83. No.~5. pp.
+% 1211--1219.
+
+% \harvarditem[abbreviated citation]{full citation}{year}{keyword} ...
+
+%%% Add period and newline.
+FUNCTION {fin.entry}
+{ add.period.x
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {new.block.check}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+%%% booktitle
+FUNCTION {format.btitle}
+{ booktitle empty$
+ { "" }
+ { bst.btitle.pre booktitle * bst.btitle.post * }
+ if$
+}
+
+%%% journal
+FUNCTION {format.journal}
+{ journal empty$
+ { "" }
+ { bst.journal.pre journal * bst.journal.post * }
+ if$
+}
+
+%%% title for book
+FUNCTION {format.book}
+{ title empty$
+ { "" }
+ { bst.book.pre title * bst.book.post * }
+ if$
+}
+
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { type$ "online" = bst.show.url or
+ { bst.url.pre url * bst.url.post *
+ access empty$
+ { "" * }
+ { bst.access.pre * access * bst.access.post * }
+ if$
+ }
+ { "" }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.doi}
+{ doi empty$ bst.show.doi not or
+ { "" }
+ { bst.doi.pre doi * bst.doi.post * }
+ if$
+}
+
+FUNCTION {format.url.doi}
+{ url empty$
+ { format.doi }
+ { doi empty$
+ { format.url }
+ { bst.url.doi #0 =
+ { format.url output.nocomma
+ format.doi }
+ { bst.url.doi #1 =
+ { format.url }
+ { format.doi }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% and others
+FUNCTION {bst.and.others.output}
+{ nameorder.temp "random" =
+ bst.use.nameorder #0 = not and
+ { bst.and.others.nameorder }
+ { bst.and.others }
+ if$
+}
+
+%%% author and editor
+
+%%% name
+FUNCTION {format.names}
+{ 's :=
+ % insert 1 to nameptr.
+ #1 'nameptr :=
+ % Set the number of authors to numnames.
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ % Repeat if namesleft > 0
+ { namesleft #0 > }
+ { nameptr #1 =
+ % First author
+ { bst.author.name #0 =
+ bst.author.name #1 =
+ or
+ { bst.first.name.initial #0 =
+ { s nameptr "{vv~}{ll}{, ff}{, jj}" format.name$ 't := }
+ { s nameptr "{vv~}{ll}{, f.}{, jj}" format.name$ 't := }
+ if$
+ }
+ { bst.first.name.initial #0 =
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't := }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := }
+ if$
+ }
+ if$
+ }
+ % The second or later authors
+ { bst.author.name #0 =
+ bst.author.name #2 =
+ or
+ { bst.first.name.initial #0 =
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't := }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := }
+ if$
+ }
+ { bst.first.name.initial #0 =
+ { s nameptr "{vv~}{ll}{, ff}{, jj}" format.name$ 't := }
+ { s nameptr "{vv~}{ll}{, f.}{, jj}" format.name$ 't := }
+ if$
+ }
+ if$
+ }
+ if$
+
+ nameptr #1 >
+ % The second or later authors
+ { nameorder.temp "random" =
+ bst.use.nameorder #0 = not and
+ { bst.and.nameorder * t * }
+ { namesleft #1 >
+ % More than one authors left
+ { ", " * t * }
+ % Only one author left
+ { t "others" =
+ { bst.and.others.output * }
+ { numnames #2 =
+ % Entry with two authors
+ { bst.and * t * }
+ { bst.ands * t * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+% remove successive periods (commas) from author
+FUNCTION {remove.ss.period.auth}
+{ 's :=
+ s format.names 'tempa :=
+ bst.author.post 'tempb :=
+ tempb #1 #1 substring$ "}" =
+ { tempa tempb * }
+ { tempa #-1 #1 substring$ tempb #1 #1 substring$ =
+ { tempa tempb #2 global.max$ substring$ * }
+ { tempa tempb * }
+ if$
+ }
+ if$
+}
+
+% <prev name list> <new name list> compare.names <modified name list>
+FUNCTION {compare.names.aer}
+{ 's :=
+ 'tempa :=
+
+% "current.author = " s * "\\" * write$ newline$
+% "prev.author = " tempa * "\\" * write$ newline$
+
+ tempa num.names$ 'len1.aer := % len1 = the number of previous authors
+ s num.names$ 'len2.aer := % len2 = the number of current authors
+
+% len1.aer := min(len1.aer,len2.aer)
+% len1 -> min{ the number of previous authors, the number of current authors }
+ len1.aer len2.aer >
+ { len2.aer 'len1.aer := }
+ { }
+ if$
+
+% start with an empty string, then while the components are the same
+% add "\bysame"
+ ""
+ #1 'i.aer :=
+
+ { i.aer len1.aer > not }
+ { tempa i.aer "{ff }{vv }{ll}{ jj}" format.name$
+ s i.aer "{ff }{vv }{ll}{ jj}" format.name$
+ =
+ { #1 i.aer <
+ { " and " * } % \bysame ã§çœç•¥ã™ã‚‹è‘—者ã®å‰ã«ã¤ã and
+ { }
+ if$
+ "\bysame{}" *
+ i.aer #1 + 'i.aer := }
+ { #-1 'len1.aer := }
+ if$
+ }
+ while$
+
+% add the rest of the second string
+ { i.aer len2.aer > not }
+ { #1 i.aer <
+ { " and " * }
+ { }
+ if$
+ s i.aer "{ff }{vv }{ll}{ jj}" format.name$ *
+ i.aer #1 + 'i.aer :=
+ }
+ while$
+}
+
+%%% author
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { bst.use.bysame #2 =
+ { prev.author.aer author compare.names.aer 's :=
+ author 'prev.author.aer := }
+ { author 's := }
+ if$
+ extra.label.bysame "bysame" =
+ { "\bysame " }
+ { bst.author.pre s remove.ss.period.auth * }
+ if$
+ }
+ if$
+}
+
+%%% editor
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { bst.use.bysame #2 =
+ { prev.author.aer editor compare.names.aer 's :=
+ editor 'prev.author.aer := }
+ { editor 's := }
+ if$
+ extra.label.bysame "bysame" =
+ { "\bysame " }
+ { bst.author.pre s remove.ss.period.auth * }
+ if$
+ s num.names$ #1 >
+ { bst.editors * }
+ { bst.editor * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.authors.alt}
+{ author empty$
+ { "" }
+ { extra.label.bysame "bysame" =
+ {"\bysame "}
+ { bst.author.pre author remove.ss.period.auth * }
+ if$
+ }
+ if$
+}
+
+%%% editor
+FUNCTION {format.editors.alt}
+{ editor empty$
+ { "" }
+ { extra.label.bysame "bysame" =
+ { "\bysame " }
+ { bst.author.pre editor remove.ss.period.auth * }
+ if$
+ editor num.names$ #1 >
+ { bst.editors * }
+ { bst.editor * }
+ if$
+ }
+ if$
+}
+
+%%% format.in.ed.booktitle
+FUNCTION {format.editors.x}
+{ editor empty$
+ { "" }
+ { bst.editor.btitle.order #0 =
+ { "" }
+ { editor num.names$ #1 >
+ { bst.editors " by " * }
+ { bst.editor " by " * }
+ if$
+ }
+ if$
+ editor format.names *
+ bst.editor.btitle.order #0 =
+ { editor num.names$ #1 >
+ { bst.editors * }
+ { bst.editor * }
+ if$
+ }
+ { "" * }
+ if$
+ }
+ if$
+}
+
+%%% Remove commas in the cases like "?." and "?,".
+FUNCTION {remove.irrelevant.period.comma}
+{ 's :=
+ s empty$
+ { "" }
+ { s #-1 #3 substring$ "?,'" =
+ s #-1 #3 substring$ "?.'" = or
+ { s #-3 global.max$ substring$ "'" * }
+ { s #-1 #4 substring$ "?,''" =
+ s #-1 #4 substring$ "?.''" = or
+ { s #-4 global.max$ substring$ "''" * }
+ { s #-1 #2 substring$ "?," =
+ s #-1 #2 substring$ "?." = or
+ { s #-2 global.max$ substring$ "" * }
+ { s #-1 #3 substring$ "?,~" =
+ s #-1 #3 substring$ "?.~" = or
+ { s #-4 global.max$ substring$ "?~" * }
+ 's
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% title
+FUNCTION {format.title.sub}
+{ bst.title.lower.case #0 =
+ { bst.title.pre title * bst.title.post * }
+ { bst.title.pre title "t" change.case$ * bst.title.post * }
+ if$
+}
+
+%%% title
+FUNCTION {format.title}
+{ title empty$
+ bst.hide.title #0 = not or
+ { "" }
+ { format.title.sub remove.irrelevant.period.comma }
+ if$
+}
+
+%%% title for misc.
+FUNCTION {format.misc.title}
+{ title empty$
+ { "" }
+ { bst.title.pre title * bst.title.post * }
+ if$
+}
+
+% Convert "-" to "--" (for pages field)
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ %% while$
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+%%% year
+FUNCTION {format.year}
+{ year empty$
+ { "there's no year in " cite$ * warning$
+ ", " }
+ { type$ "article" =
+ { bst.year.pre year * extra.label * bst.year.post * }
+ { bst.year.na.pre year * extra.label * bst.year.na.post * }
+ if$
+ }
+ if$
+}
+
+%%% page for book
+FUNCTION {format.book.pages}
+{ pages empty$
+ { "" }
+ { bst.pages.pre pages * bst.pages.post * }
+ if$
+}
+
+%%% Attach tie for the string with two or less characters.
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+%%% volume for book
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bst.volume.pre volume * bst.volume.post *
+ series empty$
+ 'skip$
+ %% If there is series field
+ { " of " * series * bst.series.post * }
+ if$
+% "volume and number" number either.or.check
+ }
+ if$
+}
+
+%%% series
+FUNCTION {output.series}
+{ series empty$
+ { "" }
+ { bst.series.pre series * bst.series.post * }
+ if$
+}
+
+%%% number and series
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ bst.hide.month #0 = not or
+ % number is empty
+ { series empty$
+ { "" }
+ % series is not empty.
+ { output.series }
+ if$
+ }
+ % number is not empty$
+ { series empty$
+ { bst.number.pre number * bst.number.post * }
+ % series is not empty.
+ { bst.in bst.series.pre * series * bst.series.post *
+ bst.number.pre * number * bst.number.post * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+%%% Number or not.
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% edition
+
+% Convert edition to 1st, 2nd, 3rd, 4th etc
+FUNCTION {eng.ord}
+{ duplicate$ "1" swap$ *
+ #-2 #1 substring$ "1" =
+ { bst.th * }
+ { duplicate$ #-1 #1 substring$
+ duplicate$ "1" =
+ { pop$ bst.st * }
+ { duplicate$ "2" =
+ { pop$ bst.nd * }
+ { "3" =
+ { bst.rd * }
+ { bst.th * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+% Convert first, second etc in edition field to 1st, 2nd (from jfm.bst)
+FUNCTION {convert.edition}
+{ edition extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bst.first }
+ { s "second" = s "2" = or
+ { bst.second }
+ { s "third" = s "3" = or
+ { bst.third }
+ { s "fourth" = s "4" = or
+ { bst.fourth }
+ { s "fifth" = s "5" = or
+ { bst.fifth }
+ { s #1 #1 substring$ is.num
+ { s eng.ord }
+ { edition }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% edition
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { bst.edition.pre convert.edition "l" change.case$ * bst.edition.post * }
+ { bst.edition.pre convert.edition "t" change.case$ * bst.edition.post * }
+ if$
+ }
+ if$
+}
+
+%%% month
+FUNCTION {format.month}
+{ month empty$
+ bst.hide.month #0 = not or
+ { "" }
+ { bst.month.pre month * bst.month.post * }
+ if$
+}
+
+%%% year and month
+FUNCTION {format.date}
+{ format.month format.year *
+}
+
+%%% Is multiple pages like 1-100?
+FUNCTION { multi.page.check }
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+%%% pages
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { bst.pages.pre pages n.dashify tie.or.space.connect * bst.pages.post }
+ { bst.page.pre pages tie.or.space.connect * bst.page.post }
+ if$
+ }
+ if$
+}
+
+%%% number
+FUNCTION {format.number}
+{ number empty$
+ bst.hide.number #0 = not or
+ { "" }
+ { bst.number.pre number * bst.number.post * }
+ if$
+}
+
+%%% volume
+FUNCTION {format.volume}
+{ volume empty$
+ 'skip$
+ { bst.volume.pre volume * bst.volume.post *
+ bst.year.position #3 =
+ { format.year * }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+%%% number, page
+FUNCTION {format.number.pages}
+{ number empty$
+ { format.pages }
+ { format.number format.pages * }
+ if$
+}
+
+%%% volume, page
+FUNCTION {format.volume.pages}
+{ volume empty$
+ { format.pages }
+ { format.volume format.pages * }
+ if$
+}
+
+%%% volume, number, page
+FUNCTION {format.volume.number.pages}
+{ volume empty$
+ { number empty$
+ { format.pages }
+ { format.number format.pages * }
+ if$
+ }
+ { number empty$
+ { format.volume format.pages * }
+ { format.volume format.number * format.pages * }
+ if$
+ }
+ if$
+}
+
+% volume, number, page
+FUNCTION {format.vol.num.pages}
+{ volume empty$
+ %% volume is empty.
+ { number empty$
+ %% number is empty.
+ { pages empty$
+ % warning
+ { "there is no volume, number, and pages in " cite$ * warning$ "" }
+ { "" format.pages * }
+ if$
+ }
+ %% number is not empty.
+ % warning
+ { "there's a number but no volume in " cite$ * warning$
+ format.number.pages }
+ if$
+ }
+ %% volume is not empty.
+ { number empty$
+ %% number is empty.
+ { format.volume.pages }
+ %% number is not empty.
+ { format.volume.number.pages }
+ if$
+ }
+ if$
+}
+
+%%% chapter
+FUNCTION {format.chapter}
+{ chapter empty$
+ { "" }
+ { type empty$
+ { bst.chapter.pre chapter tie.or.space.connect * bst.chapter.post }
+ { ", " * type " " * chapter * }
+ if$
+ }
+ if$
+}
+
+%%% chapter, pages
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ { pages empty$
+ { "" }
+ { "" format.pages * }
+ if$
+ }
+ { pages empty$
+ { "" format.chapter * }
+ { "" format.chapter * format.pages * }
+ if$
+ }
+ if$
+}
+
+%%% editor and booktitle
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { bst.in format.btitle * }
+ { bst.editor.btitle.order #0 =
+ { bst.in format.editors.x * " " * format.btitle * }
+ { bst.in format.btitle * " " * format.editors.x * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% howpublished
+FUNCTION {format.howpublished}
+{ howpublished empty$
+ { "" }
+ { bst.howpublished.pre howpublished * bst.howpublished.post * }
+ if$
+}
+
+%%% address
+FUNCTION {format.address}
+{ address empty$
+ { "" }
+ { bst.address.pre address * bst.address.post * }
+ if$
+}
+
+%%% publisher
+FUNCTION {format.publisher}
+{ publisher empty$
+ { "" }
+ { bst.publisher.pre publisher * bst.publisher.post * }
+ if$
+}
+
+%%% organization
+FUNCTION {format.organization}
+{ organization empty$
+ { "" }
+ { bst.organization.pre organization * bst.organization.post * }
+ if$
+}
+
+%% publisher and address
+FUNCTION {output.publisher.address}
+{ address empty$
+ { format.publisher "publisher" output.check.nocomma }
+ { bst.address.position #0 =
+ { format.address output.nocomma
+ format.publisher "publisher" output.check.nocomma }
+ { format.publisher "publisher" output.check.nocomma
+ format.address output.nocomma }
+ if$
+ }
+ if$
+}
+
+%% address, organization, publisher
+FUNCTION {output.address.organization.publisher}
+{ address empty$
+ %% address is empty
+ { organization empty$
+ %% organization is empty
+ { publisher empty$
+ 'skip$
+ { format.publisher "publisher" output.check.nocomma }
+ if$
+ }
+ %% organization is not empty
+ { publisher empty$
+ { format.organization "organization" output.check.nocomma }
+ { format.organization "organization" output.check.nocomma
+ format.publisher "publisher" output.check.nocomma }
+ if$
+ }
+ if$
+ }
+ %% address is not empty
+ { organization empty$
+ %% organization is empty
+ { publisher empty$
+ %% publisher is empty
+ { format.address output.nocomma }
+ %% publisher is not empty
+ { bst.address.position #0 =
+ { format.address output.nocomma
+ format.publisher "publisher" output.check.nocomma }
+ { format.publisher "publisher" output.check.nocomma
+ format.address output.nocomma }
+ if$
+ }
+ if$
+ }
+ %% organization is not empty
+ { publisher empty$
+ %% publisher is empty
+ { format.organization "organization" output.check.nocomma
+ format.address output.nocomma }
+ %% publisher is not empty
+ { format.organization "organization" output.check.nocomma
+ bst.address.position #0 =
+ { format.address output.nocomma
+ format.publisher "publisher" output.check.nocomma }
+ { format.publisher "publisher" output.check.nocomma
+ format.address output.nocomma }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% misc
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$ " " type * }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ { " " type * }
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+%%% phdthesis
+FUNCTION {format.phd}
+{ bst.phdthesis }
+
+%%% mastersthesis
+FUNCTION {format.mthesis}
+{ bst.mthesis }
+
+%%% school
+FUNCTION {format.school}
+{ school empty$
+ { "" }
+ { bst.school.pre school * bst.school.post * }
+ if$
+}
+
+%%% institution
+FUNCTION {format.institution}
+{ institution empty$
+ { "" }
+ { bst.institution.pre institution * bst.institution.post * }
+ if$
+}
+
+%%% remove first ? characters.
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.note}
+{ note empty$
+ { "" }
+ { bst.note.pre note * bst.note.post * }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \havarditem
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\harvarditem[" write$
+ alabel write$ % alabel <- abbreviated citation
+ "]{" write$
+ flabel write$ % flabel <- full citation
+ "}{" write$
+ cyear write$
+ % cyear = year
+ "}{" write$
+ cite$ write$ % cite$ -> pusch keyword
+ "}" write$
+ % If number index is on
+ bst.use.number.index #0 =
+ 'skip$
+ { index #1 + 'index :=
+ "" 'preone :=
+ "" 'preten :=
+ bst.number.index.digit "1" =
+ 'skip$
+ { bst.number.index.digit "2" =
+ { "\hskip0.5em" 'preone := }
+ { bst.number.index.digit "3" =
+ { "\hskip1em" 'preone :=
+ "\hskip0.5em" 'preten := }
+ 'skip$
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ newline$
+ before.all 'output.state :=
+ ""
+ % number index
+ bst.use.number.index #0 =
+ 'skip$
+ { index #10 <
+ % Insert spaces according to digit of number index.
+ { preone }
+ { index #100 <
+ { preten }
+ { "" }
+ if$
+ }
+ if$
+ bst.number.index.pre * index int.to.str$ * bst.number.index.post * write$
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% article
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+
+ format.journal "journal" output.check.nocomma
+ bst.year.position #2 =
+ { format.date output.nocomma }
+ 'skip$
+ if$
+ format.vol.num.pages output.nocomma
+
+ bst.year.position #1 =
+ { format.date output.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% book
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check.nocomma }
+ { format.authors output.nonnull.nocomma
+ "author and editor" editor either.or.check
+ }
+ if$
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.book "title" output.check.nocomma
+
+ format.bvolume output.nocomma
+ format.number.series output.nocomma
+ output.publisher.address
+
+ format.edition output.nocomma
+ format.book.pages output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% booklet
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output.nocomma
+ format.year output.nocomma
+ format.misc.title "title" output.check.nocomma
+ format.howpublished output.nocomma
+ format.address output.nocomma
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% inbook
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check.nocomma }
+ { format.authors output.nonnull.nocomma
+ "author and editor" editor either.or.check
+ }
+ if$
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+% format.book remove.pre.comma "title" output.check.nocomma
+ format.book "title" output.check.nocomma
+ format.edition output.nocomma
+
+ format.bvolume output.nocomma
+ format.chapter.pages "chapter and pages" output.check.nocomma
+ format.number.series output.nocomma
+ output.publisher.address
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% incollection
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+
+ format.in.ed.booktitle "booktitle" output.check.nocomma
+ format.bvolume output.nocomma
+ output.address.organization.publisher
+ format.edition output.nocomma
+ format.chapter.pages output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% inproceedings
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+
+ format.in.ed.booktitle "booktitle" output.check.nocomma
+ format.bvolume output.nocomma
+ format.number.series output.nocomma
+ format.pages output.nocomma
+ output.address.organization.publisher
+
+ bst.year.position #0 = not
+ { format.date output.nocomma }
+ { format.month output.nocomma }
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% conference
+
+FUNCTION {conference}
+{ inproceedings }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% manual
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull.nocomma
+ address output.nocomma
+ }
+ if$
+ }
+ { format.authors output.nonnull.nocomma }
+ if$
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.book "title" output.check.nocomma
+ author empty$
+ { organization empty$
+ { format.address new.block.check
+ format.address output.nocomma
+ }
+ 'skip$
+ if$
+ }
+ { output.address.organization.publisher }
+ if$
+ format.edition output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% mastersthesis
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+ format.mthesis format.thesis.type output.nonnull.nocomma
+ format.school "school" output.check.nocomma
+ format.address output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% misc
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.misc.title output.nocomma
+ format.howpublished output.nocomma
+
+ bst.year.position #0 = not
+ { format.date output.nocomma }
+ { format.month output.nocomma }
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+ empty.misc.check
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Online
+
+FUNCTION {online}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.misc.title output.nocomma
+ format.howpublished output.nocomma
+
+ bst.year.position #0 = not
+ { format.date output.nocomma }
+ { format.month output.nocomma }
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+ empty.misc.check
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% phdthesis
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.book "title" output.check.nocomma
+ format.phd
+ format.thesis.type output.nonnull.nocomma
+ format.school "school" output.check.nocomma
+ address empty$
+ 'skip$
+ { format.address output.nocomma }
+ if$
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% proceedings
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output.nocomma }
+ { format.editors output.nonnull.nocomma }
+ if$
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.btitle remove.pre.comma "title" output.check.nocomma
+ format.bvolume output.nocomma
+ format.number.series output.nocomma
+ output.address.organization.publisher
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% techreport
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+ format.tr.number output.nonnull.nocomma
+ format.institution "institution" output.check.nocomma
+ format.address output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% unpublished
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+
+ bst.year.position #0 = not
+ { format.date remove.pre.comma output.nocomma }
+ { month empty$
+ 'skip$
+ { format.month remove.pre.comma output.nocomma }
+ if$
+ }
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note "note" output.check.nocomma
+ fin.entry
+}
+
+FUNCTION {default.type}
+{ misc }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Alias for month names:
+
+MACRO {jan} {"January"}
+MACRO {feb} {"February"}
+MACRO {mar} {"March"}
+MACRO {apr} {"April"}
+MACRO {may} {"May"}
+MACRO {jun} {"June"}
+MACRO {jul} {"July"}
+MACRO {aug} {"August"}
+MACRO {sep} {"September"}
+MACRO {oct} {"October"}
+MACRO {nov} {"November"}
+MACRO {dec} {"December"}
+
+%%% Read entries:
+READ
+
+%%% Variable for remembering the order of citation.
+INTEGERS { order.num }
+FUNCTION {initialize.order.num}
+{
+ #1 'order.num :=
+}
+%%% Initialize a variables
+EXECUTE {initialize.order.num}
+
+%%% Variable for remembering the order of citation.
+FUNCTION {set.order.cited}
+{
+ order.num 'order.cited :=
+ #1 order.num + 'order.num :=
+}
+%%% Iterate for all entries:
+ITERATE {set.order.cited}
+
+%%% check the value of nameorder field.
+FUNCTION {set.nameorder}
+{ nameorder empty$
+ { "" 'nameorder.temp := }
+ { nameorder 'nameorder.temp := }
+ if$
+}
+%%% Iterate for all entries:
+ITERATE {set.nameorder}
+
+%%% Remove symbols and convert to lowercase.
+FUNCTION {sortify}
+{ purify$ "l" change.case$ }
+
+%%% names for sorting
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { ", " * }
+ 'skip$
+ if$
+ s nameptr "{ll}{ f}{ j}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { bst.and.others.output *}
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.names.abb}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames bst.and.others.num <
+ { s sort.format.names }
+ { s #1 "{ll}{ f}{ j}" format.name$ " zz " * }
+ if$
+}
+
+%%% Label for full author name.
+FUNCTION {format.lab.names.full}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { nameorder.temp "random" = bst.use.nameorder #0 = not and
+ { bst.and.nameorder * t * }
+ { ", " * t * }
+ if$
+ }
+ { t "others" =
+ { bst.and.others.output * }
+ { numnames #2 >
+ { nameorder.temp "random" = bst.use.nameorder #0 = not and
+ { bst.cite.and.nameorder * t * }
+ { bst.cite.ands * t * }
+ if$
+ }
+ { nameorder.temp "random" = bst.use.nameorder #0 = not and
+ { bst.cite.and.nameorder * t * }
+ { bst.cite.and * t * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #1 > #1 #2 = and {", eds" *} {} if$
+ numnames #1 = #1 #2 = and {", ed" *} {} if$
+}
+
+%%% laberl for abbreviated author name.
+FUNCTION {format.lab.names.abb}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames bst.and.others.num <
+ % if the number of authors is less than bst.and.others.num, full name.
+ { s format.lab.names.full }
+ % if the number of authors is equal or more than bst.and.others.num, abbreviated name.
+ { s #1 "{ll}" format.name$ bst.and.others.output * }
+ if$
+}
+
+%%% abbreviated author
+FUNCTION {author.key.label.abb}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names.abb }
+ if$
+}
+
+%%% full author
+FUNCTION {author.key.label.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names.full }
+ if$
+}
+
+FUNCTION {format.names.full.wo.and}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ll}{, ff}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { " " * t * }
+ { t "others" =
+ { " " * }
+ { numnames #2 >
+ { " " * t * }
+ { " " * t * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.key.full.wo.and}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.names.full.wo.and }
+ if$
+}
+
+FUNCTION {author.editor.key.full.wo.and}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.names.full.wo.and }
+ if$
+ }
+ { author format.names.full.wo.and }
+ if$
+}
+
+FUNCTION {editor.key.organization.key.full.wo.and}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.names.full.wo.and }
+ if$
+}
+
+FUNCTION {author.key.organization.key.full.wo.and}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.names.full.wo.and }
+ if$
+}
+
+%%% abbreviated author
+FUNCTION {author.editor.key.label.abb}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names.abb }
+ if$
+ }
+ { author format.lab.names.abb }
+ if$
+}
+
+%%% full author
+FUNCTION {author.editor.key.label.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names.full }
+ if$
+ }
+ { author format.lab.names.full }
+ if$
+}
+
+FUNCTION {author.key.organization.label.full}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names.full }
+ if$
+}
+
+FUNCTION {author.key.organization.label.abb}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names.abb }
+ if$
+}
+
+FUNCTION {editor.key.organization.label.full}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names.full }
+ if$
+}
+
+FUNCTION {editor.key.organization.label.abb}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names.abb }
+ if$
+}
+
+%%% Convert numbers: 0->9, 1->8, 2->7,..., 9->0
+FUNCTION {reverse.num}
+{ 's :=
+ s "1" =
+ { "8" 'year.num := }
+ { s "2" =
+ { "7" 'year.num := }
+ { s "3" =
+ { "6" 'year.num := }
+ { s "4" =
+ { "5" 'year.num := }
+ { s "5" =
+ { "4" 'year.num := }
+ { s "6" =
+ { "3" 'year.num := }
+ { s "7" =
+ { "2" 'year.num := }
+ { s "8" =
+ { "1" 'year.num := }
+ { s "9" =
+ { "0" 'year.num := }
+ { s "0" =
+ { "9" 'year.num := }
+ { "9" 'year.num := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ year.num
+}
+
+%%% Convert year (large number -> small number)
+FUNCTION {convert.year}
+{ 't :=
+ bst.reverse.year #0 =
+ { t 'tt := }
+ { t #1 #1 substring$ reverse.num
+ t #2 #1 substring$ reverse.num *
+ t #3 #1 substring$ reverse.num *
+ t #4 #1 substring$ reverse.num * 'tt := }
+ if$
+ tt
+}
+
+%%% cyear
+FUNCTION {calc.cyear}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full.wo.and
+ { type$ "proceedings" =
+ 'editor.key.organization.key.full.wo.and
+ { type$ "manual" =
+ 'author.key.organization.key.full.wo.and
+ 'author.key.full.wo.and
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ year empty$
+ { "2199" 'cyear := }
+ { year 'cyear := }
+ if$
+ year empty$
+ { " " "2199" convert.year * field.or.null * }
+ { " " year convert.year * field.or.null * }
+ if$
+ sortify 'sort.label :=
+ % For debug
+ econ.debug #0 = not
+ { "sort.label = ``\texttt{" write$
+ sort.label write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+ pop$
+}
+
+FUNCTION {calc.sort.label.abb}
+{ author empty$
+ { editor empty$
+ { "" }
+ { editor 's := }
+ if$
+ }
+ { author 's := }
+ if$
+ s sort.format.names.abb 't :=
+ year empty$
+ { t sortify " " * "2199" convert.year * 'sort.label.abb := }
+ { t sortify " " * year convert.year * 'sort.label.abb := }
+ if$
+ econ.debug #0 = not
+ { "sort.label.abb = ``\texttt{" write$
+ sort.label.abb write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+%%% flabel
+FUNCTION {calc.flabel}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label.full
+ { type$ "proceedings" =
+ 'editor.key.organization.label.full
+ { type$ "manual" =
+ 'author.key.organization.label.full
+ 'author.key.label.full
+ if$
+ }
+ if$
+ }
+ if$
+ 'flabel :=
+ % For debug
+ econ.debug #0 = not
+ { "flabel = ``\texttt{" write$
+ flabel write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+%%% alabel
+FUNCTION {calc.alabel}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label.abb
+ { type$ "proceedings" =
+ 'editor.key.organization.label.abb
+ { type$ "manual" =
+ 'author.key.organization.label.abb
+ 'author.key.label.abb
+ if$
+ }
+ if$
+ }
+ if$
+ 'alabel :=
+ % For debug
+ econ.debug #0 = not
+ { "alabel = ``\texttt{" write$
+ alabel write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+%%% title for sorting
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+%%% author for sorting
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+%%% editor for sorting
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+%%% 1,...,9 -> 001,...,009
+%%% 10,...,99 -> 010,...,099
+FUNCTION {add.zero.to.number}
+{ 's :=
+ s text.length$ #1 =
+ { "00" s * }
+ { s text.length$ #2 =
+ { "0" s * }
+ { s }
+ if$
+ }
+ if$
+}
+
+%% entry type
+FUNCTION {bst.sort.entry.type.order}
+{ 'item.type :=
+ item.type "article" =
+ { "01" }
+ { item.type "book" =
+ { "02" }
+ { item.type "booklet" =
+ { "03" }
+ { item.type "comment" =
+ { "04" }
+ { item.type "conference" =
+ { "05" }
+ { item.type "inbook" =
+ { "06" }
+ { item.type "incollection" =
+ { "07" }
+ { item.type "inproceedings" =
+ { "08" }
+ { item.type "manual" =
+ { "09" }
+ { item.type "masterthesis" =
+ { "10" }
+ { item.type "misc" =
+ { "11" }
+ { item.type "phdthesis" =
+ { "12" }
+ { item.type "proceedings" =
+ { "13" }
+ { item.type "techreport" =
+ { "14" }
+ { item.type "unpublished" =
+ { "15" }
+ { "16" }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% Create sort.key$: absorder -> author -> year -> order -> month -> title.
+FUNCTION {presort.one}
+{
+ bst.no.sort #0 = not
+ { order.cited int.to.str$ add.zero.to.number " " * }
+ { "" }
+ if$
+ bst.sort.year #0 = not
+ %% Use year field as the primary sorting key.
+ { year convert.year * }
+ 'skip$
+ if$
+ bst.sort.entry.type #0 = not
+ { type$ bst.sort.entry.type.order * " " * }
+ 'skip$
+ if$
+ absorder empty$
+ { "/// " * }
+ { bst.notuse.absorder.field #0 =
+ { absorder "999" =
+ { "zzz " * }
+ { absorder add.zero.to.number "000" =
+ { "/// " * }
+ { absorder add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ { "/// " * }
+ if$
+ }
+ if$
+ " " *
+ sort.label.abb *
+ " " *
+ type$ "book" = type$ "inbook" = or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ * " " *
+ " "
+ order empty$
+ { "/// " * }
+ { bst.notuse.order.field #0 =
+ { order "999" =
+ { "zzz " * }
+ { order add.zero.to.number "000" =
+ { "/// " * }
+ { order add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ { "/// " * }
+ if$
+ }
+ if$
+ month empty$
+ { * "/// " * }
+ { month "999" =
+ { * month add.zero.to.number * "zzz " * }
+ { month add.zero.to.number "000" =
+ { * month add.zero.to.number * "/// " * }
+ { * month add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ if$
+ title field.or.null sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+ % For debug
+ econ.debug #0 = not
+ { "``\texttt{" write$
+ sort.key$ write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+FUNCTION {presort.two}
+{
+ bst.no.sort #0 = not
+ { order.cited int.to.str$ add.zero.to.number " " * }
+ { "" }
+ if$
+ bst.sort.year #0 = not
+ %% Use year field as the primary sorting key.
+ { year convert.year * }
+ 'skip$
+ if$
+ bst.sort.entry.type #0 = not
+ { type$ bst.sort.entry.type.order * " " * }
+ 'skip$
+ if$
+ absorder empty$
+ { "/// " * }
+ { bst.notuse.absorder.field #0 =
+ { absorder "999" =
+ { "zzz " * }
+ { absorder add.zero.to.number "000" =
+ { "/// " * }
+ { absorder add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ { "/// " * }
+ if$
+ }
+ if$
+ " " * sort.label * " "
+ order empty$
+ { "/// " * }
+ { bst.notuse.order.field #0 =
+ { order "999" =
+ { "zzz " * }
+ { order add.zero.to.number "000" =
+ { "/// " * }
+ { order add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ { "/// " * }
+ if$
+ }
+ if$
+ month empty$
+ { * "/// " * }
+ { month "999" =
+ { * month add.zero.to.number * "zzz " * }
+ { month add.zero.to.number "000" =
+ { * month add.zero.to.number * "/// " * }
+ { * month add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ if$
+ title field.or.null sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+ % For debug
+ econ.debug #0 = not
+ { "``\texttt{" write$
+ sort.key$ write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+%%% Codes for debugging
+FUNCTION {calc.alabel.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of calc.alabel: alabel = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+FUNCTION {calc.flabel.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of calc.flabel: flabel = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+FUNCTION {presort.one.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of presort (1st time): \$sort.key = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {presort.two.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of presort (2nd time): \$sort.key = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {calc.cyear.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of calc.cyear: sort.label = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {calc.sort.label.abb.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of calc.sort.label.abb: sort.label.abb = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+
+%%% alabel
+EXECUTE {calc.alabel.mess}
+ITERATE {calc.alabel}
+
+%%% flabel
+EXECUTE {calc.flabel.mess}
+ITERATE {calc.flabel}
+
+%%% cyear and sort.label
+EXECUTE {calc.cyear.mess}
+ITERATE {calc.cyear}
+
+%%%
+EXECUTE {calc.sort.label.abb.mess}
+ITERATE {calc.sort.label.abb}
+
+%%% Sorting by $sort.key (first time)
+%
+% Sorting is done in two times. This is the first time.
+%
+EXECUTE {presort.one.mess}
+ITERATE {presort.one}
+SORT
+
+FUNCTION {forward.pass}
+{ bst.use.bysame #0 = bst.use.bysame #2 = or
+ % Not use \bysame
+ { last.sort.label sort.label.abb =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label.abb 'last.sort.label :=
+ }
+ if$
+ }
+ % Use \bysame
+ { last.sort.label sort.label.abb =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label.abb 'last.sort.label :=
+ }
+ if$
+ author empty$
+ { editor empty$
+ { "" }
+ 'format.editors.alt
+ if$
+ }
+ 'format.authors.alt
+ if$
+ 'this.author :=
+ % format.names 'this.author :=
+ this.author prev.author =
+ { "bysame" 'extra.label.bysame := }
+ { this.author "" =
+ { "abcxyz" }
+ 'this.author
+ if$
+ 'prev.author :=
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label empty$ not
+ { cyear extra.label * }
+ { cyear "" * }
+ if$
+ "" field.or.null *
+ 'cyear :=
+ extra.label 'next.extra :=
+}
+
+%%% \bysame
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+%%% Sorting by sort.key$ (second time)
+EXECUTE {presort.two.mess}
+ITERATE {presort.two}
+SORT
+
+FUNCTION {reset.prev.author}
+{ "xxyyzz" 'prev.author := }
+
+EXECUTE {reset.prev.author}
+
+FUNCTION {forward.pass.two}
+{ bst.use.bysame #1 =
+ { author empty$
+ { editor empty$
+ { "" }
+ 'format.editors.alt
+ if$
+ }
+ 'format.authors.alt
+ if$
+ 'this.author :=
+ this.author prev.author =
+ { "bysame" 'extra.label.bysame := }
+ { this.author "" =
+ { "abcxyz" }
+ 'this.author
+ if$
+ 'prev.author :=
+ }
+ if$
+ }
+ 'skip$
+ if$
+}
+
+ITERATE {forward.pass.two}
+
+FUNCTION{punctuation}
+{
+ "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" write$ newline$
+ "% This bbl file is created by econ.bst ver." econ.version * write$ newline$
+ "% The latest econ.bst is available at" write$ newline$
+ "% <https://github.com/ShiroTakeda/econ-bst>" write$ newline$ newline$
+}
+
+EXECUTE {punctuation}
+
+FUNCTION {begin.bib}
+{
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ bst.use.bysame #0 =
+ % Not use \bysame.
+ 'skip$
+ % Use \bysame.
+ { "%%% Definition of \bysame" write$ newline$
+ "\ifx\undefined\bysame" write$ newline$
+ "\newcommand{\bysame}{" bst.bysame.definition * "}" *
+ write$ newline$
+ "\fi" write$ newline$ newline$ }
+ if$
+ %% When number index is attached to the beginning of each item.
+ bst.use.number.index #0 =
+ 'skip$
+ { bst.number.index.digit "1" =
+ % one digit.
+ { bst.number.index.bibhang.one }
+ { bst.number.index.digit "2" =
+ % two digits.
+ { bst.number.index.bibhang.ten }
+ % three or more digits.
+ { bst.number.index.bibhang.hund }
+ if$
+ }
+ if$
+ 'hang :=
+ "%%% Redefinition of \bibhang" write$ newline$
+ "\ifx\undefined\bibhang" write$ newline$
+ "\relax" write$ newline$
+ "\else" write$ newline$
+ "\setlength{\bibhang}{"
+ hang * "}" * write$ newline$
+ "\fi" write$ newline$ newline$
+ }
+ if$
+ "\begin{thebibliography}{xxx}" write$ newline$
+
+ %% Initialize the variable `index'.
+ #0 'index :=
+}
+
+FUNCTION {end.bib}
+{ newline$ "\end{thebibliography}" write$ newline$ }
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+EXECUTE {end.bib}
+
+% --------------------
+% Local Variables:
+% fill-column: 78
+% mode: bst
+% End:
diff --git a/biblio/bibtex/contrib/econ-bst/customization/econ-aer.pdf b/biblio/bibtex/contrib/econ-bst/customization/econ-aer.pdf
new file mode 100644
index 0000000000..6bd2af9835
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/customization/econ-aer.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/econ-bst/customization/econ-aer.tex b/biblio/bibtex/contrib/econ-bst/customization/econ-aer.tex
new file mode 100644
index 0000000000..00ba236e95
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/customization/econ-aer.tex
@@ -0,0 +1,55 @@
+%#!pdflatex
+%#BIBTEX bibtex econ-aer
+
+%############################## Main #################################
+\documentclass[10pt]{article}
+
+%% Use natbib.sty
+\usepackage{natbib}
+\usepackage{mathpazo}
+\usepackage{url}
+\usepackage{graphicx}
+\usepackage{color}
+\definecolor{MyBrown}{rgb}{0.3,0,0}
+\definecolor{MyBlue}{rgb}{0,0,0.3}
+\definecolor{MyRed}{rgb}{0.4,0,0.1}
+\definecolor{MyGreen}{rgb}{0,0.4,0}
+\usepackage[bookmarks=true,%
+bookmarksnumbered=true,%
+colorlinks=true,%
+linkcolor=MyBlue,%
+citecolor=MyRed,%
+filecolor=MyBlue,%
+urlcolor=MyGreen%
+]{hyperref}
+
+\setlength{\topmargin}{-20pt}
+\setlength{\textheight}{648pt}
+\setlength{\oddsidemargin}{15pt}
+\setlength{\textwidth}{440pt}
+
+%#####################################################################
+%######################### Document Starts ###########################
+%#####################################################################
+\begin{document}
+
+This document uses ``\verb|econ-aer.bst|''. The style like AER ({\itshape American Economic Review}).
+
+\vspace{1em}
+
+\input{cited-part}
+\nocite{*}
+
+%% bst file:
+\bibliographystyle{econ-aer}
+\bibliography{../econ-example}
+
+\end{document}
+
+%#####################################################################
+%######################### Document Ends #############################
+%#####################################################################
+% --------------------
+% Local Variables:
+% fill-column: 80
+% End:
diff --git a/biblio/bibtex/contrib/econ-bst/customization/econ-b.bst b/biblio/bibtex/contrib/econ-bst/customization/econ-b.bst
new file mode 100644
index 0000000000..bba236ac1d
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/customization/econ-b.bst
@@ -0,0 +1,3544 @@
+%% econ.bst: BibTeX style file for papers in economics.
+%
+% Author: Shiro Takeda
+% Maintainer: Shiro Takeda
+% Copyright (C) 2001-2018 Shiro Takeda
+% First-written: <2007/07/28>
+% Time-stamp: <2018-12-07 18:49:15 st>
+% Version: 2.5
+% Keywords: TeX, BibTeX, bst
+% URL: https://github.com/ShiroTakeda/econ-bst
+
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainer of this work is Shiro Takeda.
+
+%% Main features of econ.bst.
+
+% "econ.bst" is a BibTeX style file for economics. It provids the following
+% features:
+
+% 1) The author-year type citation (you need "natbib.sty" as well).
+% 2) Reference style used in economics papers ("econ.bst" is not a BibTeX style
+% for a specific journal).
+% 3) Highly customizable. You can easily customize reference style as you wish.
+% 4) You can use "certified random order" proposed by Ray â“¡ Robson (2018)
+% (http://dx.doi.org/10.1257/aer.20161492).
+
+% Bug reports, requests and suggestions are welcome.
+
+% For changelogs, see CHANGES.txt file.
+
+% version number
+FUNCTION {econ.version} { "2.5" }
+
+% Debug mode. Non-zero makes debug mode on.
+FUNCTION {econ.debug}
+{ #0 } % Debug mode off (default).
+% { #1 } % Debug mode on.
+
+ENTRY
+ %%% Declaration of field
+ { access address author booktitle chapter doi edition editor howpublished
+ institution journal key month note number organization pages publisher
+ school series title type url volume year
+ % Fields specific to econ.bst
+ order absorder nameorder
+ }
+
+ % Definition of entry variable. The entry variable is a variable which has
+ % different values according to different entries.
+ %% Integer entry variable:
+ { order.cited }
+
+ %% String entry variable
+ { label cyear flabel alabel extra.label sort.label sort.label.abb
+ extra.label.bysame nameorder.temp }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% Functions for customization:
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Use \bysame or not.
+%
+% If set to #0, \bysame is not used.
+% If set to #1, \bysame is used
+% If set to #2, \bysame is used (alternative abbreviation style).
+%
+% Note that integer number is expressed as # + integer in bst file.
+% \bysame is the function that abbreviates succession of the same authors' name by ---.
+%
+% See econ-sample.pdf for details.
+%
+FUNCTION {bst.use.bysame}
+% { #0 } % Not use \bysame
+% { #1 } % -> Use \bysame (default)
+{ #2 } % -> Use \bysame of alternative style.
+
+% The definition of \bysame command.
+%
+FUNCTION {bst.bysame.definition}
+% { "\hskip.3em \leavevmode\rule[.5ex]{3em}{.3pt}\hskip0.5em" } % (default)
+{ "\leavevmode\hbox to\leftmargin{\hrulefill\,\,}" } % If you set #2 to bst.use.bysame, use this.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% The order of fist and last name.
+%
+FUNCTION {bst.author.name}
+{ #0 } % (default)
+% { #1 }
+% { #2 }
+
+% Case of #0: First author -> last-first, other authors -> first-last.
+% Fujita, Masahisa, Paul R. Krugman, and Anthony J. Venables.
+
+% Case of #1: All authors -> last-first
+% Fujita, Masahisa, Krugman, Paul R., and Venables, Anthony J.
+
+% Case of #2: All authors -> first-last
+% Masahisa Fujita, Paul R. Krugman, and Anthony J. Venables.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Abbreviate first name of authors (editors):
+%
+FUNCTION {bst.first.name.initial}
+{ #0 } % #0 -> full letters (default).
+% { #1 } % Non-zero -> initial letter only.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Decapitalize of strings in title field.
+%
+FUNCTION {bst.title.lower.case}
+{ #0 } % If #0, not decapitalize title (default).
+% { #1 } % If non-#0, decapitalize title
+
+% Hide title filed.
+%
+FUNCTION {bst.hide.title}
+{ #0 } % #0 -> Title field is displayed (default)
+% { #1 } % Non-zer -> Title field is hidden
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Hide month.
+%
+FUNCTION {bst.hide.month}
+{ #0 } % #0 -> show month field (default).
+% { #1 } % non-#0 -> hide month field.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Attach number index like plain.bst.
+%
+FUNCTION {bst.use.number.index}
+% { #0 } % Not use number index (default).
+{ #1 } % Non-#0 -> Use number index
+
+% The string before number index:
+%
+FUNCTION {bst.number.index.pre}
+{ "[" } % (default)
+
+% The string after number index. Adjustment is recommended.
+%
+FUNCTION {bst.number.index.post}
+{ "]\hskip1.0em " } % (default)
+
+% Maximum digit of number index:
+% If the number of reference items >= 100, set 3 to this function.
+% If the number of reference items < 100, set 2 to this function.
+% If the number of reference items < 10, set 1 to this function.
+%
+FUNCTION {bst.number.index.digit}
+{ "2" } % (default)
+% { "3" }
+
+% The functions below are used to adjust space and postion. If you use fonts
+% other than computer modern fonts, you had better make adjustments.
+%
+% Setting for bst.number.index.digit = 1:
+FUNCTION {bst.number.index.bibhang.one}
+{ "2.19em" }
+% { "2.05em" } % (default)
+% Setting for bst.number.index.digit = 2:
+FUNCTION {bst.number.index.bibhang.ten}
+{ "2.69em" }
+% { "2.55em" } % (default)
+% Setting for bst.number.index.digit = 3:
+FUNCTION {bst.number.index.bibhang.hund}
+{ "3.19em" }
+% { "3.05em" } % (default).
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Position of "year":
+%
+% You can choose the position of year by this function.
+%
+% If set to #0, year is placed right after "author".
+% If set to non-zero, year is placed at the end (before note field) except for
+% aritcle type entry.
+%
+% In article type entry, the position of year changes according to the
+% following rule:
+%
+% #1 -> year is placed at the end.
+% #2 -> year is placed after journal name in aritcle type entry.
+% #3 -> year is placed after volume in aritcle type entry.
+%
+FUNCTION {bst.year.position}
+% { #0 } % (default).
+{ #1 } % Last place before note.
+% { #2 } % After journal name for aticle type entry.
+% { #3 } % After volume for aticle type entry.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% If 0, references are sorted by old documents -> recent documents. If
+% non-zero, reverse order.
+FUNCTION {bst.reverse.year}
+{ #0 } % Normal order (old -> recent) (default).
+% { #1 } % inverse order (recent -> old)
+
+% If non-zero, sort references by using year field as the primary key
+% (chronological sorting).
+FUNCTION {bst.sort.year}
+{ #0 } % Normal case: year is used as the sorting key next to author (default).
+% { #1 } % year is used as the primary sorting key.
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% If non-zero, references are listed in citation order.
+%
+FUNCTION {bst.no.sort}
+{ #0 } % (default)
+% { #1 } % listed in citation order.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Non-zero -> sort references by entry type (article, book, incollection etc.)
+%
+FUNCTION {bst.sort.entry.type}
+{ #0 } % #0 -> Normal (not sort references by entry type) (default).
+% { #1 } % Non-zero -> sort references by entry type.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% 0 -> use absorder field to sort items. Otherwise, ignore absorder field.
+%
+FUNCTION {bst.notuse.absorder.field}
+{ #0 } % #0 -> Use absorder (default).
+% { #1 } % Non-#0 -> Not use absorder.
+%
+% Order of priority to sort items
+%
+% absorder -> author -> year -> order -> month -> title
+%
+% wehre absorder and order fields are specific to econ.bst.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% 0 -> use order field to sort items. Otherwise, ignore order field.
+% Note: order field is specific to econ.bst.
+FUNCTION {bst.notuse.order.field}
+{ #0 } % #0 -> Use order field (default).
+% { #1 } % Non-#0 -> not use order field.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%% and
+
+%%% String used to separate author names in references.
+%
+% String replaced with _ in "Mr. A _ Mr. B "
+%
+FUNCTION {bst.and}
+{ " \& " }
+% { " and " } % (default)
+
+%%% String used to separate author names in references (more than two authors).
+%
+% String replaced with _ in "Mr. A, Mr. B _ Mr. C"
+%
+FUNCTION {bst.ands}
+{ ", \& " }
+% { ", and " } % (default)
+
+%%% String used to separate author names in citation part.
+%
+% String replaced with _ in "Mr. A _ Mr. B "
+%
+FUNCTION {bst.cite.and}
+{ " \& " }
+% { " and " } % (default)
+
+%%% String used to separate author names in citation part (more than two authors).
+%
+% String replaced with _ in "Mr. A, Mr. B _ Mr. C"
+%
+FUNCTION {bst.cite.ands}
+{ " and " } % (default)
+
+%%% If you want to use random author order for some bibliography entries, set
+% non-zero to this function.
+%
+FUNCTION {bst.use.nameorder}
+{ #1 } % Use random order (default)
+% { #0 } % Not use random order
+
+%%% String used to separate author names in references for the entry of random
+% author order.
+%
+FUNCTION {bst.and.nameorder}
+{ " \textcircled{r} " } % (default)
+
+%%% String used to separate author names in citation part for the entry of
+% random author order
+%
+FUNCTION {bst.cite.and.nameorder}
+{ " \textcircled{r} " } % (default)
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Author names in the citation part are abbreviated by et al. if the number of
+% authors is greater or equal to bst.and.others.num.
+FUNCTION {bst.and.others.num}
+% { #3 } % If the number of authors is greater or equal to three (default).
+{ #4 }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Strings used when abbreviating multiple-authors in citation part.
+FUNCTION {bst.and.others}
+{ " et~al." } % (default)
+
+% Strings used when abbreviating multiple-authors in citation part for entries
+% with random author order.
+FUNCTION {bst.and.others.nameorder}
+{ " \textcircled{r}~al." } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% author
+
+% The string before author:
+%
+FUNCTION {bst.author.pre}
+{ "\textsc{" }
+% { "" } % (default)
+
+% The string after author:
+%
+FUNCTION {bst.author.post}
+{ "}, " }
+% { "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% year
+
+% The string before year only for aritcle type entry.
+%
+FUNCTION {bst.year.pre}
+{ ", \textit{" }
+% { " (" } % (default)
+
+% The string after year only for aritcle type entry.
+%
+FUNCTION {bst.year.post}
+{ "}" }
+% { ") " } % (default)
+
+% The string after year for non-article type entry (book, incollection etc)
+%
+FUNCTION {bst.year.na.pre}
+{ ", \textit{" }
+% { " (" } % (default)
+
+% The string after year for non-article type entry (book, incollection etc)
+%
+FUNCTION {bst.year.na.post}
+{ "}" }
+% { ") " } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% title (except for title in book)
+
+% The string before title:
+%
+FUNCTION {bst.title.pre}
+{ "`" }
+% { "``" } % (default)
+
+% The string after title:
+%
+FUNCTION {bst.title.post}
+{ ".'" }
+% { ",''" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% tile for book:
+
+% The string before book title:
+%
+FUNCTION {bst.book.pre}
+{ " \textit{" } % (default)
+
+% The string after book title:
+%
+FUNCTION {bst.book.post}
+{ "}" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% booktitle
+
+% The string before booktitle:
+%
+FUNCTION {bst.btitle.pre}
+{ " \textit{" } % (default)
+
+% The string after booktitle:
+%
+FUNCTION {bst.btitle.post}
+{ "}" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% journal name
+
+% The string before journal name:
+%
+FUNCTION {bst.journal.pre}
+{ " \textit{" } % (default)
+
+% The string after journal name:
+%
+FUNCTION {bst.journal.post}
+{ "}" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% editor notation:
+
+% The string that indicates multiple editors:
+%
+FUNCTION {bst.editors}
+{ " (eds.) " }
+% { " eds. " } % (default)
+
+% The string that indicates single editor:
+%
+FUNCTION {bst.editor}
+{ " ed. " } % (default)
+
+% Order of editor and booktitle in incollection and inproceedings entries.
+%
+% If set to #0: editors -> booktitle order
+% If set to non-zero: booktitle -> editors order
+%
+FUNCTION {bst.editor.btitle.order}
+{ #0 } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% edition
+
+% The string before edition:
+%
+FUNCTION {bst.edition.pre}
+{ ", " } % (default)
+
+% The string after edition:
+%
+FUNCTION {bst.edition.post}
+{ " edition" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% volume
+
+% The string before volume:
+%
+FUNCTION {bst.volume.pre}
+{ ", \textbf{" }
+% { ", Vol. " } % (default)
+
+% The string after volume:
+%
+FUNCTION {bst.volume.post}
+{ "}" }
+% { "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% number
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Hide number. If non-zero, number is suppressed.
+FUNCTION {bst.hide.number}
+{ #0 } % #0 -> show number field (default)
+% { #1 } % non-#0 -> Hide number field.
+
+% The string before number:
+%
+FUNCTION {bst.number.pre}
+{ " (" }
+% { ", No. " } % (default)
+
+% The string after number:
+%
+FUNCTION {bst.number.post}
+{ ")" }
+% { "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% in
+
+% In
+%
+FUNCTION {bst.in}
+{ " In " }
+% { " in " } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% page
+
+% The string before page (multiple pages):
+%
+FUNCTION {bst.pages.pre}
+{ ", pp." } % (default)
+
+% The string before page:
+%
+FUNCTION {bst.page.pre}
+{ ", p." } % (default)
+
+% The string after page (multiple pages):
+%
+FUNCTION {bst.pages.post}
+{ "" } % (default)
+
+% The string after page:
+%
+FUNCTION {bst.page.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% chapter
+
+% The string before chapter:
+%
+FUNCTION {bst.chapter.pre}
+{ ", Chapter" }
+% { ", Chap." } % (default)
+
+% The string after chapter:
+%
+FUNCTION {bst.chapter.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% month
+
+% The string before month:
+%
+FUNCTION {bst.month.pre}
+{ ", " } % (default)
+
+% The string after month:
+%
+FUNCTION {bst.month.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% address
+% The string before address:
+%
+FUNCTION {bst.address.pre}
+{ ", " } % (default)
+
+% The string after address:
+%
+FUNCTION {bst.address.post}
+{ "" } % (default)
+
+% You can choose the order of address and publisher by this function.
+%
+% If #0, address -> publisher order (the default value).
+% If non-zero, publisher -> address order.
+
+FUNCTION {bst.address.position}
+{ #0 } % Address is placed before publisher (default)
+% { #1 } % Address is placed after publisher
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% publisher
+
+% The string before publisher:
+%
+FUNCTION {bst.publisher.pre}
+{ ": " } % (default)
+
+% The string after publisher:
+%
+FUNCTION {bst.publisher.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% series
+
+% The string before series:
+%
+FUNCTION {bst.series.pre}
+{ ", " } % (default)
+
+% The string after series:
+%
+FUNCTION {bst.series.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% organization
+
+% The string before organization:
+%
+FUNCTION {bst.organization.pre}
+{ ", " } % (default)
+
+% The string after organization:
+%
+FUNCTION {bst.organization.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% school
+
+% The string before school:
+%
+FUNCTION {bst.school.pre}
+{ ", " } % (default)
+
+% The string after school:
+%
+FUNCTION {bst.school.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% institution
+
+% The string before institution:
+%
+FUNCTION {bst.institution.pre}
+{ ", " } % (default)
+
+% The string after institution:
+%
+FUNCTION {bst.institution.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% howpublished
+
+% The string before howpublished:
+%
+FUNCTION {bst.howpublished.pre}
+{ " " } % (default)
+
+% The string after howpublished:
+%
+FUNCTION {bst.howpublished.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% url
+
+% Show or Hide url. If non-zero, url is displayed. Otherwise, url is suppressed.
+FUNCTION {bst.show.url}
+{ #1 } % non-#0 -> Show url field (default)
+% { #0 } % #0 -> Not show url field.
+
+% The string before url:
+%
+FUNCTION {bst.url.pre}
+{ ", URL: \url{" } % (default)
+
+% The string after url:
+%
+FUNCTION {bst.url.post}
+{ "}" } % (default)
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Access
+
+% This setting is valid only if there are "access" field in bib
+% files. The value of access field indicates accessed date for URL.
+
+% The string before access.
+FUNCTION {bst.access.pre}
+% { ", accessed on " } % (default)
+{ " (accessed on " }
+
+% The string after access.
+FUNCTION {bst.access.post}
+% { "" } % (default)
+{ ")" }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% DOI (digital object identifier)
+
+% This setting is valid only if there are "doi" field in bib files.
+
+% Show or Hide DOI. If non-zero, DOI is displayed. Otherwise, DOI is suppressed.
+FUNCTION {bst.show.doi}
+{ #1 } % non-#0 -> Show DOI field (default)
+% { #0 } % #0 -> Not show DOI field.
+
+% The string before DOI:
+%
+FUNCTION {bst.doi.pre}
+{ ", DOI: \href{http://dx.doi.org/" doi * "}{" * } % (default)
+
+% The string after DOI:
+%
+FUNCTION {bst.doi.post}
+{ "}" } % (default)
+
+% How to show URL and DOI fields when both fields exist.
+%
+% #0 -> Both fields are displayed
+% #1 -> Only URL field is displayed
+% #2 -> Only DOI field is displayed
+%
+FUNCTION {bst.url.doi}
+% { #0 } % (default) -> Both fields are displayed
+% { #1 } % -> Only URL field is displayed
+{ #2 } % -> Only DOI field is displayed
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Other functions:
+
+% The string before note.
+FUNCTION {bst.note.pre}
+{ ", " } % (default)
+
+% The string after note.
+FUNCTION {bst.note.post}
+{ "" } % (default)
+
+% The string that represents Technical report:
+%
+FUNCTION {bst.techrep}
+{ " Tech. Rep." } % (default)
+
+% The string that represents master thesis:
+%
+FUNCTION {bst.mthesis}
+{ " Master's thesis" } % (default)
+
+% The string that represents phd thesis:
+%
+FUNCTION {bst.phdthesis}
+{ " Ph.D. dissertation" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% Functions for customization end here:
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION {bst.first}
+{ "1st" }
+
+FUNCTION {bst.second}
+{ "2nd" }
+
+FUNCTION {bst.third}
+{ "3rd" }
+
+FUNCTION {bst.fourth}
+{ "4th" }
+
+FUNCTION {bst.fifth}
+{ "5th" }
+
+FUNCTION {bst.st}
+{ "st" }
+
+FUNCTION {bst.nd}
+{ "nd" }
+
+FUNCTION {bst.rd}
+{ "rd" }
+
+FUNCTION {bst.th}
+{ "th" }
+
+%%%%% memo by Takeda
+
+% "a" 'b := indicates substituting string "a" for variable b.
+
+% Integer number #0, #1,...
+
+%%% Function definition:
+%
+% FUNCTION {name}
+% { 's :=
+%
+% }
+%
+% This is the definition of a function named "name". The function "name" is
+% used in the following way
+%
+% "foo" name
+% "foo" is an argument for the function "name".
+%
+% About the definition of a function with more than two arguments, see the
+% definition of "chop.word".
+
+%%% Declaration of variables:
+
+%% String global variables:
+STRINGS { s t tt }
+STRINGS { year.num }
+STRINGS { preone preten }
+STRINGS { last.sort.label next.extra prev.author prev.author.aer this.author }
+STRINGS { hang }
+STRINGS { item.type }
+STRINGS { tempa tempb }
+
+%% Integer global variables:
+INTEGERS { nameptr namesleft numnames name.num }
+INTEGERS { multiresult }
+INTEGERS { index }
+INTEGERS { len }
+INTEGERS { last.extra.num }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+INTEGERS { last.period.comma }
+INTEGERS { len1.aer len2.aer i.aer }
+
+%%% Definition of functions:
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+%%% Initialize variables:
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+%%% Remove comma and add period:
+%
+%%%
+FUNCTION {add.period.x}
+{ duplicate$
+ #-1 #1 substring$ "," =
+ { #-2 global.max$ substring$ "." * }
+ { duplicate$
+ #-1 #2 substring$ ". " =
+ { #-3 global.max$ substring$ "." * }
+ { duplicate$
+ #-1 #2 substring$ ", " =
+ { #-3 global.max$ substring$ "." * }
+ { duplicate$
+ #-1 #2 substring$ ",'" =
+ { #-3 global.max$ substring$ ".'" * }
+ { duplicate$
+ #-1 #2 substring$ ".'" =
+ { #-3 global.max$ substring$ ".'" * }
+ { duplicate$
+ #-1 #2 substring$ ".~" =
+ { #-3 global.max$ substring$ ".~" * }
+ { duplicate$
+ #-1 #2 substring$ ",~" =
+ { #-3 global.max$ substring$ ".~" * }
+ { duplicate$
+ #-1 #3 substring$ ",''" =
+ { #-4 global.max$ substring$ ".''" * }
+ { duplicate$
+ #-1 #3 substring$ ".''" =
+ { #-4 global.max$ substring$ ".''" * }
+ { add.period$ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ % mid.sentence
+ output.state mid.sentence =
+ { ", " * write$ }
+ % not mid.sentence
+ { output.state after.block =
+ % after.block
+ { add.period.x " " * write$ }
+ % before.all
+ { output.state before.all =
+ 'write$
+ { add.period.x " " * write$ }
+ if$
+ }
+ if$
+ % not mid.sentence, set to mid.sentence
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+%%% If the last character is period or comma, set non-zero to
+%%% last.period.comma.
+FUNCTION {period.comma.p}
+{ duplicate$ 't :=
+ t #-1 #1 substring$ "." =
+ t #-1 #1 substring$ "," = or
+ t #-1 #1 substring$ ":" = or
+ t #-1 #2 substring$ ".'" = or
+ t #-1 #2 substring$ ",'" = or
+ t #-1 #3 substring$ ".''" = or
+ t #-1 #3 substring$ ",''" = or
+ t #-1 #2 substring$ ".~" = or
+ t #-1 #2 substring$ ",~" = or
+ { #1 'last.period.comma := }
+ { #0 'last.period.comma := }
+ if$
+}
+
+%%% remove unnecessary comma.
+FUNCTION {remove.pre.comma}
+{ 's :=
+ s empty$
+ { "" }
+ { s #1 #1 substring$ "," =
+ { s #2 global.max$ substring$ }
+ { s #1 #1 substring$ "." =
+ { s #2 global.max$ substring$ }
+ 's
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% output.nonnull.nocomma is the same as output.nonnull except that it does
+%%% not add commas even in mid.sentence.
+FUNCTION {output.nonnull.nocomma}
+{ 's :=
+ output.state mid.sentence =
+ % mid.sentence
+ { period.comma.p "" * write$ }
+
+ % not mid.sentence
+ { output.state after.block =
+ % after.block
+ { add.period.x " " * write$ }
+ % before.all
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ last.period.comma #0 =
+ { s }
+ { s remove.pre.comma }
+ if$
+}
+
+% Not used in the current econ.bst.
+% FUNCTION {output}
+% { duplicate$ empty$
+% 'pop$
+% 'output.nonnull
+% if$
+% }
+
+FUNCTION {output.nocomma}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull.nocomma
+ if$
+}
+
+% Not used in the current econ.bst.
+% FUNCTION {output.check}
+% { 't :=
+% duplicate$ empty$
+% { pop$ "empty " t * " in " * cite$ * warning$ }
+% 'output.nonnull
+% if$
+% }
+
+FUNCTION {output.check.nocomma}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull.nocomma
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%% Format in bbl file:
+
+% \harvarditem[Brezis et~al.]{Brezis, Krugman and
+% Tsiddon}{1993}{brezis93:_leapf_inter_compet}
+% Brezis, Elise~S., Paul~R. Krugman, and Daniel Tsiddon (1993) ``Leapfrogging in
+% International Competition: A Theory of Cycles in National Technological
+% Leadership.'', {\em American Economic Review.}, Vol.~83. No.~5. pp.
+% 1211--1219.
+
+% \harvarditem[abbreviated citation]{full citation}{year}{keyword} ...
+
+%%% Add period and newline.
+FUNCTION {fin.entry}
+{ add.period.x
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {new.block.check}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+%%% booktitle
+FUNCTION {format.btitle}
+{ booktitle empty$
+ { "" }
+ { bst.btitle.pre booktitle * bst.btitle.post * }
+ if$
+}
+
+%%% journal
+FUNCTION {format.journal}
+{ journal empty$
+ { "" }
+ { bst.journal.pre journal * bst.journal.post * }
+ if$
+}
+
+%%% title for book
+FUNCTION {format.book}
+{ title empty$
+ { "" }
+ { bst.book.pre title * bst.book.post * }
+ if$
+}
+
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { type$ "online" = bst.show.url or
+ { bst.url.pre url * bst.url.post *
+ access empty$
+ { "" * }
+ { bst.access.pre * access * bst.access.post * }
+ if$
+ }
+ { "" }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.doi}
+{ doi empty$ bst.show.doi not or
+ { "" }
+ { bst.doi.pre doi * bst.doi.post * }
+ if$
+}
+
+FUNCTION {format.url.doi}
+{ url empty$
+ { format.doi }
+ { doi empty$
+ { format.url }
+ { bst.url.doi #0 =
+ { format.url output.nocomma
+ format.doi }
+ { bst.url.doi #1 =
+ { format.url }
+ { format.doi }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% and others
+FUNCTION {bst.and.others.output}
+{ nameorder.temp "random" =
+ bst.use.nameorder #0 = not and
+ { bst.and.others.nameorder }
+ { bst.and.others }
+ if$
+}
+
+%%% author and editor
+
+%%% name
+FUNCTION {format.names}
+{ 's :=
+ % insert 1 to nameptr.
+ #1 'nameptr :=
+ % Set the number of authors to numnames.
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ % Repeat if namesleft > 0
+ { namesleft #0 > }
+ { nameptr #1 =
+ % First author
+ { bst.author.name #0 =
+ bst.author.name #1 =
+ or
+ { bst.first.name.initial #0 =
+ { s nameptr "{vv~}{ll}{, ff}{, jj}" format.name$ 't := }
+ { s nameptr "{vv~}{ll}{, f.}{, jj}" format.name$ 't := }
+ if$
+ }
+ { bst.first.name.initial #0 =
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't := }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := }
+ if$
+ }
+ if$
+ }
+ % The second or later authors
+ { bst.author.name #0 =
+ bst.author.name #2 =
+ or
+ { bst.first.name.initial #0 =
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't := }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := }
+ if$
+ }
+ { bst.first.name.initial #0 =
+ { s nameptr "{vv~}{ll}{, ff}{, jj}" format.name$ 't := }
+ { s nameptr "{vv~}{ll}{, f.}{, jj}" format.name$ 't := }
+ if$
+ }
+ if$
+ }
+ if$
+
+ nameptr #1 >
+ % The second or later authors
+ { nameorder.temp "random" =
+ bst.use.nameorder #0 = not and
+ { bst.and.nameorder * t * }
+ { namesleft #1 >
+ % More than one authors left
+ { ", " * t * }
+ % Only one author left
+ { t "others" =
+ { bst.and.others.output * }
+ { numnames #2 =
+ % Entry with two authors
+ { bst.and * t * }
+ { bst.ands * t * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+% remove successive periods (commas) from author
+FUNCTION {remove.ss.period.auth}
+{ 's :=
+ s format.names 'tempa :=
+ bst.author.post 'tempb :=
+ tempb #1 #1 substring$ "}" =
+ { tempa tempb * }
+ { tempa #-1 #1 substring$ tempb #1 #1 substring$ =
+ { tempa tempb #2 global.max$ substring$ * }
+ { tempa tempb * }
+ if$
+ }
+ if$
+}
+
+% <prev name list> <new name list> compare.names <modified name list>
+FUNCTION {compare.names.aer}
+{ 's :=
+ 'tempa :=
+
+% "current.author = " s * "\\" * write$ newline$
+% "prev.author = " tempa * "\\" * write$ newline$
+
+ tempa num.names$ 'len1.aer := % len1 = the number of previous authors
+ s num.names$ 'len2.aer := % len2 = the number of current authors
+
+% len1.aer := min(len1.aer,len2.aer)
+% len1 -> min{ the number of previous authors, the number of current authors }
+ len1.aer len2.aer >
+ { len2.aer 'len1.aer := }
+ { }
+ if$
+
+% start with an empty string, then while the components are the same
+% add "\bysame"
+ ""
+ #1 'i.aer :=
+
+ { i.aer len1.aer > not }
+ { tempa i.aer "{ff }{vv }{ll}{ jj}" format.name$
+ s i.aer "{ff }{vv }{ll}{ jj}" format.name$
+ =
+ { #1 i.aer <
+ { " and " * } % \bysame ã§çœç•¥ã™ã‚‹è‘—者ã®å‰ã«ã¤ã and
+ { }
+ if$
+ "\bysame{}" *
+ i.aer #1 + 'i.aer := }
+ { #-1 'len1.aer := }
+ if$
+ }
+ while$
+
+% add the rest of the second string
+ { i.aer len2.aer > not }
+ { #1 i.aer <
+ { " and " * }
+ { }
+ if$
+ s i.aer "{ff }{vv }{ll}{ jj}" format.name$ *
+ i.aer #1 + 'i.aer :=
+ }
+ while$
+}
+
+%%% author
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { bst.use.bysame #2 =
+ { prev.author.aer author compare.names.aer 's :=
+ author 'prev.author.aer := }
+ { author 's := }
+ if$
+ extra.label.bysame "bysame" =
+ { "\bysame " }
+ { bst.author.pre s remove.ss.period.auth * }
+ if$
+ }
+ if$
+}
+
+%%% editor
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { bst.use.bysame #2 =
+ { prev.author.aer editor compare.names.aer 's :=
+ editor 'prev.author.aer := }
+ { editor 's := }
+ if$
+ extra.label.bysame "bysame" =
+ { "\bysame " }
+ { bst.author.pre s remove.ss.period.auth * }
+ if$
+ s num.names$ #1 >
+ { bst.editors * }
+ { bst.editor * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.authors.alt}
+{ author empty$
+ { "" }
+ { extra.label.bysame "bysame" =
+ {"\bysame "}
+ { bst.author.pre author remove.ss.period.auth * }
+ if$
+ }
+ if$
+}
+
+%%% editor
+FUNCTION {format.editors.alt}
+{ editor empty$
+ { "" }
+ { extra.label.bysame "bysame" =
+ { "\bysame " }
+ { bst.author.pre editor remove.ss.period.auth * }
+ if$
+ editor num.names$ #1 >
+ { bst.editors * }
+ { bst.editor * }
+ if$
+ }
+ if$
+}
+
+%%% format.in.ed.booktitle
+FUNCTION {format.editors.x}
+{ editor empty$
+ { "" }
+ { bst.editor.btitle.order #0 =
+ { "" }
+ { editor num.names$ #1 >
+ { bst.editors " by " * }
+ { bst.editor " by " * }
+ if$
+ }
+ if$
+ editor format.names *
+ bst.editor.btitle.order #0 =
+ { editor num.names$ #1 >
+ { bst.editors * }
+ { bst.editor * }
+ if$
+ }
+ { "" * }
+ if$
+ }
+ if$
+}
+
+%%% Remove commas in the cases like "?." and "?,".
+FUNCTION {remove.irrelevant.period.comma}
+{ 's :=
+ s empty$
+ { "" }
+ { s #-1 #3 substring$ "?,'" =
+ s #-1 #3 substring$ "?.'" = or
+ { s #-3 global.max$ substring$ "'" * }
+ { s #-1 #4 substring$ "?,''" =
+ s #-1 #4 substring$ "?.''" = or
+ { s #-4 global.max$ substring$ "''" * }
+ { s #-1 #2 substring$ "?," =
+ s #-1 #2 substring$ "?." = or
+ { s #-2 global.max$ substring$ "" * }
+ { s #-1 #3 substring$ "?,~" =
+ s #-1 #3 substring$ "?.~" = or
+ { s #-4 global.max$ substring$ "?~" * }
+ 's
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% title
+FUNCTION {format.title.sub}
+{ bst.title.lower.case #0 =
+ { bst.title.pre title * bst.title.post * }
+ { bst.title.pre title "t" change.case$ * bst.title.post * }
+ if$
+}
+
+%%% title
+FUNCTION {format.title}
+{ title empty$
+ bst.hide.title #0 = not or
+ { "" }
+ { format.title.sub remove.irrelevant.period.comma }
+ if$
+}
+
+%%% title for misc.
+FUNCTION {format.misc.title}
+{ title empty$
+ { "" }
+ { bst.title.pre title * bst.title.post * }
+ if$
+}
+
+% Convert "-" to "--" (for pages field)
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ %% while$
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+%%% year
+FUNCTION {format.year}
+{ year empty$
+ { "there's no year in " cite$ * warning$
+ ", " }
+ { type$ "article" =
+ { bst.year.pre year * extra.label * bst.year.post * }
+ { bst.year.na.pre year * extra.label * bst.year.na.post * }
+ if$
+ }
+ if$
+}
+
+%%% page for book
+FUNCTION {format.book.pages}
+{ pages empty$
+ { "" }
+ { bst.pages.pre pages * bst.pages.post * }
+ if$
+}
+
+%%% Attach tie for the string with two or less characters.
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+%%% volume for book
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bst.volume.pre volume * bst.volume.post *
+ series empty$
+ 'skip$
+ %% If there is series field
+ { " of " * series * bst.series.post * }
+ if$
+% "volume and number" number either.or.check
+ }
+ if$
+}
+
+%%% series
+FUNCTION {output.series}
+{ series empty$
+ { "" }
+ { bst.series.pre series * bst.series.post * }
+ if$
+}
+
+%%% number and series
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ bst.hide.month #0 = not or
+ % number is empty
+ { series empty$
+ { "" }
+ % series is not empty.
+ { output.series }
+ if$
+ }
+ % number is not empty$
+ { series empty$
+ { bst.number.pre number * bst.number.post * }
+ % series is not empty.
+ { bst.in bst.series.pre * series * bst.series.post *
+ bst.number.pre * number * bst.number.post * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+%%% Number or not.
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% edition
+
+% Convert edition to 1st, 2nd, 3rd, 4th etc
+FUNCTION {eng.ord}
+{ duplicate$ "1" swap$ *
+ #-2 #1 substring$ "1" =
+ { bst.th * }
+ { duplicate$ #-1 #1 substring$
+ duplicate$ "1" =
+ { pop$ bst.st * }
+ { duplicate$ "2" =
+ { pop$ bst.nd * }
+ { "3" =
+ { bst.rd * }
+ { bst.th * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+% Convert first, second etc in edition field to 1st, 2nd (from jfm.bst)
+FUNCTION {convert.edition}
+{ edition extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bst.first }
+ { s "second" = s "2" = or
+ { bst.second }
+ { s "third" = s "3" = or
+ { bst.third }
+ { s "fourth" = s "4" = or
+ { bst.fourth }
+ { s "fifth" = s "5" = or
+ { bst.fifth }
+ { s #1 #1 substring$ is.num
+ { s eng.ord }
+ { edition }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% edition
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { bst.edition.pre convert.edition "l" change.case$ * bst.edition.post * }
+ { bst.edition.pre convert.edition "t" change.case$ * bst.edition.post * }
+ if$
+ }
+ if$
+}
+
+%%% month
+FUNCTION {format.month}
+{ month empty$
+ bst.hide.month #0 = not or
+ { "" }
+ { bst.month.pre month * bst.month.post * }
+ if$
+}
+
+%%% year and month
+FUNCTION {format.date}
+{ format.month format.year *
+}
+
+%%% Is multiple pages like 1-100?
+FUNCTION { multi.page.check }
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+%%% pages
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { bst.pages.pre pages n.dashify tie.or.space.connect * bst.pages.post }
+ { bst.page.pre pages tie.or.space.connect * bst.page.post }
+ if$
+ }
+ if$
+}
+
+%%% number
+FUNCTION {format.number}
+{ number empty$
+ bst.hide.number #0 = not or
+ { "" }
+ { bst.number.pre number * bst.number.post * }
+ if$
+}
+
+%%% volume
+FUNCTION {format.volume}
+{ volume empty$
+ 'skip$
+ { bst.volume.pre volume * bst.volume.post *
+ bst.year.position #3 =
+ { format.year * }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+%%% number, page
+FUNCTION {format.number.pages}
+{ number empty$
+ { format.pages }
+ { format.number format.pages * }
+ if$
+}
+
+%%% volume, page
+FUNCTION {format.volume.pages}
+{ volume empty$
+ { format.pages }
+ { format.volume format.pages * }
+ if$
+}
+
+%%% volume, number, page
+FUNCTION {format.volume.number.pages}
+{ volume empty$
+ { number empty$
+ { format.pages }
+ { format.number format.pages * }
+ if$
+ }
+ { number empty$
+ { format.volume format.pages * }
+ { format.volume format.number * format.pages * }
+ if$
+ }
+ if$
+}
+
+% volume, number, page
+FUNCTION {format.vol.num.pages}
+{ volume empty$
+ %% volume is empty.
+ { number empty$
+ %% number is empty.
+ { pages empty$
+ % warning
+ { "there is no volume, number, and pages in " cite$ * warning$ "" }
+ { "" format.pages * }
+ if$
+ }
+ %% number is not empty.
+ % warning
+ { "there's a number but no volume in " cite$ * warning$
+ format.number.pages }
+ if$
+ }
+ %% volume is not empty.
+ { number empty$
+ %% number is empty.
+ { format.volume.pages }
+ %% number is not empty.
+ { format.volume.number.pages }
+ if$
+ }
+ if$
+}
+
+%%% chapter
+FUNCTION {format.chapter}
+{ chapter empty$
+ { "" }
+ { type empty$
+ { bst.chapter.pre chapter tie.or.space.connect * bst.chapter.post }
+ { ", " * type " " * chapter * }
+ if$
+ }
+ if$
+}
+
+%%% chapter, pages
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ { pages empty$
+ { "" }
+ { "" format.pages * }
+ if$
+ }
+ { pages empty$
+ { "" format.chapter * }
+ { "" format.chapter * format.pages * }
+ if$
+ }
+ if$
+}
+
+%%% editor and booktitle
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { bst.in format.btitle * }
+ { bst.editor.btitle.order #0 =
+ { bst.in format.editors.x * " " * format.btitle * }
+ { bst.in format.btitle * " " * format.editors.x * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% howpublished
+FUNCTION {format.howpublished}
+{ howpublished empty$
+ { "" }
+ { bst.howpublished.pre howpublished * bst.howpublished.post * }
+ if$
+}
+
+%%% address
+FUNCTION {format.address}
+{ address empty$
+ { "" }
+ { bst.address.pre address * bst.address.post * }
+ if$
+}
+
+%%% publisher
+FUNCTION {format.publisher}
+{ publisher empty$
+ { "" }
+ { bst.publisher.pre publisher * bst.publisher.post * }
+ if$
+}
+
+%%% organization
+FUNCTION {format.organization}
+{ organization empty$
+ { "" }
+ { bst.organization.pre organization * bst.organization.post * }
+ if$
+}
+
+%% publisher and address
+FUNCTION {output.publisher.address}
+{ address empty$
+ { format.publisher "publisher" output.check.nocomma }
+ { bst.address.position #0 =
+ { format.address output.nocomma
+ format.publisher "publisher" output.check.nocomma }
+ { format.publisher "publisher" output.check.nocomma
+ format.address output.nocomma }
+ if$
+ }
+ if$
+}
+
+%% address, organization, publisher
+FUNCTION {output.address.organization.publisher}
+{ address empty$
+ %% address is empty
+ { organization empty$
+ %% organization is empty
+ { publisher empty$
+ 'skip$
+ { format.publisher "publisher" output.check.nocomma }
+ if$
+ }
+ %% organization is not empty
+ { publisher empty$
+ { format.organization "organization" output.check.nocomma }
+ { format.organization "organization" output.check.nocomma
+ format.publisher "publisher" output.check.nocomma }
+ if$
+ }
+ if$
+ }
+ %% address is not empty
+ { organization empty$
+ %% organization is empty
+ { publisher empty$
+ %% publisher is empty
+ { format.address output.nocomma }
+ %% publisher is not empty
+ { bst.address.position #0 =
+ { format.address output.nocomma
+ format.publisher "publisher" output.check.nocomma }
+ { format.publisher "publisher" output.check.nocomma
+ format.address output.nocomma }
+ if$
+ }
+ if$
+ }
+ %% organization is not empty
+ { publisher empty$
+ %% publisher is empty
+ { format.organization "organization" output.check.nocomma
+ format.address output.nocomma }
+ %% publisher is not empty
+ { format.organization "organization" output.check.nocomma
+ bst.address.position #0 =
+ { format.address output.nocomma
+ format.publisher "publisher" output.check.nocomma }
+ { format.publisher "publisher" output.check.nocomma
+ format.address output.nocomma }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% misc
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$ " " type * }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ { " " type * }
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+%%% phdthesis
+FUNCTION {format.phd}
+{ bst.phdthesis }
+
+%%% mastersthesis
+FUNCTION {format.mthesis}
+{ bst.mthesis }
+
+%%% school
+FUNCTION {format.school}
+{ school empty$
+ { "" }
+ { bst.school.pre school * bst.school.post * }
+ if$
+}
+
+%%% institution
+FUNCTION {format.institution}
+{ institution empty$
+ { "" }
+ { bst.institution.pre institution * bst.institution.post * }
+ if$
+}
+
+%%% remove first ? characters.
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.note}
+{ note empty$
+ { "" }
+ { bst.note.pre note * bst.note.post * }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \havarditem
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\harvarditem[" write$
+ alabel write$ % alabel <- abbreviated citation
+ "]{" write$
+ flabel write$ % flabel <- full citation
+ "}{" write$
+ cyear write$
+ % cyear = year
+ "}{" write$
+ cite$ write$ % cite$ -> pusch keyword
+ "}" write$
+ % If number index is on
+ bst.use.number.index #0 =
+ 'skip$
+ { index #1 + 'index :=
+ "" 'preone :=
+ "" 'preten :=
+ bst.number.index.digit "1" =
+ 'skip$
+ { bst.number.index.digit "2" =
+ { "\hskip0.5em" 'preone := }
+ { bst.number.index.digit "3" =
+ { "\hskip1em" 'preone :=
+ "\hskip0.5em" 'preten := }
+ 'skip$
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ newline$
+ before.all 'output.state :=
+ ""
+ % number index
+ bst.use.number.index #0 =
+ 'skip$
+ { index #10 <
+ % Insert spaces according to digit of number index.
+ { preone }
+ { index #100 <
+ { preten }
+ { "" }
+ if$
+ }
+ if$
+ bst.number.index.pre * index int.to.str$ * bst.number.index.post * write$
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% article
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+
+ format.journal "journal" output.check.nocomma
+ bst.year.position #2 =
+ { format.date output.nocomma }
+ 'skip$
+ if$
+ format.vol.num.pages output.nocomma
+
+ bst.year.position #1 =
+ { format.date output.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% book
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check.nocomma }
+ { format.authors output.nonnull.nocomma
+ "author and editor" editor either.or.check
+ }
+ if$
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.book "title" output.check.nocomma
+
+ format.bvolume output.nocomma
+ format.number.series output.nocomma
+ output.publisher.address
+
+ format.edition output.nocomma
+ format.book.pages output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% booklet
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output.nocomma
+ format.year output.nocomma
+ format.misc.title "title" output.check.nocomma
+ format.howpublished output.nocomma
+ format.address output.nocomma
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% inbook
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check.nocomma }
+ { format.authors output.nonnull.nocomma
+ "author and editor" editor either.or.check
+ }
+ if$
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+% format.book remove.pre.comma "title" output.check.nocomma
+ format.book "title" output.check.nocomma
+ format.edition output.nocomma
+
+ format.bvolume output.nocomma
+ format.chapter.pages "chapter and pages" output.check.nocomma
+ format.number.series output.nocomma
+ output.publisher.address
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% incollection
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+
+ format.in.ed.booktitle "booktitle" output.check.nocomma
+ format.bvolume output.nocomma
+ output.address.organization.publisher
+ format.edition output.nocomma
+ format.chapter.pages output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% inproceedings
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+
+ format.in.ed.booktitle "booktitle" output.check.nocomma
+ format.bvolume output.nocomma
+ format.number.series output.nocomma
+ format.pages output.nocomma
+ output.address.organization.publisher
+
+ bst.year.position #0 = not
+ { format.date output.nocomma }
+ { format.month output.nocomma }
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% conference
+
+FUNCTION {conference}
+{ inproceedings }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% manual
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull.nocomma
+ address output.nocomma
+ }
+ if$
+ }
+ { format.authors output.nonnull.nocomma }
+ if$
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.book "title" output.check.nocomma
+ author empty$
+ { organization empty$
+ { format.address new.block.check
+ format.address output.nocomma
+ }
+ 'skip$
+ if$
+ }
+ { output.address.organization.publisher }
+ if$
+ format.edition output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% mastersthesis
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+ format.mthesis format.thesis.type output.nonnull.nocomma
+ format.school "school" output.check.nocomma
+ format.address output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% misc
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.misc.title output.nocomma
+ format.howpublished output.nocomma
+
+ bst.year.position #0 = not
+ { format.date output.nocomma }
+ { format.month output.nocomma }
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+ empty.misc.check
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Online
+
+FUNCTION {online}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.misc.title output.nocomma
+ format.howpublished output.nocomma
+
+ bst.year.position #0 = not
+ { format.date output.nocomma }
+ { format.month output.nocomma }
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+ empty.misc.check
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% phdthesis
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.book "title" output.check.nocomma
+ format.phd
+ format.thesis.type output.nonnull.nocomma
+ format.school "school" output.check.nocomma
+ address empty$
+ 'skip$
+ { format.address output.nocomma }
+ if$
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% proceedings
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output.nocomma }
+ { format.editors output.nonnull.nocomma }
+ if$
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.btitle remove.pre.comma "title" output.check.nocomma
+ format.bvolume output.nocomma
+ format.number.series output.nocomma
+ output.address.organization.publisher
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% techreport
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+ format.tr.number output.nonnull.nocomma
+ format.institution "institution" output.check.nocomma
+ format.address output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% unpublished
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+
+ bst.year.position #0 = not
+ { format.date remove.pre.comma output.nocomma }
+ { month empty$
+ 'skip$
+ { format.month remove.pre.comma output.nocomma }
+ if$
+ }
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note "note" output.check.nocomma
+ fin.entry
+}
+
+FUNCTION {default.type}
+{ misc }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Alias for month names:
+
+MACRO {jan} {"January"}
+MACRO {feb} {"February"}
+MACRO {mar} {"March"}
+MACRO {apr} {"April"}
+MACRO {may} {"May"}
+MACRO {jun} {"June"}
+MACRO {jul} {"July"}
+MACRO {aug} {"August"}
+MACRO {sep} {"September"}
+MACRO {oct} {"October"}
+MACRO {nov} {"November"}
+MACRO {dec} {"December"}
+
+%%% Read entries:
+READ
+
+%%% Variable for remembering the order of citation.
+INTEGERS { order.num }
+FUNCTION {initialize.order.num}
+{
+ #1 'order.num :=
+}
+%%% Initialize a variables
+EXECUTE {initialize.order.num}
+
+%%% Variable for remembering the order of citation.
+FUNCTION {set.order.cited}
+{
+ order.num 'order.cited :=
+ #1 order.num + 'order.num :=
+}
+%%% Iterate for all entries:
+ITERATE {set.order.cited}
+
+%%% check the value of nameorder field.
+FUNCTION {set.nameorder}
+{ nameorder empty$
+ { "" 'nameorder.temp := }
+ { nameorder 'nameorder.temp := }
+ if$
+}
+%%% Iterate for all entries:
+ITERATE {set.nameorder}
+
+%%% Remove symbols and convert to lowercase.
+FUNCTION {sortify}
+{ purify$ "l" change.case$ }
+
+%%% names for sorting
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { ", " * }
+ 'skip$
+ if$
+ s nameptr "{ll}{ f}{ j}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { bst.and.others.output *}
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.names.abb}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames bst.and.others.num <
+ { s sort.format.names }
+ { s #1 "{ll}{ f}{ j}" format.name$ " zz " * }
+ if$
+}
+
+%%% Label for full author name.
+FUNCTION {format.lab.names.full}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { nameorder.temp "random" = bst.use.nameorder #0 = not and
+ { bst.and.nameorder * t * }
+ { ", " * t * }
+ if$
+ }
+ { t "others" =
+ { bst.and.others.output * }
+ { numnames #2 >
+ { nameorder.temp "random" = bst.use.nameorder #0 = not and
+ { bst.cite.and.nameorder * t * }
+ { bst.cite.ands * t * }
+ if$
+ }
+ { nameorder.temp "random" = bst.use.nameorder #0 = not and
+ { bst.cite.and.nameorder * t * }
+ { bst.cite.and * t * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #1 > #1 #2 = and {", eds" *} {} if$
+ numnames #1 = #1 #2 = and {", ed" *} {} if$
+}
+
+%%% laberl for abbreviated author name.
+FUNCTION {format.lab.names.abb}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames bst.and.others.num <
+ % if the number of authors is less than bst.and.others.num, full name.
+ { s format.lab.names.full }
+ % if the number of authors is equal or more than bst.and.others.num, abbreviated name.
+ { s #1 "{ll}" format.name$ bst.and.others.output * }
+ if$
+}
+
+%%% abbreviated author
+FUNCTION {author.key.label.abb}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names.abb }
+ if$
+}
+
+%%% full author
+FUNCTION {author.key.label.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names.full }
+ if$
+}
+
+FUNCTION {format.names.full.wo.and}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ll}{, ff}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { " " * t * }
+ { t "others" =
+ { " " * }
+ { numnames #2 >
+ { " " * t * }
+ { " " * t * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.key.full.wo.and}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.names.full.wo.and }
+ if$
+}
+
+FUNCTION {author.editor.key.full.wo.and}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.names.full.wo.and }
+ if$
+ }
+ { author format.names.full.wo.and }
+ if$
+}
+
+FUNCTION {editor.key.organization.key.full.wo.and}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.names.full.wo.and }
+ if$
+}
+
+FUNCTION {author.key.organization.key.full.wo.and}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.names.full.wo.and }
+ if$
+}
+
+%%% abbreviated author
+FUNCTION {author.editor.key.label.abb}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names.abb }
+ if$
+ }
+ { author format.lab.names.abb }
+ if$
+}
+
+%%% full author
+FUNCTION {author.editor.key.label.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names.full }
+ if$
+ }
+ { author format.lab.names.full }
+ if$
+}
+
+FUNCTION {author.key.organization.label.full}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names.full }
+ if$
+}
+
+FUNCTION {author.key.organization.label.abb}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names.abb }
+ if$
+}
+
+FUNCTION {editor.key.organization.label.full}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names.full }
+ if$
+}
+
+FUNCTION {editor.key.organization.label.abb}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names.abb }
+ if$
+}
+
+%%% Convert numbers: 0->9, 1->8, 2->7,..., 9->0
+FUNCTION {reverse.num}
+{ 's :=
+ s "1" =
+ { "8" 'year.num := }
+ { s "2" =
+ { "7" 'year.num := }
+ { s "3" =
+ { "6" 'year.num := }
+ { s "4" =
+ { "5" 'year.num := }
+ { s "5" =
+ { "4" 'year.num := }
+ { s "6" =
+ { "3" 'year.num := }
+ { s "7" =
+ { "2" 'year.num := }
+ { s "8" =
+ { "1" 'year.num := }
+ { s "9" =
+ { "0" 'year.num := }
+ { s "0" =
+ { "9" 'year.num := }
+ { "9" 'year.num := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ year.num
+}
+
+%%% Convert year (large number -> small number)
+FUNCTION {convert.year}
+{ 't :=
+ bst.reverse.year #0 =
+ { t 'tt := }
+ { t #1 #1 substring$ reverse.num
+ t #2 #1 substring$ reverse.num *
+ t #3 #1 substring$ reverse.num *
+ t #4 #1 substring$ reverse.num * 'tt := }
+ if$
+ tt
+}
+
+%%% cyear
+FUNCTION {calc.cyear}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full.wo.and
+ { type$ "proceedings" =
+ 'editor.key.organization.key.full.wo.and
+ { type$ "manual" =
+ 'author.key.organization.key.full.wo.and
+ 'author.key.full.wo.and
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ year empty$
+ { "2199" 'cyear := }
+ { year 'cyear := }
+ if$
+ year empty$
+ { " " "2199" convert.year * field.or.null * }
+ { " " year convert.year * field.or.null * }
+ if$
+ sortify 'sort.label :=
+ % For debug
+ econ.debug #0 = not
+ { "sort.label = ``\texttt{" write$
+ sort.label write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+ pop$
+}
+
+FUNCTION {calc.sort.label.abb}
+{ author empty$
+ { editor empty$
+ { "" }
+ { editor 's := }
+ if$
+ }
+ { author 's := }
+ if$
+ s sort.format.names.abb 't :=
+ year empty$
+ { t sortify " " * "2199" convert.year * 'sort.label.abb := }
+ { t sortify " " * year convert.year * 'sort.label.abb := }
+ if$
+ econ.debug #0 = not
+ { "sort.label.abb = ``\texttt{" write$
+ sort.label.abb write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+%%% flabel
+FUNCTION {calc.flabel}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label.full
+ { type$ "proceedings" =
+ 'editor.key.organization.label.full
+ { type$ "manual" =
+ 'author.key.organization.label.full
+ 'author.key.label.full
+ if$
+ }
+ if$
+ }
+ if$
+ 'flabel :=
+ % For debug
+ econ.debug #0 = not
+ { "flabel = ``\texttt{" write$
+ flabel write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+%%% alabel
+FUNCTION {calc.alabel}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label.abb
+ { type$ "proceedings" =
+ 'editor.key.organization.label.abb
+ { type$ "manual" =
+ 'author.key.organization.label.abb
+ 'author.key.label.abb
+ if$
+ }
+ if$
+ }
+ if$
+ 'alabel :=
+ % For debug
+ econ.debug #0 = not
+ { "alabel = ``\texttt{" write$
+ alabel write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+%%% title for sorting
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+%%% author for sorting
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+%%% editor for sorting
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+%%% 1,...,9 -> 001,...,009
+%%% 10,...,99 -> 010,...,099
+FUNCTION {add.zero.to.number}
+{ 's :=
+ s text.length$ #1 =
+ { "00" s * }
+ { s text.length$ #2 =
+ { "0" s * }
+ { s }
+ if$
+ }
+ if$
+}
+
+%% entry type
+FUNCTION {bst.sort.entry.type.order}
+{ 'item.type :=
+ item.type "article" =
+ { "01" }
+ { item.type "book" =
+ { "02" }
+ { item.type "booklet" =
+ { "03" }
+ { item.type "comment" =
+ { "04" }
+ { item.type "conference" =
+ { "05" }
+ { item.type "inbook" =
+ { "06" }
+ { item.type "incollection" =
+ { "07" }
+ { item.type "inproceedings" =
+ { "08" }
+ { item.type "manual" =
+ { "09" }
+ { item.type "masterthesis" =
+ { "10" }
+ { item.type "misc" =
+ { "11" }
+ { item.type "phdthesis" =
+ { "12" }
+ { item.type "proceedings" =
+ { "13" }
+ { item.type "techreport" =
+ { "14" }
+ { item.type "unpublished" =
+ { "15" }
+ { "16" }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% Create sort.key$: absorder -> author -> year -> order -> month -> title.
+FUNCTION {presort.one}
+{
+ bst.no.sort #0 = not
+ { order.cited int.to.str$ add.zero.to.number " " * }
+ { "" }
+ if$
+ bst.sort.year #0 = not
+ %% Use year field as the primary sorting key.
+ { year convert.year * }
+ 'skip$
+ if$
+ bst.sort.entry.type #0 = not
+ { type$ bst.sort.entry.type.order * " " * }
+ 'skip$
+ if$
+ absorder empty$
+ { "/// " * }
+ { bst.notuse.absorder.field #0 =
+ { absorder "999" =
+ { "zzz " * }
+ { absorder add.zero.to.number "000" =
+ { "/// " * }
+ { absorder add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ { "/// " * }
+ if$
+ }
+ if$
+ " " *
+ sort.label.abb *
+ " " *
+ type$ "book" = type$ "inbook" = or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ * " " *
+ " "
+ order empty$
+ { "/// " * }
+ { bst.notuse.order.field #0 =
+ { order "999" =
+ { "zzz " * }
+ { order add.zero.to.number "000" =
+ { "/// " * }
+ { order add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ { "/// " * }
+ if$
+ }
+ if$
+ month empty$
+ { * "/// " * }
+ { month "999" =
+ { * month add.zero.to.number * "zzz " * }
+ { month add.zero.to.number "000" =
+ { * month add.zero.to.number * "/// " * }
+ { * month add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ if$
+ title field.or.null sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+ % For debug
+ econ.debug #0 = not
+ { "``\texttt{" write$
+ sort.key$ write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+FUNCTION {presort.two}
+{
+ bst.no.sort #0 = not
+ { order.cited int.to.str$ add.zero.to.number " " * }
+ { "" }
+ if$
+ bst.sort.year #0 = not
+ %% Use year field as the primary sorting key.
+ { year convert.year * }
+ 'skip$
+ if$
+ bst.sort.entry.type #0 = not
+ { type$ bst.sort.entry.type.order * " " * }
+ 'skip$
+ if$
+ absorder empty$
+ { "/// " * }
+ { bst.notuse.absorder.field #0 =
+ { absorder "999" =
+ { "zzz " * }
+ { absorder add.zero.to.number "000" =
+ { "/// " * }
+ { absorder add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ { "/// " * }
+ if$
+ }
+ if$
+ " " * sort.label * " "
+ order empty$
+ { "/// " * }
+ { bst.notuse.order.field #0 =
+ { order "999" =
+ { "zzz " * }
+ { order add.zero.to.number "000" =
+ { "/// " * }
+ { order add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ { "/// " * }
+ if$
+ }
+ if$
+ month empty$
+ { * "/// " * }
+ { month "999" =
+ { * month add.zero.to.number * "zzz " * }
+ { month add.zero.to.number "000" =
+ { * month add.zero.to.number * "/// " * }
+ { * month add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ if$
+ title field.or.null sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+ % For debug
+ econ.debug #0 = not
+ { "``\texttt{" write$
+ sort.key$ write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+%%% Codes for debugging
+FUNCTION {calc.alabel.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of calc.alabel: alabel = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+FUNCTION {calc.flabel.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of calc.flabel: flabel = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+FUNCTION {presort.one.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of presort (1st time): \$sort.key = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {presort.two.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of presort (2nd time): \$sort.key = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {calc.cyear.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of calc.cyear: sort.label = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {calc.sort.label.abb.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of calc.sort.label.abb: sort.label.abb = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+
+%%% alabel
+EXECUTE {calc.alabel.mess}
+ITERATE {calc.alabel}
+
+%%% flabel
+EXECUTE {calc.flabel.mess}
+ITERATE {calc.flabel}
+
+%%% cyear and sort.label
+EXECUTE {calc.cyear.mess}
+ITERATE {calc.cyear}
+
+%%%
+EXECUTE {calc.sort.label.abb.mess}
+ITERATE {calc.sort.label.abb}
+
+%%% Sorting by $sort.key (first time)
+%
+% Sorting is done in two times. This is the first time.
+%
+EXECUTE {presort.one.mess}
+ITERATE {presort.one}
+SORT
+
+FUNCTION {forward.pass}
+{ bst.use.bysame #0 = bst.use.bysame #2 = or
+ % Not use \bysame
+ { last.sort.label sort.label.abb =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label.abb 'last.sort.label :=
+ }
+ if$
+ }
+ % Use \bysame
+ { last.sort.label sort.label.abb =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label.abb 'last.sort.label :=
+ }
+ if$
+ author empty$
+ { editor empty$
+ { "" }
+ 'format.editors.alt
+ if$
+ }
+ 'format.authors.alt
+ if$
+ 'this.author :=
+ % format.names 'this.author :=
+ this.author prev.author =
+ { "bysame" 'extra.label.bysame := }
+ { this.author "" =
+ { "abcxyz" }
+ 'this.author
+ if$
+ 'prev.author :=
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label empty$ not
+ { cyear extra.label * }
+ { cyear "" * }
+ if$
+ "" field.or.null *
+ 'cyear :=
+ extra.label 'next.extra :=
+}
+
+%%% \bysame
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+%%% Sorting by sort.key$ (second time)
+EXECUTE {presort.two.mess}
+ITERATE {presort.two}
+SORT
+
+FUNCTION {reset.prev.author}
+{ "xxyyzz" 'prev.author := }
+
+EXECUTE {reset.prev.author}
+
+FUNCTION {forward.pass.two}
+{ bst.use.bysame #1 =
+ { author empty$
+ { editor empty$
+ { "" }
+ 'format.editors.alt
+ if$
+ }
+ 'format.authors.alt
+ if$
+ 'this.author :=
+ this.author prev.author =
+ { "bysame" 'extra.label.bysame := }
+ { this.author "" =
+ { "abcxyz" }
+ 'this.author
+ if$
+ 'prev.author :=
+ }
+ if$
+ }
+ 'skip$
+ if$
+}
+
+ITERATE {forward.pass.two}
+
+FUNCTION{punctuation}
+{
+ "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" write$ newline$
+ "% This bbl file is created by econ.bst ver." econ.version * write$ newline$
+ "% The latest econ.bst is available at" write$ newline$
+ "% <https://github.com/ShiroTakeda/econ-bst>" write$ newline$ newline$
+}
+
+EXECUTE {punctuation}
+
+FUNCTION {begin.bib}
+{
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ bst.use.bysame #0 =
+ % Not use \bysame.
+ 'skip$
+ % Use \bysame.
+ { "%%% Definition of \bysame" write$ newline$
+ "\ifx\undefined\bysame" write$ newline$
+ "\newcommand{\bysame}{" bst.bysame.definition * "}" *
+ write$ newline$
+ "\fi" write$ newline$ newline$ }
+ if$
+ %% When number index is attached to the beginning of each item.
+ bst.use.number.index #0 =
+ 'skip$
+ { bst.number.index.digit "1" =
+ % one digit.
+ { bst.number.index.bibhang.one }
+ { bst.number.index.digit "2" =
+ % two digits.
+ { bst.number.index.bibhang.ten }
+ % three or more digits.
+ { bst.number.index.bibhang.hund }
+ if$
+ }
+ if$
+ 'hang :=
+ "%%% Redefinition of \bibhang" write$ newline$
+ "\ifx\undefined\bibhang" write$ newline$
+ "\relax" write$ newline$
+ "\else" write$ newline$
+ "\setlength{\bibhang}{"
+ hang * "}" * write$ newline$
+ "\fi" write$ newline$ newline$
+ }
+ if$
+ "\begin{thebibliography}{xxx}" write$ newline$
+
+ %% Initialize the variable `index'.
+ #0 'index :=
+}
+
+FUNCTION {end.bib}
+{ newline$ "\end{thebibliography}" write$ newline$ }
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+EXECUTE {end.bib}
+
+% --------------------
+% Local Variables:
+% fill-column: 78
+% mode: bst
+% End:
diff --git a/biblio/bibtex/contrib/econ-bst/customization/econ-b.pdf b/biblio/bibtex/contrib/econ-bst/customization/econ-b.pdf
new file mode 100644
index 0000000000..e0ebbf3139
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/customization/econ-b.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/econ-bst/customization/econ-b.tex b/biblio/bibtex/contrib/econ-bst/customization/econ-b.tex
new file mode 100644
index 0000000000..8023ef3ccd
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/customization/econ-b.tex
@@ -0,0 +1,55 @@
+%#!pdflatex
+%#BIBTEX bibtex econ-b
+
+%############################## Main #################################
+\documentclass[10pt]{article}
+
+%% Use natbib.sty
+\usepackage{natbib}
+\usepackage{mathpazo}
+\usepackage{url}
+\usepackage{graphicx}
+\usepackage{color}
+\definecolor{MyBrown}{rgb}{0.3,0,0}
+\definecolor{MyBlue}{rgb}{0,0,0.3}
+\definecolor{MyRed}{rgb}{0.4,0,0.1}
+\definecolor{MyGreen}{rgb}{0,0.4,0}
+\usepackage[bookmarks=true,%
+bookmarksnumbered=true,%
+colorlinks=true,%
+linkcolor=MyBlue,%
+citecolor=MyRed,%
+filecolor=MyBlue,%
+urlcolor=MyGreen%
+]{hyperref}
+
+\setlength{\topmargin}{-20pt}
+\setlength{\textheight}{648pt}
+\setlength{\oddsidemargin}{15pt}
+\setlength{\textwidth}{440pt}
+
+%#####################################################################
+%######################### Document Starts ###########################
+%#####################################################################
+\begin{document}
+
+This document uses ``\verb|econ-b.bst|''.
+
+\vspace{1em}
+
+\input{cited-part}
+\nocite{*}
+
+%% bst file:
+\bibliographystyle{econ-b}
+\bibliography{../econ-example}
+
+\end{document}
+
+%#####################################################################
+%######################### Document Ends #############################
+%#####################################################################
+% --------------------
+% Local Variables:
+% fill-column: 80
+% End:
diff --git a/biblio/bibtex/contrib/econ-bst/customization/econ-default.pdf b/biblio/bibtex/contrib/econ-bst/customization/econ-default.pdf
new file mode 100644
index 0000000000..9c740aad58
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/customization/econ-default.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/econ-bst/customization/econ-default.tex b/biblio/bibtex/contrib/econ-bst/customization/econ-default.tex
new file mode 100644
index 0000000000..43dbe40588
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/customization/econ-default.tex
@@ -0,0 +1,58 @@
+%#!pdflatex
+%#BIBTEX bibtex econ-default
+
+%############################## Main #################################
+\documentclass[10pt]{article}
+
+%% Use natbib.sty
+\usepackage[longnamesfirst]{natbib}
+\usepackage{mathpazo}
+\usepackage{url}
+\usepackage{graphicx}
+\usepackage{color}
+\definecolor{MyBrown}{rgb}{0.3,0,0}
+\definecolor{MyBlue}{rgb}{0,0,0.3}
+\definecolor{MyRed}{rgb}{0.4,0,0.1}
+\definecolor{MyGreen}{rgb}{0,0.4,0}
+\usepackage[bookmarks=true,%
+bookmarksnumbered=true,%
+colorlinks=true,%
+linkcolor=MyBlue,%
+citecolor=MyRed,%
+filecolor=MyBlue,%
+pagecolor=MyBlue,%
+urlcolor=MyGreen%
+]{hyperref}
+
+\setlength{\topmargin}{-20pt}
+\setlength{\textheight}{648pt}
+\setlength{\oddsidemargin}{15pt}
+\setlength{\textwidth}{440pt}
+
+%#####################################################################
+%######################### Document Starts ###########################
+%#####################################################################
+\begin{document}
+
+This document uses ``\verb|econ.bst|''.
+
+\vspace{1em}
+
+\input{cited-part}
+\nocite{*}
+
+%% bst file:
+\bibliographystyle{../econ}
+\bibliography{../econ-example}
+
+
+\end{document}
+
+
+%#####################################################################
+%######################### Document Ends #############################
+%#####################################################################
+% --------------------
+% Local Variables:
+% fill-column: 80
+% End:
diff --git a/biblio/bibtex/contrib/econ-bst/customization/econ-econometrica.bst b/biblio/bibtex/contrib/econ-bst/customization/econ-econometrica.bst
new file mode 100644
index 0000000000..89e5c51528
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/customization/econ-econometrica.bst
@@ -0,0 +1,3530 @@
+%% econ.bst: BibTeX style file for papers in economics.
+%
+% Author: Shiro Takeda
+% Maintainer: Shiro Takeda
+% Copyright (C) 2001-2018 Shiro Takeda
+% First-written: <2007/07/28>
+% Time-stamp: <2018-12-07 18:48:59 st>
+% Version: 2.4
+% Keywords: TeX, BibTeX, bst
+% URL: https://github.com/ShiroTakeda/econ-bst
+
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainer of this work is Shiro Takeda.
+
+%% Main features of econ.bst.
+
+% "econ.bst" is a BibTeX style file for economics. It provids the following
+% features:
+
+% 1) The author-year type citation (you need "natbib.sty" as well).
+% 2) Reference style used in economics papers ("econ.bst" is not a BibTeX style
+% for a specific journal).
+% 3) Highly customizable. You can easily customize reference style as you wish.
+% 4) You can use "certified random order" proposed by Ray â“¡ Robson (2018)
+% (http://dx.doi.org/10.1257/aer.20161492).
+
+% Bug reports, requests and suggestions are welcome.
+
+% For changelogs, see CHANGES.txt file.
+
+% version number
+FUNCTION {econ.version} { "2.5" }
+
+% Debug mode. Non-zero makes debug mode on.
+FUNCTION {econ.debug}
+{ #0 } % Debug mode off (default).
+% { #1 } % Debug mode on.
+
+ENTRY
+ %%% Declaration of field
+ { access address author booktitle chapter doi edition editor howpublished
+ institution journal key month note number organization pages publisher
+ school series title type url volume year
+ % Fields specific to econ.bst
+ order absorder nameorder
+ }
+
+ % Definition of entry variable. The entry variable is a variable which has
+ % different values according to different entries.
+ %% Integer entry variable:
+ { order.cited }
+
+ %% String entry variable
+ { label cyear flabel alabel extra.label sort.label sort.label.abb
+ extra.label.bysame nameorder.temp }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% Functions for customization:
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Use \bysame or not.
+%
+% If set to #0, \bysame is not used.
+% If set to #1, \bysame is used
+% If set to #2, \bysame is used (alternative abbreviation style).
+%
+% Note that integer number is expressed as # + integer in bst file.
+% \bysame is the function that abbreviates succession of the same authors' name by ---.
+%
+% See econ-sample.pdf for details.
+%
+FUNCTION {bst.use.bysame}
+% { #0 } % Not use \bysame
+{ #1 } % -> Use \bysame (default)
+% { #2 } % -> Use \bysame of alternative style.
+
+% The definition of \bysame command.
+%
+FUNCTION {bst.bysame.definition}
+{ "\hskip.3em \leavevmode\rule[.5ex]{3em}{.3pt}\hskip0.5em" } % (default)
+% { "\leavevmode\hbox to\leftmargin{\hrulefill\,\,}" } % If you set #2 to bst.use.bysame, use this.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% The order of fist and last name.
+%
+FUNCTION {bst.author.name}
+{ #0 } % (default)
+% { #1 }
+% { #2 }
+
+% Case of #0: First author -> last-first, other authors -> first-last.
+% Fujita, Masahisa, Paul R. Krugman, and Anthony J. Venables.
+
+% Case of #1: All authors -> last-first
+% Fujita, Masahisa, Krugman, Paul R., and Venables, Anthony J.
+
+% Case of #2: All authors -> first-last
+% Masahisa Fujita, Paul R. Krugman, and Anthony J. Venables.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Abbreviate first name of authors (editors):
+%
+FUNCTION {bst.first.name.initial}
+% { #0 } % #0 -> full letters (default).
+{ #1 } % Non-zero -> initial letter only.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Decapitalize of strings in title field.
+%
+FUNCTION {bst.title.lower.case}
+{ #0 } % If #0, not decapitalize title (default).
+% { #1 } % If non-#0, decapitalize title
+
+% Hide title filed.
+%
+FUNCTION {bst.hide.title}
+{ #0 } % #0 -> Title field is displayed (default)
+% { #1 } % Non-zer -> Title field is hidden
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Hide month.
+%
+FUNCTION {bst.hide.month}
+{ #0 } % #0 -> show month field (default).
+% { #1 } % non-#0 -> hide month field.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Attach number index like plain.bst.
+%
+FUNCTION {bst.use.number.index}
+{ #0 } % Not use number index (default).
+% { #1 } % Non-#0 -> Use number index
+
+% The string before number index:
+%
+FUNCTION {bst.number.index.pre}
+{ "[" } % (default)
+
+% The string after number index. Adjustment is recommended.
+%
+FUNCTION {bst.number.index.post}
+{ "]\hskip1.0em " } % (default)
+
+% Maximum digit of number index:
+% If the number of reference items >= 100, set 3 to this function.
+% If the number of reference items < 100, set 2 to this function.
+% If the number of reference items < 10, set 1 to this function.
+%
+FUNCTION {bst.number.index.digit}
+{ "2" } % (default)
+% { "3" }
+
+% The functions below are used to adjust space and postion. If you use fonts
+% other than computer modern fonts, you had better make adjustments.
+%
+% Setting for bst.number.index.digit = 1:
+FUNCTION {bst.number.index.bibhang.one}
+{ "2.05em" } % (default)
+% Setting for bst.number.index.digit = 2:
+FUNCTION {bst.number.index.bibhang.ten}
+{ "2.55em" } % (default)
+% Setting for bst.number.index.digit = 3:
+FUNCTION {bst.number.index.bibhang.hund}
+{ "3.05em" } % (default).
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Position of "year":
+%
+% You can choose the position of year by this function.
+%
+% If set to #0, year is placed right after "author".
+% If set to non-zero, year is placed at the end (before note field) except for
+% aritcle type entry.
+%
+% In article type entry, the position of year changes according to the
+% following rule:
+%
+% #1 -> year is placed at the end.
+% #2 -> year is placed after journal name in aritcle type entry.
+% #3 -> year is placed after volume in aritcle type entry.
+%
+FUNCTION {bst.year.position}
+{ #0 } % (default).
+% { #1 } % Last place before note.
+% { #2 } % After journal name for aticle type entry.
+% { #3 } % After volume for aticle type entry.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% If 0, references are sorted by old documents -> recent documents. If
+% non-zero, reverse order.
+FUNCTION {bst.reverse.year}
+{ #0 } % Normal order (old -> recent) (default).
+% { #1 } % inverse order (recent -> old)
+
+% If non-zero, sort references by using year field as the primary key
+% (chronological sorting).
+FUNCTION {bst.sort.year}
+{ #0 } % Normal case: year is used as the sorting key next to author (default).
+% { #1 } % year is used as the primary sorting key.
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% If non-zero, references are listed in citation order.
+%
+FUNCTION {bst.no.sort}
+{ #0 } % (default)
+% { #1 } % listed in citation order.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Non-zero -> sort references by entry type (article, book, incollection etc.)
+%
+FUNCTION {bst.sort.entry.type}
+{ #0 } % #0 -> Normal (not sort references by entry type) (default).
+% { #1 } % Non-zero -> sort references by entry type.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% 0 -> use absorder field to sort items. Otherwise, ignore absorder field.
+%
+FUNCTION {bst.notuse.absorder.field}
+{ #0 } % #0 -> Use absorder (default).
+% { #1 } % Non-#0 -> Not use absorder.
+%
+% Order of priority to sort items
+%
+% absorder -> author -> year -> order -> month -> title
+%
+% wehre absorder and order fields are specific to econ.bst.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% 0 -> use order field to sort items. Otherwise, ignore order field.
+% Note: order field is specific to econ.bst.
+FUNCTION {bst.notuse.order.field}
+{ #0 } % #0 -> Use order field (default).
+% { #1 } % Non-#0 -> not use order field.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%% and
+
+%%% String used to separate author names in references.
+%
+% String replaced with _ in "Mr. A _ Mr. B "
+%
+FUNCTION {bst.and}
+{ " and " } % (default)
+
+%%% String used to separate author names in references (more than two authors).
+%
+% String replaced with _ in "Mr. A, Mr. B _ Mr. C"
+%
+FUNCTION {bst.ands}
+{ ", and " } % (default)
+
+%%% String used to separate author names in citation part.
+%
+% String replaced with _ in "Mr. A _ Mr. B "
+%
+FUNCTION {bst.cite.and}
+{ " and " } % (default)
+
+%%% String used to separate author names in citation part (more than two authors).
+%
+% String replaced with _ in "Mr. A, Mr. B _ Mr. C"
+%
+FUNCTION {bst.cite.ands}
+{ " and " } % (default)
+
+%%% If you want to use random author order for some bibliography entries, set
+% non-zero to this function.
+%
+FUNCTION {bst.use.nameorder}
+{ #1 } % Use random order (default)
+% { #0 } % Not use random order
+
+%%% String used to separate author names in references for the entry of random
+% author order.
+%
+FUNCTION {bst.and.nameorder}
+{ " \textcircled{r} " } % (default)
+
+%%% String used to separate author names in citation part for the entry of
+% random author order
+%
+FUNCTION {bst.cite.and.nameorder}
+{ " \textcircled{r} " } % (default)
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Author names in the citation part are abbreviated by et al. if the number of
+% authors is greater or equal to bst.and.others.num.
+FUNCTION {bst.and.others.num}
+{ #3 } % If the number of authors is greater or equal to three (default).
+% { #4 }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Strings used when abbreviating multiple-authors in citation part.
+FUNCTION {bst.and.others}
+{ " et~al." } % (default)
+
+% Strings used when abbreviating multiple-authors in citation part for entries
+% with random author order.
+FUNCTION {bst.and.others.nameorder}
+{ " \textcircled{r}~al." } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% author
+
+% The string before author:
+%
+FUNCTION {bst.author.pre}
+{ "\textsc{" }
+% { "" } % (default)
+
+% The string after author:
+%
+FUNCTION {bst.author.post}
+{ "}" }
+% { "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% year
+
+% The string before year only for aritcle type entry.
+%
+FUNCTION {bst.year.pre}
+{ " (" } % (default)
+
+% The string after year only for aritcle type entry.
+%
+FUNCTION {bst.year.post}
+{ "): " }
+% { ") " } % (default)
+
+% The string after year for non-article type entry (book, incollection etc)
+%
+FUNCTION {bst.year.na.pre}
+{ " (" } % (default)
+
+% The string after year for non-article type entry (book, incollection etc)
+%
+FUNCTION {bst.year.na.post}
+{ "): " }
+% { ") " } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% title (except for title in book)
+
+% The string before title:
+%
+FUNCTION {bst.title.pre}
+{ "``" } % (default)
+
+% The string after title:
+%
+FUNCTION {bst.title.post}
+{ ",''" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% tile for book:
+
+% The string before book title:
+%
+FUNCTION {bst.book.pre}
+{ " \textit{" } % (default)
+
+% The string after book title:
+%
+FUNCTION {bst.book.post}
+{ "}" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% booktitle
+
+% The string before booktitle:
+%
+FUNCTION {bst.btitle.pre}
+{ " \textit{" } % (default)
+
+% The string after booktitle:
+%
+FUNCTION {bst.btitle.post}
+{ "}" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% journal name
+
+% The string before journal name:
+%
+FUNCTION {bst.journal.pre}
+{ " \textit{" } % (default)
+
+% The string after journal name:
+%
+FUNCTION {bst.journal.post}
+{ "}" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% editor notation:
+
+% The string that indicates multiple editors:
+%
+FUNCTION {bst.editors}
+{ " eds. " } % (default)
+
+% The string that indicates single editor:
+%
+FUNCTION {bst.editor}
+{ " ed. " } % (default)
+
+% Order of editor and booktitle in incollection and inproceedings entries.
+%
+% If set to #0: editors -> booktitle order
+% If set to non-zero: booktitle -> editors order
+%
+FUNCTION {bst.editor.btitle.order}
+{ #0 } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% edition
+
+% The string before edition:
+%
+FUNCTION {bst.edition.pre}
+{ ", " } % (default)
+
+% The string after edition:
+%
+FUNCTION {bst.edition.post}
+{ " edition" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% volume
+
+% The string before volume:
+%
+FUNCTION {bst.volume.pre}
+{ ", " }
+% { ", Vol. " } % (default)
+
+% The string after volume:
+%
+FUNCTION {bst.volume.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% number
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Hide number. If non-zero, number is suppressed.
+FUNCTION {bst.hide.number}
+{ #0 } % #0 -> show number field (default)
+% { #1 } % non-#0 -> Hide number field.
+
+% The string before number:
+%
+FUNCTION {bst.number.pre}
+{ " (" }
+% { ", No. " } % (default)
+
+% The string after number:
+%
+FUNCTION {bst.number.post}
+{ ")" }
+% { "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% in
+
+% In
+%
+FUNCTION {bst.in}
+{ " in " } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% page
+
+% The string before page (multiple pages):
+%
+FUNCTION {bst.pages.pre}
+{ ", " }
+% { ", pp." } % (default)
+
+% The string before page:
+%
+FUNCTION {bst.page.pre}
+{ ", " }
+% { ", p." } % (default)
+
+% The string after page (multiple pages):
+%
+FUNCTION {bst.pages.post}
+{ "" } % (default)
+
+% The string after page:
+%
+FUNCTION {bst.page.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% chapter
+
+% The string before chapter:
+%
+FUNCTION {bst.chapter.pre}
+{ ", Chap." } % (default)
+
+% The string after chapter:
+%
+FUNCTION {bst.chapter.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% month
+
+% The string before month:
+%
+FUNCTION {bst.month.pre}
+{ ", " } % (default)
+
+% The string after month:
+%
+FUNCTION {bst.month.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% address
+% The string before address:
+%
+FUNCTION {bst.address.pre}
+{ ", " } % (default)
+
+% The string after address:
+%
+FUNCTION {bst.address.post}
+{ "" } % (default)
+
+% You can choose the order of address and publisher by this function.
+%
+% If #0, address -> publisher order (the default value).
+% If non-zero, publisher -> address order.
+
+FUNCTION {bst.address.position}
+{ #0 } % Address is placed before publisher (default)
+% { #1 } % Address is placed after publisher
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% publisher
+
+% The string before publisher:
+%
+FUNCTION {bst.publisher.pre}
+{ ": " } % (default)
+
+% The string after publisher:
+%
+FUNCTION {bst.publisher.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% series
+
+% The string before series:
+%
+FUNCTION {bst.series.pre}
+{ ", " } % (default)
+
+% The string after series:
+%
+FUNCTION {bst.series.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% organization
+
+% The string before organization:
+%
+FUNCTION {bst.organization.pre}
+{ ", " } % (default)
+
+% The string after organization:
+%
+FUNCTION {bst.organization.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% school
+
+% The string before school:
+%
+FUNCTION {bst.school.pre}
+{ ", " } % (default)
+
+% The string after school:
+%
+FUNCTION {bst.school.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% institution
+
+% The string before institution:
+%
+FUNCTION {bst.institution.pre}
+{ ", " } % (default)
+
+% The string after institution:
+%
+FUNCTION {bst.institution.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% howpublished
+
+% The string before howpublished:
+%
+FUNCTION {bst.howpublished.pre}
+{ " " } % (default)
+
+% The string after howpublished:
+%
+FUNCTION {bst.howpublished.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% url
+
+% Show or Hide url. If non-zero, url is displayed. Otherwise, url is suppressed.
+FUNCTION {bst.show.url}
+{ #1 } % non-#0 -> Show url field (default)
+% { #0 } % #0 -> Not show url field.
+
+% The string before url:
+%
+FUNCTION {bst.url.pre}
+{ ", URL: \url{" } % (default)
+
+% The string after url:
+%
+FUNCTION {bst.url.post}
+{ "}" } % (default)
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Access
+
+% This setting is valid only if there are "access" field in bib
+% files. The value of access field indicates accessed date for URL.
+
+% The string before access.
+FUNCTION {bst.access.pre}
+{ ", accessed on " } % (default)
+
+% The string after access.
+FUNCTION {bst.access.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% DOI (digital object identifier)
+
+% This setting is valid only if there are "doi" field in bib files.
+
+% Show or Hide DOI. If non-zero, DOI is displayed. Otherwise, DOI is suppressed.
+FUNCTION {bst.show.doi}
+{ #1 } % non-#0 -> Show DOI field (default)
+% { #0 } % #0 -> Not show DOI field.
+
+% The string before DOI:
+%
+FUNCTION {bst.doi.pre}
+{ ", DOI: \href{http://dx.doi.org/" doi * "}{" * } % (default)
+
+% The string after DOI:
+%
+FUNCTION {bst.doi.post}
+{ "}" } % (default)
+
+% How to show URL and DOI fields when both fields exist.
+%
+% #0 -> Both fields are displayed
+% #1 -> Only URL field is displayed
+% #2 -> Only DOI field is displayed
+%
+FUNCTION {bst.url.doi}
+% { #0 } % (default) -> Both fields are displayed
+% { #1 } % -> Only URL field is displayed
+{ #2 } % -> Only DOI field is displayed
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Other functions:
+
+% The string before note.
+FUNCTION {bst.note.pre}
+{ ", " } % (default)
+
+% The string after note.
+FUNCTION {bst.note.post}
+{ "" } % (default)
+
+% The string that represents Technical report:
+%
+FUNCTION {bst.techrep}
+{ " Tech. Rep." } % (default)
+
+% The string that represents master thesis:
+%
+FUNCTION {bst.mthesis}
+{ " Master's thesis" } % (default)
+
+% The string that represents phd thesis:
+%
+FUNCTION {bst.phdthesis}
+{ " Ph.D. dissertation" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% Functions for customization end here:
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION {bst.first}
+{ "1st" }
+
+FUNCTION {bst.second}
+{ "2nd" }
+
+FUNCTION {bst.third}
+{ "3rd" }
+
+FUNCTION {bst.fourth}
+{ "4th" }
+
+FUNCTION {bst.fifth}
+{ "5th" }
+
+FUNCTION {bst.st}
+{ "st" }
+
+FUNCTION {bst.nd}
+{ "nd" }
+
+FUNCTION {bst.rd}
+{ "rd" }
+
+FUNCTION {bst.th}
+{ "th" }
+
+%%%%% memo by Takeda
+
+% "a" 'b := indicates substituting string "a" for variable b.
+
+% Integer number #0, #1,...
+
+%%% Function definition:
+%
+% FUNCTION {name}
+% { 's :=
+%
+% }
+%
+% This is the definition of a function named "name". The function "name" is
+% used in the following way
+%
+% "foo" name
+% "foo" is an argument for the function "name".
+%
+% About the definition of a function with more than two arguments, see the
+% definition of "chop.word".
+
+%%% Declaration of variables:
+
+%% String global variables:
+STRINGS { s t tt }
+STRINGS { year.num }
+STRINGS { preone preten }
+STRINGS { last.sort.label next.extra prev.author prev.author.aer this.author }
+STRINGS { hang }
+STRINGS { item.type }
+STRINGS { tempa tempb }
+
+%% Integer global variables:
+INTEGERS { nameptr namesleft numnames name.num }
+INTEGERS { multiresult }
+INTEGERS { index }
+INTEGERS { len }
+INTEGERS { last.extra.num }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+INTEGERS { last.period.comma }
+INTEGERS { len1.aer len2.aer i.aer }
+
+%%% Definition of functions:
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+%%% Initialize variables:
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+%%% Remove comma and add period:
+%
+%%%
+FUNCTION {add.period.x}
+{ duplicate$
+ #-1 #1 substring$ "," =
+ { #-2 global.max$ substring$ "." * }
+ { duplicate$
+ #-1 #2 substring$ ". " =
+ { #-3 global.max$ substring$ "." * }
+ { duplicate$
+ #-1 #2 substring$ ", " =
+ { #-3 global.max$ substring$ "." * }
+ { duplicate$
+ #-1 #2 substring$ ",'" =
+ { #-3 global.max$ substring$ ".'" * }
+ { duplicate$
+ #-1 #2 substring$ ".'" =
+ { #-3 global.max$ substring$ ".'" * }
+ { duplicate$
+ #-1 #2 substring$ ".~" =
+ { #-3 global.max$ substring$ ".~" * }
+ { duplicate$
+ #-1 #2 substring$ ",~" =
+ { #-3 global.max$ substring$ ".~" * }
+ { duplicate$
+ #-1 #3 substring$ ",''" =
+ { #-4 global.max$ substring$ ".''" * }
+ { duplicate$
+ #-1 #3 substring$ ".''" =
+ { #-4 global.max$ substring$ ".''" * }
+ { add.period$ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ % mid.sentence
+ output.state mid.sentence =
+ { ", " * write$ }
+ % not mid.sentence
+ { output.state after.block =
+ % after.block
+ { add.period.x " " * write$ }
+ % before.all
+ { output.state before.all =
+ 'write$
+ { add.period.x " " * write$ }
+ if$
+ }
+ if$
+ % not mid.sentence, set to mid.sentence
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+%%% If the last character is period or comma, set non-zero to
+%%% last.period.comma.
+FUNCTION {period.comma.p}
+{ duplicate$ 't :=
+ t #-1 #1 substring$ "." =
+ t #-1 #1 substring$ "," = or
+ t #-1 #1 substring$ ":" = or
+ t #-1 #2 substring$ ".'" = or
+ t #-1 #2 substring$ ",'" = or
+ t #-1 #3 substring$ ".''" = or
+ t #-1 #3 substring$ ",''" = or
+ t #-1 #2 substring$ ".~" = or
+ t #-1 #2 substring$ ",~" = or
+ { #1 'last.period.comma := }
+ { #0 'last.period.comma := }
+ if$
+}
+
+%%% remove unnecessary comma.
+FUNCTION {remove.pre.comma}
+{ 's :=
+ s empty$
+ { "" }
+ { s #1 #1 substring$ "," =
+ { s #2 global.max$ substring$ }
+ { s #1 #1 substring$ "." =
+ { s #2 global.max$ substring$ }
+ 's
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% output.nonnull.nocomma is the same as output.nonnull except that it does
+%%% not add commas even in mid.sentence.
+FUNCTION {output.nonnull.nocomma}
+{ 's :=
+ output.state mid.sentence =
+ % mid.sentence
+ { period.comma.p "" * write$ }
+
+ % not mid.sentence
+ { output.state after.block =
+ % after.block
+ { add.period.x " " * write$ }
+ % before.all
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ last.period.comma #0 =
+ { s }
+ { s remove.pre.comma }
+ if$
+}
+
+% Not used in the current econ.bst.
+% FUNCTION {output}
+% { duplicate$ empty$
+% 'pop$
+% 'output.nonnull
+% if$
+% }
+
+FUNCTION {output.nocomma}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull.nocomma
+ if$
+}
+
+% Not used in the current econ.bst.
+% FUNCTION {output.check}
+% { 't :=
+% duplicate$ empty$
+% { pop$ "empty " t * " in " * cite$ * warning$ }
+% 'output.nonnull
+% if$
+% }
+
+FUNCTION {output.check.nocomma}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull.nocomma
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%% Format in bbl file:
+
+% \harvarditem[Brezis et~al.]{Brezis, Krugman and
+% Tsiddon}{1993}{brezis93:_leapf_inter_compet}
+% Brezis, Elise~S., Paul~R. Krugman, and Daniel Tsiddon (1993) ``Leapfrogging in
+% International Competition: A Theory of Cycles in National Technological
+% Leadership.'', {\em American Economic Review.}, Vol.~83. No.~5. pp.
+% 1211--1219.
+
+% \harvarditem[abbreviated citation]{full citation}{year}{keyword} ...
+
+%%% Add period and newline.
+FUNCTION {fin.entry}
+{ add.period.x
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {new.block.check}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+%%% booktitle
+FUNCTION {format.btitle}
+{ booktitle empty$
+ { "" }
+ { bst.btitle.pre booktitle * bst.btitle.post * }
+ if$
+}
+
+%%% journal
+FUNCTION {format.journal}
+{ journal empty$
+ { "" }
+ { bst.journal.pre journal * bst.journal.post * }
+ if$
+}
+
+%%% title for book
+FUNCTION {format.book}
+{ title empty$
+ { "" }
+ { bst.book.pre title * bst.book.post * }
+ if$
+}
+
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { type$ "online" = bst.show.url or
+ { bst.url.pre url * bst.url.post *
+ access empty$
+ { "" * }
+ { bst.access.pre * access * bst.access.post * }
+ if$
+ }
+ { "" }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.doi}
+{ doi empty$ bst.show.doi not or
+ { "" }
+ { bst.doi.pre doi * bst.doi.post * }
+ if$
+}
+
+FUNCTION {format.url.doi}
+{ url empty$
+ { format.doi }
+ { doi empty$
+ { format.url }
+ { bst.url.doi #0 =
+ { format.url output.nocomma
+ format.doi }
+ { bst.url.doi #1 =
+ { format.url }
+ { format.doi }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% and others
+FUNCTION {bst.and.others.output}
+{ nameorder.temp "random" =
+ bst.use.nameorder #0 = not and
+ { bst.and.others.nameorder }
+ { bst.and.others }
+ if$
+}
+
+%%% author and editor
+
+%%% name
+FUNCTION {format.names}
+{ 's :=
+ % insert 1 to nameptr.
+ #1 'nameptr :=
+ % Set the number of authors to numnames.
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ % Repeat if namesleft > 0
+ { namesleft #0 > }
+ { nameptr #1 =
+ % First author
+ { bst.author.name #0 =
+ bst.author.name #1 =
+ or
+ { bst.first.name.initial #0 =
+ { s nameptr "{vv~}{ll}{, ff}{, jj}" format.name$ 't := }
+ { s nameptr "{vv~}{ll}{, f.}{, jj}" format.name$ 't := }
+ if$
+ }
+ { bst.first.name.initial #0 =
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't := }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := }
+ if$
+ }
+ if$
+ }
+ % The second or later authors
+ { bst.author.name #0 =
+ bst.author.name #2 =
+ or
+ { bst.first.name.initial #0 =
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't := }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := }
+ if$
+ }
+ { bst.first.name.initial #0 =
+ { s nameptr "{vv~}{ll}{, ff}{, jj}" format.name$ 't := }
+ { s nameptr "{vv~}{ll}{, f.}{, jj}" format.name$ 't := }
+ if$
+ }
+ if$
+ }
+ if$
+
+ nameptr #1 >
+ % The second or later authors
+ { nameorder.temp "random" =
+ bst.use.nameorder #0 = not and
+ { bst.and.nameorder * t * }
+ { namesleft #1 >
+ % More than one authors left
+ { ", " * t * }
+ % Only one author left
+ { t "others" =
+ { bst.and.others.output * }
+ { numnames #2 =
+ % Entry with two authors
+ { bst.and * t * }
+ { bst.ands * t * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+% remove successive periods (commas) from author
+FUNCTION {remove.ss.period.auth}
+{ 's :=
+ s format.names 'tempa :=
+ bst.author.post 'tempb :=
+ tempb #1 #1 substring$ "}" =
+ { tempa tempb * }
+ { tempa #-1 #1 substring$ tempb #1 #1 substring$ =
+ { tempa tempb #2 global.max$ substring$ * }
+ { tempa tempb * }
+ if$
+ }
+ if$
+}
+
+% <prev name list> <new name list> compare.names <modified name list>
+FUNCTION {compare.names.aer}
+{ 's :=
+ 'tempa :=
+
+% "current.author = " s * "\\" * write$ newline$
+% "prev.author = " tempa * "\\" * write$ newline$
+
+ tempa num.names$ 'len1.aer := % len1 = the number of previous authors
+ s num.names$ 'len2.aer := % len2 = the number of current authors
+
+% len1.aer := min(len1.aer,len2.aer)
+% len1 -> min{ the number of previous authors, the number of current authors }
+ len1.aer len2.aer >
+ { len2.aer 'len1.aer := }
+ { }
+ if$
+
+% start with an empty string, then while the components are the same
+% add "\bysame"
+ ""
+ #1 'i.aer :=
+
+ { i.aer len1.aer > not }
+ { tempa i.aer "{ff }{vv }{ll}{ jj}" format.name$
+ s i.aer "{ff }{vv }{ll}{ jj}" format.name$
+ =
+ { #1 i.aer <
+ { " and " * } % \bysame ã§çœç•¥ã™ã‚‹è‘—者ã®å‰ã«ã¤ã and
+ { }
+ if$
+ "\bysame{}" *
+ i.aer #1 + 'i.aer := }
+ { #-1 'len1.aer := }
+ if$
+ }
+ while$
+
+% add the rest of the second string
+ { i.aer len2.aer > not }
+ { #1 i.aer <
+ { " and " * }
+ { }
+ if$
+ s i.aer "{ff }{vv }{ll}{ jj}" format.name$ *
+ i.aer #1 + 'i.aer :=
+ }
+ while$
+}
+
+%%% author
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { bst.use.bysame #2 =
+ { prev.author.aer author compare.names.aer 's :=
+ author 'prev.author.aer := }
+ { author 's := }
+ if$
+ extra.label.bysame "bysame" =
+ { "\bysame " }
+ { bst.author.pre s remove.ss.period.auth * }
+ if$
+ }
+ if$
+}
+
+%%% editor
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { bst.use.bysame #2 =
+ { prev.author.aer editor compare.names.aer 's :=
+ editor 'prev.author.aer := }
+ { editor 's := }
+ if$
+ extra.label.bysame "bysame" =
+ { "\bysame " }
+ { bst.author.pre s remove.ss.period.auth * }
+ if$
+ s num.names$ #1 >
+ { bst.editors * }
+ { bst.editor * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.authors.alt}
+{ author empty$
+ { "" }
+ { extra.label.bysame "bysame" =
+ {"\bysame "}
+ { bst.author.pre author remove.ss.period.auth * }
+ if$
+ }
+ if$
+}
+
+%%% editor
+FUNCTION {format.editors.alt}
+{ editor empty$
+ { "" }
+ { extra.label.bysame "bysame" =
+ { "\bysame " }
+ { bst.author.pre editor remove.ss.period.auth * }
+ if$
+ editor num.names$ #1 >
+ { bst.editors * }
+ { bst.editor * }
+ if$
+ }
+ if$
+}
+
+%%% format.in.ed.booktitle
+FUNCTION {format.editors.x}
+{ editor empty$
+ { "" }
+ { bst.editor.btitle.order #0 =
+ { "" }
+ { editor num.names$ #1 >
+ { bst.editors " by " * }
+ { bst.editor " by " * }
+ if$
+ }
+ if$
+ editor format.names *
+ bst.editor.btitle.order #0 =
+ { editor num.names$ #1 >
+ { bst.editors * }
+ { bst.editor * }
+ if$
+ }
+ { "" * }
+ if$
+ }
+ if$
+}
+
+%%% Remove commas in the cases like "?." and "?,".
+FUNCTION {remove.irrelevant.period.comma}
+{ 's :=
+ s empty$
+ { "" }
+ { s #-1 #3 substring$ "?,'" =
+ s #-1 #3 substring$ "?.'" = or
+ { s #-3 global.max$ substring$ "'" * }
+ { s #-1 #4 substring$ "?,''" =
+ s #-1 #4 substring$ "?.''" = or
+ { s #-4 global.max$ substring$ "''" * }
+ { s #-1 #2 substring$ "?," =
+ s #-1 #2 substring$ "?." = or
+ { s #-2 global.max$ substring$ "" * }
+ { s #-1 #3 substring$ "?,~" =
+ s #-1 #3 substring$ "?.~" = or
+ { s #-4 global.max$ substring$ "?~" * }
+ 's
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% title
+FUNCTION {format.title.sub}
+{ bst.title.lower.case #0 =
+ { bst.title.pre title * bst.title.post * }
+ { bst.title.pre title "t" change.case$ * bst.title.post * }
+ if$
+}
+
+%%% title
+FUNCTION {format.title}
+{ title empty$
+ bst.hide.title #0 = not or
+ { "" }
+ { format.title.sub remove.irrelevant.period.comma }
+ if$
+}
+
+%%% title for misc.
+FUNCTION {format.misc.title}
+{ title empty$
+ { "" }
+ { bst.title.pre title * bst.title.post * }
+ if$
+}
+
+% Convert "-" to "--" (for pages field)
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ %% while$
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+%%% year
+FUNCTION {format.year}
+{ year empty$
+ { "there's no year in " cite$ * warning$
+ ", " }
+ { type$ "article" =
+ { bst.year.pre year * extra.label * bst.year.post * }
+ { bst.year.na.pre year * extra.label * bst.year.na.post * }
+ if$
+ }
+ if$
+}
+
+%%% page for book
+FUNCTION {format.book.pages}
+{ pages empty$
+ { "" }
+ { bst.pages.pre pages * bst.pages.post * }
+ if$
+}
+
+%%% Attach tie for the string with two or less characters.
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+%%% volume for book
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bst.volume.pre volume * bst.volume.post *
+ series empty$
+ 'skip$
+ %% If there is series field
+ { " of " * series * bst.series.post * }
+ if$
+% "volume and number" number either.or.check
+ }
+ if$
+}
+
+%%% series
+FUNCTION {output.series}
+{ series empty$
+ { "" }
+ { bst.series.pre series * bst.series.post * }
+ if$
+}
+
+%%% number and series
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ bst.hide.month #0 = not or
+ % number is empty
+ { series empty$
+ { "" }
+ % series is not empty.
+ { output.series }
+ if$
+ }
+ % number is not empty$
+ { series empty$
+ { bst.number.pre number * bst.number.post * }
+ % series is not empty.
+ { bst.in bst.series.pre * series * bst.series.post *
+ bst.number.pre * number * bst.number.post * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+%%% Number or not.
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% edition
+
+% Convert edition to 1st, 2nd, 3rd, 4th etc
+FUNCTION {eng.ord}
+{ duplicate$ "1" swap$ *
+ #-2 #1 substring$ "1" =
+ { bst.th * }
+ { duplicate$ #-1 #1 substring$
+ duplicate$ "1" =
+ { pop$ bst.st * }
+ { duplicate$ "2" =
+ { pop$ bst.nd * }
+ { "3" =
+ { bst.rd * }
+ { bst.th * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+% Convert first, second etc in edition field to 1st, 2nd (from jfm.bst)
+FUNCTION {convert.edition}
+{ edition extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bst.first }
+ { s "second" = s "2" = or
+ { bst.second }
+ { s "third" = s "3" = or
+ { bst.third }
+ { s "fourth" = s "4" = or
+ { bst.fourth }
+ { s "fifth" = s "5" = or
+ { bst.fifth }
+ { s #1 #1 substring$ is.num
+ { s eng.ord }
+ { edition }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% edition
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { bst.edition.pre convert.edition "l" change.case$ * bst.edition.post * }
+ { bst.edition.pre convert.edition "t" change.case$ * bst.edition.post * }
+ if$
+ }
+ if$
+}
+
+%%% month
+FUNCTION {format.month}
+{ month empty$
+ bst.hide.month #0 = not or
+ { "" }
+ { bst.month.pre month * bst.month.post * }
+ if$
+}
+
+%%% year and month
+FUNCTION {format.date}
+{ format.month format.year *
+}
+
+%%% Is multiple pages like 1-100?
+FUNCTION { multi.page.check }
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+%%% pages
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { bst.pages.pre pages n.dashify tie.or.space.connect * bst.pages.post }
+ { bst.page.pre pages tie.or.space.connect * bst.page.post }
+ if$
+ }
+ if$
+}
+
+%%% number
+FUNCTION {format.number}
+{ number empty$
+ bst.hide.number #0 = not or
+ { "" }
+ { bst.number.pre number * bst.number.post * }
+ if$
+}
+
+%%% volume
+FUNCTION {format.volume}
+{ volume empty$
+ 'skip$
+ { bst.volume.pre volume * bst.volume.post *
+ bst.year.position #3 =
+ { format.year * }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+%%% number, page
+FUNCTION {format.number.pages}
+{ number empty$
+ { format.pages }
+ { format.number format.pages * }
+ if$
+}
+
+%%% volume, page
+FUNCTION {format.volume.pages}
+{ volume empty$
+ { format.pages }
+ { format.volume format.pages * }
+ if$
+}
+
+%%% volume, number, page
+FUNCTION {format.volume.number.pages}
+{ volume empty$
+ { number empty$
+ { format.pages }
+ { format.number format.pages * }
+ if$
+ }
+ { number empty$
+ { format.volume format.pages * }
+ { format.volume format.number * format.pages * }
+ if$
+ }
+ if$
+}
+
+% volume, number, page
+FUNCTION {format.vol.num.pages}
+{ volume empty$
+ %% volume is empty.
+ { number empty$
+ %% number is empty.
+ { pages empty$
+ % warning
+ { "there is no volume, number, and pages in " cite$ * warning$ "" }
+ { "" format.pages * }
+ if$
+ }
+ %% number is not empty.
+ % warning
+ { "there's a number but no volume in " cite$ * warning$
+ format.number.pages }
+ if$
+ }
+ %% volume is not empty.
+ { number empty$
+ %% number is empty.
+ { format.volume.pages }
+ %% number is not empty.
+ { format.volume.number.pages }
+ if$
+ }
+ if$
+}
+
+%%% chapter
+FUNCTION {format.chapter}
+{ chapter empty$
+ { "" }
+ { type empty$
+ { bst.chapter.pre chapter tie.or.space.connect * bst.chapter.post }
+ { ", " * type " " * chapter * }
+ if$
+ }
+ if$
+}
+
+%%% chapter, pages
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ { pages empty$
+ { "" }
+ { "" format.pages * }
+ if$
+ }
+ { pages empty$
+ { "" format.chapter * }
+ { "" format.chapter * format.pages * }
+ if$
+ }
+ if$
+}
+
+%%% editor and booktitle
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { bst.in format.btitle * }
+ { bst.editor.btitle.order #0 =
+ { bst.in format.editors.x * " " * format.btitle * }
+ { bst.in format.btitle * " " * format.editors.x * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% howpublished
+FUNCTION {format.howpublished}
+{ howpublished empty$
+ { "" }
+ { bst.howpublished.pre howpublished * bst.howpublished.post * }
+ if$
+}
+
+%%% address
+FUNCTION {format.address}
+{ address empty$
+ { "" }
+ { bst.address.pre address * bst.address.post * }
+ if$
+}
+
+%%% publisher
+FUNCTION {format.publisher}
+{ publisher empty$
+ { "" }
+ { bst.publisher.pre publisher * bst.publisher.post * }
+ if$
+}
+
+%%% organization
+FUNCTION {format.organization}
+{ organization empty$
+ { "" }
+ { bst.organization.pre organization * bst.organization.post * }
+ if$
+}
+
+%% publisher and address
+FUNCTION {output.publisher.address}
+{ address empty$
+ { format.publisher "publisher" output.check.nocomma }
+ { bst.address.position #0 =
+ { format.address output.nocomma
+ format.publisher "publisher" output.check.nocomma }
+ { format.publisher "publisher" output.check.nocomma
+ format.address output.nocomma }
+ if$
+ }
+ if$
+}
+
+%% address, organization, publisher
+FUNCTION {output.address.organization.publisher}
+{ address empty$
+ %% address is empty
+ { organization empty$
+ %% organization is empty
+ { publisher empty$
+ 'skip$
+ { format.publisher "publisher" output.check.nocomma }
+ if$
+ }
+ %% organization is not empty
+ { publisher empty$
+ { format.organization "organization" output.check.nocomma }
+ { format.organization "organization" output.check.nocomma
+ format.publisher "publisher" output.check.nocomma }
+ if$
+ }
+ if$
+ }
+ %% address is not empty
+ { organization empty$
+ %% organization is empty
+ { publisher empty$
+ %% publisher is empty
+ { format.address output.nocomma }
+ %% publisher is not empty
+ { bst.address.position #0 =
+ { format.address output.nocomma
+ format.publisher "publisher" output.check.nocomma }
+ { format.publisher "publisher" output.check.nocomma
+ format.address output.nocomma }
+ if$
+ }
+ if$
+ }
+ %% organization is not empty
+ { publisher empty$
+ %% publisher is empty
+ { format.organization "organization" output.check.nocomma
+ format.address output.nocomma }
+ %% publisher is not empty
+ { format.organization "organization" output.check.nocomma
+ bst.address.position #0 =
+ { format.address output.nocomma
+ format.publisher "publisher" output.check.nocomma }
+ { format.publisher "publisher" output.check.nocomma
+ format.address output.nocomma }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% misc
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$ " " type * }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ { " " type * }
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+%%% phdthesis
+FUNCTION {format.phd}
+{ bst.phdthesis }
+
+%%% mastersthesis
+FUNCTION {format.mthesis}
+{ bst.mthesis }
+
+%%% school
+FUNCTION {format.school}
+{ school empty$
+ { "" }
+ { bst.school.pre school * bst.school.post * }
+ if$
+}
+
+%%% institution
+FUNCTION {format.institution}
+{ institution empty$
+ { "" }
+ { bst.institution.pre institution * bst.institution.post * }
+ if$
+}
+
+%%% remove first ? characters.
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.note}
+{ note empty$
+ { "" }
+ { bst.note.pre note * bst.note.post * }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \havarditem
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\harvarditem[" write$
+ alabel write$ % alabel <- abbreviated citation
+ "]{" write$
+ flabel write$ % flabel <- full citation
+ "}{" write$
+ cyear write$
+ % cyear = year
+ "}{" write$
+ cite$ write$ % cite$ -> pusch keyword
+ "}" write$
+ % If number index is on
+ bst.use.number.index #0 =
+ 'skip$
+ { index #1 + 'index :=
+ "" 'preone :=
+ "" 'preten :=
+ bst.number.index.digit "1" =
+ 'skip$
+ { bst.number.index.digit "2" =
+ { "\hskip0.5em" 'preone := }
+ { bst.number.index.digit "3" =
+ { "\hskip1em" 'preone :=
+ "\hskip0.5em" 'preten := }
+ 'skip$
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ newline$
+ before.all 'output.state :=
+ ""
+ % number index
+ bst.use.number.index #0 =
+ 'skip$
+ { index #10 <
+ % Insert spaces according to digit of number index.
+ { preone }
+ { index #100 <
+ { preten }
+ { "" }
+ if$
+ }
+ if$
+ bst.number.index.pre * index int.to.str$ * bst.number.index.post * write$
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% article
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+
+ format.journal "journal" output.check.nocomma
+ bst.year.position #2 =
+ { format.date output.nocomma }
+ 'skip$
+ if$
+ format.vol.num.pages output.nocomma
+
+ bst.year.position #1 =
+ { format.date output.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% book
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check.nocomma }
+ { format.authors output.nonnull.nocomma
+ "author and editor" editor either.or.check
+ }
+ if$
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.book "title" output.check.nocomma
+
+ format.bvolume output.nocomma
+ format.number.series output.nocomma
+ output.publisher.address
+
+ format.edition output.nocomma
+ format.book.pages output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% booklet
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output.nocomma
+ format.year output.nocomma
+ format.misc.title "title" output.check.nocomma
+ format.howpublished output.nocomma
+ format.address output.nocomma
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% inbook
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check.nocomma }
+ { format.authors output.nonnull.nocomma
+ "author and editor" editor either.or.check
+ }
+ if$
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+% format.book remove.pre.comma "title" output.check.nocomma
+ format.book "title" output.check.nocomma
+ format.edition output.nocomma
+
+ format.bvolume output.nocomma
+ format.chapter.pages "chapter and pages" output.check.nocomma
+ format.number.series output.nocomma
+ output.publisher.address
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% incollection
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+
+ format.in.ed.booktitle "booktitle" output.check.nocomma
+ format.bvolume output.nocomma
+ output.address.organization.publisher
+ format.edition output.nocomma
+ format.chapter.pages output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% inproceedings
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+
+ format.in.ed.booktitle "booktitle" output.check.nocomma
+ format.bvolume output.nocomma
+ format.number.series output.nocomma
+ format.pages output.nocomma
+ output.address.organization.publisher
+
+ bst.year.position #0 = not
+ { format.date output.nocomma }
+ { format.month output.nocomma }
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% conference
+
+FUNCTION {conference}
+{ inproceedings }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% manual
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull.nocomma
+ address output.nocomma
+ }
+ if$
+ }
+ { format.authors output.nonnull.nocomma }
+ if$
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.book "title" output.check.nocomma
+ author empty$
+ { organization empty$
+ { format.address new.block.check
+ format.address output.nocomma
+ }
+ 'skip$
+ if$
+ }
+ { output.address.organization.publisher }
+ if$
+ format.edition output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% mastersthesis
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+ format.mthesis format.thesis.type output.nonnull.nocomma
+ format.school "school" output.check.nocomma
+ format.address output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% misc
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.misc.title output.nocomma
+ format.howpublished output.nocomma
+
+ bst.year.position #0 = not
+ { format.date output.nocomma }
+ { format.month output.nocomma }
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+ empty.misc.check
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Online
+
+FUNCTION {online}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.misc.title output.nocomma
+ format.howpublished output.nocomma
+
+ bst.year.position #0 = not
+ { format.date output.nocomma }
+ { format.month output.nocomma }
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+ empty.misc.check
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% phdthesis
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.book "title" output.check.nocomma
+ format.phd
+ format.thesis.type output.nonnull.nocomma
+ format.school "school" output.check.nocomma
+ address empty$
+ 'skip$
+ { format.address output.nocomma }
+ if$
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% proceedings
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output.nocomma }
+ { format.editors output.nonnull.nocomma }
+ if$
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.btitle remove.pre.comma "title" output.check.nocomma
+ format.bvolume output.nocomma
+ format.number.series output.nocomma
+ output.address.organization.publisher
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% techreport
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+ format.tr.number output.nonnull.nocomma
+ format.institution "institution" output.check.nocomma
+ format.address output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% unpublished
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+
+ bst.year.position #0 = not
+ { format.date remove.pre.comma output.nocomma }
+ { month empty$
+ 'skip$
+ { format.month remove.pre.comma output.nocomma }
+ if$
+ }
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note "note" output.check.nocomma
+ fin.entry
+}
+
+FUNCTION {default.type}
+{ misc }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Alias for month names:
+
+MACRO {jan} {"January"}
+MACRO {feb} {"February"}
+MACRO {mar} {"March"}
+MACRO {apr} {"April"}
+MACRO {may} {"May"}
+MACRO {jun} {"June"}
+MACRO {jul} {"July"}
+MACRO {aug} {"August"}
+MACRO {sep} {"September"}
+MACRO {oct} {"October"}
+MACRO {nov} {"November"}
+MACRO {dec} {"December"}
+
+%%% Read entries:
+READ
+
+%%% Variable for remembering the order of citation.
+INTEGERS { order.num }
+FUNCTION {initialize.order.num}
+{
+ #1 'order.num :=
+}
+%%% Initialize a variables
+EXECUTE {initialize.order.num}
+
+%%% Variable for remembering the order of citation.
+FUNCTION {set.order.cited}
+{
+ order.num 'order.cited :=
+ #1 order.num + 'order.num :=
+}
+%%% Iterate for all entries:
+ITERATE {set.order.cited}
+
+%%% check the value of nameorder field.
+FUNCTION {set.nameorder}
+{ nameorder empty$
+ { "" 'nameorder.temp := }
+ { nameorder 'nameorder.temp := }
+ if$
+}
+%%% Iterate for all entries:
+ITERATE {set.nameorder}
+
+%%% Remove symbols and convert to lowercase.
+FUNCTION {sortify}
+{ purify$ "l" change.case$ }
+
+%%% names for sorting
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { ", " * }
+ 'skip$
+ if$
+ s nameptr "{ll}{ f}{ j}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { bst.and.others.output *}
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.names.abb}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames bst.and.others.num <
+ { s sort.format.names }
+ { s #1 "{ll}{ f}{ j}" format.name$ " zz " * }
+ if$
+}
+
+%%% Label for full author name.
+FUNCTION {format.lab.names.full}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { nameorder.temp "random" = bst.use.nameorder #0 = not and
+ { bst.and.nameorder * t * }
+ { ", " * t * }
+ if$
+ }
+ { t "others" =
+ { bst.and.others.output * }
+ { numnames #2 >
+ { nameorder.temp "random" = bst.use.nameorder #0 = not and
+ { bst.cite.and.nameorder * t * }
+ { bst.cite.ands * t * }
+ if$
+ }
+ { nameorder.temp "random" = bst.use.nameorder #0 = not and
+ { bst.cite.and.nameorder * t * }
+ { bst.cite.and * t * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #1 > #1 #2 = and {", eds" *} {} if$
+ numnames #1 = #1 #2 = and {", ed" *} {} if$
+}
+
+%%% laberl for abbreviated author name.
+FUNCTION {format.lab.names.abb}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames bst.and.others.num <
+ % if the number of authors is less than bst.and.others.num, full name.
+ { s format.lab.names.full }
+ % if the number of authors is equal or more than bst.and.others.num, abbreviated name.
+ { s #1 "{ll}" format.name$ bst.and.others.output * }
+ if$
+}
+
+%%% abbreviated author
+FUNCTION {author.key.label.abb}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names.abb }
+ if$
+}
+
+%%% full author
+FUNCTION {author.key.label.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names.full }
+ if$
+}
+
+FUNCTION {format.names.full.wo.and}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ll}{, ff}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { " " * t * }
+ { t "others" =
+ { " " * }
+ { numnames #2 >
+ { " " * t * }
+ { " " * t * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.key.full.wo.and}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.names.full.wo.and }
+ if$
+}
+
+FUNCTION {author.editor.key.full.wo.and}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.names.full.wo.and }
+ if$
+ }
+ { author format.names.full.wo.and }
+ if$
+}
+
+FUNCTION {editor.key.organization.key.full.wo.and}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.names.full.wo.and }
+ if$
+}
+
+FUNCTION {author.key.organization.key.full.wo.and}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.names.full.wo.and }
+ if$
+}
+
+%%% abbreviated author
+FUNCTION {author.editor.key.label.abb}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names.abb }
+ if$
+ }
+ { author format.lab.names.abb }
+ if$
+}
+
+%%% full author
+FUNCTION {author.editor.key.label.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names.full }
+ if$
+ }
+ { author format.lab.names.full }
+ if$
+}
+
+FUNCTION {author.key.organization.label.full}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names.full }
+ if$
+}
+
+FUNCTION {author.key.organization.label.abb}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names.abb }
+ if$
+}
+
+FUNCTION {editor.key.organization.label.full}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names.full }
+ if$
+}
+
+FUNCTION {editor.key.organization.label.abb}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names.abb }
+ if$
+}
+
+%%% Convert numbers: 0->9, 1->8, 2->7,..., 9->0
+FUNCTION {reverse.num}
+{ 's :=
+ s "1" =
+ { "8" 'year.num := }
+ { s "2" =
+ { "7" 'year.num := }
+ { s "3" =
+ { "6" 'year.num := }
+ { s "4" =
+ { "5" 'year.num := }
+ { s "5" =
+ { "4" 'year.num := }
+ { s "6" =
+ { "3" 'year.num := }
+ { s "7" =
+ { "2" 'year.num := }
+ { s "8" =
+ { "1" 'year.num := }
+ { s "9" =
+ { "0" 'year.num := }
+ { s "0" =
+ { "9" 'year.num := }
+ { "9" 'year.num := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ year.num
+}
+
+%%% Convert year (large number -> small number)
+FUNCTION {convert.year}
+{ 't :=
+ bst.reverse.year #0 =
+ { t 'tt := }
+ { t #1 #1 substring$ reverse.num
+ t #2 #1 substring$ reverse.num *
+ t #3 #1 substring$ reverse.num *
+ t #4 #1 substring$ reverse.num * 'tt := }
+ if$
+ tt
+}
+
+%%% cyear
+FUNCTION {calc.cyear}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full.wo.and
+ { type$ "proceedings" =
+ 'editor.key.organization.key.full.wo.and
+ { type$ "manual" =
+ 'author.key.organization.key.full.wo.and
+ 'author.key.full.wo.and
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ year empty$
+ { "2199" 'cyear := }
+ { year 'cyear := }
+ if$
+ year empty$
+ { " " "2199" convert.year * field.or.null * }
+ { " " year convert.year * field.or.null * }
+ if$
+ sortify 'sort.label :=
+ % For debug
+ econ.debug #0 = not
+ { "sort.label = ``\texttt{" write$
+ sort.label write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+ pop$
+}
+
+FUNCTION {calc.sort.label.abb}
+{ author empty$
+ { editor empty$
+ { "" }
+ { editor 's := }
+ if$
+ }
+ { author 's := }
+ if$
+ s sort.format.names.abb 't :=
+ year empty$
+ { t sortify " " * "2199" convert.year * 'sort.label.abb := }
+ { t sortify " " * year convert.year * 'sort.label.abb := }
+ if$
+ econ.debug #0 = not
+ { "sort.label.abb = ``\texttt{" write$
+ sort.label.abb write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+%%% flabel
+FUNCTION {calc.flabel}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label.full
+ { type$ "proceedings" =
+ 'editor.key.organization.label.full
+ { type$ "manual" =
+ 'author.key.organization.label.full
+ 'author.key.label.full
+ if$
+ }
+ if$
+ }
+ if$
+ 'flabel :=
+ % For debug
+ econ.debug #0 = not
+ { "flabel = ``\texttt{" write$
+ flabel write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+%%% alabel
+FUNCTION {calc.alabel}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label.abb
+ { type$ "proceedings" =
+ 'editor.key.organization.label.abb
+ { type$ "manual" =
+ 'author.key.organization.label.abb
+ 'author.key.label.abb
+ if$
+ }
+ if$
+ }
+ if$
+ 'alabel :=
+ % For debug
+ econ.debug #0 = not
+ { "alabel = ``\texttt{" write$
+ alabel write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+%%% title for sorting
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+%%% author for sorting
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+%%% editor for sorting
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+%%% 1,...,9 -> 001,...,009
+%%% 10,...,99 -> 010,...,099
+FUNCTION {add.zero.to.number}
+{ 's :=
+ s text.length$ #1 =
+ { "00" s * }
+ { s text.length$ #2 =
+ { "0" s * }
+ { s }
+ if$
+ }
+ if$
+}
+
+%% entry type
+FUNCTION {bst.sort.entry.type.order}
+{ 'item.type :=
+ item.type "article" =
+ { "01" }
+ { item.type "book" =
+ { "02" }
+ { item.type "booklet" =
+ { "03" }
+ { item.type "comment" =
+ { "04" }
+ { item.type "conference" =
+ { "05" }
+ { item.type "inbook" =
+ { "06" }
+ { item.type "incollection" =
+ { "07" }
+ { item.type "inproceedings" =
+ { "08" }
+ { item.type "manual" =
+ { "09" }
+ { item.type "masterthesis" =
+ { "10" }
+ { item.type "misc" =
+ { "11" }
+ { item.type "phdthesis" =
+ { "12" }
+ { item.type "proceedings" =
+ { "13" }
+ { item.type "techreport" =
+ { "14" }
+ { item.type "unpublished" =
+ { "15" }
+ { "16" }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% Create sort.key$: absorder -> author -> year -> order -> month -> title.
+FUNCTION {presort.one}
+{
+ bst.no.sort #0 = not
+ { order.cited int.to.str$ add.zero.to.number " " * }
+ { "" }
+ if$
+ bst.sort.year #0 = not
+ %% Use year field as the primary sorting key.
+ { year convert.year * }
+ 'skip$
+ if$
+ bst.sort.entry.type #0 = not
+ { type$ bst.sort.entry.type.order * " " * }
+ 'skip$
+ if$
+ absorder empty$
+ { "/// " * }
+ { bst.notuse.absorder.field #0 =
+ { absorder "999" =
+ { "zzz " * }
+ { absorder add.zero.to.number "000" =
+ { "/// " * }
+ { absorder add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ { "/// " * }
+ if$
+ }
+ if$
+ " " *
+ sort.label.abb *
+ " " *
+ type$ "book" = type$ "inbook" = or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ * " " *
+ " "
+ order empty$
+ { "/// " * }
+ { bst.notuse.order.field #0 =
+ { order "999" =
+ { "zzz " * }
+ { order add.zero.to.number "000" =
+ { "/// " * }
+ { order add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ { "/// " * }
+ if$
+ }
+ if$
+ month empty$
+ { * "/// " * }
+ { month "999" =
+ { * month add.zero.to.number * "zzz " * }
+ { month add.zero.to.number "000" =
+ { * month add.zero.to.number * "/// " * }
+ { * month add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ if$
+ title field.or.null sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+ % For debug
+ econ.debug #0 = not
+ { "``\texttt{" write$
+ sort.key$ write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+FUNCTION {presort.two}
+{
+ bst.no.sort #0 = not
+ { order.cited int.to.str$ add.zero.to.number " " * }
+ { "" }
+ if$
+ bst.sort.year #0 = not
+ %% Use year field as the primary sorting key.
+ { year convert.year * }
+ 'skip$
+ if$
+ bst.sort.entry.type #0 = not
+ { type$ bst.sort.entry.type.order * " " * }
+ 'skip$
+ if$
+ absorder empty$
+ { "/// " * }
+ { bst.notuse.absorder.field #0 =
+ { absorder "999" =
+ { "zzz " * }
+ { absorder add.zero.to.number "000" =
+ { "/// " * }
+ { absorder add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ { "/// " * }
+ if$
+ }
+ if$
+ " " * sort.label * " "
+ order empty$
+ { "/// " * }
+ { bst.notuse.order.field #0 =
+ { order "999" =
+ { "zzz " * }
+ { order add.zero.to.number "000" =
+ { "/// " * }
+ { order add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ { "/// " * }
+ if$
+ }
+ if$
+ month empty$
+ { * "/// " * }
+ { month "999" =
+ { * month add.zero.to.number * "zzz " * }
+ { month add.zero.to.number "000" =
+ { * month add.zero.to.number * "/// " * }
+ { * month add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ if$
+ title field.or.null sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+ % For debug
+ econ.debug #0 = not
+ { "``\texttt{" write$
+ sort.key$ write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+%%% Codes for debugging
+FUNCTION {calc.alabel.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of calc.alabel: alabel = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+FUNCTION {calc.flabel.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of calc.flabel: flabel = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+FUNCTION {presort.one.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of presort (1st time): \$sort.key = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {presort.two.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of presort (2nd time): \$sort.key = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {calc.cyear.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of calc.cyear: sort.label = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {calc.sort.label.abb.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of calc.sort.label.abb: sort.label.abb = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+
+%%% alabel
+EXECUTE {calc.alabel.mess}
+ITERATE {calc.alabel}
+
+%%% flabel
+EXECUTE {calc.flabel.mess}
+ITERATE {calc.flabel}
+
+%%% cyear and sort.label
+EXECUTE {calc.cyear.mess}
+ITERATE {calc.cyear}
+
+%%%
+EXECUTE {calc.sort.label.abb.mess}
+ITERATE {calc.sort.label.abb}
+
+%%% Sorting by $sort.key (first time)
+%
+% Sorting is done in two times. This is the first time.
+%
+EXECUTE {presort.one.mess}
+ITERATE {presort.one}
+SORT
+
+FUNCTION {forward.pass}
+{ bst.use.bysame #0 = bst.use.bysame #2 = or
+ % Not use \bysame
+ { last.sort.label sort.label.abb =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label.abb 'last.sort.label :=
+ }
+ if$
+ }
+ % Use \bysame
+ { last.sort.label sort.label.abb =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label.abb 'last.sort.label :=
+ }
+ if$
+ author empty$
+ { editor empty$
+ { "" }
+ 'format.editors.alt
+ if$
+ }
+ 'format.authors.alt
+ if$
+ 'this.author :=
+ % format.names 'this.author :=
+ this.author prev.author =
+ { "bysame" 'extra.label.bysame := }
+ { this.author "" =
+ { "abcxyz" }
+ 'this.author
+ if$
+ 'prev.author :=
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label empty$ not
+ { cyear extra.label * }
+ { cyear "" * }
+ if$
+ "" field.or.null *
+ 'cyear :=
+ extra.label 'next.extra :=
+}
+
+%%% \bysame
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+%%% Sorting by sort.key$ (second time)
+EXECUTE {presort.two.mess}
+ITERATE {presort.two}
+SORT
+
+FUNCTION {reset.prev.author}
+{ "xxyyzz" 'prev.author := }
+
+EXECUTE {reset.prev.author}
+
+FUNCTION {forward.pass.two}
+{ bst.use.bysame #1 =
+ { author empty$
+ { editor empty$
+ { "" }
+ 'format.editors.alt
+ if$
+ }
+ 'format.authors.alt
+ if$
+ 'this.author :=
+ this.author prev.author =
+ { "bysame" 'extra.label.bysame := }
+ { this.author "" =
+ { "abcxyz" }
+ 'this.author
+ if$
+ 'prev.author :=
+ }
+ if$
+ }
+ 'skip$
+ if$
+}
+
+ITERATE {forward.pass.two}
+
+FUNCTION{punctuation}
+{
+ "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" write$ newline$
+ "% This bbl file is created by econ.bst ver." econ.version * write$ newline$
+ "% The latest econ.bst is available at" write$ newline$
+ "% <https://github.com/ShiroTakeda/econ-bst>" write$ newline$ newline$
+}
+
+EXECUTE {punctuation}
+
+FUNCTION {begin.bib}
+{
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ bst.use.bysame #0 =
+ % Not use \bysame.
+ 'skip$
+ % Use \bysame.
+ { "%%% Definition of \bysame" write$ newline$
+ "\ifx\undefined\bysame" write$ newline$
+ "\newcommand{\bysame}{" bst.bysame.definition * "}" *
+ write$ newline$
+ "\fi" write$ newline$ newline$ }
+ if$
+ %% When number index is attached to the beginning of each item.
+ bst.use.number.index #0 =
+ 'skip$
+ { bst.number.index.digit "1" =
+ % one digit.
+ { bst.number.index.bibhang.one }
+ { bst.number.index.digit "2" =
+ % two digits.
+ { bst.number.index.bibhang.ten }
+ % three or more digits.
+ { bst.number.index.bibhang.hund }
+ if$
+ }
+ if$
+ 'hang :=
+ "%%% Redefinition of \bibhang" write$ newline$
+ "\ifx\undefined\bibhang" write$ newline$
+ "\relax" write$ newline$
+ "\else" write$ newline$
+ "\setlength{\bibhang}{"
+ hang * "}" * write$ newline$
+ "\fi" write$ newline$ newline$
+ }
+ if$
+ "\begin{thebibliography}{xxx}" write$ newline$
+
+ %% Initialize the variable `index'.
+ #0 'index :=
+}
+
+FUNCTION {end.bib}
+{ newline$ "\end{thebibliography}" write$ newline$ }
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+EXECUTE {end.bib}
+
+% --------------------
+% Local Variables:
+% fill-column: 78
+% mode: bst
+% End:
diff --git a/biblio/bibtex/contrib/econ-bst/customization/econ-econometrica.pdf b/biblio/bibtex/contrib/econ-bst/customization/econ-econometrica.pdf
new file mode 100644
index 0000000000..1f55afb51e
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/customization/econ-econometrica.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/econ-bst/customization/econ-econometrica.tex b/biblio/bibtex/contrib/econ-bst/customization/econ-econometrica.tex
new file mode 100644
index 0000000000..f4b1251bc7
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/customization/econ-econometrica.tex
@@ -0,0 +1,55 @@
+%#!pdflatex
+%#BIBTEX bibtex econ-econometrica
+
+%############################## Main #################################
+\documentclass[10pt]{article}
+
+%% Use natbib.sty
+\usepackage{natbib}
+\usepackage{mathpazo}
+\usepackage{url}
+\usepackage{graphicx}
+\usepackage{color}
+\definecolor{MyBrown}{rgb}{0.3,0,0}
+\definecolor{MyBlue}{rgb}{0,0,0.3}
+\definecolor{MyRed}{rgb}{0.4,0,0.1}
+\definecolor{MyGreen}{rgb}{0,0.4,0}
+\usepackage[bookmarks=true,%
+bookmarksnumbered=true,%
+colorlinks=true,%
+linkcolor=MyBlue,%
+citecolor=MyRed,%
+filecolor=MyBlue,%
+urlcolor=MyGreen%
+]{hyperref}
+
+\setlength{\topmargin}{-20pt}
+\setlength{\textheight}{648pt}
+\setlength{\oddsidemargin}{15pt}
+\setlength{\textwidth}{440pt}
+
+%#####################################################################
+%######################### Document Starts ###########################
+%#####################################################################
+\begin{document}
+
+This document uses ``\verb|econ-econometrica.bst|''. The style like ({\itshape Econometrica}).
+
+\vspace{1em}
+
+\input{cited-part}
+\nocite{*}
+
+%% bst file:
+\bibliographystyle{econ-econometrica}
+\bibliography{../econ-example}
+
+\end{document}
+
+%#####################################################################
+%######################### Document Ends #############################
+%#####################################################################
+% --------------------
+% Local Variables:
+% fill-column: 80
+% End:
diff --git a/biblio/bibtex/contrib/econ-bst/customization/econ-jet.bst b/biblio/bibtex/contrib/econ-bst/customization/econ-jet.bst
new file mode 100644
index 0000000000..7898a51f3a
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/customization/econ-jet.bst
@@ -0,0 +1,3545 @@
+n%% econ.bst: BibTeX style file for papers in economics.
+%
+% Author: Shiro Takeda
+% Maintainer: Shiro Takeda
+% Copyright (C) 2001-2018 Shiro Takeda
+% First-written: <2007/07/28>
+% Time-stamp: <2018-12-07 18:48:36 st>
+% Version: 2.5
+% Keywords: TeX, BibTeX, bst
+% URL: https://github.com/ShiroTakeda/econ-bst
+
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainer of this work is Shiro Takeda.
+
+%% Main features of econ.bst.
+
+% "econ.bst" is a BibTeX style file for economics. It provids the following
+% features:
+
+% 1) The author-year type citation (you need "natbib.sty" as well).
+% 2) Reference style used in economics papers ("econ.bst" is not a BibTeX style
+% for a specific journal).
+% 3) Highly customizable. You can easily customize reference style as you wish.
+% 4) You can use "certified random order" proposed by Ray â“¡ Robson (2018)
+% (http://dx.doi.org/10.1257/aer.20161492).
+
+% Bug reports, requests and suggestions are welcome.
+
+% For changelogs, see CHANGES.txt file.
+
+% version number
+FUNCTION {econ.version} { "2.5" }
+
+% Debug mode. Non-zero makes debug mode on.
+FUNCTION {econ.debug}
+{ #0 } % Debug mode off (default).
+% { #1 } % Debug mode on.
+
+ENTRY
+ %%% Declaration of field
+ { access address author booktitle chapter doi edition editor howpublished
+ institution journal key month note number organization pages publisher
+ school series title type url volume year
+ % Fields specific to econ.bst
+ order absorder nameorder
+ }
+
+ % Definition of entry variable. The entry variable is a variable which has
+ % different values according to different entries.
+ %% Integer entry variable:
+ { order.cited }
+
+ %% String entry variable
+ { label cyear flabel alabel extra.label sort.label sort.label.abb
+ extra.label.bysame nameorder.temp }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% Functions for customization:
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Use \bysame or not.
+%
+% If set to #0, \bysame is not used.
+% If set to #1, \bysame is used
+% If set to #2, \bysame is used (alternative abbreviation style).
+%
+% Note that integer number is expressed as # + integer in bst file.
+% \bysame is the function that abbreviates succession of the same authors' name by ---.
+%
+% See econ-sample.pdf for details.
+%
+FUNCTION {bst.use.bysame}
+{ #0 } % Not use \bysame
+% { #1 } % -> Use \bysame (default)
+% { #2 } % -> Use \bysame of alternative style.
+
+% The definition of \bysame command.
+%
+FUNCTION {bst.bysame.definition}
+{ "\hskip.3em \leavevmode\rule[.5ex]{3em}{.3pt}\hskip0.5em" } % (default)
+% { "\leavevmode\hbox to\leftmargin{\hrulefill\,\,}" } % If you set #2 to bst.use.bysame, use this.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% The order of fist and last name.
+%
+FUNCTION {bst.author.name}
+% { #0 } % (default)
+% { #1 }
+{ #2 }
+
+% Case of #0: First author -> last-first, other authors -> first-last.
+% Fujita, Masahisa, Paul R. Krugman, and Anthony J. Venables.
+
+% Case of #1: All authors -> last-first
+% Fujita, Masahisa, Krugman, Paul R., and Venables, Anthony J.
+
+% Case of #2: All authors -> first-last
+% Masahisa Fujita, Paul R. Krugman, and Anthony J. Venables.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Abbreviate first name of authors (editors):
+%
+FUNCTION {bst.first.name.initial}
+% { #0 } % #0 -> full letters (default).
+{ #1 } % Non-zero -> initial letter only.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Decapitalize of strings in title field.
+%
+FUNCTION {bst.title.lower.case}
+% { #0 } % If #0, not decapitalize title (default).
+{ #1 } % If non-#0, decapitalize title
+
+% Hide title filed.
+%
+FUNCTION {bst.hide.title}
+{ #0 } % #0 -> Title field is displayed (default)
+% { #1 } % Non-zer -> Title field is hidden
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Hide month.
+%
+FUNCTION {bst.hide.month}
+{ #0 } % #0 -> show month field (default).
+% { #1 } % non-#0 -> hide month field.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Attach number index like plain.bst.
+%
+FUNCTION {bst.use.number.index}
+{ #0 } % Not use number index (default).
+% { #1 } % Non-#0 -> Use number index
+
+% The string before number index:
+%
+FUNCTION {bst.number.index.pre}
+{ "[" } % (default)
+
+% The string after number index. Adjustment is recommended.
+%
+FUNCTION {bst.number.index.post}
+{ "]\hskip1.0em " } % (default)
+
+% Maximum digit of number index:
+% If the number of reference items >= 100, set 3 to this function.
+% If the number of reference items < 100, set 2 to this function.
+% If the number of reference items < 10, set 1 to this function.
+%
+FUNCTION {bst.number.index.digit}
+{ "2" } % (default)
+% { "3" }
+
+% The functions below are used to adjust space and postion. If you use fonts
+% other than computer modern fonts, you had better make adjustments.
+%
+% Setting for bst.number.index.digit = 1:
+FUNCTION {bst.number.index.bibhang.one}
+{ "2.05em" } % (default)
+% Setting for bst.number.index.digit = 2:
+FUNCTION {bst.number.index.bibhang.ten}
+{ "2.55em" } % (default)
+% Setting for bst.number.index.digit = 3:
+FUNCTION {bst.number.index.bibhang.hund}
+{ "3.05em" } % (default).
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Position of "year":
+%
+% You can choose the position of year by this function.
+%
+% If set to #0, year is placed right after "author".
+% If set to non-zero, year is placed at the end (before note field) except for
+% aritcle type entry.
+%
+% In article type entry, the position of year changes according to the
+% following rule:
+%
+% #1 -> year is placed at the end.
+% #2 -> year is placed after journal name in aritcle type entry.
+% #3 -> year is placed after volume in aritcle type entry.
+%
+FUNCTION {bst.year.position}
+% { #0 } % (default).
+% { #1 } % Last place before note.
+% { #2 } % After journal name for aticle type entry.
+{ #3 } % After volume for aticle type entry.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% If 0, references are sorted by old documents -> recent documents. If
+% non-zero, reverse order.
+FUNCTION {bst.reverse.year}
+{ #0 } % Normal order (old -> recent) (default).
+% { #1 } % inverse order (recent -> old)
+
+% If non-zero, sort references by using year field as the primary key
+% (chronological sorting).
+FUNCTION {bst.sort.year}
+{ #0 } % Normal case: year is used as the sorting key next to author (default).
+% { #1 } % year is used as the primary sorting key.
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% If non-zero, references are listed in citation order.
+%
+FUNCTION {bst.no.sort}
+{ #0 } % (default)
+% { #1 } % listed in citation order.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Non-zero -> sort references by entry type (article, book, incollection etc.)
+%
+FUNCTION {bst.sort.entry.type}
+{ #0 } % #0 -> Normal (not sort references by entry type) (default).
+% { #1 } % Non-zero -> sort references by entry type.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% 0 -> use absorder field to sort items. Otherwise, ignore absorder field.
+%
+FUNCTION {bst.notuse.absorder.field}
+{ #0 } % #0 -> Use absorder (default).
+% { #1 } % Non-#0 -> Not use absorder.
+%
+% Order of priority to sort items
+%
+% absorder -> author -> year -> order -> month -> title
+%
+% wehre absorder and order fields are specific to econ.bst.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% 0 -> use order field to sort items. Otherwise, ignore order field.
+% Note: order field is specific to econ.bst.
+FUNCTION {bst.notuse.order.field}
+{ #0 } % #0 -> Use order field (default).
+% { #1 } % Non-#0 -> not use order field.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%% and
+
+%%% String used to separate author names in references.
+%
+% String replaced with _ in "Mr. A _ Mr. B "
+%
+FUNCTION {bst.and}
+{ " and " } % (default)
+
+%%% String used to separate author names in references (more than two authors).
+%
+% String replaced with _ in "Mr. A, Mr. B _ Mr. C"
+%
+FUNCTION {bst.ands}
+{ ", and " } % (default)
+
+%%% String used to separate author names in citation part.
+%
+% String replaced with _ in "Mr. A _ Mr. B "
+%
+FUNCTION {bst.cite.and}
+{ " and " } % (default)
+
+%%% String used to separate author names in citation part (more than two authors).
+%
+% String replaced with _ in "Mr. A, Mr. B _ Mr. C"
+%
+FUNCTION {bst.cite.ands}
+{ " and " } % (default)
+
+%%% If you want to use random author order for some bibliography entries, set
+% non-zero to this function.
+%
+FUNCTION {bst.use.nameorder}
+{ #1 } % Use random order (default)
+% { #0 } % Not use random order
+
+%%% String used to separate author names in references for the entry of random
+% author order.
+%
+FUNCTION {bst.and.nameorder}
+{ " \textcircled{r} " } % (default)
+
+%%% String used to separate author names in citation part for the entry of
+% random author order
+%
+FUNCTION {bst.cite.and.nameorder}
+{ " \textcircled{r} " } % (default)
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Author names in the citation part are abbreviated by et al. if the number of
+% authors is greater or equal to bst.and.others.num.
+FUNCTION {bst.and.others.num}
+{ #3 } % If the number of authors is greater or equal to three (default).
+% { #4 }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Strings used when abbreviating multiple-authors in citation part.
+FUNCTION {bst.and.others}
+{ " et~al." } % (default)
+
+% Strings used when abbreviating multiple-authors in citation part for entries
+% with random author order.
+FUNCTION {bst.and.others.nameorder}
+{ " \textcircled{r}~al." } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% author
+
+% The string before author:
+%
+FUNCTION {bst.author.pre}
+{ "" } % (default)
+
+% The string after author:
+%
+FUNCTION {bst.author.post}
+{ ", " }
+% { "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% year
+
+% The string before year only for aritcle type entry.
+%
+FUNCTION {bst.year.pre}
+{ " (" }
+% { " (" } % (default)
+
+% The string after year only for aritcle type entry.
+%
+FUNCTION {bst.year.post}
+{ ")" }
+% { ") " } % (default)
+
+% The string after year for non-article type entry (book, incollection etc)
+%
+FUNCTION {bst.year.na.pre}
+{ ", " }
+% { " (" } % (default)
+
+% The string after year for non-article type entry (book, incollection etc)
+%
+FUNCTION {bst.year.na.post}
+{ "" }
+% { ") " } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% title (except for title in book)
+
+% The string before title:
+%
+FUNCTION {bst.title.pre}
+{ "" }
+% { "``" } % (default)
+
+% The string after title:
+%
+FUNCTION {bst.title.post}
+{ "," }
+% { ",''" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% tile for book:
+
+% The string before book title:
+%
+FUNCTION {bst.book.pre}
+{ "" }
+% { " \textit{" } % (default)
+
+% The string after book title:
+%
+FUNCTION {bst.book.post}
+{ "" }
+% { "}" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% booktitle
+
+% The string before booktitle:
+%
+FUNCTION {bst.btitle.pre}
+{ " " }
+% { " \textit{" } % (default)
+
+% The string after booktitle:
+%
+FUNCTION {bst.btitle.post}
+{ "" }
+% { "}" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% journal name
+
+% The string before journal name:
+%
+FUNCTION {bst.journal.pre}
+{ " " }
+% { " \textit{" } % (default)
+
+% The string after journal name:
+%
+FUNCTION {bst.journal.post}
+{ ", " }
+% { "}" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% editor notation:
+
+% The string that indicates multiple editors:
+%
+FUNCTION {bst.editors}
+{ " (Eds.), " }
+% { " eds. " } % (default)
+
+% The string that indicates single editor:
+%
+FUNCTION {bst.editor}
+{ " ed. " } % (default)
+
+% Order of editor and booktitle in incollection and inproceedings entries.
+%
+% If set to #0: editors -> booktitle order
+% If set to non-zero: booktitle -> editors order
+%
+FUNCTION {bst.editor.btitle.order}
+{ #0 } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% edition
+
+% The string before edition:
+%
+FUNCTION {bst.edition.pre}
+{ ", " } % (default)
+
+% The string after edition:
+%
+FUNCTION {bst.edition.post}
+{ " edition" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% volume
+
+% The string before volume:
+%
+FUNCTION {bst.volume.pre}
+{ " " }
+% { ", Vol. " } % (default)
+
+% The string after volume:
+%
+FUNCTION {bst.volume.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% number
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Hide number. If non-zero, number is suppressed.
+FUNCTION {bst.hide.number}
+% { #0 } % #0 -> show number field (default)
+{ #1 } % non-#0 -> Hide number field.
+
+% The string before number:
+%
+FUNCTION {bst.number.pre}
+{ ", No. " } % (default)
+
+% The string after number:
+%
+FUNCTION {bst.number.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% in
+
+% In
+%
+FUNCTION {bst.in}
+{ " in: " }
+% { " in " } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% page
+
+% The string before page (multiple pages):
+%
+FUNCTION {bst.pages.pre}
+{ " " }
+% { ", pp." } % (default)
+
+% The string before page:
+%
+FUNCTION {bst.page.pre}
+{ ", p." } % (default)
+
+% The string after page (multiple pages):
+%
+FUNCTION {bst.pages.post}
+{ "" } % (default)
+
+% The string after page:
+%
+FUNCTION {bst.page.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% chapter
+
+% The string before chapter:
+%
+FUNCTION {bst.chapter.pre}
+{ ", Chap." } % (default)
+
+% The string after chapter:
+%
+FUNCTION {bst.chapter.post}
+{ ", " }
+% { "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% month
+
+% The string before month:
+%
+FUNCTION {bst.month.pre}
+{ ", " } % (default)
+
+% The string after month:
+%
+FUNCTION {bst.month.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% address
+% The string before address:
+%
+FUNCTION {bst.address.pre}
+{ ", " } % (default)
+
+% The string after address:
+%
+FUNCTION {bst.address.post}
+{ "," }
+% { "" } % (default)
+
+% You can choose the order of address and publisher by this function.
+%
+% If #0, address -> publisher order (the default value).
+% If non-zero, publisher -> address order.
+
+FUNCTION {bst.address.position}
+% { #0 } % Address is placed before publisher (default)
+{ #1 } % Address is placed after publisher
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% publisher
+
+% The string before publisher:
+%
+FUNCTION {bst.publisher.pre}
+{ ", " }
+% { ": " } % (default)
+
+% The string after publisher:
+%
+FUNCTION {bst.publisher.post}
+{ "," }
+% { "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% series
+
+% The string before series:
+%
+FUNCTION {bst.series.pre}
+{ ", " } % (default)
+
+% The string after series:
+%
+FUNCTION {bst.series.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% organization
+
+% The string before organization:
+%
+FUNCTION {bst.organization.pre}
+{ ", " } % (default)
+
+% The string after organization:
+%
+FUNCTION {bst.organization.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% school
+
+% The string before school:
+%
+FUNCTION {bst.school.pre}
+{ ", " } % (default)
+
+% The string after school:
+%
+FUNCTION {bst.school.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% institution
+
+% The string before institution:
+%
+FUNCTION {bst.institution.pre}
+{ ", " } % (default)
+
+% The string after institution:
+%
+FUNCTION {bst.institution.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% howpublished
+
+% The string before howpublished:
+%
+FUNCTION {bst.howpublished.pre}
+{ " " } % (default)
+
+% The string after howpublished:
+%
+FUNCTION {bst.howpublished.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% url
+
+% Show or Hide url. If non-zero, url is displayed. Otherwise, url is suppressed.
+FUNCTION {bst.show.url}
+{ #1 } % non-#0 -> Show url field (default)
+% { #0 } % #0 -> Not show url field.
+
+% The string before url:
+%
+FUNCTION {bst.url.pre}
+{ ", URL: \url{" } % (default)
+
+% The string after url:
+%
+FUNCTION {bst.url.post}
+{ "}" } % (default)
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Access
+
+% This setting is valid only if there are "access" field in bib
+% files. The value of access field indicates accessed date for URL.
+
+% The string before access.
+FUNCTION {bst.access.pre}
+{ ", accessed on " } % (default)
+
+% The string after access.
+FUNCTION {bst.access.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% DOI (digital object identifier)
+
+% This setting is valid only if there are "doi" field in bib files.
+
+% Show or Hide DOI. If non-zero, DOI is displayed. Otherwise, DOI is suppressed.
+FUNCTION {bst.show.doi}
+{ #1 } % non-#0 -> Show DOI field (default)
+% { #0 } % #0 -> Not show DOI field.
+
+% The string before DOI:
+%
+FUNCTION {bst.doi.pre}
+{ ", DOI: \href{http://dx.doi.org/" doi * "}{" * } % (default)
+
+% The string after DOI:
+%
+FUNCTION {bst.doi.post}
+{ "}" } % (default)
+
+FUNCTION {bst.doi.post.jp}
+{ "}" } % (default)
+
+% How to show URL and DOI fields when both fields exist.
+%
+% #0 -> Both fields are displayed
+% #1 -> Only URL field is displayed
+% #2 -> Only DOI field is displayed
+%
+FUNCTION {bst.url.doi}
+% { #0 } % (default) -> Both fields are displayed
+% { #1 } % -> Only URL field is displayed
+{ #2 } % -> Only DOI field is displayed
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Other functions:
+
+% The string before note.
+FUNCTION {bst.note.pre}
+{ ", " } % (default)
+
+% The string after note.
+FUNCTION {bst.note.post}
+{ "" } % (default)
+
+% The string that represents Technical report:
+%
+FUNCTION {bst.techrep}
+{ " Tech. Rep." } % (default)
+
+% The string that represents master thesis:
+%
+FUNCTION {bst.mthesis}
+{ " Master's thesis" } % (default)
+
+% The string that represents phd thesis:
+%
+FUNCTION {bst.phdthesis}
+{ " Ph.D. dissertation" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% Functions for customization end here:
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION {bst.first}
+{ "1st" }
+
+FUNCTION {bst.second}
+{ "2nd" }
+
+FUNCTION {bst.third}
+{ "3rd" }
+
+FUNCTION {bst.fourth}
+{ "4th" }
+
+FUNCTION {bst.fifth}
+{ "5th" }
+
+FUNCTION {bst.st}
+{ "st" }
+
+FUNCTION {bst.nd}
+{ "nd" }
+
+FUNCTION {bst.rd}
+{ "rd" }
+
+FUNCTION {bst.th}
+{ "th" }
+
+%%%%% memo by Takeda
+
+% "a" 'b := indicates substituting string "a" for variable b.
+
+% Integer number #0, #1,...
+
+%%% Function definition:
+%
+% FUNCTION {name}
+% { 's :=
+%
+% }
+%
+% This is the definition of a function named "name". The function "name" is
+% used in the following way
+%
+% "foo" name
+% "foo" is an argument for the function "name".
+%
+% About the definition of a function with more than two arguments, see the
+% definition of "chop.word".
+
+%%% Declaration of variables:
+
+%% String global variables:
+STRINGS { s t tt }
+STRINGS { year.num }
+STRINGS { preone preten }
+STRINGS { last.sort.label next.extra prev.author prev.author.aer this.author }
+STRINGS { hang }
+STRINGS { item.type }
+STRINGS { tempa tempb }
+
+%% Integer global variables:
+INTEGERS { nameptr namesleft numnames name.num }
+INTEGERS { multiresult }
+INTEGERS { index }
+INTEGERS { len }
+INTEGERS { last.extra.num }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+INTEGERS { last.period.comma }
+INTEGERS { len1.aer len2.aer i.aer }
+
+%%% Definition of functions:
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+%%% Initialize variables:
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+%%% Remove comma and add period:
+%
+%%%
+FUNCTION {add.period.x}
+{ duplicate$
+ #-1 #1 substring$ "," =
+ { #-2 global.max$ substring$ "." * }
+ { duplicate$
+ #-1 #2 substring$ ". " =
+ { #-3 global.max$ substring$ "." * }
+ { duplicate$
+ #-1 #2 substring$ ", " =
+ { #-3 global.max$ substring$ "." * }
+ { duplicate$
+ #-1 #2 substring$ ",'" =
+ { #-3 global.max$ substring$ ".'" * }
+ { duplicate$
+ #-1 #2 substring$ ".'" =
+ { #-3 global.max$ substring$ ".'" * }
+ { duplicate$
+ #-1 #2 substring$ ".~" =
+ { #-3 global.max$ substring$ ".~" * }
+ { duplicate$
+ #-1 #2 substring$ ",~" =
+ { #-3 global.max$ substring$ ".~" * }
+ { duplicate$
+ #-1 #3 substring$ ",''" =
+ { #-4 global.max$ substring$ ".''" * }
+ { duplicate$
+ #-1 #3 substring$ ".''" =
+ { #-4 global.max$ substring$ ".''" * }
+ { add.period$ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ % mid.sentence
+ output.state mid.sentence =
+ { ", " * write$ }
+ % not mid.sentence
+ { output.state after.block =
+ % after.block
+ { add.period.x " " * write$ }
+ % before.all
+ { output.state before.all =
+ 'write$
+ { add.period.x " " * write$ }
+ if$
+ }
+ if$
+ % not mid.sentence, set to mid.sentence
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+%%% If the last character is period or comma, set non-zero to
+%%% last.period.comma.
+FUNCTION {period.comma.p}
+{ duplicate$ 't :=
+ t #-1 #1 substring$ "." =
+ t #-1 #1 substring$ "," = or
+ t #-1 #1 substring$ ":" = or
+ t #-1 #2 substring$ ".'" = or
+ t #-1 #2 substring$ ",'" = or
+ t #-1 #3 substring$ ".''" = or
+ t #-1 #3 substring$ ",''" = or
+ t #-1 #2 substring$ ".~" = or
+ t #-1 #2 substring$ ",~" = or
+ { #1 'last.period.comma := }
+ { #0 'last.period.comma := }
+ if$
+}
+
+%%% remove unnecessary comma.
+FUNCTION {remove.pre.comma}
+{ 's :=
+ s empty$
+ { "" }
+ { s #1 #1 substring$ "," =
+ { s #2 global.max$ substring$ }
+ { s #1 #1 substring$ "." =
+ { s #2 global.max$ substring$ }
+ 's
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% output.nonnull.nocomma is the same as output.nonnull except that it does
+%%% not add commas even in mid.sentence.
+FUNCTION {output.nonnull.nocomma}
+{ 's :=
+ output.state mid.sentence =
+ % mid.sentence
+ { period.comma.p "" * write$ }
+
+ % not mid.sentence
+ { output.state after.block =
+ % after.block
+ { add.period.x " " * write$ }
+ % before.all
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ last.period.comma #0 =
+ { s }
+ { s remove.pre.comma }
+ if$
+}
+
+% Not used in the current econ.bst.
+% FUNCTION {output}
+% { duplicate$ empty$
+% 'pop$
+% 'output.nonnull
+% if$
+% }
+
+FUNCTION {output.nocomma}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull.nocomma
+ if$
+}
+
+% Not used in the current econ.bst.
+% FUNCTION {output.check}
+% { 't :=
+% duplicate$ empty$
+% { pop$ "empty " t * " in " * cite$ * warning$ }
+% 'output.nonnull
+% if$
+% }
+
+FUNCTION {output.check.nocomma}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull.nocomma
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%% Format in bbl file:
+
+% \harvarditem[Brezis et~al.]{Brezis, Krugman and
+% Tsiddon}{1993}{brezis93:_leapf_inter_compet}
+% Brezis, Elise~S., Paul~R. Krugman, and Daniel Tsiddon (1993) ``Leapfrogging in
+% International Competition: A Theory of Cycles in National Technological
+% Leadership.'', {\em American Economic Review.}, Vol.~83. No.~5. pp.
+% 1211--1219.
+
+% \harvarditem[abbreviated citation]{full citation}{year}{keyword} ...
+
+%%% Add period and newline.
+FUNCTION {fin.entry}
+{ add.period.x
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {new.block.check}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+%%% booktitle
+FUNCTION {format.btitle}
+{ booktitle empty$
+ { "" }
+ { bst.btitle.pre booktitle * bst.btitle.post * }
+ if$
+}
+
+%%% journal
+FUNCTION {format.journal}
+{ journal empty$
+ { "" }
+ { bst.journal.pre journal * bst.journal.post * }
+ if$
+}
+
+%%% title for book
+FUNCTION {format.book}
+{ title empty$
+ { "" }
+ { bst.book.pre title * bst.book.post * }
+ if$
+}
+
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { type$ "online" = bst.show.url or
+ { bst.url.pre url * bst.url.post *
+ access empty$
+ { "" * }
+ { bst.access.pre * access * bst.access.post * }
+ if$
+ }
+ { "" }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.doi}
+{ doi empty$ bst.show.doi not or
+ { "" }
+ { bst.doi.pre doi * bst.doi.post * }
+ if$
+}
+
+FUNCTION {format.url.doi}
+{ url empty$
+ { format.doi }
+ { doi empty$
+ { format.url }
+ { bst.url.doi #0 =
+ { format.url output.nocomma
+ format.doi }
+ { bst.url.doi #1 =
+ { format.url }
+ { format.doi }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% and others
+FUNCTION {bst.and.others.output}
+{ nameorder.temp "random" =
+ bst.use.nameorder #0 = not and
+ { bst.and.others.nameorder }
+ { bst.and.others }
+ if$
+}
+
+%%% author and editor
+
+%%% name
+FUNCTION {format.names}
+{ 's :=
+ % insert 1 to nameptr.
+ #1 'nameptr :=
+ % Set the number of authors to numnames.
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ % Repeat if namesleft > 0
+ { namesleft #0 > }
+ { nameptr #1 =
+ % First author
+ { bst.author.name #0 =
+ bst.author.name #1 =
+ or
+ { bst.first.name.initial #0 =
+ { s nameptr "{vv~}{ll}{, ff}{, jj}" format.name$ 't := }
+ { s nameptr "{vv~}{ll}{, f.}{, jj}" format.name$ 't := }
+ if$
+ }
+ { bst.first.name.initial #0 =
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't := }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := }
+ if$
+ }
+ if$
+ }
+ % The second or later authors
+ { bst.author.name #0 =
+ bst.author.name #2 =
+ or
+ { bst.first.name.initial #0 =
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't := }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := }
+ if$
+ }
+ { bst.first.name.initial #0 =
+ { s nameptr "{vv~}{ll}{, ff}{, jj}" format.name$ 't := }
+ { s nameptr "{vv~}{ll}{, f.}{, jj}" format.name$ 't := }
+ if$
+ }
+ if$
+ }
+ if$
+
+ nameptr #1 >
+ % The second or later authors
+ { nameorder.temp "random" =
+ bst.use.nameorder #0 = not and
+ { bst.and.nameorder * t * }
+ { namesleft #1 >
+ % More than one authors left
+ { ", " * t * }
+ % Only one author left
+ { t "others" =
+ { bst.and.others.output * }
+ { numnames #2 =
+ % Entry with two authors
+ { bst.and * t * }
+ { bst.ands * t * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+% remove successive periods (commas) from author
+FUNCTION {remove.ss.period.auth}
+{ 's :=
+ s format.names 'tempa :=
+ bst.author.post 'tempb :=
+ tempb #1 #1 substring$ "}" =
+ { tempa tempb * }
+ { tempa #-1 #1 substring$ tempb #1 #1 substring$ =
+ { tempa tempb #2 global.max$ substring$ * }
+ { tempa tempb * }
+ if$
+ }
+ if$
+}
+
+% <prev name list> <new name list> compare.names <modified name list>
+FUNCTION {compare.names.aer}
+{ 's :=
+ 'tempa :=
+
+% "current.author = " s * "\\" * write$ newline$
+% "prev.author = " tempa * "\\" * write$ newline$
+
+ tempa num.names$ 'len1.aer := % len1 = the number of previous authors
+ s num.names$ 'len2.aer := % len2 = the number of current authors
+
+% len1.aer := min(len1.aer,len2.aer)
+% len1 -> min{ the number of previous authors, the number of current authors }
+ len1.aer len2.aer >
+ { len2.aer 'len1.aer := }
+ { }
+ if$
+
+% start with an empty string, then while the components are the same
+% add "\bysame"
+ ""
+ #1 'i.aer :=
+
+ { i.aer len1.aer > not }
+ { tempa i.aer "{ff }{vv }{ll}{ jj}" format.name$
+ s i.aer "{ff }{vv }{ll}{ jj}" format.name$
+ =
+ { #1 i.aer <
+ { " and " * } % \bysame ã§çœç•¥ã™ã‚‹è‘—者ã®å‰ã«ã¤ã and
+ { }
+ if$
+ "\bysame{}" *
+ i.aer #1 + 'i.aer := }
+ { #-1 'len1.aer := }
+ if$
+ }
+ while$
+
+% add the rest of the second string
+ { i.aer len2.aer > not }
+ { #1 i.aer <
+ { " and " * }
+ { }
+ if$
+ s i.aer "{ff }{vv }{ll}{ jj}" format.name$ *
+ i.aer #1 + 'i.aer :=
+ }
+ while$
+}
+
+%%% author
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { bst.use.bysame #2 =
+ { prev.author.aer author compare.names.aer 's :=
+ author 'prev.author.aer := }
+ { author 's := }
+ if$
+ extra.label.bysame "bysame" =
+ { "\bysame " }
+ { bst.author.pre s remove.ss.period.auth * }
+ if$
+ }
+ if$
+}
+
+%%% editor
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { bst.use.bysame #2 =
+ { prev.author.aer editor compare.names.aer 's :=
+ editor 'prev.author.aer := }
+ { editor 's := }
+ if$
+ extra.label.bysame "bysame" =
+ { "\bysame " }
+ { bst.author.pre s remove.ss.period.auth * }
+ if$
+ s num.names$ #1 >
+ { bst.editors * }
+ { bst.editor * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.authors.alt}
+{ author empty$
+ { "" }
+ { extra.label.bysame "bysame" =
+ {"\bysame "}
+ { bst.author.pre author remove.ss.period.auth * }
+ if$
+ }
+ if$
+}
+
+%%% editor
+FUNCTION {format.editors.alt}
+{ editor empty$
+ { "" }
+ { extra.label.bysame "bysame" =
+ { "\bysame " }
+ { bst.author.pre editor remove.ss.period.auth * }
+ if$
+ editor num.names$ #1 >
+ { bst.editors * }
+ { bst.editor * }
+ if$
+ }
+ if$
+}
+
+%%% format.in.ed.booktitle
+FUNCTION {format.editors.x}
+{ editor empty$
+ { "" }
+ { bst.editor.btitle.order #0 =
+ { "" }
+ { editor num.names$ #1 >
+ { bst.editors " by " * }
+ { bst.editor " by " * }
+ if$
+ }
+ if$
+ editor format.names *
+ bst.editor.btitle.order #0 =
+ { editor num.names$ #1 >
+ { bst.editors * }
+ { bst.editor * }
+ if$
+ }
+ { "" * }
+ if$
+ }
+ if$
+}
+
+%%% Remove commas in the cases like "?." and "?,".
+FUNCTION {remove.irrelevant.period.comma}
+{ 's :=
+ s empty$
+ { "" }
+ { s #-1 #3 substring$ "?,'" =
+ s #-1 #3 substring$ "?.'" = or
+ { s #-3 global.max$ substring$ "'" * }
+ { s #-1 #4 substring$ "?,''" =
+ s #-1 #4 substring$ "?.''" = or
+ { s #-4 global.max$ substring$ "''" * }
+ { s #-1 #2 substring$ "?," =
+ s #-1 #2 substring$ "?." = or
+ { s #-2 global.max$ substring$ "" * }
+ { s #-1 #3 substring$ "?,~" =
+ s #-1 #3 substring$ "?.~" = or
+ { s #-4 global.max$ substring$ "?~" * }
+ 's
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% title
+FUNCTION {format.title.sub}
+{ bst.title.lower.case #0 =
+ { bst.title.pre title * bst.title.post * }
+ { bst.title.pre title "t" change.case$ * bst.title.post * }
+ if$
+}
+
+%%% title
+FUNCTION {format.title}
+{ title empty$
+ bst.hide.title #0 = not or
+ { "" }
+ { format.title.sub remove.irrelevant.period.comma }
+ if$
+}
+
+%%% title for misc.
+FUNCTION {format.misc.title}
+{ title empty$
+ { "" }
+ { bst.title.pre title * bst.title.post * }
+ if$
+}
+
+% Convert "-" to "--" (for pages field)
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ %% while$
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+%%% year
+FUNCTION {format.year}
+{ year empty$
+ { "there's no year in " cite$ * warning$
+ ", " }
+ { type$ "article" =
+ { bst.year.pre year * extra.label * bst.year.post * }
+ { bst.year.na.pre year * extra.label * bst.year.na.post * }
+ if$
+ }
+ if$
+}
+
+%%% page for book
+FUNCTION {format.book.pages}
+{ pages empty$
+ { "" }
+ { bst.pages.pre pages * bst.pages.post * }
+ if$
+}
+
+%%% Attach tie for the string with two or less characters.
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+%%% volume for book
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bst.volume.pre volume * bst.volume.post *
+ series empty$
+ 'skip$
+ %% If there is series field
+ { " of " * series * bst.series.post * }
+ if$
+% "volume and number" number either.or.check
+ }
+ if$
+}
+
+%%% series
+FUNCTION {output.series}
+{ series empty$
+ { "" }
+ { bst.series.pre series * bst.series.post * }
+ if$
+}
+
+%%% number and series
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ bst.hide.month #0 = not or
+ % number is empty
+ { series empty$
+ { "" }
+ % series is not empty.
+ { output.series }
+ if$
+ }
+ % number is not empty$
+ { series empty$
+ { bst.number.pre number * bst.number.post * }
+ % series is not empty.
+ { bst.in bst.series.pre * series * bst.series.post *
+ bst.number.pre * number * bst.number.post * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+%%% Number or not.
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% edition
+
+% Convert edition to 1st, 2nd, 3rd, 4th etc
+FUNCTION {eng.ord}
+{ duplicate$ "1" swap$ *
+ #-2 #1 substring$ "1" =
+ { bst.th * }
+ { duplicate$ #-1 #1 substring$
+ duplicate$ "1" =
+ { pop$ bst.st * }
+ { duplicate$ "2" =
+ { pop$ bst.nd * }
+ { "3" =
+ { bst.rd * }
+ { bst.th * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+% Convert first, second etc in edition field to 1st, 2nd (from jfm.bst)
+FUNCTION {convert.edition}
+{ edition extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bst.first }
+ { s "second" = s "2" = or
+ { bst.second }
+ { s "third" = s "3" = or
+ { bst.third }
+ { s "fourth" = s "4" = or
+ { bst.fourth }
+ { s "fifth" = s "5" = or
+ { bst.fifth }
+ { s #1 #1 substring$ is.num
+ { s eng.ord }
+ { edition }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% edition
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { bst.edition.pre convert.edition "l" change.case$ * bst.edition.post * }
+ { bst.edition.pre convert.edition "t" change.case$ * bst.edition.post * }
+ if$
+ }
+ if$
+}
+
+%%% month
+FUNCTION {format.month}
+{ month empty$
+ bst.hide.month #0 = not or
+ { "" }
+ { bst.month.pre month * bst.month.post * }
+ if$
+}
+
+%%% year and month
+FUNCTION {format.date}
+{ format.month format.year *
+}
+
+%%% Is multiple pages like 1-100?
+FUNCTION { multi.page.check }
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+%%% pages
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { bst.pages.pre pages n.dashify tie.or.space.connect * bst.pages.post }
+ { bst.page.pre pages tie.or.space.connect * bst.page.post }
+ if$
+ }
+ if$
+}
+
+%%% number
+FUNCTION {format.number}
+{ number empty$
+ bst.hide.number #0 = not or
+ { "" }
+ { bst.number.pre number * bst.number.post * }
+ if$
+}
+
+%%% volume
+FUNCTION {format.volume}
+{ volume empty$
+ 'skip$
+ { bst.volume.pre volume * bst.volume.post *
+ bst.year.position #3 =
+ { format.year * }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+%%% number, page
+FUNCTION {format.number.pages}
+{ number empty$
+ { format.pages }
+ { format.number format.pages * }
+ if$
+}
+
+%%% volume, page
+FUNCTION {format.volume.pages}
+{ volume empty$
+ { format.pages }
+ { format.volume format.pages * }
+ if$
+}
+
+%%% volume, number, page
+FUNCTION {format.volume.number.pages}
+{ volume empty$
+ { number empty$
+ { format.pages }
+ { format.number format.pages * }
+ if$
+ }
+ { number empty$
+ { format.volume format.pages * }
+ { format.volume format.number * format.pages * }
+ if$
+ }
+ if$
+}
+
+% volume, number, page
+FUNCTION {format.vol.num.pages}
+{ volume empty$
+ %% volume is empty.
+ { number empty$
+ %% number is empty.
+ { pages empty$
+ % warning
+ { "there is no volume, number, and pages in " cite$ * warning$ "" }
+ { "" format.pages * }
+ if$
+ }
+ %% number is not empty.
+ % warning
+ { "there's a number but no volume in " cite$ * warning$
+ format.number.pages }
+ if$
+ }
+ %% volume is not empty.
+ { number empty$
+ %% number is empty.
+ { format.volume.pages }
+ %% number is not empty.
+ { format.volume.number.pages }
+ if$
+ }
+ if$
+}
+
+%%% chapter
+FUNCTION {format.chapter}
+{ chapter empty$
+ { "" }
+ { type empty$
+ { bst.chapter.pre chapter tie.or.space.connect * bst.chapter.post }
+ { ", " * type " " * chapter * }
+ if$
+ }
+ if$
+}
+
+%%% chapter, pages
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ { pages empty$
+ { "" }
+ { "" format.pages * }
+ if$
+ }
+ { pages empty$
+ { "" format.chapter * }
+ { "" format.chapter * format.pages * }
+ if$
+ }
+ if$
+}
+
+%%% editor and booktitle
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { bst.in format.btitle * }
+ { bst.editor.btitle.order #0 =
+ { bst.in format.editors.x * " " * format.btitle * }
+ { bst.in format.btitle * " " * format.editors.x * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% howpublished
+FUNCTION {format.howpublished}
+{ howpublished empty$
+ { "" }
+ { bst.howpublished.pre howpublished * bst.howpublished.post * }
+ if$
+}
+
+%%% address
+FUNCTION {format.address}
+{ address empty$
+ { "" }
+ { bst.address.pre address * bst.address.post * }
+ if$
+}
+
+%%% publisher
+FUNCTION {format.publisher}
+{ publisher empty$
+ { "" }
+ { bst.publisher.pre publisher * bst.publisher.post * }
+ if$
+}
+
+%%% organization
+FUNCTION {format.organization}
+{ organization empty$
+ { "" }
+ { bst.organization.pre organization * bst.organization.post * }
+ if$
+}
+
+%% publisher and address
+FUNCTION {output.publisher.address}
+{ address empty$
+ { format.publisher "publisher" output.check.nocomma }
+ { bst.address.position #0 =
+ { format.address output.nocomma
+ format.publisher "publisher" output.check.nocomma }
+ { format.publisher "publisher" output.check.nocomma
+ format.address output.nocomma }
+ if$
+ }
+ if$
+}
+
+%% address, organization, publisher
+FUNCTION {output.address.organization.publisher}
+{ address empty$
+ %% address is empty
+ { organization empty$
+ %% organization is empty
+ { publisher empty$
+ 'skip$
+ { format.publisher "publisher" output.check.nocomma }
+ if$
+ }
+ %% organization is not empty
+ { publisher empty$
+ { format.organization "organization" output.check.nocomma }
+ { format.organization "organization" output.check.nocomma
+ format.publisher "publisher" output.check.nocomma }
+ if$
+ }
+ if$
+ }
+ %% address is not empty
+ { organization empty$
+ %% organization is empty
+ { publisher empty$
+ %% publisher is empty
+ { format.address output.nocomma }
+ %% publisher is not empty
+ { bst.address.position #0 =
+ { format.address output.nocomma
+ format.publisher "publisher" output.check.nocomma }
+ { format.publisher "publisher" output.check.nocomma
+ format.address output.nocomma }
+ if$
+ }
+ if$
+ }
+ %% organization is not empty
+ { publisher empty$
+ %% publisher is empty
+ { format.organization "organization" output.check.nocomma
+ format.address output.nocomma }
+ %% publisher is not empty
+ { format.organization "organization" output.check.nocomma
+ bst.address.position #0 =
+ { format.address output.nocomma
+ format.publisher "publisher" output.check.nocomma }
+ { format.publisher "publisher" output.check.nocomma
+ format.address output.nocomma }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% misc
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$ " " type * }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ { " " type * }
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+%%% phdthesis
+FUNCTION {format.phd}
+{ bst.phdthesis }
+
+%%% mastersthesis
+FUNCTION {format.mthesis}
+{ bst.mthesis }
+
+%%% school
+FUNCTION {format.school}
+{ school empty$
+ { "" }
+ { bst.school.pre school * bst.school.post * }
+ if$
+}
+
+%%% institution
+FUNCTION {format.institution}
+{ institution empty$
+ { "" }
+ { bst.institution.pre institution * bst.institution.post * }
+ if$
+}
+
+%%% remove first ? characters.
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.note}
+{ note empty$
+ { "" }
+ { bst.note.pre note * bst.note.post * }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \havarditem
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\harvarditem[" write$
+ alabel write$ % alabel <- abbreviated citation
+ "]{" write$
+ flabel write$ % flabel <- full citation
+ "}{" write$
+ cyear write$
+ % cyear = year
+ "}{" write$
+ cite$ write$ % cite$ -> pusch keyword
+ "}" write$
+ % If number index is on
+ bst.use.number.index #0 =
+ 'skip$
+ { index #1 + 'index :=
+ "" 'preone :=
+ "" 'preten :=
+ bst.number.index.digit "1" =
+ 'skip$
+ { bst.number.index.digit "2" =
+ { "\hskip0.5em" 'preone := }
+ { bst.number.index.digit "3" =
+ { "\hskip1em" 'preone :=
+ "\hskip0.5em" 'preten := }
+ 'skip$
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ newline$
+ before.all 'output.state :=
+ ""
+ % number index
+ bst.use.number.index #0 =
+ 'skip$
+ { index #10 <
+ % Insert spaces according to digit of number index.
+ { preone }
+ { index #100 <
+ { preten }
+ { "" }
+ if$
+ }
+ if$
+ bst.number.index.pre * index int.to.str$ * bst.number.index.post * write$
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% article
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+
+ format.journal "journal" output.check.nocomma
+ bst.year.position #2 =
+ { format.date output.nocomma }
+ 'skip$
+ if$
+ format.vol.num.pages output.nocomma
+
+ bst.year.position #1 =
+ { format.date output.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% book
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check.nocomma }
+ { format.authors output.nonnull.nocomma
+ "author and editor" editor either.or.check
+ }
+ if$
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.book "title" output.check.nocomma
+
+ format.bvolume output.nocomma
+ format.number.series output.nocomma
+ output.publisher.address
+
+ format.edition output.nocomma
+ format.book.pages output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% booklet
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output.nocomma
+ format.year output.nocomma
+ format.misc.title "title" output.check.nocomma
+ format.howpublished output.nocomma
+ format.address output.nocomma
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% inbook
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check.nocomma }
+ { format.authors output.nonnull.nocomma
+ "author and editor" editor either.or.check
+ }
+ if$
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+% format.book remove.pre.comma "title" output.check.nocomma
+ format.book "title" output.check.nocomma
+ format.edition output.nocomma
+
+ format.bvolume output.nocomma
+ format.chapter.pages "chapter and pages" output.check.nocomma
+ format.number.series output.nocomma
+ output.publisher.address
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% incollection
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+
+ format.in.ed.booktitle "booktitle" output.check.nocomma
+ format.bvolume output.nocomma
+ output.address.organization.publisher
+ format.edition output.nocomma
+ format.chapter.pages output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% inproceedings
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+
+ format.in.ed.booktitle "booktitle" output.check.nocomma
+ format.bvolume output.nocomma
+ format.number.series output.nocomma
+ format.pages output.nocomma
+ output.address.organization.publisher
+
+ bst.year.position #0 = not
+ { format.date output.nocomma }
+ { format.month output.nocomma }
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% conference
+
+FUNCTION {conference}
+{ inproceedings }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% manual
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull.nocomma
+ address output.nocomma
+ }
+ if$
+ }
+ { format.authors output.nonnull.nocomma }
+ if$
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.book "title" output.check.nocomma
+ author empty$
+ { organization empty$
+ { format.address new.block.check
+ format.address output.nocomma
+ }
+ 'skip$
+ if$
+ }
+ { output.address.organization.publisher }
+ if$
+ format.edition output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% mastersthesis
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+ format.mthesis format.thesis.type output.nonnull.nocomma
+ format.school "school" output.check.nocomma
+ format.address output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% misc
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.misc.title output.nocomma
+ format.howpublished output.nocomma
+
+ bst.year.position #0 = not
+ { format.date output.nocomma }
+ { format.month output.nocomma }
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+ empty.misc.check
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Online
+
+FUNCTION {online}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.misc.title output.nocomma
+ format.howpublished output.nocomma
+
+ bst.year.position #0 = not
+ { format.date output.nocomma }
+ { format.month output.nocomma }
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+ empty.misc.check
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% phdthesis
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.book "title" output.check.nocomma
+ format.phd
+ format.thesis.type output.nonnull.nocomma
+ format.school "school" output.check.nocomma
+ address empty$
+ 'skip$
+ { format.address output.nocomma }
+ if$
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% proceedings
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output.nocomma }
+ { format.editors output.nonnull.nocomma }
+ if$
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.btitle remove.pre.comma "title" output.check.nocomma
+ format.bvolume output.nocomma
+ format.number.series output.nocomma
+ output.address.organization.publisher
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% techreport
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+ format.tr.number output.nonnull.nocomma
+ format.institution "institution" output.check.nocomma
+ format.address output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% unpublished
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+
+ bst.year.position #0 = not
+ { format.date remove.pre.comma output.nocomma }
+ { month empty$
+ 'skip$
+ { format.month remove.pre.comma output.nocomma }
+ if$
+ }
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note "note" output.check.nocomma
+ fin.entry
+}
+
+FUNCTION {default.type}
+{ misc }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Alias for month names:
+
+MACRO {jan} {"January"}
+MACRO {feb} {"February"}
+MACRO {mar} {"March"}
+MACRO {apr} {"April"}
+MACRO {may} {"May"}
+MACRO {jun} {"June"}
+MACRO {jul} {"July"}
+MACRO {aug} {"August"}
+MACRO {sep} {"September"}
+MACRO {oct} {"October"}
+MACRO {nov} {"November"}
+MACRO {dec} {"December"}
+
+%%% Read entries:
+READ
+
+%%% Variable for remembering the order of citation.
+INTEGERS { order.num }
+FUNCTION {initialize.order.num}
+{
+ #1 'order.num :=
+}
+%%% Initialize a variables
+EXECUTE {initialize.order.num}
+
+%%% Variable for remembering the order of citation.
+FUNCTION {set.order.cited}
+{
+ order.num 'order.cited :=
+ #1 order.num + 'order.num :=
+}
+%%% Iterate for all entries:
+ITERATE {set.order.cited}
+
+%%% check the value of nameorder field.
+FUNCTION {set.nameorder}
+{ nameorder empty$
+ { "" 'nameorder.temp := }
+ { nameorder 'nameorder.temp := }
+ if$
+}
+%%% Iterate for all entries:
+ITERATE {set.nameorder}
+
+%%% Remove symbols and convert to lowercase.
+FUNCTION {sortify}
+{ purify$ "l" change.case$ }
+
+%%% names for sorting
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { ", " * }
+ 'skip$
+ if$
+ s nameptr "{ll}{ f}{ j}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { bst.and.others.output *}
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.names.abb}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames bst.and.others.num <
+ { s sort.format.names }
+ { s #1 "{ll}{ f}{ j}" format.name$ " zz " * }
+ if$
+}
+
+%%% Label for full author name.
+FUNCTION {format.lab.names.full}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { nameorder.temp "random" = bst.use.nameorder #0 = not and
+ { bst.and.nameorder * t * }
+ { ", " * t * }
+ if$
+ }
+ { t "others" =
+ { bst.and.others.output * }
+ { numnames #2 >
+ { nameorder.temp "random" = bst.use.nameorder #0 = not and
+ { bst.cite.and.nameorder * t * }
+ { bst.cite.ands * t * }
+ if$
+ }
+ { nameorder.temp "random" = bst.use.nameorder #0 = not and
+ { bst.cite.and.nameorder * t * }
+ { bst.cite.and * t * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #1 > #1 #2 = and {", eds" *} {} if$
+ numnames #1 = #1 #2 = and {", ed" *} {} if$
+}
+
+%%% laberl for abbreviated author name.
+FUNCTION {format.lab.names.abb}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames bst.and.others.num <
+ % if the number of authors is less than bst.and.others.num, full name.
+ { s format.lab.names.full }
+ % if the number of authors is equal or more than bst.and.others.num, abbreviated name.
+ { s #1 "{ll}" format.name$ bst.and.others.output * }
+ if$
+}
+
+%%% abbreviated author
+FUNCTION {author.key.label.abb}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names.abb }
+ if$
+}
+
+%%% full author
+FUNCTION {author.key.label.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names.full }
+ if$
+}
+
+FUNCTION {format.names.full.wo.and}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ll}{, ff}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { " " * t * }
+ { t "others" =
+ { " " * }
+ { numnames #2 >
+ { " " * t * }
+ { " " * t * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.key.full.wo.and}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.names.full.wo.and }
+ if$
+}
+
+FUNCTION {author.editor.key.full.wo.and}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.names.full.wo.and }
+ if$
+ }
+ { author format.names.full.wo.and }
+ if$
+}
+
+FUNCTION {editor.key.organization.key.full.wo.and}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.names.full.wo.and }
+ if$
+}
+
+FUNCTION {author.key.organization.key.full.wo.and}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.names.full.wo.and }
+ if$
+}
+
+%%% abbreviated author
+FUNCTION {author.editor.key.label.abb}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names.abb }
+ if$
+ }
+ { author format.lab.names.abb }
+ if$
+}
+
+%%% full author
+FUNCTION {author.editor.key.label.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names.full }
+ if$
+ }
+ { author format.lab.names.full }
+ if$
+}
+
+FUNCTION {author.key.organization.label.full}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names.full }
+ if$
+}
+
+FUNCTION {author.key.organization.label.abb}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names.abb }
+ if$
+}
+
+FUNCTION {editor.key.organization.label.full}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names.full }
+ if$
+}
+
+FUNCTION {editor.key.organization.label.abb}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names.abb }
+ if$
+}
+
+%%% Convert numbers: 0->9, 1->8, 2->7,..., 9->0
+FUNCTION {reverse.num}
+{ 's :=
+ s "1" =
+ { "8" 'year.num := }
+ { s "2" =
+ { "7" 'year.num := }
+ { s "3" =
+ { "6" 'year.num := }
+ { s "4" =
+ { "5" 'year.num := }
+ { s "5" =
+ { "4" 'year.num := }
+ { s "6" =
+ { "3" 'year.num := }
+ { s "7" =
+ { "2" 'year.num := }
+ { s "8" =
+ { "1" 'year.num := }
+ { s "9" =
+ { "0" 'year.num := }
+ { s "0" =
+ { "9" 'year.num := }
+ { "9" 'year.num := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ year.num
+}
+
+%%% Convert year (large number -> small number)
+FUNCTION {convert.year}
+{ 't :=
+ bst.reverse.year #0 =
+ { t 'tt := }
+ { t #1 #1 substring$ reverse.num
+ t #2 #1 substring$ reverse.num *
+ t #3 #1 substring$ reverse.num *
+ t #4 #1 substring$ reverse.num * 'tt := }
+ if$
+ tt
+}
+
+%%% cyear
+FUNCTION {calc.cyear}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full.wo.and
+ { type$ "proceedings" =
+ 'editor.key.organization.key.full.wo.and
+ { type$ "manual" =
+ 'author.key.organization.key.full.wo.and
+ 'author.key.full.wo.and
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ year empty$
+ { "2199" 'cyear := }
+ { year 'cyear := }
+ if$
+ year empty$
+ { " " "2199" convert.year * field.or.null * }
+ { " " year convert.year * field.or.null * }
+ if$
+ sortify 'sort.label :=
+ % For debug
+ econ.debug #0 = not
+ { "sort.label = ``\texttt{" write$
+ sort.label write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+ pop$
+}
+
+FUNCTION {calc.sort.label.abb}
+{ author empty$
+ { editor empty$
+ { "" }
+ { editor 's := }
+ if$
+ }
+ { author 's := }
+ if$
+ s sort.format.names.abb 't :=
+ year empty$
+ { t sortify " " * "2199" convert.year * 'sort.label.abb := }
+ { t sortify " " * year convert.year * 'sort.label.abb := }
+ if$
+ econ.debug #0 = not
+ { "sort.label.abb = ``\texttt{" write$
+ sort.label.abb write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+%%% flabel
+FUNCTION {calc.flabel}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label.full
+ { type$ "proceedings" =
+ 'editor.key.organization.label.full
+ { type$ "manual" =
+ 'author.key.organization.label.full
+ 'author.key.label.full
+ if$
+ }
+ if$
+ }
+ if$
+ 'flabel :=
+ % For debug
+ econ.debug #0 = not
+ { "flabel = ``\texttt{" write$
+ flabel write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+%%% alabel
+FUNCTION {calc.alabel}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label.abb
+ { type$ "proceedings" =
+ 'editor.key.organization.label.abb
+ { type$ "manual" =
+ 'author.key.organization.label.abb
+ 'author.key.label.abb
+ if$
+ }
+ if$
+ }
+ if$
+ 'alabel :=
+ % For debug
+ econ.debug #0 = not
+ { "alabel = ``\texttt{" write$
+ alabel write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+%%% title for sorting
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+%%% author for sorting
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+%%% editor for sorting
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+%%% 1,...,9 -> 001,...,009
+%%% 10,...,99 -> 010,...,099
+FUNCTION {add.zero.to.number}
+{ 's :=
+ s text.length$ #1 =
+ { "00" s * }
+ { s text.length$ #2 =
+ { "0" s * }
+ { s }
+ if$
+ }
+ if$
+}
+
+%% entry type
+FUNCTION {bst.sort.entry.type.order}
+{ 'item.type :=
+ item.type "article" =
+ { "01" }
+ { item.type "book" =
+ { "02" }
+ { item.type "booklet" =
+ { "03" }
+ { item.type "comment" =
+ { "04" }
+ { item.type "conference" =
+ { "05" }
+ { item.type "inbook" =
+ { "06" }
+ { item.type "incollection" =
+ { "07" }
+ { item.type "inproceedings" =
+ { "08" }
+ { item.type "manual" =
+ { "09" }
+ { item.type "masterthesis" =
+ { "10" }
+ { item.type "misc" =
+ { "11" }
+ { item.type "phdthesis" =
+ { "12" }
+ { item.type "proceedings" =
+ { "13" }
+ { item.type "techreport" =
+ { "14" }
+ { item.type "unpublished" =
+ { "15" }
+ { "16" }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% Create sort.key$: absorder -> author -> year -> order -> month -> title.
+FUNCTION {presort.one}
+{
+ bst.no.sort #0 = not
+ { order.cited int.to.str$ add.zero.to.number " " * }
+ { "" }
+ if$
+ bst.sort.year #0 = not
+ %% Use year field as the primary sorting key.
+ { year convert.year * }
+ 'skip$
+ if$
+ bst.sort.entry.type #0 = not
+ { type$ bst.sort.entry.type.order * " " * }
+ 'skip$
+ if$
+ absorder empty$
+ { "/// " * }
+ { bst.notuse.absorder.field #0 =
+ { absorder "999" =
+ { "zzz " * }
+ { absorder add.zero.to.number "000" =
+ { "/// " * }
+ { absorder add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ { "/// " * }
+ if$
+ }
+ if$
+ " " *
+ sort.label.abb *
+ " " *
+ type$ "book" = type$ "inbook" = or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ * " " *
+ " "
+ order empty$
+ { "/// " * }
+ { bst.notuse.order.field #0 =
+ { order "999" =
+ { "zzz " * }
+ { order add.zero.to.number "000" =
+ { "/// " * }
+ { order add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ { "/// " * }
+ if$
+ }
+ if$
+ month empty$
+ { * "/// " * }
+ { month "999" =
+ { * month add.zero.to.number * "zzz " * }
+ { month add.zero.to.number "000" =
+ { * month add.zero.to.number * "/// " * }
+ { * month add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ if$
+ title field.or.null sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+ % For debug
+ econ.debug #0 = not
+ { "``\texttt{" write$
+ sort.key$ write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+FUNCTION {presort.two}
+{
+ bst.no.sort #0 = not
+ { order.cited int.to.str$ add.zero.to.number " " * }
+ { "" }
+ if$
+ bst.sort.year #0 = not
+ %% Use year field as the primary sorting key.
+ { year convert.year * }
+ 'skip$
+ if$
+ bst.sort.entry.type #0 = not
+ { type$ bst.sort.entry.type.order * " " * }
+ 'skip$
+ if$
+ absorder empty$
+ { "/// " * }
+ { bst.notuse.absorder.field #0 =
+ { absorder "999" =
+ { "zzz " * }
+ { absorder add.zero.to.number "000" =
+ { "/// " * }
+ { absorder add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ { "/// " * }
+ if$
+ }
+ if$
+ " " * sort.label * " "
+ order empty$
+ { "/// " * }
+ { bst.notuse.order.field #0 =
+ { order "999" =
+ { "zzz " * }
+ { order add.zero.to.number "000" =
+ { "/// " * }
+ { order add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ { "/// " * }
+ if$
+ }
+ if$
+ month empty$
+ { * "/// " * }
+ { month "999" =
+ { * month add.zero.to.number * "zzz " * }
+ { month add.zero.to.number "000" =
+ { * month add.zero.to.number * "/// " * }
+ { * month add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ if$
+ title field.or.null sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+ % For debug
+ econ.debug #0 = not
+ { "``\texttt{" write$
+ sort.key$ write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+%%% Codes for debugging
+FUNCTION {calc.alabel.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of calc.alabel: alabel = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+FUNCTION {calc.flabel.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of calc.flabel: flabel = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+FUNCTION {presort.one.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of presort (1st time): \$sort.key = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {presort.two.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of presort (2nd time): \$sort.key = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {calc.cyear.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of calc.cyear: sort.label = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {calc.sort.label.abb.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of calc.sort.label.abb: sort.label.abb = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+
+%%% alabel
+EXECUTE {calc.alabel.mess}
+ITERATE {calc.alabel}
+
+%%% flabel
+EXECUTE {calc.flabel.mess}
+ITERATE {calc.flabel}
+
+%%% cyear and sort.label
+EXECUTE {calc.cyear.mess}
+ITERATE {calc.cyear}
+
+%%%
+EXECUTE {calc.sort.label.abb.mess}
+ITERATE {calc.sort.label.abb}
+
+%%% Sorting by $sort.key (first time)
+%
+% Sorting is done in two times. This is the first time.
+%
+EXECUTE {presort.one.mess}
+ITERATE {presort.one}
+SORT
+
+FUNCTION {forward.pass}
+{ bst.use.bysame #0 = bst.use.bysame #2 = or
+ % Not use \bysame
+ { last.sort.label sort.label.abb =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label.abb 'last.sort.label :=
+ }
+ if$
+ }
+ % Use \bysame
+ { last.sort.label sort.label.abb =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label.abb 'last.sort.label :=
+ }
+ if$
+ author empty$
+ { editor empty$
+ { "" }
+ 'format.editors.alt
+ if$
+ }
+ 'format.authors.alt
+ if$
+ 'this.author :=
+ % format.names 'this.author :=
+ this.author prev.author =
+ { "bysame" 'extra.label.bysame := }
+ { this.author "" =
+ { "abcxyz" }
+ 'this.author
+ if$
+ 'prev.author :=
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label empty$ not
+ { cyear extra.label * }
+ { cyear "" * }
+ if$
+ "" field.or.null *
+ 'cyear :=
+ extra.label 'next.extra :=
+}
+
+%%% \bysame
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+%%% Sorting by sort.key$ (second time)
+EXECUTE {presort.two.mess}
+ITERATE {presort.two}
+SORT
+
+FUNCTION {reset.prev.author}
+{ "xxyyzz" 'prev.author := }
+
+EXECUTE {reset.prev.author}
+
+FUNCTION {forward.pass.two}
+{ bst.use.bysame #1 =
+ { author empty$
+ { editor empty$
+ { "" }
+ 'format.editors.alt
+ if$
+ }
+ 'format.authors.alt
+ if$
+ 'this.author :=
+ this.author prev.author =
+ { "bysame" 'extra.label.bysame := }
+ { this.author "" =
+ { "abcxyz" }
+ 'this.author
+ if$
+ 'prev.author :=
+ }
+ if$
+ }
+ 'skip$
+ if$
+}
+
+ITERATE {forward.pass.two}
+
+FUNCTION{punctuation}
+{
+ "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" write$ newline$
+ "% This bbl file is created by econ.bst ver." econ.version * write$ newline$
+ "% The latest econ.bst is available at" write$ newline$
+ "% <https://github.com/ShiroTakeda/econ-bst>" write$ newline$ newline$
+}
+
+EXECUTE {punctuation}
+
+FUNCTION {begin.bib}
+{
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ bst.use.bysame #0 =
+ % Not use \bysame.
+ 'skip$
+ % Use \bysame.
+ { "%%% Definition of \bysame" write$ newline$
+ "\ifx\undefined\bysame" write$ newline$
+ "\newcommand{\bysame}{" bst.bysame.definition * "}" *
+ write$ newline$
+ "\fi" write$ newline$ newline$ }
+ if$
+ %% When number index is attached to the beginning of each item.
+ bst.use.number.index #0 =
+ 'skip$
+ { bst.number.index.digit "1" =
+ % one digit.
+ { bst.number.index.bibhang.one }
+ { bst.number.index.digit "2" =
+ % two digits.
+ { bst.number.index.bibhang.ten }
+ % three or more digits.
+ { bst.number.index.bibhang.hund }
+ if$
+ }
+ if$
+ 'hang :=
+ "%%% Redefinition of \bibhang" write$ newline$
+ "\ifx\undefined\bibhang" write$ newline$
+ "\relax" write$ newline$
+ "\else" write$ newline$
+ "\setlength{\bibhang}{"
+ hang * "}" * write$ newline$
+ "\fi" write$ newline$ newline$
+ }
+ if$
+ "\begin{thebibliography}{xxx}" write$ newline$
+
+ %% Initialize the variable `index'.
+ #0 'index :=
+}
+
+FUNCTION {end.bib}
+{ newline$ "\end{thebibliography}" write$ newline$ }
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+EXECUTE {end.bib}
+
+% --------------------
+% Local Variables:
+% fill-column: 78
+% mode: bst
+% End:
diff --git a/biblio/bibtex/contrib/econ-bst/customization/econ-jet.pdf b/biblio/bibtex/contrib/econ-bst/customization/econ-jet.pdf
new file mode 100644
index 0000000000..8458c1e3fd
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/customization/econ-jet.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/econ-bst/customization/econ-jet.tex b/biblio/bibtex/contrib/econ-bst/customization/econ-jet.tex
new file mode 100644
index 0000000000..d130e07be0
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/customization/econ-jet.tex
@@ -0,0 +1,66 @@
+%#!pdflatex
+%#BIBTEX bibtex econ-jet
+
+%############################## Main #################################
+\documentclass[10pt]{article}
+
+%% Use natbib.sty
+\usepackage[numbers]{natbib}
+\usepackage{mathpazo}
+\usepackage{url}
+\usepackage{graphicx}
+\usepackage{color}
+\definecolor{MyBrown}{rgb}{0.3,0,0}
+\definecolor{MyBlue}{rgb}{0,0,0.3}
+\definecolor{MyRed}{rgb}{0.4,0,0.1}
+\definecolor{MyGreen}{rgb}{0,0.4,0}
+\usepackage[bookmarks=true,%
+bookmarksnumbered=true,%
+colorlinks=true,%
+linkcolor=MyBlue,%
+citecolor=MyRed,%
+filecolor=MyBlue,%
+urlcolor=MyGreen%
+]{hyperref}
+
+\setlength{\topmargin}{-20pt}
+\setlength{\textheight}{648pt}
+\setlength{\oddsidemargin}{15pt}
+\setlength{\textwidth}{440pt}
+
+%#####################################################################
+%######################### Document Starts ###########################
+%#####################################################################
+\begin{document}
+
+This document uses ``\verb|econ-jet.bst|''. The style like JET ({\itshape Journal of
+Economic Theory}).
+
+\vspace{1em}
+
+\input{cited-part}
+\vspace*{1em}
+
+In the citation part above, we use
+\verb|\citet| command which creates the style like ``author name + number''. If we use \verb|\cite|
+command, we have the style only with number like the followings: \\
+\cite{Ryza15:_advan_analy_spark_patter_learn_data_scale},
+\cite{yamazaki13:_japan}, \cite{stakeda2013web}, \cite{Takeda2012a},
+\cite{bergemann11:_ration}, \cite{goldin:katz:2011}, \cite{Takeda2011b},
+\cite{takeda2011c}.
+
+\nocite{*}
+
+%% bst file:
+\bibliographystyle{econ-jet}
+\bibliography{../econ-example}
+
+\end{document}
+
+%#####################################################################
+%######################### Document Ends #############################
+%#####################################################################
+% --------------------
+% Local Variables:
+% fill-column: 80
+% End:
diff --git a/biblio/bibtex/contrib/econ-bst/customization/econ-jie.bst b/biblio/bibtex/contrib/econ-bst/customization/econ-jie.bst
new file mode 100644
index 0000000000..ee4ff74ecd
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/customization/econ-jie.bst
@@ -0,0 +1,3543 @@
+%% econ.bst: BibTeX style file for papers in economics.
+%
+% Author: Shiro Takeda
+% Maintainer: Shiro Takeda
+% Copyright (C) 2001-2018 Shiro Takeda
+% First-written: <2007/07/28>
+% Time-stamp: <2018-12-07 18:48:19 st>
+% Version: 2.5
+% Keywords: TeX, BibTeX, bst
+% URL: https://github.com/ShiroTakeda/econ-bst
+
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainer of this work is Shiro Takeda.
+
+%% Main features of econ.bst.
+
+% "econ.bst" is a BibTeX style file for economics. It provids the following
+% features:
+
+% 1) The author-year type citation (you need "natbib.sty" as well).
+% 2) Reference style used in economics papers ("econ.bst" is not a BibTeX style
+% for a specific journal).
+% 3) Highly customizable. You can easily customize reference style as you wish.
+% 4) You can use "certified random order" proposed by Ray â“¡ Robson (2018)
+% (http://dx.doi.org/10.1257/aer.20161492).
+
+% Bug reports, requests and suggestions are welcome.
+
+% For changelogs, see CHANGES.txt file.
+
+% version number
+FUNCTION {econ.version} { "2.5" }
+
+% Debug mode. Non-zero makes debug mode on.
+FUNCTION {econ.debug}
+{ #0 } % Debug mode off (default).
+% { #1 } % Debug mode on.
+
+ENTRY
+ %%% Declaration of field
+ { access address author booktitle chapter doi edition editor howpublished
+ institution journal key month note number organization pages publisher
+ school series title type url volume year
+ % Fields specific to econ.bst
+ order absorder nameorder
+ }
+
+ % Definition of entry variable. The entry variable is a variable which has
+ % different values according to different entries.
+ %% Integer entry variable:
+ { order.cited }
+
+ %% String entry variable
+ { label cyear flabel alabel extra.label sort.label sort.label.abb
+ extra.label.bysame nameorder.temp }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% Functions for customization:
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Use \bysame or not.
+%
+% If set to #0, \bysame is not used.
+% If set to #1, \bysame is used
+% If set to #2, \bysame is used (alternative abbreviation style).
+%
+% Note that integer number is expressed as # + integer in bst file.
+% \bysame is the function that abbreviates succession of the same authors' name by ---.
+%
+% See econ-sample.pdf for details.
+%
+FUNCTION {bst.use.bysame}
+% { #0 } % Not use \bysame
+{ #1 } % -> Use \bysame (default)
+% { #2 } % -> Use \bysame of alternative style.
+
+% The definition of \bysame command.
+%
+FUNCTION {bst.bysame.definition}
+{ "\hskip.3em \leavevmode\rule[.5ex]{3em}{.3pt}\hskip0.5em" } % (default)
+% { "\leavevmode\hbox to\leftmargin{\hrulefill\,\,}" } % If you set #2 to bst.use.bysame, use this.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% The order of fist and last name.
+%
+FUNCTION {bst.author.name}
+% { #0 } % (default)
+{ #1 }
+% { #2 }
+
+% Case of #0: First author -> last-first, other authors -> first-last.
+% Fujita, Masahisa, Paul R. Krugman, and Anthony J. Venables.
+
+% Case of #1: All authors -> last-first
+% Fujita, Masahisa, Krugman, Paul R., and Venables, Anthony J.
+
+% Case of #2: All authors -> first-last
+% Masahisa Fujita, Paul R. Krugman, and Anthony J. Venables.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Abbreviate first name of authors (editors):
+%
+FUNCTION {bst.first.name.initial}
+% { #0 } % #0 -> full letters (default).
+{ #1 } % Non-zero -> initial letter only.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Decapitalize of strings in title field.
+%
+FUNCTION {bst.title.lower.case}
+% { #0 } % If #0, not decapitalize title (default).
+{ #1 } % If non-#0, decapitalize title
+
+% Hide title filed.
+%
+FUNCTION {bst.hide.title}
+{ #0 } % #0 -> Title field is displayed (default)
+% { #1 } % Non-zer -> Title field is hidden
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Hide month.
+%
+FUNCTION {bst.hide.month}
+{ #0 } % #0 -> show month field (default).
+% { #1 } % non-#0 -> hide month field.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Attach number index like plain.bst.
+%
+FUNCTION {bst.use.number.index}
+{ #0 } % Not use number index (default).
+% { #1 } % Non-#0 -> Use number index
+
+% The string before number index:
+%
+FUNCTION {bst.number.index.pre}
+{ "[" } % (default)
+
+% The string after number index. Adjustment is recommended.
+%
+FUNCTION {bst.number.index.post}
+{ "]\hskip1.0em " } % (default)
+
+% Maximum digit of number index:
+% If the number of reference items >= 100, set 3 to this function.
+% If the number of reference items < 100, set 2 to this function.
+% If the number of reference items < 10, set 1 to this function.
+%
+FUNCTION {bst.number.index.digit}
+{ "2" } % (default)
+% { "3" }
+
+% The functions below are used to adjust space and postion. If you use fonts
+% other than computer modern fonts, you had better make adjustments.
+%
+% Setting for bst.number.index.digit = 1:
+FUNCTION {bst.number.index.bibhang.one}
+{ "2.05em" } % (default)
+% Setting for bst.number.index.digit = 2:
+FUNCTION {bst.number.index.bibhang.ten}
+{ "2.55em" } % (default)
+% Setting for bst.number.index.digit = 3:
+FUNCTION {bst.number.index.bibhang.hund}
+{ "3.05em" } % (default).
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Position of "year":
+%
+% You can choose the position of year by this function.
+%
+% If set to #0, year is placed right after "author".
+% If set to non-zero, year is placed at the end (before note field) except for
+% aritcle type entry.
+%
+% In article type entry, the position of year changes according to the
+% following rule:
+%
+% #1 -> year is placed at the end.
+% #2 -> year is placed after journal name in aritcle type entry.
+% #3 -> year is placed after volume in aritcle type entry.
+%
+FUNCTION {bst.year.position}
+{ #0 } % (default).
+% { #1 } % Last place before note.
+% { #2 } % After journal name for aticle type entry.
+% { #3 } % After volume for aticle type entry.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% If 0, references are sorted by old documents -> recent documents. If
+% non-zero, reverse order.
+FUNCTION {bst.reverse.year}
+{ #0 } % Normal order (old -> recent) (default).
+% { #1 } % inverse order (recent -> old)
+
+% If non-zero, sort references by using year field as the primary key
+% (chronological sorting).
+FUNCTION {bst.sort.year}
+{ #0 } % Normal case: year is used as the sorting key next to author (default).
+% { #1 } % year is used as the primary sorting key.
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% If non-zero, references are listed in citation order.
+%
+FUNCTION {bst.no.sort}
+{ #0 } % (default)
+% { #1 } % listed in citation order.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Non-zero -> sort references by entry type (article, book, incollection etc.)
+%
+FUNCTION {bst.sort.entry.type}
+{ #0 } % #0 -> Normal (not sort references by entry type) (default).
+% { #1 } % Non-zero -> sort references by entry type.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% 0 -> use absorder field to sort items. Otherwise, ignore absorder field.
+%
+FUNCTION {bst.notuse.absorder.field}
+{ #0 } % #0 -> Use absorder (default).
+% { #1 } % Non-#0 -> Not use absorder.
+%
+% Order of priority to sort items
+%
+% absorder -> author -> year -> order -> month -> title
+%
+% wehre absorder and order fields are specific to econ.bst.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% 0 -> use order field to sort items. Otherwise, ignore order field.
+% Note: order field is specific to econ.bst.
+FUNCTION {bst.notuse.order.field}
+{ #0 } % #0 -> Use order field (default).
+% { #1 } % Non-#0 -> not use order field.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%% and
+
+%%% String used to separate author names in references.
+%
+% String replaced with _ in "Mr. A _ Mr. B "
+%
+FUNCTION {bst.and}
+{ " " }
+% { " and " } % (default)
+
+%%% String used to separate author names in references (more than two authors).
+%
+% String replaced with _ in "Mr. A, Mr. B _ Mr. C"
+%
+FUNCTION {bst.ands}
+{ " " }
+% { ", and " } % (default)
+
+%%% String used to separate author names in citation part.
+%
+% String replaced with _ in "Mr. A _ Mr. B "
+%
+FUNCTION {bst.cite.and}
+{ " and " } % (default)
+
+%%% String used to separate author names in citation part (more than two authors).
+%
+% String replaced with _ in "Mr. A, Mr. B _ Mr. C"
+%
+FUNCTION {bst.cite.ands}
+{ " and " } % (default)
+
+%%% If you want to use random author order for some bibliography entries, set
+% non-zero to this function.
+%
+FUNCTION {bst.use.nameorder}
+{ #1 } % Use random order (default)
+% { #0 } % Not use random order
+
+%%% String used to separate author names in references for the entry of random
+% author order.
+%
+FUNCTION {bst.and.nameorder}
+{ " \textcircled{r} " } % (default)
+
+%%% String used to separate author names in citation part for the entry of
+% random author order
+%
+FUNCTION {bst.cite.and.nameorder}
+{ " \textcircled{r} " } % (default)
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Author names in the citation part are abbreviated by et al. if the number of
+% authors is greater or equal to bst.and.others.num.
+FUNCTION {bst.and.others.num}
+{ #3 } % If the number of authors is greater or equal to three (default).
+% { #4 }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Strings used when abbreviating multiple-authors in citation part.
+FUNCTION {bst.and.others}
+{ " et~al." } % (default)
+
+% Strings used when abbreviating multiple-authors in citation part for entries
+% with random author order.
+FUNCTION {bst.and.others.nameorder}
+{ " \textcircled{r}~al." } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% author
+
+% The string before author:
+%
+FUNCTION {bst.author.pre}
+{ "" } % (default)
+
+% The string after author:
+%
+FUNCTION {bst.author.post}
+{ "," }
+% { "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% year
+
+% The string before year only for aritcle type entry.
+%
+FUNCTION {bst.year.pre}
+{ " " }
+% { " (" } % (default)
+
+% The string after year only for aritcle type entry.
+%
+FUNCTION {bst.year.post}
+{ ". " }
+% { ") " } % (default)
+
+% The string after year for non-article type entry (book, incollection etc)
+%
+FUNCTION {bst.year.na.pre}
+{ " " }
+% { " (" } % (default)
+
+% The string after year for non-article type entry (book, incollection etc)
+%
+FUNCTION {bst.year.na.post}
+{ ". " }
+% { ") " } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% title (except for title in book)
+
+% The string before title:
+%
+FUNCTION {bst.title.pre}
+{ "" }
+% { "``" } % (default)
+
+% The string after title:
+%
+FUNCTION {bst.title.post}
+{ "." }
+% { ",''" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% tile for book:
+
+% The string before book title:
+%
+FUNCTION {bst.book.pre}
+{ " " }
+% { " \textit{" } % (default)
+
+% The string after book title:
+%
+FUNCTION {bst.book.post}
+{ "." }
+% { "}" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% booktitle
+
+% The string before booktitle:
+%
+FUNCTION {bst.btitle.pre}
+{ " " }
+% { " \textit{" } % (default)
+
+% The string after booktitle:
+%
+FUNCTION {bst.btitle.post}
+{ "." }
+% { "}" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% journal name
+
+% The string before journal name:
+%
+FUNCTION {bst.journal.pre}
+{ " " }
+% { " \textit{" } % (default)
+
+% The string after journal name:
+%
+FUNCTION {bst.journal.post}
+{ "" }
+% { "}" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% editor notation:
+
+% The string that indicates multiple editors:
+%
+FUNCTION {bst.editors}
+{ " (Eds.)," }
+% { " eds. " } % (default)
+
+% The string that indicates single editor:
+%
+FUNCTION {bst.editor}
+{ " ed. " } % (default)
+
+% Order of editor and booktitle in incollection and inproceedings entries.
+%
+% If set to #0: editors -> booktitle order
+% If set to non-zero: booktitle -> editors order
+%
+FUNCTION {bst.editor.btitle.order}
+{ #0 } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% edition
+
+% The string before edition:
+%
+FUNCTION {bst.edition.pre}
+{ ", " } % (default)
+
+% The string after edition:
+%
+FUNCTION {bst.edition.post}
+{ " edition" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% volume
+
+% The string before volume:
+%
+FUNCTION {bst.volume.pre}
+{ " " }
+% { ", Vol. " } % (default)
+
+% The string after volume:
+%
+FUNCTION {bst.volume.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% number
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Hide number. If non-zero, number is suppressed.
+FUNCTION {bst.hide.number}
+{ #0 } % #0 -> show number field (default)
+% { #1 } % non-#0 -> Hide number field.
+
+% The string before number:
+%
+FUNCTION {bst.number.pre}
+{ " (" }
+% { ", No. " } % (default)
+
+% The string after number:
+%
+FUNCTION {bst.number.post}
+{ ")," }
+% { "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% in
+
+% In
+%
+FUNCTION {bst.in}
+{ " In: " }
+% { " in " } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% page
+
+% The string before page (multiple pages):
+%
+FUNCTION {bst.pages.pre}
+{ " " }
+% { ", pp." } % (default)
+
+% The string before page:
+%
+FUNCTION {bst.page.pre}
+{ ", p." } % (default)
+
+% The string after page (multiple pages):
+%
+FUNCTION {bst.pages.post}
+{ "" } % (default)
+
+% The string after page:
+%
+FUNCTION {bst.page.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% chapter
+
+% The string before chapter:
+%
+FUNCTION {bst.chapter.pre}
+{ ", Chap." } % (default)
+
+% The string after chapter:
+%
+FUNCTION {bst.chapter.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% month
+
+% The string before month:
+%
+FUNCTION {bst.month.pre}
+{ ", " } % (default)
+
+% The string after month:
+%
+FUNCTION {bst.month.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% address
+% The string before address:
+%
+FUNCTION {bst.address.pre}
+{ ", " } % (default)
+
+% The string after address:
+%
+FUNCTION {bst.address.post}
+{ "" } % (default)
+
+% You can choose the order of address and publisher by this function.
+%
+% If #0, address -> publisher order (the default value).
+% If non-zero, publisher -> address order.
+
+FUNCTION {bst.address.position}
+% { #0 } % Address is placed before publisher (default)
+{ #1 } % Address is placed after publisher
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% publisher
+
+% The string before publisher:
+%
+FUNCTION {bst.publisher.pre}
+{ ", " }
+% { ": " } % (default)
+
+% The string after publisher:
+%
+FUNCTION {bst.publisher.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% series
+
+% The string before series:
+%
+FUNCTION {bst.series.pre}
+{ ", " } % (default)
+
+% The string after series:
+%
+FUNCTION {bst.series.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% organization
+
+% The string before organization:
+%
+FUNCTION {bst.organization.pre}
+{ ", " } % (default)
+
+% The string after organization:
+%
+FUNCTION {bst.organization.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% school
+
+% The string before school:
+%
+FUNCTION {bst.school.pre}
+{ ", " } % (default)
+
+% The string after school:
+%
+FUNCTION {bst.school.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% institution
+
+% The string before institution:
+%
+FUNCTION {bst.institution.pre}
+{ ", " } % (default)
+
+% The string after institution:
+%
+FUNCTION {bst.institution.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% howpublished
+
+% The string before howpublished:
+%
+FUNCTION {bst.howpublished.pre}
+{ " " } % (default)
+
+% The string after howpublished:
+%
+FUNCTION {bst.howpublished.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% url
+
+% Show or Hide url. If non-zero, url is displayed. Otherwise, url is suppressed.
+FUNCTION {bst.show.url}
+{ #1 } % non-#0 -> Show url field (default)
+% { #0 } % #0 -> Not show url field.
+
+% The string before url:
+%
+FUNCTION {bst.url.pre}
+{ ", URL: \url{" } % (default)
+
+% The string after url:
+%
+FUNCTION {bst.url.post}
+{ "}" } % (default)
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Access
+
+% This setting is valid only if there are "access" field in bib
+% files. The value of access field indicates accessed date for URL.
+
+% The string before access.
+FUNCTION {bst.access.pre}
+{ ", accessed on " } % (default)
+
+% The string after access.
+FUNCTION {bst.access.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% DOI (digital object identifier)
+
+% This setting is valid only if there are "doi" field in bib files.
+
+% Show or Hide DOI. If non-zero, DOI is displayed. Otherwise, DOI is suppressed.
+FUNCTION {bst.show.doi}
+{ #1 } % non-#0 -> Show DOI field (default)
+% { #0 } % #0 -> Not show DOI field.
+
+% The string before DOI:
+%
+FUNCTION {bst.doi.pre}
+{ ", DOI: \href{http://dx.doi.org/" doi * "}{" * } % (default)
+
+% The string after DOI:
+%
+FUNCTION {bst.doi.post}
+{ "}" } % (default)
+
+% How to show URL and DOI fields when both fields exist.
+%
+% #0 -> Both fields are displayed
+% #1 -> Only URL field is displayed
+% #2 -> Only DOI field is displayed
+%
+FUNCTION {bst.url.doi}
+% { #0 } % (default) -> Both fields are displayed
+% { #1 } % -> Only URL field is displayed
+{ #2 } % -> Only DOI field is displayed
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Other functions:
+
+% The string before note.
+FUNCTION {bst.note.pre}
+{ ", " } % (default)
+
+% The string after note.
+FUNCTION {bst.note.post}
+{ "" } % (default)
+
+% The string that represents Technical report:
+%
+FUNCTION {bst.techrep}
+{ " Tech. Rep." } % (default)
+
+% The string that represents master thesis:
+%
+FUNCTION {bst.mthesis}
+{ " Master's thesis" } % (default)
+
+% The string that represents phd thesis:
+%
+FUNCTION {bst.phdthesis}
+{ " Ph.D. dissertation" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% Functions for customization end here:
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION {bst.first}
+{ "1st" }
+
+FUNCTION {bst.second}
+{ "2nd" }
+
+FUNCTION {bst.third}
+{ "3rd" }
+
+FUNCTION {bst.fourth}
+{ "4th" }
+
+FUNCTION {bst.fifth}
+{ "5th" }
+
+FUNCTION {bst.st}
+{ "st" }
+
+FUNCTION {bst.nd}
+{ "nd" }
+
+FUNCTION {bst.rd}
+{ "rd" }
+
+FUNCTION {bst.th}
+{ "th" }
+
+%%%%% memo by Takeda
+
+% "a" 'b := indicates substituting string "a" for variable b.
+
+% Integer number #0, #1,...
+
+%%% Function definition:
+%
+% FUNCTION {name}
+% { 's :=
+%
+% }
+%
+% This is the definition of a function named "name". The function "name" is
+% used in the following way
+%
+% "foo" name
+% "foo" is an argument for the function "name".
+%
+% About the definition of a function with more than two arguments, see the
+% definition of "chop.word".
+
+%%% Declaration of variables:
+
+%% String global variables:
+STRINGS { s t tt }
+STRINGS { year.num }
+STRINGS { preone preten }
+STRINGS { last.sort.label next.extra prev.author prev.author.aer this.author }
+STRINGS { hang }
+STRINGS { item.type }
+STRINGS { tempa tempb }
+
+%% Integer global variables:
+INTEGERS { nameptr namesleft numnames name.num }
+INTEGERS { multiresult }
+INTEGERS { index }
+INTEGERS { len }
+INTEGERS { last.extra.num }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+INTEGERS { last.period.comma }
+INTEGERS { len1.aer len2.aer i.aer }
+
+%%% Definition of functions:
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+%%% Initialize variables:
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+%%% Remove comma and add period:
+%
+%%%
+FUNCTION {add.period.x}
+{ duplicate$
+ #-1 #1 substring$ "," =
+ { #-2 global.max$ substring$ "." * }
+ { duplicate$
+ #-1 #2 substring$ ". " =
+ { #-3 global.max$ substring$ "." * }
+ { duplicate$
+ #-1 #2 substring$ ", " =
+ { #-3 global.max$ substring$ "." * }
+ { duplicate$
+ #-1 #2 substring$ ",'" =
+ { #-3 global.max$ substring$ ".'" * }
+ { duplicate$
+ #-1 #2 substring$ ".'" =
+ { #-3 global.max$ substring$ ".'" * }
+ { duplicate$
+ #-1 #2 substring$ ".~" =
+ { #-3 global.max$ substring$ ".~" * }
+ { duplicate$
+ #-1 #2 substring$ ",~" =
+ { #-3 global.max$ substring$ ".~" * }
+ { duplicate$
+ #-1 #3 substring$ ",''" =
+ { #-4 global.max$ substring$ ".''" * }
+ { duplicate$
+ #-1 #3 substring$ ".''" =
+ { #-4 global.max$ substring$ ".''" * }
+ { add.period$ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ % mid.sentence
+ output.state mid.sentence =
+ { ", " * write$ }
+ % not mid.sentence
+ { output.state after.block =
+ % after.block
+ { add.period.x " " * write$ }
+ % before.all
+ { output.state before.all =
+ 'write$
+ { add.period.x " " * write$ }
+ if$
+ }
+ if$
+ % not mid.sentence, set to mid.sentence
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+%%% If the last character is period or comma, set non-zero to
+%%% last.period.comma.
+FUNCTION {period.comma.p}
+{ duplicate$ 't :=
+ t #-1 #1 substring$ "." =
+ t #-1 #1 substring$ "," = or
+ t #-1 #1 substring$ ":" = or
+ t #-1 #2 substring$ ".'" = or
+ t #-1 #2 substring$ ",'" = or
+ t #-1 #3 substring$ ".''" = or
+ t #-1 #3 substring$ ",''" = or
+ t #-1 #2 substring$ ".~" = or
+ t #-1 #2 substring$ ",~" = or
+ { #1 'last.period.comma := }
+ { #0 'last.period.comma := }
+ if$
+}
+
+%%% remove unnecessary comma.
+FUNCTION {remove.pre.comma}
+{ 's :=
+ s empty$
+ { "" }
+ { s #1 #1 substring$ "," =
+ { s #2 global.max$ substring$ }
+ { s #1 #1 substring$ "." =
+ { s #2 global.max$ substring$ }
+ 's
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% output.nonnull.nocomma is the same as output.nonnull except that it does
+%%% not add commas even in mid.sentence.
+FUNCTION {output.nonnull.nocomma}
+{ 's :=
+ output.state mid.sentence =
+ % mid.sentence
+ { period.comma.p "" * write$ }
+
+ % not mid.sentence
+ { output.state after.block =
+ % after.block
+ { add.period.x " " * write$ }
+ % before.all
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ last.period.comma #0 =
+ { s }
+ { s remove.pre.comma }
+ if$
+}
+
+% Not used in the current econ.bst.
+% FUNCTION {output}
+% { duplicate$ empty$
+% 'pop$
+% 'output.nonnull
+% if$
+% }
+
+FUNCTION {output.nocomma}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull.nocomma
+ if$
+}
+
+% Not used in the current econ.bst.
+% FUNCTION {output.check}
+% { 't :=
+% duplicate$ empty$
+% { pop$ "empty " t * " in " * cite$ * warning$ }
+% 'output.nonnull
+% if$
+% }
+
+FUNCTION {output.check.nocomma}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull.nocomma
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%% Format in bbl file:
+
+% \harvarditem[Brezis et~al.]{Brezis, Krugman and
+% Tsiddon}{1993}{brezis93:_leapf_inter_compet}
+% Brezis, Elise~S., Paul~R. Krugman, and Daniel Tsiddon (1993) ``Leapfrogging in
+% International Competition: A Theory of Cycles in National Technological
+% Leadership.'', {\em American Economic Review.}, Vol.~83. No.~5. pp.
+% 1211--1219.
+
+% \harvarditem[abbreviated citation]{full citation}{year}{keyword} ...
+
+%%% Add period and newline.
+FUNCTION {fin.entry}
+{ add.period.x
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {new.block.check}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+%%% booktitle
+FUNCTION {format.btitle}
+{ booktitle empty$
+ { "" }
+ { bst.btitle.pre booktitle * bst.btitle.post * }
+ if$
+}
+
+%%% journal
+FUNCTION {format.journal}
+{ journal empty$
+ { "" }
+ { bst.journal.pre journal * bst.journal.post * }
+ if$
+}
+
+%%% title for book
+FUNCTION {format.book}
+{ title empty$
+ { "" }
+ { bst.book.pre title * bst.book.post * }
+ if$
+}
+
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { type$ "online" = bst.show.url or
+ { bst.url.pre url * bst.url.post *
+ access empty$
+ { "" * }
+ { bst.access.pre * access * bst.access.post * }
+ if$
+ }
+ { "" }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.doi}
+{ doi empty$ bst.show.doi not or
+ { "" }
+ { bst.doi.pre doi * bst.doi.post * }
+ if$
+}
+
+FUNCTION {format.url.doi}
+{ url empty$
+ { format.doi }
+ { doi empty$
+ { format.url }
+ { bst.url.doi #0 =
+ { format.url output.nocomma
+ format.doi }
+ { bst.url.doi #1 =
+ { format.url }
+ { format.doi }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% and others
+FUNCTION {bst.and.others.output}
+{ nameorder.temp "random" =
+ bst.use.nameorder #0 = not and
+ { bst.and.others.nameorder }
+ { bst.and.others }
+ if$
+}
+
+%%% author and editor
+
+%%% name
+FUNCTION {format.names}
+{ 's :=
+ % insert 1 to nameptr.
+ #1 'nameptr :=
+ % Set the number of authors to numnames.
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ % Repeat if namesleft > 0
+ { namesleft #0 > }
+ { nameptr #1 =
+ % First author
+ { bst.author.name #0 =
+ bst.author.name #1 =
+ or
+ { bst.first.name.initial #0 =
+ { s nameptr "{vv~}{ll}{, ff}{, jj}" format.name$ 't := }
+ { s nameptr "{vv~}{ll}{, f.}{, jj}" format.name$ 't := }
+ if$
+ }
+ { bst.first.name.initial #0 =
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't := }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := }
+ if$
+ }
+ if$
+ }
+ % The second or later authors
+ { bst.author.name #0 =
+ bst.author.name #2 =
+ or
+ { bst.first.name.initial #0 =
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't := }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := }
+ if$
+ }
+ { bst.first.name.initial #0 =
+ { s nameptr "{vv~}{ll}{, ff}{, jj}" format.name$ 't := }
+ { s nameptr "{vv~}{ll}{, f.}{, jj}" format.name$ 't := }
+ if$
+ }
+ if$
+ }
+ if$
+
+ nameptr #1 >
+ % The second or later authors
+ { nameorder.temp "random" =
+ bst.use.nameorder #0 = not and
+ { bst.and.nameorder * t * }
+ { namesleft #1 >
+ % More than one authors left
+ { ", " * t * }
+ % Only one author left
+ { t "others" =
+ { bst.and.others.output * }
+ { numnames #2 =
+ % Entry with two authors
+ { bst.and * t * }
+ { bst.ands * t * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+% remove successive periods (commas) from author
+FUNCTION {remove.ss.period.auth}
+{ 's :=
+ s format.names 'tempa :=
+ bst.author.post 'tempb :=
+ tempb #1 #1 substring$ "}" =
+ { tempa tempb * }
+ { tempa #-1 #1 substring$ tempb #1 #1 substring$ =
+ { tempa tempb #2 global.max$ substring$ * }
+ { tempa tempb * }
+ if$
+ }
+ if$
+}
+
+% <prev name list> <new name list> compare.names <modified name list>
+FUNCTION {compare.names.aer}
+{ 's :=
+ 'tempa :=
+
+% "current.author = " s * "\\" * write$ newline$
+% "prev.author = " tempa * "\\" * write$ newline$
+
+ tempa num.names$ 'len1.aer := % len1 = the number of previous authors
+ s num.names$ 'len2.aer := % len2 = the number of current authors
+
+% len1.aer := min(len1.aer,len2.aer)
+% len1 -> min{ the number of previous authors, the number of current authors }
+ len1.aer len2.aer >
+ { len2.aer 'len1.aer := }
+ { }
+ if$
+
+% start with an empty string, then while the components are the same
+% add "\bysame"
+ ""
+ #1 'i.aer :=
+
+ { i.aer len1.aer > not }
+ { tempa i.aer "{ff }{vv }{ll}{ jj}" format.name$
+ s i.aer "{ff }{vv }{ll}{ jj}" format.name$
+ =
+ { #1 i.aer <
+ { " and " * } % \bysame ã§çœç•¥ã™ã‚‹è‘—者ã®å‰ã«ã¤ã and
+ { }
+ if$
+ "\bysame{}" *
+ i.aer #1 + 'i.aer := }
+ { #-1 'len1.aer := }
+ if$
+ }
+ while$
+
+% add the rest of the second string
+ { i.aer len2.aer > not }
+ { #1 i.aer <
+ { " and " * }
+ { }
+ if$
+ s i.aer "{ff }{vv }{ll}{ jj}" format.name$ *
+ i.aer #1 + 'i.aer :=
+ }
+ while$
+}
+
+%%% author
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { bst.use.bysame #2 =
+ { prev.author.aer author compare.names.aer 's :=
+ author 'prev.author.aer := }
+ { author 's := }
+ if$
+ extra.label.bysame "bysame" =
+ { "\bysame " }
+ { bst.author.pre s remove.ss.period.auth * }
+ if$
+ }
+ if$
+}
+
+%%% editor
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { bst.use.bysame #2 =
+ { prev.author.aer editor compare.names.aer 's :=
+ editor 'prev.author.aer := }
+ { editor 's := }
+ if$
+ extra.label.bysame "bysame" =
+ { "\bysame " }
+ { bst.author.pre s remove.ss.period.auth * }
+ if$
+ s num.names$ #1 >
+ { bst.editors * }
+ { bst.editor * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.authors.alt}
+{ author empty$
+ { "" }
+ { extra.label.bysame "bysame" =
+ {"\bysame "}
+ { bst.author.pre author remove.ss.period.auth * }
+ if$
+ }
+ if$
+}
+
+%%% editor
+FUNCTION {format.editors.alt}
+{ editor empty$
+ { "" }
+ { extra.label.bysame "bysame" =
+ { "\bysame " }
+ { bst.author.pre editor remove.ss.period.auth * }
+ if$
+ editor num.names$ #1 >
+ { bst.editors * }
+ { bst.editor * }
+ if$
+ }
+ if$
+}
+
+%%% format.in.ed.booktitle
+FUNCTION {format.editors.x}
+{ editor empty$
+ { "" }
+ { bst.editor.btitle.order #0 =
+ { "" }
+ { editor num.names$ #1 >
+ { bst.editors " by " * }
+ { bst.editor " by " * }
+ if$
+ }
+ if$
+ editor format.names *
+ bst.editor.btitle.order #0 =
+ { editor num.names$ #1 >
+ { bst.editors * }
+ { bst.editor * }
+ if$
+ }
+ { "" * }
+ if$
+ }
+ if$
+}
+
+%%% Remove commas in the cases like "?." and "?,".
+FUNCTION {remove.irrelevant.period.comma}
+{ 's :=
+ s empty$
+ { "" }
+ { s #-1 #3 substring$ "?,'" =
+ s #-1 #3 substring$ "?.'" = or
+ { s #-3 global.max$ substring$ "'" * }
+ { s #-1 #4 substring$ "?,''" =
+ s #-1 #4 substring$ "?.''" = or
+ { s #-4 global.max$ substring$ "''" * }
+ { s #-1 #2 substring$ "?," =
+ s #-1 #2 substring$ "?." = or
+ { s #-2 global.max$ substring$ "" * }
+ { s #-1 #3 substring$ "?,~" =
+ s #-1 #3 substring$ "?.~" = or
+ { s #-4 global.max$ substring$ "?~" * }
+ 's
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% title
+FUNCTION {format.title.sub}
+{ bst.title.lower.case #0 =
+ { bst.title.pre title * bst.title.post * }
+ { bst.title.pre title "t" change.case$ * bst.title.post * }
+ if$
+}
+
+%%% title
+FUNCTION {format.title}
+{ title empty$
+ bst.hide.title #0 = not or
+ { "" }
+ { format.title.sub remove.irrelevant.period.comma }
+ if$
+}
+
+%%% title for misc.
+FUNCTION {format.misc.title}
+{ title empty$
+ { "" }
+ { bst.title.pre title * bst.title.post * }
+ if$
+}
+
+% Convert "-" to "--" (for pages field)
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ %% while$
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+%%% year
+FUNCTION {format.year}
+{ year empty$
+ { "there's no year in " cite$ * warning$
+ ", " }
+ { type$ "article" =
+ { bst.year.pre year * extra.label * bst.year.post * }
+ { bst.year.na.pre year * extra.label * bst.year.na.post * }
+ if$
+ }
+ if$
+}
+
+%%% page for book
+FUNCTION {format.book.pages}
+{ pages empty$
+ { "" }
+ { bst.pages.pre pages * bst.pages.post * }
+ if$
+}
+
+%%% Attach tie for the string with two or less characters.
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+%%% volume for book
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bst.volume.pre volume * bst.volume.post *
+ series empty$
+ 'skip$
+ %% If there is series field
+ { " of " * series * bst.series.post * }
+ if$
+% "volume and number" number either.or.check
+ }
+ if$
+}
+
+%%% series
+FUNCTION {output.series}
+{ series empty$
+ { "" }
+ { bst.series.pre series * bst.series.post * }
+ if$
+}
+
+%%% number and series
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ bst.hide.month #0 = not or
+ % number is empty
+ { series empty$
+ { "" }
+ % series is not empty.
+ { output.series }
+ if$
+ }
+ % number is not empty$
+ { series empty$
+ { bst.number.pre number * bst.number.post * }
+ % series is not empty.
+ { bst.in bst.series.pre * series * bst.series.post *
+ bst.number.pre * number * bst.number.post * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+%%% Number or not.
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% edition
+
+% Convert edition to 1st, 2nd, 3rd, 4th etc
+FUNCTION {eng.ord}
+{ duplicate$ "1" swap$ *
+ #-2 #1 substring$ "1" =
+ { bst.th * }
+ { duplicate$ #-1 #1 substring$
+ duplicate$ "1" =
+ { pop$ bst.st * }
+ { duplicate$ "2" =
+ { pop$ bst.nd * }
+ { "3" =
+ { bst.rd * }
+ { bst.th * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+% Convert first, second etc in edition field to 1st, 2nd (from jfm.bst)
+FUNCTION {convert.edition}
+{ edition extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bst.first }
+ { s "second" = s "2" = or
+ { bst.second }
+ { s "third" = s "3" = or
+ { bst.third }
+ { s "fourth" = s "4" = or
+ { bst.fourth }
+ { s "fifth" = s "5" = or
+ { bst.fifth }
+ { s #1 #1 substring$ is.num
+ { s eng.ord }
+ { edition }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% edition
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { bst.edition.pre convert.edition "l" change.case$ * bst.edition.post * }
+ { bst.edition.pre convert.edition "t" change.case$ * bst.edition.post * }
+ if$
+ }
+ if$
+}
+
+%%% month
+FUNCTION {format.month}
+{ month empty$
+ bst.hide.month #0 = not or
+ { "" }
+ { bst.month.pre month * bst.month.post * }
+ if$
+}
+
+%%% year and month
+FUNCTION {format.date}
+{ format.month format.year *
+}
+
+%%% Is multiple pages like 1-100?
+FUNCTION { multi.page.check }
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+%%% pages
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { bst.pages.pre pages n.dashify tie.or.space.connect * bst.pages.post }
+ { bst.page.pre pages tie.or.space.connect * bst.page.post }
+ if$
+ }
+ if$
+}
+
+%%% number
+FUNCTION {format.number}
+{ number empty$
+ bst.hide.number #0 = not or
+ { "" }
+ { bst.number.pre number * bst.number.post * }
+ if$
+}
+
+%%% volume
+FUNCTION {format.volume}
+{ volume empty$
+ 'skip$
+ { bst.volume.pre volume * bst.volume.post *
+ bst.year.position #3 =
+ { format.year * }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+%%% number, page
+FUNCTION {format.number.pages}
+{ number empty$
+ { format.pages }
+ { format.number format.pages * }
+ if$
+}
+
+%%% volume, page
+FUNCTION {format.volume.pages}
+{ volume empty$
+ { format.pages }
+ { format.volume format.pages * }
+ if$
+}
+
+%%% volume, number, page
+FUNCTION {format.volume.number.pages}
+{ volume empty$
+ { number empty$
+ { format.pages }
+ { format.number format.pages * }
+ if$
+ }
+ { number empty$
+ { format.volume format.pages * }
+ { format.volume format.number * format.pages * }
+ if$
+ }
+ if$
+}
+
+% volume, number, page
+FUNCTION {format.vol.num.pages}
+{ volume empty$
+ %% volume is empty.
+ { number empty$
+ %% number is empty.
+ { pages empty$
+ % warning
+ { "there is no volume, number, and pages in " cite$ * warning$ "" }
+ { "" format.pages * }
+ if$
+ }
+ %% number is not empty.
+ % warning
+ { "there's a number but no volume in " cite$ * warning$
+ format.number.pages }
+ if$
+ }
+ %% volume is not empty.
+ { number empty$
+ %% number is empty.
+ { format.volume.pages }
+ %% number is not empty.
+ { format.volume.number.pages }
+ if$
+ }
+ if$
+}
+
+%%% chapter
+FUNCTION {format.chapter}
+{ chapter empty$
+ { "" }
+ { type empty$
+ { bst.chapter.pre chapter tie.or.space.connect * bst.chapter.post }
+ { ", " * type " " * chapter * }
+ if$
+ }
+ if$
+}
+
+%%% chapter, pages
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ { pages empty$
+ { "" }
+ { "" format.pages * }
+ if$
+ }
+ { pages empty$
+ { "" format.chapter * }
+ { "" format.chapter * format.pages * }
+ if$
+ }
+ if$
+}
+
+%%% editor and booktitle
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { bst.in format.btitle * }
+ { bst.editor.btitle.order #0 =
+ { bst.in format.editors.x * " " * format.btitle * }
+ { bst.in format.btitle * " " * format.editors.x * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% howpublished
+FUNCTION {format.howpublished}
+{ howpublished empty$
+ { "" }
+ { bst.howpublished.pre howpublished * bst.howpublished.post * }
+ if$
+}
+
+%%% address
+FUNCTION {format.address}
+{ address empty$
+ { "" }
+ { bst.address.pre address * bst.address.post * }
+ if$
+}
+
+%%% publisher
+FUNCTION {format.publisher}
+{ publisher empty$
+ { "" }
+ { bst.publisher.pre publisher * bst.publisher.post * }
+ if$
+}
+
+%%% organization
+FUNCTION {format.organization}
+{ organization empty$
+ { "" }
+ { bst.organization.pre organization * bst.organization.post * }
+ if$
+}
+
+%% publisher and address
+FUNCTION {output.publisher.address}
+{ address empty$
+ { format.publisher "publisher" output.check.nocomma }
+ { bst.address.position #0 =
+ { format.address output.nocomma
+ format.publisher "publisher" output.check.nocomma }
+ { format.publisher "publisher" output.check.nocomma
+ format.address output.nocomma }
+ if$
+ }
+ if$
+}
+
+%% address, organization, publisher
+FUNCTION {output.address.organization.publisher}
+{ address empty$
+ %% address is empty
+ { organization empty$
+ %% organization is empty
+ { publisher empty$
+ 'skip$
+ { format.publisher "publisher" output.check.nocomma }
+ if$
+ }
+ %% organization is not empty
+ { publisher empty$
+ { format.organization "organization" output.check.nocomma }
+ { format.organization "organization" output.check.nocomma
+ format.publisher "publisher" output.check.nocomma }
+ if$
+ }
+ if$
+ }
+ %% address is not empty
+ { organization empty$
+ %% organization is empty
+ { publisher empty$
+ %% publisher is empty
+ { format.address output.nocomma }
+ %% publisher is not empty
+ { bst.address.position #0 =
+ { format.address output.nocomma
+ format.publisher "publisher" output.check.nocomma }
+ { format.publisher "publisher" output.check.nocomma
+ format.address output.nocomma }
+ if$
+ }
+ if$
+ }
+ %% organization is not empty
+ { publisher empty$
+ %% publisher is empty
+ { format.organization "organization" output.check.nocomma
+ format.address output.nocomma }
+ %% publisher is not empty
+ { format.organization "organization" output.check.nocomma
+ bst.address.position #0 =
+ { format.address output.nocomma
+ format.publisher "publisher" output.check.nocomma }
+ { format.publisher "publisher" output.check.nocomma
+ format.address output.nocomma }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% misc
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$ " " type * }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ { " " type * }
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+%%% phdthesis
+FUNCTION {format.phd}
+{ bst.phdthesis }
+
+%%% mastersthesis
+FUNCTION {format.mthesis}
+{ bst.mthesis }
+
+%%% school
+FUNCTION {format.school}
+{ school empty$
+ { "" }
+ { bst.school.pre school * bst.school.post * }
+ if$
+}
+
+%%% institution
+FUNCTION {format.institution}
+{ institution empty$
+ { "" }
+ { bst.institution.pre institution * bst.institution.post * }
+ if$
+}
+
+%%% remove first ? characters.
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.note}
+{ note empty$
+ { "" }
+ { bst.note.pre note * bst.note.post * }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \havarditem
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\harvarditem[" write$
+ alabel write$ % alabel <- abbreviated citation
+ "]{" write$
+ flabel write$ % flabel <- full citation
+ "}{" write$
+ cyear write$
+ % cyear = year
+ "}{" write$
+ cite$ write$ % cite$ -> pusch keyword
+ "}" write$
+ % If number index is on
+ bst.use.number.index #0 =
+ 'skip$
+ { index #1 + 'index :=
+ "" 'preone :=
+ "" 'preten :=
+ bst.number.index.digit "1" =
+ 'skip$
+ { bst.number.index.digit "2" =
+ { "\hskip0.5em" 'preone := }
+ { bst.number.index.digit "3" =
+ { "\hskip1em" 'preone :=
+ "\hskip0.5em" 'preten := }
+ 'skip$
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ newline$
+ before.all 'output.state :=
+ ""
+ % number index
+ bst.use.number.index #0 =
+ 'skip$
+ { index #10 <
+ % Insert spaces according to digit of number index.
+ { preone }
+ { index #100 <
+ { preten }
+ { "" }
+ if$
+ }
+ if$
+ bst.number.index.pre * index int.to.str$ * bst.number.index.post * write$
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% article
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+
+ format.journal "journal" output.check.nocomma
+ bst.year.position #2 =
+ { format.date output.nocomma }
+ 'skip$
+ if$
+ format.vol.num.pages output.nocomma
+
+ bst.year.position #1 =
+ { format.date output.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% book
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check.nocomma }
+ { format.authors output.nonnull.nocomma
+ "author and editor" editor either.or.check
+ }
+ if$
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.book "title" output.check.nocomma
+
+ format.bvolume output.nocomma
+ format.number.series output.nocomma
+ output.publisher.address
+
+ format.edition output.nocomma
+ format.book.pages output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% booklet
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output.nocomma
+ format.year output.nocomma
+ format.misc.title "title" output.check.nocomma
+ format.howpublished output.nocomma
+ format.address output.nocomma
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% inbook
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check.nocomma }
+ { format.authors output.nonnull.nocomma
+ "author and editor" editor either.or.check
+ }
+ if$
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+% format.book remove.pre.comma "title" output.check.nocomma
+ format.book "title" output.check.nocomma
+ format.edition output.nocomma
+
+ format.bvolume output.nocomma
+ format.chapter.pages "chapter and pages" output.check.nocomma
+ format.number.series output.nocomma
+ output.publisher.address
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% incollection
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+
+ format.in.ed.booktitle "booktitle" output.check.nocomma
+ format.bvolume output.nocomma
+ output.address.organization.publisher
+ format.edition output.nocomma
+ format.chapter.pages output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% inproceedings
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+
+ format.in.ed.booktitle "booktitle" output.check.nocomma
+ format.bvolume output.nocomma
+ format.number.series output.nocomma
+ format.pages output.nocomma
+ output.address.organization.publisher
+
+ bst.year.position #0 = not
+ { format.date output.nocomma }
+ { format.month output.nocomma }
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% conference
+
+FUNCTION {conference}
+{ inproceedings }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% manual
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull.nocomma
+ address output.nocomma
+ }
+ if$
+ }
+ { format.authors output.nonnull.nocomma }
+ if$
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.book "title" output.check.nocomma
+ author empty$
+ { organization empty$
+ { format.address new.block.check
+ format.address output.nocomma
+ }
+ 'skip$
+ if$
+ }
+ { output.address.organization.publisher }
+ if$
+ format.edition output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% mastersthesis
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+ format.mthesis format.thesis.type output.nonnull.nocomma
+ format.school "school" output.check.nocomma
+ format.address output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% misc
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.misc.title output.nocomma
+ format.howpublished output.nocomma
+
+ bst.year.position #0 = not
+ { format.date output.nocomma }
+ { format.month output.nocomma }
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+ empty.misc.check
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Online
+
+FUNCTION {online}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.misc.title output.nocomma
+ format.howpublished output.nocomma
+
+ bst.year.position #0 = not
+ { format.date output.nocomma }
+ { format.month output.nocomma }
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+ empty.misc.check
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% phdthesis
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.book "title" output.check.nocomma
+ format.phd
+ format.thesis.type output.nonnull.nocomma
+ format.school "school" output.check.nocomma
+ address empty$
+ 'skip$
+ { format.address output.nocomma }
+ if$
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% proceedings
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output.nocomma }
+ { format.editors output.nonnull.nocomma }
+ if$
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.btitle remove.pre.comma "title" output.check.nocomma
+ format.bvolume output.nocomma
+ format.number.series output.nocomma
+ output.address.organization.publisher
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% techreport
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+ format.tr.number output.nonnull.nocomma
+ format.institution "institution" output.check.nocomma
+ format.address output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% unpublished
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+
+ bst.year.position #0 = not
+ { format.date remove.pre.comma output.nocomma }
+ { month empty$
+ 'skip$
+ { format.month remove.pre.comma output.nocomma }
+ if$
+ }
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note "note" output.check.nocomma
+ fin.entry
+}
+
+FUNCTION {default.type}
+{ misc }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Alias for month names:
+
+MACRO {jan} {"January"}
+MACRO {feb} {"February"}
+MACRO {mar} {"March"}
+MACRO {apr} {"April"}
+MACRO {may} {"May"}
+MACRO {jun} {"June"}
+MACRO {jul} {"July"}
+MACRO {aug} {"August"}
+MACRO {sep} {"September"}
+MACRO {oct} {"October"}
+MACRO {nov} {"November"}
+MACRO {dec} {"December"}
+
+%%% Read entries:
+READ
+
+%%% Variable for remembering the order of citation.
+INTEGERS { order.num }
+FUNCTION {initialize.order.num}
+{
+ #1 'order.num :=
+}
+%%% Initialize a variables
+EXECUTE {initialize.order.num}
+
+%%% Variable for remembering the order of citation.
+FUNCTION {set.order.cited}
+{
+ order.num 'order.cited :=
+ #1 order.num + 'order.num :=
+}
+%%% Iterate for all entries:
+ITERATE {set.order.cited}
+
+%%% check the value of nameorder field.
+FUNCTION {set.nameorder}
+{ nameorder empty$
+ { "" 'nameorder.temp := }
+ { nameorder 'nameorder.temp := }
+ if$
+}
+%%% Iterate for all entries:
+ITERATE {set.nameorder}
+
+%%% Remove symbols and convert to lowercase.
+FUNCTION {sortify}
+{ purify$ "l" change.case$ }
+
+%%% names for sorting
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { ", " * }
+ 'skip$
+ if$
+ s nameptr "{ll}{ f}{ j}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { bst.and.others.output *}
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.names.abb}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames bst.and.others.num <
+ { s sort.format.names }
+ { s #1 "{ll}{ f}{ j}" format.name$ " zz " * }
+ if$
+}
+
+%%% Label for full author name.
+FUNCTION {format.lab.names.full}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { nameorder.temp "random" = bst.use.nameorder #0 = not and
+ { bst.and.nameorder * t * }
+ { ", " * t * }
+ if$
+ }
+ { t "others" =
+ { bst.and.others.output * }
+ { numnames #2 >
+ { nameorder.temp "random" = bst.use.nameorder #0 = not and
+ { bst.cite.and.nameorder * t * }
+ { bst.cite.ands * t * }
+ if$
+ }
+ { nameorder.temp "random" = bst.use.nameorder #0 = not and
+ { bst.cite.and.nameorder * t * }
+ { bst.cite.and * t * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #1 > #1 #2 = and {", eds" *} {} if$
+ numnames #1 = #1 #2 = and {", ed" *} {} if$
+}
+
+%%% laberl for abbreviated author name.
+FUNCTION {format.lab.names.abb}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames bst.and.others.num <
+ % if the number of authors is less than bst.and.others.num, full name.
+ { s format.lab.names.full }
+ % if the number of authors is equal or more than bst.and.others.num, abbreviated name.
+ { s #1 "{ll}" format.name$ bst.and.others.output * }
+ if$
+}
+
+%%% abbreviated author
+FUNCTION {author.key.label.abb}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names.abb }
+ if$
+}
+
+%%% full author
+FUNCTION {author.key.label.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names.full }
+ if$
+}
+
+FUNCTION {format.names.full.wo.and}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ll}{, ff}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { " " * t * }
+ { t "others" =
+ { " " * }
+ { numnames #2 >
+ { " " * t * }
+ { " " * t * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.key.full.wo.and}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.names.full.wo.and }
+ if$
+}
+
+FUNCTION {author.editor.key.full.wo.and}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.names.full.wo.and }
+ if$
+ }
+ { author format.names.full.wo.and }
+ if$
+}
+
+FUNCTION {editor.key.organization.key.full.wo.and}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.names.full.wo.and }
+ if$
+}
+
+FUNCTION {author.key.organization.key.full.wo.and}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.names.full.wo.and }
+ if$
+}
+
+%%% abbreviated author
+FUNCTION {author.editor.key.label.abb}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names.abb }
+ if$
+ }
+ { author format.lab.names.abb }
+ if$
+}
+
+%%% full author
+FUNCTION {author.editor.key.label.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names.full }
+ if$
+ }
+ { author format.lab.names.full }
+ if$
+}
+
+FUNCTION {author.key.organization.label.full}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names.full }
+ if$
+}
+
+FUNCTION {author.key.organization.label.abb}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names.abb }
+ if$
+}
+
+FUNCTION {editor.key.organization.label.full}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names.full }
+ if$
+}
+
+FUNCTION {editor.key.organization.label.abb}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names.abb }
+ if$
+}
+
+%%% Convert numbers: 0->9, 1->8, 2->7,..., 9->0
+FUNCTION {reverse.num}
+{ 's :=
+ s "1" =
+ { "8" 'year.num := }
+ { s "2" =
+ { "7" 'year.num := }
+ { s "3" =
+ { "6" 'year.num := }
+ { s "4" =
+ { "5" 'year.num := }
+ { s "5" =
+ { "4" 'year.num := }
+ { s "6" =
+ { "3" 'year.num := }
+ { s "7" =
+ { "2" 'year.num := }
+ { s "8" =
+ { "1" 'year.num := }
+ { s "9" =
+ { "0" 'year.num := }
+ { s "0" =
+ { "9" 'year.num := }
+ { "9" 'year.num := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ year.num
+}
+
+%%% Convert year (large number -> small number)
+FUNCTION {convert.year}
+{ 't :=
+ bst.reverse.year #0 =
+ { t 'tt := }
+ { t #1 #1 substring$ reverse.num
+ t #2 #1 substring$ reverse.num *
+ t #3 #1 substring$ reverse.num *
+ t #4 #1 substring$ reverse.num * 'tt := }
+ if$
+ tt
+}
+
+%%% cyear
+FUNCTION {calc.cyear}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full.wo.and
+ { type$ "proceedings" =
+ 'editor.key.organization.key.full.wo.and
+ { type$ "manual" =
+ 'author.key.organization.key.full.wo.and
+ 'author.key.full.wo.and
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ year empty$
+ { "2199" 'cyear := }
+ { year 'cyear := }
+ if$
+ year empty$
+ { " " "2199" convert.year * field.or.null * }
+ { " " year convert.year * field.or.null * }
+ if$
+ sortify 'sort.label :=
+ % For debug
+ econ.debug #0 = not
+ { "sort.label = ``\texttt{" write$
+ sort.label write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+ pop$
+}
+
+FUNCTION {calc.sort.label.abb}
+{ author empty$
+ { editor empty$
+ { "" }
+ { editor 's := }
+ if$
+ }
+ { author 's := }
+ if$
+ s sort.format.names.abb 't :=
+ year empty$
+ { t sortify " " * "2199" convert.year * 'sort.label.abb := }
+ { t sortify " " * year convert.year * 'sort.label.abb := }
+ if$
+ econ.debug #0 = not
+ { "sort.label.abb = ``\texttt{" write$
+ sort.label.abb write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+%%% flabel
+FUNCTION {calc.flabel}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label.full
+ { type$ "proceedings" =
+ 'editor.key.organization.label.full
+ { type$ "manual" =
+ 'author.key.organization.label.full
+ 'author.key.label.full
+ if$
+ }
+ if$
+ }
+ if$
+ 'flabel :=
+ % For debug
+ econ.debug #0 = not
+ { "flabel = ``\texttt{" write$
+ flabel write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+%%% alabel
+FUNCTION {calc.alabel}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label.abb
+ { type$ "proceedings" =
+ 'editor.key.organization.label.abb
+ { type$ "manual" =
+ 'author.key.organization.label.abb
+ 'author.key.label.abb
+ if$
+ }
+ if$
+ }
+ if$
+ 'alabel :=
+ % For debug
+ econ.debug #0 = not
+ { "alabel = ``\texttt{" write$
+ alabel write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+%%% title for sorting
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+%%% author for sorting
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+%%% editor for sorting
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+%%% 1,...,9 -> 001,...,009
+%%% 10,...,99 -> 010,...,099
+FUNCTION {add.zero.to.number}
+{ 's :=
+ s text.length$ #1 =
+ { "00" s * }
+ { s text.length$ #2 =
+ { "0" s * }
+ { s }
+ if$
+ }
+ if$
+}
+
+%% entry type
+FUNCTION {bst.sort.entry.type.order}
+{ 'item.type :=
+ item.type "article" =
+ { "01" }
+ { item.type "book" =
+ { "02" }
+ { item.type "booklet" =
+ { "03" }
+ { item.type "comment" =
+ { "04" }
+ { item.type "conference" =
+ { "05" }
+ { item.type "inbook" =
+ { "06" }
+ { item.type "incollection" =
+ { "07" }
+ { item.type "inproceedings" =
+ { "08" }
+ { item.type "manual" =
+ { "09" }
+ { item.type "masterthesis" =
+ { "10" }
+ { item.type "misc" =
+ { "11" }
+ { item.type "phdthesis" =
+ { "12" }
+ { item.type "proceedings" =
+ { "13" }
+ { item.type "techreport" =
+ { "14" }
+ { item.type "unpublished" =
+ { "15" }
+ { "16" }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% Create sort.key$: absorder -> author -> year -> order -> month -> title.
+FUNCTION {presort.one}
+{
+ bst.no.sort #0 = not
+ { order.cited int.to.str$ add.zero.to.number " " * }
+ { "" }
+ if$
+ bst.sort.year #0 = not
+ %% Use year field as the primary sorting key.
+ { year convert.year * }
+ 'skip$
+ if$
+ bst.sort.entry.type #0 = not
+ { type$ bst.sort.entry.type.order * " " * }
+ 'skip$
+ if$
+ absorder empty$
+ { "/// " * }
+ { bst.notuse.absorder.field #0 =
+ { absorder "999" =
+ { "zzz " * }
+ { absorder add.zero.to.number "000" =
+ { "/// " * }
+ { absorder add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ { "/// " * }
+ if$
+ }
+ if$
+ " " *
+ sort.label.abb *
+ " " *
+ type$ "book" = type$ "inbook" = or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ * " " *
+ " "
+ order empty$
+ { "/// " * }
+ { bst.notuse.order.field #0 =
+ { order "999" =
+ { "zzz " * }
+ { order add.zero.to.number "000" =
+ { "/// " * }
+ { order add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ { "/// " * }
+ if$
+ }
+ if$
+ month empty$
+ { * "/// " * }
+ { month "999" =
+ { * month add.zero.to.number * "zzz " * }
+ { month add.zero.to.number "000" =
+ { * month add.zero.to.number * "/// " * }
+ { * month add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ if$
+ title field.or.null sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+ % For debug
+ econ.debug #0 = not
+ { "``\texttt{" write$
+ sort.key$ write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+FUNCTION {presort.two}
+{
+ bst.no.sort #0 = not
+ { order.cited int.to.str$ add.zero.to.number " " * }
+ { "" }
+ if$
+ bst.sort.year #0 = not
+ %% Use year field as the primary sorting key.
+ { year convert.year * }
+ 'skip$
+ if$
+ bst.sort.entry.type #0 = not
+ { type$ bst.sort.entry.type.order * " " * }
+ 'skip$
+ if$
+ absorder empty$
+ { "/// " * }
+ { bst.notuse.absorder.field #0 =
+ { absorder "999" =
+ { "zzz " * }
+ { absorder add.zero.to.number "000" =
+ { "/// " * }
+ { absorder add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ { "/// " * }
+ if$
+ }
+ if$
+ " " * sort.label * " "
+ order empty$
+ { "/// " * }
+ { bst.notuse.order.field #0 =
+ { order "999" =
+ { "zzz " * }
+ { order add.zero.to.number "000" =
+ { "/// " * }
+ { order add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ { "/// " * }
+ if$
+ }
+ if$
+ month empty$
+ { * "/// " * }
+ { month "999" =
+ { * month add.zero.to.number * "zzz " * }
+ { month add.zero.to.number "000" =
+ { * month add.zero.to.number * "/// " * }
+ { * month add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ if$
+ title field.or.null sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+ % For debug
+ econ.debug #0 = not
+ { "``\texttt{" write$
+ sort.key$ write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+%%% Codes for debugging
+FUNCTION {calc.alabel.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of calc.alabel: alabel = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+FUNCTION {calc.flabel.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of calc.flabel: flabel = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+FUNCTION {presort.one.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of presort (1st time): \$sort.key = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {presort.two.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of presort (2nd time): \$sort.key = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {calc.cyear.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of calc.cyear: sort.label = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {calc.sort.label.abb.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of calc.sort.label.abb: sort.label.abb = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+
+%%% alabel
+EXECUTE {calc.alabel.mess}
+ITERATE {calc.alabel}
+
+%%% flabel
+EXECUTE {calc.flabel.mess}
+ITERATE {calc.flabel}
+
+%%% cyear and sort.label
+EXECUTE {calc.cyear.mess}
+ITERATE {calc.cyear}
+
+%%%
+EXECUTE {calc.sort.label.abb.mess}
+ITERATE {calc.sort.label.abb}
+
+%%% Sorting by $sort.key (first time)
+%
+% Sorting is done in two times. This is the first time.
+%
+EXECUTE {presort.one.mess}
+ITERATE {presort.one}
+SORT
+
+FUNCTION {forward.pass}
+{ bst.use.bysame #0 = bst.use.bysame #2 = or
+ % Not use \bysame
+ { last.sort.label sort.label.abb =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label.abb 'last.sort.label :=
+ }
+ if$
+ }
+ % Use \bysame
+ { last.sort.label sort.label.abb =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label.abb 'last.sort.label :=
+ }
+ if$
+ author empty$
+ { editor empty$
+ { "" }
+ 'format.editors.alt
+ if$
+ }
+ 'format.authors.alt
+ if$
+ 'this.author :=
+ % format.names 'this.author :=
+ this.author prev.author =
+ { "bysame" 'extra.label.bysame := }
+ { this.author "" =
+ { "abcxyz" }
+ 'this.author
+ if$
+ 'prev.author :=
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label empty$ not
+ { cyear extra.label * }
+ { cyear "" * }
+ if$
+ "" field.or.null *
+ 'cyear :=
+ extra.label 'next.extra :=
+}
+
+%%% \bysame
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+%%% Sorting by sort.key$ (second time)
+EXECUTE {presort.two.mess}
+ITERATE {presort.two}
+SORT
+
+FUNCTION {reset.prev.author}
+{ "xxyyzz" 'prev.author := }
+
+EXECUTE {reset.prev.author}
+
+FUNCTION {forward.pass.two}
+{ bst.use.bysame #1 =
+ { author empty$
+ { editor empty$
+ { "" }
+ 'format.editors.alt
+ if$
+ }
+ 'format.authors.alt
+ if$
+ 'this.author :=
+ this.author prev.author =
+ { "bysame" 'extra.label.bysame := }
+ { this.author "" =
+ { "abcxyz" }
+ 'this.author
+ if$
+ 'prev.author :=
+ }
+ if$
+ }
+ 'skip$
+ if$
+}
+
+ITERATE {forward.pass.two}
+
+FUNCTION{punctuation}
+{
+ "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" write$ newline$
+ "% This bbl file is created by econ.bst ver." econ.version * write$ newline$
+ "% The latest econ.bst is available at" write$ newline$
+ "% <https://github.com/ShiroTakeda/econ-bst>" write$ newline$ newline$
+}
+
+EXECUTE {punctuation}
+
+FUNCTION {begin.bib}
+{
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ bst.use.bysame #0 =
+ % Not use \bysame.
+ 'skip$
+ % Use \bysame.
+ { "%%% Definition of \bysame" write$ newline$
+ "\ifx\undefined\bysame" write$ newline$
+ "\newcommand{\bysame}{" bst.bysame.definition * "}" *
+ write$ newline$
+ "\fi" write$ newline$ newline$ }
+ if$
+ %% When number index is attached to the beginning of each item.
+ bst.use.number.index #0 =
+ 'skip$
+ { bst.number.index.digit "1" =
+ % one digit.
+ { bst.number.index.bibhang.one }
+ { bst.number.index.digit "2" =
+ % two digits.
+ { bst.number.index.bibhang.ten }
+ % three or more digits.
+ { bst.number.index.bibhang.hund }
+ if$
+ }
+ if$
+ 'hang :=
+ "%%% Redefinition of \bibhang" write$ newline$
+ "\ifx\undefined\bibhang" write$ newline$
+ "\relax" write$ newline$
+ "\else" write$ newline$
+ "\setlength{\bibhang}{"
+ hang * "}" * write$ newline$
+ "\fi" write$ newline$ newline$
+ }
+ if$
+ "\begin{thebibliography}{xxx}" write$ newline$
+
+ %% Initialize the variable `index'.
+ #0 'index :=
+}
+
+FUNCTION {end.bib}
+{ newline$ "\end{thebibliography}" write$ newline$ }
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+EXECUTE {end.bib}
+
+% --------------------
+% Local Variables:
+% fill-column: 78
+% mode: bst
+% End:
diff --git a/biblio/bibtex/contrib/econ-bst/customization/econ-jie.pdf b/biblio/bibtex/contrib/econ-bst/customization/econ-jie.pdf
new file mode 100644
index 0000000000..900654b4fe
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/customization/econ-jie.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/econ-bst/customization/econ-jie.tex b/biblio/bibtex/contrib/econ-bst/customization/econ-jie.tex
new file mode 100644
index 0000000000..aa01c92619
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/customization/econ-jie.tex
@@ -0,0 +1,56 @@
+%#!pdflatex
+%#BIBTEX bibtex econ-jie
+
+%############################## Main #################################
+\documentclass[10pt]{article}
+
+%% Use natbib.sty
+\usepackage{natbib}
+\usepackage{mathpazo}
+\usepackage{url}
+\usepackage{graphicx}
+\usepackage{color}
+\definecolor{MyBrown}{rgb}{0.3,0,0}
+\definecolor{MyBlue}{rgb}{0,0,0.3}
+\definecolor{MyRed}{rgb}{0.4,0,0.1}
+\definecolor{MyGreen}{rgb}{0,0.4,0}
+\usepackage[bookmarks=true,%
+bookmarksnumbered=true,%
+colorlinks=true,%
+linkcolor=MyBlue,%
+citecolor=MyRed,%
+filecolor=MyBlue,%
+urlcolor=MyGreen%
+]{hyperref}
+
+\setlength{\topmargin}{-20pt}
+\setlength{\textheight}{648pt}
+\setlength{\oddsidemargin}{15pt}
+\setlength{\textwidth}{440pt}
+
+%#####################################################################
+%######################### Document Starts ###########################
+%#####################################################################
+\begin{document}
+
+This document uses ``\verb|econ-jie.bst|''. The style like ({\itshape Journal of
+International Economics}).
+
+\vspace{1em}
+
+\input{cited-part}
+\nocite{*}
+
+%% bst file:
+\bibliographystyle{econ-jie}
+\bibliography{../econ-example}
+
+\end{document}
+
+%#####################################################################
+%######################### Document Ends #############################
+%#####################################################################
+% --------------------
+% Local Variables:
+% fill-column: 80
+% End:
diff --git a/biblio/bibtex/contrib/econ-bst/customization/econ-no-sort.bst b/biblio/bibtex/contrib/econ-bst/customization/econ-no-sort.bst
new file mode 100644
index 0000000000..2e272ee2c3
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/customization/econ-no-sort.bst
@@ -0,0 +1,3521 @@
+%% econ.bst: BibTeX style file for papers in economics.
+%
+% Author: Shiro Takeda
+% Maintainer: Shiro Takeda
+% Copyright (C) 2001-2018 Shiro Takeda
+% First-written: <2007/07/28>
+% Time-stamp: <2018-12-07 18:48:07 st>
+% Version: 2.5
+% Keywords: TeX, BibTeX, bst
+% URL: https://github.com/ShiroTakeda/econ-bst
+
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainer of this work is Shiro Takeda.
+
+%% Main features of econ.bst.
+
+% "econ.bst" is a BibTeX style file for economics. It provids the following
+% features:
+
+% 1) The author-year type citation (you need "natbib.sty" as well).
+% 2) Reference style used in economics papers ("econ.bst" is not a BibTeX style
+% for a specific journal).
+% 3) Highly customizable. You can easily customize reference style as you wish.
+% 4) You can use "certified random order" proposed by Ray â“¡ Robson (2018)
+% (http://dx.doi.org/10.1257/aer.20161492).
+
+% Bug reports, requests and suggestions are welcome.
+
+% For changelogs, see CHANGES.txt file.
+
+% version number
+FUNCTION {econ.version} { "2.5" }
+
+% Debug mode. Non-zero makes debug mode on.
+FUNCTION {econ.debug}
+{ #0 } % Debug mode off (default).
+% { #1 } % Debug mode on.
+
+ENTRY
+ %%% Declaration of field
+ { access address author booktitle chapter doi edition editor howpublished
+ institution journal key month note number organization pages publisher
+ school series title type url volume year
+ % Fields specific to econ.bst
+ order absorder nameorder
+ }
+
+ % Definition of entry variable. The entry variable is a variable which has
+ % different values according to different entries.
+ %% Integer entry variable:
+ { order.cited }
+
+ %% String entry variable
+ { label cyear flabel alabel extra.label sort.label sort.label.abb
+ extra.label.bysame nameorder.temp }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% Functions for customization:
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Use \bysame or not.
+%
+% If set to #0, \bysame is not used.
+% If set to #1, \bysame is used
+% If set to #2, \bysame is used (alternative abbreviation style).
+%
+% Note that integer number is expressed as # + integer in bst file.
+% \bysame is the function that abbreviates succession of the same authors' name by ---.
+%
+% See econ-sample.pdf for details.
+%
+FUNCTION {bst.use.bysame}
+% { #0 } % Not use \bysame
+{ #1 } % -> Use \bysame (default)
+% { #2 } % -> Use \bysame of alternative style.
+
+% The definition of \bysame command.
+%
+FUNCTION {bst.bysame.definition}
+{ "\hskip.3em \leavevmode\rule[.5ex]{3em}{.3pt}\hskip0.5em" } % (default)
+% { "\leavevmode\hbox to\leftmargin{\hrulefill\,\,}" } % If you set #2 to bst.use.bysame, use this.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% The order of fist and last name.
+%
+FUNCTION {bst.author.name}
+{ #0 } % (default)
+% { #1 }
+% { #2 }
+
+% Case of #0: First author -> last-first, other authors -> first-last.
+% Fujita, Masahisa, Paul R. Krugman, and Anthony J. Venables.
+
+% Case of #1: All authors -> last-first
+% Fujita, Masahisa, Krugman, Paul R., and Venables, Anthony J.
+
+% Case of #2: All authors -> first-last
+% Masahisa Fujita, Paul R. Krugman, and Anthony J. Venables.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Abbreviate first name of authors (editors):
+%
+FUNCTION {bst.first.name.initial}
+{ #0 } % #0 -> full letters (default).
+% { #1 } % Non-zero -> initial letter only.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Decapitalize of strings in title field.
+%
+FUNCTION {bst.title.lower.case}
+{ #0 } % If #0, not decapitalize title (default).
+% { #1 } % If non-#0, decapitalize title
+
+% Hide title filed.
+%
+FUNCTION {bst.hide.title}
+{ #0 } % #0 -> Title field is displayed (default)
+% { #1 } % Non-zer -> Title field is hidden
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Hide month.
+%
+FUNCTION {bst.hide.month}
+{ #0 } % #0 -> show month field (default).
+% { #1 } % non-#0 -> hide month field.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Attach number index like plain.bst.
+%
+FUNCTION {bst.use.number.index}
+{ #0 } % Not use number index (default).
+% { #1 } % Non-#0 -> Use number index
+
+% The string before number index:
+%
+FUNCTION {bst.number.index.pre}
+{ "[" } % (default)
+
+% The string after number index. Adjustment is recommended.
+%
+FUNCTION {bst.number.index.post}
+{ "]\hskip1.0em " } % (default)
+
+% Maximum digit of number index:
+% If the number of reference items >= 100, set 3 to this function.
+% If the number of reference items < 100, set 2 to this function.
+% If the number of reference items < 10, set 1 to this function.
+%
+FUNCTION {bst.number.index.digit}
+{ "2" } % (default)
+% { "3" }
+
+% The functions below are used to adjust space and postion. If you use fonts
+% other than computer modern fonts, you had better make adjustments.
+%
+% Setting for bst.number.index.digit = 1:
+FUNCTION {bst.number.index.bibhang.one}
+{ "2.05em" } % (default)
+% Setting for bst.number.index.digit = 2:
+FUNCTION {bst.number.index.bibhang.ten}
+{ "2.55em" } % (default)
+% Setting for bst.number.index.digit = 3:
+FUNCTION {bst.number.index.bibhang.hund}
+{ "3.05em" } % (default).
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Position of "year":
+%
+% You can choose the position of year by this function.
+%
+% If set to #0, year is placed right after "author".
+% If set to non-zero, year is placed at the end (before note field) except for
+% aritcle type entry.
+%
+% In article type entry, the position of year changes according to the
+% following rule:
+%
+% #1 -> year is placed at the end.
+% #2 -> year is placed after journal name in aritcle type entry.
+% #3 -> year is placed after volume in aritcle type entry.
+%
+FUNCTION {bst.year.position}
+{ #0 } % (default).
+% { #1 } % Last place before note.
+% { #2 } % After journal name for aticle type entry.
+% { #3 } % After volume for aticle type entry.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% If 0, references are sorted by old documents -> recent documents. If
+% non-zero, reverse order.
+FUNCTION {bst.reverse.year}
+{ #0 } % Normal order (old -> recent) (default).
+% { #1 } % inverse order (recent -> old)
+
+% If non-zero, sort references by using year field as the primary key
+% (chronological sorting).
+FUNCTION {bst.sort.year}
+{ #0 } % Normal case: year is used as the sorting key next to author (default).
+% { #1 } % year is used as the primary sorting key.
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% If non-zero, references are listed in citation order.
+%
+FUNCTION {bst.no.sort}
+% { #0 } % (default)
+{ #1 } % listed in citation order.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Non-zero -> sort references by entry type (article, book, incollection etc.)
+%
+FUNCTION {bst.sort.entry.type}
+{ #0 } % #0 -> Normal (not sort references by entry type) (default).
+% { #1 } % Non-zero -> sort references by entry type.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% 0 -> use absorder field to sort items. Otherwise, ignore absorder field.
+%
+FUNCTION {bst.notuse.absorder.field}
+{ #0 } % #0 -> Use absorder (default).
+% { #1 } % Non-#0 -> Not use absorder.
+%
+% Order of priority to sort items
+%
+% absorder -> author -> year -> order -> month -> title
+%
+% wehre absorder and order fields are specific to econ.bst.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% 0 -> use order field to sort items. Otherwise, ignore order field.
+% Note: order field is specific to econ.bst.
+FUNCTION {bst.notuse.order.field}
+{ #0 } % #0 -> Use order field (default).
+% { #1 } % Non-#0 -> not use order field.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%% and
+
+%%% String used to separate author names in references.
+%
+% String replaced with _ in "Mr. A _ Mr. B "
+%
+FUNCTION {bst.and}
+{ " and " } % (default)
+
+%%% String used to separate author names in references (more than two authors).
+%
+% String replaced with _ in "Mr. A, Mr. B _ Mr. C"
+%
+FUNCTION {bst.ands}
+{ ", and " } % (default)
+
+%%% String used to separate author names in citation part.
+%
+% String replaced with _ in "Mr. A _ Mr. B "
+%
+FUNCTION {bst.cite.and}
+{ " and " } % (default)
+
+%%% String used to separate author names in citation part (more than two authors).
+%
+% String replaced with _ in "Mr. A, Mr. B _ Mr. C"
+%
+FUNCTION {bst.cite.ands}
+{ " and " } % (default)
+
+%%% If you want to use random author order for some bibliography entries, set
+% non-zero to this function.
+%
+FUNCTION {bst.use.nameorder}
+{ #1 } % Use random order (default)
+% { #0 } % Not use random order
+
+%%% String used to separate author names in references for the entry of random
+% author order.
+%
+FUNCTION {bst.and.nameorder}
+{ " \textcircled{r} " } % (default)
+
+%%% String used to separate author names in citation part for the entry of
+% random author order
+%
+FUNCTION {bst.cite.and.nameorder}
+{ " \textcircled{r} " } % (default)
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Author names in the citation part are abbreviated by et al. if the number of
+% authors is greater or equal to bst.and.others.num.
+FUNCTION {bst.and.others.num}
+{ #3 } % If the number of authors is greater or equal to three (default).
+% { #4 }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Strings used when abbreviating multiple-authors in citation part.
+FUNCTION {bst.and.others}
+{ " et~al." } % (default)
+
+% Strings used when abbreviating multiple-authors in citation part for entries
+% with random author order.
+FUNCTION {bst.and.others.nameorder}
+{ " \textcircled{r}~al." } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% author
+
+% The string before author:
+%
+FUNCTION {bst.author.pre}
+{ "" } % (default)
+
+% The string after author:
+%
+FUNCTION {bst.author.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% year
+
+% The string before year only for aritcle type entry.
+%
+FUNCTION {bst.year.pre}
+{ " (" } % (default)
+
+% The string after year only for aritcle type entry.
+%
+FUNCTION {bst.year.post}
+{ ") " } % (default)
+
+% The string after year for non-article type entry (book, incollection etc)
+%
+FUNCTION {bst.year.na.pre}
+{ " (" } % (default)
+
+% The string after year for non-article type entry (book, incollection etc)
+%
+FUNCTION {bst.year.na.post}
+{ ") " } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% title (except for title in book)
+
+% The string before title:
+%
+FUNCTION {bst.title.pre}
+{ "``" } % (default)
+
+% The string after title:
+%
+FUNCTION {bst.title.post}
+{ ",''" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% tile for book:
+
+% The string before book title:
+%
+FUNCTION {bst.book.pre}
+{ " \textit{" } % (default)
+
+% The string after book title:
+%
+FUNCTION {bst.book.post}
+{ "}" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% booktitle
+
+% The string before booktitle:
+%
+FUNCTION {bst.btitle.pre}
+{ " \textit{" } % (default)
+
+% The string after booktitle:
+%
+FUNCTION {bst.btitle.post}
+{ "}" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% journal name
+
+% The string before journal name:
+%
+FUNCTION {bst.journal.pre}
+{ " \textit{" } % (default)
+
+% The string after journal name:
+%
+FUNCTION {bst.journal.post}
+{ "}" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% editor notation:
+
+% The string that indicates multiple editors:
+%
+FUNCTION {bst.editors}
+{ " eds. " } % (default)
+
+% The string that indicates single editor:
+%
+FUNCTION {bst.editor}
+{ " ed. " } % (default)
+
+% Order of editor and booktitle in incollection and inproceedings entries.
+%
+% If set to #0: editors -> booktitle order
+% If set to non-zero: booktitle -> editors order
+%
+FUNCTION {bst.editor.btitle.order}
+{ #0 } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% edition
+
+% The string before edition:
+%
+FUNCTION {bst.edition.pre}
+{ ", " } % (default)
+
+% The string after edition:
+%
+FUNCTION {bst.edition.post}
+{ " edition" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% volume
+
+% The string before volume:
+%
+FUNCTION {bst.volume.pre}
+{ ", Vol. " } % (default)
+
+% The string after volume:
+%
+FUNCTION {bst.volume.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% number
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Hide number. If non-zero, number is suppressed.
+FUNCTION {bst.hide.number}
+% { #0 } % #0 -> show number field (default)
+{ #1 } % non-#0 -> Hide number field.
+
+% The string before number:
+%
+FUNCTION {bst.number.pre}
+{ ", No. " } % (default)
+
+% The string after number:
+%
+FUNCTION {bst.number.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% in
+
+% In
+%
+FUNCTION {bst.in}
+{ " in " } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% page
+
+% The string before page (multiple pages):
+%
+FUNCTION {bst.pages.pre}
+{ ", pp." } % (default)
+
+% The string before page:
+%
+FUNCTION {bst.page.pre}
+{ ", p." } % (default)
+
+% The string after page (multiple pages):
+%
+FUNCTION {bst.pages.post}
+{ "" } % (default)
+
+% The string after page:
+%
+FUNCTION {bst.page.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% chapter
+
+% The string before chapter:
+%
+FUNCTION {bst.chapter.pre}
+{ ", Chap." } % (default)
+
+% The string after chapter:
+%
+FUNCTION {bst.chapter.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% month
+
+% The string before month:
+%
+FUNCTION {bst.month.pre}
+{ ", " } % (default)
+
+% The string after month:
+%
+FUNCTION {bst.month.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% address
+% The string before address:
+%
+FUNCTION {bst.address.pre}
+{ ", " } % (default)
+
+% The string after address:
+%
+FUNCTION {bst.address.post}
+{ "" } % (default)
+
+% You can choose the order of address and publisher by this function.
+%
+% If #0, address -> publisher order (the default value).
+% If non-zero, publisher -> address order.
+
+FUNCTION {bst.address.position}
+{ #0 } % Address is placed before publisher (default)
+% { #1 } % Address is placed after publisher
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% publisher
+
+% The string before publisher:
+%
+FUNCTION {bst.publisher.pre}
+{ ": " } % (default)
+
+% The string after publisher:
+%
+FUNCTION {bst.publisher.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% series
+
+% The string before series:
+%
+FUNCTION {bst.series.pre}
+{ ", " } % (default)
+
+% The string after series:
+%
+FUNCTION {bst.series.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% organization
+
+% The string before organization:
+%
+FUNCTION {bst.organization.pre}
+{ ", " } % (default)
+
+% The string after organization:
+%
+FUNCTION {bst.organization.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% school
+
+% The string before school:
+%
+FUNCTION {bst.school.pre}
+{ ", " } % (default)
+
+% The string after school:
+%
+FUNCTION {bst.school.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% institution
+
+% The string before institution:
+%
+FUNCTION {bst.institution.pre}
+{ ", " } % (default)
+
+% The string after institution:
+%
+FUNCTION {bst.institution.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% howpublished
+
+% The string before howpublished:
+%
+FUNCTION {bst.howpublished.pre}
+{ " " } % (default)
+
+% The string after howpublished:
+%
+FUNCTION {bst.howpublished.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% url
+
+% Show or Hide url. If non-zero, url is displayed. Otherwise, url is suppressed.
+FUNCTION {bst.show.url}
+{ #1 } % non-#0 -> Show url field (default)
+% { #0 } % #0 -> Not show url field.
+
+% The string before url:
+%
+FUNCTION {bst.url.pre}
+{ ", URL: \url{" } % (default)
+
+% The string after url:
+%
+FUNCTION {bst.url.post}
+{ "}" } % (default)
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Access
+
+% This setting is valid only if there are "access" field in bib
+% files. The value of access field indicates accessed date for URL.
+
+% The string before access.
+FUNCTION {bst.access.pre}
+{ ", accessed on " } % (default)
+
+% The string after access.
+FUNCTION {bst.access.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% DOI (digital object identifier)
+
+% This setting is valid only if there are "doi" field in bib files.
+
+% Show or Hide DOI. If non-zero, DOI is displayed. Otherwise, DOI is suppressed.
+FUNCTION {bst.show.doi}
+{ #1 } % non-#0 -> Show DOI field (default)
+% { #0 } % #0 -> Not show DOI field.
+
+% The string before DOI:
+%
+FUNCTION {bst.doi.pre}
+{ ", DOI: \href{http://dx.doi.org/" doi * "}{" * } % (default)
+
+% The string after DOI:
+%
+FUNCTION {bst.doi.post}
+{ "}" } % (default)
+
+% How to show URL and DOI fields when both fields exist.
+%
+% #0 -> Both fields are displayed
+% #1 -> Only URL field is displayed
+% #2 -> Only DOI field is displayed
+%
+FUNCTION {bst.url.doi}
+{ #0 } % (default) -> Both fields are displayed
+% { #1 } % -> Only URL field is displayed
+% { #2 } % -> Only DOI field is displayed
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Other functions:
+
+% The string before note.
+FUNCTION {bst.note.pre}
+{ ", " } % (default)
+
+% The string after note.
+FUNCTION {bst.note.post}
+{ "" } % (default)
+
+% The string that represents Technical report:
+%
+FUNCTION {bst.techrep}
+{ " Tech. Rep." } % (default)
+
+% The string that represents master thesis:
+%
+FUNCTION {bst.mthesis}
+{ " Master's thesis" } % (default)
+
+% The string that represents phd thesis:
+%
+FUNCTION {bst.phdthesis}
+{ " Ph.D. dissertation" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% Functions for customization end here:
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION {bst.first}
+{ "1st" }
+
+FUNCTION {bst.second}
+{ "2nd" }
+
+FUNCTION {bst.third}
+{ "3rd" }
+
+FUNCTION {bst.fourth}
+{ "4th" }
+
+FUNCTION {bst.fifth}
+{ "5th" }
+
+FUNCTION {bst.st}
+{ "st" }
+
+FUNCTION {bst.nd}
+{ "nd" }
+
+FUNCTION {bst.rd}
+{ "rd" }
+
+FUNCTION {bst.th}
+{ "th" }
+
+%%%%% memo by Takeda
+
+% "a" 'b := indicates substituting string "a" for variable b.
+
+% Integer number #0, #1,...
+
+%%% Function definition:
+%
+% FUNCTION {name}
+% { 's :=
+%
+% }
+%
+% This is the definition of a function named "name". The function "name" is
+% used in the following way
+%
+% "foo" name
+% "foo" is an argument for the function "name".
+%
+% About the definition of a function with more than two arguments, see the
+% definition of "chop.word".
+
+%%% Declaration of variables:
+
+%% String global variables:
+STRINGS { s t tt }
+STRINGS { year.num }
+STRINGS { preone preten }
+STRINGS { last.sort.label next.extra prev.author prev.author.aer this.author }
+STRINGS { hang }
+STRINGS { item.type }
+STRINGS { tempa tempb }
+
+%% Integer global variables:
+INTEGERS { nameptr namesleft numnames name.num }
+INTEGERS { multiresult }
+INTEGERS { index }
+INTEGERS { len }
+INTEGERS { last.extra.num }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+INTEGERS { last.period.comma }
+INTEGERS { len1.aer len2.aer i.aer }
+
+%%% Definition of functions:
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+%%% Initialize variables:
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+%%% Remove comma and add period:
+%
+%%%
+FUNCTION {add.period.x}
+{ duplicate$
+ #-1 #1 substring$ "," =
+ { #-2 global.max$ substring$ "." * }
+ { duplicate$
+ #-1 #2 substring$ ". " =
+ { #-3 global.max$ substring$ "." * }
+ { duplicate$
+ #-1 #2 substring$ ", " =
+ { #-3 global.max$ substring$ "." * }
+ { duplicate$
+ #-1 #2 substring$ ",'" =
+ { #-3 global.max$ substring$ ".'" * }
+ { duplicate$
+ #-1 #2 substring$ ".'" =
+ { #-3 global.max$ substring$ ".'" * }
+ { duplicate$
+ #-1 #2 substring$ ".~" =
+ { #-3 global.max$ substring$ ".~" * }
+ { duplicate$
+ #-1 #2 substring$ ",~" =
+ { #-3 global.max$ substring$ ".~" * }
+ { duplicate$
+ #-1 #3 substring$ ",''" =
+ { #-4 global.max$ substring$ ".''" * }
+ { duplicate$
+ #-1 #3 substring$ ".''" =
+ { #-4 global.max$ substring$ ".''" * }
+ { add.period$ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ % mid.sentence
+ output.state mid.sentence =
+ { ", " * write$ }
+ % not mid.sentence
+ { output.state after.block =
+ % after.block
+ { add.period.x " " * write$ }
+ % before.all
+ { output.state before.all =
+ 'write$
+ { add.period.x " " * write$ }
+ if$
+ }
+ if$
+ % not mid.sentence, set to mid.sentence
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+%%% If the last character is period or comma, set non-zero to
+%%% last.period.comma.
+FUNCTION {period.comma.p}
+{ duplicate$ 't :=
+ t #-1 #1 substring$ "." =
+ t #-1 #1 substring$ "," = or
+ t #-1 #1 substring$ ":" = or
+ t #-1 #2 substring$ ".'" = or
+ t #-1 #2 substring$ ",'" = or
+ t #-1 #3 substring$ ".''" = or
+ t #-1 #3 substring$ ",''" = or
+ t #-1 #2 substring$ ".~" = or
+ t #-1 #2 substring$ ",~" = or
+ { #1 'last.period.comma := }
+ { #0 'last.period.comma := }
+ if$
+}
+
+%%% remove unnecessary comma.
+FUNCTION {remove.pre.comma}
+{ 's :=
+ s empty$
+ { "" }
+ { s #1 #1 substring$ "," =
+ { s #2 global.max$ substring$ }
+ { s #1 #1 substring$ "." =
+ { s #2 global.max$ substring$ }
+ 's
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% output.nonnull.nocomma is the same as output.nonnull except that it does
+%%% not add commas even in mid.sentence.
+FUNCTION {output.nonnull.nocomma}
+{ 's :=
+ output.state mid.sentence =
+ % mid.sentence
+ { period.comma.p "" * write$ }
+
+ % not mid.sentence
+ { output.state after.block =
+ % after.block
+ { add.period.x " " * write$ }
+ % before.all
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ last.period.comma #0 =
+ { s }
+ { s remove.pre.comma }
+ if$
+}
+
+% Not used in the current econ.bst.
+% FUNCTION {output}
+% { duplicate$ empty$
+% 'pop$
+% 'output.nonnull
+% if$
+% }
+
+FUNCTION {output.nocomma}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull.nocomma
+ if$
+}
+
+% Not used in the current econ.bst.
+% FUNCTION {output.check}
+% { 't :=
+% duplicate$ empty$
+% { pop$ "empty " t * " in " * cite$ * warning$ }
+% 'output.nonnull
+% if$
+% }
+
+FUNCTION {output.check.nocomma}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull.nocomma
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%% Format in bbl file:
+
+% \harvarditem[Brezis et~al.]{Brezis, Krugman and
+% Tsiddon}{1993}{brezis93:_leapf_inter_compet}
+% Brezis, Elise~S., Paul~R. Krugman, and Daniel Tsiddon (1993) ``Leapfrogging in
+% International Competition: A Theory of Cycles in National Technological
+% Leadership.'', {\em American Economic Review.}, Vol.~83. No.~5. pp.
+% 1211--1219.
+
+% \harvarditem[abbreviated citation]{full citation}{year}{keyword} ...
+
+%%% Add period and newline.
+FUNCTION {fin.entry}
+{ add.period.x
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {new.block.check}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+%%% booktitle
+FUNCTION {format.btitle}
+{ booktitle empty$
+ { "" }
+ { bst.btitle.pre booktitle * bst.btitle.post * }
+ if$
+}
+
+%%% journal
+FUNCTION {format.journal}
+{ journal empty$
+ { "" }
+ { bst.journal.pre journal * bst.journal.post * }
+ if$
+}
+
+%%% title for book
+FUNCTION {format.book}
+{ title empty$
+ { "" }
+ { bst.book.pre title * bst.book.post * }
+ if$
+}
+
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { type$ "online" = bst.show.url or
+ { bst.url.pre url * bst.url.post *
+ access empty$
+ { "" * }
+ { bst.access.pre * access * bst.access.post * }
+ if$
+ }
+ { "" }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.doi}
+{ doi empty$ bst.show.doi not or
+ { "" }
+ { bst.doi.pre doi * bst.doi.post * }
+ if$
+}
+
+FUNCTION {format.url.doi}
+{ url empty$
+ { format.doi }
+ { doi empty$
+ { format.url }
+ { bst.url.doi #0 =
+ { format.url output.nocomma
+ format.doi }
+ { bst.url.doi #1 =
+ { format.url }
+ { format.doi }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% and others
+FUNCTION {bst.and.others.output}
+{ nameorder.temp "random" =
+ bst.use.nameorder #0 = not and
+ { bst.and.others.nameorder }
+ { bst.and.others }
+ if$
+}
+
+%%% author and editor
+
+%%% name
+FUNCTION {format.names}
+{ 's :=
+ % insert 1 to nameptr.
+ #1 'nameptr :=
+ % Set the number of authors to numnames.
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ % Repeat if namesleft > 0
+ { namesleft #0 > }
+ { nameptr #1 =
+ % First author
+ { bst.author.name #0 =
+ bst.author.name #1 =
+ or
+ { bst.first.name.initial #0 =
+ { s nameptr "{vv~}{ll}{, ff}{, jj}" format.name$ 't := }
+ { s nameptr "{vv~}{ll}{, f.}{, jj}" format.name$ 't := }
+ if$
+ }
+ { bst.first.name.initial #0 =
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't := }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := }
+ if$
+ }
+ if$
+ }
+ % The second or later authors
+ { bst.author.name #0 =
+ bst.author.name #2 =
+ or
+ { bst.first.name.initial #0 =
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't := }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := }
+ if$
+ }
+ { bst.first.name.initial #0 =
+ { s nameptr "{vv~}{ll}{, ff}{, jj}" format.name$ 't := }
+ { s nameptr "{vv~}{ll}{, f.}{, jj}" format.name$ 't := }
+ if$
+ }
+ if$
+ }
+ if$
+
+ nameptr #1 >
+ % The second or later authors
+ { nameorder.temp "random" =
+ bst.use.nameorder #0 = not and
+ { bst.and.nameorder * t * }
+ { namesleft #1 >
+ % More than one authors left
+ { ", " * t * }
+ % Only one author left
+ { t "others" =
+ { bst.and.others.output * }
+ { numnames #2 =
+ % Entry with two authors
+ { bst.and * t * }
+ { bst.ands * t * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+% remove successive periods (commas) from author
+FUNCTION {remove.ss.period.auth}
+{ 's :=
+ s format.names 'tempa :=
+ bst.author.post 'tempb :=
+ tempb #1 #1 substring$ "}" =
+ { tempa tempb * }
+ { tempa #-1 #1 substring$ tempb #1 #1 substring$ =
+ { tempa tempb #2 global.max$ substring$ * }
+ { tempa tempb * }
+ if$
+ }
+ if$
+}
+
+% <prev name list> <new name list> compare.names <modified name list>
+FUNCTION {compare.names.aer}
+{ 's :=
+ 'tempa :=
+
+% "current.author = " s * "\\" * write$ newline$
+% "prev.author = " tempa * "\\" * write$ newline$
+
+ tempa num.names$ 'len1.aer := % len1 = the number of previous authors
+ s num.names$ 'len2.aer := % len2 = the number of current authors
+
+% len1.aer := min(len1.aer,len2.aer)
+% len1 -> min{ the number of previous authors, the number of current authors }
+ len1.aer len2.aer >
+ { len2.aer 'len1.aer := }
+ { }
+ if$
+
+% start with an empty string, then while the components are the same
+% add "\bysame"
+ ""
+ #1 'i.aer :=
+
+ { i.aer len1.aer > not }
+ { tempa i.aer "{ff }{vv }{ll}{ jj}" format.name$
+ s i.aer "{ff }{vv }{ll}{ jj}" format.name$
+ =
+ { #1 i.aer <
+ { " and " * } % \bysame ã§çœç•¥ã™ã‚‹è‘—者ã®å‰ã«ã¤ã and
+ { }
+ if$
+ "\bysame{}" *
+ i.aer #1 + 'i.aer := }
+ { #-1 'len1.aer := }
+ if$
+ }
+ while$
+
+% add the rest of the second string
+ { i.aer len2.aer > not }
+ { #1 i.aer <
+ { " and " * }
+ { }
+ if$
+ s i.aer "{ff }{vv }{ll}{ jj}" format.name$ *
+ i.aer #1 + 'i.aer :=
+ }
+ while$
+}
+
+%%% author
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { bst.use.bysame #2 =
+ { prev.author.aer author compare.names.aer 's :=
+ author 'prev.author.aer := }
+ { author 's := }
+ if$
+ extra.label.bysame "bysame" =
+ { "\bysame " }
+ { bst.author.pre s remove.ss.period.auth * }
+ if$
+ }
+ if$
+}
+
+%%% editor
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { bst.use.bysame #2 =
+ { prev.author.aer editor compare.names.aer 's :=
+ editor 'prev.author.aer := }
+ { editor 's := }
+ if$
+ extra.label.bysame "bysame" =
+ { "\bysame " }
+ { bst.author.pre s remove.ss.period.auth * }
+ if$
+ s num.names$ #1 >
+ { bst.editors * }
+ { bst.editor * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.authors.alt}
+{ author empty$
+ { "" }
+ { extra.label.bysame "bysame" =
+ {"\bysame "}
+ { bst.author.pre author remove.ss.period.auth * }
+ if$
+ }
+ if$
+}
+
+%%% editor
+FUNCTION {format.editors.alt}
+{ editor empty$
+ { "" }
+ { extra.label.bysame "bysame" =
+ { "\bysame " }
+ { bst.author.pre editor remove.ss.period.auth * }
+ if$
+ editor num.names$ #1 >
+ { bst.editors * }
+ { bst.editor * }
+ if$
+ }
+ if$
+}
+
+%%% format.in.ed.booktitle
+FUNCTION {format.editors.x}
+{ editor empty$
+ { "" }
+ { bst.editor.btitle.order #0 =
+ { "" }
+ { editor num.names$ #1 >
+ { bst.editors " by " * }
+ { bst.editor " by " * }
+ if$
+ }
+ if$
+ editor format.names *
+ bst.editor.btitle.order #0 =
+ { editor num.names$ #1 >
+ { bst.editors * }
+ { bst.editor * }
+ if$
+ }
+ { "" * }
+ if$
+ }
+ if$
+}
+
+%%% Remove commas in the cases like "?." and "?,".
+FUNCTION {remove.irrelevant.period.comma}
+{ 's :=
+ s empty$
+ { "" }
+ { s #-1 #3 substring$ "?,'" =
+ s #-1 #3 substring$ "?.'" = or
+ { s #-3 global.max$ substring$ "'" * }
+ { s #-1 #4 substring$ "?,''" =
+ s #-1 #4 substring$ "?.''" = or
+ { s #-4 global.max$ substring$ "''" * }
+ { s #-1 #2 substring$ "?," =
+ s #-1 #2 substring$ "?." = or
+ { s #-2 global.max$ substring$ "" * }
+ { s #-1 #3 substring$ "?,~" =
+ s #-1 #3 substring$ "?.~" = or
+ { s #-4 global.max$ substring$ "?~" * }
+ 's
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% title
+FUNCTION {format.title.sub}
+{ bst.title.lower.case #0 =
+ { bst.title.pre title * bst.title.post * }
+ { bst.title.pre title "t" change.case$ * bst.title.post * }
+ if$
+}
+
+%%% title
+FUNCTION {format.title}
+{ title empty$
+ bst.hide.title #0 = not or
+ { "" }
+ { format.title.sub remove.irrelevant.period.comma }
+ if$
+}
+
+%%% title for misc.
+FUNCTION {format.misc.title}
+{ title empty$
+ { "" }
+ { bst.title.pre title * bst.title.post * }
+ if$
+}
+
+% Convert "-" to "--" (for pages field)
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ %% while$
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+%%% year
+FUNCTION {format.year}
+{ year empty$
+ { "there's no year in " cite$ * warning$
+ ", " }
+ { type$ "article" =
+ { bst.year.pre year * extra.label * bst.year.post * }
+ { bst.year.na.pre year * extra.label * bst.year.na.post * }
+ if$
+ }
+ if$
+}
+
+%%% page for book
+FUNCTION {format.book.pages}
+{ pages empty$
+ { "" }
+ { bst.pages.pre pages * bst.pages.post * }
+ if$
+}
+
+%%% Attach tie for the string with two or less characters.
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+%%% volume for book
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bst.volume.pre volume * bst.volume.post *
+ series empty$
+ 'skip$
+ %% If there is series field
+ { " of " * series * bst.series.post * }
+ if$
+% "volume and number" number either.or.check
+ }
+ if$
+}
+
+%%% series
+FUNCTION {output.series}
+{ series empty$
+ { "" }
+ { bst.series.pre series * bst.series.post * }
+ if$
+}
+
+%%% number and series
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ bst.hide.month #0 = not or
+ % number is empty
+ { series empty$
+ { "" }
+ % series is not empty.
+ { output.series }
+ if$
+ }
+ % number is not empty$
+ { series empty$
+ { bst.number.pre number * bst.number.post * }
+ % series is not empty.
+ { bst.in bst.series.pre * series * bst.series.post *
+ bst.number.pre * number * bst.number.post * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+%%% Number or not.
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% edition
+
+% Convert edition to 1st, 2nd, 3rd, 4th etc
+FUNCTION {eng.ord}
+{ duplicate$ "1" swap$ *
+ #-2 #1 substring$ "1" =
+ { bst.th * }
+ { duplicate$ #-1 #1 substring$
+ duplicate$ "1" =
+ { pop$ bst.st * }
+ { duplicate$ "2" =
+ { pop$ bst.nd * }
+ { "3" =
+ { bst.rd * }
+ { bst.th * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+% Convert first, second etc in edition field to 1st, 2nd (from jfm.bst)
+FUNCTION {convert.edition}
+{ edition extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bst.first }
+ { s "second" = s "2" = or
+ { bst.second }
+ { s "third" = s "3" = or
+ { bst.third }
+ { s "fourth" = s "4" = or
+ { bst.fourth }
+ { s "fifth" = s "5" = or
+ { bst.fifth }
+ { s #1 #1 substring$ is.num
+ { s eng.ord }
+ { edition }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% edition
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { bst.edition.pre convert.edition "l" change.case$ * bst.edition.post * }
+ { bst.edition.pre convert.edition "t" change.case$ * bst.edition.post * }
+ if$
+ }
+ if$
+}
+
+%%% month
+FUNCTION {format.month}
+{ month empty$
+ bst.hide.month #0 = not or
+ { "" }
+ { bst.month.pre month * bst.month.post * }
+ if$
+}
+
+%%% year and month
+FUNCTION {format.date}
+{ format.month format.year *
+}
+
+%%% Is multiple pages like 1-100?
+FUNCTION { multi.page.check }
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+%%% pages
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { bst.pages.pre pages n.dashify tie.or.space.connect * bst.pages.post }
+ { bst.page.pre pages tie.or.space.connect * bst.page.post }
+ if$
+ }
+ if$
+}
+
+%%% number
+FUNCTION {format.number}
+{ number empty$
+ bst.hide.number #0 = not or
+ { "" }
+ { bst.number.pre number * bst.number.post * }
+ if$
+}
+
+%%% volume
+FUNCTION {format.volume}
+{ volume empty$
+ 'skip$
+ { bst.volume.pre volume * bst.volume.post *
+ bst.year.position #3 =
+ { format.year * }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+%%% number, page
+FUNCTION {format.number.pages}
+{ number empty$
+ { format.pages }
+ { format.number format.pages * }
+ if$
+}
+
+%%% volume, page
+FUNCTION {format.volume.pages}
+{ volume empty$
+ { format.pages }
+ { format.volume format.pages * }
+ if$
+}
+
+%%% volume, number, page
+FUNCTION {format.volume.number.pages}
+{ volume empty$
+ { number empty$
+ { format.pages }
+ { format.number format.pages * }
+ if$
+ }
+ { number empty$
+ { format.volume format.pages * }
+ { format.volume format.number * format.pages * }
+ if$
+ }
+ if$
+}
+
+% volume, number, page
+FUNCTION {format.vol.num.pages}
+{ volume empty$
+ %% volume is empty.
+ { number empty$
+ %% number is empty.
+ { pages empty$
+ % warning
+ { "there is no volume, number, and pages in " cite$ * warning$ "" }
+ { "" format.pages * }
+ if$
+ }
+ %% number is not empty.
+ % warning
+ { "there's a number but no volume in " cite$ * warning$
+ format.number.pages }
+ if$
+ }
+ %% volume is not empty.
+ { number empty$
+ %% number is empty.
+ { format.volume.pages }
+ %% number is not empty.
+ { format.volume.number.pages }
+ if$
+ }
+ if$
+}
+
+%%% chapter
+FUNCTION {format.chapter}
+{ chapter empty$
+ { "" }
+ { type empty$
+ { bst.chapter.pre chapter tie.or.space.connect * bst.chapter.post }
+ { ", " * type " " * chapter * }
+ if$
+ }
+ if$
+}
+
+%%% chapter, pages
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ { pages empty$
+ { "" }
+ { "" format.pages * }
+ if$
+ }
+ { pages empty$
+ { "" format.chapter * }
+ { "" format.chapter * format.pages * }
+ if$
+ }
+ if$
+}
+
+%%% editor and booktitle
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { bst.in format.btitle * }
+ { bst.editor.btitle.order #0 =
+ { bst.in format.editors.x * " " * format.btitle * }
+ { bst.in format.btitle * " " * format.editors.x * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% howpublished
+FUNCTION {format.howpublished}
+{ howpublished empty$
+ { "" }
+ { bst.howpublished.pre howpublished * bst.howpublished.post * }
+ if$
+}
+
+%%% address
+FUNCTION {format.address}
+{ address empty$
+ { "" }
+ { bst.address.pre address * bst.address.post * }
+ if$
+}
+
+%%% publisher
+FUNCTION {format.publisher}
+{ publisher empty$
+ { "" }
+ { bst.publisher.pre publisher * bst.publisher.post * }
+ if$
+}
+
+%%% organization
+FUNCTION {format.organization}
+{ organization empty$
+ { "" }
+ { bst.organization.pre organization * bst.organization.post * }
+ if$
+}
+
+%% publisher and address
+FUNCTION {output.publisher.address}
+{ address empty$
+ { format.publisher "publisher" output.check.nocomma }
+ { bst.address.position #0 =
+ { format.address output.nocomma
+ format.publisher "publisher" output.check.nocomma }
+ { format.publisher "publisher" output.check.nocomma
+ format.address output.nocomma }
+ if$
+ }
+ if$
+}
+
+%% address, organization, publisher
+FUNCTION {output.address.organization.publisher}
+{ address empty$
+ %% address is empty
+ { organization empty$
+ %% organization is empty
+ { publisher empty$
+ 'skip$
+ { format.publisher "publisher" output.check.nocomma }
+ if$
+ }
+ %% organization is not empty
+ { publisher empty$
+ { format.organization "organization" output.check.nocomma }
+ { format.organization "organization" output.check.nocomma
+ format.publisher "publisher" output.check.nocomma }
+ if$
+ }
+ if$
+ }
+ %% address is not empty
+ { organization empty$
+ %% organization is empty
+ { publisher empty$
+ %% publisher is empty
+ { format.address output.nocomma }
+ %% publisher is not empty
+ { bst.address.position #0 =
+ { format.address output.nocomma
+ format.publisher "publisher" output.check.nocomma }
+ { format.publisher "publisher" output.check.nocomma
+ format.address output.nocomma }
+ if$
+ }
+ if$
+ }
+ %% organization is not empty
+ { publisher empty$
+ %% publisher is empty
+ { format.organization "organization" output.check.nocomma
+ format.address output.nocomma }
+ %% publisher is not empty
+ { format.organization "organization" output.check.nocomma
+ bst.address.position #0 =
+ { format.address output.nocomma
+ format.publisher "publisher" output.check.nocomma }
+ { format.publisher "publisher" output.check.nocomma
+ format.address output.nocomma }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% misc
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$ " " type * }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ { " " type * }
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+%%% phdthesis
+FUNCTION {format.phd}
+{ bst.phdthesis }
+
+%%% mastersthesis
+FUNCTION {format.mthesis}
+{ bst.mthesis }
+
+%%% school
+FUNCTION {format.school}
+{ school empty$
+ { "" }
+ { bst.school.pre school * bst.school.post * }
+ if$
+}
+
+%%% institution
+FUNCTION {format.institution}
+{ institution empty$
+ { "" }
+ { bst.institution.pre institution * bst.institution.post * }
+ if$
+}
+
+%%% remove first ? characters.
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.note}
+{ note empty$
+ { "" }
+ { bst.note.pre note * bst.note.post * }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \havarditem
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\harvarditem[" write$
+ alabel write$ % alabel <- abbreviated citation
+ "]{" write$
+ flabel write$ % flabel <- full citation
+ "}{" write$
+ cyear write$
+ % cyear = year
+ "}{" write$
+ cite$ write$ % cite$ -> pusch keyword
+ "}" write$
+ % If number index is on
+ bst.use.number.index #0 =
+ 'skip$
+ { index #1 + 'index :=
+ "" 'preone :=
+ "" 'preten :=
+ bst.number.index.digit "1" =
+ 'skip$
+ { bst.number.index.digit "2" =
+ { "\hskip0.5em" 'preone := }
+ { bst.number.index.digit "3" =
+ { "\hskip1em" 'preone :=
+ "\hskip0.5em" 'preten := }
+ 'skip$
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ newline$
+ before.all 'output.state :=
+ ""
+ % number index
+ bst.use.number.index #0 =
+ 'skip$
+ { index #10 <
+ % Insert spaces according to digit of number index.
+ { preone }
+ { index #100 <
+ { preten }
+ { "" }
+ if$
+ }
+ if$
+ bst.number.index.pre * index int.to.str$ * bst.number.index.post * write$
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% article
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+
+ format.journal "journal" output.check.nocomma
+ bst.year.position #2 =
+ { format.date output.nocomma }
+ 'skip$
+ if$
+ format.vol.num.pages output.nocomma
+
+ bst.year.position #1 =
+ { format.date output.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% book
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check.nocomma }
+ { format.authors output.nonnull.nocomma
+ "author and editor" editor either.or.check
+ }
+ if$
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.book "title" output.check.nocomma
+
+ format.bvolume output.nocomma
+ format.number.series output.nocomma
+ output.publisher.address
+
+ format.edition output.nocomma
+ format.book.pages output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% booklet
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output.nocomma
+ format.year output.nocomma
+ format.misc.title "title" output.check.nocomma
+ format.howpublished output.nocomma
+ format.address output.nocomma
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% inbook
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check.nocomma }
+ { format.authors output.nonnull.nocomma
+ "author and editor" editor either.or.check
+ }
+ if$
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+% format.book remove.pre.comma "title" output.check.nocomma
+ format.book "title" output.check.nocomma
+ format.edition output.nocomma
+
+ format.bvolume output.nocomma
+ format.chapter.pages "chapter and pages" output.check.nocomma
+ format.number.series output.nocomma
+ output.publisher.address
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% incollection
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+
+ format.in.ed.booktitle "booktitle" output.check.nocomma
+ format.bvolume output.nocomma
+ output.address.organization.publisher
+ format.edition output.nocomma
+ format.chapter.pages output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% inproceedings
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+
+ format.in.ed.booktitle "booktitle" output.check.nocomma
+ format.bvolume output.nocomma
+ format.number.series output.nocomma
+ format.pages output.nocomma
+ output.address.organization.publisher
+
+ bst.year.position #0 = not
+ { format.date output.nocomma }
+ { format.month output.nocomma }
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% conference
+
+FUNCTION {conference}
+{ inproceedings }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% manual
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull.nocomma
+ address output.nocomma
+ }
+ if$
+ }
+ { format.authors output.nonnull.nocomma }
+ if$
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.book "title" output.check.nocomma
+ author empty$
+ { organization empty$
+ { format.address new.block.check
+ format.address output.nocomma
+ }
+ 'skip$
+ if$
+ }
+ { output.address.organization.publisher }
+ if$
+ format.edition output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% mastersthesis
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+ format.mthesis format.thesis.type output.nonnull.nocomma
+ format.school "school" output.check.nocomma
+ format.address output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% misc
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.misc.title output.nocomma
+ format.howpublished output.nocomma
+
+ bst.year.position #0 = not
+ { format.date output.nocomma }
+ { format.month output.nocomma }
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+ empty.misc.check
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Online
+
+FUNCTION {online}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.misc.title output.nocomma
+ format.howpublished output.nocomma
+
+ bst.year.position #0 = not
+ { format.date output.nocomma }
+ { format.month output.nocomma }
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+ empty.misc.check
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% phdthesis
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.book "title" output.check.nocomma
+ format.phd
+ format.thesis.type output.nonnull.nocomma
+ format.school "school" output.check.nocomma
+ address empty$
+ 'skip$
+ { format.address output.nocomma }
+ if$
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% proceedings
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output.nocomma }
+ { format.editors output.nonnull.nocomma }
+ if$
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.btitle remove.pre.comma "title" output.check.nocomma
+ format.bvolume output.nocomma
+ format.number.series output.nocomma
+ output.address.organization.publisher
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% techreport
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+ format.tr.number output.nonnull.nocomma
+ format.institution "institution" output.check.nocomma
+ format.address output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% unpublished
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+
+ bst.year.position #0 = not
+ { format.date remove.pre.comma output.nocomma }
+ { month empty$
+ 'skip$
+ { format.month remove.pre.comma output.nocomma }
+ if$
+ }
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note "note" output.check.nocomma
+ fin.entry
+}
+
+FUNCTION {default.type}
+{ misc }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Alias for month names:
+
+MACRO {jan} {"January"}
+MACRO {feb} {"February"}
+MACRO {mar} {"March"}
+MACRO {apr} {"April"}
+MACRO {may} {"May"}
+MACRO {jun} {"June"}
+MACRO {jul} {"July"}
+MACRO {aug} {"August"}
+MACRO {sep} {"September"}
+MACRO {oct} {"October"}
+MACRO {nov} {"November"}
+MACRO {dec} {"December"}
+
+%%% Read entries:
+READ
+
+%%% Variable for remembering the order of citation.
+INTEGERS { order.num }
+FUNCTION {initialize.order.num}
+{
+ #1 'order.num :=
+}
+%%% Initialize a variables
+EXECUTE {initialize.order.num}
+
+%%% Variable for remembering the order of citation.
+FUNCTION {set.order.cited}
+{
+ order.num 'order.cited :=
+ #1 order.num + 'order.num :=
+}
+%%% Iterate for all entries:
+ITERATE {set.order.cited}
+
+%%% check the value of nameorder field.
+FUNCTION {set.nameorder}
+{ nameorder empty$
+ { "" 'nameorder.temp := }
+ { nameorder 'nameorder.temp := }
+ if$
+}
+%%% Iterate for all entries:
+ITERATE {set.nameorder}
+
+%%% Remove symbols and convert to lowercase.
+FUNCTION {sortify}
+{ purify$ "l" change.case$ }
+
+%%% names for sorting
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { ", " * }
+ 'skip$
+ if$
+ s nameptr "{ll}{ f}{ j}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { bst.and.others.output *}
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.names.abb}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames bst.and.others.num <
+ { s sort.format.names }
+ { s #1 "{ll}{ f}{ j}" format.name$ " zz " * }
+ if$
+}
+
+%%% Label for full author name.
+FUNCTION {format.lab.names.full}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { nameorder.temp "random" = bst.use.nameorder #0 = not and
+ { bst.and.nameorder * t * }
+ { ", " * t * }
+ if$
+ }
+ { t "others" =
+ { bst.and.others.output * }
+ { numnames #2 >
+ { nameorder.temp "random" = bst.use.nameorder #0 = not and
+ { bst.cite.and.nameorder * t * }
+ { bst.cite.ands * t * }
+ if$
+ }
+ { nameorder.temp "random" = bst.use.nameorder #0 = not and
+ { bst.cite.and.nameorder * t * }
+ { bst.cite.and * t * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #1 > #1 #2 = and {", eds" *} {} if$
+ numnames #1 = #1 #2 = and {", ed" *} {} if$
+}
+
+%%% laberl for abbreviated author name.
+FUNCTION {format.lab.names.abb}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames bst.and.others.num <
+ % if the number of authors is less than bst.and.others.num, full name.
+ { s format.lab.names.full }
+ % if the number of authors is equal or more than bst.and.others.num, abbreviated name.
+ { s #1 "{ll}" format.name$ bst.and.others.output * }
+ if$
+}
+
+%%% abbreviated author
+FUNCTION {author.key.label.abb}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names.abb }
+ if$
+}
+
+%%% full author
+FUNCTION {author.key.label.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names.full }
+ if$
+}
+
+FUNCTION {format.names.full.wo.and}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ll}{, ff}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { " " * t * }
+ { t "others" =
+ { " " * }
+ { numnames #2 >
+ { " " * t * }
+ { " " * t * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.key.full.wo.and}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.names.full.wo.and }
+ if$
+}
+
+FUNCTION {author.editor.key.full.wo.and}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.names.full.wo.and }
+ if$
+ }
+ { author format.names.full.wo.and }
+ if$
+}
+
+FUNCTION {editor.key.organization.key.full.wo.and}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.names.full.wo.and }
+ if$
+}
+
+FUNCTION {author.key.organization.key.full.wo.and}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.names.full.wo.and }
+ if$
+}
+
+%%% abbreviated author
+FUNCTION {author.editor.key.label.abb}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names.abb }
+ if$
+ }
+ { author format.lab.names.abb }
+ if$
+}
+
+%%% full author
+FUNCTION {author.editor.key.label.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names.full }
+ if$
+ }
+ { author format.lab.names.full }
+ if$
+}
+
+FUNCTION {author.key.organization.label.full}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names.full }
+ if$
+}
+
+FUNCTION {author.key.organization.label.abb}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names.abb }
+ if$
+}
+
+FUNCTION {editor.key.organization.label.full}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names.full }
+ if$
+}
+
+FUNCTION {editor.key.organization.label.abb}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names.abb }
+ if$
+}
+
+%%% Convert numbers: 0->9, 1->8, 2->7,..., 9->0
+FUNCTION {reverse.num}
+{ 's :=
+ s "1" =
+ { "8" 'year.num := }
+ { s "2" =
+ { "7" 'year.num := }
+ { s "3" =
+ { "6" 'year.num := }
+ { s "4" =
+ { "5" 'year.num := }
+ { s "5" =
+ { "4" 'year.num := }
+ { s "6" =
+ { "3" 'year.num := }
+ { s "7" =
+ { "2" 'year.num := }
+ { s "8" =
+ { "1" 'year.num := }
+ { s "9" =
+ { "0" 'year.num := }
+ { s "0" =
+ { "9" 'year.num := }
+ { "9" 'year.num := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ year.num
+}
+
+%%% Convert year (large number -> small number)
+FUNCTION {convert.year}
+{ 't :=
+ bst.reverse.year #0 =
+ { t 'tt := }
+ { t #1 #1 substring$ reverse.num
+ t #2 #1 substring$ reverse.num *
+ t #3 #1 substring$ reverse.num *
+ t #4 #1 substring$ reverse.num * 'tt := }
+ if$
+ tt
+}
+
+%%% cyear
+FUNCTION {calc.cyear}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full.wo.and
+ { type$ "proceedings" =
+ 'editor.key.organization.key.full.wo.and
+ { type$ "manual" =
+ 'author.key.organization.key.full.wo.and
+ 'author.key.full.wo.and
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ year empty$
+ { "2199" 'cyear := }
+ { year 'cyear := }
+ if$
+ year empty$
+ { " " "2199" convert.year * field.or.null * }
+ { " " year convert.year * field.or.null * }
+ if$
+ sortify 'sort.label :=
+ % For debug
+ econ.debug #0 = not
+ { "sort.label = ``\texttt{" write$
+ sort.label write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+ pop$
+}
+
+FUNCTION {calc.sort.label.abb}
+{ author empty$
+ { editor empty$
+ { "" }
+ { editor 's := }
+ if$
+ }
+ { author 's := }
+ if$
+ s sort.format.names.abb 't :=
+ year empty$
+ { t sortify " " * "2199" convert.year * 'sort.label.abb := }
+ { t sortify " " * year convert.year * 'sort.label.abb := }
+ if$
+ econ.debug #0 = not
+ { "sort.label.abb = ``\texttt{" write$
+ sort.label.abb write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+%%% flabel
+FUNCTION {calc.flabel}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label.full
+ { type$ "proceedings" =
+ 'editor.key.organization.label.full
+ { type$ "manual" =
+ 'author.key.organization.label.full
+ 'author.key.label.full
+ if$
+ }
+ if$
+ }
+ if$
+ 'flabel :=
+ % For debug
+ econ.debug #0 = not
+ { "flabel = ``\texttt{" write$
+ flabel write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+%%% alabel
+FUNCTION {calc.alabel}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label.abb
+ { type$ "proceedings" =
+ 'editor.key.organization.label.abb
+ { type$ "manual" =
+ 'author.key.organization.label.abb
+ 'author.key.label.abb
+ if$
+ }
+ if$
+ }
+ if$
+ 'alabel :=
+ % For debug
+ econ.debug #0 = not
+ { "alabel = ``\texttt{" write$
+ alabel write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+%%% title for sorting
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+%%% author for sorting
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+%%% editor for sorting
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+%%% 1,...,9 -> 001,...,009
+%%% 10,...,99 -> 010,...,099
+FUNCTION {add.zero.to.number}
+{ 's :=
+ s text.length$ #1 =
+ { "00" s * }
+ { s text.length$ #2 =
+ { "0" s * }
+ { s }
+ if$
+ }
+ if$
+}
+
+%% entry type
+FUNCTION {bst.sort.entry.type.order}
+{ 'item.type :=
+ item.type "article" =
+ { "01" }
+ { item.type "book" =
+ { "02" }
+ { item.type "booklet" =
+ { "03" }
+ { item.type "comment" =
+ { "04" }
+ { item.type "conference" =
+ { "05" }
+ { item.type "inbook" =
+ { "06" }
+ { item.type "incollection" =
+ { "07" }
+ { item.type "inproceedings" =
+ { "08" }
+ { item.type "manual" =
+ { "09" }
+ { item.type "masterthesis" =
+ { "10" }
+ { item.type "misc" =
+ { "11" }
+ { item.type "phdthesis" =
+ { "12" }
+ { item.type "proceedings" =
+ { "13" }
+ { item.type "techreport" =
+ { "14" }
+ { item.type "unpublished" =
+ { "15" }
+ { "16" }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% Create sort.key$: absorder -> author -> year -> order -> month -> title.
+FUNCTION {presort.one}
+{
+ bst.no.sort #0 = not
+ { order.cited int.to.str$ add.zero.to.number " " * }
+ { "" }
+ if$
+ bst.sort.year #0 = not
+ %% Use year field as the primary sorting key.
+ { year convert.year * }
+ 'skip$
+ if$
+ bst.sort.entry.type #0 = not
+ { type$ bst.sort.entry.type.order * " " * }
+ 'skip$
+ if$
+ absorder empty$
+ { "/// " * }
+ { bst.notuse.absorder.field #0 =
+ { absorder "999" =
+ { "zzz " * }
+ { absorder add.zero.to.number "000" =
+ { "/// " * }
+ { absorder add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ { "/// " * }
+ if$
+ }
+ if$
+ " " *
+ sort.label.abb *
+ " " *
+ type$ "book" = type$ "inbook" = or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ * " " *
+ " "
+ order empty$
+ { "/// " * }
+ { bst.notuse.order.field #0 =
+ { order "999" =
+ { "zzz " * }
+ { order add.zero.to.number "000" =
+ { "/// " * }
+ { order add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ { "/// " * }
+ if$
+ }
+ if$
+ month empty$
+ { * "/// " * }
+ { month "999" =
+ { * month add.zero.to.number * "zzz " * }
+ { month add.zero.to.number "000" =
+ { * month add.zero.to.number * "/// " * }
+ { * month add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ if$
+ title field.or.null sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+ % For debug
+ econ.debug #0 = not
+ { "``\texttt{" write$
+ sort.key$ write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+FUNCTION {presort.two}
+{
+ bst.no.sort #0 = not
+ { order.cited int.to.str$ add.zero.to.number " " * }
+ { "" }
+ if$
+ bst.sort.year #0 = not
+ %% Use year field as the primary sorting key.
+ { year convert.year * }
+ 'skip$
+ if$
+ bst.sort.entry.type #0 = not
+ { type$ bst.sort.entry.type.order * " " * }
+ 'skip$
+ if$
+ absorder empty$
+ { "/// " * }
+ { bst.notuse.absorder.field #0 =
+ { absorder "999" =
+ { "zzz " * }
+ { absorder add.zero.to.number "000" =
+ { "/// " * }
+ { absorder add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ { "/// " * }
+ if$
+ }
+ if$
+ " " * sort.label * " "
+ order empty$
+ { "/// " * }
+ { bst.notuse.order.field #0 =
+ { order "999" =
+ { "zzz " * }
+ { order add.zero.to.number "000" =
+ { "/// " * }
+ { order add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ { "/// " * }
+ if$
+ }
+ if$
+ month empty$
+ { * "/// " * }
+ { month "999" =
+ { * month add.zero.to.number * "zzz " * }
+ { month add.zero.to.number "000" =
+ { * month add.zero.to.number * "/// " * }
+ { * month add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ if$
+ title field.or.null sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+ % For debug
+ econ.debug #0 = not
+ { "``\texttt{" write$
+ sort.key$ write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+%%% Codes for debugging
+FUNCTION {calc.alabel.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of calc.alabel: alabel = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+FUNCTION {calc.flabel.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of calc.flabel: flabel = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+FUNCTION {presort.one.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of presort (1st time): \$sort.key = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {presort.two.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of presort (2nd time): \$sort.key = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {calc.cyear.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of calc.cyear: sort.label = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {calc.sort.label.abb.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of calc.sort.label.abb: sort.label.abb = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+
+%%% alabel
+EXECUTE {calc.alabel.mess}
+ITERATE {calc.alabel}
+
+%%% flabel
+EXECUTE {calc.flabel.mess}
+ITERATE {calc.flabel}
+
+%%% cyear and sort.label
+EXECUTE {calc.cyear.mess}
+ITERATE {calc.cyear}
+
+%%%
+EXECUTE {calc.sort.label.abb.mess}
+ITERATE {calc.sort.label.abb}
+
+%%% Sorting by $sort.key (first time)
+%
+% Sorting is done in two times. This is the first time.
+%
+EXECUTE {presort.one.mess}
+ITERATE {presort.one}
+SORT
+
+FUNCTION {forward.pass}
+{ bst.use.bysame #0 = bst.use.bysame #2 = or
+ % Not use \bysame
+ { last.sort.label sort.label.abb =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label.abb 'last.sort.label :=
+ }
+ if$
+ }
+ % Use \bysame
+ { last.sort.label sort.label.abb =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label.abb 'last.sort.label :=
+ }
+ if$
+ author empty$
+ { editor empty$
+ { "" }
+ 'format.editors.alt
+ if$
+ }
+ 'format.authors.alt
+ if$
+ 'this.author :=
+ % format.names 'this.author :=
+ this.author prev.author =
+ { "bysame" 'extra.label.bysame := }
+ { this.author "" =
+ { "abcxyz" }
+ 'this.author
+ if$
+ 'prev.author :=
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label empty$ not
+ { cyear extra.label * }
+ { cyear "" * }
+ if$
+ "" field.or.null *
+ 'cyear :=
+ extra.label 'next.extra :=
+}
+
+%%% \bysame
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+%%% Sorting by sort.key$ (second time)
+EXECUTE {presort.two.mess}
+ITERATE {presort.two}
+SORT
+
+FUNCTION {reset.prev.author}
+{ "xxyyzz" 'prev.author := }
+
+EXECUTE {reset.prev.author}
+
+FUNCTION {forward.pass.two}
+{ bst.use.bysame #1 =
+ { author empty$
+ { editor empty$
+ { "" }
+ 'format.editors.alt
+ if$
+ }
+ 'format.authors.alt
+ if$
+ 'this.author :=
+ this.author prev.author =
+ { "bysame" 'extra.label.bysame := }
+ { this.author "" =
+ { "abcxyz" }
+ 'this.author
+ if$
+ 'prev.author :=
+ }
+ if$
+ }
+ 'skip$
+ if$
+}
+
+ITERATE {forward.pass.two}
+
+FUNCTION{punctuation}
+{
+ "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" write$ newline$
+ "% This bbl file is created by econ.bst ver." econ.version * write$ newline$
+ "% The latest econ.bst is available at" write$ newline$
+ "% <https://github.com/ShiroTakeda/econ-bst>" write$ newline$ newline$
+}
+
+EXECUTE {punctuation}
+
+FUNCTION {begin.bib}
+{
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ bst.use.bysame #0 =
+ % Not use \bysame.
+ 'skip$
+ % Use \bysame.
+ { "%%% Definition of \bysame" write$ newline$
+ "\ifx\undefined\bysame" write$ newline$
+ "\newcommand{\bysame}{" bst.bysame.definition * "}" *
+ write$ newline$
+ "\fi" write$ newline$ newline$ }
+ if$
+ %% When number index is attached to the beginning of each item.
+ bst.use.number.index #0 =
+ 'skip$
+ { bst.number.index.digit "1" =
+ % one digit.
+ { bst.number.index.bibhang.one }
+ { bst.number.index.digit "2" =
+ % two digits.
+ { bst.number.index.bibhang.ten }
+ % three or more digits.
+ { bst.number.index.bibhang.hund }
+ if$
+ }
+ if$
+ 'hang :=
+ "%%% Redefinition of \bibhang" write$ newline$
+ "\ifx\undefined\bibhang" write$ newline$
+ "\relax" write$ newline$
+ "\else" write$ newline$
+ "\setlength{\bibhang}{"
+ hang * "}" * write$ newline$
+ "\fi" write$ newline$ newline$
+ }
+ if$
+ "\begin{thebibliography}{xxx}" write$ newline$
+
+ %% Initialize the variable `index'.
+ #0 'index :=
+}
+
+FUNCTION {end.bib}
+{ newline$ "\end{thebibliography}" write$ newline$ }
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+EXECUTE {end.bib}
+
+% --------------------
+% Local Variables:
+% fill-column: 78
+% mode: bst
+% End:
diff --git a/biblio/bibtex/contrib/econ-bst/customization/econ-no-sort.pdf b/biblio/bibtex/contrib/econ-bst/customization/econ-no-sort.pdf
new file mode 100644
index 0000000000..b85f9c19ac
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/customization/econ-no-sort.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/econ-bst/customization/econ-no-sort.tex b/biblio/bibtex/contrib/econ-bst/customization/econ-no-sort.tex
new file mode 100644
index 0000000000..48134687aa
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/customization/econ-no-sort.tex
@@ -0,0 +1,58 @@
+%#!pdflatex
+%#BIBTEX bibtex econ-no-sort
+
+%############################## Main #################################
+\documentclass[10pt]{article}
+
+%% Use natbib.sty
+\usepackage{natbib}
+\usepackage{mathpazo}
+\usepackage{url}
+\usepackage{graphicx}
+\usepackage{color}
+\definecolor{MyBrown}{rgb}{0.3,0,0}
+\definecolor{MyBlue}{rgb}{0,0,0.3}
+\definecolor{MyRed}{rgb}{0.4,0,0.1}
+\definecolor{MyGreen}{rgb}{0,0.4,0}
+\usepackage[bookmarks=true,%
+bookmarksnumbered=true,%
+colorlinks=true,%
+linkcolor=MyBlue,%
+citecolor=MyRed,%
+filecolor=MyBlue,%
+urlcolor=MyGreen%
+]{hyperref}
+
+\setlength{\topmargin}{-20pt}
+\setlength{\textheight}{648pt}
+\setlength{\oddsidemargin}{15pt}
+\setlength{\textwidth}{440pt}
+
+%#####################################################################
+%######################### Document Starts ###########################
+%#####################################################################
+\begin{document}
+
+This document uses ``\verb|econ-no-sort.bst|''.
+
+\vspace{1em}
+Entries in bibliography are listed in citation order (not in
+alphabetical order).
+\vspace{1em}
+
+\input{cited-part}
+\nocite{*}
+
+%% bst file:
+\bibliographystyle{econ-no-sort}
+\bibliography{../econ-example}
+
+\end{document}
+
+%#####################################################################
+%######################### Document Ends #############################
+%#####################################################################
+% --------------------
+% Local Variables:
+% fill-column: 80
+% End:
diff --git a/biblio/bibtex/contrib/econ-bst/customization/econ-numbers.pdf b/biblio/bibtex/contrib/econ-bst/customization/econ-numbers.pdf
new file mode 100644
index 0000000000..e8c9e567df
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/customization/econ-numbers.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/econ-bst/customization/econ-numbers.tex b/biblio/bibtex/contrib/econ-bst/customization/econ-numbers.tex
new file mode 100644
index 0000000000..c071bf5e52
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/customization/econ-numbers.tex
@@ -0,0 +1,72 @@
+%#!pdflatex
+%#BIBTEX bibtex econ-numbers
+
+%############################## Main #################################
+\documentclass[10pt]{article}
+
+%% Use natbib.sty
+\usepackage[numbers]{natbib}
+\usepackage{mathpazo}
+\usepackage{url}
+\usepackage{graphicx}
+\usepackage{color}
+\definecolor{MyBrown}{rgb}{0.3,0,0}
+\definecolor{MyBlue}{rgb}{0,0,0.3}
+\definecolor{MyRed}{rgb}{0.4,0,0.1}
+\definecolor{MyGreen}{rgb}{0,0.4,0}
+\usepackage[bookmarks=true,%
+bookmarksnumbered=true,%
+colorlinks=true,%
+linkcolor=MyBlue,%
+citecolor=MyRed,%
+filecolor=MyBlue,%
+urlcolor=MyGreen%
+]{hyperref}
+
+\setlength{\topmargin}{-20pt}
+\setlength{\textheight}{648pt}
+\setlength{\oddsidemargin}{15pt}
+\setlength{\textwidth}{440pt}
+
+% Redefine \cicet command so that citet is equal to citep.
+\renewcommand{\citet}[1]{\citep{#1}}
+
+%#####################################################################
+%######################### Document Starts ###########################
+%#####################################################################
+\begin{document}
+
+In this document, we use numerical mode of \texttt{natbib.sty}. That is, we cite
+references by number index.
+\vspace*{1em}
+
+To use numerical mode of \texttt{natbib.sty}, we use the following setting.
+\begin{itemize}
+ \item Load \texttt{natbib.sty} with option ``\texttt{numbers}'' like \\
+ \verb|\usepackage[numbers]{natbib}|
+ \item Use ``\verb|econ-no-sort.bst|'' which means that entries in the reference
+ are listed in citation order (not alphabetical order).
+ \item Use \verb|\citep| command instead of \verb|\citet| command.\\ Note:
+ strictly speaking, we use \texttt{citet} command but redefine
+ \texttt{citet} command in the preample so that it is equal to
+ \texttt{citep}.
+\end{itemize}
+
+\vspace{1em}
+
+\input{cited-part}
+\nocite{*}
+
+%% bst file:
+\bibliographystyle{econ-no-sort}
+\bibliography{../econ-example}
+
+\end{document}
+
+%#####################################################################
+%######################### Document Ends #############################
+%#####################################################################
+% --------------------
+% Local Variables:
+% fill-column: 80
+% End:
diff --git a/biblio/bibtex/contrib/econ-bst/econ-example.bib b/biblio/bibtex/contrib/econ-bst/econ-example.bib
new file mode 100644
index 0000000000..4b65c99bf3
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/econ-example.bib
@@ -0,0 +1,537 @@
+%
+% Bibliography entries
+%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Article
+@Article{brezis93:_leapf_inter_compet,
+ author = {Elise S. Brezis and Paul R. Krugman and Daniel Tsiddon},
+ title = {Leapfrogging in International Competition: A Theory of Cycles
+ in National Technological Leadership},
+ journal = {American Economic Review},
+ year = 1993,
+ volume = 83,
+ number = 5,
+ pages = {1211-1219},
+ month = {December},
+ url = {http://www.jstor.org/stable/2117557},
+}
+
+@Article{ishikawa94:_revis_stolp_samuel_rybcz_theor_produc_exter,
+ author = {Jota Ishikawa},
+ title = {Revisiting the {Stolper}-{Samuelson} and the {Rybczynski}
+ Theorems with Production Externalitities},
+ journal = {Canadian Journal of Economics},
+ year = 1994,
+ volume = 27,
+ pages = {101-111},
+ number = 1,
+ url = {http://www.jstor.org/stable/135804},
+}
+
+@article{Biker-2007-unemployment,
+ author = {Mustafa H. Babiker and Richard S. Eckaus},
+ title = {Unemployment Effects of Climate Policy},
+ journal = {Environmental Science and Policy},
+ year = 2007,
+ volume = 10,
+ number = {7-8},
+ pages = {600-609},
+ doi = {10.1016/j.envsci.2007.05.002},
+ timestamp = {2010.08.28}
+}
+
+@article{Takeda2012a,
+ author = {Takeda, Shiro and Tetsuya, Horie and Arimura, Toshi H.},
+ title = {A CGE Analysis of Border Adjustments under the Cap-and-Trade
+ System: A Case Study of the {Japanese} Economy},
+ journal = {Climate Change Economics},
+ volume = 3,
+ number = 1,
+ doi = {10.1142/S2010007812500030},
+ year = 2012,
+ url =
+ {http://www.worldscientific.com/doi/abs/10.1142/S2010007812500030},
+}
+
+@article{takeda06:_cge_analy_welfar_effec_trade,
+ author = {Shiro Takeda},
+ title = {The Double Dividend from Carbon Regulations in {Japan}},
+ journal = {Journal of the Japanese and International Economies},
+ year = 2007,
+ volume = 21,
+ number = 3,
+ pages = {336-364},
+ month = sep,
+ doi = {10.1016/j.jjie.2006.01.002},
+ absorder = 999
+}
+
+@Article{yamazaki13:_japan,
+ author = {Masato Yamazaki and Shiro Takeda},
+ title = {An assessment of nuclear power shutdown in {Japan} using the
+ computable general equilibrium model},
+ journal = {Journal of Integrated Disaster Risk Management},
+ year = 2013,
+ volume = 3,
+ number = 1,
+ doi = {10.5595/idrim.2013.0055}
+}
+
+@Article{takeda10:_cge_analy_welfar_effec_trade,
+ author = {Shiro Takeda},
+ title = {A {CGE} Analysis of the Welfare Effects of Trade Liberalization under Different
+ Market Structures},
+ journal = {International Review of Applied Economics},
+ year = 2010,
+ volume = 24,
+ number = 1,
+ absorder = 999,
+ pages = {75-93},
+ doi = {10.1080/02692170903424307},
+}
+
+@article{BabikerRutherford-2005-EconomicEffectsof,
+ author = {Mustafa H. Babiker and Thomas F. Rutherford},
+ title = {The Economic Effects of Border Measures in Subglobal Climate Agreements},
+ journal = {Energy Journal},
+ year = 2005,
+ volume = 26,
+ pages = {99-126},
+ number = 4
+}
+
+@article{2009yamasue502165,
+ author = {Eiji Yamasue and Ryota Minamino and Ichiro Daigo and Hideyuki
+ Okumura and Keiichi N Ishihara},
+ title = {Evaluation of total materials requirement for the recycling of
+ elements and materials (urban ore {TMR}) from end-of-life
+ electric home appliances},
+ journal = {Materials Transactions},
+ year = 2009,
+ volume = 50,
+ pages = {2165--2172},
+ number = 9,
+ issn = 13459678,
+ order = 3,
+ pdf = {2009yamasue502165.pdf},
+ publisher = {Japan Institute of Metals},
+ url = {http://ci.nii.ac.jp/naid/40016713752/}
+}
+
+@article{2007yamasue482353,
+ author = {Eiji Yamasue and Kenichi Nakajima and Ichiro Daigo and Seiji
+ Hashimoto and Hideyuki Okumura and Keiichi N. Ishihara},
+ title = {Evaluation of the Potential Amounts of Dissipated Rare Metals
+ from WEEE in {Japan}},
+ journal = {Materials transactions},
+ year = 2007,
+ volume = 48,
+ pages = {2353--2357},
+ number = 9,
+ issn = 13459678,
+ pdf = {2007yamasue482353.pdf},
+ publisher = {Japan Institute of Metals},
+ url = {http://ci.nii.ac.jp/naid/10019853407/}
+}
+
+@article{Babiker2000525,
+ author = {Mustafa H. Babiker and John M. Reilly and Henry D. Jacoby},
+ title = {The {Kyoto} Protocol and Developing Countries},
+ journal = {Energy Policy},
+ year = 2000,
+ volume = 28,
+ pages = {525--536},
+ number = 8,
+ doi = {10.1016/S0301-4215(00)00033-1},
+ issn = {0301-4215},
+ keywords = {Climate change}
+}
+
+@article{Parry1997,
+ author = {Parry, Ian W. H.},
+ doi = {10.2139/ssrn.293599},
+ journal = {Resource and Energy Economics},
+ pages = {5--6},
+ title = {{Environmental Taxes and Quotas in the Presence of Distorting
+ Taxes in Factor Markets}},
+ url = {http://linkinghub.elsevier.com/retrieve/pii/S0928765596000127},
+ year = {1997}
+}
+
+@Article{bergemann11:_ration,
+ author = {D. Bergemann and S. Morris and O. Tercieux},
+ title = {Rationalizable Implementation},
+ journal = {Journal of Economic Theory},
+ year = 2011,
+ volume = 146,
+ pages = {1253-1274}
+}
+
+@article{goldin:katz:2000,
+ author = {Claudia Goldin and Lawrence F. Katz},
+ title = {Education and Income in the Early Twentieth Century: Evidence from the Prairies},
+ journal = {Journal of Economic History},
+ year = {2000},
+ volume = {60},
+ number = {3},
+ pages = {782-818}
+}
+
+@article{10.1257/aer.20161492,
+ Author = {Ray, Debraj and Robson, Arthur},
+ Title = {Certified Random: A New Order for Coauthorship},
+ Journal = {American Economic Review},
+ Volume = {108},
+ Number = {2},
+ Year = {2018},
+ Month = {February},
+ Pages = {489-520},
+ DOI = {10.1257/aer.20161492},
+ URL = {http://www.aeaweb.org/articles?id=10.1257/aer.20161492},
+ nameorder = {random}
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Book
+@Book{krugman91:_geogr_trade,
+ author = {Paul R. Krugman},
+ title = {Geography and Trade},
+ publisher = {MIT Press},
+ year = 1991,
+ address = {Cambridge, MA}
+}
+
+@book{helpman91:_inter_trade_trade_polic,
+ editor = {Elhanan Helpman and Assaf Razin},
+ title = {International Trade and Trade Policy},
+ publisher = {MIT Press},
+ year = 1991,
+ address = {Cambridge, MA}
+}
+
+@Book{fujita99jp:_spatial_econom,
+ author = {Masahisa Fujita and Paul R. Krugman and Anthony J. Venables},
+ title = {The Spatial Economy},
+ publisher = {MIT Press},
+ address = {Cambridge, MA},
+ year = 1999,
+ jauthor = {¬o ”Ž”V},
+ jtitle = {‹óŠÔŒoÏŠw},
+ jpublisher = {“Œ—mŒoÏV•ñŽÐ},
+ jyear = 2000
+}
+
+@Book{Ryza15:_advan_analy_spark_patter_learn_data_scale,
+ author = {Sandy Ryza and Uri Laserson and Sean Owen and Josh Wills},
+ title = {Advanced Analytics with Spark Patterns for Learning from Data at Scale},
+ publisher = {O'reilly \& Associates Inc},
+ year = 2015,
+}
+
+@book{goldin:katz:2008,
+ author = {Claudia Goldin and Lawrence F. Katz},
+ title = {The Race between Education and Technology},
+ publisher = {The Belknap Press of Harvard University Press},
+ address = {Cambridge, MA},
+ year = {2008}
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Incollection
+@InCollection{krugman91:_is_bilat_bad,
+ author = {Paul R. Krugman},
+ title = {Is Bilateralism Bad?},
+ booktitle = {International Trade and Trade Policy},
+ pages = {9-23},
+ publisher = {MIT Press},
+ year = 1991,
+ editor = {Elhanan Helpman and Assaf Razin},
+ address = {Cambridge, MA}
+}
+
+@incollection{lucas76:_econom_polic_evaluat,
+ author = {Lucas, Jr., Robert E.},
+ year = 1976,
+ title = {Econometric Policy Evaluation: A Critique},
+ booktitle = {The {Phillips} Curve and Labor Markets},
+ pages = {19-46},
+ editors = {Karl Brunner and Allan H. Meltzer},
+ volume = 1,
+ series = {Carnegie Rochester Conference Series on Public Policy},
+ publisher = {North-Holland},
+ address = {Amsterdam}
+}
+
+@incollection{DeGorter2002,
+ author = {{De Gorter}, Harry and Swinnen, Johan},
+ booktitle = {Handbook of Agricuultural Economics},
+ chapter = {36},
+ doi = {10.1016/S1574-0072(02)10023-5},
+ editor = {Gardner, B. and Rausser, G.},
+ isbn = {9780444510792},
+ issn = {15740072},
+ keywords = {Q18,collective action,commodity policy,developmental
+ paradox,instrument choice,lobbying,politician-voter,public
+ goods,rent-seeking,revealed preference,status quo bias,trade
+ bias},
+ pages = {1893--1943},
+ publisher = {Elsevier Science B.V.},
+ title = {Political Economy of Agricultural Policy},
+ url =
+ {http://www.sciencedirect.com/science/article/pii/S1574007202100235},
+ volume = {2},
+ year = {2002}
+}
+
+@InCollection{borgers95:_note_implem_stron_domin,
+ author = {T. Borgers},
+ title = {A Note on Implementation and Strong Dominance},
+ booktitle = {Social Choice, Welfare, and Ethics: Proceedings of the Eighth International
+ Symposium in Economic Theory and Econometrics},
+ publisher = {Cambridge University Press},
+ year = 1995,
+ editor = {William A. Barnett and Herve Moulin and Maurice Salles and Norman J. Schofield},
+ pages = {277-287}
+}
+
+@incollection{goldin:katz:2011,
+ author = {Claudia Goldin and Lawrence F. Katz},
+ title = {Mass Secondary Schooling and the State: The Role of State Compulsion in the High
+ School Movement},
+ booktitle = {Understanding Long-Run Economic Growth: Essays in Honor of Kenneth L. Sokoloff},
+ publisher = {University of Chicago Press},
+ address = {Chicago, IL},
+ year = {2011},
+ editor = {D. Costa and N. Lamoreaux},
+ chapter = {9},
+ pages = {275-310},
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Unpublished
+
+@unpublished{ishikawa03:_green_gas_emiss_contr_open_econom,
+ author = {Jota Ishikawa and Kazuharu Kiyono},
+ title = {Greenhouse-Gas Emission Controls in an Open Economy},
+ year = 2003,
+ month = nov,
+ note = {{COE-RES} Discussion Paper Series, Center of Excellence
+ Project, Graduate School of Economics and Institute of
+ Economics Research, Hitotsubashi University}
+}
+
+@unpublished{rutherford00:_gtapin_gtap_eg,
+ author = {Thomas F. Rutherford and Sergey V. Paltsev},
+ title = {{GTAPinGAMS} and {GTAP-EG}: Global Datasets for Economic
+ Research and Illustrative Models},
+ month = sep,
+ year = 2000,
+ url = {http://www.mpsge.org/gtap5/index.html},
+ access = {29th June, 2013},
+ note = {Working Paper, University of Colorad, Department of Economics}
+}
+
+@unpublished{Takeda2011b,
+ author = {Takeda, Shiro and Arimura, Toshi H. and Tamechika, Hanae and
+ Fischer, Carolyn and Fox, Alan K.},
+ title = {Output Based Allocation of Emissions Permits for Mitigating
+ the Leakage and Competitiveness Issues for {Japanese} Economy},
+ note = {RFF (Resources for the Future) Discussion Paper 11-40,
+ September 2011},
+ url =
+ {http://rff.org/Publications/Pages/PublicationDetails.aspx?PublicationID=21652},
+ year = 2011
+}
+
+@unpublished{takeda2011c,
+ author = {Takeda, Shiro and Arimura, Toshi H. and Sugino, Makoto},
+ title = {Labor Market Distortions and Welfare-Decreasing International
+ Emissions Trading},
+ url = {http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1886200},
+ year = {2011},
+ access = {29/06/2013},
+}
+
+@unpublished{Babiker-1999-KyotoProtocoland,
+ author = {Mustafa H. Babiker and John M. Reilly and Henry D. Jacoby},
+ title = {The {Kyoto} Protocol and Developing Countries},
+ note = {MIT Joint Program on the Science and Policy of Global Change (Report No.56)},
+ month = {October},
+ year = 1999,
+ owner = {stakeda.lab},
+ timestamp = {2010.04.08}
+}
+
+@UNPUBLISHED{Babiker-1999-JapaneseNuclearPower,
+ author = {Mustafa H. Babiker and John M. Reilly and A. Denny Ellerman},
+ title = {{Japanese} Nuclear Power and the {Kyoto} Agreement},
+ note = {The MIT Joint Program on the Science and Policy of Global Change (Report No. 51)},
+ month = {August},
+ year = {1999},
+ owner = {stakeda.lab},
+ timestamp = {2010.03.26}
+}
+
+@UNPUBLISHED{RePEc:nbr:nberwo:4269,
+ title = {A Simple Theory of Multinational Corporations and Trade with a
+ Trade-Off Between Proximity and Concentration},
+ author = {Brainard, S. Lael},
+ year = {1993},
+ note = {NBER Working Paper No. 4269},
+ institution = {National Bureau of Economic Research, Inc},
+ type = {NBER Working Papers},
+ number = {4269},
+ abstract = {This paper develops a two-sector, two-country model, where
+ firms in a differentiated products sector choose between
+ exporting and multinational expansion as alternative modes of
+ foreign market penetration, based on a trade-off between
+ proximity and concentration advantages. The differentiated
+ sector is characterized by multi-stage production, with
+ increasing returns at the corporate level associated with some
+ activity such as R&D, scale economies at the plant level, and
+ a variable transport cost that rises with distance. A pure
+ multinational equilibrium, where two-way horizontal expansion
+ across borders completely supplants two-way trade in
+ differentiated products, is possible even in the absence of
+ factor proportion differences. It is more likely the greater
+ are transport costs relative to fixed plant costs, and the
+ greater are increasing returns at the corporate level relative
+ to the plant level. The model also establishes conditions for
+ a mixed equilibrium, in which national and multinational firms
+ coexist.},
+ url = {http://EconPapers.repec.org/RePEc:nbr:nberwo:4269}
+}
+
+@Unpublished{vohra18:_maxim_farsig_stabl_set,
+ author = {Rajiv Vohra and Debraj Ray},
+ title = {Maximality in The Farsighted Stable Set},
+ nameorder = {random},
+ year = 2018,
+ url =
+ {https://debrajray.com/wp-content/uploads/2018/01/RayVohraHistDep.pdf},
+ note = {September, 2018},
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%
+% inbook
+@InBook{wong95:_inter_trade_goods_factor_mobil_,
+ author = {{Kar-yiu} Wong},
+ title = {International Trade in Goods and Factor Mobility},
+ chapter = 2,
+ publisher = {MIT Press},
+ year = 1995,
+ address = {Cambridge, MA},
+ pages = {23-84}
+}
+
+@inbook{milne-thomson68:_theor_hydrod,
+ author = {Milne-Thomson, L. M.},
+ title = {Theoretical Hydrodynamics},
+ pages = 480,
+ publisher = {Ma{C}millan Press},
+ edition = {5th},
+ address = {London},
+ year = 1968
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%
+% inproceedings
+@inproceedings{wang89:_model_therm_hydrod_aspec_molten,
+ author = {Wang, S. K. and Blomquist, C. A. and Spencer, B. W.},
+ title = {Modeling of Thermal and Hydrodynamic Aspects of Molten
+ Jet/Water Interactions},
+ booktitle = {ANS Proc. 1989 National Heat Transfer Conference},
+ year = 1989,
+ pages = {225-232},
+ volume = 4,
+ address = {Philadelphia},
+ month = sep # "~6"
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Manual
+@Manual{brooke03:_gams,
+ author = {Anthony Brooke and David Kendrick and Alexander Meeraus and
+ Ramesh Raman},
+ title = {{GAMS}: A User's Guide},
+ year = 2003,
+ organization = {GAMS Development Corporation}
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%
+% techreport
+
+@techreport{Peri2007,
+ address = {Cambridge, MA},
+ author = {Peri, Giovanni},
+ doi = {10.3386/w12956},
+ institution = {National Bureau of Economic Research},
+ month = {mar},
+ title = {Immigrants' Complementarities and Native Wages: Evidence from
+ {California}},
+ url = {http://www.nber.org/papers/w12956.pdf},
+ year = {2007}
+}
+
+@TechReport{RePEc:hka:wpaper:2018-037,
+ author = {Piotr Dworczak and Scott Duke Kominers and Mohammad Akbarpour},
+ title = {Redistribution through Markets},
+ year = 2018,
+ month = Jun,
+ nameorder = {random},
+ institution = {Human Capital and Economic Opportunity Working Group},
+ type = {Working Papers},
+ url = {https://ideas.repec.org/p/hka/wpaper/2018-037.html},
+ number = {2018-037},
+ keywords = {optimal mechanism design; redistribution; Inequality; welfare
+ theorems},
+ doi = {},
+}
+
+@techreport{NBERw25205,
+ title = "Electoral Systems and Inequalities in Government
+ Interventions",
+ author = "Garance Genicot and Laurent Bouton and Micael Castanheira",
+ institution = "National Bureau of Economic Research",
+ type = "Working Paper",
+ series = "Working Paper Series",
+ number = "25205",
+ year = "2018",
+ month = "October",
+ doi = {10.3386/w25205},
+ URL = "http://www.nber.org/papers/w25205",
+ nameorder = {random}
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Online
+@online{stakeda2013web,
+ author = {Shiro Takeda},
+ year = {2013},
+ title = {econ.bst: {BibTeX} style file for economics},
+ url = {http://shirotakeda.org/en/tex/econ-bst.html},
+ access = {4th July, 2013}
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Phdthesis
+@PhdThesis{takeda05:_econom_analy_envir_regul,
+ author = {Shiro Takeda},
+ title = {An Economic Analysis of Environmental Regulations},
+ school = {Hitotsubashi University},
+ year = 2005}
+
+% proceedings
+% techreport
+% mastersthesis
+% misc
+% booklet
+
+% --------------------
+% Local Variables:
+% mode: bibtex
+% fill-column: 80
+% code: utf-8-dos
+% End:
diff --git a/biblio/bibtex/contrib/econ-bst/econ-example.pdf b/biblio/bibtex/contrib/econ-bst/econ-example.pdf
new file mode 100644
index 0000000000..bfd58cac6b
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/econ-example.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/econ-bst/econ-example.tex b/biblio/bibtex/contrib/econ-bst/econ-example.tex
new file mode 100644
index 0000000000..237076ccc0
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/econ-example.tex
@@ -0,0 +1,851 @@
+%#!pdflatex
+%#BIBTEX bibtex econ-example
+% Filename: econ-example.tex
+% Author: Shiro Takeda
+% First-written: <2002/11/02>
+% Time-stamp: <2018-12-06 00:47:47 st>
+%
+% This document explains how to use econ.bst.
+
+%############################## Main #################################
+
+\documentclass[10pt]{article}
+
+%% Use natbib.sty.
+\usepackage{natbib}
+\usepackage{fancybox}
+\usepackage{mathpazo}
+\usepackage{url}
+\usepackage{graphicx}
+\usepackage{color}
+\definecolor{MyBrown}{rgb}{0.3,0,0}
+\definecolor{MyBlue}{rgb}{0,0,0.3}
+\definecolor{MyRed}{rgb}{0.4,0,0.1}
+\definecolor{MyGreen}{rgb}{0,0.4,0}
+\usepackage[bookmarks=true,bookmarksnumbered=true,colorlinks=true,linkcolor=MyBlue,citecolor=MyRed,filecolor=MyBlue,urlcolor=MyGreen]{hyperref}
+
+\setlength{\topmargin}{-15pt}
+\setlength{\textheight}{638pt}
+\setlength{\oddsidemargin}{25pt}
+\setlength{\textwidth}{420pt}
+
+\makeatletter
+
+\newenvironment{Frame}%
+{\setlength{\fboxsep}{15pt}
+\setlength{\mylength}{\linewidth}%
+\addtolength{\mylength}{-2\fboxsep}%
+\addtolength{\mylength}{-2\fboxrule}%
+\Sbox
+\minipage{\mylength}%
+\setlength{\abovedisplayskip}{0pt}%
+\setlength{\belowdisplayskip}{0pt}%
+}%
+{\endminipage\endSbox
+\[\fbox{\TheSbox}\]}
+
+\newcommand{\bysameline}{\hskip.3em \leavevmode\rule[.5ex]{3em}{.3pt}\hskip0.5em}
+
+%% Define \BibTeX command
+\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
+ T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
+\makeatother
+
+%%% title, author, acknowledgement, and date
+\title{\texttt{econ.bst}:\\
+\BibTeX{} style for economics\\
+(for ver. 2.4)
+\thanks{\texttt{econ.bst} is available at
+\url{https://github.com/ShiroTakeda/econ-bst}}
+}
+
+\author{Shiro Takeda\thanks{email: {\ttfamily shiro.takeda@gmail.com}.}}
+\date{\today}
+
+%#####################################################################
+%######################### Document Starts ###########################
+%#####################################################################
+\begin{document}
+
+%%% Title
+\maketitle
+
+\newlength{\mylength}
+\setlength{\fboxsep}{15pt}
+\setlength{\mylength}{\linewidth}
+\addtolength{\mylength}{-2\fboxsep}
+\addtolength{\mylength}{-2\fboxrule}
+
+%%% Table of contents.
+\tableofcontents
+
+%########################## Text Starts ##############################
+
+\setlength{\baselineskip}{16pt}
+
+\section{Main features}
+
+``\texttt{econ.bst}'' is a \BibTeX{} style file. It provids the following
+features:
+\begin{Frame}
+ \begin{itemize}
+ \item The author-year type citation (you need ``\texttt{natbib.sty}'' as well).
+ \item Reference style used in economics papers.
+ \item Highly customizable. You can easily customize reference style as you
+ wish.
+ \item You can use ``\textit{certified random order}'' proposed by
+ \href{http://dx.doi.org/10.1257/aer.20161492}{\citet[][AER]{10.1257/aer.20161492}}.
+ \end{itemize}
+\end{Frame}
+
+\textbf{The third feature is the key characteristic of ``\texttt{econ.bst}''.}
+
+\section{How to use ``\texttt{econ.bst}''}
+
+\begin{itemize}
+ \item ``\texttt{econ.bst}'' requires ``\texttt{natbib.sty}''.
+ If ``\texttt{natbib.sty}'' is not installed in your \TeX{} system, you must
+ install it first.
+ \item Put ``\texttt{econ.bst}'' file somewhere under the directory (folder)
+ ``\texttt{/texmf/bibtex/bst}''. Or you can place ``\texttt{econ.bst}'' at
+ the same directory as the \TeX{} file you are editting.
+ \item You may need to change the character code of ``\texttt{econ.bst}''
+ according to your \TeX system.
+ \item See ``\texttt{econ-example.tex}'' for an example tex file.
+ \item For \BibTeX{} in general, see, for example,
+ \href{https://www.economics.utoronto.ca/osborne/latex/BIBTEX.HTM}{Using
+ BibTeX: a short guide} by Martin J. Osborne.
+\end{itemize}
+
+
+\subsection{Preparing a tex file}
+
+In the tex file you are editting, you first need to load \texttt{natbib}
+package.
+\begin{Frame}
+\begin{verbatim}
+\usepackage{natbib}
+\end{verbatim}
+\end{Frame}
+
+In the main text, you can cite bibliographic entries by \verb|\citet|
+command.
+
+For example, ``\verb|\citet{Takeda2011b}| is my paper'' generates the output like
+\begin{Frame}
+\citet{Takeda2011b} is my paper.
+\end{Frame}
+
+At the place where you want to add ``the reference part'', you have to set the
+bibliography style (\texttt{econ.bst}) and database (\texttt{econ-example.bib}) like
+\begin{Frame}
+\begin{verbatim}
+\bibliographystyle{econ}
+\bibliography{econ-example}
+\end{verbatim}
+\end{Frame}
+
+
+\section{Customization}
+
+``\texttt{econ.bst}'' defines many functions which have names like
+``\texttt{bst.xxx.yyy}''. You can easily customize the reference style by
+changing the contents of these functions.
+
+\subsection{Notes on customization}
+
+\begin{itemize}
+ \item Customization here is customization of the reference part. Style
+ in the citation part mainly depends on a style file for citation
+ (``\texttt{natbib.sty}'').
+ \item Except for some cases, customization here cannot change order
+ of fields (order of author, year, title etc.)
+ \item Functions with ``\texttt{.pre}'' define strings attached to the start
+ of the field and functions with ``\texttt{.post}'' define strings
+ attached to the end of field. For exmple,
+ ``\texttt{bst.author.pre}'' defines strings attached before author.
+ \item You can change order of entries (references). It will be
+ explained in Section \ref{sec:sort_rule}.
+ \item In a bst file, integer (e.g. 0, 1, 2) is represented as \verb|#0|, \verb|#1| , \verb|#2|.
+\end{itemize}
+
+\subsection{Examples of customization}
+
+\subsubsection{Change delimiter used to separate mutiple author names
+ from ``and'' to ``\&''.}
+
+For this, change the contents of ``\texttt{bst.and}'' and ``\texttt{bst.ands}''.
+\paragraph{Default definition:}
+\begin{Frame}
+\begin{verbatim}
+FUNCTION {bst.and}
+{ " and " }
+FUNCTION {bst.ands}
+{ ", and " }
+\end{verbatim}
+\end{Frame}
+
+\paragraph{New definition:}
+\begin{Frame}
+\begin{verbatim}
+FUNCTION {bst.and}
+{ " \& " }
+FUNCTION {bst.ands}
+{ " \& " }
+\end{verbatim}
+\end{Frame}
+
+Then, author names in reference part are displayed as follows:
+\begin{center}
+Fujita, Masahisa, Paul~R. Krugman, and Anthony~J. Venables \\
+ $\downarrow$ \\
+Fujita, Masahisa, Paul~R. Krugman \& Anthony~J. Venables
+\end{center}
+
+See ``\texttt{econ-b.bst}'' for an example.
+
+\subsubsection{Make author to small caps style}
+
+For this, change the contents of ``\texttt{bst.author.pre}'' and ``\texttt{bst.author.post}''.
+\paragraph{Default definition:}
+\begin{Frame}
+\begin{verbatim}
+FUNCTION {bst.author.pre}
+{ "" }
+FUNCTION {bst.author.post}
+{ "" }
+\end{verbatim}
+\end{Frame}
+
+\paragraph{New definition:}
+\begin{Frame}
+\begin{verbatim}
+FUNCTION {bst.author.pre}
+{ "\textsc{" }
+FUNCTION {bst.author.post}
+{ "}" }
+\end{verbatim}
+\end{Frame}
+
+Then, author names in reference part are changed as follows:
+\begin{center}
+Fujita, Masahisa, Paul~R. Krugman, and Anthony~J. Venables \\
+ $\downarrow$ \\
+\textsc{Fujita, Masahisa, Paul~R. Krugman, and Anthony~J. Venables}
+\end{center}
+
+See ``\texttt{econ-b.bst}'' for an example.
+
+\subsubsection{Change the style of volume and number}
+
+For this, change the contents of ``\texttt{bst.volume.pre}'',
+``\texttt{bst.volume.post}'', ``\texttt{bst.number.pre}'' and
+``\texttt{bst.number.post}''.
+
+\paragraph{Default definition:}
+\begin{Frame}
+\begin{verbatim}
+FUNCTION {bst.volume.pre}
+{ ", Vol. " }
+FUNCTION {bst.volume.post}
+{ "" }
+FUNCTION {bst.number.pre}
+{ ", No. " }
+FUNCTION {bst.number.post}
+{ "" }
+\end{verbatim}
+\end{Frame}
+
+\paragraph{New definition:}
+\begin{Frame}
+ \begin{verbatim}
+FUNCTION {bst.volume.pre}
+{ ", \textbf{" }
+FUNCTION {bst.volume.post}
+{ "}" }
+FUNCTION {bst.number.pre}
+{ " (" }
+FUNCTION {bst.number.post}
+{ ")" }
+\end{verbatim}
+\end{Frame}
+
+By this, the style of volume and number change from ``Vol. 5, No. 10''
+to ``\textbf{5} (10)''. See ``\texttt{econ-b.bst}'' for an example.
+
+
+\subsubsection{Abbreviation of author name}
+
+By default, when there are mutiple documents of the same author, author
+name except for the first document is abbreviated by \verb|\bysame|
+command (i.e. \bysameline).
+
+If you want to always show author name for all documents, change the
+content of ``\texttt{bst.use.bysame}'' as follows:
+\begin{Frame}
+\begin{verbatim}
+FUNCTION {bst.use.bysame}
+{ #0 }
+\end{verbatim}
+\end{Frame}
+
+In the default setting (`\texttt{bst.use.bysame}' is set to \#1), author names
+are abbreviated when they are exactly the same. For example, suppose that there
+are the following entries
+\begin{itemize}
+ \item Mazda, A., Subaru, B., and Honda, C., (2011) "ABC"
+ \item Mazda, A., Subaru, B., and Honda, C., (2011) "DEF"
+ \item Mazda, A., Subaru, B., and Toyota, D., (2011) "GHI"
+\end{itemize}
+\vspace*{1em}
+
+In the default setting, these entries are listed like
+\begin{Frame}
+\begin{itemize}
+ \item Mazda, A., Subaru, B., and Honda, C., (2011) "ABC"
+ \item \bysameline, (2011) "DEF"
+ \item Mazda, A., Subaru, B., and Toyota, D., (2011) "GHI"
+\end{itemize}
+\end{Frame}
+
+That is, the abbreviation of authors by `bysame' is only applied to
+entries with exactly the same authors.
+
+If you set \#2 to `bst.use.bysame' like
+\begin{Frame}
+\begin{verbatim}
+FUNCTION {bst.use.bysame}
+{ #2 }
+\end{verbatim}
+\end{Frame}
+you can choose alternative abbreviation style like
+\begin{Frame}
+\begin{itemize}
+ \item Mazda, A., Subaru, B., Honda, C., (2011) "ABC"
+ \item \bysameline, \bysameline, and \bysameline, (2011) "DEF"
+ \item \bysameline, \bysameline, and Toyota, D., (2011) "GHI"
+\end{itemize}
+\end{Frame}
+\vspace*{1em}
+
+See ``\texttt{econ-a.bst}'' and ``\texttt{econ-b.bst}'' for examples.
+
+
+\subsubsection{Order of first and last name in author field}
+
+``\texttt{bst.author.name}'' defines order of first and last name in author field.
+
+\paragraph{Default definition:}
+\begin{Frame}
+\begin{verbatim}
+FUNCTION {bst.author.name}
+{ #0 }
+\end{verbatim}
+\end{Frame}
+
+If you change \verb|#0| to \verb|#1| or \verb|#2|, you can customize
+order of first and family name. For example, suppose author field is
+defined as follows:
+\begin{verbatim}
+ author = {Masahisa Fujita and Paul R. Krugman and Anthony J. Venables}
+\end{verbatim}
+
+According to the content of ``\texttt{bst.author.name}'', expression of
+author changes as follows:
+\begin{Frame}
+\begin{itemize}
+ \item \verb|#0|: First author $\rightarrow$ last-first, other authors
+ $\rightarrow$ first-last.\\
+ $\rightarrow$ Fujita, Masahisa, Paul~R. Krugman, and
+ Anthony~J. Venables
+ \item \verb|#1|: All authos $\rightarrow$ last-first \\
+ $\rightarrow$ Fujita, Masahisa, Krugman, Paul~R., and Venables, Anthony~J.
+ \item \verb|#2|: All authors $\rightarrow$ first-last \\
+ $\rightarrow$ Masahisa Fujita, Paul~R. Krugman, and Anthony~J. Venables
+\end{itemize}
+\end{Frame}
+
+\subsubsection{First name in initial}
+
+By default, first name is displayed in full. If you change the content
+of ``\texttt{bst.first.name.initial}'' to non-zero, first name is displayed
+in initial. For example,
+\begin{center}
+Fujita, Masahisa, Paul~R. Krugman, and Anthony~J. Venables \\
+ $\downarrow$ \\
+Fujita, M., P.~R. Krugman, and A.~J. Venables
+\end{center}
+
+See ``\texttt{econ-a.bst}'' for an exmpale.
+
+\subsubsection{Decapitalize letters in title field}
+
+Suppose that the title field is defined as follows
+\begin{center}
+ \verb| title = {Econometric Policy Evaluation: A Critique}|
+\end{center}
+
+Then, title is displayed in reference as follows:
+\begin{center}
+ Econometric Policy Evaluation: A Critique
+\end{center}
+
+If you change the content of ``\texttt{bst.title.lower.case}'' to
+non-zero, letters except the first letter are decapitalized. That is,
+you get the following expression in reference:
+\begin{center}
+ Econometric policy evaluation: A critique
+\end{center}
+
+See ``\texttt{econ-a.bst}'' for an exmpale.
+
+
+\subsubsection{Number index before documents in reference}
+
+You can put the number index to each documents as in
+``\texttt{plain.bst}''. For this, change the content of
+``\texttt{bst.use.number.index}'' to non-zero.
+\begin{Frame}
+\begin{verbatim}
+FUNCTION {bst.use.number.index}
+ { #1 }
+\end{verbatim}
+\end{Frame}
+
+If you use fonts other than computer modern fonts, you had better adjust
+the contents of functions ``\texttt{bst.number.index.xxx.yyy}''.
+
+See ``\texttt{econ-b.bst}'' for an exmpale.
+
+
+\subsubsection{List old references first}
+
+By default, references written by the same author are listed in
+chronological order (old documents are listed first). If you change the
+contents of ``\texttt{bst.reverse.year}'' to non-zero, the order is
+reversed.
+\begin{Frame}
+\begin{verbatim}
+FUNCTION {bst.reverse.year}
+{ #1 }
+\end{verbatim}
+\end{Frame}
+
+\subsubsection{Change the position of year}
+
+By default, year is always displayed right after author name. You can
+change the place of year by setting other values to
+``\texttt{bst.year.position}''.
+\\
+
+If non-zero set to ``\texttt{bst.year.position}'', year is placed
+\begin{itemize}
+ \item at the end of line if there is no ``\texttt{note}'' field,
+ \item and before ``\texttt{note}'' field if there is.
+\end{itemize}
+for non-article type entry.
+
+With respect to aritcle type entry, the following rule is applied:
+\begin{Frame}
+\begin{enumerate}
+ \item \verb|#1|: $\rightarrow$ year is placed at the end (before note field).
+ \item \verb|#2|: $\rightarrow$ year is placed after journal name.
+ \item \verb|#3|: $\rightarrow$ year is placed after volume.
+\end{enumerate}
+\end{Frame}
+
+For example, reference style changes as follows:
+\begin{description}
+ \item[\#0: ] Mazda, A. and B. Subaru, 2007, ``ABC,'' \textit{Journal of Automobiles}, Vol. 1, pp. 1-10.
+ \item[\#1: ] Mazda, A. and B. Subaru, ``ABC,'' \textit{Journal of Automobiles}, Vol. 1, pp. 1-10, 2007.
+ \item[\#2: ] Mazda, A. and B. Subaru, ``ABC,'' \textit{Journal of Automobiles}, 2007, Vol. 1, pp. 1-10.
+ \item[\#3: ] Mazda, A. and B. Subaru, ``ABC,'' \textit{Journal of Automobiles}, Vol. 1, 2007, pp. 1-10.
+\end{description}
+
+See ``\texttt{econ-a.bst}'' and ``\texttt{econ-b.bst}'' for exmpales.
+
+
+\subsubsection{Order of editors and book title in incollection and inproceedings entry}
+
+By default, editor name comes before book title in incollection and
+inproceedings entry. You can reverse this order by
+setting non-zero to `bst.editor.btitle.order' like
+\begin{Frame}
+\begin{verbatim}
+FUNCTION {bst.editor.btitle.order}
+{ #1 }
+\end{verbatim}
+\end{Frame}
+
+
+\begin{Frame}
+Krugman, Paul~R. (1991) ``Is Bilateralism Bad?'' in Elhanan Helpman and Assaf
+ Razin eds. {\it International Trade and Trade Policy}, Cambridge, MA: MIT
+ Press, pp. 9--23.
+\begin{center}
+ $\downarrow$
+\end{center}
+Krugman, Paul~R. (1991) ``Is Bilateralism Bad?'' in {\it International Trade
+and Trade Policy} eds. by Elhanan Helpman and Assaf Razin, Cambridge, MA:
+MIT Press, pp. 9--23.
+\end{Frame}
+
+\subsubsection{Order of address and publisher}
+
+By default, publisher address is placed before publisher name. You can
+reverse this order by setting non-zero to `bst.address.position'.
+\begin{Frame}
+Krugman, Paul~R. (1991) ``Is Bilateralism Bad?'' in Elhanan Helpman and
+ Assaf Razin eds. {\it International Trade and Trade Policy},
+ Cambridge, MA, MIT Press, pp. 9--23.
+\begin{center}
+ $\downarrow$
+\end{center}
+Krugman, Paul~R. (1991) ``Is Bilateralism Bad?'' in Elhanan Helpman and Assaf
+ Razin eds. {\it International Trade and Trade Policy}, MIT Press,
+ Cambridge, MA, pp. 9--23.
+\end{Frame}
+
+\subsection{Customization of citation part}
+
+We have so far seen the customization of reference part. ``\texttt{econ.bst}''
+also can change the styles of citation part although it is highly limited.
+
+\subsubsection{The number of authors for ``\textit{et al.}'' in citation part}
+
+With \texttt{natbib.sty}, you can cite a paper by both full names and
+abbreviated names. For example, by using command `\verb|\citet|' and
+`\verb|\citet*|', you can generate the following two styles.
+\begin{itemize}
+ \item Citation by full names: \\
+ \verb|\citet*{Takeda2011b}| $\longrightarrow$ \citet*{Takeda2011b}
+ \item Citation by abbreviated names: \\
+ \verb|\citet{Takeda2011b}| $\longrightarrow$ \citet{Takeda2011b}
+\end{itemize}
+
+By the default, author names more than three are abbreviated. But you can change
+the number of authors to which abbreviation is applied. For example, if you set
+\verb|#4| to `\texttt{bst.and.others.num}`, abbreviation is applied only to the
+entry with more than four authors.
+\begin{Frame}
+\begin{verbatim}
+FUNCTION {bst.and.others.num}
+{ #4 }
+\end{verbatim}
+\end{Frame}
+
+\subsection{Customization of citation part by \texttt{natbib.sty}}
+
+The style of citation part is mainly controlled by \texttt{natbib.sty}. You can
+change the style of citation part by changing commands and options provided by
+\texttt{natbib.sty}.
+See the manual of \texttt{natbib.sty} for the details.
+\begin{itemize}
+ \item The manual of \texttt{natbib.sty}:
+ \href{http://ctan.math.utah.edu/ctan/tex-archive/macros/latex/contrib/natbib/natbib.pdf}{natbib.pdf}
+ \item The reference sheet of \texttt{natbib.sty}:
+ \href{http://mirror.las.iastate.edu/tex-archive/macros/latex/contrib/natbib/natnotes.pdf}{natnotex.pdf}
+\end{itemize}
+
+\subsubsection{Citation by number index}
+
+Here I show one customization of \texttt{natbib.sty} for citation style. With
+\texttt{natbib.sty}, we usually use ``author (year)'' citation format. However,
+we can use citation by numder index like [1], [2], [3]...
+
+To use this style, you first need to load \texttt{natbib} package with option
+``\texttt{numbers}''
+\begin{Frame}
+\begin{verbatim}
+\usepackage[numbers]{natbib}
+\end{verbatim}
+\end{Frame}
+
+In addition, you need to use \texttt{citep} command in the citation part like
+\begin{Frame}
+\begin{verbatim}
+\citep{Takeda2011b}
+\end{verbatim}
+\end{Frame}
+
+See ``\texttt{econ-numbers.tex}'' and ``\texttt{econ-numbers.pdf}'' for an example.
+
+\section{Certified random order}
+\label{sec:cro}
+
+\subsection{What is ``certified random order''?}
+
+The ordering of author names in joint publications in economics is typically
+alphabetical. However, alphabetical order has its shortcomings; in particular,
+it confers greater benefits on the first author.\footnote{See
+\citet{10.1257/aer.20161492} for the details.} This can happen for various
+reasons, including the use of the ``et al.'' convention, the bunching of
+bibliographic references for early-ordered names in reference lists, and the
+psychological focus on first authors.
+
+\citet{10.1257/aer.20161492} propose ``certified random order,'' in which names
+are separated by a symbol, \textcircled{r}, that certifies or signals that the
+author names are in random order. In particular, the symbol permits authors to
+``certify'' that a reverse name order is only due to randomization, and avoids
+the usual interpretation of name reversal in economics.
+
+``\texttt{econ.bst}'' can handle references to papers in random order. Examples
+of such papers in this document are \citet{10.1257/aer.20161492},
+\citet{RePEc:hka:wpaper:2018-037}, \citet{vohra18:_maxim_farsig_stabl_set},
+\citet{NBERw25205}.
+
+
+\subsection{How to cite papers in certified random order}
+
+To cite papers in certified random order with ``\texttt{econ.bst}'', you must
+flag those entries in the bib file. To achieve this, ``\texttt{econ.bst}''
+contains the field ``\texttt{nameorder}''. If the bibliographical entry uses
+random order, add the following information to that entry:
+\begin{verbatim}
+ nameorder = {random}
+\end{verbatim}
+
+For intance, the entry for \citet{10.1257/aer.20161492} is specified in
+\texttt{econ-example.bib} as follows:
+\begin{verbatim}
+@article{10.1257/aer.20161492,
+ Author = {Ray, Debraj and Robson, Arthur},
+ Title = {Certified Random: A New Order for Coauthorship},
+ Journal = {American Economic Review},
+ Volume = {108},
+ Number = {2},
+ Year = {2018},
+ Month = {February},
+ Pages = {489-520},
+ DOI = {10.1257/aer.20161492},
+ URL = {http://www.aeaweb.org/articles?id=10.1257/aer.20161492},
+ nameorder = {random}
+}
+\end{verbatim}
+
+\noindent \textbf{[Notes]} \\
+1. The field ``nameorder'' is currently unique to \texttt{econ.bst} and it
+is not a field used in bibliography databases (at least for now).
+
+\noindent 2. ``\texttt{econ.bst}'' does not itself randomize the order of
+names. It simply cites an existing reference in random order, as the authors
+intend it to be cited.
+\vspace*{1em}
+
+
+With the ``nameorder'' field in place, there is nothing else you need to change,
+and you can cite bibliographic entries as before. For example, the command
+\verb|\citet{10.1257/aer.20161492}| will generate the citation
+\citet{10.1257/aer.20161492} in the text, and the following entry in the
+references:
+
+\begin{quote}
+Ray, Debraj \textcircled{r} Arthur Robson (2018) ``Certified Random: A New Order
+for Coauthorship,'' \textit{American Economic Review}, Vol. 108, No. 2,
+pp. 489--520, URL: \url{http://www.aeaweb.org/articles?id=10.1257/aer.20161492},
+DOI: \href{http://dx.doi.org/10.1257/aer.20161492}{10.1257/aer.20161492}.
+\end{quote}
+
+Under the random order style, an entry with two authors is cited as already
+described: \citet{10.1257/aer.20161492}. On the other hand, an entry with more
+than two authors has two citation styles, depending on whether all names are
+cited in full, or the citation is abbreviated:
+\begin{itemize}
+ \item All-names citation $\longrightarrow$ \citet*{NBERw25205}
+ \item Abbreviated citation $\longrightarrow$ \citet{NBERw25205}
+\end{itemize}
+
+Note that in the abbreviated names style, \textcircled{r} is used instead of
+``et''. Think of \textcircled{r} as a conjunction just as ``and'' or ``but''. In
+verbal citations, it would be pronounced just as the letter ``r'' is pronounced.
+
+\subsection{Customization for certified random order}
+
+The behavior of random order is controlled by the following functions:
+`\texttt{bst.use.nameorder}', `\texttt{bst.and.nameorder}',
+`\texttt{bst.cite.and.nameorder}' and `\texttt{bst.and.others.nameorder}'.
+\vspace*{1em}
+
+Under the default setting of ``\texttt{econ.bst}'', random order is
+automatically used for bibliographic entries with `\texttt{nameorder}' field.
+However, if you set \verb|#0| to `\texttt{bst.use.nameorder}' as follows, the
+function of random order is not used.
+\begin{Frame}
+\begin{verbatim}
+FUNCTION {bst.use.nameorder}
+{ #0 } % Not use random order
+\end{verbatim}
+\end{Frame}
+
+Under the default setting, the symbol ``\textcircled{r}''
+(\verb|\textcircled{r}|) is used. But you can use another symbol. If you want
+to use an alternative symbol, you need to change settings for
+`\texttt{bst.and.nameorder}', `\texttt{bst.cite.and.nameorder}' and
+`\texttt{bst.and.others.nameorder}'.
+
+
+\section{Sorting rule}
+\label{sec:sort_rule}
+
+\noindent \textbf{[Note]} If you want to create an ordinary list of
+references, you need not read this part. The explanation below is
+for sorting references in a special way.
+
+\subsection{Basic sorting rule}
+
+The sorting of references is done according to values of fields defined
+in bib files. Basically, sorting is done according to the following
+order of priority:
+\begin{enumerate}
+ \item Type of entry (if ``\texttt{bst.sort.entry.type}'' has non-zero value)
+ \item Value of ``\texttt{year}'' field (if ``\texttt{bst.sort.year}'' has non-zero value)
+ \item Value of ``\texttt{absorder}'' field.
+ \item Value of ``\texttt{author}'' (or ``\texttt{editor}'') field.
+ \item Value of ``\texttt{year}'' field.
+ \item Value of ``\texttt{order}'' field.
+ \item Value of ``\texttt{month}'' field.
+ \item Value of ``\texttt{title}'' field.
+\end{enumerate}
+
+By default,
+\begin{itemize}
+ \item ``\texttt{bst.sort.entry.type}'' and ``\texttt{bst.sort.year}'' have
+ zero,
+ \item \textbf{''\texttt{absorder}''} and \textbf{''\texttt{order}''}
+ fields are not assigned values because they are fields specific
+ to ``\texttt{econ.bst}''.
+\end{itemize}
+Thus, references are sorted according to
+\begin{Frame}
+ \begin{center}
+ ``\texttt{author}'' $\rightarrow$ ``\texttt{year}'' $\rightarrow$
+ ``\texttt{month}'' $\rightarrow$ ``\texttt{title}''
+\end{center}
+\end{Frame}
+That is, ``\texttt{author}'' is used as the primary key, ``\texttt{year}'' as
+the secondary key, ``\texttt{month}'' as the third key and ``\texttt{title}'' as
+the fourth key.
+
+\subsection{No sorting}
+
+If you want to list references in citation order, set non-zero value to
+``\texttt{bst.no.sort}''.
+\begin{Frame}
+\begin{verbatim}
+FUNCTION {bst.no.sort}
+{ #1 }
+\end{verbatim}
+\end{Frame}
+
+Note that when you set non-zero value to ``\texttt{bst.no.sort}'', you had better not
+use \verb|\bysame|.
+
+\subsection{Sort references by type}
+
+If you want to gather references according to their types (article,
+book, incollection, unpublished etc.), set non-zero value to
+``\texttt{bst.sort.entry.type}''.
+\begin{Frame}
+\begin{verbatim}
+FUNCTION {bst.sort.entry.type}
+{ #1 }
+\end{verbatim}
+\end{Frame}
+
+Order of listing by entry type is determined by function
+``\texttt{bst.sort.entry.type.order}'' (by default, listed in alphabetical
+order, that is, article $\rightarrow$ book $\rightarrow$ booklet
+$\rightarrow$ comment $\rightarrow$ inbook $\rightarrow$ incollection
+$\rightarrow$ $\cdots$ $\rightarrow$ unpublished). See
+``\texttt{bst.sort.entry.type.order}'' in ``\texttt{econ.bst}''.
+
+\subsection{Use ``\texttt{year}'' as the primary sorting key}
+
+When you create CV or a list of your papers, you may want to sort
+references in chronological order. If all papers are written soley by
+yourself, references are sorted in chronological order by default.
+However, there are co-writers and if you are not the first author,
+references are not sorted in chronological order because the author name
+is used as the primary sorting key by default.
+If you want to sort references in chronological order even when
+there are co-writers, set non-zero to ``\texttt{bst.sort.year}''.
+\begin{Frame}
+\begin{verbatim}
+FUNCTION {bst.sort.year}
+{ #1 }
+\end{verbatim}
+\end{Frame}
+
+By default, old references are listed first. But if you set non-zero to
+``\texttt{bst.reverse.year}'', new references are listed first.
+
+\subsection{Sorting by ''\texttt{absorder}'' field}
+
+If ``\texttt{absorder}'' is defined in bib file,
+``\texttt{econ.bst}'' uses its content as the primary sorting key.
+You can set number 0--999 to ''\texttt{absorder}'' field.
+
+\begin{Frame}
+\begin{center}
+ no absorder or absorder = 0 $\rightarrow$ absorder = 1 $\rightarrow$ absorder = 2
+ $\rightarrow$ $\cdots$ $\rightarrow$ absorder = 999
+\end{center}
+\end{Frame}
+That is, reference with a small value of ``\texttt{absorder}'' is listed
+first. In this document (``\texttt{econ-example.bib}''), the reference
+with the key \citet{takeda10:_cge_analy_welfar_effec_trade} has 999 for
+``\texttt{absorder}'' field and thus listed in the last.
+
+
+\subsubsection{Ignore ''\texttt{absorder}'' field}
+
+If you set some values for ``\texttt{absorder}'' fields in bib file,
+but if you want to ignore them, set non-zero to
+``\texttt{bst.notuse.absorder.field}''.
+\begin{Frame}
+\begin{verbatim}
+FUNCTION {bst.notuse.absorder.field}
+{ #1 }
+\end{verbatim}
+\end{Frame}
+
+\section{Misc.}
+
+\begin{itemize}
+ \item Email: \verb|<shiro.takeda@gmail.com>|.
+ \item ``\texttt{econ.bst}'' is available at \url{https://github.com/ShiroTakeda/econ-bst}.
+\end{itemize}
+\vspace*{1em}
+
+\citet{borgers95:_note_implem_stron_domin},
+\citet{bergemann11:_ration},
+\citet{takeda2011c},
+\citet{Takeda2011b},
+\citet{Biker-2007-unemployment},
+\citet{Babiker-1999-JapaneseNuclearPower},
+\citet{Babiker-1999-KyotoProtocoland},
+\citet{Babiker2000525},
+\citet{BabikerRutherford-2005-EconomicEffectsof},
+\citet{goldin:katz:2011}, \citet{goldin:katz:2008}, \citet{goldin:katz:2000}.
+\citet{stakeda2013web}
+\vspace*{1em}
+
+\nocite{*}
+
+%%% BibTeX style.
+\bibliographystyle{econ}
+
+%% BibTeX database file.
+\addcontentsline{toc}{section}{References}
+\bibliography{econ-example}
+
+\end{document}
+
+%#####################################################################
+%######################### Document Ends #############################
+%#####################################################################
+% --------------------
+% Local Variables:
+% fill-column: 80
+% End:
+
diff --git a/biblio/bibtex/contrib/econ-bst/econ.bst b/biblio/bibtex/contrib/econ-bst/econ.bst
new file mode 100644
index 0000000000..802f4c9658
--- /dev/null
+++ b/biblio/bibtex/contrib/econ-bst/econ.bst
@@ -0,0 +1,3521 @@
+%% econ.bst: BibTeX style file for papers in economics.
+%
+% Author: Shiro Takeda
+% Maintainer: Shiro Takeda
+% Copyright (C) 2001-2018 Shiro Takeda
+% First-written: <2007/07/28>
+% Time-stamp: <2018-12-07 18:49:14 st>
+% Version: 2.5
+% Keywords: TeX, BibTeX, bst
+% URL: https://github.com/ShiroTakeda/econ-bst
+
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainer of this work is Shiro Takeda.
+
+%% Main features of econ.bst.
+
+% "econ.bst" is a BibTeX style file for economics. It provids the following
+% features:
+
+% 1) The author-year type citation (you need "natbib.sty" as well).
+% 2) Reference style used in economics papers ("econ.bst" is not a BibTeX style
+% for a specific journal).
+% 3) Highly customizable. You can easily customize reference style as you wish.
+% 4) You can use "certified random order" proposed by Ray â“¡ Robson (2018)
+% (http://dx.doi.org/10.1257/aer.20161492).
+
+% Bug reports, requests and suggestions are welcome.
+
+% For changelogs, see CHANGES.txt file.
+
+% version number
+FUNCTION {econ.version} { "2.5" }
+
+% Debug mode. Non-zero makes debug mode on.
+FUNCTION {econ.debug}
+{ #0 } % Debug mode off (default).
+% { #1 } % Debug mode on.
+
+ENTRY
+ %%% Declaration of field
+ { access address author booktitle chapter doi edition editor howpublished
+ institution journal key month note number organization pages publisher
+ school series title type url volume year
+ % Fields specific to econ.bst
+ order absorder nameorder
+ }
+
+ % Definition of entry variable. The entry variable is a variable which has
+ % different values according to different entries.
+ %% Integer entry variable:
+ { order.cited }
+
+ %% String entry variable
+ { label cyear flabel alabel extra.label sort.label sort.label.abb
+ extra.label.bysame nameorder.temp }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% Functions for customization:
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Use \bysame or not.
+%
+% If set to #0, \bysame is not used.
+% If set to #1, \bysame is used
+% If set to #2, \bysame is used (alternative abbreviation style).
+%
+% Note that integer number is expressed as # + integer in bst file.
+% \bysame is the function that abbreviates succession of the same authors' name by ---.
+%
+% See econ-sample.pdf for details.
+%
+FUNCTION {bst.use.bysame}
+% { #0 } % Not use \bysame
+{ #1 } % -> Use \bysame (default)
+% { #2 } % -> Use \bysame of alternative style.
+
+% The definition of \bysame command.
+%
+FUNCTION {bst.bysame.definition}
+{ "\hskip.3em \leavevmode\rule[.5ex]{3em}{.3pt}\hskip0.5em" } % (default)
+% { "\leavevmode\hbox to\leftmargin{\hrulefill\,\,}" } % If you set #2 to bst.use.bysame, use this.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% The order of fist and last name.
+%
+FUNCTION {bst.author.name}
+{ #0 } % (default)
+% { #1 }
+% { #2 }
+
+% Case of #0: First author -> last-first, other authors -> first-last.
+% Fujita, Masahisa, Paul R. Krugman, and Anthony J. Venables.
+
+% Case of #1: All authors -> last-first
+% Fujita, Masahisa, Krugman, Paul R., and Venables, Anthony J.
+
+% Case of #2: All authors -> first-last
+% Masahisa Fujita, Paul R. Krugman, and Anthony J. Venables.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Abbreviate first name of authors (editors):
+%
+FUNCTION {bst.first.name.initial}
+{ #0 } % #0 -> full letters (default).
+% { #1 } % Non-zero -> initial letter only.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Decapitalize of strings in title field.
+%
+FUNCTION {bst.title.lower.case}
+{ #0 } % If #0, not decapitalize title (default).
+% { #1 } % If non-#0, decapitalize title
+
+% Hide title filed.
+%
+FUNCTION {bst.hide.title}
+{ #0 } % #0 -> Title field is displayed (default)
+% { #1 } % Non-zer -> Title field is hidden
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Hide month.
+%
+FUNCTION {bst.hide.month}
+{ #0 } % #0 -> show month field (default).
+% { #1 } % non-#0 -> hide month field.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Attach number index like plain.bst.
+%
+FUNCTION {bst.use.number.index}
+{ #0 } % Not use number index (default).
+% { #1 } % Non-#0 -> Use number index
+
+% The string before number index:
+%
+FUNCTION {bst.number.index.pre}
+{ "[" } % (default)
+
+% The string after number index. Adjustment is recommended.
+%
+FUNCTION {bst.number.index.post}
+{ "]\hskip1.0em " } % (default)
+
+% Maximum digit of number index:
+% If the number of reference items >= 100, set 3 to this function.
+% If the number of reference items < 100, set 2 to this function.
+% If the number of reference items < 10, set 1 to this function.
+%
+FUNCTION {bst.number.index.digit}
+{ "2" } % (default)
+% { "3" }
+
+% The functions below are used to adjust space and postion. If you use fonts
+% other than computer modern fonts, you had better make adjustments.
+%
+% Setting for bst.number.index.digit = 1:
+FUNCTION {bst.number.index.bibhang.one}
+{ "2.05em" } % (default)
+% Setting for bst.number.index.digit = 2:
+FUNCTION {bst.number.index.bibhang.ten}
+{ "2.55em" } % (default)
+% Setting for bst.number.index.digit = 3:
+FUNCTION {bst.number.index.bibhang.hund}
+{ "3.05em" } % (default).
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Position of "year":
+%
+% You can choose the position of year by this function.
+%
+% If set to #0, year is placed right after "author".
+% If set to non-zero, year is placed at the end (before note field) except for
+% aritcle type entry.
+%
+% In article type entry, the position of year changes according to the
+% following rule:
+%
+% #1 -> year is placed at the end.
+% #2 -> year is placed after journal name in aritcle type entry.
+% #3 -> year is placed after volume in aritcle type entry.
+%
+FUNCTION {bst.year.position}
+{ #0 } % (default).
+% { #1 } % Last place before note.
+% { #2 } % After journal name for aticle type entry.
+% { #3 } % After volume for aticle type entry.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% If 0, references are sorted by old documents -> recent documents. If
+% non-zero, reverse order.
+FUNCTION {bst.reverse.year}
+{ #0 } % Normal order (old -> recent) (default).
+% { #1 } % inverse order (recent -> old)
+
+% If non-zero, sort references by using year field as the primary key
+% (chronological sorting).
+FUNCTION {bst.sort.year}
+{ #0 } % Normal case: year is used as the sorting key next to author (default).
+% { #1 } % year is used as the primary sorting key.
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% If non-zero, references are listed in citation order.
+%
+FUNCTION {bst.no.sort}
+{ #0 } % (default)
+% { #1 } % listed in citation order.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Non-zero -> sort references by entry type (article, book, incollection etc.)
+%
+FUNCTION {bst.sort.entry.type}
+{ #0 } % #0 -> Normal (not sort references by entry type) (default).
+% { #1 } % Non-zero -> sort references by entry type.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% 0 -> use absorder field to sort items. Otherwise, ignore absorder field.
+%
+FUNCTION {bst.notuse.absorder.field}
+{ #0 } % #0 -> Use absorder (default).
+% { #1 } % Non-#0 -> Not use absorder.
+%
+% Order of priority to sort items
+%
+% absorder -> author -> year -> order -> month -> title
+%
+% wehre absorder and order fields are specific to econ.bst.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% 0 -> use order field to sort items. Otherwise, ignore order field.
+% Note: order field is specific to econ.bst.
+FUNCTION {bst.notuse.order.field}
+{ #0 } % #0 -> Use order field (default).
+% { #1 } % Non-#0 -> not use order field.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%% and
+
+%%% String used to separate author names in references.
+%
+% String replaced with _ in "Mr. A _ Mr. B "
+%
+FUNCTION {bst.and}
+{ " and " } % (default)
+
+%%% String used to separate author names in references (more than two authors).
+%
+% String replaced with _ in "Mr. A, Mr. B _ Mr. C"
+%
+FUNCTION {bst.ands}
+{ ", and " } % (default)
+
+%%% String used to separate author names in citation part.
+%
+% String replaced with _ in "Mr. A _ Mr. B "
+%
+FUNCTION {bst.cite.and}
+{ " and " } % (default)
+
+%%% String used to separate author names in citation part (more than two authors).
+%
+% String replaced with _ in "Mr. A, Mr. B _ Mr. C"
+%
+FUNCTION {bst.cite.ands}
+{ " and " } % (default)
+
+%%% If you want to use random author order for some bibliography entries, set
+% non-zero to this function.
+%
+FUNCTION {bst.use.nameorder}
+{ #1 } % Use random order (default)
+% { #0 } % Not use random order
+
+%%% String used to separate author names in references for the entry of random
+% author order.
+%
+FUNCTION {bst.and.nameorder}
+{ " \textcircled{r} " } % (default)
+
+%%% String used to separate author names in citation part for the entry of
+% random author order
+%
+FUNCTION {bst.cite.and.nameorder}
+{ " \textcircled{r} " } % (default)
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Author names in the citation part are abbreviated by et al. if the number of
+% authors is greater or equal to bst.and.others.num.
+FUNCTION {bst.and.others.num}
+{ #3 } % If the number of authors is greater or equal to three (default).
+% { #4 }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Strings used when abbreviating multiple-authors in citation part.
+FUNCTION {bst.and.others}
+{ " et~al." } % (default)
+
+% Strings used when abbreviating multiple-authors in citation part for entries
+% with random author order.
+FUNCTION {bst.and.others.nameorder}
+{ " \textcircled{r}~al." } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% author
+
+% The string before author:
+%
+FUNCTION {bst.author.pre}
+{ "" } % (default)
+
+% The string after author:
+%
+FUNCTION {bst.author.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% year
+
+% The string before year only for aritcle type entry.
+%
+FUNCTION {bst.year.pre}
+{ " (" } % (default)
+
+% The string after year only for aritcle type entry.
+%
+FUNCTION {bst.year.post}
+{ ") " } % (default)
+
+% The string after year for non-article type entry (book, incollection etc)
+%
+FUNCTION {bst.year.na.pre}
+{ " (" } % (default)
+
+% The string after year for non-article type entry (book, incollection etc)
+%
+FUNCTION {bst.year.na.post}
+{ ") " } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% title (except for title in book)
+
+% The string before title:
+%
+FUNCTION {bst.title.pre}
+{ "``" } % (default)
+
+% The string after title:
+%
+FUNCTION {bst.title.post}
+{ ",''" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% tile for book:
+
+% The string before book title:
+%
+FUNCTION {bst.book.pre}
+{ " \textit{" } % (default)
+
+% The string after book title:
+%
+FUNCTION {bst.book.post}
+{ "}" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% booktitle
+
+% The string before booktitle:
+%
+FUNCTION {bst.btitle.pre}
+{ " \textit{" } % (default)
+
+% The string after booktitle:
+%
+FUNCTION {bst.btitle.post}
+{ "}" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% journal name
+
+% The string before journal name:
+%
+FUNCTION {bst.journal.pre}
+{ " \textit{" } % (default)
+
+% The string after journal name:
+%
+FUNCTION {bst.journal.post}
+{ "}" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% editor notation:
+
+% The string that indicates multiple editors:
+%
+FUNCTION {bst.editors}
+{ " eds. " } % (default)
+
+% The string that indicates single editor:
+%
+FUNCTION {bst.editor}
+{ " ed. " } % (default)
+
+% Order of editor and booktitle in incollection and inproceedings entries.
+%
+% If set to #0: editors -> booktitle order
+% If set to non-zero: booktitle -> editors order
+%
+FUNCTION {bst.editor.btitle.order}
+{ #0 } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% edition
+
+% The string before edition:
+%
+FUNCTION {bst.edition.pre}
+{ ", " } % (default)
+
+% The string after edition:
+%
+FUNCTION {bst.edition.post}
+{ " edition" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% volume
+
+% The string before volume:
+%
+FUNCTION {bst.volume.pre}
+{ ", Vol. " } % (default)
+
+% The string after volume:
+%
+FUNCTION {bst.volume.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% number
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Hide number. If non-zero, number is suppressed.
+FUNCTION {bst.hide.number}
+{ #0 } % #0 -> show number field (default)
+% { #1 } % non-#0 -> Hide number field.
+
+% The string before number:
+%
+FUNCTION {bst.number.pre}
+{ ", No. " } % (default)
+
+% The string after number:
+%
+FUNCTION {bst.number.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% in
+
+% In
+%
+FUNCTION {bst.in}
+{ " in " } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% page
+
+% The string before page (multiple pages):
+%
+FUNCTION {bst.pages.pre}
+{ ", pp." } % (default)
+
+% The string before page:
+%
+FUNCTION {bst.page.pre}
+{ ", p." } % (default)
+
+% The string after page (multiple pages):
+%
+FUNCTION {bst.pages.post}
+{ "" } % (default)
+
+% The string after page:
+%
+FUNCTION {bst.page.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% chapter
+
+% The string before chapter:
+%
+FUNCTION {bst.chapter.pre}
+{ ", Chap." } % (default)
+
+% The string after chapter:
+%
+FUNCTION {bst.chapter.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% month
+
+% The string before month:
+%
+FUNCTION {bst.month.pre}
+{ ", " } % (default)
+
+% The string after month:
+%
+FUNCTION {bst.month.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% address
+% The string before address:
+%
+FUNCTION {bst.address.pre}
+{ ", " } % (default)
+
+% The string after address:
+%
+FUNCTION {bst.address.post}
+{ "" } % (default)
+
+% You can choose the order of address and publisher by this function.
+%
+% If #0, address -> publisher order (the default value).
+% If non-zero, publisher -> address order.
+
+FUNCTION {bst.address.position}
+{ #0 } % Address is placed before publisher (default)
+% { #1 } % Address is placed after publisher
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% publisher
+
+% The string before publisher:
+%
+FUNCTION {bst.publisher.pre}
+{ ": " } % (default)
+
+% The string after publisher:
+%
+FUNCTION {bst.publisher.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% series
+
+% The string before series:
+%
+FUNCTION {bst.series.pre}
+{ ", " } % (default)
+
+% The string after series:
+%
+FUNCTION {bst.series.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% organization
+
+% The string before organization:
+%
+FUNCTION {bst.organization.pre}
+{ ", " } % (default)
+
+% The string after organization:
+%
+FUNCTION {bst.organization.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% school
+
+% The string before school:
+%
+FUNCTION {bst.school.pre}
+{ ", " } % (default)
+
+% The string after school:
+%
+FUNCTION {bst.school.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% institution
+
+% The string before institution:
+%
+FUNCTION {bst.institution.pre}
+{ ", " } % (default)
+
+% The string after institution:
+%
+FUNCTION {bst.institution.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% howpublished
+
+% The string before howpublished:
+%
+FUNCTION {bst.howpublished.pre}
+{ " " } % (default)
+
+% The string after howpublished:
+%
+FUNCTION {bst.howpublished.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% url
+
+% Show or Hide url. If non-zero, url is displayed. Otherwise, url is suppressed.
+FUNCTION {bst.show.url}
+{ #1 } % non-#0 -> Show url field (default)
+% { #0 } % #0 -> Not show url field.
+
+% The string before url:
+%
+FUNCTION {bst.url.pre}
+{ ", URL: \url{" } % (default)
+
+% The string after url:
+%
+FUNCTION {bst.url.post}
+{ "}" } % (default)
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Access
+
+% This setting is valid only if there are "access" field in bib
+% files. The value of access field indicates accessed date for URL.
+
+% The string before access.
+FUNCTION {bst.access.pre}
+{ ", accessed on " } % (default)
+
+% The string after access.
+FUNCTION {bst.access.post}
+{ "" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% DOI (digital object identifier)
+
+% This setting is valid only if there are "doi" field in bib files.
+
+% Show or Hide DOI. If non-zero, DOI is displayed. Otherwise, DOI is suppressed.
+FUNCTION {bst.show.doi}
+{ #1 } % non-#0 -> Show DOI field (default)
+% { #0 } % #0 -> Not show DOI field.
+
+% The string before DOI:
+%
+FUNCTION {bst.doi.pre}
+{ ", DOI: \href{http://dx.doi.org/" doi * "}{" * } % (default)
+
+% The string after DOI:
+%
+FUNCTION {bst.doi.post}
+{ "}" } % (default)
+
+% How to show URL and DOI fields when both fields exist.
+%
+% #0 -> Both fields are displayed
+% #1 -> Only URL field is displayed
+% #2 -> Only DOI field is displayed
+%
+FUNCTION {bst.url.doi}
+{ #0 } % (default) -> Both fields are displayed
+% { #1 } % -> Only URL field is displayed
+% { #2 } % -> Only DOI field is displayed
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Other functions:
+
+% The string before note.
+FUNCTION {bst.note.pre}
+{ ", " } % (default)
+
+% The string after note.
+FUNCTION {bst.note.post}
+{ "" } % (default)
+
+% The string that represents Technical report:
+%
+FUNCTION {bst.techrep}
+{ " Tech. Rep." } % (default)
+
+% The string that represents master thesis:
+%
+FUNCTION {bst.mthesis}
+{ " Master's thesis" } % (default)
+
+% The string that represents phd thesis:
+%
+FUNCTION {bst.phdthesis}
+{ " Ph.D. dissertation" } % (default)
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% Functions for customization end here:
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION {bst.first}
+{ "1st" }
+
+FUNCTION {bst.second}
+{ "2nd" }
+
+FUNCTION {bst.third}
+{ "3rd" }
+
+FUNCTION {bst.fourth}
+{ "4th" }
+
+FUNCTION {bst.fifth}
+{ "5th" }
+
+FUNCTION {bst.st}
+{ "st" }
+
+FUNCTION {bst.nd}
+{ "nd" }
+
+FUNCTION {bst.rd}
+{ "rd" }
+
+FUNCTION {bst.th}
+{ "th" }
+
+%%%%% memo by Takeda
+
+% "a" 'b := indicates substituting string "a" for variable b.
+
+% Integer number #0, #1,...
+
+%%% Function definition:
+%
+% FUNCTION {name}
+% { 's :=
+%
+% }
+%
+% This is the definition of a function named "name". The function "name" is
+% used in the following way
+%
+% "foo" name
+% "foo" is an argument for the function "name".
+%
+% About the definition of a function with more than two arguments, see the
+% definition of "chop.word".
+
+%%% Declaration of variables:
+
+%% String global variables:
+STRINGS { s t tt }
+STRINGS { year.num }
+STRINGS { preone preten }
+STRINGS { last.sort.label next.extra prev.author prev.author.aer this.author }
+STRINGS { hang }
+STRINGS { item.type }
+STRINGS { tempa tempb }
+
+%% Integer global variables:
+INTEGERS { nameptr namesleft numnames name.num }
+INTEGERS { multiresult }
+INTEGERS { index }
+INTEGERS { len }
+INTEGERS { last.extra.num }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+INTEGERS { last.period.comma }
+INTEGERS { len1.aer len2.aer i.aer }
+
+%%% Definition of functions:
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+%%% Initialize variables:
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+%%% Remove comma and add period:
+%
+%%%
+FUNCTION {add.period.x}
+{ duplicate$
+ #-1 #1 substring$ "," =
+ { #-2 global.max$ substring$ "." * }
+ { duplicate$
+ #-1 #2 substring$ ". " =
+ { #-3 global.max$ substring$ "." * }
+ { duplicate$
+ #-1 #2 substring$ ", " =
+ { #-3 global.max$ substring$ "." * }
+ { duplicate$
+ #-1 #2 substring$ ",'" =
+ { #-3 global.max$ substring$ ".'" * }
+ { duplicate$
+ #-1 #2 substring$ ".'" =
+ { #-3 global.max$ substring$ ".'" * }
+ { duplicate$
+ #-1 #2 substring$ ".~" =
+ { #-3 global.max$ substring$ ".~" * }
+ { duplicate$
+ #-1 #2 substring$ ",~" =
+ { #-3 global.max$ substring$ ".~" * }
+ { duplicate$
+ #-1 #3 substring$ ",''" =
+ { #-4 global.max$ substring$ ".''" * }
+ { duplicate$
+ #-1 #3 substring$ ".''" =
+ { #-4 global.max$ substring$ ".''" * }
+ { add.period$ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ % mid.sentence
+ output.state mid.sentence =
+ { ", " * write$ }
+ % not mid.sentence
+ { output.state after.block =
+ % after.block
+ { add.period.x " " * write$ }
+ % before.all
+ { output.state before.all =
+ 'write$
+ { add.period.x " " * write$ }
+ if$
+ }
+ if$
+ % not mid.sentence, set to mid.sentence
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+%%% If the last character is period or comma, set non-zero to
+%%% last.period.comma.
+FUNCTION {period.comma.p}
+{ duplicate$ 't :=
+ t #-1 #1 substring$ "." =
+ t #-1 #1 substring$ "," = or
+ t #-1 #1 substring$ ":" = or
+ t #-1 #2 substring$ ".'" = or
+ t #-1 #2 substring$ ",'" = or
+ t #-1 #3 substring$ ".''" = or
+ t #-1 #3 substring$ ",''" = or
+ t #-1 #2 substring$ ".~" = or
+ t #-1 #2 substring$ ",~" = or
+ { #1 'last.period.comma := }
+ { #0 'last.period.comma := }
+ if$
+}
+
+%%% remove unnecessary comma.
+FUNCTION {remove.pre.comma}
+{ 's :=
+ s empty$
+ { "" }
+ { s #1 #1 substring$ "," =
+ { s #2 global.max$ substring$ }
+ { s #1 #1 substring$ "." =
+ { s #2 global.max$ substring$ }
+ 's
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% output.nonnull.nocomma is the same as output.nonnull except that it does
+%%% not add commas even in mid.sentence.
+FUNCTION {output.nonnull.nocomma}
+{ 's :=
+ output.state mid.sentence =
+ % mid.sentence
+ { period.comma.p "" * write$ }
+
+ % not mid.sentence
+ { output.state after.block =
+ % after.block
+ { add.period.x " " * write$ }
+ % before.all
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ last.period.comma #0 =
+ { s }
+ { s remove.pre.comma }
+ if$
+}
+
+% Not used in the current econ.bst.
+% FUNCTION {output}
+% { duplicate$ empty$
+% 'pop$
+% 'output.nonnull
+% if$
+% }
+
+FUNCTION {output.nocomma}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull.nocomma
+ if$
+}
+
+% Not used in the current econ.bst.
+% FUNCTION {output.check}
+% { 't :=
+% duplicate$ empty$
+% { pop$ "empty " t * " in " * cite$ * warning$ }
+% 'output.nonnull
+% if$
+% }
+
+FUNCTION {output.check.nocomma}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull.nocomma
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%% Format in bbl file:
+
+% \harvarditem[Brezis et~al.]{Brezis, Krugman and
+% Tsiddon}{1993}{brezis93:_leapf_inter_compet}
+% Brezis, Elise~S., Paul~R. Krugman, and Daniel Tsiddon (1993) ``Leapfrogging in
+% International Competition: A Theory of Cycles in National Technological
+% Leadership.'', {\em American Economic Review.}, Vol.~83. No.~5. pp.
+% 1211--1219.
+
+% \harvarditem[abbreviated citation]{full citation}{year}{keyword} ...
+
+%%% Add period and newline.
+FUNCTION {fin.entry}
+{ add.period.x
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {new.block.check}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+%%% booktitle
+FUNCTION {format.btitle}
+{ booktitle empty$
+ { "" }
+ { bst.btitle.pre booktitle * bst.btitle.post * }
+ if$
+}
+
+%%% journal
+FUNCTION {format.journal}
+{ journal empty$
+ { "" }
+ { bst.journal.pre journal * bst.journal.post * }
+ if$
+}
+
+%%% title for book
+FUNCTION {format.book}
+{ title empty$
+ { "" }
+ { bst.book.pre title * bst.book.post * }
+ if$
+}
+
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { type$ "online" = bst.show.url or
+ { bst.url.pre url * bst.url.post *
+ access empty$
+ { "" * }
+ { bst.access.pre * access * bst.access.post * }
+ if$
+ }
+ { "" }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.doi}
+{ doi empty$ bst.show.doi not or
+ { "" }
+ { bst.doi.pre doi * bst.doi.post * }
+ if$
+}
+
+FUNCTION {format.url.doi}
+{ url empty$
+ { format.doi }
+ { doi empty$
+ { format.url }
+ { bst.url.doi #0 =
+ { format.url output.nocomma
+ format.doi }
+ { bst.url.doi #1 =
+ { format.url }
+ { format.doi }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% and others
+FUNCTION {bst.and.others.output}
+{ nameorder.temp "random" =
+ bst.use.nameorder #0 = not and
+ { bst.and.others.nameorder }
+ { bst.and.others }
+ if$
+}
+
+%%% author and editor
+
+%%% name
+FUNCTION {format.names}
+{ 's :=
+ % insert 1 to nameptr.
+ #1 'nameptr :=
+ % Set the number of authors to numnames.
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ % Repeat if namesleft > 0
+ { namesleft #0 > }
+ { nameptr #1 =
+ % First author
+ { bst.author.name #0 =
+ bst.author.name #1 =
+ or
+ { bst.first.name.initial #0 =
+ { s nameptr "{vv~}{ll}{, ff}{, jj}" format.name$ 't := }
+ { s nameptr "{vv~}{ll}{, f.}{, jj}" format.name$ 't := }
+ if$
+ }
+ { bst.first.name.initial #0 =
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't := }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := }
+ if$
+ }
+ if$
+ }
+ % The second or later authors
+ { bst.author.name #0 =
+ bst.author.name #2 =
+ or
+ { bst.first.name.initial #0 =
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't := }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := }
+ if$
+ }
+ { bst.first.name.initial #0 =
+ { s nameptr "{vv~}{ll}{, ff}{, jj}" format.name$ 't := }
+ { s nameptr "{vv~}{ll}{, f.}{, jj}" format.name$ 't := }
+ if$
+ }
+ if$
+ }
+ if$
+
+ nameptr #1 >
+ % The second or later authors
+ { nameorder.temp "random" =
+ bst.use.nameorder #0 = not and
+ { bst.and.nameorder * t * }
+ { namesleft #1 >
+ % More than one authors left
+ { ", " * t * }
+ % Only one author left
+ { t "others" =
+ { bst.and.others.output * }
+ { numnames #2 =
+ % Entry with two authors
+ { bst.and * t * }
+ { bst.ands * t * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+% remove successive periods (commas) from author
+FUNCTION {remove.ss.period.auth}
+{ 's :=
+ s format.names 'tempa :=
+ bst.author.post 'tempb :=
+ tempb #1 #1 substring$ "}" =
+ { tempa tempb * }
+ { tempa #-1 #1 substring$ tempb #1 #1 substring$ =
+ { tempa tempb #2 global.max$ substring$ * }
+ { tempa tempb * }
+ if$
+ }
+ if$
+}
+
+% <prev name list> <new name list> compare.names <modified name list>
+FUNCTION {compare.names.aer}
+{ 's :=
+ 'tempa :=
+
+% "current.author = " s * "\\" * write$ newline$
+% "prev.author = " tempa * "\\" * write$ newline$
+
+ tempa num.names$ 'len1.aer := % len1 = the number of previous authors
+ s num.names$ 'len2.aer := % len2 = the number of current authors
+
+% len1.aer := min(len1.aer,len2.aer)
+% len1 -> min{ the number of previous authors, the number of current authors }
+ len1.aer len2.aer >
+ { len2.aer 'len1.aer := }
+ { }
+ if$
+
+% start with an empty string, then while the components are the same
+% add "\bysame"
+ ""
+ #1 'i.aer :=
+
+ { i.aer len1.aer > not }
+ { tempa i.aer "{ff }{vv }{ll}{ jj}" format.name$
+ s i.aer "{ff }{vv }{ll}{ jj}" format.name$
+ =
+ { #1 i.aer <
+ { " and " * } % \bysame ã§çœç•¥ã™ã‚‹è‘—者ã®å‰ã«ã¤ã and
+ { }
+ if$
+ "\bysame{}" *
+ i.aer #1 + 'i.aer := }
+ { #-1 'len1.aer := }
+ if$
+ }
+ while$
+
+% add the rest of the second string
+ { i.aer len2.aer > not }
+ { #1 i.aer <
+ { " and " * }
+ { }
+ if$
+ s i.aer "{ff }{vv }{ll}{ jj}" format.name$ *
+ i.aer #1 + 'i.aer :=
+ }
+ while$
+}
+
+%%% author
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { bst.use.bysame #2 =
+ { prev.author.aer author compare.names.aer 's :=
+ author 'prev.author.aer := }
+ { author 's := }
+ if$
+ extra.label.bysame "bysame" =
+ { "\bysame " }
+ { bst.author.pre s remove.ss.period.auth * }
+ if$
+ }
+ if$
+}
+
+%%% editor
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { bst.use.bysame #2 =
+ { prev.author.aer editor compare.names.aer 's :=
+ editor 'prev.author.aer := }
+ { editor 's := }
+ if$
+ extra.label.bysame "bysame" =
+ { "\bysame " }
+ { bst.author.pre s remove.ss.period.auth * }
+ if$
+ s num.names$ #1 >
+ { bst.editors * }
+ { bst.editor * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.authors.alt}
+{ author empty$
+ { "" }
+ { extra.label.bysame "bysame" =
+ {"\bysame "}
+ { bst.author.pre author remove.ss.period.auth * }
+ if$
+ }
+ if$
+}
+
+%%% editor
+FUNCTION {format.editors.alt}
+{ editor empty$
+ { "" }
+ { extra.label.bysame "bysame" =
+ { "\bysame " }
+ { bst.author.pre editor remove.ss.period.auth * }
+ if$
+ editor num.names$ #1 >
+ { bst.editors * }
+ { bst.editor * }
+ if$
+ }
+ if$
+}
+
+%%% format.in.ed.booktitle
+FUNCTION {format.editors.x}
+{ editor empty$
+ { "" }
+ { bst.editor.btitle.order #0 =
+ { "" }
+ { editor num.names$ #1 >
+ { bst.editors " by " * }
+ { bst.editor " by " * }
+ if$
+ }
+ if$
+ editor format.names *
+ bst.editor.btitle.order #0 =
+ { editor num.names$ #1 >
+ { bst.editors * }
+ { bst.editor * }
+ if$
+ }
+ { "" * }
+ if$
+ }
+ if$
+}
+
+%%% Remove commas in the cases like "?." and "?,".
+FUNCTION {remove.irrelevant.period.comma}
+{ 's :=
+ s empty$
+ { "" }
+ { s #-1 #3 substring$ "?,'" =
+ s #-1 #3 substring$ "?.'" = or
+ { s #-3 global.max$ substring$ "'" * }
+ { s #-1 #4 substring$ "?,''" =
+ s #-1 #4 substring$ "?.''" = or
+ { s #-4 global.max$ substring$ "''" * }
+ { s #-1 #2 substring$ "?," =
+ s #-1 #2 substring$ "?." = or
+ { s #-2 global.max$ substring$ "" * }
+ { s #-1 #3 substring$ "?,~" =
+ s #-1 #3 substring$ "?.~" = or
+ { s #-4 global.max$ substring$ "?~" * }
+ 's
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% title
+FUNCTION {format.title.sub}
+{ bst.title.lower.case #0 =
+ { bst.title.pre title * bst.title.post * }
+ { bst.title.pre title "t" change.case$ * bst.title.post * }
+ if$
+}
+
+%%% title
+FUNCTION {format.title}
+{ title empty$
+ bst.hide.title #0 = not or
+ { "" }
+ { format.title.sub remove.irrelevant.period.comma }
+ if$
+}
+
+%%% title for misc.
+FUNCTION {format.misc.title}
+{ title empty$
+ { "" }
+ { bst.title.pre title * bst.title.post * }
+ if$
+}
+
+% Convert "-" to "--" (for pages field)
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ %% while$
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+%%% year
+FUNCTION {format.year}
+{ year empty$
+ { "there's no year in " cite$ * warning$
+ ", " }
+ { type$ "article" =
+ { bst.year.pre year * extra.label * bst.year.post * }
+ { bst.year.na.pre year * extra.label * bst.year.na.post * }
+ if$
+ }
+ if$
+}
+
+%%% page for book
+FUNCTION {format.book.pages}
+{ pages empty$
+ { "" }
+ { bst.pages.pre pages * bst.pages.post * }
+ if$
+}
+
+%%% Attach tie for the string with two or less characters.
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+%%% volume for book
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bst.volume.pre volume * bst.volume.post *
+ series empty$
+ 'skip$
+ %% If there is series field
+ { " of " * series * bst.series.post * }
+ if$
+% "volume and number" number either.or.check
+ }
+ if$
+}
+
+%%% series
+FUNCTION {output.series}
+{ series empty$
+ { "" }
+ { bst.series.pre series * bst.series.post * }
+ if$
+}
+
+%%% number and series
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ bst.hide.month #0 = not or
+ % number is empty
+ { series empty$
+ { "" }
+ % series is not empty.
+ { output.series }
+ if$
+ }
+ % number is not empty$
+ { series empty$
+ { bst.number.pre number * bst.number.post * }
+ % series is not empty.
+ { bst.in bst.series.pre * series * bst.series.post *
+ bst.number.pre * number * bst.number.post * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+%%% Number or not.
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% edition
+
+% Convert edition to 1st, 2nd, 3rd, 4th etc
+FUNCTION {eng.ord}
+{ duplicate$ "1" swap$ *
+ #-2 #1 substring$ "1" =
+ { bst.th * }
+ { duplicate$ #-1 #1 substring$
+ duplicate$ "1" =
+ { pop$ bst.st * }
+ { duplicate$ "2" =
+ { pop$ bst.nd * }
+ { "3" =
+ { bst.rd * }
+ { bst.th * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+% Convert first, second etc in edition field to 1st, 2nd (from jfm.bst)
+FUNCTION {convert.edition}
+{ edition extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bst.first }
+ { s "second" = s "2" = or
+ { bst.second }
+ { s "third" = s "3" = or
+ { bst.third }
+ { s "fourth" = s "4" = or
+ { bst.fourth }
+ { s "fifth" = s "5" = or
+ { bst.fifth }
+ { s #1 #1 substring$ is.num
+ { s eng.ord }
+ { edition }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% edition
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { bst.edition.pre convert.edition "l" change.case$ * bst.edition.post * }
+ { bst.edition.pre convert.edition "t" change.case$ * bst.edition.post * }
+ if$
+ }
+ if$
+}
+
+%%% month
+FUNCTION {format.month}
+{ month empty$
+ bst.hide.month #0 = not or
+ { "" }
+ { bst.month.pre month * bst.month.post * }
+ if$
+}
+
+%%% year and month
+FUNCTION {format.date}
+{ format.month format.year *
+}
+
+%%% Is multiple pages like 1-100?
+FUNCTION { multi.page.check }
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+%%% pages
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { bst.pages.pre pages n.dashify tie.or.space.connect * bst.pages.post }
+ { bst.page.pre pages tie.or.space.connect * bst.page.post }
+ if$
+ }
+ if$
+}
+
+%%% number
+FUNCTION {format.number}
+{ number empty$
+ bst.hide.number #0 = not or
+ { "" }
+ { bst.number.pre number * bst.number.post * }
+ if$
+}
+
+%%% volume
+FUNCTION {format.volume}
+{ volume empty$
+ 'skip$
+ { bst.volume.pre volume * bst.volume.post *
+ bst.year.position #3 =
+ { format.year * }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+%%% number, page
+FUNCTION {format.number.pages}
+{ number empty$
+ { format.pages }
+ { format.number format.pages * }
+ if$
+}
+
+%%% volume, page
+FUNCTION {format.volume.pages}
+{ volume empty$
+ { format.pages }
+ { format.volume format.pages * }
+ if$
+}
+
+%%% volume, number, page
+FUNCTION {format.volume.number.pages}
+{ volume empty$
+ { number empty$
+ { format.pages }
+ { format.number format.pages * }
+ if$
+ }
+ { number empty$
+ { format.volume format.pages * }
+ { format.volume format.number * format.pages * }
+ if$
+ }
+ if$
+}
+
+% volume, number, page
+FUNCTION {format.vol.num.pages}
+{ volume empty$
+ %% volume is empty.
+ { number empty$
+ %% number is empty.
+ { pages empty$
+ % warning
+ { "there is no volume, number, and pages in " cite$ * warning$ "" }
+ { "" format.pages * }
+ if$
+ }
+ %% number is not empty.
+ % warning
+ { "there's a number but no volume in " cite$ * warning$
+ format.number.pages }
+ if$
+ }
+ %% volume is not empty.
+ { number empty$
+ %% number is empty.
+ { format.volume.pages }
+ %% number is not empty.
+ { format.volume.number.pages }
+ if$
+ }
+ if$
+}
+
+%%% chapter
+FUNCTION {format.chapter}
+{ chapter empty$
+ { "" }
+ { type empty$
+ { bst.chapter.pre chapter tie.or.space.connect * bst.chapter.post }
+ { ", " * type " " * chapter * }
+ if$
+ }
+ if$
+}
+
+%%% chapter, pages
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ { pages empty$
+ { "" }
+ { "" format.pages * }
+ if$
+ }
+ { pages empty$
+ { "" format.chapter * }
+ { "" format.chapter * format.pages * }
+ if$
+ }
+ if$
+}
+
+%%% editor and booktitle
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { bst.in format.btitle * }
+ { bst.editor.btitle.order #0 =
+ { bst.in format.editors.x * " " * format.btitle * }
+ { bst.in format.btitle * " " * format.editors.x * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% howpublished
+FUNCTION {format.howpublished}
+{ howpublished empty$
+ { "" }
+ { bst.howpublished.pre howpublished * bst.howpublished.post * }
+ if$
+}
+
+%%% address
+FUNCTION {format.address}
+{ address empty$
+ { "" }
+ { bst.address.pre address * bst.address.post * }
+ if$
+}
+
+%%% publisher
+FUNCTION {format.publisher}
+{ publisher empty$
+ { "" }
+ { bst.publisher.pre publisher * bst.publisher.post * }
+ if$
+}
+
+%%% organization
+FUNCTION {format.organization}
+{ organization empty$
+ { "" }
+ { bst.organization.pre organization * bst.organization.post * }
+ if$
+}
+
+%% publisher and address
+FUNCTION {output.publisher.address}
+{ address empty$
+ { format.publisher "publisher" output.check.nocomma }
+ { bst.address.position #0 =
+ { format.address output.nocomma
+ format.publisher "publisher" output.check.nocomma }
+ { format.publisher "publisher" output.check.nocomma
+ format.address output.nocomma }
+ if$
+ }
+ if$
+}
+
+%% address, organization, publisher
+FUNCTION {output.address.organization.publisher}
+{ address empty$
+ %% address is empty
+ { organization empty$
+ %% organization is empty
+ { publisher empty$
+ 'skip$
+ { format.publisher "publisher" output.check.nocomma }
+ if$
+ }
+ %% organization is not empty
+ { publisher empty$
+ { format.organization "organization" output.check.nocomma }
+ { format.organization "organization" output.check.nocomma
+ format.publisher "publisher" output.check.nocomma }
+ if$
+ }
+ if$
+ }
+ %% address is not empty
+ { organization empty$
+ %% organization is empty
+ { publisher empty$
+ %% publisher is empty
+ { format.address output.nocomma }
+ %% publisher is not empty
+ { bst.address.position #0 =
+ { format.address output.nocomma
+ format.publisher "publisher" output.check.nocomma }
+ { format.publisher "publisher" output.check.nocomma
+ format.address output.nocomma }
+ if$
+ }
+ if$
+ }
+ %% organization is not empty
+ { publisher empty$
+ %% publisher is empty
+ { format.organization "organization" output.check.nocomma
+ format.address output.nocomma }
+ %% publisher is not empty
+ { format.organization "organization" output.check.nocomma
+ bst.address.position #0 =
+ { format.address output.nocomma
+ format.publisher "publisher" output.check.nocomma }
+ { format.publisher "publisher" output.check.nocomma
+ format.address output.nocomma }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% misc
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$ " " type * }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ { " " type * }
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+%%% phdthesis
+FUNCTION {format.phd}
+{ bst.phdthesis }
+
+%%% mastersthesis
+FUNCTION {format.mthesis}
+{ bst.mthesis }
+
+%%% school
+FUNCTION {format.school}
+{ school empty$
+ { "" }
+ { bst.school.pre school * bst.school.post * }
+ if$
+}
+
+%%% institution
+FUNCTION {format.institution}
+{ institution empty$
+ { "" }
+ { bst.institution.pre institution * bst.institution.post * }
+ if$
+}
+
+%%% remove first ? characters.
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.note}
+{ note empty$
+ { "" }
+ { bst.note.pre note * bst.note.post * }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \havarditem
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\harvarditem[" write$
+ alabel write$ % alabel <- abbreviated citation
+ "]{" write$
+ flabel write$ % flabel <- full citation
+ "}{" write$
+ cyear write$
+ % cyear = year
+ "}{" write$
+ cite$ write$ % cite$ -> pusch keyword
+ "}" write$
+ % If number index is on
+ bst.use.number.index #0 =
+ 'skip$
+ { index #1 + 'index :=
+ "" 'preone :=
+ "" 'preten :=
+ bst.number.index.digit "1" =
+ 'skip$
+ { bst.number.index.digit "2" =
+ { "\hskip0.5em" 'preone := }
+ { bst.number.index.digit "3" =
+ { "\hskip1em" 'preone :=
+ "\hskip0.5em" 'preten := }
+ 'skip$
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ newline$
+ before.all 'output.state :=
+ ""
+ % number index
+ bst.use.number.index #0 =
+ 'skip$
+ { index #10 <
+ % Insert spaces according to digit of number index.
+ { preone }
+ { index #100 <
+ { preten }
+ { "" }
+ if$
+ }
+ if$
+ bst.number.index.pre * index int.to.str$ * bst.number.index.post * write$
+ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% article
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+
+ format.journal "journal" output.check.nocomma
+ bst.year.position #2 =
+ { format.date output.nocomma }
+ 'skip$
+ if$
+ format.vol.num.pages output.nocomma
+
+ bst.year.position #1 =
+ { format.date output.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% book
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check.nocomma }
+ { format.authors output.nonnull.nocomma
+ "author and editor" editor either.or.check
+ }
+ if$
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.book "title" output.check.nocomma
+
+ format.bvolume output.nocomma
+ format.number.series output.nocomma
+ output.publisher.address
+
+ format.edition output.nocomma
+ format.book.pages output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% booklet
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output.nocomma
+ format.year output.nocomma
+ format.misc.title "title" output.check.nocomma
+ format.howpublished output.nocomma
+ format.address output.nocomma
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% inbook
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check.nocomma }
+ { format.authors output.nonnull.nocomma
+ "author and editor" editor either.or.check
+ }
+ if$
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+% format.book remove.pre.comma "title" output.check.nocomma
+ format.book "title" output.check.nocomma
+ format.edition output.nocomma
+
+ format.bvolume output.nocomma
+ format.chapter.pages "chapter and pages" output.check.nocomma
+ format.number.series output.nocomma
+ output.publisher.address
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% incollection
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+
+ format.in.ed.booktitle "booktitle" output.check.nocomma
+ format.bvolume output.nocomma
+ output.address.organization.publisher
+ format.edition output.nocomma
+ format.chapter.pages output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% inproceedings
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+
+ format.in.ed.booktitle "booktitle" output.check.nocomma
+ format.bvolume output.nocomma
+ format.number.series output.nocomma
+ format.pages output.nocomma
+ output.address.organization.publisher
+
+ bst.year.position #0 = not
+ { format.date output.nocomma }
+ { format.month output.nocomma }
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% conference
+
+FUNCTION {conference}
+{ inproceedings }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% manual
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull.nocomma
+ address output.nocomma
+ }
+ if$
+ }
+ { format.authors output.nonnull.nocomma }
+ if$
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.book "title" output.check.nocomma
+ author empty$
+ { organization empty$
+ { format.address new.block.check
+ format.address output.nocomma
+ }
+ 'skip$
+ if$
+ }
+ { output.address.organization.publisher }
+ if$
+ format.edition output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% mastersthesis
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+ format.mthesis format.thesis.type output.nonnull.nocomma
+ format.school "school" output.check.nocomma
+ format.address output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% misc
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.misc.title output.nocomma
+ format.howpublished output.nocomma
+
+ bst.year.position #0 = not
+ { format.date output.nocomma }
+ { format.month output.nocomma }
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+ empty.misc.check
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Online
+
+FUNCTION {online}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.misc.title output.nocomma
+ format.howpublished output.nocomma
+
+ bst.year.position #0 = not
+ { format.date output.nocomma }
+ { format.month output.nocomma }
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+ empty.misc.check
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% phdthesis
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.book "title" output.check.nocomma
+ format.phd
+ format.thesis.type output.nonnull.nocomma
+ format.school "school" output.check.nocomma
+ address empty$
+ 'skip$
+ { format.address output.nocomma }
+ if$
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% proceedings
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output.nocomma }
+ { format.editors output.nonnull.nocomma }
+ if$
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.btitle remove.pre.comma "title" output.check.nocomma
+ format.bvolume output.nocomma
+ format.number.series output.nocomma
+ output.address.organization.publisher
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% techreport
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+ format.tr.number output.nonnull.nocomma
+ format.institution "institution" output.check.nocomma
+ format.address output.nocomma
+
+ bst.year.position #0 = not
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+
+ format.note output.nocomma
+ fin.entry
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% unpublished
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check.nocomma
+ bst.year.position #0 =
+ { format.year "year" output.check.nocomma }
+ 'skip$
+ if$
+ format.title "title" output.check.nocomma
+
+ bst.year.position #0 = not
+ { format.date remove.pre.comma output.nocomma }
+ { month empty$
+ 'skip$
+ { format.month remove.pre.comma output.nocomma }
+ if$
+ }
+ if$
+
+ format.url.doi output.nocomma
+
+ format.note "note" output.check.nocomma
+ fin.entry
+}
+
+FUNCTION {default.type}
+{ misc }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Alias for month names:
+
+MACRO {jan} {"January"}
+MACRO {feb} {"February"}
+MACRO {mar} {"March"}
+MACRO {apr} {"April"}
+MACRO {may} {"May"}
+MACRO {jun} {"June"}
+MACRO {jul} {"July"}
+MACRO {aug} {"August"}
+MACRO {sep} {"September"}
+MACRO {oct} {"October"}
+MACRO {nov} {"November"}
+MACRO {dec} {"December"}
+
+%%% Read entries:
+READ
+
+%%% Variable for remembering the order of citation.
+INTEGERS { order.num }
+FUNCTION {initialize.order.num}
+{
+ #1 'order.num :=
+}
+%%% Initialize a variables
+EXECUTE {initialize.order.num}
+
+%%% Variable for remembering the order of citation.
+FUNCTION {set.order.cited}
+{
+ order.num 'order.cited :=
+ #1 order.num + 'order.num :=
+}
+%%% Iterate for all entries:
+ITERATE {set.order.cited}
+
+%%% check the value of nameorder field.
+FUNCTION {set.nameorder}
+{ nameorder empty$
+ { "" 'nameorder.temp := }
+ { nameorder 'nameorder.temp := }
+ if$
+}
+%%% Iterate for all entries:
+ITERATE {set.nameorder}
+
+%%% Remove symbols and convert to lowercase.
+FUNCTION {sortify}
+{ purify$ "l" change.case$ }
+
+%%% names for sorting
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { ", " * }
+ 'skip$
+ if$
+ s nameptr "{ll}{ f}{ j}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { bst.and.others.output *}
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.names.abb}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames bst.and.others.num <
+ { s sort.format.names }
+ { s #1 "{ll}{ f}{ j}" format.name$ " zz " * }
+ if$
+}
+
+%%% Label for full author name.
+FUNCTION {format.lab.names.full}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { nameorder.temp "random" = bst.use.nameorder #0 = not and
+ { bst.and.nameorder * t * }
+ { ", " * t * }
+ if$
+ }
+ { t "others" =
+ { bst.and.others.output * }
+ { numnames #2 >
+ { nameorder.temp "random" = bst.use.nameorder #0 = not and
+ { bst.cite.and.nameorder * t * }
+ { bst.cite.ands * t * }
+ if$
+ }
+ { nameorder.temp "random" = bst.use.nameorder #0 = not and
+ { bst.cite.and.nameorder * t * }
+ { bst.cite.and * t * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #1 > #1 #2 = and {", eds" *} {} if$
+ numnames #1 = #1 #2 = and {", ed" *} {} if$
+}
+
+%%% laberl for abbreviated author name.
+FUNCTION {format.lab.names.abb}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames bst.and.others.num <
+ % if the number of authors is less than bst.and.others.num, full name.
+ { s format.lab.names.full }
+ % if the number of authors is equal or more than bst.and.others.num, abbreviated name.
+ { s #1 "{ll}" format.name$ bst.and.others.output * }
+ if$
+}
+
+%%% abbreviated author
+FUNCTION {author.key.label.abb}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names.abb }
+ if$
+}
+
+%%% full author
+FUNCTION {author.key.label.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names.full }
+ if$
+}
+
+FUNCTION {format.names.full.wo.and}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ll}{, ff}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { " " * t * }
+ { t "others" =
+ { " " * }
+ { numnames #2 >
+ { " " * t * }
+ { " " * t * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.key.full.wo.and}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.names.full.wo.and }
+ if$
+}
+
+FUNCTION {author.editor.key.full.wo.and}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.names.full.wo.and }
+ if$
+ }
+ { author format.names.full.wo.and }
+ if$
+}
+
+FUNCTION {editor.key.organization.key.full.wo.and}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.names.full.wo.and }
+ if$
+}
+
+FUNCTION {author.key.organization.key.full.wo.and}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.names.full.wo.and }
+ if$
+}
+
+%%% abbreviated author
+FUNCTION {author.editor.key.label.abb}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names.abb }
+ if$
+ }
+ { author format.lab.names.abb }
+ if$
+}
+
+%%% full author
+FUNCTION {author.editor.key.label.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names.full }
+ if$
+ }
+ { author format.lab.names.full }
+ if$
+}
+
+FUNCTION {author.key.organization.label.full}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names.full }
+ if$
+}
+
+FUNCTION {author.key.organization.label.abb}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names.abb }
+ if$
+}
+
+FUNCTION {editor.key.organization.label.full}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names.full }
+ if$
+}
+
+FUNCTION {editor.key.organization.label.abb}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names.abb }
+ if$
+}
+
+%%% Convert numbers: 0->9, 1->8, 2->7,..., 9->0
+FUNCTION {reverse.num}
+{ 's :=
+ s "1" =
+ { "8" 'year.num := }
+ { s "2" =
+ { "7" 'year.num := }
+ { s "3" =
+ { "6" 'year.num := }
+ { s "4" =
+ { "5" 'year.num := }
+ { s "5" =
+ { "4" 'year.num := }
+ { s "6" =
+ { "3" 'year.num := }
+ { s "7" =
+ { "2" 'year.num := }
+ { s "8" =
+ { "1" 'year.num := }
+ { s "9" =
+ { "0" 'year.num := }
+ { s "0" =
+ { "9" 'year.num := }
+ { "9" 'year.num := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ year.num
+}
+
+%%% Convert year (large number -> small number)
+FUNCTION {convert.year}
+{ 't :=
+ bst.reverse.year #0 =
+ { t 'tt := }
+ { t #1 #1 substring$ reverse.num
+ t #2 #1 substring$ reverse.num *
+ t #3 #1 substring$ reverse.num *
+ t #4 #1 substring$ reverse.num * 'tt := }
+ if$
+ tt
+}
+
+%%% cyear
+FUNCTION {calc.cyear}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full.wo.and
+ { type$ "proceedings" =
+ 'editor.key.organization.key.full.wo.and
+ { type$ "manual" =
+ 'author.key.organization.key.full.wo.and
+ 'author.key.full.wo.and
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ year empty$
+ { "2199" 'cyear := }
+ { year 'cyear := }
+ if$
+ year empty$
+ { " " "2199" convert.year * field.or.null * }
+ { " " year convert.year * field.or.null * }
+ if$
+ sortify 'sort.label :=
+ % For debug
+ econ.debug #0 = not
+ { "sort.label = ``\texttt{" write$
+ sort.label write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+ pop$
+}
+
+FUNCTION {calc.sort.label.abb}
+{ author empty$
+ { editor empty$
+ { "" }
+ { editor 's := }
+ if$
+ }
+ { author 's := }
+ if$
+ s sort.format.names.abb 't :=
+ year empty$
+ { t sortify " " * "2199" convert.year * 'sort.label.abb := }
+ { t sortify " " * year convert.year * 'sort.label.abb := }
+ if$
+ econ.debug #0 = not
+ { "sort.label.abb = ``\texttt{" write$
+ sort.label.abb write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+%%% flabel
+FUNCTION {calc.flabel}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label.full
+ { type$ "proceedings" =
+ 'editor.key.organization.label.full
+ { type$ "manual" =
+ 'author.key.organization.label.full
+ 'author.key.label.full
+ if$
+ }
+ if$
+ }
+ if$
+ 'flabel :=
+ % For debug
+ econ.debug #0 = not
+ { "flabel = ``\texttt{" write$
+ flabel write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+%%% alabel
+FUNCTION {calc.alabel}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label.abb
+ { type$ "proceedings" =
+ 'editor.key.organization.label.abb
+ { type$ "manual" =
+ 'author.key.organization.label.abb
+ 'author.key.label.abb
+ if$
+ }
+ if$
+ }
+ if$
+ 'alabel :=
+ % For debug
+ econ.debug #0 = not
+ { "alabel = ``\texttt{" write$
+ alabel write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+%%% title for sorting
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+%%% author for sorting
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+%%% editor for sorting
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+%%% 1,...,9 -> 001,...,009
+%%% 10,...,99 -> 010,...,099
+FUNCTION {add.zero.to.number}
+{ 's :=
+ s text.length$ #1 =
+ { "00" s * }
+ { s text.length$ #2 =
+ { "0" s * }
+ { s }
+ if$
+ }
+ if$
+}
+
+%% entry type
+FUNCTION {bst.sort.entry.type.order}
+{ 'item.type :=
+ item.type "article" =
+ { "01" }
+ { item.type "book" =
+ { "02" }
+ { item.type "booklet" =
+ { "03" }
+ { item.type "comment" =
+ { "04" }
+ { item.type "conference" =
+ { "05" }
+ { item.type "inbook" =
+ { "06" }
+ { item.type "incollection" =
+ { "07" }
+ { item.type "inproceedings" =
+ { "08" }
+ { item.type "manual" =
+ { "09" }
+ { item.type "masterthesis" =
+ { "10" }
+ { item.type "misc" =
+ { "11" }
+ { item.type "phdthesis" =
+ { "12" }
+ { item.type "proceedings" =
+ { "13" }
+ { item.type "techreport" =
+ { "14" }
+ { item.type "unpublished" =
+ { "15" }
+ { "16" }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%%% Create sort.key$: absorder -> author -> year -> order -> month -> title.
+FUNCTION {presort.one}
+{
+ bst.no.sort #0 = not
+ { order.cited int.to.str$ add.zero.to.number " " * }
+ { "" }
+ if$
+ bst.sort.year #0 = not
+ %% Use year field as the primary sorting key.
+ { year convert.year * }
+ 'skip$
+ if$
+ bst.sort.entry.type #0 = not
+ { type$ bst.sort.entry.type.order * " " * }
+ 'skip$
+ if$
+ absorder empty$
+ { "/// " * }
+ { bst.notuse.absorder.field #0 =
+ { absorder "999" =
+ { "zzz " * }
+ { absorder add.zero.to.number "000" =
+ { "/// " * }
+ { absorder add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ { "/// " * }
+ if$
+ }
+ if$
+ " " *
+ sort.label.abb *
+ " " *
+ type$ "book" = type$ "inbook" = or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ * " " *
+ " "
+ order empty$
+ { "/// " * }
+ { bst.notuse.order.field #0 =
+ { order "999" =
+ { "zzz " * }
+ { order add.zero.to.number "000" =
+ { "/// " * }
+ { order add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ { "/// " * }
+ if$
+ }
+ if$
+ month empty$
+ { * "/// " * }
+ { month "999" =
+ { * month add.zero.to.number * "zzz " * }
+ { month add.zero.to.number "000" =
+ { * month add.zero.to.number * "/// " * }
+ { * month add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ if$
+ title field.or.null sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+ % For debug
+ econ.debug #0 = not
+ { "``\texttt{" write$
+ sort.key$ write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+FUNCTION {presort.two}
+{
+ bst.no.sort #0 = not
+ { order.cited int.to.str$ add.zero.to.number " " * }
+ { "" }
+ if$
+ bst.sort.year #0 = not
+ %% Use year field as the primary sorting key.
+ { year convert.year * }
+ 'skip$
+ if$
+ bst.sort.entry.type #0 = not
+ { type$ bst.sort.entry.type.order * " " * }
+ 'skip$
+ if$
+ absorder empty$
+ { "/// " * }
+ { bst.notuse.absorder.field #0 =
+ { absorder "999" =
+ { "zzz " * }
+ { absorder add.zero.to.number "000" =
+ { "/// " * }
+ { absorder add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ { "/// " * }
+ if$
+ }
+ if$
+ " " * sort.label * " "
+ order empty$
+ { "/// " * }
+ { bst.notuse.order.field #0 =
+ { order "999" =
+ { "zzz " * }
+ { order add.zero.to.number "000" =
+ { "/// " * }
+ { order add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ { "/// " * }
+ if$
+ }
+ if$
+ month empty$
+ { * "/// " * }
+ { month "999" =
+ { * month add.zero.to.number * "zzz " * }
+ { month add.zero.to.number "000" =
+ { * month add.zero.to.number * "/// " * }
+ { * month add.zero.to.number * " " * }
+ if$
+ }
+ if$
+ }
+ if$
+ title field.or.null sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+ % For debug
+ econ.debug #0 = not
+ { "``\texttt{" write$
+ sort.key$ write$
+ "}''\\" write$
+ newline$
+ }
+ 'skip$
+ if$
+}
+
+%%% Codes for debugging
+FUNCTION {calc.alabel.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of calc.alabel: alabel = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+FUNCTION {calc.flabel.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of calc.flabel: flabel = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+FUNCTION {presort.one.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of presort (1st time): \$sort.key = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {presort.two.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of presort (2nd time): \$sort.key = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {calc.cyear.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of calc.cyear: sort.label = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {calc.sort.label.abb.mess}
+{ econ.debug #0 = not
+ { "\textbf{Iteration of calc.sort.label.abb: sort.label.abb = }\\" write$
+ newline$ }
+ 'skip$
+ if$
+}
+
+%%% alabel
+EXECUTE {calc.alabel.mess}
+ITERATE {calc.alabel}
+
+%%% flabel
+EXECUTE {calc.flabel.mess}
+ITERATE {calc.flabel}
+
+%%% cyear and sort.label
+EXECUTE {calc.cyear.mess}
+ITERATE {calc.cyear}
+
+%%%
+EXECUTE {calc.sort.label.abb.mess}
+ITERATE {calc.sort.label.abb}
+
+%%% Sorting by $sort.key (first time)
+%
+% Sorting is done in two times. This is the first time.
+%
+EXECUTE {presort.one.mess}
+ITERATE {presort.one}
+SORT
+
+FUNCTION {forward.pass}
+{ bst.use.bysame #0 = bst.use.bysame #2 = or
+ % Not use \bysame
+ { last.sort.label sort.label.abb =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label.abb 'last.sort.label :=
+ }
+ if$
+ }
+ % Use \bysame
+ { last.sort.label sort.label.abb =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label.abb 'last.sort.label :=
+ }
+ if$
+ author empty$
+ { editor empty$
+ { "" }
+ 'format.editors.alt
+ if$
+ }
+ 'format.authors.alt
+ if$
+ 'this.author :=
+ % format.names 'this.author :=
+ this.author prev.author =
+ { "bysame" 'extra.label.bysame := }
+ { this.author "" =
+ { "abcxyz" }
+ 'this.author
+ if$
+ 'prev.author :=
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label empty$ not
+ { cyear extra.label * }
+ { cyear "" * }
+ if$
+ "" field.or.null *
+ 'cyear :=
+ extra.label 'next.extra :=
+}
+
+%%% \bysame
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+%%% Sorting by sort.key$ (second time)
+EXECUTE {presort.two.mess}
+ITERATE {presort.two}
+SORT
+
+FUNCTION {reset.prev.author}
+{ "xxyyzz" 'prev.author := }
+
+EXECUTE {reset.prev.author}
+
+FUNCTION {forward.pass.two}
+{ bst.use.bysame #1 =
+ { author empty$
+ { editor empty$
+ { "" }
+ 'format.editors.alt
+ if$
+ }
+ 'format.authors.alt
+ if$
+ 'this.author :=
+ this.author prev.author =
+ { "bysame" 'extra.label.bysame := }
+ { this.author "" =
+ { "abcxyz" }
+ 'this.author
+ if$
+ 'prev.author :=
+ }
+ if$
+ }
+ 'skip$
+ if$
+}
+
+ITERATE {forward.pass.two}
+
+FUNCTION{punctuation}
+{
+ "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" write$ newline$
+ "% This bbl file is created by econ.bst ver." econ.version * write$ newline$
+ "% The latest econ.bst is available at" write$ newline$
+ "% <https://github.com/ShiroTakeda/econ-bst>" write$ newline$ newline$
+}
+
+EXECUTE {punctuation}
+
+FUNCTION {begin.bib}
+{
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ bst.use.bysame #0 =
+ % Not use \bysame.
+ 'skip$
+ % Use \bysame.
+ { "%%% Definition of \bysame" write$ newline$
+ "\ifx\undefined\bysame" write$ newline$
+ "\newcommand{\bysame}{" bst.bysame.definition * "}" *
+ write$ newline$
+ "\fi" write$ newline$ newline$ }
+ if$
+ %% When number index is attached to the beginning of each item.
+ bst.use.number.index #0 =
+ 'skip$
+ { bst.number.index.digit "1" =
+ % one digit.
+ { bst.number.index.bibhang.one }
+ { bst.number.index.digit "2" =
+ % two digits.
+ { bst.number.index.bibhang.ten }
+ % three or more digits.
+ { bst.number.index.bibhang.hund }
+ if$
+ }
+ if$
+ 'hang :=
+ "%%% Redefinition of \bibhang" write$ newline$
+ "\ifx\undefined\bibhang" write$ newline$
+ "\relax" write$ newline$
+ "\else" write$ newline$
+ "\setlength{\bibhang}{"
+ hang * "}" * write$ newline$
+ "\fi" write$ newline$ newline$
+ }
+ if$
+ "\begin{thebibliography}{xxx}" write$ newline$
+
+ %% Initialize the variable `index'.
+ #0 'index :=
+}
+
+FUNCTION {end.bib}
+{ newline$ "\end{thebibliography}" write$ newline$ }
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+EXECUTE {end.bib}
+
+% --------------------
+% Local Variables:
+% fill-column: 78
+% mode: bst
+% End:
diff --git a/biblio/bibtex/contrib/economic/CHANGELOG b/biblio/bibtex/contrib/economic/CHANGELOG
new file mode 100644
index 0000000000..0e4214d6f5
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/CHANGELOG
@@ -0,0 +1,53 @@
+2009-11-18
+- the LaTeX classes for the journals "Agricultural Economics" (agecon.cls),
+ "Applied Economics" (apecon.cls), "Economica" (ecca.cls),
+ "European Review of Agricultural Economics" (erae.cls),
+ "International Tax and Public Finance" (itaxpf.cls),
+ "Journal of Rural Studies" (jrurstud.cls), "Regional Studies" (regstud.cls),
+ and "World Development" (worlddev.cls) no longer load the "csquotes" package
+- the LaTeX classes for the journals "Agricultural Economics" (agecon.cls),
+ "American Journal of Agricultural Economics" (ajae.cls)
+ "Applied Economics" (apecon.cls),
+ "European Review of Agricultural Economics" (erae.cls),
+ "Journal of Rural Studies" (jrurstud.cls), and
+ "Regional Studies" (regstud.cls) no longer load the packages
+ "fontenc" and "inputenc" so that the user can decide, which encoding
+ (s)he uses
+- the LaTeX classes for the journals
+ "International Tax and Public Finance" (itaxpf.cls),
+ "Post-Communist Economies" (pocoec.cls), and
+ "World Development" (worlddev.cls) no longer load the "fontenc" package
+- minor improvements in the LaTeX class for the
+ "American Journal of Agricultural Economics" (ajae.cls)
+- added LaTeX class for the NJF seminar 425 and hopefully also for other
+ NJF seminars
+- the BibTeX style for the"European Review of Agricultural Economics"
+ (erae.bst) shows the DOIs now (if available)
+- added example for a LaTeX document (apecon.tex) and a corresponding
+ BibTeX data base (apecon.bib) that use the LaTeX class and the BibTeX style
+ for the journal "Applied Economics"
+- added LaTeX file (ier-bib-test.tex) and BibTeX data base (ier-ex.bib)
+ to check the BibTeX style for the International Economic Review (IER)
+- some example files load the packages "inputenc" and "fontenc" now, because
+ these packages are no longer loaded by the corresponding class files
+- the package includes the compiled PDF files of most example files now
+
+2009-01-08
+- added BibTeX style for the Journal of Applied Econometrics (JAE)
+- slightly improved LaTeX class for Post-Communist economies (pocoec.cls)
+- added slightly modified BibTeX style that can be used together
+ with the LaTeX package "csquotes"
+
+2008-12-29
+- added support for Agricultural Economics (AgEcon)
+- added support for Applied Economics (ApEcon)
+- added BibTeX style for the Journal of Political Economy (JPE)
+- added support for the Journal of Rural Studies (JRurStud)
+- added support for Post-Communist Economies (PoCoEc)
+- added support for Regional Studies (RegStud)
+- added support for the Tagungsband of the Austrian Association of Agricultural
+ Economists (Oesterreichische Gesellschaft fuer Agraroekonomie, OeGA)
+- added BibTeX style for "Reference Style X" of Taylor and Francis
+- added support for World Development (WorldDev)
+- this bundle is developed on Sourceforge.net now:
+ http://sourceforge.net/projects/economtex/
diff --git a/biblio/bibtex/contrib/economic/NEWS b/biblio/bibtex/contrib/economic/NEWS
new file mode 100644
index 0000000000..4b91584fc6
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/NEWS
@@ -0,0 +1,21 @@
+2008-12-29 economtex -- Support for Economists using LaTeX and BibTeX
+
+The "economtex" project [1,2] aims at supporting economists who use LaTeX
+and/or BibTeX. Currently, this is done in two ways:
+First, the economtex project provides LaTeX classes/styles and BibTeX styles
+for manuscripts to be submitted to economics journals.
+Second, the economtex project provides a Wiki [3] for economists to share
+information on using LaTeX in their profession.
+
+The "economtex" project has released a largely enhanced version of its
+package of LaTeX classes and BibTeX styles today [4]. This is the first release
+on Sourceforge.net. Earlier versions of this package were already available as
+"economic bundle" on CTAN [5]. The development of this package has been moved
+to Sourceforge.net a few month ago and many new LaTeX classes and BibTeX styles
+have been added. The updated package will be available also on CTAN soon.
+
+[1] http://economtex.sourceforge.net/
+[2] http://sourceforge.net/projects/economtex/
+[3] http://economtex.wiki.sourceforge.net/
+[4] http://sourceforge.net/project/platformdownload.php?group_id=240001
+[5] http://www.ctan.org/tex-archive/biblio/bibtex/contrib/economic/
diff --git a/biblio/bibtex/contrib/economic/README b/biblio/bibtex/contrib/economic/README
new file mode 100644
index 0000000000..cd8d1e9bac
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/README
@@ -0,0 +1,210 @@
+LaTeX and BibTeX Support for Submissions to Economics Journals
+
+
+CONTENTS
+
+As of today, following classes and styles are available:
+
+1) American Economic Review (AER)
+aer.bst: BibTeX style. It requires the style files aer.sty (in this bundle)
+ and harvard.sty (CTAN:macros/latex/contrib/harvard/)
+aertt.bst: This reproduces the incredibly crazy way the
+ AER asks for ``final'' manuscripts to look. It requires the
+ style files aertt.sty (in this bundle),
+ harvard.sty (CTAN:macros/latex/contrib/harvard/), and
+ ulem.sty (CTAN:macros/latex/contrib/misc/)
+aer.sty: LaTeX style for the AER
+aertt.sty: LaTeX style for ``final'' manuscripts submitted to the AER
+author: Peter Williams <peterw (at) archsci.arch.su.oz.au>
+aer-cje-ex.tex: example LaTeX file
+aer-cje-ex.bib: bibliography of the example file
+authors of aer-cje-ex.*: Randall M. Wigle <rwigle (at) wlu.ca>,
+ Nelson H. F. Beebe <beebe (at) alfred.math.utah.edu>, and
+ Arne Henningsen <arne (dot) henningsen (at) gmail (dot) com>
+aer-natbib-ex.tex: LaTeX file for testing aer.bst with the natbib package
+author of aer-natbib-ex.tex: Arne Henningsen <arne (dot) henningsen (at) gmail (dot) com>
+
+2) Agricultural Economics (AgEcon)
+agecon.cls: LaTeX class
+agecon.bst: BibTeX style
+author: Arne Henningsen <arne (dot) henningsen (at) gmail (dot) com>
+license: LPPL
+
+3) American Journal of Agricultural Economics (AJAE)
+ajae.bst: BibTeX style
+ajae.cls: LaTeX class
+ajae-ex.tex: example LaTeX file
+ajae-ex.bib: bibliography of the example file
+authors: Arne Henningsen <arne (dot) henningsen (at) gmail (dot) com>
+ and Karsten Heymann
+license: LPPL
+
+4) Applied Economics (ApEcon)
+apecon.cls: LaTeX class
+apecon.bst: BibTeX style
+author: Arne Henningsen <arne (dot) henningsen (at) gmail (dot) com>
+license: LPPL
+
+5) Canadian Journal of Economics (CJE)
+cje.bst: BibTeX style. It requires the style files cje.sty (in this bundle)
+ and harvard.sty (CTAN:macros/latex/contrib/harvard/)
+cje.sty: LaTeX style for the CJE
+author: Peter Williams <peterw (at) archsci.arch.su.oz.au>
+aer-cje-ex.tex: example LaTeX file
+aer-cje-ex.bib: bibliography of the example file
+authors of aer-cje-e.*: Randall M. Wigle <rwigle (at) wlu.ca>,
+ Nelson H. F. Beebe <beebe (at) alfred.math.utah.edu>, and
+ Arne Henningsen <arne (dot) henningsen (at) gmail (dot) com>
+
+6) Econometrica (ECTA)
+ecta.bst: BibTeX style. It requires the LaTeX style ``natbib'' (or ``chicago'')
+author: Sebastian Perez-Duarte <perez (at) ensae.fr>
+ OR
+econometrica.bst: BibTeX style. It requires the style file
+ harvard.sty (CTAN:macros/latex/contrib/harvard/)
+author: KC Border <kcb (at) hss.caltech.edu>
+ OR
+econometrica-fr.bst: BibTeX style. It requires the style file
+ harvard.sty (CTAN:macros/latex/contrib/harvard/)
+author: Guillaume Horny <horny (at) cournot.u-strasbg.fr>
+
+7) Economica (ECCA)
+ecca.bst: BibTeX style
+ecca.cls: LaTeX class
+ecca-ex.tex: example LaTeX file
+ecca-ex.bib: bibliography of the example file
+author: Arne Henningsen <arne (dot) henningsen (at) gmail (dot) com>
+license: LPPL
+
+8) European Review of Agricultural Economics (ERAE)
+erae.bst: BibTeX style
+erae.cls: LaTeX class
+erae-ex.tex: example LaTeX file
+erae-ex.bib: bibliography of the example file
+author: Arne Henningsen <arne (dot) henningsen (at) gmail (dot) com>
+license: LPPL
+
+9) International Economic Review (IER)
+ier.bst: BibTeX style
+author: Doug McKee <dmckee (at) ucla.edu>
+license: LPPL
+
+10) International Tax and Public Finance (ITAXPF)
+itaxpf.cls: LaTeX class
+itaxpf.bst: BibTeX style
+itaxpf-ex.tex: example LaTeX file
+itaxpf-ex.bib: bibliography of the example file
+itaxpf-ex-title.tex: example LaTeX file for a title page
+author: Arne Henningsen <arne (dot) henningsen (at) gmail (dot) com>
+license: LPPL
+
+11) Journal of Applied Econometrics (JAE)
+jae.bst: BibTeX Style
+author: unknown
+license: LPPL
+
+12) Journal of Political Economy (JPE)
+jpe.bst: BibTeX style
+author: Adam Seth Litwin <aslitwin (at) jhu (dot) edu>
+license: LPPL
+
+13) Journal of Rural Studies (JRurStud)
+jrurstud.cls: LaTeX class
+ (BibTeX style: "elsart-harv.bst", available at
+ http://www.elsevier.com/wps/find/authorsview.authors/elsart)
+author: Arne Henningsen <arne (dot) henningsen (at) gmail (dot) com>
+license: LPPL
+
+14) Journal of Statistical Software (JSS)
+jss2.bst: slightly modified BibTeX style that can be used together
+ with the LaTeX package "csquotes"
+
+15) Oesterreichische Gesellschaft fuer Agraroekonomie (OeGA)
+ (Austrian Association of Agricultural Economists)
+oegatb.cls: LaTeX class for short papers for publication in the "Tagungsband"
+oega.bst: BibTeX style
+oegatb-ex.tex: example file
+oegatb-ex.bib: bibliography of the example file
+oegatb-ex.png: figure included in the example file
+author: Arne Henningsen <arne (dot) henningsen (at) gmail (dot) com>
+license: LPPL
+
+16) Post-Communist Economies (PoCoEc or PCE)
+pocoec.cls: LaTeX class
+ (BibTeX style: tandfx.bst, in this package)
+author: Arne Henningsen <arne (dot) henningsen (at) gmail (dot) com>
+license: LPPL
+
+17) Regional Studies (RegStud)
+regstud.cls: LaTeX class
+regstud.bst: BibTeX style
+author: Arne Henningsen <arne (dot) henningsen (at) gmail (dot) com>
+license: LPPL
+
+18) Taylor and Francis Reference Style X
+tandfx.bst: BibTeX style for "Reference Style X" of Taylor and Francis
+
+19) World Development (WorldDev)
+worlddev.cls: LaTeX class
+worlddev.bst: BibTeX style
+author: Arne Henningsen <arne (dot) henningsen (at) gmail (dot) com>
+license: LPPL
+
+
+
+USAGE
+
+The usage of most classes and styles is explained inside these files.
+Example files are provided for a few classes and styles:
+aer-cje-ex.tex, aer-natbib-ex.tex, ajae-ex.tex, erae-ex.tex, ecca-ex.tex,
+itaxpf-ex.tex, itaxpf-ex-title.tex, oegatb-ex.tex.
+
+Most classes load the natbib package
+(see CTAN:macros/latex/contrib/natbib/)
+
+Other styles generally permit four forms of citation, which are illustrated
+below:
+ Citation Form Result
+\cite{wealth} (Smith 1776)
+\citename{wealth} Smith
+\citeyear{wealth} (1776)
+\citeasnoun{wealth} Smith (1776)
+
+Further information might be available at
+ http://economtex.wiki.sourceforge.net/
+
+
+
+BUG REPORTS
+
+Please report any bugs and problems at
+ http://sourceforge.net/projects/economtex/
+
+
+
+MAINTAINER
+
+Arne Henningsen
+Department of Agricultural Economics
+University of Kiel
+Olshausenstr. 40
+D-24098 Kiel (Germany)
+Tel: +49-431-880 4445
+Fax: +49-431-880 1397
+http://www.arne-henningsen.name/
+
+
+
+ACKNOWLEDGEMENT
+
+I would like to thank Randall M. Wigle for maintaining these files
+from 1993 to 2006 and all authors for preparing and publishing these files.
+
+
+
+AVAILABILITY
+
+These files are currently available from
+ CTAN:biblio/bibtex/contrib/economic/
+and
+ http://sourceforge.net/projects/economtex/
diff --git a/biblio/bibtex/contrib/economic/aer-cje-ex.bib b/biblio/bibtex/contrib/economic/aer-cje-ex.bib
new file mode 100644
index 0000000000..cec7e6d2cc
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/aer-cje-ex.bib
@@ -0,0 +1,353 @@
+
+
+% Journals
+
+@STRING{AER="{A}merican {E}conomic {R}eview " }
+@STRING{CO2="{CO}2"}
+@STRING{JPE="Journal of Political Economy"}
+@STRING{CJE="Canadian Journal of Economics"}
+@STRING{QJE="Quarterly Journal of Economics"}
+
+% Authors
+@STRING{jwrw="John Whalley and Randall M. Wigle"}
+@STRING{self= "Randall M. Wigle"}
+@STRING{me=self}
+
+
+% Institutions
+
+@STRING{IIE="{I}nstitute for {I}nternational {E}conomics"}
+@STRING{UN="{U}nited {N}ations"}
+@STRING{FAO="{F}ood {a}nd {A}griculture {O}rganization {o}f {t}he {U}nited
+{N}ations"}
+@STRING{IBRD="{I}nternational {B}ank {f}or {R}econstruction {a}nd
+{D}evelopment"}
+@STRING{USDA="{U}nited {S}tates {D}epartment {o}f {A}griculture"}
+@STRING{OECD="{O}rganization {f}or {E}conomic {C}ooperation {a}nd
+{D}evelopment"}
+@STRING{GATT="{G}eneral {A}greement on {T}ariffs and {T}rade"}
+@STRING{StatCan="{Statistics Canada}"}
+% INTERNATIONAL TRADE BIBLIOGRAPHY
+
+@BOOK{ES,
+ author="Harold C. Eastman and Stefan Stykolt",
+ title="The Tariff and Competition in Canada",
+ place="Toronto", publisher="McMillan",year= 1967}
+@INCOLLECTION{markusenc1,
+ author="James R. Markusen",
+ title="Canadian Gains From Trade in the
+ Presence of Scale Economies and Imperfect Competition.",
+ editor="John Whalley and Roderick Hill", year=1985,
+ pages="113--156",booktitle="Canada-{U}nited {S}tates Free Trade",
+ address="Toronto",publisher="University of Toronto Press",
+ number=11, series="Research Volumes for the {M}c{D}onald
+ Commission"}
+@ARTICLE{melvintrans,
+ author="James R. Melvin",title="The regional economic
+ consequences of tariffs and domestic transportation costs.",
+ journal="Canadian Journal of Economics", volume="XVIII",
+ number="2", month="May",year=1985,pages="237--257"}
+@ARTICLE{porter,
+ author="Robert H. Porter", title="Tariff policies in a small
+ open spatial economy", journal="Canadian Journal of Economics",
+ volume="XVII",number=2,month="May",year=1984, pages="270--282"}
+@BOOK{trela-whalley,
+ author="Irene Trela and John Whalley",
+ title="Regional Aspects of Confederation", place="Toronto",
+ publisher="University of Toronto Press",
+ year=1986, volume=68, series="Mc{D}onald Commission Research
+ Volumes"}
+@BOOK{hill-whalley,
+ author="John Whalley and Roderick Hill",
+ title="Canada-United States Free Trade",
+ place="Toronto",publisher="University of Toronto Press",
+ year=1985, volume=11, series="Mc{D}onald Commission Research
+ Volumes"}
+@BOOK{ww,
+ author="Ronald J. Wonnacott and Paul Wonnacott",
+ title="Free Trade Between the United States and Canada: The
+ Potential Economic Effects",place="Cambridge Mass.",
+ publisher="The Harvard University Press", year=1967}
+@ARTICLE{waters,
+ title="Transport Costs and the Static Welfare Costs of
+ Tariffs", author="Waters {II}, W. G.", journal="American
+ Economic Review", Volume=64, Number=4, pages="730--732",
+ year=1974}
+@BOOK{cameron,
+ title="The Free Trade Papers", editor="Duncan Cameron",
+ place="Toronto", publisher="Lorimer Press", year=1986}
+@BOOK{m-m84,
+ title="The Theory of International Trade and Its Canadian
+ Applications", author="James R. Markusen and James R. Melvin",
+ year=1984,publisher="Butterworths",place="Toronto"}
+@MISC{focus,
+ title="{GATT} {F}ocus", author="{GATT}", note="Various issues" }
+@ARTICLE{jpe89,
+ author="James R. Markusen and Randall M. Wigle", journal="Journal
+ of Political Economy", year=1989, title="Nash Equilibrium
+ Tariffs for the {U}nited {S}tates and {C}anada: The roles of country
+ size, scale economies, and capital mobility",
+ volume=97,number=2}
+@BOOK{quest,
+ title="The {U}nited {S}tates and {C}anada: The quest for free
+ trade.",author="Paul Wonnacott", publisher="Institute for
+ International Economics",year=1987,month="March",
+ series="Policy Analyses in International Economics",
+ number=16,place="Washington {D.C.}"}
+@BOOK{CAFT,
+ editor="A. R. Riggs and Tom Velk",
+ title="Canadian--{A}merican Free Trade: Historical, Political
+ and Economic Dimensions", publisher="The Institute for
+ Research on Public Policy", year=1987,place="Halifax {N.S.}"}
+
+@ARTICLE{north-south,
+ title="Explaining the Volume of {N}orth-{S}outh Trade",
+ author="James R. Markusen and Randall M. Wigle",
+ journal="The Economic Journal", volume=100,
+ month="December", pages="1206--1215",year=1990}
+
+@INCOLLECTION{oecd-ibrd,
+ title="Terms of Trade Effects, Trade Liberalization and
+ Developing Countries",author=jwrw,year=1990,
+ booktitle="Agricultural Trade Liberalization:
+ Implications for Developing Countries",editor="K. Odin",
+ publisher="Organization for Economic Cooperation and Development",
+ place="Paris"}
+
+@INCOLLECTION{ag-wars,
+ author="Glenn W. Harrison and Lisa Rutstrom and Randall M. Wigle",
+ year=1989,title="The Costs of an Agricultural Trade
+ War",booktitle="Macroeconomic Consequences of Farm-Support Policies",
+ editor="Stoeckel, Andrew B. and David Vincent and Sandy Cuthbertson",
+ place="Durham, N.C.", publisher="Duke University Press",
+ pages="330--367"}
+
+@INCOLLECTION{qualifications,
+ author=me,title="The Received Wisdom of {C}anada-{U.S}. Free Trade:
+ Qualifications",editor="Riggs, Alvin R. and Tom Velk",
+ booktitle="Canadian-American Free Trade: Historical,
+ Political and Economic Dimensions",publisher="Institute for
+ Research on Public Policy",place="Halifax, N.S.",year=1987,
+ pages="105--114"}
+
+@INCOLLECTION{columbia-discussion,
+ author=me,year=1986,title="Summary of the Panel and Floor
+ Discussion",editor="T. N. Srinivasan and John Whalley",
+ booktitle="General Equilibrium Trade Policy Modelling",
+ publisher="M.I.T. Press",pages="323--354"}
+
+@ARTICLE{rock-hard,
+ author=me,year=1988, title="Between a Rock and a Hard Place: The
+ Economics of {C}anada-{U.S}. Free Trade",journal="Canadian Public
+ Policy",volume="XIV",number=1,month="March",pages="104--108"}
+
+@BOOK{hathaway,
+ author="Dale Hathaway", title="Agriculture in the {GATT}:
+ Rewriting the Rules", publisher=IIE, place="Washington, D.C.",
+ year=1985}
+
+@ARTICLE{trela-whalley-MFA,
+ author="Irene Trela and John Whalley", title="Global Effects of
+ Devloped Country Trade Restrictions on Textiles and Apparel",
+ journal="Economic Journal", volume="100", number="403",
+ year=1990, month="December", pages="1190--1205"}
+
+@PHDTHESIS{rwt,
+ author="Robert Waschik", title="International Trade with
+ Variable Factor Supply", year=1990, school="University of
+ {W}estern {O}ntario", place="London {O}ntario, {C}anada"}
+
+@BOOK{completing-ur,
+ title="Completing the {U}ruguay Round: A Results-Oriented
+ Approach to the GATT Negotiations", editor="Jeffrey J. Schott",
+ publisher="Institute for International Economics", year=1990,
+ place="Washington, D.C."}
+
+@UNPUBLISHED{rmd,
+ title="Transportation Costs in Regional Models of International
+ Trade: An Application to {C}anada-{U.S}. Trade", author=me,
+ year=1990, type="Wilfrid Laurier University Working Paper
+ \#90242", month="December"}
+
+@BOOK{FTA,
+ title="The Canada-U.S. Free Trade Agreement [{C}opy 10-12-87]",
+ author="{External Affairs Canada}",
+ year=1987,publisher="International Trade Communications Group",
+ place="Ottawa"}
+
+@BOOK{GATT,
+ author="{General Agreement on Tariffs and Trade}",
+ title="{GATT:} What it is, What it does",
+ place="Geneva", publisher="{ General Agreement on
+ Tariffs and Trade}", year=1990 }
+
+@BOOK{IIE-ur,
+ author="Gary C. Hufbauer and Jeffrey Schott",
+ title="Trading for growth: The Next Round of Trade Negotiations",
+ series="Analyses in International Economics", number=11,
+ place="Washington", publisher="Institute for International
+ Economics",year=1985}
+
+@ARTICLE{markusen-venables,
+ author="Anthony J. Venables and James R. Markusen",
+ title="Trade Policy with Increasing Returns and Imperfect
+ Competition: Contradictory Results from Competing Assumptions",
+ journal="Journal of International Economics",
+ year=1988,volume=24, pages="299--316"}
+
+@ARTICLE{harris-84,
+ author="Richard G. Harris", title="Applied General Equilibrium
+ Analysis of Small Open Economies with Scale Economies and
+ Imperfect Competition", journal=AER, volume=74,
+ pages="1016--1032",year=1984}
+% CGE References for Data Paper
+
+@BOOK{DS86,
+ author="Deardorff, Alan V. and Robert M. Stern",
+ title="The {M}ichigan Model of World Production and Trade: Theory
+ and Applications",
+ Address="Cambridge, Mass.", year=1986,
+ publisher="{M}{I}{T} Press"}
+
+@TECHREPORT{DS89,
+ author="Deardorff, Alan V. and Robert M. Stern",
+ title="A Computational Analysis of Alternative Scenarios for
+ Multilateral Trade Liberalization",
+ institution="Economic Council of {C}anada",
+ year=1989, type="Working Paper", number=363, month="August"}
+
+@BOOK{GAMS,
+ author="Brooke, Anthony and David Kendrick and Alexander
+ Meeraus",
+ title="{GAMS} A User's Guide",
+ publisher="The Scientific Press", address="Redwood City, CA",
+ year=1988}
+
+@ARTICLE{JMCB,
+ author="Dewald, William G. and Jerry G. Thursby and Richard G.
+ Anderson",
+ title="Replication in Empirical Economics: The {J}ournal of
+ {M}oney, {C}redit and {B}anking {P}roject",
+ journal="American Economic Review", year=1986, volume=76,
+ number=4, pages="587-603", month="Sept."}
+
+@TECHREPORT{ECDATA,
+ author=" Glenn Harrison and Thomas F. Rutherford and Ian Wooton",
+ title="An Empirical Database for A General Equilibrium Model of
+ the European Communities", year=1989, institution="University of
+ {W}estern {O}ntario", type="Working Paper", number="8901C" }
+
+@BOOK{PRCIO,
+ author="{East-West Institute}",
+ title="An Input-Output Table for China, 1980",
+ publisher="Pergammon Press", year=1986, address="Honolulu"}
+
+@TECHREPORT{UNtrade,
+ author="James K. Binkley and Thomas W. Hertel and Marinos Tsigas",
+ title="The {UN} Trade Data: Can it be Saved?",
+ type="Working Paper",
+ institution="Purdue University", month="August", year=1990}
+
+@BOOK{UNva,
+ author=UN ,
+ title="Industrial Statistics Yearbook, 1986",
+ publisher=UN , year=1987}
+
+@BOOK{FAOfish,
+ author=FAO,
+ title="yearbook of fishery statistics, 1986",
+ volume=63, year=1988, publisher=UN}
+
+@ARTICLE{comparisons,
+ author="Robert Summers and Alan Heston",
+ title="A new set of international comparisons of real product and
+ price level estimates for 130 countries 1950--1985",
+ journal="Review of Income and Wealth", year=1988,
+ pages="1--25",volume=34,number=1,month="March"}
+
+@BOOK{FAOwood,
+ author=FAO, title="Forest Products 1976--1987",
+ number=22, year=1989, place="Rome", publisher=UN}
+
+@BOOK{world-tables,
+ title="The World Tables, 1987",publisher=IBRD,
+ author=IBRD,place="Washington",year=1988}
+
+@BOOK{WDR-89,
+ title="World Development Report", author=IBRD,
+ year=1989, publisher="Oxford University Press", place="London"}
+
+@BOOK{USDA-pse,
+ title="Estimates of Producer and Consumer Subsidy Equivalents:
+ Government Intervention in Agriculture, 1982--1986", author=USDA,
+ year=1988, publisher=USDA, month="April", place="Washington D.C."}
+
+@BOOK{OECD-pse,
+ title="National policies and agricultural trade",author=OECD,
+ year=1987, publisher=OECD, place="Paris"}
+
+@BOOK{io-EC80,
+ title="National Accounts ESA: Input-Output Tables, 1980",
+ author="{e}urostat",year=1986,publisher="Offices {d}es publications
+ officielles des {C}ommunaut\'es europ\'eenes",
+ note="Cat.: CA-46-86-743-2A-C",place="Luxembourg"}
+
+@BOOK{io-CAN82,
+ title="System of National Accounts: The input-output structure
+ of the {C}anadian economy 1981--1984", author="{S}tatistics
+ {C}anada", place="Ottawa",year=1988,publisher="Supply and
+ Services {C}anada",number="Cat.: 15-201"}
+
+@BOOK{io-LDC,
+ title="Input-Output Tables for Developing Countries",volume="I",
+ author=UN,publisher=UN,year=1975,
+ note="Pages 57--82",place="New York"}
+
+@BOOK{io-JPN80,
+ author="{Statistics Bureau, Prime Minister's Office}",
+ title="Japan Statistical Yearbook, 1987",
+ publisher="Japan Statistical Association",year=1987,
+ note=" Pages 566--570, Table 16-13",place="Tokyo"}
+
+@article{io-USA82,
+ journal="Survey of Current Business", volume=68, number=4,
+ title="Annual Input-Output Accounts of the U.S. Economy, 1982",
+ author="{Bureau of Economic Analysis of the U.S. Department of
+ Commerce}", month="April",year=1988, note="Table 1, pages
+ 32--39", place="Washington"}
+
+@BOOK{tablas,
+ title="Tablas de insumo-producto an Am\'erica
+ Latina",author="{Economic Commission for Latin
+ America}",publisher=UN, year=1983,place="New York"}
+
+@MISC{io-OZ82,
+ author="unknown",title="Industry by Industry Flow Matrix
+ 1982--1983",howpublished="Photocopy",note="Table for Australia
+ --- Table~11 pages~62--64"}
+
+@BOOK{WDR-90,
+ title="World Development Report", author=IBRD,
+ year=1990, publisher="Oxford University Press", place="London"}
+
+@MISC{BCR,
+ title="Bank of {C}anada Review", author="{Bank of Canada}",
+ address="Ottawa",year="Various issues",
+ note="Monthly publication"}
+
+@BOOK{CAN-86,
+ title="Input Output Tables for Canada ???", author=StatCan,
+ year="1991 ?", publisher="Supply and Services Canada",note="See
+ Tables ??? and ???"}
+
+@ARTICLE{PWT5,
+ title="The {PENN} World Table (Mark~5): An EXPANDED SET OF
+ INTERNATIONAL COMPARISONS, 1950--1988", author="Robert Summers
+ and Alan Heston", journal=QJE,
+ year=1991,month="May",pages="327--368",number=2, volume="?"}
+
+@TECHREPORT{ussr72,
+ title="Input-Output Structure of the {S}oviet Economy: 1972",
+ author="Dimitri Gallik and Barry L. Kostinsky and Vladimir Treml",
+ institution="{U.S.} Department of Commerce: Bureau of the
+ Census", year=1983, type="Foreign Economic Report", number=18}
diff --git a/biblio/bibtex/contrib/economic/aer-cje-ex.tex b/biblio/bibtex/contrib/economic/aer-cje-ex.tex
new file mode 100644
index 0000000000..99e5a7551f
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/aer-cje-ex.tex
@@ -0,0 +1,45 @@
+\documentclass{article}
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+% Modified by Arne Henningsen [arne (dot) henningsen (at) gmail (dot) com]
+% on 2007/01/23 (LaTeX 2.09 -> LaTeX2e)
+
+%\def\mode{aertt}
+%\def\mode{aer}
+\def\mode{cje}
+
+\usepackage{hyperref}
+\usepackage{harvard}
+\usepackage{\mode}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {\mode}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {\mode}}}{Bibliography Style: {\tt {\mode}}}
+
+\begin{document}
+
+ \bibliographystyle{\mode}
+
+ \maketitle
+
+The old \verb|\cite| gives \cite{ww} and \cite{ww,waters}
+
+\verb|\citeasnoun| gives \citeasnoun{ww}
+
+\verb|\citeyear| gives \citeyear{ww} and \citeyear{ww,waters}
+
+\verb|\citename| gives \citename{ww}
+
+ \nocite{*}
+
+ \bibliography{aer-cje-ex}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/economic/aer-natbib-ex.tex b/biblio/bibtex/contrib/economic/aer-natbib-ex.tex
new file mode 100644
index 0000000000..ab4cdef1d5
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/aer-natbib-ex.tex
@@ -0,0 +1,45 @@
+\documentclass{scrartcl}
+\usepackage[T1]{fontenc}
+\usepackage[latin1]{inputenc}
+\usepackage{lmodern}
+
+\usepackage{natbib}
+
+\usepackage{hyperref}
+\hypersetup{%
+ colorlinks = {true},
+ urlcolor = {blue},
+ linkcolor = {black},
+ citecolor = {black},
+ pdfauthor = {Arne Henningsen},
+ pdftitle = {Testing BibTeX style for the
+ American Economic Review (AER)},
+ pdfkeywords = {AER, BibTeX, LaTeX}
+}
+
+\title{Testing Bib\TeX{} style for the
+ ``American Economic Review'' (AER)}
+\author{Arne Henningsen}
+
+\begin{document}
+
+\maketitle
+
+\section{Citations}
+\subsection{Citations in Text}
+\citet{Black29} says A, \citet{Wold89} say B, \citet{Wold} say C,
+\citet{Wold4} say D, \citet{Wold5} say E., \citet{Brown65} says F,
+and the \citet{USDA65} says G.
+
+\subsection{Citations in Parenthesis}
+A equals B \citep{Black29}, B equals C \citep{Wold89}, C equals D \citep{Wold},
+D equals E \citep{Wold4}, E equals F \citep{Wold5}, F equals G \citep{Brown65},
+and G equals A \citep{USDA65}.
+Hence, A, B, C, D, E, F, and G are all equal
+\citep{Black29, Wold89, Wold, Wold4, Wold5, Brown65, USDA65}.
+
+\nocite{*}
+\bibliographystyle{aer}
+\bibliography{ajae-ex}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/economic/aer.bst b/biblio/bibtex/contrib/economic/aer.bst
new file mode 100644
index 0000000000..c267db6d54
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/aer.bst
@@ -0,0 +1,1221 @@
+% BibTeX bibliography style `aer' (American Economic Review)
+% this file is based on the `harvard' family of files
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1991, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, abbrv.bst, agsm.bst,
+ % dcu.bst, cje.bst, aer.bst, or kluwer.bst.
+ % This restriction helps ensure that all standard styles are identical.
+
+% ACKNOWLEDGEMENT:
+% This document is a modified version of alpha.bst to which it owes much of
+% its functionality.
+
+% AUTHOR
+% Peter Williams, Key Centre for Design Quality, Sydney University
+% e-mail: peterw@archsci.arch.su.oz.au
+
+ENTRY
+ { address author booktitle chapter edition editor howpublished institution
+ journal key month note number organization pages publisher school
+ series title type volume year}
+ { field.used }
+ { label.touse extra.label sort.label list.year }
+
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ {}
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ {}
+ if$
+}
+
+INTEGERS {quoted italic bold plain attribute
+ space comma tiedcomma semicolon colon period block empty separator
+ prev.separator next.separator next.attribute}
+
+STRINGS { s temp f name.list first.name.format later.name.formats name.style}
+
+FUNCTION {init.state.consts}
+{
+ #100 'quoted :=
+ #200 'italic :=
+ #300 'bold :=
+ #400 'plain :=
+
+ #7 'space :=
+ #6 'comma :=
+% #5 'tiedcomma :=
+% #4 'semicolon :=
+ #3 'colon :=
+ #2 'period :=
+ #1 'block :=
+ #0 'empty :=
+}
+
+FUNCTION {output2}
+{
+% Wrap the attribute.
+ attribute bold = {"{\bf " swap$ * "}" *} {} if$
+ attribute italic = {"{\it " swap$ * "}" *} {} if$
+ attribute quoted = {"``" swap$ * "''" *} {} if$
+% Append additional separators
+ separator comma = {"," * space 'separator :=} {} if$
+% separator tiedcomma = {",~" * empty 'separator :=} {} if$
+ separator space = {" " *} {} if$
+ write$
+ separator block = {newline$ "\newblock " write$} {} if$
+% Update variables, and put the new string back on the stack
+ next.attribute 'attribute :=
+ next.separator 'separator :=
+ temp
+}
+
+% <string> <separator> <string> <attribute> <final separator> output <string>
+FUNCTION {output.nonnull}
+{ 'next.separator :=
+ 'next.attribute :=
+ 'temp :=
+ 'prev.separator :=
+% If the new separator is stronger than the previous one, use it.
+ prev.separator separator < {prev.separator 'separator :=} {} if$
+% Append most separators to the string.
+ separator block = {add.period$} {} if$
+ separator period = {add.period$ space 'separator :=} {} if$
+% separator semicolon = {";" * space 'separator :=} {} if$
+ separator colon = {":" * space 'separator :=} {} if$
+ separator comma = attribute quoted = and
+ {"," * space 'separator :=} {} if$
+ output2
+}
+
+FUNCTION {output}
+{ 'next.separator :=
+ 'next.attribute :=
+ duplicate$ empty$
+ {pop$ pop$}
+ {next.attribute next.separator output.nonnull}
+ if$
+}
+
+FUNCTION {output.check}
+{ 's :=
+ 'next.separator :=
+ 'next.attribute :=
+ duplicate$ empty$
+ {pop$ pop$ "empty " s * " in " * cite$ * warning$ }
+ {next.attribute next.separator output.nonnull}
+ if$
+}
+
+FUNCTION {item.check}
+{ 'temp :=
+ empty$
+ { "empty " temp * " in " * cite$ * warning$ }
+ {}
+ if$
+}
+
+FUNCTION {plain.space} { plain space }
+
+FUNCTION {plain.space.output} { plain.space output }
+
+FUNCTION {plain.comma} { plain comma }
+
+FUNCTION {fin.entry}
+{
+ block note plain.space.output
+ period "" plain empty output.nonnull pop$
+ newline$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ {}
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {quote}
+{ duplicate$ empty$
+ { pop$ "" }
+ { add.period$ "`" swap$ * "'" * }
+ if$
+}
+
+
+% <prev name list> <new name list> compare.names <modified name list>
+INTEGERS {len1 len2 i}
+FUNCTION {compare.names}
+{ 's :=
+ 'temp :=
+ temp num.names$ 'len1 :=
+ s num.names$ 'len2 :=
+% len1 := min(len1,len2)
+ len1 len2 > {len2 'len1 :=} {} if$
+% start with an empty string, then while the components are the same
+% add "\bysame"
+ ""
+ #1 'i :=
+ {i len1 > not}
+ { temp i "{ff }{vv }{ll}{ jj}" format.name$
+% duplicate$ i int.to.str$ * warning$
+ s i "{ff }{vv }{ll}{ jj}" format.name$
+% duplicate$ i int.to.str$ * warning$
+ =
+ { #1 i < {" and " *} {} if$
+ "\bysame{}" * i #1 + 'i :=}
+ {#-1 'len1 :=}
+ if$
+ }
+ while$
+% add the rest of the second string
+ {i len2 > not}
+ { #1 i < {" and " *} {} if$
+ s i "{ff }{vv }{ll}{ jj}" format.name$ *
+ i #1 + 'i :=
+ }
+ while$
+% duplicate$ warning$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 'name.list :=
+ 'name.style :=
+ 'later.name.formats :=
+ 's := % binary separator
+ 'first.name.format :=
+ #1 'nameptr :=
+ name.list num.names$ 'numnames :=
+% If we're to make this entry bold or something, prepend to the string of names
+ name.style "" = {} {"{" name.style *} if$
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { name.list nameptr nameptr #1 = {first.name.format} {later.name.formats} if$
+ format.name$ 'temp :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * temp * }
+ { temp "others" =
+ { " et~al." * }
+ {nameptr #2 = % handle ", and" vs " and "
+ {s * temp *}
+ {", and " * temp * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ 'temp
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+% If we're to make this entry bold or something, append to the string of names
+ name.style "" = {} {"}" * *} if$
+}
+
+FUNCTION {format.authors}
+{ 'temp :=
+ "{vv~}{ll}{, jj}{, ff}" " and " "{ff~}{vv~}{ll}{, jj}" "" temp
+ format.names
+}
+
+FUNCTION {format.editors}
+{ 'temp :=
+ "{vv~}{ll}{, jj}{, ff}" " and " "{ff~}{vv~}{ll}{, jj}" ""
+ temp format.names
+ editor num.names$ #1 >
+ { ", eds" * }
+ { ", ed." * }
+ if$
+}
+
+FUNCTION {format.editors.notkey}
+{ editor empty$
+ { "" }
+ { "{ff~}{vv~}{ll}{, jj}" " and " "{ff~}{vv~}{ll}{, jj}" ""
+ editor format.names
+ editor num.names$ #1 > {", eds."} {", ed."} if$
+ *
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ space title quoted comma }
+
+FUNCTION {n.dashify}
+{ 'temp :=
+ ""
+ { temp empty$ not }
+ { temp #1 #1 substring$ "-" =
+ { temp #1 #2 substring$ "--" = not
+ { "--" *
+ temp #2 global.max$ substring$ 'temp :=
+ }
+ { { temp #1 #1 substring$ "-" = }
+ { "-" *
+ temp #2 global.max$ substring$ 'temp :=
+ }
+ while$
+ }
+ if$
+ }
+ { temp #1 #1 substring$ *
+ temp #2 global.max$ substring$ 'temp :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "Vol." volume tie.or.space.connect
+ series empty$
+ {}
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.bvolume.output}
+ {comma format.bvolume plain.space.output}
+
+FUNCTION {mid.sentence.q}
+{
+ separator empty = separator block = separator period = or or not
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ {series field.or.null}
+ { mid.sentence.q
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { add.period$ " In " * series quote * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition.output}
+{ edition empty$
+ { }
+ { comma edition
+ mid.sentence.q { "l" } { "t" } if$
+ change.case$ " ed." *
+ plain.space.output
+ }
+ if$
+}
+
+FUNCTION {format.publisher.address}
+{
+ address empty$
+ {comma publisher plain.comma output}
+ {publisher empty$
+ {}
+ {comma address plain colon output
+ colon publisher plain.comma output}
+ if$}
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 'temp :=
+ #0 'multiresult :=
+ { multiresult not
+ temp empty$ not
+ and
+ }
+ { temp #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { temp #2 global.max$ substring$ 'temp := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pp.~" pages n.dashify * }
+ { "p.~" pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.month.year}
+ {
+ space month plain.space.output
+ space year plain.comma "year" output.check
+ }
+
+FUNCTION {output.vol.num.pages}
+{ space volume italic space output
+ number empty$
+ {}
+ { space "(" number * ")" * plain.comma output.nonnull
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ {}
+ if$
+ }
+ if$
+% "*** a" warning$
+ comma 'next.separator := % hack
+ pages empty$
+ {}
+ { number empty$ volume empty$ and
+ { comma format.pages plain.space.output }
+ { comma pages n.dashify plain.space.output }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ {}
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.in.ed.booktitle}
+{ booktitle "booktitle" item.check
+ comma "in" plain.space output.nonnull
+ editor empty$
+ { space booktitle quoted space output.nonnull}
+ { space format.editors.notkey plain.space output.nonnull
+ comma booktitle italic comma output.nonnull
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ {}
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ {}
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "in {\it " journal * "\/} \cite{" * crossref * "}" *}
+ if$
+ }
+ { add.period$ "In \citeasnoun{" crossref * "}" * }
+ if$
+
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "in "
+ }
+ { "Vol." volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\it " * series * "\/} \cite{" * crossref * "}" *}
+ if$
+ }
+ { " \citeasnoun{" * crossref * "}" * }
+ if$
+ }
+ { " \citeasnoun{" * crossref * "}" * }
+ if$
+}
+
+FUNCTION {output.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ }
+ { period "In {\it " booktitle * "\/}" * " \cite{" * crossref * "}" * plain.space output.nonnull}
+ if$
+ }
+ { period "In \citeasnoun{" crossref * "}" * plain.space output.nonnull}
+ if$
+ }
+ { period "In \citeasnoun{" crossref * "}" * plain.space output.nonnull}
+ if$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+INTEGERS { author.field editor.field organization.field title.field key.field }
+
+FUNCTION {init.field.constants}
+{ #0 'author.field :=
+ #1 'editor.field :=
+ #2 'organization.field :=
+ #3 'title.field :=
+ #4 'key.field :=
+}
+
+FUNCTION {format.lab.names.abbr}
+{ 'name.list :=
+ name.list num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #2 >
+ { name.list #1 "{vv~}{ll}" format.name$ " et al." * }
+ { name.list #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { name.list #1 "{vv~}{ll}" format.name$ " et al." * }
+ { name.list #1 "{vv~}{ll}" format.name$ " and " *
+ name.list #2 "{vv~}{ll}" format.name$ *
+ }
+ if$
+ }
+ if$
+ field.used editor.field = {", eds" *} {} if$
+ }
+ {
+ name.list #1 "{vv~}{ll}" format.name$
+ field.used editor.field = {", ed" *} {} if$
+ }
+ if$
+}
+
+FUNCTION {format.lab.names.full}
+{ 'name.list :=
+ #1 'nameptr :=
+ name.list num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { name.list nameptr "{vv~}{ll}" format.name$ 'temp :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * temp * }
+ { temp "others" =
+ { " et~al." * }
+ { " and " * temp * }
+ if$
+ }
+ if$
+ }
+ 'temp
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #1 > field.used editor.field = and {", eds" *} {} if$
+ numnames #1 = field.used editor.field = and {", ed" *} {} if$
+}
+
+STRINGS { prev.author }
+
+FUNCTION {make.list.label}
+{author.field field.used =
+ { prev.author author compare.names format.authors
+ author 'prev.author :=}
+ { editor.field field.used =
+ { prev.author editor compare.names format.editors
+ editor 'prev.author := }
+ { organization.field field.used =
+ { "The " #4 organization chop.word
+ duplicate$ prev.author = {pop$ "\bysame{}"}
+ {duplicate$ 'prev.author :=} if$}
+ { "foo" 'prev.author :=
+ title.field field.used =
+ { format.btitle }
+ { key.field field.used =
+ { key #3 text.prefix$ }
+ { "Internal error :001 on " cite$ * " label" * warning$ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {make.full.label}
+{ author.field field.used =
+ { author format.lab.names.full }
+ { editor.field field.used =
+ { editor format.lab.names.full }
+ { organization.field field.used =
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ { title.field field.used =
+ { format.btitle }
+ { key.field field.used =
+ { key #3 text.prefix$ }
+ { "Internal error :001 on " cite$ * " label" * warning$ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {make.abbr.label}
+{ author.field field.used =
+ { author format.lab.names.abbr }
+ { editor.field field.used =
+ { editor format.lab.names.abbr }
+ { organization.field field.used =
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ { title.field field.used =
+ { format.btitle }
+ { key.field field.used =
+ { key #3 text.prefix$ }
+ { "Internal error :001 on " cite$ * " label" * warning$ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\harvarditem[" write$
+ make.abbr.label write$
+ "]{" write$
+ make.full.label write$
+ "}{" write$
+ list.year write$
+ "}{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ empty 'separator :=
+ plain 'attribute :=
+% }
+%
+% FUNCTION {list.label.output}
+% {
+ space make.list.label bold comma output.nonnull
+ }
+
+FUNCTION {author.item.check} {author "author" item.check}
+
+FUNCTION {format.title.if.not.sortkey.check}
+{title.field field.used =
+ {}
+ { format.title "title" output.check }
+ if$}
+
+FUNCTION {article}
+{ output.bibitem
+ author.item.check
+ format.title.if.not.sortkey.check
+ crossref missing$
+ { space journal italic comma "journal" output.check
+ output.month.year
+ output.vol.num.pages
+ }
+ { space format.article.crossref plain.space output.nonnull
+ comma format.pages plain.space.output
+ }
+ if$
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { editor "author and editor" item.check }
+ { crossref missing$
+ { "author and editor" editor either.or.check }
+ {}
+ if$
+ }
+ if$
+ title.field field.used =
+ {}
+ { space title italic space "title" output.check }
+ if$
+ crossref missing$
+ {
+ space format.number.series plain.space.output
+ format.edition.output
+ format.bvolume.output
+ format.publisher.address
+ output.month.year
+ }
+ { space format.book.crossref plain.space output.nonnull
+ format.edition.output
+ }
+ if$
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.title.if.not.sortkey.check
+ space howpublished plain.space.output
+ space address plain.space.output
+ output.month.year
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { editor "author and editor" item.check }
+ { crossref missing$
+ { "author and editor" editor either.or.check }
+ {}
+ if$
+ }
+ if$
+ title.field field.used =
+ {}
+ { space title italic space "title" output.check }
+ if$
+ crossref missing$
+ { space format.number.series plain.space.output
+ format.edition.output
+ comma format.bvolume plain.comma output
+ format.publisher.address
+ output.month.year
+ }
+ { space format.book.crossref plain.space output.nonnull
+ format.edition.output
+ }
+ if$
+ format.chapter.pages "chapter and pages" output.check
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.title.if.not.sortkey.check
+ author.item.check
+ crossref missing$
+ { output.in.ed.booktitle
+ format.edition.output
+ format.bvolume.output
+ space format.number.series plain.space.output
+ format.publisher.address
+ output.month.year
+ }
+ { output.incoll.inproc.crossref }
+ if$
+ space format.chapter.pages plain.space.output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.title.if.not.sortkey.check
+ author.item.check
+ crossref missing$
+ { output.in.ed.booktitle
+ format.bvolume.output
+ space format.number.series plain.space.output
+ address empty$
+ { space organization plain.space.output
+ space publisher plain.space.output
+ }
+ { space organization plain.space.output
+ space publisher plain.space.output
+ space address plain.space output.nonnull
+ }
+ if$
+ output.month.year
+ }
+ { output.incoll.inproc.crossref}
+ if$
+ space format.pages plain.space.output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ title.field field.used =
+ {}
+ {author empty$ {comma}{space} if$ title italic space "title" output.check }
+ if$
+ organization.field field.used = organization empty$ or
+ {} {space organization plain.space output.nonnull} if$
+ format.edition.output
+ format.publisher.address
+ output.month.year
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ author.item.check
+ format.title.if.not.sortkey.check
+ space "Master's thesis" format.thesis.type plain.space output.nonnull
+ comma school plain.space "school" output.check
+ comma address plain.space.output
+ output.month.year
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.title.if.not.sortkey.check
+ space howpublished plain.space.output
+ output.month.year
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ author.item.check
+ title.field field.used =
+ {}
+ { space title quoted period "title" output.check }
+ if$
+ space "PhD dissertation" format.thesis.type plain.space output.nonnull
+ comma school plain.space "school" output.check
+ comma address plain.space.output
+ output.month.year
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ title.field field.used =
+ {}
+ { space title italic space "title" output.check }
+ if$
+ format.bvolume.output
+ space format.number.series plain.space.output
+ address empty$
+ { editor empty$
+ {}
+ { space organization plain.space.output
+ }
+ if$
+ space publisher plain.space.output
+ }
+ { editor empty$
+ {}
+ { space organization plain.space.output }
+ if$
+ space publisher plain.space.output
+ space address plain.space output.nonnull
+ }
+ if$
+ output.month.year
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ author.item.check
+ format.title.if.not.sortkey.check
+ space format.tr.number plain.space output.nonnull
+ institution empty$
+ {}
+ { comma institution plain.space "institution" output.check }
+ if$
+ comma address plain.space.output
+ output.month.year
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ author.item.check
+ format.title.if.not.sortkey.check
+ output.month.year
+ note "note" item.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+READ
+
+EXECUTE {init.field.constants}
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { title empty$
+ { key.field 'field.used := }
+ { title.field 'field.used := }
+ if$
+ }
+ { editor.field 'field.used := }
+ if$
+ }
+ { author.field 'field.used := }
+ if$
+}
+
+FUNCTION {key.organization.label}
+ {organization empty$
+ { title empty$
+ { key.field 'field.used := }
+ { title.field 'field.used := }
+ if$
+ }
+ { organization.field 'field.used := }
+ if$}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key.organization.label}
+ { author.field 'field.used := }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key.organization.label}
+ { editor.field 'field.used := }
+ if$
+}
+
+FUNCTION {sort.format.title}
+{ 'temp :=
+ "A " #2
+ "An " #3
+ "The " #4 temp chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.editor.key.label % don't really use .editor.
+ if$
+ }
+ if$
+ }
+ if$
+ make.abbr.label
+ title.field field.used =
+ { sort.format.title }
+ { sortify }
+ if$
+ year field.or.null purify$ #-1 #4 substring$ sortify
+ *
+ 'sort.label :=
+}
+
+FUNCTION {first.presort}
+{ "abcxyz" 'prev.author :=
+ calc.label
+ sort.label
+ title.field field.used =
+ {}
+ { " "
+ *
+ make.list.label sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+
+ITERATE {first.presort}
+
+SORT
+
+STRINGS { last.sort.label next.extra }
+
+INTEGERS { last.extra.num }
+
+FUNCTION {initialize.last.extra.num}
+{ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ {}
+ if$
+ year empty$
+ { "n.d." extra.label * 'list.year := }
+ { year extra.label * 'list.year := }
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.last.extra.num}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {second.presort}
+{ "abcxyz" 'prev.author :=
+ make.list.label
+ title.field field.used =
+ { sort.format.title }
+ { sortify }
+ if$
+ " "
+ *
+ list.year field.or.null sortify
+ *
+ " "
+ *
+ title.field field.used =
+ {}
+ { title field.or.null
+ sort.format.title
+ *
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {second.presort}
+
+SORT
+
+
+INTEGERS { number.label }
+
+FUNCTION {initialize.longest.label}
+{
+ #1 'number.label :=
+ "abcxyz" 'prev.author :=
+}
+
+FUNCTION {longest.label.pass}
+{
+ "" 'extra.label :=
+ author empty$ { editor empty$ {"foo"} {editor} if$}
+ {author}
+ if$
+ 'f :=
+% remember this entry to compare to the next one
+ author empty$ { editor empty$ {"abcxyz"} {editor} if$} {author} if$
+ 'prev.author :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ {}
+ { preamble$ write$ newline$ }
+ if$
+ "\ifx\undefined\bysame" write$ newline$
+ "\newcommand{\bysame}{\leavevmode\hbox to\leftmargin{\hrulefill\,\,}}"
+ write$ newline$
+ "\fi" write$ newline$
+ "\begin{thebibliography}{xx}" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+FUNCTION {init.call}
+ { "abcxyz" 'prev.author := }
+
+EXECUTE {init.call}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+ {newline$ "\end{thebibliography}" write$ newline$ }
+
+EXECUTE {end.bib}
+
diff --git a/biblio/bibtex/contrib/economic/aer.sty b/biblio/bibtex/contrib/economic/aer.sty
new file mode 100644
index 0000000000..52cefdc2ec
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/aer.sty
@@ -0,0 +1,20 @@
+\message{Document style option `aer.sty' (29 May 1993) for LaTeX 2.09.}
+\textwidth=28pc
+\textheight=46pc
+
+\def\bysame{\leavevmode\hbox to\leftmargin{\leaders\hrule height 3pt depth -2.5pt\hfill\,\,}}
+
+\def\thebibliography#1{\section*{\refname\@mkboth
+ {\uppercase{\refname}}{\uppercase{\refname}}}\list
+ {\@biblabel{\arabic{enumiv}}}{\labelwidth=12pt
+ \labelsep=0pt
+ \leftmargin\labelwidth
+ \advance\leftmargin\labelsep
+ \itemsep=0pt\parsep=0pt
+ \usecounter{enumiv}%
+ \let\p@enumiv\@empty
+ \def\theenumiv{\arabic{enumiv}}}%
+ \def\newblock{\hskip .11em plus.33em minus.07em}%
+ \sloppy\clubpenalty4000\widowpenalty4000
+ \raggedright
+ \sfcode`\.=1000\relax}
diff --git a/biblio/bibtex/contrib/economic/aertt.bst b/biblio/bibtex/contrib/economic/aertt.bst
new file mode 100644
index 0000000000..d1207adc30
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/aertt.bst
@@ -0,0 +1,1221 @@
+% BibTeX bibliography style `aertt'
+% this file is based on the `harvard' family of files
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1991, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, abbrv.bst, agsm.bst,
+ % dcu.bst, cje.bst, aer.bst, or kluwer.bst.
+ % This restriction helps ensure that all standard styles are identical.
+
+% ACKNOWLEDGEMENT:
+% This document is a modified version of alpha.bst to which it owes much of
+% its functionality.
+
+% AUTHOR
+% Peter Williams, Key Centre for Design Quality, Sydney University
+% e-mail: peterw@archsci.arch.su.oz.au
+
+ENTRY
+ { address author booktitle chapter edition editor howpublished institution
+ journal key month note number organization pages publisher school
+ series title type volume year}
+ { field.used }
+ { label.touse extra.label sort.label list.year }
+
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ {}
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ {}
+ if$
+}
+
+INTEGERS {quoted italic bold plain attribute
+ space comma tiedcomma semicolon colon period block empty separator
+ prev.separator next.separator next.attribute}
+
+STRINGS { s temp f name.list first.name.format later.name.formats name.style}
+
+FUNCTION {init.state.consts}
+{
+ #100 'quoted :=
+ #200 'italic :=
+ #300 'bold :=
+ #400 'plain :=
+
+ #7 'space :=
+ #6 'comma :=
+% #5 'tiedcomma :=
+% #4 'semicolon :=
+ #3 'colon :=
+ #2 'period :=
+ #1 'block :=
+ #0 'empty :=
+}
+
+FUNCTION {output2}
+{
+% Wrap the attribute.
+ attribute bold = {"{\bf " swap$ * "}" *} {} if$
+ attribute italic = {"\uline{" swap$ * "}" *} {} if$
+ attribute quoted = {"``" swap$ * "''" *} {} if$
+% Append additional separators
+ separator comma = {"," * space 'separator :=} {} if$
+% separator tiedcomma = {",~" * empty 'separator :=} {} if$
+ separator space = {" " *} {} if$
+ write$
+ separator block = {newline$ "\newblock " write$} {} if$
+% Update variables, and put the new string back on the stack
+ next.attribute 'attribute :=
+ next.separator 'separator :=
+ temp
+}
+
+% <string> <separator> <string> <attribute> <final separator> output <string>
+FUNCTION {output.nonnull}
+{ 'next.separator :=
+ 'next.attribute :=
+ 'temp :=
+ 'prev.separator :=
+% If the new separator is stronger than the previous one, use it.
+ prev.separator separator < {prev.separator 'separator :=} {} if$
+% Append most separators to the string.
+ separator block = {add.period$} {} if$
+ separator period = {add.period$ space 'separator :=} {} if$
+% separator semicolon = {";" * space 'separator :=} {} if$
+ separator colon = {":" * space 'separator :=} {} if$
+ separator comma = attribute quoted = and
+ {"," * space 'separator :=} {} if$
+ output2
+}
+
+FUNCTION {output}
+{ 'next.separator :=
+ 'next.attribute :=
+ duplicate$ empty$
+ {pop$ pop$}
+ {next.attribute next.separator output.nonnull}
+ if$
+}
+
+FUNCTION {output.check}
+{ 's :=
+ 'next.separator :=
+ 'next.attribute :=
+ duplicate$ empty$
+ {pop$ pop$ "empty " s * " in " * cite$ * warning$ }
+ {next.attribute next.separator output.nonnull}
+ if$
+}
+
+FUNCTION {item.check}
+{ 'temp :=
+ empty$
+ { "empty " temp * " in " * cite$ * warning$ }
+ {}
+ if$
+}
+
+FUNCTION {plain.space} { plain space }
+
+FUNCTION {plain.space.output} { plain.space output }
+
+FUNCTION {plain.comma} { plain comma }
+
+FUNCTION {fin.entry}
+{
+ block note plain.space.output
+ period "" plain empty output.nonnull pop$
+ newline$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ {}
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {quote}
+{ duplicate$ empty$
+ { pop$ "" }
+ { add.period$ "`" swap$ * "'" * }
+ if$
+}
+
+
+% <prev name list> <new name list> compare.names <modified name list>
+INTEGERS {len1 len2 i}
+FUNCTION {compare.names}
+{ 's :=
+ 'temp :=
+ temp num.names$ 'len1 :=
+ s num.names$ 'len2 :=
+% len1 := min(len1,len2)
+ len1 len2 > {len2 'len1 :=} {} if$
+% start with an empty string, then while the components are the same
+% add "\bysame"
+ ""
+ #1 'i :=
+ {i len1 > not}
+ { temp i "{ff }{vv }{ll}{ jj}" format.name$
+% duplicate$ i int.to.str$ * warning$
+ s i "{ff }{vv }{ll}{ jj}" format.name$
+% duplicate$ i int.to.str$ * warning$
+ =
+ { #1 i < {" and " *} {} if$
+ "\bysame{}" * i #1 + 'i :=}
+ {#-1 'len1 :=}
+ if$
+ }
+ while$
+% add the rest of the second string
+ {i len2 > not}
+ { #1 i < {" and " *} {} if$
+ s i "{ff }{vv }{ll}{ jj}" format.name$ *
+ i #1 + 'i :=
+ }
+ while$
+% duplicate$ warning$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 'name.list :=
+ 'name.style :=
+ 'later.name.formats :=
+ 's := % binary separator
+ 'first.name.format :=
+ #1 'nameptr :=
+ name.list num.names$ 'numnames :=
+% If we're to make this entry bold or something, prepend to the string of names
+ name.style "" = {} {"{" name.style *} if$
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { name.list nameptr nameptr #1 = {first.name.format} {later.name.formats} if$
+ format.name$ 'temp :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * temp * }
+ { temp "others" =
+ { " et~al." * }
+ {nameptr #2 = % handle ", and" vs " and "
+ {s * temp *}
+ {", and " * temp * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ 'temp
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+% If we're to make this entry bold or something, append to the string of names
+ name.style "" = {} {"}" * *} if$
+}
+
+FUNCTION {format.authors}
+{ 'temp :=
+ "{vv~}{ll}{, jj}{, ff}" " and " "{ff~}{vv~}{ll}{, jj}" "" temp
+ format.names
+}
+
+FUNCTION {format.editors}
+{ 'temp :=
+ "{vv~}{ll}{, jj}{, ff}" " and " "{ff~}{vv~}{ll}{, jj}" ""
+ temp format.names
+ editor num.names$ #1 >
+ { ", eds" * }
+ { ", ed." * }
+ if$
+}
+
+FUNCTION {format.editors.notkey}
+{ editor empty$
+ { "" }
+ { "{ff~}{vv~}{ll}{, jj}" " and " "{ff~}{vv~}{ll}{, jj}" ""
+ editor format.names
+ editor num.names$ #1 > {", eds."} {", ed."} if$
+ *
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ space title quoted comma }
+
+FUNCTION {n.dashify}
+{ 'temp :=
+ ""
+ { temp empty$ not }
+ { temp #1 #1 substring$ "-" =
+ { temp #1 #2 substring$ "--" = not
+ { "--" *
+ temp #2 global.max$ substring$ 'temp :=
+ }
+ { { temp #1 #1 substring$ "-" = }
+ { "-" *
+ temp #2 global.max$ substring$ 'temp :=
+ }
+ while$
+ }
+ if$
+ }
+ { temp #1 #1 substring$ *
+ temp #2 global.max$ substring$ 'temp :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "Vol." volume tie.or.space.connect
+ series empty$
+ {}
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.bvolume.output}
+ {comma format.bvolume plain.space.output}
+
+FUNCTION {mid.sentence.q}
+{
+ separator empty = separator block = separator period = or or not
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ {series field.or.null}
+ { mid.sentence.q
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { add.period$ " In " * series quote * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition.output}
+{ edition empty$
+ { }
+ { comma edition
+ mid.sentence.q { "l" } { "t" } if$
+ change.case$ " ed." *
+ plain.space.output
+ }
+ if$
+}
+
+FUNCTION {format.publisher.address}
+{
+ address empty$
+ {comma publisher plain.comma output}
+ {publisher empty$
+ {}
+ {comma address plain colon output
+ colon publisher plain.comma output}
+ if$}
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 'temp :=
+ #0 'multiresult :=
+ { multiresult not
+ temp empty$ not
+ and
+ }
+ { temp #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { temp #2 global.max$ substring$ 'temp := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pp.~" pages n.dashify * }
+ { "p.~" pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.month.year}
+ {
+ space month plain.space.output
+ space year plain.comma "year" output.check
+ }
+
+FUNCTION {output.vol.num.pages}
+{ space volume italic space output
+ number empty$
+ {}
+ { space "(" number * ")" * plain.comma output.nonnull
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ {}
+ if$
+ }
+ if$
+% "*** a" warning$
+ comma 'next.separator := % hack
+ pages empty$
+ {}
+ { number empty$ volume empty$ and
+ { comma format.pages plain.space.output }
+ { comma pages n.dashify plain.space.output }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ {}
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.in.ed.booktitle}
+{ booktitle "booktitle" item.check
+ comma "in" plain.space output.nonnull
+ editor empty$
+ { space booktitle quoted space output.nonnull}
+ { space format.editors.notkey plain.space output.nonnull
+ comma booktitle italic comma output.nonnull
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ {}
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ {}
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "in {\it " journal * "\/} \cite{" * crossref * "}" *}
+ if$
+ }
+ { add.period$ "In \citeasnoun{" crossref * "}" * }
+ if$
+
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "in "
+ }
+ { "Vol." volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\it " * series * "\/} \cite{" * crossref * "}" *}
+ if$
+ }
+ { " \citeasnoun{" * crossref * "}" * }
+ if$
+ }
+ { " \citeasnoun{" * crossref * "}" * }
+ if$
+}
+
+FUNCTION {output.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ }
+ { period "In {\it " booktitle * "\/}" * " \cite{" * crossref * "}" * plain.space output.nonnull}
+ if$
+ }
+ { period "In \citeasnoun{" crossref * "}" * plain.space output.nonnull}
+ if$
+ }
+ { period "In \citeasnoun{" crossref * "}" * plain.space output.nonnull}
+ if$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+INTEGERS { author.field editor.field organization.field title.field key.field }
+
+FUNCTION {init.field.constants}
+{ #0 'author.field :=
+ #1 'editor.field :=
+ #2 'organization.field :=
+ #3 'title.field :=
+ #4 'key.field :=
+}
+
+FUNCTION {format.lab.names.abbr}
+{ 'name.list :=
+ name.list num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #2 >
+ { name.list #1 "{vv~}{ll}" format.name$ " et al." * }
+ { name.list #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { name.list #1 "{vv~}{ll}" format.name$ " et al." * }
+ { name.list #1 "{vv~}{ll}" format.name$ " and " *
+ name.list #2 "{vv~}{ll}" format.name$ *
+ }
+ if$
+ }
+ if$
+ field.used editor.field = {", eds" *} {} if$
+ }
+ {
+ name.list #1 "{vv~}{ll}" format.name$
+ field.used editor.field = {", ed" *} {} if$
+ }
+ if$
+}
+
+FUNCTION {format.lab.names.full}
+{ 'name.list :=
+ #1 'nameptr :=
+ name.list num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { name.list nameptr "{vv~}{ll}" format.name$ 'temp :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * temp * }
+ { temp "others" =
+ { " et~al." * }
+ { " and " * temp * }
+ if$
+ }
+ if$
+ }
+ 'temp
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #1 > field.used editor.field = and {", eds" *} {} if$
+ numnames #1 = field.used editor.field = and {", ed" *} {} if$
+}
+
+STRINGS { prev.author }
+
+FUNCTION {make.list.label}
+{author.field field.used =
+ { prev.author author compare.names format.authors
+ author 'prev.author :=}
+ { editor.field field.used =
+ { prev.author editor compare.names format.editors
+ editor 'prev.author := }
+ { organization.field field.used =
+ { "The " #4 organization chop.word
+ duplicate$ prev.author = {pop$ "\bysame{}"}
+ {duplicate$ 'prev.author :=} if$}
+ { "foo" 'prev.author :=
+ title.field field.used =
+ { format.btitle }
+ { key.field field.used =
+ { key #3 text.prefix$ }
+ { "Internal error :001 on " cite$ * " label" * warning$ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {make.full.label}
+{ author.field field.used =
+ { author format.lab.names.full }
+ { editor.field field.used =
+ { editor format.lab.names.full }
+ { organization.field field.used =
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ { title.field field.used =
+ { format.btitle }
+ { key.field field.used =
+ { key #3 text.prefix$ }
+ { "Internal error :001 on " cite$ * " label" * warning$ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {make.abbr.label}
+{ author.field field.used =
+ { author format.lab.names.abbr }
+ { editor.field field.used =
+ { editor format.lab.names.abbr }
+ { organization.field field.used =
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ { title.field field.used =
+ { format.btitle }
+ { key.field field.used =
+ { key #3 text.prefix$ }
+ { "Internal error :001 on " cite$ * " label" * warning$ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\harvarditem[" write$
+ make.abbr.label write$
+ "]{" write$
+ make.full.label write$
+ "}{" write$
+ list.year write$
+ "}{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ empty 'separator :=
+ plain 'attribute :=
+% }
+%
+% FUNCTION {list.label.output}
+% {
+ space make.list.label plain comma output.nonnull
+ }
+
+FUNCTION {author.item.check} {author "author" item.check}
+
+FUNCTION {format.title.if.not.sortkey.check}
+{title.field field.used =
+ {}
+ { format.title "title" output.check }
+ if$}
+
+FUNCTION {article}
+{ output.bibitem
+ author.item.check
+ format.title.if.not.sortkey.check
+ crossref missing$
+ { space journal italic comma "journal" output.check
+ output.month.year
+ output.vol.num.pages
+ }
+ { space format.article.crossref plain.space output.nonnull
+ comma format.pages plain.space.output
+ }
+ if$
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { editor "author and editor" item.check }
+ { crossref missing$
+ { "author and editor" editor either.or.check }
+ {}
+ if$
+ }
+ if$
+ title.field field.used =
+ {}
+ { space title italic space "title" output.check }
+ if$
+ crossref missing$
+ {
+ space format.number.series plain.space.output
+ format.edition.output
+ format.bvolume.output
+ format.publisher.address
+ output.month.year
+ }
+ { space format.book.crossref plain.space output.nonnull
+ format.edition.output
+ }
+ if$
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.title.if.not.sortkey.check
+ space howpublished plain.space.output
+ space address plain.space.output
+ output.month.year
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { editor "author and editor" item.check }
+ { crossref missing$
+ { "author and editor" editor either.or.check }
+ {}
+ if$
+ }
+ if$
+ title.field field.used =
+ {}
+ { space title italic space "title" output.check }
+ if$
+ crossref missing$
+ { space format.number.series plain.space.output
+ format.edition.output
+ comma format.bvolume plain.comma output
+ format.publisher.address
+ output.month.year
+ }
+ { space format.book.crossref plain.space output.nonnull
+ format.edition.output
+ }
+ if$
+ format.chapter.pages "chapter and pages" output.check
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.title.if.not.sortkey.check
+ author.item.check
+ crossref missing$
+ { output.in.ed.booktitle
+ format.edition.output
+ format.bvolume.output
+ space format.number.series plain.space.output
+ format.publisher.address
+ output.month.year
+ }
+ { output.incoll.inproc.crossref }
+ if$
+ space format.chapter.pages plain.space.output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.title.if.not.sortkey.check
+ author.item.check
+ crossref missing$
+ { output.in.ed.booktitle
+ format.bvolume.output
+ space format.number.series plain.space.output
+ address empty$
+ { space organization plain.space.output
+ space publisher plain.space.output
+ }
+ { space organization plain.space.output
+ space publisher plain.space.output
+ space address plain.space output.nonnull
+ }
+ if$
+ output.month.year
+ }
+ { output.incoll.inproc.crossref}
+ if$
+ space format.pages plain.space.output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ title.field field.used =
+ {}
+ {author empty$ {comma}{space} if$ title italic space "title" output.check }
+ if$
+ organization.field field.used = organization empty$ or
+ {} {space organization plain.space output.nonnull} if$
+ format.edition.output
+ format.publisher.address
+ output.month.year
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ author.item.check
+ format.title.if.not.sortkey.check
+ space "Master's thesis" format.thesis.type plain.space output.nonnull
+ comma school plain.space "school" output.check
+ comma address plain.space.output
+ output.month.year
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.title.if.not.sortkey.check
+ space howpublished plain.space.output
+ output.month.year
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ author.item.check
+ title.field field.used =
+ {}
+ { space title quoted period "title" output.check }
+ if$
+ space "PhD dissertation" format.thesis.type plain.space output.nonnull
+ comma school plain.space "school" output.check
+ comma address plain.space.output
+ output.month.year
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ title.field field.used =
+ {}
+ { space title italic space "title" output.check }
+ if$
+ format.bvolume.output
+ space format.number.series plain.space.output
+ address empty$
+ { editor empty$
+ {}
+ { space organization plain.space.output
+ }
+ if$
+ space publisher plain.space.output
+ }
+ { editor empty$
+ {}
+ { space organization plain.space.output }
+ if$
+ space publisher plain.space.output
+ space address plain.space output.nonnull
+ }
+ if$
+ output.month.year
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ author.item.check
+ format.title.if.not.sortkey.check
+ space format.tr.number plain.space output.nonnull
+ institution empty$
+ {}
+ { comma institution plain.space "institution" output.check }
+ if$
+ comma address plain.space.output
+ output.month.year
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ author.item.check
+ format.title.if.not.sortkey.check
+ output.month.year
+ note "note" item.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+READ
+
+EXECUTE {init.field.constants}
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { title empty$
+ { key.field 'field.used := }
+ { title.field 'field.used := }
+ if$
+ }
+ { editor.field 'field.used := }
+ if$
+ }
+ { author.field 'field.used := }
+ if$
+}
+
+FUNCTION {key.organization.label}
+ {organization empty$
+ { title empty$
+ { key.field 'field.used := }
+ { title.field 'field.used := }
+ if$
+ }
+ { organization.field 'field.used := }
+ if$}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key.organization.label}
+ { author.field 'field.used := }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key.organization.label}
+ { editor.field 'field.used := }
+ if$
+}
+
+FUNCTION {sort.format.title}
+{ 'temp :=
+ "A " #2
+ "An " #3
+ "The " #4 temp chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.editor.key.label % don't really use .editor.
+ if$
+ }
+ if$
+ }
+ if$
+ make.abbr.label
+ title.field field.used =
+ { sort.format.title }
+ { sortify }
+ if$
+ year field.or.null purify$ #-1 #4 substring$ sortify
+ *
+ 'sort.label :=
+}
+
+FUNCTION {first.presort}
+{ "abcxyz" 'prev.author :=
+ calc.label
+ sort.label
+ title.field field.used =
+ {}
+ { " "
+ *
+ make.list.label sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+
+ITERATE {first.presort}
+
+SORT
+
+STRINGS { last.sort.label next.extra }
+
+INTEGERS { last.extra.num }
+
+FUNCTION {initialize.last.extra.num}
+{ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ {}
+ if$
+ year empty$
+ { "n.d." extra.label * 'list.year := }
+ { year extra.label * 'list.year := }
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.last.extra.num}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {second.presort}
+{ "abcxyz" 'prev.author :=
+ make.list.label
+ title.field field.used =
+ { sort.format.title }
+ { sortify }
+ if$
+ " "
+ *
+ list.year field.or.null sortify
+ *
+ " "
+ *
+ title.field field.used =
+ {}
+ { title field.or.null
+ sort.format.title
+ *
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {second.presort}
+
+SORT
+
+
+INTEGERS { number.label }
+
+FUNCTION {initialize.longest.label}
+{
+ #1 'number.label :=
+ "abcxyz" 'prev.author :=
+}
+
+FUNCTION {longest.label.pass}
+{
+ "" 'extra.label :=
+ author empty$ { editor empty$ {"foo"} {editor} if$}
+ {author}
+ if$
+ 'f :=
+% remember this entry to compare to the next one
+ author empty$ { editor empty$ {"abcxyz"} {editor} if$} {author} if$
+ 'prev.author :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ {}
+ { preamble$ write$ newline$ }
+ if$
+ "\ifx\undefined\bysame" write$ newline$
+ "\newcommand{\bysame}{\leavevmode\hbox to\leftmargin{\hrulefill\,\,}}"
+ write$ newline$
+ "\fi" write$ newline$
+ "\begin{thebibliography}{xx}" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+FUNCTION {init.call}
+ { "abcxyz" 'prev.author := }
+
+EXECUTE {init.call}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+ {newline$ "\end{thebibliography}" write$ newline$ }
+
+EXECUTE {end.bib}
+
diff --git a/biblio/bibtex/contrib/economic/aertt.sty b/biblio/bibtex/contrib/economic/aertt.sty
new file mode 100644
index 0000000000..15630925c3
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/aertt.sty
@@ -0,0 +1,23 @@
+\message{Document style option `aertt.sty' (29 May 1993) for LaTeX 2.09.}
+\textwidth=28pc
+\textheight=46pc
+
+\RequirePackage{ulem}
+
+\def\bysame{\leavevmode\uline{\hskip\leftmargin}\,\,}
+
+\def\thebibliography#1{\section*{\refname\@mkboth
+ {\uppercase{\refname}}{\uppercase{\refname}}}\list
+ {\@biblabel{\arabic{enumiv}}}{\labelwidth=12pt
+ \labelsep=0pt
+ \leftmargin\labelwidth
+ \advance\leftmargin\labelsep
+ \itemsep=0pt\parsep=0pt
+ \usecounter{enumiv}%
+ \let\p@enumiv\@empty
+ \def\theenumiv{\arabic{enumiv}}}%
+ \def\newblock{\hskip .11em plus.33em minus.07em}%
+ \sloppy\clubpenalty4000\widowpenalty4000
+ \raggedright
+ \sfcode`\.=1000\relax}
+
diff --git a/biblio/bibtex/contrib/economic/agecon.bst b/biblio/bibtex/contrib/economic/agecon.bst
new file mode 100644
index 0000000000..d03010268f
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/agecon.bst
@@ -0,0 +1,1524 @@
+%%% journal "Agricultural Economics" (AgEcon)
+%%% bibliography style for use with LaTeX2e
+%%% version: 1.0 (04 January 2008)
+%%% license: LaTeX Project Public License (see below)
+%%% This file was created with makebst (see below) and modified
+%%% by Arne Henningsen.
+%%% Note: This is an unofficial style file that may not fully comply
+%%% with the AgEcon reference guidelines in every detail.
+%%% Please report any problems at
+%%% http://sourceforge.net/projects/economtex/
+%%% Further information is available at
+%%% http://economtex.wiki.sourceforge.net/
+%%%
+%%% This BibTeX style should be used with the corresponding
+%%% LaTeX class "agecon" (agecon.cls).
+%%% Otherwise, the following line has to be added to the LaTeX preamble:
+%%% \usepackage[authoryear]{natbib}
+%%%
+%%
+%%
+%% This is file `agecon.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `ay,nat,nm-rev,ed-rev,jnrlst,keyxyr,dt-beg,yr-com,yrp-per,note-yr,jttl-rm,thtit-a,volp-com,num-xser,ser-vol,jnm-x,btit-rm,bt-rm,edpar,bkedcap,blk-tit,in-col,pp,ed,ord,jabr,and-com,and-com-ed,xand,nfss,')
+%% ----------------------------------------
+%% *** agecon ***
+%%
+%% Copyright 1994-2004 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2004/02/09 4.13 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is natbib.sty by Patrick W. Daly
+ % The form of the \bibitem entries is
+ % \bibitem[Jones et al.(1990)]{key}...
+ % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
+ % The essential feature is that the label (the part in brackets) consists
+ % of the author names, as they should appear in the citation, with the year
+ % in parentheses following. There must be no space before the opening
+ % parenthesis!
+ % With natbib v5.3, a full list of authors may also follow the year.
+ % In natbib.sty, it is possible to define the type of enclosures that is
+ % really wanted (brackets or parentheses), but in either case, there must
+ % be parentheses in the label.
+ % The \cite command functions as follows:
+ % \citet{key} ==>> Jones et al. (1990)
+ % \citet*{key} ==>> Jones, Baker, and Smith (1990)
+ % \citep{key} ==>> (Jones et al., 1990)
+ % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
+ % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
+ % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
+ % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
+ % \citeauthor{key} ==>> Jones et al.
+ % \citeauthor*{key} ==>> Jones, Baker, and Smith
+ % \citeyear{key} ==>> 1990
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ eid
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ new.sentence
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds." }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "edition" }
+
+FUNCTION {bbl.volume}
+{ "volume" }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "number" }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "pp." }
+
+FUNCTION {bbl.page}
+{ "p." }
+
+FUNCTION {bbl.chapter}
+{ "chapter" }
+
+FUNCTION {bbl.techrep}
+{ "Technical Report" }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+FUNCTION {bbl.first}
+{ "1st" }
+
+FUNCTION {bbl.second}
+{ "2nd" }
+
+FUNCTION {bbl.third}
+{ "3rd" }
+
+FUNCTION {bbl.fourth}
+{ "4th" }
+
+FUNCTION {bbl.fifth}
+{ "5th" }
+
+FUNCTION {bbl.st}
+{ "st" }
+
+FUNCTION {bbl.nd}
+{ "nd" }
+
+FUNCTION {bbl.rd}
+{ "rd" }
+
+FUNCTION {bbl.th}
+{ "th" }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+FUNCTION {eng.ord}
+{ duplicate$ "1" swap$ *
+ #-2 #1 substring$ "1" =
+ { bbl.th * }
+ { duplicate$ #-1 #1 substring$
+ duplicate$ "1" =
+ { pop$ bbl.st * }
+ { duplicate$ "2" =
+ { pop$ bbl.nd * }
+ { "3" =
+ { bbl.rd * }
+ { bbl.th * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Software Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput. Aid. Des."}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Program."}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Graphic."}
+
+MACRO {toms} {"ACM Trans. Math. Software"}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Progr. Lang. Syst."}
+
+MACRO {tcs} {"Theor. Comput. Sci."}
+
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+STRINGS { bibinfo}
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}{, f.}{, jj}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ "," *
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ { " " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.names.ed}
+{
+ format.names
+}
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author "author" format.names
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ " " *
+ get.bbl.editor
+ capitalize
+ "(" swap$ * ")" *
+ *
+ }
+ if$
+}
+FUNCTION {format.note}
+{
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ duplicate$ empty$ 'skip$
+ { "t" change.case$ }
+ if$
+ "title" bibinfo.check
+}
+FUNCTION {format.full.names}
+{'s :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[{" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "}]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in capitalize
+ ":" *
+ " " * }
+
+FUNCTION {format.date}
+{ year "year" bibinfo.check duplicate$ empty$
+ {
+ "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????"
+ }
+ 'skip$
+ if$
+ extra.label *
+ before.all 'output.state :=
+ ", " swap$ *
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { emphasize ", " * swap$ * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { number "number" bibinfo.check }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+FUNCTION {convert.edition}
+{ extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bbl.first 't := }
+ { s "second" = s "2" = or
+ { bbl.second 't := }
+ { s "third" = s "3" = or
+ { bbl.third 't := }
+ { s "fourth" = s "4" = or
+ { bbl.fourth 't := }
+ { s "fifth" = s "5" = or
+ { bbl.fifth 't := }
+ { s #1 #1 substring$ is.num
+ { s eng.ord 't := }
+ { edition 't := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ t
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ convert.edition
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ bbl.pages swap$
+ n.dashify
+ }
+ {
+ bbl.page swap$
+ }
+ if$
+ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ", " *
+ swap$
+ n.dashify
+ "pages" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.journal.eid}
+{ eid "eid" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$ 'skip$
+ {
+ ", " *
+ }
+ if$
+ swap$ *
+ }
+ if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ "volume" bibinfo.check
+ }
+ if$
+ number "number" bibinfo.check duplicate$ empty$ 'skip$
+ {
+ swap$ duplicate$ empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ swap$
+ "(" swap$ * ")" *
+ }
+ if$ *
+ eid empty$
+ { format.journal.pages }
+ { format.journal.eid }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ {
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ " " *
+ get.bbl.editor
+ capitalize
+ "(" swap$ * "), " *
+ * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ capitalize
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ t empty$
+ { address "address" bibinfo.check *
+ }
+ { t *
+ address empty$
+ 'skip$
+ { ", " * address "address" bibinfo.check * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.sentence
+ crossref missing$
+ {
+ journal
+ "journal" bibinfo.check
+ "journal" output.check
+ add.blank
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.sentence
+ format.number.series output
+ format.publisher.address output
+ }
+ {
+ new.sentence
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.note output
+ fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.sentence
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.sentence
+ format.number.series output
+ format.publisher.address output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ new.sentence
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.sentence
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ format.publisher.address output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.sentence
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ new.sentence
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ format.edition output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ new.sentence
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title output
+ new.sentence
+ howpublished "howpublished" bibinfo.check output
+ format.note output
+ fin.entry
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ new.sentence
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ new.sentence
+ format.tr.number output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ format.note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+READ
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+FUNCTION {format.lab.names}
+{ 's :=
+ "" 't :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$
+ " " * bbl.etal *
+ }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ " " * bbl.etal *
+ }
+ { bbl.and space.word * s #2 "{vv~}{ll}" format.name$
+ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" * }
+ { t sortify * }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+SORT
+STRINGS { last.label next.extra }
+INTEGERS { last.extra.num number.label }
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+EXECUTE {initialize.extra.label.stuff}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+ITERATE {bib.sort.order}
+SORT
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\providecommand{\natexlab}[1]{#1}"
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `agecon.bst'.
diff --git a/biblio/bibtex/contrib/economic/agecon.cls b/biblio/bibtex/contrib/economic/agecon.cls
new file mode 100644
index 0000000000..ebf525d51d
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/agecon.cls
@@ -0,0 +1,207 @@
+%%% LaTeX class for manuscripts submitted to the
+%%% journal 'Agricultural Economics' (AgEcon)
+%%%
+%%% author: Arne Henningsen
+%%% version: 1.1 (18 November 2009)
+%%% license: LaTeX Project Public License
+%%%
+%%% Note: This is an unofficial style file that may not fully comply
+%%% with the AgEcon Formatting Instructions in every detail.
+%%% Please report any problems at
+%%% http://sourceforge.net/projects/economtex/
+%%% Further information is available at
+%%% http://economtex.wiki.sourceforge.net/
+%%%
+%%% This document class is based on the "scrartcl" class
+%%% from the KOMA script bundle.
+%%% Following additional packages are required:
+%%% amsmath, babel, caption, endfloat, geometry,
+%%% lmodern, natbib, setspace, titlesec, url
+%%%
+%%% The class provides following options:
+%%% noendfloat - do not move floats to the end of the paper
+%%% author - show name(s) of authors(s)
+%%% date - show date
+%%% letterpaper - use US letter paper format instead of A4
+%%%
+%%% The AgEcon journal requires that you use double quotes
+%%% you could do this with the ``csquotes'' package:
+%%% \usepackage{csquotes}
+%%% \MakeOuterQuote{<yourQuoteCharacter>}
+%%%
+%%% The corresponding BibTeX style file "agecon.bst" should be used
+%%% for the bibliography: \bibliographystyle{agecon}
+%%%
+%%% This document class provides 3 new commands:
+%%% \keywords can be use to show keywors below the abstract
+%%% \jelclass can be use to show JEL classifications below the abstract
+%%% \affiliation can be used to add affiliation information
+%%%
+
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{agecon}[2009/11/18 LaTeX class for the journal 'Agricultural Economics']
+
+\RequirePackage{ifthen}
+
+% option to NOT place floats at the end
+\newcounter{UseEndfloat}
+\setcounter{UseEndfloat}{1}
+\DeclareOption{noendfloat}{\setcounter{UseEndfloat}{0}}
+
+% option to show the authors' names
+\newcounter{ShowAuthor}
+\setcounter{ShowAuthor}{0}
+\DeclareOption{author}{\setcounter{ShowAuthor}{1}}
+
+% option to print the date
+\newcounter{ShowDate}
+\setcounter{ShowDate}{0}
+\DeclareOption{date}{\setcounter{ShowDate}{1}}
+
+% option use US letter format (instead of A4)
+\newcounter{UseLetterPaper}
+\setcounter{UseLetterPaper}{0}
+\DeclareOption{letterpaper}{\setcounter{UseLetterPaper}{1}}
+
+% pass any options on to the scrartcl class and load this class with some options
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
+\ProcessOptions\relax
+\LoadClass[12pt,english,pointednumbers,tablecaptionabove]{scrartcl}
+% pointednumbers = add final dot after ordinary section numbers
+% tablecaptionabove = use \captionabove for tables
+
+% use babel package and set language to english
+\RequirePackage[english]{babel}
+
+% page format, margins
+\RequirePackage{geometry}
+\ifthenelse{\equal{\theUseLetterPaper}{0}}{
+ \geometry{a4paper, tmargin=2.5cm, bmargin=2.8cm, lmargin=2.5cm,
+ rmargin=2.5cm, headheight=0cm, headsep=0cm, footskip=1.2cm }
+}{
+ \geometry{letterpaper, tmargin=2.5cm, bmargin=2.8cm, lmargin=2.5cm,
+ rmargin=2.5cm, headheight=0cm, headsep=0cm, footskip=1.2cm }
+}
+
+% double spacing
+\RequirePackage{setspace}
+\doublespacing
+
+% font of (subsub)section headers
+\setkomafont{section}{\bfseries}
+\setkomafont{subsection}{\normalfont\itshape}
+\setkomafont{subsubsection}{\normalfont\itshape}
+
+% spacing around (sub)section headers
+\RequirePackage{titlesec}
+\titlespacing*{\section}{0pt}{1em}{0.25em}
+\titlespacing*{\subsection}{0pt}{0.85em}{0.15em}
+
+% spacing around formulas
+\AtBeginDocument{
+\setlength{\abovedisplayshortskip}{6pt}
+\setlength{\belowdisplayshortskip}{6pt}
+\setlength{\abovedisplayskip}{6pt}
+\setlength{\belowdisplayskip}{6pt}
+\allowdisplaybreaks
+}
+
+% spacing around captions and floats
+\setlength{\abovecaptionskip}{6pt}
+\setlength{\belowcaptionskip}{3pt}
+\setlength{\floatsep}{0pt}
+\setlength{\textfloatsep}{20pt}
+\setlength{\intextsep}{5pt}
+
+% font: latin modern
+\RequirePackage{lmodern}
+
+% amsmath
+\RequirePackage[fleqn]{amsmath}
+% for compatibility with ajae.cls
+\newcommand{\veclatin}[1]{#1}
+\newcommand{\matlatin}[1]{#1}
+\newcommand{\vecgreek}[1]{#1}
+\newcommand{\matgreek}[1]{#1}
+
+% font for URLs
+\RequirePackage{url}
+\def\UrlFont{\rmfamily}
+
+% citations and bibliography
+\RequirePackage[authoryear]{natbib}
+\setlength{\bibsep}{0pt}
+
+% captions of figures and tables
+\usepackage{caption}
+\captionsetup{justification=raggedright,singlelinecheck=false,
+ labelfont=rm,textfont=rm}
+\captionsetup[table]{labelsep=newline}
+\captionsetup[figure]{labelsep=period}
+\addto\captionsenglish{%
+ \renewcommand{\figurename}{Fig.}%
+}
+
+% titlepage without author and date
+\newcommand{\affiliation}[1]{\newcommand{\@affiliation}{#1}}
+\renewcommand{\maketitle}{
+ \begin{center}
+ \begin{spacing}{1.5}
+ \LARGE{\textbf{\@title}}%
+ \end{spacing}
+ \ifthenelse{\equal{\theShowAuthor}{1}}{
+ \begin{large}
+ \textbf{\@author}\\
+ \end{large}
+ \ifthenelse{ \isundefined\@affiliation }{}{
+ \vspace*{3mm}
+ \begin{small}
+ \@affiliation\\
+ \end{small}
+ }
+ \vspace*{5mm}
+ }{}
+ \ifthenelse{\equal{\theShowDate}{1}}{
+ \@date\\
+ \vspace*{5mm}
+ }{}
+ \end{center}
+}
+
+% abstract, keywords, JEL classification
+\newcommand{\keywords}[1]{\newcommand{\@keywords}{#1}}
+\newcommand{\jelclass}[1]{\newcommand{\@jelclass}{#1}}
+\renewenvironment{abstract}{%
+\hrule
+\section*{Abstract}
+}{%
+\ifthenelse{ \isundefined\@jelclass }{}{
+\smallskip\\ \noindent
+\textit{JEL classification:} \@jelclass
+}
+\ifthenelse{ \isundefined\@keywords }{}{
+\smallskip\\ \noindent
+\textit{Key words:} \@keywords
+}
+\bigskip
+\hrule
+\clearpage
+}
+
+% avoid clubs and widows
+\clubpenalty=10000
+\widowpenalty=10000
+% \displaywidowpenalty=10000
+
+% increase stretchability of the spaces (avoid overful hboxes)
+\setlength{\emergencystretch}{3em}
+
+% move floats to the end of the paper
+\ifthenelse{\equal{\theUseEndfloat}{1}}{
+\RequirePackage[heads,tablesfirst,nomarkers,nolists]{endfloat}
+}{}
+
+% for compatibility with erae.cls
+\newcommand{\citetPage}[2]{\citeauthor{#2} (\citeyear{#2}, p.~#1)}
+\newcommand{\citepPage}[2]{\citetext{\citealp{#2}, p.~#1}}
diff --git a/biblio/bibtex/contrib/economic/ajae-ex.bib b/biblio/bibtex/contrib/economic/ajae-ex.bib
new file mode 100644
index 0000000000..fad9c86b06
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/ajae-ex.bib
@@ -0,0 +1,386 @@
+This file was created with JabRef 2.0.1.
+Encoding: ISO8859_1
+
+@BOOK{Black29,
+ title = {Agricultural Reform in the United States},
+ publisher = {McGraw Hill Book Co},
+ year = {1929},
+ author = {John Donald Black},
+ address = {New York},
+ owner = {suapm095},
+}
+
+@MISC{Blakley74,
+ author = {L. Blakley},
+ title = {Domestic Food Costs},
+ howpublished = {Paper presented at AAEA annual meeting, College Station TX, 4--8
+ August},
+ year = {1974},
+ owner = {suapm095},
+}
+
+@MANUAL{Brown65,
+ title = {Increasing World Food Output: Problems and Prospects},
+ author = {L. R. Brown},
+ organization = {U.S. Department of Agriculture},
+ address = {Washington DC},
+ month = {April},
+ year = {1965},
+ note = {ESCS For. Agr. Econ. Rep. 25},
+ owner = {Arne},
+ timestamp = {2006.08.23},
+}
+
+@MISC{Bucholz62,
+ author = {H. E. Bucholz and G. G. Judge and V. I. West},
+ title = {A Summary of Estimated Behavior Relations for Agricultural Products
+ in the United States},
+ howpublished = {Dept. Agr. Econ, AERR-57, University of Illionois},
+ year = {1962},
+ owner = {suapm095},
+}
+
+@ARTICLE{Calcott00,
+ author = {P. Calcott and M. Walls},
+ title = {Can Downstream Waste Disposal Policies Encourage Upstream 'Design
+ for Environment'?},
+ journal = {American Economic Review: Papers and Proceedings},
+ year = {2000},
+ volume = {90},
+ pages = {233-237},
+ number = {2},
+ owner = {suapm095},
+}
+
+@ARTICLE{Ezekiel29,
+ author = {M. Ezekiel},
+ title = {A Statistical Examination of the Problem of Handling Annual Surpluses
+ of Nonperishable Farm Products},
+ journal = {Journal of Farm Economics},
+ year = {1929},
+ volume = {11},
+ pages = {193-226},
+ owner = {suapm095},
+}
+
+@TECHREPORT{Fishbourne74,
+ author = {N. Fishbourne and B. Geagh},
+ title = {Food Policies and Social Supply},
+ institution = {Dept. of Agr. Econ., University of California, Davis},
+ year = {1974},
+ type = {Working paper},
+ owner = {suapm095},
+}
+
+@MANUAL{Ghana61,
+ title = {Economic Survey, 1961},
+ author = {{Ghana, Republic of, Central Bureau of Statistics}},
+ organization = {Government Printing Department},
+ address = {Accra},
+ year = {1962},
+ owner = {Arne},
+ timestamp = {2006.08.23},
+}
+
+@BOOK{Goldberger64,
+ title = {Economic Theory},
+ publisher = {John Wiley and Sons},
+ year = {1964},
+ author = {A. S. Goldberger},
+ address = {New York},
+ owner = {suapm095},
+}
+
+@BOOK{Goldberger59,
+ title = {Impact of Multiplier and Dynamic Properties of the Klein-Goldberger
+ Model},
+ publisher = {Noth-Holland Publishing},
+ year = {1959},
+ author = {A. S. Goldberger},
+ address = {Amsterdam},
+ owner = {suapm095},
+}
+
+@BOOKLET{Heady55,
+ title = {Farm Size Adjustments in {Iowa} and Cost Economies in Crop Production
+ for Farms of Different Sizes},
+ author = {E. O. Heady and D. McKee and C. B. Haver},
+ howpublished = {Iowa State University Agr. Exp. Sta. Res. Bull. No. 428},
+ month = {May},
+ year = {1955},
+ owner = {Arne},
+ timestamp = {2006.08.23},
+}
+
+@TECHREPORT{Heady55a,
+ author = {E. O. Heady and D. McKee and C. B. Haver},
+ title = {Farm Size Adjustments},
+ institution = {Iowa State University},
+ year = {1955},
+ type = {Dept. Agr. Econ Bull.},
+ number = {428},
+ month = {May},
+ owner = {Arne},
+ timestamp = {2006.08.23},
+}
+
+@ARTICLE{Horan04,
+ author = {R. D. Horan and J. S. Shortle and D. G. Abler},
+ title = {The Coordination and Design of Point-Nonpoint Trading Programs and
+ Agri-Environmental Policies},
+ journal = {Agricultural and Resource Economics Review},
+ year = {2004},
+ volume = {33},
+ pages = {61-78},
+ owner = {suapm095},
+}
+
+@ARTICLE{Horan99,
+ author = {R. D. Horan and J. S. Shortle and D. G. Abler},
+ title = {Green Payments for Nonpoint Pollution Control},
+ journal = {American Journal of Agricultural Economics},
+ year = {1999},
+ volume = {81},
+ pages = {1210-1215},
+ owner = {suapm095},
+}
+
+@MASTERSTHESIS{Kuranchie71,
+ author = {P. A. Kuranchie},
+ title = {Cost and Returns to Selected Crops in {Ghana}},
+ school = {University of Ghana},
+ year = {1971},
+ owner = {suapm095},
+}
+
+@ARTICLE{Lambert,
+ author = {P. Lambert},
+ title = {Parameters of Social Disintegration},
+ journal = {Political Science Quarterly},
+ year = {Forthcoming},
+ pages = {in press},
+ owner = {suapm095},
+}
+
+@BOOK{Masters,
+ title = {Land Grant Colleges Tody},
+ publisher = {Macmillan Co},
+ year = {Forthcoming},
+ author = {H. E. Masters},
+ volume = {1},
+ address = {New York},
+ owner = {suapm095},
+}
+
+@UNPUBLISHED{Moore60,
+ author = {P. Moore},
+ title = {Academic Development},
+ note = {University of Notre Dame},
+ year = {1960},
+ owner = {suapm095},
+}
+
+@ARTICLE{Porter04,
+ author = {M. E. Porter and M. Sakakibara},
+ title = {Competition in {Japan}},
+ journal = {Journal of Economic Perspectives},
+ year = {2004},
+ volume = {18},
+ pages = {27-50},
+ number = {1},
+ owner = {suapm095},
+}
+
+@ARTICLE{Prufer64,
+ author = {O. Prufer},
+ title = {The Hopewell Cult},
+ journal = {Scientific American},
+ year = {1964},
+ pages = {90-102},
+ month = {December},
+ owner = {suapm095},
+}
+
+@INCOLLECTION{Sjaastad71,
+ author = {L. Sjaastad},
+ title = {Occupational Structure and Migration Patterns},
+ booktitle = {Labor Mobility and Population in Agriculture},
+ publisher = {Iowa State University Press},
+ year = {1971},
+ editor = {E. O. Heady},
+ pages = {8-27},
+ address = {Ames IA},
+ owner = {suapm095},
+}
+
+@ARTICLE{Swallow,
+ author = {S. K. Swallow and M. J. Mazotta},
+ title = {Assessing Public Priorities for Experiment Station Research: Contingent
+ Value and Public Preferences for Agricultural Research},
+ journal = {American Journal of Agricultural Economics},
+ year = {Forthcoming},
+ pages = {in press},
+ owner = {suapm095},
+}
+
+@ARTICLE{Swallow04,
+ author = {S. K. Swallow and M. J. Mazotta},
+ title = {Assessing Public Priorities for Experiment Station Research: Contingent
+ Value and Public Preferences for Agricultural Research},
+ journal = {American Journal of Agricultural Economics},
+ year = {2004},
+ volume = {86},
+ pages = {in press},
+ owner = {suapm095},
+}
+
+@BOOK{Timmer75,
+ title = {The Impact of Price},
+ publisher = {Ballinger Press},
+ year = {1975},
+ editor = {George Tolley},
+ author = {C. P. Timmer},
+ address = {Chicago},
+ owner = {suapm095},
+}
+
+@MANUAL{USBB63,
+ title = {The Budget of the {United} {States} Government for the Fiscal Year
+ Ending June 30, 1964},
+ author = {{U.S. Bureau of the Budget}},
+ address = {Washington DC},
+ year = {1963},
+ owner = {Arne},
+ timestamp = {2006.08.23},
+}
+
+@MANUAL{USCong66,
+ title = {A Unified National Program for Managing Flod Losses},
+ author = {{U.S. Congress, House of Representatives, Task Force on Federal Flood
+ Control}},
+ organization = {House Document 465, 89th Cong., 2nd sess., 10~August},
+ address = {Washington DC},
+ year = {1966},
+ owner = {Arne},
+ timestamp = {2006.08.23},
+}
+
+@MANUAL{USCong64,
+ title = {Conversion to the Metric System: Hearings on S1278},
+ author = {{U.S. Congress, Senate Commission on Commerce}},
+ organization = {88th Cong., 2nd sess., 9~January 1964, p.~58},
+ address = {Washington DC},
+ year = {1966},
+ owner = {Arne},
+ timestamp = {2006.08.23},
+}
+
+@MANUAL{USDA65,
+ title = {Changes in Agriculture in 26 Developing Nations, 1948--1963},
+ author = {{U.S. Department of Agriculture}},
+ address = {Washington DC},
+ month = {November},
+ year = {1965},
+ note = {ESCS For. Agr. Econ. Rep. 27},
+ owner = {Arne},
+ timestamp = {2006.08.23},
+}
+
+@MANUAL{USDC66,
+ title = {1964 {United} {States} Census of Agriculture, Preliminary Report},
+ author = {{U.S. Department of Commerce, Bureau of the Census}},
+ address = {Washington DC},
+ month = {April},
+ year = {1966},
+ owner = {Arne},
+ timestamp = {2006.08.23},
+}
+
+@MANUAL{UNFAO62,
+ title = {Agricultural Commodities, Projections for 1970},
+ author = {{United Nations, Food and Agriculture Organization}},
+ address = {Rome},
+ year = {1962},
+ owner = {Arne},
+ timestamp = {2006.08.23},
+}
+
+@MANUAL{UN64,
+ title = {Yearbook of National Accounts Statistics, 1963},
+ author = {{United Nations}},
+ address = {New York},
+ year = {1964},
+ owner = {Arne},
+ timestamp = {2006.08.23},
+}
+
+@PHDTHESIS{Wells64,
+ author = {J. C. Wells},
+ title = {An Appraisal of Agricultural Investments in the 1962-63 Nigerian
+ Development Program},
+ school = {University of Michigan},
+ year = {1964},
+ owner = {suapm095},
+}
+
+@BOOK{Wold89,
+ title = {Demand Analysis},
+ publisher = {Macmillan Co},
+ year = {1989},
+ author = {Herman Wold and Lars Jureen},
+ address = {New York},
+ edition = {3},
+ owner = {suapm095},
+}
+
+@BOOK{Wold,
+ title = {The Viability \ldots{}~~},
+ publisher = {Some Publisher},
+ year = {3003},
+ author = {Herman Wold and J. Smith and L. Jureen},
+ address = {Nowhere},
+ owner = {suapm095},
+}
+
+@BOOK{Wold4,
+ title = {The Vitality \ldots{}~~},
+ publisher = {Some Publisher},
+ year = {3004},
+ author = {Herman Wold and J. Smith and L. Jureen and John Fourth},
+ address = {Nowhere},
+ owner = {suapm095},
+}
+
+@BOOK{Wold5,
+ title = {The Volatility \ldots{}~~},
+ publisher = {Some Publisher},
+ year = {3005},
+ author = {Herman Wold and J. Smith and L. Jureen and John Fourth and Jim Fifth},
+ address = {Nowhere},
+ owner = {suapm095},
+}
+
+@ARTICLE{Yohe95,
+ author = {G. Yohe and J. Neumann and H. Ameden},
+ title = {Assessing the Economic Cost of Greenhouse-Induced Sea Level Rise:
+ Methods and Application in Support of a National Survey},
+ journal = {Journal of Environmental Economics and Management},
+ year = {1995},
+ volume = {29},
+ pages = {S-78-S-97},
+ number = {3, Part 2},
+ owner = {suapm095},
+}
+
+@BOOK{Harris75,
+ title = {The Good Earth of America},
+ publisher = {Prentice-Hall},
+ year = {1975},
+ editor = {C. L. Harris},
+ address = {Englewood Cliffs NJ},
+ owner = {suapm095},
+}
+
+@comment{jabref-meta: selector_journal:American Journal of Agricultura
+l Economics;}
+
diff --git a/biblio/bibtex/contrib/economic/ajae-ex.pdf b/biblio/bibtex/contrib/economic/ajae-ex.pdf
new file mode 100644
index 0000000000..c8cf7b1778
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/ajae-ex.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/economic/ajae-ex.tex b/biblio/bibtex/contrib/economic/ajae-ex.tex
new file mode 100644
index 0000000000..64aa7b2d76
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/ajae-ex.tex
@@ -0,0 +1,145 @@
+\documentclass{ajae}
+\usepackage[T1]{fontenc}
+\usepackage[latin1]{inputenc}
+
+\usepackage{hyperref}
+\hypersetup{%
+ colorlinks = {true},
+ urlcolor = {blue},
+ linkcolor = {black},
+ citecolor = {black},
+ pdfauthor = {Arne Henningsen},
+ pdftitle = {Testing LaTeX class and BibTeX style for the
+ American Journal of Agricultural Economics (AJAE)},
+ pdfkeywords = {AJAE, BibTeX, LaTeX}
+}
+
+\usepackage{multido}
+
+\title{Testing \LaTeX{} class and Bib\TeX{} style for the
+ ``American Journal of Agricultural Economics'' (AJAE)}
+\keywords{AJAE, BibTeX, LaTeX}
+\jelclass{A1, B2, C3}
+
+\begin{document}
+
+\maketitle
+
+\begin{abstract}
+\multido{}{15}{This is an abstract. }
+\end{abstract}
+
+\multido{}{7}{Do not indent the first paragraph. }
+
+\multido{}{7}{Do not use a heading for the first section. }
+
+Type all footnotes on a separate page following the article.%
+\footnote{
+\multido{}{5}{This is a footnote that looks like an endnote. }
+}
+Place each table and figure on a separate page at the end of the paper
+(see figure~\ref{fig:dummy} and table~\ref{tab:citations}).
+
+\begin{figure}[htbp]
+\fbox{\parbox{0.6 \textwidth}{\centering
+ \vspace{0.2 \textwidth}
+ This is not a figure.
+ \vspace{0.2 \textwidth}
+}}
+\caption{Dummy figure}
+\label{fig:dummy}
+\end{figure}
+
+\begin{figure}[htbp]
+\fbox{\parbox{0.6 \textwidth}{\centering
+ \vspace{0.2 \textwidth}
+ This is not a figure, too.
+ \vspace{0.2 \textwidth}
+}}
+\caption{Figure with \multido{}{40}{very } long title}
+\label{fig:long-title}
+\end{figure}
+
+
+\section{Manuscript Formatting}
+The manuscript formatting instructions are available at
+\url{http://ajae.aem.cornell.edu/formatting.htm}.
+A detailed reference guide is available at
+\url{http://ajae.aem.cornell.edu/documents/ReferenceGuideMarch2006.pdf}.
+All references used as examples in the reference guide are shown in this document
+to demonstrate that the AJAE Bib\TeX{} style complies with these guidelines.
+Please report any problems at
+\url{http://sourceforge.net/projects/economtex/}.
+
+
+\section{Citations}
+\subsection{Citations in Text}
+\citet{Black29} says A, \citet{Wold89} say B, \citet{Wold} say C,
+\citet{Wold4} say D, \citet{Wold5} say E., \citet{Brown65} says F,
+and the \citet{USDA65} says G.
+An overview is available in table~\ref{tab:citations}.
+
+\begin{table}[htbp]
+\caption{Citations}
+\label{tab:citations}
+\begin{tabular}{lc}
+\hline
+Author(s) & Statement\\
+\hline
+\citet{Black29} & A\\
+\citet{Wold89} & B\\
+\citet{Wold} & C\\
+\citet{Wold4} & D\\
+\citet{Wold5} & E\\
+\citet{Brown65} & F\\
+\citet{USDA65} & G \\
+\hline
+\end{tabular}
+\medskip \\
+Note: Do not use vertical lines in tables.
+\end{table}
+
+
+\subsection{Citations in Parenthesis}
+A equals B \citep{Black29}, B equals C \citep{Wold89}, C equals D \citep{Wold},
+D equals E \citep{Wold4}, E equals F \citep{Wold5}, F equals G \citep{Brown65},
+and G equals A \citep{USDA65}.
+Hence, A, B, C, D, E, F, and G are all equal
+\citep{Black29, Wold89, Wold, Wold4, Wold5, Brown65, USDA65}.
+
+%%% This is just to test the compatibility functions \citetPage and \citepPage
+% \subsection{Citations with Page Numbers}
+% \citetPage{123}{Black29} says A, \citetPage{234}{Wold89} say B,
+% \citetPage{345}{Wold} say C, and \citetPage{456}{Wold4} say D.
+% A equals B \citepPage{123}{Black29}, B equals C \citepPage{234}{Wold89},
+% C equals D \citepPage{345}{Wold}, and D equals A \citepPage{456}{Wold4}.
+
+
+\section{Equations}
+All displayed equations should be left-justified
+and numbered consecutively (on the left).
+Vectors and matrices should be in bold.
+\begin{equation}
+\veclatin{ y } = a + \matlatin{ X } \veclatin{ b }
+\end{equation}
+where $a$ is a scalar,
+$\veclatin{ y }$ and $\veclatin{ b }$ are vectors,
+and $\matlatin{ X }$ is a matrix.
+Of course, the same holds for Greek symbols.
+\begin{equation}
+\vecgreek{ \theta } = \alpha + \matgreek{ \Psi } \vecgreek{ \beta }
+\end{equation}
+where $\alpha$ is a scalar,
+$\vecgreek{ \theta }$ and $\vecgreek{ \beta }$ are vectors,
+and $\matgreek{ \Psi }$ is a matrix.
+
+\clearpage
+\listofendnotes
+
+\clearpage
+\nocite{*}
+
+\bibliographystyle{ajae}
+\bibliography{ajae-ex}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/economic/ajae.bst b/biblio/bibtex/contrib/economic/ajae.bst
new file mode 100644
index 0000000000..e40d50e3c7
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/ajae.bst
@@ -0,0 +1,1663 @@
+%%% American Journal of Agricultural Economics (AJAE)
+%%% bibliography style for use with LaTeX2e
+%%% version: 1.0 (20 August 2006)
+%%% license: LaTeX Project Public License (see below)
+%%% This file was created with makebst (see below) and modified
+%%% by Arne Henningsen and Karsten Heymann.
+%%% Note: This is an unofficial style file that may not fully comply
+%%% with the AJAE Reference Guide in every detail.
+%%% Please report any problems at
+%%% http://sourceforge.net/projects/economtex/
+%%% Further information is available at
+%%% http://economtex.wiki.sourceforge.net/
+%%%
+%%% It is recommended to use the document class "ajae"
+%%% or to add (at least) the following lines to the LaTeX preamble:
+%%% \usepackage[authoryear]{natbib}
+%%% \bibpunct{(}{)}{;}{a}{}{,}
+%%%
+%%
+%% This is file `ajae.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `ay,nat,nm-rev1,jnrlst,nmdash,keyxyr,dt-beg,yr-per,yrp-per,yrpp-xsp,note-yr,tit-qq,atit-u,thtit-a,vnum-x,pp-last,num-xser,jnm-x,add-pub,pre-pub,blk-tit,pp,ed,abr,ednx,ord,and-com')
+%% ----------------------------------------
+%% *** AJAE ***
+%%
+%% Copyright 1994-2002 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2002/10/21 4.05 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is natbib.sty by Patrick W. Daly
+ % The form of the \bibitem entries is
+ % \bibitem[Jones et al.(1990)]{key}...
+ % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
+ % The essential feature is that the label (the part in brackets) consists
+ % of the author names, as they should appear in the citation, with the year
+ % in parentheses following. There must be no space before the opening
+ % parenthesis!
+ % With natbib v5.3, a full list of authors may also follow the year.
+ % In natbib.sty, it is possible to define the type of enclosures that is
+ % really wanted (brackets or parentheses), but in either case, there must
+ % be parentheses in the label.
+ % The \cite command functions as follows:
+ % \citet{key} ==>> Jones et al. (1990)
+ % \citet*{key} ==>> Jones, Baker, and Smith (1990)
+ % \citep{key} ==>> (Jones et al., 1990)
+ % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
+ % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
+ % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
+ % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
+ % \citeauthor{key} ==>> Jones et al.
+ % \citeauthor*{key} ==>> Jones, Baker, and Smith
+ % \citeyear{key} ==>> 1990
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {no.blank.or.punct}
+{ "\hspace{0pt}" * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ new.sentence
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+FUNCTION {non.stop}
+{ duplicate$
+ "}" * add.period$
+ #-1 #1 substring$ "." =
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "\/}" * }
+ if$
+}
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds." }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "ed." }
+
+FUNCTION {bbl.volume}
+{ "vol." }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "no." }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "pp." }
+
+FUNCTION {bbl.page}
+{ "p." }
+
+FUNCTION {bbl.chapter}
+{ "chap." }
+
+FUNCTION {bbl.techrep}
+{ "Working paper" }
+
+FUNCTION {bbl.mthesis}
+{ "MS thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "PhD dissertation" }
+
+FUNCTION {bbl.first}
+{ "1st" }
+
+FUNCTION {bbl.second}
+{ "2nd" }
+
+FUNCTION {bbl.third}
+{ "3rd" }
+
+FUNCTION {bbl.fourth}
+{ "4th" }
+
+FUNCTION {bbl.fifth}
+{ "5th" }
+
+FUNCTION {bbl.st}
+{ "st" }
+
+FUNCTION {bbl.nd}
+{ "nd" }
+
+FUNCTION {bbl.rd}
+{ "rd" }
+
+FUNCTION {bbl.th}
+{ "th" }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"Jun."}
+
+MACRO {jul} {"Jul."}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sep."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+FUNCTION {eng.ord}
+{ duplicate$ "1" swap$ *
+ #-2 #1 substring$ "1" =
+ { bbl.th * }
+ { duplicate$ #-1 #1 substring$
+ duplicate$ "1" =
+ { pop$ bbl.st * }
+ { duplicate$ "2" =
+ { pop$ bbl.nd * }
+ { "3" =
+ { bbl.rd * }
+ { bbl.th * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+STRINGS { bibinfo}
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ duplicate$ #1 >
+ { "{f{.}.~}{vv~}{ll}{, jj}" }
+ { "{vv~}{ll}{, f{.}.}{, jj}" }
+ if$
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ "," *
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.names.ed}
+{
+ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{f.~}{vv~}{ll}{, jj}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+
+ " " * bbl.etal *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author "author" format.names
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ "," *
+ " " *
+ get.bbl.editor
+ *
+ }
+ if$
+}
+FUNCTION {format.additional.editors}
+{ editor "editor" format.names.ed duplicate$ empty$ 'skip$
+ {
+ "," *
+ " " *
+ get.bbl.editor
+ *
+ }
+ if$
+}
+FUNCTION {format.note}
+{
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ "\bibenquote{" swap$ *
+ add.period$ "}" *
+ }
+ if$
+}
+FUNCTION {format.full.names}
+{'s :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[{" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "}]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in capitalize
+ " " * }
+
+FUNCTION {format.date}
+{ year "year" bibinfo.check duplicate$ empty$
+ {
+ "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????"
+ }
+ 'skip$
+ if$
+ extra.label *
+ before.all 'output.state :=
+ after.sentence 'output.state :=
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ bbl.of space.word * swap$
+ emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { number "number" bibinfo.check }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+FUNCTION {convert.edition}
+{ extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bbl.first 't := }
+ { s "second" = s "2" = or
+ { bbl.second 't := }
+ { s "third" = s "3" = or
+ { bbl.third 't := }
+ { s "fourth" = s "4" = or
+ { bbl.fourth 't := }
+ { s "fifth" = s "5" = or
+ { bbl.fifth 't := }
+ { s #1 #1 substring$ is.num
+ { s eng.ord 't := }
+ { edition 't := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ t
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ convert.edition
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ bbl.pages swap$
+ n.dashify
+ }
+ {
+ bbl.page swap$
+ }
+ if$
+ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ volume empty$
+ {
+ }
+ { ":" *
+ }
+ if$
+ swap$
+ n.dashify
+ "pages" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ "volume" bibinfo.check
+ }
+ if$
+ journal "Journal of Economic Perspectives" =
+ journal "American Economic Review: Papers and Proceedings" = +
+ journal "Journal of Environmental Economics and Management" = +
+ { number "number" bibinfo.check duplicate$ empty$ 'skip$
+ { "(" swap$ * ")" *
+ }
+ if$ *
+ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ { "" }
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+ emphasize
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ {
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ "," *
+ " " *
+ get.bbl.editor
+ " " *
+ * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { " No." swap$ tie.or.space.prefix * * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ capitalize
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ address "address" bibinfo.check *
+ t empty$
+ 'skip$
+ { address empty$
+ 'skip$
+ { ": " * }
+ if$
+ t *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+STRINGS {oldname}
+
+FUNCTION {name.or.dash}
+{ 's :=
+ oldname empty$
+ { s 'oldname := s }
+ { s oldname =
+ { "---" }
+ { s 'oldname := s }
+ if$
+ }
+ if$
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.sentence
+ crossref missing$
+ {
+ journal
+ "journal" bibinfo.check
+ emphasize
+ "journal" output.check
+ volume empty$
+ { ", " *
+ month empty$
+ 'skip$
+ { month *
+ ", " *
+ }
+ if$
+ }
+ { add.blank
+ }
+ if$
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ }
+ if$
+ volume empty$
+ { pages "in press" =
+ 'skip$
+ {
+ "pp. " *
+ }
+ if$
+ }
+ 'skip$
+ if$
+ format.journal.pages
+ format.note output
+ fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ name.or.dash
+ }
+ { format.authors output.nonnull
+ name.or.dash
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ format.edition output
+ author empty$
+ {
+ }
+ { format.additional.editors "editor" output.check
+ }
+ if$
+ crossref missing$
+ { format.bvolume output
+ new.sentence
+ format.number.series output
+ format.publisher.address output
+ }
+ {
+ new.sentence
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.note output
+ fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.sentence
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ format.note output
+ month output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ name.or.dash
+ }
+ { format.authors output.nonnull
+ name.or.dash
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.publisher.address output
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.sentence
+ format.number.series output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ new.sentence
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.pages "pages" output.check
+ format.note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.sentence
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ new.sentence
+ format.publisher.address output
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.pages "pages" output.check
+ format.note output
+ fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.sentence
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ new.sentence
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.bvolume output
+ format.number.series output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ }
+ if$
+ format.pages "pages" output.check
+ format.note output
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ new.sentence
+ organization empty$
+ {
+ format.edition output
+ format.note output
+ address "address" bibinfo.check output
+ }
+ {
+ address "address" bibinfo.check duplicate$ " " =
+ { skip$ }
+ { ": " * }
+ if$
+ organization "organization" bibinfo.check * output
+ format.edition output
+ format.note output
+ }
+ if$
+ month output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ new.sentence
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title output
+ new.sentence
+ howpublished "howpublished" bibinfo.check output
+ format.note output
+ fin.entry
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ new.sentence
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ new.sentence
+ format.tr.number output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ month output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ " Unpublished" *
+ format.note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+READ
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+FUNCTION {format.lab.names}
+{ 's := % s := Namensliste
+ "" 't := % t := ""
+ s #1 "{vv~}{ll}" format.name$ % formatiere 1. Namen
+ s num.names$ duplicate$ % bestimme # Namen
+ #3 > % mehr als 3 Namen?
+ { pop$
+ " " * bbl.etal * % dann: Ausgabe von et.al
+ }
+ { duplicate$ #3 = % sonst: 3 Namen?
+ { pop$
+ ", " *
+ s #2 "{vv~}{ll}" format.name$ * % gib 2. Namen aus
+
+ s #3 "{ff }{vv }{ll}{ jj}" format.name$ "others" = % Wenn Name#3 = "others"
+ { " " * bbl.etal * % dann et.al.
+ }
+ { ", " * bbl.and * " " * s #3 "{vv~}{ll}" format.name$ % sonst "and Autor#3"
+ * }
+ if$
+ }
+ { #2 < % sonst: Wenn weniger als 2 Namen
+ 'skip$ % dann nix, sonst:
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" = % Wenn Name#2 = "others"
+ {
+ " " * bbl.etal * % dann et.al.
+ }
+ { bbl.and space.word * s #2 "{vv~}{ll}" format.name$ % sonst "and Autor#2"
+ * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" * }
+ { t sortify * }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+SORT
+STRINGS { last.label next.extra }
+INTEGERS { last.extra.num number.label }
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+EXECUTE {initialize.extra.label.stuff}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+ITERATE {bib.sort.order}
+SORT
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\newcommand{\bibenquote}[1]{``#1''}"
+ write$ newline$
+ "\expandafter\ifx\csname natexlab\endcsname\relax\def\natexlab#1{#1}\fi"
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `ajae.bst'.
diff --git a/biblio/bibtex/contrib/economic/ajae.cls b/biblio/bibtex/contrib/economic/ajae.cls
new file mode 100644
index 0000000000..ec82528a2d
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/ajae.cls
@@ -0,0 +1,308 @@
+%%% LaTeX class for manuscripts submitted to the
+%%% American Journal of Agricultural Economics (AJAE)
+%%%
+%%% author: Arne Henningsen
+%%% version: 1.7 (18 November 2009)
+%%% license: LaTeX Project Public License
+%%%
+%%% Note: This is an unofficial style file that may not fully comply
+%%% with the AJAE Formatting Instructions in every detail.
+%%% Please report any problems at
+%%% http://sourceforge.net/projects/economtex/
+%%% Further information is available at
+%%% http://economtex.wiki.sourceforge.net/
+%%%
+%%% This document class is based on the "scrartcl" class
+%%% from the KOMA script bundle.
+%%% Following additional packages are required:
+%%% amsmath, babel, bm, courier, endfloat, endnotes, geometry,
+%%% helvet, mathptmx, natbib, setspace, titlesec, url
+%%%
+%%% The class provides following options:
+%%% noendnotes - don't use endnotes (use footnotes)
+%%% noendfloat - don't move floats to the end of the paper
+%%% author - show name(s) of authors(s)
+%%% date - show date
+%%% preprint - print the 'preprint notice'
+%%% published - print a notice that the paper has been published
+%%%
+%%%
+%%% The corresponding BibTeX style file "ajae.bst" should be used
+%%% for the bibliography: \bibliographystyle{ajae}
+%%%
+%%% This document class provides following new commands:
+%%% \keywords can be use to show keywors below the abstract
+%%% \jelclass can be use to show JEL classifications below the abstract
+%%% \leadingfootnote can be used to add a leading unnumbered footnote
+%%% \affiliation can be used to add affiliation information
+%%% \veclatin should be used for latin symbols that denote vectors
+%%% \matlatin should be used for latin symbols that denote matrices
+%%% \vecgreek should be used for greek symbols that denote vectors
+%%% \matgreek should be used for greek symbols that denote matrices
+%%% \ajaeyear, \ajaeissue, \ajaenumber, and \ajaepages should be used
+%%% after the publication to specify the year, issue, number,
+%%% and pages, respectively.
+%%%
+%%% If you use footnotes, add following lines before the reference section:
+%%% \clearpage
+%%% \listofendnotes
+
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{ajae}[2009/11/18 LaTeX class for the American Journal of Agricultural Economics]
+
+\RequirePackage{ifthen}
+
+% option to use footnotes in place of endnotes
+\newif\if@UseEndnotes
+\@UseEndnotestrue
+\DeclareOption{noendnotes}{\@UseEndnotesfalse}
+
+% option to NOT place floats at the end
+\newif\if@UseEndfloat
+\@UseEndfloattrue
+\DeclareOption{noendfloat}{\@UseEndfloatfalse}
+
+% option to show the authors' names
+\newif\if@ShowAuthor
+\@ShowAuthorfalse
+\DeclareOption{author}{\@ShowAuthortrue}
+
+% option to print the date
+\newif\if@ShowDate
+\@ShowDatefalse
+\DeclareOption{date}{\@ShowDatetrue}
+
+% option to print the 'preprint notice'
+\newif\if@ShowPreprintNote
+\@ShowPreprintNotefalse
+\DeclareOption{preprint}{\@ShowPreprintNotetrue}
+
+% option to print the 'published notice'
+\newif\if@ShowPublishedNote
+\@ShowPublishedNotefalse
+\DeclareOption{published}{\@ShowPublishedNotetrue}
+
+% pass any options on to the scrartcl class and load this class with some options
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
+\ProcessOptions\relax
+\LoadClass[12pt,english,tablecaptionabove]{scrartcl}
+% tablecaptionabove = use \captionabove for tables
+
+% page format, margins
+\RequirePackage{geometry}
+\geometry{letterpaper, tmargin=1.0in, bmargin=1.1in, lmargin=1.25in,
+ rmargin=1.25in, headheight=0in, headsep=0in, footskip=0.5in }
+
+% double spacing
+\RequirePackage{setspace}
+\doublespacing
+
+% spacing around (sub)section headers
+\RequirePackage{titlesec}
+\titlespacing*{\section}{0pt}{1em}{0.25em}
+\titlespacing*{\subsection}{0pt}{0.85em}{0.15em}
+
+% spacing around formulas
+\AtBeginDocument{
+\setlength{\abovedisplayshortskip}{6pt}
+\setlength{\belowdisplayshortskip}{6pt}
+\setlength{\abovedisplayskip}{6pt}
+\setlength{\belowdisplayskip}{6pt}
+\allowdisplaybreaks
+}
+
+% spacing around captions and floats
+\setlength{\abovecaptionskip}{6pt}
+\setlength{\belowcaptionskip}{3pt}
+\setlength{\floatsep}{0pt}
+\setlength{\textfloatsep}{20pt}
+\setlength{\intextsep}{5pt}
+
+% font families: times/helvetica/courier
+\RequirePackage{mathptmx}
+\RequirePackage[scaled=.90]{helvet}
+\RequirePackage{courier}
+
+% font for section headers
+\setkomafont{section}{\normalfont\bfseries}
+
+% font for subsection headers
+\setkomafont{subsection}{\normalfont\itshape}
+
+% fonts for math
+\RequirePackage[leqno,fleqn]{amsmath}
+\RequirePackage{bm}
+% latin symbols for vectors and matrices
+\newcommand{\veclatin}[1]{\bm{#1}}
+\newcommand{\matlatin}[1]{\bm{#1}}
+% greek symbols for vectors and matrices
+\newcommand{\vecgreek}[1]{\pmb{#1}}
+\newcommand{\matgreek}[1]{\pmb{#1}}
+
+% font for URLs
+\RequirePackage{url}
+\def\UrlFont{\rmfamily}
+
+% citations and bibliography
+\RequirePackage[authoryear]{natbib}
+\bibpunct{(}{)}{;}{a}{}{,}
+\setlength{\bibsep}{0pt}
+
+% captions of figures and tables
+\setcapwidth[l]{\textwidth}
+\setcapindent{0pt}
+\setkomafont{captionlabel}{\normalfont\bfseries}
+\setkomafont{caption}{\normalfont\bfseries}
+\renewcommand{\captionformat}{.\ }
+
+% section and subsections are not numbered
+\setcounter{secnumdepth}{0}
+
+% leading unnumbered footnote
+\long\def\leadingfootnote#1{\begingroup%
+ \def\thefootnote{\fnsymbol{footnote}}\footnote[0]{#1}\endgroup}
+
+% titlepage without author and date
+\newcommand{\affiliation}[1]{\newcommand{\@affiliation}{#1}}
+\newcommand{\ajaeissue}[1]{\newcommand{\@ajaeissue}{#1}}
+\newcommand{\ajaenumber}[1]{\newcommand{\@ajaenumber}{#1}}
+\newcommand{\ajaeyear}[1]{\newcommand{\@ajaeyear}{#1}}
+\newcommand{\ajaepages}[1]{\newcommand{\@ajaepages}{#1}}
+\renewcommand{\maketitle}{
+ \begin{center}
+ \begin{LARGE}
+ \begin{spacing}{1.25}
+ \textbf{\@title}
+ \end{spacing}
+ \end{LARGE}
+ \vspace*{10mm}
+ \if@ShowAuthor
+ \begin{large}
+ \textbf{\@author}\\
+ \end{large}
+ \ifthenelse{ \isundefined\@affiliation }{}{
+ \vspace*{3mm}
+ \begin{small}
+ \@affiliation\\
+ \end{small}
+ }
+ \vspace*{5mm}
+ \fi
+ \if@ShowDate
+ \@date\\
+ \vspace*{5mm}
+ \fi
+ \if@ShowPreprintNote
+ \begin{small}
+ This is a preprint of an Article accepted for publication in
+ \textit{American Journal of Agricultural Economics}.
+ \copyright{} \the\year ,
+ American Agricultural Economics Association
+ \end{small}
+ \vspace*{5mm}
+ \fi
+ \if@ShowPublishedNote
+ \begin{small}
+ This is an electronic version of an Article published in\\
+ \textit{American Journal of Agricultural Economics}%
+ \ifthenelse{ \isundefined\@ajaeissue }{%
+ \ClassWarningNoLine{ajae}{No issue of the AJAE publication specified.
+ Please use the command \protect\ajaeissue}%
+ }{, \@ajaeissue{}}%
+ \ifthenelse{ \isundefined\@ajaenumber }{%
+ \ClassWarningNoLine{ajae}{No number of the AJAE publication specified.
+ Please use the command \protect\ajaenumber}%
+ }{(\@ajaenumber{})}%
+ \ifthenelse{ \isundefined\@ajaepages }{%
+ \ClassWarningNoLine{ajae}{No pages of the AJAE publication specified.
+ Please use the command \protect\ajaepages}%
+ }{, p.~\@ajaepages{}}.\\
+ \copyright{}%
+ \ifthenelse{ \isundefined\@ajaeyear }{%
+ \ClassWarningNoLine{ajae}{No year of the AJAE publication specified.
+ Please use the command \protect\ajaeyear}%
+ }{\@ajaeyear{}}
+ American Agricultural Economics Association.\\
+ The final version is available on
+ \url{http://www.blackwell-synergy.com/loi/AJAE}
+ \end{small}
+ \vspace*{5mm}
+ \fi
+ \end{center}
+}
+
+% abstract, keywords, JEL classification
+\newcommand{\keywords}[1]{\newcommand{\@keywords}{#1}}
+\newcommand{\jelclass}[1]{\newcommand{\@jelclass}{#1}}
+\renewenvironment{abstract}{%
+\begin{center}
+\begin{minipage}{0.9 \textwidth}
+\small
+\begin{center}
+\textbf{Abstract}
+\end{center}
+}{%
+\ifthenelse{ \isundefined\@keywords }{
+\ClassWarningNoLine{ajae}{No keywords specified.
+ Please use the command \protect\keywords}
+}{
+\smallskip\\ \noindent
+Key words: \@keywords
+}
+\ifthenelse{ \isundefined\@jelclass }{
+\ClassWarningNoLine{ajae}{No JEL classification specified.
+ Please use the command \protect\jelclass}
+}{
+\smallskip\\ \noindent
+JEL classification: \@jelclass
+}
+\end{minipage}
+\end{center}
+\vspace{\baselineskip}
+\@aftermylist
+}
+% command "\@aftermylist": do not indent the following paragraph
+\def\@aftermylist{%
+ \def\if@endpe\@doendpe\fi{\@endpetrue
+ \def\par{\if@endpe\@@par\else\@restorepar\everypar{}\par\@endpefalse\fi}%
+ \everypar{{\setbox\z@\lastbox}\everypar{}\@endpefalse}%
+ }%
+}
+% This code was originally posted by Donald Arseneau on comp.text.tex
+% I thank Ulrike Fischer for pointing this out to me.
+
+
+% use babel package and set language to english
+\RequirePackage[english]{babel}
+
+% avoid clubs and widows
+\clubpenalty=10000
+\widowpenalty=10000
+% \displaywidowpenalty=10000
+
+% increase stretchability of the spaces (avoid overful hboxes)
+\setlength{\emergencystretch}{3em}
+
+% use endnotes in place of footnotes
+\if@UseEndnotes
+\RequirePackage{endnotes}
+\let\footnote=\endnote
+\newcommand{\listofendnotes}{
+ \begingroup
+ \parindent 0pt
+ \parskip 2ex
+ \def\enotesize{\normalsize}
+ \theendnotes
+ \endgroup
+}
+\fi
+
+% move floats to the end of the paper
+\if@UseEndfloat
+\RequirePackage[tabhead,fighead,nomarkers,nolists]{endfloat}
+\fi
+
+% for compatibility with erae.cls
+\newcommand{\citetPage}[2]{\citeauthor{#2} (\citeyear{#2}, p.~#1)}
+\newcommand{\citepPage}[2]{\citetext{\citealp{#2}, p.~#1}}
diff --git a/biblio/bibtex/contrib/economic/apecon-ex.bib b/biblio/bibtex/contrib/economic/apecon-ex.bib
new file mode 100644
index 0000000000..3d1c989a1c
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/apecon-ex.bib
@@ -0,0 +1,77 @@
+% This file was created with JabRef 2.5.
+% Encoding: UTF8
+
+@ARTICLE{brigham65,
+ author = {Brigham, Eugene F.},
+ title = {The Determinants of Residential Land Values},
+ journal = {Land Economics},
+ year = {1965},
+ volume = {41},
+ pages = {325-334},
+ url = {http://www.jstor.org/pss/3144665}
+}
+
+@ARTICLE{brown05,
+ author = {Steven P. Brown and Eli Jones},
+ title = {Introduction to the Special Issue: Advancing the Field of Selling
+ and Sales Management},
+ journal = {Journal of Personal Selling and Sales Management},
+ year = {2005},
+ volume = {25},
+ pages = {103-104},
+ number = {2}
+}
+
+@INCOLLECTION{phelpsbrown81,
+ author = {{Phelps Brown}, Henry},
+ title = {Labour Market Policy},
+ booktitle = {Changing Perceptions of Economic Policy},
+ publisher = {Methuen},
+ year = {1981},
+ editor = {Frances Cairncross},
+ pages = {68-113},
+ address = {London}
+}
+
+@ARTICLE{smith72a,
+ author = {Charles H. Smith and Roy A. Lanier and Martin E. Taylor},
+ title = {The Need for and Scope of the Audit of Management: A Survey of Attitudes},
+ journal = {Accounting Review},
+ year = {1972},
+ volume = {47},
+ pages = {270-283},
+ number = {2},
+ url = {http://www.jstor.org/stable/244750}
+}
+
+@ARTICLE{smith72b,
+ author = {Kenneth R. Smith and Marianne Miller and Fredrick L. Golladay},
+ title = {An Analysis of the Optimal Use of Inputs in the Production of Medical
+ Services},
+ journal = {Journal of Human Resources},
+ year = {1972},
+ volume = {7},
+ pages = {208-225},
+ number = {2},
+ url = {http://www.jstor.org/stable/145184}
+}
+
+@ARTICLE{smith72,
+ author = {Vernon L. Smith},
+ title = {A Theory and Test of Credit Rationing: Some Generalizations},
+ journal = {American Economic Review},
+ year = {1972},
+ volume = {62},
+ pages = {477-483},
+ number = {3},
+ url = {http://www.jstor.org/stable/1803400}
+}
+
+@comment{jabref-meta: selector_publisher:}
+
+@comment{jabref-meta: selector_author:}
+
+@comment{jabref-meta: selector_journal:}
+
+@comment{jabref-meta: selector_keywords:}
+
diff --git a/biblio/bibtex/contrib/economic/apecon-ex.pdf b/biblio/bibtex/contrib/economic/apecon-ex.pdf
new file mode 100644
index 0000000000..54aa1970e4
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/apecon-ex.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/economic/apecon-ex.tex b/biblio/bibtex/contrib/economic/apecon-ex.tex
new file mode 100644
index 0000000000..cc5c4f6b95
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/apecon-ex.tex
@@ -0,0 +1,161 @@
+\documentclass{apecon}
+\usepackage[T1]{fontenc}
+\usepackage[latin1]{inputenc}
+\usepackage{csquotes}
+\MakeInnerQuote{"}
+
+\usepackage{textcomp}
+\usepackage{multido}
+
+\usepackage{hyperref}
+\hypersetup{%
+ colorlinks = {true},
+ urlcolor = {blue},
+ linkcolor = {black},
+ citecolor = {black},
+ pdfauthor = {Arne Henningsen},
+ pdftitle = {Testing LaTeX class and BibTeX style for the
+ journal Applied Economics (ApEcon)},
+ pdfkeywords = {Applied Economics, BibTeX, LaTeX}
+}
+
+\usepackage{multido}
+
+\title{Testing \LaTeX{} class and Bib\TeX{} style for the
+ journal `Applied Economics' (ApEcon)}
+
+\author{Arne Henningsen$^1$ and His Coauthor$^2$}
+
+% affiliation(s) and full address(es) of the author(s)
+\affiliation{%
+$^1$Institute of Food and Resource Economics,
+University of Copenhagen,
+Rolighedsvej~25, 1958~Frederiksberg~C, Denmark\\
+$^2$\LaTeX{} University, Nostreet~123,
+00000~Nowhere City, Noland}
+
+% running title
+\rtitle{\LaTeX{} class and Bib\TeX{} style for `Applied Economics'}
+
+% corresponding author including full address
+\cauthor{Arne Henningsen, Institute of Food and Resource Economics,
+Rolighedsvej~25, 1958~Frederiksberg~C, Denmark}
+
+
+\begin{document}
+
+\maketitle
+
+\begin{abstract}
+\multido{}{15}{This is an abstract. }
+\end{abstract}
+
+\section{Introduction}
+\multido{}{7}{This is an introduction. }
+
+Footnotes should appear at the end of the page in which they are inserted.%
+\footnote{
+\multido{}{10}{This is a footnote. }
+}
+"Single quotation marks" can be conveniently inserted using
+the "csquotes" package:
+add the lines\\
+\verb!\usepackage{csquotes}!\\
+\verb!\MakeInnerQuote{"}!\\
+to the preamble of your \LaTeX{} file and use the inch symbol~(\verb!"!)
+for quotation marks.%
+\footnote{%
+Of course, you can also define another symbol in the command
+\texttt{\textbackslash{}MakeInnerQuote},
+e.g.\ the degree sign~($^{\circ}$).
+}
+Collect tables and figures at the end of the manuscript
+(see figure~\ref{fig:dummy} and table~\ref{tab:citations}).
+
+\begin{figure}[htbp]
+\fbox{\parbox{0.6 \textwidth}{\centering
+ \vspace{0.2 \textwidth}
+ This is not a figure.
+ \vspace{0.2 \textwidth}
+}}
+\caption{Dummy figure}
+\label{fig:dummy}
+\end{figure}
+
+\begin{figure}[htbp]
+\fbox{\parbox{0.6 \textwidth}{\centering
+ \vspace{0.2 \textwidth}
+ This is not a figure, too.
+ \vspace{0.2 \textwidth}
+}}
+\caption{Figure with \multido{}{40}{very } long title}
+\label{fig:long-title}
+\end{figure}
+
+\section{Manuscript Formatting}
+Instructions to authors including formatting guidelines are available at
+\url{http://www.tandf.co.uk/journals/journal.asp?issn=0003-6846&linktype=44}.
+All references used as examples in these guidelines are shown in this document
+to demonstrate that the Bib\TeX{} style of "Applied Economics" complies
+with these guidelines.
+Please report any problems at
+\url{http://sourceforge.net/projects/economtex/}.
+
+
+\section{Citations}
+\subsection{Citations in Text}
+\citet{smith72} says A, \citet{brown05} say B,
+\citet{smith72a} say C, and \citet{smith72b} say D.
+An overview is available in table~\ref{tab:citations}.
+
+\begin{table}[htbp]
+\caption{Citations}
+\label{tab:citations}
+\begin{tabular}{lc}
+\hline
+Author(s) & Statement\\
+\hline
+\citet{smith72} & A\\
+\citet{brown05} & B\\
+\citet{smith72a} & C\\
+\citet{smith72b} & D\\
+\hline
+\end{tabular}
+\end{table}
+
+
+\subsection{Citations in Parenthesis}
+A equals B \citep{smith72}, B equals C \citep{brown05},
+C equals D \citep{smith72a}, and D equals A \citep{smith72b}.
+Hence, A, B, C, and D are all equal
+\citep{smith72, brown05, smith72a, smith72b}.
+
+\subsection{Citations with Page Numbers}
+\citet[p.~123]{smith72} says A, \citet[p.~234]{brown05} say B,
+\citet[p.~345]{smith72a} say C, and \citet[p.~456]{smith72b} say D.
+A equals B \citep[p.~123]{smith72}, B equals C \citep[p.~234]{brown05},
+C equals D \citep[p.~345]{smith72a}, and D equals A \citep[p.~456]{smith72b}.
+
+
+\section{Equations}
+There are no instructions regarding equations.
+\begin{equation}
+y = a + X b
+\end{equation}
+where $a$ is a scalar,
+$y$ and $b$ are vectors,
+and $X$ is a matrix.
+Of course, you can also use Greek symbols.
+\begin{equation}
+\theta = \alpha + \Psi \beta
+\end{equation}
+where $\alpha$ is a scalar,
+$\theta$ and $\beta$ are vectors,
+and $\Psi$ is a matrix.
+
+\clearpage
+\nocite{*}
+
+\bibliography{apecon-ex}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/economic/apecon.bst b/biblio/bibtex/contrib/economic/apecon.bst
new file mode 100644
index 0000000000..cb77f3663c
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/apecon.bst
@@ -0,0 +1,1446 @@
+%%% journal "Applied Economics" (apecon)
+%%% bibliography style for use with LaTeX2e
+%%% version: 1.0 (14 April 2008)
+%%% license: LaTeX Project Public License (see below)
+%%% This file was created with makebst (see below) and modified
+%%% by Arne Henningsen.
+%%% Note: This is an unofficial style file that may not fully comply
+%%% with the reference guidelines of "Applied Economics" in every detail.
+%%% Please report any problems at
+%%% http://sourceforge.net/projects/economtex/
+%%% Further information is available at
+%%% http://economtex.wiki.sourceforge.net/
+%%%
+%%% This BibTeX style should be used with the corresponding
+%%% LaTeX class "apecon" (apecon.cls).
+%%% Otherwise, the following line has to be added to the LaTeX preamble:
+%%% \usepackage[authoryear]{natbib}
+%%%
+%%
+%% This is file `apecon.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `ay,nat,nm-rev,jnrlst,keyxyr,dt-beg,yr-par,yrp-x,note-yr,vol-bf,vnum-x,volp-com,num-xser,pre-pub,edpar,bkedcap,edby,edbyw,edcap,blk-com,pp,ed,abr,xedn,and-xcom,etal-it,em-it,nfss,')
+%% ----------------------------------------
+%% *** BibTeX style for the journal 'Applied Economics' ***
+%%
+%% Copyright 1994-2004 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2004/02/09 4.13 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is natbib.sty by Patrick W. Daly
+ % The form of the \bibitem entries is
+ % \bibitem[Jones et al.(1990)]{key}...
+ % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
+ % The essential feature is that the label (the part in brackets) consists
+ % of the author names, as they should appear in the citation, with the year
+ % in parentheses following. There must be no space before the opening
+ % parenthesis!
+ % With natbib v5.3, a full list of authors may also follow the year.
+ % In natbib.sty, it is possible to define the type of enclosures that is
+ % really wanted (brackets or parentheses), but in either case, there must
+ % be parentheses in the label.
+ % The \cite command functions as follows:
+ % \citet{key} ==>> Jones et al. (1990)
+ % \citet*{key} ==>> Jones, Baker, and Smith (1990)
+ % \citep{key} ==>> (Jones et al., 1990)
+ % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
+ % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
+ % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
+ % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
+ % \citeauthor{key} ==>> Jones et al.
+ % \citeauthor*{key} ==>> Jones, Baker, and Smith
+ % \citeyear{key} ==>> 1990
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ eid
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ add.blank
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textit{" swap$ * "}" * }
+ if$
+}
+FUNCTION {bolden}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textbf{" swap$ * "}" * }
+ if$
+}
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds." }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "edn." }
+
+FUNCTION {bbl.volume}
+{ "vol." }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "no." }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "pp." }
+
+FUNCTION {bbl.page}
+{ "p." }
+
+FUNCTION {bbl.chapter}
+{ "chap." }
+
+FUNCTION {bbl.techrep}
+{ "Tech. Rep." }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"Jun."}
+
+MACRO {jul} {"Jul."}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sep."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+STRINGS { bibinfo}
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}{, f.}{, jj}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.names.ed}
+{
+ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{f.~}{vv~}{ll}{, jj}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+
+ " " * bbl.etal emphasize *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author "author" format.names
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ " " *
+ get.bbl.editor
+ capitalize
+ "(" swap$ * ")" *
+ *
+ }
+ if$
+}
+FUNCTION {format.note}
+{
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ duplicate$ empty$ 'skip$
+ { "t" change.case$ }
+ if$
+ "title" bibinfo.check
+}
+FUNCTION {format.full.names}
+{'s :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[{" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "}]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in
+ " " * }
+
+FUNCTION {format.date}
+{ year "year" bibinfo.check duplicate$ empty$
+ {
+ "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????"
+ }
+ 'skip$
+ if$
+ extra.label *
+ before.all 'output.state :=
+ " (" swap$ * ")" *
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ bbl.of space.word * swap$
+ emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { number "number" bibinfo.check }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ bbl.pages swap$
+ n.dashify
+ }
+ {
+ bbl.page swap$
+ }
+ if$
+ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ", " *
+ swap$
+ n.dashify
+ "pages" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.journal.eid}
+{ eid "eid" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$ 'skip$
+ {
+ ", " *
+ }
+ if$
+ swap$ *
+ }
+ if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ "volume" bibinfo.check
+ }
+ if$
+ bolden
+ eid empty$
+ { format.journal.pages }
+ { format.journal.eid }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+ emphasize
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ {
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ get.bbl.editor
+ capitalize
+ "(" swap$ * ")" *
+ " " * swap$ *
+ swap$
+ " " * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ t empty$
+ { address "address" bibinfo.check *
+ }
+ { t *
+ address empty$
+ 'skip$
+ { ", " * address "address" bibinfo.check * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ crossref missing$
+ {
+ journal
+ "journal" bibinfo.check
+ emphasize
+ "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ format.publisher.address output
+ }
+ {
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.note output
+ fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.publisher.address output
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ format.number.series output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.publisher.address output
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ format.edition output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title output
+ howpublished "howpublished" bibinfo.check output
+ format.note output
+ fin.entry
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ format.tr.number output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ format.note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+READ
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+FUNCTION {format.lab.names}
+{ 's :=
+ "" 't :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$
+ " " * bbl.etal emphasize *
+ }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ { bbl.and space.word * s #2 "{vv~}{ll}" format.name$
+ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" * }
+ { t sortify * }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+SORT
+STRINGS { last.label next.extra }
+INTEGERS { last.extra.num number.label }
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+EXECUTE {initialize.extra.label.stuff}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+ITERATE {bib.sort.order}
+SORT
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\providecommand{\natexlab}[1]{#1}"
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `apecon.bst'.
diff --git a/biblio/bibtex/contrib/economic/apecon.cls b/biblio/bibtex/contrib/economic/apecon.cls
new file mode 100644
index 0000000000..240bc1ccc4
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/apecon.cls
@@ -0,0 +1,196 @@
+%%% LaTeX class for manuscripts submitted to the
+%%% journal 'Applied Economics'
+%%%
+%%% author: Arne Henningsen
+%%% version: 1.1 (18 November 2009)
+%%% license: LaTeX Project Public License
+%%%
+%%% Note: This is an unofficial style file that may not fully comply
+%%% with the formatting instructions of 'Applied Economics' in every detail.
+%%% Please report any problems at
+%%% http://sourceforge.net/projects/economtex/
+%%% Further information is available at
+%%% http://economtex.wiki.sourceforge.net/
+%%%
+%%% This document class is based on the "scrartcl" class
+%%% from the KOMA script bundle.
+%%% Following additional packages are required:
+%%% amsmath, babel, endfloat, geometry, ifthen
+%%% lmodern, natbib, setspace, textcomp, url
+%%%
+%%% The class provides following option:
+%%% noendfloat - don't move floats to the end of the paper
+%%%
+%%% By default, the corresponding BibTeX style "apecon.bst" is used.
+%%%
+%%% This document class provides 4 new commands:
+%%% \affiliation specify affiliation(s) and full address(es) of the authors
+%%% \rtitle specify running title (max. 75 letters and spaces)
+%%% \cauthor specify corresponding author including contact details
+%%%
+
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{apecon}[2009/11/18 LaTeX class for the journal 'Applied Economics']
+
+% package for convenient if-then-else statements
+\RequirePackage{ifthen}
+
+% option to NOT place floats at the end
+\newif\if@useendfloat
+\@useendfloattrue
+\DeclareOption{noendfloat}{\@useendfloatfalse}
+
+% pass any options on to the scrartcl class and load this class with some options
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
+\ProcessOptions\relax
+\LoadClass[12pt,english,pointednumbers,tablecaptionabove]{scrartcl}
+% pointednumbers = add final dot after ordinary section numbers
+% tablecaptionabove = use \captionabove for tables
+
+% additional symbols
+\RequirePackage{textcomp}
+
+% page format, margins
+\RequirePackage{geometry}
+\geometry{a4paper, tmargin=2.5cm, bmargin=2.8cm, lmargin=4cm,
+ rmargin=2cm, headheight=0cm, headsep=0cm, footskip=1.2cm }
+
+% one half spacing
+\RequirePackage{setspace}
+\doublespacing
+
+% spacing around formulas
+\AtBeginDocument{
+\setlength{\abovedisplayshortskip}{6pt}
+\setlength{\belowdisplayshortskip}{6pt}
+\setlength{\abovedisplayskip}{6pt}
+\setlength{\belowdisplayskip}{6pt}
+\allowdisplaybreaks
+}
+
+% spacing around captions and floats
+\setlength{\abovecaptionskip}{6pt}
+\setlength{\belowcaptionskip}{3pt}
+\setlength{\floatsep}{0pt}
+\setlength{\textfloatsep}{20pt}
+\setlength{\intextsep}{5pt}
+
+% font family: latin modern
+\RequirePackage{lmodern}
+
+% section headers
+\setkomafont{section}{\sffamily\bfseries}
+\setkomafont{subsection}{\normalfont\sffamily\itshape}
+\setkomafont{subsubsection}{\normalfont\sffamily}
+\renewcommand{\thesection}{\Roman{section}}
+\setcounter{secnumdepth}{1}
+
+% amsmath
+\RequirePackage{amsmath}
+% for compatibility with ajae.cls
+\newcommand{\veclatin}[1]{#1}
+\newcommand{\matlatin}[1]{#1}
+\newcommand{\vecgreek}[1]{#1}
+\newcommand{\matgreek}[1]{#1}
+
+% font for URLs
+\RequirePackage{url}
+\def\UrlFont{\rmfamily}
+
+% citations and bibliography
+\RequirePackage[authoryear]{natbib}
+\setlength{\bibsep}{0pt}
+\bibliographystyle{apecon}
+
+% captions of figures and tables
+\setcapwidth[l]{\textwidth}
+\setcapindent{0pt}
+\setkomafont{captionlabel}{\normalsize\normalfont\bfseries}
+\setkomafont{caption}{\normalsize\normalfont\bfseries}
+\renewcommand{\captionformat}{.\ }
+
+% titlepage without author and date
+\newcommand{\affiliation}[1]{\newcommand{\@affiliation}{#1}}
+\newcommand{\address}[1]{\newcommand{\@address}{#1}}
+\newcommand{\rtitle}[1]{\newcommand{\@rtitle}{#1}}
+\newcommand{\cauthor}[1]{\newcommand{\@cauthor}{#1}}
+\renewcommand{\maketitle}{
+ \begin{center}
+ \begin{spacing}{1.5}
+ \LARGE{\textbf{\@title}}%
+ \end{spacing}
+ \ifthenelse{ \isundefined\@author }{
+ \ClassWarning{apecon}{No author(s) specified.
+ Please specify with command \protect\author}
+ }{
+ \begin{large}
+ \textbf{\@author}\\
+ \end{large}
+ \vspace*{3mm}
+ }
+ \begin{spacing}{1.1}
+ \ifthenelse{ \isundefined\@affiliation }{
+ \ClassWarning{apecon}{No affiliation(s) specified.
+ Please specify with command \protect\affiliation}
+ }{
+ \textit{\@affiliation}\\
+ }
+ \ifthenelse{ \isundefined\@address }{
+ }{
+ \textit{\@address}\\
+ }
+ \end{spacing}
+ \vspace*{5mm}
+ \end{center}
+ \ifthenelse{ \isundefined\@rtitle }{
+ \ClassWarningNoLine{apecon}{No running title is specified.
+ Please specify with command \protect\rtitle\space (max. 75 letters)}
+ }{
+ \textbf{Running title:}\\
+ \@rtitle\\
+ }
+}
+
+% abstract, keywords, JEL classification
+\renewenvironment{abstract}{%
+ \begin{spacing}{1.5}
+ \noindent
+ \textbf{Abstract}\\
+}{%
+ \smallskip\\ \noindent
+ \end{spacing}
+ \begin{spacing}{1.1}
+ \noindent
+ \textbf{Corresponding author:}
+ \ifthenelse{ \isundefined\@cauthor }{
+ ???
+ \ClassWarningNoLine{apecon}{No corresponding author
+ (including contact details) is specified.
+ Please specify with command \protect\cauthor}
+ }{
+ \\\@cauthor\\
+ }
+ \clearpage
+ \end{spacing}
+}
+
+% use babel package and set language to english
+\RequirePackage[english]{babel}
+
+% avoid clubs and widows
+\clubpenalty=10000
+\widowpenalty=10000
+% \displaywidowpenalty=10000
+
+% increase stretchability of the spaces (avoid overful hboxes)
+\setlength{\emergencystretch}{3em}
+
+% move floats to the end of the paper
+\if@useendfloat
+ \RequirePackage[noheads,nomarkers,tablesfirst,nolists]{endfloat}
+\fi
+
+% for compatibility with erae.cls
+\newcommand{\citetPage}[2]{\citeauthor{#2} (\citeyear{#2}, p.~#1)}
+\newcommand{\citepPage}[2]{\citetext{\citealp{#2}, p.~#1}}
diff --git a/biblio/bibtex/contrib/economic/cje.bst b/biblio/bibtex/contrib/economic/cje.bst
new file mode 100644
index 0000000000..632e4988d0
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/cje.bst
@@ -0,0 +1,1192 @@
+% BibTeX bibliography style `cje' (Canadian Journal of Economics)
+% this file is based on the `harvard' family of files
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1991, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, abbrv.bst, agsm.bst,
+ % dcu.bst, cje.bst, aer.bst, or kluwer.bst.
+ % This restriction helps ensure that all standard styles are identical.
+
+% ACKNOWLEDGEMENT:
+% This document is a modified version of alpha.bst to which it owes much of
+% its functionality.
+
+% AUTHOR
+% Peter Williams, Key Centre for Design Quality, Sydney University
+% e-mail: peterw@archsci.arch.su.oz.au
+
+ENTRY
+ { address author booktitle chapter edition editor howpublished institution
+ journal key month note number organization pages publisher school
+ series title type volume year}
+ { field.used }
+ { canonical.label extra.label sort.label list.year }
+
+
+INTEGERS {quoted italic bold plain attribute
+ space comma tiedcomma semicolon colon period block empty separator
+ prev.separator next.separator next.attribute}
+
+STRINGS { s temp f name.list first.name.format later.name.formats name.style}
+
+FUNCTION {init.state.consts}
+{
+ #100 'quoted :=
+ #200 'italic :=
+ #300 'bold :=
+ #400 'plain :=
+
+ #7 'space :=
+ #6 'comma :=
+% #5 'tiedcomma :=
+% #4 'semicolon :=
+% #3 'colon :=
+ #2 'period :=
+ #1 'block :=
+ #0 'empty :=
+}
+
+FUNCTION {output2}
+{
+% Wrap the attribute.
+ attribute bold = {"{\bf " swap$ * "}" *} {} if$
+ attribute italic = {"{\it " swap$ * "}" *} {} if$
+ attribute quoted = {"`" swap$ * "'" *} {} if$
+% Append additional separators
+ separator comma = {"," * space 'separator :=} {} if$
+% separator tiedcomma = {",~" * empty 'separator :=} {} if$
+ separator space = {" " *} {} if$
+ write$
+ separator block = {newline$ "\newblock " write$} {} if$
+% Update variables, and put the new string back on the stack
+ next.attribute 'attribute :=
+ next.separator 'separator :=
+ temp
+}
+
+% <string> <separator> <string> <attribute> <final separator> output <string>
+FUNCTION {output.nonnull}
+{ 'next.separator :=
+ 'next.attribute :=
+ 'temp :=
+ 'prev.separator :=
+% If the new separator is stronger than the previous one, use it.
+ prev.separator separator < {prev.separator 'separator :=} {} if$
+% Append most separators to the string.
+ separator block = {add.period$} {} if$
+ separator period = {add.period$ space 'separator :=} {} if$
+ separator comma = {"," * space 'separator :=} {} if$
+% separator semicolon = {";" * space 'separator :=} {} if$
+% separator colon = {":" * space 'separator :=} {} if$
+ output2
+}
+
+FUNCTION {output}
+{ 'next.separator :=
+ 'next.attribute :=
+ duplicate$ empty$
+ {pop$ pop$}
+ {next.attribute next.separator output.nonnull}
+ if$
+}
+
+FUNCTION {output.check}
+{ 's :=
+ 'next.separator :=
+ 'next.attribute :=
+ duplicate$ empty$
+ {pop$ pop$ "empty " s * " in " * cite$ * warning$ }
+ {next.attribute next.separator output.nonnull}
+ if$
+}
+
+FUNCTION {item.check}
+{ 'temp :=
+ empty$
+ { "empty " temp * " in " * cite$ * warning$ }
+ {}
+ if$
+}
+
+FUNCTION {plain.space} { plain space }
+
+FUNCTION {plain.space.output} { plain.space output }
+
+FUNCTION {fin.entry}
+{ block note plain.space.output
+
+ empty 'separator :=
+ empty "" plain empty output.nonnull pop$
+ newline$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ {}
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ {}
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ {}
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {quote}
+{ duplicate$ empty$
+ { pop$ "" }
+ { add.period$ "`" swap$ * "'" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 'name.list :=
+ 'name.style :=
+ 'later.name.formats :=
+ 's := % binary separator
+ 'first.name.format :=
+ #1 'nameptr :=
+ name.list num.names$ 'numnames :=
+% If we're to make this entry bold or something, prepend to the string of names
+ name.style "" = {} {"{" name.style *} if$
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { name.list nameptr nameptr #1 = {first.name.format} {later.name.formats} if$
+ format.name$ 'temp :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * temp * }
+ { temp "others" =
+ { " et~al." * }
+ {nameptr #2 = % handle ", and" vs " and "
+ {s * temp *}
+ {", and " * temp * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ 'temp
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+% If we're to make this entry bold or something, append to the string of names
+ name.style "" = {} {"}" * *} if$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { extra.label "\bysame" =
+ {"\bysame"}
+ { "{vv~}{ll}{, jj}{, ff}" ", and " "{ff~}{vv~}{ll}{, jj}" "" author
+ format.names }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { "{vv~}{ll}{, jj}{, ff}" ", and " "{ff~}{vv~}{ll}{, jj}" ""
+ editor format.names
+ editor num.names$ #1 >
+ { ", eds" * }
+ { ", ed." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.editors.reverse}
+{ editor empty$
+ { "" }
+ { "ed. "
+ "{ff~}{vv~}{ll}{, jj}" " and " "{ff~}{vv~}{ll}{, jj}" ""
+ editor format.names
+ *
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ space
+ title empty$
+ { "" }
+ { title "t" change.case$}
+ if$
+ quoted period
+}
+
+FUNCTION {n.dashify}
+{ 'temp :=
+ ""
+ { temp empty$ not }
+ { temp #1 #1 substring$ "-" =
+ { temp #1 #2 substring$ "--" = not
+ { "--" *
+ temp #2 global.max$ substring$ 'temp :=
+ }
+ { { temp #1 #1 substring$ "-" = }
+ { "-" *
+ temp #2 global.max$ substring$ 'temp :=
+ }
+ while$
+ }
+ if$
+ }
+ { temp #1 #1 substring$ *
+ temp #2 global.max$ substring$ 'temp :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "vol." volume tie.or.space.connect
+ series empty$
+ {}
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {mid.sentence.q}
+{
+ separator empty = separator block = separator period = or or not
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ {series field.or.null}
+ { mid.sentence.q
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { add.period$ " In " * series quote * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { edition
+ mid.sentence.q { "l"} { "t"} if$
+ change.case$ " ed." *
+ }
+ if$
+}
+
+FUNCTION {format.publisher.address}
+{
+ publisher empty$ address empty$ and
+ {}
+ { space
+ address empty$ {"("} {"(" address *} if$
+ publisher empty$ address empty$ or {} {": " *} if$
+ publisher empty$ {} {publisher *} if$
+ ")" * plain.space output.nonnull
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 'temp :=
+ #0 'multiresult :=
+ { multiresult not
+ temp empty$ not
+ and
+ }
+ { temp #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { temp #2 global.max$ substring$ 'temp := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pp.~" pages n.dashify * }
+ { "p.~" pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.vol.num.pages}
+{ space
+ volume field.or.null
+ number empty$
+ {}
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ {}
+ if$
+ }
+ if$
+ pages empty$
+ {}
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ",~" * pages n.dashify * }
+ if$
+ }
+ if$
+ plain.space.output
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ {}
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.in.ed.booktitle}
+{ booktitle empty$
+ { booktitle "booktitle" item.check }
+ { space "In" plain.space output.nonnull
+ editor empty$
+ { space booktitle quoted space output.nonnull}
+ { space booktitle italic comma output.nonnull
+ comma format.editors.reverse plain.space output.nonnull}
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ {}
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ {}
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "in {\it " journal * "\/} \cite{" * crossref * "}" *}
+ if$
+ }
+ { add.period$ "In \citeasnoun{" crossref * "}" * }
+ if$
+
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "in "
+ }
+ { "Vol." volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\it " * series * "\/} \cite{" * crossref * "}" *}
+ if$
+ }
+ { " \citeasnoun{" * crossref * "}" * }
+ if$
+ }
+ { " \citeasnoun{" * crossref * "}" * }
+ if$
+}
+
+FUNCTION {output.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ }
+ { period "In {\it " booktitle * "\/}" * " \cite{" * crossref * "}" * plain.space output.nonnull}
+ if$
+ }
+ { period "In \citeasnoun{" crossref * "}" * plain.space output.nonnull}
+ if$
+ }
+ { period "In \citeasnoun{" crossref * "}" * plain.space output.nonnull}
+ if$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+INTEGERS { author.field editor.field organization.field title.field key.field }
+
+FUNCTION {init.field.constants}
+{ #0 'author.field :=
+ #1 'editor.field :=
+ #2 'organization.field :=
+ #3 'title.field :=
+ #4 'key.field :=
+}
+
+FUNCTION {format.lab.names.abbr}
+{ 'name.list :=
+ name.list num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #2 >
+ { name.list #1 "{vv~}{ll}" format.name$ " et al." * }
+ { name.list #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { name.list #1 "{vv~}{ll}" format.name$ " et al." * }
+ { name.list #1 "{vv~}{ll}" format.name$ " and " *
+ name.list #2 "{vv~}{ll}" format.name$ *
+ }
+ if$
+ }
+ if$
+ field.used editor.field = {", eds" *} {} if$
+ }
+ {
+ name.list #1 "{vv~}{ll}" format.name$
+ field.used editor.field = {", ed" *} {} if$
+ }
+ if$
+}
+
+FUNCTION {format.lab.names.full}
+{ 'name.list :=
+ #1 'nameptr :=
+ name.list num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { name.list nameptr "{vv~}{ll}" format.name$ 'temp :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * temp * }
+ { temp "others" =
+ { " et~al." * }
+ { " and " * temp * }
+ if$
+ }
+ if$
+ }
+ 'temp
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #1 > field.used editor.field = and {", eds" *} {} if$
+ numnames #1 = field.used editor.field = and {", ed" *} {} if$
+}
+
+FUNCTION {make.list.label}
+{ author.field field.used =
+ { format.authors }
+ { editor.field field.used =
+ { format.editors }
+ { organization.field field.used =
+ { "The " #4 organization chop.word}
+ { title.field field.used =
+ { format.btitle }
+ { key.field field.used =
+ { key #3 text.prefix$ }
+ { "Internal error :001 on " cite$ * " label" * warning$ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {make.full.label}
+{ author.field field.used =
+ { author format.lab.names.full }
+ { editor.field field.used =
+ { editor format.lab.names.full }
+ { organization.field field.used =
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ { title.field field.used =
+ { format.btitle }
+ { key.field field.used =
+ { key #3 text.prefix$ }
+ { "Internal error :001 on " cite$ * " label" * warning$ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {make.abbr.label}
+{ author.field field.used =
+ { author format.lab.names.abbr }
+ { editor.field field.used =
+ { editor format.lab.names.abbr }
+ { organization.field field.used =
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ { title.field field.used =
+ { format.btitle }
+ { key.field field.used =
+ { key #3 text.prefix$ }
+ { "Internal error :001 on " cite$ * " label" * warning$ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\harvarditem[" write$
+ make.abbr.label write$
+ "]{" write$
+ make.full.label write$
+ "}{" write$
+ list.year write$
+ "}{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ empty 'separator :=
+ plain 'attribute :=
+
+
+% FUNCTION {list.label.output}
+
+space make.list.label plain.space output.nonnull
+ "n.d." list.year =
+ {}
+ { space "(" list.year * ")" * plain.space output.nonnull}
+ if$
+}
+
+FUNCTION {format.title.if.not.sortkey}
+{title.field field.used =
+ {}
+ { format.title output }
+ if$}
+
+FUNCTION {format.title.if.not.sortkey.check}
+{title.field field.used =
+ {}
+ { format.title "title" output.check }
+ if$}
+
+FUNCTION {article}
+{ output.bibitem
+ author "author" item.check
+ format.title.if.not.sortkey.check
+ crossref missing$
+ { space journal italic space "journal" output.check
+ pages empty$
+ {}
+ {output.vol.num.pages}
+ if$
+ }
+ { space format.article.crossref plain.space output.nonnull
+ comma format.pages plain.space.output
+ }
+ if$
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { editor "author and editor" item.check }
+ { crossref missing$
+ { "author and editor" editor either.or.check }
+ {}
+ if$
+ }
+ if$
+ title.field field.used =
+ {}
+ { space title italic space "title" output.check }
+ if$
+ crossref missing$
+ {
+ space format.number.series plain.space.output
+ comma format.edition plain.space.output
+ comma format.bvolume plain.space.output
+ format.publisher.address
+ }
+ { space format.book.crossref plain.space output.nonnull
+ comma format.edition plain.space.output
+ }
+ if$
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.title.if.not.sortkey.check
+ space howpublished plain.space.output
+ space address plain.space.output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { editor "author and editor" item.check }
+ { crossref missing$
+ { "author and editor" editor either.or.check }
+ {}
+ if$
+ }
+ if$
+ title.field field.used =
+ {}
+ { space title italic space "title" output.check }
+ if$
+ crossref missing$
+ { space format.number.series plain.space.output
+ comma format.edition plain.space.output
+ comma format.bvolume plain comma output
+ format.publisher.address
+% space publisher plain.space "publisher" output.check
+% space address plain.space.output
+ }
+ { space format.book.crossref plain.space output.nonnull
+ comma format.edition plain.space.output
+ }
+ if$
+ format.chapter.pages "chapter and pages" output.check
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.title.if.not.sortkey.check
+ author "author" item.check
+ crossref missing$
+ { output.in.ed.booktitle
+ comma format.edition plain.space.output
+ comma format.bvolume plain.space.output
+ space format.number.series plain.space.output
+ format.publisher.address
+ }
+ { output.incoll.inproc.crossref }
+ if$
+ space format.chapter.pages plain.space.output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.title.if.not.sortkey.check
+ author "author" item.check
+ crossref missing$
+ { output.in.ed.booktitle
+ comma format.bvolume plain.space.output
+ space format.number.series plain.space.output
+ address empty$
+ { space organization plain.space.output
+ space publisher plain.space.output
+ }
+ { space organization plain.space.output
+ space publisher plain.space.output
+ space address plain.space output.nonnull
+ }
+ if$
+ }
+ { output.incoll.inproc.crossref}
+ if$
+ space format.pages plain.space.output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ title.field field.used =
+ {}
+ {author empty$ {comma}{space} if$
+ title italic space "title" output.check }
+ if$
+ organization.field field.used = organization empty$ or
+ {} {space organization plain.space output.nonnull} if$
+ comma format.edition plain.space.output
+ format.publisher.address
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ author "author" item.check
+ format.title.if.not.sortkey.check space "Master's thesis" format.thesis.type plain.space output.nonnull
+ comma school plain.space "school" output.check
+ comma address plain.space.output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.title.if.not.sortkey
+ space howpublished plain.space.output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ author "author" item.check
+ format.title.if.not.sortkey.check
+ space "PhD dissertation" format.thesis.type plain.space output.nonnull
+ comma school plain.space "school" output.check
+ comma address plain.space.output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ title.field field.used =
+ {}
+ { space title italic space "title" output.check }
+ if$
+ comma format.bvolume plain.space.output
+ space format.number.series plain.space.output
+ address empty$
+ { editor empty$
+ {}
+ { space organization plain.space.output
+ }
+ if$
+ space publisher plain.space.output
+ }
+ { editor empty$
+ {}
+ { space organization plain.space.output }
+ if$
+ space publisher plain.space.output
+ space address plain.space output.nonnull
+ }
+ if$
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ author "author" item.check
+ format.title.if.not.sortkey.check
+ space format.tr.number plain.space output.nonnull
+ institution empty$
+ {}
+ { comma institution plain.space "institution" output.check }
+ if$
+ comma address plain.space.output
+ comma month plain.space.output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ author "author" item.check
+ format.title.if.not.sortkey.check
+ note "note" item.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+READ
+
+EXECUTE {init.field.constants}
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { title empty$
+ { key.field 'field.used := }
+ { title.field 'field.used := }
+ if$
+ }
+ { author.field 'field.used := }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { title empty$
+ { key.field 'field.used := }
+ { title.field 'field.used := }
+ if$
+ }
+ { editor.field 'field.used := }
+ if$
+ }
+ { author.field 'field.used := }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { organization empty$
+ { title empty$
+ { key.field 'field.used := }
+ { title.field 'field.used := }
+ if$
+ }
+ { organization.field 'field.used := }
+ if$
+ }
+ { author.field 'field.used := }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { organization empty$
+ { title empty$
+ { key.field 'field.used := }
+ { title.field 'field.used := }
+ if$
+ }
+ { organization.field 'field.used := }
+ if$
+ }
+ { editor.field 'field.used := }
+ if$
+}
+
+FUNCTION {sort.format.title}
+{ 'temp :=
+ "A " #2
+ "An " #3
+ "The " #4 temp chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ make.abbr.label
+ title.field field.used =
+ { sort.format.title }
+ { sortify }
+ if$
+ year field.or.null purify$ #-1 #4 substring$ sortify
+ *
+ 'sort.label :=
+}
+
+FUNCTION {first.presort}
+{ calc.label
+ sort.label
+ title.field field.used =
+ {}
+ { " "
+ *
+ make.list.label sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {first.presort}
+
+SORT
+
+STRINGS { last.sort.label next.extra }
+
+INTEGERS { last.extra.num }
+
+FUNCTION {initialize.last.extra.num}
+{ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ {}
+ if$
+ year empty$
+ { "n.d." extra.label * 'list.year := }
+ { year extra.label * 'list.year := }
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.last.extra.num}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {second.presort}
+{ make.list.label
+ title.field field.used =
+ { sort.format.title }
+ { sortify }
+ if$
+ " "
+ *
+ list.year field.or.null sortify
+ *
+ " "
+ *
+ title.field field.used =
+ {}
+ { title field.or.null
+ sort.format.title
+ *
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {second.presort}
+
+SORT
+
+STRINGS { prev.author }
+
+INTEGERS { number.label }
+
+FUNCTION {initialize.longest.label}
+{
+ #1 'number.label :=
+ "abcxyz" 'prev.author :=
+}
+
+FUNCTION {longest.label.pass}
+{
+author empty$ { editor empty$ {"foo"} {editor} if$} {author} if$
+ prev.author =
+ { "\bysame" 'extra.label := }
+ { "" 'extra.label :=
+author empty$ { editor empty$ {"abcxyz"} {editor} if$} {author} if$
+ 'prev.author :=
+ }
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ {}
+ { preamble$ write$ newline$ }
+ if$
+ "\ifx\undefined\bysame" write$ newline$
+ "\newcommand{\bysame}{\leavevmode\hbox to\leftmargin{\hrulefill\,\,}}"
+ write$ newline$
+ "\fi" write$ newline$
+ "\begin{thebibliography}{xx}" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+ {newline$ "\end{thebibliography}" write$ newline$ }
+
+EXECUTE {end.bib}
+
diff --git a/biblio/bibtex/contrib/economic/cje.sty b/biblio/bibtex/contrib/economic/cje.sty
new file mode 100644
index 0000000000..356c9de5d9
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/cje.sty
@@ -0,0 +1,21 @@
+\message{Document style option `cje.sty' (29 May 1993) for LaTeX 2.09.}
+\textwidth=28pc
+\textheight=46pc
+
+\def\bysame{\leavevmode\hbox to\leftmargin{\leaders\hrule height 3pt depth -2.5pt\hfill\,\,}}
+
+\def\thebibliography#1{\section*{\refname\@mkboth
+ {\uppercase{\refname}}{\uppercase{\refname}}}\list
+ {\@biblabel{\arabic{enumiv}}}{\labelwidth=12pt
+ \labelsep=0pt
+ \leftmargin\labelwidth
+ \advance\leftmargin\labelsep
+ \itemsep=0pt\parsep=0pt
+ \usecounter{enumiv}%
+ \let\p@enumiv\@empty
+ \def\theenumiv{\arabic{enumiv}}}%
+ \def\newblock{\hskip .11em plus.33em minus.07em}%
+ \sloppy\clubpenalty4000\widowpenalty4000
+ \raggedright
+ \sfcode`\.=1000\relax}
+
diff --git a/biblio/bibtex/contrib/economic/ecca-ex.bib b/biblio/bibtex/contrib/economic/ecca-ex.bib
new file mode 100644
index 0000000000..c1cb4b09b9
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/ecca-ex.bib
@@ -0,0 +1,142 @@
+This file was created with JabRef 2.2.
+Encoding: ISO8859_1
+
+@INCOLLECTION{allen95,
+ author = {F. Allen and A. Winton},
+ title = {Corporate Financial Structure, Incentives and Optimal Contracting},
+ booktitle = {Handbooks in Operations Research and Management Science},
+ publisher = {Elsevier},
+ year = {1995},
+ editor = {R. A. Jarrow and V. Maksomivic and W. T. Ziemba},
+ volume = {9},
+ chapter = {Finance},
+ address = {New York}
+}
+
+@BOOK{atkinson92,
+ title = {Empirical Studies of Earnings Mobility},
+ publisher = {Harwood},
+ year = {1992},
+ author = {A. B. Atkinson and F. Bourguignon and C. Morrisson},
+ address = {New York}
+}
+
+@ARTICLE{bernanke88,
+ author = {B. Bernanke and A. Blinder},
+ title = {Credit, Money and Aggregate Demand},
+ journal = {American Economic Review, Papers and Proceedings},
+ year = {1988},
+ volume = {78},
+ pages = {435-9},
+ owner = {Arne},
+ timestamp = {2007.05.09}
+}
+
+@ARTICLE{bernanke95,
+ author = {B. Bernanke and M. Gertler},
+ title = {Inside the Black Box: The Credit Channel of Monetary Policy Transmission},
+ journal = {Journal of Economic Perspectives},
+ year = {1995},
+ volume = {9},
+ pages = {27-48},
+ number = {4},
+ owner = {Arne},
+ timestamp = {2007.05.09}
+}
+
+@ARTICLE{bernanke96,
+ author = {B. Bernanke and M. Gertler and S. Gilchrist},
+ title = {The Financial Accelerator and the Flight to Quality},
+ journal = {Review of Economics and Statistics},
+ year = {1996},
+ volume = {78},
+ pages = {1-152},
+ owner = {Arne},
+ timestamp = {2007.05.09}
+}
+
+@BOOK{brown00,
+ title = {My Favourite Brown Book},
+ publisher = {Brownpress},
+ year = {2000},
+ author = {Bobby Brown},
+ address = {Brownington},
+ owner = {Arne},
+ timestamp = {2007.05.09}
+}
+
+@INCOLLECTION{brown00a,
+ author = {Bobby Brown and Sally Smith},
+ title = {Econometric Analysis of the Banking Sector},
+ booktitle = {Quantitative Economic Analysis},
+ publisher = {Smith Publishing},
+ year = {2000},
+ editor = {Mary Miller},
+ pages = {12-34},
+ address = {Paris},
+ owner = {Arne},
+ timestamp = {2007.05.09}
+}
+
+@ARTICLE{jones99,
+ author = {John Jones},
+ title = {Estimation of Demand Elasticities},
+ journal = {My Favourite Journal},
+ year = {1999},
+ volume = {77},
+ pages = {77-99},
+ owner = {Arne},
+ timestamp = {2007.05.09}
+}
+
+@TECHREPORT{jones99a,
+ author = {John Jones},
+ title = {Estimation of Demand Curves},
+ institution = {Jones University},
+ year = {1999},
+ type = {Working Paper},
+ number = {234},
+ owner = {Arne},
+ timestamp = {2007.05.09}
+}
+
+@ARTICLE{jones98,
+ author = {John Jones and Sally Smith and Whitney White},
+ title = {Inefficiencies in the Banking Sector},
+ journal = {American Journal of Efficiency in Banking},
+ year = {1998},
+ volume = {58},
+ pages = {56-78},
+ owner = {Arne},
+ timestamp = {2007.05.09}
+}
+
+@ARTICLE{klein04,
+ author = {Susan Klein and Sally Smith and Whitney White},
+ title = {The {American} Tax System},
+ journal = {Journal of International Taxation},
+ year = {2004},
+ volume = {2},
+ pages = {134-156},
+ owner = {Arne},
+ timestamp = {2007.05.12}
+}
+
+@BOOK{klein06,
+ title = {{GDP} Growth in the {EU}},
+ publisher = {European Science Publishers},
+ year = {2006},
+ author = {Susan Klein and Whitney White},
+ address = {London},
+ owner = {Arne},
+ timestamp = {2007.05.12}
+}
+
+@comment{jabref-meta: selector_journal:}
+
+@comment{jabref-meta: selector_author:}
+
+@comment{jabref-meta: selector_keywords:}
+
+@comment{jabref-meta: selector_publisher:}
+
diff --git a/biblio/bibtex/contrib/economic/ecca-ex.pdf b/biblio/bibtex/contrib/economic/ecca-ex.pdf
new file mode 100644
index 0000000000..9ab786e16e
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/ecca-ex.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/economic/ecca-ex.tex b/biblio/bibtex/contrib/economic/ecca-ex.tex
new file mode 100644
index 0000000000..a11af99e1b
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/ecca-ex.tex
@@ -0,0 +1,183 @@
+\documentclass[endfloat]{ecca}
+\usepackage[T1]{fontenc}
+\usepackage[latin1]{inputenc}
+\usepackage{csquotes}
+\MakeInnerQuote{"}
+
+\usepackage{hyperref}
+\hypersetup{%
+ colorlinks = {true},
+ urlcolor = {blue},
+ linkcolor = {black},
+ citecolor = {black},
+ pdfauthor = {Arne Henningsen},
+ pdftitle = {Testing LaTeX class and BibTeX style for the
+ Journal Economica (ECCA)},
+ pdfkeywords = {Economica, BibTeX, LaTeX}
+}
+
+\usepackage{multido}
+
+\title{Testing \LaTeX{} class and Bib\TeX{} style for the
+ Journal ``Economica'' (ECCA)}
+\author{Arne Henningsen \and{} Jim Nobody}
+\keywords{Economica, BibTeX, LaTeX}
+\jelclass{A1, B2, C3}
+
+\begin{document}
+
+\maketitle
+
+\begin{abstract}
+\multido{}{15}{This is an abstract. }
+\end{abstract}
+
+\section*{Introduction}
+
+The first section header should not be numbered.
+Hence, use the starred \texttt{\textbackslash{}section} command
+for the header of this section,
+i.e.\ \texttt{\textbackslash{}section$^*$\{Introduction\}}.
+Type all (foot)notes at the end of the paper.%
+\footnote{
+\multido{}{5}{This is automatically done with the "endnote" package. }
+}
+Place (long) tables and figures at the end of the paper
+(see figure~\ref{fig:dummy} and table~\ref{tab:citations}).
+You can use the class option "\texttt{endfloat}" to move
+all float environments (figures and tables)
+to the end of the output file,
+i.e. use \texttt{\textbackslash{}documentclass[endfloat]\{ecca\}}.
+
+\begin{figure}[htbp]
+\centering
+\fbox{\parbox{0.6 \textwidth}{\centering
+ \vspace{0.2 \textwidth}
+ This is not a figure.
+ \vspace{0.2 \textwidth}
+}}
+\medskip\\
+Note: Do not forget to center your figures,
+i.e.\ use command \texttt{\textbackslash{}centering}.
+\caption{Dummy figure}
+\label{fig:dummy}
+\end{figure}
+
+\begin{figure}[htbp]
+\centering
+\fbox{\parbox{0.6 \textwidth}{\centering
+ \vspace{0.2 \textwidth}
+ This is not a figure, too.
+ \vspace{0.2 \textwidth}
+}}
+\caption{Figure with \multido{}{40}{very } long title}
+\label{fig:long-title}
+\end{figure}
+
+
+\section{Manuscript Formatting}
+The manuscript formatting instructions are available at
+\url{http://www.blackwellpublishing.com/ecca}.
+
+
+\section{Citations}
+\subsection{Citations in Text}
+
+\citeauthor{brown00} in a paper on \ldots
+
+\citet[p.~12]{brown00} has shown that \ldots
+
+A proof is given by \citet{jones98}.
+
+An overview is available in table~\ref{tab:citations}.
+
+\begin{table}[htbp]
+\centering
+\caption{Citations}
+\label{tab:citations}
+\begin{tabular}{lll}
+\hline
+Author(s) & Year & Citation\\
+\hline
+\citeauthor{brown00} & \citeyear{brown00} & \citet{brown00}\\
+\citeauthor{jones99} & \citeyear{jones99} & \citet{jones99}\\
+\citeauthor{jones99a} & \citeyear{jones99a} & \citet{jones99a}\\
+\citeauthor{brown00a} & \citeyear{brown00a} & \citet{brown00a}\\
+\citeauthor{jones98} & \citeyear{jones98} & \citet{jones98}\\
+\citeauthor{allen95} & \citeyear{allen95} & \citet{allen95}\\
+\citeauthor{atkinson92} & \citeyear{atkinson92} & \citet{atkinson92}\\
+\citeauthor{bernanke88} & \citeyear{bernanke88} & \citet{bernanke88}\\
+\citeauthor{bernanke95} & \citeyear{bernanke95} & \citet{bernanke95}\\
+\citeauthor{bernanke96} & \citeyear{bernanke96} & \citet{bernanke96}\\
+\hline
+\end{tabular}
+\medskip \\
+Notes: Do not use vertical lines in tables;
+do not forget to center your tables,
+i.e.\ use command \texttt{\textbackslash{}centering}.
+\end{table}
+
+
+\subsection{Citations in Parenthesis}
+
+This method has been criticised \citep{jones99a, jones99, brown00a}.
+
+
+\section{Equations}
+All displayed equations should be left-justified
+and --- where necessary --- numbered consecutively (on the left).
+\begin{equation}
+y = a + X b
+\end{equation}
+where $a$ is a scalar,
+$y$ and $b$ are vectors,
+and $X$ is a matrix.
+
+Now, we have an unnumbered equation
+\begin{equation*}
+\theta = \alpha + \Psi \beta
+\end{equation*}
+where $\alpha$ is a scalar,
+$\theta$ and $\beta$ are vectors,
+and $\Psi$ is a matrix.
+
+
+\section{Quotation Marks}
+The "Economica" requires single quotes.
+You can get pretty (typographically correct) quotation marks
+by adding the commands
+\verb!\usepackage{csquotes}!
+and
+\verb!\MakeInnerQuote{"}!
+in your preamble and use the \verb!"! sign for quation marks in your text.
+
+
+\section*{Acknowledgements}
+
+The Bib\TeX{} code to replace repeated author names by multiple dashes
+in the list of references has been kindly provided by
+Joseph A.\ Wright (\url{joseph.wright@morningstar2.co.uk}).
+
+
+\listofendnotes
+
+\appendix
+
+\section{Websites of the "Economica"}
+\begin{itemize}
+\item \url{http://www.blackwellpublishing.com/ecca}
+\item \url{http://darp.lse.ac.uk/Frankweb/Economica/EconomicaHome.htm}
+\end{itemize}
+
+\section{Proofs}
+\begin{equation*}
+14 = 2 \cdot 7 = 2 ( 3 + 4 ) = 2 \cdot 3 + 2 \cdot 4 = 6 + 8 = 14
+\end{equation*}
+
+
+\nocite{*}
+
+\bibliographystyle{ecca}
+\bibliography{ecca-ex}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/economic/ecca.bst b/biblio/bibtex/contrib/economic/ecca.bst
new file mode 100644
index 0000000000..1b1404a7fd
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/ecca.bst
@@ -0,0 +1,1655 @@
+%%% Journal "Economica" (ECCA)
+%%% bibliography style for use with LaTeX2e
+%%% version: 1.2 (15 May 2007)
+%%% license: LaTeX Project Public License (see below)
+%%% This file was created with makebst (see below) and modified
+%%% by Arne Henningsen.
+%%% The code to replace repeated author names by multiple dashes
+%%% has been kindly provided by
+%%% Joseph A. Wright <joseph.wright@morningstar2.co.uk>
+%%%
+%%% Note: This is an unofficial style file that may not fully comply
+%%% with the Guidelines of Economica in every detail.
+%%% Please report any problems at
+%%% http://sourceforge.net/projects/economtex/
+%%% Further information is available at
+%%% http://economtex.wiki.sourceforge.net/
+%%%
+%%% It is recommended to use the document class "ecca"
+%%%
+%%% Websites of the "Economica":
+%%% http://www.blackwellpublishing.com/ecca
+%%% http://darp.lse.ac.uk/Frankweb/Economica/EconomicaHome.htm
+%%
+%% This is file `ecca.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `ay,nat,nm-rev,jnrlst,nmdash,nmft,nmft-sc,nmand-rm,keyxyr,blkyear,dt-beg,yr-par,yrp-per,yrpp-xsp,note-yr,trtit-b,vol-bf,vnum-sp,volp-com,num-xser,numser,ser-vol,add-pub,pre-pub,edpar,blk-tit,pp,ed,abr,ord,and-xcom,etal-it,em-it,nfss,')
+%% ----------------------------------------
+%% *** Journal Economica ***
+%%
+%% Copyright 1994-2004 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2004/02/09 4.13 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is natbib.sty by Patrick W. Daly
+ % The form of the \bibitem entries is
+ % \bibitem[Jones et al.(1990)]{key}...
+ % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
+ % The essential feature is that the label (the part in brackets) consists
+ % of the author names, as they should appear in the citation, with the year
+ % in parentheses following. There must be no space before the opening
+ % parenthesis!
+ % With natbib v5.3, a full list of authors may also follow the year.
+ % In natbib.sty, it is possible to define the type of enclosures that is
+ % really wanted (brackets or parentheses), but in either case, there must
+ % be parentheses in the label.
+ % The \cite command functions as follows:
+ % \citet{key} ==>> Jones et al. (1990)
+ % \citet*{key} ==>> Jones, Baker, and Smith (1990)
+ % \citep{key} ==>> (Jones et al., 1990)
+ % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
+ % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
+ % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
+ % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
+ % \citeauthor{key} ==>> Jones et al.
+ % \citeauthor*{key} ==>> Jones, Baker, and Smith
+ % \citeyear{key} ==>> 1990
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ eid
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {no.blank.or.punct}
+{ "\hspace{0pt}" * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ new.sentence
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textit{" swap$ * "}" * }
+ if$
+}
+FUNCTION {bolden}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textbf{" swap$ * "}" * }
+ if$
+}
+FUNCTION {scaps}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textsc{" swap$ * "}" * }
+ if$
+}
+FUNCTION {bib.name.font}
+{ scaps }
+FUNCTION {bib.fname.font}
+{ bib.name.font }
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds." }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "edn." }
+
+FUNCTION {bbl.volume}
+{ "vol." }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "no." }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "pp." }
+
+FUNCTION {bbl.page}
+{ "p." }
+
+FUNCTION {bbl.chapter}
+{ "chap." }
+
+FUNCTION {bbl.techrep}
+{ "Tech. Rep." }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+FUNCTION {bbl.first}
+{ "1st" }
+
+FUNCTION {bbl.second}
+{ "2nd" }
+
+FUNCTION {bbl.third}
+{ "3rd" }
+
+FUNCTION {bbl.fourth}
+{ "4th" }
+
+FUNCTION {bbl.fifth}
+{ "5th" }
+
+FUNCTION {bbl.st}
+{ "st" }
+
+FUNCTION {bbl.nd}
+{ "nd" }
+
+FUNCTION {bbl.rd}
+{ "rd" }
+
+FUNCTION {bbl.th}
+{ "th" }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"Jun."}
+
+MACRO {jul} {"Jul."}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sep."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+FUNCTION {eng.ord}
+{ duplicate$ "1" swap$ *
+ #-2 #1 substring$ "1" =
+ { bbl.th * }
+ { duplicate$ #-1 #1 substring$
+ duplicate$ "1" =
+ { pop$ bbl.st * }
+ { duplicate$ "2" =
+ { pop$ bbl.nd * }
+ { "3" =
+ { bbl.rd * }
+ { bbl.th * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+STRINGS { bibinfo }
+INTEGERS { nameptr namesleft numnames lastmatch }
+
+STRINGS { oldnames namestring currentname exname exnametmp }
+INTEGERS { namecnt position }
+
+% This function builds up a list of names with no formatting.
+% The names are separtaed by semi-colons for easy unpicking
+FUNCTION {store.name}
+{ duplicate$
+ namestring swap$
+ ";" * *
+ 'namestring :=
+}
+
+FUNCTION {extract.name}
+{ #0 'namecnt :=
+ #0 'position :=
+ "" 'exnametmp :=
+ { oldnames text.length$ position >
+ nameptr namecnt > and }
+ { position #1 + 'position :=
+ oldnames position #1 substring$
+ duplicate$ ";" =
+ { pop$
+ namecnt #1 + 'namecnt :=
+ exnametmp 'exname :=
+ "" 'exnametmp := }
+ { exnametmp swap$ *
+ 'exnametmp := }
+ if$
+ }
+ while$
+ exname
+}
+
+FUNCTION {compare.name}
+{ duplicate$ 'currentname :=
+ nameptr #1 - lastmatch =
+ { extract.name currentname =
+ { pop$ "---"
+ nameptr 'lastmatch := }
+ 'skip$
+ if$
+ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ namestring 'oldnames := % Copy the stored names to the oldnames list
+ "" 'namestring := % and blank the current name string
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}{, f.}{, jj}"
+ format.name$
+ store.name
+ compare.name % Save the current name to our storage list
+ bib.name.font
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ #0 'lastmatch :=
+ }
+ if$
+}
+
+FUNCTION {format.names.ed}
+{
+ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{f.~}{vv~}{ll}{, jj}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+
+ " " * bbl.etal emphasize *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author "author" format.names
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ " " *
+ get.bbl.editor
+ "(" swap$ * ")" *
+ *
+ }
+ if$
+}
+FUNCTION {format.note}
+{
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ duplicate$ empty$ 'skip$
+ { "t" change.case$ }
+ if$
+ "title" bibinfo.check
+}
+FUNCTION {format.full.names}
+{'s :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[{" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "}]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in capitalize
+ " " * }
+
+FUNCTION {format.date}
+{ year "year" bibinfo.check duplicate$ empty$
+ {
+ }
+ 'skip$
+ if$
+ extra.label *
+ before.all 'output.state :=
+ " (" swap$ * ")" *
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { emphasize ", " * swap$ * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { number "number" bibinfo.check }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+FUNCTION {convert.edition}
+{ extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bbl.first 't := }
+ { s "second" = s "2" = or
+ { bbl.second 't := }
+ { s "third" = s "3" = or
+ { bbl.third 't := }
+ { s "fourth" = s "4" = or
+ { bbl.fourth 't := }
+ { s "fifth" = s "5" = or
+ { bbl.fifth 't := }
+ { s #1 #1 substring$ is.num
+ { s eng.ord 't := }
+ { edition 't := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ t
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ convert.edition
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ bbl.pages swap$
+ n.dashify
+ }
+ {
+ bbl.page swap$
+ }
+ if$
+ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ", " *
+ swap$
+ n.dashify
+ "pages" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.journal.eid}
+{ eid "eid" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$ 'skip$
+ {
+ ", " *
+ }
+ if$
+ swap$ *
+ }
+ if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ "volume" bibinfo.check
+ }
+ if$
+ bolden
+ number "number" bibinfo.check duplicate$ empty$ 'skip$
+ {
+ swap$ duplicate$ empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ swap$
+ "~(" swap$ * ")" *
+ }
+ if$ *
+ eid empty$
+ { format.journal.pages }
+ { format.journal.eid }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter}
+{ chapter empty$
+ { "" }
+ { type empty$
+ { "" }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ emphasize
+ * *
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+ emphasize
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ {
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ " " *
+ get.bbl.editor
+ "(" swap$ * "), " *
+ * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ capitalize
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ address "address" bibinfo.check *
+ t empty$
+ 'skip$
+ { address empty$
+ 'skip$
+ { ": " * }
+ if$
+ t *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.sentence
+ crossref missing$
+ {
+ journal
+ "journal" bibinfo.check
+ emphasize
+ "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.sentence
+ format.number.series output
+ format.publisher.address output
+ }
+ {
+ new.sentence
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.note output
+ fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.sentence
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.number.series output
+ format.publisher.address output
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.sentence
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ new.sentence
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.sentence
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.number.series output
+ format.bvolume output
+ format.chapter output
+ format.edition output
+ format.publisher.address output
+ format.pages output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.sentence
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.number.series output
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.bvolume output
+ format.pages output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ new.sentence
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ format.edition output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ new.sentence
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title output
+ new.sentence
+ howpublished "howpublished" bibinfo.check output
+ format.note output
+ fin.entry
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ new.sentence
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ new.sentence
+ format.tr.number output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ format.note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+READ
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+FUNCTION {format.lab.names}
+{ 's :=
+ "" 't :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$
+ " " * bbl.etal emphasize *
+ }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ { bbl.and space.word * s #2 "{vv~}{ll}" format.name$
+ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" * }
+ { t sortify * }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+SORT
+STRINGS { last.label next.extra }
+INTEGERS { last.extra.num number.label }
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+EXECUTE {initialize.extra.label.stuff}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+ITERATE {bib.sort.order}
+SORT
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\providecommand{\natexlab}[1]{#1}"
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `ecca.bst'.
diff --git a/biblio/bibtex/contrib/economic/ecca.cls b/biblio/bibtex/contrib/economic/ecca.cls
new file mode 100644
index 0000000000..2b9bfa9a67
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/ecca.cls
@@ -0,0 +1,252 @@
+%%% LaTeX class for manuscripts submitted to the
+%%% Journal "Economica" (ecca)
+%%%
+%%% author: Arne Henningsen
+%%% version: 1.1 (01 Feb 2009)
+%%% license: LaTeX Project Public License
+%%%
+%%% Note: This is an unofficial style file that may not fully comply
+%%% with the Formatting Instructions of the "Economica" in every detail.
+%%% Please report any problems at
+%%% http://sourceforge.net/projects/economtex/
+%%% Further information is available at
+%%% http://economtex.wiki.sourceforge.net/
+%%%
+%%% This document class is based on the "scrartcl" class
+%%% from the KOMA script bundle.
+%%% Following additional packages are required:
+%%% amsmath, babel, courier, endfloat, endnotes, geometry,
+%%% helvet, ifthen, mathptmx, natbib, setspace, url
+%%%
+%%% The corresponding BibTeX style file "ecca.bst" should be used
+%%% for the bibliography: \bibliographystyle{ecca}
+%%%
+%%% This document class provides 3 new commands:
+%%% \keywords can be used to show keywors below the abstract
+%%% \jelclass can be used to show JEL classifications below the abstract
+%%% \affiliation can be used spefify the affiliation(s) of the author(s)
+%%%
+%%% The Economica requires that you use single quotes
+%%% you could do this with the ``csquotes'' package:
+%%% \usepackage{csquotes}
+%%% \MakeInnerQuote{<yourQuoteCharacter>}
+%%%
+%%% If you use footnotes, add following line before the reference section:
+%%% \listofendnotes
+%%%
+%%% Websites of the "Economica":
+%%% http://www.blackwellpublishing.com/ecca
+%%% http://darp.lse.ac.uk/Frankweb/Economica/EconomicaHome.htm
+
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{ecca}[2009/02/01 LaTeX class for the Journal 'Economica']
+
+\RequirePackage{ifthen}
+
+% option to place floats at the end
+\newcounter{UseEndfloat}
+\setcounter{UseEndfloat}{0}
+\DeclareOption{endfloat}{\setcounter{UseEndfloat}{1}}
+
+% pass any options on to the scrartcl class and load this class with some options
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
+\ProcessOptions\relax
+\LoadClass[12pt,english,pointlessnumbers,tablecaptionabove,
+ noonelinecaption]{scrartcl}
+% pointlessnumbers = do not add final dot after ordinary section numbers
+% tablecaptionabove = use \captionabove for tables
+% noonelinecaption = do not treat one-line captions differently
+
+% use babel package and set language to english
+\RequirePackage[english]{babel}
+
+% page format, margins
+\RequirePackage{geometry}
+\geometry{a4paper, tmargin=2.5cm, bmargin=2.8cm, lmargin=2.5cm,
+ rmargin=2.5cm, headheight=0cm, headsep=0cm, footskip=1.2cm }
+
+% double spacing
+\RequirePackage{setspace}
+\doublespacing
+
+% spacing around formulas
+\AtBeginDocument{
+\setlength{\abovedisplayshortskip}{6pt}
+\setlength{\belowdisplayshortskip}{6pt}
+\setlength{\abovedisplayskip}{6pt}
+\setlength{\belowdisplayskip}{6pt}
+\allowdisplaybreaks
+}
+
+% spacing around captions and floats
+\setlength{\abovecaptionskip}{6pt}
+\setlength{\belowcaptionskip}{3pt}
+\setlength{\floatsep}{0pt}
+\setlength{\textfloatsep}{20pt}
+\setlength{\intextsep}{15pt}
+
+% font families: times/helvetica/courier
+\RequirePackage{mathptmx}
+\RequirePackage[scaled=0.90]{helvet}
+\RequirePackage{courier}
+
+% amsmath
+\RequirePackage[leqno,fleqn]{amsmath}
+% leqno = equations are numbered at the left of the page
+% for compatibility with ajae.cls
+\newcommand{\veclatin}[1]{#1}
+\newcommand{\matlatin}[1]{#1}
+\newcommand{\vecgreek}[1]{#1}
+\newcommand{\matgreek}[1]{#1}
+
+% font for URLs
+\RequirePackage{url}
+\def\UrlFont{\rmfamily}
+
+%% formatting section headers
+% numbered by Roman numerals
+\renewcommand{\thesection}{\Roman{section}.}
+% font
+\setkomafont{section}{\normalfont \scshape}
+% center section headers (copied from scrartcl.cls and modified thereafter)
+\renewcommand\section{\@startsection{section}{1}{\z@}%
+ {-2.0ex \@plus -1ex \@minus -.2ex}%
+ {0.5ex \@plus.2ex}%
+ {\setlength{\parfillskip}{\z@ \@plus 1fil}%
+ \raggedsection\normalfont\sectfont\nobreak\size@section\nobreak \centering }}
+% do not number section "Introduction"
+% \let\sectionOrig\section
+% \renewcommand{\section}[1]{
+% \ifthenelse{ \equal{ #1 }{ Introduction } }
+% {\sectionOrig*{#1}}
+% {\sectionOrig{#1}}
+% }
+
+%% formatting subsection headers
+% numbered alphabetically
+\renewcommand{\thesubsection}{(\alph{subsection})}
+% font
+\setkomafont{subsection}{\normalfont \itshape}
+
+% citations and bibliography
+\RequirePackage[authoryear]{natbib}
+\AtBeginDocument{\renewcommand{\refname}{REFERENCES}}
+\setlength{\bibsep}{0pt}
+
+%% use endnotes in place of footnotes
+\RequirePackage{endnotes}
+\renewcommand{\notesname}{NOTES}
+\let\footnote=\endnote
+\newcommand{\listofendnotes}{
+ \begingroup
+ \parindent 0pt
+ \parskip 0ex
+ \def\enotesize{\normalsize}
+ \theendnotes
+ \endgroup
+}
+% use normalsize numbers (copied from endnote.sty and modified thereafter)
+\def\enoteformat{\rightskip\z@ \leftskip\z@ \parindent=0em
+ \leavevmode\llap{\theenmark. }}
+
+%% modify section headers in the appendix
+% (copied from scrartcl.cls and modified thereafter)
+\renewcommand*\appendix{\par%
+ \setcounter{section}{0}%
+ \setcounter{subsection}{0}%
+ \renewcommand*\thesection{Appendix~\@Alph\c@section}%
+ \let\othersectionlevelsformat\othersectionlevelsformatAppendix
+ \@ifundefined{appendixmore}{}{\appendixmore}}
+\newcommand*{\othersectionlevelsformatAppendix}[1]{%
+ \ifthenelse{ \equal{ #1 }{ section } }
+ {\csname the#1\endcsname : \enskip}
+ {\csname the#1\endcsname\autodot\enskip}
+}
+
+
+% captions of figures and tables
+\setcapwidth[c]{\textwidth}
+\setcapindent*{0pt}
+\setkomafont{captionlabel}{\centering \scshape}
+\setkomafont{caption}{\centering \scshape}
+\renewcommand{\captionformat}{}
+
+% move floats to the end of the paper
+\ifthenelse{\equal{\theUseEndfloat}{1}}{
+ \RequirePackage[heads,nolists,tablesfirst]{endfloat}
+ \renewcommand{\figureplace}{%
+ \begin{center}
+ [\figurename~\thepostfig\ here]
+ \end{center}
+ }
+ \renewcommand{\tableplace}{%
+ \begin{center}
+ [\tablename~\theposttbl\ here]
+ \end{center}
+ }
+}{}
+
+% titlepage with title, author, affiliation and date
+\newcommand{\affiliation}[1]{\newcommand{\@affiliation}{#1}}
+\renewcommand{\and}{{\normalfont and}}
+\renewcommand{\maketitle}{
+ \begin{center}
+ \begin{Large}
+ \begin{spacing}{1.25}
+ \@title
+ \end{spacing}
+ \end{Large}
+ \vspace*{5mm}
+ By \textsc{\@author}\\
+ \ifthenelse{ \isundefined\@affiliation }{}{
+ \vspace*{3mm}
+ \textit{\@affiliation}\\
+ }
+ \vspace*{3mm}
+ \@date\\
+ \vspace*{3mm}
+ \end{center}
+}
+
+
+% abstract, keywords, JEL classification
+\newcommand{\keywords}[1]{\newcommand{\@keywords}{#1}}
+\newcommand{\jelclass}[1]{\newcommand{\@jelclass}{#1}}
+\renewenvironment{abstract}{%
+\begin{center}
+\begin{minipage}{0.94 \textwidth}
+\small
+}{%
+\ifthenelse{ \isundefined\@keywords }{
+\ClassWarningNoLine{ajae}{No keywords specified.
+ Please use the command \protect\keywords}
+}{
+
+\medskip \noindent
+Key words: \@keywords
+}
+\ifthenelse{ \isundefined\@jelclass }{
+\ClassWarningNoLine{ajae}{No JEL classification specified.
+ Please use the command \protect\jelclass}
+}{
+
+\medskip \noindent
+JEL classification: \@jelclass
+}
+\end{minipage}
+\end{center}%
+\noindent%
+}
+
+% avoid clubs and widows
+\clubpenalty=10000
+\widowpenalty=10000
+% \displaywidowpenalty=10000
+
+% increase stretchability of the spaces (avoid overful hboxes)
+\setlength{\emergencystretch}{3em}
+
+% for compatibility with erae.cls
+\newcommand{\citetPage}[2]{\citeauthor{#2} (\citeyear{#2}, p.~#1)}
+\newcommand{\citepPage}[2]{\citetext{\citealp{#2}, p.~#1}}
diff --git a/biblio/bibtex/contrib/economic/econometrica-fr.bst b/biblio/bibtex/contrib/economic/econometrica-fr.bst
new file mode 120000
index 0000000000..5a5db4ad0e
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/econometrica-fr.bst
@@ -0,0 +1 @@
+../../../../obsolete/biblio/bibtex/contrib/economic/econometrica-fr.bst \ No newline at end of file
diff --git a/biblio/bibtex/contrib/economic/econometrica.bst b/biblio/bibtex/contrib/economic/econometrica.bst
new file mode 120000
index 0000000000..ae421ad862
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/econometrica.bst
@@ -0,0 +1 @@
+../../../../obsolete/biblio/bibtex/contrib/economic/econometrica.bst \ No newline at end of file
diff --git a/biblio/bibtex/contrib/economic/ecta.bst b/biblio/bibtex/contrib/economic/ecta.bst
new file mode 100644
index 0000000000..b1a55208cb
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/ecta.bst
@@ -0,0 +1,1503 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%% Econometrica bibliography style,
+%%%
+%%% for use with LaTeX2e and Natbib (or chicago), named style following the
+%%% recommendations of Fudenberg and Hodges (1997),
+%%% Econometrica Vol. 65, N. 4, pp. 965--975,
+%%% found at http://www.econometricsociety.org/manual/manual.html
+%%% for submission to Econometrica.
+%%%
+%%% by Sebastian Perez-Duarte, perez@ensae.fr (2000)
+%%%
+%%% Based on Makebst by Patrick Daly
+%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%% SUMMARY %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%% Compared to the bst file econometrica.bst (by KC Border), the present
+%%% style file is closer to the canonical way of presenting the list of
+%%% references in Econometrica, a publication of the Econometric Society.
+%%%
+%%% The main differences are: the format of the address, the absence of number
+%%% in articles.
+%%%%%%%%%%%%%%%%%%%%%%%%%%%% LICENSE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%% This generated file can be redistributed and/or modified under the terms
+%%% of the LaTeX Project Public License Distributed from CTAN
+%%% archives in directory macros/latex/base/lppl.txt; either
+%%% version 1 of the License, or any later version.
+%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%% END %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% This is file `ecta.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `ay,cay,nm-rev1,nmdash,nmft,nmft-sc,keyxyr,dt-beg,yr-par,yrp-col,note-yr,tit-qq,atit-u,thtit-a,vnum-x,volp-com,num-xser,bkpg-x,add-pub,pre-pub,edby,blk-com,ppx,ed,abr,ednx,xedn,nfss')
+%% ----------------------------------------
+%% *** Econometrica -- close ***
+%%
+%% Copyright 1994-2000 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2000/05/04 4.01 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is natbib.sty by Patrick W. Daly
+ % or: chicago.sty
+ % The form of the bibitem entries is
+ % \bibitem[\protect\citeauthoryear{Jones, Baker, and Smith}
+ % {Jones et al.}{1990}{key}...
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ ":" *
+ add.blank
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+FUNCTION {non.stop}
+{ duplicate$
+ "}" * add.period$
+ #-1 #1 substring$ "." =
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+FUNCTION {scaps}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textsc{" swap$ * "}" * }
+ if$
+}
+FUNCTION {bib.name.font}
+{ scaps }
+FUNCTION {bib.fname.font}
+{ bib.name.font }
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds." }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "ed. by" }
+
+FUNCTION {bbl.edition}
+{ "ed." }
+
+FUNCTION {bbl.volume}
+{ "vol." }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "no." }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "" }
+
+FUNCTION {bbl.page}
+{ "" }
+
+FUNCTION {bbl.chapter}
+{ "chap." }
+
+FUNCTION {bbl.techrep}
+{ "Tech. Rep." }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"Jun."}
+
+MACRO {jul} {"Jul."}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sep."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+STRINGS { bibinfo}
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ duplicate$ #1 >
+ { "{f.~}{vv~}{ll}{, jj}" }
+ { "{vv~}{ll}{, jj}{, f.}" }
+ if$
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ bib.name.font
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ t "others" =
+ 'skip$
+ { bib.name.font }
+ if$
+ } if$
+}
+FUNCTION {format.names.ed}
+{
+ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{f.~}{vv~}{ll}{, jj}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+
+ " " * bbl.etal *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author "author" format.names
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ "," *
+ " " *
+ get.bbl.editor
+ *
+ }
+ if$
+}
+FUNCTION {format.note}
+{
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ "\enquote{" swap$ *
+ non.stop
+ { ",} " * }
+ { "} " * }
+ if$
+ }
+ if$
+}
+FUNCTION {end.quote.title}
+{ title empty$
+ 'skip$
+ { before.all 'output.state := }
+ if$
+}
+FUNCTION {format.full.names}
+{'s :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ "\protect\citeauthoryear{" make.full.names * "}{" * write$
+ label write$
+ "}{" year duplicate$ empty$
+ { pop$ "????" }
+ 'skip$
+ if$
+ * extra.label * "}]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in
+ " " * }
+
+FUNCTION {format.date}
+{ year "year" bibinfo.check duplicate$ empty$
+ {
+ "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????"
+ }
+ 'skip$
+ if$
+ extra.label *
+ before.all 'output.state :=
+ " (" swap$ * ")" *
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ bbl.of space.word * swap$
+ emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { number "number" bibinfo.check }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ n.dashify
+ }
+ {
+ }
+ if$
+ "pages" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ", " *
+ swap$
+ n.dashify
+ "pages" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ "volume" bibinfo.check
+ }
+ if$
+ format.journal.pages
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+ emphasize
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ {
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ bbl.edby
+ " " * swap$ *
+ swap$
+ "," *
+ " " * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ address "address" bibinfo.check *
+ t empty$
+ 'skip$
+ { address empty$
+ 'skip$
+ { ": " * }
+ if$
+ t *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+STRINGS {oldname}
+
+FUNCTION {name.or.dash}
+{ 's :=
+ oldname empty$
+ { s 'oldname := s }
+ { s oldname =
+% { "---" } old style
+ { "---\hspace{-.1pt}---\hspace{-.1pt}---" }
+%SPD 2000
+ { s 'oldname := s }
+ if$
+ }
+ if$
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ {
+ journal
+ "journal" bibinfo.check
+ emphasize
+ "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ name.or.dash
+ }
+ { format.authors output.nonnull
+ name.or.dash
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ format.publisher.address output
+ }
+ {
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.note output
+ fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ name.or.dash
+ }
+ { format.authors output.nonnull
+ name.or.dash
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.publisher.address output
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ format.number.series output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.publisher.address output
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ format.edition output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ end.quote.title
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title output
+ end.quote.title
+ howpublished "howpublished" bibinfo.check output
+ format.note output
+ fin.entry
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ end.quote.title
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ end.quote.title
+ format.tr.number output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ format.note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+READ
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+FUNCTION {format.lab.names}
+{ 's :=
+ "" 't :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$
+ " " * bbl.etal *
+ }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ " " * bbl.etal *
+ }
+ { bbl.and space.word * s #2 "{vv~}{ll}" format.name$
+ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ ", "
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {calc.short.label}
+{ calc.short.authors short.list
+ 'label :=
+}
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" * }
+ { t sortify * }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+SORT
+STRINGS { last.label next.extra }
+INTEGERS { last.extra.num number.label }
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+}
+EXECUTE {initialize.extra.label.stuff}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+ calc.short.label
+}
+ITERATE {bib.sort.order}
+SORT
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\newcommand{\enquote}[1]{``#1''}"
+ write$ newline$
+ "\expandafter\ifx\csname natexlab\endcsname\relax\def\natexlab#1{#1}\fi"
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `econm.bst'.
diff --git a/biblio/bibtex/contrib/economic/erae-ex.bib b/biblio/bibtex/contrib/economic/erae-ex.bib
new file mode 100644
index 0000000000..5ac2aec695
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/erae-ex.bib
@@ -0,0 +1,42 @@
+This file was created with JabRef 1.7.
+Encoding: ISO8859_1
+
+@ARTICLE{Monier98,
+ author = {S. Monier-Dilhan and H. Ossard},
+ title = {Producers' Loss due to Asymmetric Information: An Application to a Specific Case},
+ journal = {European Review of Agricultural Economics},
+ year = {1998},
+ volume = {25},
+ pages = {155-169},
+}
+
+@INCOLLECTION{Steenkamp97,
+ author = {J.-B. E. M. Steenkamp},
+ title = {Dynamics in Consumer Behaviour with Respect to Agricultural and Food Products},
+ booktitle = {Agricultural Marketing and Consumer Behaviour in a Changing World},
+ publisher = {Kluwer Academic Publishers},
+ year = {1997},
+ editor = {B. Wieringa and A. van Tilburg and K. Grunert and J.-B. E. M. Steenkamp and M. Wedel},
+ pages = {143-188},
+ address = {Dordrecht},
+}
+
+@INPROCEEDINGS{Zeller97,
+ author = {Manfred Zeller and Gertrud Schrieder and Joachim von Braun and Franz Heidhues},
+ title = {Rural Finance for Food Security for the Poor: Implications for Research and Policy},
+ year = {1997},
+ volume = {4},
+ series = {Food Policy Review},
+ address = {Washington DC},
+ organization = {International Food Policy Research Institute (IFPRI)},
+ publisher = {IFPRI},
+}
+
+@BOOK{Swinnen97,
+ title = {Political Economy of Agrarian Reform in Central and Eastern Europe},
+ publisher = {Ashgate},
+ year = {1997},
+ editor = {Johan F. M. Swinnen},
+ address = {Aldershot, UK},
+}
+
diff --git a/biblio/bibtex/contrib/economic/erae-ex.pdf b/biblio/bibtex/contrib/economic/erae-ex.pdf
new file mode 100644
index 0000000000..107accea81
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/erae-ex.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/economic/erae-ex.tex b/biblio/bibtex/contrib/economic/erae-ex.tex
new file mode 100644
index 0000000000..d81102d680
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/erae-ex.tex
@@ -0,0 +1,151 @@
+\documentclass{erae}
+\usepackage[T1]{fontenc}
+\usepackage[latin1]{inputenc}
+\usepackage{csquotes}
+\MakeInnerQuote{"}
+
+\usepackage{textcomp}
+\usepackage{multido}
+
+\usepackage{hyperref}
+\hypersetup{%
+ colorlinks = {true},
+ urlcolor = {blue},
+ linkcolor = {black},
+ citecolor = {black},
+ pdfauthor = {Arne Henningsen},
+ pdftitle = {Testing LaTeX class and BibTeX style for the
+ European Review of Agricultural Economics (AJAE)},
+ pdfkeywords = {ERAE, BibTeX, LaTeX}
+}
+
+\usepackage{multido}
+
+\title{Testing \LaTeX{} class and Bib\TeX{} style for the
+ `European Review of Agricultural Economics' (ERAE)}
+\keywords{ERAE, BibTeX, LaTeX}
+\jelclass{A1, B2, C3}
+
+\begin{document}
+
+\maketitle
+
+\begin{abstract}
+\multido{}{15}{This is an abstract. }
+\end{abstract}
+
+\section{Introduction}
+\multido{}{7}{This is an introduction. }
+
+Footnotes should appear at the end of the page in which they are inserted.%
+\footnote{
+\multido{}{10}{This is a footnote. }
+}
+"Single quotation marks" can be conveniently inserted using
+the "csquotes" package:
+add the lines\\
+\verb!\usepackage{csquotes}!\\
+\verb!\MakeInnerQuote{"}!\\
+to the preamble of your \LaTeX{} file and use the inch symbol~(\verb!"!)
+for quotation marks.%
+\footnote{%
+Of course, you can also define another symbol in the command
+\texttt{\textbackslash{}MakeInnerQuote},
+e.g.\ the degree sign~($^{\circ}$).
+}
+Collect tables and figures at the end of the manuscript
+(see figure~\ref{fig:dummy} and table~\ref{tab:citations}).
+
+\begin{figure}[htbp]
+\fbox{\parbox{0.6 \textwidth}{\centering
+ \vspace{0.2 \textwidth}
+ This is not a figure.
+ \vspace{0.2 \textwidth}
+}}
+\caption{Dummy figure}
+\label{fig:dummy}
+\end{figure}
+
+\begin{figure}[htbp]
+\fbox{\parbox{0.6 \textwidth}{\centering
+ \vspace{0.2 \textwidth}
+ This is not a figure, too.
+ \vspace{0.2 \textwidth}
+}}
+\caption{Figure with \multido{}{40}{very } long title}
+\label{fig:long-title}
+\end{figure}
+
+\section{Manuscript Formatting}
+Instructions to authors including formatting guidelines are available at
+\url{http://www.oxfordjournals.org/erae/for_authors/index.html}.
+All references used as examples in these guidelines are shown in this document
+to demonstrate that the ERAE Bib\TeX{} style complies with these guidelines.
+Please report any problems at
+\url{http://sourceforge.net/projects/economtex/}.
+
+
+\section{Citations}
+\subsection{Citations in Text}
+\citet{Monier98} say A, \citet{Steenkamp97} says B,
+\citet{Swinnen97} says C, and \citet{Zeller97} say D.
+An overview is available in table~\ref{tab:citations}.
+
+\begin{table}[htbp]
+\caption{Citations}
+\label{tab:citations}
+\begin{tabular}{lc}
+\hline
+Author(s) & Statement\\
+\hline
+\citet{Monier98} & A\\
+\citet{Steenkamp97} & B\\
+\citet{Swinnen97} & C\\
+\citet{Zeller97} & D\\
+\hline
+\end{tabular}
+\medskip \\
+Note: Avoid vertical lines.
+\end{table}
+
+
+\subsection{Citations in Parenthesis}
+A equals B \citep{Monier98}, B equals C \citep{Steenkamp97},
+C equals D \citep{Swinnen97}, and D equals A \citep{Zeller97}.
+Hence, A, B, C, and D are all equal
+\citep{Monier98, Steenkamp97, Swinnen97, Zeller97}.
+
+\subsection{Citations with Page Numbers}
+Citations with page numbers can be coveniently inserted using the commands
+\texttt{$\backslash$citetPage} and \texttt{$\backslash$citepPage}.
+
+\citetPage{123}{Monier98} say A, \citetPage{234}{Steenkamp97} says B,
+\citetPage{345}{Swinnen97} says C, and \citetPage{456}{Zeller97} say D.
+A equals B \citepPage{123}{Monier98}, B equals C \citepPage{234}{Steenkamp97},
+C equals D \citepPage{345}{Swinnen97}, and D equals A \citepPage{456}{Zeller97}.
+
+
+\section{Equations}
+All displayed equations should be centered
+and numbered consecutively (on the right).
+\begin{equation}
+y = a + X b
+\end{equation}
+where $a$ is a scalar,
+$y$ and $b$ are vectors,
+and $X$ is a matrix.
+Of course, you may also use Greek symbols.
+\begin{equation}
+\theta = \alpha + \Psi \beta
+\end{equation}
+where $\alpha$ is a scalar,
+$\theta$ and $\beta$ are vectors,
+and $\Psi$ is a matrix.
+
+\clearpage
+\nocite{*}
+
+\bibliographystyle{erae}
+\bibliography{erae-ex}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/economic/erae.bst b/biblio/bibtex/contrib/economic/erae.bst
new file mode 100644
index 0000000000..8bfcab9960
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/erae.bst
@@ -0,0 +1,1533 @@
+%%% European Review of Agricultural Economics (ERAE)
+%%% bibliography style for use with LaTeX2e
+%%% version: 1.1 (17 August 2009)
+%%% license: LaTeX Project Public License (see below)
+%%% This file was created with makebst (see below) and modified
+%%% by Arne Henningsen.
+%%% Note: This is an unofficial style file that may not fully comply
+%%% with the ERAE reference guidelines in every detail.
+%%% Please report any problems at
+%%% http://sourceforge.net/projects/economtex/
+%%% Further information is available at
+%%% http://economtex.wiki.sourceforge.net/
+%%%
+%%% The following line has to be added to the LaTeX preamble:
+%%% \usepackage[authoryear]{natbib}
+%%%
+%%
+%% This is file `erae.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `ay,nat,vonx,nm-rev,ed-rev,jnrlst,keyxyr,dt-beg,yr-par,yrp-per,yrpp-xsp,note-yr,jttl-rm,trtit-b,vnum-x,volp-sp,pp-last,num-xser,numser,jnm-x,btit-rm,bt-rm,add-pub,pre-pub,doi,edpar,blk-tit,ppx,ed,abr,ednx,ord,and-xcom,em-x,')
+%% ----------------------------------------
+%% *** ERAE ***
+%%
+%% Copyright 1994-2005 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2005/10/17 4.14 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is natbib.sty by Patrick W. Daly
+ % The form of the \bibitem entries is
+ % \bibitem[Jones et al.(1990)]{key}...
+ % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
+ % The essential feature is that the label (the part in brackets) consists
+ % of the author names, as they should appear in the citation, with the year
+ % in parentheses following. There must be no space before the opening
+ % parenthesis!
+ % With natbib v5.3, a full list of authors may also follow the year.
+ % In natbib.sty, it is possible to define the type of enclosures that is
+ % really wanted (brackets or parentheses), but in either case, there must
+ % be parentheses in the label.
+ % The \cite command functions as follows:
+ % \citet{key} ==>> Jones et al. (1990)
+ % \citet*{key} ==>> Jones, Baker, and Smith (1990)
+ % \citep{key} ==>> (Jones et al., 1990)
+ % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
+ % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
+ % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
+ % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
+ % \citeauthor{key} ==>> Jones et al.
+ % \citeauthor*{key} ==>> Jones, Baker, and Smith
+ % \citeyear{key} ==>> 1990
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ doi
+ edition
+ editor
+ eid
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {no.blank.or.punct}
+{ "\hspace{0pt}" * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ new.sentence
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "\/}" * }
+ if$
+}
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds" }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "ed." }
+
+FUNCTION {bbl.volume}
+{ "vol." }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "no." }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "" }
+
+FUNCTION {bbl.page}
+{ "" }
+
+FUNCTION {bbl.chapter}
+{ "chap." }
+
+FUNCTION {bbl.techrep}
+{ "Tech. Rep." }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+FUNCTION {bbl.first}
+{ "1st" }
+
+FUNCTION {bbl.second}
+{ "2nd" }
+
+FUNCTION {bbl.third}
+{ "3rd" }
+
+FUNCTION {bbl.fourth}
+{ "4th" }
+
+FUNCTION {bbl.fifth}
+{ "5th" }
+
+FUNCTION {bbl.st}
+{ "st" }
+
+FUNCTION {bbl.nd}
+{ "nd" }
+
+FUNCTION {bbl.rd}
+{ "rd" }
+
+FUNCTION {bbl.th}
+{ "th" }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"Jun."}
+
+MACRO {jul} {"Jul."}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sep."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+FUNCTION {eng.ord}
+{ duplicate$ "1" swap$ *
+ #-2 #1 substring$ "1" =
+ { bbl.th * }
+ { duplicate$ #-1 #1 substring$
+ duplicate$ "1" =
+ { pop$ bbl.st * }
+ { duplicate$ "2" =
+ { pop$ bbl.nd * }
+ { "3" =
+ { bbl.rd * }
+ { bbl.th * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+STRINGS { bibinfo}
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ll}{, f.}{, jj}{ vv}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.names.ed}
+{
+ format.names
+}
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author "author" format.names
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ " " *
+ get.bbl.editor
+ "(" swap$ * ")" *
+ *
+ }
+ if$
+}
+FUNCTION {format.doi}
+{ doi "doi" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ "\doi{" swap$ * "}" *
+ }
+ if$
+}
+FUNCTION {format.note}
+{
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ duplicate$ empty$ 'skip$
+ { "t" change.case$ }
+ if$
+ "title" bibinfo.check
+}
+FUNCTION {format.full.names}
+{'s :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[{" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "}]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in capitalize
+ " " * }
+
+FUNCTION {format.date}
+{ year "year" bibinfo.check duplicate$ empty$
+ {
+ "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????"
+ }
+ 'skip$
+ if$
+ extra.label *
+ before.all 'output.state :=
+ " (" swap$ * ")" *
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { series "series" bibinfo.check
+ volume "volume" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ "" space.word * swap$
+ emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { number "number" bibinfo.check }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+FUNCTION {convert.edition}
+{ extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bbl.first 't := }
+ { s "second" = s "2" = or
+ { bbl.second 't := }
+ { s "third" = s "3" = or
+ { bbl.third 't := }
+ { s "fourth" = s "4" = or
+ { bbl.fourth 't := }
+ { s "fifth" = s "5" = or
+ { bbl.fifth 't := }
+ { s #1 #1 substring$ is.num
+ { s eng.ord 't := }
+ { edition 't := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ t
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ convert.edition
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ n.dashify
+ }
+ {
+ }
+ if$
+ "pages" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ": " *
+ swap$
+ n.dashify
+ "pages" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.journal.eid}
+{ eid "eid" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$ 'skip$
+ {
+ ": " *
+ }
+ if$
+ swap$ *
+ }
+ if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ "volume" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ { "" }
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+ emphasize
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ {
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ " " *
+ get.bbl.editor
+ "(" swap$ * "), " *
+ * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ capitalize
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ address "address" bibinfo.check *
+ new.sentence
+ t empty$
+ 'skip$
+ { address empty$
+ 'skip$
+ { ": " * }
+ if$
+ t *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.sentence
+ crossref missing$
+ {
+ journal
+ "journal" bibinfo.check
+ emphasize
+ "journal" output.check
+ add.blank
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ }
+ if$
+ eid empty$
+ { format.journal.pages }
+ { format.journal.eid }
+ if$
+ format.doi output
+ format.note output
+ fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.sentence
+ format.number.series output
+ format.publisher.address output
+ }
+ {
+ new.sentence
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.doi output
+ format.note output
+ fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.sentence
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ format.doi output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.number.series output
+ format.publisher.address output
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.sentence
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ new.sentence
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.pages "pages" output.check
+ format.doi output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.sentence
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.number.series output
+ format.publisher.address output
+ format.bvolume output
+ format.chapter.pages output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.pages "pages" output.check
+ format.doi output
+ format.note output
+ fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ title "title" output.check
+ new.sentence
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.number.series output
+ format.bvolume output
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ }
+ if$
+ format.pages "pages" output.check
+ format.doi output
+ format.note output
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ title "title" output.check
+ new.sentence
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ format.edition output
+ format.doi output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ title
+ "title" output.check
+ new.sentence
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.doi output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title output
+ new.sentence
+ howpublished "howpublished" bibinfo.check output
+ format.doi output
+ format.note output
+ fin.entry
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ title
+ "title" output.check
+ new.sentence
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.doi output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ format.date "year" output.check
+ date.block
+ title "title" output.check
+ format.bvolume output
+ format.number.series output
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.doi output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ title
+ "title" output.check
+ new.sentence
+ format.tr.number output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.doi output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ format.doi output
+ format.note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+READ
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+FUNCTION {format.lab.names}
+{ 's :=
+ "" 't :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$
+ " " * bbl.etal *
+ }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ " " * bbl.etal *
+ }
+ { bbl.and space.word * s #2 "{vv~}{ll}" format.name$
+ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ll{ }}{ f{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" * }
+ { t sortify * }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+SORT
+STRINGS { last.label next.extra }
+INTEGERS { last.extra.num number.label }
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+EXECUTE {initialize.extra.label.stuff}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+ITERATE {bib.sort.order}
+SORT
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\providecommand{\natexlab}[1]{#1}"
+ write$ newline$
+ "\expandafter\ifx\csname urlstyle\endcsname\relax"
+ write$ newline$
+ " \providecommand{\doi}[1]{doi:\discretionary{}{}{}#1}\else"
+ write$ newline$
+ " \providecommand{\doi}{doi:\discretionary{}{}{}\begingroup \urlstyle{rm}\Url}\fi"
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `erae.bst'.
diff --git a/biblio/bibtex/contrib/economic/erae.cls b/biblio/bibtex/contrib/economic/erae.cls
new file mode 100644
index 0000000000..f615442e3d
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/erae.cls
@@ -0,0 +1,201 @@
+%%% LaTeX class for manuscripts submitted to the
+%%% European Review of Agricultural Economics (ERAE)
+%%%
+%%% author: Arne Henningsen
+%%% version: 1.3 (18 November 2009)
+%%% license: LaTeX Project Public License
+%%%
+%%% Note: This is an unofficial style file that may not fully comply
+%%% with the ERAE Formatting Instructions in every detail.
+%%% Please report any problems at
+%%% http://sourceforge.net/projects/economtex/
+%%% Further information is available at
+%%% http://economtex.wiki.sourceforge.net/
+%%%
+%%% This document class is based on the "scrartcl" class
+%%% from the KOMA script bundle.
+%%% Following additional packages are required:
+%%% amsmath, babel, courier, endfloat, geometry,
+%%% helvet, ifthen, mathptmx, natbib, setspace, titlesec, url
+%%%
+%%% The class provides following options:
+%%% noendfloat - don't move floats to the end of the paper
+%%% author - show name(s) of authors(s)
+%%% date - show date
+%%%
+%%% The ERAE requires that you use single quotes
+%%% you could do this with the ``csquotes'' package:
+%%% \usepackage{csquotes}
+%%% \MakeInnerQuote{<yourQuoteCharacter>}
+%%%
+%%% The corresponding BibTeX style file "erae.bst" should be used
+%%% for the bibliography: \bibliographystyle{erae}
+%%%
+%%% This document class provides 5 new commands:
+%%% \keywords can be use to show keywors below the abstract
+%%% \jelclass can be use to show JEL classifications below the abstract
+%%% \affiliation can be used to add affiliation information
+%%% \citetPage{page}{key} for citations like Author (Year: page)
+%%% \citepPage{page}{key} for citations like (Author, year: page)
+%%%
+
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{erae}[2009/11/18 LaTeX class for the European Review of Agricultural Economics]
+
+\RequirePackage{ifthen}
+
+% option to NOT place floats at the end
+\newcounter{UseEndfloat}
+\setcounter{UseEndfloat}{1}
+\DeclareOption{noendfloat}{\setcounter{UseEndfloat}{0}}
+
+% option to show the authors' names
+\newcounter{ShowAuthor}
+\setcounter{ShowAuthor}{0}
+\DeclareOption{author}{\setcounter{ShowAuthor}{1}}
+
+% option to print the date
+\newcounter{ShowDate}
+\setcounter{ShowDate}{0}
+\DeclareOption{date}{\setcounter{ShowDate}{1}}
+
+% pass any options on to the scrartcl class and load this class with some options
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
+\ProcessOptions\relax
+\LoadClass[12pt,english,pointednumbers,tablecaptionabove]{scrartcl}
+% pointednumbers = add final dot after ordinary section numbers
+% tablecaptionabove = use \captionabove for tables
+
+% page format, margins
+\RequirePackage{geometry}
+\geometry{a4paper, tmargin=2.5cm, bmargin=2.8cm, lmargin=2.5cm,
+ rmargin=2.5cm, headheight=0cm, headsep=0cm, footskip=1.2cm }
+
+% one half spacing
+\RequirePackage{setspace}
+\onehalfspacing
+
+% spacing around (sub)section headers
+\RequirePackage{titlesec}
+\titlespacing*{\section}{0pt}{1em}{0.25em}
+\titlespacing*{\subsection}{0pt}{0.85em}{0.15em}
+
+% spacing around formulas
+\AtBeginDocument{
+\setlength{\abovedisplayshortskip}{6pt}
+\setlength{\belowdisplayshortskip}{6pt}
+\setlength{\abovedisplayskip}{6pt}
+\setlength{\belowdisplayskip}{6pt}
+\allowdisplaybreaks
+}
+
+% spacing around captions and floats
+\setlength{\abovecaptionskip}{6pt}
+\setlength{\belowcaptionskip}{3pt}
+\setlength{\floatsep}{0pt}
+\setlength{\textfloatsep}{20pt}
+\setlength{\intextsep}{5pt}
+
+% font families: times/helvetica/courier
+\RequirePackage{mathptmx}
+\RequirePackage[scaled=.90]{helvet}
+\RequirePackage{courier}
+
+% amsmath
+\RequirePackage{amsmath}
+% for compatibility with ajae.cls
+\newcommand{\veclatin}[1]{#1}
+\newcommand{\matlatin}[1]{#1}
+\newcommand{\vecgreek}[1]{#1}
+\newcommand{\matgreek}[1]{#1}
+
+% font for URLs
+\RequirePackage{url}
+\def\UrlFont{\rmfamily}
+
+% citations and bibliography
+\RequirePackage[authoryear]{natbib}
+\setlength{\bibsep}{0pt}
+
+% captions of figures and tables
+\setcapwidth[l]{\textwidth}
+\setcapindent{0pt}
+\setkomafont{captionlabel}{\normalfont\bfseries}
+\renewcommand{\captionformat}{.\ }
+
+% titlepage without author and date
+\newcommand{\affiliation}[1]{\newcommand{\@affiliation}{#1}}
+\renewcommand{\maketitle}{
+ \begin{center}
+ \begin{spacing}{1.5}
+ \LARGE{\textbf{\@title}}%
+ \end{spacing}
+ \ifthenelse{\equal{\theShowAuthor}{1}}{
+ \begin{large}
+ \textbf{\@author}\\
+ \end{large}
+ \ifthenelse{ \isundefined\@affiliation }{}{
+ \vspace*{3mm}
+ \begin{small}
+ \@affiliation\\
+ \end{small}
+ }
+ \vspace*{5mm}
+ }{}
+ \ifthenelse{\equal{\theShowDate}{1}}{
+ \@date\\
+ \vspace*{5mm}
+ }{}
+ \end{center}
+}
+
+% abstract, keywords, JEL classification
+\newcommand{\keywords}[1]{\newcommand{\@keywords}{#1}}
+\newcommand{\jelclass}[1]{\newcommand{\@jelclass}{#1}}
+\renewenvironment{abstract}{%
+\begin{center}
+\begin{minipage}{0.9 \textwidth}
+\small
+\begin{center}
+\textbf{Abstract}
+\end{center}
+}{%
+\ifthenelse{ \isundefined\@keywords }{
+\ClassWarningNoLine{erae}{No keywords specified.
+ Please use the command \protect\keywords}
+}{
+\smallskip\\ \noindent
+Key words: \@keywords
+}
+\ifthenelse{ \isundefined\@jelclass }{
+\ClassWarningNoLine{erae}{No JEL classification specified.
+ Please use the command \protect\jelclass}
+}{
+\smallskip\\ \noindent
+JEL classification: \@jelclass
+}
+\end{minipage}
+\end{center}%
+\noindent%
+}
+
+% use babel package and set language to english
+\RequirePackage[english]{babel}
+
+% avoid clubs and widows
+\clubpenalty=10000
+\widowpenalty=10000
+% \displaywidowpenalty=10000
+
+% increase stretchability of the spaces (avoid overful hboxes)
+\setlength{\emergencystretch}{3em}
+
+% move floats to the end of the paper
+\ifthenelse{\equal{\theUseEndfloat}{1}}{
+\RequirePackage[heads,tablesfirst,nolists]{endfloat}
+}{}
+
+% cite page numbers after colon
+\newcommand{\citetPage}[2]{\citeauthor{#2} (\citeyear{#2}: #1)}
+\newcommand{\citepPage}[2]{\citetext{\citealp{#2}: #1}}
diff --git a/biblio/bibtex/contrib/economic/ier-bib-test.pdf b/biblio/bibtex/contrib/economic/ier-bib-test.pdf
new file mode 100644
index 0000000000..4684e487f1
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/ier-bib-test.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/economic/ier-bib-test.tex b/biblio/bibtex/contrib/economic/ier-bib-test.tex
new file mode 100644
index 0000000000..f6be8afa3f
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/ier-bib-test.tex
@@ -0,0 +1,26 @@
+\documentclass{article}
+\usepackage{url}
+\usepackage{natbib}
+
+\title{Testing the Bib\TeX{} style for the
+ \emph{International Economic Review} (IER)}
+
+\author{Arne Henningsen}
+
+\begin{document}
+\maketitle
+
+\textbf{Note:}
+Only the style of the list of references should be according
+to the guidelines of the \emph{International Economic Review}.%
+\footnote{%
+\url{http://www.econ.upenn.edu/Centers/iereview/submissionsguidelines.htm}
+}
+There is currently no \LaTeX{} class or template for the style
+of the paper itself.
+
+
+\nocite{*}
+\bibliographystyle{ier}
+\bibliography{ier-ex}
+\end{document}
diff --git a/biblio/bibtex/contrib/economic/ier-ex.bib b/biblio/bibtex/contrib/economic/ier-ex.bib
new file mode 100644
index 0000000000..77bad45c91
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/ier-ex.bib
@@ -0,0 +1,115 @@
+% This file was created with JabRef 2.3.1.
+% Encoding: ISO8859_1
+
+@BOOK{arrow63,
+ title = {Social Choice and Individual Values},
+ publisher = {Wiley},
+ year = {1963},
+ author = {Arrow, K. J.},
+ address = {New York},
+ edition = {2nd},
+ owner = {suapm095},
+ timestamp = {2009.08.14}
+}
+
+@PHDTHESIS{chiang83,
+ author = {Chiang, S. C.},
+ title = {Imperfection Information and Quality Upgrading},
+ school = {Cornell University},
+ year = {1983},
+ owner = {suapm095},
+ timestamp = {2009.08.14}
+}
+
+@UNPUBLISHED{halvorsen86,
+ author = {Halvorsen, R. and T. Smith},
+ title = {A Test of the Theory of Exhaustible Resources},
+ note = {mimeo, University of Washington},
+ year = {1986},
+ owner = {suapm095},
+ timestamp = {2009.08.14}
+}
+
+@ARTICLE{kramer73,
+ author = {Kramer, G. H.},
+ title = {On a Class of Equilibrium Conditions for Majority Rule},
+ journal = {Econometrica},
+ year = {1973},
+ volume = {41},
+ pages = {285-297},
+ month = {March},
+ owner = {suapm095},
+ timestamp = {2009.08.14}
+}
+
+@BOOK{krantz71,
+ title = {Foundations of Measurement},
+ publisher = {Academic Press},
+ year = {1971},
+ author = {Krantz, H. D. and R. D. Luce and P. Suppes and A. Tversky},
+ address = {New York},
+ owner = {suapm095},
+ timestamp = {2009.08.14}
+}
+
+@INCOLLECTION{samuelson69,
+ author = {Samuelson, P. A.},
+ title = {Pure Theory of Public Expenditure and Taxation},
+ booktitle = {Public Economics},
+ publisher = {Macmillan},
+ year = {1969},
+ editor = {J. Margolis and H. Guitton},
+ pages = {98-123},
+ address = {New York},
+ owner = {suapm095},
+ timestamp = {2009.08.14}
+}
+
+@TECHREPORT{schworm77,
+ author = {Schworm, W. E.},
+ title = {User Cost of Capital},
+ institution = {Department of Economics, University of British Columbia},
+ year = {1977},
+ type = {Discussion Paper},
+ number = {77-22},
+ month = { July},
+ owner = {suapm095},
+ timestamp = {2009.08.14}
+}
+
+@INCOLLECTION{sonuelsam96,
+ author = {Sonuelsam, Chapter},
+ title = {Public Theory of Pure Taxation and Expenditure},
+ booktitle = {Economic Publics},
+ publisher = {Millanmac},
+ year = {1996},
+ editor = {J. Molgaris and H. Gonttui},
+ chapter = {77},
+ pages = {89-321},
+ address = {Old York},
+ owner = {suapm095},
+ timestamp = {2009.08.14}
+}
+
+@INCOLLECTION{sonuelsam96a,
+ author = {Sonuelsam, Series},
+ title = {Public Theory of Pure Taxation and Expenditure},
+ booktitle = {Economic Publics},
+ publisher = {Millanmac},
+ year = {1996},
+ editor = {J. Molgaris and H. Gonttui},
+ series = {Test Series},
+ pages = {89-321},
+ address = {Old York},
+ owner = {suapm095},
+ timestamp = {2009.08.14}
+}
+
+@comment{jabref-meta: selector_publisher:}
+
+@comment{jabref-meta: selector_author:}
+
+@comment{jabref-meta: selector_journal:}
+
+@comment{jabref-meta: selector_keywords:}
+
diff --git a/biblio/bibtex/contrib/economic/ier.bst b/biblio/bibtex/contrib/economic/ier.bst
new file mode 100644
index 0000000000..033174e4ec
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/ier.bst
@@ -0,0 +1,1549 @@
+
+%% Built initially with Patrick Daly's custom-bib package and then
+%% modified by Doug McKee 12/2006. Email any comments or suggestions to
+%% Doug at dmckee@ucla.edu
+%%
+%% Jan 29, 2008: Fixed in response to the suggestions of Wladimir
+%% Ray who kindly pointed out that the names should be in small caps
+%% and repeated names should be replaced with dashes as in the
+%% Econometrica bibliography style.
+%%
+%%
+%% This is file `ier.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `ay,nat,nm-rev1,jnrlst,keyxyr,yr-par,aymth,note-yr,tit-qq,qx,bt-qq,atit-u,vnum-x,volp-blk,pp-last,num-xser,bkpg-x,add-pub,pub-date,pre-edn,blk-com,ppx,ed,xedn,and-xcom,nfss,')
+%% ----------------------------------------
+%% *** International Economic Review ***
+%%
+%% Copyright 1994-2004 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2004/02/09 4.13 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is natbib.sty by Patrick W. Daly
+ % The form of the \bibitem entries is
+ % \bibitem[Jones et al.(1990)]{key}...
+ % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
+ % The essential feature is that the label (the part in brackets) consists
+ % of the author names, as they should appear in the citation, with the year
+ % in parentheses following. There must be no space before the opening
+ % parenthesis!
+ % With natbib v5.3, a full list of authors may also follow the year.
+ % In natbib.sty, it is possible to define the type of enclosures that is
+ % really wanted (brackets or parentheses), but in either case, there must
+ % be parentheses in the label.
+ % The \cite command functions as follows:
+ % \citet{key} ==>> Jones et al. (1990)
+ % \citet*{key} ==>> Jones, Baker, and Smith (1990)
+ % \citep{key} ==>> (Jones et al., 1990)
+ % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
+ % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
+ % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
+ % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
+ % \citeauthor{key} ==>> Jones et al.
+ % \citeauthor*{key} ==>> Jones, Baker, and Smith
+ % \citeyear{key} ==>> 1990
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ eid
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ skip$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+FUNCTION {non.stop}
+{ duplicate$
+ "}" * add.period$
+ #-1 #1 substring$ "." =
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+FUNCTION {scaps}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textsc{" swap$ * "}" * }
+ if$
+}
+FUNCTION {bib.name.font}
+{ scaps }
+FUNCTION {bib.fname.font}
+{ bib.name.font }
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds." }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "edition" }
+
+FUNCTION {bbl.volume}
+{ "volume" }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "number" }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "" }
+
+FUNCTION {bbl.page}
+{ "" }
+
+FUNCTION {bbl.chapter}
+{ "chapter" }
+
+FUNCTION {bbl.techrep}
+{ "{T}echnical {R}eport" }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+STRINGS { bibinfo}
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ duplicate$ #1 >
+ { "{f.~}{vv~}{ll}{, jj}" }
+ { "{vv~}{ll}{, f.}{, jj}" }
+ if$
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ bib.name.font
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+ t "others" =
+ 'skip$
+ { bib.name.font }
+ if$
+}
+FUNCTION {format.names.ed}
+{
+ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{f.~}{vv~}{ll}{, jj}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+
+ " " * bbl.etal *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author "author" format.names
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ "," *
+ " " *
+ get.bbl.editor
+ *
+ }
+ if$
+}
+FUNCTION {format.note}
+{
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ "\enquote{" swap$ *
+ ",} " *
+ }
+ if$
+}
+FUNCTION {end.quote.title}
+{ title empty$
+ 'skip$
+ { before.all 'output.state := }
+ if$
+}
+FUNCTION {end.quote.btitle}
+{ booktitle empty$
+ 'skip$
+ { before.all 'output.state := }
+ if$
+}
+FUNCTION {format.full.names}
+{'s :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[{" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "}]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in
+ " " * }
+
+FUNCTION {format.date}
+{ year "year" bibinfo.check duplicate$ empty$
+ {
+ "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????"
+ }
+ 'skip$
+ if$
+ month "month" bibinfo.check duplicate$ empty$
+ 'skip$
+ {
+ " " * swap$
+ }
+ if$
+ *
+ extra.label *
+ before.all 'output.state :=
+ " (" swap$ * ")" *
+}
+FUNCTION {format.tr.date}
+{ year "year" bibinfo.check duplicate$ empty$
+ {
+ "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????"
+ }
+ 'skip$
+ if$
+ month "month" bibinfo.check duplicate$ empty$
+ 'skip$
+ {
+ " " * swap$
+ }
+ if$
+ *
+ extra.label *
+ before.all 'output.state :=
+ ", " swap$ *
+}
+FUNCTION {format.unpub.date}
+{ year "year" bibinfo.check duplicate$ empty$
+ {
+ "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????"
+ }
+ 'skip$
+ if$
+ month "month" bibinfo.check duplicate$ empty$
+ 'skip$
+ {
+ " " * swap$
+ }
+ if$
+ *
+ extra.label *
+ before.all 'output.state :=
+ ", " swap$ *
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ bbl.of space.word * swap$
+ emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { number "number" bibinfo.check }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ n.dashify
+ }
+ {
+ }
+ if$
+ "pages" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ", " *
+ swap$
+ n.dashify
+ "pages" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.journal.eid}
+{ eid "eid" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$ 'skip$
+ {
+ " " *
+ }
+ if$
+ swap$ *
+ }
+ if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ "volume" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ { "" }
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ }
+ if$
+}
+
+FUNCTION {bt.enquote}
+{ duplicate$ empty$ 'skip$
+ { "\enquote{" swap$ *
+ "}, " *
+ }
+ if$
+}
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+ emphasize
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ {
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ "," *
+ " " *
+ get.bbl.editor
+ ", " *
+ * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ add.blank "(" *
+ address "address" bibinfo.check *
+ t empty$
+ 'skip$
+ { address empty$
+ 'skip$
+ { ": " * }
+ if$
+ t *
+ }
+ if$
+ year duplicate$ empty$
+ { "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????" }
+ { "year" bibinfo.check extra.label * }
+ if$
+ t empty$ address empty$ and
+ { * }
+ { ", " swap$ * * }
+ if$
+ ")" *
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+STRINGS {oldname}
+
+FUNCTION {name.or.dash}
+{ 's :=
+ oldname empty$
+ { s 'oldname := s }
+ { s oldname =
+% { "---" } old style
+ { "---\hspace{-.1pt}---\hspace{-.1pt}---" }
+%SPD 2000
+ { s 'oldname := s }
+ if$
+ }
+ if$
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ {
+ journal
+ "journal" bibinfo.check
+ emphasize
+ "journal" output.check
+ format.vol.num.pages
+ " " swap$ *
+ before.all 'output.state :=
+ output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ }
+ if$
+ eid empty$
+ { format.journal.pages }
+ { format.journal.eid }
+ if$
+ format.note output
+ fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ name.or.dash
+ }
+ { format.authors output.nonnull
+ name.or.dash
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ format.edition output
+ format.publisher.address output
+ }
+ {
+ format.book.crossref output.nonnull
+ format.date "year" output.check
+ }
+ if$
+ format.note output
+ fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ name.or.dash
+ format.title "title" output.check
+ end.quote.title
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ format.date "year" output.check
+ format.note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ name.or.dash
+ }
+ { format.authors output.nonnull
+ name.or.dash
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ format.number.series output
+ format.edition output
+ format.publisher.address output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ format.book.crossref output.nonnull
+ format.date "year" output.check
+ }
+ if$
+ format.pages "pages" output.check
+ format.note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ end.quote.btitle
+ format.bvolume output
+ format.number.series output
+ format.edition output
+ format.chapter.pages output
+ format.publisher.address output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.pages "pages" output.check
+ format.note output
+ fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ end.quote.btitle
+ format.bvolume output
+ format.number.series output
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ }
+ if$
+ format.pages "pages" output.check
+ format.note output
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ name.or.dash
+ format.btitle "title" output.check
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ format.edition output
+ format.date "year" output.check
+ format.note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.btitle
+ "title" output.check
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.date "year" output.check
+ format.note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ name.or.dash
+ format.title output
+ end.quote.title
+ howpublished "howpublished" bibinfo.check output
+ format.date "year" output.check
+ format.note output
+ fin.entry
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.btitle
+ "title" output.check
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.date "year" output.check
+ format.note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ name.or.dash
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.title
+ "title" output.check
+ end.quote.title
+ format.tr.number output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.tr.date "year" output.check
+ format.note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.title
+ "title" output.check
+ end.quote.title
+ note "note" output.check
+ institution field.or.null output
+ format.unpub.date "year" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+READ
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+FUNCTION {format.lab.names}
+{ 's :=
+ "" 't :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$
+ " " * bbl.etal *
+ }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ " " * bbl.etal *
+ }
+ { bbl.and space.word * s #2 "{vv~}{ll}" format.name$
+ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" * }
+ { t sortify * }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+SORT
+STRINGS { last.label next.extra }
+INTEGERS { last.extra.num number.label }
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+EXECUTE {initialize.extra.label.stuff}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+ITERATE {bib.sort.order}
+SORT
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\newcommand{\enquote}[1]{``#1''}"
+ write$ newline$
+ "\providecommand{\natexlab}[1]{#1}"
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `ier.bst'.
diff --git a/biblio/bibtex/contrib/economic/itaxpf-ex-title.pdf b/biblio/bibtex/contrib/economic/itaxpf-ex-title.pdf
new file mode 100644
index 0000000000..b2472faea9
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/itaxpf-ex-title.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/economic/itaxpf-ex-title.tex b/biblio/bibtex/contrib/economic/itaxpf-ex-title.tex
new file mode 100644
index 0000000000..95b3a18ea5
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/itaxpf-ex-title.tex
@@ -0,0 +1,45 @@
+\documentclass[titlepage]{itaxpf}
+\usepackage[T1]{fontenc}
+\usepackage[latin1]{inputenc}
+
+\usepackage{hyperref}
+\hypersetup{%
+ colorlinks = {true},
+ urlcolor = {blue},
+ linkcolor = {black},
+ citecolor = {black},
+ pdfauthor = {Arne Henningsen},
+ pdftitle = {Testing LaTeX class and BibTeX style for the
+ journal International Tax and Public Finance (ITAXPF)},
+ pdfkeywords = {International Tax and Public Finance, BibTeX, LaTeX}
+}
+
+\usepackage{multido}
+
+\title{Testing \LaTeX{} Class and Bib\TeX{} Style for the
+ Journal ``International Tax and Public Finance'' (ITAXPF)}
+
+\author{Arne Henningsen \and Jim Nobody}
+
+\affiliation{
+University~of~Kiel
+}
+
+\address{
+Corresponding Author:\\
+Arne Henningsen\\
+Department of Agricultural Economics\\
+University of Kiel\\
+24098 Kiel, Germany\\
+Phone: +49-431-880-4445\\
+Fax: +49-431-880-1397\\
+\url{arne (dot) henningsen (at) gmail (dot) com}
+}
+
+
+
+\begin{document}
+
+\maketitle
+
+\end{document}
diff --git a/biblio/bibtex/contrib/economic/itaxpf-ex.bib b/biblio/bibtex/contrib/economic/itaxpf-ex.bib
new file mode 100644
index 0000000000..90da9b992e
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/itaxpf-ex.bib
@@ -0,0 +1,44 @@
+This file was created with JabRef 2.2.
+Encoding: ISO8859_1
+
+@ARTICLE{becker64,
+ author = {Gordon Becker and Morris DeGroot and Jacob Marschak},
+ title = {Measuring Utility by a Single-Response Sequential Method},
+ journal = {Behavioral Science},
+ year = {1964},
+ volume = {9},
+ pages = {226-232},
+ owner = {Arne},
+ timestamp = {2007.07.12}
+}
+
+@BOOK{schoemaker80,
+ title = {Experiments in Decisions Under Risk: The Expected Utility Hypothesis},
+ publisher = {Kluwer-Nijhoff Publishing},
+ year = {1980},
+ author = {Paul Schoemaker},
+ address = {Boston},
+ owner = {Arne},
+ timestamp = {2007.07.12}
+}
+
+@INCOLLECTION{smith86,
+ author = {V. Kerry Smith},
+ title = {A Conceptual Overview of the Foundations of Benefit-Cost Analysis},
+ booktitle = {Benefits Assessment: The State of the Art},
+ publisher = {D. Reidel Publishing Co},
+ year = {1986},
+ editor = {Judith Bentkover and Vincent Covello and Jeryl Mumpower},
+ address = {Dordrecht},
+ owner = {Arne},
+ timestamp = {2007.07.12}
+}
+
+@comment{jabref-meta: selector_journal:}
+
+@comment{jabref-meta: selector_author:}
+
+@comment{jabref-meta: selector_keywords:}
+
+@comment{jabref-meta: selector_publisher:}
+
diff --git a/biblio/bibtex/contrib/economic/itaxpf-ex.pdf b/biblio/bibtex/contrib/economic/itaxpf-ex.pdf
new file mode 100644
index 0000000000..bcaa1eeb18
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/itaxpf-ex.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/economic/itaxpf-ex.tex b/biblio/bibtex/contrib/economic/itaxpf-ex.tex
new file mode 100644
index 0000000000..1235f7f5a2
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/itaxpf-ex.tex
@@ -0,0 +1,113 @@
+\documentclass{itaxpf}
+\usepackage[T1]{fontenc}
+\usepackage[latin1]{inputenc}
+\usepackage{csquotes}
+\MakeOuterQuote{"}
+
+\usepackage{hyperref}
+\hypersetup{%
+ colorlinks = {true},
+ urlcolor = {blue},
+ linkcolor = {black},
+ citecolor = {black},
+ pdfauthor = {Arne Henningsen},
+ pdftitle = {Testing LaTeX class and BibTeX style for the
+ journal International Tax and Public Finance (ITAXPF)},
+ pdfkeywords = {International Tax and Public Finance, BibTeX, LaTeX}
+}
+
+\usepackage{multido}
+
+\title{Testing \LaTeX{} Class and Bib\TeX{} Style for the
+ Journal ``International Tax and Public Finance'' (ITAXPF)}
+
+\author{Arne Henningsen \and Jim Nobody}
+
+\affiliation{University~of~Kiel}
+
+\keywords{International Tax and Public Finance, BibTeX, LaTeX}
+
+\jelclass{A1, B2, C3}
+
+\begin{document}
+
+\maketitle
+
+\begin{abstract}
+\multido{}{15}{This is an abstract. }
+\end{abstract}
+
+
+\section{Introduction}
+
+\multido{}{15}{This is an introduction. }
+
+
+\section{Manuscript Formatting}
+
+The manuscript formatting instructions are available at
+\url{http://www.springerlink.com/link.asp?id=102915}.%
+\footnote{
+Footnotes are automatically converted to endnotes.
+}
+
+
+\section{Citations}
+
+\subsection{Citations in Text}
+
+\citeauthor{becker64} in a paper on \ldots
+\citet[p.~12]{schoemaker80} has shown that \ldots
+A proof is given by \citet{smith86}.
+
+An overview is available in table~\ref{tab:citations}.
+
+\begin{table}[htbp]
+\centering
+\caption{Citations}
+\label{tab:citations}
+\begin{tabular}{lll}
+\hline
+Author(s) & Year & Citation\\
+\hline
+\citeauthor{becker64} & \citeyear{becker64} & \citet{becker64}\\
+\citeauthor{schoemaker80} & \citeyear{schoemaker80} & \citet{schoemaker80}\\
+\citeauthor{smith86} & \citeyear{smith86} & \citet{smith86}\\
+\hline
+\end{tabular}
+\end{table}
+
+
+\subsection{Citations in Parenthesis}
+
+This method has been criticised \citep{becker64, schoemaker80, smith86}.
+$A$ is equal to $B$ \citep{becker64}.
+$B$ is equal to $C$ \citep{schoemaker80}.
+
+
+\subsection{List of References}
+
+Note: The Bib\TeX{} style \texttt{iptax.bst} does not follow exactly
+the "Sample References" in the "Instructions for Authors",
+but follows the lists of references in published articles
+(although the formatting slightly differs between articles).
+
+
+\section{Quotation Marks}
+The journal "International Tax and Public Finance" requires double quotes.
+You can get pretty (typographically correct) quotation marks
+by adding the commands
+\verb!\usepackage{csquotes}!
+and
+\verb!\MakeOuterQuote{"}!
+in your preamble and use the \verb!"! sign for quation marks in your text.
+
+
+\listofendnotes
+
+\nocite{*}
+
+\bibliographystyle{itaxpf}
+\bibliography{itaxpf-ex}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/economic/itaxpf.bst b/biblio/bibtex/contrib/economic/itaxpf.bst
new file mode 100644
index 0000000000..8b979103e1
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/itaxpf.bst
@@ -0,0 +1,1480 @@
+%%% Journal "International Tax and Public Finance" (ITAXPF)
+%%% bibliography style for use with LaTeX2e
+%%% version: 1.0 (12 July 2007)
+%%% license: LaTeX Project Public License (see below)
+%%% This file was created with makebst (see below) and modified
+%%% by Arne Henningsen.
+%%%
+%%% Note: This is an unofficial style file that may not
+%%% fully comply with the Guidelines of the journal
+%%% "International Tax and Public Finance" in every detail.
+%%% Please report any problems at
+%%% http://sourceforge.net/projects/economtex/
+%%% Further information is available at
+%%% http://economtex.wiki.sourceforge.net/
+%%%
+%%% It is recommended to use the document class "itaxpf"
+%%%
+%%% Websites of the journal
+%%% "International Tax and Public Finance":
+%%% http://www.springerlink.com/link.asp?id=102915
+%%
+%% This is file `itaxpf.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `ay,nat,nm-rev,jnrlst,keyxyr,dt-beg,yr-par,yrp-per,note-yr,tit-qq,vol-it,volp-com,num-xser,ser-vol,bkpg-x,add-pub,edpar,bkedcap,blk-tit,ppx,ed,abr,xedn,and-com,and-com-ed,em-it,nfss,')
+%% ----------------------------------------
+%% *** International Tax and Public Finance ***
+%%
+%% Copyright 1994-2004 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2004/02/09 4.13 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is natbib.sty by Patrick W. Daly
+ % The form of the \bibitem entries is
+ % \bibitem[Jones et al.(1990)]{key}...
+ % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
+ % The essential feature is that the label (the part in brackets) consists
+ % of the author names, as they should appear in the citation, with the year
+ % in parentheses following. There must be no space before the opening
+ % parenthesis!
+ % With natbib v5.3, a full list of authors may also follow the year.
+ % In natbib.sty, it is possible to define the type of enclosures that is
+ % really wanted (brackets or parentheses), but in either case, there must
+ % be parentheses in the label.
+ % The \cite command functions as follows:
+ % \citet{key} ==>> Jones et al. (1990)
+ % \citet*{key} ==>> Jones, Baker, and Smith (1990)
+ % \citep{key} ==>> (Jones et al., 1990)
+ % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
+ % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
+ % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
+ % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
+ % \citeauthor{key} ==>> Jones et al.
+ % \citeauthor*{key} ==>> Jones, Baker, and Smith
+ % \citeyear{key} ==>> 1990
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ eid
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ new.sentence
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+FUNCTION {non.stop}
+{ duplicate$
+ "}" * add.period$
+ #-1 #1 substring$ "." =
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textit{" swap$ * "}" * }
+ if$
+}
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds." }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "edn." }
+
+FUNCTION {bbl.volume}
+{ "vol." }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "no." }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "" }
+
+FUNCTION {bbl.page}
+{ "" }
+
+FUNCTION {bbl.chapter}
+{ "chap." }
+
+FUNCTION {bbl.techrep}
+{ "Tech. Rep." }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"Jun."}
+
+MACRO {jul} {"Jul."}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sep."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+STRINGS { bibinfo}
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}{, f.}{, jj}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ "," *
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.names.ed}
+{
+ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{f.~}{vv~}{ll}{, jj}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ "," *
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+
+ " " * bbl.etal *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author "author" format.names
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ " " *
+ get.bbl.editor
+ capitalize
+ "(" swap$ * ")" *
+ *
+ }
+ if$
+}
+FUNCTION {format.note}
+{
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ duplicate$ empty$ 'skip$
+ { "t" change.case$ }
+ if$
+ "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ "\bibenquote{" swap$ *
+ add.period$ "}" *
+ }
+ if$
+}
+FUNCTION {format.full.names}
+{'s :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[{" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "}]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in capitalize
+ " " * }
+
+FUNCTION {format.date}
+{ year "year" bibinfo.check duplicate$ empty$
+ {
+ "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????"
+ }
+ 'skip$
+ if$
+ extra.label *
+ before.all 'output.state :=
+ " (" swap$ * ")" *
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { emphasize ", " * swap$ * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { number "number" bibinfo.check }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ n.dashify
+ }
+ {
+ }
+ if$
+ "pages" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ", " *
+ swap$
+ n.dashify
+ "pages" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.journal.eid}
+{ eid "eid" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$ 'skip$
+ {
+ ", " *
+ }
+ if$
+ swap$ *
+ }
+ if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ "volume" bibinfo.check
+ }
+ if$
+ emphasize
+ number "number" bibinfo.check duplicate$ empty$ 'skip$
+ {
+ swap$ duplicate$ empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ swap$
+ "(" swap$ * ")" *
+ }
+ if$ *
+ eid empty$
+ { format.journal.pages }
+ { format.journal.eid }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+ emphasize
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ {
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ " " *
+ get.bbl.editor
+ capitalize
+ "(" swap$ * "), " *
+ * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ capitalize
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ address "address" bibinfo.check *
+ t empty$
+ 'skip$
+ { address empty$
+ 'skip$
+ { ": " * }
+ if$
+ t *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.sentence
+ crossref missing$
+ {
+ journal
+ "journal" bibinfo.check
+ emphasize
+ "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.sentence
+ format.number.series output
+ format.publisher.address output
+ }
+ {
+ new.sentence
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.note output
+ fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.sentence
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.sentence
+ format.number.series output
+ format.publisher.address output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ new.sentence
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.sentence
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ format.publisher.address output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.sentence
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ new.sentence
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ format.edition output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ new.sentence
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title output
+ new.sentence
+ howpublished "howpublished" bibinfo.check output
+ format.note output
+ fin.entry
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ new.sentence
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ new.sentence
+ format.tr.number output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ format.note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+READ
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+FUNCTION {format.lab.names}
+{ 's :=
+ "" 't :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$
+ " " * bbl.etal *
+ }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ " " * bbl.etal *
+ }
+ { bbl.and space.word * s #2 "{vv~}{ll}" format.name$
+ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" * }
+ { t sortify * }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+SORT
+STRINGS { last.label next.extra }
+INTEGERS { last.extra.num number.label }
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+EXECUTE {initialize.extra.label.stuff}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+ITERATE {bib.sort.order}
+SORT
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\newcommand{\bibenquote}[1]{``#1''}"
+ write$ newline$
+ "\providecommand{\natexlab}[1]{#1}"
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `itaxpf.bst'.
diff --git a/biblio/bibtex/contrib/economic/itaxpf.cls b/biblio/bibtex/contrib/economic/itaxpf.cls
new file mode 100644
index 0000000000..d75194e542
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/itaxpf.cls
@@ -0,0 +1,232 @@
+%%% LaTeX class for manuscripts submitted to the
+%%% Journal "International Tax and Public Finance" (itaxpf)
+%%%
+%%% author: Arne Henningsen
+%%% version: 1.1 (18 November 2009)
+%%% license: LaTeX Project Public License
+%%%
+%%% Note: This is an unofficial style file that may not fully comply
+%%% with the Formatting Instructions of the journal
+%%% "International Tax and Public Finance" in every detail.
+%%% Please report any problems at
+%%% http://sourceforge.net/projects/economtex/
+%%% Further information is available at
+%%% http://economtex.wiki.sourceforge.net/
+%%%
+%%% This document class is based on the "scrartcl" class
+%%% from the KOMA script bundle.
+%%% Following additional packages are required:
+%%% amsmath, babel, endfloat, endnotes, geometry,
+%%% ifthen, lmodern, natbib, setspace, url
+%%%
+%%% The corresponding BibTeX style file "itaxpf.bst" should be used
+%%% for the bibliography: \bibliographystyle{itaxpf}
+%%%
+%%% This class provides 2 options:
+%%% titlepage = include a title page (with command "\maketitle")
+%%% noendfloat = do not move "floats" (tables and figures) to the end
+%%%
+%%% This document class provides 4 new commands:
+%%% \keywords can be used to show keywors below the abstract
+%%% \jelclass can be used to show JEL classifications below the abstract
+%%% \affiliation can be used spefify the affiliation(s) of the author(s)
+%%% (only shown if option "titlepage" is used)
+%%% \address can be used spefify the address of the corresponding author
+%%% (only shown if option "titlepage" is used)
+%%%
+%%% If you use footnotes, add following line before the reference section:
+%%% \listofendnotes
+%%%
+%%% Website of the journal "International Tax and Public Finance":
+%%% http://www.springerlink.com/link.asp?id=102915
+
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{itaxpf}[2009/11/18 LaTeX class for the Journal
+ 'International Tax and Public Finance']
+
+\RequirePackage{ifthen}
+
+% option to place floats not at the end
+\newcounter{UseEndfloat}
+\setcounter{UseEndfloat}{1}
+\DeclareOption{noendfloat}{\setcounter{UseEndfloat}{0}}
+
+% option to include a title page
+\newcounter{IncludeTitlePage}
+\setcounter{IncludeTitlePage}{0}
+\DeclareOption{titlepage}{\setcounter{IncludeTitlePage}{1}}
+
+% pass any options on to the scrartcl class and load this class with some options
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
+\ProcessOptions\relax
+\LoadClass[12pt,english,pointlessnumbers,tablecaptionabove,
+ noonelinecaption]{scrartcl}
+% pointlessnumbers = do not add final dot after ordinary section numbers
+% tablecaptionabove = use \captionabove for tables
+% noonelinecaption = do not treat one-line captions differently
+
+% use babel package and set language to english
+\RequirePackage[english]{babel}
+
+% page format, margins
+\RequirePackage{geometry}
+\geometry{letterpaper, tmargin=1.0in, bmargin=1.0in, lmargin=1.0in,
+ rmargin=1.0in, headheight=0in, headsep=0in, footskip=0.5in }
+
+% double spacing
+\RequirePackage{setspace}
+\doublespacing
+
+% spacing around formulas
+\AtBeginDocument{
+\setlength{\abovedisplayshortskip}{6pt}
+\setlength{\belowdisplayshortskip}{6pt}
+\setlength{\abovedisplayskip}{6pt}
+\setlength{\belowdisplayskip}{6pt}
+\allowdisplaybreaks
+}
+
+% spacing around captions and floats
+\setlength{\abovecaptionskip}{6pt}
+\setlength{\belowcaptionskip}{3pt}
+\setlength{\floatsep}{0pt}
+\setlength{\textfloatsep}{20pt}
+\setlength{\intextsep}{15pt}
+
+% font: latin modern
+\RequirePackage{lmodern}
+
+% amsmath
+\RequirePackage{amsmath}
+% leqno = equations are numbered at the left of the page
+% for compatibility with ajae.cls
+\newcommand{\veclatin}[1]{#1}
+\newcommand{\matlatin}[1]{#1}
+\newcommand{\vecgreek}[1]{#1}
+\newcommand{\matgreek}[1]{#1}
+
+% font for URLs
+\RequirePackage{url}
+\def\UrlFont{\rmfamily}
+
+%% formatting section headers
+\setkomafont{section}{\normalfont \large \bfseries}
+\setkomafont{subsection}{\normalfont}
+\setkomafont{subsection}{\normalfont \itshape}
+
+% citations and bibliography
+\RequirePackage[authoryear]{natbib}
+\AtBeginDocument{\renewcommand{\refname}{\clearpage References}}
+\setlength{\bibsep}{0pt}
+
+%% use endnotes in place of footnotes
+\RequirePackage{endnotes}
+\renewcommand{\notesname}{\clearpage Notes}
+\let\footnote=\endnote
+\newcommand{\listofendnotes}{
+ \begingroup
+ \parindent 0pt
+ \parskip 0ex
+ \def\enotesize{\normalsize}
+ \theendnotes
+ \endgroup
+}
+% use normalsize numbers (copied from endnote.sty and modified thereafter)
+\def\enoteformat{\rightskip\z@ \leftskip\z@ \parindent=0em
+ \leavevmode\llap{\theenmark. }}
+
+% captions of figures and tables
+\setcapwidth[c]{\textwidth}
+% \setcapindent*{0pt}
+\setkomafont{captionlabel}{\centering \bfseries}
+\setkomafont{caption}{\centering}
+\renewcommand{\captionformat}{~ }
+
+% move floats to the end of the paper
+\ifthenelse{\equal{\theUseEndfloat}{1}}{
+ \RequirePackage[heads,nolists,tablesfirst]{endfloat}
+ \renewcommand{\figureplace}{%
+ \begin{center}
+ [\figurename~\thepostfig\ here]
+ \end{center}
+ }
+ \renewcommand{\tableplace}{%
+ \begin{center}
+ [\tablename~\theposttbl\ here]
+ \end{center}
+ }
+}{}
+
+% titlepage with title, author, affiliation and date
+\newcommand{\affiliation}[1]{\newcommand{\@affiliation}{#1}}
+\newcommand{\address}[1]{\newcommand{\@address}{#1}}
+\renewcommand{\and}{$\cdot$ }
+\renewcommand{\maketitle}{
+ \ifthenelse{\equal{\theIncludeTitlePage}{1}}{
+ \thispagestyle{empty}
+ \vspace*{25mm}
+ }{}
+ \begin{center}
+ \begin{Large}
+ \begin{spacing}{1.25}
+ \textbf{\@title}
+ \end{spacing}
+ \end{Large}
+ \vspace*{5mm}
+ \ifthenelse{\equal{\theIncludeTitlePage}{1}}{
+ \vspace*{7mm}
+ \@author\\
+ \ifthenelse{ \isundefined\@affiliation }{}{
+ \vspace*{5mm}
+ \textit{\@affiliation}\\
+ }
+ \ifthenelse{ \isundefined\@address }{}{
+ \vspace*{10mm}
+ \begin{spacing}{1}
+ \@address\\
+ \end{spacing}
+ }
+ \vspace*{3mm}
+ }{}
+ \end{center}
+}
+
+
+% abstract, keywords, JEL classification
+\newcommand{\keywords}[1]{\newcommand{\@keywords}{#1}}
+\newcommand{\jelclass}[1]{\newcommand{\@jelclass}{#1}}
+\renewenvironment{abstract}{%
+\noindent
+\textbf{Abstract~}
+}{%
+\ifthenelse{ \isundefined\@keywords }{
+\ClassWarningNoLine{ajae}{No keywords specified.
+ Please use the command \protect\keywords}
+}{
+
+\medskip \noindent
+\textbf{Key words~} \@keywords
+}
+\ifthenelse{ \isundefined\@jelclass }{
+\ClassWarningNoLine{ajae}{No JEL classification specified.
+ Please use the command \protect\jelclass}
+}{
+
+\medskip \noindent
+\textbf{JEL classification~} \@jelclass
+}
+\clearpage
+}
+
+% avoid clubs and widows
+\clubpenalty=10000
+\widowpenalty=10000
+% \displaywidowpenalty=10000
+
+% increase stretchability of the spaces (avoid overful hboxes)
+\setlength{\emergencystretch}{3em}
+
+% for compatibility with erae.cls
+\newcommand{\citetPage}[2]{\citeauthor{#2} (\citeyear{#2}, p.~#1)}
+\newcommand{\citepPage}[2]{\citetext{\citealp{#2}, p.~#1}}
diff --git a/biblio/bibtex/contrib/economic/jae.bst b/biblio/bibtex/contrib/economic/jae.bst
new file mode 100644
index 0000000000..47316a55d9
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/jae.bst
@@ -0,0 +1,1467 @@
+%%
+%% This is file `jae.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `ay,nat,nm-rvx,ed-rev,jnrlst,keyxyr,dt-beg,yr-per,note-yr,vol-bf,vnum-x,volp-sp,pp-last,num-xser,jnm-x,bkpg-x,add-pub,isbn,issn,edparxc,ppx,ed,xedn,and-xcom,xand,url,url-nl,nfss')
+%% ----------------------------------------
+%% *** JAE BibTeX reference style ***
+%%
+%% Copyright 1994-2002 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2002/10/21 4.05 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is natbib.sty by Patrick W. Daly
+ % The form of the \bibitem entries is
+ % \bibitem[Jones et al.(1990)]{key}...
+ % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
+ % The essential feature is that the label (the part in brackets) consists
+ % of the author names, as they should appear in the citation, with the year
+ % in parentheses following. There must be no space before the opening
+ % parenthesis!
+ % With natbib v5.3, a full list of authors may also follow the year.
+ % In natbib.sty, it is possible to define the type of enclosures that is
+ % really wanted (brackets or parentheses), but in either case, there must
+ % be parentheses in the label.
+ % The \cite command functions as follows:
+ % \citet{key} ==>> Jones et al. (1990)
+ % \citet*{key} ==>> Jones, Baker, and Smith (1990)
+ % \citep{key} ==>> (Jones et al., 1990)
+ % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
+ % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
+ % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
+ % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
+ % \citeauthor{key} ==>> Jones et al.
+ % \citeauthor*{key} ==>> Jones, Baker, and Smith
+ % \citeyear{key} ==>> 1990
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ isbn
+ issn
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ url
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ new.block
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+STRINGS {z}
+FUNCTION {remove.dots}
+{ 'z :=
+ ""
+ { z empty$ not }
+ { z #1 #1 substring$
+ z #2 global.max$ substring$ 'z :=
+ duplicate$ "." = 'pop$
+ { * }
+ if$
+ }
+ while$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+FUNCTION {bolden}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textbf{" swap$ * "}" * }
+ if$
+}
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds." }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "edition" }
+
+FUNCTION {bbl.volume}
+{ "volume" }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "number" }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "" }
+
+FUNCTION {bbl.page}
+{ "" }
+
+FUNCTION {bbl.chapter}
+{ "chapter" }
+
+FUNCTION {bbl.techrep}
+{ "Technical Report" }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {write.url}
+{ url empty$
+ { skip$ }
+ { "\newline\urlprefix\url{" url * "}" * write$ newline$ }
+ if$
+}
+
+STRINGS { bibinfo}
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}{ f{}}{ jj}"
+ format.name$
+ remove.dots
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ "," *
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ { " " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.names.ed}
+{
+ format.names
+}
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author "author" format.names
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ " " *
+ get.bbl.editor
+ "(" swap$ * ")" *
+ *
+ }
+ if$
+}
+FUNCTION {format.isbn}
+{ isbn "isbn" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ new.block
+ "ISBN " swap$ *
+ }
+ if$
+}
+
+FUNCTION {format.issn}
+{ issn "issn" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ new.block
+ "ISSN " swap$ *
+ }
+ if$
+}
+
+FUNCTION {format.note}
+{
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ duplicate$ empty$ 'skip$
+ { "t" change.case$ }
+ if$
+ "title" bibinfo.check
+}
+FUNCTION {format.full.names}
+{'s :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[{" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "}]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in capitalize
+ " " * }
+
+FUNCTION {format.date}
+{ year "year" bibinfo.check duplicate$ empty$
+ {
+ "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????"
+ }
+ 'skip$
+ if$
+ extra.label *
+ before.all 'output.state :=
+ after.sentence 'output.state :=
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ bbl.of space.word * swap$
+ emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { number "number" bibinfo.check }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ n.dashify
+ }
+ {
+ }
+ if$
+ "pages" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ": " *
+ swap$
+ n.dashify
+ "pages" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ "volume" bibinfo.check
+ }
+ if$
+ bolden
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ { "" }
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+ emphasize
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ {
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ " " *
+ get.bbl.editor
+ "(" swap$ * ") " *
+ * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ capitalize
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ address "address" bibinfo.check *
+ t empty$
+ 'skip$
+ { address empty$
+ 'skip$
+ { ": " * }
+ if$
+ t *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ {
+ journal
+ "journal" bibinfo.check
+ emphasize
+ "journal" output.check
+ add.blank
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ }
+ if$
+ format.journal.pages
+ format.issn output
+ new.block
+ format.note output
+ fin.entry
+ write.url
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ add.blank
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher.address output
+ }
+ {
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.isbn output
+ new.block
+ format.note output
+ fin.entry
+ write.url
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ format.isbn output
+ new.block
+ format.note output
+ fin.entry
+ write.url
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher.address output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ crossref missing$
+ { format.isbn output }
+ 'skip$
+ if$
+ format.pages "pages" output.check
+ new.block
+ format.note output
+ fin.entry
+ write.url
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ format.publisher.address output
+ format.edition output
+ format.isbn output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.pages "pages" output.check
+ new.block
+ format.note output
+ fin.entry
+ write.url
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ new.sentence
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.isbn output
+ format.issn output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ }
+ if$
+ format.pages "pages" output.check
+ new.block
+ format.note output
+ fin.entry
+ write.url
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ format.edition output
+ new.block
+ format.note output
+ fin.entry
+ write.url
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ new.block
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ new.block
+ format.note output
+ fin.entry
+ write.url
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title output
+ new.block
+ howpublished "howpublished" bibinfo.check output
+ new.block
+ format.note output
+ fin.entry
+ write.url
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ new.block
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ new.block
+ format.note output
+ fin.entry
+ write.url
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ new.sentence
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.isbn output
+ format.issn output
+ new.block
+ format.note output
+ fin.entry
+ write.url
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ new.block
+ format.note output
+ fin.entry
+ write.url
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ format.note "note" output.check
+ fin.entry
+ write.url
+}
+
+FUNCTION {default.type} { misc }
+READ
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+FUNCTION {format.lab.names}
+{ 's :=
+ "" 't :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$
+ " " * bbl.etal *
+ }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ " " * bbl.etal *
+ }
+ { bbl.and space.word * s #2 "{vv~}{ll}" format.name$
+ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" * }
+ { t sortify * }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+SORT
+STRINGS { last.label next.extra }
+INTEGERS { last.extra.num number.label }
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+EXECUTE {initialize.extra.label.stuff}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+ITERATE {bib.sort.order}
+SORT
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\expandafter\ifx\csname natexlab\endcsname\relax\def\natexlab#1{#1}\fi"
+ write$ newline$
+ "\expandafter\ifx\csname url\endcsname\relax"
+ write$ newline$
+ " \def\url#1{\texttt{#1}}\fi"
+ write$ newline$
+ "\expandafter\ifx\csname urlprefix\endcsname\relax\def\urlprefix{URL }\fi"
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `jae.bst'.
diff --git a/biblio/bibtex/contrib/economic/jpe.bst b/biblio/bibtex/contrib/economic/jpe.bst
new file mode 100644
index 0000000000..36e97c2608
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/jpe.bst
@@ -0,0 +1,1611 @@
+%%% Journal of Political Economy (JPE)
+%%% bibliography style for use with LaTeX2e
+%%% version: 1.0 (12 December 2008)
+%%% license: LaTeX Project Public License (see below)
+%%% This file was created with makebst (see below)
+%%% by Adam Seth Litwin <aslitwin (at) jhu (dot) edu>.
+%%% Note: This is an unofficial style file that may not fully comply
+%%% with the JPE reference guidelines in every detail.
+%%% Please report any problems at
+%%% http://sourceforge.net/projects/economtex/
+%%% Further information is available at
+%%% http://economtex.wiki.sourceforge.net/
+%%
+%% This is file `jpe.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `ay,nat,pres,nm-revv1,jnrlst,nmdash,nmd-3,mcite,mct-1,mct-x3,keyxyr,dt-beg,yr-per,yrp-per,note-yr,tit-qq,atit-u,vnum-sp,pp-last,num-xser,ser-vol,ser-ed,jnm-x,bkpg-x,add-pub,edby,ppx,abr,ednx,xedn,jabr,etal-xc,url,url-blk,nfss,')
+%% ----------------------------------------
+%% *** a style as similar as possible to Journal of Political Economy ***
+%%
+%% Copyright 1994-2007 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2007/04/24 4.20 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is natbib.sty by Patrick W. Daly
+ % The form of the \bibitem entries is
+ % \bibitem[Jones et al.(1990)]{key}...
+ % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
+ % The essential feature is that the label (the part in brackets) consists
+ % of the author names, as they should appear in the citation, with the year
+ % in parentheses following. There must be no space before the opening
+ % parenthesis!
+ % With natbib v5.3, a full list of authors may also follow the year.
+ % In natbib.sty, it is possible to define the type of enclosures that is
+ % really wanted (brackets or parentheses), but in either case, there must
+ % be parentheses in the label.
+ % The \cite command functions as follows:
+ % \citet{key} ==>> Jones et al. (1990)
+ % \citet*{key} ==>> Jones, Baker, and Smith (1990)
+ % \citep{key} ==>> (Jones et al., 1990)
+ % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
+ % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
+ % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
+ % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
+ % \citeauthor{key} ==>> Jones et al.
+ % \citeauthor*{key} ==>> Jones, Baker, and Smith
+ % \citeyear{key} ==>> 1990
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ eid
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ url
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ new.block
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+FUNCTION {non.stop}
+{ duplicate$
+ "}" * add.period$
+ #-1 #1 substring$ "." =
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "editors" }
+
+FUNCTION {bbl.editor}
+{ "editor" }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "ed." }
+
+FUNCTION {bbl.volume}
+{ "vol." }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "no." }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "" }
+
+FUNCTION {bbl.page}
+{ "" }
+
+FUNCTION {bbl.chapter}
+{ "chap." }
+
+FUNCTION {bbl.techrep}
+{ "Tech. Rep." }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"Jun."}
+
+MACRO {jul} {"Jul."}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sep."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Software Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput. Aid. Des."}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Program."}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Graphic."}
+
+MACRO {toms} {"ACM Trans. Math. Software"}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Progr. Lang. Syst."}
+
+MACRO {tcs} {"Theor. Comput. Sci."}
+
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { "\urlprefix\url{" url * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+
+STRINGS { bibinfo}
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ duplicate$ #1 >
+ { "{ff~}{vv~}{ll}{, jj}" }
+ { "{vv~}{ll}{, ff}{, jj}" }
+ if$
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ numnames #2 >
+ t "others" = not and
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.names.ed}
+{
+ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ff~}{vv~}{ll}{, jj}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ numnames #2 >
+ t "others" = not and
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ {
+
+ " " * bbl.etal *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author "author" format.names
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ "," *
+ " " *
+ get.bbl.editor
+ *
+ }
+ if$
+}
+FUNCTION {format.note}
+{
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ "\enquote{" swap$ *
+ add.period$ "}" *
+ }
+ if$
+}
+FUNCTION {format.full.names}
+{'s :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[{" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "}]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in capitalize
+ " " * }
+
+FUNCTION {format.date}
+{ year "year" bibinfo.check duplicate$ empty$
+ {
+ "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????"
+ }
+ 'skip$
+ if$
+ extra.label *
+ before.all 'output.state :=
+ after.sentence 'output.state :=
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { emphasize ", " * swap$ * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { number "number" bibinfo.check }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ n.dashify
+ }
+ {
+ }
+ if$
+ "pages" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ":" *
+ swap$
+ n.dashify
+ "pages" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.journal.eid}
+{ eid "eid" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$ 'skip$
+ {
+ ":" *
+ }
+ if$
+ swap$ *
+ }
+ if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ "volume" bibinfo.check
+ }
+ if$
+ number "number" bibinfo.check duplicate$ empty$ 'skip$
+ {
+ swap$ duplicate$ empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ swap$
+ "~(" swap$ * ")" *
+ }
+ if$ *
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ { "" }
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+ emphasize
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ {
+ format.bvolume duplicate$ empty$ 'pop$
+ { ", " swap$ * * }
+ if$
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ bbl.edby
+ " " * swap$ *
+ swap$
+ "," *
+ " " * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ capitalize
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ address "address" bibinfo.check *
+ t empty$
+ 'skip$
+ { address empty$
+ 'skip$
+ { ": " * }
+ if$
+ t *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+STRINGS {oldname}
+
+FUNCTION {name.or.dash}
+{ 's :=
+ oldname empty$
+ { s 'oldname := s }
+ { s oldname =
+ { "---{}---{}---" }
+ { s 'oldname := s }
+ if$
+ }
+ if$
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ {
+ journal
+ "journal" bibinfo.check
+ emphasize
+ "journal" output.check
+ add.blank
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ }
+ if$
+ eid empty$
+ { format.journal.pages }
+ { format.journal.eid }
+ if$
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ name.or.dash
+ }
+ { format.authors output.nonnull
+ name.or.dash
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher.address output
+ }
+ {
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ name.or.dash
+ }
+ { format.authors output.nonnull
+ name.or.dash
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher.address output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.pages "pages" output.check
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ format.publisher.address output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.pages "pages" output.check
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.number.series output
+ new.sentence
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ }
+ if$
+ format.pages "pages" output.check
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ format.edition output
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ new.block
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title output
+ new.block
+ howpublished "howpublished" bibinfo.check output
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ new.block
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {presentation}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ name.or.dash
+ new.block
+ format.title output
+ new.block
+ format.organization.address "organization and address" output.check
+ month "month" output.check
+ year "year" output.check
+ new.block
+ format.note output
+ new.sentence
+ type missing$ 'skip$
+ {"(" type capitalize * ")" * output}
+ if$
+ new.block
+ format.url output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ new.sentence
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ format.url output
+ new.block
+ format.note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+READ
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+FUNCTION {format.lab.names}
+{'s :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$
+ 't :=
+ nameptr #1 >
+ {
+ nameptr #2 =
+ numnames #3 > and
+ { "others" 't :=
+ #1 'namesleft := }
+ 'skip$
+ if$
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" * }
+ { t sortify * }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+SORT
+STRINGS { last.label next.extra }
+INTEGERS { last.extra.num number.label }
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+EXECUTE {initialize.extra.label.stuff}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+ITERATE {bib.sort.order}
+SORT
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\newcommand{\enquote}[1]{``#1''}"
+ write$ newline$
+ "\providecommand{\natexlab}[1]{#1}"
+ write$ newline$
+ "\providecommand{\url}[1]{\texttt{#1}}"
+ write$ newline$
+ "\providecommand{\urlprefix}{URL }"
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `jpe.bst'.
diff --git a/biblio/bibtex/contrib/economic/jrurstud.cls b/biblio/bibtex/contrib/economic/jrurstud.cls
new file mode 100644
index 0000000000..bcdd55efb5
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/jrurstud.cls
@@ -0,0 +1,281 @@
+%%% LaTeX class for manuscripts submitted to the
+%%% Journal of Rural Studies (JRurStud)
+%%%
+%%% author: Arne Henningsen
+%%% version: 1.1 (18 November 2009)
+%%% license: LaTeX Project Public License
+%%%
+%%% Note: This is an unofficial style file that may not fully comply
+%%% with the JRurStud formatting instructions in every detail.
+%%% Please report any problems at
+%%% http://sourceforge.net/projects/economtex/
+%%% Further information is available at
+%%% http://economtex.wiki.sourceforge.net/
+%%%
+%%% This document class is based on the "scrartcl" class
+%%% from the KOMA script bundle.
+%%% Following additional packages are required:
+%%% amsmath, babel, endfloat, endnotes, geometry
+%%% ifthen, lmodern, natbib, setspace, stringstrings, textcomp, url
+%%%
+%%% The class provides the following options:
+%%% noendfloat - don't move floats to the end of the paper
+%%% noendnotes - don't use endnotes (use footnotes)
+%%% titlepage - create "first" title page with title, authors' names,
+%%% affiliations, and address of corresponding author
+%%% nosecondtitle - do not create "second" title page with (repeated) title
+%%%
+%%% This class selects the BibTeX style "elsart-harv.bst".
+%%% (see http://www.elsevier.com/wps/find/authorsview.authors/elsart)
+%%%
+%%% This class provides 4 new commands:
+%%% \affiliation specify affiliation(s) of the authors
+%%% \cauthormark mark the corresponding author (by an asterisk)
+%%% \cauthoraddress specify address of the corresponding author
+%%% \keywords specify some keywords (separated by semicolons)
+%%%
+%%% The Journal of Rural Studies requires that you use single quotes
+%%% you could do this with the ``csquotes'' package:
+%%% \usepackage{csquotes}
+%%% \MakeInnerQuote{<yourQuoteCharacter>}
+%%%
+%%% The manuscript submitted to JRurStud shouldn't include any figures.
+%%% If your paper contains any figures and you haven't removed/disabled
+%%% them in the LaTeX source, you can remove the pages showing these figures
+%%% from the PDF file. If you want to remove, say, pages 18 and 19 with
+%%% "pdftk" (PDF toolkit), you could execute
+%%% pdftk original.pdf cat 1-17 20-end output manuscript.pdf
+%%% While this needs some extra effort, it has the advantage (compared to
+%%% removing the figures in the LaTeX source) that references to figures
+%%% with \ref{} still work.
+%%%
+%%% Website of the "Journal of Rural Studies":
+%%% http://www.elsevier.com/locate/jrurstud/
+%%%
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{jrurstud}[2009/11/18 LaTeX class for the Journal of Rural Studies]
+
+% package for convenient if-then-else statements
+\RequirePackage{ifthen}
+
+% option to NOT place floats at the end
+\newif\if@useendfloat
+\@useendfloattrue
+\DeclareOption{noendfloat}{\@useendfloatfalse}
+
+% option to NOT use endnotes (but footnotes)
+\newif\if@useendnotes
+\@useendnotestrue
+\DeclareOption{noendnotes}{\@useendnotesfalse}
+
+% option to create a "first" title page
+\newif\if@maketitlepage
+\@maketitlepagefalse
+\DeclareOption{titlepage}{\@maketitlepagetrue}
+
+% option not to create a "second" title page
+\newif\if@makesecondtitle
+\@makesecondtitletrue
+\DeclareOption{nosecondtitle}{\@makesecondtitlefalse}
+
+% pass any options on to the scrartcl class and load this class with some options
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
+\ProcessOptions\relax
+\LoadClass[12pt,english,pointednumbers,tablecaptionabove]{scrartcl}
+% pointednumbers = add final dot after ordinary section numbers
+% tablecaptionabove = use \captionabove for tables
+
+% additional symbols
+\RequirePackage{textcomp}
+
+% page format, margins
+\RequirePackage{geometry}
+\geometry{a4paper, tmargin=2.5cm, bmargin=2.8cm, lmargin=2.8cm,
+ rmargin=2.8cm, headheight=0cm, headsep=0cm, footskip=1.2cm }
+
+% double spacing
+\RequirePackage{setspace}
+\doublespacing
+
+% spacing around formulas
+\AtBeginDocument{
+\setlength{\abovedisplayshortskip}{6pt}
+\setlength{\belowdisplayshortskip}{6pt}
+\setlength{\abovedisplayskip}{6pt}
+\setlength{\belowdisplayskip}{6pt}
+\allowdisplaybreaks
+}
+
+% spacing around captions and floats
+\setlength{\abovecaptionskip}{6pt}
+\setlength{\belowcaptionskip}{3pt}
+\setlength{\floatsep}{0pt}
+\setlength{\textfloatsep}{20pt}
+\setlength{\intextsep}{5pt}
+
+% font family: latin modern
+\RequirePackage{lmodern}
+
+% section headers
+\setkomafont{section}{\bfseries}
+\setkomafont{subsection}{\normalfont\itshape}
+\setkomafont{subsubsection}{\normalfont}
+
+% amsmath
+\RequirePackage{amsmath}
+% for compatibility with ajae.cls
+\newcommand{\veclatin}[1]{#1}
+\newcommand{\matlatin}[1]{#1}
+\newcommand{\vecgreek}[1]{#1}
+\newcommand{\matgreek}[1]{#1}
+
+% font for URLs
+\RequirePackage{url}
+\def\UrlFont{\rmfamily}
+
+% citations and bibliography
+\RequirePackage[authoryear]{natbib}
+\setlength{\bibsep}{0pt}
+\bibliographystyle{elsart-harv}
+
+% captions of figures and tables
+\setcapwidth[l]{\textwidth}
+\setcapindent{0pt}
+\setkomafont{captionlabel}{\normalsize\normalfont\bfseries}
+\setkomafont{caption}{\normalsize\normalfont\bfseries}
+\renewcommand{\captionformat}{.\ }
+
+% titlepage without author and date
+\newcommand{\affiliation}[1]{\newcommand{\@affiliation}{#1}}
+\newcommand{\cauthoraddress}[1]{\newcommand{\@cauthoraddress}{#1}}
+\newcommand{\cauthormark}{\textsuperscript{*}}
+\renewcommand{\maketitle}{
+ \if@maketitlepage
+ \thispagestyle{empty}
+ \vspace*{12mm}
+ \begin{center}
+ \begin{spacing}{1.5}
+ \LARGE{\textbf{\@title}}%
+ \end{spacing}
+ \ifthenelse{ \isundefined\@author }{
+ \ClassWarning{apecon}{No author(s) specified.
+ Please specify with command \protect\author}
+ }{
+ \begin{large}
+ \textbf{\@author}\\
+ \end{large}
+ \vspace*{3mm}
+ }
+ \begin{spacing}{1.1}
+ \ifthenelse{ \isundefined\@affiliation }{
+ \ClassWarning{apecon}{No affiliation(s) specified.
+ Please specify with command \protect\affiliation}
+ }{
+ \textit{\@affiliation}\\
+ }
+ \vspace*{2cm}
+ \textbf{\cauthormark{}~Corresponding author}.\\
+ \ifthenelse{ \isundefined\@cauthoraddress }{
+ \ClassWarningNoLine{jrurstud}{No address of the corresponding authors
+ is specified. Please specify with command \protect\cauthoraddress}
+ }{
+ \@cauthoraddress\\
+ }
+ \end{spacing}
+ \vspace*{5mm}
+ \end{center}
+ \clearpage
+ \fi
+ \if@makesecondtitle
+ \begin{center}
+ \begin{spacing}{1.5}
+ \LARGE{\textbf{\@title}}%
+ \end{spacing}
+ \end{center}
+ \fi
+}
+
+% abstract, keywords, JEL classification
+\newcommand{\keywords}[1]{\newcommand{\@keywords}{#1}}
+\newcommand{\jelclass}[1]{\newcommand{\@jelclass}{#1}}
+\renewenvironment{abstract}{%
+ \hrule
+ \vspace*{5mm}
+ \begin{spacing}{1.5}
+ \noindent
+ \textbf{Abstract}\\
+ \indent
+}{%
+ \ifthenelse{ \isundefined\@keywords }{
+ \ClassWarningNoLine{erae}{No keywords specified.
+ Please use the command \protect\keywords}
+ }{
+ \vspace*{5mm}\\ \noindent
+ \textit{Keywords:} \@keywords%
+ }
+ \vspace*{5mm}
+ \end{spacing}
+ \hrule
+ \clearpage
+}
+
+% use babel package and set language to english
+\RequirePackage[english]{babel}
+
+% avoid clubs and widows
+\clubpenalty=10000
+\widowpenalty=10000
+% \displaywidowpenalty=10000
+
+% increase stretchability of the spaces (avoid overful hboxes)
+\setlength{\emergencystretch}{3em}
+
+% move floats to the end of the paper
+\if@useendfloat
+ \RequirePackage[noheads,tablesfirst]{endfloat}
+ \AtBeginDelayedFloats{%
+ \pagestyle{empty}
+ }
+ \RequirePackage{stringstrings}
+ \renewcommand{\@makecaption}[2]{%
+ \testmatchingchar{#1}{1}{T}
+ \ifmatchingchar
+ \hfill \thetable\\
+ \vspace*{3cm}
+ \fi
+ }
+ \renewcommand*{\l@figure}[2]{%
+ \setlength\@tempdima{2.3em}%
+ \noindent\hspace*{1.5em}#1\hfil\newline
+ }
+ \let\l@table\l@figure
+\fi
+
+%% use endnotes in place of footnotes
+\if@useendnotes
+ \RequirePackage{endnotes}
+ \let\footnote=\endnote
+ \newcommand{\listofendnotes}{
+ \begingroup
+ \parindent 0pt
+ \parskip 0ex
+ \def\enotesize{\normalsize}
+ \theendnotes
+ \endgroup
+ }
+ % use normalsize numbers (copied from endnote.sty and modified thereafter)
+ \def\enoteformat{\rightskip\z@ \leftskip\z@ \parindent=0em
+ \leavevmode\llap{\theenmark. }}
+ \AtEndDocument{%
+ \IfFileExists{\jobname.ent}{%
+ \clearpage
+ \pagestyle{empty}
+ \listofendnotes
+ }{}
+ }
+\fi
+
+% for compatibility with erae.cls
+\newcommand{\citetPage}[2]{\citeauthor{#2} (\citeyear{#2}, p.~#1)}
+\newcommand{\citepPage}[2]{\citetext{\citealp{#2}, p.~#1}}
diff --git a/biblio/bibtex/contrib/economic/jss2.bst b/biblio/bibtex/contrib/economic/jss2.bst
new file mode 100644
index 0000000000..91a710f645
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/jss2.bst
@@ -0,0 +1,1647 @@
+%%
+%% This is file `jss.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `ay,nat,nm-rvx,keyxyr,dt-beg,yr-par,note-yr,tit-qq,bt-qq,atit-u,trnum-it,vol-bf,volp-com,num-xser,isbn,issn,edpar,pp,ed,xedn,xand,etal-it,revdata,eprint,url,url-blk,doi,nfss')
+%% ----------------------------------------
+%% *** Journal of Statistical Software ***
+%%
+%% Copyright 1994-2004 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2004/02/09 4.13 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is natbib.sty by Patrick W. Daly
+ % The form of the \bibitem entries is
+ % \bibitem[Jones et al.(1990)]{key}...
+ % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
+ % The essential feature is that the label (the part in brackets) consists
+ % of the author names, as they should appear in the citation, with the year
+ % in parentheses following. There must be no space before the opening
+ % parenthesis!
+ % With natbib v5.3, a full list of authors may also follow the year.
+ % In natbib.sty, it is possible to define the type of enclosures that is
+ % really wanted (brackets or parentheses), but in either case, there must
+ % be parentheses in the label.
+ % The \cite command functions as follows:
+ % \citet{key} ==>> Jones et al. (1990)
+ % \citet*{key} ==>> Jones, Baker, and Smith (1990)
+ % \citep{key} ==>> (Jones et al., 1990)
+ % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
+ % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
+ % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
+ % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
+ % \citeauthor{key} ==>> Jones et al.
+ % \citeauthor*{key} ==>> Jones, Baker, and Smith
+ % \citeyear{key} ==>> 1990
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ archive
+ author
+ booktitle
+ chapter
+ collaboration
+ doi
+ edition
+ editor
+ eid
+ eprint
+ howpublished
+ institution
+ isbn
+ issn
+ journal
+ key
+ month
+ note
+ number
+ numpages
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ url
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ new.block
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+FUNCTION {non.stop}
+{ duplicate$
+ "}" * add.period$
+ #-1 #1 substring$ "." =
+}
+
+STRINGS {z}
+FUNCTION {remove.dots}
+{ 'z :=
+ ""
+ { z empty$ not }
+ { z #1 #1 substring$
+ z #2 global.max$ substring$ 'z :=
+ duplicate$ "." = 'pop$
+ { * }
+ if$
+ }
+ while$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+FUNCTION {bolden}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textbf{" swap$ * "}" * }
+ if$
+}
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds." }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "edition" }
+
+FUNCTION {bbl.volume}
+{ "volume" }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "number" }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "pp." }
+
+FUNCTION {bbl.page}
+{ "p." }
+
+FUNCTION {bbl.eidpp}
+{ "pages" }
+
+FUNCTION {bbl.chapter}
+{ "chapter" }
+
+FUNCTION {bbl.techrep}
+{ "Technical Report" }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.eprint}
+{ eprint duplicate$ empty$
+ 'skip$
+ { "\eprint"
+ archive empty$
+ 'skip$
+ { "[" * archive * "]" * }
+ if$
+ "{" * swap$ * "}" *
+ }
+ if$
+}
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { "\urlprefix\url{" url * "}" * }
+ if$
+}
+
+STRINGS { bibinfo}
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}{ jj}{ f{}}"
+ format.name$
+ remove.dots
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ "," *
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ { " " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.names.ed}
+{
+ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{f{}~}{vv~}{ll}{ jj}"
+ format.name$
+ remove.dots
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ "," *
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+
+ " " * bbl.etal emphasize *
+ }
+ { " " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author "author" format.names
+ duplicate$ empty$ 'skip$
+ { collaboration "collaboration" bibinfo.check
+ duplicate$ empty$ 'skip$
+ { " (" swap$ * ")" * }
+ if$
+ *
+ }
+ if$
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ " " *
+ get.bbl.editor
+ "(" swap$ * ")" *
+ *
+ }
+ if$
+}
+FUNCTION {format.isbn}
+{ isbn "isbn" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ new.block
+ "ISBN " swap$ *
+ }
+ if$
+}
+
+FUNCTION {format.issn}
+{ issn "issn" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ new.block
+ "ISSN " swap$ *
+ }
+ if$
+}
+
+FUNCTION {format.doi}
+{ doi "doi" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ new.block
+ "\doi{" swap$ * "}" *
+ }
+ if$
+}
+FUNCTION {format.note}
+{
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ "\bibenquote{" swap$ *
+ add.period$ "}" *
+ }
+ if$
+}
+FUNCTION {end.quote.btitle}
+{ booktitle empty$
+ 'skip$
+ { before.all 'output.state := }
+ if$
+}
+FUNCTION {format.full.names}
+{'s :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[{" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "}]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in capitalize
+ " " * }
+
+FUNCTION {format.date}
+{ year "year" bibinfo.check duplicate$ empty$
+ {
+ "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????"
+ }
+ 'skip$
+ if$
+ extra.label *
+ before.all 'output.state :=
+ " (" swap$ * ")" *
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ bbl.of space.word * swap$
+ emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { number "number" bibinfo.check }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ bbl.pages swap$
+ n.dashify
+ }
+ {
+ bbl.page swap$
+ }
+ if$
+ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ", " *
+ swap$
+ n.dashify
+ "pages" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.journal.eid}
+{ eid "eid" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$ 'skip$
+ {
+ ", " *
+ }
+ if$
+ swap$ *
+ numpages empty$ 'skip$
+ { bbl.eidpp numpages tie.or.space.prefix
+ "numpages" bibinfo.check * *
+ " (" swap$ * ")" * *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ "volume" bibinfo.check
+ }
+ if$
+ bolden
+ number "number" bibinfo.check duplicate$ empty$ 'skip$
+ {
+ swap$ duplicate$ empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ swap$
+ "(" swap$ * ")" *
+ }
+ if$ *
+ eid empty$
+ { format.journal.pages }
+ { format.journal.eid }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {bt.enquote}
+{ duplicate$ empty$ 'skip$
+ { "\bibenquote{" swap$ *
+ non.stop
+ { ",} " * }
+ { "}, " * }
+ if$
+ }
+ if$
+}
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+ bt.enquote
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ {
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ " " *
+ get.bbl.editor
+ "(" swap$ * "), " *
+ * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ capitalize
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ t empty$
+ { address "address" bibinfo.check *
+ }
+ { t *
+ address empty$
+ 'skip$
+ { ", " * address "address" bibinfo.check * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ {
+ journal
+ "journal" bibinfo.check
+ emphasize
+ "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.issn output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher.address output
+ }
+ {
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.isbn output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ format.isbn output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher.address output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ crossref missing$
+ { format.isbn output }
+ 'skip$
+ if$
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ end.quote.btitle
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ format.publisher.address output
+ format.edition output
+ format.isbn output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ end.quote.btitle
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ new.sentence
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.isbn output
+ format.issn output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ format.edition output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ new.block
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title output
+ new.block
+ howpublished "howpublished" bibinfo.check output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ new.block
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ new.sentence
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.isbn output
+ format.issn output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ new.block
+ format.tr.number emphasize output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.doi output
+ new.block
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ format.doi output
+ new.block
+ format.note "note" output.check
+ format.eprint output
+ format.url output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+READ
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+FUNCTION {format.lab.names}
+{ 's :=
+ "" 't :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$
+ " " * bbl.etal emphasize *
+ }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ { bbl.and space.word * s #2 "{vv~}{ll}" format.name$
+ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" * }
+ { t sortify * }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+SORT
+STRINGS { last.label next.extra }
+INTEGERS { last.extra.num number.label }
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+EXECUTE {initialize.extra.label.stuff}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+ITERATE {bib.sort.order}
+SORT
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\newcommand{\bibenquote}[1]{``#1''}"
+ write$ newline$
+ "\providecommand{\natexlab}[1]{#1}"
+ write$ newline$
+ "\providecommand{\url}[1]{\texttt{#1}}"
+ write$ newline$
+ "\providecommand{\urlprefix}{URL }"
+ write$ newline$
+ "\expandafter\ifx\csname urlstyle\endcsname\relax"
+ write$ newline$
+ " \providecommand{\doi}[1]{doi:\discretionary{}{}{}#1}\else"
+ write$ newline$
+ " \providecommand{\doi}{doi:\discretionary{}{}{}\begingroup \urlstyle{rm}\Url}\fi"
+ write$ newline$
+ "\providecommand{\eprint}[2][]{\url{#2}}"
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `jss.bst'.
diff --git a/biblio/bibtex/contrib/economic/njf.cls b/biblio/bibtex/contrib/economic/njf.cls
new file mode 100644
index 0000000000..eced17ed6f
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/njf.cls
@@ -0,0 +1,148 @@
+%%% LaTeX class for the NJF seminar 425
+%%% "Economic System Research in Agriculture and Rural Development"
+%%% (29 September - 1 October 2009, Tartu, Estonia)
+%%% and hopefully also for other NJF seminars
+%%%
+%%% author: Arne Henningsen
+%%% version: 1.0 (18 August 2009)
+%%% license: LaTeX Project Public License
+%%%
+%%% Note: This is an unofficial style file that may not fully comply
+%%% with the NJF Formatting Instructions in every detail.
+%%% Please report any problems at
+%%% http://sourceforge.net/projects/economtex/
+%%% Further information is available at
+%%% http://economtex.wiki.sourceforge.net/
+%%%
+%%% This document class is based on the "scrartcl" class
+%%% from the KOMA script bundle.
+%%% Following additional packages are required:
+%%% amsmath, babel, courier, geometry,
+%%% helvet, ifthen, mathptmx, natbib, setspace, titlesec, url
+%%%
+%%% This document class provides 2 new commands:
+%%% \keywords can be use to show keywors below the abstract
+%%% \affiliation can be used to add affiliation information
+%%%
+
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{njf}[2009/08/18 LaTeX class for the NJF]
+
+\RequirePackage{ifthen}
+
+% pass any options on to the scrartcl class and load this class with some options
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
+\ProcessOptions\relax
+\LoadClass[12pt,english,halfparskip,tablecaptionabove]{scrartcl}
+% tablecaptionabove = use \captionabove for tables
+
+% page format, margins
+\RequirePackage{geometry}
+\geometry{a4paper, tmargin=2.5cm, bmargin=2.5cm, lmargin=2.5cm,
+ rmargin=2.5cm, headheight=0cm, headsep=0cm, footskip=1.2cm }
+
+% one half spacing
+\RequirePackage{setspace}
+\onehalfspacing
+
+% spacing between paragraphs
+\setlength{\parskip}{6pt}
+
+% spacing around (sub)section headers
+\RequirePackage{titlesec}
+\titlespacing*{\section}{0pt}{6pt}{0pt}
+\titlespacing*{\subsection}{0pt}{0pt}{0pt}
+
+% spacing around formulas
+\AtBeginDocument{
+\setlength{\abovedisplayshortskip}{6pt}
+\setlength{\belowdisplayshortskip}{6pt}
+\setlength{\abovedisplayskip}{6pt}
+\setlength{\belowdisplayskip}{6pt}
+\allowdisplaybreaks
+}
+
+% spacing around captions and floats
+\setlength{\abovecaptionskip}{6pt}
+\setlength{\belowcaptionskip}{3pt}
+\setlength{\floatsep}{0pt}
+\setlength{\textfloatsep}{20pt}
+\setlength{\intextsep}{12pt}
+
+% font families: times/helvetica/courier
+\RequirePackage{mathptmx}
+\RequirePackage[scaled=.90]{helvet}
+\RequirePackage{courier}
+
+% fonts of headings
+\setkomafont{section}{\rmfamily\bfseries\normalsize}
+\setkomafont{subsection}{\rmfamily\bfseries\normalsize}
+
+% amsmath
+\RequirePackage{amsmath}
+
+% for compatibility with ajae.cls
+\newcommand{\veclatin}[1]{#1}
+\newcommand{\matlatin}[1]{#1}
+\newcommand{\vecgreek}[1]{#1}
+\newcommand{\matgreek}[1]{#1}
+
+% font for URLs
+\RequirePackage{url}
+\def\UrlFont{\rmfamily}
+
+% citations and bibliography
+\RequirePackage[authoryear]{natbib}
+\setlength{\bibsep}{0pt}
+
+% captions of figures and tables
+\setcapwidth[l]{\textwidth}
+
+% titlepage
+\newcommand{\affiliation}[1]{\newcommand{\@affiliation}{#1}}
+\renewcommand{\maketitle}{
+ \begin{center}
+ \begin{spacing}{1.5}
+ \Large{\textbf{\@title}}%
+ \end{spacing}
+ \textbf{\@author}\\
+ \ifthenelse{ \isundefined\@affiliation }{
+ \ClassWarningNoLine{njf}{No affiliation(s) specified.
+ Please use the command \protect\affiliation}
+ }{
+ \vspace*{3mm}
+ \begin{small}
+ \@affiliation\\
+ \end{small}
+ }
+ \vspace*{5mm}
+ \end{center}
+}
+
+% abstract & keywords
+\newcommand{\keywords}[1]{\newcommand{\@keywords}{#1}}
+\renewenvironment{abstract}{%
+\section*{Abstract}
+}{%
+\ifthenelse{ \isundefined\@keywords }{
+\ClassWarningNoLine{njf}{No keywords specified.
+ Please use the command \protect\keywords}
+}{
+\smallskip\\ \noindent
+\textbf{Keywords:} \@keywords
+}
+\noindent%
+}
+
+% use babel package and set language to english
+\RequirePackage[english]{babel}
+
+% avoid clubs and widows
+\clubpenalty=10000
+\widowpenalty=10000
+% \displaywidowpenalty=10000
+
+% increase stretchability of the spaces (avoid overful hboxes)
+\setlength{\emergencystretch}{3em}
+
diff --git a/biblio/bibtex/contrib/economic/oega.bst b/biblio/bibtex/contrib/economic/oega.bst
new file mode 100644
index 0000000000..8202307f4d
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/oega.bst
@@ -0,0 +1,1563 @@
+%%
+%% This is file `oega.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `ay,nat,nm-rvvc,keyxyr,dt-beg,yr-par,yrp-per,note-yr,thtit-a,num-xser,ser-vol,jnm-x,add-pub,pre-edn,edparxc,in-col,pp,ed,abr,ednx,ord,and-xcom,etal-xc,em-it,nfss,')
+%% ----------------------------------------
+%% *** Oesterreichische Gesellschaft fuer Agraroekonomie (OeGA) ***
+%%
+%% Copyright 1994-2005 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2005/10/17 4.14 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is natbib.sty by Patrick W. Daly
+ % The form of the \bibitem entries is
+ % \bibitem[Jones et al.(1990)]{key}...
+ % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
+ % The essential feature is that the label (the part in brackets) consists
+ % of the author names, as they should appear in the citation, with the year
+ % in parentheses following. There must be no space before the opening
+ % parenthesis!
+ % With natbib v5.3, a full list of authors may also follow the year.
+ % In natbib.sty, it is possible to define the type of enclosures that is
+ % really wanted (brackets or parentheses), but in either case, there must
+ % be parentheses in the label.
+ % The \cite command functions as follows:
+ % \citet{key} ==>> Jones et al. (1990)
+ % \citet*{key} ==>> Jones, Baker, and Smith (1990)
+ % \citep{key} ==>> (Jones et al., 1990)
+ % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
+ % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
+ % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
+ % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
+ % \citeauthor{key} ==>> Jones et al.
+ % \citeauthor*{key} ==>> Jones, Baker, and Smith
+ % \citeyear{key} ==>> 1990
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ eid
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ new.block
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textit{" swap$ * "}" * }
+ if$
+}
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds." }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "ed." }
+
+FUNCTION {bbl.volume}
+{ "vol." }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "no." }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "pp." }
+
+FUNCTION {bbl.page}
+{ "p." }
+
+FUNCTION {bbl.chapter}
+{ "chap." }
+
+FUNCTION {bbl.techrep}
+{ "Tech. Rep." }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+FUNCTION {bbl.first}
+{ "1st" }
+
+FUNCTION {bbl.second}
+{ "2nd" }
+
+FUNCTION {bbl.third}
+{ "3rd" }
+
+FUNCTION {bbl.fourth}
+{ "4th" }
+
+FUNCTION {bbl.fifth}
+{ "5th" }
+
+FUNCTION {bbl.st}
+{ "st" }
+
+FUNCTION {bbl.nd}
+{ "nd" }
+
+FUNCTION {bbl.rd}
+{ "rd" }
+
+FUNCTION {bbl.th}
+{ "th" }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"Jun."}
+
+MACRO {jul} {"Jul."}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sep."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+FUNCTION {eng.ord}
+{ duplicate$ "1" swap$ *
+ #-2 #1 substring$ "1" =
+ { bbl.th * }
+ { duplicate$ #-1 #1 substring$
+ duplicate$ "1" =
+ { pop$ bbl.st * }
+ { duplicate$ "2" =
+ { pop$ bbl.nd * }
+ { "3" =
+ { bbl.rd * }
+ { bbl.th * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+STRINGS { bibinfo}
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}{, jj}{, f{.}.}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.names.ed}
+{
+ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{f{.}.~}{vv~}{ll}{ jj}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+
+ " " * bbl.etal *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author "author" format.names
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ " " *
+ get.bbl.editor
+ "(" swap$ * ")" *
+ *
+ }
+ if$
+}
+FUNCTION {format.note}
+{
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ duplicate$ empty$ 'skip$
+ { "t" change.case$ }
+ if$
+ "title" bibinfo.check
+}
+FUNCTION {format.full.names}
+{'s :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[{" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "}]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in capitalize
+ ":" *
+ " " * }
+
+FUNCTION {format.date}
+{ year "year" bibinfo.check duplicate$ empty$
+ {
+ "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????"
+ }
+ 'skip$
+ if$
+ extra.label *
+ before.all 'output.state :=
+ " (" swap$ * ")" *
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { emphasize ", " * swap$ * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { number "number" bibinfo.check }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+FUNCTION {convert.edition}
+{ extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bbl.first 't := }
+ { s "second" = s "2" = or
+ { bbl.second 't := }
+ { s "third" = s "3" = or
+ { bbl.third 't := }
+ { s "fourth" = s "4" = or
+ { bbl.fourth 't := }
+ { s "fifth" = s "5" = or
+ { bbl.fifth 't := }
+ { s #1 #1 substring$ is.num
+ { s eng.ord 't := }
+ { edition 't := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ t
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ convert.edition
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ bbl.pages swap$
+ n.dashify
+ }
+ {
+ bbl.page swap$
+ }
+ if$
+ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ":" *
+ swap$
+ n.dashify
+ "pages" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.journal.eid}
+{ eid "eid" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$ 'skip$
+ {
+ ":" *
+ }
+ if$
+ swap$ *
+ }
+ if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ "volume" bibinfo.check
+ }
+ if$
+ number "number" bibinfo.check duplicate$ empty$ 'skip$
+ {
+ swap$ duplicate$ empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ swap$
+ "(" swap$ * ")" *
+ }
+ if$ *
+ eid empty$
+ { format.journal.pages }
+ { format.journal.eid }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+ emphasize
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ {
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ " " *
+ get.bbl.editor
+ "(" swap$ * ") " *
+ * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ capitalize
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ address "address" bibinfo.check *
+ t empty$
+ 'skip$
+ { address empty$
+ 'skip$
+ { ": " * }
+ if$
+ t *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ {
+ journal
+ "journal" bibinfo.check
+ emphasize
+ "journal" output.check
+ add.blank
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ format.note output
+ fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ add.blank
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ format.edition output
+ new.sentence
+ format.publisher.address output
+ }
+ {
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ new.block
+ format.note output
+ fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ format.edition output
+ new.sentence
+ format.publisher.address output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.edition output
+ format.chapter.pages output
+ new.sentence
+ format.publisher.address output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ format.note output
+ fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ new.sentence
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ format.note output
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ format.edition output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ new.block
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title output
+ new.block
+ howpublished "howpublished" bibinfo.check output
+ new.block
+ format.note output
+ fin.entry
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ new.block
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ new.sentence
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ format.note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+READ
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+FUNCTION {format.lab.names}
+{ 's :=
+ "" 't :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$
+ " " * bbl.etal *
+ }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ " " * bbl.etal *
+ }
+ { bbl.and space.word * s #2 "{vv~}{ll}" format.name$
+ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" * }
+ { t sortify * }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+SORT
+STRINGS { last.label next.extra }
+INTEGERS { last.extra.num number.label }
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+EXECUTE {initialize.extra.label.stuff}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+ITERATE {bib.sort.order}
+SORT
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\providecommand{\natexlab}[1]{#1}"
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `oega.bst'.
diff --git a/biblio/bibtex/contrib/economic/oegatb-ex.bib b/biblio/bibtex/contrib/economic/oegatb-ex.bib
new file mode 100644
index 0000000000..a88bec9011
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/oegatb-ex.bib
@@ -0,0 +1,36 @@
+@ARTICLE{hansen04,
+ author = {Hansen, A. L. and Jacobsen, K. K. and Jensen, B.},
+ year = {2004},
+ title = {Title of Paper},
+ journal = {Journal of Animal Physiology and Animal Nutrition},
+ volume = {68},
+ number = {3},
+ pages = {123-135}
+}
+
+@BOOK{hansen95,
+ author = {Hansen, A.},
+ year = {1995},
+ title = {A Guide to Good Writing for Scientists},
+ edition = {2},
+ address = {Viborg},
+ publisher = {Low Budget Publishing}
+}
+
+@INCOLLECTION{jones95,
+ author = {Jones, A. R. and Walter, H.},
+ year = {1995},
+ title = {Title of Chapter},
+ editor = {Mohr, A. and Wings, P.},
+ booktitle = {New Soil Analysis},
+ pages = {42-51},
+ address = {Copenhagen},
+ publisher = {Danish Soil Association}
+}
+
+@PHDTHESIS{schulze94,
+ author = {Schulze, H.},
+ year = {1994},
+ title = {Endogenous ileal nitrogen losses in pigs: Dietary factors},
+ school = {Wageningen Agricultural University}
+}
diff --git a/biblio/bibtex/contrib/economic/oegatb-ex.pdf b/biblio/bibtex/contrib/economic/oegatb-ex.pdf
new file mode 100644
index 0000000000..391de3234e
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/oegatb-ex.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/economic/oegatb-ex.png b/biblio/bibtex/contrib/economic/oegatb-ex.png
new file mode 100644
index 0000000000..034c44de97
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/oegatb-ex.png
Binary files differ
diff --git a/biblio/bibtex/contrib/economic/oegatb-ex.tex b/biblio/bibtex/contrib/economic/oegatb-ex.tex
new file mode 100644
index 0000000000..faa5b4a2b5
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/oegatb-ex.tex
@@ -0,0 +1,253 @@
+\documentclass[english]{oegatb}
+\usepackage[utf8]{inputenc}
+\usepackage[T1]{fontenc}
+\usepackage{eurosym}
+\usepackage{tabularx}
+\usepackage{graphicx}
+\usepackage{float}
+
+\title{Titel}
+
+\author{Erste Autorin, Zweiter B. Autor, und Dritte C. Autorin}
+
+\affiliation{%
+Erste A. Autorin ist am Institut für Agrar- und Forstökonomie
+der Universität für Bodenkultur tätig (erste.autorin@boku.ac.at).
+
+Zweiter B. Autor arbeitet bei der Aarhus University,
+Department of Biology, DK-8000, Aarhus, Dänemark.
+Er ist nun bei der Danish Research Centre of Organic Food and Farming,
+DK-8830 Tjele, Dänemark tätig (secondb.author@agrsci.dk).
+
+Dritte C. Autorin ist an der University of Copenhagen,
+Department of Zoology, Denmark (thirdc.author@agrsci.dk).}
+
+
+\begin{document}
+\maketitle
+
+\begin{abstract}
+These instructions give you guidelines for preparing camera-ready short papers
+for the ÖGA 2006 conference proceedings.
+The short papers can be written in German or in English.
+The length of the short paper is maximally two pages.
+There will be no key words.
+Use this document as a template if you are using Microsoft Word 6.0 or later.
+Otherwise, use this document as an instruction set. Define all symbols
+used in the paper.
+Do not cite references in the abstract.
+The abstract should not exceed ca.\ 200 words, which corresponds
+to the double length of this example.
+The footnote symbol following this abstract should not be deleted.
+\end{abstract}
+
+
+\section{Introduction to using the template}
+
+This document is a template for Microsoft Word versions 6.0 or later.
+If you are reading a paper version of this document,
+please download the electronic file, template.doc,
+from the website \url{http://www.boku.ac.at/oega} so you can use it
+to prepare your manuscript.
+
+When you open the template, select ‘Page Layout’ from the ‘View’ menu
+in the menu bar (View | Page Layout),
+which allows you to see the footnotes.
+Then type over the sections or cut and paste from another document
+and then use markup styles.
+The pull-down style menu is at the left of the Formatting Toolbar
+at the top of your Word window.
+For example, the style at this point in the document is ‘Normal text’.
+Highlight a section that you want to designate with a certain style,
+and then select the appropriate name on the style menu.
+The style will adjust your fonts and line spacing.
+Styles used are: title, author, abstract, normal text, heading 1
+(as in ‘introduction above) and footnote.
+Subheadings (as ‘Figures and tables’ in next column are italicized normal text.
+Do not change the font sizes or line spacing to squeeze more text
+into a limited number of pages.
+Use italics for emphasis; do not underline.
+Please note that there is a tab at the beginning of each paragraph,
+except for the first paragraph in a section.
+
+
+\section{Procedure for paper submission}
+
+Papers must be submitted by 31st August 2006 per email to
+\url{michaela.groetzer@boku.ac.at}.
+Papers received after this deadline cannot be included in the proceedings.
+Paper exceeding 2 pages can also not be included in the proceedings.
+The submitted paper must be in camera-ready format and in a word file.
+It will be placed into the conference proceedings as received
+and without substantial editing or reviewing.
+Therefore, we recommend that you get one or two colleagues
+to proofread the paper.
+
+
+\section{Structure of the short paper}
+
+The short paper should be structured as any other scientific publication.
+You should start with an introduction which includes background information
+(why is the topic of your research relevant?
+What have other authors found out about the topic?)
+and the specific question you tried to answer in your study
+(what is your aim and/or hypothesis?).
+
+The second section should explain the methods you used,
+so that the readers have clear information on how (and where)
+the data was collected and what methods were used to analyse the data.
+
+The third section should present the results of your research,
+i.e.\ describe your major findings.
+Please try to be as succinct as possible,
+presenting only the most relevant data in condensed form.
+
+In the fourth section you should explain how you interpret your results
+(do not leave the reader thinking "So what?").
+Continually refer to your results (but do not repeat them).
+Do not extend your conclusions beyond those
+which are directly supported by your results.
+Speculation has its place, but should not form the bulk of the discussion.
+Be sure to address the objectives of the study
+(which you stated in the introduction).
+Discuss the significance of your results in light of other published work.
+End the discussion with a short summary or conclusion
+regarding the significance of the work.
+
+
+\section{Helpful hints on formatting}
+
+\subsection{Figures and tables}
+As there will be no final formatting of your paper,
+you need to place figures and tables in the paper accordingly,
+usually at the top or bottom of column.
+Large figures and tables may span both columns,
+but it is easier to include a one-column figure or table.
+Place figure captions below the figures; place table titles above the tables.
+
+\begin{table}[H]
+\caption{Soil properties for the two studied soils
+(Style used is Normal text, but font size 7).}
+\scriptsize
+\renewcommand{\arraystretch}{1.1}
+\begin{tabularx}{\columnwidth}{Xcc}
+\hline
+Soil property & Soil A & Soil B\\
+\hline
+Temperature (C) & 15 & 12\\
+pH & 7.4 & 6.2\\
+Organic C (mg/kg) & 1.2 & 2.4\\
+\hline
+\end{tabularx}\\
+\textsuperscript{a} Water content is given on a soil dry weight basis.
+\end{table}
+
+Please verify that the figures and tables you mention in the text
+actually exist. Please do not include captions as part of the figures.
+Do not put captions in text boxes linked to the figures.
+Do not put borders around the outside of your figures.
+Use the abbreviation ``Fig.'' except at the beginning of a sentence,
+where ``Figure'' should be used.
+Do not abbreviate ``Table.''
+Tables are numbered with Roman numerals.
+Insert tables by use of the Table lay-out, not just as tabulated text and data.
+
+Figure axis labels are often a source of confusion.
+Use words rather than symbols.
+As an example, write the quantity ``Transport cost in \euro'', not just ``\euro''.
+Put units in parentheses.
+Do not label axes only with units.
+
+Figure labels should be legible, approximately 8 point type.
+Color printing of figures is not available.
+
+\subsection{Numbers}
+Figures are used for all units and quantities (e.g., 8 mm, 3 years, 6 kg)
+with a space between the figure and the measurement description.
+In descriptive text, numbers from one to nine are spelled out
+and figures are used for 10 and over (e.g., six pigs, 27 sows)
+except where the number begins a sentence,
+thus: ``Three years ago ....''.
+If you use percentages, please do not include a space between the number
+and the percentage sign (e.g. 20\% of farmers).
+
+\subsection{Abbreviations and Acronyms}
+Define abbreviations and acronyms the first time they are used in the text.
+Do not use abbreviations in the title unless they are unavoidable.
+
+\subsection{Data and units}
+Indicate which measure is being used when data are presented;
+e.g., 53.8 $\pm$ 1.5 g/L (mean $\pm$ SE).
+For tests of significance, use the form, e.g., ``P<0.001''.
+
+Use of SI units is strongly encouraged.
+Use the center dot to separate compound units (A$\cdot$m2).
+
+\subsection{Tense}
+If you wish, you may write in the first person singular
+or plural and use the active voice
+(``We observed that...'' instead of ``It was observed that ...'' or
+``The authors observed that...'').
+Remember to check spelling.
+If your native language is not English or German
+(depending on the language you write in),
+please get a native speaker to proofread your paper.
+
+
+\section{Guidelines for references}
+
+\subsection{In text}
+
+In the body of the text,
+references should be cited according to the following rules.\\
+- Where a paper is by three or more authors,
+ the name of the first author should be followed by et al.\
+ [\citet{hansen04} demonstrated\ldots] or
+ [as previously demonstrated \citep{hansen04}].\\
+- Please place a comma between the author's name and the year
+ \citep{schulze94,hansen95}.
+ - The earliest work is reported first.\\
+- Letters following the year are used to differentiate between
+ two or more papers with the same authors and the same year
+ (Smith, 1964a, 1964b).\\
+- A semi-colon separates reference to different authors
+ \citep{schulze94,hansen04}.
+
+\begin{figure}[H]
+\includegraphics[width=0.9\columnwidth]{oegatb-ex.png}
+\caption{Air temperature during the summer in Denmark
+(Style as normal text, but in italic and font size 7).}
+\end{figure}
+
+
+\subsection{Reference list}
+A complete list of the references cited in the text must be arranged
+alphabetically at the end of your paper under the heading References.
+
+For papers published in journals: Authors' names, year of publication,
+title of paper, name of journal (in full and italics), volume number (issue),
+and the first and last page numbers should be given, in that order.
+
+For books: Authors' names, year of publication, title of book (in italics),
+volume or edition number, place of publication and name of publisher
+should be given in that order.
+
+For chapters in a book: Authors' names, year of publication, title of chapter.
+In: editors. Title of Book (in italics), first and last page,
+place of publication and name of publisher.
+
+For a thesis: The author's name, year of publication, title of the thesis,
+degree and University should be given, in that order.
+
+There is a 4 pt space between references (4pt before each paragraph).
+
+
+\section{Acknowledgement}
+
+I would like to thank the Joint Organic Congress for providing
+this template and most of the detailed instructions included in it.
+
+\nocite{*}
+\bibliography{oegatb-ex}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/economic/oegatb.cls b/biblio/bibtex/contrib/economic/oegatb.cls
new file mode 100644
index 0000000000..8280b6b59e
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/oegatb.cls
@@ -0,0 +1,220 @@
+%%% LaTeX class for short papers for publication in the "Tagungsband"
+%%% of the "Oesterreichische Gesellschaft für Agraroekonomie" (OeGA)
+%%%
+%%% author: Arne Henningsen
+%%% version: 1.0 (19 August 2008)
+%%% license: LaTeX Project Public License
+%%%
+%%% Note: This is an unofficial style file that may not fully comply
+%%% with the OeGA Formatting Instructions in every detail.
+%%% Please report any problems at
+%%% http://sourceforge.net/projects/economtex/
+%%% Further information is available at
+%%% http://economtex.wiki.sourceforge.net/
+%%%
+%%% This document class is based on the "scrartcl" class
+%%% from the KOMA script bundle.
+%%% Following additional packages are required:
+%%% amsmath, babel, fancyhdr, geometry, helvet, ifthen,
+%%% natbib, setspace, titlesec, url
+%%%
+%%% The class provides following options:
+%%% german - German language (default)
+%%% english - English language
+%%% nopagenumbers - suppress page numbers
+%%%
+%%%
+%%% The corresponding BibTeX style file "oega.bst" is used
+%%% for the bibliography: \bibliographystyle{oega}
+%%%
+%%% This document class provides following new commands:
+%%% \affiliation should be used to add affiliation information
+
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{oegatb}[2008/08/19 LaTeX class for the OeGA Tagungsband]
+
+% option for English language
+\newif\if@LanguageEnglish
+\@LanguageEnglishfalse
+\DeclareOption{english}{\@LanguageEnglishtrue}
+\DeclareOption{german}{\@LanguageEnglishfalse}
+
+% option for no page numbers
+\newif\if@PageNumbers
+\@PageNumberstrue
+\DeclareOption{nopagenumbers}{\@PageNumbersfalse}
+
+% pass any options on to the scrartcl class and load this class with some options
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
+\ProcessOptions\relax
+\LoadClass[10pt,tablecaptionabove]{scrartcl}
+% tablecaptionabove = use \captionabove for tables
+
+% load ifthen package
+\RequirePackage{ifthen}
+
+% Verdana font
+\RequirePackage[scaled=1.18]{helvet}
+\renewcommand\familydefault{phv}
+
+% page format, margins
+\RequirePackage{geometry}
+\geometry{a4paper, tmargin=2.3cm, bmargin=2.5cm, lmargin=2.6cm,
+ rmargin=2.0cm, headheight=0in, headsep=0in, footskip=1.25cm}
+
+% language
+\if@LanguageEnglish
+ \RequirePackage[english]{babel}
+\else
+ \RequirePackage[ngerman]{babel}
+\fi
+
+% space between columns
+\setlength{\columnsep}{1.25cm}
+
+% spacing
+\RequirePackage{setspace}
+
+% formatting of main text
+\newcommand{\StartTextFormat}{%
+ \footnotesize%
+ \begin{spacing}{1.18}%
+}
+\newcommand{\EndTextFormat}{%
+ \end{spacing}%
+}
+
+% spacing around (sub)section headers
+\RequirePackage{titlesec}
+\titlespacing*{\section}{0pt}{1em}{0.25em}
+\titlespacing*{\subsection}{0pt}{0.85em}{0.15em}
+
+% spacing around formulas
+\newcommand{\SetFormulaSpacings}{
+\setlength{\abovedisplayshortskip}{6pt}
+\setlength{\belowdisplayshortskip}{6pt}
+\setlength{\abovedisplayskip}{6pt}
+\setlength{\belowdisplayskip}{6pt}
+\allowdisplaybreaks
+}
+
+% spacing around captions and floats
+\setlength{\abovecaptionskip}{6pt}
+\setlength{\belowcaptionskip}{3pt}
+\setlength{\floatsep}{0pt}
+\setlength{\textfloatsep}{20pt}
+\setlength{\intextsep}{5pt}
+
+% section headers: centering and set font
+\titleformat{\section}[block]
+ {\normalfont\filcenter}
+ {\arabic{section}. }
+ {0pt}
+ {\normalfont\small\scshape}
+
+% subsection headers: font
+\setkomafont{subsection}{\normalfont\footnotesize\itshape}
+
+% footnote: font
+\setkomafont{footnote}{\fontsize{6pt}{8pt}\selectfont}
+% no rule between text and footnotes
+\renewcommand{\footnoterule}{}
+
+% URLS: font
+\RequirePackage{url}
+\def\UrlFont{\sffamily}
+
+% math
+\RequirePackage{amsmath}
+
+% citations and bibliography
+\RequirePackage[authoryear]{natbib}
+\setlength{\bibsep}{4pt}
+\setlength{\bibhang}{0em}
+\bibliographystyle{oega}
+
+% set footer
+\RequirePackage{fancyhdr}
+\renewcommand{\headrulewidth}{0pt}
+\newcommand{\FormatFooters}{%
+\fancyhead{}
+\fancyfoot{}
+% \fancyfoot[L]{\fontsize{6pt}{8pt}\selectfont{\"O}GA Tagungsband \the\year}
+\if@PageNumbers
+ \fancyfoot[R]{\footnotesize\thepage}
+\fi
+\pagestyle{fancy}
+}
+
+% captions of figures and tables
+\setcapindent{0pt}
+\setkomafont{captionlabel}{\normalfont\scriptsize}
+\setkomafont{caption}{\normalfont\scriptsize}
+\renewcommand{\captionformat}{.\ }
+
+% section and subsections are not numbered
+\setcounter{secnumdepth}{0}
+
+% titlepage without author and date
+\renewcommand{\maketitle}{
+\twocolumn[
+ \begin{@twocolumnfalse}
+ \begin{center}
+ \vspace*{5mm}
+ \begin{huge}
+ \begin{spacing}{1.25}
+ \@title
+ \end{spacing}
+ \end{huge}
+ \vspace*{6mm}
+ \@author\\
+ \vspace*{4.5mm}
+ \end{center}
+ \end{@twocolumnfalse}
+ ]
+\StartTextFormat
+}
+
+% abstract with affiliation
+\newcommand{\affiliation}[1]{\newcommand{\@affiliation}{#1}}
+\renewenvironment{abstract}{%
+\noindent%
+\scriptsize%
+\bfseries%
+\textit{Abstract} --
+}{%
+\ifthenelse{ \isundefined\@affiliation }{
+\ClassWarning{oegatb}{no affiliation specified.
+ Please use command \protect\affiliation}%
+}{%
+\deffootnote[0pt]{0pt}{1.5em}{}%
+\hspace{-1.0em}\footnote{\@affiliation}}%
+\deffootnote[0.5em]{0.5em}{1.5em}{\textsuperscript{\thefootnotemark}}%
+}
+
+% avoid clubs and widows
+\clubpenalty=10000
+\widowpenalty=10000
+% \displaywidowpenalty=10000
+
+% increase stretchability of the spaces (avoid overful hboxes)
+\setlength{\emergencystretch}{3em}
+
+% commands that should be used at the beginning / end of the document
+\AtBeginDocument{
+\sffamily
+\SetFormulaSpacings
+\FormatFooters
+}
+\AtEndDocument{
+\EndTextFormat
+}
+
+% for compatibility with other classes
+\newcommand{\keywords}[1]{\newcommand{\@keywords}{#1}} % ignored
+\newcommand{\jelclass}[1]{\newcommand{\@jelclass}{#1}} % ignored
+
+% for compatibility with erae.cls
+\newcommand{\citetPage}[2]{\citeauthor{#2} (\citeyear{#2}, p.~#1)}
+\newcommand{\citepPage}[2]{\citetext{\citealp{#2}, p.~#1}}
diff --git a/biblio/bibtex/contrib/economic/pocoec.cls b/biblio/bibtex/contrib/economic/pocoec.cls
new file mode 100644
index 0000000000..55246ef231
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/pocoec.cls
@@ -0,0 +1,257 @@
+%%% LaTeX class for manuscripts submitted to the
+%%% Journal 'Post-Communist Economies' (PoCoEc)
+%%%
+%%% author: Arne Henningsen
+%%% version: 1.3 (18 November 2009)
+%%% license: LaTeX Project Public License
+%%%
+%%% Note: This is an unofficial style file that may not fully comply
+%%% with the PoCoEc formatting instructions in every detail.
+%%% Please report any problems at
+%%% http://sourceforge.net/projects/economtex/
+%%% Further information is available at
+%%% http://economtex.wiki.sourceforge.net/
+%%%
+%%% This document class is based on the "scrartcl" class
+%%% from the KOMA script bundle.
+%%% Following additional packages are required:
+%%% amsmath, babel, csquotes, endfloat, endnotes, geometry
+%%% ifthen, lmodern, natbib, setspace, stringstrings, textcomp, url
+%%%
+%%% The class provides the following options:
+%%% noendfloat - don't move floats to the end of the paper
+%%% nofulltitlepage - suppress "full" title page with author names,
+%%% affiliations, and address of corresponding author
+%%% noshorttitlepage - suppress "short" title page without information
+%%% about authors
+%%% showauthor - show author name(s) on "short" title page
+%%% (useful in combination with option "nofulltitlepage")
+%%%
+%%% This class selects the BibTeX style "tandfx.bst".
+%%% (Taylor and Francis Reference Style X)
+%%%
+%%% This class provides 5 new commands:
+%%% \affiliation specify affiliation(s) of the authors
+%%% \cauthormark mark the corresponding author (by an asterisk)
+%%% \cauthoraddress specify address of the corresponding author
+%%% \keywords specify some keywords (separated by semicolons)
+%%%
+%%%
+%%% Websites of the journal ``Post-Communist Economies":
+%%%
+%%%
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{pocoec}[2009/11/18 LaTeX class for the journal 'Post-Communist Economies']
+
+% package for convenient if-then-else statements
+\RequirePackage{ifthen}
+
+% option to NOT place floats at the end
+\newif\if@useendfloat
+\@useendfloattrue
+\DeclareOption{noendfloat}{\@useendfloatfalse}
+
+% option to suppress the full title page with author names
+\newif\if@makefulltitlepage
+\@makefulltitlepagetrue
+\DeclareOption{nofulltitlepage}{\@makefulltitlepagefalse}
+
+% option to suppress the short title page without author names
+\newif\if@makeshorttitlepage
+\@makeshorttitlepagetrue
+\DeclareOption{noshorttitlepage}{\@makeshorttitlepagefalse}
+
+% option to show author name(s)
+\newif\if@showauthor
+\@showauthorfalse
+\DeclareOption{showauthor}{\@showauthortrue}
+
+
+% pass any options on to the scrartcl class and load this class with some options
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
+\ProcessOptions\relax
+\LoadClass[12pt,english,pointednumbers,tablecaptionabove]{scrartcl}
+% pointednumbers = add final dot after ordinary section numbers
+% tablecaptionabove = use \captionabove for tables
+
+% additional symbols
+\RequirePackage{textcomp}
+
+% page format, margins
+\RequirePackage{geometry}
+\geometry{a4paper, tmargin=2.5cm, bmargin=2.8cm, lmargin=2.8cm,
+ rmargin=2.8cm, headheight=0cm, headsep=0cm, footskip=1.2cm }
+
+% double spacing
+\RequirePackage{setspace}
+\doublespacing
+
+% spacing around formulas
+\AtBeginDocument{
+\setlength{\abovedisplayshortskip}{6pt}
+\setlength{\belowdisplayshortskip}{6pt}
+\setlength{\abovedisplayskip}{6pt}
+\setlength{\belowdisplayskip}{6pt}
+\allowdisplaybreaks
+}
+
+% spacing around captions and floats
+\setlength{\abovecaptionskip}{6pt}
+\setlength{\belowcaptionskip}{3pt}
+\setlength{\floatsep}{0pt}
+\setlength{\textfloatsep}{20pt}
+\setlength{\intextsep}{6mm}
+
+% font families: times/helvetica/courier
+\RequirePackage{mathptmx}
+\RequirePackage[scaled=.90]{helvet}
+\RequirePackage{courier}
+
+% section headers
+\setkomafont{section}{\rmfamily\bfseries}
+\setkomafont{subsection}{\rmfamily\bfseries\itshape}
+\setkomafont{subsubsection}{\rmfamily\itshape}
+\setkomafont{paragraph}{\rmfamily\itshape}
+\setcounter{secnumdepth}{0}
+
+% amsmath
+\RequirePackage{amsmath}
+% for compatibility with ajae.cls
+\newcommand{\veclatin}[1]{#1}
+\newcommand{\matlatin}[1]{#1}
+\newcommand{\vecgreek}[1]{#1}
+\newcommand{\matgreek}[1]{#1}
+
+% font for URLs
+\RequirePackage{url}
+\def\UrlFont{\rmfamily}
+
+% citations and bibliography
+\RequirePackage[authoryear]{natbib}
+\bibpunct{(}{)}{,}{a}{}{,}
+\setlength{\bibsep}{0pt}
+\bibliographystyle{tandfx}
+
+% captions of figures and tables
+\setcapwidth[l]{\textwidth}
+\setcapindent{0pt}
+\setkomafont{captionlabel}{\normalsize\normalfont\bfseries}
+\setkomafont{caption}{\normalsize\normalfont\bfseries}
+\renewcommand{\captionformat}{.\ }
+
+% titlepage(s)
+\newcommand{\affiliation}[1]{\newcommand{\@affiliation}{#1}}
+\newcommand{\affilmark}[1]{\textsuperscript{\normalfont{#1}}}
+\newcommand{\email}[1]{\newcommand{\@email}{#1}}
+\newif\if@cauthormarkused
+\@cauthormarkusedfalse
+\newcommand{\cauthormark}{\textsuperscript{*}\@cauthormarkusedtrue}
+\RequirePackage{stringstrings}
+\renewcommand{\maketitle}{
+ \if@makefulltitlepage
+ \setcounter{page}{0}
+ \thispagestyle{empty}
+ \vspace*{12mm}
+ \begin{spacing}{1.5}\noindent
+ \large{\textbf{\@title}}%
+ \end{spacing}
+ \vspace*{6mm}
+ \ifthenelse{ \isundefined\@author }{
+ \ClassWarning{pocoec}{No author(s) specified.
+ Please specify with command \protect\author}
+ }{
+ }
+ \noindent
+ \@author\\
+ \if@cauthormarkused
+ \else
+ \ClassWarningNoLine{pocoec}{No author has been indicated as
+ corresponding author.
+ Please specify with command \protect\cauthormark}
+ \fi
+ \vspace*{6mm}
+ \begin{spacing}{1.1}
+ \ifthenelse{ \isundefined\@affiliation }{
+ \ClassWarning{pocoec}{No affiliation(s) specified.
+ Please specify with command \protect\affiliation}
+ }{
+ \noindent
+ \textit{\@affiliation}\\
+ }
+ \vfill
+ \ifthenelse{ \isundefined\@email }{
+ \ClassWarningNoLine{pocoec}{No email address of the corresponding author
+ is specified. Please specify with command \protect\email}
+ }{
+ \noindent
+ \rule{0.3\textwidth}{0.1mm}\\
+ \vspace*{2mm}\noindent
+ \cauthormark%
+ \findwords[q]{\@author}{~and~}%
+ \ifthenelse{ \equal{\theresult}{0} }{}{%
+ Corresponding author.
+ }%
+ Email: \url{\@email}\\
+ }
+ \end{spacing}
+ \vspace*{5mm}
+ \clearpage
+ \fi
+ \if@makeshorttitlepage
+ \begin{spacing}{1.5}\noindent
+ \large{\textbf{\@title}}
+ \if@showauthor
+ \renewcommand{\cauthormark}{}
+ \findwords[q]{\@author}{~and~}%
+ \ifthenelse{ \equal{\theresult}{0} }{%
+ \renewcommand{\affilmark}[1]{}}{}%
+ \vspace*{3mm}\\
+ \@author
+ \vspace*{1mm}\\
+ \textit{\small \@affiliation}
+ \fi
+ \end{spacing}
+ \vspace*{4mm}
+ \fi
+}
+
+% abstract, keywords
+\newcommand{\keywords}[1]{\newcommand{\@keywords}{#1}}
+\newcommand{\jelclass}[1]{\newcommand{\@jelclass}{#1}}
+\renewenvironment{abstract}{%
+ \vspace*{5mm}
+ \noindent
+ \textbf{Abstract}\\
+ \noindent
+}{%
+ \ifthenelse{ \isundefined\@keywords }{
+ \ClassWarningNoLine{pocoec}{No keywords specified.
+ Please use the command \protect\keywords}
+ }{
+ \vspace*{5mm}\\ \noindent
+ \textbf{Keywords:} \@keywords%
+ }
+ \vspace*{5mm}
+ \clearpage
+}
+
+% use babel package and set language to british english
+\RequirePackage[english,british]{babel}
+
+% avoid clubs and widows
+\clubpenalty=10000
+\widowpenalty=10000
+% \displaywidowpenalty=10000
+
+% increase stretchability of the spaces (avoid overful hboxes)
+\setlength{\emergencystretch}{3em}
+
+% move floats to the end of the paper
+\if@useendfloat
+ \RequirePackage[nolists,tablesfirst]{endfloat}
+\fi
+
+% for compatibility with erae.cls
+\newcommand{\citetPage}[2]{\citeauthor{#2} (\citeyear{#2}, p.~#1)}
+\newcommand{\citepPage}[2]{\citetext{\citealp{#2}, p.~#1}}
diff --git a/biblio/bibtex/contrib/economic/regstud.bst b/biblio/bibtex/contrib/economic/regstud.bst
new file mode 100644
index 0000000000..afb2165b69
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/regstud.bst
@@ -0,0 +1,1431 @@
+%%% journal "Regional Studies" (RegStud)
+%%% bibliography style for use with LaTeX2e
+%%% version: 1.0 (15 January 2008)
+%%% license: LaTeX Project Public License (see below)
+%%% This file was created with makebst (see below) and modified
+%%% by Arne Henningsen.
+%%% Note: This is an unofficial style file that may not fully comply
+%%% with the reference guidelines of "Regional Studies" in every detail.
+%%% Please report any problems at
+%%% http://sourceforge.net/projects/economtex/
+%%% Further information is available at
+%%% http://economtex.wiki.sourceforge.net/
+%%%
+%%% This BibTeX style should be used with the corresponding
+%%% LaTeX class "regstud" (regstud.cls).
+%%% Otherwise, the following line has to be added to the LaTeX preamble:
+%%% \usepackage[authoryear]{natbib}
+%%%
+%%
+%% This is file `regstud.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `ay,nat,nm-rev,ed-rev,jnrlst,nmft,nmft-sc,nmfted,nmand-rm,lab,lab-sc,and-rm,keyxyr,dt-beg,yr-par,yrp-x,note-yr,thtit-a,vol-bf,volp-com,num-xser,ser-vol,jnm-x,edparxc,bkedcap,blk-com,pp,ed,abr,xedn,and-xcom,etal-it,em-it,nfss,')
+%% ----------------------------------------
+%% *** Regional Studies ***
+%%
+%% Copyright 1994-2004 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2004/02/09 4.13 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is natbib.sty by Patrick W. Daly
+ % The form of the \bibitem entries is
+ % \bibitem[Jones et al.(1990)]{key}...
+ % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
+ % The essential feature is that the label (the part in brackets) consists
+ % of the author names, as they should appear in the citation, with the year
+ % in parentheses following. There must be no space before the opening
+ % parenthesis!
+ % With natbib v5.3, a full list of authors may also follow the year.
+ % In natbib.sty, it is possible to define the type of enclosures that is
+ % really wanted (brackets or parentheses), but in either case, there must
+ % be parentheses in the label.
+ % The \cite command functions as follows:
+ % \citet{key} ==>> Jones et al. (1990)
+ % \citet*{key} ==>> Jones, Baker, and Smith (1990)
+ % \citep{key} ==>> (Jones et al., 1990)
+ % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
+ % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
+ % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
+ % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
+ % \citeauthor{key} ==>> Jones et al.
+ % \citeauthor*{key} ==>> Jones, Baker, and Smith
+ % \citeyear{key} ==>> 1990
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ eid
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ add.blank
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textit{" swap$ * "}" * }
+ if$
+}
+FUNCTION {bolden}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textbf{" swap$ * "}" * }
+ if$
+}
+FUNCTION {scaps}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textsc{" swap$ * "}" * }
+ if$
+}
+FUNCTION {bib.name.font}
+{ scaps }
+FUNCTION {bib.fname.font}
+{ bib.name.font }
+FUNCTION {cite.name.font}
+{ scaps }
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds." }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "edn." }
+
+FUNCTION {bbl.volume}
+{ "vol." }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "no." }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "pp." }
+
+FUNCTION {bbl.page}
+{ "p." }
+
+FUNCTION {bbl.chapter}
+{ "chap." }
+
+FUNCTION {bbl.techrep}
+{ "Tech. Rep." }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"Jun."}
+
+MACRO {jul} {"Jul."}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sep."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+STRINGS { bibinfo}
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}{ f.}{, jj}"
+ format.name$
+ bib.name.font
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.names.ed}
+{
+ format.names
+}
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author "author" format.names
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ " " *
+ get.bbl.editor
+ capitalize
+ "(" swap$ * ")" *
+ *
+ }
+ if$
+}
+FUNCTION {format.note}
+{
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ duplicate$ empty$ 'skip$
+ { "t" change.case$ }
+ if$
+ "title" bibinfo.check
+}
+FUNCTION {format.full.names}
+{'s :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$
+ cite.name.font
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[{" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "}]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in
+ " " * }
+
+FUNCTION {format.date}
+{ year "year" bibinfo.check duplicate$ empty$
+ {
+ "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????"
+ }
+ 'skip$
+ if$
+ extra.label *
+ before.all 'output.state :=
+ " (" swap$ * ")" *
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { emphasize ", " * swap$ * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { number "number" bibinfo.check }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ bbl.pages swap$
+ n.dashify
+ }
+ {
+ bbl.page swap$
+ }
+ if$
+ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ", " *
+ swap$
+ n.dashify
+ "pages" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.journal.eid}
+{ eid "eid" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$ 'skip$
+ {
+ ", " *
+ }
+ if$
+ swap$ *
+ }
+ if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ "volume" bibinfo.check
+ }
+ if$
+ bolden
+ number "number" bibinfo.check duplicate$ empty$ 'skip$
+ {
+ swap$ duplicate$ empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ swap$
+ "(" swap$ * ")" *
+ }
+ if$ *
+ eid empty$
+ { format.journal.pages }
+ { format.journal.eid }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+ emphasize
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ {
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ " " *
+ get.bbl.editor
+ capitalize
+ "(" swap$ * ") " *
+ * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ t empty$
+ { address "address" bibinfo.check *
+ }
+ { t *
+ address empty$
+ 'skip$
+ { ", " * address "address" bibinfo.check * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ crossref missing$
+ {
+ journal
+ "journal" bibinfo.check
+ emphasize
+ "journal" output.check
+ add.blank
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ add.blank
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ format.publisher.address output
+ }
+ {
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.note output
+ fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ format.number.series output
+ format.publisher.address output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ format.publisher.address output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ format.edition output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title output
+ howpublished "howpublished" bibinfo.check output
+ format.note output
+ fin.entry
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ format.tr.number output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ format.note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+READ
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+FUNCTION {format.lab.names}
+{ 's :=
+ "" 't :=
+ s #1 "{vv~}{ll}" format.name$
+ cite.name.font
+ s num.names$ duplicate$
+ #2 >
+ { pop$
+ " " * bbl.etal emphasize *
+ }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ { bbl.and space.word * s #2 "{vv~}{ll}" format.name$
+ cite.name.font
+ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" * }
+ { t sortify * }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+SORT
+STRINGS { last.label next.extra }
+INTEGERS { last.extra.num number.label }
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+EXECUTE {initialize.extra.label.stuff}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+ITERATE {bib.sort.order}
+SORT
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\providecommand{\natexlab}[1]{#1}"
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `regstud.bst'.
diff --git a/biblio/bibtex/contrib/economic/regstud.cls b/biblio/bibtex/contrib/economic/regstud.cls
new file mode 100644
index 0000000000..c50e06592f
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/regstud.cls
@@ -0,0 +1,270 @@
+%%% LaTeX class for manuscripts submitted to the
+%%% Journal "Regional Studies" (regstud)
+%%%
+%%% author: Arne Henningsen
+%%% version: 1.1 (18 November 2009)
+%%% license: LaTeX Project Public License
+%%%
+%%% Note: This is an unofficial style file that may not fully comply
+%%% with the Formatting Instructions of the "Regional Studies" in every detail.
+%%% Please report any problems at
+%%% http://sourceforge.net/projects/economtex/
+%%% Further information is available at
+%%% http://economtex.wiki.sourceforge.net/
+%%%
+%%% This document class is based on the "scrartcl" class
+%%% from the KOMA script bundle.
+%%% Following additional packages are required:
+%%% amsmath, babel, endfloat, endnotes, fontnec, geometry,
+%%% ifthen, natbib, setspace, soul, titlesec, url, verbatim
+%%%
+%%% The corresponding BibTeX style file "regstud.bst" should be used
+%%% for the bibliography: \bibliographystyle{regstud}
+%%%
+%%% The document class provides following options:
+%%% noendfloat - don't move floats to the end of the paper
+%%% hidefloats - hide all floats (figures and tables)
+%%% author - show name(s) of authors(s)
+%%% date - show date
+%%%
+%%% This document class provides 3 new commands:
+%%% \keywords can be used to show keywors below the abstract
+%%% \jelclass can be used to show JEL classifications below the abstract
+%%% \affiliation can be used spefify the affiliation(s) of the author(s)
+%%%
+%%% If you use footnotes, add following line before the reference section:
+%%% \listofendnotes
+%%%
+%%% "Regional Studies" requires that you use single quotes
+%%% you could do this with the ``csquotes'' package:
+%%% \usepackage{csquotes}
+%%% \MakeInnerQuote{<yourQuoteCharacter>}
+%%%
+%%% To prepare a manuscript without floats, you can use
+%%% either option "hidefloats" to hide all floats
+%%% or extract the pages that do not include the floats
+%%% with "pdftk", e.g. "pdftk all.pdf cat 1-14 output main.pdf"
+%%% The former has the drawback that references to the hidden floats
+%%% with \ref{} are no longer possible.
+%%% The figures and tables can be extracted as images, e.g. with kpdf.
+%%%
+%%% Website of the "Regional Studies":
+%%% http://www.tandf.co.uk/journals/titles/00343404.asp
+
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{regstud}[2009/11/18 LaTeX class for the Journal 'Regional Studies']
+
+% option to NOT place floats at the end
+\newif\if@UseEndfloat
+\@UseEndfloattrue
+\DeclareOption{noendfloat}{\@UseEndfloatfalse}
+
+% option to hide floats
+\newif\if@HideFloats
+\@HideFloatsfalse
+\DeclareOption{hidefloats}{\@HideFloatstrue \@UseEndfloatfalse}
+
+% option to show the authors' names
+\newif\if@ShowAuthor
+\@ShowAuthorfalse
+\DeclareOption{author}{\@ShowAuthortrue}
+
+% option to print the date
+\newif\if@ShowDate
+\@ShowDatefalse
+\DeclareOption{date}{\@ShowDatetrue}
+
+% pass any options on to the scrartcl class and load this class with some options
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
+\ProcessOptions\relax
+\LoadClass[12pt,english,tablecaptionabove,
+ noonelinecaption]{scrartcl}
+% pointlessnumbers = do not add final dot after ordinary section numbers
+% tablecaptionabove = use \captionabove for tables
+% noonelinecaption = do not treat one-line captions differently
+
+% for internal use
+\RequirePackage{ifthen}
+
+% use babel package and set language to english
+\RequirePackage[english]{babel}
+
+% page format, margins
+\RequirePackage{geometry}
+\geometry{a4paper, tmargin=2.5cm, bmargin=2.8cm, lmargin=2.5cm,
+ rmargin=2.5cm, headheight=0cm, headsep=0cm, footskip=1.2cm }
+
+% double spacing
+\RequirePackage{setspace}
+\doublespacing
+
+% spacing around formulas
+\AtBeginDocument{
+\setlength{\abovedisplayshortskip}{6pt}
+\setlength{\belowdisplayshortskip}{6pt}
+\setlength{\abovedisplayskip}{6pt}
+\setlength{\belowdisplayskip}{6pt}
+\allowdisplaybreaks
+}
+
+% spacing around captions and floats
+\setlength{\abovecaptionskip}{6pt}
+\setlength{\belowcaptionskip}{3pt}
+\setlength{\floatsep}{0pt}
+\setlength{\textfloatsep}{20pt}
+\setlength{\intextsep}{15pt}
+
+% font: latin modern
+\RequirePackage{lmodern}
+
+% amsmath
+\RequirePackage{amsmath}
+% for compatibility with ajae.cls
+\newcommand{\veclatin}[1]{#1}
+\newcommand{\matlatin}[1]{#1}
+\newcommand{\vecgreek}[1]{#1}
+\newcommand{\matgreek}[1]{#1}
+
+% font for URLs
+\RequirePackage{url}
+\def\UrlFont{\rmfamily}
+
+%% formatting section headers
+\RequirePackage{titlesec}
+% package for letterspacing
+\RequirePackage{soul}
+% format of section headers
+\newcommand{\secformat}[1]{\MakeUppercase{\so{#1}}}
+\titleformat{\section}[block]
+ {\normalfont\filcenter}
+ {}
+ {0pt}
+ {\secformat}
+% spacing around section headers
+\titlespacing*{\section}{0pt}{3ex}{0.3ex}
+% format of subsection headers
+\titleformat{\subsection}[block]
+ {\normalsize\itshape}
+ {}
+ {0pt}
+ {}
+% spacing around subsection headers
+\titlespacing*{\subsection}{0pt}{2ex}{0.15ex}
+
+%% warning if subsubsection headers are present
+\renewcommand{\subsubsection}[1]{%
+\ClassWarningNoLine{regstud}{subsubsections are ignored}%
+}
+
+% citations and bibliography
+\RequirePackage[authoryear]{natbib}
+\AtBeginDocument{\renewcommand{\refname}{References}}
+\setlength{\bibsep}{0pt}
+
+%% use endnotes in place of footnotes
+\RequirePackage{endnotes}
+\renewcommand{\notesname}{Notes}
+\let\footnote=\endnote
+\newcommand{\listofendnotes}{
+ \begingroup
+ \parindent 0pt
+ \parskip 0ex
+ \def\enotesize{\normalsize}
+ \theendnotes
+ \endgroup
+}
+% use normalsize numbers (copied from endnote.sty and modified thereafter)
+\def\enoteformat{\rightskip\z@ \leftskip\z@ \parindent=0em
+ \leavevmode\llap{\theenmark. }}
+
+
+% captions of figures and tables
+\setcapwidth[c]{\textwidth}
+\setkomafont{captionlabel}{\centering \itshape}
+\setkomafont{caption}{\centering \itshape}
+\renewcommand{\captionformat}{.\, }
+\addto\captionsenglish{%
+ \renewcommand{\figurename}{Fig.}%
+}
+
+% move floats to the end of the paper
+\if@UseEndfloat
+ \RequirePackage[noheads,nolists,tablesfirst,nomarkers]{endfloat}
+ \AtBeginDelayedFloats{\pagestyle{empty}}
+\fi
+
+% hide floats
+\if@HideFloats
+ \RequirePackage{verbatim}
+ \let\figure=\comment
+ \let\endfigure=\endcomment
+ \let\table=\comment
+ \let\endtable=\endcomment
+\fi
+
+% titlepage with title, author, affiliation and date
+\newcommand{\affiliation}[1]{\newcommand{\@affiliation}{#1}}
+\renewcommand{\and}{{\normalfont and}}
+\renewcommand{\maketitle}{
+ \begin{center}
+ \begin{Large}
+ \begin{spacing}{1.25}
+ \textbf{\@title}
+ \end{spacing}
+ \end{Large}
+ \vspace*{5mm}
+ \if@ShowAuthor
+ \MakeUppercase{\so{\@author}}\\
+ \ifthenelse{ \isundefined\@affiliation }{}{
+ \textit{\@affiliation}\\
+ }
+ \vspace*{3mm}
+ \fi
+ \if@ShowDate
+ \@date\\
+ \vspace*{3mm}
+ \fi
+ \vspace*{2mm}
+ \end{center}
+}
+
+
+% abstract, keywords, JEL classification
+\newcommand{\keywords}[1]{\newcommand{\@keywords}{#1}}
+\newcommand{\jelclass}[1]{\newcommand{\@jelclass}{#1}}
+\renewenvironment{abstract}{%
+\vspace*{-\baselineskip}
+\mbox{}\\\noindent%
+}{%
+\ifthenelse{ \isundefined\@keywords }{
+\ClassWarningNoLine{ajae}{No keywords specified.
+ Please use the command \protect\keywords}
+}{
+
+\medskip \noindent
+Key words: \@keywords
+}
+\ifthenelse{ \isundefined\@jelclass }{
+\ClassWarningNoLine{ajae}{No JEL classification specified.
+ Please use the command \protect\jelclass}
+}{
+
+\medskip \noindent
+JEL classification: \@jelclass
+}
+
+\medskip
+}
+
+% avoid clubs and widows
+\clubpenalty=10000
+\widowpenalty=10000
+% \displaywidowpenalty=10000
+
+% increase stretchability of the spaces (avoid overful hboxes)
+\setlength{\emergencystretch}{3em}
+
+% for compatibility with erae.cls
+\newcommand{\citetPage}[2]{\citeauthor{#2} (\citeyear{#2}, p.~#1)}
+\newcommand{\citepPage}[2]{\citetext{\citealp{#2}, p.~#1}}
diff --git a/biblio/bibtex/contrib/economic/tandfx.bst b/biblio/bibtex/contrib/economic/tandfx.bst
new file mode 100644
index 0000000000..133232e260
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/tandfx.bst
@@ -0,0 +1,1574 @@
+%%% Taylor & Francis Reference Style X (tandfx)
+%%% bibliography style for use with LaTeX2e
+%%% version: 1.0 (18 July 2008)
+%%% license: LaTeX Project Public License (see below)
+%%% This file was created with makebst (see below)
+%%% by Arne Henningsen.
+%%% Note: This is an unofficial style file that may not fully comply
+%%% with the Taylor & Francis Reference Style X in every detail.
+%%% Please report any problems at
+%%% http://sourceforge.net/projects/economtex/
+%%% Further information is available at
+%%% http://economtex.wiki.sourceforge.net/
+%%%
+%%% You should add the following lines to the LaTeX preamble:
+%%% \usepackage[authoryear]{natbib}
+%%% \bibpunct{(}{)}{,}{a}{}{,}
+%%%
+%%
+%% This is file `tandfx.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `ay,nat,lang,nm-rev,jnrlst,keyxyr,blkyear,dt-beg,yr-com,yrp-per,note-yr,vnum-sp,volp-com,num-xser,ser-vol,bkpg-x,add-pub,pre-pub,blk-com,in-col,in-it,ppx,ed,abr,ednx,ord,etal-it,em-it,nfss,')
+%% ----------------------------------------
+%% *** Taylor and Francis Reference Style X ***
+%%
+%% Copyright 1994-2005 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2005/10/17 4.14 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is natbib.sty by Patrick W. Daly
+ % The form of the \bibitem entries is
+ % \bibitem[Jones et al.(1990)]{key}...
+ % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
+ % The essential feature is that the label (the part in brackets) consists
+ % of the author names, as they should appear in the citation, with the year
+ % in parentheses following. There must be no space before the opening
+ % parenthesis!
+ % With natbib v5.3, a full list of authors may also follow the year.
+ % In natbib.sty, it is possible to define the type of enclosures that is
+ % really wanted (brackets or parentheses), but in either case, there must
+ % be parentheses in the label.
+ % The \cite command functions as follows:
+ % \citet{key} ==>> Jones et al. (1990)
+ % \citet*{key} ==>> Jones, Baker, and Smith (1990)
+ % \citep{key} ==>> (Jones et al., 1990)
+ % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
+ % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
+ % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
+ % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
+ % \citeauthor{key} ==>> Jones et al.
+ % \citeauthor*{key} ==>> Jones, Baker, and Smith
+ % \citeyear{key} ==>> 1990
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ eid
+ howpublished
+ institution
+ journal
+ key
+ language
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ new.sentence
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textit{" swap$ * "}" * }
+ if$
+}
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds." }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "ed." }
+
+FUNCTION {bbl.volume}
+{ "vol." }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "no." }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "" }
+
+FUNCTION {bbl.page}
+{ "" }
+
+FUNCTION {bbl.chapter}
+{ "chap." }
+
+FUNCTION {bbl.techrep}
+{ "Tech. Rep." }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+FUNCTION {bbl.first}
+{ "1st" }
+
+FUNCTION {bbl.second}
+{ "2nd" }
+
+FUNCTION {bbl.third}
+{ "3rd" }
+
+FUNCTION {bbl.fourth}
+{ "4th" }
+
+FUNCTION {bbl.fifth}
+{ "5th" }
+
+FUNCTION {bbl.st}
+{ "st" }
+
+FUNCTION {bbl.nd}
+{ "nd" }
+
+FUNCTION {bbl.rd}
+{ "rd" }
+
+FUNCTION {bbl.th}
+{ "th" }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"Jun."}
+
+MACRO {jul} {"Jul."}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sep."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+FUNCTION {eng.ord}
+{ duplicate$ "1" swap$ *
+ #-2 #1 substring$ "1" =
+ { bbl.th * }
+ { duplicate$ #-1 #1 substring$
+ duplicate$ "1" =
+ { pop$ bbl.st * }
+ { duplicate$ "2" =
+ { pop$ bbl.nd * }
+ { "3" =
+ { bbl.rd * }
+ { bbl.th * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+STRINGS { bibinfo}
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}{, f{.}.}{, jj}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.names.ed}
+{
+ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{f{.}.~}{vv~}{ll}{, jj}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ {
+
+ " " * bbl.etal emphasize *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author "author" format.names
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ "," *
+ " " *
+ get.bbl.editor
+ *
+ }
+ if$
+}
+FUNCTION {select.language}
+{ duplicate$ empty$
+ 'pop$
+ { language empty$
+ 'skip$
+ { "{\selectlanguage{" language * "}" * swap$ * "}" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.note}
+{
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ duplicate$ empty$ 'skip$
+ { "t" change.case$ }
+ if$
+ "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ select.language
+ }
+ if$
+}
+FUNCTION {format.full.names}
+{'s :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[{" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "}]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in
+ ":" *
+ emphasize
+ " " * }
+
+FUNCTION {format.date}
+{ year "year" bibinfo.check duplicate$ empty$
+ {
+ }
+ 'skip$
+ if$
+ extra.label *
+ before.all 'output.state :=
+ ", " swap$ *
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ select.language
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { emphasize ", " * swap$ * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { number "number" bibinfo.check }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+FUNCTION {convert.edition}
+{ extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bbl.first 't := }
+ { s "second" = s "2" = or
+ { bbl.second 't := }
+ { s "third" = s "3" = or
+ { bbl.third 't := }
+ { s "fourth" = s "4" = or
+ { bbl.fourth 't := }
+ { s "fifth" = s "5" = or
+ { bbl.fifth 't := }
+ { s #1 #1 substring$ is.num
+ { s eng.ord 't := }
+ { edition 't := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ t
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ convert.edition
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ n.dashify
+ }
+ {
+ }
+ if$
+ "pages" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ", " *
+ swap$
+ n.dashify
+ "pages" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.journal.eid}
+{ eid "eid" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$ 'skip$
+ {
+ ", " *
+ }
+ if$
+ swap$ *
+ }
+ if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ "volume" bibinfo.check
+ }
+ if$
+ number "number" bibinfo.check duplicate$ empty$ 'skip$
+ {
+ swap$ duplicate$ empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ swap$
+ "~(" swap$ * ")" *
+ }
+ if$ *
+ eid empty$
+ { format.journal.pages }
+ { format.journal.eid }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+ emphasize
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ {
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ "," *
+ " " *
+ get.bbl.editor
+ ", " *
+ * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ address "address" bibinfo.check *
+ t empty$
+ 'skip$
+ { address empty$
+ 'skip$
+ { ": " * }
+ if$
+ t *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ crossref missing$
+ {
+ journal
+ "journal" bibinfo.check
+ emphasize
+ "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ format.publisher.address output
+ }
+ {
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.note output
+ fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.publisher.address output
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ format.number.series output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.publisher.address output
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ format.edition output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title output
+ howpublished "howpublished" bibinfo.check output
+ format.note output
+ fin.entry
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ format.tr.number output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ format.note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+READ
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+FUNCTION {format.lab.names}
+{ 's :=
+ "" 't :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$
+ " " * bbl.etal emphasize *
+ }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ { bbl.and space.word * s #2 "{vv~}{ll}" format.name$
+ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" * }
+ { t sortify * }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+SORT
+STRINGS { last.label next.extra }
+INTEGERS { last.extra.num number.label }
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+EXECUTE {initialize.extra.label.stuff}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+ITERATE {bib.sort.order}
+SORT
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\providecommand{\natexlab}[1]{#1}"
+ write$ newline$
+ "\providecommand{\selectlanguage}[1]{\relax}"
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `tandfx.bst'.
diff --git a/biblio/bibtex/contrib/economic/worlddev.bst b/biblio/bibtex/contrib/economic/worlddev.bst
new file mode 100644
index 0000000000..498c5a8a53
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/worlddev.bst
@@ -0,0 +1,1459 @@
+%%
+%% This is file `worlddev.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `ay,nat,nm-rev,jnrlst,keyxyr,dt-jnl,note-yr,volp-com,jdt-pc,num-xser,bkpg-par,add-pub,edpar,bkedcap,blk-com,au-col,pp,ed,abr,xedn,amper,and-com,and-com-ed,etal-it,nfss,')
+%% ----------------------------------------
+%% *** World Development ***
+%%
+%% Copyright 1994-2004 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2004/02/09 4.13 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is natbib.sty by Patrick W. Daly
+ % The form of the \bibitem entries is
+ % \bibitem[Jones et al.(1990)]{key}...
+ % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
+ % The essential feature is that the label (the part in brackets) consists
+ % of the author names, as they should appear in the citation, with the year
+ % in parentheses following. There must be no space before the opening
+ % parenthesis!
+ % With natbib v5.3, a full list of authors may also follow the year.
+ % In natbib.sty, it is possible to define the type of enclosures that is
+ % really wanted (brackets or parentheses), but in either case, there must
+ % be parentheses in the label.
+ % The \cite command functions as follows:
+ % \citet{key} ==>> Jones et al. (1990)
+ % \citet*{key} ==>> Jones, Baker, and Smith (1990)
+ % \citep{key} ==>> (Jones et al., 1990)
+ % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
+ % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
+ % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
+ % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
+ % \citeauthor{key} ==>> Jones et al.
+ % \citeauthor*{key} ==>> Jones, Baker, and Smith
+ % \citeyear{key} ==>> 1990
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ eid
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {add.colon}
+{ duplicate$ empty$
+ 'skip$
+ { ":" * add.blank }
+ if$
+}
+
+FUNCTION {date.block}
+{
+ skip$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds." }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "edn." }
+
+FUNCTION {bbl.volume}
+{ "vol." }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "no." }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "pp." }
+
+FUNCTION {bbl.page}
+{ "p." }
+
+FUNCTION {bbl.chapter}
+{ "chap." }
+
+FUNCTION {bbl.techrep}
+{ "Tech. Rep." }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"Jun."}
+
+MACRO {jul} {"Jul."}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sep."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+STRINGS { bibinfo}
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}{, f.}{, jj}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ "," *
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ {
+ "\&"
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.names.ed}
+{
+ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{f.~}{vv~}{ll}{, jj}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ "," *
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+
+ " " * bbl.etal emphasize *
+ }
+ {
+ "\&"
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author "author" format.names
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ " " *
+ get.bbl.editor
+ capitalize
+ "(" swap$ * ")" *
+ *
+ }
+ if$
+}
+FUNCTION {format.note}
+{
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ duplicate$ empty$ 'skip$
+ { "t" change.case$ }
+ if$
+ "title" bibinfo.check
+}
+FUNCTION {format.full.names}
+{'s :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ "\&"
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[{" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "}]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in
+ " " * }
+
+FUNCTION {format.date}
+{ year "year" bibinfo.check duplicate$ empty$
+ {
+ "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????"
+ }
+ 'skip$
+ if$
+ extra.label *
+}
+FUNCTION{format.year}
+{ year "year" bibinfo.check duplicate$ empty$
+ { "empty year in " cite$ *
+ "; set to ????" *
+ warning$
+ pop$ "????"
+ }
+ {
+ }
+ if$
+ extra.label *
+ "(" swap$ * ")" *
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ bbl.of space.word * swap$
+ emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { number "number" bibinfo.check }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ bbl.pages swap$
+ n.dashify
+ }
+ {
+ bbl.page swap$
+ }
+ if$
+ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ "(" swap$ * ")" *
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ", " *
+ format.year * ", " *
+ swap$
+ n.dashify
+ "pages" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.journal.eid}
+{ eid "eid" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$ 'skip$
+ {
+ ", " *
+ }
+ if$
+ swap$ *
+ }
+ if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ "volume" bibinfo.check
+ }
+ if$
+ number "number" bibinfo.check duplicate$ empty$ 'skip$
+ {
+ swap$ duplicate$ empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ swap$
+ "(" swap$ * ")" *
+ }
+ if$ *
+ eid empty$
+ { format.journal.pages }
+ { format.journal.eid }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+ emphasize
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ {
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ " " *
+ get.bbl.editor
+ capitalize
+ "(" swap$ * "), " *
+ * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ address "address" bibinfo.check *
+ t empty$
+ 'skip$
+ { address empty$
+ 'skip$
+ { ": " * }
+ if$
+ t *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ add.colon
+ format.title "title" output.check
+ crossref missing$
+ {
+ journal
+ "journal" bibinfo.check
+ emphasize
+ "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ add.colon
+ }
+ { format.authors output.nonnull
+ add.colon
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ format.publisher.address output
+ }
+ {
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ format.note output
+ fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ add.colon
+ format.title "title" output.check
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ format.date "year" output.check
+ format.note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ add.colon
+ }
+ { format.authors output.nonnull
+ add.colon
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ format.number.series output
+ format.publisher.address output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ date.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ add.colon
+ format.title "title" output.check
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ format.publisher.address output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.note output
+ fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ add.colon
+ format.title "title" output.check
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.pages "pages" output.check
+ format.note output
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ add.colon
+ format.btitle "title" output.check
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ format.edition output
+ format.date "year" output.check
+ format.note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ add.colon
+ format.btitle
+ "title" output.check
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.date "year" output.check
+ format.note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ add.colon
+ format.title output
+ howpublished "howpublished" bibinfo.check output
+ format.date "year" output.check
+ format.note output
+ fin.entry
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ add.colon
+ format.btitle
+ "title" output.check
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.date "year" output.check
+ format.note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ add.colon
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.date "year" output.check
+ format.note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ add.colon
+ format.title
+ "title" output.check
+ format.tr.number output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.date "year" output.check
+ format.note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ add.colon
+ format.title "title" output.check
+ format.date "year" output.check
+ format.note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+READ
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+FUNCTION {format.lab.names}
+{ 's :=
+ "" 't :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$
+ " " * bbl.etal emphasize *
+ }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ { " \& " * s #2 "{vv~}{ll}" format.name$
+ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" * }
+ { t sortify * }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+SORT
+STRINGS { last.label next.extra }
+INTEGERS { last.extra.num number.label }
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+EXECUTE {initialize.extra.label.stuff}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+ITERATE {bib.sort.order}
+SORT
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\providecommand{\natexlab}[1]{#1}"
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `worlddev.bst'.
diff --git a/biblio/bibtex/contrib/economic/worlddev.cls b/biblio/bibtex/contrib/economic/worlddev.cls
new file mode 100644
index 0000000000..8c9aeb8c97
--- /dev/null
+++ b/biblio/bibtex/contrib/economic/worlddev.cls
@@ -0,0 +1,243 @@
+%%% LaTeX class for manuscripts submitted to the
+%%% Journal "World Development" (worlddev)
+%%%
+%%% author: Arne Henningsen
+%%% version: 1.1 (18 November 2009)
+%%% license: LaTeX Project Public License
+%%%
+%%% Note: This is an unofficial style file that may not fully comply
+%%% with the Formatting Instructions of the "World Development" in every detail.
+%%% Please report any problems at
+%%% http://sourceforge.net/projects/economtex/
+%%% Further information is available at
+%%% http://economtex.wiki.sourceforge.net/
+%%%
+%%% This document class is based on the "scrartcl" class
+%%% from the KOMA script bundle.
+%%% Following additional packages are required:
+%%% amsmath, babel, endfloat, endnotes, geometry,
+%%% ifthen, lmodern, natbib, setspace, textcomp, titlesec, url
+%%%
+%%% The class provides following options:
+%%% noendnotes - don't use endnotes (use footnotes)
+%%% noendfloat - don't move floats to the end of the paper
+%%% author - show name(s) of authors(s)
+%%% date - show date
+%%%
+%%% This document class provides 3 new commands:
+%%% \keywords can be used to show keywors below the abstract
+%%% \jelclass can be used to show JEL classifications below the abstract
+%%% \affiliation can be used spefify the affiliation(s) of the author(s)
+%%%
+%%% If you use footnotes, add following line before the reference section:
+%%% \listofendnotes
+%%%
+%%% "World Development" requires that you use double quotes
+%%% you could do this with the ``csquotes'' package:
+%%% \usepackage{csquotes}
+%%% \MakeOuterQuote{<yourQuoteCharacter>}
+%%%
+%%% Website of the journal "World Development":
+%%% http://www.elsevier.com/wps/locate/worlddev/
+
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{worlddev}[2009/11/18 LaTeX class for the Journal 'World Development']
+
+\RequirePackage{ifthen}
+
+% option NOT to place floats at the end
+\newcounter{UseEndfloat}
+\setcounter{UseEndfloat}{1}
+\DeclareOption{noendfloat}{\setcounter{UseEndfloat}{0}}
+
+% option to use footnotes in place of endnotes
+\newcounter{UseEndnotes}
+\setcounter{UseEndnotes}{1}
+\DeclareOption{noendnotes}{\setcounter{UseEndnotes}{0}}
+
+% option to show the authors' names
+\newcounter{ShowAuthor}
+\setcounter{ShowAuthor}{0}
+\DeclareOption{author}{\setcounter{ShowAuthor}{1}}
+
+% option to print the date
+\newcounter{ShowDate}
+\setcounter{ShowDate}{0}
+\DeclareOption{date}{\setcounter{ShowDate}{1}}
+
+% pass any options on to the scrartcl class and load this class with some options
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
+\ProcessOptions\relax
+\LoadClass[12pt,english,pointlessnumbers,tablecaptionabove,
+ noonelinecaption]{scrartcl}
+% pointlessnumbers = do not add final dot after ordinary section numbers
+% tablecaptionabove = use \captionabove for tables
+% noonelinecaption = do not treat one-line captions differently
+
+% use babel package and set language to english
+\RequirePackage[english]{babel}
+
+% page format, margins
+\RequirePackage{geometry}
+\geometry{a4paper, tmargin=2.5cm, bmargin=2.8cm, lmargin=2.5cm,
+ rmargin=2.5cm, headheight=0cm, headsep=0cm, footskip=1.2cm }
+
+% double spacing
+\RequirePackage{setspace}
+\doublespacing
+
+% spacing around formulas
+\AtBeginDocument{
+\setlength{\abovedisplayshortskip}{6pt}
+\setlength{\belowdisplayshortskip}{6pt}
+\setlength{\abovedisplayskip}{6pt}
+\setlength{\belowdisplayskip}{6pt}
+\allowdisplaybreaks
+}
+
+% spacing around captions and floats
+\setlength{\abovecaptionskip}{6pt}
+\setlength{\belowcaptionskip}{3pt}
+\setlength{\floatsep}{0pt}
+\setlength{\textfloatsep}{20pt}
+\setlength{\intextsep}{15pt}
+
+% font family: Latin Modern
+\RequirePackage{textcomp}
+\RequirePackage{lmodern}
+
+% amsmath
+\RequirePackage[fleqn]{amsmath}
+% for compatibility with ajae.cls
+\newcommand{\veclatin}[1]{#1}
+\newcommand{\matlatin}[1]{#1}
+\newcommand{\vecgreek}[1]{#1}
+\newcommand{\matgreek}[1]{#1}
+
+% font for URLs
+\RequirePackage{url}
+\def\UrlFont{\rmfamily}
+
+%% formatting section and subsection headers
+\RequirePackage{titlesec}
+% format of section headers
+\newcommand{\secformat}[1]{\MakeUppercase{#1}}
+\titleformat{\section}[block]
+ {\normalfont\filcenter}
+ {\arabic{section}. }
+ {0pt}
+ {\secformat}
+% spacing around section headers
+\titlespacing*{\section}{0pt}{3ex}{0.3ex}
+% format of subsection headers
+\titleformat{\subsection}[block]
+ {\normalsize\filcenter}
+ {(\alph{subsection}) }
+ {0pt}
+ {\textit}
+% spacing around subsection headers
+\titlespacing*{\subsection}{0pt}{2ex}{0.15ex}
+
+%% warning if subsubsection headers are present
+\renewcommand{\subsubsection}[1]{%
+\ClassWarning{worlddev}{subsubsections are ignored}%
+}
+
+% citations and bibliography
+\RequirePackage[authoryear]{natbib}
+\setlength{\bibsep}{0pt}
+
+%% use endnotes in place of footnotes
+\ifthenelse{\equal{\theUseEndnotes}{1}}{
+ \RequirePackage{endnotes}
+ \let\footnote=\endnote
+ \newcommand{\listofendnotes}{
+ \begingroup
+ \parindent 0pt
+ \parskip 0ex
+ \def\enotesize{\normalsize}
+ \theendnotes
+ \endgroup
+ }
+ % use normalsize numbers (copied from endnote.sty and modified thereafter)
+ \def\enoteformat{\rightskip\z@ \leftskip\z@ \parindent=0em
+ \leavevmode\llap{\theenmark. }}
+}{}
+
+% captions of figures and tables
+\setcapwidth[c]{\textwidth}
+\setkomafont{caption}{\centering \itshape}
+\renewcommand{\captionformat}{. }
+
+% move floats to the end of the paper
+\ifthenelse{\equal{\theUseEndfloat}{1}}{
+ \RequirePackage[nolists,tablesfirst]{endfloat}
+}{}
+
+% titlepage with title, author, affiliation and date
+\newcommand{\affiliation}[1]{\newcommand{\@affiliation}{#1}}
+\renewcommand{\and}{{\normalfont and}}
+\renewcommand{\maketitle}{
+ \begin{center}
+ \begin{Large}
+ \begin{spacing}{1.25}
+ \textbf{\@title}
+ \end{spacing}
+ \end{Large}
+ \vspace*{5mm}
+ \ifthenelse{\equal{\theShowAuthor}{1}}{
+ \MakeUppercase{\@author}\\
+ \ifthenelse{ \isundefined\@affiliation }{}{
+ \vspace*{3mm}
+ \textit{\@affiliation}\\
+ }
+ }{}
+ \vspace*{3mm}
+ \ifthenelse{\equal{\theShowDate}{1}}{
+ \@date\\
+ }{}
+ \vspace*{3mm}
+ \end{center}
+}
+
+
+% abstract, keywords, JEL classification
+\newcommand{\keywords}[1]{\newcommand{\@keywords}{#1}}
+\newcommand{\jelclass}[1]{\newcommand{\@jelclass}{#1}}
+\renewenvironment{abstract}{%
+\begin{center}
+\begin{minipage}{0.94 \textwidth}
+\small
+\textbf{Summary.}\;---%
+}{%
+\ifthenelse{ \isundefined\@keywords }{
+\ClassWarningNoLine{worlddev}{No keywords specified.
+ Please use the command \protect\keywords}
+}{
+
+\medskip \noindent
+\textit{Key words} --- \@keywords
+}
+\ifthenelse{ \isundefined\@jelclass }{
+}{
+
+\medskip \noindent
+\textit{JEL classification} --- \@jelclass
+}
+\end{minipage}
+\end{center}%
+\noindent%
+}
+
+% avoid clubs and widows
+\clubpenalty=10000
+\widowpenalty=10000
+% \displaywidowpenalty=10000
+
+% increase stretchability of the spaces (avoid overful hboxes)
+\setlength{\emergencystretch}{3em}
+
+% for compatibility with erae.cls
+\newcommand{\citetPage}[2]{\citeauthor{#2} (\citeyear{#2}, p.~#1)}
+\newcommand{\citepPage}[2]{\citetext{\citealp{#2}, p.~#1}}
diff --git a/biblio/bibtex/contrib/examples/xampl-aaai-named.ltx b/biblio/bibtex/contrib/examples/xampl-aaai-named.ltx
new file mode 100644
index 0000000000..73e0f65403
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-aaai-named.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[authordate1-4]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {aaai-named}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {aaai-named}}}{Bibliography Style: {\tt {aaai-named}}}
+
+\begin{document}
+
+ \bibliographystyle{aaai-named}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-abbrv.ltx b/biblio/bibtex/contrib/examples/xampl-abbrv.ltx
new file mode 100644
index 0000000000..8b46766b02
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-abbrv.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {abbrv}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {abbrv}}}{Bibliography Style: {\tt {abbrv}}}
+
+\begin{document}
+
+ \bibliographystyle{abbrv}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-abstract.ltx b/biblio/bibtex/contrib/examples/xampl-abstract.ltx
new file mode 100644
index 0000000000..c21eb68859
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-abstract.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {abstract}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {abstract}}}{Bibliography Style: {\tt {abstract}}}
+
+\begin{document}
+
+ \bibliographystyle{abstract}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-acm.ltx b/biblio/bibtex/contrib/examples/xampl-acm.ltx
new file mode 100644
index 0000000000..d80c79849f
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-acm.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {acm}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {acm}}}{Bibliography Style: {\tt {acm}}}
+
+\begin{document}
+
+ \bibliographystyle{acm}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-agsm.ltx b/biblio/bibtex/contrib/examples/xampl-agsm.ltx
new file mode 100644
index 0000000000..c69af77edb
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-agsm.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[harvard]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {agsm}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {agsm}}}{Bibliography Style: {\tt {agsm}}}
+
+\begin{document}
+
+ \bibliographystyle{agsm}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-alpha.ltx b/biblio/bibtex/contrib/examples/xampl-alpha.ltx
new file mode 100644
index 0000000000..aa8f63cbf7
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-alpha.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {alpha}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {alpha}}}{Bibliography Style: {\tt {alpha}}}
+
+\begin{document}
+
+ \bibliographystyle{alpha}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-amsalpha.ltx b/biblio/bibtex/contrib/examples/xampl-amsalpha.ltx
new file mode 100644
index 0000000000..b01bb11f4c
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-amsalpha.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {amsalpha}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {amsalpha}}}{Bibliography Style: {\tt {amsalpha}}}
+
+\begin{document}
+
+ \bibliographystyle{amsalpha}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-amsplain.ltx b/biblio/bibtex/contrib/examples/xampl-amsplain.ltx
new file mode 100644
index 0000000000..d93b440bba
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-amsplain.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {amsplain}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {amsplain}}}{Bibliography Style: {\tt {amsplain}}}
+
+\begin{document}
+
+ \bibliographystyle{amsplain}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-annotate.ltx b/biblio/bibtex/contrib/examples/xampl-annotate.ltx
new file mode 100644
index 0000000000..31ba629fd7
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-annotate.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {annotate}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {annotate}}}{Bibliography Style: {\tt {annotate}}}
+
+\begin{document}
+
+ \bibliographystyle{annotate}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-annotation.ltx b/biblio/bibtex/contrib/examples/xampl-annotation.ltx
new file mode 100644
index 0000000000..558d7e9cbe
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-annotation.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {annotation}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {annotation}}}{Bibliography Style: {\tt {annotation}}}
+
+\begin{document}
+
+ \bibliographystyle{annotation}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-apa.ltx b/biblio/bibtex/contrib/examples/xampl-apa.ltx
new file mode 100644
index 0000000000..a05c43bff4
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-apa.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[astron]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {apa}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {apa}}}{Bibliography Style: {\tt {apa}}}
+
+\begin{document}
+
+ \bibliographystyle{apa}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-apalike.ltx b/biblio/bibtex/contrib/examples/xampl-apalike.ltx
new file mode 100644
index 0000000000..cf9dff9bae
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-apalike.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {apalike}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {apalike}}}{Bibliography Style: {\tt {apalike}}}
+
+\begin{document}
+
+ \bibliographystyle{apalike}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-apalike2.ltx b/biblio/bibtex/contrib/examples/xampl-apalike2.ltx
new file mode 100644
index 0000000000..cf97bdd8e4
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-apalike2.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {apalike2}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {apalike2}}}{Bibliography Style: {\tt {apalike2}}}
+
+\begin{document}
+
+ \bibliographystyle{apalike2}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-astron.ltx b/biblio/bibtex/contrib/examples/xampl-astron.ltx
new file mode 100644
index 0000000000..ad8d5712c0
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-astron.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[astron]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {astron}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {astron}}}{Bibliography Style: {\tt {astron}}}
+
+\begin{document}
+
+ \bibliographystyle{astron}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-authordate1.ltx b/biblio/bibtex/contrib/examples/xampl-authordate1.ltx
new file mode 100644
index 0000000000..c3a2b988f7
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-authordate1.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[authordate1-4]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {authordate1}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {authordate1}}}{Bibliography Style: {\tt {authordate1}}}
+
+\begin{document}
+
+ \bibliographystyle{authordate1}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-authordate2.ltx b/biblio/bibtex/contrib/examples/xampl-authordate2.ltx
new file mode 100644
index 0000000000..30751e121d
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-authordate2.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[authordate1-4]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {authordate2}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {authordate2}}}{Bibliography Style: {\tt {authordate2}}}
+
+\begin{document}
+
+ \bibliographystyle{authordate2}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-authordate3.ltx b/biblio/bibtex/contrib/examples/xampl-authordate3.ltx
new file mode 100644
index 0000000000..36d1108a84
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-authordate3.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[authordate1-4]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {authordate3}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {authordate3}}}{Bibliography Style: {\tt {authordate3}}}
+
+\begin{document}
+
+ \bibliographystyle{authordate3}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-authordate4.ltx b/biblio/bibtex/contrib/examples/xampl-authordate4.ltx
new file mode 100644
index 0000000000..b709217384
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-authordate4.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[authordate1-4]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {authordate4}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {authordate4}}}{Bibliography Style: {\tt {authordate4}}}
+
+\begin{document}
+
+ \bibliographystyle{authordate4}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-bbs.ltx b/biblio/bibtex/contrib/examples/xampl-bbs.ltx
new file mode 100644
index 0000000000..214a2afe0b
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-bbs.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[astron]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {bbs}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {bbs}}}{Bibliography Style: {\tt {bbs}}}
+
+\begin{document}
+
+ \bibliographystyle{bbs}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-cbe.ltx b/biblio/bibtex/contrib/examples/xampl-cbe.ltx
new file mode 100644
index 0000000000..bf60328110
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-cbe.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[astron]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {cbe}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {cbe}}}{Bibliography Style: {\tt {cbe}}}
+
+\begin{document}
+
+ \bibliographystyle{cbe}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-cell.ltx b/biblio/bibtex/contrib/examples/xampl-cell.ltx
new file mode 100644
index 0000000000..799b0a0bc0
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-cell.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {cell}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {cell}}}{Bibliography Style: {\tt {cell}}}
+
+\begin{document}
+
+ \bibliographystyle{cell}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-dcu.ltx b/biblio/bibtex/contrib/examples/xampl-dcu.ltx
new file mode 100644
index 0000000000..88b08e99fd
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-dcu.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[harvard]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {dcu}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {dcu}}}{Bibliography Style: {\tt {dcu}}}
+
+\begin{document}
+
+ \bibliographystyle{dcu}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-humanbio.ltx b/biblio/bibtex/contrib/examples/xampl-humanbio.ltx
new file mode 100644
index 0000000000..ef1e2329fa
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-humanbio.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[astron]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {humanbio}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {humanbio}}}{Bibliography Style: {\tt {humanbio}}}
+
+\begin{document}
+
+ \bibliographystyle{humanbio}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-humannat.ltx b/biblio/bibtex/contrib/examples/xampl-humannat.ltx
new file mode 100644
index 0000000000..fe3f57c8d5
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-humannat.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[astron]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {humannat}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {humannat}}}{Bibliography Style: {\tt {humannat}}}
+
+\begin{document}
+
+ \bibliographystyle{humannat}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-ieeetr.ltx b/biblio/bibtex/contrib/examples/xampl-ieeetr.ltx
new file mode 100644
index 0000000000..4b8bfee34f
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-ieeetr.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {ieeetr}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {ieeetr}}}{Bibliography Style: {\tt {ieeetr}}}
+
+\begin{document}
+
+ \bibliographystyle{ieeetr}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-is-abbrv.ltx b/biblio/bibtex/contrib/examples/xampl-is-abbrv.ltx
new file mode 100644
index 0000000000..0fbc23f68c
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-is-abbrv.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {is-abbrv}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {is-abbrv}}}{Bibliography Style: {\tt {is-abbrv}}}
+
+\begin{document}
+
+ \bibliographystyle{is-abbrv}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-is-alpha.ltx b/biblio/bibtex/contrib/examples/xampl-is-alpha.ltx
new file mode 100644
index 0000000000..69d920f939
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-is-alpha.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {is-alpha}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {is-alpha}}}{Bibliography Style: {\tt {is-alpha}}}
+
+\begin{document}
+
+ \bibliographystyle{is-alpha}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-is-plain.ltx b/biblio/bibtex/contrib/examples/xampl-is-plain.ltx
new file mode 100644
index 0000000000..321d8ba369
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-is-plain.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {is-plain}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {is-plain}}}{Bibliography Style: {\tt {is-plain}}}
+
+\begin{document}
+
+ \bibliographystyle{is-plain}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-is-unsrt.ltx b/biblio/bibtex/contrib/examples/xampl-is-unsrt.ltx
new file mode 100644
index 0000000000..82dc66fd91
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-is-unsrt.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {is-unsrt}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {is-unsrt}}}{Bibliography Style: {\tt {is-unsrt}}}
+
+\begin{document}
+
+ \bibliographystyle{is-unsrt}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-jbact.ltx b/biblio/bibtex/contrib/examples/xampl-jbact.ltx
new file mode 100644
index 0000000000..d2f16b2bb4
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-jbact.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {jbact}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {jbact}}}{Bibliography Style: {\tt {jbact}}}
+
+\begin{document}
+
+ \bibliographystyle{jbact}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-jmb.ltx b/biblio/bibtex/contrib/examples/xampl-jmb.ltx
new file mode 100644
index 0000000000..92fb5966f7
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-jmb.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[jmb]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {jmb}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {jmb}}}{Bibliography Style: {\tt {jmb}}}
+
+\begin{document}
+
+ \bibliographystyle{jmb}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-jtb.ltx b/biblio/bibtex/contrib/examples/xampl-jtb.ltx
new file mode 100644
index 0000000000..191d635f34
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-jtb.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[astron]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {jtb}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {jtb}}}{Bibliography Style: {\tt {jtb}}}
+
+\begin{document}
+
+ \bibliographystyle{jtb}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-kluwer.ltx b/biblio/bibtex/contrib/examples/xampl-kluwer.ltx
new file mode 100644
index 0000000000..c0a17c70eb
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-kluwer.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[harvard]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {kluwer}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {kluwer}}}{Bibliography Style: {\tt {kluwer}}}
+
+\begin{document}
+
+ \bibliographystyle{kluwer}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-named.ltx b/biblio/bibtex/contrib/examples/xampl-named.ltx
new file mode 100644
index 0000000000..06f45ab5a4
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-named.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[named]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {named}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {named}}}{Bibliography Style: {\tt {named}}}
+
+\begin{document}
+
+ \bibliographystyle{named}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-namunsrt.ltx b/biblio/bibtex/contrib/examples/xampl-namunsrt.ltx
new file mode 100644
index 0000000000..83b0640a1c
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-namunsrt.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {namunsrt}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {namunsrt}}}{Bibliography Style: {\tt {namunsrt}}}
+
+\begin{document}
+
+ \bibliographystyle{namunsrt}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-nar.ltx b/biblio/bibtex/contrib/examples/xampl-nar.ltx
new file mode 100644
index 0000000000..e56700a179
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-nar.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[nar]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {nar}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {nar}}}{Bibliography Style: {\tt {nar}}}
+
+\begin{document}
+
+ \bibliographystyle{nar}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-nature.ltx b/biblio/bibtex/contrib/examples/xampl-nature.ltx
new file mode 100644
index 0000000000..e9b626b06c
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-nature.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Sat Jun 27 16:58:51 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {nature}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {nature}}}{Bibliography Style: {\tt {nature}}}
+
+\begin{document}
+
+ \bibliographystyle{nature}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-newapa.ltx b/biblio/bibtex/contrib/examples/xampl-newapa.ltx
new file mode 100644
index 0000000000..31698cdc67
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-newapa.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[apalike,newapa]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {newapa}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {newapa}}}{Bibliography Style: {\tt {newapa}}}
+
+\begin{document}
+
+ \bibliographystyle{newapa}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-phaip.ltx b/biblio/bibtex/contrib/examples/xampl-phaip.ltx
new file mode 100644
index 0000000000..bccd07710b
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-phaip.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {phaip}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {phaip}}}{Bibliography Style: {\tt {phaip}}}
+
+\begin{document}
+
+ \bibliographystyle{phaip}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-phapalik.ltx b/biblio/bibtex/contrib/examples/xampl-phapalik.ltx
new file mode 100644
index 0000000000..261e48b2db
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-phapalik.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {phapalik}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {phapalik}}}{Bibliography Style: {\tt {phapalik}}}
+
+\begin{document}
+
+ \bibliographystyle{phapalik}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-phcpc.ltx b/biblio/bibtex/contrib/examples/xampl-phcpc.ltx
new file mode 100644
index 0000000000..ac3e524e15
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-phcpc.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {phcpc}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {phcpc}}}{Bibliography Style: {\tt {phcpc}}}
+
+\begin{document}
+
+ \bibliographystyle{phcpc}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-phiaea.ltx b/biblio/bibtex/contrib/examples/xampl-phiaea.ltx
new file mode 100644
index 0000000000..5f15f44c8d
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-phiaea.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {phiaea}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {phiaea}}}{Bibliography Style: {\tt {phiaea}}}
+
+\begin{document}
+
+ \bibliographystyle{phiaea}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-phjcp.ltx b/biblio/bibtex/contrib/examples/xampl-phjcp.ltx
new file mode 100644
index 0000000000..a381a6a567
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-phjcp.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {phjcp}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {phjcp}}}{Bibliography Style: {\tt {phjcp}}}
+
+\begin{document}
+
+ \bibliographystyle{phjcp}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-phnf.ltx b/biblio/bibtex/contrib/examples/xampl-phnf.ltx
new file mode 100644
index 0000000000..b1a3eea935
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-phnf.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {phnf}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {phnf}}}{Bibliography Style: {\tt {phnf}}}
+
+\begin{document}
+
+ \bibliographystyle{phnf}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-phnflet.ltx b/biblio/bibtex/contrib/examples/xampl-phnflet.ltx
new file mode 100644
index 0000000000..420512932b
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-phnflet.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {phnflet}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {phnflet}}}{Bibliography Style: {\tt {phnflet}}}
+
+\begin{document}
+
+ \bibliographystyle{phnflet}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-phpf.ltx b/biblio/bibtex/contrib/examples/xampl-phpf.ltx
new file mode 100644
index 0000000000..c2bfea9c72
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-phpf.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {phpf}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {phpf}}}{Bibliography Style: {\tt {phpf}}}
+
+\begin{document}
+
+ \bibliographystyle{phpf}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-phppcf.ltx b/biblio/bibtex/contrib/examples/xampl-phppcf.ltx
new file mode 100644
index 0000000000..ee9af0b853
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-phppcf.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {phppcf}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {phppcf}}}{Bibliography Style: {\tt {phppcf}}}
+
+\begin{document}
+
+ \bibliographystyle{phppcf}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-phreport.ltx b/biblio/bibtex/contrib/examples/xampl-phreport.ltx
new file mode 100644
index 0000000000..fd4e326f4b
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-phreport.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {phreport}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {phreport}}}{Bibliography Style: {\tt {phreport}}}
+
+\begin{document}
+
+ \bibliographystyle{phreport}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-phrmp.ltx b/biblio/bibtex/contrib/examples/xampl-phrmp.ltx
new file mode 100644
index 0000000000..9aa0a4544e
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-phrmp.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {phrmp}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {phrmp}}}{Bibliography Style: {\tt {phrmp}}}
+
+\begin{document}
+
+ \bibliographystyle{phrmp}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-plain.ltx b/biblio/bibtex/contrib/examples/xampl-plain.ltx
new file mode 100644
index 0000000000..019c997f0b
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-plain.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {plain}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {plain}}}{Bibliography Style: {\tt {plain}}}
+
+\begin{document}
+
+ \bibliographystyle{plain}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-plainyr.ltx b/biblio/bibtex/contrib/examples/xampl-plainyr.ltx
new file mode 100644
index 0000000000..04a18f4151
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-plainyr.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {plainyr}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {plainyr}}}{Bibliography Style: {\tt {plainyr}}}
+
+\begin{document}
+
+ \bibliographystyle{plainyr}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-siam.ltx b/biblio/bibtex/contrib/examples/xampl-siam.ltx
new file mode 100644
index 0000000000..924d10b7b6
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-siam.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {siam}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {siam}}}{Bibliography Style: {\tt {siam}}}
+
+\begin{document}
+
+ \bibliographystyle{siam}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl-unsrt.ltx b/biblio/bibtex/contrib/examples/xampl-unsrt.ltx
new file mode 100644
index 0000000000..ad8f607b38
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl-unsrt.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {unsrt}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {unsrt}}}{Bibliography Style: {\tt {unsrt}}}
+
+\begin{document}
+
+ \bibliographystyle{unsrt}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/examples/xampl.ltx b/biblio/bibtex/contrib/examples/xampl.ltx
new file mode 100644
index 0000000000..019c997f0b
--- /dev/null
+++ b/biblio/bibtex/contrib/examples/xampl.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/xampl.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 8 08:42:49 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {plain}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {plain}}}{Bibliography Style: {\tt {plain}}}
+
+\begin{document}
+
+ \bibliographystyle{plain}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{xampl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/francais-bst/README b/biblio/bibtex/contrib/francais-bst/README
new file mode 100644
index 0000000000..587b640f69
--- /dev/null
+++ b/biblio/bibtex/contrib/francais-bst/README
@@ -0,0 +1,109 @@
+This package contains natbib compatible bibliography style files to
+typeset bibliographies using French typographic standards. The styles
+were created using makebst from package custom-bib.
+
+LICENCE
+
+LaTeX Project Public License, version 1.3c or (at your option) any
+later version.
+
+*** The rest of this file is in French for the target audience ***
+
+DESCRIPTION
+
+francais.bst et francaissc.bst sont des styles bibliographiques
+compatibles avec le paquetage natbib permettant de composer des
+bibliographies en français conformes aux règles de présentation
+proposées dans:
+
+ Malo, M. "Guide de la communication écrite", Québec Amérique. 1996.
+ ISBN 978-2-8903-7875-9.
+
+Avec francais.bst, les noms d'auteur dans la bibliographie *et* dans
+les citations apparaissent en police standard. C'est la pratique
+usuelle au Québec.
+
+Avec francaissc.bst, les noms d'auteur dans la bibliographie *et* dans
+les citations apparaissent plutôt en petites capitales. Cela semble
+être la pratique usuelle en France et ailleurs dans la Francophonie.
+
+CONTENU DE L'ARCHIVE
+
+- francais.bst: style français avec noms en police standard;
+- francaissc.bst: style français avec noms en petites capitales;
+- francaisbst.tex: définitions françaises de mots clés;
+- README: le présent fichier.
+
+INSTALLATION
+
+On peut simplement déposer les fichiers francais.bst, francaissc.bst
+et francaisbst.tex dans son dossier de travail.
+
+Pour une installation plus complète et permanente, il est préférable
+de placer les fichiers dans son arborescence TeX personnelle. Les
+emplacements finaux des fichiers devraient être:
+
+ $TEXMFHOME/bibtex/bst/francais.bst
+ $TEXMFHOME/bibtex/bst/francaissc.bst
+ $TEXMFHOME/tex/latex/francais-bst/francaisbst.tex
+
+UTILISATION
+
+Un document faisant appel à ces styles sera normalement en français,
+donc le paquetage babel sera chargé. Les styles requièrent le
+paquetage natbib et, pour bien fonctionner, celui-ci devrait être
+chargé avant babel. On aura donc dans le préambule de son document:
+
+ \usepackage{natbib}
+ \usepackage[francais]{babel}
+
+De plus, pour que la césure de mots fonctionne adéquatement avec les
+mots comportant des lettres accentuées, il faut utiliser les polices
+T1. Elles sont chargées avec:
+
+ \usepackage[T1]{fontenc}
+
+Enfin, on spécifie le style de bibliographie avec
+
+ \bibliographystyle{francais}
+
+ou
+
+ \bibliographystyle{francaissc}
+
+GUILLEMETS FRANÇAIS
+
+La bibliographie a recours aux guillemets français « et » pour les
+titres d'articles, entre autres. Les guillemets devraient apparaître
+correctement dès lors que le document utilise les polices T1 (voir
+ci-dessus). Si ce n'est pas le cas, essayer de charger les paquetages
+ae et aeguill:
+
+ \usepackage{ae,aeguill}
+
+PERSONNALISATION
+
+Si les traductions françaises de certains mots clés ne vous
+conviennent pas, simplement modifier le fichier francaisbst.tex.
+
+
+
+RÉVISIONS
+
+* Version 1.1 - 2013-05-12
+
+ Modifications à francaissc.bst pour que la conjonction "et" et le
+ marqueur "et collab." soient en romain plutôt qu'en petites
+ capitales. Merci à François Legendre <f.legendre@gmail.com> pour le
+ tuyau.
+
+ Introduction d'un numéro de version, puisqu'il semble que ce sera
+ utile.
+
+* Version 1.0a - 2013-05-03
+
+ Corrections à la doc du fichier README
+
+* Version 1.0 - Octobre 2012
+
+ Version initiale
diff --git a/biblio/bibtex/contrib/francais-bst/francais.bst b/biblio/bibtex/contrib/francais-bst/francais.bst
new file mode 100644
index 0000000000..d6451e76c4
--- /dev/null
+++ b/biblio/bibtex/contrib/francais-bst/francais.bst
@@ -0,0 +1,1739 @@
+%%
+%% This is file `francais.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `babel,ay,nat,lang,vonx,nm-rev1,jnrlst,blkyear,dt-beg,yr-per,note-yr,tit-qq,qt-g,qx,vnum-nr,volp-com,pgsep-s,jwdpg,pp-last,jwdvol,num-xser,numser,ser-vol,ser-ed,pg-bk,pre-edn,isbn,issn,agu-doi,doi,edby,blk-com,blknt,pp,ed,abr,ord,and-xcom,etal-xc,url,url-nt,nfss,')
+%%
+%% >> Style bibliographique compatible avec natbib permettant de composer
+%% >> des bibliographies en francais conformes aux regles de typographie
+%% >> enoncees dans
+%% >>
+%% >> Malo, M. "Guide de la communication ecrite", Quebec Amerique, 1996.
+%% >> ISBN 978-2-8903-7875-9.
+%% >>
+%% >> Style cree et maintenu par Vincent Goulet
+%% >> <vincent.goulet@act.ulaval.ca>.
+%% >>
+%% >> Version 1.1 2013-05-12
+%%
+%% Copyright 1994-2011 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2011/11/18 4.33 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file requires a file named francaisbst.tex
+ % containing the definitions of word commands like \bbleditor, etc.
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is natbib.sty by Patrick W. Daly
+ % The form of the \bibitem entries is
+ % \bibitem[Jones et al.(1990)]{key}...
+ % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
+ % The essential feature is that the label (the part in brackets) consists
+ % of the author names, as they should appear in the citation, with the year
+ % in parentheses following. There must be no space before the opening
+ % parenthesis!
+ % With natbib v5.3, a full list of authors may also follow the year.
+ % In natbib.sty, it is possible to define the type of enclosures that is
+ % really wanted (brackets or parentheses), but in either case, there must
+ % be parentheses in the label.
+ % The \cite command functions as follows:
+ % \citet{key} ==>> Jones et al. (1990)
+ % \citet*{key} ==>> Jones, Baker, and Smith (1990)
+ % \citep{key} ==>> (Jones et al., 1990)
+ % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
+ % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
+ % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
+ % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., 1990, p. 32)
+ % \citeauthor{key} ==>> Jones et al.
+ % \citeauthor*{key} ==>> Jones, Baker, and Smith
+ % \citeyear{key} ==>> 1990
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ doi
+ edition
+ editor
+ eid
+ howpublished
+ institution
+ isbn
+ issn
+ journal
+ key
+ language
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ url
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ skip$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+FUNCTION {non.stop}
+{ duplicate$
+ "}" * add.period$
+ #-1 #1 substring$ "." =
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "\capitalize" swap$ * }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The BABEL language selection is made here; definitions in francaisbst.tex.
+FUNCTION {bbl.and}
+{ "\bbland{}"}
+
+FUNCTION {bbl.etal}
+{ "\bbletal{}"}
+
+FUNCTION {bbl.editors}
+{ "\bbleds{}" }
+
+FUNCTION {bbl.editor}
+{ "\bbled{}" }
+
+FUNCTION {bbl.edby}
+{ "\bbledby{}" }
+
+FUNCTION {bbl.edition}
+{ "\bbledn{}" }
+
+FUNCTION {bbl.volume}
+{ "\bblvol{}" }
+
+FUNCTION {bbl.of}
+{ "\bblof{}" }
+
+FUNCTION {bbl.number}
+{ "\bblno{}" }
+
+FUNCTION {bbl.nr}
+{ "\bblno{}" }
+
+FUNCTION {bbl.in}
+{ "\bblin{}" }
+
+FUNCTION {bbl.pages}
+{ "\bblpp{}" }
+
+FUNCTION {bbl.page}
+{ "\bblp{}" }
+
+FUNCTION {bbl.chapter}
+{ "\bblchap{}" }
+
+FUNCTION {bbl.techrep}
+{ "\bbltechrep{}" }
+
+FUNCTION {bbl.mthesis}
+{ "\bblmthesis{}" }
+
+FUNCTION {bbl.phdthesis}
+{ "\bblphdthesis{}" }
+
+FUNCTION {bbl.first}
+{ "\bblfirsto{}" }
+
+FUNCTION {bbl.second}
+{ "\bblsecondo{}" }
+
+FUNCTION {bbl.third}
+{ "\bblthirdo{}" }
+
+FUNCTION {bbl.fourth}
+{ "\bblfourtho{}" }
+
+FUNCTION {bbl.fifth}
+{ "\bblfiftho{}" }
+
+FUNCTION {bbl.st}
+{ "\bblst{}" }
+
+FUNCTION {bbl.nd}
+{ "\bblnd{}" }
+
+FUNCTION {bbl.rd}
+{ "\bblrd{}" }
+
+FUNCTION {bbl.th}
+{ "\bblth{}" }
+
+MACRO {jan} {"\bbljan{}"}
+
+MACRO {feb} {"\bblfeb{}"}
+
+MACRO {mar} {"\bblmar{}"}
+
+MACRO {apr} {"\bblapr{}"}
+
+MACRO {may} {"\bblmay{}"}
+
+MACRO {jun} {"\bbljun{}"}
+
+MACRO {jul} {"\bbljul{}"}
+
+MACRO {aug} {"\bblaug{}"}
+
+MACRO {sep} {"\bblsep{}"}
+
+MACRO {oct} {"\bbloct{}"}
+
+MACRO {nov} {"\bblnov{}"}
+
+MACRO {dec} {"\bbldec{}"}
+
+FUNCTION {eng.ord}
+{ duplicate$ "1" swap$ *
+ #-2 #1 substring$ "1" =
+ { bbl.th * }
+ { duplicate$ #-1 #1 substring$
+ duplicate$ "1" =
+ { pop$ bbl.st * }
+ { duplicate$ "2" =
+ { pop$ bbl.nd * }
+ { "3" =
+ { bbl.rd * }
+ { bbl.th * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+INTEGERS { nameptr namesleft numnames }
+
+
+STRINGS { bibinfo}
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ duplicate$ #1 >
+ { "{f.~}{vv~}{ll}{, jj}" }
+ { "{vv~}{ll}{, f.}{, jj}" }
+ if$
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.names.ed}
+{
+ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{f.~}{vv~}{ll}{, jj}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+
+ " " * bbl.etal *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author "author" format.names
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ "," *
+ " " *
+ get.bbl.editor
+ *
+ }
+ if$
+}
+FUNCTION {format.book.pages}
+{ pages "pages" bibinfo.check
+ duplicate$ empty$ 'skip$
+ { " " * bbl.pages * }
+ if$
+}
+FUNCTION {format.isbn}
+{ isbn "isbn" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ "ISBN " swap$ *
+ }
+ if$
+}
+
+FUNCTION {format.issn}
+{ issn "issn" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ "ISSN " swap$ *
+ }
+ if$
+}
+
+FUNCTION {format.doi}
+{ doi empty$
+ { "" }
+ {
+ "\doi{" doi * "}" *
+ }
+ if$
+}
+FUNCTION {select.language}
+{ duplicate$ empty$
+ 'pop$
+ { language empty$
+ 'skip$
+ { "{\selectlanguage{" language * "}" * swap$ * "}" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.note}
+{
+ url empty$
+ 'skip$
+ { "\urlprefix\url{" url * "}" * output }
+ if$
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ duplicate$ empty$ 'skip$
+ { "t" change.case$ }
+ if$
+ "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ "\enquote{" swap$ *
+ "}, " *
+ select.language
+ }
+ if$
+}
+FUNCTION {end.quote.title}
+{ title empty$
+ 'skip$
+ { before.all 'output.state := }
+ if$
+}
+FUNCTION {format.full.names}
+{'s :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[{" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "}]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {if.digit}
+{ duplicate$ "0" =
+ swap$ duplicate$ "1" =
+ swap$ duplicate$ "2" =
+ swap$ duplicate$ "3" =
+ swap$ duplicate$ "4" =
+ swap$ duplicate$ "5" =
+ swap$ duplicate$ "6" =
+ swap$ duplicate$ "7" =
+ swap$ duplicate$ "8" =
+ swap$ "9" = or or or or or or or or or
+}
+FUNCTION {n.separate}
+{ 't :=
+ ""
+ #0 'numnames :=
+ { t empty$ not }
+ { t #-1 #1 substring$ if.digit
+ { numnames #1 + 'numnames := }
+ { #0 'numnames := }
+ if$
+ t #-1 #1 substring$ swap$ *
+ t #-2 global.max$ substring$ 't :=
+ numnames #5 =
+ { duplicate$ #1 #2 substring$ swap$
+ #3 global.max$ substring$
+ "\," swap$ * *
+ }
+ 'skip$
+ if$
+ }
+ while$
+}
+FUNCTION {n.dashify}
+{
+ n.separate
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in
+ " " * }
+
+FUNCTION {format.date}
+{ year "year" bibinfo.check duplicate$ empty$
+ {
+ }
+ 'skip$
+ if$
+ extra.label *
+ before.all 'output.state :=
+ after.sentence 'output.state :=
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ select.language
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { emphasize ", " * swap$ * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { number "number" bibinfo.check }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+FUNCTION {convert.edition}
+{ extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bbl.first 't := }
+ { s "second" = s "2" = or
+ { bbl.second 't := }
+ { s "third" = s "3" = or
+ { bbl.third 't := }
+ { s "fourth" = s "4" = or
+ { bbl.fourth 't := }
+ { s "fifth" = s "5" = or
+ { bbl.fifth 't := }
+ { s #1 #1 substring$ is.num
+ { s eng.ord 't := }
+ { edition 't := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ t
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ convert.edition
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ bbl.pages swap$
+ n.dashify
+ }
+ {
+ bbl.page swap$
+ }
+ if$
+ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ", " *
+ swap$
+ n.dashify
+ pages multi.page.check
+ 'bbl.pages
+ 'bbl.page
+ if$
+ swap$ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.journal.eid}
+{ eid "eid" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$ 'skip$
+ {
+ ", " *
+ }
+ if$
+ swap$ *
+ }
+ if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ bbl.volume swap$ tie.or.space.prefix
+ "volume" bibinfo.check
+ * *
+ }
+ if$
+ number "number" bibinfo.check duplicate$ empty$ 'skip$
+ {
+ swap$ duplicate$ empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ swap$
+ ", " bbl.nr * number tie.or.space.prefix pop$ * swap$ *
+ }
+ if$ *
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ { "" }
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+ emphasize
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ {
+ format.bvolume duplicate$ empty$ 'pop$
+ { ", " swap$ * * }
+ if$
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ bbl.edby
+ " " * swap$ *
+ swap$
+ "," *
+ " " * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ t empty$
+ { address "address" bibinfo.check *
+ }
+ { t *
+ address empty$
+ 'skip$
+ { ", " * address "address" bibinfo.check * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ {
+ journal
+ "journal" bibinfo.check
+ emphasize
+ "journal" output.check
+ format.vol.num.pages output
+ format.doi output
+ }
+ { format.article.crossref output.nonnull
+ }
+ if$
+ eid empty$
+ { format.journal.pages }
+ { format.journal.eid }
+ if$
+ format.issn output
+ new.sentence
+ format.note output
+ fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.edition output
+ format.number.series output
+ format.publisher.address output
+ }
+ {
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.isbn output
+ format.book.pages output
+ format.doi output
+ new.sentence
+ format.note output
+ fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ format.isbn output
+ format.book.pages output
+ format.doi output
+ new.sentence
+ format.note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ format.edition output
+ format.number.series output
+ format.publisher.address output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ format.book.crossref output.nonnull
+ }
+ if$
+ crossref missing$
+ { format.isbn output }
+ 'skip$
+ if$
+ format.pages "pages" output.check
+ format.doi output
+ new.sentence
+ format.note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.edition output
+ format.chapter.pages output
+ format.number.series output
+ format.publisher.address output
+ format.isbn output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.pages "pages" output.check
+ format.doi output
+ new.sentence
+ format.note output
+ fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.number.series output
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.isbn output
+ format.issn output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ }
+ if$
+ format.pages "pages" output.check
+ format.doi output
+ new.sentence
+ format.note output
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ format.edition output
+ format.doi output
+ new.sentence
+ format.note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.doi output
+ new.sentence
+ format.note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title output
+ end.quote.title
+ howpublished "howpublished" bibinfo.check output
+ format.doi output
+ new.sentence
+ format.note output
+ fin.entry
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.doi output
+ new.sentence
+ format.note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.isbn output
+ format.issn output
+ format.doi output
+ new.sentence
+ format.note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ end.quote.title
+ format.tr.number output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.doi output
+ new.sentence
+ format.note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ format.doi output
+ new.sentence
+ format.note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+READ
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+FUNCTION {format.lab.names}
+{ 's :=
+ "" 't :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$
+ " " * bbl.etal *
+ }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ " " * bbl.etal *
+ }
+ { bbl.and space.word * s #2 "{vv~}{ll}" format.name$
+ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ll{ }}{ f{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" 't := }
+ 'skip$
+ if$
+ t sortify *
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+SORT
+STRINGS { last.label next.extra }
+INTEGERS { last.extra.num last.extra.num.extended last.extra.num.blank number.label }
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ "a" chr.to.int$ #1 - 'last.extra.num.blank :=
+ last.extra.num.blank 'last.extra.num.extended :=
+ #0 'number.label :=
+}
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num "z" chr.to.int$ >
+ { "a" chr.to.int$ 'last.extra.num :=
+ last.extra.num.extended #1 + 'last.extra.num.extended :=
+ }
+ 'skip$
+ if$
+ last.extra.num.extended last.extra.num.blank >
+ { last.extra.num.extended int.to.chr$
+ last.extra.num int.to.chr$
+ * 'extra.label := }
+ { last.extra.num int.to.chr$ 'extra.label := }
+ if$
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+EXECUTE {initialize.extra.label.stuff}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+ITERATE {bib.sort.order}
+SORT
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\ProvideTextCommand{\guillemotleft}{OT1}{%"
+ write$ newline$
+ " \leavevmode\raise .27ex\hbox{$\scriptscriptstyle\ll$}}"
+ write$ newline$
+ "\ProvideTextCommand{\guillemotright}{OT1}{%"
+ write$ newline$
+ " \leavevmode\raise .27ex\hbox{$\scriptscriptstyle\gg$}}"
+ write$ newline$
+ "\newcommand{\enquote}[1]{\guillemotleft#1\guillemotright}"
+ write$ newline$
+ "\providecommand{\natexlab}[1]{#1}"
+ write$ newline$
+ "\providecommand{\url}[1]{\texttt{#1}}"
+ write$ newline$
+ "\providecommand{\urlprefix}{URL }"
+ write$ newline$
+ "\expandafter\ifx\csname urlstyle\endcsname\relax"
+ write$ newline$
+ " \providecommand{\doi}[1]{doi:\discretionary{}{}{}#1}\else"
+ write$ newline$
+ " \providecommand{\doi}{doi:\discretionary{}{}{}\begingroup \urlstyle{rm}\Url}\fi"
+ write$ newline$
+ "\providecommand{\selectlanguage}[1]{\relax}"
+ write$ newline$
+ "\input{francaisbst.tex}" write$ newline$
+ "\newcommand{\Capitalize}[1]{\uppercase{#1}}" write$ newline$
+ "\newcommand{\capitalize}[1]{\expandafter\Capitalize#1}" write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `francais.bst'.
diff --git a/biblio/bibtex/contrib/francais-bst/francaisbst.tex b/biblio/bibtex/contrib/francais-bst/francaisbst.tex
new file mode 100644
index 0000000000..f60e5a1e89
--- /dev/null
+++ b/biblio/bibtex/contrib/francais-bst/francaisbst.tex
@@ -0,0 +1,49 @@
+%% Copyright (C) 2012 Vincent Goulet
+%%
+%% This file may be distributed and/or modified under the conditions
+%% of the LaTeX Project Public License, either version 1.3c of this
+%% license or (at your option) any later version. The latest version
+%% of this license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3c or later is part of all distributions of LaTeX
+%% version 2006/05/20 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Vincent Goulet
+%% <vincent.goulet@act.ulaval.ca>.
+%%
+%% This is francaisbst.tex for French.
+\def\bbland{et} \def\bbletal{et~collab.}
+\def\bbleditors{r\'edacteurs} \def\bbleds{\'ed.}
+\def\bbleditor{r\'edacteur} \def\bbled{\'ed.}
+\def\bbledby{\'edit\'e par}
+\def\bbledition{\'edition} \def\bbledn{\'ed.}
+\def\bblvolume{volume} \def\bblvol{vol.}
+\def\bblof{de}
+\def\bblnumber{num\'ero} \def\bblno{\no{}}
+\def\bblin{dans}
+\def\bblpages{pages} \def\bblpp{p.}
+\def\bblpage{page} \def\bblp{p.}
+\def\bbleidpp{pages}
+\def\bblchapter{chapitre} \def\bblchap{chap.}
+\def\bbltechreport{cahier de recherche}
+\def\bbltechrep{cahier de recherche}
+\def\bblmthesis{m\'emoire de ma\^itrise}
+\def\bblphdthesis{th\`ese de doctorat}
+\def\bblfirst{premi\`ere} \def\bblfirsto{1{\iere}}
+\def\bblsecond{seconde} \def\bblsecondo{2{\ieme}}
+\def\bblthird{troisi\`eme} \def\bblthirdo{3{\ieme}}
+\def\bblfourth{quatri\`eme} \def\bblfourtho{4{\ieme}}
+\def\bblfifth{cinqui\`eme} \def\bblfiftho{5{\ieme}}
+\def\bblst{{\iere}} \def\bblnd{{\ieme}} \def\bblrd{{\ieme}}
+\def\bblth{{\ieme}}
+\def\bbljan{janvier} \def\bblfeb{f\'evrier} \def\bblmar{mars}
+\def\bblapr{avril} \def\bblmay{mai} \def\bbljun{juin}
+\def\bbljul{juillet} \def\bblaug{ao\^ut} \def\bblsep{septembre}
+\def\bbloct{octobre} \def\bblnov{novembre} \def\bbldec{d\'ecembre}
+\endinput
+%%
+%% End of file `francaisbst.tex'.
diff --git a/biblio/bibtex/contrib/francais-bst/francaissc.bst b/biblio/bibtex/contrib/francais-bst/francaissc.bst
new file mode 100644
index 0000000000..3a024a5365
--- /dev/null
+++ b/biblio/bibtex/contrib/francais-bst/francaissc.bst
@@ -0,0 +1,1759 @@
+%%
+%% This is file `francaissc.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `babel,ay,nat,lang,vonx,nm-rev1,jnrlst,nmft,nmft-sc,nmand-rm,lab,lab-sc,and-rm,blkyear,dt-beg,yr-per,note-yr,tit-qq,qt-g,qx,vnum-nr,volp-com,pgsep-s,jwdpg,pp-last,jwdvol,num-xser,numser,ser-vol,ser-ed,pg-bk,pre-edn,isbn,issn,agu-doi,doi,edby,blk-com,blknt,pp,ed,abr,ord,and-xcom,etal-xc,etal-rm,url,url-nt,nfss,')
+%%
+%% >> Style bibliographique compatible avec natbib permettant de composer
+%% >> des bibliographies en francais conformes aux regles de typographie
+%% >> enoncees dans
+%% >>
+%% >> Malo, M. "Guide de la communication ecrite", Quebec Amerique, 1996.
+%% >> ISBN 978-2-8903-7875-9.
+%% >>
+%% >> Version avec les noms d'auteurs en petites capitales dans la
+%% >> bibliographie *et* dans les citations. La conjonction "et" et le
+%% >> marqueur "et collab." sont en romain normal.
+%% >>
+%% >> Style cree et maintenu par Vincent Goulet
+%% >> <vincent.goulet@act.ulaval.ca>.
+%% >>
+%% >> Version 1.1 2013-05-12
+%%
+%% Copyright 1994-2011 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2011/11/18 4.33 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file requires a file named francaisbst.tex
+ % containing the definitions of word commands like \bbleditor, etc.
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is natbib.sty by Patrick W. Daly
+ % The form of the \bibitem entries is
+ % \bibitem[Jones et al.(1990)]{key}...
+ % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
+ % The essential feature is that the label (the part in brackets) consists
+ % of the author names, as they should appear in the citation, with the year
+ % in parentheses following. There must be no space before the opening
+ % parenthesis!
+ % With natbib v5.3, a full list of authors may also follow the year.
+ % In natbib.sty, it is possible to define the type of enclosures that is
+ % really wanted (brackets or parentheses), but in either case, there must
+ % be parentheses in the label.
+ % The \cite command functions as follows:
+ % \citet{key} ==>> Jones et al. (1990)
+ % \citet*{key} ==>> Jones, Baker, and Smith (1990)
+ % \citep{key} ==>> (Jones et al., 1990)
+ % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
+ % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
+ % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
+ % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., 1990, p. 32)
+ % \citeauthor{key} ==>> Jones et al.
+ % \citeauthor*{key} ==>> Jones, Baker, and Smith
+ % \citeyear{key} ==>> 1990
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ doi
+ edition
+ editor
+ eid
+ howpublished
+ institution
+ isbn
+ issn
+ journal
+ key
+ language
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ url
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ skip$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+FUNCTION {non.stop}
+{ duplicate$
+ "}" * add.period$
+ #-1 #1 substring$ "." =
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+FUNCTION {scaps}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textsc{" swap$ * "}" * }
+ if$
+}
+FUNCTION {bib.name.font}
+{ scaps }
+FUNCTION {bib.fname.font}
+{ bib.name.font }
+FUNCTION {cite.name.font}
+{ scaps }
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "\capitalize" swap$ * }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The BABEL language selection is made here; definitions in francaisbst.tex.
+FUNCTION {bbl.and}
+{ "\bbland{}"}
+
+FUNCTION {bbl.etal}
+{ "\bbletal{}"}
+
+FUNCTION {bbl.editors}
+{ "\bbleds{}" }
+
+FUNCTION {bbl.editor}
+{ "\bbled{}" }
+
+FUNCTION {bbl.edby}
+{ "\bbledby{}" }
+
+FUNCTION {bbl.edition}
+{ "\bbledn{}" }
+
+FUNCTION {bbl.volume}
+{ "\bblvol{}" }
+
+FUNCTION {bbl.of}
+{ "\bblof{}" }
+
+FUNCTION {bbl.number}
+{ "\bblno{}" }
+
+FUNCTION {bbl.nr}
+{ "\bblno{}" }
+
+FUNCTION {bbl.in}
+{ "\bblin{}" }
+
+FUNCTION {bbl.pages}
+{ "\bblpp{}" }
+
+FUNCTION {bbl.page}
+{ "\bblp{}" }
+
+FUNCTION {bbl.chapter}
+{ "\bblchap{}" }
+
+FUNCTION {bbl.techrep}
+{ "\bbltechrep{}" }
+
+FUNCTION {bbl.mthesis}
+{ "\bblmthesis{}" }
+
+FUNCTION {bbl.phdthesis}
+{ "\bblphdthesis{}" }
+
+FUNCTION {bbl.first}
+{ "\bblfirsto{}" }
+
+FUNCTION {bbl.second}
+{ "\bblsecondo{}" }
+
+FUNCTION {bbl.third}
+{ "\bblthirdo{}" }
+
+FUNCTION {bbl.fourth}
+{ "\bblfourtho{}" }
+
+FUNCTION {bbl.fifth}
+{ "\bblfiftho{}" }
+
+FUNCTION {bbl.st}
+{ "\bblst{}" }
+
+FUNCTION {bbl.nd}
+{ "\bblnd{}" }
+
+FUNCTION {bbl.rd}
+{ "\bblrd{}" }
+
+FUNCTION {bbl.th}
+{ "\bblth{}" }
+
+MACRO {jan} {"\bbljan{}"}
+
+MACRO {feb} {"\bblfeb{}"}
+
+MACRO {mar} {"\bblmar{}"}
+
+MACRO {apr} {"\bblapr{}"}
+
+MACRO {may} {"\bblmay{}"}
+
+MACRO {jun} {"\bbljun{}"}
+
+MACRO {jul} {"\bbljul{}"}
+
+MACRO {aug} {"\bblaug{}"}
+
+MACRO {sep} {"\bblsep{}"}
+
+MACRO {oct} {"\bbloct{}"}
+
+MACRO {nov} {"\bblnov{}"}
+
+MACRO {dec} {"\bbldec{}"}
+
+FUNCTION {eng.ord}
+{ duplicate$ "1" swap$ *
+ #-2 #1 substring$ "1" =
+ { bbl.th * }
+ { duplicate$ #-1 #1 substring$
+ duplicate$ "1" =
+ { pop$ bbl.st * }
+ { duplicate$ "2" =
+ { pop$ bbl.nd * }
+ { "3" =
+ { bbl.rd * }
+ { bbl.th * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+INTEGERS { nameptr namesleft numnames }
+
+
+STRINGS { bibinfo}
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ duplicate$ #1 >
+ { "{f.~}{vv~}{ll}{, jj}" }
+ { "{vv~}{ll}{, f.}{, jj}" }
+ if$
+ format.name$
+ bib.name.font
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.names.ed}
+{
+ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{f.~}{vv~}{ll}{, jj}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+
+ " " * bbl.etal *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author "author" format.names
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ "," *
+ " " *
+ get.bbl.editor
+ *
+ }
+ if$
+}
+FUNCTION {format.book.pages}
+{ pages "pages" bibinfo.check
+ duplicate$ empty$ 'skip$
+ { " " * bbl.pages * }
+ if$
+}
+FUNCTION {format.isbn}
+{ isbn "isbn" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ "ISBN " swap$ *
+ }
+ if$
+}
+
+FUNCTION {format.issn}
+{ issn "issn" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ "ISSN " swap$ *
+ }
+ if$
+}
+
+FUNCTION {format.doi}
+{ doi empty$
+ { "" }
+ {
+ "\doi{" doi * "}" *
+ }
+ if$
+}
+FUNCTION {select.language}
+{ duplicate$ empty$
+ 'pop$
+ { language empty$
+ 'skip$
+ { "{\selectlanguage{" language * "}" * swap$ * "}" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.note}
+{
+ url empty$
+ 'skip$
+ { "\urlprefix\url{" url * "}" * output }
+ if$
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ duplicate$ empty$ 'skip$
+ { "t" change.case$ }
+ if$
+ "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ "\enquote{" swap$ *
+ "}, " *
+ select.language
+ }
+ if$
+}
+FUNCTION {end.quote.title}
+{ title empty$
+ 'skip$
+ { before.all 'output.state := }
+ if$
+}
+FUNCTION {format.full.names}
+{'s :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$
+ cite.name.font
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[{" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "}]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {if.digit}
+{ duplicate$ "0" =
+ swap$ duplicate$ "1" =
+ swap$ duplicate$ "2" =
+ swap$ duplicate$ "3" =
+ swap$ duplicate$ "4" =
+ swap$ duplicate$ "5" =
+ swap$ duplicate$ "6" =
+ swap$ duplicate$ "7" =
+ swap$ duplicate$ "8" =
+ swap$ "9" = or or or or or or or or or
+}
+FUNCTION {n.separate}
+{ 't :=
+ ""
+ #0 'numnames :=
+ { t empty$ not }
+ { t #-1 #1 substring$ if.digit
+ { numnames #1 + 'numnames := }
+ { #0 'numnames := }
+ if$
+ t #-1 #1 substring$ swap$ *
+ t #-2 global.max$ substring$ 't :=
+ numnames #5 =
+ { duplicate$ #1 #2 substring$ swap$
+ #3 global.max$ substring$
+ "\," swap$ * *
+ }
+ 'skip$
+ if$
+ }
+ while$
+}
+FUNCTION {n.dashify}
+{
+ n.separate
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in
+ " " * }
+
+FUNCTION {format.date}
+{ year "year" bibinfo.check duplicate$ empty$
+ {
+ }
+ 'skip$
+ if$
+ extra.label *
+ before.all 'output.state :=
+ after.sentence 'output.state :=
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ select.language
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { emphasize ", " * swap$ * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { number "number" bibinfo.check }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+FUNCTION {convert.edition}
+{ extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bbl.first 't := }
+ { s "second" = s "2" = or
+ { bbl.second 't := }
+ { s "third" = s "3" = or
+ { bbl.third 't := }
+ { s "fourth" = s "4" = or
+ { bbl.fourth 't := }
+ { s "fifth" = s "5" = or
+ { bbl.fifth 't := }
+ { s #1 #1 substring$ is.num
+ { s eng.ord 't := }
+ { edition 't := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ t
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ convert.edition
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ bbl.pages swap$
+ n.dashify
+ }
+ {
+ bbl.page swap$
+ }
+ if$
+ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ", " *
+ swap$
+ n.dashify
+ pages multi.page.check
+ 'bbl.pages
+ 'bbl.page
+ if$
+ swap$ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.journal.eid}
+{ eid "eid" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$ 'skip$
+ {
+ ", " *
+ }
+ if$
+ swap$ *
+ }
+ if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ bbl.volume swap$ tie.or.space.prefix
+ "volume" bibinfo.check
+ * *
+ }
+ if$
+ number "number" bibinfo.check duplicate$ empty$ 'skip$
+ {
+ swap$ duplicate$ empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ swap$
+ ", " bbl.nr * number tie.or.space.prefix pop$ * swap$ *
+ }
+ if$ *
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ { "" }
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+ emphasize
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ {
+ format.bvolume duplicate$ empty$ 'pop$
+ { ", " swap$ * * }
+ if$
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ bbl.edby
+ " " * swap$ *
+ swap$
+ "," *
+ " " * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ t empty$
+ { address "address" bibinfo.check *
+ }
+ { t *
+ address empty$
+ 'skip$
+ { ", " * address "address" bibinfo.check * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ {
+ journal
+ "journal" bibinfo.check
+ emphasize
+ "journal" output.check
+ format.vol.num.pages output
+ format.doi output
+ }
+ { format.article.crossref output.nonnull
+ }
+ if$
+ eid empty$
+ { format.journal.pages }
+ { format.journal.eid }
+ if$
+ format.issn output
+ new.sentence
+ format.note output
+ fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.edition output
+ format.number.series output
+ format.publisher.address output
+ }
+ {
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.isbn output
+ format.book.pages output
+ format.doi output
+ new.sentence
+ format.note output
+ fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ format.isbn output
+ format.book.pages output
+ format.doi output
+ new.sentence
+ format.note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ format.edition output
+ format.number.series output
+ format.publisher.address output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ format.book.crossref output.nonnull
+ }
+ if$
+ crossref missing$
+ { format.isbn output }
+ 'skip$
+ if$
+ format.pages "pages" output.check
+ format.doi output
+ new.sentence
+ format.note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.edition output
+ format.chapter.pages output
+ format.number.series output
+ format.publisher.address output
+ format.isbn output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.pages "pages" output.check
+ format.doi output
+ new.sentence
+ format.note output
+ fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.number.series output
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.isbn output
+ format.issn output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ }
+ if$
+ format.pages "pages" output.check
+ format.doi output
+ new.sentence
+ format.note output
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ format.edition output
+ format.doi output
+ new.sentence
+ format.note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.doi output
+ new.sentence
+ format.note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title output
+ end.quote.title
+ howpublished "howpublished" bibinfo.check output
+ format.doi output
+ new.sentence
+ format.note output
+ fin.entry
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.doi output
+ new.sentence
+ format.note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.isbn output
+ format.issn output
+ format.doi output
+ new.sentence
+ format.note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ end.quote.title
+ format.tr.number output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.doi output
+ new.sentence
+ format.note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ format.doi output
+ new.sentence
+ format.note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+READ
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+FUNCTION {format.lab.names}
+{ 's :=
+ "" 't :=
+ s #1 "{vv~}{ll}" format.name$
+ cite.name.font
+ s num.names$ duplicate$
+ #2 >
+ { pop$
+ " " * bbl.etal *
+ }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ " " * bbl.etal *
+ }
+ { bbl.and space.word * s #2 "{vv~}{ll}" format.name$
+ cite.name.font
+ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ll{ }}{ f{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" 't := }
+ 'skip$
+ if$
+ t sortify *
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+SORT
+STRINGS { last.label next.extra }
+INTEGERS { last.extra.num last.extra.num.extended last.extra.num.blank number.label }
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ "a" chr.to.int$ #1 - 'last.extra.num.blank :=
+ last.extra.num.blank 'last.extra.num.extended :=
+ #0 'number.label :=
+}
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num "z" chr.to.int$ >
+ { "a" chr.to.int$ 'last.extra.num :=
+ last.extra.num.extended #1 + 'last.extra.num.extended :=
+ }
+ 'skip$
+ if$
+ last.extra.num.extended last.extra.num.blank >
+ { last.extra.num.extended int.to.chr$
+ last.extra.num int.to.chr$
+ * 'extra.label := }
+ { last.extra.num int.to.chr$ 'extra.label := }
+ if$
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+EXECUTE {initialize.extra.label.stuff}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+ITERATE {bib.sort.order}
+SORT
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\ProvideTextCommand{\guillemotleft}{OT1}{%"
+ write$ newline$
+ " \leavevmode\raise .27ex\hbox{$\scriptscriptstyle\ll$}}"
+ write$ newline$
+ "\ProvideTextCommand{\guillemotright}{OT1}{%"
+ write$ newline$
+ " \leavevmode\raise .27ex\hbox{$\scriptscriptstyle\gg$}}"
+ write$ newline$
+ "\newcommand{\enquote}[1]{\guillemotleft#1\guillemotright}"
+ write$ newline$
+ "\providecommand{\natexlab}[1]{#1}"
+ write$ newline$
+ "\providecommand{\url}[1]{\texttt{#1}}"
+ write$ newline$
+ "\providecommand{\urlprefix}{URL }"
+ write$ newline$
+ "\expandafter\ifx\csname urlstyle\endcsname\relax"
+ write$ newline$
+ " \providecommand{\doi}[1]{doi:\discretionary{}{}{}#1}\else"
+ write$ newline$
+ " \providecommand{\doi}{doi:\discretionary{}{}{}\begingroup \urlstyle{rm}\Url}\fi"
+ write$ newline$
+ "\providecommand{\selectlanguage}[1]{\relax}"
+ write$ newline$
+ "\input{francaisbst.tex}" write$ newline$
+ "\newcommand{\Capitalize}[1]{\uppercase{#1}}" write$ newline$
+ "\newcommand{\capitalize}[1]{\expandafter\Capitalize#1}" write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `francaissc.bst'.
diff --git a/biblio/bibtex/contrib/gbt7714/LICENSE b/biblio/bibtex/contrib/gbt7714/LICENSE
new file mode 100644
index 0000000000..2244313901
--- /dev/null
+++ b/biblio/bibtex/contrib/gbt7714/LICENSE
@@ -0,0 +1,416 @@
+The LaTeX Project Public License
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
+
+LPPL Version 1.3c 2008-05-04
+
+Copyright 1999 2002-2008 LaTeX3 Project
+ Everyone is allowed to distribute verbatim copies of this
+ license document, but modification of it is not allowed.
+
+
+PREAMBLE
+========
+
+The LaTeX Project Public License (LPPL) is the primary license under
+which the LaTeX kernel and the base LaTeX packages are distributed.
+
+You may use this license for any work of which you hold the copyright
+and which you wish to distribute. This license may be particularly
+suitable if your work is TeX-related (such as a LaTeX package), but
+it is written in such a way that you can use it even if your work is
+unrelated to TeX.
+
+The section `WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE',
+below, gives instructions, examples, and recommendations for authors
+who are considering distributing their works under this license.
+
+This license gives conditions under which a work may be distributed
+and modified, as well as conditions under which modified versions of
+that work may be distributed.
+
+We, the LaTeX3 Project, believe that the conditions below give you
+the freedom to make and distribute modified versions of your work
+that conform with whatever technical specifications you wish while
+maintaining the availability, integrity, and reliability of
+that work. If you do not see how to achieve your goal while
+meeting these conditions, then read the document `cfgguide.tex'
+and `modguide.tex' in the base LaTeX distribution for suggestions.
+
+
+DEFINITIONS
+===========
+
+In this license document the following terms are used:
+
+ `Work'
+ Any work being distributed under this License.
+
+ `Derived Work'
+ Any work that under any applicable law is derived from the Work.
+
+ `Modification'
+ Any procedure that produces a Derived Work under any applicable
+ law -- for example, the production of a file containing an
+ original file associated with the Work or a significant portion of
+ such a file, either verbatim or with modifications and/or
+ translated into another language.
+
+ `Modify'
+ To apply any procedure that produces a Derived Work under any
+ applicable law.
+
+ `Distribution'
+ Making copies of the Work available from one person to another, in
+ whole or in part. Distribution includes (but is not limited to)
+ making any electronic components of the Work accessible by
+ file transfer protocols such as FTP or HTTP or by shared file
+ systems such as Sun's Network File System (NFS).
+
+ `Compiled Work'
+ A version of the Work that has been processed into a form where it
+ is directly usable on a computer system. This processing may
+ include using installation facilities provided by the Work,
+ transformations of the Work, copying of components of the Work, or
+ other activities. Note that modification of any installation
+ facilities provided by the Work constitutes modification of the Work.
+
+ `Current Maintainer'
+ A person or persons nominated as such within the Work. If there is
+ no such explicit nomination then it is the `Copyright Holder' under
+ any applicable law.
+
+ `Base Interpreter'
+ A program or process that is normally needed for running or
+ interpreting a part or the whole of the Work.
+
+ A Base Interpreter may depend on external components but these
+ are not considered part of the Base Interpreter provided that each
+ external component clearly identifies itself whenever it is used
+ interactively. Unless explicitly specified when applying the
+ license to the Work, the only applicable Base Interpreter is a
+ `LaTeX-Format' or in the case of files belonging to the
+ `LaTeX-format' a program implementing the `TeX language'.
+
+
+
+CONDITIONS ON DISTRIBUTION AND MODIFICATION
+===========================================
+
+1. Activities other than distribution and/or modification of the Work
+are not covered by this license; they are outside its scope. In
+particular, the act of running the Work is not restricted and no
+requirements are made concerning any offers of support for the Work.
+
+2. You may distribute a complete, unmodified copy of the Work as you
+received it. Distribution of only part of the Work is considered
+modification of the Work, and no right to distribute such a Derived
+Work may be assumed under the terms of this clause.
+
+3. You may distribute a Compiled Work that has been generated from a
+complete, unmodified copy of the Work as distributed under Clause 2
+above, as long as that Compiled Work is distributed in such a way that
+the recipients may install the Compiled Work on their system exactly
+as it would have been installed if they generated a Compiled Work
+directly from the Work.
+
+4. If you are the Current Maintainer of the Work, you may, without
+restriction, modify the Work, thus creating a Derived Work. You may
+also distribute the Derived Work without restriction, including
+Compiled Works generated from the Derived Work. Derived Works
+distributed in this manner by the Current Maintainer are considered to
+be updated versions of the Work.
+
+5. If you are not the Current Maintainer of the Work, you may modify
+your copy of the Work, thus creating a Derived Work based on the Work,
+and compile this Derived Work, thus creating a Compiled Work based on
+the Derived Work.
+
+6. If you are not the Current Maintainer of the Work, you may
+distribute a Derived Work provided the following conditions are met
+for every component of the Work unless that component clearly states
+in the copyright notice that it is exempt from that condition. Only
+the Current Maintainer is allowed to add such statements of exemption
+to a component of the Work.
+
+ a. If a component of this Derived Work can be a direct replacement
+ for a component of the Work when that component is used with the
+ Base Interpreter, then, wherever this component of the Work
+ identifies itself to the user when used interactively with that
+ Base Interpreter, the replacement component of this Derived Work
+ clearly and unambiguously identifies itself as a modified version
+ of this component to the user when used interactively with that
+ Base Interpreter.
+
+ b. Every component of the Derived Work contains prominent notices
+ detailing the nature of the changes to that component, or a
+ prominent reference to another file that is distributed as part
+ of the Derived Work and that contains a complete and accurate log
+ of the changes.
+
+ c. No information in the Derived Work implies that any persons,
+ including (but not limited to) the authors of the original version
+ of the Work, provide any support, including (but not limited to)
+ the reporting and handling of errors, to recipients of the
+ Derived Work unless those persons have stated explicitly that
+ they do provide such support for the Derived Work.
+
+ d. You distribute at least one of the following with the Derived Work:
+
+ 1. A complete, unmodified copy of the Work;
+ if your distribution of a modified component is made by
+ offering access to copy the modified component from a
+ designated place, then offering equivalent access to copy
+ the Work from the same or some similar place meets this
+ condition, even though third parties are not compelled to
+ copy the Work along with the modified component;
+
+ 2. Information that is sufficient to obtain a complete,
+ unmodified copy of the Work.
+
+7. If you are not the Current Maintainer of the Work, you may
+distribute a Compiled Work generated from a Derived Work, as long as
+the Derived Work is distributed to all recipients of the Compiled
+Work, and as long as the conditions of Clause 6, above, are met with
+regard to the Derived Work.
+
+8. The conditions above are not intended to prohibit, and hence do not
+apply to, the modification, by any method, of any component so that it
+becomes identical to an updated version of that component of the Work as
+it is distributed by the Current Maintainer under Clause 4, above.
+
+9. Distribution of the Work or any Derived Work in an alternative
+format, where the Work or that Derived Work (in whole or in part) is
+then produced by applying some process to that format, does not relax or
+nullify any sections of this license as they pertain to the results of
+applying that process.
+
+10. a. A Derived Work may be distributed under a different license
+ provided that license itself honors the conditions listed in
+ Clause 6 above, in regard to the Work, though it does not have
+ to honor the rest of the conditions in this license.
+
+ b. If a Derived Work is distributed under a different license, that
+ Derived Work must provide sufficient documentation as part of
+ itself to allow each recipient of that Derived Work to honor the
+ restrictions in Clause 6 above, concerning changes from the Work.
+
+11. This license places no restrictions on works that are unrelated to
+the Work, nor does this license place any restrictions on aggregating
+such works with the Work by any means.
+
+12. Nothing in this license is intended to, or may be used to, prevent
+complete compliance by all parties with all applicable laws.
+
+
+NO WARRANTY
+===========
+
+There is no warranty for the Work. Except when otherwise stated in
+writing, the Copyright Holder provides the Work `as is', without
+warranty of any kind, either expressed or implied, including, but not
+limited to, the implied warranties of merchantability and fitness for a
+particular purpose. The entire risk as to the quality and performance
+of the Work is with you. Should the Work prove defective, you assume
+the cost of all necessary servicing, repair, or correction.
+
+In no event unless required by applicable law or agreed to in writing
+will The Copyright Holder, or any author named in the components of the
+Work, or any other party who may distribute and/or modify the Work as
+permitted above, be liable to you for damages, including any general,
+special, incidental or consequential damages arising out of any use of
+the Work or out of inability to use the Work (including, but not limited
+to, loss of data, data being rendered inaccurate, or losses sustained by
+anyone as a result of any failure of the Work to operate with any other
+programs), even if the Copyright Holder or said author or said other
+party has been advised of the possibility of such damages.
+
+
+MAINTENANCE OF THE WORK
+=======================
+
+The Work has the status `author-maintained' if the Copyright Holder
+explicitly and prominently states near the primary copyright notice in
+the Work that the Work can only be maintained by the Copyright Holder
+or simply that it is `author-maintained'.
+
+The Work has the status `maintained' if there is a Current Maintainer
+who has indicated in the Work that they are willing to receive error
+reports for the Work (for example, by supplying a valid e-mail
+address). It is not required for the Current Maintainer to acknowledge
+or act upon these error reports.
+
+The Work changes from status `maintained' to `unmaintained' if there
+is no Current Maintainer, or the person stated to be Current
+Maintainer of the work cannot be reached through the indicated means
+of communication for a period of six months, and there are no other
+significant signs of active maintenance.
+
+You can become the Current Maintainer of the Work by agreement with
+any existing Current Maintainer to take over this role.
+
+If the Work is unmaintained, you can become the Current Maintainer of
+the Work through the following steps:
+
+ 1. Make a reasonable attempt to trace the Current Maintainer (and
+ the Copyright Holder, if the two differ) through the means of
+ an Internet or similar search.
+
+ 2. If this search is successful, then enquire whether the Work
+ is still maintained.
+
+ a. If it is being maintained, then ask the Current Maintainer
+ to update their communication data within one month.
+
+ b. If the search is unsuccessful or no action to resume active
+ maintenance is taken by the Current Maintainer, then announce
+ within the pertinent community your intention to take over
+ maintenance. (If the Work is a LaTeX work, this could be
+ done, for example, by posting to comp.text.tex.)
+
+ 3a. If the Current Maintainer is reachable and agrees to pass
+ maintenance of the Work to you, then this takes effect
+ immediately upon announcement.
+
+ b. If the Current Maintainer is not reachable and the Copyright
+ Holder agrees that maintenance of the Work be passed to you,
+ then this takes effect immediately upon announcement.
+
+ 4. If you make an `intention announcement' as described in 2b. above
+ and after three months your intention is challenged neither by
+ the Current Maintainer nor by the Copyright Holder nor by other
+ people, then you may arrange for the Work to be changed so as
+ to name you as the (new) Current Maintainer.
+
+ 5. If the previously unreachable Current Maintainer becomes
+ reachable once more within three months of a change completed
+ under the terms of 3b) or 4), then that Current Maintainer must
+ become or remain the Current Maintainer upon request provided
+ they then update their communication data within one month.
+
+A change in the Current Maintainer does not, of itself, alter the fact
+that the Work is distributed under the LPPL license.
+
+If you become the Current Maintainer of the Work, you should
+immediately provide, within the Work, a prominent and unambiguous
+statement of your status as Current Maintainer. You should also
+announce your new status to the same pertinent community as
+in 2b) above.
+
+
+WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE
+======================================================
+
+This section contains important instructions, examples, and
+recommendations for authors who are considering distributing their
+works under this license. These authors are addressed as `you' in
+this section.
+
+Choosing This License or Another License
+----------------------------------------
+
+If for any part of your work you want or need to use *distribution*
+conditions that differ significantly from those in this license, then
+do not refer to this license anywhere in your work but, instead,
+distribute your work under a different license. You may use the text
+of this license as a model for your own license, but your license
+should not refer to the LPPL or otherwise give the impression that
+your work is distributed under the LPPL.
+
+The document `modguide.tex' in the base LaTeX distribution explains
+the motivation behind the conditions of this license. It explains,
+for example, why distributing LaTeX under the GNU General Public
+License (GPL) was considered inappropriate. Even if your work is
+unrelated to LaTeX, the discussion in `modguide.tex' may still be
+relevant, and authors intending to distribute their works under any
+license are encouraged to read it.
+
+A Recommendation on Modification Without Distribution
+-----------------------------------------------------
+
+It is wise never to modify a component of the Work, even for your own
+personal use, without also meeting the above conditions for
+distributing the modified component. While you might intend that such
+modifications will never be distributed, often this will happen by
+accident -- you may forget that you have modified that component; or
+it may not occur to you when allowing others to access the modified
+version that you are thus distributing it and violating the conditions
+of this license in ways that could have legal implications and, worse,
+cause problems for the community. It is therefore usually in your
+best interest to keep your copy of the Work identical with the public
+one. Many works provide ways to control the behavior of that work
+without altering any of its licensed components.
+
+How to Use This License
+-----------------------
+
+To use this license, place in each of the components of your work both
+an explicit copyright notice including your name and the year the work
+was authored and/or last substantially modified. Include also a
+statement that the distribution and/or modification of that
+component is constrained by the conditions in this license.
+
+Here is an example of such a notice and statement:
+
+ %% pig.dtx
+ %% Copyright 2005 M. Y. Name
+ %
+ % This work may be distributed and/or modified under the
+ % conditions of the LaTeX Project Public License, either version 1.3
+ % of this license or (at your option) any later version.
+ % The latest version of this license is in
+ % http://www.latex-project.org/lppl.txt
+ % and version 1.3 or later is part of all distributions of LaTeX
+ % version 2005/12/01 or later.
+ %
+ % This work has the LPPL maintenance status `maintained'.
+ %
+ % The Current Maintainer of this work is M. Y. Name.
+ %
+ % This work consists of the files pig.dtx and pig.ins
+ % and the derived file pig.sty.
+
+Given such a notice and statement in a file, the conditions
+given in this license document would apply, with the `Work' referring
+to the three files `pig.dtx', `pig.ins', and `pig.sty' (the last being
+generated from `pig.dtx' using `pig.ins'), the `Base Interpreter'
+referring to any `LaTeX-Format', and both `Copyright Holder' and
+`Current Maintainer' referring to the person `M. Y. Name'.
+
+If you do not want the Maintenance section of LPPL to apply to your
+Work, change `maintained' above into `author-maintained'.
+However, we recommend that you use `maintained', as the Maintenance
+section was added in order to ensure that your Work remains useful to
+the community even when you can no longer maintain and support it
+yourself.
+
+Derived Works That Are Not Replacements
+---------------------------------------
+
+Several clauses of the LPPL specify means to provide reliability and
+stability for the user community. They therefore concern themselves
+with the case that a Derived Work is intended to be used as a
+(compatible or incompatible) replacement of the original Work. If
+this is not the case (e.g., if a few lines of code are reused for a
+completely different task), then clauses 6b and 6d shall not apply.
+
+
+Important Recommendations
+-------------------------
+
+ Defining What Constitutes the Work
+
+ The LPPL requires that distributions of the Work contain all the
+ files of the Work. It is therefore important that you provide a
+ way for the licensee to determine which files constitute the Work.
+ This could, for example, be achieved by explicitly listing all the
+ files of the Work near the copyright notice of each file or by
+ using a line such as:
+
+ % This work consists of all files listed in manifest.txt.
+
+ in that place. In the absence of an unequivocal list it might be
+ impossible for the licensee to determine what is considered by you
+ to comprise the Work and, in such a case, the licensee would be
+ entitled to make reasonable conjectures as to which files comprise
+ the Work.
+
diff --git a/biblio/bibtex/contrib/gbt7714/README.md b/biblio/bibtex/contrib/gbt7714/README.md
new file mode 100644
index 0000000000..81fb4fb9c9
--- /dev/null
+++ b/biblio/bibtex/contrib/gbt7714/README.md
@@ -0,0 +1,163 @@
+# GB/T 7714-2015 BibTeX Style
+
+
+[![CTAN](https://img.shields.io/ctan/v/gbt7714.svg)](https://ctan.org/pkg/gbt7714)
+[![GitHub release](https://img.shields.io/github/release/CTeX-org/gbt7714-bibtex-style/all.svg)](https://github.com/CTeX-org/gbt7714-bibtex-style/releases/latest)
+[![GitHub commits](https://img.shields.io/github/commits-since/CTeX-org/gbt7714-bibtex-style/latest.svg)](https://github.com/CTeX-org/gbt7714-bibtex-style/commits/master)
+[![Travis build](https://travis-ci.org/CTeX-org/gbt7714-bibtex-style.svg?branch=master)](https://travis-ci.org/CTeX-org/gbt7714-bibtex-style)
+
+
+## Introduction
+
+The `gbt7714` package provides a BibTeX implementation for the China's
+bibliography style standard GB/T 7714-2015.
+It consists of two `bst` files for numerical and authoryear styles as well as a
+LaTeX package which provides the citation style defined in the standard.
+It is compatible with `natbib` and supports language detection (Chinese
+and English) for each biblilography entry.
+
+- Homepage: https://github.com/CTeX-org/gbt7714-bibtex-style
+- Maintainer: Zeping Lee
+- Email: zeinglee AT gmail DOT com
+- License: LaTeX Project Public License 1.3c or later
+
+## 新特性
+
+- 兼容 `natbib`
+- 支æŒé¡ºåºç¼–ç åˆ¶å’Œè‘—者-出版年制两ç§é£Žæ ¼
+- 自动识别语言并进行相应处ç†
+- æ供了简å•çš„接å£ä¾›ç”¨æˆ·ä¿®æ”¹æ ·å¼
+
+
+## 使用方法
+
+1. å°† `bst` 文件和 `sty` 文件å¤åˆ¶åˆ°å·¥ä½œç›®å½•ã€‚
+
+2. 在导言区调用å®åŒ… `gbt7714`,å¯é€‰çš„å‚数如下表。
+ 默认的å‚数是 `super`,é¢å¤–çš„å‚数会传递给 `natbib` å®åŒ…。
+
+å¯é€‰å‚æ•° | 引用标注 | å‚考文献列表
+--- | --- | ---
+`super`(默认) | 角标数字 | 顺åºç¼–ç 
+`numbers` | æ•°å­— | 顺åºç¼–ç 
+`authoryear` | 著者-出版年 | 著者-出版年
+`2015`(默认) | - | GB/T 7714-2015 版
+`2005` | - | GB/T 7714-2005 版
+
+比如: `\usepackage[authoryear]{gbt7714}`
+
+3. 在正文中 `\cite` 文献。
+
+4. 使用 `\bibliography` 命令生æˆå‚考文献表。
+
+
+## 注æ„事项
+
+1. **ä¸å†**需è¦è°ƒç”¨ `\bibliographystyle` 命令。
+2. `bib` æ•°æ®åº“应使用 UTF-8 ç¼–ç ã€‚
+3. 使用著者-出版年制å‚考文献表时,中文的文献**å¿…é¡»**在 `key` 域填写
+著者姓å的拼音,æ‰èƒ½æŒ‰ç…§æ‹¼éŸ³æŽ’åºï¼Œæ¯”如:
+```
+@book{capital,
+ author = {é©¬å…‹æ€ and æ©æ ¼æ–¯},
+ key = {ma3 ke4 si1 en1 ge2 si1},
+ ...
+```
+
+åŒä¸€å¤„引用多篇文献时,应将å„篇文献的 key 一åŒå†™åœ¨ `\cite` 命令中,
+如 `\cite{knuth84,lamport94,mittelbach04}`。
+如é‡è¿žç»­ç¼–å·ï¼Œå¯ä»¥è‡ªåŠ¨è½¬ä¸ºèµ·è®«åºå·å¹¶ç”¨çŸ­æ¨ªçº¿è¿žæŽ¥ã€‚
+它å¯ä»¥è‡ªåŠ¨æŽ’åºå¹¶ç”¨å¤„ç†è¿žç»­ç¼–å·ã€‚
+
+若需è¦æ ‡å‡ºå¼•æ–‡çš„页ç ï¼Œå¯ä»¥æ ‡åœ¨ `\cite` çš„å¯é€‰å‚数中,如 `\cite[42]{knuth84}`。
+
+更多的引用标注方法å¯ä»¥å‚考 `natbib` å®åŒ…的使用说明。
+
+本å®åŒ…默认情况下å¯ä»¥è‡ªåŠ¨è¯†åˆ«æ–‡çŒ®è¯­è¨€ï¼Œå¹¶è‡ªåŠ¨å¤„ç†æ–‡çŒ®ç±»åž‹å’Œè½½ä½“类型标识,
+但是在少数情况下需è¦ç”¨æˆ·æ‰‹åŠ¨æŒ‡å®šï¼Œå¦‚:
+```
+@misc{citekey,
+ language = {japanese},
+ mark = {Z},
+ medium = {DK},
+ ...
+```
+å¯é€‰çš„语言有 `english`, `chinese`, `japanese`, `russian`。
+
+
+## 文献类型
+
+文献类型 | æ ‡è¯†ä»£ç  | Entry Type
+--- | :---: | ---
+普通图书 | M | `book`
+图书的æžå‡ºæ–‡çŒ® | M | `incollection`
+会议录 | C | `proceedings`
+会议录的æžå‡ºæ–‡çŒ® | C | `inproceedings` 或 `conference`
+汇编 | G | `collection`\*
+报纸 | N | `newspaper`\*
+期刊的æžå‡ºæ–‡çŒ® | J | `article`
+å­¦ä½è®ºæ–‡ | D | `mastersthesis` 或 `phdthesis`
+报告 | R | `techreport`
+标准 | S | `standard`\*
+专利 | P | `patent`\*
+æ•°æ®åº“ | DB | `database`\*
+è®¡ç®—æœºç¨‹åº | CP | `software`\*
+电å­å…¬å‘Š | EB | `online`\*
+档案 | A | `archive`\*
+舆图 | CM | `map`\*
+æ•°æ®é›† | DS | `dataset`\*
+其他 | Z | `misc`
+
+注:
+- 带 “\*†的类型ä¸æ˜¯ BibTeX 的标准文献类型。
+
+
+## 著录项目
+
+著录项目(域) | Entry Field
+--- | ---
+主è¦è´£ä»»è€… | `author`
+题å | `title`
+文献类型标识 | `mark`\*
+载体类型标识 | `medium`\*
+翻译者 | `translator`\*
+编辑 | `editor`
+组织(用于会议) | `organization`
+图书题å | `booktitle`
+系列 | `series`
+期刊题å | `journal`
+版本 | `edition`
+出版地 | `address`
+出版者 | `publisher`
+学校(用于phdthesis) | `school`
+机构(用于techreport) | `institution`
+出版年 | `year`
+å· | `volume`
+期(或者专利å·ï¼‰ | `number`
+å¼•æ–‡é¡µç  | `pages`
+更新或修改日期 | `date`\*
+引用日期 | `urldate`\*
+获å–和访问路径 | `url`
+数字对象唯一标识符 | `doi`
+语言 | `language`\*
+拼音(用于排åºï¼‰ | `key`
+
+注:
+- 其中带星å·çš„ä¸æ˜¯ BibTeX/natbib 的标准著录项目。
+- ä¸æ”¯æŒçš„ BibTeX 标准著录项目有 `annote`, `chapter`, `crossref`, `month`,
+`type`。
+
+## å‚考文献著录标准
+
+- [GB/T 7714-2015 ä¿¡æ¯ä¸Žæ–‡çŒ® å‚考文献著录规则.pdf](https://github.com/Haixing-Hu/GBT7714-2005-BibTeX-Style/files/153951/GBT.7714-2015.pdf)
+- [GB/T 7714-2005 æ–‡åŽå‚考文献著录规则.pdf](https://github.com/Haixing-Hu/typesetting-standard/raw/master/%E5%9B%BE%E4%B9%A6%E3%80%81%E6%9C%9F%E5%88%8A%E3%80%81%E8%AE%BA%E6%96%87%E7%9A%84%E7%BC%96%E6%8E%92/%E3%80%90GB:T%207714-2005%E3%80%91%E6%96%87%E5%90%8E%E5%8F%82%E8%80%83%E6%96%87%E7%8C%AE%E8%91%97%E5%BD%95%E8%A7%84%E5%88%99.pdf)
+
+
+## 相关项目
+
+- 胡振震 [hushidong/biblatex-gb7714-2015](https://github.com/hushidong/biblatex-gb7714-2015)
+- 沈周 [szsdk/biblatex-gbt77142005](https://github.com/szsdk/biblatex-gbt77142005)
+- 胡海星 [Haixing-Hu/GBT7714-2005-BibTeX-Style](https://github.com/Haixing-Hu/GBT7714-2005-BibTeX-Style)
+- æŽå¿—奇 [基于biblatex的符åˆGBT7714-2005的中文文献生æˆå·¥å…·](http://bbs.ctex.org/forum.php?mod=viewthread&tid=74474)
+- Casper Ti. Vector [CasperVector/biblatex-caspervector](https://github.com/CasperVector/biblatex-caspervector)
+- å´å‡¯ [å‘布GBT7714-2005.bst version1 Beta版](http://bbs.ctex.org/forum.php?mod=viewthread&tid=33591)
diff --git a/biblio/bibtex/contrib/gbt7714/gbt7714-plain.bst b/biblio/bibtex/contrib/gbt7714/gbt7714-plain.bst
new file mode 100644
index 0000000000..5e9aee9bb1
--- /dev/null
+++ b/biblio/bibtex/contrib/gbt7714/gbt7714-plain.bst
@@ -0,0 +1,2043 @@
+%%
+%% This is file `gbt7714-plain.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% gbt7714.dtx (with options: `2015,authoryear')
+%% -------------------------------------------------------------------
+%% GB/T 7714-2015 BibTeX Style
+%% https://github.com/CTeX-org/gbt7714-bibtex-style
+%% Version: 2019/03/21 v1.1.1
+%% -------------------------------------------------------------------
+%% Copyright (C) 2016-2019 by Zeping Lee <zepinglee AT gmail.com>
+%% -------------------------------------------------------------------
+%% This file may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3c
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% https://www.latex-project.org/lppl.txt
+%% and version 1.3c or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%% -------------------------------------------------------------------
+INTEGERS {
+ uppercase.name
+ max.num.authors
+ period.between.author.year
+ sentence.case.title
+ link.title
+ show.mark
+ slash.for.extraction
+ in.booktitle
+ italic.jounal
+ bold.journal.volume
+ show.missing.address.publisher
+ show.url
+ show.doi
+ show.note
+ lang.zh.order
+ lang.ja.order
+ lang.en.order
+ lang.ru.order
+ lang.other.order
+}
+
+FUNCTION {load.config}
+{
+ #1 'uppercase.name :=
+ #3 'max.num.authors :=
+ #0 'period.between.author.year :=
+ #1 'sentence.case.title :=
+ #0 'link.title :=
+ #1 'show.mark :=
+ #1 'slash.for.extraction :=
+ #0 'in.booktitle :=
+ #0 'italic.jounal :=
+ #0 'bold.journal.volume :=
+ #1 'show.missing.address.publisher :=
+ #1 'show.url :=
+ #1 'show.doi :=
+ #0 'show.note :=
+ #1 'lang.zh.order :=
+ #2 'lang.ja.order :=
+ #3 'lang.en.order :=
+ #4 'lang.ru.order :=
+ #5 'lang.other.order :=
+}
+
+ENTRY
+ { address
+ author
+ booktitle
+ date
+ doi
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ language
+ mark
+ medium
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ translator
+ url
+ urldate
+ volume
+ year
+ }
+ { entry.lang entry.is.electronic entry.numbered }
+ { label extra.label sort.label short.list entry.mark entry.url }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block after.slash }
+
+INTEGERS { lang.zh lang.ja lang.en lang.ru lang.other }
+
+INTEGERS { charptr len }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #4 'after.slash :=
+ #3 'lang.zh :=
+ #4 'lang.ja :=
+ #1 'lang.en :=
+ #2 'lang.ru :=
+ #0 'lang.other :=
+}
+
+FUNCTION {bbl.anonymous}
+{ entry.lang lang.zh =
+ { "佚å" }
+ { "Anon" }
+ if$
+}
+
+FUNCTION {bbl.space}
+{ entry.lang lang.zh =
+ { "\ " }
+ { " " }
+ if$
+}
+
+FUNCTION {bbl.et.al}
+{ entry.lang lang.zh =
+ { "ç­‰" }
+ { entry.lang lang.ja =
+ { "ä»–" }
+ { entry.lang lang.ru =
+ { "идр" }
+ { "et~al." }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {citation.et.al}
+{ bbl.et.al }
+
+FUNCTION {bbl.colon} { ": " }
+
+FUNCTION {bbl.wide.space} { "\quad " }
+
+FUNCTION {bbl.slash} { "//\allowbreak " }
+
+FUNCTION {bbl.sine.loco}
+{ entry.lang lang.zh =
+ { "[出版地ä¸è¯¦]" }
+ { "[S.l.]" }
+ if$
+}
+
+FUNCTION {bbl.sine.nomine}
+{ entry.lang lang.zh =
+ { "[出版者ä¸è¯¦]" }
+ { "[s.n.]" }
+ if$
+}
+
+FUNCTION {bbl.sine.loco.sine.nomine}
+{ entry.lang lang.zh =
+ { "[出版地ä¸è¯¦: 出版者ä¸è¯¦]" }
+ { "[S.l.: s.n.]" }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { output.state after.slash =
+ { bbl.slash * write$
+ newline$
+ }
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.after}
+{ 't :=
+ duplicate$ empty$
+ 'pop$
+ { 's :=
+ output.state mid.sentence =
+ { t * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { output.state after.slash =
+ { bbl.slash * write$ }
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+ }
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { output.state after.slash =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { output.state after.slash =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {new.slash}
+{ output.state before.all =
+ 'skip$
+ { slash.for.extraction
+ { after.slash 'output.state := }
+ { after.block 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {italicize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textit{" swap$ * "}" * }
+ if$
+}
+
+INTEGERS { byte second.byte }
+
+INTEGERS { char.lang tmp.lang }
+
+STRINGS { tmp.str }
+
+FUNCTION {get.str.lang}
+{ 'tmp.str :=
+ lang.other 'tmp.lang :=
+ #1 'charptr :=
+ tmp.str text.length$ #1 + 'len :=
+ { charptr len < }
+ { tmp.str charptr #1 substring$ chr.to.int$ 'byte :=
+ byte #128 <
+ { charptr #1 + 'charptr :=
+ byte #64 > byte #91 < and byte #96 > byte #123 < and or
+ { lang.en 'char.lang := }
+ { lang.other 'char.lang := }
+ if$
+ }
+ { tmp.str charptr #1 + #1 substring$ chr.to.int$ 'second.byte :=
+ byte #224 <
+ { charptr #2 + 'charptr :=
+ byte #207 > byte #212 < and
+ byte #212 = second.byte #176 < and or
+ { lang.ru 'char.lang := }
+ { lang.other 'char.lang := }
+ if$
+ }
+ { byte #240 <
+ { charptr #3 + 'charptr :=
+ byte #227 > byte #234 < and
+ { lang.zh 'char.lang := }
+ { byte #227 =
+ { second.byte #143 >
+ { lang.zh 'char.lang := }
+ { second.byte #128 > second.byte #132 < and
+ { lang.ja 'char.lang := }
+ { lang.other 'char.lang := }
+ if$
+ }
+ if$
+ }
+ { byte #239 =
+ second.byte #163 > second.byte #172 < and and
+ { lang.zh 'char.lang := }
+ { lang.other 'char.lang := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ { charptr #4 + 'charptr :=
+ byte #240 = second.byte #159 > and
+ { lang.zh 'char.lang := }
+ { lang.other 'char.lang := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ char.lang tmp.lang >
+ { char.lang 'tmp.lang := }
+ 'skip$
+ if$
+ }
+ while$
+ tmp.lang
+}
+
+FUNCTION {check.entry.lang}
+{ author field.or.null
+ title field.or.null *
+ get.str.lang
+}
+
+FUNCTION {set.entry.lang}
+{ language empty$
+ { check.entry.lang }
+ { language "english" = language "american" = or language "british" = or
+ { lang.en }
+ { language "chinese" =
+ { lang.zh }
+ { language "japanese" =
+ { lang.ja }
+ { language "russian" =
+ { lang.ru }
+ { check.entry.lang }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ 'entry.lang :=
+}
+
+FUNCTION {set.entry.numbered}
+{ type$ "patent" =
+ type$ "standard" = or
+ type$ "techreport" = or
+ { #1 'entry.numbered := }
+ { #0 'entry.numbered := }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames name.lang }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, ff}" format.name$ 't :=
+ nameptr max.num.authors >
+ { bbl.et.al
+ #1 'namesleft :=
+ }
+ { t "others" =
+ { bbl.et.al }
+ { t get.str.lang 'name.lang :=
+ name.lang lang.en =
+ { t #1 "{vv~}{ll}{~f{~}}" format.name$
+ uppercase.name
+ { "u" change.case$ }
+ 'skip$
+ if$
+ t #1 "{, jj}" format.name$ *
+ }
+ { t #1 "{ll}{ff}" format.name$ }
+ if$
+ }
+ if$
+ }
+ if$
+ nameptr #1 >
+ { ", " swap$ * * }
+ 'skip$
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author empty$ not
+ { author format.names }
+ { "empty author in " cite$ * warning$
+ bbl.anonymous
+ }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names }
+ if$
+}
+
+FUNCTION {format.translators}
+{ translator empty$
+ { "" }
+ { translator format.names
+ entry.lang lang.zh =
+ { translator num.names$ #3 >
+ { "译" * }
+ { ", 译" * }
+ if$
+ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.full.names}
+{'s :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, ff}" format.name$ 't :=
+ t get.str.lang 'name.lang :=
+ name.lang lang.en =
+ { t #1 "{vv~}{ll}" format.name$ 't := }
+ { t #1 "{ll}{ff}" format.name$ 't := }
+ if$
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.full}
+{ author empty$
+ { editor empty$
+ { "" }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.full}
+{ author empty$
+ { "" }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.full}
+{ editor empty$
+ { "" }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.full
+ { type$ "collection" =
+ type$ "proceedings" =
+ or
+ 'editor.full
+ 'author.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ 's :=
+ s text.length$ 'charptr :=
+ { charptr #0 > }
+ { s charptr #1 substring$ "]" =
+ { #0 'charptr := }
+ { charptr #1 - 'charptr := }
+ if$
+ }
+ while$
+ charptr #0 >
+ { "{" s * "}" * }
+ { s }
+ if$
+ "]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {change.sentence.case}
+{ entry.lang lang.en =
+ { "t" change.case$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {add.link}
+{ url empty$ not
+ { "\href{" url * "}{" * swap$ * "}" * }
+ { doi empty$ not
+ { "\href{http://dx.doi.org/" doi * "}{" * swap$ * "}" * }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title
+ sentence.case.title
+ 'change.sentence.case
+ 'skip$
+ if$
+ entry.numbered number empty$ not and
+ { bbl.colon * number * }
+ 'skip$
+ if$
+ link.title
+ 'add.link
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {is.digit}
+{ duplicate$ empty$
+ { pop$ #0 }
+ { chr.to.int$
+ duplicate$ "0" chr.to.int$ <
+ { pop$ #0 }
+ { "9" chr.to.int$ >
+ { #0 }
+ { #1 }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {is.number}
+{ 's :=
+ s empty$
+ { #0 }
+ { s text.length$ 'charptr :=
+ { charptr #0 >
+ s charptr #1 substring$ is.digit
+ and
+ }
+ { charptr #1 - 'charptr := }
+ while$
+ charptr not
+ }
+ if$
+}
+
+FUNCTION {format.volume}
+{ volume empty$ not
+ { volume is.number
+ { entry.lang lang.zh =
+ { "第 " volume * " å·" * }
+ { "volume" volume tie.or.space.connect }
+ if$
+ }
+ { volume }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.number}
+{ number empty$ not
+ { number is.number
+ { entry.lang lang.zh =
+ { "第 " number * " 册" * }
+ { "number" number tie.or.space.connect }
+ if$
+ }
+ { number }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.volume.number}
+{ volume empty$ not
+ { format.volume }
+ { format.number }
+ if$
+}
+
+FUNCTION {format.title.vol.num}
+{ title
+ sentence.case.title
+ 'change.sentence.case
+ 'skip$
+ if$
+ entry.numbered
+ { number empty$ not
+ { bbl.colon * number * }
+ 'skip$
+ if$
+ }
+ { format.volume.number 's :=
+ s empty$ not
+ { bbl.colon * s * }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.series.vol.num.title}
+{ format.volume.number 's :=
+ series empty$ not
+ { series
+ sentence.case.title
+ 'change.sentence.case
+ 'skip$
+ if$
+ entry.numbered
+ { bbl.wide.space * }
+ { bbl.colon *
+ s empty$ not
+ { s * bbl.wide.space * }
+ 'skip$
+ if$
+ }
+ if$
+ title *
+ sentence.case.title
+ 'change.sentence.case
+ 'skip$
+ if$
+ entry.numbered number empty$ not and
+ { bbl.colon * number * }
+ 'skip$
+ if$
+ }
+ { format.title.vol.num }
+ if$
+ link.title
+ 'add.link
+ 'skip$
+ if$
+}
+
+FUNCTION {format.booktitle.vol.num}
+{ booktitle
+ entry.numbered
+ 'skip$
+ { format.volume.number 's :=
+ s empty$ not
+ { bbl.colon * s * }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.series.vol.num.booktitle}
+{ format.volume.number 's :=
+ series empty$ not
+ { series bbl.colon *
+ entry.numbered not s empty$ not and
+ { s * bbl.wide.space * }
+ 'skip$
+ if$
+ booktitle *
+ }
+ { format.booktitle.vol.num }
+ if$
+ in.booktitle
+ { duplicate$ empty$ not entry.lang lang.en = and
+ { "In: " swap$ * }
+ 'skip$
+ if$
+ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.journal}
+{ journal
+ italic.jounal entry.lang lang.en = and
+ 'italicize
+ 'skip$
+ if$
+}
+
+FUNCTION {set.entry.mark}
+{ entry.mark empty$ not
+ 'pop$
+ { mark empty$ not
+ { pop$ mark 'entry.mark := }
+ { 'entry.mark := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.mark}
+{ show.mark
+ { medium empty$ not
+ { entry.mark "/" * medium * 'entry.mark := }
+ { entry.is.electronic
+ { entry.mark "/OL" * 'entry.mark := }
+ 'skip$
+ if$
+ }
+ if$
+ "\allowbreak[" entry.mark * "]" *
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {num.to.ordinal}
+{ duplicate$ text.length$ 'charptr :=
+ duplicate$ charptr #1 substring$ 's :=
+ s "1" =
+ { "st" * }
+ { s "2" =
+ { "nd" * }
+ { s "3" =
+ { "rd" * }
+ { "th" * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { edition is.number
+ { entry.lang lang.zh =
+ { edition " 版" * }
+ { edition num.to.ordinal " ed." * }
+ if$
+ }
+ { entry.lang lang.en =
+ { edition change.sentence.case 's :=
+ s "Revised" = s "Revised edition" = or
+ { "Rev. ed." }
+ { s " ed." *}
+ if$
+ }
+ { edition }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.publisher}
+{ publisher empty$ not
+ { publisher }
+ { school empty$ not
+ { school }
+ { organization empty$ not
+ { organization }
+ { institution empty$ not
+ { institution }
+ { "" }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.address.publisher}
+{ address empty$ not
+ { address
+ format.publisher empty$ not
+ { bbl.colon * format.publisher * }
+ { entry.is.electronic not show.missing.address.publisher and
+ { bbl.colon * bbl.sine.nomine * }
+ 'skip$
+ if$
+ }
+ if$
+ }
+ { entry.is.electronic not show.missing.address.publisher and
+ { format.publisher empty$ not
+ { bbl.sine.loco bbl.colon * format.publisher * }
+ { bbl.sine.loco.sine.nomine }
+ if$
+ }
+ { format.publisher empty$ not
+ { format.publisher }
+ { "" }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {extract.before.dash}
+{ duplicate$ empty$
+ { pop$ "" }
+ { 's :=
+ #1 'charptr :=
+ s text.length$ #1 + 'len :=
+ { charptr len <
+ s charptr #1 substring$ "-" = not
+ and
+ }
+ { charptr #1 + 'charptr := }
+ while$
+ s #1 charptr #1 - substring$
+ }
+ if$
+}
+
+FUNCTION {extract.after.dash}
+{ duplicate$ empty$
+ { pop$ "" }
+ { 's :=
+ #1 'charptr :=
+ s text.length$ #1 + 'len :=
+ { charptr len <
+ s charptr #1 substring$ "-" = not
+ and
+ }
+ { charptr #1 + 'charptr := }
+ while$
+ { charptr len <
+ s charptr #1 substring$ "-" =
+ and
+ }
+ { charptr #1 + 'charptr := }
+ while$
+ s charptr global.max$ substring$
+ }
+ if$
+}
+
+FUNCTION {contains.dash}
+{ duplicate$ empty$
+ { pop$ #0 }
+ { 's :=
+ { s empty$ not
+ s #1 #1 substring$ "-" = not
+ and
+ }
+ { s #2 global.max$ substring$ 's := }
+ while$
+ s empty$ not
+ }
+ if$
+}
+
+FUNCTION {format.year}
+{ year empty$ not
+ { year extract.before.dash }
+ { date empty$ not
+ { date extract.before.dash }
+ { "empty year in " cite$ * warning$
+ urldate empty$ not
+ { "[" urldate extract.before.dash * "]" * }
+ { "" }
+ if$
+ }
+ if$
+ }
+ if$
+ extra.label *
+}
+
+FUNCTION {format.date}
+{ type$ "patent" = type$ "newspaper" = or
+ date empty$ not and
+ { date }
+ { year }
+ if$
+}
+
+FUNCTION {format.editdate}
+{ date empty$ not
+ { "\allowbreak(" date * ")" * }
+ { "" }
+ if$
+}
+
+FUNCTION {format.urldate}
+{ urldate empty$ not entry.is.electronic and
+ { "\allowbreak[" urldate * "]" * }
+ { "" }
+ if$
+}
+
+FUNCTION {hyphenate}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { "-" *
+ { t #1 #1 substring$ "-" = }
+ { t #2 global.max$ substring$ 't := }
+ while$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages hyphenate }
+ if$
+}
+
+FUNCTION {format.journal.volume}
+{ volume empty$ not
+ { bold.journal.volume
+ { "\textbf{" volume * "}" * }
+ { volume }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.journal.number}
+{ number empty$ not
+ { "\penalty0 (" number * ")" * }
+ { "" }
+ if$
+}
+
+FUNCTION {format.journal.pages}
+{ pages empty$
+ { "" }
+ { ":\penalty0 " pages hyphenate * }
+ if$
+}
+
+FUNCTION {format.periodical.year.volume.number}
+{ year empty$ not
+ { year extract.before.dash }
+ { "empty year in periodical " cite$ * warning$ }
+ if$
+ volume empty$ not
+ { ", " * volume extract.before.dash * }
+ 'skip$
+ if$
+ number empty$ not
+ { "\penalty0 (" * number extract.before.dash * ")" * }
+ 'skip$
+ if$
+ year contains.dash
+ { "--" *
+ year extract.after.dash empty$
+ volume extract.after.dash empty$ and
+ number extract.after.dash empty$ and not
+ { year extract.after.dash empty$ not
+ { year extract.after.dash * }
+ { year extract.before.dash * }
+ if$
+ volume empty$ not
+ { ", " * volume extract.after.dash * }
+ 'skip$
+ if$
+ number empty$ not
+ { "\penalty0 (" * number extract.after.dash * ")" * }
+ 'skip$
+ if$
+ }
+ 'skip$
+ if$
+ }
+ 'skip$
+ if$
+}
+
+FUNCTION {check.url}
+{ url empty$ not
+ { "\url{" url * "}" * 'entry.url :=
+ #1 'entry.is.electronic :=
+ }
+ { howpublished empty$ not
+ { howpublished #1 #5 substring$ "\url{" =
+ { howpublished 'entry.url :=
+ #1 'entry.is.electronic :=
+ }
+ 'skip$
+ if$
+ }
+ { note empty$ not
+ { note #1 #5 substring$ "\url{" =
+ { note 'entry.url :=
+ #1 'entry.is.electronic :=
+ }
+ 'skip$
+ if$
+ }
+ 'skip$
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.url}
+{ entry.url empty$ not
+ { new.block entry.url }
+ { "" }
+ if$
+}
+
+FUNCTION {check.doi}
+{ doi empty$ not
+ { #1 'entry.is.electronic := }
+ 'skip$
+ if$
+}
+
+FUNCTION {is.in.url}
+{ 's :=
+ s empty$
+ { #1 }
+ { entry.url empty$
+ { #0 }
+ { s text.length$ 'len :=
+ entry.url text.length$ 'charptr :=
+ { entry.url charptr len substring$ s = not
+ charptr #0 >
+ and
+ }
+ { charptr #1 - 'charptr := }
+ while$
+ charptr
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.doi}
+{ ""
+ doi empty$ not show.doi and
+ { "" 's :=
+ doi 't :=
+ #0 'numnames :=
+ { t empty$ not}
+ { t #1 #1 substring$ 'tmp.str :=
+ tmp.str "," = tmp.str " " = or t #2 #1 substring$ empty$ or
+ { t #2 #1 substring$ empty$
+ { s tmp.str * 's := }
+ 'skip$
+ if$
+ s empty$ s is.in.url or
+ 'skip$
+ { numnames #1 + 'numnames :=
+ numnames #1 >
+ { ", " * }
+ { "DOI: " * }
+ if$
+ "\doi{" s * "}" * *
+ }
+ if$
+ "" 's :=
+ }
+ { s tmp.str * 's := }
+ if$
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ 's :=
+ s empty$ not
+ { new.block s }
+ { "" }
+ if$
+ }
+ 'skip$
+ if$
+}
+
+FUNCTION {check.electronic}
+{ "" 'entry.url :=
+ #0 'entry.is.electronic :=
+ 'check.doi
+ 'skip$
+ if$
+ 'check.url
+ 'skip$
+ if$
+ medium empty$ not
+ { medium "MT" = medium "DK" = or medium "CD" = or medium "OL" = or
+ { #1 'entry.is.electronic := }
+ 'skip$
+ if$
+ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.note}
+{ note empty$ not show.note and
+ { note }
+ { "" }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$
+ year empty$
+ and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {monograph}
+{ output.bibitem
+ author empty$ not
+ { format.authors }
+ { editor empty$ not
+ { format.editors }
+ { "empty author and editor in " cite$ * warning$
+ bbl.anonymous
+ }
+ if$
+ }
+ if$
+ output
+ period.between.author.year
+ 'new.sentence
+ 'skip$
+ if$
+ format.year "year" output.check
+ new.block
+ format.series.vol.num.title "title" output.check
+ "M" set.entry.mark
+ format.mark "" output.after
+ new.block
+ format.translators output
+ new.sentence
+ format.edition output
+ new.block
+ format.address.publisher output
+ format.pages bbl.colon output.after
+ format.urldate "" output.after
+ format.url output
+ format.doi output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ period.between.author.year
+ 'new.sentence
+ 'skip$
+ if$
+ format.year "year" output.check
+ new.block
+ format.title "title" output.check
+ "M" set.entry.mark
+ format.mark "" output.after
+ new.block
+ format.translators output
+ new.slash
+ format.editors output
+ new.block
+ format.series.vol.num.booktitle "booktitle" output.check
+ new.block
+ format.edition output
+ new.block
+ format.address.publisher output
+ format.pages bbl.colon output.after
+ format.urldate "" output.after
+ format.url output
+ format.doi output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {periodical}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ period.between.author.year
+ 'new.sentence
+ 'skip$
+ if$
+ format.year "year" output.check
+ new.block
+ format.title "title" output.check
+ "J" set.entry.mark
+ format.mark "" output.after
+ new.block
+ format.periodical.year.volume.number output
+ new.block
+ format.address.publisher output
+ format.urldate "" output.after
+ format.url output
+ format.doi output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ period.between.author.year
+ 'new.sentence
+ 'skip$
+ if$
+ format.year "year" output.check
+ new.block
+ format.title "title" output.check
+ "J" set.entry.mark
+ format.mark "" output.after
+ new.block
+ format.journal "journal" output.check
+ format.journal.volume output
+ format.journal.number "" output.after
+ format.journal.pages "" output.after
+ format.urldate "" output.after
+ format.url output
+ format.doi output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {patent}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ period.between.author.year
+ 'new.sentence
+ 'skip$
+ if$
+ format.year "year" output.check
+ new.block
+ format.title "title" output.check
+ "P" set.entry.mark
+ format.mark "" output.after
+ new.block
+ format.date "year" output.check
+ format.urldate "" output.after
+ format.url output
+ format.doi output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {electronic}
+{ #1 #1 check.electronic
+ #1 'entry.is.electronic :=
+ output.bibitem
+ format.authors output
+ author format.key output
+ period.between.author.year
+ 'new.sentence
+ 'skip$
+ if$
+ format.year "year" output.check
+ new.block
+ format.series.vol.num.title "title" output.check
+ "EB" set.entry.mark
+ format.mark "" output.after
+ new.block
+ format.address.publisher output
+ format.pages bbl.colon output.after
+ format.editdate "" output.after
+ format.urldate "" output.after
+ format.url output
+ format.doi output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ journal empty$ not
+ 'article
+ { booktitle empty$ not
+ 'incollection
+ { publisher empty$ not
+ 'monograph
+ { entry.is.electronic
+ 'electronic
+ { "Z" set.entry.mark
+ monograph
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ empty.misc.check
+}
+
+FUNCTION {archive}
+{ "A" set.entry.mark
+ misc
+}
+
+FUNCTION {book} { monograph }
+
+FUNCTION {booklet} { book }
+
+FUNCTION {collection}
+{ "G" set.entry.mark
+ monograph
+}
+
+FUNCTION {database}
+{ "DB" set.entry.mark
+ electronic
+}
+
+FUNCTION {dataset}
+{ "DS" set.entry.mark
+ electronic
+}
+
+FUNCTION {inbook} { book }
+
+FUNCTION {inproceedings}
+{ "C" set.entry.mark
+ incollection
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {map}
+{ "CM" set.entry.mark
+ misc
+}
+
+FUNCTION {manual} { monograph }
+
+FUNCTION {mastersthesis}
+{ "D" set.entry.mark
+ monograph
+}
+
+FUNCTION {newspaper}
+{ "N" set.entry.mark
+ article
+}
+
+FUNCTION {online}
+{ "EB" set.entry.mark
+ electronic
+}
+
+FUNCTION {phdthesis} { mastersthesis }
+
+FUNCTION {proceedings}
+{ "C" set.entry.mark
+ monograph
+}
+
+FUNCTION {software}
+{ "CP" set.entry.mark
+ electronic
+}
+
+FUNCTION {standard}
+{ "S" set.entry.mark
+ misc
+}
+
+FUNCTION {techreport}
+{ "R" set.entry.mark
+ misc
+}
+
+FUNCTION {unpublished}
+{ "Z" set.entry.mark
+ misc
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}{, jj}{, ff}" format.name$ 't :=
+ t get.str.lang 'name.lang :=
+ name.lang lang.en =
+ { t #1 "{vv~}{ll}" format.name$}
+ { t #1 "{ll}{ff}" format.name$}
+ if$
+ s num.names$ #1 >
+ { bbl.space * citation.et.al * }
+ 'skip$
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "collection" =
+ type$ "proceedings" =
+ or
+ { editor empty$ not
+ 'editor.key.organization.label
+ 'author.key.organization.label
+ if$
+ }
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ format.year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.language.label}
+{ entry.lang lang.zh =
+ { lang.zh.order }
+ { entry.lang lang.ja =
+ { lang.ja.order }
+ { entry.lang lang.en =
+ { lang.en.order }
+ { entry.lang lang.ru =
+ { lang.ru.order }
+ { lang.other.order }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ int.to.chr$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" * }
+ { numnames #2 > nameptr #2 = and
+ { "zz" * year field.or.null * " " * }
+ 'skip$
+ if$
+ t sortify *
+ }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {anonymous.sort}
+{ entry.lang lang.zh =
+ { "yi4 ming2" }
+ { "anon" }
+ if$
+}
+
+FUNCTION {warn.empty.key}
+{ entry.lang lang.zh =
+ { "empty key in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {author.sort}
+{ key empty$
+ { warn.empty.key
+ author empty$
+ { anonymous.sort }
+ { author sort.format.names }
+ if$
+ }
+ { key sortify }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ key empty$
+ { warn.empty.key
+ author empty$
+ { editor empty$
+ { anonymous.sort }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+ }
+ { key sortify }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ key empty$
+ { warn.empty.key
+ author empty$
+ { organization empty$
+ { anonymous.sort }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+ }
+ { key sortify }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ key empty$
+ { warn.empty.key
+ editor empty$
+ { organization empty$
+ { anonymous.sort }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { key sortify }
+ if$
+}
+
+FUNCTION {presort}
+{ set.entry.lang
+ set.entry.numbered
+ show.url show.doi check.electronic
+ calc.label
+ label sortify
+ " "
+ *
+ sort.language.label
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "collection" =
+ type$ "proceedings" =
+ or
+ 'editor.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ cite$
+ *
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+STRINGS { longest.label last.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num number.label }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+
+FUNCTION {bib.sort.order}
+{ sort.label 'sort.key$ :=
+}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\providecommand{\natexlab}[1]{#1}"
+ write$ newline$
+ "\providecommand{\url}[1]{#1}"
+ write$ newline$
+ "\expandafter\ifx\csname urlstyle\endcsname\relax\relax\else"
+ write$ newline$
+ " \urlstyle{same}\fi"
+ write$ newline$
+ show.doi
+ { "\providecommand{\href}[2]{\url{#2}}"
+ write$ newline$
+ "\providecommand{\doi}[1]{\href{https://doi.org/#1}{#1}}"
+ write$ newline$
+ }
+ 'skip$
+ if$
+}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+READ
+
+EXECUTE {init.state.consts}
+
+EXECUTE {load.config}
+
+ITERATE {presort}
+
+SORT
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+ITERATE {bib.sort.order}
+
+SORT
+
+EXECUTE {begin.bib}
+
+ITERATE {call.type$}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/gbt7714/gbt7714-unsrt.bst b/biblio/bibtex/contrib/gbt7714/gbt7714-unsrt.bst
new file mode 100644
index 0000000000..802e5e66e4
--- /dev/null
+++ b/biblio/bibtex/contrib/gbt7714/gbt7714-unsrt.bst
@@ -0,0 +1,1866 @@
+%%
+%% This is file `gbt7714-unsrt.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% gbt7714.dtx (with options: `2015,numerical')
+%% -------------------------------------------------------------------
+%% GB/T 7714-2015 BibTeX Style
+%% https://github.com/CTeX-org/gbt7714-bibtex-style
+%% Version: 2019/03/21 v1.1.1
+%% -------------------------------------------------------------------
+%% Copyright (C) 2016-2019 by Zeping Lee <zepinglee AT gmail.com>
+%% -------------------------------------------------------------------
+%% This file may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3c
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% https://www.latex-project.org/lppl.txt
+%% and version 1.3c or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%% -------------------------------------------------------------------
+INTEGERS {
+ uppercase.name
+ max.num.authors
+ period.between.author.year
+ sentence.case.title
+ link.title
+ show.mark
+ slash.for.extraction
+ in.booktitle
+ italic.jounal
+ bold.journal.volume
+ show.missing.address.publisher
+ show.url
+ show.doi
+ show.note
+}
+
+FUNCTION {load.config}
+{
+ #1 'uppercase.name :=
+ #3 'max.num.authors :=
+ #1 'sentence.case.title :=
+ #0 'link.title :=
+ #1 'show.mark :=
+ #1 'slash.for.extraction :=
+ #0 'in.booktitle :=
+ #0 'italic.jounal :=
+ #0 'bold.journal.volume :=
+ #1 'show.missing.address.publisher :=
+ #1 'show.url :=
+ #1 'show.doi :=
+ #0 'show.note :=
+}
+
+ENTRY
+ { address
+ author
+ booktitle
+ date
+ doi
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ language
+ mark
+ medium
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ translator
+ url
+ urldate
+ volume
+ year
+ }
+ { entry.lang entry.is.electronic entry.numbered }
+ { label extra.label sort.label short.list entry.mark entry.url }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block after.slash }
+
+INTEGERS { lang.zh lang.ja lang.en lang.ru lang.other }
+
+INTEGERS { charptr len }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #4 'after.slash :=
+ #3 'lang.zh :=
+ #4 'lang.ja :=
+ #1 'lang.en :=
+ #2 'lang.ru :=
+ #0 'lang.other :=
+}
+
+FUNCTION {bbl.anonymous}
+{ entry.lang lang.zh =
+ { "佚å" }
+ { "Anon" }
+ if$
+}
+
+FUNCTION {bbl.space}
+{ entry.lang lang.zh =
+ { "\ " }
+ { " " }
+ if$
+}
+
+FUNCTION {bbl.et.al}
+{ entry.lang lang.zh =
+ { "ç­‰" }
+ { entry.lang lang.ja =
+ { "ä»–" }
+ { entry.lang lang.ru =
+ { "идр" }
+ { "et~al." }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {citation.et.al}
+{ bbl.et.al }
+
+FUNCTION {bbl.colon} { ": " }
+
+FUNCTION {bbl.wide.space} { "\quad " }
+
+FUNCTION {bbl.slash} { "//\allowbreak " }
+
+FUNCTION {bbl.sine.loco}
+{ entry.lang lang.zh =
+ { "[出版地ä¸è¯¦]" }
+ { "[S.l.]" }
+ if$
+}
+
+FUNCTION {bbl.sine.nomine}
+{ entry.lang lang.zh =
+ { "[出版者ä¸è¯¦]" }
+ { "[s.n.]" }
+ if$
+}
+
+FUNCTION {bbl.sine.loco.sine.nomine}
+{ entry.lang lang.zh =
+ { "[出版地ä¸è¯¦: 出版者ä¸è¯¦]" }
+ { "[S.l.: s.n.]" }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { output.state after.slash =
+ { bbl.slash * write$
+ newline$
+ }
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.after}
+{ 't :=
+ duplicate$ empty$
+ 'pop$
+ { 's :=
+ output.state mid.sentence =
+ { t * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { output.state after.slash =
+ { bbl.slash * write$ }
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+ }
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { output.state after.slash =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { output.state after.slash =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {new.slash}
+{ output.state before.all =
+ 'skip$
+ { slash.for.extraction
+ { after.slash 'output.state := }
+ { after.block 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {italicize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textit{" swap$ * "}" * }
+ if$
+}
+
+INTEGERS { byte second.byte }
+
+INTEGERS { char.lang tmp.lang }
+
+STRINGS { tmp.str }
+
+FUNCTION {get.str.lang}
+{ 'tmp.str :=
+ lang.other 'tmp.lang :=
+ #1 'charptr :=
+ tmp.str text.length$ #1 + 'len :=
+ { charptr len < }
+ { tmp.str charptr #1 substring$ chr.to.int$ 'byte :=
+ byte #128 <
+ { charptr #1 + 'charptr :=
+ byte #64 > byte #91 < and byte #96 > byte #123 < and or
+ { lang.en 'char.lang := }
+ { lang.other 'char.lang := }
+ if$
+ }
+ { tmp.str charptr #1 + #1 substring$ chr.to.int$ 'second.byte :=
+ byte #224 <
+ { charptr #2 + 'charptr :=
+ byte #207 > byte #212 < and
+ byte #212 = second.byte #176 < and or
+ { lang.ru 'char.lang := }
+ { lang.other 'char.lang := }
+ if$
+ }
+ { byte #240 <
+ { charptr #3 + 'charptr :=
+ byte #227 > byte #234 < and
+ { lang.zh 'char.lang := }
+ { byte #227 =
+ { second.byte #143 >
+ { lang.zh 'char.lang := }
+ { second.byte #128 > second.byte #132 < and
+ { lang.ja 'char.lang := }
+ { lang.other 'char.lang := }
+ if$
+ }
+ if$
+ }
+ { byte #239 =
+ second.byte #163 > second.byte #172 < and and
+ { lang.zh 'char.lang := }
+ { lang.other 'char.lang := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ { charptr #4 + 'charptr :=
+ byte #240 = second.byte #159 > and
+ { lang.zh 'char.lang := }
+ { lang.other 'char.lang := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ char.lang tmp.lang >
+ { char.lang 'tmp.lang := }
+ 'skip$
+ if$
+ }
+ while$
+ tmp.lang
+}
+
+FUNCTION {check.entry.lang}
+{ author field.or.null
+ title field.or.null *
+ get.str.lang
+}
+
+FUNCTION {set.entry.lang}
+{ language empty$
+ { check.entry.lang }
+ { language "english" = language "american" = or language "british" = or
+ { lang.en }
+ { language "chinese" =
+ { lang.zh }
+ { language "japanese" =
+ { lang.ja }
+ { language "russian" =
+ { lang.ru }
+ { check.entry.lang }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ 'entry.lang :=
+}
+
+FUNCTION {set.entry.numbered}
+{ type$ "patent" =
+ type$ "standard" = or
+ type$ "techreport" = or
+ { #1 'entry.numbered := }
+ { #0 'entry.numbered := }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames name.lang }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, ff}" format.name$ 't :=
+ nameptr max.num.authors >
+ { bbl.et.al
+ #1 'namesleft :=
+ }
+ { t "others" =
+ { bbl.et.al }
+ { t get.str.lang 'name.lang :=
+ name.lang lang.en =
+ { t #1 "{vv~}{ll}{~f{~}}" format.name$
+ uppercase.name
+ { "u" change.case$ }
+ 'skip$
+ if$
+ t #1 "{, jj}" format.name$ *
+ }
+ { t #1 "{ll}{ff}" format.name$ }
+ if$
+ }
+ if$
+ }
+ if$
+ nameptr #1 >
+ { ", " swap$ * * }
+ 'skip$
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author empty$ not
+ { author format.names }
+ { "empty author in " cite$ * warning$
+ ""
+ }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names }
+ if$
+}
+
+FUNCTION {format.translators}
+{ translator empty$
+ { "" }
+ { translator format.names
+ entry.lang lang.zh =
+ { translator num.names$ #3 >
+ { "译" * }
+ { ", 译" * }
+ if$
+ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.full.names}
+{'s :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, ff}" format.name$ 't :=
+ t get.str.lang 'name.lang :=
+ name.lang lang.en =
+ { t #1 "{vv~}{ll}" format.name$ 't := }
+ { t #1 "{ll}{ff}" format.name$ 't := }
+ if$
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.full}
+{ author empty$
+ { editor empty$
+ { "" }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.full}
+{ author empty$
+ { "" }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.full}
+{ editor empty$
+ { "" }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.full
+ { type$ "collection" =
+ type$ "proceedings" =
+ or
+ 'editor.full
+ 'author.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ 's :=
+ s text.length$ 'charptr :=
+ { charptr #0 > }
+ { s charptr #1 substring$ "]" =
+ { #0 'charptr := }
+ { charptr #1 - 'charptr := }
+ if$
+ }
+ while$
+ charptr #0 >
+ { "{" s * "}" * }
+ { s }
+ if$
+ "]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {change.sentence.case}
+{ entry.lang lang.en =
+ { "t" change.case$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {add.link}
+{ url empty$ not
+ { "\href{" url * "}{" * swap$ * "}" * }
+ { doi empty$ not
+ { "\href{http://dx.doi.org/" doi * "}{" * swap$ * "}" * }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title
+ sentence.case.title
+ 'change.sentence.case
+ 'skip$
+ if$
+ entry.numbered number empty$ not and
+ { bbl.colon * number * }
+ 'skip$
+ if$
+ link.title
+ 'add.link
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {is.digit}
+{ duplicate$ empty$
+ { pop$ #0 }
+ { chr.to.int$
+ duplicate$ "0" chr.to.int$ <
+ { pop$ #0 }
+ { "9" chr.to.int$ >
+ { #0 }
+ { #1 }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {is.number}
+{ 's :=
+ s empty$
+ { #0 }
+ { s text.length$ 'charptr :=
+ { charptr #0 >
+ s charptr #1 substring$ is.digit
+ and
+ }
+ { charptr #1 - 'charptr := }
+ while$
+ charptr not
+ }
+ if$
+}
+
+FUNCTION {format.volume}
+{ volume empty$ not
+ { volume is.number
+ { entry.lang lang.zh =
+ { "第 " volume * " å·" * }
+ { "volume" volume tie.or.space.connect }
+ if$
+ }
+ { volume }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.number}
+{ number empty$ not
+ { number is.number
+ { entry.lang lang.zh =
+ { "第 " number * " 册" * }
+ { "number" number tie.or.space.connect }
+ if$
+ }
+ { number }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.volume.number}
+{ volume empty$ not
+ { format.volume }
+ { format.number }
+ if$
+}
+
+FUNCTION {format.title.vol.num}
+{ title
+ sentence.case.title
+ 'change.sentence.case
+ 'skip$
+ if$
+ entry.numbered
+ { number empty$ not
+ { bbl.colon * number * }
+ 'skip$
+ if$
+ }
+ { format.volume.number 's :=
+ s empty$ not
+ { bbl.colon * s * }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.series.vol.num.title}
+{ format.volume.number 's :=
+ series empty$ not
+ { series
+ sentence.case.title
+ 'change.sentence.case
+ 'skip$
+ if$
+ entry.numbered
+ { bbl.wide.space * }
+ { bbl.colon *
+ s empty$ not
+ { s * bbl.wide.space * }
+ 'skip$
+ if$
+ }
+ if$
+ title *
+ sentence.case.title
+ 'change.sentence.case
+ 'skip$
+ if$
+ entry.numbered number empty$ not and
+ { bbl.colon * number * }
+ 'skip$
+ if$
+ }
+ { format.title.vol.num }
+ if$
+ link.title
+ 'add.link
+ 'skip$
+ if$
+}
+
+FUNCTION {format.booktitle.vol.num}
+{ booktitle
+ entry.numbered
+ 'skip$
+ { format.volume.number 's :=
+ s empty$ not
+ { bbl.colon * s * }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.series.vol.num.booktitle}
+{ format.volume.number 's :=
+ series empty$ not
+ { series bbl.colon *
+ entry.numbered not s empty$ not and
+ { s * bbl.wide.space * }
+ 'skip$
+ if$
+ booktitle *
+ }
+ { format.booktitle.vol.num }
+ if$
+ in.booktitle
+ { duplicate$ empty$ not entry.lang lang.en = and
+ { "In: " swap$ * }
+ 'skip$
+ if$
+ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.journal}
+{ journal
+ italic.jounal entry.lang lang.en = and
+ 'italicize
+ 'skip$
+ if$
+}
+
+FUNCTION {set.entry.mark}
+{ entry.mark empty$ not
+ 'pop$
+ { mark empty$ not
+ { pop$ mark 'entry.mark := }
+ { 'entry.mark := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.mark}
+{ show.mark
+ { medium empty$ not
+ { entry.mark "/" * medium * 'entry.mark := }
+ { entry.is.electronic
+ { entry.mark "/OL" * 'entry.mark := }
+ 'skip$
+ if$
+ }
+ if$
+ "\allowbreak[" entry.mark * "]" *
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {num.to.ordinal}
+{ duplicate$ text.length$ 'charptr :=
+ duplicate$ charptr #1 substring$ 's :=
+ s "1" =
+ { "st" * }
+ { s "2" =
+ { "nd" * }
+ { s "3" =
+ { "rd" * }
+ { "th" * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { edition is.number
+ { entry.lang lang.zh =
+ { edition " 版" * }
+ { edition num.to.ordinal " ed." * }
+ if$
+ }
+ { entry.lang lang.en =
+ { edition change.sentence.case 's :=
+ s "Revised" = s "Revised edition" = or
+ { "Rev. ed." }
+ { s " ed." *}
+ if$
+ }
+ { edition }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.publisher}
+{ publisher empty$ not
+ { publisher }
+ { school empty$ not
+ { school }
+ { organization empty$ not
+ { organization }
+ { institution empty$ not
+ { institution }
+ { "" }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.address.publisher}
+{ address empty$ not
+ { address
+ format.publisher empty$ not
+ { bbl.colon * format.publisher * }
+ { entry.is.electronic not show.missing.address.publisher and
+ { bbl.colon * bbl.sine.nomine * }
+ 'skip$
+ if$
+ }
+ if$
+ }
+ { entry.is.electronic not show.missing.address.publisher and
+ { format.publisher empty$ not
+ { bbl.sine.loco bbl.colon * format.publisher * }
+ { bbl.sine.loco.sine.nomine }
+ if$
+ }
+ { format.publisher empty$ not
+ { format.publisher }
+ { "" }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {extract.before.dash}
+{ duplicate$ empty$
+ { pop$ "" }
+ { 's :=
+ #1 'charptr :=
+ s text.length$ #1 + 'len :=
+ { charptr len <
+ s charptr #1 substring$ "-" = not
+ and
+ }
+ { charptr #1 + 'charptr := }
+ while$
+ s #1 charptr #1 - substring$
+ }
+ if$
+}
+
+FUNCTION {extract.after.dash}
+{ duplicate$ empty$
+ { pop$ "" }
+ { 's :=
+ #1 'charptr :=
+ s text.length$ #1 + 'len :=
+ { charptr len <
+ s charptr #1 substring$ "-" = not
+ and
+ }
+ { charptr #1 + 'charptr := }
+ while$
+ { charptr len <
+ s charptr #1 substring$ "-" =
+ and
+ }
+ { charptr #1 + 'charptr := }
+ while$
+ s charptr global.max$ substring$
+ }
+ if$
+}
+
+FUNCTION {contains.dash}
+{ duplicate$ empty$
+ { pop$ #0 }
+ { 's :=
+ { s empty$ not
+ s #1 #1 substring$ "-" = not
+ and
+ }
+ { s #2 global.max$ substring$ 's := }
+ while$
+ s empty$ not
+ }
+ if$
+}
+
+FUNCTION {format.year}
+{ year empty$ not
+ { year extract.before.dash }
+ { date empty$ not
+ { date extract.before.dash }
+ { "empty year in " cite$ * warning$
+ urldate empty$ not
+ { "[" urldate extract.before.dash * "]" * }
+ { "" }
+ if$
+ }
+ if$
+ }
+ if$
+ extra.label *
+}
+
+FUNCTION {format.date}
+{ type$ "patent" = type$ "newspaper" = or
+ date empty$ not and
+ { date }
+ { year }
+ if$
+}
+
+FUNCTION {format.editdate}
+{ date empty$ not
+ { "\allowbreak(" date * ")" * }
+ { "" }
+ if$
+}
+
+FUNCTION {format.urldate}
+{ urldate empty$ not entry.is.electronic and
+ { "\allowbreak[" urldate * "]" * }
+ { "" }
+ if$
+}
+
+FUNCTION {hyphenate}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { "-" *
+ { t #1 #1 substring$ "-" = }
+ { t #2 global.max$ substring$ 't := }
+ while$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages hyphenate }
+ if$
+}
+
+FUNCTION {format.journal.volume}
+{ volume empty$ not
+ { bold.journal.volume
+ { "\textbf{" volume * "}" * }
+ { volume }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.journal.number}
+{ number empty$ not
+ { "\penalty0 (" number * ")" * }
+ { "" }
+ if$
+}
+
+FUNCTION {format.journal.pages}
+{ pages empty$
+ { "" }
+ { ":\penalty0 " pages hyphenate * }
+ if$
+}
+
+FUNCTION {format.periodical.year.volume.number}
+{ year empty$ not
+ { year extract.before.dash }
+ { "empty year in periodical " cite$ * warning$ }
+ if$
+ volume empty$ not
+ { ", " * volume extract.before.dash * }
+ 'skip$
+ if$
+ number empty$ not
+ { "\penalty0 (" * number extract.before.dash * ")" * }
+ 'skip$
+ if$
+ year contains.dash
+ { "--" *
+ year extract.after.dash empty$
+ volume extract.after.dash empty$ and
+ number extract.after.dash empty$ and not
+ { year extract.after.dash empty$ not
+ { year extract.after.dash * }
+ { year extract.before.dash * }
+ if$
+ volume empty$ not
+ { ", " * volume extract.after.dash * }
+ 'skip$
+ if$
+ number empty$ not
+ { "\penalty0 (" * number extract.after.dash * ")" * }
+ 'skip$
+ if$
+ }
+ 'skip$
+ if$
+ }
+ 'skip$
+ if$
+}
+
+FUNCTION {check.url}
+{ url empty$ not
+ { "\url{" url * "}" * 'entry.url :=
+ #1 'entry.is.electronic :=
+ }
+ { howpublished empty$ not
+ { howpublished #1 #5 substring$ "\url{" =
+ { howpublished 'entry.url :=
+ #1 'entry.is.electronic :=
+ }
+ 'skip$
+ if$
+ }
+ { note empty$ not
+ { note #1 #5 substring$ "\url{" =
+ { note 'entry.url :=
+ #1 'entry.is.electronic :=
+ }
+ 'skip$
+ if$
+ }
+ 'skip$
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.url}
+{ entry.url empty$ not
+ { new.block entry.url }
+ { "" }
+ if$
+}
+
+FUNCTION {check.doi}
+{ doi empty$ not
+ { #1 'entry.is.electronic := }
+ 'skip$
+ if$
+}
+
+FUNCTION {is.in.url}
+{ 's :=
+ s empty$
+ { #1 }
+ { entry.url empty$
+ { #0 }
+ { s text.length$ 'len :=
+ entry.url text.length$ 'charptr :=
+ { entry.url charptr len substring$ s = not
+ charptr #0 >
+ and
+ }
+ { charptr #1 - 'charptr := }
+ while$
+ charptr
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.doi}
+{ ""
+ doi empty$ not show.doi and
+ { "" 's :=
+ doi 't :=
+ #0 'numnames :=
+ { t empty$ not}
+ { t #1 #1 substring$ 'tmp.str :=
+ tmp.str "," = tmp.str " " = or t #2 #1 substring$ empty$ or
+ { t #2 #1 substring$ empty$
+ { s tmp.str * 's := }
+ 'skip$
+ if$
+ s empty$ s is.in.url or
+ 'skip$
+ { numnames #1 + 'numnames :=
+ numnames #1 >
+ { ", " * }
+ { "DOI: " * }
+ if$
+ "\doi{" s * "}" * *
+ }
+ if$
+ "" 's :=
+ }
+ { s tmp.str * 's := }
+ if$
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ 's :=
+ s empty$ not
+ { new.block s }
+ { "" }
+ if$
+ }
+ 'skip$
+ if$
+}
+
+FUNCTION {check.electronic}
+{ "" 'entry.url :=
+ #0 'entry.is.electronic :=
+ 'check.doi
+ 'skip$
+ if$
+ 'check.url
+ 'skip$
+ if$
+ medium empty$ not
+ { medium "MT" = medium "DK" = or medium "CD" = or medium "OL" = or
+ { #1 'entry.is.electronic := }
+ 'skip$
+ if$
+ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.note}
+{ note empty$ not show.note and
+ { note }
+ { "" }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$
+ year empty$
+ and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {monograph}
+{ output.bibitem
+ author empty$ not
+ { format.authors }
+ { editor empty$ not
+ { format.editors }
+ { "empty author and editor in " cite$ * warning$
+ ""
+ }
+ if$
+ }
+ if$
+ output
+ new.block
+ format.series.vol.num.title "title" output.check
+ "M" set.entry.mark
+ format.mark "" output.after
+ new.block
+ format.translators output
+ new.sentence
+ format.edition output
+ new.block
+ format.address.publisher output
+ format.year "year" output.check
+ format.pages bbl.colon output.after
+ format.urldate "" output.after
+ format.url output
+ format.doi output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ new.block
+ format.title "title" output.check
+ "M" set.entry.mark
+ format.mark "" output.after
+ new.block
+ format.translators output
+ new.slash
+ format.editors output
+ new.block
+ format.series.vol.num.booktitle "booktitle" output.check
+ new.block
+ format.edition output
+ new.block
+ format.address.publisher output
+ format.year "year" output.check
+ format.pages bbl.colon output.after
+ format.urldate "" output.after
+ format.url output
+ format.doi output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {periodical}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ new.block
+ format.title "title" output.check
+ "J" set.entry.mark
+ format.mark "" output.after
+ new.block
+ format.periodical.year.volume.number output
+ new.block
+ format.address.publisher output
+ format.date "year" output.check
+ format.urldate "" output.after
+ format.url output
+ format.doi output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ new.block
+ format.title "title" output.check
+ "J" set.entry.mark
+ format.mark "" output.after
+ new.block
+ format.journal "journal" output.check
+ format.date "year" output.check
+ format.journal.volume output
+ format.journal.number "" output.after
+ format.journal.pages "" output.after
+ format.urldate "" output.after
+ format.url output
+ format.doi output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {patent}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ new.block
+ format.title "title" output.check
+ "P" set.entry.mark
+ format.mark "" output.after
+ new.block
+ format.date "year" output.check
+ format.urldate "" output.after
+ format.url output
+ format.doi output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {electronic}
+{ #1 #1 check.electronic
+ #1 'entry.is.electronic :=
+ output.bibitem
+ format.authors output
+ author format.key output
+ new.block
+ format.series.vol.num.title "title" output.check
+ "EB" set.entry.mark
+ format.mark "" output.after
+ new.block
+ format.address.publisher output
+ date empty$
+ { format.date output }
+ 'skip$
+ if$
+ format.pages bbl.colon output.after
+ format.editdate "" output.after
+ format.urldate "" output.after
+ format.url output
+ format.doi output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ journal empty$ not
+ 'article
+ { booktitle empty$ not
+ 'incollection
+ { publisher empty$ not
+ 'monograph
+ { entry.is.electronic
+ 'electronic
+ { "Z" set.entry.mark
+ monograph
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ empty.misc.check
+}
+
+FUNCTION {archive}
+{ "A" set.entry.mark
+ misc
+}
+
+FUNCTION {book} { monograph }
+
+FUNCTION {booklet} { book }
+
+FUNCTION {collection}
+{ "G" set.entry.mark
+ monograph
+}
+
+FUNCTION {database}
+{ "DB" set.entry.mark
+ electronic
+}
+
+FUNCTION {dataset}
+{ "DS" set.entry.mark
+ electronic
+}
+
+FUNCTION {inbook} { book }
+
+FUNCTION {inproceedings}
+{ "C" set.entry.mark
+ incollection
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {map}
+{ "CM" set.entry.mark
+ misc
+}
+
+FUNCTION {manual} { monograph }
+
+FUNCTION {mastersthesis}
+{ "D" set.entry.mark
+ monograph
+}
+
+FUNCTION {newspaper}
+{ "N" set.entry.mark
+ article
+}
+
+FUNCTION {online}
+{ "EB" set.entry.mark
+ electronic
+}
+
+FUNCTION {phdthesis} { mastersthesis }
+
+FUNCTION {proceedings}
+{ "C" set.entry.mark
+ monograph
+}
+
+FUNCTION {software}
+{ "CP" set.entry.mark
+ electronic
+}
+
+FUNCTION {standard}
+{ "S" set.entry.mark
+ misc
+}
+
+FUNCTION {techreport}
+{ "R" set.entry.mark
+ misc
+}
+
+FUNCTION {unpublished}
+{ "Z" set.entry.mark
+ misc
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}{, jj}{, ff}" format.name$ 't :=
+ t get.str.lang 'name.lang :=
+ name.lang lang.en =
+ { t #1 "{vv~}{ll}" format.name$}
+ { t #1 "{ll}{ff}" format.name$}
+ if$
+ s num.names$ #1 >
+ { bbl.space * citation.et.al * }
+ 'skip$
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "collection" =
+ type$ "proceedings" =
+ or
+ { editor empty$ not
+ 'editor.key.organization.label
+ 'author.key.organization.label
+ if$
+ }
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ format.year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+INTEGERS { seq.num }
+
+FUNCTION {init.seq}
+{ #0 'seq.num :=}
+
+FUNCTION {int.to.fix}
+{ "000000000" swap$ int.to.str$ *
+ #-1 #10 substring$
+}
+
+FUNCTION {presort}
+{ set.entry.lang
+ set.entry.numbered
+ show.url show.doi check.electronic
+ calc.label
+ label sortify
+ " "
+ *
+ seq.num #1 + 'seq.num :=
+ seq.num int.to.fix
+ 'sort.label :=
+ sort.label *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+STRINGS { longest.label last.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num number.label }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+
+FUNCTION {bib.sort.order}
+{ sort.label 'sort.key$ :=
+}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\providecommand{\natexlab}[1]{#1}"
+ write$ newline$
+ "\providecommand{\url}[1]{#1}"
+ write$ newline$
+ "\expandafter\ifx\csname urlstyle\endcsname\relax\relax\else"
+ write$ newline$
+ " \urlstyle{same}\fi"
+ write$ newline$
+ show.doi
+ { "\providecommand{\href}[2]{\url{#2}}"
+ write$ newline$
+ "\providecommand{\doi}[1]{\href{https://doi.org/#1}{#1}}"
+ write$ newline$
+ }
+ 'skip$
+ if$
+}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+READ
+
+EXECUTE {init.state.consts}
+
+EXECUTE {load.config}
+
+EXECUTE {init.seq}
+
+ITERATE {presort}
+
+SORT
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+ITERATE {bib.sort.order}
+
+SORT
+
+EXECUTE {begin.bib}
+
+ITERATE {call.type$}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/gbt7714/gbt7714.dtx b/biblio/bibtex/contrib/gbt7714/gbt7714.dtx
new file mode 100644
index 0000000000..cfadbd888b
--- /dev/null
+++ b/biblio/bibtex/contrib/gbt7714/gbt7714.dtx
@@ -0,0 +1,3884 @@
+% \iffalse meta-comment
+% GB/T 7714-2015 BibTeX Style
+% https://github.com/CTeX-org/gbt7714-bibtex-style
+%
+% Copyright (C) 2016-2019 by Zeping Lee <zepinglee AT gmail.com>
+%
+% This file may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3c
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% https://www.latex-project.org/lppl.txt
+% and version 1.3c or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+%<*internal>
+\iffalse
+\fi
+\begingroup
+ \def\nameoflatex{LaTeX2e}
+\expandafter\endgroup\ifx\nameoflatex\fmtname\else
+\csname fi\endcsname
+%</internal>
+%<*install>
+\input docstrip.tex
+\preamble
+-------------------------------------------------------------------
+GB/T 7714-2015 BibTeX Style
+https://github.com/CTeX-org/gbt7714-bibtex-style
+Version: 2019/03/21 v1.1.1
+-------------------------------------------------------------------
+Copyright (C) 2016-\the\year by Zeping Lee <zepinglee AT gmail.com>
+-------------------------------------------------------------------
+This file may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either version 1.3c
+of this license or (at your option) any later version.
+The latest version of this license is in
+ https://www.latex-project.org/lppl.txt
+and version 1.3c or later is part of all distributions of LaTeX
+version 2005/12/01 or later.
+-------------------------------------------------------------------
+\endpreamble
+\keepsilent
+\askforoverwritefalse
+\nopostamble
+\generate{
+ \file{\jobname.sty}{\from{\jobname.dtx}{package}}
+ \file{\jobname-plain.bst}{\from{\jobname.dtx}{2015,authoryear}}
+ \file{\jobname-unsrt.bst}{\from{\jobname.dtx}{2015,numerical}}
+ \file{versions/2005/\jobname-2005-plain.bst}{
+ \from{\jobname.dtx}{2005,authoryear}
+ }
+ \file{versions/2005/\jobname-2005-unsrt.bst}{
+ \from{\jobname.dtx}{2005,numerical}
+ }
+ \file{versions/thu/thuthesis-author-year.bst}{
+ \from{\jobname.dtx}{thu,2005,authoryear}}
+ \file{versions/thu/thuthesis-numeric.bst}{
+ \from{\jobname.dtx}{thu,2005,numerical}}
+ \file{versions/thu/thuthesis-bachelor.bst}{
+ \from{\jobname.dtx}{2015,numerical}}
+ \file{versions/ustc/ustcthesis-authoryear.bst}{
+ \from{\jobname.dtx}{ustc,2015,authoryear}
+ }
+ \file{versions/ustc/ustcthesis-numerical.bst}{
+ \from{\jobname.dtx}{ustc,2015,numerical}
+ }
+ \file{versions/ustc/ustcthesis-bachelor.bst}{
+ \from{\jobname.dtx}{ustc,2015,numerical,nouppercase,nomark,italicjournal}
+ }
+}
+\endbatchfile
+%</install>
+%<*internal>
+\fi
+%</internal>
+%<*driver>
+\ProvidesFile{\jobname.dtx}
+%</driver>
+%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+%<package>\ProvidesPackage{gbt7714}
+%<*package>
+ [2019/03/21 v1.1.1 GB/T 7714-2015 BibTeX Style]
+%</package>
+%
+%<*driver>
+\documentclass[a4paper]{ltxdoc}
+\usepackage[paper=a4paper,margin=1in,left=1.25in]{geometry}
+\usepackage{hypdoc}
+\hypersetup{allcolors=blue}
+\usepackage[UTF8]{ctex}
+\IfFileExists{/System/Library/Fonts/Times.ttc}{
+ \setmainfont{Times}
+ \setsansfont[Scale=MatchLowercase]{Helvetica}
+ \setmonofont[Scale=MatchLowercase]{Menlo}
+}{}
+\usepackage{caption}
+\usepackage{booktabs}
+\usepackage{gbt7714}
+\usepackage{listings}
+\lstnewenvironment{latex}{%
+ \lstset{%
+ basicstyle = \ttfamily\small,
+ language = [LaTeX]TeX,
+ gobble = 2,
+ frame = single,}}{}
+\lstnewenvironment{pseudocode}{%
+ \lstset{%
+ basicstyle=\ttfamily\small,
+ language=bash,
+ gobble=2,
+ frame=single,}}{}
+\makeatletter
+\def\DescribeOption{\leavevmode\@bsphack\begingroup\MakePrivateLetters
+ \Describe@Option}
+\def\Describe@Option#1{\endgroup
+ \marginpar{\raggedleft\PrintDescribeOption{#1}}%
+ \SpecialEnvIndex{#1}\@esphack\ignorespaces}
+\@ifundefined{PrintDescribeOption}
+ {\def\PrintDescribeOption#1{\strut \MacroFont #1\ }}{}
+\DeclareRobustCommand\file{\nolinkurl}
+\DeclareRobustCommand\env{\texttt}
+\DeclareRobustCommand\pkg{\textsf}
+\DeclareRobustCommand\cls{\textsf}
+\DeclareRobustCommand\opt{\texttt}
+\setlength\partopsep{\z@}
+\def\@listi{\leftmargin\leftmargini
+ \parsep \z@
+ \topsep 5\p@ \@plus2\p@ \@minus3\p@
+ \itemsep\z@}
+\let\@listI\@listi
+\@listi
+\renewcommand\glossaryname{版本历å²}
+\GlossaryPrologue{\section*{\glossaryname}}
+\renewcommand*{\changes@}[3]{%
+ \protected@edef\@tempa{%
+ \noexpand\glossary{#1 (#2)\levelchar
+ \ifx\saved@macroname\@empty
+ \space\actualchar\generalname
+ \else
+ \expandafter\@gobble\saved@macroname
+ \actualchar
+ \string\verb\quotechar*\verbatimchar\saved@macroname\verbatimchar
+ \fi
+ :\levelchar #3}}%
+ \@tempa
+ \endgroup
+ \@esphack
+}
+\makeatother
+\EnableCrossrefs
+\CodelineIndex
+\RecordChanges
+% \OnlyDescription
+
+\begin{document}
+ \DocInput{\jobname.dtx}
+\end{document}
+%</driver>
+% \fi
+%
+%
+%
+% \GetFileInfo{\jobname.dtx}
+%
+% \title{GB/T 7714-2015 \BibTeX{} style}
+% \author{Zeping Lee\thanks{zepinglee AT gmail.com}}
+% \date{\filedate\qquad\fileversion}
+% \maketitle
+%
+% \changes{v1.0}{2018/01/01}{Initial release.}
+%
+%
+% \begin{abstract}
+% The \pkg{gbt7714} package provides a \BibTeX{} implementation for the China's
+% bibliography style standard GB/T 7714-2015.
+% It consists of two bst files for numerical and authoryear styles as well as a
+% \LaTeX{} package which provides the citation style defined in the standard.
+% It is compatible with \pkg{natbib} and supports language detection (Chinese
+% and English) for each biblilography entry.
+% \end{abstract}
+%
+% \section{简介}
+%
+% GB/T 7714-2015 《信æ¯ä¸Žæ–‡çŒ®\quad å‚考文献著录规则》\cite{gbt77142015}
+% (以下简称“国标â€ï¼‰æ˜¯ä¸­å›½çš„å‚考文献推è标准。
+% 本å®åŒ…是国标的 \BibTeX{}\cite{bibtex} 实现,具有以下特性:
+% \begin{itemize}
+% \item 兼容 \pkg{natbib} å®åŒ…\cite{natbib}
+% \item 支æŒé¡ºåºç¼–ç åˆ¶å’Œè‘—者-出版年制两ç§é£Žæ ¼
+% \item 自动识别语言并进行相应处ç†
+% \item æ供了简å•çš„接å£ä¾›ç”¨æˆ·ä¿®æ”¹æ ·å¼
+% \end{itemize}
+% 本å®åŒ…的主页:\url{https://github.com/CTeX-org/gbt7714-bibtex-style}。
+%
+%
+% \section{使用方法}
+%
+% \DescribeOption{super}
+% \DescribeOption{numbers}
+% \DescribeOption{authoryear}
+% 按照国标的规定,å‚考文献的标注体系分为“顺åºç¼–ç åˆ¶â€å’Œ
+% “著者-出版年制â€(\opt{authoryear}),
+% 其中顺åºç¼–ç åˆ¶æ ¹æ®å¼•ç”¨æ ‡æ³¨æ ·å¼çš„ä¸åŒåˆ†ä¸ºè§’标数字å¼(\opt{super})å’Œ
+% 与正文平排的数字å¼(\opt{numbers})。
+%
+% 用户应在导言区调用å®åŒ… \pkg{gbt7714},并在å‚数中选择å‚考文献的标注样å¼ã€‚
+% 默认的å‚数是 \opt{super},é¢å¤–çš„å‚数会传递给 \pkg{natbib} å®åŒ…,比如:
+% \begin{latex}
+% \usepackage[authoryear]{gbt7714}
+% \end{latex}
+% 然åŽ\emph{ä¸å†}需è¦è°ƒç”¨ \cs{bibliographystyle} 命令设置å‚考文献列表风格。
+%
+% 使用时需è¦æ³¨æ„以下几点:
+% \begin{itemize}
+% \item \emph{ä¸}å†éœ€è¦è°ƒç”¨ \cs{bibliographystyle} 命令选择å‚考文献表的格å¼ã€‚
+% \item bib æ•°æ®åº“应使用 UTF-8 ç¼–ç ã€‚
+% \item 使用著者-出版年制å‚考文献表时,中文的文献\emph{å¿…é¡»}
+% 在 key 域填写作者姓å的拼音,æ‰èƒ½æŒ‰ç…§æ‹¼éŸ³æŽ’åºï¼Œ
+% 详è§ç¬¬~\ref{sec:sort}~节。
+% \end{itemize}
+%
+% \DescribeMacro{\cite}
+% 在正文中引用文献时应使用 \cs{cite} 命令。
+% åŒä¸€å¤„引用多篇文献时,应将å„篇文献的 key 一åŒå†™åœ¨ \cs{cite} 命令中,
+% 如 |\cite{knuth84,lamport94,mittelbach04}|。
+% 如é‡è¿žç»­ç¼–å·ï¼Œå¯ä»¥è‡ªåŠ¨è½¬ä¸ºèµ·è®«åºå·å¹¶ç”¨çŸ­æ¨ªçº¿è¿žæŽ¥ã€‚
+% 它å¯ä»¥è‡ªåŠ¨æŽ’åºå¹¶ç”¨å¤„ç†è¿žç»­ç¼–å·ã€‚
+% 若需è¦æ ‡å‡ºå¼•æ–‡çš„页ç ï¼Œå¯ä»¥æ ‡åœ¨ \cs{cite} çš„å¯é€‰å‚数中,如
+% |\cite[42]{knuth84}|。
+% 更多的引用标注方法å¯ä»¥å‚考 \pkg{natbib} å®åŒ…的使用说明\cite{natbib}。
+%
+% \DescribeMacro{\bibliography}
+% å‚考文献表å¯ä»¥åœ¨æ–‡ä¸­ä½¿ç”¨ \cs{bibliography} 命令调用。
+% 注æ„文献列表的样å¼å·²ç»åœ¨æ¨¡æ¿ä¸­æ ¹æ®é€‰é¡¹è®¾ç½®ï¼Œ
+% 用户\emph{ä¸å†}需è¦ä½¿ç”¨ \cs{bibliographystyle} 命令。
+%
+%
+% \section{文献类型}
+%
+% 国标中规定了 16 ç§å‚考文献类型,
+% 表~\ref{tab:entry-types} 列举了 \file{bib} æ•°æ®åº“中对应的文献类型。
+% 这些尽å¯èƒ½å…¼å®¹ \BibTeX{} 的标准类型,但是新增了若干文献类型(带 * å·ï¼‰ã€‚
+%
+% \begin{table}[htb]
+% \centering\small
+% \caption{全部文献类型}
+% \label{tab:entry-types}
+% \begin{tabular}{lcl}
+% \toprule
+% 文献类型 & æ ‡è¯†ä»£ç  & Entry Type \\
+% \midrule
+% 普通图书 & M & book \\
+% 图书的æžå‡ºæ–‡çŒ® & M & incollection \\
+% 会议录 & C & proceedings \\
+% 会议录的æžå‡ºæ–‡çŒ® & C & inproceedings 或 conference \\
+% 汇编 & G & collection* \\
+% 报纸 & N & newspaper* \\
+% 期刊的æžå‡ºæ–‡çŒ® & J & article \\
+% å­¦ä½è®ºæ–‡ & D & mastersthesis 或 phdthesis \\
+% 报告 & R & techreport \\
+% 标准 & S & standard* \\
+% 专利 & P & patent* \\
+% æ•°æ®åº“ & DB & database* \\
+% è®¡ç®—æœºç¨‹åº & CP & software* \\
+% 电å­å…¬å‘Š & EB & online* \\
+% 档案 & A & archive* \\
+% 舆图 & CM & map* \\
+% æ•°æ®é›† & DS & dataset* \\
+% 其他 & Z & misc \\
+% \bottomrule
+% \end{tabular}
+% \end{table}
+%
+%
+% \section{著录项目}
+%
+% 由于国标中规定的著录项目多于 \BibTeX{} 的标准域,
+% 必须新增一些著录项目(带 * å·ï¼‰ï¼Œ
+% 这些新增的类型在设计时å‚考了 BibLaTeX,如 date å’Œ urldate。
+% 本å®åŒ…支æŒçš„全部域如下:
+% \begin{description}
+% \item[author] 主è¦è´£ä»»è€…
+% \item[title] 题å
+% \item[mark*] 文献类型标识
+% \item[medium*] 载体类型标识
+% \item[translator*] 译者
+% \item[editor] 编辑
+% \item[organization] 组织(用于会议)
+% \item[booktitle] 图书题å
+% \item[series] 系列
+% \item[journal] 期刊题å
+% \item[edition] 版本
+% \item[address] 出版地
+% \item[publisher] 出版者
+% \item[school] 学校(用于phdthesis)
+% \item[institution] 机构(用于techreport)
+% \item[year] 出版年
+% \item[volume] å·
+% \item[number] 期(或者专利å·ï¼‰
+% \item[pages] 引文页ç 
+% \item[date*] 更新或修改日期
+% \item[urldate*] 引用日期
+% \item[url] 获å–和访问路径
+% \item[doi] 数字对象唯一标识符
+% \item[language*] 语言
+% \item[key] 拼音(用于排åºï¼‰
+% \end{description}
+% ä¸æ”¯æŒçš„ \BibTeX{} 标准著录项目有 annote, chapter, crossref, month, type。
+%
+% 本å®åŒ…默认情况下å¯ä»¥è‡ªåŠ¨è¯†åˆ«æ–‡çŒ®è¯­è¨€ï¼Œå¹¶è‡ªåŠ¨å¤„ç†æ–‡çŒ®ç±»åž‹å’Œè½½ä½“类型标识,
+% 但是在少数情况下需è¦ç”¨æˆ·æ‰‹åŠ¨æŒ‡å®šï¼Œå¦‚:
+% \begin{latex}
+% @misc{citekey,
+% language = {japanese},
+% mark = {Z},
+% medium = {DK},
+% ...
+% \end{latex}
+% å¯é€‰çš„语言有 english, chinese, japanese, russian。
+%
+%
+% \section{文献列表的排åº}
+% \label{sec:sort}
+%
+% 国标规定å‚考文献表采用著者-出版年制组织时,å„篇文献首先按文ç§é›†ä¸­ï¼Œ
+% 然åŽæŒ‰è‘—者字顺和出版年排列;
+% 中文文献å¯ä»¥æŒ‰è‘—者汉语拼音字顺排列,也å¯ä»¥æŒ‰è‘—者的笔画笔顺排列。
+% 然而由于 \BibTeX{} 功能的局é™æ€§ï¼Œæ— æ³•è‡ªåŠ¨èŽ·å–著者姓å的拼音或笔画笔顺,
+% 所以\emph{å¿…é¡»}在 bib æ•°æ®åº“中的 key 域手动录入著者姓å的拼音,如:
+% \begin{latex}
+% @book{capital,
+% author = {é©¬å…‹æ€ and æ©æ ¼æ–¯},
+% key = {ma3 ke4 si1 en1 ge2 si1},
+% ...
+% \end{latex}
+%
+%
+% \section{自定义样å¼}
+%
+% \BibTeX{} 对自定义样å¼çš„支æŒæ¯”较有é™ï¼Œ
+% 所以用户åªèƒ½é€šè¿‡ä¿®æ”¹ \file{bst} 文件æ¥ä¿®æ”¹æ–‡çŒ®åˆ—表的格å¼ã€‚
+% 本å®åŒ…æ供了一些接å£ä¾›ç”¨æˆ·æ›´æ–¹ä¾¿åœ°ä¿®æ”¹ã€‚
+%
+% 在 \file{bst} 文件开始处的 |load.config| 函数中,
+% 有一组é…ç½®å‚数用æ¥æŽ§åˆ¶æ ·å¼ï¼Œè¡¨~\ref{tab:config} 列出了æ¯ä¸€é¡¹çš„默认值和功能。
+% è‹¥å˜é‡è¢«è®¾ä¸º |#1| 则表示该项被å¯ç”¨ï¼Œè®¾ä¸º |#0| 则ä¸å¯ç”¨ã€‚
+% 默认的值是严格éµå¾ªå›½æ ‡çš„é…置。
+%
+% \begin{table}[htb]
+% \centering\small
+% \caption{å‚考文献表样å¼çš„é…ç½®å‚æ•°}
+% \label{tab:config}
+% \begin{tabular}{lcl}
+% \toprule
+% å‚数值 & 默认值 & 功能 \\
+% \midrule
+% uppercase.name & |#1| & 将著者姓å转为大写 \\
+% max.num.authors & |#3| & è¾“å‡ºè‘—è€…çš„æœ€å¤šæ•°é‡ \\
+% period.between.author.year & |#0| & 著者和年份之间使用å¥ç‚¹è¿žæŽ¥ \\
+% sentence.case.title & |#1| & 将西文的题å转为 sentence case \\
+% link.title & |#0| & 在题å上添加 url 的超链接 \\
+% show.mark & |#1| & 显示文献类型标识 \\
+% italic.jounal & |#0| & 西文期刊å使用斜体 \\
+% show.missing.address.publisher & |#1| & 出版项缺失时显示“出版者ä¸è¯¦â€ \\
+% show.url & |#1| & 显示 url \\
+% show.doi & |#1| & 显示 doi \\
+% show.note & |#0| & 显示 note åŸŸçš„ä¿¡æ¯ \\
+% \bottomrule
+% \end{tabular}
+% \end{table}
+%
+% 若用户需è¦å®šåˆ¶æ›´å¤šå†…容,å¯ä»¥å­¦ä¹  \file{bst} 文件的语法并修改
+% \cite{btxhak,ttb,tlc2},或者è”系作者。
+%
+%
+% \section{相关工作}
+%
+% TeX 社区也有其他关于 GB/T 7714 系列å‚考文献标准的工作。
+% 2005 å¹´å´å‡¯\cite{wk2006}å‘布了基于 GB/T 7714-2005 çš„ \BibTeX{} æ ·å¼ï¼Œ
+% 支æŒé¡ºåºç¼–ç åˆ¶å’Œè‘—者出版年制两ç§é£Žæ ¼ã€‚
+% æŽå¿—奇\cite{lqz2013}å‘布了严格éµå¾ª GB/T 7714-2005 çš„ BibLaTeX çš„æ ·å¼ã€‚
+% 胡海星\cite{hhx2013}æ供了å¦ä¸€ä¸ª \BibTeX{} 实现,
+% 还给æ¯è¡Œ bst 代ç å†™äº† java 语言注释。
+% 沈周\cite{sz2016}基于 \pkg{biblatex-caspervector}\cite{vector2012} 进行修改,
+% 以符åˆå›½æ ‡çš„æ ¼å¼ã€‚
+% 胡振震å‘å¸ƒäº†ç¬¦åˆ GB/T 7714-2015 标准的 BibLaTeX å‚考文献样å¼\cite{hzz2016},
+% 并进行了比较完善的æŒç»­ç»´æŠ¤ã€‚
+%
+%
+% \begin{thebibliography}{12}
+% \providecommand{\natexlab}[1]{#1}
+% \providecommand{\url}[1]{#1}
+% \expandafter\ifx\csname urlstyle\endcsname\relax\relax\else
+% \urlstyle{same}\fi
+% \providecommand{\href}[2]{\url{#2}}
+% \providecommand{\doi}[1]{\href{https://doi.org/#1}{#1}}
+%
+% \bibitem[{中国国家标准化委员会}(2015)]{gbt77142015}
+% {中国国家标准化委员会}.
+% \newblock ä¿¡æ¯ä¸Žæ–‡çŒ®\quad å‚考文献著录规则: GB/T
+% 7714--2015\allowbreak[S].
+% \newblock 北京: 中国标准出版社, 2015.
+%
+% \bibitem[Patashnik(1988{\natexlab{a}})]{bibtex}
+% PATASHNIK~O.
+% \newblock {\BibTeX}ing\allowbreak[M/OL].
+% \newblock 1988{\natexlab{a}}.
+% \newblock \url{http://mirrors.ctan.org/biblio/bibtex/base/btxdoc.pdf}.
+%
+% \bibitem[Daly(1999)]{natbib}
+% DALY~P~W.
+% \newblock Natural sciences citations and references\allowbreak[M/OL].
+% \newblock 1999.
+% \newblock \url{http://mirrors.ctan.org/macros/latex/contrib/natbib/natbib.pdf}.
+%
+% \bibitem[Patashnik(1988{\natexlab{b}})]{btxhak}
+% PATASHNIK~O.
+% \newblock Designing {\BibTeX} styles\allowbreak[M/OL].
+% \newblock 1988{\natexlab{b}}.
+% \newblock \url{http://mirrors.ctan.org/biblio/bibtex/base/btxhak.pdf}.
+%
+% \bibitem[Markey(2003)]{ttb}
+% MARKEY~N.
+% \newblock Tame the beast\allowbreak[M/OL].
+% \newblock 2003.
+% \newblock \url{http://mirrors.ctan.org/info/bibtex/tamethebeast/ttb_en.pdf}.
+%
+% \bibitem[Mittelbach\ et~al.(2004)Mittelbach, Goossens, Braams, Carlisle, and
+% Rowley]{tlc2}
+% MITTELBACH~F, GOOSSENS~M, BRAAMS~J, et~al.
+% \newblock The {\LaTeX} companion\allowbreak[M].
+% \newblock 2nd ed.
+% \newblock Reading, MA, USA: Addison-Wesley, 2004.
+%
+% \bibitem[å´å‡¯(2006)]{wk2006}
+% å´å‡¯.
+% \newblock å‘布GBT7714-2005.bst version1 Beta版\allowbreak[EB/OL].
+% \newblock 2006.
+% \newblock \url{http://bbs.ctex.org/forum.php?mod=viewthread&tid=33591}.
+%
+% \bibitem[æŽå¿—奇(2013)]{lqz2013}
+% æŽå¿—奇.
+% \newblock
+% 基于biblatex的符åˆGBT7714-2005的中文文献生æˆå·¥å…·\allowbreak[EB/OL].
+% \newblock 2013.
+% \newblock \url{http://bbs.ctex.org/forum.php?mod=viewthread&tid=74474}.
+%
+% \bibitem[胡海星(2013)]{hhx2013}
+% 胡海星.
+% \newblock A GB/T 7714-2005 national standard compliant BibTeX
+% style\allowbreak[EB/OL].
+% \newblock 2013.
+% \newblock \url{https://github.com/Haixing-Hu/GBT7714-2005-BibTeX-Style}.
+%
+% \bibitem[沈周(2016)]{sz2016}
+% 沈周.
+% \newblock 基于caspervector改写的符åˆGB/T
+% 7714-2005标准的å‚考文献格å¼\allowbreak[EB/OL].
+% \newblock 2016.
+% \newblock \url{https://github.com/szsdk/biblatex-gbt77142005}.
+%
+% \bibitem[Vector(2012)]{vector2012}
+% VECTOR~C~T.
+% \newblock biblatex å‚考文献和引用样å¼: caspervector\allowbreak[M/OL].
+% \newblock 2012.
+% \newblock
+% \url{http://mirrors.ctan.org/macros/latex/contrib/biblatex-contrib/biblatex-caspervector/doc/caspervector.pdf}.
+%
+% \bibitem[胡振震(2016)]{hzz2016}
+% 胡振震.
+% \newblock ç¬¦åˆ GB/T 7714-2015 标准的 biblatex
+% å‚考文献样å¼\allowbreak[M/OL].
+% \newblock 2016.
+% \newblock
+% \url{http://mirrors.ctan.org/macros/latex/contrib/biblatex-contrib/biblatex-gb7714-2015/biblatex-gb7714-2015.pdf}.
+%
+% \end{thebibliography}
+%
+%
+% \linespread{1.3}
+% \PrintChanges
+%
+%
+% \clearpage
+% \appendix
+% \StopEventually{}
+%
+% \section{å®åŒ…的代ç å®žçŽ°}
+%
+% 下é¢å£°æ˜Žå’Œå¤„ç†å®åŒ…的选项,有 \opt{authoryear} å’Œ \opt{numbers}。
+% \begin{macrocode}
+%<*package>
+\newif\if@gbt@mmxv
+\newif\if@gbt@numerical
+\newif\if@gbt@super
+\DeclareOption{2015}{\@gbt@mmxvtrue}
+\DeclareOption{2005}{\@gbt@mmxvfalse}
+\DeclareOption{super}{\@gbt@numericaltrue\@gbt@supertrue}
+\DeclareOption{numbers}{\@gbt@numericaltrue\@gbt@superfalse}
+\DeclareOption{authoryear}{\@gbt@numericalfalse}
+\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{natbib}}
+\ExecuteOptions{2015,super}
+\ProcessOptions\relax
+% \end{macrocode}
+%
+% åªåœ¨é¡ºåºç¼–ç æ—¶ä½¿ç”¨ \opt{sort\&compress}。
+% \changes{v1.0.1}{2018/03/09}{著者出版年制的文献引用ä¸å†æŽ’åº}
+% \begin{macrocode}
+\if@gbt@numerical
+ \PassOptionsToPackage{sort&compress}{natbib}
+\fi
+\RequirePackage{natbib}
+\RequirePackage{etoolbox}
+\RequirePackage{url}
+% \end{macrocode}
+%
+% \begin{macro}{\citestyle}
+% 定义接å£åˆ‡æ¢å¼•ç”¨æ–‡çŒ®çš„标注法,å¯ç”¨ \cs{citestyle} 调用 \opt{numerical}
+% 或 \opt{authoryear},å‚è§ \pkg{natbib}。
+% \begin{macrocode}
+\newcommand\bibstyle@super{\bibpunct{[}{]}{,}{s}{,}{\textsuperscript{,}}}
+\newcommand\bibstyle@numbers{\bibpunct{[}{]}{,}{n}{,}{,}}
+\newcommand\bibstyle@authoryear{\bibpunct{(}{)}{;}{a}{,}{,}}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\gbtbibstyle}
+% 定义接å£åˆ‡æ¢å‚考文献表的风格,å¯é€‰ \opt{authoryear} å’Œ \opt{numerical},
+% 这个仅用于\pkg{chapterbib}。
+% \begin{macrocode}
+\newcommand\gbtbibstyle[1]{%
+ \ifstrequal{#1}{numerical}{%
+ \if@gbt@mmxv
+ \bibliographystyle{gbt7714-unsrt}%
+ \else
+ \bibliographystyle{gbt7714-2005-unsrt}%
+ \fi
+ }{%
+ \ifstrequal{#1}{authoryear}{%
+ \if@gbt@mmxv
+ \bibliographystyle{gbt7714-plain}%
+ \else
+ \bibliographystyle{gbt7714-2005-plain}%
+ \fi
+ }{%
+ \PackageError{gbt7714}{Unknown argument #1.}%
+ {It should be `numerical' or `authoryear'.}%
+ }%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% 处ç†å®åŒ…选项。
+% \begin{macrocode}
+\if@gbt@numerical
+ \if@gbt@super
+ \citestyle{super}%
+ \gbtbibstyle{numerical}%
+ \else
+ \citestyle{numbers}
+ \gbtbibstyle{numerical}%
+ \fi
+\else
+ \citestyle{authoryear}
+ \gbtbibstyle{authoryear}%
+\fi
+% \end{macrocode}
+%
+% \begin{macro}{\cite}
+% 下é¢ä¿®æ”¹ \pkg{natbib} 的引用格å¼ï¼Œä¸»è¦æ˜¯å°†é¡µç å†™åœ¨ä¸Šæ ‡ä½ç½®ã€‚
+% Numerical 模å¼çš„ \cs{citet} 的页ç ï¼š
+% \begin{macrocode}
+\newcommand\gbt@patchfailure[1]{%
+ \PackageError{gbt7714}{Failed to patch command \protect#1}{}%
+}
+\patchcmd{\NAT@citexnum}{%
+ \@ifnum{\NAT@ctype=\z@}{%
+ \if*#2*\else\NAT@cmt#2\fi
+ }{}%
+ \NAT@mbox{\NAT@@close}%
+}{%
+ \NAT@mbox{\NAT@@close}%
+ \@ifnum{\NAT@ctype=\z@}{%
+ \if*#2*\else\textsuperscript{#2}\fi
+ }{}%
+}{}{\gbt@patchfailure{\NAT@citexnum}}
+% \end{macrocode}
+%
+% Numerical 模å¼çš„ \cs{citep} 的页ç ï¼š
+% \begin{macrocode}
+\renewcommand\NAT@citesuper[3]{\ifNAT@swa
+ \if*#2*\else#2\NAT@spacechar\fi
+\unskip\kern\p@\textsuperscript{\NAT@@open#1\NAT@@close\if*#3*\else#3\fi}%
+ \else #1\fi\endgroup}
+% \end{macrocode}
+%
+% Author-year 模å¼çš„ \cs{citet} 的页ç ï¼š
+% \begin{macrocode}
+\patchcmd{\NAT@citex}{%
+ \if*#2*\else\NAT@cmt#2\fi
+ \if\relax\NAT@date\relax\else\NAT@@close\fi
+}{%
+ \if\relax\NAT@date\relax\else\NAT@@close\fi
+ \if*#2*\else\textsuperscript{#2}\fi
+}{}{\gbt@patchfailure{\NAT@citex}}
+% \end{macrocode}
+%
+% Author-year 模å¼çš„ \cs{citep} 的页ç ï¼š
+% \begin{macrocode}
+\renewcommand\NAT@cite%
+ [3]{\ifNAT@swa\NAT@@open\if*#2*\else#2\NAT@spacechar\fi
+ #1\NAT@@close\if*#3*\else\textsuperscript{#3}\fi\else#1\fi\endgroup}
+% \end{macrocode}
+%
+% 在顺åºç¼–ç åˆ¶ä¸‹ï¼Œ\pkg{natbib} åªæœ‰åœ¨ä¸‰ä¸ªä»¥ä¸Šè¿žç»­æ–‡çŒ®å¼•ç”¨æ‰ä¼šä½¿ç”¨è¿žæŽ¥å·ï¼Œ
+% 这里修改为å…许两个引用使用连接å·ã€‚
+% \changes{v1.0.3}{2018/03/29}{顺åºç¼–ç åˆ¶è¿žç»­ä¸¤ä¸ªæ–‡çŒ®å¼•ç”¨ä¹‹é—´ä½¿ç”¨è¿žæŽ¥å·}
+% \changes{v1.0.4}{2018/04/12}{页ç çš„连接å·ç”± en dash 改为 hyphen}
+% \begin{macrocode}
+\patchcmd{\NAT@citexnum}{%
+ \ifx\NAT@last@yr\relax
+ \def@NAT@last@yr{\@citea}%
+ \else
+ \def@NAT@last@yr{--\NAT@penalty}%
+ \fi
+}{%
+ \def@NAT@last@yr{-\NAT@penalty}%
+}{}{\gbt@patchfailure{\NAT@citexnum}}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{environment}{thebibliography}
+% å‚考文献列表的标签左对é½
+% \changes{v1.0.6}{2018/05/10}{文献列表的数字标签左对é½}
+% \begin{macrocode}
+\renewcommand\@biblabel[1]{[#1]\hfill}
+% \end{macrocode}
+% \end{environment}
+%
+% \begin{macro}{\url}
+% 使用 \pkg{xurl} å®åŒ…的方法,增加 URL å¯æ–­è¡Œçš„ä½ç½®ã€‚
+% \changes{v1.0.8}{2018/06/23}{使用 \pkg{xurl} 的方法改进 URL 断行}
+% \begin{macrocode}
+\def\UrlBreaks{%
+ \do\/%
+ \do\a\do\b\do\c\do\d\do\e\do\f\do\g\do\h\do\i\do\j\do\k\do\l%
+ \do\m\do\n\do\o\do\p\do\q\do\r\do\s\do\t\do\u\do\v\do\w\do\x\do\y\do\z%
+ \do\A\do\B\do\C\do\D\do\E\do\F\do\G\do\H\do\I\do\J\do\K\do\L%
+ \do\M\do\N\do\O\do\P\do\Q\do\R\do\S\do\T\do\U\do\V\do\W\do\X\do\Y\do\Z%
+ \do0\do1\do2\do3\do4\do5\do6\do7\do8\do9\do=\do/\do.\do:%
+ \do\*\do\-\do\~\do\'\do\"\do\-}
+\Urlmuskip=0mu plus 0.1mu
+%</package>
+% \end{macrocode}
+% \end{macro}
+%
+%
+%
+% \section{BibTeX æ ·å¼çš„代ç å®žçŽ°}
+% \label{bst-implementation}
+% \linespread{1}
+%
+% \subsection{自定义选项}
+% \label{sec:options}
+%
+% \begin{environment}{bst}
+% 这里定义了一些å˜é‡ç”¨äºŽå®šåˆ¶æ ·å¼ï¼Œ
+% å¯ä»¥åœ¨ä¸‹é¢çš„ |load.config| 函数中选择是å¦å¯ç”¨ã€‚
+% \changes{v1.0.8}{2018/06/23}{新增接å£ä¾›ç”¨æˆ·è‡ªå®šä¹‰æ ·å¼}
+% \begin{macrocode}
+%<*authoryear|numerical>
+INTEGERS {
+ uppercase.name
+ max.num.authors
+ period.between.author.year
+ sentence.case.title
+ link.title
+ show.mark
+ slash.for.extraction
+ in.booktitle
+ italic.jounal
+ bold.journal.volume
+ show.missing.address.publisher
+ show.url
+ show.doi
+ show.note
+%<*authoryear>
+ lang.zh.order
+ lang.ja.order
+ lang.en.order
+ lang.ru.order
+ lang.other.order
+%</authoryear>
+}
+
+% \end{macrocode}
+%
+% 下é¢æ¯ä¸ªå˜é‡è‹¥è¢«è®¾ä¸º |#1| 则å¯ç”¨è¯¥é¡¹ï¼Œè‹¥è¢«è®¾ä¸º |#0| 则ä¸å¯ç”¨ã€‚
+% 默认的值是严格éµå¾ªå›½æ ‡çš„é…置。
+% \begin{macrocode}
+FUNCTION {load.config}
+{
+% \end{macrocode}
+%
+% 英文姓å转为全大写:
+% \begin{macrocode}
+ #1 'uppercase.name :=
+%<*nouppercase|thu>
+ #0 'uppercase.name :=
+%</nouppercase|thu>
+% \end{macrocode}
+%
+% 最多显示的作者数é‡ï¼š
+% \begin{macrocode}
+ #3 'max.num.authors :=
+% \end{macrocode}
+%
+% 采用著者-出版年制时,作者姓å与年份之间使用å¥ç‚¹è¿žæŽ¥ï¼š
+% \begin{macrocode}
+%<*authoryear>
+ #0 'period.between.author.year :=
+%<*period|2005|ustc>
+ #1 'period.between.author.year :=
+%</period|2005|ustc>
+%</authoryear>
+% \end{macrocode}
+%
+% 英文标题转为 sentence case (å¥é¦–å­—æ¯å¤§å†™ï¼Œå…¶ä½™å°å†™ï¼‰ï¼š
+% \begin{macrocode}
+ #1 'sentence.case.title :=
+%<*nosentencecase>
+ #0 'sentence.case.title :=
+%</nosentencecase>
+% \end{macrocode}
+%
+% 在标题添加超链接:
+% \begin{macrocode}
+ #0 'link.title :=
+%<*linktitle>
+ #1 'link.title :=
+%</linktitle>
+% \end{macrocode}
+%
+% 著录文献类型标识(比如“[M/OL]“):
+% \begin{macrocode}
+ #1 'show.mark :=
+%<*nomark>
+ #0 'show.mark :=
+%</nomark>
+% \end{macrocode}
+%
+% 使用“//â€è¡¨ç¤ºæžå‡ºæ–‡çŒ®
+% \begin{macrocode}
+ #1 'slash.for.extraction :=
+%<*noslash>
+ #0 'slash.for.extraction :=
+%</noslash>
+% \end{macrocode}
+%
+% 使用“In:â€è¡¨ç¤ºæžå‡ºæ–‡çŒ®
+% \begin{macrocode}
+ #0 'in.booktitle :=
+% \end{macrocode}
+%
+% 期刊å使用斜体:
+% \begin{macrocode}
+ #0 'italic.jounal :=
+%<*italicjournal>
+ #1 'italic.jounal :=
+%</italicjournal>
+% \end{macrocode}
+%
+% 期刊的å·ä½¿ç”¨ç²—体:
+% \begin{macrocode}
+ #0 'bold.journal.volume :=
+% \end{macrocode}
+%
+% 无出版地或出版者时,著录“出版地ä¸è¯¦â€ï¼Œâ€œå‡ºç‰ˆè€…ä¸è¯¦â€ï¼Œâ€œS.l.†或 “s.n.â€ï¼š
+% \begin{macrocode}
+ #1 'show.missing.address.publisher :=
+%<*noslsn|ustc>
+ #0 'show.missing.address.publisher :=
+%</noslsn|ustc>
+% \end{macrocode}
+%
+% 是å¦è‘—录 URL:
+% \begin{macrocode}
+ #1 'show.url :=
+%<*nourl>
+ #0 'show.url :=
+%</nourl>
+% \end{macrocode}
+%
+% 是å¦è‘—录 DOI:
+% \begin{macrocode}
+ #1 'show.doi :=
+%<*nodoi|2005>
+ #0 'show.doi :=
+%</nodoi|2005>
+% \end{macrocode}
+%
+% 在æ¯ä¸€æ¡æ–‡çŒ®æœ€åŽè¾“出注释(note)的内容:
+% \begin{macrocode}
+ #0 'show.note :=
+% \end{macrocode}
+%
+% \changes{v1.1.1}{2019/03/21}{å…许自定义文ç§çš„顺åº}
+% å‚考文献表按照“著者-出版年â€ç»„织时,å„个文ç§çš„顺åºï¼š
+% \begin{macrocode}
+%<*authoryear>
+ #1 'lang.zh.order :=
+ #2 'lang.ja.order :=
+ #3 'lang.en.order :=
+ #4 'lang.ru.order :=
+ #5 'lang.other.order :=
+%</authoryear>
+}
+
+% \end{macrocode}
+%
+%
+% \subsection{The ENTRY declaration}
+%
+% Like Scribe's (according to pages 231-2 of the April '84 edition),
+% but no fullauthor or editors fields because BibTeX does name handling.
+% The annote field is commented out here because this family doesn't
+% include an annotated bibliography style. And in addition to the fields
+% listed here, BibTeX has a built-in crossref field, explained later.
+% \begin{macrocode}
+ENTRY
+ { address
+ author
+ booktitle
+ date
+ doi
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ language
+ mark
+ medium
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ translator
+ url
+ urldate
+ volume
+ year
+ }
+ { entry.lang entry.is.electronic entry.numbered }
+% \end{macrocode}
+%
+% These string entry variables are used to form the citation label.
+% In a storage pinch, sort.label can be easily computed on the fly.
+% \begin{macrocode}
+ { label extra.label sort.label short.list entry.mark entry.url }
+
+% \end{macrocode}
+%
+%
+% \subsection{Entry functions}
+%
+% Each entry function starts by calling output.bibitem, to write the
+% |\bibitem| and its arguments to the .BBL file. Then the various fields
+% are formatted and printed by output or output.check. Those functions
+% handle the writing of separators (commas, periods, |\newblock|'s),
+% taking care not to do so when they are passed a null string.
+% Finally, fin.entry is called to add the final period and finish the
+% entry.
+%
+% A bibliographic reference is formatted into a number of `blocks':
+% in the open format, a block begins on a new line and subsequent
+% lines of the block are indented. A block may contain more than
+% one sentence (well, not a grammatical sentence, but something to
+% be ended with a sentence ending period). The entry functions should
+% call new.block whenever a block other than the first is about to be
+% started. They should call new.sentence whenever a new sentence is
+% to be started. The output functions will ensure that if two
+% new.sentence's occur without any non-null string being output between
+% them then there won't be two periods output. Similarly for two
+% successive new.block's.
+%
+% The output routines don't write their argument immediately.
+% Instead, by convention, that argument is saved on the stack to be
+% output next time (when we'll know what separator needs to come
+% after it). Meanwhile, the output routine has to pop the pending
+% output off the stack, append any needed separator, and write it.
+%
+% To tell which separator is needed, we maintain an output.state.
+% It will be one of these values:
+% before.all just after the |\bibitem|
+% mid.sentence in the middle of a sentence: comma needed
+% if more sentence is output
+% after.sentence just after a sentence: period needed
+% after.block just after a block (and sentence):
+% period and |\newblock| needed.
+% Note: These styles don't use after.sentence
+%
+% VAR: output.state : INTEGER -- state variable for output
+%
+% The output.nonnull function saves its argument (assumed to be nonnull)
+% on the stack, and writes the old saved value followed by any needed
+% separator. The ordering of the tests is decreasing frequency of
+% occurrence.
+%
+% 由于专著中的æžå‡ºæ–‡çŒ®éœ€è¦ç”¨åˆ°å¾ˆç‰¹æ®Šçš„“//â€ï¼Œæ‰€ä»¥æˆ‘åˆåŠ äº†ä¸€ä¸ª after.slash。
+% 其他需è¦åœ¨ç‰¹å®šç¬¦å·åŽé¢è¾“出,所以写了一个 output.after。
+%
+% \begin{pseudocode}
+% output.nonnull(s) ==
+% BEGIN
+% s := argument on stack
+% if output.state = mid.sentence then
+% write$(pop() * ", ")
+% -- "pop" isn't a function: just use stack top
+% else
+% if output.state = after.block then
+% write$(add.period$(pop()))
+% newline$
+% write$("\newblock ")
+% else
+% if output.state = before.all then
+% write$(pop())
+% else -- output.state should be after.sentence
+% write$(add.period$(pop()) * " ")
+% fi
+% fi
+% output.state := mid.sentence
+% fi
+% push s on stack
+% END
+% \end{pseudocode}
+%
+% The output function calls output.nonnull if its argument is non-empty;
+% its argument may be a missing field (thus, not necessarily a string)
+%
+% \begin{pseudocode}
+% output(s) ==
+% BEGIN
+% if not empty$(s) then output.nonnull(s)
+% fi
+% END
+% \end{pseudocode}
+%
+% The output.check function is the same as the output function except that, if
+% necessary, output.check warns the user that the t field shouldn't be empty
+% (this is because it probably won't be a good reference without the field;
+% the entry functions try to make the formatting look reasonable even when
+% such fields are empty).
+%
+% \begin{pseudocode}
+% output.check(s,t) ==
+% BEGIN
+% if empty$(s) then
+% warning$("empty " * t * " in " * cite$)
+% else output.nonnull(s)
+% fi
+% END
+% \end{pseudocode}
+%
+% The output.bibitem function writes the |\bibitem| for the current entry
+% (the label should already have been set up), and sets up the separator
+% state for the output functions. And, it leaves a string on the stack
+% as per the output convention.
+%
+% \begin{pseudocode}
+% output.bibitem ==
+% BEGIN
+% newline$
+% write$("\bibitem[") % for alphabetic labels,
+% write$(label) % these three lines
+% write$("]{") % are used
+% write$("\bibitem{") % this line for numeric labels
+% write$(cite$)
+% write$("}")
+% push "" on stack
+% output.state := before.all
+% END
+% \end{pseudocode}
+%
+% The fin.entry function finishes off an entry by adding a period to the
+% string remaining on the stack. If the state is still before.all
+% then nothing was produced for this entry, so the result will look bad,
+% but the user deserves it. (We don't omit the whole entry because the
+% entry was cited, and a bibitem is needed to define the citation label.)
+%
+% \begin{pseudocode}
+% fin.entry ==
+% BEGIN
+% write$(add.period$(pop()))
+% newline$
+% END
+% \end{pseudocode}
+%
+% The new.block function prepares for a new block to be output, and
+% new.sentence prepares for a new sentence.
+%
+% \begin{pseudocode}
+% new.block ==
+% BEGIN
+% if output.state <> before.all then
+% output.state := after.block
+% fi
+% END
+% \end{pseudocode}
+%
+% \begin{pseudocode}
+% new.sentence ==
+% BEGIN
+% if output.state <> after.block then
+% if output.state <> before.all then
+% output.state := after.sentence
+% fi
+% fi
+% END
+% \end{pseudocode}
+% \begin{macrocode}
+INTEGERS { output.state before.all mid.sentence after.sentence after.block after.slash }
+
+INTEGERS { lang.zh lang.ja lang.en lang.ru lang.other }
+
+INTEGERS { charptr len }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #4 'after.slash :=
+ #3 'lang.zh :=
+ #4 'lang.ja :=
+ #1 'lang.en :=
+ #2 'lang.ru :=
+ #0 'lang.other :=
+}
+
+% \end{macrocode}
+%
+% 下é¢æ˜¯ä¸€äº›å¸¸é‡çš„定义
+% \changes{v1.1}{2019/01/02}{å…许自定义“et alâ€}
+% \begin{macrocode}
+FUNCTION {bbl.anonymous}
+{ entry.lang lang.zh =
+ { "佚å" }
+ { "Anon" }
+ if$
+}
+
+FUNCTION {bbl.space}
+{ entry.lang lang.zh =
+ { "\ " }
+ { " " }
+ if$
+}
+
+FUNCTION {bbl.et.al}
+{ entry.lang lang.zh =
+ { "ç­‰" }
+ { entry.lang lang.ja =
+ { "ä»–" }
+ { entry.lang lang.ru =
+ { "идр" }
+ { "et~al." }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {citation.et.al}
+{ bbl.et.al }
+
+FUNCTION {bbl.colon} { ": " }
+
+%<*2015>
+FUNCTION {bbl.wide.space} { "\quad " }
+%</2015>
+%<*2005>
+FUNCTION {bbl.wide.space} { "\ " }
+%</2005>
+
+FUNCTION {bbl.slash} { "//\allowbreak " }
+
+FUNCTION {bbl.sine.loco}
+{ entry.lang lang.zh =
+ { "[出版地ä¸è¯¦]" }
+ { "[S.l.]" }
+ if$
+}
+
+FUNCTION {bbl.sine.nomine}
+{ entry.lang lang.zh =
+ { "[出版者ä¸è¯¦]" }
+ { "[s.n.]" }
+ if$
+}
+
+FUNCTION {bbl.sine.loco.sine.nomine}
+{ entry.lang lang.zh =
+ { "[出版地ä¸è¯¦: 出版者ä¸è¯¦]" }
+ { "[S.l.: s.n.]" }
+ if$
+}
+
+% \end{macrocode}
+%
+% These three functions pop one or two (integer) arguments from the stack
+% and push a single one, either 0 or 1.
+% The |'skip$| in the `and' and `or' functions are used because
+% the corresponding |if$| would be idempotent
+% \begin{macrocode}
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+% \end{macrocode}
+%
+% the variables s and t are temporary string holders
+% \begin{macrocode}
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { output.state after.slash =
+ { bbl.slash * write$
+ newline$
+ }
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.after}
+{ 't :=
+ duplicate$ empty$
+ 'pop$
+ { 's :=
+ output.state mid.sentence =
+ { t * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { output.state after.slash =
+ { bbl.slash * write$ }
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+ }
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+% \end{macrocode}
+%
+% This function finishes all entries.
+%
+% Tsinghua requires no period at the end of book-like entries.
+% \begin{macrocode}
+FUNCTION {fin.entry}
+%<*!thu>
+{ add.period$
+%</!thu>
+%<*thu>
+{ type$ "book" =
+ type$ "inbook" = or
+ type$ "incollection" = or
+ type$ "collection" = or
+ 'skip$
+ 'add.period$
+ if$
+%</thu>
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { output.state after.slash =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { output.state after.slash =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {new.slash}
+{ output.state before.all =
+ 'skip$
+ { slash.for.extraction
+ { after.slash 'output.state := }
+ { after.block 'output.state := }
+ if$
+ }
+ if$
+}
+
+% \end{macrocode}
+%
+% Sometimes we begin a new block only if the block will be big enough. The
+% new.block.checka function issues a new.block if its argument is nonempty;
+% new.block.checkb does the same if either of its TWO arguments is nonempty.
+% \begin{macrocode}
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+% \end{macrocode}
+%
+% The new.sentence.check functions are analogous.
+% \begin{macrocode}
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+% \end{macrocode}
+%
+%
+% \subsection{Formatting chunks}
+%
+% Here are some functions for formatting chunks of an entry.
+% By convention they either produce a string that can be followed by
+% a comma or period (using |add.period$|, so it is OK to end in a period),
+% or they produce the null string.
+%
+% A useful utility is the field.or.null function, which checks if the
+% argument is the result of pushing a `missing' field (one for which no
+% assignment was made when the current entry was read in from the database)
+% or the result of pushing a string having no non-white-space characters.
+% It returns the null string if so, otherwise it returns the field string.
+% Its main (but not only) purpose is to guarantee that what's left on the
+% stack is a string rather than a missing field.
+%
+% \begin{pseudocode}
+% field.or.null(s) ==
+% BEGIN
+% if empty$(s) then return ""
+% else return s
+% END
+% \end{pseudocode}
+%
+% Another helper function is emphasize, which returns the argument emphazised,
+% if that is non-empty, otherwise it returns the null string. Italic
+% corrections aren't used, so this function should be used when punctation
+% will follow the result.
+%
+% \begin{pseudocode}
+% emphasize(s) ==
+% BEGIN
+% if empty$(s) then return ""
+% else return "{\em " * s * "}"
+% \end{pseudocode}
+%
+% The `pop\$' in this function gets rid of the duplicate `empty' value and
+% the `skip\$' returns the duplicate field value
+% \begin{macrocode}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {italicize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textit{" swap$ * "}" * }
+ if$
+}
+
+% \end{macrocode}
+%
+% \subsubsection{Detect Language}
+% \changes{v1.0.7}{2018/05/12}{修正了检测 Unicode 语言}
+% \begin{macrocode}
+INTEGERS { byte second.byte }
+
+INTEGERS { char.lang tmp.lang }
+
+STRINGS { tmp.str }
+
+FUNCTION {get.str.lang}
+{ 'tmp.str :=
+ lang.other 'tmp.lang :=
+ #1 'charptr :=
+ tmp.str text.length$ #1 + 'len :=
+ { charptr len < }
+ { tmp.str charptr #1 substring$ chr.to.int$ 'byte :=
+ byte #128 <
+ { charptr #1 + 'charptr :=
+ byte #64 > byte #91 < and byte #96 > byte #123 < and or
+ { lang.en 'char.lang := }
+ { lang.other 'char.lang := }
+ if$
+ }
+ { tmp.str charptr #1 + #1 substring$ chr.to.int$ 'second.byte :=
+ byte #224 <
+% \end{macrocode}
+% 俄文西里尔字æ¯ï¼šU+0400 到 U+052F,对应 UTF-8 从 D0 80 到 D4 AF。
+% \begin{macrocode}
+ { charptr #2 + 'charptr :=
+ byte #207 > byte #212 < and
+ byte #212 = second.byte #176 < and or
+ { lang.ru 'char.lang := }
+ { lang.other 'char.lang := }
+ if$
+ }
+ { byte #240 <
+% \end{macrocode}
+% CJK Unified Ideographs: U+4E00--U+9FFF; UTF-8: E4 B8 80--E9 BF BF.
+% \begin{macrocode}
+ { charptr #3 + 'charptr :=
+ byte #227 > byte #234 < and
+ { lang.zh 'char.lang := }
+% \end{macrocode}
+% CJK Unified Ideographs Extension A: U+3400--U+4DBF; UTF-8: E3 90 80--E4 B6 BF.
+% \begin{macrocode}
+ { byte #227 =
+ { second.byte #143 >
+ { lang.zh 'char.lang := }
+% \end{macrocode}
+% 日语å‡å:U+3040--U+30FF, UTF-8: E3 81 80--E3 83 BF.
+% \begin{macrocode}
+ { second.byte #128 > second.byte #132 < and
+ { lang.ja 'char.lang := }
+ { lang.other 'char.lang := }
+ if$
+ }
+ if$
+ }
+% \end{macrocode}
+% CJK Compatibility Ideographs: U+F900--U+FAFF, UTF-8: EF A4 80--EF AB BF.
+% \begin{macrocode}
+ { byte #239 =
+ second.byte #163 > second.byte #172 < and and
+ { lang.zh 'char.lang := }
+ { lang.other 'char.lang := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+% \end{macrocode}
+% CJK Unified Ideographs Extension B--F: U+20000--U+2EBEF,
+% UTF-8: F0 A0 80 80--F0 AE AF AF.
+% CJK Compatibility Ideographs Supplement: U+2F800--U+2FA1F,
+% UTF-8: F0 AF A0 80--F0 AF A8 9F.
+% \begin{macrocode}
+ { charptr #4 + 'charptr :=
+ byte #240 = second.byte #159 > and
+ { lang.zh 'char.lang := }
+ { lang.other 'char.lang := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ char.lang tmp.lang >
+ { char.lang 'tmp.lang := }
+ 'skip$
+ if$
+ }
+ while$
+ tmp.lang
+}
+
+FUNCTION {check.entry.lang}
+{ author field.or.null
+ title field.or.null *
+ get.str.lang
+}
+
+FUNCTION {set.entry.lang}
+{ language empty$
+ { check.entry.lang }
+ { language "english" = language "american" = or language "british" = or
+ { lang.en }
+ { language "chinese" =
+ { lang.zh }
+ { language "japanese" =
+ { lang.ja }
+ { language "russian" =
+ { lang.ru }
+ { check.entry.lang }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ 'entry.lang :=
+}
+
+FUNCTION {set.entry.numbered}
+{ type$ "patent" =
+ type$ "standard" = or
+ type$ "techreport" = or
+ { #1 'entry.numbered := }
+ { #0 'entry.numbered := }
+ if$
+}
+
+% \end{macrocode}
+%
+% \subsubsection{Format names}
+%
+% The format.names function formats the argument (which should be in
+% BibTeX name format) into "First Von Last, Junior", separated by commas
+% and with an "and" before the last (but ending with "et~al." if the last
+% of multiple authors is "others"). This function's argument should always
+% contain at least one name.
+%
+% \begin{pseudocode}
+% VAR: nameptr, namesleft, numnames: INTEGER
+% pseudoVAR: nameresult: STRING (it's what's accumulated on the stack)
+%
+% format.names(s) ==
+% BEGIN
+% nameptr := 1
+% numnames := num.names$(s)
+% namesleft := numnames
+% while namesleft > 0
+% do
+% % for full names:
+% t := format.name$(s, nameptr, "{ff~}{vv~}{ll}{, jj}")
+% % for abbreviated first names:
+% t := format.name$(s, nameptr, "{f.~}{vv~}{ll}{, jj}")
+% if nameptr > 1 then
+% if namesleft > 1 then nameresult := nameresult * ", " * t
+% else if numnames > 2
+% then nameresult := nameresult * ","
+% fi
+% if t = "others"
+% then nameresult := nameresult * " et~al."
+% else nameresult := nameresult * " and " * t
+% fi
+% fi
+% else nameresult := t
+% fi
+% nameptr := nameptr + 1
+% namesleft := namesleft - 1
+% od
+% return nameresult
+% END
+% \end{pseudocode}
+%
+% The format.authors function returns the result of format.names(author)
+% if the author is present, or else it returns the null string
+%
+% \begin{pseudocode}
+% format.authors ==
+% BEGIN
+% if empty$(author) then return ""
+% else return format.names(author)
+% fi
+% END
+% \end{pseudocode}
+%
+% Format.editors is like format.authors, but it uses the editor field,
+% and appends ", editor" or ", editors"
+%
+% \begin{pseudocode}
+% format.editors ==
+% BEGIN
+% if empty$(editor) then return ""
+% else
+% if num.names$(editor) > 1 then
+% return format.names(editor) * ", editors"
+% else
+% return format.names(editor) * ", editor"
+% fi
+% fi
+% END
+% \end{pseudocode}
+%
+% Other formatting functions are similar, so no "comment version" will be
+% given for them.
+% \changes{v1.0.2}{2018/03/16}{正确识别姓å中的“othersâ€}
+% \changes{v1.0.8}{2018/06/23}{使用“\textasciitildeâ€è¿žæŽ¥è‹±æ–‡å§“å}
+% \begin{macrocode}
+INTEGERS { nameptr namesleft numnames name.lang }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, ff}" format.name$ 't :=
+ nameptr max.num.authors >
+ { bbl.et.al
+ #1 'namesleft :=
+ }
+ { t "others" =
+ { bbl.et.al }
+ { t get.str.lang 'name.lang :=
+ name.lang lang.en =
+ { t #1 "{vv~}{ll}{~f{~}}" format.name$
+ uppercase.name
+ { "u" change.case$ }
+ 'skip$
+ if$
+ t #1 "{, jj}" format.name$ *
+ }
+ { t #1 "{ll}{ff}" format.name$ }
+ if$
+ }
+ if$
+ }
+ if$
+ nameptr #1 >
+ { ", " swap$ * * }
+ 'skip$
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author empty$ not
+ { author format.names }
+ { "empty author in " cite$ * warning$
+%<*authoryear>
+ bbl.anonymous
+%</authoryear>
+%<*numerical>
+ ""
+%</numerical>
+ }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names }
+ if$
+}
+
+FUNCTION {format.translators}
+{ translator empty$
+ { "" }
+ { translator format.names
+ entry.lang lang.zh =
+ { translator num.names$ #3 >
+ { "译" * }
+ { ", 译" * }
+ if$
+ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.full.names}
+{'s :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, ff}" format.name$ 't :=
+ t get.str.lang 'name.lang :=
+ name.lang lang.en =
+ { t #1 "{vv~}{ll}" format.name$ 't := }
+ { t #1 "{ll}{ff}" format.name$ 't := }
+ if$
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.full}
+{ author empty$
+ { editor empty$
+ { "" }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.full}
+{ author empty$
+ { "" }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.full}
+{ editor empty$
+ { "" }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.full
+ { type$ "collection" =
+ type$ "proceedings" =
+ or
+ 'editor.full
+ 'author.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ 's :=
+ s text.length$ 'charptr :=
+ { charptr #0 > }
+ { s charptr #1 substring$ "]" =
+ { #0 'charptr := }
+ { charptr #1 - 'charptr := }
+ if$
+ }
+ while$
+ charptr #0 >
+ { "{" s * "}" * }
+ { s }
+ if$
+ "]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+% \end{macrocode}
+%
+% \subsubsection{Format title}
+%
+% The |format.title| function is used for non-book-like titles.
+% For most styles we convert to lowercase (except for the very first letter,
+% and except for the first one after a colon (followed by whitespace)),
+% and hope the user has brace-surrounded words that need to stay capitilized;
+% for some styles, however, we leave it as it is in the database.
+% \changes{v1.0.6}{2018/05/10}{ä¸å†å¤„ç†ä¸­æ–‡æ ‡é¢˜çš„英文å•è¯çš„大å°å†™}
+% \changes{v1.0.9}{2018/08/05}{ä¸å†è½¬æ¢é¢˜å volume 的大å°å†™}
+% \changes{v1.0.9}{2018/08/05}{增加选项在题å添加超链接}
+% \begin{macrocode}
+FUNCTION {change.sentence.case}
+{ entry.lang lang.en =
+ { "t" change.case$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {add.link}
+{ url empty$ not
+ { "\href{" url * "}{" * swap$ * "}" * }
+ { doi empty$ not
+ { "\href{http://dx.doi.org/" doi * "}{" * swap$ * "}" * }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title
+ sentence.case.title
+ 'change.sentence.case
+ 'skip$
+ if$
+ entry.numbered number empty$ not and
+ { bbl.colon * number * }
+ 'skip$
+ if$
+ link.title
+ 'add.link
+ 'skip$
+ if$
+ }
+ if$
+}
+
+% \end{macrocode}
+%
+% For several functions we'll need to connect two strings with a
+% tie (|~|) if the second one isn't very long (fewer than 3 characters).
+% The tie.or.space.connect function does that. It concatenates the two
+% strings on top of the stack, along with either a tie or space between
+% them, and puts this concatenation back onto the stack:
+%
+% \begin{pseudocode}
+% tie.or.space.connect(str1,str2) ==
+% BEGIN
+% if text.length$(str2) < 3
+% then return the concatenation of str1, "~", and str2
+% else return the concatenation of str1, " ", and str2
+% END
+% \end{pseudocode}
+% \begin{macrocode}
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+% \end{macrocode}
+%
+% The either.or.check function complains if both fields or an either-or pair
+% are nonempty.
+%
+% \begin{pseudocode}
+% either.or.check(t,s) ==
+% BEGIN
+% if empty$(s) then
+% warning$(can't use both " * t * " fields in " * cite$)
+% fi
+% END
+% \end{pseudocode}
+% \begin{macrocode}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+% \end{macrocode}
+%
+% The format.bvolume function is for formatting the volume and perhaps
+% series name of a multivolume work. If both a volume and a series field
+% are there, we assume the series field is the title of the whole multivolume
+% work (the title field should be the title of the thing being referred to),
+% and we add an "of <series>". This function is called in mid-sentence.
+%
+% The format.number.series function is for formatting the series name
+% and perhaps number of a work in a series. This function is similar to
+% format.bvolume, although for this one the series must exist (and the
+% volume must not exist). If the number field is empty we output either
+% the series field unchanged if it exists or else the null string.
+% If both the number and series fields are there we assume the series field
+% gives the name of the whole series (the title field should be the title
+% of the work being one referred to), and we add an "in <series>".
+% We capitilize Number when this function is used at the beginning of a block.
+% \begin{macrocode}
+FUNCTION {is.digit}
+{ duplicate$ empty$
+ { pop$ #0 }
+ { chr.to.int$
+ duplicate$ "0" chr.to.int$ <
+ { pop$ #0 }
+ { "9" chr.to.int$ >
+ { #0 }
+ { #1 }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {is.number}
+{ 's :=
+ s empty$
+ { #0 }
+ { s text.length$ 'charptr :=
+ { charptr #0 >
+ s charptr #1 substring$ is.digit
+ and
+ }
+ { charptr #1 - 'charptr := }
+ while$
+ charptr not
+ }
+ if$
+}
+
+FUNCTION {format.volume}
+{ volume empty$ not
+ { volume is.number
+ { entry.lang lang.zh =
+ { "第 " volume * " å·" * }
+ { "volume" volume tie.or.space.connect }
+ if$
+ }
+ { volume }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.number}
+{ number empty$ not
+ { number is.number
+ { entry.lang lang.zh =
+ { "第 " number * " 册" * }
+ { "number" number tie.or.space.connect }
+ if$
+ }
+ { number }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.volume.number}
+{ volume empty$ not
+ { format.volume }
+ { format.number }
+ if$
+}
+
+FUNCTION {format.title.vol.num}
+{ title
+ sentence.case.title
+ 'change.sentence.case
+ 'skip$
+ if$
+ entry.numbered
+ { number empty$ not
+ { bbl.colon * number * }
+ 'skip$
+ if$
+ }
+ { format.volume.number 's :=
+ s empty$ not
+ { bbl.colon * s * }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.series.vol.num.title}
+{ format.volume.number 's :=
+ series empty$ not
+ { series
+ sentence.case.title
+ 'change.sentence.case
+ 'skip$
+ if$
+ entry.numbered
+ { bbl.wide.space * }
+ { bbl.colon *
+ s empty$ not
+ { s * bbl.wide.space * }
+ 'skip$
+ if$
+ }
+ if$
+ title *
+ sentence.case.title
+ 'change.sentence.case
+ 'skip$
+ if$
+ entry.numbered number empty$ not and
+ { bbl.colon * number * }
+ 'skip$
+ if$
+ }
+ { format.title.vol.num }
+ if$
+ link.title
+ 'add.link
+ 'skip$
+ if$
+}
+
+FUNCTION {format.booktitle.vol.num}
+{ booktitle
+ entry.numbered
+ 'skip$
+ { format.volume.number 's :=
+ s empty$ not
+ { bbl.colon * s * }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+% \end{macrocode}
+%
+% \changes{v1.1}{2019/01/02}{修正 series 的 bug}
+% \begin{macrocode}
+FUNCTION {format.series.vol.num.booktitle}
+{ format.volume.number 's :=
+ series empty$ not
+ { series bbl.colon *
+ entry.numbered not s empty$ not and
+ { s * bbl.wide.space * }
+ 'skip$
+ if$
+ booktitle *
+ }
+ { format.booktitle.vol.num }
+ if$
+ in.booktitle
+ { duplicate$ empty$ not entry.lang lang.en = and
+ { "In: " swap$ * }
+ 'skip$
+ if$
+ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.journal}
+{ journal
+ italic.jounal entry.lang lang.en = and
+ 'italicize
+ 'skip$
+ if$
+}
+
+% \end{macrocode}
+%
+% \subsubsection{Format entry type mark}
+%
+% \begin{macrocode}
+FUNCTION {set.entry.mark}
+{ entry.mark empty$ not
+ 'pop$
+ { mark empty$ not
+ { pop$ mark 'entry.mark := }
+ { 'entry.mark := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.mark}
+{ show.mark
+ { medium empty$ not
+ { entry.mark "/" * medium * 'entry.mark := }
+ { entry.is.electronic
+ { entry.mark "/OL" * 'entry.mark := }
+ 'skip$
+ if$
+ }
+ if$
+ "\allowbreak[" entry.mark * "]" *
+ }
+ { "" }
+ if$
+}
+
+% \end{macrocode}
+%
+% \subsubsection{Format edition}
+%
+% The format.edition function appends " edition" to the edition, if present.
+% We lowercase the edition (it should be something like "Third"), because
+% this doesn't start a sentence.
+% \begin{macrocode}
+FUNCTION {num.to.ordinal}
+{ duplicate$ text.length$ 'charptr :=
+ duplicate$ charptr #1 substring$ 's :=
+ s "1" =
+ { "st" * }
+ { s "2" =
+ { "nd" * }
+ { s "3" =
+ { "rd" * }
+ { "th" * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { edition is.number
+ { entry.lang lang.zh =
+ { edition " 版" * }
+ { edition num.to.ordinal " ed." * }
+ if$
+ }
+ { entry.lang lang.en =
+ { edition change.sentence.case 's :=
+ s "Revised" = s "Revised edition" = or
+ { "Rev. ed." }
+ { s " ed." *}
+ if$
+ }
+ { edition }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+% \end{macrocode}
+%
+% \subsubsection{Format publishing items}
+%
+% 出版地å€å’Œå‡ºç‰ˆç¤¾ä¼šæœ‰ “[S.l.: s.n.]†的情况,所以必须一起处ç†ã€‚
+% \begin{macrocode}
+FUNCTION {format.publisher}
+{ publisher empty$ not
+ { publisher }
+ { school empty$ not
+ { school }
+ { organization empty$ not
+ { organization }
+ { institution empty$ not
+ { institution }
+ { "" }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.address.publisher}
+{ address empty$ not
+ { address
+ format.publisher empty$ not
+ { bbl.colon * format.publisher * }
+ { entry.is.electronic not show.missing.address.publisher and
+ { bbl.colon * bbl.sine.nomine * }
+ 'skip$
+ if$
+ }
+ if$
+ }
+ { entry.is.electronic not show.missing.address.publisher and
+ { format.publisher empty$ not
+ { bbl.sine.loco bbl.colon * format.publisher * }
+ { bbl.sine.loco.sine.nomine }
+ if$
+ }
+ { format.publisher empty$ not
+ { format.publisher }
+ { "" }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+% \end{macrocode}
+%
+% \subsubsection{Format date}
+%
+% The format.date function is for the month and year, but we give a warning if
+% there's an empty year but the month is there, and we return the empty string
+% if they're both empty.
+%
+% Newspaer å’Œ paptent è¦æ˜¾ç¤ºå®Œæ•´çš„日期,åŒæ—¶ä¸å†æ˜¾ç¤ºä¿®æ”¹æ—¥æœŸã€‚
+% 但是在 author-year 模å¼ä¸‹ï¼Œéœ€è¦å•ç‹¬è®¾ç½® format.year。
+% \begin{macrocode}
+FUNCTION {extract.before.dash}
+{ duplicate$ empty$
+ { pop$ "" }
+ { 's :=
+ #1 'charptr :=
+ s text.length$ #1 + 'len :=
+ { charptr len <
+ s charptr #1 substring$ "-" = not
+ and
+ }
+ { charptr #1 + 'charptr := }
+ while$
+ s #1 charptr #1 - substring$
+ }
+ if$
+}
+
+FUNCTION {extract.after.dash}
+{ duplicate$ empty$
+ { pop$ "" }
+ { 's :=
+ #1 'charptr :=
+ s text.length$ #1 + 'len :=
+ { charptr len <
+ s charptr #1 substring$ "-" = not
+ and
+ }
+ { charptr #1 + 'charptr := }
+ while$
+ { charptr len <
+ s charptr #1 substring$ "-" =
+ and
+ }
+ { charptr #1 + 'charptr := }
+ while$
+ s charptr global.max$ substring$
+ }
+ if$
+}
+
+FUNCTION {contains.dash}
+{ duplicate$ empty$
+ { pop$ #0 }
+ { 's :=
+ { s empty$ not
+ s #1 #1 substring$ "-" = not
+ and
+ }
+ { s #2 global.max$ substring$ 's := }
+ while$
+ s empty$ not
+ }
+ if$
+}
+
+% \end{macrocode}
+%
+% 著者-出版年制必须æå–出年份
+% \begin{macrocode}
+FUNCTION {format.year}
+{ year empty$ not
+ { year extract.before.dash }
+ { date empty$ not
+ { date extract.before.dash }
+ { "empty year in " cite$ * warning$
+ urldate empty$ not
+ { "[" urldate extract.before.dash * "]" * }
+ { "" }
+ if$
+ }
+ if$
+ }
+ if$
+ extra.label *
+}
+
+% \end{macrocode}
+%
+% 专利和报纸都是使用日期而ä¸æ˜¯å¹´
+% \begin{macrocode}
+FUNCTION {format.date}
+{ type$ "patent" = type$ "newspaper" = or
+ date empty$ not and
+ { date }
+ { year }
+ if$
+}
+
+% \end{macrocode}
+%
+% æ›´æ–°ã€ä¿®æ”¹æ—¥æœŸåªç”¨äºŽç”µå­èµ„æº elctronic
+% \begin{macrocode}
+FUNCTION {format.editdate}
+{ date empty$ not
+ { "\allowbreak(" date * ")" * }
+ { "" }
+ if$
+}
+
+% \end{macrocode}
+%
+% 国标中的“引用日期â€éƒ½æ˜¯ä¸Ž URL åŒæ—¶å‡ºçŽ°çš„,所以其实为 urldate,这个虽然
+% ä¸æ˜¯ \BibTeX{} 标准的域,但是实际中很常è§ã€‚
+% \begin{macrocode}
+FUNCTION {format.urldate}
+{ urldate empty$ not entry.is.electronic and
+ { "\allowbreak[" urldate * "]" * }
+ { "" }
+ if$
+}
+
+% \end{macrocode}
+%
+% \subsubsection{Format pages}
+%
+% By default, BibTeX sets the global integer variable |global.max$| to the BibTeX
+% constant |glob_str_size|, the maximum length of a global string variable.
+% Analogously, BibTeX sets the global integer variable |entry.max$| to
+% |ent_str_size|, the maximum length of an entry string variable.
+% The style designer may change these if necessary (but this is unlikely)
+%
+% The n.dashify function makes each single |`-'| in a string a double |`--'|
+% if it's not already
+%
+% \begin{pseudocode}
+% pseudoVAR: pageresult: STRING (it's what's accumulated on the stack)
+%
+% n.dashify(s) ==
+% BEGIN
+% t := s
+% pageresult := ""
+% while (not empty$(t))
+% do
+% if (first character of t = "-")
+% then
+% if (next character isn't)
+% then
+% pageresult := pageresult * "--"
+% t := t with the "-" removed
+% else
+% while (first character of t = "-")
+% do
+% pageresult := pageresult * "-"
+% t := t with the "-" removed
+% od
+% fi
+% else
+% pageresult := pageresult * the first character
+% t := t with the first character removed
+% fi
+% od
+% return pageresult
+% END
+% \end{pseudocode}
+%
+% 国标里页ç èŒƒå›´çš„连接å·ä½¿ç”¨ hyphen,需è¦å°† dash 转为 hyphen。
+% \begin{macrocode}
+FUNCTION {hyphenate}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { "-" *
+ { t #1 #1 substring$ "-" = }
+ { t #2 global.max$ substring$ 't := }
+ while$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+% \end{macrocode}
+%
+% This function doesn't begin a sentence so "pages" isn't capitalized.
+% Other functions that use this should keep that in mind.
+% \begin{macrocode}
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages hyphenate }
+ if$
+}
+
+% \end{macrocode}
+%
+% The |format.vol.num.pages| function is for the volume, number, and page range
+% of a journal article. We use the format: vol(number):pages, with some
+% variations for empty fields. This doesn't begin a sentence.
+%
+% 报纸在å·å·ç¼ºå¤±æ—¶ï¼ŒæœŸå·ä¸Žå‰é¢çš„日期直接相连,所以必须拆开输出。
+% \begin{macrocode}
+FUNCTION {format.journal.volume}
+{ volume empty$ not
+ { bold.journal.volume
+ { "\textbf{" volume * "}" * }
+ { volume }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.journal.number}
+{ number empty$ not
+ { "\penalty0 (" number * ")" * }
+ { "" }
+ if$
+}
+
+FUNCTION {format.journal.pages}
+{ pages empty$
+ { "" }
+ { ":\penalty0 " pages hyphenate * }
+ if$
+}
+
+% \end{macrocode}
+%
+% 连续出版物的年å·æœŸæœ‰èµ·æ­¢èŒƒå›´ï¼Œéœ€è¦ç‰¹æ®Šå¤„ç†
+% \begin{macrocode}
+FUNCTION {format.periodical.year.volume.number}
+{ year empty$ not
+ { year extract.before.dash }
+ { "empty year in periodical " cite$ * warning$ }
+ if$
+ volume empty$ not
+ { ", " * volume extract.before.dash * }
+ 'skip$
+ if$
+ number empty$ not
+ { "\penalty0 (" * number extract.before.dash * ")" * }
+ 'skip$
+ if$
+ year contains.dash
+ { "--" *
+ year extract.after.dash empty$
+ volume extract.after.dash empty$ and
+ number extract.after.dash empty$ and not
+ { year extract.after.dash empty$ not
+ { year extract.after.dash * }
+ { year extract.before.dash * }
+ if$
+ volume empty$ not
+ { ", " * volume extract.after.dash * }
+ 'skip$
+ if$
+ number empty$ not
+ { "\penalty0 (" * number extract.after.dash * ")" * }
+ 'skip$
+ if$
+ }
+ 'skip$
+ if$
+ }
+ 'skip$
+ if$
+}
+
+% \end{macrocode}
+%
+% \subsubsection{Format url and doi}
+%
+% 传统的 \BibTeX{} 习惯使用 howpublished 著录 url,这里æ供支æŒã€‚
+% \changes{v1.0.8}{2018/06/23}{æ”¯æŒ howpublished 中的 url}
+% \begin{macrocode}
+FUNCTION {check.url}
+{ url empty$ not
+ { "\url{" url * "}" * 'entry.url :=
+ #1 'entry.is.electronic :=
+ }
+ { howpublished empty$ not
+ { howpublished #1 #5 substring$ "\url{" =
+ { howpublished 'entry.url :=
+ #1 'entry.is.electronic :=
+ }
+ 'skip$
+ if$
+ }
+ { note empty$ not
+ { note #1 #5 substring$ "\url{" =
+ { note 'entry.url :=
+ #1 'entry.is.electronic :=
+ }
+ 'skip$
+ if$
+ }
+ 'skip$
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.url}
+{ entry.url empty$ not
+ { new.block entry.url }
+ { "" }
+ if$
+}
+
+% \end{macrocode}
+%
+% 需è¦æ£€æµ‹ DOI 是å¦å·²ç»åŒ…å«åœ¨ URL 中。
+% \changes{v1.0.5}{2018/04/18}{å…许著录多个 DOI}
+% \begin{macrocode}
+FUNCTION {check.doi}
+{ doi empty$ not
+ { #1 'entry.is.electronic := }
+ 'skip$
+ if$
+}
+
+FUNCTION {is.in.url}
+{ 's :=
+ s empty$
+ { #1 }
+ { entry.url empty$
+ { #0 }
+ { s text.length$ 'len :=
+ entry.url text.length$ 'charptr :=
+ { entry.url charptr len substring$ s = not
+ charptr #0 >
+ and
+ }
+ { charptr #1 - 'charptr := }
+ while$
+ charptr
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.doi}
+{ ""
+ doi empty$ not show.doi and
+ { "" 's :=
+ doi 't :=
+ #0 'numnames :=
+ { t empty$ not}
+ { t #1 #1 substring$ 'tmp.str :=
+ tmp.str "," = tmp.str " " = or t #2 #1 substring$ empty$ or
+ { t #2 #1 substring$ empty$
+ { s tmp.str * 's := }
+ 'skip$
+ if$
+ s empty$ s is.in.url or
+ 'skip$
+ { numnames #1 + 'numnames :=
+ numnames #1 >
+ { ", " * }
+ { "DOI: " * }
+ if$
+ "\doi{" s * "}" * *
+ }
+ if$
+ "" 's :=
+ }
+ { s tmp.str * 's := }
+ if$
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ 's :=
+ s empty$ not
+ { new.block s }
+ { "" }
+ if$
+ }
+ 'skip$
+ if$
+}
+
+FUNCTION {check.electronic}
+{ "" 'entry.url :=
+ #0 'entry.is.electronic :=
+ 'check.doi
+ 'skip$
+ if$
+ 'check.url
+ 'skip$
+ if$
+ medium empty$ not
+ { medium "MT" = medium "DK" = or medium "CD" = or medium "OL" = or
+ { #1 'entry.is.electronic := }
+ 'skip$
+ if$
+ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.note}
+{ note empty$ not show.note and
+ { note }
+ { "" }
+ if$
+}
+
+% \end{macrocode}
+%
+% The function empty.misc.check complains if all six fields are empty, and
+% if there's been no sorting or alphabetic-label complaint.
+% \begin{macrocode}
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$
+ year empty$
+ and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+% \end{macrocode}
+%
+%
+% \subsection{Functions for all entry types}
+%
+% Now we define the type functions for all entry types that may appear
+% in the .BIB file---e.g., functions like `article' and `book'. These
+% are the routines that actually generate the .BBL-file output for
+% the entry. These must all precede the READ command. In addition, the
+% style designer should have a function `default.type' for unknown types.
+% Note: The fields (within each list) are listed in order of appearance,
+% except as described for an `inbook' or a `proceedings'.
+%
+% \subsubsection{专著}
+%
+% \begin{macrocode}
+FUNCTION {monograph}
+{ output.bibitem
+ author empty$ not
+ { format.authors }
+ { editor empty$ not
+ { format.editors }
+ { "empty author and editor in " cite$ * warning$
+%<*authoryear>
+ bbl.anonymous
+%</authoryear>
+%<*numerical>
+ ""
+%</numerical>
+ }
+ if$
+ }
+ if$
+ output
+%<*authoryear>
+ period.between.author.year
+ 'new.sentence
+ 'skip$
+ if$
+ format.year "year" output.check
+%</authoryear>
+ new.block
+ format.series.vol.num.title "title" output.check
+ "M" set.entry.mark
+ format.mark "" output.after
+ new.block
+ format.translators output
+ new.sentence
+ format.edition output
+ new.block
+ format.address.publisher output
+%<*numerical>
+ format.year "year" output.check
+%</numerical>
+ format.pages bbl.colon output.after
+ format.urldate "" output.after
+ format.url output
+ format.doi output
+ new.block
+ format.note output
+ fin.entry
+}
+
+% \end{macrocode}
+%
+% \subsubsection{专著中的æžå‡ºæ–‡çŒ®}
+%
+% An incollection is like inbook, but where there is a separate title
+% for the referenced thing (and perhaps an editor for the whole).
+% An incollection may CROSSREF a book.
+%
+% Required: author, title, booktitle, publisher, year
+%
+% Optional: editor, volume or number, series, type, chapter, pages,
+% address, edition, month, note
+% \begin{macrocode}
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors output
+ author format.key output
+%<*authoryear>
+ period.between.author.year
+ 'new.sentence
+ 'skip$
+ if$
+ format.year "year" output.check
+%</authoryear>
+ new.block
+ format.title "title" output.check
+ "M" set.entry.mark
+ format.mark "" output.after
+ new.block
+ format.translators output
+ new.slash
+ format.editors output
+ new.block
+ format.series.vol.num.booktitle "booktitle" output.check
+ new.block
+ format.edition output
+ new.block
+ format.address.publisher output
+%<*numerical>
+ format.year "year" output.check
+%</numerical>
+ format.pages bbl.colon output.after
+ format.urldate "" output.after
+ format.url output
+ format.doi output
+ new.block
+ format.note output
+ fin.entry
+}
+
+% \end{macrocode}
+%
+% \subsubsection{连续出版物}
+%
+% \begin{macrocode}
+FUNCTION {periodical}
+{ output.bibitem
+ format.authors output
+ author format.key output
+%<*authoryear>
+ period.between.author.year
+ 'new.sentence
+ 'skip$
+ if$
+ format.year "year" output.check
+%</authoryear>
+ new.block
+ format.title "title" output.check
+ "J" set.entry.mark
+ format.mark "" output.after
+ new.block
+ format.periodical.year.volume.number output
+ new.block
+ format.address.publisher output
+%<*numerical>
+ format.date "year" output.check
+%</numerical>
+ format.urldate "" output.after
+ format.url output
+ format.doi output
+ new.block
+ format.note output
+ fin.entry
+}
+
+% \end{macrocode}
+%
+% \subsubsection{连续出版物中的æžå‡ºæ–‡çŒ®}
+%
+% The article function is for an article in a journal. An article may
+% CROSSREF another article.
+%
+% Required fields: author, title, journal, year
+%
+% Optional fields: volume, number, pages, month, note
+%
+% The other entry functions are all quite similar, so no "comment version"
+% will be given for them.
+% \begin{macrocode}
+FUNCTION {article}
+{ output.bibitem
+ format.authors output
+ author format.key output
+%<*authoryear>
+ period.between.author.year
+ 'new.sentence
+ 'skip$
+ if$
+ format.year "year" output.check
+%</authoryear>
+ new.block
+ format.title "title" output.check
+ "J" set.entry.mark
+ format.mark "" output.after
+ new.block
+ format.journal "journal" output.check
+%<*numerical>
+ format.date "year" output.check
+%</numerical>
+ format.journal.volume output
+ format.journal.number "" output.after
+ format.journal.pages "" output.after
+ format.urldate "" output.after
+ format.url output
+ format.doi output
+ new.block
+ format.note output
+ fin.entry
+}
+
+% \end{macrocode}
+%
+% \subsubsection{专利文献}
+%
+% number 域也å¯ä»¥ç”¨æ¥è¡¨ç¤ºä¸“利å·ã€‚
+% \begin{macrocode}
+FUNCTION {patent}
+{ output.bibitem
+ format.authors output
+ author format.key output
+%<*authoryear>
+ period.between.author.year
+ 'new.sentence
+ 'skip$
+ if$
+ format.year "year" output.check
+%</authoryear>
+ new.block
+ format.title "title" output.check
+ "P" set.entry.mark
+ format.mark "" output.after
+ new.block
+ format.date "year" output.check
+ format.urldate "" output.after
+ format.url output
+ format.doi output
+ new.block
+ format.note output
+ fin.entry
+}
+
+% \end{macrocode}
+%
+% \subsubsection{电å­èµ„æº}
+% \begin{macrocode}
+FUNCTION {electronic}
+{ #1 #1 check.electronic
+ #1 'entry.is.electronic :=
+ output.bibitem
+ format.authors output
+ author format.key output
+%<*authoryear>
+ period.between.author.year
+ 'new.sentence
+ 'skip$
+ if$
+ format.year "year" output.check
+%</authoryear>
+ new.block
+ format.series.vol.num.title "title" output.check
+ "EB" set.entry.mark
+ format.mark "" output.after
+ new.block
+ format.address.publisher output
+%<*numerical>
+ date empty$
+ { format.date output }
+ 'skip$
+ if$
+%</numerical>
+ format.pages bbl.colon output.after
+ format.editdate "" output.after
+ format.urldate "" output.after
+ format.url output
+ format.doi output
+ new.block
+ format.note output
+ fin.entry
+}
+
+% \end{macrocode}
+%
+% \subsubsection{其他文献类型}
+%
+% A misc is something that doesn't fit elsewhere.
+%
+% Required: at least one of the `optional' fields
+%
+% Optional: author, title, howpublished, month, year, note
+%
+% Misc 用æ¥è‡ªåŠ¨åˆ¤æ–­ç±»åž‹ã€‚
+% \changes{v1.0.9}{2018/08/05}{修正ä¸æ˜¾ç¤º url 的选项}
+% \begin{macrocode}
+FUNCTION {misc}
+{ journal empty$ not
+ 'article
+ { booktitle empty$ not
+ 'incollection
+ { publisher empty$ not
+ 'monograph
+ { entry.is.electronic
+ 'electronic
+ { "Z" set.entry.mark
+ monograph
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ empty.misc.check
+}
+
+FUNCTION {archive}
+{ "A" set.entry.mark
+ misc
+}
+
+% \end{macrocode}
+%
+% The book function is for a whole book. A book may CROSSREF another book.
+%
+% Required fields: author or editor, title, publisher, year
+%
+% Optional fields: volume or number, series, address, edition, month,
+% note
+% \begin{macrocode}
+FUNCTION {book} { monograph }
+
+% \end{macrocode}
+%
+% A booklet is a bound thing without a publisher or sponsoring institution.
+%
+% Required: title
+%
+% Optional: author, howpublished, address, month, year, note
+% \begin{macrocode}
+FUNCTION {booklet} { book }
+
+FUNCTION {collection}
+{ "G" set.entry.mark
+ monograph
+}
+
+FUNCTION {database}
+{ "DB" set.entry.mark
+ electronic
+}
+
+FUNCTION {dataset}
+{ "DS" set.entry.mark
+ electronic
+}
+
+% \end{macrocode}
+%
+% An inbook is a piece of a book: either a chapter and/or a page range.
+% It may CROSSREF a book. If there's no volume field, the type field
+% will come before number and series.
+%
+% Required: author or editor, title, chapter and/or pages, publisher,year
+%
+% Optional: volume or number, series, type, address, edition, month, note
+%
+% inbook 类是ä¸å« booktitle 域的,所以ä¸åº”该适用于“专著中的æžå‡ºæ–‡çŒ®â€ï¼Œè€Œåº”该是专
+% è‘—ï¼Œå³ book 类。
+% \begin{macrocode}
+FUNCTION {inbook} { book }
+
+% \end{macrocode}
+%
+% An inproceedings is an article in a conference proceedings, and it may
+% CROSSREF a proceedings. If there's no address field, the month (\& year)
+% will appear just before note.
+%
+% Required: author, title, booktitle, year
+%
+% Optional: editor, volume or number, series, pages, address, month,
+% organization, publisher, note
+% \begin{macrocode}
+FUNCTION {inproceedings}
+{ "C" set.entry.mark
+ incollection
+}
+
+% \end{macrocode}
+%
+% The conference function is included for Scribe compatibility.
+% \begin{macrocode}
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {map}
+{ "CM" set.entry.mark
+ misc
+}
+
+% \end{macrocode}
+%
+% A manual is technical documentation.
+%
+% Required: title
+%
+% Optional: author, organization, address, edition, month, year, note
+% \begin{macrocode}
+FUNCTION {manual} { monograph }
+
+% \end{macrocode}
+%
+% A mastersthesis is a Master's thesis.
+%
+% Required: author, title, school, year
+%
+% Optional: type, address, month, note
+% \begin{macrocode}
+FUNCTION {mastersthesis}
+%<*!thu>
+{ "D" set.entry.mark
+%</!thu>
+%<*thu>
+{ lang.zh entry.lang =
+ { "硕士学ä½è®ºæ–‡" }
+ { "D" }
+ if$
+ set.entry.mark
+%</thu>
+ monograph
+}
+
+FUNCTION {newspaper}
+{ "N" set.entry.mark
+ article
+}
+
+FUNCTION {online}
+{ "EB" set.entry.mark
+ electronic
+}
+
+% \end{macrocode}
+%
+% A phdthesis is like a mastersthesis.
+%
+% Required: author, title, school, year
+%
+% Optional: type, address, month, note
+% \begin{macrocode}
+%<*!thu>
+FUNCTION {phdthesis} { mastersthesis }
+%</!thu>
+%<*thu>
+FUNCTION {phdthesis}
+{ lang.zh entry.lang =
+ { "åšå£«å­¦ä½è®ºæ–‡" }
+ { "D" }
+ if$
+ set.entry.mark
+ monograph
+}
+%</thu>
+
+% \end{macrocode}
+%
+% A proceedings is a conference proceedings.
+% If there is an organization but no editor field, the organization will
+% appear as the first optional field (we try to make the first block nonempty);
+% if there's no address field, the month (\& year) will appear just before note.
+%
+% Required: title, year
+%
+% Optional: editor, volume or number, series, address, month,
+% organization, publisher, note
+% \begin{macrocode}
+FUNCTION {proceedings}
+{ "C" set.entry.mark
+ monograph
+}
+
+FUNCTION {software}
+{ "CP" set.entry.mark
+ electronic
+}
+
+FUNCTION {standard}
+{ "S" set.entry.mark
+ misc
+}
+
+% \end{macrocode}
+%
+% A techreport is a technical report.
+%
+% Required: author, title, institution, year
+%
+% Optional: type, number, address, month, note
+% \begin{macrocode}
+FUNCTION {techreport}
+{ "R" set.entry.mark
+ misc
+}
+
+% \end{macrocode}
+%
+% An unpublished is something that hasn't been published.
+%
+% Required: author, title, note
+%
+% Optional: month, year
+% \begin{macrocode}
+FUNCTION {unpublished}
+{ "Z" set.entry.mark
+ misc
+}
+
+% \end{macrocode}
+%
+% We use entry type `misc' for an unknown type; BibTeX gives a warning.
+% \begin{macrocode}
+FUNCTION {default.type} { misc }
+
+% \end{macrocode}
+%
+%
+% \subsection{Common macros}
+%
+% Here are macros for common things that may vary from style to style.
+% Users are encouraged to use these macros.
+%
+% Months are either written out in full or abbreviated
+% \begin{macrocode}
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+% \end{macrocode}
+%
+% Journals are either written out in full or abbreviated;
+% the abbreviations are like those found in ACM publications.
+%
+% To get a completely different set of abbreviations, it may be best to make
+% a separate .bib file with nothing but those abbreviations; users could then
+% include that file name as the first argument to the \cs{bibliography} command
+% \begin{macrocode}
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+% \end{macrocode}
+%
+%
+% \subsection{Format labels}
+%
+% The sortify function converts to lower case after |purify$|ing; it's
+% used in sorting and in computing alphabetic labels after sorting
+%
+% The chop.word(w,len,s) function returns either s or, if the first len
+% letters of s equals w (this comparison is done in the third line of the
+% function's definition), it returns that part of s after w.
+% \begin{macrocode}
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+% \end{macrocode}
+%
+% We need the chop.word stuff for the dubious unsorted-list-with-labels case.
+% \begin{macrocode}
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+% \end{macrocode}
+%
+% The |format.lab.names| function makes a short label by using the initials of
+% the von and Last parts of the names (but if there are more than four names,
+% (i.e., people) it truncates after three and adds a superscripted "+";
+% it also adds such a "+" if the last of multiple authors is "others").
+% If there is only one name, and its von and Last parts combined have just
+% a single name-token ("Knuth" has a single token, "Brinch Hansen" has two),
+% we take the first three letters of the last name. The boolean
+% et.al.char.used tells whether we've used a superscripted "+", so that we
+% know whether to include a LaTeX macro for it.
+%
+% \begin{pseudocode}
+% format.lab.names(s) ==
+% BEGIN
+% numnames := num.names$(s)
+% if numnames > 1 then
+% if numnames > 4 then
+% namesleft := 3
+% else
+% namesleft := numnames
+% nameptr := 1
+% nameresult := ""
+% while namesleft > 0
+% do
+% if (name_ptr = numnames) and
+% format.name$(s, nameptr, "{ff }{vv }{ll}{ jj}") = "others"
+% then nameresult := nameresult * "{\etalchar{+}}"
+% et.al.char.used := true
+% else nameresult := nameresult *
+% format.name$(s, nameptr, "{v{}}{l{}}")
+% nameptr := nameptr + 1
+% namesleft := namesleft - 1
+% od
+% if numnames > 4 then
+% nameresult := nameresult * "{\etalchar{+}}"
+% et.al.char.used := true
+% else
+% t := format.name$(s, 1, "{v{}}{l{}}")
+% if text.length$(t) < 2 then % there's just one name-token
+% nameresult := text.prefix$(format.name$(s,1,"{ll}"),3)
+% else
+% nameresult := t
+% fi
+% fi
+% return nameresult
+% END
+% \end{pseudocode}
+%
+% Exactly what fields we look at in constructing the primary part of the label
+% depends on the entry type; this selectivity (as opposed to, say, always
+% looking at author, then editor, then key) helps ensure that "ignored" fields,
+% as described in the LaTeX book, really are ignored. Note that MISC is part
+% of the deepest `else' clause in the nested part of calc.label; thus, any
+% unrecognized entry type in the database is handled correctly.
+%
+% There is one auxiliary function for each of the four different sequences of
+% fields we use. The first of these functions looks at the author field, and
+% then, if necessary, the key field. The other three functions, which might
+% look at two fields and the key field, are similar, except that the key field
+% takes precedence over the organization field (for labels---not for sorting).
+%
+% The calc.label function calculates the preliminary label of an entry, which
+% is formed by taking three letters of information from the author or editor or
+% key or organization field (depending on the entry type and on what's empty,
+% but ignoring a leading "The " in the organization), and appending the last
+% two characters (digits) of the year. It is an error if the appropriate fields
+% among author, editor, organization, and key are missing, and we use
+% the first three letters of the |cite$| in desperation when this happens.
+% The resulting label has the year part, but not the name part, |purify$|ed
+% (|purify$|ing the year allows some sorting shenanigans by the user).
+%
+% This function also calculates the version of the label to be used in sorting.
+%
+% The final label may need a trailing 'a', 'b', etc., to distinguish it from
+% otherwise identical labels, but we can't calculated those "extra.label"s
+% until after sorting.
+%
+% \begin{pseudocode}
+% calc.label ==
+% BEGIN
+% if type$ = "book" or "inbook" then
+% author.editor.key.label
+% else if type$ = "proceedings" then
+% editor.key.organization.label
+% else if type$ = "manual" then
+% author.key.organization.label
+% else
+% author.key.label
+% fi fi fi
+% label := label * substring$(purify$(field.or.null(year)), -1, 2)
+% % assuming we will also sort, we calculate a sort.label
+% sort.label := sortify(label), but use the last four, not two, digits
+% END
+% \end{pseudocode}
+% \begin{macrocode}
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}{, jj}{, ff}" format.name$ 't :=
+ t get.str.lang 'name.lang :=
+ name.lang lang.en =
+ { t #1 "{vv~}{ll}" format.name$}
+ { t #1 "{ll}{ff}" format.name$}
+ if$
+ s num.names$ #1 >
+ { bbl.space * citation.et.al * }
+ 'skip$
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "collection" =
+ type$ "proceedings" =
+ or
+ { editor empty$ not
+ 'editor.key.organization.label
+ 'author.key.organization.label
+ if$
+ }
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ format.year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+% \end{macrocode}
+%
+%
+% \subsection{Sorting}
+%
+% When sorting, we compute the sortkey by executing "presort" on each entry.
+% The presort key contains a number of "sortify"ed strings, concatenated
+% with multiple blanks between them. This makes things like "brinch per"
+% come before "brinch hansen per".
+%
+% The fields used here are: the sort.label for alphabetic labels (as set by
+% |calc.label|), followed by the author names (or editor names or organization
+% (with a leading "The " removed) or key field, depending on entry type and on
+% what's empty), followed by year, followed by the first bit of the title
+% (chopping off a leading "The ", "A ", or "An ").
+% Names are formatted: Von Last First Junior.
+% The names within a part will be separated by a single blank
+% (such as "brinch hansen"), two will separate the name parts themselves
+% (except the von and last), three will separate the names,
+% four will separate the names from year (and from label, if alphabetic),
+% and four will separate year from title.
+%
+% The |sort.format.names| function takes an argument that should be in
+% BibTeX name format, and returns a string containing " "-separated
+% names in the format described above. The function is almost the same
+% as format.names.
+% \begin{macrocode}
+%<*authoryear>
+FUNCTION {sort.language.label}
+{ entry.lang lang.zh =
+ { lang.zh.order }
+ { entry.lang lang.ja =
+ { lang.ja.order }
+ { entry.lang lang.en =
+ { lang.en.order }
+ { entry.lang lang.ru =
+ { lang.ru.order }
+ { lang.other.order }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ int.to.chr$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" * }
+ { numnames #2 > nameptr #2 = and
+ { "zz" * year field.or.null * " " * }
+ 'skip$
+ if$
+ t sortify *
+ }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+% \end{macrocode}
+%
+% The sort.format.title function returns the argument,
+% but first any leading "A "'s, "An "'s, or "The "'s are removed.
+% The chop.word function uses s, so we need another string variable, t
+% \begin{macrocode}
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+% \end{macrocode}
+%
+% The auxiliary functions here, for the presort function, are analogous to
+% the ones for calc.label; the same comments apply, except that the
+% organization field takes precedence here over the key field. For sorting
+% purposes, we still remove a leading "The " from the organization field.
+% \begin{macrocode}
+FUNCTION {anonymous.sort}
+{ entry.lang lang.zh =
+ { "yi4 ming2" }
+ { "anon" }
+ if$
+}
+
+FUNCTION {warn.empty.key}
+{ entry.lang lang.zh =
+ { "empty key in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {author.sort}
+{ key empty$
+ { warn.empty.key
+ author empty$
+ { anonymous.sort }
+ { author sort.format.names }
+ if$
+ }
+ { key sortify }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ key empty$
+ { warn.empty.key
+ author empty$
+ { editor empty$
+ { anonymous.sort }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+ }
+ { key sortify }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ key empty$
+ { warn.empty.key
+ author empty$
+ { organization empty$
+ { anonymous.sort }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+ }
+ { key sortify }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ key empty$
+ { warn.empty.key
+ editor empty$
+ { organization empty$
+ { anonymous.sort }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { key sortify }
+ if$
+}
+
+%</authoryear>
+% \end{macrocode}
+%
+% 顺åºç¼–ç åˆ¶çš„排åºè¦ç®€å•å¾—多
+% \begin{macrocode}
+%<*numerical>
+INTEGERS { seq.num }
+
+FUNCTION {init.seq}
+{ #0 'seq.num :=}
+
+FUNCTION {int.to.fix}
+{ "000000000" swap$ int.to.str$ *
+ #-1 #10 substring$
+}
+
+%</numerical>
+% \end{macrocode}
+%
+% There is a limit, |entry.max$|, on the length of an entry string variable
+% (which is what its |sort.key$| is), so we take at most that many characters
+% of the constructed key, and hope there aren't many references that match
+% to that many characters!
+% \begin{macrocode}
+FUNCTION {presort}
+{ set.entry.lang
+ set.entry.numbered
+ show.url show.doi check.electronic
+ calc.label
+ label sortify
+ " "
+ *
+%<*authoryear>
+ sort.language.label
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "collection" =
+ type$ "proceedings" =
+ or
+ 'editor.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ cite$
+ *
+ #1 entry.max$ substring$
+%</authoryear>
+%<*numerical>
+ seq.num #1 + 'seq.num :=
+ seq.num int.to.fix
+%</numerical>
+ 'sort.label :=
+ sort.label *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+% \end{macrocode}
+%
+% Now comes the final computation for alphabetic labels, putting in the 'a's
+% and 'b's and so forth if required. This involves two passes: a forward
+% pass to put in the 'b's, 'c's and so on, and a backwards pass
+% to put in the 'a's (we don't want to put in 'a's unless we know there
+% are 'b's).
+% We have to keep track of the longest (in |width$| terms) label, for use
+% by the "thebibliography" environment.
+%
+% \begin{pseudocode}
+% VAR: longest.label, last.sort.label, next.extra: string
+% longest.label.width, last.extra.num: integer
+%
+% initialize.longest.label ==
+% BEGIN
+% longest.label := ""
+% last.sort.label := int.to.chr$(0)
+% next.extra := ""
+% longest.label.width := 0
+% last.extra.num := 0
+% END
+%
+% forward.pass ==
+% BEGIN
+% if last.sort.label = sort.label then
+% last.extra.num := last.extra.num + 1
+% extra.label := int.to.chr$(last.extra.num)
+% else
+% last.extra.num := chr.to.int$("a")
+% extra.label := ""
+% last.sort.label := sort.label
+% fi
+% END
+%
+% reverse.pass ==
+% BEGIN
+% if next.extra = "b" then
+% extra.label := "a"
+% fi
+% label := label * extra.label
+% if width$(label) > longest.label.width then
+% longest.label := label
+% longest.label.width := width$(label)
+% fi
+% next.extra := extra.label
+% END
+% \end{pseudocode}
+% \begin{macrocode}
+STRINGS { longest.label last.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num number.label }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+
+FUNCTION {bib.sort.order}
+{ sort.label 'sort.key$ :=
+}
+
+% \end{macrocode}
+%
+%
+% \subsection{Write bbl file}
+%
+% Now we're ready to start writing the .BBL file.
+% We begin, if necessary, with a \LaTeX{} macro for unnamed names in an
+% alphabetic label; next comes stuff from the `preamble' command in the
+% database files. Then we give an incantation containing the command
+% |\begin{thebibliography}{...}|
+% where the `...' is the longest label.
+%
+% We also call init.state.consts, for use by the output routines.
+% \begin{macrocode}
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\providecommand{\natexlab}[1]{#1}"
+ write$ newline$
+ "\providecommand{\url}[1]{#1}"
+ write$ newline$
+ "\expandafter\ifx\csname urlstyle\endcsname\relax\relax\else"
+ write$ newline$
+ " \urlstyle{same}\fi"
+ write$ newline$
+ show.doi
+ { "\providecommand{\href}[2]{\url{#2}}"
+ write$ newline$
+ "\providecommand{\doi}[1]{\href{https://doi.org/#1}{#1}}"
+ write$ newline$
+ }
+ 'skip$
+ if$
+}
+
+% \end{macrocode}
+%
+% Finally, we finish up by writing the `|\end{thebibliography}|' command.
+% \begin{macrocode}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+% \end{macrocode}
+%
+%
+% \subsection{Main execution}
+%
+% Now we read in the .BIB entries.
+% \begin{macrocode}
+READ
+
+EXECUTE {init.state.consts}
+
+EXECUTE {load.config}
+
+%<*numerical>
+EXECUTE {init.seq}
+
+%</numerical>
+ITERATE {presort}
+
+% \end{macrocode}
+%
+% And now we can sort
+% \begin{macrocode}
+SORT
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+ITERATE {bib.sort.order}
+
+SORT
+
+EXECUTE {begin.bib}
+
+% \end{macrocode}
+%
+% Now we produce the output for all the entries
+% \begin{macrocode}
+ITERATE {call.type$}
+
+EXECUTE {end.bib}
+%</authoryear|numerical>
+% \end{macrocode}
+% \end{environment}
+%
+% \Finale
+\endinput
diff --git a/biblio/bibtex/contrib/gbt7714/gbt7714.pdf b/biblio/bibtex/contrib/gbt7714/gbt7714.pdf
new file mode 100644
index 0000000000..a37986e804
--- /dev/null
+++ b/biblio/bibtex/contrib/gbt7714/gbt7714.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/gbt7714/gbt7714.sty b/biblio/bibtex/contrib/gbt7714/gbt7714.sty
new file mode 100644
index 0000000000..3269ff5bf7
--- /dev/null
+++ b/biblio/bibtex/contrib/gbt7714/gbt7714.sty
@@ -0,0 +1,124 @@
+%%
+%% This is file `gbt7714.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% gbt7714.dtx (with options: `package')
+%% -------------------------------------------------------------------
+%% GB/T 7714-2015 BibTeX Style
+%% https://github.com/CTeX-org/gbt7714-bibtex-style
+%% Version: 2019/03/21 v1.1.1
+%% -------------------------------------------------------------------
+%% Copyright (C) 2016-2019 by Zeping Lee <zepinglee AT gmail.com>
+%% -------------------------------------------------------------------
+%% This file may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3c
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% https://www.latex-project.org/lppl.txt
+%% and version 1.3c or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%% -------------------------------------------------------------------
+\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+\ProvidesPackage{gbt7714}
+ [2019/03/21 v1.1.1 GB/T 7714-2015 BibTeX Style]
+\newif\if@gbt@mmxv
+\newif\if@gbt@numerical
+\newif\if@gbt@super
+\DeclareOption{2015}{\@gbt@mmxvtrue}
+\DeclareOption{2005}{\@gbt@mmxvfalse}
+\DeclareOption{super}{\@gbt@numericaltrue\@gbt@supertrue}
+\DeclareOption{numbers}{\@gbt@numericaltrue\@gbt@superfalse}
+\DeclareOption{authoryear}{\@gbt@numericalfalse}
+\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{natbib}}
+\ExecuteOptions{2015,super}
+\ProcessOptions\relax
+\if@gbt@numerical
+ \PassOptionsToPackage{sort&compress}{natbib}
+\fi
+\RequirePackage{natbib}
+\RequirePackage{etoolbox}
+\RequirePackage{url}
+\newcommand\bibstyle@super{\bibpunct{[}{]}{,}{s}{,}{\textsuperscript{,}}}
+\newcommand\bibstyle@numbers{\bibpunct{[}{]}{,}{n}{,}{,}}
+\newcommand\bibstyle@authoryear{\bibpunct{(}{)}{;}{a}{,}{,}}
+\newcommand\gbtbibstyle[1]{%
+ \ifstrequal{#1}{numerical}{%
+ \if@gbt@mmxv
+ \bibliographystyle{gbt7714-unsrt}%
+ \else
+ \bibliographystyle{gbt7714-2005-unsrt}%
+ \fi
+ }{%
+ \ifstrequal{#1}{authoryear}{%
+ \if@gbt@mmxv
+ \bibliographystyle{gbt7714-plain}%
+ \else
+ \bibliographystyle{gbt7714-2005-plain}%
+ \fi
+ }{%
+ \PackageError{gbt7714}{Unknown argument #1.}%
+ {It should be `numerical' or `authoryear'.}%
+ }%
+ }%
+}
+\if@gbt@numerical
+ \if@gbt@super
+ \citestyle{super}%
+ \gbtbibstyle{numerical}%
+ \else
+ \citestyle{numbers}
+ \gbtbibstyle{numerical}%
+ \fi
+\else
+ \citestyle{authoryear}
+ \gbtbibstyle{authoryear}%
+\fi
+\newcommand\gbt@patchfailure[1]{%
+ \PackageError{gbt7714}{Failed to patch command \protect#1}{}%
+}
+\patchcmd{\NAT@citexnum}{%
+ \@ifnum{\NAT@ctype=\z@}{%
+ \if*#2*\else\NAT@cmt#2\fi
+ }{}%
+ \NAT@mbox{\NAT@@close}%
+}{%
+ \NAT@mbox{\NAT@@close}%
+ \@ifnum{\NAT@ctype=\z@}{%
+ \if*#2*\else\textsuperscript{#2}\fi
+ }{}%
+}{}{\gbt@patchfailure{\NAT@citexnum}}
+\renewcommand\NAT@citesuper[3]{\ifNAT@swa
+ \if*#2*\else#2\NAT@spacechar\fi
+\unskip\kern\p@\textsuperscript{\NAT@@open#1\NAT@@close\if*#3*\else#3\fi}%
+ \else #1\fi\endgroup}
+\patchcmd{\NAT@citex}{%
+ \if*#2*\else\NAT@cmt#2\fi
+ \if\relax\NAT@date\relax\else\NAT@@close\fi
+}{%
+ \if\relax\NAT@date\relax\else\NAT@@close\fi
+ \if*#2*\else\textsuperscript{#2}\fi
+}{}{\gbt@patchfailure{\NAT@citex}}
+\renewcommand\NAT@cite%
+ [3]{\ifNAT@swa\NAT@@open\if*#2*\else#2\NAT@spacechar\fi
+ #1\NAT@@close\if*#3*\else\textsuperscript{#3}\fi\else#1\fi\endgroup}
+\patchcmd{\NAT@citexnum}{%
+ \ifx\NAT@last@yr\relax
+ \def@NAT@last@yr{\@citea}%
+ \else
+ \def@NAT@last@yr{--\NAT@penalty}%
+ \fi
+}{%
+ \def@NAT@last@yr{-\NAT@penalty}%
+}{}{\gbt@patchfailure{\NAT@citexnum}}
+\renewcommand\@biblabel[1]{[#1]\hfill}
+\def\UrlBreaks{%
+ \do\/%
+ \do\a\do\b\do\c\do\d\do\e\do\f\do\g\do\h\do\i\do\j\do\k\do\l%
+ \do\m\do\n\do\o\do\p\do\q\do\r\do\s\do\t\do\u\do\v\do\w\do\x\do\y\do\z%
+ \do\A\do\B\do\C\do\D\do\E\do\F\do\G\do\H\do\I\do\J\do\K\do\L%
+ \do\M\do\N\do\O\do\P\do\Q\do\R\do\S\do\T\do\U\do\V\do\W\do\X\do\Y\do\Z%
+ \do0\do1\do2\do3\do4\do5\do6\do7\do8\do9\do=\do/\do.\do:%
+ \do\*\do\-\do\~\do\'\do\"\do\-}
+\Urlmuskip=0mu plus 0.1mu
diff --git a/biblio/bibtex/contrib/german/din1505/abbrvdin.bst b/biblio/bibtex/contrib/german/din1505/abbrvdin.bst
new file mode 100644
index 0000000000..aff24f69ac
--- /dev/null
+++ b/biblio/bibtex/contrib/german/din1505/abbrvdin.bst
@@ -0,0 +1,2031 @@
+%% ABBRVDIN.BST Ausgabe [8.2] 2006-01-02
+%% mit doi-, url-, urn-Funktionen
+%% ersetzt ABBRVDIN.BST Ausgabe [8.1b1] 15/12/2004
+%%
+%% K.F.Lorenzen (Copyright 1994-2006) email: lorenzen.marxen@t-online.de
+%% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+%% ABBRVDIN.BST wurde entwickelt aus Oren Patashnik's BibTeX standard
+%% bibliography style `abbrv'. Eine vorgegebene Literaturdatenbank laesst sich
+%% somit beliebig nach US- oder deutscher DIN 1505-Zitierkonvention
+%% verarbeiten.
+%% Analog zu den 4 US standard styles werden 4 DIN-gerechte bst-style Dateien
+%% veroeffentlicht (alphadin.bst, plaindin.bst, unsrtdin.bst, abbrvdin.bst).
+%% Die gueltige Version ist am schnellsten aus dem WWW ueber folgende URL zu
+%% beziehen:
+%% http://www.haw-hamburg.de/pers/Lorenzen/bibtex/
+%% Stand: 2006-01-02
+%% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+%% WAS IST ABBRVDIN.BST ?
+%% Dieser style produziert Literaturzitate in Literaturverzeichnissen
+%% gemaess der deutschen Norm DIN 1505, Teil 2 vom Jan. 1984.
+%% Die Vornamen der Verfasser, Herausgeber, Zeitschriftennamen, Monatsnamen
+%% werden abgekuerzt. Die Anordnung im Literaturverzeichnis entspricht der von
+%% plaindin.bst, also sortiert und in eckigen Klammern gezaehlt. Die
+%% vorliegenden DIN-styles gehen ueber einige bibliographische Beschraenkungen
+%% der Originalstyles hinaus.
+%
+%% Es werden nun auch Elektronische Online / Offline Ressourcen wie Internet-
+%% quellen, CD-ROM usw. verarbeitet. Dazu kommen besondere Publikationsformen
+%% wie Patente, Normen, Karten, Fernsehaufzeichnungen, Gesetzesstellen, Spiele.
+%
+%% Zur Gewaehrleistung der Allgemeingueltigkeit von bib-files gelten in den
+%% DIN-styles die in der Tex-Literatur veroeffentlichten originalen
+%% Definitionen und Regeln fuer die Publikationstypen (entry-types) und die
+%% bibliographischen Felder (fields).
+%% Treten kleinere "Schoenheitsfehler" im fertig gesetzten output auf,
+%% lassen sich diese so gut wie immer durch eine veraenderte
+%% Erfassung im bib-inputfile beseitigen. Oren Patashnik empfiehlt, die
+%% Definition der Felder weit auszulegen. Last but not least koennen
+%% Sie im output-file < *.bbl > noch letzte Hand zur Korrektur ansetzen.
+%
+%% WARN- UND FEHLERMELDUNGEN
+%% Ursache von Warnmeldungen sind meistens ausgelassene Felder oder
+%% Erfassungs-"Fehler". Letztere haengen teilweise mit den gegenueber US-
+%% Gepflogenheiten andersartigen bibliographischen Regeln nach DIN 1505
+%% zusammen. Sie sind also in Wahrheit keine "Fehler" und duerfen fast immer
+%% ignoriert werden. Dennoch pruefen Sie diese Warnungen, um heraus zu finden,
+%% ob Publikationstyp (=entry-type) und "fields" eventuell unzulaessig
+%% kombiniert worden sind.
+%% Echte Fehler ("errors") treten nur noch in Verbindung mit falscher
+%% Erfassung auf (nach meinen Tests!). Pruefen Sie die Syntax, den entry-type
+%% und die fields.
+%% Zu guter letzt: Qualitaetsmasstab ist einzig der DIN-konforme output!
+%%
+%% DANKSAGUNG
+%% Hartmut Lueddecke, HAW Hamburg, hat viele Verbesserungsvorschlaege
+%% in die frueheren Versionen eingebracht. Ihm danke ich herzlich.
+%% Patrick W. Daly, dem Entwickler des Natbib-Stils, verdanke ich viele
+%% Anregungen und den steten Ansporn, die DIN-Stile zu verbessern.
+%% Viele an dieser Stelle ungenannt bleibende Anwender haben mich in
+%% den vergangenen Jahren auf Fehler oder Verbesserungsmoeglichkeiten
+%% aufmerksam gemacht und so diesen Stil mitentwickelt. Ihnen gilt mein
+%% besonderer Dank. Ihr Feedback ist immer willkommen und eine Ermunterung.
+%%
+%% Klaus F. Lorenzen
+%%
+%%
+%%
+%% HINWEIS: Neben den vier bibliographischen DIN 1505 Standard-Stilen
+%% nach den Original-styles von Oren Patashnik
+%% gibt es zusaetzlich vier DIN 1505 Modifikationen der style
+%% Emulationen des NATBIB-Pakets von Patrick W.Daly.
+%% In den NATBIB-Modifikationen werden jetzt alle von P.W. Daly
+%% implementierten Zitierweisen des Autor-Jahr-Stils unterstuetzt.
+%% Damit erhaelt der Anwender eine weit ueber die urspruenglichen
+%% Standardstyles hinausreichende Flexibilitaet beim Zitieren.
+%% Naeheres unter URL http://www.haw-hamburg.de/pers/Lorenzen/bibtex/
+%%
+%%
+%% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+% version 0.99c for BibTeX versions 0.99c or later, LaTeX2e
+% Copyright (C) 1985, all rights reserved.
+% Copying of this file is authorized only if either
+% (1) you make absolutely no changes to your copy, including name, or
+% (2) if you do make changes, you name it something other than
+% plaindin.bst, unsrtdin.bst, alphadin.bst, and abbrvdin.bst.
+% This restriction helps ensure that all standard styles are identical.
+% The file btxbst.doc has the original documentation for style 'alpha'.
+%%
+%% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+%%
+%% NEUE FELDER
+%% Zur Erfassung der neuen digitalen Online-Medien z.B. Internetquellen, E-journals, E-books,
+%% E-mail u.a. gibt es die zusaetzlichen Felder: doi, url, urn, lastchecked
+%% Internetquellen werden vorzugsweise mit dem BOOKLET-Typ erfasst.
+%% Normen, Patente, Schutzrechte sind mit dem MISC-Typ zu erfassen.
+%
+%
+ENTRY
+ { address %% Verlagsort
+ author %% persoenlicher Urheber eines Werkes
+ booktitle %% a) Gesamttitel eines mehrbaendigen Werkes
+% %% b) Titel des Sammelwerks, das einzelne selbstaendige
+% %% Beitraege mit eigenem Titel enthaelt (->incollection)
+ chapter %% Kapitel in einem Buch (Monographie)
+ doi %%% Digital Object Identifier
+ edition %% Auflagevermerk; bei selbst. elektron. Dok. == Version
+ editor %% Persoenl.Herausgeber oder Koerperschaftlicher Herausgeber
+ howpublished %% beliebiger Verlegervermerk: von wem, wo
+ institution %% Institution, die e.Verlagsfreie Veroeffentlichung betreibt
+ isbn %% Standardnr fuer Buecher
+ issn %% - " - : Zeitschriften u. Serien
+ journal %% Titel einer Zeitschrift
+ key %% Zusaetzlich vergebener Sortierschluessel, mitunter notwend.
+ lastchecked %% Online Abruf einer Internetquelle ( GRAY ); 22.1.2004
+ month %% naehere Bestimmung des Erscheinungsjahres (-> macro 's)
+ note %% freies Eingabefeld fuer zusaetzliche Informationen
+ number %% Mehrfachbedeutung in Abhaengigkeit vom Eingabetyp
+ organization %% a) Name der Organisation/des Organisators e. Tagung,Konferenz
+% %% b) Name einer Firma/Gesellschaft, die ein ->manual herausgab
+ pages %% Umfangsangaben, meist Seitenzahlen
+ publisher %% Verlag
+ school %% Hochschule/Universitaet, die eine Dipl.-Arb./Dissertation veroeff.
+ series %% Titel e.Reihe, in der ein best. Buchtitel erschienen ist
+ title %% Titel einer (namentlich gekennzeichneten) Veroeffentlichung
+ type %% Zusatzfeld z.Kennzeichnung e.besonderen Publikationstyps
+ url %%% Internet-Adresse URL ( Uniform Resource Locator )
+ urn %% Persistent Identifier URN ( Uniform Resource Name )
+ volume %% a) Zaehlung bei einem mehrbaendigen Werk (-> book)
+% %% b) Jahrgang einer Zeitschrift (-> article
+ year %% Erscheinungsjahr
+ }
+ {}
+ { label extra.label sort.label }
+
+%% Variablen-Vereinbarungen
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+INTEGERS { colon.after period.dash }
+
+INTEGERS { after.firstblock }
+
+%% fuer die Namensbehandlung
+
+INTEGERS { zahl lang }
+
+INTEGERS { nameptr namesleft numnames }
+
+INTEGERS { ptr collation collrest }
+
+%% fuer die Sortierung bei der label-Produktion
+INTEGERS { len }
+
+INTEGERS { number.label longest.label.width }
+%%----------------------------------------------------------------------
+
+STRINGS { h s t u v w }
+
+%% bei der Behandlung der Namen-Funktionsbezeichnung (Hrsg., Redakt., usw)
+STRINGS { fkt }
+
+%% fuer die label-Produktion
+STRINGS { longest.label }
+
+%%%----------------------------------------------------------------------------
+% Einige Standardvorgaben, die vom Benutzer veraendert werden koennen.
+%%%----------------------------------------------------------------------------
+
+% Abkuerzung ("... und andere") bei Mehrverfasserquellen:
+
+FUNCTION { ua.etal } { " u.\,a." } %% evtl. auch in eckigen Klammern " [u.\,a.]"
+
+%% oder lateinisch: FUNCTION { ua.etal } { " et~al." }
+
+FUNCTION { und } { " u. " }
+
+%% oder ausgeschrieben: FUNCTION { und } { " und " }
+%
+% Einige elektronische Medien erhalten nach DIN 1505 eine "Ergaenzende Angabe"
+% zusaetzlich zum materiellen Typ, z.B. CD ROM oder DVD u.a.:
+
+FUNCTION { eress } { "Elektronische Ressource" }
+
+%%%-----------------------------------------------------------------------------------
+
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #4 'colon.after :=
+ #5 'period.dash :=
+ #6 'after.firstblock :=
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ { write$ }
+ { output.state colon.after =
+ { ": " * write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state period.dash =
+ { ". -- " * write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.sentence =
+ { " " * write$ }
+ { output.state after.firstblock =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { write$
+ newline$
+ "\newblock " write$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ after.block 'output.state :=
+ }
+ if$
+ s
+ }
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$%
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ write$
+ newline$
+}
+
+FUNCTION {set.period.dash} %% Wenn ein ". - " die Satzteile trennen soll.!
+{ output.state before.all =
+ 'skip$
+ { period.dash 'output.state := }
+ if$
+}
+
+FUNCTION {set.period.dash.check}
+{ empty$
+ 'skip$
+ 'set.period.dash
+ if$
+}
+
+FUNCTION {set.colon.after} %%$$$ Wenn ein ": " d. Satzteile trennen soll!
+{ output.state before.all =
+ 'skip$
+ { colon.after 'output.state := }
+ if$
+}
+
+%% Wenn ein " " die Satzteile trennen soll.!
+FUNCTION {new.sentence}
+{ output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+}
+
+%% Wenn ein ", " die Satzteile trennen soll.!
+FUNCTION { part.of.sentence }
+{ output.state before.all =
+ 'skip$
+ { mid.sentence 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+
+FUNCTION { capitalize }
+ { duplicate$ empty$
+ { pop$ "" }
+ { "\textsc{" swap$ * "}" * }
+ if$
+}
+
+FUNCTION {article.in.journal}
+{ duplicate$ empty$
+ { pop$ "" }
+ { author missing$ title missing$ and
+ { emphasize }
+ { emphasize "{In: }" swap$ * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.doi}
+{ doi empty$
+ { "" }
+ { new.block " \url{http://dx.doi.org/" doi * "}" *
+ %% { new.block " \url{http://dx.medra.org/" doi * "}" *
+ }
+ if$
+}
+
+FUNCTION {format.url}
+{ urn missing$
+ { doi missing$
+ { url empty$
+ { "" }
+ { type empty$ NOT
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ { type$ "incollection" =
+ { "" }
+ { "\,Absenderadresse: \url{" url * "}" * }
+ if$
+ }
+ { "\url{" url * "}" * }%% evtl. "URL" oder "<...>"
+ if$
+ }
+ { "\url{" url * "}" * } %% evtl. "URL" oder "<...>"
+ if$
+ }
+ if$
+ }
+ { format.doi }
+ if$
+ }
+ { "\url{http://nbn-resolving.de/urn/resolver.pl?urn=" urn * "}" *
+ }
+ if$
+}
+
+FUNCTION {format.maillist.url}
+ { url empty$
+ { "" }
+ { type empty$
+ { "" }
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ { "\url{" url * "}" * }
+ { "" }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+
+%% Adelspraedikate beim Sortieren nach den(m) Vornamen auffuehren
+%% Abweichend v. DIN !!!
+FUNCTION {format.names}
+{ 's :=
+ "" 'u :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {
+ s nameptr "{ll}" format.name$ 't :=
+ t capitalize 't :=
+ s nameptr "{ jj}" format.name$ 'w :=
+ s nameptr "{, f.~}{ vv}{ jj}" format.name$ 'u :=
+ u text.length$ 'lang :=
+ #1 'zahl :=
+ "" 'v :=
+ { zahl lang < }
+ { u zahl #1 substring$ "~" =
+ { v "" =
+ { u #1 zahl #1 - substring$ 'v := }
+ 'skip$
+ if$
+ v u zahl #2 substring$ * "." * w * 'v :=
+ }
+ 'skip$
+ if$
+ zahl #1 + 'zahl := }
+ while$
+ v "" =
+ { u 'v := }
+ 'skip$
+ if$
+ t v * fkt * 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { " ; " * t * }
+ { numnames #2 >
+ { " " * }
+ 'skip$
+ if$
+ t "\textsc{others}" = t "\textsc{others} (Hrsg.)" = or
+ { ua.etal * }
+ { " ; " * t * }
+ if$
+ }
+ if$ %% Ende der namesleft-Pruefung
+ }
+ 't
+ if$ %% Ende der nameptr-Pruefung
+
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$ %% Ende von { namesleft #0 > } ganz oben
+ "" 'fkt := %% fkt wird zurueckgesetzt
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { author empty$
+ { "empty author and editor in " cite$ * warning$ "" }
+ 'skip$
+ if$
+ }
+ { author empty$
+ { " (Hrsg.)" 'fkt :=
+ editor format.names
+ }
+ { " (Hrsg.)" 'fkt :=
+ " ; " * editor format.names *
+ }
+ if$
+ }
+ if$
+ }
+
+%% 2005-11-11
+FUNCTION { format.authors.organization }
+{ type$ "misc" =
+ { organization empty$
+ { author empty$
+ { "" }
+ { author format.names " (Erfinder)" * }
+ if$
+ }
+ { author empty$
+ { organization }
+ { author format.names " (Erfinder); " *
+ organization * " (Anmelder)" *
+ }
+ if$
+ }
+ if$
+ }
+ { type$ "manual" =
+ { organization empty$
+ { format.authors }
+ { author empty$
+ { organization capitalize " (Hrsg.)" * }
+ { author format.names }
+ if$
+ }
+ if$
+ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+
+
+FUNCTION { format.editors.organization }
+{ organization empty$
+ 'skip$
+ { type$ "misc" =
+ { organization }
+ { * " ; " * organization " (Veranst.)" *}
+ if$
+ }
+ if$
+}
+
+FUNCTION { format.tr.institution }
+{ institution empty$
+ 'skip$
+ { institution capitalize }
+ if$
+}
+
+FUNCTION {format.ed.incoll}
+{ editor empty$
+ { "" }
+ { " (Hrsg.)" 'fkt :=
+ editor format.names
+ format.editors.organization
+ }
+ if$
+}
+
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title } %% Text so wie er dasteht im Feld title
+ if$
+}
+
+FUNCTION {format.number}
+{ number empty$
+ { "" }
+ { number " " * } %% Text so wie er im Feld number steht plus " "
+ if$
+}
+
+
+FUNCTION {format.type}
+{ type empty$
+ { "" }
+ { type " " * } %% Text wie er dasteht; Schutzrecht, Norm etc.
+ if$
+}
+
+FUNCTION {format.digital.type}
+{ type empty$
+ { "" }
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ { "" }
+ { type } %% Typ einer digitalen Ressource in Form einer
+ %% "Ergaenzenden Angabe", so wie er dasteht;
+ %% Alternativ kann dieser Text auch in NOTE erfasst werden.
+ if$
+ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+%% Auflagenvermerke gibt man komplett, einschliesslich Abkuerzungen in
+%% das Feld edition ein: ---> EDITION= { 3., erw. und verb. Aufl. }
+%% oder fremdsprachlich: EDITION= { 2nd edition }
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { edition }
+ if$
+}
+
+FUNCTION {format.date}
+{ year duplicate$ empty$
+ { "empty year in " cite$ * warning$
+ pop$ "" }
+ 'skip$
+ if$
+ month empty$
+ 'skip$
+ { type$ "book" =
+ type$ "inbook" =
+ OR
+ 'skip$
+ { month " " * swap$ * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.edition.or.date}
+{ edition empty$ year empty$ and
+ { "" }
+ { edition empty$
+ { type empty$ NOT
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ { " gesendet: " "-- " type * swap$ *
+ format.date *
+ }
+ { "\,Version:\,"
+ format.date *
+ }
+ if$
+ }
+ { "\,Version:\,"
+ format.date *
+ }
+ if$
+ }
+ { year empty$
+ { "\,Version:\," edition * }
+ { "\,Version:\," edition * ", " *
+ format.date *
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.version.url}
+{ url empty$ doi empty$ urn empty$ and and
+ { type$ "techreport" =
+ { format.edition }
+ { "" }
+ if$
+ }
+ { format.edition.or.date output format.url }
+ if$
+}
+
+FUNCTION {format.edition.or.version}
+{ url empty$ doi empty$ urn empty$ and and
+ { format.edition }
+ { format.edition.or.date }
+ if$
+}
+
+FUNCTION {format.address.publisher.year}
+{ publisher empty$
+ { address empty$
+ { year empty$
+ { "" }
+ { url empty$
+ { year }
+ { "" }
+ if$
+ }
+ if$
+ }
+ { "there's an address but no publisher in " cite$ * warning$
+ address ", " * format.date *
+ }
+ if$
+ }
+ { url empty$%%%% wenn es URL gibt wird nur die service-provider Adresse
+%%% ausgegeben, die im publisher-Feld steht
+ { address empty$
+ { year empty$
+ { "neither address nor publication date in " cite$ * warning$
+ publisher
+ }
+ { publisher ", " * format.date * }
+ if$
+ }
+ { year empty$
+ { address " : " * publisher * }
+ { address " : " * publisher * ", " * format.date * }
+ if$
+ }
+ if$
+ }
+ { publisher }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.howpublished}
+{ url missing$ urn missing$ doi missing$ AND AND
+ { howpublished empty$
+ { address empty$
+ { type empty$
+ { "" }
+ { type #-1 #4 substring$ "mail" =
+ { "(gesendet: " new.sentence
+ format.date * ")" *
+ }
+ { "" }
+ if$
+ }
+ if$
+ format.date *
+ }
+ { address ", " * format.date * }
+ if$
+ }
+ { address empty$
+ { howpublished ", " * format.date * }
+ { address " : " * howpublished * ", " * format.date * }
+ if$
+ }
+ if$
+ }
+ { howpublished empty$
+ { "" }
+ { howpublished }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.lastchecked.or.type}
+{ lastchecked empty$
+ { url empty$ doi empty$ urn empty$ and and
+ { type empty$
+ { skip$ }
+ { type set.period.dash.check
+ type output
+ }
+ if$
+ }
+ { type empty$
+ { skip$ }
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ { skip$ }
+ { type set.period.dash.check
+ type output }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ { url empty$ doi empty$ urn empty$ and and
+ { "there's a lastchecked date but no url, urn or doi in "
+ cite$ * warning$
+ }
+ { type empty$
+ { "there's a URL and a lastchecked date but no type in "
+ cite$ * warning$
+ }
+ { type set.period.dash.check
+ type output
+ part.of.sentence
+ lastchecked "Abruf: " swap$ * output
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {format.btitle.vol}
+{ number empty$
+ { series empty$
+ { volume empty$
+ { title emphasize }
+ { title emphasize ". Bd." * volume tie.or.space.connect }
+ if$
+ }
+ { volume empty$
+ { title emphasize }%% ein Buch, das zusaetzl. SERIES=Reihentitel besitzt
+ %% jetzt kommt d. Fall des mehrbaendigen Werkes mit Gesamttitel=SERIES
+ %% Zaehlung=VOLUME und Bandtitel=TITLE;
+ { series emphasize ". Bd." * volume tie.or.space.connect
+ ": " * "{\emph{" * title * "}}" * }
+ if$
+ }
+ if$%% series-test
+ }
+ { title emphasize }%% wenn number ex., dann immer title-Feld
+ if$%% Ende number-test
+}
+
+FUNCTION {format.series.number.din}
+{ volume empty$
+ { number empty$
+ { series empty$
+ { "" }
+ { "(" series * ")" * } %% d. Seriennr koennte auch gleich hier
+ %% im SERIES-Feld miterfasst werden
+ if$
+ }
+ { series empty$
+ { "(" number * ")" *
+ "there's a number but no series in " cite$ * warning$
+ }
+ { "(" series * number tie.or.space.connect ")" * }
+ if$
+ }
+ if$
+ }
+ { series empty$
+ { "" }
+ { type$ "proceedings" = %% Sonderfall, es darf VOLUME und NUMBER ex. !
+ type$ "inproceedings" = OR
+ { number empty$
+ { "(" series * ")" * }
+ { "(" series * number tie.or.space.connect ")" * }
+ if$
+ }
+ { "" }%% Ausstieg mit Nullstring, s. Kommentar
+ if$
+ }%% bei gezaehlten Reihen MUSS die Reihennr. im Feld NUMBER stehen!
+ if$ %% wenn also d. Feld VOLUME nicht leer ist, dann liegt ausser bei
+ %% Typ PROCEEDINGS falsche
+ } %% Erfassung vor und es erfolgt d. Ausstieg mit d. Nullstring!
+ if$
+}
+
+FUNCTION {format.tr.series.or.number}
+{ number empty$
+ { series empty$
+ { "" }
+ { "(" series * ")" * }
+ if$
+ }
+ { series empty$
+ { "(" number * ")" * }
+ { "(" series * number tie.or.space.connect ")" * }
+ if$
+ }
+ if$
+ }
+
+FUNCTION {format.misc.series}
+{ series empty$
+ { "" }
+ { "(" series * ")" * }
+ if$
+}
+
+FUNCTION { format.doi.urn }
+{ urn empty$
+ { doi empty$
+ { "" }
+ { "DOI" doi n.dashify tie.or.space.connect }
+ if$
+ }
+ { "URN" urn n.dashify tie.or.space.connect }
+ if$
+}
+
+FUNCTION { format.isbn.issn }
+{ isbn empty$
+ { issn empty$
+ { "" }
+ { "ISSN" issn n.dashify tie.or.space.connect }
+ if$
+ }
+ { "ISBN" isbn n.dashify tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { url empty$
+ { "S." pages n.dashify tie.or.space.connect }
+ { pages }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pages.book}
+{ pages empty$
+ { "" }
+ { note empty$ isbn empty$ AND
+ { "" pages n.dashify tie.or.space.connect " S" *
+ add.period$ }
+ { "" pages n.dashify tie.or.space.connect " S" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pages.bkcollation}
+{ pages empty$
+ { "" }
+ { "" pages n.dashify tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.bkpages.collat.check}
+{ 's :=
+ #1 'ptr :=
+ s text.length$ 'collation :=
+ collation #1 =
+ { format.pages.book }
+ {
+ collation 'collrest :=
+ { collrest #0 > }
+ { s ptr #2 substring$ 't :=
+ t "S." =
+ { format.pages.bkcollation
+ #0 'collrest := }
+ { ptr #1 + 'ptr :=
+ collrest #1 - 'collrest :=
+ #1 collrest =
+ { format.pages.book }
+ { skip$ }
+ if$
+ }
+ if$
+ }
+ while$
+ }
+ if$
+}
+
+FUNCTION {format.bkpages.collat.check.alt}
+{ 's :=
+ #1 'ptr :=
+ s text.length$ 'collation :=
+ collation 'collrest :=
+ { collrest #0 > }
+ { s ptr #2 substring$ 't :=
+ t "S." =
+ { format.pages.bkcollation
+ #0 'collrest := }
+ { ptr #1 + 'ptr :=
+ collrest #1 - 'collrest :=
+ #1 collrest =
+ { format.pages.book }
+ { skip$ }
+ if$
+ }
+ if$
+ }
+ while$
+}
+
+
+FUNCTION {format.vol.year.num.pages}
+{ volume field.or.null
+ year empty$
+ { "there's no year in " cite$ * warning$ }
+ { " (" year * ")" * * }
+ if$
+ month empty$
+ 'skip$
+ { ", " month * * }
+ if$
+ number empty$
+ 'skip$
+ { ", Nr. " number * * }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ "" }
+ { title missing$
+ { ", " pages format.bkpages.collat.check * *}
+ { ", " format.pages * *}
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.inbook}
+{ duplicate$ empty$
+ { pop$ "empty chapter in " cite$ * warning$ }
+ { type empty$
+ { "\emph{Kapitel\/} " swap$ tie.or.space.connect }
+ { type " " * swap$ * }%% wenn keine bes. Abschnittsform gen. werden soll,
+ %% koennte e. kl. Zwischenraum gewaehlt werden, z.B. " \, "
+ if$
+ }
+ if$
+ }
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "Kapitel " }
+ { url empty$
+ { type }
+ { "Kapitel " }
+ if$
+ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle.din}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { volume empty$
+ { "{In: }" booktitle emphasize * }
+ { "{In: }" booktitle emphasize *
+ " Bd." volume tie.or.space.connect *
+ }
+ if$
+ }
+ { volume empty$
+ { "{In: }" format.ed.incoll * ": " * booktitle emphasize * }
+ { "{In: }" format.ed.incoll * ": " * booktitle emphasize *
+ " Bd." volume tie.or.space.connect *
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.tr.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type
+ }
+ if$
+}
+
+FUNCTION {format.online.lastcheck}
+{ lastchecked empty$
+ { url empty$ doi empty$ urn empty$ and and
+ { skip$ }
+ { "" output }
+ if$
+ }
+ { url empty$ doi empty$ urn empty$ and and
+ { "there's a lastchecked date but no url, urn or doi in "
+ cite$ * warning$
+ }
+ { part.of.sentence
+ lastchecked "Abruf: " swap$ * output
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.maillist.lastcheck}
+ { type empty$ NOT
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ { format.online.lastcheck }
+ 'skip$
+ if$
+ }
+ 'skip$
+ if$
+ }
+
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "{In: }{\emph " journal * "}" * }
+ if$
+ }
+ { "{In: }" key * }
+ if$
+ "\cite{" * crossref * "}" * ", " * format.pages *
+}
+
+FUNCTION {format.crossref.editor}
+ { editor #1 "{ll}" format.name$ " (Hrsg.)" *
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ ua.etal * }%% --->u. a.
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { ua.etal }
+
+ { " ; " * editor #2 "{vv~}{ll}" format.name$ * " (Hrsg.)" * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.inbk.vol.title}
+{ volume empty$
+ { " In: " }
+ { title empty$
+ { " In: Bd." volume tie.or.space.connect
+ " von " *
+ }
+ { "In: Bd." volume tie.or.space.connect ": " * title emphasize *
+ " (" * year * ") in " *
+ }
+ if$
+ }
+ if$
+ }
+
+
+FUNCTION {format.book.crossref}
+{ type$ "inbook" =
+ { format.inbk.vol.title }
+ { volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ " "
+ }
+ { ". -- Bd." volume tie.or.space.connect
+ " von " *
+ }
+ if$
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { "" * }
+ if$
+ "\cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "{In: }{\emph " booktitle * "}" * }%%
+ if$
+ }
+ { "{In: }" }
+ if$
+ }
+ { "{In: }" }
+ if$
+ "\cite{" * crossref * "}" * %% ", " * format.pages * 5.12.2005
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ set.colon.after
+ format.title "title" output.check
+ crossref missing$
+ { journal article.in.journal output.nonnull
+ new.sentence
+ format.vol.year.num.pages output
+ format.url output
+ }
+ { format.article.crossref output.nonnull }
+ if$
+ format.online.lastcheck
+ doi set.period.dash.check
+ urn set.period.dash.check
+ format.doi.urn output
+ issn set.period.dash.check
+ format.isbn.issn output
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors format.editors output.nonnull }
+ if$
+ set.colon.after
+ crossref missing$
+ { format.btitle.vol "title" output.check }
+ { format.btitle "title" output.check }
+ if$
+ format.edition output
+ format.address.publisher.year "publisher" output.check
+ new.sentence
+ crossref missing$
+ { format.series.number.din output }
+ { format.book.crossref output.nonnull }
+ if$
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+ format.doi output
+ format.url output
+ new.block
+ isbn set.period.dash.check
+ format.isbn.issn output
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors format.editors output.nonnull }
+ if$
+ set.colon.after
+ format.btitle "title" output.check
+ format.edition.or.version output
+ format.url output
+ format.online.lastcheck
+ format.howpublished output
+ series new.sentence.checka
+ format.series.number.din output
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+ type set.period.dash.check
+ format.digital.type output
+ doi set.period.dash.check
+ urn set.period.dash.check
+ format.doi.urn output
+ note set.period.dash.check
+ note output
+ format.isbn.issn output
+ fin.entry
+}
+
+
+FUNCTION {inbook}
+{ output.bibitem
+ chapter format.chapter.inbook output.nonnull
+ crossref missing$
+ { author empty$
+ { format.editors "\,{In:\,}" swap$ * "author and editor" output.check }
+ { format.authors "\,{In:\,}" swap$ * output.nonnull }
+ if$
+ author empty$ editor empty$ AND
+ { before.all 'output.state := }
+ { set.colon.after }
+ if$
+ format.btitle.vol "title" output.check
+ format.edition output
+ format.address.publisher.year "publisher" output.check
+ new.sentence
+ format.series.number.din output
+ isbn set.period.dash.check
+ format.isbn.issn output
+ }
+ { format.book.crossref output.nonnull }
+ if$
+ part.of.sentence
+ format.pages output
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ set.colon.after
+ format.title "title" output.check
+ format.version.url output
+ type empty$ NOT
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ 'skip$
+ { format.online.lastcheck }
+ if$
+ }
+ { format.online.lastcheck }
+ if$
+ crossref missing$
+ { format.in.ed.booktitle.din "booktitle" output.check
+ format.edition output
+ format.address.publisher.year "publisher" output.check
+ format.maillist.url output
+ format.maillist.lastcheck
+ new.sentence
+ format.series.number.din output
+ doi set.period.dash.check
+ urn set.period.dash.check
+ format.doi.urn output
+ isbn set.period.dash.check
+ issn set.period.dash.check
+ format.isbn.issn output
+ }
+ { format.incoll.inproc.crossref output.nonnull }
+ if$
+ part.of.sentence
+ format.chapter.pages "pages" output.check
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ set.colon.after
+ format.title "title" output.check
+ crossref missing$
+ { format.in.ed.booktitle.din "booktitle" output.check
+ address empty$
+ { organization new.sentence.checka
+ organization output
+ part.of.sentence
+ format.address.publisher.year output
+ }
+ { format.address.publisher.year "publisher" output.check }
+ if$
+ new.sentence
+ series empty$
+ 'skip$
+ { format.series.number.din output }
+ if$
+ isbn set.period.dash.check
+ issn set.period.dash.check
+ format.isbn.issn output
+ }
+ { format.incoll.inproc.crossref output.nonnull }
+ if$
+ part.of.sentence
+ format.pages "pages" output.check
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }%% nach Patashnik, wg US-Kompatibilitaet
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ { title empty$
+ 'skip$
+ {format.btitle "title" output.check }
+ if$
+ }
+ 'skip$
+ if$
+ }
+ 'skip$
+ if$
+ format.authors.organization output.nonnull
+ set.colon.after
+ format.btitle "title" output.check
+ format.edition "edition" output.check
+ author empty$ organization empty$ AND
+ { address "address" output.check
+ part.of.sentence
+ }
+ { organization empty$
+ { address "address" output.check
+ part.of.sentence
+ }
+ { address ": " * organization * output
+ part.of.sentence
+ }
+ if$
+ }
+ if$
+ format.date output
+ number empty$
+ 'skip$
+ { "(" number * ") " * output }
+ if$
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+ format.doi output
+ format.url output
+ format.online.lastcheck
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+%% Standard ist "Diplomarbeit", anderes mit TYPE="anderer Typ" erfassen!
+%% z.B. TYPE={Hausarbeit}, TYPE={Diss.}, TYPE={Habil.}, TYPE={Magisterarb.}
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ set.colon.after
+ format.btitle "title" output.check
+ address output
+ part.of.sentence
+ school "school" output.check
+ part.of.sentence
+ "Diplomarbeit" format.thesis.tr.type output.nonnull
+ part.of.sentence
+ format.date "year" output.check
+ format.url output
+ format.online.lastcheck
+ doi set.period.dash.check
+ urn set.period.dash.check
+ format.doi.urn output
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis} %% {mastersthesis}% ist identisch bis auf Standardwert, s.o.
+{ output.bibitem
+ format.authors "author" output.check
+ set.colon.after
+ format.btitle "title" output.check
+ address output
+ part.of.sentence
+ school "school" output.check
+ part.of.sentence
+ "Diss." format.thesis.tr.type output.nonnull % koennte auch `Dissertation' sein
+ part.of.sentence
+ format.date "year" output.check
+ format.url output
+ format.online.lastcheck
+ doi set.period.dash.check
+ urn set.period.dash.check
+ format.doi.urn output
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+
+%% Normen, Vornormen, Schutzrechte (Patente) werden hiermit erfasst;
+%% (z.Zt. auch noch Internetressourcen)
+%% das type-Feld uebernimmt eine wichtige Steuerfunktion:
+FUNCTION {misc}
+{ output.bibitem
+ type missing$ not
+ { type duplicate$ #1 #4 substring$ "Norm" =
+ type #1 #4 substring$ "Vorn" = OR
+ { " " *
+ format.number * output
+ new.sentence
+ format.date output
+ title empty$
+ { skip$ }
+ { add.period$ new.sentence }
+ if$
+ format.btitle "title" output.check
+ note set.period.dash.check
+ note output
+ }
+ { duplicate$ #1 #6 substring$ "Schutz" =
+ { " " * format.number * output
+ new.sentence
+ "(" * format.date ")" * output
+ add.period$ new.sentence
+ format.authors.organization add.period$ output
+ note output
+ }
+ %% wenn irgendein anderer Typ eingetragen ist
+ { pop$ pop$ ""
+ title empty$
+ { note empty$
+ { url empty$
+ { "there's no relevant field in " cite$ warning$
+ pop$ ""
+ }
+ { format.url output }%%%
+ if$
+ }
+ { note " " * output.nonnull }
+ if$
+ }
+ { author empty$
+ { editor empty$
+ { organization empty$
+ { skip$ }
+ { format.editors.organization output.nonnull
+ set.colon.after
+ }
+ if$
+ }
+ { format.editors format.editors.organization
+ output.nonnull set.colon.after
+ }
+ if$
+ }
+ { format.authors format.editors output.nonnull
+ set.colon.after
+ }
+ if$
+ format.btitle output.nonnull
+ url empty$
+ { format.edition output
+ format.howpublished output}
+ { format.howpublished output
+ format.edition.or.date output
+ format.url output
+ }
+ if$
+ format.online.lastcheck
+%% format.lastchecked.or.type
+ new.sentence
+ format.misc.series output
+%% note set.period.dash.check
+ note output
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ %% wenn es keinen type gibt
+ { title empty$
+ { note empty$
+ { url empty$
+ { "there's no relevant field in " cite$ warning$
+ pop$ ""
+ }
+ { format.url output }%%% das waere e. reine URL
+ if$
+ }
+ { note " " * output.nonnull }
+ if$
+ }
+ { author empty$
+ { editor empty$
+ { organization empty$
+ { skip$ }
+ { format.editors.organization output.nonnull
+ set.colon.after
+ }
+ if$
+ }
+ { format.editors format.editors.organization
+ output.nonnull set.colon.after
+ }
+ if$
+ }
+ { format.authors format.editors output.nonnull
+ set.colon.after
+ }
+ if$
+ format.btitle output.nonnull
+ url empty$
+ { format.edition output
+ format.howpublished output}
+ { format.howpublished output
+ format.url output
+ format.edition.or.date output
+ format.online.lastcheck
+%% format.lastchecked.or.type
+ }
+ if$
+ new.sentence
+ format.misc.series output
+ note set.period.dash.check
+ note output
+ }
+ if$
+ }
+ if$
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization empty$
+ { "empty organization and editor in " cite$ * warning$ }
+ { organization " (Veranst.)" * output }
+ if$
+ }
+ { format.editors format.editors.organization output.nonnull }
+ if$
+ set.colon.after
+ format.btitle "title" output.check
+ volume empty$
+ { skip$ }
+ { "{\textnormal{Bd.}}" volume tie.or.space.connect emphasize "volume" output.check }
+ if$
+ format.address.publisher.year "publisher" output.check
+ new.sentence
+ format.series.number.din output.nonnull
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+ isbn set.period.dash.check
+ issn set.period.dash.check
+ format.isbn.issn output
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ format.tr.institution output.nonnull }
+ { format.authors format.editors output.nonnull }
+ if$
+ set.colon.after
+ format.title "title" output.check
+ institution empty$
+ 'skip$
+ { author empty$ editor empty$ AND
+ 'skip$
+ { institution new.sentence.checka
+ "/ " institution * output.nonnull
+ }
+ if$
+ }
+ if$
+ format.version.url output
+ format.online.lastcheck
+ format.address.publisher.year output
+ number new.sentence.checka
+ format.tr.series.or.number "number" output.check
+ "Forschungsbericht" format.thesis.tr.type set.period.dash.check
+ "Forschungsbericht" format.thesis.tr.type output
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+ isbn set.period.dash.check
+ issn set.period.dash.check
+ format.isbn.issn output
+ note set.period.dash.check
+ note "note" output.check
+ fin.entry
+}
+
+
+FUNCTION {unpublished} {misc}
+
+FUNCTION {default.type} { misc }
+
+%%-------------------------- abgekuerzte Monatsnamen --------------
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Febr."}
+
+MACRO {mar} {"M{\^^b a}rz"}
+
+MACRO {apr} {"Apr."}
+
+MACRO {mai} {"Mai"}
+
+MACRO {may} {"Mai"}
+
+MACRO {jun} {"Jun."}
+
+MACRO {jul} {"Jul."}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {okt} {"Okt."}
+
+MACRO {oct} {"Okt."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dez} {"Dez."}
+
+MACRO {dec} {"Dez."}
+
+%%$$$ stillgelegte Beispiele fuer den Gebrauch von Kuerzeln (hier Zs-Titel).
+%% im abbrvdin-Stil werden die Zeitschriftennamen abgekuerzt!
+
+%%MACRO {acmcs} {"ACM Comp. Surv."}
+
+%%MACRO {acta} {"Acta Informat."}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{ll{ }}{ ff{ }}{ vv{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { ua.etal * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "Der " #4
+ "Die " #4
+ "Das " #4
+ "Ein " #4
+ "Eine " #5
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+FUNCTION {initialize.longest.label}%% nicht identisch mit der Fkt.im ALPHA-Stil
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE { initialize.longest.label }
+
+ITERATE { longest.label.pass }
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+ newline$
+ "% this bibliography is generated by abbrvdin.bst [8.2] from 2005-12-21"
+ write$ newline$ newline$
+ "\providecommand{\url}[1]{\texttt{#1}}"
+ write$ newline$
+ "\expandafter\ifx\csname urlstyle\endcsname\relax"
+ write$ newline$
+ " \providecommand{\doi}[1]{doi: #1}\else"
+ write$ newline$
+ " \providecommand{\doi}{doi: \begingroup \urlstyle{rm}\Url}\fi"
+ write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib} \ No newline at end of file
diff --git a/biblio/bibtex/contrib/german/din1505/alphadin.bst b/biblio/bibtex/contrib/german/din1505/alphadin.bst
new file mode 100644
index 0000000000..0698026188
--- /dev/null
+++ b/biblio/bibtex/contrib/german/din1505/alphadin.bst
@@ -0,0 +1,2212 @@
+%% ALPHADIN.BST Ausgabe [8.2] 2006-01-02
+%%
+%% ersetzt ABBRVDIN.BST Ausgabe [8.1b4] 15/12/2004
+%% wichtigste Aenderung gegenueber Version [8.1b4]:
+%% die Standardergaenzung "Online-Ressource" bei Internetquellen
+%% ist ersatzlos gestrichen worden (wegen ueberfluessiger Redundanz).
+%%
+%
+%% K.F.Lorenzen (Copyright 1994-2006) email: lorenzen.marxen@t-online.de
+%% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+%% ALPHADIN.BST wurde entwickelt aus Oren Patashnik's BibTeX standard
+%% bibliography style `alpha'. Eine vorgegebene Literaturdatenbank laesst sich
+%% somit beliebig nach Us- oder deutscher DIN 1505-Zitierkonvention
+%% verarbeiten.
+%% Analog zu den 4 US standard styles werden 4 DIN-gerechte bst-style Dateien
+%% veroeffentlicht (alphadin.bst, plaindin.bst, unsrtdin.bst, abbrvdin.bst).
+%% Die gueltige Version ist am schnellsten aus dem WWW ueber folgende URL zu
+%% beziehen:
+%% http://www.haw-hamburg.de/pers/Lorenzen/bibtex/
+%% Stand: 2006-01-02
+%% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+%% WAS IST ALPHADIN.BST ?
+%% Dieser style produziert "deutsche" Literaturzitate in Literaturverzeichnis-
+%% sen gemaess der deutschen Norm DIN 1505, Teil 2 vom Jan. 1984.
+%% Die Literaturzitate werden alphabetisch nach Verfassern sortiert.
+%% Die Zitiermarken im Text und die Ordnungsmarken im Literaturverzeichnis
+%% bestehen aus abgekuerzten Verfasserbuchstaben plus Erscheinungsjahr in
+%% eckigen Klammern. Die vorliegenden DIN-styles gehen ueber einige bibliogra-
+%% phischen Beschraenkungen der Originalstyles hinaus.
+%
+%% Es werden nun auch Elektronische Online / Offline Ressourcen wie Internet-
+%% quellen, CD-ROM usw. verarbeitet. Dazu kommen besondere Publikationsformen
+%% wie Patente, Normen, Karten, Fernsehaufzeichnungen, Gesetzesstellen, Spiele.
+%
+%% Zur Gewaehrleistung der Allgemeingueltigkeit von bib-files gelten in den
+%% DIN-styles die in der Tex-Literatur veroeffentlichten originalen
+%% Definitionen und Regeln fuer die Publikationstypen (entry-types) und die
+%% bibliographischen Felder (fields).
+%% Treten kleinere "Schoenheitsfehler" im fertig gesetzten output auf,
+%% lassen sich diese so gut wie immer durch eine veraenderte
+%% Erfassung im bib-inputfile beseitigen. Oren Patashnik empfiehlt, die
+%% Definition der Felder weit auszulegen. Last but not least koennen
+%% Sie im output-file < *.bbl > noch letzte Hand zur Korrektur ansetzen.
+%
+%% WARN- UND FEHLERMELDUNGEN
+%% Ursache von Warnmeldungen sind meistens ausgelassene Felder oder
+%% Erfassungs-"Fehler". Letztere haengen teilweise mit den gegenueber US-
+%% Gepflogenheiten andersartigen bibliographischen Regeln nach DIN 1505
+%% zusammen. Sie sind also in Wahrheit keine "Fehler" und duerfen fast immer
+%% ignoriert werden. Dennoch pruefen Sie diese Warnungen, um herauszufinden,
+%% ob Publikationstyp (=entry-type) und "fields" eventuell unzulaessig
+%% kombiniert worden sind.
+%% Echte Fehler ("errors") treten nur noch in Verbindung mit falscher
+%% Erfassung auf (nach meinen Tests!). Pruefen Sie die Syntax, den entry-type
+%% und die fields.
+%% Zu guter letzt: Qualitaetsmasstab ist einzig der DIN-konforme output!
+%%
+%% DANKSAGUNG
+%% Hartmut Lueddecke, HAW Hamburg, hat viele Verbesserungsvorschlaege
+%% in die frueheren Versionen eingebracht. Ihm danke ich herzlich.
+%% Patrick W. Daly, dem Entwickler des Natbib-Stils, verdanke ich viele
+%% Anregungen und den steten Ansporn, die DIN-Stile zu verbessern.
+%% Viele an dieser Stelle ungenannt bleibende Anwender haben mich in
+%% den vergangenen Jahren auf Fehler oder Verbesserungsmoeglichkeiten
+%% aufmerksam gemacht und so diesen Stil mitentwickelt. Ihnen gilt mein
+%% besonderer Dank. Ihr Feedback ist immer willkommen und eine Ermunterung.
+%%
+%% Klaus F. Lorenzen
+%%
+%%
+%%
+%% HINWEIS: Neben den vier bibliographischen DIN 1505 Standard-Stilen
+%% nach den Original-styles von Oren Patashnik
+%% gibt es noch vier DIN 1505 Adaptionen der NATBIB-style
+%% Emulationen von Patrick W.Daly. Die Fuelle der darin
+%% implementierten Zitierweisen geht weit ueber die urspruenglichen
+%% Standardstyles hinaus.
+%% Naeheres unter URL http://www.haw-hamburg.de/pers/Lorenzen/bibtex/
+%%
+%%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+%% version 0.99c for BibTeX versions 0.99c or later, LaTeX2e version
+%% Copyright (C) 1985, all rights reserved.
+%% Copying of this file is authorized only if either
+%% (1) you make absolutely no changes to your copy, including name, or
+%% (2) if you do make changes, you name it something other than
+%% alphadin.bst
+%% This restriction helps ensure that all standard styles are identical.
+%%
+%%
+%%
+%%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+%% NEUE FELDER
+%% Zur Erfassung der neuen digitalen Online-Medien z.B. Internetquellen, E-journals, E-books,
+%% E-mail u.a. gibt es die zusaetzlichen Felder: doi, url, urn, lastchecked
+%% Internetquellen werden vorzugsweise mit dem BOOKLET-Typ erfasst.
+%% Normen, Patente, Schutzrechte sind mit dem MISC-Typ zu erfassen.
+
+ENTRY
+ { address %% Verlagsort (immer!)
+ author %% persoenlicher Urheber eines Werkes oder am Zustandekommen
+ %% beteiligte Personen(=Mitarbeiter, Uebersetzer, Redakteur u.a.)
+ booktitle %% a) Gesamttitel eines mehrbaendigen Werkes
+% %% b) Titel des Sammelwerks, das einzelne selbstaendige
+% %% Beitraege mit eigenem Titel enthaelt ->incollection
+ chapter %% Kapitel in einem Buch (Monographie)
+ doi %%% Digital Object Identifier ->article
+ edition %% a) Auflagevermerk
+% %% b) bei selbst. elektron. Quellen == Version ->booklet
+ editor %% Persoenl.Herausgeber oder Koerperschaftlicher Herausgeber
+ howpublished %% beliebiger Verlegervermerk: veroeffentlicht "von wem, wo"
+ institution %% Institution, die e.verlagsfreie Veroeffentlichung betreibt
+ isbn %% Standardnr fuer Buecher
+ issn %% - " - : Zeitschriften u. Serien
+ journal %% Titel einer Zeitschrift
+ key %% Zusaetzlich vergebener Sortierschluessel, mitunter notwend.
+ lastchecked %% neues Feld fuer das Datum des Online-Abrufs
+% %% einer Internetquelle (n. GRAY )
+ month %% naehere Bestimmung des Erscheinungsjahres -> macro 's
+ note %% freies Eingabefeld fuer zusaetzliche Informationen z. Quelle
+ number %% Versch. Bedeutungen in Abhaengigkeit vom Eingabetyp:
+% %% a) Bandnummer einer gezaehlten Reihe (series)
+% %% b) Heftnummer einer Zeitschrift ->article
+% %% c) Nummer eines Forschungsberichts ->techreport
+ organization %% a) Name der Organisation/des Organisators e. Tagung,Konferenz
+% %% b) Name einer Firma/Gesellschaft, die ein ->manual herausgab
+ pages %% Umfangsangaben, meist Seitenzahlen
+ publisher %% Verlag
+ school %% Hochschule/Universitaet, die eine Dipl.-Arb./Dissertation veroeff.
+ series %% Titel e.Reihe, in der ein best. Buchtitel erschienen ist
+ title %% Titel einer (namentlich gekennzeichneten) Veroeffentlichung
+ type %% Zusatzfeld z.Kennzeichnung e.besonderen Publikationstyps
+ url %% neues Feld URL ( Uniform Resource Locator ):
+% %% Serveradresse einer Internetquelle
+ urn %% neues Feld URN ( Uniform Resource Name ):
+% %% Persistent Identifier einer Internetquelle
+ volume %% a) Zaehlung bei einem mehrbaendigen Werk ->book/->proceedings
+% %% b) Jahrgang einer Zeitschrift ->article
+ year %% Erscheinungsjahr
+ }
+ {}
+ { label extra.label sort.label short.list }
+
+%%%----------------------------------------------------------------------------
+% Einige Standardvorgaben, die vom Benutzer veraendert werden koennen.
+%%%----------------------------------------------------------------------------
+
+% Abkuerzung ("... und andere") bei Mehrverfasserquellen:
+
+FUNCTION { ua.etal } { " u.\,a." } %% evtl. auch in eckigen Klammern " [u.\,a.]"
+
+%% oder lateinisch: FUNCTION { ua.etal } { " et~al." }
+
+FUNCTION { und } { " u. " }
+
+%% oder ausgeschrieben: FUNCTION { und } { " und " }
+%
+% Einige elektronische Medien erhalten nach DIN 1505 eine "Ergaenzende Angabe"
+% zusaetzlich zum materiellen Typ, z.B. CD ROM oder DVD u.a.:
+
+FUNCTION { eress } { "Elektronische Ressource" }
+
+%%%-----------------------------------------------------------------------------------
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+INTEGERS { colon.after period.dash }
+
+INTEGERS { after.firstblock }
+
+INTEGERS { zahl lang }
+
+INTEGERS { nameptr namesleft numnames }
+
+INTEGERS { ptr collation collrest }
+
+INTEGERS { len }
+
+INTEGERS { et.al.char.used }
+
+INTEGERS { longest.label.width last.extra.num }
+%-------------------------
+STRINGS { longest.label last.sort.label next.extra }
+
+STRINGS { h s t u v w }
+
+STRINGS { fkt }
+%-------------------------
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #4 'colon.after :=
+ #5 'period.dash :=
+ #6 'after.firstblock :=
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ { write$ }
+ { output.state colon.after =
+ { ": " * write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state period.dash =
+ { ". -- " * write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.sentence =
+ { " " * write$ }
+ { output.state after.firstblock =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { write$
+ newline$
+ "\newblock " write$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ after.block 'output.state :=
+ }
+ if$
+ s
+ }
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$%
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ write$
+ newline$
+}
+
+FUNCTION {set.period.dash} %% Wenn ein ". - " die Satzteile trennen soll.!
+{ output.state before.all =
+ 'skip$
+ { period.dash 'output.state := }
+ if$
+}
+
+FUNCTION {set.period.dash.check}
+{ empty$
+ 'skip$
+ 'set.period.dash
+ if$
+}
+
+FUNCTION {set.colon.after} %%$$$ Wenn ein ": " d. Satzteile trennen soll!
+{ output.state before.all =
+ 'skip$
+ { colon.after 'output.state := }
+ if$
+}
+
+%% Wenn ein " " die Satzteile trennen soll.!
+FUNCTION {new.sentence}
+{ output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+}
+
+%% Wenn ein ", " die Satzteile trennen soll.!
+FUNCTION { part.of.sentence }
+{ output.state before.all =
+ 'skip$
+ { mid.sentence 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+
+FUNCTION { capitalize }
+ { duplicate$ empty$
+ { pop$ "" }
+ { "\textsc{" swap$ * "}" * }
+ if$
+}
+
+
+%% Adelspraedikate beim Sortieren nach den(m) Vornamen auffuehren
+%% Abweichend v. DIN !!!
+FUNCTION {format.names}
+{ 's :=
+ "" 'u :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {
+ s nameptr "{ll}" format.name$ 't :=
+ t capitalize 't :=
+ s nameptr "{ jj}" format.name$ 'w :=
+ s nameptr "{, ff}{ vv}{ jj}" format.name$ 'u :=
+ u text.length$ 'lang :=
+ #1 'zahl :=
+ "" 'v :=
+ { zahl lang < }
+ { u zahl #1 substring$ "~" =
+ { v "" =
+ { u #1 zahl #1 - substring$ 'v := }
+ 'skip$
+ if$
+ v u zahl #2 substring$ * "." * w * 'v :=
+ }
+ 'skip$
+ if$
+ zahl #1 + 'zahl := }
+ while$
+ v "" =
+ { u 'v := }
+ 'skip$
+ if$
+ t v * fkt * 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { " ; " * t * }
+ { numnames #2 >
+ { " " * }
+ 'skip$
+ if$
+ t "\textsc{others}" = t "\textsc{others} (Hrsg.)" = or
+ { ua.etal * }
+ { " ; " * t * }
+ if$
+ }
+ if$ %% Ende der namesleft-Pruefung
+ }
+ 't
+ if$ %% Ende der nameptr-Pruefung
+
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$ %% Ende von { namesleft #0 > } ganz oben
+ "" 'fkt := %% fkt wird zurueckgesetzt
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { author empty$
+ { "empty author and editor in " cite$ * warning$ "" }
+ 'skip$
+ if$
+ }
+ { author empty$
+ { " (Hrsg.)" 'fkt :=
+ editor format.names
+ }
+ { " (Hrsg.)" 'fkt :=
+ " ; " * editor format.names *
+ }
+ if$
+ }
+ if$
+ }
+
+%% 2005-11-11
+FUNCTION { format.authors.organization }
+{ type$ "misc" =
+ { organization empty$
+ { author empty$
+ { "" }
+ { author format.names " (Erfinder)" * }
+ if$
+ }
+ { author empty$
+ { organization }
+ { author format.names " (Erfinder); " *
+ organization * " (Anmelder)" *
+ }
+ if$
+ }
+ if$
+ }
+ { type$ "manual" =
+ { organization empty$
+ { author empty$
+ { "" }
+ { author format.names }
+ if$
+ }
+ { author empty$
+ { organization capitalize " (Hrsg.)" * }
+ { author format.names " ; " *
+ organization capitalize * " (Hrsg.)" *
+ }
+ if$
+ }
+ if$
+ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+
+FUNCTION { format.editors.organization }
+{ organization empty$
+ 'skip$
+ { type$ "misc" =
+ { organization }
+ { * " ; " * organization " (Veranst.)" *}
+ if$
+ }
+ if$
+}
+
+FUNCTION { format.tr.institution }
+{ institution empty$
+ 'skip$
+ { institution capitalize }
+ if$
+}
+
+FUNCTION {format.ed.incoll}
+{ editor empty$
+ { "" }
+ { " (Hrsg.)" 'fkt :=
+ editor format.names
+ format.editors.organization
+ }
+ if$
+}
+
+FUNCTION {article.in.journal}
+{ duplicate$ empty$
+ { pop$ "" }
+ { author missing$ title missing$ and
+ { emphasize }
+ { emphasize "{In: }" swap$ * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title } %% Text so wie er dasteht im Feld title
+ if$
+}
+
+FUNCTION {format.number}
+{ number empty$
+ { "" }
+ { number " " * } %% Text so wie er im Feld number steht plus " "
+ if$
+}
+
+
+FUNCTION {format.digital.type}
+{ type empty$
+ { "" }
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ { "" }
+ { type } %% Typ einer digitalen Ressource in Form einer
+ %% "Ergaenzenden Angabe", so wie er dasteht;
+ %% Alternativ kann dieser Text auch in NOTE erfasst werden.
+ if$
+ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+%% Auflagenvermerke gibt man komplett, einschliesslich Abkuerzungen in
+%% das Feld edition ein: ---> EDITION= { 3., erw. und verb. Aufl. }
+%% oder fremdsprachlich: EDITION= { 2nd edition }
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { edition }
+ if$
+}
+
+FUNCTION {format.date}
+{ year duplicate$ empty$
+ { "empty year in " cite$ * warning$
+ pop$ "" }
+ 'skip$
+ if$
+ month empty$
+ 'skip$
+ { type$ "book" =
+ type$ "inbook" =
+ OR
+ 'skip$
+ { month " " * swap$ * }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.edition.or.date}
+{ edition empty$ year empty$ and
+ { "" }
+ { edition empty$
+ { type empty$ NOT
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ { " gesendet: " "-- " type * swap$ *
+ format.date *
+ }
+ { "\,Version:\,"
+ format.date *
+ }
+ if$
+ }
+ { "\,Version:\,"
+ format.date *
+ }
+ if$
+ }
+ { year empty$
+ { "\,Version:\," edition * }
+ { "\,Version:\," edition * ", " *
+ format.date *
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.doi}
+{ doi empty$
+ { "" }
+ { new.block "\url{http://dx.doi.org/" doi * "}" *
+ %% { new.block "\url{http://dx.medra.org/" doi * "}" *
+ }
+ if$
+}
+
+FUNCTION {format.url}
+{ urn missing$
+ { doi missing$
+ { url empty$
+ { "" }
+ { type empty$ NOT
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ { type$ "incollection" =
+ { "" }
+ { "\,Absenderadresse: \url{" url * "}" * }
+ if$
+ }
+ { "\url{" url * "}" * }%% evtl. "URL" oder "<...>"
+ if$
+ }
+ { "\url{" url * "}" * } %% evtl. "URL" oder "<...>"
+ if$
+ }
+ if$
+ }
+ { format.doi }
+ if$
+ }
+ { "\url{http://nbn-resolving.de/urn/resolver.pl?urn=" urn * "}" *
+ }
+ if$
+}
+
+FUNCTION {format.maillist.url}
+ { url empty$
+ { "" }
+ { type empty$
+ { "" }
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ { "\url{" url * "}" * }
+ { "" }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+
+
+FUNCTION {format.version.url}
+{ url empty$ doi empty$ urn empty$ and and
+ { type$ "techreport" =
+ { format.edition }
+ { "" }
+ if$
+ }
+ { format.edition.or.date output format.url }
+ if$
+}
+
+FUNCTION {format.edition.or.version}
+{ url empty$ doi empty$ urn empty$ and and
+ { format.edition }
+ { format.edition.or.date }
+ if$
+}
+
+FUNCTION {format.online.lastcheck}
+{ lastchecked empty$
+ { url empty$ doi empty$ urn empty$ and and
+ { skip$ }
+ { "" output }
+ if$
+ }
+ { url empty$ doi empty$ urn empty$ and and
+ { "there's a lastchecked date but no url, urn or doi in "
+ cite$ * warning$
+ }
+ { part.of.sentence
+ lastchecked "Abruf: " swap$ * output
+ }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.maillist.lastcheck}
+ { type empty$ NOT
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ { format.online.lastcheck }
+ 'skip$
+ if$
+ }
+ 'skip$
+ if$
+ }
+
+FUNCTION {format.address.publisher.year}
+{ publisher empty$
+ { address empty$
+ { year empty$
+ { "" }
+ { year }
+ if$
+ }
+ { "there's an address but no publisher in " cite$ * warning$
+ address ", " * format.date *
+ }
+ if$
+ }
+ { address empty$
+ { year empty$
+ { "neither address nor publication date in " cite$ * warning$
+ publisher
+ }
+ { publisher ", " * format.date * }
+ if$
+ }
+ { year empty$
+ { address " : " * publisher * }
+ { address " : " * publisher * ", " * format.date * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.address.publisher.year.alt}
+{ publisher empty$
+ { address empty$
+ { year empty$
+ { "" }
+ { url empty$
+ { year }
+ { "" }
+ if$
+ }
+ if$
+ }
+ { "there's an address but no publisher in " cite$ * warning$
+ address ", " * format.date *
+ }
+ if$
+ }
+ { url empty$%%%% wenn es URL gibt wird nur die service-provider Adresse
+%%% ausgegeben, die im publisher-Feld steht
+ { address empty$
+ { year empty$
+ { "neither address nor publication date in " cite$ * warning$
+ publisher
+ }
+ { publisher ", " * format.date * }
+ if$
+ }
+ { year empty$
+ { address " : " * publisher * }
+ { address " : " * publisher * ", " * format.date * }
+ if$
+ }
+ if$
+ }
+ { publisher }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.howpublished}
+{ url missing$ urn missing$ doi missing$ AND AND
+ { howpublished empty$
+ { address empty$
+ { type empty$
+ { "" }
+ { type #-1 #4 substring$ "mail" =
+ { "(gesendet: " new.sentence
+ format.date * ")" *
+ }
+ { "" }
+ if$
+ }
+ if$
+ format.date *
+ }
+ { address ", " * format.date * }
+ if$
+ }
+ { address empty$
+ { howpublished ", " * format.date * }
+ { address " : " * howpublished * ", " * format.date * }
+ if$
+ }
+ if$
+ }
+ { howpublished empty$
+ { "" }
+ { howpublished }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.lastchecked.or.type}%% nur in misc-Funktion
+{ lastchecked empty$
+ { url empty$ doi empty$ urn empty$ and and
+ { type empty$
+ { skip$ }
+ { type set.period.dash.check
+ type output
+ }
+ if$
+ }
+ { type empty$
+ { skip$ }
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ { skip$ }
+ { type set.period.dash.check
+ type output }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ { url empty$ doi empty$ urn empty$ and and
+ { "there's a lastchecked date but no url, urn or doi in "
+ cite$ * warning$
+ }
+ { type empty$
+ { "there's a URL and a lastchecked date but no type in "
+ cite$ * warning$
+ }
+ { type set.period.dash.check
+ type output
+ part.of.sentence
+ lastchecked "Abruf: " swap$ * output
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {format.btitle.vol}
+{ number empty$
+ { series empty$
+ { volume empty$
+ { title emphasize }
+ { title emphasize ". Bd." * volume tie.or.space.connect }
+ if$
+ }
+ { volume empty$
+ { title emphasize }%% ein Buch, das zusaetzl. SERIES=Reihentitel besitzt
+ %% jetzt kommt d. Fall des mehrbaendigen Werkes mit Gesamttitel=SERIES
+ %% Zaehlung=VOLUME und Bandtitel=TITLE;
+ { series emphasize ". Bd." * volume tie.or.space.connect
+ ": " * "{\emph{" * title * "}}" * }
+ if$
+ }
+ if$%% series-test
+ }
+ { title emphasize }%% wenn number ex., dann immer title-Feld
+ if$%% Ende number-test
+}
+
+FUNCTION {format.series.number.din}
+{ volume empty$
+ { number empty$
+ { series empty$
+ { "" }
+ { "(" series * ")" * } %% d. Seriennr koennte auch gleich hier
+ %% im SERIES-Feld miterfasst werden
+ if$
+ }
+ { series empty$
+ { "(" number * ")" *
+ "there's a number but no series in " cite$ * warning$
+ }
+ { "(" series * number tie.or.space.connect ")" * }
+ if$
+ }
+ if$
+ }
+ { series empty$
+ { "" }
+ { type$ "proceedings" = %% Sonderfall, es darf VOLUME und NUMBER ex. !
+ type$ "inproceedings" = OR
+ { number empty$
+ { "(" series * ")" * }
+ { "(" series * number tie.or.space.connect ")" * }
+ if$
+ }
+ { "" }%% Ausstieg mit Nullstring, s. Kommentar
+ if$
+ }%% bei gezaehlten Reihen MUSS die Reihennr. im Feld NUMBER stehen!
+ if$ %% wenn also d. Feld VOLUME nicht leer ist, dann liegt ausser bei
+ %% Typ PROCEEDINGS falsche
+ } %% Erfassung vor und es erfolgt d. Ausstieg mit d. Nullstring!
+ if$
+}
+
+FUNCTION {format.tr.series.or.number}
+{ number empty$
+ { series empty$
+ { "" }
+ { "(" series * ")" * }
+ if$
+ }
+ { series empty$
+ { "(" number * ")" * }
+ { "(" series * number tie.or.space.connect ")" * }
+ if$
+ }
+ if$
+ }
+
+FUNCTION {format.misc.series}
+{ series empty$
+ { "" }
+ { "(" series * ")" * }
+ if$
+}
+
+FUNCTION { format.doi.urn }
+{ urn empty$
+ { doi empty$
+ { "" }
+ { "DOI" doi n.dashify tie.or.space.connect }
+ if$
+ }
+ { "URN" urn n.dashify tie.or.space.connect }
+ if$
+}
+
+FUNCTION { format.isbn.issn }
+{ isbn empty$
+ { issn empty$
+ { "" }
+ { "ISSN" issn n.dashify tie.or.space.connect }
+ if$
+ }
+ { "ISBN" isbn n.dashify tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { url empty$
+ { "S." pages n.dashify tie.or.space.connect }
+ { pages }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pages.book}
+{ pages empty$
+ { "" }
+ { note empty$ isbn empty$ AND
+ { "" pages n.dashify tie.or.space.connect " S" *
+ add.period$ }
+ { "" pages n.dashify tie.or.space.connect " S" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pages.bkcollation}
+{ pages empty$
+ { "" }
+ { "" pages n.dashify tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.bkpages.collat.check}
+{ 's :=
+ #1 'ptr :=
+ s text.length$ 'collation :=
+ collation #1 =
+ { format.pages.book }
+ {
+ collation 'collrest :=
+ { collrest #0 > }
+ { s ptr #2 substring$ 't :=
+ t "S." =
+ { format.pages.bkcollation
+ #0 'collrest := }
+ { ptr #1 + 'ptr :=
+ collrest #1 - 'collrest :=
+ #1 collrest =
+ { format.pages.book }
+ { skip$ }
+ if$
+ }
+ if$
+ }
+ while$
+ }
+ if$
+}
+
+FUNCTION {format.vol.year.num.pages}
+{ volume field.or.null
+ year empty$
+ { "there's no year in " cite$ * warning$ }
+ { " (" year * ")" * * }
+ if$
+ month empty$
+ 'skip$
+ { ", " month * * }
+ if$
+ number empty$
+ 'skip$
+ { ", Nr. " number * * }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ "" }
+ { title missing$
+ { ", " pages format.bkpages.collat.check * *}
+ { ", " format.pages * *}
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.inbook}
+{ duplicate$ empty$
+ { pop$ "empty chapter in " cite$ * warning$ }
+ { type empty$
+ { "\emph{Kapitel\/} " swap$ tie.or.space.connect }
+ { type " " * swap$ * }%% wenn keine bes. Abschnittsform gen. werden soll,
+ %% koennte e. kl. Zwischenraum gewaehlt werden, z.B. " \, "
+ if$
+ }
+ if$
+ }
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "Kapitel " }
+ { url empty$
+ { type }
+ { "Kapitel " }
+ if$
+ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle.din}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { volume empty$
+ { "{In: }" booktitle emphasize * }
+ { "{In: }" booktitle emphasize *
+ " Bd." volume tie.or.space.connect *
+ }
+ if$
+ }
+ { volume empty$
+ { "{In: }" format.ed.incoll * ": " * booktitle emphasize * }
+ { "{In: }" format.ed.incoll * ": " * booktitle emphasize *
+ " Bd." volume tie.or.space.connect *
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.tr.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type
+ }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "{In: }{\emph " journal * "}" * }
+ if$
+ }
+ { "{In: }" key * }
+ if$
+ "\cite{" * crossref * "}" * ", " * format.pages *
+}
+
+FUNCTION {format.crossref.editor}
+ { editor #1 "{ll}" format.name$ " (Hrsg.)" *
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ ua.etal * }%% --->u. a.
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { ua.etal }
+ { " ; " * editor #2 "{vv~}{ll}" format.name$ * " (Hrsg.)" * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.inbk.vol.title}
+{ volume empty$
+ { " In: " }
+ { title empty$
+ { " In: Bd." volume tie.or.space.connect
+ " von " *
+ }
+ { "In: Bd." volume tie.or.space.connect ": " * title emphasize *
+ " (" * year * ") in " *
+ }
+ if$
+ }
+ if$
+ }
+
+
+FUNCTION {format.book.crossref}
+{ type$ "inbook" =
+ { format.inbk.vol.title }
+ { volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ " "
+ }
+ { ". -- Bd." volume tie.or.space.connect
+ " von " *
+ }
+ if$
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { "" * }
+ if$
+ "\cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "{In: }{\emph " booktitle * "}" * }%%
+ if$
+ }
+ { "{In: }" }
+ if$
+ }
+ { "{In: }" }
+ if$
+ "\cite{" * crossref * "}" * %% ", " * format.pages * 5.12.2005
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ set.colon.after
+ format.title "title" output.check
+ crossref missing$
+ { journal article.in.journal output.nonnull
+ new.sentence
+ format.vol.year.num.pages output
+ format.url output
+ }
+ { format.article.crossref output.nonnull }
+ if$
+ format.online.lastcheck
+ doi set.period.dash.check
+ urn set.period.dash.check
+ format.doi.urn output
+ issn set.period.dash.check
+ format.isbn.issn output
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors format.editors output.nonnull }
+ if$
+ set.colon.after
+ crossref missing$
+ { format.btitle.vol "title" output.check }
+ { format.btitle "title" output.check }
+ if$
+ format.edition output
+ format.address.publisher.year "publisher" output.check
+ new.sentence
+ crossref missing$
+ { format.series.number.din output }
+ { format.book.crossref output.nonnull }
+ if$
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+ format.doi output
+ format.url output
+ new.block
+ isbn set.period.dash.check
+ format.isbn.issn output
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors format.editors output.nonnull }
+ if$
+ set.colon.after
+ format.btitle "title" output.check
+ format.edition.or.version output
+ format.url output
+ format.online.lastcheck
+ format.howpublished output
+ series new.sentence.checka
+ format.series.number.din output
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+ type set.period.dash.check
+ format.digital.type output
+ doi set.period.dash.check
+ urn set.period.dash.check
+ format.doi.urn output
+ note set.period.dash.check
+ note output
+ format.isbn.issn output
+ fin.entry
+}
+
+
+FUNCTION {inbook}
+{ output.bibitem
+ chapter format.chapter.inbook output.nonnull
+ crossref missing$
+ { author empty$
+ { format.editors "\,{In:\,}" swap$ * "author and editor" output.check }
+ { format.authors "\,{In:\,}" swap$ * output.nonnull }
+ if$
+ author empty$ editor empty$ AND
+ { before.all 'output.state := }
+ { set.colon.after }
+ if$
+ format.btitle.vol "title" output.check
+ format.edition output
+ format.address.publisher.year "publisher" output.check
+ new.sentence
+ format.series.number.din output
+ isbn set.period.dash.check
+ format.isbn.issn output
+ }
+ { format.book.crossref output.nonnull }
+ if$
+ part.of.sentence
+ format.pages output
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ set.colon.after
+ format.title "title" output.check
+ format.version.url output
+ type empty$ NOT
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ 'skip$
+ { format.online.lastcheck }
+ if$
+ }
+ { format.online.lastcheck }
+ if$
+ crossref missing$
+ { format.in.ed.booktitle.din "booktitle" output.check
+ format.edition output
+ format.address.publisher.year "publisher" output.check
+ format.maillist.url output
+ format.maillist.lastcheck
+ new.sentence
+ format.series.number.din output
+ doi set.period.dash.check
+ urn set.period.dash.check
+ format.doi.urn output
+ isbn set.period.dash.check
+ issn set.period.dash.check
+ format.isbn.issn output
+ }
+ { format.incoll.inproc.crossref output.nonnull }
+ if$
+ part.of.sentence
+ format.chapter.pages "pages" output.check
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ set.colon.after
+ format.title "title" output.check
+ crossref missing$
+ { format.in.ed.booktitle.din "booktitle" output.check
+ address empty$
+ { organization new.sentence.checka
+ organization output
+ part.of.sentence
+ format.address.publisher.year output
+ }
+ { format.address.publisher.year "publisher" output.check }
+ if$
+ new.sentence
+ series empty$
+ 'skip$
+ { format.series.number.din output }
+ if$
+ isbn set.period.dash.check
+ issn set.period.dash.check
+ format.isbn.issn output
+ }
+ { format.incoll.inproc.crossref output.nonnull }
+ if$
+ part.of.sentence
+ format.pages "pages" output.check
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }%% nach Patashnik, wg US-Kompatibilitaet
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ { title empty$
+ 'skip$
+ {format.btitle "title" output.check }
+ if$
+ }
+ 'skip$
+ if$
+ }
+ 'skip$
+ if$
+ format.authors.organization output.nonnull
+ set.colon.after
+ format.btitle "title" output.check
+ format.edition "edition" output.check
+ author empty$ organization empty$ AND
+ { address "address" output.check
+ part.of.sentence
+ }
+ { organization empty$
+ { address "address" output.check
+ part.of.sentence
+ }
+ { address ": " * organization * output
+ part.of.sentence
+ }
+ if$
+ }
+ if$
+ format.date output
+ number empty$
+ 'skip$
+ { "(" number * ") " * output }
+ if$
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+ format.doi output
+ format.url output
+ format.online.lastcheck
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+%% Standard ist "Diplomarbeit", anderes mit TYPE="anderer Typ" erfassen!
+%% z.B. TYPE={Hausarbeit}, TYPE={Diss.}, TYPE={Habil.}, TYPE={Magisterarb.}
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ set.colon.after
+ format.btitle "title" output.check
+ address output
+ part.of.sentence
+ school "school" output.check
+ part.of.sentence
+ "Diplomarbeit" format.thesis.tr.type output.nonnull
+ part.of.sentence
+ format.date "year" output.check
+ format.url output
+ format.online.lastcheck
+%% format.digital.resource.type
+ doi set.period.dash.check
+ urn set.period.dash.check
+ format.doi.urn output
+%% pages set.period.dash.check
+%% format.pages.book output
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis} %% {mastersthesis}% ist identisch bis auf Standardwert, s.o.
+{ output.bibitem
+ format.authors "author" output.check
+ set.colon.after
+ format.btitle "title" output.check
+ address output
+ part.of.sentence
+ school "school" output.check
+ part.of.sentence
+ "Diss." format.thesis.tr.type output.nonnull % koennte auch `Dissertation' sein
+ part.of.sentence
+ format.date "year" output.check
+ format.url output
+ format.online.lastcheck
+%% format.digital.resource.type
+ doi set.period.dash.check
+ urn set.period.dash.check
+ format.doi.urn output
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+%% pages set.period.dash.check
+%% format.pages.book output
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+
+%% Normen, Vornormen, Schutzrechte (Patente) werden hiermit erfasst;
+%% (z.Zt. auch noch Internetressourcen)
+%% das type-Feld uebernimmt eine wichtige Steuerfunktion:
+FUNCTION {misc}
+{ output.bibitem
+ type missing$ not
+ { type duplicate$ #1 #4 substring$ "Norm" =
+ type #1 #4 substring$ "Vorn" = OR
+ { " " *
+ format.number * output
+ new.sentence
+ format.date output
+ title empty$
+ { skip$ }
+ { add.period$ new.sentence }
+ if$
+ format.btitle "title" output.check
+ note set.period.dash.check
+ note output
+ }
+ { duplicate$ #1 #6 substring$ "Schutz" =
+ { " " * format.number * output
+ new.sentence
+ "(" * format.date ")" * output
+ add.period$ new.sentence
+ format.authors.organization add.period$ output
+ note output
+ }
+ %% wenn irgendein anderer Typ eingetragen ist
+ { pop$ pop$ ""
+ title empty$
+ { note empty$
+ { url empty$
+ { "there's no relevant field in " cite$ warning$
+ pop$ ""
+ }
+ { format.url output }%%%
+ if$
+ }
+ { note " " * output.nonnull }
+ if$
+ }
+ { author empty$
+ { editor empty$
+ { organization empty$
+ { skip$ }
+ { format.editors.organization output.nonnull
+ set.colon.after
+ }
+ if$
+ }
+ { format.editors format.editors.organization
+ output.nonnull set.colon.after
+ }
+ if$
+ }
+ { format.authors format.editors output.nonnull
+ set.colon.after
+ }
+ if$
+ format.btitle output.nonnull
+ url empty$
+ { format.edition output
+ format.howpublished output}
+ { format.howpublished output
+ format.edition.or.date output
+ format.url output
+ }
+ if$
+ format.online.lastcheck
+%% format.lastchecked.or.type
+ new.sentence
+ format.misc.series output
+%% note set.period.dash.check
+ note output
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ %% wenn es keinen type gibt
+ { title empty$
+ { note empty$
+ { url empty$
+ { "there's no relevant field in " cite$ warning$
+ pop$ ""
+ }
+ { format.url output }%%% das waere e. reine URL
+ if$
+ }
+ { note " " * output.nonnull
+ %% format.url format.date output
+ }
+ if$
+ }
+ { author empty$
+ { editor empty$
+ { organization empty$
+ { skip$ }
+ { format.editors.organization output.nonnull
+ set.colon.after
+ }
+ if$
+ }
+ { format.editors format.editors.organization
+ output.nonnull set.colon.after
+ }
+ if$
+ }
+ { format.authors format.editors output.nonnull
+ set.colon.after
+ }
+ if$
+ format.btitle output.nonnull
+ url empty$
+ { format.edition output
+ format.howpublished output}
+ { format.howpublished output
+ format.url output
+ format.edition.or.date output
+ format.online.lastcheck
+%% format.lastchecked.or.type
+ }
+ if$
+ new.sentence
+ format.misc.series output
+ note set.period.dash.check
+ note output
+ }
+ if$
+ }
+ if$
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization empty$
+ { "empty organization and editor in " cite$ * warning$ }
+ { organization " (Veranst.)" * output }
+ if$
+ }
+ { format.editors format.editors.organization output.nonnull }
+ if$
+ set.colon.after
+ format.btitle "title" output.check
+ volume empty$
+ { skip$ }
+ { "{\textnormal{Bd.}}" volume tie.or.space.connect emphasize "volume" output.check }
+ if$
+ format.address.publisher.year "publisher" output.check
+ new.sentence
+ format.series.number.din output.nonnull
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+ isbn set.period.dash.check
+ issn set.period.dash.check
+ format.isbn.issn output
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ format.tr.institution output.nonnull }
+ { format.authors format.editors output.nonnull }
+ if$
+ set.colon.after
+ format.title "title" output.check
+ institution empty$
+ 'skip$
+ { author empty$ editor empty$ AND
+ 'skip$
+ { institution new.sentence.checka
+ "/ " institution * output.nonnull
+ }
+ if$
+ }
+ if$
+ format.version.url output
+ format.online.lastcheck
+ format.address.publisher.year output
+ number new.sentence.checka
+ format.tr.series.or.number "number" output.check
+ "Forschungsbericht" format.thesis.tr.type set.period.dash.check
+ "Forschungsbericht" format.thesis.tr.type output
+%% format.digital.resource.type
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+ isbn set.period.dash.check
+ issn set.period.dash.check
+ format.isbn.issn output
+ note set.period.dash.check
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {unpublished} {misc}%% AUTHOR, TITLE, NOTE muessen sein!
+%% andere Felder sind optional
+
+FUNCTION {default.type} { misc }
+
+
+MACRO {jan} {"Januar"}
+
+MACRO {feb} {"Februar"}
+
+MACRO {mar} {"M{\^^b a}rz"}
+
+MACRO {apr} {"April"}
+
+MACRO {mai} {"Mai"}
+
+MACRO {may} {"Mai"}
+
+MACRO {jun} {"Juni"}
+
+MACRO {jul} {"Juli"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {okt} {"Oktober"}
+
+MACRO {oct} {"Oktober"}
+
+MACRO {nov} {"November"}
+
+MACRO {dez} {"Dezember"}
+
+MACRO {dec} {"Dezember"}
+
+%%$$$ stillgelegte Beispiele fuer den Gebrauch von Kuerzeln (hier Zs-Titel).
+
+%%MACRO {acmcs} {"ACM Computing Surveys"}
+
+%%MACRO {acta} {"Acta Informatica"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+%% { "\," * %% kein besonderes Zeichen fuer "others" i. label
+ { "{\etalchar{+}}" * %% ein plus-Zeichen (+) fuer "others"!
+ #1 'et.al.char.used :=
+ }
+ { s nameptr "{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+%% { "\," * %% s. Bemerkung oben
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ 'skip$
+ if$
+ }
+ { s #1 "{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ } %% vgl. Anmerkung!
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word organization }
+ if$
+ }
+ { key #5 text.prefix$ }%% man kann Laenge des key einstellen
+ if$
+ }
+ { key empty$%% wenn key vh., dann macht er das label! Lo,18/5/99
+ { editor format.lab.names }
+ { key #5 text.prefix$ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "booklet" =
+ type$ "inbook" =
+ or or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ year field.or.null purify$ #-1 #2 substring$
+ *
+ 'label :=
+ year field.or.null purify$ #-1 #4 substring$
+ *
+ sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{ll{ }}{ ff{ }}{ vv{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { ua.etal * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "Der " #4
+ "Die " #4
+ "Das " #4
+ "Ein " #4
+ "Eine " #5
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "booklet" =
+ type$ "inbook" =
+ or or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{ et.al.char.used
+ { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+ 'skip$
+ if$
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+ newline$
+ "% this bibliography is generated by alphadin.bst [8.2] from 2005-12-21"
+ write$ newline$
+ newline$
+ "\providecommand{\url}[1]{\texttt{#1}}"
+ write$ newline$
+ "\expandafter\ifx\csname urlstyle\endcsname\relax"
+ write$ newline$
+ " \providecommand{\doi}[1]{doi: #1}\else"
+ write$ newline$
+ " \providecommand{\doi}{doi: \begingroup \urlstyle{rm}\Url}\fi"
+ write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib} \ No newline at end of file
diff --git a/biblio/bibtex/contrib/german/din1505/leitbild.bib b/biblio/bibtex/contrib/german/din1505/leitbild.bib
new file mode 100644
index 0000000000..41750ae450
--- /dev/null
+++ b/biblio/bibtex/contrib/german/din1505/leitbild.bib
@@ -0,0 +1,145 @@
+%% LEITBILD.BIB
+%% Lo, 11.10.04
+%
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%% typische Eingabemaske fuer selbstaendige Internetquelle
+% in howpublished kann evtl. der Provider-/Server-Ort genannt werden
+%% @BOOKLET{,
+ key = "",
+ author = "",
+ editor = "",
+ title = "",
+ howpublished = "",
+ month = "",
+ year = "",
+ url = "http://www.",
+ lastchecked = ".\,.\,2004",
+}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+@BOOKLET{otto:04,
+ key = "Otto 2004",
+ editor = "{Otto GmbH \& Co KG}",
+ title = "Grunds{\"a}tze",
+ month = "",
+ year = "",
+ url = "http://www.otto.com/umwelt/umwelt_grundindex.html",
+ lastchecked = "5.\,Okt.\,2004",
+ note = "Einstiegsseite zum Unternehmensleitbild",
+}
+
+
+@BOOKLET{ikea,
+ key = "Ikea 2004",
+ editor = "{IKEA Deutschland GmbH \& Co KG}",
+ title = "Unsere Vision",
+ month = "",
+ year = "",
+ url = "http://www.ikea.de/ms/de_DE/about_ikea/our_vision/better_life.html",
+ lastchecked = "5.\,Okt.\,2004",
+ note = "Unternehmensleitbild",
+}
+
+@BOOKLET{lock:04,
+ key = "Lockheed",
+ editor = "{Lockheed Martin Corporation}",
+ title = "Corporate Value Statement",
+ month = "",
+ year = 2004,
+ url = "http://www.lockheedmartin.com/wms/findPage.do?dsp=fec&ci=13127&rsbci=12911&fti=0&ti=0&sc=400",
+ lastchecked = "5.\,Okt.\,2004",
+ note = "Einstiegsseite zum Unternehmensleitbild",
+}
+
+
+
+@BOOKLET{vw:02,
+ key = "VW",
+ editor = "{Volkswagen AG}",
+ title = "Nachhaltigkeitsleitbild von Volkswagen",
+ month = "",
+ year = "2002",
+ url = "http://www.volkswagen-umwelt.de/_content/wissen_21320.asp",
+ lastchecked = "5.\,Okt.\,2004",
+ note = "Erkl{\"a}rung zum Global Compact auf dem Weltgipfel 2002",
+}
+
+
+@BOOKLET{micro:04,
+ key = "Microsoft",
+ editor = "{Microsoft Deutschland GmbH}",
+ title = "Leitbild und Werte",
+ month = "16." # jan,
+ year = 2004,
+ url = "http://www.microsoft.com/germany/ms/unternehmensinformationen/werte.htm",
+ lastchecked = "5.\,Okt.\,2004",
+}
+
+@BOOKLET{bibnord:04,
+ key = "Stadtb{\"u}cherei 2004",
+ editor = "Susanne Martin and {Stadtb"ucherei Norderstedt}",
+ title = "Homepage Stadtb{\"u}cherei Norderstedt",
+ month = "",
+ year = "",
+ url = "http://www.norderstedt.de/cms3/index.php?hid=4&id=1323",
+ lastchecked = "5.\,Okt.\,2004",
+ note = "Darin entalten Aussagen zur Aufgabenerf{\"u}llung.",
+}
+
+@BOOKLET{aldi:04,
+ key = "Aldi 2004",
+ editor = "{ALDI Gmbh \& CO KG}",
+ title = "Das ALDI--Prinzip",
+ month = "",
+ year = "",
+ url = "http://www.aldi-essen.de/PRINZIP_D/P_index.htm",
+ lastchecked = "5.\,Okt.\,2004",
+}
+
+@BOOKLET{zbwkiel,
+ key = "ZBW-Kiel",
+ editor = "{Deutsche Zentralbibliothek f{\"u}r Wirtschaftswissenschaften}",
+ title = "Leitbild",
+ howpublished = "Kiel : ZBW",
+ url = "http://www.zbw-kiel.de/ueberbib/leitbild.html",
+ month = "",
+ year = "",
+ note = "Startseite der ZBW--website: http://www.zbw-kiel.de/index.html",
+ lastchecked = "21." # jan # 2004,
+}
+
+@BOOKLET{abbleit,
+ author = "Albert Glossner",
+ title = "Leitbilder",
+ publisher = "Arbeitsgem. Bildung u.Beruf e.~V.",
+ address = "P{\"o}ssneck",
+ url = "http://www.abb-seminare.de/leittext.htm",
+ month = "5.~" # jun,
+ year = "2003",
+ note = "Erstver{\"o}ffentl. Juni 1998",
+ lastchecked = "2004-01-21",
+}
+
+@BOOKLET{hahnleit,
+ author = "Anton Hahne",
+ title = "Thesen zur Leitbildentwicklung",
+ url = "http://people.freenet.de/hahne/ProjektLeitbildentwicklung.ppt",
+ lastchecked = "21.1.2004",
+ year = 2002,
+ note = "Powerpoint-Pr{\"a}sentation",
+}
+
+%% 22.1.04
+@BOOKLET{leitdef,
+ author = "Franz Lehner",
+ title = "Das Leitbild -- eine Definition",
+ howpublished = "FH Deggendorf, FB Betriebswirtschaftslehre",
+ url = "http://www.bw.fh-deggendorf.de/kapitel1/kap72/72seite21.html",
+ month = "25.~" # jun,
+ year = 2002,
+ note = "Teil der Virtuellen Vorlesung \emph{Informationsmanagment}
+ von Prof. Lehner, Univ. Regensburg",
+ lastchecked = "2004-01-21",
+}
+
+%% leitbild.bib 11.10.2004 \ No newline at end of file
diff --git a/biblio/bibtex/contrib/german/din1505/leitbild3.pdf b/biblio/bibtex/contrib/german/din1505/leitbild3.pdf
new file mode 100644
index 0000000000..13b8f17daf
--- /dev/null
+++ b/biblio/bibtex/contrib/german/din1505/leitbild3.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/german/din1505/natbib.cfg b/biblio/bibtex/contrib/german/din1505/natbib.cfg
new file mode 100644
index 0000000000..32ed930dba
--- /dev/null
+++ b/biblio/bibtex/contrib/german/din1505/natbib.cfg
@@ -0,0 +1,19 @@
+% NATBIB.CFG in Verbindung mit natbib.sty
+% Lorenzen, 2006-01-02
+% diese Konfigurationsdatei wird zuletzt eingelesen und
+% enth"alt die lokal gew"unschten Einstellungen f"ur den
+% Bibliographie-- und Zitierstil
+
+\newcommand{\bibstyle@natdin}%
+ {\bibpunct{(}{)}{;}{a}{}{,~}
+ \gdef\NAT@biblabelnum##1{\textbf{##1}\\}}
+%% nach dieser Definition wird das label (dinatlabel) fett geschrieben, dann Zeilenumbruch;
+%% darunter der bibliographische Beleg
+
+
+\bibstyle@natdin
+
+%% Einzug der Belege nach der Einordnungsmarke
+\setlength{\bibhang}{7mm}
+
+
diff --git a/biblio/bibtex/contrib/german/din1505/natdin.bst b/biblio/bibtex/contrib/german/din1505/natdin.bst
new file mode 100644
index 0000000000..5ad6520c56
--- /dev/null
+++ b/biblio/bibtex/contrib/german/din1505/natdin.bst
@@ -0,0 +1,2234 @@
+%% natdin.bst Vers. [3.1] 2006-01-02 mit PWD cite-multimode
+%%
+%% Aenderungen seit Vers. [3.0bx]:
+%% a) Funktions-Zusaetze bei Autoren sind nun moeglich
+%% b) Internetquellen ohne Zusatz "Online--Ressource" !
+%% c) verbesserte INPROCEEDINGS, PROCEEDINGS-Funktionen
+%% d) neue TECHREPORT und MANUAL-Funktionen
+%% e) neue format.pages.book-Funktion
+%% f) neue format.online.lastchecked-Funktion
+%%
+%%
+%% K.F.Lorenzen (Copyright 1994-2006) email: lorenzen.marxen@t-online.de
+%% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+%% Mit diesem BibTex-style werden Literaturverzeichnisse nach dem deutschen
+%% Standard DIN 1505, Teil 2 und 3 formatiert. Die label im Quellen-/
+%% Literaturverzeichnis sind vom Typ 'Verfasser - Jahr' und
+%% entsprechen den Zitatformen im Text. Es koennen alle von
+%% Patrick W. Daly im natbib-Paket implementierten Zitierbefehle
+%% genutzt werden. Eine Kurzbeschreibung liegt als Datei natnotes.pdf zusammen
+%% mit der im Aufbau befindlichen Beschreibung des natdin-Stils
+%% unter der URL http://www.haw-hamburg.de/pers/Lorenzen/bibtex.
+%% Eine Anleitung zur Anwendung der Norm DIN 1505 findet sich unter der
+%% URL http://www.bui.haw-hamburg.de/pers/klaus.lorenzen/ASP/litverz.pdf
+%%
+%% Es werden nun auch Elektronische Online / Offline Ressourcen wie
+%% Internetquellen, CD-ROM usw. verarbeitet. Dazu kommen spezielle
+%% Publikationsformen wie Patente, Normen, Karten, Fernsehaufzeichnungen,
+%% Gesetzesstellen, Spiele u.a.
+%
+%% NATDIN.BST muss zusammen mit NATBIB.STY von Patrick W. Daly und der in
+%% dieser Verteilung modifizierten Konfiguration NATBIB.CFG aufgerufen
+%% werden. NATDIN.BST ist vorzugsweise in den ...\bibtex\bst - Pfad zu
+%% stellen. Die jeweils individuelle Konfiguration NATBIB.CFG wird am
+%% besten in das Verzeichnis der LaTex-Quelle selbst gelegt.
+%%
+%% Eine Muster-Konfiguration wird auf Vorschlag von Helge Baumann eingefuegt:
+% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+% NATBIB.CFG in Verbindung mit natbib.sty Lorenzen, 2005-05-31
+% diese Konfigurationsdatei wird zuletzt eingelesen und
+% enthaelt die lokal gewuenschten Einstellungen fuer den
+% Bibliographie-- und Zitierstil
+%
+% \newcommand{\bibstyle@natdin}%
+% {\bibpunct{(}{)}{;}{a}{}{,~}
+% \gdef\NAT@biblabelnum##1{\textbf{##1}\\}} %% \\ bewirkt Zeilenumbruch
+% %% nach label-Ausgabe
+%
+% \bibstyle@natdin
+%
+% % Einzug der Belege nach der Einordnungsmarke
+% \setlength{\bibhang}{7mm}
+%
+%% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+%%
+%% Zur Gewaehrleistung der Allgemeingueltigkeit von bib-files gelten
+%% in den DIN-styles mit einer einzigen Ausnahme die in der Tex-Literatur
+%% veroeffentlichten originalen Definitionen und Regeln fuer die
+%% Publikationstypen (entry-types) und die bibliographischen Felder (fields).
+%% Die Ausnahme bezieht sich auf den entry-type PROCEEDINGS und das Feld
+%% address, fuer das Oren Patashnik dort die Sonderbedeutung "Konferenzort"
+%% gewaehlt hatte. In den DIN-Stilen behaelt address auch hier seine normale
+%% Bedeutung als "Verlagsort" bei!
+%% In einigen entry-types werden zu Gunsten bibliographischer Vollstaendigkeit
+%% mehr optionale Felder verwendet als seinerzeit von Patashnik angegeben.
+%% Treten "Schoenheitsfehler" im fertig gesetzten output auf,
+%% lassen sich diese so gut wie immer durch eine veraenderte
+%% Erfassung im bib-inputfile beseitigen. Oren Patashnik empfiehlt, die
+%% Definition der Felder weit auszulegen. Last but not least koennen
+%% Sie im output-file < *.bbl > noch letzte Hand zur Korrektur ansetzen.
+%% Wegen der meist langen Internetadressen kann es zu "unschoenen" Luecken
+%% im Belegtext kommen. Dann muss mit \underfull hbox.... gekaempft werden.
+%%
+%% Die Darstellung von Internetadressen wird durch das Zusatzpaket
+%% url.sty ver 3.1, 15-Mar-2004 von Donald Arseneau erheblich verbessert und
+%% wird sehr empfohlen.
+%%
+%% HYPERREF-Paket: wird dieses Paket zusaetzlich geladen, werden im output
+%% aktivierbare externe (URLs usw.) und interne (Dokumentbezogene) Links
+%% gesetzt. Sehr gute Zusammenarbeit mit PDFLaTex u.a.
+%
+%% WARN- UND FEHLERMELDUNGEN
+%% Ursache von Warnmeldungen sind meistens ausgelassene Felder oder
+%% Erfassungs-"Fehler". Letztere haengen teilweise mit den gegenueber US-
+%% Gepflogenheiten andersartigen bibliographischen Regeln nach DIN 1505
+%% zusammen. Sie sind also in Wahrheit keine "Fehler" und duerfen fast immer
+%% ignoriert werden. Dennoch pruefen Sie diese Warnungen, um heraus zu finden,
+%% ob Publikationstyp (=entry-type) und "fields" eventuell unzulaessig
+%% kombiniert worden sind.
+%% Echte Fehler ("errors") duerften nur noch bei bibliographisch falscher
+%% Erfassung auftreten. Pruefen Sie die Syntax, den entry-type und die fields.
+%% Zu guter letzt: Qualitaetsmasstab ist einzig der DIN-konforme output!
+%%
+%% DANKSAGUNG
+%% Hartmut Lueddecke, HAW Hamburg, hat viele Verbesserungsvorschlaege
+%% in die frueheren Versionen eingebracht. Ihm danke ich herzlich.
+%% Patrick W. Daly, dem Entwickler des Natbib-Stils, verdanke ich viele
+%% Anregungen und den steten Ansporn, die DIN-Stile zu verbessern.
+%% Helge Baumann hatte mit seiner Weiterentwicklung meines alten natdin.bst
+%% zu dinat.bst (Vers. 2001) die volle Zitierkapazitaet des natbib-Pakets
+%% eingefuehrt. Damit war ein deutlicher Zugewinn erreicht. Von ihm stammt
+%% der in der vorliegenden natdin.bst-Version 3.0x neu eingefuehrte Befehl
+%% \dinatlabel unter seinem von H. Baumann vergebenen Namen.
+%% Viele an dieser Stelle ungenannt bleibende Anwender haben mich in
+%% den vergangenen Jahren auf Fehler oder Verbesserungsmoeglichkeiten
+%% aufmerksam gemacht und so diesen Stil mitentwickelt. Ihnen gilt mein
+%% besonderer Dank. Ihr Feedback ist immer willkommen und eine Ermunterung.
+%%
+%% Klaus F. Lorenzen
+%%
+%% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+%% version 0.99c for BibTeX versions 0.99c or later, LaTeX2e version
+%% Copyright (C) 1985, all rights reserved.
+%% Copying of this file is authorized only if either
+%% (1) you make absolutely no changes to your copy, including name, or
+%% (2) if you do make changes, you name it something other than
+%% natdin.bst, natbib.sty
+%% This restriction helps ensure that all standard styles are identical.
+%% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+%%
+%% NEUE FELDER
+%% Zur Erfassung von Internetquellen, E-mail u.a. gibt es folgende
+%% neue Felder: doi, lastchecked (nach Gray), url, urn
+%% Internetquellen (z.B. auch E-mail) werden vorzugsweise mit dem
+%% BOOKLET-Typ erfasst.
+%% Normen, Patente, Schutzrechte, Gesetzesstellen sind mit dem MISC-Typ
+%% zu erfassen.
+%%
+
+
+ENTRY
+ { address %% Verlagsort (immer!)
+ author %% persoenlicher Urheber eines Werkes oder am Zustandekommen
+ %% beteiligte Personen(=Mitarbeiter, Uebersetzer, Redakteur u.a.)
+ booktitle %% a) Gesamttitel eines mehrbaendigen Werkes
+% %% b) Titel des Sammelwerks, das einzelne selbstaendige
+% %% Beitraege mit eigenem Titel enthaelt ->incollection
+ chapter %% Kapitel in einem Buch (Monographie)
+ doi %%% Digital Object Identifier ->article
+ edition %% a) Auflagevermerk
+% %% b) bei selbst. elektron. Quellen == Version ->booklet
+ editor %% Persoenl.Herausgeber oder Koerperschaftlicher Herausgeber
+ howpublished %% beliebiger Verlegervermerk: veroeffentlicht "von wem, wo"
+ institution %% Institution, die e.verlagsfreie Veroeffentlichung betreibt
+ isbn %% Standardnr fuer Buecher
+ issn %% - " - : Zeitschriften u. Serien
+ journal %% Titel einer Zeitschrift
+ key %% Zusaetzlich vergebener Sortierschluessel, mitunter notwend.
+ lastchecked %% neues Feld fuer das Datum des Online-Abrufs
+% %% einer Internetquelle (n. GRAY )
+ month %% naehere Bestimmung des Erscheinungsjahres -> macro 's
+ note %% freies Eingabefeld fuer zusaetzliche Informationen z. Quelle
+ number %% Versch. Bedeutungen in Abhaengigkeit vom Eingabetyp:
+% %% a) Bandnummer einer gezaehlten Reihe (series)
+% %% b) Heftnummer einer Zeitschrift ->article
+% %% c) Nummer eines Forschungsberichts ->techreport
+ organization %% a) Name der Organisation/des Organisators e. Tagung,Konferenz
+% %% b) Name einer Firma/Gesellschaft, die ein ->manual herausgab
+ pages %% Umfangsangaben, meist Seitenzahlen
+ publisher %% Verlag
+ school %% Hochschule/Universitaet, die eine Dipl.-Arb./Dissertation veroeff.
+ series %% Titel e.Reihe, in der ein best. Buchtitel erschienen ist
+ title %% Titel einer (namentlich gekennzeichneten) Veroeffentlichung
+ type %% Zusatzfeld z.Kennzeichnung e.besonderen Publikationstyps
+ url %% neues Feld URL ( Uniform Resource Locator ):
+% %% Serveradresse einer Internetquelle
+ urn %% neues Feld URN ( Uniform Resource Name ):
+% %% Persistent Identifier einer Internetquelle
+ volume %% a) Zaehlung bei einem mehrbaendigen Werk ->book/->proceedings
+% %% b) Jahrgang einer Zeitschrift ->article
+ year %% Erscheinungsjahr
+ }
+ {}
+ { label extra.label sort.label short.list dinat.label}
+
+%%%----------------------------------------------------------------------------
+% Einige Standardvorgaben, die vom Benutzer veraendert werden koennen.
+%%%----------------------------------------------------------------------------
+
+% Abkuerzung ("... und andere") bei Mehrverfasserquellen:
+
+FUNCTION { ua.etal } { " u.\,a." } %% evtl. auch in eckigen Klammern " [u.\,a.]"
+
+%% oder lateinisch: FUNCTION { ua.etal } { " et~al." }
+
+FUNCTION { und } { " u. " }
+
+%% oder ausgeschrieben: FUNCTION { und } { " und " }
+
+
+% Einige elektronische Medien erhalten nach DIN 1505 eine "Ergaenzende Angabe"
+% zusaetzlich zum materiellen Typ, z.B. CD ROM oder DVD u.a.:
+
+FUNCTION { eress } { "Elektronische Ressource" }
+%%%-----------------------------------------------------------------------------------
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+INTEGERS { after.firstblock }
+
+INTEGERS { colon.after period.dash }
+
+INTEGERS { zahl lang }
+
+INTEGERS { len }
+
+INTEGERS { longest.label.width last.extra.num number.label }
+
+INTEGERS { nameptr namesleft numnames }
+
+INTEGERS { ptr collation collrest }
+
+STRINGS { longest.label last.label next.extra }
+
+STRINGS { h s t u v w }
+
+STRINGS { fkt }
+
+%%---------------------------
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #4 'colon.after :=
+ #5 'period.dash :=
+ #6 'after.firstblock :=
+}
+
+
+
+FUNCTION {set.period.dash} %% Wenn ein ". - " die Satzteile trennen soll.!
+{ output.state before.all =
+ 'skip$
+ { period.dash 'output.state := }
+ if$
+}
+
+
+FUNCTION {set.period.dash.check}
+{ empty$
+ 'skip$
+ 'set.period.dash
+ if$
+}
+
+FUNCTION {set.colon.after} %%$$$ Wenn ein ": " d. Satzteile trennen soll!
+{ output.state before.all =
+ 'skip$
+ { colon.after 'output.state := }
+ if$
+}
+
+%% Wenn ein " " die Satzteile trennen soll.!
+FUNCTION {new.sentence}
+{ output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+}
+
+%% neu 17/2/94 Wenn ein ", " die Satzteile trennen soll.!
+FUNCTION { part.of.sentence }
+{ output.state before.all =
+ 'skip$
+ { mid.sentence 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ { write$ }
+ { output.state colon.after =
+ { ": " * write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state period.dash =
+ { ". -- " * write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.sentence =
+ { " " * write$ }
+ { output.state after.firstblock =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { write$
+ newline$
+ "\newblock " write$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ after.block 'output.state :=
+ }
+ if$
+ s
+ }
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.date}
+{ year duplicate$ empty$
+ { "empty year in " cite$ * warning$
+ pop$ "" }
+ 'skip$
+ if$
+ month empty$
+ 'skip$
+ { type$ "book" =
+ type$ "inbook" =
+ OR
+ 'skip$
+ { month " " * swap$ * }
+ if$
+ }
+ if$
+%% ohne Extrabuchstabe beim Erscheinungsjahr
+}
+
+FUNCTION {format.edition.or.date}
+{ edition empty$ year empty$ and
+ { "" }
+ { edition empty$
+ { type empty$ NOT
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ { " gesendet: " "-- " type * swap$ *
+ format.date *
+ }
+ { "\,Version:\,"
+ format.date *
+ }
+ if$
+ }
+ { "\,Version:\,"
+ format.date *
+ }
+ if$
+ }
+ { year empty$
+ { "\,Version:\," edition * }
+ { "\,Version:\," edition * ", " *
+ format.date *
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.online.lastcheck}
+{ lastchecked empty$
+ { url empty$ doi empty$ urn empty$ and and
+ { skip$ }
+ { "" output }
+ if$
+ }
+ { url empty$ doi empty$ urn empty$ and and
+ { "there's a lastchecked date but no url, urn or doi in "
+ cite$ * warning$
+ }
+ { part.of.sentence
+ lastchecked "Abruf: " swap$ * output
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.maillist.lastcheck}
+ { type empty$ NOT
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ { format.online.lastcheck }
+ 'skip$
+ if$
+ }
+ 'skip$
+ if$
+ }
+
+FUNCTION {format.doi}
+{ doi empty$
+ { "" }
+ { new.block "\url{http://dx.doi.org/" doi * "}" *
+ %% { new.block "\url{http://dx.medra.org/" doi * "}" *
+ }
+ if$
+}
+
+FUNCTION {format.url}
+{ urn missing$
+ { doi missing$
+ { url empty$
+ { "" }
+ { type empty$ NOT
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ { type$ "incollection" =
+ { "" }
+ { "\,Absenderadresse: \url{" url * "}" * }
+ if$
+ }
+ { "\url{" url * "}" * }%% evtl. "URL" oder "<...>"
+ if$
+ }
+ { "\url{" url * "}" * } %% evtl. "URL" oder "<...>"
+ if$
+ }
+ if$
+ }
+ { format.doi }
+ if$
+ }
+ { "\url{http://nbn-resolving.de/urn/resolver.pl?urn=" urn * "}" *
+ }
+ if$
+}
+
+FUNCTION {format.maillist.url}
+ { url empty$
+ { "" }
+ { type empty$
+ { "" }
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ { "\url{" url * "}" * }
+ { "" }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+
+
+FUNCTION {format.full.names}
+{'s :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { ua.etal * }
+ { und * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.full}
+{ author empty$
+ { editor empty$
+ { "" }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.full}
+{ author empty$
+ { "" }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.full}
+{ editor empty$
+ { "" }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.full
+ { type$ "proceedings" =
+ 'editor.full
+ 'author.full
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ "\dinatlabel{" dinat.label * "} " * %% Zeilenumbruch steht in NATBIB.CFG!
+ write$
+ ""
+ before.all 'output.state :=
+}
+
+
+FUNCTION {fin.entry}
+{ write$
+ newline$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+
+FUNCTION { capitalize }
+ { duplicate$ empty$
+ { pop$ "" }
+ { "\textsc{" swap$ * "}" * }
+ if$
+}
+
+FUNCTION {article.in.journal}
+{ duplicate$ empty$
+ { pop$ "" }
+ { author missing$ title missing$ and
+ { emphasize }
+ { emphasize "{In: }" swap$ * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.names}
+{ 's :=
+ "" 'u :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {
+ s nameptr "{ll}" format.name$ 't :=
+ t capitalize 't :=
+ s nameptr "{ jj}" format.name$ 'w :=
+ s nameptr "{, ff}{ vv}{ jj}" format.name$ 'u :=
+ u text.length$ 'lang :=
+ #1 'zahl :=
+ "" 'v :=
+ { zahl lang < }
+ { u zahl #1 substring$ "~" =
+ { v "" =
+ { u #1 zahl #1 - substring$ 'v := }
+ 'skip$
+ if$
+ v u zahl #2 substring$ * "." * w * 'v :=
+ }
+ 'skip$
+ if$
+ zahl #1 + 'zahl := }
+ while$
+ v "" =
+ { u 'v := }
+ 'skip$
+ if$
+ t v * fkt * 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { " ; " * t * }
+ { numnames #2 >
+ { " " * }
+ 'skip$
+ if$
+ t "\textsc{others}" = t "\textsc{others} (Hrsg.)" = or
+ { ua.etal * }
+ { " ; " * t * }
+ if$
+ }
+ if$ %% Ende der namesleft-Pruefung
+ }
+ 't
+ if$ %% Ende der nameptr-Pruefung
+
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$ %% Ende von { namesleft #0 > } ganz oben
+ "" 'fkt := %% fkt wird zurueckgesetzt
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { author empty$
+ { "empty author and editor in " cite$ * warning$ "" }
+ 'skip$
+ if$
+ }
+ { author empty$
+ { " (Hrsg.)" 'fkt :=
+ editor format.names
+ }
+ { " (Hrsg.)" 'fkt :=
+ " ; " * editor format.names *
+ }
+ if$
+ }
+ if$
+ }
+
+%% 2005-11-11
+FUNCTION { format.authors.organization }
+{ type$ "misc" =
+ { organization empty$
+ { author empty$
+ { "" }
+ { author format.names " (Erfinder)" * }
+ if$
+ }
+ { author empty$
+ { organization }
+ { author format.names " (Erfinder); " *
+ organization * " (Anmelder)" *
+ }
+ if$
+ }
+ if$
+ }
+ { type$ "manual" =
+ { organization empty$
+ { format.authors }
+ { author empty$
+ { organization capitalize " (Hrsg.)" * }
+ { author format.names }
+ if$
+ }
+ if$
+ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION { format.editors.organization }
+{ organization empty$
+ 'skip$
+ { type$ "misc" =
+ { organization }
+ { * " ; " * organization " (Veranst.)" *}
+ if$
+ }
+ if$
+}
+
+FUNCTION { format.tr.institution }
+{ institution empty$
+ 'skip$
+ { institution capitalize }
+ if$
+}
+
+FUNCTION {format.ed.incoll}
+{ editor empty$
+ { "" }
+ { " (Hrsg.)" 'fkt :=
+ editor format.names
+ format.editors.organization
+ }
+ if$
+}
+
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title } %% Text so wie er dasteht im Feld title
+ if$
+}
+
+FUNCTION {format.number}
+{ number empty$
+ { "" }
+ { number " " * } %% Text so wie er im Feld number steht plus " "
+ if$
+}
+
+FUNCTION {format.digital.type}
+{ type empty$
+ { "" }
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ { "" }
+ { type } %% Typ einer digitalen Ressource in Form einer
+ %% "Ergaenzenden Angabe", so wie er dasteht;
+ %% Alternativ kann dieser Text auch in NOTE erfasst werden.
+ if$
+ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+%% Auflagenvermerke gibt man komplett, einschliesslich Abkuerzungen in
+%% das Feld edition ein: ---> EDITION= { 3., erw. und verb. Aufl. }
+%% oder fremdsprachlich: EDITION= { 2nd edition }
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { edition }
+ if$
+}
+
+FUNCTION {format.version.url}
+{ url empty$ doi empty$ urn empty$ and and
+ { type$ "techreport" =
+ { format.edition }
+ { "" }
+ if$
+ }
+ { format.edition.or.date output format.url }
+ if$
+}
+
+FUNCTION {format.edition.or.version}
+{ url empty$ doi empty$ urn empty$ and and
+ { format.edition }
+ { format.edition.or.date }
+ if$
+}
+
+FUNCTION {format.address.publisher.year}
+{ publisher empty$
+ { address empty$
+ { year empty$
+ { "" }
+ { year }
+ if$
+ }
+ { "there's an address but no publisher in " cite$ * warning$
+ address ", " * format.date *
+ }
+ if$
+ }
+ { address empty$
+ { year empty$
+ { "neither address nor publication date in " cite$ * warning$
+ publisher
+ }
+ { publisher ", " * format.date * }
+ if$
+ }
+ { year empty$
+ { address " : " * publisher * }
+ { address " : " * publisher * ", " * format.date * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.howpublished}
+{ url missing$ urn missing$ doi missing$ AND AND
+ { howpublished empty$
+ { address empty$
+ { type empty$
+ { "" }
+ { type #-1 #4 substring$ "mail" =
+ { "(gesendet: " new.sentence
+ format.date * ")" *
+ }
+ { "" }
+ if$
+ }
+ if$
+ format.date *
+ }
+ { address ", " * format.date * }
+ if$
+ }
+ { address empty$
+ { howpublished ", " * format.date * }
+ { address " : " * howpublished * ", " * format.date * }
+ if$
+ }
+ if$
+ }
+ { howpublished empty$
+ { "" }
+ { howpublished }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {format.btitle.vol}
+{ number empty$
+ { series empty$
+ { volume empty$
+ { title emphasize }
+ { title emphasize ". Bd." * volume tie.or.space.connect }
+ if$
+ }
+ { volume empty$
+ { title emphasize }%% ein Buch, das zusaetzl. SERIES=Reihentitel besitzt
+ %% jetzt kommt d. Fall des mehrbaendigen Werkes mit Gesamttitel=SERIES
+ %% Zaehlung=VOLUME und Bandtitel=TITLE;
+ { series emphasize ". Bd." * volume tie.or.space.connect
+ ": " * "{\emph{" * title * "}}" * }
+ if$
+ }
+ if$%% series-test
+ }
+ { title emphasize }%% wenn number ex., dann immer title-Feld
+ if$%% Ende number-test
+}
+
+FUNCTION {format.series.number.din}
+{ volume empty$
+ { number empty$
+ { series empty$
+ { "" }
+ { "(" series * ")" * } %% d. Seriennr koennte auch gleich hier
+ %% im SERIES-Feld miterfasst werden
+ if$
+ }
+ { series empty$
+ { "(" number tie.or.space.connect ")" *
+ "there's a number but no series in " cite$ * warning$
+ }
+ { "(" series * number tie.or.space.connect ")" * }
+ if$
+ }
+ if$
+ }
+ { series empty$
+ { "" }
+ { type$ "proceedings" = %% Sonderfall, es darf VOLUME und NUMBER ex. !
+ type$ "inproceedings" = OR
+ { number empty$
+ { "(" series * ")" * }
+ { "(" series * number tie.or.space.connect ")" * }
+ if$
+ }
+ { "" }%% Ausstieg mit Nullstring, s. Kommentar
+ if$
+ }%% bei gezaehlten Reihen MUSS die Reihennr. im Feld NUMBER stehen!
+ if$ %% wenn also d. Feld VOLUME nicht leer ist, dann liegt ausser bei
+ %% Typ PROCEEDINGS/INPROCEEDINGS falsche
+ } %% Erfassung vor und es erfolgt d. Ausstieg mit d. Nullstring!
+ if$
+}
+
+FUNCTION {format.tr.series.or.number}
+{ number empty$
+ { series empty$
+ { "" }
+ { "(" series * ")" * }
+ if$
+ }
+ { series empty$
+ { "(" number * ")" * }
+ { "(" series * number tie.or.space.connect ")" * }
+ if$
+ }
+ if$
+ }
+
+FUNCTION {format.misc.series}
+{ series empty$
+ { "" }
+ { "(" series * ")" * }
+ if$
+}
+
+FUNCTION { format.doi.urn }
+{ urn empty$
+ { doi empty$
+ { "" }
+ { "DOI" doi n.dashify tie.or.space.connect }
+ if$
+ }
+ { "URN" urn n.dashify tie.or.space.connect }
+ if$
+}
+
+FUNCTION { format.isbn.issn }
+{ isbn empty$
+ { issn empty$
+ { "" }
+ { "ISSN" issn n.dashify tie.or.space.connect }
+ if$
+ }
+ { "ISBN" isbn n.dashify tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { url empty$
+ { "S." pages n.dashify tie.or.space.connect }
+ { pages }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pages.book}
+{ pages empty$
+ { "" }
+ { note empty$ isbn empty$ AND
+ { "" pages n.dashify tie.or.space.connect " S" *
+ add.period$
+ }
+ { "" pages n.dashify tie.or.space.connect " S" *
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pages.bkcollation}
+{ pages empty$
+ { "" }
+ { "" pages n.dashify tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.bkpages.collat.check}
+{ 's :=
+ #1 'ptr :=
+ s text.length$ 'collation :=
+ collation #1 =
+ { format.pages.book }
+ {
+ collation 'collrest :=
+ { collrest #0 > }
+ { s ptr #2 substring$ 't :=
+ t "S." =
+ { format.pages.bkcollation
+ #0 'collrest := }
+ { ptr #1 + 'ptr :=
+ collrest #1 - 'collrest :=
+ #1 collrest =
+ { format.pages.book }
+ { skip$ }
+ if$
+ }
+ if$
+ }
+ while$
+ }
+ if$
+}
+
+FUNCTION {format.vol.year.num.pages}
+{ volume field.or.null
+ year empty$
+ { "there's no year in " cite$ * warning$ }
+ { " (" year * ")" * * }
+ if$
+ month empty$
+ 'skip$
+ { ", " month * * }
+ if$
+ number empty$
+ 'skip$
+ { ", Nr. " number * * }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ "" }
+ { title missing$
+ { ", " pages format.bkpages.collat.check * *}
+ { ", " format.pages * *}
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.inbook}
+{ duplicate$ empty$
+ { pop$ "empty chapter in " cite$ * warning$ }
+ { type empty$
+ { "\emph{Kapitel\/} " swap$ tie.or.space.connect }
+ { type " " * swap$ * }%% wenn keine bes. Abschnittsform gen. werden soll,
+ %% koennte e. kl. Zwischenraum gewaehlt werden, z.B. " \, "
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "Kapitel " }
+ { url empty$
+ { type }
+ { "Kapitel " }
+ if$
+ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle.din}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { volume empty$
+ { "{In: }" booktitle emphasize * }%% n. Belieben fettes In:
+ { "{In: }" booktitle emphasize * %% - " -
+ " Bd." volume tie.or.space.connect *
+ }
+ if$
+ }
+ { volume empty$
+ { "{In: }" format.ed.incoll * ": " * booktitle emphasize * }
+ { "{In: }" format.ed.incoll * ": " * booktitle emphasize *
+ " Bd." volume tie.or.space.connect *
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.tr.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type
+ }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "{In: }{\emph " journal * "}" * }%% n. Belieben fettes In:
+ if$
+ }
+ { "{In: }" key * }%% s.o. fettes In:
+ if$
+ " {\textbf{\citep{" * crossref * "}" * "}" * "}" * ", " * format.pages *
+}
+
+FUNCTION {format.crossref.editor}
+%vorher,Lue { editor #1 "{vv~}{ll}" format.name$ " (Hrsg.)" *
+ { editor #1 "{ll}" format.name$ " (Hrsg.)" *
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ ua.etal * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { ua.etal * }
+ { " ; " * editor #2 "{vv~}{ll}" format.name$ * " (Hrsg.)" * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.inbk.vol.title}
+{ volume empty$
+ { " In: " }
+ { title empty$
+ { " In: Bd." volume tie.or.space.connect
+ " von " *
+ }
+ { "In: Bd." volume tie.or.space.connect ": " * title emphasize *
+ " (" * year * ") in " *
+ }
+ if$
+ }
+ if$
+ }
+
+FUNCTION {format.book.crossref}
+{ type$ "inbook" =
+ { format.inbk.vol.title }
+ { volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ " "
+ }
+ { ". -- Bd." volume tie.or.space.connect
+ " von " *
+ }
+ if$
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "" * }%% dadurch kommt nach der Band Nr. gleich das label 2/6/99
+%% { "{\emph{" * series * "}} {\textbf{siehe}} " * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { "" * }
+ if$
+ "{\textbf{\citep{" * crossref * "}" * "}" * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "{In: }{\emph " booktitle * "}" * }%%
+ if$
+ }
+ { "{In: }" }
+ if$
+ }
+ { "{In: }" }
+ if$
+ "{\textbf{\citep{" * crossref * "}" * "}" * "}" * %% ", " * format.pages *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ set.colon.after
+ format.title "title" output.check
+ crossref missing$
+ { journal article.in.journal output.nonnull
+ new.sentence
+ format.vol.year.num.pages output
+ format.url output
+ }
+ { format.article.crossref output.nonnull }
+ if$
+ format.online.lastcheck
+ doi set.period.dash.check
+ urn set.period.dash.check
+ format.doi.urn output
+ issn set.period.dash.check
+ format.isbn.issn output
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors format.editors output.nonnull }
+ if$
+ set.colon.after
+ crossref missing$
+ { format.btitle.vol "title" output.check }
+ { format.btitle "title" output.check }
+ if$
+ format.edition output
+ format.address.publisher.year "publisher" output.check
+ new.sentence
+ crossref missing$
+ { format.series.number.din output }
+ { format.book.crossref output.nonnull }
+ if$
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+ format.doi output
+ format.url output
+ new.block
+ isbn set.period.dash.check
+ format.isbn.issn output
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors format.editors output.nonnull }
+ if$
+ set.colon.after
+ format.btitle "title" output.check
+ format.edition.or.version output
+ format.url output
+ format.online.lastcheck
+ format.howpublished output
+ series new.sentence.checka
+ format.series.number.din output
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+ type set.period.dash.check
+ format.digital.type output
+ doi set.period.dash.check
+ urn set.period.dash.check
+ format.doi.urn output
+ note set.period.dash.check
+ note output
+ format.isbn.issn output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ chapter format.chapter.inbook output.nonnull
+ crossref missing$
+ { author empty$
+ { format.editors "\,{In:\,}" swap$ * "author and editor" output.check }
+ { format.authors "\,{In:\,}" swap$ * output.nonnull }
+ if$
+ author empty$ editor empty$ AND
+ { before.all 'output.state := }
+ { set.colon.after }
+ if$
+ format.btitle.vol "title" output.check
+ format.edition output
+ format.address.publisher.year "publisher" output.check
+ new.sentence
+ format.series.number.din output
+ isbn set.period.dash.check
+ format.isbn.issn output
+ }
+ { format.book.crossref output.nonnull
+ }
+ if$
+ part.of.sentence
+ format.pages output
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ set.colon.after
+ format.title "title" output.check
+ format.version.url output
+ type empty$ NOT
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ 'skip$
+ { format.online.lastcheck }
+ if$
+ }
+ { format.online.lastcheck }
+ if$
+ crossref missing$
+ { format.in.ed.booktitle.din "booktitle" output.check
+ format.edition output
+ format.address.publisher.year "publisher" output.check
+ format.maillist.url output
+ format.maillist.lastcheck
+ new.sentence
+ format.series.number.din output
+ doi set.period.dash.check
+ urn set.period.dash.check
+ format.doi.urn output
+ isbn set.period.dash.check
+ issn set.period.dash.check
+ format.isbn.issn output
+ }
+ { format.incoll.inproc.crossref output.nonnull }
+ if$
+ part.of.sentence
+ format.chapter.pages "pages" output.check
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ set.colon.after
+ format.title "title" output.check
+ crossref missing$
+ { format.in.ed.booktitle.din "booktitle" output.check
+ address empty$
+ { organization new.sentence.checka
+ organization output
+ part.of.sentence
+ format.address.publisher.year output
+ }
+ { format.address.publisher.year "publisher" output.check }
+ if$
+ new.sentence
+ format.series.number.din output
+ isbn set.period.dash.check
+ issn set.period.dash.check
+ format.isbn.issn output
+ }
+ { format.incoll.inproc.crossref output.nonnull }
+ if$
+ part.of.sentence
+ format.pages output
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }%% nach Patashnik, wg US-Kompatibilitaet
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ { title empty$
+ 'skip$
+ {format.btitle "title" output.check }
+ if$
+ }
+ 'skip$
+ if$
+ }
+ 'skip$
+ if$
+ format.authors.organization output.nonnull
+ set.colon.after
+ format.btitle "title" output.check
+ format.edition "edition" output.check
+ author empty$ organization empty$ AND
+ { address "address" output.check
+ part.of.sentence
+ }
+ { organization empty$
+ { address "address" output.check
+ part.of.sentence
+ }
+ { address ": " * organization * output
+ part.of.sentence
+ }
+ if$
+ }
+ if$
+ format.date output
+ number empty$
+ 'skip$
+ { "(" number * ") " * output }
+ if$
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+ format.doi output
+ format.url output
+ format.online.lastcheck
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+%% Standard ist "Diplomarbeit", anderes mit TYPE="anderer Typ" erfassen!
+%% z.B. TYPE={Hausarbeit}, TYPE={Diss.}, TYPE={Habil.}, TYPE={Magisterarb.}
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ set.colon.after
+ format.btitle "title" output.check
+ address output
+ part.of.sentence
+ school "school" output.check
+ part.of.sentence
+ "Diplomarbeit" format.thesis.tr.type output.nonnull
+ part.of.sentence
+ format.date "year" output.check
+ format.url output
+ format.online.lastcheck
+ doi set.period.dash.check
+ urn set.period.dash.check
+ format.doi.urn output
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis} %% {mastersthesis}% ist identisch bis auf Standardwert, s.o.
+{ output.bibitem
+ format.authors "author" output.check
+ set.colon.after
+ format.btitle "title" output.check
+ address output
+ part.of.sentence
+ school "school" output.check
+ part.of.sentence
+ "Diss." format.thesis.tr.type output.nonnull % koennte auch `Dissertation' sein
+ part.of.sentence
+ format.date "year" output.check
+ format.url output
+ format.online.lastcheck
+ doi set.period.dash.check
+ urn set.period.dash.check
+ format.doi.urn output
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+
+%% Normen, Vornormen, Schutzrechte (Patente) werden hiermit erfasst;
+%% E-mail, (auch Internetressourcen moeglich; besser --> booklet-Fkt!)
+%% das type-Feld uebernimmt eine wichtige Steuerfunktion:
+FUNCTION {misc}
+{ output.bibitem
+ type missing$ not
+ { type duplicate$ #1 #4 substring$ "Norm" =
+ type #1 #4 substring$ "Vorn" = OR
+ { " " *
+ format.number * output
+ new.sentence
+ format.date output
+ title empty$
+ { skip$ }
+ { add.period$ new.sentence }
+ if$
+ format.btitle "title" output.check
+ note set.period.dash.check
+ note output
+ }
+ { duplicate$ #1 #6 substring$ "Schutz" =
+ { " " * format.number * output
+ new.sentence
+ "(" * format.date ")" * output
+ add.period$ new.sentence
+ format.authors.organization add.period$ output
+ note output
+ }
+ %% wenn irgendein anderer Typ eingetragen ist
+ { pop$ pop$ ""
+ title empty$
+ { note empty$
+ { url empty$
+ { "there's no relevant field in " cite$ warning$
+ pop$ ""
+ }
+ { format.url output }%%%
+ if$
+ }
+ { note " " * output.nonnull }
+ if$
+ }
+ { author empty$
+ { editor empty$
+ { organization empty$
+ { skip$ }
+ { format.editors.organization output.nonnull
+ set.colon.after
+ }
+ if$
+ }
+ { format.editors format.editors.organization
+ output.nonnull set.colon.after
+ }
+ if$
+ }
+ { format.authors format.editors output.nonnull
+ set.colon.after
+ }
+ if$
+ format.btitle output.nonnull
+ url empty$
+ { format.edition output
+ format.howpublished output}
+ { format.howpublished output
+ format.edition.or.version output
+ format.url output
+ }
+ if$
+ format.online.lastcheck
+ new.sentence
+ format.misc.series output
+ note set.period.dash.check
+ note output
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ %% wenn es keinen type gibt
+ { title empty$
+ { note empty$
+ { url empty$
+ { "there's no relevant field in " cite$ warning$
+ pop$ ""
+ }
+ { format.url output }%%% das waere e. reine URL
+ if$
+ }
+ { note " " * output.nonnull
+ }
+ if$
+ }
+ { author empty$
+ { editor empty$
+ { organization empty$
+ 'skip$
+ { format.editors.organization output.nonnull
+ set.colon.after
+ }
+ if$
+ }
+ { format.editors format.editors.organization
+ output.nonnull set.colon.after
+ }
+ if$
+ }
+ { format.authors format.editors output.nonnull
+ set.colon.after
+ }
+ if$
+ format.btitle output.nonnull
+ url empty$
+ { format.edition output
+ format.howpublished output}
+ { format.howpublished output
+ format.url output
+ format.edition.or.date output
+ format.online.lastcheck
+ }
+ if$
+ new.sentence
+ format.misc.series output
+ note set.period.dash.check
+ note output
+ }
+ if$
+ }
+ if$
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization empty$
+ { "empty organization and editor in " cite$ * warning$ }
+ { organization " (Veranst.)" * output }
+ if$
+ }
+ { format.editors format.editors.organization output.nonnull }
+ if$
+ set.colon.after
+ format.btitle "title" output.check
+ volume empty$
+ 'skip$
+ { "{\textnormal{Bd.}}" volume tie.or.space.connect emphasize "volume" output.check }
+ if$
+ format.address.publisher.year "publisher" output.check
+ new.sentence
+ format.series.number.din output.nonnull
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+ isbn set.period.dash.check
+ issn set.period.dash.check
+ format.isbn.issn output
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ format.tr.institution output.nonnull }
+ { format.authors format.editors output.nonnull }
+ if$
+ set.colon.after
+ format.title "title" output.check
+ institution empty$
+ 'skip$
+ { author empty$ editor empty$ AND
+ 'skip$
+ { institution new.sentence.checka
+ "/ " institution * output.nonnull
+ }
+ if$
+ }
+ if$
+ format.version.url output
+ format.online.lastcheck
+ format.address.publisher.year output
+ number new.sentence.checka
+ format.tr.series.or.number "number" output.check
+ "Forschungsbericht" format.thesis.tr.type set.period.dash.check
+ "Forschungsbericht" format.thesis.tr.type output
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+ isbn set.period.dash.check
+ issn set.period.dash.check
+ format.isbn.issn output
+ note set.period.dash.check
+ note "note" output.check
+ fin.entry
+}
+
+
+FUNCTION {unpublished} {misc}%% author, title, note muessen sein! howpublished
+%% %% entfaellt natuerlich
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"Januar"}
+
+MACRO {feb} {"Februar"}
+
+MACRO {mar} {"M{\^^b a}rz"}
+
+MACRO {apr} {"April"}
+
+MACRO {mai} {"Mai"}
+
+MACRO {may} {"Mai"}
+
+MACRO {jun} {"Juni"}
+
+MACRO {jul} {"Juli"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {okt} {"Oktober"}
+
+MACRO {oct} {"Oktober"}
+
+MACRO {nov} {"November"}
+
+MACRO {dez} {"Dezember"}
+
+MACRO {dec} {"Dezember"}
+
+%%$$$ stillgelegte Beispiele fuer den Gebrauch von Kuerzeln (hier Zs-Titel).
+
+%%MACRO {acmcs} {"ACM Computing Surveys"}
+
+%%MACRO {acta} {"Acta Informatica"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ ua.etal * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { ua.etal * }
+ { und * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { year empty$
+ 'key
+ { editor format.lab.names }
+ if$
+ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #4 text.prefix$ }
+ if$
+ }
+ { key }
+ if$
+ }
+ { key empty$%% das key-feld soll zwangsweise das label machen!
+ { editor format.lab.names }
+ { key }%%das ganze label
+ if$
+ }
+ if$
+}
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "booklet" =
+ type$ "inbook" =
+ or or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+%% year duplicate$ empty$
+%% short.list key field.or.null = or
+%% { pop$ "" }
+%% 'skip$
+%% if$
+ year field.or.null purify$ #1 #4 substring$
+ *
+ 'label :=
+ short.list " " *
+ year field.or.null purify$ #1 #4 substring$ * 'dinat.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{ll{ }}{ ff{ }}{ vv{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { ua.etal * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "Der " #4
+ "Die " #4
+ "Das " #4
+ "Ein " #4
+ "Eine " #5
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort.PWD}%% so war es in plainnat
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}%%das key-Feld soll z. Sortieren ben. werden
+{ key empty$
+ { editor empty$
+ { organization empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { key sortify }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "booklet" =
+ type$ "inbook" =
+ or or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+ dinat.label extra.label * 'dinat.label :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {bib.sort.order}
+{ sort.label 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$ newline$
+ "% this bibliography is generated by nd24.bst [3.0c2] from 2005-12-21"
+ write$ newline$ newline$
+ "\providecommand{\natexlab}[1]{#1}"
+ write$ newline$
+ "\providecommand{\url}[1]{\texttt{#1}}"
+ write$ newline$
+ "\makeatletter"
+ write$ newline$
+ "\newcommand{\dinatlabel}[1]%"
+ write$ newline$
+ "{\ifNAT@numbers\else\NAT@biblabelnum{#1}\fi}"
+ write$ newline$
+ "\makeatother"
+ write$ newline$
+ "\expandafter\ifx\csname urlstyle\endcsname\relax"
+ write$ newline$
+ " \providecommand{\doi}[1]{doi: #1}\else"
+ write$ newline$
+ " \providecommand{\doi}{doi: \begingroup \urlstyle{rm}\Url}\fi"
+ write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib} \ No newline at end of file
diff --git a/biblio/bibtex/contrib/german/din1505/normpatsoft.pdf b/biblio/bibtex/contrib/german/din1505/normpatsoft.pdf
new file mode 100644
index 0000000000..14b0f65cb9
--- /dev/null
+++ b/biblio/bibtex/contrib/german/din1505/normpatsoft.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/german/din1505/plaindin.bst b/biblio/bibtex/contrib/german/din1505/plaindin.bst
new file mode 100644
index 0000000000..5c6eca0bea
--- /dev/null
+++ b/biblio/bibtex/contrib/german/din1505/plaindin.bst
@@ -0,0 +1,2038 @@
+%% PLAINDIN.BST Ausgabe [8.2] 2006-01-02
+%% mit doi-, urn-, url-Funktionen fuer Internetressourcen
+%% ersetzt PLAINDIN.BST Ausgabe [8.1b3] 22.2.2005
+%%
+%%
+%% K.F.Lorenzen (Copyright 1994-2006) email: lorenzen.marxen@t-online.de
+%% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+%% PLAINDIN.BST wurde entwickelt aus Oren Patashnik's BibTeX standard
+%% bibliography style `plain'. Dadurch ist es moeglich, eine vorgegebene
+%% Literaturdatenbank ohne Aenderungen beliebig nach Us- oder deutscher
+%% Zitierkonvention zu verarbeiten.
+%% Mit PLAINDIN.BST werden Literaturverzeichnisse gemaess der deutschen
+%% Zitiernorm DIN 1505 Teil 2 formatiert.
+%% Analog zu den 4 US standard styles wird ein vollstaendiger Satz von
+%% 4 DIN-gerechten bst-style Dateien veroeffentlicht (alphadin.bst,
+%% plaindin.bst, unsrtdin.bst, abbrvdin.bst). Die gueltige Version
+%% ist am schnellsten aus dem WWW ueber folgende URL zu beziehen
+%% http://www.haw-hamburg.de/pers/Lorenzen/bibtex/
+%% Stand: 2006-01-02
+%% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+%% WAS IST PLAINDIN.BST ?
+%% Dieser style produziert Literaturzitate in Literaturverzeichnissen
+%% gemaess der deutschen Norm DIN 1505, Teil 2 vom Jan. 1984.
+%% Die Literaturzitate werden alphabetisch nach Verfassern sortiert
+%% und fortlaufend in eckigen Klammern gezaehlt. Die vorliegenden DIN-styles
+%% gehen ueber die bibliographischen Beschraenkungen der Originalstyles hinaus.
+%
+%% Es werden nun auch Elektronische Online / Offline Ressourcen wie Internet-
+%% quellen, CD-ROM usw. verarbeitet. Dazu kommen besondere Publikationsformen
+%% wie Patente, Normen, Karten, Fernsehaufzeichnungen, Gesetzesstellen, Spiele.
+%
+%% Zur Gewaehrleistung der Allgemeingueltigkeit von bib-files gelten in den
+%% DIN-styles die in der Tex-Literatur veroeffentlichten originalen
+%% Definitionen und Regeln fuer die Publikationstypen (entry-types) und die
+%% bibliographischen Felder (fields).
+%% Treten kleinere "Schoenheitsfehler" im fertig gesetzten output auf,
+%% lassen sich diese so gut wie immer durch eine veraenderte
+%% Erfassung im bib-inputfile beseitigen. Oren Patashnik empfiehlt, die
+%% Definition der Felder weit auszulegen. Last but not least koennen
+%% Sie im output-file < *.bbl > noch letzte Hand zur Korrektur ansetzen.
+%
+%% WARN- UND FEHLERMELDUNGEN
+%% Ursache von Warnmeldungen sind meistens fehlende Felder oder
+%% Erfassungs-"Fehler". Letztere haengen teilweise mit den gegenueber US-
+%% Gepflogenheiten andersartigen bibliographischen Regeln nach DIN 1505
+%% zusammen. Sie sind also in Wahrheit keine "Fehler" und duerfen fast immer
+%% ignoriert werden. Dennoch pruefen Sie diese Warnungen, um heraus zu finden,
+%% ob Publikationstyp (=entry-type) und "fields" eventuell unzulaessig
+%% kombiniert worden sind.
+%% Echte Fehler ("errors") treten nur noch in Verbindung mit falscher
+%% Erfassung auf (nach meinen Tests!). Pruefen Sie die Syntax, den entry-type
+%% und die fields.
+%% Zu guter letzt: Qualitaetsmasstab ist einzig der DIN-konforme output!
+%%
+%% DANKSAGUNG
+%% Hartmut Lueddecke, HAW Hamburg, hat viele Verbesserungsvorschlaege
+%% in die frueheren Versionen eingebracht. Ihm danke ich herzlich.
+%% Patrick W. Daly, dem Entwickler des Natbib-Stils, verdanke ich viele
+%% Anregungen und den steten Ansporn, die DIN-Stile zu verbessern.
+%% Viele an dieser Stelle ungenannt bleibende Anwender haben mich in
+%% den vergangenen Jahren auf Fehler oder Verbesserungsmoeglichkeiten
+%% aufmerksam gemacht und so diesen Stil mitentwickelt. Ihnen gilt mein
+%% besonderer Dank. Ihr Feedback ist immer willkommen und eine Ermunterung.
+%%
+%% Klaus F. Lorenzen
+%%
+%%
+%%
+%% HINWEIS: Neben den vier bibliographischen DIN 1505 Standard-Stilen
+%% nach den Original-styles von Oren Patashnik
+%% gibt es zusaetzlich vier DIN 1505 Modifikationen der style
+%% Emulationen des NATBIB-Pakets von Patrick W.Daly.
+%% In den NATBIB-Modifikationen werden jetzt alle von P.W. Daly
+%% implementierten Zitierweisen des Autor-Jahr-Stils unterstuetzt.
+%% Damit erhaelt der Anwender eine weit ueber die urspruenglichen
+%% Standardstyles hinausreichende Flexibilitaet beim Zitieren.
+%% Naeheres unter URL http://www.haw-hamburg.de/pers/Lorenzen/bibtex/
+%%
+%%
+%% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+% version 0.99c for BibTeX versions 0.99c or later, LaTeX2e
+% Copyright (C) 1985, all rights reserved.
+% Copying of this file is authorized only if either
+% (1) you make absolutely no changes to your copy, including name, or
+% (2) if you do make changes, you name it something other than
+% plaindin.bst, unsrtdin.bst, alphadin.bst, and abbrvdin.bst.
+% This restriction helps ensure that all standard styles are identical.
+% The file btxbst.doc has the original documentation for style 'alpha'.
+%%
+%% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+%%
+%% NEUE FELDER
+%% Zur Erfassung der neuen digitalen Online-Medien z.B. Internetquellen, E-journals, E-books,
+%% E-mail u.a. gibt es die zusaetzlichen Felder: doi, url, urn, lastchecked
+%% Internetquellen werden vorzugsweise mit dem BOOKLET-Typ erfasst.
+%% Normen, Patente, Schutzrechte sind mit dem MISC-Typ zu erfassen.
+%
+%
+ENTRY
+ { address %% Verlagsort
+ author %% persoenlicher Urheber eines Werkes
+ booktitle %% a) Gesamttitel eines mehrbaendigen Werkes
+% %% b) Titel des Sammelwerks, das einzelne selbstaendige
+% %% Beitraege mit eigenem Titel enthaelt (->incollection)
+ chapter %% Kapitel in einem Buch (Monographie)
+ doi %%% Digital Object Identifier
+ edition %% Auflagevermerk; bei selbst. elektron. Dok. == Version
+ editor %% Persoenl.Herausgeber oder Koerperschaftlicher Herausgeber
+ howpublished %% beliebiger Verlegervermerk: von wem, wo
+ institution %% Institution, die e.Verlagsfreie Veroeffentlichung betreibt
+ isbn %% Standardnr fuer Buecher
+ issn %% - " - : Zeitschriften u. Serien
+ journal %% Titel einer Zeitschrift
+ key %% Zusaetzlich vergebener Sortierschluessel, mitunter notwend.
+ lastchecked %% Online Abruf einer Internetquelle ( GRAY ); 22.1.2004
+ month %% naehere Bestimmung des Erscheinungsjahres (-> macro 's)
+ note %% freies Eingabefeld fuer zusaetzliche Informationen
+ number %% Mehrfachbedeutung in Abhaengigkeit vom Eingabetyp
+ organization %% a) Name der Organisation/des Organisators e. Tagung,Konferenz
+% %% b) Name einer Firma/Gesellschaft, die ein ->manual herausgab
+ pages %% Umfangsangaben, meist Seitenzahlen
+ publisher %% Verlag
+ school %% Hochschule/Universitaet, die eine Dipl.-Arb./Dissertation veroeff.
+ series %% Titel e.Reihe, in der ein best. Buchtitel erschienen ist
+ title %% Titel einer (namentlich gekennzeichneten) Veroeffentlichung
+ type %% Zusatzfeld z.Kennzeichnung e.besonderen Publikationstyps
+ url %%% Internet-Adresse URL ( Uniform Resource Locator )
+ urn %% Persistent Identifier URN ( Uniform Resource Name )
+ volume %% a) Zaehlung bei einem mehrbaendigen Werk (-> book)
+% %% b) Jahrgang einer Zeitschrift (-> article
+ year %% Erscheinungsjahr
+ }
+ {}
+ { label extra.label sort.label }
+
+%% Variablen-Vereinbarungen
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+INTEGERS { colon.after period.dash }
+
+INTEGERS { after.firstblock }
+
+%% fuer die Namensbehandlung
+
+INTEGERS { zahl lang }
+
+INTEGERS { nameptr namesleft numnames }
+
+INTEGERS { ptr collation collrest }
+
+%% fuer die Sortierung bei der label-Produktion
+INTEGERS { len }
+
+INTEGERS { number.label longest.label.width }
+%%----------------------------------------------------------------------
+
+STRINGS { h s t u v w }
+
+%% bei der Behandlung der Namen-Funktionsbezeichnung (Hrsg., Redakt., usw)
+STRINGS { fkt }
+
+%% fuer die label-Produktion
+STRINGS { longest.label }
+
+%%%----------------------------------------------------------------------------
+% Einige Standardvorgaben, die vom Benutzer veraendert werden koennen.
+%%%----------------------------------------------------------------------------
+
+% Abkuerzung ("... und andere") bei Mehrverfasserquellen:
+
+FUNCTION { ua.etal } { " u.\,a." } %% evtl. auch in eckigen Klammern " [u.\,a.]"
+
+%% oder lateinisch: FUNCTION { ua.etal } { " et~al." }
+
+FUNCTION { und } { " u. " }
+
+%% oder ausgeschrieben: FUNCTION { und } { " und " }
+%
+% Einige elektronische Medien erhalten nach DIN 1505 eine "Ergaenzende Angabe"
+% zusaetzlich zum materiellen Typ, z.B. CD ROM oder DVD u.a.:
+
+FUNCTION { eress } { "Elektronische Ressource" }
+
+%%%-----------------------------------------------------------------------------------
+
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #4 'colon.after :=
+ #5 'period.dash :=
+ #6 'after.firstblock :=
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ { write$ }
+ { output.state colon.after =
+ { ": " * write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state period.dash =
+ { ". -- " * write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.sentence =
+ { " " * write$ }
+ { output.state after.firstblock =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { write$
+ newline$
+ "\newblock " write$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ after.block 'output.state :=
+ }
+ if$
+ s
+ }
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$%
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ write$
+ newline$
+}
+
+FUNCTION {set.period.dash} %% Wenn ein ". - " die Satzteile trennen soll.!
+{ output.state before.all =
+ 'skip$
+ { period.dash 'output.state := }
+ if$
+}
+
+FUNCTION {set.period.dash.check}
+{ empty$
+ 'skip$
+ 'set.period.dash
+ if$
+}
+
+FUNCTION {set.colon.after} %%$$$ Wenn ein ": " d. Satzteile trennen soll!
+{ output.state before.all =
+ 'skip$
+ { colon.after 'output.state := }
+ if$
+}
+
+%% Wenn ein " " die Satzteile trennen soll.!
+FUNCTION {new.sentence}
+{ output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+}
+
+%% Wenn ein ", " die Satzteile trennen soll.!
+FUNCTION { part.of.sentence }
+{ output.state before.all =
+ 'skip$
+ { mid.sentence 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+
+FUNCTION { capitalize }
+ { duplicate$ empty$
+ { pop$ "" }
+ { "\textsc{" swap$ * "}" * }
+ if$
+}
+
+FUNCTION {article.in.journal}
+{ duplicate$ empty$
+ { pop$ "" }
+ { author missing$ title missing$ and
+ { emphasize }
+ { emphasize "{In: }" swap$ * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.doi}
+{ doi empty$
+ { "" }
+ { new.block "\url{http://dx.doi.org/" doi * "}" *
+ %% { new.block "\url{http://dx.medra.org/" doi * "}" *
+ }
+ if$
+}
+
+FUNCTION {format.url}
+{ urn missing$
+ { doi missing$
+ { url empty$
+ { "" }
+ { type empty$ NOT
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ { type$ "incollection" =
+ { "" }
+ { "\,Absenderadresse: \url{" url * "}" * }
+ if$
+ }
+ { "\url{" url * "}" * }%% evtl. "URL" oder "<...>"
+ if$
+ }
+ { "\url{" url * "}" * } %% evtl. "URL" oder "<...>"
+ if$
+ }
+ if$
+ }
+ { format.doi }
+ if$
+ }
+ { "\url{http://nbn-resolving.de/urn/resolver.pl?urn=" urn * "}" *
+ }
+ if$
+}
+
+FUNCTION {format.maillist.url}
+ { url empty$
+ { "" }
+ { type empty$
+ { "" }
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ { "\url{" url * "}" * }
+ { "" }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+
+%% Adelspraedikate beim Sortieren nach den(m) Vornamen auffuehren
+%% Abweichend v. DIN !!!
+FUNCTION {format.names}
+{ 's :=
+ "" 'u :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {
+ s nameptr "{ll}" format.name$ 't :=
+ t capitalize 't :=
+ s nameptr "{ jj}" format.name$ 'w :=
+ s nameptr "{, ff}{ vv}{ jj}" format.name$ 'u :=
+ u text.length$ 'lang :=
+ #1 'zahl :=
+ "" 'v :=
+ { zahl lang < }
+ { u zahl #1 substring$ "~" =
+ { v "" =
+ { u #1 zahl #1 - substring$ 'v := }
+ 'skip$
+ if$
+ v u zahl #2 substring$ * "." * w * 'v :=
+ }
+ 'skip$
+ if$
+ zahl #1 + 'zahl := }
+ while$
+ v "" =
+ { u 'v := }
+ 'skip$
+ if$
+ t v * fkt * 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { " ; " * t * }
+ { numnames #2 >
+ { " " * }
+ 'skip$
+ if$
+ t "\textsc{others}" = t "\textsc{others} (Hrsg.)" = or
+ { ua.etal * }
+ { " ; " * t * }
+ if$
+ }
+ if$ %% Ende der namesleft-Pruefung
+ }
+ 't
+ if$ %% Ende der nameptr-Pruefung
+
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$ %% Ende von { namesleft #0 > } ganz oben
+ "" 'fkt := %% fkt wird zurueckgesetzt
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { author empty$
+ { "empty author and editor in " cite$ * warning$ "" }
+ 'skip$
+ if$
+ }
+ { author empty$
+ { " (Hrsg.)" 'fkt :=
+ editor format.names
+ }
+ { " (Hrsg.)" 'fkt :=
+ " ; " * editor format.names *
+ }
+ if$
+ }
+ if$
+ }
+
+FUNCTION { format.authors.organization }
+{ type$ "misc" =
+ { organization empty$
+ { author empty$
+ { "" }
+ { author format.names " (Erfinder)" * }
+ if$
+ }
+ { author empty$
+ { organization }
+ { author format.names " (Erfinder); " *
+ organization * " (Anmelder)" *
+ }
+ if$
+ }
+ if$
+ }
+ { type$ "manual" =
+ { organization empty$
+ { format.authors }
+ { author empty$
+ { organization capitalize " (Hrsg.)" * }
+ { author format.names }
+ if$
+ }
+ if$
+ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+
+
+FUNCTION { format.editors.organization }
+{ organization empty$
+ 'skip$
+ { type$ "misc" =
+ { organization }
+ { * " ; " * organization " (Veranst.)" *}
+ if$
+ }
+ if$
+}
+
+FUNCTION { format.tr.institution }
+{ institution empty$
+ 'skip$
+ { institution capitalize }
+ if$
+}
+
+FUNCTION {format.ed.incoll}
+{ editor empty$
+ { "" }
+ { " (Hrsg.)" 'fkt :=
+ editor format.names
+ format.editors.organization
+ }
+ if$
+}
+
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title } %% Text so wie er dasteht im Feld title
+ if$
+}
+
+FUNCTION {format.number}
+{ number empty$
+ { "" }
+ { number " " * } %% Text so wie er im Feld number steht plus " "
+ if$
+}
+
+FUNCTION {format.digital.type}%% nur in booklet
+{ type empty$
+ { "" }
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ { "" }
+ { type } %% Typ einer digitalen Ressource in Form einer
+ %% "Ergaenzenden Angabe", so wie er dasteht;
+ %% Alternativ kann dieser Text auch in NOTE erfasst werden.
+ if$
+ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+%% Auflagenvermerke gibt man komplett, einschliesslich Abkuerzungen in
+%% das Feld edition ein: ---> EDITION= { 3., erw. und verb. Aufl. }
+%% oder fremdsprachlich: EDITION= { 2nd edition }
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { edition }
+ if$
+}
+
+FUNCTION {format.date}
+{ year duplicate$ empty$
+ { "empty year in " cite$ * warning$
+ pop$ "" }
+ 'skip$
+ if$
+ month empty$
+ 'skip$
+ { type$ "book" =
+ type$ "inbook" =
+ OR
+ 'skip$
+ { month " " * swap$ * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.edition.or.date}
+{ edition empty$ year empty$ and
+ { "" }
+ { edition empty$
+ { type empty$ NOT
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ { " gesendet: " "-- " type * swap$ *
+ format.date *
+ }
+ { "\,Version:\,"
+ format.date *
+ }
+ if$
+ }
+ { "\,Version:\,"
+ format.date *
+ }
+ if$
+ }
+ { year empty$
+ { "\,Version:\," edition * }
+ { "\,Version:\," edition * ", " *
+ format.date *
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.version.url}
+{ url empty$ doi empty$ urn empty$ and and
+ { type$ "techreport" =
+ { format.edition }
+ { "" }
+ if$
+ }
+ { format.edition.or.date output format.url }
+ if$
+}
+
+FUNCTION {format.edition.or.version}
+{ url empty$ doi empty$ urn empty$ and and
+ { format.edition }
+ { format.edition.or.date }
+ if$
+}
+
+FUNCTION {format.address.publisher.year}
+{ publisher empty$
+ { address empty$
+ { year empty$
+ { "" }
+ { year }
+ if$
+ }
+ { "there's an address but no publisher in " cite$ * warning$
+ address ", " * format.date *
+ }
+ if$
+ }
+ { address empty$
+ { year empty$
+ { "neither address nor publication date in " cite$ * warning$
+ publisher
+ }
+ { publisher ", " * format.date * }
+ if$
+ }
+ { year empty$
+ { address " : " * publisher * }
+ { address " : " * publisher * ", " * format.date * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.address.publisher.year.alt}
+{ publisher empty$
+ { address empty$
+ { year empty$
+ { "" }
+ { url empty$
+ { year }
+ { "" }
+ if$
+ }
+ if$
+ }
+ { "there's an address but no publisher in " cite$ * warning$
+ address ", " * format.date *
+ }
+ if$
+ }
+ { url empty$%%%% wenn es URL gibt wird nur die service-provider Adresse
+%%% ausgegeben, die im publisher-Feld steht
+ { address empty$
+ { year empty$
+ { "neither address nor publication date in " cite$ * warning$
+ publisher
+ }
+ { publisher ", " * format.date * }
+ if$
+ }
+ { year empty$
+ { address " : " * publisher * }
+ { address " : " * publisher * ", " * format.date * }
+ if$
+ }
+ if$
+ }
+ { publisher }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.howpublished}
+{ url missing$ urn missing$ doi missing$ AND AND
+ { howpublished empty$
+ { address empty$
+ { type empty$
+ { "" }
+ { type #-1 #4 substring$ "mail" =
+ { "(gesendet: " new.sentence
+ format.date * ")" *
+ }
+ { "" }
+ if$
+ }
+ if$
+ format.date *
+ }
+ { address ", " * format.date * }
+ if$
+ }
+ { address empty$
+ { howpublished ", " * format.date * }
+ { address " : " * howpublished * ", " * format.date * }
+ if$
+ }
+ if$
+ }
+ { howpublished empty$
+ { "" }
+ { howpublished }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.lastchecked.or.type}%% nur in misc-Funktion
+{ lastchecked empty$
+ { url empty$ doi empty$ urn empty$ and and
+ { type empty$
+ { skip$ }
+ { type set.period.dash.check
+ type output
+ }
+ if$
+ }
+ { type empty$
+ { skip$ }
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ { skip$ }
+ { type set.period.dash.check
+ type output }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ { url empty$ doi empty$ urn empty$ and and
+ { "there's a lastchecked date but no url, urn or doi in "
+ cite$ * warning$
+ }
+ { type empty$
+ { "there's a URL and a lastchecked date but no type in "
+ cite$ * warning$
+ }
+ { type set.period.dash.check
+ type output
+ part.of.sentence
+ lastchecked "Abruf: " swap$ * output
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {format.btitle.vol}
+{ number empty$
+ { series empty$
+ { volume empty$
+ { title emphasize }
+ { title emphasize ". Bd." * volume tie.or.space.connect }
+ if$
+ }
+ { volume empty$
+ { title emphasize }%% ein Buch, das zusaetzl. SERIES=Reihentitel besitzt
+ %% jetzt kommt d. Fall des mehrbaendigen Werkes mit Gesamttitel=SERIES
+ %% Zaehlung=VOLUME und Bandtitel=TITLE;
+ { series emphasize ". Bd." * volume tie.or.space.connect
+ ": " * "{\emph{" * title * "}}" * }
+ if$
+ }
+ if$%% series-test
+ }
+ { title emphasize }%% wenn number ex., dann immer title-Feld
+ if$%% Ende number-test
+}
+
+FUNCTION {format.series.number.din}
+{ volume empty$
+ { number empty$
+ { series empty$
+ { "" }
+ { "(" series * ")" * } %% d. Seriennr koennte auch gleich hier
+ %% im SERIES-Feld miterfasst werden
+ if$
+ }
+ { series empty$
+ { "(" number * ")" *
+ "there's a number but no series in " cite$ * warning$
+ }
+ { "(" series * number tie.or.space.connect ")" * }
+ if$
+ }
+ if$
+ }
+ { series empty$
+ { "" }
+ { type$ "proceedings" = %% Sonderfall, es darf VOLUME und NUMBER ex. !
+ type$ "inproceedings" = OR
+ { number empty$
+ { "(" series * ")" * }
+ { "(" series * number tie.or.space.connect ")" * }
+ if$
+ }
+ { "" }%% Ausstieg mit Nullstring, s. Kommentar
+ if$
+ }%% bei gezaehlten Reihen MUSS die Reihennr. im Feld NUMBER stehen!
+ if$ %% wenn also d. Feld VOLUME nicht leer ist, dann liegt ausser bei
+ %% Typ PROCEEDINGS falsche
+ } %% Erfassung vor und es erfolgt d. Ausstieg mit d. Nullstring!
+ if$
+}
+
+FUNCTION {format.tr.series.or.number}
+{ number empty$
+ { series empty$
+ { "" }
+ { "(" series * ")" * }
+ if$
+ }
+ { series empty$
+ { "(" number * ")" * }
+ { "(" series * number tie.or.space.connect ")" * }
+ if$
+ }
+ if$
+ }
+
+FUNCTION {format.misc.series}
+{ series empty$
+ { "" }
+ { "(" series * ")" * }
+ if$
+}
+
+FUNCTION { format.doi.urn }
+{ urn empty$
+ { doi empty$
+ { "" }
+ { "DOI" doi n.dashify tie.or.space.connect }
+ if$
+ }
+ { "URN" urn n.dashify tie.or.space.connect }
+ if$
+}
+
+FUNCTION { format.isbn.issn }
+{ isbn empty$
+ { issn empty$
+ { "" }
+ { "ISSN" issn n.dashify tie.or.space.connect }
+ if$
+ }
+ { "ISBN" isbn n.dashify tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { url empty$
+ { "S." pages n.dashify tie.or.space.connect }
+ { pages }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pages.book}
+{ pages empty$
+ { "" }
+ { note empty$ isbn empty$ AND
+ { "" pages n.dashify tie.or.space.connect " S" *
+ add.period$ }
+ { "" pages n.dashify tie.or.space.connect " S" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pages.bkcollation}
+{ pages empty$
+ { "" }
+ { "" pages n.dashify tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.bkpages.collat.check}
+{ 's :=
+ #1 'ptr :=
+ s text.length$ 'collation :=
+ collation #1 =
+ { format.pages.book }
+ {
+ collation 'collrest :=
+ { collrest #0 > }
+ { s ptr #2 substring$ 't :=
+ t "S." =
+ { format.pages.bkcollation
+ #0 'collrest := }
+ { ptr #1 + 'ptr :=
+ collrest #1 - 'collrest :=
+ #1 collrest =
+ { format.pages.book }
+ { skip$ }
+ if$
+ }
+ if$
+ }
+ while$
+ }
+ if$
+}
+
+FUNCTION {format.vol.year.num.pages}
+{ volume field.or.null
+ year empty$
+ { "there's no year in " cite$ * warning$ }
+ { " (" year * ")" * * }
+ if$
+ month empty$
+ 'skip$
+ { ", " month * * }
+ if$
+ number empty$
+ 'skip$
+ { ", Nr. " number * * }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ "" }
+ { title missing$
+ { ", " pages format.bkpages.collat.check * *}
+ { ", " format.pages * *}
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.inbook}
+{ duplicate$ empty$
+ { pop$ "empty chapter in " cite$ * warning$ }
+ { type empty$
+ { "\emph{Kapitel\/} " swap$ tie.or.space.connect }
+ { type " " * swap$ * }%% wenn keine bes. Abschnittsform gen. werden soll,
+ %% koennte e. kl. Zwischenraum gewaehlt werden, z.B. " \, "
+ if$
+ }
+ if$
+ }
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "Kapitel " }
+ { url empty$
+ { type }
+ { "Kapitel " }
+ if$
+ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle.din}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { volume empty$
+ { "{In: }" booktitle emphasize * }
+ { "{In: }" booktitle emphasize *
+ " Bd." volume tie.or.space.connect *
+ }
+ if$
+ }
+ { volume empty$
+ { "{In: }" format.ed.incoll * ": " * booktitle emphasize * }
+ { "{In: }" format.ed.incoll * ": " * booktitle emphasize *
+ " Bd." volume tie.or.space.connect *
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.tr.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type
+ }
+ if$
+}
+
+FUNCTION {format.online.lastcheck}
+{ lastchecked empty$
+ { url empty$ doi empty$ urn empty$ and and
+ { skip$ }
+ { "" output }
+ if$
+ }
+ { url empty$ doi empty$ urn empty$ and and
+ { "there's a lastchecked date but no url, urn or doi in "
+ cite$ * warning$
+ }
+ { part.of.sentence
+ lastchecked "Abruf: " swap$ * output
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.maillist.lastcheck}
+ { type empty$ NOT
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ { format.online.lastcheck }
+ 'skip$
+ if$
+ }
+ 'skip$
+ if$
+ }
+
+
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "{In: }{\emph " journal * "}" * }
+ if$
+ }
+ { "{In: }" key * }
+ if$
+ "\cite{" * crossref * "}" * ", " * format.pages *
+}
+
+FUNCTION {format.crossref.editor}
+ { editor #1 "{ll}" format.name$ " (Hrsg.)" *
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ ua.etal * }%% --->u. a.
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { ua.etal }
+ { " ; " * editor #2 "{vv~}{ll}" format.name$ * " (Hrsg.)" * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.inbk.vol.title}
+{ volume empty$
+ { " In: " }
+ { title empty$
+ { " In: Bd." volume tie.or.space.connect
+ " von " *
+ }
+ { "In: Bd." volume tie.or.space.connect ": " * title emphasize *
+ " (" * year * ") in " *
+ }
+ if$
+ }
+ if$
+ }
+
+
+FUNCTION {format.book.crossref}
+{ type$ "inbook" =
+ { format.inbk.vol.title }
+ { volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ " "
+ }
+ { ". -- Bd." volume tie.or.space.connect
+ " von " *
+ }
+ if$
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { "" * }
+ if$
+ "\cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "{In: }{\emph " booktitle * "}" * }%%
+ if$
+ }
+ { "{In: }" }
+ if$
+ }
+ { "{In: }" }
+ if$
+ "\cite{" * crossref * "}" * %% ", " * format.pages * 5.12.2005
+}
+
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ set.colon.after
+ format.title "title" output.check
+ crossref missing$
+ { journal article.in.journal output.nonnull
+ new.sentence
+ format.vol.year.num.pages output
+ format.url output
+ }
+ { format.article.crossref output.nonnull }
+ if$
+ format.online.lastcheck
+ doi set.period.dash.check
+ urn set.period.dash.check
+ format.doi.urn output
+ issn set.period.dash.check
+ format.isbn.issn output
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors format.editors output.nonnull }
+ if$
+ set.colon.after
+ crossref missing$
+ { format.btitle.vol "title" output.check }
+ { format.btitle "title" output.check }
+ if$
+ format.edition output
+ format.address.publisher.year "publisher" output.check
+ new.sentence
+ crossref missing$
+ { format.series.number.din output }
+ { format.book.crossref output.nonnull }
+ if$
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+ format.doi output
+ format.url output
+ new.block
+ isbn set.period.dash.check
+ format.isbn.issn output
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors format.editors output.nonnull }
+ if$
+ set.colon.after
+ format.btitle "title" output.check
+ format.edition.or.version output
+ format.url output
+ format.online.lastcheck
+ format.howpublished output
+ series new.sentence.checka
+ format.series.number.din output
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+ type set.period.dash.check
+ format.digital.type output
+ doi set.period.dash.check
+ urn set.period.dash.check
+ format.doi.urn output
+ note set.period.dash.check
+ note output
+ format.isbn.issn output
+ fin.entry
+}
+
+
+FUNCTION {inbook}
+{ output.bibitem
+ chapter format.chapter.inbook output.nonnull
+ crossref missing$
+ { author empty$
+ { format.editors "\,{In:\,}" swap$ * "author and editor" output.check }
+ { format.authors "\,{In:\,}" swap$ * output.nonnull }
+ if$
+ author empty$ editor empty$ AND
+ { before.all 'output.state := }
+ { set.colon.after }
+ if$
+ format.btitle.vol "title" output.check
+ format.edition output
+ format.address.publisher.year "publisher" output.check
+ new.sentence
+ format.series.number.din output
+ isbn set.period.dash.check
+ format.isbn.issn output
+ }
+ { format.book.crossref output.nonnull }
+ if$
+ part.of.sentence
+ format.pages output
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ set.colon.after
+ format.title "title" output.check
+ format.version.url output
+ type empty$ NOT
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ 'skip$
+ { format.online.lastcheck }
+ if$
+ }
+ { format.online.lastcheck }
+ if$
+ crossref missing$
+ { format.in.ed.booktitle.din "booktitle" output.check
+ format.edition output
+ format.address.publisher.year "publisher" output.check
+ format.maillist.url output
+ format.maillist.lastcheck
+ new.sentence
+ format.series.number.din output
+ doi set.period.dash.check
+ urn set.period.dash.check
+ format.doi.urn output
+ isbn set.period.dash.check
+ issn set.period.dash.check
+ format.isbn.issn output
+ }
+ { format.incoll.inproc.crossref output.nonnull }
+ if$
+ part.of.sentence
+ format.chapter.pages "pages" output.check
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ set.colon.after
+ format.title "title" output.check
+ crossref missing$
+ { format.in.ed.booktitle.din "booktitle" output.check
+ address empty$
+ { organization new.sentence.checka
+ organization output
+ part.of.sentence
+ format.address.publisher.year output
+ }
+ { format.address.publisher.year "publisher" output.check }
+ if$
+ new.sentence
+ series empty$
+ 'skip$
+ { format.series.number.din output }
+ if$
+ isbn set.period.dash.check
+ issn set.period.dash.check
+ format.isbn.issn output
+ }
+ { format.incoll.inproc.crossref output.nonnull }
+ if$
+ part.of.sentence
+ format.pages "pages" output.check
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }%% nach Patashnik, wg US-Kompatibilitaet
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ { title empty$
+ 'skip$
+ {format.btitle "title" output.check }
+ if$
+ }
+ 'skip$
+ if$
+ }
+ 'skip$
+ if$
+ format.authors.organization output.nonnull
+ set.colon.after
+ format.btitle "title" output.check
+ format.edition "edition" output.check
+ author empty$ organization empty$ AND
+ { address "address" output.check
+ part.of.sentence
+ }
+ { organization empty$
+ { address "address" output.check
+ part.of.sentence
+ }
+ { address ": " * organization * output
+ part.of.sentence
+ }
+ if$
+ }
+ if$
+ format.date output
+ number empty$
+ 'skip$
+ { "(" number * ") " * output }
+ if$
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+ format.doi output
+ format.url output
+ format.online.lastcheck
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+%% Standard ist "Diplomarbeit", anderes mit TYPE="anderer Typ" erfassen!
+%% z.B. TYPE={Hausarbeit}, TYPE={Diss.}, TYPE={Habil.}, TYPE={Magisterarb.}
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ set.colon.after
+ format.btitle "title" output.check
+ address output
+ part.of.sentence
+ school "school" output.check
+ part.of.sentence
+ "Diplomarbeit" format.thesis.tr.type output.nonnull
+ part.of.sentence
+ format.date "year" output.check
+ format.url output
+ format.online.lastcheck
+%% format.digital.resource.type
+ doi set.period.dash.check
+ urn set.period.dash.check
+ format.doi.urn output
+%% pages set.period.dash.check
+%% format.pages.book output
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis} %% {mastersthesis}% ist identisch bis auf Standardwert, s.o.
+{ output.bibitem
+ format.authors "author" output.check
+ set.colon.after
+ format.btitle "title" output.check
+ address output
+ part.of.sentence
+ school "school" output.check
+ part.of.sentence
+ "Diss." format.thesis.tr.type output.nonnull % koennte auch `Dissertation' sein
+ part.of.sentence
+ format.date "year" output.check
+ format.url output
+ format.online.lastcheck
+%% format.digital.resource.type
+ doi set.period.dash.check
+ urn set.period.dash.check
+ format.doi.urn output
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+%% pages set.period.dash.check
+%% format.pages.book output
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+
+%% Normen, Vornormen, Schutzrechte (Patente) werden hiermit erfasst;
+%% (z.Zt. auch noch Internetressourcen)
+%% das type-Feld uebernimmt eine wichtige Steuerfunktion:
+FUNCTION {misc}
+{ output.bibitem
+ type missing$ not
+ { type duplicate$ #1 #4 substring$ "Norm" =
+ type #1 #4 substring$ "Vorn" = OR
+ { " " *
+ format.number * output
+ new.sentence
+ format.date output
+ title empty$
+ { skip$ }
+ { add.period$ new.sentence }
+ if$
+ format.btitle "title" output.check
+ note set.period.dash.check
+ note output
+ }
+ { duplicate$ #1 #6 substring$ "Schutz" =
+ { " " * format.number * output
+ new.sentence
+ "(" * format.date ")" * output
+ add.period$ new.sentence
+ format.authors.organization add.period$ output
+ note output
+ }
+ %% wenn irgendein anderer Typ eingetragen ist
+ { pop$ pop$ ""
+ title empty$
+ { note empty$
+ { url empty$
+ { "there's no relevant field in " cite$ warning$
+ pop$ ""
+ }
+ { format.url output }%%%
+ if$
+ }
+ { note " " * output.nonnull }
+ if$
+ }
+ { author empty$
+ { editor empty$
+ { organization empty$
+ { skip$ }
+ { format.editors.organization output.nonnull
+ set.colon.after
+ }
+ if$
+ }
+ { format.editors format.editors.organization
+ output.nonnull set.colon.after
+ }
+ if$
+ }
+ { format.authors format.editors output.nonnull
+ set.colon.after
+ }
+ if$
+ format.btitle output.nonnull
+ url empty$
+ { format.edition output
+ format.howpublished output}
+ { format.howpublished output
+ format.edition.or.date output
+ format.url output
+ }
+ if$
+ format.online.lastcheck
+ new.sentence
+ format.misc.series output
+%% note set.period.dash.check
+ note output
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ %% wenn es keinen type gibt
+ { title empty$
+ { note empty$
+ { url empty$
+ { "there's no relevant field in " cite$ warning$
+ pop$ ""
+ }
+ { format.url output }%%% das waere e. reine URL
+ if$
+ }
+ { note " " * output.nonnull
+ %% format.url format.date output
+ }
+ if$
+ }
+ { author empty$
+ { editor empty$
+ { organization empty$
+ { skip$ }
+ { format.editors.organization output.nonnull
+ set.colon.after
+ }
+ if$
+ }
+ { format.editors format.editors.organization
+ output.nonnull set.colon.after
+ }
+ if$
+ }
+ { format.authors format.editors output.nonnull
+ set.colon.after
+ }
+ if$
+ format.btitle output.nonnull
+ url empty$
+ { format.edition output
+ format.howpublished output}
+ { format.howpublished output
+ format.url output
+ format.edition.or.date output
+ format.online.lastcheck
+ }
+ if$
+ new.sentence
+ format.misc.series output
+ note set.period.dash.check
+ note output
+ }
+ if$
+ }
+ if$
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization empty$
+ { "empty organization and editor in " cite$ * warning$ }
+ { organization " (Veranst.)" * output }
+ if$
+ }
+ { format.editors format.editors.organization output.nonnull }
+ if$
+ set.colon.after
+ format.btitle "title" output.check
+ volume empty$
+ { skip$ }
+ { "{\textnormal{Bd.}}" volume tie.or.space.connect emphasize "volume" output.check }
+ if$
+ format.address.publisher.year "publisher" output.check
+ new.sentence
+ format.series.number.din output.nonnull
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+ isbn set.period.dash.check
+ issn set.period.dash.check
+ format.isbn.issn output
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ format.tr.institution output.nonnull }
+ { format.authors format.editors output.nonnull }
+ if$
+ set.colon.after
+ format.title "title" output.check
+ institution empty$
+ 'skip$
+ { author empty$ editor empty$ AND
+ 'skip$
+ { institution new.sentence.checka
+ "/ " institution * output.nonnull
+ }
+ if$
+ }
+ if$
+ format.version.url output
+ format.online.lastcheck
+ format.address.publisher.year output
+ number new.sentence.checka
+ format.tr.series.or.number "number" output.check
+ "Forschungsbericht" format.thesis.tr.type set.period.dash.check
+ "Forschungsbericht" format.thesis.tr.type output
+%% format.digital.resource.type
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+ isbn set.period.dash.check
+ issn set.period.dash.check
+ format.isbn.issn output
+ note set.period.dash.check
+ note "note" output.check
+ fin.entry
+}
+
+
+FUNCTION {unpublished} {misc}%% AUTHOR, TITLE, NOTE muessen sein!
+%% andere Felder sind optional
+
+FUNCTION {default.type} { misc }
+
+
+MACRO {jan} {"Januar"}
+
+MACRO {feb} {"Februar"}
+
+MACRO {mar} {"M{\^^b a}rz"}
+
+MACRO {apr} {"April"}
+
+MACRO {mai} {"Mai"}
+
+MACRO {may} {"Mai"}
+
+MACRO {jun} {"Juni"}
+
+MACRO {jul} {"Juli"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {okt} {"Oktober"}
+
+MACRO {oct} {"Oktober"}
+
+MACRO {nov} {"November"}
+
+MACRO {dez} {"Dezember"}
+
+MACRO {dec} {"Dezember"}
+
+%%$$$ stillgelegte Beispiele fuer den Gebrauch von Kuerzeln (hier Zs-Titel).
+
+%%MACRO {acmcs} {"ACM Computing Surveys"}
+
+%%MACRO {acta} {"Acta Informatica"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{ll{ }}{ ff{ }}{ vv{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { ua.etal * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "Der " #4
+ "Die " #4
+ "Das " #4
+ "Ein " #4
+ "Eine " #5
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+FUNCTION {initialize.longest.label}%% nicht identisch mit der Fkt.im ALPHA-Stil
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE { initialize.longest.label }
+
+ITERATE { longest.label.pass }
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+ newline$
+ "% this bibliography is generated by plaindin.bst [8.2] from 2005-12-21"
+ write$ newline$ newline$
+ "\providecommand{\url}[1]{\texttt{#1}}"
+ write$ newline$
+ "\expandafter\ifx\csname urlstyle\endcsname\relax"
+ write$ newline$
+ " \providecommand{\doi}[1]{doi: #1}\else"
+ write$ newline$
+ " \providecommand{\doi}{doi: \begingroup \urlstyle{rm}\Url}\fi"
+ write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib} \ No newline at end of file
diff --git a/biblio/bibtex/contrib/german/din1505/unsrtdin.bst b/biblio/bibtex/contrib/german/din1505/unsrtdin.bst
new file mode 100644
index 0000000000..5505961b70
--- /dev/null
+++ b/biblio/bibtex/contrib/german/din1505/unsrtdin.bst
@@ -0,0 +1,1894 @@
+%% UNSRTDIN.BST Ausgabe [8.2] 2006-01-02
+%% mit doi-, urn-, url-Funktionen
+%% ersetzt UNSRTDIN.BST Ausgabe [8.1b3] 22.2.2005
+%% ersetzt UNSRTDIN.BST Ausgabe [7] 16/6/99
+%%
+%% K.F.Lorenzen (Copyright 1994-2006) email: lorenzen.marxen@t-online.de
+%% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+%% UNSRTDIN.BST wurde entwickelt aus BibTeX standard bibliography style
+%% `unsrt'.Mit UNSRTDIN.BST werden Literaturverzeichnisse gemaess der deutschen
+%% Zitiernorm DIN 1505 Teil 2 formatiert.
+%% Analog zu den 4 US standard styles wird ein vollstaendiger Satz von
+%% 4 DIN-gerechten bst-style Dateien veroeffentlicht (alphadin.bst,
+%% plaindin.bst, unsrtdin.bst, abbrvdin.bst). Die gueltige Version
+%% ist am schnellsten aus dem WWW ueber folgende URL zu beziehen
+%% http://www.haw-hamburg.de/pers/Lorenzen/bibtex/
+%% Stand: 2006-01-02
+%% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+%% WAS IST UNSRTDIN.BST ?
+%% Dieser style produziert Literaturzitate in Literaturverzeichnissen
+%% gemaess der deutschen Norm DIN 1505, Teil 2 vom Jan. 1984.
+%% Die Reihenfolge der Zitate im Text bestimmt die Reihenfolge im
+%% Literaturverzeichnis, das somit unsortiert ist. Form und Gestaltung
+%% entsprechen der von plaindin.bst. Die label im Literaturverzeichnis sowie
+%% im Text sind Nummern in eckigen Klammern. Die vorliegenden DIN-styles
+%% gehen ueber die bibliographischen Beschraenkungen der Originalstyles hinaus.
+%
+%% Es werden nun auch Elektronische Online / Offline Ressourcen wie Internet-
+%% quellen, CD-ROM usw. verarbeitet. Dazu kommen besondere Publikationsformen
+%% wie Patente, Normen, Karten, Fernsehaufzeichnungen, Gesetzesstellen, Spiele.
+%
+%% Zur Gewaehrleistung der Allgemeingueltigkeit von bib-files gelten in den
+%% DIN-styles die in der Tex-Literatur veroeffentlichten originalen
+%% Definitionen und Regeln fuer die Publikationstypen (entry-types) und die
+%% bibliographischen Felder (fields).
+%% Treten kleinere "Schoenheitsfehler" im fertig gesetzten output auf,
+%% lassen sich diese so gut wie immer durch eine veraenderte
+%% Erfassung im bib-inputfile beseitigen. Oren Patashnik empfiehlt, die
+%% Definition der Felder weit auszulegen. Last but not least koennen
+%% Sie im output-file < *.bbl > noch letzte Hand zur Korrektur ansetzen.
+%
+%% WARN- UND FEHLERMELDUNGEN
+%% Ursache von Warnmeldungen sind meistens ausgelassene Felder oder
+%% Erfassungs-"Fehler". Letztere haengen teilweise mit den gegenueber US-
+%% Gepflogenheiten andersartigen bibliographischen Regeln nach DIN 1505
+%% zusammen. Sie sind also in Wahrheit keine "Fehler" und duerfen fast immer
+%% ignoriert werden. Dennoch pruefen Sie diese Warnungen, um heraus zu finden,
+%% ob Publikationstyp (=entry-type) und "fields" eventuell unzulaessig
+%% kombiniert worden sind.
+%% Echte Fehler ("errors") treten nur noch in Verbindung mit falscher
+%% Erfassung auf (nach meinen Tests!). Pruefen Sie die Syntax, den entry-type
+%% und die fields.
+%% Zu guter letzt: Qualitaetsmasstab ist einzig der DIN-konforme output!
+%%
+%% DANKSAGUNG
+%% Hartmut Lueddecke, HAW Hamburg, hat viele Verbesserungsvorschlaege
+%% in die frueheren Versionen eingebracht. Ihm danke ich herzlich.
+%% Patrick W. Daly, dem Entwickler des Natbib-Stils, verdanke ich viele
+%% Anregungen und den steten Ansporn, die DIN-Stile zu verbessern.
+%% Viele an dieser Stelle ungenannt bleibende Anwender haben mich in
+%% den vergangenen Jahren auf Fehler oder Verbesserungsmoeglichkeiten
+%% aufmerksam gemacht und so diesen Stil mitentwickelt. Ihnen gilt mein
+%% besonderer Dank. Ihr Feedback ist immer willkommen und eine Ermunterung.
+%%
+%% Klaus F. Lorenzen
+%%
+%%
+%%
+%% HINWEIS: Neben den vier bibliographischen DIN 1505 Standard-Stilen
+%% nach den Original-styles von Oren Patashnik
+%% gibt es zusaetzlich vier DIN 1505 Modifikationen der style
+%% Emulationen des NATBIB-Pakets von Patrick W.Daly.
+%% In den NATBIB-Modifikationen werden jetzt alle von P.W. Daly
+%% implementierten Zitierweisen des Autor-Jahr-Stils unterstuetzt.
+%% Damit erhaelt der Anwender eine weit ueber die urspruenglichen
+%% Standardstyles hinausreichende Flexibilitaet beim Zitieren.
+%% Naeheres unter URL http://www.haw-hamburg.de/pers/Lorenzen/bibtex/
+%%
+%%
+%% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+% version 0.99c for BibTeX versions 0.99c or later, LaTeX2e
+% Copyright (C) 1985, all rights reserved.
+% Copying of this file is authorized only if either
+% (1) you make absolutely no changes to your copy, including name, or
+% (2) if you do make changes, you name it something other than
+% plaindin.bst, unsrtdin.bst, alphadin.bst, and abbrvdin.bst.
+% This restriction helps ensure that all standard styles are identical.
+% The file btxbst.doc has the original documentation for style 'alpha'.
+%%
+%% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+%%
+%% NEUE FELDER
+%% Zur Erfassung der neuen digitalen Online-Medien z.B. Internetquellen, E-journals, E-books,
+%% E-mail u.a. gibt es die zusaetzlichen Felder: doi, url, urn, lastchecked
+%% Internetquellen werden vorzugsweise mit dem BOOKLET-Typ erfasst.
+%% Normen, Patente, Schutzrechte sind mit dem MISC-Typ zu erfassen.
+%
+%
+ENTRY
+ { address %% Verlagsort
+ author %% persoenlicher Urheber eines Werkes
+ booktitle %% a) Gesamttitel eines mehrbaendigen Werkes
+% %% b) Titel des Sammelwerks, das einzelne selbstaendige
+% %% Beitraege mit eigenem Titel enthaelt (->incollection)
+ chapter %% Kapitel in einem Buch (Monographie)
+ doi %%% Digital Object Identifier
+ edition %% Auflagevermerk; bei selbst. elektron. Dok. == Version
+ editor %% Persoenl.Herausgeber oder Koerperschaftlicher Herausgeber
+ howpublished %% beliebiger Verlegervermerk: von wem, wo
+ institution %% Institution, die e.Verlagsfreie Veroeffentlichung betreibt
+ isbn %% Standardnr fuer Buecher
+ issn %% - " - : Zeitschriften u. Serien
+ journal %% Titel einer Zeitschrift
+ key %% Zusaetzlich vergebener Sortierschluessel, mitunter notwend.
+ lastchecked %% Online Abruf einer Internetquelle ( GRAY ); 22.1.2004
+ month %% naehere Bestimmung des Erscheinungsjahres (-> macro 's)
+ note %% freies Eingabefeld fuer zusaetzliche Informationen
+ number %% Mehrfachbedeutung in Abhaengigkeit vom Eingabetyp
+ organization %% a) Name der Organisation/des Organisators e. Tagung,Konferenz
+% %% b) Name einer Firma/Gesellschaft, die ein ->manual herausgab
+ pages %% Umfangsangaben, meist Seitenzahlen
+ publisher %% Verlag
+ school %% Hochschule/Universitaet, die eine Dipl.-Arb./Dissertation veroeff.
+ series %% Titel e.Reihe, in der ein best. Buchtitel erschienen ist
+ title %% Titel einer (namentlich gekennzeichneten) Veroeffentlichung
+ type %% Zusatzfeld z.Kennzeichnung e.besonderen Publikationstyps
+ url %%% Internet-Adresse URL ( Uniform Resource Locator )
+ urn %% Persistent Identifier URN ( Uniform Resource Name )
+ volume %% a) Zaehlung bei einem mehrbaendigen Werk (-> book)
+% %% b) Jahrgang einer Zeitschrift (-> article
+ year %% Erscheinungsjahr
+ }
+ {}
+ { label }
+
+%% Variablen-Vereinbarungen
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+INTEGERS { colon.after period.dash }
+
+INTEGERS { after.firstblock }
+
+%% fuer die Namensbehandlung
+
+INTEGERS { zahl lang }
+
+INTEGERS { nameptr namesleft numnames }
+
+INTEGERS { ptr collation collrest }
+
+%% fuer die Sortierung bei der label-Produktion
+INTEGERS { len }
+
+INTEGERS { number.label longest.label.width }
+%%----------------------------------------------------------------------
+
+STRINGS { h s t u v w }
+
+%% bei der Behandlung der Namen-Funktionsbezeichnung (Hrsg., Redakt., usw)
+STRINGS { fkt }
+
+%% fuer die label-Produktion
+STRINGS { longest.label }
+
+%%%----------------------------------------------------------------------------
+% Einige Standardvorgaben, die vom Benutzer veraendert werden koennen.
+%%%----------------------------------------------------------------------------
+
+% Abkuerzung ("... und andere") bei Mehrverfasserquellen:
+
+FUNCTION { ua.etal } { " u.\,a." } %% evtl. auch in eckigen Klammern " [u.\,a.]"
+
+%% oder lateinisch: FUNCTION { ua.etal } { " et~al." }
+
+FUNCTION { und } { " u. " }
+
+%% oder ausgeschrieben: FUNCTION { und } { " und " }
+%
+% Einige elektronische Medien erhalten nach DIN 1505 eine "Ergaenzende Angabe"
+% zusaetzlich zum materiellen Typ, z.B. CD ROM oder DVD u.a.:
+
+FUNCTION { eress } { "Elektronische Ressource" }
+
+%%%-----------------------------------------------------------------------------------
+
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #4 'colon.after :=
+ #5 'period.dash :=
+ #6 'after.firstblock :=
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ { write$ }
+ { output.state colon.after =
+ { ": " * write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state period.dash =
+ { ". -- " * write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.sentence =
+ { " " * write$ }
+ { output.state after.firstblock =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { write$
+ newline$
+ "\newblock " write$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ after.block 'output.state :=
+ }
+ if$
+ s
+ }
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$%
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ write$
+ newline$
+}
+
+FUNCTION {set.period.dash} %% Wenn ein ". - " die Satzteile trennen soll.!
+{ output.state before.all =
+ 'skip$
+ { period.dash 'output.state := }
+ if$
+}
+
+FUNCTION {set.period.dash.check}
+{ empty$
+ 'skip$
+ 'set.period.dash
+ if$
+}
+
+FUNCTION {set.colon.after} %%$$$ Wenn ein ": " d. Satzteile trennen soll!
+{ output.state before.all =
+ 'skip$
+ { colon.after 'output.state := }
+ if$
+}
+
+%% Wenn ein " " die Satzteile trennen soll.!
+FUNCTION {new.sentence}
+{ output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+}
+
+%% Wenn ein ", " die Satzteile trennen soll.!
+FUNCTION { part.of.sentence }
+{ output.state before.all =
+ 'skip$
+ { mid.sentence 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+
+FUNCTION { capitalize }
+ { duplicate$ empty$
+ { pop$ "" }
+ { "\textsc{" swap$ * "}" * }
+ if$
+}
+
+FUNCTION {article.in.journal}
+{ duplicate$ empty$
+ { pop$ "" }
+ { author missing$ title missing$ and
+ { emphasize }
+ { emphasize "{In: }" swap$ * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.doi}
+{ doi empty$
+ { "" }
+ { new.block "\url{http://dx.doi.org/" doi * "}" *
+ %% { new.block "\url{http://dx.medra.org/" doi * "}" *
+ }
+ if$
+}
+
+FUNCTION {format.url}
+{ urn missing$
+ { doi missing$
+ { url empty$
+ { "" }
+ { type empty$ NOT
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ { type$ "incollection" =
+ { "" }
+ { "\,Absenderadresse: \url{" url * "}" * }
+ if$
+ }
+ { "\url{" url * "}" * }%% evtl. "URL" oder "<...>"
+ if$
+ }
+ { "\url{" url * "}" * } %% evtl. "URL" oder "<...>"
+ if$
+ }
+ if$
+ }
+ { format.doi }
+ if$
+ }
+ { "\url{http://nbn-resolving.de/urn/resolver.pl?urn=" urn * "}" *
+ }
+ if$
+}
+
+FUNCTION {format.maillist.url}
+ { url empty$
+ { "" }
+ { type empty$
+ { "" }
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ { "\url{" url * "}" * }
+ { "" }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+
+
+
+%% Adelspraedikate beim Sortieren nach den(m) Vornamen auffuehren
+%% Abweichend v. DIN !!!
+FUNCTION {format.names}
+{ 's :=
+ "" 'u :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {
+ s nameptr "{ll}" format.name$ 't :=
+ t capitalize 't :=
+ s nameptr "{ jj}" format.name$ 'w :=
+ s nameptr "{, ff}{ vv}{ jj}" format.name$ 'u :=
+ u text.length$ 'lang :=
+ #1 'zahl :=
+ "" 'v :=
+ { zahl lang < }
+ { u zahl #1 substring$ "~" =
+ { v "" =
+ { u #1 zahl #1 - substring$ 'v := }
+ 'skip$
+ if$
+ v u zahl #2 substring$ * "." * w * 'v :=
+ }
+ 'skip$
+ if$
+ zahl #1 + 'zahl := }
+ while$
+ v "" =
+ { u 'v := }
+ 'skip$
+ if$
+ t v * fkt * 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { " ; " * t * }
+ { numnames #2 >
+ { " " * }
+ 'skip$
+ if$
+ t "\textsc{others}" = t "\textsc{others} (Hrsg.)" = or
+ { ua.etal * }
+ { " ; " * t * }
+ if$
+ }
+ if$ %% Ende der namesleft-Pruefung
+ }
+ 't
+ if$ %% Ende der nameptr-Pruefung
+
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$ %% Ende von { namesleft #0 > } ganz oben
+ "" 'fkt := %% fkt wird zurueckgesetzt
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { author empty$
+ { "empty author and editor in " cite$ * warning$ "" }
+ 'skip$
+ if$
+ }
+ { author empty$
+ { " (Hrsg.)" 'fkt :=
+ editor format.names
+ }
+ { " (Hrsg.)" 'fkt :=
+ " ; " * editor format.names *
+ }
+ if$
+ }
+ if$
+ }
+
+FUNCTION { format.authors.organization }
+{ type$ "misc" =
+ { organization empty$
+ { author empty$
+ { "" }
+ { author format.names " (Erfinder)" * }
+ if$
+ }
+ { author empty$
+ { organization }
+ { author format.names " (Erfinder); " *
+ organization * " (Anmelder)" *
+ }
+ if$
+ }
+ if$
+ }
+ { type$ "manual" =
+ { organization empty$
+ { format.authors }
+ { author empty$
+ { organization capitalize " (Hrsg.)" * }
+ { author format.names }
+ if$
+ }
+ if$
+ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+
+
+FUNCTION { format.editors.organization }
+{ organization empty$
+ 'skip$
+ { type$ "misc" =
+ { organization }
+ { * " ; " * organization " (Veranst.)" *}
+ if$
+ }
+ if$
+}
+
+FUNCTION { format.tr.institution }
+{ institution empty$
+ 'skip$
+ { institution capitalize }
+ if$
+}
+
+FUNCTION {format.ed.incoll}
+{ editor empty$
+ { "" }
+ { " (Hrsg.)" 'fkt :=
+ editor format.names
+ }
+ if$
+}
+
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title } %% Text so wie er dasteht im Feld title
+ if$
+}
+
+FUNCTION {format.number}
+{ number empty$
+ { "" }
+ { number " " * } %% Text so wie er im Feld number steht plus " "
+ if$
+}
+
+
+FUNCTION {format.type}
+{ type empty$
+ { "" }
+ { type " " * } %% Text wie er dasteht; Schutzrecht, Norm etc.
+ if$
+}
+
+FUNCTION {format.digital.type}
+{ type empty$
+ { "" }
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ { "" }
+ { type } %% Typ einer digitalen Ressource in Form einer
+ %% "Ergaenzenden Angabe", so wie er dasteht;
+ %% Alternativ kann dieser Text auch in NOTE erfasst werden.
+ if$
+ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+%% Auflagenvermerke gibt man komplett, einschliesslich Abkuerzungen in
+%% das Feld edition ein: ---> EDITION= { 3., erw. und verb. Aufl. }
+%% oder fremdsprachlich: EDITION= { 2nd edition }
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { edition }
+ if$
+}
+
+FUNCTION {format.date}
+{ year duplicate$ empty$
+ { "empty year in " cite$ * warning$
+ pop$ "" }
+ 'skip$
+ if$
+ month empty$
+ 'skip$
+ { type$ "book" =
+ type$ "inbook" =
+ OR
+ 'skip$
+ { month " " * swap$ * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.edition.or.date}
+{ edition empty$ year empty$ and
+ { "" }
+ { edition empty$
+ { type empty$ NOT
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ { " gesendet: " "-- " type * swap$ *
+ format.date *
+ }
+ { "\,Version:\,"
+ format.date *
+ }
+ if$
+ }
+ { "\,Version:\,"
+ format.date *
+ }
+ if$
+ }
+ { year empty$
+ { "\,Version:\," edition * }
+ { "\,Version:\," edition * ", " *
+ format.date *
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.version.url}
+{ url empty$ doi empty$ urn empty$ and and
+ { type$ "techreport" =
+ { format.edition }
+ { "" }
+ if$
+ }
+ { format.edition.or.date output format.url }
+ if$
+}
+
+FUNCTION {format.edition.or.version}
+{ url empty$ doi empty$ urn empty$ and and
+ { format.edition }
+ { format.edition.or.date }
+ if$
+}
+
+FUNCTION {format.address.publisher.year}
+{ publisher empty$
+ { address empty$
+ { year empty$
+ { "" }
+ { year }
+ if$
+ }
+ { "there's an address but no publisher in " cite$ * warning$
+ address ", " * format.date *
+ }
+ if$
+ }
+ { address empty$
+ { year empty$
+ { "neither address nor publication date in " cite$ * warning$
+ publisher
+ }
+ { publisher ", " * format.date * }
+ if$
+ }
+ { year empty$
+ { address " : " * publisher * }
+ { address " : " * publisher * ", " * format.date * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.address.publisher.year.alt}
+{ publisher empty$
+ { address empty$
+ { year empty$
+ { "" }
+ { url empty$
+ { year }
+ { "" }
+ if$
+ }
+ if$
+ }
+ { "there's an address but no publisher in " cite$ * warning$
+ address ", " * format.date *
+ }
+ if$
+ }
+ { url empty$%%%% wenn es URL gibt wird nur die service-provider Adresse
+%%% ausgegeben, die im publisher-Feld steht
+ { address empty$
+ { year empty$
+ { "neither address nor publication date in " cite$ * warning$
+ publisher
+ }
+ { publisher ", " * format.date * }
+ if$
+ }
+ { year empty$
+ { address " : " * publisher * }
+ { address " : " * publisher * ", " * format.date * }
+ if$
+ }
+ if$
+ }
+ { publisher }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.howpublished}
+{ url missing$ urn missing$ doi missing$ AND AND
+ { howpublished empty$
+ { address empty$
+ { type empty$
+ { "" }
+ { type #-1 #4 substring$ "mail" =
+ { "(gesendet: " new.sentence
+ format.date * ")" *
+ }
+ { "" }
+ if$
+ }
+ if$
+ format.date *
+ }
+ { address ", " * format.date * }
+ if$
+ }
+ { address empty$
+ { howpublished ", " * format.date * }
+ { address " : " * howpublished * ", " * format.date * }
+ if$
+ }
+ if$
+ }
+ { howpublished empty$
+ { "" }
+ { howpublished }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.lastchecked.or.type}
+{ lastchecked empty$
+ { url empty$ doi empty$ urn empty$ and and
+ { type empty$
+ { skip$ }
+ { type set.period.dash.check
+ type output
+ }
+ if$
+ }
+ { type empty$
+ { skip$ }
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ { skip$ }
+ { type set.period.dash.check
+ type output }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ { url empty$ doi empty$ urn empty$ and and
+ { "there's a lastchecked date but no url, urn or doi in "
+ cite$ * warning$
+ }
+ { type empty$
+ { "there's a URL and a lastchecked date but no type in "
+ cite$ * warning$
+ }
+ { type set.period.dash.check
+ type output
+ part.of.sentence
+ lastchecked "Abruf: " swap$ * output
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {format.btitle.vol}
+{ number empty$
+ { series empty$
+ { volume empty$
+ { title emphasize }
+ { title emphasize ". Bd." * volume tie.or.space.connect }
+ if$
+ }
+ { volume empty$
+ { title emphasize }%% ein Buch, das zusaetzl. SERIES=Reihentitel besitzt
+ %% jetzt kommt d. Fall des mehrbaendigen Werkes mit Gesamttitel=SERIES
+ %% Zaehlung=VOLUME und Bandtitel=TITLE;
+ { series emphasize ". Bd." * volume tie.or.space.connect
+ ": " * "{\emph{" * title * "}}" * }
+ if$
+ }
+ if$%% series-test
+ }
+ { title emphasize }%% wenn number ex., dann immer title-Feld
+ if$%% Ende number-test
+}
+
+FUNCTION {format.series.number.din}
+{ volume empty$
+ { number empty$
+ { series empty$
+ { "" }
+ { "(" series * ")" * } %% d. Seriennr koennte auch gleich hier
+ %% im SERIES-Feld miterfasst werden
+ if$
+ }
+ { series empty$
+ { "(" number * ")" *
+ "there's a number but no series in " cite$ * warning$
+ }
+ { "(" series * number tie.or.space.connect ")" * }
+ if$
+ }
+ if$
+ }
+ { series empty$
+ { "" }
+ { type$ "proceedings" = %% Sonderfall, es darf VOLUME und NUMBER ex. !
+ type$ "inproceedings" = OR
+ { number empty$
+ { "(" series * ")" * }
+ { "(" series * number tie.or.space.connect ")" * }
+ if$
+ }
+ { "" }%% Ausstieg mit Nullstring, s. Kommentar
+ if$
+ }%% bei gezaehlten Reihen MUSS die Reihennr. im Feld NUMBER stehen!
+ if$ %% wenn also d. Feld VOLUME nicht leer ist, dann liegt ausser bei
+ %% Typ PROCEEDINGS falsche
+ } %% Erfassung vor und es erfolgt d. Ausstieg mit d. Nullstring!
+ if$
+}
+
+FUNCTION {format.tr.series.or.number}
+{ number empty$
+ { series empty$
+ { "" }
+ { "(" series * ")" * }
+ if$
+ }
+ { series empty$
+ { "(" number * ")" * }
+ { "(" series * number tie.or.space.connect ")" * }
+ if$
+ }
+ if$
+ }
+
+FUNCTION {format.misc.series}
+{ series empty$
+ { "" }
+ { "(" series * ")" * }
+ if$
+}
+
+FUNCTION { format.doi.urn }
+{ urn empty$
+ { doi empty$
+ { "" }
+ { "DOI" doi n.dashify tie.or.space.connect }
+ if$
+ }
+ { "URN" urn n.dashify tie.or.space.connect }
+ if$
+}
+
+FUNCTION { format.isbn.issn }
+{ isbn empty$
+ { issn empty$
+ { "" }
+ { "ISSN" issn n.dashify tie.or.space.connect }
+ if$
+ }
+ { "ISBN" isbn n.dashify tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { url empty$
+ { "S." pages n.dashify tie.or.space.connect }
+ { pages }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pages.book}
+{ pages empty$
+ { "" }
+ { note empty$ isbn empty$ AND
+ { "" pages n.dashify tie.or.space.connect " S" *
+ add.period$ }
+ { "" pages n.dashify tie.or.space.connect " S" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pages.bkcollation}
+{ pages empty$
+ { "" }
+ { "" pages n.dashify tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.bkpages.collat.check}
+{ 's :=
+ #1 'ptr :=
+ s text.length$ 'collation :=
+ collation #1 =
+ { format.pages.book }
+ {
+ collation 'collrest :=
+ { collrest #0 > }
+ { s ptr #2 substring$ 't :=
+ t "S." =
+ { format.pages.bkcollation
+ #0 'collrest := }
+ { ptr #1 + 'ptr :=
+ collrest #1 - 'collrest :=
+ #1 collrest =
+ { format.pages.book }
+ { skip$ }
+ if$
+ }
+ if$
+ }
+ while$
+ }
+ if$
+}
+
+FUNCTION {format.vol.year.num.pages}
+{ volume field.or.null
+ year empty$
+ { "there's no year in " cite$ * warning$ }
+ { " (" year * ")" * * }
+ if$
+ month empty$
+ 'skip$
+ { ", " month * * }
+ if$
+ number empty$
+ 'skip$
+ { ", Nr. " number * * }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ "" }
+ { title missing$
+ { ", " pages format.bkpages.collat.check * *}
+ { ", " format.pages * *}
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.inbook}
+{ duplicate$ empty$
+ { pop$ "empty chapter in " cite$ * warning$ }
+ { type empty$
+ { "\emph{Kapitel\/} " swap$ tie.or.space.connect }
+ { type " " * swap$ * }%% wenn keine bes. Abschnittsform gen. werden soll,
+ %% koennte e. kl. Zwischenraum gewaehlt werden, z.B. " \, "
+ if$
+ }
+ if$
+ }
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "Kapitel " }
+ { url empty$
+ { type }
+ { "Kapitel " }
+ if$
+ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle.din}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { volume empty$
+ { "{In: }" booktitle emphasize * }
+ { "{In: }" booktitle emphasize *
+ " Bd." volume tie.or.space.connect *
+ }
+ if$
+ }
+ { volume empty$
+ { "{In: }" format.ed.incoll * ": " * booktitle emphasize * }
+ { "{In: }" format.ed.incoll * ": " * booktitle emphasize *
+ " Bd." volume tie.or.space.connect *
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.tr.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type
+ }
+ if$
+}
+
+FUNCTION {format.online.lastcheck}
+{ lastchecked empty$
+ { url empty$ doi empty$ urn empty$ and and
+ { skip$ }
+ { "" output }
+ if$
+ }
+ { url empty$ doi empty$ urn empty$ and and
+ { "there's a lastchecked date but no url, urn or doi in "
+ cite$ * warning$
+ }
+ { part.of.sentence
+ lastchecked "Abruf: " swap$ * output
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.maillist.lastcheck}
+ { type empty$ NOT
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ { format.online.lastcheck }
+ 'skip$
+ if$
+ }
+ 'skip$
+ if$
+ }
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "{In: }{\emph " journal * "}" * }
+ if$
+ }
+ { "{In: }" key * }
+ if$
+ "\cite{" * crossref * "}" * ", " * format.pages *
+}
+
+FUNCTION {format.crossref.editor}
+ { editor #1 "{ll}" format.name$ " (Hrsg.)" *
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ ua.etal * }%% --->u. a.
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { ua.etal }
+
+ { " ; " * editor #2 "{vv~}{ll}" format.name$ * " (Hrsg.)" * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.inbk.vol.title}
+{ volume empty$
+ { " In: " }
+ { title empty$
+ { " In: Bd." volume tie.or.space.connect
+ " von " *
+ }
+ { "In: Bd." volume tie.or.space.connect ": " * title emphasize *
+ " (" * year * ") in " *
+ }
+ if$
+ }
+ if$
+ }
+
+
+FUNCTION {format.book.crossref}
+{ type$ "inbook" =
+ { format.inbk.vol.title }
+ { volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ " "
+ }
+ { ". -- Bd." volume tie.or.space.connect
+ " von " *
+ }
+ if$
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { "" * }
+ if$
+ "\cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "{In: }{\emph " booktitle * "}" * }%%
+ if$
+ }
+ { "{In: }" }
+ if$
+ }
+ { "{In: }" }
+ if$
+ "\cite{" * crossref * "}" * %% ", " * format.pages * 5.12.2005
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ set.colon.after
+ format.title "title" output.check
+ crossref missing$
+ { journal article.in.journal output.nonnull
+ new.sentence
+ format.vol.year.num.pages output
+ format.url output
+ }
+ { format.article.crossref output.nonnull }
+ if$
+ format.online.lastcheck
+ doi set.period.dash.check
+ urn set.period.dash.check
+ format.doi.urn output
+ issn set.period.dash.check
+ format.isbn.issn output
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors format.editors output.nonnull }
+ if$
+ set.colon.after
+ crossref missing$
+ { format.btitle.vol "title" output.check }
+ { format.btitle "title" output.check }
+ if$
+ format.edition output
+ format.address.publisher.year "publisher" output.check
+ new.sentence
+ crossref missing$
+ { format.series.number.din output }
+ { format.book.crossref output.nonnull }
+ if$
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+ format.doi output
+ format.url output
+ new.block
+ isbn set.period.dash.check
+ format.isbn.issn output
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors format.editors output.nonnull }
+ if$
+ set.colon.after
+ format.btitle "title" output.check
+ format.edition.or.version output
+ format.url output
+ format.online.lastcheck
+ format.howpublished output
+ series new.sentence.checka
+ format.series.number.din output
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+ type set.period.dash.check
+ format.digital.type output
+ doi set.period.dash.check
+ urn set.period.dash.check
+ format.doi.urn output
+ note set.period.dash.check
+ note output
+ format.isbn.issn output
+ fin.entry
+}
+
+
+FUNCTION {inbook}
+{ output.bibitem
+ chapter format.chapter.inbook output.nonnull
+ crossref missing$
+ { author empty$
+ { format.editors "\,{In:\,}" swap$ * "author and editor" output.check }
+ { format.authors "\,{In:\,}" swap$ * output.nonnull }
+ if$
+ author empty$ editor empty$ AND
+ { before.all 'output.state := }
+ { set.colon.after }
+ if$
+ format.btitle.vol "title" output.check
+ format.edition output
+ format.address.publisher.year "publisher" output.check
+ new.sentence
+ format.series.number.din output
+ isbn set.period.dash.check
+ format.isbn.issn output
+ }
+ { format.book.crossref output.nonnull }
+ if$
+ part.of.sentence
+ format.pages output
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ set.colon.after
+ format.title "title" output.check
+ format.version.url output
+ type empty$ NOT
+ { type #-1 #4 substring$ "mail" =
+ type #1 #4 substring$ "Mail" =
+ OR
+ 'skip$
+ { format.online.lastcheck }
+ if$
+ }
+ { format.online.lastcheck }
+ if$
+ crossref missing$
+ { format.in.ed.booktitle.din "booktitle" output.check
+ format.edition output
+ format.address.publisher.year "publisher" output.check
+ format.maillist.url output
+ format.maillist.lastcheck
+ new.sentence
+ format.series.number.din output
+ doi set.period.dash.check
+ urn set.period.dash.check
+ format.doi.urn output
+ isbn set.period.dash.check
+ issn set.period.dash.check
+ format.isbn.issn output
+ }
+ { format.incoll.inproc.crossref output.nonnull }
+ if$
+ part.of.sentence
+ format.chapter.pages "pages" output.check
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ set.colon.after
+ format.title "title" output.check
+ crossref missing$
+ { format.in.ed.booktitle.din "booktitle" output.check
+ address empty$
+ { organization new.sentence.checka
+ organization output
+ part.of.sentence
+ format.address.publisher.year output
+ }
+ { format.address.publisher.year "publisher" output.check }
+ if$
+ new.sentence
+ series empty$
+ 'skip$
+ { format.series.number.din output }
+ if$
+ isbn set.period.dash.check
+ issn set.period.dash.check
+ format.isbn.issn output
+ }
+ { format.incoll.inproc.crossref output.nonnull }
+ if$
+ part.of.sentence
+ format.pages "pages" output.check
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+
+FUNCTION {conference} { inproceedings }%% nach Patashnik, wg US-Kompatibilitaet
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ { title empty$
+ 'skip$
+ {format.btitle "title" output.check }
+ if$
+ }
+ 'skip$
+ if$
+ }
+ 'skip$
+ if$
+ format.authors.organization output.nonnull
+ set.colon.after
+ format.btitle "title" output.check
+ format.edition "edition" output.check
+ author empty$ organization empty$ AND
+ { address "address" output.check
+ part.of.sentence
+ }
+ { organization empty$
+ { address "address" output.check
+ part.of.sentence
+ }
+ { address ": " * organization * output
+ part.of.sentence
+ }
+ if$
+ }
+ if$
+ format.date output
+ number empty$
+ 'skip$
+ { "(" number * ") " * output }
+ if$
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+ format.doi output
+ format.url output
+ format.online.lastcheck
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+%% Standard ist "Diplomarbeit", anderes mit TYPE="anderer Typ" erfassen!
+%% z.B. TYPE={Hausarbeit}, TYPE={Diss.}, TYPE={Habil.}, TYPE={Magisterarb.}
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ set.colon.after
+ format.btitle "title" output.check
+ address output
+ part.of.sentence
+ school "school" output.check
+ part.of.sentence
+ "Diplomarbeit" format.thesis.tr.type output.nonnull
+ part.of.sentence
+ format.date "year" output.check
+ format.url output
+ format.online.lastcheck
+%% format.digital.resource.type
+ doi set.period.dash.check
+ urn set.period.dash.check
+ format.doi.urn output
+%% pages set.period.dash.check
+%% format.pages.book output
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis} %% {mastersthesis}% ist identisch bis auf Standardwert, s.o.
+{ output.bibitem
+ format.authors "author" output.check
+ set.colon.after
+ format.btitle "title" output.check
+ address output
+ part.of.sentence
+ school "school" output.check
+ part.of.sentence
+ "Diss." format.thesis.tr.type output.nonnull % koennte auch `Dissertation' sein
+ part.of.sentence
+ format.date "year" output.check
+ format.url output
+ format.online.lastcheck
+%% format.digital.resource.type
+ doi set.period.dash.check
+ urn set.period.dash.check
+ format.doi.urn output
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+%% pages set.period.dash.check
+%% format.pages.book output
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+
+%% Normen, Vornormen, Schutzrechte (Patente) werden hiermit erfasst;
+%% (z.Zt. auch noch Internetressourcen)
+%% das type-Feld uebernimmt eine wichtige Steuerfunktion:
+FUNCTION {misc}
+{ output.bibitem
+ type missing$ not
+ { type duplicate$ #1 #4 substring$ "Norm" =
+ type #1 #4 substring$ "Vorn" = OR
+ { " " *
+ format.number * output
+ new.sentence
+ format.date output
+ title empty$
+ { skip$ }
+ { add.period$ new.sentence }
+ if$
+ format.btitle "title" output.check
+ note set.period.dash.check
+ note output
+ }
+ { duplicate$ #1 #6 substring$ "Schutz" =
+ { " " * format.number * output
+ new.sentence
+ "(" * format.date ")" * output
+ add.period$ new.sentence
+ format.authors.organization add.period$ output
+ note output
+ }
+ %% wenn irgendein anderer Typ eingetragen ist
+ { pop$ pop$ ""
+ title empty$
+ { note empty$
+ { url empty$
+ { "there's no relevant field in " cite$ warning$
+ pop$ ""
+ }
+ { format.url output }%%%
+ if$
+ }
+ { note " " * output.nonnull }
+ if$
+ }
+ { author empty$
+ { editor empty$
+ { organization empty$
+ { skip$ }
+ { format.editors.organization output.nonnull
+ set.colon.after
+ }
+ if$
+ }
+ { format.editors format.editors.organization
+ output.nonnull set.colon.after
+ }
+ if$
+ }
+ { format.authors format.editors output.nonnull
+ set.colon.after
+ }
+ if$
+ format.btitle output.nonnull
+ url empty$
+ { format.edition output
+ format.howpublished output}
+ { format.howpublished output
+ format.edition.or.date output
+ format.url output
+ }
+ if$
+ format.online.lastcheck
+%% format.lastchecked.or.type
+ new.sentence
+ format.misc.series output
+%% note set.period.dash.check
+ note output
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ %% wenn es keinen type gibt
+ { title empty$
+ { note empty$
+ { url empty$
+ { "there's no relevant field in " cite$ warning$
+ pop$ ""
+ }
+ { format.url output }%%% das waere e. reine URL
+ if$
+ }
+ { note " " * output.nonnull
+ %% format.url format.date output
+ }
+ if$
+ }
+ { author empty$
+ { editor empty$
+ { organization empty$
+ { skip$ }
+ { format.editors.organization output.nonnull
+ set.colon.after
+ }
+ if$
+ }
+ { format.editors format.editors.organization
+ output.nonnull set.colon.after
+ }
+ if$
+ }
+ { format.authors format.editors output.nonnull
+ set.colon.after
+ }
+ if$
+ format.btitle output.nonnull
+ url empty$
+ { format.edition output
+ format.howpublished output}
+ { format.howpublished output
+ format.url output
+ format.edition.or.date output
+ format.online.lastcheck
+%% format.lastchecked.or.type
+ }
+ if$
+ new.sentence
+ format.misc.series output
+ note set.period.dash.check
+ note output
+ }
+ if$
+ }
+ if$
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization empty$
+ { "empty organization and editor in " cite$ * warning$ }
+ { organization " (Veranst.)" * output }
+ if$
+ }
+ { format.editors format.editors.organization output.nonnull }
+ if$
+ set.colon.after
+ format.btitle "title" output.check
+ volume empty$
+ { skip$ }
+ { "{\textnormal{Bd.}}" volume tie.or.space.connect emphasize "volume" output.check }
+ if$
+ format.address.publisher.year "publisher" output.check
+ new.sentence
+ format.series.number.din output.nonnull
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+ isbn set.period.dash.check
+ issn set.period.dash.check
+ format.isbn.issn output
+ note set.period.dash.check
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ format.tr.institution output.nonnull }
+ { format.authors format.editors output.nonnull }
+ if$
+ set.colon.after
+ format.title "title" output.check
+ institution empty$
+ 'skip$
+ { author empty$ editor empty$ AND
+ 'skip$
+ { institution new.sentence.checka
+ "/ " institution * output.nonnull
+ }
+ if$
+ }
+ if$
+ format.version.url output
+ format.online.lastcheck
+ format.address.publisher.year output
+ number new.sentence.checka
+ format.tr.series.or.number "number" output.check
+ "Forschungsbericht" format.thesis.tr.type set.period.dash.check
+ "Forschungsbericht" format.thesis.tr.type output
+%% format.digital.resource.type
+ pages empty$
+ { skip$ }
+ { pages set.period.dash.check
+ pages format.bkpages.collat.check output
+ }
+ if$
+ isbn set.period.dash.check
+ issn set.period.dash.check
+ format.isbn.issn output
+ note set.period.dash.check
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {unpublished} {misc}%% AUTHOR, TITLE, NOTE muessen sein!
+%% andere Felder sind optional
+
+FUNCTION {default.type} { misc }
+
+
+MACRO {jan} {"Januar"}
+
+MACRO {feb} {"Februar"}
+
+MACRO {mar} {"M{\^^b a}rz"}
+
+MACRO {apr} {"April"}
+
+MACRO {mai} {"Mai"}
+
+MACRO {may} {"Mai"}
+
+MACRO {jun} {"Juni"}
+
+MACRO {jul} {"Juli"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {okt} {"Oktober"}
+
+MACRO {oct} {"Oktober"}
+
+MACRO {nov} {"November"}
+
+MACRO {dez} {"Dezember"}
+
+MACRO {dec} {"Dezember"}
+
+%%$$$ stillgelegte Beispiele fuer den Gebrauch von Kuerzeln (hier Zs-Titel).
+
+%%MACRO {acmcs} {"ACM Computing Surveys"}
+
+%%MACRO {acta} {"Acta Informatica"}
+
+READ
+
+FUNCTION {initialize.longest.label}%% nicht identisch mit der Fkt.im ALPHA-Stil
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE { initialize.longest.label }
+
+ITERATE { longest.label.pass }
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$ newline$
+ "% this bibliography is generated by unsrtdin.bst [8.2] from 2005-12-21"
+ write$ newline$ newline$
+ "\providecommand{\url}[1]{\texttt{#1}}"
+ write$ newline$
+ "\expandafter\ifx\csname urlstyle\endcsname\relax"
+ write$ newline$
+ " \providecommand{\doi}[1]{doi: #1}\else"
+ write$ newline$
+ " \providecommand{\doi}{doi: \begingroup \urlstyle{rm}\Url}\fi"
+ write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib} \ No newline at end of file
diff --git a/biblio/bibtex/contrib/german/dinat/dinat-index.html b/biblio/bibtex/contrib/german/dinat/dinat-index.html
new file mode 100644
index 0000000000..5f3a82a8e5
--- /dev/null
+++ b/biblio/bibtex/contrib/german/dinat/dinat-index.html
@@ -0,0 +1,229 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML LANG="de">
+
+<HEAD>
+<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-8859-1">
+<META NAME="description"
+CONTENT="bibliographies following the german DIN 1505 with BibTeX by dinat">
+<META NAME="keywords" CONTENT="dinat literatur DIN 1505 bibtex">
+<META NAME="resource-type" CONTENT="document">
+<META NAME="distribution" CONTENT="global">
+
+<TITLE>Literaturverzeichnisse nach DIN mit BibTeX</TITLE>
+
+</HEAD>
+
+<BODY BGCOLOR="white">
+
+<H1>Literaturverzeichnisse nach DIN mit BibTeX</H1>
+
+<HR>
+
+<H4>A short note for english speaking people</H4>
+
+<P>
+This page is about a bibliography style for BibTeX named
+<CODE>dinat.bst</CODE>, which produce bibliographies following the german
+norm DIN 1505. Because this norm is only usefull for text in german, all
+extra documentation like these pages is in german, too. Nonetheless the
+styles themselves have comments and output in english. If you like to get
+this pages in english, too, please write me, I'll do my very best.
+</P>
+
+<ADDRESS><A HREF="mailto:helge.baumann@gmx.de">mailto</A>: Helge Baumann</ADDRESS>
+<HR>
+
+<H2>Wie und warum?</H2>
+
+<P>
+Im Zuge meiner Diplomarbeit stand ich vor dem Problem, ein
+Literaturverzeichnis nach DIN 1505 verwenden zu wollen. Da ich meine Arbeit
+mit LaTeX gesetzt habe und die Literatureintr&auml;ge im BibTeX-Format
+vorlagen, war es naheliegend, nach einem passenden fertigen Stil zu suchen.
+Gefunden habe ich <A
+HREF="http://www.fh-hamburg.de/pers/Lorenzen/bibtex/"><CODE>natdin</CODE></A>
+von <A HREF="http://www.fh-hamburg.de/pers/Lorenzen/">Lorenzen</A>, der
+auch ein gutes Werk zu <A
+HREF="http://www.fh-hamburg.de/pers/Lorenzen/tum/litverz.ps">Literaturverzeichnissen
+nach DIN</A> verfasst hat. Leider ist der von ihm erstellte Stil nicht ganz
+ausgereift, also machte ich mich daran, davon ausgehend einen neuen Stil zu
+entwicklen.
+</P>
+
+<P>
+Am Ende einer gewissen Entwicklung mit diversen Umwegen ist dann der Stil
+<A HREF="dinat.bst">dinat.bst</A> herausgekommen, der alle
+M&ouml;glichkeiten des <CODE>natbib</CODE>-Pakets bietet (dieses allerdings
+auch in mindestens Version 7.0 voraussetzt), und bei konsequenter Anwendung von
+<CODE>\citep</CODE> auch weitestgehend DIN-konforme Literaturverzeichnisse und
+Zitierungen bietet.
+</P>
+
+<HR>
+
+<H2>natbib</H2>
+
+<P>
+Wie oben erw&auml;hnt, ist das Paket <CODE>natbib</CODE> Voraussetzung f&uuml;r den
+Einsatz von <CODE>dinat</CODE>. Zur Zeit wird mindestens Version 7.0
+erwartet, das ist auch die bisher aktuellste auf den DANTE-Servern.</P>
+<P>
+Um mit <CODE>dinat</CODE> Literaturverzeichnisse zu erhalten, bei denen die
+Marken (die Verweise, wie sie im Text auftauchen) den Eintr&auml;gen
+fettgedruckt vorangestellt sind, ist die Datei <CODE>natbib.cfg</CODE> um
+den folgenden Eintrag zu erweitern (siehe auch die Dokumentation zu
+<CODE>natbib</CODE>):
+</P>
+
+<PRE>
+\newcommand{\bibstyle@dinat}%
+ {\bibpunct{(}{)}{;}{a}{}{,~}%
+ \gdef\NAT@biblabelnum##1{\textbf{##1}}}
+</PRE>
+
+<HR>
+
+<H2>Zus&auml;tze</H2>
+
+<P>
+Zus&auml;tzlich zu den Standard-Feldern der Eintr&auml;ge existieren noch
+die folgenden Felder:
+</P>
+
+<DL>
+ <DT><CODE>issn</CODE></DT> <DD>Internationale Nummer f&uuml;r Zeitschriften
+ o.&auml;.</DD>
+ <DT><CODE>isbn</CODE></DT> <DD>Internationale Nummer f&uuml;r
+ B&uuml;cher</DD>
+ <DT><CODE>url</CODE></DT> <DD>Quelle eines elektronischen Dokuments. Wird
+ als Impressum verwendet, wenn kein Verlag und Verlagsort genannt wird,
+ sonst erscheint sie als zus&auml;tzliche Anmerkung</DD>
+ <DT><CODE>urldate</CODE></DT> <DD>Datum des Zugriffs auf eine url</DD>
+</DL>
+
+<HR>
+
+<H2>Verf&uuml;gbarkeit</H2>
+
+<P>
+Der Stil <A HREF="dinat.bst">dinat.bst</A> ist in seiner jeweils
+aktuellsten Version auf den CTAN-Servern (z.B. <A
+HREF="ftp.dante.de">ftp.dante.de</A>) im Verzeichnis <A
+HREF="ftp://ftp.dante.de/biblio/bibtex/contrib/german/dinat/">biblio/bibtex/contrib/german/dinat/</A>
+zu finden.
+</P>
+
+<P>
+Eine &Uuml;bersicht &uuml;ber die Entstehung des Stils ist in der <A
+HREF="history.html">Versions&uuml;bersicht</A> zu finden.
+</P>
+
+<HR>
+
+<H2>Anstehende Arbeiten</H2>
+
+<P>
+Trotz der vielen &Auml;nderungen ist immer noch genug zu tun, bis
+<CODE>dinat</CODE> wirklich zufriedenstellende Eintr&auml;ge erzeugt, die
+alle Eventualit&auml;ten ber&uuml;cksichtigen, gut aussehen und DIN-konform
+sind. Vor allem die letzten beiden Punkte sind manchmal nur schwer zu
+vereinen :-)
+</P>
+
+<P>
+Was noch zu tun ist:
+</P>
+
+<UL>
+ <LI>Eine sch&ouml;ne Anleitung in HTML und LaTeX mit Beispielen etc.</LI>
+ <LI><CODE>proceedings</CODE> scheint noch nicht so ausgereift zu sein.</LI>
+ <LI>Eigenst&auml;ndige Formatierungen f&uuml;r <CODE>booklet</CODE>,
+ <CODE>conference</CODE> und <CODE>unpublished</CODE>.</LI>
+ <LI>Der Code ist teilweise noch unsauber bzw. durcheinander, aber das
+ h&ouml;rt wohl nie auf.</LI>
+ <LI>Fehlende Felder m&uuml;ssen aufgeteilt werden in Standard-Felder
+ (required) und Feldern, die nur nach DIN notwendig sind. Echte Warnungen
+ sollte es nur bei fehlenden Standard-Feldern geben!</LI>
+ <LI>Wenn alle Standard-Felder vorhandenen sind, sollte ohne Warnungen
+ &uuml;bersetzt werden.</LI>
+</UL>
+
+<P>
+F&uuml;r Erg&auml;nzungen bin ich nicht unbedingt dankbar, das w&auml;re
+&uuml;bertrieben, aber ich werde sie aufnehmen, wenn sie sinnvoll sind.
+</P>
+
+<P>
+Inzwischen bin ich auch soweit, dass ich eine Anleitung zum Erstellen bzw.
+modifizieren von BibTeX-Stilen schreiben k&ouml;nnte. Falls daran sehr
+gro&szlig;es Interesse besteht, bitte melden!
+</P>
+
+<HR>
+
+<H2>Kontakt</H2>
+
+<P>
+Fragen und Anregungen bitte direkt an mich unter <A
+HREF="mailto:Helge.Baumann@gmx.de">Helge.Baumann@gmx.de</A> richten.
+</P>
+
+<P>
+Zur Zeit lese ich auch noch regelm&auml;&szlig;ig die Newsgruppe <A
+HREF="news:DE.comp.text.tex">de.comp.text.tex</A>, so dass ich auch dort
+erreichbar bin.
+</P>
+
+<P>
+Anfragen etc. kann ich am einfachsten nachvollziehen, wenn sie Folgendes
+beinhalten (soweit m&ouml;glich und sinnvoll):
+</P>
+
+<OL>
+ <LI>verwendete Systeme, Versionsnummern etc. (ich selbst arbeite auf
+ einem Macintosh mit OzTeX, siehe <A HREF="#sonst">unten</A>)</LI>
+ <LI>eine kurze Beschreibung des Problems</LI>
+ <LI>einen Verweis auf die DIN bzw. den <A
+ HREF="http://www.fh-hamburg.de/pers/Lorenzen/tum/litverz.ps">Lorenzen</A></LI>
+ <LI>einen BibTeX-Eintrag</LI>
+ <LI>dem daraus mit <CODE>dinat</CODE> erzeugten Eintrag</LI>
+ <LI>den gew&uuml;nschten Eintrag</LI>
+ <LI>Hinweis auf die ge&auml;nderten bzw. zu &auml;ndernden Stellen</LI>
+</OL>
+
+<P>
+Ich versuche, Anfragen m&ouml;glichst gleich nach Eingang zu beantworten,
+und sei es nur mit einem Hinweis in der Art &quot;Anfrage erhalten, ich
+k&uuml;mmere mich demn&auml;chst drum&quot; (oder oft leider auch &quot;Mache ich
+nicht, weil nicht DIN ...&quot;).
+</P>
+
+<HR>
+
+<H2>Sonstiges</H2>
+
+<P>
+<A name="sonst"></A> Entwickelt wurde der Stil auf einem <A
+HREF="http://www.apple.de">Apple</A> Macintosh PowerPC 7100/66AV.<BR>
+Als Editor kam <A HREF="http://alpha.olm.net">Alpha</A> zum Einsatz.<BR>
+Als (Bib)TeX-System verwende ich <A
+HREF="http://www.kagi.com/akt">OzTeX</A>.
+</P>
+
+<P>
+Als Literatur standen nur &quot;BibTeXing&quot; und &quot;Designing BibTeX
+Stiles&quot; von Oren Patashnik zur Verf&uuml;gung, das hat sich aber als
+ausreichend herausgestellt, schliesslich studierte ich Informatik!
+</P>
+
+<P>
+Diese Webseiten sollten dem HTML-Standard 4.0 entsprechen und wurden mit
+dem Browser <A HREF="http://www.icab.de">iCab</A> getestet.
+</P>
+
+<HR>
+<ADDRESS><A HREF="mailto:helge.baumann@gmx.de">mailto</A>: Helge Baumann,
+2000-11-15</ADDRESS>
+</BODY>
+
+</HTML>
diff --git a/biblio/bibtex/contrib/german/dinat/dinat.bst b/biblio/bibtex/contrib/german/dinat/dinat.bst
new file mode 100644
index 0000000000..38a8cb4a27
--- /dev/null
+++ b/biblio/bibtex/contrib/german/dinat/dinat.bst
@@ -0,0 +1,1952 @@
+%% DINAT.BST Version 2.5 2000-11-14
+%% (c) Helge Baumann email:Helge.Baumann@gmx.de
+%%------------------------------------------------------------------------------
+%% For use with BibTeX version 0.99a or later.
+%%------------------------------------------------------------------------------
+%% Copying of this file is authorized only if either
+%% (1) you make absolutely no changes to your copy, including name, or
+%% (2) if you do make changes, you name it something other than dinat.bst,
+%% natdin.bst, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+%% This restriction helps ensure that all standard styles are identical.
+%%------------------------------------------------------------------------------
+%% This is a full author-year citation style bibliography. As such, it is
+%% non-standard LaTeX, and requires the natbib-package by Patrick W. Daly,
+%% version 7 or higher to function properly.
+%% It should be used with the following configuration in natbib.cfg:
+%% \newcommand{\bibstyle@dinat}%
+%% {\bibpunct{(}{)}{;}{a}{}{,~}%
+%% \gdef\NAT@biblabelnum##1{\textbf{##1}}}
+%%------------------------------------------------------------------------------
+%% The form of the \bibitem entries is
+%% \bibitem[Jones u. a.(1990)Jones, Baker und Smith]{key}...
+%% If there are more [Jones u. a. 1990], a single character is added to
+%% the year like in [Jones u.a.(1990{\natexlab{a}})Jones, Baker und Smith].
+%% The resulting bibliography entry is
+%% \textsc{Jones}, \textsc{Baker} und \textsc{Smith} ...
+%% The \cite command functions as follows:
+%% \cite{key} ==>> Jones u. a. (1990)
+%% \cite[chap. 2]{key} ==>> (Jones u. a. 1990, chap. 2)
+%% \cite[e.g.][]{key} ==>> (e.g. Jones u. a. 1990)
+%% \cite[e.g.][p. 32]{key} ==>> (e.g. Jones u. a. p. 32)
+%% \citep{key} ==>> (Jones u. a. 1990)
+%% \citep*{key} ==>> (Jones, Baker und Smith 1990)
+%% \citet{key} ==>> Jones u. a. (1990)
+%% \citet*{key} ==>> Jones, Baker und Smith (1990)
+%% \citeauthor{key} ==>> Jones u. a.
+%% \citeauthor*{key} ==>> Jones, Baker und Smith
+%% \citeyear{key} ==>> 1990
+%%------------------------------------------------------------------------------
+%% This bibliography style file is intended for texts in german.
+%% It draws up bibliographies in accordance with the german DIN 1505,
+%% part 2 and 3, as discribed in the german text
+%% http://www.fh-hamburg.de/pers/Lorenzen/tum/litverz.ps
+%%------------------------------------------------------------------------------
+%% This style is based on the natdin.bst style.
+%% The intention for designing a new style for the same result
+%% were the many bugs and the poor design of the original style.
+%% So i simplified the programming and add some comments for rework.
+%% The names of the functions were changed to reflect their functionality:
+%% out.*: write the top of the stack to the bbl-file
+%% format.*: format the top of the stack
+%% push.*: put one item on top of the stack
+%%------------------------------------------------------------------------------
+%% There are some non standard fields for most entries:
+%% isbn: international book number
+%% issn: internation journal number
+%% url: for electronic published documents or additional information
+%% if there is no publisher and address, the url is used instead,
+%% else it acts like a additional note
+%% urldate: the date of the access to the url
+%%------------------------------------------------------------------------------
+%% Author(s):
+%% HB: Helge Baumann, helge.baumann@gmx.de
+%%------------------------------------------------------------------------------
+%% History:
+%% (only main changes are listed, for others see the webpage)
+%% 2000-04-10 (HB): Initial release
+%% 2000-04-18 (HB): Version 1.1:
+%% corrected some typos and oversights
+%% minor changes in output
+%% 2000-04-25 (HB): Version 1.2:
+%% dinat only: added \natexlab
+%% using full key/cite for label
+%% 2000-05-02 (HB): Version 2.0:
+%% added urldate for date of visit
+%% added labels in bibliography, so the seperate
+%% style dinnat.bst is not needed anymore
+%% 2000-05-09 (HB): Version 2.1:
+%% removed blanc in bibpunct
+%% put text ("u.\,a." ...) in functions
+%% rebuild some push functions
+%% changed \cite to \citep
+%% removed push.crossref.editor (not used)
+%% 2000-07-12 (HB): version 2.2:
+%% added push.crossref
+%% changed many crossrefs
+%% corrected typos
+%% put \, in curly braces
+%% 2000-10-03 (HB): version 2.3:
+%% changed remaining "u.~a."
+%% added \labelsep behind dinatlabel
+%% added mastersthesis again, keeping (wrong)
+%% masterthesis (sorry for that)
+%% minor changes in proceedings
+%% 2000-11-05 (HB): version 2.4:
+%% improved inbook
+%% removed extra period from proceedings
+%% added missing colon in misc
+%% improved name formatting
+%% removed long dashes from ISBN/ISSN
+%% restructured format.dashes
+%% 2000-11-14 (HB): version 2.5:
+%% always use key for label if present
+%%------------------------------------------------------------------------------
+
+
+%%------------------------------------------------------------------------------
+%% push standard text items on top of the stack
+%%------------------------------------------------------------------------------
+FUNCTION {push.bd} { "Bd." }
+FUNCTION {push.diplom} { "Diplomarbeit" }
+FUNCTION {push.disser} { "Dissertation" }
+FUNCTION {push.forschung} { "Forschungsbericht" }
+FUNCTION {push.hrsg} { "Hrsg." }
+FUNCTION {push.in} { "In:" }
+FUNCTION {push.isbn} { "ISBN" }
+FUNCTION {push.issn} { "ISSN" }
+FUNCTION {push.kap} { "Kap." }
+FUNCTION {push.nr} { "Nr." }
+FUNCTION {push.sn} { "S" }
+FUNCTION {push.s} { "S." }
+FUNCTION {push.siehe} { "Siehe" }
+FUNCTION {push.ua} { "u.\,a." }
+FUNCTION {push.und} { "und" }
+FUNCTION {push.url.name} { "URL" }
+FUNCTION {push.veranst} { "Veranst." }
+FUNCTION {push.von} { "von" }
+FUNCTION {push.zugriff} { "Zugriffsdatum" }
+
+FUNCTION {push.cite} { "\citep" }
+
+
+%%------------------------------------------------------------------------------
+%% Definitions for every bibliography entry
+%%------------------------------------------------------------------------------
+ENTRY
+ % fields (crossref is default)
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ isbn
+ issn
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ url
+ urldate
+ volume
+ year
+ }
+ % INTEGERS
+ {}
+ % STRINGS (sort.key$ is default)
+ { label extra.label sort.label short.list dinat.label }
+
+
+%%------------------------------------------------------------------------------
+%% required macros for abbr. names of month
+%%------------------------------------------------------------------------------
+MACRO {jan} {"Januar"}
+
+MACRO {feb} {"Februar"}
+
+MACRO {mar} {"M\^^b{a}rz"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"Mai"}
+
+MACRO {jun} {"Juni"}
+
+MACRO {jul} {"Juli"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"Oktober"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"Dezember"}
+
+
+%%------------------------------------------------------------------------------
+%% macros for common journals
+%%------------------------------------------------------------------------------
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+
+%%------------------------------------------------------------------------------
+%% for debugging (not used)
+%%------------------------------------------------------------------------------
+FUNCTION {show}
+% show quoted top of stack
+{ duplicate$ ":::: `" swap$ * "'" * top$
+}
+
+FUNCTION {show.stack}
+% show and clear whole stack
+{ "STACK====================================================================="
+ top$
+ stack$
+ "ENDSTACK=================================================================="
+ top$
+}
+
+
+%%------------------------------------------------------------------------------
+%% logical functions
+%%------------------------------------------------------------------------------
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ { skip$ }
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ { skip$ }
+ if$
+}
+
+
+%%------------------------------------------------------------------------------
+%% variables for the recent output state
+%%------------------------------------------------------------------------------
+INTEGERS { output.state
+ before.all
+ mid.sentence
+ after.sentence
+ after.block
+ colon.after
+ period.dash }
+
+FUNCTION {init.state.consts}
+% initialisation of the state variables
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #4 'colon.after :=
+ #5 'period.dash :=
+}
+
+FUNCTION {set.period.dash}
+% set ". -- "
+{ output.state before.all =
+ { skip$ }
+ { period.dash 'output.state := }
+ if$
+}
+
+FUNCTION {set.period.dash.check}
+% only if not empty
+{ empty$
+ { skip$ }
+ { set.period.dash }
+ if$
+}
+
+FUNCTION {set.colon.after}
+% set ": "
+{ output.state before.all =
+ { skip$ }
+ { colon.after 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+% set ". "
+{ output.state before.all =
+ { skip$ }
+ { after.sentence 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence.check}
+% only if not empty
+{ empty$
+ { skip$ }
+ { new.sentence }
+ if$
+}
+
+FUNCTION {part.of.sentence}
+% set ", "
+{ output.state before.all =
+ { skip$ }
+ { mid.sentence 'output.state := }
+ if$
+}
+
+
+%%------------------------------------------------------------------------------
+%% output lines to bbl. file
+%%------------------------------------------------------------------------------
+STRINGS { h s t u v }
+
+FUNCTION {out.block}
+% writes the second but last element with seperator
+{ 's :=
+ output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ { write$ }
+ { output.state colon.after =
+ { ": " * write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state period.dash =
+ { ". -- " * write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state mid.sentence =
+ { ", " * write$ }
+ { write$
+ newline$
+ "\newblock " write$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ after.block 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {out}
+% write only if not empty
+{ duplicate$ empty$
+ { pop$ }
+ { out.block }
+ if$
+}
+
+FUNCTION {out.check.required}
+% write if not empty, else drop warning
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ { out.block }
+ if$
+}
+
+FUNCTION {out.check.din}
+% write if not empty, else drop note
+{ 't :=
+ duplicate$ empty$
+ { pop$ "DIN: empty " t * " in " * cite$ * top$ }
+ { out.block }
+ if$
+}
+
+
+%%------------------------------------------------------------------------------
+%% format entries for full author/editor citations
+%%------------------------------------------------------------------------------
+INTEGERS { nameptr namesleft pos len }
+
+FUNCTION {format.full.names}
+% format all names
+{ 's :=
+ ""
+ #1 'nameptr :=
+ s num.names$ 'namesleft :=
+ { namesleft #0 > } % while
+ { s nameptr "{vv~}{ll}" format.name$ 't :=
+ nameptr #1 =
+ { % first name
+ t *
+ }
+ { namesleft #1 =
+ { % last name
+ t "others" =
+ { " " * push.ua * }
+ { " " * push.und * " " * t * }
+ if$
+ }
+ { % other names
+ ", " * t *
+ }
+ if$
+ }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$ % { namesleft #0 > }
+}
+
+FUNCTION {key.full}
+{ key empty$
+ { cite$ }
+ { key }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key.full }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key.full }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor.key.full }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ { author.editor.key.full }
+ { type$ "proceedings" =
+ { editor.key.full }
+ { author.key.full }
+ if$
+ }
+ if$
+}
+
+
+%%------------------------------------------------------------------------------
+%% write bibentry to bbl. file
+%%------------------------------------------------------------------------------
+FUNCTION {out.bibitem.start}
+% start of entry
+{ newline$
+ "\bibitem[" label * ")" *
+ make.full.names
+ duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "]{" * cite$ * "}" *
+ write$
+ newline$
+ "\dinatlabel{" dinat.label * "} " *
+ write$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {out.bibitem.end}
+% end of entry
+{ write$
+ newline$
+}
+
+
+%%------------------------------------------------------------------------------
+%% format text
+%%------------------------------------------------------------------------------
+FUNCTION {format.emphasize}
+% emphasize top of stack
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+
+FUNCTION {format.smallcaps}
+% top of stack in small caps
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textsc{" swap$ * "}" * }
+ if$
+}
+
+FUNCTION {format.dashes}
+% replace single dashes (-) with tex-styled dashes (--)
+{ 't :=
+ ""
+ { t empty$ not } % while$
+ { t #1 #2 substring$ "--" =
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ { t #1 #1 substring$ "-" =
+ { "--" * }
+ { t #1 #1 substring$ * }
+ if$
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$ % { t empty$ not }
+}
+
+
+%%------------------------------------------------------------------------------
+%% manipulte entries on the stack
+%%------------------------------------------------------------------------------
+FUNCTION {tie.or.space.connect}
+% connect two top items with space or ~, if second is shorter than 3
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {push.field.or.null}
+% push an empty item on the stack if it's a missing entry
+{ duplicate$ empty$
+ { pop$ "" }
+ { skip$ }
+ if$
+}
+
+
+%%------------------------------------------------------------------------------
+%% format text on stack
+%%------------------------------------------------------------------------------
+STRINGS { hrsg }
+
+FUNCTION {format.names}
+% format all names on top of stack
+{ 's :=
+ ""
+ #1 'nameptr :=
+ s num.names$ 'namesleft :=
+ { namesleft #0 > } % while names left
+ { % first get last name in small caps
+ s nameptr "{ll}" format.name$ 't :=
+ t format.smallcaps 't :=
+ % second get all first names
+ s nameptr "{, ff}" format.name$ 'u :=
+ u text.length$ 'len :=
+ #1 'pos :=
+ "" 'v :=
+ { pos len < } % while
+ { u pos #1 substring$ "~" =
+ { v "" =
+ { u #1 pos #1 - substring$ 'v := }
+ { skip$ }
+ if$
+ % cut second and more first names
+ v u pos #2 substring$ * "." * 'v :=
+ }
+ { skip$ }
+ if$
+ pos #1 + 'pos :=
+ }
+ while$ % { pos len < }
+ v "" =
+ { u 'v := }
+ { skip$ }
+ if$
+ % third get all "von"
+ s nameptr "{ vv}" format.name$ 'u :=
+ % put it all together
+ t v * u * hrsg * 't :=
+
+ nameptr #1 =
+ { %first name
+ t *
+ }
+ { namesleft #1 =
+ { % last name
+ t "others" format.smallcaps =
+ t "others" format.smallcaps hrsg * =
+ or
+ { " " * push.ua * }
+ { "~; " * t * }
+ if$
+ }
+ { % other names
+ "~; " * t *
+ }
+ if$
+ }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$ % { namesleft #0 > }
+ "" 'hrsg :=
+}
+
+
+%%------------------------------------------------------------------------------
+%% push formatted or empty field(s) on top of the stack
+%%------------------------------------------------------------------------------
+FUNCTION {push.authors}
+% format author names
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {push.editors}
+% format editor names
+{ editor empty$
+ { "" }
+ { " (" push.hrsg * ")" * 'hrsg :=
+ editor format.names
+ }
+ if$
+}
+
+FUNCTION {push.authors.editors}
+% format author and/or editor names
+{ author empty$
+ { push.editors }
+ { push.authors
+ editor empty$
+ { skip$ }
+ { "~; " * push.editors * }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {push.organization}
+% format organization
+{ organization empty$
+ { "" }
+ { organization
+ " (" * push.veranst * ")" *
+ }
+ if$
+}
+
+FUNCTION {push.title}
+% title as in entry
+{ title empty$
+ { "" }
+ { title }
+ if$
+}
+
+FUNCTION {push.url}
+% prefixed with "URL" and special formatting
+{ url empty$
+ { "" }
+ { push.url.name " \url{" * url * "}" *
+ urldate empty$
+ { skip$ }
+ { ". -- " * push.zugriff * ": " * urldate * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {push.date}
+% format: month year
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ { year }
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {push.address.publisher.year}
+% the whole imprint
+{ address empty$
+ { publisher empty$
+ { url empty$
+ { year empty$
+ { "no publisher, address, url or date in " cite$ * warning$
+ "" }
+ { push.date }
+ if$
+ }
+ { "no proper publisher, using url in " cite$ * warning$
+ push.url
+ year empty$
+ { skip$ }
+ { ", " * push.date * }
+ if$
+ }
+ if$
+ }
+ { publisher
+ year empty$
+ { "there's a publisher but no year in " cite$ * warning$ }
+ { ", " * push.date * }
+ if$
+ }
+ if$
+ }
+ { address
+ publisher empty$
+ { "there's an address but no publisher in " cite$ * warning$ }
+ { "~: " * publisher * }
+ if$
+ year empty$
+ { skip$ }
+ { ", " * push.date * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {push.btitle}
+% the booktitle
+{ title empty$
+ { "" }
+ { title format.emphasize }
+ if$
+}
+
+FUNCTION {push.btitle.vol}
+% booktitle in multivolume works
+{ number empty$
+ { series empty$
+ { push.btitle
+ volume empty$
+ { skip$ }
+ { ". " * push.bd * volume tie.or.space.connect }
+ if$
+ }
+ { volume empty$
+ { push.btitle }
+ { series format.emphasize ". " *
+ push.bd * volume tie.or.space.connect
+ ": " * push.btitle *
+ }
+ if$
+ }
+ if$
+ }
+ { push.btitle }
+ if$
+}
+
+FUNCTION {push.article.in.journal}
+% source of article
+{ journal empty$
+ { "" }
+ { author missing$
+ title missing$
+ and
+ { journal format.emphasize }
+ { push.in " " * journal format.emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {push.series.number}
+% series and number like DIN
+{ volume empty$
+ { series empty$
+ { number empty$
+ { "" }
+ { "there's a number but no series in " cite$ * warning$
+ "(" number * ")" * }
+ if$
+ }
+ { "(" series *
+ number empty$
+ { skip$ }
+ { number tie.or.space.connect }
+ if$
+ ")" *
+ }
+ if$
+ }
+ { series empty$
+ { "" }
+ { type$ "proceedings" =
+ { "(" series *
+ number empty$
+ { skip$ }
+ { number tie.or.space.connect }
+ if$
+ ")" *
+ }
+ { "" }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {push.misc.series}
+% series in MISC
+{ series empty$
+ { "" }
+ { "(" series * ")" * }
+ if$
+}
+
+FUNCTION {push.edition}
+% like in entry
+{ edition empty$
+ { "" }
+ { edition }
+ if$
+}
+
+FUNCTION {push.isbn.issn}
+% preceeded with ISSN/ISBN
+{ isbn empty$
+ { issn empty$
+ { "" }
+ { push.issn " " * issn * }
+ if$
+ }
+ { push.isbn " " * isbn * }
+ if$
+}
+
+FUNCTION {push.pages.book}
+% as length of a book
+{ pages empty$
+ { "" }
+ { pages format.dashes "~" * push.sn * }
+ if$
+}
+
+FUNCTION {push.pages}
+% as part of a book
+{ pages empty$
+ { "" }
+ { push.s "~" * pages format.dashes * }
+ if$
+}
+
+FUNCTION {push.vol.year.num.pages}
+% for journals etc.
+{ volume push.field.or.null
+ year empty$
+ { "there's no year in " cite$ * warning$ }
+ { duplicate$ empty$
+ { pop$ "(" }
+ { " (" * }
+ if$
+ year * ")" *
+ }
+ if$
+ month empty$
+ { skip$ }
+ { duplicate$ empty$
+ { pop$ month }
+ { ", " * month * }
+ if$
+ }
+ if$
+ number empty$
+ { skip$ }
+ { duplicate$ empty$
+ { pop$ push.nr }
+ { ", " * push.nr * }
+ if$
+ "~" * number *
+ }
+ if$
+ pages empty$
+ { skip$ }
+ { duplicate$ empty$
+ { skip$ }
+ { ", " *
+ title missing$
+ { push.pages.book * }
+ { push.pages * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {push.chapter.pages}
+% chapter and pages
+{ chapter empty$
+ { push.pages }
+ { type empty$
+ { push.kap }
+ { type }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ { skip$ }
+ { ", " * push.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {push.in.ed.booktitle}
+% main title and volume
+{ booktitle empty$
+ { "" }
+ { push.in " " *
+ editor empty$
+ { skip$ }
+ { push.editors * ": " * }
+ if$
+ booktitle format.emphasize *
+ volume empty$
+ { skip$ }
+ { " " * push.bd * "~" * volume * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {push.mastersthesis.type}
+% type of a mastersthesis
+{ type empty$
+ { push.diplom }
+ { type }
+ if$
+}
+
+FUNCTION {push.phdthesis.type}
+% type of a phdthesis
+{ type empty$
+ { push.disser }
+ { type }
+ if$
+}
+
+FUNCTION {push.tr.number}
+% type and number of a technical report
+{ number empty$
+ { " " }
+ { "(" number * "). " * }
+ if$
+ "-- " *
+ type empty$
+ { push.forschung * }
+ { type * }
+ if$
+}
+
+FUNCTION {push.article.crossref}
+% article from a journal
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { push.in " " * journal format.emphasize * }
+ if$
+ }
+ { push.in " " * key * }
+ if$
+ " " * push.cite * "{" * crossref * "}" *
+ pages empty$
+ { skip$ }
+ { ", " * push.pages * }
+ if$
+}
+
+FUNCTION {push.book.crossref}
+% crossreference in BOOKs
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ push.siehe
+ }
+ { ". -- " push.bd * "~" * volume *
+ " " * push.von *
+ }
+ if$
+ " " * push.cite * "{" * crossref * "}" *
+}
+
+FUNCTION {push.incoll.inproc.crossref}
+% crossreference with In:
+{ editor empty$
+ editor push.field.or.null author push.field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { push.siehe }
+ { push.in " " * booktitle format.emphasize * "." * }
+ if$
+ }
+ { push.in }
+ if$
+ }
+ { push.in }
+ if$
+ " " * push.cite * "{" * crossref * "}" *
+ chapter empty$
+ { skip$ }
+ { ", " *
+ type empty$
+ { push.kap * }
+ { type * }
+ if$
+ chapter tie.or.space.connect
+ }
+ if$
+ pages empty$
+ { skip$ }
+ { ", " * push.pages * }
+ if$
+}
+
+FUNCTION {push.crossref}
+% a simple crossref
+{ crossref empty$
+ { "" }
+ { push.siehe " " * push.cite * "{" * crossref * "}" * }
+ if$
+}
+
+
+%%------------------------------------------------------------------------------
+%% functions for the different entries
+%%------------------------------------------------------------------------------
+FUNCTION {article}
+% required: author, title, journal, year
+% optional: volume, number, pages, month, note, url, issn
+{ out.bibitem.start
+ push.authors "author" out.check.required
+ set.colon.after
+ push.title "title" out.check.required
+ crossref missing$
+ { push.article.in.journal out.block
+ new.sentence
+ push.vol.year.num.pages out
+ }
+ { push.article.crossref out.block }
+ if$
+ url set.period.dash.check
+ push.url out
+ note set.period.dash.check
+ note out
+ issn set.period.dash.check
+ push.isbn.issn out
+ out.bibitem.end
+}
+
+FUNCTION {book}
+% required: author/editor, title, publisher, year
+% optional: volume oder number, series, address, edition, pages, month,
+% note, url, isbn
+{ out.bibitem.start
+ author empty$
+ { push.editors "author and editor" out.check.required }
+ { push.authors.editors out.block }
+ if$
+ set.colon.after
+ crossref missing$
+ { push.btitle.vol }
+ { push.btitle }
+ if$
+ "title" out.check.required
+ push.edition out
+ push.address.publisher.year "publisher" out.check.required
+ new.sentence
+ crossref missing$
+ { push.series.number out }
+ { push.book.crossref out.block }
+ if$
+ pages set.period.dash.check
+ push.pages.book out
+ address empty$
+ publisher empty$
+ and
+ { skip$ }
+ { url set.period.dash.check
+ push.url out
+ }
+ if$
+ note set.period.dash.check
+ note out
+ isbn set.period.dash.check
+ push.isbn.issn out
+ out.bibitem.end
+}
+
+% booklet see below
+
+% conference see below
+
+FUNCTION {inbook}
+% required: author/editor, title, chapter/pages, publisher, year
+% optional: volume oder number, series, type, address, month, note, url, isbn
+{ out.bibitem.start
+ author empty$
+ { push.editors "author and editor" out.check.required }
+ { push.authors out.block }
+ if$
+ set.colon.after
+ push.btitle.vol "title" out.check.required
+ push.chapter.pages out
+ crossref missing$
+ { push.in.ed.booktitle "booktitle" out.check.required
+ address empty$
+ { part.of.sentence
+ push.address.publisher.year out
+ }
+ { push.address.publisher.year "publisher" out.check.required }
+ if$
+ new.sentence
+ series empty$
+ { skip$ }
+ { push.series.number out }
+ if$
+ part.of.sentence
+ address empty$
+ publisher empty$
+ and
+ { skip$ }
+ { url set.period.dash.check
+ push.url out
+ }
+ if$
+ }
+ { push.crossref out.block
+ url set.period.dash.check
+ push.url out
+ }
+ if$
+ note set.period.dash.check
+ note out
+ isbn set.period.dash.check
+ push.isbn.issn out
+ out.bibitem.end
+}
+
+FUNCTION {incollection}
+% required: author, title, booktitle, publisher, year
+% optional: editor, volume oder number, series, type, chapter,
+% pages, address, edition, month, note, url
+{ out.bibitem.start
+ push.authors "author" out.check.required
+ set.colon.after
+ push.title "title" out.check.required
+ crossref missing$
+ { push.in.ed.booktitle "booktitle" out.check.required
+ push.edition out
+ push.address.publisher.year "publisher" out.check.required
+ new.sentence
+ push.series.number out
+ part.of.sentence
+ push.chapter.pages "pages" out.check.required
+ address empty$
+ publisher empty$
+ and
+ { skip$ }
+ { url set.period.dash.check
+ push.url out
+ }
+ if$
+ }
+ { push.incoll.inproc.crossref out.block
+ url set.period.dash.check
+ push.url out
+ }
+ if$
+ note set.period.dash.check
+ note out
+ isbn set.period.dash.check
+ issn set.period.dash.check
+ push.isbn.issn out
+ out.bibitem.end
+}
+
+FUNCTION {inproceedings}
+% required: author, title, booktitle, year
+% optional: editor, volume oder number, series, pages, address, month,
+% organization, publisher, note, url
+{ out.bibitem.start
+ push.authors "author" out.check.required
+ set.colon.after
+ push.title "title" out.check.required
+ crossref missing$
+ { push.in.ed.booktitle "booktitle" out.check.required
+ address empty$
+ { organization new.sentence.check
+ push.organization out
+ part.of.sentence
+ push.address.publisher.year out
+ }
+ { push.address.publisher.year "publisher" out.check.required }
+ if$
+ new.sentence
+ series empty$
+ { skip$ }
+ { push.series.number out }
+ if$
+ part.of.sentence
+ push.pages "pages" out.check.required
+ address empty$
+ publisher empty$
+ and
+ { skip$ }
+ { url set.period.dash.check
+ push.url out
+ }
+ if$
+ }
+ { push.incoll.inproc.crossref out.block
+ url set.period.dash.check
+ push.url out
+ }
+ if$
+ note set.period.dash.check
+ note out
+ isbn set.period.dash.check
+ issn set.period.dash.check
+ push.isbn.issn out
+ out.bibitem.end
+}
+
+FUNCTION {manual}
+% required: title
+% optional: author, organization, address, edition, month, year, note, url
+{ out.bibitem.start
+ author empty$
+ { organization empty$
+ { title empty$
+ { skip$ }
+ { push.btitle "title" out.check.required }
+ if$
+ }
+ { push.organization out.block
+ set.colon.after
+ push.btitle "title" out.check.required
+ }
+ if$
+ }
+ { push.authors out.block
+ set.colon.after
+ push.btitle "title" out.check.required
+ }
+ if$
+ push.edition "edition" out.check.required
+ author empty$
+ { organization empty$
+ { address out
+ part.of.sentence
+ }
+ { skip$ }
+ if$
+ }
+ { address ": " * push.organization * out
+ part.of.sentence
+ }
+ if$
+ push.date out
+ pages set.period.dash.check
+ push.pages.book out
+ url set.period.dash.check
+ push.url out
+ note set.period.dash.check
+ note out
+ out.bibitem.end
+}
+
+FUNCTION {mastersthesis}
+% required: author, title, school, year
+% optional: type, address, month, note, url
+{ out.bibitem.start
+ push.authors "author" out.check.required
+ set.colon.after
+ push.btitle "title" out.check.required
+ address out
+ part.of.sentence
+ school "school" out.check.required
+ part.of.sentence
+ push.mastersthesis.type out.block
+ part.of.sentence
+ push.date "year" out.check.required
+ pages set.period.dash.check
+ push.pages.book out
+ url set.period.dash.check
+ push.url out
+ note set.period.dash.check
+ note out
+ out.bibitem.end
+}
+
+FUNCTION {misc}
+% required:
+% optional: author, title, howpublished, month, year, note, url
+{ out.bibitem.start
+ note empty$
+ { title empty$
+ { skip$ }
+ { push.authors.editors out.block
+ set.colon.after
+ push.btitle out
+ howpublished out
+ push.date out
+ push.crossref out
+ url set.period.dash.check
+ push.url out
+ }
+ if$
+ }
+ { note #1 #4 substring$ "u" change.case$ "NORM" =
+ { note out
+ part.of.sentence
+ push.date out
+ push.title format.emphasize out
+ push.crossref out
+ }
+ { author empty$
+ { editor empty$
+ { organization empty$
+ { skip$ }
+ { push.organization out.block
+ set.colon.after
+ }
+ if$
+ }
+ { push.editors push.organization * out.block
+ set.colon.after
+ }
+ if$
+ }
+ { push.authors.editors out.block
+ set.colon.after
+ }
+ if$
+ push.btitle out
+ push.crossref out
+ howpublished out
+ push.date out
+ new.sentence
+ push.misc.series out
+ url set.period.dash.check
+ push.url out
+ note set.period.dash.check
+ note out
+ }
+ if$
+ }
+ if$
+ out.bibitem.end
+}
+
+FUNCTION {phdthesis}
+% required: author, title, school, year
+% optional: type, address, month, note, url
+{ out.bibitem.start
+ push.authors "author" out.check.required
+ set.colon.after
+ push.btitle "title" out.check.required
+ address out
+ part.of.sentence
+ school "school" out.check.required
+ part.of.sentence
+ push.phdthesis.type out.block
+ part.of.sentence
+ push.date "year" out.check.required
+ pages set.period.dash.check
+ push.pages.book out
+ url set.period.dash.check
+ push.url out
+ note set.period.dash.check
+ note out
+ out.bibitem.end
+}
+
+FUNCTION {proceedings}
+% required: title, year
+% optional: editor, volume oder number, series, address, month,
+% organization, publisher, note, url
+{ out.bibitem.start
+ editor empty$
+ { push.organization }
+ { push.editors
+ organization empty$
+ { skip$ }
+ { "~; " * push.organization * }
+ if$
+ }
+ if$
+ out.block
+ set.colon.after
+ push.btitle "title" out.check.required
+ volume empty$
+ { skip$ }
+ { push.bd "~" * volume format.emphasize * out.block }
+ if$
+ push.address.publisher.year "publisher" out.check.required
+ push.series.number out
+ pages set.period.dash.check
+ push.pages.book out
+ address empty$
+ publisher empty$
+ and
+ { skip$ }
+ { url set.period.dash.check
+ push.url out
+ }
+ if$
+ note set.period.dash.check
+ note out
+ isbn set.period.dash.check
+ issn set.period.dash.check
+ push.isbn.issn out
+ out.bibitem.end
+}
+
+FUNCTION {techreport}
+% required: author, title, institution, year
+% optional: type, number, address, month, note, url
+{ out.bibitem.start
+ author empty$
+ { push.editors "author and editor" out.check.required }
+ { push.authors.editors out.block }
+ if$
+ set.colon.after
+ push.title "title" out.check.required
+ institution empty$
+ { skip$ }
+ { institution new.sentence.check
+ "/ " institution * out.block
+ }
+ if$
+ push.address.publisher.year out
+ number new.sentence.check
+ push.tr.number "number" out.check.required
+ pages set.period.dash.check
+ push.pages.book out
+ address empty$
+ publisher empty$
+ and
+ { skip$ }
+ { url set.period.dash.check
+ push.url out
+ }
+ if$
+ note "note" out.check.required
+ isbn set.period.dash.check
+ issn set.period.dash.check
+ push.isbn.issn out
+ out.bibitem.end
+}
+
+FUNCTION {booklet}
+% required: title
+% optional: author, howpublished, address, month, year, note, url
+{ misc % so far
+}
+
+FUNCTION {conference}
+% required: author, title, note
+% optional: month, year, url
+{ inproceedings % like stated in BibTeXing by O. Patashnik
+}
+
+FUNCTION {masterthesis}
+% required: author, title, school, year
+% optional: type, address, month, note, url
+{ mastersthesis % just because of a typo in former version
+}
+
+FUNCTION {unpublished}
+% required: author, title, note
+% optional: month, year, url
+{ misc % so far
+}
+
+FUNCTION {default.type}
+% all other types
+{ misc
+}
+
+
+%%------------------------------------------------------------------------------
+%% for producing the labels
+%%------------------------------------------------------------------------------
+FUNCTION {sortify}
+% simplify for sorting
+{ purify$
+ "l" change.case$
+}
+
+FUNCTION {chop.word}
+% cut a word
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ { s }
+ if$
+}
+
+FUNCTION {chop.article}
+% cut article from a word
+{ 't :=
+ "A " #2
+ "An " #3
+ "Der " #4
+ "Die " #4
+ "Das " #4
+ "Ein " #4
+ "Eine " #5
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+ chop.word
+}
+
+
+FUNCTION {format.lab.names}
+% format names for the label
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " " * push.ua * }
+ { #2 <
+ { skip$ }
+ { s #2 "{ll}" format.name$ "others" =
+ { " " * push.ua * }
+ { " " * push.und * " " * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.label}
+% label from key or author
+{ key empty$
+ { author empty$
+ { cite$ }
+ { author format.lab.names }
+ if$
+ }
+ { key }
+ if$
+}
+
+FUNCTION {author.editor.label}
+% label from key, author or editor
+{ key empty$
+ { author empty$
+ { editor empty$
+ { cite$ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+ }
+ { key }
+ if$
+}
+
+FUNCTION {author.organization.label}
+% label from key, author or organization
+{ key empty$
+ { author empty$
+ { organization empty$
+ { cite$ }
+ { organization chop.article }
+ if$
+ }
+ { author format.lab.names }
+ if$
+ }
+ { key }
+ if$
+}
+
+FUNCTION {editor.organization.label}
+% label from key, editor or organization
+{ key empty$
+ { editor empty$
+ { organization empty$
+ { cite$ }
+ { organization chop.article }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { key }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+% make short label (only first author)
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ { author.editor.label }
+ { type$ "proceedings" =
+ { editor.organization.label }
+ { type$ "manual" =
+ { author.organization.label }
+ { author.label }
+ if$
+ }
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+% make a full label
+{ calc.short.authors
+ short.list "(" *
+ year push.field.or.null format.dashes * 'label :=
+ short.list " " *
+ year push.field.or.null format.dashes * 'dinat.label :=
+ label sortify 'sort.label :=
+}
+
+
+%%------------------------------------------------------------------------------
+%% sorting
+%%------------------------------------------------------------------------------
+FUNCTION {sort.format.names}
+% format names for sorting
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'namesleft :=
+ { namesleft #0 > } % while
+ { nameptr #1 =
+ { skip$ }
+ { " " * }
+ if$
+ s nameptr "{ll{ }}{ ff{ }}{ vv{ }}{ jj{ }}" format.name$ 't :=
+ namesleft #1 =
+ t "others" =
+ and
+ { "[" * push.ua * "]" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$ % { namesleft #0 > }
+}
+
+FUNCTION {sort.format.title}
+% format title for sorting (without article)
+{ chop.article
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+% author or key for sorting
+{ key empty$
+ { author empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { author sort.format.names }
+ if$
+ }
+ { key sortify }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+% author, editor or key for sorting
+{ key empty$
+ { author empty$
+ { editor empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+ }
+ { key sortify }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+% author, organization or key for sorting
+{ key empty$
+ { author empty$
+ { organization empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { organization chop.article sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+ }
+ { key sortify }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+% editor, organization or key for sorting
+{ key empty$
+ { editor empty$
+ { organization empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { organization chop.article sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { key sortify }
+ if$
+}
+
+FUNCTION {presort}
+% first sort
+{ calc.label
+ sort.label
+ " " *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ { author.editor.sort }
+ { type$ "proceedings" =
+ { editor.organization.sort }
+ { type$ "manual" =
+ { author.organization.sort }
+ { author.sort }
+ if$
+ }
+ if$
+ }
+ if$
+ " " *
+ year push.field.or.null sortify *
+ " " *
+ title push.field.or.null sort.format.title *
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+STRINGS { last.label next.extra }
+
+INTEGERS { last.extra.num label.count }
+
+FUNCTION {initialize.label}
+{ "" 'last.label :=
+ #0 'label.count :=
+}
+
+FUNCTION {forward.pass}
+% find maximum additional character for identical labels
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ label.count #1 + 'label.count :=
+}
+
+FUNCTION {reverse.pass}
+% add additional characters to identical labels
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ { skip$ }
+ if$
+ extra.label 'next.extra :=
+ extra.label empty$
+ { "" }
+ { "{\natexlab{" extra.label * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+ dinat.label extra.label * 'dinat.label :=
+}
+
+FUNCTION {bib.sort.order}
+{ sort.label 'sort.key$ :=
+}
+
+
+%%------------------------------------------------------------------------------
+%% making the bbl. file
+%%------------------------------------------------------------------------------
+FUNCTION {begin.bib}
+% beginning of the file
+{ preamble$ empty$
+ { skip$ }
+ { preamble$
+ write$
+ newline$
+ }
+ if$
+ "\begin{thebibliography}{" label.count int.to.str$ * "}" *
+ write$
+ newline$
+ "% this bibliography was produced with the style dinat.bst v2.5"
+ write$
+ newline$
+ "\makeatletter"
+ write$
+ newline$
+ "\newcommand{\dinatlabel}[1]%"
+ write$
+ newline$
+ "{\ifNAT@numbers\else\NAT@biblabelnum{#1}\hspace{2\labelsep}\fi}"
+ write$
+ newline$
+ "\makeatother"
+ write$
+ newline$
+ "\expandafter\ifx\csname natexlab\endcsname\relax\def\natexlab#1{#1}\fi"
+ write$
+ newline$
+ "\expandafter\ifx\csname url\endcsname\relax\def\url#1{\texttt{#1}}\fi"
+ write$
+ newline$
+}
+
+FUNCTION {end.bib}
+% end of the bbl. file
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+
+%%------------------------------------------------------------------------------
+%% processing the .bib file
+%%------------------------------------------------------------------------------
+READ
+
+ITERATE {presort}
+
+SORT
+
+EXECUTE {initialize.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+ITERATE {bib.sort.order}
+
+SORT
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/german/dinat/history.html b/biblio/bibtex/contrib/german/dinat/history.html
new file mode 100644
index 0000000000..4038a66228
--- /dev/null
+++ b/biblio/bibtex/contrib/german/dinat/history.html
@@ -0,0 +1,692 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML LANG="de">
+
+<HEAD>
+<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-8859-1">
+<META NAME="description" CONTENT="history of the BibTeX styles dinat">
+<META NAME="keywords" CONTENT="history dinat literatur DIN 1505 bibtex">
+<META NAME="resource-type" CONTENT="document">
+<META NAME="distribution" CONTENT="global">
+
+<TITLE>Versions&uuml;bersicht</TITLE>
+
+</HEAD>
+
+<BODY BGCOLOR="white">
+
+<H1>Versions&uuml;bersicht f&uuml;r <A HREF="index.html">dinat</A></H1>
+
+<HR>
+
+<H4>A short note for english speaking people</H4>
+
+<P>
+This page is the version history of the BibTeX style
+<CODE>dinat.bst</CODE>, which produce bibliographies following the german
+norm DIN 1505. Because this norm is only usefull for text in german, all
+extra documentation like these pages is in german, too. Nonetheless the
+styles themselves have comments and output in english. If you like to get
+this pages in english, too, please write me, I'll do my very best.
+</P>
+
+<ADDRESS><A HREF="mailto:helge.baumann@gmx.de">mailto</A>: Helge
+Baumann</ADDRESS>
+<HR>
+
+<H2>Einleitung</H2>
+
+<P>
+Hier werden (hoffentlich) alle &Auml;nderungen und ihr Sinn
+aufgef&uuml;hrt, die zum Erreichen der aktuellen Version des BibTeX-Stils
+<A HREF="dinat.bst">dinat.bst</A> durchgef&uuml;hrt wurden. Ich hoffe, dass
+damit das Verst&auml;ndnis des Stils im Speziellen und von BibTeX im
+Allgemeinen vertieft wird.
+</P>
+
+<HR>
+
+<H4> Zu den <A HREF="#last">letzten &Auml;nderungen</A></H4>
+
+<HR>
+
+<H2>Der Anfang</H2>
+
+<P>
+Einen neuen Stil zu schreiben kam mir zwar auch kurzzeitig in den Sinn,
+aber nach einigen halbherzigen Versuchen habe ich es aufgegeben (hey, ich
+sollte eigentlich meine Diplomarbeit schreiben!) und mich lieber auf die
+Modifikation eines existierenden Stils beschr&auml;nkt. Als Ausgangspunkt
+habe ich den Stil <A
+HREF="http://www.fh-hamburg.de/pers/Lorenzen/bibtex/"><CODE>natdin</CODE></A>
+von <A HREF="http://www.fh-hamburg.de/pers/Lorenzen/">Lorenzen</A>
+genommen, der die grundlegende DIN-Konformit&auml;t schon eingebaut hat,
+allerdings ziemlich fehlerhaft (und chaotisch) ist. Als Gradmesser f&uuml;r
+den Erfolg habe ich anfangs die Datei <CODE>xampl.bib</CODE> verwendet, die
+mit BibTeX mitgeliefert wird. Sie bietet zwar nicht unbedingt DIN-konforme
+Eintr&auml;ge, deckt aber alle Standardf&auml;lle ab.
+</P>
+
+<P>
+Nachdem die Entscheidung gefallen war, einen &quot;neuen&quot; Stil zu
+produzieren, ging es an die Einarbeitung in BibTeX im Allgemeinen und
+<CODE>natdin</CODE> im Besonderen. Irgendwann verstand ich so
+ungef&auml;hr, wie BibTeX mit Hilfe der bst-Dateien aus den Eintr&auml;gen
+der Datenbank eine TeX-Quelle erzeugt und f&uuml;hlte mich gewappnet, dem
+Problem entgegenzutreten.
+</P>
+
+<HR>
+
+<H2>Von NATDIN zu DINAT</H2>
+
+<P>
+Zuallererst musste ich <CODE>natdin</CODE> erstmal zum Laufen bekommen,
+bei mir produzierte das Ding haufenweise Fehlermeldungen und Warnungen.
+Fehler sind schlimmer als Warnungen, also musste ich mich zuerst um diese
+k&uuml;mmern.
+</P>
+
+<H3>Grundlegende Fehler</H3>
+
+<UL>
+ <LI>doppelte Funktionen <CODE>or</CODE> und <CODE>conference</CODE>
+ entfernt</LI>
+</UL>
+
+<P>
+Ab hier lie&szlig; sich der Stil ohne Fehler einlesen, produzierte aber
+noch 48 Fehler mit xampl.bib, ein bischen viel f&uuml;r meinen Geschmack!
+</P>
+
+<H3>Detail-Arbeit</H3>
+
+<P>
+Nun wurden einige &Auml;nderungen durchgef&uuml;hrt, die die Ausgabe nicht
+grundlegend &auml;ndern, aber f&uuml;r das Verst&auml;ndnis des Stils gut
+waren. Das meiste war eigentlich einfaches Aufr&auml;umen, nur ein paar
+Sachen sind mir im Vorbeigehen zus&auml;tzlich aufgefallen, und so habe
+ich sie gleich mit ge&auml;ndert:
+</P>
+
+<UL>
+ <LI>Kommentare komplett entfernt, die meisten betrafen sowieso
+ irgendwelche &Auml;nderungen von vorangegangenen Versionen</LI>
+ <LI>Funktion <CODE>either.or.check</CODE> entfernt, wird nicht aufgerufen</LI>
+ <LI>in <CODE>misc</CODE> <CODE>Norm</CODE> durch <CODE>NORM</CODE>
+ ersetzt</LI>
+ <LI><CODE>[u.~a.~]</CODE> durch <CODE>[u.~a.]</CODE> ersetzt</LI>
+ <LI><CODE>{ 'skip$ }</CODE> durch <CODE>{ skip$ }</CODE> ersetzt</LI>
+ <LI>Formatierung (Einr&uuml;ckungen und Umbr&uuml;che) vereinheitlicht</LI>
+ <LI>Macro f&uuml;r <CODE>mar</CODE> ge&auml;ndert</LI>
+ <LI><CODE>phdthesis</CODE> eingef&uuml;hrt</LI>
+ <LI><CODE>format.pages.book</CODE> ge&auml;ndert</LI>
+ <LI>Funktionen <CODE>show</CODE> und <CODE>show.stack</CODE> f&uuml;r
+ Debugging eingef&uuml;hrt</LI>
+ <LI><CODE>&quot;x&quot; * &quot;y&quot;</CODE> zu
+ <CODE>&quot;xy&quot;</CODE>zusammengezogen</LI>
+ <LI>Funktionsaufrufe <CODE>'name</CODE> durch <CODE>{ name }</CODE>
+ ersetzt</LI>
+ <LI>gemeinsame Teile aus if-Zweigen verschoben bei</LI>
+
+ <UL>
+ <LI><CODE>article.in.journal</CODE></LI>
+ <LI><CODE>format.editors</CODE></LI>
+ <LI><CODE>format.address.publisher.year</CODE></LI>
+ <LI><CODE>format.btitle.vol</CODE></LI>
+ <LI><CODE>format.series.number.din</CODE></LI>
+ <LI><CODE>format.vol.year.num.pages</CODE></LI>
+ <LI><CODE>format.in.ed.booktitle.din</CODE></LI>
+ <LI><CODE>format.tr.number.din</CODE> (umgestellt!)</LI>
+ <LI><CODE>format.book.crossref</CODE></LI>
+ <LI>allen entry-Funktionen</LI>
+ </UL>
+
+ <LI>alle Kommandos ausser ENTRY, INTEGERS und STRINGS an das Ende
+ gesetzt</LI>
+ <LI><CODE>extra.label</CODE> am Ende von <CODE>format.date</CODE>
+ entfernt</LI>
+ <LI>diverse <CODE>tie.or.space.connect</CODE> durch <CODE>*</CODE> ersetzt,
+ falls kein festes Leerzeichen n&ouml;tig</LI>
+</UL>
+
+<P>
+Bis hier waren alle Ma&szlig;nahmen im Prinzip semantik-erhaltend, haben
+damit also an der Anzahl der Fehler nichts ge&auml;ndert! Dies sollte nun
+anders werden ...
+</P>
+
+<H3><I>You can't pop an empty literal stack ...</I>-Fehler</H3>
+
+<UL>
+ <LI>in <CODE>calc.label</CODE> vor <CODE>sortify</CODE> ein
+ <CODE>label</CODE> eingef&uuml;gt</LI>
+</UL>
+
+<P>
+Das entfernte die Fehlermeldungen, die durch das Sortieren hervorgerufen
+wurden. Es blieben noch 12 Fehlermeldungen.
+</P>
+
+<UL>
+ <LI>in <CODE>article.in.journal</CODE> bei leeren <CODE>author</CODE> und
+ <CODE>editor</CODE> kein <CODE>*</CODE></LI>
+</UL>
+
+<P>
+Das behebt den <CODE>empty literal stack</CODE> bei
+<CODE>whole-jounal</CODE>, es bleiben noch 11 <I>the literal stack isn't
+empty ...</I>-Fehler.
+</P>
+
+<H3>Kommentare</H3>
+
+<P>
+Ab hier war das Verst&auml;ndnis des Stils allerdings schon relativ
+gro&szlig;, so dass vorher ein paar weitere Dinge in Angriff genommen
+werden konnten:
+</P>
+
+<UL>
+ <LI>Funktionen etc. kommentiert</LI>
+ <LI>Funktionen umbenannt, um ihren Zweck zu beschreiben:
+
+ <DL>
+ <DT><CODE>out.*</CODE></DT> <DD>Schreibt den obersten Eintrag des Stacks in
+ die bbl-Datei</DD>
+ <DT><CODE>format.*</CODE></DT> <DD>Formatiert den obersten Eintrag des
+ Stacks, d.h. baut ihn irgendwie um, packt aber keinen neuen Eintrag drauf
+ oder entfernt einen</DD>
+ <DT><CODE>push.*</CODE></DT> <DD>Legt genau einen (evtl. leeren) neuen
+ Eintrag auf den Stack</DD>
+ </DL>
+
+ </LI>
+</UL>
+
+<H3><I>the literal stack isn't empty ...</I>-Fehler</H3>
+
+<P>
+Eine naheliegende Ma&szlig;name war das Einf&uuml;gen von
+<CODE>stack$</CODE> am Ende von <CODE>out.bibitem.end</CODE> (ehemals
+<CODE>fin.entry</CODE>), aber das h&auml;tte nur die Symptome kuriert,
+nicht deren Ursache. Also ging es einzeln ans Eingemachte: Es waren alle
+Stellen zu suchen und zu finden, in denen irgendwas auf den Stack gelegt
+wurde, das hinterher nicht verarbeitet wurde. Dazu half die Umbenennung:
+alles mit <CODE>push</CODE> musste etwas (genauer gesagt, exakt
+<STRONG>ein</STRONG> Item) auf den Stack legen, alles mit
+<CODE>format</CODE> dagegen sollte den obersten Stack-Eintrag manipulieren,
+musste ihn also dazu abheben und hinterher wieder drauftun oder/und musste
+etwas daranh&auml;ngen. Gefunden habe ich dann nur den einen Eintrag:
+</P>
+
+<UL>
+ <LI>in <CODE>format.article.in.journal</CODE> bei leerem Titel
+ <CODE>*</CODE> entfernt</LI>
+</UL>
+
+<P>
+Damit (wenn ich nichts vergessen habe) waren alle Fehlermeldungen
+verschwunden, und die Hauptarbeit war getan:
+</P>
+
+<H3>DINAT war geboren!</H3>
+
+<HR>
+
+<H2>Neue Funktionen</H2>
+
+<P>
+Nun ging es daran, neue Funktionen einzubauen bzw. die existierenden
+Formatierungen zu modifizieren:
+</P>
+
+<UL>
+ <LI>Macros f&uuml;r Zeitschriften eingef&uuml;gt</LI>
+ <LI>Leerzeichen vor Verweis in <CODE>format.article.crossref</CODE>
+ eingef&uuml;rht</LI>
+ <LI>fette Verweise (<CODE>\textbf</CODE>) entfernt</LI>
+ <LI>ein Klammerpaar (&quot;{}&quot;) um ehemalige <CODE>\textbf</CODE>
+ entfernt</LI>
+ <LI>zus&auml;tzliche Macros f&uuml;r Monate entfernt</LI>
+ <LI><CODE>pages</CODE> in <CODE>incollection</CODE> und
+ <CODE>inproceedings</CODE> hinter <CODE>series</CODE> und </LI>
+ <CODE>number</CODE> verschoben
+ <LI>alle Ausgaben in Englisch</LI>
+</UL>
+
+<HR>
+
+<H2>URL</H2>
+
+<P>
+Neuere Stile enthalten das Feld URL, also mu&szlig; das auch hier rein
+(au&szlig;erdem brauche ich es selbst!).
+</P>
+
+<UL>
+ <LI>Feld <CODE>url</CODE> eingef&uuml;gt</LI>
+ <LI>Formatierung f&uuml;r <CODE>url</CODE> eingef&uuml;gt</LI>
+ <LI>falls das url-Paket nicht verwendet wird, <CODE>\texttt</CODE> f&uuml;r
+ URL verwenden (<CODE>begin.bib</CODE>)</LI>
+ <LI>bei leerem <CODE>publisher</CODE>, <CODE>author</CODE> und
+ <CODE>editor</CODE> als Impressum die <CODE>url</CODE> verwenden</LI>
+ <LI><CODE>url</CODE> in alle Eintr&auml;ge vor <CODE>note</CODE> eingebaut,
+ allerdings nur, wenn noch nicht im Impressum verwendet</LI>
+</UL>
+
+<HR>
+
+<H2>Von DINAT zu DINNAT</H2>
+
+<P>
+Nachdem der DINAT-Stil so weit gediehen war, kam ich durch Beitr&auml;ge in
+der Newsgruppe <A HREF="news:de.comp.text.tex">de.comp.text.tex</A> auf die
+Idee, den Stil so zu modifizieren, dass er die ganzen
+NATBIB-M&ouml;glichkeiten bietet, also z.B. auch <CODE>\citeyear</CODE> und
+die <CODE>*</CODE>-Formen.
+</P>
+
+<UL>
+ <LI>Klammern um <CODE>year</CODE> in das Label eingebaut
+ (<CODE>calc.label</CODE>)</LI>
+</UL>
+
+<P>
+Leider gingen dabei die Marken vor den Eintr&auml;gen im
+Literaturverzeichnis fl&ouml;ten, so dass ein zweiter Stil n&ouml;tig
+wurde, der allerdings nicht mehr so richtig DIN-konform genannt werden
+kann. Da er aber quasi die Langform von DINAT ist, wurde er DINNAT genannt.
+Falls ich das jemals hinbekomme, die Marken zu erzeugen, wird DINNAT aber
+wieder eingestellt!
+</P>
+
+<P>
+Ab jetzt m&uuml;ssen alle &Auml;nderungen parallel in beiden Stilen
+durchgef&uuml;hrt werden, falls nicht anders vermerkt.
+</P>
+
+<P>
+Damit werden aber schon die zus&auml;tzlichen cite-Versionen
+erm&ouml;glicht, es fehlt allerdings noch die lange Autorenliste.
+</P>
+
+<UL>
+ <LI><CODE>make.full.names</CODE> mit allen in ihr aufgerufenen Funktionen
+ aus den anderen NAT-Stilen in <CODE>dinnat</CODE> eingef&uuml;gt und hinter
+ das bisherige Label eingebaut</LI>
+</UL>
+
+<HR>
+
+<H2>Erste Ver&ouml;ffentlichung am 10.4.2000</H2>
+
+<P>
+Nachdem ich soweit gekommen war, war es an der Zeit, DINAT mit der
+gro&szlig;en b&ouml;sen Welt in Kontakt kommen zu lassen: Eine erste
+Ank&uuml;ndigung erfolgte in der Newsgruppe de.comp.text.tex. Das Ergebnis
+war nicht &uuml;berw&auml;ltigend, aber gr&ouml;&szlig;er als gedacht, und
+vor allem positiv! Ein echter Ansporn, weiter zu arbeiten.
+</P>
+
+<HR>
+
+<H2>Version 1.1 vom 18.4.2000</H2>
+
+<P>
+Wie &uuml;blich finden sich direkt nach Ver&ouml;ffentlichung der ersten
+Version sofort ein paar kleine Fehler, die eine &Uuml;berarbeitung
+notwendig machen:
+</P>
+
+<UL>
+ <LI><CODE>format.dashes</CODE> aus <CODE>push.url</CODE> entfernt</LI>
+ <LI><CODE>out.bibitem.start.end</CODE> in <CODE>out.bibitem.end</CODE>
+ umbenannt (typischer Suchen-und-Ersetzen-Fehler)</LI>
+ <LI><CODE>top$</CODE> durch <CODE>warning$</CODE> ersetzt, falls es nicht
+ f&uuml;r Debugging gebraucht wird</LI>
+ <LI>diverse <CODE>tie.or.space.connect</CODE> durch <CODE>*</CODE> ersetzt,
+ falls der hintere Teil auf jeden Fall l&auml;nger ist, z.B. bei
+ ISBN/ISSN</LI>
+ <LI>diverse Leerzeichen vor bzw. hinter Satzzeichen etc. durch eine Tilde
+ ersetzt (und <CODE>tie.or.space.connect</CODE> durch <CODE>*</CODE>
+ ersetzt)</LI>
+ <LI>&uuml;berfl&uuml;ssige geschweifte Klammern entfernt</LI>
+ <LI><CODE>format.article.in.journal</CODE> vereinfacht</LI>
+ <LI><CODE>push.series.number</CODE> umgestellt</LI>
+</UL>
+
+<P>
+Und nat&uuml;rlich auch ein paar richtige &Auml;nderungen (welche erste
+Verison ist schon korrekt?):
+</P>
+
+<UL>
+ <LI>zur Label-Erzeugung durch <CODE>key</CODE> wird der ganze Eintrag
+ genommen, nicht mehr nur die ersten drei Buchstaben (<A
+ HREF="mailto:rascher@ifn.ing.tu-bs.de">mailto</A>: Kai Rascher)</LI>
+ <LI>zur Label-Erzeugung wird der komplette <CODE>year</CODE>-Eintrag
+ verwendet, nicht nur die letzten vier Stellen, z.B. f&uuml;r
+ von-bis-Angaben (<A HREF="mailto:ulfhinze@gmx.de">mailto</A>: Ulf
+ Hinze)</LI>
+ <LI>bei <CODE>incollection</CODE> und <CODE>inproceedings</CODE> wird auch
+ mit <CODE>crossref</CODE> das Kapitel angegeben</LI>
+ <LI><CODE>push.book.crossref</CODE> vereinfacht</LI>
+</UL>
+
+<P>
+Ab jetzt sind auch diese Webseiten verf&uuml;gbar, ich hoffe, damit werden
+viele Fragen im Vorfeld beantwortet. Irgendwann demn&auml;chst wird diese
+Seite auch umziehen, auf jeden Fall steht die Adresse dann im Vorspann der
+Dateien.
+</P>
+
+<HR>
+
+<H2>Version 1.2 vom 25.4.2000</H2>
+
+<P>
+Nachdem diese Stile und damit auch diese Webseiten (auf Anregungen von <A
+HREF="mailto:niepraschk@ptb.de">mailto</A>: Rolf Niepraschk) die Aufnahme
+in die heiligen Hallen des <A HREF="http://www.ctan.com">CTAN</A> im Pfad
+<CODE>biblio/bibtex/contrib/german/dinat/</CODE> gefunden haben, gibt es
+auch noch ein paar &Auml;nderungen:
+</P>
+
+<UL>
+ <LI>doppelte Leerzeichen entfernt</LI>
+ <LI><CODE>\natexlab</CODE> in <CODE>dinat</CODE> wieder eingef&uuml;hrt
+ (warum war das eigentlich draussen?)</LI>
+ <LI>in <CODE>dinnat</CODE> geschweifte Klammern um <CODE>\natexlab</CODE>
+ und in <CODE>\bibitem[...]</CODE> entfernt</LI>
+ <LI>in <CODE>misc</CODE> wird f&uuml;r <CODE>NORM</CODE> eine beliebige
+ Gro&szlig;-/Kleinschreibung erkannt und verwendet</LI>
+ <LI>bei fehlenden Autor- etc. Angaben wird die gesamte Marke
+ (<CODE>cite$</CODE>) als Label genommen, nicht nur ihre ersten drei
+ Buchstaben</LI>
+ <LI><CODE>push.address.publisher.year</CODE> umgestellt</LI>
+ <LI>diverse <CODE>tie.or.space.connect</CODE> durch <CODE>*</CODE> ersetzt
+ (und Leerzeichen bzw. Tilden eingef&uuml;gt)</LI>
+ <LI>Kommata in <CODE>push.incoll.inproc.crossref</CODE> richtig
+ gesetzt</LI>
+ <LI><CODE>url</CODE> nicht bei fehlenden Verlagsangaben (und nicht
+ fehlenden Autor und Editor!)</LI>
+ <LI>Titel von Normen kursiv</LI>
+ <LI><CODE>crossref</CODE> bei Normen eingef&uuml;gt</LI>
+</UL>
+
+<HR>
+
+<H2>Version 2.0 vom 2.5.2000</H2>
+
+<P>
+Wenn das so weitergeht, komme ich doch noch in einen w&ouml;chentlichen
+Update-Rhythmus :-)
+</P>
+
+<P>
+Ab jetzt gibt es zu den &Auml;nderungen auf dieser Seite auch die Namen und
+Mail-Adressen der Leute, die diese angeregt haben, als Dank und Ansporn
+sozusagen.
+</P>
+
+<UL>
+ <LI>&uuml;berfl&uuml;ssiges Leerzeichen in der Namensliste durch
+ <CODE>format.names</CODE> entfernt (<A
+ HREF="mailto:stefan@snobis.de">mailto</A>: Stefan Nobis)</LI>
+ <LI><CODE>urldate</CODE> als Datum des Zugriffs auf die URL eingebaut (<A
+ HREF="mailto:stefan@snobis.de">mailto</A>: Stefan Nobis)</LI>
+ <LI>Kommentar mit Namen des Stils in <CODE>begin.bib</CODE> zur Ausgabe in
+ die bbl-Datei eingef&uuml;gt (sollte eigentlich Standard sein!)</LI>
+ <LI>einen Punkt hinter den Buchtitel bei Verweisen in
+ <CODE>incollection</CODE> und <CODE>inproceedings</CODE> gesetzt
+ (<CODE>push.incoll.inproc.crossref</CODE>)</LI>
+ <LI>Muster f&uuml;r den Eintrag in <CODE>natbib.cfg</CODE> berichtigt (<A
+ HREF="mailto:stefan@snobis.de">mailto</A>: Stefan Nobis)</LI>
+ <LI>L&ouml;sung des Label-Problems in <CODE>dinnat</CODE> gefunden!<BR>
+ Na gut, keine &uuml;berzeugende, ist mehr ein Hack, aber wenigstens
+ funktioniert es</LI>
+</UL>
+
+<P>
+Diese L&ouml;sung sollte auch mit der Formatierung per
+<CODE>natbib.cfg</CODE> zurechtkommen.<BR>
+Falls die <CODE>natbib</CODE>-Option <CODE>numbers</CODE> oder die
+<CODE>\bibpunct</CODE>-Variante <CODE>n</CODE> gew&auml;hlt wurde, wird
+auch nur ein entsprechendes numerisches Label erzeugt.
+</P>
+
+<P>
+Die letzte &Auml;nderung rechtfertigt den Sprung auf Version 2.0, da nun
+mit einem Stil alle Zitierm&ouml;glichkeiten und Label erreicht werden
+k&ouml;nnen.
+</P>
+
+<P>
+Diese &Auml;nderung f&uuml;hrt dar&uuml;berhinaus zur Zusammenf&uuml;hrung
+der beiden Stile, so dass nur noch ein Stil, n&auml;mlich der eigentlich
+geplante <A HREF="dinat.bst">dinat.bst</A>, &uuml;brigbleibt.
+</P>
+
+<HR>
+
+<H2>Version 2.1 vom 9.5.2000</H2>
+
+<P>
+Und weiter geht es im immerw&auml;hrenden Kreislauf der &Auml;nderungen,
+selbst an meinem Geburtstag (aber schlie&szlig;lich erfolgte die erste
+Ver&ouml;ffentlichung auch am Geburtstag meiner Frau):
+</P>
+
+<UL>
+ <LI>der f&uuml;nfte Parameter von <CODE>\bibpunct</CODE> in der
+ Konfiguration <CODE>natbib.cfg</CODE> erzeugte ein zus&auml;tzliches
+ Leerzeichen in den Zitierungen, also wurde es entfernt</LI>
+ <LI> die Felder <CODE>isbn</CODE>, <CODE>issn</CODE>, <CODE>url</CODE> und
+ <CODE>urldate</CODE> im Vorspann und auf der Webseite erkl&auml;rt
+ (demn&auml;chst wird es auch eine richtige Anleitung geben)</LI>
+ <LI>f&uuml;r <CODE>techreport</CODE> <CODE>url</CODE> als Impressum bei
+ leerem <CODE>institution</CODE>, nicht <CODE>publisher</CODE></LI>
+ <LI>Links hier im Dokument ge&auml;ndert: Mailadressen werden jetzt
+ &uuml;ber <CODE>mailto:</CODE> verlinkt, Webseiten &uuml;ber den Namen</LI>
+ <LI>alle Texte in Funktionen verlagert, um sie leichter &auml;nderbar zu
+ machen, z.B. f&uuml;r Leute, die <CODE>et.al.</CODE> statt
+ <CODE>u.a.</CODE> haben wollen (<A
+ HREF="mailto:baum@mbox.cri.uni-hannover.de">mailto</A>: Peter Baum)</LI>
+ <LI><CODE>push.editors.organization</CODE> in
+ <CODE>push.organization</CODE> umbenannt und umgebaut</LI>
+ <LI><CODE>push.editors</CODE> umgebaut</LI>
+ <LI>damit wurde auch <CODE>push.ed.incoll</CODE> &uuml;berfl&uuml;ssig</LI>
+ <LI><CODE>push.authors.editors</CODE> neu erstellt und eingebunden</LI>
+ <LI>die letzten vier &Auml;nderungen machten auch einige &Auml;nderungen an
+ anderen Funktionen notwendig</LI>
+ <LI>kleinerer Abstand bei <CODE>u.a.</CODE>: <CODE>\,</CODE> statt
+ <CODE>~</CODE></LI>
+ <LI><CODE>format.article.in.journal</CODE> zu
+ <CODE>push.article.in.journal</CODE> umgebaut</LI>
+ <LI><CODE>\cite</CODE> durch <CODE>\citep</CODE> ersetzt</LI>
+ <LI><CODE>push.crossref.editor</CODE> entfernt, da es nicht benutzt
+ wurde</LI>
+ <LI>in vielen Funktionen kleinere Umstellungen vorgenommen, um den Code
+ verst&auml;ndlicher und wartungsfreundlicher zu machen</LI>
+</UL>
+
+<HR>
+<A NAME="last"></A>
+
+<H2>Version 2.2 vom 12.07.2000</H2>
+
+<P>
+Nachdem die Diplomarbeit abgegeben war, war wieder Zeit f&uuml;r
+die Arbeit an dinat, dachte ich. Aber dann kam die neue Wohnung, der
+Umzug, das Einrichten, der neue Job usw. Aber nun ist es geschafft, eine
+neue Version ist fertig, wenn auch nicht so neu wie erhofft:
+</P>
+
+<UL>
+ <LI><CODE>push.crossref</CODE> erstellt und eingebaut</LI>
+ <LI>diverse <CODE>crossref</CODE> ge&auml;ndert</LI>
+ <LI><CODE>out.check</CODE> in <CODE>out.check.required</CODE>
+ umbenannt</LI>
+ <LI><CODE>out.check.din</CODE> eingebaut f&uuml;r nur nach DIN
+ fehlende Teile</LI>
+ <LI><CODE>mastersthesis</CODE> in <CODE>masterthesis</CODE>
+ korrigiert</LI>
+ <LI><CODE>Zugriffsdatum</CODE> ebenfalls richtig geschrieben</LI>
+ <LI>um <CODE>\,</CODE> geschweifte Klammern gesetzt, hoffentlich
+ behebt das den nervigen <CODE>\nobreakspace{}</CODE>-Fehler
+</UL>
+
+<P>
+Vor allem f&uuml;r das letztere erbitte ich Meldungen, ob es geholfen hat!
+</P>
+
+<HR>
+
+<H2>Version 2.3 vom 03.10.2000</H2>
+
+<P>
+Nun ist der erste Stress mit neuer Wohnung, neuem Job etc. weg, viele viele
+Vorschl&auml;ge f&uuml;r dinat sind eingegegangen, und jetzt habe ich auch Zeit
+f&uuml;r eine neue Version gefunden. Diese bringt noch nicht die
+angek&uuml;ndigten gro&szlig;en &Auml;nderungen, sondern wie die vorigen vor
+allem Detailverbesserungen, wenn auch einige lange geforderte:
+</P>
+
+<UL>
+ <LI><CODE>masterthesis</CODE> wieder in das korrekte <CODE>mastersthesis</CODE>
+ ge&auml;ndert. Entschuldigung an alle f&uuml;r diese schlampige Korrektur, da
+ hatte ich mich aufs Glatteis f&uuml;hren lassen und selbst nicht genug
+ recherchiert. Um den Frust nicht zu gro&szlig; werden zu lassen, bleibt
+ <CODE>masterthesis</CODE> erhalten.</LI>
+ <LI>die letzten Vorkommen von <CODE>u.~a.</CODE> beseitigt, nun sollten
+ wirklich alle <CODE>\nobreakspace{}</CODE>-Fehler weg sein!</LI>
+ <LI>als Abstand zwischen der Marke und dem Eintrag wird nun
+ standardm&auml;&szlig;ig <CODE>\labelsep</CODE> verwendet, wie es sich
+ geh&ouml;rt.</LI>
+ <LI><CODE>...key.organization.label</CODE> korrigiert, so dass nun die
+ ganze Organisation als Label verwendet wird.</LI>
+ <LI>in <CODE>proceedings</CODE> wird jetzt eine leere Organisation
+ abgefangen und falls vorhanden durch (Hrsg.) erg&auml;nzt.</LI>
+</UL>
+
+<P>
+<A NAME="doku">Und die Dokumentation ist immer noch nicht fertig.</A>
+</P>
+
+<HR>
+
+<H2>Version 2.4 vom 05.11.2000</H2>
+
+<P>
+Diese Version ist eine Olaf-Meltzer-Dank-Ausgabe, da er die
+meisten &Auml;nderungen zu dieser Version beigetragen hat. Ich hatte
+eigentlich nur ein wenig zu tun mit dem Zusammentragen und
+Ver&ouml;ffentlichen. Dachte ich jedenfalls, bis ich mich an die
+Namens-Formatierung machte ... Aber trotzdem, er hat es verdient, da er
+nicht nur Fragen stellt, sondern auch selbst gute L&ouml;sungen liefert!
+</P>
+
+<UL>
+ <LI><CODE>inbook</CODE> verbessert. Nun wird bei der Zitierung eines
+ einzelnen Teils eines Buchs nur eine einzelne Literaturangabe mit allen Werten
+ genriert. Wenn dagegen mehr als ein Teil eines Buchs zitiert werden, wird
+ das Buch mit allen Angaben aufgef&uuml;hrt und die jeweiligen Teile mit einem
+ entsprechenden Verweis (<A HREF="mailto:Olaf.Meltzer@freenet.de">mailto</A>: Olaf Meltzer).</LI>
+ <LI>&uuml;berfl&uuml;ssigen Satzanfang aus <CODE>proceedings</CODE> entfernt
+ (<A HREF="mailto:Olaf.Meltzer@freenet.de">mailto</A>: Olaf Meltzer).</LI>
+ <LI>fehlenden Doppelpunkt nach Autor/Editor in <CODE>misc</CODE>
+ erg&auml;nzt (<A HREF="mailto:Olaf.Meltzer@freenet.de">mailto</A>: Olaf Meltzer).</LI>
+ <LI>wegen Problemen mit Adelspr&auml;dikaten wurden die Funktionen
+ <CODE>format.full.names</CODE>, <CODE>format.names</CODE> und
+ <CODE>sort.format.names</CODE> &uuml;berarbeitet. Dabei fiel ab:
+ <UL>
+ <LI>die Variable <CODE>numnames</CODE> konnte entfernt werden.</LI>
+ <LI>die Variable <CODE>zahl</CODE> wurde in <CODE>pos</CODE> umbenannt,
+ da sie nicht einfach eine Zahl ist, sondern eine Position angibt.</LI>
+ <LI>die Variable <CODE>lang</CODE> wurde entfernt und statt dessen
+ die Variable <CODE>len</CODE> verwendet.</LI>
+ <LI>das allgemeine Verst&auml;ndnis der Namensformatierung wurde
+ gr&ouml;&szlig;er!</LI>
+ </UL></LI>
+ <LI>innerhalb der ISBN/ISSN wird laut Duden der Binde-, also
+ Trennstrich verwendet, also keine Verdoppelung des <CODE>-</CODE>
+ mehr (sollte eigentlich schon lange gemacht sein).</LI>
+ <LI>Bei der Gelegenheit auch <CODE>format.dashes</CODE> etwas
+ aufger&auml;umt und verstanden.</LI>
+</UL>
+
+<P>
+Zum Stand der Dokumentation siehe <A HREF="#doku">oben</A>. Aber
+inzwischen habe ich sehr viele Beispiel-Eintr&auml;ge sammeln k&ouml;nnen!
+</P>
+
+<HR>
+<A NAME="last"></A>
+
+<H2>Version 2.5 vom 15.11.2000</H2>
+
+<P>
+Und direkt nach der letzten Version nun schon wieder eine neue.
+Es haben sich einfach ein paar Dinge ergeben, die mir sinnvoll erschienen
+und eine echte Verbesserung darstellen. Au&szlig;erdem habe ich gerade
+etwas Zeit.
+</P>
+
+<UL>
+ <LI>In <CODE>proceedings</CODE> fehlendes <CODE>*</CODE> hinter
+ <CODE>push.organization</CODE> angef&uuml;gt (<A
+ HREF="mailto:huhr@uni-paderborn.de">mailto</A>: Holger Uhr).</LI>
+ <LI>In <CODE>dinatlabel</CODE> wird nicht mehr <CODE>\citealt</CODE>
+ aufgerufen, sondern ein eigenes Label (<CODE>dinat.label</CODE>) gebastelt.
+ Dies spart einen LaTeX-Durchgang und erm&ouml;glicht vor allem das
+ Entfernen eines Zitats aus dem Text, ohne alle <CODE>.aux</CODE>-Dateien
+ wegschmeissen zu m&uuml;ssen. Ausserdem verhindert es &uuml;berfl&uuml;ssige
+ Links, wenn das <CODE>hypertext</CODE>-Paket verwendet wird (<A
+ HREF="mailto:ben.samwer@ptb.de">mailto</A>: Ben Samwer).</LI>
+ <LI>Wenn ein Wert f&uuml;r <CODE>key</CODE> vorhanden ist, wird dieser
+ immer f&uuml;r das Label verwendet, vor <CODE>author</CODE>,
+ <CODE>editor</CODE> etc. Die dahinterliegende &Uuml;berlegung ist, dass
+ ein <CODE>key</CODE> wohl nur angegeben wird, wenn er Sinn macht. Ist dann
+ aber ein <CODE>author</CODE> o.&Auml;. vorhanden, w&uuml;rde
+ <CODE>key</CODE> nirgendwo auftauchen. So lassen sich nun auch Werke mit
+ Autorenangaben etc. mit einer evtl. &uuml;blicheren Kurzbezeichnung zitieren (<A
+ HREF="mailto:ben.samwer@ptb.de">mailto</A>: Ben Samwer)</LI>.
+ <LI>Dazu wurden alle <CODE>...label</CODE>-Funktionen umgestellt und
+ auch umbenannt.</LI>
+ <LI>Und die <CODE>...sort</CODE>-Funktionen mussten ebenfalls
+ angepasst werden.</LI>
+ <LI><CODE>longest.label.width</CODE> und <CODE>longest.label</CODE> wurden
+ nicht benutzt, also wurden sie entfernt. Urspr&uuml;nglich waren die Variablen
+ wohl zur Bestimmung der Einr&uuml;cktiefe im Literaturverzeichnis
+ gedacht, was aber bei Autor-Jahr-Labels wenig Sinn macht, vor allem
+ wenn man an Werke mit zwei Autoren denkt, deren Label allein schon eine
+ ganze Zeile f&uuml;llen kann.</LI>
+ <LI><CODE>initialize.longest.label</CODE> in <CODE>initialize.label</CODE>
+ umbenannt und vereinfacht.</LI>
+ <LI><CODE>number.label</CODE> in <CODE>label.count</CODE>
+ umbenannt.</LI>
+ <LI>Die <A HREF="index.html">Webseite</A> von Fehlern bereinigt.</LI>
+</UL>
+
+<P>
+Ein Problem bleibt die Sortierung von Eintr&auml;gen mit gleichem ersten
+(<EM>A</EM>), aber verschiedenem zweiten Autor (<EM>B</EM> bzw. <EM>C</EM>)
+sowie mindestens einem weiteren Autoren (<EM>D</EM>) und unterschiedlicher
+Jahreszahl (<EM>1994</EM> bzw. <EM>1999</EM>). Das Label wird dann aus erstem
+Autor und Jahr gebildet (<EM>A u.a. 1994</EM> bzw. <EM>A u.a. 1999</EM>) und
+entsprechend sortiert. Wird aber das Label nicht angezeigt, z.B. bei
+numerischer Zitierung, dann wird das Werk <EM>A, B und D 1999</EM> trotzdem
+hinter <EM>A, C und D 1994</EM> einsortiert, was zu Verwirrung f&uuml;hren kann.
+Dies ist aber nicht befriedigend zu l&ouml;sen, da zur Sortierzeit nicht
+zwischen den beiden Zitierungsarten unterschieden werden kann. Da laut DIN
+nach dem Label sortiert wird, behalte ich dieses bei, da ja die numerische
+Zitierung nicht DIN entspricht.
+</P>
+
+<HR>
+<ADDRESS><A HREF="mailto:helge.baumann@gmx.de">mailto</A>: Helge Baumann,
+2000-11-15</ADDRESS>
+
+</BODY>
+
+</HTML>
diff --git a/biblio/bibtex/contrib/germbib/README.bibgerm b/biblio/bibtex/contrib/germbib/README.bibgerm
new file mode 100644
index 0000000000..722ce8706e
--- /dev/null
+++ b/biblio/bibtex/contrib/germbib/README.bibgerm
@@ -0,0 +1,24 @@
+REAMDE to bibgerm.sty
+=====================
+
+History:
+
+- Macros for german `BibTeX'ing added to Style Option `german' 20 Apr 1993
+ idea and languages `german' and `USenglish' implemented by M. Wallmeier
+- Modified for LaTeX 2e and german.sty 2.5b by A. Scherer 1 Nov 1995
+- Modified for ngerman.sty and babel.sty by H. Harders 21 August 2000
+
+
+The package bibgerm.sty now supports the language packages ngerman.sty and
+babel.sty.
+If using LaTeX2e you can load either german.sty, ngerman.sty or babel.sty
+before or after bibgerm.sty. If none of these packages is used bibgerm
+behaves as before and loads german.sty.
+If using LaTeX 2.09 you can load german.sty or ngerman.sty _before_
+bibgerm.sty.
+
+The file test/testbibgerm.tex tests the new version of bibgerm.sty.
+
+2000-08-21
+Harald harders
+h.harders@tu-bs.de
diff --git a/biblio/bibtex/contrib/germbib/bst/gerabbrv.bst b/biblio/bibtex/contrib/germbib/bst/gerabbrv.bst
new file mode 100644
index 0000000000..1f6088715d
--- /dev/null
+++ b/biblio/bibtex/contrib/germbib/bst/gerabbrv.bst
@@ -0,0 +1,1208 @@
+% BibTeX standard bibliography style `abbrv'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+% 15-feb-92 (MW) Updated for use with `bibgerman.sty': things like "and"
+% change with the language. Switch the language using the
+% language field:
+% language = "german" | "USenglish" | "english"
+% Then a `\selectlanguage{...}' command will be pushed just
+% before the `\bibitem...' command for the entry in work.
+% 2003/03/31 Harald Harders Fixed bug in detection of "and others"
+% 2003/04/29 Harald Harders Fixed bug format of names. For multiple
+% names, some of them were not typeset in
+% small caps.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ language
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block before.title }
+
+STRINGS { s t language.state language.temp }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #4 'before.title :=
+ "nostate" 'language.state :=
+}
+
+FUNCTION {language.state.test}
+{
+ 'language.temp :=
+ language.temp language.state =
+ { #1 }
+ { #0 }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ % next if is for use with `new' FUNCTION {after.authors}
+ { output.state before.title =
+ { ": " * write$ }
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ language empty$
+ 'skip$
+ { language.state language =
+ 'skip$
+ { "\selectlanguage{\" language * "}" * write$
+ newline$
+ }
+ if$
+ language 'language.state :=
+ }
+ if$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+% new one -> sets what is specified in FUNCTION {output.nonnull}
+% if `before.title 'output.state = ... if$' is true
+FUNCTION {after.authors}
+{ output.state before.all =
+ 'skip$
+ { before.title 'output.state := }
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkc}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'after.authors
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "\/}" * }
+ if$
+}
+
+FUNCTION {smallcaps}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\sc " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+ namesleft #1 >
+ { ", " * t smallcaps * }
+ { numnames #2 >
+ { "english" language.state.test
+ "USenglish" language.state.test
+ or
+ {"," * }
+ 'skip$
+ if$
+ }
+ 'skip$
+ if$
+ t "others" =
+ { " \btxetalshort{.}" * }
+ { " \btxandshort{.}\ " * t smallcaps * }
+ if$
+ }
+ if$
+ }
+ { s nameptr "{ll}{, jj}{, f.}{~vv}" format.name$ smallcaps }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { "\ (\btxeditorsshort{.})" * }
+ { "\ (\btxeditorshort{.})" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { "english" language.state.test
+ "USenglish" language.state.test
+ or
+ { title "t" change.case$ emphasize }
+ { title emphasize }
+ if$
+ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month "\ " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { "\ " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { output.state after.block =
+ { "\Btxvolumeshort{.}" }
+ { "\btxvolumeshort{.}" }
+ if$
+ volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " \btxofseriesshort{.}\ " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "\btxnumbershort{.}" }
+ { "\Btxnumbershort{.}" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " \btxinseriesshort{.}\ " * series emphasize * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { "english" language.state.test
+ "USenglish" language.state.test
+ or
+ { output.state mid.sentence =
+ { edition "l" change.case$ " \btxeditionshort{.}" * }
+ { edition "t" change.case$ " \btxeditionshort{.}" * }
+ if$
+ }
+ { edition " \btxeditionshort{.}" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "\btxpagesshort{.}" pages n.dashify tie.or.space.connect }
+ { "\btxpageshort{.}" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "\btxchaptershort{.}" }
+ { "english" language.state.test
+ "USenglish" language.state.test
+ or
+ { type "l" change.case$ }
+ { type }
+ if$
+ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "\Btxinshort{.}\ " booktitle emphasize * }
+ { "\Btxinshort{.}\ " format.editors * ": " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ "english" language.state.test
+ "USenglish" language.state.test
+ or
+ { type "t" change.case$ }
+ { type }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "\Btxtechrepshort{.}" }
+ 'type
+ if$
+ number empty$
+ { "english" language.state.test
+ "USenglish" language.state.test
+ or
+ { type empty$
+ { pop$ "\btxtechreplong{}" }
+ { "t" change.case$ }
+ if$
+ }
+ 'skip$
+ if$
+ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "\Btxinshort{.}\ " journal emphasize * }
+ if$
+ }
+ { "\Btxinshort{.}\ " key emphasize * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{ll}{, jj}{, f.}{~vv}" format.name$ smallcaps
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " \btxetalshort{.}" * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " \btxetalshort{.}" * }
+ { " \btxandshort{.}\ " * editor #2 "{vv~}{ll}" format.name$ smallcaps * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "\Btxinshort{.}\ "
+ }
+ { "\Btxvolumeshort{.}" volume tie.or.space.connect
+ " \btxofseriesshort{.}\ " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { series emphasize * }
+ if$
+ }
+ { key emphasize * }
+ if$
+ }
+ { "\Btxinshort{.}\ " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "\Btxinshort{.}\ " booktitle emphasize * }
+ if$
+ }
+ { "\Btxinshort{.}\ " key emphasize * }
+ if$
+ }
+ { "\Btxinshort{.}\ " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal
+ title missing$
+ { emphasize }
+ 'skip$
+ if$
+ "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ after.authors
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ after.authors
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ after.authors
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization smallcaps output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ after.authors
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.title "title" output.check
+ new.block
+ "\btxmastthesis{}" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkc
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.btitle "title" output.check
+ new.block
+ "\btxphdthesis{}" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization smallcaps output }
+ { format.editors output.nonnull }
+ if$
+ after.authors
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"\btxmonjanshort{.}"}
+
+MACRO {feb} {"\btxmonfebshort{.}"}
+
+MACRO {mar} {"\btxmonmarshort{.}"}
+
+MACRO {apr} {"\btxmonaprshort{.}"}
+
+MACRO {may} {"\btxmonmayshort{.}"}
+
+MACRO {jun} {"\btxmonjunshort{.}"}
+
+MACRO {jul} {"\btxmonjulshort{.}"}
+
+MACRO {aug} {"\btxmonaugshort{.}"}
+
+MACRO {sep} {"\btxmonsepshort{.}"}
+
+MACRO {oct} {"\btxmonoctshort{.}"}
+
+MACRO {nov} {"\btxmonnovshort{.}"}
+
+MACRO {dec} {"\btxmondecshort{.}"}
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Programming"}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Gr."}
+
+MACRO {toms} {"ACM Trans. Math. Softw."}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{ll{ }}{ f{ }}{vv{ } }{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/germbib/bst/geralpha.bst b/biblio/bibtex/contrib/germbib/bst/geralpha.bst
new file mode 100644
index 0000000000..984bbead5b
--- /dev/null
+++ b/biblio/bibtex/contrib/germbib/bst/geralpha.bst
@@ -0,0 +1,1369 @@
+% BibTeX standard bibliography style `plain'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+% 15-feb-92 (MW) Updated for use with `bibgerman.sty': things like "and"
+% change with the language. Switch the language using the
+% language field:
+% language = "german" | "USenglish" | "english"
+% Then a `\selectlanguage{...}' command will be pushed just
+% before the `\bibitem...' command for the entry in work.
+% 2003/03/31 Harald Harders Fixed bug in detection of "and others"
+% 2003/04/29 Harald Harders Fixed bug format of names. For multiple
+% names, some of them were not typeset in
+% small caps.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ language
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block before.title }
+
+STRINGS { s t language.state language.temp }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #4 'before.title :=
+ "nostate" 'language.state :=
+}
+
+FUNCTION {language.state.test}
+{
+ 'language.temp :=
+ language.temp language.state =
+ { #1 }
+ { #0 }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ % next if is for use with `new' FUNCTION {after.authors}
+ { output.state before.title =
+ { ": " * write$ }
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ language empty$
+ 'skip$
+ { language.state language =
+ 'skip$
+ { "\selectlanguage{\" language * "}" * write$
+ newline$
+ }
+ if$
+ language 'language.state :=
+ }
+ if$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+% new one -> sets what is specified in FUNCTION {output.nonnull}
+% if `before.title 'output.state = ... if$' is true
+FUNCTION {after.authors}
+{ output.state before.all =
+ 'skip$
+ { before.title 'output.state := }
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkc}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'after.authors
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {smallcaps}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\sc " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ namesleft #1 >
+ { ", " * t smallcaps * }
+ { numnames #2 >
+ { "english" language.state.test
+ "USenglish" language.state.test
+ or
+ {"," * }
+ 'skip$
+ if$
+ }
+ 'skip$
+ if$
+ t "others" =
+ { " \btxetalshort{.}" * }
+ { " \btxandlong{}\ " * t smallcaps * }
+ if$
+ }
+ if$
+ }
+ { s nameptr "{ll}{, jj}{, ff}{~vv}" format.name$ smallcaps }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { "\ (\btxeditorslong{})" * }
+ { "\ (\btxeditorlong{})" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { "english" language.state.test
+ "USenglish" language.state.test
+ or
+ { title "t" change.case$ emphasize }
+ { title emphasize }
+ if$
+ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { "\ " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { output.state after.block =
+ { "\Btxvolumelong{}" }
+ { "\btxvolumelong{}" }
+ if$
+ volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " \btxofserieslong{}\ " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "\btxnumberlong{}" }
+ { "\Btxnumberlong{}" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " \btxinserieslong{}\ " * series emphasize * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { "english" language.state.test
+ "USenglish" language.state.test
+ or
+ { output.state mid.sentence =
+ { edition "l" change.case$ " \btxeditionlong{}" * }
+ { edition "t" change.case$ " \btxeditionlong{}" * }
+ if$
+ }
+ { edition " \btxeditionlong{}" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "\btxpageslong{}" pages n.dashify tie.or.space.connect }
+ { "\btxpagelong{}" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "\btxchapterlong{}" }
+ { "english" language.state.test
+ "USenglish" language.state.test
+ or
+ { type "l" change.case$ }
+ { type }
+ if$
+ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "\Btxinlong{}\ " booktitle emphasize * }
+ { "\Btxinlong{}\ " format.editors * ": " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ "english" language.state.test
+ "USenglish" language.state.test
+ or
+ { type "t" change.case$ }
+ { type }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "\Btxtechreplong{}" }
+ 'type
+ if$
+ number empty$
+ { "english" language.state.test
+ "USenglish" language.state.test
+ or
+ { type empty$
+ { pop$ "\btxtechreplong{}" }
+ { "t" change.case$ }
+ if$
+ }
+ 'skip$
+ if$
+ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "\Btxinlong{}\ " journal emphasize * }
+ if$
+ }
+ { "\Btxinlong{}\ " key emphasize * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{ll}{, jj}{, ff}{~vv}" format.name$ smallcaps
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " \btxetalshort{.}" * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " \btxetalshort{.}" * }
+ { " \btxandlong{}\ " * editor #2 "{ff}{~vv}{~ll}{, jj}" format.name$ smallcaps * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "\Btxinlong{}\ "
+ }
+ { "\Btxvolumelong{}" volume tie.or.space.connect
+ " \btxofserieslong{}\ " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { series emphasize * }
+ if$
+ }
+ { key emphasize * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "\Btxinlong{}\ " booktitle emphasize * }
+ if$
+ }
+ { "\Btxinlong{}\ " key emphasize * }
+ if$
+ }
+ { "\Btxinlong{}\ " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal
+ title missing$
+ { emphasize }
+ 'skip$
+ if$
+ "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ after.authors
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ after.authors
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ after.authors
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization smallcaps output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ after.authors
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.title "title" output.check
+ new.block
+ "\btxmastthesis{}" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkc
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.btitle "title" output.check
+ new.block
+ "\btxphdthesis{}" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization smallcaps output }
+ { format.editors output.nonnull }
+ if$
+ after.authors
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"\btxmonjanlong{}"}
+
+MACRO {feb} {"\btxmonfeblong{}"}
+
+MACRO {mar} {"\btxmonmarlong{}"}
+
+MACRO {apr} {"\btxmonaprlong{}"}
+
+MACRO {may} {"\btxmonmaylong{}"}
+
+MACRO {jun} {"\btxmonjunlong{}"}
+
+MACRO {jul} {"\btxmonjullong{}"}
+
+MACRO {aug} {"\btxmonauglong{}"}
+
+MACRO {sep} {"\btxmonseplong{}"}
+
+MACRO {oct} {"\btxmonoctlong{}"}
+
+MACRO {nov} {"\btxmonnovlong{}"}
+
+MACRO {dec} {"\btxmondeclong{}"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ year field.or.null purify$ #-1 #2 substring$
+ *
+ 'label :=
+ year field.or.null purify$ #-1 #4 substring$
+ *
+ sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{ et.al.char.used
+ { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+ 'skip$
+ if$
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+
diff --git a/biblio/bibtex/contrib/germbib/bst/gerapali.bst b/biblio/bibtex/contrib/germbib/bst/gerapali.bst
new file mode 100644
index 0000000000..0e4ad7c641
--- /dev/null
+++ b/biblio/bibtex/contrib/germbib/bst/gerapali.bst
@@ -0,0 +1,1227 @@
+% BibTeX `apalike' bibliography style (24-Jan-88 version)
+% Adapted from the `alpha' style, version 0.99a; for BibTeX version 0.99a.
+% Copyright (C) 1988, all rights reserved.
+% Copying of this file is allowed, provided that if you make any changes at all
+% you name it something other than `apalike.bst'.
+% This restriction helps ensure that all copies are identical.
+% Differences between this style and `alpha' are generally heralded by a `%'.
+% The file btxbst.doc has the documentation for alpha.bst.
+%
+% This style should be used with the `apalike' LaTeX style (apalike.sty).
+% \cite's come out like "(Jones, 1986)" in the text but there are no labels
+% in the bibliography, and something like "(1986)" comes out immediately
+% after the author. Author (and editor) names appear as last name, comma,
+% initials. A `year' field is required for every entry, and so is either
+% an author (or in some cases, an editor) field or a key field.
+%
+% Editorial note:
+% Many journals require a style like `apalike', but I strongly, strongly,
+% strongly recommend that you not use it if you have a choice---use something
+% like `plain' instead. Mary-Claire van Leunen (A Handbook for Scholars,
+% Knopf, 1979) argues convincingly that a style like `plain' encourages better
+% writing than one like `apalike'. Furthermore the strongest arguments for
+% using an author-date style like `apalike'---that it's "the most practical"
+% (The Chicago Manual of Style, University of Chicago Press, thirteenth
+% edition, 1982, pages 400--401)---fall flat on their face with the new
+% computer-typesetting technology. For instance page 401 anachronistically
+% states "The chief disadvantage of [a style like `plain'] is that additions
+% or deletions cannot be made after the manuscript is typed without changing
+% numbers in both text references and list." LaTeX sidesteps the disadvantage.
+%
+% History:
+% 15-sep-86 (SK,OP) Original version, by Susan King and Oren Patashnik.
+% 10-nov-86 (OP) Truncated the sort.key$ string to the correct length
+% in bib.sort.order to eliminate error message.
+% 24-jan-88 (OP) Updated for BibTeX version 0.99a, from alpha.bst 0.99a;
+% apalike now sorts by author, then year, then title;
+% THIS `apalike' VERSION DOES NOT WORK WITH BIBTEX 0.98i.
+% 15-feb-92 (MW) Updated for use with `bibgerman.sty': things like "and"
+% change with the language. Switch the language using the
+% language field:
+% language = "german" | "USenglish" | "english"
+% Then a `\selectlanguage{...}' command will be pushed just
+% before the `\bibitem...' command for the entry in work.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ citelabel
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ language
+% month not used in apalike
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block before.title }
+
+STRINGS { s t language.state language.temp }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #4 'before.title :=
+ "nostate" 'language.state :=
+}
+
+FUNCTION {language.state.test}
+{
+ 'language.temp :=
+ language.temp language.state =
+ { #1 }
+ { #0 }
+ if$
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ % next if is for use with `new' FUNCTION {after.authors}
+ { output.state before.title =
+ { ": " * write$ }
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+% apalike needs this function because
+% the year has special punctuation;
+% apalike ignores the month
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { write$
+ "\ (" year * extra.label * ")" *
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ language empty$
+ 'skip$
+ { language.state language =
+ 'skip$
+ { "\selectlanguage{\" language * "}" * write$
+ newline$
+ }
+ if$
+ language 'language.state :=
+ }
+ if$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+% new one -> sets what is specified in FUNCTION {output.nonnull}
+% if `before.title 'output.state = ... if$' is true
+% FUNCTION {after.authors}
+% { output.state before.all =
+% 'skip$
+% { before.title 'output.state := }
+% if$
+% }
+
+% original -> sets points after (year) and before title
+FUNCTION {after.authors}
+{ new.block }
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "\/}" * }
+ if$
+}
+
+FUNCTION {smallcaps}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\sc " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := % last name first
+ namesleft #1 >
+ { ", " * t smallcaps * }
+ { numnames #2 >
+ { "english" language.state.test
+ "USenglish" language.state.test
+ or
+ {"," * }
+ 'skip$
+ if$
+ }
+ 'skip$
+ if$
+ t "others" =
+ { " \btxetalshort{.}" * }
+ { " \btxandshort{.}\ " * t smallcaps * }
+ if$
+ }
+ if$
+ }
+ { s nameptr "{ll}{, jj}{, ff}{~vv}" format.name$ smallcaps } % last name first
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.key} % this function is just for apalike
+{ empty$
+ { key field.or.null
+ duplicate$ empty$
+ 'skip$
+ { smallcaps }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", \btxeditorsshort{.}" * }
+ { ", \btxeditorshort{.}" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { "english" language.state.test
+ "USenglish" language.state.test
+ or
+ { title "t" change.case$ emphasize }
+ { title emphasize }
+ if$
+ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { "\ " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { output.state after.block =
+ { "\Btxvolumeshort{.}" }
+ { "\btxvolumeshort{.}" }
+ if$
+ volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " \btxofseriesshort{.}\ " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "\btxnumbershort{.}" }
+ { "\Btxnumbershort{.}" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " \btxinseriesshort{.}\ " * series emphasize * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { "english" language.state.test
+ "USenglish" language.state.test
+ or
+ { output.state mid.sentence =
+ { edition "l" change.case$ " \btxeditionshort{.}" * }
+ { edition "t" change.case$ " \btxeditionshort{.}" * }
+ if$
+ }
+ { edition " \btxeditionshort{.}" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "\btxpagesshort{.}" pages n.dashify tie.or.space.connect }
+ { "\btxpageshort{.}" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "\btxchaptershort{.}" }
+ { "english" language.state.test
+ "USenglish" language.state.test
+ or
+ { type "l" change.case$ }
+ { type }
+ if$
+ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "\Btxinshort{.}\ " booktitle emphasize * }
+ { "\Btxinshort{.}\ " format.editors * ": " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ "english" language.state.test
+ "USenglish" language.state.test
+ or
+ { type "t" change.case$ }
+ { type }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "\Btxtechreplong{.}" }
+ 'type
+ if$
+ number empty$
+ { "english" language.state.test
+ "USenglish" language.state.test
+ or
+ { type empty$
+ { pop$ "\btxtechreplong{.}" }
+ { "t" change.case$ }
+ if$
+ }
+ 'skip$
+ if$
+ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ "In" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "\Btxinshort{.}\ "
+ }
+ { "\Btxvolumeshort{.}" volume tie.or.space.connect
+ " \btxofseriesshort{.}\ " *
+ }
+ if$
+ "\cite{" * crossref * "}" * % this is for apalike
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ "\Btxinshort{.}\ " % this is for apalike
+ "\cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ after.authors
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal
+ title missing$
+ { emphasize }
+ 'skip$
+ if$
+ "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ after.authors
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ after.authors
+ format.title "title" output.check
+ new.block
+ howpublished output
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ after.authors
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ after.authors
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ after.authors
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address output % for apalike
+ new.sentence % there's no year
+ organization output % here so things
+ publisher output % are simpler
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ after.authors
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ after.authors
+ format.title "title" output.check
+ new.block
+ "\btxmastthesis{.}" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ after.authors
+ format.title output
+ new.block
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ after.authors
+ format.btitle "title" output.check
+ new.block
+ "\btxphdthesis{.}" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output % special for
+ output.year.check % apalike
+ after.authors
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output % for apalike
+ new.sentence % we always output
+ organization output % a nonempty organization
+ publisher output % here
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ after.authors
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ after.authors
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"\btxmonjanshort{.}"}
+
+MACRO {feb} {"\btxmonfebshort{.}"}
+
+MACRO {mar} {"\btxmonmarshort{.}"}
+
+MACRO {apr} {"\btxmonaprshort{.}"}
+
+MACRO {may} {"\btxmonmayshort{.}"}
+
+MACRO {jun} {"\btxmonjunshort{.}"}
+
+MACRO {jul} {"\btxmonjulshort{.}"}
+
+MACRO {aug} {"\btxmonaugshort{.}"}
+
+MACRO {sep} {"\btxmonsepshort{.}"}
+
+MACRO {oct} {"\btxmonoctshort{.}"}
+
+MACRO {nov} {"\btxmonnovshort{.}"}
+
+MACRO {dec} {"\btxmondecshort{.}"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+% There are three apalike cases: one person (Jones),
+% two (Jones and de~Bruijn), and more (Jones et~al.).
+% This function is much like format.crossref.editors.
+%
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$ smallcaps
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " \btxetalshort{.}" * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " \btxetalshort{.}" * }
+ { " \btxandshort{.}\ " * s #2 "{vv~}{ll}" format.name$ smallcaps * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ citelabel empty$
+ { author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { author format.lab.names }
+ if$
+ }
+ { citelabel smallcaps }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ citelabel empty$
+ { author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+ }
+ { citelabel smallcaps }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ citelabel empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key, no organization
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { citelabel smallcaps }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label % apalike ignores organization
+ 'author.key.label % for labeling and sorting
+ if$
+ }
+ if$
+ year empty$
+ {""}
+ {", "} % original
+% {" "} % ge„ndert fr Andreas Diplomarbeit 30/04/92
+ if$ % these three lines are
+ * % for apalike, which
+% year field.or.null purify$ #-1 #4 substring$ % uses all four digits % original
+ year field.or.null % ge„ndert fr Andreas Diplomarbeit 19/09/92 um Jahresangaben wie 1988a, 1988b zu erm”glichen
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$ % apalike uses initials
+ s nameptr "{ll{ }}{ ff{ }}{vv{ } }{ jj{ }}" format.name$ 't := % <= here
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+% apalike uses two sorting passes; the first one sets the
+% labels so that the `a's, `b's, etc. can be computed;
+% the second pass puts the references in "correct" order.
+% The presort function is for the first pass. It computes
+% label, sort.label, and title, and then concatenates.
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$ % for
+ 'sort.label := % apalike
+ sort.label % style
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT % by label, sort.label, title---for final label calculation
+
+STRINGS { last.label next.extra } % apalike labels are only for the text;
+
+INTEGERS { last.extra.num } % there are none in the bibliography
+
+FUNCTION {initialize.extra.label.stuff} % and hence there is no `longest.label'
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+% Now that the label is right we sort for real,
+% on sort.label then year then title. This is
+% for the second sorting pass.
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT % by sort.label, year, title---giving final bibliography order
+
+FUNCTION {begin.bib}
+{ preamble$ empty$ % no \etalchar in apalike
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$ % no labels in apalike
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+
diff --git a/biblio/bibtex/contrib/germbib/bst/gerplain.bst b/biblio/bibtex/contrib/germbib/bst/gerplain.bst
new file mode 100644
index 0000000000..5e2de73cd4
--- /dev/null
+++ b/biblio/bibtex/contrib/germbib/bst/gerplain.bst
@@ -0,0 +1,1209 @@
+% BibTeX standard bibliography style `plain'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+% 15-feb-92 (MW) Updated for use with `bibgerman.sty': things like "and"
+% change with the language. Switch the language using the
+% language field:
+% language = "german" | "USenglish" | "english"
+% Then a `\selectlanguage{...}' command will be pushed just
+% before the `\bibitem...' command for the entry in work.
+% 2003/03/31 Harald Harders Fixed bug in detection of "and others"
+% 2003/04/29 Harald Harders Fixed bug format of names. For multiple
+% names, some of them were not typeset in
+% small caps.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ language
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block before.title }
+
+STRINGS { s t language.state language.temp }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #4 'before.title :=
+ "nostate" 'language.state :=
+}
+
+FUNCTION {language.state.test}
+{
+ 'language.temp :=
+ language.temp language.state =
+ { #1 }
+ { #0 }
+ if$
+}
+
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ % next if is for use with `new' FUNCTION {after.authors}
+ { output.state before.title =
+ { ": " * write$ }
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ language empty$
+ 'skip$
+ { language.state language =
+ 'skip$
+ { "\selectlanguage{\" language * "}" * write$
+ newline$
+ }
+ if$
+ language 'language.state :=
+ }
+ if$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+% new one -> sets what is specified in FUNCTION {output.nonnull}
+% if `before.title 'output.state = ... if$' is true
+FUNCTION {after.authors}
+{ output.state before.all =
+ 'skip$
+ { before.title 'output.state := }
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkc}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'after.authors
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {smallcaps}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\sc " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ namesleft #1 >
+ { ", " * t smallcaps * }
+ { numnames #2 >
+ { "english" language.state.test
+ "USenglish" language.state.test
+ or
+ {"," * }
+ 'skip$
+ if$
+ }
+ 'skip$
+ if$
+ t "others" =
+ { " \btxetalshort{.}" * }
+ { " \btxandlong{}\ " * t smallcaps * }
+ if$
+ }
+ if$
+ }
+ { s nameptr "{ll}{, jj}{, ff}{~vv}" format.name$ smallcaps }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { "\ (\btxeditorslong{})" * }
+ { "\ (\btxeditorlong{})" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { "english" language.state.test
+ "USenglish" language.state.test
+ or
+ { title "t" change.case$ emphasize }
+ { title emphasize }
+ if$
+ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { "\ " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { output.state after.block =
+ { "\Btxvolumelong{}" }
+ { "\btxvolumelong{}" }
+ if$
+ volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " \btxofserieslong{}\ " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "\btxnumberlong{}" }
+ { "\Btxnumberlong{}" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " \btxinserieslong{}\ " * series emphasize * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { "english" language.state.test
+ "USenglish" language.state.test
+ or
+ { output.state mid.sentence =
+ { edition "l" change.case$ " \btxeditionlong{}" * }
+ { edition "t" change.case$ " \btxeditionlong{}" * }
+ if$
+ }
+ { edition " \btxeditionlong{}" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "\btxpageslong{}" pages n.dashify tie.or.space.connect }
+ { "\btxpagelong{}" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "\btxchapterlong{}" }
+ { "english" language.state.test
+ "USenglish" language.state.test
+ or
+ { type "l" change.case$ }
+ { type }
+ if$
+ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "\Btxinlong{}\ " booktitle emphasize * }
+ { "\Btxinlong{}\ " format.editors * ": " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ "english" language.state.test
+ "USenglish" language.state.test
+ or
+ { type "t" change.case$ }
+ { type }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "\Btxtechreplong{}" }
+ 'type
+ if$
+ number empty$
+ { "english" language.state.test
+ "USenglish" language.state.test
+ or
+ { type empty$
+ { pop$ "\btxtechreplong{}" }
+ { "t" change.case$ }
+ if$
+ }
+ 'skip$
+ if$
+ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "\Btxinlong{}\ " journal emphasize * }
+ if$
+ }
+ { "\Btxinlong{}\ " key emphasize * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{ll}{, jj}{, ff}{~vv}" format.name$ smallcaps
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " \btxetalshort{.}" * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " \btxetalshort{.}" * }
+ { " \btxandlong{}\ " * editor #2 "{ff}{~vv}{~ll}{, jj}" format.name$ smallcaps * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "\Btxinlong{}\ "
+ }
+ { "\Btxvolumelong{}" volume tie.or.space.connect
+ " \btxofserieslong{}\ " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { series emphasize * }
+ if$
+ }
+ { key emphasize * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "\Btxinlong{}\ " booktitle emphasize * }
+ if$
+ }
+ { "\Btxinlong{}\ " key emphasize * }
+ if$
+ }
+ { "\Btxinlong{}\ " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal
+ title missing$
+ { emphasize }
+ 'skip$
+ if$
+ "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ after.authors
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ after.authors
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ after.authors
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization smallcaps output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ after.authors
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.title "title" output.check
+ new.block
+ "\btxmastthesis{}" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkc
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.btitle "title" output.check
+ new.block
+ "\btxphdthesis{}" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization smallcaps output }
+ { format.editors output.nonnull }
+ if$
+ after.authors
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"\btxmonjanlong{}"}
+
+MACRO {feb} {"\btxmonfeblong{}"}
+
+MACRO {mar} {"\btxmonmarlong{}"}
+
+MACRO {apr} {"\btxmonaprlong{}"}
+
+MACRO {may} {"\btxmonmaylong{}"}
+
+MACRO {jun} {"\btxmonjunlong{}"}
+
+MACRO {jul} {"\btxmonjullong{}"}
+
+MACRO {aug} {"\btxmonauglong{}"}
+
+MACRO {sep} {"\btxmonseplong{}"}
+
+MACRO {oct} {"\btxmonoctlong{}"}
+
+MACRO {nov} {"\btxmonnovlong{}"}
+
+MACRO {dec} {"\btxmondeclong{}"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{ll{ }}{ ff{ }}{vv{ } }{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/germbib/bst/gerunsrt.bst b/biblio/bibtex/contrib/germbib/bst/gerunsrt.bst
new file mode 100644
index 0000000000..293ef709c5
--- /dev/null
+++ b/biblio/bibtex/contrib/germbib/bst/gerunsrt.bst
@@ -0,0 +1,1063 @@
+% BibTeX standard bibliography style `plain'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+% 15-feb-92 (MW) Updated for use with `bibgerman.sty': things like "and"
+% change with the language. Switch the language using the
+% language field:
+% language = "german" | "USenglish" | "english"
+% Then a `\selectlanguage{...}' command will be pushed just
+% before the `\bibitem...' command for the entry in work.
+% 2003/03/31 Harald Harders Fixed bug in detection of "and others"
+% 2003/04/29 Harald Harders Fixed bug format of names. For multiple
+% names, some of them were not typeset in
+% small caps.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ language
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block before.title }
+
+STRINGS { s t language.state language.temp }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #4 'before.title :=
+ "nostate" 'language.state :=
+}
+
+FUNCTION {language.state.test}
+{
+ 'language.temp :=
+ language.temp language.state =
+ { #1 }
+ { #0 }
+ if$
+}
+
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ % next if is for use with `new' FUNCTION {after.authors}
+ { output.state before.title =
+ { ": " * write$ }
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ language empty$
+ 'skip$
+ { language.state language =
+ 'skip$
+ { "\selectlanguage{\" language * "}" * write$
+ newline$
+ }
+ if$
+ language 'language.state :=
+ }
+ if$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+% new one -> sets what is specified in FUNCTION {output.nonnull}
+% if `before.title 'output.state = ... if$' is true
+FUNCTION {after.authors}
+{ output.state before.all =
+ 'skip$
+ { before.title 'output.state := }
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkc}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'after.authors
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {smallcaps}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\sc " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ namesleft #1 >
+ { ", " * t smallcaps * }
+ { numnames #2 >
+ { "english" language.state.test
+ "USenglish" language.state.test
+ or
+ {"," * }
+ 'skip$
+ if$
+ }
+ 'skip$
+ if$
+ t "others" =
+ { " \btxetalshort{.}" * }
+ { " \btxandlong{}\ " * t smallcaps * }
+ if$
+ }
+ if$
+ }
+ { s nameptr "{ll}{, jj}{, ff}{~vv}" format.name$ smallcaps }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { "\ (\btxeditorslong{})" * }
+ { "\ (\btxeditorlong{})" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { "english" language.state.test
+ "USenglish" language.state.test
+ or
+ { title "t" change.case$ emphasize }
+ { title emphasize }
+ if$
+ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { "\ " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { output.state after.block =
+ { "\Btxvolumelong{}" }
+ { "\btxvolumelong{}" }
+ if$
+ volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " \btxofserieslong{}\ " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "\btxnumberlong{}" }
+ { "\Btxnumberlong{}" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " \btxinserieslong{}\ " * series emphasize * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { "english" language.state.test
+ "USenglish" language.state.test
+ or
+ { output.state mid.sentence =
+ { edition "l" change.case$ " \btxeditionlong{}" * }
+ { edition "t" change.case$ " \btxeditionlong{}" * }
+ if$
+ }
+ { edition " \btxeditionlong{}" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "\btxpageslong{}" pages n.dashify tie.or.space.connect }
+ { "\btxpagelong{}" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "\btxchapterlong{}" }
+ { "english" language.state.test
+ "USenglish" language.state.test
+ or
+ { type "l" change.case$ }
+ { type }
+ if$
+ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "\Btxinlong{}\ " booktitle emphasize * }
+ { "\Btxinlong{}\ " format.editors * ": " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ "english" language.state.test
+ "USenglish" language.state.test
+ or
+ { type "t" change.case$ }
+ { type }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "\Btxtechreplong{}" }
+ 'type
+ if$
+ number empty$
+ { "english" language.state.test
+ "USenglish" language.state.test
+ or
+ { type empty$
+ { pop$ "\btxtechreplong{}" }
+ { "t" change.case$ }
+ if$
+ }
+ 'skip$
+ if$
+ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "\Btxinlong{}\ " journal emphasize * }
+ if$
+ }
+ { "\Btxinlong{}\ " key emphasize * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{ll}{, jj}{, ff}{~vv}" format.name$ smallcaps
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " \btxetalshort{.}" * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " \btxetalshort{.}" * }
+ { " \btxandlong{}\ " * editor #2 "{ff}{~vv}{~ll}{, jj}" format.name$ smallcaps * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "\Btxinlong{}\ "
+ }
+ { "\Btxvolumelong{}" volume tie.or.space.connect
+ " \btxofserieslong{}\ " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { series emphasize * }
+ if$
+ }
+ { key emphasize * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "\Btxinlong{}\ " booktitle emphasize * }
+ if$
+ }
+ { "\Btxinlong{}\ " key emphasize * }
+ if$
+ }
+ { "\Btxinlong{}\ " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal
+ title missing$
+ { emphasize }
+ 'skip$
+ if$
+ "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ after.authors
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ after.authors
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ after.authors
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization smallcaps output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ after.authors
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.title "title" output.check
+ new.block
+ "\btxmastthesis{}" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkc
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.btitle "title" output.check
+ new.block
+ "\btxphdthesis{}" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization smallcaps output }
+ { format.editors output.nonnull }
+ if$
+ after.authors
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ after.authors
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"\btxmonjanlong{}"}
+
+MACRO {feb} {"\btxmonfeblong{}"}
+
+MACRO {mar} {"\btxmonmarlong{}"}
+
+MACRO {apr} {"\btxmonaprlong{}"}
+
+MACRO {may} {"\btxmonmaylong{}"}
+
+MACRO {jun} {"\btxmonjunlong{}"}
+
+MACRO {jul} {"\btxmonjullong{}"}
+
+MACRO {aug} {"\btxmonauglong{}"}
+
+MACRO {sep} {"\btxmonseplong{}"}
+
+MACRO {oct} {"\btxmonoctlong{}"}
+
+MACRO {nov} {"\btxmonnovlong{}"}
+
+MACRO {dec} {"\btxmondeclong{}"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/germbib/document/apalike.doc b/biblio/bibtex/contrib/germbib/document/apalike.doc
new file mode 100644
index 0000000000..8861e11e21
--- /dev/null
+++ b/biblio/bibtex/contrib/germbib/document/apalike.doc
@@ -0,0 +1,60 @@
+% apalike.sty style, used in conjunction with apalike.bst,
+% will produce an apa-like bibliography style:
+%
+% 1) Bibliography entries formatted alphabetically, last name
+% first, each entry having a hanging indentation and no label.
+% 2) References in the following formats:
+% (Author, 1986)
+% (Author and Author, 1986)
+% (Author et al., 1986).
+% 3) Multiple references in the form (Author1, 1986; Author2, 1987)
+%
+% To be used as an optional argument to the \documentstyle command; for example
+% \documentstyle[11pt,apalike]{book}
+%
+% 16-Sep-86, original version by Susan King and Oren Patashnik.
+% 13-Oct-87 changes:
+% Fixed bug in last line by adding the {} that disappeard when
+% the \hbox{} was removed from the pre-APALIKE definition;
+% added club and widow penalties;
+% patched the \newblock LaTeX bug from `-.07em' to simply `.07em';
+% and made this work for document styles that don't define `chapter'.
+%
+%
+% Use parens instead of brackets for \cite, and no label in the bibliography
+%
+\def\@cite#1#2{(#1\if@tempswa , #2\fi)}
+\def\@biblabel#1{}
+
+% Set length of hanging indentation for bibliography entries
+%
+\newlength{\bibhang}
+\setlength{\bibhang}{2em}
+
+% \thebibliography environment depends on whether or not `chapter's can exist
+%
+\@ifundefined{chapter}{\def\thebibliography#1{\section*{References\@mkboth
+ {REFERENCES}{REFERENCES}}\list
+ {\relax}{\setlength{\labelsep}{0em}
+ \setlength{\itemindent}{-\bibhang}
+ \setlength{\leftmargin}{\bibhang}}
+ \def\newblock{\hskip .11em plus .33em minus .07em}
+ \sloppy\clubpenalty4000\widowpenalty4000
+ \sfcode`\.=1000\relax}}%
+{\def\thebibliography#1{\chapter*{Bibliography\@mkboth
+ {BIBLIOGRAPHY}{BIBLIOGRAPHY}}\list
+ {\relax}{\setlength{\labelsep}{0em}
+ \setlength{\itemindent}{-\bibhang}
+ \setlength{\leftmargin}{\bibhang}}
+ \def\newblock{\hskip .11em plus .33em minus .07em}
+ \sloppy\clubpenalty4000\widowpenalty4000
+ \sfcode`\.=1000\relax}}
+
+% `; ' goes between cites, and there's no \hbox around individual cites
+%
+\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
+ \def\@citea{}\@cite{\@for\@citeb:=#2\do
+ {\@citea\def\@citea{; }\@ifundefined
+ {b@\@citeb}{{\bf ?}\@warning
+ {Citation `\@citeb' on page \thepage \space undefined}}%
+{\csname b@\@citeb\endcsname}}}{#1}}
diff --git a/biblio/bibtex/contrib/germbib/document/btxbst.doc b/biblio/bibtex/contrib/germbib/document/btxbst.doc
new file mode 120000
index 0000000000..557d46b8f4
--- /dev/null
+++ b/biblio/bibtex/contrib/germbib/document/btxbst.doc
@@ -0,0 +1 @@
+../../../base/btxbst.doc \ No newline at end of file
diff --git a/biblio/bibtex/contrib/germbib/document/btxdoc.bib b/biblio/bibtex/contrib/germbib/document/btxdoc.bib
new file mode 120000
index 0000000000..1df0298851
--- /dev/null
+++ b/biblio/bibtex/contrib/germbib/document/btxdoc.bib
@@ -0,0 +1 @@
+../../../base/btxdoc.bib \ No newline at end of file
diff --git a/biblio/bibtex/contrib/germbib/document/btxdoc.tex b/biblio/bibtex/contrib/germbib/document/btxdoc.tex
new file mode 100644
index 0000000000..987b1659c2
--- /dev/null
+++ b/biblio/bibtex/contrib/germbib/document/btxdoc.tex
@@ -0,0 +1,1119 @@
+% Copyright (C) 1988, all rights reserved.
+
+\def\symbol#1{\char #1\relax}
+\def\bsl{{\tt\symbol{'134}}}
+\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
+ T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
+
+\title{B\kern-.05em{\large I}\kern-.025em{\large B}\kern-.08em\TeX ing}
+\author{Oren Patashnik}
+\date{February 8, 1988}
+
+\documentstyle[mynormal]{article}
+\begin{document}
+
+\maketitle
+
+\section{Overview}
+
+[This document will be expanded when \BibTeX\ version 1.00 comes out.
+Please report typos, omissions, inaccuracies,
+and especially unclear explanations
+to me ({\tt patashnik@SCORE.STANFORD.EDU}).
+Suggestions for improvements are wanted and welcome.]
+
+This documentation, for \BibTeX\ version 0.99b,
+is meant for general \BibTeX\ users;
+bibliography-style designers should read this document
+and then read ``Designing \BibTeX\ Styles''~\cite{btxhak},
+which is meant for just them.
+
+This document has three parts:
+Section~\ref{differences}
+describes the differences between versions 0.98i and 0.99b
+of \BibTeX\ and between the corresponding versions of the standard styles;
+Section~\ref{latex-appendix}
+updates Appendix~B.2 of the \LaTeX\ book~\cite{latex};
+and Section~\ref{odds-and-ends}
+gives some general and specific tips
+that aren't documented elsewhere.
+It's assumed throughout that you're familiar with
+the relevant sections of the \LaTeX\ book.
+
+This documentation also serves as sample input to help
+\BibTeX\ implementors get it running.
+For most documents, this one included, you produce the reference list by:
+running \LaTeX\ on the document (to produce the {\tt aux} file(s)),
+then running \BibTeX\ (to produce the {\tt bbl} file),
+then \LaTeX\ twice more (first to find the information in the {\tt bbl} file
+and then to get the forward references correct).
+In very rare circumstances you may need an extra \BibTeX/\LaTeX\ run.
+
+\BibTeX\ version 0.99b should be used with \LaTeX\ version 2.09,
+for which the closed bibliography format is the default;
+to get the open format, use the optional document style {\tt openbib}
+(in an open format there's a line break between major blocks of a
+reference-list entry; in a closed format the blocks run together).]
+
+Note: \BibTeX\ 0.99b is not compatible with the old style files;
+nor is \BibTeX\ 0.98i compatible with the new ones
+(the new \BibTeX, however, is compatible with old database files).
+
+Note for implementors: \BibTeX\ provides logical-area names
+\hbox{\tt TEXINPUTS:} for bibliography-style files and
+\hbox{\tt TEXBIB:} for database files it can't otherwise find.
+
+
+\section{Changes}
+\label{differences}
+
+This section describes the differences between
+\BibTeX\ versions 0.98i and 0.99b, and also between
+the corresponding standard styles.
+There were a lot of differences;
+there will be a lot fewer between 0.99 and 1.00.
+
+
+\subsection{New \BibTeX\ features}
+\label{features}
+
+The following list explains \BibTeX's new features and how to use them.
+\begin{enumerate}
+
+\item
+With the single command `\hbox{\verb|\nocite{*}|}'
+you can now include in the reference list
+every entry in the database files, without having to explicitly
+\verb|\cite| or \hbox{\verb|\nocite|} each entry.
+Giving this command, in essence,
+\hbox{\verb|\nocite|}s
+all the enties in the database, in database order,
+at the very spot in your document
+where you give the command.
+
+\item
+\label{concat}
+You can now have as a field value (or an {\tt @STRING} definition)
+the concatenation of several strings.
+For example if you've defined
+\begin{verbatim}
+ @STRING( WGA = " World Gnus Almanac" )
+\end{verbatim}
+then it's easy to produce nearly-identical
+{\tt title} fields for different entries:
+\begin{verbatim}
+ @BOOK(almanac-66,
+ title = 1966 # WGA,
+ . . .
+ @BOOK(almanac-67,
+ title = 1967 # WGA,
+\end{verbatim}
+and so on. Or, you could have a field like
+\begin{verbatim}
+ month = "1~" # jan,
+\end{verbatim}
+which would come out something like
+`\hbox{\verb|1~January|}' or `\hbox{\verb|1~Jan.|}' in the {\tt bbl} file,
+depending on how your bibliography style defines
+the {\tt jan} abbreviation.
+You may concatenate as many strings as you like
+(except that there's a limit to the overall length
+of the resulting field);
+just be sure to put the concatenation character `{\tt\#}'$\!$,
+surrounded by optional spaces or newlines,
+between each successive pair of strings.
+
+\item
+\BibTeX\ has a new cross-referencing feature,
+explained by an example.
+Suppose you say {\tt\bsl cite\{no-gnats\}} in your document,
+and suppose you have these two entries in your database file:
+\begin{verbatim}
+ @INPROCEEDINGS(no-gnats,
+ crossref = "gg-proceedings",
+ author = "Rocky Gneisser",
+ title = "No Gnats Are Taken for Granite",
+ pages = "133-139")
+ . . .
+ @PROCEEDINGS(gg-proceedings,
+ editor = "Gerald Ford and Jimmy Carter",
+ title = "The Gnats and Gnus 1988 Proceedings",
+ booktitle = "The Gnats and Gnus 1988 Proceedings")
+\end{verbatim}
+Two things happen.
+First, the special \hbox{\tt crossref} field tells \BibTeX\
+that the \hbox{\tt no-gnats} entry should inherit
+any fields it's missing from
+the entry it cross references, \hbox{\tt gg-proceedings}.
+In this case it in inherits the two fields
+\hbox{\tt editor} and \hbox{\tt booktitle}.
+Note that, in the standard styles at least,
+the \hbox{\tt booktitle} field is irrelevant
+for the \hbox{\tt PROCEEDINGS} entry type.
+The \hbox{\tt booktitle} field appears here
+in the \hbox{\tt gg-proceedings} entry
+only so that the entries that cross reference it
+may inherit the field.
+No matter how many papers from this meeting exist in the database,
+this \hbox{\tt booktitle} field need only appear once.
+
+The second thing that happens:
+\BibTeX\ automatically puts the entry \hbox{\tt gg-proceedings}
+into the reference list if it's cross
+referenced by two or more entries that you
+\verb|\cite| or \hbox{\verb|\nocite|},
+even if you don't \verb|\cite| or \hbox{\verb|\nocite|}
+the \hbox{\tt gg-proceedings} entry itself.
+So \hbox{\tt gg-proceedings} will automatically appear
+on the reference list if one other entry
+besides \hbox{\tt no-gnats} cross references it.
+
+To guarantee that this scheme works, however,
+a cross-referenced entry must occur later in the database files
+than every entry that cross-references it.
+Thus, putting all cross-referenced entries at the end makes sense.
+(Moreover, you may not reliably nest cross references;
+that is, a cross-referenced entry may
+not itself reliably cross reference an entry.
+This is almost certainly not something you'd
+want to do, though.)
+
+One final note:
+This cross-referencing feature is completely unrelated
+to the old \BibTeX's cross referencing,
+which is still allowed.
+Thus, having a field like
+\begin{verbatim}
+ note = "Jones \cite{jones-proof} improves the result"
+\end{verbatim}
+is not affected by the new feature.
+
+\item
+\BibTeX\ now handles accented characters.
+For example if you have an entry with the two fields
+\begin{verbatim}
+ author = "Kurt G{\"o}del",
+ year = 1931,
+\end{verbatim}
+and if you're using the \hbox{\tt alpha} bibliography style,
+then \BibTeX\ will construct the label
+\hbox{[G{\"o}d31]} for this entry, which is what you'd want.
+To get this feature to work you must place the entire accented
+character in braces;
+in this case either \hbox{\verb|{\"o}|}
+or \hbox{\verb|{\"{o}}|} will do.
+Furthermore these braces must not themselves be
+enclosed in braces (other than the ones that might delimit
+the entire field or the entire entry);
+and there must be a backslash
+as the very first character inside the braces.
+Thus neither \hbox{\verb|{G{\"{o}}del}|}
+nor \hbox{\verb|{G\"{o}del}|} will work for this example.
+
+This feature handles all the accented characters and
+all but the nonbackslashed foreign symbols found in Tables
+3.1 and~3.2 of the \LaTeX\ book.
+This feature behaves similarly for ``accents'' you might define;
+we'll see an example shortly.
+For the purposes of counting letters in labels,
+\BibTeX\ considers everything contained inside the braces
+as a single letter.
+
+\item
+\BibTeX\ also handles hyphenated names.
+For example if you have an entry with
+\begin{verbatim}
+ author = "Jean-Paul Sartre",
+\end{verbatim}
+and if you're using the \hbox{\tt abbrv} style,
+then the result is `J.-P. Sartre'$\!$.
+
+\item
+\label{preamble}
+There's now an \hbox{\verb|@PREAMBLE|} command
+for the database files.
+This command's syntax is just like \hbox{\verb|@STRING|}'s,
+except that there is no name or equals-sign, just the string.
+Here's an example:
+\begin{verbatim}
+ @PREAMBLE{ "\newcommand{\noopsort}[1]{} "
+ # "\newcommand{\singleletter}[1]{#1} " }
+\end{verbatim}
+(note the use of concatenation here, too).
+The standard styles output whatever information you give this command
+(\LaTeX\ macros most likely) directly to the {\tt bbl} file.
+We'll look at one possible use of this command,
+based on the \hbox{\verb|\noopsort|} command just defined.
+
+The issue here is sorting (alphabetizing).
+\BibTeX\ does a pretty good job,
+but occasionally weird circumstances conspire to confuse \BibTeX:
+Suppose that you have entries in your database for
+the two books in a two-volume set by the same author,
+and that you'd like volume~1 to appear
+just before volume~2 in your reference list.
+Further suppose that there's now a second edition of volume~1,
+which came out in 1973, say,
+but that there's still just one edition of volume~2,
+which came out in 1971.
+Since the {\tt plain} standard style
+sorts by author and then year,
+it will place volume~2 first
+(because its edition came out two years earlier)
+unless you help \BibTeX.
+You can do this by using the {\tt year} fields below
+for the two volumes:
+\begin{verbatim}
+ year = "{\noopsort{a}}1973"
+ . . .
+ year = "{\noopsort{b}}1971"
+\end{verbatim}
+According to the definition of \hbox{\verb|\noopsort|},
+\LaTeX\ will print nothing but the true year for these fields.
+But \BibTeX\ will be perfectly happy pretending that
+\hbox{\verb|\noopsort|} specifies some fancy accent
+that's supposed to adorn the `a' and the~`b';
+thus when \BibTeX\ sorts it will pretend that
+`a1973' and `b1971' are the real years,
+and since `a' comes before~`b'$\!$, it will place volume~1 before volume~2,
+just what you wanted.
+By the way, if this author has any other works included
+in your database, you'd probably want to use instead something like
+\hbox{\verb|{\noopsort{1968a}}1973|} and
+\hbox{\verb|{\noopsort{1968b}}1971|},
+so that these two books would come out in a reasonable spot
+relative to the author's other works
+(this assumes that 1968 results in a reasonable spot,
+say because that's when the first edition of volume~1 appeared).
+
+There is a limit to the number of \hbox{\verb|@PREAMBLE|} commands
+you may use, but you'll never exceed this limit if
+you restrict yourself to one per database file;
+this is not a serious restriction,
+given the concatenation feature (item~\ref{concat}).
+
+\item
+\BibTeX's sorting algorithm is now stable.
+This means that if two entries have identical sort keys,
+those two entries will appear in citation order.
+(The bibliography styles construct these sort keys---%
+usually the author information followed by the year and the title.)
+
+\item
+\BibTeX\ no longer does case conversion for file names;
+this will make \BibTeX\ easier to install on Unix systems, for example.
+
+\item
+It's now easier to add code for processing a
+command-line {\tt aux}-file name.
+
+\end{enumerate}
+
+
+\subsection{Changes to the standard styles}
+
+This section describes changes to the standard styles
+({\tt plain}, {\tt unsrt}, {\tt alpha}, {\tt abbrv})
+that affect ordinary users.
+Changes that affect style designers appear in
+the document ``Designing \BibTeX\ Styles''~\cite{btxhak}.
+\begin{enumerate}
+
+\item
+In general, sorting is now by ``author''$\!$, then year, then title---%
+the old versions didn't use the year field.
+(The {\tt alpha} style, however, sorts first by label,
+then ``author''$\!$, year, and title.)
+The quotes around author mean that some entry types
+might use something besides the author, like the editor or organization.
+
+\item
+Many unnecessary ties (\verb|~|) have been removed.
+\LaTeX\ thus will produce slightly fewer
+`\hbox{\tt Underfull} \verb|\hbox|' messages
+when it's formatting the reference list.
+
+\item
+Emphasizing (\hbox{\verb|{\em ...}|})
+has replaced italicizing (\hbox{\verb|{\it ...}|}).
+This will almost never result in a difference
+between the old output and the new.
+
+\item
+The {\tt alpha} style now uses a superscripted~`$^{+}$' instead of a~`*'
+to represent names omitted in constructing the label.
+If you really liked it the way it was, however,
+or if you want to omit the character entirely,
+you don't have to modify the style file---%
+you can override the~`$^{+}$' by
+redefining the \hbox{\verb|\etalchar|} command
+that the {\tt alpha} style writes onto the {\tt bbl} file
+(just preceding the \hbox{\verb|\thebibliography|} environment);
+use \LaTeX's \hbox{\verb|\renewcommand|} inside
+a database \hbox{\tt @PREAMBLE} command,
+described in the previous subsection's item~\ref{preamble}.
+
+\item
+The {\tt abbrv} style now uses `Mar.' and `Sept.'\
+for those months rather than `March' and `Sep.'
+
+\item
+The standard styles use \BibTeX's new cross-referencing feature
+by giving a \verb|\cite| of the cross-referenced entry and by
+omitting from the cross-referencing entry
+(most of the) information that appears
+in the cross-referenced entry.
+These styles do this when
+a titled thing (the cross-referencing entry)
+is part of a larger titled thing (the cross-referenced entry).
+There are five such situations:
+when (1)~an \hbox{\tt INPROCEEDINGS}
+(or \hbox{\tt CONFERENCE}, which is the same)
+cross references a \hbox{\tt PROCEEDINGS};
+when (2)~a {\tt BOOK}, (3)~an \hbox{\tt INBOOK},
+or (4)~an \hbox{\tt INCOLLECTION}
+cross references a {\tt BOOK}
+(in these cases, the cross-referencing entry is a single
+volume in a multi-volume work);
+and when (5)~an \hbox{\tt ARTICLE}
+cross references an \hbox{\tt ARTICLE}
+(in this case, the cross-referenced entry is really a journal,
+but there's no \hbox{\tt JOURNAL} entry type;
+this will result in warning messages about
+an empty \hbox{\tt author} and \hbox{\tt title} for the journal---%
+you should just ignore these warnings).
+
+\item
+The \hbox{\tt MASTERSTHESIS} and \hbox{\tt PHDTHESIS}
+entry types now take an optional {\tt type} field.
+For example you can get the standard styles to
+call your reference a `Ph.D.\ dissertation'
+instead of the default `PhD thesis' by including a
+\begin{verbatim}
+ type = "{Ph.D.} dissertation"
+\end{verbatim}
+in your database entry.
+
+\item
+Similarly, the \hbox{\tt INBOOK} and \hbox{\tt INCOLLECTION}
+entry types now take an optional {\tt type} field,
+allowing `section~1.2' instead of the default `chapter~1.2'$\!$.
+You get this by putting
+\begin{verbatim}
+ chapter = "1.2",
+ type = "Section"
+\end{verbatim}
+in your database entry.
+
+\item
+The \hbox{\tt BOOKLET}, \hbox{\tt MASTERSTHESIS},
+and \hbox{\tt TECHREPORT} entry types now format
+their \hbox{\tt title} fields as if they were
+\hbox{\tt ARTICLE} \hbox{\tt title}s
+rather than \hbox{\tt BOOK} \hbox{\tt title}s.
+
+\item
+The \hbox{\tt PROCEEDINGS} and \hbox{\tt INPROCEEDINGS}
+entry types now use the \hbox{\tt address} field
+to tell where a conference was held,
+rather than to give the address
+of the publisher or organization.
+If you want to include the
+publisher's or organization's address,
+put it in the \hbox{\tt publisher}
+or \hbox{\tt organization} field.
+
+\item
+The \hbox{\tt BOOK}, \hbox{\tt INBOOK}, \hbox{\tt INCOLLECTION},
+and \hbox{\tt PROCEEDINGS} entry types now allow either
+\hbox{\tt volume} or \hbox{\tt number} (but not both),
+rather than just \hbox{\tt volume}.
+
+\item
+The \hbox{\tt INCOLLECTION} entry type now allows
+a \hbox{\tt series} and an \hbox{\tt edition} field.
+
+\item
+The \hbox{\tt INPROCEEDINGS} and \hbox{\tt PROCEEDINGS}
+entry types now allow either a \hbox{\tt volume} or \hbox{\tt number},
+and also a \hbox{\tt series} field.
+
+\item
+The \hbox{\tt UNPUBLISHED} entry type now outputs,
+in one block, the \hbox{\tt note} field
+followed by the date information.
+
+\item
+The \hbox{\tt MANUAL} entry type now prints out
+the \hbox{\tt organization} in the first block
+if the \hbox{\tt author} field is empty.
+
+\item
+The {\tt MISC} entry type now issues a warning
+if all the optional fields are empty
+(that is, if the entire entry is empty).
+
+\end{enumerate}
+
+
+\section{The Entries}
+\label{latex-appendix}
+
+This section is simply a corrected version of
+Appendix~B.2 of the \LaTeX\ book~\cite{latex},
+\copyright~1986, by Addison-Wesley.
+The basic scheme is the same, only a few details have changed.
+
+
+\subsection{Entry Types}
+
+When entering a reference in the database, the first thing to decide
+is what type of entry it is. No fixed classification scheme can be
+complete, but \BibTeX\ provides enough entry types to handle almost
+any reference reasonably well.
+
+References to different types of publications contain different
+information; a reference to a journal article might include the volume
+and number of the journal, which is usually not meaningful for a book.
+Therefore, database entries of different types have different fields.
+For each entry type, the fields are divided into three classes:
+\begin{description}
+
+\item[required]
+Omitting the field will produce a warning message
+and, rarely, a badly formatted bibliography entry.
+If the required information is not meaningful,
+you are using the wrong entry type.
+However, if the required information is meaningful
+but, say, already included is some other field,
+simply ignore the warning.
+
+\item[optional]
+The field's information will be used if present,
+but can be omitted without causing any formatting problems.
+You should include the optional field if it will help the reader.
+
+\item[ignored]
+The field is ignored.
+\BibTeX\ ignores any field that is not required or optional, so you can include
+any fields you want in a \hbox{\tt bib} file entry. It's a good idea
+to put all relevant information about
+a reference in its \hbox{\tt bib} file entry---even information that
+may never appear in the bibliography. For example, if you want to
+keep an abstract of a paper in a computer file, put it in an \hbox{\tt
+abstract} field in the paper's \hbox{\tt bib} file entry. The
+\hbox{\tt bib} file is likely to be as good a place as any for the
+abstract, and it is possible to design a bibliography style for
+printing selected abstracts.
+Note: Misspelling a field name will
+result in its being ignored,
+so watch out for typos
+(especially for optional fields,
+since \BibTeX\ won't warn you when those are missing).
+
+\end{description}
+
+The following are the standard entry types, along with their required
+and optional fields, that are used by the standard bibliography styles.
+The fields within each class (required or optional)
+are listed in order of occurrence in the output,
+except that a few entry types may perturb the order slightly,
+depending on what fields are missing.
+These entry types are similar to those adapted by Brian Reid
+from the classification scheme of van~Leunen~\cite{van-leunen}
+for use in the {\em Scribe\/} system.
+The meanings of the individual fields are explained in the next section.
+Some nonstandard bibliography styles may ignore some optional fields
+in creating the reference.
+Remember that, when used in the \hbox{\tt bib}
+file, the entry-type name is preceded by an \hbox{\tt @} character.
+
+\begin{description}
+\sloppy
+
+\item[article\hfill] An article from a journal or magazine.
+Required fields: \hbox{\tt author}, \hbox{\tt title}, \hbox{\tt journal},
+\hbox{\tt year}.
+Optional fields: \hbox{\tt volume}, \hbox{\tt number},
+\hbox{\tt pages}, \hbox{\tt month}, \hbox{\tt note}.
+
+\item[book\hfill] A book with an explicit publisher.
+Required fields: \hbox{\tt author} or \hbox{\tt editor},
+\hbox{\tt title}, \hbox{\tt publisher}, \hbox{\tt year}.
+Optional fields: \hbox{\tt volume} or \hbox{\tt number}, \hbox{\tt series},
+\hbox{\tt address}, \hbox{\tt edition}, \hbox{\tt month},
+\hbox{\tt note}.
+
+\item[booklet\hfill] A work that is printed and bound,
+but without a named publisher or sponsoring institution.
+Required field: \hbox{\tt title}.
+Optional fields: \hbox{\tt author}, \hbox{\tt howpublished},
+\hbox{\tt address}, \hbox{\tt month}, \hbox{\tt year}, \hbox{\tt note}.
+
+\item[conference\hfill] The same as {\tt INPROCEEDINGS},
+included for {\em Scribe\/} compatibility.
+
+\item[inbook\hfill] A part of a book,
+which may be a chapter (or section or whatever) and/or a range of pages.
+Required fields: \hbox{\tt author} or \hbox{\tt editor}, \hbox{\tt title},
+\hbox{\tt chapter} and/or \hbox{\tt pages}, \hbox{\tt publisher},
+\hbox{\tt year}.
+Optional fields: \hbox{\tt volume} or \hbox{\tt number}, \hbox{\tt series},
+\hbox{\tt type}, \hbox{\tt address},
+\hbox{\tt edition}, \hbox{\tt month}, \hbox{\tt note}.
+
+\item[incollection\hfill] A part of a book having its own title.
+Required fields: \hbox{\tt author}, \hbox{\tt title}, \hbox{\tt booktitle},
+\hbox{\tt publisher}, \hbox{\tt year}.
+Optional fields: \hbox{\tt editor}, \hbox{\tt volume} or \hbox{\tt number},
+\hbox{\tt series}, \hbox{\tt type}, \hbox{\tt chapter}, \hbox{\tt pages},
+\hbox{\tt address}, \hbox{\tt edition}, \hbox{\tt month}, \hbox{\tt note}.
+
+\item[inproceedings\hfill] An article in a conference proceedings.
+Required fields: \hbox{\tt author}, \hbox{\tt title}, \hbox{\tt booktitle},
+\hbox{\tt year}.
+Optional fields: \hbox{\tt editor}, \hbox{\tt volume} or \hbox{\tt number},
+\hbox{\tt series}, \hbox{\tt pages}, \hbox{\tt address}, \hbox{\tt month},
+\hbox{\tt organization}, \hbox{\tt publisher}, \hbox{\tt note}.
+
+\item[manual\hfill] Technical documentation. Required field: \hbox{\tt title}.
+Optional fields: \hbox{\tt author}, \hbox{\tt organization},
+\hbox{\tt address}, \hbox{\tt edition}, \hbox{\tt month}, \hbox{\tt year},
+\hbox{\tt note}.
+
+\item[mastersthesis\hfill] A Master's thesis.
+Required fields: \hbox{\tt author}, \hbox{\tt title}, \hbox{\tt school},
+\hbox{\tt year}.
+Optional fields: \hbox{\tt type}, \hbox{\tt address}, \hbox{\tt month},
+\hbox{\tt note}.
+
+\item[misc\hfill] Use this type when nothing else fits.
+Required fields: none.
+Optional fields: \hbox{\tt author}, \hbox{\tt title}, \hbox{\tt howpublished},
+\hbox{\tt month}, \hbox{\tt year}, \hbox{\tt note}.
+
+\item[phdthesis\hfill] A PhD thesis.
+Required fields: \hbox{\tt author}, \hbox{\tt title}, \hbox{\tt school},
+\hbox{\tt year}.
+Optional fields: \hbox{\tt type}, \hbox{\tt address}, \hbox{\tt month},
+\hbox{\tt note}.
+
+\item[proceedings\hfill] The proceedings of a conference.
+Required fields: \hbox{\tt title}, \hbox{\tt year}.
+Optional fields: \hbox{\tt editor}, \hbox{\tt volume} or \hbox{\tt number},
+\hbox{\tt series}, \hbox{\tt address}, \hbox{\tt month},
+\hbox{\tt organization}, \hbox{\tt publisher}, \hbox{\tt note}.
+
+
+\item[techreport\hfill] A report published by a school or other institution,
+usually numbered within a series.
+Required fields: \hbox{\tt author},
+\hbox{\tt title}, \hbox{\tt institution}, \hbox{\tt year}.
+Optional fields: \hbox{\tt type}, \hbox{\tt number}, \hbox{\tt address},
+\hbox{\tt month}, \hbox{\tt note}.
+
+\item[unpublished\hfill] A document having an author and title,
+but not formally published.
+Required fields: \hbox{\tt author}, \hbox{\tt title}, \hbox{\tt note}.
+Optional fields: \hbox{\tt month}, \hbox{\tt year}.
+
+\end{description}
+
+In addition to the fields listed above, each entry type also has an
+optional \hbox{\tt key} field, used in some styles
+for alphabetizing, for cross referencing,
+or for forming a \hbox{\verb|\bibitem|} label.
+You should include a \hbox{\tt key} field for any entry whose
+``author'' information is missing;
+the ``author'' information is usually the \hbox{\tt author} field,
+but for some entry types it can be the \hbox{\tt editor}
+or even the \hbox{\tt organization} field
+(Section~\ref{odds-and-ends} describes this in more detail).
+Do not confuse the \hbox{\tt key} field with the key that appears in the
+\hbox{\verb|\cite|} command and at the beginning of the database entry;
+this field is named ``key'' only for compatibility with {\it Scribe}.
+
+
+\subsection{Fields}
+
+Below is a description of all fields
+recognized by the standard bibliography styles.
+An entry can also contain other fields, which are ignored by those styles.
+\begin{description}
+
+\item[address\hfill]
+Usually the address of the \hbox{\tt publisher} or other type
+of institution.
+For major publishing houses,
+van~Leunen recommends omitting the information entirely.
+For small publishers, on the other hand, you can help the
+reader by giving the complete address.
+
+\item[annote\hfill]
+An annotation.
+It is not used by the standard bibliography styles,
+but may be used by others that produce an annotated bibliography.
+
+\item[author\hfill]
+The name(s) of the author(s),
+in the format described in the \LaTeX\ book.
+
+\item[booktitle\hfill]
+Title of a book, part of which is being cited.
+See the \LaTeX\ book for how to type titles.
+For book entries, use the \hbox{\tt title} field instead.
+
+\item[chapter\hfill]
+A chapter (or section or whatever) number.
+
+\item[crossref\hfill]
+The database key of the entry being cross referenced.
+
+\item[edition\hfill]
+The edition of a book---for example, ``Second''$\!$.
+This should be an ordinal, and
+should have the first letter capitalized, as shown here;
+the standard styles convert to lower case when necessary.
+
+\item[editor\hfill]
+Name(s) of editor(s), typed as indicated in the \LaTeX\ book.
+If there is also an \hbox{\tt author} field, then
+the \hbox{\tt editor} field gives the editor of the book or collection
+in which the reference appears.
+
+\item[howpublished\hfill]
+How something strange has been published.
+The first word should be capitalized.
+
+\item[institution\hfill]
+The sponsoring institution of a technical report.
+
+\item[journal\hfill]
+A journal name.
+Abbreviations are provided for many journals; see the {\it Local Guide}.
+
+\item[key\hfill]
+Used for alphabetizing, cross referencing, and creating a label when
+the ``author'' information
+(described in Section~\ref{odds-and-ends}) is missing.
+This field should not be confused with the key that appears in the
+\hbox{\verb|\cite|} command and at the beginning of the database entry.
+
+\item[month\hfill]
+The month in which the work was
+published or, for an unpublished work, in which it was written.
+You should use the standard three-letter abbreviation,
+as described in Appendix B.1.3 of the \LaTeX\ book.
+
+\item[note\hfill]
+Any additional information that can help the reader.
+The first word should be capitalized.
+
+\item[number\hfill]
+The number of a journal, magazine, technical report,
+or of a work in a series.
+An issue of a journal or magazine is usually
+identified by its volume and number;
+the organization that issues a
+technical report usually gives it a number;
+and sometimes books are given numbers in a named series.
+
+\item[organization\hfill]
+The organization that sponsors a conference or that publishes a \hbox{manual}.
+
+\item[pages\hfill]
+One or more page numbers or range of numbers,
+such as \hbox{\tt 42--111} or \hbox{\tt 7,41,73--97} or \hbox{\tt 43+}
+(the `{\tt +}' in this last example indicates pages following
+that don't form a simple range).
+To make it easier to maintain {\em Scribe\/}-compatible databases,
+the standard styles convert a single dash (as in \hbox{\tt 7-33})
+to the double dash used in \TeX\ to denote number ranges
+(as in \hbox{\tt 7--33}).
+
+\item[publisher\hfill]
+The publisher's name.
+
+\item[school\hfill]
+The name of the school where a thesis was written.
+
+\item[series\hfill]
+The name of a series or set of books.
+When citing an entire book, the the \hbox{\tt title} field
+gives its title and an optional \hbox{\tt series} field gives the
+name of a series or multi-volume set
+in which the book is published.
+
+\item[title\hfill]
+The work's title, typed as explained in the \LaTeX\ book.
+
+\item[type\hfill]
+The type of a technical report---for example,
+``Research Note''$\!$.
+
+\item[volume\hfill]
+The volume of a journal or multivolume book.
+
+\item[year\hfill]
+The year of publication or, for
+an unpublished work, the year it was written.
+Generally it should consist of four numerals, such as {\tt 1984},
+although the standard styles can handle any {\tt year} whose
+last four nonpunctuation characters are numerals,
+such as `\hbox{(about 1984)}'$\!$.
+
+\end{description}
+
+
+\section{Helpful Hints}
+\label{odds-and-ends}
+
+This section gives some random tips
+that aren't documented elsewhere,
+at least not in this detail.
+They are, roughly, in order
+of least esoteric to most.
+First, however, a brief spiel.
+
+I understand that there's often little choice in choosing
+a bibliography style---journal~$X$ says you must use style~$Y$
+and that's that.
+If you have a choice, however, I strongly recommend that you
+choose something like the {\tt plain} standard style.
+Such a style, van~Leunen~\cite{van-leunen} argues convincingly,
+encourages better writing than the alternatives---%
+more concrete, more vivid.
+
+{\em The Chicago Manual of Style\/}~\cite{chicago},
+on the other hand,
+espouse the author-date system,
+in which the citation might appear in the text as `(Jones, 1986)'$\!$.
+I argue that this system,
+besides cluttering up the
+text with information that may or may not be relevant,
+encourages the passive voice and vague writing.
+Furthermore the strongest arguments for
+using the author-date system---like ``it's the most practical''---%
+fall flat on their face with the advent
+of computer-typesetting technology.
+For instance the {\em Chicago Manual\/} contains,
+right in the middle of page~401, this anachronism:
+``The chief disadvantage of [a style like {\tt plain}] is that additions
+or deletions cannot be made after the manuscript is typed without changing
+numbers in both text references and list.''
+\LaTeX, obviously, sidesteps the disadvantage.
+
+Finally, the logical deficiencies of the author-date style
+are quite evident once you've written a program to implement it.
+For example, in a large bibliography,
+using the standard alphabetizing scheme,
+the entry for `(Aho et~al., 1983b)'
+might be half a page later than the one for `(Aho et~al., 1983a)'$\!$.
+Fixing this problem results in even worse ones.
+What a mess.
+(I have, unfortunately, programmed such a style,
+and if you're saddled with an unenlightened publisher
+or if you don't buy my propaganda,
+it's available from the Rochester style collection.)
+
+Ok, so the spiel wasn't very brief;
+but it made me feel better,
+and now my blood pressure is back to normal.
+Here are the tips for using \BibTeX\
+with the standard styles
+(although many of them hold for nonstandard styles, too).
+\begin{enumerate}
+
+\item
+With \BibTeX's style-designing language
+you can program general database manipulations,
+in addition to bibliography styles.
+For example it's a fairly easy task for someone familiar with the language
+to produce a database-key/author index of all the entries in a database.
+Consult the {\em Local Guide\/} to see
+what tools are available on your system.
+
+\item
+The standard style's thirteen entry types
+do reasonably well at formatting most entries,
+but no scheme with just thirteen formats
+can do everything perfectly.
+Thus, you should feel free to be creative
+in how you use these entry types
+(but if you have to be too creative,
+there's a good chance you're using the wrong entry type).
+
+\item
+Don't take the field names too seriously.
+Sometimes, for instance, you might have to include
+the publisher's address along with the publisher's name
+in the \hbox{\tt publisher} field,
+rather than putting it in the \hbox{\tt address} field.
+Or sometimes, difficult entries work best when you
+make judicious use of the {\tt note} field.
+
+\item
+Don't take the warning messages too seriously.
+Sometimes, for instance, the year appears in the title,
+as in {\em The 1966 World Gnus Almanac}.
+In this case it's best to omit the {\tt year} field
+and to ignore \BibTeX's warning message.
+
+\item
+If you have too many names to list in an
+\hbox{\tt author} or \hbox{\tt editor} field,
+you can end the list with ``and others'';
+the standard styles appropriately append an ``et~al.''
+
+\item
+In general, if you want to keep \BibTeX\ from changing
+something to lower case, you enclose it in braces.
+You might not get the effect you want, however,
+if the very first character after the left brace is a backslash.
+The ``special characters'' item later in this section explains.
+
+\item
+For {\em Scribe\/} compatibility, the database files
+allow an \hbox{\tt @COMMENT} command; it's not really
+needed because \BibTeX\ allows in the database files
+any comment that's not within an entry.
+If you want to comment out an entry,
+simply remove the `{\tt @}' character preceding the entry type.
+
+\item
+The standard styles have journal abbreviations that are
+computer-science oriented;
+these are in the style files primarily for the example.
+If you have a different set of journal abbreviations,
+it's sensible to put them in \hbox{\tt @STRING} commands
+in their own database file and to list this database file
+as an argument to \LaTeX's \hbox{\verb|\bibliography|} command
+(but you should list this argument before the ones that
+specify real database entries).
+
+\item
+It's best to use the three-letter abbreviations for the month,
+rather than spelling out the month yourself.
+This lets the bibliography style be consistent.
+And if you want to include information for the day of the month,
+the {\tt month} field is usually the best place.
+For example
+\begin{verbatim}
+ month = jul # "~4,"
+\end{verbatim}
+will probably produce just what you want.
+
+\item
+If you're using the \hbox{\tt unsrt} style
+(references are listed in order of citation)
+along with the \hbox{\verb|\nocite{*}|} feature
+(all entries in the database are included),
+the placement of the \hbox{\verb|\nocite{*}|} command
+within your document file will determine the reference order.
+According to the rule given in Section~\ref{features}:
+If the command is placed at the beginning of the document,
+the entries will be listed in exactly the order
+they occur in the database;
+if it's placed at the end,
+the entries that you explicitly
+\hbox{\verb|\cite|} or \hbox{\verb|\nocite|}
+will occur in citation order,
+and the remaining database entries will be in database order.
+
+\item
+For theses, van Leunen recommends not giving
+the school's department after the name of the degree,
+since schools, not departments, issue degrees.
+If you really think that giving the department information
+will help the reader find the thesis,
+put that information in the \hbox{\tt address} field.
+
+\item
+The \hbox{\tt MASTERSTHESIS} and \hbox{\tt PHDTHESIS} entry types
+are so named for {\em Scribe\/} compatibility;
+\hbox{\tt MINORTHESIS} and \hbox{\tt MAJORTHESIS}
+probably would have been better names.
+Keep this in mind when trying to classify
+a non-U.S.\ thesis.
+
+\item
+Here's yet another suggestion for what to do when an author's
+name appears slightly differently in two publications.
+Suppose, for example, two journals articles use these fields.
+\begin{verbatim}
+ author = "Donald E. Knuth"
+ . . .
+ author = "D. E. Knuth"
+\end{verbatim}
+There are two possibilities.
+You could (1)~simply leave them as is,
+or (2)~assuming you know for sure that
+these authors are one and the same person,
+you could list both in the form that the author prefers
+(say, `Donald~E.\ Knuth').
+In the first case, the entries might be alphabetized incorrectly,
+and in the second, the slightly altered name might
+foul up somebody's electronic library search.
+But there's a third possibility, which is the one I prefer.
+You could convert the second journal's field to
+\begin{verbatim}
+ author = "D[onald] E. Knuth"
+\end{verbatim}
+This avoids the pitfalls of the previous two solutions,
+since \BibTeX\ alphabetizes this as if the brackets weren't there,
+and since the brackets clue the reader in that a full first name
+was missing from the original.
+Of course it introduces another pitfall---`D[onald]~E.\ Knuth' looks ugly---%
+but in this case I think the increase in accuracy outweighs
+the loss in aesthetics.
+
+\item
+\LaTeX's comment character `{\tt\%}' is not a comment character
+in the database files.
+
+\item
+Here's a more complete description of
+the ``author'' information referred to in previous sections.
+For most entry types the ``author'' information
+is simply the \hbox{\tt author} field.
+However:
+For the \hbox{\tt BOOK} and \hbox{\tt INBOOK} entry types
+it's the \hbox{\tt author} field, but if there's no author
+then it's the \hbox{\tt editor} field;
+for the \hbox{\tt MANUAL} entry type
+it's the \hbox{\tt author} field, but if there's no author
+then it's the \hbox{\tt organization} field;
+and for the \hbox{\tt PROCEEDINGS} entry type
+it's the \hbox{\tt editor} field, but if there's no editor
+then it's the \hbox{\tt organization} field.
+
+\item
+When creating a label,
+the \hbox{\tt alpha} style uses the ``author'' information described above,
+but with a slight change---%
+for the \hbox{\tt MANUAL} and \hbox{\tt PROCEEDINGS} entry types,
+the {\tt key} field takes precedence over the \hbox{\tt organization} field.
+Here's a situation where this is useful.
+\begin{verbatim}
+ organization = "The Association for Computing Machinery",
+ key = "ACM"
+\end{verbatim}
+Without the {\tt key} field, the \hbox{\tt alpha} style
+would make a label from the first three letters of information
+in the \hbox{\tt organization} field;
+\hbox{\tt alpha} knows to strip off the `\hbox{\tt The }'$\!$,
+but it would still form a label like `\hbox{[Ass86]}'$\!$,
+which, however intriguing, is uninformative.
+Including the {\tt key} field, as above,
+would yield the better label `\hbox{[ACM86]}'$\!$.
+
+You won't always need the {\tt key} field to override the
+\hbox{\tt organization}, though:
+With
+\begin{verbatim}
+ organization = "Unilogic, Ltd.",
+\end{verbatim}
+for instance, the \hbox{\tt alpha} style would
+form the perfectly reasonable label `\hbox{[Uni86]}'$\!$.
+
+\item
+Section~\ref{features} discusses accented characters.
+To \BibTeX, an accented character is really a special case
+of a ``special character''$\!$,
+which consists of everything from a left brace at the top-most level,
+immediately followed by a backslash,
+up through the matching right brace.
+For example in the field
+\begin{verbatim}
+ author = "\AA{ke} {Jos{\'{e}} {\'{E}douard} G{\"o}del"
+\end{verbatim}
+there are just two special characters,
+`\hbox{\verb|{\'{E}douard}|}' and `\hbox{\verb|{\"o}|}'
+(the same would be true if the pair of double quotes
+delimiting the field were braces instead).
+In general, \BibTeX\ will not do any processing
+of a \TeX\ or \LaTeX\ control sequence inside a special character,
+but it {\em will\/} process other characters.
+Thus a style that converts all titles to lower case
+would convert
+\begin{verbatim}
+ The {\TeX BOOK\NOOP} Experience
+\end{verbatim}
+to
+\begin{verbatim}
+ The {\TeX book\NOOP} experience
+\end{verbatim}
+(the `{\tt The}' is still capitalized
+because it's the first word of the title).
+
+This special-character scheme is useful for handling accented characters,
+for getting \BibTeX's alphabetizing to do what you want,
+and, since \BibTeX\ counts an entire special character as just one letter,
+for stuffing extra characters inside labels.
+The file \hbox{\tt XAMPL.BIB} distributed with \BibTeX\
+gives examples of all three uses.
+
+\item
+This final item of the section describes \BibTeX's names
+(which appear in the \hbox{\tt author} or \hbox{\tt editor} field)
+in slightly more detail than what
+appears in Appendix~B of the \LaTeX\ book.
+In what follows, a ``name'' corresponds to a person.
+(Recall that you separate multiple names in a single field
+with the word ``and''$\!$, surrounded by spaces,
+and not enclosed in braces.
+This item concerns itself with the structure of a single name.)
+
+Each name consists of four parts: First, von, Last, and~Jr;
+each part consists of a (possibly empty) list of name-tokens.
+The Last part will be nonempty if any part is,
+so if there's just one token, it's always a Last token.
+
+Recall that Per Brinch~Hansen's name should be typed
+\begin{verbatim}
+ "Brinch Hansen, Per"
+\end{verbatim}
+The First part of his name has the single token ``Per'';
+the Last part has two tokens, ``Brinch'' and ``Hansen'';
+and the von and Jr parts are empty.
+If you had typed
+\begin{verbatim}
+ "Per Brinch Hansen"
+\end{verbatim}
+instead, \BibTeX\ would (erroneously) think ``Brinch'' were a First-part token,
+just as ``Paul'' is a First-part token in ``John~Paul Jones''$\!$,
+so this erroneous form would have two First tokens and one Last token.
+
+Here's another example:
+\begin{verbatim}
+ "Charles Louis Xavier Joseph de la Vall{\'e}e Poussin"
+\end{verbatim}
+This name has four tokens in the First part, two in the von, and
+two in the Last.
+Here \BibTeX\ knows where one part ends and the other begins because
+the tokens in the von part begin with lower-case letters.
+
+In general, it's a von token if the first letter at brace-level~0
+is in lower case.
+Since technically everything
+in a ``special character'' is at brace-level~0,
+you can trick \BibTeX\ into thinking that
+a token is or is not a von token by prepending a dummy
+special character whose first letter past the \TeX\ control sequence
+is in the desired case, upper or lower.
+
+To summarize, \BibTeX\ allows three possible forms for the name:
+\begin{verbatim}
+ "First von Last"
+ "von Last, First"
+ "von Last, Jr, First"
+\end{verbatim}
+You may almost always use the first form;
+you shouldn't if either there's a Jr part,
+or the Last part has multiple tokens but there's no von part.
+
+\end{enumerate}
+
+\bibliography{btxdoc}
+\bibliographystyle{plain}
+\end{document}
diff --git a/biblio/bibtex/contrib/germbib/document/btxhak.tex b/biblio/bibtex/contrib/germbib/document/btxhak.tex
new file mode 100644
index 0000000000..fe49d79cd7
--- /dev/null
+++ b/biblio/bibtex/contrib/germbib/document/btxhak.tex
@@ -0,0 +1,623 @@
+% Copyright (C) 1988, all rights reserved.
+
+\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
+ T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
+
+\title{Designing B\kern-.05em{\large I}\kern-.025em{\large B}\kern-.08em\TeX\
+ Styles}
+\author{Oren Patashnik}
+\date{February 8, 1988}
+
+\documentstyle[mynormal]{article}
+\begin{document}
+
+\maketitle
+
+\setcounter{section}{4}
+\section{Bibliography-style hacking}
+\label{style}
+
+This document starts (and ends) with Section~\ref{style},
+because in reality it is the final section of ``\BibTeX ing''~\cite{btxdoc},
+the general documentation for \BibTeX.
+But that document was meant for all \BibTeX\ users,
+while this one is just for style designers,
+so the two are physically separate.
+Still, you should be completely familiar with ``\BibTeX ing''$\!$,
+and all references in this document
+to sections and section numbers
+assume that the two documents are one.
+
+This section,
+along with the standard-style documentation file \hbox{\tt btxbst.doc},
+should explain how to modify
+existing style files and to produce new ones.
+If you're a serious style hacker you should be familiar
+with van~Leunen~\cite{van-leunen} for points of style,
+with Lamport~\cite{latex} and Knuth~\cite{texbook} for formatting matters,
+and perhaps with {\em Scribe\/}~\cite{scribe} for compatibility details.
+And while you're at it, if you don't read the great little book by Strunk and
+White~\cite{strunk-and-white}, you should at least look at its
+entries in the database and the reference list
+to see how \BibTeX\ handles multiple names.
+
+To create a new style,
+it's best to start with an existing style that's close to yours,
+and then modify that.
+This is true even if you're simply updating an old style
+for \BibTeX\ version 0.99
+(I've updated four nonstandard styles,
+so I say this with some experience).
+If you want to insert into a new style
+some function you'd written for an old (version 0.98i) style,
+keep in mind that the order of the arguments to
+the assignment ({\tt :=}) function has been reversed.
+When you're finished with your style,
+you may want to try running it on the entire \hbox{\tt XAMPL.BIB} database
+to make sure it handles all the standard entry types.
+
+If you find any bugs in the standard styles,
+or if there are things you'd like to do
+with bibliography-style files but can't,
+please complain to Oren Patashnik.
+
+
+\subsection{General description}
+
+You write bibliography styles in a postfix stack language. It's
+not too hard to figure out how by looking at the standard-style documentation,
+but this description fills in a few details (it will fill in more
+details if there's a demand for it).
+
+Basically the style file is a program, written in an unnamed language, that
+tells \BibTeX\ how to format the entries that will go in the reference list
+(henceforth ``the entries'' will be ``the entry list''
+or simply ``the list''$\!$, context permitting).
+This programming language has ten commands, described in the next subsection.
+These commands manipulate the language's objects:
+constants, variables, functions, the stack, and the entry list.
+(Warning: The terminology in this documentation,
+chosen for ease of explanation, is slightly different from \BibTeX's.
+For example, this documentation's ``variables'' and ``functions''
+are both ``functions'' to \BibTeX.
+Keep this in mind when interpreting \BibTeX's error messages.)
+
+There are two types of functions: {\it built-in\/} ones that \BibTeX\ provides
+(these are described in Section~\ref{built-in-fns}), and ones you define
+using either the \hbox{\tt MACRO} or \hbox{\tt FUNCTION} command.
+
+Your most time-consuming task, as a style designer,
+will be creating or modifying functions
+using the \hbox{\tt FUNCTION} command
+(actually, becoming familiar with the references listed above will be
+more time consuming, but assume for the moment that that's done).
+
+Let's look at a sample function fragment.
+Suppose you have a string variable named \hbox{\tt label}
+and an integer variable named \hbox{\tt lab.width},
+and suppose you want to append the character `{\tt a}' to \hbox{\tt label}
+and to increment \hbox{\tt lab.width}:
+\begin{verbatim}
+ . . .
+ label "a" * 'label := % label := label * "a"
+ lab.width #1 + 'lab.width := % lab.width := lab.width + 1
+ . . .
+\end{verbatim}
+In the first line,
+\hbox{\tt label} pushes that variable's value onto the stack.
+Next, the {\tt "a"} pushes the string constant `{\tt a}' onto the stack.
+Then the built-in function {\tt *} pops the top two strings and
+pushes their concatenation.
+The \hbox{\tt 'label} pushes that variable's name onto the stack.
+And finally, the built-in function {\tt :=} pops
+the variable name and the concatenation and performs the assignment.
+\BibTeX\ treats the stuff following the {\tt \%} as a comment
+in the style file.
+The second line is similar except that it uses {\tt \#1},
+with no spaces intervening between the `{\tt \#}' and the `{\tt 1}'$\!$,
+to push this integer constant.
+
+The nonnull spacing here is arbitrary: multiple spaces, tabs, or newlines
+are equivalent to a single one (except that you're probably better off
+not having blank lines within commands, as explained shortly).
+
+For string constants, absolutely any printing character
+is legal between two consecutive double quotes, but \BibTeX\ here
+(and only here) treats upper- and lower-case equivalents as different.
+Furthermore, spacing {\em is\/} relevant within a string constant,
+and you mustn't split a string constant across lines
+(that is, the beginning and ending double quotes must be on the same line).
+
+Variable and function names may not begin with a numeral and
+may not contain any of the ten restricted characters
+on page~143 of the \LaTeX\ book,
+but may otherwise contain any printing characters.
+Also, \BibTeX\ considers upper- and lower-case equivalents to be the same.
+
+Integers and strings are the only value types for constants and variables
+(booleans are implemented simply as 0-or-1 integers).
+There are three kinds of variables:
+\begin{description}
+
+\item[global variables\hfill] These are either integer- or string-valued,
+declared using an \hbox{\tt INTEGERS} or \hbox{\tt STRINGS} command.
+
+\item[entry variables\hfill] These are either integer- or string-valued,
+declared using the \hbox{\tt ENTRY} command.
+Each has a value for each entry on the list
+(example: a variable \hbox{\tt label} might store
+the label string you'll use for the entry).
+
+\item[fields\hfill] These are string-valued, read-only variables
+that store the information from the database file;
+their values are set by the \hbox{\tt READ} command.
+As with entry variables, each has a value for each entry.
+\end{description}
+
+
+\subsection{Commands}
+
+There are ten style-file commands:
+Five (\hbox{\tt ENTRY}, \hbox{\tt FUNCTION}, \hbox{\tt INTEGERS},
+\hbox{\tt MACRO}, and \hbox{\tt STRINGS})
+declare and define variables and functions;
+one (\hbox{\tt READ}) reads in the database information;
+and four (\hbox{\tt EXECUTE}, \hbox{\tt ITERATE}, \hbox{\tt REVERSE},
+and \hbox{\tt SORT}) manipulate the entries and produce output.
+Although the command names appear here in upper case,
+\BibTeX\ ignores case differences.
+
+Some restrictions:
+There must be exactly one \hbox{\tt ENTRY} and one \hbox{\tt READ} command;
+the \hbox{\tt ENTRY} command, all \hbox{\tt MACRO} commands,
+and certain \hbox{\tt FUNCTION} commands
+(see next subsection's description of \hbox{\tt call.type\$})
+must precede the \hbox{\tt READ} command;
+and the \hbox{\tt READ} command must precede the four that
+manipulate the entries and produce output.
+
+Also it's best (but not essential) to leave at least one blank line
+between commands and to leave no blank lines within a command;
+this helps \BibTeX\ recover from any syntax errors you make.
+
+You must enclose each argument of every command in braces.
+Look at the standard-style documentation
+for syntactic issues not described in this section.
+Here are the ten commands:
+\begin{description}
+
+\item[\hbox{\tt ENTRY}\hfill]
+Declares the fields and entry variables.
+It has three arguments, each a (possibly empty) list of variable names.
+The three lists are of:
+fields, integer entry variables, and string entry variables.
+There is an additional field that \BibTeX\ automatically
+declares, \hbox{\tt crossref}, used for cross referencing.
+And there is an additional string entry variable automatically declared,
+\hbox{\tt sort.key\$}, used by the \hbox{\tt SORT} command.
+Each of these variables has a value for each entry on the list.
+
+\item[\hbox{\tt EXECUTE}\hfill]
+Executes a single function.
+It has one argument, the function name.
+
+\item[\hbox{\tt FUNCTION}\hfill]
+Defines a new function.
+It has two arguments; the first is the function's name and the
+second is its definition.
+You must define a function before using it;
+recursive functions are thus illegal.
+
+\item[\hbox{\tt INTEGERS}\hfill]
+Declares global integer variables.
+It has one argument, a list of variable names.
+There are two such automatically-declared variables,
+\hbox{\tt entry.max\$} and \hbox{\tt global.max\$},
+used for limiting the lengths of string variables.
+You may have any number of these commands, but a variable's declaration
+must precede its use.
+
+\item[\hbox{\tt ITERATE}\hfill]
+Executes a single function, once
+for each entry in the list, in the list's current order
+(initially the list is in citation order, but the \hbox{\tt SORT}
+command may change this).
+It has one argument, the function name.
+
+\item[\hbox{\tt MACRO}\hfill]
+Defines a string macro.
+It has two arguments; the first is the macro's name, which is treated like
+any other variable or function name,
+and the second is its definition, which must be double-quote-delimited.
+You must have one for each three-letter month abbreviation;
+in addition, you should have one for common journal names.
+The user's database may override any definition you define using this command.
+If you want to define a string the user can't touch,
+use the \hbox{\tt FUNCTION} command, which has a compatible syntax.
+
+\item[\hbox{\tt READ}\hfill]
+Dredges up from the database file
+the field values for each entry in the list.
+It has no arguments.
+If a database entry doesn't have a value for a field
+(and probably no database entry will have a value for every field),
+that field variable is marked as missing for the entry.
+
+\item[\hbox{\tt REVERSE}\hfill]
+Exactly the same as the
+\hbox{\tt ITERATE} command except that it executes the function
+on the entry list in reverse order.
+
+\item[\hbox{\tt SORT}\hfill]
+Sorts the entry list using
+the values of the string entry variable \hbox{\tt sort.key\$}.
+It has no arguments.
+
+\item[\hbox{\tt STRINGS}\hfill]
+Declares global string variables.
+It has one argument, a list of variable names.
+You may have any number of these commands, but a variable's declaration
+must precede its use.
+\end{description}
+
+
+\subsection{The built-in functions}
+\label{built-in-fns}
+
+Before we get to the built-in functions,
+a few words about some other built-in objects.
+There is one built-in string entry variable, \hbox{\tt sort.key\$},
+which the style program must set if the style is to do sorting.
+There is one built-in field, \hbox{\tt crossref},
+used for the cross referencing feature
+described in Section~4.
+And there are two built-in integer global variables,
+\hbox{\tt entry.max\$} and \hbox{\tt global.max\$},
+which are set by default to some internal \BibTeX\ constants;
+you should truncate strings to these lengths before
+you assign to string variables,
+so as to not generate any \BibTeX\ warning messages.
+
+There are currently 37 built-in functions.
+Every built-in function with a letter in its name ends with a `{\tt \$}'$\!$.
+In what follows, ``first''$\!$, ``second''$\!$,
+and so on refer to the order popped.
+A ``literal'' is an element on the stack, and it will be either
+an integer value, a string value, a variable or function name,
+or a special value denoting a missing field.
+If any popped literal has an incorrect type, \BibTeX\ complains and pushes
+the integer 0 or the null string, depending on whether the function
+was supposed to push an integer or string.
+\begin{description}
+
+\item[\hbox{\tt >}\hfill]
+Pops the top two (integer) literals,
+compares them, and pushes the integer 1 if the second is greater than
+the first, 0 otherwise.
+
+\item[\hbox{\tt <}\hfill]
+Analogous.
+
+\item[\hbox{\tt =}\hfill]
+Pops the top two (both integer or both string) literals,
+compares them,
+and pushes the integer 1 if they're equal, 0 otherwise.
+
+\item[\hbox{\tt +}\hfill]
+Pops the top two (integer) literals and pushes their sum.
+
+\item[\hbox{\tt -}\hfill]
+Pops the top two (integer) literals and pushes their difference
+(the first subtracted from the second).
+
+\item[\hbox{\tt *}\hfill]
+Pops the top two (string) literals,
+concatenates them (in reverse order, that is, the order in which
+pushed), and pushes the resulting string.
+
+\item[\hbox{\tt :=}\hfill]
+Pops the top two literals and assigns
+to the first (which must be a global or entry variable)
+the value of the second.
+
+\item[\hbox{\tt add.period\$}\hfill]
+Pops the top (string) literal,
+adds a `{\tt .}' to it if the last non`{\tt \}}' character
+isn't a `{\tt .}'$\!$, `{\tt ?}', or `{\tt !}'$\!$,
+and pushes this resulting string.
+
+\item[\hbox{\tt call.type\$}\hfill]
+Executes the function whose name is the entry type of an entry.
+For example if an entry is of type {\tt book}, this function executes
+the {\tt book} function.
+When given as an argument to the \hbox{\tt ITERATE} command,
+\hbox{\tt call.type\$} actually produces the output for the entries.
+For an entry with an unknown type,
+it executes the function \hbox{\tt default.type}.
+Thus you should define (before the \hbox{\tt READ} command) one function
+for each standard entry type as well as a \hbox{\tt default.type} function.
+
+\item[\hbox{\tt change.case\$}\hfill]
+Pops the top two (string) literals;
+it changes the case of the second according to the
+specifications of the first, as follows. (Note: The word `letters' in
+the next sentence refers only to those at brace-level~0, the top-most
+brace level; no other characters are changed, except perhaps for
+``special characters''$\!$, described in Section~4.)
+If the first literal is the
+string~`{\tt t}'$\!$, it converts to lower case all letters except the very
+first character in the string, which it leaves alone, and except the
+first character following any colon and then nonnull white space,
+which it also leaves alone; if it's the string~`{\tt l}'$\!$, it converts all
+letters to lower case; and if it's the string~`{\tt u}'$\!$, it converts all
+letters to upper case.
+It then pushes this resulting string. If either
+type is incorrect, it complains and pushes the null string; however,
+if both types are correct but the specification string (i.e., the
+first string) isn't one of the legal ones, it merely pushes the second
+back onto the stack, after complaining. (Another note: It ignores
+case differences in the specification string; for example, the strings
+{\tt t} and {\tt T} are equivalent for the purposes of this built-in
+function.)
+
+\item[\hbox{\tt chr.to.int\$}\hfill]
+Pops the top (string) literal,
+makes sure it's a single character, converts it to the
+corresponding ASCII integer, and pushes this integer.
+
+\item[\hbox{\tt cite\$}\hfill]
+Pushes the string that was the
+\hbox{\verb|\cite|}-command argument for this entry.
+
+\item[\hbox{\tt duplicate\$}\hfill]
+Pops the top literal from the stack and pushes two copies of it.
+
+\item[\hbox{\tt empty\$}\hfill]
+Pops the top literal and pushes
+the integer 1 if it's a missing field or a string having no
+non-white-space characters, 0 otherwise.
+
+\item[\hbox{\tt format.name\$}\hfill]
+Pops the top three literals
+(they are a string, an integer, and a string literal).
+The last string literal represents a name list (each name
+corresponding to a person), the integer literal specifies which name
+to pick from this list, and the first string literal specifies how to
+format this name, as explained in the next subsection.
+Finally, this function pushes the formatted name.
+
+\item[\hbox{\tt if\$}\hfill]
+Pops the top three literals (they
+are two function literals and an integer literal, in that order);
+if the integer is greater than 0, it executes the second literal,
+else it executes the first.
+
+\item[\hbox{\tt int.to.chr\$}\hfill]
+Pops the top (integer) literal,
+interpreted as the ASCII integer value of a single character,
+converts it to the corresponding single-character string, and pushes
+this string.
+
+\item[\hbox{\tt int.to.str\$}\hfill]
+Pops the top (integer) literal,
+converts it to its (unique) string equivalent, and pushes this string.
+
+\item[\hbox{\tt missing\$}\hfill]
+Pops the top literal and
+pushes the integer 1 if it's a missing field, 0~otherwise.
+
+\item[\hbox{\tt newline\$}\hfill]
+Writes onto the {\tt bbl} file
+what's accumulated in the output buffer.
+It writes a blank line if and only if the output buffer is empty.
+Since \hbox{\tt write\$} does reasonable line breaking, you should use
+this function only when you want a blank line or an explicit line break.
+
+\item[\hbox{\tt num.names\$}\hfill]
+Pops the top (string) literal
+and pushes the number of names the string represents---one plus
+the number of occurrences of the substring ``and'' (ignoring case differences)
+surrounded by nonnull white-space at the top brace level.
+
+\item[\hbox{\tt pop\$}\hfill]
+Pops the top of the stack but
+doesn't print it; this gets rid of an unwanted stack literal.
+
+\item[\hbox{\tt preamble\$}\hfill]
+Pushes onto the stack the concatenation of all the
+\hbox{\tt @PREAMBLE} strings read from the database files.
+
+\item[\hbox{\tt purify\$}\hfill]
+Pops the top (string) literal,
+removes nonalphanumeric characters except for white-space characters and
+hyphens and ties (these all get converted to a space), removes
+certain alphabetic characters contained in the control sequences
+associated with a ``special character''$\!$, and pushes the resulting string.
+
+\item[\hbox{\tt quote\$}\hfill]
+Pushes the string consisting of the double-quote character.
+
+\item[\hbox{\tt skip\$}\hfill]
+Is a no-op.
+
+\item[\hbox{\tt stack\$}\hfill]
+Pops and prints the whole stack;
+it's meant to be used for style designers while debugging.
+
+\item[\hbox{\tt substring\$}\hfill]
+Pops the top three literals
+(they are the two integers literals {\it len\/} and {\it start}, and a
+string literal, in that order).
+It pushes the substring of the (at most) {\it len\/} consecutive characters
+starting at the {\it start\/}th character (assuming 1-based indexing)
+if {\it start\/} is positive, and ending at the $-${\it start\/}th character
+from the end if {\it start\/} is negative
+(where the first character from the end is the last character).
+
+\item[\hbox{\tt swap\$}\hfill]
+Swaps the top two literals on the stack.
+
+\item[\hbox{\tt text.length\$}\hfill]
+Pops the top (string) literal,
+and pushes the number of text characters it contains, where an
+accented character (more precisely, a ``special character''$\!$,
+defined in Section~4)
+counts as a single text character, even if it's missing
+its matching right brace, and where braces don't count as
+text characters.
+
+\item[\hbox{\tt text.prefix\$}\hfill]
+Pops the top two literals
+(the integer literal {\it len\/} and a string literal, in that order).
+It pushes the substring of the (at most) {\it len\/} consecutive text
+characters starting from the beginning of the string. This function
+is similar to \hbox{\tt substring\$}, but this one considers
+a ``special character''$\!$, even if
+it's missing its matching right brace, to be a single text character
+(rather than however many ASCII characters it actually comprises),
+and this function doesn't consider braces to be text characters;
+furthermore, this function appends any needed matching right braces.
+
+\item[\hbox{\tt top\$}\hfill]
+Pops and prints the top of the stack on the terminal and log file.
+It's useful for debugging.
+
+\item[\hbox{\tt type\$}\hfill]
+Pushes the current entry's type (book, article, etc.),
+but pushes the null string
+if the type is either unknown or undefined.
+
+\item[\hbox{\tt warning\$}\hfill]
+Pops the top (string) literal
+and prints it following a warning message.
+This also increments a count of the number of warning messages issued.
+
+\item[\hbox{\tt while\$}\hfill]
+Pops the top two (function) literals,
+and keeps executing the second as long as the (integer)
+literal left on the stack by executing the first is greater than 0.
+
+\item[\hbox{\tt width\$}\hfill]
+Pops the top (string) literal
+and pushes the integer that represents its width in some relative units
+(currently, hundredths of a point, as specified by the June 1987 version
+of the $cmr10$ font; the only white-space character with nonzero width
+is the space).
+This function takes the literal literally;
+that is, it assumes each character in the string is to be printed as
+is, regardless of whether the character has a special meaning to \TeX,
+except that ``special characters'' (even without their right braces) are
+handled specially.
+This is meant to be used for comparing widths of label strings.
+
+\item[\hbox{\tt write\$}\hfill]
+Pops the top (string) literal
+and writes it on the output buffer (which will result in
+stuff being written onto the {\tt bbl} file when the buffer fills up).
+
+\end{description}
+
+Note that the built-in functions \hbox{\tt while\$} and \hbox{\tt if\$}
+require two function literals on the stack.
+You get them there either by immediately preceding the name of a function
+by a single quote, or, if you don't feel like defining a new function with
+the \hbox{\tt FUNCTION} command,
+by simply giving its definition (that is, giving what would be the second
+argument to the \hbox{\tt FUNCTION} command, including the surrounding braces).
+For example the following function fragment appends the character `{\tt a}'
+if the string variable named \hbox{\tt label} is nonnull:
+\begin{verbatim}
+ . . .
+ label "" =
+ 'skip$
+ { label "a" * 'label := }
+ if$
+ . . .
+\end{verbatim}
+A function whose name you quote needn't be built in
+like \hbox{\tt skip\$} above---it may, for example,
+be a field name or a function you've defined earlier.
+
+
+\subsection{Name formatting}
+
+What's in a name?
+Section~4 pretty much describes this.
+Each name consists of four parts: First, von, Last, and Jr;
+each consists of a list of name-tokens,
+and any list but Last's may be empty for a nonnull name.
+This subsection describes the format string you must supply to
+the built-in function \hbox{\tt format.name\$}.
+
+Let's look at an example of a very long name.
+Suppose a database entry~\cite{prime-number-theorem} has the field
+\begin{verbatim}
+ author = "Charles Louis Xavier Joseph de la Vall{\'e}e Poussin"
+\end{verbatim}
+and suppose you want this formatted ``last name comma initials''$\!$.
+If you use the format string
+\begin{verbatim}
+ "{vv~}{ll}{, jj}{, f}?"
+\end{verbatim}
+\BibTeX\ will produce
+\begin{verbatim}
+ de~la Vall{\'e}e~Poussin, C.~L. X.~J?
+\end{verbatim}
+as the formatted string.
+
+Let's look at this example in detail.
+There are four brace-level~1 {\em pieces\/} to this format string,
+one for each part of a name.
+If the corresponding part of a name isn't present (the Jr part for this name),
+everything in that piece is ignored.
+Anything at brace-level~0 is output verbatim
+(the presumed typo `{\tt ?}' for this name is at brace-level~0),
+but you probably won't use this feature much.
+
+Within each piece a double letter tells \BibTeX\ to use whole tokens, and
+a single letter, to abbreviate them (these letters must be at brace-level~1);
+everything else within the piece is used verbatim
+(well, almost everything---read on).
+The tie at the end of the von part (in \hbox{\verb|{vv~}|})
+is a discretionary tie---\BibTeX\ will output a tie at that point
+if it thinks there's a need for one;
+otherwise it will output a space.
+If you really, really, want a tie there,
+regardless of what \BibTeX\ thinks, use two of them
+(only one will be output); that is, use \hbox{\verb|{vv~~}|}.
+A tie is discretionary only if it's the last character of the piece;
+anywhere else it's treated as an ordinary character.
+
+\BibTeX\ puts default strings {\em between\/} tokens of a name part:
+For whole tokens it uses either a space or a tie,
+depending on which one it thinks is best,
+and for abbreviated tokens it uses a period followed by
+either a space or a tie.
+However it doesn't use this default string after the last token in a list;
+hence there's no period following the `J' for our example.
+You should have used
+\begin{verbatim}
+ "{vv~}{ll}{, jj}{, f.}"
+\end{verbatim}
+to get \BibTeX\ to produce the same formatted string but with the question
+mark replaced by a period.
+Note that the period should go inside the First-name piece,
+rather than where the question mark was, in case a name has no First part.
+
+If you want to override \BibTeX's default between-token strings, you
+must explicitly specify a string.
+For example suppose you want a label to contain the first letter from each
+token in the von and Last parts, with no spaces;
+you should use the format string
+\begin{verbatim}
+ "{v{}}{l{}}"
+\end{verbatim}
+so that \BibTeX\ will produce `{\tt dlVP}' as the formatted string.
+You must give a string for each piece whose default you want overridden
+(the example here uses the null string for both pieces), and this string
+must immediately follow either the single or double letter for the piece.
+You may not have any other letters at brace-level~1 in the format string.
+
+\bibliography{btxdoc}
+\bibliographystyle{plain}
+\end{document}
diff --git a/biblio/bibtex/contrib/germbib/document/gerbibtx.bib b/biblio/bibtex/contrib/germbib/document/gerbibtx.bib
new file mode 100644
index 0000000000..27cba72621
--- /dev/null
+++ b/biblio/bibtex/contrib/germbib/document/gerbibtx.bib
@@ -0,0 +1,54 @@
+
+@UNPUBLISHED{bibtex.a,
+ author = "Oren Patashnik",
+ title = "{{\BibTeX ing}}",
+ note = "Documentation for general {\BibTeX} users",
+ month = "8$^{th}$~" # feb,
+ language = "USenglish",
+ year = 1988, }
+
+@UNPUBLISHED{bibtex.b,
+ author = "Oren Patashnik",
+ title = "Designing {\BibTeX} Styles",
+ note = "The part of \BibTeX's documentation
+ that's not meant for general users",
+ month = "8$^{th}$~" # feb,
+ language = "USenglish",
+ year = 1988, }
+
+@BOOK{texbook,
+ author = "Donald E. Knuth",
+ title= "The {{\tex}book}",
+ publisher = "Addison-Wesley Publishing Company",
+ address = "Reading, Massachusetts",
+ language = "USenglish",
+ year = 1984 }
+
+@BOOK{lamport,
+ author = "Leslie Lamport",
+ title = "{\LaTeX \rm:} {A} Document Preparation System",
+ publisher = "Addison-Wesley Publishing Company",
+ address = "Reading, Massachusetts",
+ language = "USenglish",
+ year = 1986 }
+
+@BOOK{kopka,
+ language = "german",
+ author = "Helmut Kopka",
+ title = "{\LaTeX} --- Eine Einf{\"{u}}hrung",
+ publisher = "Addison-Wesley (Deutschland) GmbH",
+ address = "Bonn; Reading, Massachusetts",
+ year = 1988,
+ note = "Das deutsche Standardwerk {\"{u}}ber {\latex}",
+ }
+
+@UNPUBLISHED{partl,
+ language = "german",
+ author = "Hubert Partl",
+ address = "Technische Universit{\"{a}}t Wien",
+ title = "{\normalshape\tt german.sty} --- Version 2.3d",
+ month = "21.~" # nov,
+ year = 1990,
+ note = "Erh{\"{a}}ltlich {\"{u}}ber DANTE (Deutsche Anwendervereinigung
+ {\TeX} e.\,\,V.): Bitnet server {\tt LISTSERV@DHDURZ1}",
+}
diff --git a/biblio/bibtex/contrib/germbib/document/gerbibtx.tex b/biblio/bibtex/contrib/germbib/document/gerbibtx.tex
new file mode 100644
index 0000000000..82c0934e30
--- /dev/null
+++ b/biblio/bibtex/contrib/germbib/document/gerbibtx.tex
@@ -0,0 +1,433 @@
+%macropackage=lplaing
+
+\documentstyle[bibgerm]{article}
+
+\def\tex{{\the\textfont0\TeX}}
+\def\pLaTeX{{\the\textfont0 L\kern-.36em\raise.3ex\hbox{\the\scriptfont0
+A}\kern-.15em T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
+\def\LaTeX{\protect\pLaTeX}
+\def\pBibTeX{{\the\textfont0 B\hbox{\the\scriptfont0 IB}\kern-.1em\TeX}}
+\def\BibTeX{\protect\pBibTeX}
+\def\bibtex{\BibTeX}\def\tex{\TeX}
+\def\latex{\LaTeX}
+\def\dat#1{{\tt #1}}
+\def\bsl{{\tt\char'134}} % '\'
+\def\leerz{{\tt\char'040}} % little 'u' for spaces
+\def\affe{\char'100} % '@'
+\exhyphenpenalty=50 \hyphenpenalty=10 \doublehyphendemerits=50
+\finalhyphendemerits=50 \brokenpenalty=100 \pretolerance=0 \tolerance=2000
+\looseness=0 \linepenalty=10
+\hoffset=-1.0in \textwidth6.4in \oddsidemargin0.8in \evensidemargin0.8in
+\marginparwidth0.6in \marginparsep0.2in \marginparpush1ex
+\topmargin0pt \headheight2.5ex \headsep5ex \textheight9.25in
+\columnsep10pt \columnseprule0pt
+\parindent0pt \parskip2.5ex plus1.5ex minus1.5ex
+\renewcommand{\arraystretch}{1.2}
+\renewcommand{\baselinestretch}{1.1}
+\def\footnoterule{\vfill\kern-3pt \hrule width \textwidth\kern 2.6pt}
+\pagestyle{headings}
+\newlength{\mylena}
+\originalTeX\nonfrenchspacing
+
+\begin{document}
+
+\title{German and international \bibtex ing\\A manual for the 'german' \bibtex\ styles}
+\author{Martin Wallmeier\thanks{Tel.:
+[[0]0\,49]\,(09\,31)\,80\,05\,--\,5\,10}\\ G"obelslehenstr. 1--b\,16\\8700
+W"urzburg\\ West Germany\\e-mail: neuk121@wrzx13.rz.uni-wuerzburg.de}
+\date{20$^{th}$ April 1993}
+\maketitle
+
+\tableofcontents
+
+\section{Introduction}
+
+The original \bibtex\ version 0.99b standard styles allow only English
+references. There are some so called \dat{'German'} styles, but they allow
+only German references. I couldn't find any style beeing able to switch
+between the language for mixed references. In scientific publications you
+will find a lot of English references beside the ones of the country, where
+the publication was written. But it looks awful, if you mix an english
+reference with german expressions, for example:
+\begin{center}\begin{minipage}{.7\textwidth}\raggedright\tt Wilson,
+Braunwald, und Isselbacher, Herausgeber. Harrison's Principles of Internal
+Medicine. Band 1, twelfth Auf{}lage\ldots\end{minipage}\end{center}
+So I tried to write a style being able to switch the language.
+
+\section[Restrictions of and problems with \bibtex]{Restrictions of and
+problems with \bibtex\footnote{Dedicated to Oren Patashnik at Stanford
+University. I hope this will find him anytime.}}
+
+There is a terrific restriction at least in my version of \bibtex: it
+allows only ten (10) global variables of type \dat{STRINGS}. Therefore it
+was impossible to implement a function which would decide whether to switch
+the language and then call a specific function for every country that could
+actualize the contents of these string variables. So the only possible way
+seemed to be to create a series of \tex\ macros.
+
+Another problem occured with \bibtex's built in function
+\verb|add.period$|. This function adds a point, if the last non '\}'
+character is no '.', '!' or '?'. But how to tell \verb|add.period$| that
+the \tex\ macros for abbreviations contain a point, although there is not
+one obvious for \bibtex? The \tex\ macros have one parameter now: If you
+abbreviate editors for example as 'eds.' \verb|add.period$| mustn't set a
+point if the corresponding \tex\ macro is set in the output. So {\tt\bsl
+btxeditorsshort} is defined as follows:\\[.5ex]
+\verb| \def\btxeditorsshort#1{eds#1}|\\[.5ex]
+Now you can write {\tt\bsl btxeditorsshort\{.\}} in the \bibtex\ style file
+and \verb|add.period$| will find a point if {\tt\bsl btxeditorsshort\{.\}}
+is the last expression in the sentence. As you can see this is only
+necessary for those expressions that can stand at the end of a sentence or
+block. 'And' usually will not stay at the end of a sentence. So you can
+define the corresponding macros as pointed abbreviation, if you want to.
+
+I had to face a last problem with the built in function
+\verb|change.case$|. It's similar to the one with \verb|add.period$|. This
+function is also unable to expand the defined \tex\ macros. Therefore I had
+to define always two forms of macros \verb|\btx...| and \verb|\Btx...|
+where the second should be used where something like `The Quick Brown Fox
+Jumps Over The Lazy Dog' is to occure and the first for something like `The
+quick brown fox\ldots' if the expression starts a sentence or `the quick
+brown fox\ldots' if it is used in the middle of a sentence. The {\tt
+change.case\$} function will not be called if a title is going to be
+formatted and {\tt language} is not set to {\tt 'english'} or {\tt
+'USenglish'}. Henceforth you don't have to use '\{\}' braces to avoid {\tt
+chang.case\$} in titles of other languages. Thus typing is much easier.
+Typing comfort could be also improoved very much if \bibtex\ would
+understand umlauts as \tex\ version 3.1 and not only constructions like
+\verb|{\"{a}}|.
+
+All these constructions are tricky and uncomfortable only to bypass or fool
+the built in \bibtex\ functions. Things would be much easier if more global
+string variables could be defined. Then \bibtex\ could format the content
+of the string variables directly and commands like \verb|add.period$| or
+\verb|\cange.case$| would work the same way as if the expression would
+occure in the text.
+
+Now you know about the reasons why I had to make a new \latex\ style
+\dat{bibgerm.sty} for use with the \dat{ger[...].bst} \bibtex\ styles. It
+defines the \tex\ macros mentioned above and listed below.
+
+\section{Implementation}
+
+\bibtex\ was changed in the way that it doesn't place string constants, but
+\tex\ macros into the output for expressions that vary in the different
+languages. So \bibtex\ generates a {\tt\bsl selectlanguage\{...\}} command
+just before the current \verb|\bibitem[...]{...}| if the {\tt language}
+field in the database entry is not empty. There are only a few allowed
+contents for {\tt language}: {\tt 'german'}, {\tt 'austrian'}, {\tt
+'english'}, and {\tt 'USenglish'}, because I'm speaking only German and
+bad English. {\tt 'english'} does the same as {\tt 'USenglish'} at the
+moment. I think there won't be many differences, but I could imagine some
+concerning 'Master's thesis' and 'PhD thesis'. {\tt 'austrian'} does nearly
+the same as {\tt 'german'}, only the month 'January' is different.
+
+It should be not so very difficult to implement other languages for someone
+who is a little bit acquainted to \tex\ or \latex. You probably needn't
+change the \bibtex\ styles, but only to supplement the \dat{bibgerm.sty}
+\latex\ style a little bit.
+
+\subsection{\ifx\undefined\selectfont \else\series{m}\fi\dat{bibgerm.sty}}
+
+The macro \verb|\selectlanguage{...}| of the original \dat{german.sty}
+\cite{partl}switched already things like {\tt 'date'} and {\tt
+'captionnames'}. There are now some new global definitions
+\verb|\bibsgerman|, \verb|\bibsenglish| and \verb|\bibsUSenglish| being
+called by {\tt\bsl selectlanguage\{...\}}. The \verb|\bibs...| macros
+redefine the meanings for a list of \tex\ macros according to the current
+language:
+\settowidth{\mylena}{\tt\bsl def\bsl ...short\#\#1\{...\#\#1\}}
+\begin{center}\begin{tabular}{|l|p{.67\textwidth}@{}l|}\hline
+\multicolumn{3}{|c|}{General Aspects}\\\hline
+\hbox to\mylena{\tex\ macro\hfil} & Meaning &\\\hline
+{\tt\bsl def\bsl btx...\{...\}} & \raggedright Expression in lower case
+letters for use in the middle of a sentence (e.\ g.\ 'volume').&\\
+{\tt\bsl def\bsl Btx...\{...\}} & \raggedright Expression with the first
+letter capitalized for use at the beginning of a sentence (e.\ g.\
+'Volume') or formatted like a booktitle (e.\ g.\ 'Technical Report
+037').&\\
+{\tt\bsl def\bsl ...short\#\#1\{...\#\#1\}} & \raggedright Mostly
+abbreviated expression. The tricky construction {\tt\#\#1} was explained
+above. You need double {\tt'\#'} because the macros are defined inside the
+global definition of the {\tt\bsl bibs...} macro. The parameter {\tt\#\#1}
+is used to set the last point of an abbreviation that can occure at the end
+of a sentence (e.\ g.\ {\tt\bsl def\bsl btxetalshort\#\#1\{et~al\#\#1\}}).
+If you don't want to have a point at the end you skip the {\tt\#\#1} inside
+the braces.&\\
+{\tt\bsl def\bsl ...long\{...\}} & \raggedright Expression used for the
+long i.\,\,e.\ unabbreviated form (e.\ g.\ {\tt\bsl def\bsl btxetallong\{
+et~alii\}}). &\\\hline
+\multicolumn{3}{|c|}{Details}\\\hline
+\hbox to\mylena{\tex\ macro\hfil} & meaning &\\\hline
+{\tt\bsl def\bsl btxetalshort\#\#1} & \raggedright Used after authors or
+editors, if there is {\tt 'and othrers'} at the end of the corresponding
+\bibtex\ database entry field (defined as {\tt 'et~al\#\#1{}'}). This
+expression might finish a sentence or block; so {\tt '\#\#1'} is necessary
+for {\tt 'add.period\$'}. &\\
+{\tt\bsl def\bsl btxetallong} & \raggedright Unabbreviated form of the
+above (defined as {\tt 'et~alii'}). &\\
+{\tt\bsl def\bsl btxandshort} & \raggedright Used before the last author or
+editor if there are more than one (defined as {\tt 'and'}). &\\
+{\tt\bsl def\bsl btxandlong} & \raggedright Unabbreviated form of the above
+(defined as {\tt 'and'}). &\\
+{\tt\bsl def\bsl btxinshort} & \raggedright Used with entry type {\tt
+@incollection} or {\tt @inproceedings} as introduction for the reference to
+the superior work (defined as {\tt 'in'}). &\\
+{\tt\bsl def\bsl btxinlong} & \raggedright Unabbreviated form of the above
+(defined as {\tt 'in'}). &\\
+{\tt\bsl def\bsl Btxinshort} & \raggedright For use at the beginning of a
+sentence (defined as {\tt 'In'}). &\\
+{\tt\bsl def\bsl Btxinlong} & \raggedright Unabbreviated form of the above
+(defined as {\tt 'In'}). &\\
+{\tt\bsl def\bsl btxofseriesshort} & \raggedright Used after the volume
+number before the title of the book series (defined as {\tt 'of'}). &\\
+{\tt\bsl def\bsl btxofserieslong} & \raggedright Unabbreviated form of the
+above (defined as {\tt 'of'}). &\\
+{\tt\bsl def\bsl btxinseriesshort} & \raggedright Used for a part of a book
+with a separate title. If there is a number given it is placed before the
+title of the series (defined as {\tt 'in'}). &\\
+{\tt\bsl def\bsl btxinserieslong} & \raggedright Unabbreviated form of the
+above (defined as {\tt 'in'}). &\\
+\hline\end{tabular}
+
+\begin{tabular}{|l|p{.67\textwidth}@{}l|}\hline
+\hbox to\mylena{\tex\ macro\hfil} & meaning &\\\hline
+{\tt\bsl def\bsl btxeditorshort\#\#1} & \raggedright Abbreviation for a
+single {\em editor\/} that can be placed at the end of the editor block
+(defined as {\tt 'ed\#\#1{}'}). &\\
+{\tt\bsl def\bsl btxeditorlong} & \raggedright Unabbreviated form of the
+above (defined as {\tt 'editor'}). &\\
+{\tt\bsl def\bsl btxeditorsshort\#\#1} & \raggedright Equivalent of the
+above for more than one editor (defined as {\tt 'eds\#\#1{}'}). &\\
+{\tt\bsl def\bsl btxeditorslong} & \raggedright Unabbreviated form of the
+above (defined as {\tt 'editors'}). &\\
+{\tt\bsl def\bsl Btxeditorshort\#\#1} & \raggedright This and the following
+macros could be used by a style file that would start a bibliography entry
+with something like 'Ed.:\ \ldots' (defined as {\tt 'Ed\#\#1{}'}). &\\
+{\tt\bsl def\bsl Btxeditorlong} & \raggedright Unabbreviated form of the
+above (defined as {\tt 'Editor'}). &\\
+{\tt\bsl def\bsl Btxeditorsshort\#\#1} & \raggedright Plural of the above
+(defined as {\tt 'Eds\#\#1{}'}). &\\
+{\tt\bsl def\bsl Btxeditorslong} & \raggedright Unabbreviated form of the
+above (defined as {\tt 'Editors'}). &\\
+{\tt\bsl def\bsl btxvolumeshort\#\#1} & \raggedright Abbreviation for {\em
+volume\/} for use after a comma, i.\,\,e.\ in the middle of a sentence
+(defined as {\tt 'vol\#\#1{}'}). &\\
+{\tt\bsl def\bsl btxvolumelong} & \raggedright Unabbreviated form of the
+above (defined as {\tt 'volume'}). &\\
+{\tt\bsl def\bsl Btxvolumeshort\#\#1} & \raggedright For use at the
+beginning of a sentence (defined as {\tt 'Vol\#\#1{}'}). &\\
+{\tt\bsl def\bsl Btxvolumelong} & \raggedright Unabbreviated form of the
+above (defined as {\tt 'Volume'}). &\\
+{\tt\bsl def\bsl btxnumbershort\#\#1} & \raggedright Abbreviation for {\em
+number\/} if used in the middle of a sentence (defined as {\tt
+'no\#\#1{}'}). &\\
+{\tt\bsl def\bsl btxnumberlong} & \raggedright Unabbreviated form of the
+above (defined as {\tt 'number'}). &\\
+{\tt\bsl def\bsl Btxnumbershort\#\#1} & \raggedright For use at the
+beginning of a sentence (defined as {\tt 'No\#\#1{}'}). &\\
+{\tt\bsl def\bsl Btxnumberlong} & \raggedright Unabbreviated form of the
+above (defined as {\tt 'Number'}). &\\
+{\tt\bsl def\bsl btxeditionshort\#\#1} & \raggedright Abbreviation for {\em
+edition\/} that can finish a sentence or block (defined as {\tt
+'ed\#\#1{}'}). &\\
+{\tt\bsl def\bsl btxeditionlong} & \raggedright Unabbreviated form of the
+above (defined as {\tt 'edition'}). &\\
+{\tt\bsl def\bsl Btxeditionshort\#\#1} & \raggedright For use at the
+beginning of a sentence (defined as {\tt 'Ed\#\#1{}'}). &\\
+{\tt\bsl def\bsl Btxeditionlong} & \raggedright Unabbreviated form of the
+above (defined as {\tt 'Edition'}). &\\
+{\tt\bsl def\bsl btxchaptershort\#\#1} & \raggedright Abbreviation for {\em
+chapter\/} which might be placed at the end of a sentence if it would be
+used after first, second, etc. (defined as {\tt 'chap\#\#1{}'}). &\\
+{\tt\bsl def\bsl btxchapterlong} & \raggedright Unabbreviated form of the
+above (defined as {\tt 'chapter'}). &\\
+{\tt\bsl def\bsl Btxchaptershort\#\#1} & \raggedright For use at the
+beginning of a sentence (defined as {\tt 'Chap\#\#1{}'}). &\\
+{\tt\bsl def\bsl Btxchapterlong} & \raggedright Unabbreviated form of the
+above (defined as {\tt 'Chapter'}). &\\
+{\tt\bsl def\bsl btxpageshort\#\#1} & Abbreviation for {\em page\/}
+\raggedright (defined as {\tt 'p\#\#1{}'}). &\\
+{\tt\bsl def\bsl btxpagelong} & \raggedright Unabbreviated form of the
+above (defined as {\tt 'page'}). &\\
+{\tt\bsl def\bsl btxpagesshort\#\#1} & \raggedright If there are more than
+one {\em page\/} this abbreviation will be used (defined as {\tt
+'pp\#\#1{}'}). &\\
+{\tt\bsl def\bsl btxpageslong} & \raggedright Unabbreviated form of the
+above (defined as {\tt 'pages'}). &\\
+{\tt\bsl def\bsl Btxpageshort\#\#1} & \raggedright For use at the beginning
+of a sentence (defined as {\tt 'P\#\#1{}'}). &\\
+{\tt\bsl def\bsl Btxpagelong} & \raggedright Unabbreviated form of the
+above (defined as {\tt 'Page'}). &\\
+{\tt\bsl def\bsl Btxpagesshort\#\#1} & \raggedright Plural of the above
+(defined as {\tt 'Pp\#\#1{}'}). &\\
+{\tt\bsl def\bsl Btxpageslong} & \raggedright Unabbreviated form of the
+above (defined as {\tt 'Pages'}). &\\
+\hline\end{tabular}
+
+\begin{tabular}{|l|p{.67\textwidth}@{}l|}\hline
+\hbox to\mylena{\tex\ macro\hfil} & Meaning &\\\hline
+{\tt\bsl def\bsl btxmastthesis} & \raggedright Expression that will be used
+by default if there is given no \bibtex\ database entry field {\tt type} in
+a {\tt @masterthesis} entry (defined as {\tt 'Master's thesis'}). &\\
+{\tt\bsl def\bsl btxphdthesis} & \raggedright Equivalent of the above for
+the {\tt @phdthesis} entry (defined as {\tt 'PhD thesis'}). &\\
+{\tt\bsl def\bsl btxtechrepshort\#\#1} & \raggedright Equivalent of the
+above for abbreviated {\tt @techreport} entry formatted like the title of
+an article or journal, i.\,\,e.\ only the first letter capitalized (defined
+as {\tt 'Techn.\ rep\#\#1{}'}). &\\
+{\tt\bsl def\bsl btxtechreplong} & \raggedright Unabbreviated form of the
+above (defined as {\tt 'Technical report'}). &\\
+{\tt\bsl def\bsl Btxtechrepshort\#\#1} & \raggedright Same as the above but
+formatted like a booktitle, i.\,\,e.\ all words capitalized except articles
+and conjunctions like 'the' or 'of', etc. This one is used if the number
+field of the {\tt @techreport} entry is not empty (defined as {\tt 'Techn.\
+Rep\#\#1{}'}). &\\
+{\tt\bsl def\bsl Btxtechreplong} & \raggedright Unabbreviated form of the
+above (defined as {\tt 'Technical Report'}). &\\
+{\tt\bsl def\bsl btxmonjanshort\#\#1} & \raggedright Abbreviated names of
+the months (defined as {\tt 'Jan\#\#1{}'}). &\\
+{\tt\bsl def\bsl btxmonfebshort\#\#1} & \raggedright (defined as {\tt
+'Feb\#\#1{}'}). &\\
+{\tt\bsl def\bsl btxmonmarshort\#\#1} & \raggedright (defined as {\tt
+'Mar\#\#1{}'}). &\\
+{\tt\bsl def\bsl btxmonaprshort\#\#1} & \raggedright (defined as {\tt
+'Apr\#\#1{}'}). &\\
+{\tt\bsl def\bsl btxmonmayshort\#\#1} & \raggedright (defined as {\tt
+'May'}). &\\
+{\tt\bsl def\bsl btxmonjunshort\#\#1} & \raggedright (defined as {\tt
+'June'}). &\\
+{\tt\bsl def\bsl btxmonjulshort\#\#1} & \raggedright (defined as {\tt
+'July'}). &\\
+{\tt\bsl def\bsl btxmonaugshort\#\#1} & \raggedright (defined as {\tt
+'Aug\#\#1{}'}). &\\
+{\tt\bsl def\bsl btxmonsepshort\#\#1} & \raggedright (defined as {\tt
+'Sept\#\#1{}'}). &\\
+{\tt\bsl def\bsl btxmonoctshort\#\#1} & \raggedright (defined as {\tt
+'Oct\#\#1{}'}). &\\
+{\tt\bsl def\bsl btxmonnovshort\#\#1} & \raggedright (defined as {\tt
+'Nov\#\#1{}'}). &\\
+{\tt\bsl def\bsl btxmondecshort\#\#1} & \raggedright (defined as {\tt
+'Dec\#\#1{}'}). &\\
+{\tt\bsl def\bsl btxmonjanlong} & \raggedright Unabbreviated names of the
+months (defined as {\tt 'January'}). &\\
+{\tt\bsl def\bsl btxmonfeblong} & \raggedright (defined as {\tt
+'February'}). &\\
+{\tt\bsl def\bsl btxmonmarlong} & \raggedright (defined as {\tt 'March'}).
+&\\
+{\tt\bsl def\bsl btxmonaprlong} & \raggedright (defined as {\tt 'April'}).
+&\\
+{\tt\bsl def\bsl btxmonmaylong} & \raggedright (defined as {\tt 'May'}).
+&\\
+{\tt\bsl def\bsl btxmonjunlong} & \raggedright (defined as {\tt 'June'}).
+&\\
+{\tt\bsl def\bsl btxmonjullong} & \raggedright (defined as {\tt 'July'}).
+&\\
+{\tt\bsl def\bsl btxmonauglong} & \raggedright (defined as {\tt 'August'}).
+&\\
+{\tt\bsl def\bsl btxmonseplong} & \raggedright (defined as {\tt
+'September'}). &\\
+{\tt\bsl def\bsl btxmonoctlong} & \raggedright (defined as {\tt
+'October'}). &\\
+{\tt\bsl def\bsl btxmonnovlong} & \raggedright (defined as {\tt
+'November'}). &\\
+{\tt\bsl def\bsl btxmondeclong} & \raggedright (defined as {\tt
+'December'}). &\\
+\hline\end{tabular}\end{center}
+
+For more details about macro programming refer to \cite{texbook}.
+
+\subsection{Available \bibtex\ styles and file list}
+
+All \bibtex\ standard styles are available although I've changed their
+design a little bit. Furthermore, I adjusted the \dat{'apalike.bst'} which
+allows references like '(Jones 1986)'. The names of the 'german' \bibtex\
+styles, their corresponding standards, and the remaining files are listed
+in the following table:
+\begin{center}\begin{tabular}{|l|l|}\hline
+\multicolumn{2}{|c|}{\bibtex\ Styles and Files}\\\hline
+'german' & Standard \\\hline
+{\tt gerabbrv.bst} & {\tt abbrv.bst} \\
+{\tt geralpha.bst} & {\tt alpha.bst} \\
+{\tt gerplain.bst} & {\tt plain.bst} \\
+{\tt gerunsrt.bst} & {\tt unsrt.bst} \\\hline
+{\tt gerapali.bst} & {\tt apalike.bst} \\\hline
+{\tt gerxampl.bib} & {\tt xampl.bib} \\\hline\hline
+\multicolumn{2}{|c|}{\latex\ Styles}\\\hline
+'german' & Standard \\\hline
+{\tt bibgerm.sty} & {\tt german.sty} \\
+{\tt apalike.sty} & {\tt apalike.sty} \\\hline\hline
+\multicolumn{2}{|c|}{Manual for \latex}\\\hline
+{\tt gerbibtx.tex} & {\sc Manual} and \\
+{\tt gerbibtx.bib} & {\sc Bibliography}\\\hline\hline
+\multicolumn{2}{|c|}{Original Manuals}\\\hline
+{\tt btxdoc.tex} & For general users\\
+{\tt btxhak.tex} & For style designers\\
+{\tt btxdoc.bib} & {\sc Bibliography}\\\hline
+\end{tabular}\end{center}
+
+If you want to write \bibtex\ styles on your own, you are absolutely in
+need of \cite{bibtex.a} and \cite{bibtex.b}. These documents should be as
+files in your distribution of \bibtex. If they are not, complain violently
+to the distributor.
+
+\subsection{Changes to the standard styles}
+
+There are two new functions: {\tt after.authors} and {\tt smallcaps}. The
+last is similar to {\tt emphasize}. It sets the authors or editors in {\sc
+Small Caps}. If you don't like that, you can change it to an empty
+function. The other one sets the new 'state' {\tt before.title}. These
+'states' are used by the different {\tt output} routines to decide what
+punctuation is going to be placed (most times point or comma) before the
+string on the stack. If the current 'state' is {\tt before.title} a colon
+is placed before the title of what ever, i.\,\,e. regularly after authors
+and editors. If you don't like this either, you can copy the function {\tt
+new.block} to {\tt after.authors}. Then a point will be set instead of a
+colon. {\tt gerapali.bst} behaves in this way, because a colon after braces
+looks a little bit strange.
+
+I've changed also the format of the authors' and editors' names to my
+personal favorites:
+
+\begin{center}\begin{minipage}{.7\textwidth}\raggedright\tt Wallmeier, M.
+van, O. Patashnik, and L. van Lamport (eds.): \bibtex ing is
+great\ldots\end{minipage}\end{center}
+
+You can reset the original status by comparing the lines where the function
+{\tt format.name\$} occures with the according lines in the original
+standard \bibtex\ styles. Nevertheless you should be familar with \bibtex's
+name formatting \cite[section 5.4]{bibtex.b}.
+
+I'm not in access to the original \latex\ standard work \cite{lamport}. But
+\cite[appendix B]{kopka} is marked as an almost extensive translation from
+\cite{lamport}. If this is true, there are a few differences concerning the
+optional fields in some entry types. They concern the additional field {\tt
+number} that is used by the entry types {\tt @book}, {\tt @inbook}, {\tt
+@incollection}, {\tt @inproceedings}, and {\tt @proceedings} and the
+additional field {\tt tpye} that is used in {\tt @masterthesis} and {\tt
+@phdthesis}.
+
+Those were of most importance for writing {\tt bibgerm.sty} and the {\tt
+ger[...].bst} files, but there are some more \cite[section 2.2 'Changes to
+the standard styles']{bibtex.a}.
+
+
+\section{Changes}
+
+\begin{description}
+\item[1993, April 20th:] \verb|bibgerm.sty| changed for use with `german.sty'
+version 2.4. In detail: redefine `\verb|\selectlanguage|' or
+`\verb|\p@selectlanguage|' depending on version of `german.sty'.
+\end{description}
+
+\section{Known bugs}
+
+\begin{description}
+\item[german.sty:] Probably `\verb|bibgerm.sty|' won't work with `german.sty'
+version 3.
+\end{description}
+
+\bibliography{gerbibtx}\bibliographystyle{gerplain}
+
+\end{document}
+
diff --git a/biblio/bibtex/contrib/germbib/for_tex/apalike.tex b/biblio/bibtex/contrib/germbib/for_tex/apalike.tex
new file mode 100644
index 0000000000..8f2ac454dd
--- /dev/null
+++ b/biblio/bibtex/contrib/germbib/for_tex/apalike.tex
@@ -0,0 +1,88 @@
+%% @texfile{
+%% author = "Oren Patashnik",
+%% version = "0.99a",
+%% date = "12 Dec 1990",
+%% filename = "apalike.tex",
+%% address = "Please use electronic mail",
+%% checksum = "88 707 4412",
+%% email = "opbibtex@neon.stanford.edu",
+%% codetable = "ISO/ASCII",
+%% supported = "yes",
+%% docstring = "Defines macros that make apalike work with plain TeX",
+%% }
+% apalike.tex, version 0.99a, for btxmac 0.99f, BibTeX 0.99c, TeX 3.0 or later.
+% Copyright (C) 1990; all rights reserved.
+% You may copy this file provided: that it's accompanied by btxmac.tex;
+% and that either you make absolutely no changes to your copy, or if you
+% do make changes, (1) you name the file something other than
+% `apalike.tex' and you remove all occurrences of `apalike.tex' from the
+% file, (2) you put, somewhere in the first twenty lines of the file,
+% your name, along with an electronic address at which others who might
+% use the file may reach you, and (3) you remove each occurrence of
+% Oren's name and electronic address from this file. These restrictions
+% help ensure that all standard versions of these macros are identical,
+% and that Oren doesn't get deluged with inappropriate e-mail.
+%
+% This file, apalike.tex, contains TeX macros that let you use the
+% apalike bibliography style with plain TeX. In essence, this file
+% provides the Tex counterpart to apalike.sty, the LaTeX style file
+% required for using the apalike bibliography style. Please report any
+% bugs (outright goofs, misfeatures, or unclear documentation) to Oren
+% Patashnik (opbibtex@neon.stanford.edu). These macros will become
+% frozen shortly after BibTeX version 1.00 is released.
+%
+% Editorial note (i.e., flame):
+% Many journals require a style like `apalike', but I strongly, strongly,
+% strongly recommend that you not use it if you have a choice---use
+% something like `plain' instead. Mary-Claire van Leunen (A Handbook for
+% Scholars, Knopf, 1979) argues convincingly that a style like `plain'
+% encourages better writing than one like `apalike'. Furthermore the best
+% argument for using an author-date style like `apalike'---that it's "the
+% most practical" (The Chicago Manual of Style, University of Chicago
+% Press, thirteenth edition, 1982, pages 400--401)---falls flat on its
+% face with the new computer-typesetting technology. For instance page 401
+% of the Chicago Manual anachronistically states "The chief disadvantage of
+% [a style like `plain'] is that additions or deletions cannot be made
+% after the manuscript is typed without changing numbers in both text
+% references and list." With LaTeX the disadvantage obviously evaporates.
+% Moreover, apalike indulges in what I think is an execrable practice:
+% automatically abbreviating first names. It's true that there aren't very
+% many D. E. Knuth's around, so abbreviating his first name doesn't cause
+% much confusion. But I've personally known three D. E. Smith's, two of
+% whom have published in the same field; abbreviating their first names
+% *is* confusing. Especially with all the citation indexes nowadays, it's
+% better to give first names exactly as they appear in the source being
+% cited. Automatically abbreviating first names is simply bad scholarship.
+% (End of flame.)
+%
+% To use these macros you need the btxmac macros, whose purpose is to
+% let you use BibTeX with plain TeX (rather than with LaTeX); the file
+% btxmac.tex explains those macros in detail. You simply \input apalike
+% right after you \input btxmac to invoke these macros.
+%
+%
+% HISTORY
+%
+% Oren Patashnik wrote the original version of these macros in December
+% 1990, for use with btxmac.tex.
+%
+% 12-Dec-90 Version 0.99a, first general release.
+%
+%
+% Here, finally (I swear, I thought he was never gonna stop), are the
+% macros. The first bunch makes the label empty and sets 2em of
+% hanging indentation for each entry.
+%
+\def\biblabelprint#1{\noindent}%
+\def\biblabelcontents#1{}%
+\def\bblhook{\biblabelextrahang = 2em}%
+%
+%
+% And the last bunch formats an in-text citation: parens around the
+% entire citation; semicolons separating individual references; and a
+% comma between a reference and its note (like `page 41') if it exists.
+%
+\def\printcitestart{(}% left paren
+\def\printcitefinish{)}% right parent
+\def\printbetweencitations{; }% semicolon, space
+\def\printcitenote#1{, #1}% comma, space, note (if it exists)
diff --git a/biblio/bibtex/contrib/germbib/styles/apalike.sty b/biblio/bibtex/contrib/germbib/styles/apalike.sty
new file mode 100644
index 0000000000..fc5fefadb9
--- /dev/null
+++ b/biblio/bibtex/contrib/germbib/styles/apalike.sty
@@ -0,0 +1,30 @@
+\def\@cite#1#2{(#1\if@tempswa , #2\fi)}
+\def\@biblabel#1{}
+
+\newlength{\bibhang}
+\setlength{\bibhang}{2em}
+
+\@ifundefined{chapter}{\def\thebibliography#1{\section*{\refname\@mkboth
+ {\sl\uppercase{\refname}}{\sl\uppercase{\refname}}}\list
+ {\relax}{\setlength{\labelsep}{0em}
+ \setlength{\itemindent}{-\bibhang}
+ \setlength{\leftmargin}{\bibhang}}
+ \def\newblock{\hskip .11em plus .33em minus .07em}
+ \sloppy\clubpenalty4000\widowpenalty4000
+ \sfcode`\.=1000\relax}}%
+{\def\thebibliography#1{\chapter*{\bibname\@mkboth
+ {\sl\uppercase{\bibname}}{\sl\uppercase{\bibname}}}\list
+ {\relax}{\setlength{\labelsep}{0em}
+ \setlength{\itemindent}{-\bibhang}
+ \setlength{\leftmargin}{\bibhang}}
+ \def\newblock{\hskip .11em plus .33em minus .07em}
+ \sloppy\clubpenalty4000\widowpenalty4000
+ \sfcode`\.=1000\relax}}
+
+\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
+ \def\@citea{}\@cite{\@for\@citeb:=#2\do
+ {\@citea\def\@citea{; }\@ifundefined
+ {b@\@citeb}{{\bf ?}\@warning
+ {Citation `\@citeb' on page \thepage \space undefined}}%
+{\csname b@\@citeb\endcsname}}}{#1}}
+
diff --git a/biblio/bibtex/contrib/germbib/styles/bibgerm.sty b/biblio/bibtex/contrib/germbib/styles/bibgerm.sty
new file mode 100644
index 0000000000..0087cc2fde
--- /dev/null
+++ b/biblio/bibtex/contrib/germbib/styles/bibgerm.sty
@@ -0,0 +1,312 @@
+
+%% \ifx\germanTeX\undefined\input german.tex\fi % MW 20.04.1993 changed to
+%\ifx\germanTeX\undefined\input german.sty\fi % AS 26.04.1995 changed to
+\newif\ifoldstyle
+\ifx\documentclass\undefined % plain TeX or LaTeX 2.09
+ \oldstyletrue\else\oldstylefalse\fi
+\ifoldstyle % plain TeX or LaTeX 2.09
+ \ifx\germanTeX\undefined
+ \ifx\ngermanTeX\undefined % AS 09.08.2000
+ \input german.sty\fi\fi
+\else % LaTeX 2e
+ \NeedsTeXFormat{LaTeX2e}
+ \ProvidesPackage{bibgerm}[2000/08/18 v0.1 %
+ Support for mixed language bibliographies]
+ \AtBeginDocument{% HH 08.08.2000
+ \@ifpackageloaded{babel}{}{%
+ \@ifpackageloaded{german}{}{%
+ \@ifpackageloaded{ngerman}{}{%
+ \RequirePackage{german}[1995/01/20]}}}}
+\fi
+
+\message{** Macros for german `BibTeX'ing added to Style Option `german' %
+ 20 Apr 1993 **}
+\message{** idea and languages `german' and `USenglish' implemented %
+ by M. Wallmeier **}
+\message{** Modified for LaTeX 2e and german.sty 2.5b %
+ by A. Scherer 1 Nov 1995 **}
+\message{** Modified for ngerman.sty and babel.sty %
+ by H. Harders 21 August 2000 **}
+
+
+\gdef\bibsgerman{% \btx... -> im Satz verwendet bzw. klein geschrieben
+\def\btxetalshort##1{et~al##1{}}%
+\def\btxetallong##1{et~alii}%
+\def\btxandshort##1{und}%
+\def\btxandlong##1{und}%
+\def\btxinlong##1{in:}%
+\def\btxinshort##1{in:}%
+\def\btxofseriesshort##1{d.\ Reihe}%
+\def\btxinseriesshort##1{in}%
+\def\btxofserieslong##1{der Reihe}%
+\def\btxinserieslong##1{in}%
+\def\btxeditorshort##1{Hrsg##1{}}%
+\def\btxeditorlong##1{Herausgeber}%
+\def\btxeditorsshort##1{Hrsg##1{}}%
+\def\btxeditorslong##1{Herausgeber}%
+\def\btxvolumeshort##1{Bd##1{}}%
+\def\btxvolumelong##1{Band}%
+\def\btxnumbershort##1{Nr##1{}}%
+\def\btxnumberlong##1{Nummer}%
+\def\btxeditionshort##1{Aufl##1{}}%
+\def\btxeditionlong##1{Au\discretionary{f-}{l}{f\null l}age}%
+\def\btxchaptershort##1{Kap##1{}}%
+\def\btxchapterlong##1{Kapitel}%
+\def\btxpageshort##1{S##1{}}%
+\def\btxpagelong##1{Seite}%
+\def\btxpagesshort##1{S##1{}}%
+\def\btxpageslong##1{Seiten}%
+\def\btxmastthesis##1{Diplomarbeit}%
+\def\btxphdthesis##1{Doktorarbeit}%
+\def\btxtechrepshort##1{Techn.\ Ber##1{}}%
+\def\btxtechreplong##1{Technischer Bericht}%
+\def\btxmonjanlong##1{Januar}%
+\def\btxmonfeblong##1{Februar}%
+\def\btxmonmarlong##1{M{{\"a}}rz}%
+\def\btxmonaprlong##1{April}%
+\def\btxmonmaylong##1{Mai}%
+\def\btxmonjunlong##1{Juni}%
+\def\btxmonjullong##1{Juli}%
+\def\btxmonauglong##1{August}%
+\def\btxmonseplong##1{September}%
+\def\btxmonoctlong##1{Oktober}%
+\def\btxmonnovlong##1{November}%
+\def\btxmondeclong##1{Dezember}%
+\def\btxmonjanshort##1{Jan##1{}}%
+\def\btxmonfebshort##1{Feb##1{}}%
+\def\btxmonmarshort##1{M{{\"a}}rz}%
+\def\btxmonaprshort##1{Apr##1{}}%
+\def\btxmonmayshort##1{Mai}%
+\def\btxmonjunshort##1{Juni}%
+\def\btxmonjulshort##1{Juli}%
+\def\btxmonaugshort##1{Aug##1{}}%
+\def\btxmonsepshort##1{Sep##1{}}%
+\def\btxmonoctshort##1{Okt##1{}}%
+\def\btxmonnovshort##1{Nov##1{}}%
+\def\btxmondecshort##1{Dez##1{}}%
+% \Btx... -> Satzanfang bzw. gro{\ss} geschrieben.
+\def\Btxinlong##1{In:}%
+\def\Btxinshort##1{In:}%
+\def\Btxeditorshort##1{\btxeditorshort##1{}}%
+\def\Btxeditorlong{\btxeditorlong}%
+\def\Btxeditorsshort##1{\btxeditorsshort##1{}}%
+\def\Btxeditorslong{\btxeditorslong}%
+\def\Btxvolumeshort##1{\btxvolumeshort##1{}}%
+\def\Btxvolumelong{\btxvolumelong}%
+\def\Btxnumbershort##1{\btxnumbershort##1{}}%
+\def\Btxnumberlong{\btxnumberlong}%
+\def\Btxeditionshort##1{\btxeditionshort##1{}}%
+\def\Btxeditionlong{\btxeditionlong}%
+\def\Btxchaptershort##1{\btxchaptershort##1{}}%
+\def\Btxchapterlong{\btxchapterlong}%
+\def\Btxpageshort##1{\btxpageshort##1{}}%
+\def\Btxpagelong{\btxpagelong}%
+\def\Btxpagesshort##1{\btxpagesshort##1{}}%
+\def\Btxpageslong{\btxpageslong}%
+\def\Btxtechrepshort##1{\btxtechrepshort##1{}}%
+\def\Btxtechreplong{\btxtechreplong}%
+}
+\gdef\bibsaustrian{%
+ \bibsgerman%
+ \def\btxmonjanlong##1{J{\"a}nner}%
+}
+\gdef\bibsngerman{\bibsgerman}
+\gdef\bibsnaustrian{\bibsaustrian}
+%
+\gdef\bibsUSenglish{% \btx... -> im Satz verwendet bzw. klein geschrieben
+\def\btxetalshort##1{et~al##1{}}%
+\def\btxetallong##1{et~alii}%
+\def\btxandshort##1{and}%
+\def\btxandlong##1{and}%
+\def\btxinlong##1{in}%
+\def\btxinshort##1{in}%
+\def\btxofseriesshort##1{of}%
+\def\btxinseriesshort##1{in}%
+\def\btxofserieslong##1{of}%
+\def\btxinserieslong##1{in}%
+\def\btxeditorshort##1{ed##1{}}%
+\def\btxeditorlong##1{editor}%
+\def\btxeditorsshort##1{eds##1{}}%
+\def\btxeditorslong##1{editors}%
+\def\btxvolumeshort##1{vol##1{}}%
+\def\btxvolumelong##1{volume}%
+\def\btxnumbershort##1{no##1{}}%
+\def\btxnumberlong##1{number}%
+\def\btxeditionshort##1{ed##1{}}%
+\def\btxeditionlong##1{edition}%
+\def\btxchaptershort##1{chap##1{}}%
+\def\btxchapterlong##1{chapter}%
+\def\btxpageshort##1{p##1{}}%
+\def\btxpagelong##1{page}%
+\def\btxpagesshort##1{pp##1{}}%
+\def\btxpageslong##1{pages}%
+\def\btxmastthesis##1{Master's thesis}%
+\def\btxphdthesis##1{PhD thesis}%
+\def\btxtechrepshort##1{Techn.\ rep##1{}}%
+\def\btxtechreplong##1{Technical report}%
+\def\btxmonjanlong##1{January}%
+\def\btxmonfeblong##1{February}%
+\def\btxmonmarlong##1{March}%
+\def\btxmonaprlong##1{April}%
+\def\btxmonmaylong##1{May}%
+\def\btxmonjunlong##1{June}%
+\def\btxmonjullong##1{July}%
+\def\btxmonauglong##1{August}%
+\def\btxmonseplong##1{September}%
+\def\btxmonoctlong##1{October}%
+\def\btxmonnovlong##1{November}%
+\def\btxmondeclong##1{December}%
+\def\btxmonjanshort##1{Jan##1{}}%
+\def\btxmonfebshort##1{Feb##1{}}%
+\def\btxmonmarshort##1{Mar##1{}}%
+\def\btxmonaprshort##1{Apr##1{}}%
+\def\btxmonmayshort##1{May}%
+\def\btxmonjunshort##1{June}%
+\def\btxmonjulshort##1{July}%
+\def\btxmonaugshort##1{Aug##1{}}%
+\def\btxmonsepshort##1{Sept##1{}}%
+\def\btxmonoctshort##1{Oct##1{}}%
+\def\btxmonnovshort##1{Nov##1{}}%
+\def\btxmondecshort##1{Dec##1{}}%
+% \Btx... -> Satzanfang bzw. gro{\ss} geschrieben.
+\def\Btxinlong##1{In}%
+\def\Btxinshort##1{In}%
+\def\Btxeditorshort##1{Ed##1{}}%
+\def\Btxeditorlong##1{Editor}%
+\def\Btxeditorsshort##1{Eds##1{}}%
+\def\Btxeditorslong##1{Editors}%
+\def\Btxvolumeshort##1{Vol##1{}}%
+\def\Btxvolumelong##1{Volume}%
+\def\Btxnumbershort##1{No##1{}}%
+\def\Btxnumberlong##1{Number}%
+\def\Btxeditionshort##1{Ed##1{}}%
+\def\Btxeditionlong##1{Edition}%
+\def\Btxchaptershort##1{Chap##1{}}%
+\def\Btxchapterlong##1{Chapter}%
+\def\Btxpageshort##1{P##1{}}%
+\def\Btxpagelong##1{Page}%
+\def\Btxpagesshort##1{Pp##1{}}%
+\def\Btxpageslong##1{Pages}%
+\def\Btxtechrepshort##1{Techn.\ Rep##1{}}%
+\def\Btxtechreplong##1{Technical Report}%
+}
+\gdef\bibsenglish{%
+ \bibsUSenglish%
+%perhaps there is something different for the
+%\btx...thesis commands: I'm german -> thus I don't know so exactly!
+}
+\gdef\bibsamerican{\bibsUSenglish}
+
+% MW 20.04.1993 changed to \gdef\p@selectlanguage for german.sty v2.4
+% AS 26.04.1995 changed for german.sty v2.5b
+
+\newif\ifgermbibgerman
+
+\ifoldstyle % plain TeX or LaTeX 2.09
+ \ifx\undefined\p@selectlanguage% wenn german.sty 2.3d,e
+ \gdef\selectlanguage#1{%
+ \expandafter\ifcase #1\relax
+ \dateUSenglish \captionsenglish \bibsUSenglish \or
+ \dategerman \captionsgerman \bibsgerman \or
+ \dateaustrian \captionsgerman \bibsaustrian \or
+ \datefrench \captionsfrench \or
+ \dateenglish \captionsenglish \bibsenglish \fi}
+ \else
+ \ifx\undefined\grmn@originalTeX % andernfalls, wenn german.sty 2.4a, 3.0
+ \gdef\p@selectlanguage#1{\relax \original@TeX
+ \expandafter\ifx\csname l@#1\endcsname\relax
+ \errhelp{Your command will be ignored, type <return> to proceed}%
+ \errmessage{You haven't defined the language #1 yet}%
+ \else
+ \edef\original@TeX{\csname noextras#1\endcsname
+ \let\noexpand\original@TeX\relax}%
+ \csname date#1\endcsname
+ \csname captions#1\endcsname
+ \csname extras#1\endcsname
+ \csname bibs#1\endcsname
+ \language \csname l@#1\endcsname\relax
+ \fi}
+ \else % german.sty 2.5b
+ \def\p@selectlanguage#1{\relax
+ \expandafter\ifx\csname l@#1\endcsname\relax
+ \errhelp{Your command will be ignored, type <return> to proceed}%
+ \errmessage{You haven't defined the language #1 yet}%
+ \else
+ \grmn@originalTeX
+ \edef\grmn@originalTeX{\csname noextras#1\endcsname
+ \def\noexpand\grmn@originalTeX{}}%
+ \csname date#1\endcsname
+ \csname captions#1\endcsname
+ \csname extras#1\endcsname\relax
+ \csname bibs#1\endcsname\relax
+ \language \csname l@#1\endcsname\relax
+ \fi}
+ \fi
+ \fi
+\else % LaTeX 2e
+\AtBeginDocument{%
+\@ifpackageloaded{german}{\germbibgermantrue}{}%
+\@ifpackageloaded{ngerman}{\germbibgermantrue}{}%
+
+\ifgermbibgerman
+ \ifx\undefined\p@selectlanguage% wenn german.sty 2.3d,e
+ \typeout{^^Jbibgerm.sty: (n)german.sty 2.3d,e detected^^J}
+ \gdef\selectlanguage#1{%
+ \expandafter\ifcase #1\relax
+ \dateUSenglish \captionsenglish \bibsUSenglish \or
+ \dategerman \captionsgerman \bibsgerman \or
+ \dateaustrian \captionsgerman \bibsaustrian \or
+ \datefrench \captionsfrench \or
+ \dateenglish \captionsenglish \bibsenglish \fi}
+ \else
+ \ifx\undefined\grmn@originalTeX % andernfalls, wenn german.sty 2.4a, 3.0
+ \typeout{^^Jbibgerm.sty: (n)german.sty 2.4a, 3.0 detected^^J}
+ \gdef\p@selectlanguage#1{\relax \original@TeX
+ \expandafter\ifx\csname l@#1\endcsname\relax
+ \errhelp{Your command will be ignored, type <return> to proceed}%
+ \errmessage{You haven't defined the language #1 yet}%
+ \else
+ \edef\original@TeX{\csname noextras#1\endcsname
+ \let\noexpand\original@TeX\relax}%
+ \csname date#1\endcsname
+ \csname captions#1\endcsname
+ \csname extras#1\endcsname
+ \csname bibs#1\endcsname
+ \language \csname l@#1\endcsname\relax
+ \fi}
+ \else % german.sty 2.5b
+ \typeout{^^Jbibgerm.sty: (n)german.sty 2.5b detected^^J}
+ \def\p@selectlanguage#1{\relax
+ \expandafter\ifx\csname l@#1\endcsname\relax
+ \errhelp{Your command will be ignored, type <return> to proceed}%
+ \errmessage{You haven't defined the language #1 yet}%
+ \else
+ \grmn@originalTeX
+ \edef\grmn@originalTeX{\csname noextras#1\endcsname
+ \def\noexpand\grmn@originalTeX{}}%
+ \csname date#1\endcsname
+ \csname captions#1\endcsname
+ \csname extras#1\endcsname\relax
+ \csname bibs#1\endcsname\relax
+ \language \csname l@#1\endcsname\relax
+ \fi}
+ \fi
+ \fi
+\else % HH 08.08.2000
+ \typeout{^^Jbibgerm.sty: babel.sty detected^^J}
+ \addto{\extrasgerman}{\bibsgerman}
+ \addto{\extrasaustrian}{\bibsaustrian}
+ \addto{\extrasngerman}{\bibsgerman}
+ \addto{\extrasnaustrian}{\bibsaustrian}
+ \addto{\extrasenglish}{\bibsenglish}
+ \addto{\extrasUSenglish}{\bibsUSenglish}
+ \addto{\extrasamerican}{\bibsUSenglish}
+\fi
+}
+\fi % LaTeX 2e
+
+\AtBeginDocument{\expandafter\selectlanguage\expandafter{\languagename}}
+%\germanTeX
+%\selectlanguage{\german}
+
+\endinput
diff --git a/biblio/bibtex/contrib/germbib/styles/german.MISSING b/biblio/bibtex/contrib/germbib/styles/german.MISSING
new file mode 120000
index 0000000000..5341c94c12
--- /dev/null
+++ b/biblio/bibtex/contrib/germbib/styles/german.MISSING
@@ -0,0 +1 @@
+../../../../../language/german/german.MISSING \ No newline at end of file
diff --git a/biblio/bibtex/contrib/germbib/styles/mynormal.sty b/biblio/bibtex/contrib/germbib/styles/mynormal.sty
new file mode 100644
index 0000000000..12955026f5
--- /dev/null
+++ b/biblio/bibtex/contrib/germbib/styles/mynormal.sty
@@ -0,0 +1,101 @@
+\adjdemerits=1000 % penalty for visually incompatible lines (one with maximum space second with miminum space between words)
+\brokenpenalty=100 % additional penalty for breaking a page after a hyphenation
+\clubpenalty=100 % penalty for breaking a page after the first line of a paragraph
+\displaywidowpenalty=50 % penalty for breaking a page before the last line above a display formula
+\doublehyphendemerits=50 % penalty if two consecutive lines end with a hyphen
+\exhyphenpenalty=10 % as last but breaking at an explicit hyphen (z. B. 'in-output')
+\finalhyphendemerits=50 % penalty if the penultimate line of a paragraph ends with a hyphen
+\floatingpenalty=8000 % penalty added to \insertpenalty when an insertion (e.g. footnotes) is split
+\hyphenpenalty=10 % penalty for a normal hyphenation
+\interdisplaylinepenalty=100 % penalty for breaking a formula set with \displaylines
+\interfootnotelinepenalty=100 % penalty for breaking a page in a footnote
+\interlinepenalty=10 % penalty for breaking a page between lines of a paragraph
+\linepenalty=10 % penalty for each line
+\looseness=0 % stetch a ideally set paragraph by \looseness-lines
+\predisplaypenalty=100 % penalty placed in a vertical list above a display
+\pretolerance=500 % tolerance value for a paragraph without hyphenation
+\postdisplaypenalty=0 % penalty placed in a vertical list below a display
+\relpenalty=500 % penalty for breaking after a binary relation
+\tolerance=2000 % tolerance value for a paragraph with hyphenation
+\widowpenalty=150 % penalty for breaking a page before the last line of a paragraph
+\ifx \lefthyphenmin\undefined \else
+ \lefthyphenmin=2
+ \righthyphenmin=3
+ \errorcontextlines=1
+ \emergencystretch=2em % assumed extra stretchability in lines of a paragraph (TeX3 only)
+\fi
+\hoffset=-1.0in
+\textwidth6.4in
+\oddsidemargin0.8in
+\evensidemargin0.8in
+\marginparwidth0.6in
+\marginparsep0.2in
+\marginparpush1ex
+\topmargin0pt
+\headheight3.5ex
+\headsep3ex
+\textheight9.25in
+\columnsep10pt
+\columnseprule0pt
+\parindent0pt
+\parskip2.5ex plus1.5ex minus1.5ex
+%mehr Platz fr Bilder und Tabellen
+\setcounter{topnumber}{2}
+\def\topfraction{.8}
+\setcounter{bottomnumber}{2}
+\def\bottomfraction{.8}
+\setcounter{totalnumber}{4}
+\def\textfraction{0.19}
+\def\floatpagefraction{.8}
+\setcounter{dbltopnumber}{2}
+\def\dbltopfraction{.9}
+\def\dblfloatpagefraction{.9}
+\long\def\@makecaption#1#2{
+% \vskip 10pt
+ \vskip 2pt
+ \setbox\@tempboxa\hbox{#1: #2}
+ \ifdim \wd\@tempboxa >\hsize #1: #2\par \else \hbox
+to\hsize{\hfil\box\@tempboxa\hfil}
+ \fi}
+\renewcommand{\arraystretch}{1.2}
+\renewcommand{\baselinestretch}{1.1}
+\newlength{\mylena}
+\newlength{\mylenb}
+\newlength{\mylenc}
+\newlength{\mylend}
+\newlength{\mylene}
+\frenchspacing
+%unterstrichene Seitenberschriften
+\mark{{}{}}
+
+\if@twoside
+ \def\ps@headings{
+ \let\@mkboth\markboth
+ \def\@oddfoot{}\def\@evenfoot{}
+ \def\@evenhead{\vbox{\hbox to \textwidth{\rm \thepage\hfil \sl
+ \leftmark}\vspace{2pt}\hbox to \textwidth{\hrulefill}}}
+ \def\@oddhead{\vbox{\hbox to \textwidth{\hbox{}\sl \rightmark
+ \hfil\rm\thepage}\vspace{2pt}\hbox to \textwidth{\hrulefill}}}
+ \def\sectionmark##1{\markboth {\uppercase{\ifnum \c@secnumdepth>\z@
+ \thesection\hskip 1em\relax \fi ##1}}{}}
+ \def\subsectionmark##1{\markright{\ifnum \c@secnumdepth >\@ne
+ \thesubsection\hskip 1em\relax \fi ##1}}}
+\else
+ \def\ps@headings{\let\@mkboth\markboth
+ \def\@oddfoot{}\def\@evenfoot{}
+ \def\@oddhead{\vbox{\hbox to \textwidth{\hbox {}\sl \rightmark \hfil
+ \rm\thepage}\vspace{2pt}\hbox to \textwidth{\hrulefill}}}
+ \def\sectionmark##1{\markright {\uppercase{\ifnum \c@secnumdepth>\z@
+ \thesection\hskip 1em\relax \fi ##1}}}}
+\fi
+\def\ps@myheadings{\let\@mkboth\@gobbletwo
+ \def\@oddfoot{}\def\@evenfoot{}
+ \def\@oddhead{\vbox{\hbox to \textwidth{\hbox{}\sl\rightmark \hfil
+ \rm\thepage}\vspace{2pt}\hbox to \textwidth{\hrulefill}}}
+ \def\@evenhead{\vbox{\hbox to \textwidth{\rm \thepage\hfil
+ \sl\leftmark\hbox{}}\vspace{2pt}\hbox to \textwidth{\hrulefill}}}
+ \def\sectionmark##1{}\def\subsectionmark##1{}}
+\def\footnoterule{\vfill\kern-3\p@ \hrule width \textwidth
+ \kern 2.6\p@}
+\pagestyle{headings}
+
diff --git a/biblio/bibtex/contrib/germbib/test/gerxampl.bib b/biblio/bibtex/contrib/germbib/test/gerxampl.bib
new file mode 100644
index 0000000000..8ef6df3ecc
--- /dev/null
+++ b/biblio/bibtex/contrib/germbib/test/gerxampl.bib
@@ -0,0 +1,359 @@
+@preamble{ "\newcommand{\noopsort}[1]{} "
+ # "\newcommand{\printfirst}[2]{#1} "
+ # "\newcommand{\singleletter}[1]{#1} "
+ # "\newcommand{\switchargs}[2]{#2#1} " }
+
+@ARTICLE{article-minimal,
+ author = {Leslie Andrew Aamport},
+ title = {Das System f{\"u}r die Vorbereitung von Dokumentationen {\"u}ber Gnats und Gnus},
+ journal = {Die Haustier-Zeitschrift},
+ year = 1986,
+ language = "german"
+}
+
+@ARTICLE{article-full,
+ author = {Leslie Andrew Aamport},
+ title = {Das System f{\"u}r die Vorbereitung von Dokumentationen {\"u}ber Gnats und Gnus},
+ journal = {Die Haustier-Zeitschrift},
+ year = 1986,
+ volume = 41,
+ number = 7,
+ pages = "73\,ff.",
+ month = jul,
+ note = "Dies ist ein vollst{\"a}ndiger ARTICLE-Eintrag",
+}
+
+The KEY field is here to override the KEY field in the journal being
+cross referenced (so is the NOTE field, in addition to its imparting
+information).
+
+@ARTICLE{article-crossref,
+ crossref = {WHOLE-JOURNAL},
+ key = "",
+ author = {Leslie Andrew Aamport},
+ title = {Das System f{\"u}r die Vorbereitung von Dokumentationen {\"u}ber Gnats und Gnus},
+ pages = "73\,ff.",
+ note = "Dies ist ein querverweisender ARTICLE-Eintrag",
+}
+
+@ARTICLE{whole-journal,
+ key = "GAJ",
+ journal = {Die Haustier-Zeitschrift},
+ year = 1986,
+ volume = 41,
+ number = 7,
+ month = jul,
+ note = {Dieses ganze Exemplar ist den Gnats und Gnus gewidmet
+ (dieser Eintrag ist ein ARTICLE (journal), auf den Verwiesen wurde)},
+}
+
+@INBOOK{inbook-minimal,
+ author = "Donald Edward Knuth",
+ title = "Fundamentale Algorithmen",
+ publisher = "Addison-Wesley",
+ year = "{\noopsort{1973b}}1973",
+ chapter = "1.2",
+}
+
+@INBOOK{inbook-full,
+ author = "Donald Edward Knuth",
+ title = "Fundamentale Algorithmen",
+ volume = 1,
+ series = "Die Kunst der Computerprogrammierung",
+ publisher = "Addison-Wesley",
+ address = "Reading, Massachusetts",
+ edition = "Zweite",
+ month = "10.~" # jan,
+ year = "{\noopsort{1973b}}1973",
+ type = "Kapitel",
+ chapter = "1.2",
+ pages = "10--119",
+ note = "Dies ist ein vollst{\"a}ndiger INBOOK-Eintrag",
+}
+
+@INBOOK{inbook-crossref,
+ crossref = "whole-set",
+ title = "Fundamentale Algorithmen",
+ volume = 1,
+ series = "Die Kunst der Computerprogrammierung",
+ edition = "Zweite",
+ year = "{\noopsort{1973b}}1973",
+ type = "Kapitel",
+ chapter = "1.2",
+ note = "Dies ist ein querverweisender INBOOK-Eintrag",
+}
+
+@BOOK{book-minimal,
+ author = "Donald Edward Knuth",
+ title = "Seminumerische Algorithmen",
+ publisher = "Addison-Wesley",
+ year = "{\noopsort{1973c}}1981",
+}
+
+@BOOK{book-full,
+ author = "Donald Edward Knuth",
+ title = "Seminumerische Algorithmen",
+ volume = 2,
+ series = "Die Kunst der Computerprogrammierung",
+ publisher = "Addison-Wesley",
+ address = "Reading, Massachusetts",
+ edition = "Zweite",
+ month = "10.~" # jan,
+ year = "{\noopsort{1973c}}1981",
+ note = "Dies ist ein vollst{\"a}ndiger BOOK-Eintrag",
+}
+
+@BOOK{book-crossref,
+ crossref = "whole-set",
+ title = "Seminumerische Algorithmen",
+ volume = 2,
+ series = "Die Kunst der Computerprogrammierung",
+ edition = "Zweite",
+ year = "{\noopsort{1973c}}1981",
+ note = "Dies ist ein querverweisender BOOK-Eintrag",
+}
+
+@BOOK{whole-set,
+ author = "Donald Edward Knuth",
+ publisher = "Addison-Wesley",
+ title = "Die Kunst der Computerprogrammierung",
+ series = "Vier B{\"a}nde",
+ year = "{\noopsort{1973a}}{\switchargs{--90}{1968}}",
+ note = "Sieben B{\"a}nde geplant (dies ist eine Reihe von BOOK(s), auf die verwiesen wird)",
+}
+
+@BOOKLET{booklet-minimal,
+ key = "Kn{\printfirst{v}{1987}}",
+ title = "Die Programmierung von Computerkunst",
+}
+
+@BOOKLET{booklet-full,
+ author = "Jill Clown Knvth",
+ title = "Die Programmierung von Computerkunst",
+ howpublished = "Kunstverein D{\"u}sseldorf",
+ address = "D{\"u}sseldorf, Nordrheinwestfalen",
+ month = feb,
+ year = 1988,
+ note = "Dies ist ein vollst{\"a}ndiger BOOKLET-Eintrag",
+}
+
+@INCOLLECTION{incollection-minimal,
+ author = "Daniel David Lincoll",
+ title = "Semigruppen von Wiederholungen",
+ booktitle = "High Speed Computer und Algorithmus Organisation",
+ publisher = "Universit{\"a}tsdruckerei",
+ year = 1977,
+}
+
+@INCOLLECTION{incollection-full,
+ author = "Daniel David Lincoll",
+ title = "Semigruppen von Wiederholungen",
+ editor = "David Johannes Lipcoll and Dirk Herwig Lawrie and Abraham Hans Sameh",
+ booktitle = "High Speed Computer und Algorithmus Organisation",
+ number = 23,
+ series = "Schnelle Computer",
+ chapter = 3,
+ type = "Teil",
+ pages = "179--183",
+ publisher = "Universit{\"a}tsdruckerei",
+ address = "Hintertupfingen am Bodensee",
+ edition = "Dritte",
+ month = sep,
+ year = 1977,
+ note = "Dies ist ein vollst{\"a}ndiger INCOLLECTION-Eintrag",
+}
+
+@INCOLLECTION{incollection-crossref,
+ crossref = "whole-collection",
+ author = "Daniel Depp Lincoll",
+ title = "Semigruppen von Wiederholungen",
+ pages = "179--183",
+ note = "Dies ist ein querverweisender INCOLLECTION-Eintrag",
+}
+
+@BOOK{whole-collection,
+ editor = "David Johannes Lipcoll and Dirk Herwig Lawrie and Abraham Hans Sameh",
+ title = "High Speed Computer und Algorithmus Organisation",
+ booktitle = "High Speed Computer und Algorithmus Organisation",
+ number = 23,
+ series = "Schnelle Computer",
+ publisher = "Universit{\"a}tsdruckerei",
+ address = "Hintertupfingen am Bodensee",
+ edition = "Dritte",
+ month = sep,
+ year = 1977,
+ note = "Dies ist ein BOOK-Eintrag (aus einer Reihe), auf den verwiesen wurde",
+}
+
+@MANUAL{manual-minimal,
+ key = "Handbuchmacher",
+ title = "Das definitive Computer-Handbuch",
+}
+
+@MANUAL{manual-full,
+ author = "Larry Manmaker",
+ title = "Das definitive Computer-Handbuch",
+ organization = "Microchips-Revelation-Deutschland",
+ address = "Silikontal",
+ edition = "Silberpfeil",
+ month = apr # "--" # may,
+ year = 1986,
+ note = "Dies ist ein vollst{\"a}ndiger MANUAL-Eintrag",
+}
+
+@MASTERSTHESIS{mastersthesis-minimal,
+ author = "{\'{E}}douard Masterly",
+ title = "Wie schreibe ich eine Diplomarbeit?",
+ school = "Universit{\"a}t W{\"u}rzfestung",
+ year = 1988,
+}
+
+@MASTERSTHESIS{mastersthesis-full,
+ author = "{\'{E}}douard Masterly",
+ title = "Wie schreibe ich eine Diplomarbeit?",
+ school = "Universit{\"a}t W{\"u}rzfestung",
+ type = "Projekt {\"u}ber Diplom- und Magisterarbeiten",
+ address = "Abteilung f{\"u}r Germanistik",
+ month = jun # "--" # aug,
+ year = 1988,
+ note = "Dies ist ein vollst{\"a}ndiger MASTERSTHESIS-Eintrag",
+}
+
+@MISC{misc-minimal,
+ key = "Vermixtes",
+ note = "Dies ist ein minimaler MISC-Eintrag",
+}
+
+@MISC{misc-full,
+ author = "Joe-Bob Missilany",
+ title = "Zuf{\"a}llige Verteilung von Pamphleten an Flugh{\"a}fen",
+ howpublished = "Ausgegeben in Frankfurt am Main",
+ month = oct,
+ year = 1984,
+ note = "Dies ist ein vollst{\"a}ndiger MISC-Eintrag",
+}
+
+@STRING{STOC-key = "OX{\singleletter{stoc}}"}
+
+@STRING{ACM = "OX-Vereinigung f{\"u}r Computing-Maschinerie"}
+
+@STRING{STOC = ": Symposium {\"u}ber die Theorie des Computing"}
+
+@INPROCEEDINGS{inproceedings-minimal,
+ author = "Alfred Veit Oaho and Jeffrey Dieter Ullman and Mihalis Yannakakis",
+ title = "Vorstellungen {\"u}ber die Informations{\"u}bertragung in {VLSI}-Schaltkreisen",
+ booktitle = "Konferenz zum f{\"u}nften Jahrestag der " # ACM # STOC,
+ year = 1983,
+}
+
+@INPROCEEDINGS{inproceedings-full,
+ author = "Alfred Veit Oaho and Jeffrey Dieter Ullman and Mihalis Yannakakis",
+ title = "Vorstellungen {\"u}ber die Informations{\"u}bertragung in {VLSI}-Schaltkreisen",
+ booktitle = "Konferenz zum f{\"u}nften Jahrestag der " # ACM # STOC,
+ editor = "Wizard Veit Oz and Mihalis Yannakakis",
+ number = 17,
+ series = "Alle Konferenzen der " # ACM,
+ pages = "133--139",
+ month = mar,
+ year = 1983,
+ address = "M{\"u}nchen",
+ organization = ACM,
+ publisher = "Universit{\"a}tsdruckerei",
+ note = "Dies ist ein vollst{\"a}ndiger INPROCEDINGS-Eintrag",
+}
+
+@INPROCEEDINGS{inproceedings-crossref,
+ crossref = "whole-proceedings",
+ author = "Alfred Veit Oaho and Jeffrey Dieter Ullman and Mihalis Yannakakis",
+ title = "Vorstellungen {\"u}ber die Informations{\"u}bertragung in {VLSI}-Schaltkreisen",
+ organization = "",
+ pages = "133--139",
+ note = "Dies ist ein querverweisender INPROCEEDINGS-Eintrag",
+}
+
+@PROCEEDINGS{proceedings-minimal,
+ key = STOC-key,
+ title = "Konferenz zum f{\"u}nften Jahrestag der " # ACM # STOC,
+ year = 1983,
+}
+
+@PROCEEDINGS{proceedings-full,
+ editor = "Wizard Veit Oz and Mihalis Yannakakis",
+ title = "Proc. Fifteenth Annual" # STOC,
+ number = 17,
+ series = "Alle Konferenzen der " # ACM,
+ month = mar,
+ year = 1983,
+ address = "M{\"u}nchen",
+ organization = ACM,
+ publisher = "Universit{\"a}tsdruckerei",
+ note = "Dies ist ein vollst{\"a}ndiger PROCEEDINGS-Eintrag",
+}
+
+@PROCEEDINGS{whole-proceedings,
+ key = STOC-key,
+ organization = ACM,
+ title = "Konferenz zum f{\"u}nften Jahrestag" # STOC,
+ address = "M{\"u}nchen",
+ year = 1983,
+ booktitle = "Konferenz zum f{\"u}nften Jahrestag der " # ACM # STOC,
+ note = "This is a cross-referenced PROCEEDINGS",
+}
+
+@PHDTHESIS{phdthesis-minimal,
+ author = "Friedrich Phidias Phony-Baloney",
+ title = "Feuer mit Feuer bek{\"a}mpfen: Gewandte Franz{\"o}sische Redewendungen",
+ school = "Fanstord Universit{\"a}t",
+ year = 1988,
+}
+
+@PHDTHESIS{phdthesis-full,
+ author = "Friedrich Phidias Phony-Baloney",
+ title = "Feuer mit Feuer bek{\"a}mpfen: Gewandte Franz{\"o}sische Redewendungen",
+ school = "Universit{\"a}t W{\"u}rzburg",
+ type = "Dissertation",
+ address = "Abteilung f{\"u}r Franz{\"o}sisch",
+ month = jun # "--" # aug,
+ year = 1988,
+ note = "Dies ist ein vollst{\"a}ndiger PHDTHESIS-Eintrag",
+}
+
+@TECHREPORT{techreport-minimal,
+ author = "Tom von Schrecklich",
+ title = "An {$O(n \log n / \! \log\log n)$} Sortier Algorithmus",
+ institution = "Universit{\"a}t W{\"u}rzburg",
+ year = 1988,
+}
+
+@TECHREPORT{techreport-full,
+ author = "Tom T{\'{e}}rrific",
+ title = "An {$O(n \log n / \! \log\log n)$} Sortier Algorithmus",
+ institution = "Universit{\"a}t W{\"u}rzburg",
+ type = "W{\"u}nschenswertes Untersuchungsergebnis",
+ number = "7",
+ address = "Abteilung f{\"u}r Computerwissenschaften, W{\"u}rzburg, Bayern",
+ month = oct,
+ year = 1988,
+ note = "Dies ist ein vollst{\"a}ndiger TECHREPORT-Eintrag",
+}
+
+@UNPUBLISHED{unpublished-minimal,
+ author = "Ulrich {\"{U}}nderwood and Ned {\~N}et and Paul {\={P}}ot",
+ title = "Niedrigere Grenzen f{\"u}r w{\"u}nschenswerte Untersuchungsergebnisse",
+ note = "Colloquium an der Universit{\"a}t W{\"u}rzburg (dies ist ein minimaler UNPUBLISHED-Eintrag)",
+}
+
+@UNPUBLISHED{unpublished-full,
+ author = "Ulrich {\"{U}}nderwood and Ned {\~N}et and Paul {\={P}}ot",
+ title = "Niedrigere Grenzen f{\"u}r w{\"u}nschenswerte Untersuchungsergebnisse",
+ month = nov # ", " # dec,
+ year = 1988,
+ note = "Colloquium an der Universit{\"a}t W{\"u}rzburg (dies ist ein vollst{\"a}ndiger UNPUBLISHED-Eintrag)",
+}
+
+@MISC{random-note-crossref,
+ key = {Volume-2},
+ note = "Band~2 ist unter Knuth \cite{book-full} aufgef{\"u}hrt"
+}
+
+
diff --git a/biblio/bibtex/contrib/germbib/test/schaum.bib b/biblio/bibtex/contrib/germbib/test/schaum.bib
new file mode 100644
index 0000000000..e8676552b4
--- /dev/null
+++ b/biblio/bibtex/contrib/germbib/test/schaum.bib
@@ -0,0 +1,531 @@
+@Book{gibson1997a,
+ author = {Gibson, L. J. and Ashby, M. F.},
+ ALTeditor = {},
+ title = {{Cellular solids}},
+ publisher = {Cambridge University Press},
+ year = {1997},
+ OPTkey = {},
+ OPTvolume = {},
+ OPTnumber = {},
+ OPTseries = {},
+ OPTaddress = {},
+ edition = {second},
+ OPTmonth = {},
+ OPTnote = {},
+ OPTannote = {},
+ language = {english}
+}
+
+
+
+@Article{davies1983a,
+ author = {Davies, G. J. and Zhen, Shu},
+ title = {{Metallic foams: their production, properties and
+ applications}},
+ journal = {Mater. Sci.},
+ year = {1899},
+ OPTkey = {},
+ volume = {18},
+ OPTnumber = {},
+ pages = {1899},
+ OPTmonth = {},
+ OPTnote = {},
+ OPTannote = {},
+ language = {english}
+}
+
+
+@InProceedings{baumeister1997a,
+ author = {Baumeister, J.},
+ title = {{\"Uberblick: Verfahren zur Herstellung von Metallsch\"aumen}},
+ booktitle = {Metallsch\"aume (Beitr\"age zum Symposium Metallsch\"aume,
+ IFAM, Bremen, 06.\,--\,07.\,03.~1997)},
+ OPTcrossref = {},
+ OPTkey = {},
+ OPTpages = {3},
+ year = {1997},
+ OPTeditor = {},
+ OPTvolume = {},
+ OPTnumber = {},
+ OPTseries = {},
+ OPTaddress = {Bremen},
+ OPTmonth = {},
+ OPTorganization = {},
+ publisher = {Verlag MIT Bremen},
+ OPTnote = {},
+ OPTannote = {},
+ language = {german}
+}
+
+
+@Article{simone1998a,
+ author = {Simone, A. E. and Gibson, L. J.},
+ title = {{Aluminium foams produced by liquid-state processes}},
+ journal = {Acta mater.},
+ year = {1998},
+ OPTkey = {},
+ volume = {46},
+ OPTnumber = {},
+ pages = {3109},
+ OPTmonth = {},
+ OPTnote = {},
+ OPTannote = {},
+ language = {english}
+}
+
+
+@Article{banhart1994a,
+ author = {Banhart, J. and Baumeister, J. and Weber, M.},
+ title = {{Metallschaum -- ein Werkstoff mit Perspektiven}},
+ journal = {Aluminium},
+ year = {1994},
+ OPTkey = {},
+ volume = {70},
+ OPTnumber = {},
+ pages = {209},
+ OPTmonth = {},
+ OPTnote = {},
+ OPTannote = {},
+ language = {german}
+}
+
+@Article{banhart1997a,
+ author = {Banhart, J. and Baumeister, J. and Weber, M.},
+ title = {{Aluminium foams for transport industry}},
+ journal = {Materials \& Design},
+ year = {1997},
+ OPTkey = {},
+ volume = {18},
+ OPTnumber = {},
+ pages = {221},
+ OPTmonth = {},
+ OPTnote = {},
+ OPTannote = {},
+ language = {english}
+}
+
+
+@Misc{mepura1997a,
+ key = {MEPURA},
+ OPTauthor = {},
+ title = {{MEPURA: "`Alulight"'}},
+ howpublished = {Firmenschrift der MEPURA-Metallpulver GmbH},
+ month = {April},
+ year = {1997},
+ note = {Ranshofen, \"Osterreich},
+ OPTannote = {},
+ language = {german}
+}
+
+
+
+@Article{degischer1997a,
+ author = {Degischer, H. P.},
+ title = {{Innovative light metals: metal matrix composites and
+ foamed aluminium}},
+ journal = {Materials \& Design},
+ year = {1997},
+ OPTkey = {},
+ volume = {18},
+ OPTnumber = {},
+ pages = {221},
+ OPTmonth = {},
+ OPTnote = {},
+ OPTannote = {},
+ language = {english}
+}
+
+
+
+@Article{ashby1983a,
+ author = {Ashby, M. F.},
+ title = {{The mechanical properties of cellular solids}},
+ journal = {Met. Trans.},
+ year = {1983},
+ OPTkey = {},
+ volume = {14A},
+ OPTnumber = {},
+ pages = {1755},
+ OPTmonth = {},
+ OPTnote = {},
+ OPTannote = {},
+ language = {english}
+}
+
+
+
+
+@Article{gibson1989a,
+ author = {Gibson, L. J.},
+ title = {{Modelling the mechanical behaviour of cellular materials}},
+ journal = {Mat. Sci. Eng.},
+ year = {1989},
+ OPTkey = {},
+ volume = {A 110},
+ OPTnumber = {},
+ pages = {1},
+ OPTmonth = {},
+ OPTnote = {},
+ OPTannote = {},
+ language = {english}
+}
+
+
+@Article{weaire1994a,
+ author = {Weaire, D. and Fortes, M. A.},
+ title = {{Stress and strain in liquid and solid foams}},
+ journal = {Adv. in Physics},
+ year = {1994},
+ OPTkey = {},
+ volume = {43},
+ OPTnumber = {},
+ pages = {685},
+ OPTmonth = {},
+ OPTnote = {},
+ OPTannote = {},
+ language = {english}
+}
+
+
+
+@Article{triantafillou1989a,
+ author = {Triantafillou, T. C. and Zhang, J. and Shercliff, T. L. and
+ Gibson, L. J. and Ashby, M. F.},
+ title = {{Failure surfaces for cellular materials under multiaxial
+ loads -- II. Comparison of models with experiment}},
+ journal = {Int. J. Mech. Sci.},
+ year = {1997},
+ OPTkey = {},
+ volume = {39},
+ OPTnumber = {},
+ pages = {549},
+ OPTmonth = {},
+ OPTnote = {},
+ OPTannote = {},
+ language = {english}
+}
+
+
+
+
+@Article{silva1997a,
+ author = {Silva, M. J. and Gibson, L. J.},
+ title = {{The effect of non-periodic microstructure and defects
+ on the compressive strength of two-dimensional cellular
+ solids}},
+ journal = {Int. J. Mech. Sci.},
+ year = {1997},
+ OPTkey = {},
+ volume = {39},
+ OPTnumber = {},
+ pages = {549},
+ OPTmonth = {},
+ OPTnote = {},
+ OPTannote = {},
+ language = {english}
+}
+
+
+
+@Article{simone1998b,
+ author = {Simone, A. E. and Gibson, L. J.},
+ title = {{Effects of solid distribution on the stiffness and
+ strength of metallic foams}},
+ journal = {Acta mater.},
+ year = {1998},
+ OPTkey = {},
+ volume = {46},
+ OPTnumber = {},
+ pages = {2139},
+ OPTmonth = {},
+ OPTnote = {},
+ OPTannote = {},
+ language = {english}
+}
+
+
+
+
+@InProceedings{degischer1997b,
+ author = {Degischer, H. P. and Galovsky, U. and Gradinger, R. and
+ Kretz, R. and Simanc\'ik, F.},
+ title = {{\"Uber mechanische Eigenschaften von Aluminiumsch\"aumen}},
+ booktitle = {Metallsch\"aume (Beitr\"age zum Symposium Metallsch\"aume, IFAM,
+ Bremen, 06.\,--\,07.\,03.~1997},
+ OPTcrossref = {},
+ OPTkey = {},
+ pages = {79},
+ year = {1997},
+ editor = {J. Banhart},
+ OPTvolume = {},
+ OPTnumber = {},
+ OPTseries = {},
+ OPTaddress = {},
+ OPTmonth = {},
+ OPTorganization = {},
+ publisher = {Verlag MIT Bremen},
+ OPTnote = {},
+ OPTannote = {},
+ language = {german}
+}
+
+
+
+@Article{beals1997a,
+ author = {Beals, J. T. and Thompson, M. S.},
+ title = {{Density gradient effects on aluminium foam compression
+ behavior}},
+ journal = {J. Mater. Sci},
+ year = {1997},
+ OPTkey = {},
+ volume = {32},
+ OPTnumber = {},
+ pages = {3595},
+ OPTmonth = {},
+ OPTnote = {},
+ OPTannote = {},
+ language = {english}
+}
+
+
+
+@Article{sugimura1997a,
+ author = {Sugimura, Y. and Meyer, J. and He, M. Y. and
+ Bart-Smith, H. and Greenstedt, J. and Evans, A. G.},
+ title = {{On the mechanical performance of closed cell Al foams}},
+ journal = {Acta mater.},
+ year = {1997},
+ OPTkey = {},
+ volume = {45},
+ OPTnumber = {45},
+ pages = {5245},
+ OPTmonth = {},
+ OPTnote = {},
+ OPTannote = {},
+ language = {english}
+}
+
+
+@Article{banhart1997b,
+ author = {Banhart, J. and Baumeister, J.},
+ title = {{Das Verformungsverhalten gesch\"aumter Metalle}},
+ journal = {Metall},
+ year = {1997},
+ OPTkey = {},
+ volume = {51},
+ OPTnumber = {},
+ pages = {19},
+ OPTmonth = {},
+ note = {},
+ OPTannote = {},
+ language = {german}
+}
+
+
+
+@Article{banhart1998a,
+ author = {Banhart, J. and Baumeister, J.},
+ title = {{Deformation characteristics of metal foams}},
+ journal = {J. Mater. Sci.},
+ year = {1998},
+ OPTkey = {},
+ volume = {33},
+ OPTnumber = {},
+ pages = {1431},
+ OPTmonth = {},
+ note = {},
+ OPTannote = {},
+ language = {english}
+}
+
+
+
+@InProceedings{huschka1997a,
+ author = {Huschka, S. and Hicken, S. and Arendts, F.-J.},
+ title = {{Modellierung der Spannungs-Stauchungskurven von
+ Aluminiumschaum unter Ber\"ucksichtigung der
+ Porengr\"o\ss{}enverteilung}},
+ booktitle = {Metallsch\"aume (Beitr\"age zum Symposium Metallsch\"aume, IFAM,
+ Bremen 06.\,--\,07.\,03.~1997},
+ OPTcrossref = {},
+ OPTkey = {},
+ pages = {189},
+ year = {1997},
+ editor = {J. Banhart},
+ OPTvolume = {},
+ OPTnumber = {},
+ OPTseries = {},
+ OPTaddress = {},
+ OPTmonth = {},
+ OPTorganization = {},
+ publisher = {Verlag MIT Bremen},
+ OPTnote = {},
+ OPTannote = {},
+ language = {german}
+}
+
+
+@Article{santosa1998a,
+ author = {Santosa, S. and Wierzbicki, T.},
+ title = {{On the modeling of crush behavior of a closed-cell
+ aluminium foam structure}},
+ journal = {J. Mech. Phys. Solids},
+ year = {1998},
+ OPTkey = {},
+ volume = {46},
+ OPTnumber = {},
+ pages = {645},
+ OPTmonth = {},
+ OPTnote = {},
+ OPTannote = {},
+ language = {english}
+}
+
+
+
+@PhdThesis{huschka1998a,
+ author = {Huschka, S.},
+ title = {{Modellierung eines Materialgesetzes zur Beschreibung
+ der mechanischen Eigenschaften von Aluminiumschaum}},
+ school = {Universit\"at Stuttgart},
+ year = {1998},
+ OPTkey = {},
+ type = {Dissertation},
+ address = {VDI-Verlag. Fortschrittsberichte, Reihe 5, Nr. 525},
+ OPTmonth = {},
+ OPTnote = {},
+ OPTannote = {},
+ language = {german}
+}
+
+
+
+@Misc{dfgdaempfung2000a,
+ key = {Arbeitsbericht},
+ OPTauthor = {},
+ title = {{Arbeitsbericht zum DFG-Vorhaben Si~408/5-1 \glqq Mechanische
+ D\"ampfung metallischer Sch\"aume\grqq\ im
+ DFG"=Schwerpunktprogramm SPP~1075}},
+ OPThowpublished = {},
+ OPTmonth = {},
+ year = {2000},
+ OPTnote = {},
+ OPTannote = {},
+ language = {german}
+}
+
+@Misc{akprueftechnik2000a,
+ key = {Protokoll},
+ OPTauthor = {},
+ title = {{Protokoll des Arbeitskreistreffens \glqq Mechanische
+ Pr\"uftechnik\grqq\ und \glqq Quantitative
+ Gef\"ugebeschreibung\grqq\ am 29. und 30.\,03.~2000 an der
+ TU Bergakademie Freiberg, Institut f\"ur Metallkunde}},
+ OPThowpublished = {},
+ month = {04.\,04.},
+ year = {2000},
+ OPTnote = {},
+ OPTannote = {},
+ language = {german}
+}
+
+
+@Article{sugimura1999a,
+ author = {Sugimura, Y. and Rabiei, A. and Evans, A. G. and
+ Harte, A. M. and Fleck, N. A.},
+ title = {{Compression fatigue of a cellular Al alloy}},
+ journal = {Materials Science \&\ Engineering},
+ year = {1999},
+ OPTkey = {},
+ volume = {A269},
+ OPTnumber = {},
+ pages = {38--48},
+ OPTmonth = {},
+ OPTnote = {},
+ OPTannote = {},
+ language = {english}
+}
+
+
+@InProceedings{schultz1999a,
+ author = {Schultz, O. and Ligneris A. des and
+ Haider, O. and Starke, P.},
+ title = {{Fatigue behaviour, strength and failure of aluminium foam}},
+ booktitle = {Metal Foams and Porous Metal Structures},
+ OPTcrossref = {},
+ OPTkey = {},
+ pages = {379--386},
+ year = {1999},
+ editor = {Banhart, J. and Ashby, M. F. and Fleck, N. A.},
+ OPTvolume = {},
+ OPTnumber = {},
+ OPTseries = {},
+ OPTaddress = {},
+ OPTmonth = {},
+ OPTorganization = {},
+ publisher = {MIT Verlag},
+ OPTnote = {},
+ OPTannote = {},
+ language = {english}
+}
+
+@InProceedings{olurin1999a,
+ author = {Olurin, O. B. and Fleck, N. A. and Ashby, M. F.},
+ title = {{Fatigue of an aluminium alloy foam}},
+ booktitle = {Metal Foams and Porous Metal Structures},
+ OPTcrossref = {},
+ OPTkey = {},
+ pages = {365--371},
+ year = {1999},
+ editor = {Banhart, J. and Ashby, M. F. and Fleck, N. A.},
+ OPTvolume = {},
+ OPTnumber = {},
+ OPTseries = {},
+ OPTaddress = {},
+ OPTmonth = {},
+ OPTorganization = {},
+ publisher = {MIT Verlag},
+ OPTnote = {},
+ OPTannote = {},
+ language = {english}
+}
+
+@InProceedings{zettl1999a,
+ author = {Zettl, B. and Stanzl-Tschegg, S.},
+ title = {{Fatigue of Aluminium Foams at Ultrasonic Frequencies}},
+ booktitle = {Metal Foams and Porous Metal Structures},
+ OPTcrossref = {},
+ OPTkey = {},
+ pages = {373--378},
+ year = {1999},
+ editor = {Banhart, J. and Ashby, M. F. and Fleck, N. A.},
+ OPTvolume = {},
+ OPTnumber = {},
+ OPTseries = {},
+ OPTaddress = {},
+ OPTmonth = {},
+ OPTorganization = {},
+ publisher = {MIT Verlag},
+ OPTnote = {},
+ OPTannote = {},
+ language = {english}
+}
+
+@Article{bart-smith1998a,
+ author = {Bart-Smith, H. and Bastawros, A.-F. and Mumm, D. R. and
+ Evans, A. G. and Sypeck, D. J. and Wadley, H. N. G.},
+ title = {{Compressive Deformation and Yielding Mechanisms in
+ Cellular Al Alloys Determined Using X-Ray Tomography and
+ Surface Strain Mapping}},
+ journal = {Acta mater.},
+ year = {1998},
+ OPTkey = {},
+ volume = {46},
+ number = {10},
+ pages = {3583--3592},
+ OPTmonth = {},
+ OPTnote = {},
+ OPTannote = {},
+ language = {english}
+}
+
diff --git a/biblio/bibtex/contrib/germbib/test/testbibgerm.dvi b/biblio/bibtex/contrib/germbib/test/testbibgerm.dvi
new file mode 100644
index 0000000000..572aa87868
--- /dev/null
+++ b/biblio/bibtex/contrib/germbib/test/testbibgerm.dvi
Binary files differ
diff --git a/biblio/bibtex/contrib/germbib/test/testbibgerm.tex b/biblio/bibtex/contrib/germbib/test/testbibgerm.tex
new file mode 100644
index 0000000000..e58bcfe1cd
--- /dev/null
+++ b/biblio/bibtex/contrib/germbib/test/testbibgerm.tex
@@ -0,0 +1,21 @@
+\iffalse % true: LaTeX 2.09; false: LaTeX (2e)
+ %\documentstyle[ngerman,hhbibgerm]{article}
+ %\documentstyle[german,hhbibgerm]{article}
+ \documentstyle[bibgerm]{article}
+\else
+ \documentclass{article}
+ \listfiles
+ \usepackage{bibgerm}
+ \usepackage[english,german,ngerman]{babel}
+ %\usepackage{ngerman}
+ %\usepackage{german}
+\fi
+
+\begin{document}
+\noindent Active language: \languagename
+\nocite{mepura1997a,degischer1997b}
+\nocite{ashby1983a,banhart1997b,banhart1998a,beals1997a,
+ gibson1989a,sugimura1997a}
+\bibliographystyle{gerplain}
+\bibliography{schaum}
+\end{document}
diff --git a/biblio/bibtex/contrib/germbib/test/testgerb.tex b/biblio/bibtex/contrib/germbib/test/testgerb.tex
new file mode 100644
index 0000000000..3103c8df6c
--- /dev/null
+++ b/biblio/bibtex/contrib/germbib/test/testgerb.tex
@@ -0,0 +1,89 @@
+% macropackage lplaing
+%format latexg
+% This is for tests with `GERXAMPL.BIB' or `XAMPL.BIB'
+% and the different style-files
+\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
+ T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
+
+\documentstyle[bibgerm,mynormal%
+%,apalike%
+]{article}
+%\nonfrenchspacing
+%\originalTeX
+\begin{document}
+
+Siehe \cite[Kapitel 3.4, S. 105\,ff.]{article-full}.
+
+
+Aaamport schreibt in \cite[S. 77--78]{article-minimal} wie sich
+die Gnats mit den Gnus vertragen.
+
+
+Ein Artikel in \cite{article-crossref}.
+
+Bcher, Bcher, Bcher \cite{book-crossref}.
+
+
+Ein volles Buch kann schwer sein, ein vielb„ndiges Werk wie die Reihe
+\cite{book-full} erst recht.
+
+Etwas fr Leseratten zum Thema \TeX\ findet sich in \cite{book-minimal}.
+
+Fr weniger Leseinteressierte ein kleines Buch \cite{booklet-full}.
+
+Booklet heižen solche Dinger auf "`USenglish"' \cite{booklet-minimal}.
+
+Ein Kapitel aus einem Buch ist in \cite{inbook-crossref} angegeben,
+dasselbe Kapitel noch einmal unter \cite{inbook-full}. Der n„chste
+Eintrag ist glaube ich ein neuer \cite{inbook-minimal} --- oder auch nicht.
+
+Einzelne B„nde einer Reihe wie \cite{incollection-crossref} k”nnen so oder
+auch anders wie hier \cite{incollection-full} zitiert werden. Auch die
+folgende Variante kann ich ihnen anbieten \cite{incollection-minimal}.
+
+Konferenzen, Konferenzen \cite{inproceedings-crossref}. Und wenn auf der
+Konferenz etwas ver”ffentlicht wurde wie \cite{inproceedings-full} dann kann
+man es unter \cite{inproceedings-minimal} nachlesen.
+
+Hnadbcher gibts auch \cite{manual-full}. Auch wenn \cite{manual-minimal} ein
+bl”des Beispiel dafr ist.
+
+Dieser Text und diese \cite{mastersthesis-full} Diplomarbeit sind wohl
+ebensowenig wie die folgende \cite{mastersthesis-minimal} ganz ernst zu
+nehmen.
+
+Vermixtes will heižen \cite{misc-full}. Gemischtes \cite{misc-minimal} ist
+fr alles gut.
+
+Anspruschsvolelr ist da schon \cite{phdthesis-full}, eine Doktorarbeit, mit der
+sich auch \cite{phdthesis-minimal} besch„ftigt.
+
+Schon wieder Konferenzen \cite{proceedings-full} ber Konferenzen \cite{proceedings-minimal}.
+
+
+Diese ist ein Band mit einem zuf„lligen Querverweis \cite{random-note-crossref} --- oder so.
+
+Heižt es nun "`Technischer Bericht"' \cite{techreport-full} oder sind einfach
+Bedienungsanleitungen damit gemeint \cite{techreport-minimal}.
+
+Selbst Sachen, die noch nicht publiziert sind \cite{unpublished-full} kann man
+so \cite{unpublished-minimal} zitieren.
+
+Ein Beispiel fr eine Gesamtausgabe \cite{whole-collection}.
+
+Ein Beispiel fr eine Zeitschrift \cite{whole-journal}.
+
+Und noch mehr vollst„ndiges: Konferenzen \cite{whole-proceedings} und
+ein "`Set"' \cite{whole-set}.
+
+\nocite{*}
+
+\bibliography{gerxampl}
+\bibliographystyle{gerabbrv}
+%\bibliographystyle{gerplain}
+%\bibliographystyle{gerunsrt}
+%\bibliographystyle{geralpha}
+%%\bibliographystyle{gerapali}
+
+
+\end{document}
diff --git a/biblio/bibtex/contrib/germbib/test/xampl.bib b/biblio/bibtex/contrib/germbib/test/xampl.bib
new file mode 100644
index 0000000000..7121774497
--- /dev/null
+++ b/biblio/bibtex/contrib/germbib/test/xampl.bib
@@ -0,0 +1,359 @@
+@preamble{ "\newcommand{\noopsort}[1]{} "
+ # "\newcommand{\printfirst}[2]{#1} "
+ # "\newcommand{\singleletter}[1]{#1} "
+ # "\newcommand{\switchargs}[2]{#2#1} " }
+
+@ARTICLE{article-minimal,
+ author = {L[eslie] A. Aamport},
+ title = {The Gnats and Gnus Document Preparation System},
+ journal = {\mbox{G-Animal's} Journal},
+ year = 1986,
+ language = "english"
+}
+
+@ARTICLE{article-full,
+ author = {L[eslie] A. Aamport},
+ title = {The Gnats and Gnus Document Preparation System},
+ journal = {\mbox{G-Animal's} Journal},
+ year = 1986,
+ volume = 41,
+ number = 7,
+ pages = "73+",
+ month = jul,
+ note = "This is a full ARTICLE entry",
+}
+
+The KEY field is here to override the KEY field in the journal being
+cross referenced (so is the NOTE field, in addition to its imparting
+information).
+
+@ARTICLE{article-crossref,
+ crossref = {WHOLE-JOURNAL},
+ key = "",
+ author = {L[eslie] A. Aamport},
+ title = {The Gnats and Gnus Document Preparation System},
+ pages = "73+",
+ note = "This is a cross-referencing ARTICLE entry",
+}
+
+@ARTICLE{whole-journal,
+ key = "GAJ",
+ journal = {\mbox{G-Animal's} Journal},
+ year = 1986,
+ volume = 41,
+ number = 7,
+ month = jul,
+ note = {The entire issue is devoted to gnats and gnus
+ (this entry is a cross-referenced ARTICLE (journal))},
+}
+
+@INBOOK{inbook-minimal,
+ author = "Donald E. Knuth",
+ title = "Fundamental Algorithms",
+ publisher = "Addison-Wesley",
+ year = "{\noopsort{1973b}}1973",
+ chapter = "1.2",
+}
+
+@INBOOK{inbook-full,
+ author = "Donald E. Knuth",
+ title = "Fundamental Algorithms",
+ volume = 1,
+ series = "The Art of Computer Programming",
+ publisher = "Addison-Wesley",
+ address = "Reading, Massachusetts",
+ edition = "Second",
+ month = "10~" # jan,
+ year = "{\noopsort{1973b}}1973",
+ type = "Section",
+ chapter = "1.2",
+ pages = "10--119",
+ note = "This is a full INBOOK entry",
+}
+
+@INBOOK{inbook-crossref,
+ crossref = "whole-set",
+ title = "Fundamental Algorithms",
+ volume = 1,
+ series = "The Art of Computer Programming",
+ edition = "Second",
+ year = "{\noopsort{1973b}}1973",
+ type = "Section",
+ chapter = "1.2",
+ note = "This is a cross-referencing INBOOK entry",
+}
+
+@BOOK{book-minimal,
+ author = "Donald E. Knuth",
+ title = "Seminumerical Algorithms",
+ publisher = "Addison-Wesley",
+ year = "{\noopsort{1973c}}1981",
+}
+
+@BOOK{book-full,
+ author = "Donald E. Knuth",
+ title = "Seminumerical Algorithms",
+ volume = 2,
+ series = "The Art of Computer Programming",
+ publisher = "Addison-Wesley",
+ address = "Reading, Massachusetts",
+ edition = "Second",
+ month = "10~" # jan,
+ year = "{\noopsort{1973c}}1981",
+ note = "This is a full BOOK entry",
+}
+
+@BOOK{book-crossref,
+ crossref = "whole-set",
+ title = "Seminumerical Algorithms",
+ volume = 2,
+ series = "The Art of Computer Programming",
+ edition = "Second",
+ year = "{\noopsort{1973c}}1981",
+ note = "This is a cross-referencing BOOK entry",
+}
+
+@BOOK{whole-set,
+ author = "Donald E. Knuth",
+ publisher = "Addison-Wesley",
+ title = "The Art of Computer Programming",
+ series = "Four volumes",
+ year = "{\noopsort{1973a}}{\switchargs{--90}{1968}}",
+ note = "Seven volumes planned (this is a cross-referenced set of BOOKs)",
+}
+
+@BOOKLET{booklet-minimal,
+ key = "Kn{\printfirst{v}{1987}}",
+ title = "The Programming of Computer Art",
+}
+
+@BOOKLET{booklet-full,
+ author = "Jill C. Knvth",
+ title = "The Programming of Computer Art",
+ howpublished = "Vernier Art Center",
+ address = "Stanford, California",
+ month = feb,
+ year = 1988,
+ note = "This is a full BOOKLET entry",
+}
+
+@INCOLLECTION{incollection-minimal,
+ author = "Daniel D. Lincoll",
+ title = "Semigroups of Recurrences",
+ booktitle = "High Speed Computer and Algorithm Organization",
+ publisher = "Academic Press",
+ year = 1977,
+}
+
+@INCOLLECTION{incollection-full,
+ author = "Daniel D. Lincoll",
+ title = "Semigroups of Recurrences",
+ editor = "David J. Lipcoll and D. H. Lawrie and A. H. Sameh",
+ booktitle = "High Speed Computer and Algorithm Organization",
+ number = 23,
+ series = "Fast Computers",
+ chapter = 3,
+ type = "Part",
+ pages = "179--183",
+ publisher = "Academic Press",
+ address = "New York",
+ edition = "Third",
+ month = sep,
+ year = 1977,
+ note = "This is a full INCOLLECTION entry",
+}
+
+@INCOLLECTION{incollection-crossref,
+ crossref = "whole-collection",
+ author = "Daniel D. Lincoll",
+ title = "Semigroups of Recurrences",
+ pages = "179--183",
+ note = "This is a cross-referencing INCOLLECTION entry",
+}
+
+@BOOK{whole-collection,
+ editor = "David J. Lipcoll and D. H. Lawrie and A. H. Sameh",
+ title = "High Speed Computer and Algorithm Organization",
+ booktitle = "High Speed Computer and Algorithm Organization",
+ number = 23,
+ series = "Fast Computers",
+ publisher = "Academic Press",
+ address = "New York",
+ edition = "Third",
+ month = sep,
+ year = 1977,
+ note = "This is a cross-referenced BOOK (collection) entry",
+}
+
+@MANUAL{manual-minimal,
+ key = "Manmaker",
+ title = "The Definitive Computer Manual",
+}
+
+@MANUAL{manual-full,
+ author = "Larry Manmaker",
+ title = "The Definitive Computer Manual",
+ organization = "Chips-R-Us",
+ address = "Silicon Valley",
+ edition = "Silver",
+ month = apr # "--" # may,
+ year = 1986,
+ note = "This is a full MANUAL entry",
+}
+
+@MASTERSTHESIS{mastersthesis-minimal,
+ author = "{\'{E}}douard Masterly",
+ title = "Mastering Thesis Writing",
+ school = "Stanford University",
+ year = 1988,
+}
+
+@MASTERSTHESIS{mastersthesis-full,
+ author = "{\'{E}}douard Masterly",
+ title = "Mastering Thesis Writing",
+ school = "Stanford University",
+ type = "Master's project",
+ address = "English Department",
+ month = jun # "-" # aug,
+ year = 1988,
+ note = "This is a full MASTERSTHESIS entry",
+}
+
+@MISC{misc-minimal,
+ key = "Missilany",
+ note = "This is a minimal MISC entry",
+}
+
+@MISC{misc-full,
+ author = "Joe-Bob Missilany",
+ title = "Handing out random pamphlets in airports",
+ howpublished = "Handed out at O'Hare",
+ month = oct,
+ year = 1984,
+ note = "This is a full MISC entry",
+}
+
+@STRING{STOC-key = "OX{\singleletter{stoc}}"}
+
+@STRING{ACM = "The OX Association for Computing Machinery"}
+
+@STRING{STOC = " Symposium on the Theory of Computing"}
+
+@INPROCEEDINGS{inproceedings-minimal,
+ author = "Alfred V. Oaho and Jeffrey D. Ullman and Mihalis Yannakakis",
+ title = "On Notions of Information Transfer in {VLSI} Circuits",
+ booktitle = "Proc. Fifteenth Annual ACM" # STOC,
+ year = 1983,
+}
+
+@INPROCEEDINGS{inproceedings-full,
+ author = "Alfred V. Oaho and Jeffrey D. Ullman and Mihalis Yannakakis",
+ title = "On Notions of Information Transfer in {VLSI} Circuits",
+ editor = "Wizard V. Oz and Mihalis Yannakakis",
+ booktitle = "Proc. Fifteenth Annual ACM" # STOC,
+ number = 17,
+ series = "All ACM Conferences",
+ pages = "133--139",
+ month = mar,
+ year = 1983,
+ address = "Boston",
+ organization = ACM,
+ publisher = "Academic Press",
+ note = "This is a full INPROCEDINGS entry",
+}
+
+@INPROCEEDINGS{inproceedings-crossref,
+ crossref = "whole-proceedings",
+ author = "Alfred V. Oaho and Jeffrey D. Ullman and Mihalis Yannakakis",
+ title = "On Notions of Information Transfer in {VLSI} Circuits",
+ organization = "",
+ pages = "133--139",
+ note = "This is a cross-referencing INPROCEEDINGS entry",
+}
+
+@PROCEEDINGS{proceedings-minimal,
+ key = STOC-key,
+ title = "Proc. Fifteenth Annual" # STOC,
+ year = 1983,
+}
+
+@PROCEEDINGS{proceedings-full,
+ editor = "Wizard V. Oz and Mihalis Yannakakis",
+ title = "Proc. Fifteenth Annual" # STOC,
+ number = 17,
+ series = "All ACM Conferences",
+ month = mar,
+ year = 1983,
+ address = "Boston",
+ organization = ACM,
+ publisher = "Academic Press",
+ note = "This is a full PROCEEDINGS entry",
+}
+
+@PROCEEDINGS{whole-proceedings,
+ key = STOC-key,
+ organization = ACM,
+ title = "Proc. Fifteenth Annual" # STOC,
+ address = "Boston",
+ year = 1983,
+ booktitle = "Proc. Fifteenth Annual ACM" # STOC,
+ note = "This is a cross-referenced PROCEEDINGS",
+}
+
+@PHDTHESIS{phdthesis-minimal,
+ author = "F. Phidias Phony-Baloney",
+ title = "Fighting Fire with Fire: Festooning {F}rench Phrases",
+ school = "Fanstord University",
+ year = 1988,
+}
+
+@PHDTHESIS{phdthesis-full,
+ author = "F. Phidias Phony-Baloney",
+ title = "Fighting Fire with Fire: Festooning {F}rench Phrases",
+ school = "Fanstord University",
+ type = "{PhD} Dissertation",
+ address = "Department of French",
+ month = jun # "-" # aug,
+ year = 1988,
+ note = "This is a full PHDTHESIS entry",
+}
+
+@TECHREPORT{techreport-minimal,
+ author = "Tom Terrific",
+ title = "An {$O(n \log n / \! \log\log n)$} Sorting Algorithm",
+ institution = "Fanstord University",
+ year = 1988,
+}
+
+@TECHREPORT{techreport-full,
+ author = "Tom T{\'{e}}rrific",
+ title = "An {$O(n \log n / \! \log\log n)$} Sorting Algorithm",
+ institution = "Fanstord University",
+ type = "Wishful Research Result",
+ number = "7",
+ address = "Computer Science Department, Fanstord, California",
+ month = oct,
+ year = 1988,
+ note = "This is a full TECHREPORT entry",
+}
+
+@UNPUBLISHED{unpublished-minimal,
+ author = "Ulrich {\"{U}}nderwood and Ned {\~N}et and Paul {\={P}}ot",
+ title = "Lower Bounds for Wishful Research Results",
+ note = "Talk at Fanstord University (this is a minimal UNPUBLISHED entry)",
+}
+
+@UNPUBLISHED{unpublished-full,
+ author = "Ulrich {\"{U}}nderwood and Ned {\~N}et and Paul {\={P}}ot",
+ title = "Lower Bounds for Wishful Research Results",
+ month = nov # ", " # dec,
+ year = 1988,
+ note = "Talk at Fanstord University (this is a full UNPUBLISHED entry)",
+}
+
+@MISC{random-note-crossref,
+ key = {Volume-2},
+ note = "Volume~2 is listed under Knuth \cite{book-full}"
+}
+
+
diff --git a/biblio/bibtex/contrib/getrefs/getrefs.bst b/biblio/bibtex/contrib/getrefs/getrefs.bst
new file mode 100644
index 0000000000..d16e55de44
--- /dev/null
+++ b/biblio/bibtex/contrib/getrefs/getrefs.bst
@@ -0,0 +1,1180 @@
+% ----------------------------------------------------------------------
+% $Header: D:/scrtch/sad/ports/getref/getrefs.bst,v 1.3 1998/11/10 14:09:46 stefand Exp $
+% ----------------------------------------------------------------------
+% BibTeX bibliography style `getrefs', based on
+% BibTeX standard bibliography style `abbrv' from the distribution:
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+%% here is another one: When I read a paper I normally find a few
+%% references interesting, but can't retrieve them immediately, be it
+%% because my desk is not in the library, or because the library doesn't
+%% carry the stuff, anyway, and I have to pile up a few references before
+%% travelling to another library (or ordering copies). So, I put all
+%% these references in my bibtex data base with a distinctive tag ('get
+%% ref'), and once in a while I output only those in a separate file,
+%% type set them and go wild in the library.
+%%
+%% Now, I'd love to have a bibtex style that allows me to obtain the type
+%% set version of this bibtex input file sorted first according to source
+%% (say, 'J. Phys. B' before 'Phys. Rev.' before 'Phys. Rev. B' before
+%% 'Zeitschrift f\"ur Physik' etc.), and within each group ordered
+%% according to year, and within this according to volume, possibly down
+%% to issue and page number.
+%%
+%% This would make life a lot easier for me or for who ever I ask to
+%% retrieve the papers for me, especially when some stuff is on micro
+%% film, other journals on display, others in storage etc.
+%%
+%% Is there anything like this out there, or is it easy to cook up
+%% something like this?
+
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Programming"}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Gr."}
+
+MACRO {toms} {"ACM Trans. Math. Softw."}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+
+%% following a suggestion by: Nicolas Holzschuch in reply to my inquiry
+%% in comp.text.tex of 26. Jul 1998, with slight improvements (left.pad
+%% etc.) as suggested by the BibTeX author Oren Patashnik, 27 Jul 1998.
+
+INTEGERS { pad-length }
+
+FUNCTION {left.pad} % left-pad one string with another
+{ duplicate$
+ text.length$ 'pad-length := % the length of the padding string
+ swap$ *
+ #-1 pad-length substring$ % is the length of the result
+}
+
+INTEGERS { pageptr }
+
+FUNCTION {first.page} % use just the first of multiple pages
+{ #1 'pageptr :=
+ { duplicate$ pageptr #1 substring$ % stop at
+ duplicate$ "" = % end of string or
+ swap$ duplicate$ "-" = % at one of three
+ swap$ duplicate$ "," = % multipage
+ swap$ "+" = % indicators
+ or or or not
+ }
+ { pageptr #1 + 'pageptr := }
+ while$
+ pageptr #1 - 'pageptr := % now back up over
+ { duplicate$ pageptr #1 substring$ % any spaces preceding stop spot
+ " " =
+ }
+ { pageptr #1 - 'pageptr := }
+ while$
+ #1 pageptr substring$ % return relevant prefix
+}
+
+
+FUNCTION {presort}
+{ type$ "article" =
+ {
+ journal sortify
+ }
+ {
+ booktitle field.or.null sortify
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+%% volume field.or.null sortify * % N.H.
+ volume field.or.null sortify "0000" left.pad * % O.P.
+ " " *
+%% number field.or.null sortify * % N.H.
+ number field.or.null sortify "0000" left.pad * % O.P.
+ " " *
+%% page sortify * % N.H.
+%% pages field.or.null sortify "00000000" left.pad * % O.P.
+ pages field.or.null first.page sortify "00000000" left.pad * % O.P.
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+
+% ----------------------------------------------------------------------
+%
+% $Log: getrefs.bst,v $
+% Revision 1.3 1998/11/10 14:09:46 stefand
+% removed email address of Oren and Nicolas for privacy.
+%
+% Revision 1.2 1998/11/10 13:57:22 stefand
+% Changed handling of page ranges, following a suggestion of Oren Patashnik.
+%
+% Revision 1.1 1998/08/05 15:49:12 stefand
+% Initial revision
+%
+%
+% ----------------------------------------------------------------------
diff --git a/biblio/bibtex/contrib/getrefs/getrefs.tex b/biblio/bibtex/contrib/getrefs/getrefs.tex
new file mode 100644
index 0000000000..686878c47e
--- /dev/null
+++ b/biblio/bibtex/contrib/getrefs/getrefs.tex
@@ -0,0 +1,9 @@
+\documentclass{article}
+%
+\begin{document}
+\section*{Please, get these references:}
+\nocite{*}
+\bibliographystyle{getrefs}
+\bibliography{getrefs}
+\end{document}
+%
diff --git a/biblio/bibtex/contrib/getrefs/getrefs.txt b/biblio/bibtex/contrib/getrefs/getrefs.txt
new file mode 100644
index 0000000000..51099442eb
--- /dev/null
+++ b/biblio/bibtex/contrib/getrefs/getrefs.txt
@@ -0,0 +1,72 @@
+
+getrefs.zip: 29. July 1998
+
+This package contains a BibTeX style file and a LaTeX2e document
+template to facilitate the retrieval of references from a library.
+Here is the idea, posted as a question to comp.text.tex in July 1998:
+
+ When I read a paper I normally find a few references interesting, but
+ can't retrieve them immediately, be it because my desk is not in the
+ library, or because the library doesn't carry the stuff, anyway, and I
+ have to pile up a few references before travelling to another library
+ (or ordering copies). So, I put all these references in my BibTeX data
+ base with a distinctive tag ('get ref'), and once in a while I output
+ only those in a separate file, type set them and go wild in the
+ library.
+
+ Now, I'd love to have a BibTeX style that allows me to obtain the type
+ set version of this BibTeX input file sorted first according to source
+ (say, 'J. Phys. B' before 'Phys. Rev.' before 'Phys. Rev. B' before
+ 'Zeitschrift f\"ur Physik' etc.), and within each group ordered
+ according to year, and within this according to volume, possibly down
+ to issue and page number.
+
+ This would make life a lot easier for me or for who ever I ask to
+ retrieve the papers for me, especially when some stuff is on micro
+ film, other journals on display, others in storage etc.
+
+ Is there anything like this out there, or is it easy to cook up
+ something like this?
+
+
+With the help of Nicolas Holzschuch and the BibTeX author, Oren
+Patashnik, the problem was easily solved. Nicolas emailed me the
+suggestion for a modification of an existing BibTeX style file, Oren
+made a few suggestions to make the sorting and handling of page ranges a
+bit more robust, and there it was. I don't think I would have been able
+to cook this up in a reasonable amount of time w/o reading the 'LaTeX
+companion' again, so the credit really ought to go to those two people.
+I just want to make the result available to avoid doubling of efforts,
+since I think I am not the only one who could benefit from such a
+solution.
+
+I have chosen to modify the 'abbrv' style file and rename it to
+'getrefs.bst', which together with the included 'getrefs.tex'
+accomplishes the desired result.
+
+Once you have put the BibTeX style file 'getrefs.bst' in a directory
+searched by (e.g. the one where your other *.bst files reside)
+and a copy of 'getrefs.tex' in your tex input path, only the following
+steps are needed:
+
+1. Extract from your BibTeX data base file(s) all entries for which you
+ want to retrieve the papers from the library, and copy them into a
+ separate file, say, getrefs.bib.
+
+ (I label the title field as 'no idea yet -- get ref!', so it is easy
+ to extract the entries with tools such as bibtool (from CTAN) or even
+ sed.)
+
+2. Run LaTeX and BibTeX on the file getrefs.tex:
+
+ latex getrefs
+ bibtex getrefs
+ latex getrefs
+ latex getrefs
+
+3. Print the resulting getrefs.dvi file.
+
+4. Find someone to go to the library for you ...
+
+
+Have fun! Stefan A. Deutscher (sad@utk.edu) 05-Nov-1998
diff --git a/biblio/bibtex/contrib/gost/README.md b/biblio/bibtex/contrib/gost/README.md
new file mode 100644
index 0000000000..6a70110f21
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/README.md
@@ -0,0 +1,327 @@
+GOST is a bundle of BibTeX styles designed to match the State Standards (GOST)
+on information, librarianship and publishing issued by The Russian Federation
+and Interstate Committee of former USSR States.
+
+It may be distributed and/or modified under the conditions of the LaTeX
+Project Public License, either version 1.3 of this license or (at your
+option) any later version. The latest version of this license is in
+ http://www.latex-project.org/lppl.txt
+and version 1.3 or later is part of all distributions of LaTeX
+ version 2005/12/01 or later.
+
+The System of Standards includes:
+GOST 7.0.5-2008 Bibliographic reference.
+ General requirements and rules of making.
+GOST 7.1 -2003 Bibliographic record.
+ Bibliographic description.
+ General requirements and rules.
+GOST 7.80 -2000 Bibliographic record.
+ Heading. General requirements and rules.
+GOST 7.11 -2004 Bibliographic description and references.
+ Rules for the abbreviation of words and word combinations
+ in foreign European languages.
+GOST 7.83 -2001 Electronic editions. Basic types and imprint.
+Etc.
+
+GOST comprises 16 BibTeX styles to format bibliography in English, Russian
+and Ukrainian according to GOST 7.0.5-2008 and GOST 7.1-2003. Both 8-bit
+and Unicode (UTF-8) versions of each BibTeX style, in each case offering
+a choice of sorted and unsorted. Further, 2 more styles, |gost780| and
+|gost780s| styles (not conforming to effective standards) are retained
+for backwards compatibility.
+
+All BibTeX styles are derived from same master file |gost.dtx| by applying
+different set of options as shown in the table below.
+
+------------------------------------------------------------------------
+ Style | utf8 | strict | modern | eprint | long | sort | natbib
+------------------------------------------------------------------------
+ gost780 | | | | | | |
+ gost780s | | | | | | + |
+------------------------------------------------------------------------
+ gost2003 | | + | | + | | |
+ gost2003s | | + | | + | | + |
+ gost2008 | | | + | + | | |
+ gost2008n | | | + | + | | | +
+ gost2008l | | | + | + | + | |
+ gost2008s | | | + | + | | + |
+ gost2008ns | | | + | + | | + | +
+ gost2008ls | | | + | + | + | + |
+------------------------------------------------------------------------
+ ugost2003 | + | + | | + | | |
+ ugost2003s | + | + | | + | | + |
+ ugost2008 | + | | + | + | | |
+ ugost2008n | + | | + | + | | | +
+ ugost2008l | + | | + | + | + | |
+ ugost2008s | + | | + | + | | + |
+ ugost2008ns | + | | + | + | | + | +
+ ugost2008ls | + | | + | + | + | + |
+------------------------------------------------------------------------
+ Style | utf8 | strict | modern | eprint | long | sort | natbib
+------------------------------------------------------------------------
+
+|Gost2008| style is recommended for most applications. It corresponds to the
+currently effective Standard 7.0.5-2008. Librarians should use the style
+|gost2003| instead of |gost2008| to compile a library catalog to meet the
+Standard 7.1-2003. Use of other styles is best explained through
+the meaning of options used to compile those styles from the master source.
+
+Two styles, |gost780| and |gost780s|, generated without |modern| and
+|strict| options, are retained for backward compatibility. They do not
+conform the Standards 7.0.5-2008 and 7.1-2003 cited above.
+
+The |strict| option provides conformance to the Standard 7.1-2003. The
+styles compiled with that option bear the name |gost2003| with possible
+suffixes |s|, |l|, |n| as explained below. These styles are intended
+primarily for the librarians who compose a library catalog.
+
+The |modern| option meets the Standard 7.0.5-2008 which can be thought
+off as a relaxed version of the Standard 7.1-2003. The styles compiled with
+that option bear the name |gost2008| with possible suffixes |s|, |l|, |n|.
+The |strict| option has precedence over |modern| so that a style compiled
+with both options will resemble mainly the |gost2003| style rather than
+|gost2008|.
+
+If the number of authors exceeds 4, modern styles cut the list of authors
+to at most 4 persons as prescibed by the Standards. The option
+|long| overrides this rule to provide backward compatibility with the
+package disser by Stanislab Kruchinin. Two styles, |gost2008l| and
+|gost2008ls|, compiled with the option |long| mimic behavior of the styles
+|gost705| and |gost705s| from the disser package. Major
+effect of the |long| option is that the list of authors always
+precedes book or article title no matter how long is it.
+Modern styles compiled without |long| place long list of authors behind
+the title. The names of styles compiled with the option |long| has the
+suffix |l|. Recall that those styles do not conform effective Standards and
+their use is discouraged.
+
+The |eprint| option enables formatting electronic publications. In particular,
+it enables |eprint|, |eprinttype|, |eprintclass|, and |doi| fields for a
+bibliographic entry. The styles, generated without the |eprint| option,
+just ignore these fields. Starting from the version 1.2 of the GOST package,
+all modern styles are compiled with this option included, and therefore the
+suffix |e| which designated this option in earlier versions is not appended
+to the name of style any more.
+
+The |natbib| option provides compatibility with the |natbib| package. The names
+of styles compiled with the option |natbib| bear the suffix |n|. Currently
+4 styles with that option are available for public use.
+
+The |sort| option enables sorting bibliographic references by author names
+and titles of references. The names of styles compiled with the option |sort|
+bear the suffix |s|. Sorting does not work as expected for databases in
+unicode encoding (see below).
+
+Finally, the |utf8| option produces bibliographic styles in unicode rather
+that in 8-bit encoding. Names of those styles bear the prefix |u|.
+
+
+Beyond bibliographic style, GOST bundle contains CS files (codepage and
+sorting order).
+
+----------------------------------------------------------------
+ Encoding | CSF Sorting order
+----------------------------------------------------------------
+ cp866 | ruscii.csf Cyrillic first, Latin
+ cp1251 | cp1251.csf Cyrillic first, Latin
+ koi8-u | koi8u.csf Cyrillic first, Latin
+ utf8 | utf8cyrillic.csf Cyrillic first, Latin
+----------------------------------------------------------------
+
+In addition, BibTeX8 distribution comes with few more CSFs.
+
+----------------------------------------------------------------
+ Encoding | CSF Sorting order
+----------------------------------------------------------------
+ cp866 | cp866rus.csf Latin first, Cyrillic
+----------------------------------------------------------------
+
+
+How to use
+
+1. Select bibliography style by adding appropriate \bibliographystyle
+ declaration to your source file <filename>.tex, e.g.
+
+ \bibliographystyle{gost2008}
+ \bibliography{database}
+
+2. Add the field language="ukrainian" or language="russian" to the
+ bibliographic entries in Ukrainian or Russian languages in your
+ database; English is the default language. German, Italian and
+ French are partially supported.
+
+3. To compile list of references from your database use bibtex8.exe
+ rather than bibtex.exe. Depending on the codepage of your
+ bibliographic database, indicate one of the CS files
+ listed above as option to bibtex8.exe. Run LaTeX, then run
+ bibTeX8 and again LaTeX:
+
+ latex <filename>.tex
+ bibtex8 -B -c <csf_file>.csf <filename>.aux
+ latex <filename>.tex
+
+4. For details on preparing bibliographic database see
+ examples in |gost*.pdf|.
+
+5. Ugost*.bst styles are primarily intended for use
+ with unicode compilers (xelatex and lualatex). They
+ should be preferred as well when using 8bit compilers
+ (latex and pdflatex) if source file is in utf8 encoding.
+
+6. Neither bibtex.exe nor bibtex8.exe provide
+ correct sorting order of unicode text. It means that using
+ ugost2008s or any other style ended with `s' in
+ its name may produce unexpected result for utf8 documents.
+
+7. Bibtex8 fails to change case of a string if it contains Cyrillic
+ letter in unicode. Therefore ugost2008* styles do not change case of
+ titles and other parts of bibliographic record while 8-bit styles
+ do the case change where appropriate.
+
+8. Either |bibtex8| or |Bibtex8| fail to cut Cyrillic names to
+ initials. Therefore |ugost2008*| styles do not modify the name of
+ authors.
+
+9. Package |natbib| should be loaded when using styles with
+ suffix |n| in their names.
+
+
+Customization
+
+Every GOST style defines few commands to format some parts of a
+reference. You can redefine these commands prior to
+the \bibliography{<bibtex_style>} command. Initial
+definitions are listed below.
+
+ \providecommand*{\url}[1]{{\small #1}}
+ \providecommand*{\BibUrl}[1]{\url{#1}}
+ \providecommand{\BibAnnote}[1]{}
+ \providecommand*{\BibEmph}[1]{#1}
+
+By default, gost styles separate logical parts of a bibliography
+record by a period and cyrdash (. "---). It is legitimate to drop
+that dash by overriding the command \BibDash as follows
+
+ \providecommand*{\BibDash}{}
+
+By default, \BibDash is equivalent to the shorthand "---
+introduced by the babel package with the option russian.
+It prints a so called Cyrillic dash (\cyrdash), which is
+20% shorter than ordinary LaTeX dash (---), and puts
+unbreakable space before \cyrdash so that the dash never
+appears at the beginning of a line.
+
+
+Where to get from
+
+1. http://mirror.ctan.org/biblio/bibtex/contrib/gost/
+2. http://ctan.org/pkg/gost
+
+
+What's new in version 1.2i (2017.01.12)
+
+1. Documentation and examples update (thanks to Leonid Sinev).
+
+2, Restored @MastersThesis instead of @MasterThesis (thanks to Leonid Sinev).
+
+3. Media="eresource" field is introduced in addition to the media="online" and
+ media="text"; if present, the media field is not ignored any more in
+ modern bst-styles compiled without the strict option.
+
+4. Location field is introduced as an alias of address field.
+
+5. @DSCISTHESIS entry renamed to @DOCTHESIS.
+
+6. School field is now treated as an alias of institution.
+
+7. Specialitycode is added for @THESIS and similar entries; number is treated as
+ alias of specialitycode.
+
+8. Type field in THESIS and similar entries can now accept three values
+ (mathesis, phdthesis, docthesis) which are translated to built-in
+ language-sensitive strings; any other value is reproduced literally.
+
+
+What's new in version 1.2h (2016.08.21)
+
+1. Minor changes in documentation.
+
+
+What's new in version 1.2g (2016.07.25)
+
+1. Minor changes in documentation.
+
+
+What's new in version 1.2f (2016.07.11)
+
+1. Support for |@patent| entry added (thanks to Stanislav Kruchinin).
+2. medium field renamed to media field.
+
+
+What's new in version 1.2e (2016.07.07)
+
+1. Hard coded "URL" string replaced with a language sensitive string
+ (thanks to Roman Budnyi).
+
+
+What's new in version 1.2d (2016.02.18)
+
+1. jan, feb, mar, e.t.c. month macros fixed;
+2. New macro format.month.
+3. \cyrdash is now faked via \ProvideTextCommandDefault if not defined.
+
+
+What's new in version 1.2c (2015.01.10)
+
+1. langid field added; language field supported for backward compatibility.
+2. eid field added, it has priority over pages field;
+3. Fix Gost2003: "--- replaced by \BibDash;
+4. Spacing around \BibDash improved.
+
+
+What's new in version 1.2b (2014.01.19)
+
+1. numpages renamed to pagetotal.
+
+
+What's new in version 1.2a (2012.08.31)
+
+1. \cyrdash is now defined via \ProvideTextCommand rather than \providecommand.
+
+
+What's new in version 1.2 (2012.02.22)
+
+1. Code refactoring. All styles are now generated from single source file.
+2. Support for GOST-7.1-2003. The field |medium| is added to reflect type
+ of material. For most entry types |medium| defaults to |text|.
+3. Support for |natbib| package.
+4. All modern styles are now compiled with the |eprint| option.
+
+
+What's new in version 1.1 (2012.01.21)
+
+1. Support for GOST 7.0.5-2008 and GOST 7.1-2003 is provided.
+2. |@Online| entry is added to format a reference to electronic
+ resource on Internet.
+3. |@MastersThesis| entry is added to format a reference to master's thesis.
+ |@DSciThesis| entry is added to format a reference to doctor of
+ sciences thesis.
+4. |Urldate|, |eprint|, |eprintclass|, |eprinttype| fields are added.
+
+
+Version history
+
+2012.08.31 \cyrdash is now defined via \ProvideTextCommand.
+2012.02.22 Support for |natbib| package.
+2012.02.02 Adaptation to GOST 7.0.5, electronic publishing.
+2005.08.12 First version uploaded to CTAN.
+2003.06.06 First public version.
+
+
+
+Please, send feature requests and bug reports via e-mail:
+ kia999 at mail dot ru <Igor A. Kotelnikov>
+or
+ polyama at yahoo dot com <Maksym Polyakov>
+
+Happy BibTeXing!
diff --git a/biblio/bibtex/contrib/gost/bibtex/cp1251.csf b/biblio/bibtex/contrib/gost/bibtex/cp1251.csf
new file mode 100644
index 0000000000..692238930b
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/bibtex/cp1251.csf
@@ -0,0 +1,275 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% CHARACTER SET: Cyrillic (CP 1251)
+%%
+%% SORTING ORDER: Ukrainian/Russian (First Cyrillic then Latin)
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% FILE FORMAT
+%%
+%% The codepage and sorting order (CS) file defines how BibTeX will treat an
+%% 8-bit character set, specifically which characters are to be treated as
+%% letters, the upper/lower case relationships between characters, and the
+%% sorting order of characters.
+%%
+%% The CS file may contain a number of sections, each presented in the
+%% form of a TeX macro:
+%%
+%% \section-name{
+%% <section definitions>
+%% }
+%%
+%% Four sections are currently supported: \lowupcase, \lowercase, \uppercase
+%% and \order. The syntax of the four supported sections is summarised below.
+%%
+%% 8-bit characters may be entered naturally, but to avoid problems with
+%% character set translation or corruption, they can also be entered using
+%% the TeX-style portable notation for character codes, i.e. ^^XX, where XX
+%% is the hexadecimal value ofthe character code.
+%%
+%% Reading of the sections ends when the first '}' character is reached, so
+%% '}' can't be included in a section. You can't use ^^7d either.
+%%
+%% The percent sign ('%') is used to introduce a trailing comment - it and
+%% all remaining characters on a line are ignored. ^^25 has the same effect.
+%%
+%%
+%% \lowupcase section
+%%
+%% The \lowupcase section of the CS file is used to define the lower
+%% /upper and upper/lower case relationship of pairs of specified
+%% characters. It is only used if the relationship is symmetrical - use
+%% \lowercase or \upcase if it isn't.
+%%
+%% The syntax of the \lowupcase section is:
+%%
+%% \lowupcase{
+%% <LC-1> <UC-1> % Comment begins with a percent sign
+%% <LC-2> <UC-2>
+%% ...
+%% <LC-N> <UC-N>
+%% }
+%%
+%% Each <LC-n> <UC-n> pair of characters defines that the upper case
+%% equivalent of <LC-n> is <UC-n> *and* the lower case equivalent of
+%% <UC-n> is <LC-n>.
+%%
+%% You cannot redefine the lower or upper case equivalent of an ASCII
+%% character (code < 128), so all instances of <LC-n> and <UC-n>
+%% (i.e. both sides of the relationship) must have codes > 127.
+%%
+%%
+%% \lowercase section
+%%
+%% The \lowercase section of the CS file is used to define the lower case
+%% equivalent of specified characters. It should normally only be used
+%% if the relationship isn't symmetrical - use \lowupcase if it is.
+%%
+%% The syntax of the \lowercase section is:
+%%
+%% \lowercase{
+%% <UC-1> <LC-1> % Comment begins with a percent sign
+%% <UC-2> <LC-2>
+%% ...
+%% <UC-N> <LC-N>
+%% }
+%%
+%% Each <LC-n> <UC-n> pair of characters defines that the lower case
+%% equivalent of <UC-n> is <LC-n>.
+%%
+%% You cannot redefine the lower case equivalent of an ASCII character
+%% (code < 128), so all instances of <UC-n> (i.e. the left hand side
+%% of the relationship) must have codes > 127.
+%%
+%%
+%% \uppercase section
+%%
+%% The \uppercase section of the CS file is used to define the upper case
+%% equivalent of specified characters. It should normally only be used
+%% if the relationship isn't symmetrical - use \lowupcase if it is.
+%%
+%% The syntax of the \uppercase section is:
+%%
+%% \uppercase{
+%% <LC-1> <UC-1> % Comment begins with a percent sign
+%% <LC-2> <UC-2>
+%% ...
+%% <LC-N> <UC-N>
+%% }
+%%
+%% Each <LC-n> <UC-n> pair of characters defines that the upper case
+%% case equivalent of <LC-n> is <UC-n>.
+%%
+%% You cannot redefine the upper case equivalent of an ASCII character
+%% (code < 128), so all instances of <LC-n> (i.e. the left hand side
+%% of the relationship) must have codes > 127.
+%%
+%%
+%% \order section
+%%
+%% The \order section of the CS file is used to define the order in which
+%% characters are sorted.
+%%
+%% The syntax of the \order section is:
+%%
+%% \order{
+%% <char-1> % Comment begins with a percent sign
+%% <char-2> <char-3> % whitespace between the chars
+%% <char-4> - <char-5> % a hyphen between the chars
+%% <char-4> _ <char-5> % an underscore between the chars
+%% ...
+%% <char-n>
+%% }
+%%
+%% All characters on the same line are given the same sorting weight.
+%%
+%% The construct <char-1> <underscore> <char-2> is used to denote that
+%% all characters in the range <char-1> to <char-2> should be given the
+%% same sorting weight. For example, "A _ Z" would cause all ASCII
+%% upper case alphabetical characters to have the same sorting weight
+%% and would be equivalent to placing all 26 characters on the same line.
+%%
+%% The construct <char-1> <hyphen> <char-2> is used to denote that all
+%% characters in the range <char-1> to <char-2> should be given an
+%% ascending set of sorting weights, starting with <char-1> and ending
+%% with <char-2>. For example, "A - Z" would cause all upper case ASCII
+%% alphabetical characters to be sorted in ascending order and would be
+%% equivalent to placing 'A' on the first line, 'B' on the second,
+%% through to 'Z' on the 26th line.
+%%
+%% The characters at the beginning of the order section are given a lower
+%% sorting weight than characters occuring later. When sorting
+%% alphabetically, characters with the lowest weight come first.
+%%
+%% All characters not in the \order section (including ASCII characters)
+%% are given the same very high sorting weight to ensure that they come
+%% last when sorting alphabetically.
+%%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ex/contrib/gost/bibtex/koi8u.csf b/biblio/bibtex/contrib/gost/bibtex/koi8u.csf
new file mode 100644
index 0000000000..f84ae4870a
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/bibtex/koi8u.csf
@@ -0,0 +1,275 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% CHARACTER SET: Cyrillic (koi8-u)
+%%
+%% SORTING ORDER: Ukrainian/Russian (First Cyrillic then Latin)
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% FILE FORMAT
+%%
+%% The codepage and sorting order (CS) file defines how BibTeX will treat an
+%% 8-bit character set, specifically which characters are to be treated as
+%% letters, the upper/lower case relationships between characters, and the
+%% sorting order of characters.
+%%
+%% The CS file may contain a number of sections, each presented in the
+%% form of a TeX macro:
+%%
+%% \section-name{
+%% <section definitions>
+%% }
+%%
+%% Four sections are currently supported: \lowupcase, \lowercase, \uppercase
+%% and \order. The syntax of the four supported sections is summarised below.
+%%
+%% 8-bit characters may be entered naturally, but to avoid problems with
+%% character set translation or corruption, they can also be entered using
+%% the TeX-style portable notation for character codes, i.e. ^^XX, where XX
+%% is the hexadecimal value ofthe character code.
+%%
+%% Reading of the sections ends when the first '}' character is reached, so
+%% '}' can't be included in a section. You can't use ^^7d either.
+%%
+%% The percent sign ('%') is used to introduce a trailing comment - it and
+%% all remaining characters on a line are ignored. ^^25 has the same effect.
+%%
+%%
+%% \lowupcase section
+%%
+%% The \lowupcase section of the CS file is used to define the lower
+%% /upper and upper/lower case relationship of pairs of specified
+%% characters. It is only used if the relationship is symmetrical - use
+%% \lowercase or \upcase if it isn't.
+%%
+%% The syntax of the \lowupcase section is:
+%%
+%% \lowupcase{
+%% <LC-1> <UC-1> % Comment begins with a percent sign
+%% <LC-2> <UC-2>
+%% ...
+%% <LC-N> <UC-N>
+%% }
+%%
+%% Each <LC-n> <UC-n> pair of characters defines that the upper case
+%% equivalent of <LC-n> is <UC-n> *and* the lower case equivalent of
+%% <UC-n> is <LC-n>.
+%%
+%% You cannot redefine the lower or upper case equivalent of an ASCII
+%% character (code < 128), so all instances of <LC-n> and <UC-n>
+%% (i.e. both sides of the relationship) must have codes > 127.
+%%
+%%
+%% \lowercase section
+%%
+%% The \lowercase section of the CS file is used to define the lower case
+%% equivalent of specified characters. It should normally only be used
+%% if the relationship isn't symmetrical - use \lowupcase if it is.
+%%
+%% The syntax of the \lowercase section is:
+%%
+%% \lowercase{
+%% <UC-1> <LC-1> % Comment begins with a percent sign
+%% <UC-2> <LC-2>
+%% ...
+%% <UC-N> <LC-N>
+%% }
+%%
+%% Each <LC-n> <UC-n> pair of characters defines that the lower case
+%% equivalent of <UC-n> is <LC-n>.
+%%
+%% You cannot redefine the lower case equivalent of an ASCII character
+%% (code < 128), so all instances of <UC-n> (i.e. the left hand side
+%% of the relationship) must have codes > 127.
+%%
+%%
+%% \uppercase section
+%%
+%% The \uppercase section of the CS file is used to define the upper case
+%% equivalent of specified characters. It should normally only be used
+%% if the relationship isn't symmetrical - use \lowupcase if it is.
+%%
+%% The syntax of the \uppercase section is:
+%%
+%% \uppercase{
+%% <LC-1> <UC-1> % Comment begins with a percent sign
+%% <LC-2> <UC-2>
+%% ...
+%% <LC-N> <UC-N>
+%% }
+%%
+%% Each <LC-n> <UC-n> pair of characters defines that the upper case
+%% case equivalent of <LC-n> is <UC-n>.
+%%
+%% You cannot redefine the upper case equivalent of an ASCII character
+%% (code < 128), so all instances of <LC-n> (i.e. the left hand side
+%% of the relationship) must have codes > 127.
+%%
+%%
+%% \order section
+%%
+%% The \order section of the CS file is used to define the order in which
+%% characters are sorted.
+%%
+%% The syntax of the \order section is:
+%%
+%% \order{
+%% <char-1> % Comment begins with a percent sign
+%% <char-2> <char-3> % whitespace between the chars
+%% <char-4> - <char-5> % a hyphen between the chars
+%% <char-4> _ <char-5> % an underscore between the chars
+%% ...
+%% <char-n>
+%% }
+%%
+%% All characters on the same line are given the same sorting weight.
+%%
+%% The construct <char-1> <underscore> <char-2> is used to denote that
+%% all characters in the range <char-1> to <char-2> should be given the
+%% same sorting weight. For example, "A _ Z" would cause all ASCII
+%% upper case alphabetical characters to have the same sorting weight
+%% and would be equivalent to placing all 26 characters on the same line.
+%%
+%% The construct <char-1> <hyphen> <char-2> is used to denote that all
+%% characters in the range <char-1> to <char-2> should be given an
+%% ascending set of sorting weights, starting with <char-1> and ending
+%% with <char-2>. For example, "A - Z" would cause all upper case ASCII
+%% alphabetical characters to be sorted in ascending order and would be
+%% equivalent to placing 'A' on the first line, 'B' on the second,
+%% through to 'Z' on the 26th line.
+%%
+%% The characters at the beginning of the order section are given a lower
+%% sorting weight than characters occuring later. When sorting
+%% alphabetically, characters with the lowest weight come first.
+%%
+%% All characters not in the \order section (including ASCII characters)
+%% are given the same very high sorting weight to ensure that they come
+%% last when sorting alphabetically.
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+%%
+%% CHARACTER SET
+%%
+\lowupcase{
+ Á á
+ Â â
+ × ÷
+ Ç ç
+ ­ ½
+ Ä ä
+ Å å
+ ¤ ´
+ £ ³
+ Ö ö
+ Ú ú
+ É é
+ ¦ ¶
+ § ·
+ Ê ê
+ Ë ë
+ Ì ì
+ Í í
+ Î î
+ Ï ï
+ Ð ð
+ Ò ò
+ Ó ó
+ Ô ô
+ Õ õ
+ Æ æ
+ È è
+ Ã ã
+ Þ þ
+ Û û
+ Ý ý
+ ß ÿ
+ Ù ù
+ Ø ø
+ Ü ü
+ À à
+ Ñ ñ
+}
+
+
+
+%%
+%% SORTING ORDER
+%%
+%%
+\order{
+ 0-9
+ á Á
+ â Â
+ ÷ ×
+ ç Ç
+ ½ ­
+ ä Ä
+ å Å
+ ´ ¤
+ ³ £
+ ö Ö
+ ú Ú
+ é É
+ ¶ ¦
+ · §
+ ê Ê
+ ë Ë
+ ì Ì
+ í Í
+ î Î
+ ï Ï
+ ð Ð
+ ò Ò
+ ó Ó
+ ô Ô
+ õ Õ
+ æ Æ
+ è È
+ ã Ã
+ þ Þ
+ û Û
+ ý Ý
+ ÿ ß
+ ù Ù
+ ø Ø
+ ü Ü
+ à À
+ ñ Ñ
+ A a
+ B b
+ C c
+ D d
+ E e
+ F f
+ G g
+ H h
+ I i
+ J j
+ K k
+ L l
+ M m
+ N n
+ O o
+ P p
+ Q q
+ R r
+ S s
+ T t
+ U u
+ V v
+ W w
+ X x
+ Y y
+ Z z
+}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% END OF FILE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/biblio/bibtex/contrib/gost/bibtex/ruscii.csf b/biblio/bibtex/contrib/gost/bibtex/ruscii.csf
new file mode 100644
index 0000000000..6f20a6f8af
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/bibtex/ruscii.csf
@@ -0,0 +1,275 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% CHARACTER SET: Cyrillic (CP 866nav aka RUSCII)
+%%
+%% SORTING ORDER: Ukrainian/Russian (First Cyrillic then Latin)
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% FILE FORMAT
+%%
+%% The codepage and sorting order (CS) file defines how BibTeX will treat an
+%% 8-bit character set, specifically which characters are to be treated as
+%% letters, the upper/lower case relationships between characters, and the
+%% sorting order of characters.
+%%
+%% The CS file may contain a number of sections, each presented in the
+%% form of a TeX macro:
+%%
+%% \section-name{
+%% <section definitions>
+%% }
+%%
+%% Four sections are currently supported: \lowupcase, \lowercase, \uppercase
+%% and \order. The syntax of the four supported sections is summarised below.
+%%
+%% 8-bit characters may be entered naturally, but to avoid problems with
+%% character set translation or corruption, they can also be entered using
+%% the TeX-style portable notation for character codes, i.e. ^^XX, where XX
+%% is the hexadecimal value ofthe character code.
+%%
+%% Reading of the sections ends when the first '}' character is reached, so
+%% '}' can't be included in a section. You can't use ^^7d either.
+%%
+%% The percent sign ('%') is used to introduce a trailing comment - it and
+%% all remaining characters on a line are ignored. ^^25 has the same effect.
+%%
+%%
+%% \lowupcase section
+%%
+%% The \lowupcase section of the CS file is used to define the lower
+%% /upper and upper/lower case relationship of pairs of specified
+%% characters. It is only used if the relationship is symmetrical - use
+%% \lowercase or \upcase if it isn't.
+%%
+%% The syntax of the \lowupcase section is:
+%%
+%% \lowupcase{
+%% <LC-1> <UC-1> % Comment begins with a percent sign
+%% <LC-2> <UC-2>
+%% ...
+%% <LC-N> <UC-N>
+%% }
+%%
+%% Each <LC-n> <UC-n> pair of characters defines that the upper case
+%% equivalent of <LC-n> is <UC-n> *and* the lower case equivalent of
+%% <UC-n> is <LC-n>.
+%%
+%% You cannot redefine the lower or upper case equivalent of an ASCII
+%% character (code < 128), so all instances of <LC-n> and <UC-n>
+%% (i.e. both sides of the relationship) must have codes > 127.
+%%
+%%
+%% \lowercase section
+%%
+%% The \lowercase section of the CS file is used to define the lower case
+%% equivalent of specified characters. It should normally only be used
+%% if the relationship isn't symmetrical - use \lowupcase if it is.
+%%
+%% The syntax of the \lowercase section is:
+%%
+%% \lowercase{
+%% <UC-1> <LC-1> % Comment begins with a percent sign
+%% <UC-2> <LC-2>
+%% ...
+%% <UC-N> <LC-N>
+%% }
+%%
+%% Each <LC-n> <UC-n> pair of characters defines that the lower case
+%% equivalent of <UC-n> is <LC-n>.
+%%
+%% You cannot redefine the lower case equivalent of an ASCII character
+%% (code < 128), so all instances of <UC-n> (i.e. the left hand side
+%% of the relationship) must have codes > 127.
+%%
+%%
+%% \uppercase section
+%%
+%% The \uppercase section of the CS file is used to define the upper case
+%% equivalent of specified characters. It should normally only be used
+%% if the relationship isn't symmetrical - use \lowupcase if it is.
+%%
+%% The syntax of the \uppercase section is:
+%%
+%% \uppercase{
+%% <LC-1> <UC-1> % Comment begins with a percent sign
+%% <LC-2> <UC-2>
+%% ...
+%% <LC-N> <UC-N>
+%% }
+%%
+%% Each <LC-n> <UC-n> pair of characters defines that the upper case
+%% case equivalent of <LC-n> is <UC-n>.
+%%
+%% You cannot redefine the upper case equivalent of an ASCII character
+%% (code < 128), so all instances of <LC-n> (i.e. the left hand side
+%% of the relationship) must have codes > 127.
+%%
+%%
+%% \order section
+%%
+%% The \order section of the CS file is used to define the order in which
+%% characters are sorted.
+%%
+%% The syntax of the \order section is:
+%%
+%% \order{
+%% <char-1> % Comment begins with a percent sign
+%% <char-2> <char-3> % whitespace between the chars
+%% <char-4> - <char-5> % a hyphen between the chars
+%% <char-4> _ <char-5> % an underscore between the chars
+%% ...
+%% <char-n>
+%% }
+%%
+%% All characters on the same line are given the same sorting weight.
+%%
+%% The construct <char-1> <underscore> <char-2> is used to denote that
+%% all characters in the range <char-1> to <char-2> should be given the
+%% same sorting weight. For example, "A _ Z" would cause all ASCII
+%% upper case alphabetical characters to have the same sorting weight
+%% and would be equivalent to placing all 26 characters on the same line.
+%%
+%% The construct <char-1> <hyphen> <char-2> is used to denote that all
+%% characters in the range <char-1> to <char-2> should be given an
+%% ascending set of sorting weights, starting with <char-1> and ending
+%% with <char-2>. For example, "A - Z" would cause all upper case ASCII
+%% alphabetical characters to be sorted in ascending order and would be
+%% equivalent to placing 'A' on the first line, 'B' on the second,
+%% through to 'Z' on the 26th line.
+%%
+%% The characters at the beginning of the order section are given a lower
+%% sorting weight than characters occuring later. When sorting
+%% alphabetically, characters with the lowest weight come first.
+%%
+%% All characters not in the \order section (including ASCII characters)
+%% are given the same very high sorting weight to ensure that they come
+%% last when sorting alphabetically.
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+%%
+%% CHARACTER SET
+%%
+\lowupcase{
+   €
+ ¡
+ ¢ ‚
+ £ ƒ
+ ó ò
+ ¤ „
+ ¥ …
+ õ ô
+ ñ ð
+ ¦ †
+ § ‡
+ ¨ ˆ
+ ÷ ö
+ ù ø
+ © ‰
+ ª Š
+ « ‹
+ ¬ Œ
+ ­
+ ® Ž
+ ¯
+ à
+ á ‘
+ â ’
+ ã “
+ ä ”
+ å •
+ æ –
+ ç —
+ è ˜
+ é ™
+ ê š
+ ë ›
+ ì œ
+ í
+ î ž
+ ï Ÿ
+}
+
+
+
+%%
+%% SORTING ORDER
+%%
+%%
+\order{
+ 0-9
+ €  
+ ¡
+ ‚ ¢
+ ƒ £
+ ò ó
+ „ ¤
+ … ¥
+ ô õ
+ ð ñ
+ † ¦
+ ‡ §
+ ˆ ¨
+ ö ÷
+ ø ù
+ ‰ ©
+ Š ª
+ ‹ «
+ Œ ¬
+ ­
+ Ž ®
+ ¯
+ à
+ ‘ á
+ ’ â
+ “ ã
+ ” ä
+ • å
+ – æ
+ — ç
+ ˜ è
+ ™ é
+ š ê
+ › ë
+ œ ì
+ í
+ ž î
+ Ÿ ï
+ A a
+ B b
+ C c
+ D d
+ E e
+ F f
+ G g
+ H h
+ I i
+ J j
+ K k
+ L l
+ M m
+ N n
+ O o
+ P p
+ Q q
+ R r
+ S s
+ T t
+ U u
+ V v
+ W w
+ X x
+ Y y
+ Z z
+}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% END OF FILE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/biblio/bibtex/contrib/gost/bibtex/utf8cyrillic.csf b/biblio/bibtex/contrib/gost/bibtex/utf8cyrillic.csf
new file mode 100644
index 0000000000..60d4550a13
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/bibtex/utf8cyrillic.csf
@@ -0,0 +1,275 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% CHARACTER SET: Cyrillic (utf8)
+%%
+%% SORTING ORDER: Ukrainian/Russian (First Cyrillic then Latin)
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% FILE FORMAT
+%%
+%% The codepage and sorting order (CS) file defines how BibTeX will treat an
+%% 8-bit character set, specifically which characters are to be treated as
+%% letters, the upper/lower case relationships between characters, and the
+%% sorting order of characters.
+%%
+%% The CS file may contain a number of sections, each presented in the
+%% form of a TeX macro:
+%%
+%% \section-name{
+%% <section definitions>
+%% }
+%%
+%% Four sections are currently supported: \lowupcase, \lowercase, \uppercase
+%% and \order. The syntax of the four supported sections is summarised below.
+%%
+%% 8-bit characters may be entered naturally, but to avoid problems with
+%% character set translation or corruption, they can also be entered using
+%% the TeX-style portable notation for character codes, i.e. ^^XX, where XX
+%% is the hexadecimal value ofthe character code.
+%%
+%% Reading of the sections ends when the first '}' character is reached, so
+%% '}' can't be included in a section. You can't use ^^7d either.
+%%
+%% The percent sign ('%') is used to introduce a trailing comment - it and
+%% all remaining characters on a line are ignored. ^^25 has the same effect.
+%%
+%%
+%% \lowupcase section
+%%
+%% The \lowupcase section of the CS file is used to define the lower
+%% /upper and upper/lower case relationship of pairs of specified
+%% characters. It is only used if the relationship is symmetrical - use
+%% \lowercase or \upcase if it isn't.
+%%
+%% The syntax of the \lowupcase section is:
+%%
+%% \lowupcase{
+%% <LC-1> <UC-1> % Comment begins with a percent sign
+%% <LC-2> <UC-2>
+%% ...
+%% <LC-N> <UC-N>
+%% }
+%%
+%% Each <LC-n> <UC-n> pair of characters defines that the upper case
+%% equivalent of <LC-n> is <UC-n> *and* the lower case equivalent of
+%% <UC-n> is <LC-n>.
+%%
+%% You cannot redefine the lower or upper case equivalent of an ASCII
+%% character (code < 128), so all instances of <LC-n> and <UC-n>
+%% (i.e. both sides of the relationship) must have codes > 127.
+%%
+%%
+%% \lowercase section
+%%
+%% The \lowercase section of the CS file is used to define the lower case
+%% equivalent of specified characters. It should normally only be used
+%% if the relationship isn't symmetrical - use \lowupcase if it is.
+%%
+%% The syntax of the \lowercase section is:
+%%
+%% \lowercase{
+%% <UC-1> <LC-1> % Comment begins with a percent sign
+%% <UC-2> <LC-2>
+%% ...
+%% <UC-N> <LC-N>
+%% }
+%%
+%% Each <LC-n> <UC-n> pair of characters defines that the lower case
+%% equivalent of <UC-n> is <LC-n>.
+%%
+%% You cannot redefine the lower case equivalent of an ASCII character
+%% (code < 128), so all instances of <UC-n> (i.e. the left hand side
+%% of the relationship) must have codes > 127.
+%%
+%%
+%% \uppercase section
+%%
+%% The \uppercase section of the CS file is used to define the upper case
+%% equivalent of specified characters. It should normally only be used
+%% if the relationship isn't symmetrical - use \lowupcase if it is.
+%%
+%% The syntax of the \uppercase section is:
+%%
+%% \uppercase{
+%% <LC-1> <UC-1> % Comment begins with a percent sign
+%% <LC-2> <UC-2>
+%% ...
+%% <LC-N> <UC-N>
+%% }
+%%
+%% Each <LC-n> <UC-n> pair of characters defines that the upper case
+%% case equivalent of <LC-n> is <UC-n>.
+%%
+%% You cannot redefine the upper case equivalent of an ASCII character
+%% (code < 128), so all instances of <LC-n> (i.e. the left hand side
+%% of the relationship) must have codes > 127.
+%%
+%%
+%% \order section
+%%
+%% The \order section of the CS file is used to define the order in which
+%% characters are sorted.
+%%
+%% The syntax of the \order section is:
+%%
+%% \order{
+%% <char-1> % Comment begins with a percent sign
+%% <char-2> <char-3> % whitespace between the chars
+%% <char-4> - <char-5> % a hyphen between the chars
+%% <char-4> _ <char-5> % an underscore between the chars
+%% ...
+%% <char-n>
+%% }
+%%
+%% All characters on the same line are given the same sorting weight.
+%%
+%% The construct <char-1> <underscore> <char-2> is used to denote that
+%% all characters in the range <char-1> to <char-2> should be given the
+%% same sorting weight. For example, "A _ Z" would cause all ASCII
+%% upper case alphabetical characters to have the same sorting weight
+%% and would be equivalent to placing all 26 characters on the same line.
+%%
+%% The construct <char-1> <hyphen> <char-2> is used to denote that all
+%% characters in the range <char-1> to <char-2> should be given an
+%% ascending set of sorting weights, starting with <char-1> and ending
+%% with <char-2>. For example, "A - Z" would cause all upper case ASCII
+%% alphabetical characters to be sorted in ascending order and would be
+%% equivalent to placing 'A' on the first line, 'B' on the second,
+%% through to 'Z' on the 26th line.
+%%
+%% The characters at the beginning of the order section are given a lower
+%% sorting weight than characters occuring later. When sorting
+%% alphabetically, characters with the lowest weight come first.
+%%
+%% All characters not in the \order section (including ASCII characters)
+%% are given the same very high sorting weight to ensure that they come
+%% last when sorting alphabetically.
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+%%
+%% CHARACTER SET
+%%
+\lowupcase{
+ а Ð
+ б Б
+ в В
+ г Г
+ Ò‘ Ò
+ д Д
+ е Е
+ є Є
+ Ñ‘ Ð
+ ж Ж
+ з З
+ и И
+ і І
+ ї Ї
+ й Й
+ к К
+ л Л
+ м М
+ н Ð
+ о О
+ п П
+ р Р
+ Ñ Ð¡
+ т Т
+ у У
+ ф Ф
+ х Х
+ ц Ц
+ ч Ч
+ ш Ш
+ щ Щ
+ ъ Ъ
+ ы Ы
+ ь Ь
+ Ñ Ð­
+ ю Ю
+ Ñ Ð¯
+}
+
+
+
+%%
+%% SORTING ORDER
+%%
+%%
+\order{
+ 0-9
+ Ра
+ Б б
+ В в
+ Г г
+ Ò Ò‘
+ Д д
+ Е е
+ Є є
+ Ð Ñ‘
+ Ж ж
+ З з
+ И и
+ І і
+ Ї ї
+ Й й
+ К к
+ Л л
+ М м
+ Рн
+ О о
+ П п
+ Р р
+ С Ñ
+ Т т
+ У у
+ Ф ф
+ Х х
+ Ц ц
+ Ч ч
+ Ш ш
+ Щ щ
+ Ъ ъ
+ Ы ы
+ Ь ь
+ Э Ñ
+ Ю ю
+ Я Ñ
+ A a
+ B b
+ C c
+ D d
+ E e
+ F f
+ G g
+ H h
+ I i
+ J j
+ K k
+ L l
+ M m
+ N n
+ O o
+ P p
+ Q q
+ R r
+ S s
+ T t
+ U u
+ V v
+ W w
+ X x
+ Y y
+ Z z
+}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% END OF FILE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex01.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex01.bib
new file mode 100644
index 0000000000..57063ef0af
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex01.bib
@@ -0,0 +1,9 @@
+@BOOK{Vasylenko92,
+ author = {Âàñèëåíêî, Ì. Â.},
+ title = {Òåîð³ÿ êîëèâàíü: Íàâ÷àëüíèé ïîñ³áíèê},
+ address = {Ê.},
+ publisher = {Âèùà øêîëà},
+ year = {1992},
+ pagetotal = {430},
+ language = {ukrainian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex02.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex02.bib
new file mode 100644
index 0000000000..28d34ab5e4
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex02.bib
@@ -0,0 +1,10 @@
+@BOOK{Afanasyev92,
+ author = {Àôàíàñüåâ, Â. Â. and Âàñèëåâñêèé, Î. Í.},
+ title = {Ðàñ÷åòû ýëåêòðè÷åñêèõ öåïåé
+ íà ïðîãðàììèðóåìûõ ìèêðîêàëüêóëÿòîðàõ},
+ address = {Ì.},
+ publisher = {Ýíåðãîèçäàò},
+ year = {1992},
+ pagetotal = {190},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex03.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex03.bib
new file mode 100644
index 0000000000..429a2da7fa
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex03.bib
@@ -0,0 +1,11 @@
+@BOOK{Makilov91,
+ author = {Ìåëèêîâ, À. Ç. and Ïîíîìàðåíêî, Ë. À.
+ and Ðþìøèí, Ï. À.},
+ title = {Ìàòåìàòè÷åñêèå ìîäåëè ìíîãîïîòîêîâûõ
+ ñèñòåì îáñëóæèâàíèÿ},
+ address = {Ê.},
+ publisher = {Òåõí³êà},
+ year = {1991},
+ pagetotal = {265},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex04.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex04.bib
new file mode 100644
index 0000000000..5a838c074c
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex04.bib
@@ -0,0 +1,11 @@
+@BOOK{Ponomarenko86,
+ title = {Îñíîâû ñîçäàíèÿ ãèáêèõ àòîìàòèçèðîâàííûõ ïðîèçâîäñòâ},
+ author = {Ë. À. Ïîíîìàðåíêî and Ë. Â. Àäàìîâè÷
+ and Â. Ò. Ìóçû÷óê and À. Å. Ãðèäàñîâ},
+ editor = {Á. Á. Òèìîôååâà},
+ address = {Ê.},
+ publisher = {Òåõí³êà},
+ year = {1986},
+ pagetotal = {144},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex05.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex05.bib
new file mode 100644
index 0000000000..b4acb9dd8e
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex05.bib
@@ -0,0 +1,11 @@
+@BOOK{Belousova81,
+ title = {Ñèñòåìíûé àíàëèç èíôðàñòðóêòóðû
+ êàê ýëåìåíò íàðîäíîãî õîçÿéñòâà},
+ author = {Áåëîóñîâà, Í. È. and Âèøíÿê, Å. È.
+ and Ëåâèò, Â. Þ. and others},
+ address = {Ì.},
+ publisher = {Ýêîíîìèêà},
+ year = {1981},
+ pagetotal = {62},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex06.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex06.bib
new file mode 100644
index 0000000000..4de1c6bcf7
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex06.bib
@@ -0,0 +1,12 @@
+@BOOK{BibOp91,
+ title = {Ñîñòàâëåíèå áèáëèîãðàôè÷åñêîãî îïèñàíèÿ:
+ Êðàòêèå ïðàâèëà},
+ organization = {Ìåæäóâåä. êàòàëîãèçàö. êîìèñ.
+ ïðè Ãîñ. á-êå ÑÑÑÐ èì.~Â.~È. Ëåíèíà},
+ edition = {2-å, äîï.},
+ address = {Ì.},
+ publisher = {Êí.~ïàëàòà},
+ year = {1991},
+ pagetotal = {224},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex06a.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex06a.bib
new file mode 100644
index 0000000000..d595539ba9
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex06a.bib
@@ -0,0 +1,10 @@
+@BOOK{Poems82,
+ title = {Ñòèõè î ìóçûêå. Ðóññêèå,
+ ñîâåòñêèå, çàðóáåæíûå ïîýòû: Ñáîðíèê},
+ compiler = {À. Áèðþêîâà and Â. Òàòàðèíîâ},
+ address = {Ì.},
+ publisher = {Ñîâ. êîìïîçèòîð},
+ year = {1982},
+ pagetotal = {224},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex07.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex07.bib
new file mode 100644
index 0000000000..8801a77719
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex07.bib
@@ -0,0 +1,9 @@
+@BOOK{HistLit82,
+ title = {Èñòîðèÿ ðóññêîé ëèòåðàòóðû: Â 4 ò.},
+ organization = {ÀÍ ÑÑÑÐ, Èí-ò ðóñ.~ëèò.\ (Ïóøêèí.äîì)},
+ address = {Ì.},
+ year = {1982},
+ volume = {3: Ðàñöâåò ðåàëèçìà},
+ pagetotal = {876},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex08.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex08.bib
new file mode 100644
index 0000000000..261cb27089
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex08.bib
@@ -0,0 +1,10 @@
+@BOOK{Landau:eldin,
+ author = {Ë. Ä. Ëàíäàó and Å. Ì. Ëèôøèö},
+ title = {Òåîðåòè÷åñêàÿ ôèçèêà: ó÷åáíîå ïîñîáèå â 10 ò.},
+ publisher = {Íàóêà. Ãë.\ ðåä.\ ôèç.-ìàò.\ ëèò.},
+ address = {Ì.},
+ year = {1992},
+ volume = {VIII. Ýëåêòðîäèíàìèêà ñïëîøíûõ ñðåä},
+ edition = {3-å, èñïð.},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex09.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex09.bib
new file mode 100644
index 0000000000..cd31d23bec
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex09.bib
@@ -0,0 +1,12 @@
+@BOOK{BRLS94,
+ title = {Íàðûñû ïà ãiñòîðûi áåëàðóñêà-ðóñêiõ
+ ëiòàðàòóðíûõ ñóâÿçåé: Ó 4 êí.},
+ organization = {Àêàä.\ íàâóê Áåëàðóñi. Ií-ò ëiò.},
+ address = {Ìiíñê},
+ publisher = {Íàâóêà i òýõíiêà},
+ year = {1994},
+ volume = {2: Ïà÷àòàê ÕÕ ñò. 1900--1917 ãã.},
+ editor = {Â. À. Êàâàëåíêà and I. ß. Íàâóìåíêà},
+ pagetotal = {440},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex10.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex10.bib
new file mode 100644
index 0000000000..5c3f395b64
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex10.bib
@@ -0,0 +1,9 @@
+@BOOK{Grosse80,
+ author = {Ãðîññå, Ý. and Âàéñìàíãåëü, Õ.},
+ title = {Õèìèÿ äëÿ ëþáîçíàòåëüíûõ: Ïåð.\ ñ íåì.},
+ address = {Ì.},
+ publisher = {Õèìèÿ},
+ year = {1980},
+ pagetotal = {392},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex11.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex11.bib
new file mode 100644
index 0000000000..4711209121
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex11.bib
@@ -0,0 +1,11 @@
+@BOOK{GOST7184,
+ key = {ÃÎÑÒ},
+ title = {ÃÎÑÒ 7.1-84. Áèáëèîãðàôè÷åñêîå îïèñàíèå äîêóìåíòà.
+ Îáùèå òðåáîâàíèÿ è ïðàâèëà ñîñòàâëåíèÿ.
+ --- Âçàìåí ÃÎÑÒ 7.1-76~; ââåä. 01.01.86.},
+ address = {Ì.},
+ publisher = {Èçä-âî ñòàíäàðòîâ},
+ year = {1984},
+ pagetotal = {78},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex12.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex12.bib
new file mode 100644
index 0000000000..ecfc60291b
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex12.bib
@@ -0,0 +1,8 @@
+@BOOK{ObchTech93,
+ title = {Îá÷èñëþâàëüíà ³ ïðèêëàäíà ìàòåìàòèêà: Çá.íàóê.ïð.},
+ address = {Ê.},
+ publisher = {Ëèá³äü},
+ year = {1993},
+ pagetotal = {99},
+ language = {ukrainian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex13.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex13.bib
new file mode 100644
index 0000000000..755ef6661e
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex13.bib
@@ -0,0 +1,10 @@
+@BOOK{Bibdelo86,
+ title = {Áèáëèîòå÷íîå äåëî: Òåðìèíîë. ñëîâàðü},
+ composer = {È. Ì. Ñóñëîâà and Ë. Í. Óëàíîâà},
+ edition = {2-å èçä.},
+ address = {Ì.},
+ publisher = {Êíèãà},
+ year = {1986},
+ pagetotal = {224},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex14.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex14.bib
new file mode 100644
index 0000000000..8ded1d318c
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex14.bib
@@ -0,0 +1,11 @@
+@INBOOK{Ponomarenko79,
+ author = {Ïîíîìàðåíêî, Ë. À.},
+ title = {Îðãàíèçóþùàÿ ñèñòåìà},
+ booktitle = {Àâòîìàòèçàöèÿ òåõíîëîãè÷åñêèõ ïðîöåññîâ
+ â ïðîêàòíîì ïðîèçâîäñòâå},
+ address = {Ì.},
+ publisher = {Ìåòàëëóðãèÿ},
+ year = {1979},
+ pages = {141-148},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex14a.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex14a.bib
new file mode 100644
index 0000000000..13a5a7e4c5
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex14a.bib
@@ -0,0 +1,11 @@
+@INBOOK{Zeyts70,
+ author = {Çåéòö, Ô.},
+ title = {Î ïðèâåäåíèè ïðîñòðàíñòâåííûõ ãðóïï},
+ booktitle = {Ñèììåòðèÿ â òâåðäîì òåëå},
+ bookauthor = {Íîêñ, Ð. and Ãîëä, À.},
+ address = {Ì.},
+ publisher = {Íàóêà},
+ year = {1970},
+ pages = {172--186},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex15.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex15.bib
new file mode 100644
index 0000000000..ec178f2f01
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex15.bib
@@ -0,0 +1,12 @@
+@INCOLLECTION{Ponoomarenko76,
+ author = {Ïîíîìàðåíêî, Ë. À.},
+ title = {Ñòðóêòóðà ñèñòåìû ïðåðûâàíèÿ ñ ñèòóàöèîííûìè
+ ïðèîðèòåòàìè â ÀÑÓÒÏ ñòàíîâ ãîðÿ÷åé ïðîêàòêè},
+ booktitle = {Ðàçðàáîòêà àâòîìàòèçèðîâàííûõ ñèñòåì óïðàâëåíèÿ
+ òåõíîëîãè÷åñêèìè ïðîöåññàìè},
+ address = {Òáèëèñè},
+ publisher = {Ñàá÷îòà Ñàêàðòâåëî},
+ year = {1976},
+ pages = {3-16},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex16.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex16.bib
new file mode 100644
index 0000000000..8db207bd87
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex16.bib
@@ -0,0 +1,10 @@
+@ARTICLE{Malikov92,
+ author = {Ìåëèêîâ, À. Ç. and Ïîíîìàðåíêî, Ë. À.},
+ title = {Îïòèìèçàöèÿ öèôðîâîé ñåòè èíòåãðàëüíîãî îáñëóæèâàíèÿ
+ ñ êîíå÷íûì ÷èñëîì ïîëüçîâàòåëåé è áëîêèðîâêàìè},
+ journal = {Àâòîìàòèêà è òåëåìåõàíèêà},
+ year = {1992},
+ number = {6},
+ pages = {34-38},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex17.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex17.bib
new file mode 100644
index 0000000000..39e1d292b4
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex17.bib
@@ -0,0 +1,11 @@
+@ARTICLE{Ponomarenko86a,
+ author = {Ïîíîìàðåíêî, Ë. À. and Ìåëèêîâ, À. Ç.},
+ title = {Ñèòóàöèîííîå óïðàâëåíèå ìíîãîêàíàëüíîé ñèñòåìîé
+ ñ ïåðåìåííîé ñòðóêòóðîé îáñëóæèâàíèÿ íåîäíîðîäíîãî ïîòîêà},
+ journal = {Èçâ.\ ÀÍ Àçåðá.\ Ðåñï. Ñåð.\ ôèç.-òåõí.\ è ìàò.\ íàóê},
+ year = {1986},
+ volume = {7},
+ number = {6},
+ pages = {79-83},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex17a.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex17a.bib
new file mode 100644
index 0000000000..5351992600
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex17a.bib
@@ -0,0 +1,8 @@
+@ARTICLE{dixit.pindyck:options,
+ title = {The Options Approach to Capital Investment},
+ author = {Avinash K. Dixit and Robert S. Pindyck},
+ journal = {Harvard Business Review},
+ year = {1995},
+ month = {May-June},
+ pages = {105--115},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex17b.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex17b.bib
new file mode 100644
index 0000000000..4407d93cf3
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex17b.bib
@@ -0,0 +1,10 @@
+@ARTICLE{RosGaz-article,
+ title = {Ôåäåðàëüíûé çàêîí î âíåñåíèè èçìåíåíèé
+ è äîïîëíåíèé â Ñåìåéíûé êîäåêñ Ðîññèéñêîé Ôåäåðàöèè},
+ journal = {Ðîññèéñêàÿ ãàçåòà},
+ year = {1997},
+ month = {19 íîÿá},
+ pages = {4},
+ note = {Ðîññèéñêàÿ Ôåäåðàöèÿ. Çàêîíû},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex18.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex18.bib
new file mode 100644
index 0000000000..67a509d497
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex18.bib
@@ -0,0 +1,11 @@
+@INBOOK{Dolmatovskiy88,
+ author = {Äîëìàòîâñêèé, Þ. À.},
+ title = {Ýëåêòðîìîáèëü},
+ booktitle = {ÁÑÝ},
+ edition = {3-å},
+ address = {Ì.},
+ year = {1988},
+ volume = {30},
+ pages = {72},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex19.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex19.bib
new file mode 100644
index 0000000000..46d4523928
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex19.bib
@@ -0,0 +1,14 @@
+@INPROCEEDINGS{Ponomarenko88,
+ author = {Ïîíîìàðåíêî, Ë. À. and Æó÷êîâà, È. Â.},
+ title = {Îïòèìàëüíîå íàçíà÷åíèå ïðèîðèòåòîâ
+ ïðè îðãàíèçàöèè äîñòóïà â ëîêàëüíûõ
+ âû÷èñëèòåëüíûõ ñåòÿõ ÀÑÓÒÏ},
+ booktitle = {Òðóäû Ìåæäóíàð.\ êîíô.\
+ <<Ëîêàëüíûå âû÷èñëèòåëüíûå ñåòè>> (ËÎÊÑÅÒÜ 88)},
+ volume = {1},
+ address = {Ðèãà},
+ publisher = {ÈÝÂÒ ÀÍ Ëàòâèè},
+ year = {1988},
+ pages = {149-153},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex20.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex20.bib
new file mode 100644
index 0000000000..59d5fd3c67
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex20.bib
@@ -0,0 +1,9 @@
+@INPROCEEDINGS{Melikov95,
+ author = {Melikov, A. Z. and Ponomarenko, L. A.},
+ title = {On the approach to optimal control
+ of queuing systems with multiple classes of customers},
+ booktitle = {Proc.\ International Conf.\ on Syst.\ Sci.\ XII.},
+ address = {Wroclaw (Poland)},
+ year = {1995},
+ pages = {507-515},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex20a.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex20a.bib
new file mode 100644
index 0000000000..510df37e95
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex20a.bib
@@ -0,0 +1,28 @@
+@INPROCEEDINGS{Gojchuk98,
+ author = {Ãîé÷óê, À. Ô.},
+ title = {Îñîáëèâîñò³ åò³îëî㳿 ³ ïàòîãåíåçó ïîïåðå÷íîãî ðàêó
+ äóáà çâè÷àéíîãî â Óêðà¿í³},
+ booktitle = {Íàóêîâèé â³ñíèê Íàö³îíàëüíîãî
+ àãðàðíîãî óí³âåðñèòåòó},
+ editor = {Ìåëüíè÷óêà, Ä. Î. and others},
+ address = {Ê.},
+ publisher = {ÍÀÓ},
+ year = {1998},
+ series = {Âèï. 8: ˳ñ³âíèöòâî},
+ pages = {168--173},
+ language = {ukrainian},
+}
+
+@INPROCEEDINGS{Polyakov98a,
+ author = {Ì. Î. Ïîëÿêîâ},
+ title = {Ñèñòåìíèé åôåêò àãðåãóâàííÿ ë³ñîñ³ê â óïðàâë³íí³
+ ë³ñîâèìè ðåñóðñàìè íà ðåã³îíàëüíîìó ð³âí³},
+ crossref = {Gojchuk98},
+ annote = {Ðîçãëÿíóòî åôåêò àãðåãóâàííÿ åëåìåíòàðíèõ
+ ãîñïîäàðñüêèõ îäèíèöü íà ðîçì³ð ðîçðàõóíêîâî¿ ë³ñîñ³êè.
+ Çàïðîïîíîâàíî ìåòîä âèçíà÷åííÿ ìàêñèìàëüíî äîïóñòèìîãî ðîçì³ðó
+ ðóáàííÿ çà ïëîùåþ íà ð³âí³ ðåã³îíó â êîíòåêñò³ ñèñòåìè
+ äåðæàâíîãî ðåãóëþâàííÿ ë³ñîêîðèñòóâàííÿ äëÿ óìîâ ðèíêîâî¿
+ åêîíîì³êè},
+ pages = {213--220},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex20b.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex20b.bib
new file mode 100644
index 0000000000..ee783d526d
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex20b.bib
@@ -0,0 +1,16 @@
+@INPROCEEDINGS{TranskSpivrob99:Purich,
+ author = {Ïóðè÷, Øòåôàí},
+ title = {{Ð}óìûíñêî-{Ó}êðàèíñêîå òðàíñãðàíè÷íîå ñîòðóäíè÷åñòâî:
+ ïðîáëåìû è ïåðñïåêòèâû},
+ language = {russian},
+ booktitle = {Òðàíñêîðäîííå ñï³âðîá³òíèöòâî ó ïîë³åòí³÷íèõ ðåã³îíàõ
+ {Ñ}õ³äíî¿ òà {Ï}³âäåííî-{Ñ}õ³äíî¿ {ª}âðîïè: {Ì}àòåð³àëè íàóêîâîãî
+ ñèìïîç³óìó},
+ editor = {Ìàêàðà, Þ.},
+ address = {×åðí³âö³},
+ publisher = {Çîëîò³ ëèòàâðè},
+ organization = {Áóêîâèíñüêèé ïîë³òîëîã³÷íèé öåíòð},
+ year = {1999},
+ pagetotal = {196},
+ booklanguage = {ukrainian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex20c.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex20c.bib
new file mode 100644
index 0000000000..002f8f4fb4
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex20c.bib
@@ -0,0 +1,20 @@
+@INPROCEEDINGS{Selikov95,
+ author = {Selikov, A. Z. and Ponomarenko, L. A. and Qranamarenko, L. S. and Zonomarenko, L. U.},
+ title = {On the approach to optimal control
+ of queuing systems with multiple classes of customers},
+ booktitle = {Proc.\ International Conf.\ on Syst.\ Sci.\ XII.},
+ address = {Wroclaw (Poland)},
+ year = {1995},
+ pages = {507-515},
+}
+
+@INPROCEEDINGS{Selikov+95,
+ author = {Ñåëèêîâ, A. Z. and Ïîíîìàðü, L. A. and Êðàìàðåíêî, L. S. and Çîëêèí, Ë. Þ.},
+ title = {On the approach to optimal control
+ of queuing systems with multiple classes of customers},
+ booktitle = {Proc.\ International Conf.\ on Syst.\ Sci.\ XII.},
+ address = {Wroclaw (Poland)},
+ year = {1995},
+ pages = {507-515},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex21.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex21.bib
new file mode 100644
index 0000000000..b3e88b84d2
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex21.bib
@@ -0,0 +1,14 @@
+@PHDTHESIS{Luus82,
+ author = {Ëóóñ, Ðîìàí Àðêàäüåâè÷},
+ title = {Èññëåäîâàíèå îáîðóäîâàíèÿ ñ ïíåâìîâàêóóìíûì
+ ïðèâîäîì äëÿ çàõâàòà, ïåðåìåùåíèÿ è ôèêñàöèè
+ ïðè îáðàáîòêå ïîðèñòûõ è ëåãêîïîâðåæäàåìûõ
+ ñòðîèòåëüíûõ èçäåëèé},
+ type = {Äèññåðòàöèÿ íà ñîèñêàíèå ó÷åíîé ñòåïåíè êàíäèäàòà òåõíè÷åñêèõ íàóê},
+ number = {05.05.04},
+ institution = {Ìîñê.\ ñòðîèò.\ èí-ò},
+ address = {Ì.},
+ year = {1982},
+ pagetotal = {212},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex21a.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex21a.bib
new file mode 100644
index 0000000000..9eefa82a93
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex21a.bib
@@ -0,0 +1,11 @@
+@DOCTHESIS{KIA95-default,
+ author = {Êîòåëüíèêîâ, Èãîðü Àëåêñàíäðîâè÷},
+ title = {Òåîðèÿ ìàãíèòíîãî óäåðæàíèÿ äâóõêîìïîíåíòíîé ïëàçìû
+ â îòêðûòûõ ëîâóøêàõ},
+ number = {01.04.08},
+ institution = {Èí-ò ÿäåðíîé ôèçèêè èì.\ Ã.~È. Áóäêåðà ÑÎ ÐÀÍ},
+ address = {Íîâîñèáèðñê},
+ year = {1995},
+ pagetotal = {350},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex21b.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex21b.bib
new file mode 100644
index 0000000000..49be181505
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex21b.bib
@@ -0,0 +1,17 @@
+@MASTERSTHESIS{mastersthesis-minimal,
+ title = {Mastering Thesis Writing},
+ author = {{\'{E}}douard Masterly},
+ year = {1988},
+ institution = {Stanford University},
+}
+
+@MASTERSTHESIS{mastersthesis-full,
+ title = {Mastering Thesis Writing},
+ author = {{\'{E}}douard Masterly},
+ month = jun,
+ note = {This is a full MASTERSTHESIS entry},
+ type = {Master's project},
+ year = {1988},
+ address = {English Department},
+ institution = {Stanford University},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex23.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex23.bib
new file mode 100644
index 0000000000..8919d9102e
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex23.bib
@@ -0,0 +1,11 @@
+@BOOK{Ponomarenko76,
+ author = {Ïîíîìàðåíêî, Ë. À. and Áóàäçå, Â. Â.},
+ title = {Ìàòåìàòè÷åñêèå ìîäåëè è àëãîðèòìû ñáîðà
+ è îáðàáîòêè èíôîðìàöèè â ÀÑÓÒÏ íåïðåðûâíûõ
+ ñòàíîâ ãîðÿ÷åé ïðîêàòêè},
+ address = {Ê.},
+ year = {1976},
+ pagetotal = {37},
+ language = {russian},
+ note = {(Ïðåïð./ ÀÍ Óêðàèíû. Èí-ò êèáåðíåòèêè; 76-76)},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex24.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex24.bib
new file mode 100644
index 0000000000..7f94e041da
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex24.bib
@@ -0,0 +1,15 @@
+@REPORT{Report81-rep,
+ title = {Ïðîâåäåíèå èñïûòàíèé è èññëåäîâàíèé
+ òåïëîòåõíè÷åñêèõ ñâîéñòâ êàìåð {ÊÕÑ-2-12-ÂÇ}
+ è {ÊÕÑ-2-12-ÊDzÎ}},
+ institution = {Âñåñîþçí.\ çàî÷í.\ èí-ò ïèù.\ ïðîì-òè},
+ address = {Ì.},
+ organization = {ÂÈÍÈÒÈ},
+ year = {1981},
+ pagetotal = {90},
+ type = {Îò÷åò î {ÍÈÐ}},
+ editor = {Ïóòèí, Â. Â.},
+ author = {Ìåäâåäåâ, Ä. À. and others},
+ note = {Èíâ.\ ¹ Â 119692},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex24a.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex24a.bib
new file mode 100644
index 0000000000..4d0612148f
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex24a.bib
@@ -0,0 +1,12 @@
+@REPORT{Report81b-rep-notype,
+ title = {Ïðîâåäåíèå èñïûòàíèé è èññëåäîâàíèé
+ òåïëîòåõíè÷åñêèõ ñâîéñòâ êàìåð {ÊÕÑ-2-12-ÂÇ}
+ è {ÊÕÑ-2-12-ÊDzÎ}},
+ institution = {Âñåñîþçí.\ çàî÷í.\ èí-ò ïèù.\ ïðîì-òè},
+ address = {Ì.},
+ organization = {ÂÈÍÈÒÈ},
+ year = {1981},
+ pagetotal = {90},
+ note = {Èíâ.\ ¹ Â 119692},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex24b.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex24b.bib
new file mode 100644
index 0000000000..e9377071aa
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex24b.bib
@@ -0,0 +1,14 @@
+@TECHREPORT{Report81-techrep,
+ title = {Ïðîâåäåíèå èñïûòàíèé è èññëåäîâàíèé
+ òåïëîòåõíè÷åñêèõ ñâîéñòâ êàìåð {ÊÕÑ-2-12-ÂÇ}
+ è {ÊÕÑ-2-12-ÊDzÎ}},
+ institution = {Âñåñîþçí.\ çàî÷í.\ èí-ò ïèù.\ ïðîì-òè},
+ address = {Ì.},
+ organization = {ÂÈÍÈÒÈ},
+ year = {1981},
+ pagetotal = {90},
+ editor = {Ïóòèí, Â. Â.},
+ author = {Ìåäâåäåâ, Ä. À. and others},
+ note = {Èíâ.\ ¹ Â 119692},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex25.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex25.bib
new file mode 100644
index 0000000000..2e8efb6726
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex25.bib
@@ -0,0 +1,11 @@
+@BOOK{CatalogMamals81,
+ title = {Êàòàëîã ìëåêîïèòàþùèõ ÑÑÑÐ.
+ Ïëèîöåí "--- ñîâðåìåííîñòü},
+ organization = {ÀÍ ÑÑÑÐ, Çîîë.\ èí-ò},
+ editor = {È. Ì. Ãðîìîâà and Ã. È. Áàðàíîâîé},
+ address = {Ë.},
+ publisher = {Íàóêà, Ëåíèíã.\ îòä-íèå},
+ year = {1981},
+ pagetotal = {456},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex26.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex26.bib
new file mode 100644
index 0000000000..62820b280e
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex26.bib
@@ -0,0 +1,12 @@
+@BOOK{Instr86,
+ title = {Òèïîâàÿ èíñòðóêöèÿ ïî ýêñïëóàòàöèè
+ òîïëèâîîòäà÷è òåïëîâûõ ýëåêòðîñòàíöèé~:
+ ÒÈ 34-70-044-85~: Óòâ. Ãë. òåõí. óïð.
+ ïî ýêñïëóàòàöèè ýíåðãîñèñòåì 01.10.85~:
+ Ñðîê äåéñòâèÿ óñòàíîâëåí ñ 01.01.86 äî 01.01.95},
+ organization = {Ì-âî ýíåðãåòèêè è ýëåêòðèôèêàöèè ÑÑÑÐ},
+ address = {Ì.},
+ year = {1986},
+ pagetotal = {43},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex27a.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex27a.bib
new file mode 100644
index 0000000000..9b58759802
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex27a.bib
@@ -0,0 +1,18 @@
+@ONLINE{wiki:latex,
+ author = {Wikipedia},
+ title = {{\LaTeX}---Wikipedia{,} The Free Encyclopedia},
+ year = {2012},
+ url = {http://en.wikipedia.org/wiki/LaTeX},
+ urldate = {25.01.2012},
+}
+
+@ONLINE{wiki:latex-2,
+ author = {Wikipedia},
+ title = {{\LaTeX}},
+ howpublished = {Wikipedia, The Free Encyclopedia},
+ year = {2012},
+ eprint = {wiki/LaTeX},
+ eprinttype = {WikiPedia},
+ url = {http://en.wikipedia.org/wiki/LaTeX},
+ urldate = {25.01.2012},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex27b.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex27b.bib
new file mode 100644
index 0000000000..d298189634
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex27b.bib
@@ -0,0 +1,10 @@
+@ONLINE{phys:moodle,
+ author = {×åðêàññêèé, Â. Ñ.},
+ title = {Êëàññíàÿ êîìíàòà},
+ howpublished = {Ôèçè÷åñêèé ôàêóëüòåò},
+ organization = {ÍÃÓ},
+ year = {2012},
+ url = {http://www.phys.nsu.ru/moodle/},
+ urldate = {16.01.2012},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex27c.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex27c.bib
new file mode 100644
index 0000000000..35f92171c2
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex27c.bib
@@ -0,0 +1,8 @@
+@MISC{EXFOR,
+ author = {IAEA},
+ title = {{EXFOR}---Experimental Nuclear Reaction Data },
+ url = {http://www-nds.iaea.org/exfor},
+ address = {P.O. Box 100, Wagramer Strasse 5, A-1400 Vienna, Austria},
+ year = {2012},
+ media = {eresource}
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex28.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex28.bib
new file mode 100644
index 0000000000..530ca4e2eb
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex28.bib
@@ -0,0 +1,25 @@
+@BOOK{IsaacNewton,
+ author = {Newton, {\relax Sir Isaac}},
+ title = {Opticks, or a treatise of the reflections,
+ refractions, inflections and colours of light},
+ publisher = {William Innys},
+ url = {http://books.google.com/books?id=XXu4AkRVBBoC},
+ media = {eresource},
+ year = {1730},
+ pagetotal = {382},
+ eprint = {XXu4AkRVBBoC},
+ eprinttype = {Google Books},
+}
+
+@BOOK{IsaacNewton-sl:sn,
+ author = {{\relax Sir I}saac Newton},
+ title = {Opticks, or a treatise of the reflections,
+ refractions, inflections and colours of light},
+ url = {http://books.google.com/books?id=XXu4AkRVBBoC},
+ media = {online},
+ year = {1730},
+ pagetotal = {382},
+ eprint = {XXu4AkRVBBoC},
+ eprinttype = {Google Books},
+}
+% publisher = {William Innys},
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex28a.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex28a.bib
new file mode 100644
index 0000000000..856f384899
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex28a.bib
@@ -0,0 +1,32 @@
+@BOOK{Encyclopedia,
+ title = {Õóäîæåñòâåííàÿ ýíöèêëîïåäèÿ çàðóáåæíîãî êëàññè÷åñêîãî èñêóññòâà},
+ publisher = {Áîëüøàÿ Ðîñ. ýíöèêë.},
+ year = {1996},
+ address = {Ì.},
+ note = {1 ýëåêòðîí. îïò. äèñê (CD-ROM)},
+ language = {russian},
+ media = {eresource},
+}
+
+@ARTICLE{Nasirova,
+ title = {Ìîäåëè ãîñóäàðñòâåííîãî ðåãóëèðîâàíèÿ ñòðàõîâîé äåÿòåëüíîñòè},
+ author = {Íàñûðîâà, Ã. À.},
+ language = {russian},
+ note = {Ðåæèì äîñòóïà: http://vestnik.fa.ru/4(28)2003/4.html},
+ number = {4},
+ year = {2003},
+ journal = {Âåñòíèê Ôèíàíñîâîé àêàäåìèè},
+ media2 = {eresource},
+ media = {online},
+}
+
+@BOOK{kremlincd,
+ title = {Ìîñêîâñêèé Êðåìëü},
+ titleaddon = {òðåõìåð. ïóòåâîäèòåëü},
+ language = {russian},
+ note = {CD-ROM},
+ date = {2007},
+ location = {Ì.},
+ publisher = {Íîâûé Äèñê},
+ media = {eresource},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex29.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex29.bib
new file mode 100644
index 0000000000..416cb5b91c
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex29.bib
@@ -0,0 +1,15 @@
+@ARTICLE{PhysRevLett.101.085006,
+ author = {Kotelnikov, Igor and Rom\'e, Massimiliano},
+ volume = {101},
+ journal = {Phys. Rev. Lett.},
+ month = {Aug},
+ pagetotal = {4},
+ title = {Admissible Equilibria of Non-neutral Plasmas in a Malmberg-Penning Trap},
+ year = {2008},
+ doi = {10.1103/PhysRevLett.101.085006},
+ issue = {8},
+ publisher = {American Physical Society},
+ pages = {085006},
+}
+
+% url = {http://link.aps.org/doi/10.1103/PhysRevLett.101.085006},
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex30.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex30.bib
new file mode 100644
index 0000000000..836bc7e5ad
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex30.bib
@@ -0,0 +1,27 @@
+@ARTICLE{1998PhRvE..57.7111K,
+ author = {{Kinney}, R.~M. and {McWilliams}, J.~C.},
+ title = {{Turbulent cascades in anisotropic magnetohydrodynamics}},
+ journal = pre,
+ keywords = {Plasma turbulence, Magnetohydrodynamic and fluid equation},
+ year = {1998},
+ month = jun,
+ volume = {57},
+ pages = {7111-7121},
+ doi = {10.1103/PhysRevE.57.7111},
+ adsurl = {http://adsabs.harvard.edu/abs/1998PhRvE..57.7111K},
+ adsnote = {Provided by the SAO/NASA Astrophysics Data System},
+}
+
+@ARTICLE{1998UFN,
+ author = {Êîòåëüíèêîâ, È. À. and Àñòðåëèí, Â. Ò.},
+ title = {Òåîðèÿ ïëàçìåííîãî ýìèòòåðà ïîëîæèòåëüíûõ èîíîâ},
+ journal = ufn,
+ keywords = {ïëàçìåííûé ýìèòòåð, êðèòåðèé Áîìà},
+ year = {2015},
+ month = jul,
+ volume = {185},
+ pages = {753-771},
+ language = {russian},
+ doi = {10.3367/UFNr.0185.201507c.0753},
+ url = {http://ufn.ru/ru/articles/2015/7/c/},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex31.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex31.bib
new file mode 100644
index 0000000000..4ea961f068
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/ex31.bib
@@ -0,0 +1,40 @@
+@PATENT{patent1,
+ author = {Ý. Â. Òåðíåð},
+ authorcountry = {ÑØÀ},
+ title = {Îäíîðàçîâàÿ ðàêåòà-íîñèòåëü},
+ media = {text},
+ type = {çàÿâêà},
+ number = {1095735},
+ location = {Ðîñ. Ôåäåðàöèÿ},
+ ipc = {ÌÏÊ\ensuremath{^7} B 64 G 1/00},
+ holder = {çàÿâèòåëü Ñïåéñ Ñèñòåìç/Ëîðàë, èíê.},
+ credits = {ïàòåíò. ïîâåðåííûé Åãîðîâà Ã. Á.},
+ requestnumber = {000108705/28},
+ requestdate = {07.04.2000},
+ publicationdate = {10.03.2001},
+ publication = {Áþë. ¹ 7 (I ÷.)},
+ prioritydate= {09.04.1999},
+ prioritynumber = {09/289, 037},
+ prioritycountry = {ÑØÀ},
+ pagetotal = {5 ñ.~: èë.},
+ language = {russian},
+}
+
+@PATENT{patent2,
+ author = {Â. È. ×óãàåâà},
+ authorcountry = {ÐÔ},
+ title = {Ïðèåìîïåðåäàþùåå óñòðîéñòâî},
+ media = {text},
+ type = {ïàò.},
+ number = {2000131736/09},
+ location = {Ðîñ. Ôåäåðàöèÿ},
+ ipc = {ÌÏÊ\ensuremath{^7} H 04 Â 1/38, Í 04 J 13/00},
+ holder = {çàÿâèòåëü è ïàòåíòîîáëàäàòåëü Âîðîíåæ. íàó÷.-èñëåä. èí-ò ñâÿçè.},
+ credits = {ïàòåíò. ïîâåðåííûé Åãîðîâà Ã. Á.},
+ requestnumber = {000108705/28},
+ date = {18.12.2000},
+ publicationdate = {20.08.2002},
+ publication = {Áþë. ¹ 23 (II ÷.)},
+ pagetotal = {2 ñ.~: èë.},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/examples.bib b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/examples.bib
new file mode 100644
index 0000000000..f3c17bdef3
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/bib/examples.bib
@@ -0,0 +1,606 @@
+@BOOK{Vasylenko92,
+ author = {Âàñèëåíêî, Ì. Â.},
+ title = {Òåîð³ÿ êîëèâàíü: Íàâ÷àëüíèé ïîñ³áíèê},
+ address = {Ê.},
+ publisher = {Âèùà øêîëà},
+ year = {1992},
+ pagetotal = {430},
+ language = {ukrainian},
+}
+@BOOK{Afanasyev92,
+ author = {Àôàíàñüåâ, Â. Â. and Âàñèëåâñêèé, Î. Í.},
+ title = {Ðàñ÷åòû ýëåêòðè÷åñêèõ öåïåé
+ íà ïðîãðàììèðóåìûõ ìèêðîêàëüêóëÿòîðàõ},
+ address = {Ì.},
+ publisher = {Ýíåðãîèçäàò},
+ year = {1992},
+ pagetotal = {190},
+ language = {russian},
+}
+@BOOK{Makilov91,
+ author = {Ìåëèêîâ, À. Ç. and Ïîíîìàðåíêî, Ë. À.
+ and Ðþìøèí, Ï. À.},
+ title = {Ìàòåìàòè÷åñêèå ìîäåëè ìíîãîïîòîêîâûõ
+ ñèñòåì îáñëóæèâàíèÿ},
+ address = {Ê.},
+ publisher = {Òåõí³êà},
+ year = {1991},
+ pagetotal = {265},
+ language = {russian},
+}
+@BOOK{Ponomarenko86,
+ title = {Îñíîâû ñîçäàíèÿ ãèáêèõ àòîìàòèçèðîâàííûõ ïðîèçâîäñòâ},
+ author = {Ë. À. Ïîíîìàðåíêî and Ë. Â. Àäàìîâè÷
+ and Â. Ò. Ìóçû÷óê and À. Å. Ãðèäàñîâ},
+ editor = {Á. Á. Òèìîôååâà},
+ address = {Ê.},
+ publisher = {Òåõí³êà},
+ year = {1986},
+ pagetotal = {144},
+ language = {russian},
+}
+@BOOK{Belousova81,
+ title = {Ñèñòåìíûé àíàëèç èíôðàñòðóêòóðû
+ êàê ýëåìåíò íàðîäíîãî õîçÿéñòâà},
+ author = {Áåëîóñîâà, Í. È. and Âèøíÿê, Å. È.
+ and Ëåâèò, Â. Þ. and others},
+ address = {Ì.},
+ publisher = {Ýêîíîìèêà},
+ year = {1981},
+ pagetotal = {62},
+ language = {russian},
+}
+@BOOK{BibOp91,
+ title = {Ñîñòàâëåíèå áèáëèîãðàôè÷åñêîãî îïèñàíèÿ:
+ Êðàòêèå ïðàâèëà},
+ organization = {Ìåæäóâåä. êàòàëîãèçàö. êîìèñ.
+ ïðè Ãîñ. á-êå ÑÑÑÐ èì.~Â.~È. Ëåíèíà},
+ edition = {2-å, äîï.},
+ address = {Ì.},
+ publisher = {Êí.~ïàëàòà},
+ year = {1991},
+ pagetotal = {224},
+ language = {russian},
+}
+@BOOK{Poems82,
+ title = {Ñòèõè î ìóçûêå. Ðóññêèå,
+ ñîâåòñêèå, çàðóáåæíûå ïîýòû: Ñáîðíèê},
+ compiler = {À. Áèðþêîâà and Â. Òàòàðèíîâ},
+ address = {Ì.},
+ publisher = {Ñîâ. êîìïîçèòîð},
+ year = {1982},
+ pagetotal = {224},
+ language = {russian},
+}
+@BOOK{HistLit82,
+ title = {Èñòîðèÿ ðóññêîé ëèòåðàòóðû: Â 4 ò.},
+ organization = {ÀÍ ÑÑÑÐ, Èí-ò ðóñ.~ëèò.\ (Ïóøêèí.äîì)},
+ address = {Ì.},
+ year = {1982},
+ volume = {3: Ðàñöâåò ðåàëèçìà},
+ pagetotal = {876},
+ language = {russian},
+}
+@BOOK{Landau:eldin,
+ author = {Ë. Ä. Ëàíäàó and Å. Ì. Ëèôøèö},
+ title = {Òåîðåòè÷åñêàÿ ôèçèêà: ó÷åáíîå ïîñîáèå â 10 ò.},
+ publisher = {Íàóêà. Ãë.\ ðåä.\ ôèç.-ìàò.\ ëèò.},
+ address = {Ì.},
+ year = {1992},
+ volume = {VIII. Ýëåêòðîäèíàìèêà ñïëîøíûõ ñðåä},
+ edition = {3-å, èñïð.},
+ language = {russian},
+}
+@BOOK{BRLS94,
+ title = {Íàðûñû ïà ãiñòîðûi áåëàðóñêà-ðóñêiõ
+ ëiòàðàòóðíûõ ñóâÿçåé: Ó 4 êí.},
+ organization = {Àêàä.\ íàâóê Áåëàðóñi. Ií-ò ëiò.},
+ address = {Ìiíñê},
+ publisher = {Íàâóêà i òýõíiêà},
+ year = {1994},
+ volume = {2: Ïà÷àòàê ÕÕ ñò. 1900--1917 ãã.},
+ editor = {Â. À. Êàâàëåíêà and I. ß. Íàâóìåíêà},
+ pagetotal = {440},
+ language = {russian},
+}
+@BOOK{Grosse80,
+ author = {Ãðîññå, Ý. and Âàéñìàíãåëü, Õ.},
+ title = {Õèìèÿ äëÿ ëþáîçíàòåëüíûõ: Ïåð.\ ñ íåì.},
+ address = {Ì.},
+ publisher = {Õèìèÿ},
+ year = {1980},
+ pagetotal = {392},
+ language = {russian},
+}
+@BOOK{GOST7184,
+ key = {ÃÎÑÒ},
+ title = {ÃÎÑÒ 7.1-84. Áèáëèîãðàôè÷åñêîå îïèñàíèå äîêóìåíòà.
+ Îáùèå òðåáîâàíèÿ è ïðàâèëà ñîñòàâëåíèÿ.
+ --- Âçàìåí ÃÎÑÒ 7.1-76~; ââåä. 01.01.86.},
+ address = {Ì.},
+ publisher = {Èçä-âî ñòàíäàðòîâ},
+ year = {1984},
+ pagetotal = {78},
+ language = {russian},
+}
+@BOOK{ObchTech93,
+ title = {Îá÷èñëþâàëüíà ³ ïðèêëàäíà ìàòåìàòèêà: Çá.íàóê.ïð.},
+ address = {Ê.},
+ publisher = {Ëèá³äü},
+ year = {1993},
+ pagetotal = {99},
+ language = {ukrainian},
+}
+@BOOK{Bibdelo86,
+ title = {Áèáëèîòå÷íîå äåëî: Òåðìèíîë. ñëîâàðü},
+ composer = {È. Ì. Ñóñëîâà and Ë. Í. Óëàíîâà},
+ edition = {2-å èçä.},
+ address = {Ì.},
+ publisher = {Êíèãà},
+ year = {1986},
+ pagetotal = {224},
+ language = {russian},
+}
+@INBOOK{Ponomarenko79,
+ author = {Ïîíîìàðåíêî, Ë. À.},
+ title = {Îðãàíèçóþùàÿ ñèñòåìà},
+ booktitle = {Àâòîìàòèçàöèÿ òåõíîëîãè÷åñêèõ ïðîöåññîâ
+ â ïðîêàòíîì ïðîèçâîäñòâå},
+ address = {Ì.},
+ publisher = {Ìåòàëëóðãèÿ},
+ year = {1979},
+ pages = {141-148},
+ language = {russian},
+}
+@INBOOK{Zeyts70,
+ author = {Çåéòö, Ô.},
+ title = {Î ïðèâåäåíèè ïðîñòðàíñòâåííûõ ãðóïï},
+ booktitle = {Ñèììåòðèÿ â òâåðäîì òåëå},
+ bookauthor = {Íîêñ, Ð. and Ãîëä, À.},
+ address = {Ì.},
+ publisher = {Íàóêà},
+ year = {1970},
+ pages = {172--186},
+ language = {russian},
+}
+@INCOLLECTION{Ponoomarenko76,
+ author = {Ïîíîìàðåíêî, Ë. À.},
+ title = {Ñòðóêòóðà ñèñòåìû ïðåðûâàíèÿ ñ ñèòóàöèîííûìè
+ ïðèîðèòåòàìè â ÀÑÓÒÏ ñòàíîâ ãîðÿ÷åé ïðîêàòêè},
+ booktitle = {Ðàçðàáîòêà àâòîìàòèçèðîâàííûõ ñèñòåì óïðàâëåíèÿ
+ òåõíîëîãè÷åñêèìè ïðîöåññàìè},
+ address = {Òáèëèñè},
+ publisher = {Ñàá÷îòà Ñàêàðòâåëî},
+ year = {1976},
+ pages = {3-16},
+ language = {russian},
+}
+@ARTICLE{Malikov92,
+ author = {Ìåëèêîâ, À. Ç. and Ïîíîìàðåíêî, Ë. À.},
+ title = {Îïòèìèçàöèÿ öèôðîâîé ñåòè èíòåãðàëüíîãî îáñëóæèâàíèÿ
+ ñ êîíå÷íûì ÷èñëîì ïîëüçîâàòåëåé è áëîêèðîâêàìè},
+ journal = {Àâòîìàòèêà è òåëåìåõàíèêà},
+ year = {1992},
+ number = {6},
+ pages = {34-38},
+ language = {russian},
+}
+@ARTICLE{Ponomarenko86a,
+ author = {Ïîíîìàðåíêî, Ë. À. and Ìåëèêîâ, À. Ç.},
+ title = {Ñèòóàöèîííîå óïðàâëåíèå ìíîãîêàíàëüíîé ñèñòåìîé
+ ñ ïåðåìåííîé ñòðóêòóðîé îáñëóæèâàíèÿ íåîäíîðîäíîãî ïîòîêà},
+ journal = {Èçâ.\ ÀÍ Àçåðá.\ Ðåñï. Ñåð.\ ôèç.-òåõí.\ è ìàò.\ íàóê},
+ year = {1986},
+ volume = {7},
+ number = {6},
+ pages = {79-83},
+ language = {russian},
+}
+@ARTICLE{dixit.pindyck:options,
+ title = {The Options Approach to Capital Investment},
+ author = {Avinash K. Dixit and Robert S. Pindyck},
+ journal = {Harvard Business Review},
+ year = {1995},
+ month = {May-June},
+ pages = {105--115},
+}
+@ARTICLE{RosGaz-article,
+ title = {Ôåäåðàëüíûé çàêîí î âíåñåíèè èçìåíåíèé
+ è äîïîëíåíèé â Ñåìåéíûé êîäåêñ Ðîññèéñêîé Ôåäåðàöèè},
+ journal = {Ðîññèéñêàÿ ãàçåòà},
+ year = {1997},
+ month = {19 íîÿá},
+ pages = {4},
+ note = {Ðîññèéñêàÿ Ôåäåðàöèÿ. Çàêîíû},
+ language = {russian},
+}
+@INBOOK{Dolmatovskiy88,
+ author = {Äîëìàòîâñêèé, Þ. À.},
+ title = {Ýëåêòðîìîáèëü},
+ booktitle = {ÁÑÝ},
+ edition = {3-å},
+ address = {Ì.},
+ year = {1988},
+ volume = {30},
+ pages = {72},
+ language = {russian},
+}
+@INPROCEEDINGS{Ponomarenko88,
+ author = {Ïîíîìàðåíêî, Ë. À. and Æó÷êîâà, È. Â.},
+ title = {Îïòèìàëüíîå íàçíà÷åíèå ïðèîðèòåòîâ
+ ïðè îðãàíèçàöèè äîñòóïà â ëîêàëüíûõ
+ âû÷èñëèòåëüíûõ ñåòÿõ ÀÑÓÒÏ},
+ booktitle = {Òðóäû Ìåæäóíàð.\ êîíô.\
+ <<Ëîêàëüíûå âû÷èñëèòåëüíûå ñåòè>> (ËÎÊÑÅÒÜ 88)},
+ volume = {1},
+ address = {Ðèãà},
+ publisher = {ÈÝÂÒ ÀÍ Ëàòâèè},
+ year = {1988},
+ pages = {149-153},
+ language = {russian},
+}
+@INPROCEEDINGS{Melikov95,
+ author = {Melikov, A. Z. and Ponomarenko, L. A.},
+ title = {On the approach to optimal control
+ of queuing systems with multiple classes of customers},
+ booktitle = {Proc.\ International Conf.\ on Syst.\ Sci.\ XII.},
+ address = {Wroclaw (Poland)},
+ year = {1995},
+ pages = {507-515},
+}
+@INPROCEEDINGS{Gojchuk98,
+ author = {Ãîé÷óê, À. Ô.},
+ title = {Îñîáëèâîñò³ åò³îëî㳿 ³ ïàòîãåíåçó ïîïåðå÷íîãî ðàêó
+ äóáà çâè÷àéíîãî â Óêðà¿í³},
+ booktitle = {Íàóêîâèé â³ñíèê Íàö³îíàëüíîãî
+ àãðàðíîãî óí³âåðñèòåòó},
+ editor = {Ìåëüíè÷óêà, Ä. Î. and others},
+ address = {Ê.},
+ publisher = {ÍÀÓ},
+ year = {1998},
+ series = {Âèï. 8: ˳ñ³âíèöòâî},
+ pages = {168--173},
+ language = {ukrainian},
+}
+
+@INPROCEEDINGS{Polyakov98a,
+ author = {Ì. Î. Ïîëÿêîâ},
+ title = {Ñèñòåìíèé åôåêò àãðåãóâàííÿ ë³ñîñ³ê â óïðàâë³íí³
+ ë³ñîâèìè ðåñóðñàìè íà ðåã³îíàëüíîìó ð³âí³},
+ crossref = {Gojchuk98},
+ annote = {Ðîçãëÿíóòî åôåêò àãðåãóâàííÿ åëåìåíòàðíèõ
+ ãîñïîäàðñüêèõ îäèíèöü íà ðîçì³ð ðîçðàõóíêîâî¿ ë³ñîñ³êè.
+ Çàïðîïîíîâàíî ìåòîä âèçíà÷åííÿ ìàêñèìàëüíî äîïóñòèìîãî ðîçì³ðó
+ ðóáàííÿ çà ïëîùåþ íà ð³âí³ ðåã³îíó â êîíòåêñò³ ñèñòåìè
+ äåðæàâíîãî ðåãóëþâàííÿ ë³ñîêîðèñòóâàííÿ äëÿ óìîâ ðèíêîâî¿
+ åêîíîì³êè},
+ pages = {213--220},
+}
+@INPROCEEDINGS{TranskSpivrob99:Purich,
+ author = {Ïóðè÷, Øòåôàí},
+ title = {{Ð}óìûíñêî-{Ó}êðàèíñêîå òðàíñãðàíè÷íîå ñîòðóäíè÷åñòâî:
+ ïðîáëåìû è ïåðñïåêòèâû},
+ language = {russian},
+ booktitle = {Òðàíñêîðäîííå ñï³âðîá³òíèöòâî ó ïîë³åòí³÷íèõ ðåã³îíàõ
+ {Ñ}õ³äíî¿ òà {Ï}³âäåííî-{Ñ}õ³äíî¿ {ª}âðîïè: {Ì}àòåð³àëè íàóêîâîãî
+ ñèìïîç³óìó},
+ editor = {Ìàêàðà, Þ.},
+ address = {×åðí³âö³},
+ publisher = {Çîëîò³ ëèòàâðè},
+ organization = {Áóêîâèíñüêèé ïîë³òîëîã³÷íèé öåíòð},
+ year = {1999},
+ pagetotal = {196},
+ booklanguage = {ukrainian},
+}
+@INPROCEEDINGS{Selikov95,
+ author = {Selikov, A. Z. and Ponomarenko, L. A. and Qranamarenko, L. S. and Zonomarenko, L. U.},
+ title = {On the approach to optimal control
+ of queuing systems with multiple classes of customers},
+ booktitle = {Proc.\ International Conf.\ on Syst.\ Sci.\ XII.},
+ address = {Wroclaw (Poland)},
+ year = {1995},
+ pages = {507-515},
+}
+
+@INPROCEEDINGS{Selikov+95,
+ author = {Ñåëèêîâ, A. Z. and Ïîíîìàðü, L. A. and Êðàìàðåíêî, L. S. and Çîëêèí, Ë. Þ.},
+ title = {On the approach to optimal control
+ of queuing systems with multiple classes of customers},
+ booktitle = {Proc.\ International Conf.\ on Syst.\ Sci.\ XII.},
+ address = {Wroclaw (Poland)},
+ year = {1995},
+ pages = {507-515},
+ language = {russian},
+}
+@PHDTHESIS{Luus82,
+ author = {Ëóóñ, Ðîìàí Àðêàäüåâè÷},
+ title = {Èññëåäîâàíèå îáîðóäîâàíèÿ ñ ïíåâìîâàêóóìíûì
+ ïðèâîäîì äëÿ çàõâàòà, ïåðåìåùåíèÿ è ôèêñàöèè
+ ïðè îáðàáîòêå ïîðèñòûõ è ëåãêîïîâðåæäàåìûõ
+ ñòðîèòåëüíûõ èçäåëèé},
+ type = {Äèññåðòàöèÿ íà ñîèñêàíèå ó÷åíîé ñòåïåíè êàíäèäàòà òåõíè÷åñêèõ íàóê},
+ number = {05.05.04},
+ institution = {Ìîñê.\ ñòðîèò.\ èí-ò},
+ address = {Ì.},
+ year = {1982},
+ pagetotal = {212},
+ language = {russian},
+}
+@DOCTHESIS{KIA95-default,
+ author = {Êîòåëüíèêîâ, Èãîðü Àëåêñàíäðîâè÷},
+ title = {Òåîðèÿ ìàãíèòíîãî óäåðæàíèÿ äâóõêîìïîíåíòíîé ïëàçìû
+ â îòêðûòûõ ëîâóøêàõ},
+ number = {01.04.08},
+ institution = {Èí-ò ÿäåðíîé ôèçèêè èì.\ Ã.~È. Áóäêåðà ÑÎ ÐÀÍ},
+ address = {Íîâîñèáèðñê},
+ year = {1995},
+ pagetotal = {350},
+ language = {russian},
+}
+@MASTERSTHESIS{mastersthesis-minimal,
+ title = {Mastering Thesis Writing},
+ author = {{\'{E}}douard Masterly},
+ year = {1988},
+ institution = {Stanford University},
+}
+
+@MASTERSTHESIS{mastersthesis-full,
+ title = {Mastering Thesis Writing},
+ author = {{\'{E}}douard Masterly},
+ month = jun,
+ note = {This is a full MASTERSTHESIS entry},
+ type = {Master's project},
+ year = {1988},
+ address = {English Department},
+ institution = {Stanford University},
+}
+@BOOK{Ponomarenko76,
+ author = {Ïîíîìàðåíêî, Ë. À. and Áóàäçå, Â. Â.},
+ title = {Ìàòåìàòè÷åñêèå ìîäåëè è àëãîðèòìû ñáîðà
+ è îáðàáîòêè èíôîðìàöèè â ÀÑÓÒÏ íåïðåðûâíûõ
+ ñòàíîâ ãîðÿ÷åé ïðîêàòêè},
+ address = {Ê.},
+ year = {1976},
+ pagetotal = {37},
+ language = {russian},
+ note = {(Ïðåïð./ ÀÍ Óêðàèíû. Èí-ò êèáåðíåòèêè; 76-76)},
+}
+@REPORT{Report81-rep,
+ title = {Ïðîâåäåíèå èñïûòàíèé è èññëåäîâàíèé
+ òåïëîòåõíè÷åñêèõ ñâîéñòâ êàìåð {ÊÕÑ-2-12-ÂÇ}
+ è {ÊÕÑ-2-12-ÊDzÎ}},
+ institution = {Âñåñîþçí.\ çàî÷í.\ èí-ò ïèù.\ ïðîì-òè},
+ address = {Ì.},
+ organization = {ÂÈÍÈÒÈ},
+ year = {1981},
+ pagetotal = {90},
+ type = {Îò÷åò î {ÍÈÐ}},
+ editor = {Ïóòèí, Â. Â.},
+ author = {Ìåäâåäåâ, Ä. À. and others},
+ note = {Èíâ.\ ¹ Â 119692},
+ language = {russian},
+}
+@REPORT{Report81b-rep-notype,
+ title = {Ïðîâåäåíèå èñïûòàíèé è èññëåäîâàíèé
+ òåïëîòåõíè÷åñêèõ ñâîéñòâ êàìåð {ÊÕÑ-2-12-ÂÇ}
+ è {ÊÕÑ-2-12-ÊDzÎ}},
+ institution = {Âñåñîþçí.\ çàî÷í.\ èí-ò ïèù.\ ïðîì-òè},
+ address = {Ì.},
+ organization = {ÂÈÍÈÒÈ},
+ year = {1981},
+ pagetotal = {90},
+ note = {Èíâ.\ ¹ Â 119692},
+ language = {russian},
+}
+@TECHREPORT{Report81-techrep,
+ title = {Ïðîâåäåíèå èñïûòàíèé è èññëåäîâàíèé
+ òåïëîòåõíè÷åñêèõ ñâîéñòâ êàìåð {ÊÕÑ-2-12-ÂÇ}
+ è {ÊÕÑ-2-12-ÊDzÎ}},
+ institution = {Âñåñîþçí.\ çàî÷í.\ èí-ò ïèù.\ ïðîì-òè},
+ address = {Ì.},
+ organization = {ÂÈÍÈÒÈ},
+ year = {1981},
+ pagetotal = {90},
+ editor = {Ïóòèí, Â. Â.},
+ author = {Ìåäâåäåâ, Ä. À. and others},
+ note = {Èíâ.\ ¹ Â 119692},
+ language = {russian},
+}
+@BOOK{CatalogMamals81,
+ title = {Êàòàëîã ìëåêîïèòàþùèõ ÑÑÑÐ.
+ Ïëèîöåí "--- ñîâðåìåííîñòü},
+ organization = {ÀÍ ÑÑÑÐ, Çîîë.\ èí-ò},
+ editor = {È. Ì. Ãðîìîâà and Ã. È. Áàðàíîâîé},
+ address = {Ë.},
+ publisher = {Íàóêà, Ëåíèíã.\ îòä-íèå},
+ year = {1981},
+ pagetotal = {456},
+ language = {russian},
+}
+@BOOK{Instr86,
+ title = {Òèïîâàÿ èíñòðóêöèÿ ïî ýêñïëóàòàöèè
+ òîïëèâîîòäà÷è òåïëîâûõ ýëåêòðîñòàíöèé~:
+ ÒÈ 34-70-044-85~: Óòâ. Ãë. òåõí. óïð.
+ ïî ýêñïëóàòàöèè ýíåðãîñèñòåì 01.10.85~:
+ Ñðîê äåéñòâèÿ óñòàíîâëåí ñ 01.01.86 äî 01.01.95},
+ organization = {Ì-âî ýíåðãåòèêè è ýëåêòðèôèêàöèè ÑÑÑÐ},
+ address = {Ì.},
+ year = {1986},
+ pagetotal = {43},
+ language = {russian},
+}
+@ONLINE{wiki:latex,
+ author = {Wikipedia},
+ title = {{\LaTeX}---Wikipedia{,} The Free Encyclopedia},
+ year = {2012},
+ url = {http://en.wikipedia.org/wiki/LaTeX},
+ urldate = {25.01.2012},
+}
+
+@ONLINE{wiki:latex-2,
+ author = {Wikipedia},
+ title = {{\LaTeX}},
+ howpublished = {Wikipedia, The Free Encyclopedia},
+ year = {2012},
+ eprint = {wiki/LaTeX},
+ eprinttype = {WikiPedia},
+ url = {http://en.wikipedia.org/wiki/LaTeX},
+ urldate = {25.01.2012},
+}
+@ONLINE{phys:moodle,
+ author = {×åðêàññêèé, Â. Ñ.},
+ title = {Êëàññíàÿ êîìíàòà},
+ howpublished = {Ôèçè÷åñêèé ôàêóëüòåò},
+ organization = {ÍÃÓ},
+ year = {2012},
+ url = {http://www.phys.nsu.ru/moodle/},
+ urldate = {16.01.2012},
+ language = {russian},
+}
+@MISC{EXFOR,
+ author = {IAEA},
+ title = {{EXFOR}---Experimental Nuclear Reaction Data },
+ url = {http://www-nds.iaea.org/exfor},
+ address = {P.O. Box 100, Wagramer Strasse 5, A-1400 Vienna, Austria},
+ year = {2012},
+ media = {eresource}
+}
+@BOOK{IsaacNewton,
+ author = {Newton, {\relax Sir Isaac}},
+ title = {Opticks, or a treatise of the reflections,
+ refractions, inflections and colours of light},
+ publisher = {William Innys},
+ url = {http://books.google.com/books?id=XXu4AkRVBBoC},
+ media = {eresource},
+ year = {1730},
+ pagetotal = {382},
+ eprint = {XXu4AkRVBBoC},
+ eprinttype = {Google Books},
+}
+
+@BOOK{IsaacNewton-sl:sn,
+ author = {{\relax Sir I}saac Newton},
+ title = {Opticks, or a treatise of the reflections,
+ refractions, inflections and colours of light},
+ url = {http://books.google.com/books?id=XXu4AkRVBBoC},
+ media = {online},
+ year = {1730},
+ pagetotal = {382},
+ eprint = {XXu4AkRVBBoC},
+ eprinttype = {Google Books},
+}
+% publisher = {William Innys},
+@BOOK{Encyclopedia,
+ title = {Õóäîæåñòâåííàÿ ýíöèêëîïåäèÿ çàðóáåæíîãî êëàññè÷åñêîãî èñêóññòâà},
+ publisher = {Áîëüøàÿ Ðîñ. ýíöèêë.},
+ year = {1996},
+ address = {Ì.},
+ note = {1 ýëåêòðîí. îïò. äèñê (CD-ROM)},
+ language = {russian},
+ media = {eresource},
+}
+
+@ARTICLE{Nasirova,
+ title = {Ìîäåëè ãîñóäàðñòâåííîãî ðåãóëèðîâàíèÿ ñòðàõîâîé äåÿòåëüíîñòè},
+ author = {Íàñûðîâà, Ã. À.},
+ language = {russian},
+ note = {Ðåæèì äîñòóïà: http://vestnik.fa.ru/4(28)2003/4.html},
+ number = {4},
+ year = {2003},
+ journal = {Âåñòíèê Ôèíàíñîâîé àêàäåìèè},
+ media2 = {eresource},
+ media = {online},
+}
+
+@BOOK{kremlincd,
+ title = {Ìîñêîâñêèé Êðåìëü},
+ titleaddon = {òðåõìåð. ïóòåâîäèòåëü},
+ language = {russian},
+ note = {CD-ROM},
+ date = {2007},
+ location = {Ì.},
+ publisher = {Íîâûé Äèñê},
+ media = {eresource},
+}
+@ARTICLE{PhysRevLett.101.085006,
+ author = {Kotelnikov, Igor and Rom\'e, Massimiliano},
+ volume = {101},
+ journal = {Phys. Rev. Lett.},
+ month = {Aug},
+ pagetotal = {4},
+ title = {Admissible Equilibria of Non-neutral Plasmas in a Malmberg-Penning Trap},
+ year = {2008},
+ doi = {10.1103/PhysRevLett.101.085006},
+ issue = {8},
+ publisher = {American Physical Society},
+ pages = {085006},
+}
+
+% url = {http://link.aps.org/doi/10.1103/PhysRevLett.101.085006},
+@ARTICLE{1998PhRvE..57.7111K,
+ author = {{Kinney}, R.~M. and {McWilliams}, J.~C.},
+ title = {{Turbulent cascades in anisotropic magnetohydrodynamics}},
+ journal = pre,
+ keywords = {Plasma turbulence, Magnetohydrodynamic and fluid equation},
+ year = {1998},
+ month = jun,
+ volume = {57},
+ pages = {7111-7121},
+ doi = {10.1103/PhysRevE.57.7111},
+ adsurl = {http://adsabs.harvard.edu/abs/1998PhRvE..57.7111K},
+ adsnote = {Provided by the SAO/NASA Astrophysics Data System},
+}
+
+@ARTICLE{1998UFN,
+ author = {Êîòåëüíèêîâ, È. À. and Àñòðåëèí, Â. Ò.},
+ title = {Òåîðèÿ ïëàçìåííîãî ýìèòòåðà ïîëîæèòåëüíûõ èîíîâ},
+ journal = ufn,
+ keywords = {ïëàçìåííûé ýìèòòåð, êðèòåðèé Áîìà},
+ year = {2015},
+ month = jul,
+ volume = {185},
+ pages = {753-771},
+ language = {russian},
+ doi = {10.3367/UFNr.0185.201507c.0753},
+ url = {http://ufn.ru/ru/articles/2015/7/c/},
+}
+@PATENT{patent1,
+ author = {Ý. Â. Òåðíåð},
+ authorcountry = {ÑØÀ},
+ title = {Îäíîðàçîâàÿ ðàêåòà-íîñèòåëü},
+ media = {text},
+ type = {çàÿâêà},
+ number = {1095735},
+ location = {Ðîñ. Ôåäåðàöèÿ},
+ ipc = {ÌÏÊ\ensuremath{^7} B 64 G 1/00},
+ holder = {çàÿâèòåëü Ñïåéñ Ñèñòåìç/Ëîðàë, èíê.},
+ credits = {ïàòåíò. ïîâåðåííûé Åãîðîâà Ã. Á.},
+ requestnumber = {000108705/28},
+ requestdate = {07.04.2000},
+ publicationdate = {10.03.2001},
+ publication = {Áþë. ¹ 7 (I ÷.)},
+ prioritydate= {09.04.1999},
+ prioritynumber = {09/289, 037},
+ prioritycountry = {ÑØÀ},
+ pagetotal = {5 ñ.~: èë.},
+ language = {russian},
+}
+
+@PATENT{patent2,
+ author = {Â. È. ×óãàåâà},
+ authorcountry = {ÐÔ},
+ title = {Ïðèåìîïåðåäàþùåå óñòðîéñòâî},
+ media = {text},
+ type = {ïàò.},
+ number = {2000131736/09},
+ location = {Ðîñ. Ôåäåðàöèÿ},
+ ipc = {ÌÏÊ\ensuremath{^7} H 04 Â 1/38, Í 04 J 13/00},
+ holder = {çàÿâèòåëü è ïàòåíòîîáëàäàòåëü Âîðîíåæ. íàó÷.-èñëåä. èí-ò ñâÿçè.},
+ credits = {ïàòåíò. ïîâåðåííûé Åãîðîâà Ã. Á.},
+ requestnumber = {000108705/28},
+ date = {18.12.2000},
+ publicationdate = {20.08.2002},
+ publication = {Áþë. ¹ 23 (II ÷.)},
+ pagetotal = {2 ñ.~: èë.},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost.tex b/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost.tex
new file mode 100644
index 0000000000..71ca598681
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost.tex
@@ -0,0 +1,195 @@
+\documentclass[a4paper]{article}
+ % cmap íàäî ãðóçèòü äî inputenc, ÷òîáû ðàáîòàë ïîèñê ïðè êîäèðîâêå utf8
+\usepackage{cmap}
+\usepackage[T2A]{fontenc}
+\usepackage[cp1251]{inputenc}
+\usepackage[russian]{babel}
+\usepackage{bibunits,verbatim,geometry,ifpdf}
+
+%============================================================
+\makeatletter
+\RequirePackage{bibunits}
+\renewcommand{\@bibunitname}{\jobname-\the\@bibunitauxcnt}
+\newcounter{qnum}\newcounter{qnuma}\setcounter{qnum}{0}
+\def\@biblabel#1{#1.\hfill}
+%\endinput
+\renewenvironment{thebibliography}[1]
+ {\list{\@biblabel{\@arabic\c@enumiv}}%
+ {\settowidth\labelwidth{\@biblabel{99}}%
+ \leftmargin\labelwidth
+ \advance\leftmargin\labelsep
+% \advance\leftmargin\parindent
+ \setcounter{qnuma}{\c@enumiv}
+ \@openbib@code
+ \usecounter{enumiv}%
+ \let\p@enumiv\@empty
+ \setcounter{enumiv}{\theqnuma}
+ \renewcommand\theenumiv{\@arabic\c@enumiv}}%
+ \sloppy
+ \clubpenalty4000
+ \@clubpenalty \clubpenalty
+ \widowpenalty4000%
+ \sfcode`\.\@m}
+ {\def\@noitemerr
+ {\@latex@warning{Empty `thebibliography' environment}}%
+ \endlist}
+\makeatother
+%============================================================
+
+\ifpdf
+ \usepackage[pdftex,hyperindex,unicode]{hyperref}
+\else
+ \usepackage[hypertex]{hyperref}
+\fi
+\usepackage{color}
+\definecolor{darkblue}{rgb}{0,0,.6}
+\hypersetup{
+ pdftitle = {\mytitle},
+ pdfauthor = {Igor A. Kotelnikov},
+ pdfsubject = {GOST, BibTeX},
+ pdfstartview = {FitH},
+% pdfborder = {0 0 0},
+% bookmarksopen = true,
+ bookmarksnumbered = true,
+% bookmarksopenlevel = 2,
+ colorlinks = true, linkcolor = darkblue,
+ citecolor = darkblue, filecolor = darkblue,
+ menucolor = darkblue, urlcolor = darkblue
+}
+
+
+\begin{document}
+
+\newcommand{\bibentry}[1]{
+\begin{bibunit}
+\nocite{*}
+\putbib[bib/#1]
+\nopagebreak
+\verbatiminput{bib/#1.bib}
+\end{bibunit}
+}
+
+\title{\mytitle}
+\maketitle
+\begin{abstract}
+ \mydescription
+\end{abstract}
+
+\bibliographyunit[\section]
+\bibliographystyle{\mybibstyle}
+
+\section{Books}
+
+\subsection{One--three authors}
+\bibentry{ex01}
+\bibentry{ex02}
+\bibentry{ex03}
+
+\subsection{Four and more authors}
+\bibentry{ex04}
+\bibentry{ex05}
+
+\subsection{Collective author}
+\bibentry{ex06}
+
+\subsection{Compiler}
+\bibentry{ex06a}
+
+\subsection{Multiple-volume publications}
+\bibentry{ex07}
+\bibentry{ex08}
+\bibentry{ex09}
+
+\subsection{Translated}
+\bibentry{ex10}
+
+\subsection{Collections}
+\bibentry{ex12}
+
+\subsection{Dictionary}
+\bibentry{ex13}
+
+
+\section{Parts of \ldots}
+
+\subsection{Book}
+\bibentry{ex14}
+\bibentry{ex14a}
+
+\subsection{Collection}
+\bibentry{ex15}
+
+\subsection{Journal}
+\bibentry{ex16}
+\bibentry{ex17}
+\bibentry{ex17a}
+
+\subsection{Newspaper}
+\bibentry{ex17b}
+
+\subsection{Encyclopedia}
+\bibentry{ex18}
+
+\subsection{Proceedings}
+\bibentry{ex19}
+\bibentry{ex20}
+
+\subsubsection{With crossreference}
+\bibentry{ex20a}
+
+\subsubsection{With multiple languages}
+\bibentry{ex20b}
+
+
+\section{Others}
+
+\subsection{Standard}
+\bibentry{ex11}
+
+\subsection{Dissertation}
+\bibentry{ex21}
+\bibentry{ex21a}
+\bibentry{ex21b}
+Allowed built-in values of \verb|type| field in \verb|@THESIS| entry are \verb|mathesis| for masters thesis, \verb|phdthesis| for Ph.D. thesis, and \verb|docthesis| for doctor of sciences dissertation. Any other value of \verb|type| is reproduced literally.
+\bibentry{ex22}
+\bibentry{ex22a}
+
+\subsection{Preprint}
+\bibentry{ex23}
+
+\subsection{Report}
+\bibentry{ex24}
+\bibentry{ex24a}
+\bibentry{ex24b}
+
+\subsection{Catalog}
+\bibentry{ex25}
+
+\subsection{Instruction}
+\bibentry{ex26}
+
+\subsection{Patent}
+\bibentry{ex31}
+
+
+\section{Electronic resources}
+
+\subsection{Common Fields}
+\verb|Url|, \verb|eprint|, \verb|doi| and \verb|media| fields can be assigned to any entry. Allowed values of \verb|media| are \verb|online|, \verb|eresource| and \verb|text| (default).
+\bibentry{ex27c}
+\bibentry{ex28}
+\bibentry{ex28a}
+\bibentry{ex29}
+
+\subsection{Online Entry}
+\bibentry{ex27a}
+\bibentry{ex27b}
+
+\section{Use of macros}
+
+\texttt{jan}, \texttt{feb}, \texttt{mar},\ldots{} \texttt{dec} macros in \texttt{month} field
+are automatically translated to Russian or English if necessary. Other languages are not supported.
+\bibentry{ex30}
+
+
+\end{document} \ No newline at end of file
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2003.pdf b/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2003.pdf
new file mode 100644
index 0000000000..ec6e396e08
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2003.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2003.tex b/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2003.tex
new file mode 100644
index 0000000000..1dbe684d6c
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2003.tex
@@ -0,0 +1,16 @@
+\edef\mybibstyle{gost2003}
+\RequirePackage[cp1251]{inputenc}
+\newcommand*{\mytitle}{The GOST bundle: \mybibstyle.bst}
+\newcommand{\mydescription}{
+ Example bibliographic description using the style \texttt{\mybibstyle.bst}.
+ No customization is applied.
+
+ Ïðèìåð îôîðìëåíèÿ áèáëèîãðàôè÷åñêîãî îïèñàíèÿ ñ ïîìîùüþ ñòèëÿ \texttt{\mybibstyle.bst}.
+ Êîìàíäû ôîðìàòèðîâàíèÿ íå èçìåíåíû.
+
+ This is style is intended for composing bibliographic catalogs and descriptions.
+
+ Äàííûé ñòèëü ïðåäíàçíà÷åí äëÿ ñîñòàâëåíèÿ áèáëèîòå÷íûõ êàòàëîãîâ è îïèñàíèé.
+
+}
+\input gost \ No newline at end of file
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008-customized.pdf b/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008-customized.pdf
new file mode 100644
index 0000000000..7732e939b6
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008-customized.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008-customized.tex b/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008-customized.tex
new file mode 100644
index 0000000000..9e095c5c58
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008-customized.tex
@@ -0,0 +1,18 @@
+\edef\mybibstyle{gost2008}
+\RequirePackage[cp1251]{inputenc}
+\newcommand*{\mytitle}{The GOST bundle: customization}
+\newcommand{\mydescription}{
+ Example of a bibliography using the style \texttt{\mybibstyle.bst}.
+ Customization is applied.
+% \protect\verb|\providecommand*{\BibEmph}[1]{#1}|\\
+% \protect\verb|\providecommand*{\BibDash}{}|
+
+ Ïðèìåð îôîðìëåíèÿ ñïèñêà ëèòåðàòóðû ñ ïîìîùüþ ñòèëÿ
+ \texttt{\mybibstyle.bst}.
+ Ïðèìåíåíû êîìàíäû ôîðìàòèðîâàíèÿ.
+% \protect\verb|\providecommand*{\BibEmph}[1]{\#1}|\\
+% \protect\verb|\providecommand*{\BibDash}{}|
+}
+\providecommand*{\BibEmph}[1]{\textbf{#1}}
+\providecommand*{\BibDash}{}
+\input gost
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008.pdf b/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008.pdf
new file mode 100644
index 0000000000..317bc4d616
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008.tex b/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008.tex
new file mode 100644
index 0000000000..6f74b26e90
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008.tex
@@ -0,0 +1,12 @@
+\edef\mybibstyle{gost2008}
+\RequirePackage[cp1251]{inputenc}
+\newcommand*{\mytitle}{The GOST bundle: \mybibstyle.bst}
+\newcommand{\mydescription}{
+ Example of a bibliography using the style \texttt{\mybibstyle.bst}.
+ No customization is applied.
+
+ Ïðèìåð îôîðìëåíèÿ ñïèñêà ëèòåðàòóðû ñ ïîìîùüþ ñòèëÿ
+ \texttt{\mybibstyle.bst}.
+ Êîìàíäû ôîðìàòèðîâàíèÿ íå èçìåíåíû.
+}
+\input gost
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008l.pdf b/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008l.pdf
new file mode 100644
index 0000000000..c2b666f215
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008l.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008l.tex b/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008l.tex
new file mode 100644
index 0000000000..2ba60bb037
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008l.tex
@@ -0,0 +1,16 @@
+\edef\mybibstyle{gost2008l}
+\RequirePackage[cp1251]{inputenc}
+\newcommand*{\mytitle}{The GOST bundle: \mybibstyle.bst}
+\newcommand{\mydescription}{
+ Example of a bibliography using the style \texttt{\mybibstyle.bst}.
+ No customization is applied.
+
+ Ïðèìåð îôîðìëåíèÿ ñïèñêà ëèòåðàòóðû ñ ïîìîùüþ ñòèëÿ
+ \texttt{\mybibstyle.bst}.
+ Êîìàíäû ôîðìàòèðîâàíèÿ íå èçìåíåíû.
+
+ Note: this style do not conform State Standard.
+
+ Âíèìàíèå: äàííûé íå óäîâëåòâîðÿåò ÃÎÑÒó.
+}
+\input gost
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008n.pdf b/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008n.pdf
new file mode 100644
index 0000000000..fc7d40fd5a
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008n.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008n.tex b/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008n.tex
new file mode 100644
index 0000000000..db27fa6ee1
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008n.tex
@@ -0,0 +1,118 @@
+% !Mode:: "TeX:UTF-8"
+\newcommand*{\mybibstyle}{gost2008n}
+
+\RequirePackage[cp1251]{inputenc}
+
+\newcommand*{\mytitle}{The GOST bundle: \mybibstyle.bst}
+\newcommand{\mydescription}{
+ Example of a bibliography using the style \texttt{\mybibstyle.bst}
+ and \texttt{natbib} package.
+ No customization is applied.
+
+ Ïðèìåð îôîðìëåíèÿ ñïèñêà ëèòåðàòóðû ñ ïîìîùüþ ñòèëÿ
+ \texttt{\mybibstyle.bst} è ïàêåòà \texttt{natbib}.
+ Êîìàíäû ôîðìàòèðîâàíèÿ íå èçìåíåíû.
+}
+
+\documentclass[a4paper]{article}
+\usepackage[cp1251]{inputenc}
+\usepackage[T2A]{fontenc}
+\usepackage[ukrainian,russian]{babel}
+\usepackage{natbib}
+\usepackage{geometry,ifpdf}
+\ifpdf
+ \usepackage[pdftex,hyperindex,unicode]{hyperref}
+ \usepackage{cmap}
+\else
+ \usepackage[hypertex]{hyperref}
+\fi
+\usepackage{color}
+\definecolor{darkblue}{rgb}{0,0,.6}
+\hypersetup{
+ pdftitle = {\mytitle},
+ pdfauthor = {Igor A. Kotelnikov},
+ pdfsubject = {GOST, BibTeX},
+ pdfstartview = {FitH},
+% pdfborder = {0 0 0},
+% bookmarksopen = true,
+ bookmarksnumbered = true,
+% bookmarksopenlevel = 2,
+ colorlinks = true, linkcolor = darkblue,
+ citecolor = darkblue, filecolor = darkblue,
+ menucolor = darkblue, urlcolor = darkblue
+}
+
+\makeatletter
+\renewcommand{\@biblabel}[1]{#1.}
+\makeatother
+
+\begin{document}
+
+\title{\mytitle}
+\maketitle
+\begin{abstract}
+ \mydescription
+\end{abstract}
+
+\newcommand{\allrefs}{Vasylenko92,
+Afanasyev92,
+Makilov91,
+Ponomarenko86,
+Belousova81,
+BibOp91,
+Poems82,
+HistLit82,
+Landau:eldin,
+BRLS94,
+Grosse80,
+GOST7184,
+ObchTech93,
+Bibdelo86,
+Ponomarenko79,
+Zeyts70,
+Ponoomarenko76,
+Malikov92,
+Ponomarenko86a,
+dixit.pindyck:options,
+RosGaz-article,
+Dolmatovskiy88,
+Ponomarenko88,
+Melikov95, Selikov95, Selikov+95,
+Gojchuk98,
+Polyakov98a,
+TranskSpivrob99:Purich,
+Luus82,
+KIA95-default,
+KIA85-autoref,
+Ponomarenko76,
+Report81-rep,
+Report81b-rep-notype,
+Report81-techrep,
+CatalogMamals81,
+Instr86,
+wiki:latex,
+wiki:latex-2,
+phys:moodle,
+EXFOR,
+IsaacNewton,
+IsaacNewton-sl:sn,
+PhysRevLett.101.085006}
+
+
+\verb|\cite|\par \cite{\allrefs}
+
+\verb|\citep|\par \citep{\allrefs}
+
+\verb|\citep*|\par \citep{\allrefs}
+
+\verb|\citeauthor|\par \citeauthor{\allrefs}
+
+\verb|\citeauthor*|\par \citeauthor*{\allrefs}
+
+
+\bibliographystyle{\mybibstyle}
+\bibliography{bib/examples}
+
+\end{document}
+
+
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008ns.pdf b/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008ns.pdf
new file mode 100644
index 0000000000..6349c96af5
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008ns.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008ns.tex b/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008ns.tex
new file mode 100644
index 0000000000..7b1613b8ff
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost2008ns.tex
@@ -0,0 +1,122 @@
+% !Mode:: "TeX:UTF-8"
+\newcommand*{\mybibstyle}{gost2008ns}
+
+\RequirePackage[cp1251]{inputenc}
+
+\newcommand*{\mytitle}{The GOST bundle: \mybibstyle.bst}
+\newcommand{\mydescription}{
+ Example of a bibliography using the style \texttt{\mybibstyle.bst}
+ and \texttt{natbib} package.
+ No customization is applied.
+
+ Ïðèìåð îôîðìëåíèÿ ñïèñêà ëèòåðàòóðû ñ ïîìîùüþ ñòèëÿ
+ \texttt{\mybibstyle.bst} è ïàêåòà \texttt{natbib}.
+ Êîìàíäû ôîðìàòèðîâàíèÿ íå èçìåíåíû.
+}
+
+\documentclass[a4paper]{article}
+\usepackage[cp1251]{inputenc}
+\usepackage[T2A]{fontenc}
+\usepackage[ukrainian,russian]{babel}
+\usepackage{natbib}
+\usepackage{geometry,ifpdf}
+\ifpdf
+ \usepackage[pdftex,hyperindex,unicode]{hyperref}
+ \usepackage{cmap}
+\else
+ \usepackage[hypertex]{hyperref}
+\fi
+\usepackage{color}
+\definecolor{darkblue}{rgb}{0,0,.6}
+\hypersetup{
+ pdftitle = {\mytitle},
+ pdfauthor = {Igor A. Kotelnikov},
+ pdfsubject = {GOST, BibTeX},
+ pdfstartview = {FitH},
+% pdfborder = {0 0 0},
+% bookmarksopen = true,
+ bookmarksnumbered = true,
+% bookmarksopenlevel = 2,
+ colorlinks = true, linkcolor = darkblue,
+ citecolor = darkblue, filecolor = darkblue,
+ menucolor = darkblue, urlcolor = darkblue
+}
+
+\makeatletter
+\renewcommand{\@biblabel}[1]{#1.}
+\makeatother
+
+\begin{document}
+
+\title{\mytitle}
+\maketitle
+\begin{abstract}
+ \mydescription
+\end{abstract}
+
+%\verb|\cite{*}| \cite{*}
+%
+%\verb|\citep{*}| \citep{*}
+%
+%\verb|\citet{*}| \citet{*}
+
+\newcommand{\allrefs}{Vasylenko92,
+Afanasyev92,
+Makilov91,
+Ponomarenko86,
+Belousova81,
+BibOp91,
+Poems82,
+HistLit82,
+Landau:eldin,
+BRLS94,
+Grosse80,
+GOST7184,
+ObchTech93,
+Bibdelo86,
+Ponomarenko79,
+Zeyts70,
+Ponoomarenko76,
+Malikov92,
+Ponomarenko86a,
+dixit.pindyck:options,
+RosGaz-article,
+Dolmatovskiy88,
+Ponomarenko88,
+Melikov95, Selikov95, Selikov+95,
+Gojchuk98,
+Polyakov98a,
+TranskSpivrob99:Purich,
+Luus82,
+KIA95-default,
+KIA85-autoref,
+Ponomarenko76,
+Report81-rep,
+Report81b-rep-notype,
+Report81-techrep,
+CatalogMamals81,
+Instr86,
+wiki:latex,
+wiki:latex-2,
+phys:moodle,
+EXFOR,
+IsaacNewton,
+IsaacNewton-sl:sn,
+PhysRevLett.101.085006}
+
+
+\verb|\citep|\par \citep{\allrefs}
+
+\verb|\citep*|\par \citep{\allrefs}
+
+\verb|\citeauthor|\par \citeauthor{\allrefs}
+
+\verb|\citeauthor*|\par \citeauthor*{\allrefs}
+
+
+\bibliographystyle{\mybibstyle}
+\bibliography{bib/examples}
+
+\end{document}
+
+
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost780.pdf b/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost780.pdf
new file mode 100644
index 0000000000..b24f7d2e3d
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost780.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost780.tex b/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost780.tex
new file mode 100644
index 0000000000..2d9e4aa9d8
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/gost780.tex
@@ -0,0 +1,15 @@
+\edef\mybibstyle{gost780}
+\newcommand*{\mytitle}{The GOST bundle: \mybibstyle.bst}
+\newcommand{\mydescription}{
+ Example of a bibliography using the style \texttt{\mybibstyle.bst}.
+ \texttt{\mybibstyle.bst}.
+
+ Ïðèìåð îôîðìëåíèÿ ñïèñêà ëèòåðàòóðû ñ ïîìîùüþ ñòèëÿ
+ \texttt{\mybibstyle.bst}.
+
+ Note: this is obsolete style.
+
+ Âíèìàíèå: äàííûé ñòèëü óñòàðåë.
+
+}
+\input gost \ No newline at end of file
diff --git a/biblio/bibtex/contrib/gost/doc/examples/cp1251/make-examples-on-win-cp1251.cmd b/biblio/bibtex/contrib/gost/doc/examples/cp1251/make-examples-on-win-cp1251.cmd
new file mode 100644
index 0000000000..7fa6c61ce3
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/cp1251/make-examples-on-win-cp1251.cmd
@@ -0,0 +1,34 @@
+@echo ®¤£®â®¢ª  ä ©«®¢ ¯à¨¬¥à®¢
+@echo ==========================
+
+@echo ¥à¥¨¬¥­®¢ ­¨¥ ¯à¥¤ë¤ã饣® ®¡é¥£® ä ©« 
+
+rename .\bib\examples.bib examples.bak
+
+@echo Š®¯¨à®¢ ­¨¥ ¬ ááë ¬ «¥­ìª¨å ä ©«®¢ ¢ ®¤¨­ ¡®«ì让
+
+copy .\bib\ex*.bib .\bib\examples.bib
+
+@echo –¨ª«¨ç¥áª ï £¥­¥à æ¨ï ¯à¨¬¥à®¢
+
+for %%f in (gost7*.tex) do pdflatex -quiet %%f
+for %%f in (gost200*.tex) do pdflatex -quiet %%f
+
+@echo –¨ª«¨ç¥áª ï ®¡à ¡®âª  bibtex8 *.aux, ¡¥§ í⮣® 'ç㤠 ­¥ ¡ã¤¥â'
+
+for %%f in (gost*.aux) do bibtex8 -B -c cp1251.csf %%f
+
+@echo –¨ª«¨ç¥áª ï £¥­¥à æ¨ï ¯à¨¬¥à®¢ (§ å®¤ ¯®á«¥ bibtex8)
+
+for %%f in (gost7*.tex) do pdflatex %%f
+for %%f in (gost200*.tex) do pdflatex %%f
+for %%f in (gost2008-nat*.tex) do pdflatex %%f
+for %%f in (gost2008-sort*.tex) do pdflatex %%f
+
+@echo —¨á⪠ ¯ ¯ª¨ ®â ­¥­ã¦­ëå ä ©«®¢
+
+@del *.aux *.out *.toc *.brf .pdf
+@del *.bbl
+@del *.blg
+@del *.log
+@echo =======
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex01.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex01.bib
new file mode 100644
index 0000000000..e6640b9602
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex01.bib
@@ -0,0 +1,9 @@
+@BOOK{Vasylenko92,
+ author = {ВаÑиленко, Ðœ. Ð’.},
+ title = {Ð¢ÐµÐ¾Ñ€Ñ–Ñ ÐºÐ¾Ð»Ð¸Ð²Ð°Ð½ÑŒ: Ðавчальний поÑібник},
+ address = {К.},
+ publisher = {Вища школа},
+ year = {1992},
+ pagetotal = {430},
+ language = {ukrainian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex02.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex02.bib
new file mode 100644
index 0000000000..6e1c190f7c
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex02.bib
@@ -0,0 +1,10 @@
+@BOOK{Afanasyev92,
+ author = {ÐфанаÑьев, Ð’. Ð’. and ВаÑилевÑкий, О. Ð.},
+ title = {РаÑчеты ÑлектричеÑких цепей
+ на программируемых микрокалькулÑторах},
+ address = {М.},
+ publisher = {Энергоиздат},
+ year = {1992},
+ pagetotal = {190},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex03.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex03.bib
new file mode 100644
index 0000000000..ea27f04c08
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex03.bib
@@ -0,0 +1,11 @@
+@BOOK{Makilov91,
+ author = {Меликов, Ð. З. and Пономаренко, Л. Ð.
+ and Рюмшин, П. Ð.},
+ title = {МатематичеÑкие модели многопотоковых
+ ÑиÑтем обÑлуживаниÑ},
+ address = {К.},
+ publisher = {Техніка},
+ year = {1991},
+ pagetotal = {265},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex04.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex04.bib
new file mode 100644
index 0000000000..ff7d6ac21f
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex04.bib
@@ -0,0 +1,11 @@
+@BOOK{Ponomarenko86,
+ title = {ОÑновы ÑÐ¾Ð·Ð´Ð°Ð½Ð¸Ñ Ð³Ð¸Ð±ÐºÐ¸Ñ… атоматизированных производÑтв},
+ author = {Л. Ð. Пономаренко and Л. Ð’. Ðдамович
+ and Ð’. Т. Музычук and Ð. Е. ГридаÑов},
+ editor = {Б. Б. Тимофеева},
+ address = {К.},
+ publisher = {Техніка},
+ year = {1986},
+ pagetotal = {144},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex05.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex05.bib
new file mode 100644
index 0000000000..2717a9c46c
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex05.bib
@@ -0,0 +1,11 @@
+@BOOK{Belousova81,
+ title = {СиÑтемный анализ инфраÑтруктуры
+ как Ñлемент народного хозÑйÑтва},
+ author = {БелоуÑова, Ð. И. and ВишнÑк, Е. И.
+ and Левит, В. Ю. and others},
+ address = {М.},
+ publisher = {Экономика},
+ year = {1981},
+ pagetotal = {62},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex06.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex06.bib
new file mode 100644
index 0000000000..be51612340
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex06.bib
@@ -0,0 +1,12 @@
+@BOOK{BibOp91,
+ title = {СоÑтавление библиографичеÑкого опиÑаниÑ:
+ Краткие правила},
+ organization = {Междувед. каталогизац. комиÑ.
+ при ГоÑ. б-ке СССР им.~Ð’.~И. Ленина},
+ edition = {2-е, доп.},
+ address = {М.},
+ publisher = {Кн.~палата},
+ year = {1991},
+ pagetotal = {224},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex06a.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex06a.bib
new file mode 100644
index 0000000000..e4e96e837c
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex06a.bib
@@ -0,0 +1,10 @@
+@BOOK{Poems82,
+ title = {Стихи о музыке. РуÑÑкие,
+ ÑоветÑкие, зарубежные поÑÑ‚Ñ‹: Сборник},
+ compiler = {Ð. Бирюкова and Ð’. Татаринов},
+ address = {М.},
+ publisher = {Сов. композитор},
+ year = {1982},
+ pagetotal = {224},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex07.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex07.bib
new file mode 100644
index 0000000000..b9191a0406
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex07.bib
@@ -0,0 +1,9 @@
+@BOOK{HistLit82,
+ title = {ИÑÑ‚Ð¾Ñ€Ð¸Ñ Ñ€ÑƒÑÑкой литературы: Ð’ 4 Ñ‚.},
+ organization = {ÐРСССР, Ин-Ñ‚ руÑ.~лит.\ (Пушкин.дом)},
+ address = {М.},
+ year = {1982},
+ volume = {3: РаÑцвет реализма},
+ pagetotal = {876},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex08.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex08.bib
new file mode 100644
index 0000000000..deffa99448
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex08.bib
@@ -0,0 +1,10 @@
+@BOOK{Landau:eldin,
+ author = {Л. Д. Ландау and Е. М. Лифшиц},
+ title = {ТеоретичеÑÐºÐ°Ñ Ñ„Ð¸Ð·Ð¸ÐºÐ°: учебное поÑобие в 10 Ñ‚.},
+ publisher = {Ðаука. Гл.\ ред.\ физ.-мат.\ лит.},
+ address = {М.},
+ year = {1992},
+ volume = {VIII. Электродинамика Ñплошных Ñред},
+ edition = {3-е, иÑпр.},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex09.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex09.bib
new file mode 100644
index 0000000000..b465fc9aea
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex09.bib
@@ -0,0 +1,12 @@
+@BOOK{BRLS94,
+ title = {ÐарыÑÑ‹ па гiÑторыi беларуÑка-руÑкiÑ…
+ лiтаратурных ÑувÑзей: У 4 кн.},
+ organization = {Ðкад.\ навук БеларуÑi. Iн-Ñ‚ лiÑ‚.},
+ address = {ÐœiнÑк},
+ publisher = {Ðавука i Ñ‚Ñхнiка},
+ year = {1994},
+ volume = {2: Пачатак ХХ ÑÑ‚. 1900--1917 гг.},
+ editor = {Ð’. Ð. Каваленка and I. Я. Ðавуменка},
+ pagetotal = {440},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex10.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex10.bib
new file mode 100644
index 0000000000..ebda00a86e
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex10.bib
@@ -0,0 +1,9 @@
+@BOOK{Grosse80,
+ author = {ГроÑÑе, Э. and ВайÑмангель, Ð¥.},
+ title = {Ð¥Ð¸Ð¼Ð¸Ñ Ð´Ð»Ñ Ð»ÑŽÐ±Ð¾Ð·Ð½Ð°Ñ‚ÐµÐ»ÑŒÐ½Ñ‹Ñ…: Пер.\ Ñ Ð½ÐµÐ¼.},
+ address = {М.},
+ publisher = {ХимиÑ},
+ year = {1980},
+ pagetotal = {392},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex11.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex11.bib
new file mode 100644
index 0000000000..16a1d96e61
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex11.bib
@@ -0,0 +1,11 @@
+@BOOK{GOST7184,
+ key = {ГОСТ},
+ title = {ГОСТ 7.1-84. БиблиографичеÑкое опиÑание документа.
+ Общие Ñ‚Ñ€ÐµÐ±Ð¾Ð²Ð°Ð½Ð¸Ñ Ð¸ правила ÑоÑтавлениÑ.
+ --- Взамен ГОСТ 7.1-76~; введ. 01.01.86.},
+ address = {М.},
+ publisher = {Изд-во Ñтандартов},
+ year = {1984},
+ pagetotal = {78},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex12.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex12.bib
new file mode 100644
index 0000000000..33bb601e08
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex12.bib
@@ -0,0 +1,8 @@
+@BOOK{ObchTech93,
+ title = {ОбчиÑлювальна Ñ– прикладна математика: Зб.наук.пр.},
+ address = {К.},
+ publisher = {Либідь},
+ year = {1993},
+ pagetotal = {99},
+ language = {ukrainian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex13.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex13.bib
new file mode 100644
index 0000000000..6c4e3a0bdc
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex13.bib
@@ -0,0 +1,10 @@
+@BOOK{Bibdelo86,
+ title = {Библиотечное дело: Терминол. Ñловарь},
+ composer = {И. Ðœ. СуÑлова and Л. Ð. Уланова},
+ edition = {2-е изд.},
+ address = {М.},
+ publisher = {Книга},
+ year = {1986},
+ pagetotal = {224},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex14.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex14.bib
new file mode 100644
index 0000000000..e3b3428a7f
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex14.bib
@@ -0,0 +1,11 @@
+@INBOOK{Ponomarenko79,
+ author = {Пономаренко, Л. Ð.},
+ title = {ÐžÑ€Ð³Ð°Ð½Ð¸Ð·ÑƒÑŽÑ‰Ð°Ñ ÑиÑтема},
+ booktitle = {ÐÐ²Ñ‚Ð¾Ð¼Ð°Ñ‚Ð¸Ð·Ð°Ñ†Ð¸Ñ Ñ‚ÐµÑ…Ð½Ð¾Ð»Ð¾Ð³Ð¸Ñ‡ÐµÑких процеÑÑов
+ в прокатном производÑтве},
+ address = {М.},
+ publisher = {МеталлургиÑ},
+ year = {1979},
+ pages = {141-148},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex14a.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex14a.bib
new file mode 100644
index 0000000000..7d086ef71f
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex14a.bib
@@ -0,0 +1,11 @@
+@INBOOK{Zeyts70,
+ author = {Зейтц, Ф.},
+ title = {О приведении проÑтранÑтвенных групп},
+ booktitle = {Ð¡Ð¸Ð¼Ð¼ÐµÑ‚Ñ€Ð¸Ñ Ð² твердом теле},
+ bookauthor = {ÐокÑ, Р. and Голд, Ð.},
+ address = {М.},
+ publisher = {Ðаука},
+ year = {1970},
+ pages = {172--186},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex15.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex15.bib
new file mode 100644
index 0000000000..e73a2859d7
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex15.bib
@@ -0,0 +1,12 @@
+@INCOLLECTION{Ponoomarenko76,
+ author = {Пономаренко, Л. Ð.},
+ title = {Структура ÑиÑтемы Ð¿Ñ€ÐµÑ€Ñ‹Ð²Ð°Ð½Ð¸Ñ Ñ Ñитуационными
+ приоритетами в ÐСУТП Ñтанов горÑчей прокатки},
+ booktitle = {Разработка автоматизированных ÑиÑтем управлениÑ
+ технологичеÑкими процеÑÑами},
+ address = {ТбилиÑи},
+ publisher = {Сабчота Сакартвело},
+ year = {1976},
+ pages = {3-16},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex16.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex16.bib
new file mode 100644
index 0000000000..d3396fb15a
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex16.bib
@@ -0,0 +1,10 @@
+@ARTICLE{Malikov92,
+ author = {Меликов, Ð. З. and Пономаренко, Л. Ð.},
+ title = {ÐžÐ¿Ñ‚Ð¸Ð¼Ð¸Ð·Ð°Ñ†Ð¸Ñ Ñ†Ð¸Ñ„Ñ€Ð¾Ð²Ð¾Ð¹ Ñети интегрального обÑлуживаниÑ
+ Ñ ÐºÐ¾Ð½ÐµÑ‡Ð½Ñ‹Ð¼ чиÑлом пользователей и блокировками},
+ journal = {Ðвтоматика и телемеханика},
+ year = {1992},
+ number = {6},
+ pages = {34-38},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex17.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex17.bib
new file mode 100644
index 0000000000..00f2d3e869
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex17.bib
@@ -0,0 +1,11 @@
+@ARTICLE{Ponomarenko86a,
+ author = {Пономаренко, Л. Ð. and Меликов, Ð. З.},
+ title = {Ситуационное управление многоканальной ÑиÑтемой
+ Ñ Ð¿ÐµÑ€ÐµÐ¼ÐµÐ½Ð½Ð¾Ð¹ Ñтруктурой обÑÐ»ÑƒÐ¶Ð¸Ð²Ð°Ð½Ð¸Ñ Ð½ÐµÐ¾Ð´Ð½Ð¾Ñ€Ð¾Ð´Ð½Ð¾Ð³Ð¾ потока},
+ journal = {Изв.\ ÐÐ Ðзерб.\ РеÑп. Сер.\ физ.-техн.\ и мат.\ наук},
+ year = {1986},
+ volume = {7},
+ number = {6},
+ pages = {79-83},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex17a.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex17a.bib
new file mode 100644
index 0000000000..5351992600
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex17a.bib
@@ -0,0 +1,8 @@
+@ARTICLE{dixit.pindyck:options,
+ title = {The Options Approach to Capital Investment},
+ author = {Avinash K. Dixit and Robert S. Pindyck},
+ journal = {Harvard Business Review},
+ year = {1995},
+ month = {May-June},
+ pages = {105--115},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex17b.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex17b.bib
new file mode 100644
index 0000000000..b9584ca412
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex17b.bib
@@ -0,0 +1,10 @@
+@ARTICLE{RosGaz-article,
+ title = {Федеральный закон о внеÑении изменений
+ и дополнений в Семейный ÐºÐ¾Ð´ÐµÐºÑ Ð Ð¾ÑÑийÑкой Федерации},
+ journal = {РоÑÑийÑÐºÐ°Ñ Ð³Ð°Ð·ÐµÑ‚Ð°},
+ year = {1997},
+ month = {19 ноÑб},
+ pages = {4},
+ note = {РоÑÑийÑÐºÐ°Ñ Ð¤ÐµÐ´ÐµÑ€Ð°Ñ†Ð¸Ñ. Законы},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex18.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex18.bib
new file mode 100644
index 0000000000..7c305452e6
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex18.bib
@@ -0,0 +1,11 @@
+@INBOOK{Dolmatovskiy88,
+ author = {ДолматовÑкий, Ю. Ð.},
+ title = {Электромобиль},
+ booktitle = {БСЭ},
+ edition = {3-е},
+ address = {М.},
+ year = {1988},
+ volume = {30},
+ pages = {72},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex19.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex19.bib
new file mode 100644
index 0000000000..8a9d3979f7
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex19.bib
@@ -0,0 +1,14 @@
+@INPROCEEDINGS{Ponomarenko88,
+ author = {Пономаренко, Л. Ð. and Жучкова, И. Ð’.},
+ title = {Оптимальное назначение приоритетов
+ при организации доÑтупа в локальных
+ вычиÑлительных ÑетÑÑ… ÐСУТП},
+ booktitle = {Труды Междунар.\ конф.\
+ <<Локальные вычиÑлительные Ñети>> (ЛОКСЕТЬ 88)},
+ volume = {1},
+ address = {Рига},
+ publisher = {ИЭВТ ÐРЛатвии},
+ year = {1988},
+ pages = {149-153},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex20.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex20.bib
new file mode 100644
index 0000000000..59d5fd3c67
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex20.bib
@@ -0,0 +1,9 @@
+@INPROCEEDINGS{Melikov95,
+ author = {Melikov, A. Z. and Ponomarenko, L. A.},
+ title = {On the approach to optimal control
+ of queuing systems with multiple classes of customers},
+ booktitle = {Proc.\ International Conf.\ on Syst.\ Sci.\ XII.},
+ address = {Wroclaw (Poland)},
+ year = {1995},
+ pages = {507-515},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex20a.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex20a.bib
new file mode 100644
index 0000000000..cf0f2c1c93
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex20a.bib
@@ -0,0 +1,28 @@
+@INPROCEEDINGS{Gojchuk98,
+ author = {Гойчук, Ð. Ф.},
+ title = {ОÑобливоÑÑ‚Ñ– етіології Ñ– патогенезу поперечного раку
+ дуба звичайного в Україні},
+ booktitle = {Ðауковий віÑник Ðаціонального
+ аграрного універÑитету},
+ editor = {Мельничука, Д. О. and others},
+ address = {К.},
+ publisher = {ÐÐУ},
+ year = {1998},
+ series = {Вип. 8: ЛіÑівництво},
+ pages = {168--173},
+ language = {ukrainian},
+}
+
+@INPROCEEDINGS{Polyakov98a,
+ author = {Ðœ. О. ПолÑков},
+ title = {СиÑтемний ефект Ð°Ð³Ñ€ÐµÐ³ÑƒÐ²Ð°Ð½Ð½Ñ Ð»Ñ–ÑоÑік в управлінні
+ ліÑовими реÑурÑами на регіональному рівні},
+ crossref = {Gojchuk98},
+ annote = {РозглÑнуто ефект Ð°Ð³Ñ€ÐµÐ³ÑƒÐ²Ð°Ð½Ð½Ñ ÐµÐ»ÐµÐ¼ÐµÐ½Ñ‚Ð°Ñ€Ð½Ð¸Ñ…
+ гоÑподарÑьких одиниць на розмір розрахункової ліÑоÑіки.
+ Запропоновано метод Ð²Ð¸Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ð¼Ð°ÐºÑимально допуÑтимого розміру
+ Ñ€ÑƒÐ±Ð°Ð½Ð½Ñ Ð·Ð° площею на рівні регіону в контекÑÑ‚Ñ– ÑиÑтеми
+ державного Ñ€ÐµÐ³ÑƒÐ»ÑŽÐ²Ð°Ð½Ð½Ñ Ð»Ñ–ÑокориÑÑ‚ÑƒÐ²Ð°Ð½Ð½Ñ Ð´Ð»Ñ ÑƒÐ¼Ð¾Ð² ринкової
+ економіки},
+ pages = {213--220},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex20b.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex20b.bib
new file mode 100644
index 0000000000..804f156ba1
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex20b.bib
@@ -0,0 +1,16 @@
+@INPROCEEDINGS{TranskSpivrob99:Purich,
+ author = {Пурич, Штефан},
+ title = {{Р}умынÑко-{У}краинÑкое транÑграничное ÑотрудничеÑтво:
+ проблемы и перÑпективы},
+ language = {russian},
+ booktitle = {ТранÑкордонне Ñпівробітництво у поліетнічних регіонах
+ {С}хідної та {П}івденно-{С}хідної {Є}вропи: {М}атеріали наукового
+ Ñимпозіуму},
+ editor = {Макара, Ю.},
+ address = {Чернівці},
+ publisher = {Золоті литаври},
+ organization = {БуковинÑький політологічний центр},
+ year = {1999},
+ pagetotal = {196},
+ booklanguage = {ukrainian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex20c.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex20c.bib
new file mode 100644
index 0000000000..bdd9cdd95b
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex20c.bib
@@ -0,0 +1,20 @@
+@INPROCEEDINGS{Selikov95,
+ author = {Selikov, A. Z. and Ponomarenko, L. A. and Qranamarenko, L. S. and Zonomarenko, L. U.},
+ title = {On the approach to optimal control
+ of queuing systems with multiple classes of customers},
+ booktitle = {Proc.\ International Conf.\ on Syst.\ Sci.\ XII.},
+ address = {Wroclaw (Poland)},
+ year = {1995},
+ pages = {507-515},
+}
+
+@INPROCEEDINGS{Selikov+95,
+ author = {Селиков, A. Z. and Пономарь, L. A. and Крамаренко, L. S. and Золкин, Л. Ю.},
+ title = {On the approach to optimal control
+ of queuing systems with multiple classes of customers},
+ booktitle = {Proc.\ International Conf.\ on Syst.\ Sci.\ XII.},
+ address = {Wroclaw (Poland)},
+ year = {1995},
+ pages = {507-515},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex21.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex21.bib
new file mode 100644
index 0000000000..a6769ddfb4
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex21.bib
@@ -0,0 +1,14 @@
+@PHDTHESIS{Luus82,
+ author = {ЛууÑ, Роман Ðркадьевич},
+ title = {ИÑÑледование Ð¾Ð±Ð¾Ñ€ÑƒÐ´Ð¾Ð²Ð°Ð½Ð¸Ñ Ñ Ð¿Ð½ÐµÐ²Ð¼Ð¾Ð²Ð°ÐºÑƒÑƒÐ¼Ð½Ñ‹Ð¼
+ приводом Ð´Ð»Ñ Ð·Ð°Ñ…Ð²Ð°Ñ‚Ð°, Ð¿ÐµÑ€ÐµÐ¼ÐµÑ‰ÐµÐ½Ð¸Ñ Ð¸ фикÑации
+ при обработке пориÑÑ‚Ñ‹Ñ… и легкоповреждаемых
+ Ñтроительных изделий},
+ type = {ДиÑÑÐµÑ€Ñ‚Ð°Ñ†Ð¸Ñ Ð½Ð° ÑоиÑкание ученой Ñтепени кандидата техничеÑких наук},
+ number = {05.05.04},
+ institution = {МоÑк.\ Ñтроит.\ ин-Ñ‚},
+ address = {М.},
+ year = {1982},
+ pagetotal = {212},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex21a.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex21a.bib
new file mode 100644
index 0000000000..9464e2b008
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex21a.bib
@@ -0,0 +1,11 @@
+@DOCTHESIS{KIA95-default,
+ author = {Котельников, Игорь ÐлекÑандрович},
+ title = {Ð¢ÐµÐ¾Ñ€Ð¸Ñ Ð¼Ð°Ð³Ð½Ð¸Ñ‚Ð½Ð¾Ð³Ð¾ ÑƒÐ´ÐµÑ€Ð¶Ð°Ð½Ð¸Ñ Ð´Ð²ÑƒÑ…ÐºÐ¾Ð¼Ð¿Ð¾Ð½ÐµÐ½Ñ‚Ð½Ð¾Ð¹ плазмы
+ в открытых ловушках},
+ number = {01.04.08},
+ institution = {Ин-Ñ‚ Ñдерной физики им.\ Г.~И. Будкера СО РÐÐ},
+ address = {ÐовоÑибирÑк},
+ year = {1995},
+ pagetotal = {350},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex21b.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex21b.bib
new file mode 100644
index 0000000000..49be181505
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex21b.bib
@@ -0,0 +1,17 @@
+@MASTERSTHESIS{mastersthesis-minimal,
+ title = {Mastering Thesis Writing},
+ author = {{\'{E}}douard Masterly},
+ year = {1988},
+ institution = {Stanford University},
+}
+
+@MASTERSTHESIS{mastersthesis-full,
+ title = {Mastering Thesis Writing},
+ author = {{\'{E}}douard Masterly},
+ month = jun,
+ note = {This is a full MASTERSTHESIS entry},
+ type = {Master's project},
+ year = {1988},
+ address = {English Department},
+ institution = {Stanford University},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex22.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex22.bib
new file mode 100644
index 0000000000..d2e55c91b3
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex22.bib
@@ -0,0 +1,12 @@
+@THESIS{KIA85-autoref,
+ author = {Котельников, Игорь ÐлекÑандрович},
+ title = {Ð¢ÐµÐ¾Ñ€Ð¸Ñ Ð¼Ð°Ð³Ð½Ð¸Ñ‚Ð½Ð¾Ð³Ð¾ ÑƒÐ´ÐµÑ€Ð¶Ð°Ð½Ð¸Ñ Ð´Ð²ÑƒÑ…ÐºÐ¾Ð¼Ð¿Ð¾Ð½ÐµÐ½Ñ‚Ð½Ð¾Ð¹ плазмы
+ в открытых ловушках},
+ type = {Ðвтореф.\ диÑ.\ на ÑоиÑк.\ учен.\ Ñтеп.\ д-ра физ.-мат.\ наук},
+ number = {01.04.08},
+ school = {Ин-Ñ‚ Ñдерной физики им.\ Г.~И. Будкера СО РÐÐ},
+ address = {ÐовоÑибирÑк},
+ year = {1995},
+ pagetotal = {17},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex22a.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex22a.bib
new file mode 100644
index 0000000000..9569e1bb2d
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex22a.bib
@@ -0,0 +1,46 @@
+@THESIS{vishnyakov:thesis1,
+ title = {Модели и методы оценки коммерчеÑких банков в уÑловиÑÑ… неопределенноÑти},
+ author = {ВишнÑков, Ð˜Ð»ÑŒÑ Ð’Ð»Ð°Ð´Ð¸Ð¼Ð¸Ñ€Ð¾Ð²Ð¸Ñ‡},
+ year = {2002},
+ date = {2002-02-04},
+ langid = {russian},
+ language = {russian},
+ location = {М.},
+ speciality = {Ñкон. наук},
+ number = {08.00.13},
+ pagetotal = {234},
+ titleaddon = {защищена 12.02.02~: утв. 24.06.02},
+}
+
+@THESIS{vishnyakov:thesis2,
+ title = {Модели и методы оценки коммерчеÑких банков в уÑловиÑÑ… неопределенноÑти},
+ author = {ВишнÑков, Ð˜Ð»ÑŒÑ Ð’Ð»Ð°Ð´Ð¸Ð¼Ð¸Ñ€Ð¾Ð²Ð¸Ñ‡},
+ type = {phdthesis},
+ addendum = {Библиогр.: Ñ. 220---230.~--- 04200204433},
+ _year = {2002},
+ date = {2002-02-04},
+ langid = {russian},
+ language = {russian},
+ location = {М.},
+ speciality = {Ñкон. наук},
+ specialitycode = {08.00.13},
+ media = {text},
+ pagetotal = {234},
+ titleaddon = {защищена 12.02.02~: утв. 24.06.02},
+}
+
+
+@THESIS{Skvortsov:2008,
+ title = {Флуктуационные и интерференционные Ñффекты в мезоÑкопичеÑких ÑиÑтемах},
+ author = {Скворцов, Михаил Ðндреевич},
+ type = {docthesis},
+ _year = {2008},
+ institution = {ИТФ им. Л.\,Д.~Ландау},
+ langid = {russian},
+ language = {russian},
+ location = {Черноголовка},
+ speciality = {физ.-мат. наук},
+ specialitycode = {01.04.02},
+ media = {text},
+ pagetotal = {224},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex23.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex23.bib
new file mode 100644
index 0000000000..950f353aef
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex23.bib
@@ -0,0 +1,11 @@
+@BOOK{Ponomarenko76,
+ author = {Пономаренко, Л. Ð. and Буадзе, Ð’. Ð’.},
+ title = {МатематичеÑкие модели и алгоритмы Ñбора
+ и обработки информации в ÐСУТП непрерывных
+ Ñтанов горÑчей прокатки},
+ address = {К.},
+ year = {1976},
+ pagetotal = {37},
+ language = {russian},
+ note = {(Препр./ ÐРУкраины. Ин-Ñ‚ кибернетики; 76-76)},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex24.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex24.bib
new file mode 100644
index 0000000000..f1bd612b34
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex24.bib
@@ -0,0 +1,15 @@
+@REPORT{Report81-rep,
+ title = {Проведение иÑпытаний и иÑÑледований
+ теплотехничеÑких ÑвойÑтв камер {КХС-2-12-ВЗ}
+ и {КХС-2-12-КЗІО}},
+ institution = {Ð’ÑеÑоюзн.\ заочн.\ ин-Ñ‚ пищ.\ пром-ти},
+ address = {М.},
+ organization = {ВИÐИТИ},
+ year = {1981},
+ pagetotal = {90},
+ type = {Отчет о {ÐИР}},
+ editor = {Путин, В. В.},
+ author = {Медведев, Д. Ð. and others},
+ note = {Инв.\ № В 119692},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex24a.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex24a.bib
new file mode 100644
index 0000000000..c8c698a48a
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex24a.bib
@@ -0,0 +1,12 @@
+@REPORT{Report81b-rep-notype,
+ title = {Проведение иÑпытаний и иÑÑледований
+ теплотехничеÑких ÑвойÑтв камер {КХС-2-12-ВЗ}
+ и {КХС-2-12-КЗІО}},
+ institution = {Ð’ÑеÑоюзн.\ заочн.\ ин-Ñ‚ пищ.\ пром-ти},
+ address = {М.},
+ organization = {ВИÐИТИ},
+ year = {1981},
+ pagetotal = {90},
+ note = {Инв.\ № В 119692},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex24b.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex24b.bib
new file mode 100644
index 0000000000..c900abee93
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex24b.bib
@@ -0,0 +1,14 @@
+@TECHREPORT{Report81-techrep,
+ title = {Проведение иÑпытаний и иÑÑледований
+ теплотехничеÑких ÑвойÑтв камер {КХС-2-12-ВЗ}
+ и {КХС-2-12-КЗІО}},
+ institution = {Ð’ÑеÑоюзн.\ заочн.\ ин-Ñ‚ пищ.\ пром-ти},
+ address = {М.},
+ organization = {ВИÐИТИ},
+ year = {1981},
+ pagetotal = {90},
+ editor = {Путин, В. В.},
+ author = {Медведев, Д. Ð. and others},
+ note = {Инв.\ № В 119692},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex25.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex25.bib
new file mode 100644
index 0000000000..cc599b52b7
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex25.bib
@@ -0,0 +1,11 @@
+@BOOK{CatalogMamals81,
+ title = {Каталог млекопитающих СССР.
+ Плиоцен "--- ÑовременноÑÑ‚ÑŒ},
+ organization = {ÐРСССР, Зоол.\ ин-Ñ‚},
+ editor = {И. М. Громова and Г. И. Барановой},
+ address = {Л.},
+ publisher = {Ðаука, Ленинг.\ отд-ние},
+ year = {1981},
+ pagetotal = {456},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex26.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex26.bib
new file mode 100644
index 0000000000..cff85edfbe
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex26.bib
@@ -0,0 +1,12 @@
+@BOOK{Instr86,
+ title = {Ð¢Ð¸Ð¿Ð¾Ð²Ð°Ñ Ð¸Ð½ÑÑ‚Ñ€ÑƒÐºÑ†Ð¸Ñ Ð¿Ð¾ ÑкÑплуатации
+ топливоотдачи тепловых ÑлектроÑтанций~:
+ ТИ 34-70-044-85~: Утв. Гл. техн. упр.
+ по ÑкÑплуатации ÑнергоÑиÑтем 01.10.85~:
+ Срок дейÑÑ‚Ð²Ð¸Ñ ÑƒÑтановлен Ñ 01.01.86 до 01.01.95},
+ organization = {Ðœ-во Ñнергетики и Ñлектрификации СССР},
+ address = {М.},
+ year = {1986},
+ pagetotal = {43},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex27a.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex27a.bib
new file mode 100644
index 0000000000..9b58759802
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex27a.bib
@@ -0,0 +1,18 @@
+@ONLINE{wiki:latex,
+ author = {Wikipedia},
+ title = {{\LaTeX}---Wikipedia{,} The Free Encyclopedia},
+ year = {2012},
+ url = {http://en.wikipedia.org/wiki/LaTeX},
+ urldate = {25.01.2012},
+}
+
+@ONLINE{wiki:latex-2,
+ author = {Wikipedia},
+ title = {{\LaTeX}},
+ howpublished = {Wikipedia, The Free Encyclopedia},
+ year = {2012},
+ eprint = {wiki/LaTeX},
+ eprinttype = {WikiPedia},
+ url = {http://en.wikipedia.org/wiki/LaTeX},
+ urldate = {25.01.2012},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex27b.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex27b.bib
new file mode 100644
index 0000000000..c903934e1d
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex27b.bib
@@ -0,0 +1,10 @@
+@ONLINE{phys:moodle,
+ author = {ЧеркаÑÑкий, Ð’. С.},
+ title = {КлаÑÑÐ½Ð°Ñ ÐºÐ¾Ð¼Ð½Ð°Ñ‚Ð°},
+ howpublished = {ФизичеÑкий факультет},
+ organization = {ÐГУ},
+ year = {2012},
+ url = {http://www.phys.nsu.ru/moodle/},
+ urldate = {16.01.2012},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex27c.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex27c.bib
new file mode 100644
index 0000000000..35f92171c2
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex27c.bib
@@ -0,0 +1,8 @@
+@MISC{EXFOR,
+ author = {IAEA},
+ title = {{EXFOR}---Experimental Nuclear Reaction Data },
+ url = {http://www-nds.iaea.org/exfor},
+ address = {P.O. Box 100, Wagramer Strasse 5, A-1400 Vienna, Austria},
+ year = {2012},
+ media = {eresource}
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex28.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex28.bib
new file mode 100644
index 0000000000..530ca4e2eb
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex28.bib
@@ -0,0 +1,25 @@
+@BOOK{IsaacNewton,
+ author = {Newton, {\relax Sir Isaac}},
+ title = {Opticks, or a treatise of the reflections,
+ refractions, inflections and colours of light},
+ publisher = {William Innys},
+ url = {http://books.google.com/books?id=XXu4AkRVBBoC},
+ media = {eresource},
+ year = {1730},
+ pagetotal = {382},
+ eprint = {XXu4AkRVBBoC},
+ eprinttype = {Google Books},
+}
+
+@BOOK{IsaacNewton-sl:sn,
+ author = {{\relax Sir I}saac Newton},
+ title = {Opticks, or a treatise of the reflections,
+ refractions, inflections and colours of light},
+ url = {http://books.google.com/books?id=XXu4AkRVBBoC},
+ media = {online},
+ year = {1730},
+ pagetotal = {382},
+ eprint = {XXu4AkRVBBoC},
+ eprinttype = {Google Books},
+}
+% publisher = {William Innys},
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex28a.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex28a.bib
new file mode 100644
index 0000000000..de6e440d0a
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex28a.bib
@@ -0,0 +1,32 @@
+@BOOK{Encyclopedia,
+ title = {ХудожеÑÑ‚Ð²ÐµÐ½Ð½Ð°Ñ ÑÐ½Ñ†Ð¸ÐºÐ»Ð¾Ð¿ÐµÐ´Ð¸Ñ Ð·Ð°Ñ€ÑƒÐ±ÐµÐ¶Ð½Ð¾Ð³Ð¾ клаÑÑичеÑкого иÑкуÑÑтва},
+ publisher = {Ð‘Ð¾Ð»ÑŒÑˆÐ°Ñ Ð Ð¾Ñ. Ñнцикл.},
+ year = {1996},
+ address = {М.},
+ note = {1 Ñлектрон. опт. диÑк (CD-ROM)},
+ language = {russian},
+ media = {eresource},
+}
+
+@ARTICLE{Nasirova,
+ title = {Модели гоÑударÑтвенного Ñ€ÐµÐ³ÑƒÐ»Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ Ñтраховой деÑтельноÑти},
+ author = {ÐаÑырова, Г. Ð.},
+ language = {russian},
+ note = {Режим доÑтупа: http://vestnik.fa.ru/4(28)2003/4.html},
+ number = {4},
+ year = {2003},
+ journal = {ВеÑтник ФинанÑовой академии},
+ media2 = {eresource},
+ media = {online},
+}
+
+@BOOK{kremlincd,
+ title = {МоÑковÑкий Кремль},
+ titleaddon = {трехмер. путеводитель},
+ language = {russian},
+ note = {CD-ROM},
+ date = {2007},
+ location = {М.},
+ publisher = {Ðовый ДиÑк},
+ media = {eresource},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex29.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex29.bib
new file mode 100644
index 0000000000..416cb5b91c
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex29.bib
@@ -0,0 +1,15 @@
+@ARTICLE{PhysRevLett.101.085006,
+ author = {Kotelnikov, Igor and Rom\'e, Massimiliano},
+ volume = {101},
+ journal = {Phys. Rev. Lett.},
+ month = {Aug},
+ pagetotal = {4},
+ title = {Admissible Equilibria of Non-neutral Plasmas in a Malmberg-Penning Trap},
+ year = {2008},
+ doi = {10.1103/PhysRevLett.101.085006},
+ issue = {8},
+ publisher = {American Physical Society},
+ pages = {085006},
+}
+
+% url = {http://link.aps.org/doi/10.1103/PhysRevLett.101.085006},
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex30.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex30.bib
new file mode 100644
index 0000000000..b9e2ce43b5
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex30.bib
@@ -0,0 +1,27 @@
+@ARTICLE{1998PhRvE..57.7111K,
+ author = {{Kinney}, R.~M. and {McWilliams}, J.~C.},
+ title = {{Turbulent cascades in anisotropic magnetohydrodynamics}},
+ journal = pre,
+ keywords = {Plasma turbulence, Magnetohydrodynamic and fluid equation},
+ year = {1998},
+ month = jun,
+ volume = {57},
+ pages = {7111-7121},
+ doi = {10.1103/PhysRevE.57.7111},
+ adsurl = {http://adsabs.harvard.edu/abs/1998PhRvE..57.7111K},
+ adsnote = {Provided by the SAO/NASA Astrophysics Data System},
+}
+
+@ARTICLE{1998UFN,
+ author = {Котельников, И. Ð. and ÐÑтрелин, Ð’. Т.},
+ title = {Ð¢ÐµÐ¾Ñ€Ð¸Ñ Ð¿Ð»Ð°Ð·Ð¼ÐµÐ½Ð½Ð¾Ð³Ð¾ Ñмиттера положительных ионов},
+ journal = ufn,
+ keywords = {плазменный Ñмиттер, критерий Бома},
+ year = {2015},
+ month = jul,
+ volume = {185},
+ pages = {753-771},
+ language = {russian},
+ doi = {10.3367/UFNr.0185.201507c.0753},
+ url = {http://ufn.ru/ru/articles/2015/7/c/},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex31.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex31.bib
new file mode 100644
index 0000000000..7c86f15b6e
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/ex31.bib
@@ -0,0 +1,40 @@
+@PATENT{patent1,
+ author = {Э. В. Тернер},
+ authorcountry = {СШÐ},
+ title = {ÐžÐ´Ð½Ð¾Ñ€Ð°Ð·Ð¾Ð²Ð°Ñ Ñ€Ð°ÐºÐµÑ‚Ð°-ноÑитель},
+ media = {text},
+ type = {заÑвка},
+ number = {1095735},
+ location = {РоÑ. ФедерациÑ},
+ ipc = {МПК\ensuremath{^7} B 64 G 1/00},
+ holder = {заÑвитель Ð¡Ð¿ÐµÐ¹Ñ Ð¡Ð¸Ñтемз/Лорал, инк.},
+ credits = {патент. поверенный Егорова Г. Б.},
+ requestnumber = {000108705/28},
+ requestdate = {07.04.2000},
+ publicationdate = {10.03.2001},
+ publication = {Бюл. № 7 (I ч.)},
+ prioritydate= {09.04.1999},
+ prioritynumber = {09/289, 037},
+ prioritycountry = {СШÐ},
+ pagetotal = {5 Ñ.~: ил.},
+ language = {russian},
+}
+
+@PATENT{patent2,
+ author = {В. И. Чугаева},
+ authorcountry = {РФ},
+ title = {Приемопередающее уÑтройÑтво},
+ media = {text},
+ type = {пат.},
+ number = {2000131736/09},
+ location = {РоÑ. ФедерациÑ},
+ ipc = {МПК\ensuremath{^7} H 04 В 1/38, Р04 J 13/00},
+ holder = {заÑвитель и патентообладатель Воронеж. науч.-иÑлед. ин-Ñ‚ ÑвÑзи.},
+ credits = {патент. поверенный Егорова Г. Б.},
+ requestnumber = {000108705/28},
+ date = {18.12.2000},
+ publicationdate = {20.08.2002},
+ publication = {Бюл. № 23 (II ч.)},
+ pagetotal = {2 Ñ.~: ил.},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/examples.bib b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/examples.bib
new file mode 100644
index 0000000000..c017576999
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/bib/examples.bib
@@ -0,0 +1,664 @@
+@BOOK{Vasylenko92,
+ author = {ВаÑиленко, Ðœ. Ð’.},
+ title = {Ð¢ÐµÐ¾Ñ€Ñ–Ñ ÐºÐ¾Ð»Ð¸Ð²Ð°Ð½ÑŒ: Ðавчальний поÑібник},
+ address = {К.},
+ publisher = {Вища школа},
+ year = {1992},
+ pagetotal = {430},
+ language = {ukrainian},
+}
+@BOOK{Afanasyev92,
+ author = {ÐфанаÑьев, Ð’. Ð’. and ВаÑилевÑкий, О. Ð.},
+ title = {РаÑчеты ÑлектричеÑких цепей
+ на программируемых микрокалькулÑторах},
+ address = {М.},
+ publisher = {Энергоиздат},
+ year = {1992},
+ pagetotal = {190},
+ language = {russian},
+}
+@BOOK{Makilov91,
+ author = {Меликов, Ð. З. and Пономаренко, Л. Ð.
+ and Рюмшин, П. Ð.},
+ title = {МатематичеÑкие модели многопотоковых
+ ÑиÑтем обÑлуживаниÑ},
+ address = {К.},
+ publisher = {Техніка},
+ year = {1991},
+ pagetotal = {265},
+ language = {russian},
+}
+@BOOK{Ponomarenko86,
+ title = {ОÑновы ÑÐ¾Ð·Ð´Ð°Ð½Ð¸Ñ Ð³Ð¸Ð±ÐºÐ¸Ñ… атоматизированных производÑтв},
+ author = {Л. Ð. Пономаренко and Л. Ð’. Ðдамович
+ and Ð’. Т. Музычук and Ð. Е. ГридаÑов},
+ editor = {Б. Б. Тимофеева},
+ address = {К.},
+ publisher = {Техніка},
+ year = {1986},
+ pagetotal = {144},
+ language = {russian},
+}
+@BOOK{Belousova81,
+ title = {СиÑтемный анализ инфраÑтруктуры
+ как Ñлемент народного хозÑйÑтва},
+ author = {БелоуÑова, Ð. И. and ВишнÑк, Е. И.
+ and Левит, В. Ю. and others},
+ address = {М.},
+ publisher = {Экономика},
+ year = {1981},
+ pagetotal = {62},
+ language = {russian},
+}
+@BOOK{BibOp91,
+ title = {СоÑтавление библиографичеÑкого опиÑаниÑ:
+ Краткие правила},
+ organization = {Междувед. каталогизац. комиÑ.
+ при ГоÑ. б-ке СССР им.~Ð’.~И. Ленина},
+ edition = {2-е, доп.},
+ address = {М.},
+ publisher = {Кн.~палата},
+ year = {1991},
+ pagetotal = {224},
+ language = {russian},
+}
+@BOOK{Poems82,
+ title = {Стихи о музыке. РуÑÑкие,
+ ÑоветÑкие, зарубежные поÑÑ‚Ñ‹: Сборник},
+ compiler = {Ð. Бирюкова and Ð’. Татаринов},
+ address = {М.},
+ publisher = {Сов. композитор},
+ year = {1982},
+ pagetotal = {224},
+ language = {russian},
+}
+@BOOK{HistLit82,
+ title = {ИÑÑ‚Ð¾Ñ€Ð¸Ñ Ñ€ÑƒÑÑкой литературы: Ð’ 4 Ñ‚.},
+ organization = {ÐРСССР, Ин-Ñ‚ руÑ.~лит.\ (Пушкин.дом)},
+ address = {М.},
+ year = {1982},
+ volume = {3: РаÑцвет реализма},
+ pagetotal = {876},
+ language = {russian},
+}
+@BOOK{Landau:eldin,
+ author = {Л. Д. Ландау and Е. М. Лифшиц},
+ title = {ТеоретичеÑÐºÐ°Ñ Ñ„Ð¸Ð·Ð¸ÐºÐ°: учебное поÑобие в 10 Ñ‚.},
+ publisher = {Ðаука. Гл.\ ред.\ физ.-мат.\ лит.},
+ address = {М.},
+ year = {1992},
+ volume = {VIII. Электродинамика Ñплошных Ñред},
+ edition = {3-е, иÑпр.},
+ language = {russian},
+}
+@BOOK{BRLS94,
+ title = {ÐарыÑÑ‹ па гiÑторыi беларуÑка-руÑкiÑ…
+ лiтаратурных ÑувÑзей: У 4 кн.},
+ organization = {Ðкад.\ навук БеларуÑi. Iн-Ñ‚ лiÑ‚.},
+ address = {ÐœiнÑк},
+ publisher = {Ðавука i Ñ‚Ñхнiка},
+ year = {1994},
+ volume = {2: Пачатак ХХ ÑÑ‚. 1900--1917 гг.},
+ editor = {Ð’. Ð. Каваленка and I. Я. Ðавуменка},
+ pagetotal = {440},
+ language = {russian},
+}
+@BOOK{Grosse80,
+ author = {ГроÑÑе, Э. and ВайÑмангель, Ð¥.},
+ title = {Ð¥Ð¸Ð¼Ð¸Ñ Ð´Ð»Ñ Ð»ÑŽÐ±Ð¾Ð·Ð½Ð°Ñ‚ÐµÐ»ÑŒÐ½Ñ‹Ñ…: Пер.\ Ñ Ð½ÐµÐ¼.},
+ address = {М.},
+ publisher = {ХимиÑ},
+ year = {1980},
+ pagetotal = {392},
+ language = {russian},
+}
+@BOOK{GOST7184,
+ key = {ГОСТ},
+ title = {ГОСТ 7.1-84. БиблиографичеÑкое опиÑание документа.
+ Общие Ñ‚Ñ€ÐµÐ±Ð¾Ð²Ð°Ð½Ð¸Ñ Ð¸ правила ÑоÑтавлениÑ.
+ --- Взамен ГОСТ 7.1-76~; введ. 01.01.86.},
+ address = {М.},
+ publisher = {Изд-во Ñтандартов},
+ year = {1984},
+ pagetotal = {78},
+ language = {russian},
+}
+@BOOK{ObchTech93,
+ title = {ОбчиÑлювальна Ñ– прикладна математика: Зб.наук.пр.},
+ address = {К.},
+ publisher = {Либідь},
+ year = {1993},
+ pagetotal = {99},
+ language = {ukrainian},
+}
+@BOOK{Bibdelo86,
+ title = {Библиотечное дело: Терминол. Ñловарь},
+ composer = {И. Ðœ. СуÑлова and Л. Ð. Уланова},
+ edition = {2-е изд.},
+ address = {М.},
+ publisher = {Книга},
+ year = {1986},
+ pagetotal = {224},
+ language = {russian},
+}
+@INBOOK{Ponomarenko79,
+ author = {Пономаренко, Л. Ð.},
+ title = {ÐžÑ€Ð³Ð°Ð½Ð¸Ð·ÑƒÑŽÑ‰Ð°Ñ ÑиÑтема},
+ booktitle = {ÐÐ²Ñ‚Ð¾Ð¼Ð°Ñ‚Ð¸Ð·Ð°Ñ†Ð¸Ñ Ñ‚ÐµÑ…Ð½Ð¾Ð»Ð¾Ð³Ð¸Ñ‡ÐµÑких процеÑÑов
+ в прокатном производÑтве},
+ address = {М.},
+ publisher = {МеталлургиÑ},
+ year = {1979},
+ pages = {141-148},
+ language = {russian},
+}
+@INBOOK{Zeyts70,
+ author = {Зейтц, Ф.},
+ title = {О приведении проÑтранÑтвенных групп},
+ booktitle = {Ð¡Ð¸Ð¼Ð¼ÐµÑ‚Ñ€Ð¸Ñ Ð² твердом теле},
+ bookauthor = {ÐокÑ, Р. and Голд, Ð.},
+ address = {М.},
+ publisher = {Ðаука},
+ year = {1970},
+ pages = {172--186},
+ language = {russian},
+}
+@INCOLLECTION{Ponoomarenko76,
+ author = {Пономаренко, Л. Ð.},
+ title = {Структура ÑиÑтемы Ð¿Ñ€ÐµÑ€Ñ‹Ð²Ð°Ð½Ð¸Ñ Ñ Ñитуационными
+ приоритетами в ÐСУТП Ñтанов горÑчей прокатки},
+ booktitle = {Разработка автоматизированных ÑиÑтем управлениÑ
+ технологичеÑкими процеÑÑами},
+ address = {ТбилиÑи},
+ publisher = {Сабчота Сакартвело},
+ year = {1976},
+ pages = {3-16},
+ language = {russian},
+}
+@ARTICLE{Malikov92,
+ author = {Меликов, Ð. З. and Пономаренко, Л. Ð.},
+ title = {ÐžÐ¿Ñ‚Ð¸Ð¼Ð¸Ð·Ð°Ñ†Ð¸Ñ Ñ†Ð¸Ñ„Ñ€Ð¾Ð²Ð¾Ð¹ Ñети интегрального обÑлуживаниÑ
+ Ñ ÐºÐ¾Ð½ÐµÑ‡Ð½Ñ‹Ð¼ чиÑлом пользователей и блокировками},
+ journal = {Ðвтоматика и телемеханика},
+ year = {1992},
+ number = {6},
+ pages = {34-38},
+ language = {russian},
+}
+@ARTICLE{Ponomarenko86a,
+ author = {Пономаренко, Л. Ð. and Меликов, Ð. З.},
+ title = {Ситуационное управление многоканальной ÑиÑтемой
+ Ñ Ð¿ÐµÑ€ÐµÐ¼ÐµÐ½Ð½Ð¾Ð¹ Ñтруктурой обÑÐ»ÑƒÐ¶Ð¸Ð²Ð°Ð½Ð¸Ñ Ð½ÐµÐ¾Ð´Ð½Ð¾Ñ€Ð¾Ð´Ð½Ð¾Ð³Ð¾ потока},
+ journal = {Изв.\ ÐÐ Ðзерб.\ РеÑп. Сер.\ физ.-техн.\ и мат.\ наук},
+ year = {1986},
+ volume = {7},
+ number = {6},
+ pages = {79-83},
+ language = {russian},
+}
+@ARTICLE{dixit.pindyck:options,
+ title = {The Options Approach to Capital Investment},
+ author = {Avinash K. Dixit and Robert S. Pindyck},
+ journal = {Harvard Business Review},
+ year = {1995},
+ month = {May-June},
+ pages = {105--115},
+}
+@ARTICLE{RosGaz-article,
+ title = {Федеральный закон о внеÑении изменений
+ и дополнений в Семейный ÐºÐ¾Ð´ÐµÐºÑ Ð Ð¾ÑÑийÑкой Федерации},
+ journal = {РоÑÑийÑÐºÐ°Ñ Ð³Ð°Ð·ÐµÑ‚Ð°},
+ year = {1997},
+ month = {19 ноÑб},
+ pages = {4},
+ note = {РоÑÑийÑÐºÐ°Ñ Ð¤ÐµÐ´ÐµÑ€Ð°Ñ†Ð¸Ñ. Законы},
+ language = {russian},
+}
+@INBOOK{Dolmatovskiy88,
+ author = {ДолматовÑкий, Ю. Ð.},
+ title = {Электромобиль},
+ booktitle = {БСЭ},
+ edition = {3-е},
+ address = {М.},
+ year = {1988},
+ volume = {30},
+ pages = {72},
+ language = {russian},
+}
+@INPROCEEDINGS{Ponomarenko88,
+ author = {Пономаренко, Л. Ð. and Жучкова, И. Ð’.},
+ title = {Оптимальное назначение приоритетов
+ при организации доÑтупа в локальных
+ вычиÑлительных ÑетÑÑ… ÐСУТП},
+ booktitle = {Труды Междунар.\ конф.\
+ <<Локальные вычиÑлительные Ñети>> (ЛОКСЕТЬ 88)},
+ volume = {1},
+ address = {Рига},
+ publisher = {ИЭВТ ÐРЛатвии},
+ year = {1988},
+ pages = {149-153},
+ language = {russian},
+}
+@INPROCEEDINGS{Melikov95,
+ author = {Melikov, A. Z. and Ponomarenko, L. A.},
+ title = {On the approach to optimal control
+ of queuing systems with multiple classes of customers},
+ booktitle = {Proc.\ International Conf.\ on Syst.\ Sci.\ XII.},
+ address = {Wroclaw (Poland)},
+ year = {1995},
+ pages = {507-515},
+}
+@INPROCEEDINGS{Gojchuk98,
+ author = {Гойчук, Ð. Ф.},
+ title = {ОÑобливоÑÑ‚Ñ– етіології Ñ– патогенезу поперечного раку
+ дуба звичайного в Україні},
+ booktitle = {Ðауковий віÑник Ðаціонального
+ аграрного універÑитету},
+ editor = {Мельничука, Д. О. and others},
+ address = {К.},
+ publisher = {ÐÐУ},
+ year = {1998},
+ series = {Вип. 8: ЛіÑівництво},
+ pages = {168--173},
+ language = {ukrainian},
+}
+
+@INPROCEEDINGS{Polyakov98a,
+ author = {Ðœ. О. ПолÑков},
+ title = {СиÑтемний ефект Ð°Ð³Ñ€ÐµÐ³ÑƒÐ²Ð°Ð½Ð½Ñ Ð»Ñ–ÑоÑік в управлінні
+ ліÑовими реÑурÑами на регіональному рівні},
+ crossref = {Gojchuk98},
+ annote = {РозглÑнуто ефект Ð°Ð³Ñ€ÐµÐ³ÑƒÐ²Ð°Ð½Ð½Ñ ÐµÐ»ÐµÐ¼ÐµÐ½Ñ‚Ð°Ñ€Ð½Ð¸Ñ…
+ гоÑподарÑьких одиниць на розмір розрахункової ліÑоÑіки.
+ Запропоновано метод Ð²Ð¸Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ð¼Ð°ÐºÑимально допуÑтимого розміру
+ Ñ€ÑƒÐ±Ð°Ð½Ð½Ñ Ð·Ð° площею на рівні регіону в контекÑÑ‚Ñ– ÑиÑтеми
+ державного Ñ€ÐµÐ³ÑƒÐ»ÑŽÐ²Ð°Ð½Ð½Ñ Ð»Ñ–ÑокориÑÑ‚ÑƒÐ²Ð°Ð½Ð½Ñ Ð´Ð»Ñ ÑƒÐ¼Ð¾Ð² ринкової
+ економіки},
+ pages = {213--220},
+}
+@INPROCEEDINGS{TranskSpivrob99:Purich,
+ author = {Пурич, Штефан},
+ title = {{Р}умынÑко-{У}краинÑкое транÑграничное ÑотрудничеÑтво:
+ проблемы и перÑпективы},
+ language = {russian},
+ booktitle = {ТранÑкордонне Ñпівробітництво у поліетнічних регіонах
+ {С}хідної та {П}івденно-{С}хідної {Є}вропи: {М}атеріали наукового
+ Ñимпозіуму},
+ editor = {Макара, Ю.},
+ address = {Чернівці},
+ publisher = {Золоті литаври},
+ organization = {БуковинÑький політологічний центр},
+ year = {1999},
+ pagetotal = {196},
+ booklanguage = {ukrainian},
+}
+@INPROCEEDINGS{Selikov95,
+ author = {Selikov, A. Z. and Ponomarenko, L. A. and Qranamarenko, L. S. and Zonomarenko, L. U.},
+ title = {On the approach to optimal control
+ of queuing systems with multiple classes of customers},
+ booktitle = {Proc.\ International Conf.\ on Syst.\ Sci.\ XII.},
+ address = {Wroclaw (Poland)},
+ year = {1995},
+ pages = {507-515},
+}
+
+@INPROCEEDINGS{Selikov+95,
+ author = {Селиков, A. Z. and Пономарь, L. A. and Крамаренко, L. S. and Золкин, Л. Ю.},
+ title = {On the approach to optimal control
+ of queuing systems with multiple classes of customers},
+ booktitle = {Proc.\ International Conf.\ on Syst.\ Sci.\ XII.},
+ address = {Wroclaw (Poland)},
+ year = {1995},
+ pages = {507-515},
+ language = {russian},
+}
+@PHDTHESIS{Luus82,
+ author = {ЛууÑ, Роман Ðркадьевич},
+ title = {ИÑÑледование Ð¾Ð±Ð¾Ñ€ÑƒÐ´Ð¾Ð²Ð°Ð½Ð¸Ñ Ñ Ð¿Ð½ÐµÐ²Ð¼Ð¾Ð²Ð°ÐºÑƒÑƒÐ¼Ð½Ñ‹Ð¼
+ приводом Ð´Ð»Ñ Ð·Ð°Ñ…Ð²Ð°Ñ‚Ð°, Ð¿ÐµÑ€ÐµÐ¼ÐµÑ‰ÐµÐ½Ð¸Ñ Ð¸ фикÑации
+ при обработке пориÑÑ‚Ñ‹Ñ… и легкоповреждаемых
+ Ñтроительных изделий},
+ type = {ДиÑÑÐµÑ€Ñ‚Ð°Ñ†Ð¸Ñ Ð½Ð° ÑоиÑкание ученой Ñтепени кандидата техничеÑких наук},
+ number = {05.05.04},
+ institution = {МоÑк.\ Ñтроит.\ ин-Ñ‚},
+ address = {М.},
+ year = {1982},
+ pagetotal = {212},
+ language = {russian},
+}
+@DOCTHESIS{KIA95-default,
+ author = {Котельников, Игорь ÐлекÑандрович},
+ title = {Ð¢ÐµÐ¾Ñ€Ð¸Ñ Ð¼Ð°Ð³Ð½Ð¸Ñ‚Ð½Ð¾Ð³Ð¾ ÑƒÐ´ÐµÑ€Ð¶Ð°Ð½Ð¸Ñ Ð´Ð²ÑƒÑ…ÐºÐ¾Ð¼Ð¿Ð¾Ð½ÐµÐ½Ñ‚Ð½Ð¾Ð¹ плазмы
+ в открытых ловушках},
+ number = {01.04.08},
+ institution = {Ин-Ñ‚ Ñдерной физики им.\ Г.~И. Будкера СО РÐÐ},
+ address = {ÐовоÑибирÑк},
+ year = {1995},
+ pagetotal = {350},
+ language = {russian},
+}
+@MASTERSTHESIS{mastersthesis-minimal,
+ title = {Mastering Thesis Writing},
+ author = {{\'{E}}douard Masterly},
+ year = {1988},
+ institution = {Stanford University},
+}
+
+@MASTERSTHESIS{mastersthesis-full,
+ title = {Mastering Thesis Writing},
+ author = {{\'{E}}douard Masterly},
+ month = jun,
+ note = {This is a full MASTERSTHESIS entry},
+ type = {Master's project},
+ year = {1988},
+ address = {English Department},
+ institution = {Stanford University},
+}
+@THESIS{KIA85-autoref,
+ author = {Котельников, Игорь ÐлекÑандрович},
+ title = {Ð¢ÐµÐ¾Ñ€Ð¸Ñ Ð¼Ð°Ð³Ð½Ð¸Ñ‚Ð½Ð¾Ð³Ð¾ ÑƒÐ´ÐµÑ€Ð¶Ð°Ð½Ð¸Ñ Ð´Ð²ÑƒÑ…ÐºÐ¾Ð¼Ð¿Ð¾Ð½ÐµÐ½Ñ‚Ð½Ð¾Ð¹ плазмы
+ в открытых ловушках},
+ type = {Ðвтореф.\ диÑ.\ на ÑоиÑк.\ учен.\ Ñтеп.\ д-ра физ.-мат.\ наук},
+ number = {01.04.08},
+ school = {Ин-Ñ‚ Ñдерной физики им.\ Г.~И. Будкера СО РÐÐ},
+ address = {ÐовоÑибирÑк},
+ year = {1995},
+ pagetotal = {17},
+ language = {russian},
+}
+@THESIS{vishnyakov:thesis1,
+ title = {Модели и методы оценки коммерчеÑких банков в уÑловиÑÑ… неопределенноÑти},
+ author = {ВишнÑков, Ð˜Ð»ÑŒÑ Ð’Ð»Ð°Ð´Ð¸Ð¼Ð¸Ñ€Ð¾Ð²Ð¸Ñ‡},
+ year = {2002},
+ date = {2002-02-04},
+ langid = {russian},
+ language = {russian},
+ location = {М.},
+ speciality = {Ñкон. наук},
+ number = {08.00.13},
+ pagetotal = {234},
+ titleaddon = {защищена 12.02.02~: утв. 24.06.02},
+}
+
+@THESIS{vishnyakov:thesis2,
+ title = {Модели и методы оценки коммерчеÑких банков в уÑловиÑÑ… неопределенноÑти},
+ author = {ВишнÑков, Ð˜Ð»ÑŒÑ Ð’Ð»Ð°Ð´Ð¸Ð¼Ð¸Ñ€Ð¾Ð²Ð¸Ñ‡},
+ type = {phdthesis},
+ addendum = {Библиогр.: Ñ. 220---230.~--- 04200204433},
+ _year = {2002},
+ date = {2002-02-04},
+ langid = {russian},
+ language = {russian},
+ location = {М.},
+ speciality = {Ñкон. наук},
+ specialitycode = {08.00.13},
+ media = {text},
+ pagetotal = {234},
+ titleaddon = {защищена 12.02.02~: утв. 24.06.02},
+}
+
+
+@THESIS{Skvortsov:2008,
+ title = {Флуктуационные и интерференционные Ñффекты в мезоÑкопичеÑких ÑиÑтемах},
+ author = {Скворцов, Михаил Ðндреевич},
+ type = {docthesis},
+ _year = {2008},
+ institution = {ИТФ им. Л.\,Д.~Ландау},
+ langid = {russian},
+ language = {russian},
+ location = {Черноголовка},
+ speciality = {физ.-мат. наук},
+ specialitycode = {01.04.02},
+ media = {text},
+ pagetotal = {224},
+}
+@BOOK{Ponomarenko76,
+ author = {Пономаренко, Л. Ð. and Буадзе, Ð’. Ð’.},
+ title = {МатематичеÑкие модели и алгоритмы Ñбора
+ и обработки информации в ÐСУТП непрерывных
+ Ñтанов горÑчей прокатки},
+ address = {К.},
+ year = {1976},
+ pagetotal = {37},
+ language = {russian},
+ note = {(Препр./ ÐРУкраины. Ин-Ñ‚ кибернетики; 76-76)},
+}
+@REPORT{Report81-rep,
+ title = {Проведение иÑпытаний и иÑÑледований
+ теплотехничеÑких ÑвойÑтв камер {КХС-2-12-ВЗ}
+ и {КХС-2-12-КЗІО}},
+ institution = {Ð’ÑеÑоюзн.\ заочн.\ ин-Ñ‚ пищ.\ пром-ти},
+ address = {М.},
+ organization = {ВИÐИТИ},
+ year = {1981},
+ pagetotal = {90},
+ type = {Отчет о {ÐИР}},
+ editor = {Путин, В. В.},
+ author = {Медведев, Д. Ð. and others},
+ note = {Инв.\ № В 119692},
+ language = {russian},
+}
+@REPORT{Report81b-rep-notype,
+ title = {Проведение иÑпытаний и иÑÑледований
+ теплотехничеÑких ÑвойÑтв камер {КХС-2-12-ВЗ}
+ и {КХС-2-12-КЗІО}},
+ institution = {Ð’ÑеÑоюзн.\ заочн.\ ин-Ñ‚ пищ.\ пром-ти},
+ address = {М.},
+ organization = {ВИÐИТИ},
+ year = {1981},
+ pagetotal = {90},
+ note = {Инв.\ № В 119692},
+ language = {russian},
+}
+@TECHREPORT{Report81-techrep,
+ title = {Проведение иÑпытаний и иÑÑледований
+ теплотехничеÑких ÑвойÑтв камер {КХС-2-12-ВЗ}
+ и {КХС-2-12-КЗІО}},
+ institution = {Ð’ÑеÑоюзн.\ заочн.\ ин-Ñ‚ пищ.\ пром-ти},
+ address = {М.},
+ organization = {ВИÐИТИ},
+ year = {1981},
+ pagetotal = {90},
+ editor = {Путин, В. В.},
+ author = {Медведев, Д. Ð. and others},
+ note = {Инв.\ № В 119692},
+ language = {russian},
+}
+@BOOK{CatalogMamals81,
+ title = {Каталог млекопитающих СССР.
+ Плиоцен "--- ÑовременноÑÑ‚ÑŒ},
+ organization = {ÐРСССР, Зоол.\ ин-Ñ‚},
+ editor = {И. М. Громова and Г. И. Барановой},
+ address = {Л.},
+ publisher = {Ðаука, Ленинг.\ отд-ние},
+ year = {1981},
+ pagetotal = {456},
+ language = {russian},
+}
+@BOOK{Instr86,
+ title = {Ð¢Ð¸Ð¿Ð¾Ð²Ð°Ñ Ð¸Ð½ÑÑ‚Ñ€ÑƒÐºÑ†Ð¸Ñ Ð¿Ð¾ ÑкÑплуатации
+ топливоотдачи тепловых ÑлектроÑтанций~:
+ ТИ 34-70-044-85~: Утв. Гл. техн. упр.
+ по ÑкÑплуатации ÑнергоÑиÑтем 01.10.85~:
+ Срок дейÑÑ‚Ð²Ð¸Ñ ÑƒÑтановлен Ñ 01.01.86 до 01.01.95},
+ organization = {Ðœ-во Ñнергетики и Ñлектрификации СССР},
+ address = {М.},
+ year = {1986},
+ pagetotal = {43},
+ language = {russian},
+}
+@ONLINE{wiki:latex,
+ author = {Wikipedia},
+ title = {{\LaTeX}---Wikipedia{,} The Free Encyclopedia},
+ year = {2012},
+ url = {http://en.wikipedia.org/wiki/LaTeX},
+ urldate = {25.01.2012},
+}
+
+@ONLINE{wiki:latex-2,
+ author = {Wikipedia},
+ title = {{\LaTeX}},
+ howpublished = {Wikipedia, The Free Encyclopedia},
+ year = {2012},
+ eprint = {wiki/LaTeX},
+ eprinttype = {WikiPedia},
+ url = {http://en.wikipedia.org/wiki/LaTeX},
+ urldate = {25.01.2012},
+}
+@ONLINE{phys:moodle,
+ author = {ЧеркаÑÑкий, Ð’. С.},
+ title = {КлаÑÑÐ½Ð°Ñ ÐºÐ¾Ð¼Ð½Ð°Ñ‚Ð°},
+ howpublished = {ФизичеÑкий факультет},
+ organization = {ÐГУ},
+ year = {2012},
+ url = {http://www.phys.nsu.ru/moodle/},
+ urldate = {16.01.2012},
+ language = {russian},
+}
+@MISC{EXFOR,
+ author = {IAEA},
+ title = {{EXFOR}---Experimental Nuclear Reaction Data },
+ url = {http://www-nds.iaea.org/exfor},
+ address = {P.O. Box 100, Wagramer Strasse 5, A-1400 Vienna, Austria},
+ year = {2012},
+ media = {eresource}
+}
+@BOOK{IsaacNewton,
+ author = {Newton, {\relax Sir Isaac}},
+ title = {Opticks, or a treatise of the reflections,
+ refractions, inflections and colours of light},
+ publisher = {William Innys},
+ url = {http://books.google.com/books?id=XXu4AkRVBBoC},
+ media = {eresource},
+ year = {1730},
+ pagetotal = {382},
+ eprint = {XXu4AkRVBBoC},
+ eprinttype = {Google Books},
+}
+
+@BOOK{IsaacNewton-sl:sn,
+ author = {{\relax Sir I}saac Newton},
+ title = {Opticks, or a treatise of the reflections,
+ refractions, inflections and colours of light},
+ url = {http://books.google.com/books?id=XXu4AkRVBBoC},
+ media = {online},
+ year = {1730},
+ pagetotal = {382},
+ eprint = {XXu4AkRVBBoC},
+ eprinttype = {Google Books},
+}
+% publisher = {William Innys},
+@BOOK{Encyclopedia,
+ title = {ХудожеÑÑ‚Ð²ÐµÐ½Ð½Ð°Ñ ÑÐ½Ñ†Ð¸ÐºÐ»Ð¾Ð¿ÐµÐ´Ð¸Ñ Ð·Ð°Ñ€ÑƒÐ±ÐµÐ¶Ð½Ð¾Ð³Ð¾ клаÑÑичеÑкого иÑкуÑÑтва},
+ publisher = {Ð‘Ð¾Ð»ÑŒÑˆÐ°Ñ Ð Ð¾Ñ. Ñнцикл.},
+ year = {1996},
+ address = {М.},
+ note = {1 Ñлектрон. опт. диÑк (CD-ROM)},
+ language = {russian},
+ media = {eresource},
+}
+
+@ARTICLE{Nasirova,
+ title = {Модели гоÑударÑтвенного Ñ€ÐµÐ³ÑƒÐ»Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ Ñтраховой деÑтельноÑти},
+ author = {ÐаÑырова, Г. Ð.},
+ language = {russian},
+ note = {Режим доÑтупа: http://vestnik.fa.ru/4(28)2003/4.html},
+ number = {4},
+ year = {2003},
+ journal = {ВеÑтник ФинанÑовой академии},
+ media2 = {eresource},
+ media = {online},
+}
+
+@BOOK{kremlincd,
+ title = {МоÑковÑкий Кремль},
+ titleaddon = {трехмер. путеводитель},
+ language = {russian},
+ note = {CD-ROM},
+ date = {2007},
+ location = {М.},
+ publisher = {Ðовый ДиÑк},
+ media = {eresource},
+}
+@ARTICLE{PhysRevLett.101.085006,
+ author = {Kotelnikov, Igor and Rom\'e, Massimiliano},
+ volume = {101},
+ journal = {Phys. Rev. Lett.},
+ month = {Aug},
+ pagetotal = {4},
+ title = {Admissible Equilibria of Non-neutral Plasmas in a Malmberg-Penning Trap},
+ year = {2008},
+ doi = {10.1103/PhysRevLett.101.085006},
+ issue = {8},
+ publisher = {American Physical Society},
+ pages = {085006},
+}
+
+% url = {http://link.aps.org/doi/10.1103/PhysRevLett.101.085006},
+@ARTICLE{1998PhRvE..57.7111K,
+ author = {{Kinney}, R.~M. and {McWilliams}, J.~C.},
+ title = {{Turbulent cascades in anisotropic magnetohydrodynamics}},
+ journal = pre,
+ keywords = {Plasma turbulence, Magnetohydrodynamic and fluid equation},
+ year = {1998},
+ month = jun,
+ volume = {57},
+ pages = {7111-7121},
+ doi = {10.1103/PhysRevE.57.7111},
+ adsurl = {http://adsabs.harvard.edu/abs/1998PhRvE..57.7111K},
+ adsnote = {Provided by the SAO/NASA Astrophysics Data System},
+}
+
+@ARTICLE{1998UFN,
+ author = {Котельников, И. Ð. and ÐÑтрелин, Ð’. Т.},
+ title = {Ð¢ÐµÐ¾Ñ€Ð¸Ñ Ð¿Ð»Ð°Ð·Ð¼ÐµÐ½Ð½Ð¾Ð³Ð¾ Ñмиттера положительных ионов},
+ journal = ufn,
+ keywords = {плазменный Ñмиттер, критерий Бома},
+ year = {2015},
+ month = jul,
+ volume = {185},
+ pages = {753-771},
+ language = {russian},
+ doi = {10.3367/UFNr.0185.201507c.0753},
+ url = {http://ufn.ru/ru/articles/2015/7/c/},
+}
+@PATENT{patent1,
+ author = {Э. В. Тернер},
+ authorcountry = {СШÐ},
+ title = {ÐžÐ´Ð½Ð¾Ñ€Ð°Ð·Ð¾Ð²Ð°Ñ Ñ€Ð°ÐºÐµÑ‚Ð°-ноÑитель},
+ media = {text},
+ type = {заÑвка},
+ number = {1095735},
+ location = {РоÑ. ФедерациÑ},
+ ipc = {МПК\ensuremath{^7} B 64 G 1/00},
+ holder = {заÑвитель Ð¡Ð¿ÐµÐ¹Ñ Ð¡Ð¸Ñтемз/Лорал, инк.},
+ credits = {патент. поверенный Егорова Г. Б.},
+ requestnumber = {000108705/28},
+ requestdate = {07.04.2000},
+ publicationdate = {10.03.2001},
+ publication = {Бюл. № 7 (I ч.)},
+ prioritydate= {09.04.1999},
+ prioritynumber = {09/289, 037},
+ prioritycountry = {СШÐ},
+ pagetotal = {5 Ñ.~: ил.},
+ language = {russian},
+}
+
+@PATENT{patent2,
+ author = {В. И. Чугаева},
+ authorcountry = {РФ},
+ title = {Приемопередающее уÑтройÑтво},
+ media = {text},
+ type = {пат.},
+ number = {2000131736/09},
+ location = {РоÑ. ФедерациÑ},
+ ipc = {МПК\ensuremath{^7} H 04 В 1/38, Р04 J 13/00},
+ holder = {заÑвитель и патентообладатель Воронеж. науч.-иÑлед. ин-Ñ‚ ÑвÑзи.},
+ credits = {патент. поверенный Егорова Г. Б.},
+ requestnumber = {000108705/28},
+ date = {18.12.2000},
+ publicationdate = {20.08.2002},
+ publication = {Бюл. № 23 (II ч.)},
+ pagetotal = {2 Ñ.~: ил.},
+ language = {russian},
+}
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/make-examples-on-win-utf8.cmd b/biblio/bibtex/contrib/gost/doc/examples/utf8/make-examples-on-win-utf8.cmd
new file mode 100644
index 0000000000..817e4e3852
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/make-examples-on-win-utf8.cmd
@@ -0,0 +1,34 @@
+@echo ®¤£®â®¢ª  ä ©«®¢ ¯à¨¬¥à®¢
+@echo ==========================
+
+@echo ¥à¥¨¬¥­®¢ ­¨¥ ¯à¥¤ë¤ã饣® ®¡é¥£® ä ©« 
+
+rename .\bib\examples.bib examples.bak
+
+@echo Š®¯¨à®¢ ­¨¥ ¬ ááë ¬ «¥­ìª¨å ä ©«®¢ ¢ ®¤¨­ ¡®«ì让
+
+copy .\bib\ex*.bib .\bib\examples.bib
+
+@echo –¨ª«¨ç¥áª ï £¥­¥à æ¨ï ¯à¨¬¥à®¢
+
+for %%f in (ugost7*.tex) do pdflatex -quiet %%f
+for %%f in (ugost200*.tex) do pdflatex -quiet %%f
+
+@echo –¨ª«¨ç¥áª ï ®¡à ¡®âª  bibtex8 *.aux, ¡¥§ í⮣® 'ç㤠 ­¥ ¡ã¤¥â'
+
+for %%f in (ugost*.aux) do bibtex8 -B -c utf8cyrillic.csf %%f
+
+@echo –¨ª«¨ç¥áª ï £¥­¥à æ¨ï ¯à¨¬¥à®¢ (§ å®¤ ¯®á«¥ bibtex8)
+
+for %%f in (ugost7*.tex) do pdflatex %%f
+for %%f in (ugost200*.tex) do pdflatex %%f
+for %%f in (ugost2008-nat*.tex) do pdflatex %%f
+for %%f in (ugost2008-sort*.tex) do pdflatex %%f
+
+@echo —¨á⪠ ¯ ¯ª¨ ®â ­¥­ã¦­ëå ä ©«®¢
+
+@del *.aux *.out *.toc *.brf .pdf
+@del *.bbl
+@del *.blg
+@del *.log
+@echo =======
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost.tex b/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost.tex
new file mode 100644
index 0000000000..27482cbd26
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost.tex
@@ -0,0 +1,194 @@
+\documentclass[a4paper]{article}
+\usepackage[T2A]{fontenc}
+\usepackage[utf8]{inputenc}
+\usepackage[russian]{babel}
+\usepackage{bibunits,verbatim,geometry,ifpdf}
+
+%============================================================
+\makeatletter
+\RequirePackage{bibunits}
+\renewcommand{\@bibunitname}{\jobname-\the\@bibunitauxcnt}
+\newcounter{qnum}\newcounter{qnuma}\setcounter{qnum}{0}
+\def\@biblabel#1{#1.\hfill}
+%\endinput
+\renewenvironment{thebibliography}[1]
+ {\list{\@biblabel{\@arabic\c@enumiv}}%
+ {\settowidth\labelwidth{\@biblabel{99}}%
+ \leftmargin\labelwidth
+ \advance\leftmargin\labelsep
+% \advance\leftmargin\parindent
+ \setcounter{qnuma}{\c@enumiv}
+ \@openbib@code
+ \usecounter{enumiv}%
+ \let\p@enumiv\@empty
+ \setcounter{enumiv}{\theqnuma}
+ \renewcommand\theenumiv{\@arabic\c@enumiv}}%
+ \sloppy
+ \clubpenalty4000
+ \@clubpenalty \clubpenalty
+ \widowpenalty4000%
+ \sfcode`\.\@m}
+ {\def\@noitemerr
+ {\@latex@warning{Empty `thebibliography' environment}}%
+ \endlist}
+\makeatother
+%============================================================
+
+\ifpdf
+ \usepackage[pdftex,hyperindex,unicode]{hyperref}
+ \usepackage{cmap}
+\else
+ \usepackage[hypertex]{hyperref}
+\fi
+\usepackage{color}
+\definecolor{darkblue}{rgb}{0,0,.6}
+\hypersetup{
+ pdftitle = {\mytitle},
+ pdfauthor = {Igor A. Kotelnikov},
+ pdfsubject = {GOST, BibTeX},
+ pdfstartview = {FitH},
+% pdfborder = {0 0 0},
+% bookmarksopen = true,
+ bookmarksnumbered = true,
+% bookmarksopenlevel = 2,
+ colorlinks = true, linkcolor = darkblue,
+ citecolor = darkblue, filecolor = darkblue,
+ menucolor = darkblue, urlcolor = darkblue
+}
+
+
+\begin{document}
+
+\newcommand{\bibentry}[1]{
+\begin{bibunit}
+\nocite{*}
+\putbib[bib/#1]
+\nopagebreak
+\verbatiminput{bib/#1.bib}
+\end{bibunit}
+}
+
+%\title{\mytitle}
+%\maketitle
+%\begin{abstract}
+% \mydescription
+%\end{abstract}
+%
+\bibliographyunit[\section]
+\bibliographystyle{\mybibstyle}
+
+\section{Books}
+
+\subsection{One--three authors}
+\bibentry{ex01}
+\bibentry{ex02}
+\bibentry{ex03}
+
+\subsection{Four and more authors}
+\bibentry{ex04}
+\bibentry{ex05}
+
+\subsection{Collective author}
+\bibentry{ex06}
+
+\subsection{Compiler}
+\bibentry{ex06a}
+
+\subsection{Multiple-volume publications}
+\bibentry{ex07}
+\bibentry{ex08}
+\bibentry{ex09}
+
+\subsection{Translated}
+\bibentry{ex10}
+
+\subsection{Collections}
+\bibentry{ex12}
+
+\subsection{Dictionary}
+\bibentry{ex13}
+
+
+\section{Parts of \ldots}
+
+\subsection{Book}
+\bibentry{ex14}
+\bibentry{ex14a}
+
+\subsection{Collection}
+\bibentry{ex15}
+
+\subsection{Journal}
+\bibentry{ex16}
+\bibentry{ex17}
+\bibentry{ex17a}
+
+\subsection{Newspaper}
+\bibentry{ex17b}
+
+\subsection{Encyclopedia}
+\bibentry{ex18}
+
+\subsection{Proceedings}
+\bibentry{ex19}
+\bibentry{ex20}
+
+\subsubsection{With crossreference}
+\bibentry{ex20a}
+
+\subsubsection{With multiple languages}
+\bibentry{ex20b}
+
+
+\section{Others}
+
+\subsection{Standard}
+\bibentry{ex11}
+
+\subsection{Dissertation}
+\bibentry{ex21}
+\bibentry{ex21a}
+\bibentry{ex21b}
+Allowed built-in values of \verb|type| field in \verb|@THESIS| entry are \verb|mathesis| for masters thesis, \verb|phdthesis| for Ph.D. thesis, and \verb|docthesis| for doctor of sciences dissertation. Any other value of \verb|type| is reproduced literally.
+\bibentry{ex22}
+\bibentry{ex22a}
+
+\subsection{Preprint}
+\bibentry{ex23}
+
+\subsection{Report}
+\bibentry{ex24}
+\bibentry{ex24a}
+\bibentry{ex24b}
+
+\subsection{Catalog}
+\bibentry{ex25}
+
+\subsection{Instruction}
+\bibentry{ex26}
+
+\subsection{Patent}
+\bibentry{ex31}
+
+
+\section{Electronic resources}
+
+\subsection{Common Fields}
+\verb|Url|, \verb|eprint|, \verb|doi| and \verb|media| fields can be assigned to any entry. Allowed values of \verb|media| are \verb|online|, \verb|eresource| and \verb|text| (default).
+\bibentry{ex27c}
+\bibentry{ex28}
+\bibentry{ex28a}
+\bibentry{ex29}
+
+\subsection{Online Entry}
+\bibentry{ex27a}
+\bibentry{ex27b}
+
+\section{Use of macros}
+
+\texttt{jan}, \texttt{feb}, \texttt{mar},\ldots{} \texttt{dec} macros in \texttt{month} field
+are automatically translated to Russian or English if necessary. Other languages are not supported.
+\bibentry{ex30}
+
+
+\end{document} \ No newline at end of file
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2003.pdf b/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2003.pdf
new file mode 100644
index 0000000000..63575d6143
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2003.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2003.tex b/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2003.tex
new file mode 100644
index 0000000000..b8c34901b4
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2003.tex
@@ -0,0 +1,18 @@
+\edef\mybibstyle{ugost2003}
+\RequirePackage[utf8]{inputenc}
+\RequirePackage{cmap}
+\newcommand*{\mytitle}{The GOST bundle: \mybibstyle.bst}
+\newcommand{\mydescription}{
+ Example bibliographic description using the style \texttt{\mybibstyle.bst}.
+ No customization is applied.
+
+ Пример Ð¾Ñ„Ð¾Ñ€Ð¼Ð»ÐµÐ½Ð¸Ñ Ð±Ð¸Ð±Ð»Ð¸Ð¾Ð³Ñ€Ð°Ñ„Ð¸Ñ‡ÐµÑкого опиÑÐ°Ð½Ð¸Ñ Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ ÑÑ‚Ð¸Ð»Ñ \texttt{\mybibstyle.bst}.
+ Команды Ñ„Ð¾Ñ€Ð¼Ð°Ñ‚Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ Ð½Ðµ изменены.
+
+ This is style is intended for composing bibliographic catalogs and descriptions.
+
+ Данный Ñтиль предназначен Ð´Ð»Ñ ÑоÑÑ‚Ð°Ð²Ð»ÐµÐ½Ð¸Ñ Ð±Ð¸Ð±Ð»Ð¸Ð¾Ñ‚ÐµÑ‡Ð½Ñ‹Ñ… каталогов и опиÑаний.
+
+}
+\input ugost
+
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008-customized.pdf b/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008-customized.pdf
new file mode 100644
index 0000000000..e2787ae9a7
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008-customized.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008-customized.tex b/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008-customized.tex
new file mode 100644
index 0000000000..e56f03aa02
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008-customized.tex
@@ -0,0 +1,18 @@
+\edef\mybibstyle{ugost2008}
+\RequirePackage[utf8]{inputenc}
+\newcommand*{\mytitle}{The GOST bundle: customization}
+\newcommand{\mydescription}{
+ Example of a bibliography using the style \texttt{\mybibstyle.bst}.
+ Customization is applied.
+% \protect\verb|\providecommand*{\BibEmph}[1]{#1}|\\
+% \protect\verb|\providecommand*{\BibDash}{}|
+
+ Пример Ð¾Ñ„Ð¾Ñ€Ð¼Ð»ÐµÐ½Ð¸Ñ ÑпиÑка литературы Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ ÑтилÑ
+ \texttt{\mybibstyle.bst}.
+ Применены команды форматированиÑ.
+% \protect\verb|\providecommand*{\BibEmph}[1]{\#1}|\\
+% \protect\verb|\providecommand*{\BibDash}{}|
+}
+\providecommand*{\BibEmph}[1]{\textbf{#1}}
+\providecommand*{\BibDash}{}
+\input ugost
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008.pdf b/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008.pdf
new file mode 100644
index 0000000000..091c78e2b2
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008.tex b/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008.tex
new file mode 100644
index 0000000000..1044a71e75
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008.tex
@@ -0,0 +1,14 @@
+\edef\mybibstyle{ugost2008}
+\RequirePackage[utf8]{inputenc}
+\RequirePackage{cmap}
+\newcommand*{\mytitle}{The GOST bundle: \mybibstyle.bst}
+\newcommand{\mydescription}{
+ Example of a bibliography using the style \texttt{\mybibstyle.bst}.
+ No customization is applied.
+
+ Пример Ð¾Ñ„Ð¾Ñ€Ð¼Ð»ÐµÐ½Ð¸Ñ ÑпиÑка литературы Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ ÑтилÑ
+ \texttt{\mybibstyle.bst}.
+ Команды Ñ„Ð¾Ñ€Ð¼Ð°Ñ‚Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ Ð½Ðµ изменены.
+}
+\input ugost
+
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008l.pdf b/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008l.pdf
new file mode 100644
index 0000000000..de8bc07265
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008l.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008l.tex b/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008l.tex
new file mode 100644
index 0000000000..8d2fdda89f
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008l.tex
@@ -0,0 +1,18 @@
+\edef\mybibstyle{ugost2008l}
+\RequirePackage[utf8]{inputenc}
+\RequirePackage{cmap}
+\newcommand*{\mytitle}{The GOST bundle: \mybibstyle.bst}
+\newcommand{\mydescription}{
+ Example of a bibliography using the style \texttt{\mybibstyle.bst}.
+ No customization is applied.
+
+ Пример Ð¾Ñ„Ð¾Ñ€Ð¼Ð»ÐµÐ½Ð¸Ñ ÑпиÑка литературы Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ ÑтилÑ
+ \texttt{\mybibstyle.bst}.
+ Команды Ñ„Ð¾Ñ€Ð¼Ð°Ñ‚Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ Ð½Ðµ изменены.
+
+ Note: this style do not conform State Standard.
+
+ Внимание: данный не удовлетворÑет ГОСТу.
+}
+\input ugost
+
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008n.pdf b/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008n.pdf
new file mode 100644
index 0000000000..04e9ecefa6
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008n.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008n.tex b/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008n.tex
new file mode 100644
index 0000000000..b11a8624a9
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008n.tex
@@ -0,0 +1,122 @@
+% !Mode:: "TeX:UTF-8"
+\newcommand*{\mybibstyle}{ugost2008n}
+
+\RequirePackage[utf8]{inputenc}
+\RequirePackage{cmap}
+
+\newcommand*{\mytitle}{The GOST bundle: \mybibstyle.bst}
+\newcommand{\mydescription}{
+ Example of a bibliography using the style \texttt{\mybibstyle.bst}
+ and \texttt{natbib} package.
+ No customization is applied.
+
+ Пример Ð¾Ñ„Ð¾Ñ€Ð¼Ð»ÐµÐ½Ð¸Ñ ÑпиÑка литературы Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ ÑтилÑ
+ \texttt{\mybibstyle.bst} и пакета \texttt{natbib}.
+ Команды Ñ„Ð¾Ñ€Ð¼Ð°Ñ‚Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ Ð½Ðµ изменены.
+}
+
+\documentclass[a4paper]{article}
+\usepackage[utf8]{inputenc}
+\usepackage[T2A]{fontenc}
+\usepackage[ukrainian,russian]{babel}
+\usepackage{natbib}
+\usepackage{geometry,ifpdf}
+\ifpdf
+ \usepackage[pdftex,hyperindex,unicode]{hyperref}
+ \usepackage{cmap}
+\else
+ \usepackage[hypertex]{hyperref}
+\fi
+\usepackage{color}
+\definecolor{darkblue}{rgb}{0,0,.6}
+\hypersetup{
+ pdftitle = {\mytitle},
+ pdfauthor = {Igor A. Kotelnikov},
+ pdfsubject = {GOST, BibTeX},
+ pdfstartview = {FitH},
+% pdfborder = {0 0 0},
+% bookmarksopen = true,
+ bookmarksnumbered = true,
+% bookmarksopenlevel = 2,
+ colorlinks = true, linkcolor = darkblue,
+ citecolor = darkblue, filecolor = darkblue,
+ menucolor = darkblue, urlcolor = darkblue
+}
+
+\makeatletter
+\renewcommand{\@biblabel}[1]{#1.}
+\makeatother
+
+\begin{document}
+
+\title{\mytitle}
+\maketitle
+\begin{abstract}
+ \mydescription
+\end{abstract}
+
+%\verb|\cite{*}| \cite{*}
+%
+%\verb|\citep{*}| \citep{*}
+%
+%\verb|\citet{*}| \citet{*}
+
+\newcommand{\allrefs}{Vasylenko92,
+Afanasyev92,
+Makilov91,
+Ponomarenko86,
+Belousova81,
+BibOp91,
+Poems82,
+HistLit82,
+Landau:eldin,
+BRLS94,
+Grosse80,
+GOST7184,
+ObchTech93,
+Bibdelo86,
+Ponomarenko79,
+Zeyts70,
+Ponoomarenko76,
+Malikov92,
+Ponomarenko86a,
+dixit.pindyck:options,
+RosGaz-article,
+Dolmatovskiy88,
+Ponomarenko88,
+Melikov95, Selikov95, Selikov+95,
+Gojchuk98,
+Polyakov98a,
+TranskSpivrob99:Purich,
+Luus82,
+KIA95-default,
+KIA85-autoref,
+Ponomarenko76,
+Report81-rep,
+Report81b-rep-notype,
+Report81-techrep,
+CatalogMamals81,
+Instr86,
+wiki:latex,
+wiki:latex-2,
+phys:moodle,
+EXFOR,
+IsaacNewton,
+IsaacNewton-sl:sn,
+PhysRevLett.101.085006}
+
+
+\verb|\citep|\par \citep{\allrefs}
+
+\verb|\citep*|\par \citep{\allrefs}
+
+\verb|\citeauthor|\par \citeauthor{\allrefs}
+
+\verb|\citeauthor*|\par \citeauthor*{\allrefs}
+
+\bibliographystyle{\mybibstyle}
+\bibliography{bib/examples}
+
+\end{document}
+
+
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008ns.pdf b/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008ns.pdf
new file mode 100644
index 0000000000..47eb226140
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008ns.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008ns.tex b/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008ns.tex
new file mode 100644
index 0000000000..7956c2146f
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008ns.tex
@@ -0,0 +1,123 @@
+% !Mode:: "TeX:UTF-8"
+\newcommand*{\mybibstyle}{ugost2008ns}
+
+\RequirePackage[utf8]{inputenc}
+\RequirePackage{cmap}
+
+\newcommand*{\mytitle}{The GOST bundle: \mybibstyle.bst}
+\newcommand{\mydescription}{
+ Example of a bibliography using the style \texttt{\mybibstyle.bst}
+ and \texttt{natbib} package.
+ No customization is applied.
+
+ Пример Ð¾Ñ„Ð¾Ñ€Ð¼Ð»ÐµÐ½Ð¸Ñ ÑпиÑка литературы Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ ÑтилÑ
+ \texttt{\mybibstyle.bst} и пакета \texttt{natbib}.
+ Команды Ñ„Ð¾Ñ€Ð¼Ð°Ñ‚Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ Ð½Ðµ изменены.
+}
+
+\documentclass[a4paper]{article}
+\usepackage[utf8]{inputenc}
+\usepackage[T2A]{fontenc}
+\usepackage[ukrainian,russian]{babel}
+\usepackage{natbib}
+\usepackage{geometry,ifpdf}
+\ifpdf
+ \usepackage[pdftex,hyperindex,unicode]{hyperref}
+ \usepackage{cmap}
+\else
+ \usepackage[hypertex]{hyperref}
+\fi
+\usepackage{color}
+\definecolor{darkblue}{rgb}{0,0,.6}
+\hypersetup{
+ pdftitle = {\mytitle},
+ pdfauthor = {Igor A. Kotelnikov},
+ pdfsubject = {GOST, BibTeX},
+ pdfstartview = {FitH},
+% pdfborder = {0 0 0},
+% bookmarksopen = true,
+ bookmarksnumbered = true,
+% bookmarksopenlevel = 2,
+ colorlinks = true, linkcolor = darkblue,
+ citecolor = darkblue, filecolor = darkblue,
+ menucolor = darkblue, urlcolor = darkblue
+}
+
+\makeatletter
+\renewcommand{\@biblabel}[1]{#1.}
+\makeatother
+
+\begin{document}
+
+\title{\mytitle}
+\maketitle
+\begin{abstract}
+ \mydescription
+\end{abstract}
+
+%\verb|\cite{*}| \cite{*}
+%
+%\verb|\citep{*}| \citep{*}
+%
+%\verb|\citet{*}| \citet{*}
+
+\newcommand{\allrefs}{Vasylenko92,
+Afanasyev92,
+Makilov91,
+Ponomarenko86,
+Belousova81,
+BibOp91,
+Poems82,
+HistLit82,
+Landau:eldin,
+BRLS94,
+Grosse80,
+GOST7184,
+ObchTech93,
+Bibdelo86,
+Ponomarenko79,
+Zeyts70,
+Ponoomarenko76,
+Malikov92,
+Ponomarenko86a,
+dixit.pindyck:options,
+RosGaz-article,
+Dolmatovskiy88,
+Ponomarenko88,
+Melikov95, Selikov95, Selikov+95,
+Gojchuk98,
+Polyakov98a,
+TranskSpivrob99:Purich,
+Luus82,
+KIA95-default,
+KIA85-autoref,
+Ponomarenko76,
+Report81-rep,
+Report81b-rep-notype,
+Report81-techrep,
+CatalogMamals81,
+Instr86,
+wiki:latex,
+wiki:latex-2,
+phys:moodle,
+EXFOR,
+IsaacNewton,
+IsaacNewton-sl:sn,
+PhysRevLett.101.085006}
+
+
+\verb|\citep|\par \citep{\allrefs}
+
+\verb|\citep*|\par \citep{\allrefs}
+
+\verb|\citeauthor|\par \citeauthor{\allrefs}
+
+\verb|\citeauthor*|\par \citeauthor*{\allrefs}
+
+
+\bibliographystyle{\mybibstyle}
+\bibliography{bib/examples}
+
+\end{document}
+
+
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008s.pdf b/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008s.pdf
new file mode 100644
index 0000000000..739a5db4f6
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008s.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008s.tex b/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008s.tex
new file mode 100644
index 0000000000..827e8ccd03
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/examples/utf8/ugost2008s.tex
@@ -0,0 +1,106 @@
+% !Mode:: "TeX:UTF-8"
+\newcommand*{\mybibstyle}{ugost2008s}
+
+\RequirePackage[utf8]{inputenc}
+
+\newcommand*{\mytitle}{The GOST bundle: \mybibstyle.bst}
+\newcommand{\mydescription}{
+ Example of a bibliography using the style \texttt{\mybibstyle.bst}.
+ No customization is applied.
+
+ Пример Ð¾Ñ„Ð¾Ñ€Ð¼Ð»ÐµÐ½Ð¸Ñ ÑпиÑка литературы Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ ÑтилÑ
+ \texttt{\mybibstyle.bst}.
+ Команды Ñ„Ð¾Ñ€Ð¼Ð°Ñ‚Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ Ð½Ðµ изменены.
+}
+
+\documentclass[a4paper]{article}
+\usepackage[utf8]{inputenc}
+\usepackage[T2A]{fontenc}
+\usepackage[ukrainian,russian]{babel}
+%\usepackage{natbib}
+\usepackage{geometry,ifpdf}
+\ifpdf
+ \usepackage[pdftex,hyperindex,unicode]{hyperref}
+ \usepackage{cmap}
+\else
+ \usepackage[hypertex]{hyperref}
+\fi
+\usepackage{color}
+\definecolor{darkblue}{rgb}{0,0,.6}
+\hypersetup{
+ pdftitle = {\mytitle},
+ pdfauthor = {Igor A. Kotelnikov},
+ pdfsubject = {GOST, BibTeX},
+ pdfstartview = {FitH},
+% pdfborder = {0 0 0},
+% bookmarksopen = true,
+ bookmarksnumbered = true,
+% bookmarksopenlevel = 2,
+ colorlinks = true, linkcolor = darkblue,
+ citecolor = darkblue, filecolor = darkblue,
+ menucolor = darkblue, urlcolor = darkblue
+}
+
+\makeatletter
+\renewcommand{\@biblabel}[1]{#1.}
+\makeatother
+
+\begin{document}
+
+\title{\mytitle}
+\maketitle
+\begin{abstract}
+ \mydescription
+\end{abstract}
+
+\newcommand{\allrefs}{Vasylenko92,
+Afanasyev92,
+Makilov91,
+Ponomarenko86,
+Belousova81,
+BibOp91,
+Poems82,
+HistLit82,
+Landau:eldin,
+BRLS94,
+Grosse80,
+GOST7184,
+ObchTech93,
+Bibdelo86,
+Ponomarenko79,
+Zeyts70,
+Ponoomarenko76,
+Malikov92,
+Ponomarenko86a,
+dixit.pindyck:options,
+RosGaz-article,
+Dolmatovskiy88,
+Ponomarenko88,
+Melikov95,
+Gojchuk98,
+Polyakov98a,
+TranskSpivrob99:Purich,
+Luus82,
+KIA95-default,
+KIA85-autoref,
+Ponomarenko76,
+Report81-rep,
+Report81b-rep-notype,
+Report81-techrep,
+CatalogMamals81,
+Instr86,
+wiki:latex,
+wiki:latex-2,
+phys:moodle,
+EXFOR,
+IsaacNewton,
+IsaacNewton-sl:sn,
+PhysRevLett.101.085006}
+
+\nocite{*}
+\cite{\allrefs}
+
+\bibliographystyle{\mybibstyle}
+\bibliography{bib/examples}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/gost/doc/gost.pdf b/biblio/bibtex/contrib/gost/doc/gost.pdf
new file mode 100644
index 0000000000..296cadade9
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/doc/gost.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/gost/source/gost.dtx b/biblio/bibtex/contrib/gost/source/gost.dtx
new file mode 100644
index 0000000000..ba678e3abd
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/source/gost.dtx
@@ -0,0 +1,5097 @@
+% \iffalse
+% !Mode:: "DTX:UNIX:UTF-8"
+%
+% This is the source file for the GOST package
+% to be used with BibTeX8.
+% It contains set of bibliographic style that
+% attempt to format the bibliography according to
+% GOST R 7.0.5-2008 with some conventional modifications.
+%
+% Copyright 2012-2017 Igor A. Kotelnikov.
+% Version 1.2i
+%
+% Copyright 1996-2005 Maksym Polyakov.
+% Version 2005.08.12
+%
+% For a bibliographic entry in Russian you need
+% to add the field
+% language = {russian}.
+% Ukrainian, German, French, Italian languages are
+% also partially supported. Default language is English.
+%
+% Book entry should have the pagetotal field
+% showing total number of pages. Optional field
+% url will format URL (using hyperref, if loaded).
+%
+% See examples in gost*.pdf.
+%
+% Requires 8-bit bibtex with switch -B and csf file supporting cyrillic.
+% bibtex8 -B -c <encoding>.csf <your_document>
+%
+%
+% Download from
+% CTAN:macros/latex/contrib/gost/gost.dtx
+%
+% To unpack run
+% latex gost.ins
+%
+% To produce the documentation run
+% pdflatex gost.dtx
+% makeindex -r -s gind.ist gost
+% makeindex -r -s gglo.ist -o gost.gls gost.glo
+% pdflatex gost.dtx
+% pdflatex gost.dtx
+%
+% TeX Directory Structure
+%
+% Move all *.bst files to TDS:bibtex/bst/gost
+% Move all *.csf files to TDS:bibtex/csf/gost
+% Move all *.pdf files to TDS:doc/bibtex/gost
+% Move gost.dtx and gost.ins to TDS:source/bibtex/gost/
+%
+% $Id: gost.dtx, v.2017/01/12 kia999 $
+%
+%<*driver>
+\ProvidesFile{gost.dtx}%
+ [2017/01/12 v.1.2i Bibliography styles for GOST R 7.0.5-2008.]
+
+\documentclass{ltxdoc}
+
+\usepackage{geometry}
+\usepackage{makeidx}
+\ifpdf
+ \usepackage[pdftex,hyperindex,unicode]{hyperref}
+ \usepackage{cmap}
+\else
+ %\usepackage[hypertex]{hyperref}
+ \usepackage{hyperref}
+\fi
+\usepackage{color}
+\definecolor{darkblue}{rgb}{0,0,.6}
+\hypersetup{
+ pdftitle = {The GOST package},
+ pdfauthor = {Igor A. Kotelnikov},
+ pdfsubject = {BibTeX, GOST},
+ pdfstartview = {FitH},
+% pdfborder = {0 0 0},
+% bookmarksopen = true,
+ bookmarksnumbered = true,
+% bookmarksopenlevel = 2,
+ colorlinks = true, linkcolor = darkblue,
+ citecolor = darkblue, filecolor = darkblue,
+ menucolor = darkblue, urlcolor = darkblue
+}
+
+
+\usepackage[utf8]{inputenc}
+\usepackage[T2A]{fontenc}
+\usepackage[russian,english]{babel}
+
+\MakeShortVerb{\|}
+
+\def\file#1{\texttt{#1}}
+\def\pkg#1{\textsf{#1}}
+\def\cmd#1{\texttt{#1}}
+
+\newcommand\DescribeEntry[1]{%
+ \DescribeMacro{#1}\index{Entry!\texttt{#1}}%
+}
+\newcommand\DescribeFunction[1]{%
+ \DescribeMacro{#1}\index{\texttt{#1}}%
+}
+\newcommand\DescribeField[1]{%
+ \DescribeMacro{#1}\index{Field!\texttt{#1}}%
+}
+
+
+\GetFileInfo{gost.dtx}
+\EnableCrossrefs
+%\DisableCrossrefs % Say \DisableCrossrefs if index is ready
+\RecordChanges % Gather update information
+\CodelineIndex % Index code by line number
+%\PageIndex % Index code by page number
+
+\title{The GOST package}
+
+\author{
+ Igor A. Kotelnikov\thanks{\texttt{kia999@mail.ru}}
+}
+
+\date{\filedate, \fileversion}
+
+\makeindex
+
+\begin{document}
+ \maketitle
+ \DocInput{gost.dtx}
+\end{document}
+%</driver>
+% \fi
+%
+% \CheckSum{592}
+%
+% \DoNotIndex{\cyra,\cyrb,\cyrv,\cyrg,\cyrd,\cyre}
+% \DoNotIndex{\CYRP,\cyrii,\cyrr,\cyre,\cyro,\CYRU,\cyrk,\cyrl,\CYRS,\cyrs|}
+% \DoNotIndex{\cyrt,\cyri,\cyrz,\CYRT,\cyrm}
+% \DoNotIndex{\cyr,\cyrc,\CYRD,\cyrery,\cyrh,\CYRK,\CYRM,\CYRN,\cyrn}
+% \DoNotIndex{\cyrp,\cyrs,\cyrshch,\cyru,\CYRV,\cyrya}
+% \DoNotIndex{\CYRA,\CYRB,\cyrch,\CYRE,\CYREREV,\CYRF,\cyrf,\CYRI,\cyrishrt}
+% \DoNotIndex{\CYRO,\CYRR,\cyrsftsn,\CYRYA,\cyryu,\cyrzh}
+% \DoNotIndex{\z@skip,\z@}
+% \DoNotIndex{\|,\~,\ }
+% \DoNotIndex{\\&,\',\(,\),\`,\\,\/,\.}
+% \DoNotIndex{\begin,\DeclareUTFcharacter}
+% \DoNotIndex{\csname,\def}
+% \DoNotIndex{\else,\endcsname,\end}
+% \DoNotIndex{\expandafter,\fi}
+% \DoNotIndex{\hbox,\hss}
+% \DoNotIndex{\iffalse,\ifx,\ignorespaces,\iflanguage}
+% \DoNotIndex{\language,\lastskip,\ldots,\let,\natexlab,\newblock,\nobreak}
+% \DoNotIndex{\providecommand,\ProvideTextCommandDefault,\relax,\renewcommand}
+% \DoNotIndex{\selectlanguage,\selectlanguageifdefined,\small,\textemdash}
+% \DoNotIndex{\textnumero,\unskip,\url,\UTFencname}
+% \DoNotIndex{\,,\catcode,\cite,\citeauthor,\citet,\citeyear,\href,\hskip,\ifdim}
+%
+% \begin{abstract}
+%
+% GOST is a bundle of BibTeX styles designed to meet State Standards (GOST)
+% on information, librarianship and publishing issued by The Russian Federation
+% and Interstate Committee of former USSR States.
+%
+% It comprises 16 BibTeX styles to format bibliography in English, Russian
+% and Ukrainian according to GOST 7.0.5-2008 and GOST 7.1-2003. Both 8-bit
+% and Unicode (UTF-8) versions of each BibTeX style, in each case offering
+% a choice of sorted and unsorted. Further, 2 more styles, |gost780| and
+% |gost780s| styles (not conforming to effective standards) are retained
+% for backwards compatibility.
+%
+% \end{abstract}
+%
+% \section{Introduction}
+% The package was initially developed by Maksym Polyakov. It was later
+% updated by Igor Kotelnikov to the present status and some code was borrowed
+% from \pkg{disser} package developed by Stanislav Kruchinin and unpublished
+% work by Artem Petrenkov.
+%
+% Nowdays, GOST is a bundle of BibTeX styles designed to meet State Standards
+% (GOST) on information, librarianship and publishing issued by
+% Russian Federation and interstate committee of former USSR States.
+%
+% The System of Standards includes:
+% \begin{description}
+% \item[GOST 7.0.5-2008]
+% Bibliographic reference.
+% General requirements and rules of making.
+% \item[GOST 7.1 -2003]
+% Bibliographic record.
+% Bibliographic description.
+% General requirements and rules.
+% \item[GOST 7.80 -2000]
+% Bibliographic record.
+% Heading. General requirements and rules.
+% \item[GOST 7.11 -2004]
+% Bibliographic description and references.
+% Rules for the abbreviation of words and word combinations
+% in foreign European languages.
+% \item[GOST 7.83 -2001]
+% Electronic editions. Basic types and imprint.
+% \end{description}
+% ect.
+%
+% Currently, GOST contains 16 BibTeX styles to format bibliography in English,
+% Russian and Ukrainian according to GOST 7.0.5-2008 and GOST 7.1-2003. Both
+% 8-bit and Unicode (UTF-8) versions of each BibTeX style, in each case
+% offering a choice of sorted and unsorted. Further, 2 styles, |gost780| and
+% |gost780s| styles (which do not conform to effective standards) are retained
+% for backwards compatibility.
+%
+% All styles in the GOST bundle are derived from single master file
+% \file{gost.dtx} by applying different set of options as shown in the table
+% below.
+%
+% \begin{verbatim}
+%------------------------------------------------------------------------
+% Style | utf8 | strict | modern | eprint | long | sort | natbib
+%------------------------------------------------------------------------
+% gost780 | | | | | | |
+% gost780s | | | | | | + |
+%------------------------------------------------------------------------
+% gost2003 | | + | | + | | |
+% gost2003s | | + | | + | | + |
+% gost2008 | | | + | + | | |
+% gost2008n | | | + | + | | | +
+% gost2008l | | | + | + | + | |
+% gost2008s | | | + | + | | + |
+% gost2008ns | | | + | + | | + | +
+% gost2008ls | | | + | + | + | + |
+%------------------------------------------------------------------------
+% ugost2003 | + | + | | + | | |
+% ugost2003s | + | + | | + | | + |
+% ugost2008 | + | | + | + | | |
+% ugost2008n | + | | + | + | | | +
+% ugost2008l | + | | + | + | + | |
+% ugost2008s | + | | + | + | | + |
+% ugost2008ns | + | | + | + | | + | +
+% ugost2008ls | + | | + | + | + | + |
+%------------------------------------------------------------------------
+% Style | utf8 | strict | modern | eprint | long | sort | natbib
+%------------------------------------------------------------------------
+% \end{verbatim}
+%
+% |Gost2008| style is recommended for most applications. It corresponds to the
+% currently effective Standard 7.0.5-2008. Librarians should use the style
+% |gost2003| instead of |gost2008| to compile a library catalog to meet the
+% Standard 7.1-2003. Use of other styles is best explained through
+% the meaning of options used to compile those styles from the master source.
+%
+% Two styles, |gost780| and |gost780s|, compiled without |modern| and |strict|
+% options, are retained for backward compatibility. They do not conform
+% the Standards 7.0.5-2008 and 7.1-2003 cited above.
+%
+% The |strict| option provides conformance to the Standard 7.1-2003. The
+% styles compiled with that option bear the name |gost2003| with possible
+% suffixes |s|, |l|, |n| as explained below. These styles are intended
+% primarily for the librarians who compose a library catalog.
+%
+% The |modern| option meets the Standard 7.0.5-2008 which can be thought
+% off as a relaxed version of the Standards 7.1-2003. The styles compiled with
+% that option bear the name |gost2008| with possible suffixes |s|, |l|, |n|.
+% The |strict| option has precedence over |modern| so that a style compiled
+% with both options will resemble mainly the |gost2003| style rather than
+% |gost2008|.
+%
+% If the number of authors exceeds 4, modern styles cut the list of authors
+% to at most 4 persons as prescibed by the Standards. Option
+% |long| overrides this rule to provide backward compatibility with the
+% package disser by Stanislab Kruchinin. Two styles, |gost2008l| and
+% |gost2008ls|, compiled with the option |long| mimic behavior of the styles
+% |gost705| and |gost705s| from the disser package. Major
+% effect of the |long| option is that the list of authors always
+% precedes book or article title no matter how long is it.
+% Modern styles compiled without |long| place long list of authors behind
+% the title. The names of styles compiled with the option |long| has the
+% suffix |l|. Recall that those styles do not conform effective Standards and
+% their use is discouraged.
+%
+% The |eprint| option enables formatting electronic publications. In particular,
+% it enables |eprint|, |eprinttype|, |eprintclass|, and |doi| fields for a
+% bibliographic entry. The styles generated without the |eprint| option,
+% ignore the these fields. Starting from the
+% version 1.2 of the GOST package, all modern styles are compiled with this
+% option included, and the suffix |e| which designated
+% this option in earlier versions is not appended to the name of style
+% any more.
+%
+% The |natbib| option provides compatibility with the |natbib| package. The names
+% of styles compiled with the option |natbib| bear the suffix |n|. Currently
+% 4 styles with that option are available for beta testing.
+%
+% The |sort| option enables sorting bibliographic references by author names
+% and references titles. The names of styles compiled with the option |sort|
+% bear the suffix |s|.
+%
+% Finally, the |utf8| option produces bibliographic styles in unicode rather
+% that in 8-bit encoding. Names of those styles bear the prefix |u|.
+%
+%
+% Beyond bibliographic style, GOST bundle contains CS files (codepage and
+% sorting order).
+% \begin{verbatim}
+% ----------------------------------------------------------------
+% Encoding | CSF Sorting order
+% ----------------------------------------------------------------
+% cp866 | ruscii.csf Cyrillic first, Latin
+% cp1251 | cp1251.csf Cyrillic first, Latin
+% koi8-u | koi8u.csf Cyrillic first, Latin
+% utf8 | utf8cyrillic.csf Cyrillic first, Latin
+% ----------------------------------------------------------------
+% \end{verbatim}
+%
+% In addition, BibTeX8 distribution comes with few more CSFs.
+% \begin{verbatim}
+% ----------------------------------------------------------------
+% Encoding | CSF Sorting order
+% ----------------------------------------------------------------
+% cp866 | cp866rus.csf Latin first, Cyrillic
+% ----------------------------------------------------------------
+% \end{verbatim}
+%
+% \subsection{How to use}
+%
+% \begin{enumerate}
+% \item
+% Select bibliography style by adding appropriate |\bibliographystyle|
+% declaration to your source file \file{<filename>.tex}, e.g.
+% \begin{verbatim}
+% \bibliographystyle{gost2008}
+% \bibliography{database}
+% \end{verbatim}
+%
+% \item
+% Add the field |language="ukrainian"| or |language="russian"| to the
+% bibliographic entries in Ukrainian or Russian languages in your
+% database; English is the default language. German, Italian and
+% French are partially supported.
+%
+% \item
+% To compile list of references from your database use \file{bibtex8.exe}
+% rather than \file{bibtex.exe}. Depending on the codepage of your
+% bibliographic database, indicate one of the CS files
+% listed above as option to \file{bibtex8.exe}. Run LaTeX, then run
+% \file{bibTeX8} and LaTeX again:
+% \begin{verbatim}
+% latex <filename>.tex
+% bibtex8 -B -c <csf_file>.csf <filename>.aux
+% latex <filename>.tex
+% \end{verbatim}
+
+% \item
+% For details on preparing bibliographic database see examples in
+% \file{gost*.pdf}.
+
+% \item
+% \file{ugost*} styles are primarily intended for use
+% with unicode compilers (\file{xelatex} and \file{lualatex}). They
+% should be preferred as well when using 8bit compilers
+% (\file{latex} and \file{pdflatex}) if source file is in utf8 encoding.
+%
+% \item
+% Neither \file{bibtex.exe} nor \file{bibtex8.exe} provides
+% correct sorting order of unicode text. It means that using
+% \file{ugost2008s} or \file{ugost2008ns} may produce unexpected result
+% for documents in \texttt{utf8} encoding.
+%
+% \item
+% \file{Bibtex8} fails to change case of a string if it contains Cyrillic
+% letter in unicode. Therefore \file{ugost2008*} styles do not change case of
+% titles and other parts of bibliographic record while 8-bit styles
+% do the case change where appropriate.
+%
+% \item
+% Either \file{bibtex8} or \file{Bibtex8} fail to cut Cyrillic names to
+% initials. Therefore \file{ugost2008*} styles do not modify name of
+% authors.
+%
+% \item
+% Package |natbib| is required when choosing styles with
+% suffix |n| in their names.
+%
+% \end{enumerate}
+%
+%
+% \subsection{Customization}
+%
+% Every GOST style defines few commands to format some parts of a
+% reference. You can redefine these commands prior to
+% the |\bibliography{<bibtex_style>}| command. Initial
+% definitions are listed below.
+% \begin{verbatim}
+% \providecommand*{\url}[1]{{\small #1}}
+% \providecommand*{\BibUrl}[1]{\url{#1}}
+% \providecommand{\BibAnnote}[1]{}
+% \providecommand*{\BibEmph}[1]{#1}
+% \end{verbatim}
+%
+% By default, gost styles separate logical parts of a bibliography
+% record by a period and cyrdash (|. "---|). It is legitimate to drop
+% that dash by overriding the command |\BibDash| as follows
+%
+% \begin{verbatim}
+% \providecommand*{\BibDash}{}
+% \end{verbatim}
+%
+% By default, |\BibDash| is equivalent to the shorthand |"---|
+% defined by the babel package with the option |russian|.
+% It prints a so called Cyrillic dash (|\cyrdash|),
+% which is 20\% shorter then ordinary LaTeX dash (|---|), and puts
+% unbreakable space before |\cyrdash| so that dash never appears
+% in the beginning of a line.
+%
+% \subsection{Where to get}
+%
+% \begin{enumerate}
+% \item
+% \href{http://mirror.ctan.org/biblio/bibtex/contrib/gost/}
+% {CTAN:biblio/bibtex/contrib/gost}.
+% \item
+% \href{http://ctan.org/pkg/gost}
+% {CTAN:pkg/gost}.
+% \end{enumerate}
+%
+%
+% \subsection{Version history}
+%
+% \subsubsection*{Version 1.2i (2017.01.12)}
+%
+% \begin{enumerate}
+% \item
+% Documentation and examples update (thanks to Leonid Sinev).
+%
+% \item
+% Restored |@MastersThesis| instead of |@MasterThesis| (thanks to Leonid Sinev).
+%
+% \item
+% |media="eresource"| is introduced in addition to |media="online"| and
+% |media="text"|; if present, the |media| field is not ignored any more in
+% modern bst-styles compiled without the |strict| option.
+%
+% \item
+% |location| field is introduced as an alias of |address| field.
+%
+% \item
+% |@DSCISTHESIS| entry renamed to |@DOCTHESIS|.
+%
+% \item
+% |school| field in |@THESIS| and similar entries is replaced by
+% |institution| to comply with |biblatex-gost| style.
+%
+% \end{enumerate}
+%
+%
+% \subsubsection*{Version 1.2h (2016.08.21)}
+%
+% \begin{enumerate}
+% \item
+% Minor changes in documentation.
+%
+% \end{enumerate}
+%
+%
+% \subsubsection*{Version 1.2g (2016.07.25)}
+%
+% \begin{enumerate}
+% \item
+% Minor changes in documentation.
+%
+% \end{enumerate}
+%
+%
+% \subsubsection*{Version 1.2f (2016.07.12)}
+%
+% \begin{enumerate}
+% \item
+% Support for patent entry added (thanks to Stanislav Kruchinin).
+%
+% \item
+% |medium| field renamed to |media| field for compatibility with biblatex.
+
+% \end{enumerate}
+%
+% \subsubsection*{Version 1.2e (2016.07.07)}
+%
+% \begin{enumerate}
+% \item
+% Hard coded "URL" string replaced with a language sensitive string
+% (thanks to Roman Budnyi).
+%
+% \end{enumerate}
+%
+% \subsubsection*{Version 1.2d (2015.02.18)}
+%
+% \begin{enumerate}
+% \item
+% jan, feb, etc. macros fixed.
+%
+% \item
+% New macro format.month.
+% \end{enumerate}
+%
+% \subsubsection*{Version 1.2c (2015.01.10)}
+%
+% \begin{enumerate}
+% \item
+% |langid| field is added. It has same meaning as |language| which is now
+% obsolete but is still supported for backward compatibility; |langid| has
+% priority over |language|.
+%
+% \item
+% |eid| field is added. It has priority over |pages|.
+%
+% \item
+% The ligature |"---| has been substituted with |\BibDash| for \texttt{.bst}
+% styles compiled without |modern| options (\texttt{gost2003.bst} and
+% \texttt{gost2003s.bst}). For modern styles this was done in earlier versions.
+%
+% \item
+% Spacing around |\BibDash| has been improved.
+%
+% \item
+% |\BibDash| now typesets short em-dash (|\cyrdash|) only for |russian| and
+% |ukrainian| languages. In earlier versions, it produces short em-dash for
+% all languages.
+%
+% (This feature was removed since it did not work with all engines.)
+%
+% \end{enumerate}
+%
+% \subsubsection*{Version 1.2a (2012.08.31)}
+%
+% \begin{enumerate}
+%
+% \item
+% |\cyrdash| is now defined via |\ProvideTextCommand| rather than
+% |\providecommand|.
+%
+% \end{enumerate}
+%
+% \subsubsection*{Version 1.2 (2012.02.22)}
+%
+% \begin{enumerate}
+% \item
+% Code refactoring. All styles are now generated from single source file.
+%
+% \item
+% Support for GOST 7.1-2003. The field |medium| is added to reflect type
+% of material. For most entry types |medium| defaults to |text|.
+%
+% \item
+% Support for |natbib| package.
+%
+% \item
+% All modern styles are now compiled with the |eprint| option.
+%
+% \end{enumerate}
+%
+%
+% \subsubsection*{Version 1.1 (2012.01.21)}
+%
+% \begin{enumerate}
+% \item
+% Support for GOST 7.0.5-2008 and GOST 7.1-2003 is provided.
+%
+% \item
+% |@Online| entry is added to format a reference to electronic
+% resource on Internet.
+%
+% \item
+% |@MastersThesis| entry is added to format a reference to master's thesis.
+%
+% \item
+% |@DSciThesis| entry is added to format a reference to doctor of
+% sciences thesis.
+%
+% \item
+% |Urldate|, |eprint|, |eprintclass|, |eprinttype| fields are added.
+%
+% \end{enumerate}
+%
+% \subsubsection{Older versions}
+%
+% \begin{enumerate}
+% \item[2012.02.22] Support for |natbib| package.
+% \item[2012.02.02] Adaptation to GOST 7.0.5, electronic publishing.
+% \item[2005.08.12] First version uploaded to CTAN.
+% \item[2003.06.06] First public version.
+% \end{enumerate}
+%
+% \StopEventually{
+% \IndexPrologue{\section{Index}
+% Numbers written in dark blue refer to the page where the corresponding
+% entry is described; numbers in black roman refer to the code lines where
+% the entry is used.
+% }
+% \GlossaryPrologue{\section{Change History}}
+% \PrintChanges
+% \PrintIndex
+% }
+%
+% \section{Implementation}
+%
+% We need Russian fonts to produce documentation of the code below.
+% Therefore we switch current language to Russian by issuing the command
+% |\selectlanguage{russian}|.
+%
+% \selectlanguage{russian}
+%
+% \begin{macrocode}
+%<*bst>
+%%
+%% This bibstyle attempts to format bibliography according to
+%<!modern>%% GOST 7.1-2003 for bibliographic records.
+%<modern>%% GOST 7.0.5-2008 for bibliographic reference.
+%<*natbib>%%
+%%-------------------------------------------------------------------
+%% This is an author-year citation style bibliography.
+%% It requires a special package file to function properly
+%% such as natbib.sty by Patrick W. Daly.
+%% The form of the \bibitem entries is
+%% \bibitem[Jones et al.(1990)]{key}...
+%% \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
+%% where the label part (in brackets) consists of the author names,
+%% as they should appear in the citation, with the year in parentheses following.
+%% There must be no space before the opening parenthesis!
+%% A full list of authors may also follow the year.
+%% In natbib.sty, it is possible to define the type of enclosures that is
+%% really wanted (brackets or parentheses), but in either case, there must
+%% be parentheses in the label.
+%% The \cite command functions as follows:
+%% \citet{key} => Jones et al. (1990)
+%% \citet*{key} => Jones, Baker, and Smith (1990)
+%% \cite{key} => (Jones et al., 1990)
+%% \cite*{key} => (Jones, Baker, and Smith, 1990)
+%% \cite[chap. 2]{key} => (Jones et al., 1990, chap. 2)
+%% \cite[e.g.][]{key} => (e.g. Jones et al., 1990)
+%% \cite[e.g.][p. 32]{key} => (e.g. Jones et al., p. 32)
+%% \citeauthor{key} => Jones et al.
+%% \citeauthor*{key} => Jones, Baker, and Smith
+%% \citeyear{key} => 1990
+%%---------------------------------------------------------------------
+%</natbib>
+
+% \end{macrocode}
+% \subsection{Fields}
+%
+% Enlist all entry types allowed in a bibliographic database.
+% Most entries are common for many standard bst styles.
+% \changes{v1.2f}{12 Jul 2016}{entry \texttt{patent} added}
+% \changes{v1.2c}{18 Jan 2015}{entry field \texttt{langid} added}
+% \changes{v1.2c}{18 Jan 2015}{entry field \texttt{eid} added}
+% \changes{v1.2}{01 Feb 2012}{entry field \texttt{medium} added}
+% \changes{v0.8}{06 Jun 2003}{entry field \texttt{annote} added}
+% \begin{macrocode}
+ENTRY
+ { address
+ annote
+ author
+ booktitle
+ bookauthor
+ chapter
+ edition
+ editor
+ compiler
+ howpublished
+ institution
+ journal
+ key
+ %major % new in v.1.2i, alias for speciality, not implemented
+ majorcode % new in v.1.2i, alias for specialitycode
+ month
+ note
+ number
+ organization
+ pages
+ eid % new in v1.2c
+ publisher
+ school % alias for institution
+ series
+ %speciality % new in v.1.2i, eqv. to major in biblatex-gost, not implemented yet...
+ specialitycode % new in v.1.2i, alias of number, eqv. to majorcode in biblatex-gost
+ title
+ %medium % new in v1.2; renamed to media.
+ media % new in v1.2f
+ type
+ volume
+ year
+ language
+ langid % new in v1.2c
+ booklanguage
+% \end{macrocode}
+% Entries borrowed from biblatex.
+% \changes{v1.2b}{19 Jan 2014}{entry field \texttt{numpages} renamed to \texttt{pagetotal}}
+% \changes{v1.2}{26 Jan 2012}{entry fields \texttt{eprint}, \texttt{eprintclass}, \texttt{eprinttype} added}
+% \begin{macrocode}
+ %date % not implemented yet...
+ pagetotal
+ url
+ urldate
+ isbn
+ doi
+ eprinttype % = archivePrefix
+ eprintclass % = primaryClass
+ eprint
+ % new in v1.2f:
+ % appear in biblatex:
+ %addendum % not implemented yet...
+ holder % see patent
+ location % new in v.1.2i, alias of address
+ %subtitle % not implemented yet...
+ titleaddon % new in v.1.2i, see @thesis
+ %version % not implemented yet...
+ % Appear in biblatex-gost for @patent entry:
+ authorcountry % country of the patent authors
+ credits % statement of responsibility, other than provided in Biblatex
+ ipc % Code of the International Patent Classification
+ %media % General material designation NOTE: medium in the above
+ requestnumber % Registration number of the application to the patent document
+ publicationdate % Date of publication
+ publication % and information on the official gazette, which published patent
+ prioritydate % Information about the convention priority: the date of filing of the application,
+ prioritynumber % number and
+ prioritycountry % country name of convention priority.
+ requestdate % ??
+ }
+ {}
+%<!natbib> { label }
+%<natbib> { label extra.label sort.label short.list }
+
+% \end{macrocode}
+% Declare internal variables and constants used in to format references.
+% \begin{macrocode}
+INTEGERS { output.state before.all mid.sentence after.sentence after.block
+after.dblslash after.slash after.colon after.semicolon }
+
+% \end{macrocode}
+% \DescribeFunction{init.state.consts}%
+% \begin{macrocode}
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #4 'after.dblslash :=
+ #5 'after.slash :=
+ #6 'after.colon :=
+ #7 'after.semicolon :=
+}
+
+STRINGS { s t }
+
+STRINGS { curlanguage }
+
+% \end{macrocode}
+%
+% \subsection{Formatting functions}
+%
+% \DescribeFunction{change.language}
+% Declare function to switch language.
+% \begin{macrocode}
+FUNCTION {change.language}
+{ booklanguage empty$
+ { "" }
+ { booklanguage 'curlanguage :=
+ "\selectlanguageifdefined{"
+ curlanguage *
+ "}" *
+ }
+ if$
+}
+
+% \end{macrocode}
+%
+% Declare functions to output various parts of bibliographic record.
+% \DescribeFunction{output.nonnull}
+% Function |output.nonnull| writes to output buffer the last literal in the stack
+% assuming that it is not empty and adds an appropriate punctuation symbol.
+% \changes{v1.2c}{17 Jan 2015}{fix Gost2003: \texttt{"}\texttt{-}\texttt{-}\texttt{-} replaced by macro \cs{BibDash}}
+% \begin{macrocode}
+FUNCTION {output.nonnull}
+{
+ swap$
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ " \BibDash " write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { output.state after.dblslash =
+ { "~//" * change.language * " " * write$ }
+ { output.state after.slash =
+ { "~/ " * write$ }
+ { output.state after.colon =
+%<!(strict|modern)> { ": " * write$ }
+%<strict|modern> { "~: " * write$ }
+ { output.state after.semicolon =
+%<!(strict|modern)> { "; " * write$ }
+%<strict|modern> { "~; " * write$ }
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+% \end{macrocode}
+%
+% \DescribeFunction{output}
+% Function |output| calls |output.nonnul| is the last literal string in the stack
+% if it is not empty; otherwise it discards the literal.
+% Function |output.check| do the same but also warns if the indicated field is
+% empty.
+% \DescribeFunction{output.check}
+% \begin{macrocode}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+% \end{macrocode}
+%
+% \DescribeFunction{fin.entry}
+% |fin.entry| finalizes current entry. It writes dot, if no dot is found in
+% stack, and starts new line.
+% \begin{macrocode}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+% \end{macrocode}
+%
+% \DescribeFunction{new.block}%
+% Declare family of functions to put punctuation marks depending of current
+% status of output stack. The just check output state and revert it another
+% state if required. Checking output state prevents occasional doubling of
+% punctuation marks.
+% \begin{macrocode}
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{new.dblslash}%
+% \begin{macrocode}
+FUNCTION {new.dblslash}
+{ output.state before.all =
+ 'skip$
+ { after.dblslash 'output.state := }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{new.slash}%
+% \begin{macrocode}
+FUNCTION {new.slash}
+{ output.state before.all =
+ 'skip$
+ { after.slash 'output.state := }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{new.colon}%
+% \begin{macrocode}
+FUNCTION {new.colon}
+{ output.state before.all =
+ 'skip$
+ { after.colon 'output.state := }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{new.semicolon}%
+% \begin{macrocode}
+FUNCTION {new.semicolon}
+{ output.state before.all =
+ 'skip$
+ { after.semicolon 'output.state := }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{new.sentence}%
+% \begin{macrocode}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{add.blank}%
+% \begin{macrocode}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+% \end{macrocode}
+%
+% \DescribeFunction{not}
+% Declare few logical functions.
+% \begin{macrocode}
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{and}
+% \begin{macrocode}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{or}
+% \begin{macrocode}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{chop.word}
+% The function |chop.word| in |substr len str chop.word| removes given substring
+% |substr| of length |len| from the beginning of the string |str|.
+% \begin{macrocode}
+%<*sort|natbib>
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+%</sort|natbib>
+
+% \end{macrocode}
+% \DescribeFunction{non.stop}
+% \begin{macrocode}
+FUNCTION {non.stop}
+{ duplicate$
+ "}" * add.period$
+ #-1 #1 substring$ "." =
+}
+
+% \end{macrocode}
+% \DescribeFunction{new.block.checka}
+% \begin{macrocode}
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{new.block.checkb}
+% \begin{macrocode}
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{new.sentence.checka}
+% \begin{macrocode}
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{new.sentence.checkb}
+% \begin{macrocode}
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{new.dblslash.checka}
+% For |online| entry.
+% \changes{v1.1}{15 Jan 2012}{entry type \texttt{@online} added}
+% \begin{macrocode}
+FUNCTION {new.dblslash.checka}
+{ empty$
+ 'skip$
+ 'new.dblslash
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{field.or.null}
+% \begin{macrocode}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+% \end{macrocode}
+%
+% \DescribeFunction{emphasize}
+% Declare function to emphasize last string in stack.
+% \changes{v0.8}{10 Aug 2003}{macro \cs{BibEmph} added}
+% \begin{macrocode}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\BibEmph{" swap$ * "}" * }
+ if$
+}
+
+% \end{macrocode}
+%
+% \DescribeFunction{bracify}
+% New in v.1.2. An idea borrowed from apsrev4-1.bst.
+% Declare function to enclose last word by braces even if empty.
+% \begin{macrocode}
+FUNCTION {bracify}
+{ duplicate$ empty$
+ { pop$ "{}" }
+ { "{" swap$ * "}" * }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{enclose.square.brackets}
+% This and the next functions are used to enclose last word by brackets.
+% \begin{macrocode}
+FUNCTION {enclose.square.brackets}
+{
+ duplicate$ empty$
+ { pop$ "" }
+ { "[" swap$ * "]" * }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{enclose.round.brackets}
+% \begin{macrocode}
+FUNCTION {enclose.round.brackets}
+{
+ duplicate$ empty$
+ { pop$ "" }
+ { "(" swap$ * ")" * }
+ if$
+}
+
+% \end{macrocode}
+%
+% \DescribeFunction{space.word}
+% |space.word| inserts space before last string in stack.
+% \begin{macrocode}
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+
+% \end{macrocode}
+%
+% \subsection{Standard abbreviations}
+%
+% Declare language-sensitive abbreviations.
+% \DescribeFunction{bbl.edby}
+% \begin{macrocode}
+FUNCTION {bbl.edby} % { "\bbledby{}" }
+{ curlanguage "english" =
+ {"Ed.\ by"}
+ { curlanguage "ukrainian" =
+%<!utf8> {"{\cyr\CYRP\cyrii\cyrd\ \cyrr\cyre\cyrd.}"}
+%<utf8> {"Під ред."}
+ { curlanguage "russian" =
+%<!utf8> {"{\cyr\CYRP\cyro\cyrd\ \cyrr\cyre\cyrd.}"}
+%<utf8> {"Под ред."}
+ { curlanguage "german" =
+ { "ed." }
+ {"language is not defined: " language "edby" * * warning$ "Ed.\ by"}
+ if$}
+ if$}
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.cmplr}
+% \begin{macrocode}
+FUNCTION {bbl.cmplr}
+{ curlanguage "english" =
+ { "Compiler"}
+ { curlanguage "german" =
+ { "Hrsg." }
+ { curlanguage "ukrainian" =
+%<!utf8> {"{\cyr\CYRU\cyrk\cyrl.}"}
+%<utf8> {"{Укл.}"}
+ { curlanguage "russian" =
+%<!utf8> {"{\cyr\CYRS\cyro\cyrs\cyrt.}"}
+%<utf8> {"{СоÑÑ‚.}"}
+ {"language is not defined: " language "cmplr" * * warning$ "Compiler"}
+ if$}
+ if$}
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.edition}
+% \begin{macrocode}
+FUNCTION {bbl.edition} % { "\bbledition{}" }
+{ curlanguage "english" =
+ {"edition"}
+ { curlanguage "ukrainian" =
+%<!utf8> {"{\cyr\cyrv\cyri\cyrd.}"}
+%<utf8> {"{вид.}"}
+ { curlanguage "russian" =
+%<!utf8> {"{\cyr\cyri\cyrz\cyrd.}"}
+%<utf8> {"{изд.}"}
+ { curlanguage "german" =
+ {" {aus.}" } %%%% { "Aufl." } ??
+ { curlanguage "italian" =
+ {"edizione"}
+ { curlanguage "french" =
+ {"\'{e}dition"}
+ {"language is not defined: " language "edition" * * warning$ "edition"}
+ if$}
+ if$}
+ if$}
+ if$}
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.vvolume}
+% \begin{macrocode}
+FUNCTION {bbl.vvolume} % { "\bblVolume{}" }
+{ curlanguage "english" = curlanguage "french" = or curlanguage "italian" = or
+ {"Volume"}
+ { curlanguage "ukrainian" = curlanguage "russian" = or
+%<!utf8> { "\CYRT\cyro\cyrm" }
+%<utf8> { "Том" }
+ { curlanguage "german" =
+ {"{Band}"} %%%% { "Volumen" }
+ {"language is not defined: " language "vvolume" * * warning$ "Volume"}
+ if$}
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.vvol}
+% \begin{macrocode}
+FUNCTION {bbl.vvol} % { "\bblVol{}" }
+{ curlanguage "english" = curlanguage "french" = or curlanguage "italian" = or
+ {"Vol."}
+ { curlanguage "ukrainian" = curlanguage "russian" = or
+%<!utf8> {"\CYRT."}
+%<utf8> {"Т."}
+ { curlanguage "german" =
+ {"{Bd.}"} %%%% { "Vol." }
+ {"language is not defined: " language "vvol" * * warning$ "Vol."}
+ if$}
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.iissue}
+% \begin{macrocode}
+FUNCTION {bbl.iissue} % { "\bblIssue{}" }
+{ curlanguage "english" =
+ {"Issue"}
+ { curlanguage "ukrainian" =
+%<!utf8> {"\CYRV\cyri\cyrp\cyru\cyrs\cyrk"}
+%<utf8> {"ВипуÑк"}
+ { curlanguage "russian" =
+%<!utf8> {"\CYRV\cyrery\cyrp\cyru\cyrs\cyrk"}
+%<utf8> {"ВыпуÑк"}
+ { curlanguage "german" =
+ {"{Heft}"} %%%% { "Ausgabe" }
+ {"language is not defined: " language "iissue" * * warning$ "Issue"}
+ if$}
+ if$}
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.iiss}
+% \begin{macrocode}
+FUNCTION {bbl.iiss} % { "\bblIss{}" }
+{ curlanguage "english" =
+ {"Iss."}
+ { curlanguage "ukrainian" =
+%<!utf8> {"\CYRV\cyri\cyrp."}
+%<utf8> {"Вип."}
+ { curlanguage "russian" =
+%<!utf8> {"\CYRV\cyrery\cyrp."}
+%<utf8> {"Вып."}
+ { curlanguage "german" =
+ {"{H.}"}
+ {"language is not defined: " language "iiss" * * warning$ "Iss."}
+ if$}
+ if$}
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.of}
+% \begin{macrocode}
+FUNCTION {bbl.of} % { "\bblof{}" }
+{ curlanguage "english" =
+ {"of"}
+ { curlanguage "german" =
+ { "von" }
+ { curlanguage "ukrainian" =
+%<!utf8> { "{\cyr\cyrii\cyrz}" }
+%<utf8> { "{із}" }
+ { curlanguage "russian" =
+%<!utf8> { "{\cyr\cyri\cyrz}" }
+%<utf8> { "{из}" }
+ {"language is not defined: " language "of" * * warning$ "of"}
+ if$}
+ if$}
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.etal}
+% \begin{macrocode}
+FUNCTION {bbl.etal} % { "\bblof{}" }
+{ curlanguage "english" =
+ {"et~al."}
+ { curlanguage "german" =
+ { "u.~a." }
+ { curlanguage "ukrainian" =
+%<!utf8> {"{\cyr\cyrt\cyra~\cyrii\cyrn.}"}
+%<utf8> {"{та~ін.}"}
+ { curlanguage "russian" =
+%<!utf8> {"{\cyr\cyri~\cyrd\cyrr.}"}
+%<utf8> {"и~др."}
+ {"language is not defined: " language "et~al" * * warning$ "et~al."}
+ if$}
+ if$}
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.and}
+% \begin{macrocode}
+%<*natbib>
+FUNCTION {bbl.and} % { "\bbland{}" }
+{ curlanguage "english" =
+ {"and"}
+ { curlanguage "german" =
+ { "und" }
+ { curlanguage "ukrainian" =
+%<!utf8> {"{\cyrii}"}
+%<utf8> {"Ñ–"}
+ { curlanguage "russian" =
+%<!utf8> {"{\cyri}"}
+%<utf8> {"и"}
+ {"language is not defined: " language "and" * * warning$ "and"}
+ if$}
+ if$}
+ if$}
+if$}
+%</natbib>
+
+% \end{macrocode}
+% \DescribeFunction{bbl.nnumber}
+% \begin{macrocode}
+FUNCTION {bbl.nnumber} % { "\bblNumber{}" }
+{ curlanguage "english" =
+ {"Number"}
+ { curlanguage "ukrainian" = curlanguage "russian" = or
+%<!utf8> { "\CYRN\cyro\cyrm\cyre\cyrr" }
+%<utf8> { "{Ðомер}" }
+ { curlanguage "german" =
+ {"{Heft}"} %%% { "Anzahl" }
+ {"language is not defined: " language "nnumber" * * warning$ "Number"}
+ if$}
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.number}
+% \begin{macrocode}
+FUNCTION {bbl.number} % { "\bblnumber{}" }
+{ curlanguage "english" =
+ {"number"}
+ { curlanguage "ukrainian" = curlanguage "russian" = or
+%<!utf8> {"{\cyr\cyrn\cyro\cyrm\cyre\cyrr}"}
+%<utf8> {"{номер}"}
+ { curlanguage "german" =
+ {"{Heft}"} %%% { "anzahl" }???
+ {"language is not defined: " language "number" * * warning$ "number"}
+ if$}
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.nr}
+% \begin{macrocode}
+FUNCTION {bbl.nr} % { "\bblno{}" }
+{ curlanguage "english" =
+ {"no."}
+ { curlanguage "italian" =
+ { "no" }
+ { curlanguage "ukrainian" = curlanguage "russian" = or
+%<!utf8> { "{\cyr\textnumero}" }
+%<utf8> { "{â„–}" }
+ { curlanguage "german" =
+ {"{H.}"} %%% { "an." }
+ {"language is not defined: " language "nr" * * warning$ "no."}
+ if$}
+ if$}
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.nnr}
+% \begin{macrocode}
+FUNCTION {bbl.nnr} % { "\bblno{}" }
+{ curlanguage "english" =
+ {"No."}
+ { curlanguage "ukrainian" = curlanguage "russian" = or
+%<!utf8> { "{\cyr\textnumero}" }
+%<utf8> { "{â„–}" }
+ { curlanguage "german" =
+ {"{H.}"} %%% { "an." }
+ {"language is not defined: " language "nnr" * * warning$ "No."}
+ if$}
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.in}
+% \begin{macrocode}
+FUNCTION {bbl.in} % { "\bblin{}" }
+{ curlanguage "english" = curlanguage "german" = or
+ {"in"}
+ { curlanguage "ukrainian" = curlanguage "russian" = or
+%<!utf8> { "{\cyr\cyrv}" }
+%<utf8> { "{в}" }
+ {"language is not defined: " language "in" * * warning$ "in"}
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.iin}
+% \begin{macrocode}
+FUNCTION {bbl.iin} % { "\bblIn{}" }
+{ curlanguage "english" = curlanguage "german" = or
+ {"In"}
+ { curlanguage "ukrainian" = curlanguage "russian" = or
+%<!utf8> { "\CYRV" }
+%<utf8> { "{Ð’}" }
+ {"language is not defined: " language "iin" * * warning$ "In"}
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.pages}
+% \begin{macrocode}
+FUNCTION {bbl.pages} % { "\bblpp." }
+{ curlanguage "english" = curlanguage "french" = or curlanguage "italian" = or
+ {"p."} %%% {"pp."}
+ { curlanguage "ukrainian" = curlanguage "russian" = or
+%<!utf8> {"{\cyr\cyrs.}"}
+%<utf8> {"{Ñ.}"}
+ { curlanguage "german" =
+ {"S."} %%%% { "s." }
+ {"language is not defined: " language "pages" * * warning$ "p."}
+ if$}
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.page}
+% \begin{macrocode}
+FUNCTION {bbl.page} % { "\bblp."
+{ curlanguage "english" = curlanguage "french" = or curlanguage "italian" = or
+ {"p."}
+ { curlanguage "ukrainian" = curlanguage "russian" = or
+%<!utf8> {"{\cyr\cyrs.}"}
+%<utf8> {"{Ñ.}"}
+ { curlanguage "german" =
+ {"S."} %%%% { "s." }
+ {"language is not defined: " language "page" * * warning$ "p."}
+ if$}
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.ppages}
+% \begin{macrocode}
+FUNCTION {bbl.ppages}% { "\bblPp." }
+{ curlanguage "english" = curlanguage "french" = or curlanguage "italian" = or
+ {"P."} %%%% { "Pp." }
+ { curlanguage "ukrainian" = curlanguage "russian" = or
+%<!utf8> {"{\cyr\CYRS.}"}
+%<utf8> {"{С.}"}
+ { curlanguage "german" =
+ {"S."}
+ {"language is not defined: " language "ppages" * * warning$ "P."}
+ if$}
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.ppage}
+% \begin{macrocode}
+FUNCTION {bbl.ppage} % { "\bblP." }
+{ curlanguage "english" = curlanguage "french" = or curlanguage "italian" = or
+ {"P."}
+ { curlanguage "ukrainian" = curlanguage "russian" = or
+%<!utf8> {"{\cyr\CYRS.}"}
+%<utf8> {"{С.}"}
+ { curlanguage "german" =
+ {"S."}
+ {"language is not defined: " language "ppage" * * warning$ "P."}
+ if$}
+ if$}
+if$}
+
+% \end{macrocode}
+% Next function was added in version 2016.07.07.
+% \DescribeFunction{bbl.url}
+% \changes{v1.2e}{07 Jul 2016}{\texttt{bbl.url} added to replace URL string}
+% \begin{macrocode}
+FUNCTION {bbl.url}
+{ curlanguage "english" =
+ {"Access mode"}
+ { curlanguage "ukrainian" =
+%<!utf8> { "{\CYRR\cyre\cyrzh\cyri\cyrm\ \cyrd\cyro\cyrs\cyrt\cyru\cyrp\cyru}" }
+%<utf8> { "{Режим доÑтупу}" }
+ { curlanguage "russian" =
+%<!utf8> { "{\CYRR\cyre\cyrzh\cyri\cyrm\ \cyrd\cyro\cyrs\cyrt\cyru\cyrp\cyra}" }
+%<utf8> { "{Режим доÑтупа}" }
+ { curlanguage "german" =
+ { "{online; abgerufen}" }
+ { "language is not defined: " language "urldate" * * warning$ "online; accessed" }
+ if$}
+ if$}
+ if$}
+if$}
+% \end{macrocode}
+% Next function was added in version 2012.01.15.
+% \DescribeFunction{bbl.urldate}
+% \changes{v1.2}{13 Feb 2012}{fix \texttt{bbl.urldate} for ukrainian (Andrey Shvajkoy)}
+% \begin{macrocode}
+FUNCTION {bbl.urldate}
+{ curlanguage "english" =
+ {"online; accessed"}
+ { curlanguage "ukrainian" =
+%<!utf8> { "{\cyrd\cyra\cyrt\cyra\ \cyrz\cyrv\cyre\cyrr\cyrn\cyre\cyrn\cyrn\cyrya}" }
+%<utf8> { "{дата зверненнÑ}" }
+ { curlanguage "russian" =
+%<!utf8> { "{\cyrd\cyra\cyrt\cyra\ \cyro\cyrb\cyrr\cyra\cyrshch\cyre\cyrn\cyri\cyrya}" }
+%<utf8> { "{дата обращениÑ}" }
+ { curlanguage "german" =
+ { "{online; abgerufen}" }
+ { "language is not defined: " language "urldate" * * warning$ "online; accessed" }
+ if$}
+ if$}
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.techreport}
+% \begin{macrocode}
+FUNCTION {bbl.techreport} % rename to bbl.techreport
+{ curlanguage "english" =
+ { "Rep." }
+ { curlanguage "german" =
+ { "Bericht" }
+ { curlanguage "russian" =
+%<!utf8> { "{\cyr\CYRO\cyrt\cyrch\cyre\cyrt}" }
+%<utf8> { "{Отчет}" }
+ { "language is not defined: " language "techrep" * * warning$ "Rep." }
+ if$}
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.mathesis}
+% \begin{macrocode}
+FUNCTION {bbl.mathesis}
+{ curlanguage "english" =
+ { "Master's thesis" }
+ { curlanguage "german" =
+ { "Diss.~Mag." }
+ { curlanguage "russian" =
+%<!utf8> { "{\cyr\CYRK\cyrv\cyra\cyrl\cyri\cyrf\cyri\cyrk\cyra\cyrc\cyri"
+%<!utf8> "\cyro\cyrn\cyrn\cyra\cyrya\ \cyrr\cyra\cyrb\cyro\cyrt\cyra\ " *
+%<!utf8> "\cyrm\cyra\cyrg\cyri\cyrs\cyrt\cyrr\cyra}" * }
+%<utf8> { "{ÐšÐ²Ð°Ð»Ð¸Ñ„Ð¸ÐºÐ°Ñ†Ð¸Ð¾Ð½Ð½Ð°Ñ Ñ€Ð°Ð±Ð¾Ñ‚Ð° магиÑтра}" }
+ { "language is not defined: " language "mthesis" * * warning$ "Master's thesis" }
+ if$}
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.phdthesis}
+% \changes{v1.2i}{04 Jan 2017}{corrected bbl.phdthesis and bbl.docthesis to comply GOST}
+% \begin{macrocode}
+FUNCTION {bbl.phdthesis}
+{ curlanguage "english" =
+ { "Ph.\,D. thesis" }
+ { curlanguage "german" =
+ { "Diss.~Ph.\,D." }
+ { curlanguage "russian" =
+%<!utf8> { "{\cyr\cyrd\cyri\cyrs.\ \ldots\ \cyrk\cyra\cyrn\cyrd. "
+%<!utf8> "\cyrn\cyra\cyru\cyrk}" * }
+%<utf8> { "{диÑ.\ \ldots\ канд. наук}" }
+ { curlanguage "french" =
+ { "Th\`{e}se de doctorat" }
+ { "language is not defined: " language "phdthesis" * * warning$ "Ph.\,D. thesis" }
+ if$}
+ if$}
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.docthesis}
+% \begin{macrocode}
+FUNCTION {bbl.docthesis}
+{ curlanguage "english" =
+ { "Dr.\,Sci. dissertation" }
+ { curlanguage "german" =
+ { "Diss.~Dr." }
+ { curlanguage "russian" =
+%<!utf8> { "{\cyr\cyrd\cyri\cyrs.\ \ldots\ \cyrd-\cyrr\cyra\ "
+%<!utf8> "\cyrn\cyra\cyru\cyrk}" * }
+%<utf8> { "{диÑ.\ \ldots\ д-ра наук}" }
+ { "language is not defined: " language "docthesis" * * warning$ "Dr.\,Sci. dissertation" }
+ if$}
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.thesis.type`}
+% \begin{macrocode}
+FUNCTION {bbl.thesis.type}
+{ type "mathesis" =
+ { bbl.mathesis }
+ { type "phdthesis" =
+ { bbl.phdthesis }
+ { type "docthesis" =
+ { bbl.docthesis }
+ %%{ "!!!" type * "t" change.case$ }
+%<!utf8> { type "t" change.case$ }
+%<utf8> { type }
+ if$}
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.nnoaddress}
+% \begin{macrocode}
+FUNCTION {bbl.nnoaddress}
+{ curlanguage "english" =
+ { "S.\ l." }
+ { curlanguage "russian" =
+%<!utf8> { "{\cyr\CYRB.\ \cyrm.}" }
+%<utf8> { "{Б.\ м.}" }
+ { "language is not defined: " language "nnoaddress" * * warning$ "S.\ l." }
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.nopublisher}
+% \begin{macrocode}
+FUNCTION {bbl.nopublisher}
+{ curlanguage "english" =
+ { "s.\ n." }
+ { curlanguage "russian" =
+%<!utf8> { "{\cyr\cyrb.\ \cyri.}" }
+%<utf8> { "{б.\ и.}" }
+ { "language is not defined: " language "nnopublisher" * * warning$ "s.\ n." }
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.nnopublisher}
+% \begin{macrocode}
+FUNCTION {bbl.nnopublisher}
+{ curlanguage "english" =
+ { "S.\ n." }
+ { curlanguage "russian" =
+%<!utf8> { "{\cyr\CYRB.\ \cyri.}" }
+%<utf8> { "{Б.\ и.}" }
+ { "language is not defined: " language "nnopublisher" * * warning$ "S.\ n." }
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.media.text}
+% \begin{macrocode}
+FUNCTION {bbl.media.text}
+{ curlanguage "english" =
+ { "Text" }
+ { curlanguage "russian" = curlanguage "ukrainian" = or
+%<!utf8> { "{\cyr\CYRT\cyre\cyrk\cyrs\cyrt}" }
+%<utf8> { "{ТекÑÑ‚}" }
+ { "language is not defined: " language "media" * * warning$ "Text" }
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.media.eresource}
+% \begin{macrocode}
+FUNCTION {bbl.media.eresource}
+{ curlanguage "english" =
+ { "Electronic resource" }
+ { curlanguage "russian" =
+%<!utf8> { "{\cyr\CYREREV\cyrl\cyre\cyrk\cyrt\cyrr\cyro\cyrn\cyrn\cyrery\cyrishrt\ "
+%<!utf8> "\cyrr\cyre\cyrs\cyru\cyrr\cyrs}" * }
+%<utf8> { "{Электронный реÑурÑ}" }
+ { curlanguage "ukrainian" =
+%<!utf8> { "{\cyr\CYRE\cyrl\cyre\cyrk\cyrt\cyrr\cyro\cyrn\cyrn\cyri\cyrishrt\ "
+%<!utf8> "\cyrr\cyre\cyrs\cyru\cyrr\cyrs}" * }
+%<utf8> { "{Електронний реÑурÑ}" }
+ { "language is not defined: " language "media" * * warning$ "Electronic resource" }
+ if$}
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.media.online}
+% \changes{v1.2i}{02 Jan 2017}{\texttt{media} field normalised}
+% \begin{macrocode}
+FUNCTION {bbl.media.online}
+{ curlanguage "english" =
+ { "Electronic resource online" }
+ { curlanguage "russian" =
+%<!utf8> { "{\cyr\CYREREV\cyrl\cyre\cyrk\cyrt\cyrr\cyro\cyrn\cyrn\cyrery\cyrishrt\ "
+%<!utf8> "\cyrr\cyre\cyrs\cyru\cyrr\cyrs\ \cyro\cyrn\cyrl\cyra\cyrishrt\cyrn}" * }
+%<utf8> { "{Электронный реÑÑƒÑ€Ñ Ð¾Ð½Ð»Ð°Ð¹Ð½}" }
+ { curlanguage "ukrainian" =
+%<!utf8> { "{\cyr\CYRE\cyrl\cyre\cyrk\cyrt\cyrr\cyro\cyrn\cyrn\cyri\cyrishrt\ "
+%<!utf8> "\cyrr\cyre\cyrs\cyru\cyrr\cyrs\ \cyro\cyrn\cyrl\cyra\cyrishrt\cyr}" * }
+%<utf8> { "{Електронний реÑÑƒÑ€Ñ Ð¾Ð½Ð»Ð°Ð¹Ð½}" }
+ { "language is not defined: " language "media" * * warning$ "Electronic resource" }
+ if$}
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.chief}
+% \begin{macrocode}
+FUNCTION {bbl.chief}
+{ curlanguage "english" =
+ { "chief" }
+ { curlanguage "russian" =
+%<!utf8> { "\cyrr\cyru\cyrk." }
+%<utf8> { "{рук.}" }
+ { curlanguage "ukrainian" =
+%<!utf8> { "\cyrr\cyru\cyrk." }
+%<utf8> { "{рук.}" }
+ { "language is not defined: " language "chief" * * warning$ "chief" }
+ if$}
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.executor}
+% \begin{macrocode}
+FUNCTION {bbl.executor}
+{ curlanguage "english" =
+ { "Executor" }
+ { curlanguage "russian" =
+%<!utf8> { "{\cyr\cyri\cyrs\cyrp\cyro\cyrl\cyrn.}" }
+%<utf8> { "{иÑполн.}" }
+ { curlanguage "ukrainian" =
+%<!utf8> { "{\cyr\cyrv\cyri\cyrk\cyro\cyrn\cyra\cyrv\cyre\cyrc\cyrsftsn}" }
+%<utf8> { "{виконавець}" }
+ { "language is not defined: " language "executor" * * warning$ "executor" }
+ if$}
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.media}
+% \begin{macrocode}
+%FUNCTION {bbl.media}
+%{ type$ "online" =
+% { bbl.media.eresource }
+% { bbl.media.text }
+%if$}
+FUNCTION {bbl.media}
+{ media "online" =
+ { bbl.media.online }
+ { media "eresource" =
+ { bbl.media.eresource }
+ { bbl.media.text }
+ if$}
+if$}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.req}
+% \begin{macrocode}
+FUNCTION {bbl.req}
+{
+ curlanguage "english" =
+ { "req." }
+ { curlanguage "german" =
+ { "ang." }
+ { curlanguage "russian" =
+%<!utf8> { "{\cyr\cyrz\cyra\cyrya\cyrv\cyrl.}" }
+%<utf8> { "{заÑвл.}" }
+ { "language is not defined: " language "req" * * warning$ "req" }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.publ}
+% \begin{macrocode}
+FUNCTION {bbl.publ}
+{
+ curlanguage "english" =
+ { "publ." }
+ { curlanguage "german" =
+ { "ausg." }
+ { curlanguage "russian" =
+%<!utf8> { "{\cyr\cyro\cyrp\cyru\cyrb\cyrl.}" }
+%<utf8> { "{опубл.}" }
+ { "language is not defined: " language "publication" * * warning$ "publication" }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{bbl.priority}
+% \begin{macrocode}
+FUNCTION {bbl.priority}
+{
+ curlanguage "english" =
+ { "priority" }
+ { curlanguage "german" =
+ { "Prioritat" }
+ { curlanguage "russian" =
+%<!utf8> { "{\cyr\cyrp\cyrr\cyri\cyro\cyrr\cyri\cyrt\cyre\cyrt}" }
+%<utf8> { "{приоритет}" }
+ { "language is not defined: " language "priority" * * warning$ "priority" }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+% \end{macrocode}
+%
+% \subsection{Formatting functions}
+%
+% Declare functions to format separate elements of bibliographic reference.
+% \begin{macrocode}
+INTEGERS { nameptr namesleft numnames }
+
+
+% \end{macrocode}
+%
+% \DescribeFunction{format.names}
+% Function |format.names| has 2 version.
+% First is for bibliographic records rather then for bibliographic references.
+% It is used for \file{.bst} styles compiled without the |modern| option.
+% It format every name as `LastName, F. S.'.
+% Historically, this version was used first for earlier styles included into
+% GOST bundle.
+%
+% \textbf{Important note}
+%
+% Neither \file{bibtex} nor \file{bibtex8} can handle unicoded text without
+% troubles. In particular, they fail to reduce a Cyrillic name to initials.
+% Therefore we avoid using |f.| primitive when option |utf8| is in effect.
+
+% \begin{macrocode}
+%<*!modern>
+FUNCTION {format.names}
+{
+%<!utf8> #1 "{vv~}{ll}{~jj}{,~f.}" format.name$
+%<utf8> #1 "{vv~}{ll}{~jj}{,~ff}" format.name$
+}
+%</!modern>
+% \end{macrocode}
+% Second version drops comma from output so that every name is formatted
+% as `LastName F. S.'. It also substitutes 4th and following names by
+% localized term `et al'.
+% \begin{macrocode}
+%<*modern>
+FUNCTION {format.names}
+{
+ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+%<!utf8> "{vv~}{ll}{~jj}{~f.}" format.name$ 't :=
+%<utf8> "{vv~}{ll}{~jj}{~ff}" format.name$ 't :=
+ nameptr #1 >
+ { nameptr #4 =
+ numnames #4 > and
+ { "others" 't :=
+ #1 'namesleft := }
+ 'skip$
+ if$
+ namesleft #1 >
+ { ", " * t * }
+ { t "others" =
+ t "~others" =
+ or
+%<!strict> { " " * bbl.etal * }
+%<strict> { " " * bbl.etal enclose.square.brackets *}
+ { ", " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+%</modern>
+
+% \end{macrocode}
+% \DescribeFunction{format.lab.names}
+% Declare function to go to optional argument of |\bibitem| in
+% the styles generated with the option |natbib|.
+% \begin{macrocode}
+%<*natbib>
+FUNCTION {format.lab.names}
+{ 's :=
+ language empty$
+ { "english" 'curlanguage := }
+ { language 'curlanguage := }
+ if$
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ %{ pop$ " et~al." * }
+ { pop$ " " bbl.etal * * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ %{ " et~al." * }
+ { " " bbl.etal * * }
+ %{ " and " * s #2 "{vv~}{ll}" format.name$ * }
+ { " " bbl.and " " * * * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+%</natbib>
+
+% \end{macrocode}
+% \DescribeFunction{format.names.rev}
+% Declare function to format names for authors/bookauthors list after title and etc.
+% Note that |format.names.rev| cuts list of names to at most 4 persons.
+% We do not cut names to initials in this list.
+% \begin{macrocode}
+FUNCTION {format.names.rev}
+{
+ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+%<!utf8> %"{f.}{~vv}{~ll}{, jj}" format.name$ 't :=
+%<!utf8> "{ff}{~vv}{~ll}{, jj}" format.name$ 't :=
+%<utf8> "{ff}{~vv}{~ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { nameptr #4 =
+ numnames #4 > and
+ { "others" 't :=
+ #1 'namesleft := }
+ 'skip$
+ if$
+ namesleft #1 >
+ { ", " * t * }
+ { t "others" =
+ t "~others" =
+ or
+%<!strict> { " " * bbl.etal * }
+%<strict> { " " * bbl.etal enclose.square.brackets * }
+ { ", " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+% \end{macrocode}
+% \DescribeFunction{format.key}
+% Function to substitute empty field (usually, author name) with the |key| field.
+% \begin{macrocode}
+%<*natbib>
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+%</natbib>
+
+% \end{macrocode}
+% \DescribeFunction{format.authors}
+% \begin{macrocode}
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names emphasize}
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{author.key.label}
+% \begin{macrocode}
+%<*natbib>
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ %'key %% causes lost of year
+ { "{}" key * } %% Bug in bibtex8 ??
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+%</natbib>
+
+% \end{macrocode}
+% \DescribeFunction{format.bookauthors}
+% This function is used only once, in |bookauthor.before|, and the latter is
+% used only in |inbook| entry.
+% \begin{macrocode}
+FUNCTION {format.bookauthors}
+{ bookauthor empty$
+ { "" }
+ { bookauthor format.names}
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{format.authors.after}
+% \begin{macrocode}
+FUNCTION {format.authors.after}
+{ author empty$
+ { "" }
+ { author format.names.rev}
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{format.bookauthors.after}
+% \begin{macrocode}
+FUNCTION {format.bookauthors.after}
+{ bookauthor empty$
+ { "" }
+ { bookauthor format.names.rev}% always cuts to 4 persons
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{format.editors.after}
+% \begin{macrocode}
+FUNCTION {format.editors.after}
+{ editor empty$
+ { "" }
+ { bbl.edby "\ " * editor format.names.rev * }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{format.chief.after}
+% \begin{macrocode}
+FUNCTION {format.chief.after}
+{ editor empty$
+ { "" }
+ { bbl.chief "\ " * editor format.names.rev * }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{format.executor.after}
+% \begin{macrocode}
+FUNCTION {format.executor.after}
+{ author empty$
+ { "" }
+ { bbl.executor ": " * author format.names.rev * }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{format.compiler.after}
+% \begin{macrocode}
+FUNCTION {format.compiler.after}
+{ compiler empty$
+ { "" }
+ { bbl.cmplr "\ " * compiler format.names.rev * }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{format.title}
+% \textbf{Important note}
+% \
+% Neither \file{bibtex} nor \file{bibtex8} can handle unicoded text without
+% troubles. In particular, \file{bibtex8} fails to change case of a string if it
+% contains Cyrillic letter. Therefore we avoid using |change.case$| when
+% option |utf8| is in effect.
+% \begin{macrocode}
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+%<!utf8> { title "t" change.case$ }
+%<utf8> { title }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{format.month}
+% New in version 1.2d. This macro reads month field and translate English names
+% of months to Russian if current language is Russian.
+% \changes{v1.2i}{29 Dec 2016}{typo fix in \texttt{format.month}}
+% \begin{macrocode}
+FUNCTION {format.month}
+{ month empty$
+ { "" }
+ { curlanguage "russian" =
+ { month "Jan." =
+%<!utf8> { "\CYRYA\cyrn\cyrv." }
+%<utf8> { "Янв." }
+ { month "Feb." =
+%<!utf8> { "\CYRF\cyre\cyrv\cyrr." }
+%<utf8> { "Фев." }
+ { month "Mar." =
+%<!utf8> { "\CYRM\cyra\cyrr\cyrt" }
+%<utf8> { "Март" }
+ { month "Apr." =
+%<!utf8> { "\CYRA\cyrp\cyrr." }
+%<utf8> { "Ðпр." }
+ { month "May" =
+%<!utf8> { "\CYRM\cyra\cyrishrt" }
+%<utf8> { "Май" }
+ { month "Jun." =
+%<!utf8> { "\CYRI\cyryu\cyrn\cyrsftsn" }
+%<utf8> { "Июнь" }
+ { month "Jul." =
+%<!utf8> { "\CYRI\cyryu\cyrl\cyrsftsn" }
+%<utf8> { "Июль" }
+ { month "Aug." =
+%<!utf8> { "\CYRA\cyrv\cyrg\." }
+%<utf8> { "Ðвг." }
+ { month "Sep." =
+%<!utf8> { "\CYRS\cyre\cyrn\cyrt." }
+%<utf8> { "Сент." }
+ { month "Oct." =
+%<!utf8> { "\CYRO\cyrk\cyrt." }
+%<utf8> { "Окт." }
+ { month "Nov." =
+%<!utf8> { "\CYRN\cyro\cyrya\cyrb." }
+%<utf8> { "ÐоÑб." }
+ { month "Dec." =
+%<!utf8> { "\CYRD\cyre\cyrk." }
+%<utf8> { "Дек." }
+ { month }
+ if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}
+ { month }
+ if$}
+ if$
+}
+% \end{macrocode}
+% \DescribeFunction{format.date}
+% \changes{v1.2c}{17 Jan 2015}{fix Gost2003: \texttt{"}\texttt{-}\texttt{-}\texttt{-} replaced by macro \cs{BibDash}}
+% \begin{macrocode}
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ format.month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { year ". \BibDash " format.month * * }
+ if$
+ }
+ if$
+%<natbib> extra.label * % new in v.1.2
+}
+
+% \end{macrocode}
+% \DescribeFunction{address.or.location}
+% New function in version 1.2i. Returns |address| value if not empty; otherwise
+% returns |location| value even if the latter is empty.
+% \changes{v1.2i}{02 Jan 2017}{\texttt{location} field added as alias to \texttt{address} field}
+% \begin{macrocode}
+%FUNCTION {address.or.location}
+%{
+% address empty$
+% { location empty$
+% 'skip$
+% { location }
+% if$ }
+% { address }
+% if$
+%}
+FUNCTION {address.or.location}
+{
+ address empty$
+ { location }
+ { address }
+ if$
+}
+
+% \end{macrocode}
+%
+% \DescribeFunction{specialitycode.or.number}
+% New function in version 1.2i. Returns |specialitycode| value if not empty; otherwise
+% returns |number| value even if the latter is empty.
+% \changes{v1.2i}{13 Jan 2017}{\texttt{number} field is now alias to \texttt{specialitycode}}
+% \begin{macrocode}
+FUNCTION {specialitycode.or.number}
+{
+ specialitycode empty$
+ { number }
+ { specialitycode }
+ if$
+}
+
+% \end{macrocode}
+%
+% \DescribeFunction{institution.or.school}
+% New function in version 1.2i. Returns |institution| value if not empty; otherwise
+% returns |school| value even if the latter is empty.
+% \changes{v1.2i}{13 Jan 2017}{\texttt{school} field is now alias to \texttt{instituttion}}
+% \begin{macrocode}
+FUNCTION {institution.or.school}
+{
+ institution empty$
+ { school}
+ { institution }
+ if$
+}
+% \end{macrocode}
+%
+% \DescribeFunction{format.address.publisher}
+% \DescribeFunction{format.address.publisher.date}
+% \begin{macrocode}
+%<*!strict>
+%FUNCTION {output.address.publisher}
+%{
+% address empty$
+% 'skip$
+% { address output
+% publisher empty$
+% 'skip$
+% { new.colon }
+% if$
+% }
+% if$
+% publisher output
+%}
+FUNCTION {output.address.publisher}
+{
+ address empty$ location empty$ and
+ 'skip$
+ { address.or.location output
+ publisher empty$
+ 'skip$
+ { new.colon }
+ if$
+ }
+ if$
+ publisher output
+}
+%</!strict>
+%<*strict>
+FUNCTION {output.address.publisher}
+{
+ address empty$
+ {
+ bbl.nnoaddress
+ publisher empty$
+ { "~: " * bbl.nopublisher * enclose.square.brackets }
+ { enclose.square.brackets "~: " * publisher * }
+ if$
+ }
+ {
+ address output
+ new.colon
+ publisher empty$
+ { bbl.nopublisher enclose.square.brackets }
+ { publisher }
+ if$
+ }
+ if$
+ output
+}
+
+%</strict>
+
+% \end{macrocode}
+% \DescribeFunction{output.address.publisher.date}
+% |Otput.address.publisher.date| is used in old styles.
+% New styles use |output.address.publisher|.
+% \begin{macrocode}
+%<*!(modern|strict)>
+FUNCTION {output.address.publisher.date}
+{
+ output.address.publisher
+ format.date output
+}
+%</!(modern|strict)>
+
+% \end{macrocode}
+% \DescribeFunction{output.bibitem}
+% \changes{v1.2c}{18 Jan 2015}{entry field \texttt{langid} added}
+% \begin{macrocode}
+%<*!natbib>
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem" write$
+ cite$ bracify write$
+ newline$
+ langid empty$
+ { language empty$
+ { "english" 'curlanguage := }
+ { language 'curlanguage := }
+ if$
+ }
+ { langid 'curlanguage := }
+ if$
+ "\selectlanguageifdefined" curlanguage bracify * write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+%</!natbib>
+% \end{macrocode}
+% \DescribeFunction{format.full.names}
+% \DescribeFunction{author.full}
+% \DescribeFunction{editor.full}
+% \DescribeFunction{author.editor.full}
+% \DescribeFunction{make.full.names}
+% \DescribeFunction{output.bibitem}
+% In case of |natbib| option, we need |make.full.names| to compose
+% |output.bibitem|, and the latter in its turn requires some more functions.
+% \begin{macrocode}
+%<*natbib>
+FUNCTION {format.full.names}
+{'s :=
+ language empty$
+ { "english" 'curlanguage := }
+ { language 'curlanguage := }
+ if$
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ numnames #2 >
+ curlanguage "english" =
+ and
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ %t "~others" =
+ %or
+ %{ " et~al." * }
+ { " " bbl.etal * * }
+ %{ " and " * t * }
+ { " " bbl.and " " * * * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.full}
+{ author empty$
+ { "" }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.full}
+{ editor empty$
+ { "" }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {author.editor.full}
+{ author empty$
+ { editor empty$
+ { "" }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.full
+ { type$ "proceedings" =
+ 'editor.full
+ 'author.full
+ if$
+ }
+ if$
+}
+
+% =======================================
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "]{" * write$
+ cite$ write$
+ "}" write$
+%% language empty$
+%% { "english" 'curlanguage := }
+%% {language 'curlanguage := }
+%% if$
+ langid empty$
+ { language empty$
+ { "english" 'curlanguage := }
+ { language 'curlanguage := }
+ if$
+ }
+ { langid 'curlanguage := }
+ if$
+ "\selectlanguageifdefined" curlanguage bracify * write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+% =======================================
+%FUNCTION {output.bibitem}
+%{ newline$
+% "\bibitem" write$
+%% author.key.label
+%% year parenthesify *
+%% "; lbl:" label * *
+%% "; mfn:" make.full.names * *
+% label
+% make.full.names *
+% bracketise write$
+% cite$ bracify write$
+% newline$
+% language empty$
+% { "english" 'curlanguage := }
+% {language 'curlanguage := }
+% if$
+% "\selectlanguageifdefined" curlanguage bracify * write$
+% newline$
+% ""
+% before.all 'output.state :=
+%}
+% =======================================
+%</natbib>
+
+% \end{macrocode}
+% \DescribeFunction{n.dashify}
+% \begin{macrocode}
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+% \end{macrocode}
+% \DescribeFunction{word.in}
+% \begin{macrocode}
+FUNCTION {word.in}
+{ bbl.iin
+ " " * }
+
+% \end{macrocode}
+% \DescribeFunction{format.btitle}
+% \begin{macrocode}
+FUNCTION {format.btitle}
+{ title
+}
+
+% \end{macrocode}
+% \DescribeFunction{tie.or.space.connect}
+% \begin{macrocode}
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+% \end{macrocode}
+% \DescribeFunction{tie.connect}
+% Declare function to insert unbreakable space before last word in stack.
+% \begin{macrocode}
+FUNCTION {tie.connect}
+ {"~"
+ swap$ * *
+ }
+
+
+% \end{macrocode}
+% \DescribeFunction{either.or.chec}
+% \begin{macrocode}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{format.bvolume}
+% \begin{macrocode}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.vvol volume tie.connect
+ series empty$
+ 'skip$
+ { bbl.of space.word * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{format.number.series}
+% \begin{macrocode}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { "there's a number but no series in " cite$ * warning$
+ bbl.nnr }
+ {
+ %new.dblslash
+ new.sentence
+ series
+ bbl.nr
+ tie.or.space.connect}
+ if$
+ number tie.or.space.connect
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{is.num}
+% \begin{macrocode}
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+% \end{macrocode}
+% \DescribeFunction{extract.num}
+% \begin{macrocode}
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+%<*debug>
+% \end{macrocode}
+% \DescribeFunction{eng.ord}
+% \begin{macrocode}
+FUNCTION {eng.ord}
+{ duplicate$ "1" swap$ *
+ #-2 #1 substring$ "1" =
+ { bbl.th * }
+ { duplicate$ #-1 #1 substring$
+ duplicate$ "1" =
+ { pop$ bbl.st * }
+ { duplicate$ "2" =
+ { pop$ bbl.nd * }
+ { "3" =
+ { bbl.rd * }
+ { bbl.th * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+%</debug>
+
+% \end{macrocode}
+% \DescribeFunction{convert.edition}
+% \begin{macrocode}
+FUNCTION {convert.edition}
+{ edition
+% edition extract.num "l" change.case$ 's :=
+% s "first" = s "1" = or
+% { bbl.first 't := }
+% { s "second" = s "2" = or
+% { bbl.second 't := }
+% { s "third" = s "3" = or
+% { bbl.third 't := }
+% { s "fourth" = s "4" = or
+% { bbl.fourth 't := }
+% { s "fifth" = s "5" = or
+% { bbl.fifth 't := }
+% { s #1 #1 substring$ is.num
+% { s eng.ord 't := }
+% { edition 't := }
+% if$
+% }
+% if$
+% }
+% if$
+% }
+% if$
+% }
+% if$
+% }
+% if$
+% t
+}
+
+% \end{macrocode}
+% \DescribeFunction{format.edition}
+% \begin{macrocode}
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+%<!utf8> { convert.edition "l" change.case$ " " * bbl.edition * }
+%<!utf8> { convert.edition "t" change.case$ " " * bbl.edition * }
+%<utf8> { convert.edition " " * bbl.edition * }
+%<utf8> { convert.edition " " * bbl.edition * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+% \end{macrocode}
+% \DescribeFunction{multi.page.check}
+% \begin{macrocode}
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+% \end{macrocode}
+% \DescribeFunction{format.pages}
+% \changes{v1.2c}{18 Jan 2015}{entry field \texttt{eid} added}
+% \begin{macrocode}
+%%FUNCTION {format.pages}
+%%{ pages empty$
+%% { "" }
+%% { pages multi.page.check
+%% { bbl.ppages pages n.dashify tie.connect }
+%% { bbl.ppage pages tie.connect }
+%% if$
+%% }
+%% if$
+%%}
+FUNCTION {format.pages}
+{ eid empty$
+ {
+ pages empty$
+ { "" }
+ { pages multi.page.check
+ { bbl.ppages pages n.dashify tie.connect }
+ { bbl.ppage pages tie.connect }
+ if$
+ }
+ if$
+ }
+ { eid multi.page.check
+ { bbl.ppages eid n.dashify tie.connect }
+ { bbl.ppage eid tie.connect }
+ if$
+ }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{format.pages.page}
+% \changes{v1.2c}{18 Jan 2015}{entry field \texttt{eid} added}
+% \changes{v1.2b}{19 Jan 2014}{entry field \texttt{numpages} renamed to \texttt{pagetotal}}
+% \begin{macrocode}
+%%FUNCTION {format.pages.page}
+%%{ pages empty$
+%% { pagetotal empty$
+%% { "" }
+%% { pagetotal bbl.pages tie.connect }
+%% if$}
+%% { format.pages}
+%% if$
+%%}
+FUNCTION {format.pages.page}
+{ eid empty$
+ { pages empty$
+ { pagetotal empty$
+ { "" }
+ { pagetotal bbl.pages tie.connect }
+ if$
+ }
+ { format.pages}
+ if$
+ }
+ { format.pages }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{format.vol.num.pages}
+% \begin{macrocode}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ {
+ ", no." number tie.or.space.connect *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ": " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{format.volume}
+% \begin{macrocode}
+FUNCTION {format.volume}
+{ volume empty$
+ { "" }
+ { bbl.vvol volume tie.or.space.connect }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{format.number}
+% \begin{macrocode}
+FUNCTION {format.number}
+{ number empty$
+ { "" }
+ { bbl.nr number tie.or.space.connect }
+ if$
+}
+
+%<*debug>
+% \end{macrocode}
+% \DescribeFunction{format.chapter.pages}
+% \begin{macrocode}
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+%</debug>
+
+% \end{macrocode}
+% \DescribeFunction{empty.misc.check}
+% \begin{macrocode}
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{format.thesis.type}
+% \begin{macrocode}
+%FUNCTION {format.thesis.type}
+%{ type empty$
+% 'skip$
+% { pop$
+%%<!utf8> bbl.thesis.type "t" change.case$
+%%<utf8> bbl.thesis.type
+% }
+% if$
+%}
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ bbl.thesis.type
+ }
+ if$
+}
+% \end{macrocode}
+% \DescribeFunction{format.techrep.type.number}
+% Function to format report type and number.
+% \begin{macrocode}
+%FUNCTION {format.techrep.type.number}
+%{ type empty$
+% { bbl.techreport }
+% 'type
+% if$
+% number empty$
+%%<!utf8> { "t" change.case$ }
+%%<utf8> { "" }
+% { number tie.or.space.connect }
+% if$
+%}
+
+FUNCTION {format.techreport.type}
+{ type empty$
+ { bbl.techreport }
+ 'type
+ if$
+}
+
+% \end{macrocode}
+%
+% \DescribeFunction{author.before}
+% Declare the function |author.before| to format list
+% of authors in heading of a bibliographic record.
+% If the number of authors is 4 or larger, some styles skip
+% the list of authors in the beginning of the bibliographic
+% record, while other styles always print that list.
+% So, we need two version of |author.before|.
+%
+% First version is used if \file{.bst} style is compiled without option
+% |long|. It skips authors if their number is greater than or equal to 4
+% or if the author field is empty. Note that GOST requires for a long list of
+% authors to be reduced. Hence this first version is preferable.
+% Note also that |format.names| cuts list of names
+% to 4 person at most in case if |modern| option is used. and |format.authors|
+% just emphasizes |format.names|.
+% \begin{macrocode}
+%<*!long>
+FUNCTION {author.before}
+{
+ author empty$
+ 'skip$
+ {author num.names$ #4 <
+ {format.authors output
+ new.sentence}
+ 'skip$
+ if$}
+ if$
+}
+%</!long>
+% \end{macrocode}
+% Second version is used if \file{.bst} style is compiled with the option
+% |long|. It skips only if the author field is empty.
+% \begin{macrocode}
+%<*long>
+FUNCTION {author.before}
+{
+ author empty$
+ 'skip$
+ { format.authors output
+ new.sentence
+ }
+ if$
+}
+%</long>
+
+% \end{macrocode}
+% \DescribeFunction{bookauthor.before}
+% There are also 2 version of the function |bookauthor.before|.
+% Not used anymore!
+% \begin{macrocode}
+%%<*!long>
+%%FUNCTION {bookauthor.before}
+%%{
+%% bookauthor empty$
+%% 'skip$
+%% {bookauthor num.names$ #4 <
+%% {format.bookauthors output
+%% new.sentence}
+%% 'skip$
+%% if$}
+%% if$
+%%}
+%%</!long>
+%%<*long>
+%%FUNCTION {bookauthor.before}
+%%{
+%% bookauthor empty$
+%% 'skip$
+%% { format.bookauthors output
+%% new.sentence
+%% }
+%% if$
+%%}
+%%</long>
+
+% \end{macrocode}
+%
+% \DescribeFunction{author.after}
+% Functions |author.after| and |bookauthor.after| also have by 2 versions.
+% They are used to write authors list after the title followed by a slash.
+% In modern styles, compiled with option |modern|, the list of authors is
+% always cut to at most 4 persons. The cut is performed first by
+% |format.names.rev|, which is called by |format.authors.after|. For old styles,
+% |author.after| just outputs formatted string whereas for new style it
+% skips the string if the number of authors exceeds 3 (and author list is not
+% printed before the title).
+% \begin{macrocode}
+%<*!modern>
+FUNCTION {author.after}
+{
+ author empty$
+ 'skip$
+ {format.authors.after output
+ new.semicolon }
+ if$
+}
+%</!modern>
+%<*modern>
+%<*!long>
+FUNCTION {author.after}
+{
+ author empty$
+ 'skip$
+ {author num.names$ #3 >
+ {format.authors.after output
+ new.semicolon }
+ 'skip$
+ if$}
+ if$
+}
+%</!long>
+%<*long>
+FUNCTION {author.after} { }
+%</long>
+%</modern>
+
+% \end{macrocode}
+% \DescribeFunction{bookauthor.after}
+% This function is used only in |inbook| entry. It always cuts list to 4 persons
+% since |format.bookauthors.after| does that.
+% \begin{macrocode}
+FUNCTION {bookauthor.after}
+{
+ bookauthor empty$
+ 'skip$
+ {format.bookauthors.after output
+ new.semicolon }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{editor.organization.after}
+% \begin{macrocode}
+FUNCTION {editor.organization.after}
+{
+ compiler empty$
+ {}
+ { format.compiler.after output
+ new.semicolon
+ }
+ if$
+ editor empty$
+ {}
+ { format.editors.after output
+ new.semicolon
+ }
+ if$
+ organization empty$
+ {}
+ {organization output
+ new.semicolon
+ }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{format.url}
+% \changes{v0.8}{06 Jun 2003}{macro \cs{BibUrl} added}
+% \begin{macrocode}
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ {
+%<!(modern|strict)> "\BibUrl{ " url * "}" *
+%<modern|strict> bbl.url ": \BibUrl{" * url * "}" *
+ urldate empty$
+ { "" }
+ { " (" bbl.urldate * ": " * urldate * ")" * }
+ if$ *
+ }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{output.url}
+% \begin{macrocode}
+FUNCTION {output.url}
+{
+ url empty$
+ 'skip$
+ { format.url output }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{format.annote}
+% \changes{v0.8}{06 Jun 2003}{macro \cs{BibAnnote} added}
+% \begin{macrocode}
+FUNCTION {format.annote}
+{ annote empty$
+ { "" }
+ { after.sentence 'output.state :=
+ "\BibAnnote{" annote add.period$ * "}" *
+ }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{format.isbn}
+% Do we really need to provide electronic search for ISNB?
+% \begin{macrocode}
+FUNCTION {format.isbn}
+{
+ isbn empty$
+ { "" }
+ { "ISBN:~\href{http://isbndb.com/search-all.html?kw=" isbn *
+ "}{" * isbn * "}" *
+ }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{add.doi}
+% The Digital Object Identifier (DOI) System is for identifying content
+% objects in the digital environment. DOI names are assigned to any entity
+% for use on digital networks. They are used to provide current information,
+% including where they (or information about them) can be found on the
+% Internet. Information about a digital object may change over time,
+% including where to find it, but its DOI name will not change.
+%
+% Function |add.doi| embraces last string in stack into hyperlink
+% that links it to specified |doi| identificator at http://dx.doi.org/ web-site.
+% \begin{macrocode}
+%<*eprint>
+FUNCTION {add.doi}
+{ duplicate$ empty$
+ 'skip$
+ { doi empty$
+ 'skip$
+ { "\href{http://dx.doi.org/" doi * "}{" * swap$ * "}" * }
+ if$
+ }
+ if$
+}
+%</eprint>
+% \end{macrocode}
+% If \file{.bst} style is compiled without |eprint| option, we just ignore
+% |doi| field.
+% \begin{macrocode}
+%<*!eprint>
+FUNCTION {add.doi} { }
+%</!eprint>
+
+% \end{macrocode}
+% \DescribeFunction{add.media}
+% New in version 1.2. Adds |media| field if |strict| options is in effect.
+% If the |media| field is empty |add.media| prints a value based on the |type|
+% field. If the |type| is also empty |add.media| prints equivalent of the
+% word |text| in current language.
+% \begin{macrocode}
+%<*!strict>
+FUNCTION {add.media}
+{ duplicate$ empty$
+ 'skip$
+ { media empty$
+ 'skip$
+ { " " * bbl.media enclose.square.brackets * }
+ if$
+ }
+ if$
+}
+%</!strict>
+%<*strict>
+FUNCTION {add.media}
+{ duplicate$ empty$
+ 'skip$
+ { media empty$
+ { " " * bbl.media.text enclose.square.brackets * }
+ { " " * bbl.media enclose.square.brackets * }
+ if$
+ }
+ if$
+}
+%</strict>
+
+% \end{macrocode}
+%
+% \subsection{Electronic Publishing Information}
+%
+% The biblatex package provides three fields for electronic publishing
+% information: |eprint|, |eprinttype|, and |eprintclass|. The |eprint| field
+% is a verbatim field similar to |doi| which holds the identifier of the item.
+% The |eprinttype| field holds the resource name, i. e., the name of the
+% site or electronic archive. Optional |eprintclass| field is intended
+% for additional information specific to the resource indicated by the
+% |eprinttype| field. This could be a section, a path, classification
+% information, etc. If the |eprinttype| field is available, the standard styles
+% will use it as a literal label. In the following example, they would print
+% ``Resource: identifier'' rather than the generic ``eprint: identifier'':
+% \begin{verbatim}
+% eprint = {identifier},
+% eprinttype = {Resource},
+% \end{verbatim}
+%
+% \DescribeFunction{format.eprint}
+% The electronic identifier of an online publication.
+% This is roughly comparable to a |doi| but specific to a certain archive,
+% repository, service, or system.
+% Also see eprinttype and eprintclass.
+%
+% This function should use url. TO BE DONE YET.
+% \changes{v1.2}{26 Jan 2012}{entry fields \texttt{eprint}, \texttt{eprintclass}, \texttt{eprinttype}}
+% \begin{macrocode}
+%<*eprint>
+%FUNCTION {format.eprint}
+%{ eprint empty$
+% { "" }
+% { eprintclass empty$
+% { " \href{http://arxiv.org/abs/" eprint * "}" * "{" * eprint * "}" * }
+% { eprinttype empty$
+% { " \href{http://arxiv.org/abs/" eprint * "}" *
+% "{" * eprintclass * "/" * eprint * "}" *
+% }
+% { " \href{http://arxiv.org/abs/" eprint * "}" *
+% "{" * eprinttype * ":" * eprintclass * "/" * eprint * "}" *
+% }
+% if$}
+% if$}
+%if$}
+
+%FUNCTION {format.eprint}
+%{ eprint empty$
+% { "" }
+% { eprinttype empty$
+% { "" }
+% { eprinttype "~: " *}
+% if$
+% eprintclass empty$
+% { }
+% { eprintclass * "/" *}
+% if$
+% eprint *
+% }
+% if$
+% url empty$
+% { }
+% { "\href{" url * "}{" * swap$ * "}" *}
+% if$
+%}
+
+FUNCTION {format.eprint}
+{ eprint empty$
+ { "" }
+ { eprinttype empty$
+ { "" }
+ { eprinttype "~: " *}
+ if$
+ eprintclass empty$
+ { }
+ { eprintclass * "/" *}
+ if$
+ url empty$
+ { eprint * }
+ { "\href{" * url * "}{" * eprint * "}" *}
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.eprint.url}
+{
+ eprint empty$
+ { format.url output }
+ { format.eprint output }
+ if$
+}
+
+%</eprint>
+
+%<*!eprint>
+FUNCTION {output.eprint.url}
+{
+ format.url output
+}
+%</!eprint>
+
+% \end{macrocode}
+%
+% Functions added in v1.2f to format patent entry (thanks to Stanislav Kruchinin).
+%
+% \changes{v1.2f}{12 Jul 2016}{entry field \texttt{patent} added}
+% \DescribeFunction{add.number}
+% \begin{macrocode}
+FUNCTION {add.number}
+{ duplicate$ empty$
+ { "" }
+ { bbl.nr swap$ tie.or.space.connect }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{format.type.number}
+% \begin{macrocode}
+FUNCTION {format.type.number}
+{
+ type empty$
+ { "" }
+ {
+ number empty$
+ { "" }
+ { type number tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{format.requestdate}
+% \begin{macrocode}
+FUNCTION {format.requestdate}
+{ requestdate empty$
+ { "" }
+ { bbl.req requestdate tie.or.space.connect }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{format.publicationdate}
+% \begin{macrocode}
+FUNCTION {format.publicationdate}
+{ publicationdate empty$
+ { "" }
+ { bbl.publ publicationdate tie.or.space.connect }
+ if$
+}
+
+% \end{macrocode}
+% \DescribeFunction{format.prioritydate}
+% \begin{macrocode}
+FUNCTION {format.prioritydate}
+{ prioritydate empty$
+ { "" }
+ { bbl.priority prioritydate tie.or.space.connect }
+ if$
+}
+
+% \end{macrocode}
+%
+% \subsection{Entry types}
+%
+% Text below in this section is borrowed from biblatex manual. Not every
+% field listed below is actually supported by GOST styles. So description
+% below should be considered as a goal or a feature request.
+%
+% The lists below indicate the fields supported by each entry type.
+% Note that the mapping of fields to an entry type is ultimately at the
+% discretion of the bibliography style. The lists below therefore serve
+% two purposes. They indicate the fields supported by the standard styles
+% which ship with this package and they also serve as a model for custom
+% styles. Note that the required fields are not strictly required
+% in all cases. The fields marked as optional
+% are optional in a technical sense. Bibliographical formatting rules
+% usually require more than just the required fields. The standard
+% styles will generally not perform any formal validity checks, but
+% custom styles may do so. Generic fields like abstract and annotation
+% or label and shorthand are not included in the lists below because they
+% are independent of the entry type.
+%
+% \subsubsection{Regular Types}
+%
+% \DescribeFunction{article}
+% An article in a journal, magazine, newspaper, or other periodical which forms a
+% self-contained unit with its own title. The title of the periodical is given in the
+% journaltitle field. If the issue has its own title in addition to the main title of
+% the periodical, it goes in the issuetitle field. Note that editor and related fields
+% refer to the journal while translator and related fields refer to the article.
+%
+% Required fields: author, title, journaltitle, year/date.
+%
+% Optional fields: translator, annotator, commentator, subtitle, titleaddon,
+% editor, editora, editorb, editorc, journalsubtitle, issuetitle,
+% issuesubtitle, language, origlanguage, series, volume, number, eid, issue,
+% month, pages, version, note, issn, addendum, pubstate, doi, eprint,
+% eprintclass, eprinttype, url, urldate.
+% \begin{macrocode}
+FUNCTION {article}
+{
+ output.bibitem
+ author.before
+%<natbib> author format.key output
+ format.title add.media "title" output.check
+ new.slash
+ author.after
+ new.dblslash
+ journal emphasize add.doi "journal" output.check % new in v.2
+ new.block
+ format.date "year" output.check
+ new.block
+ format.volume output
+ format.number output
+ new.block
+ format.pages.page output
+ new.block
+ note output
+ new.sentence
+% format.url output
+ output.eprint.url
+ format.annote output
+ fin.entry
+}
+
+% \end{macrocode}
+% \DescribeFunction{book}
+% A single-volume book with one or more authors where the authors share credit for
+% the work as a whole. In biblatex, this entry type also covers the function
+% of the |@inbook| type of traditional BibTeX.
+%
+% Required fields: author, title, year/date.
+%
+% Optional fields: editor, editora, editorb, editorc, translator, annotator,
+% commentator, introduction, foreword, afterword, subtitle, titleaddon,
+% maintitle, mainsubtitle, maintitleaddon, language, origlanguage, volume,
+% part, edition, volumes, series, number, note, publisher, location, isbn,
+% chapter, pages, pagetotal, addendum, pubstate, doi, eprint, eprintclass,
+% eprinttype, url, urldate.
+% \begin{macrocode}
+FUNCTION {book}
+{
+ output.bibitem
+ author.before
+%<natbib> author format.key output
+ format.btitle add.doi add.media "title" output.check
+ new.slash
+ author.after
+ editor.organization.after
+ new.sentence
+ format.number.series output
+ new.block
+ format.edition output
+ new.block
+ output.address.publisher
+ format.date "year" output.check
+ new.block
+ format.bvolume output
+ new.block
+ format.pages.page output
+ new.block
+%<eprint> format.isbn output
+%<eprint> new.block
+ note output
+ new.sentence
+% format.url output
+ output.eprint.url
+ format.annote output
+ fin.entry
+}
+
+% \end{macrocode}
+% \DescribeFunction{booklet}
+% A book-like work without a formal publisher or sponsoring institution. Use the
+% field howpublished to supply publishing information in free format, if applicable.
+% The field type may be useful as well.
+%
+% Required fields: author/editor, title, year/date.
+%
+% Optional fields: subtitle, titleaddon, language, howpublished, type, note,
+% location, chapter, pages, pagetotal, addendum, pubstate, doi, eprint,
+% eprintclass, eprinttype, url, urldate.
+%
+% \begin{macrocode}
+FUNCTION {booklet}
+{
+ output.bibitem
+ author.before
+%<natbib> author format.key output
+ format.title add.doi add.media "title" output.check
+ new.slash
+ author.after
+ editor.organization.after
+ new.block
+ howpublished output
+ address.or.location output
+ format.date "year" output.check
+ new.block
+ note output
+ new.sentence
+% format.url output
+ output.eprint.url
+ format.annote output
+ fin.entry
+}
+
+% \end{macrocode}
+% \DescribeFunction{inbook}
+% A part of a book which forms a self-contained unit with its own title.
+% Note that the profile of this entry type is different from standard BibTeX.
+%
+% Required fields: author, title, booktitle, year/date.
+%
+% Optional fields: bookauthor, editor, editora, editorb, editorc, translator,
+% annotator, commentator, introduction, foreword, afterword, subtitle,
+% titleaddon, maintitle, mainsubtitle, maintitleaddon, booksubtitle,
+% booktitleaddon, language, origlanguage, volume, part, edition, volumes,
+% series, number, note, publisher, location, isbn, chapter, pages, addendum,
+% pubstate, doi, eprint, eprintclass, eprinttype, url, urldate.
+% \begin{macrocode}
+FUNCTION {inbook}
+{
+ output.bibitem
+ author.before
+%<natbib> author format.key output
+ format.btitle add.doi add.media "title" output.check
+ new.slash
+ author.after
+ new.dblslash
+% bookauthor.before
+ booktitle "booktitle" output.check
+ new.slash
+ bookauthor.after
+ editor.organization.after
+ new.block
+ format.edition output
+ new.block
+ format.number.series output
+ new.sentence
+ output.address.publisher
+ format.date "year" output.check
+ new.block
+ format.bvolume output
+ new.block
+ format.pages.page output
+ new.block
+%<eprint> format.isbn output
+%<eprint> new.block
+ note output
+ new.sentence
+% format.url output
+ output.eprint.url
+ format.annote output
+ fin.entry
+}
+
+% \end{macrocode}
+% \DescribeFunction{incollection}
+% A contribution to a collection which forms a self-contained unit with a distinct
+% author and title. The author refers to the title, the editor to the booktitle,
+% i. e., the title of the collection.
+%
+% Required fields: author, editor, title, booktitle, year/date.
+%
+% Optional fields: editora, editorb, editorc, translator, annotator,
+% commentator, introduction, foreword, afterword, subtitle, titleaddon,
+% maintitle, mainsubtitle, maintitleaddon, booksubtitle, booktitleaddon,
+% language, origlanguage, volume, part, edition, volumes, series, number,
+% note, publisher, location, isbn, chapter, pages, addendum, pubstate, doi,
+% eprint, eprintclass, eprinttype, url, urldate.
+% \begin{macrocode}
+FUNCTION {incollection}
+{
+ output.bibitem
+ author.before
+%<natbib> author format.key output
+ new.sentence
+ format.title add.doi add.media "title" output.check
+ new.slash
+ author.after
+ new.dblslash
+ booktitle "booktitle" output.check
+ new.slash
+ editor.organization.after
+ new.block
+ output.address.publisher
+ format.date "year" output.check
+ new.block
+ format.bvolume output
+ format.number.series output
+ new.block
+ format.pages.page output
+ new.block
+ note output
+ new.sentence
+% format.url output
+ output.eprint.url
+ format.annote output
+ fin.entry
+}
+
+% \end{macrocode}
+%
+% \DescribeFunction{proceedings}
+% A single-volume conference proceedings. This type is very similar to @collection.
+% It supports an optional organization field which holds the sponsoring institution.
+% The editor is omissible.
+%
+% Required fields: editor, title, year/date.
+%
+% Optional fields: subtitle, titleaddon, maintitle, mainsubtitle,
+% maintitleaddon, eventtitle, eventdate, venue, language, volume, part,
+% volumes, series, number, note, organization, publisher, location, month,
+% isbn, chapter, pages, pagetotal, addendum, pubstate, doi, eprint,
+% eprintclass, eprinttype, url, urldate.
+% \begin{macrocode}
+FUNCTION {proceedings}
+{
+ output.bibitem
+%<natbib> editor format.key output
+ format.btitle add.doi add.media "title" output.check
+ new.slash
+ editor.organization.after
+ new.block
+ format.bvolume output
+ format.number.series output
+ output.address.publisher
+ format.date "year" output.check
+ new.block
+ note output
+ new.sentence
+% format.url output
+ output.eprint.url
+ format.annote output
+ fin.entry
+}
+
+% \end{macrocode}
+% \DescribeFunction{inproceedings}
+% An article in a conference proceedings. This type is similar to @incollection. It
+% supports an optional organization field.
+%
+% Required fields: author, editor, title, booktitle, year/date.
+%
+% Optional fields: subtitle, titleaddon, maintitle, mainsubtitle,
+% maintitleaddon, booksubtitle, booktitleaddon, eventtitle, eventdate,
+% venue, language, volume, part, volumes, series, number, note, organization,
+% publisher, location, month, isbn, chapter, pages, addendum, pubstate, doi,
+% eprint, eprintclass, eprinttype, url, urldate.
+% \changes{v0.9}{07 Oct 2003}{bug fix in \texttt{@inproceedings} entry type}
+% \begin{macrocode}
+FUNCTION {inproceedings}
+{ output.bibitem
+ author.before
+%<natbib> author format.key output
+ new.sentence
+ format.title add.doi add.media "title" output.check
+ new.slash
+ author.after
+ new.dblslash
+ booktitle "booktitle" output.check
+ new.slash
+ editor.organization.after
+ new.block
+ format.bvolume output
+ format.number.series output
+ new.block
+% address empty$
+% { publisher output
+% format.date "year" output.check
+% }
+% { address output.nonnull
+% new.colon
+% publisher output
+% format.date "year" output.check
+% }
+% if$
+ output.address.publisher
+ format.date "year" output.check
+ new.block
+ format.pages.page output
+ new.block
+ note output
+ new.sentence
+% format.url output
+ output.eprint.url
+ format.annote output
+ fin.entry
+}
+
+% \end{macrocode}
+% \DescribeFunction{manual}
+% Technical or other documentation, not necessarily in printed form. The author or
+% editor is omissible.
+%
+% Required fields: author/editor, title, year/date.
+%
+% Optional fields: subtitle, titleaddon, language, edition, type, series,
+% number, version, note, organization, publisher, location, isbn, chapter,
+% pages, pagetotal, addendum, pubstate, doi, eprint, eprintclass,
+% eprinttype, url, urldate.
+% \begin{macrocode}
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+%<natbib> author format.key output
+ new.block
+ format.btitle add.doi add.media "title" output.check
+ author empty$
+ { organization empty$
+ {
+ address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ {
+ organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ new.sentence
+% format.url output
+ output.eprint.url
+ format.annote output
+ fin.entry
+}
+
+% \end{macrocode}
+% \DescribeFunction{patent}
+% A patent or patent request. The number or record token is given in the number
+% field. Use the |type| field to specify the type and the |location| field to
+% indicate the scope of the patent, if different from the scope implied by the
+% type. Note that the location field is treated as a key list with this entry
+% type.
+%
+% Required fields: author, title, number, year/date.
+%
+% Optional fields: holder, subtitle, titleaddon, type, version, location, note,
+% date, month, year, addendum, pubstate, doi, eprint, eprint class, eprint type,
+% url, urldate.
+% \begin{macrocode}
+FUNCTION {patent}
+{
+ output.bibitem
+% title output.nonnull
+ title add.media output.nonnull
+% add.blank
+% media enclose.square.brackets output % S.Kruchinin's version
+ new.colon
+ format.type.number output
+ add.blank
+ address.or.location output
+ new.colon
+ ipc output
+ new.slash
+ format.authors.after "author" output.check
+ add.blank
+ authorcountry enclose.round.brackets output.nonnull
+%<natbib> author format.key output
+ new.semicolon
+ holder output.nonnull
+ new.semicolon
+ credits output.nonnull
+ new.block
+ requestnumber add.number output
+ new.semicolon
+ format.requestdate output
+ new.semicolon
+ format.publicationdate output
+ publication output
+ new.semicolon
+ format.prioritydate output
+ prioritynumber output
+ prioritycountry enclose.round.brackets output
+ new.block
+ note output
+ new.sentence
+ output.url
+ format.annote output
+ new.block
+ pagetotal output
+ fin.entry
+}
+
+% \end{macrocode}
+% \DescribeFunction{misc}
+% A fallback type for entries which do not fit into any other category. Use the field
+% howpublished to supply publishing information in free format, if applicable. The
+% field type may be useful as well. author, editor, and year are omissible.
+%
+% Required fields: author/editor, title, year/date.
+% \begin{macrocode}
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+%<natbib> author format.key output
+ title howpublished new.sentence.checkb
+ format.title add.media output
+ howpublished new.block.checka
+ howpublished output
+ new.block
+ format.date "year" output.check
+ new.block
+ note output
+ new.sentence
+% format.url output
+ output.eprint.url
+ format.annote output
+ fin.entry
+}
+
+% \end{macrocode}
+% \DescribeFunction{unpublished}
+% A work with an author and a title which has not been formally published, such
+% as a manuscript or the script of a talk. Use the fields howpublished and note to
+% supply additional information in free format, if applicable.
+%
+% Required fields: author, title, year/date.
+%
+% Optional fields: subtitle, titleaddon, language, howpublished, note,
+% location, isbn, date, month, year, addendum, pubstate, url, urldate
+% \begin{macrocode}
+FUNCTION {unpublished}
+{ output.bibitem
+ author.before
+%<natbib> author format.key output
+ format.btitle "title" output.check
+ new.slash
+ author.after
+ editor.organization.after
+ new.block
+ format.date "year" output.check
+ new.block
+ note "note" output.check
+ new.sentence
+% format.url output
+ output.eprint.url
+ format.annote output
+ fin.entry
+}
+
+% \end{macrocode}
+% \DescribeFunction{online}
+% An online resource. Author, editor, and year are omissible.
+% This entry type is intended for sources such as web sites which are intrinsically
+% online resources. Note that all entry types support the url field. For example,
+% when adding an article from an online journal, it may be preferable to use the
+% |@article| type and its url field.
+%
+% Required fields: author/editor, title, year/date, url.
+%
+% Optional fields: subtitle, titleaddon, language, version, note,
+% organization, date, month, year, addendum, pubstate, urldate.
+% \changes{v1.1}{15 Jan 2012}{Entry type \texttt{@online} added}
+% \begin{macrocode}
+FUNCTION {online}
+{ output.bibitem
+ format.authors output
+%<natbib> author format.key output
+ title howpublished new.sentence.checkb
+ format.title add.doi add.media "title" output.check
+% howpublished new.block.checka
+ howpublished new.dblslash.checka
+%<!strict> howpublished output
+%<strict> howpublished enclose.square.brackets output
+ editor.organization.after
+ new.sentence
+ new.block
+ output.address.publisher
+ format.date output
+ new.block
+% format.url output
+ output.eprint.url
+ new.sentence
+ note output
+ format.annote output
+ fin.entry
+}
+
+% \end{macrocode}
+%
+% \DescribeFunction{internet}
+% \DescribeFunction{www}
+% \DescribeFunction{webpage}
+% \DescribeFunction{ielectronic}
+% New in version 2012.02.15.
+% \begin{macrocode}
+FUNCTION {internet} {online}
+FUNCTION {www} {online}
+FUNCTION {webpage} {online}
+FUNCTION {electronic} {online}
+% \end{macrocode}
+%
+% \DescribeFunction{thesis}
+% New in version 2012.02.02.
+%
+% A thesis written for an educational institution to satisfy the requirements for a
+% degree. Use the type field to specify the type of thesis.
+%
+% Required fields: author, title, type, institution, year/date.
+%
+% Optional fields: subtitle, titleaddon, language, note, location, month, isbn,
+% chapter, pages, pagetotal, addendum, pubstate, doi, eprint, eprintclass,
+% eprinttype, url, urldate
+%
+% \changes{v1.2}{02 Feb 2012}{\texttt{@thesis} entry}
+% \begin{macrocode}
+%<*!(modern|strict)>
+FUNCTION {thesis}
+{ output.bibitem
+ format.authors "author" output.check
+%<natbib> author format.key output
+ new.sentence
+ format.btitle "title" output.check
+ new.colon
+ bbl.phdthesis format.thesis.type output.nonnull
+ new.slash
+ %institution "institution" output.check
+ institution.or.school "institution/school" output.check
+ new.block
+ output.address.publisher.date
+ new.block
+ format.pages.page output
+ note output
+ new.sentence
+ format.url output
+ format.annote output
+ fin.entry
+}
+%</!(modern|strict)>
+%<*modern|strict>
+FUNCTION {thesis}
+{ output.bibitem
+ format.authors "author" output.check
+%<natbib> author format.key output
+ new.sentence
+ format.btitle add.doi add.media "title" output.check
+ new.colon
+ %%type "type" output.check
+ bbl.phdthesis format.thesis.type output.nonnull
+ new.colon
+ %%number output % code of the speciality
+ specialitycode.or.number output % code of the speciality, new in v.1.2i
+ new.colon
+ titleaddon output % date of defence and approvement; new in v.1.2i
+ new.slash
+ format.authors.after output
+ new.semicolon
+ %institution "institution" output.check
+ institution.or.school "institution/school" output.check
+ new.block
+ output.address.publisher
+ format.date "year" output.check
+ new.block
+ format.pages.page output
+ new.block
+ note output
+ new.sentence
+% format.url output
+ output.eprint.url
+ format.annote output
+ fin.entry
+}
+%</modern|strict>
+
+% \end{macrocode}
+%
+% \DescribeFunction{report}
+% New in version 2012.02.02.
+%
+% A technical report, research report, or white paper published by a university or
+% some other institution. Use the type field to specify the type of report. The sponsoring
+% institution goes in the institution field.
+%
+% Required fields: author, title, type, institution, year/date.
+%
+% Optional fields: subtitle, titleaddon, language, number, version, note,
+% location, month, isrn, chapter, pages, pagetotal, addendum, pubstate, doi,
+% eprint, eprintclass, eprinttype, url, urldate.
+% \changes{v1.2}{02 Feb 2012}{\texttt{@report} entry}
+% \begin{macrocode}
+%FUNCTION {report}
+%{
+% output.bibitem
+% author.before
+% new.sentence
+% format.title add.doi add.media "title" output.check
+% new.colon
+%% format.techrep.type.number output.nonnull
+% type "type" output.check
+% new.slash
+% author.after
+% editor.organization.after
+% new.block
+% address output
+% new.colon
+% institution "institution" output.check
+% format.date "year" output.check
+% new.block
+% note output
+% new.block % v.2
+% format.pages.page output % v.2
+% new.sentence
+%% format.url output
+% output.eprint.url
+% format.annote output
+% fin.entry
+%}
+FUNCTION {report}
+{
+ output.bibitem
+% author.before
+% new.sentence
+ format.title add.doi add.media "title" output.check
+%<natbib> title format.key output
+ new.colon
+% format.techrep.type.number output.nonnull
+% type "type" output.check
+% format.report.type.number "type" output.check
+ type "type" output.check
+ new.colon
+ number output
+ new.slash
+ %institution "institution" output.check
+ institution.or.school "institution/school" output.check
+ new.semicolon
+ format.chief.after output % from editor field
+ new.semicolon
+ format.executor.after output % from author field
+ new.block
+ address.or.location output
+ new.colon
+ organization output
+ format.date "year" output.check
+ new.block % v.2
+ format.pages.page output % v.2
+ new.sentence % или new.block ?
+ output.eprint.url
+ new.block
+ note output
+ format.annote output
+ fin.entry
+}
+
+% \end{macrocode}
+%
+% \subsubsection{Type Aliases}
+%
+% The entry types listed in this section are provided for backwards compatibility
+% with traditional BibTeX styles. These aliases are resolved by BibTeX as the data is
+% exported. Bibliography styles will see the entry type the alias points to, not the
+% alias name. All unknown entry types are generally exported as @misc.
+%
+% \DescribeFunction{phdthesis}
+% Similar to @thesis except that the type field is optional and defaults to the localized
+% term `PhD thesis'. You may still use the type field to override that.
+% \begin{macrocode}
+%<*!(modern|strict)>
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.sentence
+ format.btitle "title" output.check
+ new.colon
+ bbl.phdthesis format.thesis.type output.nonnull
+ new.slash
+ %institution "institution" output.check
+ institution.or.school "institution/school" output.check
+ new.block
+ output.address.publisher.date
+ new.block
+ format.pages.page output
+ note output
+ new.sentence
+ format.url output
+ format.annote output
+ fin.entry
+}
+%</!(modern|strict)>
+%<*modern|strict>
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+%<natbib> author format.key output
+ new.sentence
+ format.btitle add.doi add.media "title" output.check
+ new.colon
+ bbl.phdthesis format.thesis.type output.nonnull
+ new.colon
+ %%number output % code of the speciality
+ specialitycode.or.number output % code of the speciality, new in v.1.2i
+ new.colon
+ titleaddon output % date of defence and approvement; new in v.1.2i
+ new.slash
+ format.authors.after output
+ new.semicolon
+ %institution "institution" output.check
+ institution.or.school "institution/school" output.check
+ new.block
+ output.address.publisher
+ format.date "year" output.check
+ new.block
+ format.pages.page output
+ new.block
+ note output
+ new.sentence
+% format.url output
+ output.eprint.url
+ format.annote output
+ fin.entry
+}
+%</modern|strict>
+
+% \end{macrocode}
+% \DescribeFunction{mastersthesis}
+% Similar to |@thesis| except that the type field is optional and defaults to the localized
+% term `Master's thesis'. You may still use the type field to override that.
+% \changes{v1.2i}{29 Dec 2016}{entry \texttt{@MastersThesis} added again (see v1.1)}
+% \begin{macrocode}
+%<*!(modern|strict)>
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+%<natbib> author format.key output
+ new.sentence
+ format.btitle "title" output.check
+ new.colon
+ bbl.mathesis format.thesis.type output.nonnull
+ new.slash
+ %institution "institution" output.check
+ institution.or.school "institution/school" output.check
+ new.block
+ output.address.publisher.date
+ new.block
+ format.pages.page output
+ note output
+ new.sentence
+ format.url output
+ format.annote output
+ fin.entry
+}
+%</!(modern|strict)>
+%<*modern|strict>
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+%<natbib> author format.key output
+ new.sentence
+ format.btitle add.doi add.media "title" output.check
+ new.colon
+ bbl.mathesis format.thesis.type output.nonnull
+ new.colon
+ %%number output % code of the speciality
+ specialitycode.or.number output % code of the speciality, new in v.1.2i
+ new.colon
+ titleaddon output % date of defence and approvement; new in v.1.2i
+ new.slash
+ format.authors.after output
+ new.semicolon
+ %institution "institution" output.check
+ institution.or.school "institution/school" output.check
+ new.block
+ output.address.publisher
+ format.date "year" output.check
+ new.block
+ format.pages.page output
+ new.block
+ note output
+ new.sentence
+% format.url output
+ output.eprint.url
+ format.annote output
+ fin.entry
+}
+%</modern|strict>
+
+% \end{macrocode}
+% \DescribeFunction{docthesis}
+% Similar to |@thesis| except that the type field is optional and defaults to the localized
+% term `Doctor's of sciences thesis'. You may still use the type field to override that.
+% \changes{v1.2i}{02 Jan 2017}{\texttt{@dscithesis} entry renamed to \texttt{@docthesis}}
+% \begin{macrocode}
+%<*!(modern|strict)>
+FUNCTION {docthesis}
+{ output.bibitem
+ format.authors "author" output.check
+%<natbib> author format.key output
+ new.sentence
+ format.btitle "title" output.check
+ new.colon
+ bbl.docthesis format.thesis.type output.nonnull
+ new.slash
+ %institution "institution" output.check
+ institution.or.school "institution/school" output.check
+ new.block
+ output.address.publisher.date
+ new.block
+ format.pages.page output
+ note output
+ new.sentence
+ format.url output
+ format.annote output
+ fin.entry
+}
+%</!(modern|strict)>
+%<*modern|strict>
+FUNCTION {docthesis}
+{ output.bibitem
+ format.authors "author" output.check
+%<natbib> author format.key output
+ new.sentence
+ format.btitle add.doi add.media "title" output.check
+ new.colon
+ bbl.docthesis format.thesis.type output.nonnull
+ new.colon
+ %%number output % code of the speciality
+ specialitycode.or.number output % code of the speciality, new in v.1.2i
+ new.colon
+ titleaddon output % date of defence and approvement; new in v.1.2i
+ new.slash
+ format.authors.after output
+ new.semicolon
+ %institution "institution" output.check
+ institution.or.school "institution/school" output.check
+ new.block
+ output.address.publisher
+ format.date "year" output.check
+ new.block
+ format.pages.page output
+ new.block
+ note output
+ new.sentence
+% format.url output
+ output.eprint.url
+ format.annote output
+ fin.entry
+}
+%</modern|strict>
+
+% \end{macrocode}
+% \DescribeFunction{conference}
+% \begin{macrocode}
+FUNCTION {conference} { inproceedings }
+
+% \end{macrocode}
+%
+% \DescribeFunction{techreport}
+% TechReport is similar to |@report| except that the |type| field is optional
+% and defaults to the localized term `technical report'.
+% You may still use the type field to override that.
+% \begin{macrocode}
+%FUNCTION {techreport}
+%{
+% output.bibitem
+% author.before
+% new.sentence
+% format.title add.doi add.media "title" output.check
+% new.colon
+% format.techrep.type.number output.nonnull
+% new.slash
+% author.after
+% editor.organization.after
+% new.block
+% address output
+% new.colon
+% institution "institution" output.check
+% format.date "year" output.check
+% new.block
+% note output
+% new.block % v.2
+% format.pages.page output % v.2
+% new.sentence
+%% format.url output
+% output.eprint.url
+% format.annote output
+% fin.entry
+%}
+
+FUNCTION {techreport}
+{
+ output.bibitem
+% author.before
+% new.sentence
+ format.title add.doi add.media "title" output.check
+%<natbib> title format.key output
+ new.colon
+% format.techrep.type.number output.nonnull
+% type "type" output.check
+% format.report.type.number "type" output.check
+% type output
+ format.techreport.type output
+ new.colon
+ number output
+ new.slash
+ %institution "institution" output.check
+ institution.or.school "institution/school" output.check
+ new.semicolon
+ format.chief.after output % from editor field
+ new.semicolon
+ format.executor.after output % from author field
+ new.block
+ address.or.location output
+ new.colon
+ organization output
+ format.date "year" output.check
+ new.block % v.2
+ format.pages.page output % v.2
+ new.sentence % или new.block ?
+ output.eprint.url
+ new.block
+ note output
+ format.annote output
+ fin.entry
+}
+
+% \end{macrocode}
+% \DescribeFunction{default.type}
+% \begin{macrocode}
+FUNCTION {default.type} { misc }
+
+% \end{macrocode}
+%
+% \subsection{Month Abbreviations}
+% Borrowed from \file{merlin.mbs} of package \pkg{custom-bib}. This is done for
+% backward compatibility with standard .bst styles which are designed for English.
+% The string in the definition of any month macro must coincide with that used in
+% |format.month| function in the above.
+% \changes{v1.2d}{18 Feb 2016}{\cs{bbljan} etc. macros removed}
+% \begin{macrocode}
+MACRO {jan} {"Jan."}
+MACRO {feb} {"Feb."}
+MACRO {mar} {"Mar."}
+MACRO {apr} {"Apr."}
+MACRO {may} {"May"}
+MACRO {jun} {"Jun."}
+MACRO {jul} {"Jul."}
+MACRO {aug} {"Aug."}
+MACRO {sep} {"Sep."}
+MACRO {oct} {"Oct."}
+MACRO {nov} {"Nov."}
+MACRO {dec} {"Dec."}
+% \end{macrocode}
+%
+% \subsection{Journal Abbreviations}
+%
+% \subsubsection{Physics and astronomy}
+%
+% Borrowed from \file{physjour.mbs} of package \pkg{custom-bib}.
+% \begin{macrocode}
+MACRO {aa}{"Astron. \& Astrophys."}
+MACRO {aasup}{"Astron. \& Astrophys. Suppl. Ser."}
+MACRO {aj} {"Astron. J."}
+MACRO {aph} {"Acta Phys."}
+MACRO {advp} {"Adv. Phys."}
+MACRO {ajp} {"Amer. J. Phys."}
+MACRO {ajm} {"Amer. J. Math."}
+MACRO {amsci} {"Amer. Sci."}
+MACRO {anofd} {"Ann. Fluid Dyn."}
+MACRO {am} {"Ann. Math."}
+MACRO {ap} {"Ann. Phys. (NY)"}
+MACRO {adp} {"Ann. Phys. (Leipzig)"}
+MACRO {ao} {"Appl. Opt."}
+MACRO {apl} {"Appl. Phys. Lett."}
+MACRO {app} {"Astroparticle Phys."}
+MACRO {apj} {"Astrophys. J."}
+MACRO {apjsup} {"Astrophys. J. Suppl."}
+MACRO {apss} {"Astrophys. Space Sci."}
+MACRO {araa} {"Ann. Rev. Astron. Astrophys."}
+MACRO {baas} {"Bull. Amer. Astron. Soc."}
+MACRO {baps} {"Bull. Amer. Phys. Soc."}
+MACRO {cmp} {"Comm. Math. Phys."}
+MACRO {cpam} {"Commun. Pure Appl. Math."}
+MACRO {cppcf} {"Comm. Plasma Phys. \& Controlled Fusion"}
+MACRO {cpc} {"Comp. Phys. Comm."}
+MACRO {cqg} {"Class. Quant. Grav."}
+MACRO {cra} {"C. R. Acad. Sci. A"}
+MACRO {fed} {"Fusion Eng. \& Design"}
+MACRO {ft} {"Fusion Tech."}
+MACRO {grg} {"Gen. Relativ. Gravit."}
+MACRO {ieeens} {"IEEE Trans. Nucl. Sci."}
+MACRO {ieeeps} {"IEEE Trans. Plasma Sci."}
+MACRO {ijimw} {"Interntl. J. Infrared \& Millimeter Waves"}
+MACRO {ip} {"Infrared Phys."}
+MACRO {irp} {"Infrared Phys."}
+MACRO {jap} {"J. Appl. Phys."}
+MACRO {jasa} {"J. Acoust. Soc. America"}
+MACRO {jcp} {"J. Comp. Phys."}
+MACRO {jchp} {"J. Chem. Phys."}
+MACRO {jetp} {"Sov. Phys.--JETP"}
+MACRO {jfe} {"J. Fusion Energy"}
+MACRO {jfm} {"J. Fluid Mech."}
+MACRO {jmp} {"J. Math. Phys."}
+MACRO {jne} {"J. Nucl. Energy"}
+MACRO {jnec} {"J. Nucl. Energy, C: Plasma Phys., Accelerators, Thermonucl. Res."}
+MACRO {jnm} {"J. Nucl. Mat."}
+MACRO {jpc} {"J. Phys. Chem."}
+MACRO {jpp} {"J. Plasma Phys."}
+MACRO {jpsj} {"J. Phys. Soc. Japan"}
+MACRO {jsi} {"J. Sci. Instrum."}
+MACRO {jvst} {"J. Vac. Sci. \& Tech."}
+MACRO {nat} {"Nature"}
+MACRO {nature} {"Nature"}
+MACRO {nedf} {"Nucl. Eng. \& Design/Fusion"}
+MACRO {nf} {"Nucl. Fusion"}
+MACRO {nim} {"Nucl. Inst. \& Meth."}
+MACRO {nimpr} {"Nucl. Inst. \& Meth. in Phys. Res."}
+MACRO {np} {"Nucl. Phys."}
+MACRO {npb} {"Nucl. Phys. B"}
+MACRO {nt/f} {"Nucl. Tech./Fusion"}
+MACRO {npbpc} {"Nucl. Phys. B (Proc. Suppl.)"}
+MACRO {inc} {"Nuovo Cimento"}
+MACRO {nc} {"Nuovo Cimento"}
+MACRO {pf} {"Phys. Fluids"}
+MACRO {pfa} {"Phys. Fluids A: Fluid Dyn."}
+MACRO {pfb} {"Phys. Fluids B: Plasma Phys."}
+MACRO {pl} {"Phys. Lett."}
+MACRO {pla} {"Phys. Lett. A"}
+MACRO {plb} {"Phys. Lett. B"}
+MACRO {prep} {"Phys. Rep."}
+MACRO {pnas} {"Proc. Nat. Acad. Sci. USA"}
+MACRO {pp} {"Phys. Plasmas"}
+MACRO {pop} {"Phys. Plasmas"}
+MACRO {ppcf} {"Plasma Phys. \& Controlled Fusion"}
+MACRO {phitrsl} {"Philos. Trans. Roy. Soc. London"}
+MACRO {prl} {"Phys. Rev. Lett."}
+MACRO {pr} {"Phys. Rev."}
+MACRO {physrev} {"Phys. Rev."}
+MACRO {pra} {"Phys. Rev. A"}
+MACRO {prb} {"Phys. Rev. B"}
+MACRO {prc} {"Phys. Rev. C"}
+MACRO {prd} {"Phys. Rev. D"}
+MACRO {pre} {"Phys. Rev. E"}
+MACRO {ps} {"Phys. Scripta"}
+MACRO {procrsl} {"Proc. Roy. Soc. London"}
+MACRO {rmp} {"Rev. Mod. Phys."}
+MACRO {rsi} {"Rev. Sci. Inst."}
+MACRO {science} {"Science"}
+MACRO {sciam} {"Sci. Am."}
+MACRO {sam} {"Stud. Appl. Math."}
+MACRO {st} {"Sky and Telesc."}
+% \end{macrocode}
+%
+% \subsubsection{Supplementary Journal Names}
+%
+% Borrowed from \file{suppjour.mbs} of package \pkg{custom-bib}.
+% \begin{macrocode}
+MACRO {cjp} {"Czech. J. Phys."}
+MACRO {el} {"Europhys. Lett."}
+MACRO {en} {"Europhys. News"}
+MACRO {fujitsustj} {"FUJITSU Sci. Tech. J."}
+MACRO {ieeeed} {"IEEE Trans. Electron Devices"}
+MACRO {ieeeim} {"IEEE Trans. Instrum. Meas."}
+MACRO {ieeejqe} {"IEEE J. Quantum Electron."}
+MACRO {ieeem} {"IEEE Trans. Magn."}
+MACRO {ieeeptl} {"IEEE Photonic Technol. Lett."}
+MACRO {ieeeuffc} {"IEEE Trans. Ultrason., Ferroelect., Freq. Cont."}
+MACRO {jem} {"J. Electron. Mater."}
+MACRO {jes} {"J. Electrochem. Soc."}
+MACRO {jetplett} {"JETP Lett."}
+MACRO {jjap} {"Japan. J. Appl. Phys."}
+MACRO {jpha} {"J. Phys. A: Math. Gen."}
+MACRO {jphb} {"J. Phys. B: At. Mol. Opt. Phys."}
+MACRO {jphbold} {"J. Phys. B: At. Mol. Phys."}
+MACRO {jphc} {"J. Phys.: Condens. Matter"}
+MACRO {jphcold} {"J. Phys. C: Solid State Phys."}
+MACRO {jphd} {"J. Phys. D: Appl. Phys."}
+MACRO {jvsta} {"J. Vac. Sci. Technol. A"}
+MACRO {jvstb} {"J. Vac. Sci. Technol. B"}
+MACRO {me} {"Microelectron. Eng."}
+MACRO {necrd} {"NEC Res.{\&} Develop."}
+MACRO {pa} {"Physica A"}
+MACRO {pb} {"Physica B"}
+MACRO {pc} {"Physica C"}
+MACRO {pd} {"Physica D"}
+MACRO {procieee} {"Proc. IEEE"}
+MACRO {procspie} {"Proc. SPIE"}
+MACRO {pssa} {"Phys. Stat. Sol. A"}
+MACRO {pssb} {"Phys. Stat. Sol. B"}
+MACRO {rpp} {"Rep. Progr. Phys."}
+MACRO {sm} {"Synthet. Metal"}
+MACRO {sost} {"Solid State Technol."}
+MACRO {ss} {"Surf. Sci."}
+MACRO {ssc} {"Solid State Commun."}
+MACRO {sst} {"Semicond. Sci. Technol."}
+MACRO {suplatt} {"Superlatt. Microstr."}
+MACRO {sust} {"Supercond. Sci. Technol."}
+MACRO {znat} {"Z. Naturforsch."}
+% \end{macrocode}
+%
+% \subsubsection{Optics}
+%
+% Borrowed from \file{photjour.mbs}.
+% \begin{macrocode}
+MACRO {appopt} {"Appl. Opt."}
+MACRO {bell} {"Bell Syst. Tech. J."}
+MACRO {ell} {"Electron. Lett."}
+MACRO {jasp} {"J. Appl. Spectr."}
+MACRO {jqe} {"IEEE J. Quantum Electron."}
+MACRO {jlwt} {"J. Lightwave Technol."}
+MACRO {jmo} {"J. Mod. Opt."}
+MACRO {josa} {"J. Opt. Soc. America"}
+MACRO {josaa} {"J. Opt. Soc. Amer.~A"}
+MACRO {josab} {"J. Opt. Soc. Amer.~B"}
+MACRO {jdp} {"J. Phys. (Paris)"}
+MACRO {oc} {"Opt. Commun."}
+MACRO {ol} {"Opt. Lett."}
+MACRO {os} {"Opt. Spectrosc."}
+MACRO {phtl} {"IEEE Photon. Technol. Lett."}
+MACRO {pspie} {"Proc. Soc. Photo-Opt. Instrum. Eng."}
+MACRO {vr} {"Vision Res."}
+MACRO {zph} {"Z. f. Physik"}
+MACRO {zphb} {"Z. f. Physik~B"}
+MACRO {zphd} {"Z. f. Physik~D"}
+% \end{macrocode}
+%
+% \subsubsection{Physics of condensed Matter}
+%
+% \begin{macrocode}
+MACRO {sse} {"Solid-State Electron."}
+MACRO {pss} {"Phys. Sol. State"}
+MACRO {nl} {"Nano Lett."}
+% \end{macrocode}
+%
+% \subsubsection{Soviet and Russian journals}
+% To be extended.
+% \begin{macrocode}
+MACRO {sjpp} {"Sov. J. Plasma Phys."}
+MACRO {spd} {"Sov. Phys.--Doklady"}
+MACRO {sptp} {"Sov. Phys.--Tech. Phys."}
+MACRO {spu} {"Sov. Phys.--Uspekhi"}
+%<!utf8>MACRO {ufn} {"\CYRU\CYRF\CYRN"}
+%<utf8>MACRO {ufn} {"УФÐ"}
+MACRO {pu} {"Phys.--Uspekhi"}
+MACRO {sjot} {"Sov. J. Opt. Technol."}
+MACRO {sjqe} {"Sov. J. Quantum Electron."}
+MACRO {sleb} {"Sov. Phys.--Leb. Inst. Rep."}
+MACRO {stph} {"Sov. Phys.--Techn. Phys."}
+MACRO {stphl}{"Sov. Techn. Phys. Lett."}
+% \end{macrocode}
+%
+% \subsection{Main cycle}
+%
+% \begin{macrocode}
+
+READ
+
+% \end{macrocode}
+%
+% \subsection{Sorting}
+%
+% Next chunk of code governs sorting reference list by authors' names and
+% titles.
+% \begin{macrocode}
+%<*sort|natbib>
+
+% \end{macrocode}
+% \DescribeFunction{sortify}
+% \begin{macrocode}
+FUNCTION {sortify}
+{ purify$
+%<!utf8> "l" change.case$
+}
+%</sort|natbib>
+
+% \end{macrocode}
+% \DescribeFunction{sort.format.names}
+% \begin{macrocode}
+%<*sort>
+%% =====================================
+%% This version from old Gost package
+%%<*!natbib>
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr
+ "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ %{ bbl.etal * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+%%</!natbib>
+%% This version from plainnat.bst
+%% It ignores second and subsequent authors but include year.
+%%<*natbib>
+%FUNCTION {sort.format.names}
+%{ 's :=
+% #1 'nameptr :=
+% ""
+% s num.names$ 'numnames :=
+% numnames 'namesleft :=
+% { namesleft #0 > }
+% {
+% s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+% nameptr #1 >
+% {
+% " " *
+% namesleft #1 = t "others" = and
+% { "zzzzz" * }
+% { numnames #2 > nameptr #2 = and
+% { "zz" * year field.or.null * " " * }
+% 'skip$
+% if$
+% t sortify *
+% }
+% if$
+% }
+% { t sortify * }
+% if$
+% nameptr #1 + 'nameptr :=
+% namesleft #1 - 'namesleft :=
+% }
+% while$
+%}
+%%</natbib>
+%% =====================================
+
+% \end{macrocode}
+% \DescribeFunction{sort.format.title}
+% \begin{macrocode}
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word % Removes "The " if any
+ chop.word % Removes "An " if any
+ chop.word % Removes "A " if any
+ sortify
+ #1 global.max$ substring$
+}
+
+% \end{macrocode}
+% \DescribeFunction{author.sort}
+% \begin{macrocode}
+%% =====================================
+%% This version from old gost package.
+%%
+%<*!natbib>
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ {
+ author num.names$ #4 <
+ {author sort.format.names }
+ {title sort.format.title}
+ if$
+ }
+ if$
+}
+%</!natbib>
+%% This version from plainnat.bst
+%<*natbib>
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+%</natbib>
+%% =====================================
+
+% \end{macrocode}
+% \DescribeFunction{author.title.sort}
+% \begin{macrocode}
+%<*!natbib|natbib>
+FUNCTION {author.title.sort}
+{ author empty$
+ { title empty$
+ { key empty$
+ { "to sort, need author, title, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { title sort.format.title }
+ if$
+ }
+ {
+ author num.names$ #4 <
+ {author sort.format.names }
+ {title sort.format.title}
+ if$
+ }
+ if$
+}
+%</!natbib|natbib>
+%<*natbib|natbib>
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+%</natbib|natbib>
+
+
+% \end{macrocode}
+% \DescribeFunction{presort}
+% Function to compute |sort.key$|.
+% What is the space string \verb*|" "| for?
+% \begin{macrocode}
+%<*!natbib>
+FUNCTION {presort}%#1
+{
+ author.title.sort
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+%</!natbib>
+%<*natbib>
+FUNCTION {presort}%#2
+{ calc.label
+ label sortify
+ %author.title.sort
+ " "
+ *
+ % ========= plainnat.bst =========
+% type$ "book" =
+% type$ "inbook" =
+% or
+% 'author.editor.sort
+% { type$ "proceedings" =
+% 'editor.organization.sort
+% { type$ "manual" =
+% 'author.organization.sort
+% 'author.sort
+% if$
+% }
+% if$
+% }
+% if$
+ author.title.sort
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ %cite$
+ title field.or.null sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label *
+ % ================================
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+%</natbib>
+%</sort>
+
+%<*!sort>
+%<*natbib>
+INTEGERS { seq.num }
+
+FUNCTION {init.seq}
+{ #0 'seq.num :=}
+
+EXECUTE {init.seq}
+
+FUNCTION {int.to.fix}
+{ "000000000" swap$ int.to.str$ *
+ #-1 #10 substring$
+}
+
+FUNCTION {presort}%#3
+{
+ calc.label % computes label
+ label sortify % initiates sort.label
+ " "
+ *
+ seq.num #1 + 'seq.num := % advance seq.num
+ seq.num int.to.fix % prepend seq.num with 0s
+ 'sort.label := % set sort.label to seq.num
+ sort.label * % append seq.num to label
+ #1 entry.max$ substring$ % cut if too long
+ 'sort.key$ := % set sort.key$
+}
+%</natbib>
+%</!sort>
+
+%<*sort|natbib>
+ITERATE {presort}
+
+SORT
+
+%</sort|natbib>
+
+% \end{macrocode}
+%
+% \subsection{Bibliography list}
+%
+% We need to find longest label to put in into the argument of
+% the |thebibliography| environment. In case of |natbib| options
+% we also need to compute extra suffix for the |year| field if there two or
+% more entries for given label (=author/editor/organization) in that year.
+%
+% Declare global (external) strings used in calculation of the longest label.
+% \begin{macrocode}
+%<!natbib>STRINGS { longest.label }
+%<natbib>STRINGS { longest.label last.label next.extra }
+
+%<!natbib>INTEGERS { number.label longest.label.width }
+%<natbib>INTEGERS { number.label longest.label.width last.extra.num }
+
+% \end{macrocode}
+%
+% \DescribeFunction{initialize.longest.label}
+% Initialize those string.
+% \begin{macrocode}
+%<*!natbib>
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+%</!natbib>
+%<*natbib>
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+%</natbib>
+
+EXECUTE {initialize.longest.label}
+
+% \end{macrocode}
+%
+% \DescribeFunction{initialize.longest.label}
+% Iterate though the list of entries to compute |label|.
+% \begin{macrocode}
+%<*!natbib>
+FUNCTION {forward.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+%</!natbib>
+%<*natbib>
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+%</natbib>
+
+ITERATE {forward.pass}
+
+% \end{macrocode}
+%
+% \DescribeFunction{reverse.pass}
+% |Natbib| styles require reverse iteration over all entries.
+% \begin{macrocode}
+%<*natbib>
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+
+REVERSE {reverse.pass}
+
+FUNCTION {bib.sort.order}
+{ sort.label 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT
+%</natbib>
+
+% \end{macrocode}
+% \DescribeFunction{begin.bib}
+% Within |thebibliography| environment we define few formatting macros
+% for user to customize how the reference list is formatted.
+% \changes{v1.2a}{31 Aug 2012}{default for \cs{cyrdash} added}
+% \changes{v0.8}{06 Jun 2003}{macro \cs{BibAnnote} added}
+% \changes{v0.8}{06 Jun 2003}{macro \cs{BibUrl} added}
+% \changes{v0.8}{10 Aug 2003}{macro \cs{BibEmph} added}
+% \begin{macrocode}
+FUNCTION {begin.bib}
+{ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+ "\def\selectlanguageifdefined#1{" write$ newline$
+ "\expandafter\ifx\csname date#1\endcsname\relax" write$ newline$
+% "\else\language\csname l@#1\endcsname\fi}" write$ newline$
+ "\else\selectlanguage{#1}\fi}" write$ newline$
+ "\providecommand*{\href}[2]{{\small #2}}" write$ newline$
+ "\providecommand*{\url}[1]{{\small #1}}" write$ newline$
+ "\providecommand*{\BibUrl}[1]{\url{#1}}" write$ newline$
+ "\providecommand{\BibAnnote}[1]{}" write$ newline$
+ "\providecommand*{\BibEmph}[1]{#1}" write$ newline$
+%<*modern|!modern>
+ %"\ProvideTextCommandDefault{\cyrdash}{---}" write$ newline$
+ %\DeclareUTFcharacter[\UTFencname]{x2014}{\cyrdash}
+ %"\let\cyrdash\textemdash" write$ newline$
+ %"\ProvideTextCommandDefault{\cyrdash}{\hbox to.8em{--\hss--}}" write$ newline$
+ %"\ProvideTextCommandDefault{\cyrdash}{\textemdash}" write$ newline$
+ "\ProvideTextCommandDefault{\cyrdash}{\iflanguage{russian}{\hbox to.8em{--\hss--}}{\textemdash}}" write$ newline$
+ %%"\ProvideTextCommandDefault{\cyrdash}{%" write$ newline$
+ %%" \iflanguage{russian}{\hbox to.8em{--\hss--}}{%" write$ newline$
+ %%" \iflanguage{ukrainian}{\hbox to.8em{--\hss--}}{\textemdash}}}" write$ newline$
+ "\providecommand*{\BibDash}{\ifdim\lastskip>0pt\unskip\nobreak\hskip.2em plus 0.1em\fi" write$ newline$
+ "\cyrdash\hskip.2em plus 0.1em\ignorespaces}" write$ newline$
+ "\renewcommand{\newblock}{\ignorespaces}" write$ newline$
+%</modern|!modern>
+%<natbib> "\providecommand{\natexlab}[1]{#1}" write$ newline$
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+}
+
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+% \end{macrocode}
+% \DescribeFunction{end.bib}
+% \begin{macrocode}
+FUNCTION {end.bib}
+{ newline$
+% "\catcode`\/=11" write$ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+
+%</bst>
+% \end{macrocode}
+%
+% That's all, Folks!
+%
+% \PrintChanges
+% \Finale
+%
+% \endinput
diff --git a/biblio/bibtex/contrib/gost/source/gost.ins b/biblio/bibtex/contrib/gost/source/gost.ins
new file mode 100644
index 0000000000..e7a41aeab8
--- /dev/null
+++ b/biblio/bibtex/contrib/gost/source/gost.ins
@@ -0,0 +1,81 @@
+ \input docstrip
+
+\keepsilent
+
+\preamble
+
+This file may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either version 1.3
+of this license or (at your option) any later version.
+The latest version of this license is in
+ http://www.latex-project.org/lppl.txt
+and version 1.3 or later is part of all distributions of LaTeX
+version 2005/12/01 or later.
+
+This file has the LPPL maintenance status "maintained".
+Maintained by Igor A. Kotelnikov.
+
+Current version: 1.2j, 2017.01.12
+
+Please, send bug report via e-mail:
+ kia999 at mail dot ru <Igor Kotelnikov>
+or
+ polyama at yahoo dot com <Maksym Polyakov>
+
+\endpreamble
+
+\def\mypostamble{%
+ \MetaPrefix ^^J%
+ \MetaPrefix\space End of file `\outFileName'.%
+ }
+\usepostamble\mypostamble
+\askonceonly
+\generate{%
+%
+% BST styles that mimics obsoleate version of GOST 7.8.0 for bibliographic *records*
+ \file{gost780.bst} {\from{gost.dtx} {bst}}
+%
+% BST styles that mimics GOST 7.1-2003 for bibliographic *catalogs*.
+ \file{gost2003.bst} {\from{gost.dtx} {bst,strict,eprint}}
+%
+% BST styles that mimics GOST 7.0.5-2008 for bibliographic *references*
+ \file{gost2008.bst} {\from{gost.dtx} {bst,modern,eprint}}
+ \file{gost2008l.bst} {\from{gost.dtx} {bst,modern,eprint,long}}
+%
+% Same style with sorting
+ \file{gost780s.bst} {\from{gost.dtx} {bst,sort}}
+%
+ \file{gost2003s.bst} {\from{gost.dtx} {bst,strict,eprint,sort}}
+%
+ \file{gost2008s.bst} {\from{gost.dtx} {bst,modern,eprint,sort}}
+ \file{gost2008ls.bst} {\from{gost.dtx} {bst,modern,eprint,long,sort}}
+% `
+% -----------------------------------------------------------------------------------------
+% Unicode BST styles that mimics obsolete version of GOST 7.8.0 for bibliographic *records*
+% \file{ugost780.bst} {\from{gost.dtx} {bst,utf8}}
+%
+% Unicode BST styles that mimics GOST 7.1-2003 for bibliographic *catalogs*.
+ \file{ugost2003.bst} {\from{gost.dtx} {bst,utf8,strict,eprint}}
+%
+% Unicode BST styles that mimics GOST 7.0.5-2008 for bibliographic *references*
+ \file{ugost2008.bst} {\from{gost.dtx} {bst,utf8,modern,eprint}}
+ \file{ugost2008l.bst} {\from{gost.dtx} {bst,utf8,modern,eprint,long}}
+%
+% Same style with sorting
+% \file{ugost780s.bst} {\from{gost.dtx} {bst,utf8,sort}}
+%
+ \file{ugost2003s.bst} {\from{gost.dtx} {bst,utf8,strict,eprint,sort}}
+%
+ \file{ugost2008s.bst} {\from{gost.dtx} {bst,utf8,modern,eprint,sort}}
+ \file{ugost2008ls.bst} {\from{gost.dtx} {bst,utf8,modern,eprint,longlist,sort}}
+%
+% -----------------------------------------------------------------------------------------
+% Experimental style compatible with natbib package.
+%
+ \file{gost2008n.bst} {\from{gost.dtx} {bst,modern,natbib,eprint}}
+ \file{gost2008ns.bst} {\from{gost.dtx} {bst,modern,natbib,eprint,sort}}
+%
+ \file{ugost2008n.bst} {\from{gost.dtx} {bst,utf8,modern,natbib,eprint}}
+ \file{ugost2008ns.bst} {\from{gost.dtx} {bst,utf8,modern,natbib,eprint,sort}}
+}
+\endbatchfile
diff --git a/biblio/bibtex/contrib/ijqc/README b/biblio/bibtex/contrib/ijqc/README
new file mode 100644
index 0000000000..1352feaf52
--- /dev/null
+++ b/biblio/bibtex/contrib/ijqc/README
@@ -0,0 +1,35 @@
+ijqc.bst is a BibTeX style file to support publication in
+Wiley's International Journal of Quantum Chemistry. It is not in any way
+officially endorsed by the publisher or editors, and provided without
+any warranty one could ever think of.
+
+Source Files:
+
+README - this file here
+ijqc.bst - the main style file. To be copied into a directory where
+ BSTINPUTS will find it. This is the only file that is worth
+ saving.
+mybib.bib - the BibTeX database used in xampl.tex. Some entries are
+ willfully crumpled to expose how bibtex reacts to this; see
+ xampl.blg.
+xampl.tex - the LaTeX source code that demonstrates the references rendered
+ by ijqc.bst
+
+Documentation:
+
+xampl.pdf - the human readable output generated by running
+ bibtex and pdflatex over xampl.tex
+xampl.ps - the human readable output generated by running
+ bibtex and latex over xampl.tex
+makefile - an auxiliary makefile
+
+Temporary Files:
+
+xampl.aux - generated by pdflatex
+xampl.bbl - bibliography generated by bibtex
+xampl.blg - comments (errors, warnings) generated by bibtex
+xampl.log - runtime report generated by pdflatex
+
+
+Richard J. Mathar, http://www.strw.leidenuniv.nl/~mathar
+2006-12-06
diff --git a/biblio/bibtex/contrib/ijqc/ijqc.bst b/biblio/bibtex/contrib/ijqc/ijqc.bst
new file mode 100644
index 0000000000..3f747cd98b
--- /dev/null
+++ b/biblio/bibtex/contrib/ijqc/ijqc.bst
@@ -0,0 +1,1252 @@
+%%% ====================================================================
+%%% @BibTeX-style-file{
+%%% filename = "ijqc.bst",
+%%% version = "1.2",
+%%% date = "December 6, 2006",
+%%% ISO-date = "2006.12.06",
+%%% time = "00:00:00 CET",
+%%% author = "Richard J Mathar",
+%%% address = "Sterrewacht, Universiteit Leiden,
+%%% Postbus 9513,
+%%% 2300RA Leiden,
+%%% The Netherlands",
+%%% telephone = "(+31)71-527-8459",
+%%% FAX = "(+31)71-527-5819",
+%%% email = "mathar %! at !% strw.leidenuniv.nl (Internet)",
+%%% copyright = " This generated file can be redistributed and/or
+%%% modified under the terms of the LaTeX Project Public
+%%% License Distributed from CTAN archives in directory
+%%% macros/latex/base/lppl.txt; either version 1 of the
+%%% License, or any later version.",
+%%% codetable = "ISO/ASCII",
+%%% keywords = "bibtex, bibliography, Wile, IJQC",
+%%% abstract = "BibTeX bibliography style `ijqc' for BibTeX
+%%% versions 0.99a or later and LaTeX version 2e.
+%%% Produces items in a form close to the style
+%%% of the International Journal of Quantum Chemistry,
+%%% http://www3.interscience.wiley.com/cgi-bin/jhome/29830.",
+%%% docstring = "Generated with the help of latex makebst.tex.
+%%% To be replaced by any official Wiley file whence available.
+%%% Author names are given with surnames first, followed
+%%% by initials, separated by semicolons. Journal titles
+%%% loose their dots."
+%%% }
+%%% ====================================================================
+
+%%
+%% This is file `ijqc.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `seq-no,nm-rev,ed-rev,aunm-semi,dt-jnl,xmth,jtit-x,jxper,jttl-rm,vnum-x,volp-com,pgsep-s,pp-last,num-xser,jnm-x,btit-rm,bt-rm,pre-pub,blk-com,blknt,pp,ed,abr,ednx,xedn,jabr,amper,xand,em-x,nfss')
+%% ----------------------------------------
+%% *** Int. J. Quantum Chem. ***
+%%
+%% Copyright 1994-2002 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2002/10/21 4.05 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is a numerical citation style, and as such is standard LaTeX.
+ % It requires no extra package to interface to the main text.
+ % The form of the \bibitem entries is
+ % \bibitem{key}...
+ % Usage of \cite is as follows:
+ % \cite{key} ==>> [#]
+ % \cite[chap. 2]{key} ==>> [#, chap. 2]
+ % where # is a number determined by the ordering in the reference list.
+ % The order in the reference list is that by which the works were originally
+ % cited in the text.
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ eprint
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { " " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+FUNCTION {add.comma}
+{ ", " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ skip$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+STRINGS {z}
+FUNCTION {remove.dots}
+{ 'z :=
+ ""
+ { z empty$ not }
+ { z #1 #1 substring$
+ z #2 global.max$ substring$ 'z :=
+ duplicate$ "." = 'pop$
+ { * }
+ if$
+ }
+ while$
+}
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "Eds." }
+
+FUNCTION {bbl.editor}
+{ "Ed." }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "ed." }
+
+FUNCTION {bbl.volume}
+{ "vol." }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "no." }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "In" }
+
+FUNCTION {bbl.pages}
+{ "pp." }
+
+FUNCTION {bbl.page}
+{ "p." }
+
+FUNCTION {bbl.chapter}
+{ "chap." }
+
+FUNCTION {bbl.techrep}
+{ "Tech. Rep." }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"Jun."}
+
+MACRO {jul} {"Jul."}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sep."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Software Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput. Aid. Des."}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Program."}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Graphic."}
+
+MACRO {toms} {"ACM Trans. Math. Software"}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Progr. Lang. Syst."}
+
+MACRO {tcs} {"Theor. Comput. Sci."}
+
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.eprint}
+{ eprint empty$
+ 'skip$
+ { eprint * add.comma }
+ if$
+}
+STRINGS { bibinfo}
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}{, jj}{, f.}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { "; " * t * }
+ {
+ ";" *
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ { " " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.names.ed}
+{
+ format.names
+}
+FUNCTION {format.authors}
+{ author "author" format.names
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ "," *
+ " " *
+ get.bbl.editor *
+ ";" *
+ }
+ if$
+}
+FUNCTION {format.note}
+{
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ duplicate$ empty$ 'skip$
+ { "t" change.case$ }
+ if$
+ "title" bibinfo.check
+}
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {if.digit}
+{ duplicate$ "0" =
+ swap$ duplicate$ "1" =
+ swap$ duplicate$ "2" =
+ swap$ duplicate$ "3" =
+ swap$ duplicate$ "4" =
+ swap$ duplicate$ "5" =
+ swap$ duplicate$ "6" =
+ swap$ duplicate$ "7" =
+ swap$ duplicate$ "8" =
+ swap$ "9" = or or or or or or or or or
+}
+FUNCTION {n.separate}
+{ 't :=
+ ""
+ #0 'numnames :=
+ { t empty$ not }
+ { t #-1 #1 substring$ if.digit
+ { numnames #1 + 'numnames := }
+ { #0 'numnames := }
+ if$
+ t #-1 #1 substring$ swap$ *
+ t #-2 global.max$ substring$ 't :=
+ numnames #5 =
+ { duplicate$ #1 #2 substring$ swap$
+ #3 global.max$ substring$
+ "\," swap$ * *
+ }
+ 'skip$
+ if$
+ }
+ while$
+}
+FUNCTION {n.dashify}
+{
+ n.separate
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in
+ " " * }
+
+FUNCTION {format.date}
+{
+ ""
+ duplicate$ empty$
+ year "year" bibinfo.check duplicate$ empty$
+ { swap$ 'skip$
+ { "there's a month but no year in " cite$ * warning$ }
+ if$
+ *
+ }
+ { swap$ 'skip$
+ {
+ swap$
+ ", " * swap$
+ }
+ if$
+ *
+ }
+ if$
+}
+FUNCTION {format.btitle}
+{
+ title "title" bibinfo.check
+ %booktitle "booktitle" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { " " * bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ bbl.of space.word * swap$
+ * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { number "number" bibinfo.check }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {first.page}
+{ 't :=
+ ""
+ { t empty$ not t #1 #1 substring$ "-" = not and }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ {
+ bbl.page swap$
+ first.page
+ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ", " *
+ swap$
+ % one of the following: either including or excluding last page
+ %n.dashify
+ first.page
+ "pages" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ "volume" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ { "" }
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+}
+FUNCTION {format.in.ed.booktitle}
+{
+ format.booktitle duplicate$ empty$ 'skip$
+ {
+ editor empty$
+ 'skip$
+ { "; " * format.editors * }
+ if$
+ }
+ if$
+}
+FUNCTION {format.in.booktitle.ed}
+{
+ format.booktitle duplicate$ empty$
+ 'skip$
+ {
+ word.in swap$ *
+ format.bvolume *
+ "; " *
+ editor empty$
+ 'skip$
+ { format.editors * }
+ if$
+ }
+ if$
+}
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ key duplicate$ empty$
+ { pop$
+ journal duplicate$ empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref * warning$ }
+ { "journal" bibinfo.check word.in swap$ * }
+ if$
+ }
+ { word.in swap$ * " " *}
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ "editor" bibinfo.check
+ editor num.names$ duplicate$
+ #2 >
+ { pop$
+ "editor" bibinfo.check
+ " " * bbl.etal
+ *
+ }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ "editor" bibinfo.check
+ " " * bbl.etal
+ *
+ }
+ {
+ " \& "
+ * editor #2 "{vv~}{ll}" format.name$
+ "editor" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { series * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { format.booktitle duplicate$ empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ }
+ { word.in swap$ * }
+ if$
+ }
+ { word.in key * " " *}
+ if$
+ }
+ { word.in format.crossref.editor * " " *}
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ t empty$
+ { address "address" bibinfo.check *
+ }
+ { t *
+ address empty$
+ 'skip$
+ { ": " * address "address" bibinfo.check * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ crossref missing$
+ {
+ journal empty$
+ { add.blank format.eprint
+ }
+ {
+ journal
+ remove.dots
+ "journal" bibinfo.check
+ "journal" output.check
+ add.blank
+ }
+ if$
+
+ format.date "year" output.check
+
+ pages empty$
+ 'skip$
+ { add.comma date.block format.vol.num.pages output
+ }
+ if$
+ }
+ { format.article.crossref output.nonnull
+ }
+ if$
+ format.journal.pages
+ new.sentence
+ format.note output
+ fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ ";" *
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ format.publisher.address output
+ }
+ {
+ format.book.crossref output.nonnull
+ }
+ if$
+ %format.edition output
+ "," *
+ format.date "year" output.check
+ new.sentence
+ format.note output
+ fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ format.title "title" output.check
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ format.date output
+ new.sentence
+ format.note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ 'skip$
+ { format.authors output.nonnull
+ }
+ if$
+ format.in.booktitle.ed output.nonnull
+ crossref missing$
+ {
+ format.number.series output
+ format.publisher.address output
+ }
+ {
+ format.book.crossref output.nonnull
+ }
+ if$
+ ", " *
+ format.date "year" output.check
+ pages empty$
+ 'skip$
+ { "; " * format.pages "pages" output.check
+ }
+ if$
+ new.sentence
+ format.note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.publisher.address output
+ format.bvolume output
+ format.number.series output
+ format.edition output
+ year empty$
+ 'skip$
+ { ", " add.blank format.date * output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ }
+ if$
+ pages empty$
+ 'skip$
+ { "; " * format.pages "pages" output.check }
+ if$
+ new.sentence
+ format.note output
+ fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.bvolume output
+ format.number.series output
+ year empty$
+ 'skip$
+ { add.period$ " " format.date * output }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ }
+ if$
+
+ pages empty$
+ 'skip$
+ { "; " * format.pages "pages" output.check }
+ if$
+ new.sentence
+ format.note output
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization "organization" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { output
+ address "address" bibinfo.check output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ {
+ address "address" bibinfo.check output
+ }
+ 'skip$
+ if$
+ }
+ {
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.sentence
+ format.note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ format.btitle
+ "title" output.check
+ "; " *
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ ", " *
+ format.date "year" output.check
+ new.sentence
+ format.note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ format.title output
+ howpublished "howpublished" bibinfo.check output
+ format.date output
+ new.sentence
+ format.note output
+ fin.entry
+ empty.misc.check
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ format.btitle
+ "title" output.check
+ "; " *
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ ", " *
+ format.date "year" output.check
+ new.sentence
+ format.note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization "organization" bibinfo.check output
+ }
+ { format.editors output.nonnull }
+ if$
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ editor empty$
+ { publisher empty$
+ 'skip$
+ {
+ format.publisher.address output
+ }
+ if$
+ }
+ { publisher empty$
+ {
+ format.organization.address output }
+ {
+ organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ }
+ if$
+ format.date "year" output.check
+ new.sentence
+ format.note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title
+ "title" output.check
+ format.tr.number output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.date "year" output.check
+ new.sentence
+ format.note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ format.date output
+ new.sentence
+ format.note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+READ
+STRINGS { longest.label }
+INTEGERS { number.label longest.label.width }
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+EXECUTE {initialize.longest.label}
+ITERATE {longest.label.pass}
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" *
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `ijqc.bst'.
diff --git a/biblio/bibtex/contrib/ijqc/makefile b/biblio/bibtex/contrib/ijqc/makefile
new file mode 100644
index 0000000000..a533c88566
--- /dev/null
+++ b/biblio/bibtex/contrib/ijqc/makefile
@@ -0,0 +1,45 @@
+.SUFFIXES: .ps .dvi .tex .pdf .gz .eps
+
+.dvi.ps :
+ dvips -K -t letter $*
+ gv $@
+
+.tex.ps :
+ make $*.dvi
+ make $*.ps
+
+.tex.pdf :
+ pdflatex $*
+ - while ( fgrep -s Rerun $*.log ) ; do \
+ pdflatex $* ; \
+ done
+
+.tex.dvi :
+ - until ( latex $* ) ; do \
+ continue ; \
+ done
+ - while ( fgrep -s 'No file $*' $*.log ) ; do \
+ latex $* ; \
+ done
+ - while ( fgrep -s Rerun $*.log ) ; do \
+ latex $* ; \
+ done
+
+all: xampl.pdf
+ acroread -geometry 700x1000 $<
+
+xampl.pdf: xampl.bbl
+ pdflatex xampl
+ - while ( fgrep -s Rerun $*.log ) ; do \
+ pdflatex xampl ; \
+ done
+
+xampl.bbl: xampl.tex mybib.bib
+ # latex xampl
+ pdflatex xampl
+ bibtex -terse xampl
+
+xampl.ps: xampl.dvi xampl.bbl
+
+clean:
+ rm *.bbl *.blg *.dvi *.aux *.log xampl.ps
diff --git a/biblio/bibtex/contrib/ijqc/mybib.bib b/biblio/bibtex/contrib/ijqc/mybib.bib
new file mode 100644
index 0000000000..0d7dee20ff
--- /dev/null
+++ b/biblio/bibtex/contrib/ijqc/mybib.bib
@@ -0,0 +1,1175 @@
+@comment { Created by Richard J. Mathar for the purpose of providing
+ an input to ijqc.bst. Not any source of accurate, reliable or real
+ articles or sources of information.
+}
+
+@article{Abate,
+author = {J. Abate and H. Dubner},
+title = {A new method for generating the power series expansions of functions},
+journal = {SIAM J.\ Numer.\ Anal.},
+volume = 5,
+number = 1,
+year = {1968},
+pages = {102--112}}
+
+@article{AbeAAp374,
+author={L. Abe and F. Vakili and A. Boccaletti},
+title={The achromatic phase knife coronograph},
+journal={Astron.\ Astrophys.},
+volume=374,
+number=3,
+annote={see also Astron Astrophys 400, 385 (2003) for followup lab tests},
+pages={1161},
+year=2001}
+
+@book{AS,
+editor = {Milton Abramowitz and Irene A. Stegun},
+title = {Handbook of Mathematical Functions},
+edition = {9th},
+publisher = {Dover Publications},
+year = {1972},
+isbn = {0-486-61272-4},
+address = {New York}}
+
+@article{Adler1962,
+author={S. L. Adler},
+journal={Phys.\ Rev.},
+volume=126,
+pages=413,
+year=1962}
+
+@article{Adler,
+author={Steven M. Aderl-Golden and Stephen R. Langhoff and Charles W. {Bauschlicher Jr} and Grad D. Carney},
+title={Theoretical calculation of ozone vibrational infrared intensities},
+journal={J. Chem.\ Phys.},
+volume= 83,
+number= 1,
+pages={255--264},
+year=1985}
+
+@inproceedings{AkesonSPIE4006,
+author={Rachel L. Akeson and Mark R. Swain and Mark M. Colavita},
+title={Differential phase technique with the {K}eck Interferometer},
+series={Proc.\ SPIE},
+editor={Pierre J. Lena and Andreas Quirrenbach},
+publisher={Int.\ Soc.\ Optical Engineering},
+booktitle={Interferometry in Optical Astronomy},
+volume=4006,
+pages={321--327},
+year=2000}
+
+@article{AlbrechtTheoChemAcc107,
+author={Martin Albrecht},
+journal={Theor.\ Chem.\ Acc.},
+title={Local-orbital-based correlated ab initio band structure calculations in insulating
+solids: LiF},
+volume=107,
+pages={71--79},
+note = {The last author V. R. Saunders is missing in Ref.\ 36.},
+year=2002}
+
+@inproceedings{AlbrechtSPIE5491,
+author={Simon Albrecht and Eric J. Bakker and Jeroen A. {de Jong} and Robert N. Tubbs and Jeffrey Meisner
+and Rudolf {le Poole}},
+title={Calibration of temperature and relative humidity sensors for
+use on the {VLT}-{I}nterferometer},
+series={Proc.\ SPIE},
+editor={Wesley A. Traub},
+publisher={Int.\ Soc.\ Optical Engineering},
+booktitle={New Frontiers in Stellar Interferometry},
+volume=5491,
+pages={1266--1273},
+year=2004}
+
+@article{AlfaroJCompApplMath99,
+author = {Manuel Alfaro and Mar\'{\i}a Jos\'e Cantero and Leandro Moral},
+title = {Semiorthogonal functions and orthogonal polynomials on the unit circle},
+journal = {J. Comp.\ Appl.\ Math.},
+volume = {99},
+number = 1,
+year = {1998},
+pages = {3--14}}
+
+@inproceedings{AnkerstSIGMOD99,
+author = {Mihael Ankerst and Markus M. Breunig and Hans-Peter Kriegel and J\"org Sander},
+title = {{OPTICS}: Ordering Points To Identify the Clustering Structure},
+booktitle = {Proc. {ACM} {SIGMOD}'99 Int.\ Conf.\ Management of Data},
+year = {1999}}
+
+@article{Arakane,
+author = {Fusanori Arakane and Osamu Matsuoka},
+title = {Recurrence formulas for molecular integrals over {L}aguerre {G}aussian-type functions},
+journal = {Int.\ J. Quant.\ Chem.},
+volume = {66},
+number = 4,
+year = {1998},
+pages = {273--279}}
+
+@article{Archer,
+author={D. G. Archer and P. Wang},
+title={The dielectric constant of Water and {D}ebye-{H}\"uckel Limiting Law Slopes},
+journal={J. Phys.\ Chem.\ Ref.\ Data},
+volume={19},
+pages={371--411},
+year={1990}}
+
+@phdthesis{darcio99,
+author = {L. A. D'Arcio},
+title = {Selected aspects of wide-field stellar interferometry},
+year = 1999,
+school = {Technische Universiteit Delft}
+}
+
+@inproceedings{Avila,
+author={Remy Avila and Elena Masciadri and Leonardo J. S\'anchez and Jean Vernin
+and Alejandro Raga},
+title={Vertical Distribution of Temporal Correlation of Optical Turbulence},
+series={Proc.\ SPIE},
+editor={Peter L. Wizinowich and Domenico Bonaccini},
+publisher={Int.\ Soc.\ Optical Engineering},
+booktitle={Adaptive Optical System Technologies {II}},
+volume=4839,
+pages={792--800},
+year=2002}
+
+
+@article{Baldiniarxiv04,
+author={A. Baldini and C. Bemporad and F. Cei and T. Doke and M. Grassi and
+T. Haruyama and S. Mihara anad T. Mori and D. Nicol\'o and H. Nishiguchi
+and W. Ootani and K. Ozone and A. Papa and R. Pazzi and R. Sawada and F. Sergiampietri and G. Signorelli
+and S. Suzuki and K. Terasawa},
+journal={arXiv:physics/040172},
+title={Liquid {X}e scintiallation calorimetry and {X}e optical properties},
+year=2004}
+
+@inproceedings{BergerSPIE4838,
+author={David H. Berger and Theo A. {ten Brummelaar} and William G. Gagnuolo and
+Harold A. McAlister},
+editor={Wesley A. Traub},
+publisher={Int.\ Soc.\ Optical Engineering},
+title={Preliminary results from the longitudinal disersion compensation system for the {CHARA} array},
+series={Proc.\ SPIE},
+booktitle={Interferometry for Optical Astronomy {II}},
+volume=4838,
+annote={http://spie.org/scripts/toc.pl?volume=4838&journal=SPIE},
+pages={974--982},
+year=2003}
+
+@article{BergerPACS116,
+author={David B. Berger},
+journal=pasp,
+title={Longitudinal Dispersion Compensation for a Long Baseline Optical Interferometer},
+volume=116,
+pages={390--390},
+year=2004}
+
+@article{Biersack82,
+author={Jochen P. Biersack and E. Santer},
+journal={Nucl.\ Instrum.\ Methods},
+volume=198,
+pages=29,
+year=1982}
+
+@unpublished{Blaha,
+author={Peter Blaha},
+note={priv. commun.},
+year=1998}
+
+@article{BoettgerPRB62,
+author={Jonathan C. Boettger},
+journal={Phys.\ Rev.\ B},
+title={Approximate two-electron spin-orbit coupling terms for density-functional theory DFT calculations
+using the Doublas-Kroll-Hess transformation},
+volume=62,
+pages={7809--7815},
+year=2000}
+
+@book{Born,
+author = {Max Born and Emil Wolf},
+title = {Principles of Optics},
+edition = {7th},
+publisher = {Cambridge University Press},
+year = {1999},
+annote={Gorlaeus 33.18 6g},
+address = {Cambridge}
+}
+
+@techreport{Bos,
+author={M. S. Bos and H.-G. Scherneck},
+title={The free ocean tide loading provider},
+year = {2005},
+url={http://www.oso.chalmers.se/~loading}
+}
+
+@book{Bradley1972,
+author={C. J. Bradley and Arthur P. Cracknell},
+title={The Mathematical Theory of the Symmetry in Solids},
+publisher={Clarendon Press},
+address={Oxford},
+year=1972}
+
+
+@phdthesis{buscher88,
+author = {D. F. Buscher},
+title = {Getting the most out of C.O.A.S.T.},
+annote = {available at http://www.mrao.cam.ac.uk/{$\sim$}dfb/publications/dfbphd.pdf},
+year = 1988,
+school = {Cambridge University}
+}
+
+@book{Byrd,
+author = {Paul F. Byrd and Morris D. Friedman},
+title = {Handbook of elliptical Integrals for Engineers and Physicists},
+publisher = {Springer},
+year = {1971},
+edition = {2nd},
+series ={Die Grundlehren der mathematischen Wissenschaften in Einzeldarstellungen},
+volume = {LXVII},
+annote={33A25 217 Snellius Instituut},
+mrnumber={MR0277773 (43 \#3506)},
+address = {Berlin, G\"ottingen}}
+
+@book{Callaway,
+author={Joseph Callaway},
+title={Quantum Theory of ths Solid State},
+publisher={Academic Press},
+address={New York, San Francisco},
+year=1976}
+
+@article{Carleer,
+author={M. Carleer and A. Jenouvrier and A.-C. Vandaele and P. F. Bernath
+and M. F. M\'erienne and R. Colin and N. F. Zobov and O. L. Polyansky and J. Tennyson and V. A. Savin},
+title={The near infrared, visible and near ultraviolet overtone spectrum of water},
+journal={J. Chem.\ Phys.},
+volume=111,
+pages={2444--2450},
+url={http://www.aip.org/pubservs/pas.html},
+year=1999}
+
+@inproceedings{CassaingSPIE4006,
+author={Fr\'ed\'eric Cassaing and Bruno Fleury and Christophe Coudrain and Pierre-Yves Madec and Emmanuel {Di Folco}
+and Andreas Glindemann and Samuel L\'ev{\^e}que},
+title={An optimized fringe tracker for the {VLTI}/{PRIMA} instrument},
+series={Proc.\ SPIE},
+editor={Pierre J. Lena and Andreas Quirrenbach},
+publisher={Int.\ Soc.\ Optical Engineering},
+booktitle={Interferometry in Optical Astronomy},
+annote={doc/spie_2000/4006_17.pdf, http://www.eso.org/projects/vlti/publink/spie_muenchen2000/},
+volume=4006,
+pages={152--163},
+year=2000}
+
+
+@phdthesis{Chagnon,
+author = {Gilles Chagnon},
+title = {Interf\'erom\'etrie stellair dans l'infrarouge en pr\'esence de fon thermnique},
+school = {Observatoire de Paris (section de Meudon)},
+annote={http://tel.ccsd.cnrs.fr/documents/archives0/00/00/41/01/},
+year = 2003}
+
+@inproceedings{ChangSPIE3350,
+author={M. P. J. L. Chang and D. F. Buscher},
+title={Monomode fiber interferometer for single telescopes},
+booktitle={Astronomical Intererometry},
+editor={Robert D. Reasenberg},
+publisher={Int.\ Soc.\ Optical Engineering},
+pages= {2--13},
+series={Proc.\ SPIE},
+volume=3350,
+address="Kona",
+month= "20--28~" # mar,
+year=1998
+}
+
+@techreport{Chance1,
+author={K. Chance and K. W. Jucks and D. G. Johnson and W. A. Traub},
+title={The Smithsonian Astrophysical Observatory Database SAO92},
+url={http://cfa-www.harvard.edu/firs/sao92.html}
+}
+
+@article{Cody,
+author = {W. J. Cody},
+title = {A Survey of Practical Rational and Polynomial Approximation of Functions},
+journal = {SIAM Rev.},
+volume = {12},
+number=3,
+year = {1970},
+mrclass = {65.20 (41.00)},
+mrnumber = {42 \#2627},
+pages = {400--423}}
+
+@inproceedings{Cotton-95,
+author="W. Cotton",
+title="Fringe Fitting",
+organization="Astronomical Society of the Pacific",
+booktitle="Very Long Baseline Interferometry and the VLBA",
+series="ASP Conference Series",
+number=82,
+year=1995,
+pages="189--208"
+}
+
+@manual{binFITS,
+author="W.D. Cotton and D. Tody and W.D. Pence",
+title="Binary Table Extensions to FITS",
+journal="Astron. Astrophys. Suppl. Ser.",
+number=113,
+year=1995,
+pages="159--66"
+}
+
+@incollection{Cotton-97,
+author="W. Cotton",
+title="Very long baseline interferometry",
+booktitle="High Angular Resolution in Astrophysics",
+publisher="Kluwer Academic Publishers",
+series="NATO ASI Series",
+number=501,
+year=1997
+}
+
+@book{Cracknell,
+author={Arthur P. Cracknell},
+title={Group Theory in Solid-State Physics},
+publisher={Taylor \& Francis},
+address={London},
+year=1975}
+
+@incollection{CreathProgOpt26,
+author={Katherine Creath},
+title={Phase-Measuremnt Interferometry Techniques},
+booktitle={TBD},
+volume={XXVI},
+series={Prog.\ Opt.},
+editor={E. Wolf},
+publisher={TBD},
+address={TBD},
+annote={Gorlaeus 14.18},
+year=1988,
+pages={349--393}}
+
+@inproceedings{CubySPIE3355,
+author={J. G. Cuby and D. Bottini and J. P. Picat},
+title={Handling atmospheric dispersion and differential refraction effects in large-field
+multi-objects spectroscopic observations},
+series={Proc.\ SPIE},
+publisher={Int.\ Soc.\ Optical Engineering},
+volume=3355,
+pages={36--47},
+year= 1998}
+
+
+@inproceedings{DerieLC2002,
+author={Fr\'ed\'eric Derie and F. Delplancke and Andreas Glindemann and Samuel L\'ev{\^e}que and
+Serge M\'enardi and Francesco Paresce and Rainer Wilhelm and Krister Wirenstrand},
+title={{PRIMA} technical description and implementation},
+publisher={Lorentz Center, Leiden University},
+booktitle={Hunting for Planets},
+series={workshop Lorentz Center},
+year=2002,
+month=jun}
+
+@book{Derr,
+author = {V. E. Derr},
+title = {Atmospheric Handbook: Atmospheric Data Tables Available on Computer Tape},
+publisher = {World Data Center A for Solar-Terrestrial Physics},
+year = {1984},
+annote={http://nssdc.gsfc.nasa.gov/space/model/atmos/atmos_handbook.html},
+address = {Boulder, CO}}
+
+@book{Dymond,
+author = {J. H. Dymond and Eric Brian Smith},
+title = {The virial coefficients of pure gases and mixtures},
+publisher = {Clarendon Press},
+year = {1980},
+annote={Gorlaeus 33.99},
+address = {Oxford}}
+
+
+@article{EngelbergJOSAA21,
+author={Yaakov M. Engelberg and Shlomo Ruschiin},
+title={Fast method for physica optics propagation of high-numerical-aperture beams},
+journal = {J. Opt.\ Soc.\ Am.\ A},
+volume = {21},
+number = {11},
+pages = {2135--2145},
+year = {2004}
+}
+
+@article{Erickson,
+author={K. E. Erickson},
+year=1962,
+title={Investigation of the invariance of atmospheric dispersion with a long-path refractometer},
+journal={J.\ Opt.\ Soc.\ Am.},
+volume=52,
+number= 7,
+pages={777--780}}
+
+@inproceedings{EsterKDD96,
+author = {Martin Ester and Hans-Pter Kriegel and J\"org Sander and Xiaowei Xu},
+title = {A density-based algorithm for discovering clusters in large spatial
+databases with noise},
+booktitle = {Proc. 2nd Int Conf Konwledge Discovery and Data Mining (KDD-96)},
+year = {1996}}
+
+@book{Evarestov,
+author={R. A. Evarestov and V. P. Smirnov},
+title={Site Symmetry in Crystals},
+series={Springer Series in Solid State Sciences},
+volume=108,
+publisher={Springer},
+address={Berlin, Heidelberg},
+year=1993}
+
+@article{Fliege,
+author = {J\"org Fliege and Ulrike Maier},
+title = {The distribution of points on the sphere and corresponding cubature formulae},
+journal = {IMA J.\ Numer.\ Analysis},
+volume = {19},
+number = 3,
+year = {1999},
+url={http://www.mathematik.uni-dortmund.de/lsx/research/projects/fliege/nodes/nodes.html},
+pages = {317--334}}
+
+
+@inbook{Fugate,
+author={R.\ Q.\ Fugate},
+title={Adaptive Optics},
+booktitle={Handbook of Optics},
+volume={III},
+editor={M.\ Bass},
+publisher={McGraw-Hill},
+address={New York},
+year=2001,
+pages={1.3--1.52}}
+
+@unpublished{GaiWN041210,
+author={Mario Gai},
+title={{PRIMA} {FSU}---Effects of residual atmospheric turbulence on {GD} measurement},
+note={{WN041210}},
+month = "10~" # dec,
+year=2004}
+
+@article{GlindemannASS286,
+author = {A. Glindemann and J. Algomedo and R. Amestica and P. Ballester and
+B. Bauvir and E. Bugue{\~n}o and S. Correia and F. Delgado and F. Delplancke and
+F. Derie and Ph. Duhoux and E. {di Folco} and A. Gennai and B. Gilli and
+P. Giordano and Ph. Gitton and S. Guisard and N. Housen and A. Huxley and P. Kervella
+and M. Kiekebusch and B. Koehler and S. L\'ev\^eque and A. Longinotti
+and S. M\'enardi and S. Morel and F. Paresce and T. {Phan Duc} and A. Richichi
+and M. Sch\"oller and M. Tarenghi and A. Wallander and M. Wittkowski and R. Wilhelm},
+title = {The {VLTI}---A Status Report},
+journal = {Astrophysics and Space Science},
+volume = {286},
+number={1--2},
+pages = {35--44},
+year = 2003}
+
+@techreport{Globalview,
+author={Cooperative Atmospheric Data Integration Project},
+institution={Cooperative Atmospheric Data Integration Project -- Carbon Dioxide},
+title={{GLOBALVIEW}-{CO}$_2$},
+year=2003,
+url={ftp://ftp.cmdl.noaa.gov/ccg/co2/GLOBALVIEW},
+note={ftp://ftp.cmdl.noaa.gov/ccg/co2/GLOBALVIEW},
+}
+
+@article{GlogeAO10,
+author = {D. Gloge},
+title = {Weakly guiding fibers},
+journal = {Appl.\ Opt.},
+volume = 10,
+number = 10,
+pages = {2252--2258},
+year = 1971}
+
+@article{Golek,
+author={F. Golek},
+journal={Phys.\ Status Solidi B},
+volume=177,
+pages={K5},
+year=1993}
+
+@inproceedings{GorhamSPIE3350,
+author={P. W. Gorham},
+title={Optimal filter approach to photon-limited white light fringe
+detection and delay rate estimation in an optical interferometer},
+booktitle={Astronomical Intererometry},
+editor={Robert D. Reasenberg},
+publisher={Int.\ Soc.\ Optical Engineering},
+pages= {116--127},
+series={Proc.\ SPIE},
+volume=3350,
+address="Kona",
+month= "20--28~" # mar,
+year=1998
+}
+
+@book{GR,
+author = {I. Gradstein and I. Ryshik},
+title = {Summen-, {P}rodukt- und {I}ntegraltafeln},
+edition = {1st},
+publisher = {Harri Deutsch},
+year = {1981},
+isbn = {3-87144-350-6},
+mrnumber = {83i:00012},
+note={The numerator of the definition of $\alpha$ in 2.597
+should read $\sqrt{1+p^2}\sin x$, not $\sqrt{1+p^2\sin x}$},
+address = {Thun}}
+
+@book{Green1985,
+author={Robin M. Green},
+title={Spherical Astronomy},
+publisher={Cambridge University Press},
+address={Cambridge, London},
+annote={Gorlaeus 39.19},
+year=1985}
+
+
+@book{Hahn,
+editor={Theo Hahn},
+title={International Tables for Crystallography},
+volume={A},
+publisher={Kluwer Academic Publishers},
+address={Dordrecht, The Netherlands},
+year=2002}
+
+@inproceedings{HardySymp1998,
+author={Bob Hardy},
+title={ITS-90 formulations for vapor pressure, frostpoint temperature, dewpoint temperature,
+and enhancement factors in the range -100 to +100 C},
+booktitle={Proc.\ Third Int.\ Symp.\ on Humidity \& Moisture},
+month = "6~" # apr,
+address={Teddington, London},
+year=1998}
+
+@unpublished{Hase,
+author={Frank Hase},
+year=2003,
+howpublished={priv.\ commun},
+note={priv.\ commun.},
+}
+
+@article{Hasegawa1983,
+author = {Takemitsu Hasegawa and Tatsuo Torii and Ichizo Ninomiya},
+title = {Generalized {C}hebyshev Interpolation and Its Application to Automatic Quadrature},
+journal = {Math.\ Comp.},
+volume = {41},
+number = 164,
+year = {1983},
+mrclass = {65D32 (41A55 65D05)},
+mrnumber = {84m:65037},
+pages = {537--553}}
+
+@phdthesis{Heidmann,
+author = {Paul Scott Heidmann},
+title = {The performance of the epsilon and theta convergence acceleration algorithms},
+school = {North Dakota State University of Agriculture and Applied Science},
+year = 1992}
+
+@inbook{Yarkony,
+author={T. Helgaker and P. R. Taylor},
+title={},
+booktitle={Modern Electronic Structure Theory},
+volume={},
+editor={D. R. Yarkony},
+publisher={World Scientific},
+address={Singapore},
+year=1995,
+pages={chapt.\ 12}}
+
+@article{Helgaker,
+author={T. Helgaker and P. R. Taylor},
+title={On the evaluation of derivatives of {G}aussian integrals},
+journal = {Theor.\ Chim.\ Acta},
+volume = {83},
+number ={3/4},
+year = {1992},
+pages = {177--183}}
+
+@inbook{HerringLN,
+author={C. Herring},
+title={Accidental Degeneracy in the Energy Bands of Crystals},
+pages={240--248},
+series={Lecture Notes and Supplements in Physics},
+publisher={W. A. Benjamin},
+address={New York, Amsterdam},
+editor={Robert S. Knox and Albert Gold},
+year=1964}
+
+@book{Hog,
+editor={Erik H\/og and P. Kenneth Seidelmann},
+title={Astronomy and Astrophysics objectives of sub-milliarcsecond optical astrometry},
+publisher={Kluwer},
+address={Dordrecht},
+series ={IAU Symposium},
+volume = 166,
+annote={Gorlaeus},
+year=1995}
+
+@inproceedings{HogenhuisSPIE4006,
+author={Harm Hogenhuis and Martijn Visser and Gustav Ruwiel and Frans Hommes and Arno Wielders and Arjan Couwenberg},
+title={Test results of the {VLTI} Delay line verification program},
+series={Proc.\ SPIE},
+editor={Pierre J. Lena and Andreas Quirrenbach},
+publisher={Int.\ Soc.\ Optical Engineering},
+booktitle={Interferometry in Optical Astronomy},
+volume=4006,
+pages={198--206},
+year= 2000}
+
+@book{Hurwitz,
+author = {Adolf Hurwitz and R. Courant},
+editor = {J. L. Doob},
+title = {Allgemeine {F}unktionentheorie und elliptische {F}unktionen},
+edition = {4th},
+publisher = {Springer},
+series ={Die {G}rundlehren der {M}athematischen {W}issenschaften in {E}inzeldarstellungen},
+volume = 3,
+year = {1964},
+address = {Berlin, G\"ottingen}}
+
+@article{IdsoJGR74,
+author={Sherwood B. Idso and Ray D. Jackson},
+title={Thermal Radiation from the Atmopshere},
+journal={J. Geophys.\ Res.},
+volume= 74,
+number=23,
+pages={5397-5403},
+year=1969}
+
+@article{Iliev,
+author = {A. I. Iliev and Kh. I. Semerdzhiev},
+title = {Some generalizations of the {C}hebychev Method for Simultaneous Determination of
+All Roots of Polynomial Equations},
+year = {2001},
+eprint = {arXiv:math.NA/0104280},
+journal = {arXiv:math.NA/0104280}
+}
+
+@book{Ince1956,
+author={E. C. Ince},
+title={Ordinary Differential Equations},
+publisher={Dover Publications},
+address={Dover},
+year=1956}
+
+@article{JacquinetJQSRT62,
+author={N. Jacquinet-Husson and E. Ari\'e and J. Ballard and A. Barbe and G. Bjoraker and B. Bonnet and L. R. Brown and C. Camy-Peyret and J. P. Champion and
+A. Ch\'edin and A. Chursin and C. Clerbaux and G. Duxbury and J.-M. Flaud and
+N. Fourri\'e and A. Fayt and G. Graner and R. Gamache and A. Goldman and Vl. Golovko and G. Guelachvili and J. M. Hartmann and J. C. Hilico and J. Hillmann
+and G. Lef\`evre and E. Lellouch and S. N. Mikha\"{\i}lenko and O. V. Naumenko
+and V. Nemtchinov and D. A. Newnham and A. Nikitin and J. Orphal and A. Perrin
+and D. C. Reuter and C. P. Rinsland and L. Rosenmann and L. S. Rothman
+and N. A. Scott and J. Selby and L. N. Sinitsa and J. M. Sirota and A. M. Smith
+and K. M. Smith and Vl. G. Tyuereve and R. H. Tipping and S. Urband and P. Varanasi and M. Weber},
+title={The 1997 spectroscopic {GEISA} databank},
+journal={J.\ Quant.\ Spectr.\ \& Radiat.\ Transfer},
+volume=62,
+number=2,
+pages={205--254},
+year=1999}
+
+@book{Karttunen,
+editor = {H. Karttunen and P. Kr\"oger and H. Oja and M. Poutanen and K. J. Donner},
+title = {Fundamental Astronomy},
+publisher = {Springer},
+year = {1987},
+isbn = {0-387-17264-5},
+address = {Berlin, Heidelberg}}
+
+@article{Khare,
+author = {Avinash Khare and Uday Sukhatme},
+title = {Generalized Landen Transformation Formulas for Jacobi Elliptic Functions},
+year = {2003},
+eprint = {arXiv:math-ph/0312074},
+journal = {arXiv:math-ph/0312074}
+}
+
+@article{Kilbas,
+author = {Anatoly A. Kilbas and Luis Rodr\'{\i}guez and Juan J. Trujillo},
+title = {Asymptotic representations for hypergeometric-{B}essel type function
+and fractional integrals},
+journal = {J.\ Comput.\ Appl.\ Math.},
+volume = {149},
+number =2,
+year = {2002},
+pages = {469--487}}
+
+@inbook{Browder,
+author = {James Steve Browder and Stanley S. Ballard and Paul Klocek},
+editor = {Paul Klocek},
+title = {Physical Properties of Infrared Optical Materials},
+booktitle = {Handbook of Infrared Optical Materials},
+publisher = {Marcel Dekker},
+year = {1991},
+chapter={4},
+pages ={402--405},
+address = {NY, Basel, Hong Kong}}
+
+@article{Klopper,
+author = {W. Klopper and R. R\"ohse},
+title = {},
+journal = {Theor.\ Chim.\ Acta},
+volume = {83},
+year = {1992},
+pages = {441}}
+
+@book{Knopp,
+author = {Konrad Knopp},
+title = {Theorie und {A}nwendung der unendlichen {R}eihen},
+publisher = {Springer},
+edition = {5},
+series ={Die {G}rundlehren der {M}athematischen {W}issenschaften in {E}inzeldarstellungen},
+volume = 2,
+address = {Berlin, G\"ottingen},
+year = {1964}}
+
+@inproceedings{KoehlerSPIE4006,
+author={Bertrand Koehler and Carlo Flebus},
+editor={Pierre J. Lena and Andreas Quirrenbach},
+publisher={Int.\ Soc.\ Optical Engineering},
+title={{VLTI} Auxiliary Telescopes},
+series={Proc.\ SPIE},
+booktitle={Interferometry in Optical Astronomy},
+volume=4006,
+annote={http://www.eso.org/projects/vlti/publink/spie-muenchen2000/, doc/spie_2000/4006_02.pdf},
+pages={13--24},
+year=2000}
+
+@inproceedings{KoehlerSPIE5491,
+author={B. Koehler and M. Kraus and J. M. Moresmau and K. Wirenstrand and M. Duchateau and P. Duhoux
+and R. Karban and C. Flebus and E. Gabriel and O. Pirnay},
+title={The VLTI Auxiliary Telescopes; commissioning of AT1},
+editor={Wesley A. Traub},
+publisher={Int.\ Soc.\ Optical Engineering},
+series={Proc.\ SPIE},
+booktitle={New Frontiers in Stellar Interferometry},
+volume=5491,
+annote={#69},
+pages={600--610},
+year=2004}
+
+
+@book{LAPACK,
+author = {E. Anderson and Z. Bai and C. Bischof and
+S. Blackford and J. Demmel and Jack Dongarra and
+J. Du Croz and A. Greenbaum and S. Hammarling and
+A. McKenney and D. Sorensen},
+title = {{LAPACK} Users' Guide},
+edition = {Third},
+publisher = {Society for Industrial and Applied Mathematics},
+year = {1999},
+address = {Philadelphia, PA},
+isbn = {0-89871-447-8},
+url={http://www.netlib.org/lapack} }
+
+@article{LaiJOSAA8,
+author={Guanming Lai and Toyohiko Yatagai},
+title={Generalized phase-shifting interferomtry},
+journal={J.\ Opt. Soc.\ Am.\ A},
+volume={8},
+number={5},
+pages={822--827},
+year=1991}
+
+@inbook{Landolt,
+volume={III/7a},
+author={W. Pies and A. Weiss},
+title={},
+pages=1,
+chapter={1.1},
+series={Zahlenwerte und Funk\-ti\-onen aus Na\-tur\-wissen\-schaf\-ten
+und Tech\-nik, Neue Serie},
+publisher={Springer},
+address={Berlin},
+year=1973}
+%editor={K. H. Hell\-wege},
+%author={H. Landolt and R. R. B\"ornstein},
+
+
+@inproceedings{SPIE400605,
+author="C. Leinert and U. Graser and L. B. F. M. Waters and others",
+title="0 $\mu$m interferometry on the VLTI with the MIDI instrument: a preview",
+series="Proc. SPIE",
+number= 4006,
+pages="43--53",
+booktitle="Intern.\ Symp.\ Astronomical Telescopes and Instrumentation",
+address="Munich",
+month= "27--31~" # mar,
+year=2000
+}
+
+@book{ASILXXIV,
+editor={M. Lesieur and A Yaglu and F. David},
+title={New Trends in Turbulence},
+publisher={Springer},
+series={NATO Advanced Study Institute},
+number={LXXIV},
+address={Berlin},
+year=2000}
+
+
+@phdthesis{Levthesis,
+author="S. L\'ev\^eque",
+title="M\'ethode et syst\`emes Laser pour l'analyse du trajet
+optique interne du tr\`es grand t\'elescope interferom\`etrique europ\`een VLTI",
+school="Universit\'e Louis Pasteur, Strasbourg",
+month= "15~" # dec,
+year=1997
+}
+
+@techreport{LordNASA1992,
+author={Steven D. Lord},
+institution={{NASA}},
+title={A New software tool for computing
+earth's atmospheric transmission of near- and far-infrared radiation},
+type={{NASA} Technical Memorandum},
+number={103957},
+year=1992,
+url={http://www.gemini.edu/sciops/ObsProcess/obsConstraints/ocTransSpectra.html}
+}
+
+@phdthesis{LukasPhd,
+author={Dirk Lukas},
+title={Ein quantenmechanischer und ortsraumnaher Ansatz f\"ur die dielektrische
+Matrix eines halbunendlichen Kristalls mit realistischer Oberfl\"ache},
+school={Christian-Albrechts-Universit\"at Kiel},
+year=1996}
+
+@book{MO,
+editor = {Wilhelm Magnus and Fritz Oberhettinger and Raj Pal Soni},
+title = {Formulas and Theorems for the Special Functions of Mathematical Physics},
+edition = {3rd},
+publisher = {Springer},
+series ={Die Grundlehren der mathematischen Wissenschaften in Einzeldarstellungen},
+volume = 52,
+year = {1966},
+address = {Berlin, Heidelberg}}
+
+@book{Martensen,
+author = {Erich Martensen},
+title = {Analysis II},
+publisher = {Biblio\-gra\-phi\-sches In\-sti\-tut},
+series ={B I Hoch\-schul\-skrip\-ten},
+volume = 833,
+year = {1969},
+address = {Mannheim}}
+
+@inproceedings{MassonASP59,
+author={Colin R. Masson},
+title={Atmospheric Effects and Calibrators},
+editor={M. Ishiguro and Wm. J. Welch},
+publisher={Astron.\ Soc.\ Pacific},
+series={ASP Conf.\ Ser.},
+booktitle={Astronomy with Millimeter and Submillimeter Wave Interferometry},
+volume=59,
+pages={87--95},
+annote={phase cutoff frequency at 0.01 Hz},
+year=1994}
+
+@phdthesis{MasuiMet34,
+author={R. Masui},
+title={Effect of diffraction in a Saunders-type optical interferometer},
+journal={Metrologia},
+volume=34,
+year=1997,
+pages={125--131}
+}
+
+@phdthesis{MatharPhd,
+author={Richard J. Mathar},
+title={Dielektrische {T}heorie des elektronischen {E}nergieverlustes schwerer {I}onen in {F}estk\"orpern},
+school={Technische {U}niversit\"at Dresden},
+year=1995}
+
+@article{MatharPRB51a,
+author={Richard J. Mathar and Matthias Posselt},
+title={Effective-charge theory for the electronic stopping of heavy ions in solids:
+Stripping criteria and target-electron models},
+journal={Phys.\ Rev.\ B},
+volume=51,
+number=1,
+pages={107--116},
+year=1995}
+
+@article{MatharPRB51b,
+author={Richard J. Mathar and Matthias Posselt},
+title={Electronic stopping of heavy ions in the Kaneko model},
+journal={Phys.\ Rev.\ B},
+volume=51,
+number=22,
+pages={15798--15807},
+year=1995}
+
+@article{MatharREDS145,
+author={Richard J. Mathar},
+title={Protons passing through the homogeneous electron gas: polarization currents, velocities of excited electrons
+and deposited energy density},
+journal={Rad\. Eff.\ Def.\ Sol.},
+volume=145,
+pages={191--211},
+year=1998}
+
+@article{MatharDia,
+author={Richard J. Mathar},
+journal={arXiv:cond-mat/0007153},
+title={Electronic Stopping and Momentum Density of Diamond obtained from first-principles calculations},
+year=2000}
+
+@incollection{MatharAQC45,
+author={Richard J. Mathar and Samuel B. Trickey and John R. Sabin},
+title={Electronic Stopping and Momentum Density of Diamond from First-Principles Treatment of the Microscopic
+Dielectric},
+booktitle={Theory of the Interaction of Swift ions with Matter, Vol.\ 1},
+volume={45},
+series={Advances in Quantum Chemistry},
+editor={Remigio Trujillo-Cabrera and John R. Sabin},
+publisher={Academic Press},
+address={New York},
+year=2004,
+pages={277--288}}
+
+@techreport{McCarthyIERS32,
+author={Dennis D. McCarthy and G\'erard Petit},
+institution={{IERS} Convention Centre},
+title={{IERS} Technical Note No 32},
+year=2003,
+url={http://www.iers.org/iers/publications/tn/tn32/},
+note={http://www.iers.org/iers/publications/tn/tn32/}
+}
+
+@phdthesis{MeisnerPhd,
+author={Jeffrey Meisner},
+title={Estimation and Tracking of Atmospheric Delay Noise in a Long-Baseline Optical Stellar
+Interferometer and Determination of the Expected Estimation Error},
+school={University of Minnesota},
+year=1995,
+pages={i--249}
+}
+
+
+@book{Messiah,
+author={Albert Messiah},
+title={Quantenmechanik},
+volume=1,
+publisher={Walter de Gruyter},
+isbn = {3-11-003686-X},
+address={Berlin, New York},
+year=1976}
+
+@inbook{Moran-76,
+author="J. Moran",
+title="Very Long Baseline Interferometric Observations and Data Reduction",
+booktitle="Methods of experimental physics",
+publisher="Academic Press",
+year=1976,
+pages="235--7"
+}
+
+@article{Nitsche,
+author = {Johannes C. C. Nitsche},
+title = {{\"U}ber die {A}bh\"angigkeit der {T}schebyscheffschen {A}pproximierenden einer
+differenzierbaren {F}unktion vom {I}ntervall},
+journal = {Numer.\ Math.},
+volume = {4},
+year = {1962},
+mrnumber = {26 \#6657},
+pages = {262--276}}
+
+@book{Nussbaumer,
+author = {Henri J. Nussbaumer},
+editor = {Thomas S. Huang},
+title = {Fast {F}ourier Transform and Convolution Algorithms},
+publisher = {Springer},
+series ={Springer Series in Information Sciences},
+volume = 2,
+year = {1981},
+address = {Berlin, Heidelberg, New York}}
+
+@manual{PartrMemo,
+author={H. Partridge},
+title={NASA Technical Memorandum 1.15:101044},
+address={Ames Research Center, Moffett Field},
+year=1989}
+
+@phdthesis{Peetz,
+author={J\"org-Volker Peetz},
+title={Full-Potential Low-Energy Electron Diffraction Applied to {G}a{A}s(110)},
+year=1998,
+school={Chistian-Albrechts-Universit\"at Kiel},
+pages={1--106}
+}
+
+
+@inproceedings{PorroASP194,
+author={Irene L. Porro and U. Graser and Christoph Leinert},
+title={Estimated Performance for 10-micron Interferometry at the {VLTI} with the {MIDI} Instrument},
+organization="Astronomical Society of the Pacific",
+booktitle={Optical and {IR} Interferometry from Ground and Space},
+series="ASP Conference Series",
+number=194,
+year=1999,
+pages="325--330"
+}
+
+@book{Press,
+author = {William H. Press and Saul A. Teukolsky and William T. Vetterling and Brian P. Flannery},
+title = {Numerical Recipes in {C}++},
+publisher = {Cambridge University Press},
+edition = {2nd},
+year = {2002},
+address = {Cambridge}}
+
+@book{Rivlin,
+author = {Theodore J. Rivlin},
+title = {The {C}hebyshev {P}olynomials},
+publisher = {John Wiley},
+address = {New York, London},
+series ={Pure and Applied Mathematics},
+pages = {77},
+mrnumber={MR0450850 (56 \#9142)},
+year = {1974}}
+
+
+@incollection{RoddierProgOpt19,
+author={F. Roddier},
+title={The effects of atmospheric turbulence in optical astronomy},
+booktitle={TBD},
+volume={XIX},
+series={Prog.\ Opt.},
+editor={E. Wolf},
+publisher={TBD},
+address={TBD},
+annote={Gorlaeus 14.18},
+year=1981,
+pages={281--376}}
+
+@phdthesis{Royer,
+author = {Fr\'ed\'eric Royer},
+title = {Contribution \'a l'\'etude des populations d'\'etoiles chaudes
+\'a grande vitesse observ\'ees par Hipparcos},
+school = {Observatoire de Paris {DASGAL}},
+annote={http://tel.ccsd.cnrs.fr/documents/archives0/00/00/35/37/index.html},
+year = 1999}
+
+@techreport{RuegerIAG1999,
+author={J. M. R\"ueger},
+institution={International Association of Geodesy},
+title={Report of the Ad-Hoc Working Party on
+``Refractive indices of light, infrared and radio waves in the atmosphere''
+of the {IAG} Special Commission {SC3}--Fundamental Constants ({SCFC})},
+year=1999,
+url={http://www.gfy.ku.dk/~iag/Travaux\_99/wp51.htm}
+}
+
+@techreport{Sageatbd,
+author={{SAGE} {III} {ATBD}},
+institution={European Southern Observatory},
+title={{SAGE} {III} Algorithm Theoretical Basis Document (ATBD) Water Vapor Products},
+year=2000,
+month = "18~" # feb,
+note ={LaRC 475--00--105}
+}
+
+
+@techreport{Sarazin,
+author={Marc Sarazin},
+institution={European Southern Observatory},
+title={Astroclimatology of Paranal},
+year=2003,
+url={http://www.eso.org/gen-fac/pubs/astclim/paranal}
+}
+
+@incollection{SawadaLNCS2517,
+author={Jun Sawada and Ruben Gamboa},
+title={Mechanical Verification of a Square root algorithm Using Taylor's Theorem},
+booktitle={Formal Methods in Computer-Aided Design: 4th International Conference, FMCAD 2002, Portland, OR,
+USA, November 6--8, 2002},
+series={Lecture Notes in Computer Science},
+volume={2517},
+editor={M. D. Aagaard and J. W. O'Leary},
+publisher={Springer},
+address={Berlin, Heidelberg},
+year=2003,
+pages={274--291}}
+
+@article{EIS,
+author = {Neil J. A. Sloane},
+editor = {Neil J. A. Sloane},
+title = {The On-Line Encyclopedia of Integer Sequences},
+year = {2003},
+annote = {http://www.research.att.com/\char125njas/sequences/},
+eprint = {arXiv:math.CO/0312448}
+}
+
+@incollection{StrohbeinProgOpt9,
+author={John W. Strohbein},
+title={Optical propagation through the turbulent atmosphere},
+booktitle={TBD},
+volume={IX},
+series={Prog.\ Opt.},
+editor={E. Wolf},
+publisher={TBD},
+address={TBD},
+annote={Gorlaeus 14.18},
+year=1971,
+pages={73--122}}
+
+@book{Taff,
+editor = {Laurence G. Taff},
+title = {Computational Spherical Astronomy},
+publisher = {Wiley},
+year = {1980},
+address = {New York, Rochester}}
+
+@incollection{TangoProgOpt17,
+author={William J. Tango and R. Q. Twiss},
+title={Michelson stellar interferometry},
+booktitle={TBD},
+volume={17},
+series={Prog.\ Opt.},
+editor={E. Wolf},
+publisher={TBD},
+address={TBD},
+annote={Gorlaeus 14.18},
+year=1980,
+pages={239--277}}
+
+@phdthesis{Tatulli04,
+author = {Eric Tatulli},
+title = {Traitement du signal en interf\'erom\'etri monomode dans le cadre
+du projet {AMBER}. Application \'a l'observation interf\'erom\'etrique
+de l'environment circumstellaire des \'etoilse jeunes.},
+year = 2004,
+school = {Universit\'e Joseph Fourier, Grenoble}
+}
+
+@book{Wolfl,
+editor = {William L. Wolfl and George J. Zissis},
+title = {The Infrared Handbook},
+edition = {3rd},
+publisher = {Office of Naval Research},
+year = {1989},
+address = {Washington DC}}
+
+
+@article{ZeissMP30,
+author={G. D. Zeiss and William J. Meath},
+title={The H$_2$-H$_2$O dispersion energy constant and the dispersion of the specific refractivity of dilute water vapor},
+journal={Mol.\ Phys.},
+volume=30,
+number=1,
+year=1975,
+pages={161--169}
+}
+
+
+@manual{vlt157530001,
+author="Robert N. Tubbs and Richard J. Mathar",
+title="Astrometric Survey for Extra-Solar Planets with PRIMA, Error Budget for Astrometry",
+note="{VLT-TRE-AOS-15753-0001}",
+month= "18~" # feb,
+year=2005
+}
+
diff --git a/biblio/bibtex/contrib/ijqc/xampl.bbl b/biblio/bibtex/contrib/ijqc/xampl.bbl
new file mode 100644
index 0000000000..e045dcf090
--- /dev/null
+++ b/biblio/bibtex/contrib/ijqc/xampl.bbl
@@ -0,0 +1,459 @@
+\begin{thebibliography}{100}
+
+\bibitem{Adler1962}
+Adler, S.~L. Phys\ Rev 1962, 126, 413.
+
+\bibitem{BoettgerPRB62}
+Boettger, J.~C. Phys\ Rev\ B 2000, 62, 7809.
+
+\bibitem{LaiJOSAA8}
+Lai, G.; Yatagai, T. J\ Opt Soc\ Am\ A 1991, 8, 822.
+
+\bibitem{ZeissMP30}
+Zeiss, G.~D.; Meath, W.~J. Mol\ Phys 1975, 30, 161.
+
+\bibitem{Abate}
+Abate, J.; Dubner, H. SIAM J\ Numer\ Anal 1968, 5, 102.
+
+\bibitem{Arakane}
+Arakane, F.; Matsuoka, O. Int\ J Quant\ Chem 1998, 66, 273.
+
+\bibitem{Archer}
+Archer, D.~G.; Wang, P. J Phys\ Chem\ Ref\ Data 1990, 19, 371.
+
+\bibitem{EngelbergJOSAA21}
+Engelberg, Y.~M.; Ruschiin, S. J Opt\ Soc\ Am\ A 2004, 21, 2135.
+
+\bibitem{Adler}
+Aderl-Golden, S.~M.; Langhoff, S.~R.; {Bauschlicher Jr}, C.~W.; Carney, G.~D. J
+ Chem\ Phys 1985, 83, 255.
+
+\bibitem{AlfaroJCompApplMath99}
+Alfaro, M.; Cantero, M.~J.; Moral, L. J Comp\ Appl\ Math 1998, 99, 3.
+
+\bibitem{GlindemannASS286}
+Glindemann, A.; Algomedo, J.; Amestica, R.; Ballester, P.; Bauvir, B.;
+ Bugue{\~n}o, E.; Correia, S.; Delgado, F.; Delplancke, F.; Derie, F.; Duhoux,
+ P.; {di Folco}, E.; Gennai, A.; Gilli, B.; Giordano, P.; Gitton, P.; Guisard,
+ S.; Housen, N.; Huxley, A.; Kervella, P.; Kiekebusch, M.; Koehler, B.;
+ L\'ev\^eque, S.; Longinotti, A.; M\'enardi, S.; Morel, S.; Paresce, F.; {Phan
+ Duc}, T.; Richichi, A.; Sch\"oller, M.; Tarenghi, M.; Wallander, A.;
+ Wittkowski, M.; Wilhelm, R. Astrophysics and Space Science 2003, 286, 35.
+
+\bibitem{Baldiniarxiv04}
+Baldini, A.; Bemporad, C.; Cei, F.; Doke, T.; Grassi, M.; Haruyama, T.; anad
+ T.~Mori, S.~M.; Nicol\'o, D.; Nishiguchi, H.; Ootani, W.; Ozone, K.; Papa,
+ A.; Pazzi, R.; Sawada, R.; Sergiampietri, F.; Signorelli, G.; Suzuki, S.;
+ Terasawa, K. arXiv:physics/040172 2004.
+
+\bibitem{JacquinetJQSRT62}
+Jacquinet-Husson, N.; Ari\'e, E.; Ballard, J.; Barbe, A.; Bjoraker, G.; Bonnet,
+ B.; Brown, L.~R.; Camy-Peyret, C.; Champion, J.~P.; Ch\'edin, A.; Chursin,
+ A.; Clerbaux, C.; Duxbury, G.; Flaud, J.-M.; Fourri\'e, N.; Fayt, A.; Graner,
+ G.; Gamache, R.; Goldman, A.; Golovko, V.; Guelachvili, G.; Hartmann, J.~M.;
+ Hilico, J.~C.; Hillmann, J.; Lef\`evre, G.; Lellouch, E.; Mikha\"{\i}lenko,
+ S.~N.; Naumenko, O.~V.; Nemtchinov, V.; Newnham, D.~A.; Nikitin, A.; Orphal,
+ J.; Perrin, A.; Reuter, D.~C.; Rinsland, C.~P.; Rosenmann, L.; Rothman,
+ L.~S.; Scott, N.~A.; Selby, J.; Sinitsa, L.~N.; Sirota, J.~M.; Smith, A.~M.;
+ Smith, K.~M.; Tyuereve, V.~G.; Tipping, R.~H.; Urband, S.; Varanasi, P.;
+ Weber, M. J\ Quant\ Spectr\ \& Radiat\ Transfer 1999, 62, 205.
+
+\bibitem{AlbrechtTheoChemAcc107}
+Albrecht, M. Theor\ Chem\ Acc 2002, 107, 71. The last author V. R. Saunders is
+ missing in Ref.\ 36.
+
+\bibitem{EIS}
+Sloane, N. J.~A. arXiv:math.CO/0312448, 2003.
+
+\bibitem{Iliev}
+Iliev, A.~I.; Semerdzhiev, K.~I. arXiv:mathNA/0104280 2001.
+
+\bibitem{Biersack82}
+Biersack, J.~P.; Santer, E. Nucl\ Instrum\ Methods 1982, 198, 29.
+
+\bibitem{Klopper}
+Klopper, W.; R\"ohse, R. Theor\ Chim\ Acta 1992, 83, 441.
+
+\bibitem{Carleer}
+Carleer, M.; Jenouvrier, A.; Vandaele, A.-C.; Bernath, P.~F.; M\'erienne,
+ M.~F.; Colin, R.; Zobov, N.~F.; Polyansky, O.~L.; Tennyson, J.; Savin, V.~A.
+ J Chem\ Phys 1999, 111, 2444.
+
+\bibitem{Fliege}
+Fliege, J.; Maier, U. IMA J\ Numer\ Analysis 1999, 19, 317.
+
+\bibitem{MatharDia}
+Mathar, R.~J. arXiv:cond-mat/0007153 2000.
+
+\bibitem{Cody}
+Cody, W.~J. SIAM Rev 1970, 12, 400.
+
+\bibitem{Nitsche}
+Nitsche, J. C.~C. Numer\ Math 1962, 4, 262.
+
+\bibitem{Hasegawa1983}
+Hasegawa, T.; Torii, T.; Ninomiya, I. Math\ Comp 1983, 41, 537.
+
+\bibitem{Golek}
+Golek, F. Phys\ Status Solidi B 1993, 177, K5.
+
+\bibitem{Helgaker}
+Helgaker, T.; Taylor, P.~R. Theor\ Chim\ Acta 1992, 83, 177.
+
+\bibitem{BergerPACS116}
+Berger, D.~B. 2004, 116, 390.
+
+\bibitem{Wolfl}
+Wolfl, W.~L.; Zissis, G.~J., Eds.; The Infrared Handbook; Office of Naval
+ Research: Washington DC, 1989.
+
+\bibitem{Taff}
+Taff, L.~G., Ed.; Computational Spherical Astronomy; Wiley: New York,
+ Rochester, 1980.
+
+\bibitem{Bradley1972}
+Bradley, C.~J.; Cracknell, A.~P. The Mathematical Theory of the Symmetry in
+ Solids; Clarendon Press: Oxford, 1972.
+
+\bibitem{Callaway}
+Callaway, J. Quantum Theory of ths Solid State; Academic Press: New York, San
+ Francisco, 1976.
+
+\bibitem{Green1985}
+Green, R.~M. Spherical Astronomy; Cambridge University Press: Cambridge,
+ London, 1985.
+
+\bibitem{Ince1956}
+Ince, E.~C. Ordinary Differential Equations; Dover Publications: Dover, 1956.
+
+\bibitem{Nussbaumer}
+Nussbaumer, H.~J. Fast {F}ourier Transform and Convolution Algorithms; vol.~2
+ of Springer Series in Information Sciences Springer: Berlin, Heidelberg, New
+ York, 1981.
+
+\bibitem{Hurwitz}
+Hurwitz, A.; Courant, R. Allgemeine {F}unktionentheorie und elliptische
+ {F}unktionen; vol.~3 of Die {G}rundlehren der {M}athematischen
+ {W}issenschaften in {E}inzeldarstellungen Springer: Berlin, G\"ottingen,
+ 1964.
+
+\bibitem{AS}
+Abramowitz, M.; Stegun, I.~A., Eds.; Handbook of Mathematical Functions; Dover
+ Publications: New York, 1972.
+
+\bibitem{Hog}
+H\/og, E.; Seidelmann, P.~K., Eds.; Astronomy and Astrophysics objectives of
+ sub-milliarcsecond optical astrometry; vol. 166 of IAU Symposium Kluwer:
+ Dordrecht, 1995.
+
+\bibitem{GR}
+Gradstein, I.; Ryshik, I. Summen-, {P}rodukt- und {I}ntegraltafeln; Harri
+ Deutsch: Thun, 1981. The numerator of the definition of $\alpha$ in 2.597
+ should read $\sqrt{1+p^2}\sin x$, not $\sqrt{1+p^2\sin x}$.
+
+\bibitem{Rivlin}
+Rivlin, T.~J. The {C}hebyshev {P}olynomials; Pure and Applied Mathematics John
+ Wiley: New York, London, 1974.
+
+\bibitem{Byrd}
+Byrd, P.~F.; Friedman, M.~D. Handbook of elliptical Integrals for Engineers and
+ Physicists; vol. LXVII of Die Grundlehren der mathematischen Wissenschaften
+ in Einzeldarstellungen Springer: Berlin, G\"ottingen, 1971.
+
+\bibitem{Messiah}
+Messiah, A. Quantenmechanik; vol.~1 Walter de Gruyter: Berlin, New York, 1976.
+
+\bibitem{Karttunen}
+Karttunen, H.; Kr\"oger, P.; Oja, H.; Poutanen, M.; Donner, K.~J., Eds.;
+ Fundamental Astronomy; Springer: Berlin, Heidelberg, 1987.
+
+\bibitem{Evarestov}
+Evarestov, R.~A.; Smirnov, V.~P. Site Symmetry in Crystals; vol. 108 of
+ Springer Series in Solid State Sciences Springer: Berlin, Heidelberg, 1993.
+
+\bibitem{ASILXXIV}
+Lesieur, M.; Yaglu, A.; David, F., Eds.; New Trends in Turbulence; no. LXXIV In
+ NATO Advanced Study Institute Springer: Berlin, 2000.
+
+\bibitem{Martensen}
+Martensen, E. Analysis II; vol. 833 of B I Hoch\-schul\-skrip\-ten
+ Biblio\-gra\-phi\-sches In\-sti\-tut: Mannheim, 1969.
+
+\bibitem{Press}
+Press, W.~H.; Teukolsky, S.~A.; Vetterling, W.~T.; Flannery, B.~P. Numerical
+ Recipes in {C}++; Cambridge University Press: Cambridge, 2002.
+
+\bibitem{MO}
+Magnus, W.; Oberhettinger, F.; Soni, R.~P., Eds.; Formulas and Theorems for the
+ Special Functions of Mathematical Physics; vol.~52 of Die Grundlehren der
+ mathematischen Wissenschaften in Einzeldarstellungen Springer: Berlin,
+ Heidelberg, 1966.
+
+\bibitem{Born}
+Born, M.; Wolf, E. Principles of Optics; Cambridge University Press: Cambridge,
+ 1999.
+
+\bibitem{Derr}
+Derr, V.~E. Atmospheric Handbook: Atmospheric Data Tables Available on Computer
+ Tape; World Data Center A for Solar-Terrestrial Physics: Boulder, CO, 1984.
+
+\bibitem{Dymond}
+Dymond, J.~H.; Smith, E.~B. The virial coefficients of pure gases and mixtures;
+ Clarendon Press: Oxford, 1980.
+
+\bibitem{Hahn}
+Hahn, T., Ed.; International Tables for Crystallography; vol.~A Kluwer
+ Academic Publishers: Dordrecht, The Netherlands, 2002.
+
+\bibitem{Knopp}
+Knopp, K. Theorie und {A}nwendung der unendlichen {R}eihen; vol.~2 of Die
+ {G}rundlehren der {M}athematischen {W}issenschaften in {E}inzeldarstellungen
+ Springer: Berlin, G\"ottingen, 1964.
+
+\bibitem{Moran-76}
+Moran, J. In Methods of experimental physics; Academic Press, 1976; p. 235.
+
+\bibitem{Fugate}
+Fugate, R.~Q. In Handbook of Optics vol. III; Bass, M., Ed.; McGraw-Hill: New
+ York, 2001; p. 1.3.
+
+\bibitem{Yarkony}
+Helgaker, T.; Taylor, P.~R. In Modern Electronic Structure Theory; Yarkony,
+ D.~R., Ed.; World Scientific: Singapore, 1995; p. chapt.\ 12.
+
+\bibitem{Landolt}
+Pies, W.; Weiss, A. Springer: Berlin, 1973; p.~1.
+
+\bibitem{HerringLN}
+Herring, C. Lecture Notes and Supplements in Physics W. A. Benjamin: New York,
+ Amsterdam, 1964; p. 240.
+
+\bibitem{Browder}
+Browder, J.~S.; Ballard, S.~S.; Klocek, P. In Handbook of Infrared Optical
+ Materials; Klocek, P., Ed.; Marcel Dekker: NY, Basel, Hong Kong, 1991; p.
+ 402.
+
+\bibitem{BergerSPIE4838}
+Berger, D.~H.; {ten Brummelaar}, T.~A.; Gagnuolo, W.~G.; McAlister, H.~A.
+ Interferometry for Optical Astronomy {II}; Traub, W.~A., Ed.; Int.\ Soc.\
+ Optical Engineering vol. 4838 of Proc.\ SPIE. 2003; p. 974.
+
+\bibitem{CassaingSPIE4006}
+Cassaing, F.; Fleury, B.; Coudrain, C.; Madec, P.-Y.; {Di Folco}, E.;
+ Glindemann, A.; L\'ev{\^e}que, S. Interferometry in Optical Astronomy; Lena,
+ P.~J.; Quirrenbach, A., Eds.; Int.\ Soc.\ Optical Engineering vol. 4006 of
+ Proc.\ SPIE. 2000; p. 152.
+
+\bibitem{KoehlerSPIE4006}
+Koehler, B.; Flebus, C. Interferometry in Optical Astronomy; Lena, P.~J.;
+ Quirrenbach, A., Eds.; Int.\ Soc.\ Optical Engineering vol. 4006 of Proc.\
+ SPIE. 2000; p.~13.
+
+\bibitem{KoehlerSPIE5491}
+Koehler, B.; Kraus, M.; Moresmau, J.~M.; Wirenstrand, K.; Duchateau, M.;
+ Duhoux, P.; Karban, R.; Flebus, C.; Gabriel, E.; Pirnay, O. New Frontiers in
+ Stellar Interferometry; Traub, W.~A., Ed.; Int.\ Soc.\ Optical Engineering
+ vol. 5491 of Proc.\ SPIE. 2004; p. 600.
+
+\bibitem{PorroASP194}
+Porro, I.~L.; Graser, U.; Leinert, C. Optical and {IR} Interferometry from
+ Ground and Space Astronomical Society of the Pacific no. 194 In ASP
+ Conference Series. 1999; p. 325.
+
+\bibitem{AkesonSPIE4006}
+Akeson, R.~L.; Swain, M.~R.; Colavita, M.~M. Interferometry in Optical
+ Astronomy; Lena, P.~J.; Quirrenbach, A., Eds.; Int.\ Soc.\ Optical
+ Engineering vol. 4006 of Proc.\ SPIE. 2000; p. 321.
+
+\bibitem{MassonASP59}
+Masson, C.~R. Astronomy with Millimeter and Submillimeter Wave Interferometry;
+ Ishiguro, M.; Welch, W.~J., Eds.; Astron.\ Soc.\ Pacific vol.~59 of ASP
+ Conf.\ Ser. 1994; p.~87.
+
+\bibitem{AlbrechtSPIE5491}
+Albrecht, S.; Bakker, E.~J.; {de Jong}, J.~A.; Tubbs, R.~N.; Meisner, J.; {le
+ Poole}, R. New Frontiers in Stellar Interferometry; Traub, W.~A., Ed.; Int.\
+ Soc.\ Optical Engineering vol. 5491 of Proc.\ SPIE. 2004; p. 1266.
+
+\bibitem{Avila}
+Avila, R.; Masciadri, E.; S\'anchez, L.~J.; Vernin, J.; Raga, A. Adaptive
+ Optical System Technologies {II}; Wizinowich, P.~L.; Bonaccini, D., Eds.;
+ Int.\ Soc.\ Optical Engineering vol. 4839 of Proc.\ SPIE. 2002; p. 792.
+
+\bibitem{AnkerstSIGMOD99}
+Ankerst, M.; Breunig, M.~M.; Kriegel, H.-P.; Sander, J. Proc. {ACM} {SIGMOD}'99
+ Int.\ Conf.\ Management of Data. 1999.
+
+\bibitem{SPIE400605}
+Leinert, C.; Graser, U.; Waters, L. B. F.~M.; et~al. Intern.\ Symp.\
+ Astronomical Telescopes and Instrumentation Munich no. 4006 In Proc. SPIE.
+ 2000; p.~43.
+
+\bibitem{CubySPIE3355}
+Cuby, J.~G.; Bottini, D.; Picat, J.~P. Int.\ Soc.\ Optical Engineering vol.
+ 3355 of Proc.\ SPIE. 1998; p.~36.
+
+\bibitem{EsterKDD96}
+Ester, M.; Kriegel, H.-P.; Sander, J.; Xu, X. Proc. 2nd Int Conf Konwledge
+ Discovery and Data Mining (KDD-96). 1996.
+
+\bibitem{ChangSPIE3350}
+Chang, M. P. J.~L.; Buscher, D.~F. Astronomical Intererometry; Reasenberg,
+ R.~D., Ed.; Int.\ Soc.\ Optical Engineering: Kona vol. 3350 of Proc.\ SPIE.
+ 1998; p.~2.
+
+\bibitem{GorhamSPIE3350}
+Gorham, P.~W. Astronomical Intererometry; Reasenberg, R.~D., Ed.; Int.\ Soc.\
+ Optical Engineering: Kona vol. 3350 of Proc.\ SPIE. 1998; p. 116.
+
+\bibitem{DerieLC2002}
+Derie, F.; Delplancke, F.; Glindemann, A.; L\'ev{\^e}que, S.; M\'enardi, S.;
+ Paresce, F.; Wilhelm, R.; Wirenstrand, K. Hunting for Planets Lorentz Center,
+ Leiden University workshop Lorentz Center. 2002.
+
+\bibitem{Cotton-95}
+Cotton, W. Very Long Baseline Interferometry and the VLBA Astronomical Society
+ of the Pacific no.~82 In ASP Conference Series. 1995; p. 189.
+
+\bibitem{SawadaLNCS2517}
+Sawada, J.; Gamboa, R. Formal Methods in Computer-Aided Design: 4th
+ International Conference, FMCAD 2002, Portland, OR, USA, November 6--8, 2002;
+ Aagaard, M.~D.; O'Leary, J.~W., Eds.; Springer: Berlin, Heidelberg vol. 2517
+ of Lecture Notes in Computer Science, 2003; p. 274.
+
+\bibitem{Cotton-97}
+Cotton, W. High Angular Resolution in Astrophysics Kluwer Academic Publishers
+ no. 501 In NATO ASI Series, 1997.
+
+\bibitem{CreathProgOpt26}
+Creath, K. TBD; Wolf, E., Ed.; TBD: TBD vol. XXVI of Prog.\ Opt., 1988; p.
+ 349.
+
+\bibitem{StrohbeinProgOpt9}
+Strohbein, J.~W. TBD; Wolf, E., Ed.; TBD: TBD vol.~IX of Prog.\ Opt., 1971;
+ p.~73.
+
+\bibitem{MatharAQC45}
+Mathar, R.~J.; Trickey, S.~B.; Sabin, J.~R. Theory of the Interaction of Swift
+ ions with Matter, Vol.\ 1; Trujillo-Cabrera, R.; Sabin, J.~R., Eds.; Academic
+ Press: New York vol.~45 of Advances in Quantum Chemistry, 2004; p. 277.
+
+\bibitem{TangoProgOpt17}
+Tango, W.~J.; Twiss, R.~Q. TBD; Wolf, E., Ed.; TBD: TBD vol.~17 of Prog.\
+ Opt., 1980; p. 239.
+
+\bibitem{RoddierProgOpt19}
+Roddier, F. TBD; Wolf, E., Ed.; TBD: TBD vol. XIX of Prog.\ Opt., 1981; p.
+ 281.
+
+\bibitem{MatharPhd}
+Mathar, R.~J. Dielektrische {T}heorie des elektronischen {E}nergieverlustes
+ schwerer {I}onen in {F}estk\"orpern; Ph.D. thesis Technische {U}niversit\"at
+ Dresden, 1995.
+
+\bibitem{Tatulli04}
+Tatulli, E. Traitement du signal en interf\'erom\'etri monomode dans le cadre
+ du projet {AMBER}. Application \'a l'observation interf\'erom\'etrique de
+ l'environment circumstellaire des \'etoilse jeunes.; Ph.D. thesis
+ Universit\'e Joseph Fourier, Grenoble, 2004.
+
+\bibitem{darcio99}
+D'Arcio, L.~A. Selected aspects of wide-field stellar interferometry; Ph.D.
+ thesis Technische Universiteit Delft, 1999.
+
+\bibitem{Heidmann}
+Heidmann, P.~S. The performance of the epsilon and theta convergence
+ acceleration algorithms; Ph.D. thesis North Dakota State University of
+ Agriculture and Applied Science, 1992.
+
+\bibitem{Levthesis}
+L\'ev\^eque, S. M\'ethode et syst\`emes Laser pour l'analyse du trajet optique
+ interne du tr\`es grand t\'elescope interferom\`etrique europ\`een VLTI;
+ Ph.D. thesis Universit\'e Louis Pasteur, Strasbourg, 1997.
+
+\bibitem{MasuiMet34}
+Masui, R. Effect of diffraction in a Saunders-type optical interferometer;
+ Ph.D. thesis, 1997.
+
+\bibitem{MeisnerPhd}
+Meisner, J. Estimation and Tracking of Atmospheric Delay Noise in a
+ Long-Baseline Optical Stellar Interferometer and Determination of the
+ Expected Estimation Error; Ph.D. thesis University of Minnesota, 1995.
+
+\bibitem{Peetz}
+Peetz, J.-V. Full-Potential Low-Energy Electron Diffraction Applied to
+ {G}a{A}s(110); Ph.D. thesis Chistian-Albrechts-Universit\"at Kiel, 1998.
+
+\bibitem{buscher88}
+Buscher, D.~F. Getting the most out of C.O.A.S.T.; Ph.D. thesis Cambridge
+ University, 1988.
+
+\bibitem{Chagnon}
+Chagnon, G. Interf\'erom\'etrie stellair dans l'infrarouge en pr\'esence de fon
+ thermnique; Ph.D. thesis Observatoire de Paris (section de Meudon), 2003.
+
+\bibitem{Blaha}
+Blaha, P. 1998. Priv. commun.
+
+\bibitem{Hase}
+Hase, F. 2003. Priv.\ commun.
+
+\bibitem{GaiWN041210}
+Gai, M. {PRIMA} {FSU}---effects of residual atmospheric turbulence on {GD}
+ measurement 2004. {WN041210}.
+
+\bibitem{Bos}
+Bos, M.~S.; Scherneck, H.-G. The free ocean tide loading provider Tech. rep.
+ 2005.
+
+\bibitem{Chance1}
+Chance, K.; Jucks, K.~W.; Johnson, D.~G.; Traub, W.~A. The smithsonian
+ astrophysical observatory database sao92 Tech. rep.
+
+\bibitem{RuegerIAG1999}
+R\"ueger, J.~M. Report of the ad-hoc working party on ``refractive indices of
+ light, infrared and radio waves in the atmosphere'' of the {IAG} special
+ commission {SC3}--fundamental constants ({SCFC}) Tech. rep. International
+ Association of Geodesy 1999.
+
+\bibitem{Sarazin}
+Sarazin, M. Astroclimatology of paranal Tech. rep. European Southern
+ Observatory 2003.
+
+\bibitem{McCarthyIERS32}
+McCarthy, D.~D.; Petit, G. {IERS} technical note no 32 Tech. rep. {IERS}
+ Convention Centre 2003. Http://www.iers.org/iers/publications/tn/tn32/.
+
+\bibitem{LordNASA1992}
+Lord, S.~D. A new software tool for computing earth's atmospheric transmission
+ of near- and far-infrared radiation {NASA} Technical Memorandum 103957 {NASA}
+ 1992.
+
+\bibitem{Sageatbd}
+{ATBD}, S.~I. {SAGE} {III} algorithm theoretical basis document (atbd) water
+ vapor products Tech. rep. European Southern Observatory 2000. LaRC
+ 475--00--105.
+
+\bibitem{PartrMemo}
+Partridge, H. NASA Technical Memorandum 1.15:101044 Ames Research Center,
+ Moffett Field 1989.
+
+\bibitem{binFITS}
+Cotton, W.; Tody, D.; Pence, W. Binary Table Extensions to FITS 1995.
+
+\bibitem{vlt157530001}
+Tubbs, R.~N.; Mathar, R.~J. Astrometric Survey for Extra-Solar Planets with
+ PRIMA, Error Budget for Astrometry 2005. {VLT-TRE-AOS-15753-0001}.
+
+\bibitem{Globalview}
+Project, C. A. D.~I. {GLOBALVIEW}-{CO}$_2$ Tech. rep. Cooperative Atmospheric
+ Data Integration Project -- Carbon Dioxide 2003.
+ Ftp://ftp.cmdl.noaa.gov/ccg/co2/GLOBALVIEW.
+
+\bibitem{LAPACK}
+Anderson, E.; Bai, Z.; Bischof, C.; Blackford, S.; Demmel, J.; Dongarra, J.;
+ Croz, J.~D.; Greenbaum, A.; Hammarling, S.; McKenney, A.; Sorensen, D.
+ {LAPACK} Users' Guide; Society for Industrial and Applied Mathematics:
+ Philadelphia, PA, 1999.
+
+\end{thebibliography}
diff --git a/biblio/bibtex/contrib/ijqc/xampl.pdf b/biblio/bibtex/contrib/ijqc/xampl.pdf
new file mode 100644
index 0000000000..7eb4140666
--- /dev/null
+++ b/biblio/bibtex/contrib/ijqc/xampl.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/ijqc/xampl.tex b/biblio/bibtex/contrib/ijqc/xampl.tex
new file mode 100644
index 0000000000..4496bc600f
--- /dev/null
+++ b/biblio/bibtex/contrib/ijqc/xampl.tex
@@ -0,0 +1,180 @@
+\documentclass[preprint,pra,aps,secnumarabic,eqsecnum]{revtex4}
+
+%\documentclass[titlepage]{article}
+%\usepackage[sort&compress,numbers,comma]{natbib}
+
+\begin{document}
+
+\bibliographystyle{ijqc}
+
+\title{Xample application of ijqc.bst}
+
+\author{Richard J. Mathar}
+\homepage{http://www.strw.leidenuniv.nl/~mathar}
+\preprint{Int.\ J. Quant.\ Chem.\ 9x (x) (200x) xxx--xx}
+\affiliation{
+Sterrewacht, Leiden University, 2300RA Leiden, The Netherlands}
+
+\date{\today}
+
+\begin{abstract}
+References created by the Bib\TeX\ style {\tt ijqc} are shown that
+give an idea of the rendering of the most common types of entries.
+The style is inclined towards the standards of Wiley's Int.\ J.\ Quant.\ Chem.
+
+The BibTeX database that provides the input to what is shown here comes
+with the file {\tt mybib.bib}; some
+of the entries are erroneous (missing titles, page numbers\ldots)
+and lead to complains from the {\tt bibtex} call.
+
+key words: BibTeX; IJQC;
+\end{abstract}
+\maketitle
+
+\section{Summary of the Style}
+The characteristics of the {\tt ijqc} Bib\TeX\ file are
+\begin{itemize}
+\item
+The order of appearance follows the mentioning in the text.
+\item
+Author lists are given with the last name first, separating
+authors by a semicolon. The initials and the last name are separated
+by a comma.
+\item
+Journal titles are stripped from dots that might indicate abbreviations.
+The volume numbers are printed, but not the issue numbers.
+\item
+The bibliography entries are terminated by a full stop.
+\item
+Years are followed by the journal volume and page number. The final page
+number is suppressed.
+\end{itemize}
+
+\section{article}
+
+Articles with one author are \cite{Adler1962,BoettgerPRB62,LaiJOSAA8}.
+
+Articles with two authors list are \cite{ZeissMP30,Abate,Arakane,Archer,EngelbergJOSAA21},
+with more \cite{Adler,AlfaroJCompApplMath99}.
+
+Articles with a long author list are \cite{GlindemannASS286,Baldiniarxiv04,JacquinetJQSRT62}. All authors are listed.
+
+Articles with a {\tt note} entry are \cite{AlbrechtTheoChemAcc107}.
+
+Articles with {\tt annote} or {\tt eprint} entries
+are \cite{EIS,Iliev}. If an {\tt article} has both, a {\tt journal}
+and an {\tt eprint} entry, only the journal is produced.
+
+Articles without titles are \cite{Biersack82,Klopper} which does not matter
+since titles are omitted anyway.
+Articles with an {\tt url} are \cite{Carleer,Fliege},
+but this could also be done in the {\tt journal}: \cite{MatharDia}.
+
+Articles with an {\tt mrclass} or {\tt mrnumber} are \cite{Cody,Nitsche,Hasegawa1983}.
+These entries do not effect the output.
+
+The {\tt pages} may contain letters: \cite{Golek}, and the numbers
+be combinations \cite{Helgaker}.
+
+The MACRO list is short and does for example not know
+{\tt pasp}: \cite{BergerPACS116}.
+
+\section{book}
+
+Standard entries are \cite{Wolfl,Taff,Bradley1972,Callaway,Green1985,Ince1956}.
+If they have both {\tt author} and {\tt editor} they look like \cite{Nussbaumer,Hurwitz},
+with only one {\tt editor} like \cite{AS}, and with two editors like \cite{Hog}.
+If the {\tt mrnnumber} is present: \cite{GR,Rivlin,Byrd}.
+
+Demonstration of {\tt isbn} entry: \cite{Messiah,Karttunen}.
+
+With a {\tt series} entry we get \cite{Evarestov,ASILXXIV,Martensen},
+with an {\tt edition} \cite{Press,Byrd,MO},
+and with an {\tt annote} \cite{Born,Byrd,Green1985}.
+
+Books with {\tt annote} entries are \cite{Derr,Dymond},
+and with a {\tt volume} we have \cite{Hahn,Knopp,Martensen}.
+
+\section{inbook}
+
+The standard {\tt inbook} is \cite{Moran-76},
+with an {\tt editor} and a {\tt volume} it looks like \cite{Fugate}.
+If the title is missing we get \cite{Yarkony,Landolt}.
+Adding a {\tt series} is \cite{HerringLN},
+
+With {\tt chapter} and {\tt pages} : \cite{Browder}.
+
+\section{inproceedings}
+
+If {\tt inproceedings} include an {\tt annote}:
+\cite{BergerSPIE4838,CassaingSPIE4006,KoehlerSPIE4006,KoehlerSPIE5491}
+
+With a {\tt number}: \cite{PorroASP194}.
+With a {\tt volume}: \cite{AkesonSPIE4006,MassonASP59}.
+
+A sample case with a single editor is \cite{AlbrechtSPIE5491}
+with two editors is \cite{Avila},
+or without is \cite{AnkerstSIGMOD99,SPIE400605,CubySPIE3355,EsterKDD96}.
+
+With a {\tt month} we have \cite{ChangSPIE3350,GorhamSPIE3350,DerieLC2002}
+and without \cite{Cotton-95}.
+
+\section{incollection}
+
+With {\tt address} \cite{SawadaLNCS2517}
+or without \cite{Cotton-97}.
+
+{\tt author}, {\tt editor} and {\tt publisher} present
+results in \cite{CreathProgOpt26,StrohbeinProgOpt9}, with
+two {\tt editor}s we have \cite{MatharAQC45}.
+
+If a {\tt series} is added we have \cite{TangoProgOpt17,RoddierProgOpt19}.
+
+\section{theses}
+
+Plain minimalistic theses are \cite{MatharPhd,Tatulli04,darcio99,Heidmann}.
+
+Example with a {\tt month} entry: \cite{Levthesis}.
+Example with a {\tt journal}, {\tt volume} and {\tt pages}
+as if it were an article: \cite{MasuiMet34}.
+Example with a {\tt pages} entry: \cite{MeisnerPhd,Peetz}.
+Example with a {\tt annote} entry: \cite{buscher88,Chagnon}.
+
+\section{unpublished}
+
+Depending on whether {\tt howpublished} and {\tt title}
+are present: \cite{Blaha,Hase,GaiWN041210}.
+
+\section{techreport}
+
+A {\tt techreport} having a {\tt url} looks like
+\cite{Bos,Chance1,RuegerIAG1999,Sarazin},
+if there is also a {\tt note} like \cite{McCarthyIERS32}.
+
+A {\tt type} yields \cite{LordNASA1992}.
+
+If the {\tt month} has been given: \cite{Sageatbd}
+
+\section{manual}
+
+A manual with {\tt address} and {\tt year} is \cite{PartrMemo}.
+
+A disguised article with {\tt journal}, {\tt number} and {\tt pages}
+is \cite{binFITS}.
+
+A {\tt month} in the entry would be swallowed: \cite{vlt157530001}
+
+Handling of {\tt url} and {\tt note}: \cite{Globalview}.
+
+With authors, {\tt isbn} and {\tt url}: \cite{LAPACK}.
+
+%\begin{acknowledgments}
+%The work was supported in the middle.
+%\end{acknowledgments}
+%
+%\appendix
+%
+%\section{This is an appendix title}
+
+\bibliography{mybib}
+\end{document}
diff --git a/biblio/bibtex/contrib/index b/biblio/bibtex/contrib/index
new file mode 100644
index 0000000000..cad15618b5
--- /dev/null
+++ b/biblio/bibtex/contrib/index
@@ -0,0 +1,284 @@
+%% /usr/spool/ftp/pub/tex/bibtex/index, Tue Jun 30 10:53:12 1992
+%% Edit by Nelson H. F. Beebe <beebe@plot79.math.utah.edu>
+
+This directory, ~ftp/pub/tex/bibtex (from tuglib: tex/bibtex), contains
+collected BibTeX style files. These have been collected from our local
+archives, plus a scan on [27-Jun-1992] of about 900 Internet ftp sites
+indexed by archie, plus the contents on [27-Jun-1992] of the UK Aston
+TeX archive on tex.aston.ac.uk in disk$tex:[tex-archive.bibtex.styles.contrib].
+
+00dir.cmd -- alphabetical verbose directory as FTP
+ commands
+00dir.lst -- alphabetical verbose directory listing
+00tdir.cmd -- reverse time-ordered verbose directory as
+ FTP commands
+00tdir.lst -- reverse time-ordered verbose directory
+ listing
+
+aaai-named.bst -- aaai (????) style
+abbrv.bst -- abbrev BibTeX style
+abstract.bst -- modified alpha style with `abstract' keyword
+acm.bst -- ACM BibTeX style
+agsm.bst -- Australian Government publications
+alpha.bst -- alphanumeric BibTeX style
+amsalpha.bst -- alphanumeric BibTeX style for AmSTeX;
+ this is a copy of the file
+ tex/ams/amslatex/inputs/amsalpha.bst
+ from the AmSTeX 2.0 distribution tree
+amsplain.bst -- Plain BibTeX style for AmSTeX
+ this is a copy of the file
+ tex/ams/amslatex/inputs/amsplain.bst
+ from the AmSTeX 2.0 distribution tree
+annotate.bst -- modified alpha style with `annote' keyword
+annotation.bst -- modified plain style with `annote' keyword
+apa.bst -- American Psychology Association:
+ This is the same as apalike, but has
+ been modified a la astron.bst to use
+ \cite* for producing references like
+ "Rogers (1992)".
+apalike.bst -- APA-like BibTeX style
+apalike.doc -- LaTeX doc style file
+apalike.sty -- LaTeX sty style file (doc minus comments)
+apalike.tex -- test file describing APA-like style
+apalike2.bst -- variant of apalike
+astron -- subdirectory with Sake Hogeveen's astronomy
+ style and documentation
+astron.bst -- Astronomy BibTeX style
+authordate.readme -- remarks on David Rhead's authordate styles
+authordate1.bst -- authordate style variant 1
+authordate1.ltx -- LaTeX test for authordate style variant 1
+authordate1-4.sty -- LaTeX option for authordate style variants
+authordate2.bst -- authordate style variant 2
+authordate2.ltx -- LaTeX test for authordate style variant 2
+authordate3.bst -- authordate style variant 3
+authordate3.ltx -- LaTeX test for authordate style variant 3
+authordate4.bst -- authordate style variant 4
+authordate4.ltx -- LaTeX test for authordate style variant 4
+
+bbs.bst -- Behavioral and Brain Sciences style
+bibtex.cms-changes -- BibTeX change file for IBM VM/CMS
+bibtex.hosek-vms-changes -- BibTeX change file for VAX VMS
+bibtex.ins -- installation notes
+bibtex.pool -- Web pool file
+bibtex.tops20-changes -- BibTeX change file for
+bibtex.vms-changes -- BibTeX change file for
+bibtex.web -- Web source code for BibTeX
+big -- subdrirectory with bibtex change files et al
+bstfiles.tar-lst -- contents of bstfiles.tar.z
+bstfiles.tar.z -- compressed UNIX tar archive with
+ Makefile, index, *.bib, *.bst, *.doc,
+ *.lst, *.sty, and *.readme
+bstfiles.zip -- Info-ZIP archive with
+ Makefile, index, *.bib, *.bst, *.doc,
+ *.lst, *.sty, and *.readme
+bstfiles.zip-lst -- contents of bstfiles.zip
+bstfiles.zoo -- zoo archive with
+ Makefile, index, *.bib, *.bst, *.doc,
+ *.lst, *.sty, and *.readme
+bstfiles.zoo-lst -- contents of bstfiles.zoo
+btxbst.doc -- BibTeX doc style file
+btxdoc.bbl -- bibliography for btxdoc.tex
+btxdoc.bib -- bibliography data base for btxdoc.tex
+btxdoc.tex -- LaTeX file describing BibTeX
+btxdoc.xua -- backup of .aux file
+btxhak.bbl -- bibliography for btxhak.tex
+btxhak.tex -- LaTeX file describing BibTeX styles
+btxmac.tex -- TeX macros for using BibTeX with plain TeX
+
+cbe.bst -- Council of Biology Editors style
+ (includes such journals as American
+ Naturalist, Evolution, etc)
+cell.bst -- modification of jmb style
+cover.ltx -- cover page for btxdoc.tex
+cover2.ltx -- cover page for btxhak.tex
+
+dcu.bst -- style from Design Computing Unit,
+ Department of Architectural and
+ Design Science, University of Sydney
+
+harvard.bib -- bibliography for harvard.tex
+harvard.tex -- description of Harvard Bibliography Style
+ Family (agsm, dcu, kluwer)
+harvard.sty -- LaTeX style file needed with Harvard
+ styles
+humanbio.bst -- Human Biology style
+humannat.bst -- For journals Human Nature and
+ American Anthropologist
+
+ieeetr.bst -- IEEE transactions BibTeX style
+index -- this file
+is-abbrv.bst -- abbrev style with ISSN and ISBN keywords
+is-alpha.bst -- alpha style with ISSN and ISBN keywords
+is-plain.bst -- plain style with ISSN and ISBN keywords
+is-unsrt.bst -- unsrt style with ISSN and ISBN keywords
+
+jbact.bst -- modification of jmb.sty
+jmb.bst -- Journal of Molecular Biology style
+jmb.sty -- LaTeX option for use with jmb.bst
+jtb.bst -- Journal of Theoretical Biology
+
+kluwer.bst -- Kluwer Academic Publishers style
+
+mac -- Apple Macintosh BibTeX implementation
+Makefile -- same as makefile
+makefile -- UNIX makefile; this contains rules to
+ create and typeset all of the test-*.ltx
+ and xampl-*.ltx files listed below
+makefile.tops20 -- old TOPS-20 makefile (for BibTeX 0.98)
+makefile.tops20-new -- old TOPS-20 makefile (for BibTeX 0.99)
+makefile.vms -- old VAX VMS makefile
+
+named.bst -- named style
+named.sty -- LaTEX option for use with named.bst
+namunsrt.bst -- modification of unsrt style
+nar.bst -- Nucleic Acid Research style
+nar.sty -- LaTeX option for use with nar.bst
+nature.bst -- Nature style
+nature.sty -- LaTEX option for use with nature.bst
+newapa.bst -- modification of apalike.sty
+newapa.sty -- LaTEX option for use with newapa.bst
+
+phaip.bst -- American Institute of Physics
+ journals
+phapalik.bst -- American Psychological Association style
+phcpc.bst -- Computer Physics Communications style
+phiaea.bst -- IAEA Conferences style
+phjcp.bst -- Journal of Computational Physics
+phnf.bst -- Nuclear Fusion style
+phnflet.bst -- Nuclear Fusion Letters style
+phpf.bst -- Physics of Fluids
+phppcf.bst -- Physics version of apalike
+phreport.bst -- internal physics reports
+phrmp.bst -- Reviews of Modern Physics
+phyjabb.btx -- Physics journal abbreviations
+phyjfull.btx -- Physics journal full names
+ (included by physics.btx)
+physics.btx -- Physics journal master file from
+ which other ph*.bst files are derived
+ using the C preprocessor (automated
+ in makefile)
+plain.bst -- Plain BibTeX style
+plainyr.bst -- Plain BibTeX style with primary sort by year
+
+siam.bst -- SIAM BibTeX style
+
+test.bib -- test bibliography data base file
+ (used by authordate*.* files)
+test.ltx -- sample LaTeX file for making test-*.ltx
+ files (automated in makefile)
+test-aaai-named.ltx -- sample LaTeX file: bib in aaai-named format
+test-abbrv.ltx -- sample LaTeX file: bib in abbrv format
+test-abstract.ltx -- sample LaTeX file: bib in abstract format
+test-acm.ltx -- sample LaTeX file: bib in acm format
+test-agsm.ltx -- sample LaTeX file: bib in agsm format
+test-alpha.ltx -- sample LaTeX file: bib in alpha format
+test-amsalpha.ltx -- sample LaTeX file: bib in amsalpha format
+test-amsplain.ltx -- sample LaTeX file: bib in amsplain format
+test-annotate.ltx -- sample LaTeX file: bib in annotate format
+test-annotation.ltx -- sample LaTeX file: bib in annotation format
+test-apa.ltx -- sample LaTeX file: bib in apa format
+test-apalike.ltx -- sample LaTeX file: bib in apalike format
+test-apalike2.ltx -- sample LaTeX file: bib in apalike2 format
+test-astron.ltx -- sample LaTeX file: bib in astron format
+test-authordate1.ltx -- sample LaTeX file: bib in authordate1 format
+test-authordate2.ltx -- sample LaTeX file: bib in authordate2 format
+test-authordate3.ltx -- sample LaTeX file: bib in authordate3 format
+test-authordate4.ltx -- sample LaTeX file: bib in authordate4 format
+test-bbs.ltx -- sample LaTeX file: bib in bbs format
+test-cbe.ltx -- sample LaTeX file: bib in cbe format
+test-cell.ltx -- sample LaTeX file: bib in cell format
+test-dcu.ltx -- sample LaTeX file: bib in dcu format
+test-humanbio.ltx -- sample LaTeX file: bib in humanbio format
+test-humannat.ltx -- sample LaTeX file: bib in humannat format
+test-ieeetr.ltx -- sample LaTeX file: bib in ieeetr format
+test-is-abbrv.ltx -- sample LaTeX file: bib in is-abbrv format
+test-is-alpha.ltx -- sample LaTeX file: bib in is-alpha format
+test-is-plain.ltx -- sample LaTeX file: bib in is-plain format
+test-is-unsrt.ltx -- sample LaTeX file: bib in is-unsrt format
+test-jbact.ltx -- sample LaTeX file: bib in jbact format
+test-jmb.ltx -- sample LaTeX file: bib in jmb format
+test-jtb.ltx -- sample LaTeX file: bib in jtb format
+test-kluwer.ltx -- sample LaTeX file: bib in kluwer format
+test-named.ltx -- sample LaTeX file: bib in named format
+test-namunsrt.ltx -- sample LaTeX file: bib in namunsrt format
+test-nar.ltx -- sample LaTeX file: bib in nar format
+test-nature.ltx -- sample LaTeX file: bib in nature format
+test-newapa.ltx -- sample LaTeX file: bib in newapa format
+test-phaip.ltx -- sample LaTeX file: bib in phaip format
+test-phapalik.ltx -- sample LaTeX file: bib in phapalik format
+test-phcpc.ltx -- sample LaTeX file: bib in phcpc format
+test-phiaea.ltx -- sample LaTeX file: bib in phiaea format
+test-phjcp.ltx -- sample LaTeX file: bib in phjcp format
+test-phnf.ltx -- sample LaTeX file: bib in phnf format
+test-phnflet.ltx -- sample LaTeX file: bib in phnflet format
+test-phpf.ltx -- sample LaTeX file: bib in phpf format
+test-phppcf.ltx -- sample LaTeX file: bib in phppcf format
+test-phreport.ltx -- sample LaTeX file: bib in phreport format
+test-phrmp.ltx -- sample LaTeX file: bib in phrmp format
+test-plain.ltx -- sample LaTeX file: bib in plain format
+test-plainyr.ltx -- sample LaTeX file: bib in plainyr format
+test-siam.ltx -- sample LaTeX file: bib in siam format
+test-unsrt.ltx -- sample LaTeX file: bib in unsrt format
+testadb.ltx -- include file for authordate*.ltx files
+
+unsrt.bst -- Unsorted BibTeX style
+
+xampl.bib -- sample bibliography data base file
+xampl.ltx -- sample LaTeX file for making xampl-*.ltx
+ files (automated in makefile)
+xampl-aaai-named.ltx -- sample LaTeX file: bib in aaai-named format
+xampl-abbrv.ltx -- sample LaTeX file: bib in abbrv format
+xampl-abstract.ltx -- sample LaTeX file: bib in abstract format
+xampl-acm.ltx -- sample LaTeX file: bib in acm format
+xampl-agsm.ltx -- sample LaTeX file: bib in agsm format
+xampl-alpha.ltx -- sample LaTeX file: bib in alpha format
+xampl-amsalpha.ltx -- sample LaTeX file: bib in amsalpha format
+xampl-amsplain.ltx -- sample LaTeX file: bib in amsplain format
+xampl-annotate.ltx -- sample LaTeX file: bib in annotate format
+xampl-annotation.ltx -- sample LaTeX file: bib in annotation format
+xampl-apa.ltx -- sample LaTeX file: bib in apa format
+xampl-apalike.ltx -- sample LaTeX file: bib in apalike format
+xampl-apalike2.ltx -- sample LaTeX file: bib in apalike2 format
+xampl-astron.ltx -- sample LaTeX file: bib in astron format
+xampl-authordate1.ltx -- sample LaTeX file: bib in authordate1 format
+xampl-authordate2.ltx -- sample LaTeX file: bib in authordate2 format
+xampl-authordate3.ltx -- sample LaTeX file: bib in authordate3 format
+xampl-authordate4.ltx -- sample LaTeX file: bib in authordate4 format
+xampl-bbs.ltx -- sample LaTeX file: bib in bbs format
+xampl-cbe.ltx -- sample LaTeX file: bib in cbe format
+xampl-cell.ltx -- sample LaTeX file: bib in cell format
+xampl-dcu.ltx -- sample LaTeX file: bib in dcu format
+xampl-humanbio.ltx -- sample LaTeX file: bib in humanbio format
+xampl-humannat.ltx -- sample LaTeX file: bib in humannat format
+xampl-ieeetr.ltx -- sample LaTeX file: bib in ieeetr format
+xampl-is-abbrv.ltx -- sample LaTeX file: bib in is-abbrv format
+xampl-is-alpha.ltx -- sample LaTeX file: bib in is-alpha format
+xampl-is-plain.ltx -- sample LaTeX file: bib in is-plain format
+xampl-is-unsrt.ltx -- sample LaTeX file: bib in is-unsrt format
+xampl-jbact.ltx -- sample LaTeX file: bib in jbact format
+xampl-jmb.ltx -- sample LaTeX file: bib in jmb format
+xampl-jtb.ltx -- sample LaTeX file: bib in jtb format
+xampl-kluwer.ltx -- sample LaTeX file: bib in kluwer format
+xampl-named.ltx -- sample LaTeX file: bib in named format
+xampl-namunsrt.ltx -- sample LaTeX file: bib in namunsrt format
+xampl-nar.ltx -- sample LaTeX file: bib in nar format
+xampl-nature.ltx -- sample LaTeX file: bib in nature format
+xampl-newapa.ltx -- sample LaTeX file: bib in newapa format
+xampl-phaip.ltx -- sample LaTeX file: bib in phaip format
+xampl-phapalik.ltx -- sample LaTeX file: bib in phapalik format
+xampl-phcpc.ltx -- sample LaTeX file: bib in phcpc format
+xampl-phiaea.ltx -- sample LaTeX file: bib in phiaea format
+xampl-phjcp.ltx -- sample LaTeX file: bib in phjcp format
+xampl-phnf.ltx -- sample LaTeX file: bib in phnf format
+xampl-phnflet.ltx -- sample LaTeX file: bib in phnflet format
+xampl-phpf.ltx -- sample LaTeX file: bib in phpf format
+xampl-phppcf.ltx -- sample LaTeX file: bib in phppcf format
+xampl-phreport.ltx -- sample LaTeX file: bib in phreport format
+xampl-phrmp.ltx -- sample LaTeX file: bib in phrmp format
+xampl-plain.ltx -- sample LaTeX file: bib in plain format
+xampl-plainyr.ltx -- sample LaTeX file: bib in plainyr format
+xampl-siam.ltx -- sample LaTeX file: bib in siam format
+xampl-unsrt.ltx -- sample LaTeX file: bib in unsrt format
+xbtxbst.doc -- master file from which is-*.bst files
+ are automatically generated by steps
+ in the Makefile
diff --git a/biblio/bibtex/contrib/inlinebib/MANIFEST b/biblio/bibtex/contrib/inlinebib/MANIFEST
new file mode 100644
index 0000000000..2b956db92e
--- /dev/null
+++ b/biblio/bibtex/contrib/inlinebib/MANIFEST
@@ -0,0 +1,7 @@
+inlinebib.bst
+inlinebib.htm
+inlinebib.sty
+inlinebib.txt
+inlinebib1.gif
+inlinebib2.gif
+pageranges.sty
diff --git a/biblio/bibtex/contrib/inlinebib/inlinebib.bst b/biblio/bibtex/contrib/inlinebib/inlinebib.bst
new file mode 100644
index 0000000000..8178a47a3f
--- /dev/null
+++ b/biblio/bibtex/contrib/inlinebib/inlinebib.bst
@@ -0,0 +1,1125 @@
+% Bibliography style for footnote references. The citation is the
+% complete reference the first time, and a shorter reference the
+% following times. It uses an optional shorttitle entry in the database
+% for the short reference. For use with inlinebib.sty.
+
+% Changes made are Copyright (C) 1999 René Seindal
+
+% This program can redistributed and/or modified under the terms
+% of the LaTeX Project Public License Distributed from CTAN
+% archives in directory macros/latex/base/lppl.txt; either
+% version 1 of the License, or (at your option) any later version.
+
+% BibTeX standard bibliography style `plain'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ shortauthor
+ shorttitle
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block
+ before.note}
+
+INTEGERS { short.title.max.length }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #4 'before.note :=
+
+ #50 'short.title.max.length :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+% cite$ " >>>" * s * "<<< " * output.state int.to.str$ * warning$
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { ", " * write$ % add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { output.state before.note =
+ { write$
+ " \note " add.period$ write$
+ note missing$
+ 'skip$
+ { newline$
+ "\newblock " write$
+ }
+ if$
+ }
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+% cite$ "x >>>" * s * "<<< " * output.state int.to.str$ * warning$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.note}
+{ before.note 'output.state :=
+ note missing$
+ { "" }
+ { note }
+ if$
+ output.nonnull
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { t "others" =
+ { " et al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", (eds.)" * }
+ { ", (ed.)" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ "``" swap$ * "''" * }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " by " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pp." pages n.dashify tie.or.space.connect }
+ { "p." pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "in: " booktitle emphasize * }
+ { "in: " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ "in: \cite{" crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "in: " }
+ { "volume" volume tie.or.space.connect " of: " *
+ }
+ "\cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ "in: \cite{" crossref * "}" *
+}
+
+FUNCTION {format.author.short}
+{ ""
+ author empty$
+ shortauthor empty$
+ editor empty$
+ and and
+% { "no author or editor for short reference of " cite$ * warning$ }
+ 'skip$
+ { shortauthor empty$
+ { author empty$
+ 'editor
+ 'author
+ if$
+ }
+ { author empty$
+ 'shortauthor
+ { author text.length$
+ shortauthor text.length$
+ <
+ 'author
+ 'shortauthor
+ if$
+ }
+ if$
+ }
+ if$
+
+ 's :=
+ s num.names$ 'numnames :=
+ numnames #0 >
+ { s #1 "{vv~}{ll}" format.name$ *
+ numnames #1 >
+ { " et al." * }
+ { "" * }
+ if$
+ }
+ { "" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { tmp title.length }
+
+FUNCTION {shorten.title}
+{ 's :=
+ s text.length$ 'title.length :=
+% "TITLE1=" quote$ * s * quote$ * warning$
+ #2 'tmp :=
+ { tmp title.length - #1 < }
+ { s tmp text.prefix$ 't :=
+% ">>>" t * "<<< " * tmp int.to.str$ * warning$
+ t #-1 #2 substring$ ". " =
+ t #-1 #2 substring$ ": " =
+ or not
+ 'skip$
+ { s tmp #2 - text.prefix$ 's :=
+ title.length 'tmp :=
+ }
+ if$
+ tmp #1 + 'tmp :=
+ }
+ while$
+% "TITLE2=" quote$ * s * quote$ * warning$
+ s
+}
+
+FUNCTION {format.title.short}
+{
+ shorttitle missing$
+ { title field.or.null
+ shorten.title
+ duplicate$ text.length$ 'tmp :=
+ tmp short.title.max.length >
+ { "shortened title for " cite$ * " is still " *
+ tmp short.title.max.length - int.to.str$ *
+ " characters too long" * warning$
+ }
+ 'skip$
+ if$
+ }
+ { shorttitle
+ duplicate$
+ text.length$ 'tmp :=
+ tmp short.title.max.length >
+ { "specified shorttitle for " cite$ * " is " *
+ tmp short.title.max.length - int.to.str$ *
+ " characters too long" * warning$
+ }
+ 'skip$
+ if$
+ }
+ if$
+
+ duplicate$ empty$
+ { "no short title for " cite$ * " screwing up." * warning$ }
+ { "\/" * emphasize }
+ if$
+
+ volume missing$
+ 'skip$
+ { type$ "book" =
+ { ", vol.~" * volume *
+ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.shortref}
+{ before.all 'output.state :=
+ "\short "
+ format.author.short output
+ format.title.short " \end" * output
+% duplicate$ ">>>> " swap$ * " <<<<" * warning$
+ write$
+ newline$
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ output.note
+ fin.entry
+ format.shortref
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ output.note
+ fin.entry
+ format.shortref
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ output.note
+ fin.entry
+ format.shortref
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ output.note
+ fin.entry
+ format.shortref
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ output.note
+ fin.entry
+ format.shortref
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ output.note
+ fin.entry
+ format.shortref
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ output.note
+ fin.entry
+ format.shortref
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Speciale" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ output.note
+ fin.entry
+ format.shortref
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ output.note
+ fin.entry
+ format.shortref
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ output.note
+ fin.entry
+ format.shortref
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ 'skip$
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { % organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ new.block
+ output.note
+ fin.entry
+ format.shortref
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ output.note
+ fin.entry
+ format.shortref
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+ format.shortref
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "mfl." * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.title.sort}
+{ editor empty$
+ { key empty$
+ { title field.or.null sortify }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.title.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/inlinebib/inlinebib.htm b/biblio/bibtex/contrib/inlinebib/inlinebib.htm
new file mode 100644
index 0000000000..07619130bd
--- /dev/null
+++ b/biblio/bibtex/contrib/inlinebib/inlinebib.htm
@@ -0,0 +1,202 @@
+<!DOCTYPE html public "-//w3c//dtd html 4.0 transitional//en">
+<HTML>
+<HEAD>
+<TITLE>René Seindal - Software - Inline bibliography style</TITLE>
+</HEAD>
+<BODY text="#000000" bgcolor="#FFFFFF" link="#0000EE" vlink="#551A8B" alink="#FF0000">
+
+<H1 align=center>Inline bibliography style</H1>
+
+<P>I want to have by BiBTeX generated references inlined in footnotes
+rather than the very terse references BiBTeX generates by default, so I
+hacked together a BiBTeX style to do that. These macros are not
+polished or in the form of a proper distribution, but I have used them
+with succes myself.</P>
+
+<P>The following discription have been made in haste. I will document
+it better when I have the time (RSN :-).</P>
+
+<P>There are two files: <A HREF="inlinebib.sty">inlinebib.sty</A> and <A HREF="inlinebib.bst">indexing.bst</A>.</P>
+
+
+<H2>The idea</H2>
+
+<P>This works just like any other BiBTeX style. It will still generate
+the bibliography at the end of the document, but it will also store all
+the entries in the <CODE>.aux</CODE> files, so they can be inlined in
+the following <CODE>latex</CODE> run.</P>
+
+<P>The first time a citation is made using <CODE>\cite</CODE> the
+complete bibliography entry is inserted. The following citations to the
+same entry will generate a short form, with only authors last name and a
+shortened title, followed by a "<I>cit.</I>". If the same bibliography
+entry is cited several times in a row, the text will only be
+"<I>ibid.</I>".</P>
+
+<P>Citations of this form are designed to be used in footnotes.</P>
+
+<P>A little example migth be appropriate (don't we all love
+screenshots!).</P>
+
+<P><TABLE border=2 cellpadding=3>
+<TR>
+<TD>
+<P>Footnotes from page one:</P>
+<IMG SRC="inlinebib1.gif" ALT="[Example 1]">
+</TD>
+</TR>
+<TR>
+<TD>
+<P>Footnotes from page two:</P>
+<IMG SRC="inlinebib2.gif" ALT="[Example 2]">
+</TD>
+</TR>
+</TABLE>
+
+<FONT SIZE="-1">(the overstrike problem is courtesy of xdvi(1))</FONT>
+</P>
+
+<P>It is not possible to avoid having the complete bibliography at the
+end of the document. The macros simply won't work without it. If you
+don't need it, just don't print it.</P>
+
+
+
+<H2>Usage</H2>
+
+<H3>Formalities</H3>
+
+<P>To use these macros put the file <CODE>inlinebib.sty</CODE> in your
+LaTeX search path and <CODE>inlinebib.bst</CODE> in your BiBTeX style
+search path and then put the line:</P>
+
+<BLOCKQUOTE>
+<PRE>\usepackage{inlinebib}</PRE>
+</BLOCKQUOTE>
+
+<P>in the preamble of your document.</P>
+
+<P>Other commands have to be added at the point where you want the
+bibliography to appear, usually at the end of the document. To tell
+BiBTeX to use the <I>inlinebib</I> style, you have to use
+<CODE>bibliographystyle</CODE>:
+
+<BLOCKQUOTE>
+<PRE>
+\bibliographystyle{inlinebib}
+</PRE>
+</BLOCKQUOTE>
+
+<P>Often I add a leading explanation to the bibliography with the
+<CODE>\bibliographycomment</CODE> macro. That is:</P>
+
+<BLOCKQUOTE>
+<PRE>
+\bibliographycomment{This bibliography ...}
+</PRE>
+</BLOCKQUOTE>
+
+<P>The actual index is produced by the <CODE>\bibliography</CODE>
+macro. Here you have to specify which BiBTeX databases you want to use.</P>
+
+<BLOCKQUOTE>
+<PRE>
+\bibliography{file ...}
+</PRE>
+</BLOCKQUOTE>
+
+<P>These were all the formalities.</P>
+
+
+<H3>Doing citations</H3>
+
+<P>When writing, just make citations as usual. Remember that these
+macros can produce very verbose references, and they are intended for
+footnotes.</P>
+
+<P>The default implementation of <CODE>\cite</CODE> allows several
+bibliography entries to be cited. This version allows only one at a
+time. It still supports the optional argument, which should be a page
+reference within the cited text.</P>
+
+<P>There are a few additional macros available. <CODE>\fullycite</CODE>
+forces a reference in the long form, <CODE>\shortcite</CODE> forces
+the short form, and <CODE>\noibid</CODE> disables the generation
+"<I>ibid.</I>" references for the next citation (this can for example be
+used at the end of each chapter).</P>
+
+<P>To force later citations for certain entries to be either long or
+short, the macros <CODE>\fullcitenext{}</CODE> and
+<CODE>\shortcitenext{}</CODE> can be used. The single argument is a
+comma separated list of BiBTeX labels that should be either long or
+short the next time they are cited. E.g., the code
+<CITE>\fullcitenext{book1, book2}</CITE> will cause LaTeX to forget that
+the two references might have been seen earlier and they will be handled
+as if they haven't be cited yet.</P>
+
+
+<H3>The BiBTeX databases</H3>
+
+<P>This style does not require special changes to the BiBTeX
+databases.</P>
+
+<P>Sometimes the BiBTeX style doesn't manage to calculate the proper
+short forms of the author and the title. In that case the BiBTeX
+entries in question can be extended with <CODE>shortauthor = {<I>shorter
+author name</I>}</CODE> and <CODE>shorttitle = {<I>short form of
+title</I>}</CODE>.</P>
+
+
+
+<H2>Tips and tricks</H2>
+
+<P>I have some macros to format page ranges, that I use with this BiBTeX
+style. They should be usable with other styles as well.</P>
+
+<P>The macros are here: <A HREF="pageranges.sty">pageranges.sty</A></P>
+
+<P>This file defined one user visible macro: <CODE>\pages{}</CODE>,
+which will do the following transformations of the single argument:</P>
+
+<DL>
+<DT><CODE>\pages{N}</CODE>
+<DD>becomes: <CODE>p.~N</CODE>
+<DT><CODE>\pages{N-}</CODE>
+<DD>becomes: <CODE>pp.~N~ff</CODE>
+<DT><CODE>\pages{N-M}</CODE>
+<DD>becomes: <CODE>pp.~N--M</CODE>
+<DT><CODE>\pages{N M}</CODE>
+<DD>becomes: <CODE>pp.~N M</CODE>
+</DL>
+
+<P>The last version is for cases like <CODE>\pages{213, 345
+and~654}</CODE> which will become <CODE>pp.~213, 345 and~654</CODE>.</P>
+
+
+
+<P>I often have this little definition in a LaTeX style file. It makes
+<CODE>\cite</CODE> do page ranges automatically and also puts the author
+in the index (see <A HREF="indexing.htm">the indexing macros</A>).</P>
+
+<BLOCKQUOTE>
+<PRE>
+%% Automatically fix page ranges in citations and index author
+\let\RS@citex\@citex
+\def\@citex[#1]#2{\I@indexonly-{#2}\RS@citex[\pages{#1}]{#2}}
+</PRE>
+</BLOCKQUOTE>
+
+
+
+
+
+<H2>Comments</H2>
+
+
+<P>If you have comments, please <A
+HREF="mailto:rene@seindal.dk?Subject=Inlinebib macros">write me</A>.</P>
+
+
+
+</BODY>
+</HTML>
diff --git a/biblio/bibtex/contrib/inlinebib/inlinebib.sty b/biblio/bibtex/contrib/inlinebib/inlinebib.sty
new file mode 100644
index 0000000000..b631dd2260
--- /dev/null
+++ b/biblio/bibtex/contrib/inlinebib/inlinebib.sty
@@ -0,0 +1,165 @@
+%% Copyright (C) 1994, 1995 René Seindal (rene@seindal.dk)
+
+% This files may be distributed under the terms of the LaTeX Project Public
+% License as distributed from CTAN archives in macros/latex/base/lppl.txt;
+% either version 1.0 or, at your option, any later version.
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{inlinebib}[1994/12/06\space Inline bibliography style]
+\ProcessOptions
+
+ %% No labels in the final list of litterature.
+
+\let\@biblabel\@gobble
+
+
+ %% This is called for each bibitem without option in the bbl file.
+ %% The inlinebib style does not use bibitems with optional
+ %% arguments. The arguments are: #1 = key, #2 = basic entry, #3 =
+ %% notes for last reference list only, #4 = short entry for successive
+ %% citations. The period that ends an entry in the list is never
+ %% present in the inline reference. Punctuations should be added
+ %% manually.
+
+\long\def\@bibitem#1 #2 \note #3 \short #4 \end{\par\if@filesw
+ {\def\protect##1{\string ##1\space}%
+ \let\newblock\@empty
+ \immediate\write\@auxout{\string
+ \bibcite{#1}{\string\@bibcall{#1}{#2}{#4}}}}\fi
+ {\let\cite\shortcite #2#3}}
+% {\let\cite\shortcite #2}}
+
+
+
+ %% This is called from the aux file at the start of the job.
+
+\long\def\bibcite#1#2{\global\@namedef{b@#1}{#2}}
+
+
+
+
+ %% Set globally true iff an immediate following period should be
+ %% gobbled, because the citation ends in a period, e.g., from a
+ %% trailing "cit." or "ibid." and there is no optional part.
+
+\newif\if@gobbleperiod
+\newif\if@withpages
+
+
+ %% Separate the first and the following citations of a reference, and
+ %% handle successive identical citations of the same reference. Each
+ %% macro b@LABEL is defined as \@bibcall{LABEL}{FULLCITE}{SHORTCITE}.
+ %% The actual definition of b@LABELis not changed after the first
+ %% citation, since it provokes messages of "Labels may have changed"
+ %% from LaTeX.
+
+\def\@lastcite{}
+\def\noibid{\gdef\@lastcite{}}
+
+\long\def\@bibcall#1#2#3{\global\@gobbleperiodfalse
+ \@ifundefined{B@#1}%
+ {{#2}\global\@namedef{B@#1}{}}%
+ {\@bibsecond{#1}{#3}}%
+ \gdef\@lastcite{#1}%
+}
+
+\long\def\@bibsecond#1#2{%
+ \def\@tempa{#1}%
+ \ifx\@tempa\@lastcite {\em ibid.}\else {#2} cit.\fi
+ \if@withpages \else \global\@gobbleperiodtrue \fi
+}
+
+ %% Called for each normal \cite call. This version does not allow
+ %% multiple citations in one call, as it makes little sense. The
+ %% labels are much too long.
+
+\def\cite{\protect\@pcite}
+\def\@pcite{\@ifnextchar [{\@withpagestrue\@citex}{\@withpagesfalse\@citex[]}}
+
+\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
+ \@ifundefined{b@#2}%
+ {{\reset@font\bf ?}\@warning
+ {Citation `#2' on page \thepage \space undefined}}%
+ {\@cite{\@nameuse{b@#2}}{#1}}%
+ \let\next\relax
+ \if@gobbleperiod \let\next\check@period \fi
+ \next
+}
+
+
+ %% Produces the actual inline citation, no bracketes around it.
+
+\def\@cite#1#2{{#1\if@withpages , #2\fi}}
+
+
+ %% Remove a following period.
+
+\def\check@period{\futurelet\next\check@peri@d}
+\def\check@peri@d{\ifx\next .\let\next\eat@period
+ \else \let\next\relax \fi \next}
+\def\eat@period.{}
+
+
+
+
+
+ %% Forced full citation
+
+\def\fullycite{\protect\@pfcite}
+\def\@pfcite{\@ifnextchar [{\@withpagestrue\@fcitex}{\@withpagesfalse\@fcitex[]}}
+
+\def\@fcitex[#1]#2{\expandafter\let\csname B@#2\endcsname\undefined
+ \@citex[#1]{#2}}
+
+ %% Forced short citation, with no "cit." suffix or "ibid."
+ %% substitutions.
+
+\def\shortcite{\protect\@pscite}
+\def\@pscite{\@ifnextchar [{\@withpagestrue\@scitex}{\@withpagesfalse\@scitex[]}}
+
+\def\@scitex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
+ \@ifundefined{b@#2}{{\reset@font\bf ?}\@warning
+ {Citation `#2' on page \thepage \space undefined}}%
+ {\long\def\@bibcall##1##2##3{##3}%
+ \@cite{\@nameuse{b@#2}}{#1}}}
+
+
+
+ %% Force full citations of the specified list of references.
+
+\def\fullcitenext#1{{\@tfor
+ \@tempa :=#1\do{\expandafter\global\expandafter
+ \let\csname B@\@tempa\endcsname\undefined}}}
+
+ %% Force short citations of the specified list of references.
+
+\def\shortcitenext#1{{\@for
+ \@tempa :=#1\do{\expandafter\global\expandafter
+ \let\csname B@\@tempa\endcsname\@empty}}}
+
+
+
+
+ %% This is to allow for an introduction to the bibliography
+
+\let\bibc@mment\@empty
+\long\def\bibliographycomment#1{%
+ \def\bibc@mment{\let\bibc@mment\@empty #1\par\bigskip}%
+}
+
+
+
+ %% Copied from report.sty, changed to avoid unwanted left margin and
+ %% add bibliography comment.
+
+\def\thebibliography#1{\chapter*{\bibname\@mkboth
+ {\uppercase{\bibname}}{\uppercase{\bibname}}}\bibc@mment
+ \small
+ \def\newblock{\hskip .11em plus.33em minus.07em}%
+ \sloppy\clubpenalty4000\widowpenalty4000
+ \sfcode`\.=\@m
+ \parindent\z@\relax
+ \parskip\medskipamount
+}
+
+\def\endthebibliography{\par\medskip}
diff --git a/biblio/bibtex/contrib/inlinebib/inlinebib.txt b/biblio/bibtex/contrib/inlinebib/inlinebib.txt
new file mode 100644
index 0000000000..cfd51dcee5
--- /dev/null
+++ b/biblio/bibtex/contrib/inlinebib/inlinebib.txt
@@ -0,0 +1,151 @@
+
+ Inline bibliography style
+
+ I want to have by BiBTeX generated references inlined in footnotes
+ rather than the very terse references BiBTeX generates by default, so
+ I hacked together a BiBTeX style to do that. These macros are not
+ polished or in the form of a proper distribution, but I have used them
+ with succes myself.
+
+ The following discription have been made in haste. I will document it
+ better when I have the time (RSN :-).
+
+ There are two files: [1]inlinebib.sty and [2]indexing.bst.
+
+The idea
+
+ This works just like any other BiBTeX style. It will still generate
+ the bibliography at the end of the document, but it will also store
+ all the entries in the .aux files, so they can be inlined in the
+ following latex run.
+
+ The first time a citation is made using \cite the complete
+ bibliography entry is inserted. The following citations to the same
+ entry will generate a short form, with only authors last name and a
+ shortened title, followed by a "cit.". If the same bibliography entry
+ is cited several times in a row, the text will only be "ibid.".
+
+ Citations of this form are designed to be used in footnotes.
+
+ A little example migth be appropriate (don't we all love
+ screenshots!).
+
+ Footnotes from page one:
+ [Example 1]
+
+ Footnotes from page two:
+ [Example 2]
+
+ (the overstrike problem is courtesy of xdvi(1))
+
+ It is not possible to avoid having the complete bibliography at the
+ end of the document. The macros simply won't work without it. If you
+ don't need it, just don't print it.
+
+Usage
+
+ Formalities
+
+ To use these macros put the file inlinebib.sty in your LaTeX search
+ path and inlinebib.bst in your BiBTeX style search path and then put
+ the line:
+
+\usepackage{inlinebib}
+
+ in the preamble of your document.
+
+ Other commands have to be added at the point where you want the
+ bibliography to appear, usually at the end of the document. To tell
+ BiBTeX to use the inlinebib style, you have to use bibliographystyle:
+
+\bibliographystyle{inlinebib}
+
+ Often I add a leading explanation to the bibliography with the
+ \bibliographycomment macro. That is:
+
+\bibliographycomment{This bibliography ...}
+
+ The actual index is produced by the \bibliography macro. Here you have
+ to specify which BiBTeX databases you want to use.
+
+\bibliography{file ...}
+
+ These were all the formalities.
+
+ Doing citations
+
+ When writing, just make citations as usual. Remember that these macros
+ can produce very verbose references, and they are intended for
+ footnotes.
+
+ The default implementation of \cite allows several bibliography
+ entries to be cited. This version allows only one at a time. It still
+ supports the optional argument, which should be a page reference
+ within the cited text.
+
+ There are a few additional macros available. \fullycite forces a
+ reference in the long form, \shortcite forces the short form, and
+ \noibid disables the generation "ibid." references for the next
+ citation (this can for example be used at the end of each chapter).
+
+ To force later citations for certain entries to be either long or
+ short, the macros \fullcitenext{} and \shortcitenext{} can be used.
+ The single argument is a comma separated list of BiBTeX labels that
+ should be either long or short the next time they are cited. E.g., the
+ code \fullcitenext{book1, book2} will cause LaTeX to forget that the
+ two references might have been seen earlier and they will be handled
+ as if they haven't be cited yet.
+
+ The BiBTeX databases
+
+ This style does not require special changes to the BiBTeX databases.
+
+ Sometimes the BiBTeX style doesn't manage to calculate the proper
+ short forms of the author and the title. In that case the BiBTeX
+ entries in question can be extended with shortauthor = {shorter author
+ name} and shorttitle = {short form of title}.
+
+Tips and tricks
+
+ I have some macros to format page ranges, that I use with this BiBTeX
+ style. They should be usable with other styles as well.
+
+ The macros are here: [3]pageranges.sty
+
+ This file defined one user visible macro: \pages{}, which will do the
+ following transformations of the single argument:
+
+ \pages{N}
+ becomes: p.~N
+
+ \pages{N-}
+ becomes: pp.~N~ff
+
+ \pages{N-M}
+ becomes: pp.~N--M
+
+ \pages{N M}
+ becomes: pp.~N M
+
+ The last version is for cases like \pages{213, 345 and~654} which will
+ become pp.~213, 345 and~654.
+
+ I often have this little definition in a LaTeX style file. It makes
+ \cite do page ranges automatically and also puts the author in the
+ index (see [4]the indexing macros).
+
+%% Automatically fix page ranges in citations and index author
+\let\RS@citex\@citex
+\def\@citex[#1]#2{\I@indexonly-{#2}\RS@citex[\pages{#1}]{#2}}
+
+Comments
+
+ If you have comments, please [5]write me.
+
+References
+
+ 1. http://www.seindal.dk/rene/software/TeX/inlinebib.sty
+ 2. http://www.seindal.dk/rene/software/TeX/inlinebib.bst
+ 3. http://www.seindal.dk/rene/software/TeX/pageranges.sty
+ 4. http://www.seindal.dk/rene/software/TeX/indexing.htm
+ 5. mailto:rene@seindal.dk?Subject=Inlinebibmacros
diff --git a/biblio/bibtex/contrib/inlinebib/inlinebib1.gif b/biblio/bibtex/contrib/inlinebib/inlinebib1.gif
new file mode 100644
index 0000000000..6bcbbd0c8c
--- /dev/null
+++ b/biblio/bibtex/contrib/inlinebib/inlinebib1.gif
Binary files differ
diff --git a/biblio/bibtex/contrib/inlinebib/inlinebib2.gif b/biblio/bibtex/contrib/inlinebib/inlinebib2.gif
new file mode 100644
index 0000000000..8aaec961c0
--- /dev/null
+++ b/biblio/bibtex/contrib/inlinebib/inlinebib2.gif
Binary files differ
diff --git a/biblio/bibtex/contrib/inlinebib/pageranges.sty b/biblio/bibtex/contrib/inlinebib/pageranges.sty
new file mode 100644
index 0000000000..97fa960334
--- /dev/null
+++ b/biblio/bibtex/contrib/inlinebib/pageranges.sty
@@ -0,0 +1,94 @@
+% Copyright (C) 1999 René Seindal (rene@seindal.dk)
+
+% This program can redistributed and/or modified under the terms
+% of the LaTeX Project Public License Distributed from CTAN
+% archives in directory macros/latex/base/lppl.txt; either
+% version 1 of the License, or (at your option) any later version.
+
+ %% Macros for citing.
+
+\let\@DEBUG@CIT\@gobble
+%\let\@DEBUG@CIT\typeout
+
+ %% \@PG does #1={a} -> {p.~a}
+ %% and #1={a-} -> {pp.~a~ff}
+ %% and #1={a-b} -> {pp.~a--b}
+ %% and #1={a b} -> {pp.~a b}
+
+\def\@PG#1{%
+ \@DEBUG@CIT{START: #1}%
+ {\@@PG#1 \@nil}%
+}
+
+\newcommand\pages[2][\@gobble]{#1{, }\@PG{#2}}
+
+\def\@@PG#1 #2\@nil{%
+ \def\@tempa{#1}%
+ \def\@tempb{#2}%
+ \ifx\@tempb\@empty
+ \def\next{\@PGrange#1-\@nil}%
+ \else
+ \let\next\@PGspace
+ \fi
+ \next
+}
+
+ %% argument is "a-b"; tmpa="X" tmpb=void
+
+\def\@PGrange#1-#2\@nil{\hbox{%
+ \@DEBUG@CIT{RANGE: =#1=#2=}%
+ \def\@tempb{#2}%
+ \ifx\@tempb\@empty
+ p.~#1%
+ \else
+ pp.~#1%
+ \edef\@tempb{\@PGundash#2}%
+ \ifx\@tempb\@empty
+ ff%
+ \else
+ --\@tempb
+ \fi
+ \fi
+}}
+
+\def\@PGundash#1-{#1}
+
+
+ %% argument is "a b"; tmpa="a" tmpb="b "
+
+\def\@PGspace{%
+ \@DEBUG@CIT{SPACE: =\@tempa=\@tempb=}%
+ \ifx\@tempb\@empty
+ \else
+ p%
+ \fi
+ p.~\expandafter\@PGdash\@tempa-\@nil%
+ \expandafter\@PGdashloop\@tempb\@nil%
+}
+
+ %% argument is "b"; tmpa="a" tmpb="b "
+
+\def\@PGdashloop#1 #2\@nil{%
+ \@DEBUG@CIT{TEST: =#1=#2=}%
+ \space\@PGdash#1-\@nil%
+ \def\@tempa{#2}%
+ \ifx\@tempa\@empty
+ \else
+ \@PGdashloop#2\@nil%
+ \fi
+}
+
+\def\@PGdash#1-#2\@nil{\hbox{#1%
+ \@DEBUG@CIT{DASH: =#1=#2=}%
+ \def\@tempa{#2}%
+ \ifx\@tempa\@empty
+ \else
+ \edef\@tempa{\@PGundash#2}%
+ \ifx\@tempa\@empty
+ ff%
+ \else
+ --\@tempa
+ \fi
+ \fi
+}}
+
diff --git a/biblio/bibtex/contrib/iopart-num/README b/biblio/bibtex/contrib/iopart-num/README
new file mode 100644
index 0000000000..6e4bbd99da
--- /dev/null
+++ b/biblio/bibtex/contrib/iopart-num/README
@@ -0,0 +1,22 @@
+iopart-num -- BibTeX style for IOP journals
+
+--------------------------------
+
+The iopart-num BibTeX style is intended for use with Institute of
+Physics Publishing journals, including Journal of Physics. A numeric
+citation style with Harvard-like formatting is provided, based upon
+the specification in "How to prepare and submit an article for
+publication in an IOP journal using LaTeX2e" by Graham Douglas (2005).
+
+The distribution contains the BibTeX style file (iopart-num.bst), the
+source files for the documentation (iopart-num.tex and
+iopart-num.bib), and a PDF file of the documentation (iopart-num.pdf).
+
+--------------------------------
+
+Mark A. Caprio, Yale University
+January 22, 2009
+Version 2.1
+
+This material is subject to the LaTeX Project Public License. See
+http://www.latex-project.org/lppl.txt for the details of that license.
diff --git a/biblio/bibtex/contrib/iopart-num/iopart-num.bib b/biblio/bibtex/contrib/iopart-num/iopart-num.bib
new file mode 100644
index 0000000000..c9b7292e47
--- /dev/null
+++ b/biblio/bibtex/contrib/iopart-num/iopart-num.bib
@@ -0,0 +1,174 @@
+@article{ex1,
+ author = "A. Cisneros",
+ journal = "Astrophys. Space Sci.",
+ volume = 10,
+ pages = 87,
+ year = 1971
+}
+
+@article{ex2,
+ author = "S. Carlip and R. Vera",
+ journal = "Phys. Rev. D",
+ section = "D",
+ volume = 58,
+ pages = 011345,
+ year = 1998
+}
+
+@article{ex3,
+ author = "K. Davies and G. Brown",
+ journal = "J. High Energy Phys.",
+ pages = "JHEP12(1997)002",
+ year = 1997
+}
+
+@article{ex4,
+ author = "D. Neilson and M. Choptuik",
+ journal = "Class. Quantum Grav.",
+ volume = 17,
+ pages = 761,
+ year = 2000,
+ eprint = "gr-qc/9812053"
+}
+
+@unpublished{ex5,
+ author = "M. Harrison",
+ title = "Dipheomorphism-invariant manifolds",
+ year = 1999,
+ eprint = "hep-th/9909196"
+}
+
+@inbook{ex6,
+ author = "L. I. Dorman",
+ title = "Variations of Galactic Cosmic Rays",
+ publisher = "Moscow State University Press",
+ address = "Moscow",
+ year = 1975,
+ pages = 103
+}
+
+@inbook{ex7,
+ author = "R. Caplar and P. Kulisic",
+ title = "Proc. Int. Conf. on Nuclear Physics (Munich)",
+ publisher = "North-Holland/American Elsevier",
+ address = "Amsterdam",
+ year = 1973,
+ volume = 1,
+ pages = 517
+}
+
+@incollection{ex8,
+ author = "M. Morse",
+ title = "Supersonic beam sources",
+ booktitle = "Atomic Molecular and Optical Physics",
+ editor = "F. B. Dunning and R. Hulet",
+ series = "Experimental Methods in the Physical Sciences",
+ volume = 29,
+ publisher = "Academic",
+ address = "San Diego",
+ year = 1996
+}
+
+@book{ex9,
+ title = "Gulf War and Health",
+ volume = 1,
+ volumetitle = "Depleted Uranium, Pyridostigmine Bromide, Sarin, and Vaccines",
+ editor = "C. E. Fulco and C. T. Liverman and H. C. Sox",
+ publisher = "The National Academies Press",
+ address = "Washington, DC",
+ year = 2000
+}
+
+@article{bardeen1957:bcs,
+ author = "J. Bardeen and L. N. Cooper and J. R. Schrieffer",
+ journal = "Phys. Rev.",
+ volume = 108,
+ number = 5,
+ pages = 1175,
+ year = 1957
+}
+
+@article{caprio2005:coherent,
+ author = "M. A. Caprio",
+ journal = "J. Phys. A",
+ section = "A",
+ volume = 38,
+ number = 28,
+ pages = 6385,
+ year = 2005
+}
+
+@article{zamfir2005:132te-beta-enam04,
+ author = "N. V. Zamfir and others",
+ journal = "Eur. Phys. J. A",
+ section = "A",
+ volume = 25,
+ number = "s01",
+ issue = "s01",
+ year = 2005,
+ pages = 389
+}
+
+@book{rose1957:am,
+ author = "M. E. Rose",
+ title = "Elementary Theory of Angular Momentum",
+ publisher = "Wiley",
+ address = "New York",
+ year = 1957,
+}
+
+@book{dirac1958:qm,
+ author = "P. A. M. Dirac",
+ title = "The Principles of Quantum Mechanics",
+ series = "The International Series of Monographs on Physics",
+ number = 27,
+ edition = 4,
+ publisher = "Clarendon Press",
+ address = "Oxford",
+ year = 1967
+}
+
+@book{iachello2006:liealg,
+ author = "F. Iachello",
+ title = "Lie Algebras and Applications",
+ publisher = "Springer",
+ series = "Lecture Notes in Physics",
+ volume = 708,
+ address = "Berlin",
+ year = 2006
+}
+
+@book{siegbahn1965:v1,
+ editor = "K. Siegbahn",
+ title = "Alpha-, Beta-, and Gamma-Ray Spectroscopy",
+ booktitle = "Alpha-, Beta-, and Gamma-Ray Spectroscopy",
+ publisher = "North-Holland",
+ address = "Amsterdam",
+ year = 1965,
+ volume = 1
+}
+
+@book{bohr1998:v2,
+ author = "A. Bohr and B. R. Mottelson",
+ title = "Nuclear Structure",
+ volume = 2,
+ volumetitle = "Nuclear Deformations",
+ publisher = "World Scientific",
+ address = "Singapore",
+ year = "1998"
+}
+
+@phdthesis{caprio2003:diss,
+ author = "M. A. Caprio",
+ school = "Yale University",
+ year = 2003,
+ eprint = "nucl-ex/0502004",
+ archive = "arXiv"
+}
+
+@misc{doePC,
+ author = "J. Doe",
+ year = 2006,
+ note = "private communication"
+}
+
diff --git a/biblio/bibtex/contrib/iopart-num/iopart-num.bst b/biblio/bibtex/contrib/iopart-num/iopart-num.bst
new file mode 100644
index 0000000000..cc46b18766
--- /dev/null
+++ b/biblio/bibtex/contrib/iopart-num/iopart-num.bst
@@ -0,0 +1,1722 @@
+% iopart-num.bst -- BibTeX style for IOP journals (Harvard-like numeric style)
+% M. A. Caprio
+%
+% DESCRIPTION
+%
+% Further documenation may be found in iopart-num.pdf.
+%
+% Available from CTAN as /biblio/bibtex/contrib/iopart-num.
+%
+% COPYRIGHT/LICENSE
+%
+% Copyright 2009 M. A. Caprio
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either
+% version 1.3 of this license or (at your option) any later
+% version. The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of
+% LaTeX version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainer of this work is the author.
+%
+% The contents of this work are listed in the README file.
+%
+% HISTORY
+%
+% Version 1.0 (2005/07/11)
+% Created using custom-bib (merlin.mbs), with following manual modifications:
+% -- remove trailing period from predefined volume, page, etc., abbreviations
+% -- provide command \newblock to fix incompatibility between natbib
+% and iopart (as of iopart version 1996/06/10)
+% -- move edition after booktitle
+% -- add version identifier to generated output
+% -- for incollection and inproceedings, move volume from after publisher to before
+% -- for any series with number, number after series
+% Version 2.0 (2006/12/21)
+% -- define section field for proper formatting of lettered journal sections
+% (suggested by Chris Latham)
+% -- suppress printing of number for article, but provide issue field
+% for periodicals with issue-based page numbering (suggested by Chris Latham)
+% -- patch remove.dots to not strip "\." control sequence (bug reported by Kevin Bube)
+% -- define epilog field (undocumented)
+% -- delete predefined computer science journal names
+% -- bring book volume+number or series+number formatting into IOP form
+% -- for book, inbook, and proceedings with editors but no author, fix formating of editors
+% -- for incollection and inproceedings, put editors in correct location
+% -- for journal: use same page formatting even if volume missing
+% Version 2.1 (2009/01/22)
+% -- for incollection and inproceedings: support title of chapter (not appropriate
+% to inbook)
+% -- for book, proceedings, etc.: support volumetitle for multivolume book
+%
+% LIMITATIONS
+%
+% Still not in IOP form:
+% -- for incollection and inproceedings, editors initials should preceed rather
+% than follow last name
+% Other:
+% -- hyphenated first names lose hyphen
+
+%% This is file `iopart-num.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `seq-no,nm-rv,dt-beg,yr-blk,xmth,yrp-x,jtit-x,vol-bf,volp-blk,num-xser,jnm-x,add-pub,pub-par,pre-pub,isbn,issn,blk-com,com-blank,fin-bare,pp,ed,abr,ednx,mth-bare,ord,jabr,and-xcom,etal-it,revdata,eprint,url,url-blk')
+%% ----------------------------------------
+%% *** Institute of Physics (IOP) journals; Harvard-like numeric style ***
+%%
+%% Copyright 1994-2002 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2002/10/21 4.05 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is a numerical citation style, and as such is standard LaTeX.
+ % It requires no extra package to interface to the main text.
+ % The form of the \bibitem entries is
+ % \bibitem{key}...
+ % Usage of \cite is as follows:
+ % \cite{key} ==>> [#]
+ % \cite[chap. 2]{key} ==>> [#, chap. 2]
+ % where # is a number determined by the ordering in the reference list.
+ % The order in the reference list is that by which the works were originally
+ % cited in the text, or that in the database.
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ archive
+ author
+ booktitle
+ chapter
+ collaboration
+ edition
+ editor
+ eid
+ eprint
+ howpublished
+ institution
+ isbn
+ issn
+ journal
+ key
+ month
+ note
+ number
+ numpages
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ url
+ volume
+ year
+%mc
+ issue
+ section
+ epilog
+ volumetitle
+ transjournal
+ transsection
+ transvolume
+ transnumber
+ transissue
+ transpages
+ transyear
+ }
+ {}
+ { label }
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% mc utilities
+% require merlin.mbs logical operators and field.or.null
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% hang -- {hang} suspends execution, for debugging purposes
+% Note that not all pending output may have been flushed.
+FUNCTION {hang}
+{
+ {#1} {skip$} while$
+}
+
+% string.length -- {s string.length} returns the true character length of s
+% In contrast, text.length$ gives special treatment to LaTeX
+% accents ("special characters") and braces.
+% Example: "" string.length -> 0
+% Example: "hello" string.length -> 5
+
+STRINGS {string.length.s }
+INTEGERS {string.length.i }
+FUNCTION {string.length}
+{
+ 'string.length.s :=
+ #0 'string.length.i :=
+ {
+ string.length.s #1 #1 substring$ "" = not
+ }
+ {
+ string.length.i #1 + 'string.length.i :=
+ string.length.s #2 global.max$ substring$ 'string.length.s :=
+ }
+ while$
+ string.length.i
+}
+
+% shared working variables for stripping functions
+STRINGS { strip.s strip.t }
+INTEGERS { strip.i }
+
+% strip.leading -- {s t strip.leading} strips t from s if it appears
+% as an initial substring
+% Example: "abcdef" "abc" strip.leading -> "def"
+% Example: "abcdef" "xyz" strip.leading -> "abcdef"
+
+FUNCTION{strip.leading}
+{
+ 'strip.t :=
+ 'strip.s :=
+ strip.t string.length 'strip.i :=
+ strip.s #1 strip.i substring$ strip.t =
+ { strip.s strip.i #1 + global.max$ substring$ }
+ { strip.s }
+ if$
+}
+
+% strip.trailing -- {s t strip.trailing} strips t from s if it appears
+% as a terminal substring
+% Example: "abcdef" "def" strip.trailing -> "abc"
+% Example: "abcdef" "xyz" strip.trailing -> "abcdef"
+FUNCTION{strip.trailing}
+{
+ 'strip.t :=
+ 'strip.s :=
+ strip.t string.length 'strip.i :=
+ strip.s #-1 strip.i substring$ strip.t =
+ { strip.s #-1 strip.i - global.max$ substring$ }
+ { strip.s }
+ if$
+}
+
+% trim -- {s trim} strips any trailing whitespace from s
+% Example: "abcdef " trim -> "abcdef"
+STRINGS {trim.s trim.t}
+FUNCTION{trim}
+{
+ 'trim.s :=
+ {
+ trim.s #-1 #1 substring$ 'trim.t :=
+ trim.t empty$ trim.t string.length #0 > and
+ }
+ { trim.s #-2 global.max$ substring$ 'trim.s := }
+ while$
+ trim.s
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { " " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+%mc
+FUNCTION {format.epilog}
+{ epilog duplicate$ empty$
+ { pop$ }
+ { * }
+ if$
+}
+%mc end
+
+
+FUNCTION {fin.entry}
+{
+%mc
+format.epilog
+%mc end
+ duplicate$ empty$
+ 'pop$
+ 'write$
+ if$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ add.blank
+}
+
+STRINGS {z}
+FUNCTION {remove.dots}
+{ 'z :=
+ ""
+ { z empty$ not }
+ {
+%mc patch to preserve the control sequence \. if it appears in a name
+ z #1 #2 substring$ "\." =
+ {
+ % process "\." sequence
+ z #3 global.max$ substring$ 'z :=
+ "\." *
+ }
+ {
+ % process regular character
+ z #1 #1 substring$
+ z #2 global.max$ substring$ 'z :=
+ duplicate$ "." = 'pop$
+ { * }
+ if$
+ }
+ if$
+%mc
+ }
+ while$
+}
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "\/}" * }
+ if$
+}
+FUNCTION {bolden}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\bf " swap$ * "}" * }
+ if$
+}
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds" }
+
+FUNCTION {bbl.editor}
+{ "ed" }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "ed" }
+
+FUNCTION {bbl.volume}
+{ "vol" }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "no" }
+
+FUNCTION {bbl.nr}
+{ "no" }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "pp" }
+
+FUNCTION {bbl.page}
+{ "p" }
+
+FUNCTION {bbl.eidpp}
+{ "pages" }
+
+FUNCTION {bbl.chapter}
+{ "chap" }
+
+FUNCTION {bbl.techrep}
+{ "Tech. Rep." }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+FUNCTION {bbl.first}
+{ "1st" }
+
+FUNCTION {bbl.second}
+{ "2nd" }
+
+FUNCTION {bbl.third}
+{ "3rd" }
+
+FUNCTION {bbl.fourth}
+{ "4th" }
+
+FUNCTION {bbl.fifth}
+{ "5th" }
+
+FUNCTION {bbl.st}
+{ "st" }
+
+FUNCTION {bbl.nd}
+{ "nd" }
+
+FUNCTION {bbl.rd}
+{ "rd" }
+
+FUNCTION {bbl.th}
+{ "th" }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"Jun."}
+
+MACRO {jul} {"Jul."}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sep."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+FUNCTION {eng.ord}
+{ duplicate$ "1" swap$ *
+ #-2 #1 substring$ "1" =
+ { bbl.th * }
+ { duplicate$ #-1 #1 substring$
+ duplicate$ "1" =
+ { pop$ bbl.st * }
+ { duplicate$ "2" =
+ { pop$ bbl.nd * }
+ { "3" =
+ { bbl.rd * }
+ { bbl.th * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+%% FUNCTION {format.eprint}
+%% { eprint duplicate$ empty$
+%% 'skip$
+%% { "\eprint"
+%% archive empty$
+%% 'skip$
+%% { "[" * archive * "]" * }
+%% if$
+%% "{" * swap$ * "}" *
+%% }
+%% if$
+%% }
+FUNCTION {format.eprint}
+{ eprint duplicate$ empty$
+ 'skip$
+ {
+ "(\textit{Preprint} "
+ swap$
+ "\eprint"
+ archive empty$
+ 'skip$
+ { "[" * archive * "]" * }
+ if$
+ "{" * swap$ * "}" *
+ *
+ ")"
+ *
+ }
+ if$
+}
+
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { "\urlprefix\url{" url * "}" * }
+ if$
+}
+
+STRINGS { bibinfo}
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}{ jj}{ f{~}}"
+ format.name$
+ remove.dots
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.names.ed}
+{
+ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{f{~}~}{vv~}{ll}{ jj}"
+ format.name$
+ remove.dots
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+
+ " " * bbl.etal emphasize *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.authors}
+{ author "author" format.names
+ duplicate$ empty$ 'skip$
+ { collaboration "collaboration" bibinfo.check
+ duplicate$ empty$ 'skip$
+ { " (" swap$ * ")" * }
+ if$
+ *
+ }
+ if$
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+%% "," *
+%% " " *
+%% get.bbl.editor
+%% *
+%mc
+ " " *
+ "(" *
+ get.bbl.editor
+ *
+ ")" *
+%mc end
+ }
+ if$
+}
+%mc
+FUNCTION {format.editors.inline}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ bbl.editor " " *
+ swap$
+ *
+ }
+ if$
+}
+%mc end
+
+FUNCTION {format.isbn}
+{ isbn "isbn" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ "ISBN " swap$ *
+ }
+ if$
+}
+
+FUNCTION {format.issn}
+{ issn "issn" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ "ISSN " swap$ *
+ }
+ if$
+}
+
+FUNCTION {format.note}
+{
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ duplicate$ empty$ 'skip$
+ { "t" change.case$ }
+ if$
+ "title" bibinfo.check
+}
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in
+ " " * }
+
+FUNCTION {format.date}
+{
+ ""
+ duplicate$ empty$
+ year "year" bibinfo.check duplicate$ empty$
+ { swap$ 'skip$
+ { "there's a month but no year in " cite$ * warning$ }
+ if$
+ *
+ }
+ { swap$ 'skip$
+ {
+ swap$
+ " " * swap$
+ }
+ if$
+ *
+ remove.dots
+ }
+ if$
+ duplicate$ empty$
+ 'skip$
+ {
+ before.all 'output.state :=
+ " " swap$ *
+ }
+ if$
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ % no volume: return blank
+ { "" }
+%% { bbl.volume volume tie.or.space.prefix
+%% "volume" bibinfo.check * *
+%% series "series" bibinfo.check
+%% duplicate$ empty$ 'pop$
+%% { swap$ bbl.of space.word * swap$
+%% emphasize * }
+%% if$
+%% "volume and number" number either.or.check
+%% }
+%mc
+ {
+ series "series" bibinfo.check
+ empty$
+ % no series: must be multivolume book
+ {
+ bbl.volume volume tie.or.space.prefix "volume" bibinfo.check * *
+ volumetitle empty$
+ 'skip$
+ % volumetitle: book volume has title
+ { " " volumetitle "volumetitle" bibinfo.check emphasize * * }
+ if$
+ }
+ % series: format as volume in series
+ {
+ "("
+ series "series" bibinfo.check emphasize *
+ " " * bbl.volume *
+ volume tie.or.space.prefix "volume" bibinfo.check *
+ ")" * *
+ }
+ if$
+ "volume and number" number either.or.check
+ }
+%mc end
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { number "number" bibinfo.check }
+ {
+ %% output.state mid.sentence =
+ %% { bbl.number }
+ %% { bbl.number capitalize }
+ %% if$
+ %% number tie.or.space.prefix "number" bibinfo.check * *
+ %% bbl.in space.word *
+ %% series "series" bibinfo.check *
+ %% " " * bbl.number *
+ %% number tie.or.space.prefix "number" bibinfo.check * *
+%mc
+ "("
+ series "series" bibinfo.check emphasize *
+ " " * bbl.number *
+ number tie.or.space.prefix "number" bibinfo.check *
+ ")" *
+ *
+%mc end
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+FUNCTION {convert.edition}
+{ extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bbl.first 't := }
+ { s "second" = s "2" = or
+ { bbl.second 't := }
+ { s "third" = s "3" = or
+ { bbl.third 't := }
+ { s "fourth" = s "4" = or
+ { bbl.fourth 't := }
+ { s "fifth" = s "5" = or
+ { bbl.fifth 't := }
+ { s #1 #1 substring$ is.num
+ { s eng.ord 't := }
+ { edition 't := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ t
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ convert.edition
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ bbl.pages swap$
+ n.dashify
+ }
+ {
+ bbl.page swap$
+ }
+ if$
+ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+%mc { swap$ duplicate$ empty$
+%mc { pop$ pop$ format.pages }
+%mc {
+%mc " " *
+%mc swap$
+%mc n.dashify
+%mc "pages" bibinfo.check
+%mc *
+%mc }
+%mc if$
+%mc }
+ { swap$
+ " " *
+ swap$
+ n.dashify
+ "pages" bibinfo.check
+ *
+ }
+ if$
+}
+FUNCTION {format.journal.eid}
+{ eid "eid" bibinfo.check
+ duplicate$ empty$ 'skip$
+ { swap$ duplicate$ empty$ 'skip$
+ {
+ " " *
+ }
+ if$
+ swap$
+ numpages empty$ 'skip$
+ { bbl.eidpp numpages tie.or.space.prefix
+ "numpages" bibinfo.check * *
+ " (" swap$ * ")" * *
+ }
+ if$
+ }
+ if$ *
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+%mc section handling
+ section field.or.null strip.leading
+ section field.or.null strip.trailing trim
+%mc end
+ duplicate$ empty$ 'skip$
+ {
+ "volume" bibinfo.check
+ }
+ if$
+ bolden
+%mc number "number" bibinfo.check duplicate$ empty$ 'skip$
+ issue "issue" bibinfo.check duplicate$ empty$ 'skip$
+ {
+ swap$ duplicate$ empty$
+%mc { "there's a number but no volume in " cite$ * warning$ }
+ { "there's an issue but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ swap$
+ "(" swap$ * ")" *
+ }
+ if$ *
+ eid empty$
+ { format.journal.pages }
+ { format.journal.eid }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+ emphasize
+}
+%% FUNCTION {format.in.ed.booktitle}
+%% { format.booktitle duplicate$ empty$ 'skip$
+%% {
+%% editor "editor" format.names.ed duplicate$ empty$ 'pop$
+%% {
+%% "," *
+%% " " *
+%% get.bbl.editor
+%% ", " *
+%% * swap$
+%% * }
+%% if$
+%% word.in swap$ *
+%% }
+%% if$
+%% }
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ key duplicate$ empty$
+ { pop$
+ journal duplicate$ empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref * warning$ }
+ { "journal" bibinfo.check emphasize word.in swap$ * }
+ if$
+ }
+ { word.in swap$ * " " *}
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ "editor" bibinfo.check
+ editor num.names$ duplicate$
+ #2 >
+ { pop$
+ "editor" bibinfo.check
+ " " * bbl.etal
+ emphasize
+ *
+ }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ "editor" bibinfo.check
+ " " * bbl.etal
+ emphasize
+ *
+ }
+ {
+ bbl.and space.word
+ * editor #2 "{vv~}{ll}" format.name$
+ "editor" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { series emphasize * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { format.booktitle duplicate$ empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ }
+ { word.in swap$ * }
+ if$
+ }
+ { word.in key * " " *}
+ if$
+ }
+ { word.in format.crossref.editor * " " *}
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ add.blank "(" *
+ address "address" bibinfo.check *
+ t empty$
+ 'skip$
+ { address empty$
+ 'skip$
+ { ": " * }
+ if$
+ t *
+ }
+ if$
+ ")" *
+ }
+ if$
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ format.date "year" output.check
+ date.block
+ crossref missing$
+ {
+%mc add section handling
+%mc journal
+%mc "journal" bibinfo.check
+%mc emphasize
+%mc "journal" output.check
+%mc add.blank
+ journal
+ "journal" bibinfo.check
+ section field.or.null strip.trailing trim
+ emphasize
+ "journal" output.check
+ add.blank
+ section empty$
+ { skip$ }
+ { section * add.blank}
+ if$
+%mc end
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.issn output
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ format.edition output
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ format.publisher.address output
+ }
+ {
+ format.book.crossref output.nonnull
+ }
+ if$
+ %% format.edition output
+ format.isbn output
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ format.date output
+ date.block
+ format.title "title" output.check
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ format.isbn output
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.publisher.address output
+ %% format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ format.number.series output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ crossref missing$
+ { format.isbn output }
+ 'skip$
+ if$
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ crossref missing$
+ {
+ %% format.in.ed.booktitle "booktitle" output.check
+%mc
+ format.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.editors.inline output
+%mc end
+ format.publisher.address output
+ %% format.bvolume output
+ %% format.number.series output
+ format.chapter.pages output
+ format.edition output
+ format.isbn output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ crossref missing$
+ {
+
+ %%format.in.ed.booktitle "booktitle" output.check
+%mc
+ format.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.editors.inline output
+%mc end
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ %% format.bvolume output
+ %% format.number.series output
+ format.pages output
+ format.isbn output
+ format.issn output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization "organization" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { output
+ address "address" bibinfo.check output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ format.date output
+ date.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ {
+ address "address" bibinfo.check output
+ }
+ 'skip$
+ if$
+ }
+ {
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ }
+ if$
+ format.edition output
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ format.date output
+ format.title output
+ howpublished "howpublished" bibinfo.check output
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+ empty.misc.check
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization "organization" bibinfo.check output
+ }
+ { format.editors output.nonnull }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ editor empty$
+ { publisher empty$
+ 'skip$
+ {
+ format.publisher.address output
+ }
+ if$
+ }
+ { publisher empty$
+ {
+ format.organization.address output }
+ {
+ organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ }
+ if$
+ format.isbn output
+ format.issn output
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ format.tr.number output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ format.date output
+ date.block
+ format.title "title" output.check
+ format.note "note" output.check
+ format.eprint output
+ format.url output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+READ
+STRINGS { longest.label }
+INTEGERS { number.label longest.label.width }
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+EXECUTE {initialize.longest.label}
+ITERATE {longest.label.pass}
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\providecommand{\newblock}{}"
+ write$ newline$
+ "\begin{thebibliography}{" longest.label * "}" *
+ write$ newline$
+ "\expandafter\ifx\csname url\endcsname\relax"
+ write$ newline$
+ " \def\url#1{{\tt #1}}\fi"
+ write$ newline$
+ "\expandafter\ifx\csname urlprefix\endcsname\relax\def\urlprefix{URL }\fi"
+ write$ newline$
+ "\providecommand{\eprint}[2][]{\url{#2}}"
+ write$ newline$
+ "% Bibliography created with iopart-num v2.1"
+ write$ newline$
+ "% /biblio/bibtex/contrib/iopart-num"
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `iopart-num.bst'.
diff --git a/biblio/bibtex/contrib/iopart-num/iopart-num.pdf b/biblio/bibtex/contrib/iopart-num/iopart-num.pdf
new file mode 100644
index 0000000000..6c1da21140
--- /dev/null
+++ b/biblio/bibtex/contrib/iopart-num/iopart-num.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/iopart-num/iopart-num.tex b/biblio/bibtex/contrib/iopart-num/iopart-num.tex
new file mode 100644
index 0000000000..0e37c2bcf4
--- /dev/null
+++ b/biblio/bibtex/contrib/iopart-num/iopart-num.tex
@@ -0,0 +1,191 @@
+\documentclass[12pt]{iopart}
+
+\bibliographystyle{iopart-num}
+\usepackage{citesort}
+%% \usepackage[square,sort&compress]{natbib}
+
+\newcommand{\BibTeX}{Bib\TeX}
+\newcommand{\REVTeX}{REV\TeX}
+
+\sloppy
+
+\begin{document}
+\nocite{*}
+
+\title{The \texttt{iopart-num} \BibTeX{} style}
+
+\noindent \qquad \\[-6pt] \qquad Version 2.1\\\qquad January 22, 2009
+
+\author{M~A~Caprio}
+
+\address{Department of Physics, University of Notre Dame,
+Notre Dame, Indiana 46556-5670, USA}
+
+\section{Introduction}
+
+The \texttt{iopart-num} \BibTeX{} style is intended for use in
+preparing manuscripts for Institute of Physics Publishing journals,
+including Journal of Physics. It provides numeric citation with
+Harvard-like formatting, based upon the specification in ``How to
+prepare and submit an article for publication in an IOP journal using
+\LaTeXe'' by Graham Douglas (2005).
+
+The \texttt{iopart-num} package is available on the Comprehensive
+\TeX{} Archive Network (CTAN) as \texttt{/biblio/bibtex/contrib/iopart-num}.
+
+\section{General instructions}
+
+To use the \texttt{iopart-num} style, include the command
+\verb+\bibliographystyle{iopart-num}+ in the
+document preamble. The reference section is then inserted into the
+document with the command \verb+\bibliography{...}+, where the names
+of the necessary \BibTeX{} database files should be listed between the
+braces. Further general instructions on using \BibTeX{} may be found
+in the \BibTeX{} documentation.
+
+The \texttt{iopart-num} style is compatible with, but does not
+require, the \texttt{iopart} document class.
+For documents prepared \textit{with}
+the \texttt{natbib} package,
+\texttt{natbib} should be loaded with the options \verb+square+ and \verb+sort&compress+
+to insure proper formatting of the references in the text. If,
+instead,
+documents are prepared using the \texttt{iopart} class but
+\textit{without} \texttt{natbib}, the section header
+for the references must be manually inserted, with the command
+\verb+\section*{References}+, and use of the \texttt{citesort} package
+is recommended for proper formatting of the references in the text.
+
+\section{Special bibliographic data fields}
+
+\subsection{Journal sections}
+
+Under IOP style conventions, journal names should be set in italic
+type. However, for journals with multiple lettered sections, the IOP
+convention is that the journal section letter should appear in roman
+type after the main journal name, \textit{e.g.}, ``\textit{J.\
+Phys.\/} A''. Most existing \BibTeX{} styles do not make special
+provision for lettered sections. Therefore, typically, the section
+letter is either included as part of the journal name
+\begin{verbatim}
+ journal = "J. Phys. A",
+ volume = "38",
+\end{verbatim}
+or as part of the volume number
+\begin{verbatim}
+ journal = "J. Phys.",
+ volume = "A38",
+\end{verbatim}
+in the \BibTeX{} database entry. The \texttt{iopart-num} style
+instead introduces a new optional field \verb+section+ which can be
+used to specify a journal section letter. This section letter is set in
+roman type. Moreover, if the section letter already appears in
+\textit{any} of the usual locations in the database entry (at the end
+of the journal name, before the volume number, or after the volume
+number),
+\texttt{iopart-num} will recognize it and suppress its printing.
+Therefore, when you are creating the
+\BibTeX{} database entry for an article in a lettered journal section,
+you can still include the section letter in the \verb+journal+ or
+\verb+volume+ fields, for use with other \BibTeX{} styles,
+without adversely affecting the formatting for IOP journals. For
+example, the entry for ref.~\cite{caprio2005:coherent} can be
+generated with
+\begin{verbatim}
+ journal = "J. Phys. A",
+ section = "A",
+ volume = "38",
+\end{verbatim}
+or
+\begin{verbatim}
+ journal = "J. Phys.",
+ section = "A",
+ volume = "A38",
+\end{verbatim}
+or simply
+\begin{verbatim}
+ journal = "J. Phys.",
+ section = "A",
+ volume = "38",
+\end{verbatim}
+in the \BibTeX{} database entry. Note that section names longer than a
+single letter are also supported (\textit{e.g.},
+``\textit{Phys. Rev.\/} ST Accel. Beams'').
+
+\subsection{Journal issue numbers}
+
+Journal issue numbers are not customarily included in references to
+journal articles under the IOP formatting conventions.
+Therefore, the
+\texttt{iopart-num} style ignores the
+\verb+number+ field for articles.
+However, in some periodicals (such as popular magazines or certain
+journal online supplements), pagination restarts from 1 with each
+issue. For such periodicals, the issue number is an essential part of
+the bibliographic information needed to identify an article. The
+\texttt{iopart-num} style therefore supports an additional field
+\verb+issue+ in the \BibTeX{} database entry, which can be used to
+enforce printing of the issue number. If a value is specified for
+\verb+issue+, this value is included included parenthetically after the volume
+number in the reference, as in
+ref.~\cite{zamfir2005:132te-beta-enam04}.
+
+\subsection{Multivolume books}
+
+The IOP guidelines distinguish between a volume
+in a {\it series}
+and a volume of a {\it multivolume book} or {\it set}. For a volume in
+a series, the series title and volume number are given in parentheses
+after the book title~\cite{ex8}.
+For an individual volume in a multivolume book, the book title is
+given first, followed by the volume number and volume title~\cite{ex9}.
+
+The
+\texttt{iopart-num} style supports an additional field
+\verb+volumetitle+ in the \BibTeX{} database entry, which can be used to
+specify the title for an individual volume of a multivolume
+book, as in refs.~\cite{ex9,bohr1998:v2}. For example, the entry for
+ref.~\cite{bohr1998:v2} is generated with
+\begin{verbatim}
+ title = "Nuclear Structure",
+ volume = 2,
+ volumetitle = "Nuclear Deformations",
+\end{verbatim}
+in the \BibTeX{} database entry. In contrast, most existing \BibTeX{} styles
+allow you to reference a volume of a multivolume
+book by specifying \verb+title+ and
+\verb+volume+, as in
+refs.~\cite{ex7,siegbahn1965:v1}, but do not provide for inclusion of
+any specific title for the individual volume. A volume in a
+series~\cite{ex8,iachello2006:liealg} is indicated in
+\texttt{iopart-num}, as in most other \BibTeX{}
+styles,
+by specifying
+\verb+title+, \verb+volume+, and
+\verb+series+ in the \BibTeX{} database entry.
+
+\subsection{E-prints, collaborations, and other \REVTeX{} data fields}
+
+The \texttt{iopart-num} style supports several additional data fields
+(\verb+collaboration+, \verb+eid+, \verb+eprint+,
+\verb+numpages+, and \verb+url+) introduced in
+\REVTeX{}~4.
+
+
+\section{Examples}
+
+The entries in the reference list below provide examples of the
+formatting of various types of references, of varying complexity,
+including journal articles, articles in proceedings or collections,
+books (individual, multivolume, or in a series), theses, and
+unpublished references. The
+\BibTeX{} database entries used to generate these examples can be
+found in the file \texttt{iopart-num.bib}.
+Refs.~\cite{ex1,ex2,ex3,ex4,ex5,ex6,ex7,ex8,ex9} are based upon example entries
+from the IOP guidelines.
+
+\section*{References}
+\bibliography{iopart-num}
+
+\end{document}
+
diff --git a/biblio/bibtex/contrib/is-bst/is-abbrv.bst b/biblio/bibtex/contrib/is-bst/is-abbrv.bst
new file mode 100644
index 0000000000..5e4eaa102a
--- /dev/null
+++ b/biblio/bibtex/contrib/is-bst/is-abbrv.bst
@@ -0,0 +1,1833 @@
+%% =====================================================================
+%% WARNING: Do NOT edit this file. It was produced automatically by
+%% Nelson H. F. Beebe <beebe@plot79.math.utah.edu>
+%% from file://plot79.math.utah.edu/u/sy/beebe/tex/bib/merge/xbtxbst.doc
+%% on Wed May 15 10:36:03 MDT 1996.
+%% =====================================================================
+%%%=====================================================================
+%%% @BibTeX-style-file{
+%%% author = "Nelson H. F. Beebe",
+%%% version = "2.03",
+%%% date = "15 May 1996",
+%%% time = "10:35:51 MDT",
+%%% filename = "is-abbrv.bst",
+%%% address = "Center for Scientific Computing
+%%% Department of Mathematics
+%%% University of Utah
+%%% Salt Lake City, UT 84112
+%%% USA",
+%%% telephone = "+1 801 581 5254",
+%%% FAX = "+1 801 581 4148",
+%%% URL = "http://www.math.utah.edu/~beebe",
+%%% checksum = "47504 1833 4630 37425",
+%%% email = "beebe@math.utah.edu (Internet)",
+%%% codetable = "ISO/ASCII",
+%%% keywords = "BibTeX, style, bibliography",
+%%% supported = "yes",
+%%% docstring = "This file is a modification of the standard
+%%% BibTeX btxbst.doc file, or is a .bst file
+%%% derived from that modification. It contains
+%%% optional added support for CODEN, ISBN, ISSN,
+%%% LCCN, and PRICE fields, extended PAGES
+%%% fields, the PERIODICAL entry, and extended
+%%% citation label suffixing.
+%%%
+%%% In addition, date formatting supports a day
+%%% keyword, so that bibliography entries can be
+%%% written with
+%%%
+%%% day = {23},
+%%% month = aug,
+%%%
+%%% instead of the language-dependent awkward
+%%% forms required by the standard styles
+%%%
+%%% month = {23~} # aug,
+%%% month = aug # {~23},
+%%%
+%%% These older forms are, of course, still
+%%% handled correctly.
+%%%
+%%% The UNIX C preprocessor can be used to
+%%% extract the standard styles, as follows:
+%%%
+%%% cpp -P -DPLAIN xbtxbst.doc >plain.bst
+%%% cpp -P -DUNSRT xbtxbst.doc >unsrt.bst
+%%% cpp -P -DALPHA xbtxbst.doc >alpha.bst
+%%% cpp -P -DABBRV xbtxbst.doc >abbrv.bst
+%%%
+%%% To obtain correct file header checksums, pipe
+%%% the output through the checksum program, e.g.
+%%%
+%%% cpp -P -DPLAIN xbtxbst.doc | checksum >plain.bst
+%%%
+%%% The accompanying UNIX Makefile automates this
+%%% job, and provides some extra leading comments
+%%% in the generated style files warning the user
+%%% not to modify them.
+%%%
+%%% Additional optional definitions are recognized
+%%% to provide extensions to the standard styles:
+%%%
+%%% -D_CODEN for CODEN output
+%%%
+%%% -D_ISBN for ISBN output
+%%%
+%%% -D_ISSN for ISSN output
+%%%
+%%% -D_LCCN for LCCN output
+%%%
+%%% -D_PRICE for price output,
+%%%
+%%% -D_BOOKPAGES for book, techreport, manual,
+%%% and thesis pages output.
+%%%
+%%% -D_URL to get World-Wide Web Uniform
+%%% Resource Locator (URL) output.
+%%%
+%%% -D_NUMERIC_SUFFIXES to get numeric
+%%% label suffixes -1, -2, ..., -26, instead of
+%%% letters a, b, ..., z, so as to correctly
+%%% handle alpha-style bibliographies with more
+%%% than 26 entries for a single author in one
+%%% year. Change letter suffix code to switch
+%%% to numeric suffixes if more than 26 letters
+%%% are used, so that no matter which scheme is
+%%% selected, correct output will always be
+%%% obtained.
+%%%
+%%% The CODEN, ISBN, ISSN, LCCN, PRICE, and URL
+%%% values are wrapped inside macros \showCODEN{}
+%%% etc. that the user can provide alternate
+%%% definitions of to change the formatting, or
+%%% to suppress their output altogether. That
+%%% way, output identical to that of the four
+%%% standard BibTeX style files can be obtained
+%%% with these extended files, if these macros
+%%% are defined to expand to empty strings.
+%%%
+%%% URL handling is slightly more complex,
+%%% because URLs can contain characters which TeX
+%%% must handle in verbatim mode in a typewriter
+%%% font, and such text cannot readily appear
+%%% inside nested macro arguments. Consequently,
+%%% URLs are formatted in the .bbl file like
+%%% this:
+%%% \ifshowURL {\showURL \path|...|} \fi
+%%% where \showURL takes no argument, and
+%%% normally expands to the 4-character string
+%%% URL<space>. The grouping braces ensure that
+%%% any font changes made by \showURL remain
+%%% localized. Vertical bar is chosen as the
+%%% verbatim path delimiter, because it cannot
+%%% appear in URLs. The other prohibited ISO
+%%% Latin 1 characters are the non-printing
+%%% control characters 0..31, plus those in the
+%%% range 128..255, plus the ten special
+%%% characters
+%%%
+%%% { } [ ] \ ^ ~ < > `
+%%%
+%%% See Internet RFC 1630 (June 1994) for more
+%%% details. (Backquote is not even mentioned
+%%% there.)
+%%%
+%%% As an example of font changes, in LaTeX 2e
+%%% you might define
+%%% \newcommand{\showURL}{URL
+%%% \let \oldtt = \tt
+%%% \renewcommand{\tt}{\oldtt \itshape}}
+%%% to get URLs set in a typewriter italic font.
+%%%
+%%% If desired, a sed script can be used to
+%%% eliminate non-essential comments (this
+%%% reduces the file size by 2/3); a command
+%%% filter step like
+%%% sed -e '/^%$/d' -e '/^%[^%].*$/d'
+%%% will accomplish that job.
+%%%
+%%% The checksum field above contains a CRC-16
+%%% checksum as the first value, followed by the
+%%% equivalent of the standard UNIX wc (word
+%%% count) utility output of lines, words, and
+%%% characters. This is produced by Robert
+%%% Solovay's checksum utility."
+%%% }
+%%% ====================================================================
+%%% Revision history (reverse time order):
+%%%
+%%% 2.03 [15-May-1996]
+%%% Add CODEN support, ISBN and ISSN output for Article entries,
+%%% and ISBN output for TechReport entries (yes, these sometimes
+%%% do have ISBNs).
+%%%
+%%% Add wrapper macros \showXYZ{} (XYZ = CODEN, ISBN, ISSN, LCCN,
+%%% PRICE, and URL) defined inside the thebibliography environment
+%%% to expand to XYZ (except for PRICE) and their arguments,
+%%% PROVIDED they are not already defined. That way, the user can
+%%% provide alternate definitions outside the thebibliography
+%%% environment, for example, to suppress particular ones, or
+%%% to alter the font used.
+%%%
+%%% Substantially revise leading comments to better document the
+%%% extensions.
+%%%
+%%% 2.02 [01-Apr-1996]
+%%% Add day keyword support with new code in format.date function.
+%%% Oren Patashnik will include this new keyword in standard styles
+%%% in BibTeX 1.0.
+%%%
+%%% Add new function collapse.pagerange, and use it to collapse
+%%% page ranges with identical initial and final numbers to a
+%%% single number, so that bibliography files can distinguish
+%%% between one-page documents, and documents missing final page
+%%% numbers.
+%%%
+%%% 2.01 [25-Oct-1994]
+%%% Add URL output support.
+%%%
+%%% 2.00 [12-Oct-1994]
+%%% Add support for pages in theses and manuals, treating them
+%%% like Book and InBook pages.
+%%%
+%%% Correct ISSN support: a typo caused output of ISBN instead of
+%%% ISSN.
+%%%
+%%% Wherever ISBNs are output, also output an ISSN, if one
+%%% exists, and vice versa. The reason is that some periodicals
+%%% (e.g. The X Resource, published by O'Reilly and Associates)
+%%% have both ISSN and ISBN numbers, and can be purchased either
+%%% as journal subscriptions, or as single volumes.
+%%%
+%%% For InProceedings and Proceedings output, issue a warning for
+%%% a missing publisher: even though that field is optional, a
+%%% bibliographic reference without it is incomplete.
+%%%
+%%% Remove harmless, but unneeded, single horizontal space before
+%%% price output added with version 1.03.
+%%%
+%%% Change Proceedings and InProceedings to treat address values
+%%% as publisher addresses, as they are with every other document
+%%% type, rather than as conference addresses, which belong in
+%%% the title field (that is how major libraries, including OCLC
+%%% and Library of Congress, with nearly 60M holdings, represent
+%%% them). The need for this change has been discussed with
+%%% BibTeX's author, Oren Patashnik, and there is a good
+%%% possibility that BibTeX 1.0 will contain the change
+%%% implemented here. This is an INCOMPATIBLE change that will
+%%% produce different .bbl file formatting. However, the TUG and
+%%% BibNet bibliography projects have consistently used address
+%%% to me publisher/organization/institution address, and so
+%%% already conform to the new practice.
+%%%
+%%% 1.05 [30-May-1994]
+%%% Add NUMERIC_SUFFIXES support.
+%%%
+%%% Change all preprocessor statements to put else and endif
+%%% labels inside C-style comments to conform to 1989 ISO/ANSI C
+%%% Standard.
+%%%
+%%% 1.04 [11-Nov-1993]
+%%% Add underscore prefix to new processor symbols to prevent
+%%% substitution in comments
+%%%
+%%% 1.03 [11-Oct-1993]
+%%% Add support for LCCN (Library of Congress Catalog Number)
+%%% and price fields, and make ISBN, ISSN, LCCN, and price
+%%% selectable by preprocessor conditionals.
+%%%
+%%% 1.02 [12-Sep-1991]
+%%% Merge in Barbara N. Beeton's suggestion for hyphen-less
+%%% line breaks around volume(number):page.
+%%%
+%%% 1.01 [10-Sep-1991]
+%%% Update file comment header and use Solovay checksum program.
+%%%
+%%% 1.00 [17-Oct-1990]
+%%% Original version merging hand-edits of is-xxx.bst files into
+%%% this master file, xbtxbst.doc.
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%% BibTeX `plain' family
+%% version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+%% Copyright (C) 1985, all rights reserved.
+%% Copying of this file is authorized only if either
+%% (1) you make absolutely no changes to your copy, including name, or
+%% (2) if you do make changes, you name it something other than
+%% btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+%% This restriction helps ensure that all standard styles are identical.
+%% The file btxbst.doc has the documentation for this style.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+
+ coden
+
+ day
+ edition
+ editor
+ howpublished
+ institution
+
+ isbn
+
+
+ issn
+
+ journal
+ key
+
+ lccn
+
+ month
+ note
+ number
+ organization
+ pages
+
+ price
+
+ publisher
+ school
+ series
+ title
+ type
+
+ URL
+
+ volume
+ year
+ }
+ {}
+
+ { label }
+
+
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+
+STRINGS { b e new.pages original.t s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+
+ "\bibitem{" write$
+
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+
+FUNCTION {format.coden}
+{ coden empty$
+ { "" }
+ { new.block "\showCODEN{" coden * "}" *}
+ if$
+}
+
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.isbn}
+{ isbn empty$
+ { "" }
+ { new.block "\showISBN{" isbn * "}" *}
+ if$
+}
+
+
+
+FUNCTION {format.issn}
+{ issn empty$
+ { "" }
+ { new.block "\showISSN{" issn * "}" *}
+ if$
+}
+
+
+
+FUNCTION {format.lccn}
+{ lccn empty$
+ { "" }
+ { new.block "\showLCCN{" lccn * "}" *}
+ if$
+}
+
+
+
+FUNCTION {format.price}
+{ price empty$
+ { "" }
+ { new.block "\showPRICE{" price * "}" *}
+ if$
+}
+
+
+
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { new.block "\ifshowURL {\showURL \path|" url * "|}\fi" *}
+ if$
+}
+
+
+
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+
+ { title "t" change.case$ }
+
+ if$
+}
+
+
+
+FUNCTION {collapse.pagerange}
+{ 't := % save input page range string
+ t 'original.t := % save original page range
+ "" 'b := % beginning page number
+ "" 'e := % ending page number
+ { t empty$ not } % while-loop Boolean condition
+ { % while-loop body
+ t #1 #2 substring$ "--" = % have we found the en-dash?
+ {
+ t #3 global.max$ substring$ 'e := % yes, save ending page number
+ "" 't := % and set t to empty string to terminate loop
+ }
+ {
+ b t #1 #1 substring$ * 'b := % no, just accumulate this character
+ t #2 global.max$ substring$ 't := % and set t to the remaining string
+ }
+ if$
+ }
+ while$ % on exit, t has ending page number string
+ e b = % are beginning and ending numbers the same?
+ { b } % yes, return the beginning page number string
+ { original.t } % no, return the original page number string
+ if$
+}
+
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ {
+ day empty$
+ { "" }
+ { "there's a day but no month or year in " cite$ * warning$ }
+ if$
+ }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ day empty$
+ { }
+ { " " * day * }
+ if$
+ }
+ if$
+ }
+ { month empty$
+ {
+ day empty$
+ { year }
+ { "there's a day and year but no month in " cite$ * warning$ }
+ if$
+ }
+ {
+ month " " *
+ day empty$
+ { }
+ { day * ", " * }
+ if$
+ year *
+ }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+
+FUNCTION {format.book.pages}
+{ pages empty$
+ { "" }
+ { new.block pages " pp." * }
+ if$
+}
+
+
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ {
+ pages multi.page.check
+ { pages collapse.pagerange 'new.pages := }
+ { pages 'new.pages := }
+ if$
+ new.pages multi.page.check
+ { "pages" new.pages n.dashify tie.or.space.connect }
+ { "page" new.pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "\penalty0 (" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":\penalty0 " * pages collapse.pagerange n.dashify * }
+ if$
+ }
+ if$
+}
+
+
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+
+ key empty$ not and
+
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.book.pages output
+
+
+ format.lccn output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.book.pages output
+
+
+ format.lccn output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.lccn output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.lccn output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher "publisher" output.check
+ format.date "year" output.check
+ }
+ { new.sentence
+ organization output
+ publisher "publisher" output.check
+ address output.nonnull
+ format.date "year" output.check
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.lccn output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {conference} { inproceedings }
+
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+
+ format.book.pages output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+
+ format.book.pages output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+
+ format.book.pages output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {periodical}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ title emphasize "title" output.check
+ format.vol.num.pages output
+ format.date output
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.sentence
+ publisher output
+ address output
+ howpublished new.block.checka
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher "publisher" output.check %%% <- new check for missing
+ format.date "year" output.check
+ }
+ { new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher "publisher" output.check
+ address output.nonnull
+ format.date "year" output.check
+ }
+ if$
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.lccn output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+
+ format.isbn output % NB: TechReports occasionally have ISBNs
+
+
+ format.book.pages output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+
+ format.url output
+
+ fin.entry
+}
+
+
+FUNCTION {default.type} { misc }
+
+
+
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+
+
+
+
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Programming"}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Gr."}
+
+MACRO {toms} {"ACM Trans. Math. Softw."}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+
+
+
+READ
+
+
+
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+
+
+
+
+
+
+
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't :=
+
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+
+FUNCTION {presort}
+
+{ type$ "book" =
+
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+
+SORT
+
+
+
+
+
+
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+
+
+
+FUNCTION {begin.bib}
+
+{ preamble$ empty$
+
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+
+ "\ifx \showCODEN \undefined \def \showCODEN #1{CODEN #1} \fi" write$ newline$
+
+
+ "\ifx \showISBN \undefined \def \showISBN #1{ISBN #1} \fi" write$ newline$
+
+
+ "\ifx \showISSN \undefined \def \showISSN #1{ISSN #1} \fi" write$ newline$
+
+
+ "\ifx \showLCCN \undefined \def \showLCCN #1{LCCN #1} \fi" write$ newline$
+
+
+ "\ifx \showPRICE \undefined \def \showPRICE #1{#1} \fi" write$ newline$
+
+
+ "\ifx \showURL \undefined \def \showURL {URL } \fi" write$ newline$
+ "\ifx \path \undefined \input path.sty \fi" write$ newline$
+ "\ifx \ifshowURL \undefined" write$ newline$
+ " \newif \ifshowURL" write$ newline$
+ " \showURLtrue" write$ newline$
+ "\fi" write$ newline$
+
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+
+ITERATE {call.type$}
+
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/is-bst/is-alpha.bst b/biblio/bibtex/contrib/is-bst/is-alpha.bst
new file mode 100644
index 0000000000..8e30c422a1
--- /dev/null
+++ b/biblio/bibtex/contrib/is-bst/is-alpha.bst
@@ -0,0 +1,2020 @@
+%% =====================================================================
+%% WARNING: Do NOT edit this file. It was produced automatically by
+%% Nelson H. F. Beebe <beebe@plot79.math.utah.edu>
+%% from file://plot79.math.utah.edu/u/sy/beebe/tex/bib/merge/xbtxbst.doc
+%% on Wed May 15 10:36:04 MDT 1996.
+%% =====================================================================
+%%%=====================================================================
+%%% @BibTeX-style-file{
+%%% author = "Nelson H. F. Beebe",
+%%% version = "2.03",
+%%% date = "15 May 1996",
+%%% time = "10:35:51 MDT",
+%%% filename = "is-alpha.bst",
+%%% address = "Center for Scientific Computing
+%%% Department of Mathematics
+%%% University of Utah
+%%% Salt Lake City, UT 84112
+%%% USA",
+%%% telephone = "+1 801 581 5254",
+%%% FAX = "+1 801 581 4148",
+%%% URL = "http://www.math.utah.edu/~beebe",
+%%% checksum = "49675 2020 5086 41225",
+%%% email = "beebe@math.utah.edu (Internet)",
+%%% codetable = "ISO/ASCII",
+%%% keywords = "BibTeX, style, bibliography",
+%%% supported = "yes",
+%%% docstring = "This file is a modification of the standard
+%%% BibTeX btxbst.doc file, or is a .bst file
+%%% derived from that modification. It contains
+%%% optional added support for CODEN, ISBN, ISSN,
+%%% LCCN, and PRICE fields, extended PAGES
+%%% fields, the PERIODICAL entry, and extended
+%%% citation label suffixing.
+%%%
+%%% In addition, date formatting supports a day
+%%% keyword, so that bibliography entries can be
+%%% written with
+%%%
+%%% day = {23},
+%%% month = aug,
+%%%
+%%% instead of the language-dependent awkward
+%%% forms required by the standard styles
+%%%
+%%% month = {23~} # aug,
+%%% month = aug # {~23},
+%%%
+%%% These older forms are, of course, still
+%%% handled correctly.
+%%%
+%%% The UNIX C preprocessor can be used to
+%%% extract the standard styles, as follows:
+%%%
+%%% cpp -P -DPLAIN xbtxbst.doc >plain.bst
+%%% cpp -P -DUNSRT xbtxbst.doc >unsrt.bst
+%%% cpp -P -DALPHA xbtxbst.doc >alpha.bst
+%%% cpp -P -DABBRV xbtxbst.doc >abbrv.bst
+%%%
+%%% To obtain correct file header checksums, pipe
+%%% the output through the checksum program, e.g.
+%%%
+%%% cpp -P -DPLAIN xbtxbst.doc | checksum >plain.bst
+%%%
+%%% The accompanying UNIX Makefile automates this
+%%% job, and provides some extra leading comments
+%%% in the generated style files warning the user
+%%% not to modify them.
+%%%
+%%% Additional optional definitions are recognized
+%%% to provide extensions to the standard styles:
+%%%
+%%% -D_CODEN for CODEN output
+%%%
+%%% -D_ISBN for ISBN output
+%%%
+%%% -D_ISSN for ISSN output
+%%%
+%%% -D_LCCN for LCCN output
+%%%
+%%% -D_PRICE for price output,
+%%%
+%%% -D_BOOKPAGES for book, techreport, manual,
+%%% and thesis pages output.
+%%%
+%%% -D_URL to get World-Wide Web Uniform
+%%% Resource Locator (URL) output.
+%%%
+%%% -D_NUMERIC_SUFFIXES to get numeric
+%%% label suffixes -1, -2, ..., -26, instead of
+%%% letters a, b, ..., z, so as to correctly
+%%% handle alpha-style bibliographies with more
+%%% than 26 entries for a single author in one
+%%% year. Change letter suffix code to switch
+%%% to numeric suffixes if more than 26 letters
+%%% are used, so that no matter which scheme is
+%%% selected, correct output will always be
+%%% obtained.
+%%%
+%%% The CODEN, ISBN, ISSN, LCCN, PRICE, and URL
+%%% values are wrapped inside macros \showCODEN{}
+%%% etc. that the user can provide alternate
+%%% definitions of to change the formatting, or
+%%% to suppress their output altogether. That
+%%% way, output identical to that of the four
+%%% standard BibTeX style files can be obtained
+%%% with these extended files, if these macros
+%%% are defined to expand to empty strings.
+%%%
+%%% URL handling is slightly more complex,
+%%% because URLs can contain characters which TeX
+%%% must handle in verbatim mode in a typewriter
+%%% font, and such text cannot readily appear
+%%% inside nested macro arguments. Consequently,
+%%% URLs are formatted in the .bbl file like
+%%% this:
+%%% \ifshowURL {\showURL \path|...|} \fi
+%%% where \showURL takes no argument, and
+%%% normally expands to the 4-character string
+%%% URL<space>. The grouping braces ensure that
+%%% any font changes made by \showURL remain
+%%% localized. Vertical bar is chosen as the
+%%% verbatim path delimiter, because it cannot
+%%% appear in URLs. The other prohibited ISO
+%%% Latin 1 characters are the non-printing
+%%% control characters 0..31, plus those in the
+%%% range 128..255, plus the ten special
+%%% characters
+%%%
+%%% { } [ ] \ ^ ~ < > `
+%%%
+%%% See Internet RFC 1630 (June 1994) for more
+%%% details. (Backquote is not even mentioned
+%%% there.)
+%%%
+%%% As an example of font changes, in LaTeX 2e
+%%% you might define
+%%% \newcommand{\showURL}{URL
+%%% \let \oldtt = \tt
+%%% \renewcommand{\tt}{\oldtt \itshape}}
+%%% to get URLs set in a typewriter italic font.
+%%%
+%%% If desired, a sed script can be used to
+%%% eliminate non-essential comments (this
+%%% reduces the file size by 2/3); a command
+%%% filter step like
+%%% sed -e '/^%$/d' -e '/^%[^%].*$/d'
+%%% will accomplish that job.
+%%%
+%%% The checksum field above contains a CRC-16
+%%% checksum as the first value, followed by the
+%%% equivalent of the standard UNIX wc (word
+%%% count) utility output of lines, words, and
+%%% characters. This is produced by Robert
+%%% Solovay's checksum utility."
+%%% }
+%%% ====================================================================
+%%% Revision history (reverse time order):
+%%%
+%%% 2.03 [15-May-1996]
+%%% Add CODEN support, ISBN and ISSN output for Article entries,
+%%% and ISBN output for TechReport entries (yes, these sometimes
+%%% do have ISBNs).
+%%%
+%%% Add wrapper macros \showXYZ{} (XYZ = CODEN, ISBN, ISSN, LCCN,
+%%% PRICE, and URL) defined inside the thebibliography environment
+%%% to expand to XYZ (except for PRICE) and their arguments,
+%%% PROVIDED they are not already defined. That way, the user can
+%%% provide alternate definitions outside the thebibliography
+%%% environment, for example, to suppress particular ones, or
+%%% to alter the font used.
+%%%
+%%% Substantially revise leading comments to better document the
+%%% extensions.
+%%%
+%%% 2.02 [01-Apr-1996]
+%%% Add day keyword support with new code in format.date function.
+%%% Oren Patashnik will include this new keyword in standard styles
+%%% in BibTeX 1.0.
+%%%
+%%% Add new function collapse.pagerange, and use it to collapse
+%%% page ranges with identical initial and final numbers to a
+%%% single number, so that bibliography files can distinguish
+%%% between one-page documents, and documents missing final page
+%%% numbers.
+%%%
+%%% 2.01 [25-Oct-1994]
+%%% Add URL output support.
+%%%
+%%% 2.00 [12-Oct-1994]
+%%% Add support for pages in theses and manuals, treating them
+%%% like Book and InBook pages.
+%%%
+%%% Correct ISSN support: a typo caused output of ISBN instead of
+%%% ISSN.
+%%%
+%%% Wherever ISBNs are output, also output an ISSN, if one
+%%% exists, and vice versa. The reason is that some periodicals
+%%% (e.g. The X Resource, published by O'Reilly and Associates)
+%%% have both ISSN and ISBN numbers, and can be purchased either
+%%% as journal subscriptions, or as single volumes.
+%%%
+%%% For InProceedings and Proceedings output, issue a warning for
+%%% a missing publisher: even though that field is optional, a
+%%% bibliographic reference without it is incomplete.
+%%%
+%%% Remove harmless, but unneeded, single horizontal space before
+%%% price output added with version 1.03.
+%%%
+%%% Change Proceedings and InProceedings to treat address values
+%%% as publisher addresses, as they are with every other document
+%%% type, rather than as conference addresses, which belong in
+%%% the title field (that is how major libraries, including OCLC
+%%% and Library of Congress, with nearly 60M holdings, represent
+%%% them). The need for this change has been discussed with
+%%% BibTeX's author, Oren Patashnik, and there is a good
+%%% possibility that BibTeX 1.0 will contain the change
+%%% implemented here. This is an INCOMPATIBLE change that will
+%%% produce different .bbl file formatting. However, the TUG and
+%%% BibNet bibliography projects have consistently used address
+%%% to me publisher/organization/institution address, and so
+%%% already conform to the new practice.
+%%%
+%%% 1.05 [30-May-1994]
+%%% Add NUMERIC_SUFFIXES support.
+%%%
+%%% Change all preprocessor statements to put else and endif
+%%% labels inside C-style comments to conform to 1989 ISO/ANSI C
+%%% Standard.
+%%%
+%%% 1.04 [11-Nov-1993]
+%%% Add underscore prefix to new processor symbols to prevent
+%%% substitution in comments
+%%%
+%%% 1.03 [11-Oct-1993]
+%%% Add support for LCCN (Library of Congress Catalog Number)
+%%% and price fields, and make ISBN, ISSN, LCCN, and price
+%%% selectable by preprocessor conditionals.
+%%%
+%%% 1.02 [12-Sep-1991]
+%%% Merge in Barbara N. Beeton's suggestion for hyphen-less
+%%% line breaks around volume(number):page.
+%%%
+%%% 1.01 [10-Sep-1991]
+%%% Update file comment header and use Solovay checksum program.
+%%%
+%%% 1.00 [17-Oct-1990]
+%%% Original version merging hand-edits of is-xxx.bst files into
+%%% this master file, xbtxbst.doc.
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%% BibTeX `plain' family
+%% version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+%% Copyright (C) 1985, all rights reserved.
+%% Copying of this file is authorized only if either
+%% (1) you make absolutely no changes to your copy, including name, or
+%% (2) if you do make changes, you name it something other than
+%% btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+%% This restriction helps ensure that all standard styles are identical.
+%% The file btxbst.doc has the documentation for this style.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+
+ coden
+
+ day
+ edition
+ editor
+ howpublished
+ institution
+
+ isbn
+
+
+ issn
+
+ journal
+ key
+
+ lccn
+
+ month
+ note
+ number
+ organization
+ pages
+
+ price
+
+ publisher
+ school
+ series
+ title
+ type
+
+ URL
+
+ volume
+ year
+ }
+ {}
+
+
+ { label extra.label sort.label }
+
+
+
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+
+STRINGS { b e new.pages original.t s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+
+FUNCTION {format.coden}
+{ coden empty$
+ { "" }
+ { new.block "\showCODEN{" coden * "}" *}
+ if$
+}
+
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.isbn}
+{ isbn empty$
+ { "" }
+ { new.block "\showISBN{" isbn * "}" *}
+ if$
+}
+
+
+
+FUNCTION {format.issn}
+{ issn empty$
+ { "" }
+ { new.block "\showISSN{" issn * "}" *}
+ if$
+}
+
+
+
+FUNCTION {format.lccn}
+{ lccn empty$
+ { "" }
+ { new.block "\showLCCN{" lccn * "}" *}
+ if$
+}
+
+
+
+FUNCTION {format.price}
+{ price empty$
+ { "" }
+ { new.block "\showPRICE{" price * "}" *}
+ if$
+}
+
+
+
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { new.block "\ifshowURL {\showURL \path|" url * "|}\fi" *}
+ if$
+}
+
+
+
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+
+ { title "t" change.case$ }
+
+ if$
+}
+
+
+
+FUNCTION {collapse.pagerange}
+{ 't := % save input page range string
+ t 'original.t := % save original page range
+ "" 'b := % beginning page number
+ "" 'e := % ending page number
+ { t empty$ not } % while-loop Boolean condition
+ { % while-loop body
+ t #1 #2 substring$ "--" = % have we found the en-dash?
+ {
+ t #3 global.max$ substring$ 'e := % yes, save ending page number
+ "" 't := % and set t to empty string to terminate loop
+ }
+ {
+ b t #1 #1 substring$ * 'b := % no, just accumulate this character
+ t #2 global.max$ substring$ 't := % and set t to the remaining string
+ }
+ if$
+ }
+ while$ % on exit, t has ending page number string
+ e b = % are beginning and ending numbers the same?
+ { b } % yes, return the beginning page number string
+ { original.t } % no, return the original page number string
+ if$
+}
+
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ {
+ day empty$
+ { "" }
+ { "there's a day but no month or year in " cite$ * warning$ }
+ if$
+ }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ day empty$
+ { }
+ { " " * day * }
+ if$
+ }
+ if$
+ }
+ { month empty$
+ {
+ day empty$
+ { year }
+ { "there's a day and year but no month in " cite$ * warning$ }
+ if$
+ }
+ {
+ month " " *
+ day empty$
+ { }
+ { day * ", " * }
+ if$
+ year *
+ }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+
+FUNCTION {format.book.pages}
+{ pages empty$
+ { "" }
+ { new.block pages " pp." * }
+ if$
+}
+
+
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ {
+ pages multi.page.check
+ { pages collapse.pagerange 'new.pages := }
+ { pages 'new.pages := }
+ if$
+ new.pages multi.page.check
+ { "pages" new.pages n.dashify tie.or.space.connect }
+ { "page" new.pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "\penalty0 (" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":\penalty0 " * pages collapse.pagerange n.dashify * }
+ if$
+ }
+ if$
+}
+
+
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+
+ key empty$ not and
+
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.book.pages output
+
+
+ format.lccn output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.book.pages output
+
+
+ format.lccn output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.lccn output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.lccn output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher "publisher" output.check
+ format.date "year" output.check
+ }
+ { new.sentence
+ organization output
+ publisher "publisher" output.check
+ address output.nonnull
+ format.date "year" output.check
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.lccn output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {conference} { inproceedings }
+
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+
+ format.book.pages output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+
+ format.book.pages output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+
+ format.book.pages output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {periodical}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ title emphasize "title" output.check
+ format.vol.num.pages output
+ format.date output
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.sentence
+ publisher output
+ address output
+ howpublished new.block.checka
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher "publisher" output.check %%% <- new check for missing
+ format.date "year" output.check
+ }
+ { new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher "publisher" output.check
+ address output.nonnull
+ format.date "year" output.check
+ }
+ if$
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.lccn output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+
+ format.isbn output % NB: TechReports occasionally have ISBNs
+
+
+ format.book.pages output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+
+ format.url output
+
+ fin.entry
+}
+
+
+FUNCTION {default.type} { misc }
+
+
+
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+
+
+
+
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+
+
+
+READ
+
+
+
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+
+
+
+
+
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+
+ { cite$ #1 #3 substring$ }
+
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+
+ { cite$ #1 #3 substring$ }
+
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+
+ { cite$ #1 #3 substring$ }
+
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+
+ { cite$ #1 #3 substring$ }
+
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ year field.or.null purify$ #-1 #2 substring$
+ *
+ 'label :=
+ year field.or.null purify$ #-1 #4 substring$
+ *
+ sortify 'sort.label :=
+}
+
+
+
+
+
+
+
+
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+
+FUNCTION {presort}
+
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+
+ *
+
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+
+SORT
+
+
+
+
+
+
+
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+
+ last.extra.num "z" chr.to.int$ >
+
+ % Generate -1, -2, ... suffixes
+ { "-" last.extra.num "a" chr.to.int$ - #1 + int.to.str$ * 'extra.label := }
+ % Generate a, b, ..., z suffixes
+ { last.extra.num int.to.chr$ 'extra.label := }
+ if$
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{
+
+ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+
+
+
+
+
+FUNCTION {begin.bib}
+
+{ et.al.char.used
+ { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+ 'skip$
+ if$
+ preamble$ empty$
+
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+
+ "\ifx \showCODEN \undefined \def \showCODEN #1{CODEN #1} \fi" write$ newline$
+
+
+ "\ifx \showISBN \undefined \def \showISBN #1{ISBN #1} \fi" write$ newline$
+
+
+ "\ifx \showISSN \undefined \def \showISSN #1{ISSN #1} \fi" write$ newline$
+
+
+ "\ifx \showLCCN \undefined \def \showLCCN #1{LCCN #1} \fi" write$ newline$
+
+
+ "\ifx \showPRICE \undefined \def \showPRICE #1{#1} \fi" write$ newline$
+
+
+ "\ifx \showURL \undefined \def \showURL {URL } \fi" write$ newline$
+ "\ifx \path \undefined \input path.sty \fi" write$ newline$
+ "\ifx \ifshowURL \undefined" write$ newline$
+ " \newif \ifshowURL" write$ newline$
+ " \showURLtrue" write$ newline$
+ "\fi" write$ newline$
+
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+
+ITERATE {call.type$}
+
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/is-bst/is-plain.bst b/biblio/bibtex/contrib/is-bst/is-plain.bst
new file mode 100644
index 0000000000..8e044f2cc6
--- /dev/null
+++ b/biblio/bibtex/contrib/is-bst/is-plain.bst
@@ -0,0 +1,1835 @@
+%% =====================================================================
+%% WARNING: Do NOT edit this file. It was produced automatically by
+%% Nelson H. F. Beebe <beebe@plot79.math.utah.edu>
+%% from file://plot79.math.utah.edu/u/sy/beebe/tex/bib/merge/xbtxbst.doc
+%% on Wed May 15 10:36:06 MDT 1996.
+%% =====================================================================
+%%%=====================================================================
+%%% @BibTeX-style-file{
+%%% author = "Nelson H. F. Beebe",
+%%% version = "2.03",
+%%% date = "15 May 1996",
+%%% time = "10:35:51 MDT",
+%%% filename = "is-plain.bst",
+%%% address = "Center for Scientific Computing
+%%% Department of Mathematics
+%%% University of Utah
+%%% Salt Lake City, UT 84112
+%%% USA",
+%%% telephone = "+1 801 581 5254",
+%%% FAX = "+1 801 581 4148",
+%%% URL = "http://www.math.utah.edu/~beebe",
+%%% checksum = "22091 1835 4654 37711",
+%%% email = "beebe@math.utah.edu (Internet)",
+%%% codetable = "ISO/ASCII",
+%%% keywords = "BibTeX, style, bibliography",
+%%% supported = "yes",
+%%% docstring = "This file is a modification of the standard
+%%% BibTeX btxbst.doc file, or is a .bst file
+%%% derived from that modification. It contains
+%%% optional added support for CODEN, ISBN, ISSN,
+%%% LCCN, and PRICE fields, extended PAGES
+%%% fields, the PERIODICAL entry, and extended
+%%% citation label suffixing.
+%%%
+%%% In addition, date formatting supports a day
+%%% keyword, so that bibliography entries can be
+%%% written with
+%%%
+%%% day = {23},
+%%% month = aug,
+%%%
+%%% instead of the language-dependent awkward
+%%% forms required by the standard styles
+%%%
+%%% month = {23~} # aug,
+%%% month = aug # {~23},
+%%%
+%%% These older forms are, of course, still
+%%% handled correctly.
+%%%
+%%% The UNIX C preprocessor can be used to
+%%% extract the standard styles, as follows:
+%%%
+%%% cpp -P -DPLAIN xbtxbst.doc >plain.bst
+%%% cpp -P -DUNSRT xbtxbst.doc >unsrt.bst
+%%% cpp -P -DALPHA xbtxbst.doc >alpha.bst
+%%% cpp -P -DABBRV xbtxbst.doc >abbrv.bst
+%%%
+%%% To obtain correct file header checksums, pipe
+%%% the output through the checksum program, e.g.
+%%%
+%%% cpp -P -DPLAIN xbtxbst.doc | checksum >plain.bst
+%%%
+%%% The accompanying UNIX Makefile automates this
+%%% job, and provides some extra leading comments
+%%% in the generated style files warning the user
+%%% not to modify them.
+%%%
+%%% Additional optional definitions are recognized
+%%% to provide extensions to the standard styles:
+%%%
+%%% -D_CODEN for CODEN output
+%%%
+%%% -D_ISBN for ISBN output
+%%%
+%%% -D_ISSN for ISSN output
+%%%
+%%% -D_LCCN for LCCN output
+%%%
+%%% -D_PRICE for price output,
+%%%
+%%% -D_BOOKPAGES for book, techreport, manual,
+%%% and thesis pages output.
+%%%
+%%% -D_URL to get World-Wide Web Uniform
+%%% Resource Locator (URL) output.
+%%%
+%%% -D_NUMERIC_SUFFIXES to get numeric
+%%% label suffixes -1, -2, ..., -26, instead of
+%%% letters a, b, ..., z, so as to correctly
+%%% handle alpha-style bibliographies with more
+%%% than 26 entries for a single author in one
+%%% year. Change letter suffix code to switch
+%%% to numeric suffixes if more than 26 letters
+%%% are used, so that no matter which scheme is
+%%% selected, correct output will always be
+%%% obtained.
+%%%
+%%% The CODEN, ISBN, ISSN, LCCN, PRICE, and URL
+%%% values are wrapped inside macros \showCODEN{}
+%%% etc. that the user can provide alternate
+%%% definitions of to change the formatting, or
+%%% to suppress their output altogether. That
+%%% way, output identical to that of the four
+%%% standard BibTeX style files can be obtained
+%%% with these extended files, if these macros
+%%% are defined to expand to empty strings.
+%%%
+%%% URL handling is slightly more complex,
+%%% because URLs can contain characters which TeX
+%%% must handle in verbatim mode in a typewriter
+%%% font, and such text cannot readily appear
+%%% inside nested macro arguments. Consequently,
+%%% URLs are formatted in the .bbl file like
+%%% this:
+%%% \ifshowURL {\showURL \path|...|} \fi
+%%% where \showURL takes no argument, and
+%%% normally expands to the 4-character string
+%%% URL<space>. The grouping braces ensure that
+%%% any font changes made by \showURL remain
+%%% localized. Vertical bar is chosen as the
+%%% verbatim path delimiter, because it cannot
+%%% appear in URLs. The other prohibited ISO
+%%% Latin 1 characters are the non-printing
+%%% control characters 0..31, plus those in the
+%%% range 128..255, plus the ten special
+%%% characters
+%%%
+%%% { } [ ] \ ^ ~ < > `
+%%%
+%%% See Internet RFC 1630 (June 1994) for more
+%%% details. (Backquote is not even mentioned
+%%% there.)
+%%%
+%%% As an example of font changes, in LaTeX 2e
+%%% you might define
+%%% \newcommand{\showURL}{URL
+%%% \let \oldtt = \tt
+%%% \renewcommand{\tt}{\oldtt \itshape}}
+%%% to get URLs set in a typewriter italic font.
+%%%
+%%% If desired, a sed script can be used to
+%%% eliminate non-essential comments (this
+%%% reduces the file size by 2/3); a command
+%%% filter step like
+%%% sed -e '/^%$/d' -e '/^%[^%].*$/d'
+%%% will accomplish that job.
+%%%
+%%% The checksum field above contains a CRC-16
+%%% checksum as the first value, followed by the
+%%% equivalent of the standard UNIX wc (word
+%%% count) utility output of lines, words, and
+%%% characters. This is produced by Robert
+%%% Solovay's checksum utility."
+%%% }
+%%% ====================================================================
+%%% Revision history (reverse time order):
+%%%
+%%% 2.03 [15-May-1996]
+%%% Add CODEN support, ISBN and ISSN output for Article entries,
+%%% and ISBN output for TechReport entries (yes, these sometimes
+%%% do have ISBNs).
+%%%
+%%% Add wrapper macros \showXYZ{} (XYZ = CODEN, ISBN, ISSN, LCCN,
+%%% PRICE, and URL) defined inside the thebibliography environment
+%%% to expand to XYZ (except for PRICE) and their arguments,
+%%% PROVIDED they are not already defined. That way, the user can
+%%% provide alternate definitions outside the thebibliography
+%%% environment, for example, to suppress particular ones, or
+%%% to alter the font used.
+%%%
+%%% Substantially revise leading comments to better document the
+%%% extensions.
+%%%
+%%% 2.02 [01-Apr-1996]
+%%% Add day keyword support with new code in format.date function.
+%%% Oren Patashnik will include this new keyword in standard styles
+%%% in BibTeX 1.0.
+%%%
+%%% Add new function collapse.pagerange, and use it to collapse
+%%% page ranges with identical initial and final numbers to a
+%%% single number, so that bibliography files can distinguish
+%%% between one-page documents, and documents missing final page
+%%% numbers.
+%%%
+%%% 2.01 [25-Oct-1994]
+%%% Add URL output support.
+%%%
+%%% 2.00 [12-Oct-1994]
+%%% Add support for pages in theses and manuals, treating them
+%%% like Book and InBook pages.
+%%%
+%%% Correct ISSN support: a typo caused output of ISBN instead of
+%%% ISSN.
+%%%
+%%% Wherever ISBNs are output, also output an ISSN, if one
+%%% exists, and vice versa. The reason is that some periodicals
+%%% (e.g. The X Resource, published by O'Reilly and Associates)
+%%% have both ISSN and ISBN numbers, and can be purchased either
+%%% as journal subscriptions, or as single volumes.
+%%%
+%%% For InProceedings and Proceedings output, issue a warning for
+%%% a missing publisher: even though that field is optional, a
+%%% bibliographic reference without it is incomplete.
+%%%
+%%% Remove harmless, but unneeded, single horizontal space before
+%%% price output added with version 1.03.
+%%%
+%%% Change Proceedings and InProceedings to treat address values
+%%% as publisher addresses, as they are with every other document
+%%% type, rather than as conference addresses, which belong in
+%%% the title field (that is how major libraries, including OCLC
+%%% and Library of Congress, with nearly 60M holdings, represent
+%%% them). The need for this change has been discussed with
+%%% BibTeX's author, Oren Patashnik, and there is a good
+%%% possibility that BibTeX 1.0 will contain the change
+%%% implemented here. This is an INCOMPATIBLE change that will
+%%% produce different .bbl file formatting. However, the TUG and
+%%% BibNet bibliography projects have consistently used address
+%%% to me publisher/organization/institution address, and so
+%%% already conform to the new practice.
+%%%
+%%% 1.05 [30-May-1994]
+%%% Add NUMERIC_SUFFIXES support.
+%%%
+%%% Change all preprocessor statements to put else and endif
+%%% labels inside C-style comments to conform to 1989 ISO/ANSI C
+%%% Standard.
+%%%
+%%% 1.04 [11-Nov-1993]
+%%% Add underscore prefix to new processor symbols to prevent
+%%% substitution in comments
+%%%
+%%% 1.03 [11-Oct-1993]
+%%% Add support for LCCN (Library of Congress Catalog Number)
+%%% and price fields, and make ISBN, ISSN, LCCN, and price
+%%% selectable by preprocessor conditionals.
+%%%
+%%% 1.02 [12-Sep-1991]
+%%% Merge in Barbara N. Beeton's suggestion for hyphen-less
+%%% line breaks around volume(number):page.
+%%%
+%%% 1.01 [10-Sep-1991]
+%%% Update file comment header and use Solovay checksum program.
+%%%
+%%% 1.00 [17-Oct-1990]
+%%% Original version merging hand-edits of is-xxx.bst files into
+%%% this master file, xbtxbst.doc.
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%% BibTeX `plain' family
+%% version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+%% Copyright (C) 1985, all rights reserved.
+%% Copying of this file is authorized only if either
+%% (1) you make absolutely no changes to your copy, including name, or
+%% (2) if you do make changes, you name it something other than
+%% btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+%% This restriction helps ensure that all standard styles are identical.
+%% The file btxbst.doc has the documentation for this style.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+
+ coden
+
+ day
+ edition
+ editor
+ howpublished
+ institution
+
+ isbn
+
+
+ issn
+
+ journal
+ key
+
+ lccn
+
+ month
+ note
+ number
+ organization
+ pages
+
+ price
+
+ publisher
+ school
+ series
+ title
+ type
+
+ URL
+
+ volume
+ year
+ }
+ {}
+
+ { label }
+
+
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+
+STRINGS { b e new.pages original.t s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+
+ "\bibitem{" write$
+
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+
+FUNCTION {format.coden}
+{ coden empty$
+ { "" }
+ { new.block "\showCODEN{" coden * "}" *}
+ if$
+}
+
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.isbn}
+{ isbn empty$
+ { "" }
+ { new.block "\showISBN{" isbn * "}" *}
+ if$
+}
+
+
+
+FUNCTION {format.issn}
+{ issn empty$
+ { "" }
+ { new.block "\showISSN{" issn * "}" *}
+ if$
+}
+
+
+
+FUNCTION {format.lccn}
+{ lccn empty$
+ { "" }
+ { new.block "\showLCCN{" lccn * "}" *}
+ if$
+}
+
+
+
+FUNCTION {format.price}
+{ price empty$
+ { "" }
+ { new.block "\showPRICE{" price * "}" *}
+ if$
+}
+
+
+
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { new.block "\ifshowURL {\showURL \path|" url * "|}\fi" *}
+ if$
+}
+
+
+
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+
+ { title "t" change.case$ }
+
+ if$
+}
+
+
+
+FUNCTION {collapse.pagerange}
+{ 't := % save input page range string
+ t 'original.t := % save original page range
+ "" 'b := % beginning page number
+ "" 'e := % ending page number
+ { t empty$ not } % while-loop Boolean condition
+ { % while-loop body
+ t #1 #2 substring$ "--" = % have we found the en-dash?
+ {
+ t #3 global.max$ substring$ 'e := % yes, save ending page number
+ "" 't := % and set t to empty string to terminate loop
+ }
+ {
+ b t #1 #1 substring$ * 'b := % no, just accumulate this character
+ t #2 global.max$ substring$ 't := % and set t to the remaining string
+ }
+ if$
+ }
+ while$ % on exit, t has ending page number string
+ e b = % are beginning and ending numbers the same?
+ { b } % yes, return the beginning page number string
+ { original.t } % no, return the original page number string
+ if$
+}
+
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ {
+ day empty$
+ { "" }
+ { "there's a day but no month or year in " cite$ * warning$ }
+ if$
+ }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ day empty$
+ { }
+ { " " * day * }
+ if$
+ }
+ if$
+ }
+ { month empty$
+ {
+ day empty$
+ { year }
+ { "there's a day and year but no month in " cite$ * warning$ }
+ if$
+ }
+ {
+ month " " *
+ day empty$
+ { }
+ { day * ", " * }
+ if$
+ year *
+ }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+
+FUNCTION {format.book.pages}
+{ pages empty$
+ { "" }
+ { new.block pages " pp." * }
+ if$
+}
+
+
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ {
+ pages multi.page.check
+ { pages collapse.pagerange 'new.pages := }
+ { pages 'new.pages := }
+ if$
+ new.pages multi.page.check
+ { "pages" new.pages n.dashify tie.or.space.connect }
+ { "page" new.pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "\penalty0 (" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":\penalty0 " * pages collapse.pagerange n.dashify * }
+ if$
+ }
+ if$
+}
+
+
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+
+ key empty$ not and
+
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.book.pages output
+
+
+ format.lccn output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.book.pages output
+
+
+ format.lccn output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.lccn output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.lccn output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher "publisher" output.check
+ format.date "year" output.check
+ }
+ { new.sentence
+ organization output
+ publisher "publisher" output.check
+ address output.nonnull
+ format.date "year" output.check
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.lccn output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {conference} { inproceedings }
+
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+
+ format.book.pages output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+
+ format.book.pages output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+
+ format.book.pages output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {periodical}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ title emphasize "title" output.check
+ format.vol.num.pages output
+ format.date output
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.sentence
+ publisher output
+ address output
+ howpublished new.block.checka
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher "publisher" output.check %%% <- new check for missing
+ format.date "year" output.check
+ }
+ { new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher "publisher" output.check
+ address output.nonnull
+ format.date "year" output.check
+ }
+ if$
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.lccn output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+
+ format.isbn output % NB: TechReports occasionally have ISBNs
+
+
+ format.book.pages output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+
+ format.url output
+
+ fin.entry
+}
+
+
+FUNCTION {default.type} { misc }
+
+
+
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+
+
+
+
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+
+
+
+READ
+
+
+
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+
+
+
+
+
+
+
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+
+FUNCTION {presort}
+
+{ type$ "book" =
+
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+
+SORT
+
+
+
+
+
+
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+
+
+
+FUNCTION {begin.bib}
+
+{ preamble$ empty$
+
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+
+ "\ifx \showCODEN \undefined \def \showCODEN #1{CODEN #1} \fi" write$ newline$
+
+
+ "\ifx \showISBN \undefined \def \showISBN #1{ISBN #1} \fi" write$ newline$
+
+
+ "\ifx \showISSN \undefined \def \showISSN #1{ISSN #1} \fi" write$ newline$
+
+
+ "\ifx \showLCCN \undefined \def \showLCCN #1{LCCN #1} \fi" write$ newline$
+
+
+ "\ifx \showPRICE \undefined \def \showPRICE #1{#1} \fi" write$ newline$
+
+
+ "\ifx \showURL \undefined \def \showURL {URL } \fi" write$ newline$
+ "\ifx \path \undefined \input path.sty \fi" write$ newline$
+ "\ifx \ifshowURL \undefined" write$ newline$
+ " \newif \ifshowURL" write$ newline$
+ " \showURLtrue" write$ newline$
+ "\fi" write$ newline$
+
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+
+ITERATE {call.type$}
+
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/is-bst/is-unsrt.bst b/biblio/bibtex/contrib/is-bst/is-unsrt.bst
new file mode 100644
index 0000000000..6d7b4dd579
--- /dev/null
+++ b/biblio/bibtex/contrib/is-bst/is-unsrt.bst
@@ -0,0 +1,1673 @@
+%% =====================================================================
+%% WARNING: Do NOT edit this file. It was produced automatically by
+%% Nelson H. F. Beebe <beebe@plot79.math.utah.edu>
+%% from file://plot79.math.utah.edu/u/sy/beebe/tex/bib/merge/xbtxbst.doc
+%% on Wed May 15 10:36:08 MDT 1996.
+%% =====================================================================
+%%%=====================================================================
+%%% @BibTeX-style-file{
+%%% author = "Nelson H. F. Beebe",
+%%% version = "2.03",
+%%% date = "15 May 1996",
+%%% time = "10:35:51 MDT",
+%%% filename = "is-unsrt.bst",
+%%% address = "Center for Scientific Computing
+%%% Department of Mathematics
+%%% University of Utah
+%%% Salt Lake City, UT 84112
+%%% USA",
+%%% telephone = "+1 801 581 5254",
+%%% FAX = "+1 801 581 4148",
+%%% URL = "http://www.math.utah.edu/~beebe",
+%%% checksum = "64263 1673 4293 35112",
+%%% email = "beebe@math.utah.edu (Internet)",
+%%% codetable = "ISO/ASCII",
+%%% keywords = "BibTeX, style, bibliography",
+%%% supported = "yes",
+%%% docstring = "This file is a modification of the standard
+%%% BibTeX btxbst.doc file, or is a .bst file
+%%% derived from that modification. It contains
+%%% optional added support for CODEN, ISBN, ISSN,
+%%% LCCN, and PRICE fields, extended PAGES
+%%% fields, the PERIODICAL entry, and extended
+%%% citation label suffixing.
+%%%
+%%% In addition, date formatting supports a day
+%%% keyword, so that bibliography entries can be
+%%% written with
+%%%
+%%% day = {23},
+%%% month = aug,
+%%%
+%%% instead of the language-dependent awkward
+%%% forms required by the standard styles
+%%%
+%%% month = {23~} # aug,
+%%% month = aug # {~23},
+%%%
+%%% These older forms are, of course, still
+%%% handled correctly.
+%%%
+%%% The UNIX C preprocessor can be used to
+%%% extract the standard styles, as follows:
+%%%
+%%% cpp -P -DPLAIN xbtxbst.doc >plain.bst
+%%% cpp -P -DUNSRT xbtxbst.doc >unsrt.bst
+%%% cpp -P -DALPHA xbtxbst.doc >alpha.bst
+%%% cpp -P -DABBRV xbtxbst.doc >abbrv.bst
+%%%
+%%% To obtain correct file header checksums, pipe
+%%% the output through the checksum program, e.g.
+%%%
+%%% cpp -P -DPLAIN xbtxbst.doc | checksum >plain.bst
+%%%
+%%% The accompanying UNIX Makefile automates this
+%%% job, and provides some extra leading comments
+%%% in the generated style files warning the user
+%%% not to modify them.
+%%%
+%%% Additional optional definitions are recognized
+%%% to provide extensions to the standard styles:
+%%%
+%%% -D_CODEN for CODEN output
+%%%
+%%% -D_ISBN for ISBN output
+%%%
+%%% -D_ISSN for ISSN output
+%%%
+%%% -D_LCCN for LCCN output
+%%%
+%%% -D_PRICE for price output,
+%%%
+%%% -D_BOOKPAGES for book, techreport, manual,
+%%% and thesis pages output.
+%%%
+%%% -D_URL to get World-Wide Web Uniform
+%%% Resource Locator (URL) output.
+%%%
+%%% -D_NUMERIC_SUFFIXES to get numeric
+%%% label suffixes -1, -2, ..., -26, instead of
+%%% letters a, b, ..., z, so as to correctly
+%%% handle alpha-style bibliographies with more
+%%% than 26 entries for a single author in one
+%%% year. Change letter suffix code to switch
+%%% to numeric suffixes if more than 26 letters
+%%% are used, so that no matter which scheme is
+%%% selected, correct output will always be
+%%% obtained.
+%%%
+%%% The CODEN, ISBN, ISSN, LCCN, PRICE, and URL
+%%% values are wrapped inside macros \showCODEN{}
+%%% etc. that the user can provide alternate
+%%% definitions of to change the formatting, or
+%%% to suppress their output altogether. That
+%%% way, output identical to that of the four
+%%% standard BibTeX style files can be obtained
+%%% with these extended files, if these macros
+%%% are defined to expand to empty strings.
+%%%
+%%% URL handling is slightly more complex,
+%%% because URLs can contain characters which TeX
+%%% must handle in verbatim mode in a typewriter
+%%% font, and such text cannot readily appear
+%%% inside nested macro arguments. Consequently,
+%%% URLs are formatted in the .bbl file like
+%%% this:
+%%% \ifshowURL {\showURL \path|...|} \fi
+%%% where \showURL takes no argument, and
+%%% normally expands to the 4-character string
+%%% URL<space>. The grouping braces ensure that
+%%% any font changes made by \showURL remain
+%%% localized. Vertical bar is chosen as the
+%%% verbatim path delimiter, because it cannot
+%%% appear in URLs. The other prohibited ISO
+%%% Latin 1 characters are the non-printing
+%%% control characters 0..31, plus those in the
+%%% range 128..255, plus the ten special
+%%% characters
+%%%
+%%% { } [ ] \ ^ ~ < > `
+%%%
+%%% See Internet RFC 1630 (June 1994) for more
+%%% details. (Backquote is not even mentioned
+%%% there.)
+%%%
+%%% As an example of font changes, in LaTeX 2e
+%%% you might define
+%%% \newcommand{\showURL}{URL
+%%% \let \oldtt = \tt
+%%% \renewcommand{\tt}{\oldtt \itshape}}
+%%% to get URLs set in a typewriter italic font.
+%%%
+%%% If desired, a sed script can be used to
+%%% eliminate non-essential comments (this
+%%% reduces the file size by 2/3); a command
+%%% filter step like
+%%% sed -e '/^%$/d' -e '/^%[^%].*$/d'
+%%% will accomplish that job.
+%%%
+%%% The checksum field above contains a CRC-16
+%%% checksum as the first value, followed by the
+%%% equivalent of the standard UNIX wc (word
+%%% count) utility output of lines, words, and
+%%% characters. This is produced by Robert
+%%% Solovay's checksum utility."
+%%% }
+%%% ====================================================================
+%%% Revision history (reverse time order):
+%%%
+%%% 2.03 [15-May-1996]
+%%% Add CODEN support, ISBN and ISSN output for Article entries,
+%%% and ISBN output for TechReport entries (yes, these sometimes
+%%% do have ISBNs).
+%%%
+%%% Add wrapper macros \showXYZ{} (XYZ = CODEN, ISBN, ISSN, LCCN,
+%%% PRICE, and URL) defined inside the thebibliography environment
+%%% to expand to XYZ (except for PRICE) and their arguments,
+%%% PROVIDED they are not already defined. That way, the user can
+%%% provide alternate definitions outside the thebibliography
+%%% environment, for example, to suppress particular ones, or
+%%% to alter the font used.
+%%%
+%%% Substantially revise leading comments to better document the
+%%% extensions.
+%%%
+%%% 2.02 [01-Apr-1996]
+%%% Add day keyword support with new code in format.date function.
+%%% Oren Patashnik will include this new keyword in standard styles
+%%% in BibTeX 1.0.
+%%%
+%%% Add new function collapse.pagerange, and use it to collapse
+%%% page ranges with identical initial and final numbers to a
+%%% single number, so that bibliography files can distinguish
+%%% between one-page documents, and documents missing final page
+%%% numbers.
+%%%
+%%% 2.01 [25-Oct-1994]
+%%% Add URL output support.
+%%%
+%%% 2.00 [12-Oct-1994]
+%%% Add support for pages in theses and manuals, treating them
+%%% like Book and InBook pages.
+%%%
+%%% Correct ISSN support: a typo caused output of ISBN instead of
+%%% ISSN.
+%%%
+%%% Wherever ISBNs are output, also output an ISSN, if one
+%%% exists, and vice versa. The reason is that some periodicals
+%%% (e.g. The X Resource, published by O'Reilly and Associates)
+%%% have both ISSN and ISBN numbers, and can be purchased either
+%%% as journal subscriptions, or as single volumes.
+%%%
+%%% For InProceedings and Proceedings output, issue a warning for
+%%% a missing publisher: even though that field is optional, a
+%%% bibliographic reference without it is incomplete.
+%%%
+%%% Remove harmless, but unneeded, single horizontal space before
+%%% price output added with version 1.03.
+%%%
+%%% Change Proceedings and InProceedings to treat address values
+%%% as publisher addresses, as they are with every other document
+%%% type, rather than as conference addresses, which belong in
+%%% the title field (that is how major libraries, including OCLC
+%%% and Library of Congress, with nearly 60M holdings, represent
+%%% them). The need for this change has been discussed with
+%%% BibTeX's author, Oren Patashnik, and there is a good
+%%% possibility that BibTeX 1.0 will contain the change
+%%% implemented here. This is an INCOMPATIBLE change that will
+%%% produce different .bbl file formatting. However, the TUG and
+%%% BibNet bibliography projects have consistently used address
+%%% to me publisher/organization/institution address, and so
+%%% already conform to the new practice.
+%%%
+%%% 1.05 [30-May-1994]
+%%% Add NUMERIC_SUFFIXES support.
+%%%
+%%% Change all preprocessor statements to put else and endif
+%%% labels inside C-style comments to conform to 1989 ISO/ANSI C
+%%% Standard.
+%%%
+%%% 1.04 [11-Nov-1993]
+%%% Add underscore prefix to new processor symbols to prevent
+%%% substitution in comments
+%%%
+%%% 1.03 [11-Oct-1993]
+%%% Add support for LCCN (Library of Congress Catalog Number)
+%%% and price fields, and make ISBN, ISSN, LCCN, and price
+%%% selectable by preprocessor conditionals.
+%%%
+%%% 1.02 [12-Sep-1991]
+%%% Merge in Barbara N. Beeton's suggestion for hyphen-less
+%%% line breaks around volume(number):page.
+%%%
+%%% 1.01 [10-Sep-1991]
+%%% Update file comment header and use Solovay checksum program.
+%%%
+%%% 1.00 [17-Oct-1990]
+%%% Original version merging hand-edits of is-xxx.bst files into
+%%% this master file, xbtxbst.doc.
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%% BibTeX `plain' family
+%% version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+%% Copyright (C) 1985, all rights reserved.
+%% Copying of this file is authorized only if either
+%% (1) you make absolutely no changes to your copy, including name, or
+%% (2) if you do make changes, you name it something other than
+%% btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+%% This restriction helps ensure that all standard styles are identical.
+%% The file btxbst.doc has the documentation for this style.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+
+ coden
+
+ day
+ edition
+ editor
+ howpublished
+ institution
+
+ isbn
+
+
+ issn
+
+ journal
+ key
+
+ lccn
+
+ month
+ note
+ number
+ organization
+ pages
+
+ price
+
+ publisher
+ school
+ series
+ title
+ type
+
+ URL
+
+ volume
+ year
+ }
+ {}
+
+ { label }
+
+
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+
+STRINGS { b e new.pages original.t s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+
+ "\bibitem{" write$
+
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+
+FUNCTION {format.coden}
+{ coden empty$
+ { "" }
+ { new.block "\showCODEN{" coden * "}" *}
+ if$
+}
+
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.isbn}
+{ isbn empty$
+ { "" }
+ { new.block "\showISBN{" isbn * "}" *}
+ if$
+}
+
+
+
+FUNCTION {format.issn}
+{ issn empty$
+ { "" }
+ { new.block "\showISSN{" issn * "}" *}
+ if$
+}
+
+
+
+FUNCTION {format.lccn}
+{ lccn empty$
+ { "" }
+ { new.block "\showLCCN{" lccn * "}" *}
+ if$
+}
+
+
+
+FUNCTION {format.price}
+{ price empty$
+ { "" }
+ { new.block "\showPRICE{" price * "}" *}
+ if$
+}
+
+
+
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { new.block "\ifshowURL {\showURL \path|" url * "|}\fi" *}
+ if$
+}
+
+
+
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+
+ { title "t" change.case$ }
+
+ if$
+}
+
+
+
+FUNCTION {collapse.pagerange}
+{ 't := % save input page range string
+ t 'original.t := % save original page range
+ "" 'b := % beginning page number
+ "" 'e := % ending page number
+ { t empty$ not } % while-loop Boolean condition
+ { % while-loop body
+ t #1 #2 substring$ "--" = % have we found the en-dash?
+ {
+ t #3 global.max$ substring$ 'e := % yes, save ending page number
+ "" 't := % and set t to empty string to terminate loop
+ }
+ {
+ b t #1 #1 substring$ * 'b := % no, just accumulate this character
+ t #2 global.max$ substring$ 't := % and set t to the remaining string
+ }
+ if$
+ }
+ while$ % on exit, t has ending page number string
+ e b = % are beginning and ending numbers the same?
+ { b } % yes, return the beginning page number string
+ { original.t } % no, return the original page number string
+ if$
+}
+
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ {
+ day empty$
+ { "" }
+ { "there's a day but no month or year in " cite$ * warning$ }
+ if$
+ }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ day empty$
+ { }
+ { " " * day * }
+ if$
+ }
+ if$
+ }
+ { month empty$
+ {
+ day empty$
+ { year }
+ { "there's a day and year but no month in " cite$ * warning$ }
+ if$
+ }
+ {
+ month " " *
+ day empty$
+ { }
+ { day * ", " * }
+ if$
+ year *
+ }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+
+FUNCTION {format.book.pages}
+{ pages empty$
+ { "" }
+ { new.block pages " pp." * }
+ if$
+}
+
+
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ {
+ pages multi.page.check
+ { pages collapse.pagerange 'new.pages := }
+ { pages 'new.pages := }
+ if$
+ new.pages multi.page.check
+ { "pages" new.pages n.dashify tie.or.space.connect }
+ { "page" new.pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "\penalty0 (" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":\penalty0 " * pages collapse.pagerange n.dashify * }
+ if$
+ }
+ if$
+}
+
+
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+
+
+
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.book.pages output
+
+
+ format.lccn output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.book.pages output
+
+
+ format.lccn output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.lccn output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.lccn output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher "publisher" output.check
+ format.date "year" output.check
+ }
+ { new.sentence
+ organization output
+ publisher "publisher" output.check
+ address output.nonnull
+ format.date "year" output.check
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.lccn output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {conference} { inproceedings }
+
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+
+ format.book.pages output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+
+ format.book.pages output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+
+ format.book.pages output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {periodical}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ title emphasize "title" output.check
+ format.vol.num.pages output
+ format.date output
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.sentence
+ publisher output
+ address output
+ howpublished new.block.checka
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher "publisher" output.check %%% <- new check for missing
+ format.date "year" output.check
+ }
+ { new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher "publisher" output.check
+ address output.nonnull
+ format.date "year" output.check
+ }
+ if$
+
+ format.coden output
+
+
+ format.isbn output
+
+
+ format.issn output
+
+
+ format.lccn output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+
+ format.isbn output % NB: TechReports occasionally have ISBNs
+
+
+ format.book.pages output
+
+
+ format.price output
+
+
+ format.url output
+
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+
+ format.url output
+
+ fin.entry
+}
+
+
+FUNCTION {default.type} { misc }
+
+
+
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+
+
+
+
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+
+
+
+READ
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+
+
+
+FUNCTION {begin.bib}
+
+{ preamble$ empty$
+
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+
+ "\ifx \showCODEN \undefined \def \showCODEN #1{CODEN #1} \fi" write$ newline$
+
+
+ "\ifx \showISBN \undefined \def \showISBN #1{ISBN #1} \fi" write$ newline$
+
+
+ "\ifx \showISSN \undefined \def \showISSN #1{ISSN #1} \fi" write$ newline$
+
+
+ "\ifx \showLCCN \undefined \def \showLCCN #1{LCCN #1} \fi" write$ newline$
+
+
+ "\ifx \showPRICE \undefined \def \showPRICE #1{#1} \fi" write$ newline$
+
+
+ "\ifx \showURL \undefined \def \showURL {URL } \fi" write$ newline$
+ "\ifx \path \undefined \input path.sty \fi" write$ newline$
+ "\ifx \ifshowURL \undefined" write$ newline$
+ " \newif \ifshowURL" write$ newline$
+ " \showURLtrue" write$ newline$
+ "\fi" write$ newline$
+
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+
+ITERATE {call.type$}
+
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/is-bst/xbtxbst.doc b/biblio/bibtex/contrib/is-bst/xbtxbst.doc
new file mode 100644
index 0000000000..05b733c099
--- /dev/null
+++ b/biblio/bibtex/contrib/is-bst/xbtxbst.doc
@@ -0,0 +1,2665 @@
+% /u/sy/beebe/tex/bib/merge/xbtxbst.doc, Thu Sep 12 10:19:13 1991
+% Edit by Nelson H. F. Beebe <beebe@magna.math.utah.edu>
+% /u/sy/beebe/tex/bib/merge/xbtxbst.doc, Wed Oct 17 08:27:24 1990
+% Edit by Nelson H.F. Beebe <beebe@sandy.math.utah.edu>
+
+% NB: Important convention: comment lines beginning with 2 (or
+% more) percents are to be preserved in the derived style
+% files. Comment lines beginning with only 1 percent can be
+% discarded (and are, if the derived files are produced with
+% the UNIX Makefile that accompanies this file.)
+
+%% =====================================================================
+%% @BibTeX-style-file{
+%% author = "Nelson H. F. Beebe",
+%% version = "1.02",
+%% date = "12 September 1991",
+%% filename = "xbtxbst.doc",
+%% address = "Center for Scientific Computing
+%% Department of Mathematics
+%% South Physics Building
+%% University of Utah
+%% Salt Lake City, UT 84112
+%% USA
+%% Tel: (801) 581-5254",
+%% checksum = "50938 2665 11236 78415",
+%% email = "beebe@math.utah.edu (Internet)",
+%% codetable = "ISO/ASCII",
+%% keywords = "BibTeX, style, bibliography",
+%% supported = "yes",
+%% docstring = "This file is a modification of the standard
+%% BibTeX btxbst.doc file, or is a .bst file
+%% derived from that modification. It contains
+%% added support for ISBN and ISSN fields, as
+%% well as for the PERIODICAL entry. The UNIX C
+%% preprocessor can be used to extract the
+%% extensions of the standard styles, as
+%% follows:
+%%
+%% cpp -P -DPLAIN xbtxbst.doc is-plain.txt
+%% cpp -P -DUNSRT xbtxbst.doc is-unsrt.txt
+%% cpp -P -DALPHA xbtxbst.doc is-alpha.txt
+%% cpp -P -DABBRV xbtxbst.doc is-abbrv.txt
+%%
+%% If desired, a sed script can be used to
+%% eliminate non-essential comments (this
+%% reduces the file size by 2/3); a command
+%% filter step like
+%% sed -e '/^%$/d' -e '/^%[^%].*$/d'
+%% will accomplish that job.
+%%
+%% The checksum field above contains a CRC-16
+%% checksum as the first value, followed by the
+%% equivalent of the standard UNIX wc (word
+%% count) utility output of lines, words, and
+%% characters. This is produced by Robert
+%% Solovay's checksum utility."
+%% }
+%% =====================================================================
+%% Revision history (reverse time order):
+%% 1.02 [12-Sep-1991]
+%% Merge in Barbara N. Beeton's suggestion for hyphen-less
+%% line breaks around volume(number):page.
+%% 1.01 [10-Sep-1991]
+%% Update file comment header and use Solovay checksum program.
+%% 1.00 [17-Oct-1990]
+%% Original version merging hand-edits of is-xxx.bst files into
+%% this master file, xbtxbst.doc.
+
+% In the following, only essential changes have been applied; the
+% documentation immediately below referring to the use of cpp on
+% btxbst.doc has not been altered. See the docstring entry above
+% for current information.
+
+%% BibTeX `plain' family
+%% version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+%% Copyright (C) 1985, all rights reserved.
+%% Copying of this file is authorized only if either
+%% (1) you make absolutely no changes to your copy, including name, or
+%% (2) if you do make changes, you name it something other than
+%% btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+%% This restriction helps ensure that all standard styles are identical.
+%% The file btxbst.doc has the documentation for this style.
+%
+% Please notify Oren Patashnik (PATASHNIK@SCORE.STANFORD.EDU) of any bugs in
+% these standard styles or in this documentation file.
+%
+% This is file btxbxt.doc; it helps document bibliography styles,
+% and is also a template file that you can use to make
+% several different style files, if you have access to a C preprocessor.
+% For example, the standard styles were made by doing something like
+% cpp -P -DPLAIN btxbst.doc plain.txt
+% cpp -P -DUNSRT btxbst.doc unsrt.txt
+% cpp -P -DALPHA btxbst.doc alpha.txt
+% cpp -P -DABBRV btxbst.doc abbrv.txt
+% and then renaming after removing unwanted comments and blank lines.
+% If you don't have access,
+% you can edit this file by hand to imitate the preprocessor,
+% with the following explanation of the C preprocessor constructs used here.
+%
+% The output of the preprocessor is the same as the input, except that certain
+% lines will be excluded (and some blank lines will be added). The sequence
+% #if VAR
+% lines to be included when VAR is not zero
+% #else
+% lines to be included when VAR is zero
+% #endif
+% (with the #-signs appearing in column 1) means that one set or the other of
+% the lines are to be included depending on the value of VAR.
+% The #else part is optional. Comments can be added after #else and #endif.
+% Variables can be set by
+% #define VAR value
+% and one can also use #ifdef VAR to see if VAR has any value, and #ifndef
+% to see if it has none.
+% Another #if form used in this file is #if !VAR, which includes the lines
+% after the #if only if VAR is zero.
+%
+% Convention: Use all uppercase identifiers for these preprocessor variables
+% so you can spot them easily
+%
+% The command line to the preprocessor should define one of PLAIN, UNSRT, ALPHA
+% or ABBRV (though PLAIN will be used by default if none is given),
+% and the following lines will set various boolean variables to control the
+% various lines that are chosen from the rest of the file.
+% Each boolean variable should be set true (1) or false (0) in each style.
+% Here are the current variables, and their meanings:
+% LAB_ALPH: an alphabetic label is used (if false then a numeric
+% label is used)
+% SORTED: the entries should be sorted by label (if nonnumeric)
+% and other info, like authors (if false, then
+% entries remain in order of occurrence)
+% NAME_FULL: the authors, editors, etc., get the full names as
+% given in the bibliography file (if false, the first
+% names become initials)
+% ATIT_LOWER: titles of non-"books" (e.g., articles) should be
+% converted to lower-case, except the first letter or
+% first letter after a colon
+% (if false then they appear as in the database)
+% MONTH_FULL: months are spelled out in full (if false, then
+% they're abbreviated)
+% JOUR_FULL: macro journal names are spelled out in full
+% (if false then they are abbreviated, currently
+% as they appear in ACM publications)
+#ifndef UNSRT
+# ifndef ALPHA
+# ifndef ABBRV
+# define PLAIN 1
+# endif
+# endif
+#endif
+#ifdef PLAIN
+% plain style (sorted numbers)
+# define LAB_ALPH 0
+# define SORTED 1
+# define NAME_FULL 1
+# define ATIT_LOWER 1
+# define MONTH_FULL 1
+# define JOUR_FULL 1
+#endif
+#ifdef UNSRT
+% unsrt style (unsorted numbers)
+# define LAB_ALPH 0
+# define SORTED 0
+# define NAME_FULL 1
+# define ATIT_LOWER 1
+# define MONTH_FULL 1
+# define JOUR_FULL 1
+#endif
+#ifdef ALPHA
+% alpha style (sorted short alphabetics)
+# define LAB_ALPH 1
+# define SORTED 1
+# define NAME_FULL 1
+# define ATIT_LOWER 1
+# define MONTH_FULL 1
+# define JOUR_FULL 1
+#endif
+#ifdef ABBRV
+% abbrv style (sorted numbers, with abbreviations)
+# define LAB_ALPH 0
+# define SORTED 1
+# define NAME_FULL 0
+# define ATIT_LOWER 1
+# define MONTH_FULL 0
+# define JOUR_FULL 0
+#endif
+%
+% Entry formatting: Similar to that recommended by Mary-Claire van Leunen
+% in "A Handbook for Scholars". Book-like titles are italicized
+% (emphasized) and non-book titles are converted to sentence
+% capitilization (and not enclosed in quotes).
+% This file outputs a \newblock between major blocks of an entry
+% (the name \newblock is analogous to the names \newline and \newpage)
+% so that the user can obtain an "open" format, which has a line break
+% before each block and lines after the first are indented within blocks,
+% by giving the optional \documentstyle argument `openbib';
+% The default is the "closed" format---blocks runs together.
+%
+% Citation alphabetic label format:
+% [Knu73] for single author (or editor or key)
+% [AHU83] (first letters of last names) for multiple authors
+%
+% Citation label numberic format:
+% [number]
+%
+% Reference list ordering for sorted, alphabetic lables:
+% alphabetical by citation label, then by author(s) or whatever
+% passes for author in the absence of one, then by year,
+% then title
+%
+% Reference list ordering for sorted, numeric lables:
+% alphabetical by author(s) or whatever passes
+% for author in the absence of one, then by year, then title
+%
+% Reference list ordering for unsorted:
+% by the order cited in the text
+%
+% History
+% 12/16/84 (HWT) Original `plain' version, by Howard Trickey.
+% 12/23/84 (LL) Some comments made by Leslie Lamport.
+% 2/16/85 (OP) Changes based on LL's comments, Oren Patashnik.
+% 2/17/85 (HWT) Template file and other standard styles made.
+% 3/28/85 (OP) First release, version 0.98b for BibTeX 0.98f.
+% 5/ 9/85 (OP) Version 0.98c for BibTeX 0.98i:
+% fixed Theoretical Computer Science macro name;
+% fixed the format.vol.num.pages function.
+% 1/24/88 (OP) Version 0.99a for BibTeX 0.99a, main changes:
+% assignment operator (:=) arguments reversed;
+% the preamble$ function outputs the database PREAMBLE;
+% entry.max$ and global.max$ (built-in) variables replace
+% entry.string.max and global.string.max functions;
+% alphabetizing by year then title, not just title;
+% many unnecessary ties removed; \it ==> \em;
+% the `alpha' style uses a superscripted `+' instead of a
+% `*' for unnamed names in constructing the label;
+% the `abbrv' style now uses "Mar." and "Sept.";
+% the functions calc.label and presort now look at just
+% the fields they're supposed to;
+% BOOKLET, MASTERSTHESIS, TECHREPORT use nonbook titles;
+% INBOOK and INCOLLECTION take an optional type (e.g.
+% type = "Section"), overriding the default "chapter";
+% BOOK, INBOOK, INCOLLECTION, and PROCEEDINGS now allow
+% either volume or number, not just volume;
+% INCOLLECTION now allows an edition and series field;
+% PROCEEDINGS and INPROCEEDINGS now use the address field
+% to tell where a conference was held;
+% INPROCEEDINGS and PROCEEDINGS now allow either volume
+% or number, and also a series field;
+% MASTERSTHESIS and PHDTHESIS accept types other than
+% "Master's thesis" and "PhD thesis";
+% UNPUBLISHED now outputs, in one block, note then date;
+% MANUAL now prints out the organization in
+% the first block if the author field is empty;
+% MISC can't be empty---it requires some optional field.
+% 3/23/88 (OP) Version 0.99b for BibTeX 0.99c---changed the three
+% erroneous occurrences of `cite ' to `cite$ '; this
+% change didn't affect the four standard styles, so the
+% 0.99a versions of those styles are still current.
+%
+% The ENTRY declaration
+% Like Scribe's (according to pages 231-2 of the April '84 edition),
+% but no fullauthor or editors fields because BibTeX does name handling.
+% The annote field is commented out here because this family doesn't
+% include an annotated bibliography style. And in addition to the fields
+% listed here, BibTeX has a built-in crossref field, explained later.
+
+ENTRY
+% Fields:
+ { address
+% Usually the address of a publisher or other type of organization.
+% Put information in this field only if it helps the reader find the
+% thing---for example you should omit the address of a major
+% publisher entirely. For a PROCEEDINGS or an INPROCEEDINGS,
+% however, it's the address of the conference; for those two entry
+% types, include the publisher's or organization's address, if
+% necessary, in the publisher or organization field.
+% annote
+% Long annotation---for annotated bibliographies (begins sentence).
+ author
+% Name(s) of author(s), in BibTeX name format.
+ booktitle
+% Book title when the thing being referenced isn't the whole book.
+% For book entries, the title field should be used instead.
+ chapter
+% Chapter (or section or whatever) number.
+ edition
+% Edition of a book---should be an ordinal (e.g., "Second").
+ editor
+% Name(s) of editor(s), in BibTeX name format.
+% If there is also an author field, then the editor field should be
+% for the book or collection that the work appears in.
+ howpublished
+% How something strange has been published (begins sentence).
+ institution
+% Sponsoring institution of a technical report.
+ isbn
+% ISBN book number (a 10-digit number with optional
+% embedded spaces or hyphens, where a `digit' is one of
+% 0123456789X).
+ issn
+% ISSN serial publication number (an 8-digit number with optional
+% embedded spaces or hyphens, where a `digit' is one of
+% 0123456789X).
+ journal
+% Journal name (macros are provided for many).
+ key
+% Alphabetizing, labeling, and cross-referencing key
+% (needed when an entry has no author or editor).
+ month
+% Month (macros are provided).
+ note
+% To help the reader find a reference (begins sentence).
+ number
+% Number of a journal or technical report, or of a work in a series.
+ organization
+% Organization sponsoring a conference (or publishing a manual); if
+% the editor (or author) is empty, and if the organization produces
+% an awkward label or cross reference, you should put appropriately
+% condensed organization information in the key field as well.
+ pages
+% Page number or numbers (use `--' to separate a range, use `+'
+% to indicate pages following that don't form a simple range).
+ publisher
+% Publisher name.
+ school
+% School name (for theses).
+ series
+% The name of a series or set of books.
+% An individual book will will also have it's own title.
+ title
+% The title of the thing you're referred to.
+ type
+% Type of a Techreport (e.g., "Research Note") to be used instead of
+% the default "Technical Report"; or, similarly, the type of a
+% thesis; or of a part of a book.
+ volume
+% The volume number of a journal or multivolume work.
+ year
+% The year should contain only numerals (technically, it should end
+% with four numerals, after purification; doesn't a begin sentence).
+ }
+% There are no integer entry variables
+ {}
+% These string entry variables are used to form the citation label.
+% In a storage pinch, sort.label can be easily computed on the fly.
+#if LAB_ALPH
+#if SORTED
+ { label extra.label sort.label }
+#else !SORTED
+% It doesn't seem like a good idea to use an order-of-citation
+% reference list when using alphabetic labels, but when this happens
+% we do things a little differently
+ { label }
+#endif SORTED
+#else !LAB_ALPH
+ { label }
+#endif LAB_ALPH
+
+% Each entry function starts by calling output.bibitem, to write the
+% \bibitem and its arguments to the .BBL file. Then the various fields
+% are formatted and printed by output or output.check. Those functions
+% handle the writing of separators (commas, periods, \newblock's),
+% taking care not to do so when they are passed a null string.
+% Finally, fin.entry is called to add the final period and finish the
+% entry.
+%
+% A bibliographic reference is formatted into a number of `blocks':
+% in the open format, a block begins on a new line and subsequent
+% lines of the block are indented. A block may contain more than
+% one sentence (well, not a grammatical sentence, but something to
+% be ended with a sentence ending period). The entry functions should
+% call new.block whenever a block other than the first is about to be
+% started. They should call new.sentence whenever a new sentence is
+% to be started. The output functions will ensure that if two
+% new.sentence's occur without any non-null string being output between
+% them then there won't be two periods output. Similarly for two
+% successive new.block's.
+%
+% The output routines don't write their argument immediately.
+% Instead, by convention, that argument is saved on the stack to be
+% output next time (when we'll know what separator needs to come
+% after it). Meanwhile, the output routine has to pop the pending
+% output off the stack, append any needed separator, and write it.
+%
+% To tell which separator is needed, we maintain an output.state.
+% It will be one of these values:
+% before.all just after the \bibitem
+% mid.sentence in the middle of a sentence: comma needed
+% if more sentence is output
+% after.sentence just after a sentence: period needed
+% after.block just after a block (and sentence):
+% period and \newblock needed.
+% Note: These styles don't use after.sentence
+%
+% VAR: output.state : INTEGER -- state variable for output
+%
+% The output.nonnull function saves its argument (assumed to be nonnull)
+% on the stack, and writes the old saved value followed by any needed
+% separator. The ordering of the tests is decreasing frequency of
+% occurrence.
+%
+% output.nonnull(s) ==
+% BEGIN
+% s := argument on stack
+% if output.state = mid.sentence then
+% write$(pop() * ", ")
+% -- "pop" isn't a function: just use stack top
+% else
+% if output.state = after.block then
+% write$(add.period$(pop()))
+% newline$
+% write$("\newblock ")
+% else
+% if output.state = before.all then
+% write$(pop())
+% else -- output.state should be after.sentence
+% write$(add.period$(pop()) * " ")
+% fi
+% fi
+% output.state := mid.sentence
+% fi
+% push s on stack
+% END
+%
+% The output function calls output.nonnull if its argument is non-empty;
+% its argument may be a missing field (thus, not necessarily a string)
+%
+% output(s) ==
+% BEGIN
+% if not empty$(s) then output.nonnull(s)
+% fi
+% END
+%
+% The output.check function is the same as the output function except that, if
+% necessary, output.check warns the user that the t field shouldn't be empty
+% (this is because it probably won't be a good reference without the field;
+% the entry functions try to make the formatting look reasonable even when
+% such fields are empty).
+%
+% output.check(s,t) ==
+% BEGIN
+% if empty$(s) then
+% warning$("empty " * t * " in " * cite$)
+% else output.nonnull(s)
+% fi
+% END
+%
+% The output.bibitem function writes the \bibitem for the current entry
+% (the label should already have been set up), and sets up the separator
+% state for the output functions. And, it leaves a string on the stack
+% as per the output convention.
+%
+% output.bibitem ==
+% BEGIN
+% newline$
+% write$("\bibitem[") % for alphabetic labels,
+% write$(label) % these three lines
+% write$("]{") % are used
+% write$("\bibitem{") % this line for numeric labels
+% write$(cite$)
+% write$("}")
+% push "" on stack
+% output.state := before.all
+% END
+%
+% The fin.entry function finishes off an entry by adding a period to the
+% string remaining on the stack. If the state is still before.all
+% then nothing was produced for this entry, so the result will look bad,
+% but the user deserves it. (We don't omit the whole entry because the
+% entry was cited, and a bibitem is needed to define the citation label.)
+%
+% fin.entry ==
+% BEGIN
+% write$(add.period$(pop()))
+% newline$
+% END
+%
+% The new.block function prepares for a new block to be output, and
+% new.sentence prepares for a new sentence.
+%
+% new.block ==
+% BEGIN
+% if output.state <> before.all then
+% output.state := after.block
+% fi
+% END
+%
+% new.sentence ==
+% BEGIN
+% if output.state <> after.block then
+% if output.state <> before.all then
+% output.state := after.sentence
+% fi
+% fi
+% END
+%
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+% the variables s and t are temporary string holders
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+#if LAB_ALPH
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+#else
+ "\bibitem{" write$
+#endif LAB_ALPH
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+% This function finishes all entries.
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+% These three functions pop one or two (integer) arguments from the stack
+% and push a single one, either 0 or 1.
+% The 'skip$ in the `and' and `or' functions are used because
+% the corresponding if$ would be idempotent
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+% Sometimes we begin a new block only if the block will be big enough. The
+% new.block.checka function issues a new.block if its argument is nonempty;
+% new.block.checkb does the same if either of its TWO arguments is nonempty.
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+% The new.sentence.check functions are analogous.
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+% Here are some functions for formatting chunks of an entry.
+% By convention they either produce a string that can be followed by
+% a comma or period (using add.period$, so it is OK to end in a period),
+% or they produce the null string.
+%
+% A useful utility is the field.or.null function, which checks if the
+% argument is the result of pushing a `missing' field (one for which no
+% assignment was made when the current entry was read in from the database)
+% or the result of pushing a string having no non-white-space characters.
+% It returns the null string if so, otherwise it returns the field string.
+% Its main (but not only) purpose is to guarantee that what's left on the
+% stack is a string rather than a missing field.
+%
+% field.or.null(s) ==
+% BEGIN
+% if empty$(s) then return ""
+% else return s
+% END
+%
+% Another helper function is emphasize, which returns the argument emphazised,
+% if that is non-empty, otherwise it returns the null string. Italic
+% corrections aren't used, so this function should be used when punctation
+% will follow the result.
+%
+% emphasize(s) ==
+% BEGIN
+% if empty$(s) then return ""
+% else return "{\em " * s * "}"
+%
+% The format.names function formats the argument (which should be in
+% BibTeX name format) into "First Von Last, Junior", separated by commas
+% and with an "and" before the last (but ending with "et~al." if the last
+% of multiple authors is "others"). This function's argument should always
+% contain at least one name.
+%
+% VAR: nameptr, namesleft, numnames: INTEGER
+% pseudoVAR: nameresult: STRING (it's what's accumulated on the stack)
+%
+% format.names(s) ==
+% BEGIN
+% nameptr := 1
+% numnames := num.names$(s)
+% namesleft := numnames
+% while namesleft > 0
+% do
+% % for full names:
+% t := format.name$(s, nameptr, "{ff~}{vv~}{ll}{, jj}")
+% % for abbreviated first names:
+% t := format.name$(s, nameptr, "{f.~}{vv~}{ll}{, jj}")
+% if nameptr > 1 then
+% if namesleft > 1 then nameresult := nameresult * ", " * t
+% else if numnames > 2
+% then nameresult := nameresult * ","
+% fi
+% if t = "others"
+% then nameresult := nameresult * " et~al."
+% else nameresult := nameresult * " and " * t
+% fi
+% fi
+% else nameresult := t
+% fi
+% nameptr := nameptr + 1
+% namesleft := namesleft - 1
+% od
+% return nameresult
+% END
+%
+% The format.authors function returns the result of format.names(author)
+% if the author is present, or else it returns the null string
+%
+% format.authors ==
+% BEGIN
+% if empty$(author) then return ""
+% else return format.names(author)
+% fi
+% END
+%
+% Format.editors is like format.authors, but it uses the editor field,
+% and appends ", editor" or ", editors"
+%
+% format.editors ==
+% BEGIN
+% if empty$(editor) then return ""
+% else
+% if num.names$(editor) > 1 then
+% return format.names(editor) * ", editors"
+% else
+% return format.names(editor) * ", editor"
+% fi
+% fi
+% END
+%
+% Other formatting functions are similar, so no "comment version" will be
+% given for them.
+%
+% The `pop$' in this function gets rid of the duplicate `empty' value and
+% the `skip$' returns the duplicate field value
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+#if NAME_FULL
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+#else
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+#endif NAME_FULL
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.isbn}
+{ isbn empty$
+ { "" }
+ { new.block "ISBN " isbn * }
+ if$
+}
+
+FUNCTION {format.issn}
+{ issn empty$
+ { "" }
+ { new.block "ISSN " issn * }
+ if$
+}
+
+% The format.title function is used for non-book-like titles.
+% For most styles we convert to lowercase (except for the very first letter,
+% and except for the first one after a colon (followed by whitespace)),
+% and hope the user has brace-surrounded words that need to stay capitilized;
+% for some styles, however, we leave it as it is in the database.
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+#if ATIT_LOWER
+ { title "t" change.case$ }
+#else
+ 'title
+#endif ATIT_LOWER
+ if$
+}
+
+% By default, BibTeX sets the global integer variable global.max$ to the BibTeX
+% constant glob_str_size, the maximum length of a global string variable.
+% Analogously, BibTeX sets the global integer variable entry.max$ to
+% ent_str_size, the maximum length of an entry string variable.
+% The style designer may change these if necessary (but this is unlikely)
+
+% The n.dashify function makes each single `-' in a string a double `--'
+% if it's not already
+%
+% pseudoVAR: pageresult: STRING (it's what's accumulated on the stack)
+%
+% n.dashify(s) ==
+% BEGIN
+% t := s
+% pageresult := ""
+% while (not empty$(t))
+% do
+% if (first character of t = "-")
+% then
+% if (next character isn't)
+% then
+% pageresult := pageresult * "--"
+% t := t with the "-" removed
+% else
+% while (first character of t = "-")
+% do
+% pageresult := pageresult * "-"
+% t := t with the "-" removed
+% od
+% fi
+% else
+% pageresult := pageresult * the first character
+% t := t with the first character removed
+% fi
+% od
+% return pageresult
+% END
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+% The format.date function is for the month and year, but we give a warning if
+% there's an empty year but the month is there, and we return the empty string
+% if they're both empty.
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+% The format.btitle is for formatting the title field when it is a book-like
+% entry---the style used here keeps it in uppers-and-lowers and emphasizes it.
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+% For several functions we'll need to connect two strings with a
+% tie (~) if the second one isn't very long (fewer than 3 characters).
+% The tie.or.space.connect function does that. It concatenates the two
+% strings on top of the stack, along with either a tie or space between
+% them, and puts this concatenation back onto the stack:
+%
+% tie.or.space.connect(str1,str2) ==
+% BEGIN
+% if text.length$(str2) < 3
+% then return the concatenation of str1, "~", and str2
+% else return the concatenation of str1, " ", and str2
+% END
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+% The either.or.check function complains if both fields or an either-or pair
+% are nonempty.
+%
+% either.or.check(t,s) ==
+% BEGIN
+% if empty$(s) then
+% warning$(can't use both " * t * " fields in " * cite$)
+% fi
+% END
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+% The format.bvolume function is for formatting the volume and perhaps
+% series name of a multivolume work. If both a volume and a series field
+% are there, we assume the series field is the title of the whole multivolume
+% work (the title field should be the title of the thing being referred to),
+% and we add an "of <series>". This function is called in mid-sentence.
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+% The format.number.series function is for formatting the series name
+% and perhaps number of a work in a series. This function is similar to
+% format.bvolume, although for this one the series must exist (and the
+% volume must not exist). If the number field is empty we output either
+% the series field unchanged if it exists or else the null string.
+% If both the number and series fields are there we assume the series field
+% gives the name of the whole series (the title field should be the title
+% of the work being one referred to), and we add an "in <series>".
+% We capitilize Number when this function is used at the beginning of a block.
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+% The format.edition function appends " edition" to the edition, if present.
+% We lowercase the edition (it should be something like "Third"), because
+% this doesn't start a sentence.
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+% The format.pages function is used for formatting a page range in a book
+% (and in rare circumstances, an article).
+%
+% The multi.page.check function examines the page field for a "-" or "," or "+"
+% so that format.pages can use "page" instead of "pages" if none exists.
+% Note: global.max$ here means "take the rest of the string"
+%
+% VAR: multiresult: INTEGER (actually, a boolean)
+%
+% multi.page.check(s) ==
+% BEGIN
+% t := s
+% multiresult := false
+% while ((not multiresult) and (not empty$(t)))
+% do
+% if (first character of t = "-" or "," or "+")
+% then multiresult := true
+% else t := t with the first character removed
+% fi
+% od
+% return multiresult
+% END
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+% This function doesn't begin a sentence so "pages" isn't capitalized.
+% Other functions that use this should keep that in mind.
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+% The format.vol.num.pages function is for the volume, number, and page range
+% of a journal article. We use the format: vol(number):pages, with some
+% variations for empty fields. This doesn't begin a sentence.
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "\penalty0 (" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":\penalty0 " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+
+% The format.chapter.pages, if the chapter is present, puts whatever is in the
+% type field (or else "chapter" if type is empty) in front of a chapter number.
+% It then appends the pages, if present. This doesn't begin a sentence.
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+% The format.in.ed.booktitle function is used for starting out a sentence
+% that begins "In <booktitle>", putting an editor before the title if one
+% exists.
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+% The function empty.misc.check complains if all six fields are empty, and
+% if there's been no sorting or alphabetic-label complaint.
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+#if SORTED
+ key empty$ not and
+#else !SORTED
+#if LAB_ALPH
+ key empty$ not and
+#endif LAB_ALPH
+#endif SORTED
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+% The function format.thesis.type returns either the (case-changed) type field,
+% if it is defined, or else the default string already on the stack
+% (like "Master's thesis" or "PhD thesis").
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+% The function format.tr.number makes a string starting with "Technical Report"
+% (or type, if that field is defined), followed by the number if there is one;
+% it returns the starting part (with a case change) even if there is no number.
+% This is used at the beginning of a sentence.
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+% Now come the cross-referencing functions (these are invoked because
+% one entry in the database file(s) cross-references another, by giving
+% the other entry's database key in a `crossref' field). This feature
+% allows one or more titled things that are part of a larger titled
+% thing to cross-reference the larger thing. These styles allow for
+% five posibilities: (1) an ARTICLE may cross-reference an ARTICLE;
+% (2) a BOOK, (3) INBOOK, or (4) INCOLLECTION may cross-reference a BOOK;
+% or (5) an INPROCEEDINGS may cross-reference a PROCEEDINGS.
+% Each of these is explained in more detail later.
+%
+% An ARTICLE entry type may cross reference another ARTICLE (this is
+% intended for when an entire journal is devoted to a single topic---
+% but since there is no JOURNAL entry type, the journal, too, should be
+% classified as an ARTICLE but without the author and title fields).
+% This will result in two warning messages for the journal's entry
+% if it's included in the reference list, but such is life.
+%
+% format.article.crossref ==
+% BEGIN
+% if empty$(key) then
+% if empty$(journal) then
+% warning$("need key or journal for " * cite$ *
+% " to crossref " * crossref)
+% return(" \cite{" * crossref * "}")
+% else
+% return("In " * emphasize.correct (journal) *
+% " \cite{" * crossref * "}")
+% fi
+% else
+% return("In " * key * " \cite{" * crossref * "}")
+% fi
+% END
+%
+% The other cross-referencing functions are similar, so no "comment version"
+% will be given for them.
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+% We use just the last names of editors for a cross reference: either
+% "editor", or "editor1 and editor2", or "editor1 et~al." depending on
+% whether there are one, or two, or more than two editors.
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+% A BOOK (or INBOOK) entry type (assumed to be for a single volume in a
+% multivolume work) may cross reference another BOOK (the entire multivolume).
+% Usually there will be an editor, in which case we use that to construct the
+% cross reference; otherwise we use a nonempty key field or else the series
+% field (since the series gives the title of the multivolume work).
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+% An INCOLLECTION entry type may cross reference a BOOK (assumed to be the
+% collection), or an INPROCEEDINGS may cross reference a PROCEEDINGS.
+% Often there will be an editor, in which case we use that to construct
+% the cross reference; otherwise we use a nonempty key field or else
+% the booktitle field (which gives the cross-referenced work's title).
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+% Now we define the type functions for all entry types that may appear
+% in the .BIB file---e.g., functions like `article' and `book'. These
+% are the routines that actually generate the .BBL-file output for
+% the entry. These must all precede the READ command. In addition, the
+% style designer should have a function `default.type' for unknown types.
+% Note: The fields (within each list) are listed in order of appearance,
+% except as described for an `inbook' or a `proceedings'.
+%
+% The article function is for an article in a journal. An article may
+% CROSSREF another article.
+% Required fields: author, title, journal, year
+% Optional fields: volume, number, pages, month, note
+%
+% article ==
+% BEGIN
+% output.bibitem
+% output.check(format.authors,"author")
+% new.block
+% output.check(format.title,"title")
+% new.block
+% if missing$(crossref) then
+% output.check(emphasize(journal),"journal")
+% output(format.vol.num.pages)
+% output.check(format.date,"year")
+% else
+% output.nonnull(format.article.crossref)
+% output(format.pages)
+% fi
+% new.block
+% output(note)
+% fin.entry
+% END
+%
+% The book function is for a whole book. A book may CROSSREF another book.
+% Required fields: author or editor, title, publisher, year
+% Optional fields: volume or number, series, address, edition, month,
+% note
+%
+% book ==
+% BEGIN
+% if empty$(author) then output.check(format.editors,"author and editor")
+% else output.check(format.authors,"author")
+% if missing$(crossref) then
+% either.or.check("author and editor",editor)
+% fi
+% fi
+% new.block
+% output.check(format.btitle,"title")
+% if missing$(crossref) then
+% output(format.bvolume)
+% new.block
+% output(format.number.series)
+% new.sentence
+% output.check(publisher,"publisher")
+% output(address)
+% else
+% new.block
+% output.nonnull(format.book.crossref)
+% fi
+% output(format.edition)
+% output.check(format.date,"year")
+% new.block
+% output(note)
+% fin.entry
+% END
+%
+% The other entry functions are all quite similar, so no "comment version"
+% will be given for them.
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ format.isbn output
+ new.block
+ note output
+ fin.entry
+}
+
+% A booklet is a bound thing without a publisher or sponsoring institution.
+% Required: title
+% Optional: author, howpublished, address, month, year, note
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ format.isbn output
+ new.block
+ note output
+ fin.entry
+}
+
+% For the conference entry type, see inproceedings.
+
+% An inbook is a piece of a book: either a chapter and/or a page range.
+% It may CROSSREF a book. If there's no volume field, the type field
+% will come before number and series.
+% Required: author or editor, title, chapter and/or pages, publisher,year
+% Optional: volume or number, series, type, address, edition, month, note
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ format.isbn output
+ new.block
+ note output
+ fin.entry
+}
+
+% An incollection is like inbook, but where there is a separate title
+% for the referenced thing (and perhaps an editor for the whole).
+% An incollection may CROSSREF a book.
+% Required: author, title, booktitle, publisher, year
+% Optional: editor, volume or number, series, type, chapter, pages,
+% address, edition, month, note
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.isbn output
+ new.block
+ note output
+ fin.entry
+}
+
+% An inproceedings is an article in a conference proceedings, and it may
+% CROSSREF a proceedings. If there's no address field, the month (& year)
+% will appear just before note.
+% Required: author, title, booktitle, year
+% Optional: editor, volume or number, series, pages, address, month,
+% organization, publisher, note
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.isbn output
+ new.block
+ note output
+ fin.entry
+}
+
+% The conference function is included for Scribe compatibility.
+
+FUNCTION {conference} { inproceedings }
+
+% A manual is technical documentation.
+% Required: title
+% Optional: author, organization, address, edition, month, year, note
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+% A mastersthesis is a Master's thesis.
+% Required: author, title, school, year
+% Optional: type, address, month, note
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+% A misc is something that doesn't fit elsewhere.
+% Required: at least one of the `optional' fields
+% Optional: author, title, howpublished, month, year, note
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ format.issn output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+% A phdthesis is like a mastersthesis.
+% Required: author, title, school, year
+% Optional: type, address, month, note
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+% A periodical is a publication that appears at regular
+% intervals. This includes journals, magazines, and newspapers.
+% If there is an organization but no editor field, the
+% organization will appear as the first optional field (we try to
+% make the first block nonempty); if there's no address field,
+% the month (& year) will appear just before note.
+% Required: title, key
+% Optional: editor, volume, number, series, address, month, year,
+% organization, publisher, note, issn,
+% howpublished
+
+FUNCTION {periodical}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ title emphasize "title" output.check
+% format.bvolume output
+% format.number.series output
+ format.vol.num.pages output
+ format.date output
+ format.issn output
+ new.sentence
+ publisher output
+ address output
+ howpublished new.block.checka
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+% A proceedings is a conference proceedings.
+% If there is an organization but no editor field, the organization will
+% appear as the first optional field (we try to make the first block nonempty);
+% if there's no address field, the month (& year) will appear just before note.
+% Required: title, year
+% Optional: editor, volume or number, series, address, month,
+% organization, publisher, note
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ format.isbn output
+ new.block
+ note output
+ fin.entry
+}
+
+% A techreport is a technical report.
+% Required: author, title, institution, year
+% Optional: type, number, address, month, note
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+% An unpublished is something that hasn't been published.
+% Required: author, title, note
+% Optional: month, year
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+% We use entry type `misc' for an unknown type; BibTeX gives a warning.
+
+FUNCTION {default.type} { misc }
+
+% Here are macros for common things that may vary from style to style.
+% Users are encouraged to use these macros.
+%
+% Months are either written out in full or abbreviated
+
+#if MONTH_FULL
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+#else !MONTH_FULL
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+#endif MONTH_FULL
+
+% Journals are either written out in full or abbreviated;
+% the abbreviations are like those found in ACM publications.
+%
+% To get a completely different set of abbreviations, it may be best to make
+% a separate .bib file with nothing but those abbreviations; users could then
+% include that file name as the first argument to the \bibliography command
+
+#if JOUR_FULL
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+#else !JOUR_FULL
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Programming"}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Gr."}
+
+MACRO {toms} {"ACM Trans. Math. Softw."}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+#endif JOUR_FULL
+
+% Now we read in the .BIB entries.
+
+READ
+
+% The sortify function converts to lower case after purify$ing; it's
+% used in sorting and in computing alphabetic labels after sorting
+%
+% The chop.word(w,len,s) function returns either s or, if the first len
+% letters of s equals w (this comparison is done in the third line of the
+% function's definition), it returns that part of s after w.
+
+#if SORTED
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+#else !SORTED
+#if LAB_ALPH
+
+% We need the chop.word stuff for the dubious unsorted-list-with-labels case.
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+#endif LAB_ALPH
+#endif SORTED
+
+% This long comment applies only to alphabetic labels
+%
+% The format.lab.names function makes a short label by using the initials of
+% the von and Last parts of the names (but if there are more than four names,
+% (i.e., people) it truncates after three and adds a superscripted "+";
+% it also adds such a "+" if the last of multiple authors is "others").
+% If there is only one name, and its von and Last parts combined have just
+% a single name-token ("Knuth" has a single token, "Brinch Hansen" has two),
+% we take the first three letters of the last name. The boolean
+% et.al.char.used tells whether we've used a superscripted "+", so that we
+% know whether to include a LaTeX macro for it.
+%
+% format.lab.names(s) ==
+% BEGIN
+% numnames := num.names$(s)
+% if numnames > 1 then
+% if numnames > 4 then
+% namesleft := 3
+% else
+% namesleft := numnames
+% nameptr := 1
+% nameresult := ""
+% while namesleft > 0
+% do
+% if (name_ptr = numnames) and
+% format.name$(s, nameptr, "{ff }{vv }{ll}{ jj}") = "others"
+% then nameresult := nameresult * "{\etalchar{+}}"
+% et.al.char.used := true
+% else nameresult := nameresult *
+% format.name$(s, nameptr, "{v{}}{l{}}")
+% nameptr := nameptr + 1
+% namesleft := namesleft - 1
+% od
+% if numnames > 4 then
+% nameresult := nameresult * "{\etalchar{+}}"
+% et.al.char.used := true
+% else
+% t := format.name$(s, 1, "{v{}}{l{}}")
+% if text.length$(t) < 2 then % there's just one name-token
+% nameresult := text.prefix$(format.name$(s,1,"{ll}"),3)
+% else
+% nameresult := t
+% fi
+% fi
+% return nameresult
+% END
+%
+% Exactly what fields we look at in constructing the primary part of the label
+% depends on the entry type; this selectivity (as opposed to, say, always
+% looking at author, then editor, then key) helps ensure that "ignored" fields,
+% as described in the LaTeX book, really are ignored. Note that MISC is part
+% of the deepest `else' clause in the nested part of calc.label; thus, any
+% unrecognized entry type in the database is handled correctly.
+%
+% There is one auxiliary function for each of the four different sequences of
+% fields we use. The first of these functions looks at the author field, and
+% then, if necessary, the key field. The other three functions, which might
+% look at two fields and the key field, are similar, except that the key field
+% takes precedence over the organization field (for labels---not for sorting).
+%
+% The calc.label function calculates the preliminary label of an entry, which
+% is formed by taking three letters of information from the author or editor or
+% key or organization field (depending on the entry type and on what's empty,
+% but ignoring a leading "The " in the organization), and appending the last
+% two characters (digits) of the year. It is an error if the appropriate fields
+% among author, editor, organization, and key are missing, and we use
+% the first three letters of the cite$ in desperation when this happens.
+% The resulting label has the year part, but not the name part, purify$ed
+% (purify$ing the year allows some sorting shenanigans by the user).
+%
+% This function also calculates the version of the label to be used in sorting.
+%
+% The final label may need a trailing 'a', 'b', etc., to distinguish it from
+% otherwise identical labels, but we can't calculated those "extra.label"s
+% until after sorting.
+%
+% calc.label ==
+% BEGIN
+% if type$ = "book" or "inbook" then
+% author.editor.key.label
+% else if type$ = "proceedings" then
+% editor.key.organization.label
+% else if type$ = "manual" then
+% author.key.organization.label
+% else
+% author.key.label
+% fi fi fi
+% label := label * substring$(purify$(field.or.null(year)), -1, 2)
+% % assuming we will also sort, we calculate a sort.label
+% sort.label := sortify(label), but use the last four, not two, digits
+% END
+
+#if LAB_ALPH
+
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+#if SORTED
+ { cite$ #1 #3 substring$ }
+#else !SORTED % need warning here because we won't give it later
+ { "for label, need author or key in " cite$ * warning$
+ cite$ #1 #3 substring$
+ }
+#endif SORTED
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+#if SORTED
+ { cite$ #1 #3 substring$ }
+#else !SORTED % need warning here because we won't give it later
+ { "for label, need author, editor, or key in " cite$ * warning$
+ cite$ #1 #3 substring$
+ }
+#endif SORTED
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+#if SORTED
+ { cite$ #1 #3 substring$ }
+#else !SORTED % need warning here because we won't give it later
+ { "for label, need author, key, or organization in " cite$ *
+ warning$
+ cite$ #1 #3 substring$
+ }
+#endif SORTED
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+#if SORTED
+ { cite$ #1 #3 substring$ }
+#else !SORTED % need warning here because we won't give it later
+ { "for label, need editor, key, or organization in " cite$ *
+ warning$
+ cite$ #1 #3 substring$
+ }
+#endif SORTED
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ year field.or.null purify$ #-1 #2 substring$
+ *
+ 'label :=
+ year field.or.null purify$ #-1 #4 substring$
+ *
+ sortify 'sort.label :=
+}
+
+% It doesn't seem like a particularly good idea to use an order-of-citation
+% reference list when using alphabetic labels, but we need to have a
+% special pass to calculate labels when this happens.
+
+#if !SORTED
+
+ITERATE {calc.label}
+
+#endif !SORTED
+
+#endif LAB_ALPH
+
+% When sorting, we compute the sortkey by executing "presort" on each entry.
+% The presort key contains a number of "sortify"ed strings, concatenated
+% with multiple blanks between them. This makes things like "brinch per"
+% come before "brinch hansen per".
+%
+% The fields used here are: the sort.label for alphabetic labels (as set by
+% calc.label), followed by the author names (or editor names or organization
+% (with a leading "The " removed) or key field, depending on entry type and on
+% what's empty), followed by year, followed by the first bit of the title
+% (chopping off a leading "The ", "A ", or "An ").
+% Names are formatted: Von Last First Junior.
+% The names within a part will be separated by a single blank
+% (such as "brinch hansen"), two will separate the name parts themselves
+% (except the von and last), three will separate the names,
+% four will separate the names from year (and from label, if alphabetic),
+% and four will separate year from title.
+%
+% The sort.format.names function takes an argument that should be in
+% BibTeX name format, and returns a string containing " "-separated
+% names in the format described above. The function is almost the same
+% as format.names.
+
+#if SORTED
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+#if NAME_FULL
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+#else
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't :=
+#endif NAME_FULL
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+% The sort.format.title function returns the argument,
+% but first any leading "A "'s, "An "'s, or "The "'s are removed.
+% The chop.word function uses s, so we need another string variable, t
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+% The auxiliary functions here, for the presort function, are analogous to
+% the ones for calc.label; the same comments apply, except that the
+% organization field takes precedence here over the key field. For sorting
+% purposes, we still remove a leading "The " from the organization field.
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+% There is a limit, entry.max$, on the length of an entry string variable
+% (which is what its sort.key$ is), so we take at most that many characters
+% of the constructed key, and hope there aren't many references that match
+% to that many characters!
+
+FUNCTION {presort}
+#if LAB_ALPH
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+#else !LAB_ALPH
+{ type$ "book" =
+#endif LAB_ALPH
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+#if LAB_ALPH
+ *
+#endif LAB_ALPH
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+% And now we can sort
+
+SORT
+
+#endif SORTED
+
+% This long comment applies only to alphabetic labels, when sorted
+%
+% Now comes the final computation for alphabetic labels, putting in the 'a's
+% and 'b's and so forth if required. This involves two passes: a forward
+% pass to put in the 'b's, 'c's and so on, and a backwards pass
+% to put in the 'a's (we don't want to put in 'a's unless we know there
+% are 'b's).
+% We have to keep track of the longest (in width$ terms) label, for use
+% by the "thebibliography" environment.
+%
+% VAR: longest.label, last.sort.label, next.extra: string
+% longest.label.width, last.extra.num: integer
+%
+% initialize.longest.label ==
+% BEGIN
+% longest.label := ""
+% last.sort.label := int.to.chr$(0)
+% next.extra := ""
+% longest.label.width := 0
+% last.extra.num := 0
+% END
+%
+% forward.pass ==
+% BEGIN
+% if last.sort.label = sort.label then
+% last.extra.num := last.extra.num + 1
+% extra.label := int.to.chr$(last.extra.num)
+% else
+% last.extra.num := chr.to.int$("a")
+% extra.label := ""
+% last.sort.label := sort.label
+% fi
+% END
+%
+% reverse.pass ==
+% BEGIN
+% if next.extra = "b" then
+% extra.label := "a"
+% fi
+% label := label * extra.label
+% if width$(label) > longest.label.width then
+% longest.label := label
+% longest.label.width := width$(label)
+% fi
+% next.extra := extra.label
+% END
+
+#if LAB_ALPH
+
+#if SORTED
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+#else !SORTED
+
+% It still doesn't seem like a good idea to use an order-of-citation
+% reference list when using alphabetic labels, but when this happens we
+% must compute the longest label
+
+STRINGS { longest.label }
+
+INTEGERS { longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+#endif SORTED
+
+#else !LAB_ALPH
+
+% Now comes the computation for numeric labels.
+% We use either the sorted order or original order.
+% We still have to keep track of the longest (in width$ terms) label, for use
+% by the "thebibliography" environment.
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+#endif LAB_ALPH
+
+% Now we're ready to start writing the .BBL file.
+% We begin, if necessary, with a LaTeX macro for unnamed names in an alphabetic
+% label; next comes stuff from the `preamble' command in the database files.
+% Then we give an incantation containing the command
+% \begin{thebibliography}{...}
+% where the `...' is the longest label.
+%
+% We also call init.state.consts, for use by the output routines.
+
+FUNCTION {begin.bib}
+#if LAB_ALPH
+{ et.al.char.used
+ { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+ 'skip$
+ if$
+ preamble$ empty$
+#else !LAB_ALPH
+{ preamble$ empty$
+#endif LAB_ALPH
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+% Now we produce the output for all the entries
+
+ITERATE {call.type$}
+
+% Finally, we finish up by writing the `\end{thebibliography}' command.
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/jmb/jmb.bst b/biblio/bibtex/contrib/jmb/jmb.bst
new file mode 100644
index 0000000000..5455f72645
--- /dev/null
+++ b/biblio/bibtex/contrib/jmb/jmb.bst
@@ -0,0 +1,1368 @@
+%%% ====================================================================
+%%% @BibTeX-style-file{
+%%% author = "Tom Schneider",
+%%% version = "1.21",
+%%% date = "29 June 1992",
+%%% time = "17:30:33 MDT",
+%%% filename = "jmb.bst",
+%%% address = "National Cancer Institute
+%%% Laboratory of Mathematical Biology
+%%% Frederick, Maryland 21701-1013
+%%% USA",
+%%% checksum = "11681 1368 4735 33144",
+%%% email = "toms@ncifcrf.gov (Internet)",
+%%% codetable = "ISO/ASCII",
+%%% keywords = "molecular biology, BibTeX",
+%%% supported = "yes",
+%%% docstring = "This BibTeX bibliography style is for the
+%%% Journal of Molecular Biology and Journal of
+%%% Theoretical Biology. This file is available
+%%% by anonymous ftp from ncifcrf.gov in
+%%% pub/delila.
+%%%
+%%% TITLES can be turned on and off! Just nocite
+%%% the reference TitlesOn in the paper (i.e.
+%%% \nocite{TitlesOn}) and have a bibliography
+%%% article in your database with that cite key!
+%%% Without titles is Journal of Molecular
+%%% Biology; With titles is Journal of
+%%% Theoretical Biology.
+%%%
+%%% WARNING: Since I use mostly article, book and
+%%% inproceedings, these are formatted pretty
+%%% closely to the Journal of Theoretical Biology
+%%% style while other things are neglected.
+%%% Also, I can't guarantee that the style is
+%%% exactly right.
+%%%
+%%% The following documentation is identical from
+%%% the source of jmb.bst, which was the
+%%% apalike.bst taken from the Clarkson archive
+%%% on 1989 June 19.
+%%%
+%%% The checksum field above contains a CRC-16
+%%% checksum as the first value, followed by the
+%%% equivalent of the standard UNIX wc (word
+%%% count) utility output of lines, words, and
+%%% characters. This is produced by Robert
+%%% Solovay's checksum utility."
+%%% }
+%%% ====================================================================
+
+% BibTex `jmb' bibliography style
+% version = 1.21 of jmb.bst 1992 June 29
+% Fix format.vol.num.pages to use field.or.null to
+% correctly handle case of missing volume.
+% [Nelson H. F. Beebe <beebe@plot79.math.utah.edu>]
+% version = 1.20 of jmb.bst 1990 November 16
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% BibTeX `apalike' bibliography style (24-Jan-88 version)
+% Adapted from the `alpha' style, version 0.99a; for BibTeX version 0.99a.
+% Copyright (C) 1988, all rights reserved.
+% Copying of this file is allowed, provided that if you make any changes at all
+% you name it something other than `apalike.bst'.
+% This restriction helps ensure that all copies are identical.
+% Differences between this style and `alpha' are generally heralded by a `%'.
+% The file btxbst.doc has the documentation for alpha.bst.
+%
+% This style should be used with the `apalike' LaTeX style (apalike.sty).
+% \cite's come out like "(Jones, 1986)" in the text but there are no labels
+% in the bibliography, and something like "(1986)" comes out immediately
+% after the author. Author (and editor) names appear as last name, comma,
+% initials. A `year' field is required for every entry, and so is either
+% an author (or in some cases, an editor) field or a key field.
+%
+% Editorial note:
+% Many journals require a style like `apalike', but I strongly, strongly,
+% strongly recommend that you not use it if you have a choice---use something
+% like `plain' instead. Mary-Claire van Leunen (A Handbook for Scholars,
+% Knopf, 1979) argues convincingly that a style like `plain' encourages better
+% writing than one like `apalike'. Furthermore the strongest arguments for
+% using an author-date style like `apalike'---that it's "the most practical"
+% (The Chicago Manual of Style, University of Chicago Press, thirteenth
+% edition, 1982, pages 400--401)---fall flat on their face with the new
+% computer-typesetting technology. For instance page 401 anachronistically
+% states "The chief disadvantage of [a style like `plain'] is that additions
+% or deletions cannot be made after the manuscript is typed without changing
+% numbers in both text references and list." LaTeX sidesteps the disadvantage.
+%
+% History:
+% 15-sep-86 (SK,OP) Original version, by Susan King and Oren Patashnik.
+% 10-nov-86 (OP) Truncated the sort.key$ string to the correct length
+% in bib.sort.order to eliminate error message.
+% 24-jan-88 (OP) Updated for BibTeX version 0.99a, from alpha.bst 0.99a;
+% apalike now sorts by author, then year, then title;
+% THIS `apalike' VERSION DOES NOT WORK WITH BIBTEX 0.98i.
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% The program was further modified by Tom Schneider:
+%
+% 1989 June 19 (TDS) Renamed jmb.bst. Items that do not have years were
+% listed in the bibliography without identifiers. However, they
+% have identifiers in the text. The identifier was added.
+% Titles were removed :-(.
+
+% 1989 October 2 (TDS) Made labels in the paper use the & symbol rather
+% than `and', as required by JMB.
+% 1989 October 3 (TDS) Made et~al. be in italics.
+% Removed comma after journal name. (actually, all
+% mid sentence commas go!)
+% Made volume number be bold faced.
+% Converted colon (:) after volume number to a comma (,).
+% If a journal name does NOT end in a period, add
+% a comma after the name.
+% 1989 October 14 (TDS) Without a year the program used to sort on the
+% title. I made it sort on the cite$ if there is no year.
+% 1989 October 18 (TDS) If there is one reference without a year, put
+% an "a" at the end of its label, so that it comes out
+% as (Smith, a) in the text. in FUNCTION {forward.pass}
+% 1989 November 2 (TDS) Unpublished papers now give the title.
+% 1989 November 18 (TDS) TITLES can be turned on and off!
+% Just nocite the reference TitlesOn in the paper
+% and have a bibliography article in your database
+% with that cite key!
+% 1989 December 5 (TDS) I can't stand sorting to fall back on the
+% titles of the article - no control! So in function
+% bib.sort.order the default is now cite$.
+% 1990 November 14 (TDS) Changes to match JTB better:
+% Names in the bibliography are now connected
+% with "\&" instead of "and", since this fits JTB better.
+% "In" is now "In:".
+% "editors" and "editor" are now "eds" and "ed".
+% booktitle follows editors. editors in parenthesis.
+% pp. and p. instead of pages and page.
+% location followed by colon (:) and then publisher.
+
+ENTRY % declare variables that have a value for each entry on the list
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+% month not used in apalike
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block
+ docomma givetitles }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+
+ #0 'docomma := % if it is 0 then don't do commas, otherwise do them.
+}
+
+FUNCTION {init.toggle.switches}
+{% set switches for controlling the output!
+ #0 'givetitles := % if it is 0 then don't give titles, otherwise do them.
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+
+% % { ", " * write$ } % the comma here is responsible for every comma!
+% % % But JMB doesn't want commas, so away it goes!
+% { " " * write$ } % That does it!
+
+ { % doing a comma is controlled specifically in JMB using docomma
+ docomma #0 =
+ { " " * write$ }
+ { ", " * write$ }
+ if$
+ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { t "title" =
+ { pop$ } % jmb ignores titles and does not object if missing
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ if$
+ }
+ 'output.nonnull % block periods
+ % { pop$ } % don't do anything
+ if$
+}
+
+% t "title" =
+% { "zowie" warning$ }
+% { duplicate$ empty$
+% { pop$ "EmPtY " t * " in " * cite$ * warning$ }
+% 'output.nonnull
+% }
+% if$
+% if$
+%}
+
+% apalike needs this function because
+% the year has special punctuation;
+% apalike ignores the month
+FUNCTION {output.year.check}
+{ year empty$
+ {
+ "empty year in " cite$ ", using label: " extra.label * * * warning$
+ write$
+ " (" extra.label * ")" *
+ mid.sentence 'output.state :=
+ }
+ { write$
+ " (" year * extra.label * ")" *
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't := % last name first
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " {\em et~al.}" * }
+ { " \& " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.key} % this function is just for apalike
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", eds" * } % TDS
+ { ", ed" * } % TDS
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { % decide whether to give the title or not
+ givetitles #1 =
+ { title "t" change.case$ } % produce the title
+ { title pop$ "" } % don't produce the title
+ if$
+ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pp." pages n.dashify tie.or.space.connect } % TDS
+ { "p." pages tie.or.space.connect } % TDS
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ "{\bf " volume field.or.null * "}" * % make volume bold face
+ number empty$
+ 'skip$
+ { " (" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+% { ":" * pages n.dashify * } % no more colons after the volume
+ { ", " * pages n.dashify * } % comma's instead
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In: " booktitle emphasize * } % TDS
+ { "In: " booktitle emphasize * ", " *
+ "(" format.editors ")" * * * } % TDS
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ "In:" % this is for apalike % TDS
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In: " % TDS
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "\cite{" * crossref * "}" * % this is for apalike
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ "In:" % this is for apalike % TDS
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{
+ cite$ "TitlesOn" =
+ 'skip$ % Don't write out an article of this kind, it's a toggle switch!
+ {
+ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { % figure out the last character of the journal name.
+ % "<<" journal #-1 #1 substring$ ">>" * * % for testing
+ % "<" journal ">" * * % this works ok % for testing
+
+ journal #-1 #1 substring$ "." =
+ { journal } % journal ended in period so don't do anything
+ { journal ", " *} % journal ended without period, so add comma
+ if$
+ emphasize "journal" output.check
+
+% journal * emphasize "journal" output.check % the original method
+
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+ }
+ if$
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ #1 'docomma := % TURN COMMAS ON FOR JMB
+ crossref missing$
+ {
+ format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ #0 'docomma := % no comma after address
+ address ":" * output % TDS
+ publisher "publisher" output.check % TDS
+ #1 'docomma := % comma back on
+% publisher "publisher" output.check
+% address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+ #0 'docomma := % TURN COMMAS OFF
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ howpublished output
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ #0 'docomma := % no comma after address
+ address ":" * output % TDS
+ publisher "publisher" output.check % TDS
+ #1 'docomma := % comma back on
+% publisher "publisher" output.check
+% address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ {
+% #1 'docomma := % TURN COMMAS ON FOR JMB, BUT NOT FOR JTB: inconsistent
+ format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages "," * output % TDS toss in comma instead of period
+% address output % TDS address is below for JTB
+% new.sentence % TDS remove period
+ organization output
+ #0 'docomma := % NO COMMA AFTER ADDRESS
+ address ":" * output % TDS
+ publisher "publisher" output.check % TDS
+ #1 'docomma := % comma back on
+
+% publisher output % are simpler
+ #0 'docomma := % TURN COMMAS OFF
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title output
+ new.block
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output % for apalike
+ new.sentence % we always output
+ organization output % a nonempty organization
+ publisher output % here
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+
+% Since format.title is out of commission, the original method won't work:
+% format.title "title" output.check
+% so do the equivalent of the format.title procedure: (TDS)
+ title empty$
+ { "" }
+ { title "t" change.case$ } % produce the title
+ if$
+ "title" output.check
+
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+% ***********************************************************
+
+FUNCTION {check.for.titlecommand}
+% go through each entry and see if one of them has the key
+% 'TitlesOn'. If this is found, then do titles!
+% 1989 November 18 TDS
+{
+% "|" label "|" * * write$ newline$ % |Arrhenius {\em et~al.}, 1986|
+% "|" cite$ "|" * * write$ newline$ % |Arrhenius1986|
+% so cite$ is the thing I want to detect...
+
+ cite$ "TitlesOn" =
+ { % got it!
+% "FOUND TitlesOn" write$ newline$
+ "Titles Will Be Printed" warning$
+ #1 'givetitles := % give titles!
+ }
+ 'skip$
+ if$
+}
+EXECUTE {init.toggle.switches}
+ITERATE {check.for.titlecommand}
+% ***********************************************************
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+% There are three apalike cases: one person (Jones),
+% two (Jones and de~Bruijn), and more (Jones et~al.).
+% This function is much like format.crossref.editors.
+%
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " {\em et~al.}" * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " {\em et~al.}" * }
+ { " \& " * s #2 "{vv~}{ll}" format.name$ * }
+ % note new use of & rather than `and'. TDS
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key, no organization
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label % apalike ignores organization
+ 'author.key.label % for labeling and sorting
+ if$
+ }
+ if$
+ ", " % these three lines are
+ * % for apalike, which
+ year field.or.null purify$ #-1 #4 substring$ % uses all four digits
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$ % apalike uses initials
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't := % <= here
+ nameptr numnames = t "others" = and
+ { "{\em et al}" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+% apalike uses two sorting passes; the first one sets the
+% labels so that the `a's, `b's, etc. can be computed;
+% the second pass puts the references in "correct" order.
+% The presort function is for the first pass. It computes
+% label, sort.label, and title, and then concatenates.
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$ % for
+ 'sort.label := % apalike
+ sort.label % style
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT % by label, sort.label, title---for final label calculation
+
+STRINGS { last.label next.extra } % apalike labels are only for the text;
+
+INTEGERS { last.extra.num } % there are none in the bibliography
+
+FUNCTION {initialize.extra.label.stuff} % and hence there is no `longest.label'
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+% pass through the references forward
+{
+%"\\ label=" label "//" * * write$ newline$ % display the label
+%"\\last.label=" last.label "//" * * write$ newline$ % display the label
+
+ last.label label = % if the label repeats the previous label...
+ { % then increment the extra number
+ last.extra.num #1 + 'last.extra.num :=
+ % and convert it to a label
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { % else set things up for the next entry
+ "a" chr.to.int$ 'last.extra.num :=
+
+ % However, if the year was missing, tack on an extra "a". TDS
+ year empty$
+ {"a" 'extra.label :=}
+ {"" 'extra.label :=}
+ if$
+
+% "" 'extra.label := % the original method was not to do anything TDS
+
+ label 'last.label := % capture this label for next time
+ }
+ if$
+%"\\extra.label = " extra.label "//" * * write$ newline$ % display the label
+}
+
+FUNCTION {reverse.pass}
+% pass through the references backwards
+% add extra characters to the end of the label string
+{
+%"{{" label "}}" * * write$ newline$ % display the label
+ next.extra "b" =
+% original logic:
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+
+% next.extra "b" = { "next.extra was = b" write$ newline$} 'skip$ if$
+
+% new as of 1989 Oct 18
+% { "a" 'extra.label := }
+% { % Put on an "a" at the end of the label if the year is missing. TDS
+% year empty$
+% { "a" 'extra.label := }
+% %{ label "a" * 'label := }
+% 'skip$ % otherwise leave it alone (orignial method)
+% if$ }
+% if$
+
+ label extra.label * 'label :=
+ extra.label 'next.extra :=
+%"{{" label "}}" * * write$ newline$ % display the label
+}
+
+FUNCTION {bib.sort.order}
+% Generate the sort.key$ variables for sorting.
+% The sorting is first on the sort.label (ie, author's name), followed
+% by the year then the title. If there is no year, the cite$ is used.
+{
+ sort.label % this is based on the author name
+ " " * % tack on some space
+% original apa command was to use the year or an empty string:
+% year field.or.null sortify
+%
+% Replace that with the use of the cite$, when there is no year:
+ year duplicate$ empty$
+ {pop$ cite$}
+ 'skip$
+ if$
+
+ * " " * % tack on some space
+
+% I CAN'T STAND SORTING ON TITLE!!! TDS 1989 Dec 5
+% title field.or.null
+% sort.format.title
+% * % attach them together
+ cite$
+ * % use cite$ instead!!
+
+ % note: if there is no year, then the cite$ will override the sorting
+ % on the title. Oh well. Title sorting is sorta (ha ha) awful.
+
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+
+ % The following line helps debug the program. It shows what the sort.key$ is.
+ % "%" sort.key$ * write$ newline$
+}
+
+% Here is the place that the actual executions of the labeling and sorting
+% functions are done.
+
+
+EXECUTE {initialize.extra.label.stuff} % initialize variables
+ITERATE {bib.sort.order} % set up the sorting keys
+SORT % by sort.label, year, title---giving final bibliography order
+% Having sorted NOW we apply the extra letters at the end!
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$ % no \etalchar in apalike
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$ % no labels in apalike
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/jmb/jmb.sty b/biblio/bibtex/contrib/jmb/jmb.sty
new file mode 100644
index 0000000000..25e2f2a70a
--- /dev/null
+++ b/biblio/bibtex/contrib/jmb/jmb.sty
@@ -0,0 +1,92 @@
+%%% ====================================================================
+%%% @LaTeX-style-file{
+%%% author = "Tom Schneider",
+%%% version = "1.01",
+%%% date = "10 September 1991",
+%%% filename = "jmb.sty",
+%%% address = "National Cancer Institute
+%%% Laboratory of Mathematical Biology
+%%% Frederick, Maryland 21701-1013
+%%% USA",
+%%% checksum = "38329 92 392 4436",
+%%% email = "toms@ncifcrf.gov (Internet)",
+%%% codetable = "ISO/ASCII",
+%%% keywords = "molecular biology",
+%%% supported = "yes",
+%%% docstring = "This LaTeX style file is for the Journal of
+%%% Molecular Biology, and is identical to
+%%% apalike.sty [19 June 1989]. apalike.sty
+%%% style, used in conjunction with
+%%% apalike.bst, will produce an apa-like
+%%% bibliography style:
+%%% 1) Bibliography entries formatted
+%%% alphabetically, last name first, each entry
+%%% having a hanging indentation and no label.
+%%% 2) References in the following formats:
+%%% (Author, 1986)
+%%% (Author and Author, 1986)
+%%% (Author et al., 1986).
+%%% 3) Multiple references in the form
+%%% (Author1, 1986; Author2, 1987)
+%%%
+%%% It should be used as an optional argument
+%%% to the \documentstyle command; for example,
+%%% \documentstyle[11pt,apalike]{book}
+%%% 16-Sep-1986: original version by Susan King
+%%% and Oren Patashnik.
+%%% 13-Oct-1987 changes:
+%%% Fixed bug in last line by adding the {}
+%%% that disappeard when the \hbox{} was
+%%% removed from the pre-APALIKE definition;
+%%% added club and widow penalties;
+%%% patched the \newblock LaTeX bug from
+%%% `-.07em' to simply `.07em';
+%%% and made this work for document styles that
+%%% don't define `chapter'.
+%%%
+%%% The checksum field above contains a CRC-16
+%%% checksum as the first value, followed by the
+%%% equivalent of the standard UNIX wc (word
+%%% count) utility output of lines, words, and
+%%% characters. This is produced by Robert
+%%% Solovay's checksum utility."
+%%% }
+%%% ====================================================================
+%
+% Use parens instead of brackets for \cite, and no label in the bibliography
+%
+\def\@cite#1#2{(#1\if@tempswa , #2\fi)}
+\def\@biblabel#1{}
+
+% Set length of hanging indentation for bibliography entries
+%
+\newlength{\bibhang}
+\setlength{\bibhang}{2em}
+
+% \thebibliography environment depends on whether or not `chapter's can exist
+%
+\@ifundefined{chapter}{\def\thebibliography#1{\section*{References\@mkboth
+ {REFERENCES}{REFERENCES}}\list
+ {\relax}{\setlength{\labelsep}{0em}
+ \setlength{\itemindent}{-\bibhang}
+ \setlength{\leftmargin}{\bibhang}}
+ \def\newblock{\hskip .11em plus .33em minus .07em}
+ \sloppy\clubpenalty4000\widowpenalty4000
+ \sfcode`\.=1000\relax}}%
+{\def\thebibliography#1{\chapter*{Bibliography\@mkboth
+ {BIBLIOGRAPHY}{BIBLIOGRAPHY}}\list
+ {\relax}{\setlength{\labelsep}{0em}
+ \setlength{\itemindent}{-\bibhang}
+ \setlength{\leftmargin}{\bibhang}}
+ \def\newblock{\hskip .11em plus .33em minus .07em}
+ \sloppy\clubpenalty4000\widowpenalty4000
+ \sfcode`\.=1000\relax}}
+
+% `; ' goes between cites, and there's no \hbox around individual cites
+%
+\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
+ \def\@citea{}\@cite{\@for\@citeb:=#2\do
+ {\@citea\def\@citea{; }\@ifundefined
+ {b@\@citeb}{{\bf ?}\@warning
+ {Citation `\@citeb' on page \thepage \space undefined}}%
+{\csname b@\@citeb\endcsname}}}{#1}}
diff --git a/biblio/bibtex/contrib/jneurosci/README b/biblio/bibtex/contrib/jneurosci/README
new file mode 100644
index 0000000000..9216cd5b8b
--- /dev/null
+++ b/biblio/bibtex/contrib/jneurosci/README
@@ -0,0 +1,46 @@
+This is a slightly modified version of the namedplus style, which fully conforms
+with the Journal of Neuroscience citation style.
+Last modified 2004 April 06 by Matthias Hennig (hennig@cn.stir.ac.uk)
+
+version = 1.00 of jneurosci.bst 2004 April 06
+
+The following citation labels are implemented:
+
+\citeauthoryear{author-info}{year}:
+ these labels are processed by the following commands:
+\cite{key}:
+ which produces citations with both author and year, enclosed in parens.
+\shortcite{key}:
+ which produces citations with year only, enclosed in parens
+\citeauthor{key}:
+ which produces the author information only
+\citeyear{key}:
+ which produces the year information only
+\citetext{key}:
+ which produces Author (Year)
+\citenoparens{key}:
+ which produces Author, Year
+
+The output looks like that:
+\cite{key}:
+ (Strettoi and Masland, 1996; Kolb, 1997; Masland, 2001) and (Fisher et al., 1975)
+\citetext{key}:
+ for reviews, see McNaughton (1990); Müller and Kaupp (1998); Fain et al. (2001).
+
+The bibliography follows J Neurosci conventions, e.g.:
+Koch C (1999) Biophysics of Computation: Information Processing in Single Neurons Oxford University Press.
+Enroth-Cugell C, Robson JG (1966) The contrast sensitivity of retinal ganglion cells of the cat. J Physiol 187:517-552.
+
+This is a modified version of the namedplus style by:
+-----------------------------------------------------
+A. David Redish adr@nsma.arizona.edu
+Post-doc http://www.cs.cmu.edu/~dredish
+Neural Systems, Memory and Aging, Univ of AZ, Tucson AZ
+-----------------------------------------------------
+
+which was in turn modified by:
+Oren Patashnik (PATASHNIK@SCORE.STANFORD.EDU)
+
+and finally modified by:
+Matthias H Hennig, University of Edinburgh, mhennig at inf.ed.ac.uk
+
diff --git a/biblio/bibtex/contrib/jneurosci/jneurosci.bst b/biblio/bibtex/contrib/jneurosci/jneurosci.bst
new file mode 100644
index 0000000000..5cc3d025c1
--- /dev/null
+++ b/biblio/bibtex/contrib/jneurosci/jneurosci.bst
@@ -0,0 +1,1383 @@
+% This is a slightly modified version of the namedplus style, which fully conforms
+% with the Journal of Neuroscience citation style.
+% Last modified 2004 April 06 by Matthias Hennig (hennig@cn.stir.ac.uk)
+%
+% version = 1.00 of jneurosci.bst 2004 April 06
+%
+% The following citation labels are implemented:
+%
+% \citeauthoryear{author-info}{year}:
+% these labels are processed by the following commands:
+% \cite{key}:
+% which produces citations with both author and year, enclosed in parens.
+% \shortcite{key}:
+% which produces citations with year only, enclosed in parens
+% \citeauthor{key}:
+% which produces the author information only
+% \citeyear{key}:
+% which produces the year information only
+% \citetext{key}:
+% which produces Author (Year)
+% \citenoparens{key}:
+% which produces Author, Year
+%
+% The output looks like that:
+% \cite{key}:
+% (Strettoi and Masland, 1996; Kolb, 1997; Masland, 2001) and (Fisher et al., 1975)
+% \citetext{key}:
+% for reviews, see McNaughton (1990); Müller and Kaupp (1998); Fain et al. (2001).
+%
+% The bibliography follows J Neurosci conventions, e.g.:
+% Koch C (1999) Biophysics of Computation: Information Processing in Single Neurons Oxford University Press.
+% Enroth-Cugell C, Robson JG (1966) The contrast sensitivity of retinal ganglion cells of the cat. J Physiol 187:517-552.
+%
+% This is a modified version of the namedplus style by:
+% -----------------------------------------------------
+% A. David Redish adr@nsma.arizona.edu
+% Post-doc http://www.cs.cmu.edu/~dredish
+% Neural Systems, Memory and Aging, Univ of AZ, Tucson AZ
+% -----------------------------------------------------
+%
+% which was in turn modified by:
+% Oren Patashnik (PATASHNIK@SCORE.STANFORD.EDU)
+%
+% and finally modified by:
+% Matthias H Hennig, University of Edinburgh, mhennig at inf.ed.ac.uk
+
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { " " * write$ %add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output.nonnulldot}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.checkdot}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnulldot
+ if$
+}
+
+
+% apalike needs this function because
+% the year has special punctuation;
+% apalike ignores the month
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { write$
+ " (" year * extra.label * ")" *
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+STRINGS { lclfrmtstr} % local format string
+
+FUNCTION {format.names}
+{
+ 's := % 1 s = current stack
+ #1 'nameptr := % 2 nameptr = 1
+ s num.names$ 'numnames := % 3 numnames = how many names in stack
+ numnames 'namesleft := % 4 namesleft = numnames
+
+ { namesleft #0 > } % 5 is namesleft > 0?
+
+ {
+ % mhh, 8.7.2002, JNS likes this best!
+ "{vv~}{ll}{ j{}}{ f{}}" 'lclfrmtstr :=
+ s nameptr lclfrmtstr format.name$ 't :=
+
+ nameptr #1 > % 7 is nameptr > 1?
+ { namesleft #1 > % 8 is namesleft > 1?
+ { ", " * t * } % 9 concat(, and t)
+
+ { numnames #2 > % 10 is numnames > 2?
+ { "" * } % 11 concat(current stack and ,)
+ 'skip$ % 12 skip
+ if$ % 13 if (10 is true) then run 11 else 12
+ t "others" = % 14 is t == others?
+ { " et~al." * } % 15 concat (current stack and et~al.)
+ { ", " * t * } % 16 concat (and and t)
+ if$ % 17 if (14 is true) then run 15 else 16
+ } % 18 close 10
+ if$ % 19 if (8 is true) then run 9 else run 10-18
+ } % 20 close 8
+ 't % 21 push t
+ if$ % 22 if (7 is true) then run 8-20 else run 21
+ nameptr #1 + 'nameptr := % 23 nameptr = nameptr + 1
+ namesleft #1 - 'namesleft := % 24 namesleft = namesleft - 1
+ } % 25 close 6
+ while$ % while (5 is true) run 6-25
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.key} % this function is just for apalike
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+
+ { title "t" change.case$ }
+
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "Vol.~" volume *
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "\mbox{pp. " pages n.dashify * "}" *}
+ { "\mbox{p. " pages * "}" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { %"(" number * ")" * * % JNS needs no number
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":\mbox{" * pages n.dashify * "}" *} % ADR 21 DEC 1998 added ":~" and \mbox{pages}
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+
+ key empty$ not and
+
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.dotarticle.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \shortcite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Vol." volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \shortcite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \shortcite{" * crossref * "}" *
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \shortcite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.checkdot
+ "~" * format.vol.num.pages *
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ howpublished output
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address output % for apalike
+ new.sentence % there's no year
+ organization output % here so things
+ publisher output % are simpler
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title output
+ new.block
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ title "title" output.check
+ new.block
+ "Ph.D. diss." format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output % for apalike
+ new.sentence % we always output
+ organization output % a nonempty organization
+ publisher output % here
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+
+FUNCTION {format.lab.names}
+{ 's := % 1 s = top of stack
+ s num.names$ 'numnames := % 2 numnames = num names in s
+
+ numnames #1 = % 3 is numnames == 1
+ { s #1 "{vv }{ll}" format.name$ } % 4 format 1 name
+ { numnames #2 = % 5 is numnames == 2
+ { s #1 "{vv }{ll} and " format.name$
+ s #2 "{vv }{ll}" format.name$ *
+ }
+ % 6 format 2 names
+ { numnames #3 = % 7 is numnames == 3
+ { s #1 "{vv }{ll} " format.name$
+ "\bgroup et al.\egroup " * }
+% s #2 "{vv }{ll}, and " format.name$ *
+% s #3 "{vv }{ll}" format.name$ *}
+ % 8 format 3 names
+ { s #1 "{vv }{ll } " format.name$
+ "\bgroup et al.\egroup " * }
+ % 9 format many names
+ if$ % 10 if 7 then 8 else 9
+ } % 11 close 7
+ if$ % 12 if (5) then 6 else 7-11
+ } % 13 close 5
+ if$ % 14 if 3 is true then 4 else 5-13
+
+}
+
+FUNCTION {old.old.old.format.lab.names}
+{ 's := % 1 s = top of stack
+ s num.names$ 'numnames := % 2 numnames = num names in s
+
+ numnames #1 = % 3 is numnames == 1
+ { s #1 "{vv }{ll}" format.name$ } % 4 format 1 name
+ { numnames #2 = % 5 is numnames == 2
+ { s #1 "{vv }{ll }and " format.name$ s #2 "{vv }{ll}" format.name$ *
+ }
+ % 6 format 2 names
+ { s #1 "{vv }{ll }\bgroup \em et al.\egroup " format.name$ }
+ % 7 format many names
+ if$ % 8 if (5) then 6 else 7
+ } % 9 close 5
+ if$ % 10 if 3 is true then 4 else 5-9
+
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+
+ { cite$ #1 #3 substring$ }
+
+ { key }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+
+ { cite$ #1 #3 substring$ }
+
+ { key }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+
+ { cite$ #1 #3 substring$ }
+
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+
+ { cite$ #1 #3 substring$ }
+
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+
+ "\protect\citeauthoryear{" swap$ * "}{" *
+ year field.or.null purify$ * % CHANGED - pfps - 15 Feb 1989
+ 'label :=
+ year field.or.null purify$ *
+
+ sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+
+ t sortify *
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {old.sort.format.names.old}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+
+{
+ calc.label
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " " *
+ year field.or.null sortify *
+ " " *
+ title field.or.null
+ sort.format.title *
+
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * "}" * 'label := % CHANGED - pfps 15 Feb 1989
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+
+{ et.al.char.used
+ { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+ 'skip$
+ if$
+ preamble$ empty$
+
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+
+ "\begin{thebibliography}{}" write$ newline$
+
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+
diff --git a/biblio/bibtex/contrib/jneurosci/jneurosci.pdf b/biblio/bibtex/contrib/jneurosci/jneurosci.pdf
new file mode 100644
index 0000000000..d924d01f47
--- /dev/null
+++ b/biblio/bibtex/contrib/jneurosci/jneurosci.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/jneurosci/jneurosci.sty b/biblio/bibtex/contrib/jneurosci/jneurosci.sty
new file mode 100644
index 0000000000..ef4f766c99
--- /dev/null
+++ b/biblio/bibtex/contrib/jneurosci/jneurosci.sty
@@ -0,0 +1,89 @@
+% This is a slightly modified version of the namedplus style, which fully conforms
+% with the Journal of Neuroscience citation style.
+% Last modified 2004 April 06 by Matthias Hennig (hennig@cn.stir.ac.uk)
+%
+% version = 1.00 of jneurosci.bst 2004 April 06
+%
+% The following citation labels are implemented:
+%
+% \citeauthoryear{author-info}{year}:
+% these labels are processed by the following commands:
+% \cite{key}:
+% which produces citations with both author and year, enclosed in parens.
+% \shortcite{key}:
+% which produces citations with year only, enclosed in parens
+% \citeauthor{key}:
+% which produces the author information only
+% \citeyear{key}:
+% which produces the year information only
+% \citetext{key}:
+% which produces Author (Year)
+% \citenoparens{key}:
+% which produces Author, Year
+%
+% The output looks like that:
+% \cite{key}:
+% (Strettoi and Masland, 1996; Kolb, 1997; Masland, 2001) and (Fisher et al., 1975)
+% \citetext{key}:
+% for reviews, see McNaughton (1990); Müller and Kaupp (1998); Fain et al. (2001).
+%
+% The bibliography follows J Neurosci conventions, e.g.:
+% Koch C (1999) Biophysics of Computation: Information Processing in Single Neurons Oxford University Press.
+% Enroth-Cugell C, Robson JG (1966) The contrast sensitivity of retinal ganglion cells of the cat. J Physiol 187:517-552.
+%
+% This is a modified version of the namedplus style by:
+% -----------------------------------------------------
+% A. David Redish adr@nsma.arizona.edu
+% Post-doc http://www.cs.cmu.edu/~dredish
+% Neural Systems, Memory and Aging, Univ of AZ, Tucson AZ
+% -----------------------------------------------------
+%
+% which was in turn modified by:
+% Oren Patashnik (PATASHNIK@SCORE.STANFORD.EDU)
+%
+% and finally modified by:
+% Matthias H Hennig, University of Edinburgh, mhennig at inf.ed.ac.uk
+
+\def\@biblabel#1{}
+
+\let\@internalcite\cite
+
+\def\cite{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{(\nobreak\hskip 0in{##1\if@tempswa , ##2\fi})}%
+ \def\citeauthoryear##1##2{##1, ##2}\@internalcite}
+
+\def\citetext{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{\nobreak\hskip 0in{##1\if@tempswa , ##2\fi}}%
+ \def\citeauthoryear##1##2{##1~(##2)}\@internalcite}
+
+\def\citenoparens{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{\nobreak\hskip 0in{##1\if@tempswa , ##2\fi}}%
+ \def\citeauthoryear##1##2{##1, ##2}\@internalcite}
+
+\def\shortcite{\def\@citeseppen{1000}%
+ \def\@cite##1##2{({##1\if@tempswa , ##2\fi})}%
+ \def\citeauthoryear##1##2{##2}\@internalcite}
+
+\def\citeauthor#1{\def\@cite##1##2{{##1\if@tempswa , ##2\fi}}%
+ \def\citeauthoryear##1##2{##1}\@citedata{#1}}
+
+\def\citeyear#1{\def\@cite##1##2{{##1\if@tempswa , ##2\fi}}%
+ \def\citeauthoryear##1##2{##2}\@citedata{#1}}
+
+\def\@citedata#1{\@tempswafalse%
+ \if@filesw\immediate\write\@auxout{\string\citation{#1}}\fi
+ \def\@citea{}\@cite{\@for\@citeb:=#1\do
+ {\@citea\def\@citea{;\penalty\@citeseppen\ }\@ifundefined
+ {b@\@citeb}{{\bf ?}\@warning
+ {Citation `\@citeb' on page \thepage \space undefined}}%
+{\csname b@\@citeb\endcsname}}}{}}
+
+% don't box citations, separate with ; and a space
+% also, make the penalty between citations negative: a good place to break
+\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
+ \def\@citea{}\@cite{\@for\@citeb:=#2\do
+ {\@citea\def\@citea{;\penalty\@citeseppen\ }\@ifundefined
+ {b@\@citeb}{{\bf ?}\@warning
+ {Citation `\@citeb' on page \thepage \space undefined}}%
+{\csname b@\@citeb\endcsname}}}{#1}}
+
diff --git a/biblio/bibtex/contrib/jneurosci/jneurosci.tex b/biblio/bibtex/contrib/jneurosci/jneurosci.tex
new file mode 100644
index 0000000000..0e890ffaa9
--- /dev/null
+++ b/biblio/bibtex/contrib/jneurosci/jneurosci.tex
@@ -0,0 +1,81 @@
+\documentclass[DIV=8, parskip=half, pagesize=auto]{scrartcl}
+
+\usepackage{fixltx2e}
+\usepackage{etex}
+\usepackage{xspace}
+\usepackage{lmodern}
+\usepackage[T1]{fontenc}
+\usepackage{textcomp}
+\usepackage[utf8]{inputenc}
+\usepackage{booktabs}
+\usepackage{microtype}
+\usepackage{hyperref}
+
+\newcommand*{\mail}[1]{\href{mailto:#1}{\texttt{#1}}}
+\newcommand*{\pkg}[1]{\textsf{#1}}
+\newcommand*{\cs}[1]{\texttt{\textbackslash#1}}
+\makeatletter
+\newcommand*{\cmd}[1]{\cs{\expandafter\@gobble\string#1}}
+\makeatother
+\newcommand*{\meta}[1]{\textlangle\textsl{#1}\textrangle}
+\newcommand*{\marg}[1]{\texttt{\{}\meta{#1}\texttt{\}}}
+
+\addtokomafont{title}{\rmfamily}
+
+\title{The \pkg{jneurosci} package\thanks{This manual corresponds to \pkg{jneurosci}~v1.00, dated~2004 April 06.}}
+\author{Matthias Hennig (\mail{hennig@cn.stir.ac.uk})}
+\date{2004 April 06}
+
+
+\begin{document}
+
+\maketitle
+
+\noindent
+This is a slightly modified version of the \pkg{namedplus} style, which fully conforms
+with the Journal of Neuroscience citation style.
+
+The following citation labels are implemented:
+%
+\begin{labeling}{\cmd{\citeauthoryear}\marg{author-info}\marg{year}:}
+\item[\cmd{\citeauthoryear}\marg{author-info}\marg{year}:] these labels are processed by the following commands:
+\item[\cmd{\cite}\marg{key}:] which produces citations with both author and year, enclosed in parens.
+\item[\cmd{\shortcite}\marg{key}:] which produces citations with year only, enclosed in parens
+\item[\cmd{\citeauthor}\marg{key}:] which produces the author information only
+\item[\cmd{\citeyear}\marg{key}:] which produces the year information only
+\item[\cmd{\citetext}\marg{key}:] which produces Author (Year)
+\item[\cmd{\citenoparens}\marg{key}:] which produces Author, Year
+\end{labeling}
+
+The output looks like that:
+%
+\begin{labeling}{\cmd{\citetext}\marg{key}:}
+\item[\cmd{\cite}\marg{key}:] (Strettoi and Masland, 1996; Kolb, 1997; Masland, 2001) and (Fisher et al., 1975)
+\item[\cmd{\citetext}\marg{key}:] for reviews, see McNaughton (1990); Müller and Kaupp (1998); Fain et al. (2001).
+\end{labeling}
+
+The bibliography follows J~Neurosci conventions, e.\,g.:
+%
+\begin{itemize}
+\item Koch C (1999) Biophysics of Computation: Information Processing in Single Neurons Oxford University Press.
+\item Enroth-Cugell C, Robson JG (1966) The contrast sensitivity of retinal ganglion cells of the cat. J~Physiol 187:517-552.
+\end{itemize}
+
+This is a modified version of the \pkg{namedplus} style by:
+
+\begin{tabular}{@{}ll@{}}
+ \toprule
+ A. David Redish & \mail{adr@nsma.arizona.edu} \\
+ Post-doc & \url{http://www.cs.cmu.edu/~dredish} \\
+ \multicolumn{2}{@{}l@{}}{Neural Systems, Memory and Aging, Univ of AZ, Tucson AZ} \\
+ \bottomrule
+\end{tabular}
+
+which was in turn modified by:\\
+Oren Patashnik (\mail{PATASHNIK@SCORE.STANFORD.EDU})
+
+and finally modified by:\\
+Matthias H Hennig, University of Edinburgh, \mail{mhennig@inf.ed.ac.uk}
+
+\end{document}
+
diff --git a/biblio/bibtex/contrib/jphysiol/README b/biblio/bibtex/contrib/jphysiol/README
new file mode 100644
index 0000000000..8dced9a729
--- /dev/null
+++ b/biblio/bibtex/contrib/jphysiol/README
@@ -0,0 +1,43 @@
+This is a slightly modified version of the namedplus style, which fully conforms with the Journal of Physiology citation style.
+Last modified 2009 Jan 28 by Matthias Hennig (mhhennig@gmail.com)
+
+version = 1.00 of jphysiol.bst 2009 Jan 28
+
+Use the following citation macros:
+\cite, \citeauthor, \citeyear, \citenoparens, and \citetext \citenoparens
+
+The references are created as a full list of authors (year) and then the standard rest of the stuff, e.g:
+
+Hubel DH & Wiesel TN (1962). Receptive Fields, binocular interaction, and functional architecture in the cat's visual cortex. J Physiol 160, 106-154.
+
+Koch C (1999). Biophysics of Computation: Information Processing in Single Neurons. Oxford University Press.
+
+Ódor G (2004). Universality classes in nonequilibrium lattice systems. Rev Mod Phys 76, 663-724.
+
+The journal/book title is in itaclics, and the journal volume in boldface, as required. This has not been fully checked, let me know if you find errors.
+
+
+This is a modified version of the namedplus style by:
+-----------------------------------------------------
+A. David Redish adr@nsma.arizona.edu
+Post-doc http://www.cs.cmu.edu/~dredish
+Neural Systems, Memory and Aging, Univ of AZ, Tucson AZ
+-----------------------------------------------------
+
+The ``named'' bibliography style creates citations with labels like
+ \citeauthoryear{author-info}{year}
+these labels are processed by the following commands:
+ \cite{key}
+ which produces citations with both author and year,
+ enclosed in parens.
+ \shortcite{key}
+ which produces citations with year only,
+ enclosed in parens
+ \citeauthor{key}
+ which produces the author information only
+ \citeyear{key}
+ which produces the year information only
+ \citetext{key}
+ which produces Author (Year)
+ \citenoparens{key}
+ which produces Author, Year
diff --git a/biblio/bibtex/contrib/jphysiol/jphysiol.bst b/biblio/bibtex/contrib/jphysiol/jphysiol.bst
new file mode 100644
index 0000000000..b2a052c1f4
--- /dev/null
+++ b/biblio/bibtex/contrib/jphysiol/jphysiol.bst
@@ -0,0 +1,1395 @@
+% This is a slightly modified version of the namedplus style, which fully conforms
+% with the Journal of Physiology citation style.
+% Last modified 2009 Jan 28 by Matthias Hennig (mhhennig@gmail.com)
+%
+% version = 1.00 of jphysiol.bst 2009 Jan 28
+%
+% Use the following citation macros:
+% \cite, \citeauthor, \citeyear, \citenoparens, and \citetext \citenoparens
+%
+% The references are created as a full list of authors (year) and then
+% the standard rest of the stuff, e.g:
+%
+% Hubel DH & Wiesel TN (1962). Receptive Fields, binocular interaction, and
+% functional architecture in the cat's visual cortex. J Physiol 160, 106-154.
+%
+% Koch C (1999). Biophysics of Computation: Information Processing in Single
+% Neurons. Oxford University Press.
+%
+% Ódor G (2004). Universality classes in nonequilibrium lattice systems.
+% Rev Mod Phys 76, 663-724.
+%
+% The journal/book title is in itaclics, and the journal volume in boldface,
+% as required. This has not been fully checked, let me know if you find errors.
+%
+%
+% This is a modified version of the namedplus style by:
+% -----------------------------------------------------
+% A. David Redish adr@nsma.arizona.edu
+% Post-doc http://www.cs.cmu.edu/~dredish
+% Neural Systems, Memory and Aging, Univ of AZ, Tucson AZ
+% -----------------------------------------------------
+%
+% The ``named'' bibliography style creates citations with labels like
+% \citeauthoryear{author-info}{year}
+% these labels are processed by the following commands:
+% \cite{key}
+% which produces citations with both author and year,
+% enclosed in parens.
+% \shortcite{key}
+% which produces citations with year only,
+% enclosed in parens
+% \citeauthor{key}
+% which produces the author information only
+% \citeyear{key}
+% which produces the year information only
+% \citetext{key}
+% which produces Author (Year)
+% \citenoparens{key}
+% which produces Author, Year
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { " " * write$ %add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output.nonnulldot}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.checkdot}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnulldot
+ if$
+}
+
+
+% apalike needs this function because
+% the year has special punctuation;
+% apalike ignores the month
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { write$
+ " (" year * extra.label * ")." *
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {bold}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\bf " swap$ * "}" * }
+ if$
+}
+
+
+INTEGERS { nameptr namesleft numnames }
+STRINGS { lclfrmtstr} % local format string
+
+FUNCTION {format.names}
+{
+ 's := % 1 s = current stack
+ #1 'nameptr := % 2 nameptr = 1
+ s num.names$ 'numnames := % 3 numnames = how many names in stack
+ numnames 'namesleft := % 4 namesleft = numnames
+
+ { namesleft #0 > } % 5 is namesleft > 0?
+
+ {
+ % mhh, 8.7.2002, JNS likes this best!
+ "{vv~}{ll}{ j{}}{ f{}}" 'lclfrmtstr :=
+ s nameptr lclfrmtstr format.name$ 't :=
+
+ nameptr #1 > % 7 is nameptr > 1?
+ { namesleft #1 > % 8 is namesleft > 1?
+ { ", " * t * } % 9 concat(, and t)
+
+ { numnames #2 > % 10 is numnames > 2?
+ { "" * } % 11 concat(current stack and ,)
+ 'skip$ % 12 skip
+ if$ % 13 if (10 is true) then run 11 else 12
+ t "others" = % 14 is t == others?
+ { " et~al." * } % 15 concat (current stack and et~al.)
+ { " \& " * t * } % 16 concat (and and t) (mhh) 04/02/08 J Physiol style
+ if$ % 17 if (14 is true) then run 15 else 16
+ } % 18 close 10
+ if$ % 19 if (8 is true) then run 9 else run 10-18
+ } % 20 close 8
+ 't % 21 push t
+ if$ % 22 if (7 is true) then run 8-20 else run 21
+ nameptr #1 + 'nameptr := % 23 nameptr = nameptr + 1
+ namesleft #1 - 'namesleft := % 24 namesleft = namesleft - 1
+ } % 25 close 6
+ while$ % while (5 is true) run 6-25
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.key} % this function is just for apalike
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+
+ { title "t" change.case$ }
+
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "Vol.~" volume *
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "\mbox{pp. " pages n.dashify * "}" *}
+ { "\mbox{p. " pages * "}" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume bold field.or.null
+ number empty$
+ 'skip$
+ { %"(" bold number * ")" * * % JNS needs no number
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ", \mbox{" * pages n.dashify * "}" *} % ADR 21 DEC 1998 added ":~" and \mbox{pages}
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+
+ key empty$ not and
+
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.dotarticle.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \shortcite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Vol." volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \shortcite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \shortcite{" * crossref * "}" *
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \shortcite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.checkdot
+ "~" * format.vol.num.pages *
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ new.block
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ howpublished output
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address output % for apalike
+ new.sentence % there's no year
+ organization output % here so things
+ publisher output % are simpler
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title output
+ new.block
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ title "title" output.check
+ new.block
+ "Ph.D. diss." format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output % for apalike
+ new.sentence % we always output
+ organization output % a nonempty organization
+ publisher output % here
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+
+FUNCTION {format.lab.names}
+{ 's := % 1 s = top of stack
+ s num.names$ 'numnames := % 2 numnames = num names in s
+
+ numnames #1 = % 3 is numnames == 1
+ { s #1 "{vv }{ll}" format.name$ } % 4 format 1 name
+ { numnames #2 = % 5 is numnames == 2
+ { s #1 "{vv }{ll} and " format.name$
+ s #2 "{vv }{ll}" format.name$ *
+ }
+ % 6 format 2 names
+ { numnames #3 = % 7 is numnames == 3
+ { s #1 "{vv }{ll} " format.name$
+ "\bgroup et al.\egroup " * }
+% s #2 "{vv }{ll}, and " format.name$ *
+% s #3 "{vv }{ll}" format.name$ *}
+ % 8 format 3 names
+ { s #1 "{vv }{ll } " format.name$
+ "\bgroup et al.\egroup " * }
+ % 9 format many names
+ if$ % 10 if 7 then 8 else 9
+ } % 11 close 7
+ if$ % 12 if (5) then 6 else 7-11
+ } % 13 close 5
+ if$ % 14 if 3 is true then 4 else 5-13
+
+}
+
+FUNCTION {old.old.old.format.lab.names}
+{ 's := % 1 s = top of stack
+ s num.names$ 'numnames := % 2 numnames = num names in s
+
+ numnames #1 = % 3 is numnames == 1
+ { s #1 "{vv }{ll}" format.name$ } % 4 format 1 name
+ { numnames #2 = % 5 is numnames == 2
+ { s #1 "{vv }{ll }and " format.name$ s #2 "{vv }{ll}" format.name$ *
+ }
+ % 6 format 2 names
+ { s #1 "{vv }{ll }\bgroup \em et al.\egroup " format.name$ }
+ % 7 format many names
+ if$ % 8 if (5) then 6 else 7
+ } % 9 close 5
+ if$ % 10 if 3 is true then 4 else 5-9
+
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+
+ { cite$ #1 #3 substring$ }
+
+ { key }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+
+ { cite$ #1 #3 substring$ }
+
+ { key }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+
+ { cite$ #1 #3 substring$ }
+
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+
+ { cite$ #1 #3 substring$ }
+
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+
+ "\protect\citeauthoryear{" swap$ * "}{" *
+ year field.or.null purify$ * % CHANGED - pfps - 15 Feb 1989
+ 'label :=
+ year field.or.null purify$ *
+
+ sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+
+ t sortify *
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {old.sort.format.names.old}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+
+{
+ calc.label
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " " *
+ year field.or.null sortify *
+ " " *
+ title field.or.null
+ sort.format.title *
+
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * "}" * 'label := % CHANGED - pfps 15 Feb 1989
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+
+{ et.al.char.used
+ { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+ 'skip$
+ if$
+ preamble$ empty$
+
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+
+ "\begin{thebibliography}{}" write$ newline$
+
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+
diff --git a/biblio/bibtex/contrib/jphysiol/jphysiol.sty b/biblio/bibtex/contrib/jphysiol/jphysiol.sty
new file mode 100644
index 0000000000..e2ef194162
--- /dev/null
+++ b/biblio/bibtex/contrib/jphysiol/jphysiol.sty
@@ -0,0 +1,93 @@
+% This is a slightly modified version of the namedplus style, which fully conforms
+% with the Journal of Physiology citation style.
+% Last modified 2009 Jan 28 by Matthias Hennig (mhhennig@gmail.com)
+%
+% version = 1.00 of jphysiol.bst 2009 Jan 28
+%
+% Use the following citation macros:
+% \cite, \citeauthor, \citeyear, \citenoparens, and \citetext \citenoparens
+%
+% The references are created as a full list of authors (year) and then
+% the standard rest of the stuff, e.g:
+%
+% Hubel DH & Wiesel TN (1962). Receptive Fields, binocular interaction, and
+% functional architecture in the cat's visual cortex. J Physiol 160, 106-154.
+%
+% Koch C (1999). Biophysics of Computation: Information Processing in Single
+% Neurons. Oxford University Press.
+%
+% Ódor G (2004). Universality classes in nonequilibrium lattice systems.
+% Rev Mod Phys 76, 663-724.
+%
+% The journal/book title is in itaclics, and the journal volume in boldface,
+% as required. This has not been fully checked, let me know if you find errors.
+%
+%
+% This is a modified version of the namedplus style by:
+% -----------------------------------------------------
+% A. David Redish adr@nsma.arizona.edu
+% Post-doc http://www.cs.cmu.edu/~dredish
+% Neural Systems, Memory and Aging, Univ of AZ, Tucson AZ
+% -----------------------------------------------------
+%
+% The ``named'' bibliography style creates citations with labels like
+% \citeauthoryear{author-info}{year}
+% these labels are processed by the following commands:
+% \cite{key}
+% which produces citations with both author and year,
+% enclosed in parens.
+% \shortcite{key}
+% which produces citations with year only,
+% enclosed in parens
+% \citeauthor{key}
+% which produces the author information only
+% \citeyear{key}
+% which produces the year information only
+% \citetext{key}
+% which produces Author (Year)
+% \citenoparens{key}
+% which produces Author, Year
+
+\def\@biblabel#1{}
+
+\let\@internalcite\cite
+
+\def\cite{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{(\nobreak\hskip 0in{##1\if@tempswa , ##2\fi})}%
+ \def\citeauthoryear##1##2{##1, ##2}\@internalcite}
+
+\def\citetext{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{\nobreak\hskip 0in{##1\if@tempswa , ##2\fi}}%
+ \def\citeauthoryear##1##2{##1~(##2)}\@internalcite}
+
+\def\citenoparens{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{\nobreak\hskip 0in{##1\if@tempswa , ##2\fi}}%
+ \def\citeauthoryear##1##2{##1, ##2}\@internalcite}
+
+\def\shortcite{\def\@citeseppen{1000}%
+ \def\@cite##1##2{({##1\if@tempswa , ##2\fi})}%
+ \def\citeauthoryear##1##2{##2}\@internalcite}
+
+\def\citeauthor#1{\def\@cite##1##2{{##1\if@tempswa , ##2\fi}}%
+ \def\citeauthoryear##1##2{##1}\@citedata{#1}}
+
+\def\citeyear#1{\def\@cite##1##2{{##1\if@tempswa , ##2\fi}}%
+ \def\citeauthoryear##1##2{##2}\@citedata{#1}}
+
+\def\@citedata#1{\@tempswafalse%
+ \if@filesw\immediate\write\@auxout{\string\citation{#1}}\fi
+ \def\@citea{}\@cite{\@for\@citeb:=#1\do
+ {\@citea\def\@citea{;\penalty\@citeseppen\ }\@ifundefined
+ {b@\@citeb}{{\bf ?}\@warning
+ {Citation `\@citeb' on page \thepage \space undefined}}%
+{\csname b@\@citeb\endcsname}}}{}}
+
+% don't box citations, separate with ; and a space
+% also, make the penalty between citations negative: a good place to break
+\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
+ \def\@citea{}\@cite{\@for\@citeb:=#2\do
+ {\@citea\def\@citea{;\penalty\@citeseppen\ }\@ifundefined
+ {b@\@citeb}{{\bf ?}\@warning
+ {Citation `\@citeb' on page \thepage \space undefined}}%
+{\csname b@\@citeb\endcsname}}}{#1}}
+
diff --git a/biblio/bibtex/contrib/ksfh_nat/ksfh_nat.bst b/biblio/bibtex/contrib/ksfh_nat/ksfh_nat.bst
new file mode 100644
index 0000000000..ec2dc5c2fa
--- /dev/null
+++ b/biblio/bibtex/contrib/ksfh_nat/ksfh_nat.bst
@@ -0,0 +1,1277 @@
+%%%
+%%% This ksfh_nat.bst file is for proper format
+%%% for KSFH Munich standard.
+%%%
+% Copyright 2011, Matthias Bilger
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either
+% version 1.3 of this license or (at your option) any
+% later version.
+% The latest version of the license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of
+% LaTeX version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Matthias Bilger,
+% <matthias@bilger.info>
+%
+% Version 1.1 2011/12/06
+%
+%%%
+
+%% Types of entries currently allowed in a BibTeX file:
+%%
+%% ARTICLE -- An article from a journal or magazine.
+%%
+%% BOOK -- A book with an explicit publisher.
+%%
+%% INBOOK -- A part of a book,
+%% which may be a chapter (or section or whatever) and/or a range of pages.
+%%
+%% INCOLLECTION -- A part of a book having its own title.
+%%
+%% MISC -- Use this type when nothing else fits.
+%%
+
+
+ENTRY
+ {
+ abstract
+ address
+ author
+ booktitle
+ edition
+ editor
+ howpublished
+ note
+ number
+ pages
+ publisher
+ title
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output.nonnull.nostate}
+{ 's :=
+ output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ 'write$
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+INTEGERS { nameptr namesleft numnames posothers showetal myint }
+
+FUNCTION {format.full.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames #4 >
+ {
+ s nameptr
+ "{vv~}{ll}" format.name$
+ " u.a." *
+ }
+ {
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { " / " * t * }
+ { t "others" =
+ { " u.a. " * }
+ { " / " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ }
+ if$
+}
+
+FUNCTION {create.bibitem.names }
+{
+ type$ "misc" =
+ { author format.full.names }
+ 'skip$
+ if$
+
+ type$ "article" =
+ { author format.full.names }
+ 'skip$
+ if$
+
+ type$ "book" =
+ { author format.full.names }
+ 'skip$
+ if$
+
+ type$ "incollection" =
+ { author format.full.names }
+ 'skip$
+ if$
+
+}
+
+FUNCTION {format.bibitem.first.name}
+{ #1 'nameptr :=
+ nameptr
+ "{vv~}{ll}" format.name$
+ author num.names$ #1 >
+ { " u.a." * }
+ 'skip$
+ if$
+}
+
+FUNCTION {create.bibitem.first.name}
+{
+ type$ "misc" =
+ { author format.bibitem.first.name }
+ 'skip$
+ if$
+
+ type$ "article" =
+ { author format.bibitem.first.name }
+ 'skip$
+ if$
+
+ type$ "book" =
+ { author format.bibitem.first.name }
+ 'skip$
+ if$
+
+ type$ "incollection" =
+ { author format.bibitem.first.name }
+ 'skip$
+ if$
+}
+
+FUNCTION {create.bibitem.year}
+{
+ year
+ "(" swap$ * ")" *
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ create.bibitem.first.name
+ write$
+ create.bibitem.year
+ write$
+ create.bibitem.names
+ write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+FUNCTION {add.colon}
+{ duplicate$ empty$
+ 'skip$
+ { ":" * add.blank }
+ if$
+}
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {bolden}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textbf{" swap$ * "}" * }
+ if$
+}
+FUNCTION {italize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textit{" swap$ * "}" * }
+ if$
+}
+FUNCTION {scaps}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textsc{" swap$ * "}" * }
+ if$
+}
+FUNCTION {anglequote}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<<" swap$ * ">>" * }
+ if$
+}
+FUNCTION {singlequote}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "'{}" swap$ * "'{}" * }
+ if$
+}
+FUNCTION {doublequote}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "``{}" swap$ * "''{}" * }
+ if$
+}
+FUNCTION {format.names.author}
+{
+ 's :=
+
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+
+ numnames 'namesleft :=
+ #0 'posothers :=
+ { namesleft #0 > }
+ { s nameptr "{ll{ }}{, ff{ }}{ vv }" format.name$ 't :=
+ t "others" =
+ { nameptr 'posothers := }
+ 'skip$
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+
+ #0 'showetal :=
+
+ numnames #8 >
+ { #1 'numnames :=
+ #1 'showetal :=
+ }
+ { numnames #8 =
+ { posothers #0 >
+ { #1 'showetal :=
+ #1 'numnames :=
+ }
+ 'skip$
+ if$
+ }
+ { posothers #0 >
+ { #1 'showetal :=
+ #1 'numnames -
+ }
+ 'skip$
+ if$
+ }
+ if$
+ }
+ if$
+
+ #1 'nameptr :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ll{ }}{, ff{ }}{ vv }" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { " / " * t * }
+ { showetal #0 >
+ { " / " * t * }
+ { " / " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+
+ showetal #0 >
+ { " u.a." * }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.names.editor}
+{
+ 's :=
+
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+
+ numnames 'namesleft :=
+ #0 'posothers :=
+ { namesleft #0 > }
+ { s nameptr "{ll{ }}{, ff{ }}{vv}" format.name$ 't :=
+ t "others" =
+ { nameptr 'posothers := }
+ 'skip$
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+
+ #0 'showetal :=
+
+ numnames #8 >
+ { #1 'numnames :=
+ #1 'showetal :=
+ }
+ { numnames #8 =
+ { posothers #0 >
+ { #1 'showetal :=
+ #1 'numnames :=
+ }
+ 'skip$
+ if$
+ }
+ { posothers #0 >
+ { #1 'showetal :=
+ #1 'numnames -
+ }
+ 'skip$
+ if$
+ }
+ if$
+ }
+ if$
+
+ #1 'nameptr :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ll{ }}{, ff{ }}{vv}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { " / " * t * }
+ { showetal #0 >
+ { ", " * t * }
+ { " / " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+
+ showetal #0 >
+ { " u.a." * }
+ 'skip$
+ if$
+}
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.title.short}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ #1 #3 substring$
+}
+FUNCTION {format.misc.author}
+{ author
+ duplicate$ empty$ 'skip$
+ { format.names.author }
+ if$
+ "author" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+}
+FUNCTION {format.misc.year}
+{ year
+ "year" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+}
+FUNCTION {format.misc.title}
+{ title
+ "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ italize
+ }
+ if$
+}
+FUNCTION {format.misc.howpublished}
+{ howpublished
+ "howpublished" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+}
+FUNCTION {format.misc.note}
+{ note
+ "note" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+}
+FUNCTION {misc}
+{ output.bibitem
+ author empty$
+ 'skip$
+ { format.misc.author
+ output.nonnull.nostate
+ }
+ if$
+ new.block
+ year empty$
+ 'skip$
+ { " ("
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+output.nonnull.nostate format.misc.year
+ output.nonnull.nostate
+ "):"
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+output.nonnull.nostate }
+ if$
+ new.block
+ title empty$
+ 'skip$
+ { format.misc.title
+ output.nonnull.nostate
+ newline$ "\newline "
+ output.nonnull.nostate
+ }
+ if$
+ new.block
+ howpublished empty$
+ 'skip$
+ { format.misc.howpublished
+ output.nonnull.nostate
+ }
+ if$
+ new.block
+ note empty$
+ 'skip$
+ { ", "
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+output.nonnull.nostate format.misc.note
+ output.nonnull.nostate
+ }
+ if$
+ new.block
+ fin.entry
+}
+FUNCTION {format.article.author}
+{ author
+ duplicate$ empty$ 'skip$
+ { format.names.author }
+ if$
+ "author" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+}
+FUNCTION {format.article.year}
+{ year
+ "year" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+}
+FUNCTION {format.article.title}
+{ title
+ "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ italize
+ }
+ if$
+}
+FUNCTION {format.article.booktitle}
+{ booktitle
+ "booktitle" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+}
+FUNCTION {format.article.number}
+{ number
+ "number" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+}
+FUNCTION {format.article.pages}
+{ pages
+ "pages" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+}
+FUNCTION {article}
+{ output.bibitem
+ author empty$
+ 'skip$
+ { format.article.author
+ output.nonnull.nostate
+ }
+ if$
+ new.block
+ year empty$
+ 'skip$
+ { "("
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+output.nonnull.nostate format.article.year
+ output.nonnull.nostate
+ "): "
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+output.nonnull.nostate }
+ if$
+ new.block
+ title empty$
+ 'skip$
+ { format.article.title
+ output.nonnull.nostate
+ }
+ if$
+ new.block
+ booktitle empty$
+ 'skip$
+ { "In: "
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+output.nonnull.nostate format.article.booktitle
+ output.nonnull.nostate
+ }
+ if$
+ new.block
+ number empty$
+ 'skip$
+ { ", "
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+output.nonnull.nostate format.article.number
+ output.nonnull.nostate
+ ": "
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+output.nonnull.nostate }
+ if$
+ new.block
+ pages empty$
+ 'skip$
+ { format.article.pages
+ output.nonnull.nostate
+ }
+ if$
+ new.block
+ fin.entry
+}
+FUNCTION {format.book.author}
+{ author
+ duplicate$ empty$ 'skip$
+ { format.names.author }
+ if$
+ "author" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+}
+FUNCTION {format.book.year}
+{ year
+ "year" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+}
+FUNCTION {format.book.title}
+{ title
+ "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ italize
+ }
+ if$
+}
+FUNCTION {format.book.address}
+{ address
+ "address" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+}
+FUNCTION {format.book.publisher}
+{ publisher
+ "publisher" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+}
+FUNCTION {format.book.edition}
+{ edition
+ "edition" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+}
+FUNCTION {format.book.pages}
+{ pages
+ "pages" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ 'skip$
+ { format.book.author
+ output.nonnull.nostate
+ " "
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+output.nonnull.nostate }
+ if$
+ new.block
+ year empty$
+ 'skip$
+ { " ("
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+output.nonnull.nostate format.book.year
+ output.nonnull.nostate
+ "): "
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+output.nonnull.nostate }
+ if$
+ new.block
+ title empty$
+ 'skip$
+ { format.book.title
+ output.nonnull.nostate
+ ". "
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+output.nonnull.nostate }
+ if$
+ new.block
+ address empty$
+ 'skip$
+ { format.book.address
+ output.nonnull.nostate
+ }
+ if$
+ new.block
+ publisher empty$
+ 'skip$
+ { ", "
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+output.nonnull.nostate format.book.publisher
+ output.nonnull.nostate
+ }
+ if$
+ new.block
+ edition empty$
+ 'skip$
+ { ", "
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+output.nonnull.nostate format.book.edition
+ output.nonnull.nostate
+ " Auflage"
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+output.nonnull.nostate }
+ if$
+ new.block
+ pages empty$
+ 'skip$
+ { ": "
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+output.nonnull.nostate format.book.pages
+ output.nonnull.nostate
+ }
+ if$
+ new.block
+ fin.entry
+}
+FUNCTION {format.incollection.author}
+{ author
+ duplicate$ empty$ 'skip$
+ { format.names.author }
+ if$
+ "author" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+}
+FUNCTION {format.incollection.year}
+{ year
+ "year" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+}
+FUNCTION {format.incollection.title}
+{ title
+ "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ italize
+ }
+ if$
+}
+FUNCTION {format.incollection.editor}
+{ editor
+ duplicate$ empty$ 'skip$
+ { format.names.editor }
+ if$
+ "editor" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+}
+FUNCTION {format.incollection.booktitle}
+{ booktitle
+ "booktitle" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+}
+FUNCTION {format.incollection.address}
+{ address
+ "address" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+}
+FUNCTION {format.incollection.publisher}
+{ publisher
+ "publisher" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+}
+FUNCTION {format.incollection.pages}
+{ pages
+ "pages" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+}
+FUNCTION {incollection}
+{ output.bibitem
+ author empty$
+ 'skip$
+ { format.incollection.author
+ output.nonnull.nostate
+ " "
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+output.nonnull.nostate }
+ if$
+ new.block
+ year empty$
+ 'skip$
+ { " ("
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+output.nonnull.nostate format.incollection.year
+ output.nonnull.nostate
+ "): "
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+output.nonnull.nostate }
+ if$
+ new.block
+ title empty$
+ 'skip$
+ { format.incollection.title
+ output.nonnull.nostate
+ ". "
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+output.nonnull.nostate }
+ if$
+ new.block
+ editor empty$
+ 'skip$
+ { "In: "
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+output.nonnull.nostate format.incollection.editor
+ output.nonnull.nostate
+ " (Hg.), "
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+output.nonnull.nostate }
+ if$
+ new.block
+ booktitle empty$
+ 'skip$
+ { format.incollection.booktitle
+ output.nonnull.nostate
+ "."
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+output.nonnull.nostate }
+ if$
+ new.block
+ address empty$
+ 'skip$
+ { " "
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+output.nonnull.nostate format.incollection.address
+ output.nonnull.nostate
+ }
+ if$
+ new.block
+ publisher empty$
+ 'skip$
+ { format.incollection.publisher
+ output.nonnull.nostate
+ }
+ if$
+ new.block
+ pages empty$
+ 'skip$
+ { ": "
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+output.nonnull.nostate format.incollection.pages
+ output.nonnull.nostate
+ }
+ if$
+ new.block
+ fin.entry
+}
+READ
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #8 >
+ { #7 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ { s nameptr "{vv{}}{ll{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{vv{}}{ll{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ 'skip$
+ if$
+ }
+ { s #1 "{vv{}}{ll{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+FUNCTION {author.year.label}
+{ author empty$
+ { year empty$
+ {cite$ #1 #3 substring$ }
+ {year format.title.short }
+ if$
+ }
+ { author format.lab.names }
+ if$
+ duplicate$
+ " " author " " sort.label * * * * warning$
+}
+FUNCTION {calc.label}
+{ type$ "misc" =
+ 'author.year.label
+ 'skip$
+ if$
+ type$ "book" =
+ 'author.year.label
+ 'skip$
+ if$
+ type$ "incollection" =
+ 'author.year.label
+ 'skip$
+ if$
+ duplicate$
+ year field.or.null purify$ #-1 #2 substring$
+ *
+ 'label :=
+ year field.or.null purify$ #1 #4 substring$
+ *
+ sortify 'sort.label :=
+ " " sort.label * warning$
+}
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "u.a." *}
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+FUNCTION {author.year.sort}
+{ author empty$
+ { year empty$
+ { "to sort, need author, oryear in " cite$ * warning$
+ ""
+}
+ {year format.title.short sortify } if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "misc" =
+ 'author.year.sort
+ 'skip$
+ if$
+ type$ "book" =
+ 'author.year.sort
+ 'skip$
+ if$
+ type$ "incollection" =
+ 'author.year.sort
+ 'skip$
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num number.label }
+
+FUNCTION { initialize.longest.label }
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{ et.al.char.used
+ { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+ 'skip$
+ if$
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" * write$ newline$
+ "\providecommand{\natexlab}[1]{#1}" write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}EXECUTE {end.bib} \ No newline at end of file
diff --git a/biblio/bibtex/contrib/misc/IEEEannot.bst b/biblio/bibtex/contrib/misc/IEEEannot.bst
new file mode 100644
index 0000000000..1994d459b3
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/IEEEannot.bst
@@ -0,0 +1,2626 @@
+%%
+%% IEEEannot.bst
+%% BibTeX Bibliography Style file
+%% Sorting version of IEEEtran.bst
+%% *** Not for use with work to be submitted to the IEEE ***
+%% Version 1.11 (2003/04/02)
+%%
+%% Copyright (c) 2003 Michael Shell
+%%
+%% Modified by Titus Barik (titus@barik.net) to support annotated
+%% bibliographies in IEEE citation format. Renamed to IEEEannot.bst.
+%% The latest version of IEEEannot can always be downloaded at:
+%%
+%% http://www.barik.net/sw/ieee/
+%%
+%% This version of IEEEannot is: 2004-15-02
+%%
+%% Original starting code base and algorithms obtained from the output of
+%% Patrick W. Daly's makebst package as well as from prior versions of
+%% IEEE BibTeX styles:
+%%
+%% 1. Howard Trickey and Oren Patashnik's ieeetr.bst (1985/1988)
+%% 2. Silvano Balemi and Richard H. Roy's IEEEbib.bst (1993)
+%%
+%% Added sorting code is from plain.bst.
+%%
+%% See:
+%% http://www.ctan.org/tex-archive/macros/latex/contrib/supported/IEEEtran/
+%% for latest version and current contact information.
+%%
+%% For use with BibTeX version 0.99a or later
+%%
+%% This is a numerical citation style.
+%%
+%%**********************************************************************
+%% Legal Notice:
+%% This code is offered as-is without any warranty either expressed or
+%% implied; without even the implied warranty of MERCHANTABILITY or
+%% FITNESS FOR A PARTICULAR PURPOSE!
+%% User assumes all risk.
+%% In no event shall IEEE or any contributor to this code be liable for
+%% any damages or losses, including, but not limited to, incidental,
+%% consequential, or any other damages, resulting from the use or misuse
+%% of any information contained here.
+%%
+%% This code is distributed under the Perl Artistic License
+%% ( http://language.perl.com/misc/Artistic.html )
+%% and may be freely used, distributed and modified - subject to the
+%% constraints therein.
+%% Retain all contribution notices, credits and disclaimers.
+%%
+%% All comments are the opinions of their respective authors and are not
+%% necessarily endorsed by the IEEE.
+%%**********************************************************************
+%
+%
+% Changelog:
+%
+% 1.10 (2002/09/27) Initial release
+%
+% 1.11 (2003/04/02)
+% 1. Fixed bug with URLs containing underscores when using url.sty. Thanks
+% to Ming Kin Lai for reporting this.
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% DEFAULTS FOR THE CONTROLS OF THE BST STYLE %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% These are the defaults for the user adjustable controls. The values used
+% here can be overridden by the user via IEEEtranBSTCTL entry type.
+
+% NOTE: The recommended LaTeX command to invoke a control entry type is:
+%
+%\makeatletter
+%\def\bstctlcite#1{\@bsphack
+% \@for\@citeb:=#1\do{%
+% \edef\@citeb{\expandafter\@firstofone\@citeb}%
+% \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi}%
+% \@esphack}
+%\makeatother
+%
+% It is called at the start of the document, before the first \cite, like:
+% \bstctlcite{IEEEexample:BSTcontrol}
+%
+% IEEEtran.cls V1.6 and later does provide this command.
+
+
+
+% #0 turns off the display of the number for articles.
+% #1 enables
+FUNCTION {default.is.use.number.for.article} { #1 }
+
+
+% #0 turns off the display of the paper and type fields in @inproceedings.
+% #1 enables
+FUNCTION {default.is.use.paper} { #1 }
+
+
+% #0 turns off the forced use of "et al."
+% #1 enables
+FUNCTION {default.is.forced.et.al} { #0 }
+
+% The maximum number of names that can be present beyond which an "et al."
+% usage is forced. Be sure that num.names.shown.with.forced.et.al (below)
+% is not greater than this value!
+% Note: There are many instances of references in IEEE journals which have
+% a very large number of authors as well as instances in which "et al." is
+% used profusely.
+FUNCTION {default.max.num.names.before.forced.et.al} { #10 }
+
+% The number of names that will be shown with a forced "et al.".
+% Must be less than or equal to max.num.names.before.forced.et.al
+FUNCTION {default.num.names.shown.with.forced.et.al} { #1 }
+
+
+% #0 turns off the alternate interword spacing for entries with URLs.
+% #1 enables
+FUNCTION {default.is.use.alt.interword.spacing} { #1 }
+
+% If alternate interword spacing for entries with URLs is enabled, this is
+% the interword spacing stretch factor that will be used. For example, the
+% default "4" here means that the interword spacing in entries with URLs can
+% stretch to four times normal. Does not have to be an integer. Note that
+% the value specified here can be overridden by the user in their LaTeX
+% code via a command such as:
+% "\providecommand\BIBentryALTinterwordstretchfactor{1.5}" in addition to
+% that via the IEEEtranBSTCTL entry type.
+FUNCTION {default.ALTinterwordstretchfactor} { "4" }
+
+
+% #0 turns off the "dashification" of repeated (i.e., identical to those
+% of the previous entry) names. IEEE normally does this.
+% #1 enables
+FUNCTION {default.is.dash.repeated.names} { #1 }
+
+
+% The default name format control string.
+FUNCTION {default.name.format.string}{ "{f.~}{vv~}{ll}{, jj}" }
+
+
+% The default LaTeX font command for the names.
+FUNCTION {default.name.latex.cmd}{ "" }
+
+
+% Other controls that cannot be accessed via IEEEtranBSTCTL entry type.
+
+% #0 turns off the terminal startup banner/completed message so as to
+% operate more quietly.
+% #1 enables
+FUNCTION {is.print.banners.to.terminal} { #1 }
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% FILE VERSION AND BANNER %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION{bst.file.version} { "1.11" }
+FUNCTION{bst.file.date} { "2003/04/02" }
+FUNCTION{bst.file.website} { "http://www.ctan.org/tex-archive/macros/latex/contrib/supported/IEEEtran/" }
+
+FUNCTION {banner.message}
+{ is.print.banners.to.terminal
+ { "-- IEEEtranS.bst version" " " * bst.file.version *
+ " (" * bst.file.date * ") " * "by Michael Shell." *
+ top$
+ "-- " bst.file.website *
+ top$
+ "-- See the " quote$ * "IEEEtran_bst_HOWTO.pdf" * quote$ * " manual for usage information." *
+ top$
+ "** Sorting version - not for use with work to be submitted to the IEEE."
+ top$
+ }
+ { skip$ }
+ if$
+}
+
+FUNCTION {completed.message}
+{ is.print.banners.to.terminal
+ { ""
+ top$
+ "Done."
+ top$
+ }
+ { skip$ }
+ if$
+}
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%
+%% STRING CONSTANTS %%
+%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION {bbl.and}{ "and" }
+FUNCTION {bbl.etal}{ "et~al." }
+FUNCTION {bbl.editors}{ "eds." }
+FUNCTION {bbl.editor}{ "ed." }
+FUNCTION {bbl.edition}{ "ed." }
+FUNCTION {bbl.volume}{ "vol." }
+FUNCTION {bbl.of}{ "of" }
+FUNCTION {bbl.number}{ "no." }
+FUNCTION {bbl.in}{ "in" }
+FUNCTION {bbl.pages}{ "pp." }
+FUNCTION {bbl.page}{ "p." }
+FUNCTION {bbl.chapter}{ "ch." }
+FUNCTION {bbl.paper}{ "paper" }
+FUNCTION {bbl.part}{ "pt." }
+FUNCTION {bbl.patent}{ "Patent" }
+FUNCTION {bbl.patentUS}{ "U.S." }
+FUNCTION {bbl.revision}{ "Rev." }
+FUNCTION {bbl.series}{ "ser." }
+FUNCTION {bbl.standard}{ "Std." }
+FUNCTION {bbl.techrep}{ "Tech. Rep." }
+FUNCTION {bbl.mthesis}{ "Master's thesis" }
+FUNCTION {bbl.phdthesis}{ "Ph.D. dissertation" }
+FUNCTION {bbl.urlprefix}{ "[Online]. Available:" }
+FUNCTION {bbl.st}{ "st" }
+FUNCTION {bbl.nd}{ "nd" }
+FUNCTION {bbl.rd}{ "rd" }
+FUNCTION {bbl.th}{ "th" }
+
+
+% This is the LaTeX spacer that is used when a larger than normal space
+% is called for (such as just before the address:publisher).
+FUNCTION {large.space} { "\hskip 1em plus 0.5em minus 0.4em\relax " }
+
+% The LaTeX code for dashes that are used to represent repeated names.
+% Note: Some older IEEE journals used something like
+% "\rule{0.275in}{0.5pt}\," which is fairly thick and runs right along
+% the baseline. However, IEEE now uses a thinner, above baseline,
+% six dash long sequence.
+FUNCTION {repeated.name.dashes} { "------" }
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% PREDEFINED STRING MACROS %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+MACRO {jan} {"Jan."}
+MACRO {feb} {"Feb."}
+MACRO {mar} {"Mar."}
+MACRO {apr} {"Apr."}
+MACRO {may} {"May"}
+MACRO {jun} {"June"}
+MACRO {jul} {"July"}
+MACRO {aug} {"Aug."}
+MACRO {sep} {"Sept."}
+MACRO {oct} {"Oct."}
+MACRO {nov} {"Nov."}
+MACRO {dec} {"Dec."}
+
+
+
+%%%%%%%%%%%%%%%%%%
+%% ENTRY FIELDS %%
+%%%%%%%%%%%%%%%%%%
+
+ENTRY
+ {
+ address
+ annote
+ assignee
+ author
+ booktitle
+ chapter
+ day
+ dayfiled
+ edition
+ editor
+ howpublished
+ institution
+ intype
+ journal
+ key
+ language
+ month
+ monthfiled
+ nationality
+ note
+ number
+ organization
+ pages
+ paper
+ publisher
+ school
+ series
+ revision
+ title
+ type
+ url
+ volume
+ year
+ yearfiled
+ CTLuse_article_number
+ CTLuse_paper
+ CTLuse_forced_etal
+ CTLmax_names_forced_etal
+ CTLnames_show_etal
+ CTLuse_alt_spacing
+ CTLalt_stretch_factor
+ CTLdash_repeated_names
+ CTLname_format_string
+ CTLname_latex_cmd
+ }
+ {}
+ { label }
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%
+%% INTEGER VARIABLES %%
+%%%%%%%%%%%%%%%%%%%%%%%
+
+INTEGERS { prev.status.punct this.status.punct punct.std
+ punct.no punct.comma punct.period
+ prev.status.space this.status.space space.std
+ space.no space.normal space.large
+ prev.status.quote this.status.quote quote.std
+ quote.no quote.close
+ prev.status.nline this.status.nline nline.std
+ nline.no nline.newblock
+ status.cap cap.std
+ cap.no cap.yes}
+
+INTEGERS { longest.label.width multiresult nameptr namesleft number.label numnames }
+
+INTEGERS { is.use.number.for.article
+ is.use.paper
+ is.forced.et.al
+ max.num.names.before.forced.et.al
+ num.names.shown.with.forced.et.al
+ is.use.alt.interword.spacing
+ is.dash.repeated.names}
+
+
+%%%%%%%%%%%%%%%%%%%%%%
+%% STRING VARIABLES %%
+%%%%%%%%%%%%%%%%%%%%%%
+
+STRINGS { bibinfo
+ longest.label
+ oldname
+ s
+ t
+ ALTinterwordstretchfactor
+ name.format.string
+ name.latex.cmd}
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%
+%% LOW LEVEL FUNCTIONS %%
+%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION {initialize.controls}
+{ default.is.use.number.for.article 'is.use.number.for.article :=
+ default.is.use.paper 'is.use.paper :=
+ default.is.forced.et.al 'is.forced.et.al :=
+ default.max.num.names.before.forced.et.al 'max.num.names.before.forced.et.al :=
+ default.num.names.shown.with.forced.et.al 'num.names.shown.with.forced.et.al :=
+ default.is.use.alt.interword.spacing 'is.use.alt.interword.spacing :=
+ default.is.dash.repeated.names 'is.dash.repeated.names :=
+ default.ALTinterwordstretchfactor 'ALTinterwordstretchfactor :=
+ default.name.format.string 'name.format.string :=
+ default.name.latex.cmd 'name.latex.cmd :=
+}
+
+
+% This IEEEtran.bst features a very powerful and flexible mechanism for
+% controlling the capitalization, punctuation, spacing, quotation, and
+% newlines of the formatted entry fields. (Note: IEEEtran.bst does not need
+% or use the newline/newblock feature, but it has been implemented for
+% possible future use.) The output states of IEEEtran.bst consist of
+% multiple independent attributes and, as such, can be thought of as being
+% vectors, rather than the simple scalar values ("before.all",
+% "mid.sentence", etc.) used in most other .bst files.
+%
+% The more flexible and complex design used here was motivated in part by
+% IEEE's rather unusual bibliography style. For example, IEEE ends the
+% previous field item with a period and large space prior to the publisher
+% address; the @electronic entry types use periods as inter-item punctuation
+% rather than the commas used by the other entry types; and URLs are never
+% followed by periods even though they are the last item in the entry.
+% Although it is possible to accommodate these features with the conventional
+% output state system, the seemingly endless exceptions make for convoluted,
+% unreliable and difficult to maintain code.
+%
+% IEEEtran.bst's output state system can be easily understood via a simple
+% illustration of two most recently formatted entry fields (on the stack):
+%
+% CURRENT_ITEM
+% "PREVIOUS_ITEM
+%
+% which, in this example, is to eventually appear in the bibliography as:
+%
+% "PREVIOUS_ITEM," CURRENT_ITEM
+%
+% It is the job of the output routine to take the previous item off of the
+% stack (while leaving the current item at the top of the stack), apply its
+% trailing punctuation (including closing quote marks) and spacing, and then
+% to write the result to BibTeX's output buffer:
+%
+% "PREVIOUS_ITEM,"
+%
+% Punctuation (and spacing) between items is often determined by both of the
+% items rather than just the first one. The presence of quotation marks
+% further complicates the situation because, in standard English, trailing
+% punctuation marks are supposed to be contained within the quotes.
+%
+% IEEEtran.bst maintains two output state (aka "status") vectors which
+% correspond to the previous and current (aka "this") items. Each vector
+% consists of several independent attributes which track punctuation,
+% spacing, quotation, and newlines. Capitalization status is handled by a
+% separate scalar because the format routines, not the output routine,
+% handle capitalization and, therefore, there is no need to maintain the
+% capitalization attribute for both the "previous" and "this" items.
+%
+% When a format routine adds a new item, it copies the current output status
+% vector to the previous output status vector and (usually) resets the
+% current (this) output status vector to a "standard status" vector. Using a
+% "standard status" vector in this way allows us to redefine what we mean by
+% "standard status" at the start of each entry handler and reuse the same
+% format routines under the various inter-item separation schemes. For
+% example, the standard status vector for the @book entry type may use
+% commas for item separators, while the @electronic type may use periods,
+% yet both entry handlers exploit many of the exact same format routines.
+%
+% Because format routines have write access to the output status vector of
+% the previous item, they can override the punctuation choices of the
+% previous format routine! Therefore, it becomes trivial to implement rules
+% such as "Always use a period and a large space before the publisher." By
+% pushing the generation of the closing quote mark to the output routine, we
+% avoid all the problems caused by having to close a quote before having all
+% the information required to determine what the punctuation should be.
+%
+% The IEEEtran.bst output state system can easily be expanded if needed.
+% For instance, it is easy to add a "space.tie" attribute value if the
+% bibliography rules mandate that two items have to be joined with an
+% unbreakable space.
+
+% Titus Barik Annotation Addition
+
+% annotation addition
+FUNCTION {format.annotate}
+{ annote empty$
+ { "" }
+ { " \begin{quotation}\noindent "
+ annote
+ * " \end{quotation} " *
+ }
+ if$
+}
+
+
+FUNCTION {initialize.status.constants}
+{ #0 'punct.no :=
+ #1 'punct.comma :=
+ #2 'punct.period :=
+ #0 'space.no :=
+ #1 'space.normal :=
+ #2 'space.large :=
+ #0 'quote.no :=
+ #1 'quote.close :=
+ #0 'cap.no :=
+ #1 'cap.yes :=
+ #0 'nline.no :=
+ #1 'nline.newblock :=
+}
+
+FUNCTION {std.status.using.comma}
+{ punct.comma 'punct.std :=
+ space.normal 'space.std :=
+ quote.no 'quote.std :=
+ nline.no 'nline.std :=
+ cap.no 'cap.std :=
+}
+
+FUNCTION {std.status.using.period}
+{ punct.period 'punct.std :=
+ space.normal 'space.std :=
+ quote.no 'quote.std :=
+ nline.no 'nline.std :=
+ cap.yes 'cap.std :=
+}
+
+FUNCTION {initialize.prev.this.status}
+{ punct.no 'prev.status.punct :=
+ space.no 'prev.status.space :=
+ quote.no 'prev.status.quote :=
+ nline.no 'prev.status.nline :=
+ punct.no 'this.status.punct :=
+ space.no 'this.status.space :=
+ quote.no 'this.status.quote :=
+ nline.no 'this.status.nline :=
+ cap.yes 'status.cap :=
+}
+
+FUNCTION {this.status.std}
+{ punct.std 'this.status.punct :=
+ space.std 'this.status.space :=
+ quote.std 'this.status.quote :=
+ nline.std 'this.status.nline :=
+}
+
+FUNCTION {cap.status.std}{ cap.std 'status.cap := }
+
+FUNCTION {this.to.prev.status}
+{ this.status.punct 'prev.status.punct :=
+ this.status.space 'prev.status.space :=
+ this.status.quote 'prev.status.quote :=
+ this.status.nline 'prev.status.nline :=
+}
+
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ { skip$ }
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ { skip$ }
+ if$
+}
+
+
+% convert the strings "yes" or "no" to #1 or #0 respectively
+FUNCTION {yes.no.to.int}
+{ "l" change.case$ duplicate$
+ "yes" =
+ { pop$ #1 }
+ { duplicate$ "no" =
+ { pop$ #0 }
+ { "unknown boolean " quote$ * swap$ * quote$ *
+ " in " * cite$ * warning$
+ #0
+ }
+ if$
+ }
+ if$
+}
+
+
+% pushes true if the single char string on the stack is in the
+% range of "0" to "9"
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+% multiplies the integer on the stack by a factor of 10
+FUNCTION {bump.int.mag}
+{ #0 'multiresult :=
+ { duplicate$ #0 > }
+ { #1 -
+ multiresult #10 +
+ 'multiresult :=
+ }
+ while$
+pop$
+multiresult
+}
+
+% converts a single character string on the stack to an integer
+FUNCTION {char.to.integer}
+{ duplicate$
+ is.num
+ { chr.to.int$ "0" chr.to.int$ - }
+ {"noninteger character " quote$ * swap$ * quote$ *
+ " in integer field of " * cite$ * warning$
+ #0
+ }
+ if$
+}
+
+% converts a string on the stack to an integer
+FUNCTION {string.to.integer}
+{ duplicate$ text.length$ 'namesleft :=
+ #1 'nameptr :=
+ #0 'numnames :=
+ { nameptr namesleft > not }
+ { duplicate$ nameptr #1 substring$
+ char.to.integer numnames bump.int.mag +
+ 'numnames :=
+ nameptr #1 +
+ 'nameptr :=
+ }
+ while$
+pop$
+numnames
+}
+
+
+
+
+% The output routines write out the *next* to the top (previous) item on the
+% stack, adding punctuation and such as needed. Since IEEEtran.bst maintains
+% the output status for the top two items on the stack, these output
+% routines have to consider the previous output status (which corresponds to
+% the item that is being output). Full independent control of punctuation,
+% closing quote marks, spacing, and newblock is provided.
+%
+% "output.nonnull" does not check for the presence of a previous empty
+% item.
+%
+% "output" does check for the presence of a previous empty item and will
+% remove an empty item rather than outputing it.
+%
+% "output.warn" is like "output", but will issue a warning if it detects
+% an empty item.
+
+FUNCTION {output.nonnull}
+{ swap$
+ prev.status.punct punct.comma =
+ { "," * }
+ { skip$ }
+ if$
+ prev.status.punct punct.period =
+ { add.period$ }
+ { skip$ }
+ if$
+ prev.status.quote quote.close =
+ { "''" * }
+ { skip$ }
+ if$
+ prev.status.space space.normal =
+ { " " * }
+ { skip$ }
+ if$
+ prev.status.space space.large =
+ { large.space * }
+ { skip$ }
+ if$
+ write$
+ prev.status.nline nline.newblock =
+ { newline$ "\newblock " write$ }
+ { skip$ }
+ if$
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.warn}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+% "fin.entry" is the output routine that handles the last item of the entry
+% (which will be on the top of the stack when "fin.entry" is called).
+
+FUNCTION {fin.entry}
+{ this.status.punct punct.no =
+ { skip$ }
+ { add.period$ }
+ if$
+ this.status.quote quote.close =
+ { "''" * }
+ { skip$ }
+ if$
+write$
+newline$
+}
+
+
+FUNCTION {is.last.char.not.punct}
+{ duplicate$
+ "}" * add.period$
+ #-1 #1 substring$ "." =
+}
+
+FUNCTION {is.multiple.pages}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+
+ multiresult
+}
+
+FUNCTION {capitalize}{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+
+FUNCTION {do.name.latex.cmd}
+{ name.latex.cmd
+ empty$
+ { skip$ }
+ { name.latex.cmd "{" * swap$ * "}" * }
+ if$
+}
+
+% IEEEtran.bst uses its own \BIBforeignlanguage command which directly
+% invokes the TeX hyphenation patterns without the need of the Babel
+% package. Babel does a lot more than switch hyphenation patterns and
+% its loading can cause unintended effects in many class files (such as
+% IEEEtran.cls).
+FUNCTION {select.language}
+{ duplicate$ empty$ 'pop$
+ { language empty$ 'skip$
+ { "\BIBforeignlanguage{" language * "}{" * swap$ * "}" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {space.word}{ " " swap$ * " " * }
+
+
+% Field Conditioners, Converters, Checkers and External Interfaces
+
+FUNCTION {empty.field.to.null.string}
+{ duplicate$ empty$
+ { pop$ "" }
+ { skip$ }
+ if$
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ { pop$ }
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {empty.entry.warn}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$ url empty$
+ and and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+
+% The bibinfo system provides a way for the electronic parsing/acquisition
+% of a bibliography's contents as is done by ReVTeX. For example, a field
+% could be entered into the bibliography as:
+% \bibinfo{volume}{2}
+% Only the "2" would show up in the document, but the LaTeX \bibinfo command
+% could do additional things with the information. IEEEtran.bst does provide
+% a \bibinfo command via "\providecommand{\bibinfo}[2]{#2}". However, it is
+% currently not used as the bogus bibinfo functions defined here output the
+% entry values directly without the \bibinfo wrapper. The bibinfo functions
+% themselves (and the calls to them) are retained for possible future use.
+%
+% bibinfo.check avoids acting on missing fields while bibinfo.warn will
+% issue a warning message if a missing field is detected. Prior to calling
+% the bibinfo functions, the user should push the field value and then its
+% name string, in that order.
+
+FUNCTION {bibinfo.check}
+{ swap$ duplicate$ missing$
+ { pop$ pop$ "" }
+ { duplicate$ empty$
+ { swap$ pop$ }
+ { swap$ pop$ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {bibinfo.warn}
+{ swap$ duplicate$ missing$
+ { swap$ "missing " swap$ * " in " * cite$ * warning$ pop$ "" }
+ { duplicate$ empty$
+ { swap$ "empty " swap$ * " in " * cite$ * warning$ }
+ { swap$ pop$ }
+ if$
+ }
+ if$
+}
+
+
+% IEEE separates large numbers with more than 4 digits into groups of
+% three. IEEE uses a small space to separate these number groups.
+% Typical applications include patent and page numbers.
+
+% number of consecutive digits required to trigger the group separation.
+FUNCTION {large.number.trigger}{ #5 }
+
+% For numbers longer than the trigger, this is the blocksize of the groups.
+% The blocksize must be less than the trigger threshold, and 2 * blocksize
+% must be greater than the trigger threshold (can't do more than one
+% separation on the initial trigger).
+FUNCTION {large.number.blocksize}{ #3 }
+
+% What is actually inserted between the number groups.
+FUNCTION {large.number.separator}{ "\," }
+
+% So as to save on integer variables by reusing existing ones, numnames
+% holds the current number of consecutive digits read and nameptr holds
+% the number that will trigger an inserted space.
+FUNCTION {large.number.separate}
+{ 't :=
+ ""
+ #0 'numnames :=
+ large.number.trigger 'nameptr :=
+ { t empty$ not }
+ { t #-1 #1 substring$ is.num
+ { numnames #1 + 'numnames := }
+ { #0 'numnames :=
+ large.number.trigger 'nameptr :=
+ }
+ if$
+ t #-1 #1 substring$ swap$ *
+ t #-2 global.max$ substring$ 't :=
+ numnames nameptr =
+ { duplicate$ #1 nameptr large.number.blocksize - substring$ swap$
+ nameptr large.number.blocksize - #1 + global.max$ substring$
+ large.number.separator swap$ * *
+ nameptr large.number.blocksize - 'numnames :=
+ large.number.blocksize #1 + 'nameptr :=
+ }
+ { skip$ }
+ if$
+ }
+ while$
+}
+
+% Converts all single dashes "-" to double dashes "--".
+FUNCTION {n.dashify}
+{ large.number.separate
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+
+% This function detects entries with names that are identical to that of
+% the previous entry and replaces the repeated names with dashes (if the
+% "is.dash.repeated.names" user control is nonzero).
+FUNCTION {name.or.dash}
+{ 's :=
+ oldname empty$
+ { s 'oldname := s }
+ { s oldname =
+ { is.dash.repeated.names
+ { repeated.name.dashes }
+ { s 'oldname := s }
+ if$
+ }
+ { s 'oldname := s }
+ if$
+ }
+ if$
+}
+
+% Converts the number string on the top of the stack to
+% "numerical ordinal form" (e.g., "7" to "7th"). There is
+% no artificial limit to the upper bound of the numbers as the
+% least significant digit always determines the ordinal form.
+FUNCTION {num.to.ordinal}
+{ duplicate$ #-1 #1 substring$ "1" =
+ { bbl.st * }
+ { duplicate$ #-1 #1 substring$ "2" =
+ { bbl.nd * }
+ { duplicate$ #-1 #1 substring$ "3" =
+ { bbl.rd * }
+ { bbl.th * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+% If the string on the top of the stack begins with a number,
+% (e.g., 11th) then replace the string with the leading number
+% it contains. Otherwise retain the string as-is. s holds the
+% extracted number, t holds the part of the string that remains
+% to be scanned.
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+% Converts the word number string on the top of the stack to
+% Arabic string form. Will be successful up to "tenth".
+FUNCTION {word.to.num}
+{ duplicate$ "l" change.case$ 's :=
+ s "first" =
+ { pop$ "1" }
+ { skip$ }
+ if$
+ s "second" =
+ { pop$ "2" }
+ { skip$ }
+ if$
+ s "third" =
+ { pop$ "3" }
+ { skip$ }
+ if$
+ s "fourth" =
+ { pop$ "4" }
+ { skip$ }
+ if$
+ s "fifth" =
+ { pop$ "5" }
+ { skip$ }
+ if$
+ s "sixth" =
+ { pop$ "6" }
+ { skip$ }
+ if$
+ s "seventh" =
+ { pop$ "7" }
+ { skip$ }
+ if$
+ s "eighth" =
+ { pop$ "8" }
+ { skip$ }
+ if$
+ s "ninth" =
+ { pop$ "9" }
+ { skip$ }
+ if$
+ s "tenth" =
+ { pop$ "10" }
+ { skip$ }
+ if$
+}
+
+
+% Converts the string on the top of the stack to numerical
+% ordinal (e.g., "11th") form.
+FUNCTION {convert.edition}
+{ duplicate$ empty$ 'skip$
+ { duplicate$ #1 #1 substring$ is.num
+ { extract.num
+ num.to.ordinal
+ }
+ { word.to.num
+ duplicate$ #1 #1 substring$ is.num
+ { num.to.ordinal }
+ { "edition ordinal word " quote$ * edition * quote$ *
+ " may be too high (or improper) for conversion" * " in " * cite$ * warning$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% LATEX BIBLIOGRAPHY CODE %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION {start.entry}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ initialize.prev.this.status
+}
+
+% Here we write out all the LaTeX code that we will need. The most involved
+% code sequences are those that control the alternate interword spacing and
+% foreign language hyphenation patterns. The heavy use of \providecommand
+% gives users a way to override the defaults. Special thanks to Javier Bezos,
+% Johannes Braams, Robin Fairburns, Heiko Oberdiek, Donald Arseneau and all
+% the other gurus on comp.text.tex for their help and advice on the topic of
+% \selectlanguage, Babel and BibTeX.
+FUNCTION {begin.bib}
+{ preamble$ empty$ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" *
+ write$ newline$
+ "\providecommand{\url}[1]{#1}"
+ write$ newline$
+ "\csname url@rmstyle\endcsname"
+ write$ newline$
+ "\providecommand{\newblock}{\relax}"
+ write$ newline$
+ "\providecommand{\bibinfo}[2]{#2}"
+ write$ newline$
+ "\providecommand\BIBentrySTDinterwordspacing{\spaceskip=0pt\relax}"
+ write$ newline$
+ "\providecommand\BIBentryALTinterwordstretchfactor{"
+ ALTinterwordstretchfactor * "}" *
+ write$ newline$
+ "\providecommand\BIBentryALTinterwordspacing{\spaceskip=\fontdimen2\font plus "
+ write$ newline$
+ "\BIBentryALTinterwordstretchfactor\fontdimen3\font minus \fontdimen4\font\relax}"
+ write$ newline$
+ "\providecommand\BIBforeignlanguage[2]{{%"
+ write$ newline$
+ "\expandafter\ifx\csname l@#1\endcsname\relax"
+ write$ newline$
+ "\typeout{** WARNING: IEEEtran.bst: No hyphenation pattern has been}%"
+ write$ newline$
+ "\typeout{** loaded for the language `#1'. Using the pattern for}%"
+ write$ newline$
+ "\typeout{** the default language instead.}%"
+ write$ newline$
+ "\else"
+ write$ newline$
+ "\language=\csname l@#1\endcsname"
+ write$ newline$
+ "\fi"
+ write$ newline$
+ "#2}}"
+ write$ newline$
+}
+
+FUNCTION {end.bib}
+{ newline$ "\end{thebibliography}" write$ newline$ }
+
+FUNCTION {if.url.alt.interword.spacing}
+{ is.use.alt.interword.spacing
+ {url empty$ 'skip$ {"\BIBentryALTinterwordspacing" write$ newline$} if$}
+ { skip$ }
+ if$
+}
+
+FUNCTION {if.url.std.interword.spacing}
+{ is.use.alt.interword.spacing
+ {url empty$ 'skip$ {"\BIBentrySTDinterwordspacing" write$ newline$} if$}
+ { skip$ }
+ if$
+}
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%
+%% LONGEST LABEL PASS %%
+%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%
+%% FORMAT HANDLERS %%
+%%%%%%%%%%%%%%%%%%%%%
+
+%% Lower Level Formats (used by higher level formats)
+
+FUNCTION {format.address.org.or.pub.date}
+{ 't :=
+ ""
+ year empty$
+ { "empty year in " cite$ * warning$ }
+ { skip$ }
+ if$
+ address empty$ t empty$ and
+ year empty$ and month empty$ and
+ { skip$ }
+ { this.to.prev.status
+ this.status.std
+ cap.status.std
+ address "address" bibinfo.check *
+ t empty$
+ { skip$ }
+ { punct.period 'prev.status.punct :=
+ space.large 'prev.status.space :=
+ address empty$
+ { skip$ }
+ { ": " * }
+ if$
+ t *
+ }
+ if$
+ year empty$ month empty$ and
+ { skip$ }
+ { t empty$ address empty$ and
+ { skip$ }
+ { ", " * }
+ if$
+ month empty$
+ { year empty$
+ { skip$ }
+ { year "year" bibinfo.check * }
+ if$
+ }
+ { month "month" bibinfo.check *
+ year empty$
+ { skip$ }
+ { " " * year "year" bibinfo.check * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ this.to.prev.status
+ this.status.std
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ name.format.string
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ { nameptr num.names.shown.with.forced.et.al #1 + =
+ numnames max.num.names.before.forced.et.al >
+ is.forced.et.al and and
+ { "others" 't :=
+ #1 'namesleft :=
+ }
+ { skip$ }
+ if$
+ namesleft #1 >
+ { ", " * t do.name.latex.cmd * }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ {
+ bbl.and
+ space.word * t do.name.latex.cmd *
+ }
+ if$
+ }
+ if$
+ }
+ { t do.name.latex.cmd }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ cap.status.std
+ } if$
+}
+
+
+
+
+%% Higher Level Formats
+
+%% addresses/locations
+
+FUNCTION {format.address}
+{ address duplicate$ empty$ 'skip$
+ { this.to.prev.status
+ this.status.std
+ cap.status.std
+ }
+ if$
+}
+
+
+
+%% author/editor names
+
+FUNCTION {format.authors}{ author "author" format.names }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ { ", " *
+ get.bbl.editor
+ capitalize
+ *
+ }
+ if$
+}
+
+
+
+%% date
+
+FUNCTION {format.date}
+{
+ month "month" bibinfo.check duplicate$ empty$
+ year "year" bibinfo.check duplicate$ empty$
+ { swap$ 'skip$
+ { this.to.prev.status
+ this.status.std
+ cap.status.std
+ "there's a month but no year in " cite$ * warning$ }
+ if$
+ *
+ }
+ { this.to.prev.status
+ this.status.std
+ cap.status.std
+ swap$ 'skip$
+ {
+ swap$
+ " " * swap$
+ }
+ if$
+ *
+ }
+ if$
+}
+
+FUNCTION {format.date.electronic}
+{ month "month" bibinfo.check duplicate$ empty$
+ year "year" bibinfo.check duplicate$ empty$
+ { swap$
+ { pop$ }
+ { "there's a month but no year in " cite$ * warning$
+ pop$ ")" * "(" swap$ *
+ this.to.prev.status
+ punct.no 'this.status.punct :=
+ space.normal 'this.status.space :=
+ quote.no 'this.status.quote :=
+ cap.yes 'status.cap :=
+ }
+ if$
+ }
+ { swap$
+ { swap$ pop$ ")" * "(" swap$ * }
+ { "(" swap$ * ", " * swap$ * ")" * }
+ if$
+ this.to.prev.status
+ punct.no 'this.status.punct :=
+ space.normal 'this.status.space :=
+ quote.no 'this.status.quote :=
+ cap.yes 'status.cap :=
+ }
+ if$
+}
+
+
+
+%% edition/title
+
+% Note: IEEE considers the edition to be closely associated with
+% the title of a book. So, in IEEEtran.bst the edition is normally handled
+% within the formatting of the title. The format.edition function is
+% retained here for possible future use.
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ { this.to.prev.status
+ this.status.std
+ convert.edition
+ status.cap
+ { "t" }
+ { "l" }
+ if$ change.case$
+ "edition" bibinfo.check
+ "~" * bbl.edition *
+ cap.status.std
+ }
+ if$
+}
+
+% This is used to format the booktitle of a conference proceedings.
+% Here we use the "intype" field to provide the user a way to
+% override the word "in" (e.g., with things like "presented at")
+% Use of intype stops the emphasis of the booktitle to indicate that
+% we no longer mean the written conference proceedings, but the
+% conference itself.
+FUNCTION {format.in.booktitle}
+{ booktitle "booktitle" bibinfo.check duplicate$ empty$ 'skip$
+ { this.to.prev.status
+ this.status.std
+ select.language
+ intype missing$
+ { emphasize
+ bbl.in " " *
+ }
+ { intype " " * }
+ if$
+ swap$ *
+ cap.status.std
+ }
+ if$
+}
+
+% This is used to format the booktitle of collection.
+% Here the "intype" field is not supported, but "edition" is.
+FUNCTION {format.in.booktitle.edition}
+{ booktitle "booktitle" bibinfo.check duplicate$ empty$ 'skip$
+ { this.to.prev.status
+ this.status.std
+ select.language
+ emphasize
+ edition empty$ 'skip$
+ { ", " *
+ edition
+ convert.edition
+ "l" change.case$
+ * "~" * bbl.edition *
+ }
+ if$
+ bbl.in " " * swap$ *
+ cap.status.std
+ }
+ if$
+}
+
+FUNCTION {format.article.title}
+{ title duplicate$ empty$ 'skip$
+ { this.to.prev.status
+ this.status.std
+ "t" change.case$
+ }
+ if$
+ "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ { quote.close 'this.status.quote :=
+ is.last.char.not.punct
+ { punct.std 'this.status.punct := }
+ { punct.no 'this.status.punct := }
+ if$
+ select.language
+ "``" swap$ *
+ cap.status.std
+ }
+ if$
+}
+
+FUNCTION {format.article.title.electronic}
+{ title duplicate$ empty$ 'skip$
+ { this.to.prev.status
+ this.status.std
+ cap.status.std
+ "t" change.case$
+ }
+ if$
+ "title" bibinfo.check
+ duplicate$ empty$
+ { skip$ }
+ { select.language }
+ if$
+}
+
+FUNCTION {format.book.title.edition}
+{ title "title" bibinfo.check
+ duplicate$ empty$
+ { "empty title in " cite$ * warning$ }
+ { this.to.prev.status
+ this.status.std
+ select.language
+ emphasize
+ edition empty$ 'skip$
+ { ", " *
+ edition
+ convert.edition
+ status.cap
+ { "t" }
+ { "l" }
+ if$
+ change.case$
+ * "~" * bbl.edition *
+ }
+ if$
+ cap.status.std
+ }
+ if$
+}
+
+FUNCTION {format.book.title}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ { this.to.prev.status
+ this.status.std
+ cap.status.std
+ select.language
+ emphasize
+ }
+ if$
+}
+
+
+
+%% journal
+
+FUNCTION {format.journal}
+{ journal duplicate$ empty$ 'skip$
+ { this.to.prev.status
+ this.status.std
+ cap.status.std
+ select.language
+ emphasize
+ }
+ if$
+}
+
+
+
+%% how published
+
+FUNCTION {format.howpublished}
+{ howpublished duplicate$ empty$ 'skip$
+ { this.to.prev.status
+ this.status.std
+ cap.status.std
+ }
+ if$
+}
+
+
+
+%% institutions/organization/publishers/school
+
+FUNCTION {format.institution}
+{ institution duplicate$ empty$ 'skip$
+ { this.to.prev.status
+ this.status.std
+ cap.status.std
+ }
+ if$
+}
+
+FUNCTION {format.organization}
+{ organization duplicate$ empty$ 'skip$
+ { this.to.prev.status
+ this.status.std
+ cap.status.std
+ }
+ if$
+}
+
+FUNCTION {format.address.publisher.date}
+{ publisher "publisher" bibinfo.warn format.address.org.or.pub.date }
+
+FUNCTION {format.address.publisher.date.nowarn}
+{ publisher "publisher" bibinfo.check format.address.org.or.pub.date }
+
+FUNCTION {format.address.organization.date}
+{ organization "organization" bibinfo.check format.address.org.or.pub.date }
+
+FUNCTION {format.school}
+{ school duplicate$ empty$ 'skip$
+ { this.to.prev.status
+ this.status.std
+ cap.status.std
+ }
+ if$
+}
+
+
+
+%% volume/number/series/chapter/pages
+
+FUNCTION {format.volume}
+{ volume empty.field.to.null.string
+ duplicate$ empty$ 'skip$
+ { this.to.prev.status
+ this.status.std
+ bbl.volume
+ status.cap
+ { capitalize }
+ { skip$ }
+ if$
+ swap$ tie.or.space.prefix
+ "volume" bibinfo.check
+ * *
+ cap.status.std
+ }
+ if$
+}
+
+FUNCTION {format.number}
+{ number empty.field.to.null.string
+ duplicate$ empty$ 'skip$
+ { this.to.prev.status
+ this.status.std
+ status.cap
+ { bbl.number capitalize }
+ { bbl.number }
+ if$
+ swap$ tie.or.space.prefix
+ "number" bibinfo.check
+ * *
+ cap.status.std
+ }
+ if$
+}
+
+FUNCTION {format.number.if.use.for.article}
+{ is.use.number.for.article
+ { format.number }
+ { "" }
+ if$
+}
+
+% IEEE does not seem to tie the series so closely with the volume
+% and number as is done in other bibliography styles. Instead the
+% series is treated somewhat like an extension of the title.
+FUNCTION {format.series}
+{ series empty$
+ { "" }
+ { this.to.prev.status
+ this.status.std
+ bbl.series " " *
+ series "series" bibinfo.check *
+ cap.status.std
+ }
+ if$
+}
+
+
+FUNCTION {format.chapter}
+{ chapter empty$
+ { "" }
+ { this.to.prev.status
+ this.status.std
+ type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ cap.status.std
+ }
+ if$
+}
+
+
+% The intended use of format.paper is for paper numbers of inproceedings.
+% The paper type can be overridden via the type field.
+% We allow the type to be displayed even if the paper number is absent
+% for things like "postdeadline paper"
+FUNCTION {format.paper}
+{ is.use.paper
+ { paper empty$
+ { type empty$
+ { "" }
+ { this.to.prev.status
+ this.status.std
+ type "type" bibinfo.check
+ cap.status.std
+ }
+ if$
+ }
+ { this.to.prev.status
+ this.status.std
+ type empty$
+ { bbl.paper }
+ { type "type" bibinfo.check }
+ if$
+ " " * paper
+ "paper" bibinfo.check
+ *
+ cap.status.std
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { this.to.prev.status
+ this.status.std
+ duplicate$ is.multiple.pages
+ {
+ bbl.pages swap$
+ n.dashify
+ }
+ {
+ bbl.page swap$
+ }
+ if$
+ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ cap.status.std
+ }
+ if$
+}
+
+
+
+%% technical report number
+
+FUNCTION {format.tech.report.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$
+ this.to.prev.status
+ this.status.std
+ cap.status.std
+ bbl.techrep
+ }
+ { skip$ }
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ }
+ { this.to.prev.status
+ this.status.std
+ cap.status.std
+ tie.or.space.prefix * * }
+ if$
+}
+
+
+
+%% note
+
+FUNCTION {format.note}
+{ note empty$
+ { "" }
+ { this.to.prev.status
+ this.status.std
+ punct.period 'this.status.punct :=
+ note #1 #1 substring$
+ duplicate$ "{" =
+ { skip$ }
+ { status.cap
+ { "u" }
+ { "l" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ cap.yes 'status.cap :=
+ }
+ if$
+}
+
+
+
+%% patent
+
+FUNCTION {format.patent.date}
+{ this.to.prev.status
+ this.status.std
+ year empty$
+ { monthfiled duplicate$ empty$
+ { "monthfiled" bibinfo.check pop$ "" }
+ { "monthfiled" bibinfo.check }
+ if$
+ dayfiled duplicate$ empty$
+ { "dayfiled" bibinfo.check pop$ "" * }
+ { "dayfiled" bibinfo.check
+ monthfiled empty$
+ { "dayfiled without a monthfiled in " cite$ * warning$
+ *
+ }
+ { " " swap$ * * }
+ if$
+ }
+ if$
+ yearfiled empty$
+ { "no year or yearfiled in " cite$ * warning$ }
+ { yearfiled "yearfiled" bibinfo.check
+ swap$
+ duplicate$ empty$
+ { pop$ }
+ { ", " * swap$ * }
+ if$
+ }
+ if$
+ }
+ { month duplicate$ empty$
+ { "month" bibinfo.check pop$ "" }
+ { "month" bibinfo.check }
+ if$
+ day duplicate$ empty$
+ { "day" bibinfo.check pop$ "" * }
+ { "day" bibinfo.check
+ month empty$
+ { "day without a month in " cite$ * warning$
+ *
+ }
+ { " " swap$ * * }
+ if$
+ }
+ if$
+ year "year" bibinfo.check
+ swap$
+ duplicate$ empty$
+ { pop$ }
+ { ", " * swap$ * }
+ if$
+ }
+ if$
+ cap.status.std
+}
+
+FUNCTION {format.patent.nationality.type.number}
+{ this.to.prev.status
+ this.status.std
+ nationality duplicate$ empty$
+ { "nationality" bibinfo.warn pop$ "" }
+ { "nationality" bibinfo.check
+ duplicate$ "l" change.case$ "united states" =
+ { pop$ bbl.patentUS }
+ { skip$ }
+ if$
+ " " *
+ }
+ if$
+ type empty$
+ { bbl.patent "type" bibinfo.check }
+ { type "type" bibinfo.check }
+ if$
+ *
+ number duplicate$ empty$
+ { "number" bibinfo.warn pop$ }
+ { "number" bibinfo.check
+ large.number.separate
+ swap$ " " * swap$ *
+ }
+ if$
+ cap.status.std
+}
+
+
+
+%% standard
+
+FUNCTION {format.organization.institution.standard.type.number}
+{ this.to.prev.status
+ this.status.std
+ organization duplicate$ empty$
+ { pop$
+ institution duplicate$ empty$
+ { "institution" bibinfo.warn }
+ { "institution" bibinfo.warn " " * }
+ if$
+ }
+ { "organization" bibinfo.warn " " * }
+ if$
+ type empty$
+ { bbl.standard "type" bibinfo.check }
+ { type "type" bibinfo.check }
+ if$
+ *
+ number duplicate$ empty$
+ { "number" bibinfo.check pop$ }
+ { "number" bibinfo.check
+ large.number.separate
+ swap$ " " * swap$ *
+ }
+ if$
+ cap.status.std
+}
+
+FUNCTION {format.revision}
+{ revision empty$
+ { "" }
+ { this.to.prev.status
+ this.status.std
+ bbl.revision
+ revision tie.or.space.prefix
+ "revision" bibinfo.check
+ * *
+ cap.status.std
+ }
+ if$
+}
+
+
+%% thesis
+
+FUNCTION {format.master.thesis.type}
+{ this.to.prev.status
+ this.status.std
+ type empty$
+ {
+ bbl.mthesis
+ }
+ {
+ type "type" bibinfo.check
+ }
+ if$
+cap.status.std
+}
+
+FUNCTION {format.phd.thesis.type}
+{ this.to.prev.status
+ this.status.std
+ type empty$
+ {
+ bbl.phdthesis
+ }
+ {
+ type "type" bibinfo.check
+ }
+ if$
+cap.status.std
+}
+
+
+
+%% URL
+
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { this.to.prev.status
+ this.status.std
+ cap.yes 'status.cap :=
+ bbl.urlprefix " " *
+ "\url{" * url * "}" *
+ punct.no 'this.status.punct :=
+ punct.period 'prev.status.punct :=
+ space.normal 'this.status.space :=
+ space.normal 'prev.status.space :=
+ quote.no 'this.status.quote :=
+ }
+ if$
+}
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%
+%% ENTRY HANDLERS %%
+%%%%%%%%%%%%%%%%%%%%
+
+
+% Note: In many journals, IEEE (or the authors) tend not to show the number
+% for articles, so the display of the number is controlled here by the
+% switch "is.use.number.for.article"
+FUNCTION {article}
+{ std.status.using.comma
+ start.entry
+ if.url.alt.interword.spacing
+ format.authors "author" output.warn
+ name.or.dash
+ format.article.title "title" output.warn
+ format.journal "journal" bibinfo.check "journal" output.warn
+ format.volume output
+ format.number.if.use.for.article output
+ format.pages output
+ format.date "year" output.warn
+ format.note output
+ format.url output
+ fin.entry
+ if.url.std.interword.spacing
+% TB: added for annotation
+ format.annotate write$
+ newline$
+}
+
+FUNCTION {book}
+{ std.status.using.comma
+ start.entry
+ if.url.alt.interword.spacing
+ author empty$
+ { format.editors "author and editor" output.warn }
+ { format.authors output.nonnull }
+ if$
+ name.or.dash
+ format.book.title.edition output
+ format.series output
+ author empty$
+ { skip$ }
+ { format.editors output }
+ if$
+ format.address.publisher.date output
+ format.volume output
+ format.number output
+ format.note output
+ format.url output
+ fin.entry
+ if.url.std.interword.spacing
+% TB: added for annotation
+ format.annotate write$
+ newline$
+}
+
+FUNCTION {booklet}
+{ std.status.using.comma
+ start.entry
+ if.url.alt.interword.spacing
+ format.authors output
+ name.or.dash
+ format.article.title "title" output.warn
+ format.howpublished "howpublished" bibinfo.check output
+ format.organization "organization" bibinfo.check output
+ format.address "address" bibinfo.check output
+ format.date output
+ format.note output
+ format.url output
+ fin.entry
+ if.url.std.interword.spacing
+% TB: added for annotation
+ format.annotate write$
+ newline$
+}
+
+FUNCTION {electronic}
+{ std.status.using.period
+ start.entry
+ if.url.alt.interword.spacing
+ format.authors output
+ name.or.dash
+ format.date.electronic output
+ format.article.title.electronic output
+ format.howpublished "howpublished" bibinfo.check output
+ format.organization "organization" bibinfo.check output
+ format.address "address" bibinfo.check output
+ format.note output
+ format.url output
+ fin.entry
+ empty.entry.warn
+ if.url.std.interword.spacing
+% TB: added for annotation
+ format.annotate write$
+ newline$
+}
+
+FUNCTION {inbook}
+{ std.status.using.comma
+ start.entry
+ if.url.alt.interword.spacing
+ author empty$
+ { format.editors "author and editor" output.warn }
+ { format.authors output.nonnull }
+ if$
+ name.or.dash
+ format.book.title.edition output
+ format.series output
+ format.address.publisher.date output
+ format.volume output
+ format.number output
+ format.chapter output
+ format.pages output
+ format.note output
+ format.url output
+ fin.entry
+ if.url.std.interword.spacing
+% TB: added for annotation
+ format.annotate write$
+ newline$
+}
+
+FUNCTION {incollection}
+{ std.status.using.comma
+ start.entry
+ if.url.alt.interword.spacing
+ format.authors "author" output.warn
+ name.or.dash
+ format.article.title "title" output.warn
+ format.in.booktitle.edition "booktitle" output.warn
+ format.series output
+ format.editors output
+ format.address.publisher.date.nowarn output
+ format.volume output
+ format.number output
+ format.chapter output
+ format.pages output
+ format.note output
+ format.url output
+ fin.entry
+ if.url.std.interword.spacing
+% TB: added for annotation
+ format.annotate write$
+ newline$
+}
+
+FUNCTION {inproceedings}
+{ std.status.using.comma
+ start.entry
+ if.url.alt.interword.spacing
+ format.authors "author" output.warn
+ name.or.dash
+ format.article.title "title" output.warn
+ format.in.booktitle "booktitle" output.warn
+ format.series output
+ format.editors output
+ format.volume output
+ format.number output
+ publisher empty$
+ { format.address.organization.date output }
+ { format.organization "organization" bibinfo.check output
+ format.address.publisher.date output
+ }
+ if$
+ format.paper output
+ format.pages output
+ format.note output
+ format.url output
+ fin.entry
+ if.url.std.interword.spacing
+% TB: added for annotation
+ format.annotate write$
+ newline$
+}
+
+FUNCTION {manual}
+{ std.status.using.comma
+ start.entry
+ if.url.alt.interword.spacing
+ format.authors output
+ name.or.dash
+ format.book.title.edition "title" output.warn
+ format.howpublished "howpublished" bibinfo.check output
+ format.organization "organization" bibinfo.check output
+ format.address "address" bibinfo.check output
+ format.date output
+ format.note output
+ format.url output
+ fin.entry
+ if.url.std.interword.spacing
+% TB: added for annotation
+ format.annotate write$
+ newline$
+}
+
+FUNCTION {mastersthesis}
+{ std.status.using.comma
+ start.entry
+ if.url.alt.interword.spacing
+ format.authors "author" output.warn
+ name.or.dash
+ format.article.title "title" output.warn
+ format.master.thesis.type output.nonnull
+ format.school "school" bibinfo.warn output
+ format.address "address" bibinfo.check output
+ format.date "year" output.warn
+ format.note output
+ format.url output
+ fin.entry
+ if.url.std.interword.spacing
+% TB: added for annotation
+ format.annotate write$
+ newline$
+}
+
+FUNCTION {misc}
+{ std.status.using.comma
+ start.entry
+ if.url.alt.interword.spacing
+ format.authors output
+ name.or.dash
+ format.article.title output
+ format.howpublished "howpublished" bibinfo.check output
+ format.organization "organization" bibinfo.check output
+ format.address "address" bibinfo.check output
+ format.pages output
+ format.date output
+ format.note output
+ format.url output
+ fin.entry
+ empty.entry.warn
+ if.url.std.interword.spacing
+% TB: added for annotation
+ format.annotate write$
+ newline$
+}
+
+FUNCTION {patent}
+{ std.status.using.comma
+ start.entry
+ if.url.alt.interword.spacing
+ format.authors output
+ name.or.dash
+ format.article.title output
+ format.patent.nationality.type.number output
+ format.patent.date output
+ format.note output
+ format.url output
+ fin.entry
+ empty.entry.warn
+ if.url.std.interword.spacing
+% TB: added for annotation
+ format.annotate write$
+ newline$
+}
+
+FUNCTION {periodical}
+{ std.status.using.comma
+ start.entry
+ if.url.alt.interword.spacing
+ format.editors output
+ name.or.dash
+ format.book.title "title" output.warn
+ format.series output
+ format.volume output
+ format.number output
+ format.organization "organization" bibinfo.check output
+ format.date "year" output.warn
+ format.note output
+ format.url output
+ fin.entry
+ if.url.std.interword.spacing
+% TB: added for annotation
+ format.annotate write$
+ newline$
+}
+
+FUNCTION {phdthesis}
+{ std.status.using.comma
+ start.entry
+ if.url.alt.interword.spacing
+ format.authors "author" output.warn
+ name.or.dash
+ format.article.title "title" output.warn
+ format.phd.thesis.type output.nonnull
+ format.school "school" bibinfo.warn output
+ format.address "address" bibinfo.check output
+ format.date "year" output.warn
+ format.note output
+ format.url output
+ fin.entry
+ if.url.std.interword.spacing
+% TB: added for annotation
+ format.annotate write$
+ newline$
+}
+
+FUNCTION {proceedings}
+{ std.status.using.comma
+ start.entry
+ if.url.alt.interword.spacing
+ format.editors output
+ name.or.dash
+ format.book.title "title" output.warn
+ format.series output
+ format.volume output
+ format.number output
+ publisher empty$
+ { format.address.organization.date output }
+ { format.organization "organization" bibinfo.check output
+ format.address.publisher.date output
+ }
+ if$
+ format.note output
+ format.url output
+ fin.entry
+ if.url.std.interword.spacing
+% TB: added for annotation
+ format.annotate write$
+ newline$
+}
+
+FUNCTION {standard}
+{ std.status.using.comma
+ start.entry
+ if.url.alt.interword.spacing
+ format.authors output
+ name.or.dash
+ format.book.title "title" output.warn
+ format.howpublished "howpublished" bibinfo.check output
+ format.organization.institution.standard.type.number output
+ format.revision output
+ format.date output
+ format.note output
+ format.url output
+ fin.entry
+ if.url.std.interword.spacing
+% TB: added for annotation
+ format.annotate write$
+ newline$
+}
+
+FUNCTION {techreport}
+{ std.status.using.comma
+ start.entry
+ if.url.alt.interword.spacing
+ format.authors "author" output.warn
+ name.or.dash
+ format.article.title "title" output.warn
+ format.howpublished "howpublished" bibinfo.check output
+ format.institution "institution" bibinfo.warn output
+ format.address "address" bibinfo.check output
+ format.tech.report.number output.nonnull
+ format.date "year" output.warn
+ format.note output
+ format.url output
+ fin.entry
+ if.url.std.interword.spacing
+% TB: added for annotation
+ format.annotate write$
+ newline$
+}
+
+FUNCTION {unpublished}
+{ std.status.using.comma
+ start.entry
+ if.url.alt.interword.spacing
+ format.authors "author" output.warn
+ name.or.dash
+ format.article.title "title" output.warn
+ format.date output
+ format.note "note" output.warn
+ format.url output
+ fin.entry
+ if.url.std.interword.spacing
+% TB: added for annotation
+ format.annotate write$
+ newline$
+}
+
+
+% The special entry type which provides the user interface to the
+% BST controls
+FUNCTION {IEEEtranBSTCTL}
+{ is.print.banners.to.terminal
+ { "** IEEEtran BST control entry " quote$ * cite$ * quote$ * " detected." *
+ top$
+ }
+ { skip$ }
+ if$
+ CTLuse_article_number
+ empty$
+ { skip$ }
+ { CTLuse_article_number
+ yes.no.to.int
+ 'is.use.number.for.article :=
+ }
+ if$
+ CTLuse_paper
+ empty$
+ { skip$ }
+ { CTLuse_paper
+ yes.no.to.int
+ 'is.use.paper :=
+ }
+ if$
+ CTLuse_forced_etal
+ empty$
+ { skip$ }
+ { CTLuse_forced_etal
+ yes.no.to.int
+ 'is.forced.et.al :=
+ }
+ if$
+ CTLmax_names_forced_etal
+ empty$
+ { skip$ }
+ { CTLmax_names_forced_etal
+ string.to.integer
+ 'max.num.names.before.forced.et.al :=
+ }
+ if$
+ CTLnames_show_etal
+ empty$
+ { skip$ }
+ { CTLnames_show_etal
+ string.to.integer
+ 'num.names.shown.with.forced.et.al :=
+ }
+ if$
+ CTLuse_alt_spacing
+ empty$
+ { skip$ }
+ { CTLuse_alt_spacing
+ yes.no.to.int
+ 'is.use.alt.interword.spacing :=
+ }
+ if$
+ CTLalt_stretch_factor
+ empty$
+ { skip$ }
+ { CTLalt_stretch_factor
+ 'ALTinterwordstretchfactor :=
+ "\renewcommand\BIBentryALTinterwordstretchfactor{"
+ ALTinterwordstretchfactor * "}" *
+ write$ newline$
+ }
+ if$
+ CTLdash_repeated_names
+ empty$
+ { skip$ }
+ { CTLdash_repeated_names
+ yes.no.to.int
+ 'is.dash.repeated.names :=
+ }
+ if$
+ CTLname_format_string
+ empty$
+ { skip$ }
+ { CTLname_format_string
+ 'name.format.string :=
+ }
+ if$
+ CTLname_latex_cmd
+ empty$
+ { skip$ }
+ { CTLname_latex_cmd
+ 'name.latex.cmd :=
+ }
+ if$
+
+
+ num.names.shown.with.forced.et.al max.num.names.before.forced.et.al >
+ { "CTLnames_show_etal cannot be greater than CTLmax_names_forced_etal in " cite$ * warning$
+ max.num.names.before.forced.et.al 'num.names.shown.with.forced.et.al :=
+ }
+ { skip$ }
+ if$
+}
+
+
+%%%%%%%%%%%%%%%%%%%
+%% ENTRY ALIASES %%
+%%%%%%%%%%%%%%%%%%%
+FUNCTION {conference}{inproceedings}
+FUNCTION {online}{electronic}
+FUNCTION {internet}{electronic}
+FUNCTION {webpage}{electronic}
+FUNCTION {default.type}{misc}
+
+
+
+%%%%%%%%%%%%%%%%%%
+%% MAIN PROGRAM %%
+%%%%%%%%%%%%%%%%%%
+
+READ
+
+EXECUTE {initialize.controls}
+EXECUTE {initialize.status.constants}
+EXECUTE {banner.message}
+
+
+
+% BEGIN sort code based on that of plain.bst
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ { s }
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ { skip$ }
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$ "" }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$ "" }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$ "" }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$ "" }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.institution.sort}
+{ author empty$
+ { organization empty$
+ { institution empty$
+ { key empty$
+ { "to sort, need author, organization, institution or key in " cite$ * warning$ "" }
+ { key sortify }
+ if$
+ }
+ { "The " #4 institution chop.word sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+
+FUNCTION {presort}
+{ type$ "ieeetranbstctl" =
+ { key empty$
+ { "_" }
+ { key sortify }
+ if$
+ }
+ { type$ "book" =
+ type$ "inbook" =
+ or
+ { author.editor.sort }
+ { type$ "proceedings" =
+ type$ "periodical" =
+ or
+ { editor.organization.sort }
+ { type$ "manual" =
+ type$ "electronic" =
+ type$ "misc" =
+ or or
+ { author.organization.sort }
+ { type$ "standard" =
+ { author.organization.institution.sort }
+ { author.sort }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year empty.field.to.null.string sortify
+ *
+ " "
+ *
+ title empty.field.to.null.string
+ sort.format.title
+ *
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+% END sort code based on that of plain.bst
+
+
+
+EXECUTE {initialize.longest.label}
+ITERATE {longest.label.pass}
+
+EXECUTE {begin.bib}
+ITERATE {call.type$}
+EXECUTE {end.bib}
+
+EXECUTE{completed.message}
+
+
+%% That's all folks, mds.
diff --git a/biblio/bibtex/contrib/misc/aaai-named.bst b/biblio/bibtex/contrib/misc/aaai-named.bst
new file mode 100644
index 0000000000..629d472534
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/aaai-named.bst
@@ -0,0 +1,1283 @@
+%NAME: aaai-named.bst
+% BibTeX `aaai-named' style file for BibTeX version 0.99c, LaTeX version 2.09
+% This version was made by modifying the master file made by
+% Oren Patashnik (PATASHNIK@SCORE.STANFORD.EDU)
+
+% Copyright (C) 1985, all rights reserved.
+% Modifications Copyright 1988, Peter F. Patel-Schneider
+% Copying of this file is authorized only if either
+% (1) you make absolutely no changes to your copy, including name, or
+% (2) if you do make changes, you name it something other than
+% btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+% This restriction helps ensure that all standard styles are identical.
+
+% There are undoubtably bugs in this style. If you make bug fixes,
+% improvements, etc. please let me know. My e-mail address is:
+% pfps@spar.slb.com
+
+% Citation format: [author-last-name, year]
+% [author-last-name and author-last-name, year]
+% [author-last-name {\em et al.}, year]
+%
+% Reference list ordering: alphabetical by author or whatever passes
+% for author in the absence of one.
+%
+% This BibTeX style has support for short (year only) citations. This
+% is done by having the citations actually look like
+% \citename{name-info, }year
+% The LaTeX style has to have the following
+% \let\@internalcite\cite
+% \def\cite{\def\citename##1{##1}\@internalcite}
+% \def\shortcite{\def\citename##1{}\@internalcite}
+% \def\@biblabel#1{\def\citename##1{##1}[#1]\hfill}
+% which makes \shortcite the macro for short citations.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+
+ { title "t" change.case$ }
+
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+
+ key empty$ not and
+
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+
+ numnames #1 =
+ { s #1 "{vv }{ll}" format.name$ }
+ { numnames #2 =
+ { s #1 "{vv }{ll }and " format.name$ s #2 "{vv }{ll}" format.name$ *
+ }
+ { s #1 "{vv }{ll }\bgroup \em et al.\egroup " format.name$ }
+ if$
+ }
+ if$
+
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+
+ { cite$ #1 #3 substring$ }
+
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+
+ { cite$ #1 #3 substring$ }
+
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+
+ { cite$ #1 #3 substring$ }
+
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+
+ { cite$ #1 #3 substring$ }
+
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+
+ "\protect\citename{" swap$ * ", }" *
+ year field.or.null purify$ *
+ 'label :=
+ year field.or.null purify$ *
+
+ sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+
+ *
+
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+
+{ et.al.char.used
+ { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+ 'skip$
+ if$
+ preamble$ empty$
+
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+
+ "\begin{thebibliography}{" "}" * write$ newline$
+
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/misc/abstract.bst b/biblio/bibtex/contrib/misc/abstract.bst
new file mode 120000
index 0000000000..ab05dfee20
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/abstract.bst
@@ -0,0 +1 @@
+../../utils/bibtools/abstract.bst \ No newline at end of file
diff --git a/biblio/bibtex/contrib/misc/achicago.README b/biblio/bibtex/contrib/misc/achicago.README
new file mode 100644
index 0000000000..27238d594b
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/achicago.README
@@ -0,0 +1,25 @@
+
+ ACHICAGO
+
+ Chicago Manual A-style references
+ and
+ author-date citations
+
+
+ To get a LaTeX package and a BibTeX bibstyle producing citations and
+ references in a style recommended by _The Chicago Manual of Style_,
+ please download the entire directory
+
+ tex-archive/macros/latex/contrib/supported/frankenstein
+
+ on CTAN and follow the installation instructions in the file INSTALL
+ in that directory. Full documentation of the BibTeX bibliography
+ style is in the file achicago-bst.dvi in that directory; full
+ documentation of the accompanying LaTeX package is in the file
+ achicago.dvi in that directory.
+
+ Please see the file README in that directory for all further
+ information.
+
+
+ Author: Matt Swift <swift@alum.mit.edu>
diff --git a/biblio/bibtex/contrib/misc/aichej.bst b/biblio/bibtex/contrib/misc/aichej.bst
new file mode 100644
index 0000000000..85035211d2
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/aichej.bst
@@ -0,0 +1,1380 @@
+%%
+%% This is file `aichej.bst',
+%% generated with the docstrip utility using the custom-bib package by
+%% Patrick W. Daly
+%%
+%% Bibliography style file for American Institute of Chemical Engineers Journal
+%% (AIChE Journal). Settings entered by SDS (University of Minnesota)
+%%
+%% BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+%% FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+%% OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+%% PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+%% OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+%% MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+%% TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+%% PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+%% REPAIR OR CORRECTION. (GNU GPL)
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `pres,seq-no,nm-rvx,ed-rev,jnrlst,dt-jnl,yr-per,xmth,yrp-semi,yrpp-xsp,atit-u,jxper,thtit-a,trnum-it,num-xser,add-pub,edby,in-col,pp,ed,abr,ednx,ord,jabr,xand,etal-xc,url,url-nl,nfss,')
+%% ----------------------------------------
+%% *** AIChE Journal Bibliography Style File ***
+%%
+%% Copyright 1994-2007 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2007/04/24 4.20 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is a numerical citation style, and as such is standard LaTeX.
+ % It requires no extra package to interface to the main text.
+ % The form of the \bibitem entries is
+ % \bibitem{key}...
+ % Usage of \cite is as follows:
+ % \cite{key} ==>> [#]
+ % \cite[chap. 2]{key} ==>> [#, chap. 2]
+ % where # is a number determined by the ordering in the reference list.
+ % The order in the reference list is that by which the works were originally
+ % cited in the text, or that in the database.
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ eid
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ url
+ volume
+ year
+ }
+ {}
+ { label }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {no.blank.or.punct}
+{ "\hspace{0pt}" * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ ";" *
+ no.blank.or.punct
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+STRINGS {z}
+FUNCTION {remove.dots}
+{ 'z :=
+ ""
+ { z empty$ not }
+ { z #1 #1 substring$
+ z #2 global.max$ substring$ 'z :=
+ duplicate$ "." = 'pop$
+ { * }
+ if$
+ }
+ while$
+}
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds." }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "ed." }
+
+FUNCTION {bbl.volume}
+{ "vol." }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "no." }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "pp." }
+
+FUNCTION {bbl.page}
+{ "p." }
+
+FUNCTION {bbl.chapter}
+{ "chap." }
+
+FUNCTION {bbl.techrep}
+{ "Tech. Rep." }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+FUNCTION {bbl.first}
+{ "1st" }
+
+FUNCTION {bbl.second}
+{ "2nd" }
+
+FUNCTION {bbl.third}
+{ "3rd" }
+
+FUNCTION {bbl.fourth}
+{ "4th" }
+
+FUNCTION {bbl.fifth}
+{ "5th" }
+
+FUNCTION {bbl.st}
+{ "st" }
+
+FUNCTION {bbl.nd}
+{ "nd" }
+
+FUNCTION {bbl.rd}
+{ "rd" }
+
+FUNCTION {bbl.th}
+{ "th" }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"Jun."}
+
+MACRO {jul} {"Jul."}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sep."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+FUNCTION {eng.ord}
+{ duplicate$ "1" swap$ *
+ #-2 #1 substring$ "1" =
+ { bbl.th * }
+ { duplicate$ #-1 #1 substring$
+ duplicate$ "1" =
+ { pop$ bbl.st * }
+ { duplicate$ "2" =
+ { pop$ bbl.nd * }
+ { "3" =
+ { bbl.rd * }
+ { bbl.th * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Software Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput. Aid. Des."}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Program."}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Graphic."}
+
+MACRO {toms} {"ACM Trans. Math. Software"}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Progr. Lang. Syst."}
+
+MACRO {tcs} {"Theor. Comput. Sci."}
+
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {write.url}
+{ url empty$
+ { skip$ }
+ { "\newline\urlprefix\url{" url * "}" * write$ newline$ }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+
+STRINGS { bibinfo}
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}{ f{}}{ jj}"
+ format.name$
+ remove.dots
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ "," *
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ { " " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.names.ed}
+{
+ format.names
+}
+FUNCTION {format.authors}
+{ author "author" format.names
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ "," *
+ " " *
+ get.bbl.editor
+ *
+ }
+ if$
+}
+FUNCTION {format.note}
+{
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ "title" bibinfo.check
+}
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in capitalize
+ ":" *
+ " " * }
+
+FUNCTION {format.date}
+{
+ ""
+ duplicate$ empty$
+ year "year" bibinfo.check duplicate$ empty$
+ { swap$ 'skip$
+ { "there's a month but no year in " cite$ * warning$ }
+ if$
+ *
+ }
+ { swap$ 'skip$
+ {
+ swap$
+ " " * swap$
+ }
+ if$
+ *
+ }
+ if$
+ duplicate$ empty$
+ 'skip$
+ {
+ before.all 'output.state :=
+ after.sentence 'output.state :=
+ }
+ if$
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ bbl.of space.word * swap$
+ emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { number "number" bibinfo.check }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+FUNCTION {convert.edition}
+{ extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bbl.first 't := }
+ { s "second" = s "2" = or
+ { bbl.second 't := }
+ { s "third" = s "3" = or
+ { bbl.third 't := }
+ { s "fourth" = s "4" = or
+ { bbl.fourth 't := }
+ { s "fifth" = s "5" = or
+ { bbl.fifth 't := }
+ { s #1 #1 substring$ is.num
+ { s eng.ord 't := }
+ { edition 't := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ t
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ convert.edition
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ bbl.pages swap$
+ n.dashify
+ }
+ {
+ bbl.page swap$
+ }
+ if$
+ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ":" *
+ swap$
+ n.dashify
+ "pages" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.journal.eid}
+{ eid "eid" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$ 'skip$
+ {
+ ":" *
+ }
+ if$
+ swap$ *
+ }
+ if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ "volume" bibinfo.check
+ }
+ if$
+ number "number" bibinfo.check duplicate$ empty$ 'skip$
+ {
+ swap$ duplicate$ empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ swap$
+ "(" swap$ * ")" *
+ }
+ if$ *
+ eid empty$
+ { format.journal.pages }
+ { format.journal.eid }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+ emphasize
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ {
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ bbl.edby
+ " " * swap$ *
+ swap$
+ "," *
+ " " * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+}
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ key duplicate$ empty$
+ { pop$
+ journal duplicate$ empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref * warning$ }
+ { "journal" bibinfo.check emphasize word.in swap$ * }
+ if$
+ }
+ { word.in swap$ * " " *}
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ "editor" bibinfo.check
+ editor num.names$ duplicate$
+ #2 >
+ { pop$
+ "editor" bibinfo.check
+ " " * bbl.etal
+ *
+ }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ "editor" bibinfo.check
+ " " * bbl.etal
+ *
+ }
+ {
+ bbl.and space.word
+ * editor #2 "{vv~}{ll}" format.name$
+ "editor" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ capitalize
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { series emphasize * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { format.booktitle duplicate$ empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ }
+ { word.in swap$ * }
+ if$
+ }
+ { word.in key * " " *}
+ if$
+ }
+ { word.in format.crossref.editor * " " *}
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ address "address" bibinfo.check *
+ t empty$
+ 'skip$
+ { address empty$
+ 'skip$
+ { ": " * }
+ if$
+ t *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ {
+ journal
+ remove.dots
+ "journal" bibinfo.check
+ emphasize
+ "journal" output.check
+ format.date "year" output.check
+ date.block
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ format.note output
+ fin.entry
+ write.url
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher.address output
+ }
+ {
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ format.note output
+ fin.entry
+ write.url
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ new.block
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ format.date output
+ new.block
+ format.note output
+ fin.entry
+ write.url
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher.address output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ date.block
+ new.block
+ format.note output
+ fin.entry
+ write.url
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ format.publisher.address output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ new.block
+ format.note output
+ fin.entry
+ write.url
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ new.sentence
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ add.blank
+ format.pages "pages" output.check
+ new.block
+ format.note output
+ fin.entry
+ write.url
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization "organization" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { output
+ address "address" bibinfo.check output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ {
+ address new.block.checka
+ address "address" bibinfo.check output
+ }
+ 'skip$
+ if$
+ }
+ {
+ organization address new.block.checkb
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ format.note output
+ fin.entry
+ write.url
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.date "year" output.check
+ new.block
+ format.note output
+ fin.entry
+ write.url
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished "howpublished" bibinfo.check output
+ format.date output
+ new.block
+ format.note output
+ fin.entry
+ write.url
+ empty.misc.check
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.date "year" output.check
+ new.block
+ format.note output
+ fin.entry
+ write.url
+}
+
+FUNCTION {presentation}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title output
+ new.block
+ format.organization.address "organization and address" output.check
+ month "month" output.check
+ year "year" output.check
+ new.block
+ format.note output
+ new.sentence
+ type missing$ 'skip$
+ {"(" type capitalize * ")" * output}
+ if$
+ fin.entry
+ write.url
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization "organization" bibinfo.check output
+ }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ editor empty$
+ { publisher empty$
+ {
+ new.sentence
+ format.publisher.address output
+ }
+ if$
+ }
+ { publisher empty$
+ {
+ new.sentence
+ format.organization.address output }
+ {
+ new.sentence
+ organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ }
+ if$
+ format.date "year" output.check
+ new.block
+ format.note output
+ fin.entry
+ write.url
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ format.tr.number emphasize output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.date "year" output.check
+ new.block
+ format.note output
+ fin.entry
+ write.url
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ format.date output
+ new.block
+ format.note "note" output.check
+ fin.entry
+ write.url
+}
+
+FUNCTION {default.type} { misc }
+READ
+STRINGS { longest.label }
+INTEGERS { number.label longest.label.width }
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+EXECUTE {initialize.longest.label}
+ITERATE {longest.label.pass}
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" *
+ write$ newline$
+ "\providecommand{\url}[1]{\texttt{#1}}"
+ write$ newline$
+ "\providecommand{\urlprefix}{URL }"
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `aichej.bst'.
diff --git a/biblio/bibtex/contrib/misc/ajl.bst b/biblio/bibtex/contrib/misc/ajl.bst
new file mode 100644
index 0000000000..6d1866343e
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/ajl.bst
@@ -0,0 +1,1557 @@
+%%
+%% This is file `ajl.bst',
+%% generated with the docstrip utility AND THEN manually by David Nash 2014-05-11
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `ay,har,seq-lab,nm-rvx,nm-rvv,nm-rev1,jnrlst,keyxyr,blkyear,dt-beg,yr-blk,yrp-x,note-yr,tit-qq,qt-s,qx,jxper,pp-last,num-xser,jnm-x,add-pub,pre-pub,doi,edparxc,blk-com,com-blank,pp,ed,xedn,amper,url,url-blk,nfss,')
+%% ----------------------------------------
+%% *** AJL ***
+%%
+%% Copyright 1994-2011 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2011/11/18 4.33 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is natbib.sty by Patrick W. Daly
+ % or: harvard.sty by Peter Williams and Thorsten Schnier
+ % The form of the bibitem entries is
+ % \harvarditem[Jones et al.]{Jones, Baker, and Smith}{1990}{key}...
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ doi
+ edition
+ editor
+ eid
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ url
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { " " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ add.blank
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+FUNCTION {non.stop}
+{ duplicate$
+ "}" * add.period$
+ #-1 #1 substring$ "." =
+}
+
+STRINGS {z}
+
+FUNCTION {remove.dots}
+{ 'z :=
+ ""
+ { z empty$ not }
+ { z #1 #2 substring$
+ duplicate$ "\." =
+ { z #3 global.max$ substring$ 'z := * }
+ { pop$
+ z #1 #1 substring$
+ z #2 global.max$ substring$ 'z :=
+ duplicate$ "." = 'pop$
+ { * }
+ if$
+ }
+ if$
+ }
+ while$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds" }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "edition" }
+
+FUNCTION {bbl.volume}
+{ "volume" }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "number" }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "pp." }
+
+FUNCTION {bbl.page}
+{ "p." }
+
+FUNCTION {bbl.chapter}
+{ "chapter" }
+
+FUNCTION {bbl.techrep}
+{ "Technical Report" }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.url}
+{
+ url
+ duplicate$ empty$
+ { pop$ "" }
+ { "\urlprefix\url{" swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+
+STRINGS { bibinfo}
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ duplicate$ #1 >
+ { "{ f{}~}{vv~}{ll}{ jj}" }
+ { "{vv~}{ll}{ f{}}{ jj}" }
+ if$
+ format.name$
+ remove.dots
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ {
+ "\&"
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.names.ed}
+{
+ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{f{}~}{vv~}{ll}{, jj}"
+ format.name$
+ remove.dots
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ {
+
+ " " * bbl.etal *
+ }
+ {
+ "\&"
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author "author" format.names
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ " " *
+ get.bbl.editor
+ "(" swap$ * ")" *
+ *
+ }
+ if$
+}
+FUNCTION {format.doi}
+{ doi empty$
+ { "" }
+ {
+ "\doi{" doi * "}" *
+ }
+ if$
+}
+FUNCTION {format.note}
+{
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ duplicate$ empty$ 'skip$
+ { "t" change.case$ }
+ if$
+ "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ "\enquote{" swap$ *
+ "} " *
+ }
+ if$
+}
+FUNCTION {end.quote.title}
+{ title empty$
+ 'skip$
+ { before.all 'output.state := }
+ if$
+}
+FUNCTION {format.full.names}
+{'s :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ "\&"
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\harvarditem" write$
+ make.full.names duplicate$ label =
+ 'skip$
+ { "[" label * "]" * write$ }
+ if$
+ "{" swap$ * "}{" * write$
+ year duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+ extra.label * "}{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in
+ " " * }
+
+FUNCTION {format.date}
+{ year "year" bibinfo.check duplicate$ empty$
+ {
+ }
+ 'skip$
+ if$
+ extra.label *
+ before.all 'output.state :=
+ " " swap$ *
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ bbl.of space.word * swap$
+ emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { number "number" bibinfo.check }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ bbl.pages swap$
+ n.dashify
+ }
+ {
+ bbl.page swap$
+ }
+ if$
+ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ":" *
+ swap$
+ n.dashify
+ "pages" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.journal.eid}
+{ eid "eid" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$ 'skip$
+ {
+ ":" *
+ }
+ if$
+ swap$ *
+ }
+ if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ "volume" bibinfo.check
+ }
+ if$
+ number "number" bibinfo.check duplicate$ empty$ 'skip$
+ {
+ swap$ duplicate$ empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ swap$
+ "(" swap$ * ")" *
+ }
+ if$ *
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ { "" }
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+ emphasize
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ {
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ " " *
+ get.bbl.editor
+ "(" swap$ * ") " *
+ * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ address "address" bibinfo.check *
+ t empty$
+ 'skip$
+ { address empty$
+ 'skip$
+ { ": " * }
+ if$
+ t *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ {
+ journal
+ remove.dots
+ "journal" bibinfo.check
+ emphasize
+ "journal" output.check
+ add.blank
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ }
+ if$
+ eid empty$
+ { format.journal.pages }
+ { format.journal.eid }
+ if$
+ format.doi output
+ format.url output
+ format.note output
+ fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ add.blank
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ format.publisher.address output
+ }
+ {
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.doi output
+ format.url output
+ format.note output
+ fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ format.doi output
+ format.url output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.publisher.address output
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ format.number.series output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.pages "pages" output.check
+ format.doi output
+ format.url output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.publisher.address output
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.pages "pages" output.check
+ format.doi output
+ format.url output
+ format.note output
+ fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.bvolume output
+ format.number.series output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ }
+ if$
+ format.pages "pages" output.check
+ format.doi output
+ format.url output
+ format.note output
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ format.edition output
+ format.doi output
+ format.url output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.doi output
+ format.url output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title output
+ end.quote.title
+ howpublished "howpublished" bibinfo.check output
+ format.doi output
+ format.url output
+ format.note output
+ fin.entry
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.doi output
+ format.url output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.doi output
+ format.url output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ end.quote.title
+ format.tr.number output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.doi output
+ format.url output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ format.doi output
+ format.url output
+ format.note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+READ
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+FUNCTION {format.lab.names}
+{ 's :=
+ "" 't :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$
+ " " * bbl.etal *
+ }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ " " * bbl.etal *
+ }
+ { " \& " * s #2 "{vv~}{ll}" format.name$
+ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ ", "
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {calc.short.label}
+{ calc.short.authors short.list
+ 'label :=
+}
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" 't := }
+ 'skip$
+ if$
+ numnames #2 > nameptr #2 = and
+ { "zz" * year field.or.null * " " *
+ }
+ 'skip$
+ if$
+ t sortify *
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+SORT
+STRINGS { last.label next.extra }
+INTEGERS { last.extra.num last.extra.num.extended last.extra.num.blank number.label }
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ "a" chr.to.int$ #1 - 'last.extra.num.blank :=
+ last.extra.num.blank 'last.extra.num.extended :=
+ #0 'number.label :=
+}
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num "z" chr.to.int$ >
+ { "a" chr.to.int$ 'last.extra.num :=
+ last.extra.num.extended #1 + 'last.extra.num.extended :=
+ }
+ 'skip$
+ if$
+ last.extra.num.extended last.extra.num.blank >
+ { last.extra.num.extended int.to.chr$
+ last.extra.num int.to.chr$
+ * 'extra.label := }
+ { last.extra.num int.to.chr$ 'extra.label := }
+ if$
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+}
+EXECUTE {initialize.extra.label.stuff}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+ calc.short.label
+}
+ITERATE {bib.sort.order}
+SORT
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\newcommand{\enquote}[1]{`#1'}"
+ write$ newline$
+ "\providecommand{\natexlab}[1]{#1}"
+ write$ newline$
+ "{\catcode`\|=0\catcode`\#=12\catcode`\@=11\catcode`\\=12" write$ newline$
+ "|immediate|write|@auxout{\expandafter\ifx\csname natexlab\endcsname\relax\gdef\natexlab#1{#1}\fi}}"
+ write$ newline$
+ "\providecommand{\url}[1]{\texttt{#1}}"
+ write$ newline$
+ "\providecommand{\urlprefix}{URL }"
+ write$ newline$
+ "\expandafter\ifx\csname urlstyle\endcsname\relax"
+ write$ newline$
+ " \providecommand{\doi}[1]{doi:\discretionary{}{}{}#1}\else"
+ write$ newline$
+ " \providecommand{\doi}{doi:\discretionary{}{}{}\begingroup \urlstyle{rm}\Url}\fi"
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `ajl.bst'.
diff --git a/biblio/bibtex/contrib/misc/alphanum.bst b/biblio/bibtex/contrib/misc/alphanum.bst
new file mode 100644
index 0000000000..6ed136bd8d
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/alphanum.bst
@@ -0,0 +1,1265 @@
+% BibTeX bibliography style `alphanum'
+ % Modified from `alpha' by Reuben Thomas (rrt@sc3d.org)
+ % Changes are:
+ % 1. Labels do not contain the year.
+ % 2. Labels which would otherwise be identical have a number
+ % appended, not a letter.
+ % 3. Entries are sorted by month as well as year.
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX
+ % version 2.09 or 2e.
+ % Copyright (C) 1985, 2001, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including
+ % name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and
+ % abbrv.bst. This restriction helps ensure that all
+ % standard styles are identical.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ 'label :=
+ sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ month field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.str$ 'extra.label :=
+ }
+ { #1 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "2" =
+ { "1" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{ et.al.char.used
+ { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+ 'skip$
+ if$
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/misc/ama.bst b/biblio/bibtex/contrib/misc/ama.bst
new file mode 100644
index 0000000000..550c5ef0a9
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/ama.bst
@@ -0,0 +1,987 @@
+%
+% THIS IS AN ALPHA VERSION!!!
+%
+% USE AT YOUR OWN RISK
+%
+% This should work for articles...I don't know if it works well for
+% books, etc (give it a try and see!).
+%
+% PLEASE COMPARE RESULTS WITH THE INSTRUCTIONS FOR AUTHORS FOR THE
+% JOURNAL YOU ARE SUBMITTING FOR...I CANNOT ACCEPT RESPONSIBILITY
+% FOR REJECTED MANUSCRIPTS (but I will try to fix it if you point out
+% a bug)
+%
+% AMA Manual of Style (JAMA, Cancer, many others..)
+% -Up to 6 authors, otherwise 3 authors et al.
+% -Title in italics
+% -numeric labels
+% -order-of-reference.
+%
+% Author L, Author S, Author D, et al. Title. Journal.
+% YYYY;VOL(NUM):PPP-PPP.
+%
+%
+% History
+% 9/30/85 (HWT) IEETR Original version, by Howard Trickey.
+% 1/29/88 (OP&HWT) Updated for BibTeX version 0.99a, Oren Patashnik;
+% 3/27/02 IEETR style used as framework. Formats heavily changed by
+% Eric Kort (eric.kort@vai.org)
+%
+% THIS VERSION DOES NOT WORK WITH BIBTEX 0.98i.
+%
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.quote after.sentence
+ after.quoted.block after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.quote :=
+ #3 'after.sentence :=
+ #4 'after.quoted.block :=
+ #5 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { "" * write$ }
+ { output.state after.quote =
+ { " " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { output.state after.quoted.block =
+ { write$
+ newline$
+ "\newblock " write$
+ }
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {blank.sep}
+{ after.quote 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ output.state after.quoted.block =
+ 'skip$
+ 'add.period$
+ if$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { output.state after.quote =
+ { after.quoted.block 'output.state := }
+ { after.block 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\it " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames etal}
+
+FUNCTION {format.names}
+{ 's := % push the name s, pop s and author (already on stack), assign author to s
+ #1 'nameptr :=
+ #0 'etal :=
+
+ s num.names$ 'numnames :=
+
+ numnames #6 >
+ {#3 'numnames :=
+ #1 'etal :=
+ }
+ {}
+ %end if
+ if$
+
+ numnames 'namesleft :=
+ { namesleft #0 > }
+
+ {s nameptr "{ll~}{ff}" format.name$ 't :=
+ namesleft #1 >
+ {t * ", " * }
+ {t}
+ %end if
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+
+ etal
+ {", et al. "}
+ {". "}
+ if$
+ *
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", eds." * }
+ { ", ed." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title " " *}
+ if$
+}
+
+FUNCTION {format.journal}
+{ journal empty$
+ { "" }
+ { journal ". " *}
+ if$
+}
+
+FUNCTION {format.title.p}
+{ title empty$
+ { "" }
+ { title " " *}
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { "" }
+ { " " * year }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { ";" volume *
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "no.~" }
+ { "No.~" }
+ if$
+ number *
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { edition "l" change.case$ "~ed." * }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ {":" pages *}
+ if$
+}
+
+FUNCTION {format.volume}
+{ volume empty$
+ { "" }
+ { ";" volume * }
+ if$
+}
+
+FUNCTION {format.number}
+{ number empty$
+ { "" }
+ { "(" number * ")" *}
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "ch.~" chapter * }
+ { type "l" change.case$ chapter tie.or.space.connect }
+ if$
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { "in " booktitle emphasize *
+ editor empty$
+ 'skip$
+ { " (" * format.editors * ")" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ output.state after.block =
+ { type "t" change.case$ }
+ { type "l" change.case$ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Tech. Rep." }
+ 'type
+ if$
+ number empty$
+ { "l" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.addr.pub}
+{ publisher empty$
+ { "" }
+ { address empty$
+ { "" }
+ { address ": " * }
+ if$
+ publisher *
+ }
+ if$
+}
+
+FUNCTION {format.paddress}
+{ address empty$
+ { "" }
+ { "(" address * ")" * }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "in {\em " journal * "\/}" * }
+ if$
+ }
+ { "in " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " {\em et~al.}" * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " {\em et~al.}" * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Vol.~" volume *
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "in {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "in " key * }
+ if$
+ }
+ { "in " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ blank.sep
+ crossref missing$
+ { format.journal emphasize "journal" output.check
+ format.date "year" output.check
+ format.volume output
+ format.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ format.addr.pub "publisher" output.check
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ title empty$
+ { "empty title in " cite$ * warning$
+ howpublished new.sentence.checka
+ }
+ { howpublished empty$ not
+ address empty$ month empty$ year empty$ and and
+ or
+ { format.title.p output.nonnull }
+ { format.title output.nonnull }
+ if$
+ blank.sep
+ }
+ if$
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ format.addr.pub "publisher" output.check
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ blank.sep
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ format.addr.pub "publisher" output.check
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ blank.sep
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.paddress output
+ format.pages output
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ blank.sep
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title empty$
+ { howpublished new.sentence.checka }
+ { howpublished empty$ not
+ month empty$ year empty$ and
+ or
+ { format.title.p output.nonnull }
+ { format.title output.nonnull }
+ if$
+ blank.sep
+ }
+ if$
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ format.paddress output
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ blank.sep
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title.p "title" output.check
+ blank.sep
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications ACM"}
+
+MACRO {ibmjrd} {"IBM J. Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems~J."}
+
+MACRO {ieeese} {"IEEE Trans. Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Trans. Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Computer-Aided Design"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM J. Computing"}
+
+MACRO {tocs} {"ACM Trans. Computer Systems"}
+
+MACRO {tods} {"ACM Trans. Database Systems"}
+
+MACRO {tog} {"ACM Trans. Graphics"}
+
+MACRO {toms} {"ACM Trans. Mathematical Software"}
+
+MACRO {toois} {"ACM Trans. Office Information Systems"}
+
+MACRO {toplas} {"ACM Trans. Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/misc/amsalpha.bst b/biblio/bibtex/contrib/misc/amsalpha.bst
new file mode 120000
index 0000000000..a849371efd
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/amsalpha.bst
@@ -0,0 +1 @@
+../../../../macros/latex/required/amscls/amsalpha.bst \ No newline at end of file
diff --git a/biblio/bibtex/contrib/misc/amsplain.bst b/biblio/bibtex/contrib/misc/amsplain.bst
new file mode 120000
index 0000000000..dd92eb32e7
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/amsplain.bst
@@ -0,0 +1 @@
+../../../../macros/latex/required/amscls/amsplain.bst \ No newline at end of file
diff --git a/biblio/bibtex/contrib/misc/annotate.bst b/biblio/bibtex/contrib/misc/annotate.bst
new file mode 100644
index 0000000000..d0ec29f70f
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/annotate.bst
@@ -0,0 +1,1280 @@
+% BibTeX bibliography style `annotate'
+% based on alpha.
+
+ENTRY
+ { address
+ annotate
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.annotate}
+{ annotate empty$
+ { "" }
+ { " \begin{quotation}\noindent "
+ annotate
+ * " \end{quotation} " *
+ }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+ format.annotate write$
+ newline$
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+ format.annotate write$
+ newline$
+
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ format.annotate write$
+ newline$
+
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+ format.annotate write$
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+ format.annotate write$
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+ format.annotate write$
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+
+ format.annotate write$
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+ format.annotate write$
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ format.annotate write$
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+ format.annotate write$
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+ format.annotate write$
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+ format.annotate write$
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+ format.annotate write$
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ year field.or.null purify$ #-1 #2 substring$
+ *
+ 'label :=
+ year field.or.null purify$ #-1 #4 substring$
+ *
+ sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{ et.al.char.used
+ { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+ 'skip$
+ if$
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/misc/annotation.bst b/biblio/bibtex/contrib/misc/annotation.bst
new file mode 100644
index 0000000000..0cae6604c7
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/annotation.bst
@@ -0,0 +1,1105 @@
+% BibTeX standard bibliography style `plain'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ annote
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+ "\begin{quotation}\noindent{\sc Key:\ }" cite$ * write$
+ annote missing$
+ 'skip$
+ { "\\{\sc Annotation:\ }" write$ annote write$ }
+ if$
+ "\end{quotation}" write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/misc/apa.bst b/biblio/bibtex/contrib/misc/apa.bst
new file mode 100644
index 0000000000..783d423f61
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/apa.bst
@@ -0,0 +1,1130 @@
+%%% ====================================================================
+%%% @BibTeX-style-file{
+%%% author = "Alan Rogers",
+%%% version = "1.1",
+%%% date = "June 27, 1992",
+%%% filename = "apa.bst",
+%%% address = "Dept of Anthropology, University of Utah,
+%%% Salt Lake City, UT 84112",
+%%% checksum = "21129 1130 3156 23582",
+%%% email = "rogers@anthro.utah.edu",
+%%% supported = "no",
+%%% docstring = "Adapted from apalike.bst.
+%%% Usage: \documentstyle[astron]{...}
+%%% ...
+%%% \bibliographystyle{apa}
+%%% ...
+%%% This file incorporates features of Sake J.
+%%% Hogeveen's `astron.bst' into`apalike.bst'.
+%%% The \documentstyle command above invokes
+%%% Hogeveen's `astron.sty', which must be in
+%%% TeX's search path.
+%%%
+%%% The modifications implement `\cite*{}', which
+%%% generates references in short form. For
+%%% example, `Rogers \cite*{...}' would produce
+%%% `Rogers (1992)'."
+%%% }
+%%% ====================================================================
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% BibTeX `apalike' bibliography style (24-Jan-88 version)
+% Adapted from the `alpha' style, version 0.99a; for BibTeX version 0.99a.
+% Copyright (C) 1988, all rights reserved.
+% Copying of this file is allowed, provided that if you make any changes at all
+% you name it something other than `apalike.bst'.
+% This restriction helps ensure that all copies are identical.
+% Differences between this style and `alpha' are generally heralded by a `%'.
+% The file btxbst.doc has the documentation for alpha.bst.
+%
+% This style should be used with the `apalike' LaTeX style (apalike.sty).
+% \cite's come out like "(Jones, 1986)" in the text but there are no labels
+% in the bibliography, and something like "(1986)" comes out immediately
+% after the author. Author (and editor) names appear as last name, comma,
+% initials. A `year' field is required for every entry, and so is either
+% an author (or in some cases, an editor) field or a key field.
+%
+% Editorial note:
+% Many journals require a style like `apalike', but I strongly, strongly,
+% strongly recommend that you not use it if you have a choice---use something
+% like `plain' instead. Mary-Claire van Leunen (A Handbook for Scholars,
+% Knopf, 1979) argues convincingly that a style like `plain' encourages better
+% writing than one like `apalike'. Furthermore the strongest arguments for
+% using an author-date style like `apalike'---that it's "the most practical"
+% (The Chicago Manual of Style, University of Chicago Press, thirteenth
+% edition, 1982, pages 400--401)---fall flat on their face with the new
+% computer-typesetting technology. For instance page 401 anachronistically
+% states "The chief disadvantage of [a style like `plain'] is that additions
+% or deletions cannot be made after the manuscript is typed without changing
+% numbers in both text references and list." LaTeX sidesteps the disadvantage.
+%
+% History:
+% 15-sep-86 (SK,OP) Original version, by Susan King and Oren Patashnik.
+% 10-nov-86 (OP) Truncated the sort.key$ string to the correct length
+% in bib.sort.order to eliminate error message.
+% 24-jan-88 (OP) Updated for BibTeX version 0.99a, from alpha.bst 0.99a;
+% apalike now sorts by author, then year, then title;
+% THIS `apalike' VERSION DOES NOT WORK WITH BIBTEX 0.98i.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+% month not used in apalike
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+% apalike needs this function because
+% the year has special punctuation;
+% apalike ignores the month
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { write$
+ " (" year * extra.label * ")" *
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't := % last name first
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.key} % this function is just for apalike
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ "In" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "\cite{" * crossref * "}" * % this is for apalike
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ "In" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ howpublished output
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address output % for apalike
+ new.sentence % there's no year
+ organization output % here so things
+ publisher output % are simpler
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title output
+ new.block
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output % for apalike
+ new.sentence % we always output
+ organization output % a nonempty organization
+ publisher output % here
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+% There are three apalike cases: one person (Jones),
+% two (Jones and de~Bruijn), and more (Jones et~al.).
+% This function is much like format.crossref.editors.
+%
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key, no organization
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label} % this function came from ASTRON.BST (ARR)
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label % apalike ignores organization
+ 'author.key.label % for labeling and sorting
+ if$
+ }
+ if$
+ "\protect\astroncite{" swap$ * "}{" % these three lines are
+ * % for apalike, which
+ year field.or.null purify$ #-1 #4 substring$ % uses all four digits
+ * % the mathing closing "}" comes in at the reverse.pass
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$ % apalike uses initials
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't := % <= here
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+% apalike uses two sorting passes; the first one sets the
+% labels so that the `a's, `b's, etc. can be computed;
+% the second pass puts the references in "correct" order.
+% The presort function is for the first pass. It computes
+% label, sort.label, and title, and then concatenates.
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$ % for
+ 'sort.label := % apalike
+ sort.label % style
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT % by label, sort.label, title---for final label calculation
+
+STRINGS { last.label next.extra } % apalike labels are only for the text;
+
+INTEGERS { last.extra.num } % there are none in the bibliography
+
+FUNCTION {initialize.extra.label.stuff} % and hence there is no `longest.label'
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass} % this function came from ASTRON.BST (ARR)
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * "}" * 'label :=
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+% Now that the label is right we sort for real,
+% on sort.label then year then title. This is
+% for the second sorting pass.
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT % by sort.label, year, title---giving final bibliography order
+
+FUNCTION {begin.bib}
+{ preamble$ empty$ % no \etalchar in apalike
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$ % no labels in apalike
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/misc/apasoft.bst b/biblio/bibtex/contrib/misc/apasoft.bst
new file mode 100644
index 0000000000..03cb405916
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/apasoft.bst
@@ -0,0 +1,1225 @@
+% BibTeX `apa' bibliography style (12-sep-98 version)
+% Adapted from the `apalike' style, version 0.99a; for BibTeX version 0.99a.
+% Copying of this file is allowed, provided that if you make any changes at all
+% you name it something other than `apa.bst'.
+% This restriction helps ensure that all copies are identical.
+%
+% This style should be used with the `apalike' LaTeX style (apalike.sty).
+% \cite's come out like "(Jones, 1986)" in the text but there are no labels
+% in the bibliography, and something like "(1986)" comes out immediately
+% after the author. Author (and editor) names appear as last name, comma,
+% initials. A `year' field is required for every entry, and so is either
+% an author (or in some cases, an editor) field or a key field.
+%
+%
+% This style is used in the master-thesis of Sonja Weiblen in psychology.
+% I use this style also in my master-thesis in communication-science.
+% I hope, that other people in the "soft-sciences" use this style and
+% help to improve it.
+% Bernd Porr (porr@neurop2.ruhr-uni-bochum.de)
+%
+%
+%
+% History:
+% 15-sep-86 (SK,OP) Original version, by Susan King and Oren Patashnik.
+% 10-nov-86 (OP) Truncated the sort.key$ string to the correct length
+% in bib.sort.order to eliminate error message.
+% 24-jan-88 (OP) Updated for BibTeX version 0.99a, from alpha.bst 0.99a;
+% apalike now sorts by author, then year, then title;
+% THIS `apalike' VERSION DOES NOT WORK WITH BIBTEX 0.98i.
+% 15-feb-92 (MW) Updated for use with `bibgerman.sty': things like "and"
+% change with the language. Switch the language using the
+% language field:
+% language = "german" | "USenglish" | "english"
+% Then a `\selectlanguage{...}' command will be pushed just
+% before the `\bibitem...' command for the entry in work.
+% 12-sep-98 (BP) - Editors in braces: Dolittle, D. (Edit.)
+% - Change of the position of country and publisher:
+% e.g.: New York: McGraw-Hill.
+% the publisher has always the last position.
+% - All authors are in inverse order:
+% e.g.: Yussen, S.R., and Kane, P. (1935).
+% - Volume with ",":
+% e.g.: J.exp.psych, 18, 451-460.
+
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ citelabel
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ language
+% month not used in apalike
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block before.title after.address}
+
+STRINGS { s t language.state language.temp }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #4 'after.address :=
+ "nostate" 'language.state :=
+}
+
+FUNCTION {language.state.test}
+{
+ 'language.temp :=
+ language.temp language.state =
+ { #1 }
+ { #0 }
+ if$
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ % next if is for use with `new' FUNCTION {after.authors}
+ { output.state after.address =
+ { ": " * write$ }
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+% apalike needs this function because
+% the year has special punctuation;
+% apalike ignores the month
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { write$
+ "\ (" year * extra.label * ")" *
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ language empty$
+ 'skip$
+ { language.state language =
+ 'skip$
+ { "\selectlanguage{\" language * "}" * write$
+ newline$
+ }
+ if$
+ language 'language.state :=
+ }
+ if$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+% new one -> sets what is specified in FUNCTION {output.nonnull}
+% if `before.title 'output.state = ... if$' is true
+FUNCTION {before.publisher}
+{ after.address 'output.state :=
+}
+
+% original -> sets points after (year) and before title
+FUNCTION {after.authors}
+{ new.block }
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "\/}" * }
+ if$
+}
+
+FUNCTION {smallcaps}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\sc " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't := % last name first
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " und " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.key} % this function is just for apalike
+{ empty$
+ { key field.or.null
+ duplicate$ empty$
+ 'skip$
+ { smallcaps }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { " (\btxeditorsshort{.})" * }
+ { " (\btxeditorshort{.})" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { "english" language.state.test
+ "USenglish" language.state.test
+ or
+ { title "t" change.case$ emphasize }
+ { title emphasize }
+ if$
+ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { "\ " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { output.state after.block =
+ { "\Btxvolumeshort{.}" }
+ { "\btxvolumeshort{.}" }
+ if$
+ volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " \btxofseriesshort{.}\ " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "\btxnumbershort{.}" }
+ { "\Btxnumbershort{.}" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " \btxinseriesshort{.}\ " * series emphasize * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { "english" language.state.test
+ "USenglish" language.state.test
+ or
+ { output.state mid.sentence =
+ { edition "l" change.case$ " \btxeditionshort{.}" * }
+ { edition "t" change.case$ " \btxeditionshort{.}" * }
+ if$
+ }
+ { edition " \btxeditionshort{.}" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "\btxpagesshort{.}" pages n.dashify tie.or.space.connect }
+ { "\btxpageshort{.}" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ", " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "\btxchaptershort{.}" }
+ { "english" language.state.test
+ "USenglish" language.state.test
+ or
+ { type "l" change.case$ }
+ { type }
+ if$
+ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "\Btxinshort{.}\ " booktitle emphasize * }
+ { "\Btxinshort{.}\ " format.editors * ": " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ "english" language.state.test
+ "USenglish" language.state.test
+ or
+ { type "t" change.case$ }
+ { type }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "\Btxtechreplong{.}" }
+ 'type
+ if$
+ number empty$
+ { "english" language.state.test
+ "USenglish" language.state.test
+ or
+ { type empty$
+ { pop$ "\btxtechreplong{.}" }
+ { "t" change.case$ }
+ if$
+ }
+ 'skip$
+ if$
+ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ "In" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "\Btxinshort{.}\ "
+ }
+ { "\Btxvolumeshort{.}" volume tie.or.space.connect
+ " \btxofseriesshort{.}\ " *
+ }
+ if$
+ "\cite{" * crossref * "}" * % this is for apalike
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ "\Btxinshort{.}\ " % this is for apalike
+ "\cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ after.authors
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal
+ title missing$
+ { emphasize }
+ 'skip$
+ if$
+ "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ after.authors
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ address output
+ before.publisher
+ publisher "publisher" output.check
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ after.authors
+ format.title "title" output.check
+ new.block
+ howpublished output
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ after.authors
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ address output
+ before.publisher
+ publisher "publisher" output.check
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ after.authors
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ address output
+ before.publisher
+ publisher "publisher" output.check
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ after.authors
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address output % for apalike
+ new.sentence % there's no year
+ organization output % here so things
+ before.publisher
+ publisher output % are simpler
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ after.authors
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ after.authors
+ format.title "title" output.check
+ new.block
+ "\btxmastthesis{.}" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ after.authors
+ format.title output
+ new.block
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ after.authors
+ format.btitle "title" output.check
+ new.block
+ "\btxphdthesis{.}" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output % special for
+ output.year.check % apalike
+ after.authors
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output % for apalike
+ new.sentence % we always output
+ organization output % a nonempty organization
+ before.publisher
+ publisher output % here
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ after.authors
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ after.authors
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"\btxmonjanshort{.}"}
+
+MACRO {feb} {"\btxmonfebshort{.}"}
+
+MACRO {mar} {"\btxmonmarshort{.}"}
+
+MACRO {apr} {"\btxmonaprshort{.}"}
+
+MACRO {may} {"\btxmonmayshort{.}"}
+
+MACRO {jun} {"\btxmonjunshort{.}"}
+
+MACRO {jul} {"\btxmonjulshort{.}"}
+
+MACRO {aug} {"\btxmonaugshort{.}"}
+
+MACRO {sep} {"\btxmonsepshort{.}"}
+
+MACRO {oct} {"\btxmonoctshort{.}"}
+
+MACRO {nov} {"\btxmonnovshort{.}"}
+
+MACRO {dec} {"\btxmondecshort{.}"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+% There are three apalike cases: one person (Jones),
+% two (Jones and de~Bruijn), and more (Jones et~al.).
+% This function is much like format.crossref.editors.
+%
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$ smallcaps
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " \btxetalshort{.}" * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " \btxetalshort{.}" * }
+ { " \btxandshort{.}\ " * s #2 "{vv~}{ll}" format.name$ smallcaps * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ citelabel empty$
+ { author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { author format.lab.names }
+ if$
+ }
+ { citelabel smallcaps }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ citelabel empty$
+ { author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+ }
+ { citelabel smallcaps }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ citelabel empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key, no organization
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { citelabel smallcaps }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label % apalike ignores organization
+ 'author.key.label % for labeling and sorting
+ if$
+ }
+ if$
+ year empty$
+ {""}
+% {", "} % original
+ {" "} % ge„ndert fr Andreas Diplomarbeit 30/04/92
+ if$ % these three lines are
+ * % for apalike, which
+% year field.or.null purify$ #-1 #4 substring$ % uses all four digits % original
+ year field.or.null % ge„ndert fr Andreas Diplomarbeit 19/09/92 um Jahresangaben wie 1988a, 1988b zu erm”glichen
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$ % apalike uses initials
+ s nameptr "{ll{ }}{ ff{ }}{vv{ } }{ jj{ }}" format.name$ 't := % <= here
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+% apalike uses two sorting passes; the first one sets the
+% labels so that the `a's, `b's, etc. can be computed;
+% the second pass puts the references in "correct" order.
+% The presort function is for the first pass. It computes
+% label, sort.label, and title, and then concatenates.
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$ % for
+ 'sort.label := % apalike
+ sort.label % style
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT % by label, sort.label, title---for final label calculation
+
+STRINGS { last.label next.extra } % apalike labels are only for the text;
+
+INTEGERS { last.extra.num } % there are none in the bibliography
+
+FUNCTION {initialize.extra.label.stuff} % and hence there is no `longest.label'
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+% Now that the label is right we sort for real,
+% on sort.label then year then title. This is
+% for the second sorting pass.
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT % by sort.label, year, title---giving final bibliography order
+
+FUNCTION {begin.bib}
+{ preamble$ empty$ % no \etalchar in apalike
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$ % no labels in apalike
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+
diff --git a/biblio/bibtex/contrib/misc/automatica.bst b/biblio/bibtex/contrib/misc/automatica.bst
new file mode 100644
index 0000000000..453da76bc6
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/automatica.bst
@@ -0,0 +1,1280 @@
+% BibTeX standard bibliography style `IFACh' (one of the harvard family)
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1991, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, abbrv.bst, agsm.bst,
+ % dcu.bst or kluwer.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file harvard.tex has the documentation for this style.
+
+% ACKNOWLEDGEMENT:
+% This document is a modified version of agsm.bst by
+% Peter Williams, Key Centre for Design Quality, Sydney University
+% e-mail: peterw@archsci.arch.su.oz.au
+% AUTHOR:
+% Silvano Balemi, Automatic Control Laboratory, ETH Zurich
+% e-mail: balemi@aut.ethz.ch
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ { field.used }
+ { extra.label sort.label list.year }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t f }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ". " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output.yearnull}
+{ 's :=
+ output.state mid.sentence =
+ { ". " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {item.check}
+{ 't :=
+ empty$
+ { "empty " t * " in " * cite$ * warning$ }
+ { skip$ }
+ if$
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {embolden}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\bf " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {quote}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "`" swap$ * "'" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+% { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ { s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ { ", " * t * }
+ { numnames #2 >
+ { "" * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+
+FUNCTION {format.editor.names}
+{ 's :=
+ 'f :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr f format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { "{vv~}{ll}{, jj}{, f.}" editor format.editor.names
+ editor num.names$ #1 >
+ { " (Eds.)" * }
+ { " (Ed.)" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.editors.reverse}
+{ editor empty$
+ { "" }
+ { "{f.~}{vv~}{ll}{, jj}" editor format.editor.names
+ editor num.names$ #1 >
+ { " (Eds.)" * }
+ { " (Ed.)" * }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "Vol." volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " In " * series quote * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edn" * }
+ { edition "t" change.case$ " edn" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pp.~" pages n.dashify * }
+ { "p.~" pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume embolden field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ",~" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle quote * }
+ { "In " format.editors.reverse * ". " * booktitle quote * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "in {\em " journal * "\/} \cite{" * crossref * "}" *}
+ if$
+ }
+ { "In \citeasnoun{" crossref * "}" * }
+ if$
+
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "in "
+ }
+ { "Vol." volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/} \cite{" * crossref * "}" *}
+ if$
+ }
+ { " \citeasnoun{" * crossref * "}" * }
+ if$
+ }
+ { " \citeasnoun{" * crossref * "}" * }
+ if$
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "in {\em " booktitle * "\/}" * " \cite{" * crossref * "}" *}
+ if$
+ }
+ { "In \citeasnoun{" crossref * "}" * }
+ if$
+ }
+ { "In \citeasnoun{" crossref * "}" * }
+ if$
+
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.lab.names.abbr}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #2 >
+ { s #1 "{vv~}{ll}" format.name$ " {\em et al.}" * }
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { s #1 "{vv~}{ll}" format.name$ " {\em et al.}" * }
+ { s #1 "{vv~}{ll}" format.name$ " and " *
+ s #2 "{vv~}{ll}" format.name$ *
+ }
+ if$
+ }
+ if$
+ }
+ { s #1 "{vv~}{ll}" format.name$ }
+ if$
+}
+
+FUNCTION {format.lab.names.full}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+INTEGERS { author.field editor.field organization.field title.field key.field }
+
+FUNCTION {init.field.constants}
+{ #0 'author.field :=
+ #1 'editor.field :=
+ #2 'organization.field :=
+ #3 'title.field :=
+ #4 'key.field :=
+}
+
+FUNCTION {make.list.label}
+{ author.field field.used =
+ { format.authors }
+ { editor.field field.used =
+ { format.editors }
+ { organization.field field.used =
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ { title.field field.used =
+ { format.btitle }
+ { key.field field.used =
+ { key #3 text.prefix$ }
+ { "Internal error :001 on " cite$ * " label" * warning$ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {make.full.label}
+{ author.field field.used =
+ { author format.lab.names.full }
+ { editor.field field.used =
+ { editor format.lab.names.full }
+ { organization.field field.used =
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ { title.field field.used =
+ { format.btitle }
+ { key.field field.used =
+ { key #3 text.prefix$ }
+ { "Internal error :001 on " cite$ * " label" * warning$ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {make.abbr.label}
+{ author.field field.used =
+ { author format.lab.names.abbr }
+ { editor.field field.used =
+ { editor format.lab.names.abbr }
+ { organization.field field.used =
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ { title.field field.used =
+ { format.btitle }
+ { key.field field.used =
+ { key #3 text.prefix$ }
+ { "Internal error :001 on " cite$ * " label" * warning$ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\harvarditem[" write$
+ make.abbr.label write$
+ "]{" write$
+ make.abbr.label write$
+ "}{" write$
+ list.year write$
+ "}{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {list.label.output}
+{ make.list.label " " * write$
+}
+
+FUNCTION {article}
+{ output.bibitem
+ list.label.output
+ " (" list.year * ")" * output.yearnull
+ author "author" item.check
+ title.field field.used =
+ { skip$ }
+ { format.title quote "title" output.check }
+ if$
+ crossref missing$
+ { journal emphasize "journal" duplicate$ item.check
+ pages empty$
+ {
+ output
+ }
+ {
+ " " *
+ format.vol.num.pages * output
+ }
+ if$
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ list.label.output
+ " (" list.year * ")" * output.yearnull
+ author empty$
+ { editor "author and editor" item.check }
+ { crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ title.field field.used =
+ { skip$ }
+ { format.btitle "title" output.check }
+ if$
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ format.edition output
+ publisher "publisher" output.check
+ address output
+ }
+ { format.book.crossref output.nonnull
+ format.edition output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ list.label.output
+ " (" list.year * ")" * output.yearnull
+ title.field field.used =
+ { skip$ }
+ { format.title quote "title" output.check }
+ if$
+ howpublished output
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ list.label.output
+ " (" list.year * ")" * output.yearnull
+ author empty$
+ { editor "author and editor" item.check }
+ { crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ title.field field.used =
+ { skip$ }
+ { format.btitle "title" output.check }
+ if$
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ format.edition output
+ publisher "publisher" output.check
+ address output
+ }
+ { format.book.crossref output.nonnull
+ format.edition output
+ }
+ if$
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ list.label.output
+ " (" list.year * ")" * output.yearnull
+ title.field field.used =
+ { skip$ }
+ { format.title "title" output.check }
+ if$
+ author "author" item.check
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.edition output
+ format.bvolume output
+ format.number.series output
+ publisher "publisher" output.check
+ address output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ }
+ if$
+ format.chapter.pages output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ list.label.output
+ " (" list.year * ")" * output.yearnull
+ title.field field.used =
+ { skip$ }
+ { format.title "title" output.check }
+ if$
+ author "author" item.check
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { organization output
+ publisher output
+ }
+ { organization output
+ publisher output
+ address output.nonnull
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ }
+ if$
+ format.pages output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ list.label.output
+ " (" list.year * ")" * output.yearnull
+ title.field field.used =
+ { skip$ }
+ { format.btitle "title" output.check }
+ if$
+ format.edition output
+ author empty$
+ { organization empty$
+ { address output }
+ 'skip$
+ if$
+ }
+ { organization output
+ address output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ list.label.output
+ " (" list.year * ")" * output.yearnull
+ author "author" item.check
+ title.field field.used =
+ { skip$ }
+ { format.title "title" output.check }
+ if$
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ list.label.output
+ " (" list.year * ")" * output.yearnull
+ title.field field.used =
+ { skip$ }
+ { format.title quote output }
+ if$
+ howpublished output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ list.label.output
+ " (" list.year * ")" * output.yearnull
+ author "author" item.check
+ title.field field.used =
+ { skip$ }
+ { title "title" output.check }
+ if$
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ list.label.output
+ " (" list.year * ")" * output.yearnull
+ title.field field.used =
+ { skip$ }
+ { format.btitle "title" output.check }
+ if$
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { skip$ }
+ { organization output
+ }
+ if$
+ publisher output
+ }
+ { editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ address output.nonnull
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ list.label.output
+ " (" list.year * ")" * output.yearnull
+ author "author" item.check
+ title.field field.used =
+ { skip$ }
+ { format.title "title" output.check }
+ if$
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ list.label.output
+ " (" list.year * ")" * output.yearnull
+ author "author" item.check
+ title.field field.used =
+ { skip$ }
+ { format.title "title" output.check }
+ if$
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+EXECUTE {init.field.constants}
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { title.field 'field.used := }
+ { key.field 'field.used := }
+ if$
+ }
+ { author.field 'field.used := }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { title.field 'field.used := }
+ { key.field 'field.used := }
+ if$
+ }
+ { editor.field 'field.used := }
+ if$
+ }
+ { author.field 'field.used := }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { title.field 'field.used := }
+ { organization.field 'field.used := }
+ if$
+ }
+ { key.field 'field.used := }
+ if$
+ }
+ { author.field 'field.used := }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { title.field 'field.used := }
+ { organization.field 'field.used := }
+ if$
+ }
+ { key.field 'field.used := }
+ if$
+ }
+ { editor.field 'field.used := }
+ if$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ make.abbr.label
+ title.field field.used =
+ { sort.format.title }
+ { sortify }
+ if$
+ year field.or.null purify$ #-1 #4 substring$ sortify
+ *
+ 'sort.label :=
+}
+
+FUNCTION {first.presort}
+{ calc.label
+ sort.label
+ title.field field.used =
+ { skip$ }
+ { " "
+ *
+ make.list.label sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {first.presort}
+
+SORT
+
+STRINGS { last.sort.label next.extra }
+
+INTEGERS { last.extra.num }
+
+FUNCTION {initialize.last.extra.num}
+{ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ year empty$
+ { "n.d." extra.label emphasize * 'list.year := }
+ { year extra.label emphasize * 'list.year := }
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.last.extra.num}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {second.presort}
+{ make.list.label
+ title.field field.used =
+ { sort.format.title }
+ { sortify }
+ if$
+ " "
+ *
+ list.year field.or.null sortify
+ *
+ " "
+ *
+ title.field field.used =
+ { skip$ }
+ { title field.or.null
+ sort.format.title
+ *
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {second.presort}
+
+SORT
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{xx}" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/misc/bbs.bst b/biblio/bibtex/contrib/misc/bbs.bst
new file mode 100644
index 0000000000..ff4df8fdaf
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/bbs.bst
@@ -0,0 +1,1162 @@
+%%% ====================================================================
+%%% @BibTeX-style-file{
+%%% author = "Alan Rogers",
+%%% version = "1.1",
+%%% date = "Feb 15, 1991",
+%%% filename = "bbs.bst",
+%%% address = "Dept of Anthropology, University of Utah,
+%%% Salt Lake City, UT 84112",
+%%% checksum = "63919 1162 3279 24277",
+%%% email = "rogers@anthro.utah.edu",
+%%% supported = "no",
+%%% docstring = "The file produces bibliographies more or
+%%% less in the format of Behavioral and Brain
+%%% Sciences. It was adapted from apalike.bst,
+%%% incorporating features of Sake J.
+%%% Hogeveen's `astron.bst'.
+%%%
+%%% Usage: \documentstyle[astron]{...}
+%%% ...
+%%% \bibliographystyle{bbs}
+%%% ...
+%%%
+%%% The \documentstyle command above invokes
+%%% Hogeveen's `astron.sty', which must be in
+%%% TeX's search path.
+%%%
+%%% The modifications implement `\cite*{}',
+%%% which generates references in short form.
+%%% For example, `Rogers \cite*{...}' would
+%%% produce `Rogers (1992)'."
+%%% }
+%%% ====================================================================
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% BibTeX `apalike' bibliography style (24-Jan-88 version)
+% Adapted from the `alpha' style, version 0.99a; for BibTeX version 0.99a.
+% Copyright (C) 1988, all rights reserved.
+% Copying of this file is allowed, provided that if you make any changes at all
+% you name it something other than `apalike.bst'.
+% This restriction helps ensure that all copies are identical.
+% Differences between this style and `alpha' are generally heralded by a `%'.
+% The file btxbst.doc has the documentation for alpha.bst.
+%
+% This style should be used with the `apalike' LaTeX style (apalike.sty).
+% \cite's come out like "(Jones, 1986)" in the text but there are no labels
+% in the bibliography, and something like "(1986)" comes out immediately
+% after the author. Author (and editor) names appear as last name, comma,
+% initials. A `year' field is required for every entry, and so is either
+% an author (or in some cases, an editor) field or a key field.
+%
+% Editorial note:
+% Many journals require a style like `apalike', but I strongly, strongly,
+% strongly recommend that you not use it if you have a choice---use something
+% like `plain' instead. Mary-Claire van Leunen (A Handbook for Scholars,
+% Knopf, 1979) argues convincingly that a style like `plain' encourages better
+% writing than one like `apalike'. Furthermore the strongest arguments for
+% using an author-date style like `apalike'---that it's "the most practical"
+% (The Chicago Manual of Style, University of Chicago Press, thirteenth
+% edition, 1982, pages 400--401)---fall flat on their face with the new
+% computer-typesetting technology. For instance page 401 anachronistically
+% states "The chief disadvantage of [a style like `plain'] is that additions
+% or deletions cannot be made after the manuscript is typed without changing
+% numbers in both text references and list." LaTeX sidesteps the disadvantage.
+%
+% History:
+% 15-sep-86 (SK,OP) Original version, by Susan King and Oren Patashnik.
+% 10-nov-86 (OP) Truncated the sort.key$ string to the correct length
+% in bib.sort.order to eliminate error message.
+% 24-jan-88 (OP) Updated for BibTeX version 0.99a, from alpha.bst 0.99a;
+% apalike now sorts by author, then year, then title;
+% THIS `apalike' VERSION DOES NOT WORK WITH BIBTEX 0.98i.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+% month not used in apalike
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+% apalike needs this function because
+% the year has special punctuation;
+% apalike ignores the month
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { write$
+ " (" year * extra.label * ")" *
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't := % last name first
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " \& " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.ed.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f. }{vv~}{ll}{, jj}" format.name$ 't := % last name first
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " \& " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.key} % this function is just for apalike
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { output.state mid.sentence =
+ {"ed. " editor format.ed.names * }
+ { editor format.ed.names ", ed." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { "(" edition "l" change.case$ * " ed.)" * }
+ { "(" edition "t" change.case$ * " ed.)" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In: " booktitle emphasize * }
+ { "In: " booktitle emphasize * ", " * format.editors * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ "In" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "\cite{" * crossref * "}" * % this is for apalike
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ "In" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ format.edition output
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+% address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ howpublished output
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ format.edition output
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+% address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.edition output
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+% address output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+% address output % for apalike
+ new.sentence % there's no year
+ organization output % here so things
+ publisher output % are simpler
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ format.edition output
+ organization address new.block.checkb
+ organization output
+% address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+% address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title output
+ new.block
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+% address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+% address output % for apalike
+ new.sentence % we always output
+ organization output % a nonempty organization
+ publisher output % here
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+% address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+% There are three apalike cases: one person (Jones),
+% two (Jones and de~Bruijn), and more (Jones et~al.).
+% This function is much like format.crossref.editors.
+%
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key, no organization
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label} % this function came from ASTRON.BST (ARR)
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label % apalike ignores organization
+ 'author.key.label % for labeling and sorting
+ if$
+ }
+ if$
+ "\protect\astroncite{" swap$ * "}{" % these three lines are
+ * % for apalike, which
+ year field.or.null purify$ #-1 #4 substring$ % uses all four digits
+ * % the mathing closing "}" comes in at the reverse.pass
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$ % apalike uses initials
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't := % <= here
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+% apalike uses two sorting passes; the first one sets the
+% labels so that the `a's, `b's, etc. can be computed;
+% the second pass puts the references in "correct" order.
+% The presort function is for the first pass. It computes
+% label, sort.label, and title, and then concatenates.
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$ % for
+ 'sort.label := % apalike
+ sort.label % style
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT % by label, sort.label, title---for final label calculation
+
+STRINGS { last.label next.extra } % apalike labels are only for the text;
+
+INTEGERS { last.extra.num } % there are none in the bibliography
+
+FUNCTION {initialize.extra.label.stuff} % and hence there is no `longest.label'
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass} % this function came from ASTRON.BST (ARR)
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * "}" * 'label :=
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+% Now that the label is right we sort for real,
+% on sort.label then year then title. This is
+% for the second sorting pass.
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT % by sort.label, year, title---giving final bibliography order
+
+FUNCTION {begin.bib}
+{ preamble$ empty$ % no \etalchar in apalike
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$ % no labels in apalike
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/misc/cbe.bst b/biblio/bibtex/contrib/misc/cbe.bst
new file mode 100644
index 0000000000..85c176fa86
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/cbe.bst
@@ -0,0 +1,1161 @@
+%%% ====================================================================
+%%% @BibTeX-style-file{
+%%% author = "Alan Rogers",
+%%% version = "1.1",
+%%% date = "1990",
+%%% filename = "cbe.bst",
+%%% address = "Dept of Anthropology, University of Utah,
+%%% Salt Lake City, UT 84112",
+%%% checksum = "13520 1161 3284 24308",
+%%% email = "rogers@anthro.utah.edu",
+%%% supported = "no",
+%%% docstring = "The file produces bibliographies more or
+%%% less in the Council of Biology Editors
+%%% format, which is used by Evolution,
+%%% American Naturalist, & lots of other
+%%% journals. It was adapted from apalike.bst,
+%%% incorporating features of Sake J.
+%%% Hogeveen's `astron.bst'.
+%%%
+%%% Usage: \documentstyle[astron]{...}
+%%% ...
+%%% \bibliographystyle{cbe}
+%%% ...
+%%%
+%%% The \documentstyle command above invokes
+%%% Hogeveen's `astron.sty', which must be in
+%%% TeX's search path.
+%%%
+%%% The modifications implement `\cite*{}',
+%%% which generates references in short form.
+%%% For example, `Rogers \cite*{...}' would
+%%% produce `Rogers (1992)'."
+%%% }
+%%% ====================================================================
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% BibTeX `apalike' bibliography style (24-Jan-88 version)
+% Adapted from the `alpha' style, version 0.99a; for BibTeX version 0.99a.
+% Copyright (C) 1988, all rights reserved.
+% Copying of this file is allowed, provided that if you make any changes at all
+% you name it something other than `apalike.bst'.
+% This restriction helps ensure that all copies are identical.
+% Differences between this style and `alpha' are generally heralded by a `%'.
+% The file btxbst.doc has the documentation for alpha.bst.
+%
+% This style should be used with the `apalike' LaTeX style (apalike.sty).
+% \cite's come out like "(Jones, 1986)" in the text but there are no labels
+% in the bibliography, and something like "(1986)" comes out immediately
+% after the author. Author (and editor) names appear as last name, comma,
+% initials. A `year' field is required for every entry, and so is either
+% an author (or in some cases, an editor) field or a key field.
+%
+% Editorial note:
+% Many journals require a style like `apalike', but I strongly, strongly,
+% strongly recommend that you not use it if you have a choice---use something
+% like `plain' instead. Mary-Claire van Leunen (A Handbook for Scholars,
+% Knopf, 1979) argues convincingly that a style like `plain' encourages better
+% writing than one like `apalike'. Furthermore the strongest arguments for
+% using an author-date style like `apalike'---that it's "the most practical"
+% (The Chicago Manual of Style, University of Chicago Press, thirteenth
+% edition, 1982, pages 400--401)---fall flat on their face with the new
+% computer-typesetting technology. For instance page 401 anachronistically
+% states "The chief disadvantage of [a style like `plain'] is that additions
+% or deletions cannot be made after the manuscript is typed without changing
+% numbers in both text references and list." LaTeX sidesteps the disadvantage.
+%
+% History:
+% 15-sep-86 (SK,OP) Original version, by Susan King and Oren Patashnik.
+% 10-nov-86 (OP) Truncated the sort.key$ string to the correct length
+% in bib.sort.order to eliminate error message.
+% 24-jan-88 (OP) Updated for BibTeX version 0.99a, from alpha.bst 0.99a;
+% apalike now sorts by author, then year, then title;
+% THIS `apalike' VERSION DOES NOT WORK WITH BIBTEX 0.98i.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+% month not used in apalike
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+% apalike needs this function because
+% the year has special punctuation;
+% apalike ignores the month
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { write$
+ " " year * extra.label *
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {smallcaps}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\sc " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't := % last name first
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.editor.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f. }{vv~}{ll}{, jj}" format.name$ 't := % last name first
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names smallcaps }
+ if$
+}
+
+FUNCTION {format.key} % this function is just for apalike
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.editor.names
+ editor num.names$ #1 >
+ { " (eds.)" * }
+ { " (ed.)" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ title %emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pp." pages n.dashify tie.or.space.connect }
+ { "p." pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ { "" }
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+% { "{\em In} " booktitle emphasize * }
+% { "{\em In} " format.editors * ", " * booktitle emphasize * }
+ { "{\em In} " booktitle * }
+ { "{\em In} " format.editors * ", " * booktitle * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ "In" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "\cite{" * crossref * "}" * % this is for apalike
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ "In" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize " " * format.vol.num.pages * output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ howpublished output
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ format.pages output
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address output % for apalike
+ new.sentence % there's no year
+ organization output % here so things
+ publisher output % are simpler
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title output
+ new.block
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output % for apalike
+ new.sentence % we always output
+ organization output % a nonempty organization
+ publisher output % here
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+% There are three apalike cases: one person (Jones),
+% two (Jones and de~Bruijn), and more (Jones et~al.).
+% This function is much like format.crossref.editors.
+%
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key, no organization
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label} % this function came from ASTRON.BST (ARR)
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label % apalike ignores organization
+ 'author.key.label % for labeling and sorting
+ if$
+ }
+ if$
+ "\protect\astroncite{" swap$ * "}{" % these three lines are
+ * % for apalike, which
+ year field.or.null purify$ #-1 #4 substring$ % uses all four digits
+ * % the mathing closing "}" comes in at the reverse.pass
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$ % apalike uses initials
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't := % <= here
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+% apalike uses two sorting passes; the first one sets the
+% labels so that the `a's, `b's, etc. can be computed;
+% the second pass puts the references in "correct" order.
+% The presort function is for the first pass. It computes
+% label, sort.label, and title, and then concatenates.
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$ % for
+ 'sort.label := % apalike
+ sort.label % style
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT % by label, sort.label, title---for final label calculation
+
+STRINGS { last.label next.extra } % apalike labels are only for the text;
+
+INTEGERS { last.extra.num } % there are none in the bibliography
+
+FUNCTION {initialize.extra.label.stuff} % and hence there is no `longest.label'
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass} % this function came from ASTRON.BST (ARR)
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * "}" * 'label :=
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+% Now that the label is right we sort for real,
+% on sort.label then year then title. This is
+% for the second sorting pass.
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT % by sort.label, year, title---giving final bibliography order
+
+FUNCTION {begin.bib}
+{ preamble$ empty$ % no \etalchar in apalike
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$ % no labels in apalike
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/misc/chicagoa.bst b/biblio/bibtex/contrib/misc/chicagoa.bst
new file mode 100644
index 0000000000..d87ca40299
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/chicagoa.bst
@@ -0,0 +1,1683 @@
+%%% ====================================================================
+%%% @BibTeX-style-file{
+%%% author = "Glenn Paulley",
+%%% version = "4",
+%%% date = "28 August 1992",
+%%% time = "10:24:38 199",
+%%% filename = "chicagoa.bst",
+%%% address = "Data Structuring Group
+%%% Department of Computer Science
+%%% University of Waterloo
+%%% Waterloo, Ontario, Canada
+%%% N2L 3G1",
+%%% telephone = "(519) 885-1211",
+%%% FAX = "(519) 885-1208",
+%%% checksum = "62428 1684 5231 38311",
+%%% email = "gnpaulle@bluebox.uwaterloo.ca",
+%%% codetable = "ISO/ASCII",
+%%% keywords = "",
+%%% supported = "yes",
+%%% abstract = "A BibTeX bibliography style that follows the
+%%% `B' reference style of the 13th Edition of
+%%% the Chicago Manual of Style. Supports annotated
+%%% bibliographies through the BibTeX field
+%%% `annotation'. A detailed feature list is given
+%%% below.",
+%%% docstring = "The checksum field above contains a CRC-16
+%%% checksum as the first value, followed by the
+%%% equivalent of the standard UNIX wc (word
+%%% count) utility output of lines, words, and
+%%% characters. This is produced by Robert
+%%% Solovay's checksum utility.",
+%%% }
+%%% ====================================================================
+%
+% "Chicago" BibTeX style, chicagoa.bst - Chicago style with annotations
+% =====================================================================
+%
+% BibTeX `chicagoa' style file for BibTeX version 0.99c, LaTeX version 2.09
+% Place it in a file called chicagoa.bst in the BibTeX search path.
+% You need to include chicago.sty as a \documentstyle option.
+% (Placing it in the same directory as the LaTeX document should also work.)
+% This "chicago" style is based on newapa.bst (American Psych. Assoc.)
+% found at ymir.claremont.edu. Annotation support added 07/09/92.
+% Modifications are loosely based on Chicago Manual of Style.
+%
+% Citation format: (author-last-name year)
+% (author-last-name and author-last-name year)
+% (author-last-name, author-last-name, and author-last-name year)
+% (author-last-name et al. year)
+% (author-last-name)
+% author-last-name (year)
+% (author-last-name and author-last-name)
+% (author-last-name et al.)
+% (year) or (year,year)
+% year or year,year
+%
+% Reference list ordering: alphabetical by author or whatever passes
+% for author in the absence of one.
+%
+% This BibTeX style has support for abbreviated author lists and for
+% year-only citations. This is done by having the citations
+% actually look like
+%
+% \citeauthoryear{full-author-info}{abbrev-author-info}{year}
+%
+% The LaTeX style has to have the following (or similar)
+%
+% \let\@internalcite\cite
+% \def\fullcite{\def\citeauthoryear##1##2##3{##1, ##3}\@internalcite}
+% \def\fullciteA{\def\citeauthoryear##1##2##3{##1}\@internalcite}
+% \def\shortcite{\def\citeauthoryear##1##2##3{##2, ##3}\@internalcite}
+% \def\shortciteA{\def\citeauthoryear##1##2##3{##2}\@internalcite}
+% \def\citeyear{\def\citeauthoryear##1##2##3{##3}\@internalcite}
+%
+% These TeX macro definitions are found in chicago.sty. Additional
+% commands to manipulate different components of a citation can be defined
+% so that, for example, you can list author's names without parentheses
+% if using a citation as a noun or object in a sentence.
+%
+% This file was originally copied from newapa.bst at ymir.claremont.edu.
+%
+% Features of chicago.bst:
+% =======================
+%
+% - supports an "annotation" field for annotated bibliographies.
+% - full names used in citations, but abbreviated citations are available
+% (see above)
+% - if an entry has a "month", then the month and year are also printed
+% as part of that bibitem.
+% - all conjunctions use "and" instead of "\&"
+% - major modification from Chicago Manual of Style (13th ed.) is that
+% only the first author in a reference appears last name first-
+% additional authors appear as J. Q. Public.
+% - pages are listed as "pp. xx-xx" in all entry types except
+% article entries.
+% - book, inbook, and manual use "location: publisher" (or organization)
+% for address and publisher. All other types list publishers separately.
+% - "pp." are used to identify page numbers for all entry types except
+% articles.
+% - organization is used as a citation label if neither author nor editor
+% is present (for manuals).
+% - "et al." is used for long author and editor lists, or when "others"
+% is used.
+%
+% Modifications and bug fixes from newapa.bst:
+% ===========================================
+%
+% - added month, year to bib entries if month is present
+% - fixed bug with In proceedings, added necessary comma after title
+% - all conjunctions changed to "and" from "\&"
+% - fixed bug with author labels in my.full.label: "et al." now is
+% generated when "others" is an author name
+% - major modification from Chicago Manual of Style (13th ed.) is that
+% only the first author in a reference appears last name first-
+% additional authors appear as J. Q. Public.
+% - pages are listed as "pp. xx-xx" in all entry types except
+% article entries. Unnecessary (IMHO) "()" around page numbers
+% were removed, and page numbers now don't end with a period.
+% - created chicago.sty for use with this bibstyle (required).
+% - fixed bugs in FUNCTION {format.vol.num.pages} for missing volume,
+% number, and /or pages. Renamed to format.jour.vol.
+% - fixed bug in formatting booktitles: additional period an error if
+% book has a volume.
+% - fixed bug: editors usually given redundant period before next clause
+% (format.editors.dot) removed.
+% - added label support for organizations, if both author and editor
+% are missing (from alpha.bst). If organization is too long, then
+% the key field is used for abbreviated citations.
+% - In proceedings or books of several volumes, no comma was written
+% between the "Volume x" and the page numbers (this was intentional
+% in newapa.bst). Fixed.
+% - Some journals may not have volumes/numbers, only month/year (eg.
+% IEEE Computer). Fixed bug in article style that assumed volume/number
+% was always present.
+%
+% Original documentation for newapa.sty:
+% =====================================
+%
+% This version was made by modifying the master file made by
+% Oren Patashnik (PATASHNIK@SCORE.STANFORD.EDU), and the 'named' BibTeX
+% style of Peter F. Patel-Schneider.
+%
+% Copyright (C) 1985, all rights reserved.
+% Copying of this file is authorized only if either
+% (1) you make absolutely no changes to your copy, including name, or
+% (2) if you do make changes, you name it something other than 'newapa.bst'.
+% There are undoubtably bugs in this style. If you make bug fixes,
+% improvements, etc. please let me know. My e-mail address is:
+% spencer@cgrg.ohio.state.edu or 71160.3141@compuserve.com
+%
+% This style was made from 'plain.bst', 'named.bst', and 'apalike.bst',
+% with lots of tweaking to make it look like APA style, along with tips
+% from Young Ryu and Brian Reiser's modifications of 'apalike.bst'.
+
+ENTRY
+ { address
+ annotation
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label.year extra.label sort.year sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t u }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+% Use a colon to separate output. Used only for address/publisher
+% combination in book/inbook types, address/institution for manuals,
+% and organization:publisher for proceedings (inproceedings).
+%
+FUNCTION {output.nonnull.colon}
+{ 's :=
+ output.state mid.sentence =
+ { ": " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.colon}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull.colon
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check.colon}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull.colon
+ if$
+}
+
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { write$
+ " (" year * extra.label *
+ month empty$
+ { ")" * }
+ { ", " * month * ")" * }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+%
+% Emphasize the top string on the stack.
+%
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+%
+% Emphasize the top string on the stack, but add a trailing space.
+%
+FUNCTION {emphasize.space}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "\/}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+%
+% Format bibliographical entries with the first author last name first,
+% and subsequent authors with initials followed by last name.
+% All names are formatted in this routine.
+%
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr := % nameptr = 1;
+ s num.names$ 'numnames := % numnames = num.name$(s);
+ numnames 'namesleft :=
+ { namesleft #0 > }
+
+ { nameptr #1 =
+ {s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't := }
+ {s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := }
+ if$
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * } % from Chicago Manual of Style
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr := % nameptr += 1;
+ namesleft #1 - 'namesleft := % namesleft =- 1;
+ }
+ while$
+}
+
+FUNCTION {my.full.label}
+{ 's :=
+ #1 'nameptr := % nameptr = 1;
+ s num.names$ 'numnames := % numnames = num.name$(s);
+ numnames 'namesleft :=
+ { namesleft #0 > }
+
+ { s nameptr "{vv~}{ll}" format.name$ 't := % get the next name
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * } % from Chicago Manual of Style
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr := % nameptr += 1;
+ namesleft #1 - 'namesleft := % namesleft =- 1;
+ }
+ while$
+
+}
+
+FUNCTION {format.names.fml}
+%
+% Format names in "familiar" format, with first initial followed by
+% last name. Like format.names, ALL names are formatted.
+%
+{ 's :=
+ #1 'nameptr := % nameptr = 1;
+ s num.names$ 'numnames := % numnames = num.name$(s);
+ numnames 'namesleft :=
+ { namesleft #0 > }
+
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+% { " \& " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr := % nameptr += 1;
+ namesleft #1 - 'namesleft := % namesleft =- 1;
+ }
+ while$
+}
+
+FUNCTION {format.annotation}
+{ annotation empty$
+ { "" }
+ { " \begin{quotation}\noindent "
+ annotation
+ * " \end{quotation} " *
+ }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+%
+% Format editor names for use in the "in" types: inbook, incollection,
+% inproceedings: first initial, then last names. When editors are the
+% LABEL for an entry, then format.editor is used which lists editors
+% by last name first.
+%
+FUNCTION {format.editors.fml}
+{ editor empty$
+ { "" }
+ { editor format.names.fml
+ editor num.names$ #1 >
+ { " (Eds.)" * }
+ { " (Ed.)" * }
+ if$
+ }
+ if$
+}
+
+%
+% Format editor names for use in labels, last names first.
+%
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { " (Eds.)" * }
+ { " (Ed.)" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+% Note that the APA style requres case changes
+% in article titles. The following does not
+% change cases. If you perfer it, uncomment the
+% following and comment out the above.
+
+%FUNCTION {format.title}
+%{ title empty$
+% { "" }
+% { title }
+% if$
+%}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ edition empty$
+ { title emphasize }
+ { title empty$
+ { title emphasize }
+ { volume empty$ % gnp - check for volume, then don't need period
+ { "{\em " title * "\/} (" * edition * " ed.)" * "." * }
+ { "{\em " title * "\/} (" * edition * " ed.)" * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.emphasize.booktitle}
+{ edition empty$
+ { booktitle emphasize }
+ { booktitle empty$
+ { booktitle emphasize }
+ { volume empty$ % gnp - extra period an error if book has a volume
+ { "{\em " booktitle * "\/} (" * edition * " ed.)" * "." *}
+ { "{\em " booktitle * "\/} (" * edition * " ed.)" * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "Volume" volume tie.or.space.connect % gnp - changed to mixed case
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "Number" } % gnp - changed to mixed case always
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pp.\ " pages n.dashify tie.or.space.connect } % gnp - removed ()
+ { "pp.\ " pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+% By Young (and Spencer)
+% GNP - fixed bugs with missing volume, number, and/or pages
+%
+% Format journal, volume, number, pages for article types.
+%
+FUNCTION {format.jour.vol}
+{ journal empty$
+ { "no journal in " cite$ * warning$
+ "" }
+ { journal emphasize.space }
+ if$
+ number empty$
+ { volume empty$
+ { "no number and no volume in " cite$ * warning$
+ "" * }
+ { "~{\em " * Volume * "}" * }
+ if$
+ }
+ { volume empty$
+ {"no volume for " cite$ * warning$
+ "~(" * number * ")" * }
+ { "~" *
+ volume emphasize.space
+ "(" * number * ")" * * }
+ if$
+ }
+ if$
+ pages empty$
+ {"page numbers missing in " cite$ * warning$
+ "" * } % gnp - place a null string on the stack for output
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ", " * pages n.dashify * } % gnp - removed pp. for articles
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "Chapter" } % gnp - changed to mixed case
+ { type "t" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ {"page numbers missing in " cite$ * warning$} % gnp - added check
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " format.emphasize.booktitle * }
+ { "In " format.editors.fml * ", " * format.emphasize.booktitle * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ "See"
+ "\citeN{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect % gnp - changed to mixed case
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \citeN{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ "See"
+ " \citeN{" * crossref * "}" *
+}
+
+% format.lab.names:
+%
+% determines "short" names for the abbreviated author information.
+% "Long" labels are created in calc.label, using the routine my.full.label
+% to format author and editor fields.
+%
+% There are 4 cases for labels. (n=3 in the example)
+% a) one author Foo
+% b) one to n Foo, Bar and Baz
+% c) use of "and others" Foo, Bar et al.
+% d) more than n Foo et al.
+%
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #2 > % change number to number of others allowed before
+ % forcing "et al".
+ { s #1 "{vv~}{ll}" format.name$ " et~al." * }
+ {
+ numnames #1 - 'namesleft :=
+ #2 'nameptr :=
+ s #1 "{vv~}{ll}" format.name$
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * s nameptr "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ { ", " * s nameptr "{vv~}{ll}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { "no key, author in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { "no key, editor in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+%
+% added - gnp. Provide label formatting by organization if author is null.
+%
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "no key, author or organization in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { organization }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+%
+% added - gnp. Provide label formatting by organization if editor is null.
+%
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "no key, editor or organization in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { organization }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "no key, author, or editor in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+%
+% Changed - GNP. See also author.organization.sort, editor.organization.sort
+% Form label for BibTeX entry. The classification of which fields are used
+% for which type of entry (book, inbook, etc.) are taken from alpha.bst.
+% The change here from newapa is to also include organization as a
+% citation label if author or editor is missing.
+%
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+
+ author empty$ % generate the full label citation information.
+ { editor empty$
+ { organization empty$
+ { "no author, editor, or organization in " cite$ * warning$
+ "??" }
+ { organization }
+ if$
+ }
+ { editor my.full.label }
+ if$
+ }
+ { author my.full.label }
+ if$
+
+% leave label on the stack, to be popped when required.
+
+ "}{" * swap$ * "}{" *
+% year field.or.null purify$ #-1 #4 substring$ *
+%
+% save the year for sort processing afterwards (adding a, b, c, etc.)
+%
+ year field.or.null purify$ #-1 #4 substring$
+ 'label.year :=
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+
+ "\bibitem[\protect\citeauthoryear{" write$
+ calc.label write$
+ sort.year write$
+ "}]{" write$
+
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ crossref missing$
+ { format.jour.vol output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+ format.annotation write$
+ newline$
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors
+ "author and editor" output.check }
+ { format.authors
+ output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % added
+ new.block
+ format.btitle
+ "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ address output
+ publisher "publisher" output.check.colon
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+ format.annotation write$
+ newline$
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ howpublished output
+ address output
+ new.block
+ note output
+ fin.entry
+ format.annotation write$
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors
+ "author and editor" output.check
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % added
+ new.block
+ format.btitle
+ "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages
+ "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ address output
+ publisher
+ "publisher" output.check.colon
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+ format.annotation write$
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle
+ "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output % gnp - was special.output.nonnull
+% left out comma before page numbers
+ new.sentence
+ address output
+ publisher "publisher" output.check.colon
+ }
+ { format.incoll.inproc.crossref
+ output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+ format.annotation write$
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle
+ "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ address output
+ format.pages output
+ new.sentence
+ organization output
+ publisher output.colon
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+ format.annotation write$
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { editor empty$
+ { organization "organization" output.check
+ organization format.key output } % if all else fails, use key
+ { format.editors "author and editor" output.check }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ output.year.check % added
+ new.block
+ format.btitle
+ "title" output.check
+ organization address new.block.checkb
+% Reversed the order of "address" and "organization", added the ":".
+ address output
+ organization "organization" output.check.colon
+% address output
+% ":" output
+% organization output
+ new.block
+ note output
+ fin.entry
+ format.annotation write$
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+ format.annotation write$
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output % added
+ output.year.check % added
+ title howpublished new.block.checkb
+ format.title output
+ new.block
+ howpublished output
+ new.block
+ note output
+ fin.entry
+ format.annotation write$
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.btitle
+ "title" output.check
+ new.block
+ "Ph.\ D. thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+ format.annotation write$
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output
+ organization format.key output } % gnp - changed from author format.key
+ { format.editors output.nonnull }
+ if$
+% author format.key output % gnp - removed (should be either
+% editor or organization
+ output.year.check % added (newapa)
+ new.block
+ format.btitle
+ "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output
+ new.sentence
+ organization output
+ publisher output.colon
+ new.block
+ note output
+ fin.entry
+ format.annotation write$
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution
+ "institution" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+ format.annotation write$
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+ format.annotation write$
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {ai} {"Artificial Intelligence"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { " et~al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ "" }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { "missing author in " cite$ * warning$
+ editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+%
+% added - GNP. Stack author or organization for sorting (from alpha.bst).
+% Unlike alpha.bst, we need entire names, not abbreviations
+%
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { organization sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+%
+% added - GNP. Stack editor or organization for sorting (from alpha.bst).
+% Unlike alpha.bst, we need entire names, not abbreviations
+%
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { organization sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+%
+% Presort creates the bibentry's label via a call to calc.label, and then
+% sorts the entries based on entry type. Chicago.bst adds support for
+% including organizations as the sort key; the following is stolen from
+% alpha.bst.
+%
+{ calc.label sortify % recalculate bibitem label
+ year field.or.null purify$ #-1 #4 substring$ * % add year
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ #1 entry.max$ substring$ % added for newapa
+ 'sort.label := % added for newapa
+ sort.label % added for newapa
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT % by label, year, author/editor, title
+
+STRINGS { last.label next.extra }
+
+INTEGERS { last.extra.num }
+
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+%
+% Pass through all entries, comparing current entry to last one.
+% Need to concatenate year to the stack (done by calc.label) to determine
+% if two entries are the same (see presort)
+%
+{ last.label
+ calc.label year field.or.null purify$ #-1 #4 substring$ * % add year
+ #1 entry.max$ substring$ = % are they equal?
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ calc.label year field.or.null purify$ #-1 #4 substring$ * % add year
+ #1 entry.max$ substring$ 'last.label := % assign to last.label
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label.year extra.label * 'sort.year :=
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT % by sort.label, year, title --- giving final bib. order.
+
+FUNCTION {begin.bib}
+
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$
+}
+
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+
diff --git a/biblio/bibtex/contrib/misc/cj.bst b/biblio/bibtex/contrib/misc/cj.bst
new file mode 100644
index 0000000000..5f49c64367
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/cj.bst
@@ -0,0 +1,1205 @@
+%% Manually added comment by Felix Gaertner <fgaertner@lpdmail.epfl.ch>
+%%
+%% This is cj.bst, an approximation of a Bibtex Style for the Computer
+%% Journal published by the BCS. The core of this file was generated
+%% using the great custom-bib package by Patrick W Daly. I did some
+%% manual updates to fix the output. These lines have been marked with
+%% "hacked FG". The copyright notice below also holds for the updated
+%% file.
+%%
+%% I used this file to format a bibtex generated bibliography for
+%% a successfull submission to The Computer Journal in 2002.
+%%
+%% To use this style, note that the address field of your bibtex file
+%% should contain the location of the conference and not the location
+%% of the publisher. Put the latter into the publisher field, e.g. write
+%%
+%% publisher = "Springer-Verlag, Berlin"
+%%
+%% Originally generated bibtex style file starts after the following line:
+%% ----------------------------------------------------------------------
+%%
+%% This is file `cj.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `seq-no,nm-rev,ed-rev,jnrlst,nmlm,x10,x0,m1,dt-beg,yr-par,xmth,yrp-x,vol-bf,vnum-x,volp-com,numser,edpar,blk-tit,in-x,pp,ed,abr,xedn,jabr')
+%% ----------------------------------------
+%% *** BibTeX style approximation for the Computer Journal. ***
+%%
+%% Copyright 1994-2002 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2002/01/14 4.03 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is a numerical citation style, and as such is standard LaTeX.
+ % It requires no extra package to interface to the main text.
+ % The form of the \bibitem entries is
+ % \bibitem{key}...
+ % Usage of \cite is as follows:
+ % \cite{key} ==>> [#]
+ % \cite[chap. 2]{key} ==>> [#, chap. 2]
+ % where # is a number determined by the ordering in the reference list.
+ % The order in the reference list is that by which the works were originally
+ % cited in the text, or that in the database.
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ add.blank
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "\/}" * }
+ if$
+}
+FUNCTION {bolden}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\bf " swap$ * "}" * }
+ if$
+}
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds." }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "edn." }
+
+FUNCTION {bbl.volume}
+{ "vol." }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "no." }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "pp." }
+
+FUNCTION {bbl.page}
+{ "p." }
+
+FUNCTION {bbl.chapter}
+{ "chap." }
+
+FUNCTION {bbl.techrep}
+{ "Tech. Rep." }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"Jun."}
+
+MACRO {jul} {"Jul."}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sep."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Software Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput. Aid. Des."}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Program."}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Graphic."}
+
+MACRO {toms} {"ACM Trans. Math. Software"}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Progr. Lang. Syst."}
+
+MACRO {tcs} {"Theor. Comput. Sci."}
+
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+STRINGS { bibinfo}
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}{, f.}{, jj}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ nameptr #1
+ #1 + =
+ numnames #0
+ #10 +
+ > and
+ { "others" 't :=
+ #1 'namesleft := }
+ 'skip$
+ if$
+ namesleft #1 >
+ { ", " * t * }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.names.ed}
+{
+ format.names
+}
+FUNCTION {format.authors}
+{ author "author" format.names
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ " " *
+ get.bbl.editor
+ "(" swap$ * ")" *
+ *
+ }
+ if$
+}
+FUNCTION {format.note}
+{
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ duplicate$ empty$ 'skip$
+ { "t" change.case$ }
+ if$
+ "title" bibinfo.check
+}
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ "" }
+
+FUNCTION {format.date}
+{
+ ""
+ duplicate$ empty$
+ year "year" bibinfo.check duplicate$ empty$
+ { swap$ 'skip$
+ { "there's a month but no year in " cite$ * warning$ }
+ if$
+ *
+ }
+ { swap$ 'skip$
+ {
+ swap$
+ " " * swap$
+ }
+ if$
+ *
+ }
+ if$
+ duplicate$ empty$
+ 'skip$
+ {
+ before.all 'output.state :=
+ " (" swap$ * ")" *
+ }
+ if$
+}
+%% ------------------------------------------------------------
+%% hacked FG: function to format the month
+FUNCTION {format.month}
+{ month empty$
+ {}
+ {", " * month *}
+ if$
+}
+%% ------------------------------------------------------------
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ bbl.of space.word * swap$
+ emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ bbl.pages swap$
+ n.dashify
+ }
+ {
+ bbl.page swap$
+ }
+ if$
+ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ", " *
+ swap$
+ n.dashify
+ "pages" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ "volume" bibinfo.check
+ }
+ if$
+ bolden
+ format.journal.pages
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+ emphasize
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ {
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ " " *
+ get.bbl.editor
+ "(" swap$ * "), " *
+ * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+}
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ key duplicate$ empty$
+ { pop$
+ journal duplicate$ empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref * warning$ }
+ { "journal" bibinfo.check emphasize word.in swap$ * }
+ if$
+ }
+ { word.in swap$ * " " *}
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ "editor" bibinfo.check
+ editor num.names$ duplicate$
+ #2 >
+ { pop$
+ "editor" bibinfo.check
+ " " * bbl.etal
+ *
+ }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ "editor" bibinfo.check
+ " " * bbl.etal
+ *
+ }
+ {
+ bbl.and space.word
+ * editor #2 "{vv~}{ll}" format.name$
+ "editor" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ capitalize
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { series emphasize * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { format.booktitle duplicate$ empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ }
+ { word.in swap$ * }
+ if$
+ }
+ { word.in key * " " *}
+ if$
+ }
+ { word.in format.crossref.editor * " " *}
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ t empty$
+ { address "address" bibinfo.check *
+ }
+ { t *
+ address empty$
+ 'skip$
+ { ", " * address "address" bibinfo.check * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+%% hacked FG: don't output address field behind publisher, address
+%% refers to conference location
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn %% format.org.or.pub
+}
+%% hacked FG: if a publisher is not present, the organization
+%% field is treated in the same way. Outputting the address
+%% field must be inhibited here too...
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check %% format.org.or.pub
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.sentence
+ crossref missing$
+ {
+ journal
+ "journal" bibinfo.check
+ emphasize
+ "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.sentence
+ format.number.series output
+ format.publisher.address output
+ }
+ {
+ new.sentence
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.note output
+ fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ format.date output
+ date.block
+ format.title "title" output.check
+ new.sentence
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.sentence
+ format.number.series output
+ format.publisher.address output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ new.sentence
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.sentence
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.chapter.pages output
+ format.number.series output
+ format.publisher.address output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.sentence
+ crossref missing$
+%% hacked FG: output address field behind proceedings title and add month
+%% { format.in.ed.booktitle "booktitle" output.check
+ { format.in.ed.booktitle "booktitle" output.check format.org.or.pub format.month
+ format.bvolume output
+ format.pages output
+ format.number.series output
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization "organization" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { output
+ address "address" bibinfo.check output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ format.date output
+ date.block
+ format.btitle "title" output.check
+ new.sentence
+ author empty$
+ { organization empty$
+ {
+ address "address" bibinfo.check output
+ }
+ 'skip$
+ if$
+ }
+ {
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ }
+ if$
+ format.edition output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ new.sentence
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ format.date output
+ format.title output
+ new.sentence
+ howpublished "howpublished" bibinfo.check output
+ format.note output
+ fin.entry
+ empty.misc.check
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ new.sentence
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization "organization" bibinfo.check output
+ }
+ { format.editors output.nonnull }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ format.bvolume output
+ editor empty$
+ { publisher empty$
+ 'skip$
+ {
+ format.number.series output
+ format.publisher.address output
+ }
+ if$
+ }
+ { publisher empty$
+ {
+ format.organization.address output }
+ {
+ organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ }
+ if$
+ format.note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ new.sentence
+ format.tr.number output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ format.date output
+ date.block
+ format.title "title" output.check
+ format.note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+READ
+STRINGS { longest.label }
+INTEGERS { number.label longest.label.width }
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+EXECUTE {initialize.longest.label}
+ITERATE {longest.label.pass}
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" *
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `cj.bst'.
diff --git a/biblio/bibtex/contrib/misc/decsci.bst b/biblio/bibtex/contrib/misc/decsci.bst
new file mode 100644
index 0000000000..03cd431da5
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/decsci.bst
@@ -0,0 +1,1504 @@
+%%
+%% This is file `decsci.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `ay,nat,nm-rev,jnrlst,keyxyr,dt-beg,yr-par,note-yr,vol-it,volp-com,pp-last,num-xser,add-pub,pre-pub,edpar,bkedcap,ppx,ed,abr,ednx,xedn,amper,etal-it,url,url-blk')
+%% ----------------------------------------
+%%
+%% *** BibTeX style for the journal Decision Sciences ***
+%% Generated by Paul A. Rubin (rubin@msu.edu) 2002/06/24, using
+%% Patrick Daly's custom-bib package.
+%% Decision Sciences is the journal of the Decision Sciences Institute.
+%% Best used with the natbib package. Decision Sciences wants citations
+%% formatted author (year) or (author, year; ...). See comments below
+%% for versions of the \cite command in natbib to do this. This file
+%% (decsci.bst) will format the reference list to Decision Science's
+%% standards.
+%%
+%% No additional copyright restrictions attach beyond what is stated
+%% below.
+%%
+%% Copyright 1994-2000 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2000/05/04 4.01 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is natbib.sty by Patrick W. Daly
+ % The form of the \bibitem entries is
+ % \bibitem[Jones et al.(1990)]{key}...
+ % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
+ % The essential feature is that the label (the part in brackets) consists
+ % of the author names, as they should appear in the citation, with the year
+ % in parentheses following. There must be no space before the opening
+ % parenthesis!
+ % With natbib v5.3, a full list of authors may also follow the year.
+ % In natbib.sty, it is possible to define the type of enclosures that is
+ % really wanted (brackets or parentheses), but in either case, there must
+ % be parentheses in the label.
+ % The \cite command functions as follows:
+ % \citet{key} ==>> Jones et al. (1990)
+ % \citet*{key} ==>> Jones, Baker, and Smith (1990)
+ % \citep{key} ==>> (Jones et al., 1990)
+ % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
+ % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
+ % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
+ % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
+ % \citeauthor{key} ==>> Jones et al.
+ % \citeauthor*{key} ==>> Jones, Baker, and Smith
+ % \citeyear{key} ==>> 1990
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ url
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ new.block
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "\/}" * }
+ if$
+}
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds." }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "ed." }
+
+FUNCTION {bbl.volume}
+{ "vol." }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "no." }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "" }
+
+FUNCTION {bbl.page}
+{ "" }
+
+FUNCTION {bbl.chapter}
+{ "chap." }
+
+FUNCTION {bbl.techrep}
+{ "Tech. Rep." }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"Jun."}
+
+MACRO {jul} {"Jul."}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sep."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { "\urlprefix\url{" url * "}" * }
+ if$
+}
+
+STRINGS { bibinfo}
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}{, f.}{, jj}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ {
+ "\&"
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.names.ed}
+{
+ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{f.~}{vv~}{ll}{, jj}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+
+ " " * bbl.etal emphasize *
+ }
+ {
+ "\&"
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author "author" format.names
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ " " *
+ get.bbl.editor
+ capitalize
+ "(" swap$ * ")" *
+ *
+ }
+ if$
+}
+FUNCTION {format.note}
+{
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ duplicate$ empty$ 'skip$
+ { "t" change.case$ }
+ if$
+ "title" bibinfo.check
+}
+FUNCTION {format.full.names}
+{'s :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ "\&"
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[{" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "}]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in capitalize
+ " " * }
+
+FUNCTION {format.date}
+{ year "year" bibinfo.check duplicate$ empty$
+ {
+ "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????"
+ }
+ 'skip$
+ if$
+ extra.label *
+ before.all 'output.state :=
+ " (" swap$ * ")" *
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ bbl.of space.word * swap$
+ emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { number "number" bibinfo.check }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ n.dashify
+ }
+ {
+ }
+ if$
+ "pages" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ", " *
+ swap$
+ n.dashify
+ "pages" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ "volume" bibinfo.check
+ }
+ if$
+ emphasize
+ number "number" bibinfo.check duplicate$ empty$ 'skip$
+ {
+ swap$ duplicate$ empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ swap$
+ "(" swap$ * ")" *
+ }
+ if$ *
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ { "" }
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+ emphasize
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ {
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ " " *
+ get.bbl.editor
+ capitalize
+ "(" swap$ * "), " *
+ * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ capitalize
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ address "address" bibinfo.check *
+ t empty$
+ 'skip$
+ { address empty$
+ 'skip$
+ { ": " * }
+ if$
+ t *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ {
+ journal
+ "journal" bibinfo.check
+ emphasize
+ "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ }
+ if$
+ format.journal.pages
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher.address output
+ }
+ {
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.publisher.address output
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.pages "pages" output.check
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.publisher.address output
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.pages "pages" output.check
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ new.sentence
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ format.edition output
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ new.block
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title output
+ new.block
+ howpublished "howpublished" bibinfo.check output
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ new.block
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ new.sentence
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ format.url output
+ new.block
+ format.note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+READ
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+FUNCTION {format.lab.names}
+{ 's :=
+ "" 't :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$
+ " " * bbl.etal emphasize *
+ }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ { " \& " * s #2 "{vv~}{ll}" format.name$
+ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" * }
+ { t sortify * }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+SORT
+STRINGS { last.label next.extra }
+INTEGERS { last.extra.num number.label }
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+EXECUTE {initialize.extra.label.stuff}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+ITERATE {bib.sort.order}
+SORT
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\expandafter\ifx\csname natexlab\endcsname\relax\def\natexlab#1{#1}\fi"
+ write$ newline$
+ "\expandafter\ifx\csname url\endcsname\relax"
+ write$ newline$
+ " \def\url#1{{\tt #1}}\fi"
+ write$ newline$
+ "\expandafter\ifx\csname urlprefix\endcsname\relax\def\urlprefix{URL }\fi"
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `decsci.bst'.
diff --git a/biblio/bibtex/contrib/misc/development.bst b/biblio/bibtex/contrib/misc/development.bst
new file mode 100644
index 0000000000..329eddd399
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/development.bst
@@ -0,0 +1,1495 @@
+%% Stephen Eglen, Jan 2003. Bibtex style file for the journal
+%% Development -- http://dev.biologists.org
+%% See also http://www.anc.ed.ac.uk/~stephen/development-bibtex for example.
+%%
+%% This package is free software; you can redistribute it and/or modify
+%% it under the terms of the GNU General Public License as published by
+%% the Free Software Foundation; either version 2, or (at your option)
+%% any later version.
+%% This is file `development.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `,ay,nat,nm-rev,nmft,nmft-bf,keyxyr,dt-beg,yr-par,note-yr,vol-bf,vnum-x,volp-com,pp-last,jnm-x,add-pub,isbn,issn,ed,xedn,and-xcom')
+%% ----------------------------------------
+%% *** Example style file for Development journal ***
+%%
+%% Copyright 1994-1999 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[1999/05/28 3.89 (PWD)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is natbib.sty by Patrick W. Daly
+ % The form of the \bibitem entries is
+ % \bibitem[Jones et al.(1990)]{key}...
+ % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
+ % The essential feature is that the label (the part in brackets) consists
+ % of the author names, as they should appear in the citation, with the year
+ % in parentheses following. There must be no space before the opening
+ % parenthesis!
+ % With natbib v5.3, a full list of authors may also follow the year.
+ % In natbib.sty, it is possible to define the type of enclosures that is
+ % really wanted (brackets or parentheses), but in either case, there must
+ % be parentheses in the label.
+ % The \cite command functions as follows:
+ % \citet{key} ==>> Jones et al. (1990)
+ % \citet*{key} ==>> Jones, Baker, and Smith (1990)
+ % \citep{key} ==>> (Jones et al., 1990)
+ % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
+ % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
+ % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
+ % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
+ % \citeauthor{key} ==>> Jones et al.
+ % \citeauthor*{key} ==>> Jones, Baker, and Smith
+ % \citeyear{key} ==>> 1990
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ isbn
+ issn
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ new.block
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "\/}" * }
+ if$
+}
+
+FUNCTION {bolden}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\bf " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {bib.name.font}
+{ bolden }
+
+FUNCTION {bib.fname.font}
+{ bib.name.font }
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds." }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "edition" }
+
+FUNCTION {bbl.volume}
+{ "volume" }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "number" }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "pages" }
+
+FUNCTION {bbl.page}
+{ "page" }
+
+FUNCTION {bbl.chapter}
+{ "chapter" }
+
+FUNCTION {bbl.techrep}
+{ "Technical Report" }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}{, jj}{, f.}" format.name$
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ bib.name.font
+ }
+ { bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ t "others" =
+ 'skip$
+ { bib.name.font }
+ if$
+}
+
+FUNCTION {format.names.ed}
+{ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{f.~}{vv~}{ll}{, jj}"
+ format.name$
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+
+ " " * bbl.etal *
+ }
+ { bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ ", " *
+ editor num.names$ #1 >
+ 'bbl.editors
+ 'bbl.editor
+ if$
+ *
+ }
+ if$
+}
+
+FUNCTION {format.in.editors}
+{ editor empty$
+ { "" }
+ { editor format.names.ed
+ editor num.names$ #1 >
+ { ", " * bbl.editors * }
+ { ", " * bbl.editor * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.isbn}
+{ isbn empty$
+ { "" }
+ {
+ new.block
+ "ISBN " isbn * }
+ if$
+}
+
+FUNCTION {format.issn}
+{ issn empty$
+ { "" }
+ {
+ new.block
+ "ISSN " issn * }
+ if$
+}
+
+FUNCTION {format.note}
+{
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ *
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.full.names}
+{'s :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[{" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "}]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in capitalize
+ " " * }
+
+FUNCTION {format.date}
+{ year duplicate$ empty$
+ { "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????" }
+ 'skip$
+ if$
+ extra.label *
+ before.all 'output.state :=
+ " (" swap$ * ")" *
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { bbl.of space.word * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { bbl.in space.word * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " " * bbl.edition * }
+ { edition "t" change.case$ " " * bbl.edition * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { bbl.pages pages n.dashify tie.or.space.connect }
+ { bbl.page pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.journal.pages}
+{ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ {
+ ", " *
+ pages n.dashify *
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ bolden
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ { "" }
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { word.in booktitle emphasize * }
+ { word.in format.in.editors * ", " *
+ booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { bbl.techrep }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ word.in
+ }
+ { bbl.volume capitalize
+ volume tie.or.space.connect
+ bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ address empty$
+ 'skip$
+ { address * }
+ if$
+ t empty$
+ 'skip$
+ { address empty$
+ 'skip$
+ { ": " * }
+ if$
+ t *
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.publisher.address}
+{ publisher empty$
+ { "empty publisher in " cite$ * warning$
+ ""
+ }
+ { publisher }
+ if$
+ format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization empty$
+ { "" }
+ { organization }
+ if$
+ format.org.or.pub
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal
+ emphasize
+ "journal" output.check
+ add.blank
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.journal.pages
+ format.issn output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher.address output
+ }
+ {
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.isbn output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ howpublished output
+ address output
+ format.isbn output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher.address output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ crossref missing$
+ { format.isbn output }
+ 'skip$
+ if$
+ format.pages "pages" output.check
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ format.publisher.address output
+ format.edition output
+ format.isbn output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.pages "pages" output.check
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ new.sentence
+ publisher empty$
+ { format.organization.address output }
+ { organization output
+ format.publisher.address output
+ }
+ if$
+ format.isbn output
+ format.issn output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ new.block
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title output
+ new.block
+ howpublished output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ new.block
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ new.sentence
+ publisher empty$
+ { format.organization.address output }
+ { organization output
+ format.publisher.address output
+ }
+ if$
+ format.isbn output
+ format.issn output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ format.note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ "" 't :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$
+ " " * bbl.etal *
+ }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ " " * bbl.etal *
+ }
+ { bbl.and space.word * s #2 "{vv~}{ll}" format.name$
+ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "????" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" * }
+ { t sortify * }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { last.label next.extra }
+
+INTEGERS { last.extra.num number.label }
+
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\expandafter\ifx\csname natexlab\endcsname\relax\def\natexlab#1{#1}\fi"
+ write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `development1.bst'.
diff --git a/biblio/bibtex/contrib/misc/fbs.bst b/biblio/bibtex/contrib/misc/fbs.bst
new file mode 100644
index 0000000000..4dab47290d
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/fbs.bst
@@ -0,0 +1,1260 @@
+%% ===============================================================
+%% BibTex style for Frontiers in Bioscience (FBS)
+%% ===============================================================
+%%
+%% Lastname, I., Lastname, I.: Title of the journal. Journal title [in italics] 111, 1-2 (2008)
+%%
+%% %% custom made BibTex style file to fit Frontiers in Bioscience requirements:
+%% - all authors, no et al, full author names, initials abbreviated
+%% - only abbreviated journal name italicised, no abbreviation dots
+%% - only year, no month, at end of reference
+%% - DOI excluded, ISSN excluded
+%%
+%%
+%%
+%%
+%% This is file `fbs.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `seq-no,nm-rev,ed-rev,jnrlst,yr-par,xmth,atit-u,jxper,vnum-x,volp-com,num-xser,jnm-x,isbn,au-col,fin-bare,ppx,ed,abr,xedn,jabr,nfss,')
+%% ----------------------------------------
+%% *** Frontiers in Bioscience ***
+%%
+%% Copyright 1994-2005 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2005/10/17 4.14 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is a numerical citation style, and as such is standard LaTeX.
+ % It requires no extra package to interface to the main text.
+ % The form of the \bibitem entries is
+ % \bibitem{key}...
+ % Usage of \cite is as follows:
+ % \cite{key} ==>> [#]
+ % \cite[chap. 2]{key} ==>> [#, chap. 2]
+ % where # is a number determined by the ordering in the reference list.
+ % The order in the reference list is that by which the works were originally
+ % cited in the text, or that in the database.
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ eid
+ howpublished
+ institution
+ isbn
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ duplicate$ empty$
+ 'pop$
+ 'write$
+ if$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {add.colon}
+{ duplicate$ empty$
+ 'skip$
+ { ":" * add.blank }
+ if$
+}
+
+FUNCTION {date.block}
+{
+ new.block
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+STRINGS {z}
+FUNCTION {remove.dots}
+{ 'z :=
+ ""
+ { z empty$ not }
+ { z #1 #1 substring$
+ z #2 global.max$ substring$ 'z :=
+ duplicate$ "." = 'pop$
+ { * }
+ if$
+ }
+ while$
+}
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds." }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "edn." }
+
+FUNCTION {bbl.volume}
+{ "vol." }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "no." }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "" }
+
+FUNCTION {bbl.page}
+{ "" }
+
+FUNCTION {bbl.chapter}
+{ "chap." }
+
+FUNCTION {bbl.techrep}
+{ "Tech. Rep." }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"Jun."}
+
+MACRO {jul} {"Jul."}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sep."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Software Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput. Aid. Des."}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Program."}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Graphic."}
+
+MACRO {toms} {"ACM Trans. Math. Software"}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Progr. Lang. Syst."}
+
+MACRO {tcs} {"Theor. Comput. Sci."}
+
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+STRINGS { bibinfo}
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}{, f.}{, jj}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.names.ed}
+{
+ format.names
+}
+FUNCTION {format.authors}
+{ author "author" format.names
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ "," *
+ " " *
+ get.bbl.editor
+ *
+ }
+ if$
+}
+FUNCTION {format.isbn}
+{ isbn "isbn" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ new.block
+ "ISBN " swap$ *
+ }
+ if$
+}
+
+FUNCTION {format.note}
+{
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ "title" bibinfo.check
+}
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in capitalize
+ " " * }
+
+FUNCTION {format.date}
+{
+ ""
+ duplicate$ empty$
+ year "year" bibinfo.check duplicate$ empty$
+ { swap$ 'skip$
+ { "there's a month but no year in " cite$ * warning$ }
+ if$
+ *
+ }
+ { swap$ 'skip$
+ {
+ swap$
+ " " * swap$
+ }
+ if$
+ *
+ }
+ if$
+ duplicate$ empty$
+ 'skip$
+ {
+ before.all 'output.state :=
+ " (" swap$ * ")" *
+ }
+ if$
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ bbl.of space.word * swap$
+ emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { number "number" bibinfo.check }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ n.dashify
+ }
+ {
+ }
+ if$
+ "pages" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ", " *
+ swap$
+ n.dashify
+ "pages" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.journal.eid}
+{ eid "eid" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$ 'skip$
+ {
+ ", " *
+ }
+ if$
+ swap$ *
+ }
+ if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ "volume" bibinfo.check
+ }
+ if$
+ eid empty$
+ { format.journal.pages }
+ { format.journal.eid }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+ emphasize
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ {
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ "," *
+ " " *
+ get.bbl.editor
+ ", " *
+ * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+}
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ key duplicate$ empty$
+ { pop$
+ journal duplicate$ empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref * warning$ }
+ { "journal" bibinfo.check emphasize word.in swap$ * }
+ if$
+ }
+ { word.in swap$ * " " *}
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ "editor" bibinfo.check
+ editor num.names$ duplicate$
+ #2 >
+ { pop$
+ "editor" bibinfo.check
+ " " * bbl.etal
+ *
+ }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ "editor" bibinfo.check
+ " " * bbl.etal
+ *
+ }
+ {
+ bbl.and space.word
+ * editor #2 "{vv~}{ll}" format.name$
+ "editor" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ capitalize
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { series emphasize * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { format.booktitle duplicate$ empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ }
+ { word.in swap$ * }
+ if$
+ }
+ { word.in key * " " *}
+ if$
+ }
+ { word.in format.crossref.editor * " " *}
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ t empty$
+ { address "address" bibinfo.check *
+ }
+ { t *
+ address empty$
+ 'skip$
+ { ", " * address "address" bibinfo.check * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ add.colon
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ {
+ journal
+ remove.dots
+ "journal" bibinfo.check
+ emphasize
+ "journal" output.check
+ add.blank
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ format.note output
+ fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ add.colon
+ }
+ { format.authors output.nonnull
+ add.colon
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher.address output
+ }
+ {
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ format.isbn output
+ new.block
+ format.note output
+ fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ add.colon
+ new.block
+ format.title "title" output.check
+ new.block
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ format.date output
+ format.isbn output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ add.colon
+ }
+ { format.authors output.nonnull
+ add.colon
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher.address output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ crossref missing$
+ { format.isbn output }
+ 'skip$
+ if$
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ add.colon
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ format.publisher.address output
+ format.edition output
+ format.date "year" output.check
+ format.isbn output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ format.note output
+ fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ add.colon
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ new.sentence
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.date "year" output.check
+ format.isbn output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ format.note output
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization "organization" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { output
+ address "address" bibinfo.check output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ add.colon
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ {
+ address new.block.checka
+ address "address" bibinfo.check output
+ }
+ 'skip$
+ if$
+ }
+ {
+ organization address new.block.checkb
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ add.colon
+ new.block
+ format.btitle
+ "title" output.check
+ new.block
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.date "year" output.check
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ add.colon
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished "howpublished" bibinfo.check output
+ format.date output
+ new.block
+ format.note output
+ fin.entry
+ empty.misc.check
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ add.colon
+ new.block
+ format.btitle
+ "title" output.check
+ new.block
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.date "year" output.check
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization "organization" bibinfo.check output
+ }
+ { format.editors output.nonnull }
+ if$
+ add.colon
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ editor empty$
+ { publisher empty$
+ 'skip$
+ {
+ new.sentence
+ format.publisher.address output
+ }
+ if$
+ }
+ { publisher empty$
+ {
+ new.sentence
+ format.organization.address output }
+ {
+ new.sentence
+ organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ }
+ if$
+ format.date "year" output.check
+ format.isbn output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ add.colon
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.date "year" output.check
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ add.colon
+ new.block
+ format.title "title" output.check
+ format.date output
+ new.block
+ format.note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+READ
+STRINGS { longest.label }
+INTEGERS { number.label longest.label.width }
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+EXECUTE {initialize.longest.label}
+ITERATE {longest.label.pass}
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" *
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `fbs.bst'.
diff --git a/biblio/bibtex/contrib/misc/finplain.bst b/biblio/bibtex/contrib/misc/finplain.bst
new file mode 100644
index 0000000000..645a06ba18
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/finplain.bst
@@ -0,0 +1,1213 @@
+% BibTeX bibliography style 'finplain' release 0.1.0
+% Based on the BibTeX 0.99a standard bibliography style 'plain'
+% $Id: finplain.bst,v 1.3 1998/06/25 14:14:34 antkaij Exp $
+
+% This is the BibTeX 0.99a standard bibliography style 'plain' translated
+% into Finnish. Translation made by Antti-Juhani Kaijanaho <gaia@iki.fi>
+% on June 3, 1998 and June 25, 1998. This file requires LaTeX2e.
+
+% =========================================================================
+% *************************************************************************
+% VAROITUS! Tama suomennos on julkisesti saatavilla lahinna testausta *
+% ja kokeiluja varten. *
+% *
+% WARNING! This translation is made available to the public for *
+% testing and experimentation purposes. It can be used for production *
+% work, but do expect to find some rough edges and bugs. There is *
+% NO WARRANTY. *
+% *
+% There is one known problem: *
+% * There is a comma before "ja" that should not be there in *
+% author and editor lists. *
+% *
+% Bug reports and patches are welcome at <gaia@iki.fi>. Please, indicate *
+% in the subject field of your message that it concerns 'finplain.bst'. *
+% *************************************************************************
+% =========================================================================
+
+
+% The changes from plain to finplain.bst are
+ % Copyright (C) 1998 Antti-Juhani Kaijanaho.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % finplain.bst, btxbst.doc, plain.bst, unsrt.bst, alpha.bst,
+ % and abbrv.bst.
+
+% This is the copyright message of the original file:
+% 8<----
+% BibTeX standard bibliography style `plain'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+% 8<----
+
+% All changes have been clearly marked.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * } % chaged by <gaia@iki.fi> 19980625
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " ja " * t * } % changed by <gaia@iki.fi> 19980603
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", toim." * } % changed by <gaia@iki.fi> 19980603
+ { ", toim." * } % changed by <gaia@iki.fi> 19980603
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { "{\ }" } % changed by <gaia@iki.fi> 19980603
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+% the following function was rewritten by <gaia@iki.fi> 19980603
+FUNCTION {format.bvolume}
+{
+ volume empty$
+ { % We have no volume
+ series empty$
+ { % We have neither a volume nor a series
+ ""
+ }
+ { % We have a series but no volume
+ "sarjassa " series emphasize *
+ }
+ if$
+ }
+ { % We have a volume
+ series empty$
+ { % We have no series, just volume
+ "osa" volume tie.or.space.connect
+ }
+ { % We have both a series and a volume
+ "sarjan " series emphasize *
+ " osa" volume tie.or.space.connect *
+ }
+ if$
+ % We cannot have both a volume and a number
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+% the following function was rewritten by <gaia@iki.fi> 19980603
+FUNCTION {format.number.series}
+{
+ volume empty$
+ {
+ number empty$
+ { series field.or.null }
+ {
+ series number tie.or.space.connect
+ }
+ if$
+ }
+ {
+ ""
+ }
+ if$
+}
+
+% The following three functions adapted from a custom-bib style file by
+% <gaia@iki.fi> 19980603
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+FUNCTION {format.edition}
+{
+ edition empty$
+ { "" }
+ {
+ edition extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { "ensimm\^^b{a}inen" 't := }
+ { s "second" = s "2" = or
+ { "toinen" 't := }
+ { s "third" = s "3" = or
+ { "kolmas" 't := }
+ { s "fourth" = s "4" = or
+ { "nelj\^^b{a}s" 't := }
+ { s "fifth" = s "5" = or
+ { "viides" 't := }
+ { s #1 #1 substring$ is.num
+ { s "." * 't := }
+ { edition 't := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ t
+
+ output.state mid.sentence =
+ { "l" change.case$ " laitos" * }
+ { "t" change.case$ " laitos" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ % the following two lines were changed by <gaia@iki.fi> 19980603
+ { "ss." pages n.dashify tie.or.space.connect }
+ { "s." pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ % the following two lines were changed by <gaia@iki.fi> 19980603
+ { "Kirjassa " booktitle emphasize * }
+ { "Kirjassa " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Tekninen raportti" } % changed by <gaia@iki.fi> 19980603
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "Lehdessä \emph{" journal * "}" * } % changed by <gaia@iki.fi> 19980603
+ if$
+ }
+ { "Ks." key tie.or.space.connect } % changed by <gaia@iki.fi> 19980603
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ % the following line was changed by <gaia@iki.fi> 19980603
+ { " ja " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "Kirjassa" % changed by <gaia@iki.fi> 19980603
+ }
+ { "Osa" volume tie.or.space.connect % changed by <gaia@iki.fi> 19980603
+ " kirjasta " * % changed by <gaia@iki.fi> 19980603
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "\emph{" * series * "}" * } % changed by <gaia@iki.fi> 19980603
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "Kirjassa \emph{" booktitle * "}" * } % changed by <gaia@iki.fi> 19980603
+ if$
+ }
+ { "Ks." key tie.or.space.connect } % changed by <gaia@iki.fi> 19980603
+ if$
+ }
+ { "Ks.\ " format.crossref.editor * } % changed by <gaia@iki.fi> 19980603
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Pro~gradu" format.thesis.type output.nonnull
+ school "schools" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "V\^^b{a}it\^^b{o}skirja" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+% The month names were translated by <gaia@iki.fi> 19980603
+
+MACRO {jan} {"tammikuu"}
+
+MACRO {feb} {"helmikuu"}
+
+MACRO {mar} {"maaliskuu"}
+
+MACRO {apr} {"huhtikuu"}
+
+MACRO {may} {"toukokuu"}
+
+MACRO {jun} {"kes\^^b{a}kuu"}
+
+MACRO {jul} {"hein\^^b{a}kuu"}
+
+MACRO {aug} {"elokuu"}
+
+MACRO {sep} {"syyskuu"}
+
+MACRO {oct} {"lokakuu"}
+
+MACRO {nov} {"marraskuu"}
+
+MACRO {dec} {"joulukuu"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/misc/humanbio.bst b/biblio/bibtex/contrib/misc/humanbio.bst
new file mode 100644
index 0000000000..039498ebd7
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/humanbio.bst
@@ -0,0 +1,1134 @@
+%%% ====================================================================
+%%% @BibTeX-style-file{
+%%% author = "Alan Rogers",
+%%% version = "1.1",
+%%% date = "1990",
+%%% filename = "humanbio.bst",
+%%% address = "Dept of Anthropology, University of Utah,
+%%% Salt Lake City, UT 84112",
+%%% checksum = "32432 1134 3172 23669",
+%%% email = "rogers@anthro.utah.edu",
+%%% supported = "no",
+%%% docstring = "The file produces bibliographies more or
+%%% less in the format of the journal Human
+%%% Biology. It was adapted from apalike.bst,
+%%% incorporating features of Sake J.
+%%% Hogeveen's `astron.bst'.
+%%%
+%%% Usage: \documentstyle[astron]{...}
+%%% ...
+%%% \bibliographystyle{humanbio}
+%%% ...
+%%%
+%%% The \documentstyle command above invokes
+%%% Hogeveen's `astron.sty', which must be in
+%%% TeX's search path.
+%%%
+%%% The modifications implement `\cite*{}',
+%%% which generates references in short form.
+%%% For example, `Rogers \cite*{...}' would
+%%% produce `Rogers (1992)'."
+%%% }
+%%% ====================================================================
+%%%%%%%%%%
+% BibTeX `apalike' bibliography style (24-Jan-88 version)
+% Adapted from the `alpha' style, version 0.99a; for BibTeX version 0.99a.
+% Copyright (C) 1988, all rights reserved.
+% Copying of this file is allowed, provided that if you make any changes at all
+% you name it something other than `apalike.bst'.
+% This restriction helps ensure that all copies are identical.
+% Differences between this style and `alpha' are generally heralded by a `%'.
+% The file btxbst.doc has the documentation for alpha.bst.
+%
+% This style should be used with the `apalike' LaTeX style (apalike.sty).
+% \cite's come out like "(Jones, 1986)" in the text but there are no labels
+% in the bibliography, and something like "(1986)" comes out immediately
+% after the author. Author (and editor) names appear as last name, comma,
+% initials. A `year' field is required for every entry, and so is either
+% an author (or in some cases, an editor) field or a key field.
+%
+% Editorial note:
+% Many journals require a style like `apalike', but I strongly, strongly,
+% strongly recommend that you not use it if you have a choice---use something
+% like `plain' instead. Mary-Claire van Leunen (A Handbook for Scholars,
+% Knopf, 1979) argues convincingly that a style like `plain' encourages better
+% writing than one like `apalike'. Furthermore the strongest arguments for
+% using an author-date style like `apalike'---that it's "the most practical"
+% (The Chicago Manual of Style, University of Chicago Press, thirteenth
+% edition, 1982, pages 400--401)---fall flat on their face with the new
+% computer-typesetting technology. For instance page 401 anachronistically
+% states "The chief disadvantage of [a style like `plain'] is that additions
+% or deletions cannot be made after the manuscript is typed without changing
+% numbers in both text references and list." LaTeX sidesteps the disadvantage.
+%
+% History:
+% 15-sep-86 (SK,OP) Original version, by Susan King and Oren Patashnik.
+% 10-nov-86 (OP) Truncated the sort.key$ string to the correct length
+% in bib.sort.order to eliminate error message.
+% 24-jan-88 (OP) Updated for BibTeX version 0.99a, from alpha.bst 0.99a;
+% apalike now sorts by author, then year, then title;
+% THIS `apalike' VERSION DOES NOT WORK WITH BIBTEX 0.98i.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+% month not used in apalike
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+% apalike needs this function because
+% the year has special punctuation;
+% apalike ignores the month
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { write$
+ " " year * extra.label * "" *
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't := % last name first
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.key} % this function is just for apalike
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ "In" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "\cite{" * crossref * "}" * % this is for apalike
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ "In" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ howpublished output
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address output % for apalike
+ new.sentence % there's no year
+ organization output % here so things
+ publisher output % are simpler
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title output
+ new.block
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output % for apalike
+ new.sentence % we always output
+ organization output % a nonempty organization
+ publisher output % here
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+% There are three apalike cases: one person (Jones),
+% two (Jones and de~Bruijn), and more (Jones et~al.).
+% This function is much like format.crossref.editors.
+%
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key, no organization
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label} % this function came from ASTRON.BST (ARR)
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label % apalike ignores organization
+ 'author.key.label % for labeling and sorting
+ if$
+ }
+ if$
+ "\protect\astroncite{" swap$ * "}{" % these three lines are
+ * % for apalike, which
+ year field.or.null purify$ #-1 #4 substring$ % uses all four digits
+ * % the mathing closing "}" comes in at the reverse.pass
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$ % apalike uses initials
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't := % <= here
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+% apalike uses two sorting passes; the first one sets the
+% labels so that the `a's, `b's, etc. can be computed;
+% the second pass puts the references in "correct" order.
+% The presort function is for the first pass. It computes
+% label, sort.label, and title, and then concatenates.
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$ % for
+ 'sort.label := % apalike
+ sort.label % style
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT % by label, sort.label, title---for final label calculation
+
+STRINGS { last.label next.extra } % apalike labels are only for the text;
+
+INTEGERS { last.extra.num } % there are none in the bibliography
+
+FUNCTION {initialize.extra.label.stuff} % and hence there is no `longest.label'
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass} % this function came from ASTRON.BST (ARR)
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * "}" * 'label :=
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+% Now that the label is right we sort for real,
+% on sort.label then year then title. This is
+% for the second sorting pass.
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT % by sort.label, year, title---giving final bibliography order
+
+FUNCTION {begin.bib}
+{ preamble$ empty$ % no \etalchar in apalike
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$ % no labels in apalike
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/misc/humannat.bst b/biblio/bibtex/contrib/misc/humannat.bst
new file mode 100644
index 0000000000..425ac08d78
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/humannat.bst
@@ -0,0 +1,1205 @@
+%%% ====================================================================
+%%% @BibTeX-style-file{
+%%% author = "Alan Rogers",
+%%% version = "1.03",
+%%% date = "29 June 1992",
+%%% time = "09:34:02 MDT",
+%%% filename = "humanbio.bst",
+%%% address = "Dept of Anthropology, University of Utah,
+%%% Salt Lake City, UT 84112",
+%%% checksum = "39728 1205 3408 25147",
+%%% email = "rogers@anthro.utah.edu",
+%%% supported = "no",
+%%% docstring = "The file produces bibliographies more or
+%%% less in the format of the journals Human
+%%% Nature and American Anthropologist. It was
+%%% adapted from apalike.bst, incorporating
+%%% features of Sake J. Hogeveen's
+%%% `astron.bst'.
+%%%
+%%% Usage: \documentstyle[astron]{...}
+%%% ...
+%%% \bibliographystyle{humannat}
+%%% ...
+%%%
+%%% The \documentstyle command above invokes
+%%% Hogeveen's `astron.sty', which must be in
+%%% TeX's search path.
+%%%
+%%% The modifications implement `\cite*{}',
+%%% which generates references in short form.
+%%% For example, `Rogers \cite*{...}' would
+%%% produce `Rogers (1992)'."
+%%% }
+%%% ====================================================================
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% BibTeX `apalike' bibliography style (24-Jan-88 version)
+% Adapted from the `alpha' style, version 0.99a; for BibTeX version 0.99a.
+% Copyright (C) 1988, all rights reserved.
+% Copying of this file is allowed, provided that if you make any changes at all
+% you name it something other than `apalike.bst'.
+% This restriction helps ensure that all copies are identical.
+% Differences between this style and `alpha' are generally heralded by a `%'.
+% The file btxbst.doc has the documentation for alpha.bst.
+%
+% This style should be used with the `apalike' LaTeX style (apalike.sty).
+% \cite's come out like "(Jones, 1986)" in the text but there are no labels
+% in the bibliography, and something like "(1986)" comes out immediately
+% after the author. Author (and editor) names appear as last name, comma,
+% initials. A `year' field is required for every entry, and so is either
+% an author (or in some cases, an editor) field or a key field.
+%
+% Editorial note:
+% Many journals require a style like `apalike', but I strongly, strongly,
+% strongly recommend that you not use it if you have a choice---use something
+% like `plain' instead. Mary-Claire van Leunen (A Handbook for Scholars,
+% Knopf, 1979) argues convincingly that a style like `plain' encourages better
+% writing than one like `apalike'. Furthermore the strongest arguments for
+% using an author-date style like `apalike'---that it's "the most practical"
+% (The Chicago Manual of Style, University of Chicago Press, thirteenth
+% edition, 1982, pages 400--401)---fall flat on their face with the new
+% computer-typesetting technology. For instance page 401 anachronistically
+% states "The chief disadvantage of [a style like `plain'] is that additions
+% or deletions cannot be made after the manuscript is typed without changing
+% numbers in both text references and list." LaTeX sidesteps the disadvantage.
+%
+% History:
+% 15-sep-86 (SK,OP) Original version, by Susan King and Oren Patashnik.
+% 10-nov-86 (OP) Truncated the sort.key$ string to the correct length
+% in bib.sort.order to eliminate error message.
+% 24-jan-88 (OP) Updated for BibTeX version 0.99a, from alpha.bst 0.99a;
+% apalike now sorts by author, then year, then title;
+% THIS `apalike' VERSION DOES NOT WORK WITH BIBTEX 0.98i.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+% month not used in apalike
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+% apalike needs this function because
+% the year has special punctuation;
+% apalike ignores the month
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { write$
+% " (" year * extra.label * ")" *
+ " " year * extra.label * % for humannature
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't := % last name first
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := % last name last
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+FUNCTION {format.editor.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := % last name first
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+ "\leavevmode\nopagebreak\newline" * % for humannature
+}
+
+FUNCTION {format.key} % this function is just for apalike
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { author empty$
+ { editor format.names }
+ { editor format.editor.names }
+ if$
+ editor num.names$ #1 >
+ { ", eds." * } % for humannature
+ { ", ed." * } % for humannature
+ if$
+ }
+ if$
+ author empty$
+ { "\leavevmode\nopagebreak\newline" * }
+ { "" * }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.address.publisher}
+{ address empty$
+ {
+ publisher empty$
+ { "" }
+ { publisher }
+ if$
+ }
+ {
+ publisher empty$
+ { address ": [publisher unknown]" * }
+ { address ": " * publisher * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "Pp.~" pages n.dashify tie.or.space.connect }
+ { "P.~" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " booktitle emphasize * ", " * format.editors * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ "In" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "\cite{" * crossref * "}" * % this is for apalike
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ "In" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ format.edition output
+ new.block
+ format.address.publisher output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ howpublished output
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.block
+ format.address.publisher output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.block
+ format.address.publisher output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address output % for apalike
+ new.sentence % there's no year
+ organization output % here so things
+ publisher output % are simpler
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title output
+ new.block
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output % for apalike
+ new.sentence % we always output
+ organization output % a nonempty organization
+ publisher output % here
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+% There are three apalike cases: one person (Jones),
+% two (Jones and de~Bruijn), and more (Jones et~al.).
+% This function is much like format.crossref.editors.
+%
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key, no organization
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label} % this function came from ASTRON.BST (ARR)
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label % apalike ignores organization
+ 'author.key.label % for labeling and sorting
+ if$
+ }
+ if$
+ "\protect\astroncite{" swap$ * "}{" % these three lines are
+ * % for apalike, which
+ year field.or.null purify$ #-1 #4 substring$ % uses all four digits
+ * % the mathing closing "}" comes in at the reverse.pass
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$ % apalike uses initials
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't := % <= here
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+% apalike uses two sorting passes; the first one sets the
+% labels so that the `a's, `b's, etc. can be computed;
+% the second pass puts the references in "correct" order.
+% The presort function is for the first pass. It computes
+% label, sort.label, and title, and then concatenates.
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$ % for
+ 'sort.label := % apalike
+ sort.label % style
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT % by label, sort.label, title---for final label calculation
+
+STRINGS { last.label next.extra } % apalike labels are only for the text;
+
+INTEGERS { last.extra.num } % there are none in the bibliography
+
+FUNCTION {initialize.extra.label.stuff} % and hence there is no `longest.label'
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass} % this function came from ASTRON.BST (ARR)
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * "}" * 'label :=
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+% Now that the label is right we sort for real,
+% on sort.label then year then title. This is
+% for the second sorting pass.
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT % by sort.label, year, title---giving final bibliography order
+
+FUNCTION {begin.bib}
+{ preamble$ empty$ % no \etalchar in apalike
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$ % no labels in apalike
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/misc/jbact.bst b/biblio/bibtex/contrib/misc/jbact.bst
new file mode 100644
index 0000000000..b56b63fbe0
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/jbact.bst
@@ -0,0 +1,1490 @@
+% BibTex `jbact' bibliography style
+% version = 1.30 of jbact.bst 1992 June 29
+% Fix format.vol.num.pages to use field.or.null to
+% correctly handle case of missing volume.
+% [Nelson H. F. Beebe <beebe@plot79.math.utah.edu>]
+% version = 1.29 of jbact.bst 1992 April 21
+% from version = 1.21 of jmb.bst 1991 June 10
+
+% TO BE DONE in inproceedings:
+% 1. editors are not boldface
+% 2. need comma after title, not period
+% 3. don't rearrange editor names
+% 4. no comma after editors
+% (The trouble is that there is only one name function...)
+
+% This program must be used in conjunction with jbact.sty
+
+% Thomas Schneider
+% National Cancer Institute
+% Laboratory of Mathematical Biology
+% Frederick, Maryland 21702-1013
+% toms@ncifcrf.gov
+%
+% This file is available by anonymous ftp from ncifcrf.gov in pub/delila.
+%
+% TITLES can be turned on and off!
+% Just nocite the reference TitlesOn in the paper (i.e. \nocite{TitlesOn})
+% and have a bibliography article in your database with that cite key!
+% Without titles is Journal of Molecular Biology;
+% With titles is Journal of Theoretical Biology.
+%
+% WARNING: Since I use mostly article, book and inproceedings, these
+% are formatted pretty closely to the Journal of Theoretical Biology style
+% while other things are neglected. Also, I can't guarantee that the style
+% is exactly right.
+%
+% The following documentation is identical from the source of jmb.bst,
+% which was the apalike.bst taken from the Clarkson archive on 1989 June 19.
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% BibTeX `apalike' bibliography style (24-Jan-88 version)
+% Adapted from the `alpha' style, version 0.99a; for BibTeX version 0.99a.
+% Copyright (C) 1988, all rights reserved.
+% Copying of this file is allowed, provided that if you make any changes at all
+% you name it something other than `apalike.bst'.
+% This restriction helps ensure that all copies are identical.
+% Differences between this style and `alpha' are generally heralded by a `%'.
+% The file btxbst.doc has the documentation for alpha.bst.
+%
+% This style should be used with the `apalike' LaTeX style (apalike.sty).
+% \cite's come out like "(Jones, 1986)" in the text but there are no labels
+% in the bibliography, and something like "(1986)" comes out immediately
+% after the author. Author (and editor) names appear as last name, comma,
+% initials. A `year' field is required for every entry, and so is either
+% an author (or in some cases, an editor) field or a key field.
+%
+% Editorial note:
+% Many journals require a style like `apalike', but I strongly, strongly,
+% strongly recommend that you not use it if you have a choice---use something
+% like `plain' instead. Mary-Claire van Leunen (A Handbook for Scholars,
+% Knopf, 1979) argues convincingly that a style like `plain' encourages better
+% writing than one like `apalike'. Furthermore the strongest arguments for
+% using an author-date style like `apalike'---that it's "the most practical"
+% (The Chicago Manual of Style, University of Chicago Press, thirteenth
+% edition, 1982, pages 400--401)---fall flat on their face with the new
+% computer-typesetting technology. For instance page 401 anachronistically
+% states "The chief disadvantage of [a style like `plain'] is that additions
+% or deletions cannot be made after the manuscript is typed without changing
+% numbers in both text references and list." LaTeX sidesteps the disadvantage.
+%
+% History:
+% 15-sep-86 (SK,OP) Original version, by Susan King and Oren Patashnik.
+% 10-nov-86 (OP) Truncated the sort.key$ string to the correct length
+% in bib.sort.order to eliminate error message.
+% 24-jan-88 (OP) Updated for BibTeX version 0.99a, from alpha.bst 0.99a;
+% apalike now sorts by author, then year, then title;
+% THIS `apalike' VERSION DOES NOT WORK WITH BIBTEX 0.98i.
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% The program was further modified by Tom Schneider:
+%
+% 1989 June 19 (TDS) Renamed jmb.bst. Items that do not have years were
+% listed in the bibliography without identifiers. However, they
+% have identifiers in the text. The identifier was added.
+% Titles were removed :-(.
+
+% 1989 October 2 (TDS) Made labels in the paper use the & symbol rather
+% than `and', as required by JMB.
+% 1989 October 3 (TDS) Made et~al. be in italics.
+% Removed comma after journal name. (actually, all
+% mid sentence commas go!)
+% Made volume number be bold faced.
+% Converted colon (:) after volume number to a comma (,).
+% If a journal name does NOT end in a period, add
+% a comma after the name.
+% 1989 October 14 (TDS) Without a year the program used to sort on the
+% title. I made it sort on the cite$ if there is no year.
+% 1989 October 18 (TDS) If there is one reference without a year, put
+% an "a" at the end of its label, so that it comes out
+% as (Smith, a) in the text. in FUNCTION {forward.pass}
+% 1989 November 2 (TDS) Unpublished papers now give the title.
+% 1989 November 18 (TDS) TITLES can be turned on and off!
+% Just nocite the reference TitlesOn in the paper
+% and have a bibliography article in your database
+% with that cite key!
+% 1989 December 5 (TDS) I can't stand sorting to fall back on the
+% titles of the article - no control! So in function
+% bib.sort.order the default is now cite$.
+% 1990 November 14 (TDS) Changes to match JTB better:
+% Names in the bibliography are now connected
+% with "\&" instead of "and", since this fits JTB better.
+% "In" is now "In:".
+% "editors" and "editor" are now "eds" and "ed".
+% booktitle follows editors. editors in parenthesis.
+% pp. and p. instead of pages and page.
+% location followed by colon (:) and then publisher.
+
+% 1992 April 22 Changes to match J. Bact Proof
+% year is not in parens, ends with period.
+% the first name should be 'last name first',
+% but later ones should be the other way!
+% 'and' rather than &
+% journal name is not emphasized
+% author list is bold face, ends with period
+% comma after first author when there are two authors
+% changes to match J. Bact galley proof markings
+% expand journal titles where required by J. Bact!
+% no comma after title!
+
+ENTRY % declare variables that have a value for each entry on the list
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+% month not used in apalike
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block
+ docomma givetitles }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+
+ #0 'docomma := % if it is 0 then don't do commas, otherwise do them.
+}
+
+FUNCTION {init.toggle.switches}
+{% set switches for controlling the output!
+ #0 'givetitles := % if it is 0 then don't give titles, otherwise do them.
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+
+% % { ", " * write$ } % the comma here is responsible for every comma!
+% % % But JMB doesn't want commas, so away it goes!
+% { " " * write$ } % That does it!
+
+ { % doing a comma is controlled specifically in JMB using docomma
+ docomma #0 =
+ { " " * write$ }
+ { ", " * write$ }
+ if$
+ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { t "title" =
+ { pop$ } % jmb ignores titles and does not object if missing
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ if$
+ }
+ 'output.nonnull % block periods
+ % { pop$ } % don't do anything
+ if$
+}
+
+% t "title" =
+% { "zowie" warning$ }
+% { duplicate$ empty$
+% { pop$ "EmPtY " t * " in " * cite$ * warning$ }
+% 'output.nonnull
+% }
+% if$
+% if$
+%}
+
+% apalike needs this function because
+% the year has special punctuation;
+% apalike ignores the month
+FUNCTION {output.year.check}
+{ year empty$
+ {
+ "empty year in " cite$ ", using label: " extra.label * * * warning$
+ write$
+% " (" extra.label * ")" * % TDS no parens in jbact
+ " " extra.label * ". " * % period after year
+ mid.sentence 'output.state :=
+ }
+ { write$
+% " (" year * extra.label * ")" *
+ " " year * extra.label * % period after year TDS
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+%FUNCTION {output.bibitem}
+%{ newline$
+% "\bibitem[" write$
+% label write$
+% "]{" write$
+% cite$ write$
+% "}" write$
+% newline$
+% ""
+% before.all 'output.state :=
+%}
+
+% do numbers instead: TDS (taken from unsrt.bst
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+
+%"TRY WITH" s * warning$
+
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+
+%"TRY WITH" numnames * warning$ % this gives a warning
+% the problem is that num.names$ is 1, so the loop
+% doesn't work. Looks like names weren't counted somewhere!
+
+ "{\bf " % start bold face
+
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {
+% the first name should be 'last name first',
+% but later ones should be the other way!
+ nameptr #1 =
+ {s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't := } % last name first
+ {s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't := } % first name first
+ if$
+
+% nameptr #1 =
+% {"then bbl" t * warning$}
+% {"ELSE bbl" t * warning$}
+% if$
+
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+
+% if there are EXACTY two names, put a comma after the first one!
+ numnames #2 =
+ { "," * } % TDS
+ 'skip$
+ if$
+
+ t "others" =
+ { " {\em et~al.}" * }
+ { " and " * t * } % back to 'and' TDS
+% { " \& " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+
+ % if there is more than one name, then DON'T put a period
+ % at the end of the name list because it looks like Smith, J. K..
+ % otherwise put that period because the last name will end the list
+ % as in Helsberg, M. and R.~Eichenlaub.
+ numnames #1 >
+ {"." *}
+ 'skip$
+ if$
+
+ "} " * * % end bold face end whole thing with period
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+% { author format.names }
+
+% { "{\bf " author ".} " * * format.names } % make bold face, end with .
+% doing the above causes trouble!
+% NOTE: we can't put bf here since it messes up the formatting of names!
+
+ { author format.names } % make bold face, end with .
+ if$
+}
+
+FUNCTION {format.key} % this function is just for apalike
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+% editor num.names$ #1 >
+% { ", eds" * } % TDS
+% { ", ed" * } % TDS
+% if$
+ ", (ed.)," * % TDS
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { % decide whether to give the title or not
+ givetitles #1 =
+ { title "t" change.case$ } % produce the title
+ { title pop$ "" } % don't produce the title
+ if$
+ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "vol." volume tie.or.space.connect % TDS vol, not volume
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ {
+ output.state mid.sentence =
+ { edition "l" change.case$ }
+ { edition "t" change.case$ }
+ if$
+% If the database has the word 'second' replace it with 2nd for J. Bact!
+ "second" =
+ { "2nd"}
+ {
+ if$
+ "third" =
+ { "3nd"}
+ { edition }
+ }
+
+ if$
+
+ " ed." *
+
+% output.state mid.sentence =
+% { edition "l" change.case$ " ed." * }
+% { edition "t" change.case$ " ed." * }
+% if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+% { "pp." pages n.dashify tie.or.space.connect } % TDS
+% for some crazy reason, J.Bact wants p instead of pp
+ { "p." pages n.dashify tie.or.space.connect } % TDS
+ { "p." pages tie.or.space.connect } % TDS
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ "{\bf " volume field.or.null * "}" * % make volume bold face
+ number empty$
+ 'skip$
+ { " (" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In: " emphasize booktitle * } % TDS
+ { "In: " emphasize format.editors " " * *
+ booktitle * ", " *
+ } % TDS
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ "In:" % this is for apalike % TDS
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In: " % TDS
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "\cite{" * crossref * "}" * % this is for apalike
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ "In:" % this is for apalike % TDS
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{
+ cite$ "TitlesOn" =
+ 'skip$ % Don't write out an article of this kind, it's a toggle switch!
+ {
+ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+% zzzz
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { % figure out the last character of the journal name.
+ % "<<" journal #-1 #1 substring$ ">>" * * % for testing
+ % "<" journal ">" * * % this works ok % for testing
+
+ % from here on the string t will carry the journal title
+ journal 't :=
+
+ % expand journal titles where required by J. Bact! TDS
+ t "Nucl. Acids Res." =
+ { "Nucleic Acids Res." 't := }
+ 'skip$
+ if$
+
+ t "J. Bact." =
+ { "J. Bacteriol." 't := }
+ 'skip$
+ if$
+
+ t "Bell System Tech. J." =
+ { "Bell Syst. Tech. J." 't := }
+ 'skip$
+ if$
+
+ t "Molec. Microb." =
+ { "Molec. Microbiol." 't := }
+ 'skip$
+ if$
+
+ % deal with periods at the ends of titles
+ t #-1 #1 substring$ "." =
+ { t } % journal ended in period so don't do anything
+ { t " " *} % NO COMMAS AFTER THE JOURNAL NAME IN J. BACT!
+% { t ", " *} % journal ended without period, so add comma
+ if$
+
+ %journal #-1 #1 substring$ "." =
+ %{ journal } % journal ended in period so don't do anything
+ %{ journal ", " *} % journal ended without period, so add comma
+ %if$
+
+% emphasize "journal" output.check % TDS
+ "journal" output.check % not emphasized any more
+
+% journal * emphasize "journal" output.check % the original method
+
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+ }
+ if$
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ #1 'docomma := % TURN COMMAS ON FOR JMB
+ crossref missing$
+ {
+ format.bvolume output
+ new.block
+ format.number.series output
+ format.edition output
+ new.sentence
+ #0 'docomma := % no comma after address
+% publisher "publisher" % TDS
+% address output output.check % TDS
+ #1 'docomma := % comma back on
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+% format.edition output
+ new.block
+ note output
+ fin.entry
+ #0 'docomma := % TURN COMMAS OFF
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ howpublished output
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ #0 'docomma := % no comma after address
+ address ":" * output % TDS
+ publisher "publisher" output.check % TDS
+ #1 'docomma := % comma back on
+% publisher "publisher" output.check
+% address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+% NOTE: they want a comma after the title, but that would mess
+% up the period after other titles.
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ {
+% #1 'docomma := % TURN COMMAS ON FOR JMB, BUT NOT FOR JTB: inconsistent
+
+ format.pages
+ pages empty$
+ { output }
+ { "." * output } % TDS toss in period
+ if$
+
+ format.in.ed.booktitle "booktitle" output.check
+ format.bvolume "." * output
+ format.number.series output
+
+% address output % TDS address is below for JTB
+% new.sentence % TDS remove period
+ organization output
+ #0 'docomma := % NO COMMA AFTER ADDRESS
+ publisher "," * output % TDS
+% publisher "publisher" output % TDS
+ address output % TDS
+ #1 'docomma := % comma back on
+
+% publisher output % are simpler
+ #0 'docomma := % TURN COMMAS OFF
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title output
+ new.block
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output % for apalike
+ new.sentence % we always output
+ organization output % a nonempty organization
+ publisher output % here
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+
+% Since format.title is out of commission, the original method won't work:
+% format.title "title" output.check
+% so do the equivalent of the format.title procedure: (TDS)
+ title empty$
+ { "" }
+ { title "t" change.case$ } % produce the title
+ if$
+ "title" output.check
+
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+% ***********************************************************
+
+FUNCTION {check.for.titlecommand}
+% go through each entry and see if one of them has the key
+% 'TitlesOn'. If this is found, then do titles!
+% 1989 November 18 TDS
+{
+% "|" label "|" * * write$ newline$ % |Arrhenius {\em et~al.}, 1986|
+% "|" cite$ "|" * * write$ newline$ % |Arrhenius1986|
+% so cite$ is the thing I want to detect...
+
+ cite$ "TitlesOn" =
+ { % got it!
+% "FOUND TitlesOn" write$ newline$
+ "Titles Will Be Printed" warning$
+ #1 'givetitles := % give titles!
+ }
+ 'skip$
+ if$
+}
+EXECUTE {init.toggle.switches}
+ITERATE {check.for.titlecommand}
+% ***********************************************************
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+% There are three apalike cases: one person (Jones),
+% two (Jones and de~Bruijn), and more (Jones et~al.).
+% This function is much like format.crossref.editors.
+%
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " {\em et~al.}" * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " {\em et~al.}" * }
+ { " and " * s #2 "{vv~}{ll}" format.name$ * } % TDS
+% well, back to 'and'!
+% { " \& " * s #2 "{vv~}{ll}" format.name$ * }
+ % note new use of & rather than `and'. TDS
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key, no organization
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label % apalike ignores organization
+ 'author.key.label % for labeling and sorting
+ if$
+ }
+ if$
+ ", " % these three lines are
+ * % for apalike, which
+ year field.or.null purify$ #-1 #4 substring$ % uses all four digits
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$ % apalike uses initials
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't := % <= here
+ nameptr numnames = t "others" = and
+ { "{\em et al}" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+% apalike uses two sorting passes; the first one sets the
+% labels so that the `a's, `b's, etc. can be computed;
+% the second pass puts the references in "correct" order.
+% The presort function is for the first pass. It computes
+% label, sort.label, and title, and then concatenates.
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$ % for
+ 'sort.label := % apalike
+ sort.label % style
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT % by label, sort.label, title---for final label calculation
+
+STRINGS { last.label next.extra } % apalike labels are only for the text;
+
+INTEGERS { last.extra.num } % there are none in the bibliography
+
+FUNCTION {initialize.extra.label.stuff} % and hence there is no `longest.label'
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+% pass through the references forward
+{
+%"\\ label=" label "//" * * write$ newline$ % display the label
+%"\\last.label=" last.label "//" * * write$ newline$ % display the label
+
+ last.label label = % if the label repeats the previous label...
+ { % then increment the extra number
+ last.extra.num #1 + 'last.extra.num :=
+ % and convert it to a label
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { % else set things up for the next entry
+ "a" chr.to.int$ 'last.extra.num :=
+
+ % However, if the year was missing, tack on an extra "a". TDS
+ year empty$
+ {"a" 'extra.label :=}
+ {"" 'extra.label :=}
+ if$
+
+% "" 'extra.label := % the original method was not to do anything TDS
+
+ label 'last.label := % capture this label for next time
+ }
+ if$
+%"\\extra.label = " extra.label "//" * * write$ newline$ % display the label
+}
+
+FUNCTION {reverse.pass}
+% pass through the references backwards
+% add extra characters to the end of the label string
+{
+%"{{" label "}}" * * write$ newline$ % display the label
+ next.extra "b" =
+% original logic:
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+
+% next.extra "b" = { "next.extra was = b" write$ newline$} 'skip$ if$
+
+% new as of 1989 Oct 18
+% { "a" 'extra.label := }
+% { % Put on an "a" at the end of the label if the year is missing. TDS
+% year empty$
+% { "a" 'extra.label := }
+% %{ label "a" * 'label := }
+% 'skip$ % otherwise leave it alone (orignial method)
+% if$ }
+% if$
+
+ label extra.label * 'label :=
+ extra.label 'next.extra :=
+%"{{" label "}}" * * write$ newline$ % display the label
+}
+
+FUNCTION {bib.sort.order}
+% Generate the sort.key$ variables for sorting.
+% The sorting is first on the sort.label (ie, author's name), followed
+% by the year then the title. If there is no year, the cite$ is used.
+{
+ sort.label % this is based on the author name
+ " " * % tack on some space
+% original apa command was to use the year or an empty string:
+% year field.or.null sortify
+%
+% Replace that with the use of the cite$, when there is no year:
+ year duplicate$ empty$
+ {pop$ cite$}
+ 'skip$
+ if$
+
+ * " " * % tack on some space
+
+% I CAN'T STAND SORTING ON TITLE!!! TDS 1989 Dec 5
+% title field.or.null
+% sort.format.title
+% * % attach them together
+ cite$
+ * % use cite$ instead!!
+
+ % note: if there is no year, then the cite$ will override the sorting
+ % on the title. Oh well. Title sorting is sorta (ha ha) awful.
+
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+
+ % The following line helps debug the program. It shows what the sort.key$ is.
+ % "%" sort.key$ * write$ newline$
+}
+
+% Here is the place that the actual executions of the labeling and sorting
+% functions are done.
+
+
+EXECUTE {initialize.extra.label.stuff} % initialize variables
+ITERATE {bib.sort.order} % set up the sorting keys
+SORT % by sort.label, year, title---giving final bibliography order
+% Having sorted NOW we apply the extra letters at the end!
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$ % no \etalchar in apalike
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$ % no labels in apalike
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/misc/jqt1999.bst b/biblio/bibtex/contrib/misc/jqt1999.bst
new file mode 100644
index 0000000000..0953b46c3e
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/jqt1999.bst
@@ -0,0 +1,1142 @@
+%NAME: jqt1999.bst
+% adapted from 'apalike' bibliography style to work for
+% The Journal of Quality Technology
+%
+% I use it with natbib.sty, but it works with apalike.sty
+%
+% Dave Forrest, drf5n@virginia.edu, 2 June 1999
+% http://www.people.virginia.edu/~drf5n/
+% you can get this file for a limited time from:
+% http://www.people.virginia.edu/~drf5n/extras/jqt1999.bst
+% but I think it belongs at:
+% ftp://www.ctan.org/ctan/biblio/bibtex/contrib/jqt1999.bst
+%
+% Changes: (marked with 'drf5n')
+% Pages marked with ", pp. " instead of ":"
+% Multiple authors separated with semicolons instead of commas
+% Article titles quoted
+% Article titles not lowercased
+%
+% Bugs:
+% page marking insensitive to single pages
+%
+% My thanks to :
+% Oren Pataschnik's February 8 1998 "Designing BibTeX styles" from:
+% ftp://ftp.cdrom.com/pub/tex/ctan/bibliography/bibtex/distribs/doc/btxhak.tex
+% Patrick W. Daly's 1996/07/03 natbib v6.3 from:
+% ftp://ftp.cdrom.com/pub/tex/ctan/macros/latex2e/contrib/supported/natbib/
+%
+% This was modified from:
+%
+% BibTeX `apalike' bibliography style (24-Jan-88 version)
+% Adapted from the `alpha' style, version 0.99a; for BibTeX version 0.99a.
+% Copyright (C) 1988, all rights reserved.
+% Copying of this file is allowed, provided that if you make any changes at all
+% you name it something other than `apalike.bst'.
+% This restriction helps ensure that all copies are identical.
+% Differences between this style and `alpha' are generally heralded by a `%'.
+% The file btxbst.doc has the documentation for alpha.bst.
+%
+% This style should be used with the `apalike' LaTeX style (apalike.sty).
+% \cite's come out like "(Jones, 1986)" in the text but there are no labels
+% in the bibliography, and something like "(1986)" comes out immediately
+% after the author. Author (and editor) names appear as last name, comma,
+% initials. A `year' field is required for every entry, and so is either
+% an author (or in some cases, an editor) field or a key field.
+%
+% Editorial note:
+% Many journals require a style like `apalike', but I strongly, strongly,
+% strongly recommend that you not use it if you have a choice---use something
+% like `plain' instead. Mary-Claire van Leunen (A Handbook for Scholars,
+% Knopf, 1979) argues convincingly that a style like `plain' encourages better
+% writing than one like `apalike'. Furthermore the strongest arguments for
+% using an author-date style like `apalike'---that it's "the most practical"
+% (The Chicago Manual of Style, University of Chicago Press, thirteenth
+% edition, 1982, pages 400--401)---fall flat on their face with the new
+% computer-typesetting technology. For instance page 401 anachronistically
+% states "The chief disadvantage of [a style like `plain'] is that additions
+% or deletions cannot be made after the manuscript is typed without changing
+% numbers in both text references and list." LaTeX sidesteps the disadvantage.
+%
+% History:
+% 15-sep-86 (SK,OP) Original version, by Susan King and Oren Patashnik.
+% 10-nov-86 (OP) Truncated the sort.key$ string to the correct length
+% in bib.sort.order to eliminate error message.
+% 24-jan-88 (OP) Updated for BibTeX version 0.99a, from alpha.bst 0.99a;
+% apalike now sorts by author, then year, then title;
+% THIS `apalike' VERSION DOES NOT WORK WITH BIBTEX 0.98i.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+% month not used in apalike
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+% apalike needs this function because
+% the year has special punctuation;
+% apalike ignores the month
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { write$
+ " (" year * extra.label * ")" *
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't := % last name first
+ nameptr #1 >
+ { namesleft #1 >
+% drf5n { ", " * t * }
+ { "; " * t * } %%% drf5n
+ { numnames #2 >
+% drf5n { "," * }
+ { ";" * } %%% drf5n
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.key} % this function is just for apalike
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+%FUNCTION {format.title} %%% drf5n
+%{ title empty$
+% { "" }
+% { title "t" change.case$ }
+% if$
+%}
+
+FUNCTION {format.title} % put quotes around a title, if it exists
+{ title empty$
+ { "" }
+ { "''" title "''" * * } % put on the quotes, and don't change it
+ if$
+}
+
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+% drf5n { ":" * pages n.dashify * } %%% drf5n
+ { ", pp. " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ "In" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "\cite{" * crossref * "}" * % this is for apalike
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ "In" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ howpublished output
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address output % for apalike
+ new.sentence % there's no year
+ organization output % here so things
+ publisher output % are simpler
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title output
+ new.block
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output % for apalike
+ new.sentence % we always output
+ organization output % a nonempty organization
+ publisher output % here
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+% There are three apalike cases: one person (Jones),
+% two (Jones and de~Bruijn), and more (Jones et~al.).
+% This function is much like format.crossref.editors.
+%
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key, no organization
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label % apalike ignores organization
+ 'author.key.label % for labeling and sorting
+ if$
+ }
+ if$
+ ", " % these three lines are
+ * % for apalike, which
+ year field.or.null purify$ #-1 #4 substring$ % uses all four digits
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$ % apalike uses initials
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't := % <= here
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+% apalike uses two sorting passes; the first one sets the
+% labels so that the `a's, `b's, etc. can be computed;
+% the second pass puts the references in "correct" order.
+% The presort function is for the first pass. It computes
+% label, sort.label, and title, and then concatenates.
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$ % for
+ 'sort.label := % apalike
+ sort.label % style
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT % by label, sort.label, title---for final label calculation
+
+STRINGS { last.label next.extra } % apalike labels are only for the text;
+
+INTEGERS { last.extra.num } % there are none in the bibliography
+
+FUNCTION {initialize.extra.label.stuff} % and hence there is no `longest.label'
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+% Now that the label is right we sort for real,
+% on sort.label then year then title. This is
+% for the second sorting pass.
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT % by sort.label, year, title---giving final bibliography order
+
+FUNCTION {begin.bib}
+{ preamble$ empty$ % no \etalchar in apalike
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$ % no labels in apalike
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/misc/jtb.bst b/biblio/bibtex/contrib/misc/jtb.bst
new file mode 100644
index 0000000000..20abbcc2f9
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/jtb.bst
@@ -0,0 +1,1202 @@
+%%% ====================================================================
+%%% @BibTeX-style-file{
+%%% author = "Alan Rogers",
+%%% version = "1.1",
+%%% date = "1990",
+%%% filename = "humanbio.bst",
+%%% address = "Dept of Anthropology, University of Utah,
+%%% Salt Lake City, UT 84112",
+%%% checksum = "29497 1202 3234 26025",
+%%% email = "rogers@anthro.utah.edu",
+%%% supported = "no",
+%%% docstring = "The file produces bibliographies more or
+%%% less in the format of the Journal of
+%%% Theoretical Biology. It was adapted from
+%%% Sake J. Hogeveen's `astron.bst'.
+%%%
+%%% Usage: \documentstyle[astron]{...}
+%%% ...
+%%% \bibliographystyle{jtb}
+%%% ...
+%%%
+%%% The \documentstyle command above invokes
+%%% Hogeveen's `astron.sty', which must be in
+%%% TeX's search path.
+%%%
+%%% The modifications implement `\cite*{}',
+%%% which generates references in short form.
+%%% For example, `Rogers \cite*{...}' would
+%%% produce `Rogers (1992)'."
+%%% }
+%%% ====================================================================
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Copyright (C) 1990 Sake J. Hogeveen.
+
+% This is ASTRON.BST, a BibTeX style for use with BibTeX version 0.99c.
+% ASTRON.BST has to be used in conjunction with the LaTeX style ASTRON.STY.
+% The use of both styles is documented in ASTDOC.TEX.
+
+% ASTRON.BST is an adaptation of APALIKE.BST by Oren Patashnik and Suzan King.
+
+% This style produces citations in the `author-year' format, which is widely
+% used among astronomical journals.
+% It supports two forms of citation: the \cite command produces: (Author, year)
+% in the text; the \cite* command only: (year) .
+
+% The long an short citation trickery is adapted from NAMED.BST by
+% Peter F. Patel-Schneider.
+
+% Copyright Notice:
+% The files ASTRON.BST, ASTRON.STY, ASTDOC.TEX, ASTDOC.BIB, EXAMPLE.TEX,
+% EXAMPLE.BIB, MNEMONIC.BIB, and TEMPLATE.BIB are a package.
+% You may copy and distribute them freely for non-commercial purposes,
+% provided that you keep the package together and this copyright notice
+% in tact.
+% You may not alter or modify the files; this helps to ensure that all
+% distributions of ASTRON.BST and related files are the same.
+% If you make any modifications, then you must give the files new names,
+% other than the present.
+% The author bears no responsibilities for errors in this document or
+% the software it describes; and shall not be held liable for any indirect,
+% incidental, or consequential damages.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+% month not used in apalike
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { ", " * write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { ", " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output.nonnull.extra}
+{ 's :=
+ output.state mid.sentence =
+ { " " * write$ }
+ { output.state after.block =
+ { ", " * write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { ", " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.extra}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull.extra
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check.extra}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull.extra
+ if$
+}
+
+% apalike needs this function because
+% the year has special punctuation;
+% apalike ignores the month
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { write$
+ " (" year * extra.label * ") " *
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {boldface}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\bf " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't := % last name first
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.ed.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f. }{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.key} % this function is just for apalike
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ {" (" * editor format.names
+ editor num.names$ #1 >
+ { " eds.)" * }
+ { " ed.)" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.editors.extra}
+{ editor empty$
+ { "" }
+ {" (" * editor format.ed.names
+ editor num.names$ #1 >
+ { " eds.)" * }
+ { " ed.)" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {first.page.number}
+{ 't :=
+ ""
+ { t "" =
+ { #0 }
+ { t #1 #1 substring$ "-" = not }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "Vol." volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "No." }
+ { "No." }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pp." pages n.dashify tie.or.space.connect }
+ { "p." pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.page}
+{ pages empty$
+ { "" }
+ { "p.~" pages first.page.number * }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { boldface ", " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.page}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { boldface ", " * pages first.page.number * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "Chapt." }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " booktitle emphasize * ". " * format.editors.extra * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ "In" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Vol." volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "\cite{" * crossref * "}" * % this is for apalike
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ "In" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check.extra
+ format.vol.num.page output.extra
+ }
+ { format.article.crossref output.nonnull
+ format.page output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ address ": " * publisher * output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ new.block
+ howpublished output
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ address ": " * publisher * output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+% format.title "title" output.check
+% new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ address ": " * publisher * output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+% format.title "title" output.check
+% new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ new.sentence % there's no year
+ organization output % here so things
+ address ": " * publisher * output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+% format.title "title" output.check
+% new.block
+ "Master's thesis" emphasize format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle output
+ new.block
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+% format.btitle "title" output.check
+% new.block
+ "Ph.D. thesis" emphasize format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output % for apalike
+ new.sentence % we always output
+ organization output % a nonempty organization
+ publisher output % here
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ address ": " * institution * output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr,"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+% There are three apalike cases: one person (Jones),
+% two (Jones and de~Bruijn), and more (Jones et~al.).
+% This function is much like format.crossref.editors.
+%
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key, no organization
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label % apalike ignores organization
+ 'author.key.label % for labeling and sorting
+ if$
+ }
+ if$
+ "\protect\astroncite{" swap$ * "}{" % these three lines are
+ * % for apalike, which
+ year field.or.null purify$ #-1 #4 substring$ % uses all four digits
+ * % the mathing closing "}" comes in at the reverse.pass
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$ % apalike uses initials
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't := % <= here
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+% apalike uses two sorting passes; the first one sets the
+% labels so that the `a's, `b's, etc. can be computed;
+% the second pass puts the references in "correct" order.
+% The presort function is for the first pass. It computes
+% label, sort.label, and title, and then concatenates.
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$ % for
+ 'sort.label := % apalike
+ sort.label % style
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT % by label, sort.label, title---for final label calculation
+
+STRINGS { last.label next.extra } % apalike labels are only for the text;
+
+INTEGERS { last.extra.num } % there are none in the bibliography
+
+FUNCTION {initialize.extra.label.stuff} % and hence there is no `longest.label'
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * "}" * 'label :=
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+% Now that the label is right we sort for real,
+% on sort.label then year then title. This is
+% for the second sorting pass.
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT % by sort.label, year, title---giving final bibliography order
+
+FUNCTION {begin.bib}
+{ preamble$ empty$ % no \etalchar in apalike
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$ % no labels in apalike
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/misc/jtbnew.bst b/biblio/bibtex/contrib/misc/jtbnew.bst
new file mode 100644
index 0000000000..c1f2929e6b
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/jtbnew.bst
@@ -0,0 +1,1493 @@
+%%
+%% This is file `jtbnew.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `,ay,nat,lang,nm-rev,ed-rev,jnrlst,nmft,nmft-sc,keyxyr,blkyear,dt-beg,yr-par,yrp-per,note-yr,vol-bf,volp-com,pp-last,num-xser,jnm-x,add-pub,edparxc,edby-par,edbyy,in-col,pp,ed,abr,ednx,xedn,jabr,amper,and-xcom,etal-it,url,url-blk,nfss')
+%% -- afterwards edited by hand (Yuri Robbers August 31st, 2000)
+%%
+%% ----------------------------------------
+%% *** This stylefile is for the Journal of Theoretical Biology, new style. ***
+%% *** ***
+%% *** Created by Yuri Robbers <yuri@rulbii.leidenuniv.nl> August 31st 2000 ***
+%% *** ***
+%% *** ***
+%% *** Using makebst by Patrick W Daly (1994--2000) ***
+%% *** ***
+%%
+%% Copyright 1994-2000 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2000/05/04 4.01 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is natbib.sty by Patrick W. Daly
+ % The form of the \bibitem entries is
+ % \bibitem[Jones et al.(1990)]{key}...
+ % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
+ % The essential feature is that the label (the part in brackets) consists
+ % of the author names, as they should appear in the citation, with the year
+ % in parentheses following. There must be no space before the opening
+ % parenthesis!
+ % With natbib v5.3, a full list of authors may also follow the year.
+ % In natbib.sty, it is possible to define the type of enclosures that is
+ % really wanted (brackets or parentheses), but in either case, there must
+ % be parentheses in the label.
+ % The \cite command functions as follows:
+ % \citet{key} ==>> Jones et al. (1990)
+ % \citet*{key} ==>> Jones, Baker, and Smith (1990)
+ % \citep{key} ==>> (Jones et al., 1990)
+ % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
+ % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
+ % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
+ % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
+ % \citeauthor{key} ==>> Jones et al.
+ % \citeauthor*{key} ==>> Jones, Baker, and Smith
+ % \citeyear{key} ==>> 1990
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ language
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ url
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ new.block
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+FUNCTION {bolden}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textbf{" swap$ * "}" * }
+ if$
+}
+FUNCTION {scaps}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textsc{" swap$ * "}" * }
+ if$
+}
+FUNCTION {bib.name.font}
+{ scaps }
+FUNCTION {bib.fname.font}
+{ bib.name.font }
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds." }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "ed." }
+
+FUNCTION {bbl.volume}
+{ "vol." }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "no." }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "pp." }
+
+FUNCTION {bbl.page}
+{ "p." }
+
+FUNCTION {bbl.chapter}
+{ "chap." }
+
+FUNCTION {bbl.techrep}
+{ "Tech. Rep." }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"Jun."}
+
+MACRO {jul} {"Jul."}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sep."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Software Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput. Aid. Des."}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Program."}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Graphic."}
+
+MACRO {toms} {"ACM Trans. Math. Software"}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Progr. Lang. Syst."}
+
+MACRO {tcs} {"Theor. Comput. Sci."}
+
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { "\urlprefix\url{" url * "}" * }
+ if$
+}
+
+STRINGS { bibinfo}
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}{, f.}{, jj}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ bib.name.font
+ " " * bbl.etal emphasize *
+ }
+ {
+ "\&"
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ t "others" =
+ 'skip$
+ { bib.name.font }
+ if$
+ } if$
+}
+FUNCTION {format.names.ed}
+{
+ format.names
+}
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author "author" format.names
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ " " *
+ get.bbl.editor
+ "(" swap$ * ")" *
+ *
+ }
+ if$
+}
+FUNCTION {select.language}
+{ duplicate$ empty$
+ 'pop$
+ { language empty$
+ 'skip$
+ { "{\selectlanguage{" language * "}" * swap$ * "}" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.note}
+{
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ duplicate$ empty$ 'skip$
+ { "t" change.case$ }
+ if$
+ "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ select.language
+ }
+ if$
+}
+FUNCTION {format.full.names}
+{'s :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ {
+ "\&"
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[{" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "}]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in capitalize
+ ":" *
+ " " * }
+
+FUNCTION {format.date}
+{ year "year" bibinfo.check duplicate$ empty$
+ {
+ }
+ 'skip$
+ if$
+ extra.label *
+ before.all 'output.state :=
+ " (" swap$ * ")" *
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ select.language
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ bbl.of space.word * swap$
+ emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { number "number" bibinfo.check }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ bbl.pages swap$
+ n.dashify
+ }
+ {
+ bbl.page swap$
+ }
+ if$
+ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ", " *
+ swap$
+ n.dashify
+ "pages" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ "volume" bibinfo.check
+ }
+ if$
+ bolden
+ number "number" bibinfo.check duplicate$ empty$ 'skip$
+ {
+ swap$ duplicate$ empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ swap$
+ "(" swap$ * ")" *
+ }
+ if$ *
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ { "" }
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+ emphasize
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ {
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ get.bbl.editor
+ swap$ "," *
+ " " * swap$ *
+ "(" swap$ * ")" *
+ swap$
+ " " * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ capitalize
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ address "address" bibinfo.check *
+ t empty$
+ 'skip$
+ { address empty$
+ 'skip$
+ { ": " * }
+ if$
+ t *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ {
+ journal
+ "journal" bibinfo.check
+ emphasize
+ "journal" output.check
+ add.blank
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ }
+ if$
+ format.journal.pages
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ add.blank
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher.address output
+ }
+ {
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher.address output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.pages "pages" output.check
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ format.publisher.address output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.pages "pages" output.check
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ new.sentence
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ format.edition output
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ new.block
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title output
+ new.block
+ howpublished "howpublished" bibinfo.check output
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ new.block
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ new.sentence
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ new.block
+ format.url output
+ new.block
+ format.note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ format.url output
+ new.block
+ format.note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+READ
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+FUNCTION {format.lab.names}
+{ 's :=
+ "" 't :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$
+ " " * bbl.etal emphasize *
+ }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ { " \& " * s #2 "{vv~}{ll}" format.name$
+ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" * }
+ { t sortify * }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+SORT
+STRINGS { last.label next.extra }
+INTEGERS { last.extra.num number.label }
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+EXECUTE {initialize.extra.label.stuff}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+ITERATE {bib.sort.order}
+SORT
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\expandafter\ifx\csname natexlab\endcsname\relax\def\natexlab#1{#1}\fi"
+ write$ newline$
+ "\expandafter\ifx\csname url\endcsname\relax"
+ write$ newline$
+ " \def\url#1{\texttt{#1}}\fi"
+ write$ newline$
+ "\expandafter\ifx\csname urlprefix\endcsname\relax\def\urlprefix{URL }\fi"
+ write$ newline$
+ "\providecommand{\selectlanguage}[1]{\relax}"
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `jtbnew.bst'.
diff --git a/biblio/bibtex/contrib/misc/namunsrt.bst b/biblio/bibtex/contrib/misc/namunsrt.bst
new file mode 100644
index 0000000000..8c04e10fbc
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/namunsrt.bst
@@ -0,0 +1,949 @@
+% BibTeX standard bibliography style `unsrt'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ nam
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ nam write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "NAM" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/misc/nar.bst b/biblio/bibtex/contrib/misc/nar.bst
new file mode 100644
index 0000000000..2a26a5190d
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/nar.bst
@@ -0,0 +1,1144 @@
+% nar.bst was created by Tom Schneider from unsrt.bst
+% version = 3.19 of nar.bst 2011 Dec 23
+% 2011 Dec 23, 3.19 correct year
+% 2011 Dec 23, 3.18 inproceedings bug, line 555 needs another '*'
+% thanks to David Koes dkoes
+% 2010 Dec 05, 3.17 for incollection bug
+% format bvolume needed a '*'
+% 2010 Mar 11, 3.16 techreport - add commas after author and number
+% 2010 Mar 11, 3.15 make unpublished not have two titles ... & date at start
+% 2010 Mar 07, 3.14 Changes from Wolfgang Langer!
+% 2001 Nov 12, 3.13 volume just before pages for inproceedings
+% 2001 Nov 12, 3.12 editor names reversed again...
+% 2001 Jun 15, 3.11 period after title (was comma)
+% 2000 Sep 13, 3.10 introduction of titles as per new NAR instructions
+% 1994 November 30, 3.09 previous version
+
+% Dr. Thomas D. Schneider, Ph.D.
+% National Institutes of Health
+% schneidt@mail.nih.gov
+% toms@alum.mit.edu (permanent)
+% http://alum.mit.edu/www/toms (permanent)
+
+% This is the bibliography definition for
+% Nucleic Acids Research
+% http://nar.oupjournals.org/
+
+% The instructions for authors are at
+% http://www3.oup.co.uk/nar/instauth/
+
+% about titles:
+
+% http://www3.oup.co.uk/nar/instauth/editorial_28_17.html
+% This first appeared in NAR Volume 28, Issue 17, September 1 2000.
+%
+% Titles in References; Papers Longer than 10
+% Printed Pages
+%
+% At the recent Editors' Meeting it was decided that in future all
+% papers, not just Surveys and Summaries, will have titles
+% included in their reference lists. Starting immediately, all
+% authors will be encouraged to include titles, and this will
+% become mandatory for all papers published after January 1 st
+% 2001. The suggested page limit of 8 pages will be relaxed to
+% accommodate this. Some papers require extra space, and so in
+% future all papers longer than 10 pages will incur a per excess
+% printed page charge of euro 20/$200 to help offset the increased
+% costs of production. This charge for pages in excess of 10 will
+% be applied to all printed papers published after January 1st
+% 2001. Note that the charge will not apply to papers published
+% solely in NAR Methods Online, nor to data published online as
+% `Supplementary Material'. Also, the journal will continue to
+% offer free colour printing.
+
+% BibTeX standard bibliography style `unsrt'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ url
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block
+ doblank straightnames}
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+
+ #0 'doblank := % put a blanks in output.nonnul if not zero
+ #0 'straightnames := % force names to be J. B. Smith if not zero
+ % otherwise they are Smith, J. B.
+ % 2001 Nov 12: NAR changed back to the unstraight ...
+}
+
+STRINGS { s t }
+
+FUNCTION {between}
+{ % what to do between output items TDS (AVOID COMMAS)
+ doblank #0 =
+ {" " * write$}
+ {write$}
+ if$
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+% { ", " * write$ } % TDS NO COMMAS!!!
+ {
+ between
+ }
+
+ { output.state after.block =
+ {
+% new as of 2001 jun 15:
+% zzz
+% add.period$ write$ % TDS PERIODS!
+ write$ % TDS PERIODS!
+
+% prior to 2001 jun 15:
+%% add.period$ write$ % TDS NO PERIODS!
+% write$ % TDS NO PERIODS!
+
+ newline$
+% "\newblock " write$ % TDS NO NEWBLOCKS: makes for a cleaner file
+ }
+ { output.state before.all =
+ 'write$
+% { add.period$ " " * write$ } % TDS NO PERIODS!!!
+% { " " * write$ } % TDS NO PERIODS!!!
+ {between}
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {
+% the original format line: makes "J. D. Smith". TDS
+% s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't := % TDS old formatting
+% the new format line: makes "Smith, J. D.". TDS
+% s nameptr "{vv}{ll}{, jj}{, f.}" format.name$ 't := % TDS new formatting
+% note, no ~ so that the format is straight for NAR.
+
+ straightnames #0 =
+ { s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't := }% TDS; Langer
+ % added blank after vv. 01.03.2010 Wolfram Langer
+ { s nameptr "{ff{ }}{vv}{ ll}{, jj}" format.name$ 't := }% TDS
+ if$
+
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+% { " et~al." * } % TDS
+ { " et al." * } % TDS no ~
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{
+% #1 'straightnames := % names go as J. B. Smith for editors
+% NAR Changed back!! 2001 Nov 12 TDS
+ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", (eds.)" * } % 2001 Nov 12 TDS
+ { ", (ed.)" * }
+% { ", editors" * }
+% { ", editor" * }
+ if$
+ }
+ if$
+% #0 'straightnames := % names go as Smith, J. B. again
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+% { title "t" change.case$ }
+% 2000 Sep 13 TDS put comma after title:
+% { title "," * "t" change.case$ }
+% 2001 Jun 15 TDS put period after title!
+% { title "." * "t" change.case$ }
+% Wolfram Langer, 15.12.2009: No dot after title, no change of the case.
+% TDS: 2010 Mar 07: No, there is a dot after the title, see:
+% http://nar.oxfordjournals.org/cgi/content/full/38/4/1182
+ { title "." * }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+% 'year originally
+ {"(" year ")" * * } % TDS
+ {"(" month ", " year ")" * * * * } % TDS
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title %emphasize not for NAR! TDS
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+% { "volume" volume tie.or.space.connect % TDS
+ % TDS add a comma and bold
+% { "volume" "{\bf " volume "}, " * * tie.or.space.connect
+% 2001 Nov 12 no longer bold!!
+% { "volume" volume ", " * tie.or.space.connect
+% 2001 nov 12 now "Vol."
+% { "Vol." volume ", " * tie.or.space.connect
+ { "Vol." volume tie.or.space.connect % TDS 2011 Dec 05 No comma yet!
+ series empty$
+% 'skip$
+% PUT COMMA HERE INSTEAD OF SKIP! REMOVE COMMA ABOVE % TDS 2011 Dec 05
+ {", " *} % TDS
+ %{ " of " * series emphasize * } TDS
+ { " of " * series * ", " * } % TDS book titles not emphasized for NAR
+ % TDS add comma 2011 Dec 05
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { " " edition * "l" change.case$ " edition" * } % TDS add space before
+ { " " edition * "t" change.case$ " edition" * } % TDS add space before
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+% { "pages" pages n.dashify tie.or.space.connect } % TDS
+% { "page" pages tie.or.space.connect } % TDS
+ { "pp." pages n.dashify tie.or.space.connect } % TDS
+ { "p." pages tie.or.space.connect } % TDS
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.vol.num.pages}
+%{ volume * field.or.null
+{
+ volume empty$
+ { "" }
+ {"{\bf " volume * field.or.null "}" *} % TDS add boldface
+ if$
+
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+% { ":" * pages n.dashify * } % TDS remove colon!
+ { ", " * pages n.dashify * } % TDS replace colon with a comma
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ % add colon after "In"
+ %{ "In " booktitle emphasize * } % TDS
+ %{ "In " format.editors * ", " * booktitle emphasize *
+% { "In " booktitle *} % TDS no emphasis in nar!
+% 2001 Nov 12 Now Nar wants emph!!
+ { "In "
+"\emph{"
+booktitle
+"}" * * * % 2011 Dec 23 thanks to dkoes - a * was missing
+} % TDS now emphasis in nar!
+ { "In " format.editors * ", " *
+"\emph{"
+booktitle
+"}" * *
+* % TDS now emphasis in nar!
+ ", " * } % TDS and tack on a comma
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * } % TDS
+ if$
+ }
+ { "In " key * } % TDS
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In " % TDS
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In " booktitle * } % TDS
+ if$
+ }
+ { "In " key * } % TDS
+ if$
+ }
+ { "In " format.crossref.editor * } % TDS
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+% Wolfram Langer, 15.12.2009
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ {"\url{" url * "}" *}
+ if$
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ format.date "year" output.check % TDS move date to here
+ new.block
+% format.title "title" output.check % TDS NO TITLES
+ format.title "title" output.check % TDS NO TITLES; titles as of 2000 Sep 13
+ new.block
+% zzz
+ crossref missing$
+ { journal "," * emphasize "journal" output.check %TDS add ,
+ format.vol.num.pages output
+% format.date "year" output.check % TDS move date
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+
+ format.date "year" output.check % TDS new location
+ new.block
+ #1 'doblank := % remove blanks TDS
+ format.btitle "title" output.check
+ ", " output % give it a comma after the title TDS
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ ", " output % give it a comma after the publisher TDS
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+% format.date "year" output.check % TDS former location
+ new.block
+ note output
+ fin.entry
+ #0 'doblank := % blanks again TDS
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ format.date "year" output.check % TDS
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+% format.date "year" output.check % TDS
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ format.date "year" output.check % TDS
+ new.block
+ format.title "title" output.check % TDS NO TITLE, titles 2000 Sep 13
+% 2001 Nov 12 Now make this title emph!!
+% TDS NO TITLE, titles 2000 Sep 13
+ new.block
+ crossref missing$
+ {
+ format.in.ed.booktitle "booktitle"
+%"\emph{"
+% "}" * *
+output.check
+% qqq
+% format.bvolume output
+% format.number.series output
+% format.pages output % TDS pages go at the end
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+% 2001 nov 12: no longer colon! TDS
+% ": " output % TDS put a colon
+ publisher output
+% format.date "year" output.check
+ }
+ { address output.nonnull
+% format.date "year" output.check
+ new.sentence
+ #1 'doblank := % remove blanks
+ organization output
+ ": " output % TDS put a colon after the location
+ publisher output
+% ". " output % TDS put a period after the publisher
+ #0 'doblank := % put back blanks
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+% format.pages output % TDS pages go at the end
+ }
+ if$
+ new.block
+ note output
+ format.bvolume output % TDS goes at end
+ format.number.series output % TDS goes at end
+ format.pages output % TDS pages go at the end
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+% Wolfram Langer, 15.12.2009
+FUNCTION {electronic}
+{ output.bibitem
+ format.authors "author" output.check
+ note output
+ format.date "year" output.check
+ new.block
+ title ", available: " * format.url * "title" output.check
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors ", " * "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number ", " * output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.date output
+ format.title "title" output.check % titles as of 2000 Sep 13
+% format.title ", " * "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/misc/neuron.bst b/biblio/bibtex/contrib/misc/neuron.bst
new file mode 100644
index 0000000000..a1d2618465
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/neuron.bst
@@ -0,0 +1,1481 @@
+%%
+%% This is file `neuron.bst', created 06/28/01
+%% by Dan Rizzuto (rizzuto@brandeis.edu)
+%%
+%% This will format your manuscript bibliography for submission
+%% to the journal Neuron (www.neuron.org).
+%%
+%%
+%%
+ %-------------------------------------------------------------------
+ % The original source file contains the following version information:
+ % \ProvidesFile{merlin.mbs}[1996/12/16 3.82 (PWD)]
+ %
+ % NOTICE:
+ % This file may be used for non-profit purposes.
+ % It may not be distributed in exchange for money,
+ % other than distribution costs.
+ %
+ % The author provides it `as is' and does not guarantee it in any way.
+ %
+ % Copyright (C) 1994, 1995, 1996 Patrick W. Daly
+ %-------------------------------------------------------------------
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is natbib.sty by Patrick W. Daly
+ % The form of the \bibitem entries is
+ % \bibitem[Jones et al.(1990)]{key}...
+ % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
+ % The essential feature is that the label (the part in brackets) consists
+ % of the author names, as they should appear in the citation, with the year
+ % in parentheses following. There must be no space before the opening
+ % parenthesis!
+ % With natbib v5.3, a full list of authors may also follow the year.
+ % In natbib.sty, it is possible to define the type of enclosures that is
+ % really wanted (brackets or parentheses), but in either case, there must
+ % be parentheses in the label.
+ % The \cite command functions as follows:
+ % \cite{key} ==>> Jones et al. (1990)
+ % \cite[]{key} ==>> (Jones et al., 1990)
+ % \cite[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
+ % \cite[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
+ % \cite[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
+ % \citeauthor{key} Jones et al.
+ % \citefullauthor{key} Jones, Baker, and Smith
+ % \citeyear{key} 1990
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ new.block
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {non.stop}
+{ duplicate$
+ "}" * add.period$
+ #-1 #1 substring$ "." =
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+
+FUNCTION {bolden}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textbf{" swap$ * "}" * }
+ if$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.editors}
+{ "eds." }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "edn." }
+
+FUNCTION {bbl.volume}
+{ "vol." }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "no." }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "pp." }
+
+FUNCTION {bbl.page}
+{ "p." }
+
+FUNCTION {bbl.chapter}
+{ "chap." }
+
+FUNCTION {bbl.techrep}
+{ "Tech. Rep." }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+FUNCTION {bbl.first}
+{ "1st" }
+
+FUNCTION {bbl.second}
+{ "2nd" }
+
+FUNCTION {bbl.third}
+{ "3rd" }
+
+FUNCTION {bbl.fourth}
+{ "4th" }
+
+FUNCTION {bbl.fifth}
+{ "5th" }
+
+FUNCTION {bbl.st}
+{ "st" }
+
+FUNCTION {bbl.nd}
+{ "nd" }
+
+FUNCTION {bbl.rd}
+{ "rd" }
+
+FUNCTION {bbl.th}
+{ "th" }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"Jun."}
+
+MACRO {jul} {"Jul."}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sep."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+FUNCTION {eng.ord}
+{ duplicate$ "1" swap$ *
+ #-2 #1 substring$ "1" =
+ { bbl.th * }
+ { duplicate$ #-1 #1 substring$
+ duplicate$ "1" =
+ { pop$ bbl.st * }
+ { duplicate$ "2" =
+ { pop$ bbl.nd * }
+ { "3" =
+ { bbl.rd * }
+ { bbl.th * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}{, jj}{, f.}" format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " \& " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.names.ed}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{f.~}{vv~}{ll}{, jj}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " \& " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ {
+ author format.names
+ }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ {
+ editor format.names
+ editor num.names$ #1 >
+ { " " * bbl.editors * }
+ { " " * bbl.editor * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.editors}
+{ editor empty$
+ { "" }
+ { editor format.names.ed
+ editor num.names$ #1 >
+ { ", " * bbl.editors * }
+ { ", " * bbl.editor * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.full.names}
+{'s :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " \& " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in capitalize
+ " " * }
+
+FUNCTION {format.date}
+{ year duplicate$ empty$
+ { "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????" }
+ 'skip$
+ if$
+ extra.label *
+ before.all 'output.state :=
+ " (" swap$ * ")" *
+}
+
+FUNCTION {format.btitle}
+{ title }
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { bbl.of space.word * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { bbl.in space.word * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+FUNCTION {convert.edition}
+{ edition extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bbl.first 't := }
+ { s "second" = s "2" = or
+ { bbl.second 't := }
+ { s "third" = s "3" = or
+ { bbl.third 't := }
+ { s "fourth" = s "4" = or
+ { bbl.fourth 't := }
+ { s "fifth" = s "5" = or
+ { bbl.fifth 't := }
+ { s #1 #1 substring$ is.num
+ { s eng.ord 't := }
+ { edition 't := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ t
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { convert.edition "l" change.case$ " " * bbl.edition * }
+ { convert.edition "t" change.case$ " " * bbl.edition * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { bbl.pages pages n.dashify tie.or.space.connect }
+ { bbl.page pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.journal.pages}
+{
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ", " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ format.journal.pages
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { word.in booktitle * }
+ { word.in booktitle * ", " * format.in.editors *}
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { bbl.techrep }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ word.in
+ }
+ { bbl.volume capitalize
+ volume tie.or.space.connect
+ bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.publisher}
+{ publisher empty$
+ { "empty publisher in " cite$ * warning$ }
+ 'skip$
+ if$
+ ""
+ address empty$ publisher empty$ and
+ 'skip$
+ {
+ "(" *
+ address empty$
+ 'skip$
+ { address * }
+ if$
+ publisher empty$
+ 'skip$
+ { address empty$
+ 'skip$
+ { ": " * }
+ if$
+ publisher *
+ }
+ if$
+ ")" *
+ }
+ if$
+ output
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal
+ "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher
+ }
+ {
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ howpublished output
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ format.publisher
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ new.sentence
+ format.publisher
+ format.edition output
+ format.chapter.pages output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ new.sentence
+ publisher empty$
+ { organization output
+ address output
+ }
+ { organization output
+ format.publisher
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ new.block
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title output
+ new.block
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ new.block
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output
+ new.sentence
+ organization output
+ publisher output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " \& " * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ { pop$ "????" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "aaaaa" * }
+ { t sortify * }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { last.label next.extra }
+
+INTEGERS { last.extra.num number.label }
+
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\expandafter\ifx\csname natexlab\endcsname\relax\def\natexlab#1{#1}\fi"
+ write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `myapa.bst'.
diff --git a/biblio/bibtex/contrib/misc/plainyr.bst b/biblio/bibtex/contrib/misc/plainyr.bst
new file mode 100644
index 0000000000..f3afc319c2
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/plainyr.bst
@@ -0,0 +1,1144 @@
+%% /usr/local/lib/tex/bibtex/plainyr.bst, Mon Jun 29 08:06:48 1992
+%% Edit by Nelson H. F. Beebe <beebe@plot79.math.utah.edu>
+%% I've called this posting plainyr instead of the author's datasort
+%% because the latter is uninformative.
+
+% Newsgroups: comp.text.tex
+% Path: math.utah.edu!hellgate.utah.edu!cs.utexas.edu!uunet!brunix!cs.brown.edu!mpp
+% From: mpp@cns.brown.edu (Michael P. Perrone)
+% Subject: Re: bibtex sorting by year
+% Message-ID: <1992Jun26.075302.21206@cs.brown.edu>
+% Sender: mpp@cs.brown.edu (Michael P. Perrone)
+% Organization: Center for Neural Science, Brown University
+% References: <1992Jun26.065942.20721@cs.brown.edu>
+% Date: Fri, 26 Jun 1992 07:53:02 GMT
+% Lines: 1128
+%
+% i figured out the bibtex problem.
+% the following bibstyle file will sort by year, author, title (in that order)
+% with the usual editor, organization (etc.) substitutions
+%
+% % ----- cut here -------------------------------
+%
+%-------------------------------------------------------------------------
+% DATASORT.BST --- created: 92.6.26 (Michael P. Perrone, Brown University)
+%
+% this is a simple hack of the plain.bst bibtex style file
+% which processes bibliography entries in chronological order
+% by year. within a year things are sort by author, title, etc.
+%
+% DISCLAIMER: if this doesn't work - sorry!
+%-------------------------------------------------------------------------
+%
+%
+% [MODIFIED] BibTeX standard bibliography style `plain'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {year.sort}
+{ year empty$
+ { key empty$
+ { "to sort, need year or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { year sort.format.names }
+ if$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'year.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ author field.or.null
+ sort.format.names
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/misc/pnas.bst b/biblio/bibtex/contrib/misc/pnas.bst
new file mode 100644
index 0000000000..e81a317dad
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/pnas.bst
@@ -0,0 +1,967 @@
+%%% ====================================================================
+%%% @BibTeX-style-file{
+%%% author = "Alan R. Rogers",
+%%% version = "1.0",
+%%% date = "12 November 1992",
+%%% time = "16:07:20 MST",
+%%% filename = "pnas.bst",
+%%% address = "Department of Anthropology
+%%% University of Utah
+%%% Salt Lake City, UT 84112
+%%% USA",
+%%% telephone = "+1 801 581 5529",
+%%% FAX = "+1 801 581 6252",
+%%% checksum = "37034 967 2316 17724",
+%%% email = "rogers@anthro.utah.edu (Internet)",
+%%% codetable = "ISO/ASCII",
+%%% keywords = "",
+%%% supported = "yes",
+%%% abstract = "",
+%%% docstring = "This file produces bibliographies in the
+%%% format of ``Proceedings of the National
+%%% Academy of Sciences, USA.''",
+%%% }
+%%% ====================================================================
+% This is "pnas.bst", modified from "unsrt.bst"
+% BibTeX standard bibliography style `unsrt'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+% { ", " * write$ }
+ { " " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+% { add.period$ " " * write$ }
+ { ", " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {parenthesize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "(" swap$ * ")" * }
+ if$
+}
+
+FUNCTION {boldface}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\bf " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, f}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { ", " * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " \& " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.publisher}
+{ publisher empty$
+ { address empty$
+ { "" }
+ { address }
+ if$
+ }
+ { address empty$
+ { publisher}
+ { publisher ", " * address * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.editors.as.authors}
+{ editor empty$
+ { organization }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", eds." * }
+ { ", ed." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", eds." * }
+ { ", ed." * }
+ if$
+ }
+ if$
+ }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { author empty$ %in this case, see format.authors
+ { "" }
+ { editor num.names$ #1 >
+ { "eds.{} " }
+ { "ed.{} " }
+ if$
+ editor format.names *
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title "t" change.case$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { "year?" parenthesize }
+ { year parenthesize }
+ if$
+}
+
+FUNCTION {format.btitle.series}
+{ title empty$
+ { "" }
+ { title emphasize }
+ if$
+ series empty$
+ { "" * }
+ { ", " * series * }
+ if$
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {comma.connect}
+{ duplicate$ empty$
+ { pop$ }
+ { swap$
+ duplicate$ empty$
+ { pop$ }
+ { swap$ ", " swap$ * * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume.number}
+{ volume empty$
+ { number empty$
+ { "" }
+ { "No.{}" number tie.or.space.connect }
+ if$
+ }
+ { "Vol.{}" volume tie.or.space.connect
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number}
+{ volume empty$
+ { number empty$
+ { "" }
+ { "No.{}" number tie.or.space.connect }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pp." pages n.dashify tie.or.space.connect }
+ { "p." pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume boldface
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ", " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { "in " booktitle emphasize * }
+ if$
+ series empty$
+ { "" * }
+ { booktitle empty$
+ { "XXmissing booktitle \& seriesXX" * }
+ { ", " * }
+ if$
+ series *
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{vv }{ll}{ jj}{, f}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Vol.{}" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "in {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "in " key * }
+ if$
+ }
+ { "in " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.date "year" output.check
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ new.block
+ format.date "year" output.check
+ format.btitle.series "title" output.check
+ crossref missing$
+ { format.editors output
+ new.block
+ format.publisher parenthesize output
+ format.bvolume.number output
+ new.sentence
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.sentence
+ format.pages output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.date output
+ format.title "title" output.check
+ howpublished address comma.connect parenthesize output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ format.authors output.nonnull
+ new.block
+ format.date "year" output.check
+ format.btitle.series "title" output.check
+ new.sentence
+ crossref missing$
+ { format.editors output
+ new.block
+ format.publisher parenthesize output
+ format.bvolume.number output
+ new.sentence
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.sentence
+ format.pages output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.date "year" output.check
+ format.in.ed.booktitle "title" output.check
+ new.sentence
+ crossref missing$
+ { format.editors output
+ new.block
+ format.publisher parenthesize output
+ format.bvolume.number output
+ new.sentence
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.edition output
+ new.sentence
+ format.pages output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.date "year" output.check
+ crossref missing$
+ { format.btitle.series "title" output.check
+ format.editors output
+ new.block
+ organization publisher comma.connect
+ address comma.connect
+ parenthesize output
+ new.sentence
+ format.bvolume.number output
+ new.sentence
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ }
+ if$
+ format.pages output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.date "year" output.check
+ format.btitle.series "title" output.check
+ author empty$
+ { "" }
+ { organization }
+ if$
+ publisher comma.connect address comma.connect parenthesize output
+ new.sentence
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.date "year" output.check
+ "Master's thesis" format.thesis.type output.nonnull
+ school address comma.connect parenthesize output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.date output
+ format.title output
+ howpublished parenthesize output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.date "year" output.check
+ "Ph.D. thesis" format.thesis.type output.nonnull
+ school address comma.connect parenthesize output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors.as.authors output
+ new.block
+ format.date output
+ format.btitle.series "title" output.check
+ organization publisher comma.connect
+ address comma.connect parenthesize output
+ format.bvolume.number output
+ new.sentence
+ format.pages output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.date output
+ format.title "title" output.check
+ new.sentence
+ institution address comma.connect parenthesize output
+ new.sentence
+ format.tr.number output.nonnull
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.date output
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/misc/pnas2009.bst b/biblio/bibtex/contrib/misc/pnas2009.bst
new file mode 100644
index 0000000000..e6b531a9e7
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/pnas2009.bst
@@ -0,0 +1,950 @@
+%%% ====================================================================
+%%% @BibTeX-style-file{
+%%% author = "Russell Standish"
+%%% }
+%%% ====================================================================
+% This is "pnas2009.bst", adapted from "pnas.bst", modified from "unsrt.bst"
+% BibTeX standard bibliography style `unsrt'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+% { ", " * write$ }
+ { " " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+% { add.period$ " " * write$ }
+ { ", " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {parenthesize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "(" swap$ * ")" * }
+ if$
+}
+
+FUNCTION {boldface}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\bf " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, f}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { ", " * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " \& " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.publisher}
+{ publisher empty$
+ { address empty$
+ { "" }
+ { address }
+ if$
+ }
+ { address empty$
+ { publisher}
+ { publisher ", " * address * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.editors.as.authors}
+{ editor empty$
+ { organization }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", eds." * }
+ { ", ed." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", eds." * }
+ { ", ed." * }
+ if$
+ }
+ if$
+ }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { author empty$ %in this case, see format.authors
+ { "" }
+ { editor num.names$ #1 >
+ { "eds.{} " }
+ { "ed.{} " }
+ if$
+ editor format.names *
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title "t" change.case$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { "year?" parenthesize }
+ { year parenthesize }
+ if$
+}
+
+FUNCTION {format.btitle.series}
+{ title empty$
+ { "" }
+ { title emphasize }
+ if$
+ series empty$
+ { "" * }
+ { ", " * series * }
+ if$
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {comma.connect}
+{ duplicate$ empty$
+ { pop$ }
+ { swap$
+ duplicate$ empty$
+ { pop$ }
+ { swap$ ", " swap$ * * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume.number}
+{ volume empty$
+ { number empty$
+ { "" }
+ { "No.{}" number tie.or.space.connect }
+ if$
+ }
+ { "Vol.{}" volume tie.or.space.connect
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number}
+{ volume empty$
+ { number empty$
+ { "" }
+ { "No.{}" number tie.or.space.connect }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pp." pages n.dashify tie.or.space.connect }
+ { "p." pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume boldface
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ", " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { "in " booktitle emphasize * }
+ if$
+ series empty$
+ { "" * }
+ { booktitle empty$
+ { "XXmissing booktitle \& seriesXX" * }
+ { ", " * }
+ if$
+ series *
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{vv }{ll}{ jj}{, f}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Vol.{}" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "in {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "in " key * }
+ if$
+ }
+ { "in " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.date "year" output.check
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ new.block
+ format.date "year" output.check
+ format.btitle.series "title" output.check
+ crossref missing$
+ { format.editors output
+ new.block
+ format.publisher parenthesize output
+ format.bvolume.number output
+ new.sentence
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.sentence
+ format.pages output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.date output
+ format.title "title" output.check
+ howpublished address comma.connect parenthesize output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ format.authors output.nonnull
+ new.block
+ format.date "year" output.check
+ format.btitle.series "title" output.check
+ new.sentence
+ crossref missing$
+ { format.editors output
+ new.block
+ format.publisher parenthesize output
+ format.bvolume.number output
+ new.sentence
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.sentence
+ format.pages output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.date "year" output.check
+ format.in.ed.booktitle "title" output.check
+ new.sentence
+ crossref missing$
+ { format.editors output
+ new.block
+ format.publisher parenthesize output
+ format.bvolume.number output
+ new.sentence
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.edition output
+ new.sentence
+ format.pages output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.date "year" output.check
+ crossref missing$
+ { format.btitle.series "title" output.check
+ format.editors output
+ new.block
+ organization publisher comma.connect
+ address comma.connect
+ parenthesize output
+ new.sentence
+ format.bvolume.number output
+ new.sentence
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ }
+ if$
+ format.pages output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.date "year" output.check
+ format.btitle.series "title" output.check
+ author empty$
+ { "" }
+ { organization }
+ if$
+ publisher comma.connect address comma.connect parenthesize output
+ new.sentence
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.date "year" output.check
+ "Master's thesis" format.thesis.type output.nonnull
+ school address comma.connect parenthesize output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.date output
+ format.title output
+ howpublished parenthesize output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.date "year" output.check
+ "Ph.D. thesis" format.thesis.type output.nonnull
+ school address comma.connect parenthesize output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors.as.authors output
+ new.block
+ format.date output
+ format.btitle.series "title" output.check
+ organization publisher comma.connect
+ address comma.connect parenthesize output
+ format.bvolume.number output
+ new.sentence
+ format.pages output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.date output
+ format.title "title" output.check
+ new.sentence
+ institution address comma.connect parenthesize output
+ new.sentence
+ format.tr.number output.nonnull
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.date output
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/misc/refer.bst b/biblio/bibtex/contrib/misc/refer.bst
new file mode 100644
index 0000000000..02fae7f6df
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/refer.bst
@@ -0,0 +1,166 @@
+%
+% 8/4/'90
+%Ciaran McHale
+%Department of Computer Science, Trinity College, Dublin 2, Ireland.
+%Telephone: +353-1-772941 ext 1538 FAX: +353-1-772204 Telex: 93782 TCD EI
+%email: cjmchale@cs.tcd.ie or cjmchale%cs.tcd.ie@cunyvm.cuny.edu
+% Hacked together by Ciaran McHale (cjmchale@cs.tcd.ie) to translate
+% BibTeX bibliographies into refer format
+% Based on a bib style file by Kannan Varadhan
+%
+
+
+ENTRY
+ { % entry fields
+ abstract % non standard
+ address
+ annote % non standard
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ keywords % non standard
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {} % no integer entry variables
+ { label extra.label sort.label } % label entry variables
+
+
+STRINGS { s t a.name }
+
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {handle.names}
+{ 't := % type e.g. "A" for authors, "E" for editors
+ 's := % the string containing the names
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 'a.name :=
+
+ a.name "others" =
+ 'skip$ % don't print out "%A others"
+ { "%" t * " " * a.name * write$ newline$ }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {handle.maybe.empty}
+{
+ 't :=
+ duplicate$
+ empty$
+ 'pop$
+ { "%" t * " " * swap$ * write$ newline$ }
+ if$
+}
+
+FUNCTION {translate}
+{
+ newline$ % get a blank line between each entry
+
+ title "T" handle.maybe.empty
+ booktitle "B" handle.maybe.empty
+
+ % there may be multiple authors so handle it differently
+ author empty$
+ { " empty author in " cite$ * warning$ }
+ { author "A" handle.names }
+ if$
+ editor "E" handle.maybe.empty
+ journal "J" handle.maybe.empty
+ keywords "K" handle.maybe.empty
+ cite$ "L" handle.maybe.empty
+ volume "V" handle.maybe.empty
+ abstract "X" handle.maybe.empty
+
+ % The date, if present may be just the year or both the month and year
+ % or might even be just the month
+ month empty$ year empty$ and
+ 'skip$ % no date of publication so nothing to do
+ {
+ month empty$ % I'm using the if statement because I'm not
+ { "" } % sure that--- month " " year * --- would work.
+ { month " " * } % (The manual doesn't mention anything about
+ if$ % this so I'm playing safe)
+ year empty$
+ { "" }
+ { year }
+ if$
+ *
+ "D" handle.maybe.empty
+ }
+ if$
+ pages "P" handle.maybe.empty
+ note "O" handle.maybe.empty
+ number "N" handle.maybe.empty
+ series "S" handle.maybe.empty
+ annote "Y" handle.maybe.empty
+ address "C" handle.maybe.empty
+
+}
+
+
+FUNCTION {article} { translate }
+FUNCTION {book} { translate }
+FUNCTION {booklet} { translate }
+FUNCTION {inbook} { translate }
+FUNCTION {incollection} { translate }
+FUNCTION {inproceedings} { translate }
+FUNCTION {manual} { translate }
+FUNCTION {mastersthesis} { translate }
+FUNCTION {misc} { translate }
+FUNCTION {phdthesis} { translate }
+FUNCTION {proceedings} { translate }
+FUNCTION {techreport} { translate }
+FUNCTION {unpublished} { translate }
+FUNCTION {default.type} { translate }
+
+
+READ
+
+ITERATE {call.type$}
+
+
+
+
diff --git a/biblio/bibtex/contrib/misc/these.bst b/biblio/bibtex/contrib/misc/these.bst
new file mode 100644
index 0000000000..3789b6352c
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/these.bst
@@ -0,0 +1,1252 @@
+%
+% Style de bibliographie pour the`se - d'apres alpha.bst
+%
+% Matthieu Herrb (matthieu@laas.fr) - Juillet 89, Octobre 90
+%
+% Les references seront designees tant dans le texte que dans
+% la liste recapitulative (ordonnee suivant l'ordre alphabetique du nom
+% du premier auteur), par le nom du premier auteur suivi des deux
+% derniers chiffres de l'annee de publication, le tout entre crochets.
+% Si deux references du meme auteur se rapportent a la meme annee, elles
+% seront differenciees par des lettres minuscules (a, b, etc.)
+%
+
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {scapify}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\sc " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {underline}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\ul " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{~jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "" * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." emphasize * }
+ { " \& " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editeurs" * }
+ { ", editeur" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {format.utitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "num\'ero" }
+ { "Nume\'ero" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.volume}
+{ volume empty$
+ { "" }
+ { "vol.~" volume * }
+ if$
+}
+
+FUNCTION {format.number}
+{ number empty$
+ { "" }
+ { "no.~" number * }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapitre" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle * }
+ { "In " format.editors * ", " * booktitle * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Rapport technique" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " \& " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { booktitle empty$
+ { key empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " booktitle * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.utitle "title" output.check
+ new.block
+ crossref missing$
+ { journal "journal" output.check
+ format.volume output
+ format.number output
+ format.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.title "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.title "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.utitle "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.utitle "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.utitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.utitle output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.title "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.utitle "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+
+%
+% Cette function produit le label avec le nom du premier auteur
+%
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv }{ll}" format.name$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+%
+% Fonction modifiee pour generer les bons labels
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ "~" *
+ year #-1 #2 substring$ field.or.null purify$ *
+ 'label :=
+ year #-1 #4 substring$ field.or.null purify$
+ *
+ sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{ et.al.char.used
+ { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+ 'skip$
+ if$
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+% "\begin{thebibliography}{xxxxx}" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/misc/wmaainf.bst b/biblio/bibtex/contrib/misc/wmaainf.bst
new file mode 100644
index 0000000000..8b75fd6e3d
--- /dev/null
+++ b/biblio/bibtex/contrib/misc/wmaainf.bst
@@ -0,0 +1,825 @@
+% This is WMAAINF.BST in text format, as of Jan 31, 1988.
+% Abteilung f"ur Angewandte Informatik bibliography style
+% alphanumeric labels, aphabetical order,
+% journals not abbreviated,
+% quotes around article titles,
+% much like the "plain" and IEEE family, from which this is adapted.
+%
+% History
+% 1/31/88 (WM) Original version, by Walter M"ulner,
+% Institute of Statistics and Computer Science, Univ. Vienna,
+% Dept. of Applied Inf. Science
+%
+% 05/22/89 (WM) something curious happened: our well working
+% Bibstyle wasn't accepted by this hirngespinstig
+% new version of BIBTEX from Oren Patashnig.
+% --> change all postfix notations (ha ha!)
+% DO NOT MAKE ANY!! changes to this style without consulting the author
+%
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ {label extra.label sort.label}
+
+
+
+INTEGERS { output.state before.all mid.sentence mid.sentenceb
+ after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'mid.sentenceb :=
+ #3 'after.sentence :=
+ #4 'after.block :=
+}
+
+STRINGS { s t }
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state mid.sentenceb =
+ { " " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ s
+}
+
+FUNCTION {output}
+{ 's :=
+ s "" =
+ 'skip$
+ { s output.nonnull }
+ if$
+}
+
+FUNCTION {output.check}
+{ 's :=
+ 't :=
+ s "" =
+ { "Warning: the " t * " shouldn't be empty in " * cite$ * top$ }
+ { s output.nonnull }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+% FUNCTION {blank.sep}
+% { mid.sentenceb 'output.state :=
+% }
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$
+ missing$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {italicize}
+{ 's :=
+ s "" =
+ { "" }
+ { "{\it " s * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+STRINGS {nameresult}
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ "" 'nameresult :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {
+
+ s nameptr "{f.~}{vv~}{ll}{,~jj}" format.name$ 't :=
+
+ nameptr #1 >
+ { namesleft #1 >
+ { nameresult ", " * t * 'nameresult := }
+ { numnames #2 >
+ { nameresult "," * 'nameresult := }
+ 'skip$
+ if$
+ t "others" = t "et.al." = or t "et. al." = or
+ { nameresult " {\it et al.}" * 'nameresult := }
+ { nameresult " and " * t * 'nameresult := }
+ if$
+ }
+ if$
+ }
+ { nameresult t * 'nameresult := }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ nameresult
+}
+
+FUNCTION {format.authors}
+{ author missing$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor missing$
+ { "" }
+ { editor num.names$ #1 >
+ { editor format.names ", Eds." * }
+ { editor format.names ", Ed." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+
+{ title missing$
+ { "" }
+ { "``" title * "''" * }
+ if$
+
+}
+
+FUNCTION {entry.string.max} { #100 }
+
+FUNCTION {global.string.max} { #300 }
+
+STRINGS {pageresult}
+
+FUNCTION {n.dashify}
+{ 't :=
+ "" 'pageresult :=
+ { t "" = not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { pageresult "--" * 'pageresult :=
+ t #2 global.string.max substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { pageresult "-" * 'pageresult :=
+ t #2 global.string.max substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { pageresult t #1 #1 substring$ * 'pageresult :=
+ t #2 global.string.max substring$ 't :=
+ }
+ if$
+ }
+ while$
+ pageresult
+}
+
+FUNCTION {format.date}
+{ year missing$
+ { month missing$
+ { "" }
+ { "Warning: there's a month but no year in " cite$ * top$
+ month
+ }
+ if$
+ }
+ { month missing$
+ { year }
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title field.or.null
+ italicize
+}
+
+FUNCTION {format.bvolume}
+{ volume missing$
+ { series missing$
+ { "" }
+ { series italicize }
+ if$
+ }
+ { "Vol.~" volume *
+ series missing$
+ 'skip$
+ { " of " * series italicize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition missing$
+ { "" }
+ { edition "l" change.case$ " Ed." * }
+ if$
+}
+
+INTEGERS {multiresult}
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t "" = not
+ and
+ }
+ { t #1 #1 substring$ "-" =
+ t #1 #1 substring$ "," =
+ or
+ { #1 'multiresult := }
+ { t #2 global.string.max substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages missing$
+ { "" }
+ { pages multi.page.check
+ { "pp.~" pages n.dashify * }
+ { "p.~" pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.volume}
+{ volume missing$
+ { "" }
+ { "Vol.~" volume * }
+ if$
+}
+
+FUNCTION {format.number}
+{ number missing$
+ { "" }
+ { "No.~" number * }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter missing$
+ 'format.pages
+ { "Chap.~" chapter *
+ pages missing$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle missing$
+ { "" }
+ { format.editors 't :=
+ t "" =
+ { "In: " booktitle italicize * }
+ { "In: " t * ", " * booktitle italicize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type missing$
+ { "Tech. Rep." }
+ { type }
+ if$
+ number missing$
+ 'skip$
+ { "~" * number * }
+ if$
+}
+
+FUNCTION {article}
+{ output.bibitem
+ "author" format.authors output.check
+ new.block
+ "title" format.title output.check
+ new.block
+ "journal" journal field.or.null italicize output.check
+ format.volume output
+ format.number output
+ format.pages output
+ "year" format.date output.check
+ new.block
+ note field.or.null output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author missing$
+ { "author and editor" format.editors output.check }
+ { "author" format.authors output.check }
+ if$
+ new.block
+ "title" format.btitle output.check
+ new.block
+ format.bvolume output
+ "publisher" publisher field.or.null output.check
+ address field.or.null output
+ format.edition output
+ "year" format.date output.check
+ new.block
+ note field.or.null output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ "title" format.btitle output.check
+ new.block
+ howpublished field.or.null output
+ address field.or.null output
+ format.date output
+ new.block
+ note field.or.null output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author missing$
+ { "author and editor" format.editors output.check }
+ { "author" format.authors output.check }
+ if$
+ new.block
+ "title" format.btitle output.check
+ "chapter and pages" format.chapter.pages output.check
+ new.block
+ format.bvolume output
+ "publisher" publisher field.or.null output.check
+ address field.or.null output
+ format.edition output
+ "year" format.date output.check
+ new.block
+ note field.or.null output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ "author" format.authors output.check
+ new.block
+ "title" format.title output.check
+ new.block
+ "booktitle" format.in.ed.booktitle output.check
+ format.chapter.pages output
+ "publisher" publisher field.or.null output.check
+ address field.or.null output
+ "year" format.date output.check
+ new.block
+ note field.or.null output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ "author" format.authors output.check
+ new.block
+ "title" format.title output.check
+ new.block
+ "booktitle" format.in.ed.booktitle output.check
+ format.pages output
+ organization field.or.null output
+ publisher field.or.null output
+ address field.or.null output
+ "year" format.date output.check
+ new.block
+ note field.or.null output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ new.block
+ "title" format.btitle output.check
+ new.block
+ organization field.or.null output
+ address field.or.null output
+ format.edition output
+ format.date output
+ new.block
+ note field.or.null output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ "author" format.authors output.check
+ new.block
+ "title" format.btitle output.check
+ new.block
+ "Master's thesis" output
+ "school" school field.or.null output.check
+ address field.or.null output
+ "year" format.date output.check
+ new.block
+ note field.or.null output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title output
+ new.block
+ howpublished field.or.null output
+ format.date output
+ new.block
+ note field.or.null output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ "author" format.authors output.check
+ new.block
+ "title" format.btitle output.check
+ new.block
+ "PhD thesis" output
+ "school" school field.or.null output.check
+ address field.or.null output
+ "year" format.date output.check
+ new.block
+ note field.or.null output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor missing$
+ { organization missing$
+ 'skip$
+ { organization field.or.null output }
+ if$
+ }
+ { format.editors output }
+ if$
+ new.block
+ "title" format.btitle output.check
+ editor missing$
+ 'skip$
+ { organization field.or.null output }
+ if$
+ publisher field.or.null output
+ address field.or.null output
+ "year" format.date output.check
+ new.block
+ note field.or.null output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ "author" format.authors output.check
+ new.block
+ "title" format.title output.check
+ new.block
+ format.tr.number output
+ "institution" institution field.or.null output.check
+ address field.or.null output
+ "year" format.date output.check
+ new.block
+ note field.or.null output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ "author" format.authors output.check
+ new.block
+ "title" format.title output.check
+ new.block
+ format.date output
+ new.block
+ "note" note field.or.null output.check
+ fin.entry
+}
+
+FUNCTION {default.type}
+{ "Warning: unknown entry: " type$ * " in " * cite$ * top$ }
+
+MACRO {jan} {"Jan."}
+MACRO {feb} {"Feb."}
+MACRO {mar} {"March"}
+MACRO {apr} {"Apr."}
+MACRO {may} {"May"}
+MACRO {jun} {"June"}
+MACRO {jul} {"July"}
+MACRO {aug} {"Aug."}
+MACRO {sep} {"Sep."}
+MACRO {oct} {"Oct."}
+MACRO {nov} {"Nov."}
+MACRO {dec} {"Dec."}
+MACRO {acmcs} {"ACM Computing Surveys"}
+MACRO {acta} {"Acta Informatica"}
+MACRO {cacm} {"Communications ACM"}
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+MACRO {ibmsj} {"IBM Systems Journal"}
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+MACRO {ipl} {"Information Processing Letters"}
+MACRO {jacm} {"Journal of the ACM"}
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+MACRO {scp} {"Science of Computer Programming"}
+MACRO {sicomp} {"SIAM Journal on Computing"}
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+MACRO {tods} {"ACM Transactions on Database Systems"}
+MACRO {tog} {"ACM Transactions on Graphics"}
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+FUNCTION {format.lab.names}
+{ #1 "{ll}" format.name$
+ duplicate$ duplicate$ " -> " swap$
+ purify$ * * top$
+ purify$
+ #1 #4 substring$
+ % nur erste 4 Zeichen des Namens als Citation-Key
+}
+
+FUNCTION {calc.label}
+{
+ author missing$
+ { editor missing$
+ { key missing$
+ { "Warning: need a key to make a label in " cite$ * top$
+ title field.or.null purify$ #1 #4 substring$
+ }
+ { key purify$
+ #1 #8 substring$}
+ if$
+ }
+ { editor format.lab.names}
+ if$
+ }
+ { author format.lab.names}
+ if$
+ year field.or.null purify$ #-1 #2 substring$ 'sort.label :=
+ sort.label "" =
+ { skip$ }
+ { "~" * sort.label * }
+ if$
+
+ 'label
+ :=
+ label sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ "" 'nameresult :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { nameresult " " * 'nameresult := }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = t "et.al." = or t "et. al." = or and
+ { nameresult "et al" * 'nameresult := }
+ { nameresult t sortify * 'nameresult := }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ nameresult
+}
+
+INTEGERS {len}
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.string.max substring$ }
+ { s }
+ if$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ #1 global.string.max substring$
+ sortify
+}
+
+FUNCTION {presort}
+{
+ calc.label
+ sort.label
+ " "
+ *
+ author missing$
+ { editor missing$
+ { key field.or.null sortify }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.string.max substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ "" 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {preamble}
+{
+ preamble$ duplicate$ empty$
+ 'pop$
+ { write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {preamble}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {finish.up} { newline$ "\end{thebibliography}" write$ newline$ }
+
+EXECUTE {finish.up}
diff --git a/biblio/bibtex/contrib/mla/hum2.bst b/biblio/bibtex/contrib/mla/hum2.bst
new file mode 100644
index 0000000000..c6dcea4f0a
--- /dev/null
+++ b/biblio/bibtex/contrib/mla/hum2.bst
@@ -0,0 +1,1641 @@
+%%% ====================================================================
+%%% @BibTeX-style-file{
+%%% author = "Caitlin Shaw",
+%%% version = "1",
+%%% date = "13 April 1997",
+%%% filename = "hum2.bst",
+%%% email = "cmshaw@princeton.edu",
+%%% abstract = "A BibTeX bibliography style that follows the
+%%% MLA bibliography and author-title citation."
+%%% }
+%%% ====================================================================
+%
+%This file was originally named chicago.bst.
+%
+%Documentation: see hum2.sty. (Includes note on citation hack which
+%will look odd if you examine the file below.)
+%
+%Bibliographic changes: article titles are set in double quotes with the
+%ending period inside the block. Format is approximately
+% Last, First, F. Last, and F. Last. Title. Journal/Collection-Title,
+% Ed. Vol.No. Address: Publisher. Year.
+%as MLA standard for books, articles, and incollections.
+%
+%Known bibliography bugs: crossreferencing title format. You should
+%also doublecheck the more obscure types against the MLA Handbook.
+%
+%See hum2.sty for information on nonstandard .bib formatting.
+%
+%
+%Original information on chicago, no longer valid:
+%
+% "Chicago" BibTeX style, chicago.bst
+% ===================================
+%
+% BibTeX `chicago' style file for BibTeX version 0.99c, LaTeX version 2.09
+% Place it in a file called chicago.bst in the BibTeX search path.
+% You need to include chicago.sty as a \documentstyle option.
+% (Placing it in the same directory as the LaTeX document should also work.)
+% This "chicago" style is based on newapa.bst (American Psych. Assoc.)
+% found at ymir.claremont.edu.
+%
+% Citation format: (author-last-name year)
+% (author-last-name and author-last-name year)
+% (author-last-name, author-last-name, and author-last-name year)
+% (author-last-name et al. year)
+% (author-last-name)
+% author-last-name (year)
+% (author-last-name and author-last-name)
+% (author-last-name et al.)
+% (year) or (year,year)
+% year or year,year
+%
+% Reference list ordering: alphabetical by author or whatever passes
+% for author in the absence of one.
+%
+% This BibTeX style has support for abbreviated author lists and for
+% year-only citations. This is done by having the citations
+% actually look like
+%
+% \citeauthoryear{full-author-info}{abbrev-author-info}{year}
+%
+% The LaTeX style has to have the following (or similar)
+%
+% \let\@internalcite\cite
+% \def\fullcite{\def\citeauthoryear##1##2##3{##1, ##3}\@internalcite}
+% \def\fullciteA{\def\citeauthoryear##1##2##3{##1}\@internalcite}
+% \def\shortcite{\def\citeauthoryear##1##2##3{##2, ##3}\@internalcite}
+% \def\shortciteA{\def\citeauthoryear##1##2##3{##2}\@internalcite}
+% \def\citeyear{\def\citeauthoryear##1##2##3{##3}\@internalcite}
+%
+% These TeX macro definitions are found in chicago.sty. Additional
+% commands to manipulate different components of a citation can be defined
+% so that, for example, you can list author's names without parentheses
+% if using a citation as a noun or object in a sentence.
+%
+% This file was originally copied from newapa.bst at ymir.claremont.edu.
+%
+% Features of chicago.bst:
+% =======================
+%
+% - full names used in citations, but abbreviated citations are available
+% (see above)
+% - if an entry has a "month", then the month and year are also printed
+% as part of that bibitem.
+% - all conjunctions use "and" instead of "\&"
+% - major modification from Chicago Manual of Style (13th ed.) is that
+% only the first author in a reference appears last name first-
+% additional authors appear as J. Q. Public.
+% - pages are listed as "pp. xx-xx" in all entry types except
+% article entries.
+% - book, inbook, and manual use "location: publisher" (or organization)
+% for address and publisher. All other types list publishers separately.
+% - "pp." are used to identify page numbers for all entry types except
+% articles.
+% - organization is used as a citation label if neither author nor editor
+% is present (for manuals).
+% - "et al." is used for long author and editor lists, or when "others"
+% is used.
+%
+% Modifications and bug fixes from newapa.bst:
+% ===========================================
+%
+% - added month, year to bib entries if month is present
+% - fixed bug with In proceedings, added necessary comma after title
+% - all conjunctions changed to "and" from "\&"
+% - fixed bug with author labels in my.full.label: "et al." now is
+% generated when "others" is an author name
+% - major modification from Chicago Manual of Style (13th ed.) is that
+% only the first author in a reference appears last name first-
+% additional authors appear as J. Q. Public.
+% - pages are listed as "pp. xx-xx" in all entry types except
+% article entries. Unnecessary (IMHO) "()" around page numbers
+% were removed, and page numbers now don't end with a period.
+% - created chicago.sty for use with this bibstyle (required).
+% - fixed bugs in FUNCTION {format.vol.num.pages} for missing volume,
+% number, and /or pages. Renamed to format.jour.vol.
+% - fixed bug in formatting booktitles: additional period an error if
+% book has a volume.
+% - fixed bug: editors usually given redundant period before next clause
+% (format.editors.dot) removed.
+% - added label support for organizations, if both author and editor
+% are missing (from alpha.bst). If organization is too long, then
+% the key field is used for abbreviated citations.
+% - In proceedings or books of several volumes, no comma was written
+% between the "Volume x" and the page numbers (this was intentional
+% in newapa.bst). Fixed.
+% - Some journals may not have volumes/numbers, only month/year (eg.
+% IEEE Computer). Fixed bug in article style that assumed volume/number
+% was always present.
+%
+% Original documentation for newapa.sty:
+% =====================================
+%
+% This version was made by modifying the master file made by
+% Oren Patashnik (PATASHNIK@SCORE.STANFORD.EDU), and the 'named' BibTeX
+% style of Peter F. Patel-Schneider.
+%
+% Copyright (C) 1985, all rights reserved.
+% Copying of this file is authorized only if either
+% (1) you make absolutely no changes to your copy, including name, or
+% (2) if you do make changes, you name it something other than 'newapa.bst'.
+% There are undoubtably bugs in this style. If you make bug fixes,
+% improvements, etc. please let me know. My e-mail address is:
+% spencer@cgrg.ohio.state.edu or 71160.3141@compuserve.com
+%
+% This style was made from 'plain.bst', 'named.bst', and 'apalike.bst',
+% with lots of tweaking to make it look like APA style, along with tips
+% from Young Ryu and Brian Reiser's modifications of 'apalike.bst'.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label.year extra.label sort.year sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t u }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+% Use a colon to separate output. Used only for address/publisher
+% combination in book/inbook types, address/institution for manuals,
+% and organization:publisher for proceedings (inproceedings).
+%
+FUNCTION {output.nonnull.colon}
+{ 's :=
+ output.state mid.sentence =
+ { ": " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.colon}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull.colon
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check.colon}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull.colon
+ if$
+}
+
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { write$
+ " (" year * extra.label *
+ month empty$
+ { ")" * }
+ { ", " * month * ")" * }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.block.article}
+{ output.state before.all =
+ 'skip$
+ { before.all 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+%
+% Emphasize the top string on the stack.
+%
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+%
+% Emphasize the top string on the stack, but add a trailing space.
+%
+FUNCTION {emphasize.space}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "\/}" * }
+ if$
+}
+
+INTEGERS { one nameptr namesleft numnames }
+%
+% Format bibliographical entries with the first author last name first,
+% and subsequent authors with initials followed by last name.
+% All names are formatted in this routine.
+%
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr := % nameptr = 1;
+ s num.names$ 'numnames := % numnames = num.name$(s);
+ numnames 'namesleft :=
+ { namesleft #0 > }
+
+ { nameptr #1 =
+ {s nameptr "{vv~}{ll}{, jj}{, ff}" format.name$ 't := }
+ {s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := }
+ if$
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * } % from Chicago Manual of Style
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr := % nameptr += 1;
+ namesleft #1 - 'namesleft := % namesleft =- 1;
+ }
+ while$
+}
+
+FUNCTION {my.title.label}
+{ 's :=
+ #1 'one :=
+ s one "{ff }{vv }{ll}" format.name$
+}
+
+FUNCTION {my.full.label}
+{ 's :=
+ #1 'nameptr := % nameptr = 1;
+ s num.names$ 'numnames := % numnames = num.name$(s);
+ numnames 'namesleft :=
+ { namesleft #0 > }
+
+ { s nameptr "{vv~}{ll}" format.name$ 't := % get the next name
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * } % from Chicago Manual of Style
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr := % nameptr += 1;
+ namesleft #1 - 'namesleft := % namesleft =- 1;
+ }
+ while$
+
+}
+
+FUNCTION {format.names.fml}
+%
+% Format names in "familiar" format, with first initial followed by
+% last name. Like format.names, ALL names are formatted.
+%
+{ 's :=
+ #1 'nameptr := % nameptr = 1;
+ s num.names$ 'numnames := % numnames = num.name$(s);
+ numnames 'namesleft :=
+ { namesleft #0 > }
+
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+% { " \& " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr := % nameptr += 1;
+ namesleft #1 - 'namesleft := % namesleft =- 1;
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+%
+% Format editor names for use in the "in" types: inbook, incollection,
+% inproceedings: first initial, then last names. When editors are the
+% LABEL for an entry, then format.editor is used which lists editors
+% by last name first.
+%
+FUNCTION {format.editors.fml}
+{ editor empty$
+ { "" }
+ { editor format.names.fml
+ editor num.names$ #1 >
+ { " Eds." * }
+ { " Ed." * }
+ if$
+ }
+ if$
+}
+
+%
+% Format editor names for use in labels, last names first.
+%
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { " Eds." * }
+ { " Ed." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title
+% "\enquote{" swap$ *
+% add.period$ "}" *
+ "``" swap$ * add.period$ "'' " *
+ }
+ if$
+}
+
+% Note that the APA style requres case changes
+% in article titles. The following does not
+% change cases. If you perfer it, uncomment the
+% following and comment out the above.
+
+%FUNCTION {format.title}
+%{ title empty$
+% { "" }
+% { title }
+% if$
+%}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ edition empty$
+ { title emphasize }
+ { title empty$
+ { title emphasize }
+ { volume empty$ % gnp - check for volume, then don't need period
+ { "{\em " title * "\/} (" * edition * " ed.)" * "." * }
+ { "{\em " title * "\/} (" * edition * " ed.)" * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.emphasize.booktitle}
+{ edition empty$
+ { booktitle emphasize }
+ { booktitle empty$
+ { booktitle emphasize }
+ { volume empty$ % gnp - extra period an error if book has a volume
+ { "{\em " booktitle * "\/} (" * edition * " ed.)" * "." *}
+ { "{\em " booktitle * "\/} (" * edition * " ed.)" * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "Volume" volume tie.or.space.connect % gnp - changed to mixed case
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "Number" } % gnp - changed to mixed case always
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pp.\ " pages n.dashify tie.or.space.connect } % gnp - removed ()
+ { "pp.\ " pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+% By Young (and Spencer)
+% GNP - fixed bugs with missing volume, number, and/or pages
+%
+% Format journal, volume, number, pages for article types.
+%
+FUNCTION {format.jour.vol}
+{ journal empty$
+ { "no journal in " cite$ * warning$
+ "" }
+ { journal emphasize.space }
+ if$
+ number empty$
+ { volume empty$
+ { "no number and no volume in " cite$ * warning$
+ "" * }
+ { "~" * Volume * "" * }
+ if$
+ }
+ { volume empty$
+ {"no volume for " cite$ * warning$
+ "~(" * number * ")" * }
+ { "~" *
+ volume emphasize.space
+ "." * number * "" * * }
+ if$
+ }
+ if$
+ pages empty$
+ {"page numbers missing in " cite$ * warning$
+ "" * } % gnp - place a null string on the stack for output
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ", " * pages n.dashify * } % gnp - removed pp. for articles
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "Chapter" } % gnp - changed to mixed case
+ { type "t" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ {"page numbers missing in " cite$ * warning$} % gnp - added check
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "" format.emphasize.booktitle * }
+ { "" format.editors.fml * ", " * format.emphasize.booktitle * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ "See"
+ "\citeN{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect % gnp - changed to mixed case
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \citeN{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ "See"
+ " \citeN{" * crossref * "}" *
+}
+
+% format.lab.names:
+%
+% determines "short" names for the abbreviated author information.
+% "Long" labels are created in calc.label, using the routine my.full.label
+% to format author and editor fields.
+%
+% There are 4 cases for labels. (n=3 in the example)
+% a) one author Foo
+% b) one to n Foo, Bar and Baz
+% c) use of "and others" Foo, Bar et al.
+% d) more than n Foo et al.
+%
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #2 > % change number to number of others allowed before
+ % forcing "et al".
+ { s #1 "{vv~}{ll}" format.name$ " et~al." * }
+ {
+ numnames #1 - 'namesleft :=
+ #2 'nameptr :=
+ s #1 "{vv~}{ll}" format.name$
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * s nameptr "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ { ", " * s nameptr "{vv~}{ll}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { "no key, author in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { "no key, editor in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+%
+% added - gnp. Provide label formatting by organization if author is null.
+%
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "no key, author or organization in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { organization }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+%
+% added - gnp. Provide label formatting by organization if editor is null.
+%
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "no key, editor or organization in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { organization }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "no key, author, or editor in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+%
+% Changed - GNP. See also author.organization.sort, editor.organization.sort
+% Form label for BibTeX entry. The classification of which fields are used
+% for which type of entry (book, inbook, etc.) are taken from alpha.bst.
+% The change here from newapa is to also include organization as a
+% citation label if author or editor is missing.
+%
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+
+ author empty$ % generate the full label citation information.
+ { editor empty$
+ { organization empty$
+ { "no author, editor, or organization in " cite$ * warning$
+ "??" }
+ { organization }
+ if$
+ }
+ { title my.title.label }
+ if$
+ }
+ { title my.title.label }
+ if$
+
+% leave label on the stack, to be popped when required.
+
+ "}{" * swap$ * "}{" *
+% year field.or.null purify$ #-1 #4 substring$ *
+%
+% save the year for sort processing afterwards (adding a, b, c, etc.)
+%
+ year field.or.null purify$ #-1 #4 substring$
+ 'label.year :=
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+
+ "\bibitem[\protect\citeauthoryear{" write$
+ calc.label write$
+ sort.year write$
+ "}]{" write$
+
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ new.block
+ format.title
+ "title" output.check
+ new.block.article
+ crossref missing$
+ { format.jour.vol output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ output.year.check % added
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors
+ "author and editor" output.check }
+ { format.authors
+ output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle
+ "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ address output
+ publisher "publisher" output.check.colon
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ new.block
+ output.year.check % added
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output % added
+ new.block
+ format.title
+ "title" output.check
+ new.block.article
+ howpublished output
+ address output
+ new.block
+ output.year.check % added
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors
+ "author and editor" output.check
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle
+ "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages
+ "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ address output
+ publisher
+ "publisher" output.check.colon
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ new.block
+ output.year.check % added
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ new.block
+ format.title
+ "title" output.check
+ new.block.article
+ crossref missing$
+ { format.in.ed.booktitle
+ "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output % gnp - was special.output.nonnull
+% left out comma before page numbers
+ new.sentence
+ address output
+ publisher "publisher" output.check.colon
+ }
+ { format.incoll.inproc.crossref
+ output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ output.year.check % added
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ new.block
+ format.title
+ "title" output.check
+ new.block.article
+ crossref missing$
+ { format.in.ed.booktitle
+ "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ address output
+ format.pages output
+ new.sentence
+ organization output
+ publisher output.colon
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ output.year.check % added
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { editor empty$
+ { organization "organization" output.check
+ organization format.key output } % if all else fails, use key
+ { format.editors "author and editor" output.check }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle
+ "title" output.check
+ organization address new.block.checkb
+% Reversed the order of "address" and "organization", added the ":".
+ address output
+ organization "organization" output.check.colon
+% address output
+% ":" output
+% organization output
+ new.block
+ output.year.check % added
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ new.block
+ format.title
+ "title" output.check
+ new.block.article
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ output.year.check % added
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output % added
+ title howpublished new.block.checkb
+ format.title output
+ new.block.article
+ howpublished output
+ new.block
+ output.year.check % added
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ new.block
+ format.btitle
+ "title" output.check
+ new.block
+ "Ph.\ D. thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ output.year.check % added
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output
+ organization format.key output } % gnp - changed from author format.key
+ { format.editors output.nonnull }
+ if$
+% author format.key output % gnp - removed (should be either
+% editor or organization
+ new.block
+ format.btitle
+ "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output
+ new.sentence
+ organization output
+ publisher output.colon
+ new.block
+ output.year.check % added (newapa)
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ new.block
+ format.title
+ "title" output.check
+ new.block.article
+ format.tr.number output.nonnull
+ institution
+ "institution" output.check
+ address output
+ new.block
+ output.year.check % added
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ new.block
+ format.title
+ "title" output.check
+ new.block.article
+ output.year.check % added
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { " et~al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ "" }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { "missing author in " cite$ * warning$
+ editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+%
+% added - GNP. Stack author or organization for sorting (from alpha.bst).
+% Unlike alpha.bst, we need entire names, not abbreviations
+%
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { organization sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+%
+% added - GNP. Stack editor or organization for sorting (from alpha.bst).
+% Unlike alpha.bst, we need entire names, not abbreviations
+%
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { organization sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+%
+% Presort creates the bibentry's label via a call to calc.label, and then
+% sorts the entries based on entry type. Chicago.bst adds support for
+% including organizations as the sort key; the following is stolen from
+% alpha.bst.
+%
+{ calc.label sortify % recalculate bibitem label
+ year field.or.null purify$ #-1 #4 substring$ * % add year
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ #1 entry.max$ substring$ % added for newapa
+ 'sort.label := % added for newapa
+ sort.label % added for newapa
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT % by label, year, author/editor, title
+
+STRINGS { last.label next.extra }
+
+INTEGERS { last.extra.num }
+
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+%
+% Pass through all entries, comparing current entry to last one.
+% Need to concatenate year to the stack (done by calc.label) to determine
+% if two entries are the same (see presort)
+%
+{ last.label
+ calc.label year field.or.null purify$ #-1 #4 substring$ * % add year
+ #1 entry.max$ substring$ = % are they equal?
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ calc.label year field.or.null purify$ #-1 #4 substring$ * % add year
+ #1 entry.max$ substring$ 'last.label := % assign to last.label
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label.year extra.label * 'sort.year :=
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT % by sort.label, year, title --- giving final bib. order.
+
+FUNCTION {begin.bib}
+
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$
+ "\newcommand{\enquote}[1]{``#1''}"
+ write$ newline$
+}
+
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+
diff --git a/biblio/bibtex/contrib/mla/hum2.sty b/biblio/bibtex/contrib/mla/hum2.sty
new file mode 100644
index 0000000000..037bc134fc
--- /dev/null
+++ b/biblio/bibtex/contrib/mla/hum2.sty
@@ -0,0 +1,310 @@
+% -*- LaTeX -*-
+%%% ====================================================================
+%%% @LaTeX-style-file{
+%%% author = "Caitlin Shaw",
+%%% version = "1",
+%%% date = "13 April 1997",
+%%% filename = "hum2.sty",
+%%% email = "cmshaw@princeton.edu",
+%%% abstract = "Contains the LaTeX2e style command
+%%% definitions for the BibTeX style hum2.bst."
+%%% }
+%%% ====================================================================
+%
+%
+%hum2.sty: Style file for use with bibtex style hum2.bst, for
+%bibliographies formatted according the handbook of the Modern Language
+%Association (MLA) and citations of the form footnote(Author, Title,
+%Page). Repeated Author/Title will be replaced with Ibid. In addition,
+%the article will be doublespaced and margins will be set to 1" standard.
+%
+%The following packages must be used in addition to hum2.sty:
+% ifthen.sty
+% doublespace2.sty
+%
+%This file is a jury-rig of the chicago bst and sty files. It utilizes
+%the fact that chicago.bst passes two types of author fields to the
+%citation command: full and abbreviated. hum2 replaces the full author
+%field with the title (see below for important .bib note) and reformats
+%the \cite command (see the bottom of hum2.sty).
+%
+%IMPORTANT NOTICE
+%You must enclose your title in braces in your .bib file, ie,
+% title = "{My Book of Computers}",
+%
+%IMPORTANT NOTICE
+%You need to replace (or start using) the command \note instead of \cite
+%(see next notice for format).
+%
+%IMPORTANT NOTICE
+%You must pass two commands to \note: first the page number and then the
+%citation key. If you do not have a page number, give 'nopage' as the
+%first option, ie,
+% So she said ``okay.''\cite{nopage}{aB99} Then it
+% hit\cite{pages~12--13}{cD88}.
+%
+%
+%Details: it assumes you want a first page numbered 0. Reset
+%counter page to 1 if this is not the case. If all you want are the
+%citations, the important modifications are the first two lines (\cite
+%and \citeNP) and last three lines (\newcommand, \newboolean, and
+%\newcommand{\note}). (In fact, I don't know everything that the rest
+%of the old chicago.sty file is doing, and didn't change it.)
+%
+%
+% THE FOLLOWING INFORMATION (between the lines) IS MOSTLY OUTDATED
+% AND CONTAINS THE ORIGINAL chicago.sty DOCUMENTATION
+% ----------------------------------------------------------------------
+% chicago.sty: Style file for use with bibtex style chicago.bst, for
+% bibliographies formatted according to the 13th Edition of the Chicago
+% Manual of Style.
+%
+% 'newapa.bst' was made from 'plain.bst', 'named.bst', and 'apalike.bst',
+% with lots of tweaking to make it look like APA style, along with tips
+% from Young Ryu and Brian Reiser's modifications of 'apalike.bst'.
+% newapa.sty formed the basis of this style, chicago.sty. Author-date
+% references in newapa.bst formed the basis for chicago.bst. Chicagoa.bst
+% supports annotations.
+%
+% Version 4 (August, 1992):
+% - fixed chicago.bst and chicagoa.bst to handle long author lists in
+% sorting
+% - fixed chicago.bst and chicagoa.bst so that missing page numbers in
+% ``article'' entries are handled correctly
+% - modified chicago.sty to format entries with 2nd and subsequent lines
+% indented.
+%
+% Citation format: (author-last-name year)
+% (author-last-name and author-last-name year)
+% (author-last-name et al. year)
+% (author-last-name)
+% author-last-name
+% author-last-name (year)
+% (author-last-name and author-last-name)
+% (author-last-name et al.)
+% (year) or (year,year)
+% year or year,year
+%
+% Reference list ordering: alphabetical by author or whatever passes
+% for author in the absence of one.
+%
+% This BibTeX style has support for abbreviated author lists and for
+% year-only citations. This is done by having the citations
+% actually look like
+%
+% \citeauthoryear{full-author-info}{abbrev-author-info}{year}
+%
+% The LaTeX style has to have the following (or similar)
+%
+% \let\@internalcite\cite
+% \def\fullcite{\def\citeauthoryear##1##2##3{##1, ##3}\@internalcite}
+% \def\fullciteA{\def\citeauthoryear##1##2##3{##1}\@internalcite}
+% \def\shortcite{\def\citeauthoryear##1##2##3{##2, ##3}\@internalcite}
+% \def\shortciteA{\def\citeauthoryear##1##2##3{##2}\@internalcite}
+% \def\citeyear{\def\citeauthoryear##1##2##3{##3}\@internalcite}
+%
+% -------------------------------------------------------------------------
+% This file implements citations for the ``chicago'' bibliography style.
+% Place it in a file called chicago.sty in the TeX search path.
+%(Placing it in the same directory as the LaTeX document should also work.)
+%
+% This file is a modification of the ``newapa'' LaTeX style,
+% originally adapted by Steven Spencer from the ``apalike'' LaTeX style.
+% It was originally modified by Stephen N. Spencer, with further
+% modifications by Young U. Ryu.
+%
+% The ``chicago'' BibTeX bibliography style creates citations with labels:
+% \citeauthoryear{author-info}{abbrev. author-info}{year}
+%
+% These labels are processed by the following LaTeX commands:
+%
+% \cite{key}
+% which produces citations with full author list and year.
+% eg. (Brown 1978; Jarke, Turner, Stohl, et al. 1985)
+% \citeNP{key}
+% which produces citations with full author list and year, but without
+% enclosing parentheses:
+% eg. Brown 1978; Jarke, Turner and Stohl 1985
+% \citeA{key}
+% which produces citations with only the full author list.
+% eg. (Brown; Jarke, Turner and Stohl)
+% \citeANP{key}
+% which produces citations with only the full author list, without
+% parentheses eg. Brown; Jarke, Turner and Stohl
+% \citeN{key}
+% which produces citations with the full author list and year, but
+% can be used as nouns in a sentence; no parentheses appear around
+% the author names, but only around the year.
+% eg. Shneiderman (1978) states that......
+% \citeN should only be used for a single citation.
+% \shortcite{key}
+% which produces citations with abbreviated author list and year.
+% \shortciteNP{key}
+% which produces citations with abbreviated author list and year.
+% \shortciteA{key}
+% which produces only the abbreviated author list.
+% \shortciteANP{key}
+% which produces only the abbreviated author list.
+% \shortciteN{key}
+% which produces the abbreviated author list and year, with only the
+% year in parentheses. Use with only one citation.
+% \citeyear{key}
+% which produces the year information only, within parentheses.
+% \citeyearNP{key}
+% which produces the year information only.
+%
+% Abbreviated author lists use the ``et al.'' construct.
+%
+% `NP' means `no parentheses'.
+%
+% This LaTeX style file must be used with the ``chicago'' or ``chicagoa''
+% (annotated chicago style) BibTeX styles.
+%
+%\typeout{Using Chicago Manual of Style bibliography: 31 August 1992}
+%
+% -------------------------------------------------------------------------
+%
+% Citation macros.
+%
+\let\@internalcite\cite
+%
+\def\cite{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{(##1\if@tempswa , ##2\fi)}%
+ \def\citeauthoryear##1##2##3{##2, { \em ##1}.}\@internalcite}
+\def\citeNP{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{##1\if@tempswa , ##2\fi}%
+ \def\citeauthoryear##1##2##3{##2, { \em ##1}}\@internalcite}
+%\def\cite{\def\@citeseppen{-1000}%
+% \def\@cite##1##2{(##1\if@tempswa , ##2\fi)}%
+% \def\citeauthoryear##1##2##3{\footnote{##2, { \em ##1}.}}\@internalcite}
+%\def\citeNP{\def\@citeseppen{-1000}%
+% \def\@cite##1##2{##1\if@tempswa , ##2\fi}%
+% \def\citeauthoryear##1##2##3{\footnote{##2, { \em ##1}}}\@internalcite}
+\def\citeN{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{##1\if@tempswa , ##2)\else{)}\fi}%
+ \def\citeauthoryear##1##2##3{##1 (##3}\@citedata}
+\def\citeA{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{(##1\if@tempswa , ##2\fi)}%
+ \def\citeauthoryear##1##2##3{##1}\@internalcite}
+\def\citeANP{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{##1\if@tempswa , ##2\fi}%
+ \def\citeauthoryear##1##2##3{##1}\@internalcite}
+%
+\def\shortcite{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{(##1\if@tempswa , ##2\fi)}%
+ \def\citeauthoryear##1##2##3{##2 ##3}\@internalcite}
+\def\shortciteNP{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{##1\if@tempswa , ##2\fi}%
+ \def\citeauthoryear##1##2##3{##2 ##3}\@internalcite}
+\def\shortciteN{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{##1\if@tempswa , ##2)\else{)}\fi}%
+ \def\citeauthoryear##1##2##3{##2 (##3}\@citedata}
+\def\shortciteA{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{(##1\if@tempswa , ##2\fi)}%
+ \def\citeauthoryear##1##2##3{##2}\@internalcite}
+\def\shortciteANP{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{##1\if@tempswa , ##2\fi}%
+ \def\citeauthoryear##1##2##3{##2}\@internalcite}
+%
+\def\citeyear{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{(##1\if@tempswa , ##2\fi)}%
+ \def\citeauthoryear##1##2##3{##3}\@citedata}
+\def\citeyearNP{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{##1\if@tempswa , ##2\fi}%
+ \def\citeauthoryear##1##2##3{##3}\@citedata}
+
+%
+% \@citedata and \@citedatax:
+%
+% Place commas in-between citations in the same \citeyear, \citeyearNP,
+% \citeN, or \shortciteN command.
+% Use something like \citeN{ref1,ref2,ref3} and \citeN{ref4} for a list.
+%
+\def\@citedata{%
+ \@ifnextchar [{\@tempswatrue\@citedatax}%
+ {\@tempswafalse\@citedatax[]}%
+}
+
+\def\@citedatax[#1]#2{%
+\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi%
+ \def\@citea{}\@cite{\@for\@citeb:=#2\do%
+ {\@citea\def\@citea{, }\@ifundefined% by Young
+ {b@\@citeb}{{\bf ?}%
+ \@warning{Citation `\@citeb' on page \thepage \space undefined}}%
+{\csname b@\@citeb\endcsname}}}{#1}}%
+
+% don't box citations, separate with ; and a space
+% also, make the penalty between citations negative: a good place to break.
+%
+\def\@citex[#1]#2{%
+\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi%
+ \def\@citea{}\@cite{\@for\@citeb:=#2\do%
+ {\@citea\def\@citea{; }\@ifundefined% by Young
+ {b@\@citeb}{{\bf ?}%
+ \@warning{Citation `\@citeb' on page \thepage \space undefined}}%
+{\csname b@\@citeb\endcsname}}}{#1}}%
+
+% (from apalike.sty)
+% No labels in the bibliography.
+%
+\def\@biblabel#1{}
+
+% (from apalike.sty)
+% Set length of hanging indentation for bibliography entries.
+%
+\newlength{\bibhang}
+\setlength{\bibhang}{2em}
+
+% Indent second and subsequent lines of bibliographic entries. Stolen
+% from openbib.sty: \newblock is set to {}.
+
+\newdimen\bibindent
+\bibindent=1.5em
+\@ifundefined{refname}%
+ {\@ifundefined{chapter}%
+ {\newcommand{\refname}{References}}%
+ {\newcommand{\refname}{Bibliography}}%
+ }%
+ {}%
+\@ifundefined{chapter}%
+ {\def\thebibliography#1{\section*{\refname\@mkboth
+ {\uppercase{\refname}}{\uppercase{\refname}}}\list
+ {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}
+ \leftmargin\labelwidth
+ \advance\leftmargin\labelsep
+ \advance\leftmargin\bibindent
+ \itemindent -\bibindent
+ \listparindent \itemindent
+ \parsep \z@
+ \usecounter{enumi}}
+ \def\newblock{}
+ \sloppy
+ \sfcode`\.=1000\relax}}
+ {\def\thebibliography#1{\chapter*{\refname\@mkboth
+ {\uppercase{\refname}}{\uppercase{\refname}}}\list
+ {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}
+ \leftmargin\labelwidth
+ \advance\leftmargin\labelsep
+ \advance\leftmargin\bibindent
+ \itemindent -\bibindent
+ \listparindent \itemindent
+ \parsep \z@
+ \usecounter{enumi}}
+ \def\newblock{}
+ \sloppy
+ \sfcode`\.=1000\relax}}
+%
+% hum2 central modifications below
+%
+\setstretch{1.7}
+\setlength{\voffset}{0pt}
+\setlength{\oddsidemargin}{0pt}
+\setlength{\headheight}{0pt}
+\setlength{\headsep}{0pt}
+\setlength{\textheight}{8.5in}
+\setlength{\textwidth}{6.5in}
+\renewcommand{\refname}{Bibliography}
+\setcounter{page}{0}
+\newcommand{\oldcite}{aaaa}
+\newboolean{two}
+\newcommand{\note}[2]{\ifthenelse{\equal{#1}{nopage}}{\setboolean{two}{false}}{\setboolean{two}{true}}\footnote{\ifthenelse{\equal{#2}{\oldcite}}{\ifthenelse{\boolean{two}}{{\it Ibid},~#1.}{{\it Ibid}.}}{\ifthenelse{\boolean{two}}{\citeNP[#1]{#2}.}{\citeNP{#2}.}}}\renewcommand{\oldcite}{#2}}
diff --git a/biblio/bibtex/contrib/mla/mla.bst b/biblio/bibtex/contrib/mla/mla.bst
new file mode 100644
index 0000000000..c5762e9dac
--- /dev/null
+++ b/biblio/bibtex/contrib/mla/mla.bst
@@ -0,0 +1,1533 @@
+% BibTeX bibliography style `MLA' to conform to the MLA stylesheet
+% 3/23/97 minor changes to @inproceedings
+% modified on 10/21/95 copied much of the tricks of chicago.bst
+% now need use use chicago.sty when using this bibstyle
+% modified on 3/13/94 converted note3 to "comment" field
+% Modified from BibTeX standard bibliography style `plain' by Tom Weissert
+% BibTeX standard bibliography style `plain'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+% The following text is the header for chicago.bst:
+% "Chicago" BibTeX style, chicago.bst
+% ===================================
+%
+% BibTeX `chicago' style file for BibTeX version 0.99c, LaTeX version 2.09
+% Place it in a file called chicago.bst in the BibTeX search path.
+% You need to include chicago.sty as a \documentstyle option.
+% (Placing it in the same directory as the LaTeX document should also work.)
+% This "chicago" style is based on newapa.bst (American Psych. Assoc.)
+% found at ymir.claremont.edu.
+%
+% Citation format: (author-last-name year)
+% (author-last-name and author-last-name year)
+% (author-last-name, author-last-name, and author-last-name year)
+% (author-last-name et al. year)
+% (author-last-name)
+% author-last-name (year)
+% (author-last-name and author-last-name)
+% (author-last-name et al.)
+% (year) or (year,year)
+% year or year,year
+%
+% Reference list ordering: alphabetical by author or whatever passes
+% for author in the absence of one.
+%
+% This BibTeX style has support for abbreviated author lists and for
+% year-only citations. This is done by having the citations
+% actually look like
+%
+% \citeauthoryear{full-author-info}{abbrev-author-info}{year}
+%
+% The LaTeX style has to have the following (or similar)
+%
+% \let\@internalcite\cite
+% \def\fullcite{\def\citeauthoryear##1##2##3{##1, ##3}\@internalcite}
+% \def\fullciteA{\def\citeauthoryear##1##2##3{##1}\@internalcite}
+% \def\shortcite{\def\citeauthoryear##1##2##3{##2, ##3}\@internalcite}
+% \def\shortciteA{\def\citeauthoryear##1##2##3{##2}\@internalcite}
+% \def\citeyear{\def\citeauthoryear##1##2##3{##3}\@internalcite}
+%
+% These TeX macro definitions are found in chicago.sty. Additional
+% commands to manipulate different components of a citation can be defined
+% so that, for example, you can list author's names without parentheses
+% if using a citation as a noun or object in a sentence.
+%
+% This file was originally copied from newapa.bst at ymir.claremont.edu.
+%
+% Features of chicago.bst:
+% =======================
+%
+% - full names used in citations, but abbreviated citations are available
+% (see above)
+% - if an entry has a "month", then the month and year are also printed
+% as part of that bibitem.
+% - all conjunctions use "and" instead of "\&"
+% - major modification from Chicago Manual of Style (13th ed.) is that
+% only the first author in a reference appears last name first-
+% additional authors appear as J. Q. Public.
+% - pages are listed as "pp. xx-xx" in all entry types except
+% article entries.
+% - book, inbook, and manual use "location: publisher" (or organization)
+% for address and publisher. All other types list publishers separately.
+% - "pp." are used to identify page numbers for all entry types except
+% articles.
+% - organization is used as a citation label if neither author nor editor
+% is present (for manuals).
+% - "et al." is used for long author and editor lists, or when "others"
+% is used.
+%
+% Modifications and bug fixes from newapa.bst:
+% ===========================================
+%
+% - added month, year to bib entries if month is present
+% - fixed bug with In proceedings, added necessary comma after title
+% - all conjunctions changed to "and" from "\&"
+% - fixed bug with author labels in my.full.label: "et al." now is
+% generated when "others" is an author name
+% - major modification from Chicago Manual of Style (13th ed.) is that
+% only the first author in a reference appears last name first-
+% additional authors appear as J. Q. Public.
+% - pages are listed as "pp. xx-xx" in all entry types except
+% article entries. Unnecessary (IMHO) "()" around page numbers
+% were removed, and page numbers now don't end with a period.
+% - created chicago.sty for use with this bibstyle (required).
+% - fixed bugs in FUNCTION {format.vol.num.pages} for missing volume,
+% number, and /or pages. Renamed to format.jour.vol.
+% - fixed bug in formatting booktitles: additional period an error if
+% book has a volume.
+% - fixed bug: editors usually given redundant period before next clause
+% (format.editors.dot) removed.
+% - added label support for organizations, if both author and editor
+% are missing (from alpha.bst). If organization is too long, then
+% the key field is used for abbreviated citations.
+% - In proceedings or books of several volumes, no comma was written
+% between the "Volume x" and the page numbers (this was intentional
+% in newapa.bst). Fixed.
+% - Some journals may not have volumes/numbers, only month/year (eg.
+% IEEE Computer). Fixed bug in article style that assumed volume/number
+% was always present.
+%
+% Original documentation for newapa.sty:
+% =====================================
+%
+% This version was made by modifying the master file made by
+% Oren Patashnik (PATASHNIK@SCORE.STANFORD.EDU), and the 'named' BibTeX
+% style of Peter F. Patel-Schneider.
+%
+% Copyright (C) 1985, all rights reserved.
+% Copying of this file is authorized only if either
+% (1) you make absolutely no changes to your copy, including name, or
+% (2) if you do make changes, you name it something other than 'newapa.bst'.
+% There are undoubtably bugs in this style. If you make bug fixes,
+% improvements, etc. please let me know. My e-mail address is:
+% spencer@cgrg.ohio.state.edu or 71160.3141@compuserve.com
+%
+% This style was made from 'plain.bst', 'named.bst', and 'apalike.bst',
+% with lots of tweaking to make it look like APA style, along with tips
+% from Young Ryu and Brian Reiser's modifications of 'apalike.bst'.
+%
+%
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ comment
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+% copied labels from Chicago
+ { label.year extra.label sort.year sort.label }
+% added "post.title" to integers
+% just.space to integers
+INTEGERS { output.state before.all mid.sentence after.sentence after.block
+ post.title}
+% added #4 below
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #4 'post.title :=
+}
+% added u from chicago:
+STRINGS { s t u }
+% added outer if loop
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state post.title =
+ { " " * write$
+ newline$
+ "\newblock " write$
+ mid.sentence 'output.state :=
+ }
+ { output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {putnodot}
+{post.title 'output.state :=}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+% removed original bibitem from here
+% added the chicago version later in file
+%FUNCTION {output.bibitem}
+%{ newline$
+% "\bibitem{" write$
+% cite$ write$
+% "}" write$
+% newline$
+% ""
+% before.all 'output.state :=
+%}
+%
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+% moved format.date function to here for sort
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+%
+% This new function is a modified version of the old function
+% the old function has been renamed format.names.alt below
+% added if nameptr=1 option and changed format for first
+% author to last name first.
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 =
+ { s nameptr "{ll}{, ff}{vv~}{,jj}" format.name$ 't := }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't := }
+ if$
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+% this is the original format.names function
+FUNCTION {format.names.alt}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+% copied the following two from chicago
+FUNCTION {my.full.label}
+{ 's :=
+ #1 'nameptr := % nameptr = 1;
+ s num.names$ 'numnames := % numnames = num.name$(s);
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}" format.name$ 't := % get the next name
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * } % from Chicago Manual of Style
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr := % nameptr += 1;
+ namesleft #1 - 'namesleft := % namesleft =- 1;
+ }
+ while$
+}
+FUNCTION {format.names.fml}
+%
+% Format names in "familiar" format, with first initial followed by
+% last name. Like format.names, ALL names are formatted.
+%
+{ 's :=
+ #1 'nameptr := % nameptr = 1;
+ s num.names$ 'numnames := % numnames = num.name$(s);
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+% { " \& " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr := % nameptr += 1;
+ namesleft #1 - 'namesleft := % namesleft =- 1;
+ }
+ while$
+}
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+% from chicago:
+% Format editor names for use in the "in" types: inbook, incollection,
+% inproceedings: first initial, then last names. When editors are the
+% LABEL for an entry, then format.editor is used which lists editors
+% by last name first.
+%
+FUNCTION {format.editors.fml}
+{ editor empty$
+ { "" }
+ { editor format.names.fml
+ editor num.names$ #1 >
+ { " (Eds.)" * }
+ { " (Ed.)" * }
+ if$
+ }
+ if$
+}
+%
+% this new function is a modified version of the original above
+% with the additional use of format.names.alt when the editor
+% is not the first name in the entry.
+FUNCTION {format.editors.alt}
+{ editor empty$
+ { "" }
+ { "Ed. " editor format.names.alt
+ editor num.names$ #1 >
+ { * }
+ { * }
+ if$
+ }
+ if$
+}
+
+% removed change.case$ operation on title
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title }
+% { title "t" change.case$ }
+ if$
+}
+% new function copied from above added quote marks and
+% period inside quotes for articles
+FUNCTION {format.title.article}
+{ title empty$
+ { "" }
+ { "``" title * ".''" * }
+ if$
+}
+% new function copied from above added quote marks and
+% period inside quotes for chapter title in type INBOOK
+FUNCTION {format.chapter.inbook}
+{ chapter empty$
+ { "" }
+ { "``" chapter * ".''" * }
+ if$
+}
+
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+% moved format.data function from here
+FUNCTION {format.btitle}
+{ title emphasize }
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { series empty$
+ { "" }
+ { series }
+ if$
+ }
+ { "Volume" volume tie.or.space.connect
+ series empty$
+ {" " * }
+ { " of " * series * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { " " pages n.dashify tie.or.space.connect }
+ { " " pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+% added the if year empty block to below
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ year empty$
+ { month empty$
+ { "" *}
+ { "there's a month but no year in " cite$ * warning$ }
+ if$
+ }
+ { month empty$
+ { " (" year * ")" * * }
+ { " (" month * " " * year * ")" * * }
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ": " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages.mag}
+{ volume field.or.null
+ year empty$
+ { month empty$
+ { "" *}
+ { "there's a month but no year in " cite$ * warning$ }
+ if$
+ }
+ { month empty$
+ { " " year " " * * }
+ { " " month * ". " * year * " " * * }
+ if$
+ }
+ if$
+ pages empty$
+ {'skip$}
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ": " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+% modified to use format.editors.alt instead of format.editors
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { " " booktitle emphasize * ". " * }
+ { " " booktitle emphasize * ". " * format.editors.alt * }
+ if$
+ }
+ if$
+}
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+FUNCTION {format.article.crossref}
+{ "See"
+ "\citeN{" * crossref * "}" *
+}
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "\emph{" * series * "}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \citeN{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{"See" " \citeN{" * crossref * "}" * }
+%
+% created this function
+FUNCTION {format.publishing}
+{ address empty$
+ {publisher}
+ {address ": " * publisher * }
+ if$
+}
+%
+% Stole the following label generation
+% routines for chicago-like labels in
+% the bbl file:
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #2 > % change number to number of others allowed before
+ % forcing "et al".
+ { s #1 "{vv~}{ll}" format.name$ " et~al." * }
+ {
+ numnames #1 - 'namesleft :=
+ #2 'nameptr :=
+ s #1 "{vv~}{ll}" format.name$
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * s nameptr "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ { ", " * s nameptr "{vv~}{ll}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ }
+ if$
+}
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { "no key, author in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { "no key, editor in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+FUNCTION {author.key.organization.label}
+%
+% added - gnp. Provide label formatting by organization if author is null.
+%
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "no key, author or organization in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { organization }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+FUNCTION {editor.key.organization.label}
+%
+% added - gnp. Provide label formatting by organization if editor is null.
+%
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "no key, editor or organization in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { organization }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "no key, author, or editor in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+FUNCTION {calc.label}
+%
+% Changed - GNP. See also author.organization.sort, editor.organization.sort
+% Form label for BibTeX entry. The classification of which fields are used
+% for which type of entry (book, inbook, etc.) are taken from alpha.bst.
+% The change here from newapa is to also include organization as a
+% citation label if author or editor is missing.
+%
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ author empty$ % generate the full label citation information.
+ { editor empty$
+ { organization empty$
+ { "no author, editor, or organization in " cite$ * warning$
+ "??" }
+ { organization }
+ if$
+ }
+ { editor my.full.label }
+ if$
+ }
+ { author my.full.label }
+ if$
+% leave label on the stack, to be popped when required.
+ "}{" * swap$ * "}{" *
+% year field.or.null purify$ #-1 #4 substring$ *
+%
+% save the year for sort processing afterwards (adding a, b, c, etc.)
+%
+ year field.or.null purify$ #-1 #4 substring$
+ 'label.year :=
+}
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[\protect\citeauthoryear{" write$
+ calc.label write$
+ sort.year write$
+ "}]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+%
+% changes to article:
+% format.title to format.title.article
+FUNCTION {article}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % from chicago
+ new.block
+ format.title.article
+ "title" output.check
+ putnodot
+ note empty$
+ {}
+ { note output
+ new.block
+ }
+ if$
+% Added from chicago:
+ crossref missing$
+ { journal emphasize "journal" output.check
+ putnodot
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.vol.num.pages output
+ new.block
+ comment output
+ fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "editor" output.check
+ new.block
+ crossref missing$
+ { format.btitle "title" output.check }
+ { format.book.crossref output.nonnull }
+ if$
+ }
+ { format.authors output.nonnull
+ new.block
+ crossref missing$
+ { format.btitle "title" output.check }
+ { format.book.crossref output.nonnull }
+ if$
+ new.block
+ format.editors.alt output
+ }
+ if$
+ new.block
+ note output
+ new.block
+ format.edition output
+ new.block
+ format.bvolume output
+ new.block
+ format.publishing "address and publisher" output.check
+ format.date "year" output.check
+ new.block
+ comment output
+ fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output %from chicago
+ new.block
+ format.title "title" output.check
+ new.block
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ note output
+ new.block
+ comment output
+ fin.entry
+}
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.chapter.inbook output
+ putnodot
+ format.btitle
+ "title" output.check
+ crossref missing$
+ { format.edition output
+ new.block
+ format.bvolume output
+ new.block
+ format.publishing "address and publisher" output.check
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ new.block
+ note output
+ format.date "year" output.check
+ comment output
+ new.block
+ format.pages output
+ fin.entry
+}
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output %from chicago
+ new.block
+ format.title.article
+ "title" output.check
+ putnodot
+ crossref missing$
+ {format.in.ed.booktitle
+ "booktitle" output.check
+ new.block
+ format.edition output
+ new.block
+ note output
+ format.bvolume output
+ new.block
+ format.publishing "address and publisher" output.check
+ format.date output
+ new.block
+ format.chapter.pages output
+ }
+ { format.incoll.inproc.crossref
+ output.nonnull
+ format.date output
+ new.block
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ comment output
+ fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output %chicago
+ new.block
+ format.title.article
+ "title" output.check
+ putnodot
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+% organization missing$
+% {}
+% {" Proceedings of " organization * output}
+% if$
+ new.block
+ putnodot
+ note output
+ format.publishing "address and publisher" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull}
+ if$
+ format.date "year" output.check
+ format.pages output
+ new.block
+ comment output
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output
+ new.block
+ format.title.article
+ "title" output.check
+ putnodot
+ journal emphasize
+ "journal" output.check
+ putnodot
+ format.vol.num.pages.mag output
+ new.block
+ note output
+ new.block
+ comment output
+ fin.entry
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output
+ new.block
+ format.btitle
+ "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output
+ organization format.key output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle
+ "title" output.check
+ note output
+ format.publishing
+ "address and publisher" output.check
+ format.date
+ "year" output.check
+ format.bvolume output
+ format.number.series output
+ new.block
+ comment output
+ fin.entry
+}
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution
+ "institution" output.check
+ address output
+ format.date
+ "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ new.block
+ comment output
+ fin.entry
+}
+FUNCTION {default.type} { book }
+MACRO {jan} {"January"}
+MACRO {feb} {"February"}
+MACRO {mar} {"March"}
+MACRO {apr} {"April"}
+MACRO {may} {"May"}
+MACRO {jun} {"June"}
+MACRO {jul} {"July"}
+MACRO {aug} {"August"}
+MACRO {sep} {"September"}
+MACRO {oct} {"October"}
+MACRO {nov} {"November"}
+MACRO {dec} {"December"}
+READ
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ "" }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+ { "missing author in " cite$ * warning$
+ editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+FUNCTION {presort}
+% added first 4 lines from chicago for labels:
+{ calc.label sortify % recalculate bibitem label
+ year field.or.null purify$ #-1 #4 substring$ * % add year
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ #1 entry.max$ substring$ % added for newapa
+ 'sort.label := % added for newapa
+ sort.label % added for newapa
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+ITERATE {presort}
+% replace entire sort procedure with the one from chicago:
+SORT % by label, year, author/editor, title
+STRINGS { last.label next.extra }
+INTEGERS { last.extra.num }
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+FUNCTION {forward.pass}
+%
+% Pass through all entries, comparing current entry to last one.
+% Need to concatenate year to the stack (done by calc.label) to determine
+% if two entries are the same (see presort)
+%
+{ last.label
+ calc.label year field.or.null purify$ #-1 #4 substring$ * % add year
+ #1 entry.max$ substring$ = % are they equal?
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ calc.label year field.or.null purify$ #-1 #4 substring$ * % add year
+ #1 entry.max$ substring$ 'last.label := % assign to last.label
+ }
+ if$
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label.year extra.label * 'sort.year :=
+ extra.label 'next.extra :=
+}
+EXECUTE {initialize.extra.label.stuff}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+ITERATE {bib.sort.order}
+SORT % by sort.label, year, title --- giving final bib. order.
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$
+}
+
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/mla/mla.sty b/biblio/bibtex/contrib/mla/mla.sty
new file mode 100644
index 0000000000..7122a508c0
--- /dev/null
+++ b/biblio/bibtex/contrib/mla/mla.sty
@@ -0,0 +1,292 @@
+% Latex style file MLA for use with MLA.bst
+% taken completely from the file chicago.sty and
+% modified slightly as documented.
+% 3/25/97 added functions for the MLAnnote.BST Annotated bibliography
+% Thomas_Weissert@irwins.pvt.k12.pa.us on 10/22/95
+%%% ====================================================================
+%%% @LaTeX-style-file{
+%%% author = "Glenn Paulley",
+%%% version = "4",
+%%% date = "31 August 1992",
+%%% time = "09:42:44 199",
+%%% filename = "chicago.sty",
+%%% address = "Data Structuring Group
+%%% Department of Computer Science
+%%% University of Waterloo
+%%% Waterloo, Ontario, Canada
+%%% N2L 3G1",
+%%% telephone = "(519) 885-1211",
+%%% FAX = "(519) 885-1208",
+%%% checksum = "44674 264 1050 10394",
+%%% email = "gnpaulle@bluebox.uwaterloo.ca",
+%%% codetable = "ISO/ASCII",
+%%% keywords = "",
+%%% supported = "yes",
+%%% abstract = "Contains the LaTeX style command definitions
+%%% for the Chicago BibTeX styles chicago.bst and
+%%% chicagoa.bst. For details, see below.",
+%%% docstring = "The checksum field above contains a CRC-16
+%%% checksum as the first value, followed by the
+%%% equivalent of the standard UNIX wc (word
+%%% count) utility output of lines, words, and
+%%% characters. This is produced by Robert
+%%% Solovay's checksum utility.",
+%%% }
+%%% ====================================================================
+%
+% chicago.sty: Style file for use with bibtex style chicago.bst, for
+% bibliographies formatted according to the 13th Edition of the Chicago
+% Manual of Style.
+%
+% 'newapa.bst' was made from 'plain.bst', 'named.bst', and 'apalike.bst',
+% with lots of tweaking to make it look like APA style, along with tips
+% from Young Ryu and Brian Reiser's modifications of 'apalike.bst'.
+% newapa.sty formed the basis of this style, chicago.sty. Author-date
+% references in newapa.bst formed the basis for chicago.bst. Chicagoa.bst
+% supports annotations.
+%
+% Version 4 (August, 1992):
+% - fixed chicago.bst and chicagoa.bst to handle long author lists in
+% sorting
+% - fixed chicago.bst and chicagoa.bst so that missing page numbers in
+% ``article'' entries are handled correctly
+% - modified chicago.sty to format entries with 2nd and subsequent lines
+% indented.
+%
+% Citation format: (author-last-name year)
+% (author-last-name and author-last-name year)
+% (author-last-name et al. year)
+% (author-last-name)
+% author-last-name
+% author-last-name (year)
+% (author-last-name and author-last-name)
+% (author-last-name et al.)
+% (year) or (year,year)
+% year or year,year
+%
+% Reference list ordering: alphabetical by author or whatever passes
+% for author in the absence of one.
+%
+% This BibTeX style has support for abbreviated author lists and for
+% year-only citations. This is done by having the citations
+% actually look like
+%
+% \citeauthoryear{full-author-info}{abbrev-author-info}{year}
+%
+% The LaTeX style has to have the following (or similar)
+%
+% \let\@internalcite\cite
+% \def\fullcite{\def\citeauthoryear##1##2##3{##1, ##3}\@internalcite}
+% \def\fullciteA{\def\citeauthoryear##1##2##3{##1}\@internalcite}
+% \def\shortcite{\def\citeauthoryear##1##2##3{##2, ##3}\@internalcite}
+% \def\shortciteA{\def\citeauthoryear##1##2##3{##2}\@internalcite}
+% \def\citeyear{\def\citeauthoryear##1##2##3{##3}\@internalcite}
+%
+% -------------------------------------------------------------------------
+% This file implements citations for the ``chicago'' bibliography style.
+% Place it in a file called chicago.sty in the TeX search path.
+%(Placing it in the same directory as the LaTeX document should also work.)
+%
+% This file is a modification of the ``newapa'' LaTeX style,
+% originally adapted by Steven Spencer from the ``apalike'' LaTeX style.
+% It was originally modified by Stephen N. Spencer, with further
+% modifications by Young U. Ryu.
+%
+% The ``chicago'' BibTeX bibliography style creates citations with labels:
+% \citeauthoryear{author-info}{abbrev. author-info}{year}
+%
+% These labels are processed by the following LaTeX commands:
+%
+% \cite{key}
+% which produces citations with full author list and year.
+% eg. (Brown 1978; Jarke, Turner, Stohl, et al. 1985)
+% \citeNP{key}
+% which produces citations with full author list and year, but without
+% enclosing parentheses:
+% eg. Brown 1978; Jarke, Turner and Stohl 1985
+% \citeA{key}
+% which produces citations with only the full author list.
+% eg. (Brown; Jarke, Turner and Stohl)
+% \citeANP{key}
+% which produces citations with only the full author list, without
+% parentheses eg. Brown; Jarke, Turner and Stohl
+% \citeN{key}
+% which produces citations with the full author list and year, but
+% can be used as nouns in a sentence; no parentheses appear around
+% the author names, but only around the year.
+% eg. Shneiderman (1978) states that......
+% \citeN should only be used for a single citation.
+% \shortcite{key}
+% which produces citations with abbreviated author list and year.
+% \shortciteNP{key}
+% which produces citations with abbreviated author list and year.
+% \shortciteA{key}
+% which produces only the abbreviated author list.
+% \shortciteANP{key}
+% which produces only the abbreviated author list.
+% \shortciteN{key}
+% which produces the abbreviated author list and year, with only the
+% year in parentheses. Use with only one citation.
+% \citeyear{key}
+% which produces the year information only, within parentheses.
+% \citeyearNP{key}
+% which produces the year information only.
+%
+% Abbreviated author lists use the ``et al.'' construct.
+%
+% `NP' means `no parentheses'.
+%
+% This LaTeX style file must be used with the ``chicago'' or ``chicagoa''
+% (annotated chicago style) BibTeX styles.
+%
+\typeout{Using MLA Manual of Style bibliography: 23 MAR 1997}
+% any definitions or changes are so marked as MLA
+% The bibliography in MLA Style is called "Works Cited"
+% new commands are defined at the end:
+%
+% \workscited{bibfile}{style}{nocite}
+% bibfile is the bibfile.bib
+% style is the style.bst file: either MLA or MLAA (annotated)
+% nocite is the list of keys or * to issue nocite commands
+%
+% -------------------------------------------------------------------------
+%
+% Citation macros.
+%
+\let\@internalcite\cite
+%
+\def\cite{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{(##1\if@tempswa , ##2\fi)}%
+ \def\citeauthoryear##1##2##3{##1 ##3}\@internalcite}
+\def\citeNP{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{##1\if@tempswa , ##2\fi}%
+ \def\citeauthoryear##1##2##3{##1 ##3}\@internalcite}
+\def\citeN{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{##1\if@tempswa , ##2)\else{)}\fi}%
+ \def\citeauthoryear##1##2##3{##1 (##3}\@citedata}
+\def\citeA{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{(##1\if@tempswa , ##2\fi)}%
+ \def\citeauthoryear##1##2##3{##1}\@internalcite}
+\def\citeANP{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{##1\if@tempswa , ##2\fi}%
+ \def\citeauthoryear##1##2##3{##1}\@internalcite}
+%
+\def\shortcite{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{(##1\if@tempswa , ##2\fi)}%
+ \def\citeauthoryear##1##2##3{##2 ##3}\@internalcite}
+\def\shortciteNP{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{##1\if@tempswa , ##2\fi}%
+ \def\citeauthoryear##1##2##3{##2 ##3}\@internalcite}
+\def\shortciteN{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{##1\if@tempswa , ##2)\else{)}\fi}%
+ \def\citeauthoryear##1##2##3{##2 (##3}\@citedata}
+\def\shortciteA{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{(##1\if@tempswa , ##2\fi)}%
+ \def\citeauthoryear##1##2##3{##2}\@internalcite}
+\def\shortciteANP{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{##1\if@tempswa , ##2\fi}%
+ \def\citeauthoryear##1##2##3{##2}\@internalcite}
+%
+\def\citeyear{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{(##1\if@tempswa , ##2\fi)}%
+ \def\citeauthoryear##1##2##3{##3}\@citedata}
+\def\citeyearNP{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{##1\if@tempswa , ##2\fi}%
+ \def\citeauthoryear##1##2##3{##3}\@citedata}
+%
+% \@citedata and \@citedatax:
+%
+% Place commas in-between citations in the same \citeyear, \citeyearNP,
+% \citeN, or \shortciteN command.
+% Use something like \citeN{ref1,ref2,ref3} and \citeN{ref4} for a list.
+%
+\def\@citedata{%
+ \@ifnextchar [{\@tempswatrue\@citedatax}%
+ {\@tempswafalse\@citedatax[]}%
+}
+\def\@citedatax[#1]#2{%
+\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi%
+ \def\@citea{}\@cite{\@for\@citeb:=#2\do%
+ {\@citea\def\@citea{, }\@ifundefined% by Young
+ {b@\@citeb}{{\bf ?}%
+ \@warning{Citation `\@citeb' on page \thepage \space undefined}}%
+{\csname b@\@citeb\endcsname}}}{#1}}%
+% don't box citations, separate with ; and a space
+% also, make the penalty between citations negative: a good place to break.
+%
+\def\@citex[#1]#2{%
+\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi%
+ \def\@citea{}\@cite{\@for\@citeb:=#2\do%
+ {\@citea\def\@citea{; }\@ifundefined% by Young
+ {b@\@citeb}{{\bf ?}%
+ \@warning{Citation `\@citeb' on page \thepage \space undefined}}%
+{\csname b@\@citeb\endcsname}}}{#1}}%
+% (from apalike.sty)
+% No labels in the bibliography.
+%
+\def\@biblabel#1{}
+% (from apalike.sty)
+% Set length of hanging indentation for bibliography entries.
+%
+\newlength{\bibhang}
+\setlength{\bibhang}{2em}
+% Indent second and subsequent lines of bibliographic entries. Stolen
+% from openbib.sty: \newblock is set to {}.
+\newdimen\bibindent
+\bibindent=1.5em
+\@ifundefined{refname}%
+ {\@ifundefined{chapter}%
+ {\newcommand{\refname}{References}}%
+ {\newcommand{\refname}{Bibliography}}%
+ }%
+ {}%
+\@ifundefined{chapter}%
+ {\def\thebibliography#1{\section*{\refname\@mkboth
+ {\uppercase{\refname}}{\uppercase{\refname}}}\list
+ {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}
+ \leftmargin\labelwidth
+ \advance\leftmargin\labelsep
+ \advance\leftmargin\bibindent
+ \itemindent -\bibindent
+ \listparindent \itemindent
+ \parsep \z@
+ \usecounter{enumi}}
+ \def\newblock{}
+ \sloppy
+ \sfcode`\.=1000\relax}}
+ {\def\thebibliography#1{\chapter*{\refname\@mkboth
+ {\uppercase{\refname}}{\uppercase{\refname}}}\list
+ {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}
+ \leftmargin\labelwidth
+ \advance\leftmargin\labelsep
+ \advance\leftmargin\bibindent
+ \itemindent -\bibindent
+ \listparindent \itemindent
+ \parsep \z@
+ \usecounter{enumi}}
+ \def\newblock{}
+ \sloppy
+ \sfcode`\.=1000\relax}}
+%
+% any new definitions for MLA are below
+%
+\ifx\chapter\@undefined%
+ \renewcommand{\bibname}{Works Cited}% report style
+\else
+ \renewcommand{\refname}{Works Cited}% Article style
+\fi
+% Define the command \workscited{bib}{style}{nocite}
+\newcommand{\workscited}[3]{%
+ \ifx\chapter\@undefined%
+ \addcontentsline{toc}{chapter}{\bfseries\bibname}% report style
+ \else
+ \addcontentsline{toc}{section}{\bfseries\refname}% Article style
+ \fi
+ \bibliography{#1}\bibliographystyle{#2}\nocite{#3}}
+%
+% defined the following for the annotated bibliography style
+\newcommand{\annote}[1]{\begin{list}{}{%
+ \setlength{\labelwidth}{0pt}
+ \addtolength{\leftmargin}{\parindent}
+ \setlength{\labelsep}{0pt}}%
+ \item #1 \end{list}}
diff --git a/biblio/bibtex/contrib/mla/mlaa.bst b/biblio/bibtex/contrib/mla/mlaa.bst
new file mode 100644
index 0000000000..3a6db32cf4
--- /dev/null
+++ b/biblio/bibtex/contrib/mla/mlaa.bst
@@ -0,0 +1,1563 @@
+% BibTeX bibliography style `MLAA' to conform to the MLA stylesheet
+% for annotated bibliography. Created on 3/23/97 from MLA.bst
+% adds two new bibtex fields called ANNOTATION and ANNOTE
+% to be compatible with chicago ANNOTATION is looked for first,
+% then ANNOTE is used if the other is absent.
+% by Thomas_Weissert@irwins.pvt.k12.pa.us
+%
+% 3/23/97 minor changes to @inproceedings
+% modified on 10/21/95 copied much of the tricks of chicago.bst
+% now need use use chicago.sty when using this bibstyle
+% modified on 3/13/94 converted note3 to "comment" field
+% Modified from BibTeX standard bibliography style `plain' by Tom Weissert
+% BibTeX standard bibliography style `plain'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+% The following text is the header for chicago.bst:
+% "Chicago" BibTeX style, chicago.bst
+% ===================================
+%
+% BibTeX `chicago' style file for BibTeX version 0.99c, LaTeX version 2.09
+% Place it in a file called chicago.bst in the BibTeX search path.
+% You need to include chicago.sty as a \documentstyle option.
+% (Placing it in the same directory as the LaTeX document should also work.)
+% This "chicago" style is based on newapa.bst (American Psych. Assoc.)
+% found at ymir.claremont.edu.
+%
+% Citation format: (author-last-name year)
+% (author-last-name and author-last-name year)
+% (author-last-name, author-last-name, and author-last-name year)
+% (author-last-name et al. year)
+% (author-last-name)
+% author-last-name (year)
+% (author-last-name and author-last-name)
+% (author-last-name et al.)
+% (year) or (year,year)
+% year or year,year
+%
+% Reference list ordering: alphabetical by author or whatever passes
+% for author in the absence of one.
+%
+% This BibTeX style has support for abbreviated author lists and for
+% year-only citations. This is done by having the citations
+% actually look like
+%
+% \citeauthoryear{full-author-info}{abbrev-author-info}{year}
+%
+% The LaTeX style has to have the following (or similar)
+%
+% \let\@internalcite\cite
+% \def\fullcite{\def\citeauthoryear##1##2##3{##1, ##3}\@internalcite}
+% \def\fullciteA{\def\citeauthoryear##1##2##3{##1}\@internalcite}
+% \def\shortcite{\def\citeauthoryear##1##2##3{##2, ##3}\@internalcite}
+% \def\shortciteA{\def\citeauthoryear##1##2##3{##2}\@internalcite}
+% \def\citeyear{\def\citeauthoryear##1##2##3{##3}\@internalcite}
+%
+% These TeX macro definitions are found in chicago.sty. Additional
+% commands to manipulate different components of a citation can be defined
+% so that, for example, you can list author's names without parentheses
+% if using a citation as a noun or object in a sentence.
+%
+% This file was originally copied from newapa.bst at ymir.claremont.edu.
+%
+% Features of chicago.bst:
+% =======================
+%
+% - full names used in citations, but abbreviated citations are available
+% (see above)
+% - if an entry has a "month", then the month and year are also printed
+% as part of that bibitem.
+% - all conjunctions use "and" instead of "\&"
+% - major modification from Chicago Manual of Style (13th ed.) is that
+% only the first author in a reference appears last name first-
+% additional authors appear as J. Q. Public.
+% - pages are listed as "pp. xx-xx" in all entry types except
+% article entries.
+% - book, inbook, and manual use "location: publisher" (or organization)
+% for address and publisher. All other types list publishers separately.
+% - "pp." are used to identify page numbers for all entry types except
+% articles.
+% - organization is used as a citation label if neither author nor editor
+% is present (for manuals).
+% - "et al." is used for long author and editor lists, or when "others"
+% is used.
+%
+% Modifications and bug fixes from newapa.bst:
+% ===========================================
+%
+% - added month, year to bib entries if month is present
+% - fixed bug with In proceedings, added necessary comma after title
+% - all conjunctions changed to "and" from "\&"
+% - fixed bug with author labels in my.full.label: "et al." now is
+% generated when "others" is an author name
+% - major modification from Chicago Manual of Style (13th ed.) is that
+% only the first author in a reference appears last name first-
+% additional authors appear as J. Q. Public.
+% - pages are listed as "pp. xx-xx" in all entry types except
+% article entries. Unnecessary (IMHO) "()" around page numbers
+% were removed, and page numbers now don't end with a period.
+% - created chicago.sty for use with this bibstyle (required).
+% - fixed bugs in FUNCTION {format.vol.num.pages} for missing volume,
+% number, and /or pages. Renamed to format.jour.vol.
+% - fixed bug in formatting booktitles: additional period an error if
+% book has a volume.
+% - fixed bug: editors usually given redundant period before next clause
+% (format.editors.dot) removed.
+% - added label support for organizations, if both author and editor
+% are missing (from alpha.bst). If organization is too long, then
+% the key field is used for abbreviated citations.
+% - In proceedings or books of several volumes, no comma was written
+% between the "Volume x" and the page numbers (this was intentional
+% in newapa.bst). Fixed.
+% - Some journals may not have volumes/numbers, only month/year (eg.
+% IEEE Computer). Fixed bug in article style that assumed volume/number
+% was always present.
+%
+% Original documentation for newapa.sty:
+% =====================================
+%
+% This version was made by modifying the master file made by
+% Oren Patashnik (PATASHNIK@SCORE.STANFORD.EDU), and the 'named' BibTeX
+% style of Peter F. Patel-Schneider.
+%
+% Copyright (C) 1985, all rights reserved.
+% Copying of this file is authorized only if either
+% (1) you make absolutely no changes to your copy, including name, or
+% (2) if you do make changes, you name it something other than 'newapa.bst'.
+% There are undoubtably bugs in this style. If you make bug fixes,
+% improvements, etc. please let me know. My e-mail address is:
+% spencer@cgrg.ohio.state.edu or 71160.3141@compuserve.com
+%
+% This style was made from 'plain.bst', 'named.bst', and 'apalike.bst',
+% with lots of tweaking to make it look like APA style, along with tips
+% from Young Ryu and Brian Reiser's modifications of 'apalike.bst'.
+%
+%
+ENTRY
+ { address
+ annote
+ annotation
+ author
+ booktitle
+ chapter
+ comment
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+% copied labels from Chicago
+ { label.year extra.label sort.year sort.label }
+% added "post.title" to integers
+% just.space to integers
+INTEGERS { output.state before.all mid.sentence after.sentence after.block
+ post.title}
+% added #4 below
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #4 'post.title :=
+}
+% added u from chicago:
+% added ann for annotation
+STRINGS { s t u ann}
+% added outer if loop
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state post.title =
+ { " " * write$
+ newline$
+ "\newblock " write$
+ mid.sentence 'output.state :=
+ }
+ { output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+% created the following function to put not dot in the output function
+FUNCTION {putnodot}
+{post.title 'output.state :=}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+% removed original bibitem from here
+% added the chicago version later in file
+%FUNCTION {output.bibitem}
+%{ newline$
+% "\bibitem{" write$
+% cite$ write$
+% "}" write$
+% newline$
+% ""
+% before.all 'output.state :=
+%}
+%
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+% moved format.date function to here for sort
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+%
+% This new function is a modified version of the old function
+% the old function has been renamed format.names.alt below
+% added if nameptr=1 option and changed format for first
+% author to last name first.
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 =
+ { s nameptr "{ll}{, ff}{vv~}{,jj}" format.name$ 't := }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't := }
+ if$
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+% this is the original format.names function
+FUNCTION {format.names.alt}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+% copied the following two from chicago
+FUNCTION {my.full.label}
+{ 's :=
+ #1 'nameptr := % nameptr = 1;
+ s num.names$ 'numnames := % numnames = num.name$(s);
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}" format.name$ 't := % get the next name
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * } % from Chicago Manual of Style
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr := % nameptr += 1;
+ namesleft #1 - 'namesleft := % namesleft =- 1;
+ }
+ while$
+}
+FUNCTION {format.names.fml}
+%
+% Format names in "familiar" format, with first initial followed by
+% last name. Like format.names, ALL names are formatted.
+%
+{ 's :=
+ #1 'nameptr := % nameptr = 1;
+ s num.names$ 'numnames := % numnames = num.name$(s);
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+% { " \& " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr := % nameptr += 1;
+ namesleft #1 - 'namesleft := % namesleft =- 1;
+ }
+ while$
+}
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+% from chicago:
+% Format editor names for use in the "in" types: inbook, incollection,
+% inproceedings: first initial, then last names. When editors are the
+% LABEL for an entry, then format.editor is used which lists editors
+% by last name first.
+%
+FUNCTION {format.editors.fml}
+{ editor empty$
+ { "" }
+ { editor format.names.fml
+ editor num.names$ #1 >
+ { " (Eds.)" * }
+ { " (Ed.)" * }
+ if$
+ }
+ if$
+}
+%
+% this new function is a modified version of the original above
+% with the additional use of format.names.alt when the editor
+% is not the first name in the entry.
+FUNCTION {format.editors.alt}
+{ editor empty$
+ { "" }
+ { "Ed. " editor format.names.alt
+ editor num.names$ #1 >
+ { * }
+ { * }
+ if$
+ }
+ if$
+}
+
+% removed change.case$ operation on title
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title }
+% { title "t" change.case$ }
+ if$
+}
+% new function copied from above added quote marks and
+% period inside quotes for articles
+FUNCTION {format.title.article}
+{ title empty$
+ { "" }
+ { "``" title * ".''" * }
+ if$
+}
+% new function copied from above added quote marks and
+% period inside quotes for chapter title in type INBOOK
+FUNCTION {format.chapter.inbook}
+{ chapter empty$
+ { "" }
+ { "``" chapter * ".''" * }
+ if$
+}
+
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+% moved format.data function from here
+FUNCTION {format.btitle}
+{ title emphasize }
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { series empty$
+ { "" }
+ { series }
+ if$
+ }
+ { "Volume" volume tie.or.space.connect
+ series empty$
+ {" " * }
+ { " of " * series * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { " " pages n.dashify tie.or.space.connect }
+ { " " pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+% added the if year empty block to below
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ year empty$
+ { month empty$
+ { "" *}
+ { "there's a month but no year in " cite$ * warning$ }
+ if$
+ }
+ { month empty$
+ { " (" year * ")" * * }
+ { " (" month * " " * year * ")" * * }
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ": " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages.mag}
+{ volume field.or.null
+ year empty$
+ { month empty$
+ { "" *}
+ { "there's a month but no year in " cite$ * warning$ }
+ if$
+ }
+ { month empty$
+ { " " year " " * * }
+ { " " month * ". " * year * " " * * }
+ if$
+ }
+ if$
+ pages empty$
+ {'skip$}
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ": " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+% modified to use format.editors.alt instead of format.editors
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { " " booktitle emphasize * ". " * }
+ { " " booktitle emphasize * ". " * format.editors.alt * }
+ if$
+ }
+ if$
+}
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+FUNCTION {format.article.crossref}
+{ "See"
+ "\citeN{" * crossref * "}" *
+}
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "\emph{" * series * "}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \citeN{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{"See" " \citeN{" * crossref * "}" * }
+%
+% created this function
+FUNCTION {format.publishing}
+{ address empty$
+ {publisher}
+ {address ": " * publisher * }
+ if$
+}
+%
+% Stole the following label generation
+% routines for chicago-like labels in
+% the bbl file:
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #2 > % change number to number of others allowed before
+ % forcing "et al".
+ { s #1 "{vv~}{ll}" format.name$ " et~al." * }
+ {
+ numnames #1 - 'namesleft :=
+ #2 'nameptr :=
+ s #1 "{vv~}{ll}" format.name$
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * s nameptr "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ { ", " * s nameptr "{vv~}{ll}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ }
+ if$
+}
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { "no key, author in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { "no key, editor in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+FUNCTION {author.key.organization.label}
+%
+% added - gnp. Provide label formatting by organization if author is null.
+%
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "no key, author or organization in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { organization }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+FUNCTION {editor.key.organization.label}
+%
+% added - gnp. Provide label formatting by organization if editor is null.
+%
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "no key, editor or organization in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { organization }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "no key, author, or editor in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+FUNCTION {calc.label}
+%
+% Changed - GNP. See also author.organization.sort, editor.organization.sort
+% Form label for BibTeX entry. The classification of which fields are used
+% for which type of entry (book, inbook, etc.) are taken from alpha.bst.
+% The change here from newapa is to also include organization as a
+% citation label if author or editor is missing.
+%
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ author empty$ % generate the full label citation information.
+ { editor empty$
+ { organization empty$
+ { "no author, editor, or organization in " cite$ * warning$
+ "??" }
+ { organization }
+ if$
+ }
+ { editor my.full.label }
+ if$
+ }
+ { author my.full.label }
+ if$
+% leave label on the stack, to be popped when required.
+ "}{" * swap$ * "}{" *
+% year field.or.null purify$ #-1 #4 substring$ *
+%
+% save the year for sort processing afterwards (adding a, b, c, etc.)
+%
+ year field.or.null purify$ #-1 #4 substring$
+ 'label.year :=
+}
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[\protect\citeauthoryear{" write$
+ calc.label write$
+ sort.year write$
+ "}]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+FUNCTION {place.annote}
+{annote missing$
+ {annotation missing$
+ {}
+ { "\annote{" annotation * "}" * output putnodot}
+ if$ }
+ { "\annote{" annote * "}" * output putnodot}
+ if$
+}
+%
+% changes to article:
+% format.title to format.title.article
+FUNCTION {article}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % from chicago
+ new.block
+ format.title.article
+ "title" output.check
+ putnodot
+ note empty$
+ {}
+ { note output
+ new.block
+ }
+ if$
+% Added from chicago:
+ crossref missing$
+ { journal emphasize "journal" output.check
+ putnodot
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.vol.num.pages output
+ new.block
+ comment output
+ place.annote
+ fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "editor" output.check
+ new.block
+ crossref missing$
+ { format.btitle "title" output.check }
+ { format.book.crossref output.nonnull }
+ if$
+ }
+ { format.authors output.nonnull
+ new.block
+ crossref missing$
+ { format.btitle "title" output.check }
+ { format.book.crossref output.nonnull }
+ if$
+ new.block
+ format.editors.alt output
+ }
+ if$
+ new.block
+ note output
+ new.block
+ format.edition output
+ new.block
+ format.bvolume output
+ new.block
+ format.publishing "address and publisher" output.check
+ format.date "year" output.check
+ new.block
+ comment output
+ place.annote
+ fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output %from chicago
+ new.block
+ format.title "title" output.check
+ new.block
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ note output
+ new.block
+ comment output
+ place.annote
+ fin.entry
+}
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.chapter.inbook output
+ putnodot
+ format.btitle
+ "title" output.check
+ crossref missing$
+ { format.edition output
+ new.block
+ format.bvolume output
+ new.block
+ format.publishing "address and publisher" output.check
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ new.block
+ note output
+ format.date "year" output.check
+ comment output
+ new.block
+ format.pages output
+ place.annote
+ fin.entry
+}
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output %from chicago
+ new.block
+ format.title.article
+ "title" output.check
+ putnodot
+ crossref missing$
+ {format.in.ed.booktitle
+ "booktitle" output.check
+ new.block
+ format.edition output
+ new.block
+ note output
+ format.bvolume output
+ new.block
+ format.publishing "address and publisher" output.check
+ format.date output
+ new.block
+ format.chapter.pages output
+ }
+ { format.incoll.inproc.crossref
+ output.nonnull
+ format.date output
+ new.block
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ comment output
+ place.annote
+ fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output %chicago
+ new.block
+ format.title.article "title" output.check
+ putnodot
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+% organization missing$
+% {}
+% {" Proceedings of " organization * output }
+% if$
+ new.block
+ putnodot
+ note output
+ format.publishing "address and publisher" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull}
+ if$
+ format.date "year" output.check
+ format.pages output
+ new.block
+ comment output
+ place.annote
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ place.annote
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ place.annote
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output
+ new.block
+ format.title.article
+ "title" output.check
+ putnodot
+ journal emphasize
+ "journal" output.check
+ putnodot
+ format.vol.num.pages.mag output
+ new.block
+ note output
+ new.block
+ comment output
+ place.annote
+ fin.entry
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output
+ new.block
+ format.btitle
+ "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ place.annote
+ fin.entry
+}
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output
+ organization format.key output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle
+ "title" output.check
+ note output
+ format.publishing
+ "address and publisher" output.check
+ format.date
+ "year" output.check
+ format.bvolume output
+ format.number.series output
+ new.block
+ comment output
+ place.annote
+ fin.entry
+}
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution
+ "institution" output.check
+ address output
+ format.date
+ "year" output.check
+ new.block
+ note output
+ place.annote
+ fin.entry
+}
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ new.block
+ comment output
+ place.annote
+ fin.entry
+}
+FUNCTION {default.type} { book }
+MACRO {jan} {"January"}
+MACRO {feb} {"February"}
+MACRO {mar} {"March"}
+MACRO {apr} {"April"}
+MACRO {may} {"May"}
+MACRO {jun} {"June"}
+MACRO {jul} {"July"}
+MACRO {aug} {"August"}
+MACRO {sep} {"September"}
+MACRO {oct} {"October"}
+MACRO {nov} {"November"}
+MACRO {dec} {"December"}
+READ
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ "" }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+ { "missing author in " cite$ * warning$
+ editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+FUNCTION {presort}
+% added first 4 lines from chicago for labels:
+{ calc.label sortify % recalculate bibitem label
+ year field.or.null purify$ #-1 #4 substring$ * % add year
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ #1 entry.max$ substring$ % added for newapa
+ 'sort.label := % added for newapa
+ sort.label % added for newapa
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+ITERATE {presort}
+% replace entire sort procedure with the one from chicago:
+SORT % by label, year, author/editor, title
+STRINGS { last.label next.extra }
+INTEGERS { last.extra.num }
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+FUNCTION {forward.pass}
+%
+% Pass through all entries, comparing current entry to last one.
+% Need to concatenate year to the stack (done by calc.label) to determine
+% if two entries are the same (see presort)
+%
+{ last.label
+ calc.label year field.or.null purify$ #-1 #4 substring$ * % add year
+ #1 entry.max$ substring$ = % are they equal?
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ calc.label year field.or.null purify$ #-1 #4 substring$ * % add year
+ #1 entry.max$ substring$ 'last.label := % assign to last.label
+ }
+ if$
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label.year extra.label * 'sort.year :=
+ extra.label 'next.extra :=
+}
+EXECUTE {initialize.extra.label.stuff}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+ITERATE {bib.sort.order}
+SORT % by sort.label, year, title --- giving final bib. order.
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$
+}
+
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/munich/README b/biblio/bibtex/contrib/munich/README
new file mode 100644
index 0000000000..b04f9046ab
--- /dev/null
+++ b/biblio/bibtex/contrib/munich/README
@@ -0,0 +1,22 @@
+This material is subject to the LaTeX Project Public License.
+See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for the details of that license.
+
+****************
+Bibtex style
+munich.bst
+****************
+
+Munich.bst was created as a Bibtex style that complements the existing Bibtex
+styles for name (year) citations. In most cases the popular Harvard Bibtex
+style (http://www.tug.org/tex-archive/help/Catalogue/entries/
+harvard-latex.html) or the Oxford Bibtex style (http://www.tug.org/
+tex-archive/help/Catalogue/entries/oxford.html) lead to good results.
+Yet I found them not entirely suitable to create a bibliography for a German/
+continental Europe academic paper.
+
+If your are looking for an alternative name (year) Bibtex style munich.bst might be just what
+you are looking for.
+
+For examples see example_munich_Bibtex_style.pdf.
+
+ \ No newline at end of file
diff --git a/biblio/bibtex/contrib/munich/documenation_munich_Bibtex_style.pdf b/biblio/bibtex/contrib/munich/documenation_munich_Bibtex_style.pdf
new file mode 100644
index 0000000000..d877fc32f0
--- /dev/null
+++ b/biblio/bibtex/contrib/munich/documenation_munich_Bibtex_style.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/munich/documenation_munich_Bibtex_style.tex b/biblio/bibtex/contrib/munich/documenation_munich_Bibtex_style.tex
new file mode 100644
index 0000000000..6c0051b606
--- /dev/null
+++ b/biblio/bibtex/contrib/munich/documenation_munich_Bibtex_style.tex
@@ -0,0 +1,88 @@
+
+\documentclass[12pt,a4paper]{article}
+\usepackage[latin1]{inputenc}
+\usepackage[T1]{fontenc}
+\usepackage[ngerman]{babel}
+\usepackage{url}
+\usepackage{parskip}
+
+\title{munich.bst -- A Name (Year) Bibtex Style \newline --Documentation--}
+
+\author{Martin Brixner}
+\date{10. August 2006}
+\begin{document}
+
+\maketitle%
+\newpage%
+\section{Introduction}
+Munich.bst was created as a Bibtex style that complements the existing Bibtex styles for name
+(year) citations. In most cases the popular Harvard Bibtex style
+(\url{http://www.tug.org/tex-archive/help/Catalogue/entries/harvard-latex.html}) or the Oxford
+Bibtex style (\url{http://www.tug.org/tex-archive/help/Catalogue/entries/oxford.html}) lead to good
+results. Yet I found them not entirely suitable to create a bibliography for a German/continental
+Europe academic paper. Namely three aspects were not satisfactory:
+%
+\begin{itemize}
+\item Multiple authors are to be separated with a slash only; no additional spaces should be
+inserted. %
+\item With the existing styles the city, in which the work was published, is omitted or not
+positioned at the end of the biography entry.%
+\item The existing styles use punctuation and italics/bold face in rather untypical way for a
+German/continental Europe bibliography.
+\end{itemize}
+%
+\section{Description}
+Munich.bst is based on the result of a custom-bib
+(\url{http://www.tug.org/tex-archive/help/Catalogue/entries/custom-bib.html}) query. Various
+changes have been made to the resulting Bibtex style. Munich.bst is designed to work with the natbib package.
+(\url{http://www.tug.org/tex-archive/help/Catalogue/entries/natbib.html})\\
+For further reference you should find in the same directory where you found this document a .tex
+file example\_munich\_bibtex\_style.tex and the respective .pdf document
+example\_munich\_bibtex\_style.pdf. These files will give you an idea how to work with munich.bst
+and what to expect from using this Bibtex style. It also contains a set of new commands that work
+well in conjunction with natbib and offer new citation formats. In particular, citations with a
+page reference are not completely put between brackets but only the page reference itself. Please
+note that the ifthen package
+(\url{http://www.tug.org/tex-archive/help/Catalogue/entries/ifthen.html}) must be installed to use
+these customized commands.
+
+\section{Contact}
+Feel free to use munich.bst and the customized commands with your LaTex document. For comments you
+can contact me at: \url{brixner_m@yahoo.de}.
+
+Please note that I will not be able to offer support for your particular document or to debug your
+biography.
+
+I hope you enjoy using munich.bst.\\[0.5cm]%
+%
+\hspace{1cm}M.\,Brixner\\%
+%
+\section{Reference -- Customized commands}
+\begin{verbatim}
+% Customized commands*****
+% Additional commands, not needed but they come in
+% handy if you want to include page numbers and do
+% not want the whole entry to be put between brackets.
+%*************************
+\newcommand{\ct}[2][]
+{%
+\citet{#2}%
+\ifthenelse{\equal{}{#1}}{.}{, S.\,#1.}%
+}
+%*************************
+\newcommand{\fct}[2][]
+{%
+\footnote{
+\citet{#2}%
+\ifthenelse{\equal{}{#1}}{.}{, S.\,#1.}%
+}}
+%*************************
+\newcommand{\fctv}[2][]
+{%
+\footnote{Vgl.\ %
+\citet{#2}%
+\ifthenelse{\equal{}{#1}}{.}{, S.\,#1.}%
+}}
+%*************************
+\end{verbatim}
+\end{document}
diff --git a/biblio/bibtex/contrib/munich/example_DB.bib b/biblio/bibtex/contrib/munich/example_DB.bib
new file mode 100644
index 0000000000..78f3a43012
--- /dev/null
+++ b/biblio/bibtex/contrib/munich/example_DB.bib
@@ -0,0 +1,45 @@
+%munich.bst test bibliography
+
+@BOOK{2003_achleitner,
+ title = {Allgemeine Betriebswirtschaftslehre -- Umfassende Einf\"uhrung aus managementorientierter Sicht},
+ publisher = {Gabler Verlag},
+ year = {2003},
+ editor = { },
+ author = {Achleitner, Ann-Kristin and Thommen, Jean-Paul},
+ address = {Wiesbaden},
+ edition = {4},
+ owner = {brixnerm},}
+
+@INCOLLECTION{2004_Sartoris,
+ author = {Ansgar V\"olker and Joachim Sartoris},
+ title = {Ausfinanzierung von Direktzusagen: Bilanzielle und steuerliche Sicht},
+ booktitle = {Bilanzielle Auslagerung von Pensionsverpflichtungen},
+ publisher = {Sch\"affer-Poeschel Verlag},
+ year = {2004},
+ address = {Stuttgart},
+ editor = {Kolvenbach, Paulgerd and Sartoris, Joachim},
+ pages = {42-63},}
+
+@INTERNET{2006_Dt_Boer,
+ author = {{Deutsche B\"orse AG}},
+ title = {Leitfaden zu den Aktienindizes der Deutschen B\"orse, Version 5.9},
+ url = {http://www.deutsche-boerse.com},
+ year = {2006},
+ note = {betrachtet am: 20.03.2006},}
+
+@BOOK{2002_Bamberg,
+ author = {Bamberg, G\"unter and Baur, Franz},
+ title = {Statistik},
+ editor = { },
+ publisher = {Oldenbourg Verlag},
+ address = {M\"unchen},
+ year = {2002},
+ edition = {12},}
+
+@ARTICLE{2005_Heidemann,
+ author = {Heidemann, J\"org },
+ title = {Finanzierungsl\"ucken bei Pensionszusagen},
+ journal = {Versicherungs Praxis},
+ year = {2005},
+ volume = {4},
+ pages = {74-75},}
diff --git a/biblio/bibtex/contrib/munich/example_munich_Bibtex_style.pdf b/biblio/bibtex/contrib/munich/example_munich_Bibtex_style.pdf
new file mode 100644
index 0000000000..b1e6104285
--- /dev/null
+++ b/biblio/bibtex/contrib/munich/example_munich_Bibtex_style.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/munich/example_munich_Bibtex_style.tex b/biblio/bibtex/contrib/munich/example_munich_Bibtex_style.tex
new file mode 100644
index 0000000000..b8343f691b
--- /dev/null
+++ b/biblio/bibtex/contrib/munich/example_munich_Bibtex_style.tex
@@ -0,0 +1,81 @@
+\documentclass[12pt,a4paper]{article}
+\usepackage[latin1]{inputenc}
+\usepackage[T1]{fontenc}
+\usepackage[ngerman]{babel}
+\usepackage{parskip}
+\usepackage{natbib}%
+\usepackage{ifthen}
+
+\bibliographystyle{munich}
+
+\title{munich.bst -- A Name (Year) Bibtex Style \newline --Examples--}
+\author{Martin Brixner}
+\date{10. August 2006}
+
+
+\begin{document}
+% Customized commands*****
+% Additional commands, not needed but they come in handy if you want to include
+% page numbers and do not want the whole entry to be put between brackets.
+%*************************
+\newcommand{\ct}[2][]
+{%
+\citet{#2}%
+\ifthenelse{\equal{}{#1}}{.}{, S.\,#1.}%
+}
+%*************************
+\newcommand{\fct}[2][]
+{%
+\footnote{
+\citet{#2}%
+\ifthenelse{\equal{}{#1}}{.}{, S.\,#1.}%
+}}
+%*************************
+\newcommand{\fctv}[2][]
+{%
+\footnote{Vgl.\ %
+\citet{#2}%
+\ifthenelse{\equal{}{#1}}{.}{, S.\,#1.}%
+}}
+%*************************
+
+
+
+\maketitle%
+\newpage%
+\section*{Examples}
+Please put the example\_DB.bib in the same directory as this file.\\[0.4cm]
+
+\textbf{Native commands} \\[0.2cm]
+%
+Book entry I\footnote{\cite{2003_achleitner}.} \\
+Command: \verb+\footnote{\cite{2003_achleitner}.}+ \\[0.2cm]
+%
+Book entry II\footnote{\cite{2002_Bamberg}.} \\
+Command: \verb+\footnote{\cite{2002_Bamberg}.}+ \\[0.2cm]
+%
+Incollection entry\footnote{\cite[42-63]{2004_Sartoris}.}\\
+Command: \verb+\footnote{\cite[42-63]{2004_Sartoris}.}+ \\[0.2cm]
+%
+Article entry\footnote{\cite[74-75]{2005_Heidemann}.} \\
+Command: \verb+\footnote{\cite[74-75]{2005_Heidemann}.}+ \\[0.2cm]
+%
+Internet entry\footnote{\cite{2006_Dt_Boer}.} \\
+Command: \verb+\footnote{\cite{2006_Dt_Boer}.}+ \\[0.4cm]
+%
+\textbf{Customized commands} \\[0.2cm]
+Article entry II \ct[74-75]{2005_Heidemann} \\
+Command: \verb+\ct[74-75]{2005_Heidemann} + \\[0.2cm]
+%
+Article entry III\fct[74-75]{2005_Heidemann} \\
+Command: \verb+\fct[74-75]{2005_Heidemann}+ \\[0.2cm]
+%
+Article entry IV\fctv[74-75]{2005_Heidemann} \\
+Command: \verb+\fctv[74-75]{2005_Heidemann}+ \\
+
+\newpage
+
+\bibliography{example_DB}
+
+
+\end{document}
diff --git a/biblio/bibtex/contrib/munich/munich.bst b/biblio/bibtex/contrib/munich/munich.bst
new file mode 100644
index 0000000000..f7aaafdb3a
--- /dev/null
+++ b/biblio/bibtex/contrib/munich/munich.bst
@@ -0,0 +1,1599 @@
+%%
+%% This is file `muc.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `head,exlang,ay,nat,vonx,nm-rev,ed-rev,jnrlst,aunm-sl,nmft,nmft-sc,nmfted,lab,lab-sc,keyxyr,blkyear,dt-beg,yr-par,yrp-col,note-yr,atit-u,jttl-rm,vnum-nr,volp-com,pgsep-p,jwdpg,jwdvol,num-xser,btit-rm,bt-rm,isbn,issn,doi,edpar,bkedcap,blk-com,in-col,german,pp,ed,abr,ord,and-xcom,xand,url,url-nt,em-x,nfss,,{}')
+%% german.mbs (with options: `exlang,ay,nat,vonx,nm-rev,ed-rev,jnrlst,aunm-sl,nmft,nmft-sc,nmfted,lab,lab-sc,keyxyr,blkyear,dt-beg,yr-par,yrp-col,note-yr,atit-u,jttl-rm,vnum-nr,volp-com,pgsep-p,jwdpg,jwdvol,num-xser,btit-rm,bt-rm,isbn,issn,doi,edpar,bkedcap,blk-com,in-col,german,pp,ed,abr,ord,and-xcom,xand,url,url-nt,em-x,nfss,,{}')
+%% merlin.mbs (with options: `tail,exlang,ay,nat,vonx,nm-rev,ed-rev,jnrlst,aunm-sl,nmft,nmft-sc,nmfted,lab,lab-sc,keyxyr,blkyear,dt-beg,yr-par,yrp-col,note-yr,atit-u,jttl-rm,vnum-nr,volp-com,pgsep-p,jwdpg,jwdvol,num-xser,btit-rm,bt-rm,isbn,issn,doi,edpar,bkedcap,blk-com,in-col,german,pp,ed,abr,ord,and-xcom,xand,url,url-nt,em-x,nfss,,{}')
+%% ----------------------------------------
+%% *** Martin Brixner / brixner_m@yahoo.de ***
+%% *** Modifications leading to munich.bst ***
+%% *** Thank you Patrick for your great tool! ***
+%%
+%% Copyright 1994-2004 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2004/02/09 4.13 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in
+ % GERMAN
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is natbib.sty by Patrick W. Daly
+ % The form of the \bibitem entries is
+ % \bibitem[Jones et al.(1990)]{key}...
+ % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
+ % The essential feature is that the label (the part in brackets) consists
+ % of the author names, as they should appear in the citation, with the year
+ % in parentheses following. There must be no space before the opening
+ % parenthesis!
+ % With natbib v5.3, a full list of authors may also follow the year.
+ % In natbib.sty, it is possible to define the type of enclosures that is
+ % really wanted (brackets or parentheses), but in either case, there must
+ % be parentheses in the label.
+ % The \cite command functions as follows:
+ % \citet{key} ==>> Jones et al. (1990)
+ % \citet*{key} ==>> Jones, Baker, and Smith (1990)
+ % \citep{key} ==>> (Jones et al., 1990)
+ % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
+ % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
+ % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
+ % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
+ % \citeauthor{key} ==>> Jones et al.
+ % \citeauthor*{key} ==>> Jones, Baker, and Smith
+ % \citeyear{key} ==>> 1990
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ doi
+ edition
+ editor
+ eid
+ howpublished
+ institution
+ isbn
+ issn
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ url
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ ":" *
+ add.blank
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ skip$ }
+FUNCTION {scaps}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textsc{" swap$ * "}" * }
+ if$
+}
+FUNCTION {bib.name.font}
+{ scaps }
+FUNCTION {bib.fname.font}
+{ bib.name.font }
+FUNCTION {cite.name.font}
+{ scaps }
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ "" swap$ * "" * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ %-------------------------------------------------------------------
+ % Begin module:
+ % \ProvidesFile{german.mbs}[2003/11/06 4.2 (PWD)]
+
+ % The language selected here is GERMAN
+FUNCTION {bbl.and}
+{ "/"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "Hrsg." }
+
+FUNCTION {bbl.editor}
+{ "Hrsg." }
+
+FUNCTION {bbl.edby}
+{ "herausgegeben von" }
+
+FUNCTION {bbl.edition}
+{ "Aufl." }
+
+FUNCTION {bbl.volume}
+{ "Bd." }
+
+FUNCTION {bbl.of}
+{ "von" }
+
+FUNCTION {bbl.number}
+{ "Nr." }
+
+FUNCTION {bbl.nr}
+{ "Nr." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "S." }
+
+FUNCTION {bbl.page}
+{ "S." }
+
+FUNCTION {bbl.chapter}
+{ "Kap." }
+
+FUNCTION {bbl.techrep}
+{ "{Techn.\ Ber.}" }
+
+FUNCTION {bbl.mthesis}
+{ "Diplomarbeit" }
+
+FUNCTION {bbl.phdthesis}
+{ "Dissertation" }
+
+FUNCTION {bbl.first}
+{ "1." }
+
+FUNCTION {bbl.second}
+{ "2." }
+
+FUNCTION {bbl.third}
+{ "3." }
+
+FUNCTION {bbl.fourth}
+{ "4." }
+
+FUNCTION {bbl.fifth}
+{ "5." }
+
+FUNCTION {bbl.th}
+{ "." }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Febr."}
+
+MACRO {mar} {"M\^^b{a}rz"}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"Mai"}
+
+MACRO {jun} {"Juni"}
+
+MACRO {jul} {"Juli"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Okt."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dez."}
+
+ % End module: german.mbs
+%% Copyright 1994-2004 Patrick W Daly
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+STRINGS { bibinfo}
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}{, f.}{, jj}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { "/" * t * }
+ {
+ "/" *
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ bib.name.font
+ }
+ { "" * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ t "others" =
+ 'skip$
+ { bib.name.font }
+ if$
+ } if$
+}
+FUNCTION {format.names.ed}
+{
+ format.names
+}
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author "author" format.names
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ " " *
+ get.bbl.editor
+ capitalize
+ "(" swap$ * ")" *
+ *
+ }
+ if$
+}
+FUNCTION {format.isbn}
+{ isbn "isbn" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ "ISBN " swap$ *
+ }
+ if$
+}
+
+FUNCTION {format.issn}
+{ issn "issn" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ "ISSN " swap$ *
+ }
+ if$
+}
+
+FUNCTION {format.doi}
+{ doi "doi" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ "\doi{" swap$ * "}" *
+ }
+ if$
+}
+FUNCTION {format.note}
+{
+ url empty$
+ 'skip$
+ { "\urlprefix\url{" url * "}" * output }
+ if$
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ "title" bibinfo.check
+}
+FUNCTION {format.full.names}
+{'s :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ cite.name.font
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ t "others" =
+ 'skip$
+ { cite.name.font }
+ if$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[{" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "}]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {if.digit}
+{ duplicate$ "0" =
+ swap$ duplicate$ "1" =
+ swap$ duplicate$ "2" =
+ swap$ duplicate$ "3" =
+ swap$ duplicate$ "4" =
+ swap$ duplicate$ "5" =
+ swap$ duplicate$ "6" =
+ swap$ duplicate$ "7" =
+ swap$ duplicate$ "8" =
+ swap$ "9" = or or or or or or or or or
+}
+FUNCTION {n.separate}
+{ 't :=
+ ""
+ #0 'numnames :=
+ { t empty$ not }
+ { t #-1 #1 substring$ if.digit
+ { numnames #1 + 'numnames := }
+ { #0 'numnames := }
+ if$
+ t #-1 #1 substring$ swap$ *
+ t #-2 global.max$ substring$ 't :=
+ numnames #5 =
+ { duplicate$ #1 #2 substring$ swap$
+ #3 global.max$ substring$
+ "." swap$ * *
+ }
+ 'skip$
+ if$
+ }
+ while$
+}
+FUNCTION {n.dashify}
+{
+ n.separate
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in
+ ":" *
+ " " * }
+
+FUNCTION {format.date}
+{ year "year" bibinfo.check duplicate$ empty$
+ {
+ }
+ 'skip$
+ if$
+ extra.label *
+ before.all 'output.state :=
+ " (" swap$ * ")" *
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ bbl.of space.word * swap$
+ emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { number "number" bibinfo.check }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+FUNCTION {convert.edition}
+{ extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bbl.first 't := }
+ { s "second" = s "2" = or
+ { bbl.second 't := }
+ { s "third" = s "3" = or
+ { bbl.third 't := }
+ { s "fourth" = s "4" = or
+ { bbl.fourth 't := }
+ { s "fifth" = s "5" = or
+ { bbl.fifth 't := }
+ { s #1 #1 substring$ is.num
+ { s bbl.th * 't := }
+ { edition 't := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ t
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ convert.edition
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ bbl.pages swap$
+ n.dashify
+ }
+ {
+ bbl.page swap$
+ }
+ if$
+ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ", " *
+ swap$
+ n.dashify
+ pages multi.page.check
+ 'bbl.pages
+ 'bbl.page
+ if$
+ swap$ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.journal.eid}
+{ eid "eid" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$ 'skip$
+ {
+ ", " *
+ }
+ if$
+ swap$ *
+ }
+ if$
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ "volume" bibinfo.check
+ }
+ if$
+ number "number" bibinfo.check duplicate$ empty$ 'skip$
+ {
+ swap$ duplicate$ empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ swap$
+ "(" swap$ * ")" *
+ }
+ if$ *
+ eid empty$
+ { format.journal.pages }
+ { format.journal.eid }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ {
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ " " *
+ get.bbl.editor
+ capitalize
+ "(" swap$ * "), " *
+ * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ t empty$
+ { address "address" bibinfo.check *
+ }
+ { t *
+ address empty$
+ 'skip$
+ { ", " * address "address" bibinfo.check * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ crossref missing$
+ {
+ journal
+ "journal" bibinfo.check
+ word.in swap$ *
+ "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.issn output
+ format.doi output
+ format.note output
+ fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ format.edition output
+ format.publisher.address output
+ }
+ {
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.isbn output
+ format.doi output
+ format.note output
+ fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ format.isbn output
+ format.doi output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ format.number.series output
+ format.edition output
+ format.publisher.address output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ format.book.crossref output.nonnull
+ }
+ if$
+ crossref missing$
+ { format.isbn output }
+ 'skip$
+ if$
+ format.doi output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ format.edition output
+ format.publisher.address output
+ format.isbn output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.doi output
+ format.note output
+ fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.isbn output
+ format.issn output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.doi output
+ format.note output
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ format.edition output
+ format.doi output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.doi output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title output
+ howpublished "howpublished" bibinfo.check output
+ format.doi output
+ format.note output
+ fin.entry
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle
+ "title" output.check
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.doi output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.isbn output
+ format.issn output
+ format.doi output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title
+ "title" output.check
+ format.tr.number output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.doi output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ format.doi output
+ format.note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+READ
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+INTEGERS { len }
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+FUNCTION {format.lab.names}
+{ 's :=
+ "" 't :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$
+ " " * bbl.etal *
+ cite.name.font
+ "others" 't :=
+ }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ " " * bbl.etal *
+ cite.name.font
+ "others" 't :=
+ }
+ { bbl.and space.word * s #2 "{vv~}{ll}" format.name$
+ * }
+ if$
+ }
+ if$
+ }
+ if$
+ t "others" =
+ 'skip$
+ { cite.name.font }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ll{ }}{ f{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" * }
+ { t sortify * }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+SORT
+STRINGS { last.label next.extra }
+INTEGERS { last.extra.num number.label }
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+EXECUTE {initialize.extra.label.stuff}
+ITERATE {forward.pass}
+REVERSE {reverse.pass}
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+ITERATE {bib.sort.order}
+SORT
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\providecommand{\natexlab}[1]{#1}"
+ write$ newline$
+ "\providecommand{\url}[1]{\texttt{#1}}"
+ write$ newline$
+ "\providecommand{\urlprefix}{URL: }"
+ write$ newline$
+ "\expandafter\ifx\csname urlstyle\endcsname\relax"
+ write$ newline$
+ " \providecommand{\doi}[1]{doi:\discretionary{}{}{}#1}\else"
+ write$ newline$
+ " \providecommand{\doi}{doi:\discretionary{}{}{}\begingroup \urlstyle{rm}\Url}\fi"
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `MBXCEFS.bst'.
diff --git a/biblio/bibtex/contrib/named/named.bst b/biblio/bibtex/contrib/named/named.bst
new file mode 100644
index 0000000000..78b6bb6eb3
--- /dev/null
+++ b/biblio/bibtex/contrib/named/named.bst
@@ -0,0 +1,1287 @@
+%NAME: named.bst
+% BibTeX `named' style file for BibTeX version 0.99c, LaTeX version 2.09
+% Place it in a file called named.bst in the BibTeX search path. (Placing it
+% in the same directory as the LaTeX document should also work.)
+% Support for named citations is provided by named.sty
+
+% This version was made by modifying the master file made by
+% Oren Patashnik (PATASHNIK@SCORE.STANFORD.EDU)
+
+% Copyright (C) 1985, all rights reserved.
+% Modifications Copyright 1988, Peter F. Patel-Schneider
+% Copying of this file is authorized only if either
+% (1) you make absolutely no changes to your copy, including name, or
+% (2) if you do make changes, you name it something other than
+% btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+% This restriction helps ensure that all standard styles are identical.
+
+% There are undoubtably bugs in this style. If you make bug fixes,
+% improvements, etc. please let me know. My e-mail address is:
+% pfps@research.att.com
+
+% Citation format: [author-last-name, year]
+% [author-last-name and author-last-name, year]
+% [author-last-name {\em et al.}, year]
+%
+% Reference list ordering: alphabetical by author or whatever passes
+% for author in the absence of one.
+%
+% This BibTeX style has support for short (year only) citations. This
+% is done by having the citations actually look like
+% \citeauthoryear{author-info}{year}
+% The LaTeX style has to have the following (or similar)
+% \let\@internalcite\cite
+% \def\cite{\def\citeauthoryear##1##2{##1, ##2}\@internalcite}
+% \def\shortcite{\def\citeauthoryear##1{##2}\@internalcite}
+% \def\@biblabel#1{\def\citeauthoryear##1##2{##1, ##2}[#1]\hfill}
+% which makes \shortcite the macro for short citations.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+
+ { title "t" change.case$ }
+
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+
+ key empty$ not and
+
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \shortcite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \shortcite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \shortcite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+
+ numnames #1 =
+ { s #1 "{vv }{ll}" format.name$ }
+ { numnames #2 =
+ { s #1 "{vv }{ll }and " format.name$ s #2 "{vv }{ll}" format.name$ *
+ }
+ { s #1 "{vv }{ll }\bgroup \em et al.\egroup " format.name$ }
+ if$
+ }
+ if$
+
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+
+ { cite$ #1 #3 substring$ }
+
+ { key }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+
+ { cite$ #1 #3 substring$ }
+
+ { key }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+
+ { cite$ #1 #3 substring$ }
+
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+
+ { cite$ #1 #3 substring$ }
+
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+
+ "\protect\citeauthoryear{" swap$ * "}{" *
+ year field.or.null purify$ * % CHANGED - pfps - 15 Feb 1989
+ 'label :=
+ year field.or.null purify$ *
+
+ sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+
+ *
+
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * "}" * 'label := % CHANGED - pfps 15 Feb 1989
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+
+{ et.al.char.used
+ { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+ 'skip$
+ if$
+ preamble$ empty$
+
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+
+ "\begin{thebibliography}{}" write$ newline$
+
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/named/named.sty b/biblio/bibtex/contrib/named/named.sty
new file mode 100644
index 0000000000..ae3e153e3b
--- /dev/null
+++ b/biblio/bibtex/contrib/named/named.sty
@@ -0,0 +1,10 @@
+% /usr/local/lib/tex/bibtex/named.sty, Mon Jun 29 13:16:46 1992
+% Edit by Nelson H. F. Beebe <beebe@plot79.math.utah.edu>
+%
+% This LaTeX option file is for use with bibliographies produced with
+% named.bst.
+%
+\let\@internalcite\cite
+\def\cite{\def\citeauthoryear##1##2{##1, ##2}\@internalcite}
+\def\shortcite{\def\citeauthoryear##1##2{##2}\@internalcite}
+\def\@biblabel#1{\def\citeauthoryear##1##2{##1, ##2}[#1]\hfill}
diff --git a/biblio/bibtex/contrib/newapa/newapa.bst b/biblio/bibtex/contrib/newapa/newapa.bst
new file mode 100644
index 0000000000..2a0d148139
--- /dev/null
+++ b/biblio/bibtex/contrib/newapa/newapa.bst
@@ -0,0 +1,1468 @@
+%$$$ newapa.bst $$$
+% BibTeX `newapa' style file for BibTeX version 0.99c, LaTeX version 2.09
+% Place it in a file called newapa.bst in the BibTeX search path.
+%(Placing it in the same directory as the LaTeX document should also work.)
+% Support for named citations is provided by named.sty
+
+% This version was made by modifying the master file made by
+% Oren Patashnik (PATASHNIK@SCORE.STANFORD.EDU), and the 'named' BibTeX
+% style of Peter F. Patel-Schneider.
+
+% Copyright (C) 1985, all rights reserved.
+% Copying of this file is authorized only if either
+% (1) you make absolutely no changes to your copy, including name, or
+% (2) if you do make changes, you name it something other than 'newapa.bst'.
+% There are undoubtably bugs in this style. If you make bug fixes,
+% improvements, etc. please let me know. My e-mail address is:
+% spencer@cgrg.ohio.state.edu or 71160.3141@compuserve.com
+%
+% This style was made from 'plain.bst', 'named.bst', and 'apalike.bst',
+% with lots of tweaking to make it look like APA style, along with tips
+% from Young Ryu and Brian Reiser's modifications of 'apalike.bst'.
+%
+% Citation format: (author-last-name, year)
+% (author-last-name and author-last-name, year)
+% (author-last-name {\em et al.}, year)
+% (author-last-name)
+% (author-last-name and author-last-name)
+% (author-last-name {\em et al.})
+% (year)
+%
+% Reference list ordering: alphabetical by author or whatever passes
+% for author in the absence of one.
+%
+% This BibTeX style has support for abbreviated author lists and for
+% year-only citations. This is done by having the citations
+% actually look like
+%
+% \citeauthoryear{full-author-info}{abbrev-author-info}{year}
+%
+% The LaTeX style has to have the following (or similar)
+%
+% \let\@internalcite\cite
+% \def\fullcite{\def\citeauthoryear##1##2##3{##1, ##3}\@internalcite}
+% \def\fullciteA{\def\citeauthoryear##1##2##3{##1}\@internalcite}
+% \def\shortcite{\def\citeauthoryear##1##2##3{##2, ##3}\@internalcite}
+% \def\shortciteA{\def\citeauthoryear##1##2##3{##2}\@internalcite}
+% \def\citeyear{\def\citeauthoryear##1##2##3{##3}\@internalcite}
+%
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+% month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t u }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {special.output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { " " * write$ }
+ { output.state after.block =
+ { ": " write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { ": " * write$
+ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output.nonnull.colon}
+{ 's :=
+ output.state mid.sentence =
+ { ": " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output.nonnull.space}
+{ 's :=
+ output.state mid.sentence =
+ { "\ " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {special.output}
+{ duplicate$ empty$
+ 'pop$
+ 'special.output.nonnull
+ if$
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check.colon}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull.colon
+ if$
+}
+
+FUNCTION {output.check.space}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull.space
+ if$
+}
+
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { write$
+ " (" year * extra.label * ")" *
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {underline}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\underline{" swap$ * "}" * }
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {emphasize.space}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "\/}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr := % nameptr = 1;
+ s num.names$ 'numnames := % numnames = num.name$(s);
+ numnames 'namesleft :=
+ { namesleft #0 > }
+
+ { s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't :=
+
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+% { " and " * t * }
+% { ", \& " * t * }
+ { " \& " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr := % nameptr += 1;
+ namesleft #1 - 'namesleft := % namesleft =- 1;
+ }
+ while$
+}
+
+FUNCTION {format.names.fml}
+{ 's :=
+ #1 'nameptr := % nameptr = 1;
+ s num.names$ 'numnames := % numnames = num.name$(s);
+ numnames 'namesleft :=
+ { namesleft #0 > }
+
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+% { " and " * t * }
+ { " \& " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr := % nameptr += 1;
+ namesleft #1 - 'namesleft := % namesleft =- 1;
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.editors.fml}
+{ editor empty$
+ { "" }
+ { editor format.names.fml
+ editor num.names$ #1 >
+ { " (Eds.)" * }
+ { " (Ed.)" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { " (Eds.)" * }
+ { " (Ed.)" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.editors.dot}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { " (Eds.)." * }
+ { " (Ed.)." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+% Note that the APA style requres case changes
+% in article titles. The following does not
+% change cases. If you perfer it, uncomment the
+% following and comment out the above.
+
+%FUNCTION {format.title}
+%{ title empty$
+% { "" }
+% { title }
+% if$
+%}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ edition empty$
+ { title emphasize }
+ { title empty$
+ { title emphasize }
+ { "{\em " title * "\/} (" * edition * " ed.)" * "." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.emphasize.booktitle}
+{ edition empty$
+ { booktitle emphasize }
+ { booktitle empty$
+ { booktitle emphasize }
+ { "{\em " booktitle * "\/} (" * edition * " ed.)" * "." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+% { "pages" pages n.dashify tie.or.space.connect }
+% { "page" pages tie.or.space.connect }
+ { "(pp.\" pages n.dashify tie.or.space.connect }
+ { "(pp.\" pages tie.or.space.connect }
+ if$
+ ")." *
+ }
+ if$
+}
+
+% By Young (and Spencer)
+FUNCTION {format.vol.num.pages}
+{ number empty$
+ { volume empty$
+ 'skip$
+ { "{\em " volume * "}" * }
+% { "\underline{" volume * "}" * }
+ if$
+ }
+ { volume emphasize.space
+ number empty$
+ {"there's a number but no volume in " cite$ * warning$ }
+ { "(" number * ")" * * }
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ", " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages.incoll}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { " " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " format.emphasize.booktitle * }
+ { "In " format.editors * ", " * format.emphasize.booktitle * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle.incoll}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " format.emphasize.booktitle * }
+ { "In " format.editors.fml * ", " * format.emphasize.booktitle * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ "In"
+ "\cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ "In"
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors.dot
+ "author and editor" output.check }
+ { format.authors
+ output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % added
+ new.block
+ format.btitle
+ "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ address output
+ publisher "publisher" output.check.colon
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+% format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ howpublished output
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors.dot
+ "author and editor" output.check
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % added
+ new.block
+ format.btitle
+ "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages
+ "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ address output
+ publisher
+ "publisher" output.check.colon
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+% format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle.incoll
+ "booktitle" output.check.colon
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages special.output
+ new.sentence
+ address output
+ publisher "publisher" output.check.colon
+ }
+ { format.incoll.inproc.crossref
+ output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle
+ "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address output
+ new.sentence
+ organization output
+ publisher output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.btitle
+ "title" output.check
+ organization address new.block.checkb
+% Reversed the order of "address" and "organization", added the ":".
+ address output
+ organization "organization" output.check.colon
+% address output
+% ":" output
+% organization output
+% format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output % added
+ output.year.check % added
+ title howpublished new.block.checkb
+ format.title output
+ new.block
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.btitle
+ "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors.dot output.nonnull }
+ if$
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.btitle
+ "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output
+ new.sentence
+ organization output
+ publisher output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution
+ "institution" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {ai} {"Artificial Intelligence"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+INTEGERS { fullptr numfull fullsleft }
+
+STRINGS { u1 u2 }
+
+FUNCTION {my.full.label}
+{
+% Initialize 'u1','u2','s'.
+ "" 'u1 :=
+ "" 'u2 :=
+ 's :=
+
+% Initialize 'fullptr','numfull','fullsleft'.
+ #1 'fullptr :=
+ s num.names$ 'numfull :=
+ numfull 'fullsleft :=
+
+% enter the while loop which generates the first-citation information.
+% while we have names left,
+% format the next name
+% if this is the next-to-last name, tack the ampersand on the end
+% else if this isn't the last name, tack the comma on the end.
+% concatenate the next name onto the first-citation string.
+% update the counters.
+
+ { fullsleft #0 > }
+ { s fullptr "{vv~}{ll}" format.name$ 'u1 :=
+ fullsleft #2 =
+ { u1 " \& " * 'u1 := }
+ { fullsleft #2 >
+ { u1 ", " * 'u1 := }
+ 'skip$
+ if$
+ }
+ if$
+ u2 u1 * 'u2 :=
+ fullptr #1 + 'fullptr :=
+ fullsleft #1 - 'fullsleft :=
+ }
+ while$
+
+% push 'u2' onto the stack -- our first-citation information.
+ u2
+}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "et~al. " * }
+% { " and " * s #2 "{vv~}{ll}" format.name$ * }
+ { " \& " * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ duplicate$
+
+ author my.full.label % generate the first-citation information.
+
+ "\protect\citeauthoryear{" swap$ * "}{" * swap$ * "}{" *
+ year field.or.null purify$ #-1 #4 substring$ *
+ 'label :=
+ year field.or.null purify$ #-1 #4 substring$ *
+ sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$ % added for newapa
+ 'sort.label := % added for newapa
+ sort.label % added for newapa
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT % by label, sort.label, title --- for final label calculation
+
+STRINGS { last.label next.extra }
+
+INTEGERS { last.extra.num }
+
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * "}" * 'label :=
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT % by sort.label, year, title --- giving final bib. order.
+
+FUNCTION {begin.bib}
+
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$
+}
+
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+
+
diff --git a/biblio/bibtex/contrib/newapa/newapa.sty b/biblio/bibtex/contrib/newapa/newapa.sty
new file mode 100644
index 0000000000..b00953e932
--- /dev/null
+++ b/biblio/bibtex/contrib/newapa/newapa.sty
@@ -0,0 +1,265 @@
+%$$$ newapa.sty $$$ --- June 13, 1991 (Version 2.0)
+% - Version No. has not been kept, but let's say uh uh ... Version 2.0.
+%
+% This file implements citations for the ``newapa'' bibliography style.
+%
+% Stephen N. Spencer
+% modified the ``apalike'' LaTeX style
+% Young U. Ryu
+% further modified
+%
+% SEE THE FOLLOWING COMMENTS. THEY CONSISTS OF 4 SECTIONS
+% 1 - newapa.bst and \bibitem entry
+% 2 - citation formats
+% 3 - changing citation functions (if you want)
+% 4 - enforcing APA style section heading (if you want)
+%
+%%%%%
+% [1] newapa.bst and \bibitem entry
+%
+% The ``newapa.bst'' BibTeX bibliography style creates citations with labels:
+% \citeauthoryear{author-info}{abbrev. author-info}{year}
+%
+%%%%%
+% [2] Citation Formats
+%
+% The citations are enclosed within parentheses. ``(,)''
+% as default. But one may change them.
+% Short author lists use the ``et al.'' construct.
+% These labels are processed by the following LaTeX commands:
+%
+% \cite[optional notes]{Key(s)}
+% -> (Authors1, Year1; Authors2, Year2; ..., optional notes)
+% \citeA[optional notes]{key}
+% -> Authors (Year, optional notes)
+% Note: ONE AND ONLY ONE KEY.
+% \citeA[pp.~3--5]{Apt88,Lloyd87} does not make sense at all.
+% In this case, the outcome will look aweful.
+% \citeB{keys}
+% -> Authors1 (Year1), Authors2 (Year2), ...
+% Note: \citeB[Notes]{keys} are given, notes will be ingored,
+% because it does not make sense at all.
+% \citeauthor[optional notes]{key}
+% -> Authors1, Authors2, ..., optional notes
+%
+% The difference between `\shortciteXXX' and `\citeXXX':
+% is that `\shortciteXXX' gives `First author et al.'
+% if no. authors >= 3.
+%
+% \shortcite[optional notes]{Key(s)}
+% -> (Short Authors1, Year1; Short Authors2, Year2; ..., optional notes)
+% \shortciteA[optional notes]{key}
+% -> Short Authors (Year, optional notes)
+% Note: ONE AND ONLY ONE KEY.
+% \shortciteA[pp.~3--5]{Apt88,Lloyd87} does not make sense at all.
+% In this case, the outcome will look aweful.
+% \shortciteB{keys}
+% -> Authors1 (Year1), Authors2 (Year2), ...
+% Note: \citeB[Notes]{keys} are given, notes will be ingored,
+% because it does not make sense at all.
+% \shortciteauthor[optional notes]{key}
+% -> Short Authors1, Short Authors2, ..., optional notes
+%
+% \citeyear[optional notes]{key}
+% -> (Year, optional notes)
+%
+%%%%%
+% [3] Changing Citation Punctuations
+%
+% However, you may change citation punctuations.
+% \citepunct{open paren}%
+% {between authors}%
+% {between author year}%
+% {between citations}%
+% {before notes}%
+% {closing paren}
+%
+% For example,
+% \citepunct{[}{and}{ }{, }{: }{]}
+% - use square brackets
+% `and' between authors
+% space between author and year
+% comma between citations
+% comma before notes
+% e.g. [Apt and van Emden 1986, Lloyd 1985: Notes]
+%
+% The default is:
+% \citepunct{(}{\&}{, }{; }{, }{)}
+%
+% Notice spaces around punctuations in \citepunct!!!
+%
+%%%%%
+% [4] Enforcing APA Style Section Heading
+%
+% \newapasectioning redefines section headings as described
+% by the APA Publication Manual
+% \section - level 1 (toc entry, paageheading)
+% \subsection - level 2 (toc entry)
+% \subsection - level 3 (toc entry)
+% \paragraph - level 4
+% \subparagraph - level 3
+%
+% if place * after \section, \subsection, \subsubsection
+% section headings are not listed in the table of contents
+%
+\def\citestarts{(}
+\def\betweenauthors{\&}
+\def\betweenauthoryear{, }
+\def\betweencites{; }
+\def\beforenote{, }
+\def\citeends{)}
+%
+\def\citepunct#1#2#3#4#5#6{%
+ \def\citestarts{#1}
+ \def\betweenauthors{#2}
+ \def\betweenauthoryear{#3}
+ \def\betweencites{#4}
+ \def\beforenote{#5}
+ \def\citeends{#6} }
+%
+\let\@internalcite\cite
+%
+%
+\def\cite{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{%
+ \citestarts##1\if@tempswa \beforenote##2\fi\citeends}%
+ \def\citeauthoryear##1##2##3{##1\betweenauthoryear##3}\@internalcite}
+\def\citeA{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{%
+ ##1\if@tempswa \beforenote##2\fi\citeends}%
+ \def\citeauthoryear##1##2##3{##1 \citestarts##3}\@citedata}
+\def\citeB{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{##1}%
+ \def\citeauthoryear##1##2##3{##1 \citestarts##3\citeends}\@citedata}
+\def\citeauthor{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{%
+ ##1\if@tempswa \beforenote##2\fi}%
+ \def\citeauthoryear##1##2##3{##1}\@citedata}
+%
+%
+\def\shortcite{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{%
+ \citestarts##1\if@tempswa \beforenote##2\fi\citeends}%
+ \def\citeauthoryear##1##2##3{##2\betweenauthoryear##3}\@internalcite}
+\def\shortciteA{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{%
+ ##1\if@tempswa \beforenote##2\fi\citeends}%
+ \def\citeauthoryear##1##2##3{##2 \citestarts##3}\@citedata}
+\def\shortciteB{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{##1}%
+ \def\citeauthoryear##1##2##3{##2 \citestarts##3\citeends}\@citedata}
+\def\shortciteauthor{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{%
+ ##1\if@tempswa \beforenote##2\fi}%
+ \def\citeauthoryear##1##2##3{##2}\@citedata}
+%
+\def\citeyear{\def\@citeseppen{-1000}%
+ \def\@cite##1##2{%
+ \citestarts##1\if@tempswa \beforenote##2\fi\citeends}%
+ \def\citeauthoryear##1##2##3{##3}\@citedata}
+%
+\def\@citedata{\@ifnextchar[{\@tempswatrue\@citedatax}{\@tempswafalse\@citedatax[]}}
+%
+\def\@citedatax[#1]#2{%
+\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
+ \def\@citea{}\@cite{\@for\@citeb:=#2\do
+ {\@citea\def\@citea{\betweencites}\@ifundefined
+ {b@\@citeb}{{\bf ?}\@warning
+ {Citation `\@citeb' on page \thepage \space undefined}}
+{\csname b@\@citeb\endcsname}}}{#1}}
+%
+\def\@citex[#1]#2{%
+\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
+ \def\@citea{}\@cite{\@for\@citeb:=#2\do
+ {\@citea\def\@citea{\betweencites}\@ifundefined
+ {b@\@citeb}{{\bf ?}\@warning
+ {Citation `\@citeb' on page \thepage \space undefined}}%
+{\csname b@\@citeb\endcsname}}}{#1}}
+%
+% (from apalike.sty)
+% No labels in the bibliography.
+% Set length of hanging indentation for bibliography entries.
+\def\@biblabel#1{}
+\newlength{\bibhang}
+\setlength{\bibhang}{2em}
+%
+\def\thebibliography#1{\section*{References}
+ \addcontentsline{toc}{section}{References}
+ \list
+ {\relax}{\setlength{\labelsep}{0em}
+ \setlength{\itemindent}{-\bibhang}
+ \setlength{\leftmargin}{\bibhang}}
+ \def\newblock{\hskip .11em plus .33em minus .07em}
+ \sloppy\clubpenalty4000\widowpenalty4000
+ \sfcode`\.=1000\relax}
+%
+%
+%
+%%% Sectioning
+
+\def\newapasectioning{
+ \newlength{\sectionheadwidth}
+ \setlength{\sectionheadwidth}{\textwidth}
+ \addtolength{\sectionheadwidth}{-8em}
+ \let\@internalsection\section
+ \let\@internalsubsection\subsection
+ \let\@internalsubsubsection\subsubsection
+ \let\@internalparagraph\paragraph
+ \let\@internalsubparagraph\subparagraph
+ % Level 1
+ \def\section{\@ifnextchar *{\a@sections}{\a@section}}
+ \def\a@sections##1##2{%
+ \@internalsection*{%
+ \centering\parbox{%
+ \sectionheadwidth}{%
+ \centering\normalsize\bf\uppercase{##2}}\@mkboth{##2}{##2}}}
+ \def\a@section##1{%
+ \addcontentsline{toc}{section}{##1}
+ \@internalsection*{%
+ \centering\parbox{%
+ \sectionheadwidth}{%
+ \centering\normalsize\bf\uppercase{##1}}\@mkboth{##1}{##1}}}
+ % Level 2
+ \def\subsection{\@ifnextchar *{\a@subsections}{\a@subsection}}
+ \def\a@subsections##1##2{%
+ \@internalsubsection*{%
+ \centering\parbox{\sectionheadwidth}{\centering\normalsize\bf##2}}}
+ \def\a@subsection##1{%
+ \addcontentsline{toc}{subsection}{##1}
+ \@internalsubsection*{%
+ \centering\parbox{\sectionheadwidth}{\centering\normalsize\bf##1}}}
+ % Level 3
+ \def\subsubsection{\@ifnextchar *{\a@subsubsections}{\a@subsubsection}}
+ \def\a@subsubsections##1##2{%
+ \@internalsubsubsection*{%
+ \centering\parbox{%
+ \sectionheadwidth}{\centering\normalsize\underbar{##2}}}}
+ \def\a@subsubsection##1{%
+ \addcontentsline{toc}{subsubsection}{##1}
+ \@internalsubsubsection*{%
+ \centering\parbox{%
+ \sectionheadwidth}{\centering\normalsize\underbar{##1}}}}
+ % Level 4
+ \def\a@paragraph##1{%
+ \@internalsubsubsection*{\normalsize\underbar{##1}}}
+ % Level 5
+ \def\a@subparagraph##1{%
+ \@internalsubparagraph*{\normalsize\underbar{##1}.}}
+ % table of contents
+ \def\tableofcontents{%
+ \section*{Contents}\@starttoc{toc}}
+ % list of figures
+ \def\listoffigures{%
+ \section*{List of Figures}\@starttoc{lof}}
+ % list of tables
+ \def\listoftables{%
+ \section*{List of Tables}\@starttoc{lot}}
+ % Change : to . in Figure/Table Caption
+ \long\def\@makecaption##1##2{
+ \vskip 10pt
+ \setbox\@tempboxa\hbox{##1. ##2}
+ \ifdim \wd\@tempboxa >\hsize ##1. ##2\par \else \hbox
+ to\hsize{\hfil\box\@tempboxa\hfil}
+ \fi}
+}
+
diff --git a/biblio/bibtex/contrib/norbib/norabbrv.bst b/biblio/bibtex/contrib/norbib/norabbrv.bst
new file mode 100644
index 0000000000..ab353527bc
--- /dev/null
+++ b/biblio/bibtex/contrib/norbib/norabbrv.bst
@@ -0,0 +1,1096 @@
+% BibTeX standard bibliography style `abbrv'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+% "Translated" into Norwegian by dag@ifi.uio.no, July 1997.
+% Now called `nabbrv'.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f.~}{v }{ll}{~jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { t "others" =
+ { " et~al." * }
+ { " og " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", redakt\o{}rer" * }
+ { ", redakt\o{}r" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "bind" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " av " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "nr" }
+ { "Nr" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " i " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " utgave" * }
+ { edition "t" change.case$ " utgave" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "side" pages n.dashify tie.or.space.connect }
+ { "side" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "kapittel" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "I " booktitle emphasize * }
+ { "I " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Rapport" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "I {\em " journal * "\/}" * }
+ if$
+ }
+ { "I " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv }{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff~}{vv }{ll}{~jj}" format.name$ "others" =
+ { " et~al." * }
+ { " og " * editor #2 "{vv }{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Bind" volume tie.or.space.connect
+ " av " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "I {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "I " key * }
+ if$
+ }
+ { "I " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Hovedfagsoppgave" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "Doktorgradsoppgave" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"jan"}
+
+MACRO {feb} {"feb"}
+
+MACRO {mar} {"mar"}
+
+MACRO {apr} {"apr"}
+
+MACRO {may} {"mai"}
+
+MACRO {jun} {"jun"}
+
+MACRO {jul} {"jul"}
+
+MACRO {aug} {"aug"}
+
+MACRO {sep} {"sep"}
+
+MACRO {oct} {"okt"}
+
+MACRO {nov} {"nov"}
+
+MACRO {dec} {"des"}
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Programming"}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Gr."}
+
+MACRO {toms} {"ACM Trans. Math. Softw."}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{ll{ }}{ f{ }}{ vv{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { organization sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/norbib/noralpha.bst b/biblio/bibtex/contrib/norbib/noralpha.bst
new file mode 100644
index 0000000000..5b3528185d
--- /dev/null
+++ b/biblio/bibtex/contrib/norbib/noralpha.bst
@@ -0,0 +1,1250 @@
+% BibTeX standard bibliography style `alpha'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+% "Translated" into Norwegian by dag@ifi.uio.no, January 1997.
+% Now called `nalpha'.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv }{ll}{~jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { t "others" =
+ { " et~al." * }
+ { " og " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", redakt\o{}rer" * }
+ { ", redakt\o{}r" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "bind" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " av " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "nr" }
+ { "Nr" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " i " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " utgave" * }
+ { edition "t" change.case$ " utgave" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "side" pages n.dashify tie.or.space.connect }
+ { "side" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "kapittel" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "I " booktitle emphasize * }
+ { "I " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Rapport" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "I {\em " journal * "\/}" * }
+ if$
+ }
+ { "I " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv }{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff~}{vv }{ll}{~jj}" format.name$ "others" =
+ { " et~al." * }
+ { " og " * editor #2 "{vv }{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "I "
+ }
+ { "Bind" volume tie.or.space.connect
+ " av " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "I {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "I " key * }
+ if$
+ }
+ { "I " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Hovedfagsoppgave" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "Doktorgradsoppgave" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"januar"}
+
+MACRO {feb} {"februar"}
+
+MACRO {mar} {"mars"}
+
+MACRO {apr} {"april"}
+
+MACRO {may} {"mai"}
+
+MACRO {jun} {"juni"}
+
+MACRO {jul} {"juli"}
+
+MACRO {aug} {"august"}
+
+MACRO {sep} {"september"}
+
+MACRO {oct} {"oktober"}
+
+MACRO {nov} {"november"}
+
+MACRO {dec} {"desember"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { organization #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ year field.or.null purify$ #-1 #2 substring$
+ *
+ 'label :=
+ year field.or.null purify$ #-1 #4 substring$
+ *
+ sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{ll{ }}{ ff{ }}{ vv{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{ et.al.char.used
+ { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+ 'skip$
+ if$
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/norbib/norplain.bst b/biblio/bibtex/contrib/norbib/norplain.bst
new file mode 100644
index 0000000000..9d96a164c3
--- /dev/null
+++ b/biblio/bibtex/contrib/norbib/norplain.bst
@@ -0,0 +1,1096 @@
+% BibTeX standard bibliography style `plain'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+% "Translated" into Norwegian by dag@ifi.uio.no, July 1997.
+% Now called `nplain'.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " i " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv }{ll}{~jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { t "others" =
+ { " et~al." * }
+ { " og " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", redakt\o{}rer" * }
+ { ", redakt\o{}r" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "bind" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " av " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "nr" }
+ { "Nr" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " i " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " utgave" * }
+ { edition "t" change.case$ " utgave" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "side" pages n.dashify tie.or.space.connect }
+ { "side" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "kapittel" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "I " booktitle emphasize * }
+ { "I " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Rapport" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "I {\em " journal * "\/}" * }
+ if$
+ }
+ { "I " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv }{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff~}{vv }{ll}{~jj}" format.name$ "others" =
+ { " et~al." * }
+ { " og " * editor #2 "{vv }{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "I "
+ }
+ { "Bind" volume tie.or.space.connect
+ " av " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "I {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "I " key * }
+ if$
+ }
+ { "I " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Hovedfagsoppgave" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "Doktorgradsoppgave" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"januar"}
+
+MACRO {feb} {"februar"}
+
+MACRO {mar} {"mars"}
+
+MACRO {apr} {"april"}
+
+MACRO {may} {"mai"}
+
+MACRO {jun} {"juni"}
+
+MACRO {jul} {"juli"}
+
+MACRO {aug} {"august"}
+
+MACRO {sep} {"september"}
+
+MACRO {oct} {"oktober"}
+
+MACRO {nov} {"november"}
+
+MACRO {dec} {"desember"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{ll{ }}{ ff{ }}{ vv{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/norbib/norunsrt.bst b/biblio/bibtex/contrib/norbib/norunsrt.bst
new file mode 100644
index 0000000000..844401b2c3
--- /dev/null
+++ b/biblio/bibtex/contrib/norbib/norunsrt.bst
@@ -0,0 +1,950 @@
+% BibTeX standard bibliography style `unsrt'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+% "Translated" into Norwegian by dag@ifi.uio.no, July 1997.
+% Now called `nunsrt'.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv }{ll}{~jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { t "others" =
+ { " et~al." * }
+ { " og " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", redakt\o{}rer" * }
+ { ", redakt\o{}r" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "bind" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " av " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "nr" }
+ { "Nr" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " i " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " utgave" * }
+ { edition "t" change.case$ " utgave" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "side" pages n.dashify tie.or.space.connect }
+ { "side" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "kapittel" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "I " booktitle emphasize * }
+ { "I " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Rapport" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "I {\em " journal * "\/}" * }
+ if$
+ }
+ { "I " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv }{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff~}{vv }{ll}{~jj}" format.name$ "others" =
+ { " et~al." * }
+ { " og " * editor #2 "{vv }{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "I "
+ }
+ { "Bind" volume tie.or.space.connect
+ " av " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "I {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "I " key * }
+ if$
+ }
+ { "I " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Hovedfagsoppgave" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "Doktorgradsoppgave" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"januar"}
+
+MACRO {feb} {"februar"}
+
+MACRO {mar} {"mars"}
+
+MACRO {apr} {"april"}
+
+MACRO {may} {"mai"}
+
+MACRO {jun} {"juni"}
+
+MACRO {jul} {"juli"}
+
+MACRO {aug} {"august"}
+
+MACRO {sep} {"september"}
+
+MACRO {oct} {"oktober"}
+
+MACRO {nov} {"november"}
+
+MACRO {dec} {"desember"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/other/README b/biblio/bibtex/contrib/other/README
new file mode 100644
index 0000000000..c5b871c15d
--- /dev/null
+++ b/biblio/bibtex/contrib/other/README
@@ -0,0 +1,7 @@
+The files in this directory were left after a concerted effort to move
+.bst (and similar) files from biblio/bibtex/contrib to directories "of
+their own" or to biblio/bibtex/contrib/misc
+
+These files seem all to be minor variations of similarly-named files
+in other areas of the biblio/bibtex/contrib tree
+
diff --git a/biblio/bibtex/contrib/other/phjcp.bst b/biblio/bibtex/contrib/other/phjcp.bst
new file mode 100644
index 0000000000..f3f804a6c7
--- /dev/null
+++ b/biblio/bibtex/contrib/other/phjcp.bst
@@ -0,0 +1,1888 @@
+% BibTeX styles for various physics journals (27-Feb-1990).
+% This file, physics.btx, is based on the file btxbst.doc.
+ % Please notify Charles Karney (Karney@Princeton.EDU)
+ % of any bugs, improvements, etc.
+% Run this file through cpp to get specific versions. I have written
+% a version of cpp within Emacs. To access it put
+% (autoload 'cpp "tex$bibtex:cpp" ; Use cpp for BibTeX styles
+% "C preprocessor"
+% t)
+% into your .emacs file. Read in this file with
+% emacs tex$bibtex:physics.btx
+% and run cpp with e.g.,
+% M-x cpp <ret> aip <ret>
+% Save the resulting file to tex$latex:aip.bst.
+% To accomodate the variations we need (in addition to the definitions below)
+% ATIT_SUPPRESS: do not include the titles of journal articles
+% NAME_INVERT: put the initials last
+% NAME_UPPER: convert names to all caps.
+% MONTH_SUPPRESS: do not include months in journal articles
+% PAREN_DATE: dates go in parens in journal articles
+% DATE_FIRST: dates go before page numbers
+% VOLUME_SPACE: volume set off with space (not colon)
+% NUM_SUPPRESS: do not include numbers in journal articles
+% BOLD_VOL: volume numbers in bold face in journal articles
+% BRACKET_NOTE: notes in brackets
+% PAGE_START_J: include only starting page for journal articles
+% PAGE_START_O: include only starting page for other entries
+% PAGE_ABBREV: abbreviate page to p. and pages to pp.
+% PHYSICS_JOUR: include abbreviations for Physics journals
+% COMMA_DELIMIT: use comma (instead of period) to divide a citation
+% NOTE_SUPPRESS: suppress the note
+% MAX_NAMES: max number of authors before using et al (0 = infinity)
+% MIN_NAMES: number of authors to list with et al.
+% EDIT_VAR: use "edited by ..." instead of "..., editors"
+% RMP_LABELS: create RMP-style labels
+% KEY_CITE: use key as label
+% NAMED_REFS: use (Smith, 1988) style of citations
+% CSC_NAMES: names set in caps and small caps
+% JOUR_DEEMPH: don't emphasize journal name
+% ETAL_EMPH: emphasize et al.
+% ALT_INCOLL alternate ordering of fields in incollections
+% These are all boolean (0 or 1) except for MAX_NAMES and MIN_NAMES.
+% These need to satisfy 0 <= MIN_NAMES <= MAX_NAMES.
+% The rule here is that if all these are defined to be zero, we revert to
+% the standard styles. For that reason we initialize them all to 0.
+% These are the original macros
+ % For Journal of Computational Physics
+ % Cris Barnes and Dave Mikkelson, 9/25/89
+% This is the start of btxbst.doc
+% BibTeX `plain' family
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+% Please notify Oren Patashnik (PATASHNIK@SCORE.STANFORD.EDU) of any bugs in
+% these standard styles or in this documentation file.
+%
+% This is file btxbxt.doc; it helps document bibliography styles,
+% and is also a template file that you can use to make
+% several different style files, if you have access to a C preprocessor.
+% For example, the standard styles were made by doing something like
+% cpp -P -DPLAIN btxbst.doc plain.txt
+% cpp -P -DUNSRT btxbst.doc unsrt.txt
+% cpp -P -DALPHA btxbst.doc alpha.txt
+% cpp -P -DABBRV btxbst.doc abbrv.txt
+% and then renaming after removing unwanted comments and blank lines.
+% If you don't have access,
+% you can edit this file by hand to imitate the preprocessor,
+% with the following explanation of the C preprocessor constructs used here.
+%
+% The output of the preprocessor is the same as the input, except that certain
+% lines will be excluded (and some blank lines will be added). The sequence
+% #if VAR
+% lines to be included when VAR is not zero
+% #else
+% lines to be included when VAR is zero
+% #endif
+% (with the #-signs appearing in column 1) means that one set or the other of
+% the lines are to be included depending on the value of VAR.
+% The #else part is optional. Comments can be added after #else and #endif.
+% Variables can be set by
+% #define VAR value
+% and one can also use #ifdef VAR to see if VAR has any value, and #ifndef
+% to see if it has none.
+% Another #if form used in this file is #if !VAR, which includes the lines
+% after the #if only if VAR is zero.
+%
+% Convention: Use all uppercase identifiers for these preprocessor variables
+% so you can spot them easily
+%
+% The command line to the preprocessor should define one of PLAIN, UNSRT, ALPHA
+% or ABBRV (though PLAIN will be used by default if none is given),
+% and the following lines will set various boolean variables to control the
+% various lines that are chosen from the rest of the file.
+% Each boolean variable should be set true (1) or false (0) in each style.
+% Here are the current variables, and their meanings:
+% 0: an alphabetic label is used (if false then a numeric
+% label is used)
+% 0: the entries should be sorted by label (if nonnumeric)
+% and other info, like authors (if false, then
+% entries remain in order of occurrence)
+% 0: the authors, editors, etc., get the full names as
+% given in the bibliography file (if false, the first
+% names become initials)
+% 0: titles of non-"books" (e.g., articles) should be
+% converted to lower-case, except the first letter or
+% first letter after a colon
+% (if false then they appear as in the database)
+% 0: months are spelled out in full (if false, then
+% they're abbreviated)
+% 0: macro journal names are spelled out in full
+% (if false then they are abbreviated, currently
+% as they appear in ACM publications)
+%# define PLAIN 1
+%
+% Entry formatting: Similar to that recommended by Mary-Claire van Leunen
+% in "A Handbook for Scholars". Book-like titles are italicized
+% (emphasized) and non-book titles are converted to sentence
+% capitilization (and not enclosed in quotes).
+% This file outputs a \newblock between major blocks of an entry
+% (the name \newblock is analogous to the names \newline and \newpage)
+% so that the user can obtain an "open" format, which has a line break
+% before each block and lines after the first are indented within blocks,
+% by giving the optional \documentstyle argument `openbib';
+% The default is the "closed" format---blocks runs together.
+%
+% Citation alphabetic label format:
+% [Knu73] for single author (or editor or key)
+% [AHU83] (first letters of last names) for multiple authors
+%
+% Citation label numberic format:
+% [number]
+%
+% Reference list ordering for sorted, alphabetic lables:
+% alphabetical by citation label, then by author(s) or whatever
+% passes for author in the absence of one, then by year,
+% then title
+%
+% Reference list ordering for sorted, numeric lables:
+% alphabetical by author(s) or whatever passes
+% for author in the absence of one, then by year, then title
+%
+% Reference list ordering for unsorted:
+% by the order cited in the text
+%
+% History
+% 12/16/84 (HWT) Original `plain' version, by Howard Trickey.
+% 12/23/84 (LL) Some comments made by Leslie Lamport.
+% 2/16/85 (OP) Changes based on LL's comments, Oren Patashnik.
+% 2/17/85 (HWT) Template file and other standard styles made.
+% 3/28/85 (OP) First release, version 0.98b for BibTeX 0.98f.
+% 5/ 9/85 (OP) Version 0.98c for BibTeX 0.98i:
+% fixed Theoretical Computer Science macro name;
+% fixed the format.vol.num.pages function.
+% 1/24/88 (OP) Version 0.99a for BibTeX 0.99a, main changes:
+% assignment operator (:=) arguments reversed;
+% the preamble$ function outputs the database PREAMBLE;
+% entry.max$ and global.max$ (built-in) variables replace
+% entry.string.max and global.string.max functions;
+% alphabetizing by year then title, not just title;
+% many unnecessary ties removed; \it ==> \em;
+% the `alpha' style uses a superscripted `+' instead of a
+% `*' for unnamed names in constructing the label;
+% the `abbrv' style now uses "Mar." and "Sept.";
+% the functions calc.label and presort now look at just
+% the fields they're supposed to;
+% BOOKLET, MASTERSTHESIS, TECHREPORT use nonbook titles;
+% INBOOK and INCOLLECTION take an optional type (e.g.
+% type = "Section"), overriding the default "chapter";
+% BOOK, INBOOK, INCOLLECTION, and PROCEEDINGS now allow
+% either volume or number, not just volume;
+% INCOLLECTION now allows an edition and series field;
+% PROCEEDINGS and INPROCEEDINGS now use the address field
+% to tell where a conference was held;
+% INPROCEEDINGS and PROCEEDINGS now allow either volume
+% or number, and also a series field;
+% MASTERSTHESIS and PHDTHESIS accept types other than
+% "Master's thesis" and "PhD thesis";
+% UNPUBLISHED now outputs, in one block, note then date;
+% MANUAL now prints out the organization in
+% the first block if the author field is empty;
+% MISC can't be empty---it requires some optional field.
+% 3/23/88 (OP) Version 0.99b for BibTeX 0.99c---changed the three
+% erroneous occurrences of `cite ' to `cite$ '; this
+% change didn't affect the four standard styles, so the
+% 0.99a versions of those styles are still current.
+%
+% The ENTRY declaration
+% Like Scribe's (according to pages 231-2 of the April '84 edition),
+% but no fullauthor or editors fields because BibTeX does name handling.
+% The annote field is commented out here because this family doesn't
+% include an annotated bibliography style. And in addition to the fields
+% listed here, BibTeX has a built-in crossref field, explained later.
+ENTRY
+% Fields:
+ { address
+% Usually the address of a publisher or other type of organization.
+% Put information in this field only if it helps the reader find the
+% thing---for example you should omit the address of a major
+% publisher entirely. For a PROCEEDINGS or an INPROCEEDINGS,
+% however, it's the address of the conference; for those two entry
+% types, include the publisher's or organization's address, if
+% necessary, in the publisher or organization field.
+% annote
+% Long annotation---for annotated bibliographies (begins sentence).
+ author
+% Name(s) of author(s), in BibTeX name format.
+ booktitle
+% Book title when the thing being referenced isn't the whole book.
+% For book entries, the title field should be used instead.
+ chapter
+% Chapter (or section or whatever) number.
+ edition
+% Edition of a book---should be an ordinal (e.g., "Second").
+ editor
+% Name(s) of editor(s), in BibTeX name format.
+% If there is also an author field, then the editor field should be
+% for the book or collection that the work appears in.
+ howpublished
+% How something strange has been published (begins sentence).
+ institution
+% Sponsoring institution of a technical report.
+ journal
+% Journal name (macros are provided for many).
+ key
+% Alphabetizing, labeling, and cross-referencing key
+% (needed when an entry has no author or editor).
+ month
+% Month (macros are provided).
+ note
+% To help the reader find a reference (begins sentence).
+ number
+% Number of a journal or technical report, or of a work in a series.
+ organization
+% Organization sponsoring a conference (or publishing a manual); if
+% the editor (or author) is empty, and if the organization produces
+% an awkward label or cross reference, you should put appropriately
+% condensed organization information in the key field as well.
+ pages
+% Page number or numbers (use `--' to separate a range, use `+'
+% to indicate pages following that don't form a simple range).
+ publisher
+% Publisher name.
+ school
+% School name (for theses).
+ series
+% The name of a series or set of books.
+% An individual book will will also have it's own title.
+ title
+% The title of the thing you're referred to.
+ type
+% Type of a Techreport (e.g., "Research Note") to be used instead of
+% the default "Technical Report"; or, similarly, the type of a
+% thesis; or of a part of a book.
+ volume
+% The volume number of a journal or multivolume work.
+ year
+% The year should contain only numerals (technically, it should end
+% with four numerals, after purification; doesn't a begin sentence).
+ }
+% There are no integer entry variables
+ {}
+% These string entry variables are used to form the citation label.
+% In a storage pinch, sort.label can be easily computed on the fly.
+ { label }
+% Each entry function starts by calling output.bibitem, to write the
+% \bibitem and its arguments to the .BBL file. Then the various fields
+% are formatted and printed by output or output.check. Those functions
+% handle the writing of separators (commas, periods, \newblock's),
+% taking care not to do so when they are passed a null string.
+% Finally, fin.entry is called to add the final period and finish the
+% entry.
+%
+% A bibliographic reference is formatted into a number of `blocks':
+% in the open format, a block begins on a new line and subsequent
+% lines of the block are indented. A block may contain more than
+% one sentence (well, not a grammatical sentence, but something to
+% be ended with a sentence ending period). The entry functions should
+% call new.block whenever a block other than the first is about to be
+% started. They should call new.sentence whenever a new sentence is
+% to be started. The output functions will ensure that if two
+% new.sentence's occur without any non-null string being output between
+% them then there won't be two periods output. Similarly for two
+% successive new.block's.
+%
+% The output routines don't write their argument immediately.
+% Instead, by convention, that argument is saved on the stack to be
+% output next time (when we'll know what separator needs to come
+% after it). Meanwhile, the output routine has to pop the pending
+% output off the stack, append any needed separator, and write it.
+%
+% To tell which separator is needed, we maintain an output.state.
+% It will be one of these values:
+% before.all just after the \bibitem
+% mid.sentence in the middle of a sentence: comma needed
+% if more sentence is output
+% after.sentence just after a sentence: period needed
+% after.block just after a block (and sentence):
+% period and \newblock needed.
+% Note: These styles don't use after.sentence
+%
+% VAR: output.state : INTEGER -- state variable for output
+%
+% The output.nonnull function saves its argument (assumed to be nonnull)
+% on the stack, and writes the old saved value followed by any needed
+% separator. The ordering of the tests is decreasing frequency of
+% occurrence.
+%
+% output.nonnull(s) ==
+% BEGIN
+% s := argument on stack
+% if output.state = mid.sentence then
+% write$(pop() * ", ")
+% -- "pop" isn't a function: just use stack top
+% else
+% if output.state = after.block then
+% write$(add.period$(pop()))
+% newline$
+% write$("\newblock ")
+% else
+% if output.state = before.all then
+% write$(pop())
+% else -- output.state should be after.sentence
+% write$(add.period$(pop()) * " ")
+% fi
+% fi
+% output.state := mid.sentence
+% fi
+% push s on stack
+% END
+%
+% The output function calls output.nonnull if its argument is non-empty;
+% its argument may be a missing field (thus, not necessarily a string)
+%
+% output(s) ==
+% BEGIN
+% if not empty$(s) then output.nonnull(s)
+% fi
+% END
+%
+% The output.check function is the same as the output function except that, if
+% necessary, output.check warns the user that the t field shouldn't be empty
+% (this is because it probably won't be a good reference without the field;
+% the entry functions try to make the formatting look reasonable even when
+% such fields are empty).
+%
+% output.check(s,t) ==
+% BEGIN
+% if empty$(s) then
+% warning$("empty " * t * " in " * cite$)
+% else output.nonnull(s)
+% fi
+% END
+%
+% The output.bibitem function writes the \bibitem for the current entry
+% (the label should already have been set up), and sets up the separator
+% state for the output functions. And, it leaves a string on the stack
+% as per the output convention.
+%
+% output.bibitem ==
+% BEGIN
+% newline$
+% write$("\bibitem[") % for alphabetic labels,
+% write$(label) % these three lines
+% write$("]{") % are used
+% write$("\bibitem{") % this line for numeric labels
+% write$(cite$)
+% write$("}")
+% push "" on stack
+% output.state := before.all
+% END
+%
+% The fin.entry function finishes off an entry by adding a period to the
+% string remaining on the stack. If the state is still before.all
+% then nothing was produced for this entry, so the result will look bad,
+% but the user deserves it. (We don't omit the whole entry because the
+% entry was cited, and a bibitem is needed to define the citation label.)
+%
+% fin.entry ==
+% BEGIN
+% write$(add.period$(pop()))
+% newline$
+% END
+%
+% The new.block function prepares for a new block to be output, and
+% new.sentence prepares for a new sentence.
+%
+% new.block ==
+% BEGIN
+% if output.state <> before.all then
+% output.state := after.block
+% fi
+% END
+%
+% new.sentence ==
+% BEGIN
+% if output.state <> after.block then
+% if output.state <> before.all then
+% output.state := after.sentence
+% fi
+% fi
+% END
+%
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+% the variables s and t are temporary string holders
+STRINGS { s t }
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { "," * write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+% This function finishes all entries.
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ skip$
+}
+% These three functions pop one or two (integer) arguments from the stack
+% and push a single one, either 0 or 1.
+% The 'skip$ in the `and' and `or' functions are used because
+% the corresponding if$ would be idempotent
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+% Sometimes we begin a new block only if the block will be big enough. The
+% new.block.checka function issues a new.block if its argument is nonempty;
+% new.block.checkb does the same if either of its TWO arguments is nonempty.
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+% The new.sentence.check functions are analogous.
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+% Here are some functions for formatting chunks of an entry.
+% By convention they either produce a string that can be followed by
+% a comma or period (using add.period$, so it is OK to end in a period),
+% or they produce the null string.
+%
+% A useful utility is the field.or.null function, which checks if the
+% argument is the result of pushing a `missing' field (one for which no
+% assignment was made when the current entry was read in from the database)
+% or the result of pushing a string having no non-white-space characters.
+% It returns the null string if so, otherwise it returns the field string.
+% Its main (but not only) purpose is to guarantee that what's left on the
+% stack is a string rather than a missing field.
+%
+% field.or.null(s) ==
+% BEGIN
+% if empty$(s) then return ""
+% else return s
+% END
+%
+% Another helper function is emphasize, which returns the argument emphazised,
+% if that is non-empty, otherwise it returns the null string. Italic
+% corrections aren't used, so this function should be used when punctation
+% will follow the result.
+%
+% emphasize(s) ==
+% BEGIN
+% if empty$(s) then return ""
+% else return "{\em " * s * "}"
+%
+% The format.names function formats the argument (which should be in
+% BibTeX name format) into "First Von Last, Junior", separated by commas
+% and with an "and" before the last (but ending with "et~al." if the last
+% of multiple authors is "others"). This function's argument should always
+% contain at least one name.
+%
+% VAR: nameptr, namesleft, numnames: INTEGER
+% pseudoVAR: nameresult: STRING (it's what's accumulated on the stack)
+%
+% format.names(s) ==
+% BEGIN
+% nameptr := 1
+% numnames := num.names$(s)
+% namesleft := numnames
+% while namesleft > 0
+% do
+% % for full names:
+% t := format.name$(s, nameptr, "{ff~}{vv~}{ll}{, jj}")
+% % for abbreviated first names:
+% t := format.name$(s, nameptr, "{f.~}{vv~}{ll}{, jj}")
+% if nameptr > 1 then
+% if namesleft > 1 then nameresult := nameresult * ", " * t
+% else if numnames > 2
+% then nameresult := nameresult * ","
+% fi
+% if t = "others"
+% then nameresult := nameresult * " et~al."
+% else nameresult := nameresult * " and " * t
+% fi
+% fi
+% else nameresult := t
+% fi
+% nameptr := nameptr + 1
+% namesleft := namesleft - 1
+% od
+% return nameresult
+% END
+%
+% The format.authors function returns the result of format.names(author)
+% if the author is present, or else it returns the null string
+%
+% format.authors ==
+% BEGIN
+% if empty$(author) then return ""
+% else return format.names(author)
+% fi
+% END
+%
+% Format.editors is like format.authors, but it uses the editor field,
+% and appends ", editor" or ", editors"
+%
+% format.editors ==
+% BEGIN
+% if empty$(editor) then return ""
+% else
+% if num.names$(editor) > 1 then
+% return format.names(editor) * ", editors"
+% else
+% return format.names(editor) * ", editor"
+% fi
+% fi
+% END
+%
+% Other formatting functions are similar, so no "comment version" will be
+% given for them.
+%
+% The `pop$' in this function gets rid of the duplicate `empty' value and
+% the `skip$' returns the duplicate field value
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+FUNCTION {caps}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\sc " swap$ * "}" * }
+ if$
+}
+FUNCTION {embolden}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\bf " swap$ * "}" * }
+ if$
+}
+FUNCTION {paren}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "(" swap$ * ")" * }
+ if$
+}
+INTEGERS { nameptr namesleft numnames }
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+ t "others" =
+ 'skip$
+ { t caps 't := }
+ if$
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+FUNCTION {format.edited}
+{ editor empty$
+ { "" }
+ { "edited by " editor format.names * }
+ if$
+}
+% The format.title function is used for non-book-like titles.
+% For most styles we convert to lowercase (except for the very first letter,
+% and except for the first one after a colon (followed by whitespace)),
+% and hope the user has brace-surrounded words that need to stay capitilized;
+% for some styles, however, we leave it as it is in the database.
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ 'title
+ if$
+}
+% By default, BibTeX sets the global integer variable global.max$ to the BibTeX
+% constant glob_str_size, the maximum length of a global string variable.
+% Analogously, BibTeX sets the global integer variable entry.max$ to
+% ent_str_size, the maximum length of an entry string variable.
+% The style designer may change these if necessary (but this is unlikely)
+% The n.dashify function makes each single `-' in a string a double `--'
+% if it's not already
+%
+% pseudoVAR: pageresult: STRING (it's what's accumulated on the stack)
+%
+% n.dashify(s) ==
+% BEGIN
+% t := s
+% pageresult := ""
+% while (not empty$(t))
+% do
+% if (first character of t = "-")
+% then
+% if (next character isn't)
+% then
+% pageresult := pageresult * "--"
+% t := t with the "-" removed
+% else
+% while (first character of t = "-")
+% do
+% pageresult := pageresult * "-"
+% t := t with the "-" removed
+% od
+% fi
+% else
+% pageresult := pageresult * the first character
+% t := t with the first character removed
+% fi
+% od
+% return pageresult
+% END
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+FUNCTION {first.page}
+{ 't :=
+ ""
+ { t empty$ not t #1 #1 substring$ "-" = not and }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+}
+% The format.date function is for the month and year, but we give a warning if
+% there's an empty year but the month is there, and we return the empty string
+% if they're both empty.
+FUNCTION {format.date}
+{ year empty$
+ { "" }
+ 'year
+ if$
+}
+% The format.btitle is for formatting the title field when it is a book-like
+% entry---the style used here keeps it in uppers-and-lowers and emphasizes it.
+FUNCTION {format.btitle}
+{ title emphasize
+}
+% For several functions we'll need to connect two strings with a
+% tie (~) if the second one isn't very long (fewer than 3 characters).
+% The tie.or.space.connect function does that. It concatenates the two
+% strings on top of the stack, along with either a tie or space between
+% them, and puts this concatenation back onto the stack:
+%
+% tie.or.space.connect(str1,str2) ==
+% BEGIN
+% if text.length$(str2) < 3
+% then return the concatenation of str1, "~", and str2
+% else return the concatenation of str1, " ", and str2
+% END
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+% The either.or.check function complains if both fields or an either-or pair
+% are nonempty.
+%
+% either.or.check(t,s) ==
+% BEGIN
+% if empty$(s) then
+% warning$(can't use both " * t * " fields in " * cite$)
+% fi
+% END
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+% The format.bvolume function is for formatting the volume and perhaps
+% series name of a multivolume work. If both a volume and a series field
+% are there, we assume the series field is the title of the whole multivolume
+% work (the title field should be the title of the thing being referred to),
+% and we add an "of <series>". This function is called in mid-sentence.
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+% The format.number.series function is for formatting the series name
+% and perhaps number of a work in a series. This function is similar to
+% format.bvolume, although for this one the series must exist (and the
+% volume must not exist). If the number field is empty we output either
+% the series field unchanged if it exists or else the null string.
+% If both the number and series fields are there we assume the series field
+% gives the name of the whole series (the title field should be the title
+% of the work being one referred to), and we add an "in <series>".
+% We capitilize Number when this function is used at the beginning of a block.
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+% The format.edition function appends " edition" to the edition, if present.
+% We lowercase the edition (it should be something like "Third"), because
+% this doesn't start a sentence.
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+% The format.pages function is used for formatting a page range in a book
+% (and in rare circumstances, an article).
+%
+% The multi.page.check function examines the page field for a "-" or "," or "+"
+% so that format.pages can use "page" instead of "pages" if none exists.
+% Note: global.max$ here means "take the rest of the string"
+%
+% VAR: multiresult: INTEGER (actually, a boolean)
+%
+% multi.page.check(s) ==
+% BEGIN
+% t := s
+% multiresult := false
+% while ((not multiresult) and (not empty$(t)))
+% do
+% if (first character of t = "-" or "," or "+")
+% then multiresult := true
+% else t := t with the first character removed
+% fi
+% od
+% return multiresult
+% END
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+% This function doesn't begin a sentence so "pages" isn't capitalized.
+% Other functions that use this should keep that in mind.
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pp." pages n.dashify tie.or.space.connect }
+ { "p." pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+FUNCTION {format.pages.a}
+{ pages empty$
+ { "" }
+ { "p." pages first.page tie.or.space.connect }
+ if$
+}
+% The format.vol.num.pages function is for the volume, number, and page range
+% of a journal article. We use the format: vol(number):pages, with some
+% variations for empty fields. This doesn't begin a sentence.
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null embolden
+ " " swap$ * *
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages.a }
+ { ", " * pages first.page * }
+ if$
+ }
+ if$
+}
+% The format.chapter.pages, if the chapter is present, puts whatever is in the
+% type field (or else "chapter" if type is empty) in front of a chapter number.
+% It then appends the pages, if present. This doesn't begin a sentence.
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+% The format.in.ed.booktitle function is used for starting out a sentence
+% that begins "In <booktitle>", putting an editor before the title if one
+% exists.
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "in " booktitle emphasize * }
+ { "in " booktitle emphasize * ", " * format.edited * }
+ if$
+ }
+ if$
+}
+% The function empty.misc.check complains if all six fields are empty, and
+% if there's been no sorting or alphabetic-label complaint.
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+% The function format.thesis.type returns either the (case-changed) type field,
+% if it is defined, or else the default string already on the stack
+% (like "Master's thesis" or "PhD thesis").
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+% The function format.tr.number makes a string starting with "Technical Report"
+% (or type, if that field is defined), followed by the number if there is one;
+% it returns the starting part (with a case change) even if there is no number.
+% This is used at the beginning of a sentence.
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+% Now come the cross-referencing functions (these are invoked because
+% one entry in the database file(s) cross-references another, by giving
+% the other entry's database key in a `crossref' field). This feature
+% allows one or more titled things that are part of a larger titled
+% thing to cross-reference the larger thing. These styles allow for
+% five posibilities: (1) an ARTICLE may cross-reference an ARTICLE;
+% (2) a BOOK, (3) INBOOK, or (4) INCOLLECTION may cross-reference a BOOK;
+% or (5) an INPROCEEDINGS may cross-reference a PROCEEDINGS.
+% Each of these is explained in more detail later.
+%
+% An ARTICLE entry type may cross reference another ARTICLE (this is
+% intended for when an entire journal is devoted to a single topic---
+% but since there is no JOURNAL entry type, the journal, too, should be
+% classified as an ARTICLE but without the author and title fields).
+% This will result in two warning messages for the journal's entry
+% if it's included in the reference list, but such is life.
+%
+% format.article.crossref ==
+% BEGIN
+% if empty$(key) then
+% if empty$(journal) then
+% warning$("need key or journal for " * cite$ *
+% " to crossref " * crossref)
+% return(" \cite{" * crossref * "}")
+% else
+% return("In " * emphazise.correct (journal) *
+% " \cite{" * crossref * "}")
+% fi
+% else
+% return("In " * key * " \cite{" * crossref * "}")
+% fi
+% END
+%
+% The other cross-referencing functions are similar, so no "comment version"
+% will be given for them.
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+% We use just the last names of editors for a cross reference: either
+% "editor", or "editor1 and editor2", or "editor1 et~al." depending on
+% whether there are one, or two, or more than two editors.
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$ caps
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ caps * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+% A BOOK (or INBOOK) entry type (assumed to be for a single volume in a
+% multivolume work) may cross reference another BOOK (the entire multivolume).
+% Usually there will be an editor, in which case we use that to construct the
+% cross reference; otherwise we use a nonempty key field or else the series
+% field (since the series gives the title of the multivolume work).
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+% An INCOLLECTION entry type may cross reference a BOOK (assumed to be the
+% collection), or an INPROCEEDINGS may cross reference a PROCEEDINGS.
+% Often there will be an editor, in which case we use that to construct
+% the cross reference; otherwise we use a nonempty key field or else
+% the booktitle field (which gives the cross-referenced work's title).
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+% Now we define the type functions for all entry types that may appear
+% in the .BIB file---e.g., functions like `article' and `book'. These
+% are the routines that actually generate the .BBL-file output for
+% the entry. These must all precede the READ command. In addition, the
+% style designer should have a function `default.type' for unknown types.
+% Note: The fields (within each list) are listed in order of appearance,
+% except as described for an `inbook' or a `proceedings'.
+%
+% The article function is for an article in a journal. An article may
+% CROSSREF another article.
+% Required fields: author, title, journal, year
+% Optional fields: volume, number, pages, month, note
+%
+% article ==
+% BEGIN
+% output.bibitem
+% output.check(format.authors,"author")
+% new.block
+% output.check(format.title,"title")
+% new.block
+% if missing$(crossref) then
+% output.check(emphasize(journal),"journal")
+% output(format.vol.num.pages)
+% output.check(format.date,"year")
+% else
+% output.nonnull(format.article.crossref)
+% output(format.pages)
+% fi
+% new.block
+% output(note)
+% fin.entry
+% END
+%
+% The book function is for a whole book. A book may CROSSREF another book.
+% Required fields: author or editor, title, publisher, year
+% Optional fields: volume or number, series, address, edition, month,
+% note
+%
+% book ==
+% BEGIN
+% if empty$(author) then output.check(format.editors,"author and editor")
+% else output.check(format.authors,"author")
+% if missing$(crossref) then
+% either.or.check("author and editor",editor)
+% fi
+% fi
+% new.block
+% output.check(format.btitle,"title")
+% if missing$(crossref) then
+% output(format.bvolume)
+% new.block
+% output(format.number.series)
+% new.sentence
+% output.check(publisher,"publisher")
+% output(address)
+% else
+% new.block
+% output.nonnull(format.book.crossref)
+% fi
+% output(format.edition)
+% output.check(format.date,"year")
+% new.block
+% output(note)
+% fin.entry
+% END
+%
+% The other entry functions are all quite similar, so no "comment version"
+% will be given for them.
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ crossref missing$
+ { journal emphasize
+ format.vol.num.pages
+ format.date empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.date paren }
+ { " " * format.date paren * }
+ if$
+ }
+ if$
+ output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+% A booklet is a bound thing without a publisher or sponsoring institution.
+% Required: title
+% Optional: author, howpublished, address, month, year, note
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+% For the conference entry type, see inproceedings.
+% An inbook is a piece of a book: either a chapter and/or a page range.
+% It may CROSSREF a book. If there's no volume field, the type field
+% will come before number and series.
+% Required: author or editor, title, chapter and/or pages, publisher,year
+% Optional: volume or number, series, type, address, edition, month, note
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+% An incollection is like inbook, but where there is a separate title
+% for the referenced thing (and perhaps an editor for the whole).
+% An incollection may CROSSREF a book.
+% Required: author, title, booktitle, publisher, year
+% Optional: editor, volume or number, series, type, chapter, pages,
+% address, edition, month, note
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+% An inproceedings is an article in a conference proceedings, and it may
+% CROSSREF a proceedings. If there's no address field, the month (& year)
+% will appear just before note.
+% Required: author, title, booktitle, year
+% Optional: editor, volume or number, series, pages, address, month,
+% organization, publisher, note
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+% The conference function is included for Scribe compatibility.
+FUNCTION {conference} { inproceedings }
+% A manual is technical documentation.
+% Required: title
+% Optional: author, organization, address, edition, month, year, note
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+% A mastersthesis is a Master's thesis.
+% Required: author, title, school, year
+% Optional: type, address, month, note
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+% A misc is something that doesn't fit elsewhere.
+% Required: at least one of the `optional' fields
+% Optional: author, title, howpublished, month, year, note
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+% A phdthesis is like a mastersthesis.
+% Required: author, title, school, year
+% Optional: type, address, month, note
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+% A proceedings is a conference proceedings.
+% If there is an organization but no editor field, the organization will
+% appear as the first optional field (we try to make the first block nonempty);
+% if there's no address field, the month (& year) will appear just before note.
+% Required: title, year
+% Optional: editor, volume or number, series, address, month,
+% organization, publisher, note
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+% A techreport is a technical report.
+% Required: author, title, institution, year
+% Optional: type, number, address, month, note
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+% An unpublished is something that hasn't been published.
+% Required: author, title, note
+% Optional: month, year
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+% We use entry type `misc' for an unknown type; BibTeX gives a warning.
+FUNCTION {default.type} { misc }
+% Here are macros for common things that may vary from style to style.
+% Users are encouraged to use these macros.
+%
+% Months are either written out in full or abbreviated
+MACRO {jan} {"Jan."}
+MACRO {feb} {"Feb."}
+MACRO {mar} {"Mar."}
+MACRO {apr} {"Apr."}
+MACRO {may} {"May"}
+MACRO {jun} {"June"}
+MACRO {jul} {"July"}
+MACRO {aug} {"Aug."}
+MACRO {sep} {"Sept."}
+MACRO {oct} {"Oct."}
+MACRO {nov} {"Nov."}
+MACRO {dec} {"Dec."}
+% Journals are either written out in full or abbreviated;
+% the abbreviations are like those found in ACM publications.
+%
+% To get a completely different set of abbreviations, it may be best to make
+% a separate .bib file with nothing but those abbreviations; users could then
+% include that file name as the first argument to the \bibliography command
+MACRO {acmcs} {"ACM Comput. Surv."}
+MACRO {acta} {"Acta Inf."}
+MACRO {cacm} {"Commun. ACM"}
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+MACRO {ibmsj} {"IBM Syst.~J."}
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+MACRO {ipl} {"Inf. Process. Lett."}
+MACRO {jacm} {"J.~ACM"}
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+MACRO {scp} {"Sci. Comput. Programming"}
+MACRO {sicomp} {"SIAM J. Comput."}
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+MACRO {tods} {"ACM Trans. Database Syst."}
+MACRO {tog} {"ACM Trans. Gr."}
+MACRO {toms} {"ACM Trans. Math. Softw."}
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+MACRO {tcs} {"Theoretical Comput. Sci."}
+%% /usr/local/lib/tex/bibtex/phyjfull.btx, Tue Jun 30 08:37:48 1992
+%% Edit by Nelson H. F. Beebe <beebe@alfred.math.utah.edu>
+%% Change file names in leading comment
+% Journal Title Abbreviations from the Physical Review Style and Notation
+% Guide, July, 1983, in BAPS Vol. 28.
+% Selected by Cris Barnes and Charles Karney, March 1988
+% IMPORTANT!! Don't make changes to this file without making the
+% corresponding changes to
+% phyjabb.bib
+% phyjabb.btx
+MACRO {advp} {"Advances in Physics"}
+MACRO {ajp} {"American Journal of Physics"}
+MACRO {ao} {"Applied Optics"}
+MACRO {apl} {"Applied Physics Letters"}
+MACRO {apj} {"Astrophysical Journal"}
+MACRO {baps} {"Bulletin of the American Physical Society"}
+MACRO {cpc} {"Computer Physics Communications"}
+MACRO {cppcf} {"Comments on Plasma Physics and Controlled Fusion"}
+MACRO {fed} {"Fusion Engineering and Design"}
+MACRO {ft} {"Fusion Technology"}
+MACRO {ieeens} {"IEEE Transactions on Nuclear Science"}
+MACRO {ieeeps} {"IEEE Transactions on Plasma Science"}
+MACRO {ijimw} {"International Journal of Infrared and Millimeter Waves"}
+MACRO {ip} {"Infrared Physics"}
+MACRO {jap} {"Journal of Applied Physics"}
+MACRO {jcp} {"Journal of Computational Physics"}
+MACRO {jetp} {"Soviet Physics-JETP"}
+MACRO {jfe} {"Journal of Fusion Energy"}
+MACRO {jfm} {"Journal of Fluid Mechanics"}
+MACRO {jgr} {"Journal of Geophysical Research"}
+MACRO {jmp} {"Journal of Mathematical Physics"}
+MACRO {jne} {"Journal of Nuclear Energy"}
+MACRO {jnec} {"Journal of Nuclear Energy, Part C: Plasma Physics, Accelerators, Thermonuclear Research"}
+MACRO {jnm} {"Journal of Nuclear Materials"}
+MACRO {josa} {"Journal of the Optical Society of America"}
+MACRO {jpp} {"Journal of Plasma Physics"}
+MACRO {jpsj} {"Journal of the Physical Society of Japan"}
+MACRO {jvst} {"Journal of Vacuum Science and Technology"}
+MACRO {nedf} {"Nuclear Engineering and Design/Fusion"}
+MACRO {nf} {"Nuclear Fusion"}
+MACRO {nim} {"Nuclear Instruments and Methods"}
+MACRO {nimpr} {"Nuclear Instruments and Methods in Physics Research"}
+MACRO {nt/f} {"Nuclear Technology/Fusion"}
+MACRO {pf} {"Physics of Fluids"}
+MACRO {pfa} {"Physics of Fluids A: Fluid Dynamics"}
+MACRO {pfb} {"Physics of Fluids B: Plasma Physics"}
+MACRO {pl} {"Physics Letters"}
+MACRO {pla} {"Physics Letters A"}
+MACRO {pnas} {"Proceedings of the National Academy of Sciences of the USA"}
+MACRO {pp} {"Plasma Physics"}
+MACRO {ppcf} {"Plasma Physics and Controlled Fusion"}
+MACRO {prl} {"Physical Review Letters"}
+MACRO {pr} {"Physical Review"}
+MACRO {pra} {"Physical Review A: General Physics"}
+MACRO {ps} {"Physica Scripta"}
+MACRO {rmp} {"Reviews of Modern Physics"}
+MACRO {rsi} {"Review of Scientific Instruments"}
+MACRO {sjpp} {"Soviet Journal of Plasma Phys."}
+MACRO {spd} {"Soviet Physics-Doklady"}
+MACRO {sptp} {"Soviet Physics-Technical Physics"}
+MACRO {spu} {"Soviet Physics-Uspeki"}
+% Now we read in the .BIB entries.
+READ
+% The sortify function converts to lower case after purify$ing; it's
+% used in sorting and in computing alphabetic labels after sorting
+%
+% The chop.word(w,len,s) function returns either s or, if the first len
+% letters of s equals w (this comparison is done in the third line of the
+% function's definition), it returns that part of s after w.
+% This long comment applies only to alphabetic labels
+%
+% The format.lab.names function makes a short label by using the initials of
+% the von and Last parts of the names (but if there are more than four names,
+% (i.e., people) it truncates after three and adds a superscripted "+";
+% it also adds such a "+" if the last of multiple authors is "others").
+% If there is only one name, and its von and Last parts combined have just
+% a single name-token ("Knuth" has a single token, "Brinch Hansen" has two),
+% we take the first three letters of the last name. The boolean
+% et.al.char.used tells whether we've used a superscripted "+", so that we
+% know whether to include a LaTeX macro for it.
+%
+% format.lab.names(s) ==
+% BEGIN
+% numnames := num.names$(s)
+% if numnames > 1 then
+% if numnames > 4 then
+% namesleft := 3
+% else
+% namesleft := numnames
+% nameptr := 1
+% nameresult := ""
+% while namesleft > 0
+% do
+% if (name_ptr = numnames) and
+% format.name$(s, nameptr, "{ff }{vv }{ll}{ jj}") = "others"
+% then nameresult := nameresult * "{\etalchar{+}}"
+% et.al.char.used := true
+% else nameresult := nameresult *
+% format.name$(s, nameptr, "{v{}}{l{}}")
+% nameptr := nameptr + 1
+% namesleft := namesleft - 1
+% od
+% if numnames > 4 then
+% nameresult := nameresult * "{\etalchar{+}}"
+% et.al.char.used := true
+% else
+% t := format.name$(s, 1, "{v{}}{l{}}")
+% if text.length$(t) < 2 then % there's just one name-token
+% nameresult := text.prefix$(format.name$(s,1,"{ll}"),3)
+% else
+% nameresult := t
+% fi
+% fi
+% return nameresult
+% END
+%
+% Exactly what fields we look at in constructing the primary part of the label
+% depends on the entry type; this selectivity (as opposed to, say, always
+% looking at author, then editor, then key) helps ensure that "ignored" fields,
+% as described in the LaTeX book, really are ignored. Note that MISC is part
+% of the deepest `else' clause in the nested part of calc.label; thus, any
+% unrecognized entry type in the database is handled correctly.
+%
+% There is one auxiliary function for each of the four different sequences of
+% fields we use. The first of these functions looks at the author field, and
+% then, if necessary, the key field. The other three functions, which might
+% look at two fields and the key field, are similar, except that the key field
+% takes precedence over the organization field (for labels---not for sorting).
+%
+% The calc.label function calculates the preliminary label of an entry, which
+% is formed by taking three letters of information from the author or editor or
+% key or organization field (depending on the entry type and on what's empty,
+% but ignoring a leading "The " in the organization), and appending the last
+% two characters (digits) of the year. It is an error if the appropriate fields
+% among author, editor, organization, and key are missing, and we use
+% the first three letters of the cite$ in desperation when this happens.
+% The resulting label has the year part, but not the name part, purify$ed
+% (purify$ing the year allows some sorting shenanigans by the user).
+%
+% This function also calculates the version of the label to be used in sorting.
+%
+% The final label may need a trailing 'a', 'b', etc., to distinguish it from
+% otherwise identical labels, but we can't calculated those "extra.label"s
+% until after sorting.
+%
+% calc.label ==
+% BEGIN
+% if type$ = "book" or "inbook" then
+% author.editor.key.label
+% else if type$ = "proceedings" then
+% editor.key.organization.label
+% else if type$ = "manual" then
+% author.key.organization.label
+% else
+% author.key.label
+% fi fi fi
+% label := label * substring$(purify$(field.or.null(year)), -1, 2)
+% % assuming we will also sort, we calculate a sort.label
+% sort.label := sortify(label), but use the last four, not two, digits
+% END
+% When sorting, we compute the sortkey by executing "presort" on each entry.
+% The presort key contains a number of "sortify"ed strings, concatenated
+% with multiple blanks between them. This makes things like "brinch per"
+% come before "brinch hansen per".
+%
+% The fields used here are: the sort.label for alphabetic labels (as set by
+% calc.label), followed by the author names (or editor names or organization
+% (with a leading "The " removed) or key field, depending on entry type and on
+% what's empty), followed by year, followed by the first bit of the title
+% (chopping off a leading "The ", "A ", or "An ").
+% Names are formatted: Von Last First Junior.
+% The names within a part will be separated by a single blank
+% (such as "brinch hansen"), two will separate the name parts themselves
+% (except the von and last), three will separate the names,
+% four will separate the names from year (and from label, if alphabetic),
+% and four will separate year from title.
+%
+% The sort.format.names function takes an argument that should be in
+% BibTeX name format, and returns a string containing " "-separated
+% names in the format described above. The function is almost the same
+% as format.names.
+% This long comment applies only to alphabetic labels, when sorted
+%
+% Now comes the final computation for alphabetic labels, putting in the 'a's
+% and 'b's and so forth if required. This involves two passes: a forward
+% pass to put in the 'b's, 'c's and so on, and a backwards pass
+% to put in the 'a's (we don't want to put in 'a's unless we know there
+% are 'b's).
+% We have to keep track of the longest (in width$ terms) label, for use
+% by the "thebibliography" environment.
+%
+% VAR: longest.label, last.sort.label, next.extra: string
+% longest.label.width, last.extra.num: integer
+%
+% initialize.longest.label ==
+% BEGIN
+% longest.label := ""
+% last.sort.label := int.to.chr$(0)
+% next.extra := ""
+% longest.label.width := 0
+% last.extra.num := 0
+% END
+%
+% forward.pass ==
+% BEGIN
+% if last.sort.label = sort.label then
+% last.extra.num := last.extra.num + 1
+% extra.label := int.to.chr$(last.extra.num)
+% else
+% last.extra.num := chr.to.int$("a")
+% extra.label := ""
+% last.sort.label := sort.label
+% fi
+% END
+%
+% reverse.pass ==
+% BEGIN
+% if next.extra = "b" then
+% extra.label := "a"
+% fi
+% label := label * extra.label
+% if width$(label) > longest.label.width then
+% longest.label := label
+% longest.label.width := width$(label)
+% fi
+% next.extra := extra.label
+% END
+% Now comes the computation for numeric labels.
+% We use either the sorted order or original order.
+% We still have to keep track of the longest (in width$ terms) label, for use
+% by the "thebibliography" environment.
+STRINGS { longest.label }
+INTEGERS { number.label longest.label.width }
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+EXECUTE {initialize.longest.label}
+ITERATE {longest.label.pass}
+% Now we're ready to start writing the .BBL file.
+% We begin, if necessary, with a LaTeX macro for unnamed names in an alphabetic
+% label; next comes stuff from the `preamble' command in the database files.
+% Then we give an incantation containing the command
+% \begin{thebibliography}{...}
+% where the `...' is the longest label.
+%
+% We also call init.state.consts, for use by the output routines.
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+% Now we produce the output for all the entries
+ITERATE {call.type$}
+% Finally, we finish up by writing the `\end{thebibliography}' command.
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/other/phyjabb.bib b/biblio/bibtex/contrib/other/phyjabb.bib
new file mode 100644
index 0000000000..9163997d9c
--- /dev/null
+++ b/biblio/bibtex/contrib/other/phyjabb.bib
@@ -0,0 +1,60 @@
+%% /usr/local/lib/tex/bibtex/phyjabb.bib, Tue Jun 30 08:35:39 1992
+%% Edit by Nelson H. F. Beebe <beebe at alfred.math.utah.edu>
+%% Change file names in leading comment
+
+IMPORTANT!! Don't make changes to this file without making the
+ corresponding changes to
+ phyjabb.btx
+ phyjfull.btx
+
+@string{advp = {Adv. Phys.}}
+@string{ajp = {Am. J. Phys.}}
+@string{ao = {Appl. Opt.}}
+@string{apl = {Appl. Phys. Lett.}}
+@string{apj = {Astrophys. J.}}
+@string{baps = {Bull. Am. Phys. Soc.}}
+@string{cpc = {Computer Phys. Comm.}}
+@string{cppcf = {Comments Plasma Phys. Controlled Fusion}}
+@string{fed = {Fusion Eng. Design}}
+@string{ft = {Fusion Tech.}}
+@string{ieeens = {IEEE Trans. Nucl. Sci.}}
+@string{ieeeps = {IEEE Trans. Plasma Sci.}}
+@string{ijimw = {Int. J. Infrared Millimeter Waves}}
+@string{ip = {Infrared Phys.}}
+@string{jap = {J. Appl. Phys.}}
+@string{jcp = {J. Comput. Phys.}}
+@string{jetp = {Sov. Phys.-JETP}}
+@string{jfe = {J. Fusion Energy}}
+@string{jfm = {J. Fluid Mech.}}
+@string{jgr = {J. Geophys. Res.}}
+@string{jmp = {J. Math. Phys.}}
+@string{jne = {J. Nucl. Energy}}
+@string{jnec = {J. Nucl. Energy, Part C}}
+@string{jnm = {J. Nucl. Mater.}}
+@string{josa = {J. Opt. Soc. Am.}}
+@string{jpp = {J. Plasma Phys.}}
+@string{jpsj = {J. Phys. Soc. Jpn}}
+@string{jvst = {J. Vac. Sci. Technol.}}
+@string{nedf = {Nucl. Eng. Design/Fusion}}
+@string{nf = {Nucl. Fusion}}
+@string{nim = {Nucl. Instrum. Methods}}
+@string{nimpr = {Nucl. Instrum. Methods Phys. Research}}
+@string{nt/f = {Nucl. Tech./Fusion}}
+@string{pf = {Phys. Fluids}}
+@string{pfa = {Phys. Fluids A}}
+@string{pfb = {Phys. Fluids B}}
+@string{pl = {Phys. Lett.}}
+@string{pla = {Phys. Lett. A}}
+@string{pnas = {Proc. Nat. Acad. Sci. USA}}
+@string{pp = {Plasma Phys.}}
+@string{ppcf = {Plasma Phys. Controlled Fusion}}
+@string{prl = {Phys. Rev. Lett.}}
+@string{pr = {Phys. Rev.}}
+@string{pra = {Phys. Rev. A}}
+@string{ps = {Physica Scripta}}
+@string{rmp = {Rev. Mod. Phys.}}
+@string{rsi = {Rev. Sci. Instrum.}}
+@string{sjpp = {Sov. J. Plasma Phys.}}
+@string{spd = {Sov. Phys.-Dokl.}}
+@string{sptp = {Sov. Phys.-Tech. Phys.}}
+@string{spu = {Sov. Phys.-Usp.}}
diff --git a/biblio/bibtex/contrib/other/phyjabb.btx b/biblio/bibtex/contrib/other/phyjabb.btx
new file mode 100644
index 0000000000..71d758d301
--- /dev/null
+++ b/biblio/bibtex/contrib/other/phyjabb.btx
@@ -0,0 +1,63 @@
+%% /usr/local/lib/tex/bibtex/phyjabb.btx, Tue Jun 30 08:36:41 1992
+%% Edit by Nelson H. F. Beebe <beebe@alfred.math.utah.edu>
+%% Change file names in leading comment
+% Journal Title Abbreviations from the Physical Review Style and Notation
+% Guide, July, 1983, in BAPS Vol. 28.
+% Selected by Cris Barnes and Charles Karney, March 1988
+
+% IMPORTANT!! Don't make changes to this file without making the
+% corresponding changes to
+% phyjabb.bib
+% phyjfull.btx
+
+MACRO {advp} {"Adv. Phys."}
+MACRO {ajp} {"Am. J. Phys."}
+MACRO {ao} {"Appl. Opt."}
+MACRO {apl} {"Appl. Phys. Lett."}
+MACRO {apj} {"Astrophys. J."}
+MACRO {baps} {"Bull. Am. Phys. Soc."}
+MACRO {cpc} {"Computer Phys. Comm."}
+MACRO {cppcf} {"Comments Plasma Phys. Controlled Fusion"}
+MACRO {fed} {"Fusion Eng. Design"}
+MACRO {ft} {"Fusion Tech."}
+MACRO {ieeens} {"IEEE Trans. Nucl. Sci."}
+MACRO {ieeeps} {"IEEE Trans. Plasma Sci."}
+MACRO {ijimw} {"Int. J. Infrared Millimeter Waves"}
+MACRO {ip} {"Infrared Phys."}
+MACRO {jap} {"J. Appl. Phys."}
+MACRO {jcp} {"J. Comput. Phys."}
+MACRO {jetp} {"Sov. Phys.-JETP"}
+MACRO {jfe} {"J. Fusion Energy"}
+MACRO {jfm} {"J. Fluid Mech."}
+MACRO {jgr} {"J. Geophys. Res."}
+MACRO {jmp} {"J. Math. Phys."}
+MACRO {jne} {"J. Nucl. Energy"}
+MACRO {jnec} {"J. Nucl. Energy, Part C"}
+MACRO {jnm} {"J. Nucl. Mater."}
+MACRO {josa} {"J. Opt. Soc. Am."}
+MACRO {jpp} {"J. Plasma Phys."}
+MACRO {jpsj} {"J. Phys. Soc. Jpn"}
+MACRO {jvst} {"J. Vac. Sci. Technol."}
+MACRO {nedf} {"Nucl. Eng. Design/Fusion"}
+MACRO {nf} {"Nucl. Fusion"}
+MACRO {nim} {"Nucl. Instrum. Methods"}
+MACRO {nimpr} {"Nucl. Instrum. Methods Phys. Research"}
+MACRO {nt/f} {"Nucl. Tech./Fusion"}
+MACRO {pf} {"Phys. Fluids"}
+MACRO {pfa} {"Phys. Fluids A"}
+MACRO {pfb} {"Phys. Fluids B"}
+MACRO {pl} {"Phys. Lett."}
+MACRO {pla} {"Phys. Lett. A"}
+MACRO {pnas} {"Proc. Nat. Acad. Sci. USA"}
+MACRO {pp} {"Plasma Phys."}
+MACRO {ppcf} {"Plasma Phys. Controlled Fusion"}
+MACRO {prl} {"Phys. Rev. Lett."}
+MACRO {pr} {"Phys. Rev."}
+MACRO {pra} {"Phys. Rev. A"}
+MACRO {ps} {"Physica Scripta"}
+MACRO {rmp} {"Rev. Mod. Phys."}
+MACRO {rsi} {"Rev. Sci. Instrum."}
+MACRO {sjpp} {"Sov. J. Plasma Phys."}
+MACRO {spd} {"Sov. Phys.-Dokl."}
+MACRO {sptp} {"Sov. Phys.-Tech. Phys."}
+MACRO {spu} {"Sov. Phys.-Usp."}
diff --git a/biblio/bibtex/contrib/other/phyjfull.btx b/biblio/bibtex/contrib/other/phyjfull.btx
new file mode 100644
index 0000000000..31ae9e5d65
--- /dev/null
+++ b/biblio/bibtex/contrib/other/phyjfull.btx
@@ -0,0 +1,64 @@
+%% /usr/local/lib/tex/bibtex/phyjfull.btx, Tue Jun 30 08:37:48 1992
+%% Edit by Nelson H. F. Beebe <beebe@alfred.math.utah.edu>
+%% Change file names in leading comment
+
+% Journal Title Abbreviations from the Physical Review Style and Notation
+% Guide, July, 1983, in BAPS Vol. 28.
+% Selected by Cris Barnes and Charles Karney, March 1988
+
+% IMPORTANT!! Don't make changes to this file without making the
+% corresponding changes to
+% phyjabb.bib
+% phyjabb.btx
+
+MACRO {advp} {"Advances in Physics"}
+MACRO {ajp} {"American Journal of Physics"}
+MACRO {ao} {"Applied Optics"}
+MACRO {apl} {"Applied Physics Letters"}
+MACRO {apj} {"Astrophysical Journal"}
+MACRO {baps} {"Bulletin of the American Physical Society"}
+MACRO {cpc} {"Computer Physics Communications"}
+MACRO {cppcf} {"Comments on Plasma Physics and Controlled Fusion"}
+MACRO {fed} {"Fusion Engineering and Design"}
+MACRO {ft} {"Fusion Technology"}
+MACRO {ieeens} {"IEEE Transactions on Nuclear Science"}
+MACRO {ieeeps} {"IEEE Transactions on Plasma Science"}
+MACRO {ijimw} {"International Journal of Infrared and Millimeter Waves"}
+MACRO {ip} {"Infrared Physics"}
+MACRO {jap} {"Journal of Applied Physics"}
+MACRO {jcp} {"Journal of Computational Physics"}
+MACRO {jetp} {"Soviet Physics-JETP"}
+MACRO {jfe} {"Journal of Fusion Energy"}
+MACRO {jfm} {"Journal of Fluid Mechanics"}
+MACRO {jgr} {"Journal of Geophysical Research"}
+MACRO {jmp} {"Journal of Mathematical Physics"}
+MACRO {jne} {"Journal of Nuclear Energy"}
+MACRO {jnec} {"Journal of Nuclear Energy, Part C: Plasma Physics, Accelerators, Thermonuclear Research"}
+MACRO {jnm} {"Journal of Nuclear Materials"}
+MACRO {josa} {"Journal of the Optical Society of America"}
+MACRO {jpp} {"Journal of Plasma Physics"}
+MACRO {jpsj} {"Journal of the Physical Society of Japan"}
+MACRO {jvst} {"Journal of Vacuum Science and Technology"}
+MACRO {nedf} {"Nuclear Engineering and Design/Fusion"}
+MACRO {nf} {"Nuclear Fusion"}
+MACRO {nim} {"Nuclear Instruments and Methods"}
+MACRO {nimpr} {"Nuclear Instruments and Methods in Physics Research"}
+MACRO {nt/f} {"Nuclear Technology/Fusion"}
+MACRO {pf} {"Physics of Fluids"}
+MACRO {pfa} {"Physics of Fluids A: Fluid Dynamics"}
+MACRO {pfb} {"Physics of Fluids B: Plasma Physics"}
+MACRO {pl} {"Physics Letters"}
+MACRO {pla} {"Physics Letters A"}
+MACRO {pnas} {"Proceedings of the National Academy of Sciences of the USA"}
+MACRO {pp} {"Plasma Physics"}
+MACRO {ppcf} {"Plasma Physics and Controlled Fusion"}
+MACRO {prl} {"Physical Review Letters"}
+MACRO {pr} {"Physical Review"}
+MACRO {pra} {"Physical Review A: General Physics"}
+MACRO {ps} {"Physica Scripta"}
+MACRO {rmp} {"Reviews of Modern Physics"}
+MACRO {rsi} {"Review of Scientific Instruments"}
+MACRO {sjpp} {"Soviet Journal of Plasma Phys."}
+MACRO {spd} {"Soviet Physics-Doklady"}
+MACRO {sptp} {"Soviet Physics-Technical Physics"}
+MACRO {spu} {"Soviet Physics-Uspeki"}
diff --git a/biblio/bibtex/contrib/other/physics.btx b/biblio/bibtex/contrib/other/physics.btx
new file mode 100644
index 0000000000..c4041cc8b6
--- /dev/null
+++ b/biblio/bibtex/contrib/other/physics.btx
@@ -0,0 +1,3569 @@
+% BibTeX styles for various physics journals (27-Feb-1990).
+% This file, physics.btx, is based on the file btxbst.doc.
+ % Please notify Charles Karney (Karney@Princeton.EDU)
+ % of any bugs, improvements, etc.
+
+% Run this file through cpp to get specific versions. I have written
+% a version of cpp within Emacs. To access it put
+% (autoload 'cpp "tex$bibtex:cpp" ; Use cpp for BibTeX styles
+% "C preprocessor"
+% t)
+% into your .emacs file. Read in this file with
+% emacs tex$bibtex:physics.btx
+% and run cpp with e.g.,
+% M-x cpp <ret> aip <ret>
+% Save the resulting file to tex$latex:aip.bst.
+
+% To accomodate the variations we need (in addition to the definitions below)
+% ATIT_SUPPRESS: do not include the titles of journal articles
+% NAME_INVERT: put the initials last
+% NAME_UPPER: convert names to all caps.
+% MONTH_SUPPRESS: do not include months in journal articles
+% PAREN_DATE: dates go in parens in journal articles
+% DATE_FIRST: dates go before page numbers
+% VOLUME_SPACE: volume set off with space (not colon)
+% NUM_SUPPRESS: do not include numbers in journal articles
+% BOLD_VOL: volume numbers in bold face in journal articles
+% BRACKET_NOTE: notes in brackets
+% PAGE_START_J: include only starting page for journal articles
+% PAGE_START_O: include only starting page for other entries
+% PAGE_ABBREV: abbreviate page to p. and pages to pp.
+% PHYSICS_JOUR: include abbreviations for Physics journals
+% COMMA_DELIMIT: use comma (instead of period) to divide a citation
+% NOTE_SUPPRESS: suppress the note
+% MAX_NAMES: max number of authors before using et al (0 = infinity)
+% MIN_NAMES: number of authors to list with et al.
+% EDIT_VAR: use "edited by ..." instead of "..., editors"
+% RMP_LABELS: create RMP-style labels
+% KEY_CITE: use key as label
+% NAMED_REFS: use (Smith, 1988) style of citations
+% CSC_NAMES: names set in caps and small caps
+% JOUR_DEEMPH: don't emphasize journal name
+% ETAL_EMPH: emphasize et al.
+% ALT_INCOLL alternate ordering of fields in incollections
+
+% These are all boolean (0 or 1) except for MAX_NAMES and MIN_NAMES.
+% These need to satisfy 0 <= MIN_NAMES <= MAX_NAMES.
+% The rule here is that if all these are defined to be zero, we revert to
+% the standard styles. For that reason we initialize them all to 0.
+
+# define ATIT_SUPPRESS 0
+# define NAME_INVERT 0
+# define NAME_UPPER 0
+# define MONTH_SUPPRESS 0
+# define PAREN_DATE 0
+# define DATE_FIRST 0
+# define VOLUME_SPACE 0
+# define NUM_SUPPRESS 0
+# define BOLD_VOL 0
+# define BRACKET_NOTE 0
+# define PAGE_START_J 0
+# define PAGE_START_O 0
+# define PAGE_ABBREV 0
+# define PHYSICS_JOUR 0
+# define COMMA_DELIMIT 0
+# define NOTE_SUPPRESS 0
+# define MAX_NAMES 0
+# define MIN_NAMES 0
+# define EDIT_VAR 0
+# define RMP_LABELS 0
+# define KEY_CITE 0
+# define NAMED_REFS 0
+# define CSC_NAMES 0
+# define JOUR_DEEMPH 0
+# define ETAL_EMPH 0
+# define ALT_INCOLL 0
+
+% These are the original macros
+# define LAB_ALPH 0
+# define SORTED 0
+# define NAME_FULL 0
+# define ATIT_LOWER 0
+# define MONTH_FULL 0
+# define JOUR_FULL 0
+
+#ifdef AIP
+ % For American Institute of Physics Journals
+# define ATIT_SUPPRESS 1
+# define PAGE_START_J 1
+# define PHYSICS_JOUR 1
+# define MAX_NAMES 5
+# define MIN_NAMES 1
+# define EDIT_VAR 1
+# define ATIT_LOWER 1
+# define COMMA_DELIMIT 1
+# define VOLUME_SPACE 1
+# define MONTH_SUPPRESS 1
+# define PAREN_DATE 1
+# define NUM_SUPPRESS 1
+# define BOLD_VOL 1
+# define JOUR_DEEMPH 1
+#endif
+
+#ifdef PF
+ % For Physics of Fluids, which now wants ALL the authors
+ % (Same as AIP but infinite names, abbreviate pages, and
+ % alternate incollection)
+# define ATIT_SUPPRESS 1
+# define PAGE_START_J 1
+# define PHYSICS_JOUR 1
+# define EDIT_VAR 1
+# define ATIT_LOWER 1
+# define COMMA_DELIMIT 1
+# define VOLUME_SPACE 1
+# define MONTH_SUPPRESS 1
+# define PAREN_DATE 1
+# define NUM_SUPPRESS 1
+# define BOLD_VOL 1
+# define JOUR_DEEMPH 1
+# define PAGE_ABBREV 1
+# define ALT_INCOLL 1
+#endif
+
+#ifdef NF
+ % For Nuclear Fusion
+ % see Nuclear Fusion Vol. 28, No. 2 (1988),
+ % "Announcement [of] Guidelines for Bibliographical Citations"
+% same as AIP except for NAME_INVERT, NAME_UPPER, DATE_FIRST and
+% MIN_NAMES and MAX_NAMES set to use only three names if there are
+% 6 or more. Also, no EDIT_VAR, and use PAGE_START_O and PAGE_ABBREV.
+% There are still some nits to be picked (years in parentheses for
+% other than journals, volumes having Vol. before them and pages not
+% having p.)
+# define ATIT_SUPPRESS 1
+# define PAGE_START_J 1
+# define PAGE_START_O 1
+# define PAGE_ABBREV 1
+# define PHYSICS_JOUR 1
+# define ATIT_LOWER 1
+# define COMMA_DELIMIT 1
+# define VOLUME_SPACE 1
+# define MONTH_SUPPRESS 1
+# define PAREN_DATE 1
+# define NUM_SUPPRESS 1
+# define BOLD_VOL 1
+# define NAME_INVERT 1
+# define NAME_UPPER 1
+# define DATE_FIRST 1
+# define JOUR_DEEMPH 1
+# define MAX_NAMES 5
+# define MIN_NAMES 3
+#endif
+#ifdef NFLET
+ % For Nuclear Fusion Letters
+% same as NF except for MIN_NAMES and MAX_NAMES set to 5
+# define ATIT_SUPPRESS 1
+# define PAGE_START_J 1
+# define PAGE_START_O 1
+# define PAGE_ABBREV 1
+# define PHYSICS_JOUR 1
+# define ATIT_LOWER 1
+# define COMMA_DELIMIT 1
+# define VOLUME_SPACE 1
+# define MONTH_SUPPRESS 1
+# define PAREN_DATE 1
+# define NUM_SUPPRESS 1
+# define BOLD_VOL 1
+# define NAME_INVERT 1
+# define NAME_UPPER 1
+# define DATE_FIRST 1
+# define MAX_NAMES 5
+# define MIN_NAMES 5
+# define JOUR_DEEMPH 1
+#endif
+#ifdef IAEA
+ % For IAEA Conferences
+% same as NF except for MIN_NAMES and MAX_NAMES set to 1
+# define ATIT_SUPPRESS 1
+# define PAGE_START_J 1
+# define PHYSICS_JOUR 1
+# define EDIT_VAR 1
+# define ATIT_LOWER 1
+# define COMMA_DELIMIT 1
+# define VOLUME_SPACE 1
+# define MONTH_SUPPRESS 1
+# define PAREN_DATE 1
+# define NUM_SUPPRESS 1
+# define BOLD_VOL 1
+# define NAME_INVERT 1
+# define NAME_UPPER 1
+# define DATE_FIRST 1
+# define MAX_NAMES 1
+# define MIN_NAMES 1
+# define JOUR_DEEMPH 1
+#endif
+#ifdef CPC
+ % For Computer Physics Communications
+% same as AIP except for NAME_INVERT, DATE_FIRST
+# define ATIT_SUPPRESS 1
+# define PAGE_START_J 1
+# define PHYSICS_JOUR 1
+# define MAX_NAMES 5
+# define MIN_NAMES 1
+# define EDIT_VAR 1
+# define ATIT_LOWER 1
+# define COMMA_DELIMIT 1
+# define VOLUME_SPACE 1
+# define MONTH_SUPPRESS 1
+# define PAREN_DATE 1
+# define NUM_SUPPRESS 1
+# define BOLD_VOL 1
+# define NAME_INVERT 1
+# define DATE_FIRST 1
+# define JOUR_DEEMPH 1
+#endif
+#ifdef RMP
+ % For Reviews of Modern Physics,
+% except first name not inverted yet and order of fields not hacked
+# define LAB_ALPH 1
+# define SORTED 1
+# define RMP_LABELS 1
+# define ATIT_SUPPRESS 1
+# define ATIT_LOWER 1
+# define MONTH_SUPRESS 1
+# define NUM_SUPPRESS 1
+# define VOL_SUPPRESS 1
+# define BOLD_VOL 1
+# define BRACKET_NOTE 1
+# define PAGE_START_J 1
+# define PAGE_START_O 1
+# define PAGE_ABBREV 1
+# define PHYSICS_JOUR 1
+# define COMMA_DELIMIT 1
+# define EDIT_VAR 1
+# define JOUR_DEEMPH 1
+#endif
+#ifdef REPORT
+ % For internal reports
+% same as AIP except for ATIT_SUPPRESS, MONTH_SUPPRESS, PAGE_START_J,
+% NUM_SUPPRESS, MAX_NAMES, MIN_NAMES
+# define PHYSICS_JOUR 1
+# define EDIT_VAR 1
+# define ATIT_LOWER 0
+# define COMMA_DELIMIT 1
+# define VOLUME_SPACE 1
+# define PAREN_DATE 1
+# define BOLD_VOL 1
+# define JOUR_DEEMPH 1
+#endif
+#ifdef APALIKE
+ % For American Psychological Association
+ % (same as ALPHA but with NAMED_REFS set and NAME_FULL unset)
+# define LAB_ALPH 1
+# define SORTED 1
+# define NAME_FULL 0
+# define ATIT_LOWER 1
+# define MONTH_FULL 1
+# define JOUR_FULL 1
+# define NAMED_REFS 1
+# define NAME_INVERT 1
+#endif
+#ifdef PPCF
+ % A physics version of APALIKE
+# define PHYSICS_JOUR 1
+# define LAB_ALPH 1
+# define SORTED 1
+# define NAME_FULL 0
+# define ATIT_LOWER 0
+# define ATIT_SUPPRESS 1
+# define MONTH_FULL 1
+# define JOUR_FULL 0
+# define NAMED_REFS 1
+# define NAME_INVERT 1
+# define ETAL_EMPH 1
+# define CSC_NAMES 1
+# define NUM_SUPPRESS 1
+# define BOLD_VOL 1
+# define VOLUME_SPACE 1
+#endif
+#ifdef JCP
+ % For Journal of Computational Physics
+ % Cris Barnes and Dave Mikkelson, 9/25/89
+# define ATIT_SUPPRESS 1
+# define MONTH_SUPPRESS 1
+# define PAREN_DATE 1
+# define VOLUME_SPACE 1
+# define NUM_SUPPRESS 1
+# define BOLD_VOL 1
+# define PAGE_START_J 1
+# define PAGE_START_O 1
+# define PAGE_ABBREV 1
+# define PHYSICS_JOUR 1
+# define COMMA_DELIMIT 1
+# define NOTE_SUPPRESS 1
+# define EDIT_VAR 1
+# define CSC_NAMES 1
+#endif
+% This is the start of btxbst.doc
+
+% BibTeX `plain' family
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+#if NAMED_REFS
+% BibTeX `apalike' bibliography style (24-Jan-88 version)
+% Adapted from the `alpha' style, version 0.99a; for BibTeX version 0.99a.
+% Copyright (C) 1988, all rights reserved.
+% Copying of this file is allowed, provided that if you make any changes at all
+% you name it something other than `apalike.bst'.
+% This restriction helps ensure that all copies are identical.
+% Differences between this style and `alpha' are generally heralded by a `%'.
+% The file btxbst.doc has the documentation for alpha.bst.
+%
+% This style should be used with the `apalike' LaTeX style (apalike.sty).
+% \cite's come out like "(Jones, 1986)" in the text but there are no labels
+% in the bibliography, and something like "(1986)" comes out immediately
+% after the author. Author (and editor) names appear as last name, comma,
+% initials. A `year' field is required for every entry, and so is either
+% an author (or in some cases, an editor) field or a key field.
+%
+% Editorial note:
+% Many journals require a style like `apalike', but I strongly, strongly,
+% strongly recommend that you not use it if you have a choice---use something
+% like `plain' instead. Mary-Claire van Leunen (A Handbook for Scholars,
+% Knopf, 1979) argues convincingly that a style like `plain' encourages better
+% writing than one like `apalike'. Furthermore the strongest arguments for
+% using an author-date style like `apalike'---that it's "the most practical"
+% (The Chicago Manual of Style, University of Chicago Press, thirteenth
+% edition, 1982, pages 400--401)---fall flat on their face with the new
+% computer-typesetting technology. For instance page 401 anachronistically
+% states "The chief disadvantage of [a style like `plain'] is that additions
+% or deletions cannot be made after the manuscript is typed without changing
+% numbers in both text references and list." LaTeX sidesteps the disadvantage.
+%
+% History:
+% 15-sep-86 (SK,OP) Original version, by Susan King and Oren Patashnik.
+% 10-nov-86 (OP) Truncated the sort.key$ string to the correct length
+% in bib.sort.order to eliminate error message.
+% 24-jan-88 (OP) Updated for BibTeX version 0.99a, from alpha.bst 0.99a;
+% apalike now sorts by author, then year, then title;
+% THIS `apalike' VERSION DOES NOT WORK WITH BIBTEX 0.98i.
+#endif APALIKE
+% Please notify Oren Patashnik (PATASHNIK@SCORE.STANFORD.EDU) of any bugs in
+% these standard styles or in this documentation file.
+%
+% This is file btxbxt.doc; it helps document bibliography styles,
+% and is also a template file that you can use to make
+% several different style files, if you have access to a C preprocessor.
+% For example, the standard styles were made by doing something like
+% cpp -P -DPLAIN btxbst.doc plain.txt
+% cpp -P -DUNSRT btxbst.doc unsrt.txt
+% cpp -P -DALPHA btxbst.doc alpha.txt
+% cpp -P -DABBRV btxbst.doc abbrv.txt
+% and then renaming after removing unwanted comments and blank lines.
+% If you don't have access,
+% you can edit this file by hand to imitate the preprocessor,
+% with the following explanation of the C preprocessor constructs used here.
+%
+% The output of the preprocessor is the same as the input, except that certain
+% lines will be excluded (and some blank lines will be added). The sequence
+% #if VAR
+% lines to be included when VAR is not zero
+% #else
+% lines to be included when VAR is zero
+% #endif
+% (with the #-signs appearing in column 1) means that one set or the other of
+% the lines are to be included depending on the value of VAR.
+% The #else part is optional. Comments can be added after #else and #endif.
+% Variables can be set by
+% #define VAR value
+% and one can also use #ifdef VAR to see if VAR has any value, and #ifndef
+% to see if it has none.
+% Another #if form used in this file is #if !VAR, which includes the lines
+% after the #if only if VAR is zero.
+%
+% Convention: Use all uppercase identifiers for these preprocessor variables
+% so you can spot them easily
+%
+% The command line to the preprocessor should define one of PLAIN, UNSRT, ALPHA
+% or ABBRV (though PLAIN will be used by default if none is given),
+% and the following lines will set various boolean variables to control the
+% various lines that are chosen from the rest of the file.
+% Each boolean variable should be set true (1) or false (0) in each style.
+% Here are the current variables, and their meanings:
+% LAB_ALPH: an alphabetic label is used (if false then a numeric
+% label is used)
+% SORTED: the entries should be sorted by label (if nonnumeric)
+% and other info, like authors (if false, then
+% entries remain in order of occurrence)
+% NAME_FULL: the authors, editors, etc., get the full names as
+% given in the bibliography file (if false, the first
+% names become initials)
+% ATIT_LOWER: titles of non-"books" (e.g., articles) should be
+% converted to lower-case, except the first letter or
+% first letter after a colon
+% (if false then they appear as in the database)
+% MONTH_FULL: months are spelled out in full (if false, then
+% they're abbreviated)
+% JOUR_FULL: macro journal names are spelled out in full
+% (if false then they are abbreviated, currently
+% as they appear in ACM publications)
+#ifndef UNSRT
+# ifndef ALPHA
+# ifndef ABBRV
+%# define PLAIN 1
+# endif
+# endif
+#endif
+#ifdef PLAIN
+% plain style (sorted numbers)
+# define LAB_ALPH 0
+# define SORTED 1
+# define NAME_FULL 1
+# define ATIT_LOWER 1
+# define MONTH_FULL 1
+# define JOUR_FULL 1
+#endif
+#ifdef UNSRT
+% unsrt style (unsorted numbers)
+# define LAB_ALPH 0
+# define SORTED 0
+# define NAME_FULL 1
+# define ATIT_LOWER 1
+# define MONTH_FULL 1
+# define JOUR_FULL 1
+#endif
+#ifdef ALPHA
+% alpha style (sorted short alphabetics)
+# define LAB_ALPH 1
+# define SORTED 1
+# define NAME_FULL 1
+# define ATIT_LOWER 1
+# define MONTH_FULL 1
+# define JOUR_FULL 1
+#endif
+#ifdef ABBRV
+% abbrv style (sorted numbers, with abbreviations)
+# define LAB_ALPH 0
+# define SORTED 1
+# define NAME_FULL 0
+# define ATIT_LOWER 1
+# define MONTH_FULL 0
+# define JOUR_FULL 0
+#endif
+%
+% Entry formatting: Similar to that recommended by Mary-Claire van Leunen
+% in "A Handbook for Scholars". Book-like titles are italicized
+% (emphasized) and non-book titles are converted to sentence
+% capitilization (and not enclosed in quotes).
+% This file outputs a \newblock between major blocks of an entry
+% (the name \newblock is analogous to the names \newline and \newpage)
+% so that the user can obtain an "open" format, which has a line break
+% before each block and lines after the first are indented within blocks,
+% by giving the optional \documentstyle argument `openbib';
+% The default is the "closed" format---blocks runs together.
+%
+% Citation alphabetic label format:
+% [Knu73] for single author (or editor or key)
+% [AHU83] (first letters of last names) for multiple authors
+%
+% Citation label numberic format:
+% [number]
+%
+% Reference list ordering for sorted, alphabetic lables:
+% alphabetical by citation label, then by author(s) or whatever
+% passes for author in the absence of one, then by year,
+% then title
+%
+% Reference list ordering for sorted, numeric lables:
+% alphabetical by author(s) or whatever passes
+% for author in the absence of one, then by year, then title
+%
+% Reference list ordering for unsorted:
+% by the order cited in the text
+%
+% History
+% 12/16/84 (HWT) Original `plain' version, by Howard Trickey.
+% 12/23/84 (LL) Some comments made by Leslie Lamport.
+% 2/16/85 (OP) Changes based on LL's comments, Oren Patashnik.
+% 2/17/85 (HWT) Template file and other standard styles made.
+% 3/28/85 (OP) First release, version 0.98b for BibTeX 0.98f.
+% 5/ 9/85 (OP) Version 0.98c for BibTeX 0.98i:
+% fixed Theoretical Computer Science macro name;
+% fixed the format.vol.num.pages function.
+% 1/24/88 (OP) Version 0.99a for BibTeX 0.99a, main changes:
+% assignment operator (:=) arguments reversed;
+% the preamble$ function outputs the database PREAMBLE;
+% entry.max$ and global.max$ (built-in) variables replace
+% entry.string.max and global.string.max functions;
+% alphabetizing by year then title, not just title;
+% many unnecessary ties removed; \it ==> \em;
+% the `alpha' style uses a superscripted `+' instead of a
+% `*' for unnamed names in constructing the label;
+% the `abbrv' style now uses "Mar." and "Sept.";
+% the functions calc.label and presort now look at just
+% the fields they're supposed to;
+% BOOKLET, MASTERSTHESIS, TECHREPORT use nonbook titles;
+% INBOOK and INCOLLECTION take an optional type (e.g.
+% type = "Section"), overriding the default "chapter";
+% BOOK, INBOOK, INCOLLECTION, and PROCEEDINGS now allow
+% either volume or number, not just volume;
+% INCOLLECTION now allows an edition and series field;
+% PROCEEDINGS and INPROCEEDINGS now use the address field
+% to tell where a conference was held;
+% INPROCEEDINGS and PROCEEDINGS now allow either volume
+% or number, and also a series field;
+% MASTERSTHESIS and PHDTHESIS accept types other than
+% "Master's thesis" and "PhD thesis";
+% UNPUBLISHED now outputs, in one block, note then date;
+% MANUAL now prints out the organization in
+% the first block if the author field is empty;
+% MISC can't be empty---it requires some optional field.
+% 3/23/88 (OP) Version 0.99b for BibTeX 0.99c---changed the three
+% erroneous occurrences of `cite ' to `cite$ '; this
+% change didn't affect the four standard styles, so the
+% 0.99a versions of those styles are still current.
+%
+% The ENTRY declaration
+% Like Scribe's (according to pages 231-2 of the April '84 edition),
+% but no fullauthor or editors fields because BibTeX does name handling.
+% The annote field is commented out here because this family doesn't
+% include an annotated bibliography style. And in addition to the fields
+% listed here, BibTeX has a built-in crossref field, explained later.
+
+ENTRY
+% Fields:
+ { address
+% Usually the address of a publisher or other type of organization.
+% Put information in this field only if it helps the reader find the
+% thing---for example you should omit the address of a major
+% publisher entirely. For a PROCEEDINGS or an INPROCEEDINGS,
+% however, it's the address of the conference; for those two entry
+% types, include the publisher's or organization's address, if
+% necessary, in the publisher or organization field.
+% annote
+% Long annotation---for annotated bibliographies (begins sentence).
+ author
+% Name(s) of author(s), in BibTeX name format.
+ booktitle
+% Book title when the thing being referenced isn't the whole book.
+% For book entries, the title field should be used instead.
+ chapter
+% Chapter (or section or whatever) number.
+ edition
+% Edition of a book---should be an ordinal (e.g., "Second").
+ editor
+% Name(s) of editor(s), in BibTeX name format.
+% If there is also an author field, then the editor field should be
+% for the book or collection that the work appears in.
+ howpublished
+% How something strange has been published (begins sentence).
+ institution
+% Sponsoring institution of a technical report.
+ journal
+% Journal name (macros are provided for many).
+ key
+% Alphabetizing, labeling, and cross-referencing key
+% (needed when an entry has no author or editor).
+#if !NAMED_REFS
+ month
+#else NAMED_REFS
+% month not used in apalike
+#endif
+% Month (macros are provided).
+ note
+% To help the reader find a reference (begins sentence).
+ number
+% Number of a journal or technical report, or of a work in a series.
+ organization
+% Organization sponsoring a conference (or publishing a manual); if
+% the editor (or author) is empty, and if the organization produces
+% an awkward label or cross reference, you should put appropriately
+% condensed organization information in the key field as well.
+ pages
+% Page number or numbers (use `--' to separate a range, use `+'
+% to indicate pages following that don't form a simple range).
+ publisher
+% Publisher name.
+ school
+% School name (for theses).
+ series
+% The name of a series or set of books.
+% An individual book will will also have it's own title.
+ title
+% The title of the thing you're referred to.
+ type
+% Type of a Techreport (e.g., "Research Note") to be used instead of
+% the default "Technical Report"; or, similarly, the type of a
+% thesis; or of a part of a book.
+ volume
+% The volume number of a journal or multivolume work.
+ year
+% The year should contain only numerals (technically, it should end
+% with four numerals, after purification; doesn't a begin sentence).
+ }
+% There are no integer entry variables
+ {}
+% These string entry variables are used to form the citation label.
+% In a storage pinch, sort.label can be easily computed on the fly.
+#if LAB_ALPH
+#if SORTED
+ { label extra.label sort.label }
+#else !SORTED
+% It doesn't seem like a good idea to use an order-of-citation
+% reference list when using alphabetic labels, but when this happens
+% we do things a little differently
+ { label }
+#endif SORTED
+#else !LAB_ALPH
+ { label }
+#endif LAB_ALPH
+
+% Each entry function starts by calling output.bibitem, to write the
+% \bibitem and its arguments to the .BBL file. Then the various fields
+% are formatted and printed by output or output.check. Those functions
+% handle the writing of separators (commas, periods, \newblock's),
+% taking care not to do so when they are passed a null string.
+% Finally, fin.entry is called to add the final period and finish the
+% entry.
+%
+% A bibliographic reference is formatted into a number of `blocks':
+% in the open format, a block begins on a new line and subsequent
+% lines of the block are indented. A block may contain more than
+% one sentence (well, not a grammatical sentence, but something to
+% be ended with a sentence ending period). The entry functions should
+% call new.block whenever a block other than the first is about to be
+% started. They should call new.sentence whenever a new sentence is
+% to be started. The output functions will ensure that if two
+% new.sentence's occur without any non-null string being output between
+% them then there won't be two periods output. Similarly for two
+% successive new.block's.
+%
+% The output routines don't write their argument immediately.
+% Instead, by convention, that argument is saved on the stack to be
+% output next time (when we'll know what separator needs to come
+% after it). Meanwhile, the output routine has to pop the pending
+% output off the stack, append any needed separator, and write it.
+%
+% To tell which separator is needed, we maintain an output.state.
+% It will be one of these values:
+% before.all just after the \bibitem
+% mid.sentence in the middle of a sentence: comma needed
+% if more sentence is output
+% after.sentence just after a sentence: period needed
+% after.block just after a block (and sentence):
+% period and \newblock needed.
+% Note: These styles don't use after.sentence
+%
+% VAR: output.state : INTEGER -- state variable for output
+%
+% The output.nonnull function saves its argument (assumed to be nonnull)
+% on the stack, and writes the old saved value followed by any needed
+% separator. The ordering of the tests is decreasing frequency of
+% occurrence.
+%
+% output.nonnull(s) ==
+% BEGIN
+% s := argument on stack
+% if output.state = mid.sentence then
+% write$(pop() * ", ")
+% -- "pop" isn't a function: just use stack top
+% else
+% if output.state = after.block then
+% write$(add.period$(pop()))
+% newline$
+% write$("\newblock ")
+% else
+% if output.state = before.all then
+% write$(pop())
+% else -- output.state should be after.sentence
+% write$(add.period$(pop()) * " ")
+% fi
+% fi
+% output.state := mid.sentence
+% fi
+% push s on stack
+% END
+%
+% The output function calls output.nonnull if its argument is non-empty;
+% its argument may be a missing field (thus, not necessarily a string)
+%
+% output(s) ==
+% BEGIN
+% if not empty$(s) then output.nonnull(s)
+% fi
+% END
+%
+% The output.check function is the same as the output function except that, if
+% necessary, output.check warns the user that the t field shouldn't be empty
+% (this is because it probably won't be a good reference without the field;
+% the entry functions try to make the formatting look reasonable even when
+% such fields are empty).
+%
+% output.check(s,t) ==
+% BEGIN
+% if empty$(s) then
+% warning$("empty " * t * " in " * cite$)
+% else output.nonnull(s)
+% fi
+% END
+%
+% The output.bibitem function writes the \bibitem for the current entry
+% (the label should already have been set up), and sets up the separator
+% state for the output functions. And, it leaves a string on the stack
+% as per the output convention.
+%
+% output.bibitem ==
+% BEGIN
+% newline$
+% write$("\bibitem[") % for alphabetic labels,
+% write$(label) % these three lines
+% write$("]{") % are used
+% write$("\bibitem{") % this line for numeric labels
+% write$(cite$)
+% write$("}")
+% push "" on stack
+% output.state := before.all
+% END
+%
+% The fin.entry function finishes off an entry by adding a period to the
+% string remaining on the stack. If the state is still before.all
+% then nothing was produced for this entry, so the result will look bad,
+% but the user deserves it. (We don't omit the whole entry because the
+% entry was cited, and a bibitem is needed to define the citation label.)
+%
+% fin.entry ==
+% BEGIN
+% write$(add.period$(pop()))
+% newline$
+% END
+%
+% The new.block function prepares for a new block to be output, and
+% new.sentence prepares for a new sentence.
+%
+% new.block ==
+% BEGIN
+% if output.state <> before.all then
+% output.state := after.block
+% fi
+% END
+%
+% new.sentence ==
+% BEGIN
+% if output.state <> after.block then
+% if output.state <> before.all then
+% output.state := after.sentence
+% fi
+% fi
+% END
+%
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+% the variables s and t are temporary string holders
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+#if !COMMA_DELIMIT
+ { add.period$ write$
+#else COMMA_DELIMIT
+ { "," * write$
+#endif
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+#if NAMED_REFS
+% apalike needs this function because
+% the year has special punctuation;
+% apalike ignores the month
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { write$
+ " (" year * extra.label * ")" *
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+#endif NAMED_REFS
+
+FUNCTION {output.bibitem}
+{ newline$
+#if LAB_ALPH
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+#else
+ "\bibitem{" write$
+#endif LAB_ALPH
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+% This function finishes all entries.
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+#if !COMMA_DELIMIT
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+#else COMMA_DELIMIT
+{ skip$
+#endif
+}
+
+% These three functions pop one or two (integer) arguments from the stack
+% and push a single one, either 0 or 1.
+% The 'skip$ in the `and' and `or' functions are used because
+% the corresponding if$ would be idempotent
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+% Sometimes we begin a new block only if the block will be big enough. The
+% new.block.checka function issues a new.block if its argument is nonempty;
+% new.block.checkb does the same if either of its TWO arguments is nonempty.
+
+#if !NAMED_REFS
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+#endif !NAMED_REFS
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+#if !NAMED_REFS
+% The new.sentence.check functions are analogous.
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+#endif !NAMED_REFS
+
+% Here are some functions for formatting chunks of an entry.
+% By convention they either produce a string that can be followed by
+% a comma or period (using add.period$, so it is OK to end in a period),
+% or they produce the null string.
+%
+% A useful utility is the field.or.null function, which checks if the
+% argument is the result of pushing a `missing' field (one for which no
+% assignment was made when the current entry was read in from the database)
+% or the result of pushing a string having no non-white-space characters.
+% It returns the null string if so, otherwise it returns the field string.
+% Its main (but not only) purpose is to guarantee that what's left on the
+% stack is a string rather than a missing field.
+%
+% field.or.null(s) ==
+% BEGIN
+% if empty$(s) then return ""
+% else return s
+% END
+%
+% Another helper function is emphasize, which returns the argument emphazised,
+% if that is non-empty, otherwise it returns the null string. Italic
+% corrections aren't used, so this function should be used when punctation
+% will follow the result.
+%
+% emphasize(s) ==
+% BEGIN
+% if empty$(s) then return ""
+% else return "{\em " * s * "}"
+%
+% The format.names function formats the argument (which should be in
+% BibTeX name format) into "First Von Last, Junior", separated by commas
+% and with an "and" before the last (but ending with "et~al." if the last
+% of multiple authors is "others"). This function's argument should always
+% contain at least one name.
+%
+% VAR: nameptr, namesleft, numnames: INTEGER
+% pseudoVAR: nameresult: STRING (it's what's accumulated on the stack)
+%
+% format.names(s) ==
+% BEGIN
+% nameptr := 1
+% numnames := num.names$(s)
+% namesleft := numnames
+% while namesleft > 0
+% do
+% % for full names:
+% t := format.name$(s, nameptr, "{ff~}{vv~}{ll}{, jj}")
+% % for abbreviated first names:
+% t := format.name$(s, nameptr, "{f.~}{vv~}{ll}{, jj}")
+% if nameptr > 1 then
+% if namesleft > 1 then nameresult := nameresult * ", " * t
+% else if numnames > 2
+% then nameresult := nameresult * ","
+% fi
+% if t = "others"
+% then nameresult := nameresult * " et~al."
+% else nameresult := nameresult * " and " * t
+% fi
+% fi
+% else nameresult := t
+% fi
+% nameptr := nameptr + 1
+% namesleft := namesleft - 1
+% od
+% return nameresult
+% END
+%
+% The format.authors function returns the result of format.names(author)
+% if the author is present, or else it returns the null string
+%
+% format.authors ==
+% BEGIN
+% if empty$(author) then return ""
+% else return format.names(author)
+% fi
+% END
+%
+% Format.editors is like format.authors, but it uses the editor field,
+% and appends ", editor" or ", editors"
+%
+% format.editors ==
+% BEGIN
+% if empty$(editor) then return ""
+% else
+% if num.names$(editor) > 1 then
+% return format.names(editor) * ", editors"
+% else
+% return format.names(editor) * ", editor"
+% fi
+% fi
+% END
+%
+% Other formatting functions are similar, so no "comment version" will be
+% given for them.
+%
+% The `pop$' in this function gets rid of the duplicate `empty' value and
+% the `skip$' returns the duplicate field value
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+#if CSC_NAMES
+FUNCTION {caps}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\sc " swap$ * "}" * }
+ if$
+}
+#endif
+
+#if BOLD_VOL
+FUNCTION {embolden}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\bf " swap$ * "}" * }
+ if$
+}
+#endif
+
+#if BRACKET_NOTE
+FUNCTION {bracket}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "[" swap$ * "]" * }
+ if$
+}
+#endif
+
+#if PAREN_DATE
+FUNCTION {paren}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "(" swap$ * ")" * }
+ if$
+}
+#endif
+
+INTEGERS { nameptr namesleft numnames }
+
+#if MAX_NAMES
+INTEGERS { etal }
+#endif
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+#if !MAX_NAMES
+ numnames 'namesleft :=
+#else MAX_NAMES
+ numnames #MAX_NAMES >
+ s numnames "{ll}" format.name$ "others" = numnames #MIN_NAMES > and
+ or 'etal :=
+ etal
+ { #MIN_NAMES #1 + 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+#endif
+ { namesleft #0 > }
+#if NAME_FULL
+#if !NAME_INVERT
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+#else NAME_INVERT
+ { s nameptr "{vv~}{ll}{, jj}{, ff}" format.name$ 't :=
+#endif
+#else
+#if !NAME_INVERT
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+#else NAME_INVERT
+ { s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't := % last name first
+#endif
+#endif NAME_FULL
+#if NAME_UPPER
+ t "others" =
+ 'skip$
+ { t "u" change.case$ 't := }
+ if$
+#endif
+#if CSC_NAMES
+ t "others" =
+ 'skip$
+ { t caps 't := }
+ if$
+#endif
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+#if !MAX_NAMES
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+#if !ETAL_EMPH
+ { " et~al." * }
+#else ETAL_EMPH
+ { " {\em et~al.}" * }
+#endif ETAL_EMPH
+ { " and " * t * }
+ if$
+ }
+#else MAX_NAMES
+ { nameptr #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ etal or
+#if !ETAL_EMPH
+ { " et~al." * }
+#else ETAL_EMPH
+ { " {\em et~al.}" * }
+#endif ETAL_EMPH
+ { " and " * t * }
+ if$
+ }
+#endif
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+#if NAMED_REFS
+FUNCTION {format.key} % this function is just for apalike
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+#endif NAMED_REFS
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+#if EDIT_VAR
+FUNCTION {format.edited}
+{ editor empty$
+ { "" }
+ { "edited by " editor format.names * }
+ if$
+}
+#endif
+
+% The format.title function is used for non-book-like titles.
+% For most styles we convert to lowercase (except for the very first letter,
+% and except for the first one after a colon (followed by whitespace)),
+% and hope the user has brace-surrounded words that need to stay capitilized;
+% for some styles, however, we leave it as it is in the database.
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+#if ATIT_LOWER
+ { title "t" change.case$ }
+#else
+ 'title
+#endif ATIT_LOWER
+ if$
+}
+
+% By default, BibTeX sets the global integer variable global.max$ to the BibTeX
+% constant glob_str_size, the maximum length of a global string variable.
+% Analogously, BibTeX sets the global integer variable entry.max$ to
+% ent_str_size, the maximum length of an entry string variable.
+% The style designer may change these if necessary (but this is unlikely)
+
+% The n.dashify function makes each single `-' in a string a double `--'
+% if it's not already
+%
+% pseudoVAR: pageresult: STRING (it's what's accumulated on the stack)
+%
+% n.dashify(s) ==
+% BEGIN
+% t := s
+% pageresult := ""
+% while (not empty$(t))
+% do
+% if (first character of t = "-")
+% then
+% if (next character isn't)
+% then
+% pageresult := pageresult * "--"
+% t := t with the "-" removed
+% else
+% while (first character of t = "-")
+% do
+% pageresult := pageresult * "-"
+% t := t with the "-" removed
+% od
+% fi
+% else
+% pageresult := pageresult * the first character
+% t := t with the first character removed
+% fi
+% od
+% return pageresult
+% END
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+#define TEMP 0
+#if PAGE_START_J
+#define TEMP 1
+#endif
+#if PAGE_START_O
+#define TEMP 1
+#endif
+
+#if TEMP
+FUNCTION {first.page}
+{ 't :=
+ ""
+ { t empty$ not t #1 #1 substring$ "-" = not and }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+}
+#endif
+
+#if !NAMED_REFS
+% The format.date function is for the month and year, but we give a warning if
+% there's an empty year but the month is there, and we return the empty string
+% if they're both empty.
+
+FUNCTION {format.date}
+{ year empty$
+#if !MONTH_SUPPRESS
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+#else MONTH_SUPPRESS
+ { "" }
+ 'year
+#endif
+ if$
+}
+#endif !NAMED_REFS
+
+% The format.btitle is for formatting the title field when it is a book-like
+% entry---the style used here keeps it in uppers-and-lowers and emphasizes it.
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+% For several functions we'll need to connect two strings with a
+% tie (~) if the second one isn't very long (fewer than 3 characters).
+% The tie.or.space.connect function does that. It concatenates the two
+% strings on top of the stack, along with either a tie or space between
+% them, and puts this concatenation back onto the stack:
+%
+% tie.or.space.connect(str1,str2) ==
+% BEGIN
+% if text.length$(str2) < 3
+% then return the concatenation of str1, "~", and str2
+% else return the concatenation of str1, " ", and str2
+% END
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+% The either.or.check function complains if both fields or an either-or pair
+% are nonempty.
+%
+% either.or.check(t,s) ==
+% BEGIN
+% if empty$(s) then
+% warning$(can't use both " * t * " fields in " * cite$)
+% fi
+% END
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+% The format.bvolume function is for formatting the volume and perhaps
+% series name of a multivolume work. If both a volume and a series field
+% are there, we assume the series field is the title of the whole multivolume
+% work (the title field should be the title of the thing being referred to),
+% and we add an "of <series>". This function is called in mid-sentence.
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+% The format.number.series function is for formatting the series name
+% and perhaps number of a work in a series. This function is similar to
+% format.bvolume, although for this one the series must exist (and the
+% volume must not exist). If the number field is empty we output either
+% the series field unchanged if it exists or else the null string.
+% If both the number and series fields are there we assume the series field
+% gives the name of the whole series (the title field should be the title
+% of the work being one referred to), and we add an "in <series>".
+% We capitilize Number when this function is used at the beginning of a block.
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+% The format.edition function appends " edition" to the edition, if present.
+% We lowercase the edition (it should be something like "Third"), because
+% this doesn't start a sentence.
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+% The format.pages function is used for formatting a page range in a book
+% (and in rare circumstances, an article).
+%
+% The multi.page.check function examines the page field for a "-" or "," or "+"
+% so that format.pages can use "page" instead of "pages" if none exists.
+% Note: global.max$ here means "take the rest of the string"
+%
+% VAR: multiresult: INTEGER (actually, a boolean)
+%
+% multi.page.check(s) ==
+% BEGIN
+% t := s
+% multiresult := false
+% while ((not multiresult) and (not empty$(t)))
+% do
+% if (first character of t = "-" or "," or "+")
+% then multiresult := true
+% else t := t with the first character removed
+% fi
+% od
+% return multiresult
+% END
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+% This function doesn't begin a sentence so "pages" isn't capitalized.
+% Other functions that use this should keep that in mind.
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+#if !PAGE_ABBREV
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+#else PAGE_ABBREV
+ { "pp." pages n.dashify tie.or.space.connect }
+ { "p." pages tie.or.space.connect }
+#endif
+ if$
+ }
+ if$
+}
+
+#if TEMP
+FUNCTION {format.pages.a}
+{ pages empty$
+ { "" }
+#if !PAGE_ABBREV
+ { "page" pages first.page tie.or.space.connect }
+#else PAGE_ABBREV
+ { "p." pages first.page tie.or.space.connect }
+#endif
+ if$
+}
+#endif
+
+% The format.vol.num.pages function is for the volume, number, and page range
+% of a journal article. We use the format: vol(number):pages, with some
+% variations for empty fields. This doesn't begin a sentence.
+
+FUNCTION {format.vol.num.pages}
+#if !BOLD_VOL
+{ volume field.or.null
+#else BOLD_VOL
+{ volume field.or.null embolden
+#endif
+#if VOLUME_SPACE
+ " " swap$ * *
+#endif
+#if !NUM_SUPPRESS
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+#endif
+#if DATE_FIRST
+ format.date empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.date paren }
+ { " " * format.date paren * }
+ if$
+ }
+ if$
+#endif
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+#if !PAGE_START_J
+ { pop$ format.pages }
+#else PAGE_START_J
+ { pop$ format.pages.a }
+#endif
+#if !PAGE_START_J
+#if !DATE_FIRST
+#if !VOLUME_SPACE
+ { ":" * pages n.dashify * }
+#else VOLUME_SPACE
+ { ", " * pages n.dashify * }
+#endif
+#else DATE_FIRST
+ { " " * pages n.dashify *}
+#endif
+#else PAGE_START_J
+#if !DATE_FIRST
+#if !VOLUME_SPACE
+ { ":" * pages first.page * }
+#else VOLUME_SPACE
+ { ", " * pages first.page * }
+#endif
+#else DATE_FIRST
+ { " " * pages first.page *}
+#endif
+#endif
+ if$
+ }
+ if$
+}
+
+
+% The format.chapter.pages, if the chapter is present, puts whatever is in the
+% type field (or else "chapter" if type is empty) in front of a chapter number.
+% It then appends the pages, if present. This doesn't begin a sentence.
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+% The format.in.ed.booktitle function is used for starting out a sentence
+% that begins "In <booktitle>", putting an editor before the title if one
+% exists.
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+#if !COMMA_DELIMIT
+ { "In " booktitle emphasize * }
+#if !EDIT_VAR
+ { "In " format.editors * ", " * booktitle emphasize * }
+#else EDIT_VAR
+ { "In " booktitle emphasize * ", " * format.edited * }
+#endif
+#else COMMA_DELIMIT
+ { "in " booktitle emphasize * }
+#if !EDIT_VAR
+ { "in " format.editors * ", " * booktitle emphasize * }
+#else EDIT_VAR
+ { "in " booktitle emphasize * ", " * format.edited * }
+#endif
+#endif
+ if$
+ }
+ if$
+}
+
+#if !NAMED_REFS
+% The function empty.misc.check complains if all six fields are empty, and
+% if there's been no sorting or alphabetic-label complaint.
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+#if SORTED
+ key empty$ not and
+#else !SORTED
+#if LAB_ALPH
+ key empty$ not and
+#endif LAB_ALPH
+#endif SORTED
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+#endif
+
+% The function format.thesis.type returns either the (case-changed) type field,
+% if it is defined, or else the default string already on the stack
+% (like "Master's thesis" or "PhD thesis").
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+% The function format.tr.number makes a string starting with "Technical Report"
+% (or type, if that field is defined), followed by the number if there is one;
+% it returns the starting part (with a case change) even if there is no number.
+% This is used at the beginning of a sentence.
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+% Now come the cross-referencing functions (these are invoked because
+% one entry in the database file(s) cross-references another, by giving
+% the other entry's database key in a `crossref' field). This feature
+% allows one or more titled things that are part of a larger titled
+% thing to cross-reference the larger thing. These styles allow for
+% five posibilities: (1) an ARTICLE may cross-reference an ARTICLE;
+% (2) a BOOK, (3) INBOOK, or (4) INCOLLECTION may cross-reference a BOOK;
+% or (5) an INPROCEEDINGS may cross-reference a PROCEEDINGS.
+% Each of these is explained in more detail later.
+%
+% An ARTICLE entry type may cross reference another ARTICLE (this is
+% intended for when an entire journal is devoted to a single topic---
+% but since there is no JOURNAL entry type, the journal, too, should be
+% classified as an ARTICLE but without the author and title fields).
+% This will result in two warning messages for the journal's entry
+% if it's included in the reference list, but such is life.
+%
+% format.article.crossref ==
+% BEGIN
+% if empty$(key) then
+% if empty$(journal) then
+% warning$("need key or journal for " * cite$ *
+% " to crossref " * crossref)
+% return(" \cite{" * crossref * "}")
+% else
+% return("In " * emphazise.correct (journal) *
+% " \cite{" * crossref * "}")
+% fi
+% else
+% return("In " * key * " \cite{" * crossref * "}")
+% fi
+% END
+%
+% The other cross-referencing functions are similar, so no "comment version"
+% will be given for them.
+
+#if !NAMED_REFS
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+#if !JOUR_DEEMPH
+ { "In {\em " journal * "\/}" * }
+#else JOUR_DEEMPH
+ { "In " journal * }
+#endif
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+#else NAMED_REFS
+FUNCTION {format.article.crossref}
+{ "In" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+#endif NAMED_REFS
+
+#if !NAMED_REFS
+% We use just the last names of editors for a cross reference: either
+% "editor", or "editor1 and editor2", or "editor1 et~al." depending on
+% whether there are one, or two, or more than two editors.
+
+FUNCTION {format.crossref.editor}
+#if !CSC_NAMES
+{ editor #1 "{vv~}{ll}" format.name$
+#else CSC_NAMES
+{ editor #1 "{vv~}{ll}" format.name$ caps
+#endif
+ editor num.names$ duplicate$
+ #2 >
+#if !ETAL_EMPH
+ { pop$ " et~al." * }
+#else ETAL_EMPH
+ { pop$ " {\em et~al.}" * }
+#endif ETAL_EMPH
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+#if !ETAL_EMPH
+ { " et~al." * }
+#else ETAL_EMPH
+ { " {\em et~al.}" * }
+#endif ETAL_EMPH
+#if !CSC_NAMES
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+#else CSC_NAMES
+ { " and " * editor #2 "{vv~}{ll}" format.name$ caps * }
+#endif
+ if$
+ }
+ if$
+ }
+ if$
+}
+#endif
+
+% A BOOK (or INBOOK) entry type (assumed to be for a single volume in a
+% multivolume work) may cross reference another BOOK (the entire multivolume).
+% Usually there will be an editor, in which case we use that to construct the
+% cross reference; otherwise we use a nonempty key field or else the series
+% field (since the series gives the title of the multivolume work).
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+#if !NAMED_REFS
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+#else NAMED_REFS
+ "\cite{" * crossref * "}" * % this is for apalike
+#endif
+}
+
+% An INCOLLECTION entry type may cross reference a BOOK (assumed to be the
+% collection), or an INPROCEEDINGS may cross reference a PROCEEDINGS.
+% Often there will be an editor, in which case we use that to construct
+% the cross reference; otherwise we use a nonempty key field or else
+% the booktitle field (which gives the cross-referenced work's title).
+
+#if !NAMED_REFS
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+#else NAMED_REFS
+FUNCTION {format.incoll.inproc.crossref}
+{ "In" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+#endif NAMED_REFS
+
+% Now we define the type functions for all entry types that may appear
+% in the .BIB file---e.g., functions like `article' and `book'. These
+% are the routines that actually generate the .BBL-file output for
+% the entry. These must all precede the READ command. In addition, the
+% style designer should have a function `default.type' for unknown types.
+% Note: The fields (within each list) are listed in order of appearance,
+% except as described for an `inbook' or a `proceedings'.
+%
+% The article function is for an article in a journal. An article may
+% CROSSREF another article.
+% Required fields: author, title, journal, year
+% Optional fields: volume, number, pages, month, note
+%
+% article ==
+% BEGIN
+% output.bibitem
+% output.check(format.authors,"author")
+% new.block
+% output.check(format.title,"title")
+% new.block
+% if missing$(crossref) then
+% output.check(emphasize(journal),"journal")
+% output(format.vol.num.pages)
+% output.check(format.date,"year")
+% else
+% output.nonnull(format.article.crossref)
+% output(format.pages)
+% fi
+% new.block
+% output(note)
+% fin.entry
+% END
+%
+% The book function is for a whole book. A book may CROSSREF another book.
+% Required fields: author or editor, title, publisher, year
+% Optional fields: volume or number, series, address, edition, month,
+% note
+%
+% book ==
+% BEGIN
+% if empty$(author) then output.check(format.editors,"author and editor")
+% else output.check(format.authors,"author")
+% if missing$(crossref) then
+% either.or.check("author and editor",editor)
+% fi
+% fi
+% new.block
+% output.check(format.btitle,"title")
+% if missing$(crossref) then
+% output(format.bvolume)
+% new.block
+% output(format.number.series)
+% new.sentence
+% output.check(publisher,"publisher")
+% output(address)
+% else
+% new.block
+% output.nonnull(format.book.crossref)
+% fi
+% output(format.edition)
+% output.check(format.date,"year")
+% new.block
+% output(note)
+% fin.entry
+% END
+%
+% The other entry functions are all quite similar, so no "comment version"
+% will be given for them.
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+#if NAMED_REFS
+ author format.key output % special for
+ output.year.check % apalike
+#endif NAMED_REFS
+#if !ATIT_SUPPRESS
+ new.block
+ format.title "title" output.check
+#endif
+ new.block
+ crossref missing$
+#if !VOLUME_SPACE
+#if !JOUR_DEEMPH
+ { journal emphasize "journal" output.check
+#else JOUR_DEEMPH
+ { journal "journal" output.check
+#endif
+#else VOLUME_SPACE
+#if !JOUR_DEEMPH
+ { journal emphasize
+#else JOUR_DEEMPH
+ { journal field.or.null
+#endif
+#endif
+#if !NAMED_REFS
+#if !DATE_FIRST
+#if !PAREN_DATE
+ format.vol.num.pages output
+ format.date "year" output.check
+#else PAREN_DATE
+ format.vol.num.pages
+ format.date empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.date paren }
+ { " " * format.date paren * }
+ if$
+ }
+ if$
+ output
+#endif
+#else DATE_FIRST
+ format.vol.num.pages output
+#endif DATE_FIRST
+#else NAMED_REFS
+ format.vol.num.pages output
+#endif NAMED_REFS
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+#if !NAMED_REFS
+ { format.editors "author and editor" output.check }
+#else NAMED_REFS
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+#endif NAMED_REFS
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+#if NAMED_REFS
+ output.year.check % special for apalike
+#endif
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+#if !NAMED_REFS
+ format.date "year" output.check
+#endif
+ new.block
+ note output
+ fin.entry
+}
+
+% A booklet is a bound thing without a publisher or sponsoring institution.
+% Required: title
+% Optional: author, howpublished, address, month, year, note
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+#if !NAMED_REFS
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+#else NAMED_REFS
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ howpublished output
+ address output
+#endif NAMED_REFS
+ new.block
+ note output
+ fin.entry
+}
+
+% For the conference entry type, see inproceedings.
+
+% An inbook is a piece of a book: either a chapter and/or a page range.
+% It may CROSSREF a book. If there's no volume field, the type field
+% will come before number and series.
+% Required: author or editor, title, chapter and/or pages, publisher,year
+% Optional: volume or number, series, type, address, edition, month, note
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+#if !NAMED_REFS
+ { format.editors "author and editor" output.check }
+#else NAMED_REFS
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+#endif
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+#if NAMED_REFS
+ output.year.check % special for apalike
+#endif
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+#if !NAMED_REFS
+ format.date "year" output.check
+#endif
+ new.block
+ note output
+ fin.entry
+}
+
+% An incollection is like inbook, but where there is a separate title
+% for the referenced thing (and perhaps an editor for the whole).
+% An incollection may CROSSREF a book.
+% Required: author, title, booktitle, publisher, year
+% Optional: editor, volume or number, series, type, chapter, pages,
+% address, edition, month, note
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+#if NAMED_REFS
+ author format.key output % special for
+ output.year.check % apalike
+#endif NAMED_REFS
+#if !ATIT_SUPPRESS
+ new.block
+ format.title "title" output.check
+#else
+#if !ALT_INCOLL
+ new.block
+ format.title "title" output.check
+#endif !ALT_INCOLL
+#endif !ATIT_SUPPRESS
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+#if !ALT_INCOLL
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+#endif !ALT_INCOLL
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+#if !NAMED_REFS
+ format.date "year" output.check
+#endif !NAMED_REFS
+#if ALT_INCOLL
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+#endif ALT_INCOLL
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+% An inproceedings is an article in a conference proceedings, and it may
+% CROSSREF a proceedings. If there's no address field, the month (& year)
+% will appear just before note.
+% Required: author, title, booktitle, year
+% Optional: editor, volume or number, series, pages, address, month,
+% organization, publisher, note
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+#if NAMED_REFS
+ author format.key output % special for
+ output.year.check % apalike
+#endif NAMED_REFS
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+#if !NAMED_REFS
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+#else NAMED_REFS
+ address output % for apalike
+ new.sentence % there's no year
+ organization output % here so things
+ publisher output % are simpler
+#endif NAMED_REFS
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+% The conference function is included for Scribe compatibility.
+
+FUNCTION {conference} { inproceedings }
+
+% A manual is technical documentation.
+% Required: title
+% Optional: author, organization, address, edition, month, year, note
+
+FUNCTION {manual}
+{ output.bibitem
+#if !NAMED_REFS
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+#else NAMED_REFS
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+#endif NAMED_REFS
+ new.block
+ note output
+ fin.entry
+}
+
+% A mastersthesis is a Master's thesis.
+% Required: author, title, school, year
+% Optional: type, address, month, note
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+#if NAMED_REFS
+ author format.key output % special for
+ output.year.check % apalike
+#endif NAMED_REFS
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+#if !NAMED_REFS
+ format.date "year" output.check
+#endif !NAMED_REFS
+ new.block
+ note output
+ fin.entry
+}
+
+% A misc is something that doesn't fit elsewhere.
+% Required: at least one of the `optional' fields
+% Optional: author, title, howpublished, month, year, note
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+#if !NAMED_REFS
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+#else NAMED_REFS
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title output
+ new.block
+ howpublished output
+#endif NAMED_REFS
+ new.block
+ note output
+ fin.entry
+#if !NAMED_REFS
+ empty.misc.check
+#endif
+}
+
+% A phdthesis is like a mastersthesis.
+% Required: author, title, school, year
+% Optional: type, address, month, note
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+#if NAMED_REFS
+ author format.key output % special for
+ output.year.check % apalike
+#endif NAMED_REFS
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+#if !NAMED_REFS
+ format.date "year" output.check
+#endif !NAMED_REFS
+ new.block
+ note output
+ fin.entry
+}
+
+% A proceedings is a conference proceedings.
+% If there is an organization but no editor field, the organization will
+% appear as the first optional field (we try to make the first block nonempty);
+% if there's no address field, the month (& year) will appear just before note.
+% Required: title, year
+% Optional: editor, volume or number, series, address, month,
+% organization, publisher, note
+
+FUNCTION {proceedings}
+{ output.bibitem
+#if !NAMED_REFS
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+#else NAMED_REFS
+ format.editors output
+ editor format.key output % special for
+ output.year.check % apalike
+#endif NAMED_REFS
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+#if !NAMED_REFS
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+#else NAMED_REFS
+ address output % for apalike
+ new.sentence % we always output
+ organization output % a nonempty organization
+ publisher output % here
+#endif NAMED_REFS
+ new.block
+ note output
+ fin.entry
+}
+
+% A techreport is a technical report.
+% Required: author, title, institution, year
+% Optional: type, number, address, month, note
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+#if NAMED_REFS
+ author format.key output % special for
+ output.year.check % apalike
+#endif NAMED_REFS
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+#if !NAMED_REFS
+ format.date "year" output.check
+#endif !NAMED_REFS
+ new.block
+ note output
+ fin.entry
+}
+
+% An unpublished is something that hasn't been published.
+% Required: author, title, note
+% Optional: month, year
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+#if NAMED_REFS
+ author format.key output % special for
+ output.year.check % apalike
+#endif NAMED_REFS
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+#if !NAMED_REFS
+ format.date output
+#endif
+ fin.entry
+}
+
+% We use entry type `misc' for an unknown type; BibTeX gives a warning.
+
+FUNCTION {default.type} { misc }
+
+% Here are macros for common things that may vary from style to style.
+% Users are encouraged to use these macros.
+%
+% Months are either written out in full or abbreviated
+
+#if MONTH_FULL
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+#else !MONTH_FULL
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+#endif MONTH_FULL
+
+% Journals are either written out in full or abbreviated;
+% the abbreviations are like those found in ACM publications.
+%
+% To get a completely different set of abbreviations, it may be best to make
+% a separate .bib file with nothing but those abbreviations; users could then
+% include that file name as the first argument to the \bibliography command
+
+#if JOUR_FULL
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+#else !JOUR_FULL
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Programming"}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Gr."}
+
+MACRO {toms} {"ACM Trans. Math. Softw."}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+#if PHYSICS_JOUR
+#include "phyjfull.btx"
+#endif PHYSICS_JOUR
+
+#endif JOUR_FULL
+
+% Now we read in the .BIB entries.
+
+READ
+
+% The sortify function converts to lower case after purify$ing; it's
+% used in sorting and in computing alphabetic labels after sorting
+%
+% The chop.word(w,len,s) function returns either s or, if the first len
+% letters of s equals w (this comparison is done in the third line of the
+% function's definition), it returns that part of s after w.
+
+#if SORTED
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+#else !SORTED
+#if LAB_ALPH
+
+% We need the chop.word stuff for the dubious unsorted-list-with-labels case.
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+#endif LAB_ALPH
+#endif SORTED
+
+% This long comment applies only to alphabetic labels
+%
+% The format.lab.names function makes a short label by using the initials of
+% the von and Last parts of the names (but if there are more than four names,
+% (i.e., people) it truncates after three and adds a superscripted "+";
+% it also adds such a "+" if the last of multiple authors is "others").
+% If there is only one name, and its von and Last parts combined have just
+% a single name-token ("Knuth" has a single token, "Brinch Hansen" has two),
+% we take the first three letters of the last name. The boolean
+% et.al.char.used tells whether we've used a superscripted "+", so that we
+% know whether to include a LaTeX macro for it.
+%
+% format.lab.names(s) ==
+% BEGIN
+% numnames := num.names$(s)
+% if numnames > 1 then
+% if numnames > 4 then
+% namesleft := 3
+% else
+% namesleft := numnames
+% nameptr := 1
+% nameresult := ""
+% while namesleft > 0
+% do
+% if (name_ptr = numnames) and
+% format.name$(s, nameptr, "{ff }{vv }{ll}{ jj}") = "others"
+% then nameresult := nameresult * "{\etalchar{+}}"
+% et.al.char.used := true
+% else nameresult := nameresult *
+% format.name$(s, nameptr, "{v{}}{l{}}")
+% nameptr := nameptr + 1
+% namesleft := namesleft - 1
+% od
+% if numnames > 4 then
+% nameresult := nameresult * "{\etalchar{+}}"
+% et.al.char.used := true
+% else
+% t := format.name$(s, 1, "{v{}}{l{}}")
+% if text.length$(t) < 2 then % there's just one name-token
+% nameresult := text.prefix$(format.name$(s,1,"{ll}"),3)
+% else
+% nameresult := t
+% fi
+% fi
+% return nameresult
+% END
+%
+% Exactly what fields we look at in constructing the primary part of the label
+% depends on the entry type; this selectivity (as opposed to, say, always
+% looking at author, then editor, then key) helps ensure that "ignored" fields,
+% as described in the LaTeX book, really are ignored. Note that MISC is part
+% of the deepest `else' clause in the nested part of calc.label; thus, any
+% unrecognized entry type in the database is handled correctly.
+%
+% There is one auxiliary function for each of the four different sequences of
+% fields we use. The first of these functions looks at the author field, and
+% then, if necessary, the key field. The other three functions, which might
+% look at two fields and the key field, are similar, except that the key field
+% takes precedence over the organization field (for labels---not for sorting).
+%
+% The calc.label function calculates the preliminary label of an entry, which
+% is formed by taking three letters of information from the author or editor or
+% key or organization field (depending on the entry type and on what's empty,
+% but ignoring a leading "The " in the organization), and appending the last
+% two characters (digits) of the year. It is an error if the appropriate fields
+% among author, editor, organization, and key are missing, and we use
+% the first three letters of the cite$ in desperation when this happens.
+% The resulting label has the year part, but not the name part, purify$ed
+% (purify$ing the year allows some sorting shenanigans by the user).
+%
+% This function also calculates the version of the label to be used in sorting.
+%
+% The final label may need a trailing 'a', 'b', etc., to distinguish it from
+% otherwise identical labels, but we can't calculated those "extra.label"s
+% until after sorting.
+%
+% calc.label ==
+% BEGIN
+% if type$ = "book" or "inbook" then
+% author.editor.key.label
+% else if type$ = "proceedings" then
+% editor.key.organization.label
+% else if type$ = "manual" then
+% author.key.organization.label
+% else
+% author.key.label
+% fi fi fi
+% label := label * substring$(purify$(field.or.null(year)), -1, 2)
+% % assuming we will also sort, we calculate a sort.label
+% sort.label := sortify(label), but use the last four, not two, digits
+% END
+
+#if LAB_ALPH
+
+#if !NAMED_REFS
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+#endif !NAMED_REFS
+
+#if !NAMED_REFS
+FUNCTION {format.lab.names}
+#if !RMP_LABELS
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+#else RMP_LABELS
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #2 >
+#if !CSC_NAMES
+#if !ETAL_EMPH
+ { s #1 "{vv }{ll}" format.name$ " et~al." * }
+#else ETAL_EMPH
+ { s #1 "{vv }{ll}" format.name$ " {\em et~al.}" * }
+#endif ETAL_EMPH
+ { s #1 "{vv }{ll}" format.name$
+#else CSC_NAMES
+#if !ETAL_EMPH
+ { s #1 "{vv }{ll}" format.name$ caps " et~al." * }
+#else ETAL_EMPH
+ { s #1 "{vv }{ll}" format.name$ caps " {\em et~al.}" * }
+#endif ETAL_EMPH
+ { s #1 "{vv }{ll}" format.name$ caps
+#endif CSC_NAMES
+ s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+#if !ETAL_EMPH
+ { " et~al." * }
+#else ETAL_EMPH
+ { " {\em et~al.}" * }
+#endif ETAL_EMPH
+#if !CSC_NAMES
+ { " and " * s #2 "{vv }{ll}" format.name$ * }
+#else CSC_NAMES
+ { " and " * s #2 "{vv }{ll}" format.name$ caps * }
+#endif CSC_NAMES
+ if$
+ }
+ if$
+ }
+#if !CSC_NAMES
+ { s #1 "{vv }{ll}" format.name$ }
+#else CSC_NAMES
+ { s #1 "{vv }{ll}" format.name$ caps }
+#endif
+ if$
+}
+#endif
+#else NAMED_REFS
+% There are three apalike cases: one person (Jones),
+% two (Jones and de~Bruijn), and more (Jones et~al.).
+% This function is much like format.crossref.editors.
+%
+FUNCTION {format.lab.names}
+{ 's :=
+#if !CSC_NAMES
+ s #1 "{vv~}{ll}" format.name$
+#else CSC_NAMES
+ s #1 "{vv~}{ll}" format.name$ caps
+#endif CSC_NAMES
+ s num.names$ duplicate$
+ #2 >
+#if !ETAL_EMPH
+ { pop$ " et~al." * }
+#else ETAL_EMPH
+ { pop$ " {\em et~al.}" * }
+#endif ETAL_EMPH
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+#if !ETAL_EMPH
+ { " et~al." * }
+#else ETAL_EMPH
+ { " {\em et~al.}" * }
+#endif ETAL_EMPH
+#if !CSC_NAMES
+ { " and " * s #2 "{vv~}{ll}" format.name$ * }
+#else CSC_NAMES
+ { " and " * s #2 "{vv~}{ll}" format.name$ caps * }
+#endif
+ if$
+ }
+ if$
+ }
+ if$
+}
+#endif NAMED_REFS
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+#if SORTED
+ { cite$ #1 #3 substring$ }
+#else !SORTED % need warning here because we won't give it later
+ { "for label, need author or key in " cite$ * warning$
+ cite$ #1 #3 substring$
+ }
+#endif SORTED
+#if !NAMED_REFS
+ { key #3 text.prefix$ }
+#else NAMED_REFS
+ 'key % apalike uses the whole key
+#endif NAMED_REFS
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+#if SORTED
+ { cite$ #1 #3 substring$ }
+#else !SORTED % need warning here because we won't give it later
+ { "for label, need author, editor, or key in " cite$ * warning$
+ cite$ #1 #3 substring$
+ }
+#endif SORTED
+#if !NAMED_REFS
+ { key #3 text.prefix$ }
+#else NAMED_REFS
+ 'key % apalike uses the whole key
+#endif NAMED_REFS
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+#if !NAMED_REFS
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+#if SORTED
+ { cite$ #1 #3 substring$ }
+#else !SORTED % need warning here because we won't give it later
+ { "for label, need author, key, or organization in " cite$ *
+ warning$
+ cite$ #1 #3 substring$
+ }
+#endif SORTED
+#if !RMP_LABELS
+ { "The " #4 organization chop.word #3 text.prefix$ }
+#else RMP_LABELS
+ { "The " #4 organization chop.word #9 text.prefix$ }
+#endif
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+#if SORTED
+ { cite$ #1 #3 substring$ }
+#else !SORTED % need warning here because we won't give it later
+ { "for label, need editor, key, or organization in " cite$ *
+ warning$
+ cite$ #1 #3 substring$
+ }
+#endif SORTED
+#if !RMP_LABELS
+ { "The " #4 organization chop.word #3 text.prefix$ }
+#else RMP_LABELS
+ { "The " #4 organization chop.word #9 text.prefix$ }
+#endif
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+#else NAMED_REFS
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key, no organization
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+#endif NAMED_REFS
+
+FUNCTION {calc.label}
+#if !KEY_CITE
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+#if !NAMED_REFS
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+#else NAMED_REFS
+ 'editor.key.label % apalike ignores organization
+ 'author.key.label % for labeling and sorting
+#endif NAMED_REFS
+ if$
+ }
+ if$
+#if !NAMED_REFS
+ duplicate$
+#if !RMP_LABELS
+ year field.or.null purify$ #-1 #2 substring$
+#else RMP_LABELS
+ " " * year field.or.null purify$ #-1 #4 substring$
+#endif
+ *
+ 'label :=
+ year field.or.null purify$ #-1 #4 substring$
+ *
+ sortify 'sort.label :=
+#else NAMED_REFS
+ ", " % these three lines are
+ * % for apalike, which
+ year field.or.null purify$ #-1 #4 substring$ % uses all four digits
+ *
+ 'label :=
+#endif NAMED_REFS
+}
+#else KEY_CITE
+{ cite$ 'label :=
+label sortify 'sort.label :=
+}
+#endif
+
+% It doesn't seem like a particularly good idea to use an order-of-citation
+% reference list when using alphabetic labels, but we need to have a
+% special pass to calculate labels when this happens.
+
+#if !SORTED
+
+ITERATE {calc.label}
+
+#endif !SORTED
+
+#endif LAB_ALPH
+
+% When sorting, we compute the sortkey by executing "presort" on each entry.
+% The presort key contains a number of "sortify"ed strings, concatenated
+% with multiple blanks between them. This makes things like "brinch per"
+% come before "brinch hansen per".
+%
+% The fields used here are: the sort.label for alphabetic labels (as set by
+% calc.label), followed by the author names (or editor names or organization
+% (with a leading "The " removed) or key field, depending on entry type and on
+% what's empty), followed by year, followed by the first bit of the title
+% (chopping off a leading "The ", "A ", or "An ").
+% Names are formatted: Von Last First Junior.
+% The names within a part will be separated by a single blank
+% (such as "brinch hansen"), two will separate the name parts themselves
+% (except the von and last), three will separate the names,
+% four will separate the names from year (and from label, if alphabetic),
+% and four will separate year from title.
+%
+% The sort.format.names function takes an argument that should be in
+% BibTeX name format, and returns a string containing " "-separated
+% names in the format described above. The function is almost the same
+% as format.names.
+
+#if SORTED
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+#if NAME_FULL
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+#else
+ if$ % apalike uses initials
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't := % <= here
+#endif NAME_FULL
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+% The sort.format.title function returns the argument,
+% but first any leading "A "'s, "An "'s, or "The "'s are removed.
+% The chop.word function uses s, so we need another string variable, t
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+% The auxiliary functions here, for the presort function, are analogous to
+% the ones for calc.label; the same comments apply, except that the
+% organization field takes precedence here over the key field. For sorting
+% purposes, we still remove a leading "The " from the organization field.
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+#if !NAMED_REFS
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+#else NAMED_REFS
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+#endif NAMED_REFS
+
+#if !NAMED_REFS
+% There is a limit, entry.max$, on the length of an entry string variable
+% (which is what its sort.key$ is), so we take at most that many characters
+% of the constructed key, and hope there aren't many references that match
+% to that many characters!
+
+FUNCTION {presort}
+#if LAB_ALPH
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+#else !LAB_ALPH
+{ type$ "book" =
+#endif LAB_ALPH
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+#if LAB_ALPH
+ *
+#endif LAB_ALPH
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+#else NAMED_REFS
+% apalike uses two sorting passes; the first one sets the
+% labels so that the `a's, `b's, etc. can be computed;
+% the second pass puts the references in "correct" order.
+% The presort function is for the first pass. It computes
+% label, sort.label, and title, and then concatenates.
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$ % for
+ 'sort.label := % apalike
+ sort.label % style
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+#endif NAMED_REFS
+
+ITERATE {presort}
+
+% And now we can sort
+
+#if !NAMED_REFS
+SORT
+#else NAMED_REFS
+SORT % by label, sort.label, title---for final label calculation
+#endif
+
+#endif SORTED
+
+% This long comment applies only to alphabetic labels, when sorted
+%
+% Now comes the final computation for alphabetic labels, putting in the 'a's
+% and 'b's and so forth if required. This involves two passes: a forward
+% pass to put in the 'b's, 'c's and so on, and a backwards pass
+% to put in the 'a's (we don't want to put in 'a's unless we know there
+% are 'b's).
+% We have to keep track of the longest (in width$ terms) label, for use
+% by the "thebibliography" environment.
+%
+% VAR: longest.label, last.sort.label, next.extra: string
+% longest.label.width, last.extra.num: integer
+%
+% initialize.longest.label ==
+% BEGIN
+% longest.label := ""
+% last.sort.label := int.to.chr$(0)
+% next.extra := ""
+% longest.label.width := 0
+% last.extra.num := 0
+% END
+%
+% forward.pass ==
+% BEGIN
+% if last.sort.label = sort.label then
+% last.extra.num := last.extra.num + 1
+% extra.label := int.to.chr$(last.extra.num)
+% else
+% last.extra.num := chr.to.int$("a")
+% extra.label := ""
+% last.sort.label := sort.label
+% fi
+% END
+%
+% reverse.pass ==
+% BEGIN
+% if next.extra = "b" then
+% extra.label := "a"
+% fi
+% label := label * extra.label
+% if width$(label) > longest.label.width then
+% longest.label := label
+% longest.label.width := width$(label)
+% fi
+% next.extra := extra.label
+% END
+
+#if LAB_ALPH
+
+#if SORTED
+
+#if !NAMED_REFS
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+#else NAMED_REFS
+STRINGS { last.label next.extra } % apalike labels are only for the text;
+
+INTEGERS { last.extra.num } % there are none in the bibliography
+
+FUNCTION {initialize.extra.label.stuff} % and hence there is no `longest.label'
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+}
+#endif NAMED_REFS
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+#if !NAMED_REFS
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+#endif !NAMED_REFS
+ extra.label 'next.extra :=
+}
+
+#if !NAMED_REFS
+EXECUTE {initialize.longest.label}
+#else NAMED_REFS
+EXECUTE {initialize.extra.label.stuff}
+#endif NAMED_REFS
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+#if NAMED_REFS
+% Now that the label is right we sort for real,
+% on sort.label then year then title. This is
+% for the second sorting pass.
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT % by sort.label, year, title---giving final bibliography order
+#endif NAMED_REFS
+#else !SORTED
+
+% It still doesn't seem like a good idea to use an order-of-citation
+% reference list when using alphabetic labels, but when this happens we
+% must compute the longest label
+
+STRINGS { longest.label }
+
+INTEGERS { longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+#endif SORTED
+
+#else !LAB_ALPH
+
+% Now comes the computation for numeric labels.
+% We use either the sorted order or original order.
+% We still have to keep track of the longest (in width$ terms) label, for use
+% by the "thebibliography" environment.
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+#endif LAB_ALPH
+
+% Now we're ready to start writing the .BBL file.
+% We begin, if necessary, with a LaTeX macro for unnamed names in an alphabetic
+% label; next comes stuff from the `preamble' command in the database files.
+% Then we give an incantation containing the command
+% \begin{thebibliography}{...}
+% where the `...' is the longest label.
+%
+% We also call init.state.consts, for use by the output routines.
+
+FUNCTION {begin.bib}
+#if !NAMED_REFS
+#if LAB_ALPH
+{ et.al.char.used
+ { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+ 'skip$
+ if$
+ preamble$ empty$
+#else !LAB_ALPH
+{ preamble$ empty$
+#endif LAB_ALPH
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+#else NAMED_REFS
+{ preamble$ empty$ % no \etalchar in apalike
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$ % no labels in apalike
+}
+#endif NAMED_REFS
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+% Now we produce the output for all the entries
+
+ITERATE {call.type$}
+
+% Finally, we finish up by writing the `\end{thebibliography}' command.
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/oxford/README b/biblio/bibtex/contrib/oxford/README
new file mode 100644
index 0000000000..9a6133cd9d
--- /dev/null
+++ b/biblio/bibtex/contrib/oxford/README
@@ -0,0 +1,112 @@
+ OXFORD STYLE PACKAGE
+
+This is the oxford bst style package, version 0.4. It is a bibtex style geared
+at citations for the humanities.
+
+ STYLE
+The oxford style implements the oxford style interpreted through the eye of
+a swede working in the fields of the history of ideas.
+
+The style is based on Harvard.sty and a heavily hacked bst-file generated with
+custom-bib. It currently only supports
+
+\cite[]{}
+
+and
+
+\cite{}
+
+and only in abrevation mode.
+
+The form of the bibitem entries is
+\harvarditem[Jones, STITLE]{Jones, TITLE .... (PUBLISH:ADRESS, YEAR)}{1990}{key}
+ Brian Jones, TITLE ... (PUBLISH:ADRESS, YEAR).
+
+The style gives the full reference att the first citation and then an
+abrevated one.
+
+The file suports an additional entry in the bib-file, stitle (short title). It
+is used in the abrevated citation.
+
+The abrevated citation follows these rules:
+
+If (lastname == UNIQ) {
+ lastname
+} elsif (stitle == EXIST) {
+ lastname, stitle
+} else {
+ lastname, title
+}
+
+oxford.sty also inserts an "ibid." if the current citation is the same
+as the last one.
+
+
+ USAGE
+
+\usepackage[default, none]{oxford}
+.
+.
+.
+\bibliographystyle{oxford_xx}
+
+where xx stands for chosen language
+
+
+ INSTALL
+
+In the distibution there are only two languages directly supported:
+swedish
+english
+
+You install the oxford package either by putting the files in places you alreday
+know are supported by latex, eg.:
+
+cp oxford.sty /usr/lib/texfm/texfm/tex/latex/base
+cp oxford_se.bst /usr/lib/texfm/texfm/bibtex/bst/base
+cp oxford_en.bst /usr/lib/texfm/texfm/bibtex/bst/base
+
+Or you shose another location and then has to set som environmental variables,
+eg.:
+
+The place you put oxford.sty have to be exported with TEXINPUTS:
+export TEXINPUTS=/usr/lib/texmf/texmf/tex/latex/local:
+
+The place where you put the bst-files have to be exported with BSTINPUTS:
+
+BSTINPUTS=/usr/lib/texmf/texmf/bibtex/bst/oxford:
+
+(Don´t forget the trailing colon (:)
+
+ LANGUAGE
+
+The oxford_in.bst has support for any kind of languages. But you have to create
+a language version of oxford_in.bst yourself. In the directory "lang" there are
+translations for english, finnish, german, norsk, svenska,
+esperant, french, italian and spanish.
+
+All you have to do is open "oxford_in.bst" and substitute all bbl.CODE and MACRO
+entries with the right translations (which can be found in the mbs-files) and
+name the file oxford_LANG.bst
+
+
+ BUGS
+None known of.
+
+ COPYRIGHT
+The copyrigt is Peter Antman, 1997, where marked in the files. These parts are
+distributed under GNU/GPL. All other copyright is hold by the respective authors
+mentioned in the files.
+
+ THANKS
+Thanks to Oren Patashnik for helping me solve the pop$ bug in version 0.3
+
+Send comments and bugreports to:
+peter antman@abc.se
+
+oxford can be found at:
+
+ftp.mc.hik.se/pub/users/mia95anp/tex/
+http://www.abc.se/~m9339/prog/oxford-0.4.tar.gz
+
+
diff --git a/biblio/bibtex/contrib/oxford/lang/english.mbs b/biblio/bibtex/contrib/oxford/lang/english.mbs
new file mode 100644
index 0000000000..e5bde87206
--- /dev/null
+++ b/biblio/bibtex/contrib/oxford/lang/english.mbs
@@ -0,0 +1,330 @@
+%\iffalse THIS IS A META COMMENT
+%====================================================================
+% A Language Definition File: ENGLISH
+% to be included with other master bibliography style files
+%--------------------------------------------------------------------
+% (See version and date in the \ProvidesFile command below)
+%--------------------------------------------------------------------
+% This file is self-documenting: simply LaTeX it!
+%====================================================================
+%
+ %-------------------------------------------------------------------
+ % The original source file contains the following version information:
+%\fi
+ % \ProvidesFile{english.mbs}[1995/05/04 1.1 (PWD)]
+%\iffalse
+%-------------------------------------------------------------------
+% NOTICE:
+% This file may be used for non-profit purposes.
+% It may not be distributed in exchange for money,
+% other than distribution costs.
+%
+% The author provides it `as is' and does not guarantee it in any way.
+%
+ % Copyright (C) 1994, 1995 Patrick W. Daly
+% Max-Planck-Institut f\"ur Aeronomie
+% Postfach 20
+% D-37189 Katlenburg-Lindau
+% Germany
+%
+% E-mail: daly@linmpi.mpae.gwdg.de
+ %-------------------------------------------------------------------
+%<*a&!a>
+% The following ensures that the driver part is not seen by makebst
+% The driver part must not contain any \end other than \end{document} !
+\ifx\endoptions\undefined\let\tempx=\relax\else
+ \long\def\tempx#1\end#2{}\fi\tempx
+%</a&!a>
+%<*driver>
+ \NeedsTeXFormat{LaTeX2e}%
+ \documentclass[a4paper,10pt,twoside]{article}%
+ \usepackage{doc}%
+ \raggedbottom
+ \CodelineNumbered
+ \RecordChanges
+ % Comment out next line to print coding
+ \OnlyDescription
+ \setlength{\oddsidemargin}{0.5\paperwidth}
+ \addtolength{\oddsidemargin}{-0.5\textwidth}
+ \addtolength{\oddsidemargin}{-1in}
+ \setlength{\evensidemargin}{\oddsidemargin}
+
+\begin{document}
+ \DocInput{english.mbs}
+\end{document}
+%</driver>
+% END OF META COMMENT \fi
+% \CharacterTable
+% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+% Digits \0\1\2\3\4\5\6\7\8\9
+% Exclamation \! Double quote \" Hash (number) \#
+% Dollar \$ Percent \% Ampersand \&
+% Acute accent \' Left paren \( Right paren \)
+% Asterisk \* Plus \+ Comma \,
+% Minus \- Point \. Solidus \/
+% Colon \: Semicolon \; Less than \<
+% Equals \= Greater than \> Question mark \?
+% Commercial at \@ Left bracket \[ Backslash \\
+% Right bracket \] Circumflex \^ Underscore \_
+% Grave accent \` Left brace \{ Vertical bar \|
+% Right brace \} Tilde \~}
+%
+% \setcounter{StandardModuleDepth}{1}
+% \setcounter{IndexColumns}{2}
+% \setlength{\IndexMin}{10cm}
+%
+% \changes{1.0}{1995 Mar 15}{Initial version}
+% \changes{1.1}{1995 May 4}{Do no abbreviate `edited by'}
+%
+% \pagestyle{myheadings}
+% \markboth{P. W. Daly}{English Bibliographies}
+%
+% \title{{\bfseries English Language Definition File}\\
+% for master bibliographic style files}
+%
+% \author{Patrick W. Daly}
+%
+% \GetFileInfo{english.mbs}
+% \date{This paper describes file \texttt{\filename},\\
+% version \fileversion{} from \filedate}
+%
+% \maketitle
+%
+% \MakeShortVerb{\|}
+%
+% \parskip=1ex \parindent=0pt
+%
+% \newcommand{\btx}{{\sc Bib}\TeX}
+% \newcommand{\dtx}{\textsf{docstrip}}
+%
+% \section{Introduction}
+% This file is to be used as a language definition file with master
+% bibliographic files. The language it defines is
+% \begin{quote}\bfseries English\end{quote}
+%
+% This is not a self-sufficient \texttt{.mbs} file, but rather may
+% be used together with one that contains language support via
+% external definition files.
+%
+% See the documentation for \texttt{makebst} for formatting details.
+%
+% \section{The Menu Information}
+%
+% All the menu information is nested between \dtx{} guard options
+% |%<*options>| \dots\ |%</options>|, and the last command is
+% |\endoptions|. The rest of the file is nested between |%<*!options&!driver>|
+% \dots\ |%</!options&!driver>| in order to exclude it if \dtx{} is used to
+% extract only the menu information or the documentation driver.
+%
+% \begin{macrocode}
+%<*options>
+\mes{^^JOptions for ENGLISH}
+\wr{\spsp\spsp\sep english\pc: English language}
+
+\mes{^^JABBREVIATE WORD `PAGES':}
+\optdef{*}{}{`Page(s)'}{(no abbreviation)}
+\optdef{a}{pp}{`Page' abbreviated}{as p. or pp.}
+\getans
+
+\mes{^^JABBREVIATE WORD `EDITORS':}
+\optdef{*}{}{`Editor(s)'}{(no abbreviation)}
+\optdef{a}{ed}{`Editor' abbreviated}{as ed. or eds.}
+\getans
+
+\mes{^^JOTHER ABBREVIATIONS:}
+\optdef{*}{}{No abbreviations}{of volume, edition, chapter, etc}
+\optdef{a}{abr}{Abbreviations}{of such words}
+\getans
+
+\mes{^^JEDITION NUMBERS:}
+\optdef{*}{}{Write out editions}{as first, second, third, etc}
+\optdef{n}{ord}{Numerical editions}{as 1st, 2nd, 3rd, etc}
+\getans
+
+\endoptions
+%</options>
+% \end{macrocode}
+%
+% \StopEventually{\PrintChanges}
+%
+% \section{The Coding}
+% \begin{macrocode}
+%<*!options&!driver>
+
+ % The language selected here is ENGLISH
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.editors}
+%<!ed>{ "editors" }
+%<ed>{ "eds." }
+
+FUNCTION {bbl.editor}
+%<!ed>{ "editor" }
+%<ed>{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+%<!abr>{ "edition" }
+%<abr>{ "edn." }
+
+FUNCTION {bbl.volume}
+%<!abr>{ "volume" }
+%<abr>{ "vol." }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+%<!abr>{ "number" }
+%<abr>{ "no." }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+%<!pp>{ "pages" }
+%<pp>{ "pp." }
+
+FUNCTION {bbl.page}
+%<!pp>{ "page" }
+%<pp>{ "p." }
+
+FUNCTION {bbl.chapter}
+%<!abr>{ "chapter" }
+%<abr>{ "chap." }
+
+FUNCTION {bbl.techrep}
+%<!abr>{ "Technical Report" }
+%<abr>{ "Tech. Rep." }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+FUNCTION {bbl.first}
+%<!ord>{ "First" }
+%<ord>{ "1st" }
+
+FUNCTION {bbl.second}
+%<!ord>{ "Second" }
+%<ord>{ "2nd" }
+
+FUNCTION {bbl.third}
+%<!ord>{ "Third" }
+%<ord>{ "3rd" }
+
+FUNCTION {bbl.fourth}
+%<!ord>{ "Fourth" }
+%<ord>{ "4th" }
+
+FUNCTION {bbl.fifth}
+%<!ord>{ "Fifth" }
+%<ord>{ "5th" }
+
+FUNCTION {bbl.st}
+{ "st" }
+
+FUNCTION {bbl.nd}
+{ "nd" }
+
+FUNCTION {bbl.rd}
+{ "rd" }
+
+FUNCTION {bbl.th}
+{ "th" }
+
+% \end{macrocode}
+% This function adds English endings for ordinals 1, 2, 3. However, if
+% the second last digit is 1, then the ending is `th' for all last digits.
+% So far, all other languages included do not have this problem, and it is
+% sufficient to add the \textsl{th} equivalent. This might change with further
+% languages.
+%
+% \begin{macrocode}
+FUNCTION {eng.ord}
+{ duplicate$ "1" swap$ *
+ #-2 #1 substring$ "1" =
+ { bbl.th * }
+ { duplicate$ #-1 #1 substring$
+ duplicate$ "1" =
+ { pop$ bbl.st * }
+ { duplicate$ "2" =
+ { pop$ bbl.nd * }
+ { "3" =
+ { bbl.rd * }
+ { bbl.th * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%<*!abr>
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+%</!abr>
+%<*abr>
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"Jun."}
+
+MACRO {jul} {"Jul."}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sep."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+%</abr>
+%</!options&!driver>
+ % End of language definition file
+
+% \end{macrocode}
+% \Finale
diff --git a/biblio/bibtex/contrib/oxford/lang/esperant.mbs b/biblio/bibtex/contrib/oxford/lang/esperant.mbs
new file mode 100644
index 0000000000..7405e94011
--- /dev/null
+++ b/biblio/bibtex/contrib/oxford/lang/esperant.mbs
@@ -0,0 +1,292 @@
+%\iffalse THIS IS A META COMMENT
+%====================================================================
+% A Language Definition File: ESPERANTO
+% to be included with other master bibliography style files
+%--------------------------------------------------------------------
+% (See version and date in the \ProvidesFile command below)
+%--------------------------------------------------------------------
+% This file is self-documenting: simply LaTeX it!
+%====================================================================
+%
+ %-------------------------------------------------------------------
+ % The original source file contains the following version information:
+%\fi
+ % \ProvidesFile{esperant.mbs}[1995/05/04 1.1 (PWD)]
+%\iffalse
+%-------------------------------------------------------------------
+% NOTICE:
+% This file may be used for non-profit purposes.
+% It may not be distributed in exchange for money,
+% other than distribution costs.
+%
+% The author provides it `as is' and does not guarantee it in any way.
+%
+ % Copyright (C) 1994, 1995 Patrick W. Daly
+% Max-Planck-Institut f\"ur Aeronomie
+% Postfach 20
+% D-37189 Katlenburg-Lindau
+% Germany
+%
+% E-mail: daly@linmpi.mpae.gwdg.de
+ %-------------------------------------------------------------------
+%<*a&!a>
+% The following ensures that the driver part is not seen by makebst
+% The driver part must not contain any \end other than \end{document} !
+\ifx\endoptions\undefined\let\tempx=\relax\else
+ \long\def\tempx#1\end#2{}\fi\tempx
+%</a&!a>
+%<*driver>
+ \NeedsTeXFormat{LaTeX2e}%
+ \documentclass[a4paper,10pt,twoside]{article}%
+ \usepackage{doc}%
+ \raggedbottom
+ \CodelineNumbered
+ \RecordChanges
+ % Comment out next line to print coding
+ \OnlyDescription
+ \setlength{\oddsidemargin}{0.5\paperwidth}
+ \addtolength{\oddsidemargin}{-0.5\textwidth}
+ \addtolength{\oddsidemargin}{-1in}
+ \setlength{\evensidemargin}{\oddsidemargin}
+
+\begin{document}
+ \DocInput{esperant.mbs}
+\end{document}
+%</driver>
+% END OF META COMMENT \fi
+% \CharacterTable
+% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+% Digits \0\1\2\3\4\5\6\7\8\9
+% Exclamation \! Double quote \" Hash (number) \#
+% Dollar \$ Percent \% Ampersand \&
+% Acute accent \' Left paren \( Right paren \)
+% Asterisk \* Plus \+ Comma \,
+% Minus \- Point \. Solidus \/
+% Colon \: Semicolon \; Less than \<
+% Equals \= Greater than \> Question mark \?
+% Commercial at \@ Left bracket \[ Backslash \\
+% Right bracket \] Circumflex \^ Underscore \_
+% Grave accent \` Left brace \{ Vertical bar \|
+% Right brace \} Tilde \~}
+%
+% \setcounter{StandardModuleDepth}{1}
+% \setcounter{IndexColumns}{2}
+% \setlength{\IndexMin}{10cm}
+%
+% \changes{1.0}{1995 Mar 15}{Initial version}
+% \changes{1.1}{1995 May 4}{Do no abbreviate `edited by'}
+%
+% \pagestyle{myheadings}
+% \markboth{P. W. Daly}{Esperanto Bibliographies}
+%
+% \title{{\bfseries Esperanto Language Definition File}\\
+% for master bibliographic style files}
+%
+% \author{Patrick W. Daly}
+%
+% \GetFileInfo{esperant.mbs}
+% \date{This paper describes file \texttt{\filename},\\
+% version \fileversion{} from \filedate}
+%
+% \maketitle
+%
+% \MakeShortVerb{\|}
+%
+% \parskip=1ex \parindent=0pt
+%
+% \newcommand{\btx}{{\sc Bib}\TeX}
+% \newcommand{\dtx}{\textsf{docstrip}}
+%
+% \section{Introduction}
+% This file is to be used as a language definition file with master
+% bibliographic files. The language it defines is
+% \begin{quote}\bfseries Esperanto\end{quote}
+%
+% This is not a self-sufficient \texttt{.mbs} file, but rather may
+% be used together with one that contains language support via
+% external definition files.
+%
+% See the documentation for \texttt{makebst} for formatting details.
+%
+% \section{The Menu Information}
+%
+% All the menu information is nested between \dtx{} guard options
+% |%<*options>| \dots\ |%</options>|, and the last command is
+% |\endoptions|. The rest of the file is nested between |%<*!options&!driver>|
+% \dots\ |%</!options&!driver>| in order to exclude it if \dtx{} is used to
+% extract only the menu information or the documentation driver.
+%
+% \begin{macrocode}
+%<*options>
+\mes{^^JOptions for ESPERANTO}
+\wr{\spsp\spsp\sep esperanto\pc: Esperanto language}
+
+\mes{^^JABBREVIATE WORD `PAGES':}
+\optdef{*}{}{`Page(s)'}{(no abbreviation)}
+\optdef{a}{pp}{`Page' abbreviated}{as p. or pp.}
+\getans
+
+\mes{^^JABBREVIATE WORD `EDITORS':}
+\optdef{*}{}{`Editor(s)'}{(no abbreviation)}
+\optdef{a}{ed}{`Editor' abbreviated}{as ed. or eds.}
+\getans
+
+\mes{^^JOTHER ABBREVIATIONS:}
+\optdef{*}{}{No abbreviations}{of volume, edition, chapter, etc}
+\optdef{a}{abr}{Abbreviations}{of such words}
+\getans
+
+\mes{^^JEDITION NUMBERS:}
+\optdef{*}{}{Write out editions}{as first, second, third, etc}
+\optdef{n}{ord}{Numerical editions}{as 1st, 2nd, 3rd, etc}
+\getans
+
+\endoptions
+%</options>
+% \end{macrocode}
+%
+% \StopEventually{\PrintChanges}
+%
+% \section{The Coding}
+% \begin{macrocode}
+%<*!options&!driver>
+
+ % The language selected here is ESPERANTO
+FUNCTION {bbl.and}
+{ "kaj"}
+
+FUNCTION {bbl.editors}
+%<!ed>{ "redaktoroj" }
+%<ed>{ "red-oj" }
+
+FUNCTION {bbl.editor}
+%<!ed>{ "redaktoro" }
+%<ed>{ "red." }
+
+FUNCTION {bbl.edby}
+{ "redaktita de" }
+
+FUNCTION {bbl.edition}
+%<!abr>{ "eldono" }
+%<abr>{ "eld." }
+
+FUNCTION {bbl.volume}
+%<!abr>{ "volumo" }
+%<abr>{ "vol." }
+
+FUNCTION {bbl.of}
+{ "el" }
+
+FUNCTION {bbl.number}
+%<!abr>{ "numero" }
+%<abr>{ "n-ro" }
+
+FUNCTION {bbl.nr}
+{ "n-ro" }
+
+FUNCTION {bbl.in}
+{ "en" }
+
+FUNCTION {bbl.pages}
+%<!pp>{ "pa\^goj" }
+%<pp>{ "pp." }
+
+FUNCTION {bbl.page}
+%<!pp>{ "pa\^go" }
+%<pp>{ "p\^g" }
+
+FUNCTION {bbl.chapter}
+%<!abr>{ "\^capitro" }
+%<abr>{ "\^cap." }
+
+FUNCTION {bbl.techrep}
+%<!abr>{ "Teknica Raporto" }
+%<abr>{ "Tek. Rap." }
+
+FUNCTION {bbl.mthesis}
+{ "Magistra tezo" }
+
+FUNCTION {bbl.phdthesis}
+{ "Doktora tezo" }
+
+FUNCTION {bbl.first}
+%<!ord>{ "Unua" }
+%<ord>{ "1-a" }
+
+FUNCTION {bbl.second}
+%<!ord>{ "Dua" }
+%<ord>{ "2-a" }
+
+FUNCTION {bbl.third}
+%<!ord>{ "Tria" }
+%<ord>{ "3-a" }
+
+FUNCTION {bbl.fourth}
+%<!ord>{ "Kvara" }
+%<ord>{ "4-a" }
+
+FUNCTION {bbl.fifth}
+%<!ord>{ "Kvina" }
+%<ord>{ "5-a" }
+
+FUNCTION {bbl.th}
+{ "-a" }
+
+%<*!abr>
+MACRO {jan} {"januaro"}
+
+MACRO {feb} {"februaro"}
+
+MACRO {mar} {"marto"}
+
+MACRO {apr} {"aprilo"}
+
+MACRO {may} {"majo"}
+
+MACRO {jun} {"junio"}
+
+MACRO {jul} {"julio"}
+
+MACRO {aug} {"a\u{u}gusto"}
+
+MACRO {sep} {"septembro"}
+
+MACRO {oct} {"oktobro"}
+
+MACRO {nov} {"novembro"}
+
+MACRO {dec} {"decembro"}
+
+%</!abr>
+%<*abr>
+MACRO {jan} {"jan."}
+
+MACRO {feb} {"feb."}
+
+MACRO {mar} {"mar."}
+
+MACRO {apr} {"apr."}
+
+MACRO {may} {"maj."}
+
+MACRO {jun} {"jun."}
+
+MACRO {jul} {"jul."}
+
+MACRO {aug} {"a\u{u}g."}
+
+MACRO {sep} {"sep."}
+
+MACRO {oct} {"okt."}
+
+MACRO {nov} {"nov."}
+
+MACRO {dec} {"dec."}
+
+%</abr>
+%</!options&!driver>
+ % End of language definition file
+
+% \end{macrocode}
+% \Finale
diff --git a/biblio/bibtex/contrib/oxford/lang/finnish.mbs b/biblio/bibtex/contrib/oxford/lang/finnish.mbs
new file mode 100644
index 0000000000..f7126310ab
--- /dev/null
+++ b/biblio/bibtex/contrib/oxford/lang/finnish.mbs
@@ -0,0 +1,281 @@
+%\iffalse THIS IS A META COMMENT
+%====================================================================
+% A Language Definition File: FINNISH
+% to be included with other master bibliography style files
+%--------------------------------------------------------------------
+% (See version and date in the \ProvidesFile command below)
+%--------------------------------------------------------------------
+% This file is self-documenting: simply LaTeX it!
+%====================================================================
+%
+ %-------------------------------------------------------------------
+ % The original source file contains the following version information:
+%\fi
+ % \ProvidesFile{finnish.mbs}[1995/10/25 1.2 (PWD)]
+%\iffalse
+%-------------------------------------------------------------------
+% NOTICE:
+% This file may be used for non-profit purposes.
+% It may not be distributed in exchange for money,
+% other than distribution costs.
+%
+% The author provides it `as is' and does not guarantee it in any way.
+%
+ % Copyright (C) 1994, 1995 Patrick W. Daly
+% Max-Planck-Institut f\"ur Aeronomie
+% Postfach 20
+% D-37189 Katlenburg-Lindau
+% Germany
+%
+% E-mail: daly@linmpi.mpae.gwdg.de
+ %-------------------------------------------------------------------
+%<*a&!a>
+% The following ensures that the driver part is not seen by makebst
+% The driver part must not contain any \end other than \end{document} !
+\ifx\endoptions\undefined\let\tempx=\relax\else
+ \long\def\tempx#1\end#2{}\fi\tempx
+%</a&!a>
+%<*driver>
+ \NeedsTeXFormat{LaTeX2e}%
+ \documentclass[a4paper,10pt,twoside]{article}%
+ \usepackage{doc}%
+ \raggedbottom
+ \CodelineNumbered
+ \RecordChanges
+ % Comment out next line to print coding
+ \OnlyDescription
+ \setlength{\oddsidemargin}{0.5\paperwidth}
+ \addtolength{\oddsidemargin}{-0.5\textwidth}
+ \addtolength{\oddsidemargin}{-1in}
+ \setlength{\evensidemargin}{\oddsidemargin}
+
+\begin{document}
+ \DocInput{finnish.mbs}
+\end{document}
+%</driver>
+% END OF META COMMENT \fi
+% \CharacterTable
+% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+% Digits \0\1\2\3\4\5\6\7\8\9
+% Exclamation \! Double quote \" Hash (number) \#
+% Dollar \$ Percent \% Ampersand \&
+% Acute accent \' Left paren \( Right paren \)
+% Asterisk \* Plus \+ Comma \,
+% Minus \- Point \. Solidus \/
+% Colon \: Semicolon \; Less than \<
+% Equals \= Greater than \> Question mark \?
+% Commercial at \@ Left bracket \[ Backslash \\
+% Right bracket \] Circumflex \^ Underscore \_
+% Grave accent \` Left brace \{ Vertical bar \|
+% Right brace \} Tilde \~}
+%
+% \setcounter{StandardModuleDepth}{1}
+% \setcounter{IndexColumns}{2}
+% \setlength{\IndexMin}{10cm}
+%
+% \changes{1.0}{1995 Mar 15}{Initial version}
+% \changes{1.1}{1995 May 4}{Do no abbreviate `edited by'}
+% \changes{1.1a}{1995 May 11}{Correct \texttt{bbl.phdthesis}}
+% \changes{1.2}{1995 Oct 25}{Remove \texttt{umlaut} option and \cs{qq},
+% replace with Raichle's trick}
+%
+% \pagestyle{myheadings}
+% \markboth{P. W. Daly}{Finnish Bibliographies}
+%
+% \title{{\bfseries Finnish Language Definition File}\\
+% for master bibliographic style files}
+%
+% \author{Patrick W. Daly}
+%
+% \GetFileInfo{finnish.mbs}
+% \date{This paper describes file \texttt{\filename},\\
+% version \fileversion{} from \filedate}
+%
+% \maketitle
+%
+% \MakeShortVerb{\|}
+%
+% \parskip=1ex \parindent=0pt
+%
+% \newcommand{\btx}{{\sc Bib}\TeX}
+% \newcommand{\dtx}{\textsf{docstrip}}
+%
+% \section{Introduction}
+% This file is to be used as a language definition file with master
+% bibliographic files. The language it defines is
+% \begin{quote}\bfseries Finnish\end{quote}
+%
+% The translations for Finnish were supplied by
+% \begin{quote}\ttfamily "Niilo.Siljamo@Helsinki.FI"\end{quote}
+
+% This is not a self-sufficient \texttt{.mbs} file, but rather may
+% be used together with one that contains language support via
+% external definition files.
+%
+% Bernd Raichle points out that |\^^b| can be used in place of |\"|
+% within \btx{} code. One can thus replace |Nelj\^^b{a}s| with |Nelj\^^b{a}s|
+% and do away with the \texttt{umlaut} option.
+%
+% See the documentation for \texttt{makebst} for formatting details.
+%
+% \section{The Menu Information}
+%
+% All the menu information is nested between \dtx{} guard options
+% |%<*options>| \dots\ |%</options>|, and the last command is
+% |\endoptions|. The rest of the file is nested between |%<*!options&!driver>|
+% \dots\ |%</!options&!driver>| in order to exclude it if \dtx{} is used to
+% extract only the menu information or the documentation driver.
+%
+% \begin{macrocode}
+%<*options>
+\mes{^^JOptions for FINNISH}
+\wr{\spsp\spsp\sep finnish\pc: Finnish language}
+
+\mes{^^JABBREVIATE WORD `SIVUT':} % `Pages'
+\optdef{*}{}{`Sivu(t)'}{(no abbreviation)}
+\optdef{a}{pp}{`Sivu' abbreviated}{as s. or ss.}
+\getans
+
+\mes{^^JABBREVIATE WORD `TOIMITTAJAT':} % `Editors'
+\optdef{*}{}{`Toimittaja(t)'}{(no abbreviation)}
+\optdef{a}{ed}{`Toimittaja' abbreviated}{as toim.}
+\getans
+
+\mes{^^JOTHER ABBREVIATIONS:}
+\optdef{*}{}{No abbreviations}{of other words}
+\optdef{a}{abr}{Abbreviations}{of such words}
+\getans
+
+\mes{^^JEDITION NUMBERS:}
+\optdef{*}{}{Write out editions}{as emsimm\string\"ainen, toinen, etc}
+\optdef{n}{ord}{Numerical editions}{as 1., 2., etc}
+\getans
+
+\endoptions
+%</options>
+% \end{macrocode}
+%
+% \StopEventually{\PrintChanges}
+%
+% \section{The Coding}
+% \begin{macrocode}
+%<*!options&!driver>
+
+ % The language selected here is FINNISH
+FUNCTION {bbl.and}
+{ "ja"}
+
+FUNCTION {bbl.editors}
+%<!ed>{ "toimittajat" }
+%<ed>{ "toim." }
+
+FUNCTION {bbl.editor}
+%<!ed>{ "toimittaja" }
+%<ed>{ "toim." }
+
+FUNCTION {bbl.edby}
+{ "toimittanut" }
+
+FUNCTION {bbl.edition}
+%<!abr>{ "painos" }
+%<abr>{ "painos" }
+
+FUNCTION {bbl.volume}
+{ "osa" }
+
+FUNCTION {bbl.of}
+{ "sarjasta" }
+
+FUNCTION {bbl.number}
+%<!abr>{ "numero" }
+%<abr>{ "no." }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "teoksessa" }
+
+FUNCTION {bbl.pages}
+%<!pp>{ "sivut" }
+%<pp>{ "ss." }
+
+FUNCTION {bbl.page}
+%<!pp>{ "sivu" }
+%<pp>{ "s." }
+
+FUNCTION {bbl.chapter}
+{ "luku" }
+
+FUNCTION {bbl.techrep}
+%<!abr>{ "Tekninen Raportti" }
+%<abr>{ "Tekn. Rap." }
+
+FUNCTION {bbl.mthesis}
+{ "pro gradu" }
+
+FUNCTION {bbl.phdthesis}
+{ "v\^^b{a}it\^^b{o}skirja" }
+
+FUNCTION {bbl.first}
+%<!ord>{ "Ensimm\^^b{a}inen" }
+%<ord>{ "1." }
+
+FUNCTION {bbl.second}
+%<!ord>{ "Toinen" }
+%<ord>{ "2." }
+
+FUNCTION {bbl.third}
+%<!ord>{ "Kolmas" }
+%<ord>{ "3." }
+
+FUNCTION {bbl.fourth}
+%<!ord>{ "Nelj\^^b{a}s" }
+%<ord>{ "4." }
+
+FUNCTION {bbl.fifth}
+%<!ord>{ "Viides" }
+%<ord>{ "5." }
+
+FUNCTION {bbl.st}
+{ "." }
+
+FUNCTION {bbl.nd}
+{ "." }
+
+FUNCTION {bbl.rd}
+{ "." }
+
+FUNCTION {bbl.th}
+{ "." }
+
+MACRO {jan} {"tammikuu"}
+
+MACRO {feb} {"helmikuu"}
+
+MACRO {mar} {"maaliskuu"}
+
+MACRO {apr} {"huhtikuu"}
+
+MACRO {may} {"toukokuu"}
+
+MACRO {jun} {"kes\^^b{a}kuu"}
+
+MACRO {jul} {"hein\^^b{a}kuu"}
+
+MACRO {aug} {"elokuu"}
+
+MACRO {sep} {"syyskuu"}
+
+MACRO {oct} {"lokakuu"}
+
+MACRO {nov} {"marraskuu"}
+
+MACRO {dec} {"joulukuu"}
+
+%</!options&!driver>
+ % End of language definition file
+
+% \end{macrocode}
+% \Finale
diff --git a/biblio/bibtex/contrib/oxford/lang/french.mbs b/biblio/bibtex/contrib/oxford/lang/french.mbs
new file mode 100644
index 0000000000..616d69238e
--- /dev/null
+++ b/biblio/bibtex/contrib/oxford/lang/french.mbs
@@ -0,0 +1,292 @@
+%\iffalse THIS IS A META COMMENT
+%====================================================================
+% A Language Definition File: FRENCH
+% to be included with other master bibliography style files
+%--------------------------------------------------------------------
+% (See version and date in the \ProvidesFile command below)
+%--------------------------------------------------------------------
+% This file is self-documenting: simply LaTeX it!
+%====================================================================
+%
+ %-------------------------------------------------------------------
+ % The original source file contains the following version information:
+%\fi
+ % \ProvidesFile{french.mbs}[1995/05/04 1.1 (PWD)]
+%\iffalse
+%-------------------------------------------------------------------
+% NOTICE:
+% This file may be used for non-profit purposes.
+% It may not be distributed in exchange for money,
+% other than distribution costs.
+%
+% The author provides it `as is' and does not guarantee it in any way.
+%
+ % Copyright (C) 1994, 1995 Patrick W. Daly
+% Max-Planck-Institut f\"ur Aeronomie
+% Postfach 20
+% D-37189 Katlenburg-Lindau
+% Germany
+%
+% E-mail: daly@linmpi.mpae.gwdg.de
+ %-------------------------------------------------------------------
+%<*a&!a>
+% The following ensures that the driver part is not seen by makebst
+% The driver part must not contain any \end other than \end{document} !
+\ifx\endoptions\undefined\let\tempx=\relax\else
+ \long\def\tempx#1\end#2{}\fi\tempx
+%</a&!a>
+%<*driver>
+ \NeedsTeXFormat{LaTeX2e}%
+ \documentclass[a4paper,10pt,twoside]{article}%
+ \usepackage{doc}%
+ \raggedbottom
+ \CodelineNumbered
+ \RecordChanges
+ % Comment out next line to print coding
+ \OnlyDescription
+ \setlength{\oddsidemargin}{0.5\paperwidth}
+ \addtolength{\oddsidemargin}{-0.5\textwidth}
+ \addtolength{\oddsidemargin}{-1in}
+ \setlength{\evensidemargin}{\oddsidemargin}
+
+\begin{document}
+ \DocInput{french.mbs}
+\end{document}
+%</driver>
+% END OF META COMMENT \fi
+% \CharacterTable
+% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+% Digits \0\1\2\3\4\5\6\7\8\9
+% Exclamation \! Double quote \" Hash (number) \#
+% Dollar \$ Percent \% Ampersand \&
+% Acute accent \' Left paren \( Right paren \)
+% Asterisk \* Plus \+ Comma \,
+% Minus \- Point \. Solidus \/
+% Colon \: Semicolon \; Less than \<
+% Equals \= Greater than \> Question mark \?
+% Commercial at \@ Left bracket \[ Backslash \\
+% Right bracket \] Circumflex \^ Underscore \_
+% Grave accent \` Left brace \{ Vertical bar \|
+% Right brace \} Tilde \~}
+%
+% \setcounter{StandardModuleDepth}{1}
+% \setcounter{IndexColumns}{2}
+% \setlength{\IndexMin}{10cm}
+%
+% \changes{1.0}{1995 Mar 15}{Initial version}
+% \changes{1.1}{1995 May 4}{Do no abbreviate `edited by'}
+%
+% \pagestyle{myheadings}
+% \markboth{P. W. Daly}{French Bibliographies}
+%
+% \title{{\bfseries French Language Definition File}\\
+% for master bibliographic style files}
+%
+% \author{Patrick W. Daly}
+%
+% \GetFileInfo{french.mbs}
+% \date{This paper describes file \texttt{\filename},\\
+% version \fileversion{} from \filedate}
+%
+% \maketitle
+%
+% \MakeShortVerb{\|}
+%
+% \parskip=1ex \parindent=0pt
+%
+% \newcommand{\btx}{{\sc Bib}\TeX}
+% \newcommand{\dtx}{\textsf{docstrip}}
+%
+% \section{Introduction}
+% This file is to be used as a language definition file with master
+% bibliographic files. The language it defines is
+% \begin{quote}\bfseries French\end{quote}
+%
+% This is not a self-sufficient \texttt{.mbs} file, but rather may
+% be used together with one that contains language support via
+% external definition files.
+%
+% See the documentation for \texttt{makebst} for formatting details.
+%
+% \section{The Menu Information}
+%
+% All the menu information is nested between \dtx{} guard options
+% |%<*options>| \dots\ |%</options>|, and the last command is
+% |\endoptions|. The rest of the file is nested between |%<*!options&!driver>|
+% \dots\ |%</!options&!driver>| in order to exclude it if \dtx{} is used to
+% extract only the menu information or the documentation driver.
+%
+% \begin{macrocode}
+%<*options>
+\mes{^^JOptions for FRENCH}
+\wr{\spsp\spsp\sep french\pc: French language}
+
+\mes{^^JABBREVIATE WORD `PAGES':}
+\optdef{*}{}{`Page(s)'}{(no abbreviation)}
+\optdef{a}{pp}{`Page' abbreviated}{as p. or pp.}
+\getans
+
+\mes{^^JABBREVIATE WORD `REDAKTEUR':}
+\optdef{*}{}{`R\string\'edakteur(s)'}{(no abbreviation)}
+\optdef{a}{ed}{`R\string\'edakteur' abbreviated}{as R\string\'ed.}
+\getans
+
+\mes{^^JOTHER ABBREVIATIONS:}
+\optdef{*}{}{No abbreviations}{of Tome, \string\'edition, chapitre}
+\optdef{a}{abr}{Abbreviations}{of such words}
+\getans
+
+\mes{^^JEDITION NUMBERS:}
+\optdef{*}{}{Write out editions}{as primi\string\`ere, deuxi\string\`eme,...}
+\optdef{n}{ord}{Numerical editions}{as 1re, 2e, 3e, etc}
+\getans
+
+\endoptions
+%</options>
+% \end{macrocode}
+%
+% \StopEventually{\PrintChanges}
+%
+% \section{The Coding}
+% \begin{macrocode}
+%<*!options&!driver>
+
+ % The language selected here is FRENCH
+FUNCTION {bbl.and}
+{ "et"}
+
+FUNCTION {bbl.editors}
+%<!ed>{ "r\'edacteurs" }
+%<ed>{ "r\'eds." }
+
+FUNCTION {bbl.editor}
+%<!ed>{ "r\'edacteur" }
+%<ed>{ "r\'ed." }
+
+FUNCTION {bbl.edby}
+{ "edit\'e par" }
+
+FUNCTION {bbl.edition}
+%<!abr>{ "\'edition" }
+%<abr>{ "\'edn." }
+
+FUNCTION {bbl.volume}
+%<!abr>{ "tome" }
+%<abr>{ "tm." }
+
+FUNCTION {bbl.of}
+{ "de" }
+
+FUNCTION {bbl.number}
+%<!abr>{ "num\'ero" }
+%<abr>{ "no." }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "dans" }
+
+FUNCTION {bbl.pages}
+%<!pp>{ "pages" }
+%<pp>{ "pp." }
+
+FUNCTION {bbl.page}
+%<!pp>{ "page" }
+%<pp>{ "p." }
+
+FUNCTION {bbl.chapter}
+%<!abr>{ "chapitre" }
+%<abr>{ "chap." }
+
+FUNCTION {bbl.techrep}
+%<!abr>{ "Rapport technique" }
+%<abr>{ "Rap. tech." }
+
+FUNCTION {bbl.mthesis}
+{ "Th\`ese de ma\^itre" }
+
+FUNCTION {bbl.phdthesis}
+{ "Th\`ese de doctorat" }
+
+FUNCTION {bbl.first}
+%<!ord>{ "Premi\`ere" }
+%<ord>{ "1$^{\mbox{\scriptsize re}}$" }
+
+FUNCTION {bbl.second}
+%<!ord>{ "Deuxi\`eme" }
+%<ord>{ "2$^{\mbox{\scriptsize e}}$" }
+
+FUNCTION {bbl.third}
+%<!ord>{ "Troisi\`eme" }
+%<ord>{ "3$^{\mbox{\scriptsize e}}$" }
+
+FUNCTION {bbl.fourth}
+%<!ord>{ "Quatri\`eme" }
+%<ord>{ "4$^{\mbox{\scriptsize e}}$" }
+
+FUNCTION {bbl.fifth}
+%<!ord>{ "Cinqui\`eme" }
+%<ord>{ "5$^{\mbox{\scriptsize e}}$" }
+
+FUNCTION {bbl.th}
+{ "$^{\mbox{\scriptsize e}}$" }
+
+%<*!abr>
+MACRO {jan} {"janvier"}
+
+MACRO {feb} {"f\'evrier"}
+
+MACRO {mar} {"mars"}
+
+MACRO {apr} {"avril"}
+
+MACRO {may} {"mai"}
+
+MACRO {jun} {"juin"}
+
+MACRO {jul} {"juillet"}
+
+MACRO {aug} {"ao\^ut"}
+
+MACRO {sep} {"septembre"}
+
+MACRO {oct} {"octobre"}
+
+MACRO {nov} {"novembre"}
+
+MACRO {dec} {"d\'ecembre"}
+
+%</!abr>
+%<*abr>
+MACRO {jan} {"jan."}
+
+MACRO {feb} {"f\'ev."}
+
+MACRO {mar} {"mars"}
+
+MACRO {apr} {"avr."}
+
+MACRO {may} {"mai"}
+
+MACRO {jun} {"juin"}
+
+MACRO {jul} {"juil."}
+
+MACRO {aug} {"ao\^ut"}
+
+MACRO {sep} {"sept."}
+
+MACRO {oct} {"oct."}
+
+MACRO {nov} {"nov."}
+
+MACRO {dec} {"d\'ec."}
+
+%</abr>
+%</!options&!driver>
+ % End of language definition file
+
+% \end{macrocode}
+% \Finale
diff --git a/biblio/bibtex/contrib/oxford/lang/german.mbs b/biblio/bibtex/contrib/oxford/lang/german.mbs
new file mode 100644
index 0000000000..0e7ef4c328
--- /dev/null
+++ b/biblio/bibtex/contrib/oxford/lang/german.mbs
@@ -0,0 +1,317 @@
+%\iffalse THIS IS A META COMMENT
+%====================================================================
+% A Language Definition File: GERMAN
+% to be included with other master bibliography style files
+%--------------------------------------------------------------------
+% (See version and date in the \ProvidesFile command below)
+%--------------------------------------------------------------------
+% This file is self-documenting: simply LaTeX it!
+%====================================================================
+%
+%\fi
+ %-------------------------------------------------------------------
+ % The original source file contains the following version information:
+ % \ProvidesFile{german.mbs}[1995/11/02 1.5 (PWD)]
+%\iffalse
+%-------------------------------------------------------------------
+% NOTICE:
+% This file may be used for non-profit purposes.
+% It may not be distributed in exchange for money,
+% other than distribution costs.
+%
+% The author provides it `as is' and does not guarantee it in any way.
+%
+ % Copyright (C) 1994, 1995 Patrick W. Daly
+% Max-Planck-Institut f\"ur Aeronomie
+% Postfach 20
+% D-37189 Katlenburg-Lindau
+% Germany
+%
+% E-mail: daly@linmpi.mpae.gwdg.de
+ %-------------------------------------------------------------------
+%<*a&!a>
+% The following ensures that the driver part is not seen by makebst
+% The driver part must not contain any \end other than \end{document} !
+\ifx\endoptions\undefined\let\tempx=\relax\else
+ \long\def\tempx#1\end#2{}\fi\tempx
+%</a&!a>
+%<*driver>
+ \NeedsTeXFormat{LaTeX2e}%
+ \documentclass[a4paper,10pt,twoside]{article}%
+ \usepackage{doc}%
+ \raggedbottom
+ \CodelineNumbered
+ \RecordChanges
+ % Comment out next line to print coding
+ \OnlyDescription
+ \setlength{\oddsidemargin}{0.5\paperwidth}
+ \addtolength{\oddsidemargin}{-0.5\textwidth}
+ \addtolength{\oddsidemargin}{-1in}
+ \setlength{\evensidemargin}{\oddsidemargin}
+
+\begin{document}
+ \DocInput{german.mbs}
+\end{document}
+%</driver>
+% END OF META COMMENT \fi
+% \CharacterTable
+% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+% Digits \0\1\2\3\4\5\6\7\8\9
+% Exclamation \! Double quote \" Hash (number) \#
+% Dollar \$ Percent \% Ampersand \&
+% Acute accent \' Left paren \( Right paren \)
+% Asterisk \* Plus \+ Comma \,
+% Minus \- Point \. Solidus \/
+% Colon \: Semicolon \; Less than \<
+% Equals \= Greater than \> Question mark \?
+% Commercial at \@ Left bracket \[ Backslash \\
+% Right bracket \] Circumflex \^ Underscore \_
+% Grave accent \` Left brace \{ Vertical bar \|
+% Right brace \} Tilde \~}
+%
+% \setcounter{StandardModuleDepth}{1}
+% \setcounter{IndexColumns}{2}
+% \setlength{\IndexMin}{10cm}
+%
+% \changes{1.0}{1995 Mar 15}{Initial version}
+% \changes{1.1}{1995 May 4}{Do no abbreviate `edited by'}
+% \changes{1.2}{1995 Jun 7}{Revisions suggested by Sven Hartrumpf}
+% \changes{1.3}{1995 Aug 2}{Revisions suggested by Gerd Neugebauer,
+% dissertation option, `Techn. Ber.'}
+% \changes{1.3}{1995 Aug 2}{Techn. Ber. in braces to preserve case}
+% \changes{1.3a}{1995 Aug 3}{Herausgeber abbreviated as Hg, sing and plural}
+% \changes{1.4}{1995 Oct 25}{Remove \texttt{umlaut} option and \cs{qq},
+% replace with Raichle's trick}
+% \changes{1.5}{1995 Nov 2}{Some bugs removed}
+%
+% \pagestyle{myheadings}
+% \markboth{P. W. Daly}{German Bibliographies}
+%
+% \title{{\bfseries German Language Definition File}\\
+% for master bibliographic style files}
+%
+% \author{Patrick W. Daly}
+%
+% \GetFileInfo{german.mbs}
+% \date{This paper describes file \texttt{\filename},\\
+% version \fileversion{} from \filedate}
+%
+% \maketitle
+%
+% \MakeShortVerb{\|}
+%
+% \parskip=1ex \parindent=0pt
+%
+% \newcommand{\btx}{{\sc Bib}\TeX}
+% \newcommand{\dtx}{\textsf{docstrip}}
+%
+% \section{Introduction}
+% This file is to be used as a language definition file with master
+% bibliographic files. The language it defines is
+% \begin{quote}\bfseries German\end{quote}
+%
+% This is not a self-sufficient \texttt{.mbs} file, but rather may
+% be used together with one that contains language support via
+% external definition files.
+%
+% See the documentation for \texttt{makebst} for formatting details.
+%
+% Some improvements to the translations have been contributed by
+% Sven Hartrumpf of the Universit\"at Koblenz-Landau.
+%
+% Bernd Raichle points out that |\^^b| can be used in place of |\"|
+% within \btx{} code. One can thus replace |M\qq{a}rz| with |M\^^b arz|
+% and do away with the \texttt{umlaut} option.
+%
+% Some bugs have been removed on the advice of Gerd Neugebauer, Universit\"at
+% Koblenz.
+%
+% \section{The Menu Information}
+%
+% All the menu information is nested between \dtx{} guard options
+% |%<*options>| \dots\ |%</options>|, and the last command is
+% |\endoptions|. The rest of the file is nested between |%<*!options&!driver>|
+% \dots\ |%</!options&!driver>| in order to exclude it if \dtx{} is used to
+% extract only the menu information or the documentation driver.
+%
+% \begin{macrocode}
+%<*options>
+\mes{^^JOptions for GERMAN}
+\wr{\spsp\spsp\sep german\pc: German language}
+
+
+\mes{^^JABBREVIATE WORD `SEITEN':}
+\optdef{*}{}{`Seite(n)'}{(no abbreviation)}
+\optdef{a}{pp}{`Seite' abbreviated}{as S.}
+\getans
+
+\mes{^^JABBREVIATE WORD `HERAUSGEBER':}
+\optdef{*}{}{`Herausgeber'}{(no abbreviation)}
+\optdef{a}{ed}{`Herausgeber' abbreviated}{as Hg.}
+\getans
+
+\mes{^^JOTHER ABBREVIATIONS:}
+\optdef{*}{}{No abbreviations}{of Band, Auflage, Kapitel}
+\optdef{a}{abr}{Abbreviations}{of such words}
+\getans
+
+\mes{^^JEDITION NUMBERS:}
+\optdef{*}{}{Write out editions}{as erste, zweite, dritte, etc}
+\optdef{n}{ord}{Numerical editions}{as 1., 2., 3., etc}
+\getans
+
+\mes{^^JALTERNATIVE FOR PHD THESIS:}
+\optdef{*}{ger-phd}{PhD as `Doktorarbeit}{}
+\optdef{d}{}{PhD as `Dissertation'}{}
+\getans
+
+\endoptions
+%</options>
+% \end{macrocode}
+%
+% \StopEventually{\PrintChanges}
+%
+% \section{The Coding}
+% \begin{macrocode}
+%<*!options&!driver>
+
+ % The language selected here is GERMAN
+FUNCTION {bbl.and}
+{ "und"}
+
+FUNCTION {bbl.editors}
+%<!ed>{ "Herausgeber" }
+%<ed>{ "Hg." }
+
+FUNCTION {bbl.editor}
+%<!ed>{ "Herausgeber" }
+%<ed>{ "Hg." }
+
+FUNCTION {bbl.edby}
+{ "herausgegeben von" }
+
+FUNCTION {bbl.edition}
+%<!abr>{ "Auf\/lage" }
+%<abr>{ "Aufl." }
+
+FUNCTION {bbl.volume}
+%<!abr>{ "Band" }
+%<abr>{ "Bd." }
+
+FUNCTION {bbl.of}
+{ "von" }
+
+FUNCTION {bbl.number}
+%<!abr>{ "Nummer" }
+%<abr>{ "Nr." }
+
+FUNCTION {bbl.nr}
+{ "Nr." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+%<!pp>{ "Seiten" }
+%<pp>{ "S." }
+
+FUNCTION {bbl.page}
+%<!pp>{ "Seite" }
+%<pp>{ "S." }
+
+FUNCTION {bbl.chapter}
+%<!abr>{ "Kapitel" }
+%<abr>{ "Kap." }
+
+FUNCTION {bbl.techrep}
+%<!abr>{ "{Technischer Bericht}" }
+%<abr>{ "{Techn.\ Ber.}" }
+
+FUNCTION {bbl.mthesis}
+{ "Diplomarbeit" }
+
+FUNCTION {bbl.phdthesis}
+%<ger-phd>{ "Doktorarbeit" }
+%<!ger-phd>{ "Dissertation" }
+
+FUNCTION {bbl.first}
+%<!ord>{ "Erste" }
+%<ord>{ "1." }
+
+FUNCTION {bbl.second}
+%<!ord>{ "Zweite" }
+%<ord>{ "2." }
+
+FUNCTION {bbl.third}
+%<!ord>{ "Dritte" }
+%<ord>{ "3." }
+
+FUNCTION {bbl.fourth}
+%<!ord>{ "Vierte" }
+%<ord>{ "4." }
+
+FUNCTION {bbl.fifth}
+%<!ord>{ "F\^^b{u}nfte" }
+%<ord>{ "5." }
+
+FUNCTION {bbl.th}
+{ "." }
+
+%<*!abr>
+MACRO {jan} {"Januar"}
+
+MACRO {feb} {"Februar"}
+
+MACRO {mar} {"M\^^b{a}rz"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"Mai"}
+
+MACRO {jun} {"Juni"}
+
+MACRO {jul} {"Juli"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"Oktober"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"Dezember"}
+
+%</!abr>
+%<*abr>
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Febr."}
+
+MACRO {mar} {"M\^^b{a}rz"}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"Mai"}
+
+MACRO {jun} {"Juni"}
+
+MACRO {jul} {"Juli"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Okt."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dez."}
+
+%</abr>
+%</!options&!driver>
+ % End of language definition file
+
+% \end{macrocode}
+% \Finale
diff --git a/biblio/bibtex/contrib/oxford/lang/italian.mbs b/biblio/bibtex/contrib/oxford/lang/italian.mbs
new file mode 100644
index 0000000000..1081cfa8b2
--- /dev/null
+++ b/biblio/bibtex/contrib/oxford/lang/italian.mbs
@@ -0,0 +1,297 @@
+%\iffalse THIS IS A META COMMENT
+%====================================================================
+% A Language Definition File: ITALIAN
+% to be included with other master bibliography style files
+%--------------------------------------------------------------------
+% (See version and date in the \ProvidesFile command below)
+%--------------------------------------------------------------------
+% This file is self-documenting: simply LaTeX it!
+%====================================================================
+%
+ %-------------------------------------------------------------------
+ % The original source file contains the following version information:
+%\fi
+ % \ProvidesFile{italian.mbs}[1995/07/20 1.0 (GP)]
+%\iffalse
+%-------------------------------------------------------------------
+% NOTICE:
+% This file may be used for non-profit purposes.
+% It may not be distributed in exchange for money,
+% other than distribution costs.
+%
+% The author provides it `as is' and does not guarantee it in any way.
+%
+% Original (and REAL) author:
+%% Copyright (C) 1994, 1995 Patrick W. Daly
+%% Max-Planck-Institut f\"ur Aeronomie
+%% Postfach 20
+%% D-37189 Katlenburg-Lindau
+%% Germany
+%% E-mail: daly@linmpi.mpae.gwdg.de
+%
+% This file hacked by
+% Giovanni Pensa (pensa@dsi.unimi.it)
+% iTeXnici, (Unofficial) Italian TeX User Group
+% http://www.dsi.unimi.it/Users/Students/pensa/tex/uitug.html
+% todo: abbrevs, ordinal (m/f?), edizione/curatori, pag./p.
+%-------------------------------------------------------------------
+%<*a&!a>
+% The following ensures that the driver part is not seen by makebst
+% The driver part must not contain any \end other than \end{document} !
+\ifx\endoptions\undefined\let\tempx=\relax\else
+ \long\def\tempx#1\end#2{}\fi\tempx
+%</a&!a>
+%<*driver>
+ \NeedsTeXFormat{LaTeX2e}%
+ \documentclass[a4paper,10pt,twoside]{article}%
+ \usepackage{doc}%
+ \raggedbottom
+ \CodelineNumbered
+ \RecordChanges
+ % Comment out next line to print coding
+ \OnlyDescription
+ \setlength{\oddsidemargin}{0.5\paperwidth}
+ \addtolength{\oddsidemargin}{-0.5\textwidth}
+ \addtolength{\oddsidemargin}{-1in}
+ \setlength{\evensidemargin}{\oddsidemargin}
+
+\begin{document}
+ \DocInput{italian.mbs}
+\end{document}
+%</driver>
+% END OF META COMMENT \fi
+% \CharacterTable
+% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+% Digits \0\1\2\3\4\5\6\7\8\9
+% Exclamation \! Double quote \" Hash (number) \#
+% Dollar \$ Percent \% Ampersand \&
+% Acute accent \' Left paren \( Right paren \)
+% Asterisk \* Plus \+ Comma \,
+% Minus \- Point \. Solidus \/
+% Colon \: Semicolon \; Less than \<
+% Equals \= Greater than \> Question mark \?
+% Commercial at \@ Left bracket \[ Backslash \\
+% Right bracket \] Circumflex \^ Underscore \_
+% Grave accent \` Left brace \{ Vertical bar \|
+% Right brace \} Tilde \~}
+%
+% \setcounter{StandardModuleDepth}{1}
+% \setcounter{IndexColumns}{2}
+% \setlength{\IndexMin}{10cm}
+%
+% \changes{0.1}{1995 Sep 20}{Initial version}
+%
+% \pagestyle{myheadings}
+% \markboth{Giovanni Pensa}{Italian Bibliographies}
+%
+% \title{{\bfseries Italian Language Definition File}\\
+% for master bibliographic style files}
+%
+% \author{Patrick W. Daly \and Giovanni Pensa}
+%
+% \GetFileInfo{italian.mbs}
+% \date{This paper describes file \texttt{\filename},\\
+% version \fileversion{} from \filedate}
+%
+% \maketitle
+%
+% \MakeShortVerb{\|}
+%
+% \parskip=1ex \parindent=0pt
+%
+% \newcommand{\btx}{{\sc Bib}\TeX}
+% \newcommand{\dtx}{\textsf{docstrip}}
+%
+% \section{Introduction}
+% This file is to be used as a language definition file with master
+% bibliographic files. The language it defines is
+% \begin{quote}\bfseries Italian\end{quote}
+%
+% This is not a self-sufficient \texttt{.mbs} file, but rather may
+% be used together with one that contains language support via
+% external definition files.
+%
+% See the documentation for \texttt{makebst} for formatting details.
+%
+% \section{The Menu Information}
+%
+% All the menu information is nested between \dtx{} guard options
+% |%<*options>| \dots\ |%</options>|, and the last command is
+% |\endoptions|. The rest of the file is nested between |%<*!options&!driver>|
+% \dots\ |%</!options&!driver>| in order to exclude it if \dtx{} is used to
+% extract only the menu information or the documentation driver.
+%
+% \begin{macrocode}
+%<*options>
+\mes{^^JOptions for ITALIAN}
+\wr{\spsp\spsp\sep italian\pc: Italian language}
+
+\mes{^^JABBREVIATE WORD `PAGINE':}
+\optdef{*}{}{`Pagina/e'}{(no abbreviation)}
+\optdef{a}{pp}{`Pagina' abbreviated}{as pag.}
+\getans
+
+\mes{^^JABBREVIATE WORD `CURATORI':}
+\optdef{*}{}{`Curatore/i'}{(no abbreviation)}
+\optdef{a}{ed}{`Curatore' abbreviated}{as cur.}
+\getans
+
+\mes{^^JOTHER ABBREVIATIONS:}
+\optdef{*}{}{No abbreviations}{of volume, edizione, capitolo, etc}
+\optdef{a}{abr}{Abbreviations}{of such words}
+\getans
+
+\mes{^^JEDITION NUMBERS:}
+\optdef{*}{}{Write out editions}{as prima, seconda, terza, etc}
+\optdef{n}{ord}{Numerical editions}{as 1a, 2a, 3a, etc}
+\getans
+
+\endoptions
+%</options>
+% \end{macrocode}
+%
+% \StopEventually{\PrintChanges}
+%
+% \section{The Coding}
+% \begin{macrocode}
+%<*!options&!driver>
+
+ % The language selected here is ITALIAN
+FUNCTION {bbl.and}
+{ "e" }
+
+FUNCTION {bbl.editors}
+%<!ed>{ "curatori" }
+%<ed>{ "cur." }
+
+FUNCTION {bbl.editor}
+%<!ed>{ "curatore" }
+%<ed>{ "cur." }
+
+FUNCTION {bbl.edby}
+{ "curato da" }
+
+FUNCTION {bbl.edition}
+%<!abr>{ "edizione" }
+%<abr>{ "ed." }
+
+FUNCTION {bbl.volume}
+%<!abr>{ "volume" }
+%<abr>{ "vol." }
+
+FUNCTION {bbl.of}
+{ "di" }
+
+FUNCTION {bbl.number}
+%<!abr>{ "numero" }
+%<abr>{ "no." }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+%<!pp>{ "pagine" }
+%<pp>{ "pp." }
+
+FUNCTION {bbl.page}
+%<!pp>{ "pagina" }
+%<pp>{ "p." }
+
+FUNCTION {bbl.chapter}
+%<!abr>{ "capitolo" }
+%<abr>{ "cap." }
+
+FUNCTION {bbl.techrep}
+%<!abr>{ "Rapporto Tecnico" }
+%<abr>{ "Rap. Tecn." }
+
+FUNCTION {bbl.mthesis}
+{ "Tesi di laurea" }
+
+FUNCTION {bbl.phdthesis}
+{ "Tesi di dottorato" }
+
+FUNCTION {bbl.first}
+%<!ord>{ "Prima" }
+%<ord>{ "1a" }
+
+FUNCTION {bbl.second}
+%<!ord>{ "Seconda" }
+%<ord>{ "2a" }
+
+FUNCTION {bbl.third}
+%<!ord>{ "Terza" }
+%<ord>{ "3a" }
+
+FUNCTION {bbl.fourth}
+%<!ord>{ "Quarta" }
+%<ord>{ "4a" }
+
+FUNCTION {bbl.fifth}
+%<!ord>{ "Quinta" }
+%<ord>{ "5a" }
+
+FUNCTION {bbl.th}
+{ "a" }
+
+%<*!abr>
+MACRO {jan} {"gennaio"}
+
+MACRO {feb} {"febbraio"}
+
+MACRO {mar} {"marzo"}
+
+MACRO {apr} {"aprile"}
+
+MACRO {may} {"maggio"}
+
+MACRO {jun} {"giugno"}
+
+MACRO {jul} {"luglio"}
+
+MACRO {aug} {"agosto"}
+
+MACRO {sep} {"settembre"}
+
+MACRO {oct} {"ottobre"}
+
+MACRO {nov} {"novembre"}
+
+MACRO {dec} {"dicembre"}
+
+%</!abr>
+%<*abr>
+MACRO {jan} {"gen."}
+
+MACRO {feb} {"feb."}
+
+MACRO {mar} {"mar."}
+
+MACRO {apr} {"apr."}
+
+MACRO {may} {"mag"}
+
+MACRO {jun} {"giu."}
+
+MACRO {jul} {"lug."}
+
+MACRO {aug} {"ago."}
+
+MACRO {sep} {"set."}
+
+MACRO {oct} {"ott."}
+
+MACRO {nov} {"nov."}
+
+MACRO {dec} {"dic."}
+
+%</abr>
+%</!options&!driver>
+ % End of language definition file
+
+% \end{macrocode}
+% \Finale
diff --git a/biblio/bibtex/contrib/oxford/lang/norsk.mbs b/biblio/bibtex/contrib/oxford/lang/norsk.mbs
new file mode 100644
index 0000000000..d50cae9366
--- /dev/null
+++ b/biblio/bibtex/contrib/oxford/lang/norsk.mbs
@@ -0,0 +1,299 @@
+%\iffalse THIS IS A META COMMENT
+%====================================================================
+% A Language Definition File: NORWEGIAN
+% to be included with other master bibliography style files
+%--------------------------------------------------------------------
+% (See version and date in the \ProvidesFile command below)
+%--------------------------------------------------------------------
+% This file is self-documenting: simply LaTeX it!
+%====================================================================
+%
+ %-------------------------------------------------------------------
+ % The original source file contains the following version information:
+%\fi
+ % \ProvidesFile{norsk.mbs}[1995/08/07 1.0 (RL/PWD)]
+%\iffalse
+%-------------------------------------------------------------------
+% NOTICE:
+% This file may be used for non-profit purposes.
+% It may not be distributed in exchange for money,
+% other than distribution costs.
+%
+% The author provides it `as is' and does not guarantee it in any way.
+%
+% This file is modelled on english.mbs version 1.1 1995/05/04 by
+% Patrick W. Daly
+%
+ % Copyright (C) 1995, Rolf Lindgren, OPERATOR
+% Universitetes Senter for Informasjonsteknologi
+% Pb 1059 Blindern
+% 0316 OSLO
+%
+% E-mail: rolf.lindgren@usit.uio.no
+ %-------------------------------------------------------------------
+%<*a&!a>
+% The following ensures that the driver part is not seen by makebst
+% The driver part must not contain any \end other than \end{document} !
+\ifx\endoptions\undefined\let\tempx=\relax\else
+ \long\def\tempx#1\end#2{}\fi\tempx
+%</a&!a>
+%<*driver>
+ \NeedsTeXFormat{LaTeX2e}%
+ \documentclass[a4paper,10pt,twoside]{article}%
+ \usepackage{doc}%
+ \raggedbottom
+ \CodelineNumbered
+ \RecordChanges
+ % Comment out next line to print coding
+ \OnlyDescription
+ \setlength{\oddsidemargin}{0.5\paperwidth}
+ \addtolength{\oddsidemargin}{-0.5\textwidth}
+ \addtolength{\oddsidemargin}{-1in}
+ \setlength{\evensidemargin}{\oddsidemargin}
+
+\begin{document}
+ \DocInput{norsk.mbs}
+\end{document}
+%</driver>
+% END OF META COMMENT \fi
+% \CharacterTable
+% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+% Digits \0\1\2\3\4\5\6\7\8\9
+% Exclamation \! Double quote \" Hash (number) \#
+% Dollar \$ Percent \% Ampersand \&
+% Acute accent \' Left paren \( Right paren \)
+% Asterisk \* Plus \+ Comma \,
+% Minus \- Point \. Solidus \/
+% Colon \: Semicolon \; Less than \<
+% Equals \= Greater than \> Question mark \?
+% Commercial at \@ Left bracket \[ Backslash \\
+% Right bracket \] Circumflex \^ Underscore \_
+% Grave accent \` Left brace \{ Vertical bar \|
+% Right brace \} Tilde \~}
+%
+% \setcounter{StandardModuleDepth}{1}
+% \setcounter{IndexColumns}{2}
+% \setlength{\IndexMin}{10cm}
+%
+% \markboth{Rolf Lindgren}{Norwegian bibliographies}
+%
+% \title{{\bfseries Norwegian Language Definition File}\\
+% for master bibliographic style files}
+%
+% \author{Rolf Lindgren}
+%
+% \GetFileInfo{norsk.mbs}
+% \date{This paper describes file \texttt{\filename},\\
+% version \fileversion{} from \filedate}
+%
+% \maketitle
+%
+% \MakeShortVerb{\|}
+%
+% \parskip=1ex \parindent=0pt
+%
+% \newcommand{\btx}{{\sc Bib}\TeX}
+% \newcommand{\dtx}{\textsf{docstrip}}
+%
+% \section{Introduction}
+% This file is to be used as a language definition file with master
+% bibliographic files. The language it defines is
+% \begin{quote}\bfseries Norsk\end{quote}
+%
+% This is not a self-sufficient \texttt{.mbs} file, but rather may
+% be used together with one that contains language support via
+% external definition files.
+%
+% See the documentation for \texttt{makebst} for formatting details.
+%
+% \section{The Menu Information}
+%
+% All the menu information is nested between \dtx{} guard options
+% |%<*options>| \dots\ |%</options>|, and the last command is
+% |\endoptions|. The rest of the file is nested between |%<*!options&!driver>|
+% \dots\ |%</!options&!driver>| in order to exclude it if \dtx{} is used to
+% extract only the menu information or the documentation driver.
+%
+% \begin{macrocode}
+%<*options>
+\mes{^^JOptions for NORSK}
+\wr{\spsp\spsp\sep norsk\pc: Norwegian language}
+
+\mes{^^JABBREVIATE WORD `PAGES':}
+\optdef{*}{}{`Sider(r)'}{(no abbreviation)}
+\optdef{a}{pp}{`Side' abbreviated}{as s. or ss.}
+\getans
+
+\mes{^^JABBREVIATE WORD `EDITORS':}
+\optdef{*}{}{`Redakt{\string\o}r(er)'}{(no abbreviation)}
+\optdef{a}{ed}{`Redakt{\string\o}r' abbreviated}{as red.}
+\getans
+
+\mes{^^JOTHER ABBREVIATIONS:}
+\optdef{*}{}{No abbreviations}{of bind, utgave, kapitel, osv.}
+\optdef{a}{abr}{Abbreviations}{of such words}
+\getans
+
+\mes{^^JEDITION NUMBERS:}
+\optdef{*}{}{Write out editions}{as f{string\o}rste, annen, tredje, osv}
+\optdef{n}{ord}{Numerical editions}{as 1., 2., 3., osv}
+\getans
+
+\endoptions
+%</options>
+% \end{macrocode}
+%
+% \StopEventually{\PrintChanges}
+%
+% \section{The Coding}
+% \begin{macrocode}
+%<*!options&!driver>
+
+ % The language selected here is NORSK
+
+FUNCTION {bbl.and}
+{ "og"}
+
+FUNCTION {bbl.editors}
+%<!ed>{ "redakt{\o}rer" }
+%<ed>{ "red." }
+
+FUNCTION {bbl.editor}
+%<!ed>{ "redakt{\o}r" }
+%<ed>{ "red." }
+
+FUNCTION {bbl.edby}
+{ "redigert av" }
+
+FUNCTION {bbl.edition}
+%<!abr>{ "utgave" }
+%<abr>{ "utg." }
+
+FUNCTION {bbl.volume}
+%<!abr>{ "bind" }
+%<abr>{ "bd." }
+
+FUNCTION {bbl.of}
+{ "av" }
+
+FUNCTION {bbl.number}
+%<!abr>{ "nummer" }
+%<abr>{ "nr." }
+
+FUNCTION {bbl.nr}
+{ "nr." }
+
+FUNCTION {bbl.in}
+{ "i" }
+
+FUNCTION {bbl.pages}
+%<!pp>{ "sider" }
+%<pp>{ "ss." }
+
+FUNCTION {bbl.page}
+%<!pp>{ "side" }
+%<pp>{ "s." }
+
+FUNCTION {bbl.chapter}
+%<!abr>{ "kapitel" }
+%<abr>{ "kap." }
+
+FUNCTION {bbl.techrep}
+%<!abr>{ "Teknisk rapport" }
+%<abr>{ "Tekn. rap." }
+
+FUNCTION {bbl.mthesis}
+{ "Hovedoppgave" }
+
+FUNCTION {bbl.phdthesis}
+{ "Doktorgradsavhandling" }
+
+FUNCTION {bbl.first}
+%<!ord>{ "F{\o}rste" }
+%<ord>{ "1." }
+
+FUNCTION {bbl.second}
+%<!ord>{ "Annen" }
+%<ord>{ "2." }
+
+FUNCTION {bbl.third}
+%<!ord>{ "Tredje" }
+%<ord>{ "3." }
+
+FUNCTION {bbl.fourth}
+%<!ord>{ "Fjerde" }
+%<ord>{ "4." }
+
+FUNCTION {bbl.fifth}
+%<!ord>{ "Femte" }
+%<ord>{ "5." }
+
+FUNCTION {bbl.th}
+{ "." }
+
+% \end{macrocode}
+% This function adds English endings for ordinals 1, 2, 3. However, if
+% the second last digit is 1, then the ending is `th' for all last digits.
+% So far, all other languages included do not have this problem, and it is
+% sufficient to add the \textsl{th} equivalent. This might change with further
+% languages.
+%
+% \begin{macrocode}
+%<*!abr>
+MACRO {jan} {"Januar"}
+
+MACRO {feb} {"Februar"}
+
+MACRO {mar} {"Mars"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"Mai"}
+
+MACRO {jun} {"Juni"}
+
+MACRO {jul} {"Juli"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"Oktober"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"Desember"}
+
+%</!abr>
+%<*abr>
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"Mai"}
+
+MACRO {jun} {"Jun."}
+
+MACRO {jul} {"Jul."}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sep."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Des."}
+
+%</abr>
+%</!options&!driver>
+ % End of language definition file
+
+% \end{macrocode}
+% \Finale
diff --git a/biblio/bibtex/contrib/oxford/lang/spanish.mbs b/biblio/bibtex/contrib/oxford/lang/spanish.mbs
new file mode 100644
index 0000000000..4d7b9dd132
--- /dev/null
+++ b/biblio/bibtex/contrib/oxford/lang/spanish.mbs
@@ -0,0 +1,301 @@
+%\iffalse THIS IS A META COMMENT
+%====================================================================
+% A Language Definition File: SPANISH
+% to be included with other master bibliography style files
+%--------------------------------------------------------------------
+% (See version and date in the \ProvidesFile command below)
+%--------------------------------------------------------------------
+% This file is self-documenting: simply LaTeX it!
+%====================================================================
+%
+%\fi
+ %-------------------------------------------------------------------
+ % The original source file contains the following version information:
+ % \ProvidesFile{spanish.mbs}[1995/06/01 1.0 (PWD/TB)]
+%\iffalse
+%-------------------------------------------------------------------
+% NOTICE:
+% This file may be used for non-profit purposes.
+% It may not be distributed in exchange for money,
+% other than distribution costs.
+%
+% The author provides it `as is' and does not guarantee it in any way.
+%
+ % Copyright (C) 1994, 1995 Patrick W. Daly
+% Max-Planck-Institut f\"ur Aeronomie
+% Postfach 20
+% D-37189 Katlenburg-Lindau
+% Germany
+%
+% E-mail: daly@linmpi.mpae.gwdg.de
+%
+ % Copyright (C) 1995 Tom\'as Bautista
+% Divisi\'on de CAD del Centro de Microelectr\'onica Aplicada
+% Campus Universitario de Tafira, pab.\ A
+% E-35017 Las Palmas de Gran Canaria
+% Canary Islands
+%
+% E-mail: bautista@cma.ulpgc.es
+
+
+ %-------------------------------------------------------------------
+%<*a&!a>
+% The following ensures that the driver part is not seen by makebst
+% The driver part must not contain any \end other than \end{document} !
+\ifx\endoptions\undefined\let\tempx=\relax\else
+ \long\def\tempx#1\end#2{}\fi\tempx
+%</a&!a>
+%<*driver>
+ \NeedsTeXFormat{LaTeX2e}%
+ \documentclass[a4paper,10pt,twoside]{article}%
+ \usepackage{doc}%
+ \raggedbottom
+ \CodelineNumbered
+ \RecordChanges
+ % Comment out next line to print coding
+ \OnlyDescription
+ \setlength{\oddsidemargin}{0.5\paperwidth}
+ \addtolength{\oddsidemargin}{-0.5\textwidth}
+ \addtolength{\oddsidemargin}{-1in}
+ \setlength{\evensidemargin}{\oddsidemargin}
+
+\begin{document}
+ \DocInput{spanish.mbs}
+\end{document}
+%</driver>
+% END OF META COMMENT \fi
+% \CharacterTable
+% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+% Digits \0\1\2\3\4\5\6\7\8\9
+% Exclamation \! Double quote \" Hash (number) \#
+% Dollar \$ Percent \% Ampersand \&
+% Acute accent \' Left paren \( Right paren \)
+% Asterisk \* Plus \+ Comma \,
+% Minus \- Point \. Solidus \/
+% Colon \: Semicolon \; Less than \<
+% Equals \= Greater than \> Question mark \?
+% Commercial at \@ Left bracket \[ Backslash \\
+% Right bracket \] Circumflex \^ Underscore \_
+% Grave accent \` Left brace \{ Vertical bar \|
+% Right brace \} Tilde \~}
+%
+% \setcounter{StandardModuleDepth}{1}
+% \setcounter{IndexColumns}{2}
+% \setlength{\IndexMin}{10cm}
+%
+% \changes{1.0}{1995 June 01}{Initial version}
+%
+% \pagestyle{myheadings}
+% \markboth{T. Bautista}{Spanish Bibliographies}
+%
+% \title{{\bfseries Spanish Language Definition File}\\
+% for master bibliographic style files}
+%
+% \author{Tom\'as Bautista}
+%
+% \GetFileInfo{spanish.mbs}
+% \date{This paper describes file \texttt{\filename},\\
+% version \fileversion{} from \filedate}
+%
+% \maketitle
+%
+% \MakeShortVerb{\|}
+%
+% \parskip=1ex \parindent=0pt
+%
+% \newcommand{\btx}{{\sc Bib}\TeX}
+% \newcommand{\dtx}{\textsf{docstrip}}
+%
+% \section{Introduction}
+% This file is to be used as a language definition file with master
+% bibliographic files. The language it defines is
+% \begin{quote}\bfseries Spanish\end{quote}
+%
+% This is not a self-sufficient \texttt{.mbs} file, but rather may
+% be used together with one that contains language support via
+% external definition files.
+%
+% See the documentation for \texttt{makebst} for formatting details.
+%
+% \section{The Menu Information}
+%
+% All the menu information is nested between \dtx{} guard options
+% |%<*options>| \dots\ |%</options>|, and the last command is
+% |\endoptions|. The rest of the file is nested between |%<*!options&!driver>|
+% \dots\ |%</!options&!driver>| in order to exclude it if \dtx{} is used to
+% extract only the menu information or the documentation driver.
+%
+% \begin{macrocode}
+%<*options>
+\mes{^^JOptions for SPANISH}
+\wr{\spsp\spsp\sep spanish\pc: Spanish language}
+
+
+\mes{^^JABBREVIATE WORD `PAGINAS':}
+\optdef{*}{}{`P'agina(s)'}{(no abbreviation)}
+\optdef{a}{pp}{`P'agina' abbreviated}{as p'ag.}
+\getans
+
+\mes{^^JABBREVIATE WORD `EDITOR':}
+\optdef{*}{}{`Editor(es)'}{(no abbreviation)}
+\optdef{a}{ed}{`Editor' abbreviated}{as Ed.}
+\getans
+
+\mes{^^JOTHER ABBREVIATIONS:}
+\optdef{*}{}{No abbreviations}{of Tomo, \string Edici'on, \string Cap'itulo}
+\optdef{a}{abr}{Abbreviations}{of such words}
+\getans
+
+\mes{^^JEDITION NUMBERS:}
+\optdef{*}{}{Write out editions}{as primera, segunda, tercera, etc}
+\optdef{n}{ord}{Numerical editions}{as 1a, 2a, 3a, etc}
+\getans
+
+\endoptions
+%</options>
+% \end{macrocode}
+%
+% \StopEventually{\PrintChanges}
+%
+% \section{The Coding}
+% \begin{macrocode}
+%<*!options&!driver>
+
+ % The language selected here is SPANISH
+FUNCTION {bbl.and}
+{ "y"}
+
+FUNCTION {bbl.editors}
+%<!ed>{ "editores" }
+%<ed>{ "eds." }
+
+FUNCTION {bbl.editor}
+%<!ed>{ "editor" }
+%<ed>{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "editado por" }
+
+FUNCTION {bbl.edition}
+%<!abr>{ "edici\'on" }
+%<abr>{ "ed\raise1ex\hbox{\underbar{\scriptsize \'on}}." }
+
+FUNCTION {bbl.volume}
+{ "tomo" }
+
+FUNCTION {bbl.of}
+{ "de" }
+
+FUNCTION {bbl.number}
+%<!abr>{ "n\'umero" }
+%<abr>{ "n\raise1ex\hbox{\underbar{\scriptsize o}}" }
+
+FUNCTION {bbl.nr}
+{ "n\raise1ex\hbox{\underbar{\scriptsize o}}" }
+
+FUNCTION {bbl.in}
+{ "en" }
+
+FUNCTION {bbl.pages}
+%<!pp>{ "p\'aginas" }
+%<pp>{ "p\'ags." }
+
+FUNCTION {bbl.page}
+%<!pp>{ "p\'agina" }
+%<pp>{ "p\'ag." }
+
+FUNCTION {bbl.chapter}
+%<!abr>{ "cap\'{\i}tulo" }
+%<abr>{ "cap." }
+
+FUNCTION {bbl.techrep}
+%<!abr>{ "Informe T\'ecnico" }
+%<abr>{ "Inf.\ T\'ec." }
+
+FUNCTION {bbl.mthesis}
+{ "Proyecto Fin de Carrera" }
+
+FUNCTION {bbl.phdthesis}
+{ "Tesis Doctoral" }
+
+FUNCTION {bbl.first}
+%<!ord>{ "primera" }
+%<ord>{ "1\raise1ex\hbox{\underbar{\scriptsize a}}" }
+
+FUNCTION {bbl.second}
+%<!ord>{ "segunda" }
+%<ord>{ "2\raise1ex\hbox{\underbar{\scriptsize a}}" }
+
+FUNCTION {bbl.third}
+%<!ord>{ "tercera" }
+%<ord>{ "3\raise1ex\hbox{\underbar{\scriptsize a}}" }
+
+FUNCTION {bbl.fourth}
+%<!ord>{ "cuarta" }
+%<ord>{ "4\raise1ex\hbox{\underbar{\scriptsize a}}" }
+
+FUNCTION {bbl.fifth}
+%<!ord>{ "quinta" }
+%<ord>{ "5\raise1ex\hbox{\underbar{\scriptsize a}}" }
+
+FUNCTION {bbl.th}
+{ "\raise1ex\hbox{\underbar{\scriptsize a}}" }
+
+%<*!abr>
+MACRO {jan} {"enero"}
+
+MACRO {feb} {"febrero"}
+
+MACRO {mar} {"marzo"}
+
+MACRO {apr} {"abril"}
+
+MACRO {may} {"mayo"}
+
+MACRO {jun} {"junio"}
+
+MACRO {jul} {"julio"}
+
+MACRO {aug} {"agosto"}
+
+MACRO {sep} {"septiembre"}
+
+MACRO {oct} {"octubre"}
+
+MACRO {nov} {"noviembre"}
+
+MACRO {dec} {"diciembre"}
+
+%</!abr>
+%<*abr>
+MACRO {jan} {"ene."}
+
+MACRO {feb} {"feb."}
+
+MACRO {mar} {"mar."}
+
+MACRO {apr} {"abr."}
+
+MACRO {may} {"mayo"}
+
+MACRO {jun} {"jun."}
+
+MACRO {jul} {"jul."}
+
+MACRO {aug} {"ago."}
+
+MACRO {sep} {"sep."}
+
+MACRO {oct} {"oct."}
+
+MACRO {nov} {"nov."}
+
+MACRO {dec} {"dic."}
+
+%</abr>
+%</!options&!driver>
+ % End of language definition file
+
+% \end{macrocode}
+% \Finale
diff --git a/biblio/bibtex/contrib/oxford/lang/svenska.mbs b/biblio/bibtex/contrib/oxford/lang/svenska.mbs
new file mode 100644
index 0000000000..05684c199c
--- /dev/null
+++ b/biblio/bibtex/contrib/oxford/lang/svenska.mbs
@@ -0,0 +1,297 @@
+%\iffalse THIS IS A META COMMENT
+%====================================================================
+% A Language Definition File: SWEDISH
+% to be included with other master bibliography style files
+%--------------------------------------------------------------------
+% (See version and date in the \ProvidesFile command below)
+%--------------------------------------------------------------------
+% This file is self-documenting: simply LaTeX it!
+%====================================================================
+%
+ %-------------------------------------------------------------------
+ % The original source file contains the following version information:
+%\fi
+ % \ProvidesFile{svenska.mbs}[1995/08/07 1.0 (RL/PWD)]
+%\iffalse
+%-------------------------------------------------------------------
+% NOTICE:
+% This file may be used for non-profit purposes.
+% It may not be distributed in exchange for money,
+% other than distribution costs.
+%
+% The author provides it `as is' and does not guarantee it in any way.
+%
+% This file is modelled on english.mbs version 1.1 1995/05/04 by
+% Patrick W. Daly
+%
+ % Copyright (C) 1997, Peter Antman
+% Forskningsassistent Centrum för välfärdsforskning
+%
+% E-mail: peter.antman@abc.se
+ %-------------------------------------------------------------------
+%<*a&!a>
+% The following ensures that the driver part is not seen by makebst
+% The driver part must not contain any \end other than \end{document} !
+\ifx\endoptions\undefined\let\tempx=\relax\else
+ \long\def\tempx#1\end#2{}\fi\tempx
+%</a&!a>
+%<*driver>
+ \NeedsTeXFormat{LaTeX2e}%
+ \documentclass[a4paper,10pt,twoside]{article}%
+ \usepackage{doc}%
+ \raggedbottom
+ \CodelineNumbered
+ \RecordChanges
+ % Comment out next line to print coding
+ \OnlyDescription
+ \setlength{\oddsidemargin}{0.5\paperwidth}
+ \addtolength{\oddsidemargin}{-0.5\textwidth}
+ \addtolength{\oddsidemargin}{-1in}
+ \setlength{\evensidemargin}{\oddsidemargin}
+
+\begin{document}
+ \DocInput{svenska.mbs}
+\end{document}
+%</driver>
+% END OF META COMMENT \fi
+% \CharacterTable
+% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+% Digits \0\1\2\3\4\5\6\7\8\9
+% Exclamation \! Double quote \" Hash (number) \#
+% Dollar \$ Percent \% Ampersand \&
+% Acute accent \' Left paren \( Right paren \)
+% Asterisk \* Plus \+ Comma \,
+% Minus \- Point \. Solidus \/
+% Colon \: Semicolon \; Less than \<
+% Equals \= Greater than \> Question mark \?
+% Commercial at \@ Left bracket \[ Backslash \\
+% Right bracket \] Circumflex \^ Underscore \_
+% Grave accent \` Left brace \{ Vertical bar \|
+% Right brace \} Tilde \~}
+%
+% \setcounter{StandardModuleDepth}{1}
+% \setcounter{IndexColumns}{2}
+% \setlength{\IndexMin}{10cm}
+%
+% \markboth{Peter Antman}{Swedish bibliographies}
+%
+% \title{{\bfseries Swedish Language Definition File}\\
+% for master bibliographic style files}
+%
+% \author{Peter Antman}
+%
+% \GetFileInfo{svenska.mbs}
+% \date{This paper describes file \texttt{\filename},\\
+% version \fileversion{} from \filedate}
+%
+% \maketitle
+%
+% \MakeShortVerb{\|}
+%
+% \parskip=1ex \parindent=0pt
+%
+% \newcommand{\btx}{{\sc Bib}\TeX}
+% \newcommand{\dtx}{\textsf{docstrip}}
+%
+% \section{Introduction}
+% This file is to be used as a language definition file with master
+% bibliographic files. The language it defines is
+% \begin{quote}\bfseries Svenska\end{quote}
+%
+% This is not a self-sufficient \texttt{.mbs} file, but rather may
+% be used together with one that contains language support via
+% external definition files.
+%
+% See the documentation for \texttt{makebst} for formatting details.
+%
+% \section{The Menu Information}
+%
+% All the menu information is nested between \dtx{} guard options
+% |%<*options>| \dots\ |%</options>|, and the last command is
+% |\endoptions|. The rest of the file is nested between |%<*!options&!driver>|
+% \dots\ |%</!options&!driver>| in order to exclude it if \dtx{} is used to
+% extract only the menu information or the documentation driver.
+%
+% \begin{macrocode}
+%<*options>
+\mes{^^JOptions for SVENSKA}
+\wr{\spsp\spsp\sep svenska\pc: SWEDISH language}
+
+\mes{^^JABBREVIATE WORD `PAGES':}
+\optdef{*}{}{`Sidor(r)'}{(no abbreviation)}
+\optdef{a}{pp}{`Sida' abbreviated}{as s. or ss.}
+\getans
+
+\mes{^^JABBREVIATE WORD `EDITORS':}
+\optdef{*}{}{`Redaktör(er)'}{(no abbreviation)}
+\optdef{a}{ed}{`Redaktör' abbreviated}{as red.}
+\getans
+
+\mes{^^JOTHER ABBREVIATIONS:}
+\optdef{*}{}{No abbreviations}{of volym, utgåva, kapitel, osv.}
+\optdef{a}{abr}{Abbreviations}{of such words}
+\getans
+
+\mes{^^JEDITION NUMBERS:}
+\optdef{*}{}{Write out editions}{as första, andra, tredje, osv}
+\optdef{n}{ord}{Numerical editions}{as 1., 2., 3., osv}
+\getans
+
+\endoptions
+%</options>
+% \end{macrocode}
+%
+% \StopEventually{\PrintChanges}
+%
+% \section{The Coding}
+% \begin{macrocode}
+%<*!options&!driver>
+
+ % The language selected here is SVENSKA
+
+FUNCTION {bbl.and}
+{ "och"}
+
+FUNCTION {bbl.editors}
+%<!ed>{ "redaktörer" }
+%<ed>{ "red." }
+
+FUNCTION {bbl.editor}
+%<!ed>{ "redaktör" }
+%<ed>{ "red." }
+
+FUNCTION {bbl.edby}
+{ "redigerad av" }
+
+FUNCTION {bbl.edition}
+%<!abr>{ "utgåva" }
+%<abr>{ "utg." }
+
+FUNCTION {bbl.volume}
+%<!abr>{ "volym" }
+%<abr>{ "vol." }
+
+FUNCTION {bbl.of}
+{ "av" }
+
+FUNCTION {bbl.number}
+%<!abr>{ "nummer" }
+%<abr>{ "nr." }
+
+FUNCTION {bbl.nr}
+{ "nr." }
+
+FUNCTION {bbl.in}
+{ "i" }
+
+FUNCTION {bbl.pages}
+%<!pp>{ "sidor" }
+%<pp>{ "ss." }
+
+FUNCTION {bbl.page}
+%<!pp>{ "sida" }
+%<pp>{ "s." }
+
+FUNCTION {bbl.chapter}
+%<!abr>{ "kapitel" }
+%<abr>{ "kap." }
+
+FUNCTION {bbl.techrep}
+%<!abr>{ "Teknisk rapport" }
+%<abr>{ "Tekn. rap." }
+
+FUNCTION {bbl.mthesis}
+{ "Licenciatavgandling" }
+
+FUNCTION {bbl.phdthesis}
+{ "Doktorgradsavhandling" }
+
+FUNCTION {bbl.first}
+%<!ord>{ "Första" }
+%<ord>{ "1." }
+
+FUNCTION {bbl.second}
+%<!ord>{ "Andra" }
+%<ord>{ "2." }
+
+FUNCTION {bbl.third}
+%<!ord>{ "Tredje" }
+%<ord>{ "3." }
+
+FUNCTION {bbl.fourth}
+%<!ord>{ "Fjärde" }
+%<ord>{ "4." }
+
+FUNCTION {bbl.fifth}
+%<!ord>{ "Femte" }
+%<ord>{ "5." }
+
+FUNCTION {bbl.th}
+{ "." }
+
+% \end{macrocode}
+% This function adds English endings for ordinals 1, 2, 3. However, if
+% the second last digit is 1, then the ending is `th' for all last digits.
+% So far, all other languages included do not have this problem, and it is
+% sufficient to add the \textsl{th} equivalent. This might change with further
+% languages.
+%
+% \begin{macrocode}
+%<*!abr>
+MACRO {jan} {"Januari"}
+
+MACRO {feb} {"Februari"}
+
+MACRO {mar} {"Mars"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"Maj"}
+
+MACRO {jun} {"Juni"}
+
+MACRO {jul} {"Juli"}
+
+MACRO {aug} {"Augusti"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"Oktober"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+%</!abr>
+%<*abr>
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"Maj"}
+
+MACRO {jun} {"Jun."}
+
+MACRO {jul} {"Jul."}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sep."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+%</abr>
+%</!options&!driver>
+ % End of language definition file
+
+% \end{macrocode}
+% \Finale
diff --git a/biblio/bibtex/contrib/oxford/oxford.sty b/biblio/bibtex/contrib/oxford/oxford.sty
new file mode 100644
index 0000000000..2df98cd845
--- /dev/null
+++ b/biblio/bibtex/contrib/oxford/oxford.sty
@@ -0,0 +1,303 @@
+%% oxford.sty - oxford bibliography style Version 0.1
+%% Author: Peter Antman peter.antman@abc.se
+%% Changes Copyright: Peter Antman, 1997
+%%
+%% Based on:
+%% harvard.sty - harvard bibliography style Version 2.0.5
+%% Author: Peter Williams peterw@archsci.arch.su.edu.au
+%% Copyright: Peter Williams 1994
+%%
+%% This is the oxford style support. It has to be run together
+%% whith style oxford_xx.bbs, where xx stands for the language code
+%% (se acompanying README). A new entry in the bib-file is supported
+%% in the stylefile, namely stitle. This is a short title to be
+%% used in the abbr citations, when a title is nedded.
+%%
+%% Currrently is only the \cite command supported, and only in
+%% abbrevation mode. You should not use parathesis mode.
+%% the best is to use this command in the tex-file:
+%% \usepackage[default, none]{oxford}
+%% and as bibcommand:
+%% \bibliographystyle{oxford_xx}
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{oxford}
+\RequirePackage{ifthen}
+\IfFileExists{html.sty}{\RequirePackage{html}
+\newcommand{\harvardurl}[1]{\htmladdnormallink*{\textbf{URL:} \textit{##1}}{##1}}
+}{
+\newcommand{\harvardurl}[1]{\textbf{URL:} \textit{##1}}
+}
+\DeclareOption{full}{\citationmode{full}}
+\DeclareOption{abbr}{\citationmode{abbr}}
+\DeclareOption{default}{\citationmode{default}}
+\DeclareOption{agsmcite}{\citationstyle{agsm}}
+\DeclareOption{dcucite}{\citationstyle{dcu}}
+\DeclareOption{round}{\harvardparenthesis{round}\harvardyearparenthesis{round}}
+\DeclareOption{curly}{\harvardparenthesis{curly}\harvardyearparenthesis{curly}}
+\DeclareOption{angle}{\harvardparenthesis{angle}\harvardyearparenthesis{angle}}
+\DeclareOption{square}{\harvardparenthesis{square}\harvardyearparenthesis{square}}
+\DeclareOption{none}{\harvardparenthesis{none}\harvardyearparenthesis{none}}
+\DeclareOption*{
+ \global\edef\HAR@tmp{\CurrentOption}
+%% Berwin A. Turlach <berwin@alphasun.anu.edu.au>
+ \AtEndDocument{\bibliographystyle{\HAR@tmp}}
+}
+
+%% Kristoffer H. Rose <kris@diku.dk> 1995/03/01:
+%% do not expand macros in citations: put definitions on .aux file instead.
+{\catcode`\:=12 \catcode`\-=12 \catcode`\>=12 \catcode`\<=12 %
+ \gdef\codeof#1{\expandafter\codeof@\meaning#1<-:}%
+ \gdef\codeof@#1:->#2<-:{#2}}
+
+\def\harvardpreambletext{\catcode`\#=12 \harvardpreambletext@}
+\def\harvardpreambletext@#1{\def\next{#1}\catcode`\#=6 %
+ \immediate\write\@auxout{\string\harvardpreambledefs{%
+ \string\AtBeginDocument{\codeof\next}}}}
+
+\def\harvardpreambledefs#1{#1\gdef\harvardpreambledefs##1{}}
+
+\newcommand{\harvarditem}[4][\null]{\item[]%
+\if@filesw{ \def\protect##1{\string ##1\space}%
+\ifthenelse{\equal{#1}{\null}}
+ {\def\next{{#4}{#2}{#2}{#3}}}
+ {\def\next{{#4}{#2}{#1}{#3}}}
+\immediate\write\@auxout{\string\harvardcite\codeof\next}%
+}\fi%
+\protect\hspace*{-\labelwidth}\protect\hspace*{-\labelsep}\ignorespaces%
+}
+
+\newcommand{\harvardcite}[4]{
+ \global\@namedef{HAR@fn@#1}{#2}
+ \global\@namedef{HAR@an@#1}{#3}
+ \global\@namedef{HAR@yr@#1}{#4}
+ \global\@namedef{HAR@df@#1}{\csname HAR@fn@#1\endcsname}
+}
+
+\newcommand{\citationmode}[1]{
+ \renewcommand{\HAR@citemode}{\csname HAR@cite@#1\endcsname}
+}
+
+\newcommand{\HAR@cite@full}{HAR@fn@}
+\newcommand{\HAR@cite@abbr}{HAR@an@}
+\newcommand{\HAR@cite@default}{HAR@df@}
+\newcommand{\HAR@citemode}{\HAR@cite@default}
+
+\newcommand{\HAR@citetoaux}[1]{%
+ \if@filesw\immediate\write\@auxout{\string\citation{#1}}\fi%
+}
+
+\newcommand{\HAR@checkdef}[2]{\@ifundefined{HAR@df@#1}%
+ {\textbf{?}\@warning{Citation '#1' on page \thepage \space undefined}}%
+ {#2}%
+}
+
+% By Peter Antman, 1997, command changed, year excluded and
+% the blank sep betweb author and year removed
+\newcommand{\HAR@dolist}[2]{\def\@citea{\null}\@for\@citeb:=#1\do%
+{\@citea\def\@citea{\HAR@hisep\penalty\@m\ }\HAR@checkdef{\@citeb}%
+%{#2{@citeb} %
+{#2{\@citeb}\HAR@hysep\penalty\@m%
+%\HAR@year{\@citeb}\HAR@setd{\@citeb}}}%
+\HAR@setd{\@citeb}}}%
+}
+
+% added by Peter Antman to support ibid.
+\global\@namedef{HAR@lastname}{}
+
+\def\@enamedef#1{\expandafter\def\csname #1\expandafter\endcsname\expandafter}
+\newcommand{\HAR@name}[1]{\csname \HAR@citemode#1\endcsname}
+\newcommand{\HAR@fname}[1]{\csname HAR@fn@#1\endcsname}
+\newcommand{\HAR@aname}[1]{\csname HAR@an@#1\endcsname}
+\newcommand{\HAR@year}[1]{\csname HAR@yr@#1\endcsname}
+\newcommand{\HAR@setd}[1]{%
+\global\@enamedef{HAR@df@#1}{\csname HAR@an@#1\endcsname}%
+% added by Peter Antman
+\global\@enamedef{HAR@lastname}{#1}%
+}
+
+%% Berwin A. Turlach <berwin@alphasun.anu.edu.au>
+\global\@namedef{HAR@df@*}{\csname HAR@fn@*\endcsname}
+\renewcommand{\nocite}[1]{\HAR@citetoaux{#1}%
+\@for\@citeb:=#1\do%
+{\HAR@checkdef{\@citeb}{}}}%
+
+\renewcommand{\cite}{\@ifstar{\@ifstar{\HAR@acite}{\HAR@fcite}}{\HAR@dcite}}
+
+% dcite is changed to generate citations conforming to the oxford style
+% this is currently the only working oxford cite-style.
+\newcommand{\HAR@dcite}[2][\null]{\HAR@citetoaux{#2}%
+\ifthenelse{\equal{#2}{\HAR@lastname}}%
+{\HAR@ibid\HAR@hisep\penalty\@m\, #1}%
+{\harvardleft\HAR@dolist{#2}{\HAR@name}\ifthenelse{\equal{#1}{\null}}%
+ {}{, #1}\harvardright}%
+}
+
+\newcommand{\HAR@acite}[2][\null]{\HAR@citetoaux{#2}%
+{\harvardleft\HAR@dolist{#2}{\HAR@aname}\ifthenelse{\equal{#1}{\null}}%
+ {}{, #1}\harvardright}%
+}
+
+\newcommand{\HAR@fcite}[2][\null]{\HAR@citetoaux{#2}%
+{\harvardleft\HAR@dolist{#2}{\HAR@fname}\ifthenelse{\equal{#1}{\null}}%
+ {}{, #1}\harvardright}%
+}
+
+\newcommand{\citeaffixed}{\@ifstar{\@ifstar{\HAR@aciteaff}{\HAR@fciteaff}}%
+{\HAR@dciteaff}%
+}
+
+\newcommand{\HAR@fciteaff}[3][\null]{\HAR@citetoaux{#2}%
+{\harvardleft#3\ \HAR@dolist{#2}{\HAR@fname}\ifthenelse{\equal{#1}{\null}}%
+ {}{, #1}\harvardright}%
+}
+
+\newcommand{\HAR@aciteaff}[3][\null]{\HAR@citetoaux{#2}%
+{\harvardleft#3\ \HAR@dolist{#2}{\HAR@aname}\ifthenelse{\equal{#1}{\null}}%
+ {}{, #1}\harvardright}%
+}
+
+\newcommand{\HAR@dciteaff}[3][\null]{\HAR@citetoaux{#2}%
+{\harvardleft#3\ \HAR@dolist{#2}{\HAR@name}\ifthenelse{\equal{#1}{\null}}%
+ {}{, #1}\harvardright}%
+}
+
+\newcommand{\citeasnoun}{\@ifstar{\@ifstar{\HAR@aciteasn}{\HAR@fciteasn}}%
+{\HAR@dciteasn}%
+}
+
+\newcommand{\HAR@fciteasn}[2][\null]{\HAR@citetoaux{#2}\HAR@checkdef{#2}{%
+{\HAR@fname{#2}\ \harvardyearleft\HAR@year{#2}\ifthenelse{\equal{#1}{\null}}
+ {}{, #1}\harvardyearright}\HAR@setd{#2}}%
+}
+
+\newcommand{\HAR@aciteasn}[2][\null]{\HAR@citetoaux{#2}\HAR@checkdef{#2}{%
+{\HAR@aname{#2}\ \harvardyearleft\HAR@year{#2}\ifthenelse{\equal{#1}{\null}}
+ {}{, #1}\harvardyearright}\HAR@setd{#2}}%
+}
+
+\newcommand{\HAR@dciteasn}[2][\null]{\HAR@citetoaux{#2}\HAR@checkdef{#2}{%
+{\HAR@name{#2}\ \harvardyearleft\HAR@year{#2}\ifthenelse{\equal{#1}{\null}}
+ {}{, #1}\harvardyearright}\HAR@setd{#2}}%
+}
+
+\newcommand{\possessivecite}{\@ifstar{\@ifstar{\HAR@acitepos}{\HAR@fcitepos}}%
+{\HAR@dcitepos}%
+}
+
+\newcommand{\HAR@fcitepos}[2][\null]{\HAR@citetoaux{#2}\HAR@checkdef{#2}{%
+{\HAR@fname{#2}'s \harvardyearleft\HAR@year{#2}\ifthenelse{\equal{#1}{\null}}
+ {}{, #1}\harvardyearright}\HAR@setd{#2}}%
+}
+
+\newcommand{\HAR@acitepos}[2][\null]{\HAR@citetoaux{#2}\HAR@checkdef{#2}{%
+{\HAR@aname{#2}'s \harvardyearleft\HAR@year{#2}\ifthenelse{\equal{#1}{\null}}
+ {}{, #1}\harvardyearright}\HAR@setd{#2}}%
+}
+
+\newcommand{\HAR@dcitepos}[2][\null]{\HAR@citetoaux{#2}\HAR@checkdef{#2}{%
+{\HAR@name{#2}'s \harvardyearleft\HAR@year{#2}\ifthenelse{\equal{#1}{\null}}
+ {}{, #1}\harvardyearright}\HAR@setd{#2}}%
+}
+
+\newcommand{\citename}{\@ifstar{\@ifstar{\HAR@acitenam}\HAR@fcitenam}%
+{\HAR@dcitenam}%
+}
+
+\newcommand{\HAR@fcitenam}[2][\null]{\HAR@citetoaux{#2}\HAR@checkdef{#2}{%
+{\HAR@fname{#2}\ifthenelse{\equal{#1}{\null}}
+ {}{\ \harvardleft#1\harvardright}}}%
+}
+
+\newcommand{\HAR@acitenam}[2][\null]{\HAR@citetoaux{#2}\HAR@checkdef{#2}{%
+{\HAR@aname{#2}\ifthenelse{\equal{#1}{\null}}
+ {}{\ \harvardleft#1\harvardright}}}%
+}
+
+\newcommand{\HAR@dcitenam}[2][\null]{\HAR@citetoaux{#2}\HAR@checkdef{#2}{%
+{\HAR@name{#2}\ifthenelse{\equal{#1}{\null}}
+ {}{\ \harvardleft#1\harvardright}}}%
+}
+
+\newcommand{\citeyear}{\@ifstar{\HAR@citeyrnb}{\HAR@citeyr}}
+
+\newcommand{\HAR@citeyrnb}[2][\null]{\HAR@citetoaux{#2}%
+{\def\@citea{\null}\@for\@citeb:=#2\do%
+{\@citea\def\@citea{\HAR@hisep\penalty\@m\ }\HAR@checkdef{\@citeb}%
+{\HAR@year{\@citeb}}}\ifthenelse{\equal{#1}{\null}}%
+{}{, #1}}%
+}
+
+\newcommand{\HAR@citeyr}[2][\null]{\HAR@citetoaux{#2}%
+{\harvardleft\def\@citea{\null}\@for\@citeb:=#2\do%
+{\@citea\def\@citea{\HAR@hisep\penalty\@m\ }\HAR@checkdef{\@citeb}%
+{\HAR@year{\@citeb}}}\ifthenelse{\equal{#1}{\null}}%
+{}{, #1}\harvardright}%
+}
+
+% ibid added by Peter Antman
+\newcommand{\HAR@ibid}{ibid.}
+\newcommand{\HAR@hysep@apsr}{\null}
+\newcommand{\HAR@hisep@apsr}{;}
+\newcommand{\HAR@hysep@agsm}{\null}
+\newcommand{\HAR@hisep@agsm}{,}
+\newcommand{\HAR@hysep@dcu}{,}
+\newcommand{\HAR@hisep@dcu}{;}
+\newcommand{\HAR@and@agsm}{\&}
+\newcommand{\HAR@and@dcu}{and}
+\newcommand{\HAR@and@apsr}{and}
+\newcommand{\HAR@hysep}{\HAR@hysep@agsm}
+\newcommand{\HAR@hisep}{\HAR@hisep@agsm}
+\newcommand{\harvardand}{\HAR@and@agsm}
+\newcommand{\citationstyle}[1]{%
+ \renewcommand{\HAR@hysep}{\csname HAR@hysep@#1\endcsname}
+ \renewcommand{\HAR@hisep}{\csname HAR@hisep@#1\endcsname}
+ \renewcommand{\harvardand}{\csname HAR@and@#1\endcsname}
+}
+
+\newcommand{\HAR@bl@round}{(}
+\newcommand{\HAR@br@round}{)}
+\newcommand{\HAR@bl@square}{[}
+\newcommand{\HAR@br@square}{]}
+\newcommand{\HAR@bl@curly}{\{}
+\newcommand{\HAR@br@curly}{\}}
+\newcommand{\HAR@bl@angle}{$<$}
+\newcommand{\HAR@br@angle}{$>$}
+\newcommand{\HAR@bl@none}{}
+\newcommand{\HAR@br@none}{}
+\newcommand{\harvardleft}{\HAR@bl@round}
+\newcommand{\harvardright}{\HAR@br@round}
+\newcommand{\harvardparenthesis}[1]{
+ \renewcommand{\harvardleft}{\csname HAR@bl@#1\endcsname}
+ \renewcommand{\harvardright}{\csname HAR@br@#1\endcsname}
+ \harvardyearparenthesis{#1}
+}
+
+\newcommand{\harvardyearleft}{\HAR@bl@round}
+\newcommand{\harvardyearright}{\HAR@br@round}
+\newcommand{\harvardyearparenthesis}[1]{
+ \renewcommand{\harvardyearleft}{\csname HAR@bl@#1\endcsname}
+ \renewcommand{\harvardyearright}{\csname HAR@br@#1\endcsname}
+}
+
+\newcommand{\HAR@checkcitations}[4]{
+ \def\HAR@tempa{#2}\expandafter
+ \ifx \csname HAR@fn@#1\endcsname \HAR@tempa
+ \def\HAR@tempa{#3}\expandafter
+ \ifx \csname HAR@an@#1\endcsname \HAR@tempa
+ \def\HAR@tempa{#4}\expandafter
+ \ifx \csname HAR@yr@#1\endcsname \HAR@tempa
+ \else
+ \@tempswatrue
+ \fi
+ \else
+ \@tempswatrue
+ \fi
+ \else
+ \@tempswatrue
+ \fi
+}
+
+\AtEndDocument{\renewcommand{\harvardcite}{\HAR@checkcitations}}
+
+\ExecuteOptions{agsm,agsmcite,default,round}
+\ProcessOptions*
diff --git a/biblio/bibtex/contrib/oxford/oxford_en.bst b/biblio/bibtex/contrib/oxford/oxford_en.bst
new file mode 100644
index 0000000000..b586d121e8
--- /dev/null
+++ b/biblio/bibtex/contrib/oxford/oxford_en.bst
@@ -0,0 +1,1889 @@
+%%
+%% This is file `oxford_se.bst', version 0.4
+%% It was first generated with the docstrip utility in custom-bib
+%% and then heavily hacked by Peter Antman.
+%%
+%% This file must still bee considered beta.
+%%
+%% This version is for swedish citation, to get other languages to work
+%% rename it and insert the right bbl.xxx funcions and MACROS from
+%% the right mbd-file, availible with custom-bib. There are two new such
+%% commands, bbl.lq (leftquote) and bbl.rq (rightquote). Here you give
+%% your languages way of quoting titles.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `head,exlang,ay,har,harnm,vonx,nm-revf,ed-rev,dt-end,yr-col,note-yr,tit-qq,atit-u,vnum-nr,volp-com,jwdvol,add-pub,pub-date,pre-edn,edpar,blk-com,svenska,pp,ed,abr,amper,and-xcom,etal-it,{}')
+%% svenska.mbs (with options: `exlang,ay,har,harnm,vonx,nm-revf,ed-rev,dt-end,yr-col,note-yr,tit-qq,atit-u,vnum-nr,volp-com,jwdvol,add-pub,pub-date,pre-edn,edpar,blk-com,svenska,pp,ed,abr,amper,and-xcom,etal-it,{}')
+%% merlin.mbs (with options: `tail,exlang,ay,har,harnm,vonx,nm-revf,ed-rev,dt-end,yr-col,note-yr,tit-qq,atit-u,vnum-nr,volp-com,jwdvol,add-pub,pub-date,pre-edn,edpar,blk-com,svenska,pp,ed,abr,amper,and-xcom,etal-it,{}')
+%% ----------------------------------------
+%% *** ***
+%%
+ %-------------------------------------------------------------------
+ % The original source file contains the following version information:
+ % \ProvidesFile{merlin.mbs}[1996/12/16 3.82 (PWD)]
+ %
+ % NOTICE:
+ % This file may be used for non-profit purposes.
+ % It may not be distributed in exchange for money,
+ % other than distribution costs.
+ %
+ % The author provides it `as is' and does not guarantee it in any way.
+ %
+ % Copyright (C) 1994, 1995, 1996 Patrick W. Daly
+ % Copyright (C) 1997 Peter Antman, peter.antman@abc.se
+ %-------------------------------------------------------------------
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ %
+ % This is an Oxford style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is oxford.sty by Peter Antman
+ %
+ % The form of the bibitem entries is
+ % \harvarditem[Jones, New thesis]{Howard Jones, FULL ENTRY}{1990}{key}
+ % Jones, Howard, FULL ENTRY
+ %
+ % The style gives the full reference att the first citation and then a
+ % abrevated one.
+ %
+ % The file suports an additional entry in the bib-file, stitle. It is
+ % for all but the first citation, when only lastname, and if there are
+ % more lastnames that are the same, title (and if there is a stitle that
+ % instead).
+ %
+ % oxford.sty also inserts an ibid. if the current citation is the same
+ % as the last one.
+ %---------------------------------------------------------------------
+ %
+ % Hacked by Peter Antman to provide Oxford citation style.
+ % FIX: Year cite not correct everywhere ???
+ % changes version 0.2:
+ % moved note in article
+ % editor and key right in short.ref
+ % changes version 0.3:
+ % fixed editors in cite, now orde Firstname Lastname
+ % removed ( and ) around ed.
+ % removed comma before nr. if volume empty
+ % removed comma before year in article, misc and unpub
+ % changes version 0.4
+ % fixed ", " error produced in ouput.bibitem (thanks to
+ % Oren Patashnik for telling me how to do it)
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ stitle
+ title
+ type
+ URL
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+% BY Peter Antman, special function to get rid of comma before
+% year in article, misc and unpub, se also output.check.special
+FUNCTION {output.nonnull.special}
+{ 's :=
+ output.state mid.sentence =
+ { " " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check.special}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull.special
+ if$
+}
+
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ skip$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {non.stop}
+{ duplicate$
+ "}" * add.period$
+ #-1 #1 substring$ "." =
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "\/}" * }
+ if$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ %-------------------------------------------------------------------
+ % The original source file contains the following version information:
+ % \ProvidesFile{english.mbs}[1995/05/04 1.1 (PWD)]
+ % Copyright (C) 1994, 1995 Patrick W. Dal
+ %-------------------------------------------------------------------
+
+ % The language selected here is ENGLISH
+
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.editors}
+{ "eds." }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "edn." }
+
+FUNCTION {bbl.volume}
+{ "vol." }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "no." }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "pp." }
+
+FUNCTION {bbl.page}
+{ "p." }
+
+FUNCTION {bbl.chapter}
+{ "chap." }
+
+FUNCTION {bbl.techrep}
+{ "Tech Rep." }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis"}
+
+FUNCTION {bbl.first}
+{ "1st" }
+
+FUNCTION {bbl.second}
+{ "2nd" }
+
+FUNCTION {bbl.third}
+{ "3rd" }
+
+FUNCTION {bbl.fourth}
+{ "4th" }
+
+FUNCTION {bbl.fifth}
+{ "5th" }
+
+FUNCTION {bbl.th}
+{ "th" }
+
+% BY Peter Antman, new functions bbl.lq bbl.rq
+FUNCTION {bbl.lq}
+{ "'" }
+
+FUNCTION {bbl.rq}
+{ "'" }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"Jun."}
+
+MACRO {jul} {"Jul."}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sep."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+ % End of language definition file
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+FUNCTION {write.url}
+{ URL empty$
+ { skip$ }
+ { "\newline\harvardurl{" URL * "}" * write$ newline$ }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}{, jj}{, ff}" format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ t "others" =
+ { " " * "et~al." emphasize * }
+ { " \harvardand\ " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.names.ed}
+{ format.names }
+
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ {
+ author format.names
+ }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ {
+ editor format.names
+ editor num.names$ #1 >
+ { " " * bbl.editors * "" * }
+ { " " * bbl.editor * "" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.editors}
+{ editor empty$
+ { "" }
+ { editor format.names.ed
+ editor num.names$ #1 >
+ { " " * bbl.editors * "" * }
+ { " " * bbl.editor * "" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title
+ bbl.lq swap$ * % BY Peter Antman, uses bbl.lq
+ non.stop
+ { bbl.rq * ", " * } % BY Peter Antman, uses bbl.rq
+ { bbl.rq * " " * } % PROBLEM: comma after title in book
+ if$
+ }
+ if$
+}
+
+FUNCTION {end.quote.title}
+{ title empty$
+ 'skip$
+ { before.all 'output.state := }
+ if$
+}
+
+FUNCTION {format.full.names}
+{'s :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ t "others" =
+ { " " * "et~al." emphasize * }
+ { " \harvardand\ " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+% BY Peter Antman, function to format long cite
+FUNCTION {format.firstname}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ff }{jj }{vv }{ll}" format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ t "others" =
+ { " " * "et~al." emphasize * }
+ { " \harvardand\ " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+% BY Peter Antman, function to format lastname
+FUNCTION {format.lastname}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ll}{}{}{}" format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ t "others" =
+ { " " * "et~al." emphasize * }
+ { " \harvardand\ " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+% By Peter Antman, to format eds as Firstname Lastname
+FUNCTION {format.r.editors}
+{ editor empty$
+ { "" }
+ {
+ editor format.firstname
+ editor num.names$ #1 >
+ { " " * bbl.editors * "" * }
+ { " " * bbl.editor * "" * }
+ if$
+ }
+ if$
+}
+
+% BY Peter Antman, editors in Firstname Lastname
+FUNCTION {format.in.r.editors}
+{ editor empty$
+ { "" }
+ { editor format.firstname
+ editor num.names$ #1 >
+ { " " * bbl.editors * "" * }
+ { " " * bbl.editor * "" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.au}
+{ author empty$
+ { "" }
+ {
+ author format.firstname
+ }
+ if$
+}
+FUNCTION {format.auth}
+{ author empty$
+ { editor empty$
+ {author format.key}
+ {editor format.lastname}
+ if$
+ }
+ {
+ author format.lastname
+ }
+ if$
+}
+
+% BY Peter Antman, the repeated
+% should contain name if no other name of the same
+% if more names of the same, then stitle
+% if no stitle, then title
+FUNCTION {short.ref}
+{
+% format.auth
+% ", " *
+% extra.label write$
+ extra.label "" =
+ {
+% format.auth
+ short.list % PANIC this is a bad bypas of not having solved ed.
+ "" * extra.label
+ }
+ { stitle empty$
+ {
+ format.auth
+ ", " * title
+ }
+ {
+ format.auth
+ ", " * stitle
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\harvarditem[" write$
+% short.ref duplicate$ label =
+ "" short.ref * "]" * write$
+ pop$ ""
+ "{" write$
+% pop$ % ERROR, does the right thing but produces error
+ before.all 'output.state :=
+}
+
+FUNCTION {end.bibitem}
+{ "}{" * write$
+ year duplicate$ empty$
+ { pop$ "????" }
+ 'skip$
+ if$
+ extra.label * "}{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in
+ " " * }
+
+FUNCTION {format.date}
+{ year duplicate$ empty$
+ { "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????" }
+ 'skip$
+ if$
+% extra.label * % BY Peter Antman, removed, not needed in Oxford
+ " (" swap$ * ")" *
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { bbl.of space.word * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { bbl.in space.word * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+FUNCTION {convert.edition}
+{ edition extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bbl.first 't := }
+ { s "second" = s "2" = or
+ { bbl.second 't := }
+ { s "third" = s "3" = or
+ { bbl.third 't := }
+ { s "fourth" = s "4" = or
+ { bbl.fourth 't := }
+ { s "fifth" = s "5" = or
+ { bbl.fifth 't := }
+ { s #1 #1 substring$ is.num
+ { s bbl.th * 't := }
+ { edition 't := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ t
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { convert.edition "l" change.case$ " " * bbl.edition * }
+ { convert.edition "t" change.case$ " " * bbl.edition * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { bbl.pages pages n.dashify tie.or.space.connect }
+ { bbl.page pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.journal.pages}
+{
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ", " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+% BY Peter Antman, removed comma before bbl.nr if volume empty
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ volume empty$
+ 'skip$
+ { bbl.volume "~" * swap$ * }
+ if$
+ number empty$
+ 'skip$
+ {
+% " " bbl.nr * number tie.or.space.connect *
+ volume empty$
+ { " " bbl.nr * number tie.or.space.connect * }
+ { ", " bbl.nr * number tie.or.space.connect * }
+ if$
+ }
+ if$
+ format.journal.pages
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+% By Peter Antman, editors in Firstname Lastname order
+FUNCTION {format.in.r.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { word.in booktitle emphasize * }
+ { word.in format.in.r.editors * ", " *
+ booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { word.in booktitle emphasize * }
+ { word.in format.in.editors * ", " *
+ booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { bbl.techrep }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ word.in
+ }
+ { bbl.volume volume tie.or.space.connect
+ bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.publisher}
+{ publisher empty$
+ % "empty publisher in " cite$ * warning$ %dont like this warning
+ 'skip$
+ 'skip$
+ if$
+ ""
+ add.blank "(" *
+ address empty$
+ 'skip$
+ { address * }
+ if$
+ publisher empty$
+ 'skip$
+ { address empty$
+ 'skip$
+ { ": " * }
+ if$
+ publisher *
+ }
+ if$
+ year duplicate$ empty$
+ { "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????" }
+ 'skip$
+ if$
+ publisher empty$ address empty$ and
+ { * }
+ { ", " swap$ * * }
+ if$
+ ")" *
+ output
+}
+
+% BY Peter Antman, all types includes full ref
+FUNCTION {article}
+{ output.bibitem
+% pop$ % to get rid of ,
+ format.au "author" output.check % output instead of output check
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { journal
+ emphasize
+ "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.date "year" output.check.special
+ note output
+ end.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { journal
+ emphasize
+ "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.date "year" output.check.special
+ note output
+ fin.entry
+ write.url
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.r.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.au output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ format.edition output
+ note output
+ format.publisher
+ }
+ {
+ format.book.crossref output.nonnull
+ }
+ if$
+ end.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ format.edition output
+ note output
+ format.publisher
+ }
+ {
+ format.book.crossref output.nonnull
+ }
+ if$
+% note output
+ fin.entry
+ write.url
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.au output
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ howpublished output
+% address output
+ note output
+% format.date "year" output.check
+ format.publisher
+ end.bibitem
+ format.authors output
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ howpublished output
+% address output
+ note output
+% format.date "year" output.check
+ format.publisher
+ fin.entry
+ write.url
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.r.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.au output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ format.number.series output
+ format.edition output
+ note output
+ format.publisher
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ format.book.crossref output.nonnull
+ }
+ if$
+ end.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ format.number.series output
+ format.edition output
+ note output
+ format.publisher
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ format.book.crossref output.nonnull
+ }
+ if$
+% note output %note moved
+ fin.entry
+ write.url
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.au "author" output.check
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { format.in.r.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.edition output
+ format.chapter.pages output
+ note output
+ format.publisher
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ end.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.edition output
+ format.chapter.pages output
+ note output
+ format.publisher
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+% note output %note moved
+ fin.entry
+ write.url
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.au "author" output.check
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { format.in.r.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ note output
+ publisher empty$
+ { organization output
+% address output
+% format.date "year" output.check
+ format.publisher
+ }
+ { organization output
+ format.publisher
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ end.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ note output
+ publisher empty$
+ { organization output
+% address output
+% format.date "year" output.check
+ format.publisher
+ }
+ { organization output
+ format.publisher
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+% note output % note moved
+ fin.entry
+ write.url
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.au output
+ author format.key output
+ format.btitle "title" output.check
+ organization output
+% address output
+ format.edition output
+ note output
+% format.date "year" output.check
+ format.publisher
+ end.bibitem
+ format.authors output
+ author format.key output
+ format.btitle "title" output.check
+ organization output
+% address output
+ format.edition output
+ note output
+% format.date "year" output.check
+ format.publisher
+ fin.entry
+ write.url
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.au "author" output.check
+ author format.key output
+ format.btitle "title" output.check
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" output.check
+% address output
+ note output
+% format.date "year" output.check
+ format.publisher
+ end.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.btitle "title" output.check
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" output.check
+% address output
+ note output
+% format.date "year" output.check
+ format.publisher
+ fin.entry
+ write.url
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.au output
+ author format.key output
+ format.title output
+ end.quote.title
+ howpublished output
+ note output
+ format.date "year" output.check.special
+ end.bibitem
+ format.authors output
+ author format.key output
+ format.title output
+ end.quote.title
+ howpublished output
+ note output
+ format.date "year" output.check.special
+ fin.entry
+ write.url
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.au "author" output.check
+ author format.key output
+ format.btitle "title" output.check
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" output.check
+% address output
+ note output
+% format.date "year" output.check
+ format.publisher
+ end.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.btitle "title" output.check
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" output.check
+% address output
+ note output
+% format.date "year" output.check
+ format.publisher
+ fin.entry
+ write.url
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.r.editors output
+ editor format.key output
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+% address output
+ organization output
+% publisher output
+ note output
+% format.date "year" output.check
+ format.publisher
+ end.bibitem
+ format.editors output
+ editor format.key output
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+% address output
+ organization output
+% publisher output
+ note output
+% format.date "year" output.check
+ format.publisher
+ fin.entry
+ write.url
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.au "author" output.check
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ format.tr.number output.nonnull
+ institution "institution" output.check
+% address output
+ note output
+% format.date "year" output.check
+ format.publisher
+ end.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ format.tr.number output.nonnull
+ institution "institution" output.check
+% address output
+ note output
+% format.date "year" output.check
+ format.publisher
+ fin.entry
+ write.url
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.au "author" output.check
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ note "note" output.check
+ format.date "year" output.check.special
+ end.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ note "note" output.check
+ format.date "year" output.check.special
+ fin.entry
+ write.url
+}
+
+FUNCTION {default.type} { misc }
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " " * "et~al." emphasize * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " " * "et~al." emphasize * }
+ { " \harvardand\ " * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ ", "
+ *
+ year duplicate$ empty$
+ { pop$ "????" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {calc.short.label}
+{ calc.short.authors short.list
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ll{ }}{ ff{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "aaaaa" * }
+ { t sortify * }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { last.label next.extra }
+
+INTEGERS { last.extra.num number.label }
+
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+
+FUNCTION {not.uniq.forw}
+{ last.label short.list =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ short.list 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+% label write$
+}
+
+FUNCTION {not.uniq.rew}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "" swap$ * "" * }
+ if$
+ 'extra.label :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+% label write$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "" swap$ * "" * }
+ if$
+ 'extra.label :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+%ITERATE {forward.pass}
+
+ITERATE {not.uniq.forw}
+
+REVERSE {not.uniq.rew}
+
+%REVERSE {reverse.pass}
+
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+ calc.short.label
+}
+
+ITERATE {bib.sort.order}
+
+SORT
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+% "\newcommand{\enquote}[1]{``#1''}"
+% write$ newline$
+% "\expandafter\ifx\csname natexlab\endcsname\relax\def\natexlab#1{#1}\fi"
+% write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `svenska.bst'.
diff --git a/biblio/bibtex/contrib/oxford/oxford_in.bst b/biblio/bibtex/contrib/oxford/oxford_in.bst
new file mode 100644
index 0000000000..b586d121e8
--- /dev/null
+++ b/biblio/bibtex/contrib/oxford/oxford_in.bst
@@ -0,0 +1,1889 @@
+%%
+%% This is file `oxford_se.bst', version 0.4
+%% It was first generated with the docstrip utility in custom-bib
+%% and then heavily hacked by Peter Antman.
+%%
+%% This file must still bee considered beta.
+%%
+%% This version is for swedish citation, to get other languages to work
+%% rename it and insert the right bbl.xxx funcions and MACROS from
+%% the right mbd-file, availible with custom-bib. There are two new such
+%% commands, bbl.lq (leftquote) and bbl.rq (rightquote). Here you give
+%% your languages way of quoting titles.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `head,exlang,ay,har,harnm,vonx,nm-revf,ed-rev,dt-end,yr-col,note-yr,tit-qq,atit-u,vnum-nr,volp-com,jwdvol,add-pub,pub-date,pre-edn,edpar,blk-com,svenska,pp,ed,abr,amper,and-xcom,etal-it,{}')
+%% svenska.mbs (with options: `exlang,ay,har,harnm,vonx,nm-revf,ed-rev,dt-end,yr-col,note-yr,tit-qq,atit-u,vnum-nr,volp-com,jwdvol,add-pub,pub-date,pre-edn,edpar,blk-com,svenska,pp,ed,abr,amper,and-xcom,etal-it,{}')
+%% merlin.mbs (with options: `tail,exlang,ay,har,harnm,vonx,nm-revf,ed-rev,dt-end,yr-col,note-yr,tit-qq,atit-u,vnum-nr,volp-com,jwdvol,add-pub,pub-date,pre-edn,edpar,blk-com,svenska,pp,ed,abr,amper,and-xcom,etal-it,{}')
+%% ----------------------------------------
+%% *** ***
+%%
+ %-------------------------------------------------------------------
+ % The original source file contains the following version information:
+ % \ProvidesFile{merlin.mbs}[1996/12/16 3.82 (PWD)]
+ %
+ % NOTICE:
+ % This file may be used for non-profit purposes.
+ % It may not be distributed in exchange for money,
+ % other than distribution costs.
+ %
+ % The author provides it `as is' and does not guarantee it in any way.
+ %
+ % Copyright (C) 1994, 1995, 1996 Patrick W. Daly
+ % Copyright (C) 1997 Peter Antman, peter.antman@abc.se
+ %-------------------------------------------------------------------
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ %
+ % This is an Oxford style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is oxford.sty by Peter Antman
+ %
+ % The form of the bibitem entries is
+ % \harvarditem[Jones, New thesis]{Howard Jones, FULL ENTRY}{1990}{key}
+ % Jones, Howard, FULL ENTRY
+ %
+ % The style gives the full reference att the first citation and then a
+ % abrevated one.
+ %
+ % The file suports an additional entry in the bib-file, stitle. It is
+ % for all but the first citation, when only lastname, and if there are
+ % more lastnames that are the same, title (and if there is a stitle that
+ % instead).
+ %
+ % oxford.sty also inserts an ibid. if the current citation is the same
+ % as the last one.
+ %---------------------------------------------------------------------
+ %
+ % Hacked by Peter Antman to provide Oxford citation style.
+ % FIX: Year cite not correct everywhere ???
+ % changes version 0.2:
+ % moved note in article
+ % editor and key right in short.ref
+ % changes version 0.3:
+ % fixed editors in cite, now orde Firstname Lastname
+ % removed ( and ) around ed.
+ % removed comma before nr. if volume empty
+ % removed comma before year in article, misc and unpub
+ % changes version 0.4
+ % fixed ", " error produced in ouput.bibitem (thanks to
+ % Oren Patashnik for telling me how to do it)
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ stitle
+ title
+ type
+ URL
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+% BY Peter Antman, special function to get rid of comma before
+% year in article, misc and unpub, se also output.check.special
+FUNCTION {output.nonnull.special}
+{ 's :=
+ output.state mid.sentence =
+ { " " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check.special}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull.special
+ if$
+}
+
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ skip$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {non.stop}
+{ duplicate$
+ "}" * add.period$
+ #-1 #1 substring$ "." =
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "\/}" * }
+ if$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ %-------------------------------------------------------------------
+ % The original source file contains the following version information:
+ % \ProvidesFile{english.mbs}[1995/05/04 1.1 (PWD)]
+ % Copyright (C) 1994, 1995 Patrick W. Dal
+ %-------------------------------------------------------------------
+
+ % The language selected here is ENGLISH
+
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.editors}
+{ "eds." }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "edn." }
+
+FUNCTION {bbl.volume}
+{ "vol." }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "no." }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "pp." }
+
+FUNCTION {bbl.page}
+{ "p." }
+
+FUNCTION {bbl.chapter}
+{ "chap." }
+
+FUNCTION {bbl.techrep}
+{ "Tech Rep." }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis"}
+
+FUNCTION {bbl.first}
+{ "1st" }
+
+FUNCTION {bbl.second}
+{ "2nd" }
+
+FUNCTION {bbl.third}
+{ "3rd" }
+
+FUNCTION {bbl.fourth}
+{ "4th" }
+
+FUNCTION {bbl.fifth}
+{ "5th" }
+
+FUNCTION {bbl.th}
+{ "th" }
+
+% BY Peter Antman, new functions bbl.lq bbl.rq
+FUNCTION {bbl.lq}
+{ "'" }
+
+FUNCTION {bbl.rq}
+{ "'" }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"Jun."}
+
+MACRO {jul} {"Jul."}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sep."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+ % End of language definition file
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+FUNCTION {write.url}
+{ URL empty$
+ { skip$ }
+ { "\newline\harvardurl{" URL * "}" * write$ newline$ }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}{, jj}{, ff}" format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ t "others" =
+ { " " * "et~al." emphasize * }
+ { " \harvardand\ " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.names.ed}
+{ format.names }
+
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ {
+ author format.names
+ }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ {
+ editor format.names
+ editor num.names$ #1 >
+ { " " * bbl.editors * "" * }
+ { " " * bbl.editor * "" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.editors}
+{ editor empty$
+ { "" }
+ { editor format.names.ed
+ editor num.names$ #1 >
+ { " " * bbl.editors * "" * }
+ { " " * bbl.editor * "" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title
+ bbl.lq swap$ * % BY Peter Antman, uses bbl.lq
+ non.stop
+ { bbl.rq * ", " * } % BY Peter Antman, uses bbl.rq
+ { bbl.rq * " " * } % PROBLEM: comma after title in book
+ if$
+ }
+ if$
+}
+
+FUNCTION {end.quote.title}
+{ title empty$
+ 'skip$
+ { before.all 'output.state := }
+ if$
+}
+
+FUNCTION {format.full.names}
+{'s :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ t "others" =
+ { " " * "et~al." emphasize * }
+ { " \harvardand\ " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+% BY Peter Antman, function to format long cite
+FUNCTION {format.firstname}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ff }{jj }{vv }{ll}" format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ t "others" =
+ { " " * "et~al." emphasize * }
+ { " \harvardand\ " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+% BY Peter Antman, function to format lastname
+FUNCTION {format.lastname}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ll}{}{}{}" format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ t "others" =
+ { " " * "et~al." emphasize * }
+ { " \harvardand\ " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+% By Peter Antman, to format eds as Firstname Lastname
+FUNCTION {format.r.editors}
+{ editor empty$
+ { "" }
+ {
+ editor format.firstname
+ editor num.names$ #1 >
+ { " " * bbl.editors * "" * }
+ { " " * bbl.editor * "" * }
+ if$
+ }
+ if$
+}
+
+% BY Peter Antman, editors in Firstname Lastname
+FUNCTION {format.in.r.editors}
+{ editor empty$
+ { "" }
+ { editor format.firstname
+ editor num.names$ #1 >
+ { " " * bbl.editors * "" * }
+ { " " * bbl.editor * "" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.au}
+{ author empty$
+ { "" }
+ {
+ author format.firstname
+ }
+ if$
+}
+FUNCTION {format.auth}
+{ author empty$
+ { editor empty$
+ {author format.key}
+ {editor format.lastname}
+ if$
+ }
+ {
+ author format.lastname
+ }
+ if$
+}
+
+% BY Peter Antman, the repeated
+% should contain name if no other name of the same
+% if more names of the same, then stitle
+% if no stitle, then title
+FUNCTION {short.ref}
+{
+% format.auth
+% ", " *
+% extra.label write$
+ extra.label "" =
+ {
+% format.auth
+ short.list % PANIC this is a bad bypas of not having solved ed.
+ "" * extra.label
+ }
+ { stitle empty$
+ {
+ format.auth
+ ", " * title
+ }
+ {
+ format.auth
+ ", " * stitle
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\harvarditem[" write$
+% short.ref duplicate$ label =
+ "" short.ref * "]" * write$
+ pop$ ""
+ "{" write$
+% pop$ % ERROR, does the right thing but produces error
+ before.all 'output.state :=
+}
+
+FUNCTION {end.bibitem}
+{ "}{" * write$
+ year duplicate$ empty$
+ { pop$ "????" }
+ 'skip$
+ if$
+ extra.label * "}{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in
+ " " * }
+
+FUNCTION {format.date}
+{ year duplicate$ empty$
+ { "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????" }
+ 'skip$
+ if$
+% extra.label * % BY Peter Antman, removed, not needed in Oxford
+ " (" swap$ * ")" *
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { bbl.of space.word * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { bbl.in space.word * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+FUNCTION {convert.edition}
+{ edition extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bbl.first 't := }
+ { s "second" = s "2" = or
+ { bbl.second 't := }
+ { s "third" = s "3" = or
+ { bbl.third 't := }
+ { s "fourth" = s "4" = or
+ { bbl.fourth 't := }
+ { s "fifth" = s "5" = or
+ { bbl.fifth 't := }
+ { s #1 #1 substring$ is.num
+ { s bbl.th * 't := }
+ { edition 't := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ t
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { convert.edition "l" change.case$ " " * bbl.edition * }
+ { convert.edition "t" change.case$ " " * bbl.edition * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { bbl.pages pages n.dashify tie.or.space.connect }
+ { bbl.page pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.journal.pages}
+{
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ", " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+% BY Peter Antman, removed comma before bbl.nr if volume empty
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ volume empty$
+ 'skip$
+ { bbl.volume "~" * swap$ * }
+ if$
+ number empty$
+ 'skip$
+ {
+% " " bbl.nr * number tie.or.space.connect *
+ volume empty$
+ { " " bbl.nr * number tie.or.space.connect * }
+ { ", " bbl.nr * number tie.or.space.connect * }
+ if$
+ }
+ if$
+ format.journal.pages
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+% By Peter Antman, editors in Firstname Lastname order
+FUNCTION {format.in.r.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { word.in booktitle emphasize * }
+ { word.in format.in.r.editors * ", " *
+ booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { word.in booktitle emphasize * }
+ { word.in format.in.editors * ", " *
+ booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { bbl.techrep }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ word.in
+ }
+ { bbl.volume volume tie.or.space.connect
+ bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.publisher}
+{ publisher empty$
+ % "empty publisher in " cite$ * warning$ %dont like this warning
+ 'skip$
+ 'skip$
+ if$
+ ""
+ add.blank "(" *
+ address empty$
+ 'skip$
+ { address * }
+ if$
+ publisher empty$
+ 'skip$
+ { address empty$
+ 'skip$
+ { ": " * }
+ if$
+ publisher *
+ }
+ if$
+ year duplicate$ empty$
+ { "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????" }
+ 'skip$
+ if$
+ publisher empty$ address empty$ and
+ { * }
+ { ", " swap$ * * }
+ if$
+ ")" *
+ output
+}
+
+% BY Peter Antman, all types includes full ref
+FUNCTION {article}
+{ output.bibitem
+% pop$ % to get rid of ,
+ format.au "author" output.check % output instead of output check
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { journal
+ emphasize
+ "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.date "year" output.check.special
+ note output
+ end.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { journal
+ emphasize
+ "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.date "year" output.check.special
+ note output
+ fin.entry
+ write.url
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.r.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.au output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ format.edition output
+ note output
+ format.publisher
+ }
+ {
+ format.book.crossref output.nonnull
+ }
+ if$
+ end.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ format.edition output
+ note output
+ format.publisher
+ }
+ {
+ format.book.crossref output.nonnull
+ }
+ if$
+% note output
+ fin.entry
+ write.url
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.au output
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ howpublished output
+% address output
+ note output
+% format.date "year" output.check
+ format.publisher
+ end.bibitem
+ format.authors output
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ howpublished output
+% address output
+ note output
+% format.date "year" output.check
+ format.publisher
+ fin.entry
+ write.url
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.r.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.au output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ format.number.series output
+ format.edition output
+ note output
+ format.publisher
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ format.book.crossref output.nonnull
+ }
+ if$
+ end.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ format.number.series output
+ format.edition output
+ note output
+ format.publisher
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ format.book.crossref output.nonnull
+ }
+ if$
+% note output %note moved
+ fin.entry
+ write.url
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.au "author" output.check
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { format.in.r.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.edition output
+ format.chapter.pages output
+ note output
+ format.publisher
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ end.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.edition output
+ format.chapter.pages output
+ note output
+ format.publisher
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+% note output %note moved
+ fin.entry
+ write.url
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.au "author" output.check
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { format.in.r.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ note output
+ publisher empty$
+ { organization output
+% address output
+% format.date "year" output.check
+ format.publisher
+ }
+ { organization output
+ format.publisher
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ end.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ note output
+ publisher empty$
+ { organization output
+% address output
+% format.date "year" output.check
+ format.publisher
+ }
+ { organization output
+ format.publisher
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+% note output % note moved
+ fin.entry
+ write.url
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.au output
+ author format.key output
+ format.btitle "title" output.check
+ organization output
+% address output
+ format.edition output
+ note output
+% format.date "year" output.check
+ format.publisher
+ end.bibitem
+ format.authors output
+ author format.key output
+ format.btitle "title" output.check
+ organization output
+% address output
+ format.edition output
+ note output
+% format.date "year" output.check
+ format.publisher
+ fin.entry
+ write.url
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.au "author" output.check
+ author format.key output
+ format.btitle "title" output.check
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" output.check
+% address output
+ note output
+% format.date "year" output.check
+ format.publisher
+ end.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.btitle "title" output.check
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" output.check
+% address output
+ note output
+% format.date "year" output.check
+ format.publisher
+ fin.entry
+ write.url
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.au output
+ author format.key output
+ format.title output
+ end.quote.title
+ howpublished output
+ note output
+ format.date "year" output.check.special
+ end.bibitem
+ format.authors output
+ author format.key output
+ format.title output
+ end.quote.title
+ howpublished output
+ note output
+ format.date "year" output.check.special
+ fin.entry
+ write.url
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.au "author" output.check
+ author format.key output
+ format.btitle "title" output.check
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" output.check
+% address output
+ note output
+% format.date "year" output.check
+ format.publisher
+ end.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.btitle "title" output.check
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" output.check
+% address output
+ note output
+% format.date "year" output.check
+ format.publisher
+ fin.entry
+ write.url
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.r.editors output
+ editor format.key output
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+% address output
+ organization output
+% publisher output
+ note output
+% format.date "year" output.check
+ format.publisher
+ end.bibitem
+ format.editors output
+ editor format.key output
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+% address output
+ organization output
+% publisher output
+ note output
+% format.date "year" output.check
+ format.publisher
+ fin.entry
+ write.url
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.au "author" output.check
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ format.tr.number output.nonnull
+ institution "institution" output.check
+% address output
+ note output
+% format.date "year" output.check
+ format.publisher
+ end.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ format.tr.number output.nonnull
+ institution "institution" output.check
+% address output
+ note output
+% format.date "year" output.check
+ format.publisher
+ fin.entry
+ write.url
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.au "author" output.check
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ note "note" output.check
+ format.date "year" output.check.special
+ end.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ note "note" output.check
+ format.date "year" output.check.special
+ fin.entry
+ write.url
+}
+
+FUNCTION {default.type} { misc }
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " " * "et~al." emphasize * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " " * "et~al." emphasize * }
+ { " \harvardand\ " * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ ", "
+ *
+ year duplicate$ empty$
+ { pop$ "????" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {calc.short.label}
+{ calc.short.authors short.list
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ll{ }}{ ff{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "aaaaa" * }
+ { t sortify * }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { last.label next.extra }
+
+INTEGERS { last.extra.num number.label }
+
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+
+FUNCTION {not.uniq.forw}
+{ last.label short.list =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ short.list 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+% label write$
+}
+
+FUNCTION {not.uniq.rew}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "" swap$ * "" * }
+ if$
+ 'extra.label :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+% label write$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "" swap$ * "" * }
+ if$
+ 'extra.label :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+%ITERATE {forward.pass}
+
+ITERATE {not.uniq.forw}
+
+REVERSE {not.uniq.rew}
+
+%REVERSE {reverse.pass}
+
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+ calc.short.label
+}
+
+ITERATE {bib.sort.order}
+
+SORT
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+% "\newcommand{\enquote}[1]{``#1''}"
+% write$ newline$
+% "\expandafter\ifx\csname natexlab\endcsname\relax\def\natexlab#1{#1}\fi"
+% write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `svenska.bst'.
diff --git a/biblio/bibtex/contrib/oxford/oxford_se.bst b/biblio/bibtex/contrib/oxford/oxford_se.bst
new file mode 100644
index 0000000000..fcb3d408bc
--- /dev/null
+++ b/biblio/bibtex/contrib/oxford/oxford_se.bst
@@ -0,0 +1,1890 @@
+%%
+%% This is file `oxford_se.bst', version 0.4
+%% It was first generated with the docstrip utility in custom-bib
+%% and then heavily hacked by Peter Antman.
+%%
+%% This file must still bee considered beta.
+%%
+%% This version is for swedish citation, to get other languages to work
+%% rename it and insert the right bbl.xxx funcions and MACROS from
+%% the right mbd-file, availible with custom-bib. There are two new such
+%% commands, bbl.lq (leftquote) and bbl.rq (rightquote). Here you give
+%% your languages way of quoting titles.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `head,exlang,ay,har,harnm,vonx,nm-revf,ed-rev,dt-end,yr-col,note-yr,tit-qq,atit-u,vnum-nr,volp-com,jwdvol,add-pub,pub-date,pre-edn,edpar,blk-com,svenska,pp,ed,abr,amper,and-xcom,etal-it,{}')
+%% svenska.mbs (with options: `exlang,ay,har,harnm,vonx,nm-revf,ed-rev,dt-end,yr-col,note-yr,tit-qq,atit-u,vnum-nr,volp-com,jwdvol,add-pub,pub-date,pre-edn,edpar,blk-com,svenska,pp,ed,abr,amper,and-xcom,etal-it,{}')
+%% merlin.mbs (with options: `tail,exlang,ay,har,harnm,vonx,nm-revf,ed-rev,dt-end,yr-col,note-yr,tit-qq,atit-u,vnum-nr,volp-com,jwdvol,add-pub,pub-date,pre-edn,edpar,blk-com,svenska,pp,ed,abr,amper,and-xcom,etal-it,{}')
+%% ----------------------------------------
+%% *** ***
+%%
+ %-------------------------------------------------------------------
+ % The original source file contains the following version information:
+ % \ProvidesFile{merlin.mbs}[1996/12/16 3.82 (PWD)]
+ %
+ % NOTICE:
+ % This file may be used for non-profit purposes.
+ % It may not be distributed in exchange for money,
+ % other than distribution costs.
+ %
+ % The author provides it `as is' and does not guarantee it in any way.
+ %
+ % Copyright (C) 1994, 1995, 1996 Patrick W. Daly
+ % Copyright (C) 1997 Peter Antman, peter.antman@abc.se
+ %-------------------------------------------------------------------
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ %
+ % This is an Oxford style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is oxford.sty by Peter Antman
+ %
+ % The form of the bibitem entries is
+ % \harvarditem[Jones, New thesis]{Howard Jones, FULL ENTRY}{1990}{key}
+ % Jones, Howard, FULL ENTRY
+ %
+ % The style gives the full reference att the first citation and then a
+ % abrevated one.
+ %
+ % The file suports an additional entry in the bib-file, stitle. It is
+ % for all but the first citation, when only lastname, and if there are
+ % more lastnames that are the same, title (and if there is a stitle that
+ % instead).
+ %
+ % oxford.sty also inserts an ibid. if the current citation is the same
+ % as the last one.
+ %---------------------------------------------------------------------
+ %
+ % Hacked by Peter Antman to provide Oxford citation style.
+ % FIX: Year cite not correct everywhere ???
+ % changes version 0.2:
+ % moved note in article
+ % editor and key right in short.ref
+ % changes version 0.3:
+ % fixed editors in cite, now orde Firstname Lastname
+ % removed ( and ) around ed.
+ % removed comma before nr. if volume empty
+ % removed comma before year in article, misc and unpub
+ % changes version 0.4
+ % fixed ", " error produced in ouput.bibitem (thanks to
+ % Oren Patashnik for telling me how to do it)
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ stitle
+ title
+ type
+ URL
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+% BY Peter Antman, special function to get rid of comma before
+% year in article, misc and unpub, se also output.check.special
+FUNCTION {output.nonnull.special}
+{ 's :=
+ output.state mid.sentence =
+ { " " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check.special}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull.special
+ if$
+}
+
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ skip$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {non.stop}
+{ duplicate$
+ "}" * add.period$
+ #-1 #1 substring$ "." =
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "\/}" * }
+ if$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ %-------------------------------------------------------------------
+ % The original source file contains the following version information:
+ % \ProvidesFile{svenska.mbs}[1995/08/07 1.0 (RL/PWD)]
+ % Copyright (C) 1997, Peter Antman
+ %-------------------------------------------------------------------
+
+ % The language selected here is SVENSKA
+
+FUNCTION {bbl.and}
+{ "och"}
+
+FUNCTION {bbl.editors}
+{ "red." }
+
+FUNCTION {bbl.editor}
+{ "red." }
+
+FUNCTION {bbl.edby}
+{ "redigerad av" }
+
+FUNCTION {bbl.edition}
+{ "uppl." }
+
+FUNCTION {bbl.volume}
+{ "vol." }
+
+FUNCTION {bbl.of}
+{ "av" }
+
+FUNCTION {bbl.number}
+{ "nr." }
+
+FUNCTION {bbl.nr}
+{ "nr." }
+
+FUNCTION {bbl.in}
+{ "i" }
+
+FUNCTION {bbl.pages}
+{ "ss." }
+
+FUNCTION {bbl.page}
+{ "s." }
+
+FUNCTION {bbl.chapter}
+{ "kap." }
+
+FUNCTION {bbl.techrep}
+{ "Tekn. rap." }
+
+FUNCTION {bbl.mthesis}
+{ "Licenciatavgandling" }
+
+FUNCTION {bbl.phdthesis}
+{ "Doktorgradsavhandling" }
+
+FUNCTION {bbl.first}
+{ "F^^f6rsta" }
+
+FUNCTION {bbl.second}
+{ "Andra" }
+
+FUNCTION {bbl.third}
+{ "Tredje" }
+
+FUNCTION {bbl.fourth}
+{ "Fj^^e4rde" }
+
+FUNCTION {bbl.fifth}
+{ "Femte" }
+
+FUNCTION {bbl.th}
+{ "." }
+
+% BY Peter Antman, new functions bbl.lq bbl.rq
+FUNCTION {bbl.lq}
+{ "''" }
+
+FUNCTION {bbl.rq}
+{ "''" }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"Maj"}
+
+MACRO {jun} {"Jun."}
+
+MACRO {jul} {"Jul."}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sep."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+ % End of language definition file
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+FUNCTION {write.url}
+{ URL empty$
+ { skip$ }
+ { "\newline\harvardurl{" URL * "}" * write$ newline$ }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}{, jj}{, ff}" format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ t "others" =
+ { " " * "et~al." emphasize * }
+ { " \harvardand\ " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.names.ed}
+{ format.names }
+
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ {
+ author format.names
+ }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ {
+ editor format.names
+ editor num.names$ #1 >
+ { " " * bbl.editors * "" * }
+ { " " * bbl.editor * "" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.editors}
+{ editor empty$
+ { "" }
+ { editor format.names.ed
+ editor num.names$ #1 >
+ { " " * bbl.editors * "" * }
+ { " " * bbl.editor * "" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title
+ bbl.lq swap$ * % BY Peter Antman, uses bbl.lq
+ non.stop
+ { bbl.rq * ", " * } % BY Peter Antman, uses bbl.rq
+ { bbl.rq * " " * } % PROBLEM: comma after title in book
+ if$
+ }
+ if$
+}
+
+FUNCTION {end.quote.title}
+{ title empty$
+ 'skip$
+ { before.all 'output.state := }
+ if$
+}
+
+FUNCTION {format.full.names}
+{'s :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ t "others" =
+ { " " * "et~al." emphasize * }
+ { " \harvardand\ " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+% BY Peter Antman, function to format long cite
+FUNCTION {format.firstname}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ff }{jj }{vv }{ll}" format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ t "others" =
+ { " " * "et~al." emphasize * }
+ { " \harvardand\ " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+% BY Peter Antman, function to format lastname
+FUNCTION {format.lastname}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ll}{}{}{}" format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ t "others" =
+ { " " * "et~al." emphasize * }
+ { " \harvardand\ " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+% By Peter Antman, to format eds as Firstname Lastname
+FUNCTION {format.r.editors}
+{ editor empty$
+ { "" }
+ {
+ editor format.firstname
+ editor num.names$ #1 >
+ { " " * bbl.editors * "" * }
+ { " " * bbl.editor * "" * }
+ if$
+ }
+ if$
+}
+
+% BY Peter Antman, editors in Firstname Lastname
+FUNCTION {format.in.r.editors}
+{ editor empty$
+ { "" }
+ { editor format.firstname
+ editor num.names$ #1 >
+ { " " * bbl.editors * "" * }
+ { " " * bbl.editor * "" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.au}
+{ author empty$
+ { "" }
+ {
+ author format.firstname
+ }
+ if$
+}
+FUNCTION {format.auth}
+{ author empty$
+ { editor empty$
+ {author format.key}
+ {editor format.lastname}
+ if$
+ }
+ {
+ author format.lastname
+ }
+ if$
+}
+
+% BY Peter Antman, the repeated
+% should contain name if no other name of the same
+% if more names of the same, then stitle
+% if no stitle, then title
+FUNCTION {short.ref}
+{
+% format.auth
+% ", " *
+% extra.label write$
+ extra.label "" =
+ {
+% format.auth
+ short.list % PANIC this is a bad bypas of not having solved ed.
+ "" * extra.label
+ }
+ { stitle empty$
+ {
+ format.auth
+ ", " * title
+ }
+ {
+ format.auth
+ ", " * stitle
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\harvarditem[" write$
+% short.ref duplicate$ label =
+ "" short.ref * "]" * write$
+ pop$ ""
+ "{" write$
+% pop$ % ERROR, does the right thing but produces error
+ before.all 'output.state :=
+}
+
+FUNCTION {end.bibitem}
+{ "}{" * write$
+ year duplicate$ empty$
+ { pop$ "????" }
+ 'skip$
+ if$
+ extra.label * "}{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in
+ " " * }
+
+FUNCTION {format.date}
+{ year duplicate$ empty$
+ { "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????" }
+ 'skip$
+ if$
+% extra.label * % BY Peter Antman, removed, not needed in Oxford
+ " (" swap$ * ")" *
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { bbl.of space.word * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { bbl.in space.word * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+FUNCTION {convert.edition}
+{ edition extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bbl.first 't := }
+ { s "second" = s "2" = or
+ { bbl.second 't := }
+ { s "third" = s "3" = or
+ { bbl.third 't := }
+ { s "fourth" = s "4" = or
+ { bbl.fourth 't := }
+ { s "fifth" = s "5" = or
+ { bbl.fifth 't := }
+ { s #1 #1 substring$ is.num
+ { s bbl.th * 't := }
+ { edition 't := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ t
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { convert.edition "l" change.case$ " " * bbl.edition * }
+ { convert.edition "t" change.case$ " " * bbl.edition * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { bbl.pages pages n.dashify tie.or.space.connect }
+ { bbl.page pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.journal.pages}
+{
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ", " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+% BY Peter Antman, removed comma before bbl.nr if volume empty
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ volume empty$
+ 'skip$
+ { bbl.volume "~" * swap$ * }
+ if$
+ number empty$
+ 'skip$
+ {
+% " " bbl.nr * number tie.or.space.connect *
+ volume empty$
+ { " " bbl.nr * number tie.or.space.connect * }
+ { ", " bbl.nr * number tie.or.space.connect * }
+ if$
+ }
+ if$
+ format.journal.pages
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+% By Peter Antman, editors in Firstname Lastname order
+FUNCTION {format.in.r.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { word.in booktitle emphasize * }
+ { word.in format.in.r.editors * ", " *
+ booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { word.in booktitle emphasize * }
+ { word.in format.in.editors * ", " *
+ booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { bbl.techrep }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ word.in
+ }
+ { bbl.volume volume tie.or.space.connect
+ bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.publisher}
+{ publisher empty$
+ % "empty publisher in " cite$ * warning$ %dont like this warning
+ 'skip$
+ 'skip$
+ if$
+ ""
+ add.blank "(" *
+ address empty$
+ 'skip$
+ { address * }
+ if$
+ publisher empty$
+ 'skip$
+ { address empty$
+ 'skip$
+ { ": " * }
+ if$
+ publisher *
+ }
+ if$
+ year duplicate$ empty$
+ { "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????" }
+ 'skip$
+ if$
+ publisher empty$ address empty$ and
+ { * }
+ { ", " swap$ * * }
+ if$
+ ")" *
+ output
+}
+
+% BY Peter Antman, all types includes full ref
+FUNCTION {article}
+{ output.bibitem
+% pop$ % to get rid of ,
+ format.au "author" output.check % output instead of output check
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { journal
+ emphasize
+ "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.date "year" output.check.special
+ note output
+ end.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { journal
+ emphasize
+ "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.date "year" output.check.special
+ note output
+ fin.entry
+ write.url
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.r.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.au output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ format.edition output
+ note output
+ format.publisher
+ }
+ {
+ format.book.crossref output.nonnull
+ }
+ if$
+ end.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ format.edition output
+ note output
+ format.publisher
+ }
+ {
+ format.book.crossref output.nonnull
+ }
+ if$
+% note output
+ fin.entry
+ write.url
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.au output
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ howpublished output
+% address output
+ note output
+% format.date "year" output.check
+ format.publisher
+ end.bibitem
+ format.authors output
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ howpublished output
+% address output
+ note output
+% format.date "year" output.check
+ format.publisher
+ fin.entry
+ write.url
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.r.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.au output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ format.number.series output
+ format.edition output
+ note output
+ format.publisher
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ format.book.crossref output.nonnull
+ }
+ if$
+ end.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ format.number.series output
+ format.edition output
+ note output
+ format.publisher
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ format.book.crossref output.nonnull
+ }
+ if$
+% note output %note moved
+ fin.entry
+ write.url
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.au "author" output.check
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { format.in.r.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.edition output
+ format.chapter.pages output
+ note output
+ format.publisher
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ end.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.edition output
+ format.chapter.pages output
+ note output
+ format.publisher
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+% note output %note moved
+ fin.entry
+ write.url
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.au "author" output.check
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { format.in.r.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ note output
+ publisher empty$
+ { organization output
+% address output
+% format.date "year" output.check
+ format.publisher
+ }
+ { organization output
+ format.publisher
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ end.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ note output
+ publisher empty$
+ { organization output
+% address output
+% format.date "year" output.check
+ format.publisher
+ }
+ { organization output
+ format.publisher
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+% note output % note moved
+ fin.entry
+ write.url
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.au output
+ author format.key output
+ format.btitle "title" output.check
+ organization output
+% address output
+ format.edition output
+ note output
+% format.date "year" output.check
+ format.publisher
+ end.bibitem
+ format.authors output
+ author format.key output
+ format.btitle "title" output.check
+ organization output
+% address output
+ format.edition output
+ note output
+% format.date "year" output.check
+ format.publisher
+ fin.entry
+ write.url
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.au "author" output.check
+ author format.key output
+ format.btitle "title" output.check
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" output.check
+% address output
+ note output
+% format.date "year" output.check
+ format.publisher
+ end.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.btitle "title" output.check
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" output.check
+% address output
+ note output
+% format.date "year" output.check
+ format.publisher
+ fin.entry
+ write.url
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.au output
+ author format.key output
+ format.title output
+ end.quote.title
+ howpublished output
+ note output
+ format.date "year" output.check.special
+ end.bibitem
+ format.authors output
+ author format.key output
+ format.title output
+ end.quote.title
+ howpublished output
+ note output
+ format.date "year" output.check.special
+ fin.entry
+ write.url
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.au "author" output.check
+ author format.key output
+ format.btitle "title" output.check
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" output.check
+% address output
+ note output
+% format.date "year" output.check
+ format.publisher
+ end.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.btitle "title" output.check
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" output.check
+% address output
+ note output
+% format.date "year" output.check
+ format.publisher
+ fin.entry
+ write.url
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.r.editors output
+ editor format.key output
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+% address output
+ organization output
+% publisher output
+ note output
+% format.date "year" output.check
+ format.publisher
+ end.bibitem
+ format.editors output
+ editor format.key output
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+% address output
+ organization output
+% publisher output
+ note output
+% format.date "year" output.check
+ format.publisher
+ fin.entry
+ write.url
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.au "author" output.check
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ format.tr.number output.nonnull
+ institution "institution" output.check
+% address output
+ note output
+% format.date "year" output.check
+ format.publisher
+ end.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ format.tr.number output.nonnull
+ institution "institution" output.check
+% address output
+ note output
+% format.date "year" output.check
+ format.publisher
+ fin.entry
+ write.url
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.au "author" output.check
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ note "note" output.check
+ format.date "year" output.check.special
+ end.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.title "title" output.check
+ end.quote.title
+ note "note" output.check
+ format.date "year" output.check.special
+ fin.entry
+ write.url
+}
+
+FUNCTION {default.type} { misc }
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " " * "et~al." emphasize * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " " * "et~al." emphasize * }
+ { " \harvardand\ " * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ ", "
+ *
+ year duplicate$ empty$
+ { pop$ "????" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {calc.short.label}
+{ calc.short.authors short.list
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ll{ }}{ ff{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "aaaaa" * }
+ { t sortify * }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { last.label next.extra }
+
+INTEGERS { last.extra.num number.label }
+
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+
+FUNCTION {not.uniq.forw}
+{ last.label short.list =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ short.list 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+% label write$
+}
+
+FUNCTION {not.uniq.rew}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "" swap$ * "" * }
+ if$
+ 'extra.label :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+% label write$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "" swap$ * "" * }
+ if$
+ 'extra.label :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+%ITERATE {forward.pass}
+
+ITERATE {not.uniq.forw}
+
+REVERSE {not.uniq.rew}
+
+%REVERSE {reverse.pass}
+
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+ calc.short.label
+}
+
+ITERATE {bib.sort.order}
+
+SORT
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+% "\newcommand{\enquote}[1]{``#1''}"
+% write$ newline$
+% "\expandafter\ifx\csname natexlab\endcsname\relax\def\natexlab#1{#1}\fi"
+% write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `svenska.bst'.
diff --git a/biblio/bibtex/contrib/perception/README b/biblio/bibtex/contrib/perception/README
new file mode 100644
index 0000000000..a6c165d7b3
--- /dev/null
+++ b/biblio/bibtex/contrib/perception/README
@@ -0,0 +1,4 @@
+This is just a .bst for the journal Perception. Maybe it will save
+someone else a little time.
+
+Jed Singer
diff --git a/biblio/bibtex/contrib/perception/perception.bst b/biblio/bibtex/contrib/perception/perception.bst
new file mode 100644
index 0000000000..63ad81d0cb
--- /dev/null
+++ b/biblio/bibtex/contrib/perception/perception.bst
@@ -0,0 +1,1584 @@
+%%
+%% This is file `perception.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `,ay,nat,nm-rv,keyxyr,dt-beg,yr-com,yrp-x,note-yr,tit-qq,qx,bt-qq,vol-bf,vnum-x,volp-blk,pp-last,jnm-x,add-pub,pub-par,pre-edn,url,url-nl,blk-com,com-blank,fin-bare,pp,ed,ord,amper,xand')
+%% ----------------------------------------
+%% *** for the Pion journal Perception ***
+%%
+%% Copyright 1994-1999 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[1999/05/28 3.89 (PWD)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is natbib.sty by Patrick W. Daly
+ % The form of the \bibitem entries is
+ % \bibitem[Jones et al.(1990)]{key}...
+ % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
+ % The essential feature is that the label (the part in brackets) consists
+ % of the author names, as they should appear in the citation, with the year
+ % in parentheses following. There must be no space before the opening
+ % parenthesis!
+ % With natbib v5.3, a full list of authors may also follow the year.
+ % In natbib.sty, it is possible to define the type of enclosures that is
+ % really wanted (brackets or parentheses), but in either case, there must
+ % be parentheses in the label.
+ % The \cite command functions as follows:
+ % \citet{key} ==>> Jones et al. (1990)
+ % \citet*{key} ==>> Jones, Baker, and Smith (1990)
+ % \citep{key} ==>> (Jones et al., 1990)
+ % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
+ % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
+ % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
+ % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
+ % \citeauthor{key} ==>> Jones et al.
+ % \citeauthor*{key} ==>> Jones, Baker, and Smith
+ % \citeyear{key} ==>> 1990
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ url
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { " " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {fin.entry}
+{ duplicate$ empty$
+ 'pop$
+ 'write$
+ if$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ add.blank
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {non.stop}
+{ duplicate$
+ "}" * add.period$
+ #-1 #1 substring$ "." =
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "\/}" * }
+ if$
+}
+
+FUNCTION {bolden}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\bf " swap$ * "}" * }
+ if$
+}
+
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds." }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "edition" }
+
+FUNCTION {bbl.volume}
+{ "volume" }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "number" }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "pp." }
+
+FUNCTION {bbl.page}
+{ "p." }
+
+FUNCTION {bbl.chapter}
+{ "chapter" }
+
+FUNCTION {bbl.techrep}
+{ "Technical Report" }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+FUNCTION {bbl.first}
+{ "1st" }
+
+FUNCTION {bbl.second}
+{ "2nd" }
+
+FUNCTION {bbl.third}
+{ "3rd" }
+
+FUNCTION {bbl.fourth}
+{ "4th" }
+
+FUNCTION {bbl.fifth}
+{ "5th" }
+
+FUNCTION {bbl.st}
+{ "st" }
+
+FUNCTION {bbl.nd}
+{ "nd" }
+
+FUNCTION {bbl.rd}
+{ "rd" }
+
+FUNCTION {bbl.th}
+{ "th" }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+FUNCTION {eng.ord}
+{ duplicate$ "1" swap$ *
+ #-2 #1 substring$ "1" =
+ { bbl.th * }
+ { duplicate$ #-1 #1 substring$
+ duplicate$ "1" =
+ { pop$ bbl.st * }
+ { duplicate$ "2" =
+ { pop$ bbl.nd * }
+ { "3" =
+ { bbl.rd * }
+ { bbl.th * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+FUNCTION {write.url}
+{ url empty$
+ { skip$ }
+ { "\newline\urlprefix\url{" url * "}" * write$ newline$ }
+ if$
+}
+
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}{ jj}{ f{~}}" format.name$
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ "," *
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ { " " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.names.ed}
+{ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{f{~}~}{vv~}{ll}{ jj}"
+ format.name$
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ "," *
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+
+ " " * bbl.etal *
+ }
+ { " " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ ", " *
+ editor num.names$ #1 >
+ 'bbl.editors
+ 'bbl.editor
+ if$
+ *
+ }
+ if$
+}
+
+FUNCTION {format.in.editors}
+{ editor empty$
+ { "" }
+ { editor format.names.ed
+ editor num.names$ #1 >
+ { ", " * bbl.editors * }
+ { ", " * bbl.editor * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.note}
+{
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ *
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$
+ "\enquote{" swap$ *
+ "} " *
+ }
+ if$
+}
+
+FUNCTION {end.quote.title}
+{ title empty$
+ 'skip$
+ { before.all 'output.state := }
+ if$
+}
+
+FUNCTION {end.quote.btitle}
+{ booktitle empty$
+ 'skip$
+ { before.all 'output.state := }
+ if$
+}
+
+FUNCTION {format.full.names}
+{'s :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ "\&"
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[{" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "}]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in
+ " " * }
+
+FUNCTION {format.date}
+{ year duplicate$ empty$
+ { "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????" }
+ 'skip$
+ if$
+ extra.label *
+ before.all 'output.state :=
+ ", " swap$ *
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { bbl.of space.word * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { bbl.in space.word * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+FUNCTION {convert.edition}
+{ edition extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bbl.first 't := }
+ { s "second" = s "2" = or
+ { bbl.second 't := }
+ { s "third" = s "3" = or
+ { bbl.third 't := }
+ { s "fourth" = s "4" = or
+ { bbl.fourth 't := }
+ { s "fifth" = s "5" = or
+ { bbl.fifth 't := }
+ { s #1 #1 substring$ is.num
+ { s eng.ord 't := }
+ { edition 't := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ t
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { convert.edition "l" change.case$ " " * bbl.edition * }
+ { convert.edition "t" change.case$ " " * bbl.edition * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { bbl.pages pages n.dashify tie.or.space.connect }
+ { bbl.page pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.journal.pages}
+{ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ {
+ " " *
+ pages n.dashify *
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ bolden
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ { "" }
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ }
+ if$
+}
+
+FUNCTION {bt.enquote}
+{ "\enquote{" swap$ *
+ "}, " *
+}
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { word.in booktitle bt.enquote * }
+ { word.in format.in.editors * ", " *
+ booktitle bt.enquote * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { bbl.techrep }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ word.in
+ }
+ { bbl.volume volume tie.or.space.connect
+ bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ add.blank "(" *
+ address empty$
+ 'skip$
+ { address * }
+ if$
+ t empty$
+ 'skip$
+ { address empty$
+ 'skip$
+ { ": " * }
+ if$
+ t *
+ }
+ if$
+ ")" *
+ }
+ if$
+}
+
+FUNCTION {format.publisher.address}
+{ publisher empty$
+ { "empty publisher in " cite$ * warning$
+ ""
+ }
+ { publisher }
+ if$
+ format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization empty$
+ { "" }
+ { organization }
+ if$
+ format.org.or.pub
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { journal
+ emphasize
+ "journal" output.check
+ add.blank
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.journal.pages
+ format.note output
+ fin.entry
+ write.url
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ format.edition output
+ format.publisher.address output
+ }
+ {
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.note output
+ fin.entry
+ write.url
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ howpublished output
+ address output
+ format.note output
+ fin.entry
+ write.url
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ format.number.series output
+ format.edition output
+ format.publisher.address output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.pages "pages" output.check
+ format.note output
+ fin.entry
+ write.url
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ end.quote.btitle
+ format.bvolume output
+ format.number.series output
+ format.edition output
+ format.chapter.pages output
+ format.publisher.address output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.pages "pages" output.check
+ format.note output
+ fin.entry
+ write.url
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ end.quote.btitle
+ format.bvolume output
+ format.number.series output
+ publisher empty$
+ { format.organization.address output }
+ { organization output
+ format.publisher.address output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.note output
+ fin.entry
+ write.url
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ organization output
+ address output
+ format.edition output
+ format.note output
+ fin.entry
+ write.url
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.note output
+ fin.entry
+ write.url
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title output
+ end.quote.title
+ howpublished output
+ format.note output
+ fin.entry
+ write.url
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.note output
+ fin.entry
+ write.url
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ publisher empty$
+ { format.organization.address output }
+ { organization output
+ format.publisher.address output
+ }
+ if$
+ format.note output
+ fin.entry
+ write.url
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.note output
+ fin.entry
+ write.url
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ format.note "note" output.check
+ fin.entry
+ write.url
+}
+
+FUNCTION {default.type} { misc }
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ "" 't :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$
+ " " * bbl.etal *
+ }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ " " * bbl.etal *
+ }
+ { " \& " * s #2 "{vv~}{ll}" format.name$
+ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "????" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" * }
+ { t sortify * }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { last.label next.extra }
+
+INTEGERS { last.extra.num number.label }
+
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\newcommand{\enquote}[1]{``#1''}"
+ write$ newline$
+ "\expandafter\ifx\csname natexlab\endcsname\relax\def\natexlab#1{#1}\fi"
+ write$ newline$
+ "\expandafter\ifx\csname url\endcsname\relax"
+ write$ newline$
+ " \def\url#1{{\tt #1}}\fi"
+ write$ newline$
+ "\expandafter\ifx\csname urlprefix\endcsname\relax\def\urlprefix{URL }\fi"
+ write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `perception.bst'. \ No newline at end of file
diff --git a/biblio/bibtex/contrib/persian-bib/MyReferences.bib b/biblio/bibtex/contrib/persian-bib/MyReferences.bib
new file mode 100644
index 0000000000..08dd679392
--- /dev/null
+++ b/biblio/bibtex/contrib/persian-bib/MyReferences.bib
@@ -0,0 +1,147 @@
+@ARTICLE{Vahedi87,
+ AUTHOR = {واحدی, مصطÙÛŒ},
+ TITLE = {درختان پوشای کمینه دورنگی مسطح},
+ JOURNAL = {مجله Ùارسی نمونه},
+ VOLUME = {1},
+ YEAR = {1387},
+ NUMBER = {2},
+ MONTH = {آبان},
+ PAGES = {22-30},
+ LANGUAGE = {Persian}
+}
+
+@CONFERENCE{Amintoosi09regional,
+ author = {M. Amintoosi and M. Fathy and N. Mozayani},
+ authorfa = {Ù…. امین‌طوسی and Ù…. Ùتحی and Ù….مزینی},
+ title = {Regional Varying Image Super-Resolution},
+ booktitle = {IEEE International Joint Conference on Computational Sciences and Optimization},
+ year = {2009},
+ month = {April 23-26},
+ address = {Sanya, China},
+ volume = {1},
+ pages = {913-917}
+}
+
+@CONFERENCE{Amintoosi09video,
+ author = {M. Amintoosi and M. Fathy },
+ authorfa = {Ù…. امین‌طوسی and Ù…. Ùتحی },
+ title = {Video Resolution Enhancement in the Presence of Moving Objects},
+ booktitle = {International Conference on Image Processing, Computer Vision, and Pattern Recognition},
+ year = {2009},
+ address = {Las Vegas, USA},
+ month = {July}
+}
+
+@ARTICLE{Amintoosi09precise,
+ AUTHOR = {M. Amintoosi and M. Fathy and N. Mozayani},
+ authorfa = {Ù…. امین‌طوسی and Ù…. Ùتحی and Ù….مزینی},
+ TITLE = {Precise Image Registration with Structural Similarity Error Measurement Applied to Super-Resolution},
+ JOURNAL = {{EURASIP} {J}ournal on {A}dvances in {S}ignal {P}rocessing},
+ Volume = {2009},
+ YEAR = {2009},
+ pages = {7 pages},
+ note = {{A}rticle ID 305479},
+ url = {http://www.hindawi.com/journals/asp/2009/305479.html}
+}
+
+@CONFERENCE{Amintoosi87afzayesh,
+ AUTHOR = {امین‌طوسی,محمود and مزینی,ناصر and Ùتحی,محمود},
+ TITLE = {اÙزایش وضوح ناحیه‌ای},
+ BOOKTITLE = {چهاردهمین Ú©Ù†Ùرانس ملی سالانه انجمن کامپیوتر ایران},
+ YEAR = {1387},
+ ORGANIZATION = {دانشگاه امیرکبیر},
+ ADDRESS = {تهران، ایران},
+ month = {اسÙند},
+ pages = {101--108},
+ LANGUAGE = {Persian}
+}
+
+@article{Baker02limits,
+ author = {Baker,, Simon and Kanade,, Takeo},
+ title = {Limits on Super-Resolution and How to Break Them},
+ journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
+ volume = {24},
+ number = {9},
+ year = {2002},
+ issn = {0162-8828},
+ pages = {1167--1183},
+ publisher = {IEEE Computer Society},
+ address = {Washington, DC, USA}
+ }
+
+@BOOK{Gonzalez02book,
+ AUTHOR = {Gonzalez,, Rafael C. and Woods,, Richard E.},
+ authorfa = {ر. گنزالس and ر. وودس },
+ TITLE = {Digital Image Processing},
+ PUBLISHER = {Prentice-Hall, Inc.},
+ YEAR = {2006},
+ ISBN = {013168728X},
+ EDITION = {3rd},
+ ADDRESS = {Upper Saddle River, NJ, USA},
+}
+
+@MASTERSTHESIS{Khalighi07MscThesis,
+ AUTHOR = {Vafa Khalighi},
+ AUTHORFA = {خلیقی,ÙˆÙا},
+ TITLE = {Category Theory},
+ SCHOOL = {Sydny Univ.},
+ YEAR = {2007},
+ MONTH = {April}
+}
+
+@MISC{Khalighi87xepersian,
+ AUTHOR = {خلیقی,ÙˆÙا},
+ TITLE = {زی‌پرشین (\lr{\XePersian}): بسته Ùارسی برای حروÙ‌چینی در \lr{\LaTeXe}},
+ HOWPUBLISHED = {\lr{\href{http://ctan.org/pkg/xepersian}{http://ctan.org/pkg/xepersian}}},
+ YEAR = {Û±Û³Û¸Û·},
+ LANGUAGE = {Persian}
+ }
+
+@PHDTHESIS{Omidali82phdThesis,
+ AUTHOR = {امیدعلی, مهدی},
+ TITLE = {خم‌های تک‌جمله‌ای تعری٠شده توسط دنباله‌های تقریباً حسابی},
+ SCHOOL = {دانشکده ریاضی، دانشگاه امیرکبیر},
+ YEAR = {1385},
+ MONTH = {تیر},
+ LANGUAGE = {Persian}
+}
+
+@BOOK{Pedram80osool,
+ AUTHOR = {استالینگ, ویلیام},
+ EDITOR = {برنجکوب, محمود},
+ translator = { صدیقی‌ مشکنانی, محسن and پدرام,حسین },
+ TITLE = {اصول طراحی و ویژگیهای داخلی سیستم‌های عامل},
+ PUBLISHER = {نشر شیخ بهایی},
+ YEAR = {Û±Û³Û¸Û°},
+ ADDRESS = {اصÙهان},
+ edition = {سوم},
+ MONTH = {بهار},
+ LANGUAGE = {Persian}
+}
+
+@MASTERSTHESIS{Pourmousa88mscThesis,
+ AUTHOR = {پورموسی , امیرمسعود},
+ TITLE = {بررسی رویدادهای ریزهمگرایی گرانشی تکراری در راستای مرکز کهکشان و ابرهای ماژلانی},
+ SCHOOL = {دانشکده Ùیزیک، دانشگاه صنعتی‌شریÙ},
+ YEAR = {Û±Û³Û¸Û¸},
+ LANGUAGE = {Persian}
+}
+
+@PhdThesis{Borman04thesis,
+ author = {Sean Borman},
+ authorfa = {بورمن,سین},
+ title = {Topics in Multiframe Superresolution Restoration},
+ school = {University of Notre Dame},
+ year = {2004},
+ address = {Notre Dame, IN},
+ month = may,
+}
+
+@PROCEEDINGS {conference06,
+ editor = {Farhad Shokoohi},
+ authorfa = {Ùرهاد شکوهی},
+ title = {Proceedings of the Xth Conference on XYZ},
+ booktitle = {Proceedings of the Xth Conference on XYZ},
+ year = {2006},
+ month = {October}
+} \ No newline at end of file
diff --git a/biblio/bibtex/contrib/persian-bib/Persian-bib-userguide.pdf b/biblio/bibtex/contrib/persian-bib/Persian-bib-userguide.pdf
new file mode 100644
index 0000000000..21fa1539a6
--- /dev/null
+++ b/biblio/bibtex/contrib/persian-bib/Persian-bib-userguide.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/persian-bib/Persian-bib-userguide.tex b/biblio/bibtex/contrib/persian-bib/Persian-bib-userguide.tex
new file mode 100644
index 0000000000..356e4b72be
--- /dev/null
+++ b/biblio/bibtex/contrib/persian-bib/Persian-bib-userguide.tex
@@ -0,0 +1,370 @@
+\documentclass[a4paper]{article}
+% محمود امین‌طوسی، http://profs.hsu.ac.ir/mamintoosi
+% To do
+
+%\versionnumber{0.9}
+
+\usepackage{verbatim}
+\usepackage{color}
+\usepackage{amsthm}
+\usepackage[linktocpage=true,colorlinks,citecolor=blue,pagebackref=true]{hyperref}%
+\usepackage[nonamebreak,square]{natbib}%nonamebreak,numbers,
+\usepackage[top=30mm, bottom=30mm, left=30mm, right=30mm]{geometry}
+\usepackage{listings}
+
+\usepackage{xepersian}
+\settextfont[Scale=1]{XB Zar}%{XB Niloofar}
+\setlatintextfont[Scale=1]{Linux Libertine}
+%\setdigitfont[Scale=1]{XB Zar}
+\defpersianfont\Sayeh[Scale=1]{XB Kayhan Sayeh}
+
+\theoremstyle{plain}\newtheorem{question}{پرسش}
+\newcommand{\answer}{{\noindent \Sayeh پاسخ: }}
+\newcommand\SLASH{\char`\\}
+
+
+\title{\vspace{-2cm}
+{\small بسم الله الرحمن الرحيم\\}
+\vspace{2cm}
+ راهنمای استÙاده از سبک‌های Ùارسی برای \textcolor{red}{\lr{\textsc{Bib}\TeX}}\\
+ در \textcolor{blue}{زی‌پرشین}\\
+\lr{(Persian-bib User Guide)}
+}
+\author{محمود امین‌طوسی\\
+\href{http://profs.hsu.ac.ir/mamintoosi}{دانشگاه حکیم سبزواری}
+،
+\href{http://www.parsilatex.com}{گروه پارسی‌لاتک}
+%\lr{m.amintoosi at gmail.com}
+}
+%\date{}
+
+\begin{document}
+\maketitle
+%\vspace{2cm}
+\tableofcontents
+
+\section{مقدمه}
+
+یکی از روش‌های قدرتمند Ùˆ انعطاÙ‌پذیر برای نوشتن مراجع مقالات Ùˆ مدیریت مراجع در لاتک، استÙاده از بسته‌ی \lr{BibTeX} است.
+اگر این بسته را به کار نبریم (Ùˆ از ویژگی‌های پیش‌Ùرض لاتک برای مدیریت مراجع استÙاده کنیم)ØŒ باید مراجع هر مقاله را در پایان همان مقاله بنویسیم
+و در متن نوشته به آن‌ها ارجاع دهیم. ولی روش کار با بسته‌ی \lr{BibTeX} به این صورت است که مجموعه‌ی همه‌ی مراجعی را که در نوشتن مقاله‌هایمان به کارمان می‌آید،
+در پرونده‌ی جداگانه‌ای نوشته Ùˆ از آن در مقالات مختلÙ‌مان استÙاده می‌کنیم. این روش ممکن است در آغاز Ú©Ù…ÛŒ کار بیشتری بخواهد، ولی در پایان به سرعت کار می‌اÙزاید.
+گذشته از این، اگر Ú©Ù†Ùرانس‌ها یا مجله‌های گوناگون برای نوشتن مراجع، قالب‌ها یا قراردادهای متÙاوتی داشته باشند
+ (مثلاً در ترتیب مراجع، ترتیب نام نویسنده‌های هر مرجع، بزرگی و کوچکی حرو٠و نحوه‌ی چینش اجزاء مرجع) و شما می‌خواهید مقالاتی در یک موضوع را آماده نمایید،
+ لازم نیست قالب مراجع را در هر سند خود به صورت جداگانه تغییر دهید.
+ در این حالت به کمک سبک‌های \lr{BibTeX} خواهید توانست تنها با تغییر یک پارامتر در پرونده‌ی ورودی خود، مراجع را مطابق قالب موردنظر تنظیم کنید.
+ بیشتر مجلات Ùˆ Ú©Ù†Ùرانس‌های معتبر یک پرونده‌ی سبک (\lr{BibTeX Style}) با پسوند \lr{bst} در وب‌گاه خود می‌گذارند Ú©Ù‡ برای همین منظور طراحی شده است.
+
+به جز نوشتن مقالات این سبک‌ها Ú©Ù…Ú© بسیار خوبی برای تهیه‌ی مستندات علمی همچون پایان‌نامه‌هاست Ú©Ù‡ Ùرد می‌تواند هر قسمت از کارش را Ú©Ù‡ نوشت مراجع مربوطه
+را به بانک مراجع خود اضاÙÙ‡ نماید. با داشتن چنین بانکی از مراجع، ÙˆÛŒ خواهد توانست به راحتی یک یا چند ارجاع به مراجع Ùˆ یا یک یا چند بخش را حذ٠یا اضاÙÙ‡ ‌نماید؛
+مراجع به صورت خودکار مرتب شده Ùˆ Ùقط مراجع ارجاع داده شده در قسمت کتاب‌نامه خواهندآمد. قالب مراجع به صورت یکدست مطابق سبک داده شده بوده Ùˆ نیازی نیست
+که کاربر درگیر قالب‌دهی به مراجع باشد.
+در این جا مجموعه‌ای از سبک‌های \lr{BibTeX} Ú©Ù‡ برای بسته‌ی زی‌پرشین تنظیم شده‌اند معرÙÛŒ شده Ùˆ روش کار با آن‌ها Ú¯Ùته می‌شود.
+
+
+\section{سبک‌های Ùعلی قابل استÙاده در زی‌پرشین}
+در حال حاضر Ùایلهای سبک زیر برای استÙاده در زی‌پرشین آماده شده‌اند\footnote{برای دیدن Ùˆ مقایسه‌ی خروجی سبک‌های مورد استÙاده در اسناد Ùارسی، کاÙیست برنامه‌ی پرل \lr{gen\_pdf} را -- Ú©Ù‡ همراه با بسته‌ی \lr{Persian-bib} است -- اجرا کنید تا به صورت خودکار نمونه خروجی‌هایی با تمام این سبک‌ها تولید نماید Ùˆ یا به ویکی پارسی‌لاتک
+ (\url{http://wiki.parsilatex.com})
+ مراجعه Ùرمایید.}:
+\begin{description}
+\item [unsrt-fa.bst] این سبک متناظر با \lr{unsrt.bst} می‌باشد. مراجع به ترتیب ارجاع در متن ظاهر می‌شوند.
+\item [plain-fa.bst] این سبک متناظر با \lr{plain.bst} می‌باشد. مراجع بر اساس نام‌خانوادگی نویسندگان، به ترتیب صعودی مرتب می‌شوند.
+ همچنین ابتدا مراجع Ùارسی Ùˆ سپس مراجع انگلیسی خواهند آمد.
+\item [acm-fa.bst] این سبک متناظر با \lr{acm.bst} می‌باشد. شبیه \lr{plain-fa.bst} است. قالب مراجع Ú©Ù…ÛŒ متÙاوت است. اسامی نویسندگان انگلیسی با حرو٠بزرگ انگلیسی نمایش داده می‌شوند. (مراجع مرتب می‌شوند)
+\item [ieeetr-fa.bst] این سبک متناظر با \lr{ieeetr.bst} می‌باشد. (مراجع مرتب نمی‌شوند)
+%\item [persia-unsorted.bst] این سبک شبیه \lr{ieeetr-fa.bst} می‌باشد با این تÙاوت Ú©Ù‡ برخی نامها با حرو٠توپر نوشته شده‌اند.
+\item [plainnat-fa.bst] این سبک متناظر با \lr{plainnat.bst} می‌باشد. نیاز به بستهٔ \lr{natbib} دارد. (مراجع مرتب می‌شوند)
+\item [chicago-fa.bst] این سبک متناظر با \lr{chicago.bst} می‌باشد. نیاز به بستهٔ \lr{natbib} دارد. (مراجع مرتب می‌شوند)
+\item [asa-fa.bst] این سبک متناظر با \lr{asa.bst} می‌باشد. نیاز به بستهٔ \lr{natbib} دارد. (مراجع مرتب می‌شوند)
+\item[plain-fa-inLTR]
+این سبک همان سبک
+\lr{plain-fa}
+می‌باشد ولی برای اسناد Ú†Ù¾ به راست می‌تواند مورد استÙاده قرار گیرد. منظور حالتی است Ú©Ù‡ به عنوان مثال Ú©Ù„ سند لاتین است Ùˆ مایلیم یک یا چند مرجع Ùارسی هم داشته باشیم.
+\item[plain-fa-inLTR-beamer]
+این سبک مشابه سبک
+\lr{plain-fa-inLTR}
+است با این تÙاوت Ú©Ù‡ شامل اصلاحاتی جزیی برای استÙاده در اسناد Ú†Ù¾ به راست طبقه نوشتاری
+\lr{beamer}
+می‌باشد.
+\end{description}
+
+
+\section{ نحوه استÙاده از سبک‌های Ùارسی}
+ %با مطالعه Ùˆ اجرای مثال ارائه شده با زی‌پرشین (Ùایل \lr{bibtex\_example.tex}) با نحوه‌ی استÙاده از سبک‌های Ùارسی آشنا خواهید شد.
+ مراحل اصلی برای استÙاده از این سبک‌ها در ذیل آمده است:
+\begin{enumerate}
+\item در ابتدا باید یک بانک از مراجع خود همانند Ùایل \lr{MyReferences.bib} تهیه نمایید. اغلب انواع مراجع معمول مورد استÙاده در آن آمده است. این Ùایل را در هر زمان می‌توانید ویرایش نموده، مراجعی را حذ٠یا اضاÙÙ‡ نمایید.
+\item برای هر مدخل Ùارسی بایستی Ùیلدی با نام \lr{language} Ùˆ با مقدار \lr{persian} داشته باشید.
+\item اگر مرجع شما دارای مترجم است، Ùیلدی به نام \lr{translator} حاوی نام(های) مترجم ایجاد کنید.
+\item در محلی از سورس زی‌پرشین خود که می‌خواهید لیست مراجع قرار بگیرد (معمولاً آخر سند) دستورات زیر را قرار دهید:
+\begin{LTR}
+\begin{verbatim}
+\bibliographystyle{style-file-name}% such as plain-fa
+\bibliography{bib-file-name} %such as MyReferences
+\end{verbatim}
+\end{LTR}
+\item Ùرض کنید نام Ùایل شما \lr{`myfile.tex'} باشد. دنباله پردازشهای زیر را برای حصول به نتیجه نهایی انجام دهید:
+
+\begin{LTR}
+\begin{verbatim}
+xelatex myfile
+bibtex myfile
+xelatex myfile
+xelatex myfile
+\end{verbatim}
+\end{LTR}
+\end{enumerate}
+نکته: در روش Ùوق مراجع Ùارسی در استیل‌هایی Ú©Ù‡ مراجع را به صورت مرتب شده چاپ می‌کنند، ترتیب کاملاً درستی نخواهند داشت. برای توضیحات بیشتر بخش‌ \ref{Sec:sorting} را ببینید.
+
+\section{یک Ùایل \texorpdfstring{\lr{bib}}{bib} شامل چیست؟}
+یک Ùایل \lr{bib} در واقع یک پایگاه داده از مراجع\LTRfootnote{Bibliography Database} شماست Ú©Ù‡ هر مرجع در آن به عنوان یک رکورد از این پایگاه داده
+با قالبی خاص ذخیره می‌شود. به هر رکورد یک مدخل\LTRfootnote{Entry} Ú¯Ùته می‌شود. یک نمونه مدخل برای معرÙÛŒ کتاب \lr{Digital Image Processing} در ادامه آمده است:
+\begin{LTR}
+\begin{verbatim}
+@BOOK{Gonzalez02book,
+ AUTHOR = {Rafael Gonzalez and Richard Woods},
+ TITLE = {Digital Image Processing},
+ PUBLISHER = {Prentice-Hall, Inc.},
+ YEAR = {2006},
+ EDITION = {3rd},
+ ADDRESS = {Upper Saddle River, NJ, USA}
+}
+\end{verbatim}
+\end{LTR}
+در مثال Ùوق، \lr{@BOOK} مشخصه‌ی شروع یک مدخل مربوط به یک کتاب Ùˆ \lr{Gonzalez02book} برچسبی است Ú©Ù‡ به این مرجع منتسب شده است.
+ این برچسب بایستی یکتا باشد. برای آنکه Ùرد به راحتی بتواند برچسب
+مراجع خود را به خاطر بسپارد Ùˆ حتی‌الامکان برچسب‌ها متÙاوت با هم باشند معمولاً از قوانین خاصی به این منظور استÙاده می‌شود. یک قانون می‌تواند Ùامیل نویسنده‌ی
+اول+دورقم سال نشر+اولین کلمه‌ی عنوان اثر باشد. به \lr{AUTHOR} Ùˆ $\dots$ Ùˆ \lr{ADDRESS} Ùیلدهای این مدخل Ú¯Ùته می‌شود؛ Ú©Ù‡ هر یک با مقادیر مربوط
+به مرجع مقدار گرÙته‌اند. ترتیب Ùیلدها مهم نیست.
+
+انواع متنوعی از مدخل‌ها برای اقسام مختل٠مراجع همچون کتاب، مقاله‌ی Ú©Ù†Ùرانس Ùˆ مقاله‌ی ژورنال وجود دارد Ú©Ù‡ برخی Ùیلدهای آنها با هم متÙاوت است.
+نام Ùیلدها بیانگر نوع اطلاعات آن می‌باشد. مثالهای ذکر شده در Ùایل \lr{MyReferences.bib} Ú©Ù…Ú© خوبی به شما خواهد بود.
+این Ùایل یک Ùایل متنی بوده Ùˆ با ویرایشگرهای معمول همچون \lr{Notepad++} قابل ویرایش می‌باشد. برنامه‌هایی همچون
+\lr{TeXMaker} امکاناتی برای نوشتن این مدخل‌ها دارند Ùˆ به صورت خودکار Ùیلدهای مربوطه را در Ùایل \lr{bib} شما قرار می‌دهند.
+با استÙاده از سبک‌های Ùارسی آماده شده، محتویات هر Ùیلد می‌تواند به Ùارسی نوشته شود، ترتیب مراجع Ùˆ نحوه‌ی چینش Ùیلدهای هر مرجع را سبک مورد استÙاده
+مشخص خواهد کرد.
+
+
+\section{استÙاده از \texorpdfstring{\lr{natbib}}{natbib}}\label{Sec:natbib}
+برخی مایلند Ú©Ù‡ مراجع خود را با قالب نویسنده-سال داشته باشند. برای لاتین استیلهایی نظیر \lr{plainnat} وجود دارند Ú©Ù‡ خروجی آنها به اینگونه است؛ ولی برای Ùارسی چنین استیلهایی نداریم.
+بعلاوه معمولاً در مستندات Ùارسی خواسته می‌شود Ú©Ù‡ نام‌های لاتین مؤلÙین در متن به صورت Ùارسی نوشته شود ولی در لیست مراجع به صورت انگلیسی ظاهر شوند.
+%اگر از استیلهای \lr{plainnat} یا \lr{chicago} در مستندات زی‌پرشین استÙاده کنیم با مشکلاتی مواجه هستیم.
+با استÙاده از استیل‌های جدید \lr{plainnat-fa.bst}ØŒ \lr{asa-fa.bst} Ùˆ \lr{chicago-fa.bst} می‌توانید در زمانیکه متن شما Ùارسی Ùˆ مراجعتان لاتین است از قالب مراجع به صورت «نویسنده-سال» استÙاده کنید. به این منظور باید در هر مدخل مراجع خود یک Ùیلد جدید به نام \lr{AUTHORFA} تعری٠نموده Ùˆ معادل Ùارسی نام مؤلÙین را در آن قید کنید.
+دنباله عملیات لازم برای تولید خروجی در بخش \ref{Sec:sorting} آمده است.
+
+تا آنجا Ú©Ù‡ بررسی شده است، سه استیل آماده شده با Ùرامین معمول بستهٔ \lr{natbib} Ú©Ù‡ در راهنمای آن آمده است (مانند \lr{cite,citet,citep}) به خوبی کار می‌کند. در ادامه مثالهای متنوعی از انواع مختل٠مراجع Ùˆ برخی دستورات ارجاع‌دهی در \lr{natbib} آمده است. دقت داشته باشید Ú©Ù‡ برای استÙاده از Ùایل‌های استیل Ùارسی Ùوق‌الذکر باید بستهٔ \lr{natbib} نصب شده باشد Ùˆ آنرا Ùراخوانی نموده باشید. در این بسته به صورت پیش‌Ùرض در ارجاع به مراجع، از پرانتز استÙاده می‌شود، لیکن از آنجا Ú©Ù‡ در این سند این بسته با گزینه‌ی \lr{square} Ùراخوانی شده است، مراجع با کروشه مشخص شده‌اند.
+
+\subsection{مثالها}\label{Sec:examples}
+
+\citet{Borman04thesis}\LTRfootnote{\citeauthor*{Borman04thesis}} در پایان‌نامهٔ دکترای خود به موضوع وضوح برتر پرداخته است.
+\citet{Amintoosi09precise}\LTRfootnote{\citeauthor*{Amintoosi09precise}} یک روش اÙزایش وضوح تصویر ارائه دادند. این روش توسط \citet{Amintoosi09video} برای ویدئو بکار گرÙته شد.همانگونه Ú©Ù‡ می‌بینید در این مرجع Ú©Ù‡ دو مؤل٠داریم Ùامیل هر دو آمده است. ضمناً هر دو مرجع لاتین هستند Ú©Ù‡ در Ùیلد \lr{authorfa} معادل Ùارسی آنها ذکر شده بوده است.
+
+خوب حالا ببینیم با مرجع \citep{Amintoosi09regional} چکار می‌کند. از آنجا Ú©Ù‡ مؤلÙین این مقاله Ùˆ مقاله اول Ùˆ سال نشر هر دو یکی است در کنار سال، \lr{a,b,c,...} قرار می‌گیرد. این یکی را تبدیل به ال٠و ب نمی‌کنیم چرا Ú©Ù‡ در لیست مراجع به همین صورت ظاهر می‌شوند.
+
+Ùˆ حالا چند مرجع از انواع مختل٠را با هم ببینیم: \citet{Omidali82phdThesis} یک نمونه پروژه دکترا Ùˆ مرجع \citep{Vahedi87} یک نمونه مقاله مجله Ùارسی است Ú©Ù‡ با \lr{citep} به آن ارجاع داده شده Ùˆ لذا کلاً داخل کروشه قرار گرÙته است.
+
+مرجع \citep{Pedram80osool} یک نمونه کتاب Ùارسی با ذکر مترجمان Ùˆ ویراستاران Ùارسی است. مرجع \citep{Khalighi07MscThesis} یک نمونه پروژه کارشناسی ارشد انگلیسی Ùˆ \citet{Khalighi87xepersian} هم یک نمونه متÙرقه می‌باشند.\citet{Gonzalez02book} یک کتاب لاتین است.
+
+ مرجع \citet[Ùصل Û²]{Pourmousa88mscThesis} یک نمونه پروژه کارشناسی ارشد Ùارسی است Ú©Ù‡ به Ùصل دوم آن ارجاع داده شده Ùˆ مرجع \citep[قضیه‌ی ۲،][]{Amintoosi87afzayesh} یک نمونه مقاله Ú©Ù†Ùرانس Ùارسی با ارجاع به یک قضیه به آن است Ú©Ù‡ قضیه‌ی مربوطه قبل از نام مرجع آمده است (برخلا٠مثال پیشین).
+
+ اگر به مرجع قبل با استÙاده از \lr{citealp*} ارجاع دهیم به صورت \citealp*{Amintoosi87afzayesh} نشان داده می‌شود Ú©Ù‡ همانگونه Ú©Ù‡ مشاهده می‌کنید نام تمام مؤلÙین نشان داده شده است؛ برخلا٠مورد قبلی Ú©Ù‡ مؤلÙین دوم به بعد با «ودیگران» جایگزین می‌شد. البته در حال حاضر این مورد Ùقط برای مراجع Ùارسی بدرستی عمل می‌نماید.
+%همانگونه Ú©Ù‡ دیده می‌شود، مراجع Ùارسی Ùˆ لاتین هم در متن Ùˆ هم در لیست مراجع به صورت درست نمایش داده شده اند.
+%تست چندمرجعی زیرنویس \LTRfootnote{\citeauthor*{Amintoosi09precise,Gonzalez02book}}\citet{Amintoosi09precise,Gonzalez02book}
+
+اگر اسامی مؤلÙان چند مرجع یکسان باشد (Ùارسی یا معادل Ùارسی آنها) Ùˆ به آنها پشت سرهم ارجاع دهیم، اسامی Ùقط یک بار ظاهر خواهند شد. مثلاً \citet{Amintoosi09precise,Amintoosi87afzayesh} دو مقاله از نویسندگان یکسان ولی اولی به لاتین Ùˆ دومی به Ùارسی است Ú©Ù‡ سال نشر آنها مؤید این مطلب است.
+ البته یک نقطه ضع٠کوچک هم دارد Ùˆ آن این است Ú©Ù‡ برای تست یکسان بودن مراجع همین برچسب مورد عمل قرار می‌گیرد. به عنوان مثال از آنجا Ú©Ù‡ برای هر دو مقاله «امین‌طوسی Ùˆ دیگران» آمده است، بدون توجه به اینکه سایر همکاران ممکن است متÙاوت باشند در یک دسته قرار می‌گیرند.
+
+%مثالی از Ú©Ù†Ùرانس بدون نویسنده: \citep{conference06}
+
+\section{مرتب‌سازی مراجع بر اساس نام نویسنده}\label{Sec:sorting}
+اگر در نام خانوادگی نویسنده‌ یکی از حرو٠'Ú¯Ú†Ù¾Ú˜` Ùˆ یا کا٠Ùارسی باشد مرتب‌سازی با مشکل مواجه خواهد شد. برای مشخص کردن ترتیب درست حروÙØŒ Ùایلی با نام \lr{`cp1256fa.csf'} آماده شده است Ú©Ù‡ باید آنرا به همراه \lr{bibtex8} بکار ببرید. همچنین از آنجا Ú©Ù‡ در بسیاری از قوانین مربوط به درج مراجع در ایران خواسته می‌شود Ú©Ù‡ ابتدا مراجع Ùارسی Ùˆ سپس مراجع لاتین قید شوند، در Ùایل مذکور حرو٠Ùارسی قبل از حرو٠لاتین آمده‌اند.
+Ùرض کنید نام Ùایل شما \lr{`myfile.tex'} Ùˆ نام Ùایل حاوی مراجع شما \lr{ `SomeReferences.bib'} باشد. این Ùایل Ùˆ Ùایل \lr{`cp1256fa.csf'} باید در همان شاخه Ùایل اصلی شما یا در مسیر سیستم باشند.
+%برای آشنایی با ساختار Ùایل \lr{`SomeReferences.bib'} به همین Ùایل Ú©Ù‡ همراه این Ùایل است مراجعه قرمایید.
+دنباله کارهای زیر را برای حصول به نتیجه باید انجام دهید:
+\begin{LTR}
+\begin{verbatim}
+xelatex myfile
+bibtex8 -W -c cp1256fa myfile
+xelatex myfile
+xelatex myfile
+\end{verbatim}
+\end{LTR}
+می‌توانید به جای \lr{bibtex8} از {\lr{bibtex}} Ùˆ بدون هیچ گزینهٔ اضاÙه‌ای استÙاده کنید ولی در این حالت مراجع Ùارسی شما مرتب نخواهند بود، مگر آنکه به نحو مناسبی از \lr{noopsort} استÙاده کنید.
+
+
+
+\section{چند نکته در مورد استÙاده از سبک‌های Ùارسی}
+\begin{itemize}
+\item همانگونه Ú©Ù‡ مشاهده کردید با استÙاده از Ùیلد \lr{AUTHORFA} می‌توان معادل Ùارسی نام نویسندگان مقالات لاتین را در متن داشت. معمولاً در اسناد Ùارسی خواسته می‌شود Ú©Ù‡ پس از ذکر معادل Ùارسی نام نویسنده، نام لاتین نویسنده(ها) به عنوان پاورقی درج شود. به این منظور کاÙیست پس از ارجاع به مرجع، در دستور زیر نویس از Ùرم ارجاع نویسنده-سال استÙاده کنید، مثلاً به صورت زیر:
+\begin{latin}
+\begin{verbatim}
+\citep{referenceTag}\LTRfootnote{\citeauthor*{referenceTag}}
+\end{verbatim}
+\end{latin}
+ نام مؤلÙین٠اولین دو نمونه ارجاع٠بخش مثالها (بخش \ref{Sec:examples}) به همین‌ صورت در پاورقی ظاهر شده است.
+
+\item همانگونه Ú©Ù‡ مشاهده می‌کنید با بستهٔ \lr{hyperref} مشکلی وجود ندارد، البته به شرط داشتن بستهٔ \lr{bidi}نسخهٔ Û±.Û°.Û´ (\lr{revision} Û±Û¹Û° به بعد) . Ùقط یک استثناءوجود دارد Ùˆ آن هم رنگ مرجع در هنگامی است Ú©Ù‡ قسمتی از اسامی مؤلÙین یک مرجع درانتهای یک خط Ùˆ قسمتی دیگر در ابتدای خط بعد قرار گیرد. در این حالت Ú©Ù„ دو خط رنگی می‌شوند. راه حلی نسبی برای آن با گزینه \lr{nonamebreak} از بستهٔ \lr{natbib} Ùˆ گزینه کشیده \lr{(Kashida)} از بستهٔ زی‌پرشین وجود دارد.
+%در \lr{LuaPersian} Ú©Ù‡ سبک Ùارسی در حال گسترشی توسط آقای خلیقی است این مشکل وجود ندارد.
+
+%یک مثال را ببینیم:در اینجا چند مرجع پشت سر هم داریم Ú©Ù‡ از یک خط بیشتر شده‌اند: \citet{Omidali82phdThesis} Ùˆ \citealp*{Khalighi87xepersian} Ùˆ \citet{Amintoosi09precise,Amintoosi87afzayesh} اگر گزینه \lr{nonamebreak} را استÙاده نکنید هر دو خط آبی خواهند شد. با استÙاده از گزینهٔ مذکور Ú©Ù‡ مربوط به بستهٔ \lr{natbib} است، این مشکل رنگی شدن دو خط برطر٠می‌شود ولی ممکن است تنظیم خط به هم بخورد،‌ کمتر از طول خط شود Ùˆ یا از حد خارج شود. این مشکل بسیاری از اوقات توسط گزینهٔ کشیده \lr{(Kashida)} در بستهٔ زی‌پرشین قابل حل است.
+
+\item متاسÙانه \lr{bibtex} قادر به جداسازی حر٠اول نامهای Ùارسی نیست، لذا در استیل‌‌هایی Ú©Ù‡ حر٠اول نامهای لاتین ظاهر می‌شوند، نامهای Ùارسی به صورت کامل نشان داده می‌شوند. اگر نیاز به این حالت دارید، باید خودتان به صورت دستی نامها را در مراجع Ùارسی اصلاح نمایید.
+
+\item رمزینه Ùایل \lr{.bib} شما باید یونیکد یا \lr{UTF-8} باشد، در غیراینصورت (مثلاً اگر \lr{UTF-8 without BOM} باشد) در لینوکس با مشکل مواجه خواهید شد. به جای ایجاد Ùایل \lr{bib} جدید برای خود، Ùایل \lr{MyReferences.bib} Ú©Ù‡ با رمزینه‌ی \lr{UTF-8} ذخیره شده است را تغییر داده در صورت نیاز با نامی دیگر ذخیره نمایید.
+\item برای Ùونت Ùارسی از Ùونت‌های سری \lr{XB} یا قلم مناسب دیگری Ú©Ù‡ حرو٠لاتین را هم داشته باشد استÙاده نمایید.
+\item برچسب‌ هر مرجع می‌تواند به Ùارسی نوشته شود، اما در آن نباید Ùاصله بکار برده شده باشد.
+به عنوان مثال به جای 'امین طوسی` بایستی از نیم Ùاصله استÙاده نمود Ùˆ آنرا به صورت 'امین‌طوسی` نوشت. دقت داشته باشید Ú©Ù‡ در این حالت با بستهٔ \lr{hyperref} مشکل خواهید داشت.
+\item مراجع Ùارسی نیازی به Ùیلد \lr{authorfa} ندارند.
+\item دقت داشته باشید Ú©Ù‡ اگر اول Ùامیل Ùˆ سپس اسم را می‌نویسید، اسم Ùˆ Ùامیل را با کامای انگلیسی از هم جدا کنید. اگر حرو٠اول اسم را می‌نویسید، پس از آن نقطه Ùˆ بعد حتماً یک Ùاصله Ùˆ سپس Ùامیل را بنویسید.
+%\item اگر مایلید Ú©Ù‡ همچون این مثال، خط دوم هر مرجع Ú©Ù…ÛŒ جلوتر برده شود Ùایل \lr{mybib.sty} را با دستور \lr{usepackage} پس از زی‌پرشین Ùراخوانی نمایید.
+\item در مرجع \cite{Baker02limits}ØŒ Ùیلد \lr{authorfa} را نداریم، اسامی به صورت لاتین Ùˆ برعکس نوشته شده‌اند Ùˆ سال هم به Ùارسی نوشته شده است. اگر آنرا به صورت لاتین می‌خواهید، در نسخه‌های جدید زی‌پرشین Ùˆ \lr{bidi} می‌توانید به راحتی از دستور \lr{Latincite} استÙاده کنید.
+حالا مرجع \Latincite{Baker02limits} درست نمایش داده می‌شود. از دستور Ùوق‌الذکر برای درج شماره مراجع به صورت لاتین در متن نیز می‌توان استÙاده نمود. اگر مایل باشید از دیگر دستورات ارجاع مانند citealp استÙاده کنید باید آنرا به صورت زیربکار ببرید:
+\begin{latin} \LRE{\verb+\LRE{\lr{\citealp{referenceTag}}}+} \end{latin}
+%\newcommand\LRcite[1]{\LRE{\lr{\cite{#1}}}}
+
+\item
+در طبقه نوشتاری
+\lr{biditufte-book}
+ از سبک‌های
+\lr{plainnat-fa}، \lr{chicago-fa} و \lr{asa-fa}
+و دستورات
+\verb!\LTRcite{}!
+Ùˆ
+\verb!\RTLcite{}!
+ استÙاده Ùرمایید.
+
+\item برای گزارش مشکل به سایت پرسش و پاسخ پارسی‌لاتک
+ (\url{http://qa.parsilatex.com})
+ مراجعه Ùرمایید.
+
+\end{itemize}
+
+\section{مراجع Ùارسی در اسناد لاتین}
+برای داشتن مراجع Ùارسی در اسناد لاتین می‌توانید از سبک‌های
+\lr{plain-fa-inLTR}
+Ùˆ
+\lr{plain-fa-inLTR-beamer}
+استÙاده Ùرمایید. از آنجا Ú©Ù‡ به احتمال زیاد کاربران این بخش با زبان انگلیسی راحت‌تر هستند، نحوه استÙاده از آن به انگلیسی بیان می‌شود.
+\begin{latin}
+Suppose that you want to have Persian or Arabic references in your Left-to-Right document. In this case plain-fa-inLTR.bst in Persian-bib package is the right solution.
+You should insert the following codes in the premable of your document and use a the aforementioned style in your documnet:
+
+\begin{lstlisting}[language=tex,breaklines=true, basicstyle=\ttfamily, numberstyle=\footnotesize, numbersep=10pt, captionpos=b, frame=single, breakatwhitespace=false]
+\usepackage{fontspec}
+\newfontfamily\Persianfont[Script=Arabic,Scale=1]{A font with Persian glifs such az XB Zar}
+\makeatletter
+\TeXXeTstate=1
+\def\Persiantext#1{\begingroup\beginR\Persianfont#1\endR\endgroup}
+\makeatother
+\end{lstlisting}
+
+Note that the encoding of your .bib file should be UTF-8. As you know, your bibliography section should be as follow:
+\begin{verbatim}
+\bibliographystyle{plain-fa-inLTR}
+\bibliography{SomeReferences}
+\end{verbatim}
+
+If you have Persian references in your beamer presentation, please use `plain-fa-inLTR-beamer' and insert the following code in the premable of your document:
+
+\begin{lstlisting}[language=tex,breaklines=true, basicstyle=\ttfamily, numberstyle=\footnotesize, numbersep=10pt, captionpos=b, frame=single, breakatwhitespace=false]
+\usepackage{fontspec}
+\newfontfamily\Persianfont[Script=Arabic,Scale=1]{A font with Persian glifs such az XB Zar}
+\makeatletter
+\TeXXeTstate=1
+\def\Persiantext#1{\begingroup\beginR\Persianfont#1\hfill\endR\endgroup}
+\def\newRAblock#1{#1\hfill}
+\makeatother\end{lstlisting}
+%
+
+\end{latin}
+
+\section{پرسش و پاسخ}
+\begin{question}
+ آیا برای داشتن مراجع، استÙاده از استیلهای Ùارسی الزامی است؟
+\end{question}
+\answer
+هم بله Ùˆ هم خیر. استیلهای Ùارسی کارهای مختلÙÛŒ انجام می‌دهند؛ به جز استÙاده از معادل Ùارسی برخی اصطلاحات، دستورات موردنیاز را در جای مناسب خود درج می‌کنند. در \lr{bidi} دستورات خاصی برای مراجع در محیطهای راست به Ú†Ù¾ Ùˆ Ú†Ù¾ به راست وجود دارند Ú©Ù‡ برای آشنایی با آنها باید به راهنمای این سبک مراجعه شود. از جمله این موارد، محیط \lr{LTRbibitems} است Ú©Ù‡ برای درج مراجع لاتین در یک محیط راست به Ú†Ù¾ استÙاده می‌شود Ùˆ در استیلهای Ùارسی از آن استÙاده شده است. اگر از استیلهای Ùارسی استÙاده نکنید، وظیÙÙ‡ درج این دستورات به عهده خود شما خواهد بود.
+
+\begin{question} آیا می‌توان شماره صÙحات ارجاعی به هر مرجع را در انتهای هر مرجع داشت؟ این حالت مخصوصاً هنگام‌ داوری یک مقاله یا پروژه
+خیلی Ù…Ùید است.
+\end{question}
+\answer
+بله، با دو روش:
+\begin{enumerate}
+\item
+اگر از بستهٔ \lr{hyperref} استÙاده می‌کنید کاÙیست آنرا با گزینهٔ \lr{pagebackref=true} Ùراخوانی نمایید.
+\item
+با استÙاده از بسته‌ی \lr{backref} نیز می‌توان این کار را انجام داد.
+\end{enumerate}
+
+\begin{question} گاهی اوقات اخطار \lr{Underfull \SLASH hbox} را دریاÙت می‌کنیم. مشکل از چیست؟ \end{question}
+\answer در برخی حالات به دلیل عدم توانایی تک در تنظیم بهینه‌ی محل شکستن خطوط این اخطار داده می‌شود که مهم نیست.
+
+\begin{question} چرا به جای خط Ùاصله در بین شماره صÙحات مراجع Ùارسی یک مربع چاپ می‌شود؟ \end{question}
+\answer شما از Ùونت‌ مناسبی برای Ùارسی استÙاده نکرده‌اید. از Ùونت‌های مانند Ùونت‌های سری \lr{XB} استÙاده نمایید.
+
+\begin{question} چرا در سبک \lr{ieeetr-fa} شماره‌ی مجله (\lr{number}) در مراجع از نوع \lr{article} نمایش داده نمی‌شود؟ \end{question}
+\answer در سبک اصلی \lr{ieeetr} اگر ماه نشر مجله مشخص باشد، شماره‌ی آن نمایش داده نخواهد شد.
+ همچنین دقت داشته باشید که این سبک کاملاً مطابق با سبک جدید \lr{IEEEtran} نیست.
+
+\begin{question} حرو٠Ùارسی در لیست مراجع من به‌هم ریخته Ùˆ ناخوانا است. مشکل از چیست؟ \end{question}
+\answer همان‌گونه Ú©Ù‡ قبلاً اشاره شد Ùایل \lr{bib} بایستی با رمزینه‌ی \lr{UTF-8} ذخیره شده باشد. به جای ایجاد Ùایل \lr{bib} جدید برای خود،
+Ùایل \lr{MyReferences.bib} را Ú©Ù‡ با رمزینه‌ی \lr{UTF-8} ذخیره شده است را تغییر داده در صورت نیاز با نامی دیگر ذخیره نمایید.
+
+\begin{question} عبارت \lr{OPT} Ú©Ù‡ در \lr{TeXMaker} در ابتدای نام برخی از Ùیلدها گذاشته می‌شود چیست؟ \end{question}
+\answer این عبارت به منزله‌ٔ اختیاری بودن آن Ùیلد است. اگر از آن Ùیلد استÙاده می‌کنید باید \lr{OPT} را حذ٠کنید.
+
+\begin{question} چرا در هنگام استÙاده از دستورات \lr{\SLASH Persian} Ùˆ \lr{\SLASH Latin} با خطا مواجه می‌شوم؟ \end{question}
+\answer این دستورات منسوخ شده Ùˆ در نسخه‌‌ی Ùعلی زی‌پرشین پشتیبانی نمی‌شوند. محیط پیش Ùرض مراجع، Ùارسی است Ùˆ برای درج مراجع لاتین باید آنرا داخل محیط \lr{LTRbibitems} قرار دهید.
+
+\begin{question} اگر خواسته باشیم شماره مراجع لاتین در بخش مراجع، Ùارسی باشد چکار کنیم؟ \end{question}
+\answer برای این منظور کاÙیست دستور \lr{\SLASH resetlatinfont} را به پس از \lr{\SLASH bibitem} منتقل کنید.
+ استیلهای Ùارسی Ùعلی به نحوی آماده شده‌اند Ú©Ù‡ شماره مراجع لاتین به انگلیسی Ùˆ شماره مراجع Ùارسی به Ùارسی ظاهر می‌شود Ùˆ اگر خواسته باشید این کار را انجام دهید باید تغییر Ùوق‌الذکر را به صورت دستی در Ùایل \lr{bbl} خود اعمال نمایید (Ú©Ù‡ البته با اجرای \lr{bibtex} بعدی از بین خواهند رÙت).
+\begin{question} اگر خواسته باشیم شماره مراجع لاتین در داخل متن، انگلیسی باشد چکار کنیم؟ \end{question}
+\answer به جای دستور \lr{\SLASH cite} از دستور \lr{\SLASH Latincite} استÙاده کنید.
+
+\begin{question} اگر هنگامی‌که به چندین مرجع پشت سر هم ارجاع می‌دهیم خواسته باشیم به صورت خودکار شماره مراجع اولی و آخری با یک خط تیره از هم جدا شوند چه کنیم؟
+(به عبارت دیگر مایلیم [۲و۳و۴و۵و۶] به صورت [۲-۶] نمایش داده شود).
+ \end{question}
+\answer اگر از بسته‌ی \lr{natbib} استÙاده می‌کنید، آنرا به همراه گزینه‌ی \lr{sort\&compress} بکار ببرید. درغیر این‌صورت از بسته‌ی \lr{cite} استÙاده کنید.
+
+\begin{question} آیا ابزاری برای مدیریت مراجع وجود دارد که از قالب نوشتن مراجع در \lr{Bib\TeX} پشتیبانی کند؟ \end{question}
+\answer بله، بسیاری از نرم‌اÙزارهای مدیریت مراجع قادر به \lr{import} Ùˆ \lr{export} کردن مراجع به Ùرم مورد نیاز \lr{Bib\TeX} هستند. یک نمونه نرم‌اÙزار مجانی مدیریت مراجع \lr{Mendeley\LTRfootnote{\url{http://www.Mendeley.com}}} است Ú©Ù‡ امکانات بسیار خوبی برای مدیریت مراجع دارد.
+
+\begin{question} وقتی از یکی از چهار استیل \lr{usrt-fa}ØŒ\lr{plain-fa}ØŒ \lr{acm-fa} Ùˆ یا \lr{ieeetr-fa} را با همین سند بکار می‌برم خطا دریاÙت می‌کنم. علت چیست؟
+ \end{question}
+\answer استیل استÙاده شده در این Ùایل راهنما، \lr{asa-fa} است Ú©Ù‡ نیاز به بسته‌ی \lr{natbib} دارد، درحالیکه برای استÙاده از چهار استیل مذکور نباید این بسته را Ùراخوانی نمود.
+
+\begin{question} چگونه می‌توانم هنگامی‌که از بسته‌ی \lr{natbib} استÙاده می‌کنم مراجع را نیز شماره‌گذاری نمایم؟
+ \end{question}
+\answer بسته‌ی \lr{natbib} را با گزینه‌ی \lr{numbers} Ùراخوانی نمایید.
+
+
+
+\begin{question}اگر سند من Ùارسی Ùˆ مراجع من انگلیسی باشد Ùˆ قصد از استیلهای انگلیسی استÙاده داشته باشم چگونه عمل کنم؟
+ \end{question}
+\answer
+\begin{LTR}
+\begin{verbatim}
+ \setLTRbibitems
+ \makeatletter
+ \bidi@AtBeginEnvironment{thebibliography}{\latinfont}
+ \makeatother
+ \bibliographystyle{STYLE_FILE_NAME} % such as plain
+ \bibliography{BIB_FILE_NAME} %such as MyReferences
+\end{verbatim}
+\end{LTR}
+
+\begin{question} آخرین نسخه‌های استیلهای Ùارسی را از کجا تهیه کنیم؟
+ \end{question}
+\answer آخرین نسخه‌ی پایدار استیلهای Ùارسی با دانلود بسته‌ی \lr{Persian-bib} از آدرس:\\
+\lr{\url{http://mirror.ctan.org/biblio/bibtex/contrib/persian-bib.zip}\hfill}\\
+ قابل استÙاده است. آخرین نسخه‌ی در دست توسعه‌ی این استیلها نیز از سایت زیر قابل برداشت است:\\ \lr{\url{https://bitbucket.org/mamintoosi/persian-bib/}\hfill}
+
+\section*{قدردانی}
+در اینجا لازم است از آقای \textcolor{blue}{ÙˆÙا خلیقی} به خاطر زحمات بسیار ایشان در تولید بستهٔ \XePersianØŒ نگهداری از بستهٔ \lr{bidi} Ùˆ پاسخگویی به سؤالات بسیار کاربران Ùˆ آقایان دکتر مهدی امیدعلی Ùˆ مصطÙÛŒ واحدی Ú©Ù‡ با تلاشهای خود روحی تازه در کالبد لاتک Ùارسی دمیدند تشکر نمایم. همچنین از سایر دوستانمان مخصوصاً آقایان وحید دامن‌اÙشان، Ùرشاد ترابی، هادی صÙی‌اقدم، سیداحمد موسوی، ابوالÙضل دیانت، امیرمسعود پورموسی Ùˆ سیدرضی علوی‌زاده، Ú©Ù‡ زحمات زیادی در سایت پارسی‌لاتک Ùˆ در جهت توسعه‌ی زی‌پرشین کشیدند قدردانی می‌نمایم. از جناب عینیان نیز برای نکته مربوط به زیرنویس نام لاتین نویسندگان سپاس‌گزاری می‌کنم.
+
+\bibliographystyle{asa-fa}%{chicago-fa}%{plainnat-fa}%
+\bibliography{MyReferences}
+
+\end{document} \ No newline at end of file
diff --git a/biblio/bibtex/contrib/persian-bib/README b/biblio/bibtex/contrib/persian-bib/README
new file mode 100644
index 0000000000..3c581fca81
--- /dev/null
+++ b/biblio/bibtex/contrib/persian-bib/README
@@ -0,0 +1,58 @@
+Persian-bib, V0.9 2015/05/09
+Persian translations of some BibTeX styles
+Author: Mahmood Amintoosi, http://profs.hsu.ac.ir/mamintoosi
+Copyright © 2009–2016
+It may be distributed and/or modified under the LaTeX Project Public License,
+version 1.3c or higher (your choice). The latest version of
+this license is at: http://www.latex-project.org/lppl.txt
+
+This work is “author-maintained” (as per LPPL maintenance status)
+by Mahmood Amintoosi
+------------------------------------------------------------------------------
+
+These files are Persian translations of some of the classical BibTeX style files.
+Unlike bib-fr package which can be used only for French references, the Persian
+.bst files simultaneously handle both Latin and Persian references.
+
+File 'cp1256fa.csf' is prepared for correct sorting of Persian references and
+three fields named 'LANGUAGE', 'TRANSLATOR' and 'AUTHORFA' are defined. This
+file has a bit modification with respect to its previous version (0.6) according
+to PersianAcademy: http://www.persianacademy.ir
+
+Setting 'LNAGUAGE' to 'Persian' makes the reference direction Left-to-Right and
+makes BibTeX to use Persian translations of keywords such as 'et al.'.
+Also some other modifications has been done. for example in Persian references,
+instead of Latin references, the book edition appears before the edition number.
+If this field is omitted or contains a word other than 'Persian', the reference
+considered as Left-to-Right reference.
+
+'TRANSLATOR' field is used when a reference is translated by someone.
+His or her name appears in the reference in the proper location.
+
+'AUTHORFA' is used with Asa-fa.bst, chicago-fa.bst and plainnat-fa.bst.
+The user should mention the Persian equivalent of the author(s) name(S),
+for proper referencing in the text. If this field is omitted, the original
+author name, in 'AUTHOR' will be used.
+
+Currently 7 files unsrt-fa.bst, acm-fa.bst, ieeetr-fa.bst, plain-fa.bst,
+Asa-fa.bst, chicago-fa.bst and plainnat-fa.bst are modified for Persian
+documents prepared with XePersian (a Persian typesetting package over XeTeX).
+Hence this package is dependent to XePersian Package.
+
+Current Persian bst files work fine with hyperref and natbib packages.
+
+Persian translations of key-words such as 'et al.' can be changed with other
+translations.
+If you modify anything, however, please change the name of the file.
+
+Change Log:
+Version 0.8 : two other styles 'plain-fa-inLTR' and 'plain-fa-inLTR-beamer'
+are added to the package. These styles are prepared for inserting Persian
+references in LTR documents which are dependent to bidi package.
+
+Version 0.9: Debug plain*.bst styles: change "ed. " -> "edition",
+"vol" -> "volume" or "Volume, "p."->"page", "pp."->"pages" and some others.
+
+Mahmood Amintoosi <m.amintoosi@gmail.com>
+http://profs.hsu.ac.ir/mamintoosi
+http://www.parsilatex.com/ \ No newline at end of file
diff --git a/biblio/bibtex/contrib/persian-bib/acm-fa.bst b/biblio/bibtex/contrib/persian-bib/acm-fa.bst
new file mode 100644
index 0000000000..6b6a799d46
--- /dev/null
+++ b/biblio/bibtex/contrib/persian-bib/acm-fa.bst
@@ -0,0 +1,1435 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Bib. style "acm-fa", Persian (farsi) version of acm.bst
+%%
+%% by: Mahmood Amintoosi and Mostafa Vahedi, m.amintoosi@gmail.com
+%% For XePersian, a Persian Typesetting Package in XeTeX
+%% It may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License (version 1.3c),
+%% either this version of this license or (at your option) any later version.
+%%
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% Original Copyright of acm.bst
+
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ language
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ translator
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {is.print.banners.to.terminal} { #1 }
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% FILE VERSION AND BANNER %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION{bst.file.version} { "0.9" }
+FUNCTION{bst.file.date} { "2015/05/09" }
+FUNCTION{bst.file.website} { "http://www.parsilatex.com" }
+FUNCTION{bst.file.authors} {"M.Amintoosi and M.Vahedi" }
+
+FUNCTION {banner.message}
+{ is.print.banners.to.terminal
+ { "-- acm-fa.bst version" " " * bst.file.version *
+ " (" * bst.file.date * ") " * %"by " * bst.file.authors *
+ top$
+ "-- This is a BibTeX style for XePersian: " bst.file.website *
+ %top$
+ %"-- See the " quote$ * "Persian-bib-userguide.pdf" * quote$ * " manual for usage information." *
+ top$
+ }
+ { skip$ }
+ if$
+}
+
+FUNCTION {completed.message}
+{ is.print.banners.to.terminal
+ { ""
+ top$
+ "Done."
+ top$
+ }
+ { skip$ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Persian Functions %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+FUNCTION {fa.isPersianLanguage}
+{
+ language missing$
+ {#0}
+ {language "l" change.case$ "persian" =}
+ if$
+}
+
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The languages selected here is ENGLISH and Farsi
+FUNCTION {bbl.and}
+{
+ fa.isPersianLanguage
+ {" Ùˆ "}
+ {" and "}
+ if$
+}
+
+FUNCTION {bbl.editors}
+{
+fa.isPersianLanguage
+ { " ویراستاران "}
+ {" eds. "}
+if$
+}
+
+FUNCTION {bbl.editor}
+{
+fa.isPersianLanguage
+ { " ویراستار "}
+ {" ed. " }
+if$
+}
+
+FUNCTION {bbl.edby}
+{
+fa.isPersianLanguage
+ { " ویراسته‌ی "}
+ { " edited by " }
+if$
+}
+
+FUNCTION {bbl.edition}
+{
+fa.isPersianLanguage
+ {" ویرایش "}
+ {" ed. " }
+if$
+}
+
+FUNCTION {bbl.volume}
+{
+fa.isPersianLanguage
+ {" جلد "}
+ { " vol."}
+if$
+}
+
+FUNCTION {bbl.of}
+{
+fa.isPersianLanguage
+ { " از "}
+ { " of " }
+if$
+}
+
+FUNCTION {bbl.number}
+{
+fa.isPersianLanguage
+ {" شماره " }
+ { " no." }
+if$
+}
+
+FUNCTION {bbl.nr}
+{
+fa.isPersianLanguage
+ {" شماره "}
+ { " no." }
+if$
+}
+
+FUNCTION {bbl.in}
+{
+fa.isPersianLanguage
+ {" در "}
+ { " in " }
+if$
+}
+
+FUNCTION {bbl.pages}
+{
+fa.isPersianLanguage
+ {" صÙحات "}
+ { " pp." }
+if$
+}
+
+FUNCTION {bbl.page}
+{
+fa.isPersianLanguage
+ {" ص." }
+ { " p." }
+if$
+}
+
+FUNCTION {bbl.chapter}
+{
+fa.isPersianLanguage
+ { " Ùصل " }
+ {" chap." }
+if$
+}
+
+FUNCTION {bbl.techrep}
+{
+fa.isPersianLanguage
+ { " گزارش طرح تحقیقی"}
+ { " Tech. Rep." }
+if$
+}
+
+FUNCTION {bbl.mthesis}
+{
+fa.isPersianLanguage
+ {" پایان‌نامه کارشناسی‌ارشد"}
+ { " Master's thesis" }
+if$
+}
+
+FUNCTION {bbl.phdthesis}
+{
+fa.isPersianLanguage
+ {" پایان‌نامه دکترا" }
+ { " Ph.D. thesis" }
+if$
+}
+
+FUNCTION {bbl.etal}
+{
+ fa.isPersianLanguage
+ {" و دیگران"}
+ {" et~al."}
+ if$
+}
+
+FUNCTION {bbl.translator}
+{
+ fa.isPersianLanguage
+ {"ترجمه‌ی "}
+ {"Translator "}
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% End of Persian Functions %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+{ add.period$ write$
+ newline$
+ "\newblock " write$
+}
+{ output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+}
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{
+ newline$
+ fa.isPersianLanguage
+ { skip$ }
+ {
+ "\begin{LTRbibitems}" write$
+ newline$
+ "\resetlatinfont " write$
+ }
+ if$
+ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+ fa.isPersianLanguage
+ {skip$}
+ { newline$
+ "\end{LTRbibitems}" write$
+ newline$
+ }
+ if$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+'skip$
+{ after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {emphasizeic}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "\/}" * }
+ if$
+}
+
+FUNCTION {scapify}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textsc{ " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {fa.isPersianLanguage
+ { s nameptr "{vv~}{ll}{, jj}{, ff}" format.name$ 't :=}
+ { s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't :=}
+ if$
+ nameptr #1 >
+{ namesleft #1 >
+ { ", " * t * }
+ { t "others" =
+{ "," bbl.etal * * }
+{ "," bbl.and * * t * }
+ if$
+ }
+ if$
+}
+'t
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.innames}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {fa.isPersianLanguage
+ {s nameptr "{ff}{vv~}{ll}{, jj}" format.name$ 't :=}
+ {s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=}
+ if$
+ nameptr #1 >
+{ namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+{ "," * }
+'skip$
+ if$
+ t "others" =
+{ bbl.etal * }
+{ bbl.and * t * }
+ if$
+ }
+ if$
+}
+'t
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names scapify}
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { fa.isPersianLanguage
+ {
+editor num.names$ #1 >
+{bbl.editors editor format.names * }
+{bbl.editor editor format.names * }
+if$
+}
+{
+ editor format.names scapify
+editor num.names$ #1 >
+{ ", " bbl.editors * *}
+{ ", " bbl.editor * *}
+if$
+}
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.ineditors}
+{ editor empty$
+ { "" }
+ { editor format.innames
+ editor num.names$ #1 >
+{ ", " * bbl.editors *}
+{ ", " * bbl.editor *}
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.translators}
+{ translator empty$
+ { "" }
+ { fa.isPersianLanguage
+ {
+bbl.translator translator format.names *
+}
+{
+ translator format.names
+", " bbl.translator * *
+}
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+{ t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+{ "-" *
+ t #2 global.max$ substring$ 't :=
+}
+ while$
+ }
+ if$
+}
+{ t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+}
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+{ "" }
+{ "there's a month but no year in " cite$ * warning$
+ month
+}
+ if$
+ }
+ { month empty$
+'year
+{ month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+'skip$
+{ " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+{ series field.or.null }
+{ output.state mid.sentence =
+ { bbl.number }
+ { bbl.number "t" change.case$ }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { bbl.in * series * }
+ if$
+}
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { fa.isPersianLanguage
+ {
+ bbl.edition edition *
+}
+{
+ output.state mid.sentence =
+ { edition "l" change.case$ bbl.edition * }
+ { edition "t" change.case$ bbl.edition * }
+ if$
+}
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages n.dashify }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+{ #1 'multiresult := }
+{ t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pp.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { bbl.pages pages n.dashify tie.or.space.connect }
+ { bbl.page pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.journal.vol.num.date}
+{ journal empty$
+ { "empty journal in " cite$ * warning$
+ ""
+ }
+ { journal
+ volume empty$
+'skip$
+{ " " * volume * }
+ if$
+ number empty$
+'emphasizeic
+{ emphasize ", " * number * }
+ if$
+ year empty$
+{ "empty year in " cite$ * warning$ }
+{ " (" * format.date * ")" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pp.pages
+ { type empty$
+{ bbl.chapter }
+{ type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+'skip$
+{ ", " * format.pp.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{
+ booktitle empty$
+ { "" }
+ {bbl.in booktitle emphasize *
+ editor empty$
+'skip$
+{ ", " * format.ineditors * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.proc.date}
+{ duplicate$ empty$
+ { pop$ "" }
+ { year empty$
+{ "empty year in " cite$ * warning$
+ address empty$
+ 'emphasize
+ { emphasizeic
+ " (" * address * ")" *
+ }
+ if$
+}
+{ emphasizeic
+ " (" *
+ address empty$
+ 'skip$
+ { address * ", " * }
+ if$
+ format.date *
+ ")" *
+}
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.proc.date}
+{ booktitle empty$
+ { "" }
+ { bbl.in booktitle format.proc.date * }
+ if$
+}
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { bbl.techrep }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+{ "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+}
+{ bbl.in "{\em " * journal * "\/}" * }
+ if$
+ }
+ { bbl.in key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$ #2 >
+ { pop$ bbl.etal * }
+ { #2 < 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { bbl.etal * }
+ { bbl.and * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ bbl.in
+ }
+ { bbl.volume volume tie.or.space.connect
+ bbl.of *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+{ series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+}
+{ key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+{ booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { bbl.in " {\em " * booktitle * "\/}" * }
+ if$
+}
+{ bbl.in key * }
+ if$
+ }
+ { bbl.in format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.journal.vol.num.date output
+ format.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pp.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ fa.isPersianLanguage
+ {
+ format.authors output
+ new.block
+ format.btitle "title" output.check
+ format.edition output
+ new.block
+ format.translators output
+ format.editors output
+ }
+ { author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.edition output
+ }
+ if$
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.edition output
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ {
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.date "year" output.check
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.edition output
+ format.bvolume output
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ }
+ if$
+ format.chapter.pages output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.proc.date "booktitle" output.check
+ format.ineditors output
+ format.bvolume output
+ format.number.series output
+ organization output
+ publisher output
+}
+ { format.incoll.inproc.crossref output.nonnull }
+ if$
+ format.pp.pages output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization scapify output }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.edition output
+ author empty$
+{ address new.block.checka }
+ { organization address new.block.checkb
+ organization output
+ }
+ if$
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ bbl.mthesis
+ format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ bbl.phdthesis
+ format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization scapify output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ title format.proc.date "title" output.check
+ format.bvolume output
+ format.number.series output
+ editor empty$
+'skip$
+{ organization output }
+ if$
+ publisher output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Programming"}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Gr."}
+
+MACRO {toms} {"ACM Trans. Math. Softw."}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Program. Lang. Syst."}
+
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+READ
+
+FUNCTION {sortify}
+{
+ fa.isPersianLanguage
+ { "l" change.case$}
+ {purify$ "l" change.case$}
+ if$
+ %duplicate$ write$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { bbl.etal * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+{ key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+}
+{ editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+{ key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+}
+{ "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+{ key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+}
+{ "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+'editor.organization.sort
+{ type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+}
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {banner.message}
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{
+ "% Generated by acm-fa.bst, version: " bst.file.version * " (" * bst.file.date * "), for XePersian Package" *
+ write$ newline$
+ "% Authors: " bst.file.authors *
+ write$ newline$
+ "\providecommand{\noopsort}[1]{}"
+ write$ newline$
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+EXECUTE{completed.message}
diff --git a/biblio/bibtex/contrib/persian-bib/asa-fa.bst b/biblio/bibtex/contrib/persian-bib/asa-fa.bst
new file mode 100644
index 0000000000..d52f9be82b
--- /dev/null
+++ b/biblio/bibtex/contrib/persian-bib/asa-fa.bst
@@ -0,0 +1,1774 @@
+%% This is file `asa-fa.bst',
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Bib. style "asa-fa", Persian (farsi) version of asa.bst
+%%
+%% by: Mahmood Amintoosi, m.amintoosi@gmail.com, www.parsilatex.com
+%% For XePersian, a Persian Typesetting Package in XeTeX
+%% It may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License (version 1.3c),
+%% either this version of this license or (at your option) any later version.
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%% Original Copyright
+
+%% ----------------------------------------
+%% *** BibTeX Style for ASA Journals ***
+%% (Brett Presnell, 24 August 1998)
+%%
+ %-------------------------------------------------------------------
+ % The original source file contains the following version information:
+ % \ProvidesFile{merlin.mbs}[1998/02/25 3.85a (PWD)]
+ %
+ % NOTICE:
+ % This file may be used for non-profit purposes.
+ % It may not be distributed in exchange for money,
+ % other than distribution costs.
+ %
+ % The author provides it `as is' and does not guarantee it in any way.
+ %
+ % Copyright (C) 1994-98 Patrick W. Daly
+ %-------------------------------------------------------------------
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is natbib.sty by Patrick W. Daly
+ % The form of the \bibitem entries is
+ % \bibitem[Jones et al.(1990)]{key}...
+ % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
+ % The essential feature is that the label (the part in brackets) consists
+ % of the author names, as they should appear in the citation, with the year
+ % in parentheses following. There must be no space before the opening
+ % parenthesis!
+ % With natbib v5.3, a full list of authors may also follow the year.
+ % In natbib.sty, it is possible to define the type of enclosures that is
+ % really wanted (brackets or parentheses), but in either case, there must
+ % be parentheses in the label.
+ % The \cite command functions as follows:
+ % \citet{key} ==>> Jones et al. (1990)
+ % \citet*{key} ==>> Jones, Baker, and Smith (1990)
+ % \citep{key} ==>> (Jones et al., 1990)
+ % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
+ % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
+ % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
+ % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
+ % \citeauthor{key} ==>> Jones et al.
+ % \citeauthor*{key} ==>> Jones, Baker, and Smith
+ % \citeyear{key} ==>> 1990
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ author
+ authorfa
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ language
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ translator
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block fa.isInLabel}
+% fa.isInLabel is set in format.lab.names
+
+FUNCTION {is.print.banners.to.terminal} { #1 }
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% FILE VERSION AND BANNER %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION{bst.file.version} { "0.9" }
+FUNCTION{bst.file.date} { "2015/05/09" }
+FUNCTION{bst.file.website} { "http://www.parsilatex.com" }
+FUNCTION{bst.file.authors} {"M.Amintoosi" }
+
+FUNCTION {banner.message}
+{ is.print.banners.to.terminal
+ { "-- asa-fa.bst version" " " * bst.file.version *
+ " (" * bst.file.date * ") " * %"by " * bst.file.authors *
+ top$
+ "-- This is a BibTeX style for XePersian: " bst.file.website *
+ %top$
+ %"-- See the " quote$ * "Persian-bib-userguide.pdf" * quote$ * " manual for usage information." *
+ top$
+ }
+ { skip$ }
+ if$
+}
+
+FUNCTION {completed.message}
+{ is.print.banners.to.terminal
+ { ""
+ top$
+ "Done."
+ top$
+ }
+ { skip$ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Persian Functions %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+FUNCTION {fa.isPersianLanguage}
+{
+ language missing$
+ {#0}
+ {language "l" change.case$ "persian" =}
+ if$
+}
+
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The languages selected here is ENGLISH and Farsi
+FUNCTION {bbl.and}
+{
+fa.isInLabel
+{" Ùˆ "}% If authorfa exists
+{
+ fa.isPersianLanguage
+ {" Ùˆ "}
+ {" and "}
+ if$
+}
+if$
+}
+
+FUNCTION {bbl.editors}
+{
+fa.isPersianLanguage
+ { "ویراستاران"}
+ { "eds."}
+if$
+}
+
+FUNCTION {bbl.editor}
+{
+fa.isPersianLanguage
+ { "ویراستار"}
+ { "ed." }
+if$
+}
+
+FUNCTION {bbl.edby}
+{
+fa.isPersianLanguage
+ { " ویراسته‌ی "}
+ { " edited by " }
+if$
+}
+
+FUNCTION {bbl.edition}
+{
+fa.isPersianLanguage
+ {" ویرایش "}
+ {" ed. " }
+if$
+}
+
+FUNCTION {bbl.volume}
+{
+fa.isPersianLanguage
+ {" جلد "}
+ { " vol."}
+if$
+}
+
+FUNCTION {bbl.of}
+{
+fa.isPersianLanguage
+ { " از "}
+ { " of " }
+if$
+}
+
+FUNCTION {bbl.number}
+{
+fa.isPersianLanguage
+ {" شماره " }
+ { " no." }
+if$
+}
+
+FUNCTION {bbl.nr}
+{
+fa.isPersianLanguage
+ {" شماره "}
+ { " no." }
+if$
+}
+
+FUNCTION {bbl.in}
+{
+fa.isPersianLanguage
+ {" در "}
+ { " in " }
+if$
+}
+
+FUNCTION {bbl.pages}
+{
+fa.isPersianLanguage
+ {" صÙحات "}
+ { " pp." }
+if$
+}
+
+FUNCTION {bbl.page}
+{
+fa.isPersianLanguage
+ {" ص." }
+ { " p." }
+if$
+}
+
+FUNCTION {bbl.chapter}
+{
+fa.isPersianLanguage
+ { " Ùصل " }
+ {" chap." }
+if$
+}
+
+FUNCTION {bbl.techrep}
+{
+fa.isPersianLanguage
+ { " گزارش طرح تحقیقی"}
+ { " Tech. Rep." }
+if$
+}
+
+FUNCTION {bbl.mthesis}
+{
+fa.isPersianLanguage
+ {" پایان‌نامه کارشناسی‌ارشد"}
+ { " Master's thesis" }
+if$
+}
+
+FUNCTION {bbl.phdthesis}
+{
+fa.isPersianLanguage
+ {" پایان‌نامه دکترا" }
+ { " Ph.D. thesis" }
+if$
+}
+
+FUNCTION {bbl.first}
+{ "1st" }
+
+FUNCTION {bbl.second}
+{ "2nd" }
+
+FUNCTION {bbl.third}
+{ "3rd" }
+
+FUNCTION {bbl.fourth}
+{ "4th" }
+
+FUNCTION {bbl.fifth}
+{ "5th" }
+
+FUNCTION {bbl.st}
+{ "st" }
+
+FUNCTION {bbl.nd}
+{ "nd" }
+
+FUNCTION {bbl.rd}
+{ "rd" }
+
+FUNCTION {bbl.th}
+{ "th" }
+
+% Added by M.Amintoosi
+FUNCTION {bbl.etal}
+{
+fa.isInLabel
+{" و دیگران"}% If authorfa exists
+{
+ fa.isPersianLanguage
+ {" و دیگران"}
+ {" et~al."}
+ if$
+}
+if$
+}
+
+FUNCTION {bbl.translator}
+{
+fa.isPersianLanguage
+ { " ترجمه‌ی "}
+ {" Translated by "}
+if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% End of Persian Functions %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+ fa.isPersianLanguage
+ {skip$}
+ { newline$
+ "\end{LTRbibitems}" write$
+ newline$
+ }
+ if$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ skip$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {non.stop}
+{ duplicate$
+ "}" * add.period$
+ #-1 #1 substring$ "." =
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textit{" swap$ * "}" * }
+ if$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"Jun."}
+
+MACRO {jul} {"Jul."}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sep."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+FUNCTION {eng.ord}
+{ duplicate$ "1" swap$ *
+ #-2 #1 substring$ "1" =
+ { bbl.th * }
+ { duplicate$ #-1 #1 substring$
+ duplicate$ "1" =
+ { pop$ bbl.st * }
+ { duplicate$ "2" =
+ { pop$ bbl.nd * }
+ { "3" =
+ { bbl.rd * }
+ { bbl.th * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {
+ fa.isPersianLanguage
+ {s nameptr "{vv~}{ll}{, jj}{, ff}" format.name$ 't := }
+ {s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't := }
+ if$
+
+
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ bbl.etal *
+ }
+ { bbl.and space.word * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+FUNCTION {format.names.ed}
+{ format.names }
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ {
+ fa.isPersianLanguage
+ {
+ editor num.names$ #1 >
+ { " (" bbl.editors * ")" * editor format.names *}
+ { " (" bbl.editor * ")" * editor format.names *}
+ if$
+ }
+ { editor format.names
+ editor num.names$ #1 >
+ { " (" * bbl.editors * ")" * }
+ { " (" * bbl.editor * ")" * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.translators}
+{ translator empty$
+ { "" }
+ { fa.isPersianLanguage
+ {
+ bbl.translator translator format.names *
+ }
+ {
+ translator format.names
+ bbl.translator *
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.editors}
+{ editor empty$
+ { "" }
+ { editor format.names.ed
+ }
+ if$
+}
+
+FUNCTION {format.note}
+{ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ *
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title
+ fa.isPersianLanguage
+ {"\faquote{" swap$ *}
+ {"\enquote{" swap$ *}
+ if$
+ non.stop
+ { ",} " * }
+ { "} " * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {end.quote.title}
+{ title empty$
+ 'skip$
+ { before.all 'output.state := }
+ if$
+}
+
+FUNCTION {format.full.names}
+{'s :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ bbl.etal *
+ }
+ { bbl.and space.word * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.key.full}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.key.full}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.key.full}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.full
+ { type$ "proceedings" =
+ 'editor.key.full
+ 'author.key.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{
+ #0 'fa.isInLabel := %Initialize fa.isInLabel
+ newline$
+ fa.isPersianLanguage
+ { skip$ }
+ {
+ "\begin{LTRbibitems}" write$
+ newline$
+ "\resetlatinfont " write$
+ }
+ if$
+ newline$
+ "\bibitem[{" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "}]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in
+ " " * }
+
+FUNCTION {format.date}
+{ year duplicate$ empty$
+ { "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????" }
+ 'skip$
+ if$
+ extra.label *
+ before.all 'output.state :=
+ " (" swap$ * ")" *
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { bbl.of space.word * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { bbl.in space.word * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+FUNCTION {convert.edition}
+{ edition extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bbl.first 't := }
+ { s "second" = s "2" = or
+ { bbl.second 't := }
+ { s "third" = s "3" = or
+ { bbl.third 't := }
+ { s "fourth" = s "4" = or
+ { bbl.fourth 't := }
+ { s "fifth" = s "5" = or
+ { bbl.fifth 't := }
+ { s #1 #1 substring$ is.num
+ { s eng.ord 't := }
+ { edition 't := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ t
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ {
+ fa.isPersianLanguage
+ {
+ bbl.edition edition *
+ }
+ {
+ output.state mid.sentence =
+ { convert.edition "l" change.case$ " " * bbl.edition * }
+ { convert.edition "t" change.case$ " " * bbl.edition * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { bbl.pages pages n.dashify tie.or.space.connect }
+ { bbl.page pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.journal.pages}
+{ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ {
+ ", " *
+ pages n.dashify *
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ { "" }
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { word.in booktitle emphasize * }
+ { word.in booktitle emphasize *
+ ", " *
+ editor num.names$ #1 >
+ { bbl.editors }
+ { bbl.editor }
+ if$
+ * " " *
+ format.in.editors *
+ }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { bbl.techrep }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ word.in
+ }
+ { bbl.volume volume tie.or.space.connect
+ bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.publisher}
+{ publisher empty$
+ { "empty publisher in " cite$ * warning$ }
+ 'skip$
+ if$
+ ""
+ address empty$ publisher empty$ and
+ 'skip$
+ {
+ address empty$
+ 'skip$
+ { address * }
+ if$
+ publisher empty$
+ 'skip$
+ { address empty$
+ 'skip$
+ { ": " * }
+ if$
+ publisher *
+ }
+ if$
+ }
+ if$
+ output
+}
+
+STRINGS {oldname}
+
+FUNCTION {name.or.dash}
+{ 's :=
+ oldname empty$
+ { s 'oldname := s }
+ { s oldname =
+ { "---" }
+ { s 'oldname := s }
+ if$
+ }
+ if$
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { journal
+ emphasize
+ "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.journal.pages
+ format.note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ fa.isPersianLanguage
+ {
+ format.authors output.nonnull
+ format.date "year" output.check
+ date.block
+ %new.block
+ format.btitle
+ "title" output.check
+ %format.edition output
+ new.block
+ format.translators output
+ format.editors "author and editor" output.check%output
+ }
+ {
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ name.or.dash
+ }
+ { format.authors output.nonnull
+ name.or.dash
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ }
+if$
+
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ format.publisher
+ }
+ {
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ howpublished output
+ address output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ name.or.dash
+ }
+ { format.authors output.nonnull
+ name.or.dash
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.publisher
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ format.number.series output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.pages "pages" output.check
+ format.note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.publisher
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.pages "pages" output.check
+ format.note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ publisher empty$
+ { organization output
+ address output
+ }
+ { organization output
+ format.publisher
+ }
+ if$
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ organization output
+ address output
+ format.edition output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title output
+ end.quote.title
+ howpublished output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output
+ organization output
+ publisher output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ name.or.dash
+ format.date "year" output.check
+ date.block
+ format.title "title" output.check
+ end.quote.title
+ format.note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.lab.names}
+{
+ 's :=
+ authorfa empty$
+ {
+ %skip$
+ #0 'fa.isInLabel :=
+ }
+ {% If authorfa exists
+ authorfa 's :=
+ #1 'fa.isInLabel :=
+ }
+ if$
+
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$
+ bbl.etal *
+ }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ bbl.etal *
+ }
+ { bbl.and space.word * s #2 "{vv~}{ll}" format.name$
+ * }
+ if$
+ }
+ if$
+ }
+ if$
+ #0 'fa.isInLabel := %reset fa.isInLabel
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ { pop$ "????" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" * }
+ { t sortify * }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { last.label next.extra }
+
+INTEGERS { last.extra.num number.label }
+
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT
+
+FUNCTION {begin.bib}
+{
+ "% Generated by asa-fa.bst, version: " bst.file.version * " (" * bst.file.date * "), for XePersian" *
+ write$ newline$
+ "% Author: " bst.file.authors *
+ write$ newline$
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\newcommand{\faquote}[1]{''#1``}"
+ write$ newline$
+ "\newcommand{\enquote}[1]{``#1''}"
+ write$ newline$
+ "\expandafter\ifx\csname natexlab\endcsname\relax\def\natexlab#1{#1}\fi"
+ write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+EXECUTE{completed.message}
+%% End of file `asa-fa.bst'.
diff --git a/biblio/bibtex/contrib/persian-bib/bibtex-example.tex b/biblio/bibtex/contrib/persian-bib/bibtex-example.tex
new file mode 100644
index 0000000000..c09c93b229
--- /dev/null
+++ b/biblio/bibtex/contrib/persian-bib/bibtex-example.tex
@@ -0,0 +1,30 @@
+\documentclass[11pt,a4paper]{article}
+
+% استÙاده از بسته‌ی زیر الزامی نیست ولی با استÙاده از آن می‌توانید لینکهای رنگی به مراجع خود داشته باشید.
+\usepackage[colorlinks,citecolor=blue]{hyperref}
+
+\usepackage{xepersian}
+\settextfont{XB Zar}
+\setlatintextfont[Scale=1]{Linux Libertine}
+
+\title{نمونه خروجی با استیل Ùارسی \lr{acm-fa} برای \lr{BibTeX} در زی‌پرشین}
+\author{محمود امین‌طوسی}\date{}
+\begin{document}
+\maketitle
+
+مرجع \cite{Omidali82phdThesis} یک نمونه پروژه دکترا Ùˆ مرجع \cite{Vahedi87} یک نمونه مقاله مجله Ùارسی است.
+مرجع \cite{Amintoosi87afzayesh} یک نمونه مقاله Ú©Ù†Ùرانس Ùارسی Ùˆ
+مرجع \cite{Pedram80osool} یک نمونه کتاب Ùارسی با ذکر مترجمان Ùˆ ویراستاران Ùارسی است. مرجع \cite{Khalighi07MscThesis} یک نمونه پروژه کارشناسی ارشد انگلیسی Ùˆ
+\cite{Khalighi87xepersian} هم یک نمونه متÙرقه می‌باشند.
+
+مرجع \cite{Gonzalez02book} یک نمونه کتاب لاتین است Ú©Ù‡ از آنجا Ú©Ù‡ دارای Ùیلد \lr{authorfa} است، نام نویسندگان آن در استیلهای \lr{asa-fa}ØŒ \lr{plainnat-fa} Ùˆ \lr{chicago-fa} به Ùارسی دیده می‌شود. مرجع \cite{Baker02limits} مقاله انگلیسی است Ú©Ù‡ معادل Ùارسی نام نویسندگان آن ذکر نشده بوده است.
+
+
+{\small
+% در اینجا می‌توانید سبک‌های مختل٠را گذاشته Ùˆ تÙاوت خروجی را ببینید
+\bibliographystyle{acm-fa}
+
+\bibliography{MyReferences}
+}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/persian-bib/chicago-fa.bst b/biblio/bibtex/contrib/persian-bib/chicago-fa.bst
new file mode 100644
index 0000000000..211da261dc
--- /dev/null
+++ b/biblio/bibtex/contrib/persian-bib/chicago-fa.bst
@@ -0,0 +1,2223 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Bib. style "chicago-fa", Persian (farsi) version of chicago.bst
+%%
+%% by: Mahmood Amintoosi, m.amintoosi@gmail.com, www.parsilatex.com
+%% For XePersian, a Persian Typesetting Package in XeTeX
+%% It may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License (version 1.3c),
+%% either this version of this license or (at your option) any later version.
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Original Copyright
+
+%%% ====================================================================
+%%% @BibTeX-style-file{
+%%% author = "Glenn Paulley",
+%%% version = "4",
+%%% date = "28 August 1992",
+%%% time = "10:23:39 199",
+%%% filename = "chicago.bst",
+%%% address = "Data Structuring Group
+%%% Department of Computer Science
+%%% University of Waterloo
+%%% Waterloo, Ontario, Canada
+%%% N2L 3G1",
+%%% telephone = "(519) 885-1211",
+%%% FAX = "(519) 885-1208",
+%%% checksum = "26323 1654 5143 37417",
+%%% email = "gnpaulle@bluebox.uwaterloo.ca",
+%%% codetable = "ISO/ASCII",
+%%% keywords = "",
+%%% supported = "yes",
+%%% abstract = "A BibTeX bibliography style that follows the
+%%% `B' reference style of the 13th Edition of
+%%% the Chicago Manual of Style. A detailed
+%%% feature list is given below.",
+%%% docstring = "The checksum field above contains a CRC-16
+%%% checksum as the first value, followed by the
+%%% equivalent of the standard UNIX wc (word
+%%% count) utility output of lines, words, and
+%%% characters. This is produced by Robert
+%%% Solovay's checksum utility.",
+%%% }
+%%% ====================================================================
+%
+% "Chicago" BibTeX style, chicago.bst
+% ===================================
+%
+% BibTeX `chicago' style file for BibTeX version 0.99c, LaTeX version 2.09
+% Place it in a file called chicago.bst in the BibTeX search path.
+% You need to include chicago.sty as a \documentstyle option.
+% (Placing it in the same directory as the LaTeX document should also work.)
+% This "chicago" style is based on newapa.bst (American Psych. Assoc.)
+% found at ymir.claremont.edu.
+%
+% Citation format: (author-last-name year)
+% (author-last-name and author-last-name year)
+% (author-last-name, author-last-name, and author-last-name year)
+% (author-last-name et al. year)
+% (author-last-name)
+% author-last-name (year)
+% (author-last-name and author-last-name)
+% (author-last-name et al.)
+% (year) or (year,year)
+% year or year,year
+%
+% Reference list ordering: alphabetical by author or whatever passes
+% for author in the absence of one.
+%
+% This BibTeX style has support for abbreviated author lists and for
+% year-only citations. This is done by having the citations
+% actually look like
+%
+% \citeauthoryear{full-author-info}{abbrev-author-info}{year}
+%
+% The LaTeX style has to have the following (or similar)
+%
+% \let\@internalcite\cite
+% \def\fullcite{\def\citeauthoryear##1##2##3{##1, ##3}\@internalcite}
+% \def\fullciteA{\def\citeauthoryear##1##2##3{##1}\@internalcite}
+% \def\shortcite{\def\citeauthoryear##1##2##3{##2, ##3}\@internalcite}
+% \def\shortciteA{\def\citeauthoryear##1##2##3{##2}\@internalcite}
+% \def\citeyear{\def\citeauthoryear##1##2##3{##3}\@internalcite}
+%
+% These TeX macro definitions are found in chicago.sty. Additional
+% commands to manipulate different components of a citation can be defined
+% so that, for example, you can list author's names without parentheses
+% if using a citation as a noun or object in a sentence.
+%
+% This file was originally copied from newapa.bst at ymir.claremont.edu.
+%
+% Features of chicago.bst:
+% =======================
+%
+% - full names used in citations, but abbreviated citations are available
+% (see above)
+% - if an entry has a "month", then the month and year are also printed
+% as part of that bibitem.
+% - all conjunctions use "and" instead of "\&"
+% - major modification from Chicago Manual of Style (13th ed.) is that
+% only the first author in a reference appears last name first-
+% additional authors appear as J. Q. Public.
+% - pages are listed as "pp. xx-xx" in all entry types except
+% article entries.
+% - book, inbook, and manual use "location: publisher" (or organization)
+% for address and publisher. All other types list publishers separately.
+% - "pp." are used to identify page numbers for all entry types except
+% articles.
+% - organization is used as a citation label if neither author nor editor
+% is present (for manuals).
+% - "et al." is used for long author and editor lists, or when "others"
+% is used.
+%
+% Modifications and bug fixes from newapa.bst:
+% ===========================================
+%
+% - added month, year to bib entries if month is present
+% - fixed bug with In proceedings, added necessary comma after title
+% - all conjunctions changed to "and" from "\&"
+% - fixed bug with author labels in my.full.label: "et al." now is
+% generated when "others" is an author name
+% - major modification from Chicago Manual of Style (13th ed.) is that
+% only the first author in a reference appears last name first-
+% additional authors appear as J. Q. Public.
+% - pages are listed as "pp. xx-xx" in all entry types except
+% article entries. Unnecessary (IMHO) "()" around page numbers
+% were removed, and page numbers now don't end with a period.
+% - created chicago.sty for use with this bibstyle (required).
+% - fixed bugs in FUNCTION {format.vol.num.pages} for missing volume,
+% number, and /or pages. Renamed to format.jour.vol.
+% - fixed bug in formatting booktitles: additional period an error if
+% book has a volume.
+% - fixed bug: editors usually given redundant period before next clause
+% (format.editors.dot) removed.
+% - added label support for organizations, if both author and editor
+% are missing (from alpha.bst). If organization is too long, then
+% the key field is used for abbreviated citations.
+% - In proceedings or books of several volumes, no comma was written
+% between the "Volume x" and the page numbers (this was intentional
+% in newapa.bst). Fixed.
+% - Some journals may not have volumes/numbers, only month/year (eg.
+% IEEE Computer). Fixed bug in article style that assumed volume/number
+% was always present.
+%
+% Original documentation for newapa.sty:
+% =====================================
+%
+% This version was made by modifying the master file made by
+% Oren Patashnik (PATASHNIK@SCORE.STANFORD.EDU), and the 'named' BibTeX
+% style of Peter F. Patel-Schneider.
+%
+% Copyright (C) 1985, all rights reserved.
+% Copying of this file is authorized only if either
+% (1) you make absolutely no changes to your copy, including name, or
+% (2) if you do make changes, you name it something other than 'newapa.bst'.
+% There are undoubtably bugs in this style. If you make bug fixes,
+% improvements, etc. please let me know. My e-mail address is:
+% spencer@cgrg.ohio.state.edu or 71160.3141@compuserve.com
+%
+% This style was made from 'plain.bst', 'named.bst', and 'apalike.bst',
+% with lots of tweaking to make it look like APA style, along with tips
+% from Young Ryu and Brian Reiser's modifications of 'apalike.bst'.
+
+ENTRY
+ { address
+ author
+ authorfa
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ language
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ translator
+ type
+ volume
+ year
+ }
+ {}
+ { label.year extra.label sort.year sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block fa.isInLabel}
+
+FUNCTION {is.print.banners.to.terminal} { #1 }
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% FILE VERSION AND BANNER %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION{bst.file.version} { "0.9" }
+FUNCTION{bst.file.date} { "2015/05/09" }
+FUNCTION{bst.file.website} { "http://www.parsilatex.com" }
+FUNCTION{bst.file.authors} {"M.Amintoosi" }
+
+FUNCTION {banner.message}
+{ is.print.banners.to.terminal
+ { "-- chicago-fa.bst version" " " * bst.file.version *
+ " (" * bst.file.date * ") " * %"by " * bst.file.authors *
+ top$
+ "-- This is a BibTeX style for XePersian: " bst.file.website *
+ %top$
+ %"-- See the " quote$ * "Persian-bib-userguide.pdf" * quote$ * " manual for usage information." *
+ top$
+ }
+ { skip$ }
+ if$
+}
+
+FUNCTION {completed.message}
+{ is.print.banners.to.terminal
+ { ""
+ top$
+ "Done."
+ top$
+ }
+ { skip$ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Persian Functions %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION {fa.isPersianLanguage}
+{
+ language missing$
+ {#0}
+ {language "l" change.case$ "persian" =}
+ if$
+}
+
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The languages selected here is ENGLISH and Farsi
+FUNCTION {bbl.and}
+{
+fa.isInLabel
+{" Ùˆ "}% If authorfa exists
+{
+ fa.isPersianLanguage
+ {" Ùˆ "}
+ {" and "}
+ if$
+}
+if$
+}
+
+FUNCTION {bbl.editors}
+{
+fa.isPersianLanguage
+ { " ویراستاران "}
+ {" eds. "}
+if$
+}
+
+FUNCTION {bbl.editor}
+{
+fa.isPersianLanguage
+ { " ویراستار "}
+ {" ed. " }
+if$
+}
+
+FUNCTION {bbl.edby}
+{
+fa.isPersianLanguage
+ { " ویراسته‌ی "}
+ { " edited by " }
+if$
+}
+
+FUNCTION {bbl.edition}
+{
+fa.isPersianLanguage
+ {" ویرایش "}
+ {" ed." }
+if$
+}
+
+FUNCTION {bbl.volume}
+{
+fa.isPersianLanguage
+ {" جلد "}
+ { " Volume "}
+if$
+}
+
+FUNCTION {bbl.of}
+{
+fa.isPersianLanguage
+ { " از "}
+ { " of " }
+if$
+}
+
+FUNCTION {bbl.number}
+{
+fa.isPersianLanguage
+ {" شماره " }
+ { " Number " }
+if$
+}
+
+% FUNCTION {bbl.nr}
+% {
+% fa.isPersianLanguage
+ % {" شماره "}
+ % { " no." }
+% if$
+% }
+
+FUNCTION {bbl.in}
+{
+fa.isPersianLanguage
+ {" در "}
+ { " In " }
+if$
+}
+
+FUNCTION {bbl.pages}
+{
+fa.isPersianLanguage
+ {" صÙحات "}
+ { " pp." }
+if$
+}
+
+FUNCTION {bbl.page}
+{
+fa.isPersianLanguage
+ {" ص." }
+ { " p." }
+if$
+}
+
+FUNCTION {bbl.chapter}
+{
+fa.isPersianLanguage
+ { " Ùصل " }
+ {" chap." }
+if$
+}
+
+FUNCTION {bbl.techrep}
+{
+fa.isPersianLanguage
+ { " گزارش طرح تحقیقی"}
+ { " Tech. Rep." }
+if$
+}
+
+FUNCTION {bbl.mthesis}
+{
+fa.isPersianLanguage
+ {" پایان‌نامه کارشناسی‌ارشد"}
+ { " Master's thesis" }
+if$
+}
+
+FUNCTION {bbl.phdthesis}
+{
+fa.isPersianLanguage
+ {" پایان‌نامه دکترا" }
+ { " Ph.D. thesis" }
+if$
+}
+
+FUNCTION {bbl.first}
+{ "1st" }
+
+FUNCTION {bbl.second}
+{ "2nd" }
+
+FUNCTION {bbl.third}
+{ "3rd" }
+
+FUNCTION {bbl.fourth}
+{ "4th" }
+
+FUNCTION {bbl.fifth}
+{ "5th" }
+
+FUNCTION {bbl.st}
+{ "st" }
+
+FUNCTION {bbl.nd}
+{ "nd" }
+
+FUNCTION {bbl.rd}
+{ "rd" }
+
+FUNCTION {bbl.th}
+{ "th" }
+
+% Added by M.Amintoosi
+FUNCTION {bbl.etal}
+{
+fa.isInLabel
+{" و دیگران"}% If authorfa exists
+{
+ fa.isPersianLanguage
+ {" و دیگران"}
+ {" et~al."}
+ if$
+}
+if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% End of Persian Functions %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t u }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+% Use a colon to separate output. Used only for address/publisher
+% combination in book/inbook types, address/institution for manuals,
+% and organization:publisher for proceedings (inproceedings).
+%
+FUNCTION {output.nonnull.colon}
+{ 's :=
+ output.state mid.sentence =
+ { ": " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.colon}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull.colon
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+
+FUNCTION {output.check.colon}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull.colon
+ if$
+}
+
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { write$
+ " (" year * extra.label *
+ month empty$
+ { ")" * }
+ { ", " * month * ")" * }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+ fa.isPersianLanguage
+ {skip$}
+ {newline$
+ "\end{LTRbibitems}" write$
+ newline$
+ }
+ if$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+%
+% Emphasize the top string on the stack.
+%
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+
+%
+% Emphasize the top string on the stack, but add a trailing space.
+%
+FUNCTION {emphasize.space}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "\/}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+%
+% Format bibliographical entries with the first author last name first,
+% and subsequent authors with initials followed by last name.
+% All names are formatted in this routine.
+%
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr := % nameptr = 1;
+
+ s num.names$ 'numnames := % numnames = num.name$(s);
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 =
+ {
+ fa.isPersianLanguage
+ {s nameptr "{vv~}{ll}{, jj}{, ff}" format.name$ 't := }
+ {s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't := }
+ if$
+ }
+ {
+ fa.isPersianLanguage
+ {s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't := }
+ {s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := }
+ if$
+ }
+ if$
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { bbl.etal * }
+ { bbl.and * t * } % from Chicago Manual of Style
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr := % nameptr += 1;
+ namesleft #1 - 'namesleft := % namesleft =- 1;
+ }
+ while$
+}
+
+FUNCTION {my.full.label}
+{ 's :=
+
+ #1 'nameptr := % nameptr = 1;
+ s num.names$ 'numnames := % numnames = num.name$(s);
+ numnames 'namesleft :=
+ { namesleft #0 > }
+
+ { s nameptr "{vv~}{ll}" format.name$ 't := % get the next name
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { bbl.etal * }
+ { bbl.and * t * } % from Chicago Manual of Style
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr := % nameptr += 1;
+ namesleft #1 - 'namesleft := % namesleft =- 1;
+ }
+ while$
+
+}
+
+FUNCTION {format.names.fml}
+%
+% Format names in "familiar" format, with first initial followed by
+% last name. Like format.names, ALL names are formatted.
+%
+{ 's :=
+ #1 'nameptr := % nameptr = 1;
+ s num.names$ 'numnames := % numnames = num.name$(s);
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {
+ fa.isPersianLanguage
+ {s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't := }
+ {s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := }
+ if$
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { bbl.etal * }
+ { bbl.and * t * }
+% { " \& " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr := % nameptr += 1;
+ namesleft #1 - 'namesleft := % namesleft =- 1;
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+
+
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+%
+% Format editor names for use in the "in" types: inbook, incollection,
+% inproceedings: first initial, then last names. When editors are the
+% LABEL for an entry, then format.editor is used which lists editors
+% by last name first.
+%
+FUNCTION {format.editors.fml}
+{ editor empty$
+ { "" }
+ {
+ fa.isPersianLanguage
+ {
+ editor num.names$ #1 >
+ {bbl.editors editor format.names.fml * }
+ {bbl.editor editor format.names.fml * }
+ if$
+ }
+ { editor format.names.fml
+ editor num.names$ #1 >
+ { " (Eds.)" * }
+ { " (Ed.)" * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+
+%
+% Format editor names for use in labels, last names first.
+%
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ {
+ fa.isPersianLanguage
+ {
+ editor num.names$ #1 >
+ {bbl.editors editor format.names * }
+ {bbl.editor editor format.names * }
+ if$
+ }
+ {
+ editor format.names
+ editor num.names$ #1 >
+ { bbl.editors * }
+ { bbl.editor * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.translators}
+{ translator empty$
+ { "" }
+ { fa.isPersianLanguage
+ {
+ " ترجمه‌ی " translator format.names *
+ }
+ {
+ translator format.names
+ ", translated by: " *
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+% Note that the APA style requres case changes
+% in article titles. The following does not
+% change cases. If you perfer it, uncomment the
+% following and comment out the above.
+
+%FUNCTION {format.title}
+%{ title empty$
+% { "" }
+% { title }
+% if$
+%}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+
+FUNCTION {format.btitle}
+{ edition empty$
+ { title emphasize }
+ { title empty$
+ { title emphasize }
+ { volume empty$ % gnp - check for volume, then don't need period
+ {
+ fa.isPersianLanguage
+ { "{\em " title * "\/} (" * bbl.edition * edition * ")" * "." * }
+ { "{\em " title * "\/} (" * edition * bbl.edition * ")" * "." * }
+ if$
+ }
+ {
+ fa.isPersianLanguage
+ { "{\em " title * "\/} (" * bbl.edition * edition * ")" * }
+ { "{\em " title * "\/} (" * edition * bbl.edition * ")" * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.emphasize.booktitle}
+{ edition empty$
+ { booktitle emphasize }
+ { booktitle empty$
+ { booktitle emphasize }
+ { volume empty$ % gnp - extra period an error if book has a volume
+ {
+ fa.isPersianLanguage
+ { "{\em " booktitle * "\/} (" * bbl.edition * edition * ")" * "." * }
+ { "{\em " booktitle * "\/} (" * edition * bbl.edition * ")" * "." * }
+ if$
+ }
+ {
+ fa.isPersianLanguage
+ { "{\em " booktitle * "\/} (" * bbl.edition * edition * ")" * }
+ { "{\em " booktitle * "\/} (" * edition * bbl.edition * ")" * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.connect % gnp - changed to mixed case
+ series empty$
+ 'skip$
+ { bbl.of * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { bbl.number } % gnp - changed to mixed case always
+ { bbl.number }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { bbl.in * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { bbl.pages pages n.dashify tie.or.space.connect } % gnp - removed ()
+ { bbl.page pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+% By Young (and Spencer)
+% GNP - fixed bugs with missing volume, number, and/or pages
+%
+% Format journal, volume, number, pages for article types.
+%
+FUNCTION {format.jour.vol}
+
+{ journal empty$
+ { "no journal in " cite$ * warning$
+ "" }
+ { journal emphasize.space }
+ if$
+ number empty$
+ { volume empty$
+ { "no number and no volume in " cite$ * warning$
+
+ "" * }
+ { "~{\em " * Volume * "}" * }
+ if$
+ }
+ { volume empty$
+ {"no volume for " cite$ * warning$
+ "~(" * number * ")" * }
+ { "~" *
+ volume %emphasize.space
+ "(" * number * ")" * * }
+ if$
+ }
+ if$
+ pages empty$
+
+ {"page numbers missing in " cite$ * warning$
+ "" * } % gnp - place a null string on the stack for output
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ", " * pages n.dashify * } % gnp - removed pp. for articles
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+
+ { bbl.chapter } % gnp - changed to mixed case
+ { type "t" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+
+ {"page numbers missing in " cite$ * warning$} % gnp - added check
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+
+ { bbl.in format.emphasize.booktitle * }
+ { bbl.in format.editors.fml * ", " * format.emphasize.booktitle * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+
+ { bbl.techrep }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ "See"
+ "\citeN{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ bbl.etal * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+
+ { bbl.etal * }
+ { bbl.and * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+
+ bbl.in
+ }
+ { bbl.volume volume tie.or.space.connect % gnp - changed to mixed case
+
+ bbl.of *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \citeN{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ "See"
+ " \citeN{" * crossref * "}" *
+}
+
+% format.lab.names:
+%
+% determines "short" names for the abbreviated author information.
+% "Long" labels are created in calc.label, using the routine my.full.label
+% to format author and editor fields.
+%
+% There are 4 cases for labels. (n=3 in the example)
+% a) one author Foo
+% b) one to n Foo, Bar and Baz
+% c) use of "and others" Foo, Bar et al.
+% d) more than n Foo et al.
+%
+FUNCTION {format.lab.names}
+{ 's :=
+ authorfa empty$
+ {
+ %skip$
+ #0 'fa.isInLabel :=
+ }
+ {% If authorfa exists
+ authorfa 's :=
+ #1 'fa.isInLabel :=
+ }
+ if$
+
+ s num.names$ 'numnames :=
+ numnames #2 > % change number to number of others allowed before
+ % forcing "et al".
+ { s #1 "{vv~}{ll}" format.name$ bbl.etal * }
+ {
+ numnames #1 - 'namesleft :=
+ #2 'nameptr :=
+ s #1 "{vv~}{ll}" format.name$
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { bbl.etal * }
+ { bbl.and * s nameptr "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ { ", " * s nameptr "{vv~}{ll}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ }
+ if$
+ #0 'fa.isInLabel := %reset fa.isInLabel
+}
+
+FUNCTION {author.key.label}
+{
+ author empty$
+ { key empty$
+ {
+ "no key, author in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+%
+% % Push the two variables onto the stack
+% bbl.etal
+% bbl.and
+% authorfa empty$
+% {
+% fa.isPersianLanguage
+% {
+% " و دیگران" 'bbl.etal :=
+% " Ùˆ " 'bbl.and :=
+% }
+% {
+% bbl.etal 'bbl.etal :=
+% " and " 'bbl.and :=
+% }
+% if$
+%
+% author empty$
+% { key empty$
+% {
+% "no key, author in " cite$ * warning$
+% cite$ #1 #3 substring$ }
+% 'key
+% if$
+% }
+% { author format.lab.names }
+% if$
+% }
+% {
+% " و دیگران" 'bbl.etal :=
+% " Ùˆ " 'bbl.and :=
+% authorfa format.lab.names
+% }
+% if$
+%
+% % Pop the function result and store it on s
+% 's :=
+% % Push the two variables onto the stack
+% 'bbl.and :=
+% 'bbl.etal :=
+% % push the result into stack
+% s
+}
+
+FUNCTION {editor.key.label}
+{
+ editor empty$
+ { key empty$
+ { "no key, editor in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+% % Push the two variables onto the stack
+% bbl.etal
+% bbl.and
+% authorfa empty$
+% {
+% fa.isPersianLanguage
+% {
+% " و دیگران" 'bbl.etal :=
+% " Ùˆ " 'bbl.and :=
+% }
+% {
+% bbl.etal 'bbl.etal :=
+% " and " 'bbl.and :=
+% }
+% if$
+%
+%
+% editor empty$
+% { key empty$
+% { "no key, editor in " cite$ * warning$
+% cite$ #1 #3 substring$ }
+% 'key
+% if$
+% }
+% { editor format.lab.names }
+% if$
+%
+% }
+% {
+% " و دیگران" 'bbl.etal :=
+% " Ùˆ " 'bbl.and :=
+% authorfa format.lab.names
+% }
+% if$
+%
+% % Pop the function result and store it on s
+% 's :=
+% % Push the two variables onto the stack
+% 'bbl.and :=
+% 'bbl.etal :=
+% % push the result into stack
+% s
+}
+
+FUNCTION {author.key.organization.label}
+%
+% added - gnp. Provide label formatting by organization if author is null.
+%
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "no key, author or organization in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { organization }
+ if$
+ }
+
+ { author format.lab.names }
+ if$
+}
+
+
+FUNCTION {editor.key.organization.label}
+%
+% added - gnp. Provide label formatting by organization if editor is null.
+%
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "no key, editor or organization in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { organization }
+ if$
+ }
+
+ { editor format.lab.names }
+ if$
+
+}
+
+FUNCTION {author.editor.key.label}
+{
+ author empty$
+ { editor empty$
+ { key empty$
+ { "no key, author, or editor in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+
+%
+% % Push the two variables onto the stack
+% bbl.etal
+% bbl.and
+% authorfa empty$
+% {
+% fa.isPersianLanguage
+% {
+% " و دیگران" 'bbl.etal :=
+% " Ùˆ " 'bbl.and :=
+% }
+% {
+% bbl.etal 'bbl.etal :=
+% " and " 'bbl.and :=
+% }
+% if$
+%
+% author empty$
+% { editor empty$
+% { key empty$
+% { "no key, author, or editor in " cite$ * warning$
+% cite$ #1 #3 substring$ }
+% 'key
+% if$
+% }
+% { editor format.lab.names }
+% if$
+% }
+% { author format.lab.names }
+% if$
+%
+% }
+% {
+% " و دیگران" 'bbl.etal :=
+% " Ùˆ " 'bbl.and :=
+% authorfa format.lab.names
+% }
+% if$
+%
+% % Pop the function result and store it on s
+% 's :=
+% % Push the two variables onto the stack
+% 'bbl.and :=
+% 'bbl.etal :=
+% % push the result into stack
+% s
+}
+
+FUNCTION {calc.label}
+%
+% Changed - GNP. See also author.organization.sort, editor.organization.sort
+% Form label for BibTeX entry. The classification of which fields are used
+% for which type of entry (book, inbook, etc.) are taken from alpha.bst.
+% The change here from newapa is to also include organization as a
+% citation label if author or editor is missing.
+%
+{
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+
+ author empty$ % generate the full label citation information.
+ { editor empty$
+ { organization empty$
+ { "no author, editor, or organization in " cite$ * warning$
+ "??" }
+ { organization }
+ if$
+ }
+ { editor my.full.label }
+ if$
+ }
+ { author my.full.label }
+ if$
+
+% leave label on the stack, to be popped when required.
+
+ "}{" * swap$ * "}{" *
+% year field.or.null purify$ #-1 #4 substring$ *
+%
+% save the year for sort processing afterwards (adding a, b, c, etc.)
+%
+ year field.or.null purify$ #-1 #4 substring$
+ 'label.year :=
+}
+
+FUNCTION {output.bibitem}
+{
+ #0 'fa.isInLabel := %Initialize fa.isInLabel
+ newline$
+ fa.isPersianLanguage
+ { skip$ }
+ {
+ "\begin{LTRbibitems}" write$
+ newline$
+ "\resetlatinfont " write$
+ }
+ if$
+ newline$
+
+ "\bibitem[\protect\citeauthoryear{" write$
+ calc.label write$
+ sort.year write$
+ "}]{" write$
+
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ crossref missing$
+ { format.jour.vol output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ fa.isPersianLanguage
+ {
+ format.authors output.nonnull
+ output.year.check
+ new.block
+ format.btitle
+ "title" output.check
+ %format.edition output
+ new.block
+ format.translators output
+ format.editors "author and editor" output.check%output
+ }
+ {
+ author empty$
+ { format.editors
+ "author and editor" output.check }
+ { format.authors
+ output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % added
+ new.block
+ format.btitle
+ "title" output.check
+ }
+ if$
+
+
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ address output
+ publisher "publisher" output.check.colon
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+
+
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+
+ new.block
+ howpublished output
+ address output
+
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors
+ "author and editor" output.check
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % added
+ new.block
+ format.btitle
+ "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages
+ "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+
+ address output
+ publisher
+ "publisher" output.check.colon
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+
+
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle
+ "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output % gnp - was special.output.nonnull
+% left out comma before page numbers
+ new.sentence
+ address output
+ publisher "publisher" output.check.colon
+
+ }
+ { format.incoll.inproc.crossref
+ output.nonnull
+ format.chapter.pages output
+
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle
+ "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ address output
+ format.pages output
+ new.sentence
+ organization output
+ publisher output.colon
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { editor empty$
+ { organization "organization" output.check
+ organization format.key output } % if all else fails, use key
+ { format.editors "author and editor" output.check }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ output.year.check % added
+ new.block
+ format.btitle
+ "title" output.check
+
+ organization address new.block.checkb
+
+% Reversed the order of "address" and "organization", added the ":".
+ address output
+ organization "organization" output.check.colon
+% address output
+% ":" output
+% organization output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ fa.isPersianLanguage
+ {" پایان‌نامه کارشناسی‌ارشد" format.thesis.type output.nonnull}
+ {" Master's thesis" format.thesis.type output.nonnull}
+ if$
+ school "school" output.check
+ address output
+
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output % added
+ output.year.check % added
+ title howpublished new.block.checkb
+ format.title output
+
+ new.block
+ howpublished output
+
+ new.block
+ note output
+ fin.entry
+
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.btitle
+ "title" output.check
+ new.block
+ fa.isPersianLanguage
+ {" پایان‌نامه دکترا" format.thesis.type output.nonnull}
+ {" Ph.D. disseration " format.thesis.type output.nonnull}
+ if$
+ school "school" output.check
+ address output
+
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+
+ { organization output
+ organization format.key output } % gnp - changed from author format.key
+ { format.editors output.nonnull }
+ if$
+% author format.key output % gnp - removed (should be either
+% editor or organization
+ output.year.check % added (newapa)
+ new.block
+ format.btitle
+ "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output
+ new.sentence
+ organization output
+ publisher output.colon
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution
+ "institution" output.check
+ address output
+
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors
+ "author" output.check
+ author format.key output % added
+ output.year.check % added
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {ai} {"Artificial Intelligence"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+
+
+
+{ purify$
+ "l" change.case$
+
+
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+
+
+ { bbl.etal * }
+ { t sortify * }
+ if$
+
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+
+
+ "" }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+
+ ""
+ }
+ { key sortify }
+ if$
+ }
+
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { "missing author in " cite$ * warning$
+ editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+%
+% added - GNP. Stack author or organization for sorting (from alpha.bst).
+% Unlike alpha.bst, we need entire names, not abbreviations
+%
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+
+
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { organization sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+%
+% added - GNP. Stack editor or organization for sorting (from alpha.bst).
+% Unlike alpha.bst, we need entire names, not abbreviations
+%
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+
+
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { organization sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+
+%
+% Presort creates the bibentry's label via a call to calc.label, and then
+% sorts the entries based on entry type. Chicago.bst adds support for
+% including organizations as the sort key; the following is stolen from
+% alpha.bst.
+%
+{ calc.label sortify % recalculate bibitem label
+ year field.or.null purify$ #-1 #4 substring$ * % add year
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+
+ #1 entry.max$ substring$ % added for newapa
+ 'sort.label := % added for newapa
+ sort.label % added for newapa
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT % by label, year, author/editor, title
+
+STRINGS { last.label next.extra }
+
+
+INTEGERS { last.extra.num }
+
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+%
+% Pass through all entries, comparing current entry to last one.
+% Need to concatenate year to the stack (done by calc.label) to determine
+% if two entries are the same (see presort)
+%
+{ last.label
+ calc.label year field.or.null purify$ #-1 #4 substring$ * % add year
+ #1 entry.max$ substring$ = % are they equal?
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ calc.label year field.or.null purify$ #-1 #4 substring$ * % add year
+ #1 entry.max$ substring$ 'last.label := % assign to last.label
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label.year extra.label * 'sort.year :=
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT % by sort.label, year, title --- giving final bib. order.
+
+FUNCTION {begin.bib}
+{
+ "% Generated by chicago-fa.bst, version: " bst.file.version * " (" * bst.file.date * "), for XePersian" *
+ write$ newline$
+ "% Author: " bst.file.authors *
+ write$ newline$
+% "\providecommand{\noopsort}[1]{}"
+% write$ newline$
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$
+}
+
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+EXECUTE{completed.message}
diff --git a/biblio/bibtex/contrib/persian-bib/cp1256fa.csf b/biblio/bibtex/contrib/persian-bib/cp1256fa.csf
new file mode 100644
index 0000000000..56a9dce97a
--- /dev/null
+++ b/biblio/bibtex/contrib/persian-bib/cp1256fa.csf
@@ -0,0 +1,262 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% FILE: $RCSfile: cp1256fa.csf,v $
+%%
+%% Date: 2015/05/09
+%% Author:-) Mahmood Amintoosi, m.amintoosi@gmail.com
+%%
+%% CHARACTER SET: Farsi (Persian) (CP 1256)
+%%
+%% SORTING ORDER: Farsi
+%%
+%% WARNING
+%%
+%% This is a BibTeX Codepage and Sort definition file (CSF). It is
+%% used to define the 8-bit character set used by BibTeX and the
+%% order in which those characters should be sorted. The file
+%% format is documented below this header section.
+%%
+%% This file will only work with the 8-bit implementation of BibTeX
+%% written by Niel Kempson and Alejandro Aguilar-Sierra. It is
+%% available by anonymous FTP from these Comprehensive TeX Archive
+%% Network (CTAN) sites:
+%%
+%% http://mirror.ctan.org/biblio/bibtex/8-bit
+%%
+%% CHANGE LOG
+%%
+%% $Log: cp1256fa.csf,v $
+%% Initial Version 2009/12/17
+%%
+%% Version 0.9 2015/05/09
+%% Reorder همزه (Move Up), adding ة and separating آ from ا
+%% http://www.persianacademy.ir/UserFiles/File/D_Final.zip
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% FILE FORMAT
+%%
+%% The codepage and sorting order (CS) file defines how BibTeX will treat an
+%% 8-bit character set, specifically which characters are to be treated as
+%% letters, the upper/lower case relationships between characters, and the
+%% sorting order of characters.
+%%
+%% The CS file may contain a number of sections, each presented in the
+%% form of a TeX macro:
+%%
+%% \section-name{
+%% <section definitions>
+%% }
+%%
+%% Four sections are currently supported: \lowupcase, \lowercase, \uppercase
+%% and \order. The syntax of the four supported sections is summarised below.
+%%
+%% 8-bit characters may be entered naturally, but to avoid problems with
+%% character set translation or corruption, they can also be entered using
+%% the TeX-style portable notation for character codes, i.e. ^^XX, where XX
+%% is the hexadecimal value ofthe character code.
+%%
+%% Reading of the sections ends when the first '}' character is reached, so
+%% '}' can't be included in a section. You can't use ^^7d either.
+%%
+%% The percent sign ('%') is used to introduce a trailing comment - it and
+%% all remaining characters on a line are ignored. ^^25 has the same effect.
+%%
+%%
+%% \lowupcase section
+%%
+%% The \lowupcase section of the CS file is used to define the lower
+%% /upper and upper/lower case relationship of pairs of specified
+%% characters. It is only used if the relationship is symmetrical - use
+%% \lowercase or \upcase if it isn't.
+%%
+%% The syntax of the \lowupcase section is:
+%%
+%% \lowupcase{
+%% <LC-1> <UC-1> % Comment begins with a percent sign
+%% <LC-2> <UC-2>
+%% ...
+%% <LC-N> <UC-N>
+%% }
+%%
+%% Each <LC-n> <UC-n> pair of characters defines that the upper case
+%% equivalent of <LC-n> is <UC-n> *and* the lower case equivalent of
+%% <UC-n> is <LC-n>.
+%%
+%% You cannot redefine the lower or upper case equivalent of an ASCII
+%% character (code < 128), so all instances of <LC-n> and <UC-n>
+%% (i.e. both sides of the relationship) must have codes > 127.
+%%
+%%
+%% \lowercase section
+%%
+%% The \lowercase section of the CS file is used to define the lower case
+%% equivalent of specified characters. It should normally only be used
+%% if the relationship isn't symmetrical - use \lowupcase if it is.
+%%
+%% The syntax of the \lowercase section is:
+%%
+%% \lowercase{
+%% <UC-1> <LC-1> % Comment begins with a percent sign
+%% <UC-2> <LC-2>
+%% ...
+%% <UC-N> <LC-N>
+%% }
+%%
+%% Each <LC-n> <UC-n> pair of characters defines that the lower case
+%% equivalent of <UC-n> is <LC-n>.
+%%
+%% You cannot redefine the lower case equivalent of an ASCII character
+%% (code < 128), so all instances of <UC-n> (i.e. the left hand side
+%% of the relationship) must have codes > 127.
+%%
+%%
+%% \uppercase section
+%%
+%% The \uppercase section of the CS file is used to define the upper case
+%% equivalent of specified characters. It should normally only be used
+%% if the relationship isn't symmetrical - use \lowupcase if it is.
+%%
+%% The syntax of the \uppercase section is:
+%%
+%% \uppercase{
+%% <LC-1> <UC-1> % Comment begins with a percent sign
+%% <LC-2> <UC-2>
+%% ...
+%% <LC-N> <UC-N>
+%% }
+%%
+%% Each <LC-n> <UC-n> pair of characters defines that the upper case
+%% case equivalent of <LC-n> is <UC-n>.
+%%
+%% You cannot redefine the upper case equivalent of an ASCII character
+%% (code < 128), so all instances of <LC-n> (i.e. the left hand side
+%% of the relationship) must have codes > 127.
+%%
+%%
+%% \order section
+%%
+%% The \order section of the CS file is used to define the order in which
+%% characters are sorted.
+%%
+%% The syntax of the \order section is:
+%%
+%% \order{
+%% <char-1> % Comment begins with a percent sign
+%% <char-2> <char-3> % whitespace between the chars
+%% <char-4> - <char-5> % a hyphen between the chars
+%% <char-4> _ <char-5> % an underscore between the chars
+%% ...
+%% <char-n>
+%% }
+%%
+%% All characters on the same line are given the same sorting weight.
+%%
+%% The construct <char-1> <underscore> <char-2> is used to denote that
+%% all characters in the range <char-1> to <char-2> should be given the
+%% same sorting weight. For example, "A _ Z" would cause all ASCII
+%% upper case alphabetical characters to have the same sorting weight
+%% and would be equivalent to placing all 26 characters on the same line.
+%%
+%% The construct <char-1> <hyphen> <char-2> is used to denote that all
+%% characters in the range <char-1> to <char-2> should be given an
+%% ascending set of sorting weights, starting with <char-1> and ending
+%% with <char-2>. For example, "A - Z" would cause all upper case ASCII
+%% alphabetical characters to be sorted in ascending order and would be
+%% equivalent to placing 'A' on the first line, 'B' on the second,
+%% through to 'Z' on the 26th line.
+%%
+%% The characters at the beginning of the order section are given a lower
+%% sorting weight than characters occuring later. When sorting
+%% alphabetically, characters with the lowest weight come first.
+%%
+%% All characters not in the \order section (including ASCII characters)
+%% are given the same very high sorting weight to ensure that they come
+%% last when sorting alphabetically.
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+%%
+%% CHARACTER SET
+%%
+
+
+
+%%
+%% SORTING ORDER
+%%
+%%
+\order{
+Û°-Û¹
+ أ إ ؤ ئ ء
+ آ
+ ا
+ ب
+ Ù¾
+ ت ة
+ Ø«
+ ج
+ Ú†
+ Ø­
+ Ø®
+ د
+ Ø°
+ ر
+ ز
+ Ú˜
+ س
+ Ø´
+ ص
+ ض
+ Ø·
+ ظ
+ ع
+ غ
+ Ù
+ Ù‚
+ Ú© Ùƒ
+ Ú¯
+ Ù„
+ Ù…
+ Ù†
+ Ùˆ
+ Ù‡
+ ی ي
+ 0-9
+ A a
+ B b
+ C c
+ D d
+ E e
+ F f
+ G g
+ H h
+ I i
+ J j
+ K k
+ L l
+ M m
+ N n
+ O o
+ P p
+ Q q
+ R r
+ S s
+ T t
+ U u
+ V v
+ W w
+ X x
+ Y y
+ Z z
+ }
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% END OF FILE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/biblio/bibtex/contrib/persian-bib/gen_pdf.pl b/biblio/bibtex/contrib/persian-bib/gen_pdf.pl
new file mode 100644
index 0000000000..5e2e56a944
--- /dev/null
+++ b/biblio/bibtex/contrib/persian-bib/gen_pdf.pl
@@ -0,0 +1,55 @@
+##########################################################
+# Author: Mahmood Amintoosi #
+# Date: 10 Feb 2011 #
+# Version: .10 #
+# Application: Produce pdf files of Persian-bib styles #
+##########################################################
+
+use File::Copy;
+
+open(INFILE,"bibtex-example.tex");
+
+@styleList = ("acm-fa","plain-fa","unsrt-fa","ieeetr-fa","asa-fa","chicago-fa","plainnat-fa");
+@natbibStyles = ("asa-fa","chicago-fa","plainnat-fa");
+
+@lines = <INFILE>;
+foreach $style (@styleList)
+{
+ $fileName = $style.".pdf";
+ $tmpFile = "tmp";
+ open(OUTFILE,">".$tmpFile.".tex");
+ print $fileName;
+ foreach $line(@lines)
+ {
+
+ $a = $line;
+ #Checking wether natbib package is required or not
+ $natbibRequired = 0;
+ foreach $natbibStyle(@natbibStyles)
+ {
+ if($style eq $natbibStyle)
+ {
+ $natbibRequired = 1;
+ #last;
+ }
+ }
+# print $natbibRequired;
+ if ($natbibRequired==1 && $a =~ /usepackage{xepersian}/)
+ {
+ print OUTFILE "\\usepackage{natbib}\n";
+ }
+ $a =~ s/acm-fa/$style/;
+ print OUTFILE $a;
+ }
+
+ close (OUTFILE);
+ system("xelatex",$tmpFile);
+ system("bibtex8","-W","-c","cp1256fa",$tmpFile);
+ system("xelatex",$tmpFile);
+ system("xelatex",$tmpFile);
+ copy($tmpFile.".pdf",$fileName) or die "Copy failed: $!";
+ unlink <tmp.*>;
+ #seek(INFILE,0,SEEK_SET);
+ }
+ close (INFILE);
+
diff --git a/biblio/bibtex/contrib/persian-bib/ieeetr-fa.bst b/biblio/bibtex/contrib/persian-bib/ieeetr-fa.bst
new file mode 100644
index 0000000000..bbb6efa18d
--- /dev/null
+++ b/biblio/bibtex/contrib/persian-bib/ieeetr-fa.bst
@@ -0,0 +1,1257 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Bib. style "ieeetr-fa", Persian (farsi) version of ieeetr.bst
+%%
+%% by: Mahmood Amintoosi and Mostafa Vahedi, m.amintoosi@gmail.com
+%% For XePersian, a Persian Typesetting Package in XeTeX
+%% It may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License (version 1.3c),
+%% either this version of this license or (at your option) any later version.
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% Original Copyright
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ language
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ translator
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.quote after.sentence
+after.quoted.block after.block }
+FUNCTION {is.print.banners.to.terminal} { #1 }
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% FILE VERSION AND BANNER %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION{bst.file.version} { "0.9" }
+FUNCTION{bst.file.date} { "2015/05/09" }
+FUNCTION{bst.file.website} { "http://www.parsilatex.com" }
+FUNCTION{bst.file.authors} {"M.Amintoosi and M.Vahedi" }
+
+FUNCTION {banner.message}
+{ is.print.banners.to.terminal
+ { "-- ieeetr-fa.bst version" " " * bst.file.version *
+ " (" * bst.file.date * ") " * %"by " * bst.file.authors *
+ top$
+ "-- This is a BibTeX style for XePersian: " bst.file.website *
+ %top$
+ %"-- See the " quote$ * "Persian-bib-userguide.pdf" * quote$ * " manual for usage information." *
+ top$
+ }
+ { skip$ }
+ if$
+}
+
+FUNCTION {completed.message}
+{ is.print.banners.to.terminal
+ { ""
+ top$
+ "Done."
+ top$
+ }
+ { skip$ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Persian Functions %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION {fa.isPersianLanguage}
+{
+ language missing$
+ {#0}
+ {language "l" change.case$ "persian" =}
+ if$
+}
+
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The languages selected here is ENGLISH and Farsi
+FUNCTION {bbl.and}
+{
+ fa.isPersianLanguage
+ {" Ùˆ "}
+ {" and "}
+ if$
+}
+
+FUNCTION {bbl.editors}
+{
+fa.isPersianLanguage
+ { " ویراستاران "}
+ {" eds. "}
+if$
+}
+
+FUNCTION {bbl.editor}
+{
+fa.isPersianLanguage
+ { " ویراستار "}
+ {" ed. " }
+if$
+}
+
+FUNCTION {bbl.edby}
+{
+fa.isPersianLanguage
+ { " ویراسته‌ی "}
+ { " edited by " }
+if$
+}
+
+FUNCTION {bbl.edition}
+{
+fa.isPersianLanguage
+ {" ویرایش "}
+ {" ed. " }
+if$
+}
+
+FUNCTION {bbl.volume}
+{
+fa.isPersianLanguage
+ {" جلد "}
+ { " vol."}
+if$
+}
+
+FUNCTION {bbl.of}
+{
+fa.isPersianLanguage
+ { " از "}
+ { " of " }
+if$
+}
+
+FUNCTION {bbl.number}
+{
+fa.isPersianLanguage
+ {" شماره " }
+ { " no." }
+if$
+}
+
+FUNCTION {bbl.nr}
+{
+fa.isPersianLanguage
+ {" شماره "}
+ { " no." }
+if$
+}
+
+FUNCTION {bbl.in}
+{
+fa.isPersianLanguage
+ {" در "}
+ { " in " }
+if$
+}
+
+FUNCTION {bbl.pages}
+{
+fa.isPersianLanguage
+ {" صÙحات "}
+ { " pp." }
+if$
+}
+
+FUNCTION {bbl.page}
+{
+fa.isPersianLanguage
+ {" ص." }
+ { " p." }
+if$
+}
+
+FUNCTION {bbl.chapter}
+{
+fa.isPersianLanguage
+ { " Ùصل " }
+ {" chap." }
+if$
+}
+
+FUNCTION {bbl.techrep}
+{
+fa.isPersianLanguage
+ { " گزارش طرح تحقیقی"}
+ { " Tech. Rep." }
+if$
+}
+
+FUNCTION {bbl.mthesis}
+{
+fa.isPersianLanguage
+ {" پایان‌نامه کارشناسی‌ارشد"}
+ { " Master's thesis" }
+if$
+}
+
+FUNCTION {bbl.phdthesis}
+{
+fa.isPersianLanguage
+ {" پایان‌نامه دکترا" }
+ { " Ph.D. thesis" }
+if$
+}
+
+FUNCTION {bbl.etal}
+{
+ fa.isPersianLanguage
+ {" و دیگران"}
+ {" et~al."}
+ if$
+}
+
+FUNCTION {bbl.translator}
+{
+ fa.isPersianLanguage
+ {"ترجمه‌ی "}
+ {"Translator "}
+ if$
+}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% End of Persian Functions %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.quote :=
+ #3 'after.sentence :=
+ #4 'after.quoted.block :=
+ #5 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.quote =
+{ " " * write$ }
+{ output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+'write$
+{ output.state after.quoted.block =
+ { write$
+ newline$
+ "\newblock " write$
+ }
+ { add.period$ " " * write$ }
+ if$
+}
+ if$
+ }
+ if$
+}
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{
+ newline$
+ fa.isPersianLanguage
+ { skip$ }
+ {
+ "\begin{LTRbibitems}" write$
+ newline$
+ "\resetlatinfont " write$
+ }
+ if$
+ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {blank.sep}
+{ after.quote 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ output.state after.quoted.block =
+ 'skip$
+ 'add.period$
+ if$
+ write$
+ newline$
+ fa.isPersianLanguage
+ {skip$}
+ { newline$
+ "\end{LTRbibitems}" write$
+ newline$
+ }
+ if$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { output.state after.quote =
+{ after.quoted.block 'output.state := }
+{ after.block 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+'skip$
+{ after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { %s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+ fa.isPersianLanguage
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=}
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=}
+ if$
+ nameptr #1 >
+{ namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+{ "," * }
+'skip$
+ if$
+ t "others" =
+{ " {\em" * bbl.etal * "}" * }
+{ bbl.and * t * }
+ if$
+ }
+ if$
+}
+'t
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { fa.isPersianLanguage
+ {
+editor num.names$ #1 >
+{bbl.editors editor format.names * }
+{bbl.editor editor format.names * }
+if$
+}
+{
+ editor format.names
+editor num.names$ #1 >
+{ ", " bbl.editors * *}
+{ ", " bbl.editor * *}
+if$
+}
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.translators}
+{ translator empty$
+ { "" }
+ { fa.isPersianLanguage
+ {
+bbl.translator translator format.names *
+}
+{
+ translator format.names
+", " bbl.translator * *
+}
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+{ fa.isPersianLanguage
+ { "''" title * ",``" * }
+ { "``" title "t" change.case$ * ",''" * }
+ if$
+}
+ if$
+}
+
+FUNCTION {format.title.p}
+{ title empty$
+ { "" }
+{ fa.isPersianLanguage
+ { "''" title * ",``" * }
+ { "``" title "t" change.case$ * ",''" * }
+ if$
+}
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+{ t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+{ "-" *
+ t #2 global.max$ substring$ 't :=
+}
+ while$
+ }
+ if$
+}
+{ t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+}
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+{ "" }
+{ "there's a month but no year in " cite$ * warning$
+ month
+}
+ if$
+ }
+ { month empty$
+'year
+{ month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume *
+ series empty$
+'skip$
+{ bbl.of * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+{ series field.or.null }
+{ output.state mid.sentence =
+ { bbl.number }
+ { bbl.number "t" change.case$ }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { bbl.in * series * }
+ if$
+}
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { fa.isPersianLanguage
+ {
+ bbl.edition edition *
+}
+{
+ output.state mid.sentence =
+ { edition "l" change.case$ bbl.edition * }
+ { edition "t" change.case$ bbl.edition * }
+ if$
+}
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+{ #1 'multiresult := }
+{ t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+{ bbl.pages pages n.dashify * }
+{ bbl.page pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.volume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume * }%M.Amintoosi "vol.~"
+ if$
+}
+
+FUNCTION {format.number}
+{ number empty$
+ { "" }
+ { bbl.number number * }%M.Amintoosi "no.~"
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+{ bbl.chapter }
+{ type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+'skip$
+{ ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { bbl.in booktitle emphasize *
+ editor empty$
+ 'skip$
+ { " (" * format.editors * ")" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ output.state after.block =
+{ type "t" change.case$ }
+{ type "l" change.case$ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { bbl.techrep }
+ 'type
+ if$
+ number empty$
+ { "l" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.addr.pub}
+{ publisher empty$
+ { "" }
+ { address empty$
+{ "" }
+{ address ": " * }
+ if$
+ publisher *
+ }
+ if$
+}
+
+FUNCTION {format.paddress}
+{ address empty$
+ { "" }
+ { "(" address * ")" * }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+{ "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+}
+{ bbl.in "{\em " * journal * "\/}" * }
+ if$
+ }
+ { bbl.in key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " {\em" * bbl.etal * "}" * }
+ { #2 <
+'skip$
+{ editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " {\em" bbl.etal * "}" * }
+ { bbl.and * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+}
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ bbl.in
+ }
+ { bbl.volume volume tie.or.space.connect
+ bbl.of *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+{ series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+}
+{ key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+{ booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { bbl.in "{\em " * booktitle * "\/}" * }
+ if$
+}
+{ bbl.in key * }
+ if$
+ }
+ { bbl.in format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ blank.sep
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.volume output
+ month empty$
+{ format.number output }
+'skip$
+ if$
+ format.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ fa.isPersianLanguage
+ {
+format.authors output
+ new.block
+ format.btitle "title" output.check
+new.block
+ format.translators output
+format.editors output
+ }
+ { author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ }
+ if$
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ format.addr.pub "publisher" output.check
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ title empty$
+ { "empty title in " cite$ * warning$
+ howpublished new.sentence.checka
+ }
+ { howpublished empty$ not
+ address empty$ month empty$ year empty$ and and
+ or
+{ format.title.p output.nonnull }
+{ format.title output.nonnull }
+ if$
+ blank.sep
+ }
+ if$
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ format.addr.pub "publisher" output.check
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ blank.sep
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ format.addr.pub "publisher" output.check
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ blank.sep
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.paddress output
+ format.pages output
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+'skip$
+{ organization output.nonnull
+ address output
+}
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+{ address new.block.checka
+ address output
+}
+'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ blank.sep
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title empty$
+ { howpublished new.sentence.checka }
+ { howpublished empty$ not
+ month empty$ year empty$ and
+ or
+{ format.title.p output.nonnull }
+{ format.title output.nonnull }
+ if$
+ blank.sep
+ }
+ if$
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ format.btitle "title" output.check
+ new.block
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ format.paddress output
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ blank.sep
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title.p "title" output.check
+ blank.sep
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications ACM"}
+
+MACRO {ibmjrd} {"IBM J. Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems~J."}
+
+MACRO {ieeese} {"IEEE Trans. Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Trans. Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Computer-Aided Design"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM J. Computing"}
+
+MACRO {tocs} {"ACM Trans. Computer Systems"}
+
+MACRO {tods} {"ACM Trans. Database Systems"}
+
+MACRO {tog} {"ACM Trans. Graphics"}
+
+MACRO {toms} {"ACM Trans. Mathematical Software"}
+
+MACRO {toois} {"ACM Trans. Office Information Systems"}
+
+MACRO {toplas} {"ACM Trans. Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {banner.message}
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+FUNCTION {begin.bib}
+{
+ "% Generated by ieeetr-fa.bst, version: " bst.file.version * " (" * bst.file.date * "), for XePersian Package" *
+ write$ newline$
+ "% Authors: " bst.file.authors *
+ write$ newline$
+ "\providecommand{\noopsort}[1]{}"
+ write$ newline$
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+EXECUTE{completed.message}
diff --git a/biblio/bibtex/contrib/persian-bib/plain-fa-inLTR-beamer.bst b/biblio/bibtex/contrib/persian-bib/plain-fa-inLTR-beamer.bst
new file mode 100644
index 0000000000..51c9e42cb6
--- /dev/null
+++ b/biblio/bibtex/contrib/persian-bib/plain-fa-inLTR-beamer.bst
@@ -0,0 +1,1404 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Bib. style "plain-fa-inLTR-beamer", Persian (farsi) version of plain.bst
+%%
+%% by: Mahmood Amintoosi, m.amintoosi@gmail.com, www.parsilatex.com
+%% For XePersian, a Persian Typesetting Package in XeTeX
+%% It may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License (version 1.3c),
+%% either this version of this license or (at your option) any later version.
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% Original Copyright
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ language
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ translator
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {is.print.banners.to.terminal} { #1 }
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% FILE VERSION AND BANNER %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION{bst.file.version} { "0.9" }
+FUNCTION{bst.file.date} { "2015/05/09" }
+FUNCTION{bst.file.website} { "http://www.parsilatex.com" }
+FUNCTION{bst.file.authors} {"M.Amintoosi" }
+
+FUNCTION {banner.message}
+{ is.print.banners.to.terminal
+ { "-- plain-fa-inLTR-beamer.bst version" " " * bst.file.version *
+ " (" * bst.file.date * ") " * %"by " * bst.file.authors *
+ top$
+ "-- This is a BibTeX style for XePersian: " bst.file.website *
+ %top$
+ %"-- See the " quote$ * "Persian-bib-userguide.pdf" * quote$ * " manual for usage information." *
+ top$
+ }
+ { skip$ }
+ if$
+}
+
+FUNCTION {completed.message}
+{ is.print.banners.to.terminal
+ { ""
+ top$
+ "Done."
+ top$
+ }
+ { skip$ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Persian Functions %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION {fa.isPersianLanguage}
+{
+ language missing$
+ {#0}
+ {language "l" change.case$ "persian" =}
+ if$
+}
+
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The languages selected here is ENGLISH and Farsi
+FUNCTION {bbl.and}
+{
+ fa.isPersianLanguage
+ {" Ùˆ "}
+ {" and "}
+ if$
+}
+
+FUNCTION {bbl.editors}
+{
+fa.isPersianLanguage
+ { " ویراستاران "}
+ {" editors"}
+if$
+}
+
+FUNCTION {bbl.editor}
+{
+fa.isPersianLanguage
+ { " ویراستار "}
+ {" editor" }
+if$
+}
+
+FUNCTION {bbl.edby}
+{
+fa.isPersianLanguage
+ { " ویراسته‌ی "}
+ { " edited by " }
+if$
+}
+
+FUNCTION {bbl.edition}
+{
+fa.isPersianLanguage
+ {" ویرایش "}
+ {" edition" }
+if$
+}
+
+FUNCTION {bbl.bvolume}
+{
+fa.isPersianLanguage
+ {" جلد "}
+ { "volume"}
+if$
+}
+
+FUNCTION {bbl.volume}
+{
+fa.isPersianLanguage
+ {" جلد "}
+ { "Volume"}
+if$
+}
+
+FUNCTION {bbl.of}
+{
+fa.isPersianLanguage
+ { " از "}
+ { " of " }
+if$
+}
+
+FUNCTION {bbl.number}
+{
+fa.isPersianLanguage
+ {" شماره " }
+ { "number" }
+if$
+}
+
+FUNCTION {bbl.in}
+{
+fa.isPersianLanguage
+ {" در "}
+ { "In " }
+if$
+}
+
+FUNCTION {bbl.inInMid}
+{
+fa.isPersianLanguage
+ {" در "}
+ { " in " }
+if$
+}
+
+FUNCTION {bbl.pages}
+{
+fa.isPersianLanguage
+ {" صÙحات "}
+ { "pages" }
+if$
+}
+
+FUNCTION {bbl.page}
+{
+fa.isPersianLanguage
+ {" صÙحه " }
+ { "page" }
+if$
+}
+
+FUNCTION {bbl.chapter}
+{
+fa.isPersianLanguage
+ { " Ùصل " }
+ {"chapter" }
+if$
+}
+
+FUNCTION {bbl.techrep}
+{
+fa.isPersianLanguage
+ { " گزارش طرح تحقیقی"}
+ { "Technical Report" }
+if$
+}
+
+FUNCTION {bbl.mthesis}
+{
+fa.isPersianLanguage
+ {" پایان‌نامه کارشناسی‌ارشد"}
+ { " Master's thesis" }
+if$
+}
+
+FUNCTION {bbl.phdthesis}
+{
+fa.isPersianLanguage
+ {" پایان‌نامه دکترا" }
+ { "PhD thesis" }
+if$
+}
+
+FUNCTION {bbl.etal}
+{
+ fa.isPersianLanguage
+ {" و دیگران"}
+ {" et~al."}
+ if$
+}
+
+FUNCTION {bbl.translator}
+{
+ fa.isPersianLanguage
+ {"ترجمه‌ی "}
+ {"Translator "}
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% End of Persian Functions %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+{ add.period$ write$
+ newline$
+ fa.isPersianLanguage
+ {"\newRAblock {}" write$ }
+ {"\newblock " write$}
+ if$
+}
+{ output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+}
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{
+ newline$
+ fa.isPersianLanguage
+ {
+ "\begin{RTLbibitems}" write$
+ newline$
+ }
+ { skip$ }
+ if$
+ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ fa.isPersianLanguage
+ {
+ "\Persiantext{" write$
+ newline$
+ }
+ {
+ skip$
+ }
+ if$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+ fa.isPersianLanguage
+ {
+ "}" write$
+ newline$
+ newline$
+ "\end{RTLbibitems}" write$
+ newline$
+ }
+ {skip$}
+ if$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+'skip$
+{ after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {
+ s nameptr "{vv~}{ll}{, jj}{, ff}" format.name$ 't := %{ff~}{vv~}{ll}{, jj}
+ %fa.isPersianLanguage
+ % {s nameptr "{vv~}{ll}{, jj}{, ff}" format.name$ 't := %{ff~}{vv~}{ll}{, jj}
+ % }
+ % {s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't :=
+ %if$
+ nameptr #1 >
+{ namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { bbl.etal * }
+ { bbl.and * t * }
+ if$
+ }
+ if$
+}
+'t
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { fa.isPersianLanguage
+ {
+editor num.names$ #1 >
+{bbl.editors editor format.names * }
+{bbl.editor editor format.names * }
+if$
+}
+{
+ editor format.names
+editor num.names$ #1 >
+{ ", " bbl.editors * *}
+{ ", " bbl.editor * *}
+if$
+}
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.translators}
+{ translator empty$
+ { "" }
+ { fa.isPersianLanguage
+ {
+bbl.translator translator format.names *
+}
+{
+ translator format.names
+", " bbl.translator * *
+}
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+{ t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+{ "-" *
+ t #2 global.max$ substring$ 't :=
+}
+ while$
+ }
+ if$
+}
+{ t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+}
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+{ "" }
+{ "there's a month but no year in " cite$ * warning$
+ month
+}
+ if$
+ }
+ { month empty$
+'year
+{ month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.bvolume volume tie.or.space.connect
+ series empty$
+'skip$
+{ bbl.of * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+{ series field.or.null }
+{ output.state mid.sentence =
+ { bbl.number }
+ { bbl.number "t" change.case$ }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { bbl.inInMid * series * }
+ if$
+}
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { fa.isPersianLanguage
+ {
+ bbl.edition edition *
+}
+{
+ output.state mid.sentence =
+ { edition "l" change.case$ bbl.edition * }
+ { edition "t" change.case$ bbl.edition * }
+ if$
+}
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+{ #1 'multiresult := }
+{ t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { bbl.pages pages n.dashify tie.or.space.connect }
+ { bbl.page pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+{ "there's a number but no volume in " cite$ * warning$ }
+'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+{ pop$ format.pages }
+{ ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+{ bbl.chapter }
+{ type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+'skip$
+{ ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{
+ booktitle empty$
+ { "" }
+ { editor empty$
+ { bbl.in booktitle emphasize * }
+ { bbl.in format.editors * ", " * booktitle emphasize * }
+ if$
+}
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { bbl.techrep }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+{ "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+}
+{ bbl.in "{\em " * journal * "\/}" * }
+ if$
+ }
+ { bbl.in key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$ #2 >
+ { pop$ bbl.etal * }
+ { #2 < 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =%"{ff }{vv }{ll}{ jj}"
+ { bbl.etal * }
+ { bbl.and * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ bbl.in
+ }
+ { bbl.volume volume tie.or.space.connect
+ bbl.of *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+{ series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+}
+{ key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+{ booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { bbl.in " {\em " * booktitle * "\/}" * }
+ if$
+}
+{ bbl.in key * }
+ if$
+ }
+ { bbl.in format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ fa.isPersianLanguage
+ {
+format.authors output
+ new.block
+ format.btitle "title" output.check
+new.block
+ format.translators output
+format.editors output
+ }
+ { author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ }
+ if$
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+{ organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+}
+{ address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+}
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+'skip$
+{ organization output.nonnull
+ address output
+}
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+{ address new.block.checka
+ address output
+}
+'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ bbl.mthesis
+ format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ bbl.phdthesis
+ format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+{ publisher new.sentence.checka }
+{ organization publisher new.sentence.checkb
+ organization output
+}
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+'skip$
+{ organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{
+ fa.isPersianLanguage
+ { "l" change.case$}
+ {purify$ "l" change.case$}
+ if$
+ %duplicate$ write$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { bbl.etal * }
+ %{ t write$ t sortify * t write$ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+{ key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+}
+{ editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+{ key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+}
+{ "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+{ key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+}
+{ "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+'editor.organization.sort
+{ type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+}
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {banner.message}
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{
+ "% Generated by plain-fa-inLTR-beamer.bst, version: " bst.file.version * " (" * bst.file.date * ")" *
+ write$ newline$
+ "% Authors: " bst.file.authors *
+ write$ newline$
+ "\providecommand{\noopsort}[1]{}"
+ write$ newline$
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+EXECUTE{completed.message}
+%% End of file `plain-fa-inLTR-beamer.bst'.
diff --git a/biblio/bibtex/contrib/persian-bib/plain-fa-inLTR.bst b/biblio/bibtex/contrib/persian-bib/plain-fa-inLTR.bst
new file mode 100644
index 0000000000..2afb5a4d96
--- /dev/null
+++ b/biblio/bibtex/contrib/persian-bib/plain-fa-inLTR.bst
@@ -0,0 +1,1401 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Bib. style "plain-fa-inLTR", Persian (farsi) version of plain.bst
+%%
+%% by: Mahmood Amintoosi, m.amintoosi@gmail.com, www.parsilatex.com
+%% For XePersian, a Persian Typesetting Package in XeTeX
+%% It may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License (version 1.3c),
+%% either this version of this license or (at your option) any later version.
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% Original Copyright
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ language
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ translator
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {is.print.banners.to.terminal} { #1 }
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% FILE VERSION AND BANNER %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION{bst.file.version} { "0.9" }
+FUNCTION{bst.file.date} { "2015/05/09" }
+FUNCTION{bst.file.website} { "http://www.parsilatex.com" }
+FUNCTION{bst.file.authors} {"M.Amintoosi" }
+
+FUNCTION {banner.message}
+{ is.print.banners.to.terminal
+ { "-- plain-fa-inLTR.bst version" " " * bst.file.version *
+ " (" * bst.file.date * ") " * %"by " * bst.file.authors *
+ top$
+ "-- This is a BibTeX style for XePersian: " bst.file.website *
+ %top$
+ %"-- See the " quote$ * "Persian-bib-userguide.pdf" * quote$ * " manual for usage information." *
+ top$
+ }
+ { skip$ }
+ if$
+}
+
+FUNCTION {completed.message}
+{ is.print.banners.to.terminal
+ { ""
+ top$
+ "Done."
+ top$
+ }
+ { skip$ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Persian Functions %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION {fa.isPersianLanguage}
+{
+ language missing$
+ {#0}
+ {language "l" change.case$ "persian" =}
+ if$
+}
+
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The languages selected here is ENGLISH and Farsi
+FUNCTION {bbl.and}
+{
+ fa.isPersianLanguage
+ {" Ùˆ "}
+ {" and "}
+ if$
+}
+
+FUNCTION {bbl.editors}
+{
+fa.isPersianLanguage
+ { " ویراستاران "}
+ {" editors"}
+if$
+}
+
+FUNCTION {bbl.editor}
+{
+fa.isPersianLanguage
+ { " ویراستار "}
+ {" editor" }
+if$
+}
+
+FUNCTION {bbl.edby}
+{
+fa.isPersianLanguage
+ { " ویراسته‌ی "}
+ { " edited by " }
+if$
+}
+
+FUNCTION {bbl.edition}
+{
+fa.isPersianLanguage
+ {" ویرایش "}
+ {" edition" }
+if$
+}
+
+FUNCTION {bbl.bvolume}
+{
+fa.isPersianLanguage
+ {" جلد "}
+ { "volume"}
+if$
+}
+
+FUNCTION {bbl.volume}
+{
+fa.isPersianLanguage
+ {" جلد "}
+ { "Volume"}
+if$
+}
+
+FUNCTION {bbl.of}
+{
+fa.isPersianLanguage
+ { " از "}
+ { " of " }
+if$
+}
+
+FUNCTION {bbl.number}
+{
+fa.isPersianLanguage
+ {" شماره " }
+ { "number" }
+if$
+}
+
+FUNCTION {bbl.in}
+{
+fa.isPersianLanguage
+ {" در "}
+ { "In " }
+if$
+}
+
+FUNCTION {bbl.inInMid}
+{
+fa.isPersianLanguage
+ {" در "}
+ { " in " }
+if$
+}
+
+FUNCTION {bbl.pages}
+{
+fa.isPersianLanguage
+ {" صÙحات "}
+ { "pages" }
+if$
+}
+
+FUNCTION {bbl.page}
+{
+fa.isPersianLanguage
+ {" صÙحه " }
+ { "page" }
+if$
+}
+
+FUNCTION {bbl.chapter}
+{
+fa.isPersianLanguage
+ { " Ùصل " }
+ {"chapter" }
+if$
+}
+
+FUNCTION {bbl.techrep}
+{
+fa.isPersianLanguage
+ { " گزارش طرح تحقیقی"}
+ { "Technical Report" }
+if$
+}
+
+FUNCTION {bbl.mthesis}
+{
+fa.isPersianLanguage
+ {" پایان‌نامه کارشناسی‌ارشد"}
+ { " Master's thesis" }
+if$
+}
+
+FUNCTION {bbl.phdthesis}
+{
+fa.isPersianLanguage
+ {" پایان‌نامه دکترا" }
+ { "PhD thesis" }
+if$
+}
+
+FUNCTION {bbl.etal}
+{
+ fa.isPersianLanguage
+ {" و دیگران"}
+ {" et~al."}
+ if$
+}
+
+FUNCTION {bbl.translator}
+{
+ fa.isPersianLanguage
+ {"ترجمه‌ی "}
+ {"Translator "}
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% End of Persian Functions %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+{ add.period$ write$
+ newline$
+ "\newblock " write$
+}
+{ output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+}
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{
+ newline$
+ fa.isPersianLanguage
+ {
+ "\begin{RTLbibitems}" write$
+ newline$
+ }
+ { skip$ }
+ if$
+ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ fa.isPersianLanguage
+ {
+ "\Persiantext{" write$
+ newline$
+ }
+ {
+ skip$
+ }
+ if$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+ fa.isPersianLanguage
+ {
+ "}" write$
+ newline$
+ newline$
+ "\end{RTLbibitems}" write$
+ newline$
+ }
+ {skip$}
+ if$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+'skip$
+{ after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {
+ s nameptr "{vv~}{ll}{, jj}{, ff}" format.name$ 't := %{ff~}{vv~}{ll}{, jj}
+ %fa.isPersianLanguage
+ % {s nameptr "{vv~}{ll}{, jj}{, ff}" format.name$ 't := %{ff~}{vv~}{ll}{, jj}
+ % }
+ % {s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't :=
+ %if$
+ nameptr #1 >
+{ namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { bbl.etal * }
+ { bbl.and * t * }
+ if$
+ }
+ if$
+}
+'t
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { fa.isPersianLanguage
+ {
+editor num.names$ #1 >
+{bbl.editors editor format.names * }
+{bbl.editor editor format.names * }
+if$
+}
+{
+ editor format.names
+editor num.names$ #1 >
+{ ", " bbl.editors * *}
+{ ", " bbl.editor * *}
+if$
+}
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.translators}
+{ translator empty$
+ { "" }
+ { fa.isPersianLanguage
+ {
+bbl.translator translator format.names *
+}
+{
+ translator format.names
+", " bbl.translator * *
+}
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+{ t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+{ "-" *
+ t #2 global.max$ substring$ 't :=
+}
+ while$
+ }
+ if$
+}
+{ t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+}
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+{ "" }
+{ "there's a month but no year in " cite$ * warning$
+ month
+}
+ if$
+ }
+ { month empty$
+'year
+{ month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.bvolume volume tie.or.space.connect
+ series empty$
+'skip$
+{ bbl.of * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+{ series field.or.null }
+{ output.state mid.sentence =
+ { bbl.number }
+ { bbl.number "t" change.case$ }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { bbl.inInMid * series * }
+ if$
+}
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { fa.isPersianLanguage
+ {
+ bbl.edition edition *
+}
+{
+ output.state mid.sentence =
+ { edition "l" change.case$ bbl.edition * }
+ { edition "t" change.case$ bbl.edition * }
+ if$
+}
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+{ #1 'multiresult := }
+{ t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { bbl.pages pages n.dashify tie.or.space.connect }
+ { bbl.page pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+{ "there's a number but no volume in " cite$ * warning$ }
+'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+{ pop$ format.pages }
+{ ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+{ bbl.chapter }
+{ type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+'skip$
+{ ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{
+ booktitle empty$
+ { "" }
+ { editor empty$
+ { bbl.in booktitle emphasize * }
+ { bbl.in format.editors * ", " * booktitle emphasize * }
+ if$
+}
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { bbl.techrep }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+{ "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+}
+{ bbl.in "{\em " * journal * "\/}" * }
+ if$
+ }
+ { bbl.in key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$ #2 >
+ { pop$ bbl.etal * }
+ { #2 < 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =%"{ff }{vv }{ll}{ jj}"
+ { bbl.etal * }
+ { bbl.and * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ bbl.in
+ }
+ { bbl.volume volume tie.or.space.connect
+ bbl.of *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+{ series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+}
+{ key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+{ booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { bbl.in " {\em " * booktitle * "\/}" * }
+ if$
+}
+{ bbl.in key * }
+ if$
+ }
+ { bbl.in format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ fa.isPersianLanguage
+ {
+format.authors output
+ new.block
+ format.btitle "title" output.check
+new.block
+ format.translators output
+format.editors output
+ }
+ { author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ }
+ if$
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+{ organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+}
+{ address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+}
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+'skip$
+{ organization output.nonnull
+ address output
+}
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+{ address new.block.checka
+ address output
+}
+'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ bbl.mthesis
+ format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ bbl.phdthesis
+ format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+{ publisher new.sentence.checka }
+{ organization publisher new.sentence.checkb
+ organization output
+}
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+'skip$
+{ organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{
+ fa.isPersianLanguage
+ { "l" change.case$}
+ {purify$ "l" change.case$}
+ if$
+ %duplicate$ write$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { bbl.etal * }
+ %{ t write$ t sortify * t write$ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+{ key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+}
+{ editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+{ key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+}
+{ "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+{ key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+}
+{ "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+'editor.organization.sort
+{ type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+}
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {banner.message}
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{
+ "% Generated by plain-fa-inLTR.bst, version: " bst.file.version * " (" * bst.file.date * ")" *
+ write$ newline$
+ "% Authors: " bst.file.authors *
+ write$ newline$
+ "\providecommand{\noopsort}[1]{}"
+ write$ newline$
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+EXECUTE{completed.message}
+%% End of file `plain-fa-inLTR.bst'.
diff --git a/biblio/bibtex/contrib/persian-bib/plain-fa.bst b/biblio/bibtex/contrib/persian-bib/plain-fa.bst
new file mode 100644
index 0000000000..79e2f09d84
--- /dev/null
+++ b/biblio/bibtex/contrib/persian-bib/plain-fa.bst
@@ -0,0 +1,1390 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Bib. style "plain-fa", Persian (farsi) version of plain.bst
+%%
+%% by: Mahmood Amintoosi and Mostafa Vahedi
+%% For XePersian, a Persian Typesetting Package in XeTeX
+%% It may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License (version 1.3c),
+%% either this version of this license or (at your option) any later version.
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% Original Copyright
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ language
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ translator
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {is.print.banners.to.terminal} { #1 }
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% FILE VERSION AND BANNER %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION{bst.file.version} { "0.9" }
+FUNCTION{bst.file.date} { "2015/05/09" }
+FUNCTION{bst.file.website} { "http://www.parsilatex.com" }
+FUNCTION{bst.file.authors} {"M.Amintoosi and M.Vahedi" }
+
+FUNCTION {banner.message}
+{ is.print.banners.to.terminal
+ { "-- plain-fa.bst version" " " * bst.file.version *
+ " (" * bst.file.date * ") " * %"by " * bst.file.authors *
+ top$
+ "-- This is a BibTeX style for XePersian: " bst.file.website *
+ %top$
+ %"-- See the " quote$ * "Persian-bib-userguide.pdf" * quote$ * " manual for usage information." *
+ top$
+ }
+ { skip$ }
+ if$
+}
+
+FUNCTION {completed.message}
+{ is.print.banners.to.terminal
+ { ""
+ top$
+ "Done."
+ top$
+ }
+ { skip$ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Persian Functions %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION {fa.isPersianLanguage}
+{
+ language missing$
+ {#0}
+ {language "l" change.case$ "persian" =}
+ if$
+}
+
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The languages selected here is ENGLISH and Farsi
+FUNCTION {bbl.and}
+{
+ fa.isPersianLanguage
+ {" Ùˆ "}
+ {" and "}
+ if$
+}
+
+FUNCTION {bbl.editors}
+{
+fa.isPersianLanguage
+ { " ویراستاران "}
+ {" editors"}
+if$
+}
+
+FUNCTION {bbl.editor}
+{
+fa.isPersianLanguage
+ { " ویراستار "}
+ {" editor" }
+if$
+}
+
+FUNCTION {bbl.edby}
+{
+fa.isPersianLanguage
+ { " ویراسته‌ی "}
+ { " edited by " }
+if$
+}
+
+FUNCTION {bbl.edition}
+{
+fa.isPersianLanguage
+ {" ویرایش "}
+ {" edition" }
+if$
+}
+
+FUNCTION {bbl.bvolume}
+{
+fa.isPersianLanguage
+ {" جلد "}
+ { "volume"}
+if$
+}
+
+FUNCTION {bbl.volume}
+{
+fa.isPersianLanguage
+ {" جلد "}
+ { "Volume"}
+if$
+}
+
+FUNCTION {bbl.of}
+{
+fa.isPersianLanguage
+ { " از "}
+ { " of " }
+if$
+}
+
+FUNCTION {bbl.number}
+{
+fa.isPersianLanguage
+ {" شماره " }
+ { "number" }
+if$
+}
+
+FUNCTION {bbl.in}
+{
+fa.isPersianLanguage
+ {" در "}
+ { "In " }
+if$
+}
+
+FUNCTION {bbl.inInMid}
+{
+fa.isPersianLanguage
+ {" در "}
+ { " in " }
+if$
+}
+
+FUNCTION {bbl.pages}
+{
+fa.isPersianLanguage
+ {" صÙحات "}
+ { "pages" }
+if$
+}
+
+FUNCTION {bbl.page}
+{
+fa.isPersianLanguage
+ {" صÙحه " }
+ { "page" }
+if$
+}
+
+FUNCTION {bbl.chapter}
+{
+fa.isPersianLanguage
+ { " Ùصل " }
+ {"chapter" }
+if$
+}
+
+FUNCTION {bbl.techrep}
+{
+fa.isPersianLanguage
+ { " گزارش طرح تحقیقی"}
+ { "Technical Report" }
+if$
+}
+
+FUNCTION {bbl.mthesis}
+{
+fa.isPersianLanguage
+ {" پایان‌نامه کارشناسی‌ارشد"}
+ { "Master's thesis" }
+if$
+}
+
+FUNCTION {bbl.phdthesis}
+{
+fa.isPersianLanguage
+ {" پایان‌نامه دکترا" }
+ { "PhD thesis" }
+if$
+}
+
+FUNCTION {bbl.etal}
+{
+ fa.isPersianLanguage
+ {" و دیگران"}
+ {" et~al."}
+ if$
+}
+
+FUNCTION {bbl.translator}
+{
+ fa.isPersianLanguage
+ {"ترجمه‌ی "}
+ {"Translator "}
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% End of Persian Functions %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+{ add.period$ write$
+ newline$
+ "\newblock " write$
+}
+{ output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+}
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{
+ newline$
+ fa.isPersianLanguage
+ { skip$ }
+ {
+ "\begin{LTRbibitems}" write$
+ newline$
+ "\resetlatinfont " write$
+ }
+ if$
+ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+ fa.isPersianLanguage
+ {skip$}
+ { newline$
+ "\end{LTRbibitems}" write$
+ newline$
+ }
+ if$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+'skip$
+{ after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {
+ s nameptr "{vv~}{ll}{, jj}{, ff}" format.name$ 't := %{ff~}{vv~}{ll}{, jj}
+ %fa.isPersianLanguage
+ % {s nameptr "{vv~}{ll}{, jj}{, ff}" format.name$ 't := %{ff~}{vv~}{ll}{, jj}
+ % }
+ % {s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't :=
+ %if$
+ nameptr #1 >
+{ namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { bbl.etal * }
+ { bbl.and * t * }
+ if$
+ }
+ if$
+}
+'t
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { fa.isPersianLanguage
+ {
+editor num.names$ #1 >
+{bbl.editors editor format.names * }
+{bbl.editor editor format.names * }
+if$
+}
+{
+ editor format.names
+editor num.names$ #1 >
+{ ", " bbl.editors * *}
+{ ", " bbl.editor * *}
+if$
+}
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.translators}
+{ translator empty$
+ { "" }
+ { fa.isPersianLanguage
+ {
+bbl.translator translator format.names *
+}
+{
+ translator format.names
+", " bbl.translator * *
+}
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+{ t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+{ "-" *
+ t #2 global.max$ substring$ 't :=
+}
+ while$
+ }
+ if$
+}
+{ t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+}
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+{ "" }
+{ "there's a month but no year in " cite$ * warning$
+ month
+}
+ if$
+ }
+ { month empty$
+'year
+{ month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.bvolume volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { bbl.of * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+{ series field.or.null }
+{ output.state mid.sentence =
+ { bbl.number }
+ { bbl.number "t" change.case$ }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { bbl.inInMid * series * }
+ if$
+}
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { fa.isPersianLanguage
+ {
+ bbl.edition edition *
+}
+{
+ output.state mid.sentence =
+ { edition "l" change.case$ bbl.edition * }
+ { edition "t" change.case$ bbl.edition * }
+ if$
+}
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+{ #1 'multiresult := }
+{ t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { bbl.pages pages n.dashify tie.or.space.connect }
+ { bbl.page pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+{ "there's a number but no volume in " cite$ * warning$ }
+'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+{ pop$ format.pages }
+{ ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+{ bbl.chapter }
+{ type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+'skip$
+{ ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{
+ booktitle empty$
+ { "" }
+ { editor empty$
+ { bbl.in booktitle emphasize * }
+ { bbl.in format.editors * ", " * booktitle emphasize * }
+ if$
+}
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { bbl.techrep }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+{ "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+}
+{ bbl.in "{\em " * journal * "\/}" * }
+ if$
+ }
+ { bbl.in key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$ #2 >
+ { pop$ bbl.etal * }
+ { #2 < 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =%"{ff }{vv }{ll}{ jj}"
+ { bbl.etal * }
+ { bbl.and * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ bbl.in
+ }
+ { bbl.volume volume tie.or.space.connect
+ bbl.of *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+{ series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+}
+{ key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+{ booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { bbl.in " {\em " * booktitle * "\/}" * }
+ if$
+}
+{ bbl.in key * }
+ if$
+ }
+ { bbl.in format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ fa.isPersianLanguage
+ {
+format.authors output
+ new.block
+ format.btitle "title" output.check
+new.block
+ format.translators output
+format.editors output
+ }
+ { author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ }
+ if$
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+{ organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+}
+{ address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+}
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+'skip$
+{ organization output.nonnull
+ address output
+}
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+{ address new.block.checka
+ address output
+}
+'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ bbl.mthesis
+ format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ bbl.phdthesis
+ format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+{ publisher new.sentence.checka }
+{ organization publisher new.sentence.checkb
+ organization output
+}
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+'skip$
+{ organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{
+ fa.isPersianLanguage
+ { "l" change.case$}
+ {purify$ "l" change.case$}
+ if$
+ %duplicate$ write$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { bbl.etal * }
+ %{ t write$ t sortify * t write$ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+{ key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+}
+{ editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+{ key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+}
+{ "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+{ key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+}
+{ "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+'editor.organization.sort
+{ type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+}
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {banner.message}
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{
+ "% Generated by plain-fa.bst, version: " bst.file.version * " (" * bst.file.date * "), for XePersian Package" *
+ write$ newline$
+ "% Authors: " bst.file.authors *
+ write$ newline$
+ "\providecommand{\noopsort}[1]{}"
+ write$ newline$
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+EXECUTE{completed.message}
+%% End of file `plain-fa.bst'.
diff --git a/biblio/bibtex/contrib/persian-bib/plainnat-fa.bst b/biblio/bibtex/contrib/persian-bib/plainnat-fa.bst
new file mode 100644
index 0000000000..115a67fa47
--- /dev/null
+++ b/biblio/bibtex/contrib/persian-bib/plainnat-fa.bst
@@ -0,0 +1,1917 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Bib. style "plainnat-fa", Persian (farsi) version of plainnat.bst
+%%
+%% by: Mahmood Amintoosi, m.amintoosi@gmail.com, www.parsilatex.com
+
+%% For XePersian, a Persian Typesetting Package in XeTeX
+%% It may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License (version 1.3c),
+%% either this version of this license or (at your option) any later version.
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% Original Copyright
+%% File: `plainnat.bst'
+%% A modification of `plain.bst' for use with natbib package
+%%
+%% Copyright 1993-2007 Patrick W Daly
+%% Max-Planck-Institut f\"ur Sonnensystemforschung
+%% Max-Planck-Str. 2
+%% D-37191 Katlenburg-Lindau
+%% Germany
+%% E-mail: daly@mps.mpg.de
+%%
+%% This program can be redistributed and/or modified under the terms
+%% of the LaTeX Project Public License Distributed from CTAN
+%% archives in directory macros/latex/base/lppl.txt; either
+%% version 1 of the License, or any later version.
+%%
+ % Version and source file information:
+ % \ProvidesFile{natbst.mbs}[2007/11/26 1.93 (PWD)]
+ %
+ % BibTeX `plainnat' family
+ % version 0.99b for BibTeX versions 0.99a or later,
+ % for LaTeX versions 2.09 and 2e.
+ %
+ % For use with the `natbib.sty' package; emulates the corresponding
+ % member of the `plain' family, but with author-year citations.
+ %
+ % With version 6.0 of `natbib.sty', it may also be used for numerical
+ % citations, while retaining the commands \citeauthor, \citefullauthor,
+ % and \citeyear to print the corresponding information.
+ %
+ % For version 7.0 of `natbib.sty', the KEY field replaces missing
+ % authors/editors, and the date is left blank in \bibitem.
+ %
+ % Includes field EID for the sequence/citation number of electronic journals
+ % which is used instead of page numbers.
+ %
+ % Includes fields ISBN and ISSN.
+ %
+ % Includes field URL for Internet addresses.
+ %
+ % Includes field DOI for Digital Object Idenfifiers.
+ %
+ % Works best with the url.sty package of Donald Arseneau.
+ %
+ % Works with identical authors and year are further sorted by
+ % citation key, to preserve any natural sequence.
+ %
+
+ENTRY
+ { address
+ author
+ authorfa
+ booktitle
+ chapter
+ doi
+ eid
+ edition
+ editor
+ howpublished
+ institution
+ isbn
+ issn
+ journal
+ key
+ language
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ translator
+ type
+ url
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block fa.isInLabel}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Persian Functions %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION {fa.isPersianLanguage}
+{
+ language missing$
+ {#0}
+ {language "l" change.case$ "persian" =}
+ if$
+}
+
+% Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The languages selected here is ENGLISH and Farsi
+FUNCTION {bbl.and}
+{
+fa.isInLabel
+{" Ùˆ "}% If authorfa exists
+{
+ fa.isPersianLanguage
+ {" Ùˆ "}
+ {" and "}
+ if$
+}
+if$
+}
+
+FUNCTION {bbl.editors}
+{
+fa.isPersianLanguage
+ { " ویراستاران "}
+ { " editors"}
+if$
+}
+
+FUNCTION {bbl.editor}
+{
+fa.isPersianLanguage
+ { "ویراستار "}
+ { " editor" }
+if$
+}
+
+FUNCTION {bbl.edby}
+{
+fa.isPersianLanguage
+ { " ویراسته‌ی "}
+ { " edited by " }
+if$
+}
+
+FUNCTION {bbl.edition}
+{
+fa.isPersianLanguage
+ {" ویرایش "}
+ {" edition" }
+if$
+}
+
+FUNCTION {bbl.bvolume}
+{
+fa.isPersianLanguage
+ {" جلد "}
+ { "volume"}
+if$
+}
+
+FUNCTION {bbl.volume}
+{
+fa.isPersianLanguage
+ {" جلد "}
+ { "Volume"}
+if$
+}
+
+FUNCTION {bbl.of}
+{
+fa.isPersianLanguage
+ { " از "}
+ { " of " }
+if$
+}
+
+FUNCTION {bbl.number}
+{
+fa.isPersianLanguage
+ {" شماره " }
+ { "number" }
+if$
+}
+
+FUNCTION {bbl.in}
+{
+fa.isPersianLanguage
+ {" در "}
+ { " in " }
+
+if$
+}
+
+FUNCTION {bbl.inInMid}
+{
+fa.isPersianLanguage
+ {" در "}
+ { "In " }
+
+if$
+}
+
+FUNCTION {bbl.pages}
+{
+fa.isPersianLanguage
+ {" صÙحات "}
+ { "pages" }
+if$
+}
+
+FUNCTION {bbl.page}
+{
+fa.isPersianLanguage
+ {" صÙحه " }
+ { "page" }
+if$
+}
+
+FUNCTION {bbl.chapter}
+{
+fa.isPersianLanguage
+ { " Ùصل " }
+ {"chapter" }
+if$
+}
+
+FUNCTION {bbl.techrep}
+{
+fa.isPersianLanguage
+ { " گزارش طرح تحقیقی"}
+ { "Technical Report" }
+if$
+}
+
+FUNCTION {bbl.mthesis}
+{
+fa.isPersianLanguage
+ {" پایان‌نامه کارشناسی‌ارشد"}
+ { " Master's thesis" }
+if$
+}
+
+FUNCTION {bbl.phdthesis}
+{
+fa.isPersianLanguage
+ {" پایان‌نامه دکترا" }
+ { " PhD thesis" }
+if$
+}
+
+FUNCTION {bbl.first}
+{ "1st" }
+
+FUNCTION {bbl.second}
+{ "2nd" }
+
+FUNCTION {bbl.third}
+{ "3rd" }
+
+FUNCTION {bbl.fourth}
+{ "4th" }
+
+FUNCTION {bbl.fifth}
+{ "5th" }
+
+FUNCTION {bbl.st}
+{ "st" }
+
+FUNCTION {bbl.nd}
+{ "nd" }
+
+FUNCTION {bbl.rd}
+{ "rd" }
+
+FUNCTION {bbl.th}
+{ "th" }
+
+% Added by M.Amintoosi
+FUNCTION {bbl.etal}
+{
+fa.isInLabel
+{" و دیگران"}% If authorfa exists
+{
+ fa.isPersianLanguage
+ {" و دیگران"}
+ {" et~al."}
+ if$
+}
+if$
+}
+
+FUNCTION {bbl.translator}
+{
+fa.isPersianLanguage
+ { " ترجمه‌ی "}
+ {" Translated by "}
+
+if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% End of Persian Functions %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+ fa.isPersianLanguage
+ {skip$}
+ { newline$
+ "\end{LTRbibitems}" write$
+ newline$
+ }
+ if$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+
+
+
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+
+
+
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { bbl.etal * }
+ { bbl.and * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ {fa.isPersianLanguage
+ {editor num.names$ #1 >
+
+
+ {bbl.editors editor format.names * }
+ {bbl.editor editor format.names * }
+ if$
+ }
+ {
+ editor format.names
+ editor num.names$ #1 >
+ { ", " bbl.editors * *}
+ { ", " bbl.editor * *}
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.translators}
+{ translator empty$
+ { "" }
+ { fa.isPersianLanguage
+ {
+ bbl.translator translator format.names *
+ }
+ {
+ translator format.names
+ ", " bbl.translator * *
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.isbn}
+{ isbn empty$
+ { "" }
+ { new.block "ISBN " isbn * }
+ if$
+}
+
+FUNCTION {format.issn}
+{ issn empty$
+ { "" }
+ { new.block "ISSN " issn * }
+ if$
+}
+
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ {
+ fa.isPersianLanguage
+ {new.block "\url{" url * "}" * }
+ {new.block "URL \url{" url * "}" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.doi}
+{ doi empty$
+ { "" }
+ { new.block "\doi{" doi * "}" * }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {format.full.names}
+{'s :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { bbl.etal * }
+ { bbl.and * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.full}
+{ author empty$
+ { editor empty$
+ { "" }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.full}
+{ author empty$
+ { "" }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.full}
+{ editor empty$
+ { "" }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.full
+ { type$ "proceedings" =
+ 'editor.full
+ 'author.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{
+ #0 'fa.isInLabel := %Initialize fa.isInLabel
+ newline$
+ fa.isPersianLanguage
+ { skip$ }
+ {
+ "\begin{LTRbibitems}" write$
+ newline$
+ "\resetlatinfont " write$
+ }
+ if$
+ newline$
+ "\bibitem[" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year duplicate$ empty$
+
+
+
+ { "empty year in " cite$ * warning$
+ pop$ "" }
+ 'skip$
+
+
+ if$
+ month empty$
+ 'skip$
+ { month
+ " " * swap$ *
+ }
+
+
+
+ if$
+ extra.label *
+}
+
+
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.bvolume volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { bbl.of * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number "t" change.case$ }
+
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { bbl.inInMid * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{edition empty$
+ { "" }
+
+ { fa.isPersianLanguage
+ {
+ bbl.edition edition *
+}
+{
+ output.state mid.sentence =
+ { edition "l" change.case$ bbl.edition * }
+ { edition "t" change.case$ bbl.edition * }
+ if$
+}
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { bbl.pages pages n.dashify tie.or.space.connect }
+ { bbl.page pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.eid}
+{ eid empty$
+ { "" }
+ { "art." eid tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "\penalty0 (" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":\penalty0 " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.eid}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "\penalty0 (" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ eid empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.eid }
+ { ":\penalty0 " * eid * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+
+
+ { "" }
+ { editor empty$
+ { bbl.in booktitle emphasize * }
+ { bbl.in format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { bbl.techrep }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { bbl.in "\emph{" * journal * "}" * }
+ if$
+ }
+ { bbl.in }
+ if$
+ " \citet{" * crossref * "}" *
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ bbl.in
+ }
+ { bbl.volume volume tie.or.space.connect
+ bbl.of *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "\emph{" * series * "}" * }
+
+ if$
+ }
+ 'skip$
+
+ if$
+ }
+ 'skip$
+
+ if$
+ " \citet{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { bbl.in "\emph{" * booktitle * "}" * }
+ if$
+ }
+ { bbl.in }
+ if$
+ }
+ { bbl.in }
+ if$
+ " \citet{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ eid empty$
+ { format.vol.num.pages output }
+ { format.vol.num.eid output }
+ if$
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ eid empty$
+ { format.pages output }
+ { format.eid output }
+ if$
+ }
+ if$
+ format.issn output
+ format.doi output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+
+fa.isPersianLanguage
+ {
+ format.authors output
+ author format.key output
+ new.block
+ format.btitle "title" output.check
+ new.block
+ format.translators output
+ format.editors output
+ }
+ { author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ }
+ if$
+
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ format.isbn output
+ format.doi output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ format.isbn output
+ format.doi output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ format.isbn output
+ format.doi output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.isbn output
+ format.doi output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.isbn output
+ format.doi output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+
+
+
+
+
+
+
+
+ author format.key output
+
+ new.block
+ format.btitle "title" output.check
+
+
+
+
+
+
+
+
+ organization address new.block.checkb
+ organization output
+ address output
+
+
+ format.edition output
+ format.date output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ bbl.mthesis
+ format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ format.issn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.btitle "title" output.check
+ new.block
+ bbl.phdthesis
+ format.thesis.type output.nonnull
+
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+
+
+ format.editors output
+ editor format.key output
+
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output
+
+
+
+
+
+
+
+ format.date "year" output.check
+
+
+
+ new.sentence
+ organization output
+
+
+
+
+ publisher output
+ format.isbn output
+ format.doi output
+ format.url output
+
+
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ format.url output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+
+READ
+
+FUNCTION {sortify}
+{
+ fa.isPersianLanguage
+ { "l" change.case$}
+ {purify$ "l" change.case$}
+
+ if$
+ %duplicate$ write$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ authorfa empty$
+ {
+ %skip$
+ #0 'fa.isInLabel :=
+ }
+ {% If authorfa exists
+ authorfa 's :=
+ #1 'fa.isInLabel :=
+ }
+ if$
+
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ bbl.etal * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { bbl.etal * }
+ { bbl.and * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+ #0 'fa.isInLabel := %reset fa.isInLabel
+}
+
+FUNCTION {author.key.label}
+{
+ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{
+ author empty$
+ { editor empty$
+ { key empty$
+ { "no key, author, or editor in " cite$ * warning$
+ cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" * }
+ { numnames #2 > nameptr #2 = and
+ { "zz" * year field.or.null * " " * }
+
+ 'skip$
+ if$
+ t sortify *
+ }
+ if$
+ }
+
+
+
+
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ cite$
+
+
+ *
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num number.label }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+
+
+
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {bib.sort.order}
+{ sort.label 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT
+
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\providecommand{\natexlab}[1]{#1}"
+ write$ newline$
+ "\providecommand{\url}[1]{\texttt{#1}}"
+ write$ newline$
+ "\expandafter\ifx\csname urlstyle\endcsname\relax"
+
+
+ write$ newline$
+ " \providecommand{\doi}[1]{doi: #1}\else"
+
+ write$ newline$
+ " \providecommand{\doi}{doi: \begingroup \urlstyle{rm}\Url}\fi"
+
+ write$ newline$
+
+
+
+
+
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+
+
diff --git a/biblio/bibtex/contrib/persian-bib/unsrt-fa.bst b/biblio/bibtex/contrib/persian-bib/unsrt-fa.bst
new file mode 100644
index 0000000000..167a333665
--- /dev/null
+++ b/biblio/bibtex/contrib/persian-bib/unsrt-fa.bst
@@ -0,0 +1,1225 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Bib. style "usrt-fa", Persian (farsi) version of unsrt.bst
+%%
+%% by: Mahmood Amintoosi and Mostafa Vahedi, m.amintoosi@gmail.com
+%% For XePersian, a Persian Typesetting Package in XeTeX
+%% It may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License (version 1.3c),
+%% either this version of this license or (at your option) any later version.
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Original Copyright
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+language
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+translator
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {is.print.banners.to.terminal} { #1 }
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% FILE VERSION AND BANNER %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION{bst.file.version} { "0.9" }
+FUNCTION{bst.file.date} { "2015/05/09" }
+FUNCTION{bst.file.website} { "http://www.parsilatex.com" }
+FUNCTION{bst.file.authors} {"M.Amintoosi and M.Vahedi" }
+
+FUNCTION {banner.message}
+{ is.print.banners.to.terminal
+ { "-- unsrt-fa.bst version" " " * bst.file.version *
+ " (" * bst.file.date * ") " * %"by " * bst.file.authors *
+ top$
+ "-- This is a BibTeX style for XePersian: " bst.file.website *
+ %top$
+ %"-- See the " quote$ * "Persian-bib-userguide.pdf" * quote$ * " manual for usage information." *
+ top$
+ }
+ { skip$ }
+ if$
+}
+
+FUNCTION {completed.message}
+{ is.print.banners.to.terminal
+ { ""
+ top$
+ "Done."
+ top$
+ }
+ { skip$ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Persian Functions %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION {fa.isPersianLanguage}
+{
+ language missing$
+ {#0}
+ {language "l" change.case$ "persian" =}
+ if$
+}
+
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The languages selected here is ENGLISH and Farsi
+FUNCTION {bbl.and}
+{
+ fa.isPersianLanguage
+ {" Ùˆ "}
+ {" and "}
+ if$
+}
+
+FUNCTION {bbl.editors}
+{
+fa.isPersianLanguage
+ { " ویراستاران "}
+ {" eds. "}
+if$
+}
+
+FUNCTION {bbl.editor}
+{
+fa.isPersianLanguage
+ { " ویراستار "}
+ {" ed. " }
+if$
+}
+
+FUNCTION {bbl.edby}
+{
+fa.isPersianLanguage
+ { " ویراسته‌ی "}
+ { " edited by " }
+if$
+}
+
+FUNCTION {bbl.edition}
+{
+fa.isPersianLanguage
+ {" ویرایش "}
+ {" ed. " }
+if$
+}
+
+FUNCTION {bbl.volume}
+{
+fa.isPersianLanguage
+ {" جلد "}
+ { " vol."}
+if$
+}
+
+FUNCTION {bbl.of}
+{
+fa.isPersianLanguage
+ { " از "}
+ { " of " }
+if$
+}
+
+FUNCTION {bbl.number}
+{
+fa.isPersianLanguage
+ {" شماره " }
+ { " no." }
+if$
+}
+
+FUNCTION {bbl.nr}
+{
+fa.isPersianLanguage
+ {" شماره "}
+ { " no." }
+if$
+}
+
+FUNCTION {bbl.in}
+{
+fa.isPersianLanguage
+ {" در "}
+ { " in " }
+if$
+}
+
+FUNCTION {bbl.pages}
+{
+fa.isPersianLanguage
+ {" صÙحات "}
+ { " pp." }
+if$
+}
+
+FUNCTION {bbl.page}
+{
+fa.isPersianLanguage
+ {" ص." }
+ { " p." }
+if$
+}
+
+FUNCTION {bbl.chapter}
+{
+fa.isPersianLanguage
+ { " Ùصل " }
+ {" chap." }
+if$
+}
+
+FUNCTION {bbl.techrep}
+{
+fa.isPersianLanguage
+ { " گزارش طرح تحقیقی"}
+ { " Tech. Rep." }
+if$
+}
+
+FUNCTION {bbl.mthesis}
+{
+fa.isPersianLanguage
+ {" پایان‌نامه کارشناسی‌ارشد"}
+ { " Master's thesis" }
+if$
+}
+
+FUNCTION {bbl.phdthesis}
+{
+fa.isPersianLanguage
+ {" پایان‌نامه دکترا" }
+ { " Ph.D. thesis" }
+if$
+}
+
+FUNCTION {bbl.etal}
+{
+ fa.isPersianLanguage
+ {" و دیگران"}
+ {" et~al."}
+ if$
+}
+
+FUNCTION {bbl.translator}
+{
+ fa.isPersianLanguage
+ {"ترجمه‌ی "}
+ {"Translator "}
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% End of Persian Functions %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+{ add.period$ write$
+ newline$
+ "\newblock " write$
+}
+{ output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+}
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ fa.isPersianLanguage
+ { skip$ }
+ {
+ "\begin{LTRbibitems}" write$
+ newline$
+ "\resetlatinfont " write$
+ }
+ if$
+ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+ fa.isPersianLanguage
+ {skip$}
+ { newline$
+ "\end{LTRbibitems}" write$
+ newline$
+ }
+ if$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+'skip$
+{ after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, ff}" format.name$ 't := %{ff}{vv~}{ll}{, jj}
+ nameptr #1 >
+{ namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+{ "," * }
+'skip$
+ if$
+ t "others" =
+ { bbl.etal * }
+ { bbl.and * t * }
+ if$
+}
+ if$
+}
+'t
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { fa.isPersianLanguage
+ {
+editor num.names$ #1 >
+{bbl.editors editor format.names * }
+{bbl.editor editor format.names * }
+if$
+}
+{
+ editor format.names
+editor num.names$ #1 >
+{ ", " bbl.editors * *}
+{ ", " bbl.editor * *}
+if$
+}
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.translators}
+{ translator empty$
+ { "" }
+ { fa.isPersianLanguage
+ {
+bbl.translator translator format.names *
+}
+{
+ translator format.names
+", " bbl.translator * *
+}
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+{ t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+{ "-" *
+ t #2 global.max$ substring$ 't :=
+}
+ while$
+ }
+ if$
+}
+{ t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+}
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+{ "" }
+{ "there's a month but no year in " cite$ * warning$
+ month
+}
+ if$
+ }
+ { month empty$
+'year
+{ month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { bbl.of * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+{ series field.or.null }
+{ output.state mid.sentence =
+ { bbl.number }
+ { bbl.number "t" change.case$ }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { bbl.in * series * }
+ if$
+}
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { fa.isPersianLanguage
+ {
+ bbl.edition edition *
+}
+{
+ output.state mid.sentence =
+ { edition "l" change.case$ bbl.edition * }
+ { edition "t" change.case$ bbl.edition * }
+ if$
+}
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+{ #1 'multiresult := }
+{ t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+{ pages multi.page.check
+ { bbl.pages pages n.dashify tie.or.space.connect }
+ { bbl.page pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+{ bbl.chapter }
+{ type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+'skip$
+{ ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{
+ booktitle empty$
+ { "" }
+ { editor empty$
+ { bbl.in booktitle emphasize * }
+ { bbl.in format.editors * ", " * booktitle emphasize * }
+ if$
+}
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { bbl.techrep }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+{ "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+}
+{ bbl.in "{\em " * journal * "\/}" * }
+ if$
+ }
+ { bbl.in key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$ #2 >
+ { pop$ bbl.etal * }
+ { #2 < 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { bbl.etal * }
+ { bbl.and * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ bbl.in
+ }
+ { bbl.volume volume tie.or.space.connect
+ bbl.of *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+{ series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+}
+{ key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+{ booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { bbl.in " {\em " * booktitle * "\/}" * }
+ if$
+}
+{ bbl.in key * }
+ if$
+ }
+ { bbl.in format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ fa.isPersianLanguage
+ {
+format.authors output
+ new.block
+ format.btitle "title" output.check
+new.block
+ format.translators output
+format.editors output
+ }
+ { author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ }
+ if$
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+{ "author and editor" editor either.or.check }
+'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+{ organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+}
+{ address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+}
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+'skip$
+{ organization output.nonnull
+ address output
+}
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+{ address new.block.checka
+ address output
+}
+'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ bbl.mthesis
+ format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ bbl.phdthesis
+ format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+{ publisher new.sentence.checka }
+{ organization publisher new.sentence.checkb
+ organization output
+}
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+'skip$
+{ organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {banner.message}
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{
+ "% Generated by unsrt-fa.bst, version: " bst.file.version * " (" * bst.file.date * "), for XePersian Package" *
+ write$ newline$
+ "% Authors: " bst.file.authors *
+ write$ newline$
+ "\providecommand{\noopsort}[1]{}"
+ write$ newline$
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+EXECUTE{completed.message}
+%% End of file `unsrt-fa.bst'.
diff --git a/biblio/bibtex/contrib/phy-bstyles/README b/biblio/bibtex/contrib/phy-bstyles/README
new file mode 100644
index 0000000000..773d88d0cf
--- /dev/null
+++ b/biblio/bibtex/contrib/phy-bstyles/README
@@ -0,0 +1,46 @@
+This directory contains a collection of BibTeX style files for various
+physics journals due to Charles Karney (Karney@Princeton.EDU). The
+compilation of this archive and some extensions to the physj* files were
+done by Hans-Hermann Bode (HHBODE@DOSUNI1.BITNET).
+
+Herein are the following files:
+
+./README this file
+./physics.btx master file for creating the bst files
+./physjful.btx full journal names, to be included in physics.btx
+./physjabb.btx abbreviated journal names, to be included in physics.btx
+./physjful.bib full journal names, for use with other BibTeX styles
+./physjabb.bib abbreviated journal names, for use with other BibTeX styles
+./cpp.el preprocessor for GNU-Emacs to generate the bst files from
+ physics.btx
+./aip.bst BibTeX style for American Institute of Physics journals
+./aip.sty associated LaTeX document style
+./cpc.bst BibTeX style for Computer Physics Communications
+./iaea.bst BibTeX style for IAEA conferences
+./jcp.bst BibTeX style for the Journal of Computational Physics
+./nf.bst BibTeX style for Nuclear Fusion
+./nf.sty associated LaTeX document style
+./nflet.bst BibTeX style for Nuclear Fusion Letters
+./pf.bst BibTeX style for Physics of Fluids
+./ppcf.bst a physics version of the apalike BibTeX style
+./report.bst BibTeX style for internal reports
+./rmp.bst BibTeX style for Reviews of Modern Physics
+
+To use the styles, copy all *.bst files needed into a directory where BibTeX
+looks for style files. This will usually be a directory in the TEXINPUT(S)
+path, i.e., in the same path where TeX looks for its input files.
+
+In addition, if appropriate, copy the *.sty files into a directory where TeX
+looks for its input files, see above.
+
+For use of the physj*.bib files with other BibTeX styles, copy them into a
+directory where BibTeX looks for bibliography databases. This will usually
+be a directory in the BIBINPUT(S) path.
+
+If you want to re-generate the *.bst files from physics.btx, change the line
+
+#include "physics-journal-abbrev.btx"
+
+to include one of the physj*.btx files.
+
+ --H2B
diff --git a/biblio/bibtex/contrib/phy-bstyles/aip.bst b/biblio/bibtex/contrib/phy-bstyles/aip.bst
new file mode 100644
index 0000000000..b56fa526c7
--- /dev/null
+++ b/biblio/bibtex/contrib/phy-bstyles/aip.bst
@@ -0,0 +1,1037 @@
+%% #define AIP 1 % Fri Jun 15 10:51:17 1990
+%% #include "TEX$ROOT:[BIBTEX]PHYSICS.BTX"
+ % Please notify Charles Karney (Karney@Princeton.EDU)
+ % of any bugs, improvements, etc.
+
+ % For American Institute of Physics Journals
+
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { "," * write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ skip$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {embolden}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\bf " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {paren}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "(" swap$ * ")" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+INTEGERS { etal }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames #5 >
+ s numnames "{ll}" format.name$ "others" = numnames #1 > and
+ or 'etal :=
+ etal
+ { #1 #1 + 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ { namesleft #0 > }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { nameptr #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ etal or
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.edited}
+{ editor empty$
+ { "" }
+ { "edited by " editor format.names * }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {first.page}
+{ 't :=
+ ""
+ { t empty$ not t #1 #1 substring$ "-" = not and }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { "" }
+ 'year
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pages.a}
+{ pages empty$
+ { "" }
+ { "page" pages first.page tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null embolden
+ " " swap$ * *
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages.a }
+ { ", " * pages first.page * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "in " booktitle emphasize * }
+ { "in " booktitle emphasize * ", " * format.edited * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In " journal * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ crossref missing$
+ { journal field.or.null
+ format.vol.num.pages
+ format.date empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.date paren }
+ { " " * format.date paren * }
+ if$
+ }
+ if$
+ output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Programming"}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Gr."}
+
+MACRO {toms} {"ACM Trans. Math. Softw."}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+MACRO {advp} {"Adv. Phys."}
+MACRO {ajp} {"Am. J. Phys."}
+MACRO {ao} {"Appl. Opt."}
+MACRO {apl} {"Appl. Phys. Lett."}
+MACRO {apj} {"Astrophys. J."}
+MACRO {baps} {"Bull. Am. Phys. Soc."}
+MACRO {cpc} {"Computer Phys. Comm."}
+MACRO {cppcf} {"Comments Plasma Phys. Controlled Fusion"}
+MACRO {fed} {"Fusion Eng. Design"}
+MACRO {ft} {"Fusion Tech."}
+MACRO {ieeens} {"IEEE Trans. Nucl. Sci."}
+MACRO {ieeeps} {"IEEE Trans. Plasma Sci."}
+MACRO {ijimw} {"Int. J. Infrared Millimeter Waves"}
+MACRO {ip} {"Infrared Phys."}
+MACRO {jap} {"J. Appl. Phys."}
+MACRO {jcp} {"J. Comput. Phys."}
+MACRO {jetp} {"Sov. Phys.-JETP"}
+MACRO {jfe} {"J. Fusion Energy"}
+MACRO {jfm} {"J. Fluid Mech."}
+MACRO {jgr} {"J. Geophys. Res."}
+MACRO {jmp} {"J. Math. Phys."}
+MACRO {jne} {"J. Nucl. Energy"}
+MACRO {jnec} {"J. Nucl. Energy, Part C"}
+MACRO {jnm} {"J. Nucl. Mater."}
+MACRO {josa} {"J. Opt. Soc. Am."}
+MACRO {jpp} {"J. Plasma Phys."}
+MACRO {jpsj} {"J. Phys. Soc. Jpn"}
+MACRO {jvst} {"J. Vac. Sci. Technol."}
+MACRO {nedf} {"Nucl. Eng. Design/Fusion"}
+MACRO {nf} {"Nucl. Fusion"}
+MACRO {nim} {"Nucl. Instrum. Methods"}
+MACRO {nimpr} {"Nucl. Instrum. Methods Phys. Research"}
+MACRO {nt/f} {"Nucl. Tech./Fusion"}
+MACRO {pf} {"Phys. Fluids"}
+MACRO {pfa} {"Phys. Fluids A"}
+MACRO {pfb} {"Phys. Fluids B"}
+MACRO {pl} {"Phys. Lett."}
+MACRO {pla} {"Phys. Lett. A"}
+MACRO {pnas} {"Proc. Nat. Acad. Sci. USA"}
+MACRO {pp} {"Plasma Phys."}
+MACRO {ppcf} {"Plasma Phys. Controlled Fusion"}
+MACRO {prl} {"Phys. Rev. Lett."}
+MACRO {pr} {"Phys. Rev."}
+MACRO {pra} {"Phys. Rev. A"}
+MACRO {ps} {"Physica Scripta"}
+MACRO {rmp} {"Rev. Mod. Phys."}
+MACRO {rsi} {"Rev. Sci. Instrum."}
+MACRO {sjpp} {"Sov. J. Plasma Phys."}
+MACRO {spd} {"Sov. Phys.-Dokl."}
+MACRO {sptp} {"Sov. Phys.-Tech. Phys."}
+MACRO {spu} {"Sov. Phys.-Usp."}
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/phy-bstyles/aip.sty b/biblio/bibtex/contrib/phy-bstyles/aip.sty
new file mode 100644
index 0000000000..537aca058b
--- /dev/null
+++ b/biblio/bibtex/contrib/phy-bstyles/aip.sty
@@ -0,0 +1,234 @@
+% AIP (style option to ARTICLE) for American Institute of Physics journals
+% AIP DOCUMENT SUBSTYLE -- released 17 January 1989
+% Written by Charles Karney (Karney@ccc.nmfecc.gov).
+
+% This document style is designed for manuscripts to be submitted to
+% one of the journals published by the Americal Institute of Physics.
+% To use this give AIP as an optional argument to \documentstyle. The
+% main style should be ARTICLE. E.g.,
+% \documentstyle[12pt,aip]{article}
+% This provides
+
+% (1) Section numbering for AIP journals (e.g., II.B.2.)
+
+% (2) Superscript reference numbers in citation and bibliography. You
+% should put the references in the logically correct place, e.g., "... as
+% is given by Landau \cite{landau}. Next sentence ..." \cite takes care
+% of removing the preceding spaces and putting the reference after the
+% punctuation (e.g, "... Landau.$^7$ ...").
+
+% (3) Three or more consecutive reference numbers are represented as a
+% range. Thus 1,3,4,5,6,8,9 is printed as 1,3--6,8,9. No sorting is
+% performed; i.e., 1,3,2 is printed as such.
+
+% (4) \citenum and \citea give you more control over the appearance of
+% the citations. \citenum emits the plain citation number without
+% ornament as in "... as shown in Ref.~\citenum{foo}.". \citea puts it's
+% argument into the ornamentation for citations. Thus \cite{foo} is
+% equivalent to \citea{\citenum{foo}}.
+
+% (5) The \maketitle command puts the "date" at the top. Typical usage is
+% \begin{document}
+% \date{PPPL--2128 (1984)}
+% \title{Efficiency of Current Drive by Fast Waves}
+% \author{Charles F. F. Karney and Nathaniel J. Fisch\\
+% Plasma Physics Laboratory, Princeton University\\Princeton, NJ 08543}
+% \maketitle
+% \begin{abstract}
+% etc.
+
+% (6) Abstract appears full size. Abstract is labeled ``Abstract'' unless
+% the ``abstract*'' environment is used. Section I begins on a new page.
+
+% (7) First paragraph of sections, etc., is normally indented.
+
+% (8) In appendices equations are numbered as B2 etc.
+
+% (9) Appendix appears in the section title for appendices. A period is
+% put after the section or appendix number. E.g., I. Introduction.
+
+% (10) The ``thefigures'' and ``thetables'' environments are defined
+% analogously to ``thebibliography''. This allows you the put the figure
+% captions and tables at the end of the document. The entries are
+% preceded by \figitem{<label>} and \tableitem{<label>} respectively.
+% (This doesn't interfer with LaTeX's figure and table environments for
+% inserting figures within the text.) ``thefigures'' is used as follows:
+% \begin{thefigures}{99}
+% \figitem{coords} The coordinate system used in this work.
+% etc.
+% \end{thefigures}
+% Figures and tables are refered to by the \ref mechanism. E.g.,
+% Fig.~\ref{coords}.
+% The starred versions of these environments, e.g., ``thefigures*'' causes
+% the heading to appear in the singular, i.e., ``Figure'' instead of
+% ``Figures''.
+
+% (11) The first appendix, the references, figure captions, and tables
+% all start on on new pages.
+
+% (12) \appendix* causes the appendices to be unnumbered. This is normally
+% only sensible if you have just one appendix. It is labeled ``Appendix.''
+% instead of ``Appendix A.'' The equation numbered are still labeled A3 etc.
+
+\typeout{Document Substyle 'AIP'. Released 17 January 1989}
+
+\def\thesection {\Roman{section}}
+\def\thesubsection {\Alph{subsection}}
+\def\thesubsubsection {\arabic{subsubsection}}
+
+\def\thebibliography#1{\par\clearpage\section*{References\@mkboth
+ {REFERENCES}{REFERENCES}}\list
+ {$\m@th^{\arabic{enumi}}$}{\settowidth\labelwidth{$\m@th^{#1}$}%
+ \labelsep0pt\leftmargin\parindent
+ \itemindent-\leftmargin\advance\itemindent\labelwidth
+ \usecounter{enumi}}
+ \def\newblock{\hskip .11em plus .33em minus -.07em}
+ \sloppy
+ \sfcode`\.=1000\relax}
+
+% Superscript citations -- skip optional arg to \cite
+% Move citation after period and comma.
+\def\@cite#1#2{\unskip\nobreak\relax
+ \def\@tempa{$\m@th^{\hbox{\the\scriptfont0 #1}}$}%
+ \futurelet\@tempc\@citexx}
+\def\@citexx{\ifx.\@tempc\let\@tempd=\@citepunct\else
+ \ifx,\@tempc\let\@tempd=\@citepunct\else
+ \let\@tempd=\@tempa\fi\fi\@tempd}
+\def\@citepunct{\@tempc\edef\@sf{\spacefactor=\the\spacefactor\relax}\@tempa
+ \@sf\@gobble}
+
+% \citenum emits the plain citation number without ornament
+% \citea puts it's argument into the ornamentation for citations
+% thus \cite{foo} is equivalent to \citea{\citenum{foo}}
+\def\citenum#1{{\def\@cite##1##2{##1}\cite{#1}}}
+\def\citea#1{\@cite{#1}{}}
+
+% Collapse citation numbers to ranges. Non-numeric and undefined labels
+% are handled. No sorting is done. E.g., 1,3,2,3,4,5,foo,1,2,3,?,4,5
+% gives 1,3,2-5,foo,1-3,?,4,5
+\newcount\@tempcntc
+\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
+ \@tempcnta\z@\@tempcntb\m@ne\def\@citea{}\@cite{\@for\@citeb:=#2\do
+ {\@ifundefined
+ {b@\@citeb}{\@citeo\@tempcntb\m@ne\@citea\def\@citea{,}{\bf ?}\@warning
+ {Citation `\@citeb' on page \thepage \space undefined}}%
+ {\setbox\z@\hbox{\global\@tempcntc0\csname b@\@citeb\endcsname\relax}%
+ \ifnum\@tempcntc=\z@ \@citeo\@tempcntb\m@ne
+ \@citea\def\@citea{,}\hbox{\csname b@\@citeb\endcsname}%
+ \else
+ \advance\@tempcntb\@ne
+ \ifnum\@tempcntb=\@tempcntc
+ \else\advance\@tempcntb\m@ne\@citeo
+ \@tempcnta\@tempcntc\@tempcntb\@tempcntc\fi\fi}}\@citeo}{#1}}
+\def\@citeo{\ifnum\@tempcnta>\@tempcntb\else\@citea\def\@citea{,}%
+ \ifnum\@tempcnta=\@tempcntb\the\@tempcnta\else
+ {\advance\@tempcnta\@ne\ifnum\@tempcnta=\@tempcntb \else \def\@citea{--}\fi
+ \advance\@tempcnta\m@ne\the\@tempcnta\@citea\the\@tempcntb}\fi\fi}
+
+% Title page
+\def\@maketitle{\newpage
+ \null
+ \vskip 1em plus 2em minus 1em % Vertical space before date.
+ \ifx\@date\@empty\else
+ \begin{flushright}
+ {\normalsize \@date} % Date set in \large size.
+ \end{flushright}
+ \vskip 2em plus 2em minus 1em % Vertical space above title.
+ \fi
+ \begin{center}
+ {\Large\bf \@title \par} % Title set in \Large size.
+ \vskip 1.5em plus 0em minus .5em % Vertical space after title.
+ {\large % each author set in \large, in a
+ \lineskip .5em plus 0em minus .3em % tabular environment
+ \begin{tabular}[t]{c}\@author
+ \end{tabular}\par}
+\end{center}
+ \par
+ \vskip 1.5em plus .5em minus .5em} % Vertical space after author.
+
+\newif\if@starvariant \@starvariantfalse
+
+\def\abstract{\if@starvariant\else\section*{Abstract}\fi}
+\def\endabstract{\par\clearpage}
+
+\@namedef{abstract*}{\@starvarianttrue\abstract}
+\@namedef{endabstract*}{\endabstract}
+
+\parskip 1.5pt plus 1.5pt % Extra vertical space between paragraphs.
+\tabcolsep 12pt % Double column separation in tables
+
+\def\section{\@startsection {section}{1}{\z@}{3.5ex plus 1ex minus
+ .2ex}{2.3ex plus .2ex}{\large\bf}}
+\def\subsection{\@startsection{subsection}{2}{\z@}{3.25ex plus 1ex minus
+ .2ex}{1.5ex plus .2ex}{\large\bf}}
+\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{3.25ex plus
+1ex minus .2ex}{1.5ex plus .2ex}{\normalsize\bf}}
+
+\newif\if@numbersec \@numbersectrue
+\def\appendix{\par\clearpage
+ \setcounter{section}{0}
+ \setcounter{subsection}{0}
+ \@addtoreset{equation}{section}
+ \def\theequation{\thesection\arabic{equation}}
+ \def\thesection{\Alph{section}}
+ \def\thesubsection{\arabic{subsection}}
+ \@ifstar{\def\@sectname{Appendix}\@numbersecfalse}
+ {\def\@sectname{Appendix~}\@numbersectrue}}
+
+% Figures
+\def\thefigures#1{\par\clearpage
+ \if@starvariant\section*{Figure\@mkboth
+ {FIGURE}{FIGURE}}\else
+ \section*{Figures\@mkboth
+ {FIGURES}{FIGURES}}\fi
+ \list
+ {FIG.~\arabic{enumi}.}{\labelwidth\parindent\advance\labelwidth -\labelsep
+ \leftmargin\parindent\usecounter{enumi}}}
+\def\figitem#1{\item\label{#1}}
+\let\endthefigures=\endlist
+
+\@namedef{thefigures*}{\@starvarianttrue\thefigures}
+\@namedef{endthefigures*}{\endthefigures}
+
+% Tables
+\def\thetables#1{\par\clearpage
+ \if@starvariant\section*{Table\@mkboth
+ {TABLE}{TABLE}}\else
+ \section*{Tables\@mkboth
+ {TABLES}{TABLES}}\fi
+ \list
+ {TABLE~\Roman{enumi}.}{\labelwidth-\labelsep
+ \leftmargin0pt\usecounter{enumi}%
+ \def\theenumi{\Roman{enumi}}}}
+\def\tableitem#1{\item\label{#1}}
+\let\endthetables=\endlist
+
+\@namedef{thetables*}{\@starvarianttrue\thetables}
+\@namedef{endthetables*}{\endthetables}
+
+% Put period after section number and allow for APPENDIX prefix.
+\def\@sect#1#2#3#4#5#6[#7]#8{\ifnum #2>\c@secnumdepth
+ \def\@svsec{}\else
+ \refstepcounter{#1}\edef\@svsec{\ifnum #2=1 \@sectname
+ \if@numbersec\csname the#1\endcsname\fi.\else
+ \csname the#1\endcsname.\fi
+ \hskip 1em }\fi
+ \@tempskipa #5\relax
+ \ifdim \@tempskipa>\z@
+ \begingroup #6\relax
+ \@hangfrom{\hskip #3\relax\@svsec}{\interlinepenalty \@M #8\par}
+ \endgroup
+ \csname #1mark\endcsname{#7}\addcontentsline
+ {toc}{#1}{\ifnum #2>\c@secnumdepth \else
+ \protect\numberline{\csname the#1\endcsname}\fi
+ #7}\else
+ \def\@svsechd{#6\hskip #3\@svsec #8\csname #1mark\endcsname
+ {#7}\addcontentsline
+ {toc}{#1}{\ifnum #2>\c@secnumdepth \else
+ \protect\numberline{\csname the#1\endcsname}\fi
+ #7}}\fi
+ \@xsect{#5}}
+
+\def\@sectname{}
+
+\endinput
diff --git a/biblio/bibtex/contrib/phy-bstyles/cpc.bst b/biblio/bibtex/contrib/phy-bstyles/cpc.bst
new file mode 100644
index 0000000000..f4cd703c24
--- /dev/null
+++ b/biblio/bibtex/contrib/phy-bstyles/cpc.bst
@@ -0,0 +1,1036 @@
+%% #define CPC 1 % Thu Jun 14 13:25:20 1990
+%% #include "TEX$ROOT:[BIBTEX]PHYSICS.BTX"
+ % Please notify Charles Karney (Karney@Princeton.EDU)
+ % of any bugs, improvements, etc.
+
+ % For Computer Physics Communications
+
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { "," * write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ skip$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {embolden}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\bf " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {paren}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "(" swap$ * ")" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+INTEGERS { etal }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames #5 >
+ s numnames "{ll}" format.name$ "others" = numnames #1 > and
+ or 'etal :=
+ etal
+ { #1 #1 + 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't := % last name first
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { nameptr #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ etal or
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.edited}
+{ editor empty$
+ { "" }
+ { "edited by " editor format.names * }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {first.page}
+{ 't :=
+ ""
+ { t empty$ not t #1 #1 substring$ "-" = not and }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { "" }
+ 'year
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pages.a}
+{ pages empty$
+ { "" }
+ { "page" pages first.page tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null embolden
+ " " swap$ * *
+ format.date empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.date paren }
+ { " " * format.date paren * }
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages.a }
+ { " " * pages first.page *}
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "in " booktitle emphasize * }
+ { "in " booktitle emphasize * ", " * format.edited * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In " journal * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ crossref missing$
+ { journal field.or.null
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Programming"}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Gr."}
+
+MACRO {toms} {"ACM Trans. Math. Softw."}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+MACRO {advp} {"Adv. Phys."}
+MACRO {ajp} {"Am. J. Phys."}
+MACRO {ao} {"Appl. Opt."}
+MACRO {apl} {"Appl. Phys. Lett."}
+MACRO {apj} {"Astrophys. J."}
+MACRO {baps} {"Bull. Am. Phys. Soc."}
+MACRO {cpc} {"Computer Phys. Comm."}
+MACRO {cppcf} {"Comments Plasma Phys. Controlled Fusion"}
+MACRO {fed} {"Fusion Eng. Design"}
+MACRO {ft} {"Fusion Tech."}
+MACRO {ieeens} {"IEEE Trans. Nucl. Sci."}
+MACRO {ieeeps} {"IEEE Trans. Plasma Sci."}
+MACRO {ijimw} {"Int. J. Infrared Millimeter Waves"}
+MACRO {ip} {"Infrared Phys."}
+MACRO {jap} {"J. Appl. Phys."}
+MACRO {jcp} {"J. Comput. Phys."}
+MACRO {jetp} {"Sov. Phys.-JETP"}
+MACRO {jfe} {"J. Fusion Energy"}
+MACRO {jfm} {"J. Fluid Mech."}
+MACRO {jgr} {"J. Geophys. Res."}
+MACRO {jmp} {"J. Math. Phys."}
+MACRO {jne} {"J. Nucl. Energy"}
+MACRO {jnec} {"J. Nucl. Energy, Part C"}
+MACRO {jnm} {"J. Nucl. Mater."}
+MACRO {josa} {"J. Opt. Soc. Am."}
+MACRO {jpp} {"J. Plasma Phys."}
+MACRO {jpsj} {"J. Phys. Soc. Jpn"}
+MACRO {jvst} {"J. Vac. Sci. Technol."}
+MACRO {nedf} {"Nucl. Eng. Design/Fusion"}
+MACRO {nf} {"Nucl. Fusion"}
+MACRO {nim} {"Nucl. Instrum. Methods"}
+MACRO {nimpr} {"Nucl. Instrum. Methods Phys. Research"}
+MACRO {nt/f} {"Nucl. Tech./Fusion"}
+MACRO {pf} {"Phys. Fluids"}
+MACRO {pfa} {"Phys. Fluids A"}
+MACRO {pfb} {"Phys. Fluids B"}
+MACRO {pl} {"Phys. Lett."}
+MACRO {pla} {"Phys. Lett. A"}
+MACRO {pnas} {"Proc. Nat. Acad. Sci. USA"}
+MACRO {pp} {"Plasma Phys."}
+MACRO {ppcf} {"Plasma Phys. Controlled Fusion"}
+MACRO {prl} {"Phys. Rev. Lett."}
+MACRO {pr} {"Phys. Rev."}
+MACRO {pra} {"Phys. Rev. A"}
+MACRO {ps} {"Physica Scripta"}
+MACRO {rmp} {"Rev. Mod. Phys."}
+MACRO {rsi} {"Rev. Sci. Instrum."}
+MACRO {sjpp} {"Sov. J. Plasma Phys."}
+MACRO {spd} {"Sov. Phys.-Dokl."}
+MACRO {sptp} {"Sov. Phys.-Tech. Phys."}
+MACRO {spu} {"Sov. Phys.-Usp."}
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/phy-bstyles/cpp.el b/biblio/bibtex/contrib/phy-bstyles/cpp.el
new file mode 100644
index 0000000000..3725c45f62
--- /dev/null
+++ b/biblio/bibtex/contrib/phy-bstyles/cpp.el
@@ -0,0 +1,199 @@
+;; A C preprocessor written for GnuEmacs for use in generating BibTeX style
+;; files from a master file. In addition it removes whole-line comments (with
+;; "%" in the first column) and collapses multiple blank lines to a single
+;; blank line.
+
+;; Charles Karney
+;; Plasma Physics Laboratory Phone: +1 609 243 2607
+;; Princeton University E-mail: Karney@Princeton.EDU
+;; PO Box 451
+;; Princeton, NJ 08543-0451
+
+;; RESTRICTIONS:
+
+;; Recognizes only a subset of C precessor symbols:
+;; #include, #ifdef, #ifndef, #define, #undef, #if, #else, #endif.
+
+;; Macro values can only be numbers.
+
+;; Expressions are not allowed, except for !MACRO. Thus
+;; "#if FOO" and "#if !FOO" work OK
+;; "#if (FOO | BAR)" and "#if FOO == 4" do not work
+
+;; Value substitution is done in a separate pass through the file at the end.
+;; This means that the value substituted for a particular macro is the last
+;; one defined. Thus
+;; #define FOO 4
+;; FOO
+;; #define FOO 10
+;; FOO
+;; produces
+;; 10
+;; 10
+
+(defvar cpp-macros nil "currently defined macros")
+(defvar cpp-values nil "values for currently defined macros")
+
+(defun cpp (init)
+ "Run C preprocessor on current buffer. Argument is single macro to
+get defined before processing begins.
+Recognizes a subset of C precessor symbols:
+ #include, #ifdef, #ifndef, #define, #if, #else, #endif.
+Also strips out any comments starting with % in the first column."
+ (interactive "sRun cpp defining: ")
+ (goto-char (point-min))
+ (setq init (upcase init))
+ (let (verb)
+ (setq cpp-macros nil cpp-values nil)
+ (cond ((> (length init) 0)
+ (cpp-define init 1)
+ (insert (concat "%% #define " init
+ " 1\t\t% " (current-time-string) "\n"))))
+ (insert (concat "%% #include \"" (buffer-file-name) "\"\n"))
+ (while (re-search-forward "^#" nil t)
+ (save-excursion (beginning-of-line) (insert "%% "))
+ (setq verb (cpp-next-word))
+ (cond ((equal verb "include") (cpp-include (cpp-next-word)))
+ ((equal verb "define")
+ (cpp-define (cpp-next-word) (cpp-eval (cpp-next-word))))
+ ((equal verb "undef")
+ (cpp-undef (cpp-next-word)))
+ ((equal verb "ifdef")
+ (cond ((zerop (cpp-ifdef (cpp-next-word))) (cpp-skip))))
+ ((equal verb "ifndef")
+ (cond ((not (zerop (cpp-ifdef (cpp-next-word)))) (cpp-skip))))
+ ((equal verb "if")
+ (cond ((zerop (cpp-eval (cpp-next-word))) (cpp-skip))))
+ ((equal verb "else")
+ (cpp-skip))
+ ((equal verb "endif"))
+ (t (error "Unknown preprocessor directive: %s" verb)))))
+ (goto-char (point-min))
+ (forward-line 2)
+ (while (re-search-forward "^%" nil t)
+ (beginning-of-line)
+ (delete-region (point) (progn (forward-line 1) (point))))
+ (goto-char (point-min))
+ (while (re-search-forward "\n\n\n" nil t)
+ (backward-char 3)
+ (delete-char 1))
+ (let ((macros cpp-macros) (values cpp-values) (case-fold-search nil))
+ (while macros
+ (goto-char (point-min))
+ (forward-line 2)
+ (while (re-search-forward (concat "\\b" (car macros) "\\b") nil t)
+ (delete-region (match-beginning 0) (match-end 0))
+ (insert (int-to-string (car values))))
+ (setq macros (cdr macros) values (cdr values)))))
+
+(defun cpp-include (file)
+ "Include a file"
+ (forward-line 1)
+ (insert-file (substring file 1 -1)))
+
+(defun cpp-eval (macro)
+ "Returns the value of a macro"
+ (cond ((equal (substring macro 0 1) "!")
+ (if (eq (cpp-eval (substring macro 1 nil)) 0)
+ 1
+ 0))
+ ((or (equal (substring macro 0 1) "0")
+ (not (eq (string-to-int macro) 0)))
+ (string-to-int macro))
+ (t (let ((macros cpp-macros) (values cpp-values))
+ (while (not (or (null macros)
+ (equal (car macros) macro)))
+ (setq macros (cdr macros)
+ values (cdr values)))
+ (if (null macros)
+ (error "Undefined macro %s",macro)
+ (car values))))))
+
+(defun cpp-define (macro value)
+ "Make a definition"
+ (let ((macros cpp-macros) (values cpp-values))
+ (while (not (or (null macros)
+ (equal (car macros) macro)))
+ (setq macros (cdr macros)
+ values (cdr values)))
+ (if (null macros) (setq cpp-macros (cons macro cpp-macros)
+ cpp-values (cons value cpp-values))
+ (rplaca values value))))
+
+(defun cpp-undef (macro)
+ "Remove a definition"
+ (let ((macros cpp-macros) (values cpp-values) macrosa valuesa)
+ (cond ((null macros))
+ ((equal (car macros) macro)
+ (setq cpp-macros (cdr macros)
+ cpp-values (cdr values)))
+ (t (setq macrosa (cdr macros) valuesa (cdr values))
+ (while (not (or (null macrosa)
+ (equal (car macrosa) macro)))
+ (setq macros macrosa
+ values valuesa
+ macrosa (cdr macrosa)
+ valuesa (cdr valuesa)))
+ (cond ((null macros))
+ (t (rplacd macros (cdr macrosa))
+ (rplacd values (cdr valuesa))))))))
+
+(defun cpp-ifdef (macro)
+ "Returns 1 if macro is defined, 0 otherwise"
+ (let ((macros cpp-macros) (values cpp-values))
+ (while (not (or (null macros)
+ (equal (car macros) macro)))
+ (setq macros (cdr macros)
+ values (cdr values)))
+ (if (null macros) 0 1)))
+
+(defun cpp-next-word ()
+ "Return next blank-delimited word in buffer"
+ (skip-chars-forward " \t")
+ (buffer-substring (point)
+ (progn (re-search-forward " \\|\t\\|$")
+ (match-beginning 0))))
+
+(defun cpp-skip ()
+ "Skips to next endif or else"
+ (forward-line 1)
+ (delete-region
+ (point)
+ (let ((count 1))
+ (while (> count 0)
+ (re-search-forward "^#[ \t]*\\(if\\|else\\|endif\\)")
+ (goto-char (match-beginning 1))
+ (cond ((looking-at "if") (setq count (1+ count)))
+ ((looking-at "else") (if (eq count 1) (setq count 0)))
+ ((looking-at "endif") (setq count (1- count)))))
+ (beginning-of-line)
+ (point)))
+ (insert "%% "))
+
+(defun cpp-file (name)
+ "Run C preprocessor on physics.btx. Argument is single macro to
+get defined before processing begins and this is used in the filename
+that the results get written to."
+ (interactive "sRun cpp-file defining: ")
+ (let ((indir "tex$root:[bibtex]")
+ (outdir "tex$root:[latex]"))
+ (find-file (concat indir "physics.btx"))
+ (cpp name)
+ (write-file (concat outdir name ".bst"))))
+
+(defun cpp-everything ()
+ "Runs cpp on physics.btx to produce all standard styles"
+ (interactive)
+ (let ((macros (append
+ (list "aip" "pf" "nf" "nflet" "iaea" "cpc" "rmp"
+ "report" "ppcf" "jcp")
+; (list "apalike")
+; (list "plain" "unsrt" "alpha" "abbrv")
+ )))
+ ; The standard styles are
+ ; "plain" "unsrt" "abbrv" "alpha"
+ ; A semi-standard style is "apalike"
+ (while macros
+ (cpp-file (car macros))
+ (kill-buffer (buffer-name))
+ (setq macros (cdr macros)))))
diff --git a/biblio/bibtex/contrib/phy-bstyles/iaea.bst b/biblio/bibtex/contrib/phy-bstyles/iaea.bst
new file mode 100644
index 0000000000..5b4c3b9a59
--- /dev/null
+++ b/biblio/bibtex/contrib/phy-bstyles/iaea.bst
@@ -0,0 +1,1040 @@
+%% #define IAEA 1 % Thu Jun 14 13:24:41 1990
+%% #include "TEX$ROOT:[BIBTEX]PHYSICS.BTX"
+ % Please notify Charles Karney (Karney@Princeton.EDU)
+ % of any bugs, improvements, etc.
+
+ % For 1 Conferences
+
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { "," * write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ skip$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {embolden}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\bf " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {paren}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "(" swap$ * ")" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+INTEGERS { etal }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ s numnames "{ll}" format.name$ "others" = numnames #1 > and
+ or 'etal :=
+ etal
+ { #1 #1 + 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't := % last name first
+ t "others" =
+ 'skip$
+ { t "u" change.case$ 't := }
+ if$
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { nameptr #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ etal or
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.edited}
+{ editor empty$
+ { "" }
+ { "edited by " editor format.names * }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {first.page}
+{ 't :=
+ ""
+ { t empty$ not t #1 #1 substring$ "-" = not and }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { "" }
+ 'year
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pages.a}
+{ pages empty$
+ { "" }
+ { "page" pages first.page tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null embolden
+ " " swap$ * *
+ format.date empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.date paren }
+ { " " * format.date paren * }
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages.a }
+ { " " * pages first.page *}
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "in " booktitle emphasize * }
+ { "in " booktitle emphasize * ", " * format.edited * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In " journal * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ crossref missing$
+ { journal field.or.null
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Programming"}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Gr."}
+
+MACRO {toms} {"ACM Trans. Math. Softw."}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+MACRO {advp} {"Adv. Phys."}
+MACRO {ajp} {"Am. J. Phys."}
+MACRO {ao} {"Appl. Opt."}
+MACRO {apl} {"Appl. Phys. Lett."}
+MACRO {apj} {"Astrophys. J."}
+MACRO {baps} {"Bull. Am. Phys. Soc."}
+MACRO {cpc} {"Computer Phys. Comm."}
+MACRO {cppcf} {"Comments Plasma Phys. Controlled Fusion"}
+MACRO {fed} {"Fusion Eng. Design"}
+MACRO {ft} {"Fusion Tech."}
+MACRO {ieeens} {"IEEE Trans. Nucl. Sci."}
+MACRO {ieeeps} {"IEEE Trans. Plasma Sci."}
+MACRO {ijimw} {"Int. J. Infrared Millimeter Waves"}
+MACRO {ip} {"Infrared Phys."}
+MACRO {jap} {"J. Appl. Phys."}
+MACRO {jcp} {"J. Comput. Phys."}
+MACRO {jetp} {"Sov. Phys.-JETP"}
+MACRO {jfe} {"J. Fusion Energy"}
+MACRO {jfm} {"J. Fluid Mech."}
+MACRO {jgr} {"J. Geophys. Res."}
+MACRO {jmp} {"J. Math. Phys."}
+MACRO {jne} {"J. Nucl. Energy"}
+MACRO {jnec} {"J. Nucl. Energy, Part C"}
+MACRO {jnm} {"J. Nucl. Mater."}
+MACRO {josa} {"J. Opt. Soc. Am."}
+MACRO {jpp} {"J. Plasma Phys."}
+MACRO {jpsj} {"J. Phys. Soc. Jpn"}
+MACRO {jvst} {"J. Vac. Sci. Technol."}
+MACRO {nedf} {"Nucl. Eng. Design/Fusion"}
+MACRO {nf} {"Nucl. Fusion"}
+MACRO {nim} {"Nucl. Instrum. Methods"}
+MACRO {nimpr} {"Nucl. Instrum. Methods Phys. Research"}
+MACRO {nt/f} {"Nucl. Tech./Fusion"}
+MACRO {pf} {"Phys. Fluids"}
+MACRO {pfa} {"Phys. Fluids A"}
+MACRO {pfb} {"Phys. Fluids B"}
+MACRO {pl} {"Phys. Lett."}
+MACRO {pla} {"Phys. Lett. A"}
+MACRO {pnas} {"Proc. Nat. Acad. Sci. USA"}
+MACRO {pp} {"Plasma Phys."}
+MACRO {ppcf} {"Plasma Phys. Controlled Fusion"}
+MACRO {prl} {"Phys. Rev. Lett."}
+MACRO {pr} {"Phys. Rev."}
+MACRO {pra} {"Phys. Rev. A"}
+MACRO {ps} {"Physica Scripta"}
+MACRO {rmp} {"Rev. Mod. Phys."}
+MACRO {rsi} {"Rev. Sci. Instrum."}
+MACRO {sjpp} {"Sov. J. Plasma Phys."}
+MACRO {spd} {"Sov. Phys.-Dokl."}
+MACRO {sptp} {"Sov. Phys.-Tech. Phys."}
+MACRO {spu} {"Sov. Phys.-Usp."}
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/phy-bstyles/jcp.bst b/biblio/bibtex/contrib/phy-bstyles/jcp.bst
new file mode 100644
index 0000000000..9fe98745af
--- /dev/null
+++ b/biblio/bibtex/contrib/phy-bstyles/jcp.bst
@@ -0,0 +1,1040 @@
+%% #define JCP 1 % Thu Jun 14 13:28:38 1990
+%% #include "TEX$ROOT:[BIBTEX]PHYSICS.BTX"
+ % Please notify Charles Karney (Karney@Princeton.EDU)
+ % of any bugs, improvements, etc.
+
+ % For Journal of Computational Physics
+ % Cris Barnes and Dave Mikkelson, 9/25/89
+
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { "," * write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ skip$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {caps}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\sc " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {embolden}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\bf " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {paren}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "(" swap$ * ")" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+ t "others" =
+ 'skip$
+ { t caps 't := }
+ if$
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.edited}
+{ editor empty$
+ { "" }
+ { "edited by " editor format.names * }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ 'title
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {first.page}
+{ 't :=
+ ""
+ { t empty$ not t #1 #1 substring$ "-" = not and }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { "" }
+ 'year
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pp." pages n.dashify tie.or.space.connect }
+ { "p." pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pages.a}
+{ pages empty$
+ { "" }
+ { "p." pages first.page tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null embolden
+ " " swap$ * *
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages.a }
+ { ", " * pages first.page * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "in " booktitle emphasize * }
+ { "in " booktitle emphasize * ", " * format.edited * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$ caps
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ caps * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ crossref missing$
+ { journal emphasize
+ format.vol.num.pages
+ format.date empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.date paren }
+ { " " * format.date paren * }
+ if$
+ }
+ if$
+ output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Programming"}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Gr."}
+
+MACRO {toms} {"ACM Trans. Math. Softw."}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+MACRO {advp} {"Adv. Phys."}
+MACRO {ajp} {"Am. J. Phys."}
+MACRO {ao} {"Appl. Opt."}
+MACRO {apl} {"Appl. Phys. Lett."}
+MACRO {apj} {"Astrophys. J."}
+MACRO {baps} {"Bull. Am. Phys. Soc."}
+MACRO {cpc} {"Computer Phys. Comm."}
+MACRO {cppcf} {"Comments Plasma Phys. Controlled Fusion"}
+MACRO {fed} {"Fusion Eng. Design"}
+MACRO {ft} {"Fusion Tech."}
+MACRO {ieeens} {"IEEE Trans. Nucl. Sci."}
+MACRO {ieeeps} {"IEEE Trans. Plasma Sci."}
+MACRO {ijimw} {"Int. J. Infrared Millimeter Waves"}
+MACRO {ip} {"Infrared Phys."}
+MACRO {jap} {"J. Appl. Phys."}
+MACRO {jcp} {"J. Comput. Phys."}
+MACRO {jetp} {"Sov. Phys.-JETP"}
+MACRO {jfe} {"J. Fusion Energy"}
+MACRO {jfm} {"J. Fluid Mech."}
+MACRO {jgr} {"J. Geophys. Res."}
+MACRO {jmp} {"J. Math. Phys."}
+MACRO {jne} {"J. Nucl. Energy"}
+MACRO {jnec} {"J. Nucl. Energy, Part C"}
+MACRO {jnm} {"J. Nucl. Mater."}
+MACRO {josa} {"J. Opt. Soc. Am."}
+MACRO {jpp} {"J. Plasma Phys."}
+MACRO {jpsj} {"J. Phys. Soc. Jpn"}
+MACRO {jvst} {"J. Vac. Sci. Technol."}
+MACRO {nedf} {"Nucl. Eng. Design/Fusion"}
+MACRO {nf} {"Nucl. Fusion"}
+MACRO {nim} {"Nucl. Instrum. Methods"}
+MACRO {nimpr} {"Nucl. Instrum. Methods Phys. Research"}
+MACRO {nt/f} {"Nucl. Tech./Fusion"}
+MACRO {pf} {"Phys. Fluids"}
+MACRO {pfa} {"Phys. Fluids A"}
+MACRO {pfb} {"Phys. Fluids B"}
+MACRO {pl} {"Phys. Lett."}
+MACRO {pla} {"Phys. Lett. A"}
+MACRO {pnas} {"Proc. Nat. Acad. Sci. USA"}
+MACRO {pp} {"Plasma Phys."}
+MACRO {ppcf} {"Plasma Phys. Controlled Fusion"}
+MACRO {prl} {"Phys. Rev. Lett."}
+MACRO {pr} {"Phys. Rev."}
+MACRO {pra} {"Phys. Rev. A"}
+MACRO {ps} {"Physica Scripta"}
+MACRO {rmp} {"Rev. Mod. Phys."}
+MACRO {rsi} {"Rev. Sci. Instrum."}
+MACRO {sjpp} {"Sov. J. Plasma Phys."}
+MACRO {spd} {"Sov. Phys.-Dokl."}
+MACRO {sptp} {"Sov. Phys.-Tech. Phys."}
+MACRO {spu} {"Sov. Phys.-Usp."}
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/phy-bstyles/nf.bst b/biblio/bibtex/contrib/phy-bstyles/nf.bst
new file mode 100644
index 0000000000..07cca978fe
--- /dev/null
+++ b/biblio/bibtex/contrib/phy-bstyles/nf.bst
@@ -0,0 +1,1035 @@
+%% #define NF 1 % Thu Jun 14 13:23:18 1990
+%% #include "TEX$ROOT:[BIBTEX]PHYSICS.BTX"
+ % Please notify Charles Karney (Karney@Princeton.EDU)
+ % of any bugs, improvements, etc.
+
+ % For Nuclear Fusion
+ % see Nuclear Fusion Vol. 28, No. 2 (1988),
+ % "Announcement [of] Guidelines for Bibliographical Citations"
+
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { "," * write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ skip$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {embolden}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\bf " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {paren}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "(" swap$ * ")" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+INTEGERS { etal }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames #5 >
+ s numnames "{ll}" format.name$ "others" = numnames #3 > and
+ or 'etal :=
+ etal
+ { #3 #1 + 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't := % last name first
+ t "others" =
+ 'skip$
+ { t "u" change.case$ 't := }
+ if$
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { nameptr #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ etal or
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {first.page}
+{ 't :=
+ ""
+ { t empty$ not t #1 #1 substring$ "-" = not and }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { "" }
+ 'year
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pp." pages n.dashify tie.or.space.connect }
+ { "p." pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pages.a}
+{ pages empty$
+ { "" }
+ { "p." pages first.page tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null embolden
+ " " swap$ * *
+ format.date empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.date paren }
+ { " " * format.date paren * }
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages.a }
+ { " " * pages first.page *}
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "in " booktitle emphasize * }
+ { "in " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In " journal * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ crossref missing$
+ { journal field.or.null
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Programming"}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Gr."}
+
+MACRO {toms} {"ACM Trans. Math. Softw."}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+MACRO {advp} {"Adv. Phys."}
+MACRO {ajp} {"Am. J. Phys."}
+MACRO {ao} {"Appl. Opt."}
+MACRO {apl} {"Appl. Phys. Lett."}
+MACRO {apj} {"Astrophys. J."}
+MACRO {baps} {"Bull. Am. Phys. Soc."}
+MACRO {cpc} {"Computer Phys. Comm."}
+MACRO {cppcf} {"Comments Plasma Phys. Controlled Fusion"}
+MACRO {fed} {"Fusion Eng. Design"}
+MACRO {ft} {"Fusion Tech."}
+MACRO {ieeens} {"IEEE Trans. Nucl. Sci."}
+MACRO {ieeeps} {"IEEE Trans. Plasma Sci."}
+MACRO {ijimw} {"Int. J. Infrared Millimeter Waves"}
+MACRO {ip} {"Infrared Phys."}
+MACRO {jap} {"J. Appl. Phys."}
+MACRO {jcp} {"J. Comput. Phys."}
+MACRO {jetp} {"Sov. Phys.-JETP"}
+MACRO {jfe} {"J. Fusion Energy"}
+MACRO {jfm} {"J. Fluid Mech."}
+MACRO {jgr} {"J. Geophys. Res."}
+MACRO {jmp} {"J. Math. Phys."}
+MACRO {jne} {"J. Nucl. Energy"}
+MACRO {jnec} {"J. Nucl. Energy, Part C"}
+MACRO {jnm} {"J. Nucl. Mater."}
+MACRO {josa} {"J. Opt. Soc. Am."}
+MACRO {jpp} {"J. Plasma Phys."}
+MACRO {jpsj} {"J. Phys. Soc. Jpn"}
+MACRO {jvst} {"J. Vac. Sci. Technol."}
+MACRO {nedf} {"Nucl. Eng. Design/Fusion"}
+MACRO {nf} {"Nucl. Fusion"}
+MACRO {nim} {"Nucl. Instrum. Methods"}
+MACRO {nimpr} {"Nucl. Instrum. Methods Phys. Research"}
+MACRO {nt/f} {"Nucl. Tech./Fusion"}
+MACRO {pf} {"Phys. Fluids"}
+MACRO {pfa} {"Phys. Fluids A"}
+MACRO {pfb} {"Phys. Fluids B"}
+MACRO {pl} {"Phys. Lett."}
+MACRO {pla} {"Phys. Lett. A"}
+MACRO {pnas} {"Proc. Nat. Acad. Sci. USA"}
+MACRO {pp} {"Plasma Phys."}
+MACRO {ppcf} {"Plasma Phys. Controlled Fusion"}
+MACRO {prl} {"Phys. Rev. Lett."}
+MACRO {pr} {"Phys. Rev."}
+MACRO {pra} {"Phys. Rev. A"}
+MACRO {ps} {"Physica Scripta"}
+MACRO {rmp} {"Rev. Mod. Phys."}
+MACRO {rsi} {"Rev. Sci. Instrum."}
+MACRO {sjpp} {"Sov. J. Plasma Phys."}
+MACRO {spd} {"Sov. Phys.-Dokl."}
+MACRO {sptp} {"Sov. Phys.-Tech. Phys."}
+MACRO {spu} {"Sov. Phys.-Usp."}
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/phy-bstyles/nf.sty b/biblio/bibtex/contrib/phy-bstyles/nf.sty
new file mode 100644
index 0000000000..3c54c9ad22
--- /dev/null
+++ b/biblio/bibtex/contrib/phy-bstyles/nf.sty
@@ -0,0 +1,166 @@
+% NF (style option to ARTICLE) for Nuclear Fusion
+% NF DOCUMENT SUBSTYLE -- released 17 January 1989
+% Written by Charles Karney (Karney@Princeton.EDU).
+
+% This document style is designed for manuscripts to be submitted to
+% Nuclear Fusion.
+% To use this give NF as an optional argument to \documentstyle. The
+% main style should be ARTICLE. E.g.,
+% \documentstyle[12pt,nf]{article}
+% This provides all the same facilities as the AIP style, except:
+
+% (1) Sections are numbered with arabic numerals, e.g., 2.3.1 (the
+% ARTICLE default).
+
+% (2) Reference numbers in citation and bibliography are enclosed in []'s
+% (the ARTICLE default).
+
+% (3) The style of the subsections, etc. is different.
+
+% (4) Use Fig. instead of FIG. in figure captions, etc.
+
+\typeout{Document Substyle 'NF'. Released 17 January 1989}
+
+\def\thebibliography#1{\par\clearpage\section*{References\@mkboth
+ {REFERENCES}{REFERENCES}}\list
+ {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth
+ \advance\leftmargin\labelsep
+ \usecounter{enumi}}
+ \def\newblock{\hskip .11em plus .33em minus -.07em}
+ \sloppy
+ \sfcode`\.=1000\relax}
+
+% \citenum emits the plain citation number without ornament
+% \citea puts it's argument into the ornamentation for citations
+% thus \cite{foo} is equivalent to \citea{\citenum{foo}}
+\def\citenum#1{{\def\@cite##1##2{##1}\cite{#1}}}
+\def\citea#1{\@cite{#1}{}}
+
+% Collapse citation numbers to ranges. Non-numeric and undefined labels
+% are handled. No sorting is done. E.g., 1,3,2,3,4,5,foo,1,2,3,?,4,5
+% gives 1,3,2-5,foo,1-3,?,4,5
+\newcount\@tempcntc
+\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
+ \@tempcnta\z@\@tempcntb\m@ne\def\@citea{}\@cite{\@for\@citeb:=#2\do
+ {\@ifundefined
+ {b@\@citeb}{\@citeo\@tempcntb\m@ne\@citea\def\@citea{,}{\bf ?}\@warning
+ {Citation `\@citeb' on page \thepage \space undefined}}%
+ {\setbox\z@\hbox{\global\@tempcntc0\csname b@\@citeb\endcsname\relax}%
+ \ifnum\@tempcntc=\z@ \@citeo\@tempcntb\m@ne
+ \@citea\def\@citea{,}\hbox{\csname b@\@citeb\endcsname}%
+ \else
+ \advance\@tempcntb\@ne
+ \ifnum\@tempcntb=\@tempcntc
+ \else\advance\@tempcntb\m@ne\@citeo
+ \@tempcnta\@tempcntc\@tempcntb\@tempcntc\fi\fi}}\@citeo}{#1}}
+\def\@citeo{\ifnum\@tempcnta>\@tempcntb\else\@citea\def\@citea{,}%
+ \ifnum\@tempcnta=\@tempcntb\the\@tempcnta\else
+ {\advance\@tempcnta\@ne\ifnum\@tempcnta=\@tempcntb \else \def\@citea{--}\fi
+ \advance\@tempcnta\m@ne\the\@tempcnta\@citea\the\@tempcntb}\fi\fi}
+
+% Title page
+\def\@maketitle{\newpage
+ \null
+ \vskip 1em plus 2em minus 1em % Vertical space before date.
+ \ifx\@date\@empty\else
+ \begin{flushright}
+ {\normalsize \@date} % Date set in \large size.
+ \end{flushright}
+ \vskip 2em plus 2em minus 1em % Vertical space above title.
+ \fi
+ \begin{center}
+ {\Large\bf \@title \par} % Title set in \Large size.
+ \vskip 1.5em plus 0em minus .5em % Vertical space after title.
+ {\large % each author set in \large, in a
+ \lineskip .5em plus 0em minus .3em % tabular environment
+ \begin{tabular}[t]{c}\@author
+ \end{tabular}\par}
+\end{center}
+ \par
+ \vskip 1.5em plus .5em minus .5em} % Vertical space after author.
+
+\newif\if@starvariant \@starvariantfalse
+
+\def\abstract{\if@starvariant\else\section*{Abstract}\fi}
+\def\endabstract{\par\clearpage}
+
+\@namedef{abstract*}{\@starvarianttrue\abstract}
+\@namedef{endabstract*}{\endabstract}
+
+\parskip 1.5pt plus 1.5pt % Extra vertical space between paragraphs.
+\tabcolsep 12pt % Double column separation in tables
+
+\def\section{\@startsection {section}{1}{\z@}{3.5ex plus 1ex minus
+ .2ex}{2.3ex plus .2ex}{\large\bf}}
+\def\subsection{\@startsection{subsection}{2}{\z@}{3.25ex plus 1ex minus
+ .2ex}{1.5ex plus .2ex}{\large\sl}}
+\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{3.25ex plus
+1ex minus .2ex}{1.5ex plus .2ex}{\normalsize\sl}}
+
+\newif\if@numbersec \@numbersectrue
+\def\appendix{\par\clearpage
+ \setcounter{section}{0}
+ \setcounter{subsection}{0}
+ \@addtoreset{equation}{section}
+ \def\theequation{\thesection\arabic{equation}}
+ \def\thesection{\Alph{section}}
+ \def\thesubsection{\arabic{subsection}}
+ \@ifstar{\def\@sectname{Appendix}\@numbersecfalse}
+ {\def\@sectname{Appendix~}\@numbersectrue}}
+
+% Figures
+\def\thefigures#1{\par\clearpage
+ \if@starvariant\section*{Figure\@mkboth
+ {FIGURE}{FIGURE}}\else
+ \section*{Figures\@mkboth
+ {FIGURES}{FIGURES}}\fi
+ \list
+ {Fig.~\arabic{enumi}.}{\labelwidth\parindent\advance\labelwidth -\labelsep
+ \leftmargin\parindent\usecounter{enumi}}}
+\def\figitem#1{\item\label{#1}}
+\let\endthefigures=\endlist
+
+\@namedef{thefigures*}{\@starvarianttrue\thefigures}
+\@namedef{endthefigures*}{\endthefigures}
+
+% Tables
+\def\thetables#1{\par\clearpage
+ \if@starvariant\section*{Table\@mkboth
+ {TABLE}{TABLE}}\else
+ \section*{Tables\@mkboth
+ {TABLES}{TABLES}}\fi
+ \list
+ {Table~\Roman{enumi}.}{\labelwidth-\labelsep
+ \leftmargin0pt\usecounter{enumi}}}
+\def\tableitem#1{\item\label{#1}}
+\let\endthetables=\endlist
+
+\@namedef{thetables*}{\@starvarianttrue\thetables}
+\@namedef{endthetables*}{\endthetables}
+
+% Put period after section number and allow for APPENDIX prefix.
+\def\@sect#1#2#3#4#5#6[#7]#8{\ifnum #2>\c@secnumdepth
+ \def\@svsec{}\else
+ \refstepcounter{#1}\edef\@svsec{\ifnum #2=1 \@sectname
+ \if@numbersec\csname the#1\endcsname\fi.\else
+ \csname the#1\endcsname.\fi
+ \hskip 1em }\fi
+ \@tempskipa #5\relax
+ \ifdim \@tempskipa>\z@
+ \begingroup #6\relax
+ \@hangfrom{\hskip #3\relax\@svsec}{\interlinepenalty \@M #8\par}
+ \endgroup
+ \csname #1mark\endcsname{#7}\addcontentsline
+ {toc}{#1}{\ifnum #2>\c@secnumdepth \else
+ \protect\numberline{\csname the#1\endcsname}\fi
+ #7}\else
+ \def\@svsechd{#6\hskip #3\@svsec #8\csname #1mark\endcsname
+ {#7}\addcontentsline
+ {toc}{#1}{\ifnum #2>\c@secnumdepth \else
+ \protect\numberline{\csname the#1\endcsname}\fi
+ #7}}\fi
+ \@xsect{#5}}
+
+\def\@sectname{}
+
+\endinput
diff --git a/biblio/bibtex/contrib/phy-bstyles/nflet.bst b/biblio/bibtex/contrib/phy-bstyles/nflet.bst
new file mode 100644
index 0000000000..1b2dbf1bc0
--- /dev/null
+++ b/biblio/bibtex/contrib/phy-bstyles/nflet.bst
@@ -0,0 +1,1033 @@
+%% #define NFLET 1 % Thu Jun 14 13:24:01 1990
+%% #include "TEX$ROOT:[BIBTEX]PHYSICS.BTX"
+ % Please notify Charles Karney (Karney@Princeton.EDU)
+ % of any bugs, improvements, etc.
+
+ % For Nuclear Fusion Letters
+
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { "," * write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ skip$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {embolden}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\bf " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {paren}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "(" swap$ * ")" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+INTEGERS { etal }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames #5 >
+ s numnames "{ll}" format.name$ "others" = numnames #5 > and
+ or 'etal :=
+ etal
+ { #5 #1 + 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't := % last name first
+ t "others" =
+ 'skip$
+ { t "u" change.case$ 't := }
+ if$
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { nameptr #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ etal or
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {first.page}
+{ 't :=
+ ""
+ { t empty$ not t #1 #1 substring$ "-" = not and }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { "" }
+ 'year
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pp." pages n.dashify tie.or.space.connect }
+ { "p." pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pages.a}
+{ pages empty$
+ { "" }
+ { "p." pages first.page tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null embolden
+ " " swap$ * *
+ format.date empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.date paren }
+ { " " * format.date paren * }
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages.a }
+ { " " * pages first.page *}
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "in " booktitle emphasize * }
+ { "in " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In " journal * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ crossref missing$
+ { journal field.or.null
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Programming"}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Gr."}
+
+MACRO {toms} {"ACM Trans. Math. Softw."}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+MACRO {advp} {"Adv. Phys."}
+MACRO {ajp} {"Am. J. Phys."}
+MACRO {ao} {"Appl. Opt."}
+MACRO {apl} {"Appl. Phys. Lett."}
+MACRO {apj} {"Astrophys. J."}
+MACRO {baps} {"Bull. Am. Phys. Soc."}
+MACRO {cpc} {"Computer Phys. Comm."}
+MACRO {cppcf} {"Comments Plasma Phys. Controlled Fusion"}
+MACRO {fed} {"Fusion Eng. Design"}
+MACRO {ft} {"Fusion Tech."}
+MACRO {ieeens} {"IEEE Trans. Nucl. Sci."}
+MACRO {ieeeps} {"IEEE Trans. Plasma Sci."}
+MACRO {ijimw} {"Int. J. Infrared Millimeter Waves"}
+MACRO {ip} {"Infrared Phys."}
+MACRO {jap} {"J. Appl. Phys."}
+MACRO {jcp} {"J. Comput. Phys."}
+MACRO {jetp} {"Sov. Phys.-JETP"}
+MACRO {jfe} {"J. Fusion Energy"}
+MACRO {jfm} {"J. Fluid Mech."}
+MACRO {jgr} {"J. Geophys. Res."}
+MACRO {jmp} {"J. Math. Phys."}
+MACRO {jne} {"J. Nucl. Energy"}
+MACRO {jnec} {"J. Nucl. Energy, Part C"}
+MACRO {jnm} {"J. Nucl. Mater."}
+MACRO {josa} {"J. Opt. Soc. Am."}
+MACRO {jpp} {"J. Plasma Phys."}
+MACRO {jpsj} {"J. Phys. Soc. Jpn"}
+MACRO {jvst} {"J. Vac. Sci. Technol."}
+MACRO {nedf} {"Nucl. Eng. Design/Fusion"}
+MACRO {nf} {"Nucl. Fusion"}
+MACRO {nim} {"Nucl. Instrum. Methods"}
+MACRO {nimpr} {"Nucl. Instrum. Methods Phys. Research"}
+MACRO {nt/f} {"Nucl. Tech./Fusion"}
+MACRO {pf} {"Phys. Fluids"}
+MACRO {pfa} {"Phys. Fluids A"}
+MACRO {pfb} {"Phys. Fluids B"}
+MACRO {pl} {"Phys. Lett."}
+MACRO {pla} {"Phys. Lett. A"}
+MACRO {pnas} {"Proc. Nat. Acad. Sci. USA"}
+MACRO {pp} {"Plasma Phys."}
+MACRO {ppcf} {"Plasma Phys. Controlled Fusion"}
+MACRO {prl} {"Phys. Rev. Lett."}
+MACRO {pr} {"Phys. Rev."}
+MACRO {pra} {"Phys. Rev. A"}
+MACRO {ps} {"Physica Scripta"}
+MACRO {rmp} {"Rev. Mod. Phys."}
+MACRO {rsi} {"Rev. Sci. Instrum."}
+MACRO {sjpp} {"Sov. J. Plasma Phys."}
+MACRO {spd} {"Sov. Phys.-Dokl."}
+MACRO {sptp} {"Sov. Phys.-Tech. Phys."}
+MACRO {spu} {"Sov. Phys.-Usp."}
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/phy-bstyles/pf.bst b/biblio/bibtex/contrib/phy-bstyles/pf.bst
new file mode 100644
index 0000000000..0ef2d0614c
--- /dev/null
+++ b/biblio/bibtex/contrib/phy-bstyles/pf.bst
@@ -0,0 +1,1028 @@
+%% #define PF 1 % Thu Jun 14 13:22:41 1990
+%% #include "TEX$ROOT:[BIBTEX]PHYSICS.BTX"
+ % Please notify Charles Karney (Karney@Princeton.EDU)
+ % of any bugs, improvements, etc.
+
+ % For Physics of Fluids, which now wants ALL the authors
+ % (Same as AIP but infinite names, abbreviate pages, and
+ % alternate incollection)
+
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { "," * write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ skip$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {embolden}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\bf " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {paren}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "(" swap$ * ")" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.edited}
+{ editor empty$
+ { "" }
+ { "edited by " editor format.names * }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {first.page}
+{ 't :=
+ ""
+ { t empty$ not t #1 #1 substring$ "-" = not and }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { "" }
+ 'year
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pp." pages n.dashify tie.or.space.connect }
+ { "p." pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pages.a}
+{ pages empty$
+ { "" }
+ { "p." pages first.page tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null embolden
+ " " swap$ * *
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages.a }
+ { ", " * pages first.page * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "in " booktitle emphasize * }
+ { "in " booktitle emphasize * ", " * format.edited * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In " journal * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ crossref missing$
+ { journal field.or.null
+ format.vol.num.pages
+ format.date empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.date paren }
+ { " " * format.date paren * }
+ if$
+ }
+ if$
+ output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Programming"}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Gr."}
+
+MACRO {toms} {"ACM Trans. Math. Softw."}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+MACRO {advp} {"Adv. Phys."}
+MACRO {ajp} {"Am. J. Phys."}
+MACRO {ao} {"Appl. Opt."}
+MACRO {apl} {"Appl. Phys. Lett."}
+MACRO {apj} {"Astrophys. J."}
+MACRO {baps} {"Bull. Am. Phys. Soc."}
+MACRO {cpc} {"Computer Phys. Comm."}
+MACRO {cppcf} {"Comments Plasma Phys. Controlled Fusion"}
+MACRO {fed} {"Fusion Eng. Design"}
+MACRO {ft} {"Fusion Tech."}
+MACRO {ieeens} {"IEEE Trans. Nucl. Sci."}
+MACRO {ieeeps} {"IEEE Trans. Plasma Sci."}
+MACRO {ijimw} {"Int. J. Infrared Millimeter Waves"}
+MACRO {ip} {"Infrared Phys."}
+MACRO {jap} {"J. Appl. Phys."}
+MACRO {jcp} {"J. Comput. Phys."}
+MACRO {jetp} {"Sov. Phys.-JETP"}
+MACRO {jfe} {"J. Fusion Energy"}
+MACRO {jfm} {"J. Fluid Mech."}
+MACRO {jgr} {"J. Geophys. Res."}
+MACRO {jmp} {"J. Math. Phys."}
+MACRO {jne} {"J. Nucl. Energy"}
+MACRO {jnec} {"J. Nucl. Energy, Part C"}
+MACRO {jnm} {"J. Nucl. Mater."}
+MACRO {josa} {"J. Opt. Soc. Am."}
+MACRO {jpp} {"J. Plasma Phys."}
+MACRO {jpsj} {"J. Phys. Soc. Jpn"}
+MACRO {jvst} {"J. Vac. Sci. Technol."}
+MACRO {nedf} {"Nucl. Eng. Design/Fusion"}
+MACRO {nf} {"Nucl. Fusion"}
+MACRO {nim} {"Nucl. Instrum. Methods"}
+MACRO {nimpr} {"Nucl. Instrum. Methods Phys. Research"}
+MACRO {nt/f} {"Nucl. Tech./Fusion"}
+MACRO {pf} {"Phys. Fluids"}
+MACRO {pfa} {"Phys. Fluids A"}
+MACRO {pfb} {"Phys. Fluids B"}
+MACRO {pl} {"Phys. Lett."}
+MACRO {pla} {"Phys. Lett. A"}
+MACRO {pnas} {"Proc. Nat. Acad. Sci. USA"}
+MACRO {pp} {"Plasma Phys."}
+MACRO {ppcf} {"Plasma Phys. Controlled Fusion"}
+MACRO {prl} {"Phys. Rev. Lett."}
+MACRO {pr} {"Phys. Rev."}
+MACRO {pra} {"Phys. Rev. A"}
+MACRO {ps} {"Physica Scripta"}
+MACRO {rmp} {"Rev. Mod. Phys."}
+MACRO {rsi} {"Rev. Sci. Instrum."}
+MACRO {sjpp} {"Sov. J. Plasma Phys."}
+MACRO {spd} {"Sov. Phys.-Dokl."}
+MACRO {sptp} {"Sov. Phys.-Tech. Phys."}
+MACRO {spu} {"Sov. Phys.-Usp."}
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/phy-bstyles/physics.btx b/biblio/bibtex/contrib/phy-bstyles/physics.btx
new file mode 100644
index 0000000000..650715fb8c
--- /dev/null
+++ b/biblio/bibtex/contrib/phy-bstyles/physics.btx
@@ -0,0 +1,3569 @@
+% BibTeX styles for various physics journals (27-Feb-1990).
+% This file, physics.btx, is based on the file btxbst.doc.
+ % Please notify Charles Karney (Karney@Princeton.EDU)
+ % of any bugs, improvements, etc.
+
+% Run this file through cpp to get specific versions. I have written
+% a version of cpp within Emacs. To access it put
+% (autoload 'cpp "tex$bibtex:cpp" ; Use cpp for BibTeX styles
+% "C preprocessor"
+% t)
+% into your .emacs file. Read in this file with
+% emacs tex$bibtex:physics.btx
+% and run cpp with e.g.,
+% M-x cpp <ret> aip <ret>
+% Save the resulting file to tex$latex:aip.bst.
+
+% To accomodate the variations we need (in addition to the definitions below)
+% ATIT_SUPPRESS: do not include the titles of journal articles
+% NAME_INVERT: put the initials last
+% NAME_UPPER: convert names to all caps.
+% MONTH_SUPPRESS: do not include months in journal articles
+% PAREN_DATE: dates go in parens in journal articles
+% DATE_FIRST: dates go before page numbers
+% VOLUME_SPACE: volume set off with space (not colon)
+% NUM_SUPPRESS: do not include numbers in journal articles
+% BOLD_VOL: volume numbers in bold face in journal articles
+% BRACKET_NOTE: notes in brackets
+% PAGE_START_J: include only starting page for journal articles
+% PAGE_START_O: include only starting page for other entries
+% PAGE_ABBREV: abbreviate page to p. and pages to pp.
+% PHYSICS_JOUR: include abbreviations for Physics journals
+% COMMA_DELIMIT: use comma (instead of period) to divide a citation
+% NOTE_SUPPRESS: suppress the note
+% MAX_NAMES: max number of authors before using et al (0 = infinity)
+% MIN_NAMES: number of authors to list with et al.
+% EDIT_VAR: use "edited by ..." instead of "..., editors"
+% RMP_LABELS: create RMP-style labels
+% KEY_CITE: use key as label
+% NAMED_REFS: use (Smith, 1988) style of citations
+% CSC_NAMES: names set in caps and small caps
+% JOUR_DEEMPH: don't emphasize journal name
+% ETAL_EMPH: emphasize et al.
+% ALT_INCOLL alternate ordering of fields in incollections
+
+% These are all boolean (0 or 1) except for MAX_NAMES and MIN_NAMES.
+% These need to satisfy 0 <= MIN_NAMES <= MAX_NAMES.
+% The rule here is that if all these are defined to be zero, we revert to
+% the standard styles. For that reason we initialize them all to 0.
+
+# define ATIT_SUPPRESS 0
+# define NAME_INVERT 0
+# define NAME_UPPER 0
+# define MONTH_SUPPRESS 0
+# define PAREN_DATE 0
+# define DATE_FIRST 0
+# define VOLUME_SPACE 0
+# define NUM_SUPPRESS 0
+# define BOLD_VOL 0
+# define BRACKET_NOTE 0
+# define PAGE_START_J 0
+# define PAGE_START_O 0
+# define PAGE_ABBREV 0
+# define PHYSICS_JOUR 0
+# define COMMA_DELIMIT 0
+# define NOTE_SUPPRESS 0
+# define MAX_NAMES 0
+# define MIN_NAMES 0
+# define EDIT_VAR 0
+# define RMP_LABELS 0
+# define KEY_CITE 0
+# define NAMED_REFS 0
+# define CSC_NAMES 0
+# define JOUR_DEEMPH 0
+# define ETAL_EMPH 0
+# define ALT_INCOLL 0
+
+% These are the original macros
+# define LAB_ALPH 0
+# define SORTED 0
+# define NAME_FULL 0
+# define ATIT_LOWER 0
+# define MONTH_FULL 0
+# define JOUR_FULL 0
+
+#ifdef AIP
+ % For American Institute of Physics Journals
+# define ATIT_SUPPRESS 1
+# define PAGE_START_J 1
+# define PHYSICS_JOUR 1
+# define MAX_NAMES 5
+# define MIN_NAMES 1
+# define EDIT_VAR 1
+# define ATIT_LOWER 1
+# define COMMA_DELIMIT 1
+# define VOLUME_SPACE 1
+# define MONTH_SUPPRESS 1
+# define PAREN_DATE 1
+# define NUM_SUPPRESS 1
+# define BOLD_VOL 1
+# define JOUR_DEEMPH 1
+#endif
+
+#ifdef PF
+ % For Physics of Fluids, which now wants ALL the authors
+ % (Same as AIP but infinite names, abbreviate pages, and
+ % alternate incollection)
+# define ATIT_SUPPRESS 1
+# define PAGE_START_J 1
+# define PHYSICS_JOUR 1
+# define EDIT_VAR 1
+# define ATIT_LOWER 1
+# define COMMA_DELIMIT 1
+# define VOLUME_SPACE 1
+# define MONTH_SUPPRESS 1
+# define PAREN_DATE 1
+# define NUM_SUPPRESS 1
+# define BOLD_VOL 1
+# define JOUR_DEEMPH 1
+# define PAGE_ABBREV 1
+# define ALT_INCOLL 1
+#endif
+
+#ifdef NF
+ % For Nuclear Fusion
+ % see Nuclear Fusion Vol. 28, No. 2 (1988),
+ % "Announcement [of] Guidelines for Bibliographical Citations"
+% same as AIP except for NAME_INVERT, NAME_UPPER, DATE_FIRST and
+% MIN_NAMES and MAX_NAMES set to use only three names if there are
+% 6 or more. Also, no EDIT_VAR, and use PAGE_START_O and PAGE_ABBREV.
+% There are still some nits to be picked (years in parentheses for
+% other than journals, volumes having Vol. before them and pages not
+% having p.)
+# define ATIT_SUPPRESS 1
+# define PAGE_START_J 1
+# define PAGE_START_O 1
+# define PAGE_ABBREV 1
+# define PHYSICS_JOUR 1
+# define ATIT_LOWER 1
+# define COMMA_DELIMIT 1
+# define VOLUME_SPACE 1
+# define MONTH_SUPPRESS 1
+# define PAREN_DATE 1
+# define NUM_SUPPRESS 1
+# define BOLD_VOL 1
+# define NAME_INVERT 1
+# define NAME_UPPER 1
+# define DATE_FIRST 1
+# define JOUR_DEEMPH 1
+# define MAX_NAMES 5
+# define MIN_NAMES 3
+#endif
+#ifdef NFLET
+ % For Nuclear Fusion Letters
+% same as NF except for MIN_NAMES and MAX_NAMES set to 5
+# define ATIT_SUPPRESS 1
+# define PAGE_START_J 1
+# define PAGE_START_O 1
+# define PAGE_ABBREV 1
+# define PHYSICS_JOUR 1
+# define ATIT_LOWER 1
+# define COMMA_DELIMIT 1
+# define VOLUME_SPACE 1
+# define MONTH_SUPPRESS 1
+# define PAREN_DATE 1
+# define NUM_SUPPRESS 1
+# define BOLD_VOL 1
+# define NAME_INVERT 1
+# define NAME_UPPER 1
+# define DATE_FIRST 1
+# define MAX_NAMES 5
+# define MIN_NAMES 5
+# define JOUR_DEEMPH 1
+#endif
+#ifdef IAEA
+ % For IAEA Conferences
+% same as NF except for MIN_NAMES and MAX_NAMES set to 1
+# define ATIT_SUPPRESS 1
+# define PAGE_START_J 1
+# define PHYSICS_JOUR 1
+# define EDIT_VAR 1
+# define ATIT_LOWER 1
+# define COMMA_DELIMIT 1
+# define VOLUME_SPACE 1
+# define MONTH_SUPPRESS 1
+# define PAREN_DATE 1
+# define NUM_SUPPRESS 1
+# define BOLD_VOL 1
+# define NAME_INVERT 1
+# define NAME_UPPER 1
+# define DATE_FIRST 1
+# define MAX_NAMES 1
+# define MIN_NAMES 1
+# define JOUR_DEEMPH 1
+#endif
+#ifdef CPC
+ % For Computer Physics Communications
+% same as AIP except for NAME_INVERT, DATE_FIRST
+# define ATIT_SUPPRESS 1
+# define PAGE_START_J 1
+# define PHYSICS_JOUR 1
+# define MAX_NAMES 5
+# define MIN_NAMES 1
+# define EDIT_VAR 1
+# define ATIT_LOWER 1
+# define COMMA_DELIMIT 1
+# define VOLUME_SPACE 1
+# define MONTH_SUPPRESS 1
+# define PAREN_DATE 1
+# define NUM_SUPPRESS 1
+# define BOLD_VOL 1
+# define NAME_INVERT 1
+# define DATE_FIRST 1
+# define JOUR_DEEMPH 1
+#endif
+#ifdef RMP
+ % For Reviews of Modern Physics,
+% except first name not inverted yet and order of fields not hacked
+# define LAB_ALPH 1
+# define SORTED 1
+# define RMP_LABELS 1
+# define ATIT_SUPPRESS 1
+# define ATIT_LOWER 1
+# define MONTH_SUPRESS 1
+# define NUM_SUPPRESS 1
+# define VOL_SUPPRESS 1
+# define BOLD_VOL 1
+# define BRACKET_NOTE 1
+# define PAGE_START_J 1
+# define PAGE_START_O 1
+# define PAGE_ABBREV 1
+# define PHYSICS_JOUR 1
+# define COMMA_DELIMIT 1
+# define EDIT_VAR 1
+# define JOUR_DEEMPH 1
+#endif
+#ifdef REPORT
+ % For internal reports
+% same as AIP except for ATIT_SUPPRESS, MONTH_SUPPRESS, PAGE_START_J,
+% NUM_SUPPRESS, MAX_NAMES, MIN_NAMES
+# define PHYSICS_JOUR 1
+# define EDIT_VAR 1
+# define ATIT_LOWER 0
+# define COMMA_DELIMIT 1
+# define VOLUME_SPACE 1
+# define PAREN_DATE 1
+# define BOLD_VOL 1
+# define JOUR_DEEMPH 1
+#endif
+#ifdef APALIKE
+ % For American Psychological Association
+ % (same as ALPHA but with NAMED_REFS set and NAME_FULL unset)
+# define LAB_ALPH 1
+# define SORTED 1
+# define NAME_FULL 0
+# define ATIT_LOWER 1
+# define MONTH_FULL 1
+# define JOUR_FULL 1
+# define NAMED_REFS 1
+# define NAME_INVERT 1
+#endif
+#ifdef PPCF
+ % A physics version of APALIKE
+# define PHYSICS_JOUR 1
+# define LAB_ALPH 1
+# define SORTED 1
+# define NAME_FULL 0
+# define ATIT_LOWER 0
+# define ATIT_SUPPRESS 1
+# define MONTH_FULL 1
+# define JOUR_FULL 0
+# define NAMED_REFS 1
+# define NAME_INVERT 1
+# define ETAL_EMPH 1
+# define CSC_NAMES 1
+# define NUM_SUPPRESS 1
+# define BOLD_VOL 1
+# define VOLUME_SPACE 1
+#endif
+#ifdef JCP
+ % For Journal of Computational Physics
+ % Cris Barnes and Dave Mikkelson, 9/25/89
+# define ATIT_SUPPRESS 1
+# define MONTH_SUPPRESS 1
+# define PAREN_DATE 1
+# define VOLUME_SPACE 1
+# define NUM_SUPPRESS 1
+# define BOLD_VOL 1
+# define PAGE_START_J 1
+# define PAGE_START_O 1
+# define PAGE_ABBREV 1
+# define PHYSICS_JOUR 1
+# define COMMA_DELIMIT 1
+# define NOTE_SUPPRESS 1
+# define EDIT_VAR 1
+# define CSC_NAMES 1
+#endif
+% This is the start of btxbst.doc
+
+% BibTeX `plain' family
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+#if NAMED_REFS
+% BibTeX `apalike' bibliography style (24-Jan-88 version)
+% Adapted from the `alpha' style, version 0.99a; for BibTeX version 0.99a.
+% Copyright (C) 1988, all rights reserved.
+% Copying of this file is allowed, provided that if you make any changes at all
+% you name it something other than `apalike.bst'.
+% This restriction helps ensure that all copies are identical.
+% Differences between this style and `alpha' are generally heralded by a `%'.
+% The file btxbst.doc has the documentation for alpha.bst.
+%
+% This style should be used with the `apalike' LaTeX style (apalike.sty).
+% \cite's come out like "(Jones, 1986)" in the text but there are no labels
+% in the bibliography, and something like "(1986)" comes out immediately
+% after the author. Author (and editor) names appear as last name, comma,
+% initials. A `year' field is required for every entry, and so is either
+% an author (or in some cases, an editor) field or a key field.
+%
+% Editorial note:
+% Many journals require a style like `apalike', but I strongly, strongly,
+% strongly recommend that you not use it if you have a choice---use something
+% like `plain' instead. Mary-Claire van Leunen (A Handbook for Scholars,
+% Knopf, 1979) argues convincingly that a style like `plain' encourages better
+% writing than one like `apalike'. Furthermore the strongest arguments for
+% using an author-date style like `apalike'---that it's "the most practical"
+% (The Chicago Manual of Style, University of Chicago Press, thirteenth
+% edition, 1982, pages 400--401)---fall flat on their face with the new
+% computer-typesetting technology. For instance page 401 anachronistically
+% states "The chief disadvantage of [a style like `plain'] is that additions
+% or deletions cannot be made after the manuscript is typed without changing
+% numbers in both text references and list." LaTeX sidesteps the disadvantage.
+%
+% History:
+% 15-sep-86 (SK,OP) Original version, by Susan King and Oren Patashnik.
+% 10-nov-86 (OP) Truncated the sort.key$ string to the correct length
+% in bib.sort.order to eliminate error message.
+% 24-jan-88 (OP) Updated for BibTeX version 0.99a, from alpha.bst 0.99a;
+% apalike now sorts by author, then year, then title;
+% THIS `apalike' VERSION DOES NOT WORK WITH BIBTEX 0.98i.
+#endif APALIKE
+% Please notify Oren Patashnik (PATASHNIK@SCORE.STANFORD.EDU) of any bugs in
+% these standard styles or in this documentation file.
+%
+% This is file btxbxt.doc; it helps document bibliography styles,
+% and is also a template file that you can use to make
+% several different style files, if you have access to a C preprocessor.
+% For example, the standard styles were made by doing something like
+% cpp -P -DPLAIN btxbst.doc plain.txt
+% cpp -P -DUNSRT btxbst.doc unsrt.txt
+% cpp -P -DALPHA btxbst.doc alpha.txt
+% cpp -P -DABBRV btxbst.doc abbrv.txt
+% and then renaming after removing unwanted comments and blank lines.
+% If you don't have access,
+% you can edit this file by hand to imitate the preprocessor,
+% with the following explanation of the C preprocessor constructs used here.
+%
+% The output of the preprocessor is the same as the input, except that certain
+% lines will be excluded (and some blank lines will be added). The sequence
+% #if VAR
+% lines to be included when VAR is not zero
+% #else
+% lines to be included when VAR is zero
+% #endif
+% (with the #-signs appearing in column 1) means that one set or the other of
+% the lines are to be included depending on the value of VAR.
+% The #else part is optional. Comments can be added after #else and #endif.
+% Variables can be set by
+% #define VAR value
+% and one can also use #ifdef VAR to see if VAR has any value, and #ifndef
+% to see if it has none.
+% Another #if form used in this file is #if !VAR, which includes the lines
+% after the #if only if VAR is zero.
+%
+% Convention: Use all uppercase identifiers for these preprocessor variables
+% so you can spot them easily
+%
+% The command line to the preprocessor should define one of PLAIN, UNSRT, ALPHA
+% or ABBRV (though PLAIN will be used by default if none is given),
+% and the following lines will set various boolean variables to control the
+% various lines that are chosen from the rest of the file.
+% Each boolean variable should be set true (1) or false (0) in each style.
+% Here are the current variables, and their meanings:
+% LAB_ALPH: an alphabetic label is used (if false then a numeric
+% label is used)
+% SORTED: the entries should be sorted by label (if nonnumeric)
+% and other info, like authors (if false, then
+% entries remain in order of occurrence)
+% NAME_FULL: the authors, editors, etc., get the full names as
+% given in the bibliography file (if false, the first
+% names become initials)
+% ATIT_LOWER: titles of non-"books" (e.g., articles) should be
+% converted to lower-case, except the first letter or
+% first letter after a colon
+% (if false then they appear as in the database)
+% MONTH_FULL: months are spelled out in full (if false, then
+% they're abbreviated)
+% JOUR_FULL: macro journal names are spelled out in full
+% (if false then they are abbreviated, currently
+% as they appear in ACM publications)
+#ifndef UNSRT
+# ifndef ALPHA
+# ifndef ABBRV
+%# define PLAIN 1
+# endif
+# endif
+#endif
+#ifdef PLAIN
+% plain style (sorted numbers)
+# define LAB_ALPH 0
+# define SORTED 1
+# define NAME_FULL 1
+# define ATIT_LOWER 1
+# define MONTH_FULL 1
+# define JOUR_FULL 1
+#endif
+#ifdef UNSRT
+% unsrt style (unsorted numbers)
+# define LAB_ALPH 0
+# define SORTED 0
+# define NAME_FULL 1
+# define ATIT_LOWER 1
+# define MONTH_FULL 1
+# define JOUR_FULL 1
+#endif
+#ifdef ALPHA
+% alpha style (sorted short alphabetics)
+# define LAB_ALPH 1
+# define SORTED 1
+# define NAME_FULL 1
+# define ATIT_LOWER 1
+# define MONTH_FULL 1
+# define JOUR_FULL 1
+#endif
+#ifdef ABBRV
+% abbrv style (sorted numbers, with abbreviations)
+# define LAB_ALPH 0
+# define SORTED 1
+# define NAME_FULL 0
+# define ATIT_LOWER 1
+# define MONTH_FULL 0
+# define JOUR_FULL 0
+#endif
+%
+% Entry formatting: Similar to that recommended by Mary-Claire van Leunen
+% in "A Handbook for Scholars". Book-like titles are italicized
+% (emphasized) and non-book titles are converted to sentence
+% capitilization (and not enclosed in quotes).
+% This file outputs a \newblock between major blocks of an entry
+% (the name \newblock is analogous to the names \newline and \newpage)
+% so that the user can obtain an "open" format, which has a line break
+% before each block and lines after the first are indented within blocks,
+% by giving the optional \documentstyle argument `openbib';
+% The default is the "closed" format---blocks runs together.
+%
+% Citation alphabetic label format:
+% [Knu73] for single author (or editor or key)
+% [AHU83] (first letters of last names) for multiple authors
+%
+% Citation label numberic format:
+% [number]
+%
+% Reference list ordering for sorted, alphabetic lables:
+% alphabetical by citation label, then by author(s) or whatever
+% passes for author in the absence of one, then by year,
+% then title
+%
+% Reference list ordering for sorted, numeric lables:
+% alphabetical by author(s) or whatever passes
+% for author in the absence of one, then by year, then title
+%
+% Reference list ordering for unsorted:
+% by the order cited in the text
+%
+% History
+% 12/16/84 (HWT) Original `plain' version, by Howard Trickey.
+% 12/23/84 (LL) Some comments made by Leslie Lamport.
+% 2/16/85 (OP) Changes based on LL's comments, Oren Patashnik.
+% 2/17/85 (HWT) Template file and other standard styles made.
+% 3/28/85 (OP) First release, version 0.98b for BibTeX 0.98f.
+% 5/ 9/85 (OP) Version 0.98c for BibTeX 0.98i:
+% fixed Theoretical Computer Science macro name;
+% fixed the format.vol.num.pages function.
+% 1/24/88 (OP) Version 0.99a for BibTeX 0.99a, main changes:
+% assignment operator (:=) arguments reversed;
+% the preamble$ function outputs the database PREAMBLE;
+% entry.max$ and global.max$ (built-in) variables replace
+% entry.string.max and global.string.max functions;
+% alphabetizing by year then title, not just title;
+% many unnecessary ties removed; \it ==> \em;
+% the `alpha' style uses a superscripted `+' instead of a
+% `*' for unnamed names in constructing the label;
+% the `abbrv' style now uses "Mar." and "Sept.";
+% the functions calc.label and presort now look at just
+% the fields they're supposed to;
+% BOOKLET, MASTERSTHESIS, TECHREPORT use nonbook titles;
+% INBOOK and INCOLLECTION take an optional type (e.g.
+% type = "Section"), overriding the default "chapter";
+% BOOK, INBOOK, INCOLLECTION, and PROCEEDINGS now allow
+% either volume or number, not just volume;
+% INCOLLECTION now allows an edition and series field;
+% PROCEEDINGS and INPROCEEDINGS now use the address field
+% to tell where a conference was held;
+% INPROCEEDINGS and PROCEEDINGS now allow either volume
+% or number, and also a series field;
+% MASTERSTHESIS and PHDTHESIS accept types other than
+% "Master's thesis" and "PhD thesis";
+% UNPUBLISHED now outputs, in one block, note then date;
+% MANUAL now prints out the organization in
+% the first block if the author field is empty;
+% MISC can't be empty---it requires some optional field.
+% 3/23/88 (OP) Version 0.99b for BibTeX 0.99c---changed the three
+% erroneous occurrences of `cite ' to `cite$ '; this
+% change didn't affect the four standard styles, so the
+% 0.99a versions of those styles are still current.
+%
+% The ENTRY declaration
+% Like Scribe's (according to pages 231-2 of the April '84 edition),
+% but no fullauthor or editors fields because BibTeX does name handling.
+% The annote field is commented out here because this family doesn't
+% include an annotated bibliography style. And in addition to the fields
+% listed here, BibTeX has a built-in crossref field, explained later.
+
+ENTRY
+% Fields:
+ { address
+% Usually the address of a publisher or other type of organization.
+% Put information in this field only if it helps the reader find the
+% thing---for example you should omit the address of a major
+% publisher entirely. For a PROCEEDINGS or an INPROCEEDINGS,
+% however, it's the address of the conference; for those two entry
+% types, include the publisher's or organization's address, if
+% necessary, in the publisher or organization field.
+% annote
+% Long annotation---for annotated bibliographies (begins sentence).
+ author
+% Name(s) of author(s), in BibTeX name format.
+ booktitle
+% Book title when the thing being referenced isn't the whole book.
+% For book entries, the title field should be used instead.
+ chapter
+% Chapter (or section or whatever) number.
+ edition
+% Edition of a book---should be an ordinal (e.g., "Second").
+ editor
+% Name(s) of editor(s), in BibTeX name format.
+% If there is also an author field, then the editor field should be
+% for the book or collection that the work appears in.
+ howpublished
+% How something strange has been published (begins sentence).
+ institution
+% Sponsoring institution of a technical report.
+ journal
+% Journal name (macros are provided for many).
+ key
+% Alphabetizing, labeling, and cross-referencing key
+% (needed when an entry has no author or editor).
+#if !NAMED_REFS
+ month
+#else NAMED_REFS
+% month not used in apalike
+#endif
+% Month (macros are provided).
+ note
+% To help the reader find a reference (begins sentence).
+ number
+% Number of a journal or technical report, or of a work in a series.
+ organization
+% Organization sponsoring a conference (or publishing a manual); if
+% the editor (or author) is empty, and if the organization produces
+% an awkward label or cross reference, you should put appropriately
+% condensed organization information in the key field as well.
+ pages
+% Page number or numbers (use `--' to separate a range, use `+'
+% to indicate pages following that don't form a simple range).
+ publisher
+% Publisher name.
+ school
+% School name (for theses).
+ series
+% The name of a series or set of books.
+% An individual book will will also have it's own title.
+ title
+% The title of the thing you're referred to.
+ type
+% Type of a Techreport (e.g., "Research Note") to be used instead of
+% the default "Technical Report"; or, similarly, the type of a
+% thesis; or of a part of a book.
+ volume
+% The volume number of a journal or multivolume work.
+ year
+% The year should contain only numerals (technically, it should end
+% with four numerals, after purification; doesn't a begin sentence).
+ }
+% There are no integer entry variables
+ {}
+% These string entry variables are used to form the citation label.
+% In a storage pinch, sort.label can be easily computed on the fly.
+#if LAB_ALPH
+#if SORTED
+ { label extra.label sort.label }
+#else !SORTED
+% It doesn't seem like a good idea to use an order-of-citation
+% reference list when using alphabetic labels, but when this happens
+% we do things a little differently
+ { label }
+#endif SORTED
+#else !LAB_ALPH
+ { label }
+#endif LAB_ALPH
+
+% Each entry function starts by calling output.bibitem, to write the
+% \bibitem and its arguments to the .BBL file. Then the various fields
+% are formatted and printed by output or output.check. Those functions
+% handle the writing of separators (commas, periods, \newblock's),
+% taking care not to do so when they are passed a null string.
+% Finally, fin.entry is called to add the final period and finish the
+% entry.
+%
+% A bibliographic reference is formatted into a number of `blocks':
+% in the open format, a block begins on a new line and subsequent
+% lines of the block are indented. A block may contain more than
+% one sentence (well, not a grammatical sentence, but something to
+% be ended with a sentence ending period). The entry functions should
+% call new.block whenever a block other than the first is about to be
+% started. They should call new.sentence whenever a new sentence is
+% to be started. The output functions will ensure that if two
+% new.sentence's occur without any non-null string being output between
+% them then there won't be two periods output. Similarly for two
+% successive new.block's.
+%
+% The output routines don't write their argument immediately.
+% Instead, by convention, that argument is saved on the stack to be
+% output next time (when we'll know what separator needs to come
+% after it). Meanwhile, the output routine has to pop the pending
+% output off the stack, append any needed separator, and write it.
+%
+% To tell which separator is needed, we maintain an output.state.
+% It will be one of these values:
+% before.all just after the \bibitem
+% mid.sentence in the middle of a sentence: comma needed
+% if more sentence is output
+% after.sentence just after a sentence: period needed
+% after.block just after a block (and sentence):
+% period and \newblock needed.
+% Note: These styles don't use after.sentence
+%
+% VAR: output.state : INTEGER -- state variable for output
+%
+% The output.nonnull function saves its argument (assumed to be nonnull)
+% on the stack, and writes the old saved value followed by any needed
+% separator. The ordering of the tests is decreasing frequency of
+% occurrence.
+%
+% output.nonnull(s) ==
+% BEGIN
+% s := argument on stack
+% if output.state = mid.sentence then
+% write$(pop() * ", ")
+% -- "pop" isn't a function: just use stack top
+% else
+% if output.state = after.block then
+% write$(add.period$(pop()))
+% newline$
+% write$("\newblock ")
+% else
+% if output.state = before.all then
+% write$(pop())
+% else -- output.state should be after.sentence
+% write$(add.period$(pop()) * " ")
+% fi
+% fi
+% output.state := mid.sentence
+% fi
+% push s on stack
+% END
+%
+% The output function calls output.nonnull if its argument is non-empty;
+% its argument may be a missing field (thus, not necessarily a string)
+%
+% output(s) ==
+% BEGIN
+% if not empty$(s) then output.nonnull(s)
+% fi
+% END
+%
+% The output.check function is the same as the output function except that, if
+% necessary, output.check warns the user that the t field shouldn't be empty
+% (this is because it probably won't be a good reference without the field;
+% the entry functions try to make the formatting look reasonable even when
+% such fields are empty).
+%
+% output.check(s,t) ==
+% BEGIN
+% if empty$(s) then
+% warning$("empty " * t * " in " * cite$)
+% else output.nonnull(s)
+% fi
+% END
+%
+% The output.bibitem function writes the \bibitem for the current entry
+% (the label should already have been set up), and sets up the separator
+% state for the output functions. And, it leaves a string on the stack
+% as per the output convention.
+%
+% output.bibitem ==
+% BEGIN
+% newline$
+% write$("\bibitem[") % for alphabetic labels,
+% write$(label) % these three lines
+% write$("]{") % are used
+% write$("\bibitem{") % this line for numeric labels
+% write$(cite$)
+% write$("}")
+% push "" on stack
+% output.state := before.all
+% END
+%
+% The fin.entry function finishes off an entry by adding a period to the
+% string remaining on the stack. If the state is still before.all
+% then nothing was produced for this entry, so the result will look bad,
+% but the user deserves it. (We don't omit the whole entry because the
+% entry was cited, and a bibitem is needed to define the citation label.)
+%
+% fin.entry ==
+% BEGIN
+% write$(add.period$(pop()))
+% newline$
+% END
+%
+% The new.block function prepares for a new block to be output, and
+% new.sentence prepares for a new sentence.
+%
+% new.block ==
+% BEGIN
+% if output.state <> before.all then
+% output.state := after.block
+% fi
+% END
+%
+% new.sentence ==
+% BEGIN
+% if output.state <> after.block then
+% if output.state <> before.all then
+% output.state := after.sentence
+% fi
+% fi
+% END
+%
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+% the variables s and t are temporary string holders
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+#if !COMMA_DELIMIT
+ { add.period$ write$
+#else COMMA_DELIMIT
+ { "," * write$
+#endif
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+#if NAMED_REFS
+% apalike needs this function because
+% the year has special punctuation;
+% apalike ignores the month
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { write$
+ " (" year * extra.label * ")" *
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+#endif NAMED_REFS
+
+FUNCTION {output.bibitem}
+{ newline$
+#if LAB_ALPH
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+#else
+ "\bibitem{" write$
+#endif LAB_ALPH
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+% This function finishes all entries.
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+#if !COMMA_DELIMIT
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+#else COMMA_DELIMIT
+{ skip$
+#endif
+}
+
+% These three functions pop one or two (integer) arguments from the stack
+% and push a single one, either 0 or 1.
+% The 'skip$ in the `and' and `or' functions are used because
+% the corresponding if$ would be idempotent
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+% Sometimes we begin a new block only if the block will be big enough. The
+% new.block.checka function issues a new.block if its argument is nonempty;
+% new.block.checkb does the same if either of its TWO arguments is nonempty.
+
+#if !NAMED_REFS
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+#endif !NAMED_REFS
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+#if !NAMED_REFS
+% The new.sentence.check functions are analogous.
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+#endif !NAMED_REFS
+
+% Here are some functions for formatting chunks of an entry.
+% By convention they either produce a string that can be followed by
+% a comma or period (using add.period$, so it is OK to end in a period),
+% or they produce the null string.
+%
+% A useful utility is the field.or.null function, which checks if the
+% argument is the result of pushing a `missing' field (one for which no
+% assignment was made when the current entry was read in from the database)
+% or the result of pushing a string having no non-white-space characters.
+% It returns the null string if so, otherwise it returns the field string.
+% Its main (but not only) purpose is to guarantee that what's left on the
+% stack is a string rather than a missing field.
+%
+% field.or.null(s) ==
+% BEGIN
+% if empty$(s) then return ""
+% else return s
+% END
+%
+% Another helper function is emphasize, which returns the argument emphazised,
+% if that is non-empty, otherwise it returns the null string. Italic
+% corrections aren't used, so this function should be used when punctation
+% will follow the result.
+%
+% emphasize(s) ==
+% BEGIN
+% if empty$(s) then return ""
+% else return "{\em " * s * "}"
+%
+% The format.names function formats the argument (which should be in
+% BibTeX name format) into "First Von Last, Junior", separated by commas
+% and with an "and" before the last (but ending with "et~al." if the last
+% of multiple authors is "others"). This function's argument should always
+% contain at least one name.
+%
+% VAR: nameptr, namesleft, numnames: INTEGER
+% pseudoVAR: nameresult: STRING (it's what's accumulated on the stack)
+%
+% format.names(s) ==
+% BEGIN
+% nameptr := 1
+% numnames := num.names$(s)
+% namesleft := numnames
+% while namesleft > 0
+% do
+% % for full names:
+% t := format.name$(s, nameptr, "{ff~}{vv~}{ll}{, jj}")
+% % for abbreviated first names:
+% t := format.name$(s, nameptr, "{f.~}{vv~}{ll}{, jj}")
+% if nameptr > 1 then
+% if namesleft > 1 then nameresult := nameresult * ", " * t
+% else if numnames > 2
+% then nameresult := nameresult * ","
+% fi
+% if t = "others"
+% then nameresult := nameresult * " et~al."
+% else nameresult := nameresult * " and " * t
+% fi
+% fi
+% else nameresult := t
+% fi
+% nameptr := nameptr + 1
+% namesleft := namesleft - 1
+% od
+% return nameresult
+% END
+%
+% The format.authors function returns the result of format.names(author)
+% if the author is present, or else it returns the null string
+%
+% format.authors ==
+% BEGIN
+% if empty$(author) then return ""
+% else return format.names(author)
+% fi
+% END
+%
+% Format.editors is like format.authors, but it uses the editor field,
+% and appends ", editor" or ", editors"
+%
+% format.editors ==
+% BEGIN
+% if empty$(editor) then return ""
+% else
+% if num.names$(editor) > 1 then
+% return format.names(editor) * ", editors"
+% else
+% return format.names(editor) * ", editor"
+% fi
+% fi
+% END
+%
+% Other formatting functions are similar, so no "comment version" will be
+% given for them.
+%
+% The `pop$' in this function gets rid of the duplicate `empty' value and
+% the `skip$' returns the duplicate field value
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+#if CSC_NAMES
+FUNCTION {caps}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\sc " swap$ * "}" * }
+ if$
+}
+#endif
+
+#if BOLD_VOL
+FUNCTION {embolden}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\bf " swap$ * "}" * }
+ if$
+}
+#endif
+
+#if BRACKET_NOTE
+FUNCTION {bracket}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "[" swap$ * "]" * }
+ if$
+}
+#endif
+
+#if PAREN_DATE
+FUNCTION {paren}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "(" swap$ * ")" * }
+ if$
+}
+#endif
+
+INTEGERS { nameptr namesleft numnames }
+
+#if MAX_NAMES
+INTEGERS { etal }
+#endif
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+#if !MAX_NAMES
+ numnames 'namesleft :=
+#else MAX_NAMES
+ numnames #MAX_NAMES >
+ s numnames "{ll}" format.name$ "others" = numnames #MIN_NAMES > and
+ or 'etal :=
+ etal
+ { #MIN_NAMES #1 + 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+#endif
+ { namesleft #0 > }
+#if NAME_FULL
+#if !NAME_INVERT
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+#else NAME_INVERT
+ { s nameptr "{vv~}{ll}{, jj}{, ff}" format.name$ 't :=
+#endif
+#else
+#if !NAME_INVERT
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+#else NAME_INVERT
+ { s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't := % last name first
+#endif
+#endif NAME_FULL
+#if NAME_UPPER
+ t "others" =
+ 'skip$
+ { t "u" change.case$ 't := }
+ if$
+#endif
+#if CSC_NAMES
+ t "others" =
+ 'skip$
+ { t caps 't := }
+ if$
+#endif
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+#if !MAX_NAMES
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+#if !ETAL_EMPH
+ { " et~al." * }
+#else ETAL_EMPH
+ { " {\em et~al.}" * }
+#endif ETAL_EMPH
+ { " and " * t * }
+ if$
+ }
+#else MAX_NAMES
+ { nameptr #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ etal or
+#if !ETAL_EMPH
+ { " et~al." * }
+#else ETAL_EMPH
+ { " {\em et~al.}" * }
+#endif ETAL_EMPH
+ { " and " * t * }
+ if$
+ }
+#endif
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+#if NAMED_REFS
+FUNCTION {format.key} % this function is just for apalike
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+#endif NAMED_REFS
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+#if EDIT_VAR
+FUNCTION {format.edited}
+{ editor empty$
+ { "" }
+ { "edited by " editor format.names * }
+ if$
+}
+#endif
+
+% The format.title function is used for non-book-like titles.
+% For most styles we convert to lowercase (except for the very first letter,
+% and except for the first one after a colon (followed by whitespace)),
+% and hope the user has brace-surrounded words that need to stay capitilized;
+% for some styles, however, we leave it as it is in the database.
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+#if ATIT_LOWER
+ { title "t" change.case$ }
+#else
+ 'title
+#endif ATIT_LOWER
+ if$
+}
+
+% By default, BibTeX sets the global integer variable global.max$ to the BibTeX
+% constant glob_str_size, the maximum length of a global string variable.
+% Analogously, BibTeX sets the global integer variable entry.max$ to
+% ent_str_size, the maximum length of an entry string variable.
+% The style designer may change these if necessary (but this is unlikely)
+
+% The n.dashify function makes each single `-' in a string a double `--'
+% if it's not already
+%
+% pseudoVAR: pageresult: STRING (it's what's accumulated on the stack)
+%
+% n.dashify(s) ==
+% BEGIN
+% t := s
+% pageresult := ""
+% while (not empty$(t))
+% do
+% if (first character of t = "-")
+% then
+% if (next character isn't)
+% then
+% pageresult := pageresult * "--"
+% t := t with the "-" removed
+% else
+% while (first character of t = "-")
+% do
+% pageresult := pageresult * "-"
+% t := t with the "-" removed
+% od
+% fi
+% else
+% pageresult := pageresult * the first character
+% t := t with the first character removed
+% fi
+% od
+% return pageresult
+% END
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+#define TEMP 0
+#if PAGE_START_J
+#define TEMP 1
+#endif
+#if PAGE_START_O
+#define TEMP 1
+#endif
+
+#if TEMP
+FUNCTION {first.page}
+{ 't :=
+ ""
+ { t empty$ not t #1 #1 substring$ "-" = not and }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+}
+#endif
+
+#if !NAMED_REFS
+% The format.date function is for the month and year, but we give a warning if
+% there's an empty year but the month is there, and we return the empty string
+% if they're both empty.
+
+FUNCTION {format.date}
+{ year empty$
+#if !MONTH_SUPPRESS
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+#else MONTH_SUPPRESS
+ { "" }
+ 'year
+#endif
+ if$
+}
+#endif !NAMED_REFS
+
+% The format.btitle is for formatting the title field when it is a book-like
+% entry---the style used here keeps it in uppers-and-lowers and emphasizes it.
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+% For several functions we'll need to connect two strings with a
+% tie (~) if the second one isn't very long (fewer than 3 characters).
+% The tie.or.space.connect function does that. It concatenates the two
+% strings on top of the stack, along with either a tie or space between
+% them, and puts this concatenation back onto the stack:
+%
+% tie.or.space.connect(str1,str2) ==
+% BEGIN
+% if text.length$(str2) < 3
+% then return the concatenation of str1, "~", and str2
+% else return the concatenation of str1, " ", and str2
+% END
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+% The either.or.check function complains if both fields or an either-or pair
+% are nonempty.
+%
+% either.or.check(t,s) ==
+% BEGIN
+% if empty$(s) then
+% warning$(can't use both " * t * " fields in " * cite$)
+% fi
+% END
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+% The format.bvolume function is for formatting the volume and perhaps
+% series name of a multivolume work. If both a volume and a series field
+% are there, we assume the series field is the title of the whole multivolume
+% work (the title field should be the title of the thing being referred to),
+% and we add an "of <series>". This function is called in mid-sentence.
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+% The format.number.series function is for formatting the series name
+% and perhaps number of a work in a series. This function is similar to
+% format.bvolume, although for this one the series must exist (and the
+% volume must not exist). If the number field is empty we output either
+% the series field unchanged if it exists or else the null string.
+% If both the number and series fields are there we assume the series field
+% gives the name of the whole series (the title field should be the title
+% of the work being one referred to), and we add an "in <series>".
+% We capitilize Number when this function is used at the beginning of a block.
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+% The format.edition function appends " edition" to the edition, if present.
+% We lowercase the edition (it should be something like "Third"), because
+% this doesn't start a sentence.
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+% The format.pages function is used for formatting a page range in a book
+% (and in rare circumstances, an article).
+%
+% The multi.page.check function examines the page field for a "-" or "," or "+"
+% so that format.pages can use "page" instead of "pages" if none exists.
+% Note: global.max$ here means "take the rest of the string"
+%
+% VAR: multiresult: INTEGER (actually, a boolean)
+%
+% multi.page.check(s) ==
+% BEGIN
+% t := s
+% multiresult := false
+% while ((not multiresult) and (not empty$(t)))
+% do
+% if (first character of t = "-" or "," or "+")
+% then multiresult := true
+% else t := t with the first character removed
+% fi
+% od
+% return multiresult
+% END
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+% This function doesn't begin a sentence so "pages" isn't capitalized.
+% Other functions that use this should keep that in mind.
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+#if !PAGE_ABBREV
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+#else PAGE_ABBREV
+ { "pp." pages n.dashify tie.or.space.connect }
+ { "p." pages tie.or.space.connect }
+#endif
+ if$
+ }
+ if$
+}
+
+#if TEMP
+FUNCTION {format.pages.a}
+{ pages empty$
+ { "" }
+#if !PAGE_ABBREV
+ { "page" pages first.page tie.or.space.connect }
+#else PAGE_ABBREV
+ { "p." pages first.page tie.or.space.connect }
+#endif
+ if$
+}
+#endif
+
+% The format.vol.num.pages function is for the volume, number, and page range
+% of a journal article. We use the format: vol(number):pages, with some
+% variations for empty fields. This doesn't begin a sentence.
+
+FUNCTION {format.vol.num.pages}
+#if !BOLD_VOL
+{ volume field.or.null
+#else BOLD_VOL
+{ volume field.or.null embolden
+#endif
+#if VOLUME_SPACE
+ " " swap$ * *
+#endif
+#if !NUM_SUPPRESS
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+#endif
+#if DATE_FIRST
+ format.date empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.date paren }
+ { " " * format.date paren * }
+ if$
+ }
+ if$
+#endif
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+#if !PAGE_START_J
+ { pop$ format.pages }
+#else PAGE_START_J
+ { pop$ format.pages.a }
+#endif
+#if !PAGE_START_J
+#if !DATE_FIRST
+#if !VOLUME_SPACE
+ { ":" * pages n.dashify * }
+#else VOLUME_SPACE
+ { ", " * pages n.dashify * }
+#endif
+#else DATE_FIRST
+ { " " * pages n.dashify *}
+#endif
+#else PAGE_START_J
+#if !DATE_FIRST
+#if !VOLUME_SPACE
+ { ":" * pages first.page * }
+#else VOLUME_SPACE
+ { ", " * pages first.page * }
+#endif
+#else DATE_FIRST
+ { " " * pages first.page *}
+#endif
+#endif
+ if$
+ }
+ if$
+}
+
+
+% The format.chapter.pages, if the chapter is present, puts whatever is in the
+% type field (or else "chapter" if type is empty) in front of a chapter number.
+% It then appends the pages, if present. This doesn't begin a sentence.
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+% The format.in.ed.booktitle function is used for starting out a sentence
+% that begins "In <booktitle>", putting an editor before the title if one
+% exists.
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+#if !COMMA_DELIMIT
+ { "In " booktitle emphasize * }
+#if !EDIT_VAR
+ { "In " format.editors * ", " * booktitle emphasize * }
+#else EDIT_VAR
+ { "In " booktitle emphasize * ", " * format.edited * }
+#endif
+#else COMMA_DELIMIT
+ { "in " booktitle emphasize * }
+#if !EDIT_VAR
+ { "in " format.editors * ", " * booktitle emphasize * }
+#else EDIT_VAR
+ { "in " booktitle emphasize * ", " * format.edited * }
+#endif
+#endif
+ if$
+ }
+ if$
+}
+
+#if !NAMED_REFS
+% The function empty.misc.check complains if all six fields are empty, and
+% if there's been no sorting or alphabetic-label complaint.
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+#if SORTED
+ key empty$ not and
+#else !SORTED
+#if LAB_ALPH
+ key empty$ not and
+#endif LAB_ALPH
+#endif SORTED
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+#endif
+
+% The function format.thesis.type returns either the (case-changed) type field,
+% if it is defined, or else the default string already on the stack
+% (like "Master's thesis" or "PhD thesis").
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+% The function format.tr.number makes a string starting with "Technical Report"
+% (or type, if that field is defined), followed by the number if there is one;
+% it returns the starting part (with a case change) even if there is no number.
+% This is used at the beginning of a sentence.
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+% Now come the cross-referencing functions (these are invoked because
+% one entry in the database file(s) cross-references another, by giving
+% the other entry's database key in a `crossref' field). This feature
+% allows one or more titled things that are part of a larger titled
+% thing to cross-reference the larger thing. These styles allow for
+% five posibilities: (1) an ARTICLE may cross-reference an ARTICLE;
+% (2) a BOOK, (3) INBOOK, or (4) INCOLLECTION may cross-reference a BOOK;
+% or (5) an INPROCEEDINGS may cross-reference a PROCEEDINGS.
+% Each of these is explained in more detail later.
+%
+% An ARTICLE entry type may cross reference another ARTICLE (this is
+% intended for when an entire journal is devoted to a single topic---
+% but since there is no JOURNAL entry type, the journal, too, should be
+% classified as an ARTICLE but without the author and title fields).
+% This will result in two warning messages for the journal's entry
+% if it's included in the reference list, but such is life.
+%
+% format.article.crossref ==
+% BEGIN
+% if empty$(key) then
+% if empty$(journal) then
+% warning$("need key or journal for " * cite$ *
+% " to crossref " * crossref)
+% return(" \cite{" * crossref * "}")
+% else
+% return("In " * emphazise.correct (journal) *
+% " \cite{" * crossref * "}")
+% fi
+% else
+% return("In " * key * " \cite{" * crossref * "}")
+% fi
+% END
+%
+% The other cross-referencing functions are similar, so no "comment version"
+% will be given for them.
+
+#if !NAMED_REFS
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+#if !JOUR_DEEMPH
+ { "In {\em " journal * "\/}" * }
+#else JOUR_DEEMPH
+ { "In " journal * }
+#endif
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+#else NAMED_REFS
+FUNCTION {format.article.crossref}
+{ "In" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+#endif NAMED_REFS
+
+#if !NAMED_REFS
+% We use just the last names of editors for a cross reference: either
+% "editor", or "editor1 and editor2", or "editor1 et~al." depending on
+% whether there are one, or two, or more than two editors.
+
+FUNCTION {format.crossref.editor}
+#if !CSC_NAMES
+{ editor #1 "{vv~}{ll}" format.name$
+#else CSC_NAMES
+{ editor #1 "{vv~}{ll}" format.name$ caps
+#endif
+ editor num.names$ duplicate$
+ #2 >
+#if !ETAL_EMPH
+ { pop$ " et~al." * }
+#else ETAL_EMPH
+ { pop$ " {\em et~al.}" * }
+#endif ETAL_EMPH
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+#if !ETAL_EMPH
+ { " et~al." * }
+#else ETAL_EMPH
+ { " {\em et~al.}" * }
+#endif ETAL_EMPH
+#if !CSC_NAMES
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+#else CSC_NAMES
+ { " and " * editor #2 "{vv~}{ll}" format.name$ caps * }
+#endif
+ if$
+ }
+ if$
+ }
+ if$
+}
+#endif
+
+% A BOOK (or INBOOK) entry type (assumed to be for a single volume in a
+% multivolume work) may cross reference another BOOK (the entire multivolume).
+% Usually there will be an editor, in which case we use that to construct the
+% cross reference; otherwise we use a nonempty key field or else the series
+% field (since the series gives the title of the multivolume work).
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+#if !NAMED_REFS
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+#else NAMED_REFS
+ "\cite{" * crossref * "}" * % this is for apalike
+#endif
+}
+
+% An INCOLLECTION entry type may cross reference a BOOK (assumed to be the
+% collection), or an INPROCEEDINGS may cross reference a PROCEEDINGS.
+% Often there will be an editor, in which case we use that to construct
+% the cross reference; otherwise we use a nonempty key field or else
+% the booktitle field (which gives the cross-referenced work's title).
+
+#if !NAMED_REFS
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+#else NAMED_REFS
+FUNCTION {format.incoll.inproc.crossref}
+{ "In" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+#endif NAMED_REFS
+
+% Now we define the type functions for all entry types that may appear
+% in the .BIB file---e.g., functions like `article' and `book'. These
+% are the routines that actually generate the .BBL-file output for
+% the entry. These must all precede the READ command. In addition, the
+% style designer should have a function `default.type' for unknown types.
+% Note: The fields (within each list) are listed in order of appearance,
+% except as described for an `inbook' or a `proceedings'.
+%
+% The article function is for an article in a journal. An article may
+% CROSSREF another article.
+% Required fields: author, title, journal, year
+% Optional fields: volume, number, pages, month, note
+%
+% article ==
+% BEGIN
+% output.bibitem
+% output.check(format.authors,"author")
+% new.block
+% output.check(format.title,"title")
+% new.block
+% if missing$(crossref) then
+% output.check(emphasize(journal),"journal")
+% output(format.vol.num.pages)
+% output.check(format.date,"year")
+% else
+% output.nonnull(format.article.crossref)
+% output(format.pages)
+% fi
+% new.block
+% output(note)
+% fin.entry
+% END
+%
+% The book function is for a whole book. A book may CROSSREF another book.
+% Required fields: author or editor, title, publisher, year
+% Optional fields: volume or number, series, address, edition, month,
+% note
+%
+% book ==
+% BEGIN
+% if empty$(author) then output.check(format.editors,"author and editor")
+% else output.check(format.authors,"author")
+% if missing$(crossref) then
+% either.or.check("author and editor",editor)
+% fi
+% fi
+% new.block
+% output.check(format.btitle,"title")
+% if missing$(crossref) then
+% output(format.bvolume)
+% new.block
+% output(format.number.series)
+% new.sentence
+% output.check(publisher,"publisher")
+% output(address)
+% else
+% new.block
+% output.nonnull(format.book.crossref)
+% fi
+% output(format.edition)
+% output.check(format.date,"year")
+% new.block
+% output(note)
+% fin.entry
+% END
+%
+% The other entry functions are all quite similar, so no "comment version"
+% will be given for them.
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+#if NAMED_REFS
+ author format.key output % special for
+ output.year.check % apalike
+#endif NAMED_REFS
+#if !ATIT_SUPPRESS
+ new.block
+ format.title "title" output.check
+#endif
+ new.block
+ crossref missing$
+#if !VOLUME_SPACE
+#if !JOUR_DEEMPH
+ { journal emphasize "journal" output.check
+#else JOUR_DEEMPH
+ { journal "journal" output.check
+#endif
+#else VOLUME_SPACE
+#if !JOUR_DEEMPH
+ { journal emphasize
+#else JOUR_DEEMPH
+ { journal field.or.null
+#endif
+#endif
+#if !NAMED_REFS
+#if !DATE_FIRST
+#if !PAREN_DATE
+ format.vol.num.pages output
+ format.date "year" output.check
+#else PAREN_DATE
+ format.vol.num.pages
+ format.date empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.date paren }
+ { " " * format.date paren * }
+ if$
+ }
+ if$
+ output
+#endif
+#else DATE_FIRST
+ format.vol.num.pages output
+#endif DATE_FIRST
+#else NAMED_REFS
+ format.vol.num.pages output
+#endif NAMED_REFS
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+#if !NAMED_REFS
+ { format.editors "author and editor" output.check }
+#else NAMED_REFS
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+#endif NAMED_REFS
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+#if NAMED_REFS
+ output.year.check % special for apalike
+#endif
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+#if !NAMED_REFS
+ format.date "year" output.check
+#endif
+ new.block
+ note output
+ fin.entry
+}
+
+% A booklet is a bound thing without a publisher or sponsoring institution.
+% Required: title
+% Optional: author, howpublished, address, month, year, note
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+#if !NAMED_REFS
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+#else NAMED_REFS
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ howpublished output
+ address output
+#endif NAMED_REFS
+ new.block
+ note output
+ fin.entry
+}
+
+% For the conference entry type, see inproceedings.
+
+% An inbook is a piece of a book: either a chapter and/or a page range.
+% It may CROSSREF a book. If there's no volume field, the type field
+% will come before number and series.
+% Required: author or editor, title, chapter and/or pages, publisher,year
+% Optional: volume or number, series, type, address, edition, month, note
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+#if !NAMED_REFS
+ { format.editors "author and editor" output.check }
+#else NAMED_REFS
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+#endif
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+#if NAMED_REFS
+ output.year.check % special for apalike
+#endif
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+#if !NAMED_REFS
+ format.date "year" output.check
+#endif
+ new.block
+ note output
+ fin.entry
+}
+
+% An incollection is like inbook, but where there is a separate title
+% for the referenced thing (and perhaps an editor for the whole).
+% An incollection may CROSSREF a book.
+% Required: author, title, booktitle, publisher, year
+% Optional: editor, volume or number, series, type, chapter, pages,
+% address, edition, month, note
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+#if NAMED_REFS
+ author format.key output % special for
+ output.year.check % apalike
+#endif NAMED_REFS
+#if !ATIT_SUPPRESS
+ new.block
+ format.title "title" output.check
+#else
+#if !ALT_INCOLL
+ new.block
+ format.title "title" output.check
+#endif !ALT_INCOLL
+#endif !ATIT_SUPPRESS
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+#if !ALT_INCOLL
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+#endif !ALT_INCOLL
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+#if !NAMED_REFS
+ format.date "year" output.check
+#endif !NAMED_REFS
+#if ALT_INCOLL
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+#endif ALT_INCOLL
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+% An inproceedings is an article in a conference proceedings, and it may
+% CROSSREF a proceedings. If there's no address field, the month (& year)
+% will appear just before note.
+% Required: author, title, booktitle, year
+% Optional: editor, volume or number, series, pages, address, month,
+% organization, publisher, note
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+#if NAMED_REFS
+ author format.key output % special for
+ output.year.check % apalike
+#endif NAMED_REFS
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+#if !NAMED_REFS
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+#else NAMED_REFS
+ address output % for apalike
+ new.sentence % there's no year
+ organization output % here so things
+ publisher output % are simpler
+#endif NAMED_REFS
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+% The conference function is included for Scribe compatibility.
+
+FUNCTION {conference} { inproceedings }
+
+% A manual is technical documentation.
+% Required: title
+% Optional: author, organization, address, edition, month, year, note
+
+FUNCTION {manual}
+{ output.bibitem
+#if !NAMED_REFS
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+#else NAMED_REFS
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+#endif NAMED_REFS
+ new.block
+ note output
+ fin.entry
+}
+
+% A mastersthesis is a Master's thesis.
+% Required: author, title, school, year
+% Optional: type, address, month, note
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+#if NAMED_REFS
+ author format.key output % special for
+ output.year.check % apalike
+#endif NAMED_REFS
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+#if !NAMED_REFS
+ format.date "year" output.check
+#endif !NAMED_REFS
+ new.block
+ note output
+ fin.entry
+}
+
+% A misc is something that doesn't fit elsewhere.
+% Required: at least one of the `optional' fields
+% Optional: author, title, howpublished, month, year, note
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+#if !NAMED_REFS
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+#else NAMED_REFS
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title output
+ new.block
+ howpublished output
+#endif NAMED_REFS
+ new.block
+ note output
+ fin.entry
+#if !NAMED_REFS
+ empty.misc.check
+#endif
+}
+
+% A phdthesis is like a mastersthesis.
+% Required: author, title, school, year
+% Optional: type, address, month, note
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+#if NAMED_REFS
+ author format.key output % special for
+ output.year.check % apalike
+#endif NAMED_REFS
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+#if !NAMED_REFS
+ format.date "year" output.check
+#endif !NAMED_REFS
+ new.block
+ note output
+ fin.entry
+}
+
+% A proceedings is a conference proceedings.
+% If there is an organization but no editor field, the organization will
+% appear as the first optional field (we try to make the first block nonempty);
+% if there's no address field, the month (& year) will appear just before note.
+% Required: title, year
+% Optional: editor, volume or number, series, address, month,
+% organization, publisher, note
+
+FUNCTION {proceedings}
+{ output.bibitem
+#if !NAMED_REFS
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+#else NAMED_REFS
+ format.editors output
+ editor format.key output % special for
+ output.year.check % apalike
+#endif NAMED_REFS
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+#if !NAMED_REFS
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+#else NAMED_REFS
+ address output % for apalike
+ new.sentence % we always output
+ organization output % a nonempty organization
+ publisher output % here
+#endif NAMED_REFS
+ new.block
+ note output
+ fin.entry
+}
+
+% A techreport is a technical report.
+% Required: author, title, institution, year
+% Optional: type, number, address, month, note
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+#if NAMED_REFS
+ author format.key output % special for
+ output.year.check % apalike
+#endif NAMED_REFS
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+#if !NAMED_REFS
+ format.date "year" output.check
+#endif !NAMED_REFS
+ new.block
+ note output
+ fin.entry
+}
+
+% An unpublished is something that hasn't been published.
+% Required: author, title, note
+% Optional: month, year
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+#if NAMED_REFS
+ author format.key output % special for
+ output.year.check % apalike
+#endif NAMED_REFS
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+#if !NAMED_REFS
+ format.date output
+#endif
+ fin.entry
+}
+
+% We use entry type `misc' for an unknown type; BibTeX gives a warning.
+
+FUNCTION {default.type} { misc }
+
+% Here are macros for common things that may vary from style to style.
+% Users are encouraged to use these macros.
+%
+% Months are either written out in full or abbreviated
+
+#if MONTH_FULL
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+#else !MONTH_FULL
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+#endif MONTH_FULL
+
+% Journals are either written out in full or abbreviated;
+% the abbreviations are like those found in ACM publications.
+%
+% To get a completely different set of abbreviations, it may be best to make
+% a separate .bib file with nothing but those abbreviations; users could then
+% include that file name as the first argument to the \bibliography command
+
+#if JOUR_FULL
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+#else !JOUR_FULL
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Programming"}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Gr."}
+
+MACRO {toms} {"ACM Trans. Math. Softw."}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+#if PHYSICS_JOUR
+#include "physics-journal-abbrev.btx"
+#endif PHYSICS_JOUR
+
+#endif JOUR_FULL
+
+% Now we read in the .BIB entries.
+
+READ
+
+% The sortify function converts to lower case after purify$ing; it's
+% used in sorting and in computing alphabetic labels after sorting
+%
+% The chop.word(w,len,s) function returns either s or, if the first len
+% letters of s equals w (this comparison is done in the third line of the
+% function's definition), it returns that part of s after w.
+
+#if SORTED
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+#else !SORTED
+#if LAB_ALPH
+
+% We need the chop.word stuff for the dubious unsorted-list-with-labels case.
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+#endif LAB_ALPH
+#endif SORTED
+
+% This long comment applies only to alphabetic labels
+%
+% The format.lab.names function makes a short label by using the initials of
+% the von and Last parts of the names (but if there are more than four names,
+% (i.e., people) it truncates after three and adds a superscripted "+";
+% it also adds such a "+" if the last of multiple authors is "others").
+% If there is only one name, and its von and Last parts combined have just
+% a single name-token ("Knuth" has a single token, "Brinch Hansen" has two),
+% we take the first three letters of the last name. The boolean
+% et.al.char.used tells whether we've used a superscripted "+", so that we
+% know whether to include a LaTeX macro for it.
+%
+% format.lab.names(s) ==
+% BEGIN
+% numnames := num.names$(s)
+% if numnames > 1 then
+% if numnames > 4 then
+% namesleft := 3
+% else
+% namesleft := numnames
+% nameptr := 1
+% nameresult := ""
+% while namesleft > 0
+% do
+% if (name_ptr = numnames) and
+% format.name$(s, nameptr, "{ff }{vv }{ll}{ jj}") = "others"
+% then nameresult := nameresult * "{\etalchar{+}}"
+% et.al.char.used := true
+% else nameresult := nameresult *
+% format.name$(s, nameptr, "{v{}}{l{}}")
+% nameptr := nameptr + 1
+% namesleft := namesleft - 1
+% od
+% if numnames > 4 then
+% nameresult := nameresult * "{\etalchar{+}}"
+% et.al.char.used := true
+% else
+% t := format.name$(s, 1, "{v{}}{l{}}")
+% if text.length$(t) < 2 then % there's just one name-token
+% nameresult := text.prefix$(format.name$(s,1,"{ll}"),3)
+% else
+% nameresult := t
+% fi
+% fi
+% return nameresult
+% END
+%
+% Exactly what fields we look at in constructing the primary part of the label
+% depends on the entry type; this selectivity (as opposed to, say, always
+% looking at author, then editor, then key) helps ensure that "ignored" fields,
+% as described in the LaTeX book, really are ignored. Note that MISC is part
+% of the deepest `else' clause in the nested part of calc.label; thus, any
+% unrecognized entry type in the database is handled correctly.
+%
+% There is one auxiliary function for each of the four different sequences of
+% fields we use. The first of these functions looks at the author field, and
+% then, if necessary, the key field. The other three functions, which might
+% look at two fields and the key field, are similar, except that the key field
+% takes precedence over the organization field (for labels---not for sorting).
+%
+% The calc.label function calculates the preliminary label of an entry, which
+% is formed by taking three letters of information from the author or editor or
+% key or organization field (depending on the entry type and on what's empty,
+% but ignoring a leading "The " in the organization), and appending the last
+% two characters (digits) of the year. It is an error if the appropriate fields
+% among author, editor, organization, and key are missing, and we use
+% the first three letters of the cite$ in desperation when this happens.
+% The resulting label has the year part, but not the name part, purify$ed
+% (purify$ing the year allows some sorting shenanigans by the user).
+%
+% This function also calculates the version of the label to be used in sorting.
+%
+% The final label may need a trailing 'a', 'b', etc., to distinguish it from
+% otherwise identical labels, but we can't calculated those "extra.label"s
+% until after sorting.
+%
+% calc.label ==
+% BEGIN
+% if type$ = "book" or "inbook" then
+% author.editor.key.label
+% else if type$ = "proceedings" then
+% editor.key.organization.label
+% else if type$ = "manual" then
+% author.key.organization.label
+% else
+% author.key.label
+% fi fi fi
+% label := label * substring$(purify$(field.or.null(year)), -1, 2)
+% % assuming we will also sort, we calculate a sort.label
+% sort.label := sortify(label), but use the last four, not two, digits
+% END
+
+#if LAB_ALPH
+
+#if !NAMED_REFS
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+#endif !NAMED_REFS
+
+#if !NAMED_REFS
+FUNCTION {format.lab.names}
+#if !RMP_LABELS
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+#else RMP_LABELS
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #2 >
+#if !CSC_NAMES
+#if !ETAL_EMPH
+ { s #1 "{vv }{ll}" format.name$ " et~al." * }
+#else ETAL_EMPH
+ { s #1 "{vv }{ll}" format.name$ " {\em et~al.}" * }
+#endif ETAL_EMPH
+ { s #1 "{vv }{ll}" format.name$
+#else CSC_NAMES
+#if !ETAL_EMPH
+ { s #1 "{vv }{ll}" format.name$ caps " et~al." * }
+#else ETAL_EMPH
+ { s #1 "{vv }{ll}" format.name$ caps " {\em et~al.}" * }
+#endif ETAL_EMPH
+ { s #1 "{vv }{ll}" format.name$ caps
+#endif CSC_NAMES
+ s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+#if !ETAL_EMPH
+ { " et~al." * }
+#else ETAL_EMPH
+ { " {\em et~al.}" * }
+#endif ETAL_EMPH
+#if !CSC_NAMES
+ { " and " * s #2 "{vv }{ll}" format.name$ * }
+#else CSC_NAMES
+ { " and " * s #2 "{vv }{ll}" format.name$ caps * }
+#endif CSC_NAMES
+ if$
+ }
+ if$
+ }
+#if !CSC_NAMES
+ { s #1 "{vv }{ll}" format.name$ }
+#else CSC_NAMES
+ { s #1 "{vv }{ll}" format.name$ caps }
+#endif
+ if$
+}
+#endif
+#else NAMED_REFS
+% There are three apalike cases: one person (Jones),
+% two (Jones and de~Bruijn), and more (Jones et~al.).
+% This function is much like format.crossref.editors.
+%
+FUNCTION {format.lab.names}
+{ 's :=
+#if !CSC_NAMES
+ s #1 "{vv~}{ll}" format.name$
+#else CSC_NAMES
+ s #1 "{vv~}{ll}" format.name$ caps
+#endif CSC_NAMES
+ s num.names$ duplicate$
+ #2 >
+#if !ETAL_EMPH
+ { pop$ " et~al." * }
+#else ETAL_EMPH
+ { pop$ " {\em et~al.}" * }
+#endif ETAL_EMPH
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+#if !ETAL_EMPH
+ { " et~al." * }
+#else ETAL_EMPH
+ { " {\em et~al.}" * }
+#endif ETAL_EMPH
+#if !CSC_NAMES
+ { " and " * s #2 "{vv~}{ll}" format.name$ * }
+#else CSC_NAMES
+ { " and " * s #2 "{vv~}{ll}" format.name$ caps * }
+#endif
+ if$
+ }
+ if$
+ }
+ if$
+}
+#endif NAMED_REFS
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+#if SORTED
+ { cite$ #1 #3 substring$ }
+#else !SORTED % need warning here because we won't give it later
+ { "for label, need author or key in " cite$ * warning$
+ cite$ #1 #3 substring$
+ }
+#endif SORTED
+#if !NAMED_REFS
+ { key #3 text.prefix$ }
+#else NAMED_REFS
+ 'key % apalike uses the whole key
+#endif NAMED_REFS
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+#if SORTED
+ { cite$ #1 #3 substring$ }
+#else !SORTED % need warning here because we won't give it later
+ { "for label, need author, editor, or key in " cite$ * warning$
+ cite$ #1 #3 substring$
+ }
+#endif SORTED
+#if !NAMED_REFS
+ { key #3 text.prefix$ }
+#else NAMED_REFS
+ 'key % apalike uses the whole key
+#endif NAMED_REFS
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+#if !NAMED_REFS
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+#if SORTED
+ { cite$ #1 #3 substring$ }
+#else !SORTED % need warning here because we won't give it later
+ { "for label, need author, key, or organization in " cite$ *
+ warning$
+ cite$ #1 #3 substring$
+ }
+#endif SORTED
+#if !RMP_LABELS
+ { "The " #4 organization chop.word #3 text.prefix$ }
+#else RMP_LABELS
+ { "The " #4 organization chop.word #9 text.prefix$ }
+#endif
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+#if SORTED
+ { cite$ #1 #3 substring$ }
+#else !SORTED % need warning here because we won't give it later
+ { "for label, need editor, key, or organization in " cite$ *
+ warning$
+ cite$ #1 #3 substring$
+ }
+#endif SORTED
+#if !RMP_LABELS
+ { "The " #4 organization chop.word #3 text.prefix$ }
+#else RMP_LABELS
+ { "The " #4 organization chop.word #9 text.prefix$ }
+#endif
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+#else NAMED_REFS
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key, no organization
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+#endif NAMED_REFS
+
+FUNCTION {calc.label}
+#if !KEY_CITE
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+#if !NAMED_REFS
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+#else NAMED_REFS
+ 'editor.key.label % apalike ignores organization
+ 'author.key.label % for labeling and sorting
+#endif NAMED_REFS
+ if$
+ }
+ if$
+#if !NAMED_REFS
+ duplicate$
+#if !RMP_LABELS
+ year field.or.null purify$ #-1 #2 substring$
+#else RMP_LABELS
+ " " * year field.or.null purify$ #-1 #4 substring$
+#endif
+ *
+ 'label :=
+ year field.or.null purify$ #-1 #4 substring$
+ *
+ sortify 'sort.label :=
+#else NAMED_REFS
+ ", " % these three lines are
+ * % for apalike, which
+ year field.or.null purify$ #-1 #4 substring$ % uses all four digits
+ *
+ 'label :=
+#endif NAMED_REFS
+}
+#else KEY_CITE
+{ cite$ 'label :=
+label sortify 'sort.label :=
+}
+#endif
+
+% It doesn't seem like a particularly good idea to use an order-of-citation
+% reference list when using alphabetic labels, but we need to have a
+% special pass to calculate labels when this happens.
+
+#if !SORTED
+
+ITERATE {calc.label}
+
+#endif !SORTED
+
+#endif LAB_ALPH
+
+% When sorting, we compute the sortkey by executing "presort" on each entry.
+% The presort key contains a number of "sortify"ed strings, concatenated
+% with multiple blanks between them. This makes things like "brinch per"
+% come before "brinch hansen per".
+%
+% The fields used here are: the sort.label for alphabetic labels (as set by
+% calc.label), followed by the author names (or editor names or organization
+% (with a leading "The " removed) or key field, depending on entry type and on
+% what's empty), followed by year, followed by the first bit of the title
+% (chopping off a leading "The ", "A ", or "An ").
+% Names are formatted: Von Last First Junior.
+% The names within a part will be separated by a single blank
+% (such as "brinch hansen"), two will separate the name parts themselves
+% (except the von and last), three will separate the names,
+% four will separate the names from year (and from label, if alphabetic),
+% and four will separate year from title.
+%
+% The sort.format.names function takes an argument that should be in
+% BibTeX name format, and returns a string containing " "-separated
+% names in the format described above. The function is almost the same
+% as format.names.
+
+#if SORTED
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+#if NAME_FULL
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+#else
+ if$ % apalike uses initials
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't := % <= here
+#endif NAME_FULL
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+% The sort.format.title function returns the argument,
+% but first any leading "A "'s, "An "'s, or "The "'s are removed.
+% The chop.word function uses s, so we need another string variable, t
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+% The auxiliary functions here, for the presort function, are analogous to
+% the ones for calc.label; the same comments apply, except that the
+% organization field takes precedence here over the key field. For sorting
+% purposes, we still remove a leading "The " from the organization field.
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+#if !NAMED_REFS
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+#else NAMED_REFS
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+#endif NAMED_REFS
+
+#if !NAMED_REFS
+% There is a limit, entry.max$, on the length of an entry string variable
+% (which is what its sort.key$ is), so we take at most that many characters
+% of the constructed key, and hope there aren't many references that match
+% to that many characters!
+
+FUNCTION {presort}
+#if LAB_ALPH
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+#else !LAB_ALPH
+{ type$ "book" =
+#endif LAB_ALPH
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+#if LAB_ALPH
+ *
+#endif LAB_ALPH
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+#else NAMED_REFS
+% apalike uses two sorting passes; the first one sets the
+% labels so that the `a's, `b's, etc. can be computed;
+% the second pass puts the references in "correct" order.
+% The presort function is for the first pass. It computes
+% label, sort.label, and title, and then concatenates.
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$ % for
+ 'sort.label := % apalike
+ sort.label % style
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+#endif NAMED_REFS
+
+ITERATE {presort}
+
+% And now we can sort
+
+#if !NAMED_REFS
+SORT
+#else NAMED_REFS
+SORT % by label, sort.label, title---for final label calculation
+#endif
+
+#endif SORTED
+
+% This long comment applies only to alphabetic labels, when sorted
+%
+% Now comes the final computation for alphabetic labels, putting in the 'a's
+% and 'b's and so forth if required. This involves two passes: a forward
+% pass to put in the 'b's, 'c's and so on, and a backwards pass
+% to put in the 'a's (we don't want to put in 'a's unless we know there
+% are 'b's).
+% We have to keep track of the longest (in width$ terms) label, for use
+% by the "thebibliography" environment.
+%
+% VAR: longest.label, last.sort.label, next.extra: string
+% longest.label.width, last.extra.num: integer
+%
+% initialize.longest.label ==
+% BEGIN
+% longest.label := ""
+% last.sort.label := int.to.chr$(0)
+% next.extra := ""
+% longest.label.width := 0
+% last.extra.num := 0
+% END
+%
+% forward.pass ==
+% BEGIN
+% if last.sort.label = sort.label then
+% last.extra.num := last.extra.num + 1
+% extra.label := int.to.chr$(last.extra.num)
+% else
+% last.extra.num := chr.to.int$("a")
+% extra.label := ""
+% last.sort.label := sort.label
+% fi
+% END
+%
+% reverse.pass ==
+% BEGIN
+% if next.extra = "b" then
+% extra.label := "a"
+% fi
+% label := label * extra.label
+% if width$(label) > longest.label.width then
+% longest.label := label
+% longest.label.width := width$(label)
+% fi
+% next.extra := extra.label
+% END
+
+#if LAB_ALPH
+
+#if SORTED
+
+#if !NAMED_REFS
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+#else NAMED_REFS
+STRINGS { last.label next.extra } % apalike labels are only for the text;
+
+INTEGERS { last.extra.num } % there are none in the bibliography
+
+FUNCTION {initialize.extra.label.stuff} % and hence there is no `longest.label'
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+}
+#endif NAMED_REFS
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+#if !NAMED_REFS
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+#endif !NAMED_REFS
+ extra.label 'next.extra :=
+}
+
+#if !NAMED_REFS
+EXECUTE {initialize.longest.label}
+#else NAMED_REFS
+EXECUTE {initialize.extra.label.stuff}
+#endif NAMED_REFS
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+#if NAMED_REFS
+% Now that the label is right we sort for real,
+% on sort.label then year then title. This is
+% for the second sorting pass.
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT % by sort.label, year, title---giving final bibliography order
+#endif NAMED_REFS
+#else !SORTED
+
+% It still doesn't seem like a good idea to use an order-of-citation
+% reference list when using alphabetic labels, but when this happens we
+% must compute the longest label
+
+STRINGS { longest.label }
+
+INTEGERS { longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+#endif SORTED
+
+#else !LAB_ALPH
+
+% Now comes the computation for numeric labels.
+% We use either the sorted order or original order.
+% We still have to keep track of the longest (in width$ terms) label, for use
+% by the "thebibliography" environment.
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+#endif LAB_ALPH
+
+% Now we're ready to start writing the .BBL file.
+% We begin, if necessary, with a LaTeX macro for unnamed names in an alphabetic
+% label; next comes stuff from the `preamble' command in the database files.
+% Then we give an incantation containing the command
+% \begin{thebibliography}{...}
+% where the `...' is the longest label.
+%
+% We also call init.state.consts, for use by the output routines.
+
+FUNCTION {begin.bib}
+#if !NAMED_REFS
+#if LAB_ALPH
+{ et.al.char.used
+ { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+ 'skip$
+ if$
+ preamble$ empty$
+#else !LAB_ALPH
+{ preamble$ empty$
+#endif LAB_ALPH
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+#else NAMED_REFS
+{ preamble$ empty$ % no \etalchar in apalike
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$ % no labels in apalike
+}
+#endif NAMED_REFS
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+% Now we produce the output for all the entries
+
+ITERATE {call.type$}
+
+% Finally, we finish up by writing the `\end{thebibliography}' command.
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/phy-bstyles/physjabb.bib b/biblio/bibtex/contrib/phy-bstyles/physjabb.bib
new file mode 100644
index 0000000000..876c4ea4a9
--- /dev/null
+++ b/biblio/bibtex/contrib/phy-bstyles/physjabb.bib
@@ -0,0 +1,66 @@
+IMPORTANT!! Don't make changes to this file without making the
+ corresponding changes to
+ physjabb.btx
+ physjful.btx
+ physjful.bib
+
+@STRING{advp="Adv. Phys."}
+@STRING{ajp="Am. J. Phys."}
+@STRING{ao="Appl. Opt."}
+@STRING{ap="Ann. Phys."}
+@STRING{apj="Astrophys. J."}
+@STRING{apl="Appl. Phys. Lett."}
+@STRING{baps="Bull. Am. Phys. Soc."}
+@STRING{cpc="Computer Phys. Comm."}
+@STRING{cppcf="Comments Plasma Phys. Controlled Fusion"}
+@STRING{el="Europhys. Lett."}
+@STRING{fed="Fusion Eng. Design"}
+@STRING{ft="Fusion Tech."}
+@STRING{ieeens="IEEE Trans. Nucl. Sci."}
+@STRING{ieeeps="IEEE Trans. Plasma Sci."}
+@STRING{ijimw="Int. J. Infrared Millimeter Waves"}
+@STRING{ip="Infrared Phys."}
+@STRING{jap="J. Appl. Phys."}
+@STRING{jchp="J. Chem. Phys."}
+@STRING{jcop="J. Comput. Phys."}
+@STRING{jcp="J. Comput. Phys."}
+@STRING{jetp="Sov. Phys.-JETP"}
+@STRING{jfe="J. Fusion Energy"}
+@STRING{jfm="J. Fluid Mech."}
+@STRING{jgr="J. Geophys. Res."}
+@STRING{jmp="J. Math. Phys."}
+@STRING{jne="J. Nucl. Energy"}
+@STRING{jnec="J. Nucl. Energy, Part~C"}
+@STRING{jnm="J. Nucl. Mater."}
+@STRING{josa="J. Opt. Soc. Am."}
+@STRING{jpa="J. Phys.~A: Math. Gen."}
+@STRING{jpp="J. Plasma Phys."}
+@STRING{jpsj="J. Phys. Soc. Jpn"}
+@STRING{jsp="J. Stat. Phys."}
+@STRING{jvst="J. Vac. Sci. Technol."}
+@STRING{nedf="Nucl. Eng. Design/Fusion"}
+@STRING{nf="Nucl. Fusion"}
+@STRING{nim="Nucl. Instrum. Methods"}
+@STRING{nimpr="Nucl. Instrum. Methods Phys. Research"}
+@STRING{nt/f="Nucl. Tech./Fusion"}
+@STRING{phy="Physica"}
+@STRING{phya="Physica~A"}
+@STRING{phyd="Physica~D"}
+@STRING{pf="Phys. Fluids"}
+@STRING{pfa="Phys. Fluids~A"}
+@STRING{pfb="Phys. Fluids~B"}
+@STRING{pl="Phys. Lett."}
+@STRING{pla="Phys. Lett.~A"}
+@STRING{pnas="Proc. Nat. Acad. Sci. USA"}
+@STRING{pp="Plasma Phys."}
+@STRING{ppcf="Plasma Phys. Controlled Fusion"}
+@STRING{pr="Phys. Rev."}
+@STRING{pra="Phys. Rev.~A"}
+@STRING{prl="Phys. Rev. Lett."}
+@STRING{ps="Physica Scripta"}
+@STRING{rmp="Rev. Mod. Phys."}
+@STRING{rsi="Rev. Sci. Instrum."}
+@STRING{sjpp="Sov. J. Plasma Phys."}
+@STRING{spd="Sov. Phys.-Dokl."}
+@STRING{sptp="Sov. Phys.-Tech. Phys."}
+@STRING{spu="Sov. Phys.-Usp."}
diff --git a/biblio/bibtex/contrib/phy-bstyles/physjabb.btx b/biblio/bibtex/contrib/phy-bstyles/physjabb.btx
new file mode 100644
index 0000000000..1b898eca5c
--- /dev/null
+++ b/biblio/bibtex/contrib/phy-bstyles/physjabb.btx
@@ -0,0 +1,71 @@
+% Journal Title Abbreviations from the Physical Review Style and Notation
+% Guide, July, 1983, in BAPS Vol. 28.
+% Selected by Cris Barnes and Charles Karney, March 1988
+% Extended by Hans-Hermann Bode, June 1992
+
+% IMPORTANT!! Don't make changes to this file without making the
+% corresponding changes to
+% physjful.btx
+% physjabb.bib
+% physjful.bib
+
+MACRO {advp} {"Adv. Phys."}
+MACRO {ajp} {"Am. J. Phys."}
+MACRO {ao} {"Appl. Opt."}
+MACRO {ap} {"Ann. Phys."}
+MACRO {apj} {"Astrophys. J."}
+MACRO {apl} {"Appl. Phys. Lett."}
+MACRO {baps} {"Bull. Am. Phys. Soc."}
+MACRO {cpc} {"Computer Phys. Comm."}
+MACRO {cppcf} {"Comments Plasma Phys. Controlled Fusion"}
+MACRO {el} {"Europhys. Lett."}
+MACRO {fed} {"Fusion Eng. Design"}
+MACRO {ft} {"Fusion Tech."}
+MACRO {ieeens} {"IEEE Trans. Nucl. Sci."}
+MACRO {ieeeps} {"IEEE Trans. Plasma Sci."}
+MACRO {ijimw} {"Int. J. Infrared Millimeter Waves"}
+MACRO {ip} {"Infrared Phys."}
+MACRO {jap} {"J. Appl. Phys."}
+MACRO {jchp} {"J. Chem. Phys."}
+MACRO {jcop} {"J. Comput. Phys."}
+MACRO {jcp} {"J. Comput. Phys."}
+MACRO {jetp} {"Sov. Phys.-JETP"}
+MACRO {jfe} {"J. Fusion Energy"}
+MACRO {jfm} {"J. Fluid Mech."}
+MACRO {jgr} {"J. Geophys. Res."}
+MACRO {jmp} {"J. Math. Phys."}
+MACRO {jne} {"J. Nucl. Energy"}
+MACRO {jnec} {"J. Nucl. Energy, Part~C"}
+MACRO {jnm} {"J. Nucl. Mater."}
+MACRO {josa} {"J. Opt. Soc. Am."}
+MACRO {jpa} {"J. Phys.~A: Math. Gen."}
+MACRO {jpp} {"J. Plasma Phys."}
+MACRO {jpsj} {"J. Phys. Soc. Jpn"}
+MACRO {jsp} {"J. Stat. Phys."}
+MACRO {jvst} {"J. Vac. Sci. Technol."}
+MACRO {nedf} {"Nucl. Eng. Design/Fusion"}
+MACRO {nf} {"Nucl. Fusion"}
+MACRO {nim} {"Nucl. Instrum. Methods"}
+MACRO {nimpr} {"Nucl. Instrum. Methods Phys. Research"}
+MACRO {nt/f} {"Nucl. Tech./Fusion"}
+MACRO {phy} {"Physica"}
+MACRO {phya} {"Physica~A"}
+MACRO {phyd} {"Physica~D"}
+MACRO {pf} {"Phys. Fluids"}
+MACRO {pfa} {"Phys. Fluids~A"}
+MACRO {pfb} {"Phys. Fluids~B"}
+MACRO {pl} {"Phys. Lett."}
+MACRO {pla} {"Phys. Lett.~A"}
+MACRO {pnas} {"Proc. Nat. Acad. Sci. USA"}
+MACRO {pp} {"Plasma Phys."}
+MACRO {ppcf} {"Plasma Phys. Controlled Fusion"}
+MACRO {pr} {"Phys. Rev."}
+MACRO {pra} {"Phys. Rev.~A"}
+MACRO {prl} {"Phys. Rev. Lett."}
+MACRO {ps} {"Physica Scripta"}
+MACRO {rmp} {"Rev. Mod. Phys."}
+MACRO {rsi} {"Rev. Sci. Instrum."}
+MACRO {sjpp} {"Sov. J. Plasma Phys."}
+MACRO {spd} {"Sov. Phys.-Dokl."}
+MACRO {sptp} {"Sov. Phys.-Tech. Phys."}
+MACRO {spu} {"Sov. Phys.-Usp."}
diff --git a/biblio/bibtex/contrib/phy-bstyles/physjful.bib b/biblio/bibtex/contrib/phy-bstyles/physjful.bib
new file mode 100644
index 0000000000..aa43714c5e
--- /dev/null
+++ b/biblio/bibtex/contrib/phy-bstyles/physjful.bib
@@ -0,0 +1,67 @@
+IMPORTANT!! Don't make changes to this file without making the
+ corresponding changes to
+ physjabb.btx
+ physjful.btx
+ physjabb.bib
+
+@STRING{advp="Advances in Physics"}
+@STRING{ajp="American Journal of Physics"}
+@STRING{ao="Applied Optics"}
+@STRING{ap="Annals of Physics"}
+@STRING{apj="Astrophysical Journal"}
+@STRING{apl="Applied Physics Letters"}
+@STRING{baps="Bulletin of the American Physical Society"}
+@STRING{cpc="Computer Physics Communications"}
+@STRING{cppcf="Comments on Plasma Physics and Controlled Fusion"}
+@STRING{el="Europhysics Letters"}
+@STRING{fed="Fusion Engineering and Design"}
+@STRING{ft="Fusion Technology"}
+@STRING{ieeens="IEEE Transactions on Nuclear Science"}
+@STRING{ieeeps="IEEE Transactions on Plasma Science"}
+@STRING{ijimw="International Journal of Infrared and Millimeter Waves"}
+@STRING{ip="Infrared Physics"}
+@STRING{jap="Journal of Applied Physics"}
+@STRING{jchp="The Journal of Chemical Physics"}
+@STRING{jcop="Journal of Computational Physics"}
+@STRING{jcp="Journal of Computational Physics"}
+@STRING{jetp="Soviet Physics-JETP"}
+@STRING{jfe="Journal of Fusion Energy"}
+@STRING{jfm="Journal of Fluid Mechanics"}
+@STRING{jgr="Journal of Geophysical Research"}
+@STRING{jmp="Journal of Mathematical Physics"}
+@STRING{jne="Journal of Nuclear Energy"}
+@STRING{jnec="Journal of Nuclear Energy, Part~C:
+ Plasma Physics, Accelerators, Thermonuclear Research"}
+@STRING{jnm="Journal of Nuclear Materials"}
+@STRING{josa="Journal of the Optical Society of America"}
+@STRING{jpa="Journal of Physics~A: Mathematical and General"}
+@STRING{jpp="Journal of Plasma Physics"}
+@STRING{jpsj="Journal of the Physical Society of Japan"}
+@STRING{jsp="Journal of Statistical Physics"}
+@STRING{jvst="Journal of Vacuum Science and Technology"}
+@STRING{nedf="Nuclear Engineering and Design/Fusion"}
+@STRING{nf="Nuclear Fusion"}
+@STRING{nim="Nuclear Instruments and Methods"}
+@STRING{nimpr="Nuclear Instruments and Methods in Physics Research"}
+@STRING{nt/f="Nuclear Technology/Fusion"}
+@STRING{phy="Physica"}
+@STRING{phya="Physica~A"}
+@STRING{phyd="Physica~D"}
+@STRING{pf="Physics of Fluids"}
+@STRING{pfa="Physics of Fluids~A: Fluid Dynamics"}
+@STRING{pfb="Physics of Fluids~B: Plasma Physics"}
+@STRING{pl="Physics Letters"}
+@STRING{pla="Physics Letters~A"}
+@STRING{pnas="Proceedings of the National Academy of Sciences of the USA"}
+@STRING{pp="Plasma Physics"}
+@STRING{ppcf="Plasma Physics and Controlled Fusion"}
+@STRING{pr="Physical Review"}
+@STRING{pra="Physical Review~A: General Physics"}
+@STRING{prl="Physical Review Letters"}
+@STRING{ps="Physica Scripta"}
+@STRING{rmp="Reviews of Modern Physics"}
+@STRING{rsi="Review of Scientific Instruments"}
+@STRING{sjpp="Soviet Journal of Plasma Phys."}
+@STRING{spd="Soviet Physics-Doklady"}
+@STRING{sptp="Soviet Physics-Technical Physics"}
+@STRING{spu="Soviet Physics-Uspeki"}
diff --git a/biblio/bibtex/contrib/phy-bstyles/physjful.btx b/biblio/bibtex/contrib/phy-bstyles/physjful.btx
new file mode 100644
index 0000000000..9e691a8ed3
--- /dev/null
+++ b/biblio/bibtex/contrib/phy-bstyles/physjful.btx
@@ -0,0 +1,73 @@
+% Journal Title Abbreviations from the Physical Review Style and Notation
+% Guide, July, 1983, in BAPS Vol. 28.
+% Selected by Cris Barnes and Charles Karney, March 1988
+% Extended by Hans-Hermann Bode, June 1992
+
+% IMPORTANT!! Don't make changes to this file without making the
+% corresponding changes to
+% physjabb.btx
+% physjabb.bib
+% physjful.bib
+
+MACRO {advp} {"Advances in Physics"}
+MACRO {ajp} {"American Journal of Physics"}
+MACRO {ao} {"Applied Optics"}
+MACRO {ap} {"Annals of Physics"}
+MACRO {apj} {"Astrophysical Journal"}
+MACRO {apl} {"Applied Physics Letters"}
+MACRO {baps} {"Bulletin of the American Physical Society"}
+MACRO {cpc} {"Computer Physics Communications"}
+MACRO {cppcf} {"Comments on Plasma Physics and Controlled Fusion"}
+MACRO {el} {"Europhysics Letters"}
+MACRO {fed} {"Fusion Engineering and Design"}
+MACRO {ft} {"Fusion Technology"}
+MACRO {ieeens} {"IEEE Transactions on Nuclear Science"}
+MACRO {ieeeps} {"IEEE Transactions on Plasma Science"}
+MACRO {ijimw} {"International Journal of Infrared and Millimeter Waves"}
+MACRO {ip} {"Infrared Physics"}
+MACRO {jap} {"Journal of Applied Physics"}
+MACRO {jchp} {"The Journal of Chemical Physics"}
+MACRO {jcop} {"Journal of Computational Physics"}
+MACRO {jcp} {"Journal of Computational Physics"}
+MACRO {jetp} {"Soviet Physics-JETP"}
+MACRO {jfe} {"Journal of Fusion Energy"}
+MACRO {jfm} {"Journal of Fluid Mechanics"}
+MACRO {jgr} {"Journal of Geophysical Research"}
+MACRO {jmp} {"Journal of Mathematical Physics"}
+MACRO {jne} {"Journal of Nuclear Energy"}
+MACRO {jnec}
+{"Journal of Nuclear Energy, Part~C: Plasma Physics, Accelerators,
+Thermonuclear Research"}
+MACRO {jnm} {"Journal of Nuclear Materials"}
+MACRO {josa} {"Journal of the Optical Society of America"}
+MACRO {jpa} {"Journal of Physics~A: Mathematical and General"}
+MACRO {jpp} {"Journal of Plasma Physics"}
+MACRO {jpsj} {"Journal of the Physical Society of Japan"}
+MACRO {jsp} {"Journal of Statistical Physics"}
+MACRO {jvst} {"Journal of Vacuum Science and Technology"}
+MACRO {nedf} {"Nuclear Engineering and Design/Fusion"}
+MACRO {nf} {"Nuclear Fusion"}
+MACRO {nim} {"Nuclear Instruments and Methods"}
+MACRO {nimpr} {"Nuclear Instruments and Methods in Physics Research"}
+MACRO {nt/f} {"Nuclear Technology/Fusion"}
+MACRO {phy} {"Physica"}
+MACRO {phya} {"Physica~A"}
+MACRO {phyd} {"Physica~D"}
+MACRO {pf} {"Physics of Fluids"}
+MACRO {pfa} {"Physics of Fluids~A: Fluid Dynamics"}
+MACRO {pfb} {"Physics of Fluids~B: Plasma Physics"}
+MACRO {pl} {"Physics Letters"}
+MACRO {pla} {"Physics Letters~A"}
+MACRO {pnas} {"Proceedings of the National Academy of Sciences of the USA"}
+MACRO {pp} {"Plasma Physics"}
+MACRO {ppcf} {"Plasma Physics and Controlled Fusion"}
+MACRO {pr} {"Physical Review"}
+MACRO {pra} {"Physical Review~A: General Physics"}
+MACRO {prl} {"Physical Review Letters"}
+MACRO {ps} {"Physica Scripta"}
+MACRO {rmp} {"Reviews of Modern Physics"}
+MACRO {rsi} {"Review of Scientific Instruments"}
+MACRO {sjpp} {"Soviet Journal of Plasma Phys."}
+MACRO {spd} {"Soviet Physics-Doklady"}
+MACRO {sptp} {"Soviet Physics-Technical Physics"}
+MACRO {spu} {"Soviet Physics-Uspeki"}
diff --git a/biblio/bibtex/contrib/phy-bstyles/ppcf.bst b/biblio/bibtex/contrib/phy-bstyles/ppcf.bst
new file mode 100644
index 0000000000..d129fbf303
--- /dev/null
+++ b/biblio/bibtex/contrib/phy-bstyles/ppcf.bst
@@ -0,0 +1,1123 @@
+%% #define PPCF 1 % Thu Jun 14 13:27:54 1990
+%% #include "TEX$ROOT:[BIBTEX]PHYSICS.BTX"
+ % Please notify Charles Karney (Karney@Princeton.EDU)
+ % of any bugs, improvements, etc.
+
+ % A physics version of APALIKE
+
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { write$
+ " (" year * extra.label * ")" *
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {caps}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\sc " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {embolden}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\bf " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't := % last name first
+ t "others" =
+ 'skip$
+ { t caps 't := }
+ if$
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " {\em et~al.}" * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.key} % this function is just for apalike
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ 'title
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null embolden
+ " " swap$ * *
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ", " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ "In" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "\cite{" * crossref * "}" * % this is for apalike
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ "In" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ crossref missing$
+ { journal emphasize
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ howpublished output
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address output % for apalike
+ new.sentence % there's no year
+ organization output % here so things
+ publisher output % are simpler
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title output
+ new.block
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output % for apalike
+ new.sentence % we always output
+ organization output % a nonempty organization
+ publisher output % here
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Programming"}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Gr."}
+
+MACRO {toms} {"ACM Trans. Math. Softw."}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+MACRO {advp} {"Adv. Phys."}
+MACRO {ajp} {"Am. J. Phys."}
+MACRO {ao} {"Appl. Opt."}
+MACRO {apl} {"Appl. Phys. Lett."}
+MACRO {apj} {"Astrophys. J."}
+MACRO {baps} {"Bull. Am. Phys. Soc."}
+MACRO {cpc} {"Computer Phys. Comm."}
+MACRO {cppcf} {"Comments Plasma Phys. Controlled Fusion"}
+MACRO {fed} {"Fusion Eng. Design"}
+MACRO {ft} {"Fusion Tech."}
+MACRO {ieeens} {"IEEE Trans. Nucl. Sci."}
+MACRO {ieeeps} {"IEEE Trans. Plasma Sci."}
+MACRO {ijimw} {"Int. J. Infrared Millimeter Waves"}
+MACRO {ip} {"Infrared Phys."}
+MACRO {jap} {"J. Appl. Phys."}
+MACRO {jcp} {"J. Comput. Phys."}
+MACRO {jetp} {"Sov. Phys.-JETP"}
+MACRO {jfe} {"J. Fusion Energy"}
+MACRO {jfm} {"J. Fluid Mech."}
+MACRO {jgr} {"J. Geophys. Res."}
+MACRO {jmp} {"J. Math. Phys."}
+MACRO {jne} {"J. Nucl. Energy"}
+MACRO {jnec} {"J. Nucl. Energy, Part C"}
+MACRO {jnm} {"J. Nucl. Mater."}
+MACRO {josa} {"J. Opt. Soc. Am."}
+MACRO {jpp} {"J. Plasma Phys."}
+MACRO {jpsj} {"J. Phys. Soc. Jpn"}
+MACRO {jvst} {"J. Vac. Sci. Technol."}
+MACRO {nedf} {"Nucl. Eng. Design/Fusion"}
+MACRO {nf} {"Nucl. Fusion"}
+MACRO {nim} {"Nucl. Instrum. Methods"}
+MACRO {nimpr} {"Nucl. Instrum. Methods Phys. Research"}
+MACRO {nt/f} {"Nucl. Tech./Fusion"}
+MACRO {pf} {"Phys. Fluids"}
+MACRO {pfa} {"Phys. Fluids A"}
+MACRO {pfb} {"Phys. Fluids B"}
+MACRO {pl} {"Phys. Lett."}
+MACRO {pla} {"Phys. Lett. A"}
+MACRO {pnas} {"Proc. Nat. Acad. Sci. USA"}
+MACRO {pp} {"Plasma Phys."}
+MACRO {ppcf} {"Plasma Phys. Controlled Fusion"}
+MACRO {prl} {"Phys. Rev. Lett."}
+MACRO {pr} {"Phys. Rev."}
+MACRO {pra} {"Phys. Rev. A"}
+MACRO {ps} {"Physica Scripta"}
+MACRO {rmp} {"Rev. Mod. Phys."}
+MACRO {rsi} {"Rev. Sci. Instrum."}
+MACRO {sjpp} {"Sov. J. Plasma Phys."}
+MACRO {spd} {"Sov. Phys.-Dokl."}
+MACRO {sptp} {"Sov. Phys.-Tech. Phys."}
+MACRO {spu} {"Sov. Phys.-Usp."}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$ caps
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " {\em et~al.}" * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " {\em et~al.}" * }
+ { " and " * s #2 "{vv~}{ll}" format.name$ caps * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key, no organization
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label % apalike ignores organization
+ 'author.key.label % for labeling and sorting
+ if$
+ }
+ if$
+ ", " % these three lines are
+ * % for apalike, which
+ year field.or.null purify$ #-1 #4 substring$ % uses all four digits
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$ % apalike uses initials
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't := % <= here
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$ % for
+ 'sort.label := % apalike
+ sort.label % style
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT % by label, sort.label, title---for final label calculation
+
+STRINGS { last.label next.extra } % apalike labels are only for the text;
+
+INTEGERS { last.extra.num } % there are none in the bibliography
+
+FUNCTION {initialize.extra.label.stuff} % and hence there is no `longest.label'
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT % by sort.label, year, title---giving final bibliography order
+
+FUNCTION {begin.bib}
+{ preamble$ empty$ % no \etalchar in apalike
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$ % no labels in apalike
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/phy-bstyles/report.bst b/biblio/bibtex/contrib/phy-bstyles/report.bst
new file mode 100644
index 0000000000..7d2bd8ef0b
--- /dev/null
+++ b/biblio/bibtex/contrib/phy-bstyles/report.bst
@@ -0,0 +1,1032 @@
+%% #define REPORT 1 % Thu Jun 14 13:27:16 1990
+%% #include "TEX$ROOT:[BIBTEX]PHYSICS.BTX"
+ % Please notify Charles Karney (Karney@Princeton.EDU)
+ % of any bugs, improvements, etc.
+
+ % For internal reports
+
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { "," * write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ skip$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {embolden}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\bf " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {paren}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "(" swap$ * ")" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.edited}
+{ editor empty$
+ { "" }
+ { "edited by " editor format.names * }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ 'title
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null embolden
+ " " swap$ * *
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ", " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "in " booktitle emphasize * }
+ { "in " booktitle emphasize * ", " * format.edited * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In " journal * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal field.or.null
+ format.vol.num.pages
+ format.date empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.date paren }
+ { " " * format.date paren * }
+ if$
+ }
+ if$
+ output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Programming"}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Gr."}
+
+MACRO {toms} {"ACM Trans. Math. Softw."}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+MACRO {advp} {"Adv. Phys."}
+MACRO {ajp} {"Am. J. Phys."}
+MACRO {ao} {"Appl. Opt."}
+MACRO {apl} {"Appl. Phys. Lett."}
+MACRO {apj} {"Astrophys. J."}
+MACRO {baps} {"Bull. Am. Phys. Soc."}
+MACRO {cpc} {"Computer Phys. Comm."}
+MACRO {cppcf} {"Comments Plasma Phys. Controlled Fusion"}
+MACRO {fed} {"Fusion Eng. Design"}
+MACRO {ft} {"Fusion Tech."}
+MACRO {ieeens} {"IEEE Trans. Nucl. Sci."}
+MACRO {ieeeps} {"IEEE Trans. Plasma Sci."}
+MACRO {ijimw} {"Int. J. Infrared Millimeter Waves"}
+MACRO {ip} {"Infrared Phys."}
+MACRO {jap} {"J. Appl. Phys."}
+MACRO {jcp} {"J. Comput. Phys."}
+MACRO {jetp} {"Sov. Phys.-JETP"}
+MACRO {jfe} {"J. Fusion Energy"}
+MACRO {jfm} {"J. Fluid Mech."}
+MACRO {jgr} {"J. Geophys. Res."}
+MACRO {jmp} {"J. Math. Phys."}
+MACRO {jne} {"J. Nucl. Energy"}
+MACRO {jnec} {"J. Nucl. Energy, Part C"}
+MACRO {jnm} {"J. Nucl. Mater."}
+MACRO {josa} {"J. Opt. Soc. Am."}
+MACRO {jpp} {"J. Plasma Phys."}
+MACRO {jpsj} {"J. Phys. Soc. Jpn"}
+MACRO {jvst} {"J. Vac. Sci. Technol."}
+MACRO {nedf} {"Nucl. Eng. Design/Fusion"}
+MACRO {nf} {"Nucl. Fusion"}
+MACRO {nim} {"Nucl. Instrum. Methods"}
+MACRO {nimpr} {"Nucl. Instrum. Methods Phys. Research"}
+MACRO {nt/f} {"Nucl. Tech./Fusion"}
+MACRO {pf} {"Phys. Fluids"}
+MACRO {pfa} {"Phys. Fluids A"}
+MACRO {pfb} {"Phys. Fluids B"}
+MACRO {pl} {"Phys. Lett."}
+MACRO {pla} {"Phys. Lett. A"}
+MACRO {pnas} {"Proc. Nat. Acad. Sci. USA"}
+MACRO {pp} {"Plasma Phys."}
+MACRO {ppcf} {"Plasma Phys. Controlled Fusion"}
+MACRO {prl} {"Phys. Rev. Lett."}
+MACRO {pr} {"Phys. Rev."}
+MACRO {pra} {"Phys. Rev. A"}
+MACRO {ps} {"Physica Scripta"}
+MACRO {rmp} {"Rev. Mod. Phys."}
+MACRO {rsi} {"Rev. Sci. Instrum."}
+MACRO {sjpp} {"Sov. J. Plasma Phys."}
+MACRO {spd} {"Sov. Phys.-Dokl."}
+MACRO {sptp} {"Sov. Phys.-Tech. Phys."}
+MACRO {spu} {"Sov. Phys.-Usp."}
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/phy-bstyles/rmp.bst b/biblio/bibtex/contrib/phy-bstyles/rmp.bst
new file mode 100644
index 0000000000..49d331b4cb
--- /dev/null
+++ b/biblio/bibtex/contrib/phy-bstyles/rmp.bst
@@ -0,0 +1,1312 @@
+%% #define RMP 1 % Thu Jun 14 13:26:15 1990
+%% #include "TEX$ROOT:[BIBTEX]PHYSICS.BTX"
+ % Please notify Charles Karney (Karney@Princeton.EDU)
+ % of any bugs, improvements, etc.
+
+ % For Reviews of Modern Physics,
+
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { "," * write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ skip$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {embolden}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\bf " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {bracket}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "[" swap$ * "]" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.edited}
+{ editor empty$
+ { "" }
+ { "edited by " editor format.names * }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {first.page}
+{ 't :=
+ ""
+ { t empty$ not t #1 #1 substring$ "-" = not and }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pp." pages n.dashify tie.or.space.connect }
+ { "p." pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pages.a}
+{ pages empty$
+ { "" }
+ { "p." pages first.page tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null embolden
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages.a }
+ { ":" * pages first.page * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "in " booktitle emphasize * }
+ { "in " booktitle emphasize * ", " * format.edited * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In " journal * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ crossref missing$
+ { journal "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Programming"}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Gr."}
+
+MACRO {toms} {"ACM Trans. Math. Softw."}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+MACRO {advp} {"Adv. Phys."}
+MACRO {ajp} {"Am. J. Phys."}
+MACRO {ao} {"Appl. Opt."}
+MACRO {apl} {"Appl. Phys. Lett."}
+MACRO {apj} {"Astrophys. J."}
+MACRO {baps} {"Bull. Am. Phys. Soc."}
+MACRO {cpc} {"Computer Phys. Comm."}
+MACRO {cppcf} {"Comments Plasma Phys. Controlled Fusion"}
+MACRO {fed} {"Fusion Eng. Design"}
+MACRO {ft} {"Fusion Tech."}
+MACRO {ieeens} {"IEEE Trans. Nucl. Sci."}
+MACRO {ieeeps} {"IEEE Trans. Plasma Sci."}
+MACRO {ijimw} {"Int. J. Infrared Millimeter Waves"}
+MACRO {ip} {"Infrared Phys."}
+MACRO {jap} {"J. Appl. Phys."}
+MACRO {jcp} {"J. Comput. Phys."}
+MACRO {jetp} {"Sov. Phys.-JETP"}
+MACRO {jfe} {"J. Fusion Energy"}
+MACRO {jfm} {"J. Fluid Mech."}
+MACRO {jgr} {"J. Geophys. Res."}
+MACRO {jmp} {"J. Math. Phys."}
+MACRO {jne} {"J. Nucl. Energy"}
+MACRO {jnec} {"J. Nucl. Energy, Part C"}
+MACRO {jnm} {"J. Nucl. Mater."}
+MACRO {josa} {"J. Opt. Soc. Am."}
+MACRO {jpp} {"J. Plasma Phys."}
+MACRO {jpsj} {"J. Phys. Soc. Jpn"}
+MACRO {jvst} {"J. Vac. Sci. Technol."}
+MACRO {nedf} {"Nucl. Eng. Design/Fusion"}
+MACRO {nf} {"Nucl. Fusion"}
+MACRO {nim} {"Nucl. Instrum. Methods"}
+MACRO {nimpr} {"Nucl. Instrum. Methods Phys. Research"}
+MACRO {nt/f} {"Nucl. Tech./Fusion"}
+MACRO {pf} {"Phys. Fluids"}
+MACRO {pfa} {"Phys. Fluids A"}
+MACRO {pfb} {"Phys. Fluids B"}
+MACRO {pl} {"Phys. Lett."}
+MACRO {pla} {"Phys. Lett. A"}
+MACRO {pnas} {"Proc. Nat. Acad. Sci. USA"}
+MACRO {pp} {"Plasma Phys."}
+MACRO {ppcf} {"Plasma Phys. Controlled Fusion"}
+MACRO {prl} {"Phys. Rev. Lett."}
+MACRO {pr} {"Phys. Rev."}
+MACRO {pra} {"Phys. Rev. A"}
+MACRO {ps} {"Physica Scripta"}
+MACRO {rmp} {"Rev. Mod. Phys."}
+MACRO {rsi} {"Rev. Sci. Instrum."}
+MACRO {sjpp} {"Sov. J. Plasma Phys."}
+MACRO {spd} {"Sov. Phys.-Dokl."}
+MACRO {sptp} {"Sov. Phys.-Tech. Phys."}
+MACRO {spu} {"Sov. Phys.-Usp."}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #2 >
+ { s #1 "{vv }{ll}" format.name$ " et~al." * }
+ { s #1 "{vv }{ll}" format.name$
+ s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * s #2 "{vv }{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ { s #1 "{vv }{ll}" format.name$ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #9 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #9 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ " " * year field.or.null purify$ #-1 #4 substring$
+ *
+ 'label :=
+ year field.or.null purify$ #-1 #4 substring$
+ *
+ sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$ % apalike uses initials
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't := % <= here
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{ et.al.char.used
+ { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+ 'skip$
+ if$
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/sort-by-letters/README b/biblio/bibtex/contrib/sort-by-letters/README
new file mode 100644
index 0000000000..c66f58e3bf
--- /dev/null
+++ b/biblio/bibtex/contrib/sort-by-letters/README
@@ -0,0 +1,62 @@
+This is an archive for bibliography style files:
+abbrv-letters.bst
+alpha-letters.bst
+apalike-letters.bst
+frplainnat-letters.bst
+plain-letters.bst
+plainnat-letters.bst
+siam-letters.bst
+
+(sort-by-letters v2)
+
+(C) 2006-2012 - Thomas van Oudenhove <vanouden @ enstimac \dot fr>
+Copying of this file is authorized only if either
+ (1) you make absolutely no changes to your copy, including name, or
+ (2) if you do make changes, you name it something other than all standard
+ styles' names (for consistency reasons).
+
+\alphabibitem is from Mael Hill\'ereau <mael \dot hillereau @ free \dot fr>;
+many thanks to him.
+
+These styles do the same stuff as the original files, but they write in the bbl
+file the first letter of the first author or editor name. the references in the
+bibliography are thus sorted by letter, like this :
+A___
+Aamport,...
+K___
+Knuth, ...
+
+WARNINGS (for frplainnat-letters.bst):
+- You MUST use this style with babel package (french).
+- You MUST define these commands for all kinds of citations to work :
+ \andname, \editorname, \editornames, \volumename, \ofname, \numbername,
+ \Numbername, \inname, \pagesname, \pagename, \chaptername, \Inname,
+ \technicalreportname, \Volumename, \janname, \febname, \marname, \aprname,
+ \mayname, \junname, \julname, \augname, \sepname, \octname, \novname,
+ \decname.
+- Bibentries MUST have an 'author', 'editor' or 'organization' attribute.
+
+AVERTISSEMENTS (pour frplainnat-letters.bst):
+- Vous DEVEZ utiliser le package babel (option french) avec ce style.
+- Pour que tous les types de citations fonctionnent correctement, vous DEVEZ
+ d\'efinir ces commandes :
+ \andname, \editorname, \editornames, \volumename, \ofname, \numbername,
+ \Numbername, \inname, \pagesname, \pagename, \chaptername, \Inname,
+ \technicalreportname, \Volumename, \janname, \febname, \marname, \aprname,
+ \mayname, \junname, \julname, \augname, \sepname, \octname, \novname,
+ \decname.
+- Les entr\'ees DOIVENT avoir un 'author', un 'editor' ou une 'organization'.
+
+Known bugs:
+ - sorting doesn't work with 'organization'
+ - 'odd encoding' are not supported, especially with accents (e.g. \"U will go
+ with the U, but Ü will not be supported... and may go with the next letter)
+
+Workarounded or solved bugs:
+ - problems with frplainnat-letters.bst: this style uses several commands to
+ allow customization of dates and some labels of citation; the warnings
+ above will be more explicit for the user. Example, with xspace package:
+ \newcommand*{\technicalreportname}{Rapport Technique\xspace}
+ - some characters were latin1 encoded, they are now typed with ascii only
+
+Enjoy !
diff --git a/biblio/bibtex/contrib/sort-by-letters/abbrv-letters.bst b/biblio/bibtex/contrib/sort-by-letters/abbrv-letters.bst
new file mode 100644
index 0000000000..fd2f514fb9
--- /dev/null
+++ b/biblio/bibtex/contrib/sort-by-letters/abbrv-letters.bst
@@ -0,0 +1,1217 @@
+% BibTeX bibliography style `abbrv-letters'
+%% adapted from standard style `abbrv'
+%% (C) 2006 - Thomas van Oudenhove
+%% when sorting by letter, write the first letter of author
+%% or editor - bug with organization...
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t cur.letter first.letter }
+INTEGERS { first.letter.place first.letter.ascii }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.letter}
+{ first.letter cur.letter =
+ { skip$ }
+ { newline$
+ "\alphabibitem{" first.letter * "}" * write$
+ newline$
+ first.letter 'cur.letter := }
+ if$
+ cur.letter "\" =
+ { first.letter 'cur.letter := }
+ { skip$ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION { author.find.first.letter }
+{ author #1 "{vv }{ll }{ff }, {jj }" format.name$ "u" change.case$
+ purify$ first.letter.place #1 substring$ 'first.letter :=
+ first.letter chr.to.int$ 'first.letter.ascii :=
+}
+
+FUNCTION { editor.find.first.letter }
+{ editor #1 "{vv }{ll }{ff }, {jj }" format.name$ "u" change.case$
+ purify$ first.letter.place #1 substring$ 'first.letter :=
+ first.letter chr.to.int$ 'first.letter.ascii :=
+}
+
+FUNCTION { organization.find.first.letter }
+{ organization "u" change.case$
+ purify$ first.letter.place #1 substring$ 'first.letter :=
+ first.letter chr.to.int$ 'first.letter.ascii :=
+}
+
+FUNCTION { find.firstletter }
+{ author empty$
+ { editor empty$
+% { organization empty$
+ { "Nor author, editor neither organization for entry " cite$ * warning$ }
+% { organization.find.first.letter
+% { first.letter.ascii #64 > first.letter.ascii #91 < and
+% first.letter.ascii #96 > first.letter.ascii #123 < and or not }
+% { first.letter.place #1 + 'first.letter.place :=
+% organization.find.first.letter }
+% while$ }
+% if$ }
+ { editor.find.first.letter
+ { first.letter.ascii #64 > first.letter.ascii #91 < and
+ first.letter.ascii #96 > first.letter.ascii #123 < and or not }
+ { first.letter.place #1 + 'first.letter.place :=
+ editor.find.first.letter }
+ while$
+ }
+ if$
+ }
+ { author.find.first.letter
+ { first.letter.ascii #64 > first.letter.ascii #91 < and
+ first.letter.ascii #96 > first.letter.ascii #123 < and or not }
+ { first.letter.place #1 + 'first.letter.place :=
+ author.find.first.letter }
+ while$
+ }
+ if$
+ #1 'first.letter.place :=
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Programming"}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Gr."}
+
+MACRO {toms} {"ACM Trans. Math. Softw."}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ "\" 'cur.letter :=
+ #1 'first.letter.place :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION { def.alphabibitem }
+{ "\def\alphabibitem#1{%" write$ newline$
+ "\expandafter\ifx\csname firstalphabibitem\endcsname" write$ newline$
+ "\relax\def\firstalphabibitem{}" write$ newline$
+ "\else\expandafter" write$ newline$
+ "\ifx\csname alphabibitemskip\endcsname" write$ newline$
+ "\relax\bigskip" write$ newline$
+ "\else\alphabibitemskip" write$ newline$
+ "\fi" write$ newline$
+ "\fi" write$ newline$
+ "\penalty-200\expandafter" write$ newline$
+ "\ifx\csname alphabibitemlabel\endcsname" write$ newline$
+ "\relax\expandafter" write$ newline$
+ "\ifx\csname alphabibitemcontent\endcsname\relax" write$ newline$
+ "\item[\LARGE\bfseries\MakeUppercase{#1}]" write$ newline$
+ "\hfill\vskip 1ex\hrule\medskip" write$ newline$
+ "\else\item[\Large\bfseries\MakeUppercase{#1}]" write$ newline$
+ "\alphabibitemcontent{\MakeUppercase{#1}}%" write$ newline$
+ "\fi" write$ newline$
+ "\else\expandafter" write$ newline$
+ "\ifx\csname alphabibitemcontent\endcsname\relax" write$ newline$
+ "\item[\alphabibitemlabel{\MakeUppercase{#1}}]" write$ newline$
+ "\vskip 1ex\hrule\medskip" write$ newline$
+ "\else\item[\alphabibitemlabel{\MakeUppercase{#1}}]" write$ newline$
+ "\alphabibitemcontent{\MakeUppercase{#1}}%" write$ newline$
+ "\fi" write$ newline$
+ "\fi}" write$ newline$
+ newline$
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ def.alphabibitem
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/sort-by-letters/alpha-letters.bst b/biblio/bibtex/contrib/sort-by-letters/alpha-letters.bst
new file mode 100644
index 0000000000..59e833c672
--- /dev/null
+++ b/biblio/bibtex/contrib/sort-by-letters/alpha-letters.bst
@@ -0,0 +1,1377 @@
+% BibTeX bibliography style `alpha-letters'
+%% adapted from standard style `alpha'
+%% (C) 2006 - Thomas van Oudenhove
+%% when sorting by letter, write the first letter of author
+%% or editor - bug with organization...
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t cur.letter first.letter }
+INTEGERS { first.letter.place first.letter.ascii }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.letter}
+{ first.letter cur.letter =
+ { skip$ }
+ { newline$
+ "\alphabibitem{" first.letter * "}" * write$
+ newline$
+ first.letter 'cur.letter := }
+ if$
+ cur.letter "\" =
+ { first.letter 'cur.letter := }
+ { skip$ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION { author.find.first.letter }
+{ author #1 "{vv }{ll }{ff }, {jj }" format.name$ "u" change.case$
+ purify$ first.letter.place #1 substring$ 'first.letter :=
+ first.letter chr.to.int$ 'first.letter.ascii :=
+}
+
+FUNCTION { editor.find.first.letter }
+{ editor #1 "{vv }{ll }{ff }, {jj }" format.name$ "u" change.case$
+ purify$ first.letter.place #1 substring$ 'first.letter :=
+ first.letter chr.to.int$ 'first.letter.ascii :=
+}
+
+FUNCTION { organization.find.first.letter }
+{ organization #1 "{vv }{ll }{ff }, {jj }" format.name$ "u" change.case$
+ purify$ first.letter.place #1 substring$ 'first.letter :=
+ first.letter chr.to.int$ 'first.letter.ascii :=
+}
+
+FUNCTION { find.firstletter }
+{ author empty$
+ { editor empty$
+% { organization empty$
+ { "Nor author, editor neither organization for entry " cite$ * warning$ }
+% { organization.find.first.letter
+% { first.letter.ascii #64 > first.letter.ascii #91 < and
+% first.letter.ascii #96 > first.letter.ascii #123 < and or not }
+% { first.letter.place #1 + 'first.letter.place :=
+% organization.find.first.letter }
+% while$ }
+% if$ }
+ { editor.find.first.letter
+ { first.letter.ascii #64 > first.letter.ascii #91 < and
+ first.letter.ascii #96 > first.letter.ascii #123 < and or not }
+ { first.letter.place #1 + 'first.letter.place :=
+ editor.find.first.letter }
+ while$
+ }
+ if$
+ }
+ { author.find.first.letter
+ { first.letter.ascii #64 > first.letter.ascii #91 < and
+ first.letter.ascii #96 > first.letter.ascii #123 < and or not }
+ { first.letter.place #1 + 'first.letter.place :=
+ author.find.first.letter }
+ while$
+ }
+ if$
+ #1 'first.letter.place :=
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ year field.or.null purify$ #-1 #2 substring$
+ *
+ 'label :=
+ year field.or.null purify$ #-1 #4 substring$
+ *
+ sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ "\" 'cur.letter :=
+ #1 'first.letter.place :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION { def.alphabibitem }
+{ "\def\alphabibitem#1{%" write$ newline$
+ "\expandafter\ifx\csname firstalphabibitem\endcsname" write$ newline$
+ "\relax\def\firstalphabibitem{}" write$ newline$
+ "\else\expandafter" write$ newline$
+ "\ifx\csname alphabibitemskip\endcsname" write$ newline$
+ "\relax\bigskip" write$ newline$
+ "\else\alphabibitemskip" write$ newline$
+ "\fi" write$ newline$
+ "\fi" write$ newline$
+ "\penalty-200\expandafter" write$ newline$
+ "\ifx\csname alphabibitemlabel\endcsname" write$ newline$
+ "\relax\expandafter" write$ newline$
+ "\ifx\csname alphabibitemcontent\endcsname\relax" write$ newline$
+ "\item[\LARGE\bfseries\MakeUppercase{#1}]" write$ newline$
+ "\hfill\vskip 1ex\hrule\medskip" write$ newline$
+ "\else\item[\Large\bfseries\MakeUppercase{#1}]" write$ newline$
+ "\alphabibitemcontent{\MakeUppercase{#1}}%" write$ newline$
+ "\fi" write$ newline$
+ "\else\expandafter" write$ newline$
+ "\ifx\csname alphabibitemcontent\endcsname\relax" write$ newline$
+ "\item[\alphabibitemlabel{\MakeUppercase{#1}}]" write$ newline$
+ "\vskip 1ex\hrule\medskip" write$ newline$
+ "\else\item[\alphabibitemlabel{\MakeUppercase{#1}}]" write$ newline$
+ "\alphabibitemcontent{\MakeUppercase{#1}}%" write$ newline$
+ "\fi" write$ newline$
+ "\fi}" write$ newline$
+ newline$
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{ et.al.char.used
+ { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+ 'skip$
+ if$
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ def.alphabibitem
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/sort-by-letters/apalike-letters.bst b/biblio/bibtex/contrib/sort-by-letters/apalike-letters.bst
new file mode 100644
index 0000000000..ca7742ac80
--- /dev/null
+++ b/biblio/bibtex/contrib/sort-by-letters/apalike-letters.bst
@@ -0,0 +1,1213 @@
+% BibTeX bibliography style `apalike-letters'
+%% adapted from `apalike' bibliography style (24-Jan-88 version)
+%% (C) 2006 - Thomas van Oudenhove
+%% when sorting by letter, write the first letter of author
+%% or editor - bug with organization...
+% This style should be used with the `apalike' LaTeX style (apalike.sty).
+% \cite's come out like "(Jones, 1986)" in the text but there are no labels
+% in the bibliography, and something like "(1986)" comes out immediately
+% after the author. Author (and editor) names appear as last name, comma,
+% initials. A `year' field is required for every entry, and so is either
+% an author (or in some cases, an editor) field or a key field.
+%
+% Editorial note:
+% Many journals require a style like `apalike', but I strongly, strongly,
+% strongly recommend that you not use it if you have a choice---use something
+% like `plain' instead. Mary-Claire van Leunen (A Handbook for Scholars,
+% Knopf, 1979) argues convincingly that a style like `plain' encourages better
+% writing than one like `apalike'. Furthermore the strongest arguments for
+% using an author-date style like `apalike'---that it's "the most practical"
+% (The Chicago Manual of Style, University of Chicago Press, thirteenth
+% edition, 1982, pages 400--401)---fall flat on their face with the new
+% computer-typesetting technology. For instance page 401 anachronistically
+% states "The chief disadvantage of [a style like `plain'] is that additions
+% or deletions cannot be made after the manuscript is typed without changing
+% numbers in both text references and list." LaTeX sidesteps the disadvantage.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+% month not used in apalike
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t cur.letter first.letter }
+INTEGERS { first.letter.place first.letter.ascii }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+% apalike needs this function because
+% the year has special punctuation;
+% apalike ignores the month
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { write$
+ " (" year * extra.label * ")" *
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+FUNCTION {output.letter}
+{ first.letter cur.letter =
+ { skip$ }
+ { newline$
+ "\alphabibitem{" first.letter * "}" * write$
+ newline$
+ first.letter 'cur.letter := }
+ if$
+ cur.letter "\" =
+ { first.letter 'cur.letter := }
+ { skip$ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION { author.find.first.letter }
+{ author #1 "{vv }{ll }{ff }, {jj }" format.name$ "u" change.case$
+ purify$ first.letter.place #1 substring$ 'first.letter :=
+ first.letter chr.to.int$ 'first.letter.ascii :=
+}
+
+FUNCTION { editor.find.first.letter }
+{ editor #1 "{vv }{ll }{ff }, {jj }" format.name$ "u" change.case$
+ purify$ first.letter.place #1 substring$ 'first.letter :=
+ first.letter chr.to.int$ 'first.letter.ascii :=
+}
+
+FUNCTION { organization.find.first.letter }
+{ organization #1 "{vv }{ll }{ff }, {jj }" format.name$ "u" change.case$
+ purify$ first.letter.place #1 substring$ 'first.letter :=
+ first.letter chr.to.int$ 'first.letter.ascii :=
+}
+
+FUNCTION { find.firstletter }
+{ author empty$
+ { editor empty$
+% { organization empty$
+ { "Nor author, editor neither organization for entry " cite$ * warning$ }
+% { organization.find.first.letter
+% { first.letter.ascii #64 > first.letter.ascii #91 < and
+% first.letter.ascii #96 > first.letter.ascii #123 < and or not }
+% { first.letter.place #1 + 'first.letter.place :=
+% organization.find.first.letter }
+% while$ }
+% if$ }
+ { editor.find.first.letter
+ { first.letter.ascii #64 > first.letter.ascii #91 < and
+ first.letter.ascii #96 > first.letter.ascii #123 < and or not }
+ { first.letter.place #1 + 'first.letter.place :=
+ editor.find.first.letter }
+ while$
+ }
+ if$
+ }
+ { author.find.first.letter
+ { first.letter.ascii #64 > first.letter.ascii #91 < and
+ first.letter.ascii #96 > first.letter.ascii #123 < and or not }
+ { first.letter.place #1 + 'first.letter.place :=
+ author.find.first.letter }
+ while$
+ }
+ if$
+ #1 'first.letter.place :=
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't := % last name first
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.key} % this function is just for apalike
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ "In" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "\cite{" * crossref * "}" * % this is for apalike
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ "In" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ howpublished output
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address output % for apalike
+ new.sentence % there's no year
+ organization output % here so things
+ publisher output % are simpler
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title output
+ new.block
+ howpublished output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.editors output
+ editor format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output % for apalike
+ new.sentence % we always output
+ organization output % a nonempty organization
+ publisher output % here
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+% There are three apalike cases: one person (Jones),
+% two (Jones and de~Bruijn), and more (Jones et~al.).
+% This function is much like format.crossref.editors.
+%
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key, no organization
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label % apalike ignores organization
+ 'author.key.label % for labeling and sorting
+ if$
+ }
+ if$
+ ", " % these three lines are
+ * % for apalike, which
+ year field.or.null purify$ #-1 #4 substring$ % uses all four digits
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$ % apalike uses initials
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't := % <= here
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+% apalike uses two sorting passes; the first one sets the
+% labels so that the `a's, `b's, etc. can be computed;
+% the second pass puts the references in "correct" order.
+% The presort function is for the first pass. It computes
+% label, sort.label, and title, and then concatenates.
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$ % for
+ 'sort.label := % apalike
+ sort.label % style
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT % by label, sort.label, title---for final label calculation
+
+STRINGS { last.label next.extra } % apalike labels are only for the text;
+
+INTEGERS { last.extra.num } % there are none in the bibliography
+
+FUNCTION {initialize.extra.label.stuff} % and hence there is no `longest.label'
+{ #0 int.to.chr$ 'last.label :=
+ "\" 'cur.letter :=
+ #1 'first.letter.place :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION { def.alphabibitem }
+{ "\def\alphabibitem#1{%" write$ newline$
+ "\expandafter\ifx\csname firstalphabibitem\endcsname" write$ newline$
+ "\relax\def\firstalphabibitem{}" write$ newline$
+ "\else\expandafter" write$ newline$
+ "\ifx\csname alphabibitemskip\endcsname" write$ newline$
+ "\relax\bigskip" write$ newline$
+ "\else\alphabibitemskip" write$ newline$
+ "\fi" write$ newline$
+ "\fi" write$ newline$
+ "\penalty-200\expandafter" write$ newline$
+ "\ifx\csname alphabibitemlabel\endcsname" write$ newline$
+ "\relax\expandafter" write$ newline$
+ "\ifx\csname alphabibitemcontent\endcsname\relax" write$ newline$
+ "\item[\LARGE\bfseries\MakeUppercase{#1}]" write$ newline$
+ "\hfill\vskip 1ex\hrule\medskip" write$ newline$
+ "\else\item[\Large\bfseries\MakeUppercase{#1}]" write$ newline$
+ "\alphabibitemcontent{\MakeUppercase{#1}}%" write$ newline$
+ "\fi" write$ newline$
+ "\else\expandafter" write$ newline$
+ "\ifx\csname alphabibitemcontent\endcsname\relax" write$ newline$
+ "\item[\alphabibitemlabel{\MakeUppercase{#1}}]" write$ newline$
+ "\vskip 1ex\hrule\medskip" write$ newline$
+ "\else\item[\alphabibitemlabel{\MakeUppercase{#1}}]" write$ newline$
+ "\alphabibitemcontent{\MakeUppercase{#1}}%" write$ newline$
+ "\fi" write$ newline$
+ "\fi}" write$ newline$
+ newline$
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+% Now that the label is right we sort for real,
+% on sort.label then year then title. This is
+% for the second sorting pass.
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT % by sort.label, year, title---giving final bibliography order
+
+FUNCTION {begin.bib}
+{ preamble$ empty$ % no \etalchar in apalike
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ def.alphabibitem
+ "\begin{thebibliography}{}" write$ newline$ % no labels in apalike
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/sort-by-letters/frplainnat-letters.bst b/biblio/bibtex/contrib/sort-by-letters/frplainnat-letters.bst
new file mode 100644
index 0000000000..519b1bda80
--- /dev/null
+++ b/biblio/bibtex/contrib/sort-by-letters/frplainnat-letters.bst
@@ -0,0 +1,1448 @@
+%% File: `frplainnat-letters.bst'
+%%
+%% This program can be redistributed and/or modified under the terms
+%% of the LaTeX Project Public License Distributed from CTAN
+%% archives in directory macros/latex/base/lppl.txt; either
+%% version 1 of the License, or any later version.
+%%
+%% A modification of `plain.bst' for use with natbib package
+%% Copyright 1993-2005 Patrick W Daly
+%% Max-Planck-Institut f\"ur Sonnensystemforschung
+%% Max-Planck-Str. 2
+%% D-37191 Katlenburg-Lindau
+%% Germany
+%% E-mail: daly @ mps \dot mpg \dot de
+%%
+%% Modification de `plainnat.bst' du package natbib (citations
+%% "auteur-ann\'ee") pour être utilis\'e avec le package french (incluant
+%% l'ancien frbib.sty)
+%%
+%% - francisation des termes de la bibliographie via le package french ;
+%% - les noms d'auteurs sont en "small caps" ;
+%% - dans les citations le "et al." est en italique ;
+%%
+%% Olivier Andrieu <andrieu @ oxygene \dot ijm \dot jussieu \dot fr>
+%%
+%% 02-11-2000
+%%
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ isbn
+ issn
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ url
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t cur.letter first.letter }
+INTEGERS { first.letter.place first.letter.ascii }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION { author.find.first.letter }
+{ author #1 "{vv }{ll }{ff }, {jj }" format.name$ "u" change.case$
+ purify$ first.letter.place #1 substring$ 'first.letter :=
+ first.letter chr.to.int$ 'first.letter.ascii :=
+}
+
+FUNCTION { editor.find.first.letter }
+{ editor #1 "{vv }{ll }{ff }, {jj }" format.name$ "u" change.case$
+ purify$ first.letter.place #1 substring$ 'first.letter :=
+ first.letter chr.to.int$ 'first.letter.ascii :=
+}
+
+FUNCTION { organization.find.first.letter }
+{ organization #1 "{vv }{ll }{ff }, {jj }" format.name$ "u" change.case$
+ purify$ first.letter.place #1 substring$ 'first.letter :=
+ first.letter chr.to.int$ 'first.letter.ascii :=
+}
+
+FUNCTION { find.firstletter }
+{ author empty$
+ { editor empty$
+% { organization empty$
+ { "Nor author, editor neither organization for entry " cite$ * warning$ }
+% { organization.find.first.letter
+% { first.letter.ascii #64 > first.letter.ascii #91 < and
+% first.letter.ascii #96 > first.letter.ascii #123 < and or not }
+% { first.letter.place #1 + 'first.letter.place :=
+% organization.find.first.letter }
+% while$ }
+% if$ }
+ { editor.find.first.letter
+ { first.letter.ascii #64 > first.letter.ascii #91 < and
+ first.letter.ascii #96 > first.letter.ascii #123 < and or not }
+ { first.letter.place #1 + 'first.letter.place :=
+ editor.find.first.letter }
+ while$
+ }
+ if$
+ }
+ { author.find.first.letter
+ { first.letter.ascii #64 > first.letter.ascii #91 < and
+ first.letter.ascii #96 > first.letter.ascii #123 < and or not }
+ { first.letter.place #1 + 'first.letter.place :=
+ author.find.first.letter }
+ while$
+ }
+ if$
+ #1 'first.letter.place :=
+}
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}\bsc\bgroup {vv~}{ll}\egroup{{}}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { namesleft #2 >
+ { ", " * }
+ 'skip$
+ if$
+ t "others" =
+ { " \emph{et~al.}" * }
+ { " \andname{} " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", \editornames{}" * }
+ { ", \editorname{}" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.isbn}
+{ isbn empty$
+ { "" }
+ { new.block "ISBN " isbn * }
+ if$
+}
+
+FUNCTION {format.issn}
+{ issn empty$
+ { "" }
+ { new.block "ISSN " issn * }
+ if$
+}
+
+%%FUNCTION {format.url}
+%%{ url empty$
+%% { "" }
+%% { new.block "URL " url * }
+%% if$
+%%}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {format.full.names}
+{'s :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "\bsc\bgroup {vv~}{ll}\egroup{{}}" format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " \emph{et~al.}" * }
+ { " \andname{} " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.full}
+{ author empty$
+ { editor empty$
+ { "" }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.full}
+{ author empty$
+ { "" }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.full}
+{ editor empty$
+ { "" }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.full
+ { type$ "proceedings" =
+ 'editor.full
+ 'author.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {output.letter}
+{ first.letter cur.letter =
+ { skip$ }
+ { newline$
+ "\alphabibitem{" first.letter * "}" * write$
+ newline$
+ first.letter 'cur.letter := }
+ if$
+
+ cur.letter "\" =
+ { first.letter 'cur.letter := }
+ { skip$ }
+ if$
+
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year duplicate$ empty$
+ { "empty year in " cite$ * warning$
+ pop$ "" }
+ 'skip$
+ if$
+ month empty$
+ 'skip$
+ { month
+ " " * swap$ *
+ }
+ if$
+ extra.label *
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "\volumename{}" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " \ofname{} " * series emphasize * }
+ if$
+ "\volumename{} \andname{} \numbername{}" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "\numbername{}" }
+ { "\Numbername{}" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " \inname{} " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " \editionname{}" * }
+ { edition "t" change.case$ " \editionname{}" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "\pagesname{}" pages n.dashify tie.or.space.connect }
+ { "\pagename{}" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "\penalty0 (" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { "\string:\penalty0 " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "\chaptername{}" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "\Inname{} " booktitle emphasize * }
+ { "\Inname{} " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "\technicalreportname{}" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "\Inname{} {\em " journal * "\/}" * }
+ if$
+ }
+ { "\Inname{} " key * }
+ if$
+ " \citep{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "\Inname{} "
+ }
+ { "\Volumename{}" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ 'skip$
+ if$
+ " \citet{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "\Inname{} {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "\Inname{} " key * }
+ if$
+ }
+ { "\Inname{} " }
+ if$
+ " \citet{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.issn output
+% url output
+ fin.entry
+}
+
+FUNCTION {book}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ format.isbn output
+% url output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors output
+ author format.key output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ format.isbn output
+% url output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ format.isbn output
+% url output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.isbn output
+% url output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.isbn output
+% url output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors output
+ author format.key output
+ new.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+ format.date output
+% url output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ "M\'emoire" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+% url output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors output
+ author format.key output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ format.issn output
+% url output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "Th\`ese de doctorat" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.editors output
+ editor format.key output
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ format.isbn output
+% url output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+% url output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+% url output
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"\janname{}"}
+
+MACRO {feb} {"\febname{}"}
+
+MACRO {mar} {"\marname{}"}
+
+MACRO {apr} {"\aprname{}"}
+
+MACRO {may} {"\mayname{}"}
+
+MACRO {jun} {"\junname{}"}
+
+MACRO {jul} {"\julname{}"}
+
+MACRO {aug} {"\augname{}"}
+
+MACRO {sep} {"\sepname{}"}
+
+MACRO {oct} {"\octname{}"}
+
+MACRO {nov} {"\novname{}"}
+
+MACRO {dec} {"\decname{}"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "\bsc\bgroup {vv~}{ll}\egroup{{}}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " \emph{et~al.}" * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }\bsc\bgroup {vv }{ll}\egroup{{}}{ jj}" format.name$ "others" =
+ { " \emph{et~al.}" * }
+ { " \andname{} " * s #2 "\bsc\bgroup {vv~}{ll}\egroup{{}}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "\emph{et~al}" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num number.label }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ "\" 'cur.letter :=
+ #1 'first.letter.place :=
+ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+
+FUNCTION { def.alphabibitem }
+{ "\def\alphabibitem#1{%" write$ newline$
+ "\expandafter\ifx\csname firstalphabibitem\endcsname" write$ newline$
+ "\relax\def\firstalphabibitem{}" write$ newline$
+ "\else\expandafter" write$ newline$
+ "\ifx\csname alphabibitemskip\endcsname" write$ newline$
+ "\relax\bigskip" write$ newline$
+ "\else\alphabibitemskip" write$ newline$
+ "\fi" write$ newline$
+ "\fi" write$ newline$
+ "\penalty-200\expandafter" write$ newline$
+ "\ifx\csname alphabibitemlabel\endcsname" write$ newline$
+ "\relax\expandafter" write$ newline$
+ "\ifx\csname alphabibitemcontent\endcsname\relax" write$ newline$
+ "\item[\LARGE\bfseries\MakeUppercase{#1}]" write$ newline$
+ "\hfill\vskip 1ex\hrule\medskip" write$ newline$
+ "\else\item[\Large\bfseries\MakeUppercase{#1}]" write$ newline$
+ "\alphabibitemcontent{\MakeUppercase{#1}}%" write$ newline$
+ "\fi" write$ newline$
+ "\else\expandafter" write$ newline$
+ "\ifx\csname alphabibitemcontent\endcsname\relax" write$ newline$
+ "\item[\alphabibitemlabel{\MakeUppercase{#1}}]" write$ newline$
+ "\vskip 1ex\hrule\medskip" write$ newline$
+ "\else\item[\alphabibitemlabel{\MakeUppercase{#1}}]" write$ newline$
+ "\alphabibitemcontent{\MakeUppercase{#1}}%" write$ newline$
+ "\fi" write$ newline$
+ "\fi}" write$ newline$
+ newline$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {bib.sort.order}
+{ sort.label 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ def.alphabibitem
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\expandafter\ifx\csname natexlab\endcsname\relax\def\natexlab#1{#1}\fi"
+ write$ newline$
+ "\expandafter\ifx\csname url\endcsname\relax" write$ newline$
+ " \def\url#1{{\tt #1}}\fi" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/sort-by-letters/plain-letters.bst b/biblio/bibtex/contrib/sort-by-letters/plain-letters.bst
new file mode 100644
index 0000000000..47dd3d1906
--- /dev/null
+++ b/biblio/bibtex/contrib/sort-by-letters/plain-letters.bst
@@ -0,0 +1,1217 @@
+% BibTeX bibliography style `plain-letters'
+%% adapted from standard style `plain'
+%% (C) 2006 - Thomas van Oudenhove
+%% when sorting by letter, write the first letter of author
+%% or editor - bug with organization...
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t cur.letter first.letter }
+INTEGERS { first.letter.place first.letter.ascii }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.letter}
+{ first.letter cur.letter =
+ { skip$ }
+ { newline$
+ "\alphabibitem{" first.letter * "}" * write$
+ newline$
+ first.letter 'cur.letter := }
+ if$
+ cur.letter "\" =
+ { first.letter 'cur.letter := }
+ { skip$ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION { author.find.first.letter }
+{ author #1 "{vv }{ll }{ff }, {jj }" format.name$ "u" change.case$
+ purify$ first.letter.place #1 substring$ 'first.letter :=
+ first.letter chr.to.int$ 'first.letter.ascii :=
+}
+
+FUNCTION { editor.find.first.letter }
+{ editor #1 "{vv }{ll }{ff }, {jj }" format.name$ "u" change.case$
+ purify$ first.letter.place #1 substring$ 'first.letter :=
+ first.letter chr.to.int$ 'first.letter.ascii :=
+}
+
+FUNCTION { organization.find.first.letter }
+{ organization #1 "{vv }{ll }{ff }, {jj }" format.name$ "u" change.case$
+ purify$ first.letter.place #1 substring$ 'first.letter :=
+ first.letter chr.to.int$ 'first.letter.ascii :=
+}
+
+FUNCTION { find.firstletter }
+{ author empty$
+ { editor empty$
+% { organization empty$
+ { "Nor author, editor neither organization for entry " cite$ * warning$ }
+% { organization.find.first.letter
+% { first.letter.ascii #64 > first.letter.ascii #91 < and
+% first.letter.ascii #96 > first.letter.ascii #123 < and or not }
+% { first.letter.place #1 + 'first.letter.place :=
+% organization.find.first.letter }
+% while$ }
+% if$ }
+ { editor.find.first.letter
+ { first.letter.ascii #64 > first.letter.ascii #91 < and
+ first.letter.ascii #96 > first.letter.ascii #123 < and or not }
+ { first.letter.place #1 + 'first.letter.place :=
+ editor.find.first.letter }
+ while$
+ }
+ if$
+ }
+ { author.find.first.letter
+ { first.letter.ascii #64 > first.letter.ascii #91 < and
+ first.letter.ascii #96 > first.letter.ascii #123 < and or not }
+ { first.letter.place #1 + 'first.letter.place :=
+ author.find.first.letter }
+ while$
+ }
+ if$
+ #1 'first.letter.place :=
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ "\" 'cur.letter :=
+ #1 'first.letter.place :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION { def.alphabibitem }
+{ "\def\alphabibitem#1{%" write$ newline$
+ "\expandafter\ifx\csname firstalphabibitem\endcsname" write$ newline$
+ "\relax\def\firstalphabibitem{}" write$ newline$
+ "\else\expandafter" write$ newline$
+ "\ifx\csname alphabibitemskip\endcsname" write$ newline$
+ "\relax\bigskip" write$ newline$
+ "\else\alphabibitemskip" write$ newline$
+ "\fi" write$ newline$
+ "\fi" write$ newline$
+ "\penalty-200\expandafter" write$ newline$
+ "\ifx\csname alphabibitemlabel\endcsname" write$ newline$
+ "\relax\expandafter" write$ newline$
+ "\ifx\csname alphabibitemcontent\endcsname\relax" write$ newline$
+ "\item[\LARGE\bfseries\MakeUppercase{#1}]" write$ newline$
+ "\hfill\vskip 1ex\hrule\medskip" write$ newline$
+ "\else\item[\Large\bfseries\MakeUppercase{#1}]" write$ newline$
+ "\alphabibitemcontent{\MakeUppercase{#1}}%" write$ newline$
+ "\fi" write$ newline$
+ "\else\expandafter" write$ newline$
+ "\ifx\csname alphabibitemcontent\endcsname\relax" write$ newline$
+ "\item[\alphabibitemlabel{\MakeUppercase{#1}}]" write$ newline$
+ "\vskip 1ex\hrule\medskip" write$ newline$
+ "\else\item[\alphabibitemlabel{\MakeUppercase{#1}}]" write$ newline$
+ "\alphabibitemcontent{\MakeUppercase{#1}}%" write$ newline$
+ "\fi" write$ newline$
+ "\fi}" write$ newline$
+ newline$
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ def.alphabibitem
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/sort-by-letters/plainnat-letters.bst b/biblio/bibtex/contrib/sort-by-letters/plainnat-letters.bst
new file mode 100644
index 0000000000..cbe91a2386
--- /dev/null
+++ b/biblio/bibtex/contrib/sort-by-letters/plainnat-letters.bst
@@ -0,0 +1,1529 @@
+%% File: `plainnat-letters.bst'
+%% A modification of `plain.bst' for use with natbib package
+%% add: generation of letters-group for authors
+%%
+%% Copyright 1993-2005 Patrick W Daly
+%% Max-Planck-Institut f\"ur Sonnensystemforschung
+%% Max-Planck-Str. 2
+%% D-37191 Katlenburg-Lindau
+%% Germany
+%% E-mail: daly @ mps \dot mpg \dot de
+%%
+%% This program can be redistributed and/or modified under the terms
+%% of the LaTeX Project Public License Distributed from CTAN
+%% archives in directory macros/latex/base/lppl.txt; either
+%% version 1 of the License, or any later version.
+%%
+%% Thomas van Oudenhove <vanouden @ enstimac \dot fr>
+%%
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ doi
+ eid
+ edition
+ editor
+ howpublished
+ institution
+ isbn
+ issn
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ url
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t cur.letter first.letter }
+INTEGERS { first.letter.place first.letter.ascii }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+
+FUNCTION { author.find.first.letter }
+{ author #1 "{vv }{ll }{ff }, {jj }" format.name$ "u" change.case$
+ purify$ first.letter.place #1 substring$ 'first.letter :=
+ first.letter chr.to.int$ 'first.letter.ascii :=
+}
+
+FUNCTION { editor.find.first.letter }
+{ editor #1 "{vv }{ll }{ff }, {jj }" format.name$ "u" change.case$
+ purify$ first.letter.place #1 substring$ 'first.letter :=
+ first.letter chr.to.int$ 'first.letter.ascii :=
+}
+
+FUNCTION { organization.find.first.letter }
+{ organization #1 "{vv }{ll }{ff }, {jj }" format.name$ "u" change.case$
+ purify$ first.letter.place #1 substring$ 'first.letter :=
+ first.letter chr.to.int$ 'first.letter.ascii :=
+}
+
+FUNCTION { find.firstletter }
+{ author empty$
+ { editor empty$
+% { organization empty$
+ { "Nor author, editor neither organization for entry " cite$ * warning$ }
+% { organization.find.first.letter
+% { first.letter.ascii #64 > first.letter.ascii #91 < and
+% first.letter.ascii #96 > first.letter.ascii #123 < and or not }
+% { first.letter.place #1 + 'first.letter.place :=
+% organization.find.first.letter }
+% while$ }
+% if$ }
+ { editor.find.first.letter
+ { first.letter.ascii #64 > first.letter.ascii #91 < and
+ first.letter.ascii #96 > first.letter.ascii #123 < and or not }
+ { first.letter.place #1 + 'first.letter.place :=
+ editor.find.first.letter }
+ while$
+ }
+ if$
+ }
+ { author.find.first.letter
+ { first.letter.ascii #64 > first.letter.ascii #91 < and
+ first.letter.ascii #96 > first.letter.ascii #123 < and or not }
+ { first.letter.place #1 + 'first.letter.place :=
+ author.find.first.letter }
+ while$
+ }
+ if$
+ #1 'first.letter.place :=
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.isbn}
+{ isbn empty$
+ { "" }
+ { new.block "ISBN " isbn * }
+ if$
+}
+
+FUNCTION {format.issn}
+{ issn empty$
+ { "" }
+ { new.block "ISSN " issn * }
+ if$
+}
+
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { new.block "URL \url{" url * "}" * }
+ if$
+}
+
+FUNCTION {format.doi}
+{ doi empty$
+ { "" }
+ { new.block "\doi{" doi * "}" * }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {format.full.names}
+{'s :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.full}
+{ author empty$
+ { editor empty$
+ { "" }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.full}
+{ author empty$
+ { "" }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.full}
+{ editor empty$
+ { "" }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.full
+ { type$ "proceedings" =
+ 'editor.full
+ 'author.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {output.letter}
+{ first.letter cur.letter =
+ { skip$ }
+ { newline$
+ "\alphabibitem{" first.letter * "}" * write$
+ newline$
+ first.letter 'cur.letter := }
+ if$
+ cur.letter "\" =
+ { first.letter 'cur.letter := }
+ { skip$ }
+ if$
+}
+
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year duplicate$ empty$
+ { "empty year in " cite$ * warning$
+ pop$ "" }
+ 'skip$
+ if$
+ month empty$
+ 'skip$
+ { month
+ " " * swap$ *
+ }
+ if$
+ extra.label *
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.eid}
+{ eid empty$
+ { "" }
+ { "art." eid tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "\penalty0 (" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":\penalty0 " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.eid}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "\penalty0 (" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ eid empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.eid }
+ { ":\penalty0 " * eid * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In \emph{" journal * "}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \citep{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "\emph{" * series * "}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ 'skip$
+ if$
+ ", \citet{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In \emph{" booktitle * "}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " }
+ if$
+ " \citet{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ eid empty$
+ { format.vol.num.pages output }
+ { format.vol.num.eid output }
+ if$
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ eid empty$
+ { format.pages output }
+ { format.eid output }
+ if$
+ }
+ if$
+ format.issn output
+ format.doi output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ format.isbn output
+ format.doi output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors output
+ author format.key output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ format.isbn output
+ format.doi output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ format.isbn output
+ format.doi output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.isbn output
+ format.doi output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.isbn output
+ format.doi output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors output
+ author format.key output
+ new.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+ format.date output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors output
+ author format.key output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ format.issn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.editors output
+ editor format.key output
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ format.isbn output
+ format.doi output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ format.url output
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" * }
+ { numnames #2 > nameptr #2 = and
+ { "zz" * year field.or.null * " " * }
+ 'skip$
+ if$
+ t sortify *
+ }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ cite$
+ *
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num number.label }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ "\" 'cur.letter :=
+ #1 'first.letter.place :=
+ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+
+FUNCTION { def.alphabibitem }
+{ "\def\alphabibitem#1{%" write$ newline$
+ "\expandafter\ifx\csname firstalphabibitem\endcsname" write$ newline$
+ "\relax\def\firstalphabibitem{}" write$ newline$
+ "\else\expandafter" write$ newline$
+ "\ifx\csname alphabibitemskip\endcsname" write$ newline$
+ "\relax\bigskip" write$ newline$
+ "\else\alphabibitemskip" write$ newline$
+ "\fi" write$ newline$
+ "\fi" write$ newline$
+ "\penalty-200\expandafter" write$ newline$
+ "\ifx\csname alphabibitemlabel\endcsname" write$ newline$
+ "\relax\expandafter" write$ newline$
+ "\ifx\csname alphabibitemcontent\endcsname\relax" write$ newline$
+ "\item[\LARGE\bfseries\MakeUppercase{#1}]" write$ newline$
+ "\hfill\vskip 1ex\hrule\medskip" write$ newline$
+ "\else\item[\Large\bfseries\MakeUppercase{#1}]" write$ newline$
+ "\alphabibitemcontent{\MakeUppercase{#1}}%" write$ newline$
+ "\fi" write$ newline$
+ "\else\expandafter" write$ newline$
+ "\ifx\csname alphabibitemcontent\endcsname\relax" write$ newline$
+ "\item[\alphabibitemlabel{\MakeUppercase{#1}}]" write$ newline$
+ "\vskip 1ex\hrule\medskip" write$ newline$
+ "\else\item[\alphabibitemlabel{\MakeUppercase{#1}}]" write$ newline$
+ "\alphabibitemcontent{\MakeUppercase{#1}}%" write$ newline$
+ "\fi" write$ newline$
+ "\fi}" write$ newline$
+ newline$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {bib.sort.order}
+{ sort.label 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ def.alphabibitem
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\providecommand{\natexlab}[1]{#1}"
+ write$ newline$
+ "\providecommand{\url}[1]{\texttt{#1}}"
+ write$ newline$
+ "\expandafter\ifx\csname urlstyle\endcsname\relax"
+ write$ newline$
+ " \providecommand{\doi}[1]{doi: #1}\else"
+ write$ newline$
+ " \providecommand{\doi}{doi: \begingroup \urlstyle{rm}\Url}\fi"
+ write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/sort-by-letters/siam-letters.bst b/biblio/bibtex/contrib/sort-by-letters/siam-letters.bst
new file mode 100644
index 0000000000..c1ddcdf4c2
--- /dev/null
+++ b/biblio/bibtex/contrib/sort-by-letters/siam-letters.bst
@@ -0,0 +1,1154 @@
+% BibTeX bibliography style `siam-letters'
+%% adapted from SIAM bibliography style (29-Jan-88 version)
+%% (C) 2006 - Thomas van Oudenhove
+%% when sorting by letter, write the first letter of author
+%% or editor - bug with organization...
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.block :=
+}
+
+STRINGS { s t cur.letter first.letter }
+INTEGERS { first.letter.place first.letter.ascii }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ 'write$
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.letter}
+{ first.letter cur.letter =
+ { skip$ }
+ { newline$
+ "\alphabibitem{" first.letter * "}" * write$
+ newline$
+ first.letter 'cur.letter := }
+ if$
+ cur.letter "\" =
+ { first.letter 'cur.letter := }
+ { skip$ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+FUNCTION {scapify}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\sc " swap$ * "}" * }
+ if$
+}
+
+FUNCTION { author.find.first.letter }
+{ author #1 "{vv }{ll }{ff }, {jj }" format.name$ "u" change.case$
+ purify$ first.letter.place #1 substring$ 'first.letter :=
+ first.letter chr.to.int$ 'first.letter.ascii :=
+}
+
+FUNCTION { editor.find.first.letter }
+{ editor #1 "{vv }{ll }{ff }, {jj }" format.name$ "u" change.case$
+ purify$ first.letter.place #1 substring$ 'first.letter :=
+ first.letter chr.to.int$ 'first.letter.ascii :=
+}
+
+FUNCTION { organization.find.first.letter }
+{ organization #1 "{vv }{ll }{ff }, {jj }" format.name$ "u" change.case$
+ purify$ first.letter.place #1 substring$ 'first.letter :=
+ first.letter chr.to.int$ 'first.letter.ascii :=
+}
+
+FUNCTION { find.firstletter }
+{ author empty$
+ { editor empty$
+% { organization empty$
+ { "Nor author, editor neither organization for entry " cite$ * warning$ }
+% { organization.find.first.letter
+% { first.letter.ascii #64 > first.letter.ascii #91 < and
+% first.letter.ascii #96 > first.letter.ascii #123 < and or not }
+% { first.letter.place #1 + 'first.letter.place :=
+% organization.find.first.letter }
+% while$ }
+% if$ }
+ { editor.find.first.letter
+ { first.letter.ascii #64 > first.letter.ascii #91 < and
+ first.letter.ascii #96 > first.letter.ascii #123 < and or not }
+ { first.letter.place #1 + 'first.letter.place :=
+ editor.find.first.letter }
+ while$
+ }
+ if$
+ }
+ { author.find.first.letter
+ { first.letter.ascii #64 > first.letter.ascii #91 < and
+ first.letter.ascii #96 > first.letter.ascii #123 < and or not }
+ { first.letter.place #1 + 'first.letter.place :=
+ author.find.first.letter }
+ while$
+ }
+ if$
+ #1 'first.letter.place :=
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+STRINGS { last.authors }
+
+FUNCTION {init.last.authors}
+{ "" 'last.authors :=
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" 'last.authors :=
+ ""
+ }
+ { author last.authors =
+ { "\leavevmode\vrule height 2pt depth -1.6pt width 23pt" }
+ { author format.names scapify }
+ if$
+ author 'last.authors :=
+ }
+ if$
+}
+
+FUNCTION {format.organization}
+{ organization empty$
+ { "" 'last.authors :=
+ ""
+ }
+ { organization last.authors =
+ { "\leavevmode\vrule height 2pt depth -1.6pt width 23pt" }
+ { organization scapify }
+ if$
+ organization 'last.authors :=
+ }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" 'last.authors :=
+ ""
+ }
+ { editor last.authors =
+ { "\leavevmode\vrule height 2pt depth -1.6pt width 23pt" }
+ { editor format.names scapify }
+ if$
+ editor num.names$ #1 >
+ { ", eds." * }
+ { ", ed." * }
+ if$
+ editor 'last.authors :=
+ }
+ if$
+}
+
+FUNCTION {format.ineditors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", eds." * }
+ { ", ed." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ emphasize }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "vol.~" volume *
+ series empty$
+ 'skip$
+ { " of " * series * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { "no.~" number *
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { edition "l" change.case$ "~ed." * }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pp.~" pages n.dashify * }
+ { "p.~" pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.year}
+{ volume field.or.null
+ year empty$
+ { "empty year in " cite$ * warning$ }
+ { " (" year * ")" * * }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "ch.~" chapter * }
+ { type "l" change.case$ chapter tie.or.space.connect }
+ if$
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "in " booktitle * }
+ { "in " booktitle * ", " * format.ineditors * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "l" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Tech. Rep." }
+ 'type
+ if$
+ number empty$
+ { "l" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "in " journal * }
+ if$
+ }
+ { "in " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "in "
+ }
+ { "vol.~" volume *
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { series * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "in " booktitle * }
+ if$
+ }
+ { "in " key * }
+ if$
+ }
+ { "in " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ crossref missing$
+ { journal "journal" output.check
+ format.vol.year output
+ }
+ { format.article.crossref output.nonnull }
+ if$
+ format.pages output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ publisher "publisher" output.check
+ address output
+ }
+ { format.book.crossref output.nonnull }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors output
+ format.title "title" output.check
+ howpublished new.block.checka
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ publisher "publisher" output.check
+ address output
+ }
+ { format.book.crossref output.nonnull }
+ if$
+ format.edition output
+ format.date "year" output.check
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull }
+ if$
+ format.chapter.pages output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull }
+ if$
+ format.pages output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ author empty$
+ { format.organization output }
+ { format.authors output.nonnull }
+ if$
+ format.btitle "title" output.check
+ author empty$
+ 'skip$
+ { organization output }
+ if$
+ address output
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors output
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ format.btitle "title" output.check
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ editor empty$
+ { format.organization output }
+ { format.editors output.nonnull }
+ if$
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ find.firstletter
+ output.letter
+ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Comput. Surveys"}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Comm. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~Assoc. Comput. Mach."}
+
+MACRO {jcss} {"J.~Comput. System Sci."}
+
+MACRO {scp} {"Sci. Comput. Programming"}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Gr."}
+
+MACRO {toms} {"ACM Trans. Math. Softw."}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ "\" 'cur.letter :=
+ #1 'first.letter.place :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION { def.alphabibitem }
+{ "\def\alphabibitem#1{%" write$ newline$
+ "\expandafter\ifx\csname firstalphabibitem\endcsname" write$ newline$
+ "\relax\def\firstalphabibitem{}" write$ newline$
+ "\else\expandafter" write$ newline$
+ "\ifx\csname alphabibitemskip\endcsname" write$ newline$
+ "\relax\bigskip" write$ newline$
+ "\else\alphabibitemskip" write$ newline$
+ "\fi" write$ newline$
+ "\fi" write$ newline$
+ "\penalty-200\expandafter" write$ newline$
+ "\ifx\csname alphabibitemlabel\endcsname" write$ newline$
+ "\relax\expandafter" write$ newline$
+ "\ifx\csname alphabibitemcontent\endcsname\relax" write$ newline$
+ "\item[\LARGE\bfseries\MakeUppercase{#1}]" write$ newline$
+ "\hfill\vskip 1ex\hrule\medskip" write$ newline$
+ "\else\item[\Large\bfseries\MakeUppercase{#1}]" write$ newline$
+ "\alphabibitemcontent{\MakeUppercase{#1}}%" write$ newline$
+ "\fi" write$ newline$
+ "\else\expandafter" write$ newline$
+ "\ifx\csname alphabibitemcontent\endcsname\relax" write$ newline$
+ "\item[\alphabibitemlabel{\MakeUppercase{#1}}]" write$ newline$
+ "\vskip 1ex\hrule\medskip" write$ newline$
+ "\else\item[\alphabibitemlabel{\MakeUppercase{#1}}]" write$ newline$
+ "\alphabibitemcontent{\MakeUppercase{#1}}%" write$ newline$
+ "\fi" write$ newline$
+ "\fi}" write$ newline$
+ newline$
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ def.alphabibitem
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+EXECUTE {init.last.authors}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/spain/README b/biblio/bibtex/contrib/spain/README
new file mode 100644
index 0000000000..375ebb5f78
--- /dev/null
+++ b/biblio/bibtex/contrib/spain/README
@@ -0,0 +1,5 @@
+spain.bst and spain.dbj files for bibliography.
+
+It follows the traditional bibliographic style in
+Spain, as shown in the "Diccionario de ortografía
+técnica" of J. Martínez de Sousa (1999) \ No newline at end of file
diff --git a/biblio/bibtex/contrib/spain/spain.bst b/biblio/bibtex/contrib/spain/spain.bst
new file mode 100644
index 0000000000..ad0c23a9f9
--- /dev/null
+++ b/biblio/bibtex/contrib/spain/spain.bst
@@ -0,0 +1 @@
+%% %% This is file `sousa4.bst', %% generated with the docstrip utility. %% %% The original source files were: %% %% merlin.mbs (with options: `head,exlang,cite,lang,annote,vonx,nm-revv1,jnrlst,nmdash,nmft,nmft-sc,fnm-rm,nmand-rm,dt-jnl,yr-com,yrpp-xsp,tit-qq,qt-g,atit-u,trnum-it,vnum-nr,volp-com,jdt-pc,pp-last,num-xser,pub-date,pub-xpar,pre-pub,edparxc,edby-par,edbyy,spanish,ppx,ed,abr,xedn,and-com,and-com-ed,etal-it,revdata,eprint,url,url-blk,em-it,nfss,{}') %% spanish.mbs (with options: `exlang,cite,lang,annote,vonx,nm-revv1,jnrlst,nmdash,nmft,nmft-sc,fnm-rm,nmand-rm,dt-jnl,yr-com,yrpp-xsp,tit-qq,qt-g,atit-u,trnum-it,vnum-nr,volp-com,jdt-pc,pp-last,num-xser,pub-date,pub-xpar,pre-pub,edparxc,edby-par,edbyy,spanish,ppx,ed,abr,xedn,and-com,and-com-ed,etal-it,revdata,eprint,url,url-blk,em-it,nfss,{}') %% physjour.mbs (with options: `exlang,cite,lang,annote,vonx,nm-revv1,jnrlst,nmdash,nmft,nmft-sc,fnm-rm,nmand-rm,dt-jnl,yr-com,yrpp-xsp,tit-qq,qt-g,atit-u,trnum-it,vnum-nr,volp-com,jdt-pc,pp-last,num-xser,pub-date,pub-xpar,pre-pub,edparxc,edby-par,edbyy,spanish,ppx,ed,abr,xedn,and-com,and-com-ed,etal-it,revdata,eprint,url,url-blk,em-it,nfss,{}') %% geojour.mbs (with options: `exlang,cite,lang,annote,vonx,nm-revv1,jnrlst,nmdash,nmft,nmft-sc,fnm-rm,nmand-rm,dt-jnl,yr-com,yrpp-xsp,tit-qq,qt-g,atit-u,trnum-it,vnum-nr,volp-com,jdt-pc,pp-last,num-xser,pub-date,pub-xpar,pre-pub,edparxc,edby-par,edbyy,spanish,ppx,ed,abr,xedn,and-com,and-com-ed,etal-it,revdata,eprint,url,url-blk,em-it,nfss,{}') %% photjour.mbs (with options: `exlang,cite,lang,annote,vonx,nm-revv1,jnrlst,nmdash,nmft,nmft-sc,fnm-rm,nmand-rm,dt-jnl,yr-com,yrpp-xsp,tit-qq,qt-g,atit-u,trnum-it,vnum-nr,volp-com,jdt-pc,pp-last,num-xser,pub-date,pub-xpar,pre-pub,edparxc,edby-par,edbyy,spanish,ppx,ed,abr,xedn,and-com,and-com-ed,etal-it,revdata,eprint,url,url-blk,em-it,nfss,{}') %% merlin.mbs (with options: `tail,exlang,cite,lang,annote,vonx,nm-revv1,jnrlst,nmdash,nmft,nmft-sc,fnm-rm,nmand-rm,dt-jnl,yr-com,yrpp-xsp,tit-qq,qt-g,atit-u,trnum-it,vnum-nr,volp-com,jdt-pc,pp-last,num-xser,pub-date,pub-xpar,pre-pub,edparxc,edby-par,edbyy,spanish,ppx,ed,abr,xedn,and-com,and-com-ed,etal-it,revdata,eprint,url,url-blk,em-it,nfss,{}') %% ---------------------------------------- %% *** bibliografia de JoseRa para escribir en castellano *** %% %% Copyright 1994-2000 Patrick W Daly % =============================================================== % IMPORTANT NOTICE: % This bibliographic style (bst) file has been generated from one or % more master bibliographic style (mbs) files, listed above. % % This generated file can be redistributed and/or modified under the terms % of the LaTeX Project Public License Distributed from CTAN % archives in directory macros/latex/base/lppl.txt; either % version 1 of the License, or any later version. % =============================================================== % Name and version information of the main mbs file: % \ProvidesFile{merlin.mbs}[2000/05/04 4.01 (PWD, AO, DPC)] % For use with BibTeX version 0.99a or later %------------------------------------------------------------------- % This bibliography style file is intended for texts in % SPANISH % This is a special pseudo-numerical bibliography style, intended to be % used to list all the entries in a bib database % It requires no extra package to interface to the main text. % The form of the \bibitem entries is % \bibitem[key]{key}... %--------------------------------------------------------------------- ENTRY { address annote archive author booktitle chapter collaboration edition editor eid eprint howpublished institution journal key language month note number numpages organization pages publisher school series title type url volume year } {} { label } INTEGERS { output.state before.all mid.sentence after.sentence after.block } FUNCTION {init.state.consts} { #0 'before.all := #1 'mid.sentence := #2 'after.sentence := #3 'after.block := } STRINGS { s t} FUNCTION {output.nonnull} { 's := output.state mid.sentence = { ", " * write$ } { output.state after.block = { add.period$ write$ newline$ "\newblock " write$ } { output.state before.all = 'write$ { add.period$ " " * write$ } if$ } if$ mid.sentence 'output.state := } if$ s } FUNCTION {output} { duplicate$ empty$ 'pop$ 'output.nonnull if$ } FUNCTION {output.check} { 't := duplicate$ empty$ { pop$ "empty " t * " in " * cite$ * warning$ } 'output.nonnull if$ } FUNCTION {fin.entry} { add.period$ write$ newline$ annote missing$ { "\bibAnnoteFile{" cite$ * "}" * write$ newline$ } { "\bibAnnote{" cite$ * "}{" * annote * "}" * write$ newline$ } if$ } FUNCTION {new.block} { output.state before.all = 'skip$ { after.block 'output.state := } if$ } FUNCTION {new.sentence} { output.state after.block = 'skip$ { output.state before.all = 'skip$ { after.sentence 'output.state := } if$ } if$ } FUNCTION {add.blank} { " " * before.all 'output.state := } FUNCTION {no.blank.or.punct} { "\hspace{0pt}" * before.all 'output.state := } FUNCTION {date.block} { new.block } FUNCTION {not} { { #0 } { #1 } if$ } FUNCTION {and} { 'skip$ { pop$ #0 } if$ } FUNCTION {or} { { pop$ #1 } 'skip$ if$ } FUNCTION {non.stop} { duplicate$ "}" * add.period$ #-1 #1 substring$ "." = } FUNCTION {new.block.checka} { empty$ 'skip$ 'new.block if$ } FUNCTION {new.block.checkb} { empty$ swap$ empty$ and 'skip$ 'new.block if$ } FUNCTION {new.sentence.checka} { empty$ 'skip$ 'new.sentence if$ } FUNCTION {new.sentence.checkb} { empty$ swap$ empty$ and 'skip$ 'new.sentence if$ } FUNCTION {field.or.null} { duplicate$ empty$ { pop$ "" } 'skip$ if$ } FUNCTION {emphasize} { duplicate$ empty$ { pop$ "" } { "\textit{" swap$ * "}" * } if$ } FUNCTION {scaps} { duplicate$ empty$ { pop$ "" } { "\textsc{" swap$ * "}" * } if$ } FUNCTION {bib.name.font} { scaps } FUNCTION {bib.fname.font} { skip$ } FUNCTION {tie.or.space.prefix} { duplicate$ text.length$ #3 < { "~" } { " " } if$ swap$ } FUNCTION {capitalize} { "u" change.case$ "t" change.case$ } FUNCTION {space.word} { " " swap$ * " " * } % Here are the language-specific definitions for explicit words. % Each function has a name bbl.xxx where xxx is the English word. %------------------------------------------------------------------- % Begin module: % \ProvidesFile{spanish.mbs}[2000/03/15 4.0 (PWD/TB)] % The language selected here is SPANISH FUNCTION {bbl.and} { "y"} FUNCTION {bbl.etal} { "et~al." } FUNCTION {bbl.editors} { "eds." } FUNCTION {bbl.editor} { "ed." } FUNCTION {bbl.edby} { "editado por" } FUNCTION {bbl.edition} { "ed\raise1ex\hbox{\underbar{\scriptsize \'on}}." } FUNCTION {bbl.volume} { "tomo" } FUNCTION {bbl.of} { "de" } FUNCTION {bbl.number} { "n\raise1ex\hbox{\underbar{\scriptsize o}}" } FUNCTION {bbl.nr} { "n\raise1ex\hbox{\underbar{\scriptsize o}}" } FUNCTION {bbl.in} { "en" } FUNCTION {bbl.pages} { "p\'aginas" } FUNCTION {bbl.page} { "p\'agina" } FUNCTION {bbl.eidpp} { "p\'aginas" } FUNCTION {bbl.chapter} { "cap." } FUNCTION {bbl.techrep} { "Inf.\ T\'ec." } FUNCTION {bbl.mthesis} { "Proyecto Fin de Carrera" } FUNCTION {bbl.phdthesis} { "Tesis Doctoral" } MACRO {jan} {"ene."} MACRO {feb} {"feb."} MACRO {mar} {"mar."} MACRO {apr} {"abr."} MACRO {may} {"mayo"} MACRO {jun} {"jun."} MACRO {jul} {"jul."} MACRO {aug} {"ago."} MACRO {sep} {"sep."} MACRO {oct} {"oct."} MACRO {nov} {"nov."} MACRO {dec} {"dic."} % End module: spanish.mbs %------------------------------------------------------------------- % Begin module: % \ProvidesFile{physjour.mbs}[1999/10/05 2.1 (PWD)] MACRO {aa}{"Astronomy and Astrophysics"} MACRO {aasup}{"Astronomy and Astrophysics, Supplement Series"} MACRO {aj}{"Astronomical Journal"} MACRO {aph} {"Acta Physica"} MACRO {advp} {"Advances in Physics"} MACRO {ajp} {"American Journal of Physics"} MACRO {ajm} {"American Journal of Mathematics"} MACRO {amsci} {"American Scientist"} MACRO {anofd} {"Annals of Fluid Dynamics"} MACRO {am} {"Annals of Mathematics"} MACRO {ap} {"Annals of Physics"} MACRO {adp} {"Annalen der Physik"} MACRO {ao} {"Applied Optics"} MACRO {apl} {"Applied Physics Letters"} MACRO {app} {"Astroparticle Physics"} MACRO {apj} {"Astrophysical Journal"} MACRO {apjsup} {"Astrophysical Journal Supplement"} MACRO {apss} {"Astrophysics and Space Science"} MACRO {araa} {"Annual Review of Astronomy and Astrophysics"} MACRO {baas} {"Bulletin of the American Astronomical Society"} MACRO {baps} {"Bulletin of the American Physical Society"} MACRO {cmp} {"Communications in Mathematical Physics"} MACRO {cpam} {"Communications on Pure and Applied Mathematics"} MACRO {cppcf} {"Comments on Plasma Physics and Controlled Fusion"} MACRO {cpc} {"Computer Physics Communications"} MACRO {cqg} {"Classical and Quantum Gravity"} MACRO {cra} {"Comptes Rendus des S{\'e}ances de l'Acad{\'e}mie des Sciences A"} MACRO {fed} {"Fusion Engineering and Design"} MACRO {ft} {"Fusion Technology"} MACRO {grg} {"General Relativity and Gravitation"} MACRO {ieeens} {"IEEE Transactions on Nuclear Science"} MACRO {ieeeps} {"IEEE Transactions on Plasma Science"} MACRO {ijimw} {"International Journal of Infrared and Millimeter Waves"} MACRO {ip} {"Infrared Physics"} MACRO {irp} {"Infrared Physics"} MACRO {jap} {"Journal of Applied Physics"} MACRO {jasa} {"Journal of the Acoustical Society of America"} MACRO {jcp} {"Journal of Computational Physics"} MACRO {jetp} {"Soviet Physics--JETP"} MACRO {jfe} {"Journal of Fusion Energy"} MACRO {jfm} {"Journal of Fluid Mechanics"} MACRO {jmp} {"Journal of Mathematical Physics"} MACRO {jne} {"Journal of Nuclear Energy"} MACRO {jnec} {"Journal of Nuclear Energy, Part C: Plasma Physics, Accelerators, Thermonuclear Research"} MACRO {jnm} {"Journal of Nuclear Materials"} MACRO {jpc} {"Journal of Physical Chemistry"} MACRO {jpp} {"Journal of Plasma Physics"} MACRO {jpsj} {"Journal of the Physical Society of Japan"} MACRO {jsi} {"Journal of Scientific Instruments"} MACRO {jvst} {"Journal of Vacuum Science and Technology"} MACRO {nat} {"Nature"} MACRO {nature} {"Nature"} MACRO {nedf} {"Nuclear Engineering and Design/Fusion"} MACRO {nf} {"Nuclear Fusion"} MACRO {nim} {"Nuclear Instruments and Methods"} MACRO {nimpr} {"Nuclear Instruments and Methods in Physics Research"} MACRO {np} {"Nuclear Physics"} MACRO {npb} {"Nuclear Physics B"} MACRO {nt/f} {"Nuclear Technology/Fusion"} MACRO {npbpc} {"Nuclear Physics B (Proceedings Suppluments)"} MACRO {inc} {"Il Nuovo Cimento"} MACRO {nc} {"Nuovo Cimento"} MACRO {pf} {"Physics of Fluids"} MACRO {pfa} {"Physics of Fluids A: Fluid Dynamics"} MACRO {pfb} {"Physics of Fluids B: Plasma Physics"} MACRO {pl} {"Physics Letters"} MACRO {pla} {"Physics Letters A"} MACRO {plb} {"Physics Letters B"} MACRO {prep} {"Physics Reports"} MACRO {pnas} {"Proceedings of the National Academy of Sciences of the USA"} MACRO {pp} {"Physics of Plasmas"} MACRO {ppcf} {"Plasma Physics and Controlled Fusion"} MACRO {phitrsl} {"Philosophical Transactions of the Royal Society of London"} MACRO {prl} {"Physical Review Letters"} MACRO {pr} {"Physical Review"} MACRO {physrev} {"Physical Review"} MACRO {pra} {"Physical Review A"} MACRO {prb} {"Physical Review B"} MACRO {prc} {"Physical Review C"} MACRO {prd} {"Physical Review D"} MACRO {pre} {"Physical Review E"} MACRO {ps} {"Physica Scripta"} MACRO {procrsl} {"Proceedings of the Royal Society of London"} MACRO {rmp} {"Reviews of Modern Physics"} MACRO {rsi} {"Review of Scientific Instruments"} MACRO {science} {"Science"} MACRO {sciam} {"Scientific American"} MACRO {sam} {"Studies in Applied Mathematics"} MACRO {sjpp} {"Soviet Journal of Plasma Physics"} MACRO {spd} {"Soviet Physics--Doklady"} MACRO {sptp} {"Soviet Physics--Technical Physics"} MACRO {spu} {"Soviet Physics--Uspeki"} MACRO {st} {"Sky and Telescope"} % End module: physjour.mbs %------------------------------------------------------------------- % Begin module: % \ProvidesFile{geojour.mbs}[1999/11/16 2.0g (PWD)] MACRO {aisr} {"Advances in Space Research"} MACRO {ag} {"Annales Geophysic\ae"} MACRO {anigeo} {"Annali di Geofisica"} MACRO {angl} {"Annals of Glaciology"} MACRO {andmet} {"Annalen der Meteorologie"} MACRO {andgeo} {"Annales de Geophysique"} MACRO {andphy} {"Annales de Physique"} MACRO {afmgb} {"Archiv f\^^b{u}r Meteorologie, Geophysik und Bioklimatologie"} MACRO {ass}{"Astrophysics and Space Science"} MACRO {atph} {"Atm\'osphera"} MACRO {aao} {"Atmosphere-Ocean"} MACRO {atenv} {"Atmospheric Environment"} MACRO {aujag} {"Australian Journal of Agricultural Research"} MACRO {aumet} {"Australian Meteorological Magazine"} MACRO {blmet} {"Boundary-Layer Meteorology"} MACRO {bams} {"Bulletin of the American Meteorological Society"} MACRO {cch} {"Climatic Change"} MACRO {cdyn} {"Climate Dynamics"} MACRO {cbul} {"Climatological Bulletin"} MACRO {cap} {"Contributions to Atmospheric Physics"} MACRO {dsr} {"Deep-Sea Research"} MACRO {dhz} {"Deutsche Hydrographische Zeitschrift"} MACRO {dao} {"Dynamics of Atmospheres and Oceans"} MACRO {eco} {"Ecology"} MACRO {empl}{"Earth, Moon and Planets"} MACRO {envres} {"Environmental Research"} MACRO {envst} {"Environmental Science and Technology"} MACRO {ecms} {"Estuarine and Coastal Marine Science"} MACRO {expa}{"Experimental Astronomy"} MACRO {geoint} {"Geofisica Internationale"} MACRO {geopub} {"Geofysiske Publikasjoner"} MACRO {geogeo} {"Geologiya i Geofizika"} MACRO {gafd} {"Geophysical and Astrophysical Fluid Dynamics"} MACRO {gfd} {"Geophysical Fluid Dynamics"} MACRO {geomag} {"Geophysical Magazine"} MACRO {georl} {"Geophysical Research Letters"} MACRO {grl} {"Geophysical Research Letters"} MACRO {ga} {"Geophysica"} MACRO {gs} {"Geophysics"} MACRO {ieeetap} {"IEEE Transactions on Antennas and Propagation"} MACRO {ijawp} {"International Journal of Air and Water Pollution"} MACRO {ijc} {"International Journal of Climatology"} MACRO {ijrs} {"International Journal of Remote Sensing"} MACRO {jam} {"Journal of Applied Meteorology"} MACRO {jaot} {"Journal of Atmospheric and Oceanic Technology"} MACRO {jatp} {"Journal of Atmospheric and Terrestrial Physics"} MACRO {jce} {"Journal of Climate"} MACRO {jcam} {"Journal of Climate and Applied Meteorology"} MACRO {jcm} {"Journal of Climate Meteorology"} MACRO {jcy} {"journal of Climatology"} MACRO {jgr} {"Journal of Geophysical Research"} MACRO {jga} {"Journal of Glaciology"} MACRO {jh} {"Journal of Hydrology"} MACRO {jmr} {"Journal of Marine Research"} MACRO {jmrj} {"Journal of Meteorological Research, Japan"} MACRO {jm} {"Journal of Meteorology"} MACRO {jpo} {"Journal of Physical Oceanography"} MACRO {jra} {"Journal de Recherches Atmospheriques"} MACRO {jaes} {"Journal of the Aeronautical Sciences"} MACRO {japca} {"Journal of the Air Pollution Control Association"} MACRO {jas} {"Journal of the Atmospheric Sciences"} MACRO {jmts} {"Journal of the Marine Technology Society"} MACRO {jmsj} {"Journal of Meteorological Society of Japan"} MACRO {josj} {"Journal of the Oceanographical Society of Japan"} MACRO {jwm} {"Journal of Weather Modification"} MACRO {lao} {"Limnology and Oceanography"} MACRO {mwl} {"Mariners Weather Log"} MACRO {mau} {"Mausam"} MACRO {meteor} {"``Meteor'' Forschungsergebnisse"} MACRO {map} {"Meteorology and Atmospheric Physics"} MACRO {metmag} {"Meteorological Magazine"} MACRO {metmon} {"Meteorological Monographs"} MACRO {metrun} {"Meteorologische Rundschau"} MACRO {metzeit} {"Meteorologische Zeitschrift"} MACRO {metgid} {"Meteorologiya i Gidrologiya"} MACRO {mwr} {"Monthly Weather Review"} MACRO {nwd} {"National Weather Digest"} MACRO {nzjmfr} {"New Zealand Journal of Marine and Freshwater Research"} MACRO {npg} {"Nonlinear Processes in Geophysics"} MACRO {om} {"Oceanography and Meteorology"} MACRO {ocac} {"Oceanologica Acta"} MACRO {oceanus} {"Oceanus"} MACRO {paleoc} {"Paleoceanography"} MACRO {pce} {"Physics and Chemistry of the Earth"} MACRO {pmg} {"Papers in Meteorology and Geophysics"} MACRO {ppom} {"Papers in Physical Oceanography and Meteorology"} MACRO {physzeit} {"Physikalische Zeitschrift"} MACRO {pps} {"Planetary and Space Science"} MACRO {pss} {"Planetary and Space Science"} MACRO {pag} {"Pure and Applied Geophysics"} MACRO {qjrms} {"Quarterly Journal of the Royal Meteorological Society"} MACRO {quatres} {"Quaternary Research"} MACRO {rsci} {"Radio Science"} MACRO {rse} {"Remote Sensing of the Environment"} MACRO {rgeo} {"Reviews of Geophysics"} MACRO {rgsp} {"Reviews of Geophysics and Space Physics"} MACRO {rdgeo} {"Revista de Geofisica"} MACRO {revmeta} {"Revista Meteorologica"} MACRO {sgp}{"Surveys in Geophysics"} MACRO {sp} {"Solar Phys."} MACRO {ssr} {"Space Science Review"} MACRO {tellus} {"Tellus"} MACRO {tac} {"Theoretical and Applied Climatology"} MACRO {tagu} {"Transactions, American Geophysical Union (EOS)"} MACRO {wrr} {"Water Resources Research"} MACRO {weather} {"Weather"} MACRO {wafc} {"Weather and Forecasting"} MACRO {ww} {"Weatherwise"} MACRO {wmob} {"World Meteorological Organization Bulletin"} MACRO {zeitmet} {"Zeitschrift f\^^b{u}r Meteorologie"} % End module: geojour.mbs %------------------------------------------------------------------- % Begin module: % \ProvidesFile{photjour.mbs}[1999/02/24 2.0b (PWD)] MACRO {appopt} {"Applied Optics"} MACRO {bell} {"Bell Systems Technical Journal"} MACRO {ell} {"Electronics Letters"} MACRO {jasp} {"Journal of Applied Spectroscopy"} MACRO {jqe} {"IEEE Journal of Quantum Electronics"} MACRO {jlwt} {"Journal of Lightwave Technology"} MACRO {jmo} {"Journal of Modern Optics"} MACRO {josa} {"Journal of the Optical Society of America"} MACRO {josaa} {"Journal of the Optical Society of America~A"} MACRO {josab} {"Journal of the Optical Society of America~B"} MACRO {jdp} {"Journal de Physique"} MACRO {oc} {"Optics Communications"} MACRO {ol} {"Optics Letters"} MACRO {phtl} {"IEEE Photonics Technology Letters"} MACRO {pspie} {"Proceedings of the Society for Photo-Optical Instruments Engineers"} MACRO {sse} {"Solid-State Electronics"} MACRO {sjot} {"Soviet Journal of Optical Technology"} MACRO {sjqe} {"Soviet Journal of Quantum Electronics"} MACRO {sleb} {"Soviet Physics--Lebedev Institute Reports"} MACRO {stph} {"Soviet Physics--Technical Physics"} MACRO {stphl} {"Soviet Technical Physics Letters"} MACRO {vr} {"Vision Research"} MACRO {zph} {"Zeitschrift f\^^b{u}r Physik"} MACRO {zphb} {"Zeitschrift f\^^b{u}r Physik~B"} MACRO {zphd} {"Zeitschrift f\^^b{u}r Physik~D"} MACRO {CLEO} {"Conf. on Lasers and Electro-Optics"} MACRO {ASSL} {"Advanced Solid State Lasers"} MACRO {OSA} {"Optical Society of America"} % End module: photjour.mbs %% Copyright 1994-2000 Patrick W Daly MACRO {acmcs} {"ACM Computing Surveys"} MACRO {acta} {"Acta Informatica"} MACRO {cacm} {"Communications of the ACM"} MACRO {ibmjrd} {"IBM Journal of Research and Development"} MACRO {ibmsj} {"IBM Systems Journal"} MACRO {ieeese} {"IEEE Transactions on Software Engineering"} MACRO {ieeetc} {"IEEE Transactions on Computers"} MACRO {ieeetcad} {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"} MACRO {ipl} {"Information Processing Letters"} MACRO {jacm} {"Journal of the ACM"} MACRO {jcss} {"Journal of Computer and System Sciences"} MACRO {scp} {"Science of Computer Programming"} MACRO {sicomp} {"SIAM Journal on Computing"} MACRO {tocs} {"ACM Transactions on Computer Systems"} MACRO {tods} {"ACM Transactions on Database Systems"} MACRO {tog} {"ACM Transactions on Graphics"} MACRO {toms} {"ACM Transactions on Mathematical Software"} MACRO {toois} {"ACM Transactions on Office Information Systems"} MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"} MACRO {tcs} {"Theoretical Computer Science"} FUNCTION {bibinfo.check} { swap$ duplicate$ missing$ { pop$ pop$ "" } { duplicate$ empty$ { swap$ pop$ } { swap$ pop$ } if$ } if$ } FUNCTION {bibinfo.warn} { swap$ duplicate$ missing$ { swap$ "missing " swap$ * " in " * cite$ * warning$ pop$ "" } { duplicate$ empty$ { swap$ "empty " swap$ * " in " * cite$ * warning$ } { swap$ pop$ } if$ } if$ } FUNCTION {format.eprint} { eprint duplicate$ empty$ 'skip$ { "\eprint" archive empty$ 'skip$ { "[" * archive * "]" * } if$ "{" * swap$ * "}" * } if$ } FUNCTION {format.url} { url empty$ { "" } { "\urlprefix\url{" url * "}" * } if$ } STRINGS { bibinfo} INTEGERS { nameptr namesleft numnames } FUNCTION {format.names} { 'bibinfo := duplicate$ empty$ 'skip$ { 's := "" 't := #1 'nameptr := s num.names$ 'numnames := numnames 'namesleft := { namesleft #0 > } { s nameptr nameptr #1 > { "{ff}" format.name$ duplicate$ empty$ 'skip$ { tie.or.space.prefix bib.fname.font swap$ * } if$ s nameptr "{vv~}{ll}" format.name$ bib.name.font * s nameptr "{jj}" format.name$ duplicate$ empty$ 'skip$ { bib.fname.font ", " swap$ * } if$ } { "{vv~}{ll}" format.name$ bib.name.font s nameptr "{ff}{, jj}" format.name$ duplicate$ empty$ 'skip$ { bib.fname.font ", " swap$ * } if$ } if$ * bibinfo bibinfo.check 't := nameptr #1 > { namesleft #1 > { ", " * t * } { "," * s nameptr "{ll}" format.name$ duplicate$ "others" = { 't := } { pop$ } if$ t "others" = { " " * bbl.etal emphasize * } { bbl.and space.word * t * } if$ } if$ } 't if$ nameptr #1 + 'nameptr := namesleft #1 - 'namesleft := } while$ } if$ } FUNCTION {format.names.ed} { 'bibinfo := duplicate$ empty$ 'skip$ { 's := "" 't := #1 'nameptr := s num.names$ 'numnames := numnames 'namesleft := { namesleft #0 > } { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ bibinfo bibinfo.check 't := nameptr #1 > { namesleft #1 > { ", " * t * } { "," * s nameptr "{ll}" format.name$ duplicate$ "others" = { 't := } { pop$ } if$ t "others" = { " " * bbl.etal emphasize * } { bbl.and space.word * t * } if$ } if$ } 't if$ nameptr #1 + 'nameptr := namesleft #1 - 'namesleft := } while$ } if$ } FUNCTION {format.authors} { author "author" format.names duplicate$ empty$ 'skip$ { collaboration "collaboration" bibinfo.check duplicate$ empty$ 'skip$ { " (" swap$ * ")" * } if$ * } if$ } FUNCTION {get.bbl.editor} { editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ } FUNCTION {format.editors} { editor "editor" format.names duplicate$ empty$ 'skip$ { " " * get.bbl.editor "(" swap$ * ")" * * } if$ } FUNCTION {select.language} { duplicate$ empty$ 'pop$ { language empty$ 'skip$ { "{\selectlanguage{" language * "}" * swap$ * "}" * } if$ } if$ } FUNCTION {format.note} { note empty$ { "" } { note #1 #1 substring$ duplicate$ "{" = 'skip$ { output.state mid.sentence = { "l" } { "u" } if$ change.case$ } if$ note #2 global.max$ substring$ * "note" bibinfo.check } if$ } FUNCTION {format.title} { title "title" bibinfo.check duplicate$ empty$ 'skip$ { "\enquote{" swap$ * add.period$ "}" * select.language } if$ } FUNCTION {output.bibitem} { newline$ "\bibitem[" label * "]{" * write$ cite$ write$ "}" write$ newline$ "" before.all 'output.state := } FUNCTION {n.dashify} { 't := "" { t empty$ not } { t #1 #1 substring$ "-" = { t #1 #2 substring$ "--" = not { "--" * t #2 global.max$ substring$ 't := } { { t #1 #1 substring$ "-" = } { "-" * t #2 global.max$ substring$ 't := } while$ } if$ } { t #1 #1 substring$ * t #2 global.max$ substring$ 't := } if$ } while$ } FUNCTION {word.in} { bbl.in capitalize " " * } FUNCTION {format.date} { month "month" bibinfo.check duplicate$ empty$ year "year" bibinfo.check duplicate$ empty$ { swap$ 'skip$ { "there's a month but no year in " cite$ * warning$ } if$ * } { swap$ 'skip$ { swap$ " " * swap$ } if$ * } if$ duplicate$ empty$ 'skip$ { before.all 'output.state := ", " swap$ * } if$ } FUNCTION{format.year} { year "year" bibinfo.check duplicate$ empty$ { "empty year in " cite$ * warning$ } { "(" swap$ * ")" * } if$ } FUNCTION {format.btitle} { title "title" bibinfo.check duplicate$ empty$ 'skip$ { emphasize select.language } if$ } FUNCTION {either.or.check} { empty$ 'pop$ { "can't use both " swap$ * " fields in " * cite$ * warning$ } if$ } FUNCTION {format.bvolume} { volume empty$ { "" } { bbl.volume volume tie.or.space.prefix "volume" bibinfo.check * * series "series" bibinfo.check duplicate$ empty$ 'pop$ { swap$ bbl.of space.word * swap$ emphasize * } if$ "volume and number" number either.or.check } if$ } FUNCTION {format.number.series} { volume empty$ { number empty$ { series field.or.null } { series empty$ { number "number" bibinfo.check } { output.state mid.sentence = { bbl.number } { bbl.number capitalize } if$ number tie.or.space.prefix "number" bibinfo.check * * bbl.in space.word * series "series" bibinfo.check * } if$ } if$ } { "" } if$ } FUNCTION {format.edition} { edition duplicate$ empty$ 'skip$ { output.state mid.sentence = { "l" } { "t" } if$ change.case$ "edition" bibinfo.check " " * bbl.edition * } if$ } INTEGERS { multiresult } FUNCTION {multi.page.check} { 't := #0 'multiresult := { multiresult not t empty$ not and } { t #1 #1 substring$ duplicate$ "-" = swap$ duplicate$ "," = swap$ "+" = or or { #1 'multiresult := } { t #2 global.max$ substring$ 't := } if$ } while$ multiresult } FUNCTION {format.pages} { pages duplicate$ empty$ 'skip$ { duplicate$ multi.page.check { n.dashify } { } if$ "pages" bibinfo.check } if$ } FUNCTION {format.journal.pages} { pages duplicate$ empty$ 'pop$ { swap$ duplicate$ empty$ { pop$ pop$ format.pages } { ", " * format.year * ", " * swap$ n.dashify "pages" bibinfo.check * } if$ } if$ } FUNCTION {format.journal.eid} { eid "eid" bibinfo.check duplicate$ empty$ 'skip$ { swap$ duplicate$ empty$ 'skip$ { ", " * } if$ swap$ numpages empty$ 'skip$ { bbl.eidpp numpages tie.or.space.prefix "numpages" bibinfo.check * * " (" swap$ * ")" * * } if$ } if$ * } FUNCTION {format.vol.num.pages} { volume field.or.null duplicate$ empty$ 'skip$ { "volume" bibinfo.check } if$ number "number" bibinfo.check duplicate$ empty$ 'skip$ { swap$ duplicate$ empty$ { "there's a number but no volume in " cite$ * warning$ } 'skip$ if$ swap$ ", " bbl.nr * number tie.or.space.prefix pop$ * swap$ * } if$ * } FUNCTION {format.chapter.pages} { chapter empty$ { "" } { type empty$ { bbl.chapter } { type "l" change.case$ "type" bibinfo.check } if$ chapter tie.or.space.prefix "chapter" bibinfo.check * * } if$ } FUNCTION {format.booktitle} { booktitle "booktitle" bibinfo.check emphasize } FUNCTION {format.in.ed.booktitle} { format.booktitle duplicate$ empty$ 'skip$ { editor "editor" format.names.ed duplicate$ empty$ 'pop$ { get.bbl.editor swap$ "," * " " * swap$ * "(" swap$ * ")" * swap$ " " * swap$ * } if$ word.in swap$ * } if$ } FUNCTION {empty.misc.check} { author empty$ title empty$ howpublished empty$ month empty$ year empty$ note empty$ and and and and and key empty$ not and { "all relevant fields are empty in " cite$ * warning$ } 'skip$ if$ } FUNCTION {format.thesis.type} { type duplicate$ empty$ 'pop$ { swap$ pop$ "t" change.case$ "type" bibinfo.check } if$ } FUNCTION {format.tr.number} { number "number" bibinfo.check type duplicate$ empty$ { pop$ bbl.techrep } 'skip$ if$ "type" bibinfo.check swap$ duplicate$ empty$ { pop$ "t" change.case$ } { tie.or.space.prefix * * } if$ } FUNCTION {format.article.crossref} { key duplicate$ empty$ { pop$ journal duplicate$ empty$ { "need key or journal for " cite$ * " to crossref " * crossref * warning$ } { "journal" bibinfo.check emphasize word.in swap$ * } if$ } { word.in swap$ * " " *} if$ " \cite{" * crossref * "}" * } FUNCTION {format.crossref.editor} { editor #1 "{vv~}{ll}" format.name$ "editor" bibinfo.check editor num.names$ duplicate$ #2 > { pop$ "editor" bibinfo.check " " * bbl.etal emphasize * } { #2 < 'skip$ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" = { "editor" bibinfo.check " " * bbl.etal emphasize * } { bbl.and space.word * editor #2 "{vv~}{ll}" format.name$ "editor" bibinfo.check * } if$ } if$ } if$ } FUNCTION {format.book.crossref} { volume duplicate$ empty$ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$ pop$ word.in } { bbl.volume capitalize swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word * } if$ editor empty$ editor field.or.null author field.or.null = or { key empty$ { series empty$ { "need editor, key, or series for " cite$ * " to crossref " * crossref * warning$ "" * } { series emphasize * } if$ } { key * } if$ } { format.crossref.editor * } if$ " \cite{" * crossref * "}" * } FUNCTION {format.incoll.inproc.crossref} { editor empty$ editor field.or.null author field.or.null = or { key empty$ { format.booktitle duplicate$ empty$ { "need editor, key, or booktitle for " cite$ * " to crossref " * crossref * warning$ } { word.in swap$ * } if$ } { word.in key * " " *} if$ } { word.in format.crossref.editor * " " *} if$ " \cite{" * crossref * "}" * } FUNCTION {format.org.or.pub} { 't := "" year empty$ { "empty year in " cite$ * warning$ } 'skip$ if$ address empty$ t empty$ and year empty$ and 'skip$ { t empty$ { address "address" bibinfo.check * } { t * address empty$ 'skip$ { ", " * address "address" bibinfo.check * } if$ } if$ year empty$ 'skip$ { t empty$ address empty$ and 'skip$ { ", " * } if$ year "year" bibinfo.check * } if$ } if$ } FUNCTION {format.publisher.address} { publisher "publisher" bibinfo.warn format.org.or.pub } FUNCTION {format.organization.address} { organization "organization" bibinfo.check format.org.or.pub } STRINGS {oldname} FUNCTION {name.or.dash} { 's := oldname empty$ { s 'oldname := s } { s oldname = { "---" } { s 'oldname := s } if$ } if$ } FUNCTION {article} { output.bibitem format.authors "author" output.check name.or.dash new.block format.title "title" output.check new.block crossref missing$ { journal "journal" bibinfo.check emphasize "journal" output.check format.vol.num.pages output } { format.article.crossref output.nonnull } if$ eid empty$ { format.journal.pages } { format.journal.eid } if$ new.block format.note output format.eprint output format.url output fin.entry } FUNCTION {book} { output.bibitem author empty$ { format.editors "author and editor" output.check add.blank name.or.dash } { format.authors output.nonnull name.or.dash crossref missing$ { "author and editor" editor either.or.check } 'skip$ if$ } if$ new.block format.btitle "title" output.check crossref missing$ { format.bvolume output new.block format.number.series output new.sentence format.publisher.address output } { new.block format.book.crossref output.nonnull format.date "year" output.check } if$ format.edition output new.block format.note output format.eprint output format.url output fin.entry } FUNCTION {booklet} { output.bibitem format.authors output name.or.dash new.block format.title "title" output.check new.block howpublished "howpublished" bibinfo.check output address "address" bibinfo.check output format.date output new.block format.note output format.eprint output format.url output fin.entry } FUNCTION {inbook} { output.bibitem author empty$ { format.editors "author and editor" output.check name.or.dash } { format.authors output.nonnull name.or.dash crossref missing$ { "author and editor" editor either.or.check } 'skip$ if$ } if$ new.block format.btitle "title" output.check crossref missing$ { format.publisher.address output format.bvolume output new.block format.number.series output new.sentence } { new.block format.book.crossref output.nonnull } if$ format.edition output add.blank format.pages "pages" output.check new.block format.note output format.eprint output format.url output fin.entry } FUNCTION {incollection} { output.bibitem format.authors "author" output.check name.or.dash new.block format.title "title" output.check new.block crossref missing$ { format.in.ed.booktitle "booktitle" output.check format.publisher.address output format.bvolume output format.number.series output new.sentence format.edition output } { format.incoll.inproc.crossref output.nonnull } if$ format.pages "pages" output.check new.block format.note output format.eprint output format.url output fin.entry } FUNCTION {inproceedings} { output.bibitem format.authors "author" output.check name.or.dash new.block format.title "title" output.check new.block crossref missing$ { format.in.ed.booktitle "booktitle" output.check new.sentence publisher empty$ { format.organization.address output } { organization "organization" bibinfo.check output format.publisher.address output } if$ format.bvolume output format.number.series output } { format.incoll.inproc.crossref output.nonnull } if$ format.pages "pages" output.check new.block format.note output format.eprint output format.url output fin.entry } FUNCTION {conference} { inproceedings } FUNCTION {manual} { output.bibitem author empty$ { organization "organization" bibinfo.check duplicate$ empty$ 'pop$ { output address "address" bibinfo.check output } if$ } { format.authors output.nonnull } if$ name.or.dash new.block format.btitle "title" output.check author empty$ { organization empty$ { address new.block.checka address "address" bibinfo.check output } 'skip$ if$ } { organization address new.block.checkb organization "organization" bibinfo.check output address "address" bibinfo.check output } if$ format.edition output format.date output new.block format.note output format.eprint output format.url output fin.entry } FUNCTION {mastersthesis} { output.bibitem format.authors "author" output.check name.or.dash new.block format.btitle "title" output.check new.block bbl.mthesis format.thesis.type output.nonnull school "school" bibinfo.warn output address "address" bibinfo.check output format.date "year" output.check new.block format.note output format.eprint output format.url output fin.entry } FUNCTION {misc} { output.bibitem format.authors output name.or.dash title howpublished new.block.checkb format.title output howpublished new.block.checka howpublished "howpublished" bibinfo.check output format.date output new.block format.note output format.eprint output format.url output fin.entry empty.misc.check } FUNCTION {phdthesis} { output.bibitem format.authors "author" output.check name.or.dash new.block format.btitle "title" output.check new.block bbl.phdthesis format.thesis.type output.nonnull school "school" bibinfo.warn output address "address" bibinfo.check output format.date "year" output.check new.block format.note output format.eprint output format.url output fin.entry } FUNCTION {proceedings} { output.bibitem editor empty$ { organization "organization" bibinfo.check output } { format.editors output.nonnull } if$ name.or.dash new.block format.btitle "title" output.check format.bvolume output format.number.series output editor empty$ { publisher empty$ 'skip$ { new.sentence format.publisher.address output } if$ } { publisher empty$ { new.sentence format.organization.address output } { new.sentence organization "organization" bibinfo.check output format.publisher.address output } if$ } if$ new.block format.note output format.eprint output format.url output fin.entry } FUNCTION {techreport} { output.bibitem format.authors "author" output.check name.or.dash new.block format.title "title" output.check new.block format.tr.number emphasize output.nonnull institution "institution" bibinfo.warn output address "address" bibinfo.check output format.date "year" output.check new.block format.note output format.eprint output format.url output fin.entry } FUNCTION {unpublished} { output.bibitem format.authors "author" output.check name.or.dash new.block format.title "title" output.check format.date output new.block format.note "note" output.check format.eprint output format.url output fin.entry } FUNCTION {default.type} { misc } READ FUNCTION {sortify} { purify$ "l" change.case$ } INTEGERS { len } FUNCTION {chop.word} { 's := 'len := s #1 len substring$ = { s len #1 + global.max$ substring$ } 's if$ } FUNCTION {sort.format.names} { 's := #1 'nameptr := "" s num.names$ 'numnames := numnames 'namesleft := { namesleft #0 > } { s nameptr "{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't := nameptr #1 > { " " * namesleft #1 = t "others" = and { "zzzzz" * } { t sortify * } if$ } { t sortify * } if$ nameptr #1 + 'nameptr := namesleft #1 - 'namesleft := } while$ } FUNCTION {sort.format.title} { 't := "A " #2 "An " #3 "The " #4 t chop.word chop.word chop.word sortify #1 global.max$ substring$ } FUNCTION {author.sort} { author empty$ { key empty$ { "to sort, need author or key in " cite$ * warning$ "" } { key sortify } if$ } { author sort.format.names } if$ } FUNCTION {author.editor.sort} { author empty$ { editor empty$ { key empty$ { "to sort, need author, editor, or key in " cite$ * warning$ "" } { key sortify } if$ } { editor sort.format.names } if$ } { author sort.format.names } if$ } FUNCTION {author.organization.sort} { author empty$ { organization empty$ { key empty$ { "to sort, need author, organization, or key in " cite$ * warning$ "" } { key sortify } if$ } { "The " #4 organization chop.word sortify } if$ } { author sort.format.names } if$ } FUNCTION {editor.organization.sort} { editor empty$ { organization empty$ { key empty$ { "to sort, need editor, organization, or key in " cite$ * warning$ "" } { key sortify } if$ } { "The " #4 organization chop.word sortify } if$ } { editor sort.format.names } if$ } FUNCTION {presort} { type$ "book" = type$ "inbook" = or 'author.editor.sort { type$ "proceedings" = 'editor.organization.sort { type$ "manual" = 'author.organization.sort 'author.sort if$ } if$ } if$ " " * year field.or.null sortify * " " * title field.or.null sort.format.title * #1 entry.max$ substring$ 'sort.key$ := } ITERATE {presort} SORT STRINGS { longest.label } INTEGERS { number.label longest.label.width } FUNCTION {initialize.longest.label} { "" 'longest.label := #1 'number.label := #0 'longest.label.width := } FUNCTION {longest.label.pass} { cite$ 'label := label width$ longest.label.width > { label 'longest.label := label width$ 'longest.label.width := } 'skip$ if$ } EXECUTE {initialize.longest.label} ITERATE {longest.label.pass} FUNCTION {begin.bib} { preamble$ empty$ 'skip$ { preamble$ write$ newline$ } if$ "\begin{thebibliography}{" longest.label * "}" * write$ newline$ "\ProvideTextCommand{\guillemotleft}{OT1}{%" write$ newline$ " \leavevmode\raise .27ex\hbox{$\scriptscriptstyle\ll$}}" write$ newline$ "\ProvideTextCommand{\guillemotright}{OT1}{%" write$ newline$ " \leavevmode\raise .27ex\hbox{$\scriptscriptstyle\gg$}}" write$ newline$ "\newcommand{\enquote}[1]{\guillemotleft#1\guillemotright}" write$ newline$ "\expandafter\ifx\csname url\endcsname\relax" write$ newline$ " \def\url#1{\texttt{#1}}\fi" write$ newline$ "\expandafter\ifx\csname urlprefix\endcsname\relax\def\urlprefix{URL }\fi" write$ newline$ "\providecommand{\selectlanguage}[1]{\relax}" write$ newline$ "\providecommand{\bibAnnoteFile}[1]{%" write$ newline$ " \IfFileExists{#1}{\begin{quotation}\noindent\textsc{Key:} #1\\" write$ newline$ " \textsc{Annotation:}\ \input{#1}\end{quotation}}{}}" write$ newline$ "\providecommand{\bibAnnote}[2]{%" write$ newline$ " \begin{quotation}\noindent\textsc{Key:} #1\\" write$ newline$ " \textsc{Annotation:}\ #2\end{quotation}}" write$ newline$ "\providecommand{\eprint}[2][]{\url{#2}}" write$ newline$ } EXECUTE {begin.bib} EXECUTE {init.state.consts} ITERATE {call.type$} FUNCTION {end.bib} { newline$ "\end{thebibliography}" write$ newline$ } EXECUTE {end.bib} %% End of customized bst file %% %% End of file `sousa4.bst'. \ No newline at end of file
diff --git a/biblio/bibtex/contrib/spain/spain.dbj b/biblio/bibtex/contrib/spain/spain.dbj
new file mode 100644
index 0000000000..58a8122fb9
--- /dev/null
+++ b/biblio/bibtex/contrib/spain/spain.dbj
@@ -0,0 +1 @@
+%% Driver file to produce iso690.bst from merlin.mbs %% Generated with makebst, version 3.2 (1999/02/24) %% Produced on 2000/01/17 at 19:51 %% \input docstrip \preamble ---------------------------------------- *** *** \endpreamble \postamble End of customized bst file \endpostamble \keepsilent \askforoverwritefalse \def\MBopts{\from{merlin.mbs}{% head,\MBopta} \from{spanish.mbs}{\MBopta} \from{merlin.mbs}{tail,\MBopta}} \def\MBopta{% exlang%: External language file ,cite%: Cite key % ,alfph,alf-f%: Alpha style, Jones90 % ,alph,alf-1%: Alpha style, Jon90 % ,alph%: Alpha style, Jon90 or JWB90 % ,ay%: Author-year % %(def) Numerical %-------------------- % ,html,htdes%: Hypertext with keys % ,html,htlist%: Hypertext list % ,html%: Hypertext %: (def) Normal LaTeX %-------------------- ,lang%: Add language field % %(def) No language field %-------------------- ,annote%: Annotations % %(def) No annotations %-------------------- % ,seq-yr%: Year ordered % ,seq-no%: Citation order %: (def) Alphabetical %-------------------- ,vonx%: Sort without von part % %(def) Sort on von part %-------------------- ,nm-revv1%: First name reversed, with full names % ,nm-rev1%: Only first name reversed, initials % ,nm-rvv%: Surname + spaceless initials % ,nm-rvx%: Surname + pure initials % ,nm-rv%: Surname + dotless initials % ,nm-rev%: Surname + initials % ,nm-init,ed-au%: Initials + surname % ,nm-revf%: Full, surname first % ,ed-au%: Full, surname last %-------------------- % ,ed-rev%: Editor names reversed %: (def) Editor names NOT reversed %-------------------- % ,aunm-sl%: Names separated by slash % ,aunm-semi%: Names separated by semi-colon %: (def) Author names separated by commas %-------------------- ,nmdash%: Repeated author/editor names replaced by dash % %(def) Author/editor names always present %-------------------- % ,nmlm%: Limited authors %: (def) All authors %-------------------- % ,nmft,nmft-def%: User defined author font % ,nmft,nmft-bf%: Bold authors % ,nmft,nmft-it%: Italic authors ,nmft,nmft-sc%: Small caps authors % %(def) Normal font for author names %-------------------- % ,fnm-def%: First names in user defined font ,fnm-rm%: First names in normal font % %(def) First names same font as surnames %-------------------- ,nmfted%: Editors incollection like authors % %(def) Editors incollection normal font %-------------------- ,nmand-rm%: `And' in normal font % %(def) `And' in author font %-------------------- % ,dt-end%: Date at very end % ,dt-jnl%: Date part of journal spec. % ,dt-beg%: Date after authors %: (def) Date at end %-------------------- % ,yr-blk%: Date preceded by space % ,yr-com%: Date preceded by comma % ,yr-per%: Date preceded by period % ,yr-col%: Date preceded by colon % ,yr-brk%: Date in brackets % ,yr-par%: Date in parentheses %: (def) Plain month and year %-------------------- % ,xmth%: Date is year only %: (def) Date is month and year %-------------------- % ,dtrev%: Date as year month %: (def) Date as month year %-------------------- % ,dtbf%: Date in bold face %: (def) Date in normal font %-------------------- ,tit-qq,qt-g,qx%: Title in guillemets % ,tit-qq,qx%: Title in double quotes % ,tit-qq,qt-s,qx%: Title in single quotes % ,tit-qq,qt-g%: Title and punctuation in guillemets % ,tit-qq%: Title and punctuation in double quotes % ,tit-qq,qt-s%: Title and punctuation in single quotes % ,tit-it%: Title italic % %(def) Title plain %-------------------- % %(def) Collection and proceedings titles not in quotes ,bt-qq%: Quote collection and proceedings titles %-------------------- ,atit-u%: Title style % %(def) Sentence style %-------------------- % ,jtit-x%: No article title %: (def) Article title present %-------------------- % ,jxper%: Dotless journal names %: (def) Periods in journal names %-------------------- % ,jttl-rm%: Journal title normal %: (def) Journal title italics %-------------------- % ,thtit-a%: Thesis title like article %: (def) Thesis titles like books %-------------------- ,trtit-b%: Tech. report title like books % %(def) Tech. report title like articles %-------------------- % ,trnum-it%: Tech. report and number italic %: (def) Tech. report and number plain %-------------------- % ,vol-2bf%: Volume and number bold % ,vol-bf%: Volume bold % ,vol-it%: Volume italic %: (def) Volume plain %-------------------- % ,vnum-x%: Journal vol, without number % ,vnum-b%: Journal vol number % ,vnum-h%: Journal vol, \# number ,vnum-nr%: Journal vol, no. num % ,vnum-cm%: Journal vol, num % ,vnum-sp%: Journal vol (num) % %(def) Journal vol(num) %-------------------- % ,volp-blk%: Volume with blank ,volp-com%: Volume with comma % ,volp-semi%: Volume with semi-colon % ,volp-sp%: Volume with colon and space % %(def) Volume with colon %-------------------- % ,jdt-pc%: Year, comma, pages % ,jdt-p%: Year with pages ,jdt-vs%: Journal vol (year) % ,jdt-v%: Journal vol(year) % %(def) Journal year like others %-------------------- % ,jpg-1%: Only start page number %: (def) Start and stop page numbers %-------------------- % ,pgsep-p%: Period inserted over 9999 % ,pgsep-s%: Thin space inserted over 9999 % ,pgsep-c%: Comma inserted over 9999 %: (def) No separators for large page numbers %-------------------- % ,jwdpg%: Include `page' in articles %: (def) Article pages numbers only %-------------------- ,pp-last%: Pages at end % %(def) Pages given mid text %-------------------- % ,jwdvol%: Include `volume' in articles %: (def) Article volume as number only %-------------------- ,num-xser%: Allows number without series % %(def) Standard BibTeX %-------------------- % ,numser%: Just before publisher %: (def) After chapter and pages %-------------------- % ,jnm-x%: Space after journal %: (def) Comma after journal %-------------------- % ,btit-rm,bt-rm%: Book title plain %: (def) Book title italic %-------------------- ,bkpg-x%: Pages in book bare % ,bkpg-par%: Pages in book in parentheses % %(def) Pages in book plain %-------------------- % ,pg-bk%: For book: 345 pages %: (def) Total book pages not printed %-------------------- % ,add-pub%: Address: Publisher %: (def) Publisher, address %-------------------- % ,pub-date,pub-xpar,pub-xc%: Publisher and date, no parentheses, no comma % ,pub-date,pub-xpar%: Publisher and date without parentheses % ,pub-date,pub-xc%: Publisher and date in parentheses, no comma % ,pub-date%: Publisher and date in parentheses % ,pub-par%: Publisher in parentheses %: (def) Publisher as normal block %-------------------- % ,pre-edn%: Publisher after edition ,pre-pub%: Publisher before chapter, pages % %(def) Publisher after chapter, pages %-------------------- %: (def) No ISBN % ,isbn%: Include ISBN %-------------------- %: (def) No ISSN % ,issn%: Include ISSN %-------------------- % ,url,url-nl%: URL on new line % ,url,url-nt%: URL as note ,url,url-blk%: Include URL % %(def) No URL %-------------------- % ,edparc,bkedcap%: `Name, (Editor)' % ,edparc%: `Name, (editor)' % ,edpar,bkedcap%: `Name (Editor),' ,edpar%: `Name (editor),' % %(def) Word `editor' after name %-------------------- % ,edby-par,edbyy%: Booktitle (.., editor) % ,edby,edbyy%: Booktitle, .., editor % ,edby-parc,edbyx%: Booktitle, (editor..) % ,edby-par,edbyx%: Booktitle (editor..) ,edby,edbyw%: Booktitle, (editor) .. % ,edby,edbyx%: Booktitle, editor .. % ,edby-parc%: Booktitle, (edited by ..) % ,edby-par%: Booktitle (edited by ..) % ,edby%: Booktitle, edited by .. % %(def) .., editor, booktitle %-------------------- % ,edcap%: `(Editor,..)' or `(Edited by..)' %: (def) `(editor,..)' or `(edited by..)' %-------------------- % ,blk-tita%: Period after titles of articles % ,blk-tit%: Period after titles of articles, books, etc % ,blk-com,com-blank%: Blanks between blocks % ,blk-com,com-semi%: Semi-colon between blocks ,blk-com%: Comma between blocks % %(def) \newblock after blocks %-------------------- % ,blknt%: Notes preceded by period %: (def) Notes have regular punctuation %-------------------- ,au-col%: Author block with colon % %(def) Author block normal %-------------------- % ,in-x%: No word `in' % ,in-col%: Colon after `in' %: (def) Space after `in' %-------------------- % ,injnl%: Add `in' before journal name %: (def) No `in' before journal name %-------------------- % ,fin-bare%: No period at end %: (def) Period at very end %-------------------- ,spanish%: Spanish language ,pp%: `P\'agina' abbreviated % %(def) `P\'agina(s)' %-------------------- ,ed%: `Editor' abbreviated % %(def) `Editor(es)' %-------------------- ,abr%: Abbreviations % %(def) No abbreviations %-------------------- % ,ord%: Numerical editions % %(def) Write out editions ,xedn%: Editions as in database %-------------------- % ,jabr%: Abbreviated journal names %: (def) Full journal names %-------------------- % ,varand%: Use \BIBand % ,amper%: Use ampersand %: (def) Use word `and' %-------------------- ,and-com%: Comma even with 2 authors % ,and-xcom%: No comma before `and' % %(def) Comma before `and' %-------------------- % %(def) Two editors without comma ,and-com-ed%: Comma with 2 editors %-------------------- % ,xand%: No `and' %: (def) With `and' %-------------------- % ,etal-rm%: Roman et al % ,etal-it%: Italic et al %: (def) Plain et al %-------------------- % ,em-ul%: Underlining % ,em-x%: No italics ,em-it%: Use true italics % %(def) Use emphasis %-------------------- ,nfss%: NFSS % %(def) No NFSS %-------------------- ,{% }} \generate{\file{iso690.bst}{\MBopts}} \endbatchfile \ No newline at end of file
diff --git a/biblio/bibtex/contrib/swebib/README b/biblio/bibtex/contrib/swebib/README
new file mode 100644
index 0000000000..187560ff88
--- /dev/null
+++ b/biblio/bibtex/contrib/swebib/README
@@ -0,0 +1,4 @@
+The files swe*.bst are Swedish versions of the standard bibliography
+styles, and of the style plainnat. The styles should be funtionally
+equivalent to the corresponding original styles, apart from the
+Swedish translations. The styles do not implement Swedish collation.
diff --git a/biblio/bibtex/contrib/swebib/sweabbrv.bst b/biblio/bibtex/contrib/swebib/sweabbrv.bst
new file mode 100644
index 0000000000..a700ab7752
--- /dev/null
+++ b/biblio/bibtex/contrib/swebib/sweabbrv.bst
@@ -0,0 +1,1097 @@
+%% sweabbrv.bst (Swedish version of BibTeX standard bibliography style `abbrv')
+%% Copyright 2003 Lars Engebretsen
+%
+% This program may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.2
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.2 or later is part of all distributions of LaTeX
+% version 1999/12/01 or later.
+%
+% This program consists of the files sweabbrv.bst, swealpha.bst,
+% sweplain.bst, sweplnat.bst, and sweunsrt.bst
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { t "others" =
+ { " m.fl." * }
+ { " och " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", red." * }
+ { ", red." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "band" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " av " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "nummer" }
+ { "Nummer" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " i " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " utg." * }
+ { edition "t" change.case$ " utg." * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "ss" pages n.dashify tie.or.space.connect }
+ { "s" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "kapitel" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "I: " booktitle emphasize * }
+ { "I: " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Teknisk rapport" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "I: {\em " journal * "\/}" * }
+ if$
+ }
+ { "I: " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " m.fl." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " m.fl." * }
+ { " och " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "I: "
+ }
+ { "Band" volume tie.or.space.connect
+ " av " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "I: {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "I: " key * }
+ if$
+ }
+ { "I: " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Examensarbete" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "Doktorsavhandling" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"jan."}
+
+MACRO {feb} {"febr."}
+
+MACRO {mar} {"mars"}
+
+MACRO {apr} {"april"}
+
+MACRO {may} {"maj"}
+
+MACRO {jun} {"juni"}
+
+MACRO {jul} {"juli"}
+
+MACRO {aug} {"aug."}
+
+MACRO {sep} {"sept."}
+
+MACRO {oct} {"okt."}
+
+MACRO {nov} {"nov."}
+
+MACRO {dec} {"dec."}
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Programming"}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Gr."}
+
+MACRO {toms} {"ACM Trans. Math. Softw."}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/swebib/swealpha.bst b/biblio/bibtex/contrib/swebib/swealpha.bst
new file mode 100644
index 0000000000..bf42b0794e
--- /dev/null
+++ b/biblio/bibtex/contrib/swebib/swealpha.bst
@@ -0,0 +1,1257 @@
+%% swealpha.bst (Swedish version of BibTeX standard bibliography style `alpha')
+%% Copyright 2003 Lars Engebretsen
+%
+% This program may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.2
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.2 or later is part of all distributions of LaTeX
+% version 1999/12/01 or later.
+%
+% This program consists of the files sweabbrv.bst, swealpha.bst,
+% sweplain.bst, sweplnat.bst, and sweunsrt.bst
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { t "others" =
+ { " m.fl." * }
+ { " och " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", redakt\" * quote$ * "orer" * }
+ { ", redakt\" * quote$ * "or" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "band" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " av " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "nummer" }
+ { "Nummer" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " i " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " utg\aa van" * }
+ { edition "t" change.case$ " utg\aa van" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "ss" pages n.dashify tie.or.space.connect }
+ { "s" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "kapitel" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "I: " booktitle emphasize * }
+ { "I: " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Teknisk rapport" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "I: {\em " journal * "\/}" * }
+ if$
+ }
+ { "I: " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " m.fl." * }
+ { " och " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "I: "
+ }
+ { "Band" volume tie.or.space.connect
+ " av " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "I: {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "I: " key * }
+ if$
+ }
+ { "I: " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Examensarbete" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "Doktorsavhandling" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"januari"}
+
+MACRO {feb} {"februari"}
+
+MACRO {mar} {"mars"}
+
+MACRO {apr} {"april"}
+
+MACRO {may} {"maj"}
+
+MACRO {jun} {"juni"}
+
+MACRO {jul} {"juli"}
+
+MACRO {aug} {"augusti"}
+
+MACRO {sep} {"september"}
+
+MACRO {oct} {"oktober"}
+
+MACRO {nov} {"november"}
+
+MACRO {dec} {"december"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ year field.or.null purify$ #-1 #2 substring$
+ *
+ 'label :=
+ year field.or.null purify$ #-1 #4 substring$
+ *
+ sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{ et.al.char.used
+ { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+ 'skip$
+ if$
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/swebib/sweplain.bst b/biblio/bibtex/contrib/swebib/sweplain.bst
new file mode 100644
index 0000000000..575a1564d8
--- /dev/null
+++ b/biblio/bibtex/contrib/swebib/sweplain.bst
@@ -0,0 +1,1097 @@
+%% sweplain.bst (Swedish version of BibTeX standard bibliography style `plain')
+%% Copyright 2003 Lars Engebretsen
+%
+% This program may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.2
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.2 or later is part of all distributions of LaTeX
+% version 1999/12/01 or later.
+%
+% This program consists of the files sweabbrv.bst, swealpha.bst,
+% sweplain.bst, sweplnat.bst, and sweunsrt.bst
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { t "others" =
+ { " m.fl." * }
+ { " och " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", redakt\" * quote$ * "orer" * }
+ { ", redakt\" * quote$ * "or" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "band" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " av " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "nummer" }
+ { "Nummer" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " i " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " utg\aa van" * }
+ { edition "t" change.case$ " utg\aa van" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "ss" pages n.dashify tie.or.space.connect }
+ { "s" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "kapitel" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "I: " booktitle emphasize * }
+ { "I: " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Teknisk rapport" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "I: {\em " journal * "\/}" * }
+ if$
+ }
+ { "I: " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " m.fl." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " m.fl." * }
+ { " och " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "I: "
+ }
+ { "Band" volume tie.or.space.connect
+ " av " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "I: {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "I: " key * }
+ if$
+ }
+ { "I: " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Examensarbete" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "Doktorsavhandling" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"januari"}
+
+MACRO {feb} {"februari"}
+
+MACRO {mar} {"mars"}
+
+MACRO {apr} {"april"}
+
+MACRO {may} {"maj"}
+
+MACRO {jun} {"juni"}
+
+MACRO {jul} {"juli"}
+
+MACRO {aug} {"augusti"}
+
+MACRO {sep} {"september"}
+
+MACRO {oct} {"oktober"}
+
+MACRO {nov} {"november"}
+
+MACRO {dec} {"december"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/swebib/sweplnat.bst b/biblio/bibtex/contrib/swebib/sweplnat.bst
new file mode 100644
index 0000000000..1631024fdc
--- /dev/null
+++ b/biblio/bibtex/contrib/swebib/sweplnat.bst
@@ -0,0 +1,1336 @@
+%% sweplnat.bst (Swedish version of BibTeX bibliography style `plainnat')
+%% Copyright 2004 Lars Engebretsen
+%
+% This program may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.2
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.2 or later is part of all distributions of LaTeX
+% version 1999/12/01 or later.
+%
+% This program consists of the files sweabbrv.bst, swealpha.bst,
+% sweplain.bst, sweplnat.bst, and sweunsrt.bst
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ isbn
+ issn
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ url
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{~jj}{, ff}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " m.fl." * }
+ { " och " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", redakt\" * quote$ * "orer" * }
+ { ", redakt\" * quote$ * "or" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.isbn}
+{ isbn empty$
+ { "" }
+ { new.block "ISBN " isbn * }
+ if$
+}
+
+FUNCTION {format.issn}
+{ issn empty$
+ { "" }
+ { new.block "ISSN " issn * }
+ if$
+}
+
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { new.block "URL \url{" url * "}" * }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {format.full.names}
+{'s :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " m.fl." * }
+ { " och " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.full}
+{ author empty$
+ { editor empty$
+ { "" }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.full}
+{ author empty$
+ { "" }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.full}
+{ editor empty$
+ { "" }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.full
+ { type$ "proceedings" =
+ 'editor.full
+ 'author.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ ")" make.full.names duplicate$ short.list =
+ { pop$ }
+ { * }
+ if$
+ "]{" * write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year duplicate$ empty$
+ { "empty year in " cite$ * warning$
+ pop$ "" }
+ 'skip$
+ if$
+ month empty$
+ 'skip$
+ { month
+ " " * swap$ *
+ }
+ if$
+ extra.label *
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "band" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " av " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "nummer" }
+ { "Nummer" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " i " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " utg\aa van" * }
+ { edition "t" change.case$ " utg\aa van" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "ss" pages n.dashify tie.or.space.connect }
+ { "s" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "\penalty0 (" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":\penalty0 " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "kapitel" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "I: " booktitle emphasize * }
+ { "I: " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Teknisk rapport" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "I: {\em " journal * "\/}" * }
+ if$
+ }
+ { "I: " key * }
+ if$
+ " \citep{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "I: "
+ }
+ { "Band" volume tie.or.space.connect
+ " av " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ 'skip$
+ if$
+ ", \citet{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "I: {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "I: " key * }
+ if$
+ }
+ { "I: " }
+ if$
+ " \citet{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.issn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ format.isbn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ format.isbn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ format.isbn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.isbn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.isbn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ new.block
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+ format.date output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ "Examensarbete" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ format.issn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "Doktorsavhandling" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ format.isbn output
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ format.url output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.title "title" output.check
+ format.url output
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"januari"}
+
+MACRO {feb} {"februari"}
+
+MACRO {mar} {"mars"}
+
+MACRO {apr} {"april"}
+
+MACRO {may} {"maj"}
+
+MACRO {jun} {"juni"}
+
+MACRO {jul} {"juli"}
+
+MACRO {aug} {"augusti"}
+
+MACRO {sep} {"september"}
+
+MACRO {oct} {"oktober"}
+
+MACRO {nov} {"november"}
+
+MACRO {dec} {"december"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " m.fl." * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " m.fl." * }
+ { " och " * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "m fl" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num number.label }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {bib.sort.order}
+{ sort.label 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
+ write$ newline$
+ "\expandafter\ifx\csname natexlab\endcsname\relax\def\natexlab#1{#1}\fi"
+ write$ newline$
+ "\expandafter\ifx\csname url\endcsname\relax" write$ newline$
+ " \def\url#1{{\tt #1}}\fi" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/swebib/sweunsrt.bst b/biblio/bibtex/contrib/swebib/sweunsrt.bst
new file mode 100644
index 0000000000..c4a86087d1
--- /dev/null
+++ b/biblio/bibtex/contrib/swebib/sweunsrt.bst
@@ -0,0 +1,952 @@
+%% sweunsrt.bst (Swedish version of BibTeX standard bibliography style `unsrt')
+%% Adapted by Jakob Knudsen from sweplain.bst by Lars Engebretsen,
+%% Copyright 2000
+%
+% This program may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.2
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.2 or later is part of all distributions of LaTeX
+% version 1999/12/01 or later.
+%
+% This program consists of the files sweabbrv.bst, swealpha.bst,
+% sweplain.bst, sweplnat.bst, and sweunsrt.bst
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { t "others" =
+ { " m.fl." * }
+ { " och " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", redakt\" * quote$ * "orer" * }
+ { ", redakt\" * quote$ * "or" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "band" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " av " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "nummer" }
+ { "Nummer" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " i " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " utg\aa van" * }
+ { edition "t" change.case$ " utg\aa van" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "ss" pages n.dashify tie.or.space.connect }
+ { "s" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "kapitel" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "I: " booktitle emphasize * }
+ { "I: " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Teknisk rapport" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "I: {\em " journal * "\/}" * }
+ if$
+ }
+ { "I: " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " m.fl." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " m.fl." * }
+ { " och " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "I: "
+ }
+ { "Band" volume tie.or.space.connect
+ " av " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "I: {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "I: " key * }
+ if$
+ }
+ { "I: " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Examensarbete" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "Doktorsavhandling" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"januari"}
+
+MACRO {feb} {"februari"}
+
+MACRO {mar} {"mars"}
+
+MACRO {apr} {"april"}
+
+MACRO {may} {"maj"}
+
+MACRO {jun} {"juni"}
+
+MACRO {jul} {"juli"}
+
+MACRO {aug} {"augusti"}
+
+MACRO {sep} {"september"}
+
+MACRO {oct} {"oktober"}
+
+MACRO {nov} {"november"}
+
+MACRO {dec} {"december"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/test/test-aaai-named.ltx b/biblio/bibtex/contrib/test/test-aaai-named.ltx
new file mode 100644
index 0000000000..56653f3bc7
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-aaai-named.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[authordate1-4]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {aaai-named}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {aaai-named}}}{Bibliography Style: {\tt {aaai-named}}}
+
+\begin{document}
+
+ \bibliographystyle{aaai-named}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-abbrv.ltx b/biblio/bibtex/contrib/test/test-abbrv.ltx
new file mode 100644
index 0000000000..1f2fa0f290
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-abbrv.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {abbrv}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {abbrv}}}{Bibliography Style: {\tt {abbrv}}}
+
+\begin{document}
+
+ \bibliographystyle{abbrv}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-abstract.ltx b/biblio/bibtex/contrib/test/test-abstract.ltx
new file mode 100644
index 0000000000..54bfd2f70f
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-abstract.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {abstract}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {abstract}}}{Bibliography Style: {\tt {abstract}}}
+
+\begin{document}
+
+ \bibliographystyle{abstract}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-acm.ltx b/biblio/bibtex/contrib/test/test-acm.ltx
new file mode 100644
index 0000000000..1144004417
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-acm.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {acm}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {acm}}}{Bibliography Style: {\tt {acm}}}
+
+\begin{document}
+
+ \bibliographystyle{acm}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-agsm.ltx b/biblio/bibtex/contrib/test/test-agsm.ltx
new file mode 100644
index 0000000000..377b27e5cf
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-agsm.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[harvard]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {agsm}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {agsm}}}{Bibliography Style: {\tt {agsm}}}
+
+\begin{document}
+
+ \bibliographystyle{agsm}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-alpha.ltx b/biblio/bibtex/contrib/test/test-alpha.ltx
new file mode 100644
index 0000000000..368f1bfd8d
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-alpha.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {alpha}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {alpha}}}{Bibliography Style: {\tt {alpha}}}
+
+\begin{document}
+
+ \bibliographystyle{alpha}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-amsalpha.ltx b/biblio/bibtex/contrib/test/test-amsalpha.ltx
new file mode 100644
index 0000000000..9a7596d1bd
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-amsalpha.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {amsalpha}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {amsalpha}}}{Bibliography Style: {\tt {amsalpha}}}
+
+\begin{document}
+
+ \bibliographystyle{amsalpha}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-amsplain.ltx b/biblio/bibtex/contrib/test/test-amsplain.ltx
new file mode 100644
index 0000000000..7bd890be8b
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-amsplain.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {amsplain}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {amsplain}}}{Bibliography Style: {\tt {amsplain}}}
+
+\begin{document}
+
+ \bibliographystyle{amsplain}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-annotate.ltx b/biblio/bibtex/contrib/test/test-annotate.ltx
new file mode 100644
index 0000000000..b3aaba026a
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-annotate.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {annotate}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {annotate}}}{Bibliography Style: {\tt {annotate}}}
+
+\begin{document}
+
+ \bibliographystyle{annotate}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-annotation.ltx b/biblio/bibtex/contrib/test/test-annotation.ltx
new file mode 100644
index 0000000000..9672f49644
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-annotation.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {annotation}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {annotation}}}{Bibliography Style: {\tt {annotation}}}
+
+\begin{document}
+
+ \bibliographystyle{annotation}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-apa.ltx b/biblio/bibtex/contrib/test/test-apa.ltx
new file mode 100644
index 0000000000..4a2e479c13
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-apa.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[astron]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {apa}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {apa}}}{Bibliography Style: {\tt {apa}}}
+
+\begin{document}
+
+ \bibliographystyle{apa}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-apalike.ltx b/biblio/bibtex/contrib/test/test-apalike.ltx
new file mode 100644
index 0000000000..022c011817
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-apalike.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {apalike}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {apalike}}}{Bibliography Style: {\tt {apalike}}}
+
+\begin{document}
+
+ \bibliographystyle{apalike}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-apalike2.ltx b/biblio/bibtex/contrib/test/test-apalike2.ltx
new file mode 100644
index 0000000000..9c1e4133b1
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-apalike2.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {apalike2}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {apalike2}}}{Bibliography Style: {\tt {apalike2}}}
+
+\begin{document}
+
+ \bibliographystyle{apalike2}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-astron.ltx b/biblio/bibtex/contrib/test/test-astron.ltx
new file mode 100644
index 0000000000..7d42442c77
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-astron.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[astron]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {astron}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {astron}}}{Bibliography Style: {\tt {astron}}}
+
+\begin{document}
+
+ \bibliographystyle{astron}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-authordate1.ltx b/biblio/bibtex/contrib/test/test-authordate1.ltx
new file mode 100644
index 0000000000..1c1569331f
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-authordate1.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[authordate1-4]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {authordate1}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {authordate1}}}{Bibliography Style: {\tt {authordate1}}}
+
+\begin{document}
+
+ \bibliographystyle{authordate1}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-authordate2.ltx b/biblio/bibtex/contrib/test/test-authordate2.ltx
new file mode 100644
index 0000000000..30e670eaee
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-authordate2.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[authordate1-4]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {authordate2}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {authordate2}}}{Bibliography Style: {\tt {authordate2}}}
+
+\begin{document}
+
+ \bibliographystyle{authordate2}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-authordate3.ltx b/biblio/bibtex/contrib/test/test-authordate3.ltx
new file mode 100644
index 0000000000..e7ef5ae5e8
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-authordate3.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[authordate1-4]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {authordate3}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {authordate3}}}{Bibliography Style: {\tt {authordate3}}}
+
+\begin{document}
+
+ \bibliographystyle{authordate3}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-authordate4.ltx b/biblio/bibtex/contrib/test/test-authordate4.ltx
new file mode 100644
index 0000000000..0f786d759f
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-authordate4.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[authordate1-4]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {authordate4}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {authordate4}}}{Bibliography Style: {\tt {authordate4}}}
+
+\begin{document}
+
+ \bibliographystyle{authordate4}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-bbs.ltx b/biblio/bibtex/contrib/test/test-bbs.ltx
new file mode 100644
index 0000000000..a1dc0245b2
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-bbs.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[astron]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {bbs}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {bbs}}}{Bibliography Style: {\tt {bbs}}}
+
+\begin{document}
+
+ \bibliographystyle{bbs}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-cbe.ltx b/biblio/bibtex/contrib/test/test-cbe.ltx
new file mode 100644
index 0000000000..9d15aec3b9
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-cbe.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[astron]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {cbe}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {cbe}}}{Bibliography Style: {\tt {cbe}}}
+
+\begin{document}
+
+ \bibliographystyle{cbe}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-cell.ltx b/biblio/bibtex/contrib/test/test-cell.ltx
new file mode 100644
index 0000000000..9b0c82caba
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-cell.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {cell}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {cell}}}{Bibliography Style: {\tt {cell}}}
+
+\begin{document}
+
+ \bibliographystyle{cell}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-dcu.ltx b/biblio/bibtex/contrib/test/test-dcu.ltx
new file mode 100644
index 0000000000..4b09802f3f
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-dcu.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[harvard]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {dcu}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {dcu}}}{Bibliography Style: {\tt {dcu}}}
+
+\begin{document}
+
+ \bibliographystyle{dcu}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-humanbio.ltx b/biblio/bibtex/contrib/test/test-humanbio.ltx
new file mode 100644
index 0000000000..dfff47a77a
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-humanbio.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[astron]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {humanbio}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {humanbio}}}{Bibliography Style: {\tt {humanbio}}}
+
+\begin{document}
+
+ \bibliographystyle{humanbio}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-humannat.ltx b/biblio/bibtex/contrib/test/test-humannat.ltx
new file mode 100644
index 0000000000..7385eba6a6
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-humannat.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[astron]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {humannat}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {humannat}}}{Bibliography Style: {\tt {humannat}}}
+
+\begin{document}
+
+ \bibliographystyle{humannat}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-ieeetr.ltx b/biblio/bibtex/contrib/test/test-ieeetr.ltx
new file mode 100644
index 0000000000..7132693ec4
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-ieeetr.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {ieeetr}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {ieeetr}}}{Bibliography Style: {\tt {ieeetr}}}
+
+\begin{document}
+
+ \bibliographystyle{ieeetr}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-is-abbrv.ltx b/biblio/bibtex/contrib/test/test-is-abbrv.ltx
new file mode 100644
index 0000000000..23a7ba845d
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-is-abbrv.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {is-abbrv}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {is-abbrv}}}{Bibliography Style: {\tt {is-abbrv}}}
+
+\begin{document}
+
+ \bibliographystyle{is-abbrv}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-is-alpha.ltx b/biblio/bibtex/contrib/test/test-is-alpha.ltx
new file mode 100644
index 0000000000..c323f0e432
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-is-alpha.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {is-alpha}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {is-alpha}}}{Bibliography Style: {\tt {is-alpha}}}
+
+\begin{document}
+
+ \bibliographystyle{is-alpha}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-is-plain.ltx b/biblio/bibtex/contrib/test/test-is-plain.ltx
new file mode 100644
index 0000000000..1dc522a1ee
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-is-plain.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {is-plain}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {is-plain}}}{Bibliography Style: {\tt {is-plain}}}
+
+\begin{document}
+
+ \bibliographystyle{is-plain}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-is-unsrt.ltx b/biblio/bibtex/contrib/test/test-is-unsrt.ltx
new file mode 100644
index 0000000000..4b259a271b
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-is-unsrt.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {is-unsrt}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {is-unsrt}}}{Bibliography Style: {\tt {is-unsrt}}}
+
+\begin{document}
+
+ \bibliographystyle{is-unsrt}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-jbact.ltx b/biblio/bibtex/contrib/test/test-jbact.ltx
new file mode 100644
index 0000000000..c0521dc9ef
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-jbact.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {jbact}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {jbact}}}{Bibliography Style: {\tt {jbact}}}
+
+\begin{document}
+
+ \bibliographystyle{jbact}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-jmb.ltx b/biblio/bibtex/contrib/test/test-jmb.ltx
new file mode 100644
index 0000000000..7c0d564b6e
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-jmb.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[jmb]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {jmb}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {jmb}}}{Bibliography Style: {\tt {jmb}}}
+
+\begin{document}
+
+ \bibliographystyle{jmb}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-jtb.ltx b/biblio/bibtex/contrib/test/test-jtb.ltx
new file mode 100644
index 0000000000..d84934c7ec
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-jtb.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[astron]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {jtb}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {jtb}}}{Bibliography Style: {\tt {jtb}}}
+
+\begin{document}
+
+ \bibliographystyle{jtb}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-kluwer.ltx b/biblio/bibtex/contrib/test/test-kluwer.ltx
new file mode 100644
index 0000000000..6ca3a38c94
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-kluwer.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[harvard]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {kluwer}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {kluwer}}}{Bibliography Style: {\tt {kluwer}}}
+
+\begin{document}
+
+ \bibliographystyle{kluwer}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-named.ltx b/biblio/bibtex/contrib/test/test-named.ltx
new file mode 100644
index 0000000000..422138e5e3
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-named.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[named]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {named}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {named}}}{Bibliography Style: {\tt {named}}}
+
+\begin{document}
+
+ \bibliographystyle{named}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-namunsrt.ltx b/biblio/bibtex/contrib/test/test-namunsrt.ltx
new file mode 100644
index 0000000000..bf25a86bf1
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-namunsrt.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {namunsrt}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {namunsrt}}}{Bibliography Style: {\tt {namunsrt}}}
+
+\begin{document}
+
+ \bibliographystyle{namunsrt}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-nar.ltx b/biblio/bibtex/contrib/test/test-nar.ltx
new file mode 100644
index 0000000000..d85b2b0adf
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-nar.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[nar]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {nar}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {nar}}}{Bibliography Style: {\tt {nar}}}
+
+\begin{document}
+
+ \bibliographystyle{nar}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-nature.ltx b/biblio/bibtex/contrib/test/test-nature.ltx
new file mode 100644
index 0000000000..2dd4681ca4
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-nature.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {nature}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {nature}}}{Bibliography Style: {\tt {nature}}}
+
+\begin{document}
+
+ \bibliographystyle{nature}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-newapa.ltx b/biblio/bibtex/contrib/test/test-newapa.ltx
new file mode 100644
index 0000000000..1adc91f93d
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-newapa.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[apalike,newapa]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {newapa}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {newapa}}}{Bibliography Style: {\tt {newapa}}}
+
+\begin{document}
+
+ \bibliographystyle{newapa}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-phaip.ltx b/biblio/bibtex/contrib/test/test-phaip.ltx
new file mode 100644
index 0000000000..1e76048f85
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-phaip.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {phaip}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {phaip}}}{Bibliography Style: {\tt {phaip}}}
+
+\begin{document}
+
+ \bibliographystyle{phaip}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-phapalik.ltx b/biblio/bibtex/contrib/test/test-phapalik.ltx
new file mode 100644
index 0000000000..f0c87fc34b
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-phapalik.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {phapalik}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {phapalik}}}{Bibliography Style: {\tt {phapalik}}}
+
+\begin{document}
+
+ \bibliographystyle{phapalik}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-phcpc.ltx b/biblio/bibtex/contrib/test/test-phcpc.ltx
new file mode 100644
index 0000000000..6e5f0da97e
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-phcpc.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {phcpc}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {phcpc}}}{Bibliography Style: {\tt {phcpc}}}
+
+\begin{document}
+
+ \bibliographystyle{phcpc}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-phiaea.ltx b/biblio/bibtex/contrib/test/test-phiaea.ltx
new file mode 100644
index 0000000000..1afeccb67f
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-phiaea.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {phiaea}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {phiaea}}}{Bibliography Style: {\tt {phiaea}}}
+
+\begin{document}
+
+ \bibliographystyle{phiaea}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-phjcp.ltx b/biblio/bibtex/contrib/test/test-phjcp.ltx
new file mode 100644
index 0000000000..c97115efc6
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-phjcp.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {phjcp}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {phjcp}}}{Bibliography Style: {\tt {phjcp}}}
+
+\begin{document}
+
+ \bibliographystyle{phjcp}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-phnf.ltx b/biblio/bibtex/contrib/test/test-phnf.ltx
new file mode 100644
index 0000000000..9e14991b3f
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-phnf.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {phnf}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {phnf}}}{Bibliography Style: {\tt {phnf}}}
+
+\begin{document}
+
+ \bibliographystyle{phnf}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-phnflet.ltx b/biblio/bibtex/contrib/test/test-phnflet.ltx
new file mode 100644
index 0000000000..3f4f57588e
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-phnflet.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {phnflet}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {phnflet}}}{Bibliography Style: {\tt {phnflet}}}
+
+\begin{document}
+
+ \bibliographystyle{phnflet}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-phpf.ltx b/biblio/bibtex/contrib/test/test-phpf.ltx
new file mode 100644
index 0000000000..6b74207147
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-phpf.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {phpf}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {phpf}}}{Bibliography Style: {\tt {phpf}}}
+
+\begin{document}
+
+ \bibliographystyle{phpf}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-phppcf.ltx b/biblio/bibtex/contrib/test/test-phppcf.ltx
new file mode 100644
index 0000000000..8eb6f8161e
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-phppcf.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {phppcf}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {phppcf}}}{Bibliography Style: {\tt {phppcf}}}
+
+\begin{document}
+
+ \bibliographystyle{phppcf}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-phreport.ltx b/biblio/bibtex/contrib/test/test-phreport.ltx
new file mode 100644
index 0000000000..809a6957c5
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-phreport.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {phreport}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {phreport}}}{Bibliography Style: {\tt {phreport}}}
+
+\begin{document}
+
+ \bibliographystyle{phreport}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-phrmp.ltx b/biblio/bibtex/contrib/test/test-phrmp.ltx
new file mode 100644
index 0000000000..8c21535a26
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-phrmp.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {phrmp}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {phrmp}}}{Bibliography Style: {\tt {phrmp}}}
+
+\begin{document}
+
+ \bibliographystyle{phrmp}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-plain.ltx b/biblio/bibtex/contrib/test/test-plain.ltx
new file mode 100644
index 0000000000..4d85f6e864
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-plain.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {plain}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {plain}}}{Bibliography Style: {\tt {plain}}}
+
+\begin{document}
+
+ \bibliographystyle{plain}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-plainyr.ltx b/biblio/bibtex/contrib/test/test-plainyr.ltx
new file mode 100644
index 0000000000..08367480bb
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-plainyr.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {plainyr}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {plainyr}}}{Bibliography Style: {\tt {plainyr}}}
+
+\begin{document}
+
+ \bibliographystyle{plainyr}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-siam.ltx b/biblio/bibtex/contrib/test/test-siam.ltx
new file mode 100644
index 0000000000..9cd67498b3
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-siam.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {siam}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {siam}}}{Bibliography Style: {\tt {siam}}}
+
+\begin{document}
+
+ \bibliographystyle{siam}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test-unsrt.ltx b/biblio/bibtex/contrib/test/test-unsrt.ltx
new file mode 100644
index 0000000000..0a85350c42
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test-unsrt.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {unsrt}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {unsrt}}}{Bibliography Style: {\tt {unsrt}}}
+
+\begin{document}
+
+ \bibliographystyle{unsrt}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/test/test.bib b/biblio/bibtex/contrib/test/test.bib
new file mode 100644
index 0000000000..d3b035bd43
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test.bib
@@ -0,0 +1,839 @@
+%%% ====================================================================
+%%% BibTeX-file{
+%%% author = "David Rhead",
+%%% version = "1.00",
+%%% date = "17 Feb 1990",
+%%% time = "17:00 GMT",
+%%% filename = "test.bib",
+%%% address = "Cripps Computing Centre,
+%%% University of Nottingham,
+%%% University Park,
+%%% Nottingham,
+%%% NG7 2RD,
+%%% United Kingdom",
+%%% telephone = "+44 602 484848 Ext 2670",
+%%% FAX = "+44 602 588138",
+%%% checksum = "05151 839 2908 25082",
+%%% email = "David_Rhead at uk.ac.nott.vme (JANET)",
+%%% codetable = "ISO/ASCII",
+%%% keywords = "bibliography, citation, references",
+%%% supported = "no",
+%%% docstring = "This BibTeX database file contains entries
+%%% designed for testing whether a BibTeX style
+%%% file lays references out as recommended by
+%%% certain authorities. (Note, however, that
+%%% the BS 1629 examples are from the 1976
+%%% edition. The file needs updating to use
+%%% examples from the 1989 edition instead.)
+%%%
+%%% The checksum field above contains a CRC-16
+%%% checksum as the first value, followed by the
+%%% equivalent of the standard UNIX wc (word
+%%% count) utility output of lines, words, and
+%%% characters. This is produced by Robert
+%%% Solovay's checksum utility.",
+%%% }
+%%% ====================================================================
+
+
+%% @COMMENT{Some standard works describing conventions for citations
+%% and bibliographies}
+
+@Techreport{bs-1629,
+ author = "BSI",
+ title = "Bibliographic References",
+ institution = "British Standards Institution",
+ year = "1976",
+ type = "BS",
+ number = "1629",
+}
+
+@Techreport{bs-5605,
+ author = "BSI",
+ title = "Citing Publications by Bibliographic References",
+ institution = "British Standards Institution",
+ year = "1978",
+ type = "BS",
+ number = "5606",
+}
+
+@Techreport{bs-6371,
+ author = "BSI",
+ title = "Citation of unpublished documents",
+ institution = "British Standards Institution",
+ year = "1983",
+ type = "BS",
+ number = "6371",
+}
+
+@Book{butcher-81,
+ title = "Copy-editing",
+ author = "Judith Butcher",
+ publisher = "Cambridge University Press",
+ year = "1981",
+ edition = "2nd",
+}
+
+@Book{chicago-82,
+ title = "The {C}hicago Manual of Style",
+ author = "`Chicago'",
+ year = "1982",
+ publisher = "University of Chicago Press",
+ edition = "13th",
+}
+
+%% @COMMENT{Some examples taken from the document describing BS 5605}
+
+@Article{howells-51,
+ author = "W. W. Howells",
+ title = "Factors of Human Physique",
+ journal = "American Journal of Physical Anthropology",
+ volume = "9",
+ pages = "159--192",
+ year = "1951",
+}
+
+@Article{howells-66-pop,
+ author = "W. W. Howells",
+ title = "Population Distances: Biological, Linguistic,
+ Geographical and Environmental",
+ journal = "Current Anthropology",
+ volume = "7",
+ pages = "531--540",
+ year = "1966",
+}
+
+@Article{howells-66-var,
+ author = "W. W. Howells",
+ title = "Variability in Family Lines vs. Population
+ Variability",
+ journal = "Annals of the {New York Academy of Sciences}",
+ volume = "134",
+ pages = "624--631",
+ year = "1966",
+}
+
+@Article{johnson-74,
+ author = "G. B. Johnson",
+ title = "Enzyme Polymorphism",
+ journal = "Science",
+ volume = "184",
+ pages = "28--37",
+ year = "1974",
+}
+
+@Article{johnson-howells,
+ author = "G. B. Johnson and W. W. Howells",
+ title = "Title title title title title title title title title
+ title",
+ journal = "Journal journal journal",
+ year = "1974",
+}
+
+@Article{johnson-etc,
+ author = "G. B. Johnson and W. W. Howells and A. N. Other",
+ title = "Title title title title title title title title title
+ title",
+ journal = "Journal journal journal",
+ year = "1976",
+}
+
+@Manual{anon-67,
+ author = "Anon.",
+ title = "Title title title title title title title title title
+ title",
+ organization = "Organization organization organization",
+ year = "1967",
+}
+
+@Article{aslin-49,
+ author = "E. J. Aslin",
+ title = "Photostat recording in library work",
+ journal = "Aslib Proceedings",
+ year = "1949",
+ volume = "1",
+ pages = "49--52",
+}
+
+@Article{fletcher-hopkins,
+ author = "W. M. Fletcher and F. G. Hopkins",
+ title = "Lactic Acid in Amphibian Muscle",
+ journal = "J. Physiol.",
+ year = "1907",
+ volume = "35",
+ pages = "247--309",
+}
+
+@Incollection{hanson-67,
+ author = "C. W. Hanson",
+ title = "Subject inquiries and literature searching",
+ booktitle = "Handbook of special librarianship and information
+ work",
+ editor = "W. Ashworth",
+ year = "1967",
+ edition = "3rd",
+ pages = "414--452",
+}
+
+@Inbook{wright-63,
+ author = "R. C. Wright",
+ title = "Report Literature",
+ booktitle = "Special Materials in the Library",
+ editor = "J. Burkett and T. S. Morgan",
+ year = "1963",
+ pages = "46--59",
+}
+
+@Book{BCM-59,
+ author = "{Association of British Chemical Manufacturers}",
+ title = "British chemicals and their manufacturers",
+ year = "1959",
+}
+
+@Inbook{feigl-58,
+ author = "F. Feigl",
+ title = "Spot Tests in Organic Analysis",
+ year = "1958",
+ publisher = "Publisher publisher",
+ edition = "5th",
+ chapter = "6",
+}
+
+%% @COMMENT{Some examples taken from document describing BS 1629}
+
+@Book{hoel-71-whole,
+ author = "Paul Gerhard Hoel",
+ title = "Elementary Statistics",
+ publisher = "Wiley",
+ year = "1971",
+ series = "Wiley series in probability and mathematical
+ statistics",
+ address = "New York, Chichester",
+ edition = "3rd",
+ note = "ISBN 0~471~40300",
+}
+
+@Inbook{hoel-71-portion,
+ author = "Paul Gerhard Hoel",
+ title = "Elementary Statistics",
+ publisher = "Wiley",
+ year = "1971",
+ series = "Wiley series in probability and mathematical
+ statistics",
+ address = "New York, Chichester",
+ edition = "3rd",
+ note = "ISBN 0~471~40300",
+ pages = "19--33",
+}
+
+@Book{singer-whole,
+ year = "1954--58",
+ editor = "Charles Joseph Singer and E. J. Holmyard and A. R.
+ Hall",
+ title = "A history of technology",
+ address = "London",
+ publisher = "Oxford University Press",
+ note = "5 vol.",
+}
+
+@Incollection{singer-portion-chapter,
+ title = "The late nineteenth century",
+ year = "1954--58",
+ editor = "Charles Joseph Singer and E. J. Holmyard and A. R.
+ Hall",
+ booktitle = "A history of technology",
+ address = "London",
+ publisher = "Oxford University Press",
+ type = "Vol.",
+ chapter = "5",
+}
+
+@Incollection{singer-portion-volume,
+ title = "The late nineteenth century",
+ year = "1954--58",
+ editor = "Charles Joseph Singer and E. J. Holmyard and A. R.
+ Hall",
+ booktitle = "A history of technology",
+ address = "London",
+ publisher = "Oxford University Press",
+ volume = "5",
+}
+
+@Manual{bs-2570-manual,
+ author = "BSI",
+ title = "Natural Fibre Twines",
+ organization = "British Standards Institution",
+ address = "London",
+ edition = "3rd",
+ year = "1973",
+ note = "BS 2570",
+}
+
+@Techreport{bs-2570-techreport,
+ author = "BSI",
+ title = "Natural Fibre Twines",
+ institution = "British Standards Institution",
+ address = "London",
+ year = "1973",
+ type = "BS",
+ number = "2570",
+ note = "3rd. edn.",
+}
+
+@Inbook{bs-2570-inbook,
+ author = "BSI",
+ title = "{BS} 2570: Natural Fibre Twines",
+ publisher = "British Standards Institution",
+ address = "London",
+ year = "1973",
+ edition = "3rd",
+ chapter = "5",
+ type = "{Table}",
+}
+
+@Techreport{ellis-walton,
+ author = "B. Ellis and A. K. Walton",
+ title = "A Bibliography on Optical Modulators",
+ institution = "Royal Aircraft Establishment",
+ year = "1971",
+ number = "RAE-TR-71009",
+}
+
+@Article{godfrey-59,
+ author = "G. Bernard Godfrey",
+ title = "Joints in Tubular Structures",
+ journal = "Struct. Eng.",
+ year = "1959",
+ volume = "37",
+ number = "4",
+ pages = "126--135",
+}
+
+@Incollection{ramsbottom-31,
+ author = "John Ramsbottom",
+ title = "Fungi Pathogenic to Man",
+ booktitle = "A System of Bacteriology in relation to Medicine",
+ publisher = "HMSO, for Medical Research Council",
+ year = "1931",
+ volume = "8",
+ pages = "11--70",
+ address = "London",
+}
+
+@Article{hanlon-72,
+ author = "Joseph Hanlon",
+ title = "Designing Buildings by Computer",
+ journal = "New Scientist",
+ year = "1972",
+ month = "31~" # aug,
+ pages = "429--432",
+}
+
+@Techreport{winget-67,
+ author = "{Winget Ltd.}",
+ title = "Detachable Bulldozer Attachment for Dumper Vehicles",
+ year = "1967",
+ type = "GB Patent Specification",
+ number = "1060631",
+ month = "8~" # mar,
+}
+
+@Article{bry-afflerbach,
+ author = "I. Bry and L. Afflerbach",
+ title = "In search of an organizing principle for behavioural
+ science literature",
+ journal = "Community Mental Health",
+ year = "1968",
+ volume = "4",
+ number = "1",
+ pages = "75--84",
+}
+
+@Incollection{ranganathan-51,
+ author = "S. R. Ranganthan",
+ title = "Colon classification and its approach to
+ documentation",
+ booktitle = "Bibliographic Organization",
+ editor = "Jesse H. Shera and Margaret E. Egan",
+ year = "1951",
+ pages = "94--105",
+}
+
+@Book{mccolvin-nodate,
+ author = "L. R. McColvin",
+ title = "Libraries in {Britain}",
+ publisher = "{Longmans Green, for the British Council}",
+ address = "London",
+}
+
+%% @COMMENT{Some examples taken from document describing BS 6371}
+
+@Unpublished{exchequer-34-39,
+ author = "Exchequer",
+ year = "1634--1639",
+ title = "Act books",
+ note = "Edinburgh, Scottish Record Office, E.4/5",
+}
+
+@Unpublished{traquair-38,
+ author = "{Earl of} Traquair",
+ year = "1638",
+ title = "Letter to {Marquess of Hamilton, 28 Aug.}",
+ note = "Lennoxlove (E.~Lothian), Muniments of Duke of
+ Hamilton and Brandon, C.1, no. 963",
+}
+
+@Unpublished{pym-24,
+ author = "J. Pym",
+ year = "1624",
+ title = "Diary",
+ note = "Northampton, Northamptonshire Record Office,
+ Finch-Hatton 50",
+}
+
+@Phdthesis{croft-78,
+ author = "W. B. Croft",
+ year = "1978",
+ title = "Organizing and searching large files of document
+ descriptions",
+ school = "Cambridge University",
+}
+
+%% @COMMENT{Some examples taken from Chapter 10 of "Copy-editing"
+%% by Judith Butcher}
+
+@Book{darcy-20-amaz,
+ author = "Firstname D'Arcy",
+ title = "Title title title title title title title title title
+ title",
+ publisher = "Publisher publisher publisher",
+ year = "1920",
+}
+
+@Book{darcy-20-again,
+ author = "Firstname D'Arcy",
+ title = "Title title title title title title title title title
+ title",
+ publisher = "Publisher publisher publisher",
+ year = "1920",
+}
+
+@Article{jones-n-h-r,
+ author = "Firstname Jones and Firstname Norman and Firstname
+ Hazel and Firstname Robinson",
+ title = "Title title title title title title title title title
+ title",
+ year = "1962",
+ journal = "Journal journal journal",
+}
+
+@Article{jones-s-r,
+ author = "Firstname Jones and Firstname Smith and Firstname
+ Robinson",
+ title = "Title title title title title title title title title
+ title",
+ year = "1962",
+ journal = "Journal journal journal",
+}
+
+@Article{jones-65,
+ author = "Firstname Jones",
+ title = "Title title title title title title title title title
+ title",
+ year = "1965",
+ journal = "Journal journal journal",
+}
+
+@Article{jones-69,
+ author = "Firstname Jones",
+ title = "Title title title title title title title title title
+ title",
+ year = "1969",
+ journal = "Journal journal journal",
+}
+
+@Article{jones-abrams,
+ author = "Firstname Jones and Firstname Abrams",
+ title = "Title title title title title title title title title
+ title",
+ year = "1968",
+ journal = "Journal journal journal",
+}
+
+@Article{jones-smith,
+ author = "Firstname Jones and Firstname Smith",
+ title = "Title title title title title title title title title
+ title",
+ year = "1965",
+ journal = "Journal journal journal",
+}
+
+@Article{jones-a-s,
+ author = "Firstname Jones and Firstname Abrams and Firstname
+ Smith",
+ title = "Title title title title title title title title title
+ title",
+ year = "1966",
+ journal = "Journal journal journal",
+}
+
+@Article{bloggs-60,
+ author = "A. J. Bloggs",
+ title = "Title title title title title title title title title
+ title",
+ journal = "Journal journal journal",
+ year = "1960",
+}
+
+@Article{bloggs-61,
+ author = "A. J. Bloggs",
+ title = "Title title title title title title title title title
+ title",
+ journal = "Journal journal journal",
+ year = "1961",
+}
+
+@Article{bloggs-jones,
+ author = "A. J. Bloggs and X. Y. Jones",
+ title = "Title title title title title title title title title
+ title",
+ journal = "Journal journal journal",
+ year = "1959",
+}
+
+@Article{bloggs-s-j,
+ author = "A. J. Bloggs and R. S. Smith and X. Y. Jones",
+ title = "Title title title title title title title title title
+ title",
+ journal = "Journal journal journal",
+ year = "1955",
+}
+
+@Article{brown-f-s,
+ author = "H. W. Brown and A. S. Forbes and S. D. Smith",
+ title = "Title title title title title title title title title
+ title",
+ journal = "Journal journal journal",
+ year = "1900",
+}
+
+@Incollection{eckstein-zuckerman,
+ author = "P. Eckstein and S. Zuckermann",
+ title = "Morphology of the Reproductive Tract",
+ booktitle = "Marshall's Physiology of Reproduction",
+ publisher = "Longman",
+ year = "1960",
+ editor = "A. S. Parkes",
+ volume = "1",
+ pages = "43--154",
+ address = "London",
+}
+
+@Article{heller-lederis,
+ author = "H. Heller and K. Lederis",
+ title = "Paper chromatography of small amounts of vasopressin
+ and oxytocin",
+ year = "1958",
+ journal = "Nature",
+ address = "London",
+ volume = "182",
+ pages = "1231--2",
+}
+
+@Book{wood-61,
+ author = "R. H. Wood",
+ title = "Plastic and Elastic Design of Slabs and Plates",
+ publisher = "Thames \& Hudson",
+ address = "London",
+ year = "1961",
+}
+
+%% @COMMENT{Some examples taken from Chapter 15 of the Chicago Manual of Style}
+
+@Book{pratt-75,
+ author = "Firstname Pratt",
+ title = "Title title title title title title title title title
+ title",
+ publisher = "Publisher publisher publisher",
+ year = "1975",
+}
+
+@Article{light-72,
+ author = "Firstname Light",
+ title = "Title title title title title title title title title
+ title",
+ journal = "Journal journal journal",
+ year = "1972",
+}
+
+@Article{light-wong,
+ author = "Firstname Light and Firstname Wong",
+ title = "Title title title title title title title title title
+ title",
+ journal = "Journal journal journal",
+ year = "1975",
+}
+
+@Article{kingston-76,
+ author = "Firstname Kingston",
+ title = "Title title title title title title title title title
+ title",
+ journal = "Journal journal journal",
+ year = "1976",
+}
+
+@Article{kelley-96-spring,
+ author = "Firstname Kelley",
+ title = "Title title title title title title title title title
+ title",
+ journal = "Journal journal journal",
+ year = "1896",
+}
+
+@Article{kelley-96-autumn,
+ author = "Firstname Kelley",
+ title = "Title title title title title title title title title
+ title",
+ journal = "Journal journal journal",
+ year = "1896",
+}
+
+@Article{kelley-07,
+ author = "Firstname Kelley",
+ title = "Title title title title title title title title title
+ title",
+ journal = "Journal journal journal",
+ year = "1907",
+}
+
+@Book{strong-01,
+ author = "Firstname Strong",
+ title = "Title title title title title title title title title
+ title",
+ publisher = "Publisher publisher publisher",
+ year = "1901",
+}
+
+@Book{strong-02,
+ author = "Firstname Strong",
+ title = "Title title title title title title title title title
+ title",
+ publisher = "Publisher publisher publisher",
+ year = "1902",
+}
+
+@Book{shotwell-01,
+ author = "Firstname Shotwell",
+ title = "Title title title title title title title title title
+ title",
+ publisher = "Publisher publisher publisher",
+ year = "1901",
+}
+
+%% @COMMENT{Some examples taken from Chapter 16 of the Chicago Manual of Style}
+
+@Techreport{brunswick-85,
+ author = "`Brunswick'",
+ title = "The piper and the rats: A musical experiment",
+ institution = "Rodent Activities Termination Section (RATS), Pest
+ Control Division, Brunswick Public Welfare Department",
+ year = "1985",
+ number = "1984",
+ address = "Hamelin",
+}
+
+@Book{kendeigh-52,
+ author = "S. C. Kendeigh",
+ year = "1952",
+ title = "Parental care and its evolution in birds",
+ series = "Illinois Biological Monographs",
+ volume = "22",
+ number = "1--3",
+ address = "Champaign",
+ publisher = "Univ. of Illinois Press",
+}
+
+@Book{chapman-75,
+ author = "Jefferson Chapman",
+ year = "1975",
+ title = "The {Icehouse Bottom} Site---{40MR23}",
+ series = "University of Tennessee Department of Anthropology
+ Publication",
+ number = "23",
+ address = "Knoxville",
+ publisher = "Univ. of Tennessee Press",
+}
+
+@Book{hershkovitz-62,
+ author = "P. Hershkovitz",
+ year = "1962",
+ title = "Evolution of {Neotropical} cricetine rodents
+ ({Muridae}) with special reference to the phyllotine
+ group",
+ series = "Fieldiana: Zoology",
+ volume = "46",
+ address = "Chicago",
+ publisher = "Field Museum of Natural History",
+}
+
+@Book{wright-78-book,
+ title = "Evolution and the genetics of populations",
+ author = "Sewall Wright",
+ year = "1978",
+ address = "Chicago",
+ publisher = "Univ. of Chicago Press",
+ volume = "4",
+}
+
+@Incollection{wright-78-incollection,
+ title = "Variability within and among natural populations",
+ author = "Sewall Wright",
+ booktitle = "Evolution and the genetics of populations",
+ year = "1978",
+ address = "Chicago",
+ publisher = "Univ. of Chicago Press",
+ type = "Vol.",
+ chapter = "4",
+}
+
+@Incollection{ogilvy-65,
+ author = "David Ogilvy",
+ title = "The Creative Chef",
+ booktitle = "The Creative Organization",
+ year = "1965",
+ editor = "Gary A. Steiner",
+ address = "Chicago",
+ publisher = "University of Chicago Press",
+ pages = "199--213",
+}
+
+@Incollection{mcneill-63,
+ author = "William H. McNeill",
+ year = "1963",
+ title = "The Era of {Middle Eastern} Dominance to 500 {\sc
+ b.c.}",
+ booktitle = "The Rise of the {West}",
+ publisher = "{University of Chicago Press}",
+ address = "Chicago",
+ type = "Part",
+ chapter = "1",
+}
+
+@Incollection{thomson-71,
+ author = "Virgil Thomson",
+ title = "Cage and the Collage of Noises",
+ booktitle = "American Music since 1910",
+ address = "New York",
+ publisher = "Holt, Rinehart and Winston",
+ year = "1971",
+ chapter = "8",
+}
+
+@Incollection{gordon-75,
+ title = "The Tunes of {Chicken Little}",
+ author = "Robert Gordon",
+ year = "1975",
+ booktitle = "Playwrights for Tomorrow: A Collection of Plays",
+ editor = "Arthur H. Ballet",
+ volume = "13",
+ address = "Minneapolis",
+ publisher = "University of Minnesota Press",
+ note = "One of four plays included in vol. 13",
+}
+
+@Incollection{milton-24,
+ author = "John Milton",
+ title = "Paradise Lost",
+ booktitle = "The Complete Poetical Works of {John Milton}",
+ edition = "{Student's Cambridge}",
+ address = "Boston",
+ publisher = "Houghton Mifflin",
+ year = "1924",
+ editor = "William Vaughn Moody",
+}
+
+@Inproceedings{chomsky-73,
+ author = "N. Chomsky",
+ year = "1973",
+ title = "Conditions on Transformations",
+ booktitle = "A festschrift for {Morris Halle}",
+ editor = "S. R. Anderson and P. Kiparsky",
+ publisher = "Holt, Rinehart \& Winston",
+ address = "New York",
+}
+
+@Inproceedings{chave-64,
+ author = "K. E. Chave",
+ year = "1964",
+ title = "Skeletal durability and preservation",
+ booktitle = "Approaches to paleoecology",
+ editor = "J. Imbrie and N. Newel",
+ address = "New York",
+ publisher = "Wiley",
+ pages = "377--87",
+}
+
+@Book{smart-76,
+ author = "Ninian Smart",
+ year = "1976",
+ title = "The religious experience of mankind",
+ publisher = "Schribner",
+ address = "New York",
+ edition = "2nd",
+}
+
+@Article{jackson-79,
+ author = "Richard Jackson",
+ year = "1979",
+ title = "Running down the up-escalator: Regional inequality in
+ {Papua New Guinea}",
+ journal = "Australian Geographer",
+ volume = "14",
+ month = may,
+ pages = "175--84",
+}
+
+@Article{prufer-64,
+ author = "Olaf Prufer",
+ year = "1964",
+ title = "The {Hopewell} Cult",
+ journal = "Scientific {American}",
+ month = dec,
+ pages = "90--102",
+}
+
+@Phdthesis{mann-68,
+ author = "A. E. Mann",
+ year = "1968",
+ title = "The palaeodemography of {Australopithecus}",
+ type = "Ph.D. diss.",
+ school = "University of California, Berkeley",
+}
+
+@Phdthesis{maguire-76,
+ author = "J. Maguire",
+ year = "1976",
+ title = "A taxonomic and ecological study of the living and
+ fossil {Hystricidae} with particular reference to
+ southern {Africa}",
+ type = "Ph.D. diss.",
+ school = "Department of Geology, University of the
+ Witwatersrand",
+ address = "Johannesburg",
+}
+
+@Unpublished{downes-74,
+ title = "Systemic grammar and structural sentence relatedness",
+ author = "W. J. Downes",
+ year = "1974",
+ note = "London School of Economics. Mimeo.",
+}
+
+@Misc{hunt-76,
+ author = "Horace [pseud.] Hunt",
+ title = "Interview",
+ year = "1976",
+ howpublished = "Tape recording, Pennsylvania Historical and Museum
+ Commission, Harrisburg",
+ note = "Interview by {Ronald Schatz, 16 May 1976}",
+}
diff --git a/biblio/bibtex/contrib/test/test.ltx b/biblio/bibtex/contrib/test/test.ltx
new file mode 100644
index 0000000000..4d85f6e864
--- /dev/null
+++ b/biblio/bibtex/contrib/test/test.ltx
@@ -0,0 +1,28 @@
+% -*-latex-*-
+% Document name: /usr/local/lib/tex/bibtex/test.ltx
+% Creator: Nelson H. F. Beebe [beebe@alfred.math.utah.edu]
+% Creation Date: Mon Jun 29 08:59:10 1992
+
+\documentstyle[]{article}
+
+\author{A. U. Thor}
+
+\date{}
+
+\title{Bibliography Style: {\tt {plain}}}
+
+\pagestyle{myheadings}
+
+\markboth{Bibliography Style: {\tt {plain}}}{Bibliography Style: {\tt {plain}}}
+
+\begin{document}
+
+ \bibliographystyle{plain}
+
+ \maketitle
+
+ \nocite{*}
+
+ \bibliography{test}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/urlbst/LICENCE-gpl-2.0.txt b/biblio/bibtex/contrib/urlbst/LICENCE-gpl-2.0.txt
new file mode 100644
index 0000000000..d159169d10
--- /dev/null
+++ b/biblio/bibtex/contrib/urlbst/LICENCE-gpl-2.0.txt
@@ -0,0 +1,339 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.
diff --git a/biblio/bibtex/contrib/urlbst/LICENCE-lppl.txt b/biblio/bibtex/contrib/urlbst/LICENCE-lppl.txt
new file mode 100644
index 0000000000..2244313901
--- /dev/null
+++ b/biblio/bibtex/contrib/urlbst/LICENCE-lppl.txt
@@ -0,0 +1,416 @@
+The LaTeX Project Public License
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
+
+LPPL Version 1.3c 2008-05-04
+
+Copyright 1999 2002-2008 LaTeX3 Project
+ Everyone is allowed to distribute verbatim copies of this
+ license document, but modification of it is not allowed.
+
+
+PREAMBLE
+========
+
+The LaTeX Project Public License (LPPL) is the primary license under
+which the LaTeX kernel and the base LaTeX packages are distributed.
+
+You may use this license for any work of which you hold the copyright
+and which you wish to distribute. This license may be particularly
+suitable if your work is TeX-related (such as a LaTeX package), but
+it is written in such a way that you can use it even if your work is
+unrelated to TeX.
+
+The section `WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE',
+below, gives instructions, examples, and recommendations for authors
+who are considering distributing their works under this license.
+
+This license gives conditions under which a work may be distributed
+and modified, as well as conditions under which modified versions of
+that work may be distributed.
+
+We, the LaTeX3 Project, believe that the conditions below give you
+the freedom to make and distribute modified versions of your work
+that conform with whatever technical specifications you wish while
+maintaining the availability, integrity, and reliability of
+that work. If you do not see how to achieve your goal while
+meeting these conditions, then read the document `cfgguide.tex'
+and `modguide.tex' in the base LaTeX distribution for suggestions.
+
+
+DEFINITIONS
+===========
+
+In this license document the following terms are used:
+
+ `Work'
+ Any work being distributed under this License.
+
+ `Derived Work'
+ Any work that under any applicable law is derived from the Work.
+
+ `Modification'
+ Any procedure that produces a Derived Work under any applicable
+ law -- for example, the production of a file containing an
+ original file associated with the Work or a significant portion of
+ such a file, either verbatim or with modifications and/or
+ translated into another language.
+
+ `Modify'
+ To apply any procedure that produces a Derived Work under any
+ applicable law.
+
+ `Distribution'
+ Making copies of the Work available from one person to another, in
+ whole or in part. Distribution includes (but is not limited to)
+ making any electronic components of the Work accessible by
+ file transfer protocols such as FTP or HTTP or by shared file
+ systems such as Sun's Network File System (NFS).
+
+ `Compiled Work'
+ A version of the Work that has been processed into a form where it
+ is directly usable on a computer system. This processing may
+ include using installation facilities provided by the Work,
+ transformations of the Work, copying of components of the Work, or
+ other activities. Note that modification of any installation
+ facilities provided by the Work constitutes modification of the Work.
+
+ `Current Maintainer'
+ A person or persons nominated as such within the Work. If there is
+ no such explicit nomination then it is the `Copyright Holder' under
+ any applicable law.
+
+ `Base Interpreter'
+ A program or process that is normally needed for running or
+ interpreting a part or the whole of the Work.
+
+ A Base Interpreter may depend on external components but these
+ are not considered part of the Base Interpreter provided that each
+ external component clearly identifies itself whenever it is used
+ interactively. Unless explicitly specified when applying the
+ license to the Work, the only applicable Base Interpreter is a
+ `LaTeX-Format' or in the case of files belonging to the
+ `LaTeX-format' a program implementing the `TeX language'.
+
+
+
+CONDITIONS ON DISTRIBUTION AND MODIFICATION
+===========================================
+
+1. Activities other than distribution and/or modification of the Work
+are not covered by this license; they are outside its scope. In
+particular, the act of running the Work is not restricted and no
+requirements are made concerning any offers of support for the Work.
+
+2. You may distribute a complete, unmodified copy of the Work as you
+received it. Distribution of only part of the Work is considered
+modification of the Work, and no right to distribute such a Derived
+Work may be assumed under the terms of this clause.
+
+3. You may distribute a Compiled Work that has been generated from a
+complete, unmodified copy of the Work as distributed under Clause 2
+above, as long as that Compiled Work is distributed in such a way that
+the recipients may install the Compiled Work on their system exactly
+as it would have been installed if they generated a Compiled Work
+directly from the Work.
+
+4. If you are the Current Maintainer of the Work, you may, without
+restriction, modify the Work, thus creating a Derived Work. You may
+also distribute the Derived Work without restriction, including
+Compiled Works generated from the Derived Work. Derived Works
+distributed in this manner by the Current Maintainer are considered to
+be updated versions of the Work.
+
+5. If you are not the Current Maintainer of the Work, you may modify
+your copy of the Work, thus creating a Derived Work based on the Work,
+and compile this Derived Work, thus creating a Compiled Work based on
+the Derived Work.
+
+6. If you are not the Current Maintainer of the Work, you may
+distribute a Derived Work provided the following conditions are met
+for every component of the Work unless that component clearly states
+in the copyright notice that it is exempt from that condition. Only
+the Current Maintainer is allowed to add such statements of exemption
+to a component of the Work.
+
+ a. If a component of this Derived Work can be a direct replacement
+ for a component of the Work when that component is used with the
+ Base Interpreter, then, wherever this component of the Work
+ identifies itself to the user when used interactively with that
+ Base Interpreter, the replacement component of this Derived Work
+ clearly and unambiguously identifies itself as a modified version
+ of this component to the user when used interactively with that
+ Base Interpreter.
+
+ b. Every component of the Derived Work contains prominent notices
+ detailing the nature of the changes to that component, or a
+ prominent reference to another file that is distributed as part
+ of the Derived Work and that contains a complete and accurate log
+ of the changes.
+
+ c. No information in the Derived Work implies that any persons,
+ including (but not limited to) the authors of the original version
+ of the Work, provide any support, including (but not limited to)
+ the reporting and handling of errors, to recipients of the
+ Derived Work unless those persons have stated explicitly that
+ they do provide such support for the Derived Work.
+
+ d. You distribute at least one of the following with the Derived Work:
+
+ 1. A complete, unmodified copy of the Work;
+ if your distribution of a modified component is made by
+ offering access to copy the modified component from a
+ designated place, then offering equivalent access to copy
+ the Work from the same or some similar place meets this
+ condition, even though third parties are not compelled to
+ copy the Work along with the modified component;
+
+ 2. Information that is sufficient to obtain a complete,
+ unmodified copy of the Work.
+
+7. If you are not the Current Maintainer of the Work, you may
+distribute a Compiled Work generated from a Derived Work, as long as
+the Derived Work is distributed to all recipients of the Compiled
+Work, and as long as the conditions of Clause 6, above, are met with
+regard to the Derived Work.
+
+8. The conditions above are not intended to prohibit, and hence do not
+apply to, the modification, by any method, of any component so that it
+becomes identical to an updated version of that component of the Work as
+it is distributed by the Current Maintainer under Clause 4, above.
+
+9. Distribution of the Work or any Derived Work in an alternative
+format, where the Work or that Derived Work (in whole or in part) is
+then produced by applying some process to that format, does not relax or
+nullify any sections of this license as they pertain to the results of
+applying that process.
+
+10. a. A Derived Work may be distributed under a different license
+ provided that license itself honors the conditions listed in
+ Clause 6 above, in regard to the Work, though it does not have
+ to honor the rest of the conditions in this license.
+
+ b. If a Derived Work is distributed under a different license, that
+ Derived Work must provide sufficient documentation as part of
+ itself to allow each recipient of that Derived Work to honor the
+ restrictions in Clause 6 above, concerning changes from the Work.
+
+11. This license places no restrictions on works that are unrelated to
+the Work, nor does this license place any restrictions on aggregating
+such works with the Work by any means.
+
+12. Nothing in this license is intended to, or may be used to, prevent
+complete compliance by all parties with all applicable laws.
+
+
+NO WARRANTY
+===========
+
+There is no warranty for the Work. Except when otherwise stated in
+writing, the Copyright Holder provides the Work `as is', without
+warranty of any kind, either expressed or implied, including, but not
+limited to, the implied warranties of merchantability and fitness for a
+particular purpose. The entire risk as to the quality and performance
+of the Work is with you. Should the Work prove defective, you assume
+the cost of all necessary servicing, repair, or correction.
+
+In no event unless required by applicable law or agreed to in writing
+will The Copyright Holder, or any author named in the components of the
+Work, or any other party who may distribute and/or modify the Work as
+permitted above, be liable to you for damages, including any general,
+special, incidental or consequential damages arising out of any use of
+the Work or out of inability to use the Work (including, but not limited
+to, loss of data, data being rendered inaccurate, or losses sustained by
+anyone as a result of any failure of the Work to operate with any other
+programs), even if the Copyright Holder or said author or said other
+party has been advised of the possibility of such damages.
+
+
+MAINTENANCE OF THE WORK
+=======================
+
+The Work has the status `author-maintained' if the Copyright Holder
+explicitly and prominently states near the primary copyright notice in
+the Work that the Work can only be maintained by the Copyright Holder
+or simply that it is `author-maintained'.
+
+The Work has the status `maintained' if there is a Current Maintainer
+who has indicated in the Work that they are willing to receive error
+reports for the Work (for example, by supplying a valid e-mail
+address). It is not required for the Current Maintainer to acknowledge
+or act upon these error reports.
+
+The Work changes from status `maintained' to `unmaintained' if there
+is no Current Maintainer, or the person stated to be Current
+Maintainer of the work cannot be reached through the indicated means
+of communication for a period of six months, and there are no other
+significant signs of active maintenance.
+
+You can become the Current Maintainer of the Work by agreement with
+any existing Current Maintainer to take over this role.
+
+If the Work is unmaintained, you can become the Current Maintainer of
+the Work through the following steps:
+
+ 1. Make a reasonable attempt to trace the Current Maintainer (and
+ the Copyright Holder, if the two differ) through the means of
+ an Internet or similar search.
+
+ 2. If this search is successful, then enquire whether the Work
+ is still maintained.
+
+ a. If it is being maintained, then ask the Current Maintainer
+ to update their communication data within one month.
+
+ b. If the search is unsuccessful or no action to resume active
+ maintenance is taken by the Current Maintainer, then announce
+ within the pertinent community your intention to take over
+ maintenance. (If the Work is a LaTeX work, this could be
+ done, for example, by posting to comp.text.tex.)
+
+ 3a. If the Current Maintainer is reachable and agrees to pass
+ maintenance of the Work to you, then this takes effect
+ immediately upon announcement.
+
+ b. If the Current Maintainer is not reachable and the Copyright
+ Holder agrees that maintenance of the Work be passed to you,
+ then this takes effect immediately upon announcement.
+
+ 4. If you make an `intention announcement' as described in 2b. above
+ and after three months your intention is challenged neither by
+ the Current Maintainer nor by the Copyright Holder nor by other
+ people, then you may arrange for the Work to be changed so as
+ to name you as the (new) Current Maintainer.
+
+ 5. If the previously unreachable Current Maintainer becomes
+ reachable once more within three months of a change completed
+ under the terms of 3b) or 4), then that Current Maintainer must
+ become or remain the Current Maintainer upon request provided
+ they then update their communication data within one month.
+
+A change in the Current Maintainer does not, of itself, alter the fact
+that the Work is distributed under the LPPL license.
+
+If you become the Current Maintainer of the Work, you should
+immediately provide, within the Work, a prominent and unambiguous
+statement of your status as Current Maintainer. You should also
+announce your new status to the same pertinent community as
+in 2b) above.
+
+
+WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE
+======================================================
+
+This section contains important instructions, examples, and
+recommendations for authors who are considering distributing their
+works under this license. These authors are addressed as `you' in
+this section.
+
+Choosing This License or Another License
+----------------------------------------
+
+If for any part of your work you want or need to use *distribution*
+conditions that differ significantly from those in this license, then
+do not refer to this license anywhere in your work but, instead,
+distribute your work under a different license. You may use the text
+of this license as a model for your own license, but your license
+should not refer to the LPPL or otherwise give the impression that
+your work is distributed under the LPPL.
+
+The document `modguide.tex' in the base LaTeX distribution explains
+the motivation behind the conditions of this license. It explains,
+for example, why distributing LaTeX under the GNU General Public
+License (GPL) was considered inappropriate. Even if your work is
+unrelated to LaTeX, the discussion in `modguide.tex' may still be
+relevant, and authors intending to distribute their works under any
+license are encouraged to read it.
+
+A Recommendation on Modification Without Distribution
+-----------------------------------------------------
+
+It is wise never to modify a component of the Work, even for your own
+personal use, without also meeting the above conditions for
+distributing the modified component. While you might intend that such
+modifications will never be distributed, often this will happen by
+accident -- you may forget that you have modified that component; or
+it may not occur to you when allowing others to access the modified
+version that you are thus distributing it and violating the conditions
+of this license in ways that could have legal implications and, worse,
+cause problems for the community. It is therefore usually in your
+best interest to keep your copy of the Work identical with the public
+one. Many works provide ways to control the behavior of that work
+without altering any of its licensed components.
+
+How to Use This License
+-----------------------
+
+To use this license, place in each of the components of your work both
+an explicit copyright notice including your name and the year the work
+was authored and/or last substantially modified. Include also a
+statement that the distribution and/or modification of that
+component is constrained by the conditions in this license.
+
+Here is an example of such a notice and statement:
+
+ %% pig.dtx
+ %% Copyright 2005 M. Y. Name
+ %
+ % This work may be distributed and/or modified under the
+ % conditions of the LaTeX Project Public License, either version 1.3
+ % of this license or (at your option) any later version.
+ % The latest version of this license is in
+ % http://www.latex-project.org/lppl.txt
+ % and version 1.3 or later is part of all distributions of LaTeX
+ % version 2005/12/01 or later.
+ %
+ % This work has the LPPL maintenance status `maintained'.
+ %
+ % The Current Maintainer of this work is M. Y. Name.
+ %
+ % This work consists of the files pig.dtx and pig.ins
+ % and the derived file pig.sty.
+
+Given such a notice and statement in a file, the conditions
+given in this license document would apply, with the `Work' referring
+to the three files `pig.dtx', `pig.ins', and `pig.sty' (the last being
+generated from `pig.dtx' using `pig.ins'), the `Base Interpreter'
+referring to any `LaTeX-Format', and both `Copyright Holder' and
+`Current Maintainer' referring to the person `M. Y. Name'.
+
+If you do not want the Maintenance section of LPPL to apply to your
+Work, change `maintained' above into `author-maintained'.
+However, we recommend that you use `maintained', as the Maintenance
+section was added in order to ensure that your Work remains useful to
+the community even when you can no longer maintain and support it
+yourself.
+
+Derived Works That Are Not Replacements
+---------------------------------------
+
+Several clauses of the LPPL specify means to provide reliability and
+stability for the user community. They therefore concern themselves
+with the case that a Derived Work is intended to be used as a
+(compatible or incompatible) replacement of the original Work. If
+this is not the case (e.g., if a few lines of code are reused for a
+completely different task), then clauses 6b and 6d shall not apply.
+
+
+Important Recommendations
+-------------------------
+
+ Defining What Constitutes the Work
+
+ The LPPL requires that distributions of the Work contain all the
+ files of the Work. It is therefore important that you provide a
+ way for the licensee to determine which files constitute the Work.
+ This could, for example, be achieved by explicitly listing all the
+ files of the Work near the copyright notice of each file or by
+ using a line such as:
+
+ % This work consists of all files listed in manifest.txt.
+
+ in that place. In the absence of an unequivocal list it might be
+ impossible for the licensee to determine what is considered by you
+ to comprise the Work and, in such a case, the licensee would be
+ entitled to make reasonable conjectures as to which files comprise
+ the Work.
+
diff --git a/biblio/bibtex/contrib/urlbst/Makefile.in b/biblio/bibtex/contrib/urlbst/Makefile.in
new file mode 100644
index 0000000000..bfd2cb6582
--- /dev/null
+++ b/biblio/bibtex/contrib/urlbst/Makefile.in
@@ -0,0 +1,173 @@
+# Makefile for urlbst
+
+# BSTSTYLES are the standard styles that we distribute
+BSTSTYLES=plainurl.bst unsrturl.bst alphaurl.bst abbrvurl.bst
+# TESTSTYLES are a couple of extra ones that we explicitly test
+TESTSTYLES=mlaurl.bst amsalphaurl.bst
+
+MAINTAINER_FILES= Makefile configure
+GENERATED=urlbst urlbst.tex urlbst.pdf urlbst.html README VERSION $(BSTSTYLES)
+# distribute generated files
+# ...plus the configure files
+# ...plus the configured files
+DISTRIBS=$(GENERATED) \
+ configure configure.ac \
+ urlbst.in urlbst.bib Makefile.in \
+ LICENCE-gpl-2.0.txt LICENCE-lppl.txt
+
+
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+bindir=@bindir@
+DIST=urlbst-@PACKAGE_VERSION@
+
+# On OS X, the following avoids extended attributes being included
+TAR=COPYFILE_DISABLE=1 tar
+#TAR=tar
+
+### Implicit rules
+
+# Don't include --inlinelinks when generating %url.bst here, as we
+# do want the links visible when generating the documentation, and it's
+# probably abetter default in any case.
+%url.bst: urlbst
+ export BSTINPUTS=test: ; \
+ if test -z "`kpsewhich ${@:url.bst=.bst}`"; then \
+ echo "Can't locate ${@:url.bst=.bst}"; \
+ else \
+ ./urlbst --eprint --doi --pubmed --hyperref `kpsewhich ${@:url.bst=.bst}` $@; \
+ fi
+
+# Incomplete TeX support
+%.ps: %.dvi
+ dvips -o $@ $<
+%.bbl: %.tex plainurl.bst
+ pdflatex $<
+ if ! test -f $@ || grep -q 'Citation.*undefined' ${<:.tex=.log}; then \
+ bibtex ${<:.tex=}; \
+ pdflatex $<; \
+ rm ${<:.tex=.pdf}; \
+ fi
+%.pdf: %.tex %.bbl
+ pdflatex $<
+%.dvi: %.tex %.bbl
+ latex $<
+%.gz: %
+ gzip --best -f $<
+
+.PRECIOUS: .bbl
+
+### Targets start here
+
+all: urlbst
+
+dist: $(DIST).tar.gz $(DIST).zip
+
+$(DIST).tar: $(DIST)/urlbst.in
+ $(TAR) cf $@ $(DIST)
+
+$(DIST).zip: $(DIST)/urlbst.in
+ zip -r $@ $(DIST)
+
+$(DIST)/urlbst.in: $(DISTRIBS)
+ if test -d $(DIST); then rm -Rf $(DIST); fi && mkdir $(DIST)
+ cp $(DISTRIBS) $(DIST)
+
+urlbst: urlbst.in config.status
+ ./config.status urlbst
+
+urlbst.tex: urlbst.tex.in hg.sed release-notes.tex
+ sed -f hg.sed -e '/include:release-notes/r release-notes.tex' urlbst.tex.in >$@
+
+urlbst.html: urlbst.html.in release-notes.html hg.sed
+ sed -f hg.sed -e '/include:release-notes/r release-notes.html' urlbst.html.in >$@
+
+Makefile: Makefile.in config.status
+ ./config.status Makefile
+
+README: README.md hg.sed
+ rm -f $@
+ sed -f hg.sed README.md >$@
+
+configure: configure.ac
+ autoconf
+
+config.status: configure
+ ./configure
+
+hg.sed: Makefile .hg
+ rm -f $@
+ { echo 's,@PACKAGE_VERSION\@,@PACKAGE_VERSION@,g'; \
+ echo 's,@RELEASEDATE\@,@RELEASEDATE@,g'; \
+ echo 's/@COPYRIGHTYEARS\@/@COPYRIGHTYEARS@/'; \
+ hg parent --template 's/@HGIDENT\@/{node|short} ({latesttag}+{latesttagdistance}), {date|isodate}/\n'; \
+ } >hg.sed
+
+release-notes.tex: release-notes.html
+ rm -f $@
+ xsltproc tools/release-notes-to-latex.xslt release-notes.html >$@.tmp && mv $@.tmp $@
+
+# Version stamp file, included in the distribution for convenience,
+# so it's easy to see which version it is has been unpacked at CTAN.
+VERSION: Makefile.in
+ echo $(DIST) >VERSION
+
+# Very simple install target -- hardly worth bothering, really....
+install: urlbst
+ cp urlbst $(bindir)
+
+# Very simple test target -- just check that we don't bomb converting
+# the standard styles
+check: $(BSTSTYLES) $(TESTSTYLES)
+ for f in $(BSTSTYLES) $(TESTSTYLES); do \
+ ROOT=`echo $$f|sed s/\.bst$$//`; \
+ printf '\\relax\n' > test-$$ROOT.aux; \
+ printf '\\citation{*}\n' >> test-$$ROOT.aux; \
+ printf '\\bibdata{urlbst}\n' >> test-$$ROOT.aux; \
+ printf '\\bibstyle{'"$$ROOT"'}\n' >> test-$$ROOT.aux; \
+ echo "*** testing $$f"; \
+ bibtex test-$$ROOT; \
+ done
+
+# Brute-force test target, which finds all the system .bst files,
+# converts them, and runs BibTeX on them. It doesn't test the results
+# in any way -- you have to do that by eye.
+#
+# No, this is a hopelessly blunderbus approach. And in any case the
+# 'locate *.bst' doesn't work. At least the following would find only things
+# on the .bst search path.
+# BSTPATH=`kpsepath bst`
+# for d in `IFS=:; echo $BSTPATH`; do
+# dd=`expr "$d" : '!*\(.*[^/]\)/*$'`
+# echo dd=$dd
+# test -d "$dd" && find $dd -name \*.bst
+# done
+check-all:
+ printf '\\relax\n'>check-all.mainaux
+ sed -n 's/^.*{\(test:.*\),/\\citation{\1}/p' urlbst.bib>>check-all.mainaux
+ for f in `locate '*.bst' | grep -v norman`; do T=`echo $$f|sed 's+.*/\(.*\)\.bst+\1url+'`;perl urlbst $$f $$T.bst; if test $$? = 0; then TF=test-$$T.aux; cp check-all.mainaux $$TF;printf '\\bibdata{urlbst}\n'>>$$TF; printf '\\bibstyle{$$T}\n'>>$$TF; else rm $$T.bst; fi done
+ for f in `ls test-*.aux|sed s+.aux++`;do bibtex $$f;done
+ rm check-all.mainaux
+
+# Tarball for unpacking in the webpage distribution directory
+webpage-tarball.tar: urlbst.pdf urlbst.html $(DIST).tar.gz $(DIST).zip
+ mkdir webpage-tarball
+ cp urlbst.pdf $(DIST).tar.gz $(DIST).zip webpage-tarball
+ cp urlbst.html webpage-tarball/index.html
+ cd webpage-tarball; $(TAR) cf ../webpage-tarball.tar *
+ rm -Rf webpage-tarball
+
+tidy:
+ rm -f webpage-tarball.tar
+ rm -f *~ test-*
+ rm -f *.aux *.bbl *.log *.blg *.dvi *.pdf
+ rm -Rf urlbst.app
+
+clean: tidy
+ rm -f *.bst
+ rm -Rf config.status autom4te.cache prepare-roff.sed
+ rm -Rf $(DIST).tar $(DIST).tar.gz $(DIST).zip $(DIST)
+ rm -f $(GENERATED)
+
+maintainer-clean: clean
+ rm -f $(MAINTAINER_FILES)
diff --git a/biblio/bibtex/contrib/urlbst/README b/biblio/bibtex/contrib/urlbst/README
new file mode 100644
index 0000000000..d9705a5840
--- /dev/null
+++ b/biblio/bibtex/contrib/urlbst/README
@@ -0,0 +1,53 @@
+urlbst -- add @webpage entry and url/doi/eprint/pubmed fields to BibTeX
+=======================================================================
+
+Version 0.8, 2019 July 1.
+
+The urlbst package consists of a Perl script which edits BibTeX style
+files (.bst) to add a `@webpage` entry type, and which adds a few new
+fields -- notably including 'url' -- to all other entry types. The
+distribution includes preconverted versions of the four standard
+BibTeX .bst style files.
+
+It has a different goal from Patrick Daly's 'custom-bib' package --
+that is intended to create a BibTeX style .bst file from scratch, and
+supports 'url' and 'eprint' fields. This package, on the other hand,
+is intended for the case where you already have a style file that
+works (or at least, which you cannot or will not change), and edits it
+to add the new `@webpage` entry type, plus the new fields.
+
+The added fields are:
+
+ * 'url' and 'lastchecked', to associate a URL with a reference,
+ along with the date at which the URL was last checked to exist;
+ * 'doi', for a reference's DOI (see https://doi.org);
+ * 'eprint', for an arXiv eprint reference (see http://arxiv.org); and
+ * 'pubmed' for a reference's PubMed identifier (PMID, see http://pubmed.gov).
+
+Licences
+--------
+
+The copyright and licence position for the modified `.bst` files seems
+slightly muddy to me. On the grounds that any licence is better than
+no licence, I therefore assert that the _modifications_ which the
+`urlbst` program makes to these files are copyright 2002-03, 2005-12, 2014, 2019,
+Norman Gray, and that these modifications are available for
+distribution under the terms of the LaTeX Project Public Licence.
+
+The original `.bst` files are copyright Howard Trickey and Oren
+Patashnik, with a set of permissions, in text at the top of the files,
+which state that "Unlimited copying and redistribution of this file
+are permitted as long as it is unmodified" (see the files for the
+complete text). The distribution terms above therefore appear to be
+compatible with -- in the sense of being morally equivalent to --
+these terms in the `.bst` file. If anyone disagrees with the logic
+here, I'd be very happy to discuss that.
+
+The `urlbst` script itself is distributed under the GPL, version 2.0.
+
+See the files `LICENCE-lppl.txt` and `LICENCE-gpl-2.0.txt` in the
+distribution, for the relevant licence text.
+
+
+Norman Gray
+http://nxg.me.uk
diff --git a/biblio/bibtex/contrib/urlbst/VERSION b/biblio/bibtex/contrib/urlbst/VERSION
new file mode 100644
index 0000000000..e2effdb080
--- /dev/null
+++ b/biblio/bibtex/contrib/urlbst/VERSION
@@ -0,0 +1 @@
+urlbst-0.8
diff --git a/biblio/bibtex/contrib/urlbst/abbrvurl.bst b/biblio/bibtex/contrib/urlbst/abbrvurl.bst
new file mode 100644
index 0000000000..c37f6fd063
--- /dev/null
+++ b/biblio/bibtex/contrib/urlbst/abbrvurl.bst
@@ -0,0 +1,1464 @@
+%%% Modification of BibTeX style file /usr/local/texlive/2019/texmf-dist/bibtex/bst/base/abbrv.bst
+%%% ... by urlbst, version 0.8 (marked with "% urlbst")
+%%% See <http://purl.org/nxg/dist/urlbst>
+%%% Modifications Copyright 2002-03, 2005-12, 2014, 2019, Norman Gray,
+%%% and distributed under the terms of the LPPL; see README for discussion.
+%%%
+%%% Added webpage entry type, and url and lastchecked fields.
+%%% Added eprint support.
+%%% Added DOI support.
+%%% Added PUBMED support.
+%%% Added hyperref support.
+%%% Original headers follow...
+
+% BibTeX standard bibliography style `abbrv'
+ % Version 0.99b (8-Dec-10 release) for BibTeX versions 0.99a or later.
+ % Copyright (C) 1984, 1985, 1988, 2010 Howard Trickey and Oren Patashnik.
+ % Unlimited copying and redistribution of this file are permitted as long as
+ % it is unmodified. Modifications (and redistribution of modified versions)
+ % are also permitted, but only if the resulting file is renamed to something
+ % besides btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ eprint % urlbst
+ doi % urlbst
+ pubmed % urlbst
+ url % urlbst
+ lastchecked % urlbst
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+% urlbst...
+% urlbst constants and state variables
+STRINGS { urlintro
+ eprinturl eprintprefix doiprefix doiurl pubmedprefix pubmedurl
+ citedstring onlinestring linktextstring
+ openinlinelink closeinlinelink }
+INTEGERS { hrefform inlinelinks makeinlinelink
+ addeprints adddoiresolver addpubmedresolver }
+FUNCTION {init.urlbst.variables}
+{
+ % The following constants may be adjusted by hand, if desired
+
+ % The first set allow you to enable or disable certain functionality.
+ #1 'addeprints := % 0=no eprints; 1=include eprints
+ #1 'adddoiresolver := % 0=no DOI resolver; 1=include it
+ #1 'addpubmedresolver := % 0=no PUBMED resolver; 1=include it
+ #2 'hrefform := % 0=no crossrefs; 1=hypertex xrefs; 2=hyperref refs
+ #0 'inlinelinks := % 0=URLs explicit; 1=URLs attached to titles
+
+ % String constants, which you _might_ want to tweak.
+ "URL: " 'urlintro := % prefix before URL; typically "Available from:" or "URL":
+ "online" 'onlinestring := % indication that resource is online; typically "online"
+ "cited " 'citedstring := % indicator of citation date; typically "cited "
+ "[link]" 'linktextstring := % dummy link text; typically "[link]"
+ "http://arxiv.org/abs/" 'eprinturl := % prefix to make URL from eprint ref
+ "arXiv:" 'eprintprefix := % text prefix printed before eprint ref; typically "arXiv:"
+ "https://doi.org/" 'doiurl := % prefix to make URL from DOI
+ "doi:" 'doiprefix := % text prefix printed before DOI ref; typically "doi:"
+ "http://www.ncbi.nlm.nih.gov/pubmed/" 'pubmedurl := % prefix to make URL from PUBMED
+ "PMID:" 'pubmedprefix := % text prefix printed before PUBMED ref; typically "PMID:"
+
+ % The following are internal state variables, not configuration constants,
+ % so they shouldn't be fiddled with.
+ #0 'makeinlinelink := % state variable managed by possibly.setup.inlinelink
+ "" 'openinlinelink := % ditto
+ "" 'closeinlinelink := % ditto
+}
+INTEGERS {
+ bracket.state
+ outside.brackets
+ open.brackets
+ within.brackets
+ close.brackets
+}
+% ...urlbst to here
+FUNCTION {init.state.consts}
+{ #0 'outside.brackets := % urlbst...
+ #1 'open.brackets :=
+ #2 'within.brackets :=
+ #3 'close.brackets := % ...urlbst to here
+
+ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+% urlbst
+FUNCTION {output.nonnull.original}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+% urlbst...
+% The following three functions are for handling inlinelink. They wrap
+% a block of text which is potentially output with write$ by multiple
+% other functions, so we don't know the content a priori.
+% They communicate between each other using the variables makeinlinelink
+% (which is true if a link should be made), and closeinlinelink (which holds
+% the string which should close any current link. They can be called
+% at any time, but start.inlinelink will be a no-op unless something has
+% previously set makeinlinelink true, and the two ...end.inlinelink functions
+% will only do their stuff if start.inlinelink has previously set
+% closeinlinelink to be non-empty.
+% (thanks to 'ijvm' for suggested code here)
+FUNCTION {uand}
+{ 'skip$ { pop$ #0 } if$ } % 'and' (which isn't defined at this point in the file)
+FUNCTION {possibly.setup.inlinelink}
+{ makeinlinelink hrefform #0 > uand
+ { doi empty$ adddoiresolver uand
+ { pubmed empty$ addpubmedresolver uand
+ { eprint empty$ addeprints uand
+ { url empty$
+ { "" }
+ { url }
+ if$ }
+ { eprinturl eprint * }
+ if$ }
+ { pubmedurl pubmed * }
+ if$ }
+ { doiurl doi * }
+ if$
+ % an appropriately-formatted URL is now on the stack
+ hrefform #1 = % hypertex
+ { "\special {html:<a href=" quote$ * swap$ * quote$ * "> }{" * 'openinlinelink :=
+ "\special {html:</a>}" 'closeinlinelink := }
+ { "\href {" swap$ * "} {" * 'openinlinelink := % hrefform=#2 -- hyperref
+ % the space between "} {" matters: a URL of just the right length can cause "\% newline em"
+ "}" 'closeinlinelink := }
+ if$
+ #0 'makeinlinelink :=
+ }
+ 'skip$
+ if$ % makeinlinelink
+}
+FUNCTION {add.inlinelink}
+{ openinlinelink empty$
+ 'skip$
+ { openinlinelink swap$ * closeinlinelink *
+ "" 'openinlinelink :=
+ }
+ if$
+}
+FUNCTION {output.nonnull}
+{ % Save the thing we've been asked to output
+ 's :=
+ % If the bracket-state is close.brackets, then add a close-bracket to
+ % what is currently at the top of the stack, and set bracket.state
+ % to outside.brackets
+ bracket.state close.brackets =
+ { "]" *
+ outside.brackets 'bracket.state :=
+ }
+ 'skip$
+ if$
+ bracket.state outside.brackets =
+ { % We're outside all brackets -- this is the normal situation.
+ % Write out what's currently at the top of the stack, using the
+ % original output.nonnull function.
+ s
+ add.inlinelink
+ output.nonnull.original % invoke the original output.nonnull
+ }
+ { % Still in brackets. Add open-bracket or (continuation) comma, add the
+ % new text (in s) to the top of the stack, and move to the close-brackets
+ % state, ready for next time (unless inbrackets resets it). If we come
+ % into this branch, then output.state is carefully undisturbed.
+ bracket.state open.brackets =
+ { " [" * }
+ { ", " * } % bracket.state will be within.brackets
+ if$
+ s *
+ close.brackets 'bracket.state :=
+ }
+ if$
+}
+
+% Call this function just before adding something which should be presented in
+% brackets. bracket.state is handled specially within output.nonnull.
+FUNCTION {inbrackets}
+{ bracket.state close.brackets =
+ { within.brackets 'bracket.state := } % reset the state: not open nor closed
+ { open.brackets 'bracket.state := }
+ if$
+}
+
+FUNCTION {format.lastchecked}
+{ lastchecked empty$
+ { "" }
+ { inbrackets citedstring lastchecked * }
+ if$
+}
+% ...urlbst to here
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem.original} % urlbst (renamed from output.bibitem, so it can be wrapped below)
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry.original} % urlbst (renamed from fin.entry, so it can be wrapped below)
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+% urlbst...
+% Functions for making hypertext links.
+% In all cases, the stack has (link-text href-url)
+%
+% make 'null' specials
+FUNCTION {make.href.null}
+{
+ pop$
+}
+% make hypertex specials
+FUNCTION {make.href.hypertex}
+{
+ "\special {html:<a href=" quote$ *
+ swap$ * quote$ * "> }" * swap$ *
+ "\special {html:</a>}" *
+}
+% make hyperref specials
+FUNCTION {make.href.hyperref}
+{
+ "\href {" swap$ * "} {\path{" * swap$ * "}}" *
+}
+FUNCTION {make.href}
+{ hrefform #2 =
+ 'make.href.hyperref % hrefform = 2
+ { hrefform #1 =
+ 'make.href.hypertex % hrefform = 1
+ 'make.href.null % hrefform = 0 (or anything else)
+ if$
+ }
+ if$
+}
+
+% If inlinelinks is true, then format.url should be a no-op, since it's
+% (a) redundant, and (b) could end up as a link-within-a-link.
+FUNCTION {format.url}
+{ inlinelinks #1 = url empty$ or
+ { "" }
+ { hrefform #1 =
+ { % special case -- add HyperTeX specials
+ urlintro "\url{" url * "}" * url make.href.hypertex * }
+ { urlintro "\url{" * url * "}" * }
+ if$
+ }
+ if$
+}
+FUNCTION {format.eprint}
+{ eprint empty$
+ { "" }
+ { eprintprefix eprint * eprinturl eprint * make.href }
+ if$
+}
+
+FUNCTION {format.doi}
+{ doi empty$
+ { "" }
+ { doiprefix doi * doiurl doi * make.href }
+ if$
+}
+
+FUNCTION {format.pubmed}
+{ pubmed empty$
+ { "" }
+ { pubmedprefix pubmed * pubmedurl pubmed * make.href }
+ if$
+}
+
+% Output a URL. We can't use the more normal idiom (something like
+% `format.url output'), because the `inbrackets' within
+% format.lastchecked applies to everything between calls to `output',
+% so that `format.url format.lastchecked * output' ends up with both
+% the URL and the lastchecked in brackets.
+FUNCTION {output.url}
+{ url empty$
+ 'skip$
+ { new.block
+ format.url output
+ format.lastchecked output
+ }
+ if$
+}
+
+FUNCTION {output.web.refs}
+{
+ new.block
+ inlinelinks
+ 'skip$ % links were inline -- don't repeat them
+ { % If the generated DOI will be the same as the URL,
+ % then don't print the URL (thanks to Joseph Wright for this code,
+ % at http://tex.stackexchange.com/questions/5660)
+ adddoiresolver
+ doiurl doi empty$ { "X" } { doi } if$ * % DOI URL to be generated
+ url empty$ { "Y" } { url } if$ % the URL, or "Y" if empty
+ = % are the strings equal?
+ and
+ 'skip$
+ { output.url }
+ if$
+ addeprints eprint empty$ not and
+ { format.eprint output.nonnull }
+ 'skip$
+ if$
+ adddoiresolver doi empty$ not and
+ { format.doi output.nonnull }
+ 'skip$
+ if$
+ addpubmedresolver pubmed empty$ not and
+ { format.pubmed output.nonnull }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+% Wrapper for output.bibitem.original.
+% If the URL field is not empty, set makeinlinelink to be true,
+% so that an inline link will be started at the next opportunity
+FUNCTION {output.bibitem}
+{ outside.brackets 'bracket.state :=
+ output.bibitem.original
+ inlinelinks url empty$ not doi empty$ not or pubmed empty$ not or eprint empty$ not or and
+ { #1 'makeinlinelink := }
+ { #0 'makeinlinelink := }
+ if$
+}
+
+% Wrapper for fin.entry.original
+FUNCTION {fin.entry}
+{ output.web.refs % urlbst
+ makeinlinelink % ooops, it appears we didn't have a title for inlinelink
+ { possibly.setup.inlinelink % add some artificial link text here, as a fallback
+ linktextstring output.nonnull }
+ 'skip$
+ if$
+ bracket.state close.brackets = % urlbst
+ { "]" * }
+ 'skip$
+ if$
+ fin.entry.original
+}
+
+% Webpage entry type.
+% Title and url fields required;
+% author, note, year, month, and lastchecked fields optional
+% See references
+% ISO 690-2 http://www.nlc-bnc.ca/iso/tc46sc9/standard/690-2e.htm
+% http://www.classroom.net/classroom/CitingNetResources.html
+% http://neal.ctstateu.edu/history/cite.html
+% http://www.cas.usf.edu/english/walker/mla.html
+% for citation formats for web pages.
+FUNCTION {webpage}
+{ output.bibitem
+ author empty$
+ { editor empty$
+ 'skip$ % author and editor both optional
+ { format.editors output.nonnull }
+ if$
+ }
+ { editor empty$
+ { format.authors output.nonnull }
+ { "can't use both author and editor fields in " cite$ * warning$ }
+ if$
+ }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$
+ format.title "title" output.check
+ inbrackets onlinestring output
+ new.block
+ year empty$
+ 'skip$
+ { format.date "year" output.check }
+ if$
+ % We don't need to output the URL details ('lastchecked' and 'url'),
+ % because fin.entry does that for us, using output.web.refs. The only
+ % reason we would want to put them here is if we were to decide that
+ % they should go in front of the rather miscellaneous information in 'note'.
+ new.block
+ note output
+ fin.entry
+}
+% ...urlbst to here
+
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ possibly.setup.inlinelink format.vol.num.pages output% urlbst
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Programming"}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Gr."}
+
+MACRO {toms} {"ACM Trans. Math. Softw."}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.urlbst.variables} % urlbst
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/urlbst/alphaurl.bst b/biblio/bibtex/contrib/urlbst/alphaurl.bst
new file mode 100644
index 0000000000..d8907b9708
--- /dev/null
+++ b/biblio/bibtex/contrib/urlbst/alphaurl.bst
@@ -0,0 +1,1624 @@
+%%% Modification of BibTeX style file /usr/local/texlive/2019/texmf-dist/bibtex/bst/base/alpha.bst
+%%% ... by urlbst, version 0.8 (marked with "% urlbst")
+%%% See <http://purl.org/nxg/dist/urlbst>
+%%% Modifications Copyright 2002-03, 2005-12, 2014, 2019, Norman Gray,
+%%% and distributed under the terms of the LPPL; see README for discussion.
+%%%
+%%% Added webpage entry type, and url and lastchecked fields.
+%%% Added eprint support.
+%%% Added DOI support.
+%%% Added PUBMED support.
+%%% Added hyperref support.
+%%% Original headers follow...
+
+% BibTeX standard bibliography style `alpha'
+ % Version 0.99b (8-Dec-10 release) for BibTeX versions 0.99a or later.
+ % Copyright (C) 1984, 1985, 1988, 2010 Howard Trickey and Oren Patashnik.
+ % Unlimited copying and redistribution of this file are permitted as long as
+ % it is unmodified. Modifications (and redistribution of modified versions)
+ % are also permitted, but only if the resulting file is renamed to something
+ % besides btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ eprint % urlbst
+ doi % urlbst
+ pubmed % urlbst
+ url % urlbst
+ lastchecked % urlbst
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+% urlbst...
+% urlbst constants and state variables
+STRINGS { urlintro
+ eprinturl eprintprefix doiprefix doiurl pubmedprefix pubmedurl
+ citedstring onlinestring linktextstring
+ openinlinelink closeinlinelink }
+INTEGERS { hrefform inlinelinks makeinlinelink
+ addeprints adddoiresolver addpubmedresolver }
+FUNCTION {init.urlbst.variables}
+{
+ % The following constants may be adjusted by hand, if desired
+
+ % The first set allow you to enable or disable certain functionality.
+ #1 'addeprints := % 0=no eprints; 1=include eprints
+ #1 'adddoiresolver := % 0=no DOI resolver; 1=include it
+ #1 'addpubmedresolver := % 0=no PUBMED resolver; 1=include it
+ #2 'hrefform := % 0=no crossrefs; 1=hypertex xrefs; 2=hyperref refs
+ #0 'inlinelinks := % 0=URLs explicit; 1=URLs attached to titles
+
+ % String constants, which you _might_ want to tweak.
+ "URL: " 'urlintro := % prefix before URL; typically "Available from:" or "URL":
+ "online" 'onlinestring := % indication that resource is online; typically "online"
+ "cited " 'citedstring := % indicator of citation date; typically "cited "
+ "[link]" 'linktextstring := % dummy link text; typically "[link]"
+ "http://arxiv.org/abs/" 'eprinturl := % prefix to make URL from eprint ref
+ "arXiv:" 'eprintprefix := % text prefix printed before eprint ref; typically "arXiv:"
+ "https://doi.org/" 'doiurl := % prefix to make URL from DOI
+ "doi:" 'doiprefix := % text prefix printed before DOI ref; typically "doi:"
+ "http://www.ncbi.nlm.nih.gov/pubmed/" 'pubmedurl := % prefix to make URL from PUBMED
+ "PMID:" 'pubmedprefix := % text prefix printed before PUBMED ref; typically "PMID:"
+
+ % The following are internal state variables, not configuration constants,
+ % so they shouldn't be fiddled with.
+ #0 'makeinlinelink := % state variable managed by possibly.setup.inlinelink
+ "" 'openinlinelink := % ditto
+ "" 'closeinlinelink := % ditto
+}
+INTEGERS {
+ bracket.state
+ outside.brackets
+ open.brackets
+ within.brackets
+ close.brackets
+}
+% ...urlbst to here
+FUNCTION {init.state.consts}
+{ #0 'outside.brackets := % urlbst...
+ #1 'open.brackets :=
+ #2 'within.brackets :=
+ #3 'close.brackets := % ...urlbst to here
+
+ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+% urlbst
+FUNCTION {output.nonnull.original}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+% urlbst...
+% The following three functions are for handling inlinelink. They wrap
+% a block of text which is potentially output with write$ by multiple
+% other functions, so we don't know the content a priori.
+% They communicate between each other using the variables makeinlinelink
+% (which is true if a link should be made), and closeinlinelink (which holds
+% the string which should close any current link. They can be called
+% at any time, but start.inlinelink will be a no-op unless something has
+% previously set makeinlinelink true, and the two ...end.inlinelink functions
+% will only do their stuff if start.inlinelink has previously set
+% closeinlinelink to be non-empty.
+% (thanks to 'ijvm' for suggested code here)
+FUNCTION {uand}
+{ 'skip$ { pop$ #0 } if$ } % 'and' (which isn't defined at this point in the file)
+FUNCTION {possibly.setup.inlinelink}
+{ makeinlinelink hrefform #0 > uand
+ { doi empty$ adddoiresolver uand
+ { pubmed empty$ addpubmedresolver uand
+ { eprint empty$ addeprints uand
+ { url empty$
+ { "" }
+ { url }
+ if$ }
+ { eprinturl eprint * }
+ if$ }
+ { pubmedurl pubmed * }
+ if$ }
+ { doiurl doi * }
+ if$
+ % an appropriately-formatted URL is now on the stack
+ hrefform #1 = % hypertex
+ { "\special {html:<a href=" quote$ * swap$ * quote$ * "> }{" * 'openinlinelink :=
+ "\special {html:</a>}" 'closeinlinelink := }
+ { "\href {" swap$ * "} {" * 'openinlinelink := % hrefform=#2 -- hyperref
+ % the space between "} {" matters: a URL of just the right length can cause "\% newline em"
+ "}" 'closeinlinelink := }
+ if$
+ #0 'makeinlinelink :=
+ }
+ 'skip$
+ if$ % makeinlinelink
+}
+FUNCTION {add.inlinelink}
+{ openinlinelink empty$
+ 'skip$
+ { openinlinelink swap$ * closeinlinelink *
+ "" 'openinlinelink :=
+ }
+ if$
+}
+FUNCTION {output.nonnull}
+{ % Save the thing we've been asked to output
+ 's :=
+ % If the bracket-state is close.brackets, then add a close-bracket to
+ % what is currently at the top of the stack, and set bracket.state
+ % to outside.brackets
+ bracket.state close.brackets =
+ { "]" *
+ outside.brackets 'bracket.state :=
+ }
+ 'skip$
+ if$
+ bracket.state outside.brackets =
+ { % We're outside all brackets -- this is the normal situation.
+ % Write out what's currently at the top of the stack, using the
+ % original output.nonnull function.
+ s
+ add.inlinelink
+ output.nonnull.original % invoke the original output.nonnull
+ }
+ { % Still in brackets. Add open-bracket or (continuation) comma, add the
+ % new text (in s) to the top of the stack, and move to the close-brackets
+ % state, ready for next time (unless inbrackets resets it). If we come
+ % into this branch, then output.state is carefully undisturbed.
+ bracket.state open.brackets =
+ { " [" * }
+ { ", " * } % bracket.state will be within.brackets
+ if$
+ s *
+ close.brackets 'bracket.state :=
+ }
+ if$
+}
+
+% Call this function just before adding something which should be presented in
+% brackets. bracket.state is handled specially within output.nonnull.
+FUNCTION {inbrackets}
+{ bracket.state close.brackets =
+ { within.brackets 'bracket.state := } % reset the state: not open nor closed
+ { open.brackets 'bracket.state := }
+ if$
+}
+
+FUNCTION {format.lastchecked}
+{ lastchecked empty$
+ { "" }
+ { inbrackets citedstring lastchecked * }
+ if$
+}
+% ...urlbst to here
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem.original} % urlbst (renamed from output.bibitem, so it can be wrapped below)
+{ newline$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry.original} % urlbst (renamed from fin.entry, so it can be wrapped below)
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+% urlbst...
+% Functions for making hypertext links.
+% In all cases, the stack has (link-text href-url)
+%
+% make 'null' specials
+FUNCTION {make.href.null}
+{
+ pop$
+}
+% make hypertex specials
+FUNCTION {make.href.hypertex}
+{
+ "\special {html:<a href=" quote$ *
+ swap$ * quote$ * "> }" * swap$ *
+ "\special {html:</a>}" *
+}
+% make hyperref specials
+FUNCTION {make.href.hyperref}
+{
+ "\href {" swap$ * "} {\path{" * swap$ * "}}" *
+}
+FUNCTION {make.href}
+{ hrefform #2 =
+ 'make.href.hyperref % hrefform = 2
+ { hrefform #1 =
+ 'make.href.hypertex % hrefform = 1
+ 'make.href.null % hrefform = 0 (or anything else)
+ if$
+ }
+ if$
+}
+
+% If inlinelinks is true, then format.url should be a no-op, since it's
+% (a) redundant, and (b) could end up as a link-within-a-link.
+FUNCTION {format.url}
+{ inlinelinks #1 = url empty$ or
+ { "" }
+ { hrefform #1 =
+ { % special case -- add HyperTeX specials
+ urlintro "\url{" url * "}" * url make.href.hypertex * }
+ { urlintro "\url{" * url * "}" * }
+ if$
+ }
+ if$
+}
+FUNCTION {format.eprint}
+{ eprint empty$
+ { "" }
+ { eprintprefix eprint * eprinturl eprint * make.href }
+ if$
+}
+
+FUNCTION {format.doi}
+{ doi empty$
+ { "" }
+ { doiprefix doi * doiurl doi * make.href }
+ if$
+}
+
+FUNCTION {format.pubmed}
+{ pubmed empty$
+ { "" }
+ { pubmedprefix pubmed * pubmedurl pubmed * make.href }
+ if$
+}
+
+% Output a URL. We can't use the more normal idiom (something like
+% `format.url output'), because the `inbrackets' within
+% format.lastchecked applies to everything between calls to `output',
+% so that `format.url format.lastchecked * output' ends up with both
+% the URL and the lastchecked in brackets.
+FUNCTION {output.url}
+{ url empty$
+ 'skip$
+ { new.block
+ format.url output
+ format.lastchecked output
+ }
+ if$
+}
+
+FUNCTION {output.web.refs}
+{
+ new.block
+ inlinelinks
+ 'skip$ % links were inline -- don't repeat them
+ { % If the generated DOI will be the same as the URL,
+ % then don't print the URL (thanks to Joseph Wright for this code,
+ % at http://tex.stackexchange.com/questions/5660)
+ adddoiresolver
+ doiurl doi empty$ { "X" } { doi } if$ * % DOI URL to be generated
+ url empty$ { "Y" } { url } if$ % the URL, or "Y" if empty
+ = % are the strings equal?
+ and
+ 'skip$
+ { output.url }
+ if$
+ addeprints eprint empty$ not and
+ { format.eprint output.nonnull }
+ 'skip$
+ if$
+ adddoiresolver doi empty$ not and
+ { format.doi output.nonnull }
+ 'skip$
+ if$
+ addpubmedresolver pubmed empty$ not and
+ { format.pubmed output.nonnull }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+% Wrapper for output.bibitem.original.
+% If the URL field is not empty, set makeinlinelink to be true,
+% so that an inline link will be started at the next opportunity
+FUNCTION {output.bibitem}
+{ outside.brackets 'bracket.state :=
+ output.bibitem.original
+ inlinelinks url empty$ not doi empty$ not or pubmed empty$ not or eprint empty$ not or and
+ { #1 'makeinlinelink := }
+ { #0 'makeinlinelink := }
+ if$
+}
+
+% Wrapper for fin.entry.original
+FUNCTION {fin.entry}
+{ output.web.refs % urlbst
+ makeinlinelink % ooops, it appears we didn't have a title for inlinelink
+ { possibly.setup.inlinelink % add some artificial link text here, as a fallback
+ linktextstring output.nonnull }
+ 'skip$
+ if$
+ bracket.state close.brackets = % urlbst
+ { "]" * }
+ 'skip$
+ if$
+ fin.entry.original
+}
+
+% Webpage entry type.
+% Title and url fields required;
+% author, note, year, month, and lastchecked fields optional
+% See references
+% ISO 690-2 http://www.nlc-bnc.ca/iso/tc46sc9/standard/690-2e.htm
+% http://www.classroom.net/classroom/CitingNetResources.html
+% http://neal.ctstateu.edu/history/cite.html
+% http://www.cas.usf.edu/english/walker/mla.html
+% for citation formats for web pages.
+FUNCTION {webpage}
+{ output.bibitem
+ author empty$
+ { editor empty$
+ 'skip$ % author and editor both optional
+ { format.editors output.nonnull }
+ if$
+ }
+ { editor empty$
+ { format.authors output.nonnull }
+ { "can't use both author and editor fields in " cite$ * warning$ }
+ if$
+ }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$
+ format.title "title" output.check
+ inbrackets onlinestring output
+ new.block
+ year empty$
+ 'skip$
+ { format.date "year" output.check }
+ if$
+ % We don't need to output the URL details ('lastchecked' and 'url'),
+ % because fin.entry does that for us, using output.web.refs. The only
+ % reason we would want to put them here is if we were to decide that
+ % they should go in front of the rather miscellaneous information in 'note'.
+ new.block
+ note output
+ fin.entry
+}
+% ...urlbst to here
+
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ possibly.setup.inlinelink format.vol.num.pages output% urlbst
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ year field.or.null purify$ #-1 #2 substring$
+ *
+ 'label :=
+ year field.or.null purify$ #-1 #4 substring$
+ *
+ sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{ et.al.char.used
+ { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+ 'skip$
+ if$
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.urlbst.variables} % urlbst
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/urlbst/configure b/biblio/bibtex/contrib/urlbst/configure
new file mode 100644
index 0000000000..f02879bc57
--- /dev/null
+++ b/biblio/bibtex/contrib/urlbst/configure
@@ -0,0 +1,2985 @@
+#! /bin/sh
+# From configure.ac @PACKAGE_VERSION@.
+# Guess values for system-dependent variables and create Makefiles.
+# Generated by GNU Autoconf 2.69 for urlbst 0.8.
+#
+# Report bugs to <norman@astro.gla.ac.uk>.
+#
+#
+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
+#
+#
+# This configure script is free software; the Free Software Foundation
+# gives unlimited permission to copy, distribute and modify it.
+## -------------------- ##
+## M4sh Initialization. ##
+## -------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in #(
+ *posix*) :
+ set -o posix ;; #(
+ *) :
+ ;;
+esac
+fi
+
+
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='print -r --'
+ as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+else
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+ as_echo_n='/usr/ucb/echo -n'
+ else
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+ as_echo_n_body='eval
+ arg=$1;
+ case $arg in #(
+ *"$as_nl"*)
+ expr "X$arg" : "X\\(.*\\)$as_nl";
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+ esac;
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+ '
+ export as_echo_n_body
+ as_echo_n='sh -c $as_echo_n_body as_echo'
+ fi
+ export as_echo_body
+ as_echo='sh -c $as_echo_body as_echo'
+fi
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+ PATH_SEPARATOR=';'
+ }
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" "" $as_nl"
+
+# Find who we are. Look in the path if we contain no directory separator.
+as_myself=
+case $0 in #((
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+ as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ exit 1
+fi
+
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there. '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+# Use a proper internal environment variable to ensure we don't fall
+ # into an infinite loop, continuously re-executing ourselves.
+ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
+ _as_can_reexec=no; export _as_can_reexec;
+ # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # ((((
+ *v*x* | *x*v* ) as_opts=-vx ;;
+ *v* ) as_opts=-v ;;
+ *x* ) as_opts=-x ;;
+ * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+as_fn_exit 255
+ fi
+ # We don't want this to propagate to other subprocesses.
+ { _as_can_reexec=; unset _as_can_reexec;}
+if test "x$CONFIG_SHELL" = x; then
+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '\${1+\"\$@\"}'='\"\$@\"'
+ setopt NO_GLOB_SUBST
+else
+ case \`(set -o) 2>/dev/null\` in #(
+ *posix*) :
+ set -o posix ;; #(
+ *) :
+ ;;
+esac
+fi
+"
+ as_required="as_fn_return () { (exit \$1); }
+as_fn_success () { as_fn_return 0; }
+as_fn_failure () { as_fn_return 1; }
+as_fn_ret_success () { return 0; }
+as_fn_ret_failure () { return 1; }
+
+exitcode=0
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
+
+else
+ exitcode=1; echo positional parameters were not saved.
+fi
+test x\$exitcode = x0 || exit 1
+test -x / || exit 1"
+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
+ if (eval "$as_required") 2>/dev/null; then :
+ as_have_required=yes
+else
+ as_have_required=no
+fi
+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
+
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+as_found=false
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ as_found=:
+ case $as_dir in #(
+ /*)
+ for as_base in sh bash ksh sh5; do
+ # Try only shells that exist, to save several forks.
+ as_shell=$as_dir/$as_base
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
+ CONFIG_SHELL=$as_shell as_have_required=yes
+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
+ break 2
+fi
+fi
+ done;;
+ esac
+ as_found=false
+done
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
+ CONFIG_SHELL=$SHELL as_have_required=yes
+fi; }
+IFS=$as_save_IFS
+
+
+ if test "x$CONFIG_SHELL" != x; then :
+ export CONFIG_SHELL
+ # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # ((((
+ *v*x* | *x*v* ) as_opts=-vx ;;
+ *v* ) as_opts=-v ;;
+ *x* ) as_opts=-x ;;
+ * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+exit 255
+fi
+
+ if test x$as_have_required = xno; then :
+ $as_echo "$0: This script requires a shell more modern than all"
+ $as_echo "$0: the shells that I found on your system."
+ if test x${ZSH_VERSION+set} = xset ; then
+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
+ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
+ else
+ $as_echo "$0: Please tell bug-autoconf@gnu.org and
+$0: norman@astro.gla.ac.uk about your system, including any
+$0: error possibly output before this message. Then install
+$0: a modern shell, or manually run the script under such a
+$0: shell if you do have one."
+ fi
+ exit 1
+fi
+fi
+fi
+SHELL=${CONFIG_SHELL-/bin/sh}
+export SHELL
+# Unset more variables known to interfere with behavior of common tools.
+CLICOLOR_FORCE= GREP_OPTIONS=
+unset CLICOLOR_FORCE GREP_OPTIONS
+
+## --------------------- ##
+## M4sh Shell Functions. ##
+## --------------------- ##
+# as_fn_unset VAR
+# ---------------
+# Portably unset VAR.
+as_fn_unset ()
+{
+ { eval $1=; unset $1;}
+}
+as_unset=as_fn_unset
+
+# as_fn_set_status STATUS
+# -----------------------
+# Set $? to STATUS, without forking.
+as_fn_set_status ()
+{
+ return $1
+} # as_fn_set_status
+
+# as_fn_exit STATUS
+# -----------------
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
+as_fn_exit ()
+{
+ set +e
+ as_fn_set_status $1
+ exit $1
+} # as_fn_exit
+
+# as_fn_mkdir_p
+# -------------
+# Create "$as_dir" as a directory, including parents if necessary.
+as_fn_mkdir_p ()
+{
+
+ case $as_dir in #(
+ -*) as_dir=./$as_dir;;
+ esac
+ test -d "$as_dir" || eval $as_mkdir_p || {
+ as_dirs=
+ while :; do
+ case $as_dir in #(
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+ *) as_qdir=$as_dir;;
+ esac
+ as_dirs="'$as_qdir' $as_dirs"
+ as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ test -d "$as_dir" && break
+ done
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+
+
+} # as_fn_mkdir_p
+
+# as_fn_executable_p FILE
+# -----------------------
+# Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+ test -f "$1" && test -x "$1"
+} # as_fn_executable_p
+# as_fn_append VAR VALUE
+# ----------------------
+# Append the text in VALUE to the end of the definition contained in VAR. Take
+# advantage of any shell optimizations that allow amortized linear growth over
+# repeated appends, instead of the typical quadratic growth present in naive
+# implementations.
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
+ eval 'as_fn_append ()
+ {
+ eval $1+=\$2
+ }'
+else
+ as_fn_append ()
+ {
+ eval $1=\$$1\$2
+ }
+fi # as_fn_append
+
+# as_fn_arith ARG...
+# ------------------
+# Perform arithmetic evaluation on the ARGs, and store the result in the
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
+# must be portable across $(()) and expr.
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
+ eval 'as_fn_arith ()
+ {
+ as_val=$(( $* ))
+ }'
+else
+ as_fn_arith ()
+ {
+ as_val=`expr "$@" || test $? -eq 1`
+ }
+fi # as_fn_arith
+
+
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
+# ----------------------------------------
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
+# script with STATUS, using 1 if that was 0.
+as_fn_error ()
+{
+ as_status=$1; test $as_status -eq 0 && as_status=1
+ if test "$4"; then
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+ fi
+ $as_echo "$as_me: error: $2" >&2
+ as_fn_exit $as_status
+} # as_fn_error
+
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
+
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+
+ as_lineno_1=$LINENO as_lineno_1a=$LINENO
+ as_lineno_2=$LINENO as_lineno_2a=$LINENO
+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
+ sed -n '
+ p
+ /[$]LINENO/=
+ ' <$as_myself |
+ sed '
+ s/[$]LINENO.*/&-/
+ t lineno
+ b
+ :lineno
+ N
+ :loop
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
+ t loop
+ s/-\n.*//
+ ' >$as_me.lineno &&
+ chmod +x "$as_me.lineno" ||
+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
+
+ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
+ # already done that, so ensure we don't try to do so again and fall
+ # in an infinite loop. This has already happened in practice.
+ _as_can_reexec=no; export _as_can_reexec
+ # Don't try to exec as it changes $[0], causing all sort of problems
+ # (the dirname of $[0] is not the place where we might find the
+ # original and so on. Autoconf is especially sensitive to this).
+ . "./$as_me.lineno"
+ # Exit status is that of the last command.
+ exit
+}
+
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in #(((((
+-n*)
+ case `echo 'xy\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+ xy) ECHO_C='\c';;
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
+ ECHO_T=' ';;
+ esac;;
+*)
+ ECHO_N='-n';;
+esac
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+else
+ rm -f conf$$.dir
+ mkdir conf$$.dir 2>/dev/null
+fi
+if (echo >conf$$.file) 2>/dev/null; then
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s='ln -s'
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+ # In both cases, we have to default to `cp -pR'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+ as_ln_s='cp -pR'
+ elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+ else
+ as_ln_s='cp -pR'
+ fi
+else
+ as_ln_s='cp -pR'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p='mkdir -p "$as_dir"'
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+
+test -n "$DJDIR" || exec 7<&0 </dev/null
+exec 6>&1
+
+# Name of the host.
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
+# so uname gets run too.
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
+
+#
+# Initializations.
+#
+ac_default_prefix=/usr/local
+ac_clean_files=
+ac_config_libobj_dir=.
+LIBOBJS=
+cross_compiling=no
+subdirs=
+MFLAGS=
+MAKEFLAGS=
+
+# Identity of this package.
+PACKAGE_NAME='urlbst'
+PACKAGE_TARNAME='urlbst'
+PACKAGE_VERSION='0.8'
+PACKAGE_STRING='urlbst 0.8'
+PACKAGE_BUGREPORT='norman@astro.gla.ac.uk'
+PACKAGE_URL=''
+
+ac_unique_file="urlbst.in"
+ac_subst_vars='LTLIBOBJS
+LIBOBJS
+WITHHREF
+PUBMEDURL
+WITHPUBMEDRESOLVER
+DOIURL
+WITHDOIRESOLVER
+EPRINTURL
+WITHEPRINTS
+PERL
+COPYRIGHTYEARS
+RELEASEDATE
+target_alias
+host_alias
+build_alias
+LIBS
+ECHO_T
+ECHO_N
+ECHO_C
+DEFS
+mandir
+localedir
+libdir
+psdir
+pdfdir
+dvidir
+htmldir
+infodir
+docdir
+oldincludedir
+includedir
+localstatedir
+sharedstatedir
+sysconfdir
+datadir
+datarootdir
+libexecdir
+sbindir
+bindir
+program_transform_name
+prefix
+exec_prefix
+PACKAGE_URL
+PACKAGE_BUGREPORT
+PACKAGE_STRING
+PACKAGE_VERSION
+PACKAGE_TARNAME
+PACKAGE_NAME
+PATH_SEPARATOR
+SHELL'
+ac_subst_files=''
+ac_user_opts='
+enable_option_checking
+with_eprints
+with_doi
+with_pubmed
+with_href
+'
+ ac_precious_vars='build_alias
+host_alias
+target_alias'
+
+
+# Initialize some variables set by options.
+ac_init_help=
+ac_init_version=false
+ac_unrecognized_opts=
+ac_unrecognized_sep=
+# The variables have the same names as the options, with
+# dashes changed to underlines.
+cache_file=/dev/null
+exec_prefix=NONE
+no_create=
+no_recursion=
+prefix=NONE
+program_prefix=NONE
+program_suffix=NONE
+program_transform_name=s,x,x,
+silent=
+site=
+srcdir=
+verbose=
+x_includes=NONE
+x_libraries=NONE
+
+# Installation directory options.
+# These are left unexpanded so users can "make install exec_prefix=/foo"
+# and all the variables that are supposed to be based on exec_prefix
+# by default will actually change.
+# Use braces instead of parens because sh, perl, etc. also accept them.
+# (The list follows the same order as the GNU Coding Standards.)
+bindir='${exec_prefix}/bin'
+sbindir='${exec_prefix}/sbin'
+libexecdir='${exec_prefix}/libexec'
+datarootdir='${prefix}/share'
+datadir='${datarootdir}'
+sysconfdir='${prefix}/etc'
+sharedstatedir='${prefix}/com'
+localstatedir='${prefix}/var'
+includedir='${prefix}/include'
+oldincludedir='/usr/include'
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
+infodir='${datarootdir}/info'
+htmldir='${docdir}'
+dvidir='${docdir}'
+pdfdir='${docdir}'
+psdir='${docdir}'
+libdir='${exec_prefix}/lib'
+localedir='${datarootdir}/locale'
+mandir='${datarootdir}/man'
+
+ac_prev=
+ac_dashdash=
+for ac_option
+do
+ # If the previous option needs an argument, assign it.
+ if test -n "$ac_prev"; then
+ eval $ac_prev=\$ac_option
+ ac_prev=
+ continue
+ fi
+
+ case $ac_option in
+ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
+ *=) ac_optarg= ;;
+ *) ac_optarg=yes ;;
+ esac
+
+ # Accept the important Cygnus configure options, so we can diagnose typos.
+
+ case $ac_dashdash$ac_option in
+ --)
+ ac_dashdash=yes ;;
+
+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
+ ac_prev=bindir ;;
+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
+ bindir=$ac_optarg ;;
+
+ -build | --build | --buil | --bui | --bu)
+ ac_prev=build_alias ;;
+ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
+ build_alias=$ac_optarg ;;
+
+ -cache-file | --cache-file | --cache-fil | --cache-fi \
+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
+ ac_prev=cache_file ;;
+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
+ cache_file=$ac_optarg ;;
+
+ --config-cache | -C)
+ cache_file=config.cache ;;
+
+ -datadir | --datadir | --datadi | --datad)
+ ac_prev=datadir ;;
+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
+ datadir=$ac_optarg ;;
+
+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
+ | --dataroo | --dataro | --datar)
+ ac_prev=datarootdir ;;
+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
+ datarootdir=$ac_optarg ;;
+
+ -disable-* | --disable-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid feature name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"enable_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval enable_$ac_useropt=no ;;
+
+ -docdir | --docdir | --docdi | --doc | --do)
+ ac_prev=docdir ;;
+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
+ docdir=$ac_optarg ;;
+
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
+ ac_prev=dvidir ;;
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
+ dvidir=$ac_optarg ;;
+
+ -enable-* | --enable-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid feature name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"enable_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval enable_$ac_useropt=\$ac_optarg ;;
+
+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
+ | --exec | --exe | --ex)
+ ac_prev=exec_prefix ;;
+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
+ | --exec=* | --exe=* | --ex=*)
+ exec_prefix=$ac_optarg ;;
+
+ -gas | --gas | --ga | --g)
+ # Obsolete; use --with-gas.
+ with_gas=yes ;;
+
+ -help | --help | --hel | --he | -h)
+ ac_init_help=long ;;
+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
+ ac_init_help=recursive ;;
+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
+ ac_init_help=short ;;
+
+ -host | --host | --hos | --ho)
+ ac_prev=host_alias ;;
+ -host=* | --host=* | --hos=* | --ho=*)
+ host_alias=$ac_optarg ;;
+
+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
+ ac_prev=htmldir ;;
+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
+ | --ht=*)
+ htmldir=$ac_optarg ;;
+
+ -includedir | --includedir | --includedi | --included | --include \
+ | --includ | --inclu | --incl | --inc)
+ ac_prev=includedir ;;
+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
+ | --includ=* | --inclu=* | --incl=* | --inc=*)
+ includedir=$ac_optarg ;;
+
+ -infodir | --infodir | --infodi | --infod | --info | --inf)
+ ac_prev=infodir ;;
+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
+ infodir=$ac_optarg ;;
+
+ -libdir | --libdir | --libdi | --libd)
+ ac_prev=libdir ;;
+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
+ libdir=$ac_optarg ;;
+
+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
+ | --libexe | --libex | --libe)
+ ac_prev=libexecdir ;;
+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
+ | --libexe=* | --libex=* | --libe=*)
+ libexecdir=$ac_optarg ;;
+
+ -localedir | --localedir | --localedi | --localed | --locale)
+ ac_prev=localedir ;;
+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
+ localedir=$ac_optarg ;;
+
+ -localstatedir | --localstatedir | --localstatedi | --localstated \
+ | --localstate | --localstat | --localsta | --localst | --locals)
+ ac_prev=localstatedir ;;
+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
+ localstatedir=$ac_optarg ;;
+
+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
+ ac_prev=mandir ;;
+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
+ mandir=$ac_optarg ;;
+
+ -nfp | --nfp | --nf)
+ # Obsolete; use --without-fp.
+ with_fp=no ;;
+
+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
+ | --no-cr | --no-c | -n)
+ no_create=yes ;;
+
+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
+ no_recursion=yes ;;
+
+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
+ | --oldin | --oldi | --old | --ol | --o)
+ ac_prev=oldincludedir ;;
+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
+ oldincludedir=$ac_optarg ;;
+
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
+ ac_prev=prefix ;;
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
+ prefix=$ac_optarg ;;
+
+ -program-prefix | --program-prefix | --program-prefi | --program-pref \
+ | --program-pre | --program-pr | --program-p)
+ ac_prev=program_prefix ;;
+ -program-prefix=* | --program-prefix=* | --program-prefi=* \
+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
+ program_prefix=$ac_optarg ;;
+
+ -program-suffix | --program-suffix | --program-suffi | --program-suff \
+ | --program-suf | --program-su | --program-s)
+ ac_prev=program_suffix ;;
+ -program-suffix=* | --program-suffix=* | --program-suffi=* \
+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
+ program_suffix=$ac_optarg ;;
+
+ -program-transform-name | --program-transform-name \
+ | --program-transform-nam | --program-transform-na \
+ | --program-transform-n | --program-transform- \
+ | --program-transform | --program-transfor \
+ | --program-transfo | --program-transf \
+ | --program-trans | --program-tran \
+ | --progr-tra | --program-tr | --program-t)
+ ac_prev=program_transform_name ;;
+ -program-transform-name=* | --program-transform-name=* \
+ | --program-transform-nam=* | --program-transform-na=* \
+ | --program-transform-n=* | --program-transform-=* \
+ | --program-transform=* | --program-transfor=* \
+ | --program-transfo=* | --program-transf=* \
+ | --program-trans=* | --program-tran=* \
+ | --progr-tra=* | --program-tr=* | --program-t=*)
+ program_transform_name=$ac_optarg ;;
+
+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
+ ac_prev=pdfdir ;;
+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
+ pdfdir=$ac_optarg ;;
+
+ -psdir | --psdir | --psdi | --psd | --ps)
+ ac_prev=psdir ;;
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
+ psdir=$ac_optarg ;;
+
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ silent=yes ;;
+
+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
+ ac_prev=sbindir ;;
+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
+ | --sbi=* | --sb=*)
+ sbindir=$ac_optarg ;;
+
+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
+ | --sharedst | --shareds | --shared | --share | --shar \
+ | --sha | --sh)
+ ac_prev=sharedstatedir ;;
+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
+ | --sha=* | --sh=*)
+ sharedstatedir=$ac_optarg ;;
+
+ -site | --site | --sit)
+ ac_prev=site ;;
+ -site=* | --site=* | --sit=*)
+ site=$ac_optarg ;;
+
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
+ ac_prev=srcdir ;;
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
+ srcdir=$ac_optarg ;;
+
+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
+ | --syscon | --sysco | --sysc | --sys | --sy)
+ ac_prev=sysconfdir ;;
+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
+ sysconfdir=$ac_optarg ;;
+
+ -target | --target | --targe | --targ | --tar | --ta | --t)
+ ac_prev=target_alias ;;
+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
+ target_alias=$ac_optarg ;;
+
+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
+ verbose=yes ;;
+
+ -version | --version | --versio | --versi | --vers | -V)
+ ac_init_version=: ;;
+
+ -with-* | --with-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid package name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"with_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval with_$ac_useropt=\$ac_optarg ;;
+
+ -without-* | --without-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid package name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"with_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval with_$ac_useropt=no ;;
+
+ --x)
+ # Obsolete; use --with-x.
+ with_x=yes ;;
+
+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
+ | --x-incl | --x-inc | --x-in | --x-i)
+ ac_prev=x_includes ;;
+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
+ x_includes=$ac_optarg ;;
+
+ -x-libraries | --x-libraries | --x-librarie | --x-librari \
+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
+ ac_prev=x_libraries ;;
+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
+ x_libraries=$ac_optarg ;;
+
+ -*) as_fn_error $? "unrecognized option: \`$ac_option'
+Try \`$0 --help' for more information"
+ ;;
+
+ *=*)
+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
+ # Reject names that are not valid shell variable names.
+ case $ac_envvar in #(
+ '' | [0-9]* | *[!_$as_cr_alnum]* )
+ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
+ esac
+ eval $ac_envvar=\$ac_optarg
+ export $ac_envvar ;;
+
+ *)
+ # FIXME: should be removed in autoconf 3.0.
+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
+ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
+ ;;
+
+ esac
+done
+
+if test -n "$ac_prev"; then
+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
+ as_fn_error $? "missing argument to $ac_option"
+fi
+
+if test -n "$ac_unrecognized_opts"; then
+ case $enable_option_checking in
+ no) ;;
+ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
+ esac
+fi
+
+# Check all directory arguments for consistency.
+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
+ datadir sysconfdir sharedstatedir localstatedir includedir \
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
+ libdir localedir mandir
+do
+ eval ac_val=\$$ac_var
+ # Remove trailing slashes.
+ case $ac_val in
+ */ )
+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
+ eval $ac_var=\$ac_val;;
+ esac
+ # Be sure to have absolute directory names.
+ case $ac_val in
+ [\\/$]* | ?:[\\/]* ) continue;;
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
+ esac
+ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
+done
+
+# There might be people who depend on the old broken behavior: `$host'
+# used to hold the argument of --host etc.
+# FIXME: To remove some day.
+build=$build_alias
+host=$host_alias
+target=$target_alias
+
+# FIXME: To remove some day.
+if test "x$host_alias" != x; then
+ if test "x$build_alias" = x; then
+ cross_compiling=maybe
+ elif test "x$build_alias" != "x$host_alias"; then
+ cross_compiling=yes
+ fi
+fi
+
+ac_tool_prefix=
+test -n "$host_alias" && ac_tool_prefix=$host_alias-
+
+test "$silent" = yes && exec 6>/dev/null
+
+
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
+ac_ls_di=`ls -di .` &&
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
+ as_fn_error $? "working directory cannot be determined"
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
+ as_fn_error $? "pwd does not report name of working directory"
+
+
+# Find the source files, if location was not specified.
+if test -z "$srcdir"; then
+ ac_srcdir_defaulted=yes
+ # Try the directory containing this script, then the parent directory.
+ ac_confdir=`$as_dirname -- "$as_myself" ||
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_myself" : 'X\(//\)[^/]' \| \
+ X"$as_myself" : 'X\(//\)$' \| \
+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_myself" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ srcdir=$ac_confdir
+ if test ! -r "$srcdir/$ac_unique_file"; then
+ srcdir=..
+ fi
+else
+ ac_srcdir_defaulted=no
+fi
+if test ! -r "$srcdir/$ac_unique_file"; then
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
+ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
+fi
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
+ac_abs_confdir=`(
+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
+ pwd)`
+# When building in place, set srcdir=.
+if test "$ac_abs_confdir" = "$ac_pwd"; then
+ srcdir=.
+fi
+# Remove unnecessary trailing slashes from srcdir.
+# Double slashes in file names in object file debugging info
+# mess up M-x gdb in Emacs.
+case $srcdir in
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
+esac
+for ac_var in $ac_precious_vars; do
+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
+ eval ac_env_${ac_var}_value=\$${ac_var}
+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
+done
+
+#
+# Report the --help message.
+#
+if test "$ac_init_help" = "long"; then
+ # Omit some internal or obsolete options to make the list less imposing.
+ # This message is too long to be a string in the A/UX 3.1 sh.
+ cat <<_ACEOF
+\`configure' configures urlbst 0.8 to adapt to many kinds of systems.
+
+Usage: $0 [OPTION]... [VAR=VALUE]...
+
+To assign environment variables (e.g., CC, CFLAGS...), specify them as
+VAR=VALUE. See below for descriptions of some of the useful variables.
+
+Defaults for the options are specified in brackets.
+
+Configuration:
+ -h, --help display this help and exit
+ --help=short display options specific to this package
+ --help=recursive display the short help of all the included packages
+ -V, --version display version information and exit
+ -q, --quiet, --silent do not print \`checking ...' messages
+ --cache-file=FILE cache test results in FILE [disabled]
+ -C, --config-cache alias for \`--cache-file=config.cache'
+ -n, --no-create do not create output files
+ --srcdir=DIR find the sources in DIR [configure dir or \`..']
+
+Installation directories:
+ --prefix=PREFIX install architecture-independent files in PREFIX
+ [$ac_default_prefix]
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
+ [PREFIX]
+
+By default, \`make install' will install all the files in
+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
+for instance \`--prefix=\$HOME'.
+
+For better control, use the options below.
+
+Fine tuning of the installation directories:
+ --bindir=DIR user executables [EPREFIX/bin]
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
+ --libexecdir=DIR program executables [EPREFIX/libexec]
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
+ --libdir=DIR object code libraries [EPREFIX/lib]
+ --includedir=DIR C header files [PREFIX/include]
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
+ --infodir=DIR info documentation [DATAROOTDIR/info]
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
+ --mandir=DIR man documentation [DATAROOTDIR/man]
+ --docdir=DIR documentation root [DATAROOTDIR/doc/urlbst]
+ --htmldir=DIR html documentation [DOCDIR]
+ --dvidir=DIR dvi documentation [DOCDIR]
+ --pdfdir=DIR pdf documentation [DOCDIR]
+ --psdir=DIR ps documentation [DOCDIR]
+_ACEOF
+
+ cat <<\_ACEOF
+_ACEOF
+fi
+
+if test -n "$ac_init_help"; then
+ case $ac_init_help in
+ short | recursive ) echo "Configuration of urlbst 0.8:";;
+ esac
+ cat <<\_ACEOF
+
+Optional Packages:
+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
+ --with-eprints[=url] Include eprint support by default, giving optional URL
+ --with-doi=[=url] Include support for a DOI resolver by default, giving optional URL
+ --with-pubmed=[=url] Include support for a PUBMED resolver by default, giving optional URL
+ --with-href[=int] Include eprint hyperlinks (0/1/2=none/hypertex/hyperref)
+
+Report bugs to <norman@astro.gla.ac.uk>.
+_ACEOF
+ac_status=$?
+fi
+
+if test "$ac_init_help" = "recursive"; then
+ # If there are subdirs, report their specific --help.
+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
+ test -d "$ac_dir" ||
+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
+ continue
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+ cd "$ac_dir" || { ac_status=$?; continue; }
+ # Check for guested configure.
+ if test -f "$ac_srcdir/configure.gnu"; then
+ echo &&
+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
+ elif test -f "$ac_srcdir/configure"; then
+ echo &&
+ $SHELL "$ac_srcdir/configure" --help=recursive
+ else
+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
+ fi || ac_status=$?
+ cd "$ac_pwd" || { ac_status=$?; break; }
+ done
+fi
+
+test -n "$ac_init_help" && exit $ac_status
+if $ac_init_version; then
+ cat <<\_ACEOF
+urlbst configure 0.8
+generated by GNU Autoconf 2.69
+
+Copyright (C) 2012 Free Software Foundation, Inc.
+This configure script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it.
+_ACEOF
+ exit
+fi
+
+## ------------------------ ##
+## Autoconf initialization. ##
+## ------------------------ ##
+cat >config.log <<_ACEOF
+This file contains any messages produced by compilers while
+running configure, to aid debugging if configure makes a mistake.
+
+It was created by urlbst $as_me 0.8, which was
+generated by GNU Autoconf 2.69. Invocation command line was
+
+ $ $0 $@
+
+_ACEOF
+exec 5>>config.log
+{
+cat <<_ASUNAME
+## --------- ##
+## Platform. ##
+## --------- ##
+
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
+
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
+
+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
+
+_ASUNAME
+
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ $as_echo "PATH: $as_dir"
+ done
+IFS=$as_save_IFS
+
+} >&5
+
+cat >&5 <<_ACEOF
+
+
+## ----------- ##
+## Core tests. ##
+## ----------- ##
+
+_ACEOF
+
+
+# Keep a trace of the command line.
+# Strip out --no-create and --no-recursion so they do not pile up.
+# Strip out --silent because we don't want to record it for future runs.
+# Also quote any args containing shell meta-characters.
+# Make two passes to allow for proper duplicate-argument suppression.
+ac_configure_args=
+ac_configure_args0=
+ac_configure_args1=
+ac_must_keep_next=false
+for ac_pass in 1 2
+do
+ for ac_arg
+ do
+ case $ac_arg in
+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ continue ;;
+ *\'*)
+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ case $ac_pass in
+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
+ 2)
+ as_fn_append ac_configure_args1 " '$ac_arg'"
+ if test $ac_must_keep_next = true; then
+ ac_must_keep_next=false # Got value, back to normal.
+ else
+ case $ac_arg in
+ *=* | --config-cache | -C | -disable-* | --disable-* \
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
+ | -with-* | --with-* | -without-* | --without-* | --x)
+ case "$ac_configure_args0 " in
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
+ esac
+ ;;
+ -* ) ac_must_keep_next=true ;;
+ esac
+ fi
+ as_fn_append ac_configure_args " '$ac_arg'"
+ ;;
+ esac
+ done
+done
+{ ac_configure_args0=; unset ac_configure_args0;}
+{ ac_configure_args1=; unset ac_configure_args1;}
+
+# When interrupted or exit'd, cleanup temporary files, and complete
+# config.log. We remove comments because anyway the quotes in there
+# would cause problems or look ugly.
+# WARNING: Use '\'' to represent an apostrophe within the trap.
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
+trap 'exit_status=$?
+ # Save into config.log some information that might help in debugging.
+ {
+ echo
+
+ $as_echo "## ---------------- ##
+## Cache variables. ##
+## ---------------- ##"
+ echo
+ # The following way of writing the cache mishandles newlines in values,
+(
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) { eval $ac_var=; unset $ac_var;} ;;
+ esac ;;
+ esac
+ done
+ (set) 2>&1 |
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ sed -n \
+ "s/'\''/'\''\\\\'\'''\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
+ ;; #(
+ *)
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+)
+ echo
+
+ $as_echo "## ----------------- ##
+## Output variables. ##
+## ----------------- ##"
+ echo
+ for ac_var in $ac_subst_vars
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+ $as_echo "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+
+ if test -n "$ac_subst_files"; then
+ $as_echo "## ------------------- ##
+## File substitutions. ##
+## ------------------- ##"
+ echo
+ for ac_var in $ac_subst_files
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+ $as_echo "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+ fi
+
+ if test -s confdefs.h; then
+ $as_echo "## ----------- ##
+## confdefs.h. ##
+## ----------- ##"
+ echo
+ cat confdefs.h
+ echo
+ fi
+ test "$ac_signal" != 0 &&
+ $as_echo "$as_me: caught signal $ac_signal"
+ $as_echo "$as_me: exit $exit_status"
+ } >&5
+ rm -f core *.core core.conftest.* &&
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
+ exit $exit_status
+' 0
+for ac_signal in 1 2 13 15; do
+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
+done
+ac_signal=0
+
+# confdefs.h avoids OS command line length limits that DEFS can exceed.
+rm -f -r conftest* confdefs.h
+
+$as_echo "/* confdefs.h */" > confdefs.h
+
+# Predefined preprocessor variables.
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_NAME "$PACKAGE_NAME"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_VERSION "$PACKAGE_VERSION"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_STRING "$PACKAGE_STRING"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_URL "$PACKAGE_URL"
+_ACEOF
+
+
+# Let the site file select an alternate cache file if it wants to.
+# Prefer an explicitly selected file to automatically selected ones.
+ac_site_file1=NONE
+ac_site_file2=NONE
+if test -n "$CONFIG_SITE"; then
+ # We do not want a PATH search for config.site.
+ case $CONFIG_SITE in #((
+ -*) ac_site_file1=./$CONFIG_SITE;;
+ */*) ac_site_file1=$CONFIG_SITE;;
+ *) ac_site_file1=./$CONFIG_SITE;;
+ esac
+elif test "x$prefix" != xNONE; then
+ ac_site_file1=$prefix/share/config.site
+ ac_site_file2=$prefix/etc/config.site
+else
+ ac_site_file1=$ac_default_prefix/share/config.site
+ ac_site_file2=$ac_default_prefix/etc/config.site
+fi
+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
+do
+ test "x$ac_site_file" = xNONE && continue
+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
+ sed 's/^/| /' "$ac_site_file" >&5
+ . "$ac_site_file" \
+ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "failed to load site script $ac_site_file
+See \`config.log' for more details" "$LINENO" 5; }
+ fi
+done
+
+if test -r "$cache_file"; then
+ # Some versions of bash will fail to source /dev/null (special files
+ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
+$as_echo "$as_me: loading cache $cache_file" >&6;}
+ case $cache_file in
+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
+ *) . "./$cache_file";;
+ esac
+ fi
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
+$as_echo "$as_me: creating cache $cache_file" >&6;}
+ >$cache_file
+fi
+
+# Check that the precious variables saved in the cache have kept the same
+# value.
+ac_cache_corrupted=false
+for ac_var in $ac_precious_vars; do
+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
+ eval ac_new_set=\$ac_env_${ac_var}_set
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
+ eval ac_new_val=\$ac_env_${ac_var}_value
+ case $ac_old_set,$ac_new_set in
+ set,)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,set)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,);;
+ *)
+ if test "x$ac_old_val" != "x$ac_new_val"; then
+ # differences in whitespace do not lead to failure.
+ ac_old_val_w=`echo x $ac_old_val`
+ ac_new_val_w=`echo x $ac_new_val`
+ if test "$ac_old_val_w" != "$ac_new_val_w"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
+ ac_cache_corrupted=:
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
+ eval $ac_var=\$ac_old_val
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
+ fi;;
+ esac
+ # Pass precious variables to config.status.
+ if test "$ac_new_set" = set; then
+ case $ac_new_val in
+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
+ *) ac_arg=$ac_var=$ac_new_val ;;
+ esac
+ case " $ac_configure_args " in
+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
+ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
+ esac
+ fi
+done
+if $ac_cache_corrupted; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
+ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
+fi
+## -------------------- ##
+## Main body of script. ##
+## -------------------- ##
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+RELEASEDATE="2019 July 1"
+
+
+
+
+COPYRIGHTYEARS="2002-03, 2005-12, 2014, 2019"
+
+
+
+
+
+
+# Extract the first word of "perl", so it can be a program name with args.
+set dummy perl; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_PERL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $PERL in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+PERL=$ac_cv_path_PERL
+if test -n "$PERL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
+$as_echo "$PERL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+
+
+WITHEPRINTS=1
+
+EPRINTURL=http://arxiv.org/abs/
+
+
+WITHDOIRESOLVER=1
+
+DOIURL=https://doi.org/
+
+
+WITHPUBMEDRESOLVER=1
+
+PUBMEDURL=http://www.ncbi.nlm.nih.gov/pubmed/
+
+
+
+# Check whether --with-eprints was given.
+if test "${with_eprints+set}" = set; then :
+ withval=$with_eprints; if test "$withval" = "yes"; then
+ WITHEPRINTS=1
+ elif test "$withval" = "no"; then
+ WITHEPRINTS=0
+ else
+ WITHEPRINTS=1
+ EPRINTURL=$withval
+ fi
+fi
+
+
+
+# Check whether --with-doi was given.
+if test "${with_doi+set}" = set; then :
+ withval=$with_doi; if test "$withval" = yes; then
+ WITHDOIRESOLVER=1
+ elif test "$withval" = no; then
+ WITHDOIRESOLVER=0
+ else
+ WITHDOIRESOLVER=1
+ DOIURL=$withval
+ fi
+fi
+
+
+
+# Check whether --with-pubmed was given.
+if test "${with_pubmed+set}" = set; then :
+ withval=$with_pubmed; if test "$withval" = yes; then
+ WITHPUBMEDRESOLVER=1
+ elif test "$withval" = no; then
+ WITHPUBMEDRESOLVER=0
+ else
+ WITHPUBMEDRESOLVER=1
+ PUBMEDURL=$withval
+ fi
+fi
+
+
+
+WITHHREF=0
+
+
+
+# Check whether --with-href was given.
+if test "${with_href+set}" = set; then :
+ withval=$with_href; if test "$withval" = yes; then
+ WITHHREF=2
+ elif test "$withval" = no; then
+ WITHHREF=0
+ else
+ WITHHREF=$withval
+ fi
+fi
+
+
+
+ac_config_files="$ac_config_files Makefile"
+
+ac_config_files="$ac_config_files urlbst"
+
+
+cat >confcache <<\_ACEOF
+# This file is a shell script that caches the results of configure
+# tests run on this system so they can be shared between configure
+# scripts and configure runs, see configure's option --config-cache.
+# It is not useful on other systems. If it contains results you don't
+# want to keep, you may remove or edit it.
+#
+# config.status only pays attention to the cache file if you give it
+# the --recheck option to rerun configure.
+#
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
+# following values.
+
+_ACEOF
+
+# The following way of writing the cache mishandles newlines in values,
+# but we know of no workaround that is simple, portable, and efficient.
+# So, we kill variables containing newlines.
+# Ultrix sh set writes to stderr and can't be redirected directly,
+# and sets the high bit in the cache file unless we assign to the vars.
+(
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) { eval $ac_var=; unset $ac_var;} ;;
+ esac ;;
+ esac
+ done
+
+ (set) 2>&1 |
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ # `set' does not quote correctly, so add quotes: double-quote
+ # substitution turns \\\\ into \\, and sed turns \\ into \.
+ sed -n \
+ "s/'/'\\\\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
+ ;; #(
+ *)
+ # `set' quotes correctly as required by POSIX, so do not add quotes.
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+) |
+ sed '
+ /^ac_cv_env_/b end
+ t clear
+ :clear
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
+ t end
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
+ :end' >>confcache
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
+ if test -w "$cache_file"; then
+ if test "x$cache_file" != "x/dev/null"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
+$as_echo "$as_me: updating cache $cache_file" >&6;}
+ if test ! -f "$cache_file" || test -h "$cache_file"; then
+ cat confcache >"$cache_file"
+ else
+ case $cache_file in #(
+ */* | ?:*)
+ mv -f confcache "$cache_file"$$ &&
+ mv -f "$cache_file"$$ "$cache_file" ;; #(
+ *)
+ mv -f confcache "$cache_file" ;;
+ esac
+ fi
+ fi
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
+ fi
+fi
+rm -f confcache
+
+test "x$prefix" = xNONE && prefix=$ac_default_prefix
+# Let make expand exec_prefix.
+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
+
+# Transform confdefs.h into DEFS.
+# Protect against shell expansion while executing Makefile rules.
+# Protect against Makefile macro expansion.
+#
+# If the first sed substitution is executed (which looks for macros that
+# take arguments), then branch to the quote section. Otherwise,
+# look for a macro that doesn't take arguments.
+ac_script='
+:mline
+/\\$/{
+ N
+ s,\\\n,,
+ b mline
+}
+t clear
+:clear
+s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
+t quote
+s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
+t quote
+b any
+:quote
+s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
+s/\[/\\&/g
+s/\]/\\&/g
+s/\$/$$/g
+H
+:any
+${
+ g
+ s/^\n//
+ s/\n/ /g
+ p
+}
+'
+DEFS=`sed -n "$ac_script" confdefs.h`
+
+
+ac_libobjs=
+ac_ltlibobjs=
+U=
+for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
+ # 1. Remove the extension, and $U if already installed.
+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
+ # will be set to the directory where LIBOBJS objects are built.
+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
+done
+LIBOBJS=$ac_libobjs
+
+LTLIBOBJS=$ac_ltlibobjs
+
+
+
+: "${CONFIG_STATUS=./config.status}"
+ac_write_fail=0
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
+as_write_fail=0
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
+#! $SHELL
+# Generated by $as_me.
+# Run this file to recreate the current configuration.
+# Compiler output produced by configure, useful for debugging
+# configure, is in config.log if it exists.
+
+debug=false
+ac_cs_recheck=false
+ac_cs_silent=false
+
+SHELL=\${CONFIG_SHELL-$SHELL}
+export SHELL
+_ASEOF
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
+## -------------------- ##
+## M4sh Initialization. ##
+## -------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in #(
+ *posix*) :
+ set -o posix ;; #(
+ *) :
+ ;;
+esac
+fi
+
+
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='print -r --'
+ as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+else
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+ as_echo_n='/usr/ucb/echo -n'
+ else
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+ as_echo_n_body='eval
+ arg=$1;
+ case $arg in #(
+ *"$as_nl"*)
+ expr "X$arg" : "X\\(.*\\)$as_nl";
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+ esac;
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+ '
+ export as_echo_n_body
+ as_echo_n='sh -c $as_echo_n_body as_echo'
+ fi
+ export as_echo_body
+ as_echo='sh -c $as_echo_body as_echo'
+fi
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+ PATH_SEPARATOR=';'
+ }
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" "" $as_nl"
+
+# Find who we are. Look in the path if we contain no directory separator.
+as_myself=
+case $0 in #((
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+ as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ exit 1
+fi
+
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there. '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
+# ----------------------------------------
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
+# script with STATUS, using 1 if that was 0.
+as_fn_error ()
+{
+ as_status=$1; test $as_status -eq 0 && as_status=1
+ if test "$4"; then
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+ fi
+ $as_echo "$as_me: error: $2" >&2
+ as_fn_exit $as_status
+} # as_fn_error
+
+
+# as_fn_set_status STATUS
+# -----------------------
+# Set $? to STATUS, without forking.
+as_fn_set_status ()
+{
+ return $1
+} # as_fn_set_status
+
+# as_fn_exit STATUS
+# -----------------
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
+as_fn_exit ()
+{
+ set +e
+ as_fn_set_status $1
+ exit $1
+} # as_fn_exit
+
+# as_fn_unset VAR
+# ---------------
+# Portably unset VAR.
+as_fn_unset ()
+{
+ { eval $1=; unset $1;}
+}
+as_unset=as_fn_unset
+# as_fn_append VAR VALUE
+# ----------------------
+# Append the text in VALUE to the end of the definition contained in VAR. Take
+# advantage of any shell optimizations that allow amortized linear growth over
+# repeated appends, instead of the typical quadratic growth present in naive
+# implementations.
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
+ eval 'as_fn_append ()
+ {
+ eval $1+=\$2
+ }'
+else
+ as_fn_append ()
+ {
+ eval $1=\$$1\$2
+ }
+fi # as_fn_append
+
+# as_fn_arith ARG...
+# ------------------
+# Perform arithmetic evaluation on the ARGs, and store the result in the
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
+# must be portable across $(()) and expr.
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
+ eval 'as_fn_arith ()
+ {
+ as_val=$(( $* ))
+ }'
+else
+ as_fn_arith ()
+ {
+ as_val=`expr "$@" || test $? -eq 1`
+ }
+fi # as_fn_arith
+
+
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
+
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in #(((((
+-n*)
+ case `echo 'xy\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+ xy) ECHO_C='\c';;
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
+ ECHO_T=' ';;
+ esac;;
+*)
+ ECHO_N='-n';;
+esac
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+else
+ rm -f conf$$.dir
+ mkdir conf$$.dir 2>/dev/null
+fi
+if (echo >conf$$.file) 2>/dev/null; then
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s='ln -s'
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+ # In both cases, we have to default to `cp -pR'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+ as_ln_s='cp -pR'
+ elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+ else
+ as_ln_s='cp -pR'
+ fi
+else
+ as_ln_s='cp -pR'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+
+# as_fn_mkdir_p
+# -------------
+# Create "$as_dir" as a directory, including parents if necessary.
+as_fn_mkdir_p ()
+{
+
+ case $as_dir in #(
+ -*) as_dir=./$as_dir;;
+ esac
+ test -d "$as_dir" || eval $as_mkdir_p || {
+ as_dirs=
+ while :; do
+ case $as_dir in #(
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+ *) as_qdir=$as_dir;;
+ esac
+ as_dirs="'$as_qdir' $as_dirs"
+ as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ test -d "$as_dir" && break
+ done
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+
+
+} # as_fn_mkdir_p
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p='mkdir -p "$as_dir"'
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+
+# as_fn_executable_p FILE
+# -----------------------
+# Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+ test -f "$1" && test -x "$1"
+} # as_fn_executable_p
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+
+exec 6>&1
+## ----------------------------------- ##
+## Main body of $CONFIG_STATUS script. ##
+## ----------------------------------- ##
+_ASEOF
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# Save the log message, to keep $0 and so on meaningful, and to
+# report actual input values of CONFIG_FILES etc. instead of their
+# values after options handling.
+ac_log="
+This file was extended by urlbst $as_me 0.8, which was
+generated by GNU Autoconf 2.69. Invocation command line was
+
+ CONFIG_FILES = $CONFIG_FILES
+ CONFIG_HEADERS = $CONFIG_HEADERS
+ CONFIG_LINKS = $CONFIG_LINKS
+ CONFIG_COMMANDS = $CONFIG_COMMANDS
+ $ $0 $@
+
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
+"
+
+_ACEOF
+
+case $ac_config_files in *"
+"*) set x $ac_config_files; shift; ac_config_files=$*;;
+esac
+
+
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+# Files that config.status was made for.
+config_files="$ac_config_files"
+
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+ac_cs_usage="\
+\`$as_me' instantiates files and other configuration actions
+from templates according to the current configuration. Unless the files
+and actions are specified as TAGs, all are instantiated by default.
+
+Usage: $0 [OPTION]... [TAG]...
+
+ -h, --help print this help, then exit
+ -V, --version print version number and configuration settings, then exit
+ --config print configuration, then exit
+ -q, --quiet, --silent
+ do not print progress messages
+ -d, --debug don't remove temporary files
+ --recheck update $as_me by reconfiguring in the same conditions
+ --file=FILE[:TEMPLATE]
+ instantiate the configuration file FILE
+
+Configuration files:
+$config_files
+
+Report bugs to <norman@astro.gla.ac.uk>."
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
+ac_cs_version="\\
+urlbst config.status 0.8
+configured by $0, generated by GNU Autoconf 2.69,
+ with options \\"\$ac_cs_config\\"
+
+Copyright (C) 2012 Free Software Foundation, Inc.
+This config.status script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it."
+
+ac_pwd='$ac_pwd'
+srcdir='$srcdir'
+test -n "\$AWK" || AWK=awk
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# The default lists apply if the user does not specify any file.
+ac_need_defaults=:
+while test $# != 0
+do
+ case $1 in
+ --*=?*)
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
+ ac_shift=:
+ ;;
+ --*=)
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
+ ac_optarg=
+ ac_shift=:
+ ;;
+ *)
+ ac_option=$1
+ ac_optarg=$2
+ ac_shift=shift
+ ;;
+ esac
+
+ case $ac_option in
+ # Handling of the options.
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+ ac_cs_recheck=: ;;
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
+ $as_echo "$ac_cs_version"; exit ;;
+ --config | --confi | --conf | --con | --co | --c )
+ $as_echo "$ac_cs_config"; exit ;;
+ --debug | --debu | --deb | --de | --d | -d )
+ debug=: ;;
+ --file | --fil | --fi | --f )
+ $ac_shift
+ case $ac_optarg in
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ '') as_fn_error $? "missing file argument" ;;
+ esac
+ as_fn_append CONFIG_FILES " '$ac_optarg'"
+ ac_need_defaults=false;;
+ --he | --h | --help | --hel | -h )
+ $as_echo "$ac_cs_usage"; exit ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil | --si | --s)
+ ac_cs_silent=: ;;
+
+ # This is an error.
+ -*) as_fn_error $? "unrecognized option: \`$1'
+Try \`$0 --help' for more information." ;;
+
+ *) as_fn_append ac_config_targets " $1"
+ ac_need_defaults=false ;;
+
+ esac
+ shift
+done
+
+ac_configure_extra_args=
+
+if $ac_cs_silent; then
+ exec 6>/dev/null
+ ac_configure_extra_args="$ac_configure_extra_args --silent"
+fi
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+if \$ac_cs_recheck; then
+ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
+ shift
+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
+ CONFIG_SHELL='$SHELL'
+ export CONFIG_SHELL
+ exec "\$@"
+fi
+
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+exec 5>>config.log
+{
+ echo
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
+## Running $as_me. ##
+_ASBOX
+ $as_echo "$ac_log"
+} >&5
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+
+# Handling of arguments.
+for ac_config_target in $ac_config_targets
+do
+ case $ac_config_target in
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+ "urlbst") CONFIG_FILES="$CONFIG_FILES urlbst" ;;
+
+ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
+ esac
+done
+
+
+# If the user did not use the arguments to specify the items to instantiate,
+# then the envvar interface is used. Set only those that are not.
+# We use the long form for the default assignment because of an extremely
+# bizarre bug on SunOS 4.1.3.
+if $ac_need_defaults; then
+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
+fi
+
+# Have a temporary directory for convenience. Make it in the build tree
+# simply because there is no reason against having it here, and in addition,
+# creating and moving files from /tmp can sometimes cause problems.
+# Hook for its removal unless debugging.
+# Note that there is a small window in which the directory will not be cleaned:
+# after its creation but before its name has been assigned to `$tmp'.
+$debug ||
+{
+ tmp= ac_tmp=
+ trap 'exit_status=$?
+ : "${ac_tmp:=$tmp}"
+ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
+' 0
+ trap 'as_fn_exit 1' 1 2 13 15
+}
+# Create a (secure) tmp directory for tmp files.
+
+{
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
+ test -d "$tmp"
+} ||
+{
+ tmp=./conf$$-$RANDOM
+ (umask 077 && mkdir "$tmp")
+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
+ac_tmp=$tmp
+
+# Set up the scripts for CONFIG_FILES section.
+# No need to generate them if there are no CONFIG_FILES.
+# This happens for instance with `./config.status config.h'.
+if test -n "$CONFIG_FILES"; then
+
+
+ac_cr=`echo X | tr X '\015'`
+# On cygwin, bash can eat \r inside `` if the user requested igncr.
+# But we know of no other shell where ac_cr would be empty at this
+# point, so we can use a bashism as a fallback.
+if test "x$ac_cr" = x; then
+ eval ac_cr=\$\'\\r\'
+fi
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
+ ac_cs_awk_cr='\\r'
+else
+ ac_cs_awk_cr=$ac_cr
+fi
+
+echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
+_ACEOF
+
+
+{
+ echo "cat >conf$$subs.awk <<_ACEOF" &&
+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
+ echo "_ACEOF"
+} >conf$$subs.sh ||
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
+ac_delim='%!_!# '
+for ac_last_try in false false false false false :; do
+ . ./conf$$subs.sh ||
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+
+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
+ if test $ac_delim_n = $ac_delim_num; then
+ break
+ elif $ac_last_try; then
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ else
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
+ fi
+done
+rm -f conf$$subs.sh
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
+_ACEOF
+sed -n '
+h
+s/^/S["/; s/!.*/"]=/
+p
+g
+s/^[^!]*!//
+:repl
+t repl
+s/'"$ac_delim"'$//
+t delim
+:nl
+h
+s/\(.\{148\}\)..*/\1/
+t more1
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
+p
+n
+b repl
+:more1
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
+p
+g
+s/.\{148\}//
+t nl
+:delim
+h
+s/\(.\{148\}\)..*/\1/
+t more2
+s/["\\]/\\&/g; s/^/"/; s/$/"/
+p
+b
+:more2
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
+p
+g
+s/.\{148\}//
+t delim
+' <conf$$subs.awk | sed '
+/^[^""]/{
+ N
+ s/\n//
+}
+' >>$CONFIG_STATUS || ac_write_fail=1
+rm -f conf$$subs.awk
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+_ACAWK
+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
+ for (key in S) S_is_set[key] = 1
+ FS = ""
+
+}
+{
+ line = $ 0
+ nfields = split(line, field, "@")
+ substed = 0
+ len = length(field[1])
+ for (i = 2; i < nfields; i++) {
+ key = field[i]
+ keylen = length(key)
+ if (S_is_set[key]) {
+ value = S[key]
+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
+ len += length(value) + length(field[++i])
+ substed = 1
+ } else
+ len += 1 + keylen
+ }
+
+ print line
+}
+
+_ACAWK
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
+else
+ cat
+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
+ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
+_ACEOF
+
+# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
+# trailing colons and then remove the whole line if VPATH becomes empty
+# (actually we leave an empty line to preserve line numbers).
+if test "x$srcdir" = x.; then
+ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
+h
+s///
+s/^/:/
+s/[ ]*$/:/
+s/:\$(srcdir):/:/g
+s/:\${srcdir}:/:/g
+s/:@srcdir@:/:/g
+s/^:*//
+s/:*$//
+x
+s/\(=[ ]*\).*/\1/
+G
+s/\n//
+s/^[^=]*=[ ]*$//
+}'
+fi
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+fi # test -n "$CONFIG_FILES"
+
+
+eval set X " :F $CONFIG_FILES "
+shift
+for ac_tag
+do
+ case $ac_tag in
+ :[FHLC]) ac_mode=$ac_tag; continue;;
+ esac
+ case $ac_mode$ac_tag in
+ :[FHL]*:*);;
+ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
+ :[FH]-) ac_tag=-:-;;
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
+ esac
+ ac_save_IFS=$IFS
+ IFS=:
+ set x $ac_tag
+ IFS=$ac_save_IFS
+ shift
+ ac_file=$1
+ shift
+
+ case $ac_mode in
+ :L) ac_source=$1;;
+ :[FH])
+ ac_file_inputs=
+ for ac_f
+ do
+ case $ac_f in
+ -) ac_f="$ac_tmp/stdin";;
+ *) # Look for the file first in the build tree, then in the source tree
+ # (if the path is not absolute). The absolute path cannot be DOS-style,
+ # because $ac_f cannot contain `:'.
+ test -f "$ac_f" ||
+ case $ac_f in
+ [\\/$]*) false;;
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
+ esac ||
+ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
+ esac
+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
+ as_fn_append ac_file_inputs " '$ac_f'"
+ done
+
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
+ # use $as_me), people would be surprised to read:
+ # /* config.h. Generated by config.status. */
+ configure_input='Generated from '`
+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
+ `' by configure.'
+ if test x"$ac_file" != x-; then
+ configure_input="$ac_file. $configure_input"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
+$as_echo "$as_me: creating $ac_file" >&6;}
+ fi
+ # Neutralize special characters interpreted by sed in replacement strings.
+ case $configure_input in #(
+ *\&* | *\|* | *\\* )
+ ac_sed_conf_input=`$as_echo "$configure_input" |
+ sed 's/[\\\\&|]/\\\\&/g'`;; #(
+ *) ac_sed_conf_input=$configure_input;;
+ esac
+
+ case $ac_tag in
+ *:-:* | *:-) cat >"$ac_tmp/stdin" \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
+ esac
+ ;;
+ esac
+
+ ac_dir=`$as_dirname -- "$ac_file" ||
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$ac_file" : 'X\(//\)[^/]' \| \
+ X"$ac_file" : 'X\(//\)$' \| \
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$ac_file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ as_dir="$ac_dir"; as_fn_mkdir_p
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+
+ case $ac_mode in
+ :F)
+ #
+ # CONFIG_FILE
+ #
+
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# If the template does not know about datarootdir, expand it.
+# FIXME: This hack should be removed a few years after 2.60.
+ac_datarootdir_hack=; ac_datarootdir_seen=
+ac_sed_dataroot='
+/datarootdir/ {
+ p
+ q
+}
+/@datadir@/p
+/@docdir@/p
+/@infodir@/p
+/@localedir@/p
+/@mandir@/p'
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
+*datarootdir*) ac_datarootdir_seen=yes;;
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ ac_datarootdir_hack='
+ s&@datadir@&$datadir&g
+ s&@docdir@&$docdir&g
+ s&@infodir@&$infodir&g
+ s&@localedir@&$localedir&g
+ s&@mandir@&$mandir&g
+ s&\\\${datarootdir}&$datarootdir&g' ;;
+esac
+_ACEOF
+
+# Neutralize VPATH when `$srcdir' = `.'.
+# Shell code in configure.ac might set extrasub.
+# FIXME: do we really want to maintain this feature?
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_sed_extra="$ac_vpsub
+$extrasub
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+:t
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
+s|@configure_input@|$ac_sed_conf_input|;t t
+s&@top_builddir@&$ac_top_builddir_sub&;t t
+s&@top_build_prefix@&$ac_top_build_prefix&;t t
+s&@srcdir@&$ac_srcdir&;t t
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
+s&@top_srcdir@&$ac_top_srcdir&;t t
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
+s&@builddir@&$ac_builddir&;t t
+s&@abs_builddir@&$ac_abs_builddir&;t t
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
+$ac_datarootdir_hack
+"
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
+ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
+ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
+ "$ac_tmp/out"`; test -z "$ac_out"; } &&
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined. Please make sure it is defined" >&5
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined. Please make sure it is defined" >&2;}
+
+ rm -f "$ac_tmp/stdin"
+ case $ac_file in
+ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
+ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
+ esac \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ ;;
+
+
+
+ esac
+
+
+ case $ac_file$ac_mode in
+ "urlbst":F) chmod +x urlbst ;;
+
+ esac
+done # for ac_tag
+
+
+as_fn_exit 0
+_ACEOF
+ac_clean_files=$ac_clean_files_save
+
+test $ac_write_fail = 0 ||
+ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
+
+
+# configure is writing to config.log, and then calls config.status.
+# config.status does its own redirection, appending to config.log.
+# Unfortunately, on DOS this fails, as config.log is still kept open
+# by configure, so config.status won't be able to write to it; its
+# output is simply discarded. So we exec the FD to /dev/null,
+# effectively closing config.log, so it can be properly (re)opened and
+# appended to by config.status. When coming back to configure, we
+# need to make the FD available again.
+if test "$no_create" != yes; then
+ ac_cs_success=:
+ ac_config_status_args=
+ test "$silent" = yes &&
+ ac_config_status_args="$ac_config_status_args --quiet"
+ exec 5>/dev/null
+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
+ exec 5>>config.log
+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
+ # would make configure fail if this is the last instruction.
+ $ac_cs_success || as_fn_exit 1
+fi
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
+fi
+
diff --git a/biblio/bibtex/contrib/urlbst/configure.ac b/biblio/bibtex/contrib/urlbst/configure.ac
new file mode 100644
index 0000000000..d071556cb6
--- /dev/null
+++ b/biblio/bibtex/contrib/urlbst/configure.ac
@@ -0,0 +1,89 @@
+dnl Process this file with autoconf to produce a configure script
+AC_INIT(urlbst, 0.8, norman@astro.gla.ac.uk)
+RELEASEDATE="2019 July 1"
+AC_SUBST(RELEASEDATE)
+
+AC_REVISION(@PACKAGE_VERSION@)
+
+COPYRIGHTYEARS="2002-03, 2005-12, 2014, 2019"
+AC_SUBST(COPYRIGHTYEARS)
+
+AC_PREREQ(2.50)
+
+AC_CONFIG_SRCDIR([urlbst.in])
+
+AC_PATH_PROG(PERL, perl)
+
+
+dnl Add --with-eprints: tune default support for eprints
+WITHEPRINTS=1
+AC_SUBST(WITHEPRINTS)
+EPRINTURL=http://arxiv.org/abs/
+AC_SUBST(EPRINTURL)
+
+dnl Add --with-doi: tune default support for DOI fields
+WITHDOIRESOLVER=1
+AC_SUBST(WITHDOIRESOLVER)
+DOIURL=https://doi.org/
+AC_SUBST(DOIURL)
+
+dnl Add --with-pubmed
+WITHPUBMEDRESOLVER=1
+AC_SUBST(WITHPUBMEDRESOLVER)
+PUBMEDURL=http://www.ncbi.nlm.nih.gov/pubmed/
+AC_SUBST(PUBMEDURL)
+
+AC_ARG_WITH(eprints,
+[ --with-eprints[[=url]] Include eprint support by default, giving optional URL],
+ if test "$withval" = "yes"; then
+ WITHEPRINTS=1
+ elif test "$withval" = "no"; then
+ WITHEPRINTS=0
+ else
+ WITHEPRINTS=1
+ EPRINTURL=$withval
+ fi)
+
+AC_ARG_WITH(doi,
+[ --with-doi=[[=url]] Include support for a DOI resolver by default, giving optional URL],
+ if test "$withval" = yes; then
+ WITHDOIRESOLVER=1
+ elif test "$withval" = no; then
+ WITHDOIRESOLVER=0
+ else
+ WITHDOIRESOLVER=1
+ DOIURL=$withval
+ fi)
+
+AC_ARG_WITH(pubmed,
+[ --with-pubmed=[[=url]] Include support for a PUBMED resolver by default, giving optional URL],
+ if test "$withval" = yes; then
+ WITHPUBMEDRESOLVER=1
+ elif test "$withval" = no; then
+ WITHPUBMEDRESOLVER=0
+ else
+ WITHPUBMEDRESOLVER=1
+ PUBMEDURL=$withval
+ fi)
+
+
+dnl Add --with-href: set default support for hyperlinks
+dnl Default is to have no hyperlinks
+WITHHREF=0
+AC_SUBST(WITHHREF)
+
+AC_ARG_WITH(href,
+[ --with-href[[=int]] Include eprint hyperlinks (0/1/2=none/hypertex/hyperref)],
+ if test "$withval" = yes; then
+ WITHHREF=2
+ elif test "$withval" = no; then
+ WITHHREF=0
+ else
+ WITHHREF=$withval
+ fi)
+
+
+AC_CONFIG_FILES(Makefile)
+AC_CONFIG_FILES(urlbst, [chmod +x urlbst])
+
+AC_OUTPUT
diff --git a/biblio/bibtex/contrib/urlbst/plainurl.bst b/biblio/bibtex/contrib/urlbst/plainurl.bst
new file mode 100644
index 0000000000..3f75fb2933
--- /dev/null
+++ b/biblio/bibtex/contrib/urlbst/plainurl.bst
@@ -0,0 +1,1464 @@
+%%% Modification of BibTeX style file /usr/local/texlive/2019/texmf-dist/bibtex/bst/base/plain.bst
+%%% ... by urlbst, version 0.8 (marked with "% urlbst")
+%%% See <http://purl.org/nxg/dist/urlbst>
+%%% Modifications Copyright 2002-03, 2005-12, 2014, 2019, Norman Gray,
+%%% and distributed under the terms of the LPPL; see README for discussion.
+%%%
+%%% Added webpage entry type, and url and lastchecked fields.
+%%% Added eprint support.
+%%% Added DOI support.
+%%% Added PUBMED support.
+%%% Added hyperref support.
+%%% Original headers follow...
+
+% BibTeX standard bibliography style `plain'
+ % Version 0.99b (8-Dec-10 release) for BibTeX versions 0.99a or later.
+ % Copyright (C) 1984, 1985, 1988, 2010 Howard Trickey and Oren Patashnik.
+ % Unlimited copying and redistribution of this file are permitted as long as
+ % it is unmodified. Modifications (and redistribution of modified versions)
+ % are also permitted, but only if the resulting file is renamed to something
+ % besides btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ eprint % urlbst
+ doi % urlbst
+ pubmed % urlbst
+ url % urlbst
+ lastchecked % urlbst
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+% urlbst...
+% urlbst constants and state variables
+STRINGS { urlintro
+ eprinturl eprintprefix doiprefix doiurl pubmedprefix pubmedurl
+ citedstring onlinestring linktextstring
+ openinlinelink closeinlinelink }
+INTEGERS { hrefform inlinelinks makeinlinelink
+ addeprints adddoiresolver addpubmedresolver }
+FUNCTION {init.urlbst.variables}
+{
+ % The following constants may be adjusted by hand, if desired
+
+ % The first set allow you to enable or disable certain functionality.
+ #1 'addeprints := % 0=no eprints; 1=include eprints
+ #1 'adddoiresolver := % 0=no DOI resolver; 1=include it
+ #1 'addpubmedresolver := % 0=no PUBMED resolver; 1=include it
+ #2 'hrefform := % 0=no crossrefs; 1=hypertex xrefs; 2=hyperref refs
+ #0 'inlinelinks := % 0=URLs explicit; 1=URLs attached to titles
+
+ % String constants, which you _might_ want to tweak.
+ "URL: " 'urlintro := % prefix before URL; typically "Available from:" or "URL":
+ "online" 'onlinestring := % indication that resource is online; typically "online"
+ "cited " 'citedstring := % indicator of citation date; typically "cited "
+ "[link]" 'linktextstring := % dummy link text; typically "[link]"
+ "http://arxiv.org/abs/" 'eprinturl := % prefix to make URL from eprint ref
+ "arXiv:" 'eprintprefix := % text prefix printed before eprint ref; typically "arXiv:"
+ "https://doi.org/" 'doiurl := % prefix to make URL from DOI
+ "doi:" 'doiprefix := % text prefix printed before DOI ref; typically "doi:"
+ "http://www.ncbi.nlm.nih.gov/pubmed/" 'pubmedurl := % prefix to make URL from PUBMED
+ "PMID:" 'pubmedprefix := % text prefix printed before PUBMED ref; typically "PMID:"
+
+ % The following are internal state variables, not configuration constants,
+ % so they shouldn't be fiddled with.
+ #0 'makeinlinelink := % state variable managed by possibly.setup.inlinelink
+ "" 'openinlinelink := % ditto
+ "" 'closeinlinelink := % ditto
+}
+INTEGERS {
+ bracket.state
+ outside.brackets
+ open.brackets
+ within.brackets
+ close.brackets
+}
+% ...urlbst to here
+FUNCTION {init.state.consts}
+{ #0 'outside.brackets := % urlbst...
+ #1 'open.brackets :=
+ #2 'within.brackets :=
+ #3 'close.brackets := % ...urlbst to here
+
+ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+% urlbst
+FUNCTION {output.nonnull.original}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+% urlbst...
+% The following three functions are for handling inlinelink. They wrap
+% a block of text which is potentially output with write$ by multiple
+% other functions, so we don't know the content a priori.
+% They communicate between each other using the variables makeinlinelink
+% (which is true if a link should be made), and closeinlinelink (which holds
+% the string which should close any current link. They can be called
+% at any time, but start.inlinelink will be a no-op unless something has
+% previously set makeinlinelink true, and the two ...end.inlinelink functions
+% will only do their stuff if start.inlinelink has previously set
+% closeinlinelink to be non-empty.
+% (thanks to 'ijvm' for suggested code here)
+FUNCTION {uand}
+{ 'skip$ { pop$ #0 } if$ } % 'and' (which isn't defined at this point in the file)
+FUNCTION {possibly.setup.inlinelink}
+{ makeinlinelink hrefform #0 > uand
+ { doi empty$ adddoiresolver uand
+ { pubmed empty$ addpubmedresolver uand
+ { eprint empty$ addeprints uand
+ { url empty$
+ { "" }
+ { url }
+ if$ }
+ { eprinturl eprint * }
+ if$ }
+ { pubmedurl pubmed * }
+ if$ }
+ { doiurl doi * }
+ if$
+ % an appropriately-formatted URL is now on the stack
+ hrefform #1 = % hypertex
+ { "\special {html:<a href=" quote$ * swap$ * quote$ * "> }{" * 'openinlinelink :=
+ "\special {html:</a>}" 'closeinlinelink := }
+ { "\href {" swap$ * "} {" * 'openinlinelink := % hrefform=#2 -- hyperref
+ % the space between "} {" matters: a URL of just the right length can cause "\% newline em"
+ "}" 'closeinlinelink := }
+ if$
+ #0 'makeinlinelink :=
+ }
+ 'skip$
+ if$ % makeinlinelink
+}
+FUNCTION {add.inlinelink}
+{ openinlinelink empty$
+ 'skip$
+ { openinlinelink swap$ * closeinlinelink *
+ "" 'openinlinelink :=
+ }
+ if$
+}
+FUNCTION {output.nonnull}
+{ % Save the thing we've been asked to output
+ 's :=
+ % If the bracket-state is close.brackets, then add a close-bracket to
+ % what is currently at the top of the stack, and set bracket.state
+ % to outside.brackets
+ bracket.state close.brackets =
+ { "]" *
+ outside.brackets 'bracket.state :=
+ }
+ 'skip$
+ if$
+ bracket.state outside.brackets =
+ { % We're outside all brackets -- this is the normal situation.
+ % Write out what's currently at the top of the stack, using the
+ % original output.nonnull function.
+ s
+ add.inlinelink
+ output.nonnull.original % invoke the original output.nonnull
+ }
+ { % Still in brackets. Add open-bracket or (continuation) comma, add the
+ % new text (in s) to the top of the stack, and move to the close-brackets
+ % state, ready for next time (unless inbrackets resets it). If we come
+ % into this branch, then output.state is carefully undisturbed.
+ bracket.state open.brackets =
+ { " [" * }
+ { ", " * } % bracket.state will be within.brackets
+ if$
+ s *
+ close.brackets 'bracket.state :=
+ }
+ if$
+}
+
+% Call this function just before adding something which should be presented in
+% brackets. bracket.state is handled specially within output.nonnull.
+FUNCTION {inbrackets}
+{ bracket.state close.brackets =
+ { within.brackets 'bracket.state := } % reset the state: not open nor closed
+ { open.brackets 'bracket.state := }
+ if$
+}
+
+FUNCTION {format.lastchecked}
+{ lastchecked empty$
+ { "" }
+ { inbrackets citedstring lastchecked * }
+ if$
+}
+% ...urlbst to here
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem.original} % urlbst (renamed from output.bibitem, so it can be wrapped below)
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry.original} % urlbst (renamed from fin.entry, so it can be wrapped below)
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+% urlbst...
+% Functions for making hypertext links.
+% In all cases, the stack has (link-text href-url)
+%
+% make 'null' specials
+FUNCTION {make.href.null}
+{
+ pop$
+}
+% make hypertex specials
+FUNCTION {make.href.hypertex}
+{
+ "\special {html:<a href=" quote$ *
+ swap$ * quote$ * "> }" * swap$ *
+ "\special {html:</a>}" *
+}
+% make hyperref specials
+FUNCTION {make.href.hyperref}
+{
+ "\href {" swap$ * "} {\path{" * swap$ * "}}" *
+}
+FUNCTION {make.href}
+{ hrefform #2 =
+ 'make.href.hyperref % hrefform = 2
+ { hrefform #1 =
+ 'make.href.hypertex % hrefform = 1
+ 'make.href.null % hrefform = 0 (or anything else)
+ if$
+ }
+ if$
+}
+
+% If inlinelinks is true, then format.url should be a no-op, since it's
+% (a) redundant, and (b) could end up as a link-within-a-link.
+FUNCTION {format.url}
+{ inlinelinks #1 = url empty$ or
+ { "" }
+ { hrefform #1 =
+ { % special case -- add HyperTeX specials
+ urlintro "\url{" url * "}" * url make.href.hypertex * }
+ { urlintro "\url{" * url * "}" * }
+ if$
+ }
+ if$
+}
+FUNCTION {format.eprint}
+{ eprint empty$
+ { "" }
+ { eprintprefix eprint * eprinturl eprint * make.href }
+ if$
+}
+
+FUNCTION {format.doi}
+{ doi empty$
+ { "" }
+ { doiprefix doi * doiurl doi * make.href }
+ if$
+}
+
+FUNCTION {format.pubmed}
+{ pubmed empty$
+ { "" }
+ { pubmedprefix pubmed * pubmedurl pubmed * make.href }
+ if$
+}
+
+% Output a URL. We can't use the more normal idiom (something like
+% `format.url output'), because the `inbrackets' within
+% format.lastchecked applies to everything between calls to `output',
+% so that `format.url format.lastchecked * output' ends up with both
+% the URL and the lastchecked in brackets.
+FUNCTION {output.url}
+{ url empty$
+ 'skip$
+ { new.block
+ format.url output
+ format.lastchecked output
+ }
+ if$
+}
+
+FUNCTION {output.web.refs}
+{
+ new.block
+ inlinelinks
+ 'skip$ % links were inline -- don't repeat them
+ { % If the generated DOI will be the same as the URL,
+ % then don't print the URL (thanks to Joseph Wright for this code,
+ % at http://tex.stackexchange.com/questions/5660)
+ adddoiresolver
+ doiurl doi empty$ { "X" } { doi } if$ * % DOI URL to be generated
+ url empty$ { "Y" } { url } if$ % the URL, or "Y" if empty
+ = % are the strings equal?
+ and
+ 'skip$
+ { output.url }
+ if$
+ addeprints eprint empty$ not and
+ { format.eprint output.nonnull }
+ 'skip$
+ if$
+ adddoiresolver doi empty$ not and
+ { format.doi output.nonnull }
+ 'skip$
+ if$
+ addpubmedresolver pubmed empty$ not and
+ { format.pubmed output.nonnull }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+% Wrapper for output.bibitem.original.
+% If the URL field is not empty, set makeinlinelink to be true,
+% so that an inline link will be started at the next opportunity
+FUNCTION {output.bibitem}
+{ outside.brackets 'bracket.state :=
+ output.bibitem.original
+ inlinelinks url empty$ not doi empty$ not or pubmed empty$ not or eprint empty$ not or and
+ { #1 'makeinlinelink := }
+ { #0 'makeinlinelink := }
+ if$
+}
+
+% Wrapper for fin.entry.original
+FUNCTION {fin.entry}
+{ output.web.refs % urlbst
+ makeinlinelink % ooops, it appears we didn't have a title for inlinelink
+ { possibly.setup.inlinelink % add some artificial link text here, as a fallback
+ linktextstring output.nonnull }
+ 'skip$
+ if$
+ bracket.state close.brackets = % urlbst
+ { "]" * }
+ 'skip$
+ if$
+ fin.entry.original
+}
+
+% Webpage entry type.
+% Title and url fields required;
+% author, note, year, month, and lastchecked fields optional
+% See references
+% ISO 690-2 http://www.nlc-bnc.ca/iso/tc46sc9/standard/690-2e.htm
+% http://www.classroom.net/classroom/CitingNetResources.html
+% http://neal.ctstateu.edu/history/cite.html
+% http://www.cas.usf.edu/english/walker/mla.html
+% for citation formats for web pages.
+FUNCTION {webpage}
+{ output.bibitem
+ author empty$
+ { editor empty$
+ 'skip$ % author and editor both optional
+ { format.editors output.nonnull }
+ if$
+ }
+ { editor empty$
+ { format.authors output.nonnull }
+ { "can't use both author and editor fields in " cite$ * warning$ }
+ if$
+ }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$
+ format.title "title" output.check
+ inbrackets onlinestring output
+ new.block
+ year empty$
+ 'skip$
+ { format.date "year" output.check }
+ if$
+ % We don't need to output the URL details ('lastchecked' and 'url'),
+ % because fin.entry does that for us, using output.web.refs. The only
+ % reason we would want to put them here is if we were to decide that
+ % they should go in front of the rather miscellaneous information in 'note'.
+ new.block
+ note output
+ fin.entry
+}
+% ...urlbst to here
+
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ possibly.setup.inlinelink format.vol.num.pages output% urlbst
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.urlbst.variables} % urlbst
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/urlbst/unsrturl.bst b/biblio/bibtex/contrib/urlbst/unsrturl.bst
new file mode 100644
index 0000000000..cc067e6c87
--- /dev/null
+++ b/biblio/bibtex/contrib/urlbst/unsrturl.bst
@@ -0,0 +1,1318 @@
+%%% Modification of BibTeX style file /usr/local/texlive/2019/texmf-dist/bibtex/bst/base/unsrt.bst
+%%% ... by urlbst, version 0.8 (marked with "% urlbst")
+%%% See <http://purl.org/nxg/dist/urlbst>
+%%% Modifications Copyright 2002-03, 2005-12, 2014, 2019, Norman Gray,
+%%% and distributed under the terms of the LPPL; see README for discussion.
+%%%
+%%% Added webpage entry type, and url and lastchecked fields.
+%%% Added eprint support.
+%%% Added DOI support.
+%%% Added PUBMED support.
+%%% Added hyperref support.
+%%% Original headers follow...
+
+% BibTeX standard bibliography style `unsrt'
+ % Version 0.99b (8-Dec-10 release) for BibTeX versions 0.99a or later.
+ % Copyright (C) 1984, 1985, 1988, 2010 Howard Trickey and Oren Patashnik.
+ % Unlimited copying and redistribution of this file are permitted as long as
+ % it is unmodified. Modifications (and redistribution of modified versions)
+ % are also permitted, but only if the resulting file is renamed to something
+ % besides btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ eprint % urlbst
+ doi % urlbst
+ pubmed % urlbst
+ url % urlbst
+ lastchecked % urlbst
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+% urlbst...
+% urlbst constants and state variables
+STRINGS { urlintro
+ eprinturl eprintprefix doiprefix doiurl pubmedprefix pubmedurl
+ citedstring onlinestring linktextstring
+ openinlinelink closeinlinelink }
+INTEGERS { hrefform inlinelinks makeinlinelink
+ addeprints adddoiresolver addpubmedresolver }
+FUNCTION {init.urlbst.variables}
+{
+ % The following constants may be adjusted by hand, if desired
+
+ % The first set allow you to enable or disable certain functionality.
+ #1 'addeprints := % 0=no eprints; 1=include eprints
+ #1 'adddoiresolver := % 0=no DOI resolver; 1=include it
+ #1 'addpubmedresolver := % 0=no PUBMED resolver; 1=include it
+ #2 'hrefform := % 0=no crossrefs; 1=hypertex xrefs; 2=hyperref refs
+ #0 'inlinelinks := % 0=URLs explicit; 1=URLs attached to titles
+
+ % String constants, which you _might_ want to tweak.
+ "URL: " 'urlintro := % prefix before URL; typically "Available from:" or "URL":
+ "online" 'onlinestring := % indication that resource is online; typically "online"
+ "cited " 'citedstring := % indicator of citation date; typically "cited "
+ "[link]" 'linktextstring := % dummy link text; typically "[link]"
+ "http://arxiv.org/abs/" 'eprinturl := % prefix to make URL from eprint ref
+ "arXiv:" 'eprintprefix := % text prefix printed before eprint ref; typically "arXiv:"
+ "https://doi.org/" 'doiurl := % prefix to make URL from DOI
+ "doi:" 'doiprefix := % text prefix printed before DOI ref; typically "doi:"
+ "http://www.ncbi.nlm.nih.gov/pubmed/" 'pubmedurl := % prefix to make URL from PUBMED
+ "PMID:" 'pubmedprefix := % text prefix printed before PUBMED ref; typically "PMID:"
+
+ % The following are internal state variables, not configuration constants,
+ % so they shouldn't be fiddled with.
+ #0 'makeinlinelink := % state variable managed by possibly.setup.inlinelink
+ "" 'openinlinelink := % ditto
+ "" 'closeinlinelink := % ditto
+}
+INTEGERS {
+ bracket.state
+ outside.brackets
+ open.brackets
+ within.brackets
+ close.brackets
+}
+% ...urlbst to here
+FUNCTION {init.state.consts}
+{ #0 'outside.brackets := % urlbst...
+ #1 'open.brackets :=
+ #2 'within.brackets :=
+ #3 'close.brackets := % ...urlbst to here
+
+ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+% urlbst
+FUNCTION {output.nonnull.original}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+% urlbst...
+% The following three functions are for handling inlinelink. They wrap
+% a block of text which is potentially output with write$ by multiple
+% other functions, so we don't know the content a priori.
+% They communicate between each other using the variables makeinlinelink
+% (which is true if a link should be made), and closeinlinelink (which holds
+% the string which should close any current link. They can be called
+% at any time, but start.inlinelink will be a no-op unless something has
+% previously set makeinlinelink true, and the two ...end.inlinelink functions
+% will only do their stuff if start.inlinelink has previously set
+% closeinlinelink to be non-empty.
+% (thanks to 'ijvm' for suggested code here)
+FUNCTION {uand}
+{ 'skip$ { pop$ #0 } if$ } % 'and' (which isn't defined at this point in the file)
+FUNCTION {possibly.setup.inlinelink}
+{ makeinlinelink hrefform #0 > uand
+ { doi empty$ adddoiresolver uand
+ { pubmed empty$ addpubmedresolver uand
+ { eprint empty$ addeprints uand
+ { url empty$
+ { "" }
+ { url }
+ if$ }
+ { eprinturl eprint * }
+ if$ }
+ { pubmedurl pubmed * }
+ if$ }
+ { doiurl doi * }
+ if$
+ % an appropriately-formatted URL is now on the stack
+ hrefform #1 = % hypertex
+ { "\special {html:<a href=" quote$ * swap$ * quote$ * "> }{" * 'openinlinelink :=
+ "\special {html:</a>}" 'closeinlinelink := }
+ { "\href {" swap$ * "} {" * 'openinlinelink := % hrefform=#2 -- hyperref
+ % the space between "} {" matters: a URL of just the right length can cause "\% newline em"
+ "}" 'closeinlinelink := }
+ if$
+ #0 'makeinlinelink :=
+ }
+ 'skip$
+ if$ % makeinlinelink
+}
+FUNCTION {add.inlinelink}
+{ openinlinelink empty$
+ 'skip$
+ { openinlinelink swap$ * closeinlinelink *
+ "" 'openinlinelink :=
+ }
+ if$
+}
+FUNCTION {output.nonnull}
+{ % Save the thing we've been asked to output
+ 's :=
+ % If the bracket-state is close.brackets, then add a close-bracket to
+ % what is currently at the top of the stack, and set bracket.state
+ % to outside.brackets
+ bracket.state close.brackets =
+ { "]" *
+ outside.brackets 'bracket.state :=
+ }
+ 'skip$
+ if$
+ bracket.state outside.brackets =
+ { % We're outside all brackets -- this is the normal situation.
+ % Write out what's currently at the top of the stack, using the
+ % original output.nonnull function.
+ s
+ add.inlinelink
+ output.nonnull.original % invoke the original output.nonnull
+ }
+ { % Still in brackets. Add open-bracket or (continuation) comma, add the
+ % new text (in s) to the top of the stack, and move to the close-brackets
+ % state, ready for next time (unless inbrackets resets it). If we come
+ % into this branch, then output.state is carefully undisturbed.
+ bracket.state open.brackets =
+ { " [" * }
+ { ", " * } % bracket.state will be within.brackets
+ if$
+ s *
+ close.brackets 'bracket.state :=
+ }
+ if$
+}
+
+% Call this function just before adding something which should be presented in
+% brackets. bracket.state is handled specially within output.nonnull.
+FUNCTION {inbrackets}
+{ bracket.state close.brackets =
+ { within.brackets 'bracket.state := } % reset the state: not open nor closed
+ { open.brackets 'bracket.state := }
+ if$
+}
+
+FUNCTION {format.lastchecked}
+{ lastchecked empty$
+ { "" }
+ { inbrackets citedstring lastchecked * }
+ if$
+}
+% ...urlbst to here
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem.original} % urlbst (renamed from output.bibitem, so it can be wrapped below)
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry.original} % urlbst (renamed from fin.entry, so it can be wrapped below)
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+% urlbst...
+% Functions for making hypertext links.
+% In all cases, the stack has (link-text href-url)
+%
+% make 'null' specials
+FUNCTION {make.href.null}
+{
+ pop$
+}
+% make hypertex specials
+FUNCTION {make.href.hypertex}
+{
+ "\special {html:<a href=" quote$ *
+ swap$ * quote$ * "> }" * swap$ *
+ "\special {html:</a>}" *
+}
+% make hyperref specials
+FUNCTION {make.href.hyperref}
+{
+ "\href {" swap$ * "} {\path{" * swap$ * "}}" *
+}
+FUNCTION {make.href}
+{ hrefform #2 =
+ 'make.href.hyperref % hrefform = 2
+ { hrefform #1 =
+ 'make.href.hypertex % hrefform = 1
+ 'make.href.null % hrefform = 0 (or anything else)
+ if$
+ }
+ if$
+}
+
+% If inlinelinks is true, then format.url should be a no-op, since it's
+% (a) redundant, and (b) could end up as a link-within-a-link.
+FUNCTION {format.url}
+{ inlinelinks #1 = url empty$ or
+ { "" }
+ { hrefform #1 =
+ { % special case -- add HyperTeX specials
+ urlintro "\url{" url * "}" * url make.href.hypertex * }
+ { urlintro "\url{" * url * "}" * }
+ if$
+ }
+ if$
+}
+FUNCTION {format.eprint}
+{ eprint empty$
+ { "" }
+ { eprintprefix eprint * eprinturl eprint * make.href }
+ if$
+}
+
+FUNCTION {format.doi}
+{ doi empty$
+ { "" }
+ { doiprefix doi * doiurl doi * make.href }
+ if$
+}
+
+FUNCTION {format.pubmed}
+{ pubmed empty$
+ { "" }
+ { pubmedprefix pubmed * pubmedurl pubmed * make.href }
+ if$
+}
+
+% Output a URL. We can't use the more normal idiom (something like
+% `format.url output'), because the `inbrackets' within
+% format.lastchecked applies to everything between calls to `output',
+% so that `format.url format.lastchecked * output' ends up with both
+% the URL and the lastchecked in brackets.
+FUNCTION {output.url}
+{ url empty$
+ 'skip$
+ { new.block
+ format.url output
+ format.lastchecked output
+ }
+ if$
+}
+
+FUNCTION {output.web.refs}
+{
+ new.block
+ inlinelinks
+ 'skip$ % links were inline -- don't repeat them
+ { % If the generated DOI will be the same as the URL,
+ % then don't print the URL (thanks to Joseph Wright for this code,
+ % at http://tex.stackexchange.com/questions/5660)
+ adddoiresolver
+ doiurl doi empty$ { "X" } { doi } if$ * % DOI URL to be generated
+ url empty$ { "Y" } { url } if$ % the URL, or "Y" if empty
+ = % are the strings equal?
+ and
+ 'skip$
+ { output.url }
+ if$
+ addeprints eprint empty$ not and
+ { format.eprint output.nonnull }
+ 'skip$
+ if$
+ adddoiresolver doi empty$ not and
+ { format.doi output.nonnull }
+ 'skip$
+ if$
+ addpubmedresolver pubmed empty$ not and
+ { format.pubmed output.nonnull }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+% Wrapper for output.bibitem.original.
+% If the URL field is not empty, set makeinlinelink to be true,
+% so that an inline link will be started at the next opportunity
+FUNCTION {output.bibitem}
+{ outside.brackets 'bracket.state :=
+ output.bibitem.original
+ inlinelinks url empty$ not doi empty$ not or pubmed empty$ not or eprint empty$ not or and
+ { #1 'makeinlinelink := }
+ { #0 'makeinlinelink := }
+ if$
+}
+
+% Wrapper for fin.entry.original
+FUNCTION {fin.entry}
+{ output.web.refs % urlbst
+ makeinlinelink % ooops, it appears we didn't have a title for inlinelink
+ { possibly.setup.inlinelink % add some artificial link text here, as a fallback
+ linktextstring output.nonnull }
+ 'skip$
+ if$
+ bracket.state close.brackets = % urlbst
+ { "]" * }
+ 'skip$
+ if$
+ fin.entry.original
+}
+
+% Webpage entry type.
+% Title and url fields required;
+% author, note, year, month, and lastchecked fields optional
+% See references
+% ISO 690-2 http://www.nlc-bnc.ca/iso/tc46sc9/standard/690-2e.htm
+% http://www.classroom.net/classroom/CitingNetResources.html
+% http://neal.ctstateu.edu/history/cite.html
+% http://www.cas.usf.edu/english/walker/mla.html
+% for citation formats for web pages.
+FUNCTION {webpage}
+{ output.bibitem
+ author empty$
+ { editor empty$
+ 'skip$ % author and editor both optional
+ { format.editors output.nonnull }
+ if$
+ }
+ { editor empty$
+ { format.authors output.nonnull }
+ { "can't use both author and editor fields in " cite$ * warning$ }
+ if$
+ }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$
+ format.title "title" output.check
+ inbrackets onlinestring output
+ new.block
+ year empty$
+ 'skip$
+ { format.date "year" output.check }
+ if$
+ % We don't need to output the URL details ('lastchecked' and 'url'),
+ % because fin.entry does that for us, using output.web.refs. The only
+ % reason we would want to put them here is if we were to decide that
+ % they should go in front of the rather miscellaneous information in 'note'.
+ new.block
+ note output
+ fin.entry
+}
+% ...urlbst to here
+
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ possibly.setup.inlinelink format.vol.num.pages output% urlbst
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$ % urlbst
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.urlbst.variables} % urlbst
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/urlbst/urlbst b/biblio/bibtex/contrib/urlbst/urlbst
new file mode 100644
index 0000000000..c917d02f1d
--- /dev/null
+++ b/biblio/bibtex/contrib/urlbst/urlbst
@@ -0,0 +1,889 @@
+#! /usr/bin/perl -w
+#
+# Usage: ./urlbst.pl [--eprint] [--doi] [--pubmed]
+# [--nohyperlinks] [--inlinelinks] [--hypertex] [--hyperref]
+# [input-file [output-file]]
+# If either input-file or output-file is omitted, they are replaced by
+# stdin or stdout respectively.
+#
+# See http://purl.org/nxg/dist/urlbst for documentation
+#
+# Copyright 2002-03, 2005-12, 2014, 2019, Norman Gray <http://nxg.me.uk>
+#
+# This program is distributed under the terms of the
+# GNU General Public Licence, v2.0.
+# The modifications to the input .bst files are asserted as Copyright 2002-03, 2005-12, 2014, 2019, Norman Gray,
+# and distributed under the terms of the LaTeX Project Public Licence.
+# See the package README for further dicussion of licences.
+
+$version = '0.8';
+($progname = $0) =~ s/.*\///;
+$mymarker = "% $progname";
+$mymarkerend = "% ...$progname to here";
+$myurl = 'http://purl.org/nxg/dist/urlbst';
+
+
+$infile = '-';
+$outfile = '-';
+
+$addeprints = 1; # if true (nonzero) we add support for eprints
+$literals{eprintprefix} = 'arXiv:'; # make these settable with --eprint? syntax?
+$eprinturl = 'http://arxiv.org/abs/';
+
+$adddoiresolver = 1;
+$literals{doiprefix} = 'doi:';
+$doiurl = 'https://doi.org/';
+
+$addpubmedresolver = 1;
+$literals{pubmedprefix} = 'PMID:';
+$pubmedurl = 'http://www.ncbi.nlm.nih.gov/pubmed/';
+
+$makehref = 0;
+$literals{urlintro} = "URL: ";
+$inlinelinks = 0;
+
+$literals{online} = "online";
+$literals{cited} = "cited ";
+$literals{linktext} = "[link]";
+
+$automatic_output_filename = 0;
+
+$Usage = "$progname [--eprint] [--doi] [--pubmed]\n [--nohyperlinks] [--[no]inlinelinks] [--hypertex] [--hyperref]\n [--literal key=value]\n [--help] [input-file [output-file]]";
+
+# Magic environment variable: if this is set, then we're being called from a Platypus wrapper
+# See http://www.sveinbjorn.org/platypus
+if ($ENV{"CALLED_FROM_PLATYPUS"}) {
+ $automatic_output_filename = 1;
+}
+
+while ($#ARGV >= 0) {
+ if ($ARGV[0] eq '--eprint') {
+ $addeprints = 1;
+ } elsif ($ARGV[0] eq '--noeprint') {
+ $addeprints = 0;
+ } elsif ($ARGV[0] eq '--doi') {
+ $adddoiresolver = 1;
+ } elsif ($ARGV[0] eq '--nodoi') {
+ $adddoiresolver = 0;
+ } elsif ($ARGV[0] eq '--pubmed') {
+ $addpubmedresolver = 1;
+ } elsif ($ARGV[0] eq '--nopubmed') {
+ $addpubmedresolver = 0;
+ } elsif ($ARGV[0] eq '--nohyperlinks') {
+ $makehref = 0;
+ } elsif ($ARGV[0] eq '--hypertex') {
+ $makehref = 1;
+ } elsif ($ARGV[0] eq '--hyperref') {
+ $makehref = 2;
+ } elsif ($ARGV[0] eq '--inlinelinks') {
+ $inlinelinks = 1;
+ } elsif ($ARGV[0] eq '--noinlinelinks') {
+ $inlinelinks = 0;
+ } elsif ($ARGV[0] eq '--automatic-output') {
+ $automatic_output_filename = 1;
+ } elsif ($ARGV[0] eq '--literal') {
+ shift;
+ my $showstrings = 0;
+ if ((($k, $v) = ($ARGV[0] =~ /^(\w+)=(.*)/)) && exists $literals{$k}) {
+ $literals{$k} = $v;
+ } elsif ($ARGV[0] eq 'help') {
+ $showstrings = 1;
+ } else {
+ print "No literal found in $ARGV[0]; ignoring that\n";
+ $showstrings = 1;
+ }
+ if ($showstrings) {
+ print " Possible literal strings (and defaults) are...\n";
+ while (($k, $v) = each (%literals)) {
+ print " $k ($v)\n";
+ }
+ exit(0);
+ }
+ } elsif ($ARGV[0] eq '--help') {
+ print <<EOD;
+urlbst version $version
+ Usage: $Usage
+ --[no]eprint include support for `eprint' fields
+ --[no]doi include support for `doi' field
+ --[no]pubmed include support for `pubmed' field
+ --nohyperlinks do not include active links anywhere
+ --[no]inlinelinks add hyperlinks to entry titles
+ --hypertex include HyperTeX-style hyperlink support
+ --hyperref include {hyperref}-style hyperlink support
+ (generally better)
+ --literal key=value set one of the literal strings
+ (see `--literal help' for possibilities)
+ --help print this help
+ Input and output files may be given as `-' (default) to indicate stdin/out.
+
+EOD
+ printf(" Defaults:\n");
+ printf(" eprint refs %s\n", ($addeprints ? "included" : "not included"));
+ printf(" DOIs %s\n", ($adddoiresolver ? "included" : "not included"));
+ printf(" PUBMED refs %s\n", ($addpubmedresolver ? "included" : "not included"));
+ printf(" hyperlinks %s\n", ($makehref==0 ? "none" : $makehref==1 ? "hypertex" : "hyperref"));
+ printf(" inline links %s\n", ($inlinelinks ? "included" : "not included"));
+ exit(0);
+ } elsif ($ARGV[0] =~ /^-/) {
+ die "Unrecognised option $ARGV[0]: Usage: $Usage\n";
+ } elsif ($infile eq '-') {
+ $infile = $ARGV[0];
+ } elsif ($outfile eq '-') {
+ $outfile = $ARGV[0];
+ } else {
+ die "Usage: $Usage\n";
+ }
+ shift(@ARGV);
+}
+
+if ($inlinelinks && $makehref == 0) {
+ print <<'EOD';
+Warning: --inlinelinks and --nohyperlinks were both specified (possibly
+ implicitly). That combination makes no sense, so I'll ignore
+ --nohyperlinks and use --hyperref instead
+EOD
+ $makehref = 2;
+}
+
+if ($automatic_output_filename) {
+ if ($infile eq '-') {
+ print "ERROR: No input filename given with --automatic-output\n";
+ }
+ $outfile = $infile;
+ @outparts = split /\./, $outfile;
+ $ext = pop(@outparts);
+ $outfile=join('.', @outparts);
+ if ($outfile eq '') {
+ $outfile = $ext . '-url';
+ } else {
+ $outfile = $outfile . '-url.' . $ext;
+ }
+}
+
+$exitstatus = 0; # success status
+
+open (IN, "<$infile") || die "Can't open $infile to read";
+open (OUT, ">$outfile") || die "Can't open $outfile to write";
+
+# We have to make certain assumptions about the source files, in order
+# to patch them at the correct places. Specifically, we assume that
+#
+# - there's a function init.state.consts
+#
+# - ...and an output.nonnull which does the actual outputting, which
+# has the `usual' interface.
+#
+# - we can replace
+# fin.entry
+# by
+# new.block
+# output.url % the function which formats and displays any URL
+# fin.entry
+#
+# - there is a function which handles the `article' entry type (this
+# will always be true)
+#
+# - there is a function output.bibitem which is called at the
+# beginning of each entry type
+# - ...and one called fin.entry which is called at the end
+#
+# If the functions format.date, format.title or new.block are not defined (the
+# former is not in apalike, for example, and the last is not in the
+# AMS styles), then replacements are included in the output.
+#
+# All these assumptions are true of the standard files and, since most
+# style files derive from them more or less directly, are true of most (?)
+# other style files, too.
+#
+# There's some rather ugly Perl down here. The parsing for
+# brace-matching could probably do with being rewritten in places, to
+# make it less ugly, and more robust.
+
+print OUT "%%% Modification of BibTeX style file ", ($infile eq '-' ? '<stdin>' : $infile), "\n";
+print OUT "%%% ... by $progname, version $version (marked with \"$mymarker\")\n%%% See <$myurl>\n";
+print OUT "%%% Modifications Copyright 2002-03, 2005-12, 2014, 2019, Norman Gray,\n";
+print OUT "%%% and distributed under the terms of the LPPL; see README for discussion.\n";
+print OUT "%%%\n";
+print OUT "%%% Added webpage entry type, and url and lastchecked fields.\n";
+print OUT "%%% Added eprint support.\n" if ($addeprints);
+print OUT "%%% Added DOI support.\n" if ($adddoiresolver);
+print OUT "%%% Added PUBMED support.\n" if ($addpubmedresolver);
+print OUT "%%% Added HyperTeX support.\n" if ($makehref == 1);
+print OUT "%%% Added hyperref support.\n" if ($makehref == 2);
+print OUT "%%% Original headers follow...\n\n";
+
+$found{initconsts} = 0;
+$found{outputnonnull} = 0;
+$found{article} = 0;
+$found{outputbibitem} = 0;
+$found{finentry} = 0;
+$found{formatdate} = 0;
+$found{formattitle} = 0;
+$found{newblock} = 0;
+# The following are initialised negative, which Perl treats as true,
+# so the simple test 'if ($found{formateprint}) ...' will be true.
+$found{formateprint} = -1;
+$found{formatdoi} = -1;
+$found{formatpubmed} = -1;
+
+while (<IN>) {
+ /^ *%/ && do {
+ # Pass commented lines unchanged
+ print OUT;
+ next;
+ };
+
+ /^ *ENTRY/ && do {
+ # Work through the list of entry types, finding what ones are there.
+ # If we find a URL entry there already, object, since these edits
+ # will mess things up.
+ $line = $_;
+ until ($line =~ /\{\s*(\w*)/) {
+ $line .= <IN>;
+ }
+ $bracematchtotal = 0; # reset
+ bracematcher($line);
+ $line =~ /\{\s*(\w*)/;
+ $found{'entry'.$1} = 1;
+ print OUT $line;
+ $line = <IN>;
+ until (bracematcher($line) == 0) {
+ # XXX deal with multiple entries on one line
+ ($line =~ /^\s*(\w*)/) && ($found{'entry'.$1} = 1);
+ print OUT $line;
+ $line = <IN>;
+ }
+ if (defined($found{entryurl})) {
+ print STDERR "$progname: style file $infile already has URL entry!\n";
+ # print out the rest of the file, and give up
+ print OUT $line;
+ while (<IN>) {
+ print OUT;
+ }
+ $exitstatus = 1;
+ last;
+ } else {
+ print OUT " eprint $mymarker\n doi $mymarker\n pubmed $mymarker\n url $mymarker\n lastchecked $mymarker\n";
+ }
+ print OUT $line;
+ next;
+ };
+
+ /^ *FUNCTION *\{init\.state\.consts\}/ && do {
+ # In the init.state.consts function, add an extra set of
+ # constants at the beginning. Also use this as the marker for
+ # the place to add the init strings function.
+ print OUT <<EOD;
+$mymarker...
+% urlbst constants and state variables
+STRINGS { urlintro
+ eprinturl eprintprefix doiprefix doiurl pubmedprefix pubmedurl
+ citedstring onlinestring linktextstring
+ openinlinelink closeinlinelink }
+INTEGERS { hrefform inlinelinks makeinlinelink
+ addeprints adddoiresolver addpubmedresolver }
+FUNCTION {init.urlbst.variables}
+{
+ % The following constants may be adjusted by hand, if desired
+
+ % The first set allow you to enable or disable certain functionality.
+ #$addeprints 'addeprints := % 0=no eprints; 1=include eprints
+ #$adddoiresolver 'adddoiresolver := % 0=no DOI resolver; 1=include it
+ #$addpubmedresolver 'addpubmedresolver := % 0=no PUBMED resolver; 1=include it
+ #$makehref 'hrefform := % 0=no crossrefs; 1=hypertex xrefs; 2=hyperref refs
+ #$inlinelinks 'inlinelinks := % 0=URLs explicit; 1=URLs attached to titles
+
+ % String constants, which you _might_ want to tweak.
+ "$literals{urlintro}" 'urlintro := % prefix before URL; typically "Available from:" or "URL":
+ "$literals{online}" 'onlinestring := % indication that resource is online; typically "online"
+ "$literals{cited}" 'citedstring := % indicator of citation date; typically "cited "
+ "$literals{linktext}" 'linktextstring := % dummy link text; typically "[link]"
+ "$eprinturl" 'eprinturl := % prefix to make URL from eprint ref
+ "$literals{eprintprefix}" 'eprintprefix := % text prefix printed before eprint ref; typically "arXiv:"
+ "$doiurl" 'doiurl := % prefix to make URL from DOI
+ "$literals{doiprefix}" 'doiprefix := % text prefix printed before DOI ref; typically "doi:"
+ "$pubmedurl" 'pubmedurl := % prefix to make URL from PUBMED
+ "$literals{pubmedprefix}" 'pubmedprefix := % text prefix printed before PUBMED ref; typically "PMID:"
+
+ % The following are internal state variables, not configuration constants,
+ % so they shouldn't be fiddled with.
+ #0 'makeinlinelink := % state variable managed by possibly.setup.inlinelink
+ "" 'openinlinelink := % ditto
+ "" 'closeinlinelink := % ditto
+}
+INTEGERS {
+ bracket.state
+ outside.brackets
+ open.brackets
+ within.brackets
+ close.brackets
+}
+$mymarkerend
+EOD
+ $line = $_;
+ until ($line =~ /\{.*\}.*\{/s) {
+ $line .= <IN>;
+ }
+ $line =~ s/(\{.*?\}.*?\{)/$1 #0 'outside.brackets := $mymarker...
+ #1 'open.brackets :=
+ #2 'within.brackets :=
+ #3 'close.brackets := $mymarkerend
+
+ /s;
+ print OUT $line;
+ $found{initconsts} = 1;
+ next;
+ };
+
+ /^ *EXECUTE *\{init\.state\.consts\}/ && do {
+ print OUT "EXECUTE {init.urlbst.variables} $mymarker\n";
+ print OUT;
+ next;
+ };
+
+ /^ *FUNCTION *\{new.block\}/ && do {
+ $found{newblock} = 1;
+ };
+
+ /^ *FUNCTION *\{format.doi\}/ && do {
+ #print STDERR "$progname: style file $infile already supports DOIs; urlbst format.doi disabled\n(see generated .bst style: you may need to make edits near \$adddoiresolver)\n";
+ $found{formatdoi} = 1;
+ $adddoiresolver = 0;
+ };
+
+ /^ *FUNCTION *\{format.eprint\}/ && do {
+ #print STDERR "$progname: style file $infile already supports eprints; urlbst format.eprint disabled\n(see generated .bst style: you may need to make edits near \$addeprints)\n";
+ $found{formateprint} = 1;
+ $addeprints = 0;
+ };
+
+ /^ *FUNCTION *\{format.pubmed\}/ && do {
+ #print STDERR "$progname: style file $infile already supports Pubmed; urlbst format.pubmed disabled\n(see generated .bst style: you may need to make edits near \$addpubmedresolver)\n";
+ $found{formatpubmed} = 1;
+ $addpubmedresolver = 0;
+ };
+
+ /^ *FUNCTION *{output\.nonnull}/ && do {
+ print OUT "$mymarker\n";
+ print OUT "FUNCTION {output.nonnull.original}\n";
+ copy_block();
+ print_output_functions();
+ $found{outputnonnull} = 1;
+ next;
+ };
+
+ /FUNCTION *\{fin.entry\}/ && do {
+ # Rename fin.entry to fin.entry.original (wrapped below)
+ s/fin.entry/fin.entry.original/;
+ s/$/ $mymarker (renamed from fin.entry, so it can be wrapped below)/;
+ $found{finentry} = 1;
+ print OUT;
+ next;
+ };
+
+ /^ *FUNCTION *{format\.date}/ && do {
+ $found{formatdate} = 1;
+ print OUT;
+ next;
+ };
+
+ /^ *FUNCTION *{format\.title}/ && do {
+ # record that we found this
+ $found{formattitle} = 1;
+ print OUT;
+ next;
+ };
+
+ /^ *format\.b?title/ && do {
+ # interpolate a call to possibly.setup.inlinelink
+ print OUT " title empty\$ 'skip\$ 'possibly.setup\.inlinelink if\$ $mymarker\n";
+ print OUT;
+ next;
+ };
+
+ /^ *format\.vol\.num\.pages/ && do {
+ # interpolate a call to possibly.setup.inlinelink
+ s/^( *)/$1possibly.setup.inlinelink /;
+ s/$/$mymarker/;
+ print OUT;
+ next;
+ };
+
+ /^ *FUNCTION *\{article\}/ && do {
+
+ print_missing_functions();
+ print_webpage_def();
+
+ print OUT;
+ $found{article} = 1;
+ next;
+ };
+
+ /FUNCTION *\{output.bibitem\}/ && do {
+ # Rename output.bibitem to output.bibitem.original (wrapped below)
+ s/{output.bibitem\}/\{output.bibitem.original\}/;
+ s/$/ $mymarker (renamed from output.bibitem, so it can be wrapped below)/;
+ $found{outputbibitem} = 1;
+ print OUT;
+ next;
+ };
+
+ print OUT;
+};
+
+if ($exitstatus == 0) {
+ # Skip this if we've already reported an error -- it'll only be confusing
+ foreach $k (keys %found) {
+ if ($found{$k} == 0) {
+ print STDERR "$progname: $infile: failed to find feature $k\n";
+ }
+ }
+}
+
+close (IN);
+close (OUT);
+
+exit $exitstatus;;
+
+
+
+
+
+
+sub print_output_functions {
+ print OUT "$mymarker...\n";
+
+ print OUT <<'EOD';
+% The following three functions are for handling inlinelink. They wrap
+% a block of text which is potentially output with write$ by multiple
+% other functions, so we don't know the content a priori.
+% They communicate between each other using the variables makeinlinelink
+% (which is true if a link should be made), and closeinlinelink (which holds
+% the string which should close any current link. They can be called
+% at any time, but start.inlinelink will be a no-op unless something has
+% previously set makeinlinelink true, and the two ...end.inlinelink functions
+% will only do their stuff if start.inlinelink has previously set
+% closeinlinelink to be non-empty.
+% (thanks to 'ijvm' for suggested code here)
+FUNCTION {uand}
+{ 'skip$ { pop$ #0 } if$ } % 'and' (which isn't defined at this point in the file)
+FUNCTION {possibly.setup.inlinelink}
+{ makeinlinelink hrefform #0 > uand
+ { doi empty$ adddoiresolver uand
+ { pubmed empty$ addpubmedresolver uand
+ { eprint empty$ addeprints uand
+ { url empty$
+ { "" }
+ { url }
+ if$ }
+ { eprinturl eprint * }
+ if$ }
+ { pubmedurl pubmed * }
+ if$ }
+ { doiurl doi * }
+ if$
+ % an appropriately-formatted URL is now on the stack
+ hrefform #1 = % hypertex
+ { "\special {html:<a href=" quote$ * swap$ * quote$ * "> }{" * 'openinlinelink :=
+ "\special {html:</a>}" 'closeinlinelink := }
+ { "\href {" swap$ * "} {" * 'openinlinelink := % hrefform=#2 -- hyperref
+ % the space between "} {" matters: a URL of just the right length can cause "\% newline em"
+ "}" 'closeinlinelink := }
+ if$
+ #0 'makeinlinelink :=
+ }
+ 'skip$
+ if$ % makeinlinelink
+}
+FUNCTION {add.inlinelink}
+{ openinlinelink empty$
+ 'skip$
+ { openinlinelink swap$ * closeinlinelink *
+ "" 'openinlinelink :=
+ }
+ if$
+}
+EOD
+
+ # new.block is defined elsewhere
+
+ print OUT <<'EOD';
+FUNCTION {output.nonnull}
+{ % Save the thing we've been asked to output
+ 's :=
+ % If the bracket-state is close.brackets, then add a close-bracket to
+ % what is currently at the top of the stack, and set bracket.state
+ % to outside.brackets
+ bracket.state close.brackets =
+ { "]" *
+ outside.brackets 'bracket.state :=
+ }
+ 'skip$
+ if$
+ bracket.state outside.brackets =
+ { % We're outside all brackets -- this is the normal situation.
+ % Write out what's currently at the top of the stack, using the
+ % original output.nonnull function.
+ s
+ add.inlinelink
+ output.nonnull.original % invoke the original output.nonnull
+ }
+ { % Still in brackets. Add open-bracket or (continuation) comma, add the
+ % new text (in s) to the top of the stack, and move to the close-brackets
+ % state, ready for next time (unless inbrackets resets it). If we come
+ % into this branch, then output.state is carefully undisturbed.
+ bracket.state open.brackets =
+ { " [" * }
+ { ", " * } % bracket.state will be within.brackets
+ if$
+ s *
+ close.brackets 'bracket.state :=
+ }
+ if$
+}
+
+% Call this function just before adding something which should be presented in
+% brackets. bracket.state is handled specially within output.nonnull.
+FUNCTION {inbrackets}
+{ bracket.state close.brackets =
+ { within.brackets 'bracket.state := } % reset the state: not open nor closed
+ { open.brackets 'bracket.state := }
+ if$
+}
+
+FUNCTION {format.lastchecked}
+{ lastchecked empty$
+ { "" }
+ { inbrackets citedstring lastchecked * }
+ if$
+}
+EOD
+ print OUT "$mymarkerend\n";
+}
+
+sub print_webpage_def {
+ print OUT "$mymarker...\n";
+
+ # Some of the functions below call new.block, so we need a dummy
+ # version, in the case where the style being edited doesn't supply
+ # that function.
+ if (! $found{newblock}) {
+ print OUT "FUNCTION {new.block} % dummy new.block function\n{\n % empty\n}\n\n";
+ $found{newblock} = 1;
+ }
+
+ print OUT <<'EOD';
+% Functions for making hypertext links.
+% In all cases, the stack has (link-text href-url)
+%
+% make 'null' specials
+FUNCTION {make.href.null}
+{
+ pop$
+}
+% make hypertex specials
+FUNCTION {make.href.hypertex}
+{
+ "\special {html:<a href=" quote$ *
+ swap$ * quote$ * "> }" * swap$ *
+ "\special {html:</a>}" *
+}
+% make hyperref specials
+FUNCTION {make.href.hyperref}
+{
+ "\href {" swap$ * "} {\path{" * swap$ * "}}" *
+}
+FUNCTION {make.href}
+{ hrefform #2 =
+ 'make.href.hyperref % hrefform = 2
+ { hrefform #1 =
+ 'make.href.hypertex % hrefform = 1
+ 'make.href.null % hrefform = 0 (or anything else)
+ if$
+ }
+ if$
+}
+
+% If inlinelinks is true, then format.url should be a no-op, since it's
+% (a) redundant, and (b) could end up as a link-within-a-link.
+FUNCTION {format.url}
+{ inlinelinks #1 = url empty$ or
+ { "" }
+ { hrefform #1 =
+ { % special case -- add HyperTeX specials
+ urlintro "\url{" url * "}" * url make.href.hypertex * }
+ { urlintro "\url{" * url * "}" * }
+ if$
+ }
+ if$
+}
+EOD
+
+ $formateprintfunction = <<'EOD';
+FUNCTION {format.eprint}
+{ eprint empty$
+ { "" }
+ { eprintprefix eprint * eprinturl eprint * make.href }
+ if$
+}
+EOD
+ output_replacement_function($found{formateprint},
+ 'format.eprint',
+ 'addeprints',
+ $formateprintfunction);
+
+ $formatdoifunction = <<'EOD';
+FUNCTION {format.doi}
+{ doi empty$
+ { "" }
+ { doiprefix doi * doiurl doi * make.href }
+ if$
+}
+EOD
+ output_replacement_function($found{formatdoi},
+ 'format.doi',
+ 'adddoiresolver',
+ $formatdoifunction);
+
+ $formatpubmedfunction = <<'EOD';
+FUNCTION {format.pubmed}
+{ pubmed empty$
+ { "" }
+ { pubmedprefix pubmed * pubmedurl pubmed * make.href }
+ if$
+}
+EOD
+ output_replacement_function($found{formatpubmed},
+ 'format.pubmed',
+ 'addpubmedresolver',
+ $formatpubmedfunction);
+
+ print OUT <<'EOD';
+% Output a URL. We can't use the more normal idiom (something like
+% `format.url output'), because the `inbrackets' within
+% format.lastchecked applies to everything between calls to `output',
+% so that `format.url format.lastchecked * output' ends up with both
+% the URL and the lastchecked in brackets.
+FUNCTION {output.url}
+{ url empty$
+ 'skip$
+ { new.block
+ format.url output
+ format.lastchecked output
+ }
+ if$
+}
+
+FUNCTION {output.web.refs}
+{
+ new.block
+ inlinelinks
+ 'skip$ % links were inline -- don't repeat them
+ { % If the generated DOI will be the same as the URL,
+ % then don't print the URL (thanks to Joseph Wright for this code,
+ % at http://tex.stackexchange.com/questions/5660)
+ adddoiresolver
+ doiurl doi empty$ { "X" } { doi } if$ * % DOI URL to be generated
+ url empty$ { "Y" } { url } if$ % the URL, or "Y" if empty
+ = % are the strings equal?
+ and
+ 'skip$
+ { output.url }
+ if$
+ addeprints eprint empty$ not and
+ { format.eprint output.nonnull }
+ 'skip$
+ if$
+ adddoiresolver doi empty$ not and
+ { format.doi output.nonnull }
+ 'skip$
+ if$
+ addpubmedresolver pubmed empty$ not and
+ { format.pubmed output.nonnull }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+% Wrapper for output.bibitem.original.
+% If the URL field is not empty, set makeinlinelink to be true,
+% so that an inline link will be started at the next opportunity
+FUNCTION {output.bibitem}
+{ outside.brackets 'bracket.state :=
+ output.bibitem.original
+ inlinelinks url empty$ not doi empty$ not or pubmed empty$ not or eprint empty$ not or and
+ { #1 'makeinlinelink := }
+ { #0 'makeinlinelink := }
+ if$
+}
+
+% Wrapper for fin.entry.original
+FUNCTION {fin.entry}
+{ output.web.refs % urlbst
+ makeinlinelink % ooops, it appears we didn't have a title for inlinelink
+ { possibly.setup.inlinelink % add some artificial link text here, as a fallback
+ linktextstring output.nonnull }
+ 'skip$
+ if$
+ bracket.state close.brackets = % urlbst
+ { "]" * }
+ 'skip$
+ if$
+ fin.entry.original
+}
+
+% Webpage entry type.
+% Title and url fields required;
+% author, note, year, month, and lastchecked fields optional
+% See references
+% ISO 690-2 http://www.nlc-bnc.ca/iso/tc46sc9/standard/690-2e.htm
+% http://www.classroom.net/classroom/CitingNetResources.html
+% http://neal.ctstateu.edu/history/cite.html
+% http://www.cas.usf.edu/english/walker/mla.html
+% for citation formats for web pages.
+FUNCTION {webpage}
+{ output.bibitem
+ author empty$
+ { editor empty$
+ 'skip$ % author and editor both optional
+ { format.editors output.nonnull }
+ if$
+ }
+ { editor empty$
+ { format.authors output.nonnull }
+ { "can't use both author and editor fields in " cite$ * warning$ }
+ if$
+ }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$
+ format.title "title" output.check
+ inbrackets onlinestring output
+ new.block
+ year empty$
+ 'skip$
+ { format.date "year" output.check }
+ if$
+ % We don't need to output the URL details ('lastchecked' and 'url'),
+ % because fin.entry does that for us, using output.web.refs. The only
+ % reason we would want to put them here is if we were to decide that
+ % they should go in front of the rather miscellaneous information in 'note'.
+ new.block
+ note output
+ fin.entry
+}
+EOD
+
+ print OUT "$mymarkerend\n\n\n";
+}
+
+
+sub output_replacement_function {
+ my $emit_function = $_[0];
+ my $function_name = $_[1];
+ my $disabling_variable = $_[2];
+ my $function_definition_string = $_[3];
+
+ if ($emit_function > 0) {
+ print OUT <<"EOD";
+%%% The style file $infile already supports $function_name,
+%%% but it might not do so in the same way as urlbst expects.
+%%% I've therefore left $infile 's function unchanged,
+%%% and disabled urlbst's version; proceed with some caution.
+EOD
+
+ print STDERR "$progname: WARNING: style file $infile already includes a $function_name function;\nyou may need to disable the urlbst version by setting \$$disabling_variable to zero.\nYou might want to edit the output file (search for $function_name).\n";
+
+ ($t = $function_definition_string) =~ s/\n/\n%%% /g;
+ print OUT "%%% " . $t . "$mymarker\n";
+ } else {
+ print OUT $function_definition_string;
+ }
+ print OUT "\n";
+}
+
+sub print_missing_functions {
+ # We've got to the bit of the file which handles the entry
+ # types, so write out the webpage entry handler. This uses
+ # the format.date function, which which many but not all
+ # bst files have (for example, apalike doesn't). So
+ # check that we either have found this function already, or
+ # add it.
+ if (! $found{formatdate}) {
+ if ($found{entrymonth}) {
+ print OUT <<'EOD';
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+EOD
+ } else {
+ print OUT <<'EOD';
+FUNCTION {format.date}
+{ year empty$
+ 'skip$
+ { %write$
+ "(" year * ")" *
+ }
+ if$
+}
+EOD
+ }
+ $found{formatdate} = 1;
+ }
+
+ # If the style file didn't supply a format.title function, then supply
+ # one here (the {webpage} function requires it).
+ if (! $found{formattitle}) {
+ print OUT <<'EOD';
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+EOD
+ $found{formattitle} = 1;
+ }
+}
+
+# Utility function: Keep track of open and close braces in the string argument.
+# Keep state in $bracematchtotal, return the current value.
+sub bracematcher {
+ my $s = shift;
+ $s =~ s/[^\{\}]//g;
+ #print "s=$s\n";
+ foreach my $c (split (//, $s)) {
+ $bracematchtotal += ($c eq '{' ? 1 : -1);
+ }
+ return $bracematchtotal;
+}
+
+# Utility function: use bracematcher to copy the complete block which starts
+# on or after the current line.
+sub copy_block {
+ $bracematchtotal = 0;
+ # copy any leading lines which don't have braces (presumably comments)
+ while (defined ($line = <IN>) && ($line !~ /{/)) {
+ print OUT $line;
+ }
+ while (defined ($line) && bracematcher($line) > 0) {
+ print OUT $line;
+ $line = <IN>;
+ }
+ print OUT "$line\n"; # print out terminating \} (assumed
+ # alone on the line)
+}
diff --git a/biblio/bibtex/contrib/urlbst/urlbst.bib b/biblio/bibtex/contrib/urlbst/urlbst.bib
new file mode 100644
index 0000000000..c51ed5d222
--- /dev/null
+++ b/biblio/bibtex/contrib/urlbst/urlbst.bib
@@ -0,0 +1,221 @@
+% Webpage with lastchecked and date
+@webpage{url:weapas,
+ url = {http://www.beadsland.com/weapas/},
+ title = {Web Extension to {American Psychological Association} Style ({WEAPAS}) (Rev.2.0)},
+ author = {B Land},
+ year = 2001,
+ month = jul,
+ lastchecked = {17 March 2011}
+}
+
+@Manual{apastyle,
+ title = {Publication Manual of the American Psychological Association},
+ organization = {{American Psychological Association}},
+ key = "APA",
+ edition = {6th},
+ year = 2009,
+ lastchecked = {17 March 2011},
+ url = {http://www.apastyle.org/manual/index.aspx}
+}
+
+@webpage{url:iso690,
+ author = {{International Standards Organisation}},
+ title = {{ISO 690-2}},
+ url = {http://en.wikipedia.org/wiki/ISO_690},
+ lastchecked = {17 March 2011}
+}
+
+Webpage{emory95,
+ author = {{Goizueta Business Library}},
+ title = "Citation Formats",
+ date = {1997},
+ lastchecked = {9 August 2009},
+ url = {http://business.library.emory.edu/eresources/citing.html}
+}
+% The Emory clowns have changed the URL yet again, suggesting that
+% they really don't get the whole 'web' thing
+
+@Book{walker06,
+ author = {Janice R. Walker and Todd Taylor},
+ title = {The Columbia Guide to Online Style},
+ publisher = {Columbia University Press},
+ year = 2006,
+ edition = {2nd},
+ isbn = {978-0-231-13211-4},
+ url = {http://cup.columbia.edu/book/978-0-231-13210-7/},
+ lastchecked = {17 March 2011}
+}
+
+% this one appears to be dead
+@Webpage{walker-orig,
+ title = {{MLA}-Style Citations of Electronic Sources},
+ author = {Janice R. Walker},
+ url = {http://www.cas.usf.edu/english/walker/mla.html},
+ year = 1995,
+ lastchecked = {23 October 2002},
+ note = {Updated and superceded by \cite{walker}}
+}
+
+@Webpage{texfaq,
+ url = {http://www.tex.ac.uk/cgi-bin/texfaq2html?label=citeURL},
+ title = {{UK \TeX\ FAQ: URLs in BibTeX bibliographies}},
+ key = {UK TeX FAQ},
+ editor = {Robin Fairbairns},
+ year = 2002,
+ lastchecked = {17 March 2011}
+}
+
+
+
+@Webpage{url:daly,
+ url = {http://www.tex.ac.uk/tex-archive/macros/latex/contrib/custom-bib/},
+ title = {Index of custom-bib},
+ author = {Patrick W Daly},
+ year = 2003,
+ lastchecked = {17 March 2011}
+}
+
+% Following are test entries
+
+% Article with URL and lastchecked
+@article{test:towell,
+ title = {Presence in Text-Based Networked Virtual
+ Environments or `{MUDs}'},
+ author = {John Towell and Elizabeth Towell},
+ journal = {Presence},
+ volume = 6,
+ number = 5,
+ pages = {590-595},
+ year = 1997,
+ url = {http://www-unix.mcs.anl.gov/~towell/presence.html},
+ lastchecked = {13 February 2002}
+}
+
+% Book with URL, lastchecked, and note.
+@Book{test:raymond99,
+ author = {Eric S Raymond},
+ title = {The Cathedral and the Bazaar},
+ publisher = {O'Reilly},
+ year = 1999,
+ url = {http://www.tuxedo.org},
+ isbn = {1-56592-724-9},
+ lastchecked = {1 April 2002},
+ note = {The seminal book on the commercialisation of open-source}
+}
+
+% Plain book, no URLs at all
+@book{test:laurillard93,
+ author = {Diana Laurillard},
+ title = {Rethinking University Teaching},
+ publisher = {Routledge},
+ year = 1993
+}
+
+% Webpage with lastchecked but no date
+@webpage{test:iso690,
+ author = {{International Standards Organisation}},
+ title = {{ISO 690-2}},
+ url = {http://www.nlc-bnc.ca/iso/tc46sc9/standard/690-2e.htm},
+ lastchecked = {20 August 2001}
+}
+
+% Webpage with date but no lastchecked
+@Webpage{test:classroom96,
+ title = {Citing Internet Addresses: how students should
+ reference online sources in their bibliographies},
+ year = 1996,
+ month = mar,
+ key = {Classroom},
+ url = "http://www.classroom.net/classroom/CitingNetResources.html"
+}
+
+% Webpage with neither date nor lastchecked
+@Webpage{test:emory95,
+ author = "libsf@web.cc.emory.edu",
+ title = "Citation Formats",
+ url = "http://www.emory.edu/WHSCL/citation.formats.html"
+}
+
+% The same, but with no title either
+@Webpage{test:emory95x,
+ author = "libsf@web.cc.emory.edu",
+ url = "http://www.emory.edu/WHSCL/citation.formats.html"
+}
+
+% Article with eprint number
+@techreport{test:simkin,
+ author = {Mikhail Simkin and V. P. Roychowdhury},
+ title = {Read before you cite!},
+ year = 2002,
+ institution = {UCLA},
+ eprint = {cond-mat/0212043}
+}
+
+% Article with a DOI
+@article{test:gray00c,
+ author = "Norman Gray",
+ title = "Automatic Reduction of Elliptic Integrals using
+ {Carlson's} Relations",
+ journal = {Mathematics of Computation},
+ volume = 71,
+ pages = {311-318},
+ year = 2002,
+ doi = {10.1090/S0025-5718-01-01333-3}
+}
+
+% Article with a DOI and a URL which refers to the same resource as the DOI
+% (we shouldn't get both in the output)
+@Article{test:doi2,
+ author = {A N Other},
+ title = {Fun with {DOIs}},
+ journal = {Journal of Indirection},
+ year = 1999,
+ doi = {10.1234/5678},
+ url = {https://doi.org/10.1234/5678}
+}
+
+% Article with a PUBMED reference
+
+
+@Article{test:giffin03,
+ author = {M J Giffin and J C Stroud and D L Bates and von Koenig, K D and J Hardin and L Chen},
+ title = {Structure of {NFAT1} Bound as a Dimer to the {HIV-1 LTR} kappa {B} element},
+ journal = {Nature Structural Biology},
+ year = {2003},
+ volume = {10},
+ number = {10},
+ pages = {800-6},
+ month = oct,
+ pubmed = {12949493}
+}
+
+@ARTICLE{test:nastydoi,
+ author = {Zemla, Adam and Venclovas, Ceslovas and Moult, John and
+ Fidelis, Krzysztof},
+ title = {{P}rocessing and analysis of {CASP}3 protein structure predictions},
+ journal = {Proteins: Structure, Function, and Genetics},
+ year = {1999},
+ volume = {37},
+ pages = {22--29},
+ number = {S3},
+ month = jan,
+ comment = {Description of GDT measure.},
+ doi = {10.1002/(SICI)1097-0134(1999)37:3+<22::AID-PROT5>3.0.CO;2-W},
+ keywords = {CASP},
+ timestamp = {2007-03-13}
+}
+
+% Example from Jason Eisner, by mail (nothing special about the entry,
+% but he seemed to be having formatting problems with unsrturl and proceedings
+% entries.
+@InProceedings{test:eisner-sample,
+ author = {Damianos Karakos and Sanjeev Khudanpur and Jason
+ Eisner and Carey~E. Priebe},
+ title = {Iterative denoising using {J}ensen-{R}eny\'{\i}
+ divergences with an application to unsupervised
+ document categorization},
+ booktitle = {Proceedings of ICASSP},
+ year = 2007,
+ url = {http://cs.jhu.edu/~jason/papers/#icassp07}
+}
+
diff --git a/biblio/bibtex/contrib/urlbst/urlbst.html b/biblio/bibtex/contrib/urlbst/urlbst.html
new file mode 100644
index 0000000000..1edeadcf3a
--- /dev/null
+++ b/biblio/bibtex/contrib/urlbst/urlbst.html
@@ -0,0 +1,462 @@
+<?xml version="1.0"?>
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>Urlbst</title>
+<link href="http://nxg.me.uk/" rev="author"/>
+<link type="text/css" rel="stylesheet" href="/style/base.css"/>
+</head>
+
+<body>
+<h1>Urlbst</h1>
+<div class="abstract">
+<p>A script to add a <code>webpage</code> BibTeX entry type, and add
+support for general <code>url</code> and <code>lastchecked</code>
+fields, to (most) BibTeX <code>.bst</code> files. Optionally adds
+basic support for <code>eprint</code>, <code>doi</code> and <code>pubmed</code> fields, and
+hypertex/hyperref support.</p>
+
+<p>The Persistent URL for this page is
+<code>http://purl.org/nxg/dist/urlbst</code>.
+The code (and bugparade) is on
+<a href='https://bitbucket.org/nxg/urlbst/'>bitbucket.org</a>.</p>
+
+<p>Version 0.8, 2019 July 1.</p>
+</div>
+
+<p>Contents</p>
+<ul>
+<li><a href='#usage'>Usage</a></li>
+<li><a href='#example'>For example...</a></li>
+<li><a href='#download'>Download and installation</a></li>
+<li><a href='#licences'>Licences</a></li>
+<li><a href='#information'>Further Information</a></li>
+<li><a href='#history'>Version history, and release notes</a></li>
+</ul>
+
+<p>The standard BibTeX styles have no explicit support for the web, in
+that they include no `webpage' type, and have no support for adding
+URLs to references. There are rumours that such support might appear
+in BibTeX 1.0, but there is no estimate of when that is likely to arrive.</p>
+
+<p>The Perl script <code>urlbst</code> can be used to add this support to an
+arbitrary <code>.bst</code> file which has a reasonably `conventional'
+structure. The result is meant to be robust rather than pretty.</p>
+
+<p>It has a different goal from Patrick Daly's `custom-bib' package --
+that is intended to create a BibTeX style .bst file from scratch, and
+supports `url' and `eprint' fields. This package, on the other hand,
+is intended for the case where you already have a style file that
+works (or at least, which you cannot or will not change), and edits it
+to add the new webpage entry type, plus the url, lastchecked and
+eprint fields. Fuller details are in the <a href="urlbst.pdf"
+>manual</a>.</p>
+
+<h2><a name='usage'>Usage</a></h2>
+<pre>
+urlbst [--[no]eprint] [--[no]doi] [--[no]pubmed]
+ [--inlinelinks] [--nohyperlinks] [--hypertex] [--hyperref]
+ [--literal key=value]
+ [input-file [output-file]]
+</pre>
+<p>If either the input-file or the output-file is omitted, they
+default to stdin and stdout respectively. If the input file already
+has a URL entry type, then the script objects.
+By default (in the current version), the output
+includes support for eprint, doi and pubmed, but these can be disabled
+by <code>--noeprint</code>, <code>--nodoi</code> and
+<code>--nopubmed</code>, respectively.</p>
+
+<p>The added fields are:</p>
+<ul>
+<li><code>url</code> and <code>lastchecked</code>, to associate a URL with
+ a reference, along with the date at which the URL was last checked
+ to exist;</li>
+<li><code>doi</code>, for a reference's <a href='https://doi.org'>DOI</a>;</li>
+<li><code>eprint</code>, for an <a href='http://arxiv.org'>arXiv</a> eprint reference; and</li>
+<li><code>pubmed</code> for a reference's
+ <a href='http://pubmed.gov'>PubMed</a> identifier (PMID).</li>
+</ul>
+
+<p>If either of the <code>--hypertex</code> or <code>--hyperref</code>
+options is present, then the generated <code>.bst</code> file includes
+support for hyperlinks in the generated eprint entries in the
+bibliography, with the format being either HyperTeX (see <a
+href="http://arxiv.org/hypertex/#implementation" >arXiv, again</a>),
+supported by xdvi, dvips and others, or using the support available
+from the hyperref package. These options have no effect unless one of
+the <code>--eprint</code> or <code>--doi</code> options is given: when
+URLs are included in the bibliography, they are written out using the
+<code>\url{...}</code> command, and hyperref automatically processes
+that in the correct way to include a hyperlink.</p>
+
+<p>The <code>--inlinelinks</code> option tells urlbst not to write out
+the URL as text within the bibliography entry. Instead, urlbst will
+produce a more conventional-looking and compact bibliography entry,
+but the entry's title will now be a hyperlink to that URL. This
+hyperlink may be useful to anyone who reads your document online
+(this option can only be used with <code>--hyperref</code> or
+<code>--hypertex</code>). Any DOI or eprint text which would be
+produced as a result of the appropriate option will still appear in
+this mode.</p>
+
+<p>You may adjust various literal strings, either for the purposes of
+internationalisation, or simply because you prefer different text. To
+do this, give the <code>--literal</code> option, followed by a
+<code>key=value</code> pair, for example <code>--literal online="on
+th'intert00bs"</code>, to replace the default <code>URL:</code> text.
+The possible values, and their defaults, are below (say
+<code>--literal help</code> to get this list printed out):</p>
+<table>
+<tr><th>keyword</th><th>default</th><th>meaning</th></tr>
+<tr><td>cited</td><td>cited</td><td>indicator of citation, or "last checked", date</td></tr>
+<tr><td>doiprefix</td><td>doi:</td><td>text printed before DOI</td></tr>
+<tr><td>eprintprefix</td><td>arXiv:</td><td>text printed before eprint
+ref</td></tr>
+<tr><td>linktext</td><td>[link]</td><td>fallback link text</td></tr>
+<tr><td>pubmedprefix</td><td>PMID:</td><td>text printed before PUBMED reference</td></tr>
+<tr><td>online</td><td>online</td><td>indication that resource is online</td></tr>
+<tr><td>urlintro</td><td>URL:</td><td>location of online resource (an
+alternative is "Available from:")</td></tr>
+</table>
+
+<p>The distribution includes preconverted versions of the four
+standard BibTeX .bst style files.</p>
+
+<p>Only the style files which result from conversion of the standard
+styles are checked in the regression tests. Other style files which
+are known to work include</p>
+<blockquote>
+acm.bst, amsalpha.bst, amsplain.bst, apalike.bst, gerabbrv.bst,
+geralpha.bst, gerapali.bst, gerplain.bst, gerunsrt.bst, ieeetr.bst,
+siam.bst, mla.bst
+</blockquote>
+
+<p>Style files which are known to fail:</p>
+<ul>
+<li>Currently (as of at least v0.5), there exists a style <code>achicago.bst</code>
+which seems to fox <code>urlbst</code>; it turns out that there's a
+simpler but almost equivalent style <code>chicago.bst</code> which
+works.</li>
+
+<li>Some APA-like styles, including at least <code>apager.bst</code>,
+seem to be sufficiently different from the most common styles, that
+they confuse <code>urlbst</code> completely.</li>
+
+<li>The <em>koma-script</em> styles and the <em>refer</em> styles are
+not designed to produce conventional <code>.bbl</code> files, and
+<code>urlbst</code> does not aim to produce anything useful from these.</li>
+</ul>
+<p>This might be a good time for me to revisit the rather
+convoluted logic within the script, to make it a little more robust in
+the face of variants like these, but don't hold your breath. The
+logic within the script is pretty hideous (it essentially works by
+spotting patterns in the input style file, and replacing or extending
+bits of BibTeX style-file code. This is a fragile technique, and is
+probably at the limits of its usefulness, therefore I'd take some
+persuading to add significant extra functionality to the script.</p>
+
+<p>The natbib and revtex style files already have URL fields. If you have a
+BibTeX style file which you think ought to work, but with which the
+script fails, send it to me, and I'll try to work out what I've
+missed (no promises, though).</p>
+
+<p>Note that the command to invoke the script changed from `urlbst.pl'
+to plain `urlbst' between versions 0.3 and 0.4.</p>
+
+<h2><a name='example'>For example...</a></h2>
+<p>To add URL support to the standard <code>siam.bst</code> file, you
+can give the command</p>
+<pre>
+% urlbst /path/to/original/siam.bst siamurl.bst
+</pre>
+<p>Your TeX installation will likely have some way of helping you find where
+the original <code>.bst</code> files are. On teTeX-based systems, for
+example, the command <code>kpsewhich siam.bst</code> returns the full
+path of the <code>siam.bst</code> file which BibTeX would find.</p>
+
+<p>The distributed files <code>abbrvurl.bst</code>,
+<code>alphaurl.bst</code>, <code>plainurl.bst</code> and
+<code>unsrturl.bst</code> are versions of the standard style files
+which have been pre-converted.</p>
+
+<p>There is more general discussion of including URLs in
+bibliographies in the <a
+href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=citeURL" >UK TeX
+FAQ</a>.</p>
+
+<h2><a name='download'>Download and installation</a></h2>
+
+<p>Download the file as a
+<a href="urlbst-0.8.tar.gz" >tarball</a>
+or
+<a href="urlbst-0.8.zip" >zip file</a>
+and unpack it. Or you can clone the source repository at
+<a href='http://bitbucket.org/nxg/urlbst/'>bitbucket.org</a>.</p>
+
+<p>To install, you should simply copy the distributed
+<code>urlbst</code> script to someplace on the path (such as
+<code>/usr/local/bin</code>, or <code>~/local/bin</code>, depending on
+your privileges and tastes).</p>
+
+<p>If you (might) want to use the pre-converted standard
+<code>.bst</code> files, then you'll need to copy these to somewhere
+in the BibTeX search path. Type <kbd>kpsepath bst</kbd> on Unix to
+find out the list of places BibTeX searches, and pick either one of
+the user-local locations, or a system-wide one. If you're installing
+in a system-wide location, you'll need admin privileges, obviously,
+and you will probably need to use <code>texhash</code>,
+<code>mktexlsr</code> or its equivalent, to update LaTeX's filename
+cache. For further hints here, see
+the TeX FAQ entries on <a
+href='http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages'
+>installing a package</a> and <a
+href='http://www.tex.ac.uk/cgi-bin/texfaq2html?label=wherefiles'
+>where LaTeX puts files</a>.</p>
+
+<p>That should be all you have to do.</p>
+
+<p>The urlbst script is distributed with a path which should just work,
+as long as the Perl binary is in your path, but if you have problems
+here, then you might want to change the first line to something like</p>
+<pre>
+#! /usr/local/bin/perl
+</pre>
+<p>if that's where your Perl binary is.</p>
+
+<p>You can also use the conventional <code>./configure; make; make
+install</code> to configure and install the package (as root, or using
+<code>sudo</code> if you're installing it in a system location),
+though you still have to install the <code>.bst</code> files by hand.
+This is rather heavyweight for the trivial amount of configuration
+required, so it's almost always simpler just to do things by hand.</p>
+
+<p>If you need to change some of the <code>urlbst</code> defaults,
+however, or if your fingers type <code>./configure</code>
+spontaneously, then you can be reassured that the configure script
+supports the standard <code>--prefix</code> option, plus the following
+options setting defaults:</p>
+<dl>
+
+<dt><code>--with-eprints=url</code>, <code>--without-eprints</code></dt>
+
+<dd>This makes the <code>--eprints</code> option to urlbst available
+by default, and allows you to optionally specify a prefix for creating
+URLs from eprint numbers. The default for this URL is
+<code>http://arxiv.org/abs/</code> -- this is appropriate for arXiv,
+obviously, but there are now a variety of other preprint archives
+appearing, for which this might be inappropriate. If you have
+comments on this default, or alternatives, please let me know. This
+option is enabled by default; if you have some reason for disabling
+the <code>--eprints</code> option for urlbst, the give the configure
+option <code>--without-eprints</code></dd>
+
+<dt><code>--with-doi=url</code>, <code>--without-doi</code></dt>
+
+<dd>This makes available the <code>--doi</code> option to urlbst and,
+as with the <code>--with-eprints</code> option, allows you to
+customise the DOI resolver URL. The <code>--doi</code> option to
+urlbst is on by default.</dd>
+
+<dt><code>--with-href=0/1/2</code></dt>
+
+<dd>This allows you to specify the type of hyperlinks which are
+inserted in the bibliography. Values 0, 1 and 2, indicating no
+hyperlinks, hypertex-style links, and hyperref-style links,
+respectively. The default is <code>--with-href=0</code>. The
+<code>hyperref</code>-style option is intended to complement the
+increasingly standard <code>hyperref</code> package.</dd>
+
+</dl>
+
+<p>The first two options simply change defaults, and if you never use
+the new <code>eprints</code> or <code>doi</code> fields, then the
+defaults don't matter to you. </p>
+
+<p>Since the modified style generates URLs wrapped in the
+<code>\url{}</code> macro, it is useful to use the resulting
+bibliography style alongside the <code>url</code> package. Since this
+tends to work with <code>hyperref</code> anyway, where possible, you
+don't get any extra goodness by changing the <code>--with-href</code>
+default at configuration time.</p>
+
+<h3>Documentation</h3>
+
+<p>Basic documentation is in the file <code>urlbst.tex</code>. This
+is distributed as a PDF file, but if you want to regenerate it, use</p>
+<pre>
+% latex urlbst
+% bibtex urlbst
+% latex urlbst
+% latex urlbst
+</pre>
+
+<h2><a name='licences'>Licences</a></h2>
+
+<!-- this text copied from the README.md -->
+<p>The copyright and licence position for the modified <code>.bst</code> files seems
+slightly muddy to me. On the grounds that any licence is better than
+no licence, I therefore assert that the <em>modifications</em> which the
+<code>urlbst</code> program makes to these files are copyright 2002-03, 2005-12, 2014, 2019,
+Norman Gray, and that these modifications are available for
+distribution under the terms of the LaTeX Project Public Licence.</p>
+
+<p>The original <code>.bst</code> files are copyright Howard Trickey and Oren
+Patashnik, with a set of permissions, in text at the top of the files,
+which state that "Unlimited copying and redistribution of this file
+are permitted as long as it is unmodified" (see the files for the
+complete text). The distribution terms above therefore appear to be
+compatible with -- in the sense of being morally equivalent to --
+these terms in the <code>.bst</code> file. If anyone disagrees with
+the logic here, I'd be very happy to discuss that.</p>
+
+<p>The <code>urlbst</code> script itself is distributed under the GPL, version 2.0.</p>
+
+<p>See the files <code>LICENCE-lppl.txt</code> and <code>LICENCE-gpl-2.0.txt</code> in the
+distribution, for the relevant licence text.</p>
+
+
+<h2><a name='information'>Further Information and acknowledgements</a></h2>
+
+<p><code>urlbst</code> is archived <a
+href='https://ctan.org/pkg/urlbst'
+>on CTAN</a>, and discussed in the
+<a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=citeURL" >TeX
+FAQ</a>.</p>
+
+<p>The source code for the package is maintained at
+<a href='http://bitbucket.org/nxg/urlbst/'>bitbucket.org</a>,
+which also includes an issue tracker, where you can report bugs (or
+just mail me).</p>
+
+<p>The <a href="http://purl.org/nxg/dist/urlbst"
+>home page of urlbst</a> might possibly have more recent versions than the
+one you're looking at now.</p>
+
+
+<h2><a name='history'>Acknowledgements, and release notes</a></h2>
+
+<!-- include:release-notes.html -->
+<div xmlns='http://www.w3.org/1999/xhtml'>
+
+<p>Thanks are due to many people for suggestions and requests:
+to Jason Eisner for suggesting the <code>--inlinelinks</code> option;
+to ‘ijvm’ for code contributions in the <code>urlbst</code> script;
+to Paweł Widera for the suggestion to use <code>\path</code> when formatting DOIs;
+to Michael Giffin for the suggestion to include PubMed URLs;
+to Katrin Leinweber for the pull request which fixed the format of DOI
+references.</p>
+
+<dl>
+<dt><strong>0.8, 2019 July 1</strong></dt>
+<dd><ul>
+<li>The presence of a preexisting <code>format.doi</code>,
+<code>format.eprint</code> or <code>format.pubmed</code> function is
+now detected, and warned about. The resulting <code>.bst</code> file
+might still require some manual editing.
+Resolves <a href='https://bitbucket.org/nxg/urlbst/issue/8'>issue 8</a>.</li>
+<li>Clarified licences (I hope).</li>
+<li>Adjust format of DOI resolver.
+Resolves <a href='https://bitbucket.org/nxg/urlbst/issue/11'>issue 11</a>,
+thanks to
+<a href='https://bitbucket.org/nxg/urlbst/pull-requests/1/'
+>code contributed by Katrin Leinweber</a>.</li>
+</ul>
+</dd>
+
+<dt>0.7, 2011 July 20</dt>
+<dd>Add <code>--nodoi</code>, <code>--noeprints</code> and <code>--nopubmed</code> options (which defaulted
+on, and couldn't otherwise be turned off)</dd>
+
+<dt>0.7b1, 2011 March 17</dt>
+<dd>Allow parameterisation of literal strings, with option <code>--literal</code>.</dd>
+
+<dt>0.6-5, 2011 March 8</dt>
+<dd>Adjust support for inline links (should now work for arXiv, DOI and Pubmed)</dd>
+
+<dt>0.6-4, 2009 April 28</dt>
+<dd>Work around BibTeX linebreaking bug (thanks to Andras Salamon for the bug report).</dd>
+
+<dt>0.6-3, 2009 April 19</dt>
+<dd>Fix inline link generation (thanks to Eric Chamberland for the bug report).</dd>
+
+<dt>0.6-2, 2008 November 17</dt>
+<dd>We now turn on inlinelinks when we spot format.vol.num.pages,
+which means we include links for those styles which don't include a
+title in the citation (common for articles in physical science styles,
+such as aip.sty).</dd>
+
+<dt>0.6-1, 2008 June 16</dt>
+<dd>Fixed some broken links to the various citation standards
+(I think in this context this should probably <em>not</em> be happening, yes?).
+The distributed <code>*url.bst</code> no longer have the
+<code>--inlinelinks</code> option turned on by default.</dd>
+
+<dt><strong>0.6, 2007 March 26</strong></dt>
+<dd><ul>
+<li>Added the option <code>--inlinelinks</code>, which adds inline hyperlinks
+to any bibliography entries which have URLs, but does so inline, rather
+than printing the URL explicitly in the bibliography. This is (primarily)
+useful if you're preparing a version of a document which will be read
+on-screen. Thanks to Jason Eisner for the suggestion, and much testing.</li>
+
+<li>Incorporate hyperref bugfixes from Paweł Widera.</li>
+
+<li>Further reworkings of the inlinelinks support, so that it's now
+fired by a <code>format.title</code> (or <code>format.btitle</code>) line, with a fallback in
+<code>fin.entry</code>. This should be more robust, and allows me to delete some
+of the previous version's gymnastics.</li>
+
+<li>Reworked <code>inlinelinks</code> support; should now be more
+robust. Incorporate hyperref bugfixes from Paweł Widera.</li>
+
+<li>Added the option <code>inlinelinks</code>, which adds inline hyperlinks
+to any bibliography entries which have URLs, but does so inline, rather
+than printing the URL explicitly in the bibliography. This is (only)
+useful if you're preparing a version of a document which will be read
+on-screen.</li>
+</ul>
+</dd>
+
+<dt>0.5.2, 2006 September 6</dt>
+<dd>Another set of documentation-only changes, hopefully clarifying
+installation.</dd>
+
+<dt>0.5.1, 2006 January 10</dt>
+<dd>No functionality changes. Documentation and webpage changes only,
+hopefully clarifying usage and configuration</dd>
+
+<dt><strong>0.5, 2005 June 3</strong></dt>
+<dd>Added support for Digital Object Identifiers (DOI) fields in
+bibliographies.</dd>
+
+<dt>0.4-1, 2005 April 12</dt>
+<dd>Documentation improvements -- there are now examples in the help text!</dd>
+
+<dt><strong>0.4, 2004 December 1</strong></dt>
+<dd>Bug fixes: now compatible with mla.bst and friends.
+Now uses <code>./configure</code> (optionally). Assorted reorganisation.</dd>
+
+<dt><strong>0.3, 2003 June 4</strong></dt>
+<dd>Added <code>--eprint</code>, <code>--hypertex</code> and <code>--hyperref</code> options.</dd>
+
+<dt><strong>0.2, 2002 October 23</strong></dt>
+<dd>The `editor' field is now supported in the webpage entry type. Basic
+documentation added.</dd>
+
+<dt><strong>0.1, 2002 April</strong></dt>
+<dd>Initial version</dd>
+</dl>
+</div>
+
+<p>Copyright 2002-03, 2005-12, 2014, 2019, Norman Gray. Released under the terms of the GNU
+General Public Licence.</p>
+
+<div class="signature">
+<a href="http://nxg.me.uk"
+ >Norman Gray</a><br/>
+2019 July 1
+</div>
+
+</body>
+</html>
diff --git a/biblio/bibtex/contrib/urlbst/urlbst.in b/biblio/bibtex/contrib/urlbst/urlbst.in
new file mode 100644
index 0000000000..1039dfb6c5
--- /dev/null
+++ b/biblio/bibtex/contrib/urlbst/urlbst.in
@@ -0,0 +1,889 @@
+#! @PERL@ -w
+#
+# Usage: ./urlbst.pl [--eprint] [--doi] [--pubmed]
+# [--nohyperlinks] [--inlinelinks] [--hypertex] [--hyperref]
+# [input-file [output-file]]
+# If either input-file or output-file is omitted, they are replaced by
+# stdin or stdout respectively.
+#
+# See http://purl.org/nxg/dist/urlbst for documentation
+#
+# Copyright @COPYRIGHTYEARS@, Norman Gray <http://nxg.me.uk>
+#
+# This program is distributed under the terms of the
+# GNU General Public Licence, v2.0.
+# The modifications to the input .bst files are asserted as Copyright @COPYRIGHTYEARS@, Norman Gray,
+# and distributed under the terms of the LaTeX Project Public Licence.
+# See the package README for further dicussion of licences.
+
+$version = '@PACKAGE_VERSION@';
+($progname = $0) =~ s/.*\///;
+$mymarker = "% $progname";
+$mymarkerend = "% ...$progname to here";
+$myurl = 'http://purl.org/nxg/dist/urlbst';
+
+
+$infile = '-';
+$outfile = '-';
+
+$addeprints = @WITHEPRINTS@; # if true (nonzero) we add support for eprints
+$literals{eprintprefix} = 'arXiv:'; # make these settable with --eprint? syntax?
+$eprinturl = '@EPRINTURL@';
+
+$adddoiresolver = @WITHDOIRESOLVER@;
+$literals{doiprefix} = 'doi:';
+$doiurl = '@DOIURL@';
+
+$addpubmedresolver = @WITHPUBMEDRESOLVER@;
+$literals{pubmedprefix} = 'PMID:';
+$pubmedurl = '@PUBMEDURL@';
+
+$makehref = @WITHHREF@;
+$literals{urlintro} = "URL: ";
+$inlinelinks = 0;
+
+$literals{online} = "online";
+$literals{cited} = "cited ";
+$literals{linktext} = "[link]";
+
+$automatic_output_filename = 0;
+
+$Usage = "$progname [--eprint] [--doi] [--pubmed]\n [--nohyperlinks] [--[no]inlinelinks] [--hypertex] [--hyperref]\n [--literal key=value]\n [--help] [input-file [output-file]]";
+
+# Magic environment variable: if this is set, then we're being called from a Platypus wrapper
+# See http://www.sveinbjorn.org/platypus
+if ($ENV{"CALLED_FROM_PLATYPUS"}) {
+ $automatic_output_filename = 1;
+}
+
+while ($#ARGV >= 0) {
+ if ($ARGV[0] eq '--eprint') {
+ $addeprints = 1;
+ } elsif ($ARGV[0] eq '--noeprint') {
+ $addeprints = 0;
+ } elsif ($ARGV[0] eq '--doi') {
+ $adddoiresolver = 1;
+ } elsif ($ARGV[0] eq '--nodoi') {
+ $adddoiresolver = 0;
+ } elsif ($ARGV[0] eq '--pubmed') {
+ $addpubmedresolver = 1;
+ } elsif ($ARGV[0] eq '--nopubmed') {
+ $addpubmedresolver = 0;
+ } elsif ($ARGV[0] eq '--nohyperlinks') {
+ $makehref = 0;
+ } elsif ($ARGV[0] eq '--hypertex') {
+ $makehref = 1;
+ } elsif ($ARGV[0] eq '--hyperref') {
+ $makehref = 2;
+ } elsif ($ARGV[0] eq '--inlinelinks') {
+ $inlinelinks = 1;
+ } elsif ($ARGV[0] eq '--noinlinelinks') {
+ $inlinelinks = 0;
+ } elsif ($ARGV[0] eq '--automatic-output') {
+ $automatic_output_filename = 1;
+ } elsif ($ARGV[0] eq '--literal') {
+ shift;
+ my $showstrings = 0;
+ if ((($k, $v) = ($ARGV[0] =~ /^(\w+)=(.*)/)) && exists $literals{$k}) {
+ $literals{$k} = $v;
+ } elsif ($ARGV[0] eq 'help') {
+ $showstrings = 1;
+ } else {
+ print "No literal found in $ARGV[0]; ignoring that\n";
+ $showstrings = 1;
+ }
+ if ($showstrings) {
+ print " Possible literal strings (and defaults) are...\n";
+ while (($k, $v) = each (%literals)) {
+ print " $k ($v)\n";
+ }
+ exit(0);
+ }
+ } elsif ($ARGV[0] eq '--help') {
+ print <<EOD;
+urlbst version $version
+ Usage: $Usage
+ --[no]eprint include support for `eprint' fields
+ --[no]doi include support for `doi' field
+ --[no]pubmed include support for `pubmed' field
+ --nohyperlinks do not include active links anywhere
+ --[no]inlinelinks add hyperlinks to entry titles
+ --hypertex include HyperTeX-style hyperlink support
+ --hyperref include {hyperref}-style hyperlink support
+ (generally better)
+ --literal key=value set one of the literal strings
+ (see `--literal help' for possibilities)
+ --help print this help
+ Input and output files may be given as `-' (default) to indicate stdin/out.
+
+EOD
+ printf(" Defaults:\n");
+ printf(" eprint refs %s\n", ($addeprints ? "included" : "not included"));
+ printf(" DOIs %s\n", ($adddoiresolver ? "included" : "not included"));
+ printf(" PUBMED refs %s\n", ($addpubmedresolver ? "included" : "not included"));
+ printf(" hyperlinks %s\n", ($makehref==0 ? "none" : $makehref==1 ? "hypertex" : "hyperref"));
+ printf(" inline links %s\n", ($inlinelinks ? "included" : "not included"));
+ exit(0);
+ } elsif ($ARGV[0] =~ /^-/) {
+ die "Unrecognised option $ARGV[0]: Usage: $Usage\n";
+ } elsif ($infile eq '-') {
+ $infile = $ARGV[0];
+ } elsif ($outfile eq '-') {
+ $outfile = $ARGV[0];
+ } else {
+ die "Usage: $Usage\n";
+ }
+ shift(@ARGV);
+}
+
+if ($inlinelinks && $makehref == 0) {
+ print <<'EOD';
+Warning: --inlinelinks and --nohyperlinks were both specified (possibly
+ implicitly). That combination makes no sense, so I'll ignore
+ --nohyperlinks and use --hyperref instead
+EOD
+ $makehref = 2;
+}
+
+if ($automatic_output_filename) {
+ if ($infile eq '-') {
+ print "ERROR: No input filename given with --automatic-output\n";
+ }
+ $outfile = $infile;
+ @outparts = split /\./, $outfile;
+ $ext = pop(@outparts);
+ $outfile=join('.', @outparts);
+ if ($outfile eq '') {
+ $outfile = $ext . '-url';
+ } else {
+ $outfile = $outfile . '-url.' . $ext;
+ }
+}
+
+$exitstatus = 0; # success status
+
+open (IN, "<$infile") || die "Can't open $infile to read";
+open (OUT, ">$outfile") || die "Can't open $outfile to write";
+
+# We have to make certain assumptions about the source files, in order
+# to patch them at the correct places. Specifically, we assume that
+#
+# - there's a function init.state.consts
+#
+# - ...and an output.nonnull which does the actual outputting, which
+# has the `usual' interface.
+#
+# - we can replace
+# fin.entry
+# by
+# new.block
+# output.url % the function which formats and displays any URL
+# fin.entry
+#
+# - there is a function which handles the `article' entry type (this
+# will always be true)
+#
+# - there is a function output.bibitem which is called at the
+# beginning of each entry type
+# - ...and one called fin.entry which is called at the end
+#
+# If the functions format.date, format.title or new.block are not defined (the
+# former is not in apalike, for example, and the last is not in the
+# AMS styles), then replacements are included in the output.
+#
+# All these assumptions are true of the standard files and, since most
+# style files derive from them more or less directly, are true of most (?)
+# other style files, too.
+#
+# There's some rather ugly Perl down here. The parsing for
+# brace-matching could probably do with being rewritten in places, to
+# make it less ugly, and more robust.
+
+print OUT "%%% Modification of BibTeX style file ", ($infile eq '-' ? '<stdin>' : $infile), "\n";
+print OUT "%%% ... by $progname, version $version (marked with \"$mymarker\")\n%%% See <$myurl>\n";
+print OUT "%%% Modifications Copyright @COPYRIGHTYEARS@, Norman Gray,\n";
+print OUT "%%% and distributed under the terms of the LPPL; see README for discussion.\n";
+print OUT "%%%\n";
+print OUT "%%% Added webpage entry type, and url and lastchecked fields.\n";
+print OUT "%%% Added eprint support.\n" if ($addeprints);
+print OUT "%%% Added DOI support.\n" if ($adddoiresolver);
+print OUT "%%% Added PUBMED support.\n" if ($addpubmedresolver);
+print OUT "%%% Added HyperTeX support.\n" if ($makehref == 1);
+print OUT "%%% Added hyperref support.\n" if ($makehref == 2);
+print OUT "%%% Original headers follow...\n\n";
+
+$found{initconsts} = 0;
+$found{outputnonnull} = 0;
+$found{article} = 0;
+$found{outputbibitem} = 0;
+$found{finentry} = 0;
+$found{formatdate} = 0;
+$found{formattitle} = 0;
+$found{newblock} = 0;
+# The following are initialised negative, which Perl treats as true,
+# so the simple test 'if ($found{formateprint}) ...' will be true.
+$found{formateprint} = -1;
+$found{formatdoi} = -1;
+$found{formatpubmed} = -1;
+
+while (<IN>) {
+ /^ *%/ && do {
+ # Pass commented lines unchanged
+ print OUT;
+ next;
+ };
+
+ /^ *ENTRY/ && do {
+ # Work through the list of entry types, finding what ones are there.
+ # If we find a URL entry there already, object, since these edits
+ # will mess things up.
+ $line = $_;
+ until ($line =~ /\{\s*(\w*)/) {
+ $line .= <IN>;
+ }
+ $bracematchtotal = 0; # reset
+ bracematcher($line);
+ $line =~ /\{\s*(\w*)/;
+ $found{'entry'.$1} = 1;
+ print OUT $line;
+ $line = <IN>;
+ until (bracematcher($line) == 0) {
+ # XXX deal with multiple entries on one line
+ ($line =~ /^\s*(\w*)/) && ($found{'entry'.$1} = 1);
+ print OUT $line;
+ $line = <IN>;
+ }
+ if (defined($found{entryurl})) {
+ print STDERR "$progname: style file $infile already has URL entry!\n";
+ # print out the rest of the file, and give up
+ print OUT $line;
+ while (<IN>) {
+ print OUT;
+ }
+ $exitstatus = 1;
+ last;
+ } else {
+ print OUT " eprint $mymarker\n doi $mymarker\n pubmed $mymarker\n url $mymarker\n lastchecked $mymarker\n";
+ }
+ print OUT $line;
+ next;
+ };
+
+ /^ *FUNCTION *\{init\.state\.consts\}/ && do {
+ # In the init.state.consts function, add an extra set of
+ # constants at the beginning. Also use this as the marker for
+ # the place to add the init strings function.
+ print OUT <<EOD;
+$mymarker...
+% urlbst constants and state variables
+STRINGS { urlintro
+ eprinturl eprintprefix doiprefix doiurl pubmedprefix pubmedurl
+ citedstring onlinestring linktextstring
+ openinlinelink closeinlinelink }
+INTEGERS { hrefform inlinelinks makeinlinelink
+ addeprints adddoiresolver addpubmedresolver }
+FUNCTION {init.urlbst.variables}
+{
+ % The following constants may be adjusted by hand, if desired
+
+ % The first set allow you to enable or disable certain functionality.
+ #$addeprints 'addeprints := % 0=no eprints; 1=include eprints
+ #$adddoiresolver 'adddoiresolver := % 0=no DOI resolver; 1=include it
+ #$addpubmedresolver 'addpubmedresolver := % 0=no PUBMED resolver; 1=include it
+ #$makehref 'hrefform := % 0=no crossrefs; 1=hypertex xrefs; 2=hyperref refs
+ #$inlinelinks 'inlinelinks := % 0=URLs explicit; 1=URLs attached to titles
+
+ % String constants, which you _might_ want to tweak.
+ "$literals{urlintro}" 'urlintro := % prefix before URL; typically "Available from:" or "URL":
+ "$literals{online}" 'onlinestring := % indication that resource is online; typically "online"
+ "$literals{cited}" 'citedstring := % indicator of citation date; typically "cited "
+ "$literals{linktext}" 'linktextstring := % dummy link text; typically "[link]"
+ "$eprinturl" 'eprinturl := % prefix to make URL from eprint ref
+ "$literals{eprintprefix}" 'eprintprefix := % text prefix printed before eprint ref; typically "arXiv:"
+ "$doiurl" 'doiurl := % prefix to make URL from DOI
+ "$literals{doiprefix}" 'doiprefix := % text prefix printed before DOI ref; typically "doi:"
+ "$pubmedurl" 'pubmedurl := % prefix to make URL from PUBMED
+ "$literals{pubmedprefix}" 'pubmedprefix := % text prefix printed before PUBMED ref; typically "PMID:"
+
+ % The following are internal state variables, not configuration constants,
+ % so they shouldn't be fiddled with.
+ #0 'makeinlinelink := % state variable managed by possibly.setup.inlinelink
+ "" 'openinlinelink := % ditto
+ "" 'closeinlinelink := % ditto
+}
+INTEGERS {
+ bracket.state
+ outside.brackets
+ open.brackets
+ within.brackets
+ close.brackets
+}
+$mymarkerend
+EOD
+ $line = $_;
+ until ($line =~ /\{.*\}.*\{/s) {
+ $line .= <IN>;
+ }
+ $line =~ s/(\{.*?\}.*?\{)/$1 #0 'outside.brackets := $mymarker...
+ #1 'open.brackets :=
+ #2 'within.brackets :=
+ #3 'close.brackets := $mymarkerend
+
+ /s;
+ print OUT $line;
+ $found{initconsts} = 1;
+ next;
+ };
+
+ /^ *EXECUTE *\{init\.state\.consts\}/ && do {
+ print OUT "EXECUTE {init.urlbst.variables} $mymarker\n";
+ print OUT;
+ next;
+ };
+
+ /^ *FUNCTION *\{new.block\}/ && do {
+ $found{newblock} = 1;
+ };
+
+ /^ *FUNCTION *\{format.doi\}/ && do {
+ #print STDERR "$progname: style file $infile already supports DOIs; urlbst format.doi disabled\n(see generated .bst style: you may need to make edits near \$adddoiresolver)\n";
+ $found{formatdoi} = 1;
+ $adddoiresolver = 0;
+ };
+
+ /^ *FUNCTION *\{format.eprint\}/ && do {
+ #print STDERR "$progname: style file $infile already supports eprints; urlbst format.eprint disabled\n(see generated .bst style: you may need to make edits near \$addeprints)\n";
+ $found{formateprint} = 1;
+ $addeprints = 0;
+ };
+
+ /^ *FUNCTION *\{format.pubmed\}/ && do {
+ #print STDERR "$progname: style file $infile already supports Pubmed; urlbst format.pubmed disabled\n(see generated .bst style: you may need to make edits near \$addpubmedresolver)\n";
+ $found{formatpubmed} = 1;
+ $addpubmedresolver = 0;
+ };
+
+ /^ *FUNCTION *{output\.nonnull}/ && do {
+ print OUT "$mymarker\n";
+ print OUT "FUNCTION {output.nonnull.original}\n";
+ copy_block();
+ print_output_functions();
+ $found{outputnonnull} = 1;
+ next;
+ };
+
+ /FUNCTION *\{fin.entry\}/ && do {
+ # Rename fin.entry to fin.entry.original (wrapped below)
+ s/fin.entry/fin.entry.original/;
+ s/$/ $mymarker (renamed from fin.entry, so it can be wrapped below)/;
+ $found{finentry} = 1;
+ print OUT;
+ next;
+ };
+
+ /^ *FUNCTION *{format\.date}/ && do {
+ $found{formatdate} = 1;
+ print OUT;
+ next;
+ };
+
+ /^ *FUNCTION *{format\.title}/ && do {
+ # record that we found this
+ $found{formattitle} = 1;
+ print OUT;
+ next;
+ };
+
+ /^ *format\.b?title/ && do {
+ # interpolate a call to possibly.setup.inlinelink
+ print OUT " title empty\$ 'skip\$ 'possibly.setup\.inlinelink if\$ $mymarker\n";
+ print OUT;
+ next;
+ };
+
+ /^ *format\.vol\.num\.pages/ && do {
+ # interpolate a call to possibly.setup.inlinelink
+ s/^( *)/$1possibly.setup.inlinelink /;
+ s/$/$mymarker/;
+ print OUT;
+ next;
+ };
+
+ /^ *FUNCTION *\{article\}/ && do {
+
+ print_missing_functions();
+ print_webpage_def();
+
+ print OUT;
+ $found{article} = 1;
+ next;
+ };
+
+ /FUNCTION *\{output.bibitem\}/ && do {
+ # Rename output.bibitem to output.bibitem.original (wrapped below)
+ s/{output.bibitem\}/\{output.bibitem.original\}/;
+ s/$/ $mymarker (renamed from output.bibitem, so it can be wrapped below)/;
+ $found{outputbibitem} = 1;
+ print OUT;
+ next;
+ };
+
+ print OUT;
+};
+
+if ($exitstatus == 0) {
+ # Skip this if we've already reported an error -- it'll only be confusing
+ foreach $k (keys %found) {
+ if ($found{$k} == 0) {
+ print STDERR "$progname: $infile: failed to find feature $k\n";
+ }
+ }
+}
+
+close (IN);
+close (OUT);
+
+exit $exitstatus;;
+
+
+
+
+
+
+sub print_output_functions {
+ print OUT "$mymarker...\n";
+
+ print OUT <<'EOD';
+% The following three functions are for handling inlinelink. They wrap
+% a block of text which is potentially output with write$ by multiple
+% other functions, so we don't know the content a priori.
+% They communicate between each other using the variables makeinlinelink
+% (which is true if a link should be made), and closeinlinelink (which holds
+% the string which should close any current link. They can be called
+% at any time, but start.inlinelink will be a no-op unless something has
+% previously set makeinlinelink true, and the two ...end.inlinelink functions
+% will only do their stuff if start.inlinelink has previously set
+% closeinlinelink to be non-empty.
+% (thanks to 'ijvm' for suggested code here)
+FUNCTION {uand}
+{ 'skip$ { pop$ #0 } if$ } % 'and' (which isn't defined at this point in the file)
+FUNCTION {possibly.setup.inlinelink}
+{ makeinlinelink hrefform #0 > uand
+ { doi empty$ adddoiresolver uand
+ { pubmed empty$ addpubmedresolver uand
+ { eprint empty$ addeprints uand
+ { url empty$
+ { "" }
+ { url }
+ if$ }
+ { eprinturl eprint * }
+ if$ }
+ { pubmedurl pubmed * }
+ if$ }
+ { doiurl doi * }
+ if$
+ % an appropriately-formatted URL is now on the stack
+ hrefform #1 = % hypertex
+ { "\special {html:<a href=" quote$ * swap$ * quote$ * "> }{" * 'openinlinelink :=
+ "\special {html:</a>}" 'closeinlinelink := }
+ { "\href {" swap$ * "} {" * 'openinlinelink := % hrefform=#2 -- hyperref
+ % the space between "} {" matters: a URL of just the right length can cause "\% newline em"
+ "}" 'closeinlinelink := }
+ if$
+ #0 'makeinlinelink :=
+ }
+ 'skip$
+ if$ % makeinlinelink
+}
+FUNCTION {add.inlinelink}
+{ openinlinelink empty$
+ 'skip$
+ { openinlinelink swap$ * closeinlinelink *
+ "" 'openinlinelink :=
+ }
+ if$
+}
+EOD
+
+ # new.block is defined elsewhere
+
+ print OUT <<'EOD';
+FUNCTION {output.nonnull}
+{ % Save the thing we've been asked to output
+ 's :=
+ % If the bracket-state is close.brackets, then add a close-bracket to
+ % what is currently at the top of the stack, and set bracket.state
+ % to outside.brackets
+ bracket.state close.brackets =
+ { "]" *
+ outside.brackets 'bracket.state :=
+ }
+ 'skip$
+ if$
+ bracket.state outside.brackets =
+ { % We're outside all brackets -- this is the normal situation.
+ % Write out what's currently at the top of the stack, using the
+ % original output.nonnull function.
+ s
+ add.inlinelink
+ output.nonnull.original % invoke the original output.nonnull
+ }
+ { % Still in brackets. Add open-bracket or (continuation) comma, add the
+ % new text (in s) to the top of the stack, and move to the close-brackets
+ % state, ready for next time (unless inbrackets resets it). If we come
+ % into this branch, then output.state is carefully undisturbed.
+ bracket.state open.brackets =
+ { " [" * }
+ { ", " * } % bracket.state will be within.brackets
+ if$
+ s *
+ close.brackets 'bracket.state :=
+ }
+ if$
+}
+
+% Call this function just before adding something which should be presented in
+% brackets. bracket.state is handled specially within output.nonnull.
+FUNCTION {inbrackets}
+{ bracket.state close.brackets =
+ { within.brackets 'bracket.state := } % reset the state: not open nor closed
+ { open.brackets 'bracket.state := }
+ if$
+}
+
+FUNCTION {format.lastchecked}
+{ lastchecked empty$
+ { "" }
+ { inbrackets citedstring lastchecked * }
+ if$
+}
+EOD
+ print OUT "$mymarkerend\n";
+}
+
+sub print_webpage_def {
+ print OUT "$mymarker...\n";
+
+ # Some of the functions below call new.block, so we need a dummy
+ # version, in the case where the style being edited doesn't supply
+ # that function.
+ if (! $found{newblock}) {
+ print OUT "FUNCTION {new.block} % dummy new.block function\n{\n % empty\n}\n\n";
+ $found{newblock} = 1;
+ }
+
+ print OUT <<'EOD';
+% Functions for making hypertext links.
+% In all cases, the stack has (link-text href-url)
+%
+% make 'null' specials
+FUNCTION {make.href.null}
+{
+ pop$
+}
+% make hypertex specials
+FUNCTION {make.href.hypertex}
+{
+ "\special {html:<a href=" quote$ *
+ swap$ * quote$ * "> }" * swap$ *
+ "\special {html:</a>}" *
+}
+% make hyperref specials
+FUNCTION {make.href.hyperref}
+{
+ "\href {" swap$ * "} {\path{" * swap$ * "}}" *
+}
+FUNCTION {make.href}
+{ hrefform #2 =
+ 'make.href.hyperref % hrefform = 2
+ { hrefform #1 =
+ 'make.href.hypertex % hrefform = 1
+ 'make.href.null % hrefform = 0 (or anything else)
+ if$
+ }
+ if$
+}
+
+% If inlinelinks is true, then format.url should be a no-op, since it's
+% (a) redundant, and (b) could end up as a link-within-a-link.
+FUNCTION {format.url}
+{ inlinelinks #1 = url empty$ or
+ { "" }
+ { hrefform #1 =
+ { % special case -- add HyperTeX specials
+ urlintro "\url{" url * "}" * url make.href.hypertex * }
+ { urlintro "\url{" * url * "}" * }
+ if$
+ }
+ if$
+}
+EOD
+
+ $formateprintfunction = <<'EOD';
+FUNCTION {format.eprint}
+{ eprint empty$
+ { "" }
+ { eprintprefix eprint * eprinturl eprint * make.href }
+ if$
+}
+EOD
+ output_replacement_function($found{formateprint},
+ 'format.eprint',
+ 'addeprints',
+ $formateprintfunction);
+
+ $formatdoifunction = <<'EOD';
+FUNCTION {format.doi}
+{ doi empty$
+ { "" }
+ { doiprefix doi * doiurl doi * make.href }
+ if$
+}
+EOD
+ output_replacement_function($found{formatdoi},
+ 'format.doi',
+ 'adddoiresolver',
+ $formatdoifunction);
+
+ $formatpubmedfunction = <<'EOD';
+FUNCTION {format.pubmed}
+{ pubmed empty$
+ { "" }
+ { pubmedprefix pubmed * pubmedurl pubmed * make.href }
+ if$
+}
+EOD
+ output_replacement_function($found{formatpubmed},
+ 'format.pubmed',
+ 'addpubmedresolver',
+ $formatpubmedfunction);
+
+ print OUT <<'EOD';
+% Output a URL. We can't use the more normal idiom (something like
+% `format.url output'), because the `inbrackets' within
+% format.lastchecked applies to everything between calls to `output',
+% so that `format.url format.lastchecked * output' ends up with both
+% the URL and the lastchecked in brackets.
+FUNCTION {output.url}
+{ url empty$
+ 'skip$
+ { new.block
+ format.url output
+ format.lastchecked output
+ }
+ if$
+}
+
+FUNCTION {output.web.refs}
+{
+ new.block
+ inlinelinks
+ 'skip$ % links were inline -- don't repeat them
+ { % If the generated DOI will be the same as the URL,
+ % then don't print the URL (thanks to Joseph Wright for this code,
+ % at http://tex.stackexchange.com/questions/5660)
+ adddoiresolver
+ doiurl doi empty$ { "X" } { doi } if$ * % DOI URL to be generated
+ url empty$ { "Y" } { url } if$ % the URL, or "Y" if empty
+ = % are the strings equal?
+ and
+ 'skip$
+ { output.url }
+ if$
+ addeprints eprint empty$ not and
+ { format.eprint output.nonnull }
+ 'skip$
+ if$
+ adddoiresolver doi empty$ not and
+ { format.doi output.nonnull }
+ 'skip$
+ if$
+ addpubmedresolver pubmed empty$ not and
+ { format.pubmed output.nonnull }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+% Wrapper for output.bibitem.original.
+% If the URL field is not empty, set makeinlinelink to be true,
+% so that an inline link will be started at the next opportunity
+FUNCTION {output.bibitem}
+{ outside.brackets 'bracket.state :=
+ output.bibitem.original
+ inlinelinks url empty$ not doi empty$ not or pubmed empty$ not or eprint empty$ not or and
+ { #1 'makeinlinelink := }
+ { #0 'makeinlinelink := }
+ if$
+}
+
+% Wrapper for fin.entry.original
+FUNCTION {fin.entry}
+{ output.web.refs % urlbst
+ makeinlinelink % ooops, it appears we didn't have a title for inlinelink
+ { possibly.setup.inlinelink % add some artificial link text here, as a fallback
+ linktextstring output.nonnull }
+ 'skip$
+ if$
+ bracket.state close.brackets = % urlbst
+ { "]" * }
+ 'skip$
+ if$
+ fin.entry.original
+}
+
+% Webpage entry type.
+% Title and url fields required;
+% author, note, year, month, and lastchecked fields optional
+% See references
+% ISO 690-2 http://www.nlc-bnc.ca/iso/tc46sc9/standard/690-2e.htm
+% http://www.classroom.net/classroom/CitingNetResources.html
+% http://neal.ctstateu.edu/history/cite.html
+% http://www.cas.usf.edu/english/walker/mla.html
+% for citation formats for web pages.
+FUNCTION {webpage}
+{ output.bibitem
+ author empty$
+ { editor empty$
+ 'skip$ % author and editor both optional
+ { format.editors output.nonnull }
+ if$
+ }
+ { editor empty$
+ { format.authors output.nonnull }
+ { "can't use both author and editor fields in " cite$ * warning$ }
+ if$
+ }
+ if$
+ new.block
+ title empty$ 'skip$ 'possibly.setup.inlinelink if$
+ format.title "title" output.check
+ inbrackets onlinestring output
+ new.block
+ year empty$
+ 'skip$
+ { format.date "year" output.check }
+ if$
+ % We don't need to output the URL details ('lastchecked' and 'url'),
+ % because fin.entry does that for us, using output.web.refs. The only
+ % reason we would want to put them here is if we were to decide that
+ % they should go in front of the rather miscellaneous information in 'note'.
+ new.block
+ note output
+ fin.entry
+}
+EOD
+
+ print OUT "$mymarkerend\n\n\n";
+}
+
+
+sub output_replacement_function {
+ my $emit_function = $_[0];
+ my $function_name = $_[1];
+ my $disabling_variable = $_[2];
+ my $function_definition_string = $_[3];
+
+ if ($emit_function > 0) {
+ print OUT <<"EOD";
+%%% The style file $infile already supports $function_name,
+%%% but it might not do so in the same way as urlbst expects.
+%%% I've therefore left $infile 's function unchanged,
+%%% and disabled urlbst's version; proceed with some caution.
+EOD
+
+ print STDERR "$progname: WARNING: style file $infile already includes a $function_name function;\nyou may need to disable the urlbst version by setting \$$disabling_variable to zero.\nYou might want to edit the output file (search for $function_name).\n";
+
+ ($t = $function_definition_string) =~ s/\n/\n%%% /g;
+ print OUT "%%% " . $t . "$mymarker\n";
+ } else {
+ print OUT $function_definition_string;
+ }
+ print OUT "\n";
+}
+
+sub print_missing_functions {
+ # We've got to the bit of the file which handles the entry
+ # types, so write out the webpage entry handler. This uses
+ # the format.date function, which which many but not all
+ # bst files have (for example, apalike doesn't). So
+ # check that we either have found this function already, or
+ # add it.
+ if (! $found{formatdate}) {
+ if ($found{entrymonth}) {
+ print OUT <<'EOD';
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+EOD
+ } else {
+ print OUT <<'EOD';
+FUNCTION {format.date}
+{ year empty$
+ 'skip$
+ { %write$
+ "(" year * ")" *
+ }
+ if$
+}
+EOD
+ }
+ $found{formatdate} = 1;
+ }
+
+ # If the style file didn't supply a format.title function, then supply
+ # one here (the {webpage} function requires it).
+ if (! $found{formattitle}) {
+ print OUT <<'EOD';
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+EOD
+ $found{formattitle} = 1;
+ }
+}
+
+# Utility function: Keep track of open and close braces in the string argument.
+# Keep state in $bracematchtotal, return the current value.
+sub bracematcher {
+ my $s = shift;
+ $s =~ s/[^\{\}]//g;
+ #print "s=$s\n";
+ foreach my $c (split (//, $s)) {
+ $bracematchtotal += ($c eq '{' ? 1 : -1);
+ }
+ return $bracematchtotal;
+}
+
+# Utility function: use bracematcher to copy the complete block which starts
+# on or after the current line.
+sub copy_block {
+ $bracematchtotal = 0;
+ # copy any leading lines which don't have braces (presumably comments)
+ while (defined ($line = <IN>) && ($line !~ /{/)) {
+ print OUT $line;
+ }
+ while (defined ($line) && bracematcher($line) > 0) {
+ print OUT $line;
+ $line = <IN>;
+ }
+ print OUT "$line\n"; # print out terminating \} (assumed
+ # alone on the line)
+}
diff --git a/biblio/bibtex/contrib/urlbst/urlbst.pdf b/biblio/bibtex/contrib/urlbst/urlbst.pdf
new file mode 100644
index 0000000000..d3955eef1f
--- /dev/null
+++ b/biblio/bibtex/contrib/urlbst/urlbst.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/urlbst/urlbst.tex b/biblio/bibtex/contrib/urlbst/urlbst.tex
new file mode 100644
index 0000000000..7743ce0564
--- /dev/null
+++ b/biblio/bibtex/contrib/urlbst/urlbst.tex
@@ -0,0 +1,398 @@
+\documentclass[a4paper]{article}
+
+\title{The \texttt{urlbst} package}
+\author{Norman Gray\\\texttt{<http://nxg.me.uk>}}
+\date{Version 0.8, 2019 July 1}
+
+%\usepackage{times}
+\usepackage{url}
+\usepackage{hyperref}
+
+% Not long enough to make it useful to number sections
+\setcounter{secnumdepth}{0}
+
+% Squeeze a bit more on to the page
+%\addtolength\textwidth{1cm}
+%\addtolength\oddsidemargin{-0.5cm}
+
+\makeatletter
+% Easy verbatim mode
+\catcode`\|=\active
+\def|{\begingroup \let\do\@makeother \dospecials \verbatim@font \doverb}
+\def\doverb#1|{#1\endgroup}
+
+\renewcommand{\verbatim@font}{\normalfont\small\ttfamily}
+\makeatother
+
+\newcommand{\ub}{\package{urlbst}}
+\newcommand{\BibTeX}{Bib\TeX}
+\newcommand{\package}[1]{\texttt{#1}}
+\newcommand{\btfield}[1]{\textsf{#1}}
+
+\begin{document}
+\maketitle
+
+The \ub\ package consists of a Perl script which edits \BibTeX\ style
+files (|.bst|) to add a \btfield{webpage} entry type, and which adds a
+few new fields -- notably including \btfield{url} --
+to all other entry types. The distribution includes preconverted
+versions of the four standard \BibTeX\ |.bst| style files.
+
+It has a different goal from Patrick Daly's \package{custom-bib}
+package~\cite{url:daly} -- that is intended to create a \BibTeX\ style
+|.bst| file from scratch, and supports \btfield{url} and
+\btfield{eprint} fields. This package, on the other hand, is intended
+for the case where you already have a style file that works (or at
+least, which you cannot or will not change), and edits it to add the
+new \btfield{webpage} entry type, plus the new fields.
+
+The added fields are:
+\begin{itemize}
+\item \btfield{url} and \btfield{lastchecked}, to associate a URL with
+ a reference, along with the date at which the URL was last checked
+ to exist;
+\item \btfield{doi}, for a reference's DOI
+ (see \url{https://doi.org});
+\item \btfield{eprint}, for an arXiv eprint reference
+ (see \url{http://arxiv.org}); and
+\item \btfield{pubmed} for a reference's PubMed identifier
+ (\textsc{PMID}, see \url{http://pubmed.gov}).
+\end{itemize}
+
+Usage is simple:
+\begin{verbatim}
+% urlbst [--eprint] [--doi] [--pubmed]
+ [--nohyperlinks] [--inlinelinks] [--hypertex] [--hyperref]
+ [input-file [output-file]]
+\end{verbatim}
+where the |input-file| is an existing |.bst| file, and
+the |output-file| is the name of the new style file to be
+created. If either file name is missing, the default is the
+standard input or standard output respectively.
+For example:
+\begin{verbatim}
+% urlbst --eprint bibstyle.bst
+\end{verbatim}
+would convert the style file \texttt{bibstyle.bst}, including support
+for e-prints, and sending the result to the standard output (ie, the
+screen, so it would more useful if you were to either redirect this to
+a file or supply the output-file argument).
+
+If the option |--eprint| is present, then we switch on support for
+\texttt{eprint} fields in the modified .bst file, with a citation
+format matching that recommended in
+\url{http://arxiv.org/help/faq/references}. If the option
+|--doi| is present, we include support for a |doi| field, referring
+to a Digital Object Identifier (DOI) as standardised by
+\url{http://www.doi.org/}. And if |--pubmed| is present, we include
+support for a |pubmed| field, referring to a PubMed identifier as
+supported at \url{http://www.pubmed.gov}.
+
+If either of the |--hypertex| or |--hyperref| options is present, then
+the generated .bst file includes support for hyperlinks in the
+generated eprint entries in the bibliography, with the format being
+either Hyper\TeX\ (see
+\url{http://arxiv.org/hypertex/#implementation}), supported by xdvi,
+dvips and others, or using the support available from the
+\package{hyperref} package. These options have no effect unless one
+of the |--eprint|, |--doi|, |--pubmed| or |--inlinelinks| options is given:
+when URLs are included
+in the bibliography, they are written out using the |\url{...}|
+command. The \package{hyperref} support is more generic, and more
+generally supported, and so you should choose this unless you have a
+particular need for the Hyper\TeX\ support. The |--nohyperlinks|
+option, which is present by default, suppresses all hyperlinking.
+
+By default, any URL field is displayed as part of the bibliography
+entry, linked to the corresponding URL via the mechanism managed by
+the |--hypertex| and |--hyperref| options. If the |--inlinelinks|
+option is present, however, then the URL is not displayed in the
+printed entry, but instead a hyperlink is created, linked to suitable
+text within the bibliography entry, such as the citation title. This
+option does not affect the display of eprints, DOI or PubMed fields. It makes
+no sense to specify |--inlinelinks| with |--nohyperlinks|, and the
+script warns you if you do that, for example by failing to specify one
+of the link-style options. This option is (primarily) useful if
+you're preparing a version of a document which will be read on-screen;
+the point of it is that the resulting bibliography is substantially
+more compact than it would otherwise be.
+
+The support for all the above behaviours is always included in the
+output file. The options instead control only whether the various
+behaviours are enabled or disabled, and if you need to alter these,
+you may do so by editing the generated |.bst| file and adjusting
+values in the |{init.urlbst.variables}| function, where indicated.
+
+The generated references have URLs inside |\url{...}|. The best
+way to format this this is with the \package{url} package
+(see~\cite{texfaq} for pointers), but as a poor alternative, you can
+try |\newcommand{\url}[1]{\texttt{#1}}|. The \package{hyperref}
+package automatically processes |\url{...}| in the correct way to
+include a hyperlink, and if you have selected \package{hyperref}
+output, then nothing more need be done. If you selected Hyper\TeX\
+output, however, then the script encloses the |\url| command in an
+appropriate Hyper\TeX\ special.
+
+When the style file generates a link for DOIs, it does so by
+prepending the string \texttt{https://doi.org/} to the DOI. This is
+generally reasonable, but some DOIs have characters in them which are
+illegal in URLs, with the result that the resulting
+\texttt{dx.doi.org} URL doesn't work. The only real way of resolving
+this is to write a URL-encoding function in the style-file
+implementation language, but while that would doubtless be feasible in
+principle, it would be hard and very, very, ugly. The only advice I
+can offer in this case is to rely on the fact that the DOI will still
+appear in the typeset bibliography, and that users who would want to
+take advantage of the DOI will frequently (or usually?) know how to
+resolve the DOI when then need to. As a workaround, you could include
+a URL-encoded DOI URL in the \btfield{url} field of the entry (thanks
+to Eric Chamberland for this suggestion).
+
+The \ub\ script works by spotting patterns and characteristic function
+names in the input |.bst| file. It works as-is in the case of the
+four standard \BibTeX\ style files |plain.bst|, |unsrt.bst|,
+|alpha.bst| and |abbrv.bst|. It also works straightforwardly for
+many other style files -- since many of these are derived from, or at
+least closely inspired by, the standard ones -- but it does not
+pretend that it can do so for all of them. In some cases, such as the
+style files for the \package{refer} or \package{koma-script} packages,
+the style files are not intended to be used for formatting; others are
+sufficiently different from the standard files that a meaningful edit
+becomes impossible. For the large remainder, however, the result of
+this script should need only relatively minor edits before being
+perfectly usable.
+
+\section{New \texttt{.bib} entry and field types}
+
+The new entry type \btfield{webpage} has required fields
+\btfield{title} and \btfield{url}, and optional fields
+\btfield{author}, \btfield{editor}, \btfield{note}, \btfield{year},
+\btfield{month} and \btfield{lastchecked}. The \btfield{url} and
+\btfield{lastchecked} fields are new, and are
+valid in other entry types as well: the first, obviously, is the URL
+which is being cited, or which is being quoted as an auxiliary source
+for an article perhaps; the second is the date when you last checked
+that the URL was there, in the state you quoted it; this is necessary
+since some people, heedless of the archival importance of preserving
+the validity of URLs, indulge in the vicious practice of reorganising
+web pages and destroying links. For the case of the \btfield{webpage} entry
+type, the \btfield{editor} field should be used for the `maintainer'
+of a web page.
+
+For example, in Figure~\ref{f:ex} we illustrate two potential |.bib|
+file entries. The \texttt{@webpage} entry type is the new type
+provided by this package, and provides reference information for a
+webpage; it includes the new \texttt{url} and \texttt{lastchecked}
+fields. There is also an example of the standard \texttt{@book} entry
+type, which now includes the \texttt{url} and \texttt{lastchecked}
+fields as well. The difference between the two references is that in
+the \texttt{@book} case it is the book being cited, so that the
+\texttt{url} provides extra information; in the \texttt{@webpage} case
+it is the page itself which is of interest. You use the new |eprint|,
+|doi| and |pubmed| fields similarly, if the bibliographic item in
+question has an e-print, DOI or PubMed reference.
+\begin{figure}
+\begin{verbatim}
+@Manual{w3chome,
+ url = {http://www.w3.org},
+ title = {The World Wide Web Consortium},
+ year = 2009,
+ lastchecked = {26 August 2009}}
+
+@Book{schutz,
+ author = {Bernard Schutz},
+ title = {Gravity from the GroundUp},
+ publisher = {Cambridge University Press},
+ year = {2003},
+ url = {http://www.gravityfromthegroundup.org/},
+ lastchecked = {2008 June 16}}
+\end{verbatim}
+\caption{\label{f:ex}The new \texttt{@webpage} entry type, and the \texttt{url}
+ field in action}
+\end{figure}
+
+How do you use this in a document? To use the the
+\texttt{alphaurl.bst} style -- which is a pre-converted version of the
+standard \texttt{alpha.bst} style, included in the \texttt{urlbst}
+distribution -- you simply make sure that \texttt{alphaurl.bst} is in
+your BibTeX search path (use the command \texttt{kpsepath bst} to find
+this path and \texttt{kpsewhich alphaurl.bst} to confirm that BibTeX
+can find it) and add |\bibliographystyle{alphaurl}| to your \LaTeX\ document.
+
+\section{Sources}
+
+There are various sources which suggest how to format references to
+web pages. I have followed none specifically, but fortunately they do
+not appear to materially disagree.
+
+ISO-690~\cite{url:iso690} is a formal standard for this stuff. Walker
+and Taylor's \emph{Columbia Guide to Online Style}~\cite{walker06}
+provides extensive coverage (but is only available on dead trees).
+There are two style guides associated with the APA, namely
+the published APA style
+guide~\cite{apastyle} (a paper-only publication, so should be
+ignored by all, if there's any justice in the world), and what appears
+to be the 1998 web-citation proposal for that~\cite{url:weapas}, which
+also includes some useful links.
+The TeX FAQ~\cite{texfaq} has both practical advice and pointers to other sources.%
+\footnote{Emory University's Goizueta Business Library once had a collection of
+useful links on this topic, but they've whimsically changed the URL at least twice
+since I first distributed \ub, and I've got fed up fixing their broken link.}
+
+\section{Hints}
+
+If you use Emacs' \BibTeX\ mode, you can insert the following in your
+|.emacs| file to add knowledge of the new \btfield{webpage} entry:
+\begin{verbatim}
+(defun my-bibtex-hook ()
+ (setq bibtex-mode-user-optional-fields '("location" "issn")) ; e.g.
+ (setq bibtex-entry-field-alist
+ (cons
+ '("Webpage"
+ ((("url" "The URL of the page")
+ ("title" "The title of the resource"))
+ (("author" "The author of the webpage")
+ ("editor" "The editor/maintainer of the webpage")
+ ("year" "Year of publication of the page")
+ ("month" "Month of publication of the page")
+ ("lastchecked" "Date when you last verified the page was there")
+ ("note" "Remarks to be put at the end of the entry"))))
+ bibtex-entry-field-alist)))
+(add-hook 'bibtex-mode-hook 'my-bibtex-hook)
+\end{verbatim}
+After that, you can add a \btfield{webpage} entry by typing |C-c C-b webpage|
+(or |M-x bibtex-entry|).
+
+It is a \emph{very} good idea to use the \package{url} package: it deals with
+the problem of line-breaking long URLs, and with the problem that
+\BibTeX{} creates, of occasionally inserting \%-signs into URLs in
+generated bibliographies.
+
+See also the URL entry in the UK \TeX\ FAQ~\cite{texfaq}, and
+references therein.
+
+%% \textbf{Acknowledgements:} Thanks
+%% to Jason Eisner for suggesting the |--inlinelinks| option;
+%% to `ijvm' for code contributions in the |urlbst| script;
+%% to Pawe\l{} Widera for the suggestion to use |\path| when formatting DOIs;
+%% to Michael Giffin for the suggestion to include PubMed URLs;
+%% to Katrin Leinweber for the pull request which fixed the format of DOI
+%% references.
+
+\section{Acknowledgements, and release notes}
+
+%%% include:release-notes.tex
+
+
+Thanks are due to many people for suggestions and requests:
+to Jason Eisner for suggesting the |--inlinelinks| option;
+to ‘ijvm’ for code contributions in the |urlbst| script;
+to Paweł Widera for the suggestion to use |\path| when formatting DOIs;
+to Michael Giffin for the suggestion to include PubMed URLs;
+to Katrin Leinweber for the pull request which fixed the format of DOI
+references.
+
+\begin{description}
+\item[\textbf{0.8, 2019 July 1}]\relax
+\begin{itemize}
+\item The presence of a preexisting |format.doi|,
+|format.eprint| or |format.pubmed| function is
+now detected, and warned about. The resulting |.bst| file
+might still require some manual editing.
+Resolves issue 8\footnote{\url{https://bitbucket.org/nxg/urlbst/issue/8}}.
+\item Clarified licences (I hope).
+\item Adjust format of DOI resolver.
+Resolves issue 11\footnote{\url{https://bitbucket.org/nxg/urlbst/issue/11}},
+thanks to
+code contributed by Katrin Leinweber\footnote{\url{https://bitbucket.org/nxg/urlbst/pull-requests/1/}}.
+\end{itemize}
+
+
+\item[0.7, 2011 July 20]\relax
+Add |--nodoi|, |--noeprints| and |--nopubmed| options (which defaulted
+on, and couldn't otherwise be turned off)
+
+\item[0.7b1, 2011 March 17]\relax
+Allow parameterisation of literal strings, with option |--literal|.
+
+\item[0.6-5, 2011 March 8]\relax
+Adjust support for inline links (should now work for arXiv, DOI and Pubmed)
+
+\item[0.6-4, 2009 April 28]\relax
+Work around BibTeX linebreaking bug (thanks to Andras Salamon for the bug report).
+
+\item[0.6-3, 2009 April 19]\relax
+Fix inline link generation (thanks to Eric Chamberland for the bug report).
+
+\item[0.6-2, 2008 November 17]\relax
+We now turn on inlinelinks when we spot format.vol.num.pages,
+which means we include links for those styles which don't include a
+title in the citation (common for articles in physical science styles,
+such as aip.sty).
+
+\item[0.6-1, 2008 June 16]\relax
+Fixed some broken links to the various citation standards
+(I think in this context this should probably \emph{not} be happening, yes?).
+The distributed |*url.bst| no longer have the
+|--inlinelinks| option turned on by default.
+
+\item[\textbf{0.6, 2007 March 26}]\relax
+\begin{itemize}
+\item Added the option |--inlinelinks|, which adds inline hyperlinks
+to any bibliography entries which have URLs, but does so inline, rather
+than printing the URL explicitly in the bibliography. This is (primarily)
+useful if you're preparing a version of a document which will be read
+on-screen. Thanks to Jason Eisner for the suggestion, and much testing.
+
+\item Incorporate hyperref bugfixes from Paweł Widera.
+
+\item Further reworkings of the inlinelinks support, so that it's now
+fired by a |format.title| (or |format.btitle|) line, with a fallback in
+|fin.entry|. This should be more robust, and allows me to delete some
+of the previous version's gymnastics.
+
+\item Reworked |inlinelinks| support; should now be more
+robust. Incorporate hyperref bugfixes from Paweł Widera.
+
+\item Added the option |inlinelinks|, which adds inline hyperlinks
+to any bibliography entries which have URLs, but does so inline, rather
+than printing the URL explicitly in the bibliography. This is (only)
+useful if you're preparing a version of a document which will be read
+on-screen.
+\end{itemize}
+
+
+\item[0.5.2, 2006 September 6]\relax
+Another set of documentation-only changes, hopefully clarifying
+installation.
+
+\item[0.5.1, 2006 January 10]\relax
+No functionality changes. Documentation and webpage changes only,
+hopefully clarifying usage and configuration
+
+\item[\textbf{0.5, 2005 June 3}]\relax
+Added support for Digital Object Identifiers (DOI) fields in
+bibliographies.
+
+\item[0.4-1, 2005 April 12]\relax
+Documentation improvements -- there are now examples in the help text!
+
+\item[\textbf{0.4, 2004 December 1}]\relax
+Bug fixes: now compatible with mla.bst and friends.
+Now uses |./configure| (optionally). Assorted reorganisation.
+
+\item[\textbf{0.3, 2003 June 4}]\relax
+Added |--eprint|, |--hypertex| and |--hyperref| options.
+
+\item[\textbf{0.2, 2002 October 23}]\relax
+The `editor' field is now supported in the webpage entry type. Basic
+documentation added.
+
+\item[\textbf{0.1, 2002 April}]\relax
+Initial version
+\end{description}
+
+\bibliography{urlbst}
+\bibliographystyle{plainurl}
+
+\end{document}
diff --git a/biblio/bibtex/contrib/vak/README b/biblio/bibtex/contrib/vak/README
new file mode 100644
index 0000000000..2da309bb06
--- /dev/null
+++ b/biblio/bibtex/contrib/vak/README
@@ -0,0 +1,25 @@
+%% This is the bibliography stylefile `vak.bst' by Vitaly Melnikov
+
+%% The file can be used to format the bibliographies of PhD thesys, books etc.
+%% according to the latest Russian standards: GOST 7.82 --- 2001 and GOST 7.1 --- 2003.
+%% It introduces the minimum number new entries and styles to cover all frequently used
+%% situations. The style file provides an easy way to perform a semiautomatic,
+%% or a completely manual sort of the list of the references.
+%% The file contains parts of the stylefile file 'gost780s.bst' (v.2005.08.12)
+
+%% This file may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License
+
+%% Requires 8-bit bibtex with switch -B and csf file supporting cyrillic.
+%% bibtex8 -B -c <encoding>.csf <your_document>
+
+
+%% Please, send any bug reports via e-mail:
+%% melnikov at mail dot ifmo dot ru
+
+%% See examples *.pdf, *.tex (in Russian)
+
+%% Acknowledgements:
+%% to Maksym Polyakov for his stylefile file 'gost780s.bst'
+%% to Aleksandr Kirilenko (our university's bibliographer) for his useful consultations
+
diff --git a/biblio/bibtex/contrib/vak/vak.bst b/biblio/bibtex/contrib/vak/vak.bst
new file mode 100644
index 0000000000..12a64150e6
--- /dev/null
+++ b/biblio/bibtex/contrib/vak/vak.bst
@@ -0,0 +1,1558 @@
+%% This is the bibliography stylefile `vak.bst' by Vitaly Melnikov
+
+%% The file can be used to format the bibliographies of PhD thesys, books etc.
+%% according to the latest Russian standarts: GOST 7.82 – 2001 and GOST 7.1 – 2003.
+%% It introduces the minimum number new entries and styles to cover all frequently used
+%% situations. The style file provides an easy way to perform a semiautomatic,
+%% or a completely manual sort of the list of the references.
+%% The file contains parts of the stylefile file 'gost780s.bst' (v.2005.08.12)
+
+%% This file may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License
+
+%% Requires 8-bit bibtex with switch -B and csf file supporting cyrillic.
+%% bibtex8 -B -c <encoding>.csf <your_document>
+
+
+%% Please, send any bug reports via e-mail:
+%% melnikov at mail dot ifmo dot ru
+
+%% See examples *.pdf, *.tex (in Russian)
+
+%% Acknowledgements:
+%% to Maksym Polyakov for his stylefile file 'gost780s.bst'
+%% to Aleksandr Kirilenko (our university's bibliographer) for his useful consultations
+
+
+
+ENTRY
+ { address
+ annote
+ author
+ booktitle
+ bookauthor
+ chapter
+ edition
+ editor
+ compiler %ñîñòàâèòåëü
+ comment %ïå÷àòàåòñÿ òîëüêî â misk
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ numpages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ language
+ booklanguage
+ url
+ vipusk
+ znumber
+ country %% ñòðàíà ïàòåíòà
+ perevod %% ïåðåâîä÷èê
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block
+after.dblslash after.slash after.column after.semicolumn}
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #4 'after.dblslash :=
+ #5 'after.slash :=
+ #6 'after.column :=
+ #7 'after.semicolumn :=
+}
+
+STRINGS { s t }
+
+STRINGS { curlanguage }
+
+FUNCTION {change.language}
+{ booklanguage empty$
+ {""}
+ {booklanguage 'curlanguage :=
+ "\selectlanguageifdefined{"
+ curlanguage *
+ "}" *
+ }
+ if$
+}
+
+FUNCTION {output.nonnull}
+{ swap$
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ "\, ---\, " write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { output.state after.dblslash =
+ { "~//" * change.language * " " * write$ }
+ { output.state after.slash =
+ { "~/ " * write$ }
+ { output.state after.column =
+ { "~: \," * write$ }
+ { output.state after.semicolumn =
+ { "~; \," * write$ }
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.dblslash}
+{ output.state before.all =
+ 'skip$
+ { after.dblslash 'output.state := }
+ if$
+}
+
+FUNCTION {new.slash}
+{ output.state before.all =
+ 'skip$
+ { after.slash 'output.state := }
+ if$
+}
+
+FUNCTION {new.column}
+{ output.state before.all =
+ 'skip$
+ { after.column 'output.state := }
+ if$
+}
+
+FUNCTION {new.semicolumn}
+{ output.state before.all =
+ 'skip$
+ { after.semicolumn 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {non.stop}
+{ duplicate$
+ "}" * add.period$
+ #-1 #1 substring$ "." =
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\BibEmph{" swap$ * "}" * }
+ if$
+}
+
+
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+
+FUNCTION {bbl.edby} % { "\bbledby{}" }
+{ curlanguage "english" =
+ {"ed. by "}
+ { curlanguage "ukrainian" =
+ {"{\cyr\cyrp \cyrii\cyrd\ \cyrr\cyre\cyrd.\ }"}
+ { curlanguage "russian" =
+ {"{\cyr\cyrp\cyro\cyrd\ \cyrr\cyre\cyrd.\ }"}
+ {"language is not defined: " language "edited by" * * warning$ "edited by"}
+ if$}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.cmplr}
+{ curlanguage "english" =
+ {"compiler "}
+ { curlanguage "ukrainian" =
+ {"{\cyr\cyru \cyrk\cyrl.\ }"}
+ { curlanguage "russian" =
+ {"{\cyr\cyrs \cyro\cyrs\cyrt.\ }"}
+ {"language is not defined: " language "compiler" * * warning$ "compiler"}
+ if$}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.trnsl}
+{ curlanguage "english" =
+ {"transl. by "}
+ { curlanguage "ukrainian" =
+ {"{\cyr\cyrp\cyre\cyrr.\ }"}
+ { curlanguage "russian" =
+ {"{\cyr\cyrp\cyre\cyrr.\ }"}
+ {"language is not defined: " language "translater" * * warning$ "translater"}
+ if$}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.edition} % { "\bbledition{}" }
+{ curlanguage "english" =
+ {"edition"}
+ { curlanguage "ukrainian" =
+ {"{\cyr\cyrv\cyri\cyrd.}"}
+ { curlanguage "russian" =
+ {"{\cyr\cyri\cyrz\cyrd.}"}
+ {"language is not defined: " language "edition" * * warning$ "edition"}
+ if$}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.vvol} % { "\bblVol{}" }
+{ curlanguage "english" =
+ {"V."}
+ { curlanguage "ukrainian" = curlanguage "russian" = or
+ {"\CYRT."}
+ {"language is not defined: " language "V." * * warning$ "V."}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.iiss} % { "\bblIss{}" }
+{ curlanguage "english" =
+ {"Iss."}
+ { curlanguage "ukrainian" =
+ {"\CYRV\cyri\cyrp."}
+ { curlanguage "russian" =
+ {"\CYRV\cyrery\cyrp."}
+ {"language is not defined: " language * warning$ "Issue"}
+ if$}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.of} % { "\bblof{}" }
+{ curlanguage "english" =
+ {"of"}
+ { curlanguage "ukrainian" =
+ {"{\cyr\cyrii\cyrz}"}
+ { curlanguage "russian" =
+ {"{\cyr\cyri\cyrz}"}
+ {"language is not defined: " language "of" * * warning$ "of"}
+ if$}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.etal} % { "\bblof{}" }
+{ curlanguage "english" =
+ {"et~al."}
+ { curlanguage "ukrainian" =
+ {"{\cyr\cyrt\cyra~\cyrii\cyrn.}"}
+ { curlanguage "russian" =
+ {"{\cyr\cyri~\cyrd\cyrr.}"}
+ {"language is not defined: " language "at al" * * warning$ "at al."}
+ if$}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.nr} % { "\bblno{}" }
+{ curlanguage "english" =
+ {"$\No$"}
+ { curlanguage "ukrainian" = curlanguage "russian" = or
+ {"{\cyr\textnumero}"}
+ {"language is not defined: " language "$\No$" * * warning$ "$\No$"}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.pages} % { "\bblpp." }
+{ curlanguage "english" =
+ {"P."}
+ { curlanguage "ukrainian" = curlanguage "russian" = or
+ {"{\cyr\cyrs.}"}
+ {"language is not defined: " language "P." * * warning$ "P."}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.ppages}% { "\bblPp." }
+{ curlanguage "english" =
+ {"P."}
+ { curlanguage "ukrainian" = curlanguage "russian" = or
+ {"{\cyr\CYRS.}"}
+ {"language is not defined: " language "P." * * warning$ "P."}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.ppage} % { "\bblP." }
+{ curlanguage "english" =
+ {"P."}
+ { curlanguage "ukrainian" = curlanguage "russian" = or
+ {"{\cyr\CYRS.}"}
+ {"language is not defined: " language "P." * * warning$ "P."}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.mthesis} { "Master's thesis" }
+
+FUNCTION {bbl.phdthesis} { "Ph.D. thesis" }
+
+INTEGERS { nameptr namesleft numnames }
+
+
+FUNCTION {format.names}
+{
+ #1 "{vv~}{ll}{~jj}{,~f.}" format.name$
+}
+
+FUNCTION {format.names.rev}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{f.}{~vv}{~ll}{, jj}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ nameptr #4 =
+ numnames #4 > and
+ { "others" 't :=
+ #1 'namesleft := }
+ 'skip$
+ if$
+ namesleft #1 >
+ { ", " * t * }
+ {
+ t "others" =
+ t "~others" =
+ or
+ { " " * bbl.etal * }
+ { ", " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {myformat.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}{~jj}{,~f.}"
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ nameptr #4 =
+ numnames #4 > and
+ { "others" 't :=
+ #1 'namesleft := }
+ 'skip$
+ if$
+ namesleft #1 >
+ { ", " * t * }
+ {
+ t "others" =
+ t "~others" =
+ or
+ { " " * bbl.etal * }
+ { ", " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names emphasize}
+ if$
+}
+
+FUNCTION {format.bookauthors}
+{ bookauthor empty$
+ { "" }
+ { bookauthor format.names}
+ if$
+}
+
+FUNCTION {format.authors.after}
+{ author empty$
+ { "" }
+ { author format.names.rev}
+ if$
+}
+
+FUNCTION {myformat.authors.after}
+{ author empty$
+ { "" }
+ { author myformat.names}
+ if$
+}
+
+FUNCTION {format.bookauthors.after}
+{ bookauthor empty$
+ { "" }
+ { bookauthor format.names.rev}
+ if$
+}
+
+FUNCTION {format.editors.after}
+{ editor empty$
+ { "" }
+ { bbl.edby editor format.names.rev *
+ }
+ if$
+}
+
+FUNCTION {format.compiler.after}
+{ compiler empty$
+ { "" }
+ { bbl.cmplr compiler format.names.rev *
+ }
+ if$
+}
+
+FUNCTION {format.perevod}
+{ perevod empty$
+{ "" }
+{ bbl.trnsl perevod *
+}
+if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title
+ }
+ if$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { year ". " quote$ "--- " month * * * * }
+ if$
+ }
+ if$
+}
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {output.address.publisher.date} {
+ address empty$
+ 'skip$
+ { address output
+ publisher empty$
+ 'skip$
+ { new.column
+ }
+ if$
+ }
+ if$
+ publisher output
+ format.date output
+}
+
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ language empty$
+ {"english" 'curlanguage :=}
+ {language 'curlanguage :=}
+ if$
+ "\selectlanguageifdefined{" write$
+ curlanguage write$
+ "}" write$ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.iin
+ " " * }
+
+FUNCTION {format.btitle}
+{ title
+}
+
+FUNCTION {tie.connect}
+ {"~"
+ swap$ * *
+ }
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.vvol volume tie.connect
+ series empty$
+ 'skip$
+ { bbl.of space.word * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { "there's a number but no series in " cite$ * warning$
+ bbl.nr }
+ {
+ %new.dblslash
+ new.sentence
+ series
+ bbl.nr
+ tie.or.space.connect}
+ if$
+ number tie.or.space.connect
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+
+
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+
+FUNCTION {convert.edition}
+{ edition
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { convert.edition "l" change.case$ " " * bbl.edition * }
+ { convert.edition "t" change.case$ " " * bbl.edition * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { bbl.ppages pages n.dashify tie.connect }
+ { bbl.ppage pages tie.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pages.page}
+{ pages empty$
+ { numpages empty$
+ { "" }
+ { numpages bbl.pages tie.connect }
+ if$}
+ { format.pages}
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ {
+ ", $\No$" number tie.or.space.connect *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ": " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.volume}
+{ volume empty$
+ { "" }
+ { bbl.vvol volume tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.number}
+{ number empty$
+ { "" }
+ { bbl.nr number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.znumber}
+{ number empty$
+ { "" }
+ { bbl.nr znumber tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.vipusk}
+{ vipusk empty$
+ { "" }
+ { bbl.iiss vipusk tie.or.space.connect }
+ if$
+}
+
+
+
+
+
+
+
+FUNCTION {myformat.number}
+{ number empty$
+ { "" }
+ { " \CYRP\cyra\cyrt. " number country tie.or.space.connect }
+ if$
+}
+
+FUNCTION {myzformat.number}
+{ number empty$
+ { "" }
+ { " \CYRZ\cyra\cyrya\cyrv\cyrk\cyra\ " number country tie.or.space.connect }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type %%"t" change.case$
+ }
+ if$
+}
+
+
+FUNCTION {author.before}
+{
+ author empty$
+ 'skip$
+ {author num.names$ #4 <
+ {format.authors output
+ new.sentence}
+ 'skip$
+ if$}
+ if$
+}
+
+FUNCTION {bookauthor.before}
+{
+ bookauthor empty$
+ 'skip$
+ {bookauthor num.names$ #4 <
+ {format.bookauthors output
+ new.sentence}
+ 'skip$
+ if$}
+ if$
+}
+
+
+FUNCTION {author.after}
+{
+ author empty$
+ 'skip$
+ {format.authors.after output
+ new.semicolumn }
+ if$
+}
+
+FUNCTION {myauthor.after}
+{
+ author empty$
+ 'skip$
+ {myformat.authors.after output
+ new.semicolumn }
+ if$
+}
+
+FUNCTION {bookauthor.after}
+{
+ bookauthor empty$
+ 'skip$
+ {format.bookauthors.after output
+ new.semicolumn }
+ if$
+}
+
+FUNCTION {editor.organization.after}
+{
+
+ compiler empty$
+ {}
+ { format.compiler.after output
+ new.semicolumn
+ }
+ if$
+ editor empty$
+ {}
+ { format.editors.after output
+ new.semicolumn
+ }
+ if$
+ perevod empty$
+ {}
+ { format.perevod output
+ new.semicolumn
+ }
+ if$
+ organization empty$
+ {}
+ {organization output
+ new.semicolumn
+ }
+ if$
+}
+
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { curlanguage "english" =
+ { %%after.sentence 'output.state :=
+ "Mode of access\BibUrl{ " url * "}" *}
+ {%% after.sentence 'output.state :=
+ "\CYRR\cyre\cyrzh\cyri\cyrm\ \cyrd\cyro\cyrs\cyrt\cyru\cyrp\cyra:\ \BibUrl{ " url * "}" *}
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.annote}
+{ annote empty$
+ { "" }
+{ after.sentence 'output.state :=
+ "\BibAnnote{" annote add.period$ * "}" *
+}
+ if$
+}
+
+FUNCTION {article}
+{ output.bibitem
+ author.before
+ format.title "title" output.check
+ new.slash
+ author.after
+ new.dblslash
+ journal emphasize "journal" output.check
+ series emphasize "series" output.check
+ new.block
+ format.date output
+ new.block
+ format.volume output
+ format.number output
+ new.block
+ format.vipusk output
+ new.block
+ format.pages.page output
+ new.block
+ format.url output
+ new.sentence
+ note output
+ format.annote output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author.before
+ format.btitle "title" output.check
+ new.slash
+ author.after
+ editor.organization.after
+ new.sentence
+ format.number.series output
+ new.block
+ format.edition output
+ new.block
+ output.address.publisher.date
+ new.block
+ format.bvolume output
+ new.block
+ format.pages.page output
+ new.block
+ format.url output
+ new.sentence
+ note output
+ format.annote output
+ fin.entry
+}
+
+FUNCTION {patent}
+{ output.bibitem
+ myformat.number output
+ format.btitle "title" output.check
+ new.slash
+ myauthor.after
+ editor.organization.after
+ new.block
+ format.znumber output
+ new.semicolumn
+ note output
+ new.block
+ format.pages.page output
+ fin.entry
+}
+
+FUNCTION {zpatent}
+{ output.bibitem
+ myzformat.number output
+ format.btitle "title" output.check
+ new.slash
+ myauthor.after
+ editor.organization.after
+ new.block
+ format.znumber output
+ new.semicolumn
+ note output
+ new.block
+ format.pages.page output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ author.before
+ format.title "title" output.check
+ new.slash
+ author.after
+ editor.organization.after
+ new.block
+ howpublished output
+ address output
+ format.date output
+ new.block
+ format.pages.page output
+ new.block
+ note output
+ new.sentence
+ format.url output
+ format.annote output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author.before
+ format.btitle "title" output.check
+ new.slash
+ author.after
+ new.dblslash
+ bookauthor.before
+ booktitle "booktitle" output.check
+ new.slash
+ bookauthor.after
+ editor.organization.after
+ new.block
+ format.edition output
+ new.block
+ format.number.series output
+ new.sentence
+ output.address.publisher.date
+ new.block
+ format.bvolume output
+ format.pages.page output
+ new.block
+ note output
+ new.sentence
+ format.url output
+ format.annote output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ author.before
+ new.sentence
+ format.title "title" output.check
+ new.slash
+ author.after
+ new.dblslash
+ booktitle "booktitle" output.check
+ new.slash
+ editor.organization.after
+ new.block
+ output.address.publisher.date
+ new.block
+ format.bvolume output
+ format.number.series output
+ new.block
+ format.pages.page output
+ new.block
+ note output
+ new.sentence
+ format.url output
+ format.annote output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ author.before
+ new.sentence
+ format.title "title" output.check
+ new.slash
+ author.after
+ new.dblslash
+ booktitle "booktitle" output.check
+ new.slash
+ editor.organization.after
+ new.block
+ format.bvolume output
+ format.number.series output
+ new.block
+ output.address.publisher.date
+ new.block
+ format.pages.page output
+ new.block
+ note output
+ new.sentence
+ format.url output
+ format.annote output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ {
+ address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ {
+ organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ new.sentence
+ format.url output
+ format.annote output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ new.block
+ format.url output
+ format.annote output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ comment output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.sentence
+ format.btitle "title" output.check
+ new.column
+ bbl.phdthesis format.thesis.type output.nonnull
+ new.slash
+ school "school" output.check
+ new.block
+ output.address.publisher.date
+ new.block
+ format.pages.page output
+ note output
+ new.sentence
+ format.url output
+ format.annote output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.btitle "title" output.check
+ new.slash
+ editor.organization.after
+ new.block
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ new.sentence
+ format.url output
+ format.annote output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ author.before
+ new.sentence
+ format.title "title" output.check
+ new.column
+ new.slash
+ institution "institution" output.check
+ new.column
+ author.after
+ new.block
+ editor.organization.after
+ new.block
+ note output
+ new.sentence
+ format.url output
+ format.annote output
+ output.address.publisher.date
+ new.block
+ format.pages.page output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ author.before
+ format.btitle "title" output.check
+ new.slash
+ author.after
+ editor.organization.after
+ new.block
+ note "note" output.check
+ new.sentence
+ format.url output
+ format.annote output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"\bbljan{}"}
+
+MACRO {feb} {"\bblfeb{}"}
+
+MACRO {mar} {"\bblmar{}"}
+
+MACRO {apr} {"\bblapr{}"}
+
+MACRO {may} {"\bblmay{}"}
+
+MACRO {jun} {"\bbljun{}"}
+
+MACRO {jul} {"\bbljul{}"}
+
+MACRO {aug} {"\bblaug{}"}
+
+MACRO {sep} {"\bblsep{}"}
+
+MACRO {oct} {"\bbloct{}"}
+
+MACRO {nov} {"\bblnov{}"}
+
+MACRO {dec} {"\bbldec{}"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr
+ "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""}
+ { key sortify }
+ if$
+ }
+ { author num.names$ #4 <
+ {author sort.format.names }
+ {title sort.format.title}
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.title.sort}
+{ key empty$
+{ author empty$
+ { title empty$
+ { "to sort, need author, title, or key in " cite$ * warning$
+ ""
+ }
+ { title sort.format.title
+}
+ if$
+ }
+ {
+ author num.names$ #4 <
+ {author sort.format.names }
+ {title sort.format.title} %%åñëè áîëüøå 4 àâòîðîâ
+ if$
+ }
+ if$
+ }
+{ key sortify }
+ if$
+ }
+
+FUNCTION {presort}
+{
+ author.title.sort
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+ "\def\selectlanguageifdefined#1{" write$ newline$
+ "\expandafter\ifx\csname date#1\endcsname\relax" write$ newline$
+ "\else\language\csname l@#1\endcsname\fi}" write$ newline$
+%% "\ifx\undefined\` \def\url#1{{\small #1}}\else\fi" write$ %%newline$
+"\ifx\undefined\url\def\url#1{{ #1}}\else\fi" write$ newline$
+
+
+ "\ifx\undefined\BibUrl\def\BibUrl#1{\url{#1}}\else\fi" write$ newline$
+ "\ifx\undefined\BibAnnote\long\def\BibAnnote#1{}\else\fi" write$ newline$
+ "\ifx\undefined\BibEmph\def\BibEmph#1{\emph{#1}}\else\fi" write$ newline$
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/contrib/vancouver/FAQ b/biblio/bibtex/contrib/vancouver/FAQ
new file mode 100644
index 0000000000..37ad368011
--- /dev/null
+++ b/biblio/bibtex/contrib/vancouver/FAQ
@@ -0,0 +1,17 @@
+Question:
+Why can't MacTeX find my BibTeX file?
+Answer:
+The problem isn't a bug in the vancouver style file, but rather an issue with the way TeXShop/MacTeX handles bibliographies. TeX Live is slightly pickier about placement of these files. ".bib" files go in ~/Library/texmf/bibtex/bib or subfolders of this directory, and ".bst" files go in ~/Library/texmf/bibtex/bst or subfolders of this directory. It is a known issue of MacTex that is explained in this FAQ: http://tug.org/mactex/faq/#qm05.
+
+Question:
+The Digital Object Identifier (DOI®) included in the .bib file isn't displayed in the final pdf file latex generated
+Answer:
+The doi formatting is disabled by default. You can enable it by changing the following line in vancouver.bst from:
+#0 'adddoiresolver := % 0=no DOI resolver; 1=include it
+to:
+#1 'adddoiresolver := % 0=no DOI resolver; 1=include it
+
+Question:
+My bibliography is supposed to be sorted by author name instead of appearance for a better overview. Is there a way to order the bibliography alphabetically instead of by appearance?
+Answer:
+According to the requirements of the vancouver style, the reference list has to be unsorted, i.e. in order of appearance. The only way (I'm aware of) to make BibTeX sort the citations alphabetically instead of in order of appearance is to change the style file. That involves quite a drastic change with insertion of a few sorting functions and quite a lot of other changes. In short, it would mean the implementation of an entirely new style file.
diff --git a/biblio/bibtex/contrib/vancouver/README b/biblio/bibtex/contrib/vancouver/README
new file mode 100644
index 0000000000..0e296baa0f
--- /dev/null
+++ b/biblio/bibtex/contrib/vancouver/README
@@ -0,0 +1,41 @@
+This `vancouver.bst' bibliographic style file (for LaTeX/BibTeX) is generated with the docstrip utility and modified manually to meet the ``Uniform Requirements for Manuscripts Submitted to Biomedical Journals'' as published in N Engl J Med 1997;336:309-315. (also known as the Vancouver style)
+This specification may be found on the web page of the International Committe of Medical Journal Editors:
+
+http://www.icmje.org
+
+-------------------------------------------------------------------
+
+Copyright 2004 Folkert van der Beek
+
+This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 of this license or (at your option) any later version.
+The latest version of this license is in
+ http://www.latex-project.org/lppl.txt
+and version 1.3 or later is part of all distributions of LaTeX version 2005/12/01 or later.
+
+This work has the LPPL maintenance status `maintained'.
+
+The Current Maintainer of this work is Folkert van der Beek.
+
+Complaints, suggestions and comments may be sent to
+
+Folkert van der Beek <folkertvanderbeek at gmail dot com>
+
+-------------------------------------------------------------------
+This bibliography style file is intended for texts in ENGLISH
+This is a numerical citation style, and as such is standard LaTeX.
+It requires no extra package to interface to the main text.
+The form of the \bibitem entries is
+ \bibitem{key}...
+Usage of \cite is as follows:
+ \cite{key} ==>> [#]
+ \cite[chap. 2]{key} ==>> [#, chap. 2]
+where # is a number determined by the ordering in the reference list.
+The order in the reference list is that by which the works were originally
+ cited in the text, or that in the database.
+
+To change the reference numbering system from [1] to 1,
+put the following code in the preamble:
+\makeatletter % Reference list option change
+\renewcommand\@biblabel[1]{#1} % from [1] to 1
+\makeatother %
+---------------------------------------------------------------------
diff --git a/biblio/bibtex/contrib/vancouver/vancouver.bib b/biblio/bibtex/contrib/vancouver/vancouver.bib
new file mode 100644
index 0000000000..10ae51efbb
--- /dev/null
+++ b/biblio/bibtex/contrib/vancouver/vancouver.bib
@@ -0,0 +1,539 @@
+
+@Patent{ pagedas:flexible,
+ inventor = {Pagedas, A.C.},
+ assignee = {Ancel Surgical R\&D Inc.},
+ title = {Flexible endoscopic grasping and cutting device and positioning tool assembly},
+ numberi = {United States patent US 20020103498},
+ year = {2002 Aug 1}
+}
+
+@Map{ prat.flick.ea:biodiversity,
+ cartographer = {Pratt, B. and Flick, P. and Vynne, C.},
+ title = {Biodiversity hotspots},
+ type = {map},
+ address = {Washington},
+ publisher = {Conservation International},
+ year = {2000}
+}
+
+@Dictionary{ filamin,
+ title = {Filamin},
+ booktitle = {Dorland's illustrated medical dictionary},
+ edition = {29},
+ address = {Philadelphia},
+ publisher = {W.B. Saunders},
+ pages = {675},
+ year = {2000}
+}
+
+@Article{ 21st,
+ title = {21st century heart solution may have a sting in the
+ tail.},
+ journal = {BMJ},
+ volume = {325},
+ number = {7357},
+ pages = {184},
+ year = 2002
+}
+
+@Webpage{ american,
+ title = {American {M}edical {A}ssociation},
+ part = {AMA Office of Group Practice Liaison; [about 2 screens]},
+ address = {Chicago},
+ publisher = {The Association},
+ type = {homepage on the Internet},
+ year = {c1995-2002},
+ lastchecked = {2002 Aug 12},
+ updated = {2001 Aug 23},
+ url = {http://www.ama-assn.org/ama/pub/category/1736.html}
+}
+
+@Webpage{ bibliographic,
+ title = {Bibliographic {S}ervices {D}ivision},
+ address = {Bethesda (MD)},
+ publisher = {National Library of Medicine (US)},
+ type = {homepage on the Internet},
+ year = {c1993 -},
+ lastchecked = {2006 Mar 10},
+ updated = {2005 Sep 19},
+ url = {http://www.nlm.nih.gov/bsd/uniform_requirements.html}
+}
+
+@Webpage{ cancer-pain,
+ title = {Cancer-{P}ain.org},
+ publisher = {Association of Cancer Online Resources, Inc.},
+ address = {New York},
+ type = {homepage on the Internet},
+ year = {c2000-01},
+ lastchecked = {2002 Jul 9},
+ updated = {2002 May 16},
+ url = {http://www.cancer-pain.org/}
+}
+
+@Book{ compendium,
+ title = {Compendium of nursing research and practice development,
+ 1999-2000},
+ publisher = {Adelaide University},
+ address = {Adelaide (Australia)},
+ organization = {{Royal Adelaide Hospital} and {University of Adelaide,
+ Department of Clinical Nursing}},
+ year = 2001
+}
+
+@Article{ hypertension,
+ title = {Hypertension, insulin, and proinsulin in participants with
+ impaired glucose tolerance.},
+ journal = {Hypertension},
+ volume = {40},
+ number = {5},
+ pages = {679-86},
+ organization = {Diabetes Prevention Program Research Group},
+ year = 2002
+}
+
+@Webpage{ mesh,
+ title = {Me{SH} {B}rowser},
+ part = {Meta-analysis; unique ID: D015201},
+ address = {Bethesda (MD)},
+ pages = {about 3 p.},
+ publisher = {National Library of Medicine (US)},
+ type = {database on the Internet},
+ year = {2002 -},
+ lastchecked = {2003 Jun 10},
+ url = {http://www.nlm.nih.gov/mesh/MBrowser.html},
+}
+
+@Article{ outreach,
+ title = {Outreach: bringing {HIV}-positive individuals into care.},
+ journal = {HRSA Careaction},
+ pages = {1-6},
+ year = 2002
+}
+
+@Webpage{ whos,
+ title = {Who's {C}ertified},
+ address = {Evanston (IL)},
+ publisher = {The American Board of Medical Specialists},
+ type = {database on the Internet},
+ year = {c2000 -},
+ lastchecked = {2001 Mar 8},
+ url = {http://www.abms.org/newsearch.asp}
+}
+
+@Article{ abend.kulish:psychoanalytic,
+ author = {Abend, S.M. and Kulish, N.},
+ title = {The psychoanalytic method from an epistemological
+ viewpoint.},
+ journal = {Int J Psychoanal},
+ volume = {83},
+ number = {Pt 2},
+ pages = {491-5},
+ year = 2002
+}
+
+@Webpage{ abood:quality,
+ author = {Abood, S.},
+ title = {Quality improvement initiative in nursing homes: the {ANA}
+ acts in an advisory role},
+ journal = {Am J Nurs},
+ type = {serial on the Internet},
+ volume = {102},
+ number = {6},
+ pages = {about 3 p.},
+ month = {Jun},
+ year = {2002},
+ lastchecked = {2002 Aug 12},
+ url = {http://www.nursingworld.org/AJN/2002/june/Wawatch.htm}
+}
+
+@Article{ ahrar.madoff.ea:development,
+ author = {Ahrar, Kamran and Madoff, David C and Gupta, Sanjay and
+ Wallace, Michael J and Price, Roger E and Wright, Kenneth
+ C},
+ title = {Development of a large animal model for lung tumors.},
+ journal = {J Vasc Interv Radiol},
+ volume = {13},
+ number = {9 Pt 1},
+ pages = {923-8},
+ year = 2002
+}
+
+@Misc{ anderson.poulsen:andersons,
+ author = {Anderson, S.C. and Poulsen, K.B.},
+ title = {Anderson's electronic atlas of hematology},
+ address = {Philadelphia},
+ publisher = {Lippincott Williams \& Wilkins},
+ type = {CD-ROM},
+ year = 2002
+}
+
+@Article{ banit.kaufer.ea:intraoperative,
+ author = {Banit, D.M. and Kaufer, H. and Hartford, J.M.},
+ title = {Intraoperative frozen section analysis in revision total
+ joint arthroplasty.},
+ journal = {Clin Orthop Relat Res},
+ number = {401},
+ pages = {230-8},
+ year = 2002
+}
+
+@PhDThesis{ borkowski:infant,
+ author = {Borkowski, M.M.},
+ title = {Infant sleep and feeding: a telephone survey of {H}ispanic
+ {A}mericans},
+ school = {Central Michigan University},
+ type = {dissertation},
+ address = {Mount Pleasant (MI)},
+ year = 2002
+}
+
+@Book{ breedlove.schorfheide:adolescent,
+ author = {Breedlove, G.K. and Schorfheide, A.M.},
+ editor = {Wieczorek, R.R.},
+ title = {Adolescent pregnancy},
+ publisher = {March of Dimes Education Services},
+ address = {White Plains (NY)},
+ edition = {2},
+ year = 2001
+}
+
+@Article{ chadwick.schuklenk:politics,
+ author = {Chadwick, R. and Schuklenk, U.},
+ title = {The politics of ethical consensus finding.},
+ journal = {Bioethics},
+ volume = {16},
+ number = {2},
+ pages = {iii-v},
+ year = 2002
+}
+
+@Misc{ chason.sallustio:hospital,
+ author = {Chason, K.W. and Sallustio, S.},
+ title = {Hospital preparedness for bioterrorism},
+ address = {Secaucus (NJ)},
+ publisher = {Network for Continuing Medical Education},
+ type = {videocassette},
+ year = 2002
+}
+
+@InProceedings{ christensen.oppacher:analysis,
+ author = {Christensen, S. and Oppacher, F.},
+ title = {An analysis of {K}oza's computational effort statistic for
+ genetic programming},
+ booktitle = {Genetic programming. {E}uro{GP} 2002: {P}roceedings of the
+ 5th {E}uropean {C}onference on {G}enetic {P}rogramming;
+ 2002 {A}pr 3-5; {K}insdale, {I}reland},
+ editor = {Foster, J.A. and Lutton, E. and Miller, J. and Ryan, C.
+ and Tettamanzi, A.G.},
+ pages = {182-91},
+ address = {Berlin},
+ publisher = {Springer},
+ year = 2002
+}
+
+@Article{ ellingsen.wilhelmsen:sykdomsangst,
+ author = {Ellingsen, A.E. and Wilhelmsen, I.},
+ title = {Sykdomsangst blant medisin- og jusstudenter},
+ journal = {Tidsskr Nor Laegeforen},
+ volume = {122},
+ number = {8},
+ pages = {785-7},
+ year = 2002
+}
+
+@Article{ feifel.moutier.ea:safety,
+ author = {Feifel, D. and Moutier, C.Y. and Perry, W.},
+ title = {Safety and tolerability of a rapidly escalating
+ dose-loading regimen for risperidone.},
+ journal = {J Clin Psychiatry},
+ volume = {61},
+ number = {12},
+ pages = {909-11},
+ note = {Retraction in: Feifel D, Moutier CY, Perry W. J Clin
+ Psychiatry. 2002;63(2):169.},
+ year = 2000
+}
+
+@Article{ feifel.moutier.ea:safety*1,
+ author = {Feifel, D. and Moutier, C.Y. and Perry, W.},
+ title = {Safety and tolerability of a rapidly escalating
+ dose-loading regimen for risperidone.},
+ journal = {J Clin Psychiatry},
+ volume = {63},
+ number = {2},
+ pages = {169},
+ note = {Retraction of: Feifel D, Moutier CY, Perry W. J Clin
+ Psychiatry. 2000;61(12):909-11.},
+ year = 2002
+}
+
+@Webpage{ foley.gelband:improving,
+ title = {Improving palliative care for cancer},
+ address = {Washington},
+ editor = {Foley, K.M. and Gelband, H.},
+ publisher = {National Academy Press},
+ type = {monograph on the Internet},
+ year = {2001},
+ lastchecked = {2002 Jul 9},
+ url = {http://www.nap.edu/books/0309074029/html/}
+}
+
+@Article{ geraud.spierings.ea:tolerability,
+ author = {Geraud, G. and Spierings, E.L. and Keywood, C.},
+ title = {Tolerability and safety of frovatriptan with short- and
+ long-term use for treatment of migraine and in comparison
+ with sumatriptan.},
+ journal = {Headache},
+ volume = {42 Suppl 2},
+ pages = {S93-9},
+ year = 2002
+}
+
+@Book{ gilstrap.cunningham.ea:operative,
+ editor = {Gilstrap, 3rd, L.C. and Cunningham, F.G. and VanDorsten,
+ J.P.},
+ title = {Operative obstetrics},
+ publisher = {McGraw-Hill},
+ address = {New York},
+ edition = {2},
+ year = 2002
+}
+
+@Article{ glauser:integrating,
+ author = {Glauser, T.A.},
+ title = {Integrating clinical trial data into clinical practice.},
+ journal = {Neurology},
+ volume = {58},
+ number = {12 Suppl 7},
+ pages = {S6-12},
+ year = 2002
+}
+
+@Article{ halpern.ubel.ea:solid-organ,
+ author = {Halpern, S.D. and Ubel, P.A. and Caplan, A.L.},
+ title = {Solid-organ transplantation in {HIV}-infected patients.},
+ journal = {N Engl J Med},
+ volume = {347},
+ number = {4},
+ pages = {284-7},
+ year = 2002
+}
+
+@Article{ halpern.ubel.ea:solid-organ*1,
+ author = {Halpern, S.D. and Ubel, P.A. and Caplan, A.L.},
+ title = {Solid-organ transplantation in {HIV}-infected patients.},
+ journal = {N Engl J Med},
+ volume = {347},
+ number = {4},
+ pages = {284-7},
+ note = {Cited in PubMed; PMID 12140307.},
+ year = 2002
+}
+
+@Article{ halpern.ubel.ea:solid-organ*2,
+ author = {Halpern, S.D. and Ubel, P.A. and Caplan, A.L.},
+ title = {Solid-organ transplantation in {HIV}-infected patients.},
+ journal = {N Engl J Med},
+ volume = {347},
+ number = {4},
+ pages = {284-7},
+ month = {Jul 25},
+ year = 2002
+}
+
+@Proceedings{ harnden.joffe.ea:germ,
+ title = {Germ cell tumours {V}. {P}roceedings of the 5th {G}erm
+ {C}ell {T}umour {C}onference; 2001 {S}ep 13-15; {L}eeds,
+ {UK}},
+ editor = {Harnden, P. and Joffe, J.K. and Jones, W.G.},
+ address = {New York},
+ publisher = {Springer},
+ year = 2002
+}
+
+@Webpage{ jablonski:online,
+ author = {Jablonski, S.},
+ title = {Online {M}ultiple {C}ongential {A}nomaly/{M}ental
+ {R}etardation ({MCA}/{MR}) {S}yndromes},
+ address = {Bethesda (MD)},
+ publisher = {National Library of Medicine (US)},
+ type = {database on the Internet},
+ year = {c1999},
+ lastchecked = {2002 Aug 12},
+ updated = {2001 Nov 20},
+ url = {http://www.nlm.nih.gov/mesh/jablonski/syndrome\_title.html}
+}
+
+@Article{ lofwall.strain.ea:characteristics,
+ author = {Lofwall, M.R. and Strain, E.C. and Brooner, R.K. and
+ Kindbom, K.A. and Bigelow, G.E.},
+ title = {Characteristics of older methadone maintenance ({MM})
+ patients},
+ journal = {Drug Alcohol Depend},
+ volume = {66 Suppl 1},
+ pages = {S105},
+ type = {abstract},
+ year = 2002
+}
+
+@Article{ malinowski.bolesta:rosiglitazone,
+ author = {Malinowski, J.M. and Bolesta, S.},
+ title = {Rosiglitazone in the treatment of type 2 diabetes
+ mellitus: a critical review.},
+ journal = {Clin Ther},
+ volume = {22},
+ number = {10},
+ pages = {1151-68; discussion 1149-50},
+ note = {Erratum in: Clin Ther 2001;23(2):309.},
+ year = 2000
+}
+
+@Article{ mansharamani.chilton:reproductive,
+ author = {Mansharamani, M. and Chilton, B.S.},
+ title = {The reproductive importance of {P}-type {ATP}ases.},
+ journal = {Mol Cell Endocrinol},
+ volume = {188},
+ number = {1-2},
+ pages = {22-5},
+ note = {Corrected and republished from: Mol Cell Endocrinol.
+ 2001;183(1-2):123-6.},
+ year = 2002
+}
+
+@Article{ mansharamani.chilton:reproductive*1,
+ author = {Mansharamani, M. and Chilton, B.S.},
+ title = {The reproductive importance of {P}-type {ATP}ases.},
+ journal = {Mol Cell Endocrinol},
+ volume = {183},
+ number = {1-2},
+ pages = {123-6},
+ year = 2001
+}
+
+@InBook{ meltzer.kallioniemi.ea:genetic,
+ author = {Meltzer, P.S. and Kallioniemi, A. and Trent, J.M.},
+ editor = {Vogelstein, B. and Kinzler, K.W.},
+ title = {The genetic basis of human cancer},
+ chapter = {Chromosome alterations in human solid tumors},
+ pages = {93-113},
+ publisher = {McGraw-Hill},
+ address = {New York},
+ year = 2002
+}
+
+@Book{ murray.rosenthal.ea:medical,
+ author = {Murray, P.R. and Rosenthal, K.S. and Kobayashi, G.S. and
+ Pfaller, M.A.},
+ title = {Medical microbiology},
+ publisher = {Mosby},
+ address = {St. Louis},
+ edition = {4},
+ year = 2002
+}
+
+@Article{ rose.huerbin.ea:regulation,
+ author = {Rose, M.E. and Huerbin, M.B. and Melick, J. and Marion,
+ D.W. and Palmer, A.M. and Schiding, J.K. and Kochanek, P.M.
+ and Graham, S.H.},
+ title = {Regulation of interstitial excitatory amino acid
+ concentrations after cortical contusion injury.},
+ journal = {Brain Res},
+ volume = {935},
+ number = {1-2},
+ pages = {40-6},
+ year = 2002
+}
+
+@TechReport{ russell.goth-goldstein.ea:method,
+ author = {Russell, M.L. and Goth-Goldstein, R. and Apte, M.G. and
+ Fisk, W.J.},
+ title = {Method for measuring the size distribution of airborne
+ {R}hinovirus},
+ institution = {Lawrence Berkeley National Laboratory, Environmental
+ Energy Technologies Division},
+ number = {Report No.: LBNL49574. Contract No.: DEAC0376SF00098},
+ address = {Berkeley (CA)},
+ note = {Sponsored by the Department of Energy.},
+ month = jan,
+ year = 2002
+}
+
+@Unpublished{ tian.araki.ea:signature,
+ author = {Tian, D. and Araki, H. and Stahl, E. and Bergelson, J. and
+ Kreitman, M.},
+ title = {Signature of balancing selection in {A}rabidopsis},
+ note = {In press 2002.},
+ organization = {Proc Natl Acad Sci U S A},
+ year = 2002
+}
+
+@Article{ tor.turker:international,
+ author = {Tor, M. and Turker, H.},
+ title = {International approaches to the prescription of long-term
+ oxygen therapy},
+ journal = {Eur Respir J},
+ volume = {20},
+ number = {1},
+ pages = {242},
+ type = {letter},
+ year = 2002
+}
+
+@Article{ tynan:medical,
+ author = {Tynan, T.},
+ title = {Medical improvements lower homicide rate: study sees drop
+ in assault rate},
+ journal = {The Washington Post},
+ volume = {Sect. A},
+ pages = {2 (col. 4).},
+ month = {Aug 12},
+ year = 2002
+}
+
+@Webpage{ uniform,
+ title = {Uniform {R}equirements for {M}anuscripts {S}ubmitted to {B}iomedical {J}ournals: {W}riting and {E}diting for {B}iomedical {P}ublication},
+ publisher = {International Committee of Medical Journal Editors},
+ address = {Philadelphia (PA)},
+ type = {homepage on the Internet},
+ year = {2005},
+ lastchecked = {2002 Jul 9},
+ updated = {2006 Feb},
+ url = {http://www.icmje.org/}
+}
+
+@Article{ vallancien.emberton.ea:sexual,
+ author = {Vallancien, G. and Emberton, M. and Harving, N. and van
+ Moorselaar, R.J.},
+ title = {Sexual dysfunction in 1,274 {E}uropean men suffering from
+ lower urinary tract symptoms.},
+ journal = {J Urol},
+ volume = {169},
+ number = {6},
+ pages = {2257-61},
+ organization = {Alf-One Study Group},
+ year = 2003
+}
+
+@TechReport{ yen:health,
+ author = {Yen, G.G.},
+ title = {Health monitoring on vibration signatures. {F}inal
+ report},
+ institution = {Air Force Office of Scientific Research (US), Air Force
+ Research Laboratory},
+ number = {Report No.: AFRLSRBLTR020123. Contract No.:
+ F496209810049.},
+ address = {Arlington (VA)},
+ month = feb,
+ year = 2002
+}
+
+@Article{ yu.hawley.ea:immortalization,
+ author = {Yu, W.M. and Hawley, T.S. and Hawley, R.G. and Qu, C.K.},
+ title = {Immortalization of yolk sac-derived precursor cells.},
+ journal = {Blood},
+ volume = {100},
+ number = {10},
+ pages = {3828-31},
+ note = {Epub 2002 Jul 5.},
+ year = 2002
+}
diff --git a/biblio/bibtex/contrib/vancouver/vancouver.bst b/biblio/bibtex/contrib/vancouver/vancouver.bst
new file mode 100644
index 0000000000..bd7e340751
--- /dev/null
+++ b/biblio/bibtex/contrib/vancouver/vancouver.bst
@@ -0,0 +1,1873 @@
+%%
+%% This `vancouver.bst' bibliographic style file (for LaTeX/BibTeX) is
+%% generated with the docstrip utility and modified manually to meet the
+%% ``Uniform Requirements for Manuscripts Submitted to Biomedical Journals''
+%% as published in N Engl J Med 1997;336:309-315.
+%% (also known as the Vancouver style)
+%% This specification may be found on the web page of the
+%% International Committe of Medical Journal Editors:
+%%
+%% http://www.icmje.org
+%%
+%%-------------------------------------------------------------------
+%%
+%% Copyright 2004 Folkert van der Beek
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Folkert van der Beek.
+%%
+%% Complaints, suggestions and comments may be sent to
+%%
+%% Folkert van der Beek <folkertvanderbeek at gmail dot com>
+%%
+%%-------------------------------------------------------------------
+%%
+%% This bibliography style file is intended for texts in ENGLISH
+%% This is a numerical citation style, and as such is standard LaTeX.
+%% It requires no extra package to interface to the main text.
+%% The form of the \bibitem entries is
+%% \bibitem{key}...
+%% Usage of \cite is as follows:
+%% \cite{key} ==>> [#]
+%% \cite[chap. 2]{key} ==>> [#, chap. 2]
+%% where # is a number determined by the ordering in the reference list.
+%% The order in the reference list is that by which the works were originally
+%% cited in the text, or that in the database.
+ %
+%% To change the reference numbering system from [1] to 1,
+%% put the following code in the preamble:
+%% \makeatletter % Reference list option change
+%% \renewcommand\@biblabel[1]{#1} % from [1] to 1
+%% \makeatother %
+%%
+%%---------------------------------------------------------------------
+
+%% List of all possible fields
+ENTRY
+ { address
+ assignee % for patents
+ author
+ booktitle % for articles in books
+ chapter % for incollection, esp. internet documents
+ cartographer % for maps
+ day
+ edition
+ editor
+ howpublished
+ institution % for technical reports
+ inventor % for patents
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ part
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ word
+ year
+ eprint % urlbst
+ doi % urlbst
+ url % urlbst
+ lastchecked % urlbst
+ updated % urlbst
+ }
+ {}
+ { label }
+%% Declaration of integer variables
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+STRINGS { urlintro eprinturl eprintprefix doiprefix doiurl } % urlbst...
+INTEGERS { hrefform addeprints adddoiresolver }
+% Following constants may be adjusted by hand, if desired
+FUNCTION {init.config.constants}
+{
+ "Available from: " 'urlintro := % prefix before URL
+ "http://arxiv.org/abs/" 'eprinturl := % prefix to make URL from eprint ref
+ "arXiv:" 'eprintprefix := % text prefix printed before eprint ref
+ "http://dx.doi.org/" 'doiurl := % prefix to make URL from DOI
+ "doi:" 'doiprefix := % text prefix printed before DOI ref
+ #0 'addeprints := % 0=no eprints; 1=include eprints
+ #0 'adddoiresolver := % 0=no DOI resolver; 1=include it
+ #0 'hrefform := % 0=no crossrefs; 1=hypertex xrefs; 2=hyperref refs
+}
+INTEGERS {
+ bracket.state
+ outside.brackets
+ open.brackets
+ within.brackets
+ close.brackets
+}
+% ...urlbst to here
+FUNCTION {init.state.consts}
+{ #0 'outside.brackets := % urlbst
+ #1 'open.brackets :=
+ #2 'within.brackets :=
+ #3 'close.brackets :=
+
+ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+%% Declaration of string variables
+STRINGS { s t}
+
+% urlbst
+FUNCTION {output.nonnull.original}
+{ 's :=
+ output.state mid.sentence =
+ { ". " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+% urlbst...
+FUNCTION {output.nonnull}
+{ % Save the thing we've been asked to output
+ 's :=
+ % If the bracket-state is close.brackets, then add a close-bracket to
+ % what is currently at the top of the stack, and set bracket.state
+ % to outside.brackets
+ bracket.state close.brackets =
+ { "]" *
+ outside.brackets 'bracket.state :=
+ }
+ 'skip$
+ if$
+ bracket.state outside.brackets =
+ { % We're outside all brackets -- this is the normal situation.
+ % Write out what's currently at the top of the stack, using the
+ % original output.nonnull function.
+ s
+ output.nonnull.original
+ }
+ { % Still in brackets. Add open-bracket or (continuation) comma, add the
+ % new text (in s) to the top of the stack, and move to the close-brackets
+ % state, ready for next time (unless inbrackets resets it). If we come
+ % into this branch, then output.state is carefully undisturbed.
+ bracket.state open.brackets =
+ { " [" * }
+ { ", " * } % bracket.state will be within.brackets
+ if$
+ s *
+ close.brackets 'bracket.state :=
+ }
+ if$
+}
+
+% Call this function just before adding something which should be presented in
+% brackets. bracket.state is handled specially within output.nonnull.
+FUNCTION {inbrackets}
+{ bracket.state close.brackets =
+ { within.brackets 'bracket.state := } % reset the state: not open nor closed
+ { open.brackets 'bracket.state := }
+ if$
+}
+
+FUNCTION {format.lastchecked}
+{ lastchecked empty$
+ { "" }
+ { updated empty$
+ { inbrackets "cited " lastchecked * }
+ { inbrackets "updated " updated * "; cited " * lastchecked * }
+ if$
+ }
+ if$
+}
+% ...urlbst to here
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {fin.entry}
+{
+ bracket.state close.brackets = % urlbst
+ { "]" * }
+ 'skip$
+ if$
+ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {no.blank.or.punct}
+{ "" * before.all 'output.state :=
+}
+
+FUNCTION {add.semicolon}
+{
+ ";" *
+ no.blank.or.punct
+}
+
+FUNCTION {date.block}
+{
+ "." *
+ no.blank.or.punct
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% LOGICAL `NOT', `AND', AND `OR' %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Logical 'not':
+% If the first element on the stack is A then this function
+% does the following:
+% push { #0 }
+% push { #1 }
+% So now the first 3 elements of the stack are
+% { #1 } { #0 } A
+% The first 3 are popped and subjected to 'if':
+% If A > 0 then { #0 } is executed, else { #1 } is executed:
+% if A > 0
+% then 0
+% else 1
+% So consider integers as logicals, where 1 = true and 0 = false,
+% then this does
+% (if A then false else true)
+% which is a logical 'not'.
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Logical 'and':
+% If the first 2 elements on the stack are A B
+% then this function does the following:
+% push 'skip$
+% push { pop$ #0 }
+% So now first 4 elements are
+% { pop$ #0 } 'skip$ A B
+% The first 3 are popped and subjected to 'if' (B is on top of
+% the stack):
+% If A > 0 then 'skip$ is executed, else { pop$ #0 } is executed:
+% if A > 0
+% then (B stays on top of stack)
+% else (B is popped and #0 is pushed)
+% So consider integers as logicals, where 1 = true and 0 = false,
+% then this does
+% (if A then B else false)
+% which is a logical 'and'.
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Logical 'or':
+% If the first 2 elements on the stack are A B
+% then this function does the following:
+% push { pop$ #1 }
+% push 'skip$
+% So now first 4 elements are
+% 'skip$ { pop$ #1 } A B
+% The first 3 are popped and subjected to 'if' (B is on top of
+% the stack):
+% If A > 0 then { pop$ #1 } is executed, else 'skip$ is executed:
+% if A > 0
+% then (B is popped and #1 is pushed)
+% else (B stays on top of stack)
+% So consider integers as logicals, where 1 = true and 0 = false,
+% then this does
+% (if A then true else B)
+% which is a logical 'or'.
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% GENERAL PURPOSE FUNCTIONS FOR FORMATTING %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% issues warning if field is empty
+% call with
+% "field" field warning.if.empty
+% Note that the first field must be between quotes
+% because it is the fieldname for use in the warning message.
+%
+
+FUNCTION {warning.if.empty}
+{ empty$
+ { "No " swap$ * " in " * cite$ * warning$ }
+ { pop$ }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % encloses string in pre- and postfix string
+ % call with
+ % prefix postfix S enclose.check
+ % delivers empty string if S empty
+ %
+FUNCTION {enclose.check}
+{ duplicate$ empty$
+ { pop$ pop$ pop$
+ ""
+ }
+ { swap$ * * }
+ if$
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% emphasizes top of stack
+% call with
+% string" emphasize.check
+%
+
+FUNCTION {emphasize.check}
+{ "\Bem{" swap$
+ "}" swap$
+ enclose.check
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % brackets top of stack
+ % call with
+ % "string" bracket.check
+ %
+FUNCTION {bracket.check}
+{ "[" swap$
+ "]" swap$
+ enclose.check
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ %
+ % parenthesizes top of stack
+ % call with
+ % "string" parenthesize
+ %
+FUNCTION {parenthesize.check}
+{ "(" swap$
+ ")" swap$
+ enclose.check
+}
+
+STRINGS {z}
+
+FUNCTION {remove.dots}
+{ 'z := % expects string on top of the stack, pops the string and assigns it to variable z
+ "" % push empty string
+ { z empty$ not } % returns 0 if variable z is empty
+ { z #1 #1 substring$ % push the first character of variable z
+ z #2 global.max$ substring$ 'z := % assigns the 2nd to last character of variable z to variable z
+ duplicate$ "\" = % pushes 1 if the last character is "\", otherwise 0
+ { * % concatenates the last 2 literals
+ z #1 #1 substring$ % push the first character of variable z
+ z #2 global.max$ substring$ 'z := % assigns the 2nd to last character of variable z to variable z
+ * % concatenates the last 2 literals, i.e. every character, even a dot, following a "\" will be printed
+ }
+ { duplicate$ "." = % pushes 1 if the last character is ".", otherwise 0
+ 'pop$ % pushes the pop$ function
+ { * } % concatenates the last 2 literals
+ if$ % pops the last character if it is a dot, otherwise concatenates it with the string on top of the stack
+ }
+ if$
+ }
+ while$
+}
+
+INTEGERS {l}
+FUNCTION{string.length}
+{
+ #1 'l :=
+ { duplicate$ duplicate$ #1 l substring$ = not }
+ { l #1 + 'l := }
+ while$
+ pop$ l
+}
+
+STRINGS {replace find text}
+INTEGERS {find_length}
+FUNCTION {find.replace}
+{
+ 'replace :=
+ 'find :=
+ 'text :=
+ find string.length 'find_length :=
+ ""
+ { text empty$ not }
+ { text #1 find_length substring$ find =
+ {
+ replace *
+ text #1 find_length + global.max$ substring$ 'text :=
+ }
+ { text #1 #1 substring$ *
+ text #2 global.max$ substring$ 'text :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ skip$ }
+
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "editors" }
+
+FUNCTION {bbl.editor}
+{ "editor" }
+
+FUNCTION {bbl.cartographers}
+{ "cartographers" }
+
+FUNCTION {bbl.cartographer}
+{ "cartographer" }
+
+FUNCTION {bbl.inventors}
+{ "inventors" }
+
+FUNCTION {bbl.inventor}
+{ "inventor" }
+
+FUNCTION {bbl.assignees}
+{ "assignees" }
+
+FUNCTION {bbl.assignee}
+{ "assignee" }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "ed." }
+
+FUNCTION {bbl.volume}
+{ "vol." }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "no." }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "p." }
+
+FUNCTION {bbl.page}
+{ "p." }
+
+FUNCTION {bbl.chapter}
+{ "chap." }
+
+FUNCTION {bbl.techrep}
+{ "Tech. Rep." }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+FUNCTION {bbl.first}
+{ "1st" }
+
+FUNCTION {bbl.second}
+{ "2nd" }
+
+FUNCTION {bbl.third}
+{ "3rd" }
+
+FUNCTION {bbl.fourth}
+{ "4th" }
+
+FUNCTION {bbl.fifth}
+{ "5th" }
+
+FUNCTION {bbl.st}
+{ "st" }
+
+FUNCTION {bbl.nd}
+{ "nd" }
+
+FUNCTION {bbl.rd}
+{ "rd" }
+
+FUNCTION {bbl.th}
+{ "th" }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"Jun."}
+
+MACRO {jul} {"Jul."}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sep."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+FUNCTION {eng.ord}
+{ duplicate$ "1" swap$ *
+ #-2 #1 substring$ "1" =
+ { bbl.th * }
+ { duplicate$ #-1 #1 substring$
+ duplicate$ "1" =
+ { pop$ bbl.st * }
+ { duplicate$ "2" =
+ { pop$ bbl.nd * }
+ { "3" =
+ { bbl.rd * }
+ { bbl.th * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+
+STRINGS { bibinfo}
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ "." ". " find.replace 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}{ f{}}{ jj}"
+ format.name$
+ remove.dots
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ nameptr #6
+ #1 + =
+ numnames #6
+ > and
+ { "others" 't :=
+ #1 'namesleft := }
+ 'skip$
+ if$
+ namesleft #1 >
+ { ", " * t * }
+ {
+ "," *
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ { " " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+
+FUNCTION {format.names.org}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ff~}{vv~}{ll}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { "; " * t * }
+ {
+ ";" *
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal *
+ }
+ { " " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+
+FUNCTION {format.names.ed}
+{
+ format.names
+}
+
+FUNCTION {format.authors}
+{
+ author "author" format.names
+ %%"." " " "author" find.replace format.names
+}
+
+FUNCTION {format.organizations}
+{ organization "organization" format.names.org
+}
+
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {get.bbl.cartographer}
+{ cartographer num.names$ #1 > 'bbl.cartographers 'bbl.cartographer if$ }
+
+FUNCTION {get.bbl.inventor}
+{ inventor num.names$ #1 > 'bbl.inventors 'bbl.inventor if$ }
+
+FUNCTION {get.bbl.assignee}
+{ assignee num.names$ #1 > 'bbl.assignees 'bbl.assignee if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ "," *
+ " " *
+ get.bbl.editor
+ *
+ }
+ if$
+}
+
+FUNCTION {format.assignees}
+{ assignee "assignee" format.names.org duplicate$ empty$ 'skip$
+ {
+ "," *
+ " " *
+ get.bbl.assignee
+ *
+ }
+ if$
+}
+
+FUNCTION {format.cartographers}
+{ cartographer "cartographer" format.names duplicate$ empty$ 'skip$
+ {
+ "," *
+ " " *
+ get.bbl.cartographer
+ *
+ }
+ if$
+}
+
+FUNCTION {format.inventors}
+{ inventor "inventor" format.names duplicate$ empty$ 'skip$
+ {
+ "," *
+ " " *
+ get.bbl.inventor
+ *
+ }
+ if$
+}
+
+FUNCTION {format.note}
+{
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+%%duplicate$ empty$ 'skip$
+%% { "t" change.case$ }
+%%if$
+ "title" bibinfo.check
+}
+
+FUNCTION {format.type}
+{ type empty$
+ 'skip$
+ { inbrackets type }
+ %%{ add.blank "[" type * "]" * }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ outside.brackets 'bracket.state := % urlbst
+ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in capitalize
+ ":" *
+ " " * }
+
+FUNCTION {format.journal.date}
+{
+ month "month" bibinfo.check
+ duplicate$ empty$
+ year "year" bibinfo.check duplicate$ empty$
+ {
+ swap$ 'skip$
+ { "there's a month but no year in " cite$ * warning$ }
+ if$
+ *
+ }
+ { swap$ 'skip$
+ {
+ " " * swap$
+ }
+ if$
+ *
+ remove.dots
+ }
+ if$
+ duplicate$ empty$
+ 'skip$
+ {
+ before.all 'output.state :=
+ after.sentence 'output.state :=
+ }
+ if$
+}
+
+FUNCTION {format.date}
+{
+ no.blank.or.punct
+ ";"
+ duplicate$ empty$
+ year "year" bibinfo.check duplicate$ empty$
+ { swap$ 'skip$
+ { "there's a month but no year in " cite$ * warning$ }
+ if$
+ *
+ }
+ { swap$ 'skip$
+ {
+ swap$
+ " " * swap$
+ }
+ if$
+ *
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ }
+ if$
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ bbl.of space.word * swap$
+ emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { number "number" bibinfo.check }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+FUNCTION {convert.edition}
+{ extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bbl.first 't := }
+ { s "second" = s "2" = or
+ { bbl.second 't := }
+ { s "third" = s "3" = or
+ { bbl.third 't := }
+ { s "fourth" = s "4" = or
+ { bbl.fourth 't := }
+ { s "fifth" = s "5" = or
+ { bbl.fifth 't := }
+ { s #1 #1 substring$ is.num
+ { s eng.ord 't := }
+ { edition 't := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ t
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ convert.edition
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ bbl.pages swap$
+ n.dashify
+ }
+ {
+ bbl.page swap$
+ }
+ if$
+ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ }
+ if$
+}
+
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ":" *
+ swap$
+ n.dashify
+ "pages" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ "volume" bibinfo.check
+ }
+ if$
+ number "number" bibinfo.check duplicate$ empty$ 'skip$
+ {
+ swap$ duplicate$ empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ swap$
+ "(" swap$ * ")" *
+ }
+ if$ *
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ "volume" bibinfo.check
+ }
+ if$
+ number "number" bibinfo.check duplicate$ empty$ 'skip$
+ {
+ swap$ duplicate$ empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ swap$
+ "(" swap$ * ")" *
+ }
+ if$ *
+ format.journal.pages
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+ }
+
+ FUNCTION {format.booktitle}
+ {
+ booktitle "booktitle" bibinfo.check
+ }
+
+ FUNCTION {format.in.ed.booktitle}
+ { format.booktitle duplicate$ empty$ 'skip$
+ {
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ "," *
+ " " *
+ get.bbl.editor
+ ". " *
+ * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+ }
+
+ FUNCTION {format.in.ed.title}
+ { format.title duplicate$ empty$ 'skip$
+ {
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ "," *
+ " " *
+ get.bbl.editor
+ ". " *
+ * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+ }
+
+ FUNCTION {empty.misc.check}
+ { author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ FUNCTION {format.thesis.type}
+ { type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{
+ number "number" bibinfo.check
+ %%type duplicate$ empty$
+ %%{ pop$ bbl.techrep }
+ %%'skip$
+ %%if$
+ %%"type" bibinfo.check
+ %%swap$ duplicate$ empty$
+ %%{ pop$ "t" change.case$ }
+ %%{ tie.or.space.prefix * * }
+ %%if$
+}
+
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address empty$ t empty$ and
+ 'skip$
+ {
+ address "address" bibinfo.check *
+ t empty$
+ 'skip$
+ { address empty$
+ 'skip$
+ { ": " * }
+ if$
+ t *
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+FUNCTION {format.institution.address}
+{ institution "institution" bibinfo.check format.org.or.pub
+}
+
+
+% urlbst...
+% Functions for making hypertext links.
+% In all cases, the stack has (link-text href-url)
+%
+% make 'null' specials
+FUNCTION {make.href.null}
+{
+ pop$
+}
+% make hypertex specials
+FUNCTION {make.href.hypertex}
+{
+ "\special {html:<a href=" quote$ *
+ swap$ * quote$ * "> }" * swap$ *
+ "\special {html:</a>}" *
+}
+% make hyperref specials
+FUNCTION {make.href.hyperref}
+{
+ "\href {" swap$ * "} {" * swap$ * "}" *
+}
+FUNCTION {make.href}
+{ hrefform #2 =
+ 'make.href.hyperref % hrefform = 2
+ { hrefform #1 =
+ 'make.href.hypertex % hrefform = 1
+ 'make.href.null % hrefform = 0 (or anything else)
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { hrefform #1 =
+ { % special case -- add HyperTeX specials
+ urlintro "\url{" url * "}" * url make.href.hypertex * }
+ { urlintro "\url{" * url * "}" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.eprint}
+{ eprint empty$
+ { "" }
+ { eprintprefix eprint * eprinturl eprint * make.href }
+ if$
+}
+
+FUNCTION {format.doi}
+{ doi empty$
+ { "" }
+ { doiprefix doi * doiurl doi * make.href }
+ if$
+}
+
+% Output a URL. We can't use the more normal idiom (something like
+% `format.url output'), because the `inbrackets' within
+% format.lastchecked applies to everything between calls to `output',
+% so that `format.url format.lastchecked * output' ends up with both
+% the URL and the lastchecked in brackets.
+FUNCTION {output.url}
+{ url empty$
+ 'skip$
+ { new.block
+ format.url output
+ format.lastchecked output
+ }
+ if$
+}
+
+FUNCTION {output.web.refs}
+{
+ new.block
+ output.url
+ addeprints eprint empty$ not and
+ { format.eprint output.nonnull }
+ 'skip$
+ if$
+ adddoiresolver doi empty$ not and
+ { format.doi output.nonnull }
+ 'skip$
+ if$
+% addeprints
+% { eprint empty$
+% 'skip$
+% { format.eprint output.nonnull }
+% if$
+% }
+% 'skip$
+% if$
+}
+
+% Webpage entry type.
+% Title and url fields required;
+% author, note, year, month, and lastchecked fields optional
+STRINGS {database}
+FUNCTION {webpage}
+{ output.bibitem
+ author empty$
+ { editor empty$
+ 'skip$ % author and editor both optional
+ { format.editors output.nonnull }
+ if$
+ }
+ { editor empty$
+ { format.authors output.nonnull }
+ { "can't use both author and editor fields in " cite$ * warning$ }
+ if$
+ }
+ if$
+% author empty$
+% 'skip$
+% { format.authors output.nonnull }
+% if$
+ new.block
+ format.title "title" output.check
+ journal empty$
+ {
+ format.type "type" output.check
+ publisher empty$
+ 'skip$
+ { format.publisher.address output }
+ if$
+ "database on the Internet" 'database :=
+ type database =
+ { format.journal.date "year" output.check }
+ { format.date "year" output.check }
+ if$
+ lastchecked empty$
+ 'skip$
+ { format.lastchecked output }
+ if$
+ new.block
+ part empty$
+ 'skip$
+ { part output }
+ if$
+ pages empty$
+ 'skip$
+ { pages bracket.check output }
+ if$
+ }
+ { journal
+ remove.dots
+ "journal" bibinfo.check
+ "journal" output.check
+ format.type "type" output.check
+ format.journal.date "year" output.check
+ lastchecked empty$
+ 'skip$
+ { format.lastchecked output
+ ";" no.blank.or.punct output
+ }
+ if$
+ no.blank.or.punct format.vol.num output
+ pages empty$
+ 'skip$
+ { ":" no.blank.or.punct output
+ no.blank.or.punct pages bracket.check output
+ }
+ if$
+ new.block
+ }
+ if$
+ format.url "url" output.check
+ new.block
+ note output
+ fin.entry
+}
+% ...urlbst to here
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors "author" output.check
+ format.editors "author and editor" output.check
+ format.title "title" output.check
+ type missing$
+ { skip$ }
+ { format.type "type" output.check }
+ %%{ inbrackets type output }
+ if$
+ new.block
+ format.publisher.address output
+ format.date "year" output.check
+ new.block
+ format.note output
+ new.block
+ howpublished new.block.checka
+ howpublished "howpublished" bibinfo.check output
+ output.web.refs % urlbst
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ organization empty$
+ 'skip$
+ { author empty$
+ {
+ format.organizations "organization" output.check
+ }
+ {
+ "; " *
+ no.blank.or.punct
+ format.organizations "organization" output.check
+ }
+ if$
+ }
+ if$
+ new.block
+ format.title "title" output.check
+ type missing$
+ { skip$ }
+ { format.type "type" output.check }
+ if$
+ new.block
+ journal
+ remove.dots
+ "journal" bibinfo.check
+ "journal" output.check
+ format.journal.date "year" output.check
+ add.semicolon
+ format.vol.num.pages output
+ new.block
+ format.note output
+ output.web.refs % urlbst
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { editor empty$
+ { format.organizations "organization" output.check }
+ { format.editors "author and editor" output.check }
+ if$
+ }
+ { format.authors output.nonnull
+ "author and editor" editor either.or.check
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ new.block
+ format.edition output
+ new.sentence
+ author empty$ not
+ editor empty$ not
+ and
+ { format.editors "author and editor" output.check }
+ 'skip$
+ if$
+ format.number.series output
+ format.publisher.address output
+ format.date "year" output.check
+ new.block
+ format.note output
+ output.web.refs % urlbst
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ misc }
+
+FUNCTION {dictionary}
+{ output.bibitem
+ format.booktitle "booktitle" output.check
+ format.bvolume output
+ new.block
+ format.edition output
+ new.sentence
+ format.publisher.address output
+ format.date "year" output.check
+ format.btitle "title" output.check
+ add.semicolon
+ add.blank
+ format.pages "pages" output.check
+ new.block
+ format.note output
+ output.web.refs % urlbst
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ chapter "chapter" output.check
+ new.block
+ format.in.ed.title "title" output.check
+ format.bvolume output
+ format.edition output
+ new.sentence
+ format.number.series output
+ format.publisher.address output
+ format.date "year" output.check
+ date.block
+ add.blank
+ format.pages "pages" output.check
+ new.block
+ format.note output
+ output.web.refs % urlbst
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.edition output
+ new.sentence
+ format.number.series output
+ format.publisher.address output
+ format.date "year" output.check
+ date.block
+ add.blank
+ format.pages "pages" output.check
+ new.block
+ format.note output
+ output.web.refs % urlbst
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ new.sentence
+ format.number.series output
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ format.date "year" output.check
+ date.block
+ add.blank
+ format.pages "pages" output.check
+ new.block
+ format.note output
+ output.web.refs % urlbst
+ fin.entry
+}
+
+FUNCTION {conference}
+{inproceedings}
+
+FUNCTION {manual}
+{misc}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle
+ "title" output.check
+ format.type "type" output.check
+ new.block
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.date "year" output.check
+ new.block
+ format.note output
+ output.web.refs % urlbst
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{phdthesis}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization "organization" bibinfo.check output
+ }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ editor empty$
+ { publisher empty$
+ 'skip$
+ {
+ new.sentence
+ format.number.series output
+ format.publisher.address output
+ }
+ if$
+ }
+ { publisher empty$
+ {
+ new.sentence
+ format.organization.address output }
+ {
+ new.sentence
+ organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ }
+ if$
+ format.date "year" output.check
+ new.block
+ format.note output
+ output.web.refs % urlbst
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ format.institution.address output
+ format.date "year" output.check
+ format.tr.number output.nonnull
+ new.block
+ format.note output
+ output.web.refs % urlbst
+ fin.entry
+}
+
+FUNCTION {map}
+{ output.bibitem
+ format.cartographers "cartographer" output.check
+ new.block
+ format.title
+ "title" output.check
+ format.type "type" output.check
+ new.block
+ format.publisher.address output
+ format.date "year" output.check
+ new.block
+ format.note output
+ output.web.refs % urlbst
+ fin.entry
+}
+
+FUNCTION {patent}
+{ output.bibitem
+ format.inventors "inventor" output.check
+ "; " *
+ no.blank.or.punct
+ format.assignees "assignee" output.check
+ new.block
+ format.title
+ "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ format.date "year" output.check
+ new.block
+ format.note output
+ output.web.refs % urlbst
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ format.date output
+ new.block
+ format.note "note" output.check
+ output.web.refs % urlbst
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+READ
+STRINGS { longest.label }
+INTEGERS { number.label longest.label.width }
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+EXECUTE {initialize.longest.label}
+ITERATE {longest.label.pass}
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" *
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.config.constants}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `vancouver.bst'.
diff --git a/biblio/bibtex/contrib/vancouver/vancouver.pdf b/biblio/bibtex/contrib/vancouver/vancouver.pdf
new file mode 100644
index 0000000000..41176c5652
--- /dev/null
+++ b/biblio/bibtex/contrib/vancouver/vancouver.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/vancouver/vancouver.tex b/biblio/bibtex/contrib/vancouver/vancouver.tex
new file mode 100644
index 0000000000..70a9d7a610
--- /dev/null
+++ b/biblio/bibtex/contrib/vancouver/vancouver.tex
@@ -0,0 +1,238 @@
+\documentclass[a4paper,10pt]{article}
+\usepackage[english]{babel}
+\usepackage[super,comma,sort&compress]{natbib}
+\usepackage{url}
+\urlstyle{rm} % typeset urls in roman instead of in typewriter style
+\makeatletter
+\renewcommand\@biblabel[1]{#1} %from [1] to 1
+\makeatother
+
+%opening
+\title{International Committee of Medical Journal Editors Uniform Requirements}
+
+\author{Folkert van der Beek}
+
+\begin{document}
+
+\maketitle
+The vancouver.bst bibliographic style file (for \LaTeX/Bib\TeX) is generated with the docstrip utility and modified manually to meet the ``Uniform Requirements for Manuscripts Submitted to Biomedical Journals'' as published in N Engl J Med 1997;336:309-315. (also known as the Vancouver style). This specification may be found on the web page of the International Committe of Medical Journal Editors.\cite{uniform}
+The following samples of reference citation formats were taken from the National Library of Medicine web site to show what works and what does not (yet).\cite{bibliographic}
+
+In order to meet all citation formats, several entry types {--} such as \textbf{@map}, \textbf{@patent}, \textbf{@dictionary} and \textbf{@webpage} {--} and fields {--} such as \textbf{inventor}, \textbf{assignee} (for patents), \textbf{cartographer} (for maps), \textbf{part}, \textbf{lastchecked}, and \textbf{updated} (for webpages). For proper use of these entries and fields I refer to the vancouver.bib file included with the package.
+
+\section{Articles in Journals}
+
+\subsection{Standard journal article}
+
+List the first six authors followed by et al. (Note: NLM now lists all authors.)
+\linebreak
+Halpern SD, Ubel PA, Caplan AL. Solid-organ transplantation in HIV-infected patients. N Engl J Med. 2002 Jul 25;347(4):284-7.\cite{halpern.ubel.ea:solid-organ*2}
+
+
+As an option, if a journal carries continuous pagination throughout a volume (as many medical journals do) the month and issue number may be omitted.
+\linebreak
+Halpern SD, Ubel PA, Caplan AL. Solid-organ transplantation in HIV-infected patients. N Engl J Med. 2002;347:284-7.\cite{halpern.ubel.ea:solid-organ}
+
+\subsubsection{Optional addition of a database's unique identifier for the citation:}
+
+Halpern SD, Ubel PA, Caplan AL. Solid-organ transplantation in HIV-infected patients. N Engl J Med. 2002 Jul 25;347(4):284-7. Cited in PubMed; PMID 12140307.\cite{halpern.ubel.ea:solid-organ*1}
+
+\subsubsection{More than six authors:}
+
+Rose ME, Huerbin MB, Melick J, Marion DW, Palmer AM, Schiding JK, et al. Regulation of interstitial excitatory amino acid concentrations after cortical contusion injury. Brain Res. 2002;935(1-2):40-6.\cite{rose.huerbin.ea:regulation}
+
+\subsection{Organization as author}
+
+Diabetes Prevention Program Research Group. Hypertension, insulin, and proinsulin in participants with impaired glucose tolerance. Hypertension. 2002;40(5):679-86.\cite{hypertension}
+
+\subsection{Both personal authors and an organization as author (This example does not conform to NISO standards.)}
+
+Vallancien G, Emberton M, Harving N, van Moorselaar RJ; Alf-One Study Group. Sexual dysfunction in 1,274 European men suffering from lower urinary tract symptoms. J Urol. 2003;169(6):2257-61.\cite{vallancien.emberton.ea:sexual}
+
+\subsection{No author given}
+
+21st century heart solution may have a sting in the tail. BMJ. 2002;325(7357):184.\cite{21st}
+
+\subsection{Article not in English}
+
+(Note: NLM translates the title into English, encloses the translation in square brackets, and adds an abbreviated language designator.)
+\linebreak
+Ellingsen AE, Wilhelmsen I. Sykdomsangst blant medisin- og jusstudenter. Tidsskr Nor Laegeforen. 2002;122(8):785-7.\cite{ellingsen.wilhelmsen:sykdomsangst}
+
+\subsection{Volume with supplement}
+
+Geraud G, Spierings EL, Keywood C. Tolerability and safety of frovatriptan with short- and long-term use for treatment of migraine and in comparison with sumatriptan. Headache. 2002;42 Suppl 2:S93-9.\cite{geraud.spierings.ea:tolerability}
+
+\subsection{Issue with supplement}
+
+Glauser TA. Integrating clinical trial data into clinical practice. Neurology. 2002;58(12 Suppl 7):S6-12.\cite{glauser:integrating}
+
+\subsection{Volume with part}
+
+Abend SM, Kulish N. The psychoanalytic method from an epistemological viewpoint. Int J Psychoanal. 2002;83(Pt 2):491-5.\cite{abend.kulish:psychoanalytic}
+
+\subsection{Issue with part}
+
+Ahrar K, Madoff DC, Gupta S, Wallace MJ, Price RE, Wright KC. Development of a large animal model for lung tumors. J Vasc Interv Radiol. 2002;13(9 Pt 1):923-8.\cite{ahrar.madoff.ea:development}
+
+\subsection{Issue with no volume}
+
+Banit DM, Kaufer H, Hartford JM. Intraoperative frozen section analysis in revision total joint arthroplasty. Clin Orthop. 2002;(401):230-8.\cite{banit.kaufer.ea:intraoperative}
+
+\subsection{No volume or issue}
+
+Outreach: bringing HIV-positive individuals into care. HRSA Careaction. 2002 Jun:1-6.\cite{outreach}
+
+\subsection{Pagination in roman numerals}
+
+Chadwick R, Schuklenk U. The politics of ethical consensus finding. Bioethics. 2002;16(2):iii-v.\cite{chadwick.schuklenk:politics}
+
+\subsection{Type of article indicated as needed}
+
+Tor M, Turker H. International approaches to the prescription of long-term oxygen therapy [letter]. Eur Respir J. 2002;20(1):242.\cite{tor.turker:international}
+\linebreak
+Lofwall MR, Strain EC, Brooner RK, Kindbom KA, Bigelow GE. Characteristics of older methadone maintenance (MM) patients [abstract]. Drug Alcohol Depend. 2002;66 Suppl 1:S105.\cite{lofwall.strain.ea:characteristics}
+
+\subsection{Article containing retraction}
+
+Feifel D, Moutier CY, Perry W. Safety and tolerability of a rapidly escalating dose-loading regimen for risperidone. J Clin Psychiatry. 2002;63(2):169. Retraction of: Feifel D, Moutier CY, Perry W. J Clin Psychiatry. 2000;61(12):909-11.\cite{feifel.moutier.ea:safety}
+
+\subsection{Article retracted}
+
+Feifel D, Moutier CY, Perry W. Safety and tolerability of a rapidly escalating dose-loading regimen for risperidone. J Clin Psychiatry. 2000;61(12):909-11. Retraction in: Feifel D, Moutier CY, Perry W. J Clin Psychiatry. 2002;63(2):169.\cite{feifel.moutier.ea:safety*1}
+
+\subsection{Article republished with corrections}
+
+Mansharamani M, Chilton BS. The reproductive importance of P-type ATPases. Mol Cell Endocrinol. 2002;188(1-2):22-5. Corrected and republished from: Mol Cell Endocrinol. 2001;183(1-2):123-6.\cite{mansharamani.chilton:reproductive}
+
+\subsection{Article with published erratum}
+
+Malinowski JM, Bolesta S. Rosiglitazone in the treatment of type 2 diabetes mellitus: a critical review. Clin Ther. 2000;22(10):1151-68; discussion 1149-50. Erratum in: Clin Ther 2001;23(2):309.\cite{malinowski.bolesta:rosiglitazone}
+
+\subsection{Article published electronically ahead of the print version}
+
+Yu WM, Hawley TS, Hawley RG, Qu CK. Immortalization of yolk sac-derived precursor cells. Blood. 2002 Nov 15;100(10):3828-31. Epub 2002 Jul 5.\cite{yu.hawley.ea:immortalization}
+
+\section{Books and Other Monographs}
+
+\subsection{Personal author(s)}
+
+Murray PR, Rosenthal KS, Kobayashi GS, Pfaller MA. Medical microbiology. 4th ed. St. Louis: Mosby; 2002.\cite{murray.rosenthal.ea:medical}
+
+\subsection{Editor(s), compiler(s) as author}
+
+Gilstrap LC 3rd, Cunningham FG, VanDorsten JP, editors. Operative obstetrics. 2nd ed. New York: McGraw-Hill; 2002.\cite{gilstrap.cunningham.ea:operative}
+
+\subsection{Author(s) and editor(s)}
+
+Breedlove GK, Schorfheide AM. Adolescent pregnancy. 2nd ed. Wieczorek RR, editor. White Plains (NY): March of Dimes Education Services; 2001.\cite{breedlove.schorfheide:adolescent}
+
+\subsection{Organization(s) as author}
+
+Royal Adelaide Hospital; University of Adelaide, Department of Clinical Nursing. Compendium of nursing research and practice development, 1999-2000. Adelaide (Australia): Adelaide University; 2001.\cite{compendium}
+
+\subsection{Chapter in a book}
+
+Meltzer PS, Kallioniemi A, Trent JM. Chromosome alterations in human solid tumors. In: Vogelstein B, Kinzler KW, editors. The genetic basis of human cancer. New York: McGraw-Hill; 2002. p. 93-113.\cite{meltzer.kallioniemi.ea:genetic}
+
+\subsection{Conference proceedings}
+
+Harnden P, Joffe JK, Jones WG, editors. Germ cell tumours V. Proceedings of the 5th Germ Cell Tumour Conference; 2001 Sep 13-15; Leeds, UK. New York: Springer; 2002.\cite{harnden.joffe.ea:germ}
+
+\subsection{Conference paper}
+
+Christensen S, Oppacher F. An analysis of Koza's computational effort statistic for genetic programming. In: Foster JA, Lutton E, Miller J, Ryan C, Tettamanzi AG, editors. Genetic programming. EuroGP 2002: Proceedings of the 5th European Conference on Genetic Programming; 2002 Apr 3-5; Kinsdale, Ireland. Berlin: Springer; 2002. p. 182-91.\cite{christensen.oppacher:analysis}
+
+\subsection{Scientific or technical report}
+
+\subsubsection{Issued by funding/sponsoring agency:}
+
+Yen GG (Oklahoma State University, School of Electrical and Computer Engineering, Stillwater, OK). Health monitoring on vibration signatures. Final report. Arlington (VA): Air Force Office of Scientific Research (US), Air Force Research Laboratory; 2002 Feb. Report No.: AFRLSRBLTR020123. Contract No.: F496209810049.\cite{yen:health}
+
+\subsubsection{Issued by performing agency:}
+
+Russell ML, Goth-Goldstein R, Apte MG, Fisk WJ. Method for measuring the size distribution of airborne Rhinovirus. Berkeley (CA): Lawrence Berkeley National Laboratory, Environmental Energy Technologies Division; 2002 Jan. Report No.: LBNL49574. Contract No.: DEAC0376SF00098. Sponsored by the Department of Energy.\cite{russell.goth-goldstein.ea:method}
+
+\subsection{Dissertation}
+
+Borkowski MM. Infant sleep and feeding: a telephone survey of Hispanic Americans [dissertation]. Mount Pleasant (MI): Central Michigan University; 2002.\cite{borkowski:infant}
+
+\subsection{Patent}
+
+Pagedas AC, inventor; Ancel Surgical R\&D Inc., assignee. Flexible endoscopic grasping and cutting device and positioning tool assembly. United States patent US 20020103498. 2002 Aug 1.\cite{pagedas:flexible}
+
+\section{Other Published Material}
+
+\subsection{Newspaper article}
+
+Tynan T. Medical improvements lower homicide rate: study sees drop in assault rate. The Washington Post. 2002 Aug 12;Sect. A:2 (col. 4).\cite{tynan:medical}
+
+\subsection{Audiovisual material}
+
+Chason KW, Sallustio S. Hospital preparedness for bioterrorism [videocassette]. Secaucus (NJ): Network for Continuing Medical Education; 2002.\cite{chason.sallustio:hospital}
+
+\subsection{Legal Material}
+
+\subsubsection{Public law:}
+Veterans Hearing Loss Compensation Act of 2002, Pub. L. No. 107-9, 115 Stat. 11 (May 24, 2001).
+
+\subsubsection{Unenacted bill:}
+Healthy Children Learn Act, S. 1012, 107th Cong., 1st Sess. (2001).
+
+\subsubsection{Code of Federal Regulations:}
+Cardiopulmonary Bypass Intracardiac Suction Control, 21 C.F.R. Sect. 870.4430 (2002).
+
+\subsubsection{Hearing:}
+Arsenic in Drinking Water: An Update on the Science, Benefits and Cost: Hearing Before the Subcomm. on Environment, Technology and Standards of the House Comm. on Science, 107th Cong., 1st Sess. (Oct. 4, 2001).
+
+\subsection{Map}
+
+Pratt B, Flick P, Vynne C, cartographers. Biodiversity hotspots [map]. Washington: Conservation International; 2000.\cite{prat.flick.ea:biodiversity}
+
+\subsection{Dictionary and similar references}
+
+Dorland's illustrated medical dictionary. 29th ed. Philadelphia: W.B. Saunders; 2000. Filamin; p. 675.\cite{filamin}
+
+\section{Unpublished Material}
+
+\subsection{In press}
+
+(Note: NLM prefers "forthcoming" because not all items will be printed.)
+\linebreak
+Tian D, Araki H, Stahl E, Bergelson J, Kreitman M. Signature of balancing selection in Arabidopsis. Proc Natl Acad Sci U S A. In press 2002.\cite{ tian.araki.ea:signature}
+
+\section{Electronic Material}
+
+\subsection{CD-ROM}
+
+Anderson SC, Poulsen KB. Anderson's electronic atlas of hematology [CD-ROM]. Philadelphia: Lippincott Williams \& Wilkins; 2002.\cite{anderson.poulsen:andersons}
+
+\subsection{Journal article on the Internet}
+
+Abood S. Quality improvement initiative in nursing homes: the ANA acts in an advisory role. Am J Nurs [serial on the Internet]. 2002 Jun [cited 2002 Aug 12];102(6):[about 3 p.]. Available from: http://www.nursingworld.org/AJN/2002/june/Wawatch.htm\cite{abood:quality}
+
+\subsection{Monograph on the Internet}
+
+Foley KM, Gelband H, editors. Improving palliative care for cancer [monograph on the Internet]. Washington: National Academy Press; 2001 [cited 2002 Jul 9]. Available from: http://www.nap.edu/books/0309074029/html/.\cite{foley.gelband:improving}
+
+\subsection{Homepage/Web site}
+
+Cancer-Pain.org [homepage on the Internet]. New York: Association of Cancer Online Resources, Inc.; c2000-01 [updated 2002 May 16; cited 2002 Jul 9]. Available from: http://www.cancer-pain.org/.\cite{cancer-pain}
+
+\subsection{Part of a homepage/Web site}
+
+American Medical Association [homepage on the Internet]. Chicago: The Association; c1995-2002 [updated 2001 Aug 23; cited 2002 Aug 12]. AMA Office of Group Practice Liaison; [about 2 screens]. Available from: http://www.ama-assn.org/ama/pub/category/1736.html\cite{american}
+
+\subsection{Database on the Internet}
+
+\subsubsection{Open database:}
+Who's Certified [database on the Internet]. Evanston (IL): The American Board of Medical Specialists. c2000 - [cited 2001 Mar 8]. Available from: http://www.abms.org/newsearch.asp\cite{whos}
+
+\subsubsection{Closed database:}
+Jablonski S. Online Multiple Congential Anomaly/Mental Retardation (MCA/MR) Syndromes [database on the Internet]. Bethesda (MD): National Library of Medicine (US). c1999 [updated 2001 Nov 20; cited 2002 Aug 12]. Available from: http://www.nlm.nih.gov/mesh/jablonski/syndrome\_title.html\cite{jablonski:online}
+
+\subsubsection{Part of a database on the Internet}
+MeSH Browser [database on the Internet]. Bethesda (MD): National Library of Medicine (US); 2002 - [cited 2003 Jun 10]. Meta-analysis; unique ID: D015201; [about 3 p.]. Available from: http://www.nlm.nih.gov/mesh/MBrowser.html\cite{mesh}
+\bibliography{vancouver}
+\bibliographystyle{/home/folkert/scripts/vancouver}
+\end{document}
diff --git a/biblio/bibtex/contrib/zootaxa-bst/CHANGES.md b/biblio/bibtex/contrib/zootaxa-bst/CHANGES.md
new file mode 100644
index 0000000000..b8391bb62b
--- /dev/null
+++ b/biblio/bibtex/contrib/zootaxa-bst/CHANGES.md
@@ -0,0 +1,7 @@
+Changelog
+===============
+
+
+## Ver. 1.0 (2019-03-25)
+
+* Initial version, a fork from apa.bst with own functions for managing some specific aspects of the literature cited required by zootaxa. Checked against the [instructions for authors](https://www.mapress.com/j/zt/pages/view/forauthors).
diff --git a/biblio/bibtex/contrib/zootaxa-bst/LICENSE b/biblio/bibtex/contrib/zootaxa-bst/LICENSE
new file mode 100644
index 0000000000..058caea9ce
--- /dev/null
+++ b/biblio/bibtex/contrib/zootaxa-bst/LICENSE
@@ -0,0 +1,415 @@
+The LaTeX Project Public License
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
+
+LPPL Version 1.3c 2008-05-04
+
+Copyright 1999 2002-2008 LaTeX3 Project
+ Everyone is allowed to distribute verbatim copies of this
+ license document, but modification of it is not allowed.
+
+
+PREAMBLE
+========
+
+The LaTeX Project Public License (LPPL) is the primary license under
+which the LaTeX kernel and the base LaTeX packages are distributed.
+
+You may use this license for any work of which you hold the copyright
+and which you wish to distribute. This license may be particularly
+suitable if your work is TeX-related (such as a LaTeX package), but
+it is written in such a way that you can use it even if your work is
+unrelated to TeX.
+
+The section `WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE',
+below, gives instructions, examples, and recommendations for authors
+who are considering distributing their works under this license.
+
+This license gives conditions under which a work may be distributed
+and modified, as well as conditions under which modified versions of
+that work may be distributed.
+
+We, the LaTeX3 Project, believe that the conditions below give you
+the freedom to make and distribute modified versions of your work
+that conform with whatever technical specifications you wish while
+maintaining the availability, integrity, and reliability of
+that work. If you do not see how to achieve your goal while
+meeting these conditions, then read the document `cfgguide.tex'
+and `modguide.tex' in the base LaTeX distribution for suggestions.
+
+
+DEFINITIONS
+===========
+
+In this license document the following terms are used:
+
+ `Work'
+ Any work being distributed under this License.
+
+ `Derived Work'
+ Any work that under any applicable law is derived from the Work.
+
+ `Modification'
+ Any procedure that produces a Derived Work under any applicable
+ law -- for example, the production of a file containing an
+ original file associated with the Work or a significant portion of
+ such a file, either verbatim or with modifications and/or
+ translated into another language.
+
+ `Modify'
+ To apply any procedure that produces a Derived Work under any
+ applicable law.
+
+ `Distribution'
+ Making copies of the Work available from one person to another, in
+ whole or in part. Distribution includes (but is not limited to)
+ making any electronic components of the Work accessible by
+ file transfer protocols such as FTP or HTTP or by shared file
+ systems such as Sun's Network File System (NFS).
+
+ `Compiled Work'
+ A version of the Work that has been processed into a form where it
+ is directly usable on a computer system. This processing may
+ include using installation facilities provided by the Work,
+ transformations of the Work, copying of components of the Work, or
+ other activities. Note that modification of any installation
+ facilities provided by the Work constitutes modification of the Work.
+
+ `Current Maintainer'
+ A person or persons nominated as such within the Work. If there is
+ no such explicit nomination then it is the `Copyright Holder' under
+ any applicable law.
+
+ `Base Interpreter'
+ A program or process that is normally needed for running or
+ interpreting a part or the whole of the Work.
+
+ A Base Interpreter may depend on external components but these
+ are not considered part of the Base Interpreter provided that each
+ external component clearly identifies itself whenever it is used
+ interactively. Unless explicitly specified when applying the
+ license to the Work, the only applicable Base Interpreter is a
+ `LaTeX-Format' or in the case of files belonging to the
+ `LaTeX-format' a program implementing the `TeX language'.
+
+
+
+CONDITIONS ON DISTRIBUTION AND MODIFICATION
+===========================================
+
+1. Activities other than distribution and/or modification of the Work
+are not covered by this license; they are outside its scope. In
+particular, the act of running the Work is not restricted and no
+requirements are made concerning any offers of support for the Work.
+
+2. You may distribute a complete, unmodified copy of the Work as you
+received it. Distribution of only part of the Work is considered
+modification of the Work, and no right to distribute such a Derived
+Work may be assumed under the terms of this clause.
+
+3. You may distribute a Compiled Work that has been generated from a
+complete, unmodified copy of the Work as distributed under Clause 2
+above, as long as that Compiled Work is distributed in such a way that
+the recipients may install the Compiled Work on their system exactly
+as it would have been installed if they generated a Compiled Work
+directly from the Work.
+
+4. If you are the Current Maintainer of the Work, you may, without
+restriction, modify the Work, thus creating a Derived Work. You may
+also distribute the Derived Work without restriction, including
+Compiled Works generated from the Derived Work. Derived Works
+distributed in this manner by the Current Maintainer are considered to
+be updated versions of the Work.
+
+5. If you are not the Current Maintainer of the Work, you may modify
+your copy of the Work, thus creating a Derived Work based on the Work,
+and compile this Derived Work, thus creating a Compiled Work based on
+the Derived Work.
+
+6. If you are not the Current Maintainer of the Work, you may
+distribute a Derived Work provided the following conditions are met
+for every component of the Work unless that component clearly states
+in the copyright notice that it is exempt from that condition. Only
+the Current Maintainer is allowed to add such statements of exemption
+to a component of the Work.
+
+ a. If a component of this Derived Work can be a direct replacement
+ for a component of the Work when that component is used with the
+ Base Interpreter, then, wherever this component of the Work
+ identifies itself to the user when used interactively with that
+ Base Interpreter, the replacement component of this Derived Work
+ clearly and unambiguously identifies itself as a modified version
+ of this component to the user when used interactively with that
+ Base Interpreter.
+
+ b. Every component of the Derived Work contains prominent notices
+ detailing the nature of the changes to that component, or a
+ prominent reference to another file that is distributed as part
+ of the Derived Work and that contains a complete and accurate log
+ of the changes.
+
+ c. No information in the Derived Work implies that any persons,
+ including (but not limited to) the authors of the original version
+ of the Work, provide any support, including (but not limited to)
+ the reporting and handling of errors, to recipients of the
+ Derived Work unless those persons have stated explicitly that
+ they do provide such support for the Derived Work.
+
+ d. You distribute at least one of the following with the Derived Work:
+
+ 1. A complete, unmodified copy of the Work;
+ if your distribution of a modified component is made by
+ offering access to copy the modified component from a
+ designated place, then offering equivalent access to copy
+ the Work from the same or some similar place meets this
+ condition, even though third parties are not compelled to
+ copy the Work along with the modified component;
+
+ 2. Information that is sufficient to obtain a complete,
+ unmodified copy of the Work.
+
+7. If you are not the Current Maintainer of the Work, you may
+distribute a Compiled Work generated from a Derived Work, as long as
+the Derived Work is distributed to all recipients of the Compiled
+Work, and as long as the conditions of Clause 6, above, are met with
+regard to the Derived Work.
+
+8. The conditions above are not intended to prohibit, and hence do not
+apply to, the modification, by any method, of any component so that it
+becomes identical to an updated version of that component of the Work as
+it is distributed by the Current Maintainer under Clause 4, above.
+
+9. Distribution of the Work or any Derived Work in an alternative
+format, where the Work or that Derived Work (in whole or in part) is
+then produced by applying some process to that format, does not relax or
+nullify any sections of this license as they pertain to the results of
+applying that process.
+
+10. a. A Derived Work may be distributed under a different license
+ provided that license itself honors the conditions listed in
+ Clause 6 above, in regard to the Work, though it does not have
+ to honor the rest of the conditions in this license.
+
+ b. If a Derived Work is distributed under a different license, that
+ Derived Work must provide sufficient documentation as part of
+ itself to allow each recipient of that Derived Work to honor the
+ restrictions in Clause 6 above, concerning changes from the Work.
+
+11. This license places no restrictions on works that are unrelated to
+the Work, nor does this license place any restrictions on aggregating
+such works with the Work by any means.
+
+12. Nothing in this license is intended to, or may be used to, prevent
+complete compliance by all parties with all applicable laws.
+
+
+NO WARRANTY
+===========
+
+There is no warranty for the Work. Except when otherwise stated in
+writing, the Copyright Holder provides the Work `as is', without
+warranty of any kind, either expressed or implied, including, but not
+limited to, the implied warranties of merchantability and fitness for a
+particular purpose. The entire risk as to the quality and performance
+of the Work is with you. Should the Work prove defective, you assume
+the cost of all necessary servicing, repair, or correction.
+
+In no event unless required by applicable law or agreed to in writing
+will The Copyright Holder, or any author named in the components of the
+Work, or any other party who may distribute and/or modify the Work as
+permitted above, be liable to you for damages, including any general,
+special, incidental or consequential damages arising out of any use of
+the Work or out of inability to use the Work (including, but not limited
+to, loss of data, data being rendered inaccurate, or losses sustained by
+anyone as a result of any failure of the Work to operate with any other
+programs), even if the Copyright Holder or said author or said other
+party has been advised of the possibility of such damages.
+
+
+MAINTENANCE OF THE WORK
+=======================
+
+The Work has the status `author-maintained' if the Copyright Holder
+explicitly and prominently states near the primary copyright notice in
+the Work that the Work can only be maintained by the Copyright Holder
+or simply that it is `author-maintained'.
+
+The Work has the status `maintained' if there is a Current Maintainer
+who has indicated in the Work that they are willing to receive error
+reports for the Work (for example, by supplying a valid e-mail
+address). It is not required for the Current Maintainer to acknowledge
+or act upon these error reports.
+
+The Work changes from status `maintained' to `unmaintained' if there
+is no Current Maintainer, or the person stated to be Current
+Maintainer of the work cannot be reached through the indicated means
+of communication for a period of six months, and there are no other
+significant signs of active maintenance.
+
+You can become the Current Maintainer of the Work by agreement with
+any existing Current Maintainer to take over this role.
+
+If the Work is unmaintained, you can become the Current Maintainer of
+the Work through the following steps:
+
+ 1. Make a reasonable attempt to trace the Current Maintainer (and
+ the Copyright Holder, if the two differ) through the means of
+ an Internet or similar search.
+
+ 2. If this search is successful, then enquire whether the Work
+ is still maintained.
+
+ a. If it is being maintained, then ask the Current Maintainer
+ to update their communication data within one month.
+
+ b. If the search is unsuccessful or no action to resume active
+ maintenance is taken by the Current Maintainer, then announce
+ within the pertinent community your intention to take over
+ maintenance. (If the Work is a LaTeX work, this could be
+ done, for example, by posting to comp.text.tex.)
+
+ 3a. If the Current Maintainer is reachable and agrees to pass
+ maintenance of the Work to you, then this takes effect
+ immediately upon announcement.
+
+ b. If the Current Maintainer is not reachable and the Copyright
+ Holder agrees that maintenance of the Work be passed to you,
+ then this takes effect immediately upon announcement.
+
+ 4. If you make an `intention announcement' as described in 2b. above
+ and after three months your intention is challenged neither by
+ the Current Maintainer nor by the Copyright Holder nor by other
+ people, then you may arrange for the Work to be changed so as
+ to name you as the (new) Current Maintainer.
+
+ 5. If the previously unreachable Current Maintainer becomes
+ reachable once more within three months of a change completed
+ under the terms of 3b) or 4), then that Current Maintainer must
+ become or remain the Current Maintainer upon request provided
+ they then update their communication data within one month.
+
+A change in the Current Maintainer does not, of itself, alter the fact
+that the Work is distributed under the LPPL license.
+
+If you become the Current Maintainer of the Work, you should
+immediately provide, within the Work, a prominent and unambiguous
+statement of your status as Current Maintainer. You should also
+announce your new status to the same pertinent community as
+in 2b) above.
+
+
+WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE
+======================================================
+
+This section contains important instructions, examples, and
+recommendations for authors who are considering distributing their
+works under this license. These authors are addressed as `you' in
+this section.
+
+Choosing This License or Another License
+----------------------------------------
+
+If for any part of your work you want or need to use *distribution*
+conditions that differ significantly from those in this license, then
+do not refer to this license anywhere in your work but, instead,
+distribute your work under a different license. You may use the text
+of this license as a model for your own license, but your license
+should not refer to the LPPL or otherwise give the impression that
+your work is distributed under the LPPL.
+
+The document `modguide.tex' in the base LaTeX distribution explains
+the motivation behind the conditions of this license. It explains,
+for example, why distributing LaTeX under the GNU General Public
+License (GPL) was considered inappropriate. Even if your work is
+unrelated to LaTeX, the discussion in `modguide.tex' may still be
+relevant, and authors intending to distribute their works under any
+license are encouraged to read it.
+
+A Recommendation on Modification Without Distribution
+-----------------------------------------------------
+
+It is wise never to modify a component of the Work, even for your own
+personal use, without also meeting the above conditions for
+distributing the modified component. While you might intend that such
+modifications will never be distributed, often this will happen by
+accident -- you may forget that you have modified that component; or
+it may not occur to you when allowing others to access the modified
+version that you are thus distributing it and violating the conditions
+of this license in ways that could have legal implications and, worse,
+cause problems for the community. It is therefore usually in your
+best interest to keep your copy of the Work identical with the public
+one. Many works provide ways to control the behavior of that work
+without altering any of its licensed components.
+
+How to Use This License
+-----------------------
+
+To use this license, place in each of the components of your work both
+an explicit copyright notice including your name and the year the work
+was authored and/or last substantially modified. Include also a
+statement that the distribution and/or modification of that
+component is constrained by the conditions in this license.
+
+Here is an example of such a notice and statement:
+
+ %% pig.dtx
+ %% Copyright 2005 M. Y. Name
+ %
+ % This work may be distributed and/or modified under the
+ % conditions of the LaTeX Project Public License, either version 1.3
+ % of this license or (at your option) any later version.
+ % The latest version of this license is in
+ % http://www.latex-project.org/lppl.txt
+ % and version 1.3 or later is part of all distributions of LaTeX
+ % version 2005/12/01 or later.
+ %
+ % This work has the LPPL maintenance status `maintained'.
+ %
+ % The Current Maintainer of this work is M. Y. Name.
+ %
+ % This work consists of the files pig.dtx and pig.ins
+ % and the derived file pig.sty.
+
+Given such a notice and statement in a file, the conditions
+given in this license document would apply, with the `Work' referring
+to the three files `pig.dtx', `pig.ins', and `pig.sty' (the last being
+generated from `pig.dtx' using `pig.ins'), the `Base Interpreter'
+referring to any `LaTeX-Format', and both `Copyright Holder' and
+`Current Maintainer' referring to the person `M. Y. Name'.
+
+If you do not want the Maintenance section of LPPL to apply to your
+Work, change `maintained' above into `author-maintained'.
+However, we recommend that you use `maintained', as the Maintenance
+section was added in order to ensure that your Work remains useful to
+the community even when you can no longer maintain and support it
+yourself.
+
+Derived Works That Are Not Replacements
+---------------------------------------
+
+Several clauses of the LPPL specify means to provide reliability and
+stability for the user community. They therefore concern themselves
+with the case that a Derived Work is intended to be used as a
+(compatible or incompatible) replacement of the original Work. If
+this is not the case (e.g., if a few lines of code are reused for a
+completely different task), then clauses 6b and 6d shall not apply.
+
+
+Important Recommendations
+-------------------------
+
+ Defining What Constitutes the Work
+
+ The LPPL requires that distributions of the Work contain all the
+ files of the Work. It is therefore important that you provide a
+ way for the licensee to determine which files constitute the Work.
+ This could, for example, be achieved by explicitly listing all the
+ files of the Work near the copyright notice of each file or by
+ using a line such as:
+
+ % This work consists of all files listed in manifest.txt.
+
+ in that place. In the absence of an unequivocal list it might be
+ impossible for the licensee to determine what is considered by you
+ to comprise the Work and, in such a case, the licensee would be
+ entitled to make reasonable conjectures as to which files comprise
+ the Work. \ No newline at end of file
diff --git a/biblio/bibtex/contrib/zootaxa-bst/README.md b/biblio/bibtex/contrib/zootaxa-bst/README.md
new file mode 100644
index 0000000000..7ca5fa7fd1
--- /dev/null
+++ b/biblio/bibtex/contrib/zootaxa-bst/README.md
@@ -0,0 +1,48 @@
+# zootaxa-bst
+A .bst reference style for LaTeX
+
+## Introduction
+
+This package provides a bst reference style file for the journal zootaxa that publishes contributions in zoology and classification. This is a fork of `apa.bst` as provided by texlive since this style file resembled the most Zootaxa's own style. Further modifications were made to the code in order to generate in-text citations and bibliography sections appropriately. Although I have not tested the style with tools other than the texlive distribution under linux, it is expected to work on any platform and distribution that the apa.bst file does. Please see below under 'Bug reports and contributing' if something is not behaving as expected.
+
+## Download
+
+This package is being submited to CTAN and will eventually be available there and probably bundled together with distributions such as texlive. In the meantime, it can be downloaded from github (https://github.com/gaballench/zootaxa-bst/) where we will also find the development version of the package.
+
+## Installation
+
+There are two ways:
+
+- Put the .bst file where latex can find it.
+- Put the .bst file in the same directory as your tex file so that it can be found during compilation. This method is preferred when you need the style file just for a single project and don't expect to needed later.
+
+## Usage
+
+Please note that three lines are necessary for compiling with this reference style:
+
+```
+\documentclass{article}
+
+\usepackage{natbib}
+...
+...
+...
+\bibliographystyle{zootaxa}
+\bibliography{example-refs}
+
+\end{document}
+```
+
+The command `usepackage` activates the `natbib` package necessary for managing references. The command `bibliographystyle` will tell the system to use `zootaxa.bst`. The command `bibliography` points the `.bib` file. Please note that the fact that we are not indicating paths indicates that 1) the files are in the path (in the case of the package if it was installed where the system can find it), or the in working directory where the remaining files are found (e.g., the bibliography file).
+
+## Author(s) and maintainer(s)
+
+Currently only Gustavo A. Ballen is involved in the development of this package.
+
+## Bug reports and contributing
+
+Please feel free to send a pull request through github for improving the package. Also, you can send bug reports and suggestions for improvement; please ensure that you provide a reproducible instance along with your bug report (e.g., both the .tex file and the .bib file that I can compile so that I can better understand what is going on).
+
+## License
+
+This package is released under the LaTeX Project Public License in order to follow the license of the apa package on CTAN. See https://ctan.org/license/lppl1.3c for details and the file `LICENSE` for details.
diff --git a/biblio/bibtex/contrib/zootaxa-bst/example-refs.bib b/biblio/bibtex/contrib/zootaxa-bst/example-refs.bib
new file mode 100644
index 0000000000..b8a5d1154f
--- /dev/null
+++ b/biblio/bibtex/contrib/zootaxa-bst/example-refs.bib
@@ -0,0 +1,961 @@
+@article{Arratia2018,
+author = {Arratia, Gloria and Gonz{\'{a}}lez-Rodr{\'{i}}guez, Katia A. and Hern{\'{a}}ndez-Guerrero, Citlalli},
+doi = {10.5194/fr-21-93-2018},
+issn = {21930074},
+journal = {Fossil Record},
+number = {1},
+pages = {93--107},
+title = {{A new Pachyrhizodontid Fish (Actinopterygii, Teleostei) from the Muhi Quarry (Albian-Cenomanian), Hidalgo, Mexico}},
+volume = {21},
+year = {2018}
+}
+@book{Agassiz1833II,
+author = {Agassiz, Louis},
+pages = {1--336},
+title = {{Recherches sur les Poissons Fossiles. Tome II}},
+year = {1833}
+}
+@article{Doiuchi2005,
+author = {Doiuchi, Ryu and Nakabo, Tetsuji},
+doi = {10.1007/s10228-004-0263-1},
+issn = {13418998},
+journal = {Ichthyological Research},
+keywords = {Sphyraena,Sphyraena iburiensis sp. nov.,Sphyraena obtusata group,Sphyraenidae},
+pages = {132--151},
+title = {{The \textit{Sphyraena obtusata} group (Perciformes: Sphyraenidae) with a description of a new species from southern Japan}},
+volume = {52},
+year = {2005}
+}
+@article{Mainwaring1978,
+author = {Mainwaring, A. J.},
+pages = {162},
+title = {{Anatomical and Systematic review of the Pachycormidae, a family of Mesozoic fossil fishes}},
+year = {1978}
+}
+@article{Sanchez-Villagra2004,
+author = {S{\'{a}}nchez-Villagra, Marcelo R and Asher, Robert J and Rinc{\'{o}}n, Ascanio D and Carlini, Alfredo A and Meylan, Peter A and Purdy, Robert W},
+journal = {Special Papers in Palaeontology},
+pages = {105--112},
+title = {{New faunal reports for the cerro La Cruz locality (Lower Miocene), north-eastern Venezuela}},
+volume = {71},
+year = {2004}
+}
+@article{Betancur2017,
+author = {Betancur-R, Ricardo and Wiley, Edward O and Arratia, Gloria and Acero, Arturo and Bailly, Nicolas and Miya, Masaki and Lecointre, Guillaume and Ort{\'{i}}, Guillermo},
+journal = {BMC Evolutionary Biology},
+number = {162},
+pages = {1--40},
+title = {{Phylogenetic classification of bony fishes}},
+volume = {17},
+year = {2017}
+}
+@article{Fowler1903,
+author = {Fowler, Henry W},
+journal = {Proceedings of the Academy of Natural Sciences of Philadelphia},
+number = {1903},
+pages = {743--752},
+title = {{New and little known Mugilidae and Sphyraenidae}},
+volume = {55},
+year = {1903}
+}
+@article{Brzobohaty2011a,
+author = {Brzobohat{\'{y}}, Rostislav and Nolf, Dirk},
+issn = {03746291},
+journal = {Bulletin de l'Institut Royal des Sciences Naturelles de Belqique, Sciences de la Terre},
+keywords = {Bartonian,Eocene,Otoliths,Spain,Teleosts},
+pages = {279--295},
+title = {{Fish otoliths from the middle Eocene (Bartonian) of Yebra de Basa, province of Huesca, Spain}},
+volume = {81},
+year = {2011}
+}
+@article{Cope1875,
+author = {Cope, Edward D},
+journal = {Proceedings of the American Philosophical Society},
+number = {94},
+pages = {361--364},
+title = {{Synopsis of the Vertebrata of the Miocene of Cumberland County , New Jersey}},
+volume = {14},
+year = {1875}
+}
+@article{Bryant1991,
+author = {Bryant, J Daniel},
+journal = {Journal of Vertebrate Paleontology},
+number = {4},
+pages = {472--489},
+title = {{New early Barstovian (Middle Miocene) vertebrates from the upper Torreya Formation, Eastern Florida Panhandle}},
+volume = {11},
+year = {1991}
+}
+@article{UGENE2012,
+author = {Okonechnikov, Konstantin and Golosova, Olga and Fursov, Mikhail and Varlamov, Alexey and Vaskin, Yuri and Efremov, Ivan and {German Grehov}, O. G. and Kandrov, Denis and Rasputin, Kirill and Syabro, Maxim and Tleukenov, Timur},
+doi = {10.1093/bioinformatics/bts091},
+isbn = {1367-4811 (Electronic)$\backslash$r1367-4803 (Linking)},
+issn = {13674803},
+journal = {Bioinformatics},
+pages = {1166--1167},
+pmid = {22368248},
+title = {{Unipro UGENE: A unified bioinformatics toolkit}},
+volume = {28},
+year = {2012}
+}
+@article{Arambourg1966,
+author = {Arambourg, Camille},
+journal = {Notes et M{\'{e}}moires sur le Moyen-Orient},
+pages = {1--210},
+title = {{Les poissons oligoc{\`{e}}nes de l'Iran}},
+volume = {3},
+year = {1966}
+}
+@article{Amalfitano2017,
+author = {Amalfitano, J. and Giusberti, L. and Fornaciari, E. and Carnevale, Giorgio},
+issn = {20394942},
+journal = {Rivista Italiana di Paleontologia e Stratigrafia},
+keywords = {Bony fishes,Historical collections,Pachycormiformes,Southern Europe},
+number = {3},
+pages = {475--485},
+title = {{A reappraisal of the Italian record of the cretaceous Pachycormid Fish \textit{Protosphyraena} Leidy, 1857}},
+volume = {123},
+year = {2017}
+}
+@article{Dollo1888,
+author = {Dollo, Louis and Storms, Raymond},
+journal = {Zoologischer Anzeiger},
+pages = {265--267},
+title = {{Sur les T{\'{e}}l{\'{e}}ost{\'{e}}ens du Rup{\'{e}}lien}},
+volume = {11},
+year = {1888}
+}
+@article{Ronquist2012,
+author = {Ronquist, Fredrik and Teslenko, Maxim and {Van Der Mark}, Paul and Ayres, Daniel L. and Darling, Aaron and H{\"{o}}hna, Sebastian and Larget, Bret and Liu, Liang and Suchard, Marc A. and Huelsenbeck, John P},
+doi = {10.1093/sysbio/sys029},
+isbn = {1076-836X (Electronic)$\backslash$n1063-5157 (Linking)},
+issn = {10635157},
+journal = {Systematic Biology},
+keywords = {Bayes factor,Bayesian inference,MCMC,model averaging,model choice},
+number = {3},
+pages = {539--542},
+pmid = {22357727},
+title = {{MrBayes 3.2: Efficient bayesian phylogenetic inference and model choice across a large model space}},
+volume = {61},
+year = {2012}
+}
+@misc{RCoreTeam2017,
+address = {Vienna},
+author = {{R Core Development Team}},
+publisher = {R Foundation for Statistical Computing},
+title = {{R: A language and environment for statistical computing}},
+url = {http://www.r-project.org/},
+year = {2017}
+}
+@book{Bannikov2010,
+address = {Moscow},
+author = {Bannikov, Alexandre F},
+pages = {92},
+publisher = {GEOS},
+title = {{Iskopaemye pozvonochnye Rossii i sopredel'nykh stran. Iskopaemye kolyucheperye ryby (Teleostei, Acanthopterigii)}},
+year = {2010}
+}
+@article{Leidy1856,
+author = {Leidy, Joseph},
+journal = {Proceedings of the Academy of Natural Sciences of Philadelphia},
+pages = {220--221},
+title = {{Notice of remains of extinct vertebrated animals of New-Jersey, collected by Prof. Cook of the State Geological Survey under the direction of Dr. W. Kitchell}},
+volume = {8},
+year = {1856}
+}
+@article{Weiler1938,
+author = {Weiler, Worms von Wilhelm},
+journal = {Geologica Hungarica. Series Palaeontologica},
+number = {1-30},
+title = {{Neue Untersuchungen an Mitteloligoz{\"{a}}nen Fischen Ungarns}},
+volume = {15},
+year = {1938}
+}
+@article{Bone1991,
+author = {Bone, David A and Todd, Jonathan A and Tracey, Steve},
+journal = {Tertiary Research},
+number = {3-4},
+pages = {131--137},
+title = {{Fossils from the Bracklesham Group exposed in the M27 Motorway excavations, Southampton, Hampshire}},
+volume = {12},
+year = {1991}
+}
+@incollection{FAO2005,
+address = {Rome},
+author = {FAO-FIGIS},
+booktitle = {A World Overview of Species of Interest to Fisheries},
+pages = {1--3},
+publisher = {FAO},
+title = {{\textit{Trachurus trachurus}}},
+year = {2005}
+}
+@article{Rana1990,
+author = {Rana, Rajendra Singh},
+journal = {Journal of the Palaeontological Society of India},
+pages = {105--120},
+title = {{Palaeontology and palaeoecology of the intertrappean (Cretaceous-Tertiary transition) beds of the Peninsular India}},
+volume = {35},
+year = {1990}
+}
+@article{Leidy1854,
+author = {Leidy, Joseph},
+journal = {Proeceedings of the Academy of Natural Sciencies of Philadelphia},
+pages = {395--397},
+title = {{Indications of twelve species of fossil Fishes}},
+volume = {7},
+year = {1855}
+}
+@article{Grubich2008,
+author = {Grubich, Justin R and Rice, Aaron N and Westneat, Mark W},
+doi = {10.1016/j.zool.2007.05.003},
+issn = {0944-2006},
+journal = {Zoology},
+keywords = {Animals,Biomechanics,Bite Force,Computer Simulation,Jaw,Jaw: anatomy {\&} histology,Jaw: physiology,Perciformes,Perciformes: anatomy {\&} histology,Perciformes: physiology,Predatory Behavior,Predatory Behavior: physiology,Video Recording},
+month = {jan},
+number = {1},
+pages = {16--29},
+pmid = {18082386},
+title = {{Functional morphology of bite mechanics in the Great Barracuda (\textit{Sphyraena barracuda})}},
+url = {http://www.ncbi.nlm.nih.gov/pubmed/18082386},
+volume = {111},
+year = {2008}
+}
+@article{Bardack1969,
+author = {Bardack, David},
+journal = {University of Kansas Paleontological Contributions},
+pages = {1--86},
+title = {{Anatomy and evolution of Chirocentrid fishes}},
+volume = {10},
+year = {1969}
+}
+@article{Casier1946,
+author = {Casier, Edgard},
+journal = {M{\'{e}}moires du Mus{\'{e}}e Royal d'Histoire Naturelle de Belgique},
+pages = {1--267},
+title = {{La faune ichthyologique de l'Ypr{\'{e}}sien de la Belgique}},
+volume = {104},
+year = {1946}
+}
+@article{Mateus2019,
+author = {Mateus, Oct{\'{a}}vio and Callapez, Pedro M. and Polcyn, Michael J. and Schulp, Anne S. and Gon{\c{c}}alves, Ant{\'{o}}nio Ol{\'{i}}mpio and Jacobs, Louis L.},
+doi = {10.1007/978-3-030-03083-4_4},
+isbn = {9783030030834},
+journal = {Biodiversity of Angola},
+pages = {53--76},
+title = {{The Fossil Record of Biodiversity in Angola Through Time: A Paleontological Perspective}},
+url = {http://link.springer.com/10.1007/978-3-030-03083-4{\_}4},
+year = {2019}
+}
+@article{Friedman2018a,
+author = {Friedman, Matt and Carnevale, Giorgio},
+doi = {10.1144/jgs2017-164},
+issn = {0016-7649},
+journal = {Journal of the Geological Society},
+number = {4},
+pages = {569--579},
+title = {{The Bolca Lagerst{\"{a}}tten: shallow marine life in the Eocene}},
+volume = {175},
+year = {2018}
+}
+@phdthesis{Anthony,
+author = {Monsch, Kenneth Anthony},
+title = {{The Phylogeny of the Scombroid Fishes}},
+year = {2000}
+}
+@article{Bannikov2008,
+author = {Bannikov, Alexandre F},
+journal = {Studie Ricerche sui Giacimenti Terziari di Bolca},
+pages = {65--76},
+title = {{Revision of the Atheriniform fish genera \textit{Rhamphognathus} Agassiz and \textit{Mesogaster} Agassiz (Teleostei) From the Eocene of Bolca, northern Italy}},
+volume = {9},
+year = {2008}
+}
+@book{Nelson2016,
+address = {New Jersey},
+author = {Nelson, J S and Grande, Terry and Wilson, Mark V H},
+edition = {5},
+isbn = {9781118342336},
+pages = {1--707},
+publisher = {John Wiley {\&} Sons},
+title = {{Fishes of the World}},
+year = {2016}
+}
+@article{Pastore2009,
+author = {Pastore, Michele A.},
+doi = {10.1017/S0025315409000575},
+issn = {00253154},
+journal = {Journal of the Marine Biological Association of the United Kingdom},
+keywords = {Gulf of Taranto,Mediterranean Sea,New species,Sphyraena intermedia,Sphyraenidae},
+number = {6},
+pages = {1299--1303},
+title = {{\textit{Sphyraena intermedia} sp. nov. (Pisces: Sphyraenidae): a potential new species of barracuda identified from the central Mediterranean Sea}},
+volume = {89},
+year = {2009}
+}
+@article{Forey1977,
+author = {Forey, Peter L},
+journal = {Bulletin of the British Museum (Natural History)},
+number = {2},
+pages = {123--204},
+title = {{The osteology of \textit{Notelops} Woodward, \textit{Rhacolepis} Agassiz and \textit{Pachyrhizodus} Dixon (Pisces: Teleostei)}},
+volume = {28},
+year = {1977}
+}
+@article{Mas2000a,
+author = {Mas, Guillem},
+issn = {0212260X},
+journal = {Bolleti de la Societat d'Historia Natural de les Balears},
+keywords = {Mallorca,Middle-upper pliocene,Palaeoecology,Pisces,Western Mediterranean},
+pages = {39--61},
+title = {{Ictiofauna del Plioc{\`{e}} mitj{\`{a}}-superior de la conca sediment{\`{a}}ria de Palma (Illes Balears, Mediterr{\`{a}}nia Occidental). Implicacions paleoambientals}},
+volume = {43},
+year = {2000}
+}
+@book{Nolf1985,
+author = {Nolf, Dirk},
+editor = {Schultze, Hans-Peter},
+isbn = {3437303996},
+pages = {1--145},
+publisher = {Gustav Fischer Verlag},
+title = {{Handbook of Paleoichthyology. Otolithi Piscium}},
+year = {1985}
+}
+@article{Hays1830,
+author = {Hays, Isaac},
+journal = {Transactions of the American Philosophical Society},
+pages = {471--477},
+title = {{Description of a fragment of the head of a new fossil animal, discovered in a Marl Pit, near Moorestown, New Jersey}},
+volume = {3},
+year = {1830}
+}
+@article{Carrillo-Briceno2018a,
+author = {Carrillo-Brice{\~{n}}o, Jorge D and Reyes-Cespedes, Andr{\'{e}}s E and Salas-Gismondi, Rodolfo and S{\'{a}}nchez, Rodolfo},
+doi = {10.1007/s13358-018-0180-y},
+isbn = {0123456789},
+issn = {16642384},
+journal = {Swiss Journal of Palaeontology},
+keywords = {Biogeography,Caujarao Formation,Miocene,Neogene,Orinoco River},
+title = {{A new vertebrate continental assemblage from the Tortonian of Venezuela}},
+volume = {0123456789},
+year = {2018}
+}
+@article{Fricke2011a,
+author = {Fricke, Ronald and Kulbick, Michel and Wantiez, Laurent},
+journal = {Stuttgarter Beitr{\"{a}}ge zur Naturkunde A, New Series},
+pages = {341--463},
+title = {{Checklist of the fishes of New Caledonia, and their distribution in the Southwest Pacific Ocean (Pisces)}},
+volume = {4},
+year = {2011}
+}
+@book{Woodward1895,
+address = {London},
+author = {Woodward, Arthur Smith},
+pages = {1--544},
+publisher = {Taylor {\&} Francis},
+title = {{Catalogue of the Fossil Fishes in the British Museum (Natural History). Part III}},
+year = {1895}
+}
+@book{Artedi1793,
+author = {Artedi, P},
+editor = {R{\"{o}}se, A F},
+pages = {1--140},
+title = {{Petri Artedi Angermannia--Sueci synonymia nominum piscium fere omnium;... Ichthyologiae pars IV. Editio II. Grypeswaldiae}},
+year = {1793}
+}
+@misc{EschmeyerWeb,
+author = {Fricke, R and Eschmeyer, W N and van der Laan, R},
+title = {{Eschmeyer's catalog of Fishes: Genera, species, references}},
+url = {http://researcharchive.calacademy.org/research/ichthyology/catalog/fishcatmain.asp},
+urldate = {2019-02-19},
+year = {2019}
+}
+@article{Fanti2016,
+author = {Fanti, Federico and Minelli, Daniela and Conte, Gabriele Larocca and Miyashita, Tetsuto},
+doi = {10.1186/s40851-016-0045-4},
+isbn = {4085101600454},
+issn = {2056-306X},
+journal = {Zoological Letters},
+keywords = {Bolca,Carcharhinuformes,Early eocene climatic optimum,Galeorhinus,Nursery habitat,Soft tissue,Sphyraena,Stomach content,Triakidae,von Bertalanffy},
+pages = {2--18},
+publisher = {Zoological Letters},
+title = {{An exceptionally preserved Eocene Shark and the rise of modern predator–prey interactions in the coral reef food web}},
+url = {http://dx.doi.org/10.1186/s40851-016-0045-4},
+volume = {2},
+year = {2016}
+}
+@article{DeSylva1963,
+author = {de Sylva, Donald P},
+journal = {Studies in Tropical Oceanography},
+pages = {1--179},
+title = {{Systematics and life history of the great barracuda \textit{Sphyraena barracuda} (Walbaum)}},
+volume = {1},
+year = {1963}
+}
+@article{Dames1883,
+author = {Dames, F T W},
+journal = {Sitzungsber . d . kgl . pr . Akad . d . Wiss. zu Berlin},
+pages = {129--135},
+title = {{{\"{U}}ber eine terti{\"{a}}re Wirbelthier-fauna von der westlichen Insel Birket-el-Qurun im Fajum (Aegypten).}},
+volume = {6},
+year = {1883}
+}
+@article{Paramo2001,
+author = {P{\'{a}}ramo-Fonseca, Mar{\'{i}}a Eur{\'{i}}dice},
+journal = {Bolte{\'{i}}n Geol{\'{o}}gico Ingeominas},
+pages = {47--83},
+title = {{Los peces de la familia Pachyrhizodontidae (Teleostei) del Turoniano del Valle Superior del Magdalena}},
+volume = {39},
+year = {2001}
+}
+@article{Whitley1947,
+author = {Whitley, G P},
+journal = {Australian Zoologist},
+number = {2},
+pages = {129--150},
+title = {{New sharks and fishes from Western Australia. Part 3}},
+volume = {11},
+year = {1947}
+}
+@incollection{Demere1984,
+address = {Baja California},
+author = {Dem{\'{e}}r{\'{e}}, Thomas A and Roeder, Mark A and Chandler, Robert M and Minch, John A},
+booktitle = {Miocene and Cretaceous Depositional Environments, Northwestern Baja California, Mexico},
+editor = {Minch, John A and Ashby, James R},
+pages = {47--56},
+publisher = {Pacific Section AAPG},
+title = {{Paleontology of the middle Miocene Los Indios Member of the Rosarito Formation, northwestern Baja California, Mexico}},
+year = {1984}
+}
+@incollection{Bourque2013,
+address = {Dodrecht},
+archivePrefix = {arXiv},
+arxivId = {arXiv:1011.1669v3},
+author = {Bourque, Jason R},
+booktitle = {Morphology and Evolution of Turtles},
+doi = {10.5860/choice.50-3263},
+eprint = {arXiv:1011.1669v3},
+isbn = {978-94-007-4308-3},
+issn = {0009-4978},
+pages = {459--475},
+pmid = {25246403},
+publisher = {Springer Sciences+Business Media},
+title = {{Fossil Kinosternidae from the Oligocene and Miocene of Florida, USA}},
+year = {2013}
+}
+@article{Santini2015,
+author = {Santini, F and Carnevale, G and Sorenson, L},
+doi = {10.1080/11250003.2014.962630},
+issn = {17485851},
+journal = {Italian Journal of Zoology},
+keywords = {Phylogeny,Sphyraenidae,coral reefs,fossils,molecular clock},
+number = {1},
+pages = {133--142},
+publisher = {Taylor {\&} Francis},
+title = {{First timetree of Sphyraenidae (Percomorpha) reveals a Middle Eocene crown age and an Oligo–Miocene radiation of Barracudas}},
+url = {http://dx.doi.org/10.1080/11250003.2014.962630},
+volume = {82},
+year = {2015}
+}
+@article{Darriba2012,
+archivePrefix = {arXiv},
+arxivId = {arXiv:1011.1669v3},
+author = {Darriba, Diego and Taboada, Guillermo L and Doallo, Ram{\'{o}}n and Posada, David},
+doi = {10.1038/nmeth.2109},
+eprint = {arXiv:1011.1669v3},
+isbn = {1548-7091},
+issn = {1548-7091},
+journal = {Nature Methods},
+language = {en},
+month = {aug},
+number = {8},
+pages = {772--772},
+pmid = {22847109},
+shorttitle = {jModelTest 2},
+title = {{jModelTest 2: more models, new heuristics and parallel computing}},
+url = {http://www.nature.com/nmeth/journal/v9/n8/full/nmeth.2109.html http://www.nature.com/doifinder/10.1038/nmeth.2109},
+volume = {9},
+year = {2012}
+}
+@article{Rapp1946,
+author = {Rapp, William F},
+journal = {Journal of Paleontology},
+number = {5},
+pages = {510--513},
+title = {{Check list of the fossil fishes of New Jersey}},
+volume = {20},
+year = {1946}
+}
+@article{Marsili2007,
+author = {Marsili, Stefano and Carnevale, Giorgio and Danese, Ermanno and Bianucci, Giovanni and Landini, Walter},
+doi = {10.1016/j.annpal.2007.01.001},
+issn = {07533969},
+journal = {Annales de Pal{\'{e}}ontologie},
+month = {jan},
+number = {1},
+pages = {27--66},
+title = {{Early Miocene vertebrates from Montagna della Maiella, Italy}},
+url = {http://linkinghub.elsevier.com/retrieve/pii/S075339690700002X},
+volume = {93},
+year = {2007}
+}
+@article{Casier1944b,
+author = {Casier, Edgard},
+journal = {Bulletin du Muse{\'{e}} Royal d'Histoire Naturelle de Belgique},
+number = {23},
+pages = {1--8},
+title = {{Contributions a l'etude des poissons fossiles de la Belgique. VII. Morphologie du dentaire de Sphyraenodus lerichei Casier}},
+volume = {20},
+year = {1944}
+}
+@article{Huyghebaert1979,
+author = {Huyghebaert, Beatrijs and Nolf, Dirk},
+journal = {Mededelingen van de Werkgroep voor Tertiaire en Kwartaire Geologie},
+number = {4},
+pages = {139--170},
+title = {on fish-otoliths, published since 1968},
+volume = {16},
+year = {1979}
+}
+@article{Bemis2005,
+author = {Bemis, William E. and Giuliano, Anne and McGuire, Betty},
+doi = {10.1016/j.zool.2005.09.004},
+issn = {09442006},
+journal = {Zoology},
+keywords = {Actinopterygians,Pomatomidae,Tooth replacement,Vertebrate dentition},
+number = {4},
+pages = {317--327},
+title = {{Structure, attachment, replacement and growth of teeth in bluefish, \textit{Pomatomus saltatrix} (Linnaeus, 1766), a teleost with deeply socketed teeth}},
+volume = {108},
+year = {2005}
+}
+@book{Nakamura1985,
+address = {Rome},
+author = {Nakamura, Izumi},
+isbn = {9251022321},
+number = {125},
+pages = {1--65},
+publisher = {FAO},
+title = {{FAO Species Catalogue. Volume 5. Billifishes of the World}},
+volume = {5},
+year = {1985}
+}
+@article{Newton1877,
+author = {Newton, E Tulley},
+journal = {Quarterly Journal of the Geological Society},
+number = {1-4},
+pages = {505--523},
+title = {{On the remains of \textit{Hypsodon}, \textit{Portheus}, and \textit{Ichthyodectes} from British Cretaceous strata, with descriptions of new species}},
+volume = {33},
+year = {1877}
+}
+@article{Bassani1889,
+author = {Bassani, Francesco},
+journal = {Atti della Reale Accademia delle Scienze Fisiche e Matematiche},
+number = {2},
+pages = {1--100},
+title = {{Ricerche sui pesci fossili di Chiavon (Strati di Sotzka - Miocene Inferiore)}},
+volume = {3},
+year = {1889}
+}
+@book{Woodward1901,
+address = {London},
+author = {Woodward, Arthur Smith},
+pages = {1--636},
+publisher = {Taylor {\&} Francis},
+title = {{Catalogue of the Fossil Fishes in the British Museum (Natural History). Part IV}},
+year = {1901}
+}
+@article{Leidy1877,
+author = {Leidy, Joseph},
+journal = {Journal of the Academy of Natural Sciences},
+number = {3},
+pages = {209--261},
+title = {{Description of vertebrate remains chiefly from the phosphate beds of South Carolina}},
+volume = {8},
+year = {1877}
+}
+@article{White1926,
+author = {White, Errol Ivor},
+journal = {Bulletin of the Geological Survey of Nigeria},
+pages = {1--82},
+title = {{Eocene Fishes from Nigeria}},
+volume = {10},
+year = {1926}
+}
+@article{Hendy2015,
+author = {Hendy, Austin J. W. and Jones, Douglas S. and Moreno, Federico and Zapata, Vladimir and Jaramillo, Carlos A},
+doi = {10.1007/s13358-015-0074-1},
+issn = {1664-2376},
+journal = {Swiss Journal of Palaeontology},
+keywords = {Castilletes Formation,Colombia,Guajira Peninsula,Jimol Formation,Mollusca,Ware Formation,a,colombia,formation {\'{a}},hendy et al,j,jimol formation {\'{a}} castilletes,w,ware formation {\'{a}} mollusca,{\'{a}} guajira peninsula {\'{a}}},
+pages = {1--31},
+publisher = {Springer Basel},
+title = {{Neogene molluscs, shallow marine paleoenvironments, and chronostratigraphy of the Guajira Peninsula, Colombia}},
+url = {http://link.springer.com/10.1007/s13358-015-0074-1},
+year = {2015}
+}
+@article{Katoh2013,
+author = {Katoh, Kazutaka and Standley, Daron M.},
+doi = {10.1093/molbev/mst010},
+isbn = {1537-1719 (Electronic)$\backslash$r0737-4038 (Linking)},
+issn = {07374038},
+journal = {Molecular Biology and Evolution},
+keywords = {metagemone,multiple sequence alignment,parallel processing,progressive alignment,protein structure},
+number = {4},
+pages = {772--780},
+pmid = {23329690},
+title = {{MAFFT multiple sequence alignment software version 7: Improvements in performance and usability}},
+volume = {30},
+year = {2013}
+}
+@article{Nolf1972,
+author = {Nolf, Dirk},
+journal = {Bulletin de la Societe Belge de Geologie, Paleontologie et Hydrologie},
+number = {1-2},
+pages = {95--109},
+title = {{Deuxi{\`{e}}me note sur les T{\'{e}}l{\'{e}}ost{\'{e}}ens des sabens de Lede ({\'{E}}oc{\`{e}}ne Belge)}},
+volume = {81},
+year = {1972}
+}
+@incollection{Senou2001,
+address = {Rome},
+author = {Senou, H},
+booktitle = {The Living Marine Resources of the Western Central Pacific. Volume 6},
+editor = {Carpenter, K E and Niem, V H},
+pages = {3685--3697},
+publisher = {FAO},
+title = {{Sphyraenidae}},
+year = {2001}
+}
+@article{Gillette1984,
+author = {Gillette, David D},
+journal = {Journal of Vertebrate Paleontology},
+number = {2},
+pages = {172--186},
+title = {{A marine ichthyofauna from the Miocene of Panama, and the Tertiary Caribbean Faunal Province}},
+volume = {4},
+year = {1984}
+}
+@book{Woodward1889,
+address = {London},
+author = {Woodward, Arthur Smith},
+pages = {1--474},
+publisher = {Taylor {\&} Francis},
+title = {{Catalogue of the Fossil Fishes in the British Museum (Natural History). Part I}},
+year = {1889}
+}
+@book{Agassiz,
+author = {Agassiz, Louis},
+pages = {1--69},
+title = {{Nomina Systematica Generum Piscium, tam Viventum Quam Fossilum}},
+year = {1846}
+}
+@book{Agassiz1833III,
+author = {Agassiz, Louis},
+pages = {1--390},
+title = {{Recherches sur les Poisson Fossiles. Tome III}},
+year = {1833}
+}
+@article{Ray1968,
+author = {Ray, Clayton E and Wetmore, Alexander and Dunkle, David H and Drez, Paul},
+journal = {Smithsonian Miscellaneous Collections},
+number = {3},
+pages = {1--25},
+title = {{Fossil vertebrates from the marine Pleistocene of southeastern Virginia}},
+volume = {153},
+year = {1968}
+}
+@article{Quillevere2018,
+author = {Quill{\'{e}}v{\'{e}}r{\'{e}}, Fr{\'{e}}d{\'{e}}ric and Koskeridou, Efterpi and Corn{\'{e}}e, Jean-Jacques and Moissette, Pierre and Girone, Angela and Agiadi, Konstantina},
+doi = {10.1016/j.quascirev.2018.07.037},
+issn = {02773791},
+journal = {Quaternary Science Reviews},
+pages = {80--99},
+title = {{Pleistocene marine fish invasions and paleoenvironmental reconstructions in the eastern Mediterranean}},
+volume = {196},
+year = {2018}
+}
+@article{Schultz2010,
+author = {Schultz, Ortwin and Brzobohat{\'{y}}, Rostislav and Kroupa, Oldrich},
+journal = {Annalen des Naturhistorischen Museums in Wien, Serie A},
+keywords = {badenian,central paratethys,chondrichthyes,osteichthyes,pisces},
+pages = {489--506},
+title = {{Fish teeth from the Middle Miocene of Kienberg at Mikulov, Czech Republic, Vienna Basin}},
+volume = {112},
+year = {2010}
+}
+@article{Diaz-Franco2009,
+author = {D{\'{i}}az-Franco, Stephen and Rojas-Consuegra, Reinaldo},
+journal = {Solenodon},
+keywords = {fossil,new record,perciformes,sphyraena,sphyraenidae,tertiary},
+pages = {124--129},
+title = {{Dientes f{\'{o}}siles de \textit{Sphyraena} (Perciformes: Sphyraenidae) en el Terciario de Cuba Occidental}},
+volume = {8},
+year = {2009}
+}
+@incollection{Bohm1924,
+address = {Berlin},
+author = {B{\"{o}}hm, J},
+booktitle = {Die Diamantenw{\"{u}}ste Sudwestafrikasfrikas. Vol II},
+editor = {Kaiser, E},
+pages = {55--87},
+title = {{Ueher terti{\^{a}}re Versteinerungen von den hogenfelser Diamantfeldern}},
+year = {1926}
+}
+@article{Westgate1984,
+author = {Westgate, James W},
+journal = {Journal of Vertebrate Paleontology},
+number = {4},
+pages = {536--546},
+title = {{Lower vertebrates from the late Eocene Crow Creek local fauna, St. Francis County, Arkansas}},
+volume = {4},
+year = {1984}
+}
+@article{Gottfried2017,
+author = {Gottfried, Michael D and Samonds, Karen E and Ostrowski, Summer A and Andrianavalona, Tsiory Harimalala and Ramihangihajason, Tolotra Niaina},
+doi = {10.1371/journal.pone.0176553},
+isbn = {1111111111},
+issn = {19326203},
+journal = {PLoS ONE},
+number = {5},
+pages = {1--9},
+pmid = {28542538},
+title = {{New evidence indicates the presence of Barracuda (Sphyraenidae) and supports a tropical marine environment in the Miocene of Madagascar}},
+volume = {12},
+year = {2017}
+}
+@book{ICZN1999,
+address = {London},
+author = {ICZN},
+edition = {4th},
+pages = {1--306},
+publisher = {The International Trust for Zoological Nomenclature},
+title = {{International Code of Zoological Nomenclature}},
+year = {1999}
+}
+@article{Harlan1824,
+author = {Harlan, R},
+doi = {10.1080/14786442408644630},
+issn = {1941-5796},
+journal = {Journal fo the Academy of Natural Sciences of Philadelphia},
+pages = {331--338},
+title = {{On a new fossil genus, of the order Enalio Sauri ( of Conybeare): and on a new species of Ichthyosaurus}},
+volume = {3},
+year = {1824}
+}
+@article{Casier1944a,
+author = {Casier, Edgard},
+journal = {Bulletin de l'Institut Royal des Sciences Naturelles de Belgique},
+number = {11},
+pages = {11--15},
+title = {{Contributions {\`{a}} l'{\'{e}}tude des Poissons fossiles de la Belgique. VI. Sur le Sphyraenodus de l'Eocene e sur la pr{\'{e}}sence d'un Sphyraenid{\'{e}} dans le Bruxellien (Lut{\'{e}}tien inf{\'{e}}rieur)}},
+volume = {20},
+year = {1944}
+}
+@book{Woodward1891,
+address = {London},
+author = {Woodward, Arthur Smith},
+pages = {1--567},
+publisher = {Taylor {\&} Francis},
+title = {{Catalogue of the Fossil Fishes in the British Museum (Natural History). Part II}},
+year = {1891}
+}
+@article{STRINGERGARYL.DepartmentofGe2003,
+author = {{STRINGER, GARY L., Department of Ge}},
+doi = {10.1306/8626cfaf-173b-11d7-8645000102c1865d},
+issn = {0149-1423},
+journal = {AAPG Bulletin},
+title = {{Paleoenvironmental Interpretations Based on Vertebrate Fossil Assemblages: An Example of their Utilization in the Gulf Coast}},
+volume = {85},
+year = {2003}
+}
+@article{Paramo1997,
+author = {P{\'{a}}ramo-Fonseca, Mar{\'{i}}a Eur{\'{i}}dice},
+doi = {10.1016/S1251-8050(97)83976-6},
+issn = {12518050},
+journal = {Comptes Rendus de l'Academie de Sciences - Serie IIa: Sciences de la Terre et des Planetes},
+keywords = {Colombia,New taxon,Tselfatioidei,Turonian},
+number = {2},
+pages = {147--150},
+title = {{\textit{Bachea huilensis} nov. gen., nov. sp., premier Tselfatioidei (Teleostei) de Colombie}},
+volume = {325},
+year = {1997}
+}
+@article{Chapman1935,
+author = {Chapman, Frederick},
+journal = {Transactions and Proceedings of the Royal Society of New Zealand},
+pages = {117--121},
+title = {{Descriptions of fossil fish from New Zealand}},
+volume = {64},
+year = {1935}
+}
+@incollection{DeSylva1986,
+address = {Johannesburg},
+author = {de Sylva, Donald P and Williams, F},
+booktitle = {Smiths' Sea Fishes},
+editor = {Smith, M M and Heemstra, P C},
+pages = {721--726},
+publisher = {Macmillan South Africa},
+title = {{Sphyraenidae}},
+year = {1986}
+}
+@book{Ray2001,
+address = {Washington DC},
+author = {Ray, Clayton E and Bohaska, David J},
+booktitle = {Smithsonian Contributions to Paleobiology},
+doi = {10.5479/si.00810266.90.1},
+edition = {Smithsonia},
+editor = {Ray, Clayton E. and Bohaska, David J.},
+issn = {00810266},
+number = {90},
+pages = {1--365},
+title = {{Geology and Paleontology of the Lee Creek Mine, North Carolina, III}},
+url = {http://si-pddr.si.edu/dspace/handle/10088/2006},
+year = {2001}
+}
+@article{Patterson1993,
+author = {Patterson, C.},
+issn = {00074977},
+journal = {Bulletin of Marine Science},
+number = {1},
+pages = {29--59},
+title = {{An overview of the early fossil record of Acanthomorphs}},
+volume = {52},
+year = {1993}
+}
+@article{BardackSprinkle1969,
+author = {Bardack, David and Sprinkle, G},
+journal = {Fieldiana Geology},
+pages = {297--340},
+title = {{Morphology and relationships of saurocephalid fishes}},
+volume = {16},
+year = {1969}
+}
+@article{Monsch2005,
+author = {Monsch, Kenneth A.},
+doi = {10.1017/S0263593300001164},
+isbn = {1755-6929},
+issn = {0263-5933},
+journal = {Transactions of the Royal Society of Edinburgh: Earth Sciences},
+keywords = {1990,and the,co-authors is outdated,fossils,g,has not seen,kemp et al,london clay formation,scombroidei,see e,sometimes,specimens,taxonomic revisions,which the present author},
+number = {November 2016},
+pages = {445--489},
+title = {{Revision of the scombroid fishes from the Cenozoic of England}},
+url = {http://www.journals.cambridge.org/abstract{\_}S0263593300001164},
+volume = {95},
+year = {2005}
+}
+@book{Agassiz1833IV,
+author = {Agassiz, Louis},
+pages = {1--296},
+title = {{Recherches sur les Poissons Fossiles. Tome IV}},
+year = {1833}
+}
+@article{Moreno2015,
+author = {Moreno, Federico and Hendy, A J W and Quiroz, Luis and Hoyos, Natalia and Jones, D S and Zapata, Vladimir and Zapata, S and Ballen, Gustavo A and Cadena, E and C{\'{a}}rdenas, A L and Carrillo-Brice{\~{n}}o, Jorge D and Carrillo, J D and Delgado-Sierra, D and Escobar, J and Mart{\'{i}}nez, J I and Mart{\'{i}}nez, C and Montes, Camilo and Moreno, J and P{\'{e}}rez, N and S{\'{a}}nchez, R. and Su{\'{a}}rez, C and Vallejo-Pareja, M C and Jaramillo, Carlos A},
+doi = {10.1007/s13358-015-0071-4},
+issn = {1664-2376},
+journal = {Swiss Journal of Palaeontology},
+pages = {5--43},
+title = {{Revised stratigraphy of Neogene strata in the Cocinetas Basin, La Guajira, Colombia}},
+volume = {134},
+year = {2015}
+}
+@misc{Agassiz1833I,
+author = {Agassiz, Louis},
+pages = {1--188},
+title = {{Recherches sur les Poissons Fossiles. Tome I}},
+year = {1833}
+}
+@article{VanderLaan2018,
+author = {{Van der Laan}, Richard},
+doi = {10.5852/ejt.2018.466},
+journal = {European Journal of Taxonomy},
+keywords = {1,10,167,2018,466,5852,agnatha,doi,ejt,european journal of taxonomy,family-group names of fossil,fi shes,gnathostomata,https,iczn,nomenclature,org,van der laan r,vertebrata},
+number = {466},
+pages = {1--167},
+title = {{Family-group names of fossil fishes}},
+year = {2018}
+}
+@article{Meek1884,
+author = {Meek, Seth E and Newland, Robert G},
+journal = {Proceedings of the Academy of Natural Sciences of Philadelphia},
+pages = {67--75},
+title = {{A review of the American species of the genus \textit{Sphyraena}}},
+volume = {36},
+year = {1884}
+}
+@article{Stringer2001,
+author = {Stringer, G L and Breard, S Q and Kontrovitz, M},
+journal = {Gulf Coast Association of Geological Societies Transactions},
+pages = {321--328},
+title = {{Biostratigraphy and Paleoecology of Diagnostic Invertebrates and Vertebrates from the Type Locality of the Oligocene Rosefiled Marl Beds, Louisiana}},
+volume = {LI},
+year = {2001}
+}
+@article{Cope1869,
+author = {Cope, E. D.},
+journal = {Transactions of the American Philosophical Society},
+pages = {1--252},
+title = {{Synopsis of the Batrachia and Reptilia of North America. Part I}},
+volume = {14},
+year = {1869}
+}
+@incollection{Switchenska1968,
+author = {Switchenska, Alexandra A},
+booktitle = {Ocherki po Filogenii i Sistematike Iskopaemykh Ryb I Beschelyustnykh},
+pages = {157--161},
+title = {{A new genus from the family Sphyraeniadae from the middle Miocene of Transcaucasia}},
+year = {1968}
+}
+@book{Agassiz1843,
+author = {Agassiz, Louis},
+pages = {1--160},
+title = {{Recherches sur les Poisson Fossiles. Tome V}},
+year = {1843}
+}
+@article{Vinola2017,
+author = {Vi{\~{n}}ola-L{\'{o}}pez, L{\'{a}}zaro William and Rojas-Consuegra, Reinaldo and Jim{\'{e}}nez-V{\'{a}}squez, Osvaldo},
+journal = {Novitates Caribaea},
+keywords = {cuba,dientes f{\'{o}}siles,for the,hispaniola,la espa{\~{n}}ola,mioceno,neogene of cuba and,new records of sphyraena,perciformes,sphyraena sp,sphyraenidae},
+pages = {89--94},
+title = {{Nuevos registros de \textit{Sphyraena} (Perciformes: Sphyraenidae) para el Ne{\'{o}}geno de Cuba y La Espa{\~{n}}ola}},
+volume = {11},
+year = {2017}
+}
+@book{NCBI2018,
+address = {Bethesta},
+author = {NCBI},
+number = {Md},
+publisher = {NCBI},
+title = {{Entrez Programming Utilities Help}},
+url = {http://www.ncbi.nlm.nih.gov/books/NBK25501/},
+year = {2018}
+}
+@article{Taverne2000,
+author = {Taverne, Louis and Chanet, Bruno},
+journal = {Geodiversitas},
+number = {1},
+pages = {23--34},
+title = {{\textit{Faugichthys loryi} n. gen., n. sp. (Teleostei, Ichthyodectiformes) de l'Albien terminal (Cr{\'{e}}tac{\'{e}} inf{\'{e}}rieur marin) du vallon de la Fauge (Is{\`{e}}re, France) et consid{\'{e}}rations sur la phylog{\'{e}}nie des Ichthyodectidae}},
+volume = {22},
+year = {2000}
+}
+@article{Smith1956,
+author = {Smith, J L B},
+journal = {Ichthyological Bulletin of the Department of Ichthyology of Rhodes University},
+pages = {37--46},
+title = {{The fishes of the family Sphyraenidae in the western Indian Ocean}},
+volume = {3},
+year = {1956}
+}
+@article{Tavora2010,
+author = {T{\'{a}}vora, Vladimir de Ara{\'{u}}jo and dos Santos, Andr{\'{e}} Augusto Rodrigues and Ara{\'{u}}jo, Raphael Neto},
+journal = {Boletim do Museu Paraense Emilio Goeldi Ciencias Naturais},
+keywords = {early miocene,fossiliferous localities,pirabas formation},
+number = {2},
+pages = {207--224},
+title = {{Localidades fossil{\'{i}}feras da Forma{\c{c}}{\~{a}}o Pirabas (Mioceno Inferior)}},
+volume = {5},
+year = {2010}
+}
diff --git a/biblio/bibtex/contrib/zootaxa-bst/example.pdf b/biblio/bibtex/contrib/zootaxa-bst/example.pdf
new file mode 100644
index 0000000000..464eea495a
--- /dev/null
+++ b/biblio/bibtex/contrib/zootaxa-bst/example.pdf
Binary files differ
diff --git a/biblio/bibtex/contrib/zootaxa-bst/example.tex b/biblio/bibtex/contrib/zootaxa-bst/example.tex
new file mode 100644
index 0000000000..52f2d0842c
--- /dev/null
+++ b/biblio/bibtex/contrib/zootaxa-bst/example.tex
@@ -0,0 +1,72 @@
+\documentclass{article}
+
+\usepackage{natbib}
+\usepackage{amsmath}
+\usepackage[USenglish]{babel}
+\usepackage[utf8]{inputenc}
+\usepackage[colorlinks=true,citecolor=blue]{hyperref}
+
+\author{Gustavo A. Ballen}
+\date{\today}
+\title{An example manuscript using the \texttt{zootaxa.bst} reference style for Bib\TeX}
+
+\begin{document}
+
+\maketitle
+
+This example uses \texttt{natbib} for handling taxonomic author citations, that behave a bit different from usual bibliographic citations. For details see this blog post: https://gaballench.wordpress.com/2019/03/22/referencing-zoological-name-authorships-in-latex/
+
+The usage is pretty simple: Just install \texttt{zootaxa.bst} in a place where \texttt{bibtex} can find it and the compile a couple times with bibtex before compiling with latex. Rinse and repeat if needed. Also, don't forget to create your \texttt{bibtex} \texttt{.bib} bibliography file. Please note that three lines are absolutely necessary for this:
+
+\begin{verbatim}
+\documentclass{article}
+
+\usepackage{natbib}
+...
+...
+...
+\bibliographystyle{zootaxa}
+\bibliography{example-refs}
+
+\end{document}
+\end{verbatim}
+
+The command \texttt{usepackage} activates the \texttt{natbib} package necessary for managing references. The command \texttt{bibliographystyle} will tell the system to use \texttt{zootaxa.bst}. The command \texttt{bibliography} points the \texttt{.bib} file. Please note that the fact that we are not indicating paths indicates that 1) the files are in the path (in the case of the package if it was installed where the system can find it), or the in working directory where the remaining files are found (e.g., the bibliography file).
+
+The Instructions for Authors on zootaxa's website indicate that:
+
+
+ A) Journal paper:
+ Smith, A. (1999) Title of the paper. Title of the journal in full, volume number, page range.
+
+ B) Book chapter:
+ Smith, A. \& Smith, B. (2000) Title of the Chapter. In: Smith, A, Smith, B. \& Smith, C. (Eds), Title of Book. Publisher name and location, pp. x–y.
+
+ C) Book:
+ Smith, A., Smith, B. \& Smith, C. (2001) Title of Book. Publisher name and location, xyz pp.
+
+ D) Internet resources
+ Author (2002) Title of website, database or other resources, Publisher name and location (if indicated), number of pages (if known). Available from: http://xxx.xxx.xxx/ (Date of access).
+
+Dissertations resulting from graduate studies and non-serial proceedings of conferences/symposia are to be treated as books and cited as such. Papers not cited must not be listed in the references.
+
+Also, the separator between authors should the the ampersand (\&), and the abbreviation \textit{et allii} should be italized (\textit{et al.})
+
+All of these aspects are handled automatically by \texttt{zootaxa.bst}. For instance, the following text will make use of several references that will be rendered into text according to rules of zootaxa, while generating the references also in the appropriate format.
+
+\section{Live example}
+
+Seven genus-group names based on extant taxa have been allocated to the Sphyraenidae: \textit{Agriosphyraena} \citealp{Fowler1903} (type \textit{Esox barracuda}), \textit{Australuzza} \citealp{Whitley1947} (type \textit{Sphyraena novaehollandiae}), \textit{Callosphyraena} \citealp{Smith1956} (type \textit{Sphyraema toxeuma}, junior synonym of \textit{Sphyraena forsteri}), \textit{Indosphyraena} \citealp{Smith1956} (type \textit{Sphyraena africana}), \textit{Sphyraenella} \citealp{Smith1956} (type \textit{Sphyraena flavicauda}), and \textit{Sphyraena} \citealp{Artedi1793} (type \textit{Esox sphyraena}). All of these genera are currently considered synonyms of \textit{Sphyraena}. \cite{Smith1956} elevated all the previous names to subgeneric rank, while \citet{DeSylva1963} deemed such actions unjustified, synonymizing all of these into \textit{Sphyraena} Röse (correct authorship is by Artedi instead).
+
+\citet{Santini2015} has presented an overview of six fossil species names associated with \textit{Sphyraena}; these authors mentioned \textit{Sphyraena fluctuosa} as a Sphyraenid species based on otolihts; however, such species was originally described by \citet{Nolf1972} in the genus \textit{Platycephalus} (Scorpaeniformes) and subsequently ratified in that genus \citep[e.g.,][]{Huyghebaert1979}. It is herein excluded from the Sphyraenid fossil species. \textit{Sphyraena intermedia} \citealp{Bassani1889} was mentioned also by Santini et al. without noting that another species of extant \textit{Sphyraena} was described with the same specific epithet \citep{Pastore2009}; therefore the latter species by Pastore is herein found to be primary homonym of \textit{Sphyraena intermedia} \citep{Bassani1889}, a fossil species known from the Oligocene of Italy and consequently the name by Pastore is deemed permanently invalid under Article 57.2 of the \citet{ICZN1999}.
+
+The style handles properly situations just like web pages through the \texttt{@misc} tag \citep[e.g., ][]{EschmeyerWeb} and book sections \citep{Switchenska1968,Bohm1924}.
+
+\section{Acknowledgements}
+
+First of all to the open source community for doing all this sharing and modification possible for newer and case-specific uses. I never thought there will be the day that one could prepare a manuscript for zootaxa entirely in \LaTeX and this is a step forward. This late-hours project was indirectly funded by FAPESP through a doctoral scholarship. Many thanks to the Stack Overflow community. This as much of the software projects are speeded up a lot by its existence.
+
+\bibliographystyle{zootaxa}
+\bibliography{example-refs}
+
+\end{document} \ No newline at end of file
diff --git a/biblio/bibtex/contrib/zootaxa-bst/zootaxa.bst b/biblio/bibtex/contrib/zootaxa-bst/zootaxa.bst
new file mode 100644
index 0000000000..4585c050e8
--- /dev/null
+++ b/biblio/bibtex/contrib/zootaxa-bst/zootaxa.bst
@@ -0,0 +1,1145 @@
+%% zootaxa.bst: BibTeX style file for the journal Zootaxa.
+%
+% Author: Gustavo A. Ballen
+% Maintainer: Gustavo A. Ballen
+% First-written: <2019-mar-25>
+% Version: 1.0
+% Keywords: TeX, BibTeX, bst, zootaxa
+% URL: https://github.com/gaballench/zootaxa-bst
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% The file zootaxa.bst file is a fork of apa.bst with further modification.
+% It is said to be further a modification of apalike.bst
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% BibTeX `apalike' bibliography style (24-Jan-88 version)
+% Adapted from the `alpha' style, version 0.99a; for BibTeX version 0.99a.
+% Copyright (C) 1988, all rights reserved.
+% Copying of this file is allowed, provided that if you make any changes at all
+% you name it something other than `apalike.bst'.
+% This restriction helps ensure that all copies are identical.
+% Differences between this style and `alpha' are generally heralded by a `%'.
+% The file btxbst.doc has the documentation for alpha.bst.
+%
+% This style should be used with the `apalike' LaTeX style (apalike.sty).
+% \cite's come out like "(Jones, 1986)" in the text but there are no labels
+% in the bibliography, and something like "(1986)" comes out immediately
+% after the author. Author (and editor) names appear as last name, comma,
+% initials. A `year' field is required for every entry, and so is either
+% an author (or in some cases, an editor) field or a key field.
+%
+% Editorial note:
+% Many journals require a style like `apalike', but I strongly, strongly,
+% strongly recommend that you not use it if you have a choice---use something
+% like `plain' instead. Mary-Claire van Leunen (A Handbook for Scholars,
+% Knopf, 1979) argues convincingly that a style like `plain' encourages better
+% writing than one like `apalike'. Furthermore the strongest arguments for
+% using an author-date style like `apalike'---that it's "the most practical"
+% (The Chicago Manual of Style, University of Chicago Press, thirteenth
+% edition, 1982, pages 400--401)---fall flat on their face with the new
+% computer-typesetting technology. For instance page 401 anachronistically
+% states "The chief disadvantage of [a style like `plain'] is that additions
+% or deletions cannot be made after the manuscript is typed without changing
+% numbers in both text references and list." LaTeX sidesteps the disadvantage.
+%
+% History:
+% 15-sep-86 (SK,OP) Original version, by Susan King and Oren Patashnik.
+% 10-nov-86 (OP) Truncated the sort.key$ string to the correct length
+% in bib.sort.order to eliminate error message.
+% 24-jan-88 (OP) Updated for BibTeX version 0.99a, from alpha.bst 0.99a;
+% apalike now sorts by author, then year, then title;
+% THIS `apalike' VERSION DOES NOT WORK WITH BIBTEX 0.98i.
+% 25-mar-19 (GAB) Forked from texlive's apa.bst for fitting to zootaxa
+% reference rules.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ url
+ urldate
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+% apalike needs this function because
+% the year has special punctuation;
+% apalike ignores the month
+FUNCTION {output.year.check}
+{ year empty$
+ { "empty year in " cite$ * warning$ }
+ { write$
+ " (" year * extra.label * ")" *
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+FUNCTION {output.url}
+{ year empty$
+ { "empty url in " cite$ * warning$ }
+ { write$
+ " \textit{Available from:} " url * extra.label *
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+FUNCTION {output.urldate}
+{ year empty$
+ { "empty urldate in " cite$ * warning$ }
+ { write$
+ " (" urldate * extra.label * ")" *
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {add.blank} % added this one from linquire2.bst
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{vv~}{ll}{, jj}{, f{.}.}" format.name$ 't := % {, f. separates lastname and initial}
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " \textit{et~al.}" * }
+ { " \& " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.key} % this function is just for apalike
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { " (Eds)" * }
+ { " (Ed)" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pp." pages n.dashify tie.or.space.connect }
+ { "p." pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ", " * pages n.dashify * } % change the comma to : back if needed
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "\textit{In:} " booktitle emphasize * }
+ { "\textit{In:} " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ "In" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "(\textit{In:}) "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "\cite{" * crossref * "}" * % this is for apalike
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ "\textit{In:}" % this is for apalike
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ add.blank % was new.block originally
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ add.blank % was new.block originally
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ add.blank % was new.block originally
+ format.title "title" output.check
+ new.block
+ howpublished output
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ output.year.check % special for apalike
+ add.blank % was new.block originally
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.chapter.pages "chapter and pages" output.check
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ format.chapter.pages "chapter and pages" output.check
+ }
+ if$
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ add.blank % was new.block originally
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.chapter.pages output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ add.blank % was new.block originally
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ address output % for apalike
+ new.sentence % there's no year
+ organization output % here so things
+ publisher output % are simpler
+ format.pages output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ add.blank % was new.block originally
+ format.btitle "title" output.check
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ add.blank % was new.block originally
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output % special for
+ output.year.check % apalike
+ add.blank % was new.block originally
+ format.title output
+ new.block
+ howpublished output
+ new.block
+ output.url % this defines the url from the field in reference type misc
+ new.block
+ output.urldate
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ add.blank % was new.block originally
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output % special for
+ output.year.check % apalike
+ add.blank % was new.block originally
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address output % for apalike
+ new.sentence % we always output
+ organization output % a nonempty organization
+ publisher output % here
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ add.blank % was new.block originally
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output % special for
+ output.year.check % apalike
+ add.blank % was new.block originally
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+% There are three apalike cases: one person (Jones),
+% two (Jones and de~Bruijn), and more (Jones et~al.).
+% This function is much like format.crossref.editors.
+%
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " \textit{et~al.}" * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " \textit{et~al.}" * }
+ { " \& " * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key % apalike uses the whole key, no organization
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label} % this function came from ASTRON.BST (ARR)
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label % apalike ignores organization
+ 'author.key.label % for labeling and sorting
+ if$
+ }
+ if$
+ "\protect\astroncite{" swap$ * "}{" % these three lines are
+ * % for apalike, which
+ year field.or.null purify$ #-1 #4 substring$ % uses all four digits
+ * % the mathing closing "}" comes in at the reverse.pass
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$ % apalike uses initials
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't := % <= here
+ nameptr numnames = t "others" = and
+ { "\textit{et al.}" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+% apalike uses two sorting passes; the first one sets the
+% labels so that the `a's, `b's, etc. can be computed;
+% the second pass puts the references in "correct" order.
+% The presort function is for the first pass. It computes
+% label, sort.label, and title, and then concatenates.
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$ % for
+ 'sort.label := % apalike
+ sort.label % style
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT % by label, sort.label, title---for final label calculation
+
+STRINGS { last.label next.extra } % apalike labels are only for the text;
+
+INTEGERS { last.extra.num } % there are none in the bibliography
+
+FUNCTION {initialize.extra.label.stuff} % and hence there is no `longest.label'
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass} % this function came from ASTRON.BST (ARR)
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * "}" * 'label :=
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+% Now that the label is right we sort for real,
+% on sort.label then year then title. This is
+% for the second sorting pass.
+FUNCTION {bib.sort.order}
+{ sort.label
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {bib.sort.order}
+
+SORT % by sort.label, year, title---giving final bibliography order
+
+FUNCTION {begin.bib}
+{ preamble$ empty$ % no \etalchar in apalike
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{}" write$ newline$ % no labels in apalike
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/databases/english.bib b/biblio/bibtex/databases/english.bib
new file mode 100644
index 0000000000..f0f097409f
--- /dev/null
+++ b/biblio/bibtex/databases/english.bib
@@ -0,0 +1,55 @@
+$Id: @(#) english.bib 1.0 23-OCT-1989 17:10:00 Aston archive$
+
+Please notify Adrian F Clark <alien@uk.ac.essex.ese> of any additions
+or corrections to this list.
+
+@BOOK{Carey,
+ AUTHOR="G. V. Carey",
+ TITLE="Mind the Stop: A Brief Guide to Punctuation",
+ PUBLISHER="Penguin", YEAR="1958"}
+
+@BOOK{Cooper,
+ AUTHOR="Bruce M. Cooper",
+ TITLE="Writing Technical Reports",
+ PUBLISHER="Penguin", YEAR="1964"}
+
+@BOOK{Fowler-ModernEnglish,
+ AUTHOR="H. W. Fowler",
+ TITLE="[A Dictionary of] Modern {E}nglish Usage",
+ PUBLISHER="Oxford University Press",
+ EDITION="2", YEAR="1965"}
+ (but first published in 1926)
+
+@BOOK{Fowler-KingsEnglish,
+ AUTHOR="H. W. Fowler and F. G. Fowler",
+ TITLE="The {K}ing's {E}nglish",
+ PUBLISHER="Oxford University Press",
+ EDITION="3", YEAR="1931"}
+ (but first published in 1906)
+
+@BOOK{Gowers,
+ AUTHOR="Sir Ernest Gowers",
+ TITLE="The Complete Plain Words",
+ PUBLISHER="Penguin", YEAR="1954"}
+ (but first published by HMSO)
+
+@BOOK{Hart,
+ AUTHOR="Horace Hart",
+ TITLE="[Hart's] Rules for Compositors and Readers
+ [at the Oxford University Press]",
+ PUBLISHER="Oxford University Press",
+ EDITION="39", YEAR="1983"}
+ (but first published in 1893)
+
+@BOOK{Partridge,
+ AUTHOR="Eric Partridge",
+ TITLE="Use and Abuse: a Guide to Good {E}nglish",
+ PUBLISHER="Hamish Hamilton",
+ EDITION="4", YEAR="1970"}
+ (but first published in 1947)
+
+@BOOK{Quirk-CompGram,
+ AUTHOR="Randolph Quirk and Sydney Greenbaum and Geoffrey Leach and
+ Jan Svartnik",
+ TITLE="A Comprehensive Grammar of the {E}nglish Language",
+ PUBLISHER="Longman", YEAR="1985"}
diff --git a/biblio/bibtex/mac/bib.hqx b/biblio/bibtex/mac/bib.hqx
new file mode 100644
index 0000000000..eab415d2c3
--- /dev/null
+++ b/biblio/bibtex/mac/bib.hqx
@@ -0,0 +1,2448 @@
+(This file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!(f!&f`"fJ"`3#TB!MB!JX!Sk!*L!+m!,$aMk!"0`$5B!rS!3`!%[
+!%X!%m(19J"G!"8J"9B!@`!PF!Il!&0!#K!&A`"A3"@`"@8!@F!9F!9K!&U!&F!&
+ZJ"pJ#3!$2GSBm0#h!CA!)'!)J!+1`"M`"A3"A-!@S!9N!9J!&R!&A!&@J"93"9!
+"9-!8-!Ai!e+!2a!&p!03J"Le$cJ"iN!6i!mi!3I!%`!&4!&C3"`3"6`"6`"eP!m
+m!I`!&1!24!(qJ"43!d`"8`!93!98!9B!&U!&@2U@[U9[k9[kPVkPEqPEqTDqT@r
+T@rU11Ve`k2H)QrkLhrPjqSqq[%E@TqTQrC,lj%9[M`PEc`Dip660%4$Acr9er9f
+2++,iMheIVhqN(QP!q%B&"!&*!"0`C%`!M"NV!T%`eSND'p#QYAIL1!!!!:
diff --git a/biblio/bibtex/mac/bibtex.hqx b/biblio/bibtex/mac/bibtex.hqx
new file mode 100644
index 0000000000..2f7e71548c
--- /dev/null
+++ b/biblio/bibtex/mac/bibtex.hqx
@@ -0,0 +1,9478 @@
+(This file must be converted with BinHex 4.0)
+:"d*TBLjcDA3!8dP8)90*9#%"!!!'jbd!!!!!TdP6593K!!%!"ZFYFNaKG3%!!!!
+!!!!!)#!*6@&M3QPL9'9BBh-JCR*[E5"63dp545j69%&14Np54!!!!!!!!!!!!!!
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!+%J-BDK)%pB!!!!!!!1fLJ
+!!!!!!!EQT`!!!!!!!!!!!!"'L5!J&6!Z16PM)'*cG#"cG(PXC5"QD@aPF`!!!!!
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!#
+IFT!!Lk%J6i!!!!!!!!&VD`!!!!!!!2GL!!!!!!!!!!!!!0AQ!J)*B@*LFRBZBR0
+d)(0dH@aP)'CTE'9c!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!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Ed85%C9%ai$993d@BT4J4'#JGVQEd$9!!&AFqV
+69ASK58Ae'e6c9!)$J`XKJk(@FVD('A+46Xh5+H6')LVi'c,3JN-)8E"A'S(AGPM
+6J'984DK&J0hb*NV`"VPc9NRA-6ZM2-E42)MaBi5b)SFhIG!@9#%K(d*TBP4PH#"
+%Ef0c)'CbEfdJ8d028N8Z8e4"6NC28N3!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+!!!!!!!!!!!!!!!!!!!!!!!#INHDNRj(SiJ!!!!!!!@YV!!!!!!!!pf)!!!!!!!!
+!!!!!Z&Y*kJ!!:
diff --git a/biblio/bibtex/mac/info.mac b/biblio/bibtex/mac/info.mac
new file mode 100644
index 0000000000..87558df258
--- /dev/null
+++ b/biblio/bibtex/mac/info.mac
@@ -0,0 +1,39 @@
+Macintosh software in the Archive at 17th October, 1990
+
+TeX: OzTeX version 1.3 (i.e. version 3 of TeX) Andy Trevarrow's
+[tex-archive.tex.mac.oztex] too many files to name individually
+ but includes unstuffit.hqx
+makeindex:
+[tex-archive.indexing.makeindex.mac]makeindex.hqx
+
+bibtex: version 0.99c
+[tex-archive.bibtex.mac]bibtex.hqx
+[tex-archive.bibtex.mac]bib.hqx
+
+metafont: Victor Ostromoukhov's
+[tex-archive.metafont.mac]metafont.hqx
+
+dvidvi: Tom Rokicki's
+[tex-archive.drivers.dvidvi.mac]dvidvi.hqx
+
+text1: Univ Washington
+[tex-archive.text1]text1.hqx
+
+in order to process an .hqx file, use unstuffit.
+there is a copy of unstuffit in the archive.
+although this itself is in .hqx format, all
+is not lost. if you have binhex4 it will turn
+unstuffit.hqx into an application which can then be
+used on any other .hqx file. These other .hqx files
+will turn into .sit files, which then unstuff into
+several apploications, folders and other bits and
+pieces. ok? if you have no binhex4, tough.
+unstuffit is freely available and may be distributed
+at will (but not with commercial or proprietary
+offerings). its big brother stuffit, is shareware
+at a mere $20. the new commercial stuffit classic
+is even better, but is about \quid65.
+
+of course, lots of other stuff in the archive is applicable.
+
+good luck
diff --git a/biblio/bibtex/mac/macbibtex11.hqx b/biblio/bibtex/mac/macbibtex11.hqx
new file mode 100644
index 0000000000..7f285b9347
--- /dev/null
+++ b/biblio/bibtex/mac/macbibtex11.hqx
@@ -0,0 +1,9373 @@
+(This file must be converted with BinHex 4.0)
+
+:$deKBd*TBP4PH$%a,R0TG!"6593K8dP8)3#3!`EC93#3"(D18dP8)3!&!!EC9A*
+-BA8"!*!()#!9-#ij1@-JBR0d)(0dH@aP)'CTE'9c45j69%&14Np54!#3+TpbN!#
+,Ri*+A`#3"RBj!*!'GaN!N!Se-J!!$'*cG'CTE'9c,R0TG&*PB@4YC5jdCAJZ8e4
+"6NC28N3!N#"6593K8dP8)3%!Ri*+$*q#5N)!N!Cf13#3"RBj!!!kA!#3"N(l8dP
+8)3!%!!"f1A*-BA8"!*!(!J)*B@*LFRBZBR0dFR0d16PM)(Ba,M%ZFfPd!*!R9%9
+B9$q3"!%!Rh+3!$#IFT%4!!!"LJ!!5KN!N!2I!!!F,"iYG"X!N!DJVJ!!"!JS%!Y
+"J`&Pr2Z(lmr#KJmG-J`iN!#JaBX!%S34)dD1(4GLjY!43*!!5K%X9(kSr&%a)"#
+-*P'ZC'Ra*FDE&Mr*J33MS*)-&"84`,#3!"'rPh6m$IP(i0p,!NUC(J8`G#N"#%m
+"r*L)Xk[AVf!&,[`AB'cCK@I*QPf,PUfr#![jB5JC8-#)ZL-13$23j)fE-'2H#"%
+B!"`S%J39#%%&J"-)0J)*JR$5#N"2"!&`NE3-!$1'!#pK"2L-63#H")$#AQ`C!#%
+!ec)!L$"()%(2J"`!a!BJ*fCL!)!@AK4"$J!P3!K*)iC+'5`JjY!*iiC-'$PN3)J
+Kb#E0Qc0b`X""NbFKR6aXbS!!%dD-'$Pf6M4)%0"1'6Pc,,S"!F0&MKaK3*Kj)dF
+J3B-)AF+81BHQ6C`JH)*J%iE15aBJQ)3"#N*Sc$FcCEL!NF2&bS"$hX$*)bI0'64
+d3+!BNJ*%M"`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pc)I#
+`C1"5`APG%dl"RYIlj`iA#m3PlSDM)`hP0HA@C8E&G$RJ[!BkjlR2GdSAX3qpk"-
+I5X@TJRE&c%(Y[4URdNTbK9bZN!!dC3M@DefS[M2N`E"A0!i"&GZaKb9Y+mi6TeA
+YSbX3E"ZSUdQ@)X1#mM,ilcG*ApV,Bif4pY$8li"R1qPrmla[&jeM$F$f9,*bUpY
+3jj(YkT,6&c)PKrMdhrh8+pC$@K*i,a,aLVFN91Y53CCF*&BG1H+lk-+NV+a,*5j
+&VQF8)Z8!YDS"fR'K*4A8Ti@JB!TI'i((q+5EN!$-!!B&"e391Z*MP)@&9,Zc%2P
+KCA3!HGPN(1J(C-r%'HYb&[c')V`d)cA5GA-A&2ddI&,(HXkP@fI8(TrhD`h!&)P
+KAkka)'@JAEd85%C9%ai$993d@BT4J4'#JGVQEd$9!!&AFqV69ASK58Ae'e6c9!)
+$J`XKJk(@FVD('A+46Xh5+H6')LVi'c,3JN-)8E"A'S(AGPM6J'984DK&J0hb*NV
+`"VPc9NRA-6ZM2-E42)MaBi5b)SFhIG!@91Pm!!!:
diff --git a/biblio/bibtex/ms-dos/demel/bibtex99.boo b/biblio/bibtex/ms-dos/demel/bibtex99.boo
new file mode 100644
index 0000000000..b5cd45fda3
--- /dev/null
+++ b/biblio/bibtex/ms-dos/demel/bibtex99.boo
@@ -0,0 +1,1003 @@
+BIBTEX99.ZIP
+D4\310X0~21@3fII8A07]Si[DC~2QSh000X0~2@TU2E4EH;T=8D09TV@2i1`R@\@;T5b10AP^@
+L`00~31900~20J@02B90AP00~419200?TV@<h9T4008:0X2I3L0R@\00R@S@;T7008T701Y019
+9d2b0@8T6P00~3P03I3@02I0lP@<h101101Y02i5L02@00~2P03I9d3f2I1Q0^BH02T;0800:BU0
+gP<0841f2i1T0V@J843B2I3L0^@X00R@9h006@\8T?`2Y940B@J03`42lAl34O8Q2;5?<B8B1N7A
+?`T4h];1HE9a@@d6lj8000B@0V@I842n2I3C0RBU06T7292H0JC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Ha
+L1ibDN0]54ZFKK<HWPKX<?0NdW]QhC[j1ZAb36UJU8WQI`H8>_b3o=UP3Q2h:[e0g:i00P;8ej16
+<F?BU6W3_d?3RH6Lbb8VP<:IamIa>A61djdQ3gm3;VHV4fMcP><GT6`2U`CKglO@NM]0\?PK4TR4
+AFDco9>`HLi3oT6lXM09kUE:QhChB`Em_6=B3[3HT0oQJN`::B4>nDIF7d3nVfP3\>ZJ>c\1VV3G
+fd0=D4\310X0~21@0SIi8A8bXlgH7:~2?Tl400X0~2@TU2E4EH;TEHAL8o90BiK[3hK`6@Z9M^
+4h2nhXm;@:Ko[b>@RhWo004k9PPTa810@1mj7@:i2;0cj;onCd3Z`@8PT0aZR`j`RN\8=RbTBGXh
+@3h2^DP4>b0e[4I0`P:T8i2;ROn`0^UZ12UTZBX2ZO;`3n2ij0l@T03oj@@3Y<0o0JWV9d101_@3
+491n:P;@02A11@;9@h721hI5@XS7QN072@029001>KLHCD1f>C0@T12F00CTXP\0\@0YZ0lPT2Yc
+38T[0P02I001:KRR@Z131P0@T88Zj@8T7@4Y^:92@0HT[R22T8TKjhYZR`8TQ:02BD2V0o`;T2X0
+hP0Y1I1H]bPPV8lST8UgMW;SME840nA000494;58@8H0i0<290012F1184164I1dNA^2PI5PH2CH
+iA5fGWj@12@^^S42JJ9F9bA0<4Y0dYP4891@M7DVXhQf12@0hSlP@08@T0X100A012@o8@@0JD\0
+@0H[0<82Y00Y940:8@>@2Z`030P2a00T@002>A008232@400@18\4``109049433004Y110Z040B
+H@l0T08T0=402C0T@08@T013k@@T@3Z200TP@08@T03YUQ0TP8>fXhHk89dGRXT8QP@40@V@?PPP
+T007\Pnc2]X406C0?g402C0P040BT02\3<@o102Tl8l^o:<;onS4?cXT0089l>08Z3P@@4021:PQ
+390;09:\U1@2902a~2^Di00S2T2ol1203TJ424`8h1\R0<ZHd=70b0644269YInMTAT01NPi2A
+SIfE1A6TUa>E1k^3O3LdH^@1H079BDP06EUHfOT@4T4j053I43P=D296Q9000EHFU`80938808UO
+@l>_;d02802@[;BDTPX<d3jTSamj>S_0b^SP>]o>HP022N3W`hLgj854n?PI@k8?0b0n_?Z@07im
+C8@39<000PUP`;nRT3i8@0903A2@P`3Y16BM1`01>@RP@T22Y0<@T01do`CT@1X0e<0?HN0o@029
+[jn0@0mOaP0=@;XI7=0]4038\B4d5<be@@>@IB00LVP7Kf45P`]Y4`h890SM~2a5`IDPJI1_0f
+43I8043F1B2@06F3M7EbH@RTG9dK01b86@991c;hAUIfQXBE@Mh1`;fU8I1UJFl0K6Ad22A0HUU0
+^^PP0LT`n8RhdD7>_K69]B6@IF4@08<PJ@AT6@010SVHmPIPEPJ2@<ZiTH40Q=4QP`0PT6EYLV48
+9=XK@5PI7A\22E1FaaJF=XA0b]6a^I7=SA6@R`2?B1\T@83I?edJ0^U_0:10`0m122m30PP0T080
+Y000BD02M=4A092?0@@390L00^V_cln0Sf20;>82@5;A^D4QT4DP1P8[3P44900^5@89QOj_2J0[
+AD1:0FPRT>RhV_l=^P089<00D@3Phb02j@mQ`?mHY00PT1@0CP5?AB0202@12O0H@40j0C`AT029
+0P@T`940i<n_Kh3oS`19`:1PCboO_hm0BST5PC`I2B0<0Y0@0A@4A@@T`=<Th@P984E0=P3l4`2@
+0H\406C0?`406J10@084@22@0@@307mn2hB14B@d0@URI2100PR@00AT~2;T100_`7893oVXi6
+;0<01:@dl3l12A3`Cd0nc>L@T03o;0@0Y4000@W`kd900[@88900D]4Pj;RS232T=81A\Sdj0TU^
+o`nPPQi0@084616@02\20R@0TPRiZ0R0n3lP@08@3I00;0P`0bB0m;Im<P493;0R@090T00PHFl[
+M6ETHfUV8Vi]L`PTP44G`GlF2`8902EU]H:k:0104Y0@08h2980002U00PP0T080904902E5A402
+X180T2O60P0T0@39l2l0@0Z@00P0I8300<<10@80R@k5TX?k;d02202@22C0RVYRZ?2R~2:D02
+402@Rb\290022K2H^29Rl8m00QbPojl_3R:@07n;j2IdodPj901jXTg5<@@0VFQGPBi>]oPW>XZo
+3PD1=D02f45EF:`?d:D_eZV@S400T8_XD;R9MN]d0NUf^Z5BVkCj<8Zc?k000?oYGZRGMKne`OSB
+@`2Pi840E0205P8PV@2@3@689`0Z4P0W1N0V0GPZ0:XBP;H104PL083=160e0AP>041b0a1N02`H
+@<2<0@@D6D105BNPC@01RI00=820D`<8n6D4k1]0`<h11>`M@43V009^3b1PR`48E020B0HP5@8`
+[000f`X0<;<006<;012j~2j`\0<>40PA872=@h@:294dS3108M873X085?A>3I0@;_A23P0@8A
+3a18NH10Ca>XNX30eP<4iQhPD?d0P@8912A9821;0P5a4PPHUT10AAL@<h60Y0T434hPH7820J\C
+2=RN@43l108B;13@YT30[`D2]Rd@<6n1P<4;15AN8:3d0P6m5`PHGR1Pn`811AX8Z=10@8\60Wj@
+P2\=12aZ861D0`7=6PPXed20<`86=Q1@\H60UPd4Q6dP86l30JL=1?a^8:1h0`7MhJ47PS4?17lN
+21hm49aj80Sf@93]PD0j@L07PYL?14594?F18>d3`M\7P\<?1;4O288o46Ao86P@0F16180Q4@2f
+A03H4`5PD@B0DA40YTD061L1H5l4P8lA089600PK0D0Q02B>0?0i0\3]203;8`2<A`004`@S9PR6
+C11<VB1H<d4@J88Pd`A1Z`V2HQ<4hbH8iTd@;9`P23a147V28?D4@OX9PP`E02\Z07ID04bY0<QB
+0A2W0V1B1L2^2X1V5@3M:P3ZE@14[018F@7`\P;PJ0E0GP4BE`24[P3hG@7`_0;PO0E0Q0\2HU`@
+d>B2P2hG1=Bi823A1@7XPX1H5`@T^b0PgPD11Bl8j0P2=Ul@\?Z2P>4;0\9O413oPX046@0_<P0n
+I@0Lb`1hU`5@<@=PI`I0F00>I`2dcP2`383a383m6@0Y=PQbK114fB3h]47`KH=Pg`K1``f2Ta\4
+_46`MH<PLh<Pn`I1o@f211d0Q>P0X4L705Dj02SC0D2O3P1NM@0@[@<0g050`0h0<WH0l;83P:<4
+`=D>0=if012i0h3I7@0lk`1P_0>0oAd0A?P08<D703Tn08Sb0D2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a\PWbToDB0J11U=@o7[l
+>j;U<\BEXDQJmkZ?2lm@<2S3HTA5[b8cBhW58<>7ohg@@A<o`[X9=9Qfd<@?DNiUG1_81GE`__XM
+OXP`kn;\S[d[?XP8ko<4:ALQ3km;D4F^PkP^B9[TOb=T0>faib8LJ4C0UV_SWY0dT4XfQ4HTa4EF
+H<Hi0ghh7M=0@04@Q1bP8>@99mH<DiH5a8Te2N1lOg2nC5`84A48^VQ4Zh82\n?Z86UC2\b7>AX9
+:7^G]XN38@A026D1\N63O>S`0cidnJ<?gOkY@oOooU3lha1lnSn4GeX6gohO`[ooZN3SofG`dngL
+eol?oN^H8CooWl[_ogGigIN1g00410@410@410@410@410@410@410@410@410@410@410@410@4
+10@410@410@410@410@410@410@410@410@410@410@410@410@410@410@410@410@410@410@4
+10@410@410@410@410@410@410@410CTj?lQW_XViNI]8NMmXbO]>;YhagBIXE6QJIaZFJ`WidBT
+`1Hb7G<CROPTWHU6hL8A;K5:Z6c2k:PaWFhfCh`994PCQ<<d43T=F:YP1XYI<fD9hZOEFhH]=2VK
+b[=Q5\BC8_0PNYd_AU:W0^6nOL\61hilP6JTPW[H=X43JO`01JTSd@BS;2YG3RD8QgV:A^dh5Z=U
+A<PX74>kJDQL\Q7`U2HhjLVf8?kJ]73Q`67_XQ6AMUb2U0?`iCU1kZ30iP_Bb3Eh5X`KO1:4VS3h
+SK>I>Flh:HPTXVbFojI411j\3<H86W52]`FIX111PK5hh37J]Pe@IHDF?<n21S4M4`VBZaRc991T
+CW:1W:=ifDAk@8\=`mK5VjHdC>I]@H7kT:0APeP`8H5dn\IhPjOB[F^VKYZU8a84l`F_X[T@m>7L
+5BV@TFO[_92P3g08aXQ678dMS4SS6A05NTLC_6KcjZB0>14?8c8L0`]M\gTH<F9B46]4U3BbJ84A
+kmm5Pa4Gb`6[SMQZRIP?50WZDa=Y\GTIZHehY@:]?A5U6\22aGGD@Z_hFSMlehg\>W:<=AY97lHL
+0LE\V_ZFJM01g[7N<4Vf9AT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P2YW?d0RZUCjR3fQ_nW6
+il31:5XeB3UXaR83=io38AK90V>c7Q<fM^hK7:Qa3TJV?_M]VcR3lEMA964jDN\n;7eQlCeK\2k=
+>GU2QbU8oMH=DC1W2YH70Gl^C47bAC3U>NFCfIl9_N`1bgmA4OBobh@Y5>5^4KBMLHjTb<T[d^8`
+6^d`h`<n@17F\=UgOH0o6cSkTXGZ55>E@3XfLYY9XFVLJUV\;=P:4XH:dfG>W6=1XVbJfY;XdjTP
+hF1lCK5iB]@UB:]eU>a;YBi14RgK9]VVm82RCPLEST[XEBj4PhYm4aVBMaPI<3`Zb0Y6`L5VkhJa
+S<7Z`5>D`@H_77R`0V9ekG=CKW1Q38j5Pc4oQSgC58E@G1QaKTX<7CJ<A85P`h;HHC3T3\^>VO81
+8TdcPS8?P`\G<g9=~2@RP;R0dOi4>77o2Qbammj?I?7k[omhOR7hOPdolQo=8bn?Ko4?kmC`DO
+obn3WfkW__ioj5o73?WioeAnojo;kkh<i0HP820P820P820P820P820P820P820P820P820P820P
+820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P
+820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P
+820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P
+820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P
+820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P
+820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P
+820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P
+820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P
+820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P820P
+820P820P820P820P820PUOiWXR3R?a;[o`1B@9coGj00f511hAdVN24CoTMAFlF6ofD=JEl0Y:D=
+JG8SKAl0JHP1B8<<@1YV0=90A9[:TBHKP;CM0:@91b1]jDRK3T2JM@3B_4@JNP3BhP>@UQn0]401
+[RT:L4eBP6\K0JjI2W0EP?jFD;7Q:PU2@hCS2F0o2hP>8`CTi7noE5PJA0@QQ02Q;20^O13FoDoW
+iOgoCFD^G`dC`53Ud?TLCd<KIT523N=SJ45:[B=KdVTGc3B=bk7<dj5_>ZlL?H^FcT@i=2G86<Li
+\fF<hk@10@dFCNYfS2CL=f4Re\E@B`422P0:~31@3fII8A07]Si[DC~2QSh000X0~60@0P~7@TU2
+E4EH;T=8D51;0@8:00X0~21@0SIi8A8bXlgH7:~2?Tl400X0~880000=dC~2@TU2E4EH;TEHAE1;
+1@H0~30P020700~2Q]h0~5
diff --git a/biblio/bibtex/ms-dos/kempson/bibtex.boo b/biblio/bibtex/ms-dos/kempson/bibtex.boo
new file mode 100644
index 0000000000..17ea4a1b29
--- /dev/null
+++ b/biblio/bibtex/ms-dos/kempson/bibtex.boo
@@ -0,0 +1,1855 @@
+BIBTEX.ZIP
+D4\310X0~21@3e1U8@Bd[E[h0E~2HTh000T0~2@D92DUH^@U=D0RB402T21902i;40bBA07P^@
+6@:T[P1Y9d0N0`00290]01100P8TR`39:D322i0IP03i1PR@i0;T^03Y;d3N2i0Z@00Y@989T>V0
+08T?292<0210mP<2Y;l0b@d8T204Y4K3PP191`R@U08TR@0I;d2F0`;TW01930R@^000290RPPRT
+03TU@6h:T4T2I9P0>@L8T>H2i24000;T?@08T0V004T129290VBJ01TV@?h30R@m00B@P02I3`R@
+IP;TR@3I9d3Z2Y1]~2291e0^@c00R@_@00@0l40P437`D6;o4<c`X9?a:00=TV@<h:T9@2Y9@0
+f@D8T2<298P0>Bm0>P^@d00P@8H316@20X00fBM0kPV@\0@8Y1fK05TV@888T2@2I9P0JHM0]]79
+^K69WB6@IFQY879Q;P@T7DPI0EVFARM0OQ>@M6QeR1bTfe\KfmXH0WU6EeHgUdI6@8JUUB6@IFaY
+;V5_809TV@2YQ[Q1d\f=RKgY4FEQT6l2I1T1VDKg1T7:TLfiPK2=dKGMVIFii<4AT21U;P@TF]PK
+0\V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@a840N0h002BI0aP<2I;h0b@h8T4T044020^B@00LY@9H;T7:0
+0?T400;T2008T4n005TV@981P0293`R@MP00293c0ZBo0<T]C?<9T204Y4K30P08T7<29;d0RBm0
+bP<2i1`P@<h;T:8000B@@0090800>BM0ZP02i240080`1PT8T0T2Y8\0>BM0ZPZ@R@:TVP0Y8T3n
+0`8T?@04T000291c0ZB10=TW@>X:T6d000R@G`;T<`08T=d0040?10<10Ql5;o4:ccl64@`8`P:0
+0=TV@<h:T9@2i8T0>@@00RBl03T_@3X;T=200=T]@8H316@20X00fBM0kPV@\088Y01I9T22293]
+0V@H0EUVihO@bD6j]K69cB6@IFQYHBibK`@T7DPI0EVF5PHPT7AXMF5bKfb87:AKgA_K61`2BGMF
+=YM6mTI0QZFE8I1UJFa_HBhP0VBI0?V6^47BSLf9_NTAIF6@K`ATVA`80IU6mhI0b\fiTH6dSA6@
+86E_12AJf1\1bIIFQT2j\M7=bL692I1e0V@2440:T6E002U0kPV@808T700@T4EBIH00F@H8T782
+98P0BBE0QPV@H@;T\P3i9T0j2I1c0V@A@4Q17QD9T6D2i9\0VBI03PV@^PCT00=102U0:PZ@i08T
+\`3I8d1J2i26P02I9T2b2i1Q0ZB^00TR@888T224b430?`4i=bHV@>h989029;H02B90EPZ@bP;T
+W02i;d22290P@Pb<00T2890RHBMkM6mY22B00L60@<220:TT@:8:T:@2934Pk;d10RBK04T<0800
+Z@88T?h8`0520L50P8<0JB\X@0Z@8P01VICP:T2200@T^<\8~4293aBbbTYW8\c`V5QfTb5J>:
+n1W==<mcVYM==9R6iM8mf@2Gf4ibKQYCT31Mi\`I5ZBI0@`8PC47TB44bJHVTXE<P_L8DZI;V3UM
+P98>jO?:lEVdM46R79XBI<bL>6^b@6@>J6:>iDBFMT8lb38=b=`\R=8dI3=U4gDT[@<bd4DaII^W
+=`^bK1XA18PebYPY@NIm\b3KM4dU?oM=eh5TVfLg3g9<4Q9AGDb8G91SmWUIL3RFKEdb6;A^`kHi
+2bcRZ<`DC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k_YRE;AccEcG>mJJ1T`hSL;Y2a:5iHY8S61KLj0_N?X26S
+DER4PGN1T8>Q8G\li8E<>4@LKhoLV`JRjKb;a4Td9_A37QN_0;BA4an0j4U@V=27]J^LB09X>V>I
+TI408Z:2\K:N]<FD]bSFXT>[Z2CUL1]@:V4@YPB57c1M<CnK1S1l6k:h>ZYQfhY9TU1i8@lN<SPB
+lX7OUB=94^0m6h4UXG:h8[U0FJHS5:>:I50_>9Zgcb92UWUFDOHE\@XK>[4Q?1>VT^<19CCY@Q<:
+23P]0Q`S6AC_B49nKhf1kGU@3PJgc1PM507hCQid0U1;0`@:~31@0;LX8B2F5OR\\;~2ibL000T0
+~2F45=D4`^@TU2PP00~2P02i1`0000R@o00019200<T2~3293B~5290mPX1500T0P01i1P1000T0
+~2290P0P@T~2@009~2440201100P00~6292i~5292U0210:P42Y3HP@>X3~2290X~5292j~30VBa
+02T5@1l??`7a0P<_4DoAWooegkl0~20R@8~2P03I3@0000R@@@905D3d@H9\0@AGFiZE01TV@<81
+P01IQ[A1d[VacLV54I1UJ6T890QMfEcJ6a]B1YWfAQNFi`H@T79QLhRL6fCMf1]K6`:I1U9gATHG
+QXA1`ZFERH6d4I1UJB02I1Z0^<gA@LZ=\ITQKi1Y86EQLVd2Y1caUPIIQ\Q1T]7=^Hf1490PJFD4
+9=YK7@7iaUJ6^;79@LjeTMD9T=h08>bm0@00~3491XADU26IE@APD@J91bH@0P@8H9AI226j@0
+VBI<>@42Y9^@EPH@T6mU;X3`1TF`3LVi0H00RBJ0Q0600:TU@=h8T7d2i0`P@4X9T>2009T]@>H0
+P002BD2fa0P9892009TV@:8:T7@2i9`0n@`00RB80;T7890P@g]_JD4R010d0@9T>`00~4842V
+0@8T0B0Xd0XR8000~2842b0`00041`PV6Ze;dPW\]]fK\a^P?X?KQmdg1V`7f>fLDnnPHBA\Q0
+>15`<n4ifVNIGA`IPm3TW09VDcII>X6X9\@3U7MYM4a:clh1Ni91AH7\fd03@46Um24VmXHAF[=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Z7ghA\\E8M^;<WekE`I12V6Vij2`8J2P4fA?]V5b3EXV
+<P0?98[X[Q6l>OjHPPRQ3dHIlN`mY;idnmH>M<T28<aTI^0>V00:4l[G@P:54L[CLUjR1HRN[7:N
+Mlm__0i`BiUm^[l;bBclI42oK1@BJId<T@Ub2B=J[[5YY7\QjA^E[nd[@_UVD4\10PX02P0000D0
+m@IB44]:eJn05@00HTh000T0~60@0P~7@D92DUH^@U=DD4\10PX02P0000D0m`IB48[8S[Y\6000
+T5\000T0~60@0P~3YaD0045<D4Q1;T9CE51;0@8:00X0~21@1UMM<B1CSP95bQ~2bV<100X0~8
+800003X^~2@TU2E4EH;TEHAE1;0@8:00X0~21@3^T=<BCB7n@V8;~2o20000\0~60@0P~3_\l0
+049DF45=D4`^C492D4\10PX02P000040;:C<4S4=0f`Z0P00L`@000\0~60@0P~3BM\0049DF45=
+D4`^E4EHD4\10PX02P0000D05i7C4P]jikBV0`0080X000\0~60@0P~3W=d0049DF45=D4`^F5E1
+D4\10PX02P000040hW624PQg4<h31P00G0T000X0~60@0P~3Jn40049DF4A?@bi2BD9@B`422P0:
+~30@12S]<BRlAo<]d1~2RP8000X0~60@0P~3U^L0049DF4A?@bi<@T9@B`422P0:~31@3GC;8B
+TiLm@mm6~2_ZH000X0~60@0P~3VnT0049DF4A?@biDAEQ@B`422P0:~30@13Sm<BG[hQJA03~2
+X@D000X0~60@0P~3XS01049DF4A?@biHED5@B`422P0:~30@2jS]<B:4o=aM82~29P@000X0~6
+0@0P~3fS<1049DF4Q1Bbi<@T9@B`422P0:~31@27EVLB:PI=]9T[~2@6H000X0~60@0P~3e3H1
+049DF4Q1BbiDAEQ@B`422P0:~30@04Sm<B?=MIJC`2~2i@<000X0~60@0P~3UF81049DF4Q1BbiH
+ED5@B`422P0:~31@021e8@H\M<mmLE~2OTl000T0~60@0P~3nF@1051<@DU>;T9CE51;0@8:00X0
+~21@031e8@QiC\N3dC~2gdD000T0~60@0P~3mgX105E>De9D;T9CE51;0@8:00X0~21@0;LX8B
+2F5OR\\;~2ibL000T0~60@0P~3Fhh105Q1CE1<;T99@U1;1@H0~3400@07h3~2CIX1~5
diff --git a/biblio/bibtex/ms-dos/kempson/btxguide.tex b/biblio/bibtex/ms-dos/kempson/btxguide.tex
new file mode 100644
index 0000000000..1c43b5597a
--- /dev/null
+++ b/biblio/bibtex/ms-dos/kempson/btxguide.tex
@@ -0,0 +1,714 @@
+\documentstyle[11pt,draft]{article}
+
+%
+%-----------------------------------------------------------------------
+% SET UP THE PAGE LAYOUT FOR A4 PAPER
+%-----------------------------------------------------------------------
+\topmargin 0 pt
+\textheight 46\baselineskip
+\advance\textheight by \topskip
+\oddsidemargin 0in
+\textwidth 6.3 in
+\def\textfraction{0.1}
+\def\floatpagefraction{0.7}
+%
+%-----------------------------------------------------------------------
+% DEFINE SOME USEFUL MACROS
+%-----------------------------------------------------------------------
+\newcommand{\BT}{{\rm B\kern.05em{\sc i\kern-.025em b}\kern-.08em
+ T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
+\newcommand{\TC}{Turbo C}
+\newcommand{\VV}{{\tt VAX/VMS}}
+\newcommand{\UX}{{\tt UNIX}}
+\newcommand{\PSCL}{{\tt PASCAL}}
+\newcommand{\WEB}{{\tt WEB}}
+\newcommand{\WIIC}{{\tt WEB2C}}
+\newcommand{\FTN}{{\tt FORTRAN}}
+\newcommand{\DOS}{{\tt MS-DOS}}
+\newcommand{\us}{{\tt \char '137}} % a real underscore in \tt font
+\newcommand{\bs}{\char '134} % a backslash in \tt font
+\let\_=\us % map \_ -> {\tt \us}
+\title{An Implementation of \BT{} for \DOS{}}
+\author{Niel Kempson}
+\date{19 June 1989}
+
+\begin{document}
+\maketitle
+\tableofcontents
+\listoftables
+{\def\thepage{\mbox{}}\clearpage}
+\pagenumbering{arabic}
+%
+%-----------------------------------------------------------------------
+% INTRODUCTION
+%-----------------------------------------------------------------------
+\section{Introduction}
+This document describes an implementation of \BT{} for the IBM
+PC running the \DOS{} operating system. It does not describe the creation of
+bibliographic databases and their use by \LaTeX{}; this is covered in detail
+in references~\cite{latexbook,btxdoc,btxhak}.
+
+%-----------------------------------------------------------------------
+\subsection{Background}
+Over the last year, I have seen numerous requests (including my own) for
+a public domain \DOS{} implementation of \BT{} v0.99, but no
+responses.\footnote{Arbortext provide an implementation of \BT{} v0.99
+as part of their \LaTeX{} package for the IBM PC. This implementation
+is, of course, copyrighted and costs money.} I needed such a version
+for the preparation of my PhD thesis, so I decided to produce one
+myself.
+
+I have never used \PSCL{} and I don't have a \PSCL{} compiler for the IBM
+PC, so a \WEB{} change file was not a practical proposition. I do have
+some experience of C and a C compiler, so I decided to translate the
+original \WEB{} source of \BT{} into C.\footnote{I'm a \FTN{} man really,
+but translating \BT{} into \FTN{} didn't sound like a very good idea.}
+The target compiler is Borland Turbo C v2.0, which is cheap, draft ANSI
+compatible and in my possession.
+
+Initially, I tried to use Tim Morgan's excellent \WIIC{} system which
+translates the \PSCL{} produced from the \WEB{} into C. A test translation
+was soon compiled and tested on a Sun 3/50 with no problems whatsoever;
+porting the C source to \DOS{} was rather more difficult. Like the \PSCL{}
+code produced by most \WEB{} programs, the C code is rather monolithic and
+is greatly dependent on a large number of global variables.
+
+\TC{} is restricted by the limitations of \DOS{} and the segmented
+architecture of the Intel 8086 family; arrays must normally be less than
+64kB in size, as must areas of common (global) variables. After many
+iterations, the code was finally split up into enough small sections to
+allow compilation and linking, but the program crashed the operating system!
+
+Enough was enough, I decided to start again with a manual translation of the
+\WEB{} source into C. The code is designed to be compiled with the \TC{}
+compiler and run under the \DOS{} operating system, but conditional
+compilation switches allow the code to be compiled and run on a \VV{}
+system. The \VV{} implementation allows me to test my version against the
+proven \VV{} \BT{} \WEB{} implementation and to use the excellent debugging
+facilities available under \VV{}.\footnote{The large memory requirements of
+\BT{} mean that after loading the \TC{} debugger, there isn't enough free
+memory to load and run \BT{}.}
+
+
+%-----------------------------------------------------------------------
+
+\subsection{Acknowledgements}
+\BT{} was created by Oren Patashnik in consultation with Leslie Lamport. I
+have indexed my C code to the sections of his original \WEB{} source, and
+have made verbatim copies of most of the comments therein. If this version
+of \BT{} doesn't work, it will be my fault since the version I copied
+{\em does \/} work. Oren Patashnik has also provided some extra
+documentation for \BT{} users~\cite{btxdoc,btxhak}; the \LaTeX{} sources
+are included in this distribution.
+
+Tim Morgan should be congratulated on creating the excellent \WIIC{}
+system which is a real boon for \UX{} systems with grotty \PSCL{}
+compilers. It's a shame that \DOS{} is too primitive to cope with large
+programs.
+
+Thanks to PKware for creating the \verb|ZIP| archiving utility which is used
+to pack the files in this distribution.
+
+Finally, my thanks to the people who volunteered to test my first version
+of \BT{}, especially Tim Hoverd \verb|<tim%uucp.logcam@uk.ac.ukc>| who
+discovered a bug!
+
+%-----------------------------------------------------------------------
+
+\subsection{System requirements}
+An IBM PC or compatible with at least 384kB of memory running \DOS{} or
+\verb|PC-DOS| version 3.0 or later.
+
+\subsubsection{Free Memory}\label{subsubsec:free-memory}
+Before the program is run, there should be at least 242kB of free
+memory. This can be checked with the \DOS{} program \verb|CHKDSK|. If
+\verb|CHKDSK| reports less than 248,000 free bytes of memory, \BT{} will
+fail with one of the messages below:
+
+\begin{verbatim}
+ Fatal error: Couldn't allocate xxxxxx bytes for array `aaaaaa'
+
+ Fatal error: Insufficient memory to allocate dynamically sized arrays.
+\end{verbatim}
+
+\noindent where \verb|`xxxxxx'| is a decimal number and \verb|`aaaaaa'| is
+the name of one of \BT{}'s work arrays.
+
+Although \BT{} will run with only 242kB of free memory, its capacity will
+be severely limited if there is less than 287kB free, and a warning message
+will be issued of the form:
+
+\begin{verbatim}
+ Warning: Memory limitations have restricted BibTeX's processing capability.
+ (MAX_CITES = xxxx, MAX_ENT_STRS = xxxx, MAX_FIELDS = xxxxx)
+\end{verbatim}
+See section~\ref{subsubsec:dynmem} for an explanation of the message.
+
+\subsubsection{Disk Space}
+To install \BT{}, at least 300kB of free disk space is permanently required,
+with up to 1MB required for installation. If \BT{} is to be built from
+source code, 1MB will be required permanently, and up to 2.5MB required for
+installation.
+
+\subsubsection{C Compiler}
+This implementation of \BT{} was developed using the Borland \TC{} v2.0
+compiler. The compiler is only required if you wish to build \BT{} from the
+source code. The code should be portable to other ANSI C compilers
+({\em e.g.\/} Microsoft C v5) with only minor changes. If you do port this
+implementation of \BT{} to another \DOS{} C compiler, please let me know so
+that I can include the code modifications in the distribution. My contact
+address is given in section~\ref{sec:contact-address}.
+
+%-----------------------------------------------------------------------
+
+\subsection{Files distributed}
+This implementation of \BT{} is distributed as two \verb|ZIP| archives,
+namely:
+
+\begin{tabular}{lp{4.8in}}
+ & \\
+{\tt BIBTEX.ZIP} & All you need to get \BT{} up and running. Contains
+ the \BT{} program, style files and documentation. \\
+{\tt SOURCES.ZIP} & The source code for \BT{}. \\
+ & \\
+\end{tabular}
+
+\noindent To extract the files from the archive, you need the program
+\verb|PKUNZIP|.
+
+%
+%-----------------------------------------------------------------------
+% USING BIBTEX
+%-----------------------------------------------------------------------
+\section{Using \BT{}}
+
+
+\subsection{Invoking \BT{}}\label{subsec:invoking}
+The format of the \BT{} command is:\footnote{{\tt MS-DOS>} is used to
+represent the \DOS{} prompt string.}
+
+\begin{verbatim}
+ MS-DOS> BIBTEX [aux-file]
+\end{verbatim}
+where the optional parameter \verb|aux-file| is the name of the \verb|AUX|
+file {\em without\/} the \verb|AUX| extension added. If \verb|aux-file| is
+not specified, \BT{} will prompt for it:
+
+\begin{verbatim}
+ MS-DOS> BIBTEX
+ This is BibTeX version 0.99c (MS-DOS Turbo C Release 1.00, 14 June 1989)
+ Please type input file name (no extension)--
+\end{verbatim}
+Assuming that \BT{} is invoked with the command:
+
+\begin{verbatim}
+ MS-DOS> BIBTEX btxdoc
+\end{verbatim}
+
+\noindent \BT{} will read \verb|btxdoc.aux| and, if all goes well, will
+create 2 new files:
+
+\begin{tabular}{lp{4.8in}}
+ & \\
+{\tt btxdoc.bbl} & the formatted bibliography information generated by
+ \BT{} and read by \LaTeX's \verb|\bibliography|
+ command. \\
+{\tt btxdoc.blg} & \BT's log file containing a transcript of everything
+ written to the terminal during the \BT{} run. \\
+& \\
+\end{tabular}
+
+\noindent This implementation of \BT{} should then behave just like
+other versions of \BT{}!
+
+\subsection{Features of this implementation}
+This implementation attempts to emulate as closely as possible the original
+\WEB{} source so that subsequent changes to the \BT{} \WEB{} source can be
+implemented as readily as possible. Features of this implementation that
+should be noted are listed below.
+
+%-----------------------------------------------------------------------
+
+\subsubsection{Output Files}
+\BT{} creates the (\verb|BBL| and \verb|BLG|) output files by appending the
+appropriate extension to the \verb|aux-file| command line argument. If you
+tell \BT{} to process a file in the current default directory, the output
+files will be there too. The command:
+
+\begin{verbatim}
+ MS-DOS> BIBTEX btxdoc
+\end{verbatim}
+will create \verb|btxdoc.bbl| and \verb|btxdoc.blg| in the current
+default directory. If, however, you specify an explicit file path for the
+input file, for example with the command:
+
+\begin{verbatim}
+ MS-DOS> BIBTEX \latex\report\btxdoc
+\end{verbatim}
+the output files will be \verb|\latex\report\btxdoc.bbl| and
+\verb|\latex\report\btxdoc.blg|. I consider this to be bad behaviour, in
+that output files should always be written to the current default directory,
+but it has been preserved because I wanted to mimic the \WEB{} source as
+closely as possible.
+
+%-----------------------------------------------------------------------
+
+\subsubsection{\DOS{} Environment Variables}\label{subsubsec:dos-env-vars}
+\BT{} normally requires 3 types of input files, each of which may be
+located in a different area of your system. They are:
+
+
+\begin{tabular}{lp{5.1in}}
+ & \\
+{\tt AUX} files & \LaTeX{} output which is processed by \BT{}. These
+ files are normally in the current default
+ directory. \\
+{\tt BIB} files & Your \BT{} reference databases used by \BT{} to
+ resolve the \verb|\cite| command references in your
+ \LaTeX{} source file. These files are often kept in
+ a separate directory as they are common to many
+ documents. \\
+{\tt BST} files & The \BT{} style files that tell \BT{} how to
+ format the citations. These files are often kept with
+ the \LaTeX{} style files. \\
+ & \\
+\end{tabular}
+
+
+\noindent When \BT{} tries to open an input file and fails, the string
+specified by an appropriate \DOS{} environment variable is prepended to the
+file name and the file opening retried. The environment variables supported
+are:
+
+
+\begin{tabular}{lp{4.8in}}
+ & \\
+{\tt TEXINPUTS} & Used to locate {\tt BST} files \\
+{\tt TEXBIB} & Used to locate {\tt BIB} files \\
+ & \\
+\end{tabular}
+
+\noindent
+The value of these environment variables must be suitable for prepending to
+a file name ({\em i.e.\/} it must contain only one path, not a list of
+paths separated by semicolons). An example of setting these
+environment variables for use by \BT{} is:
+
+\begin{verbatim}
+ MS-DOS> SET TEXINPUTS=c:\tex\inputs
+ MS-DOS> SET TEXBIB=d:\latex\bibtex\
+\end{verbatim}
+It does not matter whether you specify a trailing backslash after the path
+element.
+
+If, for example, the environment variables had been set as above and the
+\verb|alpha| bibliography style had been specified, \BT{} would attempt to
+open \verb|alpha.bst| and if that failed, the file
+\verb|c:\tex\inputs\alpha.bst| would be tried.
+
+%-----------------------------------------------------------------------
+
+\subsubsection{Dynamic Memory Allocation}\label{subsubsec:dynmem}
+The \WEB{} source of \BT{} declares many large arrays which are used to hold
+the information contained in the style and bibliography database files. The
+total storage required by these arrays considerable, with one array of
+nearly 300kB.
+
+Under virtual memory operating systems ({\em e.g.\/} \UX, \VV), there is not
+normally a problem allocating memory; the array sizes can be predetermined
+and memory allocated statically by the compiler.
+
+If the array sizes were predetermined and allocated by the compiler (as in
+the \WEB{} source), \BT{}'s capacity would have to be limited to support IBM
+PCs with limited memory, or maximized and support only IBM PCs with
+sufficient memory installed. An alternative would be to produce several
+versions of \BT{} for different memory sizes.
+
+I want \BT{} to be usable by as many PC users as possible, so at
+startup, \BT{} determines how much memory is available and adjusts its
+processing capacity accordingly. The algorithm used is arbitrary, adjusting
+the size of the following constants declared in the \WEB{} source of \BT{}:
+
+\begin{tabular}{lp{4.7in}}
+ & \\
+{\tt MAX\_CITES} & the maximum number of {\tt \bs cite} commands allowed in
+ the \LaTeX{} source.\\
+{\tt MAX\_ENT\_STRS} & the maximum total number of string fields allowed in the
+ bibliographic database(s).\\
+{\tt MAX\_FIELDS} & the maximum total number of fields allowed in the
+ bibliographic database(s).
+\end{tabular}
+
+\noindent The size of these arrays is tabulated against the free memory
+available before running \BT{}:
+
+\begin{center}
+\begin{tabular}{|c|r|r|r|}
+\hline
+{\bf Free Memory} & {\tt MAX\_CITES} & {\tt MAX\_ENT\_STRS} &
+ {\tt MAX\_FIELDS}\\
+\hline
+242kB & 0\hspace*{1.5em} & 0\hspace*{1.5em} & 0\hspace*{1.2em} \\
+250kB & 17\hspace*{1.5em} & 68\hspace*{1.5em} & 391\hspace*{1.2em} \\
+287kB & 100\hspace*{1.5em} & 400\hspace*{1.5em} & 2,300\hspace*{1.2em} \\
+300kB & 128\hspace*{1.5em} & 512\hspace*{1.5em} & 2,944\hspace*{1.2em} \\
+350kB & 240\hspace*{1.5em} & 960\hspace*{1.5em} & 5,520\hspace*{1.2em} \\
+400kB & 352\hspace*{1.5em} & 1,408\hspace*{1.5em} & 8,096\hspace*{1.2em} \\
+450kB & 464\hspace*{1.5em} & 1,856\hspace*{1.5em} & 10,672\hspace*{1.2em} \\
+500kB & 576\hspace*{1.5em} & 2,304\hspace*{1.5em} & 13,248\hspace*{1.2em} \\
+550kB & 688\hspace*{1.5em} & 2,752\hspace*{1.5em} & 15,824\hspace*{1.2em} \\
+577kB & 750\hspace*{1.5em} & 3,000\hspace*{1.5em} & 17,250\hspace*{1.2em} \\
+\hline
+\end{tabular}
+\end{center}
+
+\noindent \BT{} will refuse to run if the free memory available is less
+than 242kB, and will issue warnings if the calculated value of
+\verb|MAX_CITES| is less than 100. The warning message will be of the form:
+
+\begin{verbatim}
+ Warning: Memory limitations have restricted BibTeX's processing capability.
+ (MAX_CITES = xxxx, MAX_ENT_STRS = xxxx, MAX_FIELDS = xxxxx)
+\end{verbatim}
+If sufficient memory is available ({\em e.g.\/} when running
+under certain \DOS{} `extenders'), \BT{} will set the array
+sizes to those in the \WEB{} source, {\em i.e.\/} \verb|MAX_CITES|=750,
+\verb|MAX_ENT_STRS|=3000 and \verb|MAX_FIELDS|=17250.
+
+
+%
+%-----------------------------------------------------------------------
+% INSTALLING BIBTEX
+%-----------------------------------------------------------------------
+\section{Installing and Testing \BT{}}
+
+%-----------------------------------------------------------------------
+
+\begin{table}[htbp]
+\begin{tabular}{|l|p{5in}|}
+\hline
+{\bf File} & {\bf Description} \\
+\hline
+{\tt BIBTEX.EXE}& the \BT{} program \\
+{\tt ABBRV.BST} & the {\tt abbrv} \BT{} bibliography style \\
+{\tt ALPHA.BST} & the {\tt alpha} \BT{} bibliography style \\
+{\tt PLAIN.BST} & the {\tt plain} \BT{} bibliography style \\
+{\tt UNSRT.BST} & the {\tt unsrt} \BT{} bibliography style \\
+{\tt BTXDOC.TEX}& the \LaTeX{} source for~\cite{btxdoc} \\
+{\tt BTXHAK.TEX}& the \LaTeX{} source for~\cite{btxhak}\\
+{\tt BTXDOC.BIB}& the \BT{} database used by ~\cite{btxdoc} and
+ \cite{btxhak}\\
+{\tt BTXAMPL.BIB}& the \LaTeX{} of a test document which references every
+ entry in the {\tt XAMPL.BIB} database\\
+{\tt XAMPL.BIB} & an example \BT{} database which illustrates many of the
+ entry types allowed\\
+{\tt BTXAMPL.XUA}& a reference version of the {\tt BTXAMPL.AUX} file which is
+ used for testing \BT{}\\
+{\tt BTXAMPL.LBB}& a reference version of the {\tt BTXAMPL.BBL} file which is
+ used for testing \BT{}\\
+{\tt BTXDOC.XUA}& a reference version of the {\tt BTXDOC.AUX} file which is
+ used for testing \BT{}\\
+{\tt BTXDOC.LBB}& a reference version of the {\tt BTXDOC.BBL} file which is
+ used for testing \BT{}\\
+{\tt BTXHAK.XUA}& a reference version of the {\tt BTXHAK.AUX} file which is
+ used for testing \BT{}\\
+{\tt BTXHAK.LBB}& a reference version of the {\tt BTXHAK.BBL} file which is
+ used for testing \BT{}\\
+\hline
+\end{tabular}
+\caption{Contents of the {\tt BIBTEX.ZIP} archive}%
+\label{table:bibtex}
+\end{table}
+
+%------------------------------------------------------------------------
+
+\subsection{Files required and where to put them}\label{subsec:where}
+All of the files required to get \BT{} up and running are contained in the
+archive \verb|BIBTEX.ZIP| and are listed in
+table~\ref{table:bibtex}. Use \verb|PKUNZIP| to unpack the archive
+\verb|BIBTEX.ZIP|. It is recommended that you create a temporary directory
+for this, then once installation is complete, the directory and its contents
+can be safely deleted.
+
+On my system, all \TeX{} related programs are kept in the directory
+\verb|c:\tex\bin|, style and macro files in \verb|c:\tex\inputs|, the
+common bibliographical databases in \verb|d:\latex\bibtex| and the \BT{}
+documentation in \verb|c:\tex\doc|. Assuming that the archive
+\verb|BIBTEX.ZIP| is on a floppy disk in drive \verb|A:|, the following
+\DOS{} commands could be used to extract and install the \BT{} files and then
+set the \DOS{} environment variables appropriately:
+
+\begin{verbatim}
+ MS-DOS> MD \BTXTMP
+ MS-DOS> CD \BTXTMP
+ MS-DOS> PKUNZIP A:BIBTEX
+
+ MS-DOS> COPY *.exe c:\tex\bin
+ MS-DOS> COPY *.bst c:\tex\inputs
+ MS-DOS> COPY *.bib d:\latex\bibtex
+ MS-DOS> COPY btx*.* c:\tex\doc
+
+ MS-DOS> CD \
+ MS-DOS> DEL \BTXTMP
+ MS-DOS> RD \BTXTMP
+
+ MS-DOS> SET PATH=c:\dos;c:\bin;c:\util;c:\tex\bin
+ MS-DOS> SET TEXINPUTS=c:\tex\inputs
+ MS-DOS> SET TEXBIB=d:\latex\bibtex
+\end{verbatim}
+
+
+%-----------------------------------------------------------------------
+
+\subsection{Building \BT{} from sources}
+Use \verb|PKUNZIP| to unpack the archive \verb|SOURCES.ZIP|; this will create
+the \BT{} source files listed in table~\ref{table:sources}. The source code
+has been split into many parts to ensure that each module is less than 64kB in
+size and is thus able to be compiled and edited in the \TC{} integrated
+development environment.
+
+To generate the \BT{} program \verb|BIBTEX.EXE|, simply use the \verb|MAKE|
+program supplied with \TC{} by executing the command:
+
+\begin{verbatim}
+ MS-DOS> MAKE bibtex
+\end{verbatim}
+The executable program \verb|BIBTEX.EXE| will be created in the current
+working directory.
+
+\begin{table}[htbp]
+\begin{tabular}{|l|p{5in}|}
+\hline
+{\bf File} & {\bf Description} \\
+\hline
+{\tt MAKEFILE} & \TC{} makefile for building \BT{}. \\
+{\tt BIBTEX.PRJ} & \TC{} project file for building \BT{} from
+ within the integrated development environment. \\
+{\tt TCCONFIG.TC} & \TC{} configuration file for the integrated
+ development environment. \\
+ & \hfill \\
+{\tt BIBTEX.H} & header file defining the macros used in the \BT{}
+ \WEB{} source. \\
+{\tt DATATYPE.H} & header file defining the data types used. \\
+{\tt EXTVARS.H} & header file declaring the external global
+ variables. \\
+{\tt GBLPROCS.H} & header file containing declaring all of the global
+ functions used. \\
+{\tt GBLVARS.H} & header file declaring and allocating space for
+ global variables. \\
+{\tt SYSDEP.H} & header file declaring system dependent items. \\
+ & \hfill \\
+{\tt BIBTEX.C} & the main module of \BT{} containing system
+ dependent functions. \\
+{\tt PART1.C} & {\raggedright
+ source module containing \BT{} functions from \\
+ {\tt aux\_err\_stuff\_after\_right\_brace}
+ to {\tt bst\_integers\_command}.} \\
+{\tt PART2.C} & {\raggedright
+ source module containing \BT{} functions from
+ {\tt build\_in} to \\
+ {\tt enough\_text\_chars}.} \\
+{\tt PART3.C} & {\raggedright
+ source module containing \BT{} functions from
+ {\tt execute\_fn} to \\
+ {\tt get\_bib\_command\_or\_entry}.} \\
+{\tt PART4.C} & {\raggedright
+ source module containing \BT{} functions from \\
+ {\tt get\_bst\_command\_and\_process}
+ to {\tt pop\_whole\_stack}.} \\
+{\tt PART5.C} & {\raggedright
+ source module containing \BT{} functions from \\
+ {\tt pre\_def\_certain\_strings}
+ to {\tt scan\_balanced\_braces}.} \\
+{\tt PART6.C} & {\raggedright
+ source module containing \BT{} functions from
+ {\tt str\_eq\_buf} to \\
+ {\tt x\_add\_period}.} \\
+{\tt PART7.C} & {\raggedright
+ source module containing \BT{} functions from
+ {\tt x\_change\_case} to \\
+ {\tt x\_num\_names}.} \\
+{\tt PART8.C} & source module containing \BT{} functions from
+ {\tt x\_plus} to {\tt x\_write}. \\
+\hline
+\end{tabular}
+\caption{Contents of the {\tt SOURCES.ZIP} archive}%
+\label{table:sources}
+\end{table}
+
+
+%-----------------------------------------------------------------------
+
+\subsection{Testing \BT{}}
+The \LaTeX{} source file \verb|btxdoc.tex| for the \BT{}
+documentation~\cite{btxdoc} is provided as part of this distribution. If it
+is processed with \LaTeX{} and \BT{} using the following commands:
+
+\begin{verbatim}
+ MS-DOS> LATEX btxdoc
+ MS-DOS> BIBTEX btxdoc
+ MS-DOS> LATEX btxdoc
+ MS-DOS> LATEX btxdoc
+\end{verbatim}
+the files \verb|btxdoc.aux| and \verb|btxdoc.bbl| will be created (amongst
+others). Reference versions of these files (\verb|btxdoc.xua| and
+\verb|btxdoc.lbb| respectively) are provided as part of the distribution,
+and they should be identical to the files created as a result of the above
+commands. The files can be compared using the \DOS{} utility \verb|COMP|
+with the commands:
+
+\begin{verbatim}
+ MS-DOS> COMP btxdoc.aux btxdoc.xua
+ MS-DOS> COMP btxdoc.bbl btxdoc.lbb
+\end{verbatim}
+
+\noindent\verb|COMP| should report that no differences were found. This procedure
+should be repeated with the provided files \verb|btxhak| and \verb|btxampl|.
+If, in all cases, no differences are found, you may be confident that your
+new version of \BT{} has been installed correctly.
+
+%
+%-----------------------------------------------------------------------
+% PROBLEMS
+%-----------------------------------------------------------------------
+\section{Problems}
+If you believe that \BT{} is behaving incorrectly, I'd like to hear from you!
+Before reporting a bug, I'd be grateful if you would follow a few steps to
+help isolate the problem.
+
+A bug is usually suspected as the result of \BT{} issuing an error message
+or by the production of unexpected results. Either of these can be
+caused by a real bug in the \BT{} implementation, or the correct behaviour
+in response to misuse. It is assumed that you have read the \BT{}
+documentation~\cite{latexbook,btxdoc}.
+
+%-----------------------------------------------------------------------
+\subsection{Unexpected Results}
+Sometimes the output generated by \BT{} is not what you expect, especially:
+\begin{itemize}
+ \item formatting of names and initials
+ \item the sorting of the references
+\end{itemize}
+Check the bibliography style file, which should describe how the citations
+are supposed to be formatted.
+
+%-----------------------------------------------------------------------
+\subsection{Error Messages}
+\BT{} will generate warning, error and fatal messages under several
+circumstances, including:
+\begin{itemize}
+ \item \BT{} refuses to run, or reports restricted processing capacity due
+ to memory limitations. See sections~\ref{subsubsec:dynmem}
+ and~\ref{subsubsec:free-memory}.
+ \item \BT{} couldn't open a file. The offending file name is reported.
+ Check that the file exists and is in the current working directory
+ or in the directory referenced by the appropriate \DOS{} environment
+ variable. See section~\ref{subsubsec:dos-env-vars}.
+ \item errors in the bibliographic database. The offending file and line
+ number are usually identified. Check the bibliographic database
+ against the documentation~\cite{latexbook,btxdoc}.
+ \item one of \BT{}'s internal capacity limits has been exceeded. The error
+ message will detail which limit has been exceeded. See
+ section~\ref{subsubsec:dynmem}.
+ \item errors in the bibliographic style file detected by \BT{}. The errors
+ are characterized by the message {\tt *Please notify the bibstyle
+ designer*}. If the style file used was provided with this
+ implementation, consider it a bug. If you are using style files
+ from another source, note that the style file must have been
+ designed for \BT{} v0.99 or later. Style files designed for \BT{}
+ v0.98 or earlier {\em will not\/} work with \BT{} v0.99.
+ \item internal errors detected by \BT{}. These errors are characterized by
+ the message {\tt *Please notify the BibTeX maintainer*}. This is
+ definitely the result of a bug.
+\end{itemize}
+
+
+%-----------------------------------------------------------------------
+
+\subsection{Bug Reports}
+If you have access to another implementation of \BT{} ({\em e.g.\/} on a
+\UX{} or \VV{} system), try processing the same files with that
+implementation and compare results. If that implementation produces
+satisfactory results where the \DOS{} implementation does not, you can be
+reasonably sure that you've found a bug. I have tested the \DOS{} version
+against the \VV{} implementation, but there are bound to be errors which
+haven't been detected.
+
+Once you're fairly sure that this implementation of \BT{} is at fault,
+I'd like to hear from you so that I can fix the problem. To help me
+diagnose the fault, please supply the following information with your bug
+report:
+
+\begin{itemize}
+ \item a description of the problem
+ \item the {\tt AUX} and {\tt BIB} input files that caused the problem
+ \item the {\tt BBL} and {\tt BLG} output files produced by \BT{}
+ \item if possible, the {\tt BBL} and {\tt BLG} output files produced by
+ another implementation of \BT{}.
+\end{itemize}
+
+\noindent Please send the bug report to me, preferably at the e-mail
+address given in section~\ref{sec:contact-address} below. Please {\em do
+not\/} send bug reports to Oren Patashnik as any fault is almost bound to
+be in my translation from the original \WEB{} source.
+%
+%-----------------------------------------------------------------------
+% CONTACT ADDRESSES
+%-----------------------------------------------------------------------
+\section{Contact Address}\label{sec:contact-address}
+If you have any suggestions or (constructive) criticisms, I would welcome
+your comments, preferably to the e-mail address below.
+
+\begin{tabular}{@{}ll}
+ & \\
+{\bf Name} & Niel Kempson\\
+{\bf Mail} & School of Electrical Engineering and Science,\\
+ & Royal Military College of Science,\\
+ & Shrivenham,\\
+ & SWINDON\\
+ & SN6 8LA\\
+ & United Kingdom \\
+ & \\
+{\bf Phone} & Swindon (0793) 785687 (UK)\\
+ & +44-793-785687 (International)\\
+ & \\
+{\bf E-mail} &
+ \begin{tabular}[t]{@{}ll}
+ {\tt JANET} & {\tt tex@uk.ac.cranfield.rmcs}\\
+ {\tt INTERNET} & {\tt tex\%uk.ac.cranfield.rmcs@nsfnet-relay.ac.uk}\\
+ {\tt BITNET/EARN} & {\tt tex\%uk.ac.cranfield.rmcs@ukacrl}\\
+ {\tt UUCP} & {\tt \{mcvax|uunet|ukc\}!rmcs.cranfield.ac.uk!tex}
+ \end{tabular}
+\end{tabular}
+
+
+%
+%-----------------------------------------------------------------------
+% BIBLIOGRAPHY (Included here so that this guide can be printed
+% BEFORE installing BibTeX)
+%-----------------------------------------------------------------------
+\addcontentsline{toc}{section}{References}
+\begin{thebibliography}{99}
+ \bibitem{latexbook}
+ Leslie Lamport.
+ \newblock {\em {\LaTeX \rm:} {A} Document Preparation System}.
+ \newblock Addison-Wesley, 1986.
+
+\bibitem{btxdoc}
+ Oren Patashnik.
+ \newblock {{\BT ing}}.
+ \newblock Documentation for general {\BT} users, 8~February 1988.
+ \newblock {\bf Note:~} the \TeX{} source for this document is in the
+ file {\tt BTXDOC.TEX}
+
+\bibitem{btxhak}
+ Oren Patashnik.
+ \newblock Designing {\BT} styles.
+ \newblock The part of \BT's documentation that's not meant for general
+ users, 8~February 1988.
+ \newblock {\bf Note:~} the \TeX{} source for this document is in the
+ file {\tt BTXHAK.TEX}\end{thebibliography}
+
+\end{document}
+
+
diff --git a/biblio/bibtex/ms-dos/kempson/sources.boo b/biblio/bibtex/ms-dos/kempson/sources.boo
new file mode 100644
index 0000000000..d0a0c2db4d
--- /dev/null
+++ b/biblio/bibtex/ms-dos/kempson/sources.boo
@@ -0,0 +1,2772 @@
+SOURCES.ZIP
+D4\310X0~21@3JNm<BDT;H0k0Z~2fI8000P0~2@TU2E4EH;T<2904P@189T642Y940JBI0gPZ@
+o`;T?R10kP^@L`00291_P00i1`R@L`;TQ02i;T0N2i1l0210]PV@g`0P@=X:T6@4i9e=R`3Y;D2j
+2i1c0RB800T>292A0^Bj08T^@;830Z@W~20^B209TV@<h9T202i:006BI0iPV@M0:T\P19;d2F
+0`;TV`3I3PR@L`;T@00Y@<h9T7l2Y9`0NB]0bP^@P@:TY0299T3F2Y1cP0391@R@Hh006BI0YP42
+98P06BY0iP<2I;X0^Bi0NP^@]`00009TX03i8T3V2I24P01I9T322I3\0^BK09TV@88;T;d298X0
+V@V03`420`D_lL4O4@Cb1^4R\I5?8A;AD@L=2<9O4m:QHC600>T]@0X;T682Y9`0NBM0ePZ@B09T
+]P2I1PR@FP@TGAZ40;TT@7X;T7<2I9SP1bU0`P^@808TV@1IAT22c<4AJGB@I@AT6UXH4@IImXI0
+^]7=bK6eSB6@IG8PHFQ_G`@T7DPIDPKi5PJB9^L6891ULVmeHF`PT9`KI9dI7=_M70SMFe\JfAP2
+B@M2ESIgUXI0U\65YMFm]B6@IFmQK21YN@CTUe2I05V7^=6acD7:UHTQHI1UKfTPLU04I5TJ20:I
+mPHBAUNG0462b;VAcM7Q]Hf5\IW1OIDAT6DPK`QTf1\JGEYI7E46bIJ6b=6a^D7>]H48T2D8i=LD
+71FDTIT0jBE0KPV@KP;TUP1I943J4I19GeH2I17A50@YAd1BBKTQT4EBIEl\EDT8I14E25gJD1T2
+FICDA1FDm@@@T59?M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=i1?cd8J01Xff[EehH80IXE03O3S?nC_SQV<A35T^kQYL<j4KI[0a`F5
+M``76GDQR@CTCcOY@0=ITQ?4]E2V7^@YM`W>7d`30S8LT^644oRL`@l4;?:@>HHD5XKlG4<B06FK
+9R8X0983abA:bPIZBbg8?b]OP=Rg4n1XCQV9YMad=T=b8VPYi5LO@Q8P3YXd@bG1neA813ON;d^F
+S4Q2gbS2Rd24UV<88d4:8X2k07M0`_`0i:8X9B@H@OP6[2@d302h95\G3ZLAP@4hN=Tfjc`0XXaS
+V43cPON[6LXf`K9460RaIdX70:d\9`cUmTD3o9<?3cl@^SR6o6LJ=FRQE7LD;K89DL0;]a7FRIW0
+fDHCgaAEh]9]7J9dWIP9b70807oQA=R;4NY4>Y`a=@=e0VLLgdS1O6iM\G=0H2X088oMPO`30JbH
+YR9:Y`@_^X@CDHT7`:hlhM?4aC]R=c0EfGM81P2ZMnFPTXl6D4\310X0~21@34S\hBkId6_YX?
+~2Wc@000T0~2Ad9<ET5BDbi80X>202T4291m0^@I~20^@A~5P\81840f~4P03I10R@bP0000:3
+0R2l^@V@6@00~6291ePX9000T0@00Y@0X9T6h2i1T@@08000R@L88211100P00006T05T=00;T
+7000PP83843>1I0000B@0V@_~3842J0H829210^P4190000210]P^@d09T>@103`4O0_l31O7_
+hC4_gi5Ad@;T7000@00I@0819000~3P02I1`R@8800jBm0`Q6@GgAY@UZH05V6@;Ji\IWQdLdQ
+T6EbJ65_JG@47F@I205IU_HV@=HQT6EbK6QdKf686fBM71cKVaT2BGMFAUJG=TI0Q\6E8I1UJFmQ
+85m[0VBI07V8^=51\XW=VIDAHI1_J@BT75\I0NWfUXI0b[WQVHEmcB6@IB1eKfUOL`CTVa`J`@Ki
+EHK8\D7BcKVeS@48i=SDGIYHV940jBA0eP4000QDGd:B7@08T4D45B@MR01I10Q1K`01nDDE91A1
+4TE1T6n005U73;UA>@42I16A1^WVA41R4KT9T6D494S@6h18@C8=DDgEE@44I0A40`08T7E20j@0
+fBA0cP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E@2MVHC;0ZBAJ4XJ9hPdAF@@j`AT0?Ma5ak
+BX;B>HVm>i`801ZQ<9SG6I@=7Zg;P\86`QC\NX@O?37_RS5jbk1TbGh1=`a757CZ2m7TBQYl3L6X
+0E1;0`@:~31@3LM=<B1SWRiKh=~24bH000P0~2DeUCA4E@;TP0~2P0091`B@~6@009221]~90V@9
+~2P01Y1PR@JD002@00~80B@0~6290]~60Z@O842N0`0P@;h00210>P40~5P0191@00~4292e0Z@i
+040?0@<O0RlAdN481PAODV4b~520UJ0210OP00~2P03Y1`QQ806T03TWP402@UZHD0J9^47>dLV]
+SL4QT6EXHB1bJFl490QM6E86VAKf1S961a1bT6EQR1bTFaeL6mTH0WU6AUL6lYI6@8JE`B6@IB1\
+JF5_M@8T282hdK51cYFeWA6@IF5_16AIFQd1V@KbQT3:^H7<THfa4I1UJFl891[MVe`IFiY@1XW@
+@LZa^KG=S@40~4291HP104BD1BCCT9T4D299D0F@@@T653@H:D4`59mOA6C3dEY@V@A@10>54a
+2@V@Gd8AY00IA406ODTAT6EQC`8TR02IA50a@F81`P2T01T600;TZP199T3>08002@80P01Y3PP`
+T0BTRU6300TR@;H8T2200:TR@888T5P2i9`02@80~2@21YKF4XT7M_I7E\IU13MW@0~6842f0P00
+00C1PD0282Q00P01>O868T0:0@9T7B0Ld0<0~2;e8A0i0;H<>7T:331nB4?a\0Z;<Y978:0QYi
+J18WJIH>XP^BB80000Y=:iIZFJ`P?4bG>G>>1K46WNA=@C0mIVX35l\VP1CFVLPiUE\7gA`TR2LI
+iYI4?QGT2aiLJP8XhPdY1R1<c\dkAmWFAJ0^c3Gj1P[]jkJAc82oTCYB8NLTbETlifF0_V0XYA9]
+HYMD\E85\B8@5L<0T18Td@ec@:=^[RQ?de2@B:ERjdA8MN51lbHUFYE9I;ROVSFEJ56X;Y5hdM1X
+U@nUV_A9i019Y6H2=<<R`WUJJA2XL2@B6HRlKW8>hP?^fkUcH2mM1:LP9Bn@[K2WJB@RD^NH\NaL
+=5^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xd^Oc[a5P<I3M72Q<XA;4RM3V5@QDXBjnO?Xdj]O;mg5
+M@3I]gMWTT@8no_hln\oob80U?d00`0HX7<`1=3B33;T54<0<<U@`g8b;0Q03330T=<<0B`VX8HK
+LVPN3@5h080:6mH0XXPKfV3RR1[NX>:6>;RXH@ha2ZP3S@7^L2>0?>RhG`o_MARTT47jD200>2cg
+Pgm3<TTM4<W1Yid@gcDIH11;EYUULoolDe96D4\10PX02P0000D0fW_C4U92f0>`:P00fI8000P0
+~60@0P~7@TU2E4EH;T=@B`422P0:~31@39LM<BWa8BmGm8~2;OP000P0~60@0P~3eRX00499@UA5
+F2i8D4\10PX02P000040[7_C4VlE=]PX~3@@0000X0~60@0P~3Ng<00499@UA5F2i@DTY@B`42
+2P0:~31@2hS\hB^ii\b@@8~2:A8000X0~60@0P~3bg<004A1E45DFE15;TQ@B`422P0:~31@2m
+S\hBgd]aL\D?~2GS\000T0~60@0P~3mg\004EHE5I1DU<^B51;0@8:00X0~21@31S\hBMGCYn1H?
+~27CL000X0~60@0P~3hh\004M2C51BCd=C;TQ@B`422P0:~31@34S\hBkId6_YX?~2Wc@000T0
+~60@0P~38I\004M2C5I1DU<^B51;0@8:00X0~20@3`M=<BWd\9i:02~2d`D000P0~60@0P~3hZX0
+04e1BdE6BDa5D4\10PX02P0000D0fW_C4Q7b>k8H>000d=<000L0~60@0P~3Z:d00511DU@a;T=@
+B`422P0:~31@3JNm<BRI_`62Ta~2SK4000L0~60@0P~3iND00511DU@b;T=@B`422P0:~31@3J
+Nm<BUjB1]5Hm~2hmd000L0~60@0P~3<aL10511DU@c;T=@B`422P0:~31@3JNm<B0k_k?J8j~2
+RLP000L0~60@0P~3[U@10511DU@d;T=@B`422P0:~31@3JNm<BcJnW5\Ll~23>@000L0~60@0P
+~3MHl10511DU@e;T=@B`422P0:~31@3JNm<BDElYaM0f~2`LD000L0~60@0P~3HL`10511DU@f
+;T=@B`422P0:~31@3JNm<BGDlio2@b~2C<@000L0~60@0P~3EP<20511DU@g;T=@B`422P0:~3
+1@3JNm<BOcKd7<hP~2XWh000L0~60@0P~3WcD20511DU@h;T=@B`422P0:~31@3LM=<B1SWRiKh=
+~24bH000P0~60@0P~3TUH205=IDdA5D2i8D4\10PX02P000040n8ZM4YoG[cNI0@00VPH000\0
+~8800007IT0P1D@d=?CTI9AbiD@e1;1@H0~34P0B0<l3~2>6H2~5
diff --git a/biblio/bibtex/utils/BibBuild/Bibliography Builder.fp7 b/biblio/bibtex/utils/BibBuild/Bibliography Builder.fp7
new file mode 100644
index 0000000000..2e6dda3a5f
--- /dev/null
+++ b/biblio/bibtex/utils/BibBuild/Bibliography Builder.fp7
Binary files differ
diff --git a/biblio/bibtex/utils/BibBuild/README b/biblio/bibtex/utils/BibBuild/README
new file mode 100644
index 0000000000..15adc4757f
--- /dev/null
+++ b/biblio/bibtex/utils/BibBuild/README
@@ -0,0 +1,84 @@
+READ ME File for Bibliography Builder
+
+Version 1.0, August, 2005
+
+Steven Harrod
+828 Summerville Dr.
+Lexington, KY 40504
+
+harrodss@email.uc.edu
+
+Copyright 2005, All rights reserved
+
+###############################################
+
+This database will record your bibliography entries and any notes you have, and allow you to group them by project. Entries that are used in more than one project need only be entered once. The database will then format the entries into BibTex compatible files, and provide other handy references such as a short index of citiation names or a LaTeX format summary of notes. Operation of the database is intended to be as self evident as possible.
+
+To start, you must name at least one project, by typing that name at the next blank line on the Main Menu. To each project, add entries for your bibliographic items. Data entry fields appear and disappear according to the bibliographic entry type chosen. Starred fields are usually required for BibTex.
+
+The database attempts to choose a LaTeX citation reference for you, but when the same author(s) occur in the same year, you will have to manually eliminate duplicate references. Also, you must manually encode special characters (% ~ $) within your entries. The database performs some very basic testing for bad characters in the BibTex output, but this test is not robust.
+
+You may email questions to harrodss@email.uc.edu, but remember this is an unpaid effort!
+
+LICENSE ############
+
+Bibliography Builder was created by Steven Harrod. You may contact the author by sending an email to the address displayed above.
+
+Concept and implementation remain the sole copyright of the author. Permission is hereby granted to non-profit organisations, academic societies, schools, and public service organizations only to redistribute this application, provided all files and acknowledgements are retained.
+
+Re-distribution in any commercial form including CD-ROM or any other media is hereby forbidden, unless with the express written permission of the author. What follows below is a formal license statement.
+
+BY INSTALLING THIS SOFTWARE:
+
+YOU AGREE TO BECOME BOUND BY THE TERMS OF THIS LICENSE. IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT INSTALL OR USE THIS SOFTWARE AND PROMPTLY DESTROY ALL COPIES.
+
+The attached program ("Software") is licensed, not sold or given, to you by Steven Harrod for use only under the terms of this License, and Steven Harrod reserves any rights not expressly granted to you. You own the media on which the Software is recorded or fixed, but Steven Harrod and its licensors retain ownership of the Software itself.
+
+1. License.
+
+This License allows you to:
+
+(a) Use the software on any computer for individual use or academic publishing purposes only. To "use" the Software means that the Software is either loaded in the temporary memory (i.e., RAM) of a computer or installed on the permanent memory of a computer (i.e., hard disk, etc.).
+
+(b) Distribute copies of the complete, unmodified software directly to persons known by you, fellow members of a society or organization, or students, and the charging of any fee is prohibited. As an express condition of this License, you must reproduce on each copy any copyright notice or other proprietary notice that is on the original copy supplied by Steven Harrod.
+
+2. Restrictions.
+
+The Software contains trade secrets in its human perceivable form and, to protect them, you may not REVERSE ENGINEER, DECOMPILE, DISASSEMBLE OR OTHERWISE REDUCE THE SOFTWARE TO ANY HUMAN PERCEIVABLE FORM. YOU MAY NOT MODIFY, ADAPT, TRANSLATE, RENT, LEASE, LOAN OR CREATE DERIVATIVE WORKS BASED UPON THE SOFTWARE OR ANY PART THEREOF.
+
+2a.) You may modify or adapt this software for your individual use.
+
+2b.) You MAY NOT distribute, rent, lease, or loan derivative works based upon the software or any part thereof.
+
+2c) You may not distribute copies of this software, in any form, as part of a commercial product, publication, shareware selection, or other collection of programs.
+
+3. Termination.
+
+This License is effective until terminated. This License will terminate immediately without notice from Steven Harrod or judicial resolution if you fail to comply with any provision of this License. Upon such termination you must destroy the Software, all accompanying written materials and all copies thereof, and Sections 6, 7 and 8 will survive any termination.
+
+4. Passwords.
+
+The Software licensed to you contains features which are protected by certain passwords. Unless permitted in writing, you are not authorized to enter, remove or change such passwords, and only Steven Harrod is authorized to enter, remove or change such passwords.
+
+5. Export Law Assurances.
+
+You agree that neither the Software nor any direct product thereof is being or will be shipped, transferred or re-exported, directly or indirectly, into any country prohibited by the United States Export Administration Act and the regulations thereunder or will be used for any purpose prohibited by the Act.
+
+6. Limited Warranty.
+
+Steven Harrod warrants for a period of ninety (90) days from your date of purchase that (i) the media on which the Software is recorded will be free from defects in materials and workmanship under normal use, and (ii) the Software as provided by Steven Harrod will substantially conform to Steven Harrod's published specifications for the Software. Steven Harrod's entire liability and your sole and exclusive remedy for any breach of the foregoing limited warranty will be, at Steven Harrod's option, replacement of the media, refund of the purchase price or repair or replacement of the Software.
+
+THIS LIMITED WARRANTY IS THE ONLY WARRANTY PROVIDED BY Steven Harrod AND Steven Harrod AND ITS LICENSORS EXPRESSLY DISCLAIM ALL OTHER WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE WITH REGARD TO THE SOFTWARE AND ACCOMPANYING WRITTEN MATERIALS. BECAUSE SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF IMPLIED WARRANTIES, THE ABOVE LIMITATION MAY NOT APPLY TO YOU.
+
+7. Limitation of Remedies and Damages.
+
+In no event will Steven Harrod, its parent or subsidiaries or any of the licensors, directors, officers, employees or affiliates of any of the foregoing be liable to you for any consequential, incidental, indirect or special damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information and the like), whether foreseeable or unforeseeable, arising out of the use of or inability to use the Software or accompanying written materials, regardless of the basis of the claim and even if Steven Harrod or a Steven Harrod representative has been advised of the possibility of such damage. Steven Harrod's liability to you for direct damages for any cause whatsoever, and regardless of the form of the action, will be limited to the greater of $500 or the money paid for the Software that caused the damages.
+
+THIS LIMITATION WILL NOT APPLY IN CASE OF PERSONAL INJURY ONLY WHERE AND TO THE EXTENT THAT APPLICABLE LAW REQUIRES SUCH LIABILITY. BECAUSE SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES, THE ABOVE LIMITATION MAY NOT APPLY TO YOU.
+
+8. General.
+
+This License will be construed under the laws of the Commonwealth of Kentucky, except for that body of law dealing with conflicts of law. If any provision of this License shall be held by a court of competent jurisdiction to be contrary to law, that provision will be enforced to the maximum extent permissible, and the remaining provisions of this License will remain in full force and effect. If the Software is supplied to the United States Government, the Software is classified as "restricted computer software" as defined in clause 52.227-19 of the FAR. The United States Government's rights to the Software are as provided in clause 52.227-19 of the FAR.
+
+__________
+version 07-98, free demo distribution document
diff --git a/biblio/bibtex/utils/BibTexMng/README b/biblio/bibtex/utils/BibTexMng/README
new file mode 100644
index 0000000000..64b9828b76
--- /dev/null
+++ b/biblio/bibtex/utils/BibTexMng/README
@@ -0,0 +1,30 @@
+BibTexMng
+Version 6.0
+
+BibTexMng is a very easy to use product of bibliographic software for Windows. BibTexMng combines online searching, reference management, bibliography making, and information sharing into a single user-friendly environment. It was written to be used with LaTeX, using BibTeX.
+
+BibTexMng is a program for manipulating BibTeX database files. These files contain all the relevant data, and sometimes additional information such as abstracts and keywords, but do not specify the final format in which this data will be presented. The data is organized into records, in which each record is identified by a unique key or label.
+
+BibTexMng requires Windows XP or Vista, or later editions of MS Windows.
+
+We do not warrant that the software is error free.
+
+This is not free software. Subject to the terms below, you are hereby.
+
+Licensed to use Shareware Version of this software for evaluation purposes without charge for a period of 30 days. The free evaluation period starts at the moment of installation of the software.
+
+New features in version 6.0:
+• The program rewritten to use the WinForm components in the language C#
+• Internal Xml format used for bibliographic records
+• Support for advanced search capabilities of bibliographic records in the database
+• Import bibliographical data on the basis of Google Scholar service
+
+Installation
+
+BibTexMng is distributed as BibTexMngSetup.exe. Run BibTexMngSetup.exe and simply follow the on-screen instructions to install BibTexMng.
+
+BibTexMng is copyright (C) 2000-2009, by VNP Comp.
+
+Contact:
+Home Page: http://www.latexsoft.com
+e-mail: bibtexmng@latexsoft.com
diff --git a/biblio/bibtex/utils/JavaBib/JavaBib1.jpg b/biblio/bibtex/utils/JavaBib/JavaBib1.jpg
new file mode 100644
index 0000000000..09379f87fc
--- /dev/null
+++ b/biblio/bibtex/utils/JavaBib/JavaBib1.jpg
Binary files differ
diff --git a/biblio/bibtex/utils/JavaBib/describe.html b/biblio/bibtex/utils/JavaBib/describe.html
new file mode 100644
index 0000000000..30581cbaf6
--- /dev/null
+++ b/biblio/bibtex/utils/JavaBib/describe.html
@@ -0,0 +1,142 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <meta name="Author" content="John Janmaat">
+ <meta name="GENERATOR" content="Mozilla/4.76 [en] (X11; U; Linux 2.2.16-22 i686) [Netscape]">
+</head>
+<body>
+
+<center>
+<h1>
+JavaBib III</h1></center>
+
+<h2>
+Background</h2>
+JavaBib is my attempt to make it easy to manage BibTeX files for the LaTeX
+document processing environment.&nbsp; BibTeX files are files which contain
+bibliographic information which the BibTeX program can use to generate
+citation and reference information in LaTeX documents.&nbsp; As for everything
+else associated with TeX, the data files themselves are bare text.&nbsp;
+This has the tremendous advantage of making the documents system independent.&nbsp;
+However, flat text files are a rather unwieldy way to manage a database.
+<p>My own experience with document preparation has been in part an exercise
+in locating references lost under a stack of papers in some office of mine.&nbsp;
+I have found that I waste a lot of time looking for that perfect reference,
+and often just give up in the search.&nbsp; To make this situation a little
+better, I have tried to write a reference manager.&nbsp; The first incarnation
+was a simple database under MicroSoft Access.&nbsp; This was O.K. for storing
+the information, but rather useless for anything else.&nbsp; When I began
+to use LaTeX, I found that the Access program was just a waste of hard
+disk space, as I ended up working in Linux.&nbsp; Thus began my attempt
+to build a nice GUI front end for BibTeX.
+<p>The first incarnation of JavaBib was a command line based processor
+that could search and modify databases.&nbsp; I stuck some GUI components
+on top of this, but overall it was not all that effective.&nbsp; A second
+pass was built from the ground up to be a GUI application.&nbsp; It was
+somewhat better, but remained a little buggy.&nbsp; Rather than fix the
+bugs, I vowed to develop a third version that both fixed the bugs and dealt
+with some issues not appropriately handled in the first version.&nbsp;
+These issues included the fact that Java can be quite slow when filling
+memory with arrays of non-native Java objects.&nbsp; JavaBib and JavaBib
+II both loaded an entire JavaBib file into memory as a vector of BibTeX
+records.&nbsp; This can be quite slow to load.&nbsp; Since most of the
+time using JavaBib is simply adding extra entries to an existing file,
+the speed issue proved to be a great inconvenience.
+<p>JavaBib III follows a completely different format.&nbsp; Rather than
+reading an entire file into memory, it builds an index for the file.&nbsp;
+This index allows access to specific entries in the file.&nbsp; Once the
+index has been built, it is all that is loaded for subsequent uses, so
+long as the underlying data file is not changed.&nbsp; Startup is much
+faster this way, and most operations are not slowed up too much by accessing
+the file on the disk.&nbsp; The two operations that are considerably slowed
+by this approach are finding and searching.&nbsp; However, I think this
+is an appropriate tradeoff given the other benefits.
+<h2>
+How It Works</h2>
+A JavaBib session begins by invoking the program.&nbsp; This is usually
+done from the command line, as I have not yet figured out an easy way to
+run it as a click-able icon on a desktop.&nbsp; On startup, JavaBib looks
+for a configuration file.&nbsp; This configuration file contains a history
+of files that have been worked on and dimensions for the JavaBib window.&nbsp;
+The parameters are loaded if found, or default values are set if the configuration
+file is missing.
+<p>At this point, JavaBib displays a blank main window.&nbsp; In front
+of this window a startup dialog is shown.&nbsp; This dialog lists the names
+of up to ten previously opened files.&nbsp; You can select one of these,
+or choose to open a new or unlisted file.&nbsp; Once it has a file name,
+JavaBib checks to see if there is an index file to go along with the file
+you selected.&nbsp; Index files have the extension '.bdx'.&nbsp; If it
+finds an index file, the index information is loaded.&nbsp; The index file
+stores the last modification time and file size of the BibTeX file to which
+it refers.&nbsp; If these match the conditions of the file, then the index
+is used to locate the first entry, which is displayed in the main window.
+<p>If an index file is invalid or cannot be found, then JavaBib will construct
+one.&nbsp; To construct an index, JavaBib reads the entire BibTeX file.&nbsp;
+The index contains the file position of the first character after a valid
+record, the key of the next record in the file and the key of the last
+record in the file.&nbsp; Once the index is built, then the first record
+is displayed.&nbsp; If the file itself cannot be found, then a new file
+is opened and made ready to receive records.
+<p>Records are copied from the file to the display panel.&nbsp; One copy
+is maintained in memory, and another displayed.&nbsp; When the user chooses
+to add a new record or display a different record, the information in the
+display panel is converted into a BibTeX record which is compared to the
+one in memory.&nbsp; If they do not match, then the user is asked about
+saving the changes.&nbsp; Before saving, the record is checked for validity.&nbsp;
+All required fields must contain information, and the record must have
+a unique key.&nbsp; If there is a cross reference entry, it must exist
+and it must not be nested.
+<p>When writing new entries or changes, these are appended to the end of
+the file.&nbsp; For records that have been changed, the record in the file
+is deleted.&nbsp; Deleting an entry consists of replacing its information
+with a line of '%' symbols.&nbsp; TeX and BibTeX consider the '%' as a
+marker for comments, and thus ignores these lines.&nbsp; If the new record
+contains a cross reference entry, then the information for the cross reference
+is deleted from the inside of the file and rewritten at the end of the
+file.&nbsp; This operation is required to ensure that any entry which is
+referred to in a cross reference appears after the reference.&nbsp; Also,
+when a referenced record is moved, the field 'BOOKTITLE' is added.&nbsp;
+Clearly, using cross references extensively will result in a file that
+is full of empty records.&nbsp; To clean up such a file, the compress operation
+recreates the file and removes any extraneous material between records.&nbsp;
+Since BibTeX records are written to the file with each edit, if JavaBib
+does crash, only the record being worked on will not be recorded.&nbsp;
+All previous work will have been added to the file.
+<p>Search and find operations proceed through the file.&nbsp; Find operations
+move forward from record to record as they are displayed in the list on
+the left side of the main window.&nbsp; Since the alphabetical list need
+not reflect the order in the file, this operation involves much disk access.&nbsp;
+The search operation is a little more efficient.&nbsp; It begins by constructing
+its own index with the keys ordered by file position.&nbsp; The search
+then begins at the beginning of the file and reads forward through this
+index list.&nbsp; The file pointer is always moving in one direction.&nbsp;
+If the system on which JavaBib is run reads ahead and buffers disk information,
+this search should not be too slow.
+<p>Cutting, copying, and pasting records is done via a clipboard.&nbsp;
+On a Windows system, the system clipboard is used.&nbsp; Thus, the text
+representation of BibTeX records can be copied and pasted between JavaBib
+and other applications.&nbsp; Note that this can be dangerous if information
+being pasted into JavaBib does not conform with the required BibTeX record
+format.
+<p>When JavaBib shuts down, it closes the BibTeX file.&nbsp; It then reads
+the last modification date and file size which it stores in the index file.&nbsp;
+The index file is written to the disk as a text file.&nbsp; Once completed,
+the window is closed.&nbsp; On exiting the program, the parameter file
+is written to the disk.
+<h2>
+Download</h2>
+JavaBib is packaged as a .jar file.&nbsp; These files are readable by Java
+directly.&nbsp; Thus, to install and run JavaBib, just download JavaBib.jar.&nbsp;
+To run the program, simply type "java -jar JavaBib.jar" at the command
+line.&nbsp; I leave the installation of a Java runtime environment to you.&nbsp;
+To find out about this, go to <a href="www.sunsoft.com">www.sunsoft.com</a>.
+<p><a href="JavaBib.jar">JavaBib.jar</a>
+<p>Note: You may need to right click on the link and then select 'save
+link as' to get the download to work.
+<h2>
+Feedback</h2>
+If you have any comments about this program, please feel free to contact
+me at <a href="mailto:jjanmaat@acadiau.ca">jjanmaat@acadiau.ca</a>.
+</body>
+</html>
diff --git a/biblio/bibtex/utils/JavaBib/docs.html b/biblio/bibtex/utils/JavaBib/docs.html
new file mode 100644
index 0000000000..729d577e40
--- /dev/null
+++ b/biblio/bibtex/utils/JavaBib/docs.html
@@ -0,0 +1,270 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <meta name="Author" content="John Janmaat">
+ <meta name="GENERATOR" content="Mozilla/4.76 [en] (X11; U; Linux 2.2.16-22 i686) [Netscape]">
+</head>
+<body>
+
+<center>
+<h1>
+JavaBib III Documentation</h1></center>
+
+<h2>
+Contents</h2>
+
+<ul>
+<li>
+<b><font size=+1><a href="#startup">Startup</a></font></b></li>
+
+<li>
+<b><font size=+1><a href="#file">File Menu</a></font></b></li>
+
+<li>
+<b><font size=+1><a href="#edit">Edit Menu</a></font></b></li>
+
+<li>
+<b><font size=+1><a href="#records">Records Menu</a></font></b></li>
+
+<li>
+<b><font size=+1>Search Menu</font></b></li>
+
+<li>
+<b><font size=+1>Cite Menu</font></b></li>
+
+<li>
+<b><font size=+1>Window Menu</font></b></li>
+
+<li>
+<b><font size=+1>Help Menu</font></b></li>
+</ul>
+
+<h2>
+<a NAME="startup"></a>Startup</h2>
+The method by which JavaBib is started depends on the installation you
+choose.&nbsp; If you are running the program from a '.jar' file, type '<b>java
+-jar JavaBib.jar</b>'&nbsp; The '.jar' file contains a manifest file which
+indicates which class contains the 'main' method.&nbsp; Alternatively,
+you can unpack the '.jar' file into a directory.&nbsp; The class files
+will then be present as separate files.&nbsp; This method of loading the
+files may be slightly faster as each file does not need to be unpacked.&nbsp;
+However, since the Java interpreter only loads each class once, the performance
+benefit will be quite small.&nbsp; If you have installed JavaBib in this
+way, execute it by typing '<b>java JavaBib</b>'.&nbsp; For both types of
+execution, one can add a file name to indicate which file JavaBib is to
+open.
+<p>Once JavaBib has been launched, the main window with a blank edit panel
+appears.&nbsp; In front of this the startup dialog is displayed.&nbsp;
+The startup dialog shows a list of files that have previously been opened.&nbsp;
+To open one of the listed files, you can either double click on it or select
+it, choose 'open listed file', and press continue.&nbsp; The selected file
+is then opened.&nbsp; If the file you want to edit is not listed, or you
+want to start a new file, select 'open new or unlisted file' and press
+continue.&nbsp; A file dialog will be displayed, where you can select a
+file to open or type in a new file name.&nbsp; Note that the file name
+must have a '.bib' extension.&nbsp; If the selected file does not have
+a '.bib' or '.bdx' extension, then the selected file name will have '.bib'
+appended to it.
+<p>JavaBib tries to open the named file.&nbsp; The first step in opening
+the file is to look for an index file.&nbsp; Index files have the extension
+'.bdx'.&nbsp; The index file contains the name of the associated BibTeX
+file as well as the length of the file and the date when it was lasted
+edited.&nbsp; If the index file is found, it is opened.&nbsp; If the matching
+BibTeX file exists and if the length and last modified date are correct,
+the index is loaded into memory.&nbsp; The index file contains the location
+of each entry in the '.bib' file, as well as pointers to the previous and
+next entry.&nbsp; If the index file is not present, then the BibTeX file
+itself is checked for.&nbsp; If it is found, then an index is generated
+for the file.&nbsp; If the BibTeX file is also missing, then a new BibTeX
+file is opened and made ready for writing.
+<h2>
+<a NAME="file"></a>File Menu</h2>
+
+<ul>
+<li>
+<b><font size=+1><a href="#file->open">Open</a></font></b></li>
+
+<li>
+<b><font size=+1><a href="#file->close">Close</a></font></b></li>
+
+<li>
+<b><font size=+1><a href="#file->compact">Compact</a></font></b></li>
+
+<li>
+<b><font size=+1><a href="#file->import">Import</a></font></b></li>
+
+<li>
+<b><font size=+1><a href="#file->export">Export</a></font></b></li>
+
+<li>
+<b><font size=+1><a href="#file->exit">Exit</a></font></b></li>
+</ul>
+
+<h3>
+<a NAME="file->open"></a>Open</h3>
+Opening a file repeats the operation that occurs when JavaBib is first
+launched.&nbsp; Upon selecting open, a startup dialog is displayed.&nbsp;
+This dialog lists the names of recently opened files.&nbsp; The user may
+select one of these or open a new file.&nbsp; Note that only one file can
+be accessed at one time.&nbsp; JavaBib does not load the BibTeX file into
+memory.&nbsp; Rather, the file is accessed one record at a time, as needed.&nbsp;
+Simultaneous access on the same file can lead to problems whenever new
+records are added.&nbsp; Thus, it is not advisable to have one file open
+more than once.
+<h3>
+<a NAME="file->close"></a>Close</h3>
+The close operation closes the displayed window.&nbsp; If the file does
+not have any records, it is deleted from the disk and the index is not
+written.&nbsp; If the file has records, then after the file is closed the
+index file is also written.&nbsp; If the window being closed is the last
+window, then the application is closed.&nbsp; On closing, the properties
+file is also written to the disk, storing the dimensions of the window
+and the list of files that have been worked on.
+<h3>
+<a NAME="file->compact"></a>Compact</h3>
+The compact operation removes extra space from the database.&nbsp; When
+records are deleted or modified, they are overwritten with a line of comment
+characters.&nbsp; New records are always added to the end of the file.&nbsp;
+Records which contain cross references are added to the end of the file,
+after which the referred to record is moved to the new end of the file.&nbsp;
+This ensures that BibTeX conventions are satisfied.&nbsp; However, it also
+means that files will end up full of spaces.&nbsp; The compact operation
+removes this extraneous space from between the records.
+<h3>
+<a NAME="file->import"></a>Import</h3>
+Records from other BibTeX files can be imported into an open file.&nbsp;
+To this point, text files are the only source of import.&nbsp; When this
+option is selected, a file dialog is displayed so that the user can select
+which file to open from.&nbsp; Note that if you try to import records from
+a file which is not a BibTeX data file, you may crash JavaBib.&nbsp; Be
+careful importing data.
+<h3>
+<a NAME="file->export"></a>Export</h3>
+The export operation writes selected entries to a new file.&nbsp; When
+export is selected, a file dialog is opened.&nbsp; Enter the name of the
+file to export to.&nbsp; The selected entries will then be written to this
+file.
+<h3>
+<a NAME="file->exit"></a>Exit</h3>
+Selecting exit closes all windows and shuts down JavaBib.&nbsp; On exit,
+the index files for each open database is written.
+<h2>
+<a NAME="edit"></a>Edit Menu</h2>
+
+<ul>
+<li>
+<b><font size=+1><a href="#edit->new">New</a></font></b></li>
+
+<li>
+<b><font size=+1><a href="#edit->clear">Clear</a></font></b></li>
+
+<li>
+<b><font size=+1><a href="#edit->reset">Reset</a></font></b></li>
+
+<li>
+<b><font size=+1><a href="#edit->cancel">Cancel</a></font></b></li>
+
+<li>
+<b><font size=+1><a href="#edit->options">Options</a></font></b></li>
+</ul>
+
+<h3>
+<a NAME="edit->new"></a>New</h3>
+Selecting New clears the entry panel and presents a blank record for to
+record a new entry.&nbsp; Before displaying the new entry however, any
+currently displayed information is checked for changes.&nbsp; If changes
+have been made, then the user is prompted for confirmation on writing or
+trashing any changed.&nbsp; If the record is to be written, it is checked
+for consistency with the requirements for this record type.&nbsp; The checks
+include the presence of all required fields as well as a unique key.&nbsp;
+If this entry is a cross reference, the presence of a cross reference key
+is checked, and a check is made to ensure that the cross reference does
+not itself contain a cross reference.&nbsp; Once all checks are passed,
+the record is written.
+<h3>
+<a NAME="edit->clear"></a>Clear</h3>
+Clears the information in the active record.&nbsp; All data fields are
+cleared.&nbsp; The record type, citation key and crossreference field are
+not changed by this operation.
+<h3>
+<a NAME="edit->reset"></a>Reset</h3>
+Restore the initial values for this field, before any changes were made.
+<h3>
+<a NAME="edit->cancel"></a>Cancel</h3>
+Cancel the current edit operation.&nbsp; If an existing record is being
+acted upon, then this operation is the same as reset.&nbsp; If a new record
+is being created, cancel causes the edits to be lost and displays the most
+recently selected record.
+<h3>
+<a NAME="edit->options"></a>Options</h3>
+Not yet implemented.&nbsp; In future, this selection will enable various
+program options to be modified.
+<h2>
+<a NAME="records"></a>Records Menu</h2>
+
+<ul>
+<li>
+<b><font size=+1>Cut</font></b></li>
+
+<li>
+<b><font size=+1>Copy</font></b></li>
+
+<li>
+<b><font size=+1>Paste</font></b></li>
+
+<li>
+<b><font size=+1>Delete</font></b></li>
+
+<li>
+<b><font size=+1>Select All</font></b></li>
+
+<li>
+<b><font size=+1>Deselect All</font></b></li>
+</ul>
+
+<h3>
+Cut</h3>
+The records cut menu option deletes the selected records from this file
+and puts the contents of the deleted records into the clipboard.&nbsp;
+All the selected records are transferred to the clipboard as well as any
+required cross referenced records which are not included in the selection.&nbsp;
+This ensures that any pasted records will take with them the cross references
+that are needed.&nbsp; When the records are deleted, they are removed permanently
+from the file.&nbsp; They are overwritten with '%' characters, permanently
+removing the record information from the file.
+<h3>
+Copy</h3>
+Copy the information in the selected records into the clipboard.&nbsp;
+Any additional cross reference information is also copied into the clipboard.&nbsp;
+The records that are placed in the clipboard are passed as plain text.&nbsp;
+The records can thereby be pasted into any other application that shares
+the system clipboard.&nbsp; On the Windows operating system, this works.&nbsp;
+On Linux, the X windows system clipboard does not seem to be the same clipboard
+that Java accesses.
+<h3>
+Paste</h3>
+Paste takes the contents of the system clipboard and reads it as BibTeX
+records.&nbsp; If any records are found, they are added to the file.&nbsp;
+On addition, duplicate keys are checked for.&nbsp; If a duplicate key is
+found, then the user is asked to enter a new key.&nbsp; Selecting cancel
+in response to this operation results in the record not being added.&nbsp;
+If the key is changed, then any records with a cross reference pointing
+at this record will also have their key changed.
+<h3>
+Delete</h3>
+Delete removes the selected entries from the file.&nbsp; The selected records
+are replaced by TeX comment characters, '%'.&nbsp; Selecting delete removes
+the records permanently from the file.
+<h3>
+Select All</h3>
+Select the keys for all the records.&nbsp; When all the records are selected,
+cut, copy, paste, and delete operations can be performed on all the records
+in the file.&nbsp; Selecting this menu option will switch the selection
+mode to multiple if that has not already been done.
+<h3>
+Deselect All</h3>
+Deselct all the records in the file.&nbsp; This method is useful to ensure
+that records in a large file are not subject to undesired operations.
+</body>
+</html>
diff --git a/biblio/bibtex/utils/JavaBib/index.html b/biblio/bibtex/utils/JavaBib/index.html
new file mode 100644
index 0000000000..3b03cce7c3
--- /dev/null
+++ b/biblio/bibtex/utils/JavaBib/index.html
@@ -0,0 +1,47 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <meta name="Author" content="John Janmaat">
+ <meta name="GENERATOR" content="Mozilla/4.76 [en] (X11; U; Linux 2.2.16-22 i686) [Netscape]">
+</head>
+<body>
+
+<center>
+<h1>
+<b><font size=+4>JavaBib III</font></b></h1></center>
+
+<ul>
+<li>
+<font size=+2><a href="describe.html">Description</a></font></li>
+
+<br>&nbsp;
+<li>
+<font size=+2><a href="docs.html">Documentation</a> - in process.</font></li>
+
+<br>&nbsp;
+<li>
+<font size=+2><a href="screen.html">Screen Shots</a></font></li>
+
+<br>&nbsp;
+<li>
+<font size=+2>Download</font></li>
+
+<br>&nbsp;
+<ul>
+<li>
+<font size=+2><a href="JavaBib.jar">JavaBib.jar</a> - run from command
+line with "java -jar JavaBib.jar".</font></li>
+
+<br>&nbsp;
+<li>
+<font size=+2>JavaBib.zip - MS Windows zip file, JavaBib.jar and the documentation.</font></li>
+
+<br>&nbsp;
+<li>
+<font size=+2>JavaBib.tar.gz - Gzipped tar file, JavaBib.jar and the documentation.</font></li>
+</ul>
+</ul>
+
+</body>
+</html>
diff --git a/biblio/bibtex/utils/JavaBib/screen.html b/biblio/bibtex/utils/JavaBib/screen.html
new file mode 100644
index 0000000000..484ff7491f
--- /dev/null
+++ b/biblio/bibtex/utils/JavaBib/screen.html
@@ -0,0 +1,29 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <meta name="Author" content="John Janmaat">
+ <meta name="GENERATOR" content="Mozilla/4.76 [en] (X11; U; Linux 2.2.16-22 i686) [Netscape]">
+</head>
+<body>
+
+<center>
+<h1>
+JavaBib III Screen Shots</h1></center>
+
+<h3>
+Main Window</h3>
+<img SRC="JavaBib1.jpg" height=597 width=707>
+<p>The main window is where most of the work on BibTeX records is conducted.&nbsp;
+The menu bar provides a range of options, from opening new files to modifying
+the existing record.&nbsp; On the left, one can choose which records to
+view.&nbsp; Selecting a record updates the edit panel on the right.&nbsp;
+The control panel at the bottom of the window allows you to move between
+records and some shortcut buttons for record editing.&nbsp; The text field
+at the bottom of the control panel displays a LaTeX citation entry.&nbsp;
+This entry can be copied from this text field.&nbsp; Alternatively, it
+can be copied to the system clipboard by using the 'cite' menu.&nbsp; Unfortunately,
+on some systems Java does not access the same system clipboard as the application
+into which you might want to paste the entry.
+</body>
+</html>
diff --git a/biblio/bibtex/utils/Synapsen/README b/biblio/bibtex/utils/Synapsen/README
new file mode 100644
index 0000000000..8620ec1920
--- /dev/null
+++ b/biblio/bibtex/utils/Synapsen/README
@@ -0,0 +1,30 @@
+Welcome to Synapsen, version 3.0
+
+Synapsen is a hypertextual card index or reference organizer, which is to say a storage system on the basis of an electronic literature database that enables the management of bibliographies. It is especially designed for BibTeX, but it also works without a running TeX system.
+
+In contrast to normal literature management software, synapsen offers a very distinct advantage: with catchwords entered by the user, the program connects individual cards automatically and creates not only a network of cards whose relation to each other might have been forgotten, but also creates completely unexpected connections and relations between individual entries. synapsen is therefore not only for electronic literature management, but also a helping hand when writing scientific texts, which participates in communication with the author in order to augment lines of argumentation and the generation of ideas.
+
+synapsen is written in JAVA. It is shareware: you can use it without any time limitation, but if you really work with the program you are invited to get a personal license code.
+
+What's new:
+
+* New categories for movies, music, and proceedings * Printing of cards with many user settings, extensive printing interface* Improved editing functions for cards * Direct export of the bibliography into a pdf file* Enhancements of the OPAC interface (including articles and papers, new catalogues like bnf.fr)
+
+The main features are (in short):
+
+* Runs on all major operating systems (Windows, Mac OS X, Linux, Unix).
+* Automatic or individual connections between all cards through common headwords.
+* Extensive printing capabilities
+* Direct connection to Open Office 2.2 and MS Word, in order to insert footnotes per mouse click
+* Produces fully BibTeX compliant output, tight connection to LaTeX, but also to word processors via RTF and copy & paste.
+* Support of Philipp Lehman's biblatex-package
+* Direct search and download from OPACs like Library of Congress, Bibliothque Nationale or GBV via the z39.50 interface.
+* Data import and export via BibTeX, PDF and RTF.
+* Complete support of Unicode, i.e. you can simultaneosly work with many different alphabets like cyrillic, hebrew or chinese etc.
+* Support of SQL for the internal database server in order to procure future compatibility of your data. Linkage to external databases like mySQL also possible.
+
+Updates, further information, screen shots, faq's and so on you will find at:
+
+http://www.verzetteln.de/synapsen/
+
+Current version on 2007/11/25: Synapsen 3.0, (c) by Dr. Markus Krajewski, Weimar, Germany \ No newline at end of file
diff --git a/biblio/bibtex/utils/Synapsen/SynManual.pdf b/biblio/bibtex/utils/Synapsen/SynManual.pdf
new file mode 100644
index 0000000000..58edca1ed9
--- /dev/null
+++ b/biblio/bibtex/utils/Synapsen/SynManual.pdf
Binary files differ
diff --git a/biblio/bibtex/utils/Synapsen/info.html b/biblio/bibtex/utils/Synapsen/info.html
new file mode 100644
index 0000000000..e50835a3fc
--- /dev/null
+++ b/biblio/bibtex/utils/Synapsen/info.html
@@ -0,0 +1 @@
+<html> <BASE HREF="http://www.verzetteln.de/synapsen/index.html"> <!-- #BeginTemplate "/Templates/synapsen_e.dwt" --><!-- DW6 --> <!-- DW6 --> <!-- DW6 --> <head> <title>synapsen. An hypertextual card index</title> <link rel="stylesheet" href="synapsen.css" type="text/css"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script language="JavaScript"> <!-- function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); // --> </script> </head> <body bgcolor="#FFFFFF" text="#000000" background="images/hinterb.gif" link="#336699"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <th bgcolor="#FFFFFF" height="70" align="center" valign="middle" width="620" nowrap background="images/hinterb.gif"> <div align="left"><img src="images/synapsen_headline_e.gif" width="708" height="74" usemap="#Map" border="0" hspace="15" vspace="0"> <map name="Map"><area shape="rect" coords="618,5,701,69" href="synapsen_e.html" target="_self"> </map> </div> </th> </tr> </table> <div align="left"></div> <table width="715" border="0" cellspacing="0" cellpadding="0" align="left" height="537"> <tr> <td width="167" align="left"> <div align="left"></div> </td> <td width="533">&nbsp;</td> </tr> <tr> <td valign="top" width="167" align="left" height="522"> <div align="left"> <table width="155" border="0" cellspacing="7" class="verdana"> <tr> <td width="126"> <div align="right"> <font size="+1" color="#0000FF">synapsen</font></div> </td> <td width="19">&nbsp;</td> </tr> <tr> <td width="126"> <div align="right"></div> </td> <td width="19">&nbsp;</td> </tr> <tr> <td width="126"> <div align="right"> <a href="konzept_e.html">The Concept</a></div> </td> <td width="19">&nbsp;</td> </tr> <tr> <td width="126"> <div align="right"><a href="shots_e.html">Some Screenshots</a></div> </td> <td width="19">&nbsp;</td> </tr> <tr> <td width="126"> <div align="right"><a href="SynManual.pdf" target="_blank">Manual</a></div> </td> <td width="19">&nbsp;</td> </tr> <tr> <td width="126"> <div align="right"><a href="downloads_e.html">Downloads</a></div> </td> <td width="19">&nbsp;</td> </tr> <tr> <td width="126"> <div align="right"><a href="register_e.html">Register</a></div> </td> <td width="19">&nbsp;</td> </tr> <tr> <td width="126"> <div align="right"><a href="faq_e.html">FAQ</a></div> </td> <td width="19">&nbsp;</td> </tr> <tr> <td width="126"> <div align="right"><a href="postliste_e.html">Mailing list</a></div> </td> <td width="19">&nbsp;</td> </tr> <tr> <td width="126"> <div align="right"><a href="history_e.html">History of the program</a></div> </td> <td width="19">&nbsp;</td> </tr> <tr> <td width="126"> <div align="right"><a href="literatur_e.html">References</a></div> </td> <td width="19">&nbsp;</td> </tr> <tr> <td width="126"> <div align="right"><a href="kontakt_e.html">Contact</a></div> </td> <td width="19">&nbsp;</td> </tr> <tr> <td><div align="right"><a href="synapsen.html">Informationen in Deutsch <img src="images/dland.gif" width="20" height="15" border="0" align="absmiddle"> </a></div></td> <td>&nbsp;</td> </tr> <tr> <td><div align="right"></div></td> <td>&nbsp;</td> </tr> <tr> <td><div align="right"> <!-- BlogCounter Code START --> <a href="http://www.blogcounter.de/" id="bclink" title="kostenloser Counter fuer Weblogs"><span id="bccount" style="font-size:8px">kostenloser Counter</span></a> <p></p> <script type="text/javascript" src="http://track.blogcounter.de/js.php?user=rotwelsch&amp;style=1"></script> <noscript> <p><a href="http://www.blogcounter.de/"><img style="border: 0px;" alt="Weblog counter" src="http://track.blogcounter.de/log.php?id=rotwelsch"/></a><br> <a href="http://der-finanz-ratgeber.de">Finanz-Ratgeber</a> </noscript> <!-- BlogCounter Code END --> </div></td> <td>&nbsp;</td> </tr> </table> </div> <p>&nbsp;</p> <div align="right"> </div> </td> <td valign="top" width="533" align="left" height="522"> <h1 class="verdana">&nbsp;</h1> <div align="justify"><!-- #BeginEditable "Content" --> <h1 class="verdana">What is synapsen?</h1> <p class="verdana">synapsen is a hypertextual card index or reference organizer, which is to say a storage system on the basis of an electronic literature database that enables the management of bibliographies. However, in contrast to normal literature management software, synapsen offers a very distinct advantage: with catchwords entered by the user, the program connects individual cards automatically and creates not only a network of cards whose relation to each other might have been forgotten, but also creates completely unexpected connections and relations between individual entries. synapsen is therefore not only for electronic literature management, but also a helping hand when writing scientific texts, which participates in communication with the author in order to augment lines of argumentation and the generation of ideas.</p> <p class="verdana">synapsen is a hypertextual card catalog or reference management software written in JAVA, that is housed on a SQL-database based in the literature networking structure from <a href="http://en.wikipedia.org/wiki/Luhmann" target="_blank">Niklas Luhmann</a>.</p> <h1 class="verdana">Features</h1> <ul> <li><span class="verdana"> Runs on all major operating systems (Windows, Mac OS X, Linux, Unix).</span></li> <li><span class="verdana"> Easy installation procedure.</span></li> <li><span class="verdana"> Automatic or individual connections between all cards through common headwords.</span></li> <li><span class="verdana"> Easy editing, searching and viewing of reference entries.</span></li> <li class="verdana">Direct connection to <span style="font-style: italic">MS Word</span> and <span style="font-style: italic">Open Office 2.2</span> in order to support footnote insertion by one click</li> <li class="verdana"><span class="verdana"> Direct search and download from OPACs like Library of Congress or GBV via the z39.50 interface.</span></li> <li class="verdana">Extensive printing capabilities</li> <li class="verdana">Embedding of your pdf-documents</li> <li class="verdana">Extensive printing interface</li> <li><span class="verdana"> Produces fully BibTeX compliant output, tight connection to LaTeX, but also to word processors via RTF and copy &amp; paste.</span></li> <li><span class="verdana"> Many individual formatting features while creating the bibliographical output</span></li> <li><span class="verdana"> Data import and export via BibTeX, PDF and RTF.</span></li> <li class="verdana">Support of the biblatex package </li> <li><span class="verdana"> Complete support of Unicode, i.e. you can simultaneosly work with many different alphabets like cyrillic, hebrew or chinese etc.</span></li> <li><span class="verdana"> Support of SQL for the internal database server in order to procure future compatibility of your data. Linkage to external databases like mySQL also possible.</span></li> </ul> <h1 class="verdana">Target Audience and Field of Application</h1> <p class="verdana">The program is targeted at students and scientists that have to manage a large body of literature. First and foremost it is dedicated to researchers and students in the humanities and sciences, especially philologists in every language, art history, social- and cultural studies, philosophy etc., scholars and historians in general, but also business, library, information and communication scientists or lawyers and all those who maintain a bibliography over a long period of time. </p> <p class="verdana">For application in research projects with multiple useres and a decentralized entry from various PCs in a central database there is also a network version of synapsen, with which various users can simultaneously work on a database. Details available upon request.</p> <p class="verdana">synapsen functions under all popular operating systems, which includes Linux, Unix, and also under Mac OS X and Windows systems. Furthermore, synapsen has a comfortable interface to LaTeX via BibTex. And since Version 1.9p, synapsen is especially optimized for Apple and offers an ideal slip box or card catalog for Mac OS X!</p> <p class="verdana" align="center"><img src="images/LaTeX_logo.svg.png" alt="LaTeX" width="70" height="29" hspace="15" align="middle"> <img src="images/BibTeX_logo.png" alt="BibTeX" width="83" height="23" hspace="15" align="middle"><img src="images/win.png" alt="Windows" width="33" height="29" hspace="15" align="middle"><img src="images/unix.png" alt="unix" width="71" height="35" hspace="15" align="middle"><img src="images/linux.png" alt="Linux" width="31" height="37" hspace="15" align="middle"><img src="images/MacOSX.png" alt="Mac OS X" width="28" height="38" hspace="15" align="middle"></p> <!--<p class="verdana" align="left">See also <a href="http://en.wikipedia.org/wiki/Synapsen" target="_blank">synapsen's entry</a> at WikiPedia.</p>--> <p align="justify" class="verdana" style="font-weight: bold"><font face="Verdana, Arial, Helvetica, sans-serif">Roadmap to forthcoming versions of synapsen</font></p> <p class="verdana">Synapsen are always under construction. The next updates plan to contain enhancements and functions as follow:</p> <p align="justify" class="verdana"><em><font face="Verdana, Arial, Helvetica, sans-serif">Version 3.1 (mid of 2008) </font></em></p> <div align="justify"> <ul> <li class="verdana">Redesign of the import interface (via XML)</li> <li class="verdana">Mind Map: displaying the connections between cards in a diagramm</li> </ul> </div> <hr> <h1 class="verdana"><font size="+1" face="Verdana, Arial, Helvetica, sans-serif"><font size="-2">&copy; Dr. <a href="http://www.verzetteln.de">Markus Krajewski</a>, last revision: 2007/06/09;<br> Current version of synapsen: 3.0 of 2007/11/25.</font><font size="-1"><br> </font></font></h1> <!-- #EndEditable --></div></td> </tr> </table> </body> <!-- #EndTemplate --></html> \ No newline at end of file
diff --git a/biblio/bibtex/utils/alphabib/GPL.TXT b/biblio/bibtex/utils/alphabib/GPL.TXT
new file mode 100644
index 0000000000..54b7562930
--- /dev/null
+++ b/biblio/bibtex/utils/alphabib/GPL.TXT
@@ -0,0 +1,341 @@
+
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Library General
+Public License instead of this License.
diff --git a/biblio/bibtex/utils/alphabib/Makefile b/biblio/bibtex/utils/alphabib/Makefile
new file mode 100644
index 0000000000..a1c25d97e8
--- /dev/null
+++ b/biblio/bibtex/utils/alphabib/Makefile
@@ -0,0 +1,12 @@
+all: example clean
+
+example:
+ pdflatex example.tex
+ bibtex example
+ alphabib -bs example.bbl
+ pdflatex example.tex
+ pdflatex example.tex
+
+clean:
+ rm -f example.aux example.bbl example.blg example.log example.out
+
diff --git a/biblio/bibtex/utils/alphabib/README b/biblio/bibtex/utils/alphabib/README
new file mode 100644
index 0000000000..8b17039426
--- /dev/null
+++ b/biblio/bibtex/utils/alphabib/README
@@ -0,0 +1,11 @@
+Copyright (c) 2006, Mael Hillereau.
+cxBib performs addition of alphabetical headers into BibTeX '.bbl' files.
+
+This program is released under the GNU General Public Licence (see file
+'GPL.TXT' for details).
+
+Type 'alphabib -h' for usage.
+
+See the user manual (file 'alphabib.pdf') for more information.
+
+Send bug reports to mael.hillereau at free dot fr.
diff --git a/biblio/bibtex/utils/alphabib/alphabib b/biblio/bibtex/utils/alphabib/alphabib
new file mode 100644
index 0000000000..24ed88f7b3
--- /dev/null
+++ b/biblio/bibtex/utils/alphabib/alphabib
@@ -0,0 +1,338 @@
+#!/bin/bash
+#
+# Copyright (c) 2006 Mael Hillereau
+#
+# This file is part of alphabib.
+#
+# alphabib is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# alphabib is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with alphabib; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# cxBib -- Addition of alphabetical headers into BibTeX '.bbl' files.
+# Author: Mael Hillereau <mael.hillereau@free.fr>
+# Created: 12.apr.2006
+# Last modified: 14.may.2006
+version="1.0";
+author="Mael Hillereau <mael.hillereau@free.fr>";
+name=`basename $0`;
+
+# default definitions for LaTeX macros
+defaultpenalty="\penalty-200";
+defaultskip="\bigskip";
+defaultlabel="\Large\bfseries#1\hfill";
+defaultcontent="\ \\\\[-1ex]\hrule\medskip";
+pdfbookmarks="";
+pdfbookmarkscodewithoutlevel="\expandafter\ifx\csname firstpdfbookmark\endcsname\relax\
+\subpdfbookmark{#1}{alphabib.#1}\
+\def\firstpdfbookmark{}\
+\else\
+\currentpdfbookmark{#1}{alphabib.#1}\
+\fi";
+pdfbookmarkslevel="";
+pdfbookmarkscodewithlevelB="\pdfbookmark[";
+pdfbookmarkscodewithlevelE="]{#1}{alphabib.#1}";
+novon=0;
+
+# display errors
+function error()
+{
+ echo -ne "Error:\t$1\n\tYou may try '$name -h' for further help.\n";
+}
+
+# display usage
+function usage()
+{
+ echo "";
+ echo "SYNTAX";
+ echo " $name [-hsv] [-b [-l level]] <input-file.bbl> [<output-file.bbl>]";
+ echo "";
+ echo "DESCRIPTION";
+ echo " Addition of alphabetical headers into BibTeX '.bbl' files. Input and output";
+ echo " files may be identical, which is equivalent to no output file given. Input";
+ echo " file must be a '.bbl' file generated by BibTeX (so you have to run bibtex";
+ echo " before running $name).";
+ echo "";
+ echo "OTIONS";
+ echo " -b";
+ echo " This option will cause insertion of bookmarks into PDF files. Of course, it";
+ echo " requires using 'hyperref' package. Bookmarks level is set automatically if";
+ echo " option -l is not given.";
+ echo " -h";
+ echo " Displays this help.";
+ echo " -l";
+ echo " This option allows specifying level of bookmarks into PDF files. It must be";
+ echo " used with -b option.";
+ echo " -s";
+ echo " Choose this option if your BibTeX style sorts entries using the 'von' part";
+ echo " of names. For instance, 'alpha.bst' behaves like this (e.g. 'Ludwig van";
+ echo " Beethoven' will result in a key begining with 'vB' and will thus be sorted";
+ echo " like 'VB' would).";
+ echo " -v";
+ echo " Displays version information.";
+ echo "";
+ echo "See the manual for more detailed information.";
+ echo "";
+}
+
+# deletion of temporary files
+function cleanfiles()
+{
+ rm -f "$inputfile.working";
+}
+
+# test the class of a letter (upper/lowercase, backslash, or other)
+function testletter()
+{
+ case "$1" in
+ [[:lower:]])
+ return 0;;
+ [[:upper:]])
+ return 1;;
+ "\\")
+ return 2;;
+ *)
+ return 3;;
+ esac
+}
+
+echo "This is cxBib version $version";
+echo "Bash script written by $author";
+
+# options processing
+while getopts "bhl:sv" arg
+do
+ case $arg in
+ b)
+ echo "PDF bookmarks option selected.";
+ pdfbookmarks=$pdfbookmarkscodewithoutlevel;;
+ h)
+ usage;
+ exit 0;;
+ l)
+ echo "Bookmarks level $OPTARG selected.";
+ pdfbookmarkslevel=$OPTARG;;
+ s)
+ echo "Assume that sorting is performed using the 'von' part.";
+ novon=1;;
+ v)
+ exit 0;;
+ ?)
+ error "Problem while processing options.";
+ exit 1;;
+ esac
+done
+shift $(($OPTIND - 1));
+
+# input and output files
+if [ $# -eq 1 ]
+then
+ outputfile=$1;
+elif [ $# -eq 2 ]
+then
+ outputfile=$2;
+else
+ error "Invalid number of arguments!";
+ exit 1;
+fi
+if [ ! -f "$1" ]
+then
+ error "'$1' is not a valid file!";
+ exit 2;
+fi
+inputfile=$1;
+
+# test dependence between -b and -l and adjust bookmarks code if needed
+if [ ! -z "$pdfbookmarkslevel" ]
+then
+ if [ -z "$pdfbookmarks" ]
+ then
+ error "-l option used without -b option!";
+ exit 1;
+ fi
+ pdfbookmarks=$pdfbookmarkscodewithlevelB$pdfbookmarkslevel$pdfbookmarkscodewithlevelE;
+fi
+
+# make a working copy of input file
+cp -i $inputfile $inputfile.working;
+if [ $? -ne 0 ]
+then
+ error "Unable to create a temporary file. You must have write permission into\n\tthe current directory!";
+ exit 3;
+fi
+
+# test wether input file contains a bibliography environment
+grep -n -e '\\begin{thebibliography}' "$inputfile.working" > /dev/null 2>&1;
+bbibenv=$?;
+grep -n -e '\\end{thebibliography}' "$inputfile.working" > /dev/null 2>&1;
+ebibenv=$?;
+if [ $bbibenv -ne 0 -o $ebibenv -ne 0 ]
+then
+ error "'$inputfile' is not a valid BibTeX file: 'thebibliography' not found!";
+ cleanfiles;
+ exit 4;
+fi
+
+# let's scan input file
+nblines=`wc -l $inputfile.working | cut -f 1 -d " "`;
+# spaces are replaced by '%' so that lines can be separated with spaces
+rawentries=`grep -n -e '.*\\\\bibitem' $inputfile.working | tr " " "%" | tr "\n" " "`;
+if [ -z "$rawentries" ]
+then
+ # wow! where are the entries?
+ error "'$inputfile' is not a valid BibTeX file: No entry found!";
+ cleanfiles;
+ exit 4;
+fi
+
+unknownformmesage="Sorry, your BibTeX style is not supported!\n\tIf it should be (see supported styles in the manual), please send a bug\n\treport to the maintainer.";
+nbentries=0;
+tmpstr="";
+tmpint=1;
+# we now scan each entry
+for rawentry in $rawentries
+do
+ # firstly, we get the line number
+ line[$nbentries]=`echo $rawentry | cut -f 1 -d ":"`;
+ # for all entries but the first, we set the line of the next entry (this one)
+ # for the previous entry. For the last entry this number is set outside the
+ # loop
+ if [ $nbentries -ne 0 ]
+ then
+ next[`expr $nbentries - 1`]=${line[$nbentries]};
+ fi
+ # now we look at the bib items...
+ # usually, bib entries are in the form '\bibitem[A...' (with 'A' being the
+ # entry initial)
+ # so first, we get the optionnal argument of '\bibitem' macro
+ tmpstr=`expr match "$rawentry" '.*\\\\bibitem\[\([^]]*\)\].*'`;
+ # then, we look if there are some additional macros to remove (i.e. first
+ # character is '\')
+ letter[$nbentries]=`expr match "$tmpstr" '\(.\).*'`;
+ testletter "${letter[${nbentries}]}";
+ tmpint=$?;
+ if [ $tmpint -eq 2 ]
+ then
+ # these styles must have their bib entries in one of the forms
+ # '\bibitem[\foo\bar A...', or '\bibitem[\foo\bar{A...', so we check this
+ # by now...
+ tmpstr=`echo "$tmpstr" | grep -E -o "[%{][[:alpha:]]+" | head -n 1 | grep -o "[^%{].*"`;
+ if [ -z "$tmpstr" ]
+ then
+ # the bib entry is not in a known form...
+ error "$unknownformmesage";
+ cleanfiles;
+ exit 4;
+ else
+ # we can update the first letter...
+ letter[$nbentries]=`expr match "$tmpstr" '\(.\).*'`;
+ testletter "${letter[${nbentries}]}";
+ tmpint=$?;
+ fi
+ fi
+ if [ $tmpint -eq 0 ] # lower case
+ then
+ # we test wether von part must be considered or not
+ if [ $novon -eq 0 ]
+ then
+ # we have a von part, so we now look for the first capital (which should
+ # be the name initial)
+ theinitial=`expr match "$tmpstr" '[^[:upper:]]*\([[:upper:]]\).*'`;
+ if [ ! -z "$theinitial" ]
+ then
+ # we found it!
+ letter[$nbentries]=$theinitial;
+ else
+ error $unknownformmesage;
+ cleanfiles;
+ exit 4;
+ fi
+ else
+ # we keep the von initial letter but we translate it in uppercase
+ letter[$nbentries]=`echo ${letter[${nbentries}]} | tr 'a-z' 'A-Z'`;
+ fi
+ elif [ $tmpint -ne 1 ] # no letter so we can't do anything more!
+ then
+ error "$unknownformmesage";
+ cleanfiles;
+ exit 4;
+ fi
+ nbentries=`expr $nbentries + 1`;
+done
+
+next[`expr $nbentries - 1`]=$nblines;
+echo "$nbentries bib entries found in input file '$inputfile'.";
+
+# read again and write output file
+endpreamb=`expr ${line[0]} - 1`;
+preamb=`head -n$endpreamb $inputfile.working`;
+echo "$preamb" > $outputfile;
+
+# write '\alphabibitem' macro definition
+echo "\def\alphabibitem#1{\
+\expandafter\ifx\csname firstalphabibitem\endcsname\relax\
+\def\firstalphabibitem{}\
+\else\
+\expandafter\ifx\csname alphabibitemskip\endcsname\relax\
+$defaultskip\
+\else\
+\alphabibitemskip\
+\fi\
+\fi\
+\expandafter\ifx\csname alphabibitempenalty\endcsname\relax\
+\alphabibitempenalty\
+\else\
+$defaultpenalty\
+\fi\
+$pdfbookmarks\
+\expandafter\ifx\csname alphabibitemlabel\endcsname\relax\
+\expandafter\ifx\csname alphabibitemcontent\endcsname\relax\
+\item[$defaultlabel]$defaultcontent\
+\else\
+\item[$defaultlabel]\alphabibitemcontent{#1}\
+\fi\
+\else\
+\expandafter\ifx\csname alphabibitemcontent\endcsname\relax\
+\item[\alphabibitemlabel{#1}]$defaultcontent\
+\else\
+\item[\alphabibitemlabel{#1}]\alphabibitemcontent{#1}\
+\fi\
+\fi}" >> $outputfile;
+
+n=0;
+precletter="_";
+for rawentry in $rawentries
+do
+ currentletter=${letter[$n]};
+ currentline=${line[$n]};
+ nextline=${next[$n]};
+ last=`expr $nblines - $currentline + 1`;
+ first=`expr $nextline - $currentline`;
+ bibentry=`tail -n$last $inputfile.working | head -n$first`;
+ if [ ! $currentletter == $precletter ]
+ then
+ echo -ne "$currentletter ";
+ echo -ne "\n\\\\alphabibitem{$currentletter}\n" >> $outputfile;
+ precletter=$currentletter;
+ fi
+ echo -ne "\n" >> $outputfile;
+ echo "$bibentry" >> $outputfile;
+ n=`expr $n + 1`;
+done
+
+echo -ne "\n\\\\end{thebibliography}\n" >> $outputfile;
+
+# delete temp files
+cleanfiles;
+
+echo -ne "\nOutput written in '$outputfile'.\n";
+exit 0;
diff --git a/biblio/bibtex/utils/alphabib/alphabib.pdf b/biblio/bibtex/utils/alphabib/alphabib.pdf
new file mode 100644
index 0000000000..99071543dc
--- /dev/null
+++ b/biblio/bibtex/utils/alphabib/alphabib.pdf
Binary files differ
diff --git a/biblio/bibtex/utils/alphabib/example.bib b/biblio/bibtex/utils/alphabib/example.bib
new file mode 100644
index 0000000000..93f5a18cc5
--- /dev/null
+++ b/biblio/bibtex/utils/alphabib/example.bib
@@ -0,0 +1,76 @@
+@String{pub-AW = "Ad{\-d}i{\-s}on-Wes{\-l}ey"}
+@String{pub-AW:adr = "Reading, MA, USA"}
+@String{TUGboat = "TUGBoat"}
+
+
+@Article{beebe93,
+ author = "Beebe, Nelson H. F.",
+ title = "Bibliography Prettyprinting and Syntax Checking",
+ journal = TUGboat,
+ year = "1993",
+ volume = "14",
+ number = "4",
+ pages = "395-419"
+}
+
+@Article{higham94,
+ author = "Higham, Nicholas J.",
+ title = "{BibTeX}: {A} Versatile Tool for {\LaTeX} Users",
+ journal = "SIAM News",
+ year = "1994",
+ volume = "27",
+ number = "1",
+ pages = "10, 11, 19",
+ month = "January"
+}
+
+@Book{knuth86,
+ author = "Knuth, Donald E.",
+ title = "The {\TeX}book",
+ publisher = pub-AW,
+ year = "1986",
+ series = "Computers and Typesetting",
+ pages = "ix + 483",
+}
+
+@Book{lamport85,
+ author = "Lamport, Leslie",
+ title = "{\LaTeX} -- A Document Preparation System --
+ User's Guide and Reference Manual",
+ publisher = pub-AW,
+ address = pub-AW:adr,
+ year = "1985",
+ pages = "xiv + 242",
+}
+
+@Book{lamport94,
+ author = "Lamport, Leslie",
+ title = "{\LaTeX} -- {A} Document Preparation System -- User's
+ Guide and Reference Manual",
+ publisher = pub-AW,
+ year = "1994",
+ address = pub-AW:adr,
+ edition = "Second",
+ pages = "xvi + 272",
+ acknowledgement = ack-nhfb,
+}
+
+@Manual{patashnik88,
+ title = {Bib{\TeX}ing},
+ author = {Patashnik, Oren},
+ month = feb,
+ year = 1988,
+ note = {Bib{\TeX} distribution (\texttt{btxdoc.tex})},
+}
+
+@Article{wonneberger91,
+ author = "Wonneberger, Reinhard and Mittelbach, Frank",
+ title = "{{Bib\TeX{} reconsidered}}",
+ journal = TUGboat,
+ year = "1991",
+ volume = "12",
+ number = "1",
+ pages = "111-124",
+ month = Mar,
+}
+
diff --git a/biblio/bibtex/utils/alphabib/example.pdf b/biblio/bibtex/utils/alphabib/example.pdf
new file mode 100644
index 0000000000..283bc83eef
--- /dev/null
+++ b/biblio/bibtex/utils/alphabib/example.pdf
Binary files differ
diff --git a/biblio/bibtex/utils/alphabib/example.tex b/biblio/bibtex/utils/alphabib/example.tex
new file mode 100644
index 0000000000..b06fed0a9d
--- /dev/null
+++ b/biblio/bibtex/utils/alphabib/example.tex
@@ -0,0 +1,32 @@
+% cxBib example file
+\documentclass{article}
+
+\usepackage[bookmarksopen=true]{hyperref}
+\usepackage{tocbibind}
+
+\def\alphabibitempenalty{\penalty-1000}
+\def\alphabibitemskip{\vspace{0.6cm}}
+\def\alphabibitemlabel#1{}
+\def\alphabibitemcontent#1{\hspace{-\leftmargin}\hfill{\large\bfseries\sffamily--$\sim$~#1~$\sim$--}\hfill\hbox{}\\[-0.4cm]}
+
+\newcommand{\alphabib}{$\alpha$B{\scshape ib}}
+
+\begin{document}
+
+\title{Example file using \alphabib{}}
+\author{Mael Hill\'{e}reau}
+\date{18\textsuperscript{th} April 2006}
+
+\maketitle
+
+This file demonstrates the use of \alphabib{} script. In order to
+produce output, you will have to run \texttt{[pdf]latex},
+\texttt{bibtex}, \texttt{alphabib}, \texttt{[pdf]latex}, and then
+\texttt{[pdf]latex} again so as to get cross references.
+
+\nocite{*}
+
+\bibliographystyle{alpha}
+\bibliography{example}
+
+\end{document}
diff --git a/biblio/bibtex/utils/ams2bib/README b/biblio/bibtex/utils/ams2bib/README
new file mode 100644
index 0000000000..b8dcddc4de
--- /dev/null
+++ b/biblio/bibtex/utils/ams2bib/README
@@ -0,0 +1,46 @@
+ams2bib, version 1.0: convert AmSTeX bibliography into BibTeX
+
+Copyright (C) Arthur G. Werschulz <agw@cs.columbia.edu>
+May be freely redistributed under the Gnu Public License.
+
+ams2bib is a Perl script. Its input is a file consisting of AmSTeX
+bibliography entries. It produces a file consisting of the same
+bibliographic entries, but in BibTeX format.
+
+Since ams2bib is written in Perl, it should run on any system on which
+Perl is installed. It has been tested on the following platforms:
+
+ RedHat Linux
+ Solaris
+ Macintosh
+
+Using ams2bib is very simple: If you have a file "foo.tex" consisting
+of AmSTeX bibliographic references, the command "ams2bib foo" produces
+a file "foo.bib" containing the translations of these references into
+BibTeX. Keys are automatically generated, based on the authors' names
+and yuear of publication.
+
+Note: AmSTeX does not support the wide variety of reference types that
+BibTeX does. For example, the only way to indicate a technical report
+in AmSTeX is to use the \paper referece, with the \paperinfo field
+giving the technical report information. Hence, a tool such as
+ams2bib would be hard-pressed to produce a @TechReport bibliographic
+entry. Indeed, ams2bib only produces @Article, @Book, and @InBook
+entries. This means that it may be necessary to hand-edit the
+resulting BibTeX file, looking for these kinds of corrections.
+
+This package consists of the following files:
+
+ README this file
+ ams2bib the program itself
+ ams2bib.1 the Unix man page for ams2bib
+ ams2bib.txt a plain text version of the Unix man page
+
+One final comment: TeX has been a major part of my professional life
+over the last (almost) twenty years. Although ams2bib is a tiny
+little utility that only a few people may actually find useful,
+I am glad to be able to make a contribution (no matter how small) to
+the TeX community.
+
+ Art Werschulz
+
diff --git a/biblio/bibtex/utils/ams2bib/ams2bib b/biblio/bibtex/utils/ams2bib/ams2bib
new file mode 100644
index 0000000000..967bcb6f04
--- /dev/null
+++ b/biblio/bibtex/utils/ams2bib/ams2bib
@@ -0,0 +1,287 @@
+#!/usr/bin/perl
+
+# ams2bib: convert AmSTeX bibliography into BibTeX
+# usage: ams2bib [-o file.bib] file[.tex]
+#
+# author: A. G. Werschulz <agw@cs.columbia.edu>
+# date: 10 September 2000
+# version: 1.0
+#
+# Copyright (C) Arthur G. Werschulz 2000 (agw@cs.columbia.edu)
+#
+# May be freely redistributed under the Gnu Public License.
+# Send me mail if you like it or if you have any questions or suggestions.
+
+# modules I use:
+
+use strict;
+use vars qw($opt_h $opt_o);
+use Getopt::Std;
+
+my($prog, $usage, $bibfile, $still_more);
+
+# I should really clean this up, given the unpleasantness of
+# global variables ...
+
+my $current_author;
+my %keys = ();
+
+# ye olde error msg
+
+$prog = $0;
+$usage="Usage: $prog [-o file.bib] file[.tex]";
+
+# handle options
+
+if (!getopts('ho:')) {
+ print STDERR $usage, "\n";
+ exit 1;
+}
+
+if ($opt_h) {
+ print STDERR $usage, "\n";
+ exit 0;
+}
+
+$bibfile = $opt_o if ($opt_o);
+
+# there should be exactly one input filename at this point
+# default extension is ".tex" if no extension is explicitly given
+
+die $usage if ($#ARGV != 0);
+
+# set up input (AmSTeX) and output (BibTeX) files
+
+my $dotspot = index($ARGV[0], ".");
+if ($dotspot > 0) {
+ my $root = substr($ARGV[0], 0, $dotspot);
+ $bibfile = $root . ".bib" unless defined $bibfile;
+}
+else {
+ $bibfile = $ARGV[0] . ".bib";
+ $ARGV[0] .= ".tex";
+}
+
+open (INFILE, $ARGV[0]) || die "$prog: can't read $ARGV[0]: $!\n";
+open (OUTFILE, ">$bibfile") ||
+ die "$prog: can't open $bibfile for output: $!\n";
+
+# main processing loop
+
+do {
+ $still_more = process_one_ref();
+} while $still_more;
+
+# bring 'em all home, now
+
+close INFILE;
+close OUTFILE;
+
+exit 0;
+
+#
+# process a single entry from the INFILE filehandle
+# an entry has the form
+# \ref
+# \keyword blah blah blah
+# \endref
+#
+# keywords are listed below
+# assumption: a keyword can only appear at the beginning of a line
+# (possibly preceded by whitespac)
+# blank lines are ignored, as are instances of \pointer
+# returns false when eof occurs on INFILE
+#
+# this subroutine does no error checking ... it assumes that the entry
+# has the stated form
+#
+
+sub process_one_ref()
+{
+ my $keywords =
+ "\\book \\bookinfo \\by \\bysame \\endref \\inbook \\jour
+ \\manyby \\pages \\paper \\paperinfo \\publ \\publaddr
+ \\toappear \\vol \\yr";
+
+ my (%bibentry, $currentword, $firstword, @remainder,
+ $current_keyword, $rhs, $keyword);
+
+ # if there's nothing there, we're done
+
+ return 0 if (eof(INFILE));
+
+ # first, go past anything that doesn't match \ref
+ # (blank lines, \\pointer, etc.)
+
+ while (<INFILE>) {
+ s/%.+//; # strip out comments
+ last if index($_, "\\ref") >= 0;
+ }
+ return 0 if (eof(INFILE));
+
+ # store contents of entry into a hash, indexed by the keywords
+
+ while (<INFILE>) {
+ s/%.+//; # again with the comments??
+ last if index($_, "\\endref") >= 0;
+ ($firstword, @remainder) = split;
+ if (index($keywords, $firstword) >= 0) {
+ $firstword = substr($firstword, 1); # strip off leading slash
+ $current_keyword = $firstword;
+ $rhs = join(" ", @remainder);
+ #
+ # handle the various different fields
+ #
+ # here we deal with the \manyby ... \bysame construction
+ if ($current_keyword eq "manyby") {
+ $bibentry{"by"} = $rhs;
+ $current_author = $rhs;
+ } elsif ($current_keyword eq "bysame") {
+ $bibentry{"by"} = $current_author;
+ } else {
+ # handle all remaining keywords
+ $bibentry{$current_keyword} = $rhs;
+ }
+ } else { # firstword not a keyword, so this is a continuation line
+ $bibentry{$current_keyword} .=
+ " " . join(" ", $firstword, @remainder);
+ }
+ }
+
+ if (exists $bibentry{"book"}) {
+ handle_book(%bibentry);
+ } elsif (exists $bibentry{"inbook"}) {
+ handle_inbook(%bibentry);
+ } elsif (exists $bibentry{"paper"}) {
+ handle_paper(%bibentry);
+ } else {
+ print STDERR "$prog: unknown bibliographic entry\n";
+ foreach $keyword (keys(%bibentry)) {
+ print STDERR "$keyword: ", $bibentry{$keyword}, "\n";
+ }
+ }
+
+ return 1;
+
+}
+
+#
+# a book appearing in the bibliography
+#
+
+sub handle_book
+{
+ my %bibentry = @_;
+ my $author = adjust_author($bibentry{"by"});
+ my $bibkey = bib_key($author, $bibentry{"yr"});
+ print OUTFILE '@Book{', $bibkey, ",\n",
+ " author = {$author},\n",
+ " title = {", $bibentry{"book"}, "},\n",
+ " publisher = {", $bibentry{"publ"}, "},\n",
+ " address = {", $bibentry{"publaddr"}, "},\n",
+ " year = {", $bibentry{"yr"}, "},\n";
+ if (exists $bibentry{"bookinfo"}) {
+ print OUTFILE " note = {", $bibentry{"bookinfo"}, "},\n";
+ }
+ print OUTFILE "}\n\n";
+}
+
+#
+# part of a book (e.g., a contributed paper or a chapter) appearing
+# in the bibliography
+#
+
+sub handle_inbook
+{
+ my %bibentry = @_;
+ my $author = adjust_author($bibentry{"by"});
+ my $bibkey = bib_key($author, $bibentry{"yr"});
+ print OUTFILE '@InCollection{', $bibkey, ",\n",
+ " author = {$author},\n",
+ " title = {", $bibentry{"paper"}, "},\n",
+ " booktitle = {", $bibentry{"inbook"}, "},\n",
+ " pages = {", $bibentry{"pages"}, "},\n",
+ " publisher = {", $bibentry{"publ"}, "},\n",
+ " address = {", $bibentry{"publaddr"}, "},\n",
+ " year = {", $bibentry{"yr"}, "},\n";
+ if (exists $bibentry{"bookinfo"}) {
+ print OUTFILE " note = {", $bibentry{"bookinfo"}, "},\n";
+ }
+ print OUTFILE "}\n\n";
+}
+
+#
+# a paper appearing in the bibliography
+#
+
+sub handle_paper
+{
+ my %bibentry = @_;
+ my $author = adjust_author($bibentry{"by"});
+ my $bibkey = bib_key($author, $bibentry{"yr"});
+ print OUTFILE '@Article{', $bibkey, ",\n",
+ " author = {$author},\n",
+ " title = {", $bibentry{"paper"}, "},\n",
+ " journal = {", $bibentry{"jour"}, "},\n",
+ " volume = {", $bibentry{"vol"}, "},\n",
+ " year = {", $bibentry{"yr"}, "},\n",
+ " pages = {", $bibentry{"pages"}, "},\n";
+ if (exists $bibentry{"paperinfo"}) {
+ print OUTFILE " note = {", $bibentry{"paperinfo"}, "},\n";
+ }
+ print OUTFILE "}\n\n";
+}
+
+#
+# fix the author
+#
+# If a reference has more than two authors, then the AmSTeX file will
+# have a comma separating the authors (with the exception of the last two).
+# BibTeX requires "and" to separate the authors.
+#
+# Example:
+# Aziz, A. K., Kellogg, R. B., and Stephens, A. B.
+# becomes
+# Aziz, A. K. and Kellogg, R. B. and Stephens, A. B.
+#
+
+sub adjust_author
+{
+ my ($orig_author) = @_;
+ my @parsed_list = split(",", $orig_author);
+ my $length = scalar(@parsed_list);
+ return $orig_author if $length < 4;
+ my $author = "";
+ for (my $i = 0; $i < $length - 2; $i += 2) {
+ $author .= $parsed_list[$i] . "," . $parsed_list[$i+1]. " and";
+ }
+ $author .= $parsed_list[$length - 2] . "," . $parsed_list[$length - 1];
+ $author =~ s/and and/and/;
+
+ return $author;
+}
+
+#
+# generate a key from the author(s) and publication year
+#
+
+sub bib_key
+{
+ my ($author, $year) = @_;
+ $author =~ s/(.+),.+$/$1/; # clean out stuff that's not in last names
+ $author =~ s/,.+ and//g; # clean out separators: comma, " and"
+ $author =~ s/\W//g;
+ $author =~ s/\\[^\s{]+([\s{])/$1/g; # clean out TeX control sequences
+ my $key_sofar = $author . $year ;
+#
+# has this key already appeared?
+#
+ if (! exists $keys{$key_sofar}) {
+ $keys{$key_sofar} = 1;
+ return $key_sofar;
+ }
+ my $key;
+ my $addon = $keys{$key_sofar}++;
+ $addon =~ tr/1-9/b-j/;
+ return $key_sofar . $addon;
+}
diff --git a/biblio/bibtex/utils/ams2bib/ams2bib.1 b/biblio/bibtex/utils/ams2bib/ams2bib.1
new file mode 100644
index 0000000000..075938b284
--- /dev/null
+++ b/biblio/bibtex/utils/ams2bib/ams2bib.1
@@ -0,0 +1,100 @@
+.TH ams2bib 1 "September 10, 2000"
+.LO 1
+
+.SH NAME
+ams2bib \- convert AmSTeX bibliography into BibTeX
+
+.SH SYNOPSIS
+ams2bib [\-o file.bib] file[.tex]
+
+.SH DESCRIPTION
+.B ams2bib
+takes a file consisting of AmSTeX bibliography entries
+and produces a file consisting of the same bibliographic entries,
+but in BibTeX format.
+
+.SH OPTIONS
+.TP
+.B \-\^o " file[.bib]"
+Specify the name of the BibTeX file to produce. The default is to use
+.I name.bib,
+where
+.I name
+is
+.I file,
+stripped of any filename extension.
+.TP
+.B \-\^h
+Display a brief help message.
+
+.SH USAGE
+The only non-option command-line parameter is the name of an
+input file. If no filename extension is given, the default extension
+.I tex
+is assumed. This file must consist of AmSTeX bibliography entries.
+
+The output file consists of BibTeX bibliographic entries. The kind of
+BibTeX entry produced depends on the corresponding AmSTeX entry. If
+the AmSTeX entry contains
+.I \\\\book,
+then a
+.I Book
+BibTeX entry is produced.
+Otherwise, if the AmSTeX entry contains
+.I \\\\inbook,
+then a
+.I InCollection
+BibTeX entry is produced.
+Otherwise, if the AmSTeX entry contains
+.I \\\\paper,
+then an
+.I Article
+BibTeX entry is produced.
+If none of these three AmSTeX control sequence is contained, then the
+AmSTeX entry is considered to be in error.
+
+Note that a key is automatically generated for each BibTeX entry.
+This key consists of all the authors' names catenated together,
+followed by the date found in the
+.I \\\\year
+field. If this would result in duplicate keys, then an alphabetic
+letter ("b", "c", etc.) is appended to the key. Users who want to use
+other kinds of automatically-generated keys should consider using
+Gerd Neugebauer's
+.B bibtool,
+which is available via CTAN (http://www.ctan.org).
+
+.SH "SEE ALSO"
+amstex(1), bibtool(1), bibtex(1), latex(1), tex(1).
+
+.SH LIMITATIONS
+One of the main differences between AmSTeX and BibTeX is that BibTeX
+provides a greater variety bibliographic entries than does AmSTeX.
+This means that an AmSTeX bibliography will often use ad hoc methods
+in cases where a BibTeX bibliography can be more straightforward. In
+such situations, the user will have to make corrections by hand. For
+example, unpublished articles and technical reports have standard
+BibTeX bibliographic entries, but are usually done in AmSTeX by adding
+information to the
+.I \\\\paperinfo
+field; hence, unpublished articles and technical reports will need to
+be edited by hand.
+
+Error checking is minimal.
+.B ams2bib
+only does the usual command-line parameter checking. In particular,
+the syntax of the AmSTeX file is not checked.
+
+As mentioned above, duplicate keys would normally result if the
+authors and year match for more than one entry. This is resolved by
+appending an alphabetic letter to the key. At most nine such
+additional letters ("b" through "j") are added.
+
+.SH "AUTHOR"
+Copyright (c) Arthur G. Werschulz 2000.
+.B ams2bib
+may be freely redistributed under the Gnu Public License.
+Send mail to agw@cs.columbia.edu if you have any questions or
+suggestions.
+
+
diff --git a/biblio/bibtex/utils/ams2bib/ams2bib.txt b/biblio/bibtex/utils/ams2bib/ams2bib.txt
new file mode 100644
index 0000000000..26bbcc4b00
--- /dev/null
+++ b/biblio/bibtex/utils/ams2bib/ams2bib.txt
@@ -0,0 +1,77 @@
+User Commands ams2bib(1)
+
+NAME
+ ams2bib - convert AmSTeX bibliography into BibTeX
+
+SYNOPSIS
+ ams2bib [-o file.bib] file[.tex]
+
+DESCRIPTION
+ ams2bib takes a file consisting of AmSTeX bibliography
+ entries and produces a file consisting of the same biblio­
+ graphic entries, but in BibTeX format.
+
+OPTIONS
+ -o file[.bib]
+ Specify the name of the BibTeX file to produce. The
+ default is to use name.bib, where name is file,
+ stripped of any filename extension.
+
+ -h Display a brief help message.
+
+USAGE
+ The only non-option command-line parameter is the name of an
+ input file. If no filename extension is given, the default
+ extension tex is assumed. This file must consist of AmSTeX
+ bibliography entries.
+
+ The output file consists of BibTeX bibliographic entries.
+ The kind of BibTeX entry produced depends on the correspond­
+ ing AmSTeX entry. If the AmSTeX entry contains \book, then
+ a Book BibTeX entry is produced. Otherwise, if the AmSTeX
+ entry contains \inbook, then a InCollection BibTeX entry is
+ produced. Otherwise, if the AmSTeX entry contains \paper,
+ then an Article BibTeX entry is produced. If none of these
+ three AmSTeX control sequence is contained, then the AmSTeX
+ entry is considered to be in error.
+
+ Note that a key is automatically generated for each BibTeX
+ entry. This key consists of all the authors' names cate­
+ nated together, followed by the date found in the \year
+ field. If this would result in duplicate keys, then an
+ alphabetic letter ("b", "c", etc.) is appended to the key.
+ Users who want to use other kinds of automatically-generated
+ keys should consider using Gerd Neugebauer's bibtool, which
+ is available via CTAN (http://www.ctan.org).
+
+SEE ALSO
+ amstex(1), bibtool(1), bibtex(1), latex(1), tex(1).
+
+LIMITATIONS
+ One of the main differences between AmSTeX and BibTeX is
+ that BibTeX provides a greater variety bibliographic entries
+ than does AmSTeX. This means that an AmSTeX bibliography
+ will often use ad hoc methods in cases where a BibTeX bibli­
+ ography can be more straightforward. In such situations,
+ the user will have to make corrections by hand. For exam­
+ ple, unpublished articles and technical reports have stan­
+ dard BibTeX bibliographic entries, but are usually done in
+ AmSTeX by adding information to the \paperinfo field; hence,
+ unpublished articles and technical reports will need to be
+ edited by hand.
+
+ Error checking is minimal. ams2bib only does the usual com­
+ mand-line parameter checking. In particular, the syntax of
+ the AmSTeX file is not checked.
+
+ As mentioned above, duplicate keys would normally result if
+ the authors and year match for more than one entry. This is
+ resolved by appending an alphabetic letter to the key. At
+ most nine such additional letters ("b" through "j") are
+ added.
+
+AUTHOR
+ Copyright (c) Arthur G. Werschulz 2000. ams2bib may be
+ freely redistributed under the Gnu Public License. Send
+ mail to agw@cs.columbia.edu if you have any questions or
+ suggestions.
diff --git a/biblio/bibtex/utils/bib2dvi/bib2dvi b/biblio/bibtex/utils/bib2dvi/bib2dvi
new file mode 100644
index 0000000000..32d3c2f65e
--- /dev/null
+++ b/biblio/bibtex/utils/bib2dvi/bib2dvi
@@ -0,0 +1,173 @@
+#!/bin/sh
+#
+# bib2dvi - generates a .dvi file from a .bib file
+#
+# Version 0.13 (October 22, 1992)
+#
+# Copyright (c) L.L. Frederiks, 1992
+#
+# Usage: bib2dvi [<file.bib>] [-d|-e] [-s <style>] [-h] [-v]
+#
+# Purpose: Converts a BibTeX .bib file directly into a by LaTeX
+# formatted .dvi file.
+#
+# Output: file.dvi
+#
+# History: 0.10 June 22, 1992 original version 0.11.
+# 0.12 October 21, 1992 options -d,-e and -s.
+# 0.13 October 22, 1992 improved interpretation of option parameters,
+# they can used in any order. Extra -h option for
+# providing help information and -v option which
+# disables the suppression of latex and bibtex
+# messages.
+#
+# Please report bugs to: L.L. Frederiks
+# Runmolen 88A
+# 1823 GM Alkmaar
+# The Netherlands
+# e-mail: loek@nt.eltn.utwente.nl
+#
+
+USAGE='Usage: '`basename $0`' [<file.bib>] [-d|-e] [-s <style>] [-h] [-v]'
+BIB2DVIDIR=//dino/users/cad/loek/postscript/bib2ps
+TEXINPUTDIR=//dino/arbortext/inputs
+STYLE=english
+BSTYLE=plain
+NAMES="abbrv alpha plain unsrt"
+VERBOSE=false
+
+if [ "$1" = "" ]
+then
+ echo bib2dvi 0.13 \(October 22, 1992\)
+ echo Copyright \(c\) L.L. Frederiks, 1992
+ echo "$USAGE" 1>&2
+ echo " "where options are:
+ echo " "-d Dutch
+ echo " "-e English \(default\)
+ echo " "-s Bibtex style: abbrv,alpha,unsrt,plain \(default\)
+ echo " "-h help
+ echo " "-v verbose
+ exit 1
+fi
+
+if [ -f $1 ]
+then
+ BIBALL=$1
+else
+ echo "Argument not an existing file." 1>&2
+ echo "$USAGE" 1>&2
+ echo " "where options are:
+ echo " "-d Dutch
+ echo " "-e English \(default\)
+ echo " "-s Bibtex style: abbrv,alpha,unsrt,plain \(default\)
+ echo " "-h help
+ echo " "-v verbose
+ exit 1
+fi
+
+for arg in $*
+do
+ case $arg in
+ -h) echo bib2dvi 0.13 \(October 22, 1992\)
+ echo Copyright \(c\) L.L. Frederiks, 1992
+ echo "$USAGE" 1>&2
+ echo " "where options are:
+ echo " "-d Dutch
+ echo " "-e English \(default\)
+ echo " "-s Bibtex style: abbrv,alpha,unsrt,plain \(default\)
+ echo " "-h help
+ echo " "-v verbose
+ exit 1;;
+ -d) STYLE=dutch;;
+ -e) STYLE=english;;
+ -v) VERBOSE=true;;
+ -s) for NAME in $* ; do
+ for SUBNAME in $NAMES ; do
+ if [ $SUBNAME = $NAME ]
+ then
+ BSTYLE=$SUBNAME
+ fi
+ done
+ done
+ esac
+done
+
+BIBLIO=`basename $BIBALL .bib`
+
+echo bib2dvi, version 0.12 \(October 22, 1992\)....
+
+sed -e "s/xxx/${BIBALL}/" -e "s/yyy/${USER}/" -e "s/ddd/${STYLE}/" > $BIBLIO.tmp1 << PART1
+\documentstyle[11pt,twoside,${BIB2DVIDIR}/bib2dvi,${BIB2DVIDIR}/ddd]{report}
+\pagestyle{plain}
+
+\begin{document}
+\noindent
+
+\title{xxx}
+PART1
+
+sed -e "s/ggg/${USER}/" > $BIBLIO.awk1 << PART2
+{
+ creator="ggg";\\
+ FS = ":,";\\
+ str= "\author{";\\
+ acco3 = "}";\\
+ if (\$1 == creator)
+ {print \$5};\\
+}
+PART2
+
+cat /etc/passwd > $BIBLIO.pass
+
+awk -f $BIBLIO.awk1 $BIBLIO.pass > $BIBLIO.tmp0
+
+awk -f $BIB2DVIDIR/bib2dvi2.awk $BIBLIO.tmp0 > $BIBLIO.tmp2
+
+sed -e "s/zzz/${BIBLIO}/" -e "s/uuu/${BSTYLE}/" > $BIBLIO.tmp3 << PART2
+
+\bibliographystyle{${TEXINPUTDIR}/uuu}
+\bibliography{zzz}
+
+\end{document}
+PART2
+
+echo Generating .tex file....
+awk -f $BIB2DVIDIR/bib2dvi1.awk $BIBALL > $BIBLIO.tmp4
+
+cat $BIBLIO.tmp1 $BIBLIO.tmp2 $BIBLIO.tmp4 $BIBLIO.tmp3 > $BIBLIO.tex
+
+echo Latex....
+
+if [ $VERBOSE = false ]
+then
+ echo bye | latex $BIBLIO > /dev/null
+else
+ echo bye | latex $BIBLIO
+fi
+
+echo Bibtex....
+
+if [ $VERBOSE = false ]
+then
+ echo bye | bibtex $BIBLIO > /dev/null
+else
+ echo bye | bibtex $BIBLIO
+fi
+
+echo Latex....
+
+if [ $VERBOSE = false ]
+then
+ echo bye | latex $BIBLIO > /dev/null
+else
+ echo bye | latex $BIBLIO
+fi
+
+# cleaning up ....
+
+rm -f $BIBLIO.tmp0 $BIBLIO.tmp1 $BIBLIO.tmp2 $BIBLIO.tmp3 $BIBLIO.tmp4 \
+ $BIBLIO.pass $BIBLIO.tex $BIBLIO.aux $BIBLIO.bbl $BIBLIO.blg \
+ $BIBLIO.log $BIBLIO.awk1
+
+echo Done....
+
diff --git a/biblio/bibtex/utils/bib2dvi/bib2dvi.bak b/biblio/bibtex/utils/bib2dvi/bib2dvi.bak
new file mode 100644
index 0000000000..99acdeaa0f
--- /dev/null
+++ b/biblio/bibtex/utils/bib2dvi/bib2dvi.bak
@@ -0,0 +1,156 @@
+#!/bin/sh
+#
+# bib2dvi - generates a .dvi file from a .bib file
+#
+# Version 0.13 (October 22, 1992)
+#
+# Copyright (c) L.L. Frederiks, 1992
+#
+# Usage: bib2dvi [file.bib] [-d|-e] [-s plain|abbrv|alpha|unsrt] [-v]
+#
+# Output: filename.dvi
+#
+
+USAGE='Usage: '`basename $0`' <file.bib> [-d|-e] [-s <style>] [-h] [-v]'
+BIB2DVIDIR=//dino/users/cad/loek/postscript/bib2ps
+TEXINPUTDIR=//dino/arbortext/inputs
+STYLE=english
+BSTYLE=plain
+NAMES="abbrv alpha plain unsrt"
+VERBOSE=false
+
+if [ "$1" = "" ]
+then
+ echo bib2dvi 0.13 \(October 22, 1992\)
+ echo Copyright \(c\) L.L. Frederiks, 1992
+ echo "$USAGE" 1>&2
+ echo " "where options are:
+ echo " "-d Dutch
+ echo " "-e English \(default\)
+ echo " "-s Bibtex style: abbrv,alpha,unsrt,plain \(default\)
+ echo " "-h help
+ echo " "-v verbose
+ exit 1
+fi
+
+if [ -f $1 ]
+then
+ BIBALL=$1
+else
+ echo "Argument not an existing file." 1>&2
+ echo "$USAGE" 1>&2
+ echo " "where options are:
+ echo " "-d Dutch
+ echo " "-e English \(default\)
+ echo " "-s Bibtex style: abbrv,alpha,unsrt,plain \(default\)
+ echo " "-h help
+ echo " "-v verbose
+ exit 1
+fi
+
+for arg in $*
+do
+ case $arg in
+ -h) echo bib2dvi 0.13 \(October 22, 1992\)
+ echo Copyright \(c\) L.L. Frederiks, 1992
+ echo "$USAGE" 1>&2
+ echo " "where options are:
+ echo " "-d Dutch
+ echo " "-e English \(default\)
+ echo " "-s Bibtex style: abbrv,alpha,unsrt,plain \(default\)
+ echo " "-h help
+ echo " "-v verbose
+ exit 1;;
+ -d) STYLE=dutch;;
+ -e) STYLE=english;;
+ -v) VERBOSE=true;;
+ -s) for NAME in $* ; do
+ for SUBNAME in $NAMES ; do
+ if [ $SUBNAME = $NAME ]
+ then
+ BSTYLE=$SUBNAME
+ fi
+ done
+ done
+ esac
+done
+
+BIBLIO=`basename $BIBALL .bib`
+
+echo bib2dvi, version 0.12 \(October 22, 1992\)....
+
+sed -e "s/xxx/${BIBALL}/" -e "s/yyy/${USER}/" -e "s/ddd/${STYLE}/" > $BIBLIO.tmp1 << PART1
+\documentstyle[11pt,twoside,${BIB2DVIDIR}/bib2dvi,${BIB2DVIDIR}/ddd]{report}
+\pagestyle{plain}
+
+\begin{document}
+\noindent
+
+\title{xxx}
+PART1
+
+sed -e "s/ggg/${USER}/" > $BIBLIO.awk1 << PART2
+{
+ creator="ggg";\\
+ FS = ":,";\\
+ str= "\author{";\\
+ acco3 = "}";\\
+ if (\$1 == creator)
+ {print \$5};\\
+}
+PART2
+
+cat /etc/passwd > $BIBLIO.pass
+
+awk -f $BIBLIO.awk1 $BIBLIO.pass > $BIBLIO.tmp0
+
+awk -f $BIB2DVIDIR/bib2dvi2.awk $BIBLIO.tmp0 > $BIBLIO.tmp2
+
+sed -e "s/zzz/${BIBLIO}/" -e "s/uuu/${BSTYLE}/" > $BIBLIO.tmp3 << PART2
+
+\bibliographystyle{${TEXINPUTDIR}/uuu}
+\bibliography{zzz}
+
+\end{document}
+PART2
+
+echo Generating .tex file....
+awk -f $BIB2DVIDIR/bib2dvi1.awk $BIBALL > $BIBLIO.tmp4
+
+cat $BIBLIO.tmp1 $BIBLIO.tmp2 $BIBLIO.tmp4 $BIBLIO.tmp3 > $BIBLIO.tex
+
+echo Latex....
+
+if [ $VERBOSE = false ]
+then
+ echo bye | latex $BIBLIO > /dev/null
+else
+ echo bye | latex $BIBLIO
+fi
+
+echo Bibtex....
+
+if [ $VERBOSE = false ]
+then
+ echo bye | bibtex $BIBLIO > /dev/null
+else
+ echo bye | bibtex $BIBLIO
+fi
+
+echo Latex....
+
+if [ $VERBOSE = false ]
+then
+ echo bye | latex $BIBLIO > /dev/null
+else
+ echo bye | latex $BIBLIO
+fi
+
+# cleaning up ....
+
+rm -f $BIBLIO.tmp0 $BIBLIO.tmp1 $BIBLIO.tmp2 $BIBLIO.tmp3 $BIBLIO.tmp4 \
+ $BIBLIO.pass $BIBLIO.tex $BIBLIO.aux $BIBLIO.bbl $BIBLIO.blg \
+ $BIBLIO.log $BIBLIO.awk1
+
+echo Done....
+
diff --git a/biblio/bibtex/utils/bib2dvi/bib2dvi.sty b/biblio/bibtex/utils/bib2dvi/bib2dvi.sty
new file mode 100644
index 0000000000..43afe59571
--- /dev/null
+++ b/biblio/bibtex/utils/bib2dvi/bib2dvi.sty
@@ -0,0 +1,224 @@
+%------------------------------------------------------------------------
+% Set default counters
+%------------------------------------------------------------------------
+
+\setlength{\parindent}{0em}
+\setlength{\parskip}{2ex}
+\setlength{\topmargin}{-2cm}
+\setlength{\headheight}{0cm}
+\setlength{\textheight}{23cm}
+\setlength{\textwidth}{15cm}
+\setlength{\oddsidemargin}{0.5cm}
+\setlength{\evensidemargin}{0.5cm}
+
+
+%------------------------------------------------------------------------
+% enu: my own enumeration environment
+%------------------------------------------------------------------------
+
+\newcounter{enu}
+\newenvironment {enu}%
+ {\begin{list}
+ {\arabic{enu}.}%
+ {\usecounter{enu}
+ \setlength {\parskip}{0ex}
+ \setlength {\itemsep} {-1ex}
+ \setlength {\topsep} {-1.5ex}}}%
+ {\end{list}
+ \vspace{1.5ex}}
+
+
+%------------------------------------------------------------------------
+% dotlist: my own itemize environment
+%------------------------------------------------------------------------
+
+\newenvironment {dotlist}%
+ {\begin{list}
+ {$ \bullet $}%
+ {\setlength {\itemsep} {-1ex}
+ \setlength {\parskip}{0ex}
+ \setlength {\topsep} {-1.5ex}}}%
+ {\end{list}
+ \vspace{1.5ex}}
+
+%------------------------------------------------------------------------
+% varlist: my own variable list environment
+%------------------------------------------------------------------------
+
+\newenvironment {varlist}%
+ {\begin{list}
+ {{\bf You forgot the label}}%
+ {\setlength {\itemsep} {-1ex}
+ \setlength {\parskip}{0ex}
+ \setlength {\topsep} {-1.5ex}}}%
+ {\end{list}
+ \vspace{1.5ex}}
+
+
+%------------------------------------------------------------------------
+% putcross: put a figure's cross reference name instead of the figure
+% itself
+%
+% args: - #1: the height of the figure in inches
+% - #2: the cross reference keyword for the figure.
+%------------------------------------------------------------------------
+
+\setlength {\unitlength} {1in}
+
+\newcommand{\putcross}[2]%
+ {\begin{picture}(3,#1)
+ \put(0.5,0.5){#2}
+ \end{picture}}
+
+
+%------------------------------------------------------------------------
+% some commands necessary because '<' and '>' are not available in Roman
+% font: left hook (lh) and right hook (rh).
+%------------------------------------------------------------------------
+
+\newcommand {\lh} {{\sc <}}
+\newcommand {\rh} {{\sc >}}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% This file should be 'input' into a tex file to change from
+% using the computer modern fonts to using the postscript
+% printer esident Times-Roman font.
+%
+% Only the roman, bold and italic typefaces are changed. You can
+% redefine other fonts in a similar fashion or create other files
+% that use other postscript fonts.
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% Times-Roman at 5pt
+%
+\font\fivrm = psmtimr at 5pt
+\font\fivbf = psmtimb at 5pt
+\font\fivit = psmtimi at 5pt
+%
+% Times-Roman at 6pt
+%
+\font\sixrm = psmtimr at 6pt
+\font\sixbf = psmtimb at 6pt
+\font\sixit = psmtimi at 6pt
+%
+% Times-Roman at 7pt
+%
+\font\sevrm = psmtimr at 7pt
+\font\sevbf = psmtimb at 7pt
+\font\sevit = psmtimi at 7pt
+%
+% Times-Roman at 8pt
+%
+\font\egtrm = psmtimr at 8pt
+\font\egtbf = psmtimb at 8pt
+\font\egtit = psmtimi at 8pt
+%
+% Times-Roman at 9pt
+%
+\font\ninrm = psmtimr at 9pt
+\font\ninbf = psmtimb at 9pt
+\font\ninit = psmtimi at 9pt
+\font\nintt = psmcou at 9pt % typewriter mapped on Courier
+ \hyphenchar\nintt = -1 % suppress hyphenation
+%
+% Times-Roman at 10pt
+%
+\font\tenrm = psmtimr at 10pt
+\font\tenbf = psmtimb at 10pt
+\font\tenit = psmtimi at 10pt
+\font\tensl = psmhlvo at 10pt % mapped on Helvetica-Oblique
+\font\tensf = psmhlv at 10pt % mapped on Helvetica
+\font\tentt = psmcou at 10pt % typewriter mapped on Courier
+ \hyphenchar\tentt = -1 % suppress hyphenation
+%
+% Times-Roman at 11pt
+%
+\font\elvrm = psmtimr at 11pt
+\font\elvbf = psmtimb at 11pt
+\font\elvit = psmtimi at 11pt
+\font\elvsl = psmhlvo at 11pt % mapped on Helvetica-Oblique
+\font\elvsf = psmhlv at 11pt % mapped on Helvetica
+\font\elvtt = psmcou at 11pt % typewriter mapped on Courier
+ \hyphenchar\elvtt = -1 % suppress hyphenation
+%
+% Times-Roman at 12pt
+%
+\font\twlrm = psmtimr at 12pt
+\font\twlbf = psmtimb at 12pt
+\font\twlit = psmtimi at 12pt
+\font\twlsl = psmhlvo at 12pt % mapped on Helvetica-Oblique
+\font\twlsf = psmhlv at 12pt % mapped on Helvetica
+\font\twltt = psmcou at 12pt % typewriter mapped on Courier
+ \hyphenchar\twltt = -1 % suppress hyphenation
+%
+% Times-Roman at 14pt
+%
+\font\frtnrm = psmtimr at 14pt
+\font\frtnbf = psmtimb at 14pt
+\font\frtnit = psmtimi at 14pt
+%
+% Times-Roman at 17pt
+%
+\font\svtnrm = psmtimr at 17pt
+\font\svtnbf = psmtimb at 17pt
+\font\svtnit = psmtimi at 17pt
+%
+% Times-Roman at 20pt
+%
+\font\twtyrm = psmtimr at 20pt
+\font\twtybf = psmtimb at 20pt
+\font\twtyit = psmtimi at 20pt
+%
+% Times-Roman at 25pt
+%
+\font\twfvrm = psmtimr at 25pt
+\font\twfvbf = psmtimb at 25pt
+\font\twfvit = psmtimi at 25pt
+%
+% visible fourteen point fonts
+\font\fourteenrm = psmtimr at 14pt
+\font\fourteenit = psmtimi at 14pt
+\font\fourteenbf = psmtimb at 14pt
+\font\fourteentt = psmcou at 14pt
+ \hyphenchar\fourteentt = -1 % suppress hyphenation in \tt font
+%
+% visible seventeen point fonts
+\font\seventeenrm = psmtimr at 17pt
+\font\seventeenit = psmtimi at 17pt
+\font\seventeenbf = psmtimb at 17pt
+\font\seventeentt = psmcou at 17pt
+ \hyphenchar\seventeentt = -1 % suppress hyphenation in \tt font
+%
+% visible twenty point fonts
+\font\twentyrm = psmtimr at 20pt
+\font\twentyit = psmtimi at 20pt
+\font\twentybf = psmtimb at 20pt
+\font\twentytt = psmcou at 20pt
+ \hyphenchar\twentytt = -1 % suppress hyphenation in \tt font
+%
+% visible twentyfour point fonts -- \magstep 6
+\font\twentyfourrm = psmtimr at 24pt
+\font\twentyfourit = psmtimi at 24pt
+\font\twentyfourbf = psmtimb at 24pt
+\font\twentyfourtt = psmcou at 24pt
+ \hyphenchar\twentyfourtt = -1 % suppress hyphenation in \tt font
+%
+% visible twentynine point fonts -- \magstep 7
+\font\twentyninerm = psmtimr at 29pt
+\font\twentynineit = psmtimi at 29pt
+\font\twentyninebf = psmtimb at 29pt
+\font\twentyninett = psmcou at 29pt
+ \hyphenchar\twentyninett = -1 % suppress hyphenation in \tt font
+%
+% visible thirtyfour point fonts -- \magstep 8
+% \font\thirtyfourrm = psmtimr at 34pt
+% \font\thirtyfourit = psmtimi at 34pt
+% \font\thirtyfourbf = psmtimb at 34pt
+% \font\thirtyfourtt = psmcou at 34pt
+% \hyphenchar\thirtyfourtt = -1 % suppress hyphenation in \tt font
+%
+% fortyone point fonts
+% \font\fortyonerm = psmtimr at 41pt
+
diff --git a/biblio/bibtex/utils/bib2dvi/bib2dvi1.awk b/biblio/bibtex/utils/bib2dvi/bib2dvi1.awk
new file mode 100644
index 0000000000..0088576e06
--- /dev/null
+++ b/biblio/bibtex/utils/bib2dvi/bib2dvi1.awk
@@ -0,0 +1,60 @@
+{
+ acco1="{";\
+ acco2="}";\
+ nocite="\\nocite"
+ b = substr($1,1,1);\
+ if (b == "@")
+ { c = substr($1,2,8);\
+ if ((c == "article{") || (c == "ARTICLE{"))
+ { d = substr($1,10,length($1)-10);\
+ printf "%s%s%s%s\n",nocite,acco1,d,acco2 };\
+ c = substr($1,2,14);\
+ if ((c == "inproceedings{") || (c == "INPROCEEDINGS{"))
+ { d = substr($1,16,length($1)-16);\
+ printf "%s%s%s%s\n",nocite,acco1,d,acco2 };\
+ c = substr($1,2,5);\
+ if ((c == "book{") || (c == "BOOK{"))
+ { d = substr($1,7,length($1)-7);\
+ printf "%s%s%s%s\n",nocite,acco1,d,acco2 };\
+ c = substr($1,2,14);\
+ if ((c == "mastersthesis{") || (c == "MASTERSTHESIS{"))
+ { d = substr($1,16,length($1)-16);\
+ printf "%s%s%s%s\n",nocite,acco1,d,acco2 };\
+ c = substr($1,2,10);\
+ if ((c == "phdthesis{") || (c == "PHDTHESIS{"))
+ { d = substr($1,12,length($1)-12);\
+ printf "%s%s%s%s\n",nocite,acco1,d,acco2 };\
+ c = substr($1,2,12);\
+ if ((c == "unpublished{") || (c == "UNPUBLISHED{"))
+ { d = substr($1,14,length($1)-14);\
+ printf "%s%s%s%s\n",nocite,acco1,d,acco2 };\
+ c = substr($1,2,11);\
+ if ((c == "conference{") || (c == "CONFERENCE{"))
+ { d = substr($1,13,length($1)-13);\
+ printf "%s%s%s%s\n",nocite,acco1,d,acco2 };\
+ c = substr($1,2,13);\
+ if ((c == "incollection{") || (c == "INCOLLECTION{"))
+ { d = substr($1,15,length($1)-15);\
+ printf "%s%s%s%s\n",nocite,acco1,d,acco2 };\
+ c = substr($1,2,11);\
+ if ((c == "techreport{") || (c == "TECHREPORT{"))
+ { d = substr($1,13,length($1)-13);\
+ printf "%s%s%s%s\n",nocite,acco1,d,acco2 };\
+ c = substr($1,2,7);\
+ if ((c == "manual{") || (c == "MANUAL{"))
+ { d = substr($1,9,length($1)-9);\
+ printf "%s%s%s%s\n",nocite,acco1,d,acco2 };\
+ c = substr($1,2,8);\
+ if ((c == "booklet{") || (c == "BOOKLET{"))
+ { d = substr($1,10,length($1)-10);\
+ printf "%s%s%s%s\n",nocite,acco1,d,acco2 };\
+ c = substr($1,2,5);\
+ if ((c == "misc{") || (c == "MISC{"))
+ { d = substr($1,7,length($1)-7);\
+ printf "%s%s%s%s\n",nocite,acco1,d,acco2 };\
+ c = substr($1,2,12);\
+ if ((c == "proceedings{") || (c == "PROCEEDINGS{"))
+ { d = substr($1,14,length($1)-14);\
+ printf "%s%s%s%s\n",nocite,acco1,d,acco2 };\
+ };\
+}
diff --git a/biblio/bibtex/utils/bib2dvi/bib2dvi2.awk b/biblio/bibtex/utils/bib2dvi/bib2dvi2.awk
new file mode 100644
index 0000000000..768b3b57e0
--- /dev/null
+++ b/biblio/bibtex/utils/bib2dvi/bib2dvi2.awk
@@ -0,0 +1,10 @@
+{
+ FS = ","
+ name = $1
+ auth="\author"
+ maket="\maketitle"
+ acco1="{"
+ acco2="}"
+ printf "\n%s%s%s%s\n\n",auth,acco1,name,acco2
+ printf "%s\n\n",maket
+}
diff --git a/biblio/bibtex/utils/bib2dvi/dutch.sty b/biblio/bibtex/utils/bib2dvi/dutch.sty
new file mode 100644
index 0000000000..4ba9ac75d7
--- /dev/null
+++ b/biblio/bibtex/utils/bib2dvi/dutch.sty
@@ -0,0 +1,14 @@
+\def\thebibliography#1{\chapter*{Literatuur\@mkboth
+ {LITERATUUR}{LITERATUUR}}\list
+ {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth
+ \advance\leftmargin\labelsep
+ \usecounter{enumi}}
+ \def\newblock{\hskip .11em plus .33em minus -.07em}
+ \sloppy\clubpenalty4000\widowpenalty4000
+ \sfcode`\.=1000\relax}
+
+\renewcommand{\today}{\number\day \space \ifcase\month\or januari\or
+ februari\or maart\or
+ april\or mei\or juni\or juli\or augustus\or september\or oktober\or
+ november\or december\fi \space \number\year}
+
diff --git a/biblio/bibtex/utils/bib2dvi/english.sty b/biblio/bibtex/utils/bib2dvi/english.sty
new file mode 100644
index 0000000000..8930243dcb
--- /dev/null
+++ b/biblio/bibtex/utils/bib2dvi/english.sty
@@ -0,0 +1,8 @@
+\def\thebibliography#1{\chapter*{Bibliography\@mkboth
+ {BIBLIOGRAPHY}{BIBLIOGRAPHY}}\list
+ {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth
+ \advance\leftmargin\labelsep
+ \usecounter{enumi}}
+ \def\newblock{\hskip .11em plus .33em minus -.07em}
+ \sloppy\clubpenalty4000\widowpenalty4000
+ \sfcode`\.=1000\relax}
diff --git a/biblio/bibtex/utils/bib2ml/AUTHORS b/biblio/bibtex/utils/bib2ml/AUTHORS
new file mode 100644
index 0000000000..075f3145ac
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/AUTHORS
@@ -0,0 +1,14 @@
+Authors:
+Stéphane GALLAND <galland@arakhne.org>
+
+Contributors:
+Aurel GABRIS <gabrisa@optics.szfki.kfki.hu>
+Gasper JAKLIC <gasper.jaklic@fmf.uni-lj.si>
+Tobias LOEW <loew@mathematik.tu-darmstadt.de>
+Joao LOURENCO <joao.lourenco@di.fct.unl.pt>
+Dimitris MICHAIL <michail@mpi-sb.mpg.de>
+Luca PAOLINI <paolini@di.unito.it>
+Norbert PREINING <preining@logic.at>
+Cristian RIGAMONTI <cri@linux.it>
+Sebastian RODRIGUEZ <sebastian.rodriguez@utbm.fr>
+Martin P.J. ZINSER <zinser@zinser.no-ip.info>
diff --git a/biblio/bibtex/utils/bib2ml/COPYING b/biblio/bibtex/utils/bib2ml/COPYING
new file mode 100644
index 0000000000..1942c4334c
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/COPYING
@@ -0,0 +1,341 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+ 59 Temple Place - Suite 330
+ Boston, MA 02111-1307, USA.
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) 19yy <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; see the file COPYING. If not, write to
+ the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) 19yy name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Library General
+Public License instead of this License.
diff --git a/biblio/bibtex/utils/bib2ml/Changelog b/biblio/bibtex/utils/bib2ml/Changelog
new file mode 100644
index 0000000000..2943616466
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/Changelog
@@ -0,0 +1,389 @@
+2011-07-31 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 6.7
+ * bib2sql: Bug fix: the bibtex_entrytype table is not filled with the types
+ of the entries due to an error in a boolean condition.
+ * bib2sql: Notify with a warning when the same author seems to appear many times
+ for the same entry.
+ * bib2sql: add command line parameter 'sql-engine' which permits to specify
+ the SQL engine for which the SQL script should be generated.
+ * bib2sql: create the MySQL support.
+ * bib2sql: create the PostgreSQL support.
+
+2011-07-27 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 6.6
+ * bib2sql: the word "order" could not be used as variable name because it is a
+ reserved word in SQL syntax. Rename it as "order_id".
+ * bib2sql: Ensure that the numerical identifiers of the authors and editors are unique.
+
+2009-03-21 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 6.5
+ * Extend the syntax supported for the bibtex keys, but output a warning.
+ * Add warning message when a language file was not found (verbose mode 2 or higher).
+
+2009-03-15 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 6.4
+ * Add function which remove the accents from an HTML string. This function is used to have consistent sorting outputs.
+ * Changes the labels of the trees' root nodes.
+ * The C and c acute characters are now correctly substitued.
+ * Bug fix: the caron TeX characters are not translated into well-formated HTML characters. Fixed
+ * Bug fix: in Simple.pm, some hash references have not a generic syntax which cause invalid invalid hash refs exceptions.
+ * Change the official website address from "www.arakhne.org/bib2html" to "www.arakhne.org/bib2ml".
+
+2008-08-01 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 6.3
+ * Add the support for the TeX command \url.
+ * Major bug fix: the locale support of the Theme were not loaded. Fixed.
+
+2008-05-28 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 6.2
+ * Bug fix: several thrid-party tools declare BibTeX fields
+ with a name composed of the special characters "-_0-9:.".
+ The BibTeX parser now supports this kind of field name.
+
+2007-07-25 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 6.1
+ * Rename the tool Bib2HTML into Bib2ML which is more
+ closer to the different available translations.
+ And it will prepare the submission to CTAN.
+
+2007-04-16 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 6.1
+ * Feature:
+ - When the 'pdf' field contains a local file reference, it
+ will be replaced by the 'localfile' field.
+
+2007-03-21 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 6.0
+ * Feature:
+ - Add the BibTeX field "doi".
+ - Add the support of JabRef's groups.
+
+2006-10-06 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 5.1
+ * Feature:
+ - Add new LaTeX commands: \mathbb, \{, \}
+ * Bug fixes:
+ - in the XML generator, the quotation, the ampersand
+ and the less-then and greater-than characters are
+ not properly processed.
+ - The sorting functions was re-implemented to
+ tackle problems one accentuated characters.
+ - The 'inbook' entries will be proceeded as the
+ "book" entries.
+
+2006-08-31 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 5.0
+ * Feature:
+ - Add the SQL generator.
+ - Add the generator parameter 'xml-encoding'
+ - Add the command line options '--protect', '--cvs', '--svn'
+ * Bug fixes:
+ - Rewrite some error messages to be more understandable.
+
+2006-05-31 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 4.4
+ * Feature:
+ - Add the support for the TeX commands \string, \edef, \xdef
+ - Add the generator parameter 'html-encoding'
+
+2006-05-29 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 4.3
+ * Feature:
+ - Tobia adds the support for some roman characters.
+
+2006-05-03 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 4.2
+ * Feature:
+ - Add the support of the BibTeX field 'adsurl' which permits
+ to link to the standard Astrophysics Citation Reference Database.
+
+2006-04-12 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 4.1
+ * Bug:
+ - When the BibTeX parser find multi-definition of BibTeX strings,
+ it dies on an undefined subroutine error.
+
+2006-04-10 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 4.0
+ * Feature:
+ - Do not display in verbatim mode the BibTeX fields with
+ a name starting with "opt".
+ - Luca patches the TeX translator for supporting more letters
+ with the caron accent.
+ - From a Luca's request, the generator parameter 'hideindex'
+ is introduced to allow hiding of the indexes.
+ - Aurel introduces the generator parameters 'max-titlelength-overview'
+ and 'show-journalparams-overview'.
+ - Stephane introduces the generator parameter 'doc-repository'.
+ - Stephane introduces the command 'bib2xml' as a specialization
+ of bib2html (with the option -g XML).
+ * Bug:
+ - The translator does not produce the right default value for
+ the TeX command \v.
+ - The HTML function which permits to extract author initials
+ was fixed to support in entry name's initials.
+ - The list of generators was ot properly displayed if
+ the absolute path to bib2html contains a directory name
+ with a space character.
+ - The list of support languages was ot properly displayed if
+ the absolute path to bib2html contains a directory name
+ with a space character.
+ - The editors was not displayed when the author's list was empty.
+ - The BibTeX references [???] now support HTML characters.
+
+2005-02-14 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 3.3
+ * Feature:
+ - Add some norvegian characters.
+ * Bug:
+ - The parameter of @preamble is now entirely
+ parsed as a string. You don't need any more
+ to enclose the TeX command by braces.
+ - the parser for the author's names know support
+ HTML entities inside the firstnames.
+
+2005-01-25 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 3.2
+ * Feature:
+ - Add the field 'pdf' which must contains the name
+ of a PDF file (an URL or a local filename).
+ - Add the parameter 'backslash' for the Extended
+ generator.
+ * Bug:
+ - In the parser, The token 'string' could be preceeded
+ by a set of space from the start of the line.
+ - Remove the required display of the field 'date'. In
+ BibTeX, the fields 'year' and 'month' replace it.
+ - Be sure that some characters will not be used
+ inside the filnames (e.g. ':').
+ - Major bug fix inside the parser. Multiple specification
+ of BibTeX filename on the command line is now truly
+ supported.
+
+2004-12-06 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 3.1
+ * Features:
+ - Portuguese is included into the generators by Joao.
+ * Bug:
+ - The name of the language passed with '--lang' is now
+ case-insensitive.
+
+2004-12-03 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 3.0
+ * Features:
+ - More TeX commands are added by Dimitris:
+ \epsilon, \Epsilon, \mathbf, \mathit, \mathrm,
+ \mathsf, \mathtt, \mathnormal, \sqrt
+ - Create a XML generator which respect the DTD from
+ BibTeXML.
+ - Add an XML output inside the HTML generator.
+ * Bug:
+ - The character '+' is not allowed inside the entry keys.
+
+2004-11-26 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 2.0
+ * Features:
+ - Spanish is included into the generators by Sebastian.
+ - Links to the author's list of publication was
+ added for each other inside the entry's field
+ list.
+ - The option '--checknames' permits to check if
+ some author's names are duplicated or contain
+ mistakes.
+ * Bug:
+ - the year does not appears inside the table of
+ the fields.
+ - the language support for theme only applies
+ the English definitions, not the other
+ languages (French, Spanish).
+
+2004-11-12 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 1.5
+ * Bug:
+ - sometimes the carriage return characters was
+ not supported by the BibTeX parser.
+ - Generation of the BibTeX short labels (eg. [ABC04])
+ produces too long labels in case a lot of
+ names was proposed to the function.
+ - The names of the authors are not well upper-cased
+ for each first letter of the words.
+ - if an error occurs during the copy of a pdf file,
+ bib2html will not failed but only warm the user.
+
+2004-09-22 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 1.4
+ * Bug: do not copy the electronical file with
+ the generator parameter 'target-url' was specified
+ for the Extended generator.
+
+2004-08-23 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 1.3
+ * Features:
+ - the generator parameter 'type-matching' has its
+ value's syntax extended.
+ - Add the new BibTeX entry type 'proceedings' and
+ 'unpublished'.
+ * Bugs:
+ - The values of the fields 'localfile' and 'url'
+ were not properly extracted.
+ - Fix the indentation of the generated BibTeX section.
+ - Updates some language's strings
+ - Assumes that the characters '-' and '_' are aliases
+ for the character '-' inside the generator
+ parameter's names.
+ - Fix the output to be validable by the W3C validators
+ (HTML 4.01 and CSS).
+
+2004-08-17 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 1.2
+ * Bugs:
+ - rhe special section @comment{} was not properly
+ parsed. Fix it with an update of the regular
+ expression which matches "@COMMENT".
+ - Allow the state "line_comment" to finish the
+ BibTeX file's parsing.
+
+2004-03-27 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 1.1
+ * Features:
+ - enhances the generator parameters 'author-regexp',
+ etc: add many new types instead of one.
+ - add the support of the BibTeX field 'crossref':
+ it permits to implement a kind of inheritance
+ between two entries
+ - add the generation of a BibTeX code verbatim
+ (and the command line parameter which permits
+ to set it on/off)
+ * Bugs:
+ - in indexes, regroup the reference with the same label
+ - put a better header title inside the HTML files of
+ the entries
+ - w3c norm fix: generates the <body> tags
+ - add a white background color for the theme Simple
+ - in ExtendedGen.pm, DomainGen.pm: fix a syntactical
+ error and update to be compliant with fixes that
+ occurs inside HTMLGen.pm
+ - in HTMLGen.pm, Norbert fixes some bug due to the
+ bad inclusion of their patchs for the release 1.0
+ - in Parser.pm: Norbert fixes a infinite loop recusion
+ bug. This bug is due to the definition of a constant
+ with same name and value (in a lowercase comparison).
+ For example: @STRING{springer=Springer} generates a
+ infinite loop.
+ - some code cleaning
+
+2004-03-17 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 1.0
+ * Features:
+ - add generator parameters for the HTMLGen generator:
+ author-regexp, max-names-overview, max-names-list,
+ newtype, type-matching (added by Norbert)
+ * Bugs:
+ - an exception was generated when an entry has no
+ author nor editor.
+ - in bibtex parsing: now support syntax as foo #
+ " and " # bla
+ - applies patchs from Norbert in TeX.pm, Misc.pm
+ and HTMLGen.pm
+
+2004-02-02 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 0.11
+ * Features:
+ - add an index of authors and of author's publications
+ inside the two left frames
+ - add the class AbstractGenerator.pm
+ - add ExtendedGen.pm which permits to generate HTML
+ page with:
+ a) isbn, issn, and readers
+ b) abstract and keywords
+ c) the support for downloading an electronic
+ document ('localfile')
+ - add the support of LaTeX environments (\begin,\end)
+ - add the generator Domain which permits to support
+ domain for documents (domain, nddomain, rddomain,
+ domains)
+ * Bugs:
+ - in HTMLGen.pm, fixes not initialized variable uses
+ - changes the behavior of some command line options
+ - in Parser.pm, support recursive merging operator for strings
+
+2003-12-11 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 0.10
+ * Bugs:
+ - in BibScanner.pm, did not recognized correctly the
+ @STRING commands
+ - in BibScanner.pm, the concatened strings was too
+ early merged (before any replacement by the
+ @STRING's values)
+ - in BibScanner.pm, the parsed field labels must
+ be automatically lower cased. Ut permits to support
+ case-independent label for BibTeX fields
+ - in Scanner.pm, ungetpattern() does not its job well.
+
+2003-09-19 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 0.9
+ * Features:
+ - Adds the generator 'Extended' which support the
+ bibtex tags:
+ * 'url' : URL to informational web page
+ * 'isbn'
+ * 'issn'
+ * 'localfile' : relative path to a file to download
+ * 'abstract'
+ * 'keywords'
+ * 'readers' : informational tag that indicates who
+ read this entry (according to the bibtex name syntax)
+ - Adds the support of "et al." inside the bibtex names.
+ - Adds some command line arguments
+ * Bugs:
+ - in the HTML filename translations.
+ - get the editor field when the author one is empty.
+ - ignore TeX parsing for the fields 'localfile' and 'url'
+ - support more formats for the bibtex author's names:
+ [von] Last, jr, First [and ...]
+ First [von] Last, jr [and ...]
+ [von] Last, First [jr] [and ...]
+ First [von] Last [jr] [and ...]
+ name, [name, ...] [and name]
+
+2003-08-01 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 0.8
+ * Feature: adds the support of the LaTeX commands
+ \cite[]{}
+ * Bugs:
+ - recognizes the character '-' inside the bibkeys
+ - some other minor bug fixes
+
+2003-07-09 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 0.7
+ * Features:
+ - add the support of mathematical modes (not the support
+ of all TeX commands inside the mathematical mode)
+ - partial support of Math-ML
+ * Bugs:
+ - add support of some TeX commands( \i, \~, ...)
+ - ignore text between bibtex entries
+ - better recognition for author names.
+ - warm the user when the "year" is not a number.
+ - suppress redondant error messages.
+ - bug in the verbosing level calculation
+ - some syntaxic fixes
+
+2003-06-26 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 0.6
+ * Features:
+ - adds the multi-language support
+ - adds theme for the HTML generators
+ * Bugs:
+ - some uses of the function sort inside
+ a return are improper. Fixed to be
+ sure that the return statement takes
+ only one value.
+ - adds the function notempty() to permit to
+ have strings which contain only "0"
+
+2003-03-04 Stéphane GALLAND <galland@arakhne.org>
+ * Release: 0.5
+ This is the first public release on the version
+ entirely based on perl.
+
diff --git a/biblio/bibtex/utils/bib2ml/INSTALL b/biblio/bibtex/utils/bib2ml/INSTALL
new file mode 100644
index 0000000000..35b08e392b
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/INSTALL
@@ -0,0 +1,2 @@
+File not used.
+See ./doc/index.html instead.
diff --git a/biblio/bibtex/utils/bib2ml/NEWS b/biblio/bibtex/utils/bib2ml/NEWS
new file mode 100644
index 0000000000..2d8c65b2b6
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/NEWS
@@ -0,0 +1,2 @@
+File not used.
+See Changelog instead.
diff --git a/biblio/bibtex/utils/bib2ml/README b/biblio/bibtex/utils/bib2ml/README
new file mode 100644
index 0000000000..bfd7c3dee3
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/README
@@ -0,0 +1,13 @@
+bib2ml (ex bib2html) from Arakhne.org is a Perl script which permits to create a set of HTML pages, an XML file or a SQL script from a BibTeX file.
+It proposes a convenient look and a lot of features (PDF downloading, scientifical domain tree...).
+
+Official website: http://www.arakhne.org/bib2html/
+
+DISLAIMER FROM AUTHORS:
+I’ve come across mention of other bib2html programs. This program is in no way related to any of them. Other BibTeX-to-HTML tools (non-exhautive list) :
+ * bib2html from Kiri Wagstaff
+ * bib2html from David Kotz (also on CTAN)
+ * bib2html from Eric Marchand
+ * bib2html from Mark Moll and Patrick Riley
+
+See ./doc/index.html for more details.
diff --git a/biblio/bibtex/utils/bib2ml/TODO b/biblio/bibtex/utils/bib2ml/TODO
new file mode 100644
index 0000000000..78b2aa0a6a
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/TODO
@@ -0,0 +1,3 @@
+- work on the parsing/generation performances
+- implements croossrefs inside the BibTeX file
+- add translations for console messages
diff --git a/biblio/bibtex/utils/bib2ml/VERSION b/biblio/bibtex/utils/bib2ml/VERSION
new file mode 100644
index 0000000000..a640cad24a
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/VERSION
@@ -0,0 +1 @@
+bib2ml 6.7
diff --git a/biblio/bibtex/utils/bib2ml/deb-specific/checkinstall.pl b/biblio/bibtex/utils/bib2ml/deb-specific/checkinstall.pl
new file mode 100755
index 0000000000..a35ce5957b
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/deb-specific/checkinstall.pl
@@ -0,0 +1,81 @@
+#!/usr/bin/perl -w
+
+use strict;
+
+use File::Spec;
+
+sub readInstallFile($) {
+ my $installFile = shift;
+ my @files = ();
+ local *FILE;
+ open(*FILE, "<$installFile") or die("$installFile: $!\n");
+ while (my $line = <FILE>) {
+ if ($line =~ /^\s*([^\s]+)/i) {
+ my $filename = "$1";
+ push @files, $filename;
+ }
+ }
+ close(*FILE);
+ return @files
+}
+
+sub readDir($$) {
+ my $dir = shift;
+ my $pattern = shift;
+ my @subfiles = ();
+ local *DIR;
+ opendir(*DIR,"$dir") or die("$dir: $!\n");
+ while (my $file = readdir(*DIR)) {
+ if ($file ne File::Spec->curdir() && $file ne File::Spec->updir()) {
+ if ($file =~ /^$pattern$/i) {
+ push @subfiles, File::Spec->catfile($dir,$file);
+ }
+ }
+ }
+ closedir(*DIR);
+ return @subfiles;
+}
+
+my @installFiles = readDir("debian", ".*\.install");
+my @toInstall = ();
+
+foreach my $installFile (@installFiles) {
+
+ my @files = readInstallFile($installFile);
+ push @toInstall, @files;
+
+}
+
+my @dirs = ( "src" );
+my $erroroccured = 0;
+
+while (@dirs) {
+ my $dir = pop @dirs;
+ local *DIR;
+ opendir(*DIR, "$dir") or die("$dir: $!\n");
+ while (my $file = readdir(*DIR)) {
+ if ($file ne File::Spec->curdir() && $file ne File::Spec->updir()) {
+ my $fName = File::Spec->catfile($dir,$file);
+ if (-d $fName) {
+ push @dirs, $fName;
+ }
+ else {
+ my $found = 0;
+ foreach my $if (@toInstall) {
+ if ($if eq $fName || $fName =~ /^\Q$if\E/) {
+ $found = 1;
+ last;
+ }
+ }
+ if (!$found) {
+ $erroroccured = 1;
+ print STDERR "FILE $fName IS NOT INSTALLABLE\n";
+ }
+ }
+ }
+ }
+ closedir(*DIR);
+}
+
+exit($erroroccured ? 1 : 0);
+
diff --git a/biblio/bibtex/utils/bib2ml/debian/bib2html.docs b/biblio/bibtex/utils/bib2ml/debian/bib2html.docs
new file mode 100644
index 0000000000..ad1ca2d2e9
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/debian/bib2html.docs
@@ -0,0 +1,2 @@
+man/bib2html_en.pod
+man/bib2html_fr.pod
diff --git a/biblio/bibtex/utils/bib2ml/debian/bib2html.install b/biblio/bibtex/utils/bib2ml/debian/bib2html.install
new file mode 100644
index 0000000000..b0e182c185
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/debian/bib2html.install
@@ -0,0 +1,28 @@
+src/Bib2HTML/Generator/DomainGen.pm usr/lib/bib2ml/Bib2HTML/Generator
+src/Bib2HTML/Generator/drive.png usr/lib/bib2ml/Bib2HTML/Generator
+src/Bib2HTML/Generator/ExtendedGen.pm usr/lib/bib2ml/Bib2HTML/Generator
+src/Bib2HTML/Generator/HTMLGen.pm usr/lib/bib2ml/Bib2HTML/Generator
+src/Bib2HTML/Generator/loupe.gif usr/lib/bib2ml/Bib2HTML/Generator
+src/Bib2HTML/Generator/Theme.pm usr/lib/bib2ml/Bib2HTML/Generator
+src/Bib2HTML/Generator/valid-css.gif usr/lib/bib2ml/Bib2HTML/Generator
+src/Bib2HTML/Generator/valid-html401.gif usr/lib/bib2ml/Bib2HTML/Generator
+src/Bib2HTML/Generator/Lang/English.HTMLGen usr/lib/bib2ml/Bib2HTML/Generator/Lang
+src/Bib2HTML/Generator/Lang/French.HTMLGen usr/lib/bib2ml/Bib2HTML/Generator/Lang
+src/Bib2HTML/Generator/Lang/Spanish.HTMLGen usr/lib/bib2ml/Bib2HTML/Generator/Lang
+src/Bib2HTML/Generator/Lang/Italian.HTMLGen usr/lib/bib2ml/Bib2HTML/Generator/Lang
+src/Bib2HTML/Generator/Lang/Portuguese.HTMLGen usr/lib/bib2ml/Bib2HTML/Generator/Lang
+src/Bib2HTML/Generator/Theme/Dyna.pm usr/lib/bib2ml/Bib2HTML/Generator/Theme
+src/Bib2HTML/Generator/Theme/Simple.pm usr/lib/bib2ml/Bib2HTML/Generator/Theme
+src/Bib2HTML/Generator/Theme/Dyna/child.gif usr/lib/bib2ml/Bib2HTML/Generator/Theme/Dyna
+src/Bib2HTML/Generator/Theme/Dyna/emptychild.gif usr/lib/bib2ml/Bib2HTML/Generator/Theme/Dyna
+src/Bib2HTML/Generator/Theme/Dyna/lastchild.gif usr/lib/bib2ml/Bib2HTML/Generator/Theme/Dyna
+src/Bib2HTML/Generator/Theme/Dyna/minus.gif usr/lib/bib2ml/Bib2HTML/Generator/Theme/Dyna
+src/Bib2HTML/Generator/Theme/Dyna/plus.gif usr/lib/bib2ml/Bib2HTML/Generator/Theme/Dyna
+src/Bib2HTML/Generator/Theme/Dyna/samechild.gif usr/lib/bib2ml/Bib2HTML/Generator/Theme/Dyna
+src/Bib2HTML/Generator/Theme/Dyna/stylesheet.css usr/lib/bib2ml/Bib2HTML/Generator/Theme/Dyna
+src/Bib2HTML/Generator/Lang/English.Theme.Dyna usr/lib/bib2ml/Bib2HTML/Generator/Lang
+src/Bib2HTML/Generator/Lang/French.Theme.Dyna usr/lib/bib2ml/Bib2HTML/Generator/Lang
+src/Bib2HTML/Generator/Lang/Italian.Theme.Dyna usr/lib/bib2ml/Bib2HTML/Generator/Lang
+src/Bib2HTML/Generator/Lang/Portuguese.Theme.Dyna usr/lib/bib2ml/Bib2HTML/Generator/Lang
+src/Bib2HTML/Generator/Lang/Spanish.Theme.Dyna usr/lib/bib2ml/Bib2HTML/Generator/Lang
+src/bib2html.pl usr/lib/bib2ml
diff --git a/biblio/bibtex/utils/bib2ml/debian/bib2html.manpages b/biblio/bibtex/utils/bib2ml/debian/bib2html.manpages
new file mode 100644
index 0000000000..01324bbede
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/debian/bib2html.manpages
@@ -0,0 +1,2 @@
+man/bib2html.1.gz
+man/bib2html.fr.1.gz
diff --git a/biblio/bibtex/utils/bib2ml/debian/bib2html.postinst b/biblio/bibtex/utils/bib2ml/debian/bib2html.postinst
new file mode 100755
index 0000000000..53f5f5ea05
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/debian/bib2html.postinst
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+set -e
+
+if [ "$1" = configure ]; then
+
+ echo -n "Installing bib2html... "
+
+ update-alternatives --install /usr/bin/bib2html bib2html /usr/lib/bib2ml/bib2html.pl 500 --slave /usr/bin/bibtex2html bibtex2html /usr/lib/bib2ml/bib2html.pl
+ update-alternatives --auto bib2html
+
+ echo "done."
+
+fi
+
+exit 0
diff --git a/biblio/bibtex/utils/bib2ml/debian/bib2html.prerm b/biblio/bibtex/utils/bib2ml/debian/bib2html.prerm
new file mode 100755
index 0000000000..73da216f13
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/debian/bib2html.prerm
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+set -e
+
+case "$1" in
+ remove | deconfigure)
+
+ echo -n "Unstalling bib2html... "
+
+ update-alternatives --remove bib2html /usr/lib/bib2ml/bib2html.pl
+
+ echo "done."
+ ;;
+esac
+
+exit 0
diff --git a/biblio/bibtex/utils/bib2ml/debian/bib2ml-common.docs b/biblio/bibtex/utils/bib2ml/debian/bib2ml-common.docs
new file mode 100644
index 0000000000..1090c5fd5b
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/debian/bib2ml-common.docs
@@ -0,0 +1,2 @@
+doc/*
+src/bib2html.php
diff --git a/biblio/bibtex/utils/bib2ml/debian/bib2ml-common.install b/biblio/bibtex/utils/bib2ml/debian/bib2ml-common.install
new file mode 100644
index 0000000000..de2152aa2f
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/debian/bib2ml-common.install
@@ -0,0 +1,28 @@
+src/Bib2HTML/Checker/Names.pm usr/lib/bib2ml/Bib2HTML/Checker
+src/Bib2HTML/General/Encode.pm usr/lib/bib2ml/Bib2HTML/General
+src/Bib2HTML/General/Error.pm usr/lib/bib2ml/Bib2HTML/General
+src/Bib2HTML/General/HTML.pm usr/lib/bib2ml/Bib2HTML/General
+src/Bib2HTML/General/Misc.pm usr/lib/bib2ml/Bib2HTML/General
+src/Bib2HTML/General/Title.pm usr/lib/bib2ml/Bib2HTML/General
+src/Bib2HTML/General/Verbose.pm usr/lib/bib2ml/Bib2HTML/General
+src/Bib2HTML/Parser/BibScanner.pm usr/lib/bib2ml/Bib2HTML/Parser
+src/Bib2HTML/Parser/Parser.pm usr/lib/bib2ml/Bib2HTML/Parser
+src/Bib2HTML/Parser/Scanner.pm usr/lib/bib2ml/Bib2HTML/Parser
+src/Bib2HTML/Parser/StateMachine.pm usr/lib/bib2ml/Bib2HTML/Parser
+src/Bib2HTML/Translator/BibTeXEntry.pm usr/lib/bib2ml/Bib2HTML/Translator
+src/Bib2HTML/Translator/BibTeXName.pm usr/lib/bib2ml/Bib2HTML/Translator
+src/Bib2HTML/Translator/TeX.pm usr/lib/bib2ml/Bib2HTML/Translator
+src/Bib2HTML/Main.pm usr/lib/bib2ml/Bib2HTML
+src/Bib2HTML/Release.pm usr/lib/bib2ml/Bib2HTML
+src/Bib2HTML/Generator/AbstractGenerator.pm usr/lib/bib2ml/Bib2HTML/Generator
+src/Bib2HTML/Generator/FileWriter.pm usr/lib/bib2ml/Bib2HTML/Generator
+src/Bib2HTML/Generator/Lang.pm usr/lib/bib2ml/Bib2HTML/Generator
+src/Bib2HTML/Generator/LangManager.pm usr/lib/bib2ml/Bib2HTML/Generator
+src/Bib2HTML/Generator/StdOutWriter.pm usr/lib/bib2ml/Bib2HTML/Generator
+src/Bib2HTML/Generator/Writer.pm usr/lib/bib2ml/Bib2HTML/Generator
+src/Bib2HTML/Generator/Lang/English usr/lib/bib2ml/Bib2HTML/Generator/Lang
+src/Bib2HTML/Generator/Lang/French usr/lib/bib2ml/Bib2HTML/Generator/Lang
+src/Bib2HTML/Generator/Lang/Spanish usr/lib/bib2ml/Bib2HTML/Generator/Lang
+src/Bib2HTML/Generator/Lang/Italian usr/lib/bib2ml/Bib2HTML/Generator/Lang
+src/Bib2HTML/Generator/Lang/Portuguese usr/lib/bib2ml/Bib2HTML/Generator/Lang
+src/Bib2HTML/JabRef/JabRef.pm usr/lib/bib2ml/Bib2HTML/JabRef
diff --git a/biblio/bibtex/utils/bib2ml/debian/bib2sql.docs b/biblio/bibtex/utils/bib2ml/debian/bib2sql.docs
new file mode 100644
index 0000000000..73cb6bbd8c
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/debian/bib2sql.docs
@@ -0,0 +1,2 @@
+man/bib2sql_en.pod
+man/bib2sql_fr.pod
diff --git a/biblio/bibtex/utils/bib2ml/debian/bib2sql.install b/biblio/bibtex/utils/bib2ml/debian/bib2sql.install
new file mode 100644
index 0000000000..46523093af
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/debian/bib2sql.install
@@ -0,0 +1,2 @@
+src/Bib2HTML/Generator/SQLGen.pm usr/lib/bib2ml/Bib2HTML/Generator
+src/bib2sql.pl usr/lib/bib2ml
diff --git a/biblio/bibtex/utils/bib2ml/debian/bib2sql.manpages b/biblio/bibtex/utils/bib2ml/debian/bib2sql.manpages
new file mode 100644
index 0000000000..cc79e41f6f
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/debian/bib2sql.manpages
@@ -0,0 +1,2 @@
+man/bib2sql.1.gz
+man/bib2sql.fr.1.gz
diff --git a/biblio/bibtex/utils/bib2ml/debian/bib2sql.postinst b/biblio/bibtex/utils/bib2ml/debian/bib2sql.postinst
new file mode 100755
index 0000000000..f4b1b490bf
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/debian/bib2sql.postinst
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+set -e
+
+if [ "$1" = configure ]; then
+
+ echo -n "Installing bib2sql... "
+
+ update-alternatives --install /usr/bin/bib2sql bib2sql /usr/lib/bib2ml/bib2sql.pl 500 --slave /usr/bin/bibtex2sql bibtex2sql /usr/lib/bib2ml/bib2sql.pl
+ update-alternatives --auto bib2sql
+
+ echo "done."
+
+fi
+
+exit 0
diff --git a/biblio/bibtex/utils/bib2ml/debian/bib2sql.prerm b/biblio/bibtex/utils/bib2ml/debian/bib2sql.prerm
new file mode 100755
index 0000000000..fd9c8a0682
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/debian/bib2sql.prerm
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+set -e
+
+case "$1" in
+ remove | deconfigure)
+
+ echo -n "Unstalling bib2sql... "
+
+ update-alternatives --remove bib2sql /usr/lib/bib2ml/bib2sql.pl
+
+ echo "done."
+ ;;
+esac
+
+exit 0
diff --git a/biblio/bibtex/utils/bib2ml/debian/bib2xml.docs b/biblio/bibtex/utils/bib2ml/debian/bib2xml.docs
new file mode 100644
index 0000000000..c88903004b
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/debian/bib2xml.docs
@@ -0,0 +1,2 @@
+man/bib2xml_en.pod
+man/bib2xml_fr.pod
diff --git a/biblio/bibtex/utils/bib2ml/debian/bib2xml.install b/biblio/bibtex/utils/bib2ml/debian/bib2xml.install
new file mode 100644
index 0000000000..3f5287483c
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/debian/bib2xml.install
@@ -0,0 +1,4 @@
+src/Bib2HTML/Generator/XMLGen.pm usr/lib/bib2ml/Bib2HTML/Generator
+src/Bib2HTML/Generator/bibteXML.dtd usr/lib/bib2ml/Bib2HTML/Generator
+src/Bib2HTML/Generator/bibteXML-ext.dtd usr/lib/bib2ml/Bib2HTML/Generator
+src/bib2xml.pl usr/lib/bib2ml
diff --git a/biblio/bibtex/utils/bib2ml/debian/bib2xml.manpages b/biblio/bibtex/utils/bib2ml/debian/bib2xml.manpages
new file mode 100644
index 0000000000..d4e054cd04
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/debian/bib2xml.manpages
@@ -0,0 +1,2 @@
+man/bib2xml.1.gz
+man/bib2xml.fr.1.gz
diff --git a/biblio/bibtex/utils/bib2ml/debian/bib2xml.postinst b/biblio/bibtex/utils/bib2ml/debian/bib2xml.postinst
new file mode 100755
index 0000000000..7d176b1749
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/debian/bib2xml.postinst
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+set -e
+
+if [ "$1" = configure ]; then
+
+ echo -n "Installing bib2xml... "
+
+ update-alternatives --install /usr/bin/bib2xml bib2xml /usr/lib/bib2ml/bib2xml.pl 500 --slave /usr/bin/bibtex2xml bibtex2xml /usr/lib/bib2ml/bib2xml.pl
+ update-alternatives --auto bib2xml
+
+ echo "done."
+
+fi
+
+exit 0
diff --git a/biblio/bibtex/utils/bib2ml/debian/bib2xml.prerm b/biblio/bibtex/utils/bib2ml/debian/bib2xml.prerm
new file mode 100755
index 0000000000..abd2a3306d
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/debian/bib2xml.prerm
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+set -e
+
+case "$1" in
+ remove | deconfigure)
+
+ echo -n "Unstalling bib2xml... "
+
+ update-alternatives --remove bib2xml /usr/lib/bib2ml/bib2xml.pl
+
+ echo "done."
+ ;;
+esac
+
+exit 0
diff --git a/biblio/bibtex/utils/bib2ml/debian/changelog b/biblio/bibtex/utils/bib2ml/debian/changelog
new file mode 100644
index 0000000000..a3a254b42c
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/debian/changelog
@@ -0,0 +1,475 @@
+bib2ml (6.7-0arakhne0) natty; urgency=low
+
+ * bib2sql: Bug fix: the bibtex_entrytype table is not filled with the types
+ of the entries due to an error in a boolean condition.
+ * bib2sql: Notify with a warning when the same author seems to appear many times
+ for the same entry.
+ * bib2sql: add command line parameter 'sql-engine' which permits to specify
+ the SQL engine for which the SQL script should be generated.
+ * bib2sql: create the MySQL support.
+ * bib2sql: create the PostgreSQL support.
+
+ -- Stephane GALLAND <galland@arakhne.org> Sun, 31 Jul 2011 18:16:02 +0200
+
+bib2ml (6.6-0arakhne0) natty; urgency=low
+
+ * intrepid -> natty
+ * bib2sql: the word "order" could not be used as variable name because it is a
+ reserved word in SQL syntax. Rename it as "order_id".
+ * bib2sql: Ensure that the numerical identifiers of the authors and editors are unique.
+
+ -- Stephane GALLAND <galland@arakhne.org> Wed, 27 Jul 2011 08:15:25 +0200
+
+bib2ml (6.5-0arakhne2) intrepid; urgency=low
+
+ * Put missed files in the Debian packages (language files for Dyna theme).
+
+ -- Stephane GALLAND <galland@arakhne.org> Wed, 25 Mar 2009 10:39:05 +0100
+
+bib2ml (6.5-0arakhne1) intrepid; urgency=low
+
+ * Do not recommend any more the teTeX packages. Recommend TeXLive in place.
+
+ -- Stephane GALLAND <galland@arakhne.org> Mon, 23 Mar 2009 00:22:46 +0100
+
+bib2ml (6.5-0arakhne0) intrepid; urgency=low
+
+ * Extend the syntax supported for the bibtex keys, but output a warning.
+ * Add warning message when a language file was not found (verbose mode 2 or higher).
+
+ -- Stephane GALLAND <galland@arakhne.org> Mon, 23 Mar 2009 00:08:56 +0100
+
+bib2ml (6.4-0arakhne0) intrepid; urgency=low
+
+ * Add function which remove the accents from an HTML string. This function is used to have consistent sorting outputs.
+ * Changes the labels of the trees' root nodes.
+ * The C and c acute characters are now correctly substitued.
+ * Bug fixes:
+ - the caron TeX characters are not translated into well-formated HTML characters;
+ - in Simple.pm, some hash references have not a generic syntax which cause invalid invalid hash refs exceptions;
+ * Change the official website address from "www.arakhne.org/bib2html" to "www.arakhne.org/bib2ml".
+
+ -- Stephane GALLAND <galland@arakhne.org> Sun, 15 Mar 2009 15:24:50 +0100
+
+bib2ml (6.3-0arakhne0) unstable; urgency=low
+
+ * Add the support for the TeX command \url.
+ * Major bug fix: the locale support of the Theme were not loaded. Fixed.
+
+ -- Stephane GALLAND <galland@arakhne.org> Fri, 01 Aug 2008 10:30:37 +0200
+
+bib2ml (6.2-0arakhne0) unstable; urgency=low
+
+ * Bug fix: several thrid-party tools declare BibTeX fields
+ with a name composed of the special characters "-_0-9:.".
+ The BibTeX parser now supports this kind of field name.
+
+ -- Stephane GALLAND <galland@arakhne.org> Wed, 28 May 2008 08:55:24 +0200
+
+bib2ml (6.1-4) unstable; urgency=low
+
+ * Use Debian alternatives instead of direct links from /usr/bin to the Perl scripts.
+
+ -- Stephane GALLAND <galland@arakhne.org> Wed, 25 Jul 2007 08:43:22 +0200
+
+bib2ml (6.1-3) unstable; urgency=low
+
+ * Not enough file included into the bib2ml-common package.
+
+ -- Stephane GALLAND <galland@arakhne.org> Wed, 25 Jul 2007 07:01:49 +0200
+
+bib2ml (6.1-2) unstable; urgency=low
+
+ * Rename the tool Bib2HTML into Bib2ML which is more
+ closer to the different available translations.
+ And it will prepare the submission to CTAN.
+
+ -- Stephane GALLAND <galland@arakhne.org> Wed, 25 Jul 2007 06:08:43 +0200
+
+bib2html (6.1-1) unstable; urgency=low
+
+ * Feature:
+ - When the 'pdf' field contains a local file reference, it
+ will be replaced by the 'localfile' field.
+
+ -- Stephane GALLAND <galland@arakhne.org> Mon, 16 Apr 2007 10:49:53 +0200
+
+bib2html (6.0-1) unstable; urgency=low
+
+ * Feature:
+ - Add the field 'doi' inside the Extended generator.
+ - Add the support of the JabRef's groups.
+
+ -- Stephane GALLAND <galland@arakhne.org> Wed, 21 Mar 2007 13:33:13 +0100
+
+bib2html (5.1-1) unstable; urgency=low
+
+ * Feature:
+ - Add new latex commands: \mathbb, \{, \}
+ * Bug fixes:
+ - in the XML generator, the quotation, the ampersand
+ and the less-then and greater-than characters are
+ not properly processed.
+ - The sorting functions was re-implemented to
+ tackle problems one accentuated characters.
+ - The 'inbook' entries will be proceeded as the
+ "book" entries.
+
+ -- Stephane GALLAND <galland@arakhne.org> Fri, 06 Oct 2006 21:16:14 +0200
+
+bib2html (5.0-1) unstable; urgency=low
+
+ * Feature:
+ - Add the SQL generator.
+ - Add several generator's parameters in the HTML and the XML generators.
+ - Add the command line options '--protect', '--cvs', '--svn'
+ * Bug fixes:
+ - Rewrite some error messages to be more understandable.
+ * Packaging:
+ - Split the original bib2html Debian package into more dedicated packages.
+
+ -- Stephane GALLAND <galland@arakhne.org> Thu, 31 Aug 2006 15:01:24 +0200
+
+bib2html (4.3-1) unstable; urgency=low
+
+ * Feature:
+ - Tobia adds the support for some roman characters.
+
+ -- Stephane GALLAND <galland@arakhne.org> Mon, 29 May 2006 21:38:18 +0200
+
+bib2html (4.2-1) unstable; urgency=low
+
+ * Feature:
+ - Add the support of the BibTeX field 'adsurl' which permits
+ to link to the standard Astrophysics Citation Reference Database.
+
+ -- Stephane GALLAND <galland@arakhne.org> Wed, 03 May 2006 13:59:37 +0200
+
+bib2html (4.1-1) unstable; urgency=low
+
+ * Bugs:
+ - When the BibTeX parser find multi-definition of BibTeX strings,
+ it dies on an undefined subroutine error.
+
+ -- Stephane GALLAND <galland@arakhne.org> Wed, 12 Apr 2006 15:47:52 +0200
+
+bib2html (4.0-1) unstable; urgency=low
+
+ * Features:
+ - Do not display in verbatim mode the BibTeX fields with
+ a name starting with "opt".
+ - Luca patches the TeX translator for supporting more letters
+ with the caron accent.
+ - From a Luca's request, the generator parameter 'hideindex'
+ is introduced to allow hiding of the indexes.
+ - Aurel introduces the generator parameters 'max-titlelength-overview'
+ and 'show-journalparams-overview'.
+ - Stephane introduces the generator parameter 'doc-repository'.
+ - Stephane introduces the command 'bib2xml' as a specialization
+ of bib2html (with the option -g XML).
+ * Bugs:
+ - The translator does not produce the right default value for
+ the TeX command \v.
+ - The HTML function which permits to extract author initials
+ was fixed to support in entry name's initials.
+ - The list of generators was ot properly displayed if
+ the absolute path to bib2html contains a directory name
+ with a space character.
+ - The list of support languages was ot properly displayed if
+ the absolute path to bib2html contains a directory name
+ with a space character.
+ - The editors was not displayed when the author's list was empty.
+ - The BibTeX references [???] now support HTML characters.
+
+ -- Stephane GALLAND <galland@arakhne.org> Mon, 10 Apr 2006 18:28:32 +0200
+
+bib2html (3.3-1) unstable; urgency=low
+
+ * Features:
+ - Add some norvegian characters.
+ * Bugs:
+ - The parameter of @preamble is now entirely
+ parsed as a string. You don't need any more
+ to enclose the TeX command by braces.
+ - the parser for the author's names know support
+ HTML entities inside the firstnames.
+
+ -- Stephane GALLAND <galland@arakhne.org> Mon, 14 Feb 2005 18:28:32 +0200
+
+bib2html (3.2-1) unstable; urgency=low
+
+ * Features:
+ - Add the field 'pdf' which must contains the name
+ of a PDF file (an URL or a local filename).
+ - Add the parameter 'backslash' for the Extended
+ generator.
+ * Bugs:
+ - In the parser, The token 'string' could be preceeded
+ by a set of space from the start of the line.
+ - Remove the required display of the field 'date'. In
+ BibTeX, the fields 'year' and 'month' replace it.
+ - Be sure that some characters will not be used
+ inside the filnames (e.g. ':').
+ - Major bug fix inside the parser. Multiple specification
+ of BibTeX filename on the command line is now truly
+ supported.
+
+ -- Stephane GALLAND <galland@arakhne.org> Wed, 05 Jan 2005 18:28:32 +0200
+
+bib2html (3.1-1) unstable; urgency=low
+
+ * Features:
+ - Portuguese is included into the generators by Joao.
+ * Bugs:
+ - The name of the language passed with '--lang' is now
+ case-insensitive.
+
+ -- Stephane GALLAND <galland@arakhne.org> Mon, 06 Dec 2004 18:28:32 +0200
+
+bib2html (3.0-1) unstable; urgency=low
+
+ * Features:
+ - More TeX commands are added by Dimitris:
+ \epsilon, \Epsilon, \mathbf, \mathit, \mathrm,
+ \mathsf, \mathtt, \mathnormal, \sqrt
+ - Create a XML generator which respect the DTD from
+ BibTeXML.
+ - Add an XML output inside the HTML generator.
+ * Bugs:
+ - The character '+' is not allowed inside the entry keys.
+
+ -- Stephane GALLAND <galland@arakhne.org> Fri, 03 Dec 2004 18:28:32 +0200
+
+bib2html (2.0-1) unstable; urgency=low
+
+ * Features:
+ - Spanish is included into the generators by Sebastian.
+ - Links to the author's list of publication was
+ added for each other inside the entry's field
+ list.
+ - The option '--checknames' permits to check if
+ some author's names are duplicated or contain
+ mistakes.
+ * Bugs:
+ - the year does not appears inside the table of
+ the fields.
+ - the language support for theme only applies
+ the English definitions, not the other
+ languages (French, Spanish).
+
+ -- Stephane GALLAND <galland@arakhne.org> Fri, 26 Nov 2004 18:28:32 +0200
+
+bib2html (1.5-1) unstable; urgency=low
+
+ * Bugs:
+ - sometimes the carriage return characters was
+ not supported by the BibTeX parser.
+ - Generation of the BibTeX short labels (eg. [ABC04])
+ produces too long labels in case a lot of
+ names was proposed to the function.
+ - The names of the authors are not well upper-cased
+ for each first letter of the words.
+ - if an error occurs during the copy of a pdf file,
+ bib2html will not failed but only warm the user.
+
+ -- Stephane GALLAND <galland@arakhne.org> Thu, 12 Nov 2004 18:28:32 +0200
+
+bib2html (1.4-1) unstable; urgency=low
+
+ * Bugs:
+ - do not copy the electronical file with
+ the generator parameter 'target-url' was specified
+ for the Extended generator.
+
+ -- Stephane GALLAND <galland@arakhne.org> Wed, 22 Sep 2004 18:28:32 +0200
+
+bib2html (1.3-1) unstable; urgency=low
+
+ * Features:
+ - the generator parameter 'type-matching' has its
+ value's syntax extended.
+ - Add the new BibTeX entry type 'proceedings' and
+ 'unpublished'.
+ * Bugs:
+ - The values of the fields 'localfile' and 'url'
+ were not properly extracted.
+ - Fix the indentation of the generated BibTeX section.
+ - Updates some language's strings
+ - Assumes that the characters '-' and '_' are aliases
+ for the character '-' inside the generator
+ parameter's names.
+ - Fix the output to be validable by the W3C validators
+ (HTML 4.01 and CSS).
+
+ -- Stephane GALLAND <galland@arakhne.org> Mon, 23 Aug 2004 18:28:32 +0200
+
+bib2html (1.2-1) unstable; urgency=low
+
+ * Bugs:
+ - the special section @comment{} was not properly
+ parsed. Fix it with an update of the regular
+ expression which matches "@COMMENT".
+ - Allow the state "line_comment" to finish the
+ BibTeX file's parsing.
+
+ -- Stephane GALLAND <galland@arakhne.org> Tue, 17 Aug 2004 18:28:32 +0200
+
+bib2html (1.1-1) unstable; urgency=low
+
+ * Features:
+ - enhances the generator parameters 'author-regexp',
+ etc: add many new types instead of one.
+ - add the support of the BibTeX field 'crossref':
+ it permits to implement a kind of inheritance
+ between two entries
+ - add the generation of a BibTeX code verbatim
+ (and the command line parameter which permits
+ to set it on/off)
+ * Bugs:
+ - in indexes, regroup the reference with the same label
+ - put a better header title inside the HTML files of
+ the entries
+ - w3c norm fix: generates the <body> tags
+ - add a white background color for the theme Simple
+ - in ExtendedGen.pm, DomainGen.pm: fix a syntactical
+ error and update to be compliant with fixes that
+ occurs inside HTMLGen.pm
+ - in HTMLGen.pm, Norbert fixes some bug due to the
+ bad inclusion of their patchs for the release 1.0
+ - in Parser.pm: Norbert fixes a infinite loop recusion
+ bug. This bug is due to the definition of a constant
+ with same name and value (in a lowercase comparison).
+ For example: @STRING{springer=Springer} generates a
+ infinite loop.
+ - some code cleaning
+
+ -- Stephane GALLAND <galland@arakhne.org> Sat, 27 Mar 2004 18:28:32 +0200
+
+bib2html (1.0-1) unstable; urgency=low
+
+ * Features:
+ - add generator parameters for the HTMLGen generator:
+ author-regexp, max-names-overview, max-names-list,
+ newtype, type-matching (added by Norbert)
+ * Bugs:
+ - an exception was generated when an entry has no
+ author nor editor.
+ - in bibtex parsing: now support syntax as foo #
+ " and " # bla
+ - applies patchs from Norbert in TeX.pm, Misc.pm
+ and HTMLGen.pm
+
+ -- Stephane GALLAND <galland@arakhne.org> Wed, 17 Mar 2004 18:28:32 +0200
+
+bib2html (0.11-1) unstable; urgency=low
+
+ * Features:
+ - add an index of authors and of author's publications
+ inside the two left frames
+ - add the class AbstractGenerator.pm
+ - add ExtendedGen.pm which permits to generate HTML
+ page with:
+ a) isbn, issn, and readers
+ b) abstract and keywords
+ c) the support for downloading an electronic
+ document ('localfile')
+ - add the support of LaTeX environments (\begin,\end)
+ - add the generator Domain which permits to support
+ domain for documents (domain, nddomain, rddomain,
+ domains)
+ * Bugs:
+ - in HTMLGen.pm, fixes not initialized variable uses
+ - changes the behavior of some command line options
+ - in Parser.pm, support recursive merging operator for strings
+
+ -- Stephane GALLAND <galland@arakhne.org> Mon, 02 Feb 2004 18:28:32 +0200
+
+bib2html (0.10-1) unstable; urgency=low
+
+ * Bugs:
+ - in BibScanner.pm, did not recognized correctly the
+ @STRING commands
+ - in BibScanner.pm, the concatened strings was too
+ early merged (before any replacement by the
+ @STRING's values)
+ - in BibScanner.pm, the parsed field labels must
+ be automatically lower cased. Ut permits to support
+ case-independent label for BibTeX fields
+ - in Scanner.pm, ungetpattern() does not its job well.
+
+ -- Stephane GALLAND <galland@arakhne.org> Thu, 11 Dec 2003 18:28:32 +0200
+
+bib2html (0.9-1) unstable; urgency=low
+
+ * Features:
+ - Adds the generator 'Extended' which support the
+ bibtex tags:
+ * 'url' : URL to informational web page
+ * 'isbn'
+ * 'issn'
+ * 'localfile' : relative path to a file to download
+ * 'abstract'
+ * 'keywords'
+ * 'readers' : informational tag that indicates who
+ read this entry (according to the bibtex name syntax)
+ - Adds the support of "et al." inside the bibtex names.
+ - Adds some command line arguments
+ * Bugs:
+ - in the HTML filename translations.
+ - get the editor field when the author one is empty.
+ - ignore TeX parsing for the fields 'localfile' and 'url'
+ - support more formats for the bibtex author's names:
+ [von] Last, jr, First [and ...]
+ First [von] Last, jr [and ...]
+ [von] Last, First [jr] [and ...]
+ First [von] Last [jr] [and ...]
+ name, [name, ...] [and name]
+
+ -- Stephane GALLAND <galland@arakhne.org> Fri, 19 Sep 2003 18:28:32 +0200
+
+bib2html (0.8-1) unstable; urgency=low
+
+ * Features:
+ - adds the support of the LaTeX commands \cite[]{}
+ * Bugs:
+ - recognizes the character '-' inside the bibkeys
+ - some other minor bug fixes
+
+ -- Stephane GALLAND <galland@arakhne.org> Fri, 01 Aug 2003 18:28:32 +0200
+
+bib2html (0.7-1) unstable; urgency=low
+
+ * Features:
+ - add the support of mathematical modes (not the support
+ of all TeX commands inside the mathematical mode)
+ - partial support of Math-ML
+ * Bugs:
+ - add support of some TeX commands( \i, \~, ...)
+ - ignore text between bibtex entries
+ - better recognition for author names.
+ - warm the user when the "year" is not a number.
+ - suppress redondant error messages.
+ - bug in the verbosing level calculation
+ - some syntaxic fixes
+
+ -- Stephane GALLAND <galland@arakhne.org> Wed, 09 Jul 2003 18:28:32 +0200
+
+bib2html (0.6-1) unstable; urgency=low
+
+ * Features:
+ - adds the multi-language support.
+ - adds theme for the HTML generators.
+ * Bugs:
+ - some uses of the function sort inside a
+ return are improper. Fixed to be sure
+ that the return statement takes only one value.
+ - adds the function notempty() to permit to
+ have strings which contain only "0".
+
+ -- Stephane GALLAND <galland@arakhne.org> Thu, 26 Jun 2003 18:28:32 +0200
+
+bib2html (0.5-1) unstable; urgency=low
+
+ * This is the first public release on the version entirely based on perl.
+
+ -- Stephane GALLAND <galland@arakhne.org> Mon, 03 Mar 2003 18:28:32 +0200
diff --git a/biblio/bibtex/utils/bib2ml/debian/compat b/biblio/bibtex/utils/bib2ml/debian/compat
new file mode 100644
index 0000000000..b8626c4cff
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/debian/compat
@@ -0,0 +1 @@
+4
diff --git a/biblio/bibtex/utils/bib2ml/debian/control b/biblio/bibtex/utils/bib2ml/debian/control
new file mode 100644
index 0000000000..e60859688f
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/debian/control
@@ -0,0 +1,48 @@
+Source: bib2ml
+Section: universe/tex
+Priority: optional
+Maintainer: Stephane GALLAND <galland@arakhne.org>
+Build-Depends-Indep: debhelper (>= 4.1.0), perl (>= 5.8), perl-modules (>= 5.8)
+Standards-Version: 3.7.3
+Homepage: http://www.arakhne.org/bib2ml/
+
+Package: bib2ml-common
+Architecture: all
+Depends: perl (>= 5.8), perl-modules (>= 5.8)
+Conflicts: bib2html-common (<= 6.1-1)
+Recommends: texlive
+Description: Translator from BibTeX files to HTML
+ bib2ml is a powerfull translator of
+ BibTeX files into HTML, XML or SQL files.
+ .
+ This package provides the common libraries.
+
+Package: bib2html
+Architecture: all
+Depends: perl (>= 5.8), perl-modules (>= 5.8), bib2ml-common (= ${Source-Version})
+Provides: bib2ml
+Description: Translator from BibTeX files to HTML
+ bib2ml is a powerfull translator of
+ BibTeX files into HTML, XML or SQL files.
+ .
+ This package provides bib2html.
+
+Package: bib2xml
+Architecture: all
+Depends: perl (>= 5.8), perl-modules (>= 5.8), bib2ml-common (= ${Source-Version})
+Provides: bib2ml
+Description: Translator from BibTeX files to HTML
+ bib2ml is a powerfull translator of
+ BibTeX files into HTML, XML or SQL files.
+ .
+ This package provides bib2xml.
+
+Package: bib2sql
+Architecture: all
+Depends: perl (>= 5.8), perl-modules (>= 5.8), bib2ml-common (= ${Source-Version})
+Provides: bib2ml
+Description: Translator from BibTeX files to HTML
+ bib2ml is a powerfull translator of
+ BibTeX files into HTML, XML or SQL files.
+ .
+ This package provides bib2sql.
diff --git a/biblio/bibtex/utils/bib2ml/debian/copyright b/biblio/bibtex/utils/bib2ml/debian/copyright
new file mode 100644
index 0000000000..487817878b
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/debian/copyright
@@ -0,0 +1,9 @@
+This package was debianized by Stephane GALLAND <galland@arakhne.org>
+on Tue, 11 Mar 2006.
+
+Copyright:
+This package is licensed under the GNU General Public License.
+
+ You can find the full text of the GPL in
+ /usr/share/common-licenses/GPL in your Debian system.
+ Look there for details not shown above.
diff --git a/biblio/bibtex/utils/bib2ml/debian/rules b/biblio/bibtex/utils/bib2ml/debian/rules
new file mode 100755
index 0000000000..2006e7602e
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/debian/rules
@@ -0,0 +1,75 @@
+#!/usr/bin/make -f
+
+build: build-stamp
+
+build-stamp:
+ dh_testdir
+
+ pod2man --section=1 --center=Bib2HTML --name=Bib2HTML man/bib2html_en.pod man/bib2html.1
+ gzip man/bib2html.1
+
+ pod2man --section=1 --center=Bib2HTML --name=Bib2HTML man/bib2html_fr.pod man/bib2html.fr.1
+ gzip man/bib2html.fr.1
+
+ pod2man --section=1 --center=Bib2XML --name=Bib2XML man/bib2xml_en.pod man/bib2xml.1
+ gzip man/bib2xml.1
+
+ pod2man --section=1 --center=Bib2XML --name=Bib2XML man/bib2xml_fr.pod man/bib2xml.fr.1
+ gzip man/bib2xml.fr.1
+
+ pod2man --section=1 --center=Bib2XML --name=Bib2XML man/bib2sql_en.pod man/bib2sql.1
+ gzip man/bib2sql.1
+
+ pod2man --section=1 --center=Bib2XML --name=Bib2XML man/bib2sql_fr.pod man/bib2sql.fr.1
+ gzip man/bib2sql.fr.1
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+
+ rm -f man/bib2html.1*
+ rm -f man/bib2html.*.1*
+
+ rm -f man/bib2xml.1*
+ rm -f man/bib2xml.*.1*
+
+ rm -f man/bib2sql.1*
+ rm -f man/bib2sql.*.1*
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ dh_install
+
+ dh_link
+
+ dh_installman
+
+ dh_installdocs
+
+binary-arch:
+
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs README
+ dh_installdefoma
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+
+.PHONY: build clean install binary-arch binary-indep binary
diff --git a/biblio/bibtex/utils/bib2ml/doc/bibtexml_dtd.html b/biblio/bibtex/utils/bib2ml/doc/bibtexml_dtd.html
new file mode 100644
index 0000000000..f4e97dfde0
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/doc/bibtexml_dtd.html
@@ -0,0 +1,173 @@
+<!DOCTYPE HTML PUBLIC "-/W3C/DTD HTML 4.01 Transitional/EN" "http:/www.w3.org/TR/html4/loose.dtd">
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <title>BibteXML DTD</title>
+ </head>
+ <body bgcolor='#dae6e6'>
+ <pre>
+<font color="gray">&lt;!--
+ - File: $Id: bibteXML-ext.dtd, 2003.06.26 13:52:00 vbg Exp $
+ -
+ - This DTD expresses XML markup similar to the BibTeX language
+ - specified for LaTeX, or actually its content model.
+ - For documentation on BibTeX, see
+ - http://www.ctan.org/tex-archive/biblio/bibtex/distribs/doc/
+ -
+ - Suggested invocation:
+ -
+ - &lt;?xml version="1.0" encoding="UTF-8"?&gt;
+ - &lt;!DOCTYPE bibtex:file PUBLIC
+ - "-//BibTeXML//DTD XML for BibTeX (extended) v1.0//EN"
+ - "bibteXML-ext.dtd" &gt;
+ - &lt;bibtex:file xmlns:bibtex="http://bibtexml.sf.net/"&gt;
+ - ...
+ - &lt;/bibtex:file&gt;
+ -
+ - Available from http://bibtexml.sf.net/
+ -
+ - This code originally developed by
+ - Vidar Bronken Gundersen
+ - Zeger W. Hendrikse
+ -
+ - This program is free software; you can redistribute it and/or
+ - modify it under the terms of the GNU General Public License.
+ - See http://www.gnu.org/copyleft/gpl.html
+ -
+--&gt;</font>
+
+
+<font color="gray">&lt;!-- popular user fields --&gt;</font>
+
+<b>&lt;!ENTITY</b> % user.fields
+ "( bibtex:abstract?, bibtex:affiliation?,
+ bibtex:contents?, bibtex:copyright?,
+ (bibtex:isbn | bibtex:issn)?, bibtex:doi?,
+ bibtex:keywords?, bibtex:language?, bibtex:lccn?,
+ bibtex:location?, bibtex:mrnumber?, bibtex:price?,
+ bibtex:size?, bibtex:url?, bibtex:category? )"<b>&gt;</b>
+
+<b>&lt;!ENTITY</b> % BibTeXML.common.standard.fields
+ ", bibtex:key?, bibtex:crossref?, %user.fields;"<b>&gt;</b>
+
+
+<font color="gray">&lt;!-- ..................................................................... --&gt;</font>
+<font color="gray">&lt;!-- Other popular fields
+ -
+ - BibTeX is extremely popular, and many people have used it to store
+ - information. Here is a list of some of the more common fields:
+ -
+ - [affiliation] The authors affiliation.
+ - [abstract] An abstract of the work.
+ - [contents] A Table of Contents
+ - [copyright] Copyright information.
+ - [ISBN] The International Standard Book Number.
+ - [ISSN] The International Standard Serial Number.
+ - Used to identify a journal.
+ - [keywords] Key words used for searching or possibly for annotation.
+ - [language] The language the document is in.
+ - [location] A location associated with the entry,
+ - such as the city in which a conference took place.
+ - [LCCN] The Library of Congress Call Number.
+ - I've also seen this as lib-congress.
+ - [mrnumber] The Mathematical Reviews number.
+ - [price] The price of the document.
+ - [size] The physical dimensions of a work.
+ - [URL] The WWW Universal Resource Locator that points to the item being
+ - referenced. This often is used for technical reports to point to the
+ - ftp site where the postscript source of the report is located.
+ -
+ - When using BibTeX with LaTeX you need
+ - BibTeX style files to print these data.
+ -
+ - Ref: www.ecst.csuchico.edu/~jacobsd/bib/formats/bibtex.html
+--&gt;</font>
+
+<b>&lt;!ELEMENT</b> bibtex:abstract (#PCDATA) <b>&gt;</b>
+<b>&lt;!ELEMENT</b> bibtex:affiliation (#PCDATA) <b>&gt;</b>
+<b>&lt;!ELEMENT</b> bibtex:contents (#PCDATA) <b>&gt;</b>
+<b>&lt;!ELEMENT</b> bibtex:copyright (#PCDATA) <b>&gt;</b>
+<b>&lt;!ELEMENT</b> bibtex:isbn (#PCDATA) <b>&gt;</b>
+<b>&lt;!ELEMENT</b> bibtex:issn (#PCDATA) <b>&gt;</b>
+<b>&lt;!ELEMENT</b> bibtex:language (#PCDATA) <b>&gt;</b>
+<b>&lt;!ELEMENT</b> bibtex:lccn (#PCDATA) <b>&gt;</b>
+<b>&lt;!ELEMENT</b> bibtex:location (#PCDATA) <b>&gt;</b>
+<b>&lt;!ELEMENT</b> bibtex:mrnumber (#PCDATA) <b>&gt;</b>
+<b>&lt;!ELEMENT</b> bibtex:price (#PCDATA) <b>&gt;</b>
+<b>&lt;!ELEMENT</b> bibtex:size (#PCDATA) <b>&gt;</b>
+<b>&lt;!ELEMENT</b> bibtex:url (#PCDATA) <b>&gt;</b>
+
+
+<font color="gray">&lt;!-- User requested fields
+ - [category] Category of this bibitem
+ - [DOI] The Digital Object Identifier (www.doi.org)
+ - used to redirect to articles, a key like 10.1000/203
+--&gt;</font>
+
+<b>&lt;!ELEMENT</b> bibtex:category (#PCDATA) <b>&gt;</b>
+<b>&lt;!ELEMENT</b> bibtex:doi (#PCDATA) <b>&gt;</b>
+
+
+<font color="gray">&lt;!-- ..................................................................... --&gt;</font>
+<font color="gray">&lt;!-- Alternative syntax for compound fields
+ - for author, editor, keywords and title fields.
+ - Backwards compatible syntax.
+--&gt;</font>
+
+<b>&lt;!ENTITY</b> % BibTeXML.author.element "IGNORE"<b>&gt;</b>
+<b>&lt;!ENTITY</b> % BibTeXML.editor.element "IGNORE"<b>&gt;</b>
+
+<b>&lt;!ENTITY</b> % author.qname "(bibtex:author | bibtex:authorlist)"<b>&gt;</b>
+<b>&lt;!ENTITY</b> % editor.qname "(bibtex:editor | bibtex:editorlist)"<b>&gt;</b>
+
+<b>&lt;!ELEMENT</b> bibtex:authorlist (bibtex:person+) <b>&gt;</b>
+<b>&lt;!ELEMENT</b> bibtex:editorlist (bibtex:person+) <b>&gt;</b>
+<b>&lt;!ELEMENT</b> bibtex:author (#PCDATA) <b>&gt;</b>
+<b>&lt;!ELEMENT</b> bibtex:editor (#PCDATA) <b>&gt;</b>
+
+<b>&lt;!ELEMENT</b> bibtex:person ( ( bibtex:initials |
+ (bibtex:first, bibtex:middle?)),
+ bibtex:prelast?, bibtex:last,
+ bibtex:lineage?)<b>&gt;</b>
+
+<font color="gray">&lt;!-- first, middle and last name should be obvious
+ - preLast is for names like Thomas *de* Burghes,
+ - lineage is used for "Jr" in names like "James T. Kirk, Jr."
+ --&gt;</font>
+<b>&lt;!ATTLIST</b> bibtex:person email CDATA #IMPLIED
+ url CDATA #IMPLIED
+<b>&gt;</b>
+<b>&lt;!ELEMENT</b> bibtex:first (#PCDATA) <b>&gt;</b>
+<b>&lt;!ELEMENT</b> bibtex:initials (#PCDATA) <b>&gt;</b>
+<b>&lt;!ELEMENT</b> bibtex:last (#PCDATA) <b>&gt;</b>
+<b>&lt;!ELEMENT</b> bibtex:middle (#PCDATA) <b>&gt;</b>
+<b>&lt;!ELEMENT</b> bibtex:prelast (#PCDATA) <b>&gt;</b>
+<b>&lt;!ELEMENT</b> bibtex:lineage (#PCDATA) <b>&gt;</b>
+
+
+<b>&lt;!ENTITY</b> % BibTeXML.title.element "IGNORE"<b>&gt;</b>
+<b>&lt;!ENTITY</b> % title.qname "(bibtex:title | bibtex:titlelist)"<b>&gt;</b>
+<b>&lt;!ELEMENT</b> bibtex:titlelist (bibtex:title, bibtex:subtitle?)<b>&gt;</b>
+<b>&lt;!ELEMENT</b> bibtex:subtitle (#PCDATA) <b>&gt;</b>
+<b>&lt;!ELEMENT</b> bibtex:title (#PCDATA) <b>&gt;</b>
+
+<b>&lt;!ENTITY</b> % BibTeXML.keywords.element "IGNORE"<b>&gt;</b>
+<b>&lt;!ENTITY</b> % keywords.qname "bibtex:keywords"<b>&gt;</b>
+<b>&lt;!ELEMENT</b> bibtex:keywords (bibtex:keyword+) <b>&gt;</b>
+<b>&lt;!ELEMENT</b> bibtex:keyword (#PCDATA) <b>&gt;</b>
+
+
+<font color="gray">&lt;!-- ..................................................................... --&gt;</font>
+<font color="gray">&lt;!-- reuse the strict BibTeXML DTD --&gt;</font>
+<b>&lt;!ENTITY</b> % BibTeXML-strict PUBLIC
+ "-//BibTeXML//DTD XML for BibTeX v1.0//EN"
+ "bibteXML.dtd"<b>&gt;</b>
+%BibTeXML-strict;
+
+
+<font color="gray">&lt;!-- ..................................................................... --&gt;</font>
+<font color="gray">&lt;!-- End of bibtex dtd --&gt;</font>
+
+ </pre>
+ </body>
+</html>
diff --git a/biblio/bibtex/utils/bib2ml/doc/capture.png b/biblio/bibtex/utils/bib2ml/doc/capture.png
new file mode 100644
index 0000000000..55d9cc4f20
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/doc/capture.png
Binary files differ
diff --git a/biblio/bibtex/utils/bib2ml/doc/capture2.png b/biblio/bibtex/utils/bib2ml/doc/capture2.png
new file mode 100644
index 0000000000..06ca4954a9
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/doc/capture2.png
Binary files differ
diff --git a/biblio/bibtex/utils/bib2ml/doc/index.html b/biblio/bibtex/utils/bib2ml/doc/index.html
new file mode 100644
index 0000000000..1d593ea834
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/doc/index.html
@@ -0,0 +1,1320 @@
+<!DOCTYPE HTML PUBLIC "-/W3C/DTD HTML 4.01 Transitional/EN" "http:/www.w3.org/TR/html4/loose.dtd">
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <title>Documentation of Bib2ML (aka. Bib2HTML)</title>
+ </head>
+ <body bgcolor='#dae6e6'>
+
+ <h1 align="center">Documentation of Bib2ML (aka. Bib2HTML)</h1>
+
+ <p align="center"><small>Written by <a href="mailto:galland@arakhne.org">Stéphane GALLAND</a><br>
+ Version: 2011-07-31<br>
+ Documentation for bib2ml 6.7 and later</small></p>
+
+ <hr width="100%">
+
+ <p><a href="#introduction">1. Introduction/Overview</a></p>
+ <p><a href="#install">2. How to install Bib2ML?</a><ul>
+ <li><a href="#install_require">2.1 Prerequires</a></li>
+ <li><a href="#install_reports">2.2 Installation Reports on Several Operating Systems</a></li>
+ <li><a href="#install_download">2.3 Download</a></li>
+ <li><a href="#install_unix">2.4 Install on Unix Systems</a><ul>
+ <li><a href="#install_unix_uncompress">2.4.1 Uncompress</a></li>
+ <li><a href="#install_unix_copy">2.4.2 Copy the files</a></li>
+ <li><a href="#install_unix_finalize">2.4.3 Finalize the installation</a></li>
+ <li><a href="#install_unix_packages">2.4.4 Simplify your life: use a Linux packages</a></li>
+ </ul></li>
+ <li><a href="#install_win">2.5 Install on Windows&reg; Systems without CygWin</a></li>
+ <li><a href="#install_cygwin">2.6 Install on Windows&reg; Systems with CygWin</a></li>
+ </ul></p>
+ <p><a href="#run">3. How to run Bib2ML?</a></p>
+ <p><a href="#format">4. Some words about the BibTeX format supported by Bib2ML</a><ul>
+ <li><a href="#format_recall">4.1 Short Recall on Bib2TeX's File Format</a></li>
+ <li><a href="#format_types">4.2 Recognized Entry Types</a></li>
+ <li><a href="#format_fields">4.2 Recognized Fields</a></li>
+ <li><a href="#format_string">4.4 Definition of Strings and Preambles</a></li>
+ <li><a href="#format_names">4.5 Definition of the Lists of Names</a></li>
+ </ul></p>
+ <p><a href="#generators">5. Supported Generators</a><ul>
+ <li><a href="#generator_HTML">5.1. Generator HTML</a></li>
+ <li><a href="#generator_Extended">5.2. Generator Extended</a></li>
+ <li><a href="#generator_Domain">5.3. Generator Domain</a></li>
+ <li><a href="#generator_XML">5.4. Generator XML</a></li>
+ <li><a href="#generator_SQL">5.5. Generator SQL</a></li>
+ </ul></p>
+ <p><a href="#themes">6. Supported Themes</a><ul>
+ <li><a href="#theme_Simple">6.1 Theme Simple</a></li>
+ <li><a href="#theme_Dyna">6.2 Theme Dyna</a></li>
+ <li><a href="#theme_contrib">6.3 Contribute</a></li>
+ </ul></p>
+ <p><a href="#languages">7. Supported Languages</a><ul>
+ <li><a href="#languages_contrib">7.1 Contribute</a></li>
+ </ul></p>
+ <p><a href="#license">8. License</a></p>
+ <p><a href="#contributor">9. Contributors</a></p>
+ <p><a href="#bugreport">10. Bug Reporting</a></p>
+
+ <hr width="100%">
+
+ <a name="introduction"></a><h2>1. Introduction/Overview</h2>
+
+ <p>Many researchers make use of <a href="http://www.cc.gatech.edu/classes/RWL/Projects/citation/Docs/UserManuals/Reference_Pages/bibtex_doc.html">BibTeX</a> for maintaining a comprehensive bibliography which they can then draw on at will when writing papers.</p>
+
+ <p>Bib2ML is a handy utility that converts BibTeX files into HTML pages. You can use it to easily maintain an updated online bibliography. In addition, it is possible to specify, for each bibfile entry, a set of additional information that will appears inside the generated pages.</p>
+
+ <p>The output depends of the used theme. But the pages' hierarchy has a similar structure that the <a href="http://java.sun.com/j2se/javadoc/">JavaDoc</a>'s ones (see the two screenshots generated with the theme <a href="#theme_Simple">Simple</a> and the theme <a href="#theme_Dyna">Dyna</a>). It includes a overview page, an index, an list of scientifical domains in which the BibTeX's entries are...</p>
+
+ <p><strong>Disclaimer:</strong> I've come across mention of other Bib2ML programs. This program is in no way related to any of them. For the curious, it was implemented using Perl.</p>
+
+ <hr width="100%">
+
+ <a name="install"></a><h2>2. How to install Bib2ML?</h2>
+
+ <a name="install_require"></a><h3>2.1. Prerequires</h3>
+
+ <p>To run BibHTML you must install a Perl interpreter. Bib2ML was tested with Perl v5.8.3 under Linux.</p>
+
+ <p>You must also install the following Perl packages (mostly included inside the default Perl distributions):<ul>
+ <li><code>File::Basename</code></li>
+ <li><code>File::Path</code></li>
+ <li><code>File::Spec</code></li>
+ <li><code>Getopt::Long</code></li>
+ <li><code>Pod::Usage</code></li>
+ </ul></p>
+
+ <a name="install_reports"></a><h3>2.2 Installation Reports on Several Operating Systems</h3>
+
+ <p><table border="1" cellspacing="0" cellpadding="5" width="100%" cols="4">
+ <tr><td bgcolor="#cccccc" colspan="4" align="center"><i>Bib2ML and the Operating System's Supports</i></td></tr>
+ <tr><td valign="middle" align="center">GNU/Linux Mandrake</td>
+ <td valign="middle" align="center"><img src="./validated.gif" alt="ok"></td>
+ <td valign="middle" align="center">GNU/Linux Debian</td>
+ <td valign="middle" align="center"><img src="./validated.gif" alt="ok"></td></tr>
+ <tr><td valign="middle" align="center">GNU/Linux Ubuntu<sup>[<a href="#note1">1</a>]</sup></td>
+ <td valign="middle" align="center"><img src="./validated.gif" alt="ok"></td>
+ <td valign="middle" align="center">GNU/Linux Slackware</td>
+ <td valign="middle" align="center"><img src="./work.gif" alt="work"></td></tr>
+ <tr><td valign="middle" align="center">GNU/Linux RedHat</td>
+ <td valign="middle" align="center"><img src="./work.gif"alt="must work"></td>
+ <td valign="middle" align="center">Mac OS X</td>
+ <td valign="middle" align="center"><img src="./work.gif" alt="work"></td></tr>
+ <tr><td valign="middle" align="center">Windows&reg; without Cygwin</td>
+ <td valign="middle" align="center"><img src="./work.gif" alt="work"></td>
+ <td valign="middle" align="center">Windows&reg; with Cygwin</td>
+ <td valign="middle" align="center"><img src="./validated.gif" alt="ok"></td></tr>
+ <tr><td valign="middle" align="center">GNU/Linux Suze</td>
+ <td valign="middle" align="center"><img src="./not-validated.gif" alt="not validated"></td>
+ <td valign="middle" align="center">GNU/Linux Mandrivia</td>
+ <td valign="middle" align="center"><img src="./not-validated.gif" alt="ok"></td></tr>
+ <tr><td valign="middle" align="center">Other UNIX</td>
+ <td valign="middle" align="center"><img src="./not-validated.gif" alt="not validated"></td>
+ <td valign="middle" align="center"></td>
+ <td valign="middle" align="center"></td></tr>
+ <tr><td colspan="4"><img src="./validated.gif" align="center" alt="not validated">:<small> I'd tested Bib2ML and validated it</small><br>
+ <img src="./work.gif" align="center" alt="work">:<small> one user has reported a success for Bib2ML</small><br>
+ <img src="./not-validated.gif" align="center" alt="not validated">:<small> No test nor report for a successfull installation and a successfull use of Bib2ML</small><br>
+ <img src="./mustwork.gif" align="center" alt="must work">:<small> Bib2ML must work as for another operating system</small><br><br>
+ <small><a name="note1"></a>[1] GNU/Linux Ubuntu is the reference operating system for Bib2ML</td></tr>
+ </table></p>
+
+ <a name="install_download"></a><h3>2.3. Download</h3>
+
+ <p>You could download the lastest sources from the Bib2ML web page: <a href="http://www.arakhne.org/bib2ml/">http://www.arakhne.org/bib2ml/</a> or <a href="http://download.tuxfamily.org/arakhne/pool/b/bib2ml/">http://download.tuxfamily.org/arakhne/pool/b/bib2ml/</a>.</p>
+
+ <p>The sources are commonly stored inside an archive called <code>bib2ml-x.x.tar.gz</code> where <code>x.x</code> is the number of the Bib2ML's version.</p>
+
+ <a name="install_unix"></a><h3>2.4 Install on Unix Systems</h3>
+
+ <a name="install_unix_uncompress"></a><h4>2.4.1. Uncompress</h4>
+
+ <p>After downloading the sources' archive, you could uncompress it:
+ <pre><code>
+ $ gzip -d -c bib2ml-x.x.tar.gz | tar -x
+ </code></pre></p>
+
+ <p>This command will create the directory <code>./bib2ml-x.x</code> in which all the sources are.</p>
+
+ <a name="install_unix_copy"></a><h4>2.4.2 Copy the files</h4>
+
+ <p>The main step of the installation is the copy of all the files required by Bib2ML. In fact, only a copy was necessary to install Bib2ML, <i>no compilation</i>.</p>
+
+ <p>I assume that you want to install Bib2ML into the directory <code>/usr/local/lib/bib2ml</code>. Type the following commands to install Bib2ML:<ul>
+ <li>installation of the Perl's packages, copy all the content of the subdirectory <code>./src</code>:
+ <pre><code>
+ $ cd bib2ml-x.x
+ $ mkdir /usr/local/lib/bib2ml
+ $ cp -R -f ./src/* /usr/local/lib/bib2ml/
+ </code></pre></li>
+ <li>Be sure that the Perl's script was runable:
+ <pre><code>
+ $ chmod ugo+x /usr/local/lib/bib2ml/bib2html.pl
+ </code></pre></li>
+ <li>Copy some additional documentation's files, if you want:
+ <pre><code>
+ $ cp -f ./COPYING /usr/local/lib/bib2ml/
+ $ cp -f ./Changelog /usr/local/lib/bib2ml/
+ $ cp -f ./AUTHORS /usr/local/lib/bib2ml/
+ $ cp -f ./AUTHORS /usr/local/lib/bib2ml/
+ $ cp -f ./VERSION /usr/local/lib/bib2ml/
+ </code></pre></li>
+ </ul></p>
+
+ <p>From now you could launch Bib2ML by typing one of the following commands:<ul>
+ <li>if the Perl interpreter is <code>/usr/bin/perl</code>:
+ <pre><code>
+ $ /usr/local/lib/bib2ml/bib2html.pl
+ </code></pre></li>
+ <li>if the Perl interpreter is not <code>/usr/bin/perl</code>:
+ <pre><code>
+ $ path_to_perl/perl /usr/local/lib/bib2ml/bib2html.pl
+ </code></pre></li>
+ </ul></p>
+
+ <p>Inside the section where I explain <a href="#run">how to run Bib2ML</a>, I assume that the launching command was <code>bib2html</code>. If you don't apply the commands from the section <a href="#install_unix_finalize">2.4.3</a>, you must replace <code>bib2html</code> by one of the above commands.
+
+ <a name="install_unix_finalize"></a><h4>2.4.3. Finalize the installation</h4>
+
+ <p>To finalize the installation, you could create a symbolic link to the Bib2ML's script from one of the directories inside your <code>PATH</code> (I assume that <code>/usr/local/bin</code> was in your <code>PATH</code>):
+ <pre><code>
+ $ cd /usr/local/bin
+ $ ln -s -f /usr/local/lib/bib2ml/bib2html.pl bib2html
+ </code></pre></p>
+
+ <p>This recommendation will permits to all the users to run Bib2ML very simply.</p>
+
+ <p><u><i>Warning:</i></u> this recommendation works only if the Perl's interpreter was <code>/usr/bin/perl</code>.</p>
+
+ <a name="install_unix_packages"></a><h4>2.4.4. Simplify your life: use a Linux packages</h4>
+
+ <p>You could simplify your life by installing Bib2ML with one of the proposed packages (see the <a href="http://www.arakhne.org/bib2ml/">download page</a> or the <a href="http://download.tuxfamily.org/arakhne.org/pool/b/bib2ml/">download repository</a>) for a Linux distributions.</p>
+
+ <a name="install_win"></a><h3>2.5 Install on Windows&reg; Systems without CygWin</h3>
+
+<p>This section explains how to install Bib2ML on a Windows&reg; operating system <strong>without CygWin</strong> installed. Bib2ML was successfully installed on WinXP with TeXLive2007 and ActivePerl 5.8.8.</p>
+
+<p>The installation steps are the steps (thanks to Dan Luecking for his report):
+<ul>
+<li>Create a directory named <code>scripts\</code> in one of the <code>texmf</code> trees (if one doesn't exist). Make a subdirectory named <code>bib2ml\</code> in <code>scripts\</code> and a subdirectory named <code>man\</code> in <code>scripts\bib2ml\</code>. The obtained directory tree should be:<pre><code>C:\path_to_texmf\texmf\
+ |
+ \- scripts\
+ |
+ \-- man\
+</code></pre></li>
+<li>Copy the contents of <code>src\</code> from the Bib2ML archive and all subdirectories to <code>scripts\bib2ml\</code> preserving the subdirectory structure.</li>
+<li>Copy the contents of <code>man\</code> from the Bib2ML archive to <code>scripts\bib2ml\man\</code>.</li>
+<li>Copy the contents of <code>doc\</code> to the documentation area of the texmf tree.</li>
+<li>create links:<pre><code>C:\path_to_texmf\texmf\scripts\bib2ml\> irun bib2html.pl bib2html.exe
+C:\path_to_texmf\texmf\scripts\bib2ml\> irun bib2sql.pl bib2sql.exe
+C:\path_to_texmf\texmf\scripts\bib2ml\> irun bib2xml.pl bib2xml.exe
+</code></pre></li>
+<li>Copy <code>*.exe</code> to <code>C:\TeXLive\bin\win32\</code></li>
+<li>run <code>texhash</code></li>
+</ul></p>
+
+<p>The links created by <code>irun</code> (part of TeXLive) use the <code>kpsewhich</code> libraries
+and <code>texmf.cnf</code> to find the perl scripts. The default setup should work
+since the search path for scripts is <code>%TEXMF%/scripts/</code>.</p>
+
+ <a name="install_cygwin"></a><h3>2.6 Install on Windows&reg; Systems with CygWin</h3>
+
+<p>This section explains how to install Bib2ML on a Windows&reg; operating system <strong>with CygWin</strong> installed. Bib2ML was successfully installed on WinXP with CygWin 1.5.24.</p>
+
+<p>Bib2ML should be installed on Windows&reg; Systems with CygWin in the same way as for Unix operating systems. Please see the section <a href="#install_unix">2.4 Install on Unix Systems</a> for the details.</p>
+
+ <hr width="100%">
+
+ <a name="run"></a><h2>3. How to run Bib2ML?</h2>
+
+ <p>Bib2ML takes a list of arguments: the names of the bibfiles you wish to process, e.g.
+ <pre><code>
+ $ bib2html firstfile.bib secondfile.bib
+ </code></pre></p>
+
+ <p>The output is written by default is the directory <code>./bib2html</code>.</p>
+
+ <p><strong>SYNOPSYS</strong>
+ <pre><code>
+ bib2html [options] file [file ...]
+ </code></pre></p>
+
+ <p><strong>OPTIONS</strong>
+ <table border="1" cellspacing="0" cellpadding="5" width="100%">
+
+ <tr><td bgcolor="#cccccc" colspan="2" align="center"><i>General options</i></td></tr>
+
+ <tr><td valign="top">
+ <code>-[no]b</code><br>
+ <code> --[no]bibtex</code></td><td valign="top">
+ These options permit to generate (or not) a verbatim of the BibTeX entry.
+ </td></tr>
+
+ <tr><td valign="top">
+ <code>--cvs</code></td><td valign="top">
+ If specified, this option disables the deletion of the subfiles
+ <code>.cvs</code>, <code>CVS</code> and <code>CVSROOT</code> in
+ the output directory.
+ </td></tr>
+
+ <tr><td valign="top">
+ <code>--doctitle text</code></td><td valign="top">
+ Sets the title that appears in the main page.
+ </td></tr>
+
+ <tr><td valign="top">
+ <code>-f</code><br>
+ <code>--force</code></td><td valign="top">
+ Forces to overwrite into the output directory.
+ </td></tr>
+
+ <tr><td valign="top">
+ <code>-?</code><br>
+ <code>-h</code></td><td valign="top">
+ Show the list of supported options.
+ </td></tr>
+
+ <tr><td valign="top">
+ <code>--help</code><br>
+ <code>--man</code><br>
+ <code>--manual</code></td><td valign="top">
+ Show the manual page.
+ </td></tr>
+
+ <tr><td valign="top">
+ <code>-o directory</code><br>
+ <code>--output&bnsp;directory</code></td><td valign="top">
+ Sets the <code>directory</code> in which the pages will be generated.
+ </td></tr>
+
+ <tr><td valign="top">
+ <code>--protect shell_wildcard</code></td><td valign="top">
+ If specified, this option disables the deletion of the subfiles
+ that match the specified shell's wildcard in the output directory.
+ </td></tr>
+
+ <tr><td valign="top">
+ <code>--svn</code></td><td valign="top">
+ If specified, this option disables the deletion of the subfiles
+ <code>.svn</code> and <code>svn</code> in the output directory.
+ </td></tr>
+
+ <tr><td valign="top">
+ <code>--version</code></td><td valign="top">
+ Show the version of Bib2ML.
+ </td></tr>
+
+ <tr><td valign="top">
+ <code>--windowtitle text</code></td><td valign="top">
+ Sets the text that appears as the window's title.
+ </td></tr>
+
+ <tr><td bgcolor="#cccccc" colspan="2" align="center"><i>Generator options</i></td></tr>
+
+ <tr><td valign="top">
+ <code>--d name[=value]</code><br>
+ <code>--generatorparam name[=value]</code></td><td valign="top">
+ Sets a generator param. It must be a <code>key=value</code> pair or simply a name. Example: "<code>target=thisdirectory</code>" defines the parameter <code>target</code> with corresponding value "<code>thisdirectory</code>". The specified parameters which are not supported by the generator are ignored.
+ </td></tr>
+
+ <tr><td valign="top">
+ <code>--g class</code><br>
+ <code>--generator class</code></td><td valign="top">
+ Specify the generator to use. <code>class</code> must be a predefined generator's identifier of a valid Perl classname. See <code>--genlist</code> to obtain the list of the predefined generators. The default generator is <code>HTML</code>. See the <a href="#generators">list of supported generators</a> for more details.
+ </td></tr>
+
+ <tr><td valign="top">
+ <code>--generatorparams</code></td><td valign="top">
+ Shows the list of supported parameters, and their semantics for the selected generator.
+ </td></tr>
+
+ <tr><td valign="top">
+ <code>--genlist</code></td><td valign="top">
+ Shows the list of the supported generators.
+ </td></tr>
+
+ <tr><td valign="top">
+ <code>--jabref</code></td><td valign="top">
+ The generator will translate JabRef's groups into Bib2ML domains.
+ </td></tr>
+
+ <tr><td bgcolor="#cccccc" colspan="2" align="center"><i>Checker options</i></td></tr>
+
+ <tr><td valign="top">
+ <code>--[no]checknames</code></td><td valign="top">
+ Force Bib2ML to check the author's names. This checking includes:<ul>
+ <li>only the second first names of two authors differ</li>
+ <li>two last names are a similar syntax (90% or more similar)</li>
+ </ul></td></tr>
+
+ <tr><td bgcolor="#cccccc" colspan="2" align="center"><i>Theme options</i></td></tr>
+
+ <tr><td valign="top">
+ <code>--theme name</code></td><td valign="top">
+ Specify the theme used by the generator. See the option <code>--themelist</code> to obtain the complete list of supported themes. See the <a href="#themes">list of the supported themes</a> for more details about them.
+ </td></tr>
+
+ <tr><td valign="top">
+ <code>--themelist</code></td><td valign="top">
+ Shows the list of supported themes. See the <a href="#themes">list of the supported themes</a> for more details about them.
+ </td></tr>
+
+ <tr><td bgcolor="#cccccc" colspan="2" align="center"><i>Localization options</i></td></tr>
+
+ <tr><td valign="top">
+ <code>--lang name</code></td><td valign="top">
+ Sets the language used by the generator. See <code>--langlist</code> to obtain the list of the supported languages.
+ </td></tr>
+
+ <tr><td valign="top">
+ <code>--langlist</code></td><td valign="top">
+ Shows the list of supported language.
+ </td></tr>
+
+ <tr><td bgcolor="#cccccc" colspan="2" align="center"><i>TeX options</i></td></tr>
+
+ <tr><td valign="top">
+ <code>-p file</code><br>
+ <code>--preamble file</code></td><td valign="top">
+ Sets the name of the file to read to include some TeX preambles. You could use this option to dynamicaly defined some unsupported LaTeX commands (see <a href="#format_string">how to define and use a preamble</a>).
+ </td></tr>
+
+ <tr><td valign="top">
+ <code>--texcmd</code></td><td valign="top">
+ Shows the list of supported LaTeX commands. The supported TeX commands permits to create a specific HTML output accordingly to the TeX semantic.
+ </td></tr>
+
+ <tr><td bgcolor="#cccccc" colspan="2" align="center"><i>Logging options</i></td></tr>
+
+ <tr><td valign="top">
+ <code>-q</code></td><td valign="top">
+ Don't be verbose: only error messages are displayed.
+ </td></tr>
+
+ <tr><td valign="top">
+ <code>--[no]sortw</code></td><td valign="top">
+ Shows (or not) a sorted list of warnings by appearence line. For example, this could be use to obtain a better output for a parsing program.
+ </td></tr>
+
+ <tr><td valign="top">
+ <code>-v</code></td><td valign="top">
+ Be more verbose. Each time this option was specified, the verbosing level was increazed.
+ </td></tr>
+
+ <tr><td valign="top">
+ <code>--[no]warning</code></td><td valign="top">
+ If false, the warning are converted to errors. An error stops the program when it occurs. A warning does not stops the program.
+ </td></tr>
+
+ </table></p>
+
+ <hr width="100%">
+
+ <a name="format"></a><h2>4. Some words about the BibTeX format supported by Bib2ML</h2>
+
+ Bib2ML use as input files which respest as much as possible the <a href="http://www.cc.gatech.edu/classes/RWL/Projects/citation/Docs/UserManuals/Reference_Pages/bibtex_doc.html">BibTeX file format</a>. It add more restrictive constraints than this <i>official</i> format, and includes some additional fields.
+
+ <a name="format_recall"></a><h3>4.1 Short Recall on Bib2TeX's File Format</h3>
+
+ <p>To be recognized by Bib2ML, each entry must begin with an '<code>@</code>', immediately followed by the type of entry it is (see the <a href="#format_types">list of recognized entry types</a>), immediately followed by a '<code>{</code>'. It will then process the fields you've specified for that entry until it hits the closing '<code>}</code>' (see the <a href="#format_fields">list of recognized fields</a>). The format then looks something like this:
+ <pre><code>
+ @entrytype{entry_key,
+ fieldname1 = "Contents",
+ fieldname2 = {Contents},
+ fieldname3 = contents,
+ ...
+ }
+ </code></pre></p>
+
+ <p>The first information required by the BibTeX's file format is the identifier of the entry. This <code>entry_key</code> must be unique and, in most of the cases, it is composed by the author's name, the publication year... In <a href="http://www.latex-project.org/">LaTeX</a>, this key was used to reference this bibliographical entry.</p>
+
+ <p>Three types of field contents are valid, as shown here. In <code>fieldname1</code>, the contents are enclosed in quotes; in <code>fieldname2</code> they are enclosed in curly braces, and in <code>fieldname3</code> there are no surrounding characters. The third type is often used to specify pre-defined <a href="#format_string">string values</a>, and any value specified in this way will be compared to the list of <code>@strings</code> you've defined for a possible match (if there is a match, it will be expanded out to the full value of the <code>@string</code>).</p>
+
+ <p>Any amount of whitespace can come between the <code>fieldname</code> and the '<code>=</code>', or between the '<code>=</code>' and the contents. In addition, Bib2ML can handle nested <code>{}</code>'s in the contents of a field.</p>
+
+ <hr width="100%">
+
+ <a name="format_recall"></a><h3>4.2 Recognized Entry Types</h3>
+
+ <p>Bib2ML recognizes the following bibliography entry types (by the generator <a href="#generator_HTML">HTML</a>):<ul>
+ <li><code>@article</code>: an article inside a national or international <i>journal</i>, e.g. <i>International Journal of Production Economics</i>.</li>
+ <li><code>@book</code>: a <i>book</i>, e.g. <i>Les Systèmes Multi-Agents</i> by Professor Jacques Ferber.</li>
+ <li><code>@booklet</code>: a <i>standalone part</i> of a book, i.e. a part with its own author, title...</li>
+ <li><code>@inbook</code>: a <i>chapter</i> or a <i>part</i> of a book.</li>
+ <li><code>@incollection</code>: an article inside a <i>collection</i> of national or international journals, e.g. <i>Lecture Notes on Artificial Intelligence</i>.</li>
+ <li><code>@inproceedings</code>: a <i>paper</i> inside the proceedings of an national ou international conference, e.g. <i>European Simulaton Multiconferences</i>.</li>
+ <li><code>@manual</code>: a <i>technical manual</i> published (or not) by an university. <i>Don't be confused</i> with the technical report which is a report, not a manual.</li>
+ <li><code>@mastersthesis</code>: a <i>student thesis</i> made under the authority of an university of a school, e.g. engineering's report.</li>
+ <li><code>@misc: see the note below</code></li>
+ <li><code>@phdthesis</code>: a <i>research thesis</i> made under the authority of a laboratory, an institution, an university, e.g. PhD thesis, Doctorat thesis...</li>
+ <li><code>@proceedings</code>: a book that contains <i>all the papers</i> of a conference. <i>Don't choose</i> if you want a paper inside a conference (see the <code>@inproceedings</code> instead), e.g. <i>Proceedings of the International Conference on Multi-Agent Systems</i>.</li>
+ <li><code>@techreport</code>: a <i>technical report</i> published by an university. In general a technical report has a internal number which is specific to the institution. <i>Don't be confused</i> with the technical manual which is a manual, not a report.</li>
+ <li><code>@unpublished: a document which are never published.</code></li>
+ </ul></p>
+
+ <p>Any other entry type will be proceeded as <code>@misc</code>.</p>
+
+ <p><u>Note about the type <code>@misc</code>:</u><br>
+ this entry type is considered as the default. It requires the following fields: <code>author</code> and <code>year</code>. This constraint is not from the definition of the standard BibTeX file format. But it was introduced for the page's generation of Bib2ML.</p>
+
+ <p>I welcome requests to support other entry types. The generators could support their own entry types. See the section about <a href="#generators">supported generator</a> for more details</p>
+
+ <hr width="100%">
+
+ <a name="format_fields"></a><h3>4.3 Recognized Fields</h3>
+
+ <p>Bib2ML recognizes the following bibliography field types (by the generator <a href="#generator_HTML">HTML</a>):<ul>
+ <li><code>address</code></li>
+ <li><code>annote</code></li>
+ <li><code>author</code> (see the <a href="#format_names">definitions of the names</a>)</li>
+ <li><code>booktitle</code></li>
+ <li><code>chapter</code></li>
+ <li><code>comments</code> (alias <code>annote</code>)</li>
+ <li><code>edition</code></li>
+ <li><code>editor</code> (see the <a href="#format_names">definitions of the names</a>)</li>
+ <li><code>howpublished</code></li>
+ <li><code>institution</code></li>
+ <li><code>month</code></li>
+ <li><code>note</code></li>
+ <li><code>number</code></li>
+ <li><code>organization</code></li>
+ <li><code>pages</code></li>
+ <li><code>publisher</code></li>
+ <li><code>school</code></li>
+ <li><code>series</code></li>
+ <li><code>title</code></li>
+ <li><code>type</code></li>
+ <li><code>volume</code></li>
+ <li><code>year</code></li>
+ </ul></p>
+
+ <p>The real support of a field depends on the entry type in which it appears. The following table explains where the fields are needed and where they are optional.</p>
+
+ <p><a name="table_HTMLfields"></a><table border="1" cellspacing="0" cellpadding="2" width="100%">
+ <tr bgcolor="#cccccc"><td colspan="13" align="center"><small><i>Supported Fields by the Generator HTML</i></small></td></tr>
+ <tr bgcolor="#cccccc"><td><!-- --></td>
+ <td align="center"><small>article</small></td>
+ <td align="center"><small>book</small></td>
+ <td align="center"><small>booklet</small></td>
+ <td align="center"><small>inbook</small></td>
+ <td align="center"><small>inproceeding<br>incollection</small></td>
+ <td align="center"><small>manual</small></td>
+ <td align="center"><small>masterthesis</small></td>
+ <td align="center"><small>misc</small></td>
+ <td align="center"><small>phdthesis</small></td>
+ <td align="center"><small>proceedings</small></td>
+ <td align="center"><small>techreport</small></td>
+ <td align="center"><small>unpublished</small></td>
+ </tr>
+ <tr><td bgcolor="#cccccc"><small>address</small></td>
+ <td align="center"><!-- article --></td>
+ <td align="center"><!-- book --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- booklet --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- inbook --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- inproceedings --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- manual --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- masterthesis --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- misc --></td>
+ <td align="center"><!-- phdthesis --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- proceedings --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- techreport --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- unpublished --></td>
+ </tr>
+ <tr><td bgcolor="#cccccc"><small>annote</small></td>
+ <td align="center"><!-- article --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- book --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- booklet --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- inbook --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- inproceedings --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- manual --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- masterthesis --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- misc --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- phdthesis --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- proceedings --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- techreport --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- unpublished --><img src="./optional.gif" alt="O"></td>
+ </tr>
+ <tr><td bgcolor="#cccccc"><small>author</small></td>
+ <td align="center"><!-- article --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- book --><img src="./requiredor.png" alt="RO"></td>
+ <td align="center"><!-- booklet --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- inbook --><img src="./requiredor.png" alt="RO"></td>
+ <td align="center"><!-- inproceedings --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- manual --><img src="./required.gif" alt="O"></td>
+ <td align="center"><!-- masterthesis --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- misc --><img src="./requiredor.png" alt="RO"></td>
+ <td align="center"><!-- phdthesis --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- proceedings --><img src="./requiredor.png" alt="RO"></td>
+ <td align="center"><!-- techreport --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- unpublished --><img src="./required.gif" alt="R"></td>
+ </tr>
+ <tr><td bgcolor="#cccccc"><small>booktitle</small></td>
+ <td align="center"><!-- article --></td>
+ <td align="center"><!-- book --></td>
+ <td align="center"><!-- booklet --></td>
+ <td align="center"><!-- inbook --></td>
+ <td align="center"><!-- inproceedings --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- manual --></td>
+ <td align="center"><!-- masterthesis --></td>
+ <td align="center"><!-- misc --></td>
+ <td align="center"><!-- phdthesis --></td>
+ <td align="center"><!-- proceedings --></td>
+ <td align="center"><!-- techreport --></td>
+ <td align="center"><!-- unpublished --></td>
+ </tr>
+ <tr><td bgcolor="#cccccc"><small>chapter</small></td>
+ <td align="center"><!-- article --></td>
+ <td align="center"><!-- book --></td>
+ <td align="center"><!-- booklet --></td>
+ <td align="center"><!-- inbook --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- inproceedings --></td>
+ <td align="center"><!-- manual --></td>
+ <td align="center"><!-- masterthesis --></td>
+ <td align="center"><!-- misc --></td>
+ <td align="center"><!-- phdthesis --></td>
+ <td align="center"><!-- proceedings --></td>
+ <td align="center"><!-- techreport --></td>
+ <td align="center"><!-- unpublished --></td>
+ </tr>
+ <tr><td bgcolor="#cccccc"><small>edition</small></td>
+ <td align="center"><!-- article --></td>
+ <td align="center"><!-- book --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- booklet --></td>
+ <td align="center"><!-- inbook --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- inproceedings --></td>
+ <td align="center"><!-- manual --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- masterthesis --></td>
+ <td align="center"><!-- misc --></td>
+ <td align="center"><!-- phdthesis --></td>
+ <td align="center"><!-- proceedings --></td>
+ <td align="center"><!-- techreport --></td>
+ <td align="center"><!-- unpublished --></td>
+ </tr>
+ <tr><td bgcolor="#cccccc"><small>editor</small></td>
+ <td align="center"><!-- article --></td>
+ <td align="center"><!-- book --><img src="./requiredor2.png" alt="RO"></td>
+ <td align="center"><!-- booklet --></td>
+ <td align="center"><!-- inbook --><img src="./requiredor2.png" alt="RO"></td>
+ <td align="center"><!-- inproceedings --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- manual --></td>
+ <td align="center"><!-- masterthesis --></td>
+ <td align="center"><!-- misc --><img src="./requiredor2.png" alt="RO"></td>
+ <td align="center"><!-- phdthesis --></td>
+ <td align="center"><!-- proceedings --><img src="./requiredor2.png" alt="RO"></td>
+ <td align="center"><!-- techreport --></td>
+ <td align="center"><!-- unpublished --></td>
+ </tr>
+ <tr><td bgcolor="#cccccc"><small>howpublished</small></td>
+ <td align="center"><!-- article --></td>
+ <td align="center"><!-- book --></td>
+ <td align="center"><!-- booklet --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- inbook --></td>
+ <td align="center"><!-- inproceedings --></td>
+ <td align="center"><!-- manual --></td>
+ <td align="center"><!-- masterthesis --></td>
+ <td align="center"><!-- misc --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- phdthesis --></td>
+ <td align="center"><!-- proceedings --></td>
+ <td align="center"><!-- techreport --></td>
+ <td align="center"><!-- unpublished --></td>
+ </tr>
+ <tr><td bgcolor="#cccccc"><small>institution</small></td>
+ <td align="center"><!-- article --></td>
+ <td align="center"><!-- book --></td>
+ <td align="center"><!-- booklet --></td>
+ <td align="center"><!-- inbook --></td>
+ <td align="center"><!-- inproceedings --></td>
+ <td align="center"><!-- manual --></td>
+ <td align="center"><!-- masterthesis --></td>
+ <td align="center"><!-- misc --></td>
+ <td align="center"><!-- phdthesis --></td>
+ <td align="center"><!-- proceedings --></td>
+ <td align="center"><!-- techreport --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- unpublished --></td>
+ </tr>
+ <tr><td bgcolor="#cccccc"><small>journal</small></td>
+ <td align="center"><!-- article --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- book --></td>
+ <td align="center"><!-- booklet --></td>
+ <td align="center"><!-- inbook --></td>
+ <td align="center"><!-- inproceedings --></td>
+ <td align="center"><!-- manual --></td>
+ <td align="center"><!-- masterthesis --></td>
+ <td align="center"><!-- misc --></td>
+ <td align="center"><!-- phdthesis --></td>
+ <td align="center"><!-- proceedings --></td>
+ <td align="center"><!-- techreport --></td>
+ <td align="center"><!-- unpublished --></td>
+ </tr>
+ <tr><td bgcolor="#cccccc"><small>month</small></td>
+ <td align="center"><!-- article --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- book --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- booklet --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- inbook --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- inproceedings --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- manual --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- masterthesis --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- misc --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- phdthesis --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- proceedings --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- techreport --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- unpublished --></td>
+ </tr>
+ <tr><td bgcolor="#cccccc"><small>note</small></td>
+ <td align="center"><!-- article --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- book --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- booklet --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- inbook --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- inproceedings --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- manual --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- masterthesis --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- misc --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- phdthesis --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- proceedings --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- techreport --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- unpublished --><img src="./required.gif" alt="R"></td>
+ </tr>
+ <tr><td bgcolor="#cccccc"><small>number</small></td>
+ <td align="center"><!-- article --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- book --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- booklet --></td>
+ <td align="center"><!-- inbook --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- inproceedings --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- manual --></td>
+ <td align="center"><!-- masterthesis --></td>
+ <td align="center"><!-- misc --></td>
+ <td align="center"><!-- phdthesis --></td>
+ <td align="center"><!-- proceedings --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- techreport --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- unpublished --></td>
+ </tr>
+ <tr><td bgcolor="#cccccc"><small>organization</small></td>
+ <td align="center"><!-- article --></td>
+ <td align="center"><!-- book --></td>
+ <td align="center"><!-- booklet --></td>
+ <td align="center"><!-- inbook --></td>
+ <td align="center"><!-- inproceedings --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- manual --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- masterthesis --></td>
+ <td align="center"><!-- misc --></td>
+ <td align="center"><!-- phdthesis --></td>
+ <td align="center"><!-- proceedings --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- techreport --></td>
+ <td align="center"><!-- unpublished --></td>
+ </tr>
+ <tr><td bgcolor="#cccccc"><small>pages</small></td>
+ <td align="center"><!-- article --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- book --></td>
+ <td align="center"><!-- booklet --></td>
+ <td align="center"><!-- inbook --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- inproceedings --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- manual --></td>
+ <td align="center"><!-- masterthesis --></td>
+ <td align="center"><!-- misc --></td>
+ <td align="center"><!-- phdthesis --></td>
+ <td align="center"><!-- proceedings --></td>
+ <td align="center"><!-- techreport --></td>
+ <td align="center"><!-- unpublished --></td>
+ </tr>
+ <tr><td bgcolor="#cccccc"><small>publisher</small></td>
+ <td align="center"><!-- article --></td>
+ <td align="center"><!-- book --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- booklet --></td>
+ <td align="center"><!-- inbook --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- inproceedings --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- manual --></td>
+ <td align="center"><!-- masterthesis --></td>
+ <td align="center"><!-- misc --></td>
+ <td align="center"><!-- phdthesis --></td>
+ <td align="center"><!-- proceedings --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- techreport --></td>
+ <td align="center"><!-- unpublished --></td>
+ </tr>
+ <tr><td bgcolor="#cccccc"><small>school</small></td>
+ <td align="center"><!-- article --></td>
+ <td align="center"><!-- book --></td>
+ <td align="center"><!-- booklet --></td>
+ <td align="center"><!-- inbook --></td>
+ <td align="center"><!-- inproceedings --></td>
+ <td align="center"><!-- manual --></td>
+ <td align="center"><!-- masterthesis --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- misc --></td>
+ <td align="center"><!-- phdthesis --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- proceedings --></td>
+ <td align="center"><!-- techreport --></td>
+ <td align="center"><!-- unpublished --></td>
+ </tr>
+ <tr><td bgcolor="#cccccc"><small>series</small></td>
+ <td align="center"><!-- article --></td>
+ <td align="center"><!-- book --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- booklet --></td>
+ <td align="center"><!-- inbook --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- inproceedings --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- manual --></td>
+ <td align="center"><!-- masterthesis --></td>
+ <td align="center"><!-- misc --></td>
+ <td align="center"><!-- phdthesis --></td>
+ <td align="center"><!-- proceedings --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- techreport --></td>
+ <td align="center"><!-- unpublished --></td>
+ </tr>
+ <tr><td bgcolor="#cccccc"><small>title</small></td>
+ <td align="center"><!-- article --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- book --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- booklet --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- inbook --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- inproceedings --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- manual --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- masterthesis --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- misc --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- phdthesis --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- proceedings --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- techreport --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- unpublished --><img src="./required.gif" alt="R"></td>
+ </tr>
+ <tr><td bgcolor="#cccccc"><small>type</small></td>
+ <td align="center"><!-- article --></td>
+ <td align="center"><!-- book --></td>
+ <td align="center"><!-- booklet --></td>
+ <td align="center"><!-- inbook --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- inproceedings --></td>
+ <td align="center"><!-- manual --></td>
+ <td align="center"><!-- masterthesis --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- misc --></td>
+ <td align="center"><!-- phdthesis --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- proceedings --></td>
+ <td align="center"><!-- techreport --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- unpublished --></td>
+ </tr>
+ <tr><td bgcolor="#cccccc"><small>volume</small></td>
+ <td align="center"><!-- article --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- book --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- booklet --></td>
+ <td align="center"><!-- inbook --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- inproceedings --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- manual --></td>
+ <td align="center"><!-- masterthesis --></td>
+ <td align="center"><!-- misc --></td>
+ <td align="center"><!-- phdthesis --></td>
+ <td align="center"><!-- proceedings --><img src="./optional.gif" alt="O"></td>
+ <td align="center"><!-- techreport --></td>
+ <td align="center"><!-- unpublished --></td>
+ </tr>
+ <tr><td bgcolor="#cccccc"><small>year</small></td>
+ <td align="center"><!-- article --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- book --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- booklet --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- inbook --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- inproceedings --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- manual --><img src="./required.gif" alt="O"></td>
+ <td align="center"><!-- masterthesis --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- misc --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- phdthesis --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- proceedings --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- techreport --><img src="./required.gif" alt="R"></td>
+ <td align="center"><!-- unpublished --><img src="./required.gif" alt="R"></td>
+ </tr>
+
+ <tr><td colspan="13"><img src="./required.gif" alt="R" align="center">: this field was required by Bib2ML<br>
+ <img src="./requiredor.png" alt="RO" align="center">: this field was required by Bib2ML if the other required field was not given<br>
+ <img src="./requiredor2.png" alt="RO" align="center">: this field was required by Bib2ML if the other required field was not given<br>
+ <img src="./optional.gif" alt="O" align="center">: this field was not required by Bib2ML<br>
+ When a cell was empty, this field is ignored by Bib2ML</td></tr></table></p>
+
+ <p>I welcome requests to support other fields. The generators could support their own. See the section about <a href="#generators">supported generator</a> for more details</p>
+
+ <a name="format_string"></a><h3>4.4 Definition of Strings and Preambles</h3>
+
+ <p>Like BibTeX, Bib2ML also handles arbitrary <code>@string</code> definitions, which can be used in any entry field, e.g.
+ <pre><code>
+ @string{acl = "Association for Computational Linguistics"}
+ ...
+ @proceedings{PROC,
+ publisher = acl,
+ ...
+ }
+ </code></pre></p>
+
+ <p>Bib2ML also supports the definition of TeX preambles. The TeX preambles are TeX commands which are evaluated and ran before any treatement on the BibTeX entries. The definition of a preamble is done with <code>@preamble</code>, e.g.
+ <pre><code>
+ @preamble{\def\th{\ensuremath{^{th}}}}
+ ...
+ </code></pre></p>
+
+ <p>The TeX commands which can be put inside a <code>@preamble</code> are limited to the commands supported by Bib2ML (see the command-line option <code>--texcmd</code> to obtain a list).</p>
+
+ <a name="format_names"></a><h3>4.5 Definition of the Lists of Names</h3>
+
+ <p>In some fields (e.g. <code>author</code> and <code>editor</code>) you must specify a list of names. This list is composed of names separated by the keyword <code>AND</code>. Each name must respect one of the following syntaxes:<ul>
+ <li><code>[von] Last, jr, First</code></li>
+ <li><code>First [von] Last, jr</code></li>
+ <li><code>[von] Last, First [jr]</code></li>
+ <li><code>First [von] Last [jr]</code></li>
+ </ul></p>
+
+ <p>If present the <code>jr</code> part must be one of '<code>junior</code>', '<code>jr.</code>', '<code>jr</code>', '<code>senior</code>', '<code>sen.</code>', '<code>sen</code>', '<code>esq.</code>', '<code>esq</code>', '<code>phd.</code>' and '<code>phd</code>'.
+
+ <p><u>Good Example:</u> <code>DUPONT, Henri and Pierre, Alain Michel and Jim WASHINGTON jr.
+ <table border="1" cellspacing="0" cellpadding="0">
+ <tr><td><code>DUPONT, </code></td><td><code>Henri</code></td><td><code> and </code></td><td><code>Pierre, </code></td><td><code>Alain Michel</code></td><td><code> and </code></td><td><code>Jim </code></td><td><code>WASHINGTON </code></td><td><code>jr.</code></td></tr>
+ <tr><td><code>last</code></td><td><code>first</code></td><td><code></code></td><td><code>last</code></td><td><code>first</code></td><td><code></code></td><td><code>first</code></td><td><code>fast</code></td><td><code>jr</code></td></tr>
+ </table></p>
+
+ <p><u>Bad Example:</u> <code>Henri DUPONT, Alain Michel Pierre and Jim WASHINGTON jr.
+ <table border="1" cellspacing="0" cellpadding="0">
+ <tr><td><code>Henri DUPONT, </code></td><td><code>Alain Michel Pierre</code></td><td><code> and </code></td><td><code>Jim </code></td><td><code>WASHINGTON </code></td><td><code>jr.</code></td></tr>
+ <tr><td><code>last</code></td><td><code>first</code></td><td><code></code></td><td><code>first</code></td><td><code>fast</code></td><td><code>jr</code></td></tr>
+ </table></p>
+
+ <hr width="100%">
+
+ <a name="generators"></a><h2>5. Supported Generators</h2>
+
+ <p>The generator is one of the major module of Bib2ML (with the BibTeX parser). It aims to create the HTML files from the internal data structure given by the parser. It is the generator which apply the canvas of the generated pages (use of 3 frames, links to the overview the index from the header of each entry's page...).</p>
+
+ <p>In addition to the usable generator listed below, Bib2ML includes an abstract generator which is the basis of all the others.</p>
+
+ <a name="generator_HTML"></a><h3>5.1. Generator HTML</h3>
+
+ <p>The generator called <code>HTML</code> is the default HTML generator of Bib2ML. Its purpose is to generate a basic content which is quiet similar to a lot of BibTeX to HTML tools (such as the LaTeX distribution's <code>bib2html</code>).</p>
+
+ <p><table border="1" cellspacing="0" cellpadding="5" width="100%">
+ <tr><td bgcolor="#cccccc" align="center"><i>SUPPORTED FIELDS</i></td></tr>
+ <tr><td valign="top">
+ See this <a href="#table_HTMLfields">table</a>.
+ </td></tr>
+ </table></p>
+
+ <p><table border="1" cellspacing="0" cellpadding="5" width="100%">
+ <tr><td bgcolor="#cccccc" align="center"><i>FEATURES</i></td></tr>
+ <tr><td valign="top">
+ The generated result in based on <i>three frames</i>:<ul>
+ <li>upper-left frame: a brief overview which permits to do some high-level selection,</li>
+ <li>lower-left frame: a overview of all the entries which are selected accordingly to the selection made inside the upper-left frame,</li>
+ <li>right frame: the main frame which aims to display all the informations (overview, entry's pages...).</li>
+ </ul>
+ </td></tr>
+ <tr><td valign="top">
+ One page per <i>entry</i>:<ul>
+ <li>All the required and optional fields listed in <a href="#table_HTMLfields">this table</a> are displayed inside a table (except the field <code>annote</code>).</li>
+ <li>Display the content of the field <code>annote</code> (or <code>comments</code>) inside a section just below the field's table.</li>
+ <li>If the command-line option <code>--bitex</code> was specified (default), a verbatim output of the BibTeX entry was generated in its own section.</li>
+ </ul>
+ </td></tr>
+ <tr><td valign="top">
+ One short-overview page (inside the upper-left frame) which contains all the entry's types.
+ </td></tr>
+ <tr><td valign="top">
+ One short-overview page (inside the lower-left frame) which contains all the entries grouped by year and sorted by authors and publication date.
+ </td></tr>
+ <tr><td valign="top">
+ One <i>overview</i> page (inside the right frame) which contains a list of all the entries grouped by year and sorted by authors and publication date.
+ </td></tr>
+ <tr><td valign="top">
+ One <i>tree-view</i> page which contains all the entries grouped by publication's type and sorted by authors and publication date. This page could be overwriting by subclasses of this generator to provide antoher kind of tree-view.
+ </td></tr>
+ <tr><td valign="top">
+ A set of <i>index</i> pages. The index lists the significant words found inside the BibTeX file and propose a link to the entry's page where this word is. The generator produces one HTML page for each letter of the alphabet.<br>
+ A significant word is a word which has more than 2 letters and which are not known are not-significant by the Bib2ML's internal database.
+ </td></tr>
+ </table></p>
+
+ <p><table border="1" cellspacing="0" cellpadding="5" width="100%">
+ <tr><td bgcolor="#cccccc" colspan="2" align="center"><i>GENERATOR'S PARAMETERS</i></td></tr>
+ <tr><td valign="top"><code>author-regexp=<u>expr</u></code></td>
+ <td valign="top">
+ A <a href="http://www.perldoc.com/perl5.8.4/pod/perlre.html">Perl's regular expression</a> (which is case-insensitive) against which the
+ lastname of an author is matched. If the author matches, (s)he is included in the overview window author list.
+ </td></tr>
+ <tr><td valign="top"><code>hideindex</code></td>
+ <td valign="top">
+ If presents, hide the index link and do not generate the index files.
+ </td></tr>
+ <tr><td valign="top"><code>html-generator=<u>encoding</u></code></td>
+ <td valign="top">
+ This parameter is a string that correspond to the character encoding of the generated HTML pages.
+ The default encoding is <code>ISO-8859-1</code>.
+ </td></tr>
+ <tr><td valign="top"><code>max-names-overview=<u>integer</u></code></td>
+ <td valign="top">
+ An integer which is the maximal count of authors in the overview page.
+ </td></tr>
+ <tr><td valign="top"><code>max-names-list=<u>integer</u></code></td>
+ <td valign="top">
+ An integer which is the maximal count of authors on the listing in the lower-left frame.
+ </td></tr>
+ <tr><td valign="top"><code>newtype=<u>expr</u></code></td>
+ <td valign="top">
+ A comma separated list of new publication's types, with singular and plural label.<br>
+ <p>The value must respect the format: <code>type:Singular:Plural[,type:Singular:Plural...]</code><br>
+ where <code>type</code> is the identifier of the new type, <code>Singular</code> is the label used
+ when this type has zero or one entry, <code>Plurial</code> is the label used when this type
+ has two or more entries.</p>
+ Each new type will appears inside the overview's pages. But this feature does not explain
+ how to generate the content of the corresponding entry's pages. So, the entry's pages will
+ be generated as for <code>@misc</code> entries (except if you define your own generator).
+ </td></tr>
+ <tr><td valign="top"><code>stdout</code></td>
+ <td valign="top">
+ If presents, this option force Bib2ML to output the files onto the standard output instead of files.
+ </td></tr>
+ <tr><td valign="top"><code>type-matching=<u>expr</u></code></td>
+ <td valign="top">
+ A coma separated list of items which inititalizes an associative array of type entry mappings.<br>
+ Each item must respect one of the following syntaxes:<ul>
+ <li><code>type =&gt; type</code> (since the version 1.3)</li>
+ <li><code>type -&gt; type</code> (since the version 1.3)</li>
+ <li><code>type &gt; type</code> (since the version 1.3)</li>
+ <li><code>type , type</code> (original syntax)</li>
+ </ul>
+ For example <code>incollection,article,inproceedings,article</code> means that all the
+ BibTeX's <code>@incollection</code> entries will be displayed as <code>@article</code> entries.
+ The same thing for the <code>@inproceedings</code>.<br>
+ So, the specified value for this parameters <strong>must</strong> be a list of pairs.<br>
+ An alternative syntax is: <code>type=&gt;type[,type=&gt;type...]</code>. With the same example a above,
+ the value should be <code>incollection=&gt;article,inproceedings=&gt;article</code>.
+ </td></tr>
+ <tr><td valign="top"><code>xml-verbatim</code></td>
+ <td valign="top">
+ If this parameter was given, Bib2ML will generate a verbatim text that corresponds to the XML specification of the entries. This text is put just below the BibTeX verbatim text.
+ </td></tr>
+ </table></p>
+
+ <a name="generator_Extended"></a><h3>5.2. Generator Extended</h3>
+
+ <p>The generator <code>Extended</code> is an extension of <code>HTML</code>. Its purpose is to provide some additional features.</p>
+
+ <p><table border="1" cellspacing="0" cellpadding="5" width="100%">
+ <tr><td bgcolor="#cccccc" colspan="2" align="center"><i>NEW SUPPORTED FIELDS</i></td></tr>
+ <tr><td valign="top"><code>abstract</code></td>
+ <td valign="top">is the abstract associated to the entry (in most of the case, it is written
+ at the begining of the paper's article).
+ </td></tr>
+ <tr><td valign="top"><code>adsurl</code></td>
+ <td valign="top">is an URL from the Astrophysics Citation Reference System which is corresponds
+ to the entry. This field supports the URL's protocols
+ <code>ftp:</code>, <code>file:</code>, <code>https:</code>,
+ <code>gopher:</code>, <code>mailto:</code> and <code>http:</code> (this last is the default).
+ </td></tr>
+ <tr><td valign="top"><code>doi</code></td>
+ <td valign="top">is the Document Object Identifier (DOI) which is assumed to be an URL
+ linked to a document on Internet. This field supports the URL's protocols
+ <code>ftp:</code>, <code>file:</code>, <code>https:</code>,
+ <code>gopher:</code>, <code>mailto:</code> and <code>http:</code> (this last is the default).
+ </td></tr>
+ <tr><td valign="top"><code>isbn</code></td>
+ <td valign="top">is the <a href="http://www.isbn.org/">ISBN number</a> of the entry.
+ </td></tr>
+ <tr><td valign="top"><code>issn</code></td>
+ <td valign="top">is the <a href="http://www.issn.org/">ISSN number</a> of the entry.
+ </td></tr>
+ <tr><td valign="top"><code>keywords</code></td>
+ <td valign="top">is list of the keywords associated to the entry (in most of the case, they
+ are mentionned at the begining of the paper's article).
+ </td></tr>
+ <tr><td valign="top"><code>localfile</code></td>
+ <td valign="top">is the path (on your local host) to a electronical version of
+ the document that is described by the entry (I recommended to put only
+ a PDF or a Postscript file here).<br>
+ If this field was present and the corresponding file was found, Bib2ML
+ generates a link to this into the entry's page.<br>
+ See the parameters of this generator to influence the default location of the
+ electronical files.
+ </td></tr>
+ <tr><td valign="top"><code>readers</code></td>
+ <td valign="top">is a list of people who read this entry. The value of this field <strong>must</strong>
+ support the <a href="#format_names">BibTeX's syntax for names</a>.
+ </td></tr>
+ <tr><td valign="top"><code>url</code></td>
+ <td valign="top">is an URL associated to the entry. This field supports the URL's protocols
+ <code>ftp:</code>, <code>file:</code>, <code>https:</code>,
+ <code>gopher:</code>, <code>mailto:</code> and <code>http:</code> (this last is the default).
+ </td></tr>
+ <tr><td valign="top"><code>pdf</code></td>
+ <td valign="top">is an URL associted to the entry with
+ corresponds to a PDF file. This field supports the URL's protocols
+ <code>ftp:</code>, <code>file:</code>, <code>https:</code>,
+ <code>gopher:</code>, <code>mailto:</code> and <code>http:</code>.
+ </td></tr>
+ </table></p>
+
+ <p><table border="1" cellspacing="0" cellpadding="5" width="100%">
+ <tr><td bgcolor="#cccccc" align="center"><i>NEW FEATURES</i></td></tr>
+ <tr><td valign="top">
+ In the entry's pages:<ul>
+ <li>The new fields are added into the generated table (except for <code>abstract</code> and <code>keywords</code>).</li>
+ <li>The values of the fields <code>abstract</code> and <code>keywords</code> are put inside a specific section.</li>
+ </ul>
+ </td></tr>
+ <tr><td valign="top">
+ The overview page is extended with the list of all the authors.
+ </td></tr>
+ </table></p>
+
+ <p><table border="1" cellspacing="0" cellpadding="5" width="100%">
+ <tr><td bgcolor="#cccccc" colspan="2" align="center"><i>NEW GENERATOR'S PARAMETERS</i></td></tr>
+ <tr><td valign="top"><code>absolute-source=<u>path</u></code></td>
+ <td valign="top">
+ is the absolute path of the directory where the downloadable documents could be found
+ (see the field <code>localfile</code> for details about the downloadable documents).<br>
+ The parameters <code>absolute-source</code>, <code>relative-source</code> and
+ <code>target-url</code> are mutually exclusive.
+ </td></tr>
+ <tr><td valign="top"><code>backslash</code></td>
+ <td valign="top">
+ if presents, indicates that backslashes will be removed from the link fields (url,ftp...).
+ </td></tr>
+ <tr><td valign="top"><code>doc-repository=<u>path</u></code></td>
+ <td valign="top">
+ if presents, indicates the directory where are stored the electronical documents. This option assumes hat electronical documents have a name similar to the BibTeX key. For example the entry with the key <code>Galland.esm00</code> could have an associated electronical document with its name equals to one of <code>Galland.esm00.pdf</code>, <code>Galland.esm00.PDF</code>, <code>Galland.esm00.ps</code> or <code>Galland.esm00.PS</code>.
+ </td></tr>
+ <tr><td valign="top"><code>nodownload</code></td>
+ <td valign="top">
+ if presents, indicates that no link to the electronic
+ documents will be generated. By extension, if
+ presents no copy of there files will be made.
+ </td></tr>
+ <tr><td valign="top"><code>relative-source=<u>path</u></code></td>
+ <td valign="top">
+ is the relative path of the directory where the downloadable documents could be found
+ (see the field <code>localfile</code> for details about the downloadable documents).
+ This path is relative to the directory where the BibTeX file is located.<br>
+ The parameters <code>absolute-source</code>, <code>relative-source</code> and
+ <code>target-url</code> are mutually exclusive.
+ </td></tr>
+ <tr><td valign="top"><code>target-url=<u>url</u></code></td>
+ <td valign="top">
+ is an URL where the downloadable documents could be find. It means that
+ if this URL was specified, Bib2ML assumes that all the files
+ could be download from the specified URL. It means also that
+ no copy will be made by Bib2ML.<br>
+ The parameters <code>absolute-source</code>, <code>relative-source</code> and
+ <code>target-url</code> are mutually exclusive.
+ </td></tr>
+ </table></p>
+
+ <a name="generator_Domain"></a><h3>5.3. Generator Domain</h3>
+
+ <p>The generator <code>Domain</code> is an extension of <code>Extended</code>. Its purpose is to provide some additional features about the scientifical domains of the entries.</p>
+
+ <p>This generator introduces the concept of &laquo;domain&raquo; which corresponds to the name of a scientifical context/domain. An entry could be inside one or more domains.</p>
+
+ <p><table border="1" cellspacing="0" cellpadding="5" width="100%">
+ <tr><td bgcolor="#cccccc" colspan="2" align="center"><i>NEW SUPPORTED FIELDS</i></td></tr>
+ <tr><td valign="top"><code>domain</code></td>
+ <td valign="top">is the first domain in which this entry was.<br>
+ This field does not overset the previous domain's setting (except for
+ <code>domain</code>).
+ </td></tr>
+ <tr><td valign="top"><code>domains</code></td>
+ <td valign="top">is a list of domains in which this entry was. The domain's separator is the character '<code>:</code>'.<br>
+ This field does not overset the previous domain's setting (except for
+ <code>domains</code>).
+ </td></tr>
+ <tr><td valign="top"><code>nddomain</code></td>
+ <td valign="top">is the second domain in which this entry was.<br>
+ This field does not overset the previous domain's setting (except for
+ <code>nddomain</code>).
+ </td></tr>
+ <tr><td valign="top"><code>rddomain</code></td>
+ <td valign="top">is the third domain in which this entry was.<br>
+ This field does not overset the previous domain's setting (except for
+ <code>rddomain</code>).
+ </td></tr>
+ </table></p>
+
+ <p><table border="1" cellspacing="0" cellpadding="5" width="100%">
+ <tr><td bgcolor="#cccccc" align="center"><i>NEW FEATURES</i></td></tr>
+ <tr><td valign="top">
+ Inside the entry's page, a section with the other entries inside the same domains was added. The entries of this list are grouped by domains and sorted by authors.
+ </td></tr>
+ <tr><td valign="top">
+ One <i>domain-view</i> page which contains all the entries grouped by domain and sorted by authors and publication date. This page could be overwriting by subclasses of this generator to provide antoher kind of domain-view.
+ </td></tr>
+ </table></p>
+
+ <a name="generator_XML"></a><h3>5.4. Generator XML</h3>
+
+ <p>The generator called <code>XML</code> is the default XML generator of Bib2ML. Its purpose is to generate a basic content which respects the XML <a href="./bibtexml_dtd.html">DTD</a> defined by <a href="http://bibtexml.sf.net/">BibteXML</a>.</p>
+
+ <p><table border="1" cellspacing="0" cellpadding="5" width="100%">
+ <tr><td bgcolor="#cccccc" align="center"><i>SUPPORTED FIELDS</i></td></tr>
+ <tr><td valign="top">
+ See this <a href="#table_HTMLfields">table</a> and the definition of the BibteXML's <a href="./bibtexml_dtd.html">DTD</a>.
+ </td></tr>
+ </table></p>
+
+ <p><table border="1" cellspacing="0" cellpadding="5" width="100%">
+ <tr><td bgcolor="#cccccc" colspan="2" align="center"><i>GENERATOR'S PARAMETERS</i></td></tr>
+ <tr><td valign="top"><code>stdout</code></td>
+ <td valign="top">
+ If presents, this option force Bib2ML to output the files onto the standard output instead of files.
+ </td></tr>
+ <tr><td valign="top"><code>xml-encoding=<u>encoding</u></code></td>
+ <td valign="top">
+ is character encoding which will be put into the header of the generated XML file.
+ All values for the character encoding supported by the XML specifications are allowed (<code>ISO-8859-1</code>, <code>UTF8</code>...). The default value is <code>ISO-8859-1</code>.
+ </td></tr>
+ </table></p>
+
+ <a name="generator_SQL"></a><h3>5.5. Generator SQL</h3>
+
+ <p>The generator called <code>SQL</code> is the default SQL generator of Bib2ML. Its purpose is to generate a basic content which respects the SQL schema illustrated by the following figure.</p>
+
+ <p style="text-align: center;"><a href="./sql_schema.png"><img src="./sql_schema_small.png"></a></p>
+
+ <p><table border="1" cellspacing="0" cellpadding="5" width="100%">
+ <tr><td bgcolor="#cccccc" align="center"><i>SUPPORTED FIELDS</i></td></tr>
+ <tr><td valign="top">
+ See this <a href="#table_HTMLfields">table</a>.
+ </td></tr>
+ </table></p>
+
+ <p><table border="1" cellspacing="0" cellpadding="5" width="100%">
+ <tr><td bgcolor="#cccccc" colspan="2" align="center"><i>GENERATOR'S PARAMETERS</i></td></tr>
+ <tr><td valign="top"><code>sql-encoding=<u>name</u></code></td>
+ <td valign="top">
+ Defines the character encoding used to generate the SQL script.
+ </td></tr>
+ <tr><td valign="top"><code>sql-engine=<u>name</u></code></td>
+ <td valign="top">
+ Defines the SQL engine for which the SQL script should be generated.
+ The supported engines are: "mysql" and "pgsql".
+ </td></tr>
+ <tr><td valign="top"><code>stdout</code></td>
+ <td valign="top">
+ If presents, this option force Bib2ML to output the files onto the standard output instead of files.
+ </td></tr>
+ </table></p>
+
+ <hr width="100%">
+
+ <a name="themes"></a><h2>6. Supported Themes</h2>
+
+ Bib2ML permits to select a theme which influence the look of the generated pages. You could select a theme which the command-line option <code>--theme</code> and list all the supported themes which <code>--themelist</code>.</p>
+
+ <a name="theme_Simple"></a><h2>6.1. Theme Simple</h2>
+
+ <p>The theme <code>Simple</code> is the default theme. It is quiet similar to the default output of <a href="http://java.sun.com/j2se/javadoc/">JavaDoc</a>.</p>
+ <center><a href="./capture2.png"><img src="./capture2.png" width="50%"></a></center>
+
+ <a name="theme_Dyna"></a><h2>6.2. Theme Dyna</h2>
+
+ <p>The theme <code>Dyna</code> is an experimental theme. It uses its own look policy and includes some dynamical features such a collapsing lists...</p>
+
+ <center><a href="./capture.png"><img src="./capture.png" width="50%"></a></center>
+
+ <a name="theme_contrib"></a><h2>6.3. Contribute</h2>
+
+ <p>Do you want to have your own theme for the HMTL generators? If yes, you should write your own theme in Perl.</p>
+
+ <p>Create a Perl class which extends the class <code>Bib2HTML::Generator::Theme</code> and implements the required functions. To have any example of implementation, see the two default themes: <code>Bib2HTML::Generator::Theme::Simple</code> and <code>Bib2HTML::Generator::Theme::Dyna</code>. Caution: you must put your theme class inside the same directory as <code>Simple</code> and <code>Dyna</code>.</p>
+
+ <hr width="100%">
+
+ <a name="languages"></a><h2>7. Supported Languages</h2>
+
+ <p>Bib2ML supports the French, the English, Spanish (thanks to Sebastian), Portuguese (thanks to João) and Italian (thanks to Cristian).</p>
+
+ <a name="languages_contrib"></a><h2>7.1. Contribute</h2>
+
+ <p>If you want to add the support for a specifical language, you need to create the following files inside the language directory (<code>/path/to/bib2ml/Bib2HTML/Generator/Lang</code>):<ul>
+ <li>copy the file <code>ENGLISH</code> as <code>LANGUAGE</code> (where <code>LANGUAGE</code> is the name of your language);</li>
+ <li>edit the file <code>LANGUAGE</code>; each line must start with the string identifier, which must be unchanged, followed by the string to display (see below for the syntax);</li>
+ <li>Repeat the two previous steps for each file for which the name starts by <code>ENGLISH</code>.</li>
+ <li>The file associated to an HTML generation has the name <code>&lt;LANGUAGE&gt;.&lt;GENERATION_NAME&gt;</code>.</li>
+ <li>The file associated to an HTML theme has the name <code>&lt;LANGUAGE&gt;.Theme.&lt;THEME_NAME&gt;</code>.</li>
+ </ul></p>
+
+ <p>The syntax of the language files is:<ul>
+ <li>Each line starting with '<code>#</code>' is a comment</li>
+ <li>Each language line must respect the syntax: <code>IDENTIFIER = STRING</code> where <code>IDENTIFIER</code> is the name of the string specified inside the Perl source code of Bib2ML, and <code>STRING</code> is the value of the string</li>
+ <li>Empty lines are ignored</li>
+ <li>If the string value finished by the character backslash (<code>\</code>), the value is assumed to continue on the next line (the spaces characters starting the next line will be ignored)</li>
+ <li>If the string value contains a substring of the form <code>{{NAME}}</code>, the substring will be replaced by the result of a call to the Perl function called <code>NAME</code></li>
+ <li>If the string value contains a substring of the form <code>#NUMBER</code>, the substring will be dynamically replaced by the value of the <code>NUMBER</code>-th parameter passed to the Perl function which permits to get the value.</li>
+ </ul></p>
+
+ <hr width="100%">
+
+ <a name="license"></a><h2>8. License</h2>
+
+ <p>Bib2ML is under the GNU GPL</a> license.</p>
+
+ <p>Bib2ML is a converter of BibTeX data files into HTML pages.<br>
+ Copyright &copy; 1998-2006 Stéphane GALLAND &lt;galland@arakhne.org&gt;</p>
+
+ <p>This program is free software; you can redistribute it and/or modify it under the terms of the <a href="http://www.gnu.org/copyleft/gpl.html">GNU General Public License</a> as published by the <a href="http://www.fsf.org/">Free Software Foundation</a>; either version 2 of the License, or (at your option) any later version.</p>
+
+ <p> This program is distributed in the hope that it will be useful, but <strong>WITHOUT ANY WARRANTY</strong>; without even the implied warranty of <strong>MERCHANTABILITY</strong> or <strong>FITNESS FOR A PARTICULAR PURPOSE</strong>. See the GNU General Public License for more details.</p>
+
+ <p>You should have received a copy of the GNU General Public License along with this program; see the file <code>COPYING</code>. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.</p>
+
+ <hr width="100%">
+
+ <a name="contributor"></a><h2>9. Contributors</h2>
+
+ <p>I would like to thank the following people for generously taking the
+ time to point out bugs, suggest improvements, or send me Bib2ML
+ patches. Many thanks to:<ul>
+ <li><a href="mailto:joao.lourenco@di.fct.unl.pt">João LOURENCO</a> has:<ul>
+ <li>submited the Portuguese translations.</li>
+ </ul></li>
+ <li><a href="mailto:michail@mpi-sb.mpg.de">Dimitris MICHAIL</a> has:<ul>
+ <li>added TeX commands.</li>
+ </ul></li>
+ <li><a href="mailto:preining@logic.at">Norbert PREINING</a> has:<ul>
+ <li>added the function <code>uniq</code> to eliminate redundant
+ values from a sorted list.</li>
+ <li>added the TeX's commands '<code>\#</code>' and '<code>\L</code>'.</li>
+ <li>added a warning message inside <code>__texcommand_map_to</code> when
+ a accentuated TeX command was encoutered but
+ Bib2ML does not known any corresponding HTML character
+ (e.g. <code>\'b</code>).</li>
+ <li>fixed a bug inside <code>__texcommand_map_to</code> which does not
+ return the right variable's value.</li>
+ <li>fixed two bugs inside <code>save_generator_parameter</code> which prevent
+ to properly set the parameters' values.</li>
+ </ul></li>
+ <li><a href="mailto:sebastian.rodriguez@utbm.fr">Sebastian RODRIGUEZ</a> has:<ul>
+ <li>reported bugs and submited the Spanish translations.</li>
+ </ul></li>
+ <li><a href="mailto:zinser@zinser.no-ip.info">Martin P.J. ZINSER</a> has:<ul>
+ <li>fixed a bug inside the function <code>addentry</code>
+ which permits to add an BibTeX's field.
+ All the fields' names are lower-cased to avoid
+ setting problems.</li>
+ </ul></li>
+ <li><a href="mailto:cri@linux.it">Cristian RIGAMONTI</a> has:<ul>
+ <li>submited the Italian translations.</li>
+ </ul></li>
+ <li><a href="mailto:paolini@di.unito.it">Luca PAOLINI</a> has:<ul>
+ <li>submited a patch that permits to support more letters with the caron accent.</li>
+ </ul></li>
+ <li><a href="mailto:gabrisa@optics.szfki.kfki.hu">Aurel GABRIS</a> has:<ul>
+ <li>submited a patch that add the generator parameters <code>max-titlelength-overview</code> and <code>show-journalparams-overview</code>.</li>
+ </ul></li>
+ <li><a href="mailto:loew@mathematik.tu-darmstadt.de">Tobias LOEW</a> has:<ul>
+ <li>patched the TeX parser to support some roman characters.</li>
+ </ul></li>
+ <li><a href="mailto:gasper.jaklic@fmf.uni-lj.si">Gasper JAKLIC</a> has:<ul>
+ <li>patched the TeX parser to support some locale characters;</li>
+ <li>reproduced high priority bugs and mismatches.</li>
+ </ul></li>
+ <li><a href="mailto:olivier.hugues@gmail.com">Olivier HUGUES</a> has:<ul>
+ <li>reported bugs in bib2sql tool.</li>
+ </ul></li>
+
+ </ul></p>
+
+ <hr width="100%">
+
+ <a name="bugreport"></a><h2>10. Bug Reporting</h2>
+
+ <p>You could submit bugs, suggest improvements, or send Bib2ML patches by using one of the following methods:<ul>
+ <li>send an email to <a href="mailto:galland@arakhne.org"><code>galland@arakhne.org</code></a>;</li>
+ </ul></p>
+
+ <p align="right"><small>Copyright 2004-11 &copy; Stéphane GALLAND<br><code>&lt;galland@arakhne.org&gt;</code></small></p>
+
+ </body>
+</html>
diff --git a/biblio/bibtex/utils/bib2ml/doc/mustwork.gif b/biblio/bibtex/utils/bib2ml/doc/mustwork.gif
new file mode 100644
index 0000000000..8f643bcc02
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/doc/mustwork.gif
Binary files differ
diff --git a/biblio/bibtex/utils/bib2ml/doc/not-validated.gif b/biblio/bibtex/utils/bib2ml/doc/not-validated.gif
new file mode 100644
index 0000000000..7a07946fc6
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/doc/not-validated.gif
Binary files differ
diff --git a/biblio/bibtex/utils/bib2ml/doc/optional.gif b/biblio/bibtex/utils/bib2ml/doc/optional.gif
new file mode 100644
index 0000000000..5fb591bef3
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/doc/optional.gif
Binary files differ
diff --git a/biblio/bibtex/utils/bib2ml/doc/required.gif b/biblio/bibtex/utils/bib2ml/doc/required.gif
new file mode 100644
index 0000000000..447dd84312
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/doc/required.gif
Binary files differ
diff --git a/biblio/bibtex/utils/bib2ml/doc/requiredor.png b/biblio/bibtex/utils/bib2ml/doc/requiredor.png
new file mode 100644
index 0000000000..6bc13934eb
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/doc/requiredor.png
Binary files differ
diff --git a/biblio/bibtex/utils/bib2ml/doc/requiredor2.png b/biblio/bibtex/utils/bib2ml/doc/requiredor2.png
new file mode 100644
index 0000000000..b7d98879c8
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/doc/requiredor2.png
Binary files differ
diff --git a/biblio/bibtex/utils/bib2ml/doc/sql_schema.png b/biblio/bibtex/utils/bib2ml/doc/sql_schema.png
new file mode 100644
index 0000000000..e2bda8d8e6
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/doc/sql_schema.png
Binary files differ
diff --git a/biblio/bibtex/utils/bib2ml/doc/sql_schema_small.png b/biblio/bibtex/utils/bib2ml/doc/sql_schema_small.png
new file mode 100644
index 0000000000..85080ac85f
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/doc/sql_schema_small.png
Binary files differ
diff --git a/biblio/bibtex/utils/bib2ml/doc/validated.gif b/biblio/bibtex/utils/bib2ml/doc/validated.gif
new file mode 100644
index 0000000000..12b60befe7
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/doc/validated.gif
Binary files differ
diff --git a/biblio/bibtex/utils/bib2ml/doc/work.gif b/biblio/bibtex/utils/bib2ml/doc/work.gif
new file mode 100644
index 0000000000..5fb591bef3
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/doc/work.gif
Binary files differ
diff --git a/biblio/bibtex/utils/bib2ml/man/bib2html_en.pod b/biblio/bibtex/utils/bib2ml/man/bib2html_en.pod
new file mode 100644
index 0000000000..a84355fb61
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/man/bib2html_en.pod
@@ -0,0 +1,209 @@
+=head1 NAME
+
+bib2html - A perl script that generates an HTML documentation for a BibTeX database
+
+
+=head1 SYNOPSYS
+
+bib2html [options] F<file> [F<file> ...]
+
+=head1 DESCRIPTION
+
+bib2html is a script which permits to generate a set of HTML pages for
+the entries of BibTeX files.
+
+=head1 OPTIONS
+
+=over 4
+
+=item B<-[no]b>
+
+=item B<--[no]bibtex>
+
+This option permits to generate, or not, a verbatim of the
+BibTeX entry code.
+
+=item B<--[no]checknames>
+
+This option permits to check if the some author's names are
+similar and generates a set of warnings about each of them.
+
+=item B<--cvs>
+
+If specified, this option disables the deletion of the subfiles
+'.cvs', 'CVS' and 'CVSROOT' in the output directory.
+
+=item B<-d> I<name>[=I<value>]
+
+See B<--generatorparam>.
+
+=item B<--doctitle> I<text>
+
+Sets the title that appears in the main page.
+
+=item B<-f>
+
+=item B<--force>
+
+Forces to overwrite into the output directory.
+
+=item B<-g> I<class>
+
+=item B<--generator> I<class>
+
+Sets the generator to use. I<class> must be a valid Perl class.
+
+=item B<--generatorparam> I<name>[=I<value>]
+
+Sets a generator param. It must be a I<key>=I<value> pair or
+simply a I<name>.
+Example: "target=thisdirectory" defines the parameter target
+with corresponding value "thisdirectory". The specified
+parameters which are not supported by the generator are
+ignored.
+
+=item B<--generatorparams>
+
+Shows the list of supported parameters, and their
+semantics for the current generator.
+
+=item B<--genlist>
+
+Shows the list of supported generators.
+
+=item B<-?>
+
+=item B<-h>
+
+Show the list of available options.
+
+=item B<--help>
+
+See B<--man>.
+
+=item B<--jabref>
+
+The generator will translate JabRef's groups
+into Bib2HTML's domains.
+
+=item B<--lang> I<name>
+
+Sets the language used by the generator.
+
+=item B<--langlist>
+
+Shows the list of supported language.
+
+=item B<--man>
+
+=item B<--manual>
+
+Show the manual page.
+
+=item B<-o> F<file>
+
+=item B<--output> F<file>
+
+Sets the directory or the F<file> in which the documentation will be put.
+
+=item B<-p> F<file>
+
+=item B<--preamble> F<file>
+
+Sets the name of the F<file> to read to include some TeX preambles.
+You could use this option to dynamicaly defined some unsupported
+LaTeX commands.
+
+=item B<--protect> F<shell_wildcard>
+
+If specified, this option disables the deletion in the target
+directory of the subfiles that match the specified shell
+expression.
+
+=item B<-q>
+
+Don't be verbose: only error messages are displayed.
+
+=item B<--[no]sortw>
+
+Shows (or not) a sorted list of warnings.
+
+=item B<--stdout>
+
+Force the output of the generated files onto the standard output.
+This option is equivalent to C<-d stdout>.
+
+=item B<--svn>
+
+If specified, this option disables the deletion of the subfiles
+'.svn' and 'svn' in the output directory.
+
+=item B<--texcmd>
+
+Shows the list of supported LaTeX commands.
+
+=item B<--theme> I<name>
+
+Sets the theme used by the generator.
+
+=item B<--themelist>
+
+Shows the list of supported themes.
+
+=item B<-v>
+
+Be more verbose.
+
+=item B<--version>
+
+Show the version of this script.
+
+=item B<--[no]warning>
+
+If false, the warning are converted to errors.
+
+=item B<--windowtitle> I<text>
+
+Sets the title that appears as the window's title.
+
+=back
+
+=head1 LICENSE
+
+S<GNU Public License (GPL)>
+
+=head1 COPYRIGHT
+
+S<Copyright (c) 1998-06 Stéphane Galland E<lt>galland@arakhne.orgE<gt>>
+
+=head1 CONTRIBUTORS
+
+=over
+
+=item S<Aurel GABRIS E<lt>L<gabrisa@optics.szfki.kfki.hu>E<gt>>
+
+=item S<Gasper JAKLIC E<lt>L<gasper.jaklic@fmf.uni-lj.si>E<gt>>
+
+=item S<Tobias LOEW E<lt>L<loew@mathematik.tu-darmstadt.de>E<gt>>
+
+=item S<Joao LOURENCO E<lt>L<joao.lourenco@di.fct.unl.pt>E<gt>>
+
+=item S<Dimitris MICHAIL E<lt>L<michail@mpi-sb.mpg.de>E<gt>>
+
+=item S<Luca PAOLINI E<lt>L<paolini@di.unito.it>E<gt>>
+
+=item S<Norbert PREINING E<lt>L<preining@logic.at>E<gt>>
+
+=item S<Cristian RIGAMONTI E<lt>L<cri@linux.it>E<gt>>
+
+=item S<Sebastian RODRIGUEZ E<lt>L<sebastian.rodriguez@utbm.fr>E<gt>>
+
+=item S<Martin P.J. ZINSER E<lt>L<zinser@zinser.no-ip.info>E<gt>>
+
+=item S<Olivier HUGHES E<lt>L<olivier.hugues@gmail.com>E<gt>>
+
+=back
+
+=head1 SEE ALSO
+
+L<latex>, L<bibtex>
diff --git a/biblio/bibtex/utils/bib2ml/man/bib2html_fr.pod b/biblio/bibtex/utils/bib2ml/man/bib2html_fr.pod
new file mode 100644
index 0000000000..2df2a437cd
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/man/bib2html_fr.pod
@@ -0,0 +1,206 @@
+=head1 NOM
+
+bib2html - Script Perl générant des pages HTML à partir de fichiers BibTeX
+
+=head1 SYNOPSIS
+
+bib2html [options] F<fichier> [F<fichier> ...]
+
+=head1 DESCRIPTION
+
+bib2html est un script permettant de generer des pages HTML structurant et décrivant le contenu d'une base bibliographique écrite dans le format BibTeX.
+
+=head1 OPTIONS
+
+=over 4
+
+=item B<-[no]b>
+
+=item B<--[no]bibtex>
+
+Génération (ou non) du code BibTeX dans les pages HTML.
+
+=item B<--[no]checknames>
+
+Vérification de la cohérence des noms des auteurs. Un avertissement sera
+exprimée chaque fois que bib2html détectera des noms dupliqués ou des
+fautes de frappe.
+
+=item B<--cvs>
+
+Si spécifiée, cette option interdit la suppression des sous-fichiers
+'.cvs', 'CVS' et 'CVSROOT' dans le répertoire destination.
+
+=item B<-d> I<nom>[=I<valeur>]
+
+Voir B<--generatorparam>.
+
+=item B<--doctitle> I<texte>
+
+Initialisation du titre de la page principale.
+
+=item B<-f>
+
+=item B<--force>
+
+Force l'écriture des pages HTML dans le répertoire destination.
+
+=item B<-g> I<classe>
+
+=item B<--generator> I<classe>
+
+Spécification du générateur à utiliser. I<class> doit être une classe Perl
+valide.
+
+=item B<--generatorparam> I<nom>[=I<valeur>]
+
+Initialisation de la valeur d'un paramètre du générateur. Ce paramètre doit être une paire I<nom>=I<valeur> ou simplement un I<nom>.
+Exemple: "target=thisdirectory" défini le paramètre 'target'
+avec la valeur "thisdirectory".
+
+=item B<--generatorparams>
+
+Affiche la liste des paramètres supportés par le générateur.
+
+=item B<--genlist>
+
+Affiche la liste des générateurs supportés.
+
+=item B<-?>
+
+=item B<-h>
+
+Affiche la liste des options de bib2html.
+
+=item B<--help>
+
+Voir B<--man>.
+
+=item B<--jabref>
+
+Le générateur traduira les groupes de JabRef
+en domaines Bib2HTML.
+
+=item B<--lang> I<nom>
+
+Initialisation de la langue à utiliser.
+
+=item B<--langlist>
+
+Affiche la liste des langues supportées.
+
+=item B<--man>
+
+=item B<--manual>
+
+Affiche la page de manual.
+
+=item B<-o> F<fichier>
+
+=item B<--output> F<fichier>
+
+Initialise le répertoire où la documentation générée sera déposées.
+
+=item B<-p> F<fichier>
+
+=item B<--preamble> F<fichier>
+
+Initialise le nom du F<fichier> à lire et contenant des préambules TeX.
+Vous pouvez utiliser cette option pour définir des commandes LaTeX
+que ne supporte pas encore bib2html.
+
+=item B<--protect> F<shell_wildcard>
+
+Si spécifiée, cette option interdit la suppression dans le répertoire
+destination des sous-fichiers correspondant à l'expression shell
+spécifiée.
+
+=item B<-q>
+
+Mode non verbeux: seuls les messages d'erreurs sont affichés.
+
+=item B<--[no]sortw>
+
+Tri (ou non) les avertissement par ordre croissant des lignes où
+ils apparaissent.
+
+=item B<--stdout>
+
+Force la sortie des fichiers générés sur la sortie standard.
+Cette option est équivalente à C<-d stdout>.
+
+=item B<--svn>
+
+Si spécifiée, cette option interdit la suppression des sous-fichiers
+'.svn' et 'svn' dans le répertoire destination.
+
+=item B<--texcmd>
+
+Affiche la liste des commandes TeX supportées.
+
+=item B<--theme> I<name>
+
+Initialise le thème devant être utilisé par le générateur.
+
+=item B<--themelist>
+
+Affiche la liste des thèmes disponibles.
+
+=item B<-v>
+
+Augmente la verbosité de bib2html.
+
+=item B<--version>
+
+Affiche la version de ce script.
+
+=item B<--[no]warning>
+
+Si faux, les avertissements sont convertis en erreurs.
+
+=item B<--windowtitle> I<text>
+
+Initialise le titre des pages HTML devant apparaître dans
+la barre de titre des fenêtres du navigateur.
+
+=back
+
+=head1 LICENCE
+
+S<GNU Public License (GPL)>
+
+=head1 COPYRIGHT
+
+S<Copyright (c) 1998-06 Stéphane Galland E<lt>galland@arakhne.orgE<gt>>
+
+=head1 CONTRIBUTEURS
+
+=over
+
+=item S<Aurel GABRIS E<lt>L<gabrisa@optics.szfki.kfki.hu>E<gt>>
+
+=item S<Gasper JAKLIC E<lt>L<gasper.jaklic@fmf.uni-lj.si>E<gt>>
+
+=item S<Tobias LOEW E<lt>L<loew@mathematik.tu-darmstadt.de>E<gt>>
+
+=item S<Joao LOURENCO E<lt>L<joao.lourenco@di.fct.unl.pt>E<gt>>
+
+=item S<Dimitris MICHAIL E<lt>L<michail@mpi-sb.mpg.de>E<gt>>
+
+=item S<Luca PAOLINI E<lt>L<paolini@di.unito.it>E<gt>>
+
+=item S<Norbert PREINING E<lt>L<preining@logic.at>E<gt>>
+
+=item S<Cristian RIGAMONTI E<lt>L<cri@linux.it>E<gt>>
+
+=item S<Sebastian RODRIGUEZ E<lt>L<sebastian.rodriguez@utbm.fr>E<gt>>
+
+=item S<Martin P.J. ZINSER E<lt>L<zinser@zinser.no-ip.info>E<gt>>
+
+=item S<Olivier HUGHES E<lt>L<olivier.hugues@gmail.com>E<gt>>
+
+=back
+
+=head1 SEE ALSO
+
+L<latex>, L<bibtex>
diff --git a/biblio/bibtex/utils/bib2ml/man/bib2sql_en.pod b/biblio/bibtex/utils/bib2ml/man/bib2sql_en.pod
new file mode 100644
index 0000000000..af9477cbe6
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/man/bib2sql_en.pod
@@ -0,0 +1,215 @@
+=head1 NAME
+
+bib2sql - A perl script that generates an SQL file for a BibTeX database
+
+
+=head1 SYNOPSYS
+
+bib2sql [options] F<file> [F<file> ...]
+
+=head1 DESCRIPTION
+
+bib2sql is a script which permits to generate a SQL file for
+the entries of BibTeX files.
+
+The generated SQL file is compliant with the following data structure:
+
+The bib2sql command is equivalent to:
+bib2html [options] F<file> [F<file> ...] -g XML
+
+=head1 OPTIONS
+
+=over 4
+
+=item B<-[no]b>
+
+=item B<--[no]bibtex>
+
+This option permits to generate, or not, a verbatim of the
+BibTeX entry code.
+
+=item B<--[no]checknames>
+
+This option permits to check if the some author's names are
+similar and generates a set of warnings about each of them.
+
+=item B<--cvs>
+
+If specified, this option disables the deletion of the subfiles
+'.cvs', 'CVS' and 'CVSROOT' in the output directory.
+
+=item B<-d> I<name>[=I<value>]
+
+See B<--generatorparam>.
+
+=item B<--doctitle> I<text>
+
+Sets the title that appears in the main page.
+
+=item B<-f>
+
+=item B<--force>
+
+Forces to overwrite into the output directory.
+
+=item B<-g> I<class>
+
+=item B<--generator> I<class>
+
+Sets the generator to use. I<class> must be a valid Perl class.
+
+=item B<--generatorparam> I<name>[=I<value>]
+
+Sets a generator param. It must be a I<key>=I<value> pair or
+simply a I<name>.
+Example: "target=thisdirectory" defines the parameter target
+with corresponding value "thisdirectory". The specified
+parameters which are not supported by the generator are
+ignored.
+
+=item B<--generatorparams>
+
+Shows the list of supported parameters, and their
+semantics for the current generator.
+
+=item B<--genlist>
+
+Shows the list of supported generators.
+
+=item B<-?>
+
+=item B<-h>
+
+Show the list of available options.
+
+=item B<--help>
+
+See B<--man>.
+
+=item B<--jabref>
+
+The generator will translate JabRef's groups
+into Bib2HTML's domains.
+
+=item B<--lang> I<name>
+
+Sets the language used by the generator.
+
+=item B<--langlist>
+
+Shows the list of supported language.
+
+=item B<--man>
+
+=item B<--manual>
+
+Show the manual page.
+
+=item B<-o> F<file>
+
+=item B<--output> F<file>
+
+Sets the directory or the F<file> in which the documentation will be put.
+
+=item B<-p> F<file>
+
+=item B<--preamble> F<file>
+
+Sets the name of the F<file> to read to include some TeX preambles.
+You could use this option to dynamicaly defined some unsupported
+LaTeX commands.
+
+=item B<--protect> F<shell_wildcard>
+
+If specified, this option disables the deletion in the target
+directory of the subfiles that match the specified shell
+expression.
+
+=item B<-q>
+
+Don't be verbose: only error messages are displayed.
+
+=item B<--[no]sortw>
+
+Shows (or not) a sorted list of warnings.
+
+=item B<--stdout>
+
+Force the output of the generated files onto the standard output.
+This option is equivalent to C<-d stdout>.
+
+=item B<--svn>
+
+If specified, this option disables the deletion of the subfiles
+'.svn' and 'svn' in the output directory.
+
+=item B<--texcmd>
+
+Shows the list of supported LaTeX commands.
+
+=item B<--theme> I<name>
+
+Sets the theme used by the generator.
+
+=item B<--themelist>
+
+Shows the list of supported themes.
+
+=item B<-v>
+
+Be more verbose.
+
+=item B<--version>
+
+Show the version of this script.
+
+=item B<--[no]warning>
+
+If false, the warning are converted to errors.
+
+=item B<--windowtitle> I<text>
+
+Sets the title that appears as the window's title.
+
+=back
+
+=head1 LICENSE
+
+S<GNU Public License (GPL)>
+
+=head1 COPYRIGHT
+
+S<Copyright (c) 1998-06 Stéphane Galland E<lt>galland@arakhne.orgE<gt>>
+S<Copyright (c) 2011 Stéphane Galland E<lt>galland@arakhne.orgE<gt>>
+
+=head1 CONTRIBUTORS
+
+=over
+
+=item S<Aurel GABRIS E<lt>L<gabrisa@optics.szfki.kfki.hu>E<gt>>
+
+=item S<Gasper JAKLIC E<lt>L<gasper.jaklic@fmf.uni-lj.si>E<gt>>
+
+=item S<Tobias LOEW E<lt>L<loew@mathematik.tu-darmstadt.de>E<gt>>
+
+=item S<Joao LOURENCO E<lt>L<joao.lourenco@di.fct.unl.pt>E<gt>>
+
+=item S<Dimitris MICHAIL E<lt>L<michail@mpi-sb.mpg.de>E<gt>>
+
+=item S<Luca PAOLINI E<lt>L<paolini@di.unito.it>E<gt>>
+
+=item S<Norbert PREINING E<lt>L<preining@logic.at>E<gt>>
+
+=item S<Cristian RIGAMONTI E<lt>L<cri@linux.it>E<gt>>
+
+=item S<Sebastian RODRIGUEZ E<lt>L<sebastian.rodriguez@utbm.fr>E<gt>>
+
+=item S<Martin P.J. ZINSER E<lt>L<zinser@zinser.no-ip.info>E<gt>>
+
+=item S<Olivier HUGHES E<lt>L<olivier.hugues@gmail.com>E<gt>>
+
+=back
+
+=head1 SEE ALSO
+
+L<bib2html>, L<latex>, L<bibtex>
diff --git a/biblio/bibtex/utils/bib2ml/man/bib2sql_fr.pod b/biblio/bibtex/utils/bib2ml/man/bib2sql_fr.pod
new file mode 100644
index 0000000000..536a047011
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/man/bib2sql_fr.pod
@@ -0,0 +1,212 @@
+=head1 NOM
+
+bib2sql - Script Perl générant des fichiers SQL à partir de fichiers BibTeX
+
+=head1 SYNOPSIS
+
+bib2sql [options] F<fichier> [F<fichier> ...]
+
+=head1 DESCRIPTION
+
+bib2sql est un script permettant de generer des fichiers SQL structurant et décrivant le contenu d'une base bibliographique écrite dans le format BibTeX.
+
+Le fichier SQL généré est conforme aux spécifications suivantes :
+
+Cette commande est équivalente à:
+bib2html [options] F<fichier> [F<fichier> ...] -g XML
+
+=head1 OPTIONS
+
+=over 4
+
+=item B<-[no]b>
+
+=item B<--[no]bibtex>
+
+Génération (ou non) du code BibTeX dans les pages HTML.
+
+=item B<--[no]checknames>
+
+Vérification de la cohérence des noms des auteurs. Un avertissement sera
+exprimée chaque fois que bib2html détectera des noms dupliqués ou des
+fautes de frappe.
+
+=item B<--cvs>
+
+Si spécifiée, cette option interdit la suppression des sous-fichiers
+'.cvs', 'CVS' et 'CVSROOT' dans le répertoire destination.
+
+=item B<-d> I<nom>[=I<valeur>]
+
+Voir B<--generatorparam>.
+
+=item B<--doctitle> I<texte>
+
+Initialisation du titre de la page principale.
+
+=item B<-f>
+
+=item B<--force>
+
+Force l'écriture des pages HTML dans le répertoire destination.
+
+=item B<-g> I<classe>
+
+=item B<--generator> I<classe>
+
+Spécification du générateur à utiliser. I<class> doit être une classe Perl
+valide.
+
+=item B<--generatorparam> I<nom>[=I<valeur>]
+
+Initialisation de la valeur d'un paramètre du générateur. Ce paramètre doit être une paire I<nom>=I<valeur> ou simplement un I<nom>.
+Exemple: "target=thisdirectory" défini le paramètre 'target'
+avec la valeur "thisdirectory".
+
+=item B<--generatorparams>
+
+Affiche la liste des paramètres supportés par le générateur.
+
+=item B<--genlist>
+
+Affiche la liste des générateurs supportés.
+
+=item B<-?>
+
+=item B<-h>
+
+Affiche la liste des options de bib2html.
+
+=item B<--help>
+
+Voir B<--man>.
+
+=item B<--jabref>
+
+Le générateur traduira les groupes de JabRef
+en domaines Bib2HTML.
+
+=item B<--lang> I<nom>
+
+Initialisation de la langue à utiliser.
+
+=item B<--langlist>
+
+Affiche la liste des langues supportées.
+
+=item B<--man>
+
+=item B<--manual>
+
+Affiche la page de manual.
+
+=item B<-o> F<fichier>
+
+=item B<--output> F<fichier>
+
+Initialise le répertoire où la documentation générée sera déposées.
+
+=item B<-p> F<fichier>
+
+=item B<--preamble> F<fichier>
+
+Initialise le nom du F<fichier> à lire et contenant des préambules TeX.
+Vous pouvez utiliser cette option pour définir des commandes LaTeX
+que ne supporte pas encore bib2html.
+
+=item B<--protect> F<shell_wildcard>
+
+Si spécifiée, cette option interdit la suppression dans le répertoire
+destination des sous-fichiers correspondant à l'expression shell
+spécifiée.
+
+=item B<-q>
+
+Mode non verbeux: seuls les messages d'erreurs sont affichés.
+
+=item B<--[no]sortw>
+
+Tri (ou non) les avertissement par ordre croissant des lignes où
+ils apparaissent.
+
+=item B<--stdout>
+
+Force la sortie des fichiers générés sur la sortie standard.
+Cette option est équivalente à C<-d stdout>.
+
+=item B<--svn>
+
+Si spécifiée, cette option interdit la suppression des sous-fichiers
+'.svn' et 'svn' dans le répertoire destination.
+
+=item B<--texcmd>
+
+Affiche la liste des commandes TeX supportées.
+
+=item B<--theme> I<name>
+
+Initialise le thème devant être utilisé par le générateur.
+
+=item B<--themelist>
+
+Affiche la liste des thèmes disponibles.
+
+=item B<-v>
+
+Augmente la verbosité de bib2html.
+
+=item B<--version>
+
+Affiche la version de ce script.
+
+=item B<--[no]warning>
+
+Si faux, les avertissements sont convertis en erreurs.
+
+=item B<--windowtitle> I<text>
+
+Initialise le titre des pages HTML devant apparaître dans
+la barre de titre des fenêtres du navigateur.
+
+=back
+
+=head1 LICENCE
+
+S<GNU Public License (GPL)>
+
+=head1 COPYRIGHT
+
+S<Copyright (c) 1998-06 Stéphane Galland E<lt>galland@arakhne.orgE<gt>>
+S<Copyright (c) 2011 Stéphane Galland E<lt>galland@arakhne.orgE<gt>>
+
+=head1 CONTRIBUTEURS
+
+=over
+
+=item S<Aurel GABRIS E<lt>L<gabrisa@optics.szfki.kfki.hu>E<gt>>
+
+=item S<Gasper JAKLIC E<lt>L<gasper.jaklic@fmf.uni-lj.si>E<gt>>
+
+=item S<Tobias LOEW E<lt>L<loew@mathematik.tu-darmstadt.de>E<gt>>
+
+=item S<Joao LOURENCO E<lt>L<joao.lourenco@di.fct.unl.pt>E<gt>>
+
+=item S<Dimitris MICHAIL E<lt>L<michail@mpi-sb.mpg.de>E<gt>>
+
+=item S<Luca PAOLINI E<lt>L<paolini@di.unito.it>E<gt>>
+
+=item S<Norbert PREINING E<lt>L<preining@logic.at>E<gt>>
+
+=item S<Cristian RIGAMONTI E<lt>L<cri@linux.it>E<gt>>
+
+=item S<Sebastian RODRIGUEZ E<lt>L<sebastian.rodriguez@utbm.fr>E<gt>>
+
+=item S<Martin P.J. ZINSER E<lt>L<zinser@zinser.no-ip.info>E<gt>>
+
+=item S<Olivier HUGHES E<lt>L<olivier.hugues@gmail.com>E<gt>>
+
+=back
+
+=head1 SEE ALSO
+
+L<bib2html>, L<latex>, L<bibtex>
diff --git a/biblio/bibtex/utils/bib2ml/man/bib2xml_en.pod b/biblio/bibtex/utils/bib2ml/man/bib2xml_en.pod
new file mode 100644
index 0000000000..a7b82bf6aa
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/man/bib2xml_en.pod
@@ -0,0 +1,214 @@
+=head1 NAME
+
+bib2xml - A perl script that generates an XML file for a BibTeX database
+
+
+=head1 SYNOPSYS
+
+bib2xml [options] F<file> [F<file> ...]
+
+=head1 DESCRIPTION
+
+bib2xml is a script which permits to generate a XML file for
+the entries of BibTeX files.
+
+The generated XML file is compliant with the DTD from http://bibtexml.sf.net
+
+The bib2xml command is equivalent to:
+bib2html [options] F<file> [F<file> ...] -g XML
+
+=head1 OPTIONS
+
+=over 4
+
+=item B<-[no]b>
+
+=item B<--[no]bibtex>
+
+This option permits to generate, or not, a verbatim of the
+BibTeX entry code.
+
+=item B<--[no]checknames>
+
+This option permits to check if the some author's names are
+similar and generates a set of warnings about each of them.
+
+=item B<--cvs>
+
+If specified, this option disables the deletion of the subfiles
+'.cvs', 'CVS' and 'CVSROOT' in the output directory.
+
+=item B<-d> I<name>[=I<value>]
+
+See B<--generatorparam>.
+
+=item B<--doctitle> I<text>
+
+Sets the title that appears in the main page.
+
+=item B<-f>
+
+=item B<--force>
+
+Forces to overwrite into the output directory.
+
+=item B<-g> I<class>
+
+=item B<--generator> I<class>
+
+Sets the generator to use. I<class> must be a valid Perl class.
+
+=item B<--generatorparam> I<name>[=I<value>]
+
+Sets a generator param. It must be a I<key>=I<value> pair or
+simply a I<name>.
+Example: "target=thisdirectory" defines the parameter target
+with corresponding value "thisdirectory". The specified
+parameters which are not supported by the generator are
+ignored.
+
+=item B<--generatorparams>
+
+Shows the list of supported parameters, and their
+semantics for the current generator.
+
+=item B<--genlist>
+
+Shows the list of supported generators.
+
+=item B<-?>
+
+=item B<-h>
+
+Show the list of available options.
+
+=item B<--help>
+
+See B<--man>.
+
+=item B<--jabref>
+
+The generator will translate JabRef's groups
+into Bib2HTML's domains.
+
+=item B<--lang> I<name>
+
+Sets the language used by the generator.
+
+=item B<--langlist>
+
+Shows the list of supported language.
+
+=item B<--man>
+
+=item B<--manual>
+
+Show the manual page.
+
+=item B<-o> F<file>
+
+=item B<--output> F<file>
+
+Sets the directory or the F<file> in which the documentation will be put.
+
+=item B<-p> F<file>
+
+=item B<--preamble> F<file>
+
+Sets the name of the F<file> to read to include some TeX preambles.
+You could use this option to dynamicaly defined some unsupported
+LaTeX commands.
+
+=item B<--protect> F<shell_wildcard>
+
+If specified, this option disables the deletion in the target
+directory of the subfiles that match the specified shell
+expression.
+
+=item B<-q>
+
+Don't be verbose: only error messages are displayed.
+
+=item B<--[no]sortw>
+
+Shows (or not) a sorted list of warnings.
+
+=item B<--stdout>
+
+Force the output of the generated files onto the standard output.
+This option is equivalent to C<-d stdout>.
+
+=item B<--svn>
+
+If specified, this option disables the deletion of the subfiles
+'.svn' and 'svn' in the output directory.
+
+=item B<--texcmd>
+
+Shows the list of supported LaTeX commands.
+
+=item B<--theme> I<name>
+
+Sets the theme used by the generator.
+
+=item B<--themelist>
+
+Shows the list of supported themes.
+
+=item B<-v>
+
+Be more verbose.
+
+=item B<--version>
+
+Show the version of this script.
+
+=item B<--[no]warning>
+
+If false, the warning are converted to errors.
+
+=item B<--windowtitle> I<text>
+
+Sets the title that appears as the window's title.
+
+=back
+
+=head1 LICENSE
+
+S<GNU Public License (GPL)>
+
+=head1 COPYRIGHT
+
+S<Copyright (c) 1998-06 Stéphane Galland E<lt>galland@arakhne.orgE<gt>>
+
+=head1 CONTRIBUTORS
+
+=over
+
+=item S<Aurel GABRIS E<lt>L<gabrisa@optics.szfki.kfki.hu>E<gt>>
+
+=item S<Gasper JAKLIC E<lt>L<gasper.jaklic@fmf.uni-lj.si>E<gt>>
+
+=item S<Tobias LOEW E<lt>L<loew@mathematik.tu-darmstadt.de>E<gt>>
+
+=item S<Joao LOURENCO E<lt>L<joao.lourenco@di.fct.unl.pt>E<gt>>
+
+=item S<Dimitris MICHAIL E<lt>L<michail@mpi-sb.mpg.de>E<gt>>
+
+=item S<Luca PAOLINI E<lt>L<paolini@di.unito.it>E<gt>>
+
+=item S<Norbert PREINING E<lt>L<preining@logic.at>E<gt>>
+
+=item S<Cristian RIGAMONTI E<lt>L<cri@linux.it>E<gt>>
+
+=item S<Sebastian RODRIGUEZ E<lt>L<sebastian.rodriguez@utbm.fr>E<gt>>
+
+=item S<Martin P.J. ZINSER E<lt>L<zinser@zinser.no-ip.info>E<gt>>
+
+=item S<Olivier HUGHES E<lt>L<olivier.hugues@gmail.com>E<gt>>
+
+=back
+
+=head1 SEE ALSO
+
+L<bib2html>, L<latex>, L<bibtex>
diff --git a/biblio/bibtex/utils/bib2ml/man/bib2xml_fr.pod b/biblio/bibtex/utils/bib2ml/man/bib2xml_fr.pod
new file mode 100644
index 0000000000..afbfa31fbd
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/man/bib2xml_fr.pod
@@ -0,0 +1,211 @@
+=head1 NOM
+
+bib2xml - Script Perl générant des fichiers XML à partir de fichiers BibTeX
+
+=head1 SYNOPSIS
+
+bib2xml [options] F<fichier> [F<fichier> ...]
+
+=head1 DESCRIPTION
+
+bib2xml est un script permettant de generer des fichiers XML structurant et décrivant le contenu d'une base bibliographique écrite dans le format BibTeX.
+
+Le fichier XML généré est conforme à la DTD de http://bibtexml.sf.net
+
+Cette commande est équivalente à:
+bib2html [options] F<fichier> [F<fichier> ...] -g XML
+
+=head1 OPTIONS
+
+=over 4
+
+=item B<-[no]b>
+
+=item B<--[no]bibtex>
+
+Génération (ou non) du code BibTeX dans les pages HTML.
+
+=item B<--[no]checknames>
+
+Vérification de la cohérence des noms des auteurs. Un avertissement sera
+exprimée chaque fois que bib2html détectera des noms dupliqués ou des
+fautes de frappe.
+
+=item B<--cvs>
+
+Si spécifiée, cette option interdit la suppression des sous-fichiers
+'.cvs', 'CVS' et 'CVSROOT' dans le répertoire destination.
+
+=item B<-d> I<nom>[=I<valeur>]
+
+Voir B<--generatorparam>.
+
+=item B<--doctitle> I<texte>
+
+Initialisation du titre de la page principale.
+
+=item B<-f>
+
+=item B<--force>
+
+Force l'écriture des pages HTML dans le répertoire destination.
+
+=item B<-g> I<classe>
+
+=item B<--generator> I<classe>
+
+Spécification du générateur à utiliser. I<class> doit être une classe Perl
+valide.
+
+=item B<--generatorparam> I<nom>[=I<valeur>]
+
+Initialisation de la valeur d'un paramètre du générateur. Ce paramètre doit être une paire I<nom>=I<valeur> ou simplement un I<nom>.
+Exemple: "target=thisdirectory" défini le paramètre 'target'
+avec la valeur "thisdirectory".
+
+=item B<--generatorparams>
+
+Affiche la liste des paramètres supportés par le générateur.
+
+=item B<--genlist>
+
+Affiche la liste des générateurs supportés.
+
+=item B<-?>
+
+=item B<-h>
+
+Affiche la liste des options de bib2html.
+
+=item B<--help>
+
+Voir B<--man>.
+
+=item B<--jabref>
+
+Le générateur traduira les groupes de JabRef
+en domaines Bib2HTML.
+
+=item B<--lang> I<nom>
+
+Initialisation de la langue à utiliser.
+
+=item B<--langlist>
+
+Affiche la liste des langues supportées.
+
+=item B<--man>
+
+=item B<--manual>
+
+Affiche la page de manual.
+
+=item B<-o> F<fichier>
+
+=item B<--output> F<fichier>
+
+Initialise le répertoire où la documentation générée sera déposées.
+
+=item B<-p> F<fichier>
+
+=item B<--preamble> F<fichier>
+
+Initialise le nom du F<fichier> à lire et contenant des préambules TeX.
+Vous pouvez utiliser cette option pour définir des commandes LaTeX
+que ne supporte pas encore bib2html.
+
+=item B<--protect> F<shell_wildcard>
+
+Si spécifiée, cette option interdit la suppression dans le répertoire
+destination des sous-fichiers correspondant à l'expression shell
+spécifiée.
+
+=item B<-q>
+
+Mode non verbeux: seuls les messages d'erreurs sont affichés.
+
+=item B<--[no]sortw>
+
+Tri (ou non) les avertissement par ordre croissant des lignes où
+ils apparaissent.
+
+=item B<--stdout>
+
+Force la sortie des fichiers générés sur la sortie standard.
+Cette option est équivalente à C<-d stdout>.
+
+=item B<--svn>
+
+Si spécifiée, cette option interdit la suppression des sous-fichiers
+'.svn' et 'svn' dans le répertoire destination.
+
+=item B<--texcmd>
+
+Affiche la liste des commandes TeX supportées.
+
+=item B<--theme> I<name>
+
+Initialise le thème devant être utilisé par le générateur.
+
+=item B<--themelist>
+
+Affiche la liste des thèmes disponibles.
+
+=item B<-v>
+
+Augmente la verbosité de bib2html.
+
+=item B<--version>
+
+Affiche la version de ce script.
+
+=item B<--[no]warning>
+
+Si faux, les avertissements sont convertis en erreurs.
+
+=item B<--windowtitle> I<text>
+
+Initialise le titre des pages HTML devant apparaître dans
+la barre de titre des fenêtres du navigateur.
+
+=back
+
+=head1 LICENCE
+
+S<GNU Public License (GPL)>
+
+=head1 COPYRIGHT
+
+S<Copyright (c) 1998-06 Stéphane Galland E<lt>galland@arakhne.orgE<gt>>
+
+=head1 CONTRIBUTEURS
+
+=over
+
+=item S<Aurel GABRIS E<lt>L<gabrisa@optics.szfki.kfki.hu>E<gt>>
+
+=item S<Gasper JAKLIC E<lt>L<gasper.jaklic@fmf.uni-lj.si>E<gt>>
+
+=item S<Tobias LOEW E<lt>L<loew@mathematik.tu-darmstadt.de>E<gt>>
+
+=item S<Joao LOURENCO E<lt>L<joao.lourenco@di.fct.unl.pt>E<gt>>
+
+=item S<Dimitris MICHAIL E<lt>L<michail@mpi-sb.mpg.de>E<gt>>
+
+=item S<Luca PAOLINI E<lt>L<paolini@di.unito.it>E<gt>>
+
+=item S<Norbert PREINING E<lt>L<preining@logic.at>E<gt>>
+
+=item S<Cristian RIGAMONTI E<lt>L<cri@linux.it>E<gt>>
+
+=item S<Sebastian RODRIGUEZ E<lt>L<sebastian.rodriguez@utbm.fr>E<gt>>
+
+=item S<Martin P.J. ZINSER E<lt>L<zinser@zinser.no-ip.info>E<gt>>
+
+=item S<Olivier HUGHES E<lt>L<olivier.hugues@gmail.com>E<gt>>
+
+=back
+
+=head1 SEE ALSO
+
+L<bib2html>, L<latex>, L<bibtex>
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Checker/Names.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Checker/Names.pm
new file mode 100644
index 0000000000..2c006cc65f
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Checker/Names.pm
@@ -0,0 +1,251 @@
+# Copyright (C) 2004-07 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+=pod
+
+=head1 NAME
+
+Bib2HTML::Checker::Names - A checker for BibTeX names.
+
+=head1 SYNOPSYS
+
+use Bib2HTML::Checker::Names ;
+
+my $gen = Bib2HTML::Checker::Names->new() ;
+
+=head1 DESCRIPTION
+
+Bib2HTML::Checker::Names is a Perl module, which checks
+if author's names are similar or not.
+
+=head1 GETTING STARTED
+
+=head2 Initialization
+
+To create a parser, say something like this:
+
+ use Bib2HTML::Checker::Names;
+
+ my $parser = Bib2HTML::Checker::Names->new() ;
+
+...or something similar.
+
+=head1 METHOD DESCRIPTIONS
+
+This section contains only the methods in Names.pm itself.
+
+=over
+
+=cut
+
+package Bib2HTML::Checker::Names;
+
+@ISA = ('Exporter');
+@EXPORT = qw();
+@EXPORT_OK = qw();
+
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+use Exporter;
+use Carp ;
+
+use Bib2HTML::Translator::BibTeXName ;
+use Bib2HTML::General::Error ;
+use Bib2HTML::General::Misc ;
+
+#------------------------------------------------------
+#
+# Global vars
+#
+#------------------------------------------------------
+
+# Version number of the checker
+my $VERSION = "0.1" ;
+
+#------------------------------------------------------
+#
+# Constructor
+#
+#------------------------------------------------------
+
+sub new() : method {
+ my $proto = shift;
+ my $class = ref($proto) || $proto;
+ my $parent = ref($proto) && $proto ;
+
+ my $self ;
+ if ( $parent ) {
+ %{$self} = %{$parent} ;
+ }
+ else {
+ $self = {} ;
+ }
+ bless( $self, $class );
+ return $self;
+}
+
+#------------------------------------------------------
+#
+# Checking
+#
+#------------------------------------------------------
+
+=pod
+
+=item * check()
+
+Check the names.
+Takes 1 arg:
+
+=over
+
+=item * database (hash ref)
+
+is the entire data structure toi check.
+
+=back
+
+=cut
+sub check(\%) : method {
+ my $self = shift ;
+ if ($_[0]) {
+ my %authors = $self->get_all_authors($_[0]->{'entries'}) ;
+ my @ids = sortbyletters(keys %authors) ;
+
+ for(my $i=0; $i<$#ids; $i++) {
+ my $name1 = lc($authors{$ids[$i]}{'last'}) ;
+ for(my $j=$i+1; $j<=$#ids; $j++) {
+ my $name2 = lc($authors{$ids[$j]}{'last'}) ;
+
+ my $error_msg = join('',
+ " name1=".$authors{$ids[$i]}{'last'},
+ ",",
+ $authors{$ids[$i]}{'first'},
+ " (",
+ $authors{$ids[$i]}{'location'},
+ ")\n name2=",
+ $authors{$ids[$j]}{'last'},
+ ",",
+ $authors{$ids[$j]}{'first'},
+ " (",
+ $authors{$ids[$j]}{'location'},
+ ")") ;
+
+ # Check for the same name defined many times
+ if ($name1 eq $name2) {
+ Bib2HTML::General::Error::syswarm("multiple author's name syntax for '$name1':\n".
+ $error_msg) ;
+ }
+
+ # Check for the same name defined many times but with keyboard's mistaskes
+ elsif ($self->is_similar($name1, $name2)) {
+ Bib2HTML::General::Error::syswarm("possible author's name mistake?\n".
+ $error_msg) ;
+ }
+
+ }
+ }
+ }
+}
+
+=item * is_similar()
+
+Replies if the 2 names have similar syntax
+Takes 2 args:
+
+=over
+
+=item * name1 (string)
+
+=item * name2 (string)
+
+=back
+
+=cut
+sub is_similar($$) : method {
+ my $self = shift ;
+ my $percent = levenshtein($_[0],$_[1]) ;
+ return ($percent>=90) ;
+}
+
+=item * get_all_authors()
+
+Replies an array of entry authors.
+Takes 1 arg:
+
+=over
+
+=item * data (hash ref)
+
+=back
+
+=cut
+sub get_all_authors($) : method {
+ my $self = shift ;
+ my %authors = () ;
+ my $parser = Bib2HTML::Translator::BibTeXName->new() ;
+ foreach my $entry (sortbyletters(keys %{$_[0]})) {
+ if ( $_[0]->{$entry}{'fields'}{'author'} ) {
+ my @auts = $parser->splitnames($_[0]->{$entry}{'fields'}{'author'}) ;
+ foreach my $aut (@auts) {
+ if ( ! $aut->{'et al'} ) {
+ $aut->{'location'} = $_[0]->{$entry}{'location'} ;
+ my $key = lc($parser->formatname( $aut, 'l f.' )) ;
+ $key =~ s/[^a-zA-Z0-1]+//g ;
+ my $count = 0 ;
+ my $thekey = $key ;
+ while ( ( $count >= 0 ) && ( exists $authors{$thekey} ) ) {
+ if ( $parser->samenames($aut,$authors{$thekey}) ) {
+ $count = -1 ;
+ }
+ else {
+ $count ++ ;
+ $thekey = "${key}_${count}" ;
+ }
+ }
+ if ( $count >= 0 ) {
+ $authors{$thekey} = $aut ;
+ }
+ }
+ }
+ }
+ }
+ return %authors ;
+}
+
+1;
+__END__
+
+=back
+
+=head1 COPYRIGHT
+
+(c) Copyright 2004-07 Stéphane Galland E<lt>galland@arakhne.orgE<gt>, under GPL.
+
+=head1 AUTHORS
+
+=over
+
+=item *
+
+Conceived and initially developed by Stéphane Galland E<lt>galland@arakhne.orgE<gt>.
+
+=back
+
+=head1 SEE ALSO
+
+bib2html.pl
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/General/Encode.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/General/Encode.pm
new file mode 100644
index 0000000000..5f7065b6bf
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/General/Encode.pm
@@ -0,0 +1,138 @@
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+=pod
+
+=head1 NAME
+
+Bib2HTML::General::Encode - String encoding functions
+
+=head1 DESCRIPTION
+
+Bib2HTML::General::Encode is a Perl module, which proposes
+a set of functions for string encoding.
+
+=head1 METHOD DESCRIPTIONS
+
+This section contains only the methods in Encode.pm itself.
+
+=over
+
+=cut
+
+package Bib2HTML::General::Encode;
+
+@ISA = ('Exporter');
+@EXPORT = qw( &set_default_encoding &get_default_encoding &get_encoded_str );
+@EXPORT_OK = qw();
+
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+
+use Encode;
+
+#------------------------------------------------------
+#
+# Global vars
+#
+#------------------------------------------------------
+
+# Version number of the encode functions
+my $VERSION = "1.0" ;
+
+# Default encoding
+my $DEFAULT_ENCODING = "utf-8";
+
+#------------------------------------------------------
+#
+# Functions
+#
+#------------------------------------------------------
+
+=pod
+
+=item * set_default_encoding($)
+
+Set the default encoding
+Takes 1 arg:
+
+=over
+
+=item * name (string)
+
+is a I<string> which correspond to the name of the encoding.
+
+=back
+
+=cut
+sub set_default_encoding($) {
+ $DEFAULT_ENCODING = $_[0];
+}
+
+=pod
+
+=item * get_default_encoding()
+
+Replies the default encoding.
+
+=cut
+sub get_default_encoding() {
+ return $DEFAULT_ENCODING;
+}
+
+=pod
+
+=item * get_encode_str($)
+
+Replies the specified string in the current string encoding.
+Takes 1 arg:
+
+=over
+
+=item * text (string)
+
+is a I<string> which correspond to the text to translate.
+
+=back
+
+=cut
+sub get_encoded_str($) {
+ return encode($DEFAULT_ENCODING, $_[0]);
+}
+
+1;
+__END__
+
+=back
+
+=head1 COPYRIGHT
+
+(c) Copyright 1998-09 Stéphane Galland <galland@arakhne.org>, under GPL.
+
+=head1 AUTHORS
+
+=over
+
+=item *
+
+Conceived and initially developed by Stéphane Galland E<lt>galland@arakhne.orgE<gt>.
+
+=back
+
+=head1 SEE ALSO
+
+bib2html.pl
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/General/Error.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/General/Error.pm
new file mode 100644
index 0000000000..2bd8aaced3
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/General/Error.pm
@@ -0,0 +1,443 @@
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+=pod
+
+=head1 NAME
+
+Bib2HTML::General::Error - Error functions
+
+=head1 DESCRIPTION
+
+Bib2HTML::General::Error is a Perl module, which proposes
+a set of functions to manage the errors.
+
+=head1 METHOD DESCRIPTIONS
+
+This section contains only the methods in Error.pm itself.
+
+=over
+
+=cut
+
+package Bib2HTML::General::Error;
+
+@ISA = ('Exporter');
+@EXPORT = qw( &warm &err &warningcount
+ &syserr &syswarm &printwarningcount
+ &unsetwarningaserror
+ &setwarningaserror
+ &unsetsortwarnings
+ &setsortwarnings
+ &notempty );
+@EXPORT_OK = qw();
+
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+
+use Carp ;
+
+use Bib2HTML::General::Verbose ;
+use Bib2HTML::General::Misc ;
+
+#------------------------------------------------------
+#
+# Global vars
+#
+#------------------------------------------------------
+
+# Version number of the error functions
+my $VERSION = "1.0" ;
+
+# The quantity of warning encounted during the generation
+my $WARNING_COUNT = 0 ;
+
+# Indicates that the warnings are considered as errors
+my $WARNING_HAS_ERROR = 0 ;
+
+# Indicates if the warnings must be sorted
+my $SORT_WARNINGS = 0 ;
+
+# List of generated warning messages
+my %__GENERATED_WARNINGS = () ;
+
+#------------------------------------------------------
+#
+# Warning getters/setters
+#
+#------------------------------------------------------
+
+=pod
+
+=item * warningcount()
+
+Replies the quantity of warnings.
+
+=cut
+sub warningcount() {
+ return $WARNING_COUNT ;
+}
+
+=pod
+
+=item * setwarningaserror()
+
+Sets that the warnings will be considered as errors.
+
+=cut
+sub setwarningaserror() {
+ $WARNING_HAS_ERROR = 1 ;
+}
+
+=pod
+
+=item * unsetwarningaserror()
+
+Sets that the warnings will not be considered as errors.
+
+=cut
+sub unsetwarningaserror() {
+ $WARNING_HAS_ERROR = 0 ;
+}
+
+=pod
+
+=item * setsortwarnings()
+
+Sets the sorting flag of warnings
+
+=cut
+sub setsortwarnings() {
+ $SORT_WARNINGS = 1 ;
+}
+
+=pod
+
+=item * unsetsortwarnings()
+
+Unsets the sorting flag of warnings
+
+=cut
+sub unsetsortwarnings() {
+ $SORT_WARNINGS = 0 ;
+}
+
+#------------------------------------------------------
+#
+# Error reporting
+#
+#------------------------------------------------------
+
+=pod
+
+=item * syserr()
+
+Displays an error and stop.
+Takes 1 arg:
+
+=over
+
+=item * message (string)
+
+is the error message to display.
+
+=back
+
+=cut
+sub syserr($) {
+ my $msg = $_[0] || '' ;
+ $msg =~ s/\n+$// ;
+ printwarningcount() ;
+ die( "Error: $msg\n" ) ;
+}
+
+=pod
+
+=item * syswarm()
+
+Displays a warning and stop.
+Takes 1 arg:
+
+=over
+
+=item * message (string)
+
+is the warning message to display.
+
+=back
+
+=cut
+sub syswarm($) {
+ my $msg = $_[0] || '' ;
+ $msg =~ s/^[ \t\r\n]+// ;
+ $msg =~ s/[ \t\r\n]+$// ;
+ if ( ! $WARNING_HAS_ERROR ) {
+
+ if ( __is_not_logged_warning( $msg, '', 0 ) ) {
+
+ __log_warning( $msg, '', 0 ) ;
+
+ $WARNING_COUNT ++ ;
+ if ( ( ! $SORT_WARNINGS ) &&
+ ( Bib2HTML::General::Verbose::currentlevel() >= 0 ) ) {
+ print STDERR "Warning: $msg\n" ;
+ }
+
+ }
+ }
+ else {
+ syserr( $msg ) ;
+ }
+}
+
+# Replies if the specified message was already generated
+# __is_not_logged_warning( text, file, lineno )
+sub __is_not_logged_warning($$$) {
+ return 0 unless $_[0] ;
+ if ( ! exists $__GENERATED_WARNINGS{$_[0]} ) {
+ return 1 ;
+ }
+ my $location = ( $_[1] || '' ).':'.( ( $_[1] && $_[2] ) || '' ) ;
+ if ( $location eq ':' ) {
+ return ( int(@{$__GENERATED_WARNINGS{$_[0]}}) > 0 ) ;
+ }
+ else {
+ return ( ! strinarray( $location, $__GENERATED_WARNINGS{$_[0]} ) ) ;
+ }
+}
+
+# Log the specified message
+# __log_warning( text, file, lineno )
+sub __log_warning($$$) {
+ return 0 unless $_[0] ;
+ if ( ! exists $__GENERATED_WARNINGS{$_[0]} ) {
+ $__GENERATED_WARNINGS{$_[0]} = [] ;
+ }
+ my $location = ( $_[1] || '' ).':'.( ( $_[1] && $_[2] ) || '' ) ;
+ if ( ( $location ne ':' ) &&
+ ( ! strinarray( $location, $__GENERATED_WARNINGS{$_[0]} ) ) ) {
+ push @{$__GENERATED_WARNINGS{$_[0]}}, $location ;
+ }
+ return 0 ;
+}
+
+=pod
+
+=item * printwarningcount()
+
+Displays the count of warnings.
+
+=cut
+sub printwarningcount() {
+ if ( ( Bib2HTML::General::Verbose::currentlevel() >= 0 ) &&
+ ( $WARNING_COUNT > 0 ) ) {
+
+ # Display the warnings
+ if ( $SORT_WARNINGS ) {
+ my @msgs = () ;
+
+ while ( my ($key, $value) = each( %__GENERATED_WARNINGS ) ) {
+
+ if ( int(@{$value}) > 0 ) {
+
+ foreach my $location ( @{$value} ) {
+ my $file = extract_file_from_location( $location ) ;
+ my $lineno = extract_line_from_location( $location ) ;
+ push @msgs, { 'msg' => $key,
+ 'file' => $file,
+ 'line' => $lineno,
+ } ;
+ }
+ }
+ else {
+
+ push @msgs, { 'msg' => $key,
+ 'file' => '',
+ 'line' => 0,
+ } ;
+
+ }
+
+ }
+
+ @msgs = sort {
+ return -1 if ( $a->{'file'} lt $b->{'file'} ) ;
+ return 1 if ( $a->{'file'} gt $b->{'file'} ) ;
+ return -1 if ( $a->{'line'} < $b->{'line'} ) ;
+ return 1 if ( $a->{'line'} > $b->{'line'} ) ;
+ return ( $a->{'msg'} <=> $b->{'msg'} ) ;
+ } @msgs ;
+
+ foreach my $value ( @msgs ) {
+ my $msg = $value->{'msg'} || '???' ;
+ my $file = $value->{'file'} || '' ;
+ my $line = $value->{'line'} || 0 ;
+ print STDERR "Warning".
+ (($file)?
+ (" ($file".(($line>0)?
+ ":$line":"").")"): "").
+ ": $msg\n" ;
+ }
+
+ }
+
+ print STDERR "$WARNING_COUNT warning".(($WARNING_COUNT>1)?"s":"")."\n" ;
+ }
+}
+
+=pod
+
+=item * err()
+
+Displays an error and stop.
+Takes 3 args:
+
+=over
+
+=item * message (string)
+
+is the error message to display.
+
+=item * file (string)
+
+is the name of the file in which the error occurs.
+
+=item * line (integer)
+
+is the line where the error occurs.
+
+=back
+
+=cut
+sub err($$$) {
+ my $msg = $_[0] || '' ;
+ my $file = $_[1] || '' ;
+ my $line = $_[2] || 0 ;
+ printwarningcount() ;
+ $msg =~ s/\n+$// ;
+ die( "Error".
+ (($file)?
+ (" ($file".(($line>0)?
+ ":$line":"").")"): "").
+ ": $msg\n" ) ;
+}
+
+=pod
+
+=item * warm()
+
+Displays a warning.
+Takes 3 args:
+
+=over
+
+=item * message (string)
+
+is the warning message to display.
+
+=item * file (string)
+
+<is the name of the file in which the warning occurs.
+
+=item * line (integer)
+
+is the line where the warning occurs.
+
+=back
+
+=cut
+sub warm($$$) {
+ my $msg = $_[0] || '' ;
+ my $file = $_[1] || '' ;
+ my $line = $_[2] || 0 ;
+ if ( ! $WARNING_HAS_ERROR ) {
+ $msg =~ s/\n+$// ;
+ if ( __is_not_logged_warning( $msg, $file, $line ) ) {
+
+ __log_warning( $msg, $file, $line ) ;
+
+ $WARNING_COUNT ++ ;
+ if ( ( ! $SORT_WARNINGS ) &&
+ ( Bib2HTML::General::Verbose::currentlevel() >= 0 ) ) {
+ print STDERR "Warning".
+ (($file)?
+ (" ($file".(($line>0)?
+ ":$line":"").")"): "").
+ ": $msg\n" ;
+ }
+ }
+ }
+ else {
+ err( $msg, $file, $line ) ;
+ }
+}
+
+
+=pod
+
+=item * notempty()
+
+Replies the specified value if it was not empty.
+Otherwhise, generate a exception.
+
+Takes 2 args:
+
+=over
+
+=item * value (mixed)
+
+is the value to check
+
+=item * msg (string)
+
+is the error message
+
+=back
+
+=cut
+sub notempty {
+ confess( 'invalid use of function notempty()' )
+ unless ( $_[1] ) ;
+ if ( ( ! defined( $_[0] ) ) ||
+ ( length( "$_[0]" ) <= 0 ) ) {
+ confess( $_[1] ) ;
+ }
+ return $_[0] ;
+}
+
+1;
+__END__
+
+=back
+
+=head1 COPYRIGHT
+
+(c) Copyright 1998-09 Stéphane Galland <galland@arakhne.org>, under GPL.
+
+=head1 AUTHORS
+
+=over
+
+=item *
+
+Conceived and initially developed by Stéphane Galland E<lt>galland@arakhne.orgE<gt>.
+
+=back
+
+=head1 SEE ALSO
+
+bib2html.pl
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/General/HTML.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/General/HTML.pm
new file mode 100644
index 0000000000..50c1dbc03f
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/General/HTML.pm
@@ -0,0 +1,1539 @@
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+=pod
+
+=head1 NAME
+
+Bib2HTML::General::HTML - HTML support definitions
+
+=head1 DESCRIPTION
+
+Bib2HTML::General::HTML is a Perl module, which permits to support
+some HTML definitions. This is a fork of PhpDocGen::General::HTML.
+
+=head1 METHOD DESCRIPTIONS
+
+This section contains only the methods in HTML.pm itself.
+
+=over
+
+=cut
+
+package Bib2HTML::General::HTML;
+
+@ISA = ('Exporter');
+@EXPORT = qw(&get_html_entities &get_restricted_html_entities &translate_html_entities
+ &htmlcatdir &htmlcatfile &htmldirname &htmlfilename &htmltoroot &htmlpath
+ &htmlsplit &strip_html_tags &html_add_unsecable_spaces &html_uc &html_lc
+ &html_sc &split_html_tags &html_extract_tag_params &htmltolocalpath
+ &nl2br &br2nl &setAsValidHTML_small &setAsValidHTML &html_getinitiales
+ &html_ucwords &html_ucfirst &html_substr &html_split_to_chars &sortbyletters
+ &remove_html_accents );
+@EXPORT_OK = qw();
+
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+
+use Bib2HTML::General::Misc ;
+use Bib2HTML::General::Encode ;
+
+#------------------------------------------------------
+#
+# Global vars
+#
+#------------------------------------------------------
+
+# Version number of the HTML support functions
+my $VERSION = "4.0" ;
+
+# Translation table
+my %HTML_ENTITY_CODES = ( 'nbsp' => 160, #no-break space = non-breaking space
+ 'iexcl' => 161, #inverted exclamation mark, U+00A1 ISOnum
+ 'cent' => 162, #cent sign
+ 'pound' => 163, #pound sign
+ 'curren' => 164, #currency sign
+ 'yen' => 165, #yen sign = yuan sign
+ 'brvbar' => 166, #broken bar = broken vertical bar
+ 'sect' => 167, #section sign
+ 'uml' => 168, #diaeresis = spacing diaeresis,
+ 'copy' => 169, #copyright sign
+ 'ordf' => 170, #feminine ordinal indicator
+ 'laquo' => 171, #left-pointing double angle quotation mark
+ 'not' => 172, #not sign
+ 'shy' => 173, #soft hyphen = discretionary hyphen
+ 'reg' => 174, #registered sign = registered trade mark sign
+ 'macr' => 175, #macron = spacing macron = overline = APL overbar
+ 'deg' => 176, #degree sign
+ 'plusmn' => 177, #plus-minus sign = plus-or-minus sign
+ 'sup2' => 178, #superscript two = superscript digit two = squared
+ 'sup3' => 179, #superscript three = superscript digit three = cubed
+ 'acute' => 180, #acute accent = spacing acute
+ 'micro' => 181, #micro sign
+ 'para' => 182, #pilcrow sign = paragraph sign
+ 'middot' => 183, #middle dot = Georgian comma = Greek middle dot
+ 'cedil' => 184, #cedilla = spacing cedilla
+ 'sup1' => 185, #superscript one = superscript digit one
+ 'ordm' => 186, #masculine ordinal indicator
+ 'raquo' => 187, #right-pointing double angle quotation mark = right pointing guillemet
+ 'frac14' => 188, #vulgar fraction one quarter = fraction one quarter
+ 'frac12' => 189, #vulgar fraction one half = fraction one half
+ 'frac34' => 190, #vulgar fraction three quarters = fraction three quarters
+ 'iquest' => 191, #inverted question mark = turned question mark
+ 'Agrave' => 192, #latin capital letter A with grave = latin capital letter A grave
+ 'Aacute' => 193, #latin capital letter A with acute
+ 'Acirc' => 194, #latin capital letter A with circumflex
+ 'Atilde' => 195, #latin capital letter A with tilde
+ 'Auml' => 196, #latin capital letter A with diaeresis
+ 'Aring' => 197, #latin capital letter A with ring above = latin capital letter A ring
+ 'AElig' => 198, #latin capital letter AE = latin capital ligature AE
+ 'Ccedil' => 199, #latin capital letter C with cedilla
+ 'Egrave' => 200, #latin capital letter E with grave
+ 'Eacute' => 201, #latin capital letter E with acute
+ 'Ecirc' => 202, #latin capital letter E with circumflex
+ 'Euml' => 203, #latin capital letter E with diaeresis
+ 'Igrave' => 204, #latin capital letter I with grave
+ 'Iacute' => 205, #latin capital letter I with acute
+ 'Icirc' => 206, #latin capital letter I with circumflex
+ 'Iuml' => 207, #latin capital letter I with diaeresis
+ 'ETH' => 208, #latin capital letter ETH
+ 'Ntilde' => 209, #latin capital letter N with tilde
+ 'Ograve' => 210, #latin capital letter O with grave
+ 'Oacute' => 211, #latin capital letter O with acute
+ 'Ocirc' => 212, #latin capital letter O with circumflex
+ 'Otilde' => 213, #latin capital letter O with tilde
+ 'Ouml' => 214, #latin capital letter O with diaeresis
+ 'times' => 215, #multiplication sign
+ 'Oslash' => 216, #latin capital letter O with stroke = latin capital letter O slash
+ 'Ugrave' => 217, #latin capital letter U with grave
+ 'Uacute' => 218, #latin capital letter U with acute
+ 'Ucirc' => 219, #latin capital letter U with circumflex
+ 'Uuml' => 220, #latin capital letter U with diaeresis
+ 'Yacute' => 221, #latin capital letter Y with acute
+ 'THORN' => 222, #latin capital letter THORN
+ 'szlig' => 223, #latin small letter sharp s = ess-zed
+ 'agrave' => 224, #latin small letter a with grave = latin small letter a grave
+ 'aacute' => 225, #latin small letter a with acute
+ 'acirc' => 226, #latin small letter a with circumflex
+ 'atilde' => 227, #latin small letter a with tilde
+ 'auml' => 228, #latin small letter a with diaeresis
+ 'aring' => 229, #latin small letter a with ring above = latin small letter a ring
+ 'aelig' => 230, #latin small letter ae = latin small ligature ae
+ 'ccedil' => 231, #latin small letter c with cedilla
+ 'egrave' => 232, #latin small letter e with grave
+ 'eacute' => 233, #latin small letter e with acute
+ 'ecirc' => 234, #latin small letter e with circumflex
+ 'euml' => 235, #latin small letter e with diaeresis
+ 'igrave' => 236, #latin small letter i with grave
+ 'iacute' => 237, #latin small letter i with acute
+ 'icirc' => 238, #latin small letter i with circumflex
+ 'iuml' => 239, #latin small letter i with diaeresis
+ 'eth' => 240, #latin small letter eth
+ 'ntilde' => 241, #latin small letter n with tilde
+ 'ograve' => 242, #latin small letter o with grave
+ 'oacute' => 243, #latin small letter o with acute
+ 'ocirc' => 244, #latin small letter o with circumflex
+ 'otilde' => 245, #latin small letter o with tilde
+ 'ouml' => 246, #latin small letter o with diaeresis
+ 'divide' => 247, #division sign
+ 'oslash' => 248, #latin small letter o with stroke = latin small letter o slash
+ 'ugrave' => 249, #latin small letter u with grave
+ 'uacute' => 250, #latin small letter u with acute
+ 'ucirc' => 251, #latin small letter u with circumflex
+ 'uuml' => 252, #latin small letter u with diaeresis
+ 'yacute' => 253, #latin small letter y with acute
+ 'thorn' => 254, #latin small letter thorn
+ 'yuml' => 255, #latin small letter y with diaeresis
+ 'quot' => 34, #quotation mark = APL quote
+ 'amp' => 38, #ampersand
+ 'lt' => 60, #less-than sign
+ 'gt' => 62, #greater-than sign
+ 'OElig' => 338, #latin capital ligature OE
+ 'oelig' => 339, #latin small ligature oe
+ 'Scedil' => 'x015e', #latin capital letter S with cedil
+ 'scedil' => 'x015f', #latin small letter s with cedil
+ 'Tcedil' => 'x0162', #latin capital letter T with cedil
+ 'tcedil' => 'x0163', #latin small letter t with cedil
+ 'Yuml' => 376, #latin capital letter Y with diaeresis
+ 'circ' => 710, #modifier letter circumflex accent
+ 'tilde' => 732, #small tilde
+ 'Aucircle' => 'x0102', #latin capital letter A with small u on top
+ 'aucircle' => 'x0103', #latin small letter a with small u on top
+ 'Cacute' => 'x262', #latin capital letter C with acute
+ 'cacute' => 'x263', #latin small letter c with acute
+ 'Scaron' => 352, #latin capital letter S with caron
+ 'scaron' => 353, #latin small letter s with caron
+ 'Ccaron' => 268, #latin capital letter C with caron
+ 'ccaron' => 269, #latin small letter c with caron
+ 'Dcaron' => 270, #latin capital letter D with caron
+ 'dcaron' => 271, #latin small letter d with caron
+ 'Ecaron' => 282, #latin capital letter E with caron
+ 'ecaron' => 283, #latin small letter e with caron
+ 'Lcaron' => 317, #latin capital letter L with caron
+ 'lcaron' => 318, #latin small letter l with caron
+ 'Ncaron' => 327, #latin capital letter N with caron
+ 'ncaron' => 328, #latin small letter n with caron
+ 'Rcaron' => 344, #latin capital letter R with caron
+ 'rcaron' => 345, #latin small letter r with caron
+ 'Tcaron' => 356, #latin capital letter T with caron
+ 'tcaron' => 357, #latin small letter t with caron
+ 'Zcaron' => 381, #latin capital letter Z with caron
+ 'zcaron' => 382, #latin small letter z with caron
+ ) ;
+
+# The characters which are displayed for each HTML entity (except &amp; &gt; &lt; &quot; )
+my %HTML_ENTITY_CHARS = ( 'Ocirc' => 'Ô',
+ 'szlig' => 'ß',
+ 'micro' => 'µ',
+ 'para' => '¶',
+ 'not' => '¬',
+ 'sup1' => '¹',
+ 'oacute' => 'ó',
+ 'Uacute' => 'Ú',
+ 'middot' => '·',
+ 'ecirc' => 'ê',
+ 'pound' => '£',
+ 'scaron' => 'Å¡',
+ 'ntilde' => 'ñ',
+ 'igrave' => 'ì',
+ 'atilde' => 'ã',
+ 'thorn' => 'þ',
+ 'Euml' => 'Ë',
+ 'Ntilde' => 'Ñ',
+ 'Auml' => 'Ä',
+ 'plusmn' => '±',
+ 'raquo' => '»',
+ 'THORN' => 'Þ',
+ 'laquo' => '«',
+ 'Eacute' => 'É',
+ 'divide' => '÷',
+ 'Uuml' => 'Ü',
+ 'Aring' => 'Ã…',
+ 'ugrave' => 'ù',
+ 'Egrave' => 'È',
+ 'Acirc' => 'Â',
+ 'oslash' => 'ø',
+ 'ETH' => 'Ã',
+ 'iacute' => 'í',
+ 'Ograve' => 'Ã’',
+ 'Oslash' => 'Ø',
+ 'frac34' => '3/4',
+ 'Scaron' => 'Å ',
+ 'eth' => 'ð',
+ 'icirc' => 'î',
+ 'ordm' => 'º',
+ 'ucirc' => 'û',
+ 'reg' => '®',
+ 'tilde' => '~',
+ 'aacute' => 'á',
+ 'Agrave' => 'À',
+ 'Yuml' => 'Ÿ',
+ 'times' => '×',
+ 'deg' => '°',
+ 'AElig' => 'Æ',
+ 'Yacute' => 'Ã',
+ 'Otilde' => 'Õ',
+ 'circ' => '^',
+ 'sup3' => '³',
+ 'oelig' => 'Å“',
+ 'frac14' => '1/4',
+ 'Ouml' => 'Ö',
+ 'ograve' => 'ò',
+ 'copy' => '©',
+ 'shy' => '­',
+ 'iuml' => 'ï',
+ 'acirc' => 'â',
+ 'iexcl' => '¡',
+ 'Iacute' => 'Ã',
+ 'Oacute' => 'Ó',
+ 'ccedil' => 'ç',
+ 'frac12' => '1/2',
+ 'Icirc' => 'ÃŽ',
+ 'eacute' => 'é',
+ 'egrave' => 'è',
+ 'euml' => 'ë',
+ 'Ccedil' => 'Ç',
+ 'OElig' => 'Å’',
+ 'Atilde' => 'Ã',
+ 'ouml' => 'ö',
+ 'cent' => '¢',
+ 'Aacute' => 'Ã',
+ 'sect' => '§',
+ 'Ugrave' => 'Ù',
+ 'aelig' => 'æ',
+ 'ordf' => 'ª',
+ 'yacute' => 'ý',
+ 'Ecirc' => 'Ê',
+ 'auml' => 'ä',
+ 'macr' => '¯',
+ 'iquest' => '¿',
+ 'sup2' => '²',
+ 'Ucirc' => 'Û',
+ 'aring' => 'Ã¥',
+ 'Igrave' => 'Ì',
+ 'yen' => 'Â¥',
+ 'uuml' => 'ü',
+ 'otilde' => 'õ',
+ 'uacute' => 'ú',
+ 'yuml' => 'ÿ',
+ 'ocirc' => 'ô',
+ 'Iuml' => 'Ã',
+ 'agrave' => 'à',
+ ) ;
+
+
+# The mapping between the accentuated characters and the non-accentuated characters
+my %HTML_NO_ACCENT_ENTITY_CHARS = (
+ 'aacute' => 'a',
+ 'Aacute' => 'A',
+ 'aelig' => 'ae',
+ 'AElig' => 'ae',
+ 'acirc' => 'a',
+ 'Acirc' => 'A',
+ 'agrave' => 'a',
+ 'Agrave' => 'A',
+ 'atilde' => 'a',
+ 'Atilde' => 'A',
+ 'Aring' => 'A',
+ 'aring' => 'a',
+ 'aucircle' => 'a',
+ 'Aucircle' => 'A',
+ 'auml' => 'a',
+ 'Auml' => 'A',
+ 'Cacute' => 'C',
+ 'cacute' => 'c',
+ 'Ccaron' => 'C',
+ 'ccaron' => 'C',
+ 'ccedil' => 'c',
+ 'Ccedil' => 'C',
+ 'Dcaron' => 'D',
+ 'dcaron' => 'd',
+ 'Eacute' => 'E',
+ 'eacute' => 'e',
+ 'Ecaron' => 'E',
+ 'ecaron' => 'e',
+ 'ecirc' => 'e',
+ 'Ecirc' => 'E',
+ 'Egrave' => 'E',
+ 'egrave' => 'e',
+ 'eth' => 'd',
+ 'ETH' => 'D',
+ 'Euml' => 'E',
+ 'euml' => 'e',
+ 'Iacute' => 'i',
+ 'iacute' => 'i',
+ 'icirc' => 'i',
+ 'Icirc' => 'i',
+ 'Igrave' => 'I',
+ 'igrave' => 'i',
+ 'Iuml' => 'I',
+ 'iuml' => 'i',
+ 'Lcaron' => 'L',
+ 'lcaron' => 'l',
+ 'Ncaron' => 'N',
+ 'ncaron' => 'n',
+ 'ntilde' => 'n',
+ 'Ntilde' => 'N',
+ 'Oacute' => 'O',
+ 'oacute' => 'o',
+ 'ocirc' => 'o',
+ 'Ocirc' => 'O',
+ 'oelig' => 'oe',
+ 'OElig' => 'OE',
+ 'ograve' => 'o',
+ 'Ograve' => 'O',
+ 'Oslash' => 'O',
+ 'oslash' => 'o',
+ 'otilde' => 'o',
+ 'Otilde' => 'O',
+ 'Ouml' => 'O',
+ 'ouml' => 'o',
+ 'Rcaron' => 'R',
+ 'rcaron' => 'r',
+ 'scaron' => 's',
+ 'Scaron' => 'S',
+ 'scedil' => 's',
+ 'Scedil' => 'S',
+ 'szlig' => 'S',
+ 'Tcaron' => 'T',
+ 'tcaron' => 't',
+ 'tcedil' => 't',
+ 'Tcedil' => 'T',
+ 'thorn' => 't',
+ 'THORN' => 'T',
+ 'uacute' => 'u',
+ 'Uacute' => 'U',
+ 'Ucirc' => 'U',
+ 'ucirc' => 'u',
+ 'ugrave' => 'U',
+ 'Ugrave' => 'U',
+ 'uuml' => 'u',
+ 'Uuml' => 'U',
+ 'Yacute' => 'Y',
+ 'yacute' => 'y',
+ 'Yuml' => 'Y',
+ 'yuml' => 'y',
+ 'Zcaron' => 'Z',
+ 'zcaron' => 'z',
+ ) ;
+
+#------------------------------------------------------
+#
+# Predefined PHP variables support
+#
+#------------------------------------------------------
+
+=pod
+
+=item * get_restricted_html_entities()
+
+Replies the specified string in which some characters have been
+replaced by the corresponding HTML entities except for &amp;
+&quot; &lt; and &gt;
+Takes 1 arg:
+
+=over
+
+=item * text (string)
+
+is a I<string> which correspond to the text to translate.
+
+=back
+
+=cut
+sub get_restricted_html_entities($) {
+ my $text = $_[0] || '' ;
+ foreach my $entity (keys %HTML_ENTITY_CHARS) {
+ if (($entity ne 'amp')&&
+ ($entity ne 'quot')&&
+ ($entity ne 'lt')&&
+ ($entity ne 'gt')) {
+ my $validchar = get_encoded_str($HTML_ENTITY_CHARS{$entity});
+ $text =~ s/\Q&#$HTML_ENTITY_CODES{$entity};\E/&$entity;/g ;
+ $text =~ s/\Q$validchar\E/&$entity;/g ;
+ }
+ }
+ return $text ;
+}
+
+=pod
+
+=item * get_html_entities()
+
+Replies the specified string in which some characters have been
+replaced by the corresponding HTML entities
+Takes 1 arg:
+
+=over
+
+=item * text (string)
+
+is a I<string> which correspond to the text to translate.
+
+=back
+
+=cut
+sub get_html_entities($) {
+ my $text = $_[0] || '' ;
+
+ $text =~ s/\Q&\E/&amp;/g ;
+ $text =~ s/\Q<\E/&lt;/g ;
+ $text =~ s/\Q>\E/&gt;/g ;
+ $text =~ s/\Q\"\E/&quot;/g ;
+
+ return get_restricted_html_entities($text) ;
+}
+
+=pod
+
+=item * translate_html_entities()
+
+Replies the specified string in which each HTML entity was replaced
+by the corresponding character.
+Takes 1 arg:
+
+=over
+
+=item * text (string)
+
+is a I<string> which correspond to the text to translate.
+
+=back
+
+=cut
+sub translate_html_entities($) {
+ my $text = $_[0] || '' ;
+ $text =~ s/\Q&nbsp;\E/ /g ;
+ $text =~ s/\Q&quot;\E/\"/g ;
+ $text =~ s/\Q&lt;\E/</g ;
+ $text =~ s/\Q&gt;\E/>/g ;
+ $text =~ s/\Q&amp;\E/&/g ;
+ while (my ($entity,$charcode) = each(%HTML_ENTITY_CODES)) {
+ my $validchar = get_encoded_str($HTML_ENTITY_CHARS{$entity});
+ if ($validchar) {
+ $text =~ s/\Q&#$charcode;\E/$validchar/g ;
+ }
+ }
+ foreach my $entity (keys %HTML_ENTITY_CHARS) {
+ my $validchar = get_encoded_str($HTML_ENTITY_CHARS{$entity});
+ $text =~ s/\Q&$entity;\E/$validchar/g ;
+ }
+ return $text ;
+}
+
+=pod
+
+=item * htmlcatdir()
+
+Concatenate two or more directory names to form a complete path ending
+with a directory. But remove the trailing slash from the resulting
+string.
+Takes 2 args or more:
+
+=over
+
+=item * dir... (string)
+
+is a I<string> which correspond to a directory name to merge
+
+=back
+
+=cut
+sub htmlcatdir {
+ my $path = '' ;
+ $path = join('/', @_ ) if ( @_ ) ;
+ $path =~ s/\/{2,}/\//g ;
+ $path =~ s/\/$// ;
+ return $path ;
+}
+
+=pod
+
+=item * htmlcatfile()
+
+Concatenate one or more directory names and a filename to form a
+complete path ending with a filename
+Takes 2 args or more:
+
+=over
+
+=item * dir... (string)
+
+is a I<string> which correspond to a directory name to merge
+
+=item * file (string)
+
+is a I<string> which correspond to a file name to merge
+
+=back
+
+=cut
+sub htmlcatfile {
+ return '' unless @_ ;
+ my $file = pop @_;
+ return $file unless @_;
+ my $dir = htmlcatdir(@_);
+ $dir .= "/" unless substr($file,0,1) eq "/" ;
+ return $dir.$file;
+}
+
+=pod
+
+=item * htmldirname()
+
+Replies the path of the from the specified file
+Takes 1 arg:
+
+=over
+
+=item * path (string)
+
+is a I<string> which correspond to the path from which
+the dirname but be extracted
+
+=back
+
+=cut
+sub htmldirname($) {
+ my $dirname = $_[0] || '' ;
+ $dirname =~ s/\/+\s*$// ;
+ if ( $dirname =~ /^(.*?)\/[^\/]+$/ ) {
+ $dirname = ($1) ? $1 : "/" ;
+ }
+ else {
+ $dirname = "" ;
+ }
+ return $dirname ;
+}
+
+=pod
+
+=item * htmlfilename()
+
+Replies the filename of the from the specified file
+Takes 1 arg:
+
+=over
+
+=item * path (string)
+
+is a I<string> which correspond to the path from which
+the filename but be extracted
+
+=back
+
+=cut
+sub htmlfilename($) {
+ my $filename = $_[0] || '' ;
+ $filename =~ s/\/+\s*$// ;
+ if ( $filename =~ /^.*?\/([^\/]+)$/ ) {
+ $filename = $1 ;
+ }
+ return $filename ;
+}
+
+=pod
+
+=item * htmltoroot()
+
+Replies a relative path in wich each directory of the
+specified parameter was replaced by ..
+Takes 1 arg:
+
+=over
+
+=item * path (string)
+
+is a I<string> which correspond to the path to translate
+
+=back
+
+=cut
+sub htmltoroot($) {
+ my $dir = $_[0] || '' ;
+ $dir =~ s/\/\s*$// ;
+ $dir =~ s/[^\/]+/../g ;
+ return $dir ;
+}
+
+=pod
+
+=item * htmlpath()
+
+Replies a path in which all the OS path separators were replaced
+by the HTML path separator '/'
+Takes 1 arg:
+
+=over
+
+=item * path (string)
+
+is a I<string> which correspond to the path to translate
+
+=back
+
+=cut
+sub htmlpath($) {
+ my $path = $_[0] || '' ;
+ my $os_sep = "/" ;
+ my $p = File::Spec->catdir("a","b") ;
+ if ( $p =~ /a(.+)b/ ) {
+ $os_sep = $1 ;
+ }
+ $path =~ s/\Q$os_sep\E/\//g ;
+ return $path ;
+}
+
+=pod
+
+=item * htmltolocalpath()
+
+Replies a path in which all the HTML path separators '/' were replaced
+by the OS path separator
+Takes 1 arg:
+
+=over
+
+=item * path (string)
+
+is a I<string> which correspond to the path to translate
+
+=back
+
+=cut
+sub htmltolocalpath($) {
+ my $path = $_[0] || '' ;
+ my $os_sep = "/" ;
+ my $p = File::Spec->catdir("a","b") ;
+ if ( $p =~ /a(.+)b/ ) {
+ $os_sep = $1 ;
+ }
+ $path =~ s/\//$os_sep/g ;
+# if ( ( "$^O" ne 'MSWin32' ) &&
+# ( "$^O" ne 'os2' ) &&
+# ( "$^O" ne 'NetWare' ) &&
+# ( "$^O" ne 'dos' ) &&
+# ( "$^O" ne 'cygwin' ) &&
+# ( "$^O" ne 'MacOS' ) ) {
+# $path =~ s/\ /\\ /g ;
+# }
+ return $path ;
+}
+
+=pod
+
+=item * htmlsplit()
+
+Replies an array of directories which correspond to each
+parts of the specified path.
+Takes 1 arg:
+
+=over
+
+=item * path (string)
+
+is a I<string> which correspond to the path to split
+
+=back
+
+=cut
+sub htmlsplit($) {
+ my $path = $_[0] || '' ;
+ return split( /\//, $path ) ;
+}
+
+=pod
+
+=item * strip_html_tags()
+
+Removes the HTML tags from the specified string.
+Takes 1 arg:
+
+=over
+
+=item * text (string)
+
+is a I<string> which correspond to the text to translate.
+
+=back
+
+=cut
+sub strip_html_tags($) {
+ my $text = $_[0] || '' ;
+ my $res = '' ;
+ while ( ( $text ) &&
+ ( $text =~ /^(.*?)<(.*)$/ ) ) {
+ my ($prev,$next) = ($1,$2) ;
+ $res .= "$prev" ;
+ $text = $next ;
+ my $inside = 1 ;
+ while ( ( $inside ) && ( $text ) &&
+ ( $text =~ /^.*?(>|\"|\')(.*)$/ ) ) {
+ my ($sep,$next) = ($1,$2) ;
+ $text = $next ;
+ if ( $sep eq ">" ) {
+ $inside = 0 ;
+ }
+ else {
+ my $insidetext = 1 ;
+ while ( ( $insidetext ) && ( $text ) &&
+ ( $text =~ /^.*?((?:\\)|$sep)(.*)$/ ) ) {
+ my ($sepi,$rest) = ($1,$2) ;
+ if ( $sepi eq '\\' ) {
+ $text = substr($rest,1) ;
+ }
+ else {
+ $text = $rest ;
+ $insidetext = 0 ;
+ }
+ }
+ }
+ }
+ }
+ if ( $text ) {
+ $res .= $text ;
+ }
+ return $res ;
+}
+
+=pod
+
+=item * html_extract_tag_params()
+
+Replies the tag parameters that are given
+Takes 1 arg:
+
+=over
+
+=item * text (string)
+
+is a I<string> which correspond to the text to parse.
+
+=back
+
+=cut
+sub html_extract_tag_params($) : method {
+ my $self = shift ;
+ my $text = $_[0] || '' ;
+ my %params = ( ) ;
+ my @strings = () ;
+ remove_strings( \@strings, $text ) ;
+ $text =~ s/\s*=\s*/=/gm ;
+ my @parts = split( /\s+/, $text ) ;
+ foreach my $part ( @parts ) {
+ my @elts = split( /=/, $part ) ;
+ if ( @elts > 1 ) {
+ restore_strings( \@strings, $elts[1] ) ;
+ $params{lc($elts[0])} = removeslashes( $elts[1] ) ;
+ }
+ }
+ return \%params ;
+}
+
+=pod
+
+=item * split_html_tags()
+
+Replies an array in which each element
+is text or HTML tag.
+Takes 1 arg:
+
+=over
+
+=item * text (string)
+
+is a I<string> which correspond to the text to parse.
+
+=back
+
+=cut
+sub split_html_tags($) {
+ my $text = $_[0] || '' ;
+ my %res = () ;
+ while ( ( $text ) &&
+ ( $text =~ /^(.*?)<(.*)$/ ) ) {
+ my ($prev,$next) = ($1,$2) ;
+
+ add_value_entry( \%res, 'result', "$prev" ) ;
+
+ $text = $next ;
+ my $inside = 1 ;
+ my $tagcontent = '<' ;
+
+ while ( ( $inside ) && ( $text ) &&
+ ( $text =~ /^(.*?)(>|\"|\')(.*)$/ ) ) {
+ my ($inprev,$sep,$next) = ($1,$2,$3) ;
+
+ $tagcontent .= "$inprev$sep" ;
+ $text = $next ;
+ if ( $sep eq ">" ) {
+ $inside = 0 ;
+ }
+ else {
+ my $insidetext = 1 ;
+ while ( ( $insidetext ) && ( $text ) &&
+ ( $text =~ /^(.*?)((?:\\)|$sep)(.*)$/ ) ) {
+ my ($intprev,$sepi,$rest) = ($1,$2,$3) ;
+ $tagcontent .= "$intprev$sepi" ;
+ if ( $sepi eq '\\' ) {
+ $text = substr($rest,1) ;
+ }
+ else {
+ $text = $rest ;
+ $insidetext = 0 ;
+ }
+ }
+ }
+ }
+ add_value_entry( \%res, 'result', $tagcontent ) ;
+ }
+ if ( $text ) {
+ add_value_entry( \%res, 'result', $text ) ;
+ }
+ return $res{'result'} ;
+}
+
+sub __scan_html_text_and_apply($&) {
+ my $text = $_[0] || '' ;
+ my $res = '' ;
+ while ( ( $text ) &&
+ ( $text =~ /^(.*?)<(.*)$/ ) ) {
+ my ($prev,$next) = ($1,$2) ;
+
+ # Replacement
+ &{$_[1]}( $prev ) ;
+
+ $res .= "$prev<" ;
+ $text = $next ;
+ my $inside = 1 ;
+ while ( ( $inside ) && ( $text ) &&
+ ( $text =~ /^(.*?)(>|\"|\')(.*)$/ ) ) {
+ my ($inprev,$sep,$next) = ($1,$2,$3) ;
+ $res .= "$inprev$sep" ;
+ $text = $next ;
+ if ( $sep eq ">" ) {
+ $inside = 0 ;
+ }
+ else {
+ my $insidetext = 1 ;
+ while ( ( $insidetext ) && ( $text ) &&
+ ( $text =~ /^(.*?)((?:\\)|$sep)(.*)$/ ) ) {
+ my ($intprev,$sepi,$rest) = ($1,$2,$3) ;
+ $res .= "$intprev$sepi" ;
+ if ( $sepi eq '\\' ) {
+ $text = substr($rest,1) ;
+ }
+ else {
+ $text = $rest ;
+ $insidetext = 0 ;
+ }
+ }
+ }
+ }
+ }
+ if ( $text ) {
+
+ # Replacement
+ &{$_[1]}( $text ) ;
+
+ $res .= $text ;
+ }
+ return $res ;
+}
+
+=pod
+
+=item * html_add_unsecable_spaces()
+
+Replaces the spaces by unsecable spaces inside an HTML string
+Takes 1 arg:
+
+=over
+
+=item * text (string)
+
+is a I<string> which correspond to the text to translate.
+
+=back
+
+=cut
+sub html_add_unsecable_spaces($) {
+ return __scan_html_text_and_apply( $_[0],
+ sub { $_[0] =~ s/[ \t\n\r]+/&nbsp;/g ;
+ } ) ;
+}
+
+=pod
+
+=item * html_uc()
+
+Upper cases the specified text.
+Takes 1 arg:
+
+=over
+
+=item * text (string)
+
+is a I<string> which correspond to the text to translate.
+
+=back
+
+=cut
+sub html_uc($) {
+ return __scan_html_text_and_apply( $_[0],
+ sub { $_[0] = __html_uc($_[0]) ;
+ } ) ;
+}
+
+sub __html_uc($) {
+ my $text = $_[0] || '' ;
+ my $res = '' ;
+ if ( $text ) {
+ while ( ( $text ) &&
+ ( $text =~ /^(.*?)&([^;]+);(.*)$/ ) ) {
+ (my $prev,my $tag,$text) = ($1,$2,$3) ;
+ $res .= uc( $prev ) ;
+ if ( ( $tag =~ /^[a-z]/ ) &&
+ ( exists $HTML_ENTITY_CODES{$tag} ) &&
+ ( exists $HTML_ENTITY_CODES{ucfirst($tag)} ) ) {
+ $tag = ucfirst($tag) ;
+ }
+ $res .= "&".$tag.";" ;
+ }
+ if ( $text ) {
+ $res .= uc( $text ) ;
+ }
+ }
+ return $res ;
+}
+
+=pod
+
+=item * html_lc()
+
+Lower cases the specified text.
+Takes 1 arg:
+
+=over
+
+=item * text (string)
+
+is a I<string> which correspond to the text to translate.
+
+=back
+
+=cut
+sub html_lc($) {
+ return __scan_html_text_and_apply( $_[0],
+ sub { $_[0] = __html_lc($_[0]) ;
+ } ) ;
+}
+
+sub __html_lc($) {
+ my $text = $_[0] || '' ;
+ my $res = '' ;
+ if ( $text ) {
+ while ( ( $text ) &&
+ ( $text =~ /^(.*?)&([^;]+);(.*)$/ ) ) {
+ (my $prev,my $tag,$text) = ($1,$2,$3) ;
+ $res .= lc( $prev ) ;
+ if ( ( $tag =~ /^[a-z]/ ) &&
+ ( exists $HTML_ENTITY_CODES{$tag} ) &&
+ ( exists $HTML_ENTITY_CODES{lcfirst($tag)} ) ) {
+ $tag = lcfirst($tag) ;
+ }
+ $res .= "&".$tag.";" ;
+ }
+ if ( $text ) {
+ $res .= lc( $text ) ;
+ }
+ }
+ return $res ;
+}
+
+=pod
+
+=item * html_ucwords()
+
+Upper cases the first letters of each words.
+Takes 1 arg:
+
+=over
+
+=item * text (string)
+
+is a I<string> which correspond to the text to translate.
+
+=back
+
+=cut
+sub html_ucwords($) {
+ return __scan_html_text_and_apply( $_[0],
+ sub { $_[0] = __html_ucwords($_[0]) ;
+ } ) ;
+}
+
+sub __html_ucwords($) {
+ my $text = $_[0] || '' ;
+ my $res = '' ;
+ while ( $text ) {
+ if ( $text =~ /^([_\-\s]*)&([^;]+);([^_\-\s]*)(.*)$/ ) {
+ (my $prev,my $tag,my $after,$text) = ($1,$2,$3,$4);
+ $res .= $1;
+ if ( ( $tag =~ /^[a-z]/ ) &&
+ ( exists $HTML_ENTITY_CODES{$tag} ) &&
+ ( exists $HTML_ENTITY_CODES{ucfirst($tag)} ) ) {
+ $tag = ucfirst($tag) ;
+ }
+ $res .= "&".$tag.";".$after ;
+ }
+ elsif ( $text =~ /^([_\-\s]*)([^_\-\s]+)(.*)$/ ) {
+ (my $prev,my $tag,$text) = ($1,$2,$3);
+ $res .= $1;
+ $res .= ucfirst($tag);
+ }
+ else {
+ $res .= ucwords($text);
+ $text = '';
+ }
+ }
+ return $res ;
+}
+
+=pod
+
+=item * html_ucfirst()
+
+Upper cases the first letters of the first word.
+Takes 1 arg:
+
+=over
+
+=item * text (string)
+
+is a I<string> which correspond to the text to translate.
+
+=back
+
+=cut
+sub html_ucfirst($) {
+ my $found = 0;
+ return __scan_html_text_and_apply( $_[0],
+ sub { $_[0] = __html_ucfirst($_[0],\$found) ;
+ } ) ;
+}
+
+sub __html_ucfirst($$) {
+ my $text = $_[0] || '' ;
+ if( !$_[1] ) {
+ return $text;
+ }
+ else {
+ my $res = '' ;
+ if ( $text =~ /^([_\-\s]*)&([^;]+);([^_\-\s]*)(.*)$/ ) {
+ (my $prev,my $tag,my $after,$text) = ($1,$2,$3,$4);
+ $res .= $1;
+ if ( ( $tag =~ /^[a-z]/ ) &&
+ ( exists $HTML_ENTITY_CODES{$tag} ) &&
+ ( exists $HTML_ENTITY_CODES{ucfirst($tag)} ) ) {
+ $tag = ucfirst($tag) ;
+ }
+ $res .= "&".$tag.";".$after.$text ;
+ }
+ elsif ( $text =~ /^([_\-\s]*)([^_\-\s]+)(.*)$/ ) {
+ (my $prev,my $tag,$text) = ($1,$2,$3);
+ $res .= $1;
+ $res .= ucfirst($tag).$text;
+ }
+ else {
+ $res .= ucwords($text);
+ }
+ $_[1] = 1;
+ return $res ;
+ }
+}
+
+=pod
+
+=item * html_sc()
+
+Translates the specified text into small caps
+Takes 1 arg:
+
+=over
+
+=item * text (string)
+
+is a I<string> which correspond to the text to translate.
+
+=back
+
+=cut
+sub html_sc($) {
+ my $text = __scan_html_text_and_apply( $_[0],
+ sub { $_[0] = __html_sc($_[0]) ;
+ } ) ;
+ $text =~ s/<small><\/small>//g ;
+ $text =~ s/<\/small><small>//g ;
+ return $text ;
+}
+
+sub __html_sc($) {
+ my $text = $_[0] || '' ;
+ my $res = '' ;
+ if ( $text ) {
+ while ( ( $text ) &&
+ ( $text =~ /^(.*?)&([^;]+);(.*)$/ ) ) {
+ (my $prev,my $tag,$text) = ($1,$2,$3) ;
+ $prev =~ s/([a-z]+)/"<small>".uc($1)."<\/small>";/eg ;
+ $res .= $prev ;
+ if ( ( $tag =~ /^([a-z])/ ) &&
+ ( exists $HTML_ENTITY_CODES{$tag} ) &&
+ ( exists $HTML_ENTITY_CODES{ucfirst($tag)} ) ) {
+ $tag = ucfirst($tag) ;
+ }
+ $res .= "<small>&".$tag.";</small>" ;
+ }
+ if ( $text ) {
+ $text =~ s/([a-z]+)/"<small>".uc($1)."<\/small>";/eg ;
+ $res .= $text ;
+ }
+ }
+ return $res ;
+}
+
+=pod
+
+=item * nl2br()
+
+Translates newline characters into tags <BR>.
+Takes 1 arg:
+
+=over
+
+=item * text (string)
+
+is a I<string> which correspond to the text to translate.
+
+=back
+
+=cut
+sub nl2br($) {
+ my $text = $_[0] || '' ;
+ $text =~ s/[\n\r]/<BR>\n/g ;
+ return $text ;
+}
+
+=pod
+
+=item * br2nl()
+
+Translates tags <BR> into newline characters.
+Takes 1 arg:
+
+=over
+
+=item * text (string)
+
+is a I<string> which correspond to the text to translate.
+
+=back
+
+=cut
+sub br2nl($) {
+ my $text = $_[0] || '' ;
+ $text =~ s/<BR\s*\/?>[\n\r]*/\n/g ;
+ return $text ;
+}
+
+=pod
+
+=item * setAsValidHTML_small()
+
+Merge the "Valid HTML 4.1" small icon to the specified content.
+This icon must be copied by the calling generator as the file
+'path_to_root/valid-html401.gif'.
+Takes 3 args:
+
+=over
+
+=item * text (string)
+
+is a I<string> which correspond to the text to update.
+
+=item * rootdir (string)
+
+is the relative path to the root directory.
+
+=item * valid (array)
+
+is an associative array which content all the validation flags.
+The keys are the validated formats: 'html', 'xhtml', 'css'.
+
+=back
+
+=cut
+sub setAsValidHTML_small($$@) {
+ my $t = \$_[0] ; shift ;
+ my $rootdir = shift ;
+ my ($html,$xhtml,$css) ;
+ foreach my $p (@_) {
+ $html = 1 if ( "$p" eq 'html') ;
+ $xhtml = 1 if ( "$p" eq 'xhtml') ;
+ $css = 1 if ( "$p" eq 'css') ;
+ }
+
+ if (($html)||($xhtml)||($css)) {
+ $$t .= "<p align=\"right\">" ;
+ if ($html) {
+ $$t .= join( '',
+ "<a href=\"http://validator.w3.org/check?uri=referer\">",
+ "<img border=\"0\" src=\"",
+ htmlcatfile($rootdir,"valid-html401.gif"),
+ "\" ",
+ "alt=\"Valid HTML 4.01!\" height=\"15\" width=\"44\">",
+ "</a>" ) ;
+ }
+ if ($css) {
+ $$t .= join( '',
+ "<a href=\"http://jigsaw.w3.org/css-validator/\">",
+ "<img style=\"border:0;width:44px;height:15px\" ",
+ "src=\"",
+ htmlcatfile($rootdir,"valid-css.gif"),
+ "\" alt=\"Valid CSS!\">",
+ "</a>" ) ;
+ }
+ $$t .= "</p>" ;
+ }
+}
+
+=pod
+
+=item * setAsValidHTML()
+
+Merge the "Valid HTML 4.1" small icon to the specified content.
+This icon must be copied by the calling generator as the directory
+'path_to_root/'.
+Takes 3 args:
+
+=over
+
+=item * text (string)
+
+is a I<string> which correspond to the text to update.
+
+=item * rootdir (string)
+
+is the relative path to the root directory.
+
+=item * valid (array)
+
+is an associative array which content all the validation flags.
+The keys are the validated formats: 'html', 'xhtml', 'css'.
+
+=back
+
+=cut
+sub setAsValidHTML($$@) {
+ my $t = \$_[0] ; shift ;
+ my $rootdir = shift ;
+ my ($html,$xhtml,$css) ;
+ foreach my $p (@_) {
+ $html = 1 if ( "$p" eq 'html') ;
+ $xhtml = 1 if ( "$p" eq 'xhtml') ;
+ $css = 1 if ( "$p" eq 'css') ;
+ }
+
+ if (($html)||($xhtml)||($css)) {
+ $$t .= "<p align=\"right\">" ;
+ if ($html) {
+ $$t .= join( '',
+ "<a href=\"http://validator.w3.org/check?uri=referer\">",
+ "<img border=\"0\" src=\"",
+ htmlcatfile($rootdir,"valid-html401.gif"),
+ "\" ",
+ "alt=\"Valid HTML 4.01!\" height=\"31\" width=\"88\">",
+ "</a>" ) ;
+ }
+ if ($css) {
+ $$t .= join( '',
+ "<a href=\"http://jigsaw.w3.org/css-validator/\">",
+ "<img style=\"border:0;width:88px;height:31px\" ",
+ "src=\"",
+ htmlcatfile($rootdir,"valid-css.gif"),
+ "\" alt=\"Valid CSS!\">",
+ "</a>" ) ;
+ }
+ $$t .= "</p>" ;
+ }
+}
+
+=pod
+
+=item * html_getinitiales()
+
+Replies the initiales of the specified text
+Takes 1 arg:
+
+=over
+
+=item * text (string)
+
+=back
+
+=cut
+sub html_getinitiales($) {
+ my $text = $_[0] || '' ;
+ return __scan_html_text_and_apply( $text,
+ sub { $_[0] = __html_getinitiales($_[0]) ;
+ } ) ;
+}
+
+# TODO: leave the '-' inside the returned initials.
+sub __html_getinitiales($) {
+ my $text = $_[0] || '' ;
+ my $res = '' ;
+ while ( $text ) {
+ if ( $text =~ /^[_\.\-\s]*&([^;]+);([\.\-])(.*)$/ ) {
+ # Name's initial starting with an accentuated letter
+ (my $tag,my $sep,$text) = ($1,$2,$3);
+ if ( exists $HTML_ENTITY_CODES{$tag} ) {
+ $res .= "&".$tag.";$sep" ;
+ }
+ }
+ elsif ( $text =~ /^[_\.\-\s]*([^&\s\-\._])([\.\-])(.*)$/ ) {
+ # Name's initial starting with an accentuated letter
+ (my $tag,my $sep,$text) = ($1,$2,$3);
+ $res .= "$tag$sep";
+ }
+ elsif ( $text =~ /^[_\.\-\s]*&([^;]+);[^\s\-\._]*(.*)$/ ) {
+ # Long name starting with an accentuated letter
+ (my $tag,$text) = ($1,$2);
+ if ( exists $HTML_ENTITY_CODES{$tag} ) {
+ $res .= "&".$tag.";." ;
+ }
+ }
+ elsif ( $text =~ /^[_\.\-\s]*([^&\s\-\._])[^\s\-\._]*(.*)$/ ) {
+ # Long name starting with a not-accentuated letter
+ (my $tag,$text) = ($1,$2);
+ $res .= $tag.".";
+ }
+ else {
+ $text = '';
+ }
+ }
+ return $res ;
+}
+
+=pod
+
+=item * html_substr()
+
+Replies a substring of the specified text
+Takes 3 args:
+
+=over
+
+=item * text (string)
+
+=item * start (optional integer)
+
+=item * length (optional integer)
+
+=back
+
+=cut
+sub html_substr($;$$) {
+ my $text = $_[0] || '' ;
+ my $startpos = $_[1] || 0;
+ my $length = $_[2] || -1;
+ return __scan_html_text_and_apply( $text,
+ sub { $_[0] = __html_substr($_[0],$startpos,$length) ;
+ } ) ;
+}
+
+sub __html_substr($$$) {
+ my ($text,$pos,$length) = ($_[0],$_[1],$_[2]);
+ my @chars = html_split_to_chars($text);
+ $pos = @chars + $pos if ($pos<0);
+ $pos = @chars if ($pos>@chars);
+ $length = @chars if ($length<0);
+ my @res = ();
+ for(my $i=$pos; ($i<@chars)&&($i<($pos+$length)); $i++) {
+ push @res, $chars[$i];
+ }
+ return join('',@res);
+}
+
+=pod
+
+=item * html_split_chars()
+
+Replies an array of the characters in the given HTML string.
+Takes 1 arg:
+
+=over
+
+=item * text (string)
+
+an HTML string without HTML tags
+
+=back
+
+=cut
+
+sub html_split_to_chars($) {
+ my @chars = ();
+ while ($_[0] =~ /((?:&[^;]+;)|(?:[^&]))/g) {
+ push @chars, "$1";
+ }
+ return @chars;
+}
+
+=pod
+
+=item * sortbyletters(@)
+
+Sort by letter the specified parameter and
+replies it.
+Takes 1 arg:
+
+=over
+
+=item * array (string)
+
+=back
+
+=cut
+sub sortbyletters(\@) {
+ return sort {
+ my $elt1 = remove_html_accents($a || "");
+ my $elt2 = remove_html_accents($b || "");
+ $elt1 =~ s/[^a-zA-Z0-9]//g;
+ $elt2 =~ s/[^a-zA-Z0-9]//g;
+ return ($elt1 cmp $elt2);
+ } @{$_[0]};
+}
+
+=pod
+
+=item * remove_html_accents($)
+
+Remove the accents from the given html strings.
+Takes 1 arg:
+
+=over
+
+=item * str (string)
+
+=back
+
+=cut
+sub remove_html_accents($) {
+ my $orig = shift | '';
+ my $trans = "$orig";
+ while (my ($html,$code) = each(%HTML_ENTITY_CODES)) {
+ $trans =~ s/\&\#\Q$code\E;/$HTML_NO_ACCENT_ENTITY_CHARS{$html}/gs;
+ }
+ while (my ($html,$letter) = each(%HTML_NO_ACCENT_ENTITY_CHARS)) {
+ $trans =~ s/\&\Q$html\E;/$letter/gs;
+ }
+ return "$trans";
+}
+
+1;
+__END__
+
+=back
+
+=head1 COPYRIGHT
+
+(c) Copyright 1998-09 Stéphane Galland <galland@arakhne.org>, under GPL.
+
+=head1 AUTHORS
+
+=over
+
+=item *
+
+Conceived and initially developed by Stéphane Galland E<lt>galland@arakhne.orgE<gt>.
+
+=back
+
+=head1 SEE ALSO
+
+phpdocgen.pl
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/General/Misc.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/General/Misc.pm
new file mode 100644
index 0000000000..6354201a00
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/General/Misc.pm
@@ -0,0 +1,1554 @@
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+=pod
+
+=head1 NAME
+
+Bib2HTML::General::Misc - Miscellaneous definitions
+
+=head1 DESCRIPTION
+
+Bib2HTML::General::Misc is a Perl module, which proposes
+a set of miscellaneous functions.
+
+=head1 METHOD DESCRIPTIONS
+
+This section contains only the methods in Misc.pm itself.
+
+=over
+
+=cut
+
+package Bib2HTML::General::Misc;
+
+@ISA = ('Exporter');
+@EXPORT = qw( &strinarray &mkdir_rec &add_value_entry
+ &isemptyhash &buildtree &removefctbraces
+ &addfctbraces &extract_file_from_location
+ &extract_line_from_location &formathashkeyname
+ &formatfctkeyname &isarray &ishash &isemptyarray
+ &hashcount &is_valid_regex &tohumanreadable
+ &readfileastext &valueinhash &issub &isnumber
+ &arabictoroman &romantoarabic &extract_first_words
+ &force_add_value_entry &tonumber &addslashes
+ &restore_strings &remove_strings &removeslashes
+ &array_slice &filecopy &ucwords
+ &integer2alphabetic &splittocolumn &uniq &trim
+ &splittocolumn_base &levenshtein
+ &levenshtein_ops &shell_to_regex);
+@EXPORT_OK = qw();
+
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+
+use File::Spec ;
+use File::Copy ;
+
+#------------------------------------------------------
+#
+# Global vars
+#
+#------------------------------------------------------
+
+# Version number of the misc functions
+my $VERSION = "4.0" ;
+
+#------------------------------------------------------
+#
+# General purpose functions
+#
+#------------------------------------------------------
+
+=pod
+
+=item * splittocolumn_base()
+
+Replies the specified text splitted to the given column.
+This function treats the text line by line.
+Takes 3 args:
+
+=over
+
+=item * text (string)
+
+=item * column (integer)
+
+=item * header (optional string)
+
+is the text to merge in the begining of each line.
+
+=back
+
+=cut
+sub splittocolumn_base($$;$) {
+ my $source = shift || '' ;
+ my $size = shift || 0 ;
+
+ return "$source" unless (($source)&&($size>0)) ;
+
+ my $header = shift || '' ;
+
+ my @result = () ;
+
+ foreach my $line (split(/[\n\r\f]/, "$source")) {
+
+ my $result = '' ;
+ my $linesize = 0 ;
+ my $startline = 1 ;
+
+ foreach my $w (split(/[ \t]+/, $line)) {
+ if ($w) {
+
+ if ($startline) {
+ $linesize = length("$w")+length("$header") ;
+ $result .= "$header$w" ;
+ $startline = 0 ;
+
+ }
+ else {
+
+ if (($linesize+length($w)+1)>$size) {
+ $result .= "\n$header$w" ;
+ $linesize = length("$header")+length($w) ;
+ }
+ else {
+ $result .= " $w" ;
+ $linesize += length($w)+1 ;
+ }
+
+ }
+ }
+ }
+
+ push @result, "$result" ;
+
+ }
+
+ return join("\n",@result) ;
+}
+
+=pod
+
+=item * splittocolumn()
+
+Replies the specified text splitted to the given column.
+This function treats the text line by line.
+Takes 4 args:
+
+=over
+
+=item * text (string)
+
+=item * column (integer)
+
+=item * ident (integer)
+
+is the text which will be merged to each begining
+of lines.
+
+=item * firstindent (integer)
+
+if positive, indicates how mush the first line must be indented
+
+=back
+
+=cut
+sub splittocolumn($$$;$) {
+ my $source = shift || '' ;
+ my $size = shift || 0 ;
+
+ return "$source" unless (($source)&&($size>0)) ;
+
+ my $indent = shift || 0 ;
+ my $firstindent = shift ;
+ $firstindent = 0 unless (($firstindent)&&($firstindent>0)) ;
+
+ my ($indent_str,$first_indent) = ('','') ;
+
+ {
+ for(my $i=0; (($i<$indent)||($i<$firstindent)); $i++) {
+ $indent_str .= ' ' if ($i<$indent) ;
+ $first_indent .= ' ' if ($i<$firstindent) ;
+ }
+ }
+ my @result = () ;
+ my $veryfirstline = 1 ;
+
+ foreach my $line (split(/[\n\r\f]/, "$source")) {
+
+ my $result = '' ;
+ my $linesize = 0 ;
+ my $startline = 1 ;
+
+ foreach my $w (split(/[ \t]+/, $line)) {
+ if ($w) {
+
+ if ($startline) {
+ $linesize = length("$w") ;
+ if ($veryfirstline) {
+ $linesize += $firstindent ;
+ $result .= "$first_indent" ;
+ }
+ $result .= "$w" ;
+ $startline = 0 ;
+
+ }
+ else {
+
+ if (($linesize+length($w)+1)>$size) {
+ $result .= "\n$indent_str$w" ;
+ $linesize = $indent+length($w) ;
+ }
+ else {
+ $result .= " $w" ;
+ $linesize += length($w)+1 ;
+ }
+
+ }
+ }
+ }
+
+ push @result, "$result" ;
+ $veryfirstline = 0 ;
+
+ }
+
+ return join("\n",@result) ;
+}
+
+=pod
+
+=item * strinarray()
+
+Replies if the specified value is in an array.
+Takes 2 args:
+
+=over
+
+=item * str (string)
+
+is the string to search.
+
+=item * array (array ref)
+
+is the array in which the string will be searched.
+
+=back
+
+=cut
+sub strinarray($$) {
+ return 0 unless ( $_[1] ) && ( $_[0] ) ;
+ foreach my $g (@{$_[1]}) {
+ if ( $g eq $_[0] ) {
+ return 1 ;
+ }
+ }
+ return 0 ;
+}
+
+=pod
+
+=item * valueinhash()
+
+Replies if the specified value is a value of thez associative array.
+Takes 2 args:
+
+=over
+
+=item * str (string)
+
+is the string to search.
+
+=item * hash (hash ref)
+
+is the associative array in which the string will be searched.
+
+=back
+
+=cut
+sub valueinhash($$) {
+ return 0 unless ( $_[1] ) && ( $_[0] ) ;
+ foreach my $k (keys %{$_[1]}) {
+ if ( ( $_[1]->{$k} ) &&
+ ( $_[1]->{$k} eq $_[0] ) ) {
+ return 1 ;
+ }
+ }
+ return 0 ;
+}
+
+=pod
+
+=item * mkdir_rec()
+
+Creates recursively a directory.
+Takes 1 arg:
+
+=over
+
+=item * path (string)
+
+is the name of the directory to create.
+
+=back
+
+=cut
+sub mkdir_rec($) {
+ # Fix proposed by joezespak@yahoo.com:
+ # platform-independant paths
+ return 0 unless $_[0] ;
+ my $param = File::Spec->rel2abs($_[0]) ;
+ my @parts = File::Spec->splitdir( $param ) ;
+ my $current = "" ;
+ foreach my $r (@parts) {
+ # Fix by joezespak@yahoo.com:
+ # support of absolute paths
+ if ( $r ) {
+ $current = File::Spec->catdir($current,$r) ;
+ }
+ else {
+ $current = File::Spec->rootdir() ;
+ }
+ if ( ! -d "$current" ) {
+ if ( ! mkdir( "$current", 0777 ) ) {
+ return 0 ;
+ }
+ }
+ }
+ return 1 ;
+}
+
+=pod
+
+=item * isemptyhash()
+
+Replies if the specified hashtable was empty.
+Takes 1 arg:
+
+=over
+
+=item * hash (hash ref)
+
+is the hash table.
+
+=back
+
+=cut
+sub isemptyhash($) {
+ if ( ! $_[0] ) {
+ return (1==1) ;
+ }
+ else {
+ my @k = keys %{$_[0]} ;
+ return ($#k < 0) ;
+ }
+}
+
+=pod
+
+=item * isemptyarray()
+
+Replies if the specified array was empty.
+Takes 1 arg:
+
+=over
+
+=item * array (array ref)
+
+is the array.
+
+=back
+
+=cut
+sub isemptyarray($) {
+ if ( ! $_[0] ) {
+ return (1==1) ;
+ }
+ else {
+ return ($#{$_[0]} < 0) ;
+ }
+}
+
+=pod
+
+=item * hashcount()
+
+Replies the count of keys inside the specified hash.
+Takes 1 arg:
+
+=over
+
+=item * hash (hash ref)
+
+is the hash table.
+
+=back
+
+=cut
+sub hashcount($) {
+ if ( ! $_[0] ) {
+ return 0 ;
+ }
+ else {
+ my @k = keys %{$_[0]} ;
+ return (0 + @k) ;
+ }
+}
+
+=pod
+
+=item * ishash()
+
+Replies if the specified struct is an hash.
+Takes 1 arg:
+
+=over
+
+=item * object
+
+is the object to test.
+
+=back
+
+=cut
+sub ishash {
+ return 0 unless defined($_[0]) ;
+ my $r = ref( $_[0] ) ;
+ return ( $r eq "HASH" ) ;
+}
+
+=pod
+
+=item * issub()
+
+Replies if the specified parameter is a sub name.
+Takes 1 arg:
+
+=over
+
+=item * name (string)
+
+is the name of a sub
+
+=back
+
+=cut
+sub issub($) {
+ return 0 unless defined($_[0]) ;
+ return defined( &{$_[0]} ) ;
+}
+
+=pod
+
+=item * isarray()
+
+Replies if the specified struct is an array.
+Takes 1 arg:
+
+=over
+
+=item * object
+
+is the object to test.
+
+=back
+
+=cut
+sub isarray {
+ return 0 unless defined($_[0]) ;
+ my $r = ref( $_[0] ) ;
+ return ( $r eq "ARRAY" ) ;
+}
+
+=pod
+
+=item * add_value_entry()
+
+Adds an entry to the specified hashtable. if the
+the value is not defined, adds as a scalar, else
+adds as a array entry.
+Takes 3 args:
+
+=over
+
+=item * hash (hash ref)
+
+is the hashtable.
+
+=item * key (string)
+
+is the key in which the value must be put.
+
+=item * value
+
+is the value.
+
+=back
+
+=cut
+sub add_value_entry($$$) {
+ if ( ( $_[0] ) && ( $_[1] ) &&
+ ( $_[2] ) ) {
+ if ( exists $_[0]{$_[1]} ) {
+ my $old = $_[0]{$_[1]} ;
+ my $r = ref( $old ) ;
+ if ( ! ( $r eq "ARRAY" ) ) {
+ delete $_[0]{$_[1]} ;
+ push( @{$_[0]{$_[1]}}, $old ) ;
+ }
+ push( @{$_[0]{$_[1]}}, $_[2] ) ;
+ }
+ else {
+ $_[0]{$_[1]} = $_[2] ;
+ }
+ }
+}
+
+=pod
+
+=item * force_add_value_entry()
+
+Adds an entry to the specified hashtable. if the
+the value is not defined, adds as a scalar, else
+adds as a array entry.
+Takes 3 args:
+
+=over
+
+=item * hash (hash ref)
+
+is the hashtable.
+
+=item * key (string)
+
+is the key in which the value must be put.
+
+=item * value
+
+is the value.
+
+=back
+
+=cut
+sub force_add_value_entry($$$) {
+ if ( ( $_[0] ) && ( $_[1] ) ) {
+ my $value = $_[2] || '' ;
+ if ( exists $_[0]{$_[1]} ) {
+ my $old = $_[0]{$_[1]} ;
+ my $r = ref( $old ) ;
+ if ( ! ( $r eq "ARRAY" ) ) {
+ delete $_[0]{$_[1]} ;
+ push( @{$_[0]{$_[1]}}, $old ) ;
+ }
+ push( @{$_[0]{$_[1]}}, $value ) ;
+ }
+ else {
+ $_[0]{$_[1]} = $value ;
+ }
+ }
+}
+
+=pod
+
+=item * buildtree()
+
+Updates the specified hashtable by
+adding the value at the specified keys.
+Takes 2 args:
+
+=over
+
+=item * hash (hash ref)
+
+is the tree.
+
+=item * keys (array ref)
+
+is the array of the keys.
+
+=item * name (string)
+
+is the classname.
+
+=back
+
+=cut
+sub buildtree($$$) {
+ return unless ( (isarray($_[1])) && $_[2] ) ;
+ my $ref = $_[0] || '' ;
+ foreach my $key (@{$_[1]}) {
+ if ( ! ( exists $$ref{$key} ) ) {
+ my %hash = () ;
+ $$ref{$key} = \%hash ;
+ }
+ $ref = $$ref{$key} ;
+ }
+ if ( ! ( exists $$ref{$_[2]} ) ) {
+ $$ref{$_[2]} = { } ;
+ }
+}
+
+=pod
+
+=item * removefctbraces()
+
+Replies a string without "()" at the end.
+Takes 1 arg:
+
+=over
+
+=item * str (string)
+
+is a string.
+
+=back
+
+=cut
+sub removefctbraces($) {
+ my $name = $_[0] || '' ;
+ if ( $name ) {
+ $name =~ s/\s*\(\s*\)\s*$// ;
+ }
+ return $name ;
+}
+
+=pod
+
+=item * addfctbraces()
+
+Replies a string with "()" at the end.
+Takes 1 arg:
+
+=over
+
+=item * str (string)
+
+is a string.
+
+=back
+
+=cut
+sub addfctbraces($) {
+ my $name = removefctbraces( $_[0] ) ;
+ return $name."()" ;
+}
+
+=pod
+
+=item * extract_file_from_location()
+
+Replies the file from the specified location.
+Takes 1 arg:
+
+=over
+
+=item * location (string)
+
+is the location inside the input stream.
+
+=back
+
+=cut
+sub extract_file_from_location($) {
+ return '' unless $_[0] ;
+ my $loc = $_[0] ;
+ my $file = "" ;
+ $loc =~ s/^(.*):[0-9]*/$file=$1;/e ;
+ return $file ;
+}
+
+=pod
+
+=item * extract_line_from_location()
+
+Replies the line number from the specified location.
+Takes 1 arg:
+
+=over
+
+=item * location (string)
+
+is the location inside the input stream.
+
+=back
+
+=cut
+sub extract_line_from_location($) {
+ return 0 unless $_[0] ;
+ my $loc = $_[0] ;
+ my $line = 0 ;
+ $loc =~ s/^.*:([0-9]*)/$line=$1;/e ;
+ if ( $line > 0 ) {
+ return $line ;
+ }
+ else {
+ return 0 ;
+ }
+}
+
+#------------------------------------------------------
+#
+# Formating of the name of the tokens
+#
+#------------------------------------------------------
+
+=pod
+
+=item * formathashkeyname()
+
+Replies a formatted hash key name.
+Takes 1 arg:
+
+=over
+
+=item * name (string)
+
+is the string to format.
+
+=back
+
+=cut
+sub formathashkeyname($) {
+ return lc( $_[0] || '' ) ;
+}
+
+=pod
+
+=item * formatfctkeyname()
+
+Replies a formatted hash key name for functions.
+Takes 1 arg:
+
+=over
+
+=item * name (string)
+
+is the string to format.
+
+=back
+
+=cut
+sub formatfctkeyname($) {
+ return addfctbraces( formathashkeyname( $_[0] || '' ) ) ;
+}
+
+=pod
+
+=item * is_valid_regex()
+
+Replies if the specified regular expression
+was well-formed.
+Takes 1 arg:
+
+=over
+
+=item * regex (string)
+
+is the regular expression to verify.
+
+=back
+
+=cut
+sub is_valid_regex($) {
+ return 0 unless $_[0] ;
+ return eval { "" =~ /$_[0]/; 1; } || 0 ;
+}
+
+=pod
+
+=item * tohumanreadable()
+
+Replies a string string that corresponds to
+the human readable form of the specified string.
+Takes 1 arg:
+
+=over
+
+=item * string (string)
+
+is the string to convert.
+
+=back
+
+=cut
+sub tohumanreadable($) {
+ my $string = $_[0] || '' ;
+ $string =~ s/\n/\\n/g;
+ $string =~ s/\r/\\r/g;
+ $string =~ s/\t/\\t/g;
+ $string =~ s/\"/\\\"/g;
+ $string =~ s/\'/\\\'/g;
+ return $string ;
+}
+
+=pod
+
+=item * readfileastext()
+
+Replies the content of a file as a string
+Takes 1 arg:
+
+=over
+
+=item * filename (string)
+
+is the name of the file to read
+
+=back
+
+=cut
+sub readfileastext($) {
+ my $string = "" ;
+ return $string unless $_[0] ;
+ open( READFILE_FID, "< $_[0]" )
+ or Bib2HTML::General::Error::syserr( "unable to open $_[0]: $!" ) ;
+ while ( my $line = <READFILE_FID> ) {
+ $string .= $line ;
+ }
+ close( READFILE_FID )
+ or Bib2HTML::General::Error::syserr( "unable to close $_[0]: $!" ) ;
+ return $string ;
+}
+
+=pod
+
+=item * isnumber()
+
+Replies if the parameter is a arabic or a roman number
+Takes 1 arg:
+
+=over
+
+=item * text (string)
+
+is the text to scan
+
+=back
+
+=cut
+sub isnumber($) {
+ return ( ( $_[0] ) &&
+ ( ( $_[0] =~ /^\s*[0-9]+\s*$/ ) ||
+ ( romantoarabic($_[0]) >= 0 ) ) ) ;
+}
+
+=pod
+
+=item * tonumber()
+
+Replies the integer value that correspond to the
+specified number. Replies undef if something wrong
+appends.
+Takes 1 arg:
+
+=over
+
+=item * number (string)
+
+is the text to translate
+
+=back
+
+=cut
+sub tonumber($) {
+ my $number = undef ;
+ if ( isnumber($_[0]) ) {
+ if ( $_[0] =~ /^\s*[0-9]+\s*$/ ) {
+ $number = $_[0] ;
+ $number =~ s/^\s+//m ;
+ $number =~ s/\s+$//m ;
+ }
+ else {
+ my $n = romantoarabic($_[0]) ;
+ if ( $n > 0 ) {
+ $number = $n ;
+ }
+ }
+ }
+ return $number ;
+}
+
+=pod
+
+=item * arabictoroman()
+
+Replies the roman number that correspond to the
+specified arabic number
+Takes 1 arg:
+
+=over
+
+=item * arabic (integer)
+
+is the number to convert
+
+=back
+
+=cut
+sub arabictoroman($) {
+ my $nb = $_[0] || 0 ;
+ my @CENT_TRANS_TBL = ( '', 'C', 'CC', 'CCC', 'CD', 'D', 'DC', 'DCC', 'DCCC', 'CM' ) ;
+ my @DEC_TRANS_TBL = ( '', 'X', 'XX', 'XXX', 'XL', 'L', 'LX', 'LXX', 'LXXX', 'XC' ) ;
+ my @UNIT_TRANS_TBL = ( '', 'I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX' ) ;
+ my $roman = "" ;
+ my $mille = int($nb / 1000) ;
+ my $cent = int(($nb % 1000) / 100) ;
+ my $dec = int(($nb % 100) / 10) ;
+ my $unit = $nb % 10 ;
+
+ while( $mille > 0 ) {
+ $roman .= "M" ;
+ $mille -- ;
+ }
+ $roman .= $CENT_TRANS_TBL[$cent] ;
+ $roman .= $DEC_TRANS_TBL[$dec] ;
+ $roman .= $UNIT_TRANS_TBL[$unit] ;
+ return $roman ;
+}
+
+=pod
+
+=item * romantoarabic()
+
+Replies the arabic number that correspond to the
+specified roman number
+Takes 1 arg:
+
+=over
+
+=item * roman (integer)
+
+is the number to convert
+
+=back
+
+=cut
+sub romantoarabic($) {
+ my $nb = $_[0] || '' ;
+ my @CENT_TRANS_TBL = ( '', 'C', 'CC', 'CCC', 'CD', 'D', 'DC', 'DCC', 'DCCC', 'CM' ) ;
+ my @DEC_TRANS_TBL = ( '', 'X', 'XX', 'XXX', 'XL', 'L', 'LX', 'LXX', 'LXXX', 'XC' ) ;
+ my @UNIT_TRANS_TBL = ( '', 'I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX' ) ;
+
+ my $roman = uc($nb) ;
+ my $arabic = 0 ;
+
+ if ( $roman =~ /^(M*)(.*)$/ ) {
+ $roman = $2 ;
+ $arabic = 1000 * length($1) ;
+ if ( ___romantoarabic($arabic,$roman,100,\@CENT_TRANS_TBL) ) {
+ if ( ___romantoarabic($arabic,$roman,10,\@DEC_TRANS_TBL) ) {
+ if ( ___romantoarabic($arabic,$roman,1,\@UNIT_TRANS_TBL) ) {
+ return $arabic ;
+ }
+ }
+ }
+ }
+ return -1 ;
+}
+
+sub ___romantoarabic($$$$) {
+ my ($max,$index,$after) = ('',-1,$_[1]) ;
+ for(my $i=1; $i<=$#{$_[3]};$i++) {
+ if ( $_[1] =~ /^($_[3][$i])(.*)$/ ) {
+ my ($nb,$reste) = ($1,$2) ;
+ if ( length($nb) > length($max) ) {
+ $max = $nb ;
+ $index = $i ;
+ $after = $reste ;
+ }
+ }
+ }
+ if ( $index > 0 ) {
+ $_[1] = $after ;
+ $_[0] += $_[2] * $index ;
+ return 1 ;
+ }
+ else {
+ return 0 ;
+ }
+}
+
+=pod
+
+=item * extract_first_words()
+
+Replies the first words of the specified string.
+Takes 2 args:
+
+=over
+
+=item * text (string)
+
+is the text from which the words must be extracted
+
+=item * len (integer)
+
+is the maximal length of the result
+
+=back
+
+=cut
+sub extract_first_words($$) {
+ my $index = $_[1] || 0 ;
+ my @words = split(/\s+/, ($_[0] || '')) ;
+ return '' unless @words ;
+ my ($result,$i) = ('',0) ;
+
+ while ( ( $i <= $#words ) && ( (length($result)+length($words[$i])) <= $index )) {
+ $result .= " " if ( $result ) ;
+ $result .= $words[$i] ;
+ $i ++ ;
+ }
+
+ if ( $i == 0 ) {
+ $result = substr($words[0],0,$index-3) ;
+ }
+ elsif ( $i < int(@words) ) {
+ if ( length($result) > $index ) {
+ $result = substr($result,0,$index-3) ;
+ }
+ $result .= "..." ;
+ }
+
+ return $result ;
+}
+
+=pod
+
+=item * addslahes()
+
+Replies a string in which the " are protected
+Takes 1 args:
+
+=over
+
+=item * text (string)
+
+is the text to translate
+
+=back
+
+=cut
+sub addslashes($) {
+ my $text = $_[0] || '' ;
+ $text =~ s/\\/\\\\/g ;
+ $text =~ s/"/\\"/g ;
+ return $text ;
+}
+
+=pod
+
+=item * removeslahes()
+
+Replies a string in which the " are unprotected
+Takes 1 args:
+
+=over
+
+=item * text (string)
+
+is the text to translate
+
+=back
+
+=cut
+sub removeslashes($) {
+ my $text = $_[0] || '' ;
+ $text =~ s/\\(.)/$1/g ;
+ return $text ;
+}
+
+=pod
+
+=item * remove_strings()
+
+Takes 2 args:
+
+=over
+
+=item * array (ref)
+
+=item * text (string)
+
+is the text to translate
+
+=back
+
+=cut
+sub remove_strings($$) {
+ my $delims= "\\\"|\\'" ;
+ my $count = int(@{$_[0]}) ;
+ while ( $_[1] =~ /($delims)/ ) {
+ my $delim = $1 ;
+ $_[1] =~ s/$delim((\\$delim|[^$delim])*)$delim/$_[0]->[$count++]="$1";"<<STRING".$count.">>"/ge;
+ }
+}
+
+=pod
+
+=item * restore_strings()
+
+Takes 2 args:
+
+=over
+
+=item * array (ref)
+
+=item * text (string)
+
+is the text to translate
+
+=back
+
+=cut
+sub restore_strings($$) {
+ $_[1] =~ s/<<STRING([0-9]+)>>/$_[0]->[$1-1]/eg ;
+}
+
+=pod
+
+=item * integer2alphabetic()
+
+Replies the string representation of the specified integer.
+Takes 1 arg.
+
+=cut
+sub integer2alphabetic($) {
+ my $value = $_[0] || 0 ;
+ my $q = chr( ord('a') + ( $value % 26 ) ) ;
+ while ( $value >= 26 ) {
+ $value = ($value/26)-1 ;
+ $q = chr( ord('a') + ( ($value % 26) % 26 ) ) . $q ;
+ }
+ return $q ;
+}
+
+=pod
+
+=item * array_slice()
+
+Slices an array content and insert the specified string
+Takes 3 args:
+
+=over
+
+=item * array (ref)
+
+=item * location (integer)
+
+is the index where insert the string
+
+=item * str (string)
+
+is the string to insert
+
+=back
+
+=cut
+sub array_slice($$$) {
+ return unless ( (isarray($_[0])) && ($_[1]>=0) ) ;
+ my $i=$#{$_[0]} ;
+ while ( $i >= $_[1] ) {
+ $_[0]->[$i+1] = $_[0]->[$i] ;
+ $i -- ;
+ }
+ $_[0]->[$_[1]] = $_[2] ;
+}
+
+=pod
+
+=item * filecopy()
+
+Copy a file
+Takes 2 args:
+
+=over
+
+=item * source (string)
+
+=item * target (string)
+
+=back
+
+=cut
+sub filecopy($$) {
+# if ( ! "$_[0]" ) {
+# $! = 2 ;
+# return 0 ;
+# }
+# if ( ! "$_[1]" ) {
+# $! = 2 ;
+# return 0 ;
+# }
+# if ( ! -f "$_[0]" ) {
+# $! = 2 ;
+# return 0 ;
+# }
+# local (*SOURCE,*TARGET) ;
+# open( *SOURCE, "< $_[0]" )
+# or return 0 ;
+# if ( ! open( *TARGET, "> $_[1]" ) ) {
+# my $msg = $! ;
+# close( *SOURCE ) ;
+# $! = $msg ;
+# return 0 ;
+# }
+# my ($tampon,$q,$w) ;
+# $q = sysread( *SOURCE, $tampon, 4096 ) ;
+# if ( ! defined( $q ) ) {
+# my $msg = $! ;
+# close( *TARGET ) ;
+# close( *SOURCE ) ;
+# unlink( $_[1] ) ;
+# $! = $msg ;
+# return 0 ;
+# }
+# while ( $q > 0 ) {
+# $w = syswrite( *TARGET, $tampon, $q ) ;
+# if ( ! defined( $w ) ) {
+# my $msg = $! ;
+# close( *TARGET ) ;
+# close( *SOURCE ) ;
+# unlink( $_[1] ) ;
+# $! = $msg ;
+# return 0 ;
+# }
+# $q = sysread( *SOURCE, $tampon, 4096 ) ;
+# if ( ! defined( $q ) ) {
+# my $msg = $! ;
+# close( *TARGET ) ;
+# close( *SOURCE ) ;
+# unlink( $_[1] ) ;
+# $! = $msg ;
+# return 0 ;
+# }
+# }
+# close( *TARGET ) ;
+# close( *SOURCE ) ;
+# return 1 ;
+
+ return copy("$_[0]","$_[1]") ;
+
+}
+
+=pod
+
+=item * ucwords()
+
+Upper case the first letter of each word.
+Takes 1 arg:
+
+=over
+
+=item * text (string)
+
+=back
+
+=cut
+sub ucwords($) {
+ my $text = $_[0] || '' ;
+ $text =~ s/^([^\s\-_])/\u$1/g ;
+ $text =~ s/(?<=[\s\-_])([^\s\-_]+)/\u$1/g ;
+ return $text ;
+}
+
+
+=pod
+
+=item * uniq()
+
+Eliminates redundant values from sorted list of values input.
+Takes 1 arg:
+
+=over
+
+=item * items (list)
+
+The sorted list to be made uniq
+
+=back
+
+=cut
+sub uniq {
+ # Function added the 2003/03/17 by a patch from Norbert Preining
+ #
+ # Eliminates redundant values from sorted list of values input.
+ my $prev = undef;
+ my @out=();
+ foreach my $val (@_){
+ next if $prev && ($prev eq $val);
+ $prev = $val;
+ push(@out, $val);
+ }
+ return @out;
+}
+
+=pod
+
+=item * trim()
+
+Eliminates trailing spaces for each parameter.
+
+=cut
+sub trim {
+ foreach my $val (@_){
+ $val =~ s/^\s+// ;
+ $val =~ s/\s+$// ;
+ }
+}
+
+=pod
+
+=item * __matchlen()
+
+Returns the length of matching
+substrings at beginning of $a and $b.
+Takes 2 args:
+
+=over
+
+=item * str1 (string)
+
+=item * str2 (string)
+
+=back
+
+=cut
+sub __matchlen($$) {
+ my $c=0;
+ my $alen = length($_[0]);
+ my $blen = length($_[1]);
+ my $d = ($alen<$blen)?$alen:$blen;
+ while( (substr($_[0],$c,1) eq substr($_[1],$c,1))&&
+ ($c<$d) ) {
+ $c++;
+ }
+ return $c;
+}
+
+=pod
+
+=item * levenshtein_ops()
+
+Computes the levenshtein distance between two strings.
+A levenshtein distance corresponds to the adds, removes
+required to transform a string to obtain another one.
+Replies the actions to perform.
+Takes 2 args:
+
+=over
+
+=item * str1 (string)
+
+=item * str2 (string)
+
+=back
+
+=cut
+sub levenshtein_ops($$) {
+ my $alen = length($_[0]);
+ my $blen = length($_[1]);
+ my $aptr = 0;
+ my $bptr = 0;
+ my $stop = 0 ;
+
+ my @ops = ();
+
+ while((!$stop)&&($aptr<$alen)&&($bptr<$blen)) {
+ # Search for similar text at the start
+ my $matchlen = __matchlen(substr($_[0], $aptr), substr($_[1], $bptr));
+ if($matchlen>0) {
+ #
+ # Similar text found
+ #
+ push @ops, { '=' => substr($_[0], $aptr, $matchlen) };
+ $aptr += $matchlen;
+ $bptr += $matchlen;
+ }
+ else {
+ #
+ # Difference found
+ #
+ # search for the best next similar text
+ my $bestlen=0;
+ my @bestpos=(0,0);
+ my $bestfound = 0 ;
+ for(my $atmp=$aptr; (!$bestfound)&&($atmp<$alen); $atmp++) {
+ for(my $btmp=$bptr; $btmp<$blen; $btmp++) {
+ my $matchlen = __matchlen(substr($_[0], $atmp),
+ substr($_[1], $btmp));
+ if($matchlen>$bestlen) {
+ $bestlen = $matchlen;
+ @bestpos = ($atmp,$btmp);
+ }
+ $bestfound = ($matchlen>=$blen-$btmp) ;
+ }
+ }
+ if ($bestlen>0) {
+
+ my $adifflen = $bestpos[0] - $aptr;
+ my $bdifflen = $bestpos[1] - $bptr;
+
+ if($adifflen>0) {
+ push @ops, { '-' => substr($_[0], $aptr, $adifflen) };
+ $aptr += $adifflen;
+ }
+ if($bdifflen) {
+ push @ops, { '+' => substr($_[1], $bptr, $bdifflen) };
+ $bptr += $bdifflen;
+ }
+ push @ops, { '=' => substr($_[0], $aptr, $bestlen) };
+ $aptr += $bestlen;
+ $bptr += $bestlen;
+ }
+ else {
+ $stop = 1 ;
+ }
+ }
+ }
+ if($aptr<$alen) {
+ # b has too much stuff
+ push @ops, { '-' => substr($_[0], $aptr) };
+ }
+ if($bptr<$blen) {
+ # a has too little stuff
+ push @ops, { '+' => substr($_[1], $bptr) };
+ }
+ return @ops;
+}
+
+=pod
+
+=item * levenshtein()
+
+Computes the levenshtein distance between two strings.
+A levenshtein distance corresponds to the adds, removes
+required to transform a string to obtain another one.
+Replies the percent of similarity of the strings.
+Takes 2 args:
+
+=over
+
+=item * str1 (string)
+
+=item * str2 (string)
+
+=back
+
+=cut
+sub levenshtein($$) {
+ my @ops = &levenshtein_ops($_[0],$_[1]) ;
+ my $alen = length($_[0]);
+ my $blen = length($_[1]);
+ my $max = ($alen>$blen)?$alen:$blen ;
+ if ($max<=0) {
+ return 0 ;
+ }
+ my $count = 0 ;
+ foreach my $op (@ops) {
+ if ($op->{'='}) {
+ $count = $count + length($op->{'='}) ;
+ }
+ }
+ return ($count*100)/$max ;
+}
+
+=pod
+
+=item * shell_to_regex()
+
+Translate a string that contains shell's wildcards to
+its equivalent expressed with regular expressions.
+Takes 1 arg:
+
+=over
+
+=item * shell_string (string)
+
+=back
+
+=cut
+sub shell_to_regex($) {
+ my $shell_string = shift;
+ my $regex_string = '';
+ while ($shell_string =~ /^(.*?)([*?\[])(.*)$/) {
+ my ($prev,$sep,$after) = ($1,$2,$3);
+ if ($prev) {
+ $prev =~ s/\./\\./g;
+ $prev =~ s/\+/\\+/g;
+ $prev =~ s/\(/\\(/g;
+ $prev =~ s/\)/\\)/g;
+ $prev =~ s/\^/\\^/g;
+ $prev =~ s/\\/\\\\/g;
+ $prev =~ s/\$/\\\$/g;
+ $prev =~ s/\|/\\|/g;
+ $regex_string .= $prev;
+ }
+ if ($sep eq '*') {
+ $regex_string .= '.*';
+ }
+ elsif ($sep eq '?') {
+ $regex_string .= '.';
+ }
+ elsif ($sep eq '[') {
+ if ($after =~ /^([^\]]+)\](.*)$/) {
+ $after = $2;
+ $regex_string .= "[$1]";
+ }
+ else {
+ $regex_string .= '[';
+ }
+ }
+ $shell_string = $after;
+ }
+ if ($shell_string) {
+ $shell_string =~ s/\./\\./g;
+ $shell_string =~ s/\+/\\+/g;
+ $shell_string =~ s/\(/\\(/g;
+ $shell_string =~ s/\)/\\)/g;
+ $shell_string =~ s/\^/\\^/g;
+ $shell_string =~ s/\\/\\\\/g;
+ $shell_string =~ s/\$/\\\$/g;
+ $shell_string =~ s/\|/\\|/g;
+ $regex_string .= $shell_string;
+ }
+ return '^'.$regex_string.'$';
+}
+
+1;
+__END__
+
+=back
+
+=head1 COPYRIGHT
+
+(c) Copyright 1998-09 Stéphane Galland <galland@arakhne.org>, under GPL.
+
+=head1 AUTHORS
+
+=over
+
+=item *
+
+Conceived and initially developed by Stéphane Galland E<lt>galland@arakhne.orgE<gt>.
+
+=back
+
+=head1 SEE ALSO
+
+bib2html.pl
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/General/Title.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/General/Title.pm
new file mode 100644
index 0000000000..f0ce9a7196
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/General/Title.pm
@@ -0,0 +1,145 @@
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+=pod
+
+=head1 NAME
+
+Bib2HTML::General::Title - Utility functions for titles
+
+=head1 SYNOPSYS
+
+use Bib2HTML::General::Title ;
+
+=head1 DESCRIPTION
+
+Bib2HTML::General::Title is a Perl module, which proposes
+functions to support the titles
+
+=head1 GETTING STARTED
+
+=head2 Initialization
+
+To use this package, say something like this:
+
+ use Bib2HTML::General::Title;
+
+...or something similar.
+
+=cut
+
+package Bib2HTML::General::Title;
+
+@ISA = ('Exporter');
+@EXPORT = qw( &get_title_keywords );
+@EXPORT_OK = qw();
+
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+use Exporter;
+use Carp ;
+
+use Bib2HTML::General::Misc ;
+
+#------------------------------------------------------
+#
+# Global vars
+#
+#------------------------------------------------------
+
+# Version number of the parser
+my $VERSION = "1.0" ;
+
+# The keywords that could be ignored
+my @IGNORABLE_WORDS = ( # English
+ 'the', 'a', 'an', 'in', 'on', 'inside', 'to',
+ 'and', 'by', 'for', 'based', 'of', 'his', 'her',
+ # French
+ 'la', 'le', 'les', 'dans', 'de', 'd', 'un', 'une',
+ 'vers', 'sur', 'et', 'pour', 'par', 'en',
+ ) ;
+
+# The forms of words that could be ignored
+my @IGNORABLE_WORD_FORMS = ( # English
+ '.*ing',
+ # French
+ ) ;
+
+#------------------------------------------------------
+#
+# Keyword API
+#
+#------------------------------------------------------
+
+=pod
+
+=item * get_title_keywords()
+
+Replies the keywords of the specified title
+Takes 1 arg:
+
+=over
+
+=item * text (string)
+
+is the text to parse.
+
+=back
+
+=cut
+sub get_title_keywords($) : method {
+ my $text = $_[0] || '' ;
+ my @keywords = () ;
+ foreach my $word (split /[^a-zA-Z0-9\-\&\;]+/, $text) {
+ if ( ( ! strinarray( lc($word), \@keywords ) ) &&
+ ( ! strinarray( lc($word), \@IGNORABLE_WORDS ) ) ) {
+ my $i = $#IGNORABLE_WORD_FORMS ;
+ while ($i>=0) {
+ my $form = $IGNORABLE_WORD_FORMS[$i] ;
+ if ( lc($word) !~ /^$form$/ ) {
+ push @keywords, $word ;
+ $i = -1 ;
+ }
+ $i -- ;
+ }
+ }
+ }
+ return @keywords ;
+}
+
+1;
+__END__
+
+=back
+
+=head1 COPYRIGHT
+
+(c) Copyright 1998-09 Stéphane Galland E<lt>galland@arakhne.orgE<gt>, under GPL.
+
+=head1 AUTHORS
+
+=over
+
+=item *
+
+Conceived and initially developed by Stéphane Galland E<lt>galland@arakhne.orgE<gt>.
+
+=back
+
+=head1 SEE ALSO
+
+bib2html.pl
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/General/Verbose.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/General/Verbose.pm
new file mode 100644
index 0000000000..7e2a0f31e5
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/General/Verbose.pm
@@ -0,0 +1,241 @@
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+=pod
+
+=head1 NAME
+
+Bib2HTML::General::Verbose - Verbosing functions
+
+=head1 DESCRIPTION
+
+Bib2HTML::General::Verbose is a Perl module, which permits to display
+messages in a verbose mode.
+
+=head1 METHOD DESCRIPTIONS
+
+This section contains only the methods in Verbose.pm itself.
+
+=over
+
+=cut
+
+package Bib2HTML::General::Verbose;
+
+@ISA = ('Exporter');
+@EXPORT = qw();
+@EXPORT_OK = qw();
+
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+
+#------------------------------------------------------
+#
+# Global vars
+#
+#------------------------------------------------------
+
+# Version number of the verbosing functions
+my $VERSION = "1.0" ;
+# The current verbosing level ;
+my $CURRENT_VERBOSE_LEVEL = 0 ;
+
+#------------------------------------------------------
+#
+# Level management functions
+#
+#------------------------------------------------------
+
+#-------------
+=pod
+
+=item * setlevel()
+
+Changes the verbosing level.
+Takes 1 arg:
+
+=over
+
+=item * level (integer)
+
+is an I<integer> which is the requested verbose level.
+
+=back
+
+=cut
+sub setlevel($) {
+ $CURRENT_VERBOSE_LEVEL = $_[0] || 0 ;
+}
+
+
+#-------------
+=pod
+
+=item * currentlevel()
+
+Replies the current verbosing level.
+
+=cut
+sub currentlevel() {
+ return $CURRENT_VERBOSE_LEVEL ;
+}
+
+#------------------------------------------------------
+#
+# Output functions
+#
+#------------------------------------------------------
+
+#-------------
+=pod
+
+=item * verb()
+
+Displays the specified message if in verbose mode.
+Takes 2 args:
+
+=over
+
+=item * message (string)
+
+is an I<string> which is the message to display.
+
+=item * level (integer)
+
+is an I<integer> which is the required level of the message.
+
+=item * cr (optional boolean)
+
+indicates if the carriage return will be printed (default is true)
+
+=back
+
+=cut
+sub verb {
+ my $level = $_[1] || $CURRENT_VERBOSE_LEVEL ;
+ if ( Bib2HTML::General::Verbose::currentlevel() >= $level ) {
+ my $msg = $_[0] || '' ;
+ my $cr = defined($_[2]) ? $_[2] : 1 ;
+ $msg =~ s/\n$// ;
+ print $msg ;
+ print "\n" if $cr ;
+ }
+}
+
+#-------------
+=pod
+
+=item * one()
+
+Displays the specified message if in verbosing level
+greater or equal to 1.
+Takes 2 args:
+
+=over
+
+=item * message (string)
+
+is an I<string> which is the message to display.
+
+=item * ...
+
+optional parameters passed to verb()
+
+=back
+
+=cut
+sub one($) {
+ my $msg = $_[0] || '' ;
+ Bib2HTML::General::Verbose::verb($msg,1,$_[1]) ;
+}
+
+#-------------
+=pod
+
+=item * two()
+
+Displays the specified message if in verbosing level
+greater or equal to 2.
+Takes 2 args:
+
+=over
+
+=item * message (string)
+
+is an I<string> which is the message to display.
+
+=item * ...
+
+optional parameters passed to verb()
+
+=back
+
+=cut
+sub two($) {
+ my $msg = $_[0] || '' ;
+ Bib2HTML::General::Verbose::verb($msg,2,$_[1]) ;
+}
+
+#-------------
+=pod
+
+=item * three()
+
+Displays the specified message if in verbosing level
+greater or equal to 3.
+Takes 2 args:
+
+=over
+
+=item * message (string)
+
+is an I<string> which is the message to display.
+
+=item * ...
+
+optional parameters passed to verb()
+
+=back
+
+=cut
+sub three($) {
+ my $msg = $_[0] || '' ;
+ Bib2HTML::General::Verbose::verb($msg,3,$_[1]) ;
+}
+
+1;
+__END__
+
+=back
+
+=head1 COPYRIGHT
+
+(c) Copyright 1998-09 Stéphane Galland <galland@arakhne.org>, under GPL.
+
+=head1 AUTHORS
+
+=over
+
+=item *
+
+Conceived and initially developed by Stéphane Galland E<lt>galland@arakhne.orgE<gt>.
+
+=back
+
+=head1 SEE ALSO
+
+bib2html.pl
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/AbstractGenerator.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/AbstractGenerator.pm
new file mode 100644
index 0000000000..e19ee79173
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/AbstractGenerator.pm
@@ -0,0 +1,1226 @@
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+=pod
+
+=head1 NAME
+
+Bib2HTML::Generator::AbstractGenerator - An abstract generator
+
+=head1 DESCRIPTION
+
+Bib2HTML::Generator::AbstractGenerator is a Perl module, which permits to
+generate some document for a BibTeX database. This class must be
+overwrite.
+
+=head1 SYNOPSYS
+
+Bib2HTML::Generator::AbstractGenerator->new( content, output, info, titles,
+ lang, [params] ) ;
+
+=head1 DESCRIPTION
+
+Bib2HTML::Generator::AbstractGenerator is a Perl module, which permits to
+generate some documents for a BibTeX database.
+
+=head1 GETTING STARTED
+
+=head2 Initialization
+
+Acceptable parameters to the constructor are:
+
+=over
+
+=item * content (hash)
+
+is the content of the bibliography to output.
+
+=item * output (string)
+
+is the output directory in which the HTML page must be put.
+
+=item * bib2html_data (hash)
+
+contains some information on Bib2HTML :
+
+=over
+
+=item VERSION
+
+is the version of Bib2HTML.
+
+=item BUG_URL
+
+is the URL where to submit a bug.
+
+=item URL
+
+is the URL of the main page of Bib2HTML.
+
+=item AUTHOR_EMAIL
+
+is the email of the author of Bib2HTML.
+
+=item AUTHOR
+
+is the nmae of the author of Bib2HTML.
+
+
+=item PERLSCRIPTDIR
+
+is the dorectory where is the Bib2HTML perl script.
+
+=back
+
+=item * titles (hash)
+
+is the titles of the pages:
+
+=over
+
+=item SHORT
+
+is the title shown in the window bar.
+
+=item LONG
+
+is the title shown in the default HTML pag.
+
+=back
+
+=item * lang (string)
+
+is the name of the language to use
+
+=item * show_bibtex (boolean)
+
+indicates if this parser must generate a verbatim of the BibTeX code
+
+=item * params (optional array)
+
+is the set of parameters passed to the generator.
+
+=back
+
+=head1 METHOD DESCRIPTIONS
+
+This section contains only the methods in AbstractGenerator.pm itself.
+
+=over
+
+=cut
+
+package Bib2HTML::Generator::AbstractGenerator;
+
+@ISA = ('Exporter');
+@EXPORT = qw( &display_supported_generators
+ &display_supported_languages
+ &display_supported_themes );
+@EXPORT_OK = qw();
+
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+use Exporter;
+use Carp ;
+use File::Basename ;
+use File::Spec;
+
+use Bib2HTML::General::Misc;
+use Bib2HTML::General::HTML;
+use Bib2HTML::Generator::LangManager;
+use Bib2HTML::Generator::FileWriter;
+use Bib2HTML::Generator::StdOutWriter;
+
+#------------------------------------------------------
+#
+# Global vars
+#
+#------------------------------------------------------
+
+# Version number of abstract generator
+my $VERSION = "6.0" ;
+
+#------------------------------------------------------
+#
+# Constructor
+#
+#------------------------------------------------------
+
+sub new($$$$$$;$) : method {
+ my $proto = shift;
+ my $class = ref($proto) || $proto;
+ my $self = { 'TARGET' => $_[1] || File::Spec->curdir(),
+ 'TARGET_NOT_REMOVABLE' => [],
+ 'CONTENT' => $_[0] || { },
+ 'BIB2HTML' => { 'VERSION' => $_[2]{'VERSION'} || "???",
+ 'BUG_URL' => $_[2]{'BUG_URL'} || "",
+ 'URL' => $_[2]{'URL'} || "",
+ 'AUTHOR_EMAIL' => $_[2]{'AUTHOR_EMAIL'} || "",
+ 'AUTHOR' => $_[2]{'AUTHOR'} || "",
+ 'PERLSCRIPTDIR' => $_[2]{'PERLSCRIPTDIR'} || "",
+ },
+ 'SHORT_TITLE' => $_[3]{'SHORT'},
+ 'LONG_TITLE' => $_[3]{'LONG'},
+ 'SHOW_BIBTEX' => $_[5],
+ 'CACHE' => { 'BUILT_ENTRY_AUTHOR_LIST' => {},
+ },
+ } ;
+
+ # Creates the language support
+ confess( 'you must supply the language' ) unless ($_[4]) ;
+ $self->{'LANG'} = Bib2HTML::Generator::LangManager->new($_[4]) ;
+
+ # Sets the constants according to the language
+ if ( ! $self->{'LONG_TITLE'} ) {
+ $self->{'LONG_TITLE'} = ( $self->{'SHORT_TITLE'} ?
+ $self->{'SHORT_TITLE'} :
+ $self->{'LANG'}->get('I18N_LANG_DEFAULT_TITLE') ) ;
+ }
+ if ( ! $self->{'SHORT_TITLE'} ) {
+ $self->{'SHORT_TITLE'} = $self->{'LONG_TITLE'} ;
+ }
+ $self->{'PLURIAL_TYPE_LABELS'} = { 'article' => $self->{'LANG'}->get('I18N_LANG_P_ARTICLE'),
+ 'inproceedings' => $self->{'LANG'}->get('I18N_LANG_P_INPROCEEDINGS'),
+ 'incollection' => $self->{'LANG'}->get('I18N_LANG_P_INCOLLECTION'),
+ 'book' => $self->{'LANG'}->get('I18N_LANG_P_BOOK'),
+ 'techreport' => $self->{'LANG'}->get('I18N_LANG_P_TECHREPORT'),
+ 'unpublished' => $self->{'LANG'}->get('I18N_LANG_P_UNPUBLISHED'),
+ 'booklet' => $self->{'LANG'}->get('I18N_LANG_P_BOOKLET'),
+ 'conference' => $self->{'LANG'}->get('I18N_LANG_P_PROCEEDINGS'),
+ 'proceedings' => $self->{'LANG'}->get('I18N_LANG_P_PROCEEDINGS'),
+ 'inbook' => $self->{'LANG'}->get('I18N_LANG_P_INBOOK'),
+ 'manual' => $self->{'LANG'}->get('I18N_LANG_P_MANUAL'),
+ 'mastersthesis' => $self->{'LANG'}->get('I18N_LANG_P_MASTERTHESIS'),
+ 'misc' => $self->{'LANG'}->get('I18N_LANG_P_MISC'),
+ 'phdthesis' => $self->{'LANG'}->get('I18N_LANG_P_PHDTHESIS'),
+ } ;
+ $self->{'SINGULAR_TYPE_LABELS'} = { 'article' => $self->{'LANG'}->get('I18N_LANG_S_ARTICLE'),
+ 'inproceedings' => $self->{'LANG'}->get('I18N_LANG_S_INPROCEEDINGS'),
+ 'incollection' => $self->{'LANG'}->get('I18N_LANG_S_INCOLLECTION'),
+ 'book' => $self->{'LANG'}->get('I18N_LANG_S_BOOK'),
+ 'techreport' => $self->{'LANG'}->get('I18N_LANG_S_TECHREPORT'),
+ 'unpublished' => $self->{'LANG'}->get('I18N_LANG_S_UNPUBLISHED'),
+ 'booklet' => $self->{'LANG'}->get('I18N_LANG_S_BOOKLET'),
+ 'conference' => $self->{'LANG'}->get('I18N_LANG_S_PROCEEDINGS'),
+ 'proceedings' => $self->{'LANG'}->get('I18N_LANG_S_PROCEEDINGS'),
+ 'inbook' => $self->{'LANG'}->get('I18N_LANG_S_INBOOK'),
+ 'manual' => $self->{'LANG'}->get('I18N_LANG_S_MANUAL'),
+ 'mastersthesis' => $self->{'LANG'}->get('I18N_LANG_S_MASTERTHESIS'),
+ 'misc' => $self->{'LANG'}->get('I18N_LANG_S_MISC'),
+ 'phdthesis' => $self->{'LANG'}->get('I18N_LANG_S_PHDTHESIS'),
+ } ;
+ $self->{'FORMATS'} = { 'name' => $self->{'LANG'}->get('I18N_LANG_FORMAT_NAME'),
+ 'names' => $self->{'LANG'}->get('I18N_LANG_FORMAT_NAMES'),
+ } ;
+
+ bless( $self, $class );
+
+ # Params
+ $self->{'GENERATOR_PARAMS'} = {} ;
+ if ( ( $_[6] ) && ( ! isemptyhash($_[6]) ) ) {
+ foreach my $param ( keys %{$_[6]} ) {
+ # Format the parameter's name
+ my $norm_param = lc($param) ;
+ $norm_param =~ s/_/-/g ;
+
+ # Get the current value and call the function to save it (eventually)
+ my $value = $self->last_param($_[6]->{"$param"} || '') ;
+ Bib2HTML::General::Error::syserr("unsupported generator parameter: ".lc("$norm_param"))
+ unless ($self->save_generator_parameter("$norm_param", $value));
+
+ # If this parameter was not saved, save it
+ $self->{'GENERATOR_PARAMS'}{"$norm_param"} = $value
+ unless ( exists $self->{'GENERATOR_PARAMS'}{"$norm_param"} ) ;
+
+ }
+ }
+ return $self;
+}
+
+#------------------------------------------------------
+#
+# Generation API
+#
+#------------------------------------------------------
+
+=pod
+
+=item * generate()
+
+Generates the HTML pages.
+You must NOT overwrite this method.
+
+=cut
+sub generate() : method {
+ my $self = shift ;
+ $self->pre_processing() ;
+ $self->do_processing() ;
+ $self->post_processing() ;
+}
+
+=pod
+
+=item * pre_processing()
+
+Pre_processing.
+
+=cut
+sub pre_processing() : method {
+ my $self = shift ;
+ my $rootdir = "." ;
+ Bib2HTML::General::Verbose::three( "Doing the pre-processing...\n" ) ;
+ Bib2HTML::General::Verbose::verb( "\tReplace all <BIB2HTML>...\n", 4 ) ;
+ my $count = 0 ;
+ if ( ! isemptyhash( $self->{'CONTENT'}{'entries'} ) ) {
+ my @keys = keys %{$self->{'CONTENT'}{'entries'}} ;
+ foreach my $key ( @keys ) {
+
+ if ( ! isemptyhash( $self->{'CONTENT'}{'entries'}{$key}{'fields'} ) ) {
+
+ my @fields = keys %{$self->{'CONTENT'}{'entries'}{$key}{'fields'}} ;
+
+ foreach my $field ( @fields ) {
+ ( my $cnt,
+ $self->{'CONTENT'}{'entries'}{$key}{'fields'}{$field} ) =
+ $self->translate_bib2html_tags( $self->{'CONTENT'}{'entries'}{$key}{'fields'}{$field},
+ $key, $field, $rootdir ) ;
+ $count += $cnt ;
+ }
+
+ }
+
+ }
+ }
+
+ # Create the stream writer
+ my $writer;
+ if ($self->genparam('stdout')) {
+ $writer = Bib2HTML::Generator::StdOutWriter->new();
+ }
+ else {
+ $writer = Bib2HTML::Generator::FileWriter->new();
+ }
+ $self->set_stream_writer($writer);
+}
+
+=pod
+
+=item * create_output_directory()
+
+Create the output directory.
+
+=cut
+sub create_output_directory() : method {
+ my $self = shift;
+ my $writer = $self->get_stream_writer();
+ confess("no writer specified") unless ($writer);
+ $self->{'TARGET'} = $writer->create_output_directory($self->{'TARGET'},@{$self->{'TARGET_NOT_REMOVABLE'}});
+}
+
+=pod
+
+=item * set_unremovable_files(@)
+
+Force this generator to not remove the specified
+files when the output directory will be generated.
+
+=cut
+sub set_unremovable_files(@) : method {
+ my $self = shift;
+ @{$self->{'TARGET_NOT_REMOVABLE'}} = @_;
+}
+
+=pod
+
+=item * get_stream_writer()
+
+Replies the instance of the output stream writer.
+
+=cut
+sub get_stream_writer() : method {
+ my $self = shift ;
+ if (!$self->{'STREAM_WRITER'}) {
+ $self->{'STREAM_WRITER'} = new Bib2HTML::Generator::FileWriter->new();
+ }
+ return $self->{'STREAM_WRITER'};
+}
+
+=pod
+
+=item * set_stream_writer($)
+
+Set the instance of the output stream writer.
+Replies the old writer.
+Takes 1 arg:
+
+=over
+
+=item * writer (ref to Bib2HTML::Generator::Writer)
+
+is the instance of the writer.
+
+=back
+
+=cut
+sub set_stream_writer($) : method {
+ my $self = shift ;
+ my $writer = shift;
+ my $old_writer = $self->{'STREAM_WRITER'};
+ $self->{'STREAM_WRITER'} = $writer;
+ return $old_writer;
+}
+
+=pod
+
+=item * do_processing()
+
+Main processing.
+
+=cut
+sub do_processing() : method {
+ my $self = shift ;
+}
+
+=pod
+
+=item * post_processing()
+
+Post_processing.
+
+=cut
+sub post_processing() : method {
+ my $self = shift ;
+}
+
+=pod
+
+=item * translate_bib2html_tags()
+
+Replaces the Bib2HTML tags.
+Takes 4 args.
+
+=cut
+sub translate_bib2html_tags($$$$) : method {
+ my $self = shift ;
+ my $rootdir = $_[3] || confess( 'you must supply the root directory' );
+ my $text = $_[0] || '' ;
+ my $count = 0 ;
+ my $split = split_html_tags( $text ) ;
+ if ( defined( $split ) ) {
+ if ( isarray( $split ) ) {
+ $text = '' ;
+ my $inbib2html = undef ;
+ foreach my $case ( @{$split} ) {
+ if ( $case =~ /^<BIB2HTML\s*(.*)\s*>$/im ) {
+ $inbib2html = $self->html_extract_tag_params( $1 ) ;
+ }
+ elsif ( $case =~ /^<BIB2HTML\s*(.*)\s*\/>$/im ) {
+ $text .= $self->run_bib2html_post_action( $self->html_extract_tag_params( $1 ),
+ $_[1], $_[2], $rootdir ) ;
+ $count ++ ;
+ }
+ elsif ( $case =~ /^<\/BIB2HTML.*?>$/im ) {
+ if ( $inbib2html ) {
+ $text .= $self->run_bib2html_post_action( $inbib2html,
+ $_[1],
+ $_[2],
+ $rootdir ) ;
+ $count ++ ;
+ }
+ $inbib2html = undef ;
+ }
+ elsif ( ! defined( $inbib2html ) ) {
+ $text .= $case ;
+ }
+ }
+ }
+ }
+ return ( $count, $text ) ;
+}
+
+=pod
+
+=item * run_bib2html_post_action()
+
+Replies the text corresponding to the specified bib2html tag.
+Takes 4 args.
+
+=cut
+sub run_bib2html_post_action($$$$) : method {
+ my $self = shift ;
+ my $rootdir = $_[3] || confess( 'you must supply the root directory' );
+ my $currententry = $_[1] || confess( 'you must supply the current entry key' ) ;
+ my $currentfield = $_[2] || confess( 'you must supply the current field key' ) ;
+ if ( ( $_[0] ) && ( ! isemptyhash( $_[0] ) ) ) {
+ my $action = uc( $_[0]->{'action'} || '' ) ;
+
+ if ( $action eq 'CITE' ) {
+ my $label = $_[0]->{'label'} ;
+ my $key = $_[0]->{'key'} || '' ;
+ if ( $key ) {
+ my $bibtex = new Bib2HTML::Translator::BibTeXEntry() ;
+ if ( ! $label ) {
+ $label = $bibtex->citation_label( $key, $self->{'CONTENT'}{'entries'}{$key} ) ;
+ }
+ else {
+ $bibtex->save_citation_label( $key, $label ) ;
+ }
+ if ( exists $self->{'CONTENT'}{'entries'}{$key} ) {
+ my $filename = $self->filename('entry', $key ) ;
+
+ return $self->{'THEME'}->href( htmlcatfile($rootdir,$filename),
+ $label,
+ $self->browserframe('entry') ) ;
+ }
+ else {
+ Bib2HTML::General::Error::warm( "Can't found the entry key for a citation command inside the field '".$currentfield."'",
+ extract_file_from_location( $self->{'CONTENT'}{'entries'}{$currententry}{'location'} ),
+ extract_line_from_location( $self->{'CONTENT'}{'entries'}{$currententry}{'location'} ) ) ;
+ return "?" ;
+ }
+ }
+ else {
+ Bib2HTML::General::Error::warm( "Can't found the entry with the key '".$key."' for a citation command inside the field '".$currentfield."'",
+ extract_file_from_location( $self->{'CONTENT'}{'entries'}{$currententry}{'location'} ),
+ extract_line_from_location( $self->{'CONTENT'}{'entries'}{$currententry}{'location'} ) ) ;
+ return "?" ;
+ }
+ }
+
+ }
+ return '' ;
+}
+
+#------------------------------------------------------
+#
+# HTML buildings
+#
+#------------------------------------------------------
+
+=pod
+
+=item * get_all_authors()
+
+Replies the all authors from the specified list.
+
+=cut
+sub get_all_authors($) : method {
+ my $self = shift ;
+ my $parser = Bib2HTML::Translator::BibTeXName->new() ;
+ return $parser->splitnames( $_[0] ) ;
+}
+
+=pod
+
+=item * get_first_author()
+
+Replies the first author from the specified list.
+
+=cut
+sub get_first_author($) : method {
+ my $self = shift ;
+ my @authors = $self->get_all_authors( $_[0] ) ;
+ return $authors[0] ;
+}
+
+=pod
+
+=item * count_authors()
+
+Replies the number of authors inside the specified string
+
+=cut
+sub count_authors($) : method {
+ my $self = shift ;
+ my $parser = Bib2HTML::Translator::BibTeXName->new() ;
+ return $parser->countnames( $_[0] ) ;
+}
+
+=pod
+
+=item * get_entry_types()
+
+Replies an array of entry types
+
+=cut
+sub get_entry_types() : method {
+ my $self = shift ;
+ my @types = () ;
+ foreach my $entry (keys %{$self->{'CONTENT'}{'entries'}}) {
+ my $type = lc( $self->{'CONTENT'}{'entries'}{$entry}{'type'} ) ;
+ if ( ! strinarray($type,\@types) ) {
+ push( @types, $type ) ;
+ }
+ }
+ my @t = sortbyletters(@types);
+ return @t ;
+}
+
+=pod
+
+=item * get_entry_authors()
+
+Replies an array of entry authors
+
+=cut
+sub get_entry_authors() : method {
+ my $self = shift ;
+ if (%{$self->{'CACHE'}{'BUILT_ENTRY_AUTHOR_LIST'}}) {
+ return %{$self->{'CACHE'}{'BUILT_ENTRY_AUTHOR_LIST'}} ;
+ }
+ else {
+ my %authors = () ;
+ my $parser = Bib2HTML::Translator::BibTeXName->new() ;
+ my @entries = keys %{$self->{'CONTENT'}{'entries'}};
+ @entries = sortbyletters(@entries);
+ foreach my $entry (@entries) {
+ if ( $self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'author'} ) {
+ my @auts = $self->get_all_authors($self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'author'}) ;
+ foreach my $aut (@auts) {
+ if ( ! $aut->{'et al'} ) {
+ my $key = lc(remove_html_accents($parser->formatname( $aut, 'l f.' ))) ;
+ $key =~ s/[^a-zA-Z0-1]+//g ;
+ my $count = 0 ;
+ my $thekey = $key ;
+ while ( ( $count >= 0 ) && ( exists $authors{$thekey} ) ) {
+ if ( $parser->samenames($aut,$authors{$thekey}) ) {
+ $count = -1 ;
+ }
+ else {
+ $count ++ ;
+ $thekey = "${key}_${count}" ;
+ }
+ }
+ if ( $count >= 0 ) {
+ $authors{$thekey} = $aut ;
+ }
+ }
+ }
+ }
+ }
+ $self->{'CACHE'}{'BUILT_ENTRY_AUTHOR_LIST'} = \%authors ;
+ return %authors ;
+ }
+}
+
+=pod
+
+=item * get_all_entries_ayt()
+
+Replies an array of entries sorted by authors, year and title
+
+=cut
+sub get_all_entries_ayt() : method {
+ my $self = shift ;
+ my @keys = keys %{$self->{'CONTENT'}{'entries'}} ;
+ return ( sort {
+ my $result = &__compare_two_entries_ayt__($a,$b,$self) ;
+ return $result ;
+ } @keys ) ;
+}
+
+=pod
+
+=item * get_all_entries_yat()
+
+Replies an array of entries sorted by authors, year and title
+
+=cut
+sub get_all_entries_yat() : method {
+ my $self = shift ;
+ my @keys = keys %{$self->{'CONTENT'}{'entries'}} ;
+ return ( sort {
+ my $result = &__compare_two_entries_yat__($a,$b,$self) ;
+ return $result ;
+ } @keys ) ;
+}
+
+# Private function to compare two entries in the purpose
+# to sort the entries by author,year,title
+# WARNING: years have a decroissant order
+sub __compare_two_entries_ayt__($$$) {
+ confess( 'you must supply the left comparaison operand' ) unless $_[0] ;
+ confess( 'you must supply the right comparaison operand' ) unless $_[1] ;
+ my $self = $_[2] || confess( 'you must supply the generator object' ) ;
+ my $a1 = $self->get_first_author($self->__get_author_editor__($_[0],'') ) ;
+ my $a2 = $self->get_first_author($self->__get_author_editor__($_[1],'') ) ;
+
+ if ( (!$a1) && (!$a2) ) {
+ return 0 ;
+ }
+ elsif (!$a1) {
+ return 1 ;
+ }
+ elsif (!$a2) {
+ return -1 ;
+ }
+
+ my $y1 = $self->__get_year__( $_[0], 0 ) || 0 ;
+ my $y2 = $self->__get_year__( $_[1], 0 ) || 0 ;
+ my $t1 = $self->{'CONTENT'}{'entries'}{$_[0]}{'fields'}{'title'} || '' ;
+ my $t2 = $self->{'CONTENT'}{'entries'}{$_[1]}{'fields'}{'title'} || '' ;
+
+ if ( ( $a1->{'et al'} ) && ( $a2->{'et al'} ) ) {
+ return 0 ;
+ }
+ elsif ( $a1->{'et al'} ) {
+ return 1 ;
+ }
+ elsif ( $a1->{'et al'} ) {
+ return -1 ;
+ }
+ elsif ( $a1->{'last'} lt $a2->{'last'} ) {
+ return -1 ;
+ }
+ elsif ( $a1->{'last'} gt $a2->{'last'} ) {
+ return 1 ;
+ }
+ elsif ( $y1 < $y2 ) {
+ return 1 ;
+ }
+ elsif ( $y1 > $y2 ) {
+ return -1 ;
+ }
+ elsif ( $t1 lt $t2 ) {
+ return -1 ;
+ }
+ elsif ( $t1 gt $t2 ) {
+ return 1 ;
+ }
+ else {
+ return 0 ;
+ }
+}
+
+# Private function to compare two entries in the purpose
+# to sort the entries by year,author,title
+# WARNING: years have a decroissant order
+sub __compare_two_entries_yat__($$$) {
+ confess( 'you must supply the left comparaison operand' ) unless $_[0] ;
+ confess( 'you must supply the right comparaison operand' ) unless $_[1] ;
+ my $self = $_[2] || confess( 'you must supply the generator object' ) ;
+ my $a1 = $self->get_first_author($self->__get_author_editor__($_[0],'') ) ;
+ my $a2 = $self->get_first_author($self->__get_author_editor__($_[1],'') ) ;
+
+ if ( (!$a1) && (!$a2) ) {
+ return 0 ;
+ }
+ elsif (!$a1) {
+ return 1 ;
+ }
+ elsif (!$a2) {
+ return -1 ;
+ }
+
+ my $y1 = $self->__get_year__( $_[0], 0 ) || 0 ;
+ my $y2 = $self->__get_year__( $_[1], 0 ) || 0 ;
+ my $t1 = $self->{'CONTENT'}{'entries'}{$_[0]}{'fields'}{'title'} || '' ;
+ my $t2 = $self->{'CONTENT'}{'entries'}{$_[1]}{'fields'}{'title'} || '' ;
+ if ( $y1 < $y2 ) {
+ return 1 ;
+ }
+ elsif ( $y1 > $y2 ) {
+ return -1 ;
+ }
+ elsif ( ( $a1->{'et al'} ) && ( $a2->{'et al'} ) ) {
+ return 0 ;
+ }
+ elsif ( $a1->{'et al'} ) {
+ return 1 ;
+ }
+ elsif ( $a1->{'et al'} ) {
+ return -1 ;
+ }
+ elsif ( $a1->{'last'} lt $a2->{'last'} ) {
+ return -1 ;
+ }
+ elsif ( $a1->{'last'} gt $a2->{'last'} ) {
+ return 1 ;
+ }
+ elsif ( $t1 lt $t2 ) {
+ return -1 ;
+ }
+ elsif ( $t1 gt $t2 ) {
+ return 1 ;
+ }
+ else {
+ return 0 ;
+ }
+}
+
+# Private function to get the year of the specified entry
+sub __get_year__($$) {
+ my $self = shift ;
+ my $y = ( ( exists( $self->{'CONTENT'}{'entries'}{$_[0]}{'fields'}{'year'} ) ) &&
+ ( $self->{'CONTENT'}{'entries'}{$_[0]}{'fields'}{'year'} ) ) ?
+ tonumber($self->{'CONTENT'}{'entries'}{$_[0]}{'fields'}{'year'}) : $_[1] ;
+ if ( ! defined( $y ) ) {
+ Bib2HTML::General::Error::warm( "the year field of '$_[0]' is not well-formatted: \"".
+ $self->{'CONTENT'}{'entries'}{$_[0]}{'fields'}{'year'}.
+ "\". It must be a number. Assume none.",
+ extract_file_from_location( $self->{'CONTENT'}{'entries'}{$_[0]}{'location'} ),
+ extract_line_from_location( $self->{'CONTENT'}{'entries'}{$_[0]}{'location'} ) ) ;
+ $y = $_[1] ;
+ }
+ return $y ;
+}
+
+# Private function to get the author of the specified entry
+sub __get_author_editor__($$) {
+ my $self = shift ;
+ my $a = ( ( exists( $self->{'CONTENT'}{'entries'}{$_[0]}{'fields'}{'author'} ) ) &&
+ ( $self->{'CONTENT'}{'entries'}{$_[0]}{'fields'}{'author'} ) ) ?
+ $self->{'CONTENT'}{'entries'}{$_[0]}{'fields'}{'author'} : $_[1] ;
+ if ( ! $a ) {
+ $a = ( ( exists( $self->{'CONTENT'}{'entries'}{$_[0]}{'fields'}{'editor'} ) ) &&
+ ( $self->{'CONTENT'}{'entries'}{$_[0]}{'fields'}{'editor'} ) ) ?
+ $self->{'CONTENT'}{'entries'}{$_[0]}{'fields'}{'editor'} : $_[1] ;
+ }
+ if ( ! defined( $a ) ) {
+ Bib2HTML::General::Error::warm( "the author field of '$_[0]' is not well-formatted: \"".
+ $self->{'CONTENT'}{'entries'}{$_[0]}{'fields'}{'author'}.
+ "\". Assume none.",
+ extract_file_from_location( $self->{'CONTENT'}{'entries'}{$_[0]}{'location'} ),
+ extract_line_from_location( $self->{'CONTENT'}{'entries'}{$_[0]}{'location'} ) ) ;
+ $a = $_[1] ;
+ }
+ return $a ;
+}
+
+#------------------------------------------------------
+#
+# Information
+#
+#------------------------------------------------------
+
+=pod
+
+=item * display_supported_generators()
+
+Display the list of supported generators.
+Takes 2 args:
+
+=over
+
+=item * perldir (string)
+
+is the path to the directory where the Perl packages
+are stored.
+
+=item * default (string)
+
+is the name of the default generator
+
+=back
+
+=cut
+sub display_supported_generators($$) {
+ my $path = $_[0] || confess( 'you must specify the pm path' ) ;
+ my $default = $_[1] || '' ;
+ my @pack = split /\:\:/, __PACKAGE__ ;
+ pop @pack ;
+ @pack = ( File::Spec->splitdir($path), @pack ) ;
+ my $glob = File::Spec->catfile(@pack, '*');
+ $glob =~ s/ /\\ /g;
+ foreach my $file ( glob($glob) ) {
+ my $name = basename($file) ;
+ if ( $name =~ /^(.+)Gen\.pm$/ ) {
+ $name = $1 ;
+ print join( '',
+ "$name",
+ ( $default && ( $default eq $name ) ) ?
+ " (default)" : "",
+ "\n" ) ;
+ }
+ }
+}
+
+=pod
+
+=item * display_supported_languages()
+
+Display the list of supported languages.
+Takes 2 args:
+
+=over
+
+=item * perldir (string)
+
+is the path to the directory where the Perl packages
+are stored.
+
+=item * default (string)
+
+is the name of the default language
+
+=back
+
+=cut
+sub display_supported_languages($$) {
+ Bib2HTML::Generator::LangManager::display_supported_languages($_[0],$_[1]);
+}
+
+=pod
+
+=item * display_supported_themes()
+
+Display the list of supported themes.
+Takes 2 args:
+
+=over
+
+=item * perldir (string)
+
+is the path to the directory where the Perl packages
+are stored.
+
+=item * default (string)
+
+is the name of the default theme
+
+=back
+
+=cut
+sub display_supported_themes($$) {
+ my $path = $_[0] || confess( 'you must specify the pm path' ) ;
+ my $default = $_[1] || '' ;
+ my @pack = split /\:\:/, __PACKAGE__ ;
+ pop @pack ;
+ push @pack, 'Theme' ;
+ @pack = ( File::Spec->splitdir($path), @pack ) ;
+ my $glob = File::Spec->catfile(@pack, '*');
+ $glob =~ s/ /\\ /g;
+ foreach my $file ( glob($glob) ) {
+ my $name = basename($file) ;
+ if ( $name =~ /^(.+)\.pm$/ ) {
+ $name = $1 ;
+ print join( '',
+ "$name",
+ ( $default && ( $default eq $name ) ) ?
+ " (default)" : "",
+ "\n" ) ;
+ }
+ }
+}
+
+=pod
+
+=item * save_generator_parameter()
+
+Replies if the specified generator parameter was supported.
+This function was called each time a generator parameter was
+given to this generator. By default, simply updatethe
+given parameter value (second parameter).
+You could do some stuff before
+saving (splitting...). Replies false is the parameter was
+not recognized. Don't forget to call inherited functions.
+Takes 2 args:
+
+=over
+
+=item * param_name (string)
+
+is the name of the parameter.
+
+=item * param_value (byref string)
+
+is the value of the parameter.
+
+=back
+
+=cut
+sub save_generator_parameter($$) {
+ my $self = shift ;
+ if ( $_[0] eq 'stdout' ) {
+ $_[1] = 1 ;
+ return 1 ;
+ }
+ return undef ;
+}
+
+=pod
+
+=item * display_supported_generator_params()
+
+Display the list of supported generator parameters.
+Child classes must override this method.
+
+=cut
+sub display_supported_generator_params() {
+ my $self = shift ;
+ print "supported generator parameters:\n" ;
+
+ $self->show_supported_param('stdout',
+ 'If specified, the generated contents will be print on to the standard output.' );
+
+}
+
+=pod
+
+=item * show_supported_param()
+
+Display the help about one generator parameter.
+Takes 3 args:
+
+=over
+
+=item * name (string)
+
+is the name of the parameter
+
+=item * comment (string)
+
+is the comment for the parameter
+
+=item * type (optional string)
+
+is the type of the value that will be affected to
+the parameter. If not present, no value needed.
+
+=back
+
+=cut
+sub show_supported_param($$;$) {
+ my $self = shift ;
+ print " ".($_[0]||'?') ;
+ if ( $_[2] ) {
+ print " = ".$_[2] ;
+ }
+ print "\n" ;
+ my $t = splittocolumn_base($_[1]||'',
+ 55,
+ "\t\t") ;
+ print $t ;
+ if ( $t !~ /\n\r$/ ) {
+ print "\n" ;
+ }
+}
+
+=pod
+
+=item * merge_params()
+
+Merges the specified parameter value with the given join.
+Takes 2 args:
+
+=over
+
+=item * join (string)
+
+=item * value (mixed)
+
+=back
+
+=cut
+sub merge_params($) {
+ my $self = shift ;
+ return join($_[0],@{$_[1]})
+ if ( isarray($_[1]) ) ;
+ return $_[1] ;
+}
+
+=item * last_param()
+
+Replies the last occurrence of a generator parameter value.
+Takes 1 args:
+
+=over
+
+=item * value (mixed)
+
+=back
+
+=cut
+sub last_param {
+ my $self = shift ;
+ return $_[0]->[$#{$_[0]}]
+ if ( isarray($_[0]) ) ;
+ return $_[0] ;
+}
+
+=item * first_param()
+
+Replies the first occurrence of a generator parameter value.
+Takes 1 args:
+
+=over
+
+=item * value (mixed)
+
+=back
+
+=cut
+sub first_param {
+ my $self = shift ;
+ return $_[0]->[0]
+ if ( isarray($_[0]) ) ;
+ return $_[0] ;
+}
+
+#------------------------------------------------------
+#
+# Formatting backend
+#
+#------------------------------------------------------
+
+=pod
+
+=item * formatnames_url_backend()
+
+This method is called each time the BibTeXNames module
+must format an author's name with a URL.
+Takes 2 args:
+
+=over
+
+=item * author's data (hash)
+
+=item * label (string)
+
+=item * rootdir (string)
+
+=back
+
+=cut
+sub formatnames_url_backend($$$) {
+ my $self = shift ;
+ return $_[1] || '' ;
+}
+
+#------------------------------------------------------
+#
+# Utility
+#
+#------------------------------------------------------
+
+
+=pod
+
+=item * copythisfile()
+
+Copy a file.
+Takes 2 args:
+
+=over
+
+=item * source (string)
+
+=item * target (string)
+
+=back
+
+=cut
+sub copythisfile($$) {
+ my $self = shift ;
+ my $source = $_[0] || '' ;
+ my $target = $_[1] || '' ;
+
+ Bib2HTML::General::Error::syserr( "you must give a source file to copy\n" )
+ unless ( $source ) ;
+ Bib2HTML::General::Error::syserr( "you must give a target file to copy\n" )
+ unless ( $target ) ;
+
+ my $sbase = basename($source) ;
+ my $sdir = dirname($source) ;
+ my $tbase = basename($target) ;
+ my $tdir = dirname($target) ;
+
+ Bib2HTML::General::Verbose::two( "Copying $sbase..." ) ;
+ Bib2HTML::General::Verbose::three( "\tfrom $sdir" ) ;
+ if ( $tbase ne $sbase ) {
+ Bib2HTML::General::Verbose::three( "\tto $target" ) ;
+ }
+ else {
+ Bib2HTML::General::Verbose::three( "\tto $tdir" ) ;
+ }
+
+ filecopy( "$source",
+ "$target" )
+ or Bib2HTML::General::Error::syswarm( "$source: $!\n" );
+
+ return 1 ;
+}
+
+=pod
+
+=item * isgenparam()
+
+Replies if the specified string corresponds to a
+generator parameter.
+Takes 1 arg:
+
+=over
+
+=item * name (string)
+
+=back
+
+=cut
+sub isgenparam($) {
+ my $self = shift ;
+ return ( ( $_[0] ) &&
+ ( exists $self->{'GENERATOR_PARAMS'}{lc($_[0])} ) ) ;
+}
+
+=pod
+
+=item * genparam()
+
+Replies the specified generator parameter value.
+Takes 1 arg:
+
+=over
+
+=item * name (string)
+
+=back
+
+=cut
+sub genparam($) {
+ my $self = shift ;
+ if ( ( $_[0] ) &&
+ ( exists $self->{'GENERATOR_PARAMS'}{lc($_[0])} ) &&
+ ( $self->{'GENERATOR_PARAMS'}{lc($_[0])} ) ) {
+ return $self->{'GENERATOR_PARAMS'}{lc($_[0])} ;
+ }
+ else {
+ return undef ;
+ }
+}
+
+1;
+__END__
+
+=back
+
+=head1 COPYRIGHT
+
+(c) Copyright 1998-09 Stéphane Galland E<lt>galland@arakhne.orgE<gt>, under GPL.
+
+=head1 AUTHORS
+
+=over
+
+=item *
+
+Conceived and initially developed by Stéphane Galland E<lt>galland@arakhne.orgE<gt>.
+
+=back
+
+=head1 SEE ALSO
+
+bib2html.pl
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/DomainGen.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/DomainGen.pm
new file mode 100644
index 0000000000..e2abf52174
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/DomainGen.pm
@@ -0,0 +1,564 @@
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+=pod
+
+=head1 NAME
+
+Bib2HTML::Generator::DomainGen - An HTML generator
+
+=head1 SYNOPSYS
+
+use Bib2HTML::Generator::DomainGen ;
+
+my $gen = Bib2HTML::Generator::DomainGen->new( data, output, info, titles,
+ lang, theme ) ;
+
+=head1 DESCRIPTION
+
+Bib2HTML::Generator::DomainGen is a Perl module, which permits to
+generate HTML pages for the BibTeX database.
+In addition to the features of Bib2HTML::Generator::ExtendedGen, this
+generator supports the following bibtex fields:
+
+=over
+
+=item * domain
+
+is a string that identify the first domain in which
+the document was located.
+
+=item * nddomain
+
+is a string that identify the second domain in which
+the document was located.
+
+=item * rddomain
+
+is a string that identify the third domain in which
+the document was located.
+
+=item * domains
+
+is column-separated list of domains in which
+the document was located.
+
+=back
+
+=head1 GETTING STARTED
+
+=head2 Initialization
+
+To start a generator script, say something like this:
+
+ use Bib2HTML::Generator::DomainGen;
+
+ my $gen = Bib2HTML::Generator::DomainGen->new( { }, "./bib",
+ { 'BIB2HTML_VERSION' => "0.1",
+ },
+ { 'SHORT' => "This is the title",
+ 'LONG' => "This is the title",
+ },
+ "English",
+ "Simple"
+ ) ;
+
+...or something similar. Acceptable parameters to the constructor are:
+
+=over
+
+=item * content (hash)
+
+see ExtendedGen help.
+
+=item * output (string)
+
+see ExtendedGen help.
+
+=item * bib2html_data (hash)
+
+see ExtendedGen help.
+
+=item * titles (hash)
+
+see ExtendedGen help.
+
+=item * lang (string)
+
+see ExtendedGen help.
+
+=item * theme (string)
+
+see ExtendedGen help.
+
+=item * show_bibtex (boolean)
+
+See ExtendedGen.pm
+
+=item * params (optional array)
+
+see ExtendedGen help.
+
+=back
+
+=head1 METHOD DESCRIPTIONS
+
+This section contains only the methods in DomainGen.pm itself.
+
+=over
+
+=cut
+
+package Bib2HTML::Generator::DomainGen;
+
+@ISA = ('Bib2HTML::Generator::ExtendedGen');
+@EXPORT = qw( );
+@EXPORT_OK = qw();
+
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+use Exporter;
+use Carp ;
+
+use Bib2HTML::Generator::ExtendedGen ;
+use Bib2HTML::General::HTML ;
+use Bib2HTML::General::Misc ;
+
+#------------------------------------------------------
+#
+# Global vars
+#
+#------------------------------------------------------
+
+# Version number of this generator
+my $VERSION = "4.0" ;
+
+#------------------------------------------------------
+#
+# Constructor
+#
+#------------------------------------------------------
+
+sub new($$$$$$$;$) : method {
+ my $proto = shift;
+ my $class = ref($proto) || $proto;
+
+ my @langs = ();
+ if (isarray($_[4])) {
+ foreach my $l (@{$_[4]}) {
+ if ($l !~ /_[a-zA-Z0-9]+Gen$/) {
+ push @langs, $l."_DomainGen";
+ }
+ push @langs, $l;
+ }
+ }
+ else {
+ @langs = ( $_[4] );
+ if ($_[4] !~ /_[a-zA-Z0-9]+Gen$/) {
+ unshift @langs, $_[4]."_DomainGen";
+ }
+ }
+
+ $_[4] = \@langs;
+
+ my $self = $class->SUPER::new(@_) ;
+
+ $self->{'FILENAMES'}{'domain-tree'} = 'domain-tree.html';
+
+ bless( $self, $class );
+
+ $self->addNavigationButton($self->filename('domain-tree'),
+ 'I18N_LANG_DOMAINS');
+ return $self;
+}
+
+#------------------------------------------------------
+#
+# Generation API
+#
+#------------------------------------------------------
+
+=pod
+
+=item * do_processing()
+
+Main processing.
+
+=cut
+sub do_processing() : method {
+ my $self = shift ;
+
+ # Call inherited generation method
+ $self->SUPER::do_processing() ;
+
+ # Generates the domain pages
+ $self->generate_domain_tree() ;
+}
+
+=pod
+
+=item * generate_domain_tree()
+
+Generates domain-tree.html
+
+=cut
+sub generate_domain_tree() : method {
+ my $self = shift ;
+ my $filename = $self->filename('domain-tree');
+ return unless ($self->is_restricted_file("$filename"));
+ my $rootdir = "." ;
+ $filename = htmlcatfile($rootdir,$filename) ;
+ my $bar = $self->{'THEME'}->get_navigation_bar( $filename,
+ { 'tree' => 0,
+ 'index' => $self->{'__INDEX_GENERATED__'},
+ 'userdef' => $self->getNavigationButtons('I18N_LANG_DOMAINS'),
+ },
+ $rootdir ) ;
+ my $content = join('',
+ $bar,
+ $self->{'THEME'}->partseparator(),
+ $self->generate_domain_tree_content($rootdir),
+ $self->{'THEME'}->partseparator(),
+ $bar,
+ $self->{'THEME'}->partseparator(),
+ $self->{'THEME'}->get_copyright($rootdir) ) ;
+
+ $self->{'THEME'}->create_html_body_page( $filename,
+ $content,
+ $self->{'SHORT_TITLE'},
+ $rootdir,
+ 'html') ;
+}
+
+#------------------------------------------------------
+#
+# Overwriteable Generation API
+#
+#------------------------------------------------------
+
+=pod
+
+=item * generate_domain_tree_content()
+
+Generates and replies the content of domain-tree.html.
+Takes 1 arg:
+
+=over
+
+=item * rootdir (string)
+
+=back
+
+=cut
+sub generate_domain_tree_content($) : method {
+ my $self = shift ;
+ my $rootdir = shift ;
+ my @entries = $self->get_all_entries_ayt() ;
+ my $content = $self->{'THEME'}->title($self->{'LANG'}->get('I18N_LANG_DOMAIN_TREE')) ;
+
+ # Build the tree
+ my %tree = () ;
+ foreach my $entry (@entries) {
+
+ # Search the domains of the entry
+ my @domains = $self->get_all_domains_for($entry) ;
+
+ if ( @domains ) {
+
+ # Generate the entry data
+ my $entrylabel = $self->get_short_entry_description("$entry",$rootdir) ;
+
+ # Register the entry inside the tree
+ foreach my $domain (@domains) {
+ my @parts = htmlsplit($domain) ;
+ my $t = \%tree ;
+
+ # Creates categories inside the tree
+ # $t is a reference to the current leaf
+ foreach my $part (@parts) {
+ $part =~ s/[ \t\n\r]+/&nbsp;/g ;
+ $part = $self->{'THEME'}->strong("$part");
+ $t->{"$part"} = {}
+ unless ( exists $t->{"$part"} ) ;
+ $t = $t->{"$part"} ;
+ }
+
+ # Adds the entry into the new category
+ $t->{"$entrylabel"} = {} ;
+ }
+ }
+ }
+
+ # Generate the HTML representation of the tree
+ $content .= $self->{'THEME'}->get_tree( \%tree, $rootdir, $self->{'LANG'}->get('I18N_LANG_KEYWORDS') ) ;
+
+ return $content ;
+}
+
+#------------------------------------------------------
+#
+# Domain API
+#
+#------------------------------------------------------
+
+=pod
+
+=item * get_all_domain_for()
+
+Replies the array of the domains for the specified entry
+Takes 1 arg:
+
+=over
+
+=item * entry (string)
+
+is the identifier of the entry.
+
+=back
+
+=cut
+sub get_all_domains_for($) : method {
+ my $self = shift ;
+ my @domains = () ;
+
+ if ( $self->{'CONTENT'}{'entries'}{$_[0]} ) {
+ my $domain1 = $self->{'CONTENT'}{'entries'}{$_[0]}{'fields'}{'domain'} || '' ;
+ my $domain2 = $self->{'CONTENT'}{'entries'}{$_[0]}{'fields'}{'nddomain'} || '' ;
+ my $domain3 = $self->{'CONTENT'}{'entries'}{$_[0]}{'fields'}{'rddomain'} || '' ;
+ my $alldomains = $self->{'CONTENT'}{'entries'}{$_[0]}{'fields'}{'domains'} || '' ;
+
+ if ( $alldomains ) {
+ @domains = split(':', $alldomains) ;
+ }
+ if ( ($domain1) && (!strinarray("$domain1",\@domains)) ) {
+ unshift @domains, "$domain1" ;
+ }
+ if ( ($domain2) && (!strinarray("$domain2",\@domains)) ) {
+ unshift @domains, "$domain2" ;
+ }
+ if ( ($domain3) && (!strinarray("$domain3",\@domains)) ) {
+ unshift @domains, "$domain3" ;
+ }
+
+ }
+ return @domains ;
+}
+
+=pod
+
+=item * get_all_documents_for_domain()
+
+Replies the array of the documents keys which
+are in the specified domain.
+Takes 1 arg:
+
+=over
+
+=item * domain (string)
+
+is the identifier of the domain.
+
+=back
+
+=cut
+sub get_all_documents_for_domain($) : method {
+ my $self = shift ;
+ my @documents = () ;
+
+ foreach my $entry (keys %{$self->{'CONTENT'}{'entries'}}) {
+
+ my $domain1 = $self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'domain'} || '' ;
+ my $domain2 = $self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'nddomain'} || '' ;
+ my $domain3 = $self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'rddomain'} || '' ;
+ my $alldomains = $self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'domains'} || '' ;
+
+ my @domains = () ;
+ if ( $alldomains ) {
+ @domains = split(':', $alldomains) ;
+ }
+ if ( ( @domains ) && ( strinarray($_[0], \@domains) ) ) {
+ push @documents, $entry ;
+ }
+ elsif ( ($domain1) && ($domain1 eq $_[0]) ) {
+ push @documents, $entry ;
+ }
+ elsif ( ($domain2) && ($domain2 eq $_[0]) ) {
+ push @documents, $entry ;
+ }
+ elsif ( ($domain3) && ($domain3 eq $_[0]) ) {
+ push @documents, $entry ;
+ }
+
+ }
+ return @documents ;
+}
+
+=pod
+
+=item * get_short_entry_description()
+
+Replies a short entry description.
+Takes 2 args:
+
+=over
+
+=item * entry (string)
+
+is the entry key.
+
+=item * rootdir (string)
+
+is the root directory.
+
+=back
+
+=cut
+sub get_short_entry_description($$) : method {
+ my $self = shift ;
+ my $entry = $_[0] || confess('you must supply the entry key') ;
+ my $rootdir = $_[1] || confess('you must supply the root directory') ;
+ my $biblabeller = Bib2HTML::Translator::BibTeXEntry->new() ;
+ my $translator = Bib2HTML::Translator::BibTeXName->new() ;
+
+ # Generate the entry data
+ my $filename = $self->filename('entry',$entry) ;
+ my $name = $translator->formatnames( $self->__get_author_editor__($entry,''),
+ $self->{'FORMATS'}{'name'},
+ $self->{'FORMATS'}{'names'} ) ;
+ $name =~ s/[ \t\n\r]+/&nbsp;/g ;
+ my $title = $self->{'THEME'}->entry_title( extract_first_words( $self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'title'},
+ 40 ) ) ;
+ $title =~ s/[ \t\n\r]+/&nbsp;/g ;
+ my $year = $self->__get_year__( $entry, '' ) ;
+ my $entrylabel = join( '',
+ "[",
+ $self->{'THEME'}->href( htmlcatfile($rootdir,$filename),
+ $biblabeller->citation_label($entry,$self->{'CONTENT'}{'entries'}{$entry}),
+ $self->browserframe('overview-summary') ),
+ "]&nbsp;",
+ $name,
+ ",&nbsp;",
+ $title,
+ ( $year ? "&nbsp;(". $year .")" : '' )
+ ) ;
+
+ return $entrylabel ;
+}
+
+#------------------------------------------------------
+#
+# Entry Generation
+#
+#------------------------------------------------------
+
+=pod
+
+=item * generate_entry_content()
+
+Generates the HTML entry-???.html
+Overwrite this method.
+Takes 3 args:
+
+=over
+
+=item * key (string)
+
+is the BibTeX key of the current bibliographical entry
+
+=item * entry (hash ref)
+
+is the description of the current bibliographical entry
+
+=item * url (string)
+
+is the URL of the current entry
+
+=item * rootdir (string)
+
+is the path to the root.
+
+=item * entry_title (ref string)
+
+must be filled with the title of the entry.
+
+=item * user_fields (array)
+
+is the field predefined by the user. It must be an
+array of associative arrays (one for each generable field).
+
+=cut
+sub generate_entry_content($$$$$) {
+ my $self = shift ;
+ my @content = @{$_[5]} ;
+ my ($key,$entry,$url,$rootdir) = ($_[0],$_[1],$_[2],$_[3]) ;
+ my ($title,$aut_ed_flg,$note_req) = ($_[4],$_[6],$_[7]) ;
+
+ # Call the inherited method
+ my $result = $self->SUPER::generate_entry_content($key,$entry,$url,$rootdir,$title,\@content,$aut_ed_flg,$note_req) ;
+
+ # Generates the domains of the entry
+ my @domains = $self->get_all_domains_for("$key");
+
+ if ( @domains ) {
+
+ my $content = '' ;
+ my %tree = () ;
+
+ foreach my $domain (@domains) {
+ my @entries = $self->get_all_documents_for_domain("$domain") ;
+
+ $domain =~ s/[ \t\n\r]+/&nbsp;/g ;
+ $domain = $self->{'THEME'}->strong("$domain");
+
+ # Adds the entry into the new category
+ foreach my $entry (@entries) {
+ my $label = $self->get_short_entry_description($entry,$rootdir);
+ $tree{"$domain"}{"$label"} = {} ;
+ }
+ }
+
+ $content = $self->{'THEME'}->get_tree( \%tree, $rootdir ) ;
+ push @{$result}, $self->{'THEME'}->build_onecolumn_array( $self->{'LANG'}->get('I18N_LANG_ARTICLESINSAMEDOMAINS'),
+ [ $content ] ) ;
+
+ }
+
+ return $result ;
+}
+
+1;
+__END__
+
+=back
+
+=head1 COPYRIGHT
+
+(c) Copyright 1998-09 Stéphane Galland E<lt>galland@arakhne.orgE<gt>, under GPL.
+
+=head1 AUTHORS
+
+=over
+
+=item *
+
+Conceived and initially developed by Stéphane Galland E<lt>galland@arakhne.orgE<gt>.
+
+=back
+
+=head1 SEE ALSO
+
+bib2html.pl
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/ExtendedGen.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/ExtendedGen.pm
new file mode 100644
index 0000000000..8eafff69aa
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/ExtendedGen.pm
@@ -0,0 +1,714 @@
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+=pod
+
+=head1 NAME
+
+Bib2HTML::Generator::ExtendedGen - An HTML generator
+
+=head1 SYNOPSYS
+
+use Bib2HTML::Generator::ExtendedGen ;
+
+my $gen = Bib2HTML::Generator::ExtendedGen->new( data, output, info, titles,
+ lang, theme ) ;
+
+=head1 DESCRIPTION
+
+Bib2HTML::Generator::ExtendedGen is a Perl module, which permits to
+generate HTML pages for the BibTeX database.
+In addition to the features of Bib2HTML::Generator::HTMLGen, this
+generator supports the following bibtex fields:
+
+=over
+
+=item * isbn
+
+is the ISBN number.
+
+=item * issn
+
+is the ISSN number.
+
+=item * readers
+
+is the list of people who read this entry. The format
+is similar as for the author field.
+
+=item * abstract
+
+is the abstract of the document.
+
+=item * keywords
+
+are the keywords associated to the document.
+
+=item * localfile
+
+is the local path to a electronic version of
+the document. This document could be dowload
+from the generated webpage.
+
+=back
+
+=head1 GETTING STARTED
+
+=head2 Initialization
+
+To start a generator script, say something like this:
+
+ use Bib2HTML::Generator::ExtendedGen;
+
+ my $gen = Bib2HTML::Generator::ExtendedGen->new( { }, "./bib",
+ { 'BIB2HTML_VERSION' => "0.1",
+ },
+ { 'SHORT' => "This is the title",
+ 'LONG' => "This is the title",
+ },
+ "English",
+ "Simple"
+ ) ;
+
+...or something similar. Acceptable parameters to the constructor are:
+
+=over
+
+=item * content (hash)
+
+See HTMLGen.pm.
+
+=item * output (string)
+
+See HTMLGen.pm.
+
+=item * bib2html_data (hash)
+
+See HTMLGen.pm.
+
+=item * titles (hash)
+
+See HTMLGen.pm.
+
+=item * lang (string)
+
+See HTMLGen.pm.
+
+=item * theme (string)
+
+See HTMLGen.pm.
+
+=item * show_bibtex (boolean)
+
+See HTMLGen.pm
+
+=item * params (optional array)
+
+is the set of parameters passed to the generator.
+
+=back
+
+=head1 METHOD DESCRIPTIONS
+
+This section contains only the methods in ExtendedGen.pm itself.
+
+=over
+
+=cut
+
+package Bib2HTML::Generator::ExtendedGen;
+
+@ISA = ('Bib2HTML::Generator::HTMLGen');
+@EXPORT = qw( );
+@EXPORT_OK = qw();
+
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+use Exporter;
+use Carp ;
+
+use File::Basename ;
+
+use Bib2HTML::Generator::HTMLGen ;
+use Bib2HTML::General::Misc ;
+use Bib2HTML::General::HTML ;
+use Bib2HTML::General::Verbose ;
+
+#------------------------------------------------------
+#
+# Global vars
+#
+#------------------------------------------------------
+
+# Version number of this generator
+my $VERSION = "5.0" ;
+
+#------------------------------------------------------
+#
+# Constructor
+#
+#------------------------------------------------------
+
+sub new($$$$$$$;$) : method {
+ my $proto = shift;
+ my $class = ref($proto) || $proto;
+
+ my @langs = ();
+ if (isarray($_[4])) {
+ foreach my $l (@{$_[4]}) {
+ if ($l !~ /_[a-zA-Z0-9]+Gen$/) {
+ push @langs, $l."_ExtendedGen";
+ }
+ push @langs, $l;
+ }
+ }
+ else {
+ @langs = ( $_[4] );
+ if ($_[4] !~ /_[a-zA-Z0-9]+Gen$/) {
+ unshift @langs, $_[4]."_ExtendedGen";
+ }
+ }
+
+ $_[4] = \@langs;
+
+ my $self = $class->SUPER::new(@_) ;
+ $self->{'EXTEND_FILES_TO_COPY'} = [] ;
+ bless( $self, $class );
+ return $self;
+}
+
+#------------------------------------------------------
+#
+# Background tasks
+#
+#------------------------------------------------------
+
+
+=pod
+
+=item * pre_processing()
+
+Pre_processing.
+
+=cut
+sub pre_processing() : method {
+ my $self = shift ;
+
+ # Call inherited copying method
+ $self->SUPER::pre_processing() ;
+
+ foreach my $key (keys %{$self->{'CONTENT'}{'entries'}}) {
+ my $entry = $self->{'CONTENT'}{'entries'}{"$key"};
+ if ((exists $entry->{'fields'}{'pdf'})&&
+ (!exists $entry->{'fields'}{'localfile'})) {
+ $self->addLocalFileFromPDF($key,$entry->{'fields'}{'pdf'}, $entry->{'fields'});
+ }
+ }
+}
+
+sub addLocalFileFromPDF($$$) {
+ my $self = shift;
+ my $key = shift;
+ my $url = shift;
+
+ my $filename = undef;
+
+ if ( $url =~ /^file:\s*(.*?)\s*$/i) {
+ $filename = "$1";
+ }
+ elsif ( ( $url !~ /^http:/i ) &&
+ ( $url !~ /^ftp:/i ) &&
+ ( $url !~ /^https:/i ) &&
+ ( $url !~ /^gopher:/i ) &&
+ ( $url !~ /^mailto:/i ) ) {
+ $filename = "$url" ;
+ }
+
+ if ($filename) {
+ Bib2HTML::General::Verbose::one ("The 'pdf' field of $key was replaced by the 'localfile' field.");
+ $_[0]->{'localfile'} = "$filename";
+ delete $_[0]->{'pdf'};
+ }
+}
+
+=pod
+
+=item * copy_files()
+
+Overwrite this method.
+
+=cut
+sub copy_files() : method {
+ my $self = shift ;
+
+ # Call inherited copying method
+ $self->SUPER::copy_files() ;
+
+ # Copy the Extended's files
+ my @source = File::Spec->splitdir($self->{'BIB2HTML'}{'PERLSCRIPTDIR'}) ;
+ @source = ( @source, split(/\:\:/, __PACKAGE__) ) ;
+ pop @source ;
+
+ # Copy icons
+ $self->copythisfile( File::Spec->catfile(@source,"drive.png"),
+ File::Spec->catfile($self->{'TARGET'},"drive.png") ) ;
+
+ # Copy registered electronic documents
+ foreach my $file (@{$self->{'EXTEND_FILES_TO_COPY'}}) {
+ if ($self->is_restricted_file($file->{'target'})) {
+ if ( ! mkdir_rec( dirname( $file->{'target'} ) ) ) {
+ Bib2HTML::General::Error::syswarm( $file->{'target'}.": $!\n" );
+ }
+ elsif ( ! $self->copythisfile( $file->{'source'}, $file->{'target'} ) ) {
+ Bib2HTML::General::Error::syswarm( $file->{'source'}.": $!\n" );
+ }
+ }
+ }
+}
+
+=pod
+
+=item * register_file_to_copy()
+
+Register a file which must be copied.
+Takes 2 args:
+
+=over
+
+=item * source (string)
+
+=item * target (string)
+
+=back
+
+=cut
+sub register_file_to_copy($$) : method {
+ my $self = shift;
+ push @{$self->{'EXTEND_FILES_TO_COPY'}},
+ { 'source' => $_[0],
+ 'target' => $_[1],
+ } ;
+}
+
+#------------------------------------------------------
+#
+# Entry Generation
+#
+#------------------------------------------------------
+
+=pod
+
+=item * generate_entry_content()
+
+Generates the HTML entry-???.html
+Overwrite this method.
+Takes 5 args:
+
+=over
+
+=item * key (string)
+
+is the BibTeX key of the current bibliographical entry
+
+=item * entry (hash ref)
+
+is the description of the current bibliographical entry
+
+=item * url (string)
+
+is the URL of the current entry
+
+=item * rootdir (string)
+
+is the path to the root.
+
+=item * entry_title (ref string)
+
+must be filled with the title of the entry.
+
+=item * user_fields (array)
+
+is the field predefined by the user. It must be an
+array of associative arrays (one for each generable field).
+
+=cut
+sub generate_entry_content($$$$$) {
+ my $self = shift ;
+ my @content = @{$_[5]} ;
+ my ($key,$entry,$url,$rootdir) = ($_[0],$_[1],$_[2],$_[3]) ;
+ my ($title,$aut_ed_flg,$note_req) = ($_[4],$_[6],$_[7]) ;
+
+ #
+ # Prepare the additional fields which are supported by
+ # this generator.
+ # There new fields must be displayed inside the
+ # first generated array of attributes.
+ #
+ # ISBN
+ if ( exists $entry->{'fields'}{'isbn'} ) {
+ push @content, { 'name' => $self->{'LANG'}->get('I18N_LANG_FIELD_ISBN'),
+ 'explanation' => $entry->{'fields'}{'isbn'} || "-",
+ } ;
+ }
+ # ISSN
+ if ( exists $entry->{'fields'}{'issn'} ) {
+ push @content, { 'name' => $self->{'LANG'}->get('I18N_LANG_FIELD_ISSN'),
+ 'explanation' => $entry->{'fields'}{'issn'} || "-",
+ } ;
+ }
+ # URL
+ if ( exists $entry->{'fields'}{'url'} ) {
+ my $url = $entry->{'fields'}{'url'} ;
+ if ( $url ) {
+ $url =~ s/\\(.)/$1/g unless ($self->isgenparam('backslash'));
+ if ( ( $url !~ /^http:/i ) &&
+ ( $url !~ /^ftp:/i ) &&
+ ( $url !~ /^file:/i ) &&
+ ( $url !~ /^https:/i ) &&
+ ( $url !~ /^gopher:/i ) &&
+ ( $url !~ /^mailto:/i ) ) {
+ $url = "http://".$url ;
+ }
+ }
+ push @content, { 'name' => $self->{'LANG'}->get('I18N_LANG_FIELD_URL'),
+ 'explanation' => ( $url ) ?
+ $self->{'THEME'}->href( $url,
+ $url,
+ "_top" ) : "-",
+ } ;
+ }
+ # ADSURL - ASTROPHYSICS REFERENCE CITATION LIBRARY
+ if ( exists $entry->{'fields'}{'adsurl'} ) {
+ my $url = $entry->{'fields'}{'adsurl'} ;
+ if ( $url ) {
+ $url =~ s/\\(.)/$1/g unless ($self->isgenparam('backslash'));
+ if ( ( $url !~ /^http:/i ) &&
+ ( $url !~ /^ftp:/i ) &&
+ ( $url !~ /^file:/i ) &&
+ ( $url !~ /^https:/i ) &&
+ ( $url !~ /^gopher:/i ) &&
+ ( $url !~ /^mailto:/i ) ) {
+ $url = "http://".$url ;
+ }
+ }
+ push @content, { 'name' => $self->{'LANG'}->get('I18N_LANG_FIELD_ADSURL'),
+ 'explanation' => ( $url ) ?
+ $self->{'THEME'}->href( $url,
+ $url,
+ "_top" ) : "-",
+ } ;
+ }
+ # DOI - ACM URL
+ if ( exists $entry->{'fields'}{'doi'} ) {
+ my $url = $entry->{'fields'}{'doi'} ;
+ if ( $url ) {
+ $url =~ s/\\(.)/$1/g unless ($self->isgenparam('backslash'));
+ if ( ( $url !~ /^http:/i ) &&
+ ( $url !~ /^ftp:/i ) &&
+ ( $url !~ /^file:/i ) &&
+ ( $url !~ /^https:/i ) &&
+ ( $url !~ /^gopher:/i ) &&
+ ( $url !~ /^mailto:/i ) ) {
+ $url = "http://".$url ;
+ }
+ }
+ push @content, { 'name' => $self->{'LANG'}->get('I18N_LANG_FIELD_DOI'),
+ 'explanation' => ( $url ) ?
+ $self->{'THEME'}->href( $url,
+ $url,
+ "_top" ) : "-",
+ } ;
+ }
+ # PDF file
+ if ( exists $entry->{'fields'}{'pdf'} ) {
+ my $pdf = $entry->{'fields'}{'pdf'} ;
+ if ( $pdf ) {
+ $pdf =~ s/\\(.)/$1/g unless ($self->isgenparam('backslash'));
+ if ( ( $pdf =~ /^http:/i ) ||
+ ( $pdf =~ /^ftp:/i ) ||
+ ( $pdf =~ /^file:/i ) ||
+ ( $pdf =~ /^https:/i ) ||
+ ( $pdf =~ /^gopher:/i ) ||
+ ( $pdf =~ /^mailto:/i ) ) {
+ $pdf = $self->{'THEME'}->href($pdf,
+ get_html_entities($pdf),
+ "_top") ;
+ }
+ }
+ push @content, { 'name' => $self->{'LANG'}->get('I18N_LANG_FIELD_PDFFILE'),
+ 'explanation' => ( $pdf ) ? "$pdf" : "-",
+ } ;
+ }
+ # Readers' names
+ if ( exists $entry->{'fields'}{'readers'} ) {
+ my $translator = Bib2HTML::Translator::BibTeXName->new() ;
+ push @content, { 'name' => $self->{'LANG'}->get('I18N_LANG_FIELD_READERS'),
+ 'explanation' => $translator->formatnames($entry->{'fields'}{'readers'},
+ $self->{'FORMATS'}{'name'},
+ $self->{'FORMATS'}{'names'},
+ -1) || "-",
+ } ;
+ }
+
+ #
+ # Call the inherited generating method
+ # which permits to create the first array
+ # of attributes
+ #
+ my $result = $self->SUPER::generate_entry_content($key,$entry,$url,$rootdir,$title,\@content,$aut_ed_flg,$note_req) ;
+
+ my $sliceindex = 2 ;
+
+ #
+ # Generates additional information which are
+ # specified to this extended generator
+ #
+ # Box for abstract and keywords
+ if ( ( exists $entry->{'fields'}{'abstract'} ) ||
+ ( exists $entry->{'fields'}{'keywords'} ) ) {
+
+ my ($abstract,$title) = ('','') ;
+ if ( exists $entry->{'fields'}{'abstract'} ) {
+ $title = $self->{'LANG'}->get('I18N_LANG_FIELD_ABSTRACT') ;
+ $abstract = $entry->{'fields'}{'abstract'} ;
+ }
+ if ( exists $entry->{'fields'}{'keywords'} ) {
+ if ( $title ) {
+ $title = $self->{'LANG'}->get('I18N_LANG_FIELD_ABSTRACT_KEYWORDS') ;
+ $abstract .= "<BR><BR>\n" ;
+ }
+ else {
+ $title = $self->{'LANG'}->get('I18N_LANG_FIELD_KEYWORDS_TITLE') ;
+ }
+ $abstract .= $self->{'THEME'}->small($self->{'LANG'}->get('I18N_LANG_FIELD_KEYWORDS', $entry->{'fields'}{'keywords'} ) ) ;
+ }
+ my $r = $self->{'THEME'}->build_onecolumn_array( $title,
+ [ $abstract ] ) ;
+ array_slice( $result, $sliceindex, $r ) ;
+ $sliceindex ++ ;
+
+ }
+
+ # Downloadable file
+ if ( ( ( exists $entry->{'fields'}{'localfile'} ) ||
+ ( $self->isgenparam('doc-repository') ) ) &&
+ ( ! $self->isgenparam('nodownload') ) ) {
+
+ # Compute the source path of the PDF document
+ my ($abs,$rel,$turl,$drepos) = ($self->genparam('absolute-source'),
+ $self->genparam('relative-source'),
+ $self->genparam('target-url'),
+ $self->genparam('doc-repository')) ;
+
+ my ($sourcefilename,$targetfilename,$targeturl) ;
+
+ # Does it is an URL?
+ if ($turl) {
+ $targeturl = htmlcatdir( $turl, File::Spec->splitdir( $entry->{'fields'}{'localfile'} ) ) ;
+ }
+ # Does it have an absolute filename?
+ elsif ( $rel ) {
+ my @path = File::Spec->splitdir($entry->{'dirname'}) ;
+ push @path, File::Spec->splitdir("$rel") ;
+ $sourcefilename = File::Spec->catfile(@path,
+ htmltolocalpath( $entry->{'fields'}{'localfile'} ) ) ;
+ }
+ # Does it have a relative filename?
+ elsif ( $abs ) {
+ my @path = File::Spec->splitdir("$abs") ;
+ $sourcefilename = File::Spec->catfile( @path,
+ htmltolocalpath( $entry->{'fields'}{'localfile'} ) ) ;
+ }
+ # Default location
+ else {
+ my @path = File::Spec->splitdir($entry->{'dirname'}) ;
+ $sourcefilename = File::Spec->catfile(@path,
+ htmltolocalpath( $entry->{'fields'}{'localfile'} ) ) ;
+ }
+
+ # Does the document repository exists?
+ if ($drepos) {
+ my @exts = ('pdf','PDF','ps','PS');
+ my $i = 0;
+ do {
+ $sourcefilename = File::Spec->catfile( File::Spec->splitdir("$drepos"), $key.".".$exts[$i] ) ;
+ $i ++;
+ }
+ while (( ! -f "$sourcefilename" )&&($i<@exts));
+ $sourcefilename = undef unless ( -f "$sourcefilename" );
+ }
+
+ if ($sourcefilename) {
+ if ( (!$drepos) && ( exists $entry->{'fields'}{'localfile'} ) ) {
+ my @path = htmlsplit( $entry->{'fields'}{'localfile'} ) ;
+ $targeturl = htmlcatfile( 'e-documents', @path ) ;
+ }
+ else {
+ $targeturl = htmlcatfile( 'e-documents', basename($sourcefilename) ) ;
+ }
+ $targetfilename = File::Spec->catdir( $self->{'TARGET'}, $targeturl ) ;
+ }
+
+ if ( (!$sourcefilename) || ( -f "$sourcefilename" ) ) {
+
+ # Register the PDF document to copy
+ # The real copy will be made during the copy_files() call.
+ if (($sourcefilename)&&($targetfilename)) {
+ $self->register_file_to_copy( "$sourcefilename", "$targetfilename" ) ;
+ }
+
+ if ($targeturl) {
+ my $alttext = '';
+ if ($sourcefilename) {
+ $alttext = basename("$sourcefilename");
+ }
+
+ # Generate the HTML code which permits to download the document
+ my $r = $self->{'THEME'}->par( $self->{'LANG'}->get( 'I18N_LANG_FIELD_DOWNLOAD',
+ $self->{'THEME'}->href( $targeturl,
+ "<IMG align='middle' src='".
+ htmlcatdir($rootdir,'drive.png').
+ "' alt='".
+ $alttext.
+ "' border='0'>",
+ "_top" ) ) ) ;
+ array_slice( $result, $sliceindex, $r ) ;
+ }
+ }
+ else {
+ Bib2HTML::General::Error::syswarm( "$sourcefilename: $!\n" );
+ }
+ }
+
+ return $result ;
+}
+
+#------------------------------------------------------
+#
+# Generator helpers
+#
+#------------------------------------------------------
+
+=pod
+
+=item * save_generator_parameter()
+
+Replies if the specified generator parameter was supported.
+This function was called each time a generator parameter was
+given to this generator. By default, simply updatethe
+given parameter value (second parameter).
+You could do some stuff before
+saving (splitting...). Replies false is the parameter was
+not recognized. Don't forget to call inherited functions.
+Takes 2 args:
+
+=over
+
+=item * param_name (string)
+
+is the name of the parameter.
+
+=item * param_value (byref string)
+
+is the value of the parameter.
+
+=back
+
+=cut
+sub save_generator_parameter($$) {
+ my $self = shift ;
+ # all the following parameters will be saved by AbstractGenerator::new
+ return 1 if ( strinarray($_[0],
+ ['absolute-source',
+ 'nodownload',
+ 'doc-repository',
+ 'relative-source',
+ 'target-url',
+ 'backslash']) ) ;
+ return $self->SUPER::save_generator_parameter($_[0],$_[1]) ;
+}
+
+=pod
+
+=item * display_supported_generator_params()
+
+Display the list of supported generator parameters.
+
+=cut
+sub display_supported_generator_params() {
+ my $self = shift ;
+ $self->SUPER::display_supported_generator_params() ;
+
+ $self->show_supported_param('absolute-source',
+ 'is the absolute path where the '.
+ 'downloadable articles could be '.
+ 'found',
+ 'path') ;
+
+ $self->show_supported_param('backslash',
+ 'if presents, indicates that '.
+ 'backslashes will be removed from '.
+ 'the link fields (url,ftp...).') ;
+
+ $self->show_supported_param('doc-repository',
+ 'if presents, indicates the path to '.
+ 'the direction where the electronical '.
+ 'documents was stored. The documents '.
+ 'must have the same name as the '.
+ 'BibTeX key.') ;
+
+ $self->show_supported_param('nodownload',
+ 'if presents, indicates that no '.
+ 'link to the electronic documents '.
+ 'will be generated. By extension, '.
+ 'if presents no copy will be made.') ;
+
+ $self->show_supported_param('relative-source',
+ 'is the path where the downloadable '.
+ 'articles could be found, relatively '.
+ 'to the .bib file location.',
+ 'path') ;
+
+ $self->show_supported_param('target-url',
+ 'is the base URL where document '.
+ 'could be download. If presents, '.
+ 'the document will not be copied.',
+ 'url') ;
+}
+
+1;
+__END__
+
+=back
+
+=head1 COPYRIGHT
+
+(c) Copyright 1998-09 Stéphane Galland E<lt>galland@arakhne.orgE<gt>, under GPL.
+
+=head1 AUTHORS
+
+=over
+
+=item *
+
+Conceived and initially developed by Stéphane Galland E<lt>galland@arakhne.orgE<gt>.
+
+=back
+
+=head1 SEE ALSO
+
+bib2html.pl
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/FileWriter.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/FileWriter.pm
new file mode 100644
index 0000000000..d79d5495e2
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/FileWriter.pm
@@ -0,0 +1,307 @@
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+=pod
+
+=head1 NAME
+
+Bib2HTML::Generator::FileWriter - An output stream writer
+
+=head1 DESCRIPTION
+
+Bib2HTML::Generator::FileWriter is a Perl module, which permits to
+output streams into files.
+
+=head1 SYNOPSYS
+
+Bib2HTML::Generator::FileWriter->new( ) ;
+
+=head1 DESCRIPTION
+
+Bib2HTML::Generator::FileWriter is a Perl module, which permits to
+output streams into files.
+
+
+=head1 METHOD DESCRIPTIONS
+
+This section contains only the methods in FileWriter.pm itself.
+
+=over
+
+=cut
+
+package Bib2HTML::Generator::FileWriter;
+
+@ISA = ('Bib2HTML::Generator::Writer');
+@EXPORT = qw();
+@EXPORT_OK = qw();
+
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+use Exporter;
+use Carp ;
+
+use File::Path;
+use File::Spec;
+
+use Bib2HTML::Generator::Writer;
+use Bib2HTML::General::Misc;
+use Bib2HTML::General::Error;
+
+#------------------------------------------------------
+#
+# Global vars
+#
+#------------------------------------------------------
+
+# Version number of abstract generator
+my $VERSION = "1.0" ;
+
+# Opened streams
+my @opened_streams = ();
+
+#------------------------------------------------------
+#
+# Constructor
+#
+#------------------------------------------------------
+
+sub new() : method {
+ my $proto = shift;
+ my $class = ref($proto) || $proto;
+ my $self = $class->SUPER::new() ;
+ bless( $self, $class );
+ return $self;
+}
+
+=pod
+
+=item * openstream($)
+
+Open the output stream.
+Takes 1 param:
+
+=over
+
+=item * filename (string)
+
+is the name of the output file.
+
+=back
+
+=cut
+sub openstream($) {
+ my $self = shift;
+ my $filename = shift || confess( 'you must supply the root directory' ) ;
+ confess('output stream already opened') if ($self->{'opened'});
+ my $streamname = '';
+
+ do {
+ my $count = int(rand(5));
+ $streamname = $filename;
+ $streamname =~ s/[^a-zA-Z]//g;
+ for(my $i=0; $i<$count; $i++) {
+ my $c = rand(26);
+ $streamname .= chr(ord('A')+$c);
+ }
+ }
+ while (strinarray("$streamname",\@opened_streams));
+
+ local *OUTPUTFILE;
+ *OUTPUTFILE = $streamname;
+ my $r = open( OUTPUTFILE, "> $filename" );
+ if ($r) {
+ $self->{'opened'} = "$streamname";
+ push @opened_streams, "$streamname";
+ }
+ return $r;
+}
+
+=pod
+
+=item * out($)
+
+Put a string into the output stream.
+Takes 1 param:
+
+=over
+
+=item * str (string)
+
+is the string to output.
+
+=back
+
+=cut
+sub out($) {
+ my $self = shift;
+ my $str = shift || '';
+ if ($self->{'opened'}) {
+ local *OUTPUTFILE;
+ *OUTPUTFILE = $self->{'opened'};
+ print OUTPUTFILE ("$str");
+ return 1;
+ }
+ else {
+ return undef;
+ }
+}
+
+=pod
+
+=item * closestream()
+
+Close the currently opened stream.
+
+=cut
+sub closestream() {
+ my $self = shift;
+ if ($self->{'opened'}) {
+ local *OUTPUTFILE;
+ *OUTPUTFILE = $self->{'opened'};
+ close(OUTPUTFILE);
+ @opened_streams = grep {($self->{opened} ne $_)} @opened_streams;
+ delete $self->{'opened'};
+ return 1;
+ }
+ else {
+ return undef;
+ }
+}
+
+=pod
+
+=item * create_output_directory()
+
+Create the output directory if required.
+Replies the output filename (directory).
+Takes n params:
+
+=over
+
+=item * output (string)
+
+is the output directory to create.
+
+=item * exceptions (list of strings)
+
+is the list of the file in the existing output directory
+to not remove.
+
+=back
+
+=cut
+sub create_output_directory($@) {
+ my $self = shift;
+ my $output = shift ;
+ if ( ! $output ) {
+ $output = File::Spec->catdir( ".", "bib2html" ) ;
+ }
+ if ( ! -d "$output" ) {
+ mkdir( "$output", 0777 )
+ or Bib2HTML::General::Error::syserr( "$output: $!\n" );
+ }
+ else {
+ $self->_clear_output_directory("$output", @_);
+ }
+ return "$output" ;
+}
+
+=pod
+
+=item * _clear_output_directory()
+
+Clear the content of the output directory.
+
+=cut
+sub _clear_output_directory($@) {
+ my $self = shift;
+ my $output = shift ;
+ my @protect = ();
+
+ foreach my $expr (@_) {
+ push @protect, shell_to_regex($expr);
+ }
+
+ local *DIR;
+ opendir(*DIR,"$output")
+ or Bib2HTML::General::Error::syserr( "The output directory '$output".
+ "' can't be opened: $!\n" ) ;
+ while (my $subfile = readdir(*DIR)) {
+ if (($subfile ne File::Spec->curdir())&&($subfile ne File::Spec->updir())) {
+ my $valid = 1;
+
+ foreach my $expr (@protect) {
+ if ($subfile =~ /$expr/) {
+ $valid = undef;
+ last;
+ }
+ }
+
+ if ($valid) {
+ my $fullpath = File::Spec->catfile("$output","$subfile");
+
+ if ( -d "$fullpath" ) {
+ rmtree( "$fullpath" )
+ or Bib2HTML::General::Error::syserr( "The directory '$fullpath".
+ "' can't be deleted: $!\n" ) ;
+ }
+ else {
+ unlink( "$fullpath" )
+ or Bib2HTML::General::Error::syserr( "The file '$fullpath".
+ "' can't be deleted: $!\n" ) ;
+ }
+ }
+ }
+ }
+ closedir(*DIR);
+}
+
+=pod
+
+=item * is_file_creation_allowed()
+
+Replies if this writer allows to create files.
+
+=cut
+sub is_file_creation_allowed() {
+ my $self = shift;
+ return 1;
+}
+
+1;
+__END__
+
+=back
+
+=head1 COPYRIGHT
+
+(c) Copyright 1998-09 Stéphane Galland E<lt>galland@arakhne.orgE<gt>, under GPL.
+
+=head1 AUTHORS
+
+=over
+
+=item *
+
+Conceived and initially developed by Stéphane Galland E<lt>galland@arakhne.orgE<gt>.
+
+=back
+
+=head1 SEE ALSO
+
+bib2html.pl
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/HTMLGen.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/HTMLGen.pm
new file mode 100644
index 0000000000..55ec802ab7
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/HTMLGen.pm
@@ -0,0 +1,2334 @@
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+=pod
+
+=head1 NAME
+
+Bib2HTML::Generator::HTMLGen - A basic HTML generator
+
+=head1 SYNOPSYS
+
+use Bib2HTML::Generator::HTMLGen ;
+
+my $gen = Bib2HTML::Generator::HTMLGen->new( content, output, info, titles,
+ lang, theme, params ) ;
+
+=head1 DESCRIPTION
+
+Bib2HTML::Generator::HTMLGen is a Perl module, which permits to
+generate HTML pages for the BibTeX database.
+
+=head1 GETTING STARTED
+
+=head2 Initialization
+
+To start a generator script, say something like this:
+
+ use Bib2HTML::Generator::HTMLGen;
+
+ my $gen = Bib2HTML::Generator::HTMLGen->new( { }, "./bib",
+ { 'BIB2HTML_VERSION' => "0.1",
+ },
+ { 'SHORT' => "This is the title",
+ 'LONG' => "This is the title",
+ },
+ "English",
+ "Simple", ""
+ ) ;
+
+...or something similar. Acceptable parameters to the constructor are:
+
+=over
+
+=item * content (hash)
+
+see AbstractGenerator help.
+
+=item * output (string)
+
+see AbstractGenerator help.
+
+=item * bib2html_data (hash)
+
+see AbstractGenerator help.
+
+=item * titles (hash)
+
+see AbstractGenerator help.
+
+=item * lang (string)
+
+see AbstractGenerator help.
+
+=item * theme (string)
+
+is the name of the theme to use
+
+=item * show_bibtex (boolean)
+
+indicates if this parser must generate a verbatim of the BibTeX code
+
+=item * params (optional array)
+
+is the set of parameters passed to the generator.
+
+=back
+
+=head1 METHOD DESCRIPTIONS
+
+This section contains only the methods in HTMLGen.pm itself.
+
+=over
+
+=cut
+
+package Bib2HTML::Generator::HTMLGen;
+
+@ISA = ('Bib2HTML::Generator::AbstractGenerator');
+@EXPORT_OK = qw();
+
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+use Carp ;
+use File::Spec ;
+use File::Basename;
+
+use Bib2HTML::Generator::AbstractGenerator;
+use Bib2HTML::General::Misc;
+use Bib2HTML::General::HTML;
+use Bib2HTML::General::Title;
+use Bib2HTML::General::Error;
+use Bib2HTML::General::Encode;
+
+#------------------------------------------------------
+#
+# Global vars
+#
+#------------------------------------------------------
+
+# Version number of this generator
+my $VERSION = "6.0" ;
+
+#------------------------------------------------------
+#
+# Constructor
+#
+#------------------------------------------------------
+
+sub new($$$$$$$;$) : method {
+ my $proto = shift;
+ my $class = ref($proto) || $proto;
+
+ my @langs = ();
+ if (isarray($_[4])) {
+ foreach my $l (@{$_[4]}) {
+ if ($l !~ /_[a-zA-Z0-9]+Gen$/) {
+ push @langs, $l."_HTMLGen";
+ }
+ push @langs, $l;
+ }
+ }
+ else {
+ @langs = ( $_[4] );
+ if ($_[4] !~ /_[a-zA-Z0-9]+Gen$/) {
+ unshift @langs, $_[4]."_HTMLGen";
+ }
+ }
+
+ my $self = $class->SUPER::new($_[0], #content
+ $_[1], #output
+ $_[2], #bib2html info
+ $_[3], #titles
+ \@langs, #lang
+ $_[6], #show bibtex
+ $_[7], #params
+ ) ;
+ bless( $self, $class );
+
+ $self->{'__INDEX_GENERATED__'} = 0 ; # index not generated
+
+ # Filenames patterns
+ $self->{'FILENAMES'} = { 'overview-frame' => 'overview-frame.html',
+ 'overview-summary' => 'overview-summary.html',
+ 'allelements' => 'allelements-frame.html',
+ 'type-overview' => 'type-#1.html',
+ 'entry' => 'entry-#1.html',
+ 'overview-tree' => 'overview-tree.html',
+ 'main_index' => "index.html",
+ 'index' => "index-#1.html",
+ 'author-overview' => 'author-#1.html',
+ } ;
+ $self->{'ENTRY_FILENAMES'} = {} ;
+ $self->{'AUTHOR_FILENAMES'} = {} ;
+
+ # HTML frames identifiers
+ $self->{'FRAMES'} = { 'overview-frame' => 'typeFrame',
+ 'overview-summary' => 'mainFrame',
+ 'allelements' => 'entryFrame',
+ 'type-overview' => 'entryFrame',
+ 'entry' => 'mainFrame',
+ 'overview-tree' => 'mainFrame',
+ 'main_index' => "_top",
+ 'index' => "mainFrame",
+ } ;
+
+ # Storage area for the buttons added into the navigation bar
+ $self->{'USER_NAVIGATION_BUTTONS'} = [] ;
+
+ # Creates the theme support
+ my $theme = $_[5] || confess( 'you must supply the theme' ) ;
+ if ( $theme !~ /\:\:/ ) {
+ $theme = "Bib2HTML::Generator::Theme::".$theme ;
+ }
+ eval "require $theme ;" ;
+ if ( $@ ) {
+ Bib2HTML::General::Error::syserr( "Unable to find the theme class: $theme\n$@\n" ) ;
+ }
+ $self->{'THEME'} = ($theme)->new( $self,
+ $self->{'BIB2HTML'},
+ $self->{'TARGET'},
+ $self->{'SHORT_TITLE'},
+ $self->{'LANG'} ) ;
+
+ # Create an instance of a XML generator
+ if ($self->genparam('xml-verbatim')) {
+ require Bib2HTML::Generator::XMLGen ;
+ $self->{'XML_GENERATOR'} = Bib2HTML::Generator::XMLGen->new($_[0], #content
+ $_[1], #output
+ $_[2], #bib2html info
+ $_[3], #titles
+ $_[4], #lang
+ $_[6], #show bibtex
+ $_[7], #params
+ ) ;
+ }
+
+ return $self;
+}
+
+
+=pod
+
+=item * save_generator_parameter()
+
+Replies if the specified generator parameter was supported.
+This function was called each time a generator parameter was
+given to this generator. By default, simply update the
+given parameter value (second parameter).
+You could do some stuff before
+saving (splitting...). Replies false is the parameter was
+not recognized. Don't forget to call inherited functions.
+Takes 2 args:
+
+=over
+
+=item * param_name (string)
+
+is the name of the parameter.
+
+=item * param_value (byref string)
+
+is the value of the parameter.
+
+=back
+
+=cut
+sub save_generator_parameter($$) {
+ # Patch by Norbert Preining added the 2003/03/17
+ # Patch by Norbert Preining added the 2003/03/27
+ # Patch by Aurel Gabris added the 2006/04/10
+ my $self = shift ;
+ if ( ( $_[0] eq 'author-regexp' ) ||
+ ( $_[0] eq 'max-names-overview' ) ||
+ ( $_[0] eq 'max-titlelength-overview' ) ||
+ ( $_[0] eq 'max-names-list') ||
+ ( $_[0] eq 'html-encoding' ) ) {
+ # will be saved by PARENT::new
+ return 1 ;
+ }
+ elsif ( $_[0] eq 'newtype' ) {
+ # extracts new type definitions
+ $_[1] = $self->merge_params(',',$_[1]) ;
+ my @ntypedef = split /\s*,\s*/, "$_[1]" ;
+ # adds each extracted definition
+ foreach my $td (@ntypedef) {
+ if ( $td !~ /^\s*(.+?)\s*:\s*(.+?)\s*:\s*(.+?)\s*$/ ) {
+ Bib2HTML::General::Error::syserr("syntax error for generator parameter ".
+ "'newtype' for \"$td\"" ) ;
+ }
+ else {
+ my @foo = (lc($1),$2,$3) ;
+ Bib2HTML::General::Verbose::one(join('',
+ "\tadd BibTeX type: ".$foo[0].",\n",
+ "\t singular: ".($foo[1]||'')."\n",
+ "\t plurial: ".($foo[2]||''))) ;
+ $self->{'SINGULAR_TYPE_LABELS'}{$foo[0]} = $foo[1] ;
+ $self->{'PLURIAL_TYPE_LABELS'}{$foo[0]} = $foo[2] ;
+ }
+ }
+ return 1 ;
+ }
+ elsif ( $_[0] eq 'type-matching' ) {
+ # Normalize the syntax of this parameter's value
+ my $val = $self->merge_params(',',$_[1]) ;
+ $val =~ s/\=>/,/g ;
+ $val =~ s/\->/,/g ;
+ $val =~ s/>/,/g ;
+ # Check the syntax of this parameter's value
+ my @foo = split /\s*,\s*/, "$val" ;
+ if ((@foo)&&((@foo%2)==0)) {
+ $_[1] = {} ;
+ while (@foo) {
+ my $a = shift @foo ;
+ my $b = shift @foo ;
+ $_[1]->{"$a"} = "$b" ;
+ }
+ }
+ else {
+ # Die on error if the syntax was invalid
+ Bib2HTML::General::Error::syserr("invalid value for the generator parameter 'type-matching'") ;
+ }
+ return 1 ;
+ }
+ elsif ( $_[0] eq 'restrict' ) {
+ # extracts output filename restrictions
+ $_[1] = $self->merge_params(',',$_[1]) ;
+ my @restricts = split /\s*,\s*/, "$_[1]" ;
+ # adds each extracted definition
+ $self->{'FILE_RESTRICTIONS'} = [];
+ foreach my $res (@restricts) {
+ push @{$self->{'FILE_RESTRICTIONS'}}, shell_to_regex($res);
+ }
+ return 1 ;
+ }
+ elsif ( ( $_[0] eq 'xml-verbatim' ) ||
+ ( $_[0] eq 'show-journalparams-overview' ) ||
+ ( $_[0] eq 'hideindex' ) ) {
+ $_[1] = 1 ;
+ return 1 ;
+ }
+ else {
+ return $self->SUPER::save_generator_parameter($_[0],$_[1]) ;
+ }
+}
+
+=pod
+
+=item * display_supported_generator_params()
+
+Display the list of supported generator parameters.
+
+=cut
+sub display_supported_generator_params() {
+ # Patch by Norbert Preining added the 2003/03/17
+ # Patch by Norbert Preining added the 2003/03/27
+ # Patch by Aurel Gabris added the 2006/04/10
+ my $self = shift ;
+ $self->SUPER::display_supported_generator_params() ;
+
+ $self->show_supported_param('author-regexp',
+ 'A regexp (case-insensitive) against which '.
+ 'the lastname of '.
+ 'an author is matched. If the author '.
+ 'matches, (s)he is included in the '.
+ 'overview window author list.' );
+
+ $self->show_supported_param('hideindex',
+ 'If present, the generator will hide the index pages.' );
+
+ $self->show_supported_param('html-encoding',
+ 'String, the character encoding used in the HTML pages '.
+ '("UTF8", "ISO-8859-1"...).' );
+
+ $self->show_supported_param('max-names-overview',
+ 'Integer, max number of authors on '.
+ 'the overview page.' );
+
+ $self->show_supported_param('max-names-list',
+ 'Integer, max number of authors on the '.
+ 'listing in the lower left window.' );
+
+ $self->show_supported_param('max-titlelength-overview',
+ 'Integer, max length of title on '.
+ 'the overview page.' );
+
+ $self->show_supported_param('newtype',
+ 'A comma separated list of new type, with singular and '.
+ 'plural form, format: '.
+ 'type:Singular:Plural[,type:Singular:Plural...]' );
+
+ $self->show_supported_param('restrict',
+ 'A comma separated list of strings containing shell-like wildcards. They '.
+ 'corresponds to the pattern filenames that are available to be generated.' );
+
+ $self->show_supported_param('show-journalparams-overview',
+ 'If specified, show journal parameters instead '.
+ 'of type for articles on the overview page.' );
+
+ $self->show_supported_param('type-matching',
+ 'A coma separated list of items which inititalizes an '.
+ 'associative array of type entry mappings. '.
+ 'For example \'incollection,article,inproceedings,article\' '.
+ 'means that all the BibTeX\'s \'@incollection\' entries will be '.
+ 'considered as \'@article\' entries. Same thing for the '.
+ '\'@inproceedings\'.' );
+
+ $self->show_supported_param('xml-verbatim',
+ 'If present, each entry\'s page will contains the '.
+ 'XML entry as verbatim.' );
+}
+
+#------------------------------------------------------
+#
+# Generation API
+#
+#------------------------------------------------------
+
+=pod
+
+=item * set_stream_writer($)
+
+Set the instance of the output stream writer.
+Replies the old writer.
+Takes 1 arg:
+
+=over
+
+=item * writer (ref to Bib2HTML::Generator::Writer)
+
+is the instance of the writer.
+
+=back
+
+=cut
+sub set_stream_writer($) : method {
+ my $self = shift ;
+ my $writer = shift;
+ my $old_writer = $self->SUPER::set_stream_writer($writer);
+ if ($self->{'THEME'}) {
+ $self->{'THEME'}->set_stream_writer($writer);
+ }
+ return $old_writer;
+}
+
+
+=pod
+
+=item * pre_processing()
+
+Pre_processing.
+
+=cut
+sub pre_processing() : method {
+ my $self = shift ;
+
+ # Set the HTML encoding
+ if (!$self->{'GENERATOR_PARAMS'}{'html-encoding'}) {
+ $self->{'GENERATOR_PARAMS'}{'html-encoding'} = get_default_encoding();
+ }
+ set_default_encoding($self->{'GENERATOR_PARAMS'}{'html-encoding'});
+ $self->{'THEME'}->set_html_encoding($self->{'GENERATOR_PARAMS'}{'html-encoding'});
+
+ # Call inherited generation method
+ $self->SUPER::pre_processing() ;
+
+ # Create the output directory
+ $self->create_output_directory();
+}
+
+=pod
+
+=item * do_processing()
+
+Main processing.
+
+=cut
+sub do_processing() : method {
+ my $self = shift ;
+
+ # Call inherited generation method
+ $self->SUPER::do_processing() ;
+
+ # Generates each part of the document
+
+ if (!$self->genparam('hideindex')) {
+ $self->{'__INDEX_GENERATED__'} = $self->generate_indexes() ;
+ }
+ else {
+ $self->{'__INDEX_GENERATED__'} = undef;
+ }
+ $self->generate_index() ;
+ $self->generate_overviewframe() ;
+ $self->generate_allelementframe() ;
+ $self->generate_typeoverviews() ;
+ $self->generate_authoroverviews() ;
+ $self->generate_overviewtree() ;
+ $self->generate_overview() ;
+ $self->generate_entries() ;
+}
+
+=pod
+
+=item * post_processing()
+
+Post_processing.
+
+=cut
+sub post_processing() : method {
+ my $self = shift ;
+ # Call inherited generation method
+ $self->SUPER::post_processing() ;
+ # Copy resource files
+ my $writer = $self->{'THEME'}->get_stream_writer();
+ if ($writer->is_file_creation_allowed()) {
+ $self->copy_files() ;
+ }
+}
+
+=pod
+
+=item * is_restricted_file($)
+
+Replies if the specified filename is inside the
+restriction list. If the restriction list was empty,
+this function replies true.
+Takes 1 arg:
+
+=over
+
+=item * filename (string)
+
+is the filename to treat.
+
+=back
+
+=cut
+sub is_restricted_file($) : method {
+ my $self = shift;
+ my $filename = shift;
+ $filename = basename($filename);
+ return 1 unless ($self->{'FILE_RESTRICTIONS'});
+ foreach my $pattern (@{$self->{'FILE_RESTRICTIONS'}}) {
+ if ($filename =~ /$pattern/) {
+ return 1;
+ }
+ }
+ return undef;
+}
+
+=pod
+
+=item * generate_entries()
+
+Generates the HTML pages for each entry
+
+=cut
+sub generate_entries() : method {
+ my $self = shift ;
+ my $rootdir = "." ;
+ my @entries = $self->get_all_entries_ayt() ;
+ my $i = $#entries ;
+ while ( $i >= 0 ) {
+ # Compute entry constants
+ my $filename = $self->filename('entry',$entries[$i]) ;
+
+ Bib2HTML::General::Verbose::three( "Generates entry '".$entries[$i]."'\n" ) ;
+
+ next unless ($self->is_restricted_file("$filename"));
+
+ my $type = $self->{'CONTENT'}{'entries'}{$entries[$i]}{'type'} ;
+ my $url = htmlcatfile($rootdir,$filename) ;
+ my $bar = $self->{'THEME'}->get_navigation_bar( $filename,
+ { 'index' => $self->{'__INDEX_GENERATED__'},
+ 'previous' => '',
+ 'next' => '',
+ 'userdef' => $self->getNavigationButtons(),
+ },
+ $rootdir ) ;
+
+ # Generate the header
+ my $content = $bar.$self->{'THEME'}->partseparator() ;
+
+ # Calls the content building function
+ my $fct = "generate_entry_content_$type" ;
+ my $entrytitle = '' ;
+ if ( my $funcref = $self->can( $fct ) ) {
+ $content .= join( '', @{ $self->$funcref( $entries[$i],
+ $self->{'CONTENT'}{'entries'}{$entries[$i]},
+ $url,$rootdir,$entrytitle,[]) } ) ;
+ }
+ else {
+ Bib2HTML::General::Error::warm("I don't know how to generate a '\@".$type.
+ "' for the entry '".$entries[$i]."'. Assume '\@misc'",
+ extract_file_from_location( $_[1]{'location'} ),
+ extract_line_from_location( $_[1]{'location'} ) ) ;
+ $content .= join( '', @{ $self->generate_entry_content_misc( $entries[$i],
+ $self->{'CONTENT'}{'entries'}{$entries[$i]},
+ $url,$rootdir,$entrytitle,[]) } ) ;
+ }
+
+ # Generate the footer
+ $content .= join( '',
+ $self->{'THEME'}->partseparator(),
+ $bar,
+ $self->{'THEME'}->partseparator(),
+ $self->{'THEME'}->get_copyright() ) ;
+
+ # Output to the file
+ $self->{'THEME'}->create_html_body_page( $url,
+ $content,
+ $entrytitle||$self->{'SHORT_TITLE'},
+ $rootdir,
+ 'html') ;
+ }
+ continue {
+ $i -- ;
+ }
+}
+
+=pod
+
+=item * generate_index()
+
+Generates the HTML index.html
+
+=cut
+sub generate_index() : method {
+ my $self = shift ;
+ my $rootdir = "." ;
+ my $filename = $self->filename('main_index');
+
+ Bib2HTML::General::Verbose::three( "Generates the main index file\n" ) ;
+
+ return unless ($self->is_restricted_file("$filename"));
+
+ my $content = $self->{'THEME'}->get_html_index($rootdir);
+ $self->{'THEME'}->create_html_page( htmlcatfile($rootdir,$filename),
+ $content,
+ $self->{'SHORT_TITLE'},
+ $rootdir ) ;
+}
+
+=pod
+
+=item * generate_overviewframe()
+
+Generates the HTML overview-frame.html
+Dont overwrite this method.
+
+=cut
+sub generate_overviewframe : method {
+ my $self = shift ;
+ my $rootdir = "." ;
+ my $filename = $self->filename('overview-frame');
+
+ Bib2HTML::General::Verbose::three( "Generates the overview frame\n" ) ;
+
+ return unless ($self->is_restricted_file("$filename"));
+
+ my $content = join( '',
+ $self->{'THEME'}->frame_subpart( '',
+ [ $self->{'THEME'}->ext_href( 'allelements',
+ $self->{'LANG'}->get('I18N_LANG_ALL_ELEMENTS'),
+ $rootdir ),
+ ],
+ $rootdir ),
+ $self->generate_overviewframe_content($rootdir)
+ ) ;
+
+ $self->{'THEME'}->create_html_body_page( htmlcatfile($rootdir,$filename),
+ $self->{'THEME'}->frame_window( $self->{'SHORT_TITLE'},
+ $content ),
+ $self->{'SHORT_TITLE'},
+ $rootdir,
+ 'small', 'html') ;
+}
+
+=pod
+
+=item * generate_allelementframe()
+
+Generates the HTML allelements-frame.html
+
+=cut
+sub generate_allelementframe() : method {
+ my $self = shift ;
+ my $rootdir = "." ;
+ my $filename = $self->filename('allelements');
+
+ Bib2HTML::General::Verbose::three( "Generates the all-element frame\n" ) ;
+
+ return unless ($self->is_restricted_file("$filename"));
+
+ my @entries = $self->get_all_entries_yat() ;
+ my $translator = Bib2HTML::Translator::BibTeXName->new() ;
+ my $biblabeller = Bib2HTML::Translator::BibTeXEntry->new() ;
+ my $currentyear = '' ;
+ my $content = '' ;
+ my @current = () ;
+
+ foreach my $entry (@entries) {
+ my $year = $self->__get_year__( $entry, '' ) ;
+ if ( "$currentyear" ne "$year" ) {
+ if ( @current ) {
+ $content .= $self->{'THEME'}->frame_subpart( $currentyear || $self->{'LANG'}->get('I18N_LANG_NO_DATE'),
+ \@current,
+ $rootdir ) ;
+ }
+ $currentyear = $year ;
+ @current = () ;
+ }
+
+ my $biblabel = '' ;
+ if ( exists( $self->{'CONTENT'}{'entries'}{$entry} ) ) {
+ my $filename = $self->filename('entry',$entry) ;
+ $biblabel = join( '',
+ '[',
+ $self->{'THEME'}->href( htmlcatfile($rootdir,$filename),
+ $biblabeller->citation_label( $entry,
+ $self->{'CONTENT'}{'entries'}{$entry} ),
+ $self->browserframe('entry') ),
+ ']&nbsp;' ) ;
+ }
+ $biblabel .= $translator->formatnames( $self->__get_author_editor__($entry,''),
+ $self->{'FORMATS'}{'name'},
+ $self->{'FORMATS'}{'names'},
+ exists($self->{'GENERATOR_PARAMS'}{'max-names-list'})?$self->{'GENERATOR_PARAMS'}{'max-names-list'}:1 ) ;
+
+ push @current, $biblabel ;
+ }
+
+ if ( @current ) {
+ $content .= $self->{'THEME'}->frame_subpart( $currentyear || $self->{'LANG'}->get('I18N_LANG_NO_DATE'),
+ \@current,
+ $rootdir ) ;
+ }
+
+ $self->{'THEME'}->create_html_body_page( htmlcatfile($rootdir,$filename),
+ $self->{'THEME'}->frame_window( $self->{'LANG'}->get('I18N_LANG_ALL_ELEMENTS'),
+ $content ),
+ $self->{'SHORT_TITLE'},
+ $rootdir,
+ 'small', 'html') ;
+}
+
+=pod
+
+=item * generate_typeoverviews()
+
+Generates the HTML type-???.html
+
+=cut
+sub generate_typeoverviews() : method {
+ # Patch by Norbert Preining added the 2003/03/27
+ my $self = shift ;
+ my $rootdir = "." ;
+ my @entries = $self->get_all_entries_yat() ;
+ my @types = $self->get_entry_types() ;
+ my $translator = Bib2HTML::Translator::BibTeXName->new() ;
+ my $biblabeller = Bib2HTML::Translator::BibTeXEntry->new() ;
+ my %typematching = () ;
+
+ if ( exists($self->{'GENERATOR_PARAMS'}{'type-matching'}) ) {
+ %typematching = %{$self->{'GENERATOR_PARAMS'}{'type-matching'}};
+ }
+ if ( @types > 0 ) {
+ foreach my $type (@types) {
+ if ( ! exists( $typematching{$type} ) ) {
+ $typematching{$type} = $type;
+ }
+ }
+ my @sortedtypes = values %typematching;
+ @sortedtypes = uniq(sortbyletters(@sortedtypes));
+ foreach my $type (@sortedtypes) {
+ my $url = $self->filename('type-overview',$type) ;
+ Bib2HTML::General::Verbose::three( "Generates type overview for '$type'\n" ) ;
+ next unless ($self->is_restricted_file("$url"));
+ my ($currentyear,$writeentry) = ('',0) ;
+ my @current = () ;
+ my $content = '' ;
+
+ foreach my $entry (@entries) {
+ my $year = $self->__get_year__( $entry, '' ) ;
+ if ( $typematching{$self->{'CONTENT'}{'entries'}{$entry}{'type'}} eq $type ) {
+ if ( "$currentyear" ne "$year" ) {
+ if ( @current ) {
+ $content .= $self->{'THEME'}->frame_subpart( $currentyear,
+ \@current,
+ $rootdir ) ;
+ }
+ $currentyear = $year ;
+ @current = () ;
+ }
+ my $biblabel = '' ;
+ if ( exists( $self->{'CONTENT'}{'entries'}{$entry} ) ) {
+ my $filename = $self->filename('entry',$entry) ;
+ $biblabel = join( '',
+ '[',
+ $self->{'THEME'}->href( htmlcatfile($rootdir,$filename),
+ $biblabeller->citation_label( $entry,
+ $self->{'CONTENT'}{'entries'}{$entry} ),
+ $self->browserframe('entry') ),
+ ']&nbsp;' ) ;
+ }
+ $biblabel .= $translator->formatnames( $self->__get_author_editor__($entry,''),
+ $self->{'FORMATS'}{'name'},
+ $self->{'FORMATS'}{'names'},
+ exists($self->{'GENERATOR_PARAMS'}{'max-names-list'})?$self->{'GENERATOR_PARAMS'}{'max-names-list'}:1) ;
+ push @current, $biblabel ;
+ }
+ }
+
+ if ( @current ) {
+ $content .= $self->{'THEME'}->frame_subpart( $currentyear,
+ \@current,
+ $rootdir ) ;
+ }
+
+ $self->{'THEME'}->create_html_body_page( htmlcatfile($rootdir,$url),
+ $self->{'THEME'}->frame_window( $self->{'PLURIAL_TYPE_LABELS'}{$type},
+ $content,
+ $self->{'THEME'}->ext_href( 'allelements',
+ $self->{'LANG'}->get('I18N_LANG_ALL_ELEMENTS'),
+ $rootdir )),
+ $self->{'SHORT_TITLE'},
+ $rootdir,
+ 'small', 'html') ;
+ }
+
+ }
+}
+
+=pod
+
+=item * generate_authoroverviews()
+
+Generates the HTML author-???.html
+
+=cut
+sub generate_authoroverviews() : method {
+ my $self = shift ;
+ my $rootdir = "." ;
+ my $translator = Bib2HTML::Translator::BibTeXName->new() ;
+ my $biblabeller = Bib2HTML::Translator::BibTeXEntry->new() ;
+ my @entries = $self->get_all_entries_yat() ;
+ my %authors = $self->get_entry_authors() ;
+
+ if ( !isemptyhash(\%authors) ) {
+ foreach my $author (keys %authors) {
+ my $url = $self->filename('author-overview',$author) ;
+ Bib2HTML::General::Verbose::three( "Generates author overview for '$author'\n" ) ;
+ next unless ($self->is_restricted_file("$url"));
+ my @current = () ;
+ my ($content,$currentyear) = ('','') ;
+
+ foreach my $entry (@entries) {
+
+ if ( $translator->isauthorin($authors{$author},
+ $self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'author'}) ) {
+
+ my $year = $self->__get_year__( $entry, '' ) ;
+ if ( "$currentyear" ne "$year" ) {
+ if ( @current ) {
+ $content .= $self->{'THEME'}->frame_subpart( $currentyear,
+ \@current,
+ $rootdir ) ;
+ }
+ $currentyear = $year ;
+ @current = () ;
+ }
+ my $biblabel = '' ;
+ if ( exists( $self->{'CONTENT'}{'entries'}{$entry} ) ) {
+ my $filename = $self->filename('entry',$entry) ;
+ $biblabel = join( '',
+ '[',
+ $self->{'THEME'}->href( htmlcatfile($rootdir,$filename),
+ $biblabeller->citation_label( $entry,
+ $self->{'CONTENT'}{'entries'}{$entry} ),
+ $self->browserframe('entry') ),
+ ']&nbsp;' ) ;
+ }
+ $biblabel .= $translator->formatnames( $self->__get_author_editor__($entry,''),
+ $self->{'FORMATS'}{'name'},
+ $self->{'FORMATS'}{'names'} ) ;
+ push @current, $biblabel ;
+ }
+
+ }
+
+
+
+ if ( @current ) {
+ $content .= $self->{'THEME'}->frame_subpart( $currentyear,
+ \@current,
+ $rootdir ) ;
+ }
+
+ $self->{'THEME'}->create_html_body_page( htmlcatfile($rootdir,$url),
+ $self->{'THEME'}->frame_window( $translator->formatname($authors{$author},'l, f.'),
+ $content,
+ $self->{'THEME'}->ext_href( 'allelements',
+ $self->{'LANG'}->get('I18N_LANG_ALL_ELEMENTS'),
+ $rootdir )),
+ $self->{'SHORT_TITLE'},
+ $rootdir,
+ 'small', 'html') ;
+ }
+ }
+}
+
+=pod
+
+=item * generate_overview()
+
+Generates the HTML overview-summary.html
+Dont overwrite this method.
+
+=cut
+sub generate_overview() : method {
+ my $self = shift ;
+ my $rootdir = "." ;
+ my $filename = $self->filename('overview-summary') ;
+ Bib2HTML::General::Verbose::three( "Generates overview summary\n" ) ;
+ return unless ($self->is_restricted_file("$filename"));
+ $filename = htmlcatfile($rootdir,$filename) ;
+ my $bar = $self->{'THEME'}->get_navigation_bar( $filename,
+ { 'overview' => 1,
+ 'index' => $self->{'__INDEX_GENERATED__'},
+ 'userdef' => $self->getNavigationButtons(),
+ },
+ $rootdir ) ;
+ my $content = join('',
+ $bar,
+ $self->{'THEME'}->partseparator(),
+ $self->{'THEME'}->title($self->{'LONG_TITLE'}),
+ $self->generate_overview_content($rootdir),
+ $self->{'THEME'}->partseparator(),
+ $bar,
+ $self->{'THEME'}->partseparator(),
+ $self->{'THEME'}->get_copyright($rootdir) ) ;
+
+ $self->{'THEME'}->create_html_body_page( $filename,
+ $content,
+ $self->{'SHORT_TITLE'},
+ $rootdir,
+ 'html' ) ;
+}
+
+=pod
+
+=item * generate_overviewtree()
+
+Generates the HTML overview-tree.html
+Dont overwrite this method.
+
+=cut
+sub generate_overviewtree() : method {
+ my $self = shift ;
+ my $rootdir = "." ;
+ my $filename = $self->filename('overview-tree') ;
+ Bib2HTML::General::Verbose::three( "Generates overview tree\n" ) ;
+ return unless ($self->is_restricted_file("$filename"));
+ $filename = htmlcatfile($rootdir,$filename) ;
+ my $bar = $self->{'THEME'}->get_navigation_bar( $filename,
+ { 'tree' => 1,
+ 'index' => $self->{'__INDEX_GENERATED__'},
+ 'userdef' => $self->getNavigationButtons(),
+ },
+ $rootdir ) ;
+ my $content = join('',
+ $bar,
+ $self->{'THEME'}->partseparator(),
+ $self->generate_overviewtree_content($rootdir),
+ $self->{'THEME'}->partseparator(),
+ $bar,
+ $self->{'THEME'}->partseparator(),
+ $self->{'THEME'}->get_copyright($rootdir) ) ;
+
+ $self->{'THEME'}->create_html_body_page( $filename,
+ $content,
+ $self->{'SHORT_TITLE'},
+ $rootdir,
+ 'html') ;
+}
+
+=pod
+
+=item * generate_indexes()
+
+Generates the HTML index-???.html
+Dont overwrite this method.
+
+=cut
+sub generate_indexes() : method {
+ my $self = shift ;
+ my $rootdir = "." ;
+ my $translator = Bib2HTML::Translator::BibTeXName->new() ;
+ my %indexentries = () ;
+
+ Bib2HTML::General::Verbose::two( "Build the indexes\n" ) ;
+ my @entries = $self->get_all_entries_ayt() ;
+ foreach my $entry (@entries) {
+
+ # Builds the comment for this entry
+ my $filename = $self->filename('entry',$entry) ;
+ my $url = htmlcatfile($rootdir,$filename) ;
+ my $year = $self->__get_year__( $entry, '' ) ;
+ my $entrycomment = join( '',
+ $self->{'LANG'}->get('I18N_LANG_SMALL_IN',
+ $translator->formatnames( $self->__get_author_editor__($entry,''),
+ $self->{'FORMATS'}{'name'},
+ $self->{'FORMATS'}{'names'},
+ -1 )),
+ "<BR>\n",
+ $self->{'THEME'}->entry_title( $self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'title'} ),
+ ( $year ? " (".$year.")" : '' ) ) ;
+
+ # Adds the authors
+ if ( exists $self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'author'} ) {
+ Bib2HTML::General::Verbose::three( "\tinclude the authors\n" ) ;
+ my @authors = $self->get_all_authors($self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'author'}) ;
+ foreach my $author (@authors) {
+ my %desc = ( 'url' => $url,
+ 'label' => $translator->formatname( $author, $self->{'FORMATS'}{'name'} ),
+ 'comment' => $entrycomment,
+ 'short-comment' => $self->{'LANG'}->get('I18N_LANG_INDEX_COMMENT_AUTHOR'),
+ ) ;
+ my $sorttag = lc(remove_html_accents($author->{'last'}));
+ push @{$indexentries{$sorttag}}, \%desc ;
+ }
+ }
+
+ # Adds the editors
+ if ( exists $self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'editor'} ) {
+ Bib2HTML::General::Verbose::three( "\tinclude the editors\n" ) ;
+ my @editors = $self->get_all_authors($self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'editor'}) ;
+ foreach my $editor (@editors) {
+ my %desc = ( 'url' => $url,
+ 'label' => $translator->formatname( $editor, $self->{'FORMATS'}{'name'} ),
+ 'comment' => $entrycomment,
+ 'short-comment' => $self->{'LANG'}->get('I18N_LANG_INDEX_COMMENT_EDITOR'),
+ ) ;
+ my $sorttag = lc(remove_html_accents($editor->{'last'}));
+ push @{$indexentries{$sorttag}}, \%desc ;
+ }
+ }
+
+ # Adds the title keywords
+ if ( exists $self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'title'} ) {
+ Bib2HTML::General::Verbose::three( "\tinclude the titles\n" ) ;
+ $self->_add_sentence_keywords( \%indexentries,
+ $self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'title'},
+ $url, $entrycomment,
+ $self->{'LANG'}->get('I18N_LANG_INDEX_COMMENT_TITLE')) ;
+ }
+
+ # Adds the booktitle
+ if ( exists $self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'booktitle'} ) {
+ Bib2HTML::General::Verbose::three( "\tinclude the booktitles\n" ) ;
+ $self->_add_sentence_keywords( \%indexentries,
+ $self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'booktitle'},
+ $url, $entrycomment,
+ $self->{'LANG'}->get('I18N_LANG_INDEX_COMMENT_BOOKTITLE')) ;
+ }
+
+ # Adds the journal
+ if ( exists $self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'journal'} ) {
+ Bib2HTML::General::Verbose::three( "\tinclude the journal\n" ) ;
+ $self->_add_sentence_keywords( \%indexentries,
+ $self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'journal'},
+ $url, $entrycomment,
+ $self->{'LANG'}->get('I18N_LANG_INDEX_COMMENT_ARTICLE')) ;
+ }
+
+ # Adds the publisher
+ if ( exists $self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'publisher'} ) {
+ Bib2HTML::General::Verbose::three( "\tinclude the publisher\n" ) ;
+ $self->_add_sentence_keywords( \%indexentries,
+ $self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'publisher'},
+ $url, $entrycomment,
+ $self->{'LANG'}->get('I18N_LANG_INDEX_COMMENT_PUBLISHER')) ;
+ }
+
+ # Adds the school
+ if ( exists $self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'school'} ) {
+ Bib2HTML::General::Verbose::three( "\tinclude the school\n" ) ;
+ $self->_add_sentence_keywords( \%indexentries,
+ $self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'school'},
+ $url, $entrycomment,
+ $self->{'LANG'}->get('I18N_LANG_INDEX_COMMENT_SCHOOL')) ;
+ }
+
+ # Adds the institution
+ if ( exists $self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'institution'} ) {
+ Bib2HTML::General::Verbose::three( "\tinclude the institution\n" ) ;
+ $self->_add_sentence_keywords( \%indexentries,
+ $self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'institution'},
+ $url, $entrycomment,
+ $self->{'LANG'}->get('I18N_LANG_INDEX_COMMENT_INSTITUTION')) ;
+ }
+
+ # Adds the howpublished
+ if ( exists $self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'howpublished'} ) {
+ Bib2HTML::General::Verbose::three( "\tinclude the howpublished\n" ) ;
+ $self->_add_sentence_keywords( \%indexentries,
+ $self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'howpublished'},
+ $url, $entrycomment,
+ $self->{'LANG'}->get('I18N_LANG_INDEX_COMMENT_HOWPUBLISHED')) ;
+ }
+
+ # Calls the overwritable function to adds entries
+ $self->generate_index_content(\%indexentries,$entry,$url,$entrycomment,$rootdir) ;
+
+ }
+
+ # Builds the list of letters
+ Bib2HTML::General::Verbose::three( "\tgets the index letters\n" ) ;
+ my @words = keys %indexentries;
+ @words = sortbyletters(@words) ;
+ my $letterlist = "" ;
+ my $lastletter = "" ;
+ my $maxcount = 0 ;
+
+ foreach my $word (@words) {
+ $word =~ /^(.)/ ;
+ my $letter = lc($1) ;
+ if ( ! ( $letter eq $lastletter ) ) {
+ $lastletter = $letter ;
+ $letterlist .= $self->{'THEME'}->href( htmlcatfile($rootdir,
+ $self->filename('index',$maxcount)),
+ uc( $letter ),
+ $self->browserframe('index') ) ;
+ $maxcount ++ ;
+ }
+ }
+
+ if ( isemptyhash(\%indexentries) ) {
+ return 0 ;
+ }
+
+ # Ouputs the indexes
+ my $nav = "" ;
+ my $content = '' ;
+ my @letterentries = () ;
+ my $count = 0 ;
+ my $currentfile = "" ;
+ $lastletter = "" ;
+ $self->{'__INDEX_GENERATED__'} = 1 ;
+
+ foreach my $word (@words) {
+ $word =~ /^(.)/ ;
+ my $letter = lc($1) ;
+ if ( ! ( $letter eq $lastletter ) ) {
+ #
+ # The first letter has changed
+ #
+ if ( $currentfile ) {
+ # finish to write the previous file
+ $content = join( '',
+ $nav,
+ $self->{'THEME'}->partseparator(),
+ $self->{'THEME'}->format_index_page( $letterlist,
+ $lastletter,
+ \@letterentries ),
+ $self->{'THEME'}->partseparator(),
+ $nav,
+ $self->{'THEME'}->partseparator(),
+ $self->{'THEME'}->get_copyright($rootdir) ) ;
+ $self->{'THEME'}->create_html_body_page( $currentfile,
+ $content,
+ $self->{'SHORT_TITLE'},
+ $rootdir,
+ 'html') ;
+ }
+ Bib2HTML::General::Verbose::three( "\tgenerates the index content for '$letter'\n" ) ;
+ $lastletter = $letter ;
+ # begin to write the file for the current letter
+ $currentfile = $self->{'THEME'}->filename('index',$count) ;
+ unless ($self->is_restricted_file("$currentfile")) {
+ $currentfile = '';
+ }
+ if ($currentfile) {
+ $nav = $self->{'THEME'}->get_navigation_bar( $currentfile,
+ { 'index' => (($count > 0) && ($self->{'__INDEX_GENERATED__'})),
+ 'previous' => ( ( $count > 0 ) ? htmlcatfile($rootdir,
+ $self->{'THEME'}->filename('index',($count-1))) : "" ),
+ 'next' => ( ($count<($maxcount-1)) ? htmlcatfile($rootdir,
+ $self->{'THEME'}->filename('index',($count+1))) : "" ),
+ 'notree' => ( isemptyhash( $self->{'CONTENT'}{'entries'} ) ),
+ 'userdef' => $self->getNavigationButtons(),
+ },
+ $rootdir ) ;
+ }
+ $count ++ ;
+ @letterentries = () ;
+ }
+
+ @letterentries = ( @letterentries, @{$indexentries{$word}} ) ;
+ }
+
+ if ( $currentfile ) {
+ # Really finish the last file
+ $content = join( '',
+ $nav,
+ $self->{'THEME'}->partseparator(),
+ $self->{'THEME'}->format_index_page( $letterlist,
+ $lastletter,
+ \@letterentries ),
+ $self->{'THEME'}->partseparator(),
+ $nav,
+ $self->{'THEME'}->partseparator(),
+ $self->{'THEME'}->get_copyright($rootdir) ) ;
+ $self->{'THEME'}->create_html_body_page( $currentfile,
+ $content,
+ $self->{'SHORT_TITLE'},
+ $rootdir,
+ 'html') ;
+ }
+
+ Bib2HTML::General::Verbose::three( "\tindexes finished\n" ) ;
+
+ return 1 ;
+}
+
+#------------------------------------------------------
+#
+# Overwritable Generation API
+#
+#------------------------------------------------------
+
+my %__FIELD_TO_LANG_TRANS_TBL = ( 'editor' => 'EDITORS',
+ 'booktitle' => 'IN',
+ 'author' => 'AUTHORS',
+ ) ;
+
+=pod
+
+=item * MAKE_REQUIRED()
+
+Add a required parameter into the specified array.
+
+=cut
+sub MAKE_REQUIRED(\@$$;$$) {
+ my $self = shift ;
+ my $LABEL = 'I18N_LANG_FIELD_';
+ if ( exists $__FIELD_TO_LANG_TRANS_TBL{lc("$_[2]")} ) {
+ $LABEL .= $__FIELD_TO_LANG_TRANS_TBL{lc("$_[2]")} ;
+ }
+ else {
+ $LABEL .= uc($_[2]) ;
+ }
+ my $val = $_[1]->{'fields'}{"$_[2]"} || "-" ;
+ $val = "$_[3]$val" if ($_[3]) ;
+ $val .= "$_[4]" if ($_[4]) ;
+ push @{$_[0]}, { 'name' => $self->{'LANG'}->get("$LABEL"),
+ 'explanation' => "$val",
+ } ;
+}
+
+=pod
+
+=item * MAKE_OPTIONAL()
+
+Add a optional parameter into the specified array.
+
+=cut
+sub MAKE_OPTIONAL(\@$$;$$) {
+ my $self = shift ;
+ if ((exists $_[1]->{'fields'}{"$_[2]"})&&
+ ($_[1]->{'fields'}{"$_[2]"})) {
+ my $LABEL = 'I18N_LANG_FIELD_';
+ if ( exists $__FIELD_TO_LANG_TRANS_TBL{lc("$_[2]")} ) {
+ $LABEL .= $__FIELD_TO_LANG_TRANS_TBL{lc("$_[2]")} ;
+ }
+ else {
+ $LABEL .= uc($_[2]) ;
+ }
+ my $val = $_[1]{'fields'}{"$_[2]"} ;
+ $val = "$_[3]$val" if ($_[3]) ;
+ $val .= "$_[4]" if ($_[4]) ;
+ push @{$_[0]}, { 'name' => $self->{'LANG'}->get("$LABEL"),
+ 'explanation' => "$val",
+ } ;
+ }
+}
+
+=pod
+
+=item * generate_entry_content_article()
+
+See generate_entry_content()
+
+=cut
+sub generate_entry_content_article($$$$$) : method {
+ my $self = shift ;
+ my ($key,$url,$rootdir) = ($_[0],$_[2],$_[3]) ;
+
+ my @content = () ;
+ $self->MAKE_REQUIRED(\@content,$_[1],'journal') ;
+
+ $self->MAKE_OPTIONAL(\@content,$_[1],'volume') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'number') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'pages') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'year') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'address') ;
+
+ #key,entry,url,rootdir,title,[user_fields,aut_ed,note]
+ return $self->generate_entry_content($key,$_[1],$url,$rootdir,$_[4],\@content);
+}
+
+=pod
+
+=item * generate_entry_content_book()
+
+See generate_entry_content()
+
+=cut
+sub generate_entry_content_book($$$$$) : method {
+ my $self = shift ;
+ my ($key,$url,$rootdir) = ($_[0],$_[2],$_[3]) ;
+
+ my @content = () ;
+ $self->MAKE_REQUIRED(\@content,$_[1],'publisher') ;
+
+ $self->MAKE_OPTIONAL(\@content,$_[1],'series') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'volume') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'number') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'edition') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'year') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'address') ;
+
+ #key,entry,url,rootdir,title,[user_fields,aut_ed,note]
+ return $self->generate_entry_content($key,$_[1],$url,$rootdir,$_[4],\@content,1);
+}
+
+=pod
+
+=item * generate_entry_content_booklet()
+
+See generate_entry_content()
+
+=cut
+sub generate_entry_content_booklet($$$$$) : method {
+ my $self = shift ;
+ my ($key,$url,$rootdir) = ($_[0],$_[2],$_[3]) ;
+
+ my @content = () ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'howpublished') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'year') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'address') ;
+
+ # The following fields are not required in BibTeX specification
+ $self->MAKE_OPTIONAL(\@content,$_[1],'publisher') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'series') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'volume') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'number') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'edition') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'year') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'address') ;
+
+ #key,entry,url,rootdir,title,[user_fields,aut_ed,note]
+ return $self->generate_entry_content($key,$_[1],$url,$rootdir,$_[4],\@content);
+}
+
+=pod
+
+=item * generate_entry_content_inbook()
+
+See generate_entry_content()
+
+=cut
+sub generate_entry_content_inbook($$$$$) : method {
+ my $self = shift ;
+ my ($key,$url,$rootdir) = ($_[0],$_[2],$_[3]) ;
+
+ my @content = () ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'howpublished') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'year') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'address') ;
+
+ # The following fields are not required in BibTeX specification
+ $self->MAKE_OPTIONAL(\@content,$_[1],'publisher') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'series') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'volume') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'number') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'edition') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'year') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'address') ;
+
+ #key,entry,url,rootdir,title,[user_fields,aut_ed,note]
+ return $self->generate_entry_content($key,$_[1],$url,$rootdir,$_[4],\@content);
+}
+
+=pod
+
+=item * generate_entry_content_incollection()
+
+See generate_entry_content()
+
+=cut
+sub generate_entry_content_incollection($$$$$) : method {
+ my $self = shift ;
+ #key,entry,url,rootdir,title,[user_fields,aut_ed,note]
+ return $self->generate_entry_content(@_);
+}
+
+=pod
+
+=item * generate_entry_content_inproceedings()
+
+See generate_entry_content()
+
+=cut
+sub generate_entry_content_inproceedings($$$$$) : method {
+ my $self = shift ;
+ my ($key,$url,$rootdir) = ($_[0],$_[2],$_[3]) ;
+
+ my @content = () ;
+ $self->MAKE_REQUIRED(\@content,$_[1],'booktitle') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'series') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'editor') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'volume') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'number') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'pages') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'year') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'organization') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'publisher') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'address') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'type') ;
+
+ #key,entry,url,rootdir,title,[user_fields,aut_ed,note]
+ return $self->generate_entry_content($key,$_[1],$url,$rootdir,$_[4],\@content);
+}
+
+=pod
+
+=item * generate_entry_content_manual()
+
+See generate_entry_content()
+
+=cut
+sub generate_entry_content_manual($$$$$) : method {
+ my $self = shift ;
+ my ($key,$url,$rootdir) = ($_[0],$_[2],$_[3]) ;
+
+ my @content = () ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'edition') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'year') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'organization') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'address') ;
+
+ #key,entry,url,rootdir,title,[user_fields,aut_ed,note]
+ return $self->generate_entry_content($key,$_[1],$url,$rootdir,$_[4],\@content);
+}
+
+=pod
+
+=item * generate_entry_content_mastersthesis()
+
+See generate_entry_content()
+
+=cut
+sub generate_entry_content_mastersthesis($$$$$) : method {
+ my $self = shift ;
+ return $self->generate_entry_content_phdthesis(@_) ;
+}
+
+=pod
+
+=item * generate_entry_content_phdthesis()
+
+See generate_entry_content()
+
+=cut
+sub generate_entry_content_phdthesis($$$$$) : method {
+ my $self = shift ;
+ my ($key,$url,$rootdir) = ($_[0],$_[2],$_[3]) ;
+
+ my @content = () ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'type') ;
+ $self->MAKE_REQUIRED(\@content,$_[1],'school') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'year') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'address') ;
+
+ #key,entry,url,rootdir,title,[user_fields,aut_ed,note]
+ return $self->generate_entry_content($key,$_[1],$url,$rootdir,$_[4],\@content);
+}
+
+=pod
+
+=item * generate_entry_content_proceedings()
+
+See generate_entry_content()
+
+=cut
+sub generate_entry_content_proceedings($$$$$) : method {
+ my $self = shift ;
+ my ($key,$url,$rootdir) = ($_[0],$_[2],$_[3]) ;
+
+ my @content = () ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'series') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'volume') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'number') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'year') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'address') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'organization') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'publisher') ;
+
+ #key,entry,url,rootdir,title,[user_fields,aut_ed,note]
+ return $self->generate_entry_content($key,$_[1],$url,$rootdir,$_[4],\@content, 1);
+}
+
+=pod
+
+=item * generate_entry_content_techreport()
+
+See generate_entry_content()
+
+=cut
+sub generate_entry_content_techreport($$$$$) : method {
+ my $self = shift ;
+ my ($key,$url,$rootdir) = ($_[0],$_[2],$_[3]) ;
+
+ my @content = () ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'number') ;
+ $self->MAKE_REQUIRED(\@content,$_[1],'institution') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'year') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'address') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'type') ;
+
+ #key,entry,url,rootdir,title,[user_fields,aut_ed,note]
+ return $self->generate_entry_content($key,$_[1],$url,$rootdir,$_[4],\@content);
+}
+
+=pod
+
+=item * generate_entry_content_unpublished()
+
+See generate_entry_content()
+
+=cut
+sub generate_entry_content_unpublished($$$$$) : method {
+ my $self = shift ;
+ my ($key,$url,$rootdir) = ($_[0],$_[2],$_[3]) ;
+ my @content = () ;
+ #key,entry,url,rootdir,title,[user_fields,aut_ed,note]
+ return $self->generate_entry_content($key,$_[1],$url,$rootdir,$_[4],\@content,undef,1);
+}
+
+=pod
+
+=item * generate_entry_content_misc()
+
+See generate_entry_content()
+
+=cut
+sub generate_entry_content_misc($$$$$) : method {
+ my $self = shift ;
+ my ($key,$url,$rootdir) = ($_[0],$_[2],$_[3]) ;
+
+ my @content = () ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'howpublished') ;
+ $self->MAKE_OPTIONAL(\@content,$_[1],'year') ;
+
+ #key,entry,url,rootdir,title,[user_fields,aut_ed,note]
+ return $self->generate_entry_content($key,$_[1],$url,$rootdir,$_[4],\@content,1);
+}
+
+=pod
+
+=item * generate_entry_content()
+
+Generates the HTML entry-???.html
+Overwrite this method.
+Takes 6 args:
+
+=over
+
+=item * key (string)
+
+is the BibTeX key of the current bibliographical entry
+
+=item * entry (hash ref)
+
+is the description of the current bibliographical entry
+
+=item * url (string)
+
+is the URL of the current entry
+
+=item * rootdir (string)
+
+is the path to the root.
+
+=item * entry_title (ref string)
+
+must be filled with the title of the entry.
+
+=item * user_fields (array)
+
+is the field predefined by the user. It must be an
+array of associative arrays (one for each generable field).
+
+=item * aut_ed_flg (optional boolean)
+
+indicates if the author and the editor fields are mutual
+alternatives.
+
+=item * note_req (optional boolean)
+
+indicates if the field 'note' was required.
+
+=cut
+sub generate_entry_content($$$$$;$$) : method {
+ my $self = shift ;
+ my ($key,$url,$rootdir) = ($_[0],$_[2],$_[3]) ;
+ my ($aut_ed_flg,$note_req) = ($_[6],$_[7]) ;
+ my $translator = Bib2HTML::Translator::BibTeXName->new() ;
+ my $biblabeller = Bib2HTML::Translator::BibTeXEntry->new() ;
+
+ # Compute the publication year
+ my $date = $self->__get_year__( $_[0], '' ) ;
+ if ( $date ) {
+ if ( exists $_[1]{'fields'}{'month'} ) {
+ $date = $self->{'THEME'}->format_date($_[1]{'fields'}{'month'},$date) ;
+ }
+ }
+ else {
+ Bib2HTML::General::Error::warm("You must specify a year for the entry '".$key."'",
+ extract_file_from_location( $_[1]{'location'} ),
+ extract_line_from_location( $_[1]{'location'} ) ) ;
+ }
+
+ #
+ # Build the main tabular
+ #
+ my @content = () ;
+ # The fields 'author' and 'editor' are mutual alternatives
+ if ($aut_ed_flg) {
+ push @content, { 'name' => $_[1]{'fields'}{'author'} ?
+ $self->{'LANG'}->get('I18N_LANG_FIELD_AUTHORS') :
+ $self->{'LANG'}->get('I18N_LANG_FIELD_EDITORS'),
+ 'explanation' => $translator->formatnames_withurl(($_[1]{'fields'}{'author'}||
+ $_[1]{'fields'}{'editor'})||'',
+ $self->{'FORMATS'}{'name'},
+ $self->{'FORMATS'}{'names'},
+ $self,
+ -1,
+ $rootdir) || "-",
+ } ;
+ }
+ else {
+ # Only the field 'author' is required
+ $self->MAKE_REQUIRED(\@content,$_[1],'author') ;
+ }
+
+ # Finish to build the tabular
+ $self->MAKE_REQUIRED(\@content,$_[1],'title', '&laquo;&nbsp;<i>', '&nbsp;&raquo;</i>') ;
+ #$self->MAKE_REQUIRED(\@content,$_[1],'date') ;
+ push @content, @{$_[5]} ;
+
+ if (($aut_ed_flg)&&
+ (exists $_[1]{'fields'}{'author'})&&
+ ($_[1]{'fields'}{'author'})&&
+ (exists $_[1]{'fields'}{'editor'})&&
+ ($_[1]{'fields'}{'editor'})) {
+ $self->MAKE_OPTIONAL(\@content,$_[1],'editor') ;
+ }
+
+ if ($note_req) {
+ $self->MAKE_REQUIRED(\@content,$_[1],'note') ;
+ }
+ else {
+ $self->MAKE_OPTIONAL(\@content,$_[1],'note') ;
+ }
+
+ # Compute the user comments
+ my $annote = '' ;
+ if ( ( exists $_[1]{'fields'}{'annote'} ) ||
+ ( exists $_[1]{'fields'}{'comments'} ) ) {
+ $annote = $self->{'THEME'}->section( $self->{'LANG'}->get('I18N_LANG_FIELD_ANNOTATION'),
+ ($_[1]{'fields'}{'annote'}||'').
+ ($_[1]{'fields'}{'comments'}||''),
+ $rootdir ) ;
+ }
+
+ # What is the title of this entry?
+ my $title = '['.$biblabeller->citation_label($key,$_[1]).'] &nbsp;' ;
+ if ( ! $_[1]{'fields'}{'title'} ) {
+ Bib2HTML::General::Error::warm( "Can't found the title for the entry with key '".$key."'",
+ extract_file_from_location( $_[1]{'location'} ),
+ extract_line_from_location( $_[1]{'location'} ) ) ;
+ }
+ $title .= ucfirst($_[1]{'fields'}{'title'}) || '' ;
+ # Replies the title to the calling function
+ $_[4] = translate_html_entities(strip_html_tags($title)) ;
+ $_[4] =~ s/\s+/ /g;
+
+ # Computes the BibTeX verbatim part
+ my $bibtex_verb = '' ;
+ if ( $self->{'SHOW_BIBTEX'} ) {
+
+ my $e = new Bib2HTML::Translator::BibTeXEntry() ;
+ $bibtex_verb = $e->bibtex_build_entry_html($_[1]{'type'},"$key",
+ $_[1]{'original-fields'},
+ $self->{'CONTENT'}{'constants'},
+ 80) ;
+
+ if ( $bibtex_verb ) {
+ $bibtex_verb = $self->{'THEME'}->section( $self->{'LANG'}->get('I18N_LANG_FIELD_BIBTEX_VERBATIM'),
+ "<PRE><CODE>".
+ "$bibtex_verb".
+ "</CODE></PRE>",
+ $rootdir ) ;
+ }
+
+ }
+
+ # Computes the XML verbatim part
+ my $xml_verb = '' ;
+ if (( $self->genparam('xml-verbatim') )&&( $self->{'XML_GENERATOR'} )) {
+
+ $xml_verb = get_html_entities($self->{'XML_GENERATOR'}->create_the_standalone_xml_entry("$key")) ;
+
+ if ( $xml_verb ) {
+ $xml_verb = $self->{'THEME'}->section( $self->{'LANG'}->get('I18N_LANG_FIELD_XML_VERBATIM'),
+ "<PRE><CODE>".
+ "$xml_verb".
+ "</CODE></PRE>",
+ $rootdir ) ;
+ }
+
+ }
+
+ # Generates each main parts of the entry page
+ return [ $self->{'THEME'}->subtitle($title), # title
+ $self->{'THEME'}->build_twocolumn_array( $key." ". # main tabular
+ $self->{'THEME'}->small("(".
+ $self->{'SINGULAR_TYPE_LABELS'}{$_[1]{'type'}}.
+ ")"),
+ \@content ),
+ $annote, # user comments
+ $bibtex_verb, # BibTeX verbatim part
+ $xml_verb, # XML verbatim part
+ ] ;
+}
+
+=pod
+
+=item * copy_files()
+
+Generates the HTML pages.
+Overwrite this method.
+
+=cut
+sub copy_files() : method {
+ my $self = shift ;
+ my @source = File::Spec->splitdir($self->{'BIB2HTML'}{'PERLSCRIPTDIR'}) ;
+ @source = ( @source, split(/\:\:/, __PACKAGE__) ) ;
+ pop @source ;
+
+ # Copy icons
+ $self->copythisfile( File::Spec->catfile(@source,"valid-html401.gif"),
+ File::Spec->catfile($self->{'TARGET'},"valid-html401.gif") ) ;
+ $self->copythisfile( File::Spec->catfile(@source,"valid-css.gif"),
+ File::Spec->catfile($self->{'TARGET'},"valid-css.gif") ) ;
+ $self->copythisfile( File::Spec->catfile(@source,"loupe.gif"),
+ File::Spec->catfile($self->{'TARGET'},"loupe.gif") ) ;
+
+ # Copy the theme files
+ $self->{'THEME'}->copy_files() ;
+}
+
+=pod
+
+=item * copythisfile()
+
+Copy a file.
+Takes 2 args:
+
+=over
+
+=item * source (string)
+
+=item * target (string)
+
+=back
+
+=cut
+sub copythisfile($$) {
+ my $self = shift ;
+ my $source = $_[0] || '' ;
+ my $target = $_[1] || '' ;
+
+ Bib2HTML::General::Error::syserr( "you must give a source file to copy\n" )
+ unless ( $source ) ;
+ Bib2HTML::General::Error::syserr( "you must give a target file to copy\n" )
+ unless ( $target ) ;
+
+ my $sbase = basename("$target") ;
+
+ if ($self->is_restricted_file("$sbase")) {
+ $self->SUPER::copythisfile("$source","$target");
+ }
+
+ return 1 ;
+}
+
+=pod
+
+=item * generate_index_content()
+
+Generates the HTML index-???.html
+Overwrite this method.
+Takes 5 args:
+
+=over
+
+=item * entries (hash ref)
+
+is the associative array that this method must
+update to add some entry inside the index.
+
+=item * entry (hash ref)
+
+is the description of the current bibliographical entry
+
+=item * url (string)
+
+is the URL of the current entry
+
+=item * comment (string)
+
+is the comment associated to the current entry
+
+=item * rootdir (string)
+
+is the path to the root.
+
+=cut
+sub generate_index_content(\%$$$$) : method {
+ my $self = shift ;
+ my ($entry,$url,$comment,$rootdir) = ($_[1],$_[2],$_[3],$_[4]) ;
+}
+
+=pod
+
+=item * generate_overviewtree_content()
+
+Generates the HTML overview-tree.html.
+Overwrite this method.
+Takes 1 arg:
+
+=over
+
+=item * rootdir (string)
+
+is the path to the root.
+
+=back
+
+=cut
+sub generate_overviewtree_content($) : method {
+ my $self = shift ;
+ my $rootdir = shift ;
+ my @entries = $self->get_all_entries_ayt() ;
+ my $translator = Bib2HTML::Translator::BibTeXName->new() ;
+ my $biblabeller = Bib2HTML::Translator::BibTeXEntry->new() ;
+ my $content = $self->{'THEME'}->title($self->{'LANG'}->get('I18N_LANG_ENTRY_TYPE_TREE')) ;
+
+ # Build the tree
+ my %tree = () ;
+ foreach my $entry (@entries) {
+ my $type = $self->{'CONTENT'}{'entries'}{$entry}{'type'} ;
+ if ( $self->{'PLURIAL_TYPE_LABELS'}{$type} ) {
+ my $typelabel = $self->{'THEME'}->strong($self->{'PLURIAL_TYPE_LABELS'}{$type}) ;
+ $typelabel =~ s/[ \t\n\r]+/&nbsp;/g ;
+ my $filename = $self->filename('entry',$entry) ;
+ my $name = $translator->formatnames( $self->__get_author_editor__($entry,''),
+ $self->{'FORMATS'}{'name'},
+ $self->{'FORMATS'}{'names'} ) ;
+ $name =~ s/[ \t\n\r]+/&nbsp;/g ;
+ my $title = $self->{'THEME'}->entry_title( extract_first_words( $self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'title'},
+ 40 ) ) ;
+ $title =~ s/[ \t\n\r]+/&nbsp;/g ;
+ my $year = $self->__get_year__( $entry, '' ) ;
+ my $entrylabel = join( '',
+ "[",
+ $self->{'THEME'}->href( htmlcatfile($rootdir,$filename),
+ $biblabeller->citation_label($entry,$self->{'CONTENT'}{'entries'}{$entry}),
+ $self->browserframe('overview-summary') ),
+ "]&nbsp;",
+ $name,
+ ",&nbsp;",
+ $title,
+ ( $year ? "&nbsp;(". $year .")" : '' )
+ ) ;
+ $tree{$typelabel}{$entrylabel} = {} ;
+ }
+ }
+ # Generate the HTML representation of the tree
+ if ( $self->{'THEME'}->can('get_tree') ) {
+ $content .= $self->{'THEME'}->get_tree( \%tree, $rootdir, $self->{'LANG'}->get('I18N_LANG_DOCUMENTS') ) ;
+ }
+ else {
+ # Display the tree
+ if ( ! isemptyhash( \%tree ) ) {
+ my $treecontent = '' ;
+ foreach my $type (sortbyletters @{keys %tree}) {
+ if ( ! isemptyhash( $tree{$type} ) ) {
+ my $subs = '' ;
+ foreach my $entry (sortbyletters @{keys %{$tree{$type}}}) {
+ $subs .= $self->{'THEME'}->get_tree_leaf( $entry, $rootdir ) ;
+ }
+ $treecontent .= $self->{'THEME'}->get_tree_node( $type, $subs, $rootdir ) ;
+ }
+ }
+ if ( $treecontent ) {
+ $content .= $self->{'THEME'}->get_tree_node( '', $treecontent, $rootdir ) ;
+ }
+ }
+ }
+
+ return $content ;
+}
+
+=pod
+
+=item * generate_overview_content()
+
+Generates the HTML overview-summary.html.
+Overwrite this method.
+Takes 1 arg:
+
+=over
+
+=item * rootdir (string)
+
+is the path to the root.
+
+=back
+
+=cut
+sub generate_overview_content($) : method {
+ # Patch by Aurel Gabris added the 2006/04/10
+ my $self = shift ;
+ my $rootdir = shift ;
+ my $content = '' ;
+ my @entries = $self->get_all_entries_yat() ;
+ my $translator = Bib2HTML::Translator::BibTeXName->new() ;
+ my $currentyear = '' ;
+ my @tab = () ;
+
+ foreach my $entry (@entries) {
+ my $year = $self->__get_year__( $entry, '' ) ;
+ if ( "$currentyear" ne "$year" ) {
+ # Display tab
+ if ( @tab ) {
+ $content .= $self->{'THEME'}->build_twocolumn_array( $currentyear||
+ $self->{'LANG'}->get('I18N_LANG_NO_DATE'),
+ \@tab ) ;
+ }
+ @tab = () ;
+ $currentyear = $year ;
+ }
+ my $filename = $self->filename('entry',$entry) ;
+ push @tab, { 'name' => $self->{'THEME'}->href( htmlcatfile($rootdir,$filename),
+ $translator->formatnames( $self->__get_author_editor__($entry,''),
+ $self->{'FORMATS'}{'name'},
+ $self->{'FORMATS'}{'names'},
+ $self->genparam('max-names-overview')||1),
+ $self->browserframe('overview-summary') ),
+ 'explanation' => join( '',
+ $self->{'THEME'}->entry_title( extract_first_words( $self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'title'},
+ $self->genparam('max-titlelength-overview')||70 ) ),
+ "<BR>\n",
+ (exists($self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'journal'}) &&
+ exists($self->{'GENERATOR_PARAMS'}{'show-journalparams-overview'})) ?
+ $self->{'THEME'}->small($self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'journal'}).(exists($self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'volume'})?" ".$self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'volume'}.(exists($self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'pages'})?", ".$self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'pages'}.(exists($self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'year'})?" (".$self->{'CONTENT'}{'entries'}{$entry}{'fields'}{'year'}.")":""):""):""):
+ $self->{'THEME'}->small("(".
+ $self->{'SINGULAR_TYPE_LABELS'}{$self->{'CONTENT'}{'entries'}{$entry}{'type'}}.
+ ")") ),
+ } ;
+ }
+ if ( @tab ) {
+ # Display tab
+ $content .= $self->{'THEME'}->build_twocolumn_array( $currentyear||
+ $self->{'LANG'}->get('I18N_LANG_NO_DATE'),
+ \@tab ) ;
+ }
+ return $content ;
+}
+
+=pod
+
+=item * generate_overviewframe_content()
+
+Generates the HTML overview-frame.html.
+Overwrite this method.
+Takes 1 arg:
+
+=over
+
+=item * rootdir (string)
+
+is the path to the rootdirectory.
+
+=back
+
+=cut
+sub generate_overviewframe_content($) : method {
+ my $self = shift ;
+ my $rootdir = $_[0] || confess( 'you must supply the root directory' );
+ my @lines = () ;
+
+ # Generates the list of types
+ my @types = $self->get_entry_types() ;
+ my %typematching;
+ if ( exists($self->{'GENERATOR_PARAMS'}{'type-matching'}) ) {
+ %typematching = %{$self->{'GENERATOR_PARAMS'}{'type-matching'}};
+ }
+
+ if ( @types > 0 ) {
+ # fill emtpy type matching slots
+ foreach my $type (@types) {
+ if ( ! exists( $typematching{$type} ) ) {
+ $typematching{$type} = $type;
+ }
+ }
+ my @thevals = values %typematching;
+ foreach my $type (uniq(sort(@thevals))) {
+ if ( $self->{'PLURIAL_TYPE_LABELS'}{$type} ) {
+ my $url = $self->filename('type-overview',$type) ;
+ push @lines, $self->{'THEME'}->href( htmlcatfile($rootdir,$url),
+ $self->{'PLURIAL_TYPE_LABELS'}{$type},
+ $self->browserframe('allelements') ) ;
+ }
+ else {
+ confess( "You must supply a label for the entry type '$type'" ) ;
+ }
+ }
+ }
+
+ my $subframe = $self->{'THEME'}->frame_subpart( $self->{'LANG'}->get('I18N_LANG_FRAME_TITLE_TYPES'),
+ \@lines,
+ $rootdir ) ;
+
+ # Generates the list of authors
+ my $subframe2 ;
+ my %authors = $self->get_entry_authors() ;
+ my $parser = Bib2HTML::Translator::BibTeXName->new() ;
+ @lines = () ;
+ my @authors = keys %authors;
+ @authors = sortbyletters(@authors);
+ foreach my $author (@authors) {
+ if ( exists($self->{'GENERATOR_PARAMS'}{'author-regexp'}) ) {
+ if (! ( $parser->formatname($authors{$author}, 'l') =~ /$self->{'GENERATOR_PARAMS'}{'author-regexp'}/i)) { next };
+ }
+ my $url = $self->filename('author-overview',$author) ;
+ push @lines, $self->{'THEME'}->href( htmlcatfile($rootdir,$url),
+ $parser->formatname($authors{$author}, 'l, f.'),
+ $self->browserframe('allelements') ) ;
+ }
+ $subframe2 = $self->{'THEME'}->frame_subpart( $self->{'LANG'}->get('I18N_LANG_FRAME_TITLE_AUTHORS'),
+ \@lines,
+ $rootdir ) ;
+
+ return join('',$subframe,$subframe2) ;
+}
+
+#------------------------------------------------------
+#
+# Formatting backend
+#
+#------------------------------------------------------
+
+=pod
+
+=item * formatnames_url_backend()
+
+This method is called each time the BibTeXNames module
+must format an author's name with a URL.
+Takes 2 args:
+
+=over
+
+=item * author's data (hash)
+
+=item * label (string)
+
+=item * rootdir (string)
+
+=back
+
+=cut
+sub formatnames_url_backend($$$) {
+ my $self = shift ;
+ confess( 'you must supply the author\'s data' ) unless $_[0] ;
+ my $rootdir = $_[2] || confess( 'you must supply the root directory' );
+ my $data = $_[0] ;
+ my $label = $_[1] || '' ;
+ my $url = '' ;
+
+ if ($label) {
+ my $texname = Bib2HTML::Translator::BibTeXName->new() ;
+ # Search for the first author which corresponds to
+ # the specified one.
+ my %authors = $self->get_entry_authors() ;
+
+ my $k = undef ;
+ while ((!$k)&&(my $authorkey = each(%authors))) {
+ if ($texname->samenames($authors{$authorkey},$data)) {
+ $k = $authorkey ;
+ }
+ }
+ # Compute the filename for this author
+ if ($k) {
+ my $filename = $self->filename('author-overview',$k) ;
+ $url = $self->{'THEME'}->href($filename) ;
+ $url = $self->{'THEME'}->href( (($rootdir) ?
+ htmlcatfile($rootdir,$filename) :
+ $filename),
+ $label,
+ $self->browserframe('allelements') ) ;
+ }
+ }
+ if (!$url) {
+ $url = "$label";
+ }
+ return $url ;
+}
+
+#------------------------------------------------------
+#
+# Helpers
+#
+#------------------------------------------------------
+
+=pod
+
+=item * _add_sentence_keywords()
+Takes 5 args.
+
+=cut
+sub _add_sentence_keywords($$$$$) : method {
+ my $self = shift ;
+ my @words = get_title_keywords( $_[1] ) ;
+ foreach my $word (@words) {
+ if ( $word !~ /^[A-Z]+$/ ) {
+ $word = ucfirst($word) ;
+ }
+ my %desc = ( 'url' => $_[2],
+ 'label' => $word,
+ 'comment' => $_[3],
+ 'short-comment' => $_[4],
+ ) ;
+ my $sorttag = lc(remove_html_accents($word));
+ push @{$_[0]->{$sorttag}}, \%desc ;
+ }
+}
+
+#------------------------------------------------------
+#
+# Getters
+#
+#------------------------------------------------------
+
+=pod
+
+=item * filename()
+
+Replies the filename of the specified section.
+Takes 1 arg:
+
+=over
+
+=item * section (string)
+
+is the name of the section.
+
+=back
+
+=cut
+sub filename($) : method {
+ my $self = shift ;
+ my $section = $_[0] || '' ;
+
+ # Does the specified request already encountered?
+ if ( ($section) &&
+ ($section eq 'entry') &&
+ ($_[1]) &&
+ ($self->{'ENTRY_FILENAMES'}{$_[1]}) ) {
+ return $self->{'ENTRY_FILENAMES'}{$_[1]} ;
+ }
+ elsif ( ($section) &&
+ ($section eq 'author-overview') &&
+ ($_[1]) &&
+ ($self->{'AUTHOR_FILENAMES'}{$_[1]}) ) {
+ return $self->{'AUTHOR_FILENAMES'}{$_[1]} ;
+ }
+
+ # Compute a new filename
+ my $fn = $self->{'FILENAMES'}{$section} ;
+ confess( "filename not found for '$section'" ) unless $fn ;
+ my $i = 1 ;
+ while ( $fn =~ /\#\Q$i\E/ ) {
+ my $val = (defined($_[$i])) ? $_[$i] : '' ;
+ $fn =~ s/\#$i/$val/g ;
+ $i ++ ;
+ }
+
+ # Make sure that the filename could be supported by most of the
+ # operating systems
+ $fn =~ s/:/-/g if ($fn);
+
+ # Save the filename
+ if ( ($section) &&
+ ($section eq 'entry') &&
+ ($_[1]) ) {
+ $self->{'ENTRY_FILENAMES'}{$_[1]} = $fn ;
+ }
+ elsif ( ($section) &&
+ ($section eq 'author-overview') &&
+ ($_[1]) ) {
+ $self->{'AUTHOR_FILENAMES'}{$_[1]} = $fn ;
+ }
+
+ return $fn ;
+}
+
+=pod
+
+=item * browserframe()
+
+Replies the frame used for the specified section.
+Takes 1 arg:
+
+=over
+
+=item * section (string)
+
+is the name of the section.
+
+=back
+
+=cut
+sub browserframe($) : method {
+ my $self = shift ;
+ my $section = $_[0] || '' ;
+ my $fr = $self->{'FRAMES'}{$section} ;
+ confess( "frame not found for '$section'" ) unless $fr ;
+ return $fr ;
+}
+
+
+=pod
+
+=item * getNavigationButtons()
+
+Replies the additional buttons for the navigation bar.
+Takes 1 arg:
+
+=over
+
+=item * exception (optional mixed)
+
+is the list of label to not reply.
+
+=back
+
+=cut
+sub getNavigationButtons : method {
+ my $self = shift ;
+ my @buttons = () ;
+ if ( int(@_) > 0 ) {
+ if ( isarray($_[0]) ) {
+ foreach my $button (@{$self->{'USER_NAVIGATION_BUTTONS'}}) {
+ if ( ! strinarray($button->{'label'},$_[0]) ) {
+ push @buttons, $button ;
+ }
+ }
+ }
+ else {
+ foreach my $button (@{$self->{'USER_NAVIGATION_BUTTONS'}}) {
+ if ( ! strinarray($button->{'label'},\@_) ) {
+ push @buttons, $button ;
+ }
+ }
+ }
+ }
+ else {
+ @buttons = @{$self->{'USER_NAVIGATION_BUTTONS'}} ;
+ }
+ return \@buttons ;
+}
+
+=pod
+
+=item * addNavigationButton()
+
+Adds an additional button for the navigation bar.
+Takes 2 args:
+
+=over
+
+=item * url (string)
+
+is the URL for the new button
+
+=item * key (string)
+
+is the language string identifier that corresponds
+to the label of the button.
+
+=back
+
+=cut
+sub addNavigationButton($$) : method {
+ my $self = shift ;
+ my $url = $_[0] || '' ;
+ my $label = $_[1] || '' ;
+ return unless (($url)&&($label)) ;
+ push @{$self->{'USER_NAVIGATION_BUTTONS'}}, { 'url' => "$url",
+ 'label' => "$label",
+ } ;
+}
+
+
+1;
+__END__
+
+=back
+
+=head1 COPYRIGHT
+
+(c) Copyright 1998-09 Stéphane Galland E<lt>galland@arakhne.orgE<gt>, under GPL.
+
+=head1 AUTHORS
+
+=over
+
+=item *
+
+Conceived and initially developed by Stéphane Galland E<lt>galland@arakhne.orgE<gt>.
+
+=back
+
+=head1 SEE ALSO
+
+bib2html.pl
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang.pm
new file mode 100644
index 0000000000..803c950ce1
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang.pm
@@ -0,0 +1,319 @@
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+=pod
+
+=head1 NAME
+
+Bib2HTML::Generator::Lang - A Language support for the generators
+
+=head1 SYNOPSYS
+
+use Bib2HTML::Generator::Lang ;
+
+my $gen = Bib2HTML::Generator::Lang->new( name, defs ) ;
+
+=head1 DESCRIPTION
+
+Bib2HTML::Generator::Lang is a Perl module, which proposes
+a generic language support for all the generators.
+
+=head1 GETTING STARTED
+
+=head2 Initialization
+
+To start a generator script, say something like this:
+
+ use Bib2HTML::Generator::Lang;
+
+ my $gen = Bib2HTML::Generator::Lang->new( 'English',
+ '/usr/lib/bib2html/Langs/English' ) ;
+
+...or something similar. Acceptable parameters to the constructor are:
+
+=over
+
+=item * name (string)
+
+is the name of the current language.
+
+=item * defs_path (string)
+
+is the filename of the file which contains the definitions.
+
+=back
+
+=head1 METHOD DESCRIPTIONS
+
+This section contains only the methods in Lang.pm itself.
+
+=over
+
+=cut
+
+package Bib2HTML::Generator::Lang;
+
+@ISA = ('Exporter');
+@EXPORT = qw();
+@EXPORT_OK = qw();
+
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+use Exporter;
+
+use Carp ;
+
+use Bib2HTML::General::Error ;
+use Bib2HTML::Release ;
+
+#------------------------------------------------------
+#
+# Global vars
+#
+#------------------------------------------------------
+
+# Version number of language support
+my $VERSION = "3.0" ;
+
+# Language definitions
+my %LANG_DEFS = ( ) ;
+
+#------------------------------------------------------
+#
+# Constructor
+#
+#------------------------------------------------------
+
+sub new($$) : method {
+ my $proto = shift;
+ my $class = ref($proto) || $proto;
+ my $filename = $_[1];
+ my $self = { 'defs' => {},
+ 'name' => $_[0] || 'unknow',
+ } ;
+ bless( $self, $class );
+
+ foreach my $key (keys %LANG_DEFS) {
+ $self->{'defs'}->{$key} = $LANG_DEFS{$key} ;
+ }
+
+ %{$self->{'defs'}} = $self->loadScript("$filename");
+
+ return $self;
+}
+
+#------------------------------------------------------
+#
+# Getters
+#
+#------------------------------------------------------
+
+sub get_final_copyright() {
+ my $final_copyright = 1998;
+ my $soft_release = getVersionDate();
+ if ($soft_release =~ /^([0-9]+)\/[0-9]+\/[0-9]+$/) {
+ if ($1<=98) {
+ $final_copyright = 2000 + $1;
+ }
+ elsif ($1==99) {
+ $final_copyright = 1999;
+ }
+ else {
+ $final_copyright = $1;
+ }
+ }
+
+ if ($final_copyright!=1998) {
+ $final_copyright = "1998-$final_copyright";
+ }
+
+ return $final_copyright;
+}
+
+sub replace_function_calls($) {
+ my $str = shift;
+ $str =~ s/\{\{\*([a-zA-Z0-9_]+)\}\}/{local *s=$1;&s();}/eg;
+ return $str;
+}
+
+sub loadScript($) {
+ my $self = shift;
+ my $filename = shift;
+
+ my %defs = ();
+
+ if (($filename)&&(-r "$filename")) {
+ local *LANG_FILE;
+ open *LANG_FILE, "<$filename"
+ or Bib2HTML::General::Error::syserr( "Unable to find the language file '$filename': $!\n" );
+
+ my $lastkey = undef;
+ while (my $line = <LANG_FILE>) {
+ if ($lastkey) {
+ $line =~ s/^\s+//;
+ if ($line =~ /^(.*?)\s*\\\s*$/) {
+ $line = $1;
+ $defs{'$lastkey'} .= ' ' if ($defs{'$lastkey'});
+ $defs{"$lastkey"} .= replace_function_calls("$line");
+ }
+ else {
+ $line =~ s/\s+$//;
+ $defs{'$lastkey'} .= ' ' if ($defs{'$lastkey'});
+ $defs{"$lastkey"} .= replace_function_calls("$line");
+ $lastkey = undef;
+ }
+ }
+ else {
+ if (($line)&&($line =~ /^\s*([a-aA-Z0-9_\-:]+)\s*=\s*(.*)?\s*$/)) {
+ my ($key,$value) = ($1,$2);
+ if ($value =~ /^(.*?)\s*\\\s*$/) {
+ $value = $1;
+ $lastkey = $key;
+ }
+ else {
+ $value =~ s/\s+$//;
+ }
+ $defs{"$key"} = replace_function_calls("$value");
+ }
+ }
+ }
+
+ close *LANG_FILE;
+ }
+
+ return %defs;
+}
+
+=pod
+
+=item * get()
+
+Replies the specified string according to the language.
+Takes at least 1 arg:
+
+=over
+
+=item * id (string)
+
+is the id of the string.
+
+=item * param1 (string)
+
+is a string which must replace the string "#1" in the language definition.
+
+=item * param2 (string)
+
+is a string which must replace the string "#2" in the language definition.
+
+=item ...
+
+=back
+
+=cut
+sub get($) : method {
+ my $self = shift ;
+ my $id = shift || confess( 'you must supply the id' ) ;
+ my $str = ( ( exists $self->{'defs'}{$id} ) ?
+ $self->{'defs'}{$id} : '' ) ;
+ Bib2HTML::General::Error::syserr( "the string id '$id' is not defined ".
+ "for the current language '".$self->{'name'}."'" ) unless $str ;
+ if ( @_ ) {
+ for(my $i=0; $i<=$#_; $i++ ) {
+ my $j = $i+1 ;
+ my $s = $_[$i] || "#$j" ;
+ $str =~ s/#$j/$s/g ;
+ }
+ }
+ return $str ;
+}
+
+=pod
+
+=item * _get_noerror()
+
+Replies the specified string according to the language.
+Takes at least 1 arg:
+
+=over
+
+=item * id (string)
+
+is the id of the string.
+
+=item * param1 (string)
+
+is a string which must replace the string "#1" in the language definition.
+
+=item * param2 (string)
+
+is a string which must replace the string "#2" in the language definition.
+
+=item ...
+
+=back
+
+=cut
+sub _get_noerror($) : method {
+ my $self = shift ;
+ my $id = shift || confess( 'you must supply the id' ) ;
+ my $str = ( ( exists $self->{'defs'}{$id} ) ?
+ $self->{'defs'}{$id} : '' ) ;
+ return undef unless $str ;
+ if ( @_ ) {
+ for(my $i=0; $i<=$#_; $i++ ) {
+ my $j = $i+1 ;
+ my $s = $_[$i] || "#$j" ;
+ $str =~ s/#$j/$s/g ;
+ }
+ }
+ return $str ;
+}
+
+=pod
+
+=item * getname()
+
+Replies the name of the current language.
+
+=cut
+sub getname() : method {
+ my $self = shift ;
+ return $self->{'name'} ;
+}
+
+1;
+__END__
+
+=back
+
+=head1 COPYRIGHT
+
+(c) Copyright 1998-09 Stéphane Galland <galland@arakhne.org>, under GPL.
+
+=head1 AUTHORS
+
+=over
+
+=item *
+
+Conceived and initially developed by Stéphane Galland E<lt>galland@arakhne.orgE<gt>.
+
+=back
+
+=head1 SEE ALSO
+
+bib2html.pl
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/English b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/English
new file mode 100644
index 0000000000..050a32be41
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/English
@@ -0,0 +1,86 @@
+# English support for the generators.
+#
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+I18N_LANG_BIB2HTML_COPYRIGHT = This document was generated by #1.<BR>\
+ Copyright &copy; {{*get_final_copyright}} #2 (under the #3)
+I18N_LANG_DEFAULT_TITLE = BibTeX
+I18N_LANG_DOCUMENTS = Documents
+I18N_LANG_FIELD_ADDRESS = Address
+I18N_LANG_FIELD_ADSURL = Link to ADS
+I18N_LANG_FIELD_ABSTRACT = Abstract
+I18N_LANG_FIELD_ABSTRACT_KEYWORDS = Abstract &amp; Keywords
+I18N_LANG_FIELD_ANNOTATION = Annotation
+I18N_LANG_FIELD_AUTHORS = Author(s)
+I18N_LANG_FIELD_CHAPTER = Chapter of
+I18N_LANG_FIELD_DATE = Date
+I18N_LANG_FIELD_DOI = Document on Internet
+I18N_LANG_FIELD_DOWNLOAD = Download the complete article: #1
+I18N_LANG_FIELD_EDITION = Edition
+I18N_LANG_FIELD_EDITORS = Editor(s)
+I18N_LANG_FIELD_HOWPUBLISHED = How published
+I18N_LANG_FIELD_IN = In
+I18N_LANG_FIELD_INSTITUTION = Institution
+I18N_LANG_FIELD_ISBN = ISBN number
+I18N_LANG_FIELD_ISSN = ISSN number
+I18N_LANG_FIELD_JOURNAL = Journal
+I18N_LANG_FIELD_KEYWORDS = <strong>Keywords</strong>: #1
+I18N_LANG_FIELD_KEYWORDS_TITLE = Keywords
+I18N_LANG_FIELD_NOTE = Note
+I18N_LANG_FIELD_NUMBER = Number
+I18N_LANG_FIELD_ORGANIZATION = Organization
+I18N_LANG_FIELD_PAGES = Page(s)
+I18N_LANG_FIELD_PDFFILE = PDF
+I18N_LANG_FIELD_PUBLISHER = Publisher
+I18N_LANG_FIELD_READERS = Reader(s)
+I18N_LANG_FIELD_SCHOOL = School
+I18N_LANG_FIELD_SERIES = Series
+I18N_LANG_FIELD_TITLE = Title
+I18N_LANG_FIELD_TYPE = Type
+I18N_LANG_FIELD_URL = URL
+I18N_LANG_FIELD_VOLUME = Volume
+I18N_LANG_FIELD_YEAR = Year
+I18N_LANG_FORMAT_NAME = l{ (v)}{ f.}{, j}
+I18N_LANG_FORMAT_NAMES = { and }{, }
+I18N_LANG_KEYWORDS = Key-words
+I18N_LANG_P_ARTICLE = Articles
+I18N_LANG_P_BOOK = Books
+I18N_LANG_P_BOOKLET = Not-sponsored books
+I18N_LANG_P_INBOOK = Book parts
+I18N_LANG_P_INCOLLECTION = In a collection
+I18N_LANG_P_INPROCEEDINGS = In proceedings
+I18N_LANG_P_MANUAL = Technical manuals
+I18N_LANG_P_MASTERTHESIS = Master's thesis
+I18N_LANG_P_MISC = 'Miscellaneous documents'
+I18N_LANG_P_PHDTHESIS = PhD thesis
+I18N_LANG_P_PROCEEDINGS = Conference proceedings
+I18N_LANG_P_TECHREPORT = Technical reports
+I18N_LANG_P_UNPUBLISHED = Unpublished
+I18N_LANG_S_ARTICLE = Article
+I18N_LANG_S_BOOK = Book
+I18N_LANG_S_BOOKLET = Not-sponsored book
+I18N_LANG_S_INBOOK = Book part
+I18N_LANG_S_INCOLLECTION = In a collection
+I18N_LANG_S_INPROCEEDINGS = In proceedings
+I18N_LANG_S_MANUAL = Technical manual
+I18N_LANG_S_MASTERTHESIS = Master's thesis
+I18N_LANG_S_MISC = 'Miscellaneous document'
+I18N_LANG_S_PHDTHESIS = PhD thesis
+I18N_LANG_S_PROCEEDINGS = Conference proceedings
+I18N_LANG_S_TECHREPORT = Technical report
+I18N_LANG_S_UNPUBLISHED = Unpublished
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/English.HTMLGen b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/English.HTMLGen
new file mode 100644
index 0000000000..798491eb2a
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/English.HTMLGen
@@ -0,0 +1,54 @@
+# English support for the generator HTMLGen.
+#
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+I18N_LANG_ALL_ELEMENTS = All Elements
+I18N_LANG_ARTICLESINSAMEDOMAINS = Documents in the same domains
+I18N_LANG_FIELD_BIBTEX_VERBATIM = BibTeX code
+I18N_LANG_FIELD_XML_VERBATIM = XML code
+I18N_LANG_DEFAULT_TITLE = Bibliography
+I18N_LANG_DOMAIN_TREE = Domain Tree
+I18N_LANG_DOMAINS = Domains
+I18N_LANG_ENTRY_TYPE_TREE = Hierarchical list by entry type
+I18N_LANG_FRAME_TITLE_AUTHORS = Authors
+I18N_LANG_FRAME_TITLE_TYPES = Types
+I18N_LANG_FRAMES = Frames
+I18N_LANG_INDEX = Index
+I18N_LANG_INDEX_COMMENT_ARTICLE = article
+I18N_LANG_INDEX_COMMENT_AUTHOR = author
+I18N_LANG_INDEX_COMMENT_BOOKTITLE = booktitle
+I18N_LANG_INDEX_COMMENT_EDITOR = editor
+I18N_LANG_INDEX_COMMENT_HOWPUBLISHED = publication mean
+I18N_LANG_INDEX_COMMENT_INSTITUTION = institution
+I18N_LANG_INDEX_COMMENT_PUBLISHER = publisher
+I18N_LANG_INDEX_COMMENT_SCHOOL = school
+I18N_LANG_INDEX_COMMENT_TITLE = title
+I18N_LANG_NEXT = Next
+I18N_LANG_NO_DATE = Not dated
+I18N_LANG_NO_FRAME = No Frame
+I18N_LANG_NO_FRAME_ALERT = <H2>Frame Alert</H2>\
+ <P>This document is designed to be\
+ viewed using the frames feature. If\
+ you see this message, you are using a\
+ non-frame-capable web client.<BR>\
+ Link to <A HREF="#1">Non-frame version.</A>.<BR>#2
+I18N_LANG_OVERVIEW = Overview
+I18N_LANG_PREV = Prev
+I18N_LANG_TREE = Tree
+I18N_LANG_SMALL_IN = in:&nbsp;#1
+I18N_LANG_SUBMIT_BUG = Submit a bug
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/English.Theme.Dyna b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/English.Theme.Dyna
new file mode 100644
index 0000000000..03fce9ef60
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/English.Theme.Dyna
@@ -0,0 +1,22 @@
+# English support for the Dyna theme.
+#
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+I18N_LANG_THEME_SUMMARY_BAR = SUMMARY: &nbsp;#1&nbsp;|&nbsp;#2&nbsp;|&nbsp;#3
+I18N_LANG_THEME_DETAIL_BAR = DETAIL: &nbsp;#1&nbsp;|&nbsp;#2&nbsp;|&nbsp;#3
+I18N_LANG_THEME_TREE_ROOT = Root
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/French b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/French
new file mode 100644
index 0000000000..bfbf3e5818
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/French
@@ -0,0 +1,86 @@
+# French support for the generators.
+#
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+I18N_LANG_BIB2HTML_COPYRIGHT = Ce document a &eacute;t&eacute; g&eacute;n&eacute;r&eacute; \
+ par #1.<BR>Copyright &copy; {{*get_final_copyright}} #2 (licence #3)
+I18N_LANG_DEFAULT_TITLE = BibTeX
+I18N_LANG_DOCUMENTS = Documents
+I18N_LANG_FIELD_ADDRESS = Adresse
+I18N_LANG_FIELD_ADSURL = Lien vers ADS
+I18N_LANG_FIELD_ABSTRACT = R&eacute;sum&eacute;
+I18N_LANG_FIELD_ABSTRACT_KEYWORDS = R&eacute;sum&eacute; &amp; Mots-cl&eacute;s
+I18N_LANG_FIELD_ANNOTATION = Annotation
+I18N_LANG_FIELD_AUTHORS = Auteur(s)
+I18N_LANG_FIELD_CHAPTER = Chapitre de
+I18N_LANG_FIELD_DATE = Date
+I18N_LANG_FIELD_DOI = Document sur Internet
+I18N_LANG_FIELD_DOWNLOAD = T&eacute;l&eacute;charger une version compl&egrave;te de ce document&nbsp;: #1
+I18N_LANG_FIELD_EDITION = &Eacute;dition
+I18N_LANG_FIELD_EDITORS = R&eacute;dacteur(s) en chef
+I18N_LANG_FIELD_HOWPUBLISHED = Moyen de publication
+I18N_LANG_FIELD_IN = In
+I18N_LANG_FIELD_INSTITUTION = Institution
+I18N_LANG_FIELD_ISBN = Num&eacute;ro ISBN
+I18N_LANG_FIELD_ISSN = Num&eacute;ro ISSN
+I18N_LANG_FIELD_JOURNAL = Journal
+I18N_LANG_FIELD_KEYWORDS = <strong>Mots-cl&eacute;s</strong>: #1
+I18N_LANG_FIELD_KEYWORDS_TITLE = Mots-cl&eacute;s
+I18N_LANG_FIELD_NOTE = Note
+I18N_LANG_FIELD_NUMBER = Num&eacute;ro
+I18N_LANG_FIELD_ORGANIZATION = Organisation
+I18N_LANG_FIELD_PAGES = Page(s)
+I18N_LANG_FIELD_PDFFILE = PDF
+I18N_LANG_FIELD_PUBLISHER = &Eacute;diteur
+I18N_LANG_FIELD_READERS = Lecteur(s)
+I18N_LANG_FIELD_SCHOOL = &Eacute;cole
+I18N_LANG_FIELD_SERIES = S&eacute;rie(s)
+I18N_LANG_FIELD_TITLE = Titre
+I18N_LANG_FIELD_TYPE = Type
+I18N_LANG_FIELD_URL = URL
+I18N_LANG_FIELD_VOLUME = Volume
+I18N_LANG_FIELD_YEAR = Ann&eacute;e
+I18N_LANG_FORMAT_NAME = l{ (v)}{ f.}{, j}
+I18N_LANG_FORMAT_NAMES = { et }{, }
+I18N_LANG_KEYWORDS = Mots-clés
+I18N_LANG_P_ARTICLE = Articles
+I18N_LANG_P_BOOK = Livres
+I18N_LANG_P_BOOKLET = Livres sans éditeur
+I18N_LANG_P_INBOOK = Parties de livre
+I18N_LANG_P_INCOLLECTION = Articles dans des collections
+I18N_LANG_P_INPROCEEDINGS = Articles dans des actes de conf&eacute;rences
+I18N_LANG_P_MANUAL = Manuels techniques
+I18N_LANG_P_MASTERTHESIS = M&eacute;moire d'ing&eacute;nieur
+I18N_LANG_P_MISC = 'Documents divers'
+I18N_LANG_P_PHDTHESIS = M&eacute;moires de recherche
+I18N_LANG_P_PROCEEDINGS = Actes de conférences
+I18N_LANG_P_TECHREPORT = Documentations techniques
+I18N_LANG_P_UNPUBLISHED = Non publi&eacute;s
+I18N_LANG_S_ARTICLE = Article
+I18N_LANG_S_BOOK = Livre
+I18N_LANG_S_BOOKLET = Livre sans éditeur
+I18N_LANG_S_INBOOK = Partie de livre
+I18N_LANG_S_INCOLLECTION = Article dans une collection
+I18N_LANG_S_INPROCEEDINGS = Article dans des actes de conf&eacute;rence
+I18N_LANG_S_MANUAL = Manuel technique
+I18N_LANG_S_MASTERTHESIS = M&eacute;moire d'ingénieur
+I18N_LANG_S_MISC = 'Document divers'
+I18N_LANG_S_PHDTHESIS = M&eacute;moire de recherche
+I18N_LANG_S_PROCEEDINGS = Actes de confi&eacute;rence
+I18N_LANG_S_TECHREPORT = Rapport technique
+I18N_LANG_S_UNPUBLISHED = Non publi&eacute;
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/French.HTMLGen b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/French.HTMLGen
new file mode 100644
index 0000000000..3da9bb32b9
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/French.HTMLGen
@@ -0,0 +1,55 @@
+# French support for the generator HTMLGen.
+#
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+I18N_LANG_ALL_ELEMENTS = Tous les &eacute;l&eacute;ments
+I18N_LANG_ARTICLESINSAMEDOMAINS = Documents dans le m&ecirc;me domaine
+I18N_LANG_FIELD_BIBTEX_VERBATIM = Code BibTeX
+I18N_LANG_FIELD_XML_VERBATIM = Code XML
+I18N_LANG_DEFAULT_TITLE = Bibliographie
+I18N_LANG_DOMAIN_TREE = Arbre des domaines
+I18N_LANG_DOMAINS = Domaines
+I18N_LANG_ENTRY_TYPE_TREE = Liste hi&eacute;rarchique par type d'entr&eacute;e
+I18N_LANG_FRAME_TITLE_AUTHORS = Auteurs
+I18N_LANG_FRAME_TITLE_TYPES = Types
+I18N_LANG_FRAMES = Frames
+I18N_LANG_INDEX = Index
+I18N_LANG_INDEX_COMMENT_ARTICLE = article
+I18N_LANG_INDEX_COMMENT_AUTHOR = auteur
+I18N_LANG_INDEX_COMMENT_BOOKTITLE = title de livre
+I18N_LANG_INDEX_COMMENT_EDITOR = r&eacute;dacteur en chef
+I18N_LANG_INDEX_COMMENT_HOWPUBLISHED = moyen de publication
+I18N_LANG_INDEX_COMMENT_INSTITUTION = institution
+I18N_LANG_INDEX_COMMENT_PUBLISHER = &eacute;diteur
+I18N_LANG_INDEX_COMMENT_SCHOOL = &eacute;cole
+I18N_LANG_INDEX_COMMENT_TITLE = titre
+I18N_LANG_NEXT = Suivant
+I18N_LANG_NO_DATE = Non dat&eacute;
+I18N_LANG_NO_FRAME = Pas de Frame
+I18N_LANG_NO_FRAME_ALERT = <H2>Support des cadres</H2>\
+ <P>Ce document est con&ccedil; pour &ecirc;tre \
+ visualis&eacute; avec des cadres (frames). \
+ Le fait de lire ce message indique que vous \
+ utilis&eacute; un navigateur ne supportant \
+ pas les frames.<BR> Lien vers la <A HREF="#1">\
+ version sans frame.</A>.<BR>\n#2
+I18N_LANG_OVERVIEW = Page principale
+I18N_LANG_PREV = Pr&eacute;d
+I18N_LANG_TREE = Arbre
+I18N_LANG_SMALL_IN = in:&nbsp;#1
+I18N_LANG_SUBMIT_BUG = Soumettre un bug
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/French.Theme.Dyna b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/French.Theme.Dyna
new file mode 100644
index 0000000000..0004c6ab3c
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/French.Theme.Dyna
@@ -0,0 +1,22 @@
+# French support for the Dyna theme.
+#
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+I18N_LANG_THEME_SUMMARY_BAR = R&Eacute;SUM&Eacute;: &nbsp;#1&nbsp;|&nbsp;#2&nbsp;|&nbsp;#3
+I18N_LANG_THEME_DETAIL_BAR = D&Eacute;TAIL: &nbsp;#1&nbsp;|&nbsp;#2&nbsp;|&nbsp;#3
+I18N_LANG_THEME_TREE_ROOT = Racine
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Italian b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Italian
new file mode 100644
index 0000000000..e5f962412f
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Italian
@@ -0,0 +1,86 @@
+# Italian support for the generators.
+#
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+I18N_LANG_BIB2HTML_COPYRIGHT = Documento generato da #1.<BR>\
+ Copyright &copy; {{{*get_final_copyright}} #2 (sotto la #3)
+I18N_LANG_DEFAULT_TITLE = BibTeX
+I18N_LANG_DOCUMENTS = Documenti
+I18N_LANG_FIELD_ADDRESS = Indirizzo
+I18N_LANG_FIELD_ADSURL = Collegamento al ADS
+I18N_LANG_FIELD_ABSTRACT = Abstract
+I18N_LANG_FIELD_ABSTRACT_KEYWORDS = Abstract &amp; Parole chiave
+I18N_LANG_FIELD_ANNOTATION = Annotazione
+I18N_LANG_FIELD_AUTHORS = Autore
+I18N_LANG_FIELD_CHAPTER = Capitolo di
+I18N_LANG_FIELD_DATE = Data
+I18N_LANG_FIELD_DOI = Documento sul Internet
+I18N_LANG_FIELD_DOWNLOAD = Scarica articolo completo: #1
+I18N_LANG_FIELD_EDITION = Edizione
+I18N_LANG_FIELD_EDITORS = Curatore
+I18N_LANG_FIELD_HOWPUBLISHED = Modalità di pubblicazione
+I18N_LANG_FIELD_IN = In
+I18N_LANG_FIELD_INSTITUTION = Istituzione
+I18N_LANG_FIELD_ISBN = Numero ISBN
+I18N_LANG_FIELD_ISSN = Numero ISSN
+I18N_LANG_FIELD_JOURNAL = Rivista
+I18N_LANG_FIELD_KEYWORDS = <strong>Parole chiave</strong>: #1
+I18N_LANG_FIELD_KEYWORDS_TITLE = Parole chiave
+I18N_LANG_FIELD_NOTE = Nota
+I18N_LANG_FIELD_NUMBER = Numero
+I18N_LANG_FIELD_ORGANIZATION = Organizzazione
+I18N_LANG_FIELD_PAGES = Pagine
+I18N_LANG_FIELD_PDFFILE = PDF
+I18N_LANG_FIELD_PUBLISHER = Editore
+I18N_LANG_FIELD_READERS = Lettori
+I18N_LANG_FIELD_SCHOOL = Scuola
+I18N_LANG_FIELD_SERIES = Serie
+I18N_LANG_FIELD_TITLE = Titolo
+I18N_LANG_FIELD_TYPE = Tipo
+I18N_LANG_FIELD_URL = URL
+I18N_LANG_FIELD_VOLUME = Volume
+I18N_LANG_FIELD_YEAR = Anno
+I18N_LANG_FORMAT_NAME = l{ (v)}{ f.}{, j}
+I18N_LANG_FORMAT_NAMES = { e }{, }
+I18N_LANG_KEYWORDS = Parole chiavi
+I18N_LANG_P_ARTICLE = Articoli
+I18N_LANG_P_BOOK = Libri
+I18N_LANG_P_BOOKLET = Libretti
+I18N_LANG_P_INBOOK = Parte di libro
+I18N_LANG_P_INCOLLECTION = In raccolte
+I18N_LANG_P_INPROCEEDINGS = In atti
+I18N_LANG_P_MANUAL = Manuali tecnici
+I18N_LANG_P_MASTERTHESIS = Tesi di master
+I18N_LANG_P_MISC = 'Documenti vari'
+I18N_LANG_P_PHDTHESIS = Tesi di dottorato
+I18N_LANG_P_PROCEEDINGS = Atti di conferenze
+I18N_LANG_P_TECHREPORT = Rapporti tecnici
+I18N_LANG_P_UNPUBLISHED = Non pubblicati
+I18N_LANG_S_ARTICLE = articolo
+I18N_LANG_S_BOOK = libro
+I18N_LANG_S_BOOKLET = libretto
+I18N_LANG_S_INBOOK = parte di libro
+I18N_LANG_S_INCOLLECTION = parte di una raccolta
+I18N_LANG_S_INPROCEEDINGS = parte di atti
+I18N_LANG_S_MANUAL = manuale tecnico
+I18N_LANG_S_MASTERTHESIS = tesi di master
+I18N_LANG_S_MISC = 'documenti vari'
+I18N_LANG_S_PHDTHESIS = tesi di dottorato
+I18N_LANG_S_PROCEEDINGS = atti di conferenze
+I18N_LANG_S_TECHREPORT = rapporto tecnico
+I18N_LANG_S_UNPUBLISHED = non pubblicato
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Italian.HTMLGen b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Italian.HTMLGen
new file mode 100644
index 0000000000..393907d803
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Italian.HTMLGen
@@ -0,0 +1,56 @@
+# Italian support for the generators.
+#
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+I18N_LANG_ALL_ELEMENTS = Tutti i documenti
+I18N_LANG_ARTICLESINSAMEDOMAINS = Documenti negli stessi domini
+I18N_LANG_FIELD_BIBTEX_VERBATIM = Codice BibTeX
+I18N_LANG_FIELD_XML_VERBATIM = Codice XML
+I18N_LANG_DEFAULT_TITLE = Bibliografia
+I18N_LANG_DOMAIN_TREE = Albero dei domini
+I18N_LANG_DOMAINS = Domini
+I18N_LANG_ENTRY_TYPE_TREE = Elenco gerarchico per tipo di documento
+I18N_LANG_FRAME_TITLE_AUTHORS = Autori
+I18N_LANG_FRAME_TITLE_TYPES = Tipi
+I18N_LANG_FRAMES = Frame
+I18N_LANG_INDEX = Indice
+I18N_LANG_INDEX_COMMENT_ARTICLE = Articolo
+I18N_LANG_INDEX_COMMENT_AUTHOR = Autore
+I18N_LANG_INDEX_COMMENT_BOOKTITLE = Titolo
+I18N_LANG_INDEX_COMMENT_EDITOR = Curatore
+I18N_LANG_INDEX_COMMENT_HOWPUBLISHED = Modalità di pubblicazione
+I18N_LANG_INDEX_COMMENT_INSTITUTION = Istituzione
+I18N_LANG_INDEX_COMMENT_PUBLISHER = Editore
+I18N_LANG_INDEX_COMMENT_SCHOOL = Scuola
+I18N_LANG_INDEX_COMMENT_TITLE = Titolo
+I18N_LANG_NEXT = Successivo
+I18N_LANG_NO_DATE = Non datati
+I18N_LANG_NO_FRAME = Pagina unica
+I18N_LANG_NO_FRAME_ALERT = <H2>Attenzione</H2>\
+ <P>Questo documento è destinato ad \
+ essere visualizzato usando i frame. \
+ Se visualizzate questo messaggio \
+ state utilizzando un client che non \
+ supporta i frame.<BR>\
+ Si veda la <A HREF="#1">Versione senza \
+ frame.</A>.<BR>\n#2
+I18N_LANG_OVERVIEW = Per anno
+I18N_LANG_PREV = Precedente
+I18N_LANG_TREE = Per tipo
+I18N_LANG_SMALL_IN = in:&nbsp;#1
+I18N_LANG_SUBMIT_BUG = Segnalazione bug
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Italian.Theme.Dyna b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Italian.Theme.Dyna
new file mode 100644
index 0000000000..c715bf6c18
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Italian.Theme.Dyna
@@ -0,0 +1,22 @@
+# Italian support for the Dyna theme.
+#
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+I18N_LANG_THEME_SUMMARY_BAR = RIASSUNTO: &nbsp;#1&nbsp;|&nbsp;#2&nbsp;|&nbsp;#3
+I18N_LANG_THEME_DETAIL_BAR = DETTAGLIO: &nbsp;#1&nbsp;|&nbsp;#2&nbsp;|&nbsp;#3
+I18N_LANG_THEME_TREE_ROOT = Radice
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Portuguese b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Portuguese
new file mode 100644
index 0000000000..a668ef8033
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Portuguese
@@ -0,0 +1,86 @@
+# Portuguese support for the generators.
+#
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+I18N_LANG_BIB2HTML_COPYRIGHT = Este documento foi gerado por #1.<BR>\
+ Copyright &copy; {{*get_final_copyright}} #2 (licen&ccedil;a #3)
+I18N_LANG_DEFAULT_TITLE = BibTeX
+I18N_LANG_DOCUMENTS = Documentos
+I18N_LANG_FIELD_ADDRESS = Endere&ccedil;o
+I18N_LANG_FIELD_ADSURL = Liga&ccedil;&atilde;o ao ADS
+I18N_LANG_FIELD_ABSTRACT = Resumo
+I18N_LANG_FIELD_ABSTRACT_KEYWORDS = Resumo &amp; Palavras-chave
+I18N_LANG_FIELD_ANNOTATION = Anota&ccedil;&otilde;es
+I18N_LANG_FIELD_AUTHORS = Autor(es)
+I18N_LANG_FIELD_CHAPTER = Cap&iacute;tulo de
+I18N_LANG_FIELD_DATE = Data
+I18N_LANG_FIELD_DOI = Original no Internet
+I18N_LANG_FIELD_DOWNLOAD = Obter o artigo completo: #1
+I18N_LANG_FIELD_EDITION = Edi&ccedil;&atilde;o
+I18N_LANG_FIELD_EDITORS = Editor(es)
+I18N_LANG_FIELD_HOWPUBLISHED = Publicado como
+I18N_LANG_FIELD_IN = Em
+I18N_LANG_FIELD_INSTITUTION = Institui&ccedil;&atilde;o
+I18N_LANG_FIELD_ISBN = N&uacute;mero ISBN
+I18N_LANG_FIELD_ISSN = N&uacute;mero ISSN
+I18N_LANG_FIELD_JOURNAL = Journal
+I18N_LANG_FIELD_KEYWORDS = <strong>Palavras-chave</strong>: #1
+I18N_LANG_FIELD_KEYWORDS_TITLE = Palavras-chave
+I18N_LANG_FIELD_NOTE = Nota
+I18N_LANG_FIELD_NUMBER = N&uacute;mero
+I18N_LANG_FIELD_ORGANIZATION = Organiza&ccedil;&atilde;o
+I18N_LANG_FIELD_PAGES = P&aacute;gina(s)
+I18N_LANG_FIELD_PDFFILE = PDF
+I18N_LANG_FIELD_PUBLISHER = Editora
+I18N_LANG_FIELD_READERS = Leitor(es)
+I18N_LANG_FIELD_SCHOOL = Escola
+I18N_LANG_FIELD_SERIES = S&eacute;ries
+I18N_LANG_FIELD_TITLE = Título
+I18N_LANG_FIELD_TYPE = Tipo
+I18N_LANG_FIELD_URL = URL
+I18N_LANG_FIELD_VOLUME = Volume
+I18N_LANG_FIELD_YEAR = Ano
+I18N_LANG_FORMAT_NAME = l{ (v)}{ f.}{, j}
+I18N_LANG_FORMAT_NAMES = { e }{, }
+I18N_LANG_KEYWORDS = Palavras-chaves
+I18N_LANG_P_ARTICLE = Artigos
+I18N_LANG_P_BOOK = Livros
+I18N_LANG_P_BOOKLET = Livros sem editor
+I18N_LANG_P_INBOOK = Partes de livros
+I18N_LANG_P_INCOLLECTION = Artigos numa colec&ccedil;&atilde;o
+I18N_LANG_P_INPROCEEDINGS = Artigos em actas de confer&ecirc;ncias
+I18N_LANG_P_MANUAL = Manuais t&eacute;cnicos
+I18N_LANG_P_MASTERTHESIS = Teses de mestrado
+I18N_LANG_P_MISC = 'Documentos diversos'
+I18N_LANG_P_PHDTHESIS = Teses de doutoramento
+I18N_LANG_P_PROCEEDINGS = Actas de confer&ecirc;ncias
+I18N_LANG_P_TECHREPORT = Relat&oacute;rios t&eacute;cnicos
+I18N_LANG_P_UNPUBLISHED = N&atilde;o publicados
+I18N_LANG_S_ARTICLE = Artigo
+I18N_LANG_S_BOOK = Livro
+I18N_LANG_S_BOOKLET = Livros sem editor
+I18N_LANG_S_INBOOK = Parte de livro
+I18N_LANG_S_INCOLLECTION = Artigo numa colec&ccedil;&atilde;o
+I18N_LANG_S_INPROCEEDINGS = Artigo em actas de confer&ecirc;ncias
+I18N_LANG_S_MANUAL = Manual t&eacute;cnico
+I18N_LANG_S_MASTERTHESIS = Tese de mestrado
+I18N_LANG_S_MISC = 'Documentos diverso'
+I18N_LANG_S_PHDTHESIS = Tese de doutoramento
+I18N_LANG_S_PROCEEDINGS = Actas de confer&ecirc;ncia
+I18N_LANG_S_TECHREPORT = Relat&oacute;rio t&eacute;cnico
+I18N_LANG_S_UNPUBLISHED = N&atilde;o publicado
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Portuguese.HTMLGen b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Portuguese.HTMLGen
new file mode 100644
index 0000000000..86f4a9b2e5
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Portuguese.HTMLGen
@@ -0,0 +1,56 @@
+# Portuguese support for the generators.
+#
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+I18N_LANG_ALL_ELEMENTS = Todos os Elementos
+I18N_LANG_ARTICLESINSAMEDOMAINS = Documentos nos mesmos dom&iacute;nios
+I18N_LANG_FIELD_BIBTEX_VERBATIM = C&oacute;digo BibTeX
+I18N_LANG_FIELD_XML_VERBATIM = C&oacute;digo XML
+I18N_LANG_DEFAULT_TITLE = Bibliografia
+I18N_LANG_DOMAIN_TREE = &Aacute;rvore de dom&iacute;nios
+I18N_LANG_DOMAINS = Dom&iacute;nios
+I18N_LANG_ENTRY_TYPE_TREE = Lista hier&aacute;rquiaca por tipo de entrada
+I18N_LANG_FRAME_TITLE_AUTHORS = Autores
+I18N_LANG_FRAME_TITLE_TYPES = Tipos
+I18N_LANG_FRAMES = <em>Frames</em>
+I18N_LANG_INDEX = &Iacute;ndice
+I18N_LANG_INDEX_COMMENT_ARTICLE = artigo
+I18N_LANG_INDEX_COMMENT_AUTHOR = autor
+I18N_LANG_INDEX_COMMENT_BOOKTITLE = T&iacute;tulo de livro
+I18N_LANG_INDEX_COMMENT_EDITOR = editor
+I18N_LANG_INDEX_COMMENT_HOWPUBLISHED = meio de publica&ccedil;&atilde;o
+I18N_LANG_INDEX_COMMENT_INSTITUTION = institui&ccdeil;&atilde;o
+I18N_LANG_INDEX_COMMENT_PUBLISHER = editor
+I18N_LANG_INDEX_COMMENT_SCHOOL = escola
+I18N_LANG_INDEX_COMMENT_TITLE = t&iacute;tulo
+I18N_LANG_NEXT = Pr&oacute;ximo
+I18N_LANG_NO_DATE = N&atilde;o datado
+I18N_LANG_NO_FRAME = Sem <em>Frames</em>
+I18N_LANG_NO_FRAME_ALERT = <H2>Alerta de Frames</H2>\
+ <P>Este documento foi concebido para ser \
+ visualizado usando a funcionalidade \
+ de <en>frames</em>. A visualiza&ccedil,&atilde;o desta \
+ mensagem indica que est&aacute; a usar um <em>browser</em> \
+ que n&atilde;o suport <em>frames</em>.<BR>\
+ <em>Link</em> para uma <A HREF="#1">vers&atilde;o \
+ sem <em>frames</em></A>.<BR>#2
+I18N_LANG_OVERVIEW = P&aacute;gina&nbsp;principal
+I18N_LANG_PREV = Anterior
+I18N_LANG_TREE = &Aacute;rvore
+I18N_LANG_SMALL_IN = em:&nbsp;#1
+I18N_LANG_SUBMIT_BUG = Submeter um relat&oacute;rio de erro
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Portuguese.Theme.Dyna b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Portuguese.Theme.Dyna
new file mode 100644
index 0000000000..bf372b5d5b
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Portuguese.Theme.Dyna
@@ -0,0 +1,22 @@
+# Portuguese support for the Dyna theme.
+#
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+I18N_LANG_THEME_SUMMARY_BAR = SUM&Aacute;RIO: &nbsp;#1&nbsp;|&nbsp;#2&nbsp;|&nbsp;#3
+I18N_LANG_THEME_DETAIL_BAR = DETALHE: &nbsp;#1&nbsp;|&nbsp;#2&nbsp;|&nbsp;#3
+I18N_LANG_THEME_TREE_ROOT = Raiz
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Spanish b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Spanish
new file mode 100644
index 0000000000..752bafbafa
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Spanish
@@ -0,0 +1,87 @@
+# Spanish support for the generators.
+#
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+# Sebastian Rodriguez <sebastian.rodriguez@utbm.fr>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+I18N_LANG_BIB2HTML_COPYRIGHT = Este documento fue generado por #1.<BR>\
+ Copyright &copy; {{*get_final_copyright}} #2 (Bajo #3)
+I18N_LANG_DEFAULT_TITLE = BibTeX
+I18N_LANG_DOCUMENTS = Documentos
+I18N_LANG_FIELD_ADDRESS = Direcci&oacute;n
+I18N_LANG_FIELD_ADSURL = Acoplamiento al ADS
+I18N_LANG_FIELD_ABSTRACT = Resumen
+I18N_LANG_FIELD_ABSTRACT_KEYWORDS = Resumen y Palabras Claves
+I18N_LANG_FIELD_ANNOTATION = Comentario
+I18N_LANG_FIELD_AUTHORS = Autor(es)
+I18N_LANG_FIELD_CHAPTER = Capitulo de
+I18N_LANG_FIELD_DATE = Fecha
+I18N_LANG_FIELD_DOI = Documento en Internet
+I18N_LANG_FIELD_DOWNLOAD = Descargar el articulo completo: #1
+I18N_LANG_FIELD_EDITION = Edici&oacute;n
+I18N_LANG_FIELD_EDITORS = Redactor en Jefe
+I18N_LANG_FIELD_HOWPUBLISHED = How published
+I18N_LANG_FIELD_IN = En
+I18N_LANG_FIELD_INSTITUTION = Instituci&oacute;n
+I18N_LANG_FIELD_ISBN = N&uacute;mero ISBN
+I18N_LANG_FIELD_ISSN = N&uacute;mero ISSN
+I18N_LANG_FIELD_JOURNAL = Revista
+I18N_LANG_FIELD_KEYWORDS = <strong>Palabras claves</strong>: #1
+I18N_LANG_FIELD_KEYWORDS_TITLE = Palabras claves
+I18N_LANG_FIELD_NOTE = Nota
+I18N_LANG_FIELD_NUMBER = N&uacute;mero
+I18N_LANG_FIELD_ORGANIZATION = Organizaci&oacute;n
+I18N_LANG_FIELD_PAGES = P&aacute;gina(s)
+I18N_LANG_FIELD_PDFFILE = PDF
+I18N_LANG_FIELD_PUBLISHER = Editor
+I18N_LANG_FIELD_READERS = Lectore(s)
+I18N_LANG_FIELD_SCHOOL = Escuela
+I18N_LANG_FIELD_SERIES = Serie
+I18N_LANG_FIELD_TITLE = T&iacute;tulo
+I18N_LANG_FIELD_TYPE = Tipo
+I18N_LANG_FIELD_URL = URL
+I18N_LANG_FIELD_VOLUME = Volumen
+I18N_LANG_FIELD_YEAR = A&ntilde;o
+I18N_LANG_FORMAT_NAME = l{ (v)}{ f.}{, j}
+I18N_LANG_FORMAT_NAMES = { y }{, }
+I18N_LANG_KEYWORDS = Palabras claves
+I18N_LANG_P_ARTICLE = Articulos
+I18N_LANG_P_BOOK = Libros
+I18N_LANG_P_BOOKLET = Libros Sin Sponsord
+I18N_LANG_P_INBOOK = Partes de Libros
+I18N_LANG_P_INCOLLECTION = En colecci&oacute;n
+I18N_LANG_P_INPROCEEDINGS = En proceedings
+I18N_LANG_P_MANUAL = Manuales T&eacute;cnicos
+I18N_LANG_P_MASTERTHESIS = Tesis de Master
+I18N_LANG_P_MISC = 'Documentos miscel&aacute;neos'
+I18N_LANG_P_PHDTHESIS = Tesis Doctorales
+I18N_LANG_P_PROCEEDINGS = Conference proceedings
+I18N_LANG_P_TECHREPORT = Reportes T&eacute;cnicos
+I18N_LANG_P_UNPUBLISHED = In&eacute;dito
+I18N_LANG_S_ARTICLE = Articulo
+I18N_LANG_S_BOOK = Libro
+I18N_LANG_S_BOOKLET = Not-sponsored book
+I18N_LANG_S_INBOOK = Parte de Libro
+I18N_LANG_S_INCOLLECTION = En una colecci&oacute;n
+I18N_LANG_S_INPROCEEDINGS = En proceedings
+I18N_LANG_S_MANUAL = Manual T&eacute;cnico
+I18N_LANG_S_MASTERTHESIS = T&eacute;sis de Master
+I18N_LANG_S_MISC = 'Documento Miscelaneo'
+I18N_LANG_S_PHDTHESIS = T&eacute;sis Doctoral
+I18N_LANG_S_PROCEEDINGS = Conference proceedings
+I18N_LANG_S_TECHREPORT = Reporte T&eacute;cnico
+I18N_LANG_S_UNPUBLISHED = In&eacute;dito
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Spanish.HTMLGen b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Spanish.HTMLGen
new file mode 100644
index 0000000000..5b11ef3f82
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Spanish.HTMLGen
@@ -0,0 +1,55 @@
+# Spanish support for the generator HTMLGen.
+#
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+# Sebastian Rodriguez <sebastian.rodriguez@utbm.fr>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+I18N_LANG_ALL_ELEMENTS = Todos los Elemnetos
+I18N_LANG_ARTICLESINSAMEDOMAINS = Documentos en el mismo dominio
+I18N_LANG_FIELD_BIBTEX_VERBATIM = BibTeX
+I18N_LANG_FIELD_XML_VERBATIM = XML
+I18N_LANG_DEFAULT_TITLE = Bibliograf&iacute;a
+I18N_LANG_DOMAIN_TREE = Domain Tree
+I18N_LANG_DOMAINS = Dominios
+I18N_LANG_ENTRY_TYPE_TREE = Lista por tipos de Entada
+I18N_LANG_FRAME_TITLE_AUTHORS = Autores
+I18N_LANG_FRAME_TITLE_TYPES = Tipos
+I18N_LANG_FRAMES = Frames
+I18N_LANG_INDEX = Indice
+I18N_LANG_INDEX_COMMENT_ARTICLE = artiuclo
+I18N_LANG_INDEX_COMMENT_AUTHOR = autor
+I18N_LANG_INDEX_COMMENT_BOOKTITLE = titulo del libro
+I18N_LANG_INDEX_COMMENT_EDITOR = Redactor jefe
+I18N_LANG_INDEX_COMMENT_HOWPUBLISHED = forma de publicaci&oacute;n
+I18N_LANG_INDEX_COMMENT_INSTITUTION = instituci&oacute;n
+I18N_LANG_INDEX_COMMENT_PUBLISHER = Editor
+I18N_LANG_INDEX_COMMENT_SCHOOL = escuela
+I18N_LANG_INDEX_COMMENT_TITLE = titulo
+I18N_LANG_NEXT = Siguiente
+I18N_LANG_NO_DATE = Sin Fecha
+I18N_LANG_NO_FRAME = No Frame
+I18N_LANG_NO_FRAME_ALERT = <H2>Frame Alert</H2>\
+ <P>Este documento fue dise&ntilde;ando para ser \
+ visualizado usando Frames. Si esta viendo este \
+ mensaje, esta usando un web browser sin soporte \
+ para los Frames.<BR>Vinculo a <A HREF="#1">la \
+ versi&oacute;n sin Frames.</A>.<BR>#2
+I18N_LANG_OVERVIEW = Visi&oacute;n General
+I18N_LANG_PREV = Anterior
+I18N_LANG_TREE = Tree
+I18N_LANG_SMALL_IN = en:&nbsp;#1
+I18N_LANG_SUBMIT_BUG = Reportar un bug
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Spanish.Theme.Dyna b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Spanish.Theme.Dyna
new file mode 100644
index 0000000000..6db9ef0498
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Lang/Spanish.Theme.Dyna
@@ -0,0 +1,23 @@
+# Spanish support for the Dyna theme.
+#
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+# Sebastian Rodriguez <sebastian.rodriguez@utbm.fr>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+I18N_LANG_THEME_SUMMARY_BAR = RESUMEN: &nbsp;#1&nbsp;|&nbsp;#2&nbsp;|&nbsp;#3
+I18N_LANG_THEME_DETAIL_BAR = DETALLE: &nbsp;#1&nbsp;|&nbsp;#2&nbsp;|&nbsp;#3
+I18N_LANG_THEME_TREE_ROOT = Raíz
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/LangManager.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/LangManager.pm
new file mode 100644
index 0000000000..03b67db383
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/LangManager.pm
@@ -0,0 +1,382 @@
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+=pod
+
+=head1 NAME
+
+Bib2HTML::Generator::LangManager - A Language support for the generators
+
+=head1 SYNOPSYS
+
+use Bib2HTML::Generator::LangManager ;
+
+my $gen = Bib2HTML::Generator::LangManager->new( names ) ;
+
+=head1 DESCRIPTION
+
+Bib2HTML::Generator::LangManager is a Perl module, which proposes
+a generic language support for all the generators.
+
+=head1 GETTING STARTED
+
+=head2 Initialization
+
+To start a generator script, say something like this:
+
+ use Bib2HTML::Generator::LangManager;
+
+ my $gen = Bib2HTML::Generator::LangManager->new( [ 'English_HTMLGen',
+ 'English' ] ) ;
+
+...or something similar. Acceptable parameters to the constructor are:
+
+=over
+
+=item * names (array of strings)
+
+is the ordred list of the desired language files.
+
+=back
+
+=head1 METHOD DESCRIPTIONS
+
+This section contains only the methods in LangManager.pm itself.
+
+=over
+
+=cut
+
+package Bib2HTML::Generator::LangManager;
+
+@ISA = ('Exporter');
+@EXPORT = qw();
+@EXPORT_OK = qw();
+
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+use Exporter;
+
+use Carp ;
+use File::Basename ;
+use File::Spec ;
+
+use Bib2HTML::General::Misc ;
+use Bib2HTML::General::Verbose ;
+use Bib2HTML::Generator::Lang ;
+
+#------------------------------------------------------
+#
+# Global vars
+#
+#------------------------------------------------------
+
+# Version number of language support
+my $VERSION = "4.0" ;
+
+# Default language
+my $DEFAULT_LANGUAGE = "English";
+
+#------------------------------------------------------
+#
+# Static functions
+#
+#------------------------------------------------------
+
+=pod
+
+=item * set_default_language()
+
+Set the default language.
+Takes 1 arg:
+
+=over
+
+=item * default (string)
+
+is the name of the default language.
+
+=back
+
+=cut
+sub set_default_lang($) {
+ $DEFAULT_LANGUAGE = "$_[0]";
+}
+
+=pod
+
+=item * display_supported_languages()
+
+Display the list of supported languages.
+Takes 2 args:
+
+=over
+
+=item * perldir (string)
+
+is the path to the directory where the Perl packages
+are stored.
+
+=item * default (string)
+
+is the name of the default language
+
+=back
+
+=cut
+sub display_supported_languages($$) {
+ my $path = $_[0] || confess( 'you must specify the pm path' ) ;
+ my $default = $_[1] || '' ;
+ my @pack = split /\:\:/, __PACKAGE__ ;
+ pop @pack ;
+ push @pack, 'Lang' ;
+ @pack = ( File::Spec->splitdir($path), @pack ) ;
+ my $glob = File::Spec->catfile(@pack, '*');
+ $glob =~ s/ /\\ /g;
+ foreach my $file ( glob($glob) ) {
+ my $name = basename($file) ;
+ if ( ( $name !~ /[._-][a-zA-Z0-9]+Gen$/ ) &&
+ ( $name !~ /\.perl$/ ) && # For Perl scripts
+ ( $name !~ /\.pl$/ ) && # For Perl scripts
+ ( $name !~ /\.pm$/ ) && # For Perl modules
+ ( $name !~ /~$/ ) ) { # For backup files
+ print join( '',
+ "$name",
+ ( $default && ( $default eq $name ) ) ?
+ " (default)" : "",
+ "\n" ) ;
+ }
+ }
+}
+
+#------------------------------------------------------
+#
+# Constructor
+#
+#------------------------------------------------------
+
+sub new($) : method {
+ my $proto = shift;
+ my $class = ref($proto) || $proto;
+
+ # Compute the list of the desired languages
+ my @desired_langs;
+ if (isarray($_[0])) {
+ @desired_langs = @{$_[0]};
+ }
+ else {
+ @desired_langs = ( $_[0] );
+ }
+ push @desired_langs, "$DEFAULT_LANGUAGE";
+
+ # Build the directory filename where are located the
+ # language files
+ my @pack = split /\:\:/, __PACKAGE__ ;
+ pop @pack ;
+ push @pack, 'Lang' ;
+
+ # Get the language directory
+ my $directory_path = undef;
+ foreach my $path (@INC) {
+ my $fullpath = File::Spec->catfile($path,@pack);
+ if (-d "$fullpath") {
+ $directory_path = $path;
+ last;
+ }
+ }
+
+ @pack = ( File::Spec->splitdir($directory_path), @pack);
+
+ # Search for and load the desired languages
+ my @lang_objs = ();
+ my @real_desired_langs = ();
+ foreach my $desired_lang (@desired_langs) {
+ $desired_lang =~ s/[-_.=,:;!~\s]/./g;
+ my $filename = File::Spec->catfile(@pack,$desired_lang);
+ if (-r "$filename") {
+ my $obj = Bib2HTML::Generator::Lang->new($desired_lang,"$filename");
+ my $found = undef;
+ foreach my $ex_lang (@lang_objs) {
+ if ($ex_lang->getname() eq $desired_lang) {
+ $found = 1;
+ last;
+ }
+ }
+ if (!$found) {
+ push @lang_objs, $obj;
+ push @real_desired_langs,$desired_lang;
+ }
+ }
+ elsif (Bib2HTML::General::Verbose::currentlevel()>=2) {
+ Bib2HTML::General::Error::syswarm( "'$filename' language file was not found or can't be red\n" );
+ }
+ }
+
+ # Check for one language found
+ Bib2HTML::General::Error::syserr( "Unable to find the language class\n" ) unless (@lang_objs);
+
+ my $self = { 'langs' => (@lang_objs ? \@lang_objs : []),
+ 'desired_langs' => \@real_desired_langs,
+ 'lang_directory' => \@pack,
+ } ;
+
+ bless( $self, $class );
+ return $self;
+}
+
+=pod
+
+=item * registerLang($)
+
+Register a language file.
+The name of the new language files must respect the following pattern:
+<lang_dir>/<lang_name>.<extension>
+where <lang_dir> is the predefined directory where language files
+are stored, <lang_name> is the name of the language, and
+<extension> is a string specified to this function.
+Takes at least 1 arg:
+
+=over
+
+=item * extension (string)
+
+is the extension of the language file.
+
+=back
+
+=cut
+sub registerLang($) {
+ my $self = shift;
+ my $extension = shift;
+
+ foreach my $desired_lang (@{$self->{'desired_langs'}}) {
+ $desired_lang =~ s/[-_.=,:;!~\s]/./g;
+ my $realname = $desired_lang.".".$extension;
+ my $filename = File::Spec->catfile(@{$self->{'lang_directory'}},"$realname");
+ if (-r "$filename") {
+ my $obj = Bib2HTML::Generator::Lang->new("$realname","$filename");
+
+ my $found = 0;
+ foreach my $ex_lang (@{$self->{'langs'}}) {
+ if ($ex_lang->getname() eq $realname) {
+ $found = 1;
+ last;
+ }
+ }
+
+ if (!$found) {
+ unshift @{$self->{'langs'}}, $obj;
+ unshift @{$self->{'desired_langs'}}, $realname;
+ }
+ }
+ }
+}
+
+#------------------------------------------------------
+#
+# Getters
+#
+#------------------------------------------------------
+
+=pod
+
+=item * get()
+
+Replies the specified string according to the language.
+Takes at least 1 arg:
+
+=over
+
+=item * id (string)
+
+is the id of the string.
+
+=item * param1 (string)
+
+is a string which must replace the string "#1" in the language definition.
+
+=item * param2 (string)
+
+is a string which must replace the string "#2" in the language definition.
+
+=item ...
+
+=back
+
+=cut
+sub get($) : method {
+ my $self = shift ;
+ my $id = $_[0] || confess( 'you must supply the id' ) ;
+
+ my $lgs = '';
+
+ foreach my $l (@{$self->{'langs'}}) {
+ my $n = $l->_get_noerror(@_);
+ if ($n) {
+ return $n;
+ }
+ if ($lgs) {
+ $lgs .= ", ";
+ }
+ $lgs .= "'".$l->{'name'}."'";
+ }
+
+ Bib2HTML::General::Error::syserr( "the string id '$id' is not defined ".
+ "for all the current languages: $lgs" );
+ return undef;
+}
+
+=pod
+
+=item * getname()
+
+Replies the name of the current language.
+
+=cut
+sub getname() : method {
+ my $self = shift ;
+ foreach my $l (@{$self->{'langs'}}) {
+ my $n = $l->getname() ;
+ if ($n !~ /_[a-zA-Z0-9]+Gen$/) {
+ return $n;
+ }
+ }
+ return "unknow";
+}
+
+1;
+__END__
+
+=back
+
+=head1 COPYRIGHT
+
+(c) Copyright 1998-09 Stéphane Galland <galland@arakhne.org>, under GPL.
+
+=head1 AUTHORS
+
+=over
+
+=item *
+
+Conceived and initially developed by Stéphane Galland E<lt>galland@arakhne.orgE<gt>.
+
+=back
+
+=head1 SEE ALSO
+
+bib2html.pl
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/SQLGen.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/SQLGen.pm
new file mode 100644
index 0000000000..2a2e80f2cd
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/SQLGen.pm
@@ -0,0 +1,746 @@
+# Copyright (C) 2004-07 Stephane Galland <galland@arakhne.org>
+# Copyright (C) 2011 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+=pod
+
+=head1 NAME
+
+Bib2HTML::Generator::SQLGen - A basic SQL generator
+
+=head1 SYNOPSYS
+
+use Bib2HTML::Generator::SQLGen ;
+
+my $gen = Bib2HTML::Generator::SQLGen->new( content, output, info, titles,
+ lang, theme, params ) ;
+
+=head1 DESCRIPTION
+
+Bib2HTML::Generator::SQLGen is a Perl module, which permits to
+generate SQL scripts for the BibTeX database.
+
+=head1 GETTING STARTED
+
+=head2 Initialization
+
+To start a generator script, say something like this:
+
+ use Bib2HTML::Generator::SQLGen;
+
+ my $gen = Bib2HTML::Generator::SQLGen->new( { }, "./bib.sql",
+ { 'BIB2HTML_VERSION' => "0.1",
+ },
+ { 'SHORT' => "This is the title",
+ 'LONG' => "This is the title",
+ },
+ "English",
+ "Simple", ""
+ ) ;
+
+...or something similar. Acceptable parameters to the constructor are:
+
+=over
+
+=item * content (hash)
+
+see AbstractGenerator help.
+
+=item * output (string)
+
+see AbstractGenerator help.
+
+=item * bib2html_data (hash)
+
+see AbstractGenerator help.
+
+=item * titles (hash)
+
+see AbstractGenerator help.
+
+=item * lang (string)
+
+see AbstractGenerator help.
+
+=item * theme (string)
+
+is the name of the theme to use
+
+=item * show_bibtex (boolean)
+
+indicates if this parser must generate a verbatim of the BibTeX code
+
+=item * params (optional array)
+
+is the set of parameters passed to the generator.
+
+=back
+
+=head1 METHOD DESCRIPTIONS
+
+This section contains only the methods in SQLGen.pm itself.
+
+=over
+
+=cut
+
+package Bib2HTML::Generator::SQLGen;
+
+@ISA = ('Bib2HTML::Generator::AbstractGenerator');
+@EXPORT_OK = qw();
+
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+use constant TRUE => (1==1);
+use constant FALSE => (1==0);
+use Carp ;
+use File::Spec ;
+use File::Basename ;
+
+use Bib2HTML::Generator::AbstractGenerator;
+use Bib2HTML::General::Misc;
+use Bib2HTML::General::Error;
+use Bib2HTML::General::HTML;
+use Bib2HTML::General::Encode;
+use Bib2HTML::Translator::BibTeXName;
+
+use Bib2HTML::Generator::SqlEngine::MySql;
+use Bib2HTML::Generator::SqlEngine::PgSql;
+
+#------------------------------------------------------
+#
+# Global vars
+#
+#------------------------------------------------------
+
+# Version number of this generator
+my $VERSION = "3.0" ;
+
+#------------------------------------------------------
+#
+# Constructor
+#
+#------------------------------------------------------
+
+sub new($$$$$$$;$) : method {
+ my $proto = shift;
+ my $class = ref($proto) || $proto;
+
+ my @langs = ();
+ if (isarray($_[4])) {
+ foreach my $l (@{$_[4]}) {
+ if ($l !~ /_[a-zA-Z0-9]+Gen$/) {
+ push @langs, $l."_SQLGen";
+ }
+ push @langs, $l;
+ }
+ }
+ else {
+ @langs = ( $_[4] );
+ if ($_[4] !~ /_[a-zA-Z0-9]+Gen$/) {
+ unshift @langs, $_[4]."_SQLGen";
+ }
+ }
+
+ my $self = $class->SUPER::new($_[0], #content
+ $_[1], #output
+ $_[2], #bib2html info
+ $_[3], #titles
+ \@langs, #lang
+ $_[6], #show bibtex
+ $_[7], #params
+ ) ;
+
+ $self->{'sql_identifiers'}{'identity'} = 0;
+ $self->{'current_sql_engine_instance'} = undef;
+
+ bless( $self, $class );
+
+ return $self;
+}
+
+#------------------------------------------------------
+#
+# Generation parameters
+#
+#------------------------------------------------------
+
+=pod
+
+=item * save_generator_parameter()
+
+Replies if the specified generator parameter was supported.
+This function was called each time a generator parameter was
+given to this generator. By default, simply update the
+given parameter value (second parameter).
+You could do some stuff before
+saving (splitting...). Replies false is the parameter was
+not recognized. Don't forget to call inherited functions.
+Takes 2 args:
+
+=over
+
+=item * param_name (string)
+
+is the name of the parameter.
+
+=item * param_value (byref string)
+
+is the value of the parameter.
+
+=back
+
+=cut
+sub save_generator_parameter($$) {
+ my $self = shift ;
+ if ( ( $_[0] eq 'sql-encoding' ) ) {
+ # will be saved by PARENT::new
+ return 1 ;
+ }
+ elsif ( ( $_[0] eq 'sql-engine' ) ) {
+ # will be saved by PARENT::new
+ return 1 ;
+ }
+ else {
+ return $self->SUPER::save_generator_parameter($_[0],$_[1]) ;
+ }
+}
+
+=pod
+
+=item * display_supported_generator_params()
+
+Display the list of supported generator parameters.
+
+=cut
+sub display_supported_generator_params() {
+ my $self = shift ;
+ $self->SUPER::display_supported_generator_params() ;
+
+ $self->show_supported_param('sql-encoding',
+ 'String, the character encoding used in the SQL script '.
+ '("UTF8", "ISO-8859-1"...).' );
+ $self->show_supported_param('sql-engine',
+ 'String, the name of the SQL engine for which the '.
+ 'SQL script should be generated '.
+ '("mysql", "pgsql"...).' );
+}
+
+#------------------------------------------------------
+#
+# Generation API
+#
+#------------------------------------------------------
+
+=pod
+
+=item * pre_processing()
+
+Pre_processing.
+
+=cut
+sub pre_processing() : method {
+ my $self = shift ;
+
+ # Set the HTML encoding
+ if (!$self->{'GENERATOR_PARAMS'}{'sql-encoding'}) {
+ $self->{'GENERATOR_PARAMS'}{'sql-encoding'} = get_default_encoding();
+ }
+ set_default_encoding($self->{'GENERATOR_PARAMS'}{'sql-encoding'});
+
+ # Set the default SQL engine
+ if (!$self->{'GENERATOR_PARAMS'}{'sql-engine'}) {
+ $self->{'GENERATOR_PARAMS'}{'sql-engine'} = "mysql";
+ }
+ else {
+ $self->{'GENERATOR_PARAMS'}{'sql-engine'} = lc($self->{'GENERATOR_PARAMS'}{'sql-engine'});
+ }
+
+ if ($self->{'GENERATOR_PARAMS'}{'sql-engine'} eq 'mysql') {
+ $self->{'current_sql_engine_instance'} = new Bib2HTML::Generator::SqlEngine::MySql();
+ }
+ elsif ($self->{'GENERATOR_PARAMS'}{'sql-engine'} eq 'pgsql') {
+ $self->{'current_sql_engine_instance'} = new Bib2HTML::Generator::SqlEngine::PgSql();
+ }
+ else {
+ Bib2HTML::General::Error::syserr("unsupported SQL engine: ".$self->{'GENERATOR_PARAMS'}{'sql-engine'});
+ }
+
+ # Call inherited generation method
+ $self->SUPER::pre_processing() ;
+}
+
+=pod
+
+=item * do_processing()
+
+Main processing.
+
+=cut
+sub do_processing() : method {
+ my $self = shift ;
+
+ # Call inherited generation method
+ $self->SUPER::do_processing() ;
+
+ # Generates each part of the document
+ my $t = '' ;
+
+ # Generates the schema of the database
+ $self->create_SQLSCHEMA($t) ;
+
+ # Generates the content for each entries
+ $self->create_SQLENTRIES($t) ;
+
+ # Create file
+ $self->create_FILE($t) ;
+}
+
+
+sub quotesql($) {
+ my $self = shift;
+ my $v = shift;
+ my $sqlEngine = $self->{'current_sql_engine_instance'};
+ return $sqlEngine->quotesql($v);
+}
+
+
+=pod
+
+=item * create_SQLSCHEMA()
+
+Generates the SQL schema.
+Takes 1 arg:
+
+=over
+
+=item * content (string)
+
+is the content to fill
+
+=back
+
+=cut
+sub create_SQLSCHEMA($) : method {
+ my $self = shift ;
+ my $sqlEngine = $self->{'current_sql_engine_instance'};
+ $_[0] .= $sqlEngine->createSchema();
+}
+
+=pod
+
+=item * create_SQLENTRIES()
+
+Generates the SQL pages for each entry
+Takes 1 arg:
+
+=over
+
+=item * content (string)
+
+is the content to fill
+
+=back
+
+=cut
+sub create_SQLENTRIES($) : method {
+ my $self = shift ;
+ my @entries = $self->get_all_entries_ayt() ;
+ my $i = $#entries ;
+ my $sqlEngine = $self->{'current_sql_engine_instance'};
+
+ while ( $i >= 0 ) {
+ # Compute entry constants
+ my $type = $self->{'CONTENT'}{'entries'}{$entries[$i]}{'type'} ;
+ my $fields = $self->{'CONTENT'}{'entries'}{$entries[$i]}{'fields'};
+ my $entry = '';
+
+ # Insert the entry's type
+ if ((!$self->{'GENERATION'}{'types'})||
+ (!strinarray($type,$self->{'GENERATION'}{'types'}))) {
+ $entry .= $sqlEngine->insertInto(
+ 'bibtex_entrytype',
+ { 'type' => $type });
+ push @{$self->{'GENERATION'}{'types'}}, "$type";
+ }
+
+ # Insert the entry
+ $entry .= $sqlEngine->insertInto(
+ 'bibtex_entry',
+ { 'entry_key' => $entries[$i],
+ 'year' => $fields->{'year'}||0,
+ 'title' => $fields->{'title'}||'',
+ 'type' => $type});
+ delete $fields->{'year'};
+ delete $fields->{'title'};
+
+ if (exists $fields->{'author'}) {
+ $self->create_SQLAUTHORS($entries[$i],$fields->{'author'},$entry);
+ delete $fields->{'author'};
+ }
+
+ if (exists $fields->{'editor'}) {
+ $self->create_SQLEDITORS($entries[$i],$fields->{'editor'},$entry);
+ delete $fields->{'editor'};
+ }
+
+ if ((exists $fields->{'domain'})||
+ (exists $fields->{'nddomain'})||
+ (exists $fields->{'rddomain'})||
+ (exists $fields->{'domains'})) {
+ $self->create_SQLDOMAINS($entries[$i],
+ join(':',
+ ($fields->{'domain'}||''),
+ ($fields->{'nddomain'}||''),
+ ($fields->{'rddomain'}||''),
+ ($fields->{'domains'}||'')),
+ $entry);
+ delete $fields->{'domain'};
+ delete $fields->{'nddomain'};
+ delete $fields->{'rddomain'};
+ delete $fields->{'domains'};
+ }
+
+ # Fields
+ foreach my $field (keys %{$fields}) {
+ $self->create_SQLFIELD($entries[$i],
+ "$field", $fields->{"$field"},
+ $entry);
+ }
+
+ $_[0] .= $entry ;
+ $i -- ;
+ }
+}
+
+=pod
+
+=item * create_SQLAUTHORS()
+
+Generates the SQL pages for the authors
+Takes 3 args:
+
+=over
+
+=item * entry_key (string)
+
+is the BibTeX key of the entry.
+
+=item * authors (string)
+
+is the list of authors.
+
+=item * content (string)
+
+is the content to fill.
+
+=back
+
+=cut
+sub create_SQLAUTHORS($$$) : method {
+ my $self = shift;
+ my $entry_key = shift;
+ my $sauthors = shift;
+
+ my $sqlEngine = $self->{'current_sql_engine_instance'};
+ my $translator = Bib2HTML::Translator::BibTeXName->new();
+ my @names = $translator->splitnames($sauthors);
+ my $idxauthor = 0;
+
+ my %insertedAuthors = ();
+
+ for(my $idxname=0; $idxname<@names; $idxname++) {
+ my $name = $names[$idxname];
+ if (!$name->{'et al'}) {
+ my $author_key = html_lc($translator->formatname($name,'l,i.'));
+
+ my $id;
+ if ((!$self->{'GENERATION'}{'authors'})||
+ (!$self->{'GENERATION'}{'authors'}{"sqlid_$author_key"})) {
+ $self->{'sql_identifiers'}{'identity'}++;
+ $_[0] .= $sqlEngine->insertInto(
+ 'bibtex_identity',
+ { 'identifier' => $self->{'sql_identifiers'}{'identity'},
+ 'name' => translate_html_entities($name->{'last'}),
+ 'firstname' => translate_html_entities($name->{'first'}),
+ 'von' => translate_html_entities($name->{'von'}),
+ 'junior' => translate_html_entities($name->{'jr'})});
+ $self->{'GENERATION'}{'authors'}{"sqlid_$author_key"} = $self->{'sql_identifiers'}{'identity'};
+ $id = $self->{'sql_identifiers'}{'identity'};
+ }
+ else {
+ $id = $self->{'GENERATION'}{'authors'}{"sqlid_$author_key"};
+ }
+
+ my $etal = ((($idxname+1)<@names)&&($names[$idxname+1]->{'et al'}));
+
+ if ($insertedAuthors{"||$entry_key||$id||"}) {
+ Bib2HTML::General::Error::syswarm("Duplicate author '$id' for entry '$entry_key'");
+ }
+ else {
+ $_[0] .= $sqlEngine->insertInto(
+ 'bibtex_authors',
+ { 'entry_key' => $entry_key,
+ 'author_id' => $id,
+ 'order_id' => $idxauthor,
+ 'etal' => ($etal ? "true" : "false")});
+ $insertedAuthors{"||$entry_key||$id||"} = TRUE;
+ $idxauthor++;
+ }
+ }
+ }
+}
+
+=pod
+
+=item * create_SQLEDITORS()
+
+Generates the SQL pages for the editors
+Takes 3 args:
+
+=over
+
+=item * entry_key (string)
+
+is the BibTeX key of the entry.
+
+=item * editors (string)
+
+is the list of editors.
+
+=item * content (string)
+
+is the content to fill.
+
+=back
+
+=cut
+sub create_SQLEDITORS($$$) : method {
+ my $self = shift;
+ my $entry_key = shift;
+ my $seditors = shift;
+
+ my $sqlEngine = $self->{'current_sql_engine_instance'};
+ my $translator = Bib2HTML::Translator::BibTeXName->new();
+ my @names = $translator->splitnames($seditors);
+ my $idxeditor = 0;
+
+ for(my $idxname=0; $idxname<@names; $idxname++) {
+ my $name = $names[$idxname];
+ if (!$name->{'et al'}) {
+ my $editor_key = html_lc($translator->formatname($name,'l,i.'));
+
+ my $id;
+ if ((!$self->{'GENERATION'}{'authors'})||
+ (!$self->{'GENERATION'}{'authors'}{"sqlid_$editor_key"})) {
+ $self->{'sql_identifiers'}{'identity'}++;
+ $_[0] .= $sqlEngine->insertInto(
+ 'bibtex_identity',
+ { 'identifier' => $self->{'sql_identifiers'}{'identity'},
+ 'name' => translate_html_entities($name->{'last'}),
+ 'firstname' => translate_html_entities($name->{'first'}),
+ 'von' => translate_html_entities($name->{'von'}),
+ 'junior' => translate_html_entities($name->{'jr'})});
+ $self->{'GENERATION'}{'authors'}{"sqlid_$editor_key"} = $self->{'sql_identifiers'}{'identity'};
+ $id = $self->{'sql_identifiers'}{'identity'};
+ }
+ else {
+ $id = $self->{'GENERATION'}{'authors'}{"sqlid_$editor_key"};
+ }
+
+ my $etal = ((($idxname+1)<@names)&&($names[$idxname+1]->{'et al'}));
+
+ $_[0] .= $sqlEngine->insertInto(
+ 'bibtex_editors',
+ { 'entry_key' => $entry_key,
+ 'editor_id' => $id,
+ 'order_id' => $idxeditor,
+ 'etal' => ($etal ? "true" : "false")});
+
+ $idxeditor++;
+ }
+ }
+}
+
+=pod
+
+=item * create_SQLDOMAINS()
+
+Generates the SQL pages for the entry's domains
+Takes 3 args:
+
+=over
+
+=item * entry_key (string)
+
+is the BibTeX key of the entry.
+
+=item * domains (string)
+
+is the list of domains separated by ':'.
+
+=item * content (string)
+
+is the content to fill.
+
+=back
+
+=cut
+sub create_SQLDOMAINS($$$) : method {
+ my $self = shift;
+ my $entry_key = shift;
+ my $sdomains = shift;
+
+ my $sqlEngine = $self->{'current_sql_engine_instance'};
+ my @domains = split(/\s*:\s*/,$sdomains);
+
+ foreach my $domain (@domains) {
+ $domain =~ s/^\s+//;
+ $domain =~ s/\s+$//;
+ if ($domain) {
+ my $domain_key = $domain;
+ $domain_key =~ s/\s//g;
+ $domain_key = html_lc($domain_key);
+
+ my $id;
+ if ((!$self->{'GENERATION'}{'domains'})||
+ (!$self->{'GENERATION'}{'domains'}{"$domain_key"})) {
+ if (!$self->{'GENERATION'}{'domains'}) {
+ $id = 1;
+ }
+ else {
+ $id = %{$self->{'GENERATION'}{'domains'}} + 1;
+ }
+ $_[0] .= $sqlEngine->insertInto(
+ 'bibtex_domain',
+ { 'identifier' => $id,
+ 'name' => translate_html_entities($domain)});
+ $self->{'GENERATION'}{'domains'}{"$domain_key"} = $id;
+ }
+ else {
+ $id = $self->{'GENERATION'}{'domains'}{"$domain_key"};
+ }
+
+ $_[0] .= $sqlEngine->insertInto(
+ 'bibtex_entrydomain',
+ { 'entry_key' => $entry_key,
+ 'domain_id' => $id});
+ }
+ }
+}
+
+=pod
+
+=item * create_SQLFIELD()
+
+Generates the SQL pages for the entry's field
+Takes 4 args:
+
+=over
+
+=item * entry_key (string)
+
+is the BibTeX key of the entry.
+
+=item * field_name (string)
+
+is the name of the field to add.
+
+=item * field_value (string)
+
+is the value of the field to add.
+
+=item * content (string)
+
+is the content to fill.
+
+=back
+
+=cut
+sub create_SQLFIELD($$$$) : method {
+ my $self = shift;
+ my $entry_key = shift;
+ my $field_name = shift;
+ my $field_value = shift;
+
+ my $sqlEngine = $self->{'current_sql_engine_instance'};
+
+ if ($self->{'GENERATION'}{'field_id'}) {
+ $self->{'GENERATION'}{'field_id'}++;
+ }
+ else {
+ $self->{'GENERATION'}{'field_id'} = 1;
+ }
+
+ $_[0] .= $sqlEngine->insertInto(
+ 'bibtex_field',
+ { 'identifier' => $self->{'GENERATION'}{'field_id'},
+ 'entry_key' => $entry_key,
+ 'name' => translate_html_entities("$field_name"),
+ 'value' => translate_html_entities("$field_value")});
+}
+
+=pod
+
+=item * create_FILE
+
+Creates the SQL file.
+Takes 1 arg:
+
+=over
+
+=item * content (string)
+
+is the content of the SQL file.
+
+=back
+
+=cut
+sub create_FILE($) : method {
+ my $self = shift ;
+ Bib2HTML::General::Verbose::two( "Writing ".$self->{'TARGET'}."..." ) ;
+
+ my $writer = $self->get_stream_writer();
+
+ $writer->openstream($self->{'TARGET'});
+ $writer->out($_[0]||'') ;
+ $writer->closestream() ;
+}
+
+1;
+__END__
+
+=back
+
+=head1 COPYRIGHT
+
+(c) Copyright 2004-07 Stéphane Galland E<lt>galland@arakhne.orgE<gt>, under GPL.
+(c) Copyright 2011 Stéphane Galland E<lt>galland@arakhne.orgE<gt>, under GPL.
+
+=head1 AUTHORS
+
+=over
+
+=item *
+
+Conceived and initially developed by Stéphane Galland E<lt>galland@arakhne.orgE<gt>.
+
+=back
+
+=head1 SEE ALSO
+
+bib2html.pl
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/SqlEngine/MySql.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/SqlEngine/MySql.pm
new file mode 100644
index 0000000000..d899321740
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/SqlEngine/MySql.pm
@@ -0,0 +1,214 @@
+# Copyright (C) 2011 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+=pod
+
+=head1 NAME
+
+Bib2HTML::Generator::SqlEngine::MySql - SQL Generator utilities for MySQL
+
+=over
+
+=cut
+
+package Bib2HTML::Generator::SqlEngine::MySql;
+
+@ISA = ('');
+@EXPORT_OK = qw();
+
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+use Carp ;
+
+use Bib2HTML::General::Error;
+
+#------------------------------------------------------
+#
+# Global vars
+#
+#------------------------------------------------------
+
+# Version number of this file
+my $VERSION = "1.0" ;
+
+#------------------------------------------------------
+#
+# Constructor
+#
+#------------------------------------------------------
+
+sub new() : method {
+ my $proto = shift;
+ my $class = ref($proto) || $proto;
+ my $self = {};
+ bless( $self, $class );
+ return $self;
+}
+
+sub quotesql($) : method {
+ my $self = shift;
+ my $s = $_[0];
+ $s =~ s/\'/\\\'/g;
+ return $s;
+}
+
+
+sub createSchema() : method {
+ my $self = shift;
+ my $schema = '';
+ $schema .= join("\n",
+ "DROP TABLE IF EXISTS bibtex_entrytype;",
+ "CREATE TABLE bibtex_entrytype (",
+ " type varchar(50) NOT NULL,",
+ " PRIMARY KEY(type)",
+ ");\n");
+
+ $schema .= join("\n",
+ "DROP TABLE IF EXISTS bibtex_domain;",
+ "CREATE TABLE bibtex_domain (",
+ " identifier int(10) NOT NULL,",
+ " name varchar(100) NOT NULL,",
+ " PRIMARY KEY(identifier)",
+ ");\n");
+
+ $schema .= join("\n",
+ "DROP TABLE IF EXISTS bibtex_entry;",
+ "CREATE TABLE bibtex_entry (",
+ " entry_key varchar(50) NOT NULL,",
+ " year int(5) NOT NULL default 1900,",
+ " title text NOT NULL,",
+ " type varchar(50) NOT NULL,",
+ " crossref varchar(50),",
+ " PRIMARY KEY(entry_key),",
+ " FOREIGN KEY(type) REFERENCES bibtex_entrytype(type) ON DELETE CASCADE,",
+ " FOREIGN KEY(crossref) REFERENCES bibtex_entry(entry_key) ON DELETE SET NULL",
+ ");\n");
+
+ $schema .= join("\n",
+ "DROP TABLE IF EXISTS bibtex_field;",
+ "CREATE TABLE bibtex_field (",
+ " identifier int(10) NOT NULL,",
+ " name varchar(100) NOT NULL,",
+ " value text,",
+ " entry_key varchar(50) NOT NULL,",
+ " PRIMARY KEY(identifier),",
+ " FOREIGN KEY(entry_key) REFERENCES bibtex_entry(entry_key) ON DELETE CASCADE",
+ ");\n");
+
+ $schema .= join("\n",
+ "DROP TABLE IF EXISTS bibtex_identity;",
+ "CREATE TABLE bibtex_identity (",
+ " identifier int(10) NOT NULL,",
+ " name varchar(100) NOT NULL,",
+ " firstname varchar(100) NOT NULL,",
+ " von varchar(20),",
+ " junior varchar(20),",
+ " PRIMARY KEY(identifier)",
+ ");\n");
+
+ $schema .= join("\n",
+ "DROP TABLE IF EXISTS bibtex_authors;",
+ "CREATE TABLE bibtex_authors (",
+ " entry_key varchar(50) NOT NULL,",
+ " author_id int(10) NOT NULL,",
+ " order_id int(5) NOT NULL DEFAULT 1,",
+ " etal boolean NOT NULL DEFAULT false,",
+ " PRIMARY KEY(entry_key,author_id),",
+ " FOREIGN KEY(entry_key) REFERENCES bibtex_entry(entry_key) ON DELETE CASCADE,",
+ " FOREIGN KEY(author_id) REFERENCES bibtex_identity(identifier) ON DELETE CASCADE",
+ ");\n");
+
+ $schema .= join("\n",
+ "DROP TABLE IF EXISTS bibtex_editors;",
+ "CREATE TABLE bibtex_editors (",
+ " entry_key varchar(50) NOT NULL,",
+ " editor_id int(10) NOT NULL,",
+ " order_id int(5) NOT NULL DEFAULT 1,",
+ " etal boolean NOT NULL DEFAULT false,",
+ " PRIMARY KEY(entry_key,editor_id),",
+ " FOREIGN KEY(entry_key) REFERENCES bibtex_entry(entry_key) ON DELETE CASCADE,",
+ " FOREIGN KEY(editor_id) REFERENCES bibtex_identity(identifier) ON DELETE CASCADE",
+ ");\n");
+
+ $schema .= join("\n",
+ "DROP TABLE IF EXISTS bibtex_entrydomain;",
+ "CREATE TABLE bibtex_entrydomain (",
+ " entry_key varchar(50) NOT NULL,",
+ " domain_id int(10) NOT NULL,",
+ " PRIMARY KEY(entry_key,domain_id),",
+ " FOREIGN KEY(entry_key) REFERENCES bibtex_entry(entry_key) ON DELETE CASCADE,",
+ " FOREIGN KEY(domain_id) REFERENCES bibtex_domain(identifier) ON DELETE CASCADE",
+ ");\n");
+
+ return $schema;
+}
+
+sub insertInto($) : method {
+ my $self = shift;
+ my $table = shift || Bib2HTML::General::Error::syserr('table name parameter is mandatory');
+ my $values = shift;
+ my $query = '';
+
+ my $sqlFields = '';
+ my $sqlValues = '';
+ foreach my $field (keys %{$values}) {
+ if ($sqlFields) {
+ $sqlFields .= ',';
+ }
+ $sqlFields .= $field;
+ if ($sqlValues) {
+ $sqlValues .= ',';
+ }
+ $sqlValues .= "'";
+ $sqlValues .= $self->quotesql($values->{$field});
+ $sqlValues .= "'";
+ }
+
+ $query .= "INSERT INTO ";
+ $query .= $table;
+ $query .= ' (';
+ $query .= $sqlFields;
+ $query .= ') VALUES (';
+ $query .= $sqlValues;
+ $query .= ");\n";
+
+ return $query;
+}
+
+1;
+__END__
+
+=back
+
+=head1 COPYRIGHT
+
+(c) Copyright 2004-07 Stéphane Galland E<lt>galland@arakhne.orgE<gt>, under GPL.
+(c) Copyright 2011 Stéphane Galland E<lt>galland@arakhne.orgE<gt>, under GPL.
+
+=head1 AUTHORS
+
+=over
+
+=item *
+
+Conceived and initially developed by Stéphane Galland E<lt>galland@arakhne.orgE<gt>.
+
+=back
+
+=head1 SEE ALSO
+
+bib2html.pl
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/SqlEngine/PgSql.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/SqlEngine/PgSql.pm
new file mode 100644
index 0000000000..5560a10067
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/SqlEngine/PgSql.pm
@@ -0,0 +1,214 @@
+# Copyright (C) 2011 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+=pod
+
+=head1 NAME
+
+Bib2HTML::Generator::SqlEngine::PgSql - SQL Generator utilities for PostgreSQL
+
+=over
+
+=cut
+
+package Bib2HTML::Generator::SqlEngine::PgSql;
+
+@ISA = ('');
+@EXPORT_OK = qw();
+
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+use Carp ;
+
+use Bib2HTML::General::Error;
+
+#------------------------------------------------------
+#
+# Global vars
+#
+#------------------------------------------------------
+
+# Version number of this file
+my $VERSION = "1.0" ;
+
+#------------------------------------------------------
+#
+# Constructor
+#
+#------------------------------------------------------
+
+sub new() : method {
+ my $proto = shift;
+ my $class = ref($proto) || $proto;
+ my $self = {};
+ bless( $self, $class );
+ return $self;
+}
+
+sub quotesql($) : method {
+ my $self = shift;
+ my $s = $_[0];
+ $s =~ s/\'/\\\'/g;
+ return $s;
+}
+
+
+sub createSchema() : method {
+ my $self = shift;
+ my $schema = '';
+ $schema .= join("\n",
+ "DROP TABLE IF EXISTS bibtex_entrytype;",
+ "CREATE TABLE bibtex_entrytype (",
+ " type varchar(50) NOT NULL,",
+ " PRIMARY KEY(type)",
+ ");\n");
+
+ $schema .= join("\n",
+ "DROP TABLE IF EXISTS bibtex_domain;",
+ "CREATE TABLE bibtex_domain (",
+ " identifier integer NOT NULL,",
+ " name varchar(100) NOT NULL,",
+ " PRIMARY KEY(identifier)",
+ ");\n");
+
+ $schema .= join("\n",
+ "DROP TABLE IF EXISTS bibtex_entry;",
+ "CREATE TABLE bibtex_entry (",
+ " entry_key varchar(50) NOT NULL,",
+ " year integer NOT NULL default 1900,",
+ " title text NOT NULL,",
+ " type varchar(50) NOT NULL,",
+ " crossref varchar(50),",
+ " PRIMARY KEY(entry_key),",
+ " FOREIGN KEY(type) REFERENCES bibtex_entrytype(type) ON DELETE CASCADE,",
+ " FOREIGN KEY(crossref) REFERENCES bibtex_entry(entry_key) ON DELETE SET NULL",
+ ");\n");
+
+ $schema .= join("\n",
+ "DROP TABLE IF EXISTS bibtex_field;",
+ "CREATE TABLE bibtex_field (",
+ " identifier integer NOT NULL,",
+ " name varchar(100) NOT NULL,",
+ " value text,",
+ " entry_key varchar(50) NOT NULL,",
+ " PRIMARY KEY(identifier),",
+ " FOREIGN KEY(entry_key) REFERENCES bibtex_entry(entry_key) ON DELETE CASCADE",
+ ");\n");
+
+ $schema .= join("\n",
+ "DROP TABLE IF EXISTS bibtex_identity;",
+ "CREATE TABLE bibtex_identity (",
+ " identifier integer NOT NULL,",
+ " name varchar(100) NOT NULL,",
+ " firstname varchar(100) NOT NULL,",
+ " von varchar(20),",
+ " junior varchar(20),",
+ " PRIMARY KEY(identifier)",
+ ");\n");
+
+ $schema .= join("\n",
+ "DROP TABLE IF EXISTS bibtex_authors;",
+ "CREATE TABLE bibtex_authors (",
+ " entry_key varchar(50) NOT NULL,",
+ " author_id integer NOT NULL,",
+ " order_id integer NOT NULL DEFAULT 1,",
+ " etal boolean NOT NULL DEFAULT false,",
+ " PRIMARY KEY(entry_key,author_id),",
+ " FOREIGN KEY(entry_key) REFERENCES bibtex_entry(entry_key) ON DELETE CASCADE,",
+ " FOREIGN KEY(author_id) REFERENCES bibtex_identity(identifier) ON DELETE CASCADE",
+ ");\n");
+
+ $schema .= join("\n",
+ "DROP TABLE IF EXISTS bibtex_editors;",
+ "CREATE TABLE bibtex_editors (",
+ " entry_key varchar(50) NOT NULL,",
+ " editor_id integer NOT NULL,",
+ " order_id integer NOT NULL DEFAULT 1,",
+ " etal boolean NOT NULL DEFAULT false,",
+ " PRIMARY KEY(entry_key,editor_id),",
+ " FOREIGN KEY(entry_key) REFERENCES bibtex_entry(entry_key) ON DELETE CASCADE,",
+ " FOREIGN KEY(editor_id) REFERENCES bibtex_identity(identifier) ON DELETE CASCADE",
+ ");\n");
+
+ $schema .= join("\n",
+ "DROP TABLE IF EXISTS bibtex_entrydomain;",
+ "CREATE TABLE bibtex_entrydomain (",
+ " entry_key varchar(50) NOT NULL,",
+ " domain_id integer NOT NULL,",
+ " PRIMARY KEY(entry_key,domain_id),",
+ " FOREIGN KEY(entry_key) REFERENCES bibtex_entry(entry_key) ON DELETE CASCADE,",
+ " FOREIGN KEY(domain_id) REFERENCES bibtex_domain(identifier) ON DELETE CASCADE",
+ ");\n");
+
+ return $schema;
+}
+
+sub insertInto($) : method {
+ my $self = shift;
+ my $table = shift || Bib2HTML::General::Error::syserr('table name parameter is mandatory');
+ my $values = shift;
+ my $query = '';
+
+ my $sqlFields = '';
+ my $sqlValues = '';
+ foreach my $field (keys %{$values}) {
+ if ($sqlFields) {
+ $sqlFields .= ',';
+ }
+ $sqlFields .= $field;
+ if ($sqlValues) {
+ $sqlValues .= ',';
+ }
+ $sqlValues .= "'";
+ $sqlValues .= $self->quotesql($values->{$field});
+ $sqlValues .= "'";
+ }
+
+ $query .= "INSERT INTO ";
+ $query .= $table;
+ $query .= ' (';
+ $query .= $sqlFields;
+ $query .= ') VALUES (';
+ $query .= $sqlValues;
+ $query .= ");\n";
+
+ return $query;
+}
+
+1;
+__END__
+
+=back
+
+=head1 COPYRIGHT
+
+(c) Copyright 2004-07 Stéphane Galland E<lt>galland@arakhne.orgE<gt>, under GPL.
+(c) Copyright 2011 Stéphane Galland E<lt>galland@arakhne.orgE<gt>, under GPL.
+
+=head1 AUTHORS
+
+=over
+
+=item *
+
+Conceived and initially developed by Stéphane Galland E<lt>galland@arakhne.orgE<gt>.
+
+=back
+
+=head1 SEE ALSO
+
+bib2html.pl
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/StdOutWriter.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/StdOutWriter.pm
new file mode 100644
index 0000000000..fa814fb96e
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/StdOutWriter.pm
@@ -0,0 +1,163 @@
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+=pod
+
+=head1 NAME
+
+Bib2HTML::Generator::StdOutWriter - An output stream writer
+
+=head1 DESCRIPTION
+
+Bib2HTML::Generator::StdOutWriter is a Perl module, which permits to
+output streams into the standard output.
+
+=head1 SYNOPSYS
+
+Bib2HTML::Generator::StdOutWriter->new( ) ;
+
+=head1 DESCRIPTION
+
+Bib2HTML::Generator::SydOutWriter is a Perl module, which permits to
+output streams into the standard output.
+
+
+=head1 METHOD DESCRIPTIONS
+
+This section contains only the methods in StdOutWriter.pm itself.
+
+=over
+
+=cut
+
+package Bib2HTML::Generator::StdOutWriter;
+
+@ISA = ('Bib2HTML::Generator::Writer');
+@EXPORT = qw();
+@EXPORT_OK = qw();
+
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+use Exporter;
+use Carp ;
+
+use Bib2HTML::Generator::Writer;
+
+#------------------------------------------------------
+#
+# Global vars
+#
+#------------------------------------------------------
+
+# Version number of abstract generator
+my $VERSION = "1.0" ;
+
+#------------------------------------------------------
+#
+# Constructor
+#
+#------------------------------------------------------
+
+sub new() : method {
+ my $proto = shift;
+ my $class = ref($proto) || $proto;
+ my $self = $class->SUPER::new() ;
+ bless( $self, $class );
+ return $self;
+}
+
+=pod
+
+=item * openstream($)
+
+Open the output stream.
+Takes 1 param:
+
+=over
+
+=item * filename (string)
+
+is the name of the output file.
+
+=back
+
+=cut
+sub openstream($) {
+ my $self = shift;
+ my $filename = shift || confess( 'you must supply the root directory' ) ;
+ confess('output stream already opened') if ($self->{'opened'});
+ $self->{'opened'} = $filename;
+}
+
+=pod
+
+=item * out($)
+
+Put a string into the output stream.
+Takes 1 param:
+
+=over
+
+=item * str (string)
+
+is the string to output.
+
+=back
+
+=cut
+sub out($) {
+ my $self = shift;
+ my $str = shift || '';
+ print STDOUT ("$str");
+ return 1;
+}
+
+=pod
+
+=item * closestream()
+
+Close the currently opened stream.
+
+=cut
+sub closestream() {
+ my $self = shift;
+ delete $self->{'opened'};
+ return 1;
+}
+
+1;
+__END__
+
+=back
+
+=head1 COPYRIGHT
+
+(c) Copyright 1998-09 Stéphane Galland E<lt>galland@arakhne.orgE<gt>, under GPL.
+
+=head1 AUTHORS
+
+=over
+
+=item *
+
+Conceived and initially developed by Stéphane Galland E<lt>galland@arakhne.orgE<gt>.
+
+=back
+
+=head1 SEE ALSO
+
+bib2html.pl
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme.pm
new file mode 100644
index 0000000000..8513ec79da
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme.pm
@@ -0,0 +1,1418 @@
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+=pod
+
+=head1 NAME
+
+Bib2HTML::Generator::Theme - A theme for the HTML generator
+
+=head1 SYNOPSYS
+
+use Bib2HTML::Generator::Theme ;
+
+my $gen = Bib2HTML::Generator::Theme->new( generator,
+ bib2html,
+ target,
+ title,
+ lang ) ;
+
+=head1 DESCRIPTION
+
+Bib2HTML::Generator::Theme is a Perl module, which proposes
+a documentation theme for the HTML generator of bib2html.
+
+=head1 GETTING STARTED
+
+=head2 Initialization
+
+To start a generator script, say something like this:
+
+ use Bib2HTML::Generator::Theme;
+
+ my $gen = Bib2HTML::Generator::Theme->new( $generator,
+ { 'VERSION' => '0.11' },
+ './bib_output',
+ 'Title',
+ $lang ) ;
+
+...or something similar. Acceptable parameters to the constructor are:
+
+=over
+
+=item * parent (object ref)
+
+is a reference to the current HTML generator.
+
+=item * bib2html (hash)
+
+contains some data about bib2html.
+
+=item * target (string)
+
+The directory in which the documentation must be put.
+
+=item * title (string)
+
+is the title of the documentation.
+
+=item * lang (object ref)
+
+is a reference to the language object.
+
+=back
+
+=head1 METHOD DESCRIPTIONS
+
+This section contains only the methods in Theme.pm itself.
+
+=over
+
+=cut
+
+package Bib2HTML::Generator::Theme;
+
+@ISA = ('Exporter');
+@EXPORT = qw();
+@EXPORT_OK = qw();
+
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+use Exporter;
+
+use Carp ;
+use File::Spec ;
+
+use Bib2HTML::General::Verbose ;
+use Bib2HTML::General::Error ;
+use Bib2HTML::General::HTML ;
+use Bib2HTML::General::Misc ;
+use Bib2HTML::Generator::FileWriter ;
+use Bib2HTML::Generator::StdOutWriter ;
+
+#------------------------------------------------------
+#
+# Global vars
+#
+#------------------------------------------------------
+
+# Version number of theme
+my $VERSION = "2.0" ;
+
+#------------------------------------------------------
+#
+# Constructor
+#
+#------------------------------------------------------
+
+sub new($$$$$) : method {
+ my $proto = shift;
+ my $class = ref($proto) || $proto;
+ my $self = { 'PARENT' => $_[0] || confess( 'you must supply the parent object' ),
+ 'BIB2HTML' => $_[1] || '',
+ 'TARGET_DIR' => $_[2] || confess( 'you must supply the target directory' ),
+ 'TITLE' => $_[3] || '',
+ 'LANG' => $_[4] || confess( 'you must supply the language object' ),
+ } ;
+
+ my $simpleclass = $class;
+ if ($class =~ /^.*::(.+?)$/) {
+ $simpleclass = "$1";
+ }
+
+ # Register lang files
+ if ($self->{'LANG'}) {
+ $self->{'LANG'}->registerLang("Theme.$simpleclass");
+ }
+
+ bless( $self, $class );
+ return $self;
+}
+
+=pod
+
+=item * copy_files()
+
+Copies some files from the bib2html distribution directly inside the
+HTML documentation tree.
+
+=cut
+sub copy_files() : method {
+ my $self = shift ;
+}
+
+=pod
+
+=item * get_stream_writer()
+
+Replies the instance of the output stream writer.
+
+=cut
+sub get_stream_writer() : method {
+ my $self = shift ;
+ if (!$self->{'STREAM_WRITER'}) {
+ $self->{'STREAM_WRITER'} = new Bib2HTML::Generator::FileWriter->new();
+ }
+ return $self->{'STREAM_WRITER'};
+}
+
+=pod
+
+=item * set_stream_writer($)
+
+Set the instance of the output stream writer.
+Replies the old writer.
+Takes 1 arg:
+
+=over
+
+=item * writer (ref to Bib2HTML::Generator::Writer)
+
+is the instance of the writer.
+
+=back
+
+=cut
+sub set_stream_writer($) : method {
+ my $self = shift ;
+ my $writer = shift;
+ my $old_writer = $self->{'STREAM_WRITER'};
+ $self->{'STREAM_WRITER'} = $writer;
+ return $old_writer;
+}
+
+#------------------------------------------------------
+#
+# Filename API
+#
+#------------------------------------------------------
+
+=pod
+
+=item * ext_href()
+
+Replies a hyperlink according to the parameters
+Takes 3 args:
+
+=over
+
+=item * section (string)
+
+is the id of the section.
+
+=item * label (string)
+
+is the label of the hyperlink
+
+=item * rootdir (string)
+
+is the path to the root directory.
+
+=back
+
+=cut
+sub ext_href($$$) : method {
+ my $self = shift ;
+ my $section = shift || confess( 'you must supply the section id' ) ;
+ my $label = shift || '' ;
+ my $rootdir = shift || confess( 'you must supply the root directory' ) ;
+ return $self->href( htmlcatfile($rootdir,$self->filename($section,@_)),
+ $label,
+ $self->browserframe($section) ) ;
+}
+
+=pod
+
+=item * ext_wt_href()
+
+Replies a hyperlink according to the parameters (without target)
+Takes 3 args:
+
+=over
+
+=item * section (string)
+
+is the id of the section.
+
+=item * label (string)
+
+is the label of the hyperlink
+
+=item * rootdir (string)
+
+is the path to the root directory.
+
+=back
+
+=cut
+sub ext_wt_href($$$) : method {
+ my $self = shift ;
+ my $section = shift || confess( 'you must supply the section id' ) ;
+ my $label = shift || '' ;
+ my $rootdir = shift || confess( 'you must supply the root directory' ) ;
+ return $self->href( htmlcatfile($rootdir,$self->filename($section,@_)),
+ $label ) ;
+}
+
+=pod
+
+=item * filename()
+
+Replies the filename of the specified section.
+Takes 1 arg:
+
+=over
+
+=item * section (string)
+
+is the name of the section.
+
+=back
+
+=cut
+sub filename : method {
+ my $self = shift ;
+ return $self->{'PARENT'}->filename(@_) ;
+}
+
+=pod
+
+=item * browserframe()
+
+Replies the frame used for the specified section.
+Takes 1 arg:
+
+=over
+
+=item * section (string)
+
+is the name of the section.
+
+=back
+
+=cut
+sub browserframe : method {
+ my $self = shift ;
+ return $self->{'PARENT'}->browserframe(@_) ;
+}
+
+#------------------------------------------------------
+#
+# Page API
+#
+#------------------------------------------------------
+
+=pod
+
+=item * get_copyright()
+
+Replies a string that represents the copyright of this translator.
+
+=over
+
+=item * rootdir (string)
+
+is the path to the root directory
+
+=back
+
+=cut
+sub get_copyright($) : method {
+ my $self = shift ;
+ my $rootdir = $_[0] ;
+ return join( '',
+ $self->par( $self->small( $self->href( $self->{'BIB2HTML'}{'BUG_URL'},
+ $self->{'LANG'}->get( 'I18N_LANG_SUBMIT_BUG'), "_top" ) ) ),
+ $self->par( $self->small( $self->{'LANG'}->get( 'I18N_LANG_BIB2HTML_COPYRIGHT',
+ $self->href( $self->{'BIB2HTML'}{'URL'},
+ "bib2html ".$self->{'BIB2HTML'}{'VERSION'},
+ "_top" ),
+ $self->href( "mailto:".$self->{'BIB2HTML'}{'AUTHOR_EMAIL'},
+ $self->{'BIB2HTML'}{'AUTHOR'} ),
+ $self->href( "http://www.gnu.org/copyleft/gpl.html",
+ "GNU General Public License",
+ "_top" ) ) ) )
+ ) ;
+}
+
+=pod
+
+=item * get_html_index()
+
+Replies the content of the main index.html
+Takes 1 arg:
+
+=over
+
+=item * rootdir (string)
+
+is the path to the root directory.
+
+=back
+
+=cut
+sub get_html_index($) {
+ my $self = shift ;
+ my $rootdir = $_[0] || confess( 'you must supply the root directory' ) ;
+ return join( '',
+ "<FRAMESET cols=\"20%,80%\">\n",
+ "<FRAMESET rows=\"30%,70%\">\n",
+ "<FRAME src=\"",
+ htmlcatfile($rootdir,$self->filename('overview-frame')),
+ "\" name=\"",
+ $self->browserframe('overview-frame'),
+ "\">\n<FRAME src=\"",
+ htmlcatfile($rootdir,$self->filename('allelements')),
+ "\" name=\"",
+ $self->browserframe('allelements'),
+ "\">\n</FRAMESET>\n<FRAME src=\"",
+ htmlcatfile($rootdir,$self->filename('overview-summary')),
+ "\" name=\"",
+ $self->browserframe('overview-summary'),
+ "\">\n<NOFRAMES>\n",
+ $self->{'LANG'}->get('I18N_LANG_NO_FRAME_ALERT',
+ $self->filename('overview-summary'),
+ ''),
+ "</NOFRAMES>\n",
+ "</FRAMESET>\n" ) ;
+}
+
+=pod
+
+=item * create_html_page()
+
+Creates an HTML page without a <BODY>.
+Takes 3 args:
+
+=over
+
+=item * filename (string)
+
+is the name of the file in which the page
+must be created.
+
+=item * content (string)
+
+is the content of the page.
+
+=item * title (string)
+
+is the title of the page.
+
+=item * rootdir (string)
+
+is the path to the root directory.
+
+=item * frameset (boolean)
+
+must be true if the generated page must respect the w3c frameset definition,
+otherwhise it will respect the w3c transitional definition
+
+=back
+
+=cut
+sub create_html_page($$$$$) : method {
+ my $self = shift ;
+ my $rootdir = $_[3] || confess( 'you must supply the root directory' ) ;
+ confess( 'you must supply the filename' ) unless $_[0] ;
+ my $filename = File::Spec->catfile( $self->{'TARGET_DIR'}, htmlpath($_[0]) ) ;
+ Bib2HTML::General::Verbose::two( "Writing $filename..." ) ;
+
+ my $writer = $self->get_stream_writer();
+
+ $writer->openstream("$filename")
+ or Bib2HTML::General::Error::syserr( "$filename: $!\n" );
+
+ my $header ;
+ if ( $_[4] ) {
+ $header = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Frameset//EN\" \"http://www.w3.org/TR/REC-html40/frameset.dtd\">" ;
+ }
+ else {
+ $header = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/REC-html40/loose.dtd\">" ;
+ }
+
+ $writer->out(join( '',
+ $header,
+ "\n\n<!-- Generated by bib2html ".$self->{'BIB2HTML'}{'VERSION'},
+ " on ",
+ "".localtime(),
+ " -->\n\n",
+ "<HTML>\n<HEAD>\n<TITLE>",
+ $_[2] || '',
+ "</TITLE>\n",
+ "<META http-equiv=\"Content-Type\" ",
+ "content=\"text/html; charset=",
+ $self->get_html_encoding(),#ISO-8859-1
+ "\">\n",
+ $self->get_html_header($rootdir),
+ "</HEAD>\n",
+ $_[1] || '',
+ "</HTML>" ) ) ;
+
+ $writer->closestream() ;
+}
+
+=pod
+
+=item * get_html_encoding()
+
+Replies the HTML encoding of each page
+(by default ISO-8859-1).
+
+=cut
+sub get_html_encoding() : method {
+ my $self = shift ;
+ return $self->{'html_encoding'} || "ISO-8859-1" ;
+}
+
+=pod
+
+=item * set_html_encoding($)
+
+Set the HTML encoding of each page
+Takes 1 arg:
+
+=over
+
+=item * encoding (string)
+
+is the new encoding
+
+=back
+
+=cut
+sub set_html_encoding($) : method {
+ my $self = shift ;
+ my $encoding = shift;
+ $self->{'html_encoding'} = $encoding if ($encoding) ;
+}
+
+=pod
+
+=item * get_html_header()
+
+Replies the HTML header of each page.
+Takes 1 arg:
+
+=over
+
+=item * rootdir (string)
+
+is the path to the root directory
+
+=back
+
+=cut
+sub get_html_header($) : method {
+ my $self = shift ;
+ return '' ;
+}
+
+=pod
+
+=item * create_html_body_page()
+
+Creates an HTML page with a <BODY>.
+Takes 3 args:
+
+=over
+
+=item * filename (string)
+
+is the name of the file in which the page
+must be created.
+
+=item * content (string)
+
+is the content of the page.
+
+=item * title (string)
+
+is the title of the page.
+
+=item * rootdir (string)
+
+is the path to the root directory.
+
+=back
+
+=cut
+sub create_html_body_page($$$$@) : method {
+ my $self = shift ;
+ my $filename = shift ;
+ my $content = shift ;
+ my $title = shift ;
+ my $rootdir = shift || confess( "the rootdir must be supplied" ) ;
+ $content = join( '',
+ "<BODY",
+ ( $self->{'BACKGROUND_COLOR'} ?
+ " BGCOLOR=\"" .
+ $self->{'BACKGROUND_COLOR'} .
+ "\"" : '' ),
+ ">\n",
+ $content ) ;
+ my $small ;
+ if ((@_)&&("$_[0]" eq 'small')) {
+ shift @_ ;
+ $small = 1 ;
+ }
+ $self->mergeValidHTMLIcons($content,$rootdir,$small,@_) ;
+ $content .= "\n</BODY>\n",
+ $self->create_html_page( "$filename",
+ "$content",
+ "$title",
+ "$rootdir",
+ 0 ) ;
+}
+
+=pod
+
+=item * getMyValidHTML()
+
+Replies the list of W3C protocols for which this theme
+was validated. You must override this method.
+
+=cut
+sub getMyValidHTML() {
+ my $self = shift ;
+ return () ;
+}
+
+sub mergeValidHTMLIcons($$$@) {
+ my $self = shift ;
+ if (int(@_)>3) {
+
+ #
+ # A protocol is displayed as supported only if
+ # the generator AND the theme support it, or
+ # if the protocol was CSS and was supported
+ # by the theme only (We assume that the generators
+ # does not use any CSS syntax)
+ #
+ my @themevalid = $self->getMyValidHTML() ;
+ my @valid = () ;
+ for(my $i=3; $i<int(@_); $i++) {
+ if (strinarray("$_[$i]",\@themevalid)) {
+ push @valid, "$_[$i]" ;
+ }
+ }
+ if (strinarray('css',\@themevalid)) {
+ push @valid, 'css' ;
+ }
+
+ if ($_[2]) {
+ setAsValidHTML_small($_[0],$_[1],@valid) ;
+ }
+ else {
+ setAsValidHTML($_[0],$_[1],@valid) ;
+ }
+ }
+}
+
+#------------------------------------------------------
+#
+# Paragraph API
+#
+#------------------------------------------------------
+
+=pod
+
+=item * frame_subpart()
+
+Replies a subpart of a frame
+Takes 3 args:
+
+=over
+
+=item * title (string)
+
+is the title of the part.
+
+=item * text (array)
+
+is the content of the frame.
+
+=item * rootdir (string)
+
+is the path to the root directory.
+
+=back
+
+=cut
+sub frame_subpart($$$) : method {
+ my $self = shift ;
+ confess( 'you must overwrite this method' ) ;
+}
+
+=pod
+
+=item * frame_window()
+
+Replies a frame
+Takes 3 args:
+
+=over
+
+=item * title (string)
+
+is the title of the frame.
+
+=item * text (string)
+
+is the content of the frame.
+
+=item * prefix (optional string)
+
+is a string which is put before the title
+
+=back
+
+=cut
+sub frame_window($$) : method {
+ my $self = shift ;
+ confess( 'you must overwrite this method' ) ;
+}
+
+=pod
+
+=item * partseparator()
+
+Replies a part separator.
+
+=cut
+sub partseparator($) {
+ my $self = shift ;
+ return "<HR>\n" ;
+}
+
+=pod
+
+=item * title()
+
+Formats a page title
+Takes 2 args:
+
+=over
+
+=item * text (string)
+
+=item * text_before (optional boolean)
+
+indicates if some text are before this title
+
+=back
+
+=cut
+sub title($) {
+ my $self = shift ;
+ my $text = $_[0] || confess( 'you must specify the text' ) ;
+ return
+ ($_[1] ? $self->partseparator() : '') .
+ "<center><h2>$text</h2></center>\n\n" ;
+}
+
+=pod
+
+=item * subtitle()
+
+Formats a page subtitle
+Takes 1 arg:
+
+=over
+
+=item * text (string)
+
+=item * text_before (optional boolean)
+
+indicates if some text are before this title
+
+=back
+
+=cut
+sub subtitle($) {
+ my $self = shift ;
+ my $text = $_[0] || '' ;
+ if ( ! $text ) {
+ Bib2HTML::General::Error::syswarm( 'a title was expected' ) ;
+ }
+ return
+ ($_[1] ? "<hr>\n" : '').
+ "<h2>$text</h2>\n" ;
+}
+
+=pod
+
+=item * strong()
+
+Formats a keyword
+Takes 2 args:
+
+=over
+
+=item * text (string)
+
+=back
+
+=cut
+sub strong($) {
+ my $self = shift ;
+ my $text = $_[0] || confess( 'you must specify the text' ) ;
+ return "<b>$text</b>" ;
+}
+
+=pod
+
+=item * entry_title()
+
+Formats the title of an BibTeX entry.
+Takes 1 arg:
+
+=over
+
+=item * text (string)
+
+=back
+
+=cut
+sub entry_title($) {
+ my $self = shift ;
+ my $title = $_[0] || '' ;
+ if ( ! $title ) {
+ Bib2HTML::General::Error::syswarm( 'a title was expected' ) ;
+ }
+ return join( '',
+ "&quot;<i><b>",
+ $title,
+ "</b></i>&quot;" ) ;
+}
+
+=pod
+
+=item * format_date()
+
+Formats a date.
+Takes 2 args:
+
+=over
+
+=item * month (string)
+
+=item * year (string)
+
+=back
+
+=cut
+sub format_date($$) {
+ my $self = shift ;
+ my $month = $_[0] || '' ;
+ my $year = $_[1] || confess( 'you must supply the year' ) ;
+ return ($month?"$month&nbsp;":"")."$year" ;
+}
+
+=pod
+
+=item * href()
+
+Replies a hyperlink.
+Takes 3 args:
+
+=over
+
+=item * url (string)
+
+is the URL to link to
+
+=item * label (string)
+
+is the label of the hyperlink
+
+=item * target (optional string)
+
+is the frame target.
+
+=back
+
+=cut
+sub href($$) {
+ my $self = shift ;
+ my $url = $_[0] || confess( 'you must specify the URL' ) ;
+ my $label = $_[1] ;
+ return '' unless ($label) ;
+ return join( '',
+ "<A HREF=\"",
+ $url,
+ "\"",
+ ( $_[2] ? " target=\"$_[2]\"" : "" ),
+ ">",
+ $label,
+ "</A>" ) ;
+}
+
+=pod
+
+=item * small()
+
+Replies a text with a small size.
+Takes 1 arg:
+
+=over
+
+=item * text (string)
+
+=back
+
+=cut
+sub small($) {
+ my $self = shift ;
+ my $text = $_[0] || '' ;
+ return join( '',
+ "<FONT SIZE=\"-1\">",
+ $text,
+ "</FONT>\n" ) ;
+}
+
+=pod
+
+=item * tiny()
+
+Replies a text with a tiny size.
+Takes 1 arg:
+
+=over
+
+=item * text (string)
+
+=back
+
+=cut
+sub tiny($) {
+ my $self = shift ;
+ my $text = $_[0] || '' ;
+ return join( '',
+ "<FONT SIZE=\"-2\">",
+ $text,
+ "</FONT>\n" ) ;
+}
+
+=pod
+
+=item * par()
+
+Replies a paragraph.
+Takes 1 arg:
+
+=over
+
+=item * text (string)
+
+=back
+
+=cut
+sub par($) {
+ my $self = shift ;
+ my $text = $_[0] || '' ;
+ return join( '',
+ "<P>",
+ $text,
+ "</P>\n" ) ;
+}
+
+=pod
+
+=item * get_tree_node()
+
+Replues the HTML string for the specified tree.
+a list.
+Takes 2 args:
+
+=over
+
+=item * node (string)
+
+is the string that is the root of the tree.
+
+=item * subs (string)
+
+is an HTML string that describes the children.
+
+=item * rootdir (string)
+
+is the path to the root directory.
+
+=back
+
+=cut
+sub get_tree_node($$$) {
+ my $self = shift ;
+ my $text = $_[0] || '' ;
+ my $sub = $_[1] || '' ;
+ $sub = "<ul>$sub</ul>" ;
+ if ( $text ) {
+ return "<li type=\"circle\">".$text.$sub."</li>\n" ;
+ }
+ else {
+ return "$sub\n" ;
+ }
+}
+
+=pod
+
+=item * get_tree_leaf()
+
+Replies a line of a tree which will be displayed inside
+a list.
+Takes 1 args:
+
+=over
+
+=item * node (string)
+
+is the string that is the root of the tree.
+
+=item * rootdir (string)
+
+is the path to the root directory.
+
+=back
+
+=cut
+sub get_tree_leaf($$) {
+ my $self = shift ;
+ my $text = $_[0] || '' ;
+ return join( '',
+ "<li type=\"circle\">",
+ $text,
+ "</li>\n" ) ;
+}
+
+=pod
+
+=item * get_tree()
+
+Creates a tree.
+Takes 2 or 3 args:
+
+=over
+
+=item * tree (hash)
+
+is the tree
+
+=item * rootdir (string)
+
+is the path to the root directory
+
+=item * root label (optional string)
+
+is the label of the root node
+
+=back
+
+=cut
+sub get_tree($$;$) : method {
+ my $self = shift ;
+ my $tree = $_[0] || confess( "you must supply the tree" ) ;
+ my $rootdir = $_[1] || confess( 'you must supply the root directory' ) ;
+ my $content = $self->__get_default_tree__($tree,$rootdir) ;
+ if ( $content ) {
+ return "<ul>$content</ul>\n" ;
+ }
+ else {
+ return "$content" ;
+ }
+}
+
+sub __get_default_tree__($$) {
+ my $self = shift ;
+ my $tree = $_[0] || confess( "you must supply the tree" ) ;
+ my $rootdir = $_[1] || confess( 'you must supply the root directory' ) ;
+ my $content = '' ;
+
+ my @c = keys %{$tree};
+ @c = sortbyletters(@c);
+ foreach my $children (@c) {
+
+ if ( isemptyhash($tree->{"$children"}) ) {
+ # leaf
+ $content .= $self->get_tree_leaf("$children",$rootdir) ;
+ }
+ else {
+ # node
+ my $sub = $self->__get_default_tree__($tree->{"$children"},$rootdir) ;
+ $content .= $self->get_tree_node("$children",$sub,$rootdir) ;
+ }
+
+ }
+
+ return $content ;
+}
+
+=pod
+
+=item * get_navigation_bar()
+
+Replies the navigation bar.
+Takes 3 args:
+
+=over
+
+=item * url (string)
+
+is the url of the generated page.
+
+=item * params (hash ref)
+
+is a set of parameters used to generate the bar.
+
+=item * root (string)
+
+is the root directory for the generated documentation.
+
+=back
+
+=cut
+sub get_navigation_bar($$$) : method {
+ my $self = shift ;
+ confess( 'you must overwrite this method' ) ;
+}
+
+=pod
+
+=item * section()
+
+Replies a section
+Takes 3 args:
+
+=over
+
+=item * title (string)
+
+is the title of the new section.
+
+=item * content (string)
+
+is the content of the new section
+
+=item * root (string)
+
+is the root directory for the generated documentation.
+
+=back
+
+=cut
+sub section($$$) : method {
+ my $self = shift ;
+ confess( 'you must overwrite this method' ) ;
+}
+
+#------------------------------------------------------
+#
+# Array API
+#
+#------------------------------------------------------
+
+=pod
+
+=item * build_onecolumn_array()
+
+Replies an one-column array.
+Takes 2 args:
+
+=over
+
+=item * title (string)
+
+is the title of the array
+
+=item * cells (array ref)
+
+is the content of the returned cells.
+
+=back
+
+=cut
+sub build_onecolumn_array($$) : method {
+ my $self = shift ;
+ confess( 'you must overwrite this method' ) ;
+}
+
+=pod
+
+=item * build_twocolumn_array()
+
+Replies an two-column array.
+Takes 2 args:
+
+=over
+
+=item * title (string)
+
+is the title of the array
+
+=item * cells (array ref)
+
+is the content of the returned cells.
+
+=back
+
+=cut
+sub build_twocolumn_array($$) : method {
+ my $self = shift ;
+ confess( 'you must overwrite this method' ) ;
+}
+
+=pod
+
+=item * build_small_array()
+
+Replies an small one-column array.
+Takes 2 args:
+
+=over
+
+=item * title (string)
+
+is the title of the array
+
+=item * cells (array ref)
+
+is the content of the returned cells.
+
+=back
+
+=cut
+sub build_small_array($$) : method {
+ my $self = shift ;
+ confess( 'you must overwrite this method' ) ;
+}
+
+=pod
+
+=item * build_tiny_array()
+
+Replies a tiny one-column array.
+Takes 2 args:
+
+=over
+
+=item * title (string)
+
+is the title of the array
+
+=item * cells (array ref)
+
+is the content of the returned cells.
+
+=back
+
+=cut
+sub build_tiny_array($$) : method {
+ my $self = shift ;
+ confess( 'you must overwrite this method' ) ;
+}
+
+=pod
+
+=item * build_threecolumn_array()
+
+Replies an two-column array.
+Takes 3 args:
+
+=over
+
+=item * title (string)
+
+is the title of the array
+
+=item * cells (array ref)
+
+is the content of the returned cells.
+
+=item * anchor (string)
+
+is the name of the anchor.
+
+=back
+
+=cut
+sub build_threecolumn_array($$$) : method {
+ my $self = shift ;
+ confess( 'you must overwrite this method' ) ;
+}
+
+#------------------------------------------------------
+#
+# Index API
+#
+#------------------------------------------------------
+
+=pod
+
+=item * format_index_page()
+
+Replies a formatted page for the index.
+Takes 3 args:
+
+=over
+
+=item * letterlist (string)
+
+is the list of letters of the index.
+
+=item * letter (string)
+
+is the current letter.
+
+=item * content (array ref)
+
+is the content of the page.
+
+=back
+
+=cut
+sub format_index_page($$$) : method {
+ my $self = shift ;
+ my $letterlist = $_[0] || '' ;
+ my $letter = notempty( $_[1], 'you must supply the index letter for this page' ) ;
+
+ my $content = join( '',
+ ( $letterlist ?
+ $letterlist.$self->partseparator() : '' ),
+ "<H2>",
+ uc($letter),
+ "</H2>\n",
+ "<DL>" ) ;
+
+ my $previouslabel = '' ;
+ my @currententry = () ;
+
+ foreach my $entry (@{$_[2]}) {
+ if ( "$previouslabel" eq $entry->{'label'} ) {
+ # Caching this entry for futher display
+ push @currententry, $entry ;
+ }
+ else {
+ # Generate the page content
+ $self->__generate_index_entry(\@currententry,$content,$entry);
+ }
+
+ $previouslabel = $entry->{'label'} ;
+ }
+
+ if ( @currententry ) {
+ $self->__generate_index_entry(\@currententry,$content);
+ }
+
+ $content .= join( '',
+ "</DL>",
+ ( $letterlist ?
+ $self->partseparator().$letterlist : '' ) ) ;
+
+ return $content ;
+}
+
+sub __generate_index_entry($$;$) {
+ my $self = shift ;
+
+ # Generates the previous entries
+ if ( @{$_[0]} == 1 ) {
+ $_[1] .= join( '',
+ "<DT>",
+ $self->href( $_[0]->[0]{'url'},
+ $_[0]->[0]{'label'} ),
+ ( $_[0]->[0]{'short_comment'} ?
+ " - ".$_[0]->[0]{'short_comment'} :
+ '' ),
+ "</DT><DD>",
+ $_[0]->[0]{'comment'},
+ "&nbsp;</DD>\n" ) ;
+ }
+ elsif ( @{$_[0]} > 1 ) {
+ $_[1] .= join( '',
+ "<DT>",
+ $_[0]->[0]{'label'},
+ "</DT><DD><UL>" ) ;
+ foreach my $entry_to_display (@{$_[0]}) {
+ $_[1] .= join( '',
+ "<LI>",
+ $entry_to_display->{'comment'},
+ $self->href( $entry_to_display->{'url'},
+ "<IMG src=\"./loupe.gif\" alt=\"\" ".
+ "border=\"0\" align=\"center\">" ),
+ "</LI>\n"
+ ) ;
+ }
+ $_[1] .= "</UL></DD>\n" ;
+ }
+ # Prepare the caching for this entry
+ if ( $_[2] ) {
+ @{$_[0]} = ( $_[2] ) ;
+ }
+}
+
+#------------------------------------------------------
+#
+# Filename API
+#
+#------------------------------------------------------
+
+=pod
+
+=item * get_math_start_tag()
+
+Replies the HTML balise which starts the math mode.
+
+=cut
+sub get_math_start_tag() : method {
+ my $self = shift ;
+ return "<math>" ;
+}
+
+=pod
+
+=item * get_math_stop_tag()
+
+Replies the HTML balise which stops the math mode.
+
+=cut
+sub get_math_stop_tag() : method {
+ my $self = shift ;
+ return "</math>" ;
+}
+
+1;
+__END__
+
+=back
+
+=head1 COPYRIGHT
+
+(c) Copyright 1998-09 Stéphane Galland <galland@arakhne.org>, under GPL.
+
+=head1 AUTHORS
+
+=over
+
+=item *
+
+Conceived and initially developed by Stéphane Galland E<lt>galland@arakhne.orgE<gt>.
+
+=back
+
+=head1 SEE ALSO
+
+bib2html.pl
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Dyna.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Dyna.pm
new file mode 100644
index 0000000000..3c9d051214
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Dyna.pm
@@ -0,0 +1,1401 @@
+# Copyright (C) 2002-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+=pod
+
+=head1 NAME
+
+Bib2HTML::Generator::Theme::DynaTheme - A theme for the HTML generator
+
+=head1 SYNOPSYS
+
+use Bib2HTML::Generator::Theme::DynaTheme ;
+
+my $gen = Bib2HTML::Generator::Theme::DynaTheme->new( bib2html,
+ target,
+ title,
+ phpgen,
+ webgen ) ;
+
+=head1 DESCRIPTION
+
+Bib2HTML::Generator::Theme::DynaTheme is a Perl module, which proposes
+a documentation theme for the HTML generator of bib2html. This theme generates
+something like javadoc.
+
+=head1 GETTING STARTED
+
+=head2 Initialization
+
+To start a generator script, say something like this:
+
+ use Bib2HTML::Generator::Theme::DynaTheme;
+
+ my $gen = Bib2HTML::Generator::Theme::DynaTheme->new( { 'VERSION' => '0.11' },
+ "./phpdoc",
+ "Title",
+ 1, 1 ) ;
+
+...or something similar. Acceptable parameters to the constructor are:
+
+=over
+
+=item * bib2html (hash)
+
+contains some data about bib2html.
+
+=item * target (string)
+
+The directory in which the documentation must be put.
+
+=item * title (string)
+
+is the title of the documentation.
+
+=item * phpgen (boolean)
+
+indicates if the PHP doc was generated
+
+=item * webgen (boolean)
+
+indicates if the WEB doc was generated
+
+=item * lang (object ref)
+
+is a reference to the language object.
+
+=back
+
+=head1 METHOD DESCRIPTIONS
+
+This section contains only the methods in Html.pm itself.
+
+=over
+
+=cut
+
+package Bib2HTML::Generator::Theme::Dyna;
+
+@ISA = ('Bib2HTML::Generator::Theme');
+@EXPORT = qw();
+@EXPORT_OK = qw();
+
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+use Exporter;
+
+use Carp ;
+
+use Bib2HTML::Generator::Theme ;
+use Bib2HTML::General::Verbose ;
+use Bib2HTML::General::Error ;
+use Bib2HTML::General::HTML ;
+use Bib2HTML::General::Misc ;
+
+#------------------------------------------------------
+#
+# Global vars
+#
+#------------------------------------------------------
+
+# Version number of Dyna theme
+my $VERSION = "4.0" ;
+
+#------------------------------------------------------
+#
+# Constructor
+#
+#------------------------------------------------------
+
+sub new($$$$$$$) {
+ my $proto = shift;
+ my $class = ref($proto) || $proto;
+ my $self = $class->SUPER::new( @_ ) ;
+
+ $self->{'COPY_FILES'} = [ 'stylesheet.css',
+ 'minus.gif',
+ 'plus.gif',
+ 'child.gif',
+ 'lastchild.gif',
+ 'samechild.gif',
+ 'emptychild.gif',
+ ] ;
+
+ $self->{'FRAME_TREE_ID_COUNT'} = 0 ;
+ $self->{'TREE_ID_COUNT'} = 0 ;
+
+ bless( $self, $class );
+
+ return $self;
+}
+
+#------------------------------------------------------
+#
+# Validation
+#
+#------------------------------------------------------
+
+=pod
+
+=item * getMyValidHTML()
+
+Replies the list of W3C protocols for which this theme
+was validated. You must override this method.
+
+=cut
+sub getMyValidHTML() {
+ my $self = shift ;
+ return ( 'html', 'css' ) ;
+}
+
+#------------------------------------------------------
+#
+# Main structure
+#
+#------------------------------------------------------
+
+=pod
+
+=item * get_html_header()
+
+Replies the HTML header of each page.
+Takes 1 arg:
+
+=over
+
+=item * rootdir (string)
+
+is the path to the root directory
+
+=back
+
+=cut
+sub get_html_header($) : method {
+ my $self = shift ;
+ my $rootdir = $_[0] || confess( 'you must supply the root directory' ) ;
+ return join( '',
+ "<link REL ='stylesheet' TYPE='text/css' HREF='",
+ htmlcatfile($rootdir,"stylesheet.css"),
+ "' TITLE='Style'>\n",
+
+ # JavaScript
+ "<script language='JavaScript1.2' type=\"text/javascript\">\n<!--\n",
+ "function swaptreecontent(elID) {\n",
+ " b = document.getElementById(elID).innerHTML;\n",
+ " a = document.getElementById(elID + \"off__\").innerHTML;\n",
+ " if (a.length == 0) {",
+ " document.getElementById(elID).innerHTML = \"\";\n",
+ " } else {\n",
+ " document.getElementById(elID).innerHTML = a;\n",
+ " }\n",
+ " document.getElementById(elID + \"off__\").innerHTML = b;\n",
+ "}\n\n",
+ "function swaptreeicon(elID) {\n",
+ " a = document.getElementById(elID + \"plusminus\").src;\n",
+ " if (a.indexOf(\"minus.gif\") != -1) a = \"",
+ htmlcatfile($rootdir,"plus.gif"),
+ "\";\n",
+ " else a = \"",
+ htmlcatfile($rootdir,"minus.gif"),
+ "\";\n",
+ " document.getElementById(elID + \"plusminus\").src = a;\n",
+ "}\n\n",
+ "function swaptree(elID) {\n",
+ " swaptreecontent(elID);\n",
+ " swaptreeicon(elID);\n",
+ "}\n\n",
+ "function swaptree2(elID1,elID2) {\n",
+ " swaptreecontent(elID1);\n",
+ " swaptreecontent(elID2);\n",
+ " swaptreeicon(elID1);\n",
+ "}\n",
+ "//-->\n</script>\n" ) ;
+}
+
+
+#------------------------------------------------------
+#
+# Structural element API
+#
+#------------------------------------------------------
+
+=pod
+
+=item * get_tree_node()
+
+Replues the HTML string for the specified tree.
+a list.
+Takes 2 args:
+
+=over
+
+=item * node (string)
+
+is the string that is the root of the tree.
+
+=item * subs (string)
+
+is an HTML string that describes the children.
+
+=item * rootdir (string)
+
+is the path to the root directory.
+
+=back
+
+=cut
+sub get_tree_node($$$) {
+ my $self = shift ;
+ my $text = $_[0] || '' ;
+ $text =~ s/[ \t\n\r]+/&nbsp;/g ;
+ return $self->SUPER::get_tree_node($text,$_[1],$_[2]) ;
+}
+
+=pod
+
+=item * get_tree_leaf()
+
+Replies a line of a tree which will be displayed inside
+a list.
+Takes 1 args:
+
+=over
+
+=item * node (string)
+
+is the string that is the root of the tree.
+
+=item * rootdir (string)
+
+is the path to the root directory.
+
+=back
+
+=cut
+sub get_tree_leaf($$) {
+ my $self = shift ;
+ my $text = $_[0] || '' ;
+ $text =~ s/[ \t\n\r]+/&nbsp;/g ;
+ return $self->SUPER::get_tree_leaf($text,$_[1]) ;
+}
+
+=pod
+
+=item * get_tree()
+
+Creates a tree.
+Takes 2 or 3 args:
+
+=over
+
+=item * tree (hash)
+
+is the tree
+
+=item * rootdir (string)
+
+is the path to the root directory
+
+=item * root label (optional string)
+
+is the label of the root node
+
+=back
+
+=cut
+sub get_tree($$;$) : method {
+ my $self = shift ;
+ my $tree = $_[0] || confess( "you must supply the tree" ) ;
+ my $rootdir = $_[1] || confess( 'you must supply the root directory' ) ;
+ my $defaultRootLabel = $self->{'LANG'}->get('I18N_LANG_THEME_TREE_ROOT');
+ my $rootlabel = $_[2] || $defaultRootLabel;
+ $tree = { $rootlabel => $tree } ;
+ return $self->__get_dyna_tree__( $tree, $rootdir ) ;
+}
+
+sub __get_dyna_tree__($$) {
+ my $self = shift ;
+ my $rootdir = $_[1] || confess( 'you must supply the root directory' ) ;
+ my ($prevs,$lines,$max) = $self->__get_dyna_tree_rec__(@_) ;
+
+ my $content = '' ;
+ foreach my $prev (@{$prevs}) {
+ $content .= join( '',
+ "<DIV id=\"",
+ $prev,
+ "off__\" style=\"visibility : hidden; position: absolute\"></DIV>\n" ) ;
+ }
+
+ my $tblheader = "<TABLE border='0' cellspacing='0' cellpadding='0' width='100%'>\n" ;
+ my $tblfooter = "</TABLE>\n" ;
+
+ my $tablecontent = "" ;
+ foreach my $line (@{$lines}) {
+ my $iddata = pop @{$line} ;
+ my $count = $max ;
+ my $linecontent = '' ;
+
+ while (@{$line}) {
+ my $cell = shift @{$line} ;
+
+ if (($cell)&&("$cell" eq "[-]")) {
+ # Add a collapse button
+ confess( 'empty id when collapsable node' ) unless $iddata->{'open'} ;
+ $count -- ;
+ $linecontent .= join( '',
+ "<TD valign='middle' align='left' width='11' height='17'>",
+ $self->href( "javascript:swaptree('".$iddata->{'open'}."')",
+ "<img src=\"".
+ htmlcatfile($rootdir,"minus.gif").
+ "\" alt=\"-\" ".
+ "id=\"".$iddata->{'open'}."plusminus\" width=\"11\" ".
+ "height=\"11\" border=\"0\">" ),
+ "</TD>" ) ;
+ }
+ elsif (($cell)&&($cell eq '[ ]')) {
+ # Add a white space
+ $count -- ;
+ $linecontent .= join( '',
+ "<TD valign='top' align='left' width='11' height='17'>",
+ "<IMG src=\"",
+ htmlcatfile($rootdir,"emptychild.gif"),
+ "\" alt=\" \" width=\"11\" ",
+ "height=\"17\" border=\"0\">",
+ "</TD>" ) ;
+ }
+ elsif (($cell)&&($cell eq '[+]')) {
+ # Add a tee
+ $count -- ;
+ $linecontent .= join( '',
+ "<TD valign='top' align='left' width='11' height='17'>",
+ "<IMG src=\"",
+ htmlcatfile($rootdir,"child.gif"),
+ "\" alt=\"+\" width=\"11\" ",
+ "height=\"17\" border=\"0\">",
+ "</TD>" ) ;
+ }
+ elsif (($cell)&&($cell eq '[|]')) {
+ # Add a vertical bar
+ $count -- ;
+ $linecontent .= join( '',
+ "<TD valign='top' align='left' height='17'>",
+ "<IMG src=\"",
+ htmlcatfile($rootdir,"samechild.gif"),
+ "\" alt=\"|\" width=\"11\" ",
+ "height=\"17\" border=\"0\">",
+ "</TD>" ) ;
+ }
+ elsif (($cell)&&($cell eq '[\\]')) {
+ # Add a corner
+ $count -- ;
+ $linecontent .= join( '',
+ "<TD valign='top' align='left' width='11' height='17'>",
+ "<IMG src=\"",
+ htmlcatfile($rootdir,"lastchild.gif"),
+ "\" alt=\"\\\" width=\"11\" ",
+ "height=\"17\" border=\"0\">",
+ "</TD>" ) ;
+ }
+ elsif (($cell)&&($count>0)) {
+ # Add a text
+ $linecontent .= join( '',
+ "<TD colspan='$count' width='100%' valign='middle' align='left' class='TreeText' height='17'>",
+ $cell,
+ "</TD>" ) ;
+ $count = 0 ;
+ }
+
+ }
+
+ # Add the line
+ if ($linecontent !~ /^\s*$/m) {
+
+ # Test if a table header was needed
+ $tablecontent = "$tblheader" unless ($tablecontent) ;
+
+ # Add the line
+ $tablecontent .= "<TR>$linecontent</TR>" ;
+
+ # Close the table if on a block bound
+ if ((!isemptyarray($iddata->{'closes'}))||
+ ($iddata->{'open'})) {
+ $content .= "$tablecontent$tblfooter" ;
+ $tablecontent = "" ;
+ }
+
+ # Put the block's open/close actions
+ if (!isemptyarray($iddata->{'closes'})) {
+ for(my $i=0; $i<@{$iddata->{'closes'}}; $i++) {
+ $content .= "</DIV>" ;
+ }
+ }
+ if ( $iddata->{'open'} ) {
+ $content .= "<DIV id=\"".$iddata->{'open'}."\">" ;
+ }
+
+ }
+
+ }
+
+ if ($tablecontent) {
+ $content .= "$tablecontent$tblfooter" ;
+ }
+
+ return $content ;
+}
+
+sub __get_dyna_tree_rec__($$) {
+ my $self = shift ;
+ my $rootdir = $_[1] || confess( 'you must supply the root directory' ) ;
+ my @content = () ;
+ my @prev = () ;
+ my $max = 0 ;
+
+ if ( ! isemptyhash( $_[0] ) ) {
+
+ my @keys = keys %{$_[0]};
+ @keys = sortbyletters(@keys) ;
+
+ for(my $i=0; $i<=$#keys; $i++) {
+ my $nodename = $keys[$i] ;
+ my $oid = '' ;
+
+ # Gets the children
+ my ($child_prev,$child_content,$child_max) = $self->__get_dyna_tree_rec__( $_[0]->{$nodename}, $rootdir ) ;
+
+ # Computes the collpasing icon
+ my $collaps = '' ;
+ if ( ! isemptyarray( $child_content ) ) {
+ $collaps = '[-]' ;
+ # Computes the tags just before the tree
+ # This tag permits to undisplay the $id area
+ $self->{'FRAME_TREE_ID_COUNT'} ++ ;
+ $oid = "treeoverviewid".$self->{'FRAME_TREE_ID_COUNT'} ;
+ push @prev, $oid ;
+ }
+ push @prev, @{$child_prev} ;
+
+ # Adds this node to the array
+ push @content, [ "$collaps", "&nbsp;$nodename", { 'open' => $oid,
+ 'closes' => [] } ] ;
+ $max = 2 ;
+
+ # Adds the children
+ my @subcontent = () ;
+ my $found = 0 ;
+ for(my $j=$#{$child_content}; $j>=0; $j--) {
+ my $next = $child_content->[$j][0] ;
+ my $icon = '[ ]' ;
+ if ( $found ) {
+ if ( ( ! $next ) || ( $next eq '[-]' ) ) {
+ $icon = '[+]' ;
+ }
+ else {
+ $icon = '[|]' ;
+ }
+ }
+ elsif ( ( ! $next ) || ( $next eq '[-]' ) ) {
+ $found = 1 ;
+ $icon = '[\\]' ;
+ }
+ unshift @subcontent, [ $icon, @{$child_content->[$j]} ] ;
+ if ( $max < (@{$child_content->[$j]}-1) ) {
+ $max = @{$child_content->[$j]}-1 ;
+ }
+ }
+ push @content, @subcontent ;
+ if ( $oid ) {
+ push( @{$content[$#content]->[$#{$content[$#content]}]->{'closes'}},
+ $oid ) ;
+ }
+ }
+
+ }
+
+ return (\@prev,\@content,$max) ;
+}
+
+=pod
+
+=item * build_linked_tree()
+
+Creates a tree with links between nodes.
+Takes 1 arg:
+
+=over
+
+=item * tree (array)
+
+is the tree
+
+=item * rootdir (string)
+
+is the path to the root directory
+
+=back
+
+=cut
+sub build_linked_tree($$) : method {
+ my $self = shift ;
+ my $tree = $_[0] || confess( "you must supply the tree" ) ;
+ my $rootdir = $_[1] || confess( 'you must supply the root directory' ) ;
+ my $content = "" ;
+ if ( $#{$tree} >= 0 ) {
+ my $end = '' ;
+ for(my $i=0; $i<=$#{$tree}; $i++ ) {
+ my $class = $tree->[$i] ;
+
+ $self->{'FRAME_TREE_ID_COUNT'} ++ ;
+ my $id1 = "classtreeid".$self->{'FRAME_TREE_ID_COUNT'} ;
+ $self->{'FRAME_TREE_ID_COUNT'} ++ ;
+ my $id2 = "classtreeid".$self->{'FRAME_TREE_ID_COUNT'} ;
+
+ $content .= join( '',
+ "<DIV id=\"",
+ $id1,
+ "off__\" style=\"visibility : hidden; position: absolute\"></DIV>\n",
+ "<DIV id=\"",
+ $id2,
+ "off__\" style=\"visibility : hidden; position: absolute\"></DIV>\n",
+
+ "<TABLE border=0 cellspacing=2 cellpadding=0>",
+ "<TR><TD>" ) ;
+
+ if ( $i < $#{$tree} ) {
+ $content .= join( '',
+ $self->href( "javascript:swaptree2('".$id1."','".$id2."')",
+ "<img src=\"".
+ htmlcatfile($rootdir,"minus.gif").
+ "\" alt=\"-\" ".
+ "id=\"".$id1."plusminus\" width=\"11\" ".
+ "height=\"11\" border=\"0\">" ),
+ "</TD><TD>&nbsp;" ) ;
+ }
+
+ $content .= join( '',
+ $class,
+ "</TD></TR>",
+ "<TR><TD valign='top' align='right'>" ) ;
+
+ if ( $i < $#{$tree} ) {
+ $content .= join( '',
+ "<DIV id=\"",
+ $id2,
+ "\">",
+ "<IMG src=\"",
+ htmlcatfile($rootdir,"lastchild.gif"),
+ "\" alt=\"-\" width=\"11\" ",
+ "height=\"17\" border=\"0\">",
+ "</DIV>" ) ;
+ }
+
+ $content .= join( '',
+ "</TD><TD class='TreeText' valign='middle' align='left'><DIV id=\"",
+ $id1,
+ "\">") ;
+
+ $end .= "</DIV></TD></TR></TABLE>" ;
+
+ }
+
+ $content .= $end ;
+
+ }
+ return $content ;
+}
+
+=pod
+
+=item * build_detail_section_title()
+
+Replies title of an detail section.
+Takes 2 args:
+
+=over
+
+=item * title (string)
+
+is the title of the section.
+
+=item * label (string)
+
+is the label of the title bar.
+
+=back
+
+=cut
+sub build_detail_section_title($$) : method {
+ my $self = shift ;
+ return join( '',
+ "<A NAME=\"",
+ $_[1] || '',
+ "\"></A>",
+ "<P></P><TABLE BORDER='1' CELLPADDING='3' CELLSPACING='0' WIDTH='100%'>",
+ "<THEAD><TR><TD CLASS='largetabletitle'>",
+ $_[0] || '',
+ "</TD></TR></THEAD></TABLE><BR>\n" ) ;
+}
+
+=pod
+
+=item * build_class_detail()
+
+Replies the detail for a class.
+Takes 3 args:
+
+=over
+
+=item * classname (string)
+
+is the name of the class
+
+=item * extends (string)
+
+is the name of extended class.
+
+=item * explanation (string)
+
+is the description of the function.
+
+=item * details (string)
+
+contains some details on this function.
+
+=back
+
+=cut
+sub build_class_detail($$$$) : method {
+ my $self = shift ;
+ my $classname = $_[0] || confess( 'you must supply the classname' ) ;
+ my $extends = $_[1] || '' ;
+ my $explanation = $_[2] || '' ;
+ my $details = $_[3] || '' ;
+ return join( '',
+ "<DL>\n<DT>",
+ $self->{'LANG'}->get('I18N_LANG_CLASS'),
+ " <B>$classname</B>",
+ ( $extends ? "<DT>".
+ $self->{'LANG'}->get('I18N_LANG_EXTENDS').
+ " $extends</DL>\n" : '' ),
+ "<P>",
+ $explanation,
+ "</P>\n",
+ $details,
+ "</DL>\n" ) ;
+}
+
+=pod
+
+=item * build_function_detail()
+
+Replies the detail for a function.
+Takes 5 args:
+
+=over
+
+=item * key_name (string)
+
+is the keyname of the function.
+
+=item * name (string)
+
+is the name of the function.
+
+=item * signature (string)
+
+is the signature of the function.
+
+=item * explanation (string)
+
+is the description of the function.
+
+=item * details (string)
+
+contains some details on this function.
+
+=back
+
+=cut
+sub build_function_detail($$$$) : method {
+ my $self = shift ;
+ my $kname = $_[0] || confess( 'you must supply the keyname' ) ;
+ my $name = $_[1] || confess( 'you must supply the name' ) ;
+ my $signature = $_[2] || confess( 'you must supply the signature' ) ;
+ my $explanation = $_[3] || confess( 'you must supply the explanation' ) ;
+ my $details = $_[4] || '' ;
+ return join( '',
+ "<A NAME=\"",
+ $kname,
+ "\"></A><H3>",
+ $name,
+ "</H3>\n<PRE>\n",
+ $signature,
+ "</PRE>\n<DL><DD><P>",
+ $explanation,
+ "</P>\n",
+ $details,
+ "</DD></DL>"
+ ) ;
+}
+
+=pod
+
+=item * build_detail_part()
+
+Replies a detail part.
+Takes 3 args:
+
+=over
+
+=item * title (string)
+
+is the title of the section.
+
+=item * separator (string)
+
+is the separator of the elements.
+
+=item * elements (array ref)
+
+is the whole of the elements.
+
+=back
+
+=cut
+sub build_detail_part($$$) : method {
+ my $self = shift ;
+ if ( $#{$_[2]} >= 0 ) {
+ my $content = join( '',
+ "<DL><DT><B>$_[0]:</B></DT><DD>"
+ ) ;
+ my $i = 0 ;
+ $content .= "<UL>" if ( $_[1] =~ /<li>/i ) ;
+ foreach my $e (@{$_[2]}) {
+ if ( $_[1] =~ /<li>/i ) {
+ $content .= "<LI>" ;
+ }
+ elsif ( $i > 0 ) {
+ $content .= $_[1] ;
+ }
+ $content .= $e ;
+ $content .= "</LI>" if ( $_[1] =~ /<li>/i ) ;
+ $i ++ ;
+ }
+ $content .= "</UL>" if ( $_[1] =~ /<li>/i ) ;
+ $content .= "</DD></DL>\n" ;
+ return $content ;
+ }
+ else {
+ return "" ;
+ }
+}
+
+#------------------------------------------------------
+#
+# Paragraph API
+#
+#------------------------------------------------------
+
+=pod
+
+=item * frame_subpart()
+
+Replies a subpart of a frame
+Takes 3 args:
+
+=over
+
+=item * title (string)
+
+is the title of the part.
+
+=item * text (array)
+
+is the content of the frame.
+
+=item * rootdir (string)
+
+is the path to the root directory.
+
+=back
+
+=cut
+sub frame_subpart($$$) : method {
+ my $self = shift ;
+ my $title = $_[0] || '' ;
+ my $rootdir = $_[2] || confess( 'you must supply the root directory' ) ;
+ $self->{'FRAME_TREE_ID_COUNT'} ++ ;
+ my $id = "treeid".$self->{'FRAME_TREE_ID_COUNT'} ;
+
+ my $content = "<P></P><DIV id=\"".$id."off__\" style=\"visibility : hidden; position: absolute\"></DIV>\n" ;
+
+ $content .= $self->href( "javascript:swaptree('".$id."')",
+ "<img src=\"".
+ htmlcatfile($rootdir,"minus.gif").
+ "\" alt=\"-\" ".
+ "id=\"".$id."plusminus\" width=\"11\" ".
+ "height=\"11\" border=\"0\">" ) ;
+ $content .= join( '',
+ ( $title ? '&nbsp;'.html_add_unsecable_spaces($title)."<BR>\n" : '' ),
+ "<div id=\"",
+ $id,
+ "\">" ) ;
+
+ if ( ( isarray($_[1]) ) && ( ! isemptyarray($_[1]) ) ) {
+ for(my $i=0; $i<=$#{$_[1]}; $i++) {
+ my $item = html_add_unsecable_spaces( $_[1][$i] ) ;
+ $content .= join( '',
+ "<TABLE border=0 cellspacing=0 cellpadding=0>",
+ "<TR><TD valign='top' align='right'><img src=\"",
+ htmlcatfile($rootdir,
+ ($i==$#{$_[1]}) ?
+ "lastchild.gif" : "child.gif"),
+ "\" alt=\"-\" width=\"11\" ",
+ "height=\"17\" border=\"0\"></TD><TD class='TreeText' valign='middle' align='left'>&nbsp;",
+ $item,
+ "</TD></TR></TABLE>\n" ) ;
+ }
+ }
+ $content .= "</DIV>\n\n" ;
+ return $content ;
+}
+
+=pod
+
+=item * frame_window()
+
+Replies a frame
+Takes 2 args:
+
+=over
+
+=item * title (string)
+
+is the title of the frame.
+
+=item * text (string)
+
+is the content of the frame.
+
+=back
+
+=cut
+sub frame_window($$) : method {
+ my $self = shift ;
+ my $title = $_[0] || '' ;
+ my $text = $_[1] || '' ;
+ return join( '',
+ ( $title ? "<H2>$title</H2>\n\n" : '' ),
+ $text ) ;
+}
+
+=pod
+
+=item * small()
+
+Replies a text with a small size.
+Takes 1 arg:
+
+=over
+
+=item * text (string)
+
+=back
+
+=cut
+sub small($) {
+ my $self = shift ;
+ my $text = $_[0] || '' ;
+ return join( '',
+ "<SPAN CLASS='small'>",
+ $text,
+ "</SPAN>\n" ) ;
+}
+
+=pod
+
+=item * tiny()
+
+Replies a text with a tiny size.
+Takes 1 arg:
+
+=over
+
+=item * text (string)
+
+=back
+
+=cut
+sub tiny($) {
+ my $self = shift ;
+ my $text = $_[0] || '' ;
+ return join( '',
+ "<SPAN CLASS='tiny'>",
+ $text,
+ "</SPAN>\n" ) ;
+}
+
+=pod
+
+=item * section()
+
+Replies a section
+Takes 3 args:
+
+=over
+
+=item * title (string)
+
+is the title of the new section.
+
+=item * content (string)
+
+is the content of the new section
+
+=item * root (string)
+
+is the root directory for the generated documentation.
+
+=back
+
+=cut
+sub section($$$) : method {
+ my $self = shift ;
+ my $title = $_[0] || confess( 'you must specify the title' ) ;
+ my $content = $_[1] || '' ;
+ my $rootdir = $_[2] || confess( 'you must specify the root directory' ) ;
+ return join( '',
+ "<P></P>",
+ "<TABLE BORDER='0' WIDTH='100%' ",
+ "CELLPADDING='1' CELLSPACING='0'>\n",
+ "<TR><TD CLASS='tabletitle'>",
+ $title,
+ "</TD></TR>\n",
+ "<TR><TD>",
+ $content,
+ "</TD></TR></TABLE>\n" ) ;
+}
+
+#------------------------------------------------------
+#
+# Array API
+#
+#------------------------------------------------------
+
+=pod
+
+=item * build_onecolumn_array()
+
+Replies an one-column array.
+Takes 2 args:
+
+=over
+
+=item * title (string)
+
+is the title of the array
+
+=item * cells (array ref)
+
+is the content of the returned cells.
+
+=back
+
+=cut
+sub build_onecolumn_array($$) : method {
+ my $self = shift ;
+ my $title = $_[0] || '' ;
+ my $content = '' ;
+ if ( ( isarray($_[1]) ) && ( ! isemptyarray($_[1]) ) ) {
+ foreach my $cell (@{$_[1]}) {
+ $content .= join( '',
+ "<TR><TD>",
+ $cell,
+ "</TD></TR>\n" ) ;
+ }
+ }
+ return join( '',
+ "<P></P><TABLE BORDER='1' CELLPADDING='3' CELLSPACING='0' WIDTH='100%'>",
+ "<THEAD>",
+ "<TR><TD CLASS='tabletitle'><B>",
+ $title,
+ "</B></TD></TR>",
+ "</THEAD>\n<TBODY>",
+ $content,
+ "</TBODY>\n</TABLE>\n\n" ) ;
+}
+
+=pod
+
+=item * build_twocolumn_array()
+
+Replies an two-column array.
+Takes 2 args:
+
+=over
+
+=item * title (string)
+
+is the title of the array
+
+=item * cells (array ref)
+
+is the content of the returned cells.
+
+=back
+
+=cut
+sub build_twocolumn_array($$) : method {
+ my $self = shift ;
+ my $title = $_[0] || '' ;
+ my $content = '' ;
+ if ( ( isarray($_[1]) ) && ( ! isemptyarray($_[1]) ) ) {
+ for(my $i=0; $i<=$#{$_[1]}; $i++) {
+ if ( ( ishash($_[1][$i]) ) && ( ! isemptyhash($_[1][$i]) ) ) {
+ $content .= join( '',
+ "<TR><TD valign='top' align='left' width='20%'>",
+ $_[1][$i]->{'name'},
+ "</TD><TD valign='top' align='left' width='80%'>",
+ $_[1][$i]->{'explanation'},
+ "</TD></TR>" ) ;
+ }
+ }
+ }
+ return join( '',
+ "<P></P><TABLE BORDER='1' CELLPADDING='3' CELLSPACING='0' WIDTH='100%'>",
+ "<THEAD>",
+ "<TR><TD CLASS='tabletitle' COLSPAN='2'><B>",
+ $title,
+ "</B></TD></TR>",
+ "</THEAD>\n<TBODY>",
+ $content,
+ "</TBODY>\n</TABLE>\n\n" ) ;
+}
+
+=pod
+
+=item * build_small_array()
+
+Replies an small one-column array.
+Takes 2 args:
+
+=over
+
+=item * title (string)
+
+is the title of the array
+
+=item * cells (array ref)
+
+is the content of the returned cells.
+
+=back
+
+=cut
+sub build_small_array($$) : method {
+ my $self = shift ;
+ my $title = $_[0] || '' ;
+ my $content = '' ;
+ if ( ( isarray($_[1]) ) && ( ! isemptyarray($_[1]) ) ) {
+ foreach my $cell (@{$_[1]}) {
+ $content .= join( '',
+ "<TR><TD>",
+ $cell,
+ "</TD></TR>\n" ) ;
+ }
+ }
+ return join( '',
+ "<P></P><TABLE BORDER='1' CELLPADDING='3' CELLSPACING='0' WIDTH='100%'>",
+ "<THEAD>",
+ "<TR><TD CLASS='smalltabletitle'><B>",
+ $title,
+ "</B></TD></TR>",
+ "</THEAD>\n<TBODY CLASS='smalltable'>",
+ $content,
+ "</TBODY>\n</TABLE>\n\n" ) ;
+}
+
+=pod
+
+=item * build_tiny_array()
+
+Replies a tiny one-column array.
+Takes 2 args:
+
+=over
+
+=item * title (string)
+
+is the title of the array
+
+=item * cells (array ref)
+
+is the content of the returned cells.
+
+=back
+
+=cut
+sub build_tiny_array($$) : method {
+ my $self = shift ;
+ my $title = $_[0] || '' ;
+ my $content = '' ;
+ if ( ( isarray($_[1]) ) && ( ! isemptyarray($_[1]) ) ) {
+ foreach my $cell (@{$_[1]}) {
+ $content .= join( '',
+ "<TR><TD>",
+ $cell,
+ "</TD></TR>\n" ) ;
+ }
+ }
+ return join( '',
+ "<P></P><TABLE BORDER='1' CELLPADDING='3' CELLSPACING='0' WIDTH='100%'>",
+ "<THEAD>",
+ "<TR><TD CLASS='tinytabletitle'><B>",
+ $title,
+ "</B></TD></TR>",
+ "</THEAD>\n<TBODY CLASS='tinytable'>",
+ $content,
+ "</TBODY>\n</TABLE>\n\n" ) ;
+}
+
+=pod
+
+=item * build_threecolumn_array()
+
+Replies an two-column array.
+Takes 3 args:
+
+=over
+
+=item * title (string)
+
+is the title of the array
+
+=item * cells (array ref)
+
+is the content of the returned cells.
+
+=item * anchor (string)
+
+is the name of the anchor.
+
+=back
+
+=cut
+sub build_threecolumn_array($$$) : method {
+ my $self = shift ;
+ my $title = $_[0] || '' ;
+ my $content = '' ;
+ if ( ( isarray($_[1]) ) && ( ! isemptyarray($_[1]) ) ) {
+ for(my $i=0; $i<=$#{$_[1]}; $i++) {
+ if ( ( ishash($_[1][$i]) ) && ( ! isemptyhash($_[1][$i]) ) ) {
+ $content .= join( '',
+ "<TR><TD valign='top' align='left'>",
+ $_[1][$i]->{'type'},
+ "</TD><TD WIDTH='100%' valign='top' align='left'>",
+ $_[1][$i]->{'name'},
+ "<BR>\n",
+ $_[1][$i]->{'explanation'},
+ "</TD></TR>" ) ;
+ }
+ }
+ }
+ return join( '',
+ "<P></P><TABLE BORDER='1' CELLPADDING='3' CELLSPACING='0' WIDTH='100%'>",
+ "<THEAD>",
+ "<TR><TD CLASS='tabletitle' COLSPAN='3'><B>",
+ $title,
+ "</B></TD></TR>",
+ "</THEAD>\n<TBODY>",
+ $content,
+ "</TBODY>\n</TABLE>\n\n" ) ;
+}
+
+#------------------------------------------------------
+#
+# Navigation API
+#
+#------------------------------------------------------
+
+=pod
+
+=item * get_navigation_bar()
+
+Replies the navigation bar.
+Takes 3 args:
+
+=over
+
+=item * url (string)
+
+is the url of the generated page.
+
+=item * params (hash ref)
+
+is a set of parameters used to generate the bar.
+
+=item * root (string)
+
+is the root directory for the generated documentation.
+
+=back
+
+=cut
+sub get_navigation_bar($$$) : method {
+ my $self = shift ;
+ my $thispage = $_[0] || confess( 'the url must be provided' ) ;
+ my $rootdir = $_[2] || confess( "the rootdir must be supplied" ) ;
+ confess( 'params is not an associative aray' ) unless (ishash($_[1])) ;
+
+ my $overview = "<b>".$self->{'LANG'}->get('I18N_LANG_OVERVIEW')."</b>" ;
+ my $tree = "<b>".$self->{'LANG'}->get('I18N_LANG_TREE')."</b>" ;
+ my $index = "<b>".$self->{'LANG'}->get('I18N_LANG_INDEX')."</b>" ;
+ my $newbuttons = '';
+
+ my $prev = html_uc( $self->{'LANG'}->get('I18N_LANG_PREV') ) ;
+ my $next = html_uc( $self->{'LANG'}->get('I18N_LANG_NEXT') ) ;
+
+ if ( ! $_[1]{'overview'} ) {
+ $overview = $self->ext_wt_href('overview-summary',$overview,$rootdir) ;
+ }
+ if ( ! $_[1]{'tree'} ) {
+ $tree = $self->ext_wt_href('overview-tree',$tree,$rootdir) ;
+ }
+ if ( $_[1]{'index'} ) {
+ $index = $self->href( htmlcatfile( $rootdir,
+ $self->filename('index',0) ),
+ $index,
+ $self->browserframe('index') ) ;
+ }
+ if ( $_[1]{'previous'} ) {
+ $prev = $self->href($_[1]{'previous'},$prev) ;
+ }
+ if ( $_[1]{'next'} ) {
+ $next = $self->href($_[1]{'next'},$next) ;
+ }
+
+ if ( $_[1]{'notree'} ) {
+ $tree = "" ;
+ }
+ else {
+ $tree = "<td BGCOLOR=\"#EEEEFF\">&nbsp;$tree&nbsp;</td>\n" ;
+ }
+
+ # new buttons
+ if ( ( $_[1]{'userdef'} ) &&
+ ( ! isemptyarray($_[1]->{'userdef'}) ) ) {
+ foreach my $button (@{$_[1]->{'userdef'}}) {
+ if ( ($button->{'url'}) && ($button->{'label'}) ) {
+ my $str = $self->href($button->{'url'},
+ $self->{'LANG'}->get($button->{'label'})) ;
+ $newbuttons .= "<td BGCOLOR=\"#EEEEFF\">&nbsp;<B>$str</B>&nbsp;</td>\n" ;
+ }
+ }
+ }
+
+ my $content = join( '',
+ "<table BORDER=\"0\" WIDTH=\"100%\" ",
+ "CELLPADDING=\"1\" CELLSPACING=\"0\">\n",
+ "<tr>\n",
+ "<td COLSPAN=2 BGCOLOR=\"#EEEEFF\">\n",
+ # First row
+ "<table BORDER=\"0\" CELLPADDING=\"0\" ",
+ "CELLSPACING=\"3\">\n",
+ "<tr ALIGN=\"center\" VALIGN=\"top\">\n",
+ "<td BGCOLOR=\"#EEEEFF\">&nbsp;$overview&nbsp;</td>\n",
+ $tree,
+ $newbuttons,
+ "<td BGCOLOR=\"#EEEEFF\">&nbsp;$index&nbsp;</td>\n",
+ "</tr>\n</table>\n",
+ "</td>\n",
+ # Name of the doc
+ "<td ALIGN=\"right\" VALIGN=\"top\" ROWSPAN=3><em><b>",
+ $self->{'TITLE'},
+ "</b></em></td>\n</tr>\n",
+ # Second row
+ "<tr>\n",
+ "<td BGCOLOR=\"white\"><font SIZE=\"-2\">",
+ "$prev&nbsp;&nbsp;$next",
+ "</font></td>\n",
+ "<td BGCOLOR=\"white\"><font SIZE=\"-2\">",
+ $self->ext_href('main_index',"<b>".
+ uc( $self->{'LANG'}->get('I18N_LANG_FRAMES') ).
+ "</b>",$rootdir),
+ "&nbsp;&nbsp;",
+ $self->href($thispage,"<b>".
+ uc( $self->{'LANG'}->get('I18N_LANG_NO_FRAME') ).
+ "</b>",
+ $self->browserframe('main_index')),
+ "&nbsp;</font></td>\n",
+ "</tr>\n",
+ "</table>\n"
+ ) ;
+}
+
+#------------------------------------------------------
+#
+# Filename API
+#
+#------------------------------------------------------
+
+=pod
+
+=item * copy_files()
+
+Copies some files from the bib2html distribution directly inside the
+HTML documentation tree.
+
+=cut
+sub copy_files() : method {
+ my $self = shift ;
+ $self->SUPER::copy_files() ;
+ my @pack = File::Spec->splitdir( __FILE__ ) ;
+ pop @pack ;
+ push @pack, 'Dyna' ;
+ foreach my $file (@{$self->{'COPY_FILES'}}) {
+ Bib2HTML::General::Verbose::two( "Copying $file..." ) ;
+ Bib2HTML::General::Verbose::three( "\tfrom ".File::Spec->catdir(@pack) ) ;
+ Bib2HTML::General::Verbose::three( "\tto ".$self->{'TARGET_DIR'} ) ;
+ my $from = File::Spec->catfile(@pack, $file) ;
+ filecopy( $from,
+ File::Spec->catfile($self->{'TARGET_DIR'},$file) )
+ or Bib2HTML::General::Error::syserr( "$from: $!\n" );
+ }
+}
+
+1;
+__END__
+
+=back
+
+=head1 COPYRIGHT
+
+(c) Copyright 2002-09 Stéphane Galland <galland@arakhne.org>, under GPL.
+
+=head1 AUTHORS
+
+=over
+
+=item *
+
+Conceived and initially developed by Stéphane Galland E<lt>galland@arakhne.orgE<gt>.
+
+=back
+
+=head1 SEE ALSO
+
+bib2html.pl
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Dyna/child.gif b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Dyna/child.gif
new file mode 100644
index 0000000000..a78d0c9559
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Dyna/child.gif
Binary files differ
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Dyna/emptychild.gif b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Dyna/emptychild.gif
new file mode 100644
index 0000000000..84d1e5d9a3
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Dyna/emptychild.gif
Binary files differ
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Dyna/lastchild.gif b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Dyna/lastchild.gif
new file mode 100644
index 0000000000..9ba960473c
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Dyna/lastchild.gif
Binary files differ
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Dyna/minus.gif b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Dyna/minus.gif
new file mode 100644
index 0000000000..f502662bcc
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Dyna/minus.gif
Binary files differ
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Dyna/plus.gif b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Dyna/plus.gif
new file mode 100644
index 0000000000..eeca02ce00
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Dyna/plus.gif
Binary files differ
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Dyna/samechild.gif b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Dyna/samechild.gif
new file mode 100644
index 0000000000..c9e0f4da03
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Dyna/samechild.gif
Binary files differ
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Dyna/stylesheet.css b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Dyna/stylesheet.css
new file mode 100644
index 0000000000..4258c83fb4
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Dyna/stylesheet.css
@@ -0,0 +1,180 @@
+BODY {
+ background-color : #F0F0F0;
+ color : #000000;
+ font-family : Arial, Tahoma, Helvetica, sans-serif;
+ font-size : 10pt;
+ margin-left : 1em;
+ margin-right : 1em;
+
+}
+
+MATH {
+ background-color : #F0F0F0;
+ color : #000000;
+ font-family : default;
+ font-family: Times New Roman;
+ font-size : 12pt;
+}
+
+A:LINK, A:VISITED {
+ color : #000099;
+}
+
+A:HOVER {
+ background-color : #FFFFFF;
+ color : #00009F;
+}
+
+H1 {
+ color : Black;
+ font-family : Verdana, Tahoma, Arial, Helvetica, sans-serif;
+ font-size : 16pt;
+ padding-bottom : 5px;
+ padding-top : 5px;
+ padding-left : 5px;
+}
+
+H2 {
+ color : Black;
+ font-family : Verdana, Tahoma, Arial, Helvetica, sans-serif;
+ font-size : 14pt;
+ margin-top : 2em;
+}
+
+H3 {
+ color : Navy;
+ font-family : Verdana, Tahoma, Arial, Helvetica, sans-serif;
+ font-size : 12pt;
+ margin-top :1em;
+}
+
+H4 {
+ color : Navy;
+ font-family : Verdana, Tahoma, Arial, Helvetica, sans-serif;
+ font-size : 11pt;
+ background-color : #E6E6FA;
+ padding-bottom : 2px;
+ padding-top : 2px;
+ padding-left : 2px;
+}
+
+H5 {
+ color : Navy;
+ font-family : Verdana, Tahoma, Arial, Helvetica, sans-serif;
+ font-size : 10pt;
+ font-weight : 900;
+ margin-bottom : -1em;
+}
+
+H6 {
+ color : #000000;
+ font-family : Arial, Helvetica, sans-serif;
+ font-size : 10pt;
+ font-weight : 800;
+ margin-bottom : -1em;
+}
+
+BLOCKQUOTE {
+ margin-left : 0;
+}
+
+CAPTION {
+ font-family : Verdana, Tahoma, Arial, Helvetica, sans-serif;
+ font-weight : 800;
+}
+
+TH {
+ background-color : #FFFFFF;
+}
+
+TD {
+ background-color : #F0F0F0;
+ font-size : 10pt;
+}
+
+CODE {
+ font-size: 8pt;
+}
+
+SPAN.functionlinenumber {
+ font-size : 10pt;
+ font-weight : 600;
+ color : #000000;
+}
+
+SPAN.small {
+ font-size : 8pt;
+}
+
+SPAN.tiny {
+ font-size : 8pt;
+}
+
+UL {
+ margin: 7px;
+ padding: 5px;
+ padding-left: 5px;
+}
+
+LI {
+ text-indent: -15px;
+ padding-bottom: 2px;
+ padding-left: 14px;
+}
+
+TD.largetabletitle {
+ color : Navy;
+ font-family : Verdana, Tahoma, Arial, Helvetica, sans-serif;
+ font-size : 12pt;
+ background-color : #E6E6FA;
+ padding-bottom : 2px;
+ padding-top : 2px;
+ padding-left : 2px;
+}
+
+TD.tabletitle {
+ color : Navy;
+ font-family : Verdana, Tahoma, Arial, Helvetica, sans-serif;
+ font-size : 11pt;
+ background-color : #E6E6FA;
+ padding-bottom : 2px;
+ padding-top : 2px;
+ padding-left : 2px;
+}
+
+TD.smalltabletitle {
+ color : Navy;
+ font-family : Verdana, Tahoma, Arial, Helvetica, sans-serif;
+ font-size : 10pt;
+ background-color : #E8E8FD;
+ padding-bottom : 2px;
+ padding-top : 2px;
+ padding-left : 2px;
+}
+
+TD.tinytabletitle {
+ color : Navy;
+ font-family : Verdana, Tahoma, Arial, Helvetica, sans-serif;
+ font-size : 8pt;
+ background-color : #E8E8FD;
+ padding-bottom : 2px;
+ padding-top : 2px;
+ padding-left : 2px;
+}
+
+TD.TreeText {
+ font-family : Arial, Tahoma, Helvetica, sans-serif;
+ font-size : 10pt;
+ padding-bottom : 0px;
+ padding-top : 0px;
+ padding-left : 0px;
+ padding-right : 0px;
+}
+
+TBODY.smalltable {
+ font-size : 8pt;
+}
+
+TBODY.tinytable {
+ font-size : 8pt;
+}
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Simple.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Simple.pm
new file mode 100644
index 0000000000..9f96969d9f
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Theme/Simple.pm
@@ -0,0 +1,678 @@
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+=pod
+
+=head1 NAME
+
+Bib2HTML::Generator::Theme::Simple - A theme for the HTML generator
+
+=head1 SYNOPSYS
+
+use Bib2HTML::Generator::Theme::Simple ;
+
+my $gen = Bib2HTML::Generator::Theme::Simple->new( generator,
+ bib2html,
+ target,
+ title,
+ lang ) ;
+
+=head1 DESCRIPTION
+
+Bib2HTML::Generator::Theme::Simple is a Perl module, which proposes
+a documentation theme for the HTML generator of bib2html.
+
+=head1 GETTING STARTED
+
+=head2 Initialization
+
+To start a generator script, say something like this:
+
+ use Bib2HTML::Generator::Theme::Simple;
+
+ my $gen = Bib2HTML::Generator::Theme::Simple->new( $generator,
+ { 'VERSION' => '0.11' },
+ './bib_output',
+ 'Title',
+ $lang ) ;
+
+...or something similar. Acceptable parameters to the constructor are:
+
+=over
+
+=item * parent (object ref)
+
+is a reference to the current HTML generator.
+
+=item * bib2html (hash)
+
+contains some data about bib2html.
+
+=item * target (string)
+
+The directory in which the documentation must be put.
+
+=item * title (string)
+
+is the title of the documentation.
+
+=item * lang (object ref)
+
+is a reference to the language object.
+
+=back
+
+=head1 METHOD DESCRIPTIONS
+
+This section contains only the methods in Simple.pm itself.
+
+=over
+
+=cut
+
+package Bib2HTML::Generator::Theme::Simple;
+
+@ISA = ('Bib2HTML::Generator::Theme');
+@EXPORT = qw();
+@EXPORT_OK = qw();
+
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+use Exporter;
+
+use Carp ;
+use File::Spec ;
+
+use Bib2HTML::Generator::Theme ;
+use Bib2HTML::General::Verbose ;
+use Bib2HTML::General::Error ;
+use Bib2HTML::General::Misc ;
+use Bib2HTML::General::HTML ;
+
+#------------------------------------------------------
+#
+# Global vars
+#
+#------------------------------------------------------
+
+# Version number of theme
+my $VERSION = "5.0" ;
+
+#------------------------------------------------------
+#
+# Constructor
+#
+#------------------------------------------------------
+
+sub new($$$$$) : method {
+ my $proto = shift;
+ my $class = ref($proto) || $proto;
+ my $self = $class->SUPER::new( @_ ) ;
+
+ $self->{'BACKGROUND_COLOR'} = '#FFFFFF' ;
+
+ bless( $self, $class );
+ return $self;
+}
+
+#------------------------------------------------------
+#
+# Validation
+#
+#------------------------------------------------------
+
+=pod
+
+=item * getMyValidHTML()
+
+Replies the list of W3C protocols for which this theme
+was validated. You must override this method.
+
+=cut
+sub getMyValidHTML() {
+ my $self = shift ;
+ return ( 'html' ) ;
+}
+
+#------------------------------------------------------
+#
+# Sectioning
+#
+#------------------------------------------------------
+
+=pod
+
+=item * section()
+
+Replies a section
+Takes 3 args:
+
+=over
+
+=item * title (string)
+
+is the title of the new section.
+
+=item * content (string)
+
+is the content of the new section
+
+=item * root (string)
+
+is the root directory for the generated documentation.
+
+=back
+
+=cut
+sub section($$$) : method {
+ my $self = shift ;
+ my $title = $_[0] || confess( 'you must specify the title' ) ;
+ my $content = $_[1] || '' ;
+ my $rootdir = $_[2] || confess( 'you must specify the root directory' ) ;
+ return $self->par( join( '',
+ "<table BORDER=\"0\" WIDTH=\"100%\" ",
+ "CELLPADDING=\"1\" CELLSPACING=\"0\">\n",
+ "<tr>\n",
+ "<td BGCOLOR=\"#EEEEFF\">\n",
+ $title,
+ "</td>",
+ "</tr>\n",
+ "</table><br>\n",
+ $content ) ) ;
+}
+
+#------------------------------------------------------
+#
+# Right Frames
+#
+#------------------------------------------------------
+
+
+=pod
+
+=item * frame_subpart()
+
+Replies a subpart of a frame
+Takes 3 args:
+
+=over
+
+=item * title (string)
+
+is the title of the part.
+
+=item * text (array)
+
+is the content of the frame.
+
+=item * rootdir (string)
+
+is the path to the root directory.
+
+=back
+
+=cut
+sub frame_subpart($$$) : method {
+ my $self = shift ;
+ my $title = $_[0] || '' ;
+ my $content = "<P>" ;
+ if ( $title ) {
+ $content .= "<FONT size=\"+1\">$title</FONT><BR>\n" ;
+ }
+ if ( isarray( $_[1] ) ) {
+ foreach my $line (@{$_[1]}) {
+ $content .= $line."<BR>\n" ;
+ }
+ }
+ return $content."</P>\n" ;
+}
+
+=pod
+
+=item * frame_window()
+
+Replies a frame
+Takes 3 args:
+
+=over
+
+=item * title (string)
+
+is the title of the frame (could be empty).
+
+=item * text (string)
+
+is the content of the frame.
+
+=item * prefix (optional string)
+
+is a string which is put before the title
+
+=back
+
+=cut
+sub frame_window($$) : method {
+ my $self = shift ;
+ my $title = $_[0] || '' ;
+ my $text = $_[1] || '' ;
+ return join( '',
+ ( $_[2] ? $self->par($_[2]) : '' ),
+ ($title ? "<FONT size=\"+1\"><B>$title</B></FONT>":''),
+ "<TABLE BORDER=\"0\" WIDTH=\"100%\">\n<TR>\n",
+ "<TD NOWRAP>",
+ $text,
+ "</TD></TR></TABLE><BR>\n" ) ;
+}
+
+#------------------------------------------------------
+#
+# Navigation
+#
+#------------------------------------------------------
+
+=pod
+
+=item * get_navigation_bar()
+
+Replies the navigation bar.
+Takes 3 args:
+
+=over
+
+=item * url (string)
+
+is the url of the generated page.
+
+=item * params (hash ref)
+
+is a set of parameters used to generate the bar.
+
+=item * root (string)
+
+is the root directory for the generated documentation.
+
+=back
+
+=cut
+sub get_navigation_bar($$$) : method {
+ my $self = shift ;
+ my $thispage = $_[0] || confess( 'the url must be provided' ) ;
+ my $rootdir = $_[2] || confess( "the rootdir must be supplied" ) ;
+ confess( 'params is not an associative aray' ) unless (ishash($_[1])) ;
+
+ my $overview = "<b>".$self->{'LANG'}->get('I18N_LANG_OVERVIEW')."</b>" ;
+ my $tree = "<b>".$self->{'LANG'}->get('I18N_LANG_TREE')."</b>" ;
+ my $index = "" ;
+ my $newbuttons = '';
+
+ my $prev = html_uc( $self->{'LANG'}->get('I18N_LANG_PREV') ) ;
+ my $next = html_uc( $self->{'LANG'}->get('I18N_LANG_NEXT') ) ;
+
+ if ( ! $_[1]{'overview'} ) {
+ $overview = $self->ext_wt_href('overview-summary',$overview,$rootdir) ;
+ }
+ if ( ! $_[1]{'tree'} ) {
+ $tree = $self->ext_wt_href('overview-tree',$tree,$rootdir) ;
+ }
+ if ( $_[1]{'index'} ) {
+ $index = $self->href( htmlcatfile( $rootdir,
+ $self->filename('index',0) ),
+ "<b>".$self->{'LANG'}->get('I18N_LANG_INDEX')."</b>",
+ $self->browserframe('index') ) ;
+ if ($index) {
+ $index = "<td BGCOLOR=\"#EEEEFF\">&nbsp;$index&nbsp;</td>\n";
+ }
+ }
+ if ( $_[1]{'previous'} ) {
+ $prev = $self->href($_[1]{'previous'},$prev) ;
+ }
+ if ( $_[1]{'next'} ) {
+ $next = $self->href($_[1]{'next'},$next) ;
+ }
+
+ if ( $_[1]{'notree'} ) {
+ $tree = "" ;
+ }
+ else {
+ $tree = "<td BGCOLOR=\"#EEEEFF\">&nbsp;$tree&nbsp;</td>\n" ;
+ }
+
+ # new buttons
+ if ( ( $_[1]{'userdef'} ) &&
+ ( ! isemptyarray($_[1]->{'userdef'}) ) ) {
+ foreach my $button (@{$_[1]->{'userdef'}}) {
+ if ( ($button->{'url'}) && ($button->{'label'}) ) {
+ my $str = $self->href($button->{'url'},
+ $self->{'LANG'}->get($button->{'label'})) ;
+ $newbuttons .= "<td BGCOLOR=\"#EEEEFF\">&nbsp;<B>$str</B>&nbsp;</td>\n" ;
+ }
+ }
+ }
+
+ my $content = join( '',
+ "<table BORDER=\"0\" WIDTH=\"100%\" ",
+ "CELLPADDING=\"1\" CELLSPACING=\"0\">\n",
+ "<tr>\n",
+ "<td COLSPAN=2 BGCOLOR=\"#EEEEFF\">\n",
+ # First row
+ "<table BORDER=\"0\" CELLPADDING=\"0\" ",
+ "CELLSPACING=\"3\">\n",
+ "<tr ALIGN=\"center\" VALIGN=\"top\">\n",
+ "<td BGCOLOR=\"#EEEEFF\">&nbsp;$overview&nbsp;</td>\n",
+ $tree,
+ $newbuttons,
+ $index,
+ "</tr>\n</table>\n",
+ "</td>\n",
+ # Name of the doc
+ "<td ALIGN=\"right\" VALIGN=\"top\" ROWSPAN=3><em><b>",
+ $self->{'TITLE'},
+ "</b></em></td>\n</tr>\n",
+ # Second row
+ "<tr>\n",
+ "<td BGCOLOR=\"white\"><font SIZE=\"-2\">",
+ "$prev&nbsp;&nbsp;$next",
+ "</font></td>\n",
+ "<td BGCOLOR=\"white\"><font SIZE=\"-2\">",
+ $self->ext_href('main_index',"<b>".
+ html_uc( $self->{'LANG'}->get('I18N_LANG_FRAMES') ).
+ "</b>",$rootdir),
+ "&nbsp;&nbsp;",
+ $self->href($thispage,"<b>".
+ html_uc( $self->{'LANG'}->get('I18N_LANG_NO_FRAME') ).
+ "</b>",
+ $self->browserframe('main_index')),
+ "&nbsp;</font></td>\n",
+ "</tr>\n",
+ "</table>\n"
+ ) ;
+}
+
+#------------------------------------------------------
+#
+# Tabulars
+#
+#------------------------------------------------------
+
+=pod
+
+=item * build_onecolumn_array()
+
+Replies an one-column array.
+Takes 2 args:
+
+=over
+
+=item * title (string)
+
+is the title of the array
+
+=item * cells (array ref)
+
+is the content of the returned cells.
+
+=back
+
+=cut
+sub build_onecolumn_array($$) : method {
+ my $self = shift ;
+ my $content = join( '',
+ "<DIV><TABLE BORDER=\"1\" ",
+ "CELLPADDING=\"3\" CELLSPACING=\"0\" ",
+ "WIDTH=\"100%\">\n",
+ "<TR BGCOLOR=\"#CCCCFF\">\n",
+ "<TD COLSPAN=2><FONT SIZE=\"+2\"><B>",
+ $_[0] || '',
+ "</B></FONT></TD>\n",
+ "</TR>\n" ) ;
+ confess( 'cells is not an array' ) unless (isarray($_[1])) ;
+ foreach my $case (@{$_[1]}) {
+ $content .= join( '',
+ "<TR BGCOLOR=\"white\">",
+ "<TD WIDTH=\"20%\" ALIGN=\"left\" VALIGN=\"top\">",
+ $case,
+ "</TD>",
+ "</TR>\n" ) ;
+ }
+ $content .= "</TABLE><BR></DIV>\n" ;
+ return $content ;
+}
+
+=pod
+
+=item * build_small_array()
+
+Replies an small one-column array.
+Takes 2 args:
+
+=over
+
+=item * title (string)
+
+is the title of the array
+
+=item * cells (array ref)
+
+is the content of the returned cells.
+
+=back
+
+=cut
+sub build_small_array($$) : method {
+ my $self = shift ;
+ my $content = join( '',
+ "<P><TABLE BORDER=\"1\" CELLPADDING=\"3\" ",
+ "CELLSPACING=\"0\" WIDTH=\"100%\">\n",
+ "<TR BGCOLOR=\"#EEEEFF\">\n",
+ "<TD><B>",
+ $_[0] || '',
+ "</B></TD>\n",
+ "</TR>\n" ) ;
+ confess( 'cells is not an array' ) unless (isarray($_[1])) ;
+ foreach my $case (@{$_[1]}) {
+ $content .= join( '',
+ "<TR BGCOLOR=\"white\">",
+ "<TD ALIGN=\"left\" VALIGN=\"top\">",
+ $case,
+ "</TD></TR>\n" ) ;
+ }
+ $content .= "</TABLE></P>\n" ;
+ return $content ;
+}
+
+=pod
+
+=item * build_tiny_array()
+
+Replies an small one-column array.
+Takes 2 args:
+
+=over
+
+=item * title (string)
+
+is the title of the array
+
+=item * cells (array ref)
+
+is the content of the returned cells.
+
+=back
+
+=cut
+sub build_tiny_array($$) : method {
+ my $self = shift ;
+ my $content = join( '',
+ "<P><TABLE BORDER=\"1\" CELLPADDING=\"3\" ",
+ "CELLSPACING=\"0\" WIDTH=\"100%\">\n",
+ "<TR BGCOLOR=\"#EEEEEFF\">\n",
+ "<TD><FONT SIZE=\"-1\"><B>",
+ $_[0] || '',
+ "</B></FONT></TD>\n",
+ "</TR>\n" ) ;
+ confess( 'cells is not an array' ) unless (isarray($_[1])) ;
+ foreach my $case (@{$_[1]}) {
+ $content .= join( '',
+ "<TR BGCOLOR=\"white\">",
+ "<TD ALIGN=\"left\" VALIGN=\"top\">",
+ "<FONT SIZE=\"-1\">",
+ $case,
+ "</FONT>",
+ "</TD></TR>\n" ) ;
+ }
+ $content .= "</TABLE></P>\n" ;
+ return $content ;
+}
+
+=pod
+
+=item * build_twocolumn_array()
+
+Replies an two-column array.
+Takes 2 args:
+
+=over
+
+=item * title (string)
+
+is the title of the array
+
+=item * cells (array ref)
+
+is the content of the returned cells.
+
+=back
+
+=cut
+sub build_twocolumn_array($$) : method {
+ my $self = shift ;
+ my $content = join( '',
+ "<P></P><TABLE BORDER=\"1\" ",
+ "CELLPADDING=\"3\" CELLSPACING=\"0\" ",
+ "WIDTH=\"100%\">\n",
+ "<TR BGCOLOR=\"#CCCCFF\">\n",
+ "<TD COLSPAN=2><FONT SIZE=\"+2\"><B>",
+ $_[0] || '',
+ "</B></FONT></TD>\n",
+ "</TR>\n" ) ;
+ confess( 'cells is not an array' ) unless (isarray($_[1])) ;
+ foreach my $cellule (@{$_[1]}) {
+ my $name = $cellule->{name} ;
+ my $explanation = $cellule->{explanation} || '' ;
+ if ( $name ) {
+ if ( ! $explanation ) {
+ $explanation = "&nbsp;" ;
+ }
+ $content = join( '',
+ $content,
+ "<TR BGCOLOR=\"white\">",
+ "<TD WIDTH=\"20%\" ALIGN=\"left\" VALIGN=\"top\">",
+ $name,
+ "</TD><TD>",
+ $explanation,
+ "</TD></TR>\n" ) ;
+ }
+ }
+ $content .= "</TABLE>\n" ;
+ return $content ;
+}
+
+=pod
+
+=item * build_threecolumn_array()
+
+Replies an two-column array.
+Takes 3 args:
+
+=over
+
+=item * title (string)
+
+is the title of the array
+
+=item * cells (array ref)
+
+is the content of the returned cells.
+
+=item * anchor (string)
+
+is the name of the anchor.
+
+=back
+
+=cut
+sub build_threecolumn_array($$$) : method {
+ my $self = shift ;
+ my $content = join( '',
+ "<P>",
+ ( $_[2] ? "<A NAME=\"$_[2]\"></A>" : '' ),
+ "<TABLE BORDER=\"1\" ",
+ "CELLPADDING=\"3\" CELLSPACING=\"0\" ",
+ "WIDTH=\"100%\">\n",
+ "<TR BGCOLOR=\"#CCCCFF\">\n",
+ "<TD COLSPAN=2><FONT SIZE=\"+2\"><B>",
+ $_[0] || '' ,
+ "</B></FONT></TD>\n",
+ "</TR>\n" ) ;
+ confess( 'cells is not an array' ) unless (isarray($_[1])) ;
+ foreach my $cellule (@{$_[1]}) {
+ my $name = ${%{$cellule}}{name} ;
+ my $explanation = ${%{$cellule}}{explanation} || '' ;
+ my $type = ${%{$cellule}}{type} ;
+ if ( $name ) {
+ if ( ! $explanation ) {
+ $explanation = "&nbsp;" ;
+ }
+ $content = join( '',
+ $content,
+ "<TR BGCOLOR=\"white\"><TD WIDTH=\"1%\" ",
+ "VALIGN=\"top\"><FONT SIZE=\"-1\"><CODE>",
+ $type,
+ "</CODE></FONT></TD>",
+ "<TD ALIGN=\"left\" VALIGN=\"top\"><CODE>",
+ $name,
+ "</CODE><BR>\n",
+ $explanation,
+ "</TD></TR>\n" ) ;
+ }
+ }
+ $content .= "</TABLE></P>\n" ;
+ return $content ;
+}
+
+1;
+__END__
+
+=back
+
+=head1 COPYRIGHT
+
+(c) Copyright 1998-09 Stéphane Galland <galland@arakhne.org>, under GPL.
+
+=head1 AUTHORS
+
+=over
+
+=item *
+
+Conceived and initially developed by Stéphane Galland E<lt>galland@arakhne.orgE<gt>.
+
+=back
+
+=head1 SEE ALSO
+
+bib2html.pl
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Writer.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Writer.pm
new file mode 100644
index 0000000000..f6ace330ba
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/Writer.pm
@@ -0,0 +1,211 @@
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+=pod
+
+=head1 NAME
+
+Bib2HTML::Generator::Writer - An output stream writer
+
+=head1 DESCRIPTION
+
+Bib2HTML::Generator::Writer is a Perl module, which permits to
+abstract the output streams used by bib2html.
+
+=head1 SYNOPSYS
+
+Bib2HTML::Generator::Writer->new( ) ;
+
+=head1 DESCRIPTION
+
+Bib2HTML::Generator::Writer is a Perl module, which permits to
+abstract the output streams used by bib2html.
+
+
+=head1 METHOD DESCRIPTIONS
+
+This section contains only the methods in Writer.pm itself.
+
+=over
+
+=cut
+
+package Bib2HTML::Generator::Writer;
+
+@ISA = ('Exporter');
+@EXPORT = qw();
+@EXPORT_OK = qw();
+
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+use Exporter;
+use Carp ;
+
+#------------------------------------------------------
+#
+# Global vars
+#
+#------------------------------------------------------
+
+# Version number of abstract generator
+my $VERSION = "1.0" ;
+
+#------------------------------------------------------
+#
+# Constructor
+#
+#------------------------------------------------------
+
+sub new() : method {
+ my $proto = shift;
+ my $class = ref($proto) || $proto;
+ my $self = {} ;
+ return $self;
+}
+
+=pod
+
+=item * openstream($)
+
+Open the output stream.
+Takes 1 param:
+
+=over
+
+=item * filename (string)
+
+is the name of the output file.
+
+=back
+
+=cut
+sub openstream($) {
+ my $self = shift;
+ my $filename = shift || confess( 'you must supply the root directory' ) ;
+ return 1;
+}
+
+=pod
+
+=item * out($)
+
+Put a string into the output stream.
+Takes 1 param:
+
+=over
+
+=item * str (string)
+
+is the string to output.
+
+=back
+
+=cut
+sub out($) {
+ my $self = shift;
+ my $str = shift || '';
+ return 1;
+}
+
+=pod
+
+=item * closestream()
+
+Close the currently opened stream.
+
+=cut
+sub closestream() {
+ my $self = shift;
+ return 1;
+}
+
+=pod
+
+=item * create_output_directory()
+
+Create the output directory if required.
+Replies the output filename (directory).
+Takes n params:
+
+=over
+
+=item * output (string)
+
+is the output directory to create
+
+=pod
+
+=item * create_output_directory()
+
+Create the output directory if required.
+Replies the output filename (directory).
+Takes n params:
+
+=over
+
+=item * output (string)
+
+is the output directory to create.
+
+=item * exceptions (list of strings)
+
+is the list of the file in the existing output directory
+to not remove.
+
+=back
+
+=cut
+sub create_output_directory($@) {
+ my $self = shift;
+ my $output = shift;
+ return $output;
+}
+
+=pod
+
+=item * is_file_creation_allowed()
+
+Replies if this writer allows to create files.
+
+=cut
+sub is_file_creation_allowed() {
+ my $self = shift;
+ return undef;
+}
+
+1;
+__END__
+
+=back
+
+=head1 COPYRIGHT
+
+(c) Copyright 1998-09 Stéphane Galland E<lt>galland@arakhne.orgE<gt>, under GPL.
+
+=head1 AUTHORS
+
+=over
+
+=item *
+
+Conceived and initially developed by Stéphane Galland E<lt>galland@arakhne.orgE<gt>.
+
+=back
+
+=head1 SEE ALSO
+
+bib2html.pl
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/XMLGen.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/XMLGen.pm
new file mode 100644
index 0000000000..300a8fedb5
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/XMLGen.pm
@@ -0,0 +1,1364 @@
+# Copyright (C) 2004-07 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+=pod
+
+=head1 NAME
+
+Bib2HTML::Generator::XMLGen - A basic XML generator
+
+=head1 SYNOPSYS
+
+use Bib2HTML::Generator::XMLGen ;
+
+my $gen = Bib2HTML::Generator::XMLGen->new( content, output, info, titles,
+ lang, theme, params ) ;
+
+=head1 DESCRIPTION
+
+Bib2HTML::Generator::XMLGen is a Perl module, which permits to
+generate XML pages for the BibTeX database.
+The generated XML file is compliant with the DTD from
+http://bibtexml.sf.net/
+
+=head1 GETTING STARTED
+
+=head2 Initialization
+
+To start a generator script, say something like this:
+
+ use Bib2HTML::Generator::XMLGen;
+
+ my $gen = Bib2HTML::Generator::XMLGen->new( { }, "./bib",
+ { 'BIB2HTML_VERSION' => "0.1",
+ },
+ { 'SHORT' => "This is the title",
+ 'LONG' => "This is the title",
+ },
+ "English",
+ "Simple", ""
+ ) ;
+
+...or something similar. Acceptable parameters to the constructor are:
+
+=over
+
+=item * content (hash)
+
+see AbstractGenerator help.
+
+=item * output (string)
+
+see AbstractGenerator help.
+
+=item * bib2html_data (hash)
+
+see AbstractGenerator help.
+
+=item * titles (hash)
+
+see AbstractGenerator help.
+
+=item * lang (string)
+
+see AbstractGenerator help.
+
+=item * theme (string)
+
+is the name of the theme to use
+
+=item * show_bibtex (boolean)
+
+indicates if this parser must generate a verbatim of the BibTeX code
+
+=item * params (optional array)
+
+is the set of parameters passed to the generator.
+
+=back
+
+=head1 METHOD DESCRIPTIONS
+
+This section contains only the methods in HTMLGen.pm itself.
+
+=over
+
+=cut
+
+package Bib2HTML::Generator::XMLGen;
+
+@ISA = ('Bib2HTML::Generator::AbstractGenerator');
+@EXPORT_OK = qw();
+
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+use Carp ;
+use File::Spec ;
+use File::Basename ;
+
+use Bib2HTML::Generator::AbstractGenerator;
+use Bib2HTML::General::Misc;
+use Bib2HTML::General::Error;
+use Bib2HTML::General::HTML;
+use Bib2HTML::General::Encode;
+
+#------------------------------------------------------
+#
+# Global vars
+#
+#------------------------------------------------------
+
+# Version number of this generator
+my $VERSION = "1.0" ;
+
+#------------------------------------------------------
+#
+# Constructor
+#
+#------------------------------------------------------
+
+sub new($$$$$$$;$) : method {
+ my $proto = shift;
+ my $class = ref($proto) || $proto;
+
+ my @langs = ();
+ if (isarray($_[4])) {
+ foreach my $l (@{$_[4]}) {
+ if ($l !~ /_[a-zA-Z0-9]+Gen$/) {
+ push @langs, $l."_XMLGen";
+ }
+ push @langs, $l;
+ }
+ }
+ else {
+ @langs = ( $_[4] );
+ if ($_[4] !~ /_[a-zA-Z0-9]+Gen$/) {
+ unshift @langs, $_[4]."_XMLGen";
+ }
+ }
+
+ my $self = $class->SUPER::new($_[0], #content
+ $_[1], #output
+ $_[2], #bib2html info
+ $_[3], #titles
+ \@langs, #lang
+ $_[6], #show bibtex
+ $_[7], #params
+ ) ;
+ bless( $self, $class );
+
+ return $self;
+}
+
+#------------------------------------------------------
+#
+# Generation parameters
+#
+#------------------------------------------------------
+
+=pod
+
+=item * save_generator_parameter()
+
+Replies if the specified generator parameter was supported.
+This function was called each time a generator parameter was
+given to this generator. By default, simply update the
+given parameter value (second parameter).
+You could do some stuff before
+saving (splitting...). Replies false is the parameter was
+not recognized. Don't forget to call inherited functions.
+Takes 2 args:
+
+=over
+
+=item * param_name (string)
+
+is the name of the parameter.
+
+=item * param_value (byref string)
+
+is the value of the parameter.
+
+=back
+
+=cut
+sub save_generator_parameter($$) {
+ my $self = shift ;
+ if ( ( $_[0] eq 'xml-encoding' ) ) {
+ # will be saved by PARENT::new
+ return 1 ;
+ }
+ else {
+ return $self->SUPER::save_generator_parameter($_[0],$_[1]) ;
+ }
+}
+
+=pod
+
+=item * display_supported_generator_params()
+
+Display the list of supported generator parameters.
+
+=cut
+sub display_supported_generator_params() {
+ my $self = shift ;
+ $self->SUPER::display_supported_generator_params() ;
+
+ $self->show_supported_param('xml-encoding',
+ 'String, the character encoding used in the HTML pages '.
+ '("UTF8", "ISO-8859-1"...).' );
+}
+
+#------------------------------------------------------
+#
+# Generation API
+#
+#------------------------------------------------------
+
+=pod
+
+=item * pre_processing()
+
+Pre_processing.
+
+=cut
+sub pre_processing() : method {
+ my $self = shift ;
+
+ # Set the HTML encoding
+ if (!$self->{'GENERATOR_PARAMS'}{'xml-encoding'}) {
+ $self->{'GENERATOR_PARAMS'}{'xml-encoding'} = get_default_encoding();
+ }
+ set_default_encoding($self->{'GENERATOR_PARAMS'}{'xml-encoding'});
+
+ # Call inherited generation method
+ $self->SUPER::pre_processing() ;
+}
+
+=pod
+
+=item * do_processing()
+
+Main processing.
+
+=cut
+sub do_processing() : method {
+ my $self = shift ;
+
+ # Call inherited generation method
+ $self->SUPER::do_processing() ;
+
+ # Generates each part of the document
+ my $t = '' ;
+
+ # Generates the content for each entries
+ $self->create_XMLENTRIES($t) ;
+
+ # Generates the complete data file
+ $self->create_XML_file($t) ;
+
+ # Generates the header and the footer
+ $self->create_XMLHEADER($t) ;
+ $self->create_XMLFOOTER($t) ;
+
+ # Create7 file file
+ $self->create_FILE($t) ;
+}
+
+=pod
+
+=item * create_the_xml_entry()
+
+Generates and replies the XML string for the specified entry
+Takes 1 arg:
+
+=over
+
+=item * key (string)
+
+is the key of the bibtex entry.
+
+=back
+
+=cut
+sub create_the_xml_entry($) : method {
+ my $self = shift ;
+ my $key = shift ;
+
+ # Compute entry constants
+ my $type = $self->{'CONTENT'}{'entries'}{"$key"}{'type'} ;
+ my $entry = '' ;
+
+ # Calls the content building function
+ my $fct = "create_XMLENTRY_$type" ;
+ if ( my $funcref = $self->can( $fct ) ) {
+ $self->$funcref( $key,
+ $self->{'CONTENT'}{'entries'}{"$key"},
+ $entry ) ;
+ }
+ else {
+ Bib2HTML::General::Error::warm("I don't know how to generate a '\@".$type.
+ "' for the entry '$key'. Assume '\@misc'",
+ extract_file_from_location( $self->{'CONTENT'}{'entries'}{"$key"}{'location'} ),
+ extract_line_from_location( $self->{'CONTENT'}{'entries'}{"$key"}{'location'} ) ) ;
+ $self->create_XMLENTRY_misc( $key,
+ $self->{'CONTENT'}{'entries'}{"$key"},
+ $entry ) ;
+ }
+
+ # Create the entry's XML string
+ $entry = $self->build_xmltag("bibtex:$type",$entry) ;
+ $entry = $self->build_xmltag("bibtex:entry",$entry,
+ "id=\"$key\"") ;
+ $_[0] .= $entry ;
+}
+
+=pod
+
+=item * create_the_standalone_xml_entry()
+
+Generates and replies the standalone XML string for the specified entry
+Takes 1 arg:
+
+=over
+
+=item * key (string)
+
+is the key of the bibtex entry.
+
+=back
+
+=cut
+sub create_the_standalone_xml_entry($) : method {
+ my $self = shift ;
+
+ my $content = $self->create_the_xml_entry($_[0]) ;
+ $self->create_XML_file($content) ;
+ $self->create_XMLHEADER($content) ;
+ return $content ;
+}
+
+=pod
+
+=item * create_XMLENTRIES()
+
+Generates the XML pages for each entry
+Takes 1 arg:
+
+=over
+
+=item * content (string)
+
+is the content to fill
+
+=back
+
+=cut
+sub create_XMLENTRIES($) : method {
+ my $self = shift ;
+ my @entries = $self->get_all_entries_ayt() ;
+ my $i = $#entries ;
+ while ( $i >= 0 ) {
+ # Compute entry constants
+ my $type = $self->{'CONTENT'}{'entries'}{$entries[$i]}{'type'} ;
+ my $entry = '' ;
+
+ # Calls the content building function
+ my $fct = "create_XMLENTRY_$type" ;
+ if ( my $funcref = $self->can( $fct ) ) {
+ $self->$funcref( $entries[$i],
+ $self->{'CONTENT'}{'entries'}{$entries[$i]},
+ $entry ) ;
+ }
+ else {
+ Bib2HTML::General::Error::warm("I don't know how to generate a '\@".$type.
+ "' for the entry '".$entries[$i]."'. Assume '\@misc'",
+ extract_file_from_location( $self->{'CONTENT'}{'entries'}{$entries[$i]}{'location'} ),
+ extract_line_from_location( $self->{'CONTENT'}{'entries'}{$entries[$i]}{'location'} ) ) ;
+ $self->create_XMLENTRY_misc( $entries[$i],
+ $self->{'CONTENT'}{'entries'}{$entries[$i]},
+ $entry ) ;
+ }
+
+ # Create the entry's XML string
+ $entry = $self->build_xmltag("bibtex:$type",$entry) ;
+ $entry = $self->build_xmltag("bibtex:entry",$entry,
+ "id=\"".$entries[$i]."\"") ;
+ $_[0] .= $entry ;
+
+ $i -- ;
+ }
+}
+
+=pod
+
+=item * create_XMLHEADER
+
+Replies the header of the XML file.
+Takes 1 arg:
+
+=over
+
+=item * content (string)
+
+is the content to fill
+
+=back
+
+=cut
+sub create_XMLHEADER($) : method {
+ my $self = shift ;
+ my $encoding = $self->genparam('xml-encoding') || "ISO-8859-1";
+ $_[0] = join( '',
+ "<?xml version=\"1.0\" encoding=\"",
+ $encoding,
+ "\"?>\n",
+ "<!DOCTYPE bibtex:file PUBLIC \"-//BibTeXML//DTD XML for BibTeX v1.0//EN\" \"bibteXML-ext.dtd\" >\n",
+ $_[0]);
+}
+
+=pod
+
+=item * create_XMLFOOTER
+
+Replies the header of the XML file.
+Takes 1 arg:
+
+=over
+
+=item * content (string)
+
+is the content to fill
+
+=back
+
+=cut
+sub create_XMLFOOTER($) : method {
+ my $self = shift ;
+ $_[0] = join( '',
+ $_[0],
+ "<!-- File generated with bib2html ",
+ $self->{'BIB2HTML'}{'VERSION'},
+ " the ",
+ "".localtime(),
+ "\n Copyright (c) ",
+ $self->{'BIB2HTML'}{'AUTHOR'},
+ " (",
+ $self->{'BIB2HTML'}{'AUTHOR_EMAIL'},
+ ") -->\n");
+}
+
+=pod
+
+=item * create_XML_file
+
+Create <bibtex:file>
+Takes 1 arg:
+
+=over
+
+=item * content (string)
+
+is the content to fill
+
+=back
+
+=cut
+sub create_XML_file($) : method {
+ my $self = shift ;
+ $_[0] = $self->build_xmltag('bibtex:file',$_[0],
+ "xmlns:bibtex=\"http://bibtexml.sf.net/\"") ;
+}
+
+=pod
+
+=item * create_FILE
+
+Creates the XML file.
+Takes 1 arg:
+
+=over
+
+=item * content (string)
+
+is the content of the XML file.
+
+=back
+
+=cut
+sub create_FILE($) : method {
+ my $self = shift ;
+ Bib2HTML::General::Verbose::two( "Writing ".$self->{'TARGET'}."..." ) ;
+
+ my $writer = $self->get_stream_writer();
+
+ $writer->openstream($self->{'TARGET'});
+ $writer->out($_[0]||'') ;
+ $writer->closestream() ;
+}
+
+=pod
+
+=item * create_XMLENTRY_REQUIREDFIELD()
+
+Generates a required XML field.
+Takes 4 args:
+
+=over
+
+=item * name (string)
+
+is the name of the field.
+
+=item * key (string)
+
+is the key of the entry.
+
+=item * data (hash)
+
+is the data for the entry.
+
+=item * content (ref string)
+
+is the content to update.
+
+=back
+
+=cut
+sub create_XMLENTRY_REQUIREDFIELD($$$$) : method {
+ my $self = shift ;
+ my $name = shift ;
+ my $entrykey = shift ;
+ my $data = shift ;
+
+ my $content = '' ;
+ if ( exists $data->{'fields'}{"$name"} ) {
+ $content = $data->{'fields'}{"$name"} || '' ;
+ }
+ $content = strip_html_tags($content); #get_html_entities() ;
+ $content =~ s/\s+/ /g;
+ $_[0] .= $self->build_xmltag("bibtex:$name",$content) ;
+}
+
+=pod
+
+=item * create_XMLENTRY_OPTIONALFIELD()
+
+Generates a optional XML field.
+Takes 4 args:
+
+=over
+
+=item * name (string)
+
+is the name of the field.
+
+=item * key (string)
+
+is the key of the entry.
+
+=item * data (hash)
+
+is the data for the entry.
+
+=item * content (ref string)
+
+is the content to update.
+
+=back
+
+=cut
+sub create_XMLENTRY_OPTIONALFIELD($$$$) : method {
+ my $self = shift ;
+ my $name = shift ;
+ my $entrykey = shift ;
+ my $data = shift ;
+
+ if ( exists $data->{'fields'}{"$name"} ) {
+ my $content = $data->{'fields'}{"$name"} || '' ;
+ $content = strip_html_tags($content); #get_html_entities(strip_html_tags($content)) ;
+ $content =~ s/\s+/ /g;
+ $_[0] .= $self->build_xmltag("bibtex:$name",$content) ;
+ }
+}
+
+=pod
+
+=item * create_XMLENTRY_NAMEFIELD()
+
+Generates a optional names' XML field.
+Takes 4 args:
+
+=over
+
+=item * name (string)
+
+is the name of the field.
+
+=item * key (string)
+
+is the key of the entry.
+
+=item * data (hash)
+
+is the data for the entry.
+
+=item * content (ref string)
+
+is the content to update.
+
+=back
+
+=cut
+sub create_XMLENTRY_NAMEFIELD($$$$) : method {
+ my $self = shift ;
+ my $name = shift ;
+ my $entrykey = shift ;
+ my $data = shift ;
+
+ if ( exists $data->{'fields'}{"$name"} ) {
+ my @authors = $self->get_all_authors($data->{'fields'}{"$name"} || '') ;
+ my $content = '' ;
+ foreach my $author (@authors) {
+ my $aut = '' ;
+ if (!$author->{'et al'}) {
+ if ($author->{'first'}) {
+ if ($author->{'first'} =~ /^[a-zA-Z]+\.(?:[a-zA-Z]+\.)*$/) {
+ $aut .= $self->build_xmltag('bibtex:initials',
+ strip_html_tags($author->{'first'}));
+ #get_html_entities(strip_html_tags($author->{'first'}))) ;
+ }
+ else {
+ $aut .= $self->build_xmltag('bibtex:first',
+ strip_html_tags($author->{'first'}));
+ # get_html_entities(strip_html_tags($author->{'first'}))) ;
+ }
+ }
+ if ($author->{'last'}) {
+ $aut .= $self->build_xmltag('bibtex:last',
+ strip_html_tags($author->{'last'}));
+ # get_html_entities(strip_html_tags($author->{'last'}))) ;
+ }
+ if ($author->{'von'}) {
+ $aut .= $self->build_xmltag('bibtex:prelast',
+ strip_html_tags($author->{'first'}));
+ # get_html_entities(strip_html_tags($author->{'von'}))) ;
+ }
+ if ($author->{'jr'}) {
+ $aut .= $self->build_xmltag('bibtex:lineage',
+ strip_html_tags($author->{'first'}));
+ # get_html_entities(strip_html_tags($author->{'jr'}))) ;
+ }
+ }
+ $content .= $self->build_xmltag("bibtex:people",$aut) ;
+ }
+ if ($content) {
+ $_[0] .= $self->build_xmltag("bibtex:$name",$content) ;
+ }
+ }
+}
+
+=pod
+
+=item * create_XMLENTRY_KEYWORDSFIELD()
+
+Generates a optional keywords' XML field.
+Takes 4 args:
+
+=over
+
+=item * name (string)
+
+is the name of the field.
+
+=item * key (string)
+
+is the key of the entry.
+
+=item * data (hash)
+
+is the data for the entry.
+
+=item * content (ref string)
+
+is the content to update.
+
+=back
+
+=cut
+sub create_XMLENTRY_KEYWORDSFIELD($$$$) : method {
+ my $self = shift ;
+ my $name = shift ;
+ my $entrykey = shift ;
+ my $data = shift ;
+
+ if ( exists $data->{'fields'}{"$name"} ) {
+ my $content = '' ;
+ my @words ;
+ if ($data->{'fields'}{"$name"} =~ /;,:/) {
+ @words = split(/\s*[;,:]\s*/,$data->{'fields'}{"$name"}) ;
+ }
+ else {
+ @words = split(/\s+/,$data->{'fields'}{"$name"}) ;
+ }
+ foreach my $word (@words) {
+ $content .= $self->build_xmltag('bibtex:keyword',
+ strip_html_tags($word));
+ #get_html_entities(strip_html_tags($word))) ;
+ }
+ if ($content) {
+ $_[0] .= $self->build_xmltag("bibtex:$name",$content) ;
+ }
+ }
+}
+
+=pod
+
+=item * create_XMLENTRY_DEFAULTFIELDS()
+
+Generates the default XML fields.
+Takes 3 args:
+
+=over
+
+=item * key (string)
+
+is the key of the entry.
+
+=item * data (hash)
+
+is the data for the entry.
+
+=item * content (ref string)
+
+is the content to update.
+
+=back
+
+=cut
+sub create_XMLENTRY_DEFAULTFIELDS($$$) : method {
+ my $self = shift ;
+
+ $self->create_XMLENTRY_REQUIREDFIELD('title',@_) ;
+
+ $self->create_XMLENTRY_NAMEFIELD('author',@_) ;
+ $self->create_XMLENTRY_NAMEFIELD('editor',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('year',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('month',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('note',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('abstract',@_) ;
+ $self->create_XMLENTRY_KEYWORDSFIELD('keywords',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('isbn',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('issn',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('lccn',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('url',@_) ;
+
+ if ( exists $_[1]{'fields'}{'annote'} ) {
+ $self->create_XMLENTRY_OPTIONALFIELD('annote',@_) ;
+ }
+ elsif ( exists $_[1]{'fields'}{'comments'} ) {
+ $self->create_XMLENTRY_OPTIONALFIELD('comments',@_) ;
+ }
+}
+
+#------------------------------------------------------
+#
+# Generation of entries API
+#
+#------------------------------------------------------
+
+=pod
+
+=item * create_XMLENTRY_article()
+
+Generates the XML entry for an article.
+Takes 3 args:
+
+=over
+
+=item * key (string)
+
+is the key of the entry.
+
+=item * data (hash)
+
+is the data for the entry.
+
+=item * content (ref string)
+
+is the content to update.
+
+=back
+
+=cut
+sub create_XMLENTRY_article($$$) : method {
+ my $self = shift ;
+ $self->create_XMLENTRY_DEFAULTFIELDS(@_) ;
+
+ $self->create_XMLENTRY_REQUIREDFIELD('journal',@_) ;
+
+ $self->create_XMLENTRY_OPTIONALFIELD('volume',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('number',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('pages',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('year',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('address',@_) ;
+}
+
+=pod
+
+=item * create_XMLENTRY_book()
+
+Generates the XML entry for a book.
+Takes 3 args:
+
+=over
+
+=item * key (string)
+
+is the key of the entry.
+
+=item * data (hash)
+
+is the data for the entry.
+
+=item * content (ref string)
+
+is the content to update.
+
+=back
+
+=cut
+sub create_XMLENTRY_book($$$) : method {
+ my $self = shift ;
+ $self->create_XMLENTRY_DEFAULTFIELDS(@_) ;
+
+ $self->create_XMLENTRY_REQUIREDFIELD('publisher',@_) ;
+
+ $self->create_XMLENTRY_OPTIONALFIELD('series',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('volume',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('number',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('edition',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('year',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('address',@_) ;
+}
+
+=pod
+
+=item * create_XMLENTRY_booklet()
+
+Generates the XML entry for a book's part.
+Takes 3 args:
+
+=over
+
+=item * key (string)
+
+is the key of the entry.
+
+=item * data (hash)
+
+is the data for the entry.
+
+=item * content (ref string)
+
+is the content to update.
+
+=back
+
+=cut
+sub create_XMLENTRY_booklet($$$) : method {
+ my $self = shift ;
+ $self->create_XMLENTRY_DEFAULTFIELDS(@_) ;
+
+ $self->create_XMLENTRY_OPTIONALFIELD('howpublished',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('year',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('address',@_) ;
+}
+
+=pod
+
+=item * create_XMLENTRY_inbook()
+
+Generates the XML entry for a book's part.
+Takes 3 args:
+
+=over
+
+=item * key (string)
+
+is the key of the entry.
+
+=item * data (hash)
+
+is the data for the entry.
+
+=item * content (ref string)
+
+is the content to update.
+
+=back
+
+=cut
+sub create_XMLENTRY_inbook($$$) : method {
+ my $self = shift ;
+ $self->create_XMLENTRY_DEFAULTFIELDS(@_) ;
+
+ $self->create_XMLENTRY_OPTIONALFIELD('howpublished',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('year',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('address',@_) ;
+}
+
+=pod
+
+=item * create_XMLENTRY_incollection()
+
+Generates the XML entry for a collection's article.
+Takes 3 args:
+
+=over
+
+=item * key (string)
+
+is the key of the entry.
+
+=item * data (hash)
+
+is the data for the entry.
+
+=item * content (ref string)
+
+is the content to update.
+
+=back
+
+=cut
+sub create_XMLENTRY_incollection($$$) : method {
+ my $self = shift ;
+ $self->create_XMLENTRY_inproceedings(@_) ;
+}
+
+=pod
+
+=item * create_XMLENTRY_inproceedings()
+
+Generates the XML entry for an article in a conference's proceedings.
+Takes 3 args:
+
+=over
+
+=item * key (string)
+
+is the key of the entry.
+
+=item * data (hash)
+
+is the data for the entry.
+
+=item * content (ref string)
+
+is the content to update.
+
+=back
+
+=cut
+sub create_XMLENTRY_inproceedings($$$) : method {
+ my $self = shift ;
+ $self->create_XMLENTRY_DEFAULTFIELDS(@_) ;
+
+ $self->create_XMLENTRY_REQUIREDFIELD('booktitle',@_) ;
+
+ $self->create_XMLENTRY_OPTIONALFIELD('series',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('editor',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('volume',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('number',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('pages',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('year',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('organization',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('publisher',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('address',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('type',@_) ;
+}
+
+=pod
+
+=item * create_XMLENTRY_manual()
+
+Generates the XML entry for a manual.
+Takes 3 args:
+
+=over
+
+=item * key (string)
+
+is the key of the entry.
+
+=item * data (hash)
+
+is the data for the entry.
+
+=item * content (ref string)
+
+is the content to update.
+
+=back
+
+=cut
+sub create_XMLENTRY_manual($$$) : method {
+ my $self = shift ;
+ $self->create_XMLENTRY_DEFAULTFIELDS(@_) ;
+
+ $self->create_XMLENTRY_OPTIONALFIELD('edition',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('organization',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('year',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('address',@_) ;
+}
+
+=pod
+
+=item * create_XMLENTRY_masterthesis()
+
+Generates the XML entry for a master's thesis.
+Takes 3 args:
+
+=over
+
+=item * key (string)
+
+is the key of the entry.
+
+=item * data (hash)
+
+is the data for the entry.
+
+=item * content (ref string)
+
+is the content to update.
+
+=back
+
+=cut
+sub create_XMLENTRY_masterthesis($$$) : method {
+ my $self = shift ;
+ $self->create_XMLENTRY_phdthesis(@_) ;
+}
+
+=pod
+
+=item * create_XMLENTRY_mastersthesis()
+
+Generates the XML entry for a master's thesis.
+Takes 3 args:
+
+=over
+
+=item * key (string)
+
+is the key of the entry.
+
+=item * data (hash)
+
+is the data for the entry.
+
+=item * content (ref string)
+
+is the content to update.
+
+=back
+
+=cut
+sub create_XMLENTRY_mastersthesis($$$) : method {
+ my $self = shift ;
+ $self->create_XMLENTRY_phdthesis(@_) ;
+}
+
+=pod
+
+=item * create_XMLENTRY_phdthesis()
+
+Generates the XML entry for a PHD thesis.
+Takes 3 args:
+
+=over
+
+=item * key (string)
+
+is the key of the entry.
+
+=item * data (hash)
+
+is the data for the entry.
+
+=item * content (ref string)
+
+is the content to update.
+
+=back
+
+=cut
+sub create_XMLENTRY_phdthesis($$$) : method {
+ my $self = shift ;
+ $self->create_XMLENTRY_DEFAULTFIELDS(@_) ;
+
+ $self->create_XMLENTRY_REQUIREDFIELD('school',@_) ;
+
+ $self->create_XMLENTRY_OPTIONALFIELD('type',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('year',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('address',@_) ;
+}
+
+=pod
+
+=item * create_XMLENTRY_proceedings()
+
+Generates the XML entry for a conference's proceedings.
+Takes 3 args:
+
+=over
+
+=item * key (string)
+
+is the key of the entry.
+
+=item * data (hash)
+
+is the data for the entry.
+
+=item * content (ref string)
+
+is the content to update.
+
+=back
+
+=cut
+sub create_XMLENTRY_proceedings($$$) : method {
+ my $self = shift ;
+ $self->create_XMLENTRY_DEFAULTFIELDS(@_) ;
+
+ $self->create_XMLENTRY_OPTIONALFIELD('series',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('volume',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('number',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('year',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('address',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('organization',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('publisher',@_) ;
+}
+
+=pod
+
+=item * create_XMLENTRY_techreport()
+
+Generates the XML entry for a technical report.
+Takes 3 args:
+
+=over
+
+=item * key (string)
+
+is the key of the entry.
+
+=item * data (hash)
+
+is the data for the entry.
+
+=item * content (ref string)
+
+is the content to update.
+
+=back
+
+=cut
+sub create_XMLENTRY_techreport($$$) : method {
+ my $self = shift ;
+ $self->create_XMLENTRY_DEFAULTFIELDS(@_) ;
+
+ $self->create_XMLENTRY_REQUIREDFIELD('institution',@_) ;
+
+ $self->create_XMLENTRY_OPTIONALFIELD('number',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('year',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('address',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('type',@_) ;
+}
+
+=pod
+
+=item * create_XMLENTRY_unpublished()
+
+Generates the XML entry for an unpublished document.
+Takes 3 args:
+
+=over
+
+=item * key (string)
+
+is the key of the entry.
+
+=item * data (hash)
+
+is the data for the entry.
+
+=item * content (ref string)
+
+is the content to update.
+
+=back
+
+=cut
+sub create_XMLENTRY_unpublished($$$) : method {
+ my $self = shift ;
+ $self->create_XMLENTRY_DEFAULTFIELDS(@_) ;
+}
+
+=pod
+
+=item * create_XMLENTRY_misc()
+
+Generates the XML entry for a miscellaneous document.
+Takes 3 args:
+
+=over
+
+=item * key (string)
+
+is the key of the entry.
+
+=item * data (hash)
+
+is the data for the entry.
+
+=item * content (ref string)
+
+is the content to update.
+
+=back
+
+=cut
+sub create_XMLENTRY_misc($$$) : method {
+ my $self = shift ;
+ $self->create_XMLENTRY_DEFAULTFIELDS(@_) ;
+
+ $self->create_XMLENTRY_OPTIONALFIELD('howpublished',@_) ;
+ $self->create_XMLENTRY_OPTIONALFIELD('year',@_) ;
+}
+
+#------------------------------------------------------
+#
+# Uitility API
+#
+#------------------------------------------------------
+
+=pod
+
+=item * indent
+
+indent the specified string.
+Takes 1 arg:
+
+=over
+
+=item * content (string)
+
+is the content of the XML file.
+
+=back
+
+=cut
+sub indent($) : method {
+ my $self = shift ;
+ my $text = $_[0] || '' ;
+ my @lines = split(/\n/,($_[0]||'')) ;
+ @lines = map { " $_" } @lines ;
+ $text = join("\n",@lines) ;
+ if ( $text !~ /\n$/ ) {
+ $text .= "\n" ;
+ }
+ return $text ;
+}
+
+=pod
+
+=item * build_xmllevel
+
+replies an XML tag built from the parameters.
+Takes 3 args:
+
+=over
+
+=item * name (string)
+
+is the name of the tag.
+
+=item * content (string)
+
+is the content of the tag.
+
+=item * params (optional string)
+
+is the list of parameters for the tags.
+
+=back
+
+=cut
+sub build_xmltag($$;$) : method {
+ my $self = shift ;
+ my $name = $_[0] || confess('you must supply a tag name') ;
+ my $content = $_[1] || '' ;
+ my $params = $_[2] || '' ;
+ if ($content) {
+ my $begin = "<$name".($params?" $params":"").">" ;
+ my $end = "</$name>\n" ;
+ if (($content =~ /\n/)||(length("$begin$content$end")>=40)) {
+ return join( '',
+ "$begin\n",
+ $self->indent($content),
+ "$end" );
+ }
+ else {
+ $content =~ s/^\s+// ;
+ $content =~ s/\s+$// ;
+ return join( '',
+ "$begin",
+ $content,
+ "$end" );
+ }
+ }
+ else {
+ return "<$name".($params?" $params":"")." />" ;
+ }
+}
+
+1;
+__END__
+
+=back
+
+=head1 COPYRIGHT
+
+(c) Copyright 2004-07 Stéphane Galland E<lt>galland@arakhne.orgE<gt>, under GPL.
+
+=head1 AUTHORS
+
+=over
+
+=item *
+
+Conceived and initially developed by Stéphane Galland E<lt>galland@arakhne.orgE<gt>.
+
+=back
+
+=head1 SEE ALSO
+
+bib2html.pl
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/bibteXML-ext.dtd b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/bibteXML-ext.dtd
new file mode 100644
index 0000000000..6d27b24388
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/bibteXML-ext.dtd
@@ -0,0 +1,161 @@
+<!--
+ - File: $Id: bibteXML-ext.dtd, 2003.06.26 13:52:00 vbg Exp $
+ -
+ - This DTD expresses XML markup similar to the BibTeX language
+ - specified for LaTeX, or actually its content model.
+ - For documentation on BibTeX, see
+ - http://www.ctan.org/tex-archive/biblio/bibtex/distribs/doc/
+ -
+ - Suggested invocation:
+ -
+ - <?xml version="1.0" encoding="UTF-8"?>
+ - <!DOCTYPE bibtex:file PUBLIC
+ - "-//BibTeXML//DTD XML for BibTeX (extended) v1.0//EN"
+ - "bibteXML-ext.dtd" >
+ - <bibtex:file xmlns:bibtex="http://bibtexml.sf.net/">
+ - ...
+ - </bibtex:file>
+ -
+ - Available from http://bibtexml.sf.net/
+ -
+ - This code originally developed by
+ - Vidar Bronken Gundersen
+ - Zeger W. Hendrikse
+ -
+ - This program is free software; you can redistribute it and/or
+ - modify it under the terms of the GNU General Public License.
+ - See http://www.gnu.org/copyleft/gpl.html
+ -
+-->
+
+
+<!-- popular user fields -->
+
+<!ENTITY % user.fields
+ "( bibtex:abstract?, bibtex:affiliation?,
+ bibtex:contents?, bibtex:copyright?,
+ (bibtex:isbn | bibtex:issn)?, bibtex:doi?,
+ bibtex:keywords?, bibtex:language?, bibtex:lccn?,
+ bibtex:location?, bibtex:mrnumber?, bibtex:price?,
+ bibtex:size?, bibtex:url?, bibtex:category? )">
+
+<!ENTITY % BibTeXML.common.standard.fields
+ ", bibtex:key?, bibtex:crossref?, %user.fields;">
+
+
+<!-- ..................................................................... -->
+<!-- Other popular fields
+ -
+ - BibTeX is extremely popular, and many people have used it to store
+ - information. Here is a list of some of the more common fields:
+ -
+ - [affiliation] The authors affiliation.
+ - [abstract] An abstract of the work.
+ - [contents] A Table of Contents
+ - [copyright] Copyright information.
+ - [ISBN] The International Standard Book Number.
+ - [ISSN] The International Standard Serial Number.
+ - Used to identify a journal.
+ - [keywords] Key words used for searching or possibly for annotation.
+ - [language] The language the document is in.
+ - [location] A location associated with the entry,
+ - such as the city in which a conference took place.
+ - [LCCN] The Library of Congress Call Number.
+ - I've also seen this as lib-congress.
+ - [mrnumber] The Mathematical Reviews number.
+ - [price] The price of the document.
+ - [size] The physical dimensions of a work.
+ - [URL] The WWW Universal Resource Locator that points to the item being
+ - referenced. This often is used for technical reports to point to the
+ - ftp site where the postscript source of the report is located.
+ -
+ - When using BibTeX with LaTeX you need
+ - BibTeX style files to print these data.
+ -
+ - Ref: www.ecst.csuchico.edu/~jacobsd/bib/formats/bibtex.html
+-->
+
+<!ELEMENT bibtex:abstract (#PCDATA) >
+<!ELEMENT bibtex:affiliation (#PCDATA) >
+<!ELEMENT bibtex:contents (#PCDATA) >
+<!ELEMENT bibtex:copyright (#PCDATA) >
+<!ELEMENT bibtex:isbn (#PCDATA) >
+<!ELEMENT bibtex:issn (#PCDATA) >
+<!ELEMENT bibtex:language (#PCDATA) >
+<!ELEMENT bibtex:lccn (#PCDATA) >
+<!ELEMENT bibtex:location (#PCDATA) >
+<!ELEMENT bibtex:mrnumber (#PCDATA) >
+<!ELEMENT bibtex:price (#PCDATA) >
+<!ELEMENT bibtex:size (#PCDATA) >
+<!ELEMENT bibtex:url (#PCDATA) >
+
+
+<!-- User requested fields
+ - [category] Category of this bibitem
+ - [DOI] The Digital Object Identifier (www.doi.org)
+ - used to redirect to articles, a key like 10.1000/203
+-->
+
+<!ELEMENT bibtex:category (#PCDATA) >
+<!ELEMENT bibtex:doi (#PCDATA) >
+
+
+<!-- ..................................................................... -->
+<!-- Alternative syntax for compound fields
+ - for author, editor, keywords and title fields.
+ - Backwards compatible syntax.
+-->
+
+<!ENTITY % BibTeXML.author.element "IGNORE">
+<!ENTITY % BibTeXML.editor.element "IGNORE">
+
+<!ENTITY % author.qname "(bibtex:author | bibtex:authorlist)">
+<!ENTITY % editor.qname "(bibtex:editor | bibtex:editorlist)">
+
+<!ELEMENT bibtex:authorlist (bibtex:person+) >
+<!ELEMENT bibtex:editorlist (bibtex:person+) >
+<!ELEMENT bibtex:author (#PCDATA) >
+<!ELEMENT bibtex:editor (#PCDATA) >
+
+<!ELEMENT bibtex:person ( ( bibtex:initials |
+ (bibtex:first, bibtex:middle?)),
+ bibtex:prelast?, bibtex:last,
+ bibtex:lineage?)>
+
+<!-- first, middle and last name should be obvious
+ - preLast is for names like Thomas *de* Burghes,
+ - lineage is used for "Jr" in names like "James T. Kirk, Jr."
+ -->
+<!ATTLIST bibtex:person email CDATA #IMPLIED
+ url CDATA #IMPLIED
+>
+<!ELEMENT bibtex:first (#PCDATA) >
+<!ELEMENT bibtex:initials (#PCDATA) >
+<!ELEMENT bibtex:last (#PCDATA) >
+<!ELEMENT bibtex:middle (#PCDATA) >
+<!ELEMENT bibtex:prelast (#PCDATA) >
+<!ELEMENT bibtex:lineage (#PCDATA) >
+
+
+<!ENTITY % BibTeXML.title.element "IGNORE">
+<!ENTITY % title.qname "(bibtex:title | bibtex:titlelist)">
+<!ELEMENT bibtex:titlelist (bibtex:title, bibtex:subtitle?)>
+<!ELEMENT bibtex:subtitle (#PCDATA) >
+<!ELEMENT bibtex:title (#PCDATA) >
+
+<!ENTITY % BibTeXML.keywords.element "IGNORE">
+<!ENTITY % keywords.qname "bibtex:keywords">
+<!ELEMENT bibtex:keywords (bibtex:keyword+) >
+<!ELEMENT bibtex:keyword (#PCDATA) >
+
+
+<!-- ..................................................................... -->
+<!-- reuse the strict BibTeXML DTD -->
+<!ENTITY % BibTeXML-strict PUBLIC
+ "-//BibTeXML//DTD XML for BibTeX v1.0//EN"
+ "bibteXML.dtd">
+%BibTeXML-strict;
+
+
+<!-- ..................................................................... -->
+<!-- End of bibtex dtd -->
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/bibteXML.dtd b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/bibteXML.dtd
new file mode 100644
index 0000000000..ebc4524bd0
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/bibteXML.dtd
@@ -0,0 +1,816 @@
+<!--
+ - File: $Id: bibteXML.dtd, 2003.01.18 21:46:00 vbg Exp $
+ -
+ - This DTD expresses XML markup similar to the BibTeX language
+ - specified for LaTeX, or actually its content model.
+ - For documentation on BibTeX, see
+ - http://www.ctan.org/tex-archive/biblio/bibtex/distribs/doc/
+ -
+ - Suggested invocation:
+ -
+ - <?xml version="1.0" encoding="UTF-8"?>
+ - <!DOCTYPE bibtex:file PUBLIC
+ - "-//BibTeXML//DTD XML for BibTeX v1.0//EN"
+ - "bibteXML.dtd" >
+ - <bibtex:file xmlns:bibtex="http://bibtexml.sf.net/">
+ - ...
+ - </bibtex:file>
+ -
+ - Available from http://bibtexml.sf.net/
+ -
+ - This code originally developed by
+ - Vidar Bronken Gundersen
+ - Zeger W. Hendrikse
+ - Marco Kuhlmann
+ -
+ - This program is free software; you can redistribute it and/or
+ - modify it under the terms of the GNU General Public License.
+ - See http://www.gnu.org/copyleft/gpl.html
+ -
+-->
+
+<!NOTATION BibTeX PUBLIC "-//Oren Patashnik//NOTATION BibTeX Manuals//EN">
+
+<!-- Qualified Names module .............................................. -->
+
+<!-- Qualified Names
+ -
+ - This module is contained in two parts, labeled Section 'A' and 'B':
+ -
+ - Section A declares parameter entities to support namespace-
+ - qualified names, namespace declarations, and name prefixing.
+ -
+ - Section B declares parameter entities used to provide
+ - namespace-qualified names for all element types.
+ -
+ - This module is derived from the XHTML Qualified Names Template module.
+ -
+-->
+
+<!-- Section A: XML Namespace Framework :::::::::::::::::::: -->
+
+<!ENTITY % NS.prefixed "INCLUDE" >
+<!ENTITY % BibTeXML.prefixed "%NS.prefixed;" >
+
+
+<!ENTITY % BibTeXML.xmlns "http://bibtexml.sf.net/" >
+<!ENTITY % BibTeXML.prefix "bibtex" >
+<![%BibTeXML.prefixed;[
+<!ENTITY % BibTeXML.xmlns.extra.attrib "" >
+]]>
+<!ENTITY % BibTeXML.xmlns.extra.attrib
+ "" >
+
+<![%BibTeXML.prefixed;[
+<!ENTITY % BibTeXML.pfx "%BibTeXML.prefix;:" >
+<!ENTITY % BibTeXML.xmlns.attrib
+ "xmlns:%BibTeXML.prefix; CDATA #FIXED '%BibTeXML.xmlns;'
+ %BibTeXML.xmlns.extra.attrib;"
+>
+]]>
+<!ENTITY % BibTeXML.pfx "" >
+<!ENTITY % BibTeXML.xmlns.attrib
+ "xmlns CDATA #FIXED '%BibTeXML.xmlns;'
+ %BibTeXML.xmlns.extra.attrib;"
+>
+
+<![%NS.prefixed;[
+<!ENTITY % XHTML.xmlns.extra.attrib
+ "%BibTeXML.xmlns.attrib;" >
+]]>
+<!ENTITY % XHTML.xmlns.extra.attrib
+ "%BibTeXML.xmlns.attrib;"
+>
+
+<!-- Section B: Qualified Names ::::::::::::::::::::::::::::: -->
+
+<!-- 9. This section declares parameter entities used to provide
+ - namespace-qualified names for all element types.
+-->
+
+<!ENTITY % file.qname "%BibTeXML.pfx;file" >
+<!ENTITY % entry.qname "%BibTeXML.pfx;entry" >
+
+<!ENTITY % article.qname "%BibTeXML.pfx;article" >
+<!ENTITY % book.qname "%BibTeXML.pfx;book" >
+<!ENTITY % booklet.qname "%BibTeXML.pfx;booklet" >
+<!ENTITY % manual.qname "%BibTeXML.pfx;manual" >
+<!ENTITY % techreport.qname "%BibTeXML.pfx;techreport" >
+<!ENTITY % mastersthesis.qname "%BibTeXML.pfx;mastersthesis" >
+<!ENTITY % phdthesis.qname "%BibTeXML.pfx;phdthesis" >
+<!ENTITY % inbook.qname "%BibTeXML.pfx;inbook" >
+<!ENTITY % incollection.qname "%BibTeXML.pfx;incollection" >
+<!ENTITY % proceedings.qname "%BibTeXML.pfx;proceedings" >
+<!ENTITY % inproceedings.qname "%BibTeXML.pfx;inproceedings" >
+<!ENTITY % conference.qname "%BibTeXML.pfx;conference" >
+<!ENTITY % unpublished.qname "%BibTeXML.pfx;unpublished" >
+<!ENTITY % misc.qname "%BibTeXML.pfx;misc" >
+
+<!ENTITY % address.qname "%BibTeXML.pfx;address" >
+<!ENTITY % author.qname "%BibTeXML.pfx;author" >
+<!ENTITY % booktitle.qname "%BibTeXML.pfx;booktitle" >
+<!ENTITY % chapter.qname "%BibTeXML.pfx;chapter" >
+<!ENTITY % edition.qname "%BibTeXML.pfx;edition" >
+<!ENTITY % editor.qname "%BibTeXML.pfx;editor" >
+<!ENTITY % howpublished.qname "%BibTeXML.pfx;howpublished" >
+<!ENTITY % institution.qname "%BibTeXML.pfx;institution" >
+<!ENTITY % journal.qname "%BibTeXML.pfx;journal" >
+<!ENTITY % month.qname "%BibTeXML.pfx;month" >
+<!ENTITY % note.qname "%BibTeXML.pfx;note" >
+<!ENTITY % number.qname "%BibTeXML.pfx;number" >
+<!ENTITY % organization.qname "%BibTeXML.pfx;organization" >
+<!ENTITY % pages.qname "%BibTeXML.pfx;pages" >
+<!ENTITY % publisher.qname "%BibTeXML.pfx;publisher" >
+<!ENTITY % school.qname "%BibTeXML.pfx;school" >
+<!ENTITY % series.qname "%BibTeXML.pfx;series" >
+<!ENTITY % title.qname "%BibTeXML.pfx;title" >
+<!ENTITY % type.qname "%BibTeXML.pfx;type" >
+<!ENTITY % volume.qname "%BibTeXML.pfx;volume" >
+<!ENTITY % year.qname "%BibTeXML.pfx;year" >
+
+<!ENTITY % key.qname "%BibTeXML.pfx;key" >
+<!ENTITY % crossref.qname "%BibTeXML.pfx;crossref" >
+<!ENTITY % annote.qname "%BibTeXML.pfx;annote" >
+
+
+<!-- ignores subsequent instantiation of this module when
+ - used as external subset rather than module fragment.
+ - NOTE: Do not modify this parameter entity, otherwise
+ - a recursive parsing situation may result.
+-->
+<!ENTITY % BibTeXML-qname.module "IGNORE" >
+
+
+<!-- if %NS.prefixed; is INCLUDE, include all NS attributes,
+ otherwise just those associated with MathML
+-->
+<![%NS.prefixed;[
+ <!ENTITY % BibTeXML.NamespaceDecl.attrib
+ "%BibTeXML.xmlns.attrib;"
+>
+]]>
+<!ENTITY % BibTeXML.NamespaceDecl.attrib
+ "%BibTeXML.xmlns.attrib;"
+>
+
+
+<!-- ..................................................................... -->
+<!-- Main structure -->
+
+<!-- %entry.qname; may contain one of the bibliographic types. -->
+
+<!ENTITY % BibTeXML.standard.entries.class
+ "%article.qname; | %book.qname; | %booklet.qname; |
+ %manual.qname; | %techreport.qname; |
+ %mastersthesis.qname; | %phdthesis.qname; |
+ %inbook.qname; | %incollection.qname; |
+ %proceedings.qname; | %inproceedings.qname; | %conference.qname; |
+ %unpublished.qname; | %misc.qname; ">
+
+<!ENTITY % BibTeXML.additional.entries.class "">
+
+<!ENTITY % BibTeXML.entries.class
+ "%BibTeXML.standard.entries.class;
+ %BibTeXML.additional.entries.class;">
+
+<!ENTITY % BibTeXML.entry.module "INCLUDE">
+<![%BibTeXML.entry.module;[
+<!ENTITY % BibTeXML.entry.element "INCLUDE">
+<![%BibTeXML.entry.element;[
+<!ELEMENT %entry.qname; (%BibTeXML.entries.class;)>
+]]>
+<!ENTITY % BibTeXML.entry.attlist "INCLUDE">
+<![%BibTeXML.entry.attlist;[
+<!ATTLIST %entry.qname;
+ id ID #REQUIRED >
+]]>
+]]>
+
+
+<!-- %file.qname; is the document top element with a namespace indicator. -->
+
+<!ENTITY % BibTeXML.file.module "INCLUDE">
+<![%BibTeXML.file.module;[
+<!ENTITY % BibTeXML.file.element "INCLUDE">
+<![%BibTeXML.file.element;[
+<!ELEMENT %file.qname; (%entry.qname;)* >
+]]>
+<!ENTITY % BibTeXML.file.attlist "INCLUDE">
+<![%BibTeXML.file.attlist;[
+<!ATTLIST %file.qname;
+ %BibTeXML.NamespaceDecl.attrib; >
+]]>
+]]>
+
+
+<!-- ..................................................................... -->
+<!-- Parameter entities -->
+
+<!-- these are additional elements often used, but not included in the
+ standard BibTeX distribution, these must be added to the
+ bibliography styles, otherwise these fields will be omitted by
+ the formatter -->
+
+<!ENTITY % BibTeXML.common.standard.fields
+ ", %key.qname;?, %crossref.qname;?" >
+
+<!ENTITY % BibTeXML.additional.fields "">
+
+
+<!-- ..................................................................... -->
+<!-- Entries in the BibTeX database -->
+
+<!-- [article] An article from a journal or magazine.
+ - Required fields: author, title, journal, year.
+ - Optional fields: volume, number, pages, month, note. -->
+
+<!ENTITY % BibTeXML.article.module "INCLUDE">
+<![%BibTeXML.article.module;[
+<!ENTITY % BibTeXML.article.standard.fields
+ "%author.qname;, %title.qname;, %journal.qname;,
+ %year.qname;, %volume.qname;?, %number.qname;?,
+ %pages.qname;?, %month.qname;?, %note.qname;?">
+<!ENTITY % BibTeXML.article.additional.fields
+ "%BibTeXML.additional.fields;">
+<!ENTITY % BibTeXML.article.fields
+ "%BibTeXML.article.standard.fields;
+ %BibTeXML.common.standard.fields;
+ %BibTeXML.article.additional.fields;">
+<!ENTITY % BibTeXML.article.element "INCLUDE">
+<![%BibTeXML.article.element;[
+<!ELEMENT %article.qname; (%BibTeXML.article.fields;)?>
+]]>
+]]>
+
+
+<!-- [book] A book with an explicit publisher.
+ - Required fields: author or editor, title, publisher, year.
+ - Optional fields: volume or number, series, address,
+ - edition, month, note. -->
+
+<!ENTITY % BibTeXML.book.module "INCLUDE">
+<![%BibTeXML.book.module;[
+<!ENTITY % BibTeXML.book.standard.fields
+ "(%author.qname; | %editor.qname;), %title.qname;, %publisher.qname;,
+ %year.qname;, (%volume.qname; | %number.qname;)?, %series.qname;?,
+ %address.qname;?, %edition.qname;?, %month.qname;?, %note.qname;?">
+<!ENTITY % BibTeXML.book.additional.fields
+ "%BibTeXML.additional.fields;">
+<!ENTITY % BibTeXML.book.fields
+ "%BibTeXML.book.standard.fields;
+ %BibTeXML.common.standard.fields;
+ %BibTeXML.book.additional.fields;">
+<!ENTITY % BibTeXML.book.element "INCLUDE">
+<![%BibTeXML.book.element;[
+<!ELEMENT %book.qname; (%BibTeXML.book.fields;)>
+]]>
+]]>
+
+
+<!-- [booklet] A work that is printed and bound, but without a named
+ - publisher or sponsoring institution
+ - Required field: title.
+ - Optional fields: author, howpublished, address, month, year, note. -->
+
+<!ENTITY % BibTeXML.booklet.module "INCLUDE">
+<![%BibTeXML.booklet.module;[
+<!ENTITY % BibTeXML.booklet.standard.fields
+ "%author.qname;?, %title.qname;, %howpublished.qname;?,
+ %address.qname;?, %month.qname;?, %year.qname;?, %note.qname;?">
+<!ENTITY % BibTeXML.booklet.additional.fields
+ "%BibTeXML.additional.fields;">
+<!ENTITY % BibTeXML.booklet.fields
+ "%BibTeXML.booklet.standard.fields;
+ %BibTeXML.common.standard.fields;
+ %BibTeXML.booklet.additional.fields;">
+<!ENTITY % BibTeXML.booklet.element "INCLUDE">
+<![%BibTeXML.booklet.element;[
+<!ELEMENT %booklet.qname; (%BibTeXML.booklet.fields;)>
+]]>
+]]>
+
+
+<!-- [inbook] A part of a book, which may be a chapter (or section or
+ - whatever) and/or a range of pages.
+ - Required fields: author or editor, title, chapter and/or pages,
+ - publisher, year.
+ - Optional fields: volume or number, series, type, address,
+ - edition, month, note. -->
+
+<!ENTITY % BibTeXML.inbook.module "INCLUDE">
+<![%BibTeXML.inbook.module;[
+<!ENTITY % BibTeXML.inbook.standard.fields
+ "(%author.qname; | %editor.qname;), %title.qname;,
+ ((%chapter.qname;, %pages.qname;?) | %pages.qname;),
+ %publisher.qname;, %year.qname;,
+ (%volume.qname; | %number.qname;)?, %series.qname;?,
+ %type.qname;?, %address.qname;?, %edition.qname;?,
+ %month.qname;?, %note.qname;?">
+<!ENTITY % BibTeXML.inbook.additional.fields
+ "%BibTeXML.additional.fields;">
+<!ENTITY % BibTeXML.inbook.fields
+ "%BibTeXML.inbook.standard.fields;
+ %BibTeXML.common.standard.fields;
+ %BibTeXML.inbook.additional.fields;">
+<!ENTITY % BibTeXML.inbook.element "INCLUDE">
+<![%BibTeXML.inbook.element;[
+<!ELEMENT %inbook.qname; (%BibTeXML.inbook.fields;)>
+]]>
+]]>
+
+<!--
+ - > I want to express that the elements a and/or b are legal that is
+ - > one of them or both must be present in the document instance
+ - > (see the element content for BibTeX entry `InBook').
+ - in content model: ((a , b?) | b) if order matters
+ - ((a , b?) | (b , a?)) otherwise
+-->
+
+
+<!-- [incollection] A part of a book having its own title.
+ - Required fields: author, title, booktitle, publisher, year.
+ - Optional fields: editor, volume or number, series, type,
+ - chapter, pages, address, edition, month, note. -->
+
+<!ENTITY % BibTeXML.incollection.module "INCLUDE">
+<![%BibTeXML.incollection.module;[
+<!ENTITY % BibTeXML.incollection.standard.fields
+ "%author.qname;, %title.qname;, %booktitle.qname;,
+ %publisher.qname;, %year.qname;, %editor.qname;?,
+ (%volume.qname; | %number.qname;)?, %series.qname;?,
+ %type.qname;?, %chapter.qname;?, %pages.qname;?, %address.qname;?,
+ %edition.qname;?, %month.qname;?, %note.qname;?">
+<!ENTITY % BibTeXML.incollection.additional.fields
+ "%BibTeXML.additional.fields;">
+<!ENTITY % BibTeXML.incollection.fields
+ "%BibTeXML.incollection.standard.fields;
+ %BibTeXML.common.standard.fields;
+ %BibTeXML.incollection.additional.fields;">
+<!ENTITY % BibTeXML.incollection.element "INCLUDE">
+<![%BibTeXML.incollection.element;[
+<!ELEMENT %incollection.qname; (%BibTeXML.incollection.fields;)>
+]]>
+]]>
+
+
+<!-- [inproceedings] An article in a conference proceedings.
+ - Required fields: author, title, booktitle, year.
+ - Optional fields: editor, volume or number, series, pages,
+ - address, month, organization, publisher, note. -->
+
+<!ENTITY % BibTeXML.inproceedings.common.fields
+ "(%author.qname;, %title.qname;, %booktitle.qname;, %year.qname;,
+ %editor.qname;?, (%volume.qname; | %number.qname;)?,
+ %series.qname;?, %pages.qname;?, %address.qname;?,
+ %month.qname;?, %organization.qname;?, %publisher.qname;?,
+ %note.qname;?)">
+
+<!ENTITY % BibTeXML.inproceedings.module "INCLUDE">
+<![%BibTeXML.inproceedings.module;[
+<!ENTITY % BibTeXML.inproceedings.standard.fields
+ "%BibTeXML.inproceedings.common.fields;">
+<!ENTITY % BibTeXML.inproceedings.additional.fields
+ "%BibTeXML.additional.fields;">
+<!ENTITY % BibTeXML.inproceedings.fields
+ "%BibTeXML.inproceedings.standard.fields;
+ %BibTeXML.common.standard.fields;
+ %BibTeXML.inproceedings.additional.fields;">
+<!ENTITY % BibTeXML.inproceedings.element "INCLUDE">
+<![%BibTeXML.inproceedings.element;[
+<!ELEMENT %inproceedings.qname; (%BibTeXML.inproceedings.fields;)>
+]]>
+]]>
+
+
+<!-- [conference] The same as INPROCEEDINGS,
+ - included for Scribe compatibility. -->
+
+<!ENTITY % BibTeXML.conference.module "INCLUDE">
+<![%BibTeXML.conference.module;[
+<!ENTITY % BibTeXML.conference.standard.fields
+ "%BibTeXML.inproceedings.common.fields;">
+<!ENTITY % BibTeXML.conference.additional.fields
+ "%BibTeXML.additional.fields;">
+<!ENTITY % BibTeXML.conference.fields
+ "%BibTeXML.conference.standard.fields;
+ %BibTeXML.common.standard.fields;
+ %BibTeXML.conference.additional.fields;">
+<!ENTITY % BibTeXML.conference.element "INCLUDE">
+<![%BibTeXML.conference.element;[
+<!ELEMENT %conference.qname; (%BibTeXML.conference.fields;)>
+]]>
+]]>
+
+
+<!-- [manual] Technical documentation
+ - Required field: title.
+ - Optional fields: author, organization, address,
+ - edition, month, year, note. -->
+
+<!ENTITY % BibTeXML.manual.module "INCLUDE">
+<![%BibTeXML.manual.module;[
+<!ENTITY % BibTeXML.manual.standard.fields
+ "%author.qname;?, %title.qname;, %organization.qname;?,
+ %address.qname;?, %edition.qname;?, %month.qname;?, %year.qname;?,
+ %note.qname;?">
+<!ENTITY % BibTeXML.manual.additional.fields
+ "%BibTeXML.additional.fields;">
+<!ENTITY % BibTeXML.manual.fields
+ "%BibTeXML.manual.standard.fields;
+ %BibTeXML.common.standard.fields;
+ %BibTeXML.manual.additional.fields;">
+<!ENTITY % BibTeXML.manual.element "INCLUDE">
+<![%BibTeXML.manual.element;[
+<!ELEMENT %manual.qname; (%BibTeXML.manual.fields;)>
+]]>
+]]>
+
+
+<!-- [mastersthesis] A Master's thesis.
+ - Required fields: author, title, school, year.
+ - Optional fields: type, address, month, note. -->
+
+<!ENTITY % BibTeXML.thesis.common.fields
+ "(%author.qname;, %title.qname;,
+ %school.qname;, %year.qname;, %type.qname;?,
+ %address.qname;?, %month.qname;?, %note.qname;?)">
+
+<!ENTITY % BibTeXML.mastersthesis.module "INCLUDE">
+<![%BibTeXML.mastersthesis.module;[
+<!ENTITY % BibTeXML.mastersthesis.standard.fields
+ "%BibTeXML.thesis.common.fields;">
+<!ENTITY % BibTeXML.mastersthesis.additional.fields
+ "%BibTeXML.additional.fields;">
+<!ENTITY % BibTeXML.mastersthesis.fields
+ "%BibTeXML.mastersthesis.standard.fields;
+ %BibTeXML.common.standard.fields;
+ %BibTeXML.mastersthesis.additional.fields;">
+<!ENTITY % BibTeXML.mastersthesis.element "INCLUDE">
+<![%BibTeXML.mastersthesis.element;[
+<!ELEMENT %mastersthesis.qname; (%BibTeXML.mastersthesis.fields;)>
+]]>
+]]>
+
+
+<!-- [phdthesis] A PhD thesis.
+ - Required fields: author, title, school, year.
+ - Optional fields: type, address, month, note. -->
+
+<!ENTITY % BibTeXML.phdthesis.module "INCLUDE">
+<![%BibTeXML.phdthesis.module;[
+<!ENTITY % BibTeXML.phdthesis.standard.fields
+ "%BibTeXML.thesis.common.fields;">
+<!ENTITY % BibTeXML.phdthesis.additional.fields
+ "%BibTeXML.additional.fields;">
+<!ENTITY % BibTeXML.phdthesis.fields
+ "%BibTeXML.phdthesis.standard.fields;
+ %BibTeXML.common.standard.fields;
+ %BibTeXML.phdthesis.additional.fields;">
+<!ENTITY % BibTeXML.phdthesis.element "INCLUDE">
+<![%BibTeXML.phdthesis.element;[
+<!ELEMENT %phdthesis.qname; (%BibTeXML.phdthesis.fields;)>
+]]>
+]]>
+
+
+<!-- [misc] Use this type when nothing else fits.
+ - Required fields: none.
+ - Optional fields: author, title, howpublished, month, year, note. -->
+
+<!ENTITY % BibTeXML.misc.module "INCLUDE">
+<![%BibTeXML.misc.module;[
+<!ENTITY % BibTeXML.misc.standard.fields
+ "%author.qname;?, %title.qname;?, %howpublished.qname;?,
+ %month.qname;?, %year.qname;?, %note.qname;?">
+<!ENTITY % BibTeXML.misc.additional.fields
+ "%BibTeXML.additional.fields;">
+<!ENTITY % BibTeXML.misc.fields
+ "%BibTeXML.misc.standard.fields;
+ %BibTeXML.common.standard.fields;
+ %BibTeXML.misc.additional.fields;">
+<!ENTITY % BibTeXML.misc.element "INCLUDE">
+<![%BibTeXML.misc.element;[
+<!ELEMENT %misc.qname; (%BibTeXML.misc.fields;)>
+]]>
+]]>
+
+
+<!-- [proceedings] The proceedings of a conference.
+ - Required fields: title, year.
+ - Optional fields: editor, volume or number, series,
+ - address, month, organization, publisher, note. -->
+
+<!ENTITY % BibTeXML.proceedings.module "INCLUDE">
+<![%BibTeXML.proceedings.module;[
+<!ENTITY % BibTeXML.proceedings.standard.fields
+ "%editor.qname;?, %title.qname;, %year.qname;,
+ (%volume.qname; | %number.qname;)?, %series.qname;?,
+ %address.qname;?, %month.qname;?, %organization.qname;?,
+ %publisher.qname;?, %note.qname;?">
+<!ENTITY % BibTeXML.proceedings.additional.fields
+ "%BibTeXML.additional.fields;">
+<!ENTITY % BibTeXML.proceedings.fields
+ "%BibTeXML.proceedings.standard.fields;
+ %BibTeXML.common.standard.fields;
+ %BibTeXML.proceedings.additional.fields;">
+<!ENTITY % BibTeXML.proceedings.element "INCLUDE">
+<![%BibTeXML.proceedings.element;[
+<!ELEMENT %proceedings.qname; (%BibTeXML.proceedings.fields;)>
+]]>
+]]>
+
+
+<!-- [techreport] A report published by a school or other institution,
+ - usually numbered within a series.
+ - Required fields: author, title, institution, year.
+ - Optional fields: type, number, address, month, note. -->
+
+<!ENTITY % BibTeXML.techreport.module "INCLUDE">
+<![%BibTeXML.techreport.module;[
+<!ENTITY % BibTeXML.techreport.standard.fields
+ "%author.qname;, %title.qname;, %institution.qname;,
+ %year.qname;, %type.qname;?, %number.qname;?,
+ %address.qname;?, %month.qname;?, %note.qname;?">
+<!ENTITY % BibTeXML.techreport.additional.fields
+ "%BibTeXML.additional.fields;">
+<!ENTITY % BibTeXML.techreport.fields
+ "%BibTeXML.techreport.standard.fields;
+ %BibTeXML.common.standard.fields;
+ %BibTeXML.techreport.additional.fields;">
+<!ENTITY % BibTeXML.techreport.element "INCLUDE">
+<![%BibTeXML.techreport.element;[
+<!ELEMENT %techreport.qname; (%BibTeXML.techreport.fields;)>
+]]>
+]]>
+
+
+<!-- [unpublished] A document having an author and title, but not
+ - formally published.
+ - Required fields: author, title, note.
+ - Optional fields: month, year. -->
+
+<!ENTITY % BibTeXML.unpublished.module "INCLUDE">
+<![%BibTeXML.unpublished.module;[
+<!ENTITY % BibTeXML.unpublished.standard.fields
+ "%author.qname;, %title.qname;, %note.qname;,
+ %month.qname;?, %year.qname;?">
+<!ENTITY % BibTeXML.unpublished.additional.fields
+ "%BibTeXML.additional.fields;">
+<!ENTITY % BibTeXML.unpublished.fields
+ "%BibTeXML.unpublished.standard.fields;
+ %BibTeXML.common.standard.fields;
+ %BibTeXML.unpublished.additional.fields;">
+<!ENTITY % BibTeXML.unpublished.element "INCLUDE">
+<![%BibTeXML.unpublished.element;[
+<!ELEMENT %unpublished.qname; (%BibTeXML.unpublished.fields;)>
+]]>
+]]>
+
+
+<!-- ..................................................................... -->
+<!-- Fields from the standard bibliography styles -->
+
+<!--
+ - Below is a description of all fields recognized by the standard
+ - bibliography styles. An entry can also contain other fields, which
+ - are ignored by those styles.
+ -
+ - [address] Usually the address of the publisher or other type of
+ - institution For major publishing houses, van~Leunen recommends
+ - omitting the information entirely. For small publishers, on the other
+ - hand, you can help the reader by giving the complete address.
+ -
+ - [annote] An annotation It is not used by the standard bibliography
+ - styles, but may be used by others that produce an annotated
+ - bibliography.
+ -
+ - [author] The name(s) of the author(s), in the format described in the
+ - LaTeX book.
+ -
+ - [booktitle] Title of a book, part of which is being cited. See the
+ - LaTeX book for how to type titles. For book entries, use the title
+ - field instead.
+ -
+ - [chapter] A chapter (or section or whatever) number.
+ -
+ - [crossref] The database key of the entry being cross referenced.
+ -
+ - [edition] The edition of a book-for example, ``Second''. This
+ - should be an ordinal, and should have the first letter capitalized, as
+ - shown here; the standard styles convert to lower case when necessary.
+ -
+ - [editor] Name(s) of editor(s), typed as indicated in the LaTeX book.
+ - If there is also an author field, then the editor field gives the
+ - editor of the book or collection in which the reference appears.
+ -
+ - [howpublished] How something strange has been published. The first
+ - word should be capitalized.
+ -
+ - [institution] The sponsoring institution of a technical report.
+ -
+ - [journal] A journal name. Abbreviations are provided for many
+ - journals; see the Local Guide.
+ -
+ - [key] Used for alphabetizing, cross referencing, and creating a label
+ - when the ``author'' information (described in Section [ref: ] is
+ - missing. This field should not be confused with the key that appears
+ - in the \cite command and at the beginning of the database entry.
+ -
+ - [month] The month in which the work was published or, for an
+ - unpublished work, in which it was written You should use the
+ - standard three-letter abbreviation, as described in Appendix B.1.3 of
+ - the LaTeX book.
+ -
+ - [note] Any additional information that can help the reader. The first
+ - word should be capitalized.
+ -
+ - [number] The number of a journal, magazine, technical report, or of a
+ - work in a series. An issue of a journal or magazine is usually
+ - identified by its volume and number; the organization that issues a
+ - technical report usually gives it a number; and sometimes books are
+ - given numbers in a named series.
+ -
+ - [organization] The organization that sponsors a conference or that
+ - publishes a manual.
+ -
+ - [pages] One or more page numbers or range of numbers, such as 42-111
+ - or 7,41,73-97 or 43+ (the `+' in this last example indicates pages
+ - following that don't form a simple range). To make it easier to
+ - maintain Scribe-compatible databases, the standard styles convert a
+ - single dash (as in 7-33) to the double dash used in TeX to denote
+ - number ranges (as in 7-33).
+ -
+ - [publisher] The publisher's name.
+ -
+ - [school] The name of the school where a thesis was written
+ -
+ - [series] The name of a series or set of books. When citing an entire
+ - book, the the title field gives its title and an optional series field
+ - gives the name of a series or multi-volume set in which the book is
+ - published.
+ -
+ - [title] The work's title, typed as explained in the LaTeX book.
+ -
+ - [type] The type of a technical report-for example, ``Research Note''.
+ -
+ - [volume] The volume of a journal or multivolume book.
+ -
+ - [year] The year of publication or, for an unpublished work, the year
+ - it was written. Generally it should consist of four numerals, such as
+ - 1984, although the standard styles can handle any year whose last four
+ - nonpunctuation characters are numerals, such as `(about 1984)'.
+-->
+
+
+<!ENTITY % BibTeXML.address.element "INCLUDE">
+<![%BibTeXML.address.element;[
+<!ELEMENT %address.qname; (#PCDATA)>
+]]>
+
+<!ENTITY % BibTeXML.author.element "INCLUDE">
+<![%BibTeXML.author.element;[
+<!ELEMENT %author.qname; (#PCDATA)>
+]]>
+
+<!ENTITY % BibTeXML.booktitle.element "INCLUDE">
+<![%BibTeXML.booktitle.element;[
+<!ELEMENT %booktitle.qname; (#PCDATA)>
+]]>
+
+<!ENTITY % BibTeXML.chapter.element "INCLUDE">
+<![%BibTeXML.chapter.element;[
+<!ELEMENT %chapter.qname; (#PCDATA)>
+]]>
+
+<!ENTITY % BibTeXML.edition.element "INCLUDE">
+<![%BibTeXML.edition.element;[
+<!ELEMENT %edition.qname; (#PCDATA)>
+]]>
+
+<!ENTITY % BibTeXML.editor.element "INCLUDE">
+<![%BibTeXML.editor.element;[
+<!ELEMENT %editor.qname; (#PCDATA)>
+]]>
+
+<!ENTITY % BibTeXML.howpublished.element "INCLUDE">
+<![%BibTeXML.howpublished.element;[
+<!ELEMENT %howpublished.qname; (#PCDATA)>
+]]>
+
+<!ENTITY % BibTeXML.institution.element "INCLUDE">
+<![%BibTeXML.institution.element;[
+<!ELEMENT %institution.qname; (#PCDATA)>
+]]>
+
+<!ENTITY % BibTeXML.journal.element "INCLUDE">
+<![%BibTeXML.journal.element;[
+<!ELEMENT %journal.qname; (#PCDATA)>
+]]>
+
+<!ENTITY % BibTeXML.month.element "INCLUDE">
+<![%BibTeXML.month.element;[
+<!ELEMENT %month.qname; (#PCDATA)>
+]]>
+
+<!ENTITY % BibTeXML.note.element "INCLUDE">
+<![%BibTeXML.note.element;[
+<!ELEMENT %note.qname; (#PCDATA)>
+]]>
+
+<!ENTITY % BibTeXML.number.element "INCLUDE">
+<![%BibTeXML.number.element;[
+<!ELEMENT %number.qname; (#PCDATA)>
+]]>
+
+<!ENTITY % BibTeXML.organization.element "INCLUDE">
+<![%BibTeXML.organization.element;[
+<!ELEMENT %organization.qname; (#PCDATA)>
+]]>
+
+<!ENTITY % BibTeXML.pages.element "INCLUDE">
+<![%BibTeXML.pages.element;[
+<!ELEMENT %pages.qname; (#PCDATA)>
+]]>
+
+<!ENTITY % BibTeXML.publisher.element "INCLUDE">
+<![%BibTeXML.publisher.element;[
+<!ELEMENT %publisher.qname; (#PCDATA)>
+]]>
+
+<!ENTITY % BibTeXML.school.element "INCLUDE">
+<![%BibTeXML.school.element;[
+<!ELEMENT %school.qname; (#PCDATA)>
+]]>
+
+<!ENTITY % BibTeXML.series.element "INCLUDE">
+<![%BibTeXML.series.element;[
+<!ELEMENT %series.qname; (#PCDATA)>
+]]>
+
+<!ENTITY % BibTeXML.title.element "INCLUDE">
+<![%BibTeXML.title.element;[
+<!ELEMENT %title.qname; (#PCDATA)>
+]]>
+
+<!ENTITY % BibTeXML.type.element "INCLUDE">
+<![%BibTeXML.type.element;[
+<!ELEMENT %type.qname; (#PCDATA)>
+]]>
+
+<!ENTITY % BibTeXML.volume.element "INCLUDE">
+<![%BibTeXML.volume.element;[
+<!ELEMENT %volume.qname; (#PCDATA)>
+]]>
+
+<!ENTITY % BibTeXML.year.element "INCLUDE">
+<![%BibTeXML.year.element;[
+<!ELEMENT %year.qname; (#PCDATA)>
+]]>
+
+<!--
+ - In addition to the fields listed above, each entry type also has
+ - an optional key field, used in some styles for alphabetizing, or
+ - for forming a \bibitem label. You should include a key field for
+ - any entry whose ``author'' information is missing;
+-->
+
+<!ENTITY % BibTeXML.key.element "INCLUDE">
+<![%BibTeXML.key.element;[
+<!ELEMENT %key.qname; (#PCDATA)>
+]]>
+
+<!--
+ - BibTEX has a new cross-referencing feature, explained by an example.
+ - @INPROCEEDINGS(no-gnats,
+ - crossref = "gg-proceedings",
+ - @PROCEEDINGS(gg-proceedings,
+-->
+
+<!ENTITY % BibTeXML.crossref.element "INCLUDE">
+<![%BibTeXML.crossref.element;[
+<!ELEMENT %crossref.qname; (#PCDATA)>
+]]>
+
+<!--
+ - Annotation is not used by the standard bibliography styles,
+ - if you prefer otherwise, incude it in BibTeXML.common.standard.fields
+-->
+
+<!ENTITY % BibTeXML.annote.element "INCLUDE">
+<![%BibTeXML.annote.element;[
+<!ELEMENT %annote.qname; (#PCDATA)>
+]]>
+
+
+<!-- ..................................................................... -->
+<!-- Predefined/reserved character entities -->
+
+<!ENTITY amp "&#38;#38;">
+<!ENTITY lt "&#38;#60;">
+<!ENTITY gt "&#62;">
+<!ENTITY apos "&#39;">
+<!ENTITY quot "&#34;">
+
+
+<!-- ..................................................................... -->
+<!-- End of bibtex dtd -->
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/drive.png b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/drive.png
new file mode 100644
index 0000000000..ad10ee3e6b
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/drive.png
Binary files differ
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/loupe.gif b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/loupe.gif
new file mode 100644
index 0000000000..e8b70f72d8
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/loupe.gif
Binary files differ
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/valid-css.gif b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/valid-css.gif
new file mode 100644
index 0000000000..9b2f596e01
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/valid-css.gif
Binary files differ
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/valid-html401.gif b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/valid-html401.gif
new file mode 100644
index 0000000000..1270561e17
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Generator/valid-html401.gif
Binary files differ
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/JabRef/JabRef.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/JabRef/JabRef.pm
new file mode 100644
index 0000000000..4d8697f23b
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/JabRef/JabRef.pm
@@ -0,0 +1,209 @@
+# Copyright (C) 2007 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+=pod
+
+=head1 NAME
+
+Bib2HTML::JabRef::JabRef - A translator to support JabRef format.
+
+=head1 DESCRIPTION
+
+Bib2HTML::JabRef::JabRef is a Perl module, which permits to
+translate bibTeX data according to the JabRef format.
+
+=head1 SYNOPSYS
+
+my $j = Bib2HTML::JabRef::JabRef->new() ;
+$j->parser(content);
+
+=cut
+
+package Bib2HTML::JabRef::JabRef;
+
+@ISA = ('Exporter');
+@EXPORT = qw();
+@EXPORT_OK = qw();
+
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+use Exporter;
+use Carp ;
+
+#------------------------------------------------------
+#
+# Global vars
+#
+#------------------------------------------------------
+
+# Version number of JabRef Translator
+my $VERSION = "1.0" ;
+
+#------------------------------------------------------
+#
+# Constructor
+#
+#------------------------------------------------------
+
+sub new() : method {
+ my $proto = shift;
+ my $class = ref($proto) || $proto;
+ my $self = {} ;
+ bless($self,$class);
+ return $self;
+}
+
+#------------------------------------------------------
+#
+# Translation API
+#
+#------------------------------------------------------
+
+=pod
+
+=item * parse($)
+
+Translate the specified content which must be a reference
+to an hashtable given by a parser.
+
+=cut
+sub parse($) : method {
+ my $self = shift ;
+
+ $self->parseComments(@{$_[0]->{'comments'}});
+
+ if (($self->{'variables'}{'groupsversion'} !~ /^\s*([0-9]+)\s*;\s*$/)||
+ (int($1) < 3)) {
+ Bib2HTML::General::Error::syserr( "the JabRef translator does not support groups' version below 3.0" ) ;
+ }
+
+ # Treat the groups
+ if ($self->{'variables'}{'groupstree'}) {
+ my %categoryAssignation = $self->assignCategories($self->{'variables'}{'groupstree'});
+ $self->createCategories(\%categoryAssignation,$_[0]->{'entries'});
+ }
+}
+
+#------------------------------------------------------
+#
+# Tool API
+#
+#------------------------------------------------------
+
+=pod
+
+=item * createCategories(\%$)
+
+Add the categories to each bibtex entries.
+
+=cut
+sub createCategories(\%$) {
+ my $self = shift;
+ foreach my $key (keys(%{$_[0]})) {
+ if (exists $_[1]->{"$key"}) {
+ my $newcategories = join(':',@{$_[0]->{"$key"}});
+ if ($_[1]->{"$key"}{'fields'}{'domains'}) {
+ $newcategories .= ":".$_[1]->{"$key"}{'fields'}{'domains'};
+ }
+ $_[1]->{"$key"}{'fields'}{'domains'} = "$newcategories";
+ }
+ }
+}
+
+=pod
+
+=item * assignCategories($)
+
+Parse the JabRef group list and replies the assignations
+for each bibtex entry.
+
+=cut
+sub assignCategories($) {
+ my $self = shift;
+ my $jabrefgroups = "$_[0]";
+ my %assignments = ();
+ my @categories = ();
+
+ while (($jabrefgroups)&&
+ ($jabrefgroups =~ /^\s*([0-9]+)\s+([^:]*):(.*?)(?<!\\);\s*(.*)$/s)) {
+ my $order = "$1";
+ my $content = "$3";
+ $jabrefgroups = "$4";
+
+ if (lc("$2") eq "explicitgroup") {
+ $content =~ s/[\n\r]+//g; # remove carriage returns because they are not significant
+
+ my @elements = split(/\\;/, "$content");
+ my $name = shift @elements;
+ shift @elements; # eat the number
+
+ splice(@categories,($order-1));
+ $categories[$order-1] = "$name";
+
+ foreach my $key (@elements) {
+ if (!$assignments{"$key"}) {
+ $assignments{"$key"} = [];
+ }
+ push @{$assignments{"$key"}}, join('/',@categories);
+ }
+ }
+ }
+
+ return %assignments;
+}
+
+=pod
+
+=item * parseComments(@)
+
+Parse the given comments to detect JabRef tokens.
+
+=cut
+sub parseComments(@) : method {
+ my $self = shift ;
+
+ foreach my $comment (@_) {
+ if ($comment =~ /^\s*jabref\-meta:\s*(.+?)\s*\:\s*(.*?)\s*$/is) {
+ $self->{'variables'}{lc("$1")} = "$2";
+ }
+ }
+
+}
+
+
+1;
+__END__
+
+=back
+
+=head1 COPYRIGHT
+
+(c) Copyright 2007 Stéphane Galland E<lt>galland@arakhne.orgE<gt>, under GPL.
+
+=head1 AUTHORS
+
+=over
+
+=item *
+
+Conceived and initially developed by Stéphane Galland E<lt>galland@arakhne.orgE<gt>.
+
+=back
+
+=head1 SEE ALSO
+
+bib2html.pl
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Main.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Main.pm
new file mode 100644
index 0000000000..a9d2864132
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Main.pm
@@ -0,0 +1,433 @@
+# Copyright (C) 2002-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+package Bib2HTML::Main;
+
+@ISA = ('Exporter');
+@EXPORT = qw( &launchBib2HTML ) ;
+@EXPORT_OK = qw();
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+
+use Getopt::Long ;
+use Pod::Usage ;
+use File::Basename ;
+use File::Spec ;
+use File::Path ;
+
+use Bib2HTML::Release ;
+use Bib2HTML::General::Verbose ;
+use Bib2HTML::General::Error ;
+use Bib2HTML::General::Misc ;
+use Bib2HTML::Parser::Parser ;
+
+#------------------------------------------------------
+#
+# Global vars
+#
+#------------------------------------------------------
+
+# Version number of bib2html
+my $VERSION = Bib2HTML::Release::getVersionNumber() ;
+# Date of this release of bib2html
+my $VERSION_DATE = Bib2HTML::Release::getVersionDate() ;
+# URL from which the users can submit a bug
+my $SUBMIT_BUG_URL = Bib2HTML::Release::getBugReportURL() ;
+# Email of the author of bib2html
+my $AUTHOR = Bib2HTML::Release::getAuthorName() ;
+# Email of the author of bib2html
+my $AUTHOR_EMAIL = Bib2HTML::Release::getAuthorEmail() ;
+# Page of bib2html
+my $URL = Bib2HTML::Release::getMainURL() ;
+# Contributors to Bib2HTML
+my %CONTRIBUTORS = Bib2HTML::Release::getContributors() ;
+
+# Default Generator
+my $DEFAULT_GENERATOR = 'HTML' ;
+# Default Language
+my $DEFAULT_LANGUAGE = 'English' ;
+# Default Theme
+my $DEFAULT_THEME = 'Simple' ;
+
+#------------------------------------------------------
+#
+# Functions
+#
+#------------------------------------------------------
+
+sub check_output($$) {
+ my $output = shift ;
+ my $force = shift ;
+ if ( ! $output ) {
+ $output = File::Spec->catdir( ".", "bib2html" ) ;
+ }
+ if ( ( -e "$output" ) && ( ! $force ) ) {
+ Bib2HTML::General::Error::syserr( "The output '$output".
+ "' already exists. Use the -f option to force the overwrite\n" ) ;
+ }
+ return "$output" ;
+}
+
+sub show_usage($$$) {
+ my $exitval = shift;
+ my $PERLSCRIPTDIR = shift;
+ my $PERLSCRIPTNAME = shift;
+
+ my $basename = "$PERLSCRIPTNAME";
+ $basename =~ s/\.[^.]*$//;
+
+ my $sharedir = "/usr/share";
+
+ my @searchdirs = (
+ File::Spec->catdir("$PERLSCRIPTDIR",'pod'),
+ File::Spec->catdir("$PERLSCRIPTDIR",'man'),
+ File::Spec->catdir("$PERLSCRIPTDIR",File::Spec->updir(),'pod'),
+ File::Spec->catdir("$PERLSCRIPTDIR",File::Spec->updir(),'man'),
+ File::Spec->catdir("$sharedir",'doc',"$basename"),
+ File::Spec->catdir("$sharedir",'doc',"$basename"),
+ File::Spec->catdir("$sharedir",'doc',"$basename",'pod'),
+ File::Spec->catdir("$sharedir",'doc',"$basename",'man'),
+ );
+
+ my @langs = ();
+
+ if (($ENV{'LANG'})&&($ENV{'LANG'} =~ /^([^_.\-]+)/)) {
+ push @langs, "$1";
+ }
+
+ push @langs, 'en';
+
+ foreach my $lang (@langs) {
+ foreach my $dir (@searchdirs) {
+ my $pod = File::Spec->catdir("$dir","${basename}_${lang}.pod");
+ if ( -r "$pod" ) {
+ print "$pod\n";
+ pod2usage(-exitval => $exitval, -input => "$pod");
+ exit $exitval;
+ }
+ }
+ }
+
+ die("unable to find the documentation file for $basename\n");
+}
+
+sub show_manual($$$) {
+ my $exitval = shift;
+ my $PERLSCRIPTDIR = shift;
+ my $PERLSCRIPTNAME = shift;
+
+ my $basename = "$PERLSCRIPTNAME";
+ $basename =~ s/\.[^.]*$//;
+
+ my $sharedir = "/usr/share";
+
+ my @searchdirs = (
+ File::Spec->catdir("$PERLSCRIPTDIR",'pod'),
+ File::Spec->catdir("$PERLSCRIPTDIR",'man'),
+ File::Spec->catdir("$PERLSCRIPTDIR",File::Spec->updir(),'pod'),
+ File::Spec->catdir("$PERLSCRIPTDIR",File::Spec->updir(),'man'),
+ File::Spec->catdir("$sharedir",'doc',"$basename"),
+ File::Spec->catdir("$sharedir",'doc',"$basename"),
+ File::Spec->catdir("$sharedir",'doc',"$basename",'pod'),
+ File::Spec->catdir("$sharedir",'doc',"$basename",'man'),
+ );
+
+ my @langs = ();
+
+ if (($ENV{'LANG'})&&($ENV{'LANG'} =~ /^([^_.\-]+)/)) {
+ push @langs, "$1";
+ }
+
+ push @langs, 'en';
+
+ foreach my $lang (@langs) {
+ foreach my $dir (@searchdirs) {
+ my $pod = File::Spec->catdir("$dir","${basename}_${lang}.pod");
+ if ( -r "$pod" ) {
+ print "$pod\n";
+ use Pod::Perldoc;
+ @ARGV = ( "$pod" );
+ Pod::Perldoc->run();
+ exit $exitval;
+ }
+ }
+ }
+
+ die("unable to find the documentation file for $basename\n");
+}
+
+#------------------------------------------------------
+#
+# Main Program
+#
+#------------------------------------------------------
+
+sub launchBib2HTML($$) {
+
+ my $PERLSCRIPTDIR = shift;
+ my $PERLSCRIPTNAME = shift;
+
+ # Command line options
+ my %options = () ;
+
+ # Read the command line
+ $options{warnings} = 1 ;
+ $options{genphpdoc} = 1 ;
+ $options{generator} = "$DEFAULT_GENERATOR" ;
+ $options{lang} = "$DEFAULT_LANGUAGE" ;
+ $options{theme} = "$DEFAULT_THEME" ;
+ $options{genparams} = {} ;
+ $options{'show-bibtex'} = 1 ;
+ Getopt::Long::Configure("bundling") ;
+ if ( ! GetOptions( "b|bibtex!" => \$options{'show-bibtex'},
+ "checknames" => \$options{'check-names'},
+ "cvs" => sub {
+ @{$options{'protected_files'}} = ()
+ unless ( exists $options{'protected_files'} ) ;
+ push @{$options{'protected_files'}}, ".cvs", "CVSROOT", "CVS" ;
+ },
+ "doctitle=s" => \$options{'title'},
+ "f|force" => \$options{'force'},
+ "generator|g=s" => \$options{'generator'},
+ 'generatorparam|d:s%' => sub {
+ my $name = lc($_[1]) ;
+ @{$options{'genparams'}{"$name"}} = ()
+ unless ( exists $options{'genparams'}{"$name"} ) ;
+ push @{$options{'genparams'}{"$name"}}, $_[2] ;
+ },
+ "generatorparams!" => \$options{'genparamlist'},
+ "genlist" => \$options{'genlist'},
+ "h|?" => \$options{'help'},
+ "help|man|manual" => \$options{'manual'},
+ "jabref!" => \$options{'jabref'},
+ "lang=s" => \$options{'lang'},
+ "langlist" => \$options{'langlist'},
+ "o|output=s" => sub {
+ $options{'output'} = $_[1];
+ delete $options{'stdout'};
+ },
+ "p|preamble=s" => \$options{'tex-preamble'},
+ "protect=s" => sub {
+ my $regex = lc($_[1]) ;
+ @{$options{'protected_files'}} = ()
+ unless ( exists $options{'protected_files'} ) ;
+ push @{$options{'protected_files'}}, $regex ;
+ },
+ "q" => \$options{'quiet'},
+ "sortw!" => \$options{'sort-warnings'},
+ "stdout" => sub {
+ delete $options{'output'};
+ $options{'stdout'} = 1;
+ },
+ "svn" => sub {
+ @{$options{'protected_files'}} = ()
+ unless ( exists $options{'protected_files'} ) ;
+ push @{$options{'protected_files'}}, ".svn", "svn" ;
+ },
+ "texcmd" => \$options{'tex-commands'},
+ "theme=s" => \$options{'theme'},
+ "themelist" => \$options{'themelist'},
+ "v+" => \$options{'verbose'},
+ "version" => \$options{'version'},
+ "warning!" => \$options{'warnings'},
+ "windowtitle=s" => \$options{'wintitle'},
+ ) ) {
+ show_usage(2,"$PERLSCRIPTDIR","$PERLSCRIPTNAME") ;
+ }
+
+ # Generator class
+ if ( $options{'generator'} !~ /::/ ) {
+ $options{'generator'} = "Bib2HTML::Generator::".$options{'generator'}."Gen" ;
+ }
+ eval "require ".$options{'generator'}.";" ;
+ if ( $@ ) {
+ Bib2HTML::General::Error::syserr( "Unable to find the generator class: ".$options{'generator'}."\n$@\n" ) ;
+ }
+
+ # Show the version number
+ if ( $options{version} ) {
+
+ my $final_copyright = 1998;
+ if ($VERSION_DATE =~ /^([0-9]+)\/[0-9]+\/[0-9]+$/) {
+ if ($1<=98) {
+ $final_copyright = 2000 + $1;
+ }
+ elsif ($1==99) {
+ $final_copyright = 1999;
+ }
+ else {
+ $final_copyright = $1;
+ }
+ }
+
+ if ($final_copyright!=1998) {
+ $final_copyright = "1998-$final_copyright";
+ }
+
+ print "bib2html $VERSION, $VERSION_DATE\n" ;
+ print "Copyright (c) $final_copyright, $AUTHOR <$AUTHOR_EMAIL>, under GPL\n" ;
+ print "Contributors:\n" ;
+ while ( my ($email,$name) = each(%CONTRIBUTORS) ) {
+ print " $name <$email>\n" ;
+ }
+ exit 1 ;
+ }
+
+ # Show the list of generators
+ if ( $options{genlist} ) {
+ use Bib2HTML::Generator::AbstractGenerator ;
+ Bib2HTML::Generator::AbstractGenerator::display_supported_generators($PERLSCRIPTDIR,
+ "$DEFAULT_GENERATOR") ;
+ exit 1 ;
+ }
+
+ # Show the list of languages
+ if ( $options{langlist} ) {
+ use Bib2HTML::Generator::AbstractGenerator ;
+ Bib2HTML::Generator::AbstractGenerator::display_supported_languages($PERLSCRIPTDIR,
+ "$DEFAULT_LANGUAGE") ;
+ exit 1 ;
+ }
+
+ # Show the list of themes
+ if ( $options{themelist} ) {
+ use Bib2HTML::Generator::AbstractGenerator ;
+ Bib2HTML::Generator::AbstractGenerator::display_supported_themes($PERLSCRIPTDIR,
+ "$DEFAULT_THEME") ;
+ exit 1 ;
+ }
+
+ # Show the list of themes
+ if ( $options{'tex-commands'} ) {
+ use Bib2HTML::Translator::TeX ;
+ Bib2HTML::Translator::TeX::display_supported_commands($PERLSCRIPTDIR) ;
+ exit 1 ;
+ }
+
+ # Show the list of generator params
+ if ( $options{'genparamlist'} ) {
+ ($options{'generator'})->display_supported_generator_params() ;
+ exit 1 ;
+ }
+
+ # Show the help screens
+ if ( $options{manual} ) {
+ show_manual(1,"$PERLSCRIPTDIR","$PERLSCRIPTNAME") ;
+ }
+ if ( $options{help} || ( $#ARGV < 0 ) ) {
+ show_usage(1,"$PERLSCRIPTDIR","$PERLSCRIPTNAME") ;
+ }
+
+ # Force the output to stdout
+ if ( $options{'stdout'} ) {
+ my $name = "stdout" ;
+ $options{'genparams'}{"stdout"} = [1];
+ }
+
+ #
+ # Sets the default values of options
+ #
+ # Titles:
+
+ # Verbosing:
+ if ( $options{quiet} ) {
+ $options{verbose} = -1 ;
+ }
+ Bib2HTML::General::Verbose::setlevel( $options{verbose} ) ;
+
+ # Error messages:
+ if ( $options{'warnings'} ) {
+ Bib2HTML::General::Error::unsetwarningaserror() ;
+ }
+ else {
+ Bib2HTML::General::Error::setwarningaserror() ;
+ }
+ if ( $options{'sort-warnings'} ) {
+ Bib2HTML::General::Error::setsortwarnings() ;
+ }
+ else {
+ Bib2HTML::General::Error::unsetsortwarnings() ;
+ }
+
+ #
+ # Create the output directory
+ #
+ unless ($options{'stdout'}) {
+ $options{'output'} = check_output($options{'output'},$options{'force'});
+ }
+
+ # Read the BibTeX files
+ my $parser = new Bib2HTML::Parser::Parser($options{'show-bibtex'}) ;
+ if ( $options{'tex-preamble'} ) {
+ $parser->read_preambles( $options{'tex-preamble'} ) ;
+ }
+ $parser->parse( \@ARGV ) ;
+
+ # Check if the names of the authors are similars
+ if ( $options{'check-names'} ) {
+ eval "require Bib2HTML::Checker::Names;" ;
+ if ( $@ ) {
+ Bib2HTML::General::Error::syserr( "Unable to find the generator class: Bib2HTML::Checker::Names\n$@\n" ) ;
+ }
+ my $check = new Bib2HTML::Checker::Names() ;
+ $check->check($parser->content()) ;
+ }
+
+ # Translate the entries according to the JabRef tool
+ if ($options{'jabref'}) {
+ use Bib2HTML::JabRef::JabRef;
+
+ my $jabref = new Bib2HTML::JabRef::JabRef();
+
+ $jabref->parse($parser->content());
+ }
+
+ # Create the generator
+ #
+ Bib2HTML::Generator::LangManager::set_default_lang("$DEFAULT_LANGUAGE");
+ my $generator = ($options{'generator'})->new( $parser->content(),
+ $options{'output'},
+ { 'VERSION' => $VERSION,
+ 'BUG_URL' => $SUBMIT_BUG_URL,
+ 'URL' => $URL,
+ 'AUTHOR_EMAIL' => $AUTHOR_EMAIL,
+ 'AUTHOR' => $AUTHOR,
+ 'PERLSCRIPTDIR' => $PERLSCRIPTDIR,
+ },
+ { 'SHORT' => $options{'wintitle'},
+ 'LONG' => $options{'title'},
+ },
+ $options{'lang'},
+ $options{'theme'},
+ $options{'show-bibtex'},
+ $options{'genparams'} ) ;
+ if ($options{'protected_files'}) {
+ $generator->set_unremovable_files(@{$options{'protected_files'}});
+ }
+
+ # Generates the HMTL pages
+ #
+ $generator->generate() ;
+
+ # Display the quantity of warnings
+ Bib2HTML::General::Error::printwarningcount() ;
+
+ exit 0 ;
+}
+
+1;
+__END__
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Parser/BibScanner.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Parser/BibScanner.pm
new file mode 100644
index 0000000000..d984818c78
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Parser/BibScanner.pm
@@ -0,0 +1,817 @@
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+=pod
+
+=head1 NAME
+
+Bib2HTML::Parser::BibScanner - A scanner for extracted bibtex entries
+
+=head1 SYNOPSYS
+
+use Bib2HTML::Parser::BibScanner ;
+
+my $scan = Bib2HTML::Parser::BibScanner->new() ;
+
+=head1 DESCRIPTION
+
+Bib2HTML::Parser::BibScanner is a Perl module, which scannes
+a source file to recognize the bibtex entries
+
+=head1 GETTING STARTED
+
+=head2 Initialization
+
+To start a scanner, say something like this:
+
+ use Bib2HTML::Parser::BibScanner;
+
+ my $scan = Bib2HTML::Parser::BibScanner->new() ;
+
+...or something similar.
+
+=head1 METHOD DESCRIPTIONS
+
+This section contains only the methods in BibScanner.pm itself.
+
+=over
+
+=cut
+
+package Bib2HTML::Parser::BibScanner;
+
+@ISA = ('Bib2HTML::Parser::Scanner');
+@EXPORT = qw();
+@EXPORT_OK = qw();
+
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+use Exporter;
+use Carp ;
+use File::Basename ;
+
+use Bib2HTML::Parser::Scanner ;
+use Bib2HTML::General::Misc ;
+
+#------------------------------------------------------
+#
+# Global vars
+#
+#------------------------------------------------------
+
+# Version number of the scanner
+my $VERSION = "2.0" ;
+
+#------------------------------------------------------
+#
+# Constructor
+#
+#------------------------------------------------------
+
+sub new() : method {
+ my $proto = shift;
+ my $class = ref($proto) || $proto;
+ my $parent = ref($proto) && $proto ;
+
+ my $self ;
+ if ( $parent ) {
+ %{$self} = %{$parent} ;
+ }
+ else {
+ if ( $_[0] ) {
+ if ( ! $_[1] ) {
+ Bib2HTML::General::Error::syserr( "You must supply the initial state to the ".
+ "BibScanner constructor" ) ;
+ }
+ if ( ! $_[2] ) {
+ Bib2HTML::General::Error::syserr( "You must supply the final states to the ".
+ "BibScanner constructor" ) ;
+ }
+ $self = $class->SUPER::new( $_[0], $_[1], $_[2] ) ;
+ }
+ else {
+ $self = $class->SUPER::new(
+ { 'main' => [ { state => 'line_comment',
+ pattern => '\\%',
+ merge => 1,
+ splitmerging => 1,
+ },
+ { state => 'block_comment',
+ pattern => '\\@COMMENT\\s*\\{\\s*',
+ caseinsensitive => 1,
+ },
+ { state => 'line_comment',
+ pattern => '\\@COMMENT\b\\s*',
+ merge => 1,
+ splitmerging => 1,
+ caseinsensitive => 1,
+ },
+ { state => 'constant',
+ pattern => '\\@STRING\\s*\\{\\s*',
+ caseinsensitive => 1,
+ },
+ { state => 'preamble',
+ pattern => '\\@PREAMBLE\\s*',
+ caseinsensitive => 1,
+ },
+ { state => 'entry',
+ pattern => '@',
+ merge => 1,
+ },
+ { state => 'main',
+ pattern => '[^@%]+',
+ },
+ ],
+ # Eats the comment
+ 'line_comment' => [ { state => 'main',
+ pattern => "\n",
+ },
+ { state => 'line_comment',
+ pattern => "[^\n]+",
+ merge => 1,
+ },
+ ],
+ 'block_comment' => [ { state => 'main',
+ pattern => "\\}",
+ splitmerging => 1,
+ merge => 1,
+ },
+ { state => 'block_comment',
+ pattern => "[^\\}]+",
+ merge => 1,
+ },
+ ],
+ # Matches @something
+ 'entry' => [ { state => 'entry_type',
+ pattern => '[a-zA-Z]+',
+ },
+ ],
+ 'entry_type' => [ { state => 'entry_key',
+ pattern => "\\{\\s*",
+ },
+ { state => 'entry_type',
+ pattern => "\\s+",
+ },
+ ],
+ 'entry_key' => [ { state => 'entry_fields',
+ pattern => '[^,\s]+',
+ },
+ { state => 'entry_key',
+ pattern => '\\s+',
+ },
+ ],
+ 'entry_fields' => [ { state => 'entry_fields',
+ pattern => ',\\s*',
+ },
+ { state => 'entry_fields',
+ pattern => '\\s+',
+ },
+ { state => 'entry_fieldname',
+ pattern => '[a-zA-Z0-9.:_\\-]+',
+ },
+ { state => 'main',
+ pattern => '\\s*\\}',
+ },
+ ],
+ 'entry_fieldname' => [ { state => 'string',
+ pattern => '\\s*=\\s*',
+ },
+ { state => 'main',
+ pattern => '\\}',
+ },
+ { state => 'entry_fieldname',
+ pattern => '\\s+',
+ },
+ { state => 'entry_fields',
+ pattern => '.',
+ },
+ ],
+ # Matches @STRING
+ 'constant' => [ { state => 'main',
+ pattern => '\\}',
+ },
+ { state => 'constant_name',
+ pattern => '[a-zA-Z0-9.:]+',
+ },
+ { state => 'constant',
+ pattern => '\\s+',
+ },
+ ],
+ 'constant_name' => [ { state => 'string',
+ pattern => '=\\s*',
+ },
+ { state => 'main',
+ pattern => '\\}',
+ },
+ { state => 'constant_name',
+ pattern => '\\s+',
+ },
+ ],
+ # Matches @PREAMBLE
+ 'preamble' => [ { state => 'braced_string',
+ pattern => '\\{',
+ merge => 1,
+ splitmerging => 1,
+ },
+ { state => 'preamble',
+ pattern => '\\s+',
+ },
+ ],
+ 'preamble_end' => [ { state => 'main',
+ pattern => '.',
+ },
+ ],
+ # Matches a string
+ 'string' => [ { state => 'string',
+ pattern => '\\s+',
+ },
+ { state => 'braced_string',
+ pattern => '{',
+ merge => 1,
+ splitmerging => 1,
+ },
+ { state => 'quoted_string',
+ pattern => '\"',
+ merge => 1,
+ splitmerging => 1,
+ },
+ { state => 'keyword_string',
+ pattern => '[^\\s"{},;#]+',
+ }
+ ],
+ 'keyword_string' => [],
+ # Matches a braced string
+ 'braced_string' => [ { state => 'close_braced_string',
+ pattern => '}',
+ },
+ { state => 'open_braced_string',
+ pattern => '{',
+ },
+ { state => 'braced_string',
+ pattern => '\\\\.',
+ merge => 1,
+ },
+ { state => 'braced_string',
+ pattern => '[^{}\\\\]+',
+ merge => 1,
+ }
+ ],
+ 'close_braced_string' => [],
+ 'open_braced_string' => [],
+ # Matches a quoted string
+ 'quoted_string' => [ { state => 'quote_quoted_string',
+ pattern => '\"',
+ },
+ { state => 'quoted_string',
+ pattern => '\\\\.',
+ merge => 1,
+ },
+ { state => 'quoted_string',
+ pattern => '[^\"\\\\]+',
+ merge => 1,
+ }
+ ],
+ 'quote_quoted_string' => [],
+ # Concatenation operator
+ 'concatenation_operator' => [ { state => 'string',
+ pattern => '\\s*\\#\\s*',
+ },
+ { state=> 'concatenation_operator',
+ pattern => '[^#]',
+ },
+ ],
+ },
+ 'main',
+ [ 'main', 'line_comment' ]
+ ) ;
+ }
+ # Initializes the class attributes
+ $self->clearentries() ;
+ }
+ bless( $self, $class );
+ return $self;
+}
+
+#------------------------------------------------------
+#
+# Callback functions
+#
+#------------------------------------------------------
+
+sub transition_callback_concatenation_operator_concatenation_operator($) {
+ my $self = shift ;
+ $self->ungetpattern( $_[0] ) ;
+ $self->pop_state() ;
+}
+
+sub transition_callback_concatenation_operator_string($) {
+ my $self = shift ;
+ $self->translate_to_contatenatedstring() ;
+}
+
+sub transition_callback_string_keyword_string($) {
+ my $self = shift ;
+ $self->setstring($_[0],1) ;
+ $self->pop_state() ;
+}
+
+sub transition_callback_braced_string_close_braced_string($) {
+ my $self = shift ;
+ $self->setstring($_[0]) ;
+ if ( $self->{'BUFFER'}{'BRACE_COUNT'} > 0 ) {
+ $self->{'BUFFER'}{'BRACE_COUNT'} -- ;
+ $self->set_state('braced_string');
+ }
+ else {
+ $self->pop_state() ;
+ }
+}
+
+sub transition_callback_braced_string_open_braced_string($) {
+ my $self = shift ;
+ $self->{'BUFFER'}{'BRACE_COUNT'} ++ ;
+ $self->setstring($_[0]) ;
+ $self->set_state('braced_string');
+}
+
+sub transition_callback_string_braced_string($) {
+ my $self = shift ;
+ $self->{'BUFFER'}{'BRACE_COUNT'} = 0 ;
+}
+
+sub transition_callback_quoted_string_quote_quoted_string($) {
+ my $self = shift ;
+ $self->setstring($_[0]) ;
+ $self->pop_state('braced_string') ;
+}
+
+sub state_callback_string($$) {
+ my $self = shift ;
+ if ( ( $_[1] !~ /string/ ) &&
+ ( $_[1] ne 'concatenation_operator' ) ) {
+ $self->clearstring() ;
+ $self->push_state($_[1]) ;
+ }
+ $self->push_state('concatenation_operator') ;
+}
+
+sub transition_callback_entry_fields_main($) {
+ my $self = shift ;
+ $self->addentry( $self->{'BUFFER'}{'currententry'}{'key'},
+ $self->{'BUFFER'}{'currententry'}{'type'},
+ $self->{'BUFFER'}{'currententry'}{'fields'},
+ $self->{'BUFFER'}{'currententry'}{'lineno'} ) ;
+ delete( $self->{'BUFFER'}{'currententry'} ) ;
+}
+
+sub transition_callback_entry_fieldname_main($) {
+ my $self = shift ;
+ my $field = $self->{'BUFFER'}{'currentfield'} ;
+ $self->{'BUFFER'}{'currententry'}{'fields'}{$field} = $self->clearstring() ;
+ $self->transition_callback_entry_fields_main(undef) ;
+}
+
+sub transition_callback_entry_fieldname_entry_fields($) {
+ my $self = shift ;
+ my $field = $self->{'BUFFER'}{'currentfield'} ;
+ $self->{'BUFFER'}{'currententry'}{'fields'}{$field} = $self->clearstring() ;
+}
+
+sub transition_callback_entry_fields_entry_fieldname($) {
+ my $self = shift ;
+ $self->{'BUFFER'}{'currentfield'} = $_[0] || '' ;
+}
+
+sub transition_callback_entry_key_entry_fields($) {
+ my $self = shift ;
+ $self->{'BUFFER'}{'currententry'}{'key'} = $_[0] || '' ;
+}
+
+sub transition_callback_entry_entry_type($) {
+ my $self = shift ;
+ my $type = $_[0] || '' ;
+ $type =~ s/^\s*\@// ;
+ $self->{'BUFFER'}{'currententry'} = { 'type' => lc($type),
+ 'lineno' => $self->{'LINENO'},
+ } ;
+}
+
+sub transition_callback_preamble_braced_string($) {
+ my $self = shift ;
+ $self->{'BUFFER'}{'BRACE_COUNT'} = 0 ;
+ $self->push_state('preamble_end');
+}
+
+sub transition_callback_preamble_end_main($) {
+ my $self = shift ;
+ $self->addpreamble( $self->clearstring(), $self->{'LINENO'} ) ;
+ $self->ungetpattern($_[0]);
+}
+
+sub transition_callback_constant_constant_name($) {
+ my $self = shift ;
+ $self->{'BUFFER'}{'constant'}{'name'} = $_[0] || '' ;
+ $self->{'BUFFER'}{'constant'}{'lineno'} = $self->{'LINENO'} ;
+}
+
+sub transition_callback_constant_name_main($) {
+ my $self = shift ;
+ $self->addconstant( $self->{'BUFFER'}{'constant'}{'name'},
+ $self->clearstring(),
+ $self->{'BUFFER'}{'constant'}{'lineno'} ) ;
+}
+
+sub transition_callback_block_comment_main($) {
+ my $self = shift ;
+ $self->addcomment("$_[0]");
+}
+
+#------------------------------------------------------
+#
+# Scanning API
+#
+#------------------------------------------------------
+
+=pod
+
+=item * scanentries()
+
+Replies an array that contains the bibtex
+parts readed from the source file.
+Takes 1 arg:
+
+=over
+
+=item * filename (string)
+
+is the name of the file from which the bibtex parts must
+be extracted.
+
+=back
+
+=cut
+sub scanentries($) : method {
+ my $self = shift ;
+ my $filename = $_[0] || confess( 'you must supply the filename' ) ;
+ $self->clearentries() ;
+ $self->clearstring() ;
+
+ if ( ! $self->scan( $filename ) ) {
+ Bib2HTML::General::Error::err( "Unexpected end of file (state: ".$self->{'SM_CURRENT_STATE'}.")",
+ $filename,
+ $self->{'LINENO'} ) ;
+ }
+
+ Bib2HTML::General::Verbose::three( join( '',
+ "\t",
+ hashcount($self->{'BIBSCANNER_ENTRIES'}{'entries'}),
+ " entr",
+ (hashcount($self->{'BIBSCANNER_ENTRIES'}{'entries'})>1)?"ies":"y" ) ) ;
+
+ return $self->getentries() ;
+}
+
+#------------------------------------------------------
+#
+# Block functions
+#
+#------------------------------------------------------
+
+=pod
+
+=item * clearentries()
+
+Destroyes all recognized blocks.
+
+=cut
+sub clearentries() {
+ my $self = shift ;
+ $self->{'BIBSCANNER_ENTRIES'} = { 'constants' => {},
+ 'comments' => [],
+ 'preambles' => [],
+ 'entries' => {},
+ } ;
+}
+
+=pod
+
+=item * getentries()
+
+Replies the readed entries
+
+=cut
+sub getentries() {
+ my $self = shift ;
+ return $self->{'BIBSCANNER_ENTRIES'} ;
+}
+
+=pod
+
+=item * addconstant()
+
+Adds a constant inside the readed data.
+Takes 3 args:
+
+=over
+
+=item * name (string)
+
+is the name of the constant
+
+=item * value (string)
+
+is the value of the constant
+
+=item * lineno (integer)
+
+is the line number where the constant starts
+
+=back
+
+=cut
+sub addconstant($$$) {
+ my $self = shift ;
+ my $name = $_[0] || '' ;
+ my $lineno = $_[2] || 0 ;
+ my $lcname = lc( $name ) ;
+ if ( ! $lcname ) {
+ Bib2HTML::General::Error::warm( "I expected a string name. Ignore this constant definition.",
+ $self->{'FILENAME'},
+ $self->{'LINENO'} ) ;
+ }
+ elsif ( exists $self->{'BIBSCANNER_ENTRIES'}{'constants'}{$lcname} ) {
+ Bib2HTML::General::Error::warm( "the \@STRING '".$name."' was already ".
+ "defined. Ignored the last instance.",
+ $self->{'FILENAME'},
+ $lineno ) ;
+ }
+ else {
+ $self->{'BIBSCANNER_ENTRIES'}{'constants'}{$lcname}{'text'} = $_[1] ;
+ $self->{'BIBSCANNER_ENTRIES'}{'constants'}{$lcname}{'location'} = $self->{'FILENAME'}.":".$lineno ;
+ }
+}
+
+=pod
+
+=item * addcomment()
+
+Adds a comment inside the readed data.
+Takes 3 args:
+
+=over
+
+=item * value (string)
+
+is the value of the comment
+
+=back
+
+=cut
+sub addcomment($) {
+ my $self = shift ;
+ my $value = $_[0] || '' ;
+ push @{$self->{'BIBSCANNER_ENTRIES'}{'comments'}}, "$value";
+}
+
+=pod
+
+=item * addpreamble()
+
+Adds a preamble inside the readed data.
+Takes 1 args:
+
+=over
+
+=item * content (string)
+
+is the content of the preamble
+
+=item * lineno (integer)
+
+is the line number where the preamble starts
+
+=back
+
+=cut
+sub addpreamble($$) {
+ my $self = shift ;
+ my $lineno = $_[1] || 0 ;
+ if ( $_[0] ) {
+ push @{$self->{'BIBSCANNER_ENTRIES'}{'preambles'}}, { 'tex' => $_[0],
+ 'location' => $self->{'FILENAME'}.":".$lineno,
+ } ;
+ }
+}
+
+=pod
+
+=item * addentry()
+
+Adds an entry inside the readed data.
+Takes 3 args:
+
+=over
+
+=item * key (string)
+
+is the bibtex key
+
+=item * type (string)
+
+is the bibtex type of the entry
+
+=item * fields (hash)
+
+is the list of the field for this entry
+
+=item * lineno (integer)
+
+is the line number where the entry starts
+
+=back
+
+=cut
+sub addentry($$$$) {
+ my $self = shift ;
+ my $key = $_[0] || confess( 'you must supply the entry key' ) ;
+ my $type = $_[1] || confess( 'you must supply the entry type' ) ;
+ my $fields = $_[2] || { } ;
+ my $lineno = $_[3] || 0 ;
+ $fields = { } unless ishash( $fields ) ;
+
+ if ($key !~ /^[a-zA-Z0-9.:_\-=\+]+$/) {
+ Bib2HTML::General::Error::warm( "the entry '".$key."' does not respect the ".
+ "official entry key guidelines from ".
+ "the BibTeX specifications.",
+ $self->{'FILENAME'},
+ $lineno ) ;
+ }
+
+ if ( exists $self->{'BIBSCANNER_ENTRIES'}{'entries'}{$key} ) {
+ Bib2HTML::General::Error::warm( "the entry '".$key."' was already ".
+ "defined. Ignored the last instance.",
+ $self->{'FILENAME'},
+ $lineno ) ;
+ }
+ else {
+ $self->{'BIBSCANNER_ENTRIES'}{'entries'}{$key}{'type'} = lc($type) ;
+ $self->{'BIBSCANNER_ENTRIES'}{'entries'}{$key}{'location'} = $self->{'FILENAME'}.":".$lineno ;
+ $self->{'BIBSCANNER_ENTRIES'}{'entries'}{$key}{'dirname'} = dirname($self->{'FILENAME'}) ;
+ while ( my ($k, $value) = each (%{$fields}) ) {
+ # Patched by: Martin P.J. ZINSER <zinser@zinser.no-ip.info>
+ # lc was added to support multi-case field names
+ $self->{'BIBSCANNER_ENTRIES'}{'entries'}{$key}{'fields'}{lc($k)} = $value ;
+ }
+ }
+}
+
+#------------------------------------------------------
+#
+# String functions
+#
+#------------------------------------------------------
+
+=pod
+
+=item * clearstring()
+
+Clear the string, and replies the old value.
+
+=cut
+sub clearstring() {
+ my $self = shift ;
+ my $str = $self->getstring() ;
+ delete( $self->{'BUFFER'}{'string'} ) ;
+ return $str ;
+}
+
+=pod
+
+=item * getstring()
+
+Replies the current string.
+
+=cut
+sub getstring() {
+ my $self = shift ;
+ if ( isarray( $self->{'BUFFER'}{'string'} ) ) {
+ for(my $i=0; $i<=$#{$self->{'BUFFER'}{'string'}}; $i++) {
+ $self->{'BUFFER'}{'string'}[$i] = $self->cleanstring($self->{'BUFFER'}{'string'}[$i]) ;
+ }
+ return $self->{'BUFFER'}{'string'} ;
+ }
+ else {
+ return $self->cleanstring($self->{'BUFFER'}{'string'}) ;
+ }
+}
+
+=pod
+
+=item * cleanstring()
+
+Removes string delimiters.
+Takes 1 arg:
+
+=over
+
+=item * text (string)
+
+is the string to remove.
+
+=over
+
+=cut
+sub cleanstring($) {
+ my $self = shift ;
+ my $text = $_[0] || '' ;
+ $text =~ s/[ \t]*[\n\r][ \t]*/ /gm ;
+ if ( $text =~ /^\".*\"$/ ) {
+ $text =~ s/^\"/{/ ;
+ $text =~ s/\"$/}/ ;
+ }
+ return $text ;
+}
+
+=pod
+
+=item * setstring()
+
+Sets the string.
+
+=cut
+sub setstring($;$) {
+ my $self = shift ;
+ my $iskeyword = $_[1] || 0 ;
+ my $str = $_[0] || '' ;
+ if ( isarray( $self->{'BUFFER'}{'string'} ) ) {
+ my $last = $#{$self->{'BUFFER'}{'string'}} ;
+ if ( $self->{'BUFFER'}{'string'}[$last] ) {
+ $self->{'BUFFER'}{'string'}[$last] .= $str ;
+ }
+ else {
+ $self->{'BUFFER'}{'string'}[$last] = $str ;
+ }
+ }
+ elsif ( $self->{'BUFFER'}{'string'} ) {
+ $self->{'BUFFER'}{'string'} .= $str ;
+ }
+ else {
+ $self->{'BUFFER'}{'string'} = $str ;
+ }
+}
+
+=pod
+
+=item * translate_to_contatenatedstring()
+
+Sets the string as a concatened string if
+it was not already set as.
+Adds an empty element to this contatened
+string.
+A concatened string is used to split the
+different components of the string in order
+to extract the potential string constant to
+replace.
+
+=cut
+sub translate_to_contatenatedstring() {
+ my $self = shift ;
+ force_add_value_entry($self->{'BUFFER'}, 'string', '' ) ;
+}
+
+1;
+__END__
+
+=back
+
+=head1 COPYRIGHT
+
+(c) Copyright 1998-09 Stéphane Galland <galland@arakhne.org>, under GPL.
+
+=head1 AUTHORS
+
+=over
+
+=item *
+
+Conceived and initially developed by Stéphane Galland E<lt>galland@arakhne.orgE<gt>.
+
+=back
+
+=head1 SEE ALSO
+
+bib2html.pl
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Parser/Parser.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Parser/Parser.pm
new file mode 100644
index 0000000000..25a146e1ed
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Parser/Parser.pm
@@ -0,0 +1,477 @@
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+=pod
+
+=head1 NAME
+
+Bib2HTML::Parser::Parser - A parser for BibTeX files.
+
+=head1 SYNOPSYS
+
+use Bib2HTML::Parser::Parser ;
+
+my $gen = Bib2HTML::Parser::Parser->new() ;
+
+=head1 DESCRIPTION
+
+Bib2HTML::Parser::Parser is a Perl module, which parses
+a source file to recognize the BibTeX tokens.
+
+=head1 GETTING STARTED
+
+=head2 Initialization
+
+To create a parser, say something like this:
+
+ use Bib2HTML::Parser::Parser;
+
+ my $parser = Bib2HTML::Parser::Parser->new() ;
+
+...or something similar.
+The constructor could take 1 arg:
+
+=over
+
+=item * show_bibtex (boolean)
+
+indicates if the BibTeX code will be generated inside
+a verbatim area. This flag permits to this parser
+to store (or not) the initial value of each field.
+Caution about the memory space.
+
+=head1 METHOD DESCRIPTIONS
+
+This section contains only the methods in Parser.pm itself.
+
+=over
+
+=cut
+
+package Bib2HTML::Parser::Parser;
+
+@ISA = ('Exporter');
+@EXPORT = qw();
+@EXPORT_OK = qw();
+
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+use Exporter;
+use Carp ;
+use File::Basename ;
+use File::Spec ;
+
+use Bib2HTML::General::Misc ;
+use Bib2HTML::General::Error ;
+use Bib2HTML::General::Verbose ;
+
+use Bib2HTML::Parser::BibScanner ;
+
+use Bib2HTML::Translator::TeX ;
+use Bib2HTML::Translator::BibTeXEntry ;
+
+#------------------------------------------------------
+#
+# Global vars
+#
+#------------------------------------------------------
+
+# Version number of the parser
+my $VERSION = "2.1" ;
+
+#------------------------------------------------------
+#
+# Constructor
+#
+#------------------------------------------------------
+
+sub new(;$) : method {
+ my $proto = shift;
+ my $class = ref($proto) || $proto;
+ my $parent = ref($proto) && $proto ;
+
+ my $self ;
+ if ( $parent ) {
+ %{$self} = %{$parent} ;
+ bless( $self, $class );
+ }
+ else {
+ $self = { 'CONTENT' => {},
+ 'FILE_PREAMBLES' => '',
+ 'SHOW_BIBTEX' => $_[0],
+ } ;
+ bless( $self, $class );
+ $self->clearcontent() ;
+ }
+ return $self;
+}
+
+#------------------------------------------------------
+#
+# Getter/setter functions
+#
+#------------------------------------------------------
+
+=pod
+
+=item * content()
+
+Replies the content of the documentation
+read by the parser.
+
+=cut
+sub content() : method {
+ my $self = shift ;
+ return $self->{'CONTENT'} ;
+}
+
+=pod
+
+=item * clearcontent()
+
+Destoys the readed content and sets it
+to the empty.
+
+=cut
+sub clearcontent() : method {
+ my $self = shift ;
+ $self->{'CONTENT'} = { } ;
+}
+
+#------------------------------------------------------
+#
+# Main parsing functions
+#
+#------------------------------------------------------
+
+=pod
+
+=item * parse()
+
+Parses the files.
+Takes 1 arg:
+
+=over
+
+=item * file_list (array ref)
+
+is an array that contains the names of the files and the
+directories from which the parser must read the bibtex entries.
+
+=back
+
+=cut
+sub parse(\@) : method {
+ my $self = shift ;
+ $self->clearcontent() ;
+ # Evaluate the TeX expressions
+ if ( ( $self->{'FILE_PREAMBLES'} ) &&
+ ( exists( $self->{'FILE_PREAMBLES'}{'tex'} ) ) &&
+ ( $self->{'FILE_PREAMBLES'}{'tex'} ) ) {
+ Bib2HTML::General::Verbose::two( "Evaluate the user's LaTeX definitions...\n" ) ;
+ my $trans = Bib2HTML::Translator::TeX->new( $self->{'FILE_PREAMBLES'}{'filename'} ) ;
+ $trans->translate( $self->{'FILE_PREAMBLES'}{'tex'},
+ $self->{'CONTENT'}{'entries'} ) ;
+ }
+ # Evaluate each file
+ if ( isarray( $_[0] ) ) {
+ foreach my $file (@{$_[0]}) {
+ $self->readfile( $file ) ;
+ }
+ }
+ else {
+ die("END1");
+ $self->readfile( $_[0] ) ;
+ }
+ # Save the TeX entries
+ if ( $self->{'SHOW_BIBTEX'} ) {
+ $self->save_bibtex_entries() ;
+ }
+ # Evalute TeX expressions
+ $self->tex_translation() ;
+ # Expand the crossref fields
+ $self->expand_crossref() ;
+
+ return $self->content() ;
+}
+
+=pod
+
+=item * readfile()
+
+Reads the content of a file.
+Takes 1 arg:
+
+=over
+
+=item * name (string)
+
+is the name of the file to read.
+
+=back
+
+=cut
+sub readfile($) : method {
+ my $self = shift ;
+ my $filename = $_[0] || confess( 'you must supply the filename' ) ;
+
+ # Read the file content
+ Bib2HTML::General::Verbose::two( "Read $filename..." ) ;
+ my $scanner = new Bib2HTML::Parser::BibScanner() ;
+ if ($self->{'CONTENT'}) {
+ my $content = $scanner->scanentries($filename) ;
+ # Merge the constants
+ if ($content->{'constants'}) {
+ foreach my $constant (keys %{$content->{'constants'}}) {
+ if (exists $self->{'CONTENT'}{'constants'}{"$constant"}) {
+ Bib2HTML::General::Error::warm( "multiple definition for the constant '".
+ $constant."'",
+ $filename,
+ extract_line_from_location($content->{'constants'}{"$constant"}{'location'})) ;
+ }
+ $self->{'CONTENT'}{'constants'}{"$constant"} = $content->{'constants'}{"$constant"} ;
+ }
+ }
+ # Merge the preambles
+ if ($content->{'preambles'}) {
+ push @{$self->{'CONTENT'}{'preambles'}}, @{$content->{'preambles'}} ;
+ }
+ # Merge the comments
+ if ($content->{'comments'}) {
+ push @{$self->{'CONTENT'}{'comments'}}, @{$content->{'comments'}} ;
+ }
+ # Merge the red content to the previous content
+ if ($content->{'entries'}) {
+ foreach my $entry (keys %{$content->{'entries'}}) {
+ if (exists $self->{'CONTENT'}{'entries'}{"$entry"}) {
+ Bib2HTML::General::Error::warm( "multiple definition for the entry '".
+ $entry."'",
+ $filename,
+ extract_line_from_location($content->{'entriess'}{"$entry"}{'location'})) ;
+ }
+ $self->{'CONTENT'}{'entries'}{"$entry"} = $content->{'entries'}{"$entry"} ;
+ }
+ }
+ }
+ else {
+ $self->{'CONTENT'} = $scanner->scanentries($filename) ;
+ }
+}
+
+=pod
+
+=item * read_preambles()
+
+Read some LaTeX commands from a file.
+There commands are defined previously
+any command from the BibTeX files.
+Takes 1 arg:
+
+=over
+
+=item * file (string)
+
+=back
+
+=cut
+sub read_preambles($) : method {
+ my $self = shift ;
+ $self->{'FILE_PREAMBLES'} = '' ;
+ if ( $_[0] ) {
+ Bib2HTML::General::Verbose::two( "Reading the user's LaTeX definitions...\n" ) ;
+ if ( ( -f $_[0] ) &&
+ ( -r $_[0] ) ) {
+ my $tex = '' ;
+ local *FILE_PREAMBLE ;
+ open( *FILE_PREAMBLE, "< $_[0]" )
+ or Bib2HTML::General::Error::syserr( "$_[0]: $!" ) ;
+ while ( my $line = <FILE_PREAMBLE> ) {
+ $tex .= $line ;
+ }
+ close( *FILE_PREAMBLE ) ;
+ $tex =~ s/^[ \t\n\r]+// ;
+ $tex =~ s/[ \t\n\r]+$// ;
+ if ( $tex ) {
+ $self->{'FILE_PREAMBLES'} = {} ;
+ $self->{'FILE_PREAMBLES'}{'tex'} = $tex ;
+ $self->{'FILE_PREAMBLES'}{'filename'} = $_[0] ;
+ }
+ }
+ else {
+ Bib2HTML::General::Error::syserr( "unable to find or read the preamble file '$_[0]'" ) ;
+ }
+ }
+}
+
+=pod
+
+=item * expand_crossref()
+
+Expands crossref fields.
+
+=cut
+sub expand_crossref() : method {
+ my $self = shift ;
+
+ Bib2HTML::General::Verbose::two( "Expand crossref fields...\n" ) ;
+
+ foreach my $entry (keys %{$self->{'CONTENT'}{'entries'}}) {
+
+ if ( exists $self->{'CONTENT'}{'entries'}{"$entry"}{'fields'}{'crossref'} ) {
+
+ my $parent = $self->{'CONTENT'}{'entries'}{"$entry"}{'fields'}{'crossref'} ;
+ if ( exists $self->{'CONTENT'}{'entries'}{"$parent"} ) {
+
+ foreach my $field (keys %{$self->{'CONTENT'}{'entries'}{"$parent"}{'fields'}}) {
+ if ( ! exists $self->{'CONTENT'}{'entries'}{"$entry"}{'fields'}{"$field"} ) {
+ $self->{'CONTENT'}{'entries'}{"$entry"}{'fields'}{"$field"} =
+ $self->{'CONTENT'}{'entries'}{"$parent"}{'fields'}{"$field"} ;
+ }
+ }
+
+ }
+ else {
+ my $filename = extract_file_from_location( $self->{'CONTENT'}{'entries'}{"$entry"}{'location'} ) ;
+ my $lineno = extract_line_from_location( $self->{'CONTENT'}{'entries'}{"$entry"}{'location'} ) ;
+ Bib2HTML::General::Error::warm( "unable to find the entry '$parent' required for ".
+ "the crossref from '$entry'",
+ $filename, $lineno ) ;
+ }
+
+ }
+ }
+
+}
+
+=pod
+
+=item * tex_translation()
+
+Translates TeX expressions
+
+=cut
+sub tex_translation() : method {
+ my $self = shift ;
+
+ # Evaluate @preamble
+ Bib2HTML::General::Verbose::two( "Evaluate TeX expressions for the preambles...\n" ) ;
+
+ foreach my $preamble (@{$self->{'CONTENT'}{'preambles'}}) {
+ if ( $preamble->{'tex'} ) {
+ my $trans = Bib2HTML::Translator::TeX->new( extract_file_from_location( $preamble->{'location'} ) ) ;
+ $trans->translate( $preamble->{'tex'},
+ $self->{'CONTENT'}{'entries'},
+ extract_line_from_location( $preamble->{'location'} ) ) ;
+ }
+ }
+
+ # Evaluate @string
+ Bib2HTML::General::Verbose::two( "Evaluate TeX expressions for the constants...\n" ) ;
+ my $be = new Bib2HTML::Translator::BibTeXEntry() ;
+ foreach my $const (keys %{$self->{'CONTENT'}{'constants'}}) {
+ $self->{'CONTENT'}{'constants'}{$const}{'text'} = $be->expand_bibtex_vars($self->{'CONTENT'}{'constants'}{$const}{'text'},
+ $self->{'CONTENT'}{'constants'}) ;
+ }
+
+ # Evaluate @preamble
+ Bib2HTML::General::Verbose::two( "Evaluate TeX expressions for the preambles...\n" ) ;
+
+ # Evaluate entries' fields
+ foreach my $entry (keys %{$self->{'CONTENT'}{'entries'}}) {
+
+ Bib2HTML::General::Verbose::two( "Evaluate TeX expressions for '$entry'...\n" ) ;
+ my $filename = extract_file_from_location( $self->{'CONTENT'}{'entries'}{$entry}{'location'} ) ;
+ my $lineno = extract_line_from_location( $self->{'CONTENT'}{'entries'}{$entry}{'location'} ) ;
+ my $trans = Bib2HTML::Translator::TeX->new( $filename ) ;
+
+ foreach my $field (keys %{$self->{'CONTENT'}{'entries'}{$entry}{'fields'}}) {
+
+ if ( ! bibtex_ignore_field_parsing( $field ) ) {
+
+ # Translate the TeX code of this field into HTML source code
+ Bib2HTML::General::Verbose::three( "\ttreat field '$field'" ) ;
+
+ my $text = $be->expand_bibtex_vars($self->{'CONTENT'}{'entries'}{$entry}{'fields'}{$field},
+ $self->{'CONTENT'}{'constants'} ) ;
+
+ $self->{'CONTENT'}{'entries'}{$entry}{'fields'}{$field} = $trans->translate( $text,
+ $self->{'CONTENT'}{'entries'},
+ $lineno ) ;
+
+ }
+ else {
+
+ # Do not translate the TeX code of this field into HTML source code
+ # Simply remove the
+ if ( $self->{'CONTENT'}{'entries'}{$entry}{'fields'}{$field} =~ /^{(.*)}$/) {
+ $self->{'CONTENT'}{'entries'}{$entry}{'fields'}{$field} = "$1" ;
+ }
+
+ }
+ }
+
+ }
+
+}
+
+=pod
+
+=item * save_bibtex_entries()
+
+Saves the original text for the BibTeX entries
+
+=cut
+sub save_bibtex_entries() : method {
+ my $self = shift ;
+
+ Bib2HTML::General::Verbose::two( "Save the BibTeX original values for futher verbatim...\n" ) ;
+
+ # Evaluate entries' fields
+ foreach my $entry (keys %{$self->{'CONTENT'}{'entries'}}) {
+
+ foreach my $field (keys %{$self->{'CONTENT'}{'entries'}{$entry}{'fields'}}) {
+
+ $self->{'CONTENT'}{'entries'}{$entry}{'original-fields'}{$field} =
+ $self->{'CONTENT'}{'entries'}{$entry}{'fields'}{$field} ;
+
+ }
+
+ }
+}
+
+1;
+__END__
+
+=back
+
+=head1 COPYRIGHT
+
+(c) Copyright 1998-09 Stéphane Galland <galland@arakhne.org>, under GPL.
+
+=head1 AUTHORS
+
+=over
+
+=item *
+
+Conceived and initially developed by Stéphane Galland E<lt>galland@arakhne.orgE<gt>.
+
+=back
+
+=head1 SEE ALSO
+
+bib2html.pl
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Parser/Scanner.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Parser/Scanner.pm
new file mode 100644
index 0000000000..bd02275638
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Parser/Scanner.pm
@@ -0,0 +1,490 @@
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+=pod
+
+=head1 NAME
+
+Bib2HTML::Parser::Scanner - An abstract scanner for extracted bibtex entries
+
+=head1 SYNOPSYS
+
+use Bib2HTML::Parser::Scanner ;
+
+my $scan = Bib2HTML::Parser::StateMachine->new(
+ transitions,
+ initial_state,
+ final_states
+ ) ;
+
+=head1 DESCRIPTION
+
+Bib2HTML::Parser::Scanner is a Perl module, which is a
+state machine which reads a input stream. This is an
+abstract scanner, i.e. it is not specific to a language
+such as PHP, HTML...
+
+=head1 GETTING STARTED
+
+=head2 Initialization
+
+To start a scanner, say something like this:
+
+ use Bib2HTML::Parser::Scanner;
+
+ my $sm = Bib2HTML::Parser::Scanner->new(
+ { '0' => [ { callback => 'myfunc',
+ pattern => 'a+',
+ state => '1',
+ },
+ { state => '0' },
+ ],
+ '1' => { state => '0',
+ },
+ },
+ '0',
+ [ '1' ]
+ ) ;
+
+...or something similar. Acceptable parameters to the constructor are:
+
+=over
+
+=item * transitions (hash ref)
+
+describes the states of this machine. It must be an
+associative array in which the keys are the name of
+each states, and the associated values describe the
+states with an array of transitions or with only
+one transition. A transition is defined as an
+associative array in which the following keys are
+recognized:
+
+=over
+
+=item * state (string)
+
+is the name of the state on which the machine must be
+after this transition. B<This value is required.>
+
+=item * pattern (string)
+
+is a regular expression that describe the selection
+condition needed to do this translation. B<This
+value is optional>. But, only once transition
+is able to not defined the pattern. This special
+transition is the default (if no other transition
+could be selected).
+
+=item * callback (string)
+
+is the name (not the reference) to a function that
+must be called each time this transition was selected.
+B<This value is optional>.
+
+=item * merge (boolean)
+
+if true and the state does not changed, the recognized
+token will be merged to the previous token.
+B<This value is optional>.
+
+=back
+
+=head1 METHOD DESCRIPTIONS
+
+This section contains only the methods in Scanner.pm itself.
+
+=over
+
+=cut
+
+package Bib2HTML::Parser::Scanner;
+
+@ISA = ('Bib2HTML::Parser::StateMachine');
+@EXPORT = qw();
+@EXPORT_OK = qw();
+
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+use Exporter;
+use Carp ;
+use File::Basename ;
+
+use Bib2HTML::Parser::StateMachine ;
+use Bib2HTML::General::Misc ;
+
+#------------------------------------------------------
+#
+# Global vars
+#
+#------------------------------------------------------
+
+# Version number of the scanner
+my $VERSION = "1.0" ;
+
+#------------------------------------------------------
+#
+# Constructor
+#
+#------------------------------------------------------
+
+sub new($$$) : method {
+ my $proto = shift;
+ my $class = ref($proto) || $proto;
+ my $parent = ref($proto) && $proto ;
+
+ my $self ;
+ if ( $parent ) {
+ %{$self} = %{$parent} ;
+ }
+ else {
+ $self = $class->SUPER::new( $_[0], $_[1], $_[2] ) ;
+ $self->{'LINENO'} = 0 ;
+ $self->{'STATE_STACK'} = [] ;
+ }
+ bless( $self, $class );
+ return $self;
+}
+
+#------------------------------------------------------
+#
+# Scanning functions
+#
+#------------------------------------------------------
+
+=pod
+
+=item * scan()
+
+Reads a input stream. Replies if the state machine is
+in a final state.
+Takes 1 arg:
+
+=over
+
+=item * filename (string)
+
+is the name of the file from which the tokens must
+be extracted.
+
+=back
+
+=cut
+sub scan($) : method {
+ my $self = shift ;
+ my $filename = $_[0] || confess( 'you must supply the filename' ) ;
+ local *SOURCEFILE ;
+ open( SOURCEFILE, "< $filename" )
+ or Bib2HTML::General::Error::syserr( "unable to open $filename: $!" ) ;
+
+ # Initialize the state machine
+ $self->{'LINENO'} = 0 ;
+ $self->{'FILENAME'} = $filename ;
+
+ $self->resetstatemachine() ;
+
+ while ( my $line = <SOURCEFILE> ) {
+ # Read a line
+ $self->{'LINENO'} ++ ;
+ # Translate the red line
+ # This translation is dependent of
+ # the scanner which inherited from this Scanner.
+ $line = $self->translate_current_line( $line ) ;
+ if ( $line !~ /^(\n|\r|\s)$/ ) {
+ while ( $line ) {
+ # Clear the buffer which store the unget
+ # tokens
+ $self->{'UNGET_BUFFER'} = '' ;
+ # Try to recognize the next token
+ # according to the translation table
+ $line = $self->changestatefrom( $line ) ;
+ # In case some call to ungetpattern
+ # was made, merges the unget string
+ # to the start of the current red
+ # line
+ if ( $self->{'UNGET_BUFFER'} ) {
+ $line = $self->{'UNGET_BUFFER'} . $line ;
+ }
+ }
+ }
+ }
+ $self->changestateforEOF() ;
+
+ Bib2HTML::General::Verbose::three( join( '',
+ "\t",
+ $self->{'LINENO'},
+ " line",
+ ($self->{'LINENO'}>1)?"s":"",
+ "\n" ) ) ;
+
+ close( SOURCEFILE )
+ or Bib2HTML::General::Error::syserr( "unable to close $filename: $!" ) ;
+
+ return $self->isfinalstate() ;
+}
+
+=pod
+
+=item * ungetpattern()
+
+Pushes the specified string into the current red string.
+Takes 1 arg:
+
+=over
+
+=item * text (string)
+
+is the text that must be put inside the current stream.
+
+=back
+
+=cut
+sub ungetpattern($) : method {
+ my $self = shift ;
+ my $text = $_[0] || '' ;
+ $self->{'UNGET_BUFFER'} = $text . $self->{'UNGET_BUFFER'} ;
+ Bib2HTML::General::Verbose::verb( join( '',
+ "\t\tUNGET = '",
+ tohumanreadable($text),
+ "'" ),
+ 4 ) ;
+}
+
+=pod
+
+=item * translate_current_line()
+
+Replies the translation of the current line which was readed from
+the current input file.
+Takes 1 arg:
+
+=over
+
+=item * line (string)
+
+is the line to translate.
+
+=back
+
+=cut
+sub translate_current_line($) : method {
+ my $self = shift ;
+ return ($_[0] || '') ;
+}
+
+=pod
+
+=item * push_switch_state()
+
+Pushes the current state on the state stack and switch to the specified state.
+Takes 1 arg:
+
+=over
+
+=item * state (string)
+
+is the name of the new state to reach.
+
+=back
+
+=cut
+sub push_switch_state($) : method {
+ my $self = shift ;
+ my $state = $_[0] || confess( 'you must supply a state' ) ;
+ if ( exists $self->{'SM_STATES'}{$state} ) {
+ if ( Bib2HTML::General::Verbose::currentlevel() >= 4 ) {
+ my $verbstr = join( '',
+ "\t\ttoken = '",
+ tohumanreadable($self->{'SM_PREVIOUS_TOKEN'}),
+ "'" ) ;
+ $verbstr .= ", PUSH('".$self->{'SM_CURRENT_STATE'}."') -> '".$state."'" ;
+ Bib2HTML::General::Verbose::verb( "$verbstr.", 4 ) ;
+ }
+ push @{$self->{'STATE_STACK'}}, $self->{'SM_CURRENT_STATE'} ;
+ $self->{'SM_CURRENT_STATE'} = $state ;
+ }
+ else {
+ Bib2HTML::General::Error::syserr( "Unable to switch to the unexisting state '$state'" ) ;
+ }
+}
+
+=pod
+
+=item * push_state()
+
+Pushes the current state on the state stack. Does not switch to another state.
+Takes 1 arg:
+
+=over
+
+=item * state (string)
+
+is the name of the state to push.
+
+=back
+
+=cut
+sub push_state($) : method {
+ my $self = shift ;
+ my $state = $_[0] || confess( 'you must supply the state' ) ;
+ if ( exists $self->{'SM_STATES'}{$state} ) {
+ if ( Bib2HTML::General::Verbose::currentlevel() >= 4 ) {
+ my $verbstr = join( '',
+ "\t\ttoken = '",
+ tohumanreadable($self->{'SM_PREVIOUS_TOKEN'}),
+ "'" ) ;
+ $verbstr .= ", PUSH('".$self->{'SM_CURRENT_STATE'}."')" ;
+ Bib2HTML::General::Verbose::verb( "$verbstr.", 4 ) ;
+ }
+ push @{$self->{'STATE_STACK'}}, $state ;
+ }
+ else {
+ confess( "Unable to push the unexisting state '$state'" ) ;
+ }
+}
+
+=pod
+
+=item * pop_state()
+
+Pops a state from the state stack and set as the new current state.
+
+=cut
+sub pop_state() : method {
+ my $self = shift ;
+ if ( isemptyarray( $self->{'STATE_STACK'} ) ) {
+ confess( "Unable to pop a state from an empty state stack" ) ;
+ }
+ else {
+ my $state = pop @{$self->{'STATE_STACK'}} ;
+ if ( Bib2HTML::General::Verbose::currentlevel() >= 4 ) {
+ my $verbstr = join( '',
+ "\t\ttoken = '",
+ tohumanreadable($self->{'SM_PREVIOUS_TOKEN'}),
+ "'" ) ;
+ $verbstr .= ", POP('".$self->{'SM_CURRENT_STATE'}."') -> '$state'" ;
+ Bib2HTML::General::Verbose::verb( "$verbstr.", 4 ) ;
+ }
+ $self->{'SM_CURRENT_STATE'} = $state ;
+ }
+}
+
+=pod
+
+=item * set_state()
+
+Sets the current state, and replies the old state.
+Takes 1 arg:
+
+=over
+
+=item * state (string)
+
+is the name of the new state.
+
+=back
+
+=cut
+sub set_state($) : method {
+ my $self = shift ;
+ my $state = $_[0] || confess( 'you must supply the state' ) ;
+ my $old = $self->{'SM_CURRENT_STATE'} ;
+ $self->{'SM_CURRENT_STATE'} = $state ;
+ return $old ;
+}
+
+=pod
+
+=item * get_state()
+
+Replies the current state machine.
+
+=cut
+sub get_state() : method {
+ my $self = shift ;
+ return $self->{'SM_CURRENT_STATE'} ;
+}
+
+=pod
+
+=item * get_stackstate()
+
+Replies the current state machine on the top of the stack.
+
+=cut
+sub get_stackstate() : method {
+ my $self = shift ;
+ return $self->{'STATE_STACK'}->[$#{$self->{'STATE_STACK'}}] ;
+}
+
+=pod
+
+=item * get_statestack()
+
+Replies the whole state stack.
+
+=cut
+sub get_statestack() : method {
+ my $self = shift ;
+ return @{$self->{'STATE_STACK'}} ;
+}
+
+=pod
+
+=item * backend_error_function()
+
+Called each time no rule match the current buffer.
+
+=over
+
+=item * msg (string)
+
+is the error message.
+
+=back
+
+=cut
+sub backend_error_function($) : method {
+ my $self = shift ;
+ confess( 'you must supply the error message' ) unless $_[0] ;
+ Bib2HTML::General::Error::err( $_[0],
+ $self->{'FILENAME'},
+ $self->{'LINENO'} ) ;
+}
+
+1;
+__END__
+
+=back
+
+=head1 COPYRIGHT
+
+(c) Copyright 1998-09 Stéphane Galland <galland@arakhne.org>, under GPL.
+
+=head1 AUTHORS
+
+=over
+
+=item *
+
+Conceived and initially developed by Stéphane Galland E<lt>galland@arakhne.orgE<gt>.
+
+=back
+
+=head1 SEE ALSO
+
+bib2html.pl
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Parser/StateMachine.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Parser/StateMachine.pm
new file mode 100644
index 0000000000..d3b090c3a6
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Parser/StateMachine.pm
@@ -0,0 +1,643 @@
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+=pod
+
+=head1 NAME
+
+Bib2HTML::Parser::StateMachine - A state machine
+
+=head1 SYNOPSYS
+
+use Bib2HTML::Parser::StateMachine ;
+
+my $sm = Bib2HTML::Parser::StateMachine->new(
+ transitions,
+ initial_state,
+ final_states
+ ) ;
+
+=head1 DESCRIPTION
+
+Bib2HTML::Parser::StateMachine is a Perl module, which
+implementes a state machine.
+
+=head1 GETTING STARTED
+
+=head2 Initialization
+
+To start a scanner, say something like this:
+
+ use Bib2HTML::Parser::StateMachine;
+
+ my $sm = Bib2HTML::Parser::StateMachine->new(
+ { '0' => [ { callback => 'myfunc',
+ pattern => 'a+',
+ state => '1',
+ },
+ { state => '0' },
+ ],
+ '1' => { state => '0',
+ },
+ },
+ '0',
+ [ '1' ]
+ ) ;
+
+...or something similar. Acceptable parameters to the constructor are:
+
+=over
+
+=item * transitions (hash ref)
+
+describes the states of this machine. It must be an
+associative array in which the keys are the name of
+each states, and the associated values describe the
+states with an array of transitions or with only
+one transition. A transition is defined as an
+associative array in which the following keys are
+recognized:
+
+=over
+
+=item * state (string)
+
+is the name of the state on which the machine must <be
+after this transition. B<This value is required.>
+
+=item * pattern (string)
+
+is a regular expression that describe the selection
+condition needed to do this translation. B<This
+value is optional>. But, only once transition
+is able to not defined the pattern. This special
+transition is the default (if no other transition
+could be selected). If the pattern was equal to
+the string "$EOF", it matchs the end of the stream
+(see changestateforEOF()).
+
+=item * callback (string)
+
+is the name (not the reference) to a function that
+must be called each time this transition was selected.
+B<This value is optional>.
+
+=item * merge (boolean)
+
+if true, the recognized
+token will be merged to the next token.
+B<This value is optional>.
+
+=item * splitmerging (boolean)
+
+if true, the previously saved tokens
+are passed to the callbacks functions.
+If I<merge> was also true, the current
+token is not merging.
+B<This value is optional>.
+
+=back
+
+=item * initial_state (string)
+
+is the name of the initial state of the machine.
+This state must be defined inside the previous parameter.
+
+=item * final_states (array ref)
+
+is an array that lists all the final states recognized
+by this machine. This array is used by isfinalstate()
+to determine is this machine is inside a stable final
+state.
+
+=back
+
+=head2 State change
+
+To change the state of the machine, say something like this:
+
+ $scan->changestatefrom( "the string" ) ;
+
+...where "the string" is a string which permits to select
+the next state.
+
+=head1 METHOD DESCRIPTIONS
+
+This section contains only the methods in StateMachine.pm itself.
+
+=over
+
+=cut
+
+package Bib2HTML::Parser::StateMachine;
+
+@ISA = ('Exporter');
+@EXPORT = qw();
+@EXPORT_OK = qw();
+
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+use Exporter;
+use Carp ;
+use File::Basename ;
+
+use Bib2HTML::General::Misc ;
+use Bib2HTML::General::Verbose ;
+
+#------------------------------------------------------
+#
+# Global vars
+#
+#------------------------------------------------------
+
+# Version number of the scanner
+my $VERSION = "1.0" ;
+
+#------------------------------------------------------
+#
+# Constructor
+#
+#------------------------------------------------------
+
+sub new($$$) : method {
+ my $proto = shift;
+ my $class = ref($proto) || $proto;
+ my $parent = ref($proto) && $proto ;
+
+ my $self ;
+ if ( $parent ) {
+ %{$self} = %{$parent} ;
+ }
+ else {
+ $self = { } ;
+ # Sets the description of this machine
+ $self->{'SM_STATES'} = { 'SM_PREVIOUS_TOKEN' => "",
+ } ;
+ foreach my $state ( keys %{$_[0]} ) {
+ my $list ;
+ # Gets the list of the transitions
+ if ( isarray( $_[0]{$state} ) ) {
+ $list = $_[0]{$state} ;
+ }
+ else {
+ $list = [ $_[0]{$state} ] ;
+ }
+ # Checks the transitions
+ my $default = 0 ;
+ foreach my $trans ( @{$list} ) {
+ # Search for the target state
+ if ( ( exists $trans->{'state'} ) &&
+ ( "s".$trans->{'state'} eq "s" ) ) {
+ confess( "A transition of the state '$state' ".
+ "must have a target state." ) ;
+ }
+ if ( ! exists $_[0]{$trans->{'state'}} ) {
+ confess( "The transition state '".
+ $trans->{'state'}.
+ "' from '$state' was not found." ) ;
+ }
+ # Search for the default transition
+ if ( ! $trans->{'pattern'} ) {
+ if ( $default ) {
+ confess( "More than once default transition ".
+ "for the transition '$state'." ) ;
+ }
+ $default = 1 ;
+ $trans->{'pattern'} = '.' ;
+ }
+ elsif ( ! is_valid_regex( $trans->{'pattern'} ) ) {
+ confess( "The regular expression '".
+ $trans->{'pattern'}.
+ "' is not well-formed." ) ;
+ }
+ }
+ # Copies the state
+ @{$self->{'SM_STATES'}{$state}} = @{$list} ;
+ }
+
+ # Sets the initial state
+ if ( exists $self->{'SM_STATES'}{$_[1]} ) {
+ $self->{'SM_INITIAL_STATE'} = $_[1] ;
+ $self->{'SM_CURRENT_STATE'} = $_[1] ;
+ }
+ else {
+ confess( "The initial state '$_[1]' is not defined." ) ;
+ }
+
+ # Sets the final states
+ $self->{'SM_FINAL_STATES'} = [] ;
+ foreach my $state ( @{$_[2]} ) {
+ if ( exists $self->{'SM_STATES'}{$state} ) {
+ push( @{$self->{'SM_FINAL_STATES'}}, $state ) ;
+ }
+ else {
+ confess( "The final state '$state' is not defined." ) ;
+ }
+ }
+ if ( isemptyarray( $self->{'SM_FINAL_STATES'} ) ) {
+ confess( "No final state defined." ) ;
+ }
+ }
+ bless( $self, $class );
+ return $self;
+}
+
+#------------------------------------------------------
+#
+# Getters / Setters
+#
+#------------------------------------------------------
+
+=pod
+
+=item * getcurrentstate()
+
+Replies the name of the current state of this
+machine.
+
+=cut
+sub getcurrentstate() : method {
+ my $self = shift ;
+ return $self->{'SM_CURRENT_STATE'} ;
+}
+
+=pod
+
+=item * isfinalstate()
+
+Replies the machine is inside a final state.
+
+=cut
+sub isfinalstate() : method {
+ my $self = shift ;
+ return strinarray( $self->{'SM_CURRENT_STATE'},
+ $self->{'SM_FINAL_STATES'} ) ;
+}
+
+=pod
+
+=item * resetstatemachine()
+
+Forces the state of this machine to the initial
+state.
+
+=cut
+sub resetstatemachine() : method {
+ my $self = shift ;
+ $self->{'SM_CURRENT_STATE'} = $self->{'SM_INITIAL_STATE'} ;
+ $self->{'SM_PREVIOUS_TOKEN'} = "" ;
+}
+
+#------------------------------------------------------
+#
+# State changement functions
+#
+#------------------------------------------------------
+
+=pod
+
+=item * changestatefrom()
+
+This method permits to select the new state according to
+the specified string and to the current state.
+The state transitions are defined when initializing.
+This method calls the callback function specified
+to the constructor, or (if not exists) calls the
+class methods transition_callback_XXX_YYY() and
+state_callback_YYY(), where XXX is the name of
+the old state, and YYY is the name of the new state.
+
+This method replies the rest of the specified
+parameter that is not eaten.
+
+Takes 1 arg:
+
+=over
+
+=item * token (string)
+
+is eaten to determine the new state.
+
+=back
+
+=item * transition_callback_XXX_YYY()
+
+This method is called each time a transition
+from the state XXX to the state YYY was
+encountered.
+Takes 1 arg:
+
+=over
+
+=item * token (string)
+
+is the last recognized token.
+
+=back
+
+=item * state_callback_YYY()
+
+This method is called each time the machine
+arrived inside a state (except for the
+initial state).
+Takes 1 arg:
+
+=over
+
+=item * token (string)
+
+is the last recognized token.
+
+=back
+
+=cut
+sub changestatefrom($) : method {
+ my $self = shift ;
+ my $input = $_[0] || '' ;
+
+ # Searches the max token matching
+ my $trans = $self->_searchtransition( $input, 0 ) ;
+
+ # Treats the translation matching
+ if ( ! isemptyhash( $trans ) ) {
+ my ($token,$rest) ;
+ if ( $trans->{'caseinsensitive'} ) {
+ $input =~ /^($trans->{'pattern'})(.*)$/si ;
+ ($token,$rest) = ($1,$2) ;
+ }
+ else {
+ $input =~ /^($trans->{'pattern'})(.*)$/s ;
+ ($token,$rest) = ($1,$2) ;
+ }
+
+ my $oldstate = $self->{'SM_CURRENT_STATE'} ;
+ $self->{'SM_CURRENT_STATE'} = $trans->{'state'} ;
+ $input = $rest ;
+
+ my $for_event = undef ;
+ if ( ( $trans->{'merge'} ) &&
+ ( $trans->{'splitmerging'} ) ) {
+ # Generates an transition event
+ # and merges the current token
+ $for_event = $self->{'SM_PREVIOUS_TOKEN'} ;
+ $self->{'SM_PREVIOUS_TOKEN'} = $token ;
+ }
+ elsif ( ( $trans->{'merge'} ) &&
+ ( ! $trans->{'splitmerging'} ) ) {
+ # Merges the current token
+ $self->{'SM_PREVIOUS_TOKEN'} .= $token ;
+ }
+ else {
+ # Does not merged the current token
+ $for_event = $self->{'SM_PREVIOUS_TOKEN'} . $token ;
+ $self->{'SM_PREVIOUS_TOKEN'} = "" ;
+ }
+
+ if ( defined $for_event ) {
+ $self->_callback( $for_event,
+ $oldstate,
+ $trans ) ;
+ }
+ }
+ elsif ( $self->can('backend_error_function') ) {
+ $self->backend_error_function( "Syntax error: unexpected character sequence \"".
+ tohumanreadable("$input").
+ "\"\n(unable to find a transition from ".
+ "the state '".
+ $self->{'SM_CURRENT_STATE'}.
+ "')." ) ;
+ exit(1) ;
+ }
+ else {
+ confess( "Syntax error: unexpected character sequence \"".
+ tohumanreadable("$input").
+ "\"\n(unable to find a transition from ".
+ "the state '".
+ $self->{'SM_CURRENT_STATE'}.
+ "')." ) ;
+ }
+ return $input ;
+}
+
+=pod
+
+=item * changestateforEOF()
+
+This method permits to select the new state according to
+an EOF and to the current state.
+The state transitions are defined when initializing.
+This method calls the class method
+EOF_callback_function() (only if no transition with
+the pattern '$EOF' was found from the current state).
+
+=item * EOF_callback_function()
+
+The methid is called each time the EOF was encountered
+and a transition with pattern '$EOF' is not found from
+the current state.
+
+=over
+
+=item * token (string)
+
+is the token which is not already eaten by the machine.
+
+=back
+
+=cut
+sub changestateforEOF() : method {
+ my $self = shift ;
+
+ # Calls the callback functions
+ # if a token was not treated
+
+ my $trans = $self->_searchtransition( "", 1 ) ;
+ if ( ! isemptyhash( $trans ) ) {
+ my $oldstate = $self->{'SM_CURRENT_STATE'} ;
+ $self->{'SM_CURRENT_STATE'} = $trans->{'state'} ;
+ $self->_callback( $self->{'SM_PREVIOUS_CONTENT'},
+ $oldstate,
+ $trans ) ;
+ }
+ else {
+ if ( Bib2HTML::General::Verbose::currentlevel() >= 4 ) {
+ my $verbstr = join( '',
+ "\t\ttoken = '",
+ tohumanreadable($self->{'SM_PREVIOUS_TOKEN'}),
+ "'" ) ;
+ $verbstr .= ", when EOF in '".$self->{'SM_CURRENT_STATE'}."'" ;
+ Bib2HTML::General::Verbose::verb( "$verbstr.", 4 ) ;
+ }
+ my $reffunc = $self->can( "EOF_callback_function" ) ;
+ if ( $reffunc ) {
+ $self->$reffunc( $self->{'SM_PREVIOUS_TOKEN'} ) ;
+ }
+ }
+}
+
+=pod
+
+=item * _callback()
+
+Calls the callback functions.
+Takes 3 args:
+
+=over
+
+=item * token (string)
+
+is the token to pass to the callback functions.
+
+=item * old_state (string)
+
+is the name of the state before the transition
+(the name of the state after the transition is
+stored inside $self->{'SM_CURRENT_STATE'}).
+
+=item * transition (hash ref)
+
+is the transition choosen.
+
+=back
+
+=cut
+sub _callback($$$) : method {
+ my $self = shift ;
+ my $token = $_[0] || '' ;
+ my $oldstate = $_[1] || confess( 'you must supply the old state' ) ;
+ if ( Bib2HTML::General::Verbose::currentlevel() >= 4 ) {
+ my $verbstr = join( '',
+ "\t\ttoken = '",
+ tohumanreadable($token),
+ "'" ) ;
+ if ( $self->{'SM_CURRENT_STATE'} eq $oldstate ) {
+ $verbstr .= ", in state '".tohumanreadable($oldstate)."'" ;
+ }
+ else {
+ $verbstr .= join( '',
+ ", transition: '",
+ tohumanreadable($oldstate),
+ "' -> '",
+ tohumanreadable($self->{'SM_CURRENT_STATE'}),
+ "'" ) ;
+ }
+ Bib2HTML::General::Verbose::verb( "$verbstr.", 4 ) ;
+ }
+
+ if ( ishash( $_[2] ) ) {
+ if ( ( exists $_[2]->{'callback'} ) &&
+ ( my $func = $self->can($_[2]->{'callback'}) ) ) {
+ $self->$func( $token, $oldstate ) ;
+ }
+ else {
+ my $reffunc = $self->can( "transition_callback_".
+ $oldstate."_".
+ $self->{'SM_CURRENT_STATE'} ) ;
+ if ( $reffunc ) {
+ $self->$reffunc( $token ) ;
+ }
+ $reffunc = $self->can( "state_callback_".
+ $self->{'SM_CURRENT_STATE'} ) ;
+ if ( $reffunc ) {
+ $self->$reffunc( $token, $oldstate ) ;
+ }
+ }
+ }
+}
+
+=pod
+
+=item * _searchtransition()
+
+Search a valid transition
+Takes 2 args:
+
+=over
+
+=item * input (string)
+
+is the content of the string to scan.
+
+=item * eof (boolean)
+
+is true if an EOF was encountered. In this
+case, the I<input> will be ignored.
+
+=back
+
+=cut
+sub _searchtransition($$) : method {
+ my $self = shift ;
+ my $input = $_[0] || '' ;
+ my $eof = $_[1] || 0 ;
+ # Searches the max token matching
+ my $maxlength = 0 ;
+ my $trans = {} ;
+ my $recognizedtoken = "" ;
+ foreach my $t (@{$self->{'SM_STATES'}{$self->{'SM_CURRENT_STATE'}}}) {
+ if ( ( ( $eof ) &&
+ ( $input eq '$EOF' ) ) ||
+ ( ( $t->{'caseinsensitive'} ) &&
+ ( $input =~ /^($t->{'pattern'})/si ) ) ||
+ ( ( ! $t->{'caseinsensitive'} ) &&
+ ( $input =~ /^($t->{'pattern'})/s ) ) ) {
+ my $token = $1 ;
+ if ( length($token) > $maxlength ) {
+ $maxlength = length($token) ;
+ $trans = $t ;
+ $recognizedtoken = $token ;
+ }
+ }
+ }
+ if ( ( $recognizedtoken ) && ( Bib2HTML::General::Verbose::currentlevel() >= 5 ) ) {
+ Bib2HTML::General::Verbose::verb( join( '',
+ "\t\tnext transition:\n\t\t\tfrom: ",
+ $self->{'SM_CURRENT_STATE'},
+ "\n\t\t\tto: ",
+ $trans->{'state'},
+ "\n\t\t\tpattern: /",
+ $trans->{'pattern'},
+ "/\n\t\t\ttoken: '",
+ $recognizedtoken,
+ "'\n"),
+ 5 ) ;
+ }
+ return $trans ;
+}
+
+1;
+__END__
+
+=back
+
+=head1 COPYRIGHT
+
+(c) Copyright 1998-09 Stéphane Galland <galland@arakhne.org>, under GPL.
+
+=head1 AUTHORS
+
+=over
+
+=item *
+
+Conceived and initially developed by Stéphane Galland E<lt>galland@arakhne.orgE<gt>.
+
+=back
+
+=head1 SEE ALSO
+
+bib2html.pl
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Release.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Release.pm
new file mode 100644
index 0000000000..0c69e78772
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Release.pm
@@ -0,0 +1,89 @@
+# Copyright (C) 2002-09 Stephane Galland <galland@arakhne.org>
+# Copyright (C) 2011 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+package Bib2HTML::Release;
+@ISA = ('Exporter');
+@EXPORT = qw( &getVersionNumber &getVersionDate &getBugReportURL
+ &getAuthorName &getAuthorEmail &getMainURL
+ &getContributors ) ;
+@EXPORT_OK = qw();
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+my $VERSION = "6.7" ;
+
+#------------------------------------------------------
+#
+# DEFINITIONS
+#
+#------------------------------------------------------
+
+my $BIB2HTML_VERSION = $VERSION ;
+my $BIB2HTML_DATE = '2011/07/31' ;
+my $BIB2HTML_BUG_URL = 'mailto:bugreport@arakhne.org' ;
+my $BIB2HTML_AUTHOR = 'Stephane GALLAND' ;
+my $BIB2HTML_AUTHOR_EMAIL = 'galland@arakhne.org' ;
+my $BIB2HTML_URL = 'http://www.arakhne.org/bib2ml/' ;
+my %BIB2HTML_CONTRIBS = ( 'zinser@zinser.no-ip.info' => "Martin P.J. ZINSER",
+ 'preining@logic.at' => "Norbert PREINING",
+ 'sebastian.rodriguez@utbm.fr' => "Sebastian RODRIGUEZ",
+ 'michail@mpi-sb.mpg.de' => "Dimitris MICHAIL",
+ 'joao.lourenco@di.fct.unl.pt' => "Joao LOURENCO",
+ 'paolini@di.unito.it' => "Luca PAOLINI",
+ 'cri@linux.it' => "Cristian RIGAMONTI",
+ 'loew@mathematik.tu-darmstadt.de' => "Tobias LOEW",
+ 'loew@mathematik.tu-darmstadt.de' => "Tobias LOEW",
+ 'gasper.jaklic@fmf.uni-lj.si' => "Gasper JAKLIC",
+ 'olivier.hugues@gmail.com' => "Olivier HUGUES",
+ ) ;
+
+#------------------------------------------------------
+#
+# Functions
+#
+#------------------------------------------------------
+
+sub getVersionNumber() {
+ return $BIB2HTML_VERSION ;
+}
+
+sub getVersionDate() {
+ return $BIB2HTML_DATE ;
+}
+
+sub getBugReportURL() {
+ return $BIB2HTML_BUG_URL ;
+}
+
+sub getAuthorName() {
+ return $BIB2HTML_AUTHOR ;
+}
+
+sub getAuthorEmail() {
+ return $BIB2HTML_AUTHOR_EMAIL ;
+}
+
+sub getMainURL() {
+ return $BIB2HTML_URL ;
+}
+
+sub getContributors() {
+ return %BIB2HTML_CONTRIBS ;
+}
+
+1;
+__END__
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Translator/BibTeXEntry.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Translator/BibTeXEntry.pm
new file mode 100644
index 0000000000..03711b69fa
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Translator/BibTeXEntry.pm
@@ -0,0 +1,498 @@
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+=pod
+
+=head1 NAME
+
+Bib2HTML::Translator::BibTeXEntry - An BibTeX entry manager
+
+=head1 SYNOPSYS
+
+use Bib2HTML::Translator::BibTeXEntry ;
+
+my $gen = Bib2HTML::Translator::BibTeXEntry->new() ;
+
+=head1 DESCRIPTION
+
+Bib2HTML::Translator::BibTeXEntry is a Perl module, which parses
+the names according to the BibTeX format and build a BibTeX
+bibliographical reference.
+
+=head1 GETTING STARTED
+
+=head2 Initialization
+
+To create a parser, say something like this:
+
+ use Bib2HTML::Translator::BibTeXEntry;
+
+ my $parser = Bib2HTML::Translator::BibTeXEntry->new() ;
+
+...or something similar.
+
+=cut
+
+package Bib2HTML::Translator::BibTeXEntry;
+
+@ISA = ('Exporter');
+@EXPORT = qw(bibtex_ignore_field_parsing);
+@EXPORT_OK = qw();
+
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+use Exporter;
+use Carp ;
+
+use Bib2HTML::General::Misc ;
+use Bib2HTML::General::HTML ;
+use Bib2HTML::Translator::BibTeXName ;
+
+#------------------------------------------------------
+#
+# Global vars
+#
+#------------------------------------------------------
+
+# Version number of the parser
+my $VERSION = "3.1" ;
+
+# List of ignore field for the parsing
+my @IGNORE_PARSING_FOR_FIELDS = ( 'localfile', 'url', 'pdf',
+ ) ;
+
+# List of ignore field for the parsing
+my @IGNORE_ENTRY_EXPORT_FOR_FIELDS = ( 'localfile', 'url', 'pdf',
+ 'domain', 'nddomain', 'rddomain',
+ 'abstract', 'keywords',
+ ) ;
+
+# Citation label database
+my %CITATION_LABEL_DATABASE = () ;
+
+#------------------------------------------------------
+#
+# Constructor
+#
+#------------------------------------------------------
+
+sub new($) : method {
+ my $proto = shift;
+ my $class = ref($proto) || $proto;
+ my $parent = ref($proto) && $proto ;
+
+ my $self ;
+ if ( $parent ) {
+ %{$self} = %{$parent} ;
+ }
+ else {
+ $self = { } ;
+ }
+ bless( $self, $class );
+ return $self;
+}
+
+#------------------------------------------------------
+#
+# Citation
+#
+#------------------------------------------------------
+
+=pod
+
+=item * citation_label()
+
+Replies the citation label of the specified entry.
+Takes 1 arg:
+
+=over
+
+=item * key (string)
+
+is the key of the entry.
+
+=item * entry (hash)
+
+is the entry for which creates an entry.
+
+=back
+
+=cut
+sub citation_label($$) : method {
+ my $self = shift ;
+ my $key = $_[0] || confess( 'you must supply the key' ) ;
+ my $entry = $_[1] || confess( 'you must supply the entry data' ) ;
+ if ( ( ! exists $CITATION_LABEL_DATABASE{$key} ) ||
+ ( ! $CITATION_LABEL_DATABASE{$key} ) ) {
+ my $bibtex = new Bib2HTML::Translator::BibTeXName() ;
+ my @authors ;
+ if ( $entry->{'fields'}{'author'} ) {
+ @authors = $bibtex->splitnames( $entry->{'fields'}{'author'} ) ;
+ }
+ else {
+ @authors = $bibtex->splitnames( $entry->{'fields'}{'editor'} ) ;
+ }
+ my $label ;
+ if ( @authors ) {
+ my $count = 0 ;
+ foreach my $author ( @authors ) {
+ if ( $author->{'last'} ) {
+ if ($count<3) {
+ $label .= html_uc( html_substr( $author->{'last'}, 0, 1 ) ) ;
+ }
+ $count ++ ;
+ }
+ }
+ if ( $count <= 1 ) {
+ $label = html_ucfirst(html_lc(html_substr($authors[0]->{'last'}, 0, 3))) ;
+ }
+ else {
+ $label .= "+" ;
+ }
+ if ( $entry->{'fields'}{'year'} ) {
+ $label .= substr($entry->{'fields'}{'year'},-2) ;
+ }
+ }
+ else {
+ $label = 'unk' ;
+ if ( $entry->{'fields'}{'year'} ) {
+ $label .= substr($entry->{'fields'}{'year'},-2) ;
+ }
+ }
+ my $count = 0 ;
+ my $lbl = $label ;
+ while ( valueinhash( $lbl, \%CITATION_LABEL_DATABASE ) ) {
+ $count ++ ;
+ $lbl = $label . integer2alphabetic( $count ) ;
+ }
+ $CITATION_LABEL_DATABASE{$key} = $lbl ;
+ }
+ return $CITATION_LABEL_DATABASE{$key} ;
+}
+
+=pod
+
+=item * save_citation_label()
+
+Replies the citation label of the specified entry.
+Takes 1 arg:
+
+=over
+
+=item * key (string)
+
+is the key of the entry.
+
+=item * entry (hash)
+
+is the entry for which creates an entry.
+
+=back
+
+=cut
+sub save_citation_label($$) : method {
+ my $self = shift ;
+ my $key = $_[0] || confess( 'you must supply the key' ) ;
+ if ( ( $_[1] ) &&
+ ( ! $CITATION_LABEL_DATABASE{$key} ) ) {
+ $CITATION_LABEL_DATABASE{$key} = $_[1] ;
+ }
+}
+
+=pod
+
+=item * bibtex_ignore_field_parsing()
+
+Replies if the specified field could be parsed
+Takes 1 arg:
+
+=over
+
+=item * field (string)
+
+is the name of the field.
+
+=back
+
+=cut
+sub bibtex_ignore_field_parsing($) {
+ my $field = $_[0] || confess( 'you must supply the field name' ) ;
+ return ( strinarray($field,\@IGNORE_PARSING_FOR_FIELDS) ) ;
+}
+
+=pod
+
+=item * bibtex_ignore_field_in_export()
+
+Replies if the specified field must be ignored during export
+Takes 1 arg:
+
+=over
+
+=item * field (string)
+
+is the name of the field.
+
+=back
+
+=cut
+sub bibtex_ignore_field_in_export($) {
+ my $field = $_[0] || confess( 'you must supply the field name' ) ;
+ return (( $field =~ /^opt/i) ||
+ ( strinarray($field,\@IGNORE_ENTRY_EXPORT_FOR_FIELDS) )) ;
+}
+
+=pod
+
+=item * bibtex_build_entry()
+
+Replies a string which corresponds to the BibTeX source
+code for the specified parameters.
+Takes 4 args:
+
+=over
+
+=item * type (string)
+
+is the type of the entry.
+
+=item * key (string)
+
+is the key of the entry.
+
+=item * fields (hash)
+
+is the list of fields.
+
+=item * constants (hash)
+
+is the list of constants.
+
+=back
+
+=cut
+sub bibtex_build_entry($$\%\%) {
+ my $self = shift ;
+ return '' unless ($_[0]&&$_[1]) ;
+ my $code = join('',
+ "@",
+ $_[0],
+ "{",
+ $_[1],
+ ",\n" ) ;
+ while ( my ($field,$value) = each(%{$_[2]}) ) {
+ if ( $field ) {
+ $code .= " $field = " ;
+ if ( isarray($value) ) {
+ $code .= "{".$self->expand_bibtex_vars($value,$_[3])."}" ;
+ }
+ else {
+ $code .= "$value" ;
+ }
+ $code .= ",\n" ;
+ }
+ }
+ $code .= "}" ;
+ return $code ;
+}
+
+=pod
+
+=item * bibtex_build_entry_html()
+
+Replies an HTML string which corresponds to the BibTeX source
+code for the specified parameters.
+Takes 5 args:
+
+=over
+
+=item * type (string)
+
+is the type of the entry.
+
+=item * key (string)
+
+is the key of the entry.
+
+=item * fields (hash)
+
+is the list of fields.
+
+=item * constants (hash)
+
+is the list of constants.
+
+=item * page_width (integer)
+
+is the size of the page. It is used to split the
+lines (default value is 80).
+
+=back
+
+=cut
+sub bibtex_build_entry_html($$\%\%$) {
+ my $self = shift ;
+ return '' unless ($_[0]&&$_[1]) ;
+ my $page_width = ((($_[4])&&($_[4]>0))?$_[4]:80) ;
+ my $code = join('',
+ "@",
+ $_[0],
+ "{",
+ $_[1],
+ ",\n" ) ;
+ while ( my ($field,$value) = each(%{$_[2]}) ) {
+ if (($field)&&(!bibtex_ignore_field_in_export($field))) {
+ my $fldval = " $field = " ;
+ my $indent = length("$fldval") ;
+ if ( isarray($value) ) {
+ $fldval .= "{".$self->expand_bibtex_vars($value,$_[3])."}" ;
+ $indent ++ ;
+ }
+ else {
+ $fldval .= "$value" ;
+ $indent ++ if ( $value =~ /^\{.*\}$/ ) ;
+ }
+ $fldval .= "," ;
+ if (bibtex_ignore_field_parsing("$field")) {
+ $code .= "$fldval" ;
+ }
+ else {
+ $code .= splittocolumn("$fldval",$page_width,$indent, 2) ;
+ }
+ $code .= "\n" ;
+ }
+ }
+ $code .= "}" ;
+ return $code ;
+}
+
+=pod
+
+=item * expand_bibtex_vars()
+
+Does the TeX preprocessing which permits to
+replace the constants (@STRING) by there values.
+The parameter could be a sting or an array in
+case the BibTeX merging operator was used to
+build the value.
+Takes 2 args:
+
+=over
+
+=item * tex (string or array)
+
+is the tex expression to evaluate
+
+=item * constants (hash)
+
+is the list of constants.
+
+=back
+
+=cut
+sub expand_bibtex_vars($\%) {
+ my $self = shift ;
+ if ( $_[0] ) {
+
+ if ( isarray($_[0]) ) {
+
+ # Treats the case of the BibTeX merging operator
+ my @text = () ;
+ foreach my $elt (@{$_[0]}) {
+ push @text, $self->expand_bibtex_vars($elt,$_[1]) ;
+ }
+ return join( '', @text) ;
+
+ }
+ else {
+
+ # Treat "standard" definition
+ return $self->__expand_bibtex_vars($_[0],$_[1]) ;
+
+ }
+
+ }
+ return '' ;
+}
+
+=pod
+
+=item * __expand_bibtex_vars()
+
+Does the TeX preprocessing which permits to
+replace the constants (@STRING) by there values.
+Takes 2 args:
+
+=over
+
+=item * tex (string)
+
+is the tex expression to evaluate
+
+=item * constants (hash)
+
+is the list of constants.
+
+=back
+
+=cut
+sub __expand_bibtex_vars($) : method {
+ my $self = shift ;
+
+ my $tex = $_[0] || confess( 'you must supply a TeX expression' ) ;
+
+ return $1 if ( $tex =~ /^{(.*)}$/ ) ;
+
+ my $lctex = lc($tex) ;
+ trim $lctex ;
+
+ return $tex
+ unless ( exists $_[1]->{$lctex} ) ;
+
+ my $lcval = lc($_[1]->{$lctex}{'text'}) ;
+ trim $lcval ;
+
+ if ( $lcval eq $lctex ) {
+ return $_[1]->{$lctex}{'text'} ;
+ }
+ else {
+ return $self->expand_bibtex_vars($_[1]->{$lctex}{'text'},$_[1]) ;
+ }
+}
+
+1;
+__END__
+
+=back
+
+=head1 COPYRIGHT
+
+(c) Copyright 1998-09 Stéphane Galland E<lt>galland@arakhne.orgE<gt>, under GPL.
+
+=head1 AUTHORS
+
+=over
+
+=item *
+
+Conceived and initially developed by Stéphane Galland E<lt>galland@arakhne.orgE<gt>.
+
+=back
+
+=head1 SEE ALSO
+
+bib2html.pl
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Translator/BibTeXName.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Translator/BibTeXName.pm
new file mode 100644
index 0000000000..0a36f5b133
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Translator/BibTeXName.pm
@@ -0,0 +1,931 @@
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+=pod
+
+=head1 NAME
+
+Bib2HTML::Translator::BibTeXName - An parser for BibTeX names
+
+=head1 SYNOPSYS
+
+use Bib2HTML::Translator::BibTeXName ;
+
+my $gen = Bib2HTML::Translator::BibTeXName->new() ;
+
+=head1 DESCRIPTION
+
+Bib2HTML::Translator::BibTeXName is a Perl module, which parses
+the names according to the BibTeX format
+
+=head1 GETTING STARTED
+
+=head2 Initialization
+
+To create a parser, say something like this:
+
+ use Bib2HTML::Translator::BibTeXName;
+
+ my $parser = Bib2HTML::Translator::BibTeXName->new() ;
+
+...or something similar.
+
+=cut
+
+package Bib2HTML::Translator::BibTeXName;
+
+@ISA = ('Exporter');
+@EXPORT = qw();
+@EXPORT_OK = qw();
+
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+use Exporter;
+use Carp ;
+
+use Bib2HTML::General::Misc ;
+use Bib2HTML::General::HTML ;
+use Bib2HTML::General::Error ;
+
+#------------------------------------------------------
+#
+# Global vars
+#
+#------------------------------------------------------
+
+# Version number of the parser
+my $VERSION = "2.2" ;
+
+# The string for the junior part of a name
+my @JUNIOR_PARTS = ( 'junior', 'jr.', 'jr', 'senior', 'sen.', 'sen',
+ 'esq.', 'esq', 'phd.', 'phd' ) ;
+
+# This is the label generated for the "et al."
+my $ETAL_STRING = "<i>et&nbsp;al.</i>" ;
+
+#------------------------------------------------------
+#
+# Constructor
+#
+#------------------------------------------------------
+
+sub new($) : method {
+ my $proto = shift;
+ my $class = ref($proto) || $proto;
+ my $parent = ref($proto) && $proto ;
+
+ my $self ;
+ if ( $parent ) {
+ %{$self} = %{$parent} ;
+ }
+ else {
+ $self = { } ;
+ }
+ bless( $self, $class );
+ return $self;
+}
+
+#------------------------------------------------------
+#
+# Getters
+#
+#------------------------------------------------------
+
+=pod
+
+=item * countnames()
+
+Replies the quantity of names inside the specified string
+Takes 1 arg:
+
+=over
+
+=item * text (string)
+
+is the text to parse.
+
+=back
+
+=cut
+sub countnames($) : method {
+ my $self = shift ;
+ my @names = $self->splitnames($_[0]||'') ;
+ return int(@names) ;
+}
+
+=pod
+
+=item * samenames()
+
+Replies if the two names are the same.
+Takes 2 args:
+
+=over
+
+=item * name1 (hash)
+
+=item * name2 (hash)
+
+=back
+
+=cut
+sub samenames($$) : method {
+ my $self = shift ;
+ if ( $_[0]->{'et al'} || $_[0]->{'et al'} ) {
+ return 0 ;
+ }
+ my $n1 = $self->formatname($_[0],'l,i.') ;
+ my $n2 = $self->formatname($_[1],'l,i.') ;
+ $n1 =~ s/[ \t\n\r]+//g ;
+ $n2 =~ s/[ \t\n\r]+//g ;
+ return ( lc($n1) eq lc($n2) ) ;
+}
+
+=pod
+
+=item * isauthorin()
+
+Replies if the first parameter is a author which
+appears inside the second parameter.
+
+Takes 2 args:
+
+=over
+
+=item * author (hash)
+
+=item * authors (string)
+
+=back
+
+=cut
+sub isauthorin($$) : method {
+ my $self = shift ;
+ if ( $_[0]->{'et al'} || (!$_[1]) ) {
+ return 0 ;
+ }
+ my @names = $self->splitnames($_[1]) ;
+ foreach my $author (@names) {
+ if ( $self->samenames($_[0],$author) ) {
+ return 1 ;
+ }
+ }
+ return 0 ;
+}
+
+#------------------------------------------------------
+#
+# Formating API
+#
+#------------------------------------------------------
+
+=pod
+
+=item * formatname()
+
+Replies a well-formated name
+Takes 2 args:
+
+=over
+
+=item * name (hash)
+
+is the components of the name to format
+
+=item * format (string)
+
+is the format of the name (composed by v l L f f. i i. j)
+
+=back
+
+=cut
+sub formatname($$) : method {
+ my $self = shift ;
+ confess( 'you must supply a name' ) unless (($_[0])&&(ishash($_[0]))) ;
+ confess( 'you must supply a valid format string' ) unless $_[1] ;
+
+ if ( $_[0]->{'et al'} ) {
+ return $ETAL_STRING ;
+ }
+ my @blocks = $self->_extract_blocks( $_[1] ) ;
+
+ my $name = '' ;
+ foreach my $part (@blocks) {
+ my $txt;
+ my $isa = isarray( $part );
+ if ( $isa ) {
+ $txt = join('',@{$part});
+ }
+ else {
+ $txt = $part;
+ }
+ if ($txt) {
+ $name .= $self->_formatname_scan_pattern($txt,$_[0],$isa) ;
+ }
+ }
+ return $name ;
+}
+
+# $_[0]: patterns
+# $_[1]: hash of the name's components
+# $_[2]: 1 if all the given patterns must be found
+sub _formatname_scan_pattern($$$) {
+ my $self = shift ;
+ confess( 'you must supply a name' ) unless (($_[1])&&(ishash($_[1]))) ;
+ my $pattern = $_[0] || '' ;
+ my $result = '' ;
+ my $foundall = 1 ;
+
+ while ( $pattern =~ /^([^a-zA-Z.]*)([a-zA-Z.]+)(.*)$/ ) {
+ ($result, my $str, $pattern) = ($result.$1, $2, $3) ;
+ if ( $str eq 'l' ) {
+ $foundall = ( $foundall && $_[1]->{'last'} ) ;
+ $result .= html_ucwords( $_[1]->{'last'} ) ;
+ }
+ elsif ( $str eq 'L' ) {
+ $foundall = ( $foundall && $_[1]->{'last'} ) ;
+ $result .= html_ucwords( $_[1]->{'last'} ) ;
+ }
+ elsif ( $str eq 'f' ) {
+ $foundall = ( $foundall && $_[1]->{'first'} ) ;
+ $result .= html_ucwords( $_[1]->{'first'} ) ;
+ }
+ elsif ( $str eq 'f.' ) {
+ $foundall = ( $foundall && $_[1]->{'first'} ) ;
+ $result .= html_ucwords( html_getinitiales( $_[1]->{'first'} ) ) ;
+ }
+ elsif ( $str eq 'i' ) {
+ my $ff = html_ucwords( $_[1]->{'first'} ) ;
+ if ($ff =~ /^[ \t\n\r]*([^ \t\n\r]+)/) {
+ $ff = $1 ;
+ }
+ else {
+ $ff = '' ;
+ }
+ $foundall = ( $foundall && $ff ) ;
+ $result .= $ff ;
+ }
+ elsif ( $str eq 'i.' ) {
+ my $ff = html_ucwords( html_getinitiales( $_[1]->{'first'} ) ) ;
+ if ($ff =~ /^[ \t\n\r]*([^ \t\n\r]+)/) {
+ $ff = $1 ;
+ }
+ else {
+ $ff = '' ;
+ }
+ $foundall = ( $foundall && $ff ) ;
+ $result .= $ff ;
+ }
+ elsif ( $str eq 'v' ) {
+ $foundall = ( $foundall && $_[1]->{'von'} ) ;
+ $result .= $_[1]->{'von'} ;
+ }
+ elsif ( $str eq 'j' ) {
+ $foundall = ( $foundall && $_[1]->{'jr'} ) ;
+ $result .= $_[1]->{'jr'} ;
+ }
+ else {
+ $result .= $str ;
+ }
+ }
+ if ( $pattern ) {
+ $result .= $pattern ;
+ }
+
+ if ( ( ! $_[2] ) || ( $foundall ) ) {
+ return $result ;
+ }
+ else {
+ return '' ;
+ }
+}
+
+=pod
+
+=item * formatnames()
+
+Replies well-formated names
+Takes 4 args:
+
+=over
+
+=item * names (hash)
+
+is the components of the name to format
+
+=item * formatname (string)
+
+is the format of one name (composed by the letters [vlfj.{}]+)
+
+=item * formatnames (string)
+
+is the format which permits to merge the names (composed by the letters [n{}]+)
+
+=item * count (optional integer)
+
+is the maximum number of names which must be put inside the result.
+
+=back
+
+=cut
+sub formatnames($$$) : method {
+ my $self = shift ;
+ return $self->formatnames_withurl($_[0], $_[1], $_[2], undef, $_[3], $_[4]) ;
+}
+
+=pod
+
+=item * formatnames_withurl()
+
+Replies well-formated names
+with a link to their list-of-papers page.
+Takes 4 args:
+
+=over
+
+=item * names (hash)
+
+is the components of the name to format
+
+=item * formatname (string)
+
+is the format of one name (composed by the letters [vlfj.{}]+)
+
+=item * formatnames (string)
+
+is the format which permits to merge the names (composed by the letters [n{}]+)
+
+=item * backend_object (AbstractGenertor object)
+
+is the pointer to the object to call for creating the URL.
+The called methid is: formatnames_url_backend.
+
+=item * count (optional integer)
+
+is the maximum number of names which must be put inside the result.
+
+=item * rootdir (optional string)
+
+=back
+
+=cut
+sub formatnames_withurl($$$$;$$) : method {
+ my $self = shift ;
+ return '' unless $_[0] ;
+ confess( 'you must supply a valid format string for a name' ) unless $_[1] ;
+ confess( 'you must supply a valid format string for all names' ) unless $_[2] ;
+ my $backend = $_[3] || undef ;
+ my $max = (($_[4])&&($_[4]>=-1)) ? $_[4] : 1 ;
+ my $rootdir = $_[5] || '' ;
+ my @authors = $self->splitnames( $_[0] ) ;
+
+ if ( $max <= 0 ) {
+ $max = int(@authors) ;
+ }
+
+ my @blocks = $self->_extract_blocks( $_[2] ) ;
+ my ($sep1,$sep2) = (join('',@{$blocks[1]}),
+ join('',@{$blocks[3]})) ;
+
+ my ($i,$names) = (0,'') ;
+ while ( ( $i <= $#authors ) && ( $i < $max ) ) {
+ my $name ;
+ if ( $authors[$i]{'et al'} ) {
+ $name = " ".$ETAL_STRING ;
+ }
+ else {
+ $name = $self->formatname( $authors[$i], $_[1] ) ;
+ # Add the url
+ if ($backend) {
+ $name = $backend->formatnames_url_backend($authors[$i], $name, $rootdir) ;
+ }
+ if ( $names ) {
+ $names .= ( $i == $#authors ) ? $sep1 : $sep2 ;
+ }
+ }
+ $names .= $name ;
+ $i ++ ;
+ }
+ if ( int(@authors) > $max ) {
+ $names .= " ".$ETAL_STRING ;
+ }
+ return $names ;
+}
+
+#------------------------------------------------------
+#
+# Extracting API
+#
+#------------------------------------------------------
+
+=pod
+
+=item * splitnames()
+
+Splits the specified string into names.
+Takes 1 arg:
+
+=over
+
+=item * text (string)
+
+is the text to split
+
+=back
+
+=cut
+sub splitnames($) : method {
+ my $self = shift ;
+ my $text = $_[0] || '' ;
+ my @names = () ;
+
+ # Support no-standard notation "et al"
+ if ( $text =~ /\s*et[ \t\r\n~]+al\.?\s*/g ) {
+ my $original = $text ;
+ $text =~ s/\s*et[ \t\r\n~]+al\.?\s*/ and others /g ;
+ $text =~ s/^\s+//m ;
+ $text =~ s/\s+$//m ;
+ Bib2HTML::General::Error::syswarm( "the string \"".$original."\" does not respect the BibTeX standard for author's names. ".
+ "Assume \"".$text."\"." ) ;
+ }
+
+ # Scan the authors to extract the brace blocks
+ my @blocks = $self->_extract_blocks($text) ;
+
+ # Split the top level blocks
+ for(my $i=0; $i<=$#blocks; $i++) {
+ if ( ! isarray( $blocks[$i] ) ) {
+ my @parts ;
+ if ( $blocks[$i] =~ /^\s*and\s*$/i ) {
+ @parts = ( '', '' ) ;
+ }
+ else {
+ @parts = split /(?<=\s)and(?=\s)/i, " ".$blocks[$i]." " ;
+ }
+ if ( ! isemptyarray( \@names ) ) {
+ $names[$#names] .= $parts[0] ;
+ for(my $j=1; $j<=$#parts; $j++) {
+ push @names, $parts[$j] ;
+ }
+ }
+ else {
+ for(my $j=0; $j<=$#parts; $j++) {
+ my $p = $parts[$j] ;
+ $p =~ s/^\s+//gm ;
+ $p =~ s/\s+$//gm ;
+ if ( $p ) {
+ push @names, $p ;
+ }
+ }
+ }
+ }
+ else {
+ if ( ! isemptyarray( \@names ) ) {
+ $names[$#names] .= join( '', @{$blocks[$i]} ) ;
+ }
+ else {
+ push @names, join( '', @{$blocks[$i]} ) ;
+ }
+ }
+ }
+
+ # Parse the names to extract the components
+ my @newnames = () ;
+ for(my $i=0; $i<=$#names; $i++) {
+ my $r = $self->scan_name($names[$i]) ;
+
+ if ( isarray( $r ) ) {
+ foreach my $n (@{$r}) {
+ push @newnames, $n ;
+ }
+ }
+ else {
+ push @newnames, $r ;
+ }
+ }
+
+ return @newnames ;
+}
+
+=pod
+
+=item * scan_name()
+
+Scans a single name to extract there components.
+The recognized formats are :
+First [von] Last [jr]
+[von] Last, First [jr]
+[von] Last, jr, First
+
+Takes 1 arg:
+
+=over
+
+=item * name (string)
+
+is the name to scan
+
+=back
+
+=cut
+sub scan_name($) : method {
+ my $self = shift ;
+ my $name = $_[0] || '' ;
+ my ($first,$von,$last,$jr) = ('','','','') ;
+ if ( $name =~ /^\s*others?\s*$/i ) {
+ #
+ # et al.
+ #
+ return { 'first' => $first,
+ 'von' => $von,
+ 'last' => $last,
+ 'jr' => $jr,
+ 'et al' => 1,
+ } ;
+ }
+ elsif ( $name =~ /^([^,]*),([^,]*),(.*)$/ ) {
+ my ($p1,$p2,$p3) = ($1,$2,$3) ;
+ if ( $self->_is_junior( $p2 ) ) {
+ #
+ # [von] Last, jr, First
+ #
+ ($von,$last,$jr,$first) = $self->_scanname_vl_j_f( $p1,$p2,$p3 ) ;
+ }
+ else {
+ #
+ # name, name, ...
+ #
+ Bib2HTML::General::Error::syswarm( "BibTeX author's names are expressed with a quiet ambigous syntax: ".$name.". Assume ',' as names' separator." ) ;
+ my $subnames = [] ;
+ foreach my $subname ( split(/\s*,\s*/, $name ) ) {
+ ($von,$last,$jr,$first) = $self->_scanname_fvlj( $subname ) ;
+ $first =~ s/^\s+// ;
+ $first =~ s/\s+$// ;
+ $last =~ s/^\s+// ;
+ $last =~ s/\s+$// ;
+ $von =~ s/^\s+// ;
+ $von =~ s/\s+$// ;
+ $jr =~ s/^\s+// ;
+ $jr =~ s/\s+$// ;
+ push @{$subnames}, { 'first' => html_ucfirst($first),
+ 'von' => lc($von),
+ 'last' => html_ucfirst($last),
+ 'jr' => $jr,
+ 'et al' => 0,
+ } ;
+ }
+ return $subnames ;
+ }
+ }
+ elsif ( $name =~ /^([^,]*),(.*)$/ ) {
+ my ($p1,$p2) = ($1,$2) ;
+ if ( $self->_is_junior( $p2 ) ) {
+ #
+ # First [von] Last, jr
+ #
+ ($von,$last,$jr,$first) = $self->_scanname_fvl_j( $p1,$p2 );
+ }
+ else {
+ #
+ # [von] Last, First [jr]
+ #
+ ($von,$last,$jr,$first) = $self->_scanname_vl_fj( $p1,$p2 ) ;
+ }
+
+ }
+ elsif ( $name !~ /,/ ) {
+ #
+ # First [von] Last [jr]
+ #
+ ($von,$last,$jr,$first) = $self->_scanname_fvlj( $name ) ;
+ }
+ else {
+ Bib2HTML::General::syserr( "unable to recognize a pattern for the bibTeX name: $name" ) ;
+ }
+ $first =~ s/^\s+// ;
+ $first =~ s/\s+$// ;
+ $last =~ s/^\s+// ;
+ $last =~ s/\s+$// ;
+ $von =~ s/^\s+// ;
+ $von =~ s/\s+$// ;
+ $jr =~ s/^\s+// ;
+ $jr =~ s/\s+$// ;
+ return { 'first' => html_ucfirst($first),
+ 'von' => lc($von),
+ 'last' => html_ucfirst($last),
+ 'jr' => $jr,
+ 'et al' => 0,
+ } ;
+}
+
+=pod
+
+=item * _scanname_fvlj()
+
+Name pattern: [von] Last, First [jr]
+
+=cut
+sub _scanname_vl_fj($$) {
+ my $self = shift ;
+ my ($p1,$p2)=($_[0],$_[1]) ;
+ $p1 =~ s/^\s+//mg ;
+ $p1 =~ s/\s+$//mg ;
+ $p2 =~ s/^\s+//mg ;
+ $p2 =~ s/\s+$//mg ;
+ my ($von,$last,$jr,$first)=('','','','') ;
+ $first = $p2 ;
+ if ( $p2 =~ /^(.*)\s+([a-zA-Z.]+)$/ ) {
+ my ($p3,$p4)=($1,$2) ;
+ $p3 =~ s/^\s+//mg ;
+ $p3 =~ s/\s+$//mg ;
+ $p4 =~ s/^\s+//mg ;
+ $p4 =~ s/\s+$//mg ;
+ if ( $self->_is_junior($p4) ) {
+ $first = $p3 ;
+ $jr = $p4 ;
+ }
+ }
+ ($von,$last) = $self->_get_first_majword( $p1 ) ;
+ return ($von,$last,$jr,$first) ;
+}
+
+=pod
+
+=item * _scanname_fvl_j()
+
+Name pattern: First [von] Last, jr
+
+=cut
+sub _scanname_fvl_j($$) {
+ my $self = shift ;
+ my ($name,$jr) = ($_[0],$_[1]) ;
+ $name =~ s/^\s+//mg ;
+ $name =~ s/\s+$//mg ;
+ $jr =~ s/^\s+//mg ;
+ $jr =~ s/\s+$//mg ;
+ my ($von,$last,undef,$first)=$self->_scanname_fvlj($name) ;
+ return ($von,$last,$jr,$first) ;
+}
+
+=pod
+
+=item * _scanname_fvlj()
+
+Name pattern: First [von] Last [jr]
+
+=cut
+sub _scanname_fvlj($) {
+ my $self = shift ;
+ my $name = $_[0] ;
+ $name =~ s/^\s+//mg ;
+ $name =~ s/\s+$//mg ;
+ my ($von,$last,$jr,$first)=('','','','') ;
+ ($first,my $reste) = $self->_get_majwords($name) ;
+ # If the reste variable is empty (ie no von found)
+ # It means that the last upercase word must
+ # be the lastname
+ if ( ! $reste ) {
+ if ( $name =~ /^(.*?)\s+([^\s]+)\s*$/ ) {
+ ($first,$reste) = ($1,$2) ;
+ }
+ else {
+ ($first,$reste) = ('',$name) ;
+ }
+ }
+ $first =~ s/^\s+//mg ;
+ $first =~ s/\s+$//mg ;
+ $reste =~ s/^\s+//mg ;
+ $reste =~ s/\s+$//mg ;
+ ($von,$reste) = $self->_get_first_majword($reste) ;
+ $von =~ s/^\s+//mg ;
+ $von =~ s/\s+$//mg ;
+ $reste =~ s/^\s+//mg ;
+ $reste =~ s/\s+$//mg ;
+ if ( ( $reste =~ /^(.*)\s+([a-zA-Z.]+)$/ ) &&
+ ( $self->_is_junior($2) ) ) {
+ ($last,$jr) = ($1,$2) ;
+ }
+ else {
+ $last = $reste ;
+ }
+ return ($von,$last,$jr,$first) ;
+}
+
+=pod
+
+=item * _scanname_vl_j_f()
+
+Name pattern: [von] Last, jr, First
+
+=cut
+sub _scanname_vl_j_f($$$) {
+ my $self = shift ;
+ my ($p1,$p2,$p3) = ($_[0],$_[1],$_[2]) ;
+ $p1 =~ s/^\s+//mg ;
+ $p1 =~ s/\s+$//mg ;
+ $p2 =~ s/^\s+//mg ;
+ $p2 =~ s/\s+$//mg ;
+ $p3 =~ s/^\s+//mg ;
+ $p3 =~ s/\s+$//mg ;
+ my ($von,$last,$jr,$first)=('','',$p2,$p3) ;
+ ($von,$last) = $self->_get_first_majword( $p1 ) ;
+ return ($von,$last,$jr,$first) ;
+}
+
+=pod
+
+=item * _get_majwords()
+
+Replies all the maj words from the begining.
+
+=over
+
+=item * text (string)
+
+=back
+
+=cut
+sub _get_majwords($) {
+ my $self = shift ;
+ return ('','') unless $_[0] ;
+ my @words = split(/\s+/, $_[0]) ;
+ my ($maj,$after) = ('','') ;
+ my $inmaj = 1 ;
+ foreach my $word (@words) {
+ if ( $word !~ /^&?[A-Z].*$/ ) {
+ $inmaj = 0 ;
+ }
+ if ( $inmaj ) {
+ $maj .= ($maj?' ':'').$word ;
+ }
+ else {
+ $after .= ($after?' ':'').$word ;
+ }
+ }
+ return ($maj,$after) ;
+}
+
+=pod
+
+=item * _get_first_majword()
+
+Replies the string that begins from the first word
+with first majuscule letter.
+
+=over
+
+=item * text (string)
+
+=back
+
+=cut
+sub _get_first_majword($) {
+ my $self = shift ;
+ return ('','') unless $_[0] ;
+ my @words = split(/\s+/, $_[0] ) ;
+ my ($before,$after) = ('','') ;
+ my $found = 0 ;
+ foreach my $word (@words) {
+ if ( $word =~ /^&?[A-Z].*$/ ) {
+ $found = 1 ;
+ }
+ if ( $found ) {
+ $after .= ($after?' ':'').$word ;
+ }
+ else {
+ $before .= ($before?' ':'').$word ;
+ }
+ }
+ if ( ! $after ) {
+ return ('',$before) ;
+ }
+ else {
+ return ($before,$after) ;
+ }
+}
+
+=pod
+
+=item * _is_junior()
+
+Replies if the parameter is a string that corresponds
+to the junior part of a BibTeX name.
+
+=over
+
+=item * text (string)
+
+=back
+
+=cut
+sub _is_junior($) {
+ my $self = shift ;
+ my $jr = $_[0] ;
+ if ( $jr ) {
+ $jr =~ s/^\s+//mg ;
+ $jr =~ s/\s+$//mg ;
+ return ( ( strinarray( lc($jr), \@JUNIOR_PARTS ) ) ||
+ ( isnumber($jr) ) ) ;
+ }
+ else {
+ return $jr ;
+ }
+}
+
+=pod
+
+=item * _extract_blocks()
+
+Extracts the blocks from the specified string
+Takes 1 arg:
+
+=over
+
+=item * text (string)
+
+is the text to parse.
+
+=back
+
+=cut
+sub _extract_blocks($) : method {
+ my $self = shift ;
+ my $text = $_[0] || '' ;
+ my @blocks = () ;
+ my $currentblock = "" ;
+ my $count = 0 ;
+ while ( $text =~ /^(.*?)((?:\\\{)|(?:\\\})|\{|\})(.*)$/ ) {
+ (my $before, my $sep, $text) = ($1,$2,$3) ;
+ $currentblock .= $before ;
+ if ( ( $sep eq '\\{' ) || ( $sep eq '\\}' ) ) {
+ $currentblock .= $sep ;
+ }
+ elsif ( $sep eq '{' ) {
+ if ( $count > 0 ) {
+ $currentblock .= $sep ;
+ }
+ else {
+ push @blocks, $currentblock ;
+ $currentblock = '' ;
+ }
+ $count ++ ;
+ }
+ elsif ( $sep eq '}' ) {
+ $count -- unless ($count <= 0) ;
+ if ( $count > 0 ) {
+ $currentblock .= $sep ;
+ }
+ else {
+ push @blocks, [ $currentblock ] ;
+ $currentblock = '' ;
+ }
+ }
+ else {
+ confess( "Invalid block: $sep\n" ) ;
+ }
+ }
+ if ( $text ) {
+ $currentblock .= $text ;
+ }
+ if ( $currentblock ) {
+ push @blocks, $currentblock ;
+ }
+ return @blocks ;
+}
+
+1;
+__END__
+
+=back
+
+=head1 COPYRIGHT
+
+(c) Copyright 1998-09 Stéphane Galland E<lt>galland@arakhne.orgE<gt>, under GPL.
+
+=head1 AUTHORS
+
+=over
+
+=item *
+
+Conceived and initially developed by Stéphane Galland E<lt>galland@arakhne.orgE<gt>.
+
+=back
+
+=head1 SEE ALSO
+
+bib2html.pl
diff --git a/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Translator/TeX.pm b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Translator/TeX.pm
new file mode 100644
index 0000000000..31bf65068e
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/Bib2HTML/Translator/TeX.pm
@@ -0,0 +1,2603 @@
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+=pod
+
+=head1 NAME
+
+Bib2HTML::Translator::TeX - A translator from TeX to HTML
+
+=head1 SYNOPSYS
+
+use Bib2HTML::Translator::BibTeX ;
+
+my $gen = Bib2HTML::Translator::TeX->new( filename ) ;
+
+=head1 DESCRIPTION
+
+Bib2HTML::Translator::TeX is a Perl module, which translate a
+TeX string into an HTML string
+
+=head1 GETTING STARTED
+
+=head2 Initialization
+
+To create a parser, say something like this:
+
+ use Bib2HTML::Translator::TeX;
+
+ my $parser = Bib2HTML::Translator::TeX->new( 'toto.bib', '<math>', '</math>' ) ;
+
+...or something similar. Acceptable parameters to the constructor are:
+
+=over
+
+=item * filename (string)
+
+is the filename under parsing.
+
+=item * start_math (optional string)
+
+is the HTML balise which permits to start the math mode
+
+=item * stop_math (optional string)
+
+is the HTML balise which permits to stop the math mode
+
+=back
+
+=head1 METHOD DESCRIPTIONS
+
+This section contains only the methods in Parser.pm itself.
+
+=over
+
+=cut
+
+package Bib2HTML::Translator::TeX;
+
+@ISA = ('Exporter');
+@EXPORT = qw();
+@EXPORT_OK = qw( &addtrans_char &gettrans_char
+ &addtrans_cmd_noparam &addtrans_cmd
+ &addtrans_cmd_func &gettrans_cmd
+ &display_supported_commands );
+
+use strict;
+use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+use Exporter;
+use Carp ;
+
+use Bib2HTML::General::Misc ;
+use Bib2HTML::General::HTML ;
+use Bib2HTML::General::Error ;
+use Bib2HTML::General::Verbose ;
+use Bib2HTML::Translator::BibTeXEntry ;
+
+#------------------------------------------------------
+#
+# Global vars
+#
+#------------------------------------------------------
+
+# Version number of the parser
+my $VERSION = "3.0" ;
+
+###############################################################
+# This is the list of characters which will be automatically
+# and directly translatable into a HTML entity
+#
+my %TEX_HTML_CHAR_TRANS = ( '~' => '&nbsp;', #unsecable space
+ '£' => '&pound;', #pound sign
+ '¤' => '&curren;', #currency sign
+ '|' => '&brvbar', #broken bar = broken vertical bar
+ '§' => '&sect;', #section sign
+ '°' => '&deg;', #degree sign
+ '²' => '&sup2;', #superscript two = superscript digit two = squared
+ 'µ' => '&micro;', #micro sign
+ 'À' => '&Agrave;', #latin capital letter A with grave = latin capital letter A grave
+ 'Á' => '&Aacute;', #latin capital letter A with acute
+ 'Â' => '&Acirc;', #latin capital letter A with circumflex
+ 'Ã' => '&Atilde;', #latin capital letter A with tilde
+ 'Ä' => '&Auml;', #latin capital letter A with diaeresis
+ 'Å' => '&Aring;', #latin capital letter A with ring above = latin capital letter A ring
+ 'Æ' => '&AElig;', #latin capital letter AE = latin capital ligature AE
+ 'Ç' => '&Ccedil;', #latin capital letter C with cedilla
+ 'È' => '&Egrave;', #latin capital letter E with grave
+ 'É' => '&Eacute;', #latin capital letter E with acute
+ 'Ê' => '&Ecirc;', #latin capital letter E with circumflex
+ 'Ë' => '&Euml;', #latin capital letter E with diaeresis
+ 'Ì' => '&Igrave;', #latin capital letter I with grave
+ 'Í' => '&Iacute;', #latin capital letter I with acute
+ 'Î' => '&Icirc;', #latin capital letter I with circumflex
+ 'Ï' => '&Iuml;', #latin capital letter I with diaeresis
+ 'Ñ' => '&Ntilde;', #latin capital letter N with tilde
+ 'Ò' => '&Ograve;', #latin capital letter O with grave
+ 'Ó' => '&Oacute;', #latin capital letter O with acute
+ 'Ô' => '&Ocirc;', #latin capital letter O with circumflex
+ 'Õ' => '&Otilde;', #latin capital letter O with tilde
+ 'Ö' => '&Ouml;', #latin capital letter O with diaeresis
+ 'Ø' => '&Oslash;', #latin capital letter O with stroke = latin capital letter O slash
+ 'Ù' => '&Ugrave;', #latin capital letter U with grave
+ 'Ú' => '&Uacute;', #latin capital letter U with acute
+ 'Û' => '&Ucirc;', #latin capital letter U with circumflex
+ 'Ü' => '&Uuml;', #latin capital letter U with diaeresis
+ 'Ý' => '&Yacute;', #latin capital letter Y with acute
+ 'à' => '&agrave;', #latin small letter a with grave = latin small letter a grave
+ 'á' => '&aacute;', #latin small letter a with acute
+ 'â' => '&acirc;', #latin small letter a with circumflex
+ 'ã' => '&atilde;', #latin small letter a with tilde
+ 'ä' => '&auml;', #latin small letter a with diaeresis
+ 'å' => '&aring;', #latin small letter a with ring above = latin small letter a ring
+ 'æ' => '&aelig;', #latin small letter ae = latin small ligature ae
+ 'ç' => '&ccedil;', #latin small letter c with cedilla
+ 'è' => '&egrave;', #latin small letter e with grave
+ 'é' => '&eacute;', #latin small letter e with acute
+ 'ê' => '&ecirc;', #latin small letter e with circumflex
+ 'ë' => '&euml;', #latin small letter e with diaeresis
+ 'ì' => '&igrave;', #latin small letter i with grave
+ 'í' => '&iacute;', #latin small letter i with acute
+ 'î' => '&icirc;', #latin small letter i with circumflex
+ 'ï' => '&iuml;', #latin small letter i with diaeresis
+ 'ñ' => '&ntilde;', #latin small letter n with tilde
+ 'ò' => '&ograve;', #latin small letter o with grave
+ 'ó' => '&oacute;', #latin small letter o with acute
+ 'ô' => '&ocirc;', #latin small letter o with circumflex
+ 'õ' => '&otilde;', #latin small letter o with tilde
+ 'ö' => '&ouml;', #latin small letter o with diaeresis
+ 'ø' => '&oslash;', #latin small letter o with stroke = latin small letter o slash
+ 'ù' => '&ugrave;', #latin small letter u with grave
+ 'ú' => '&uacute;', #latin small letter u with acute
+ 'û' => '&ucirc;', #latin small letter u with circumflex
+ 'ü' => '&uuml;', #latin small letter u with diaeresis
+ 'ý' => '&yacute;', #latin small letter y with acute
+ 'ÿ' => '&yuml;', #latin small letter y with diaeresis
+ '"' => '&quot;', #quotation mark = APL quote
+ '^' => '&circ;', #modifier letter circumflex accent
+ '<' => '&lt;', #less-than sign
+ '>' => '&gt;', #greater-than sign
+ ) ;
+
+###############################################################
+# This is the list of text-mode commands.
+# The commands must respect one of the following formats:
+# 1) 'TeXCmdName' => "HTML code"
+# permits to translate the LaTeX command \TeXCmdName
+# into the specified "HTML code".
+# 2) 'TeXCmdName' => { 'params' => params
+# 'html' => "HTML code"
+# }
+# replaces the command \TeXCmdName by the specified
+# "HTML code". This last could contains a parameter
+# number (eg, #1 for the first, #2 for the second,
+# etc.) which will be replaced by the value
+# passed to the LaTeX command. The params specifies
+# the parameter prototype of the LaTeX command. It
+# must contains one (or more) of:
+# {} for a needed parameter
+# [d] for an optional parameter. d
+# is the default value given to this parameter
+# if it was not provided inside the LaTeX code
+# \\ for a LaTeX command name
+# ! indicates that the following sign ({} or[])
+# must not be interpreted by the LaTeX
+# translator. It must be used for verbatim
+# output
+# - to read the text until the end of the current
+# LaTeX context
+# 3) 'TeXCmdName' => { 'params' => params
+# 'latex' => "LaTeX code"
+# }
+# replaces the command \TeXCmdName by the specified
+# "LaTeX code". This last could contains a parameter
+# number (eg, #1 for the first, #2 for the second,
+# etc.) which will be replaced by the value
+# passed to the LaTeX command. The params specifies
+# the parameter prototype of the LaTeX command. It
+# must contains one (or more) of the macros defined
+# in the point 2).
+# 4) 'TeXCmdName' => { 'params' => params
+# 'func' => "callback_function_name"
+# }
+# replaces the command \TeXCmdName by the result of
+# the specified callback function. This callback
+# function must take, at least, 1 parameters:
+# the current line number. The parameters of the
+# LaTeX command will be passed to this callback
+# function after this line number.
+# Example: for \newcommand{\cmdname}[4][default]{code #2}
+# we implements the callback function:
+# sub texcommand_newcommand {
+# my $lineno = shift || 0 ;
+# my ($cmdname,$nb_params) =
+# ( $_[0], $_[1] || 0 ) ;
+# my ($default,$code) =
+# ($_[2] || '', $_[3] || '') ;
+# ...
+# return '' ;
+# }
+# The params specifies the parameter prototype of
+# the LaTeX command. It must contains one (or more)
+# of the macros defined in the point 2).
+# 5) 'TeXCmdName' => { 'params' => params
+# 'texfunc' => "callback_function_name"
+# }
+# replaces the command \TeXCmdName by the result of
+# the specified callback function. The callback
+# must assume that its result was some LaTeX expression
+# which will be evaluated (this is the major difference
+# between a 'func' and a 'texfunc', VERY IMPORTANT point).
+# The callback function works same as for 'func' (point 4).
+#
+my %TEX_HTML_COMMANDS = (
+
+ ' ' => ' ',
+ '_' => '_', # underline sign
+ '-' => '', # hyphenation sign
+ '$' => '\$',
+ ',' => '&nbsp;',
+ ';' => '&nbsp;',
+ '%' => '%',
+ '}' => '}',
+ '{' => '{',
+ '&' => '&amp;',
+ '\\' => '<br>',
+ '&' => '&amp;', #ampersand
+ # Patch by Norbert Preining added the 2003/03/17
+ '#' => '#',
+ '\'' => { 'params' => '{}',
+ 'func' => 'texcommand_acute',
+ },
+ '`' => { 'params' => '{}',
+ 'func' => 'texcommand_grave',
+ },
+ '~' => { 'params' => '{}',
+ 'func' => 'texcommand_tilde',
+ },
+ '"' => { 'params' => '{}',
+ 'func' => 'texcommand_uml',
+ },
+ '^' => { 'params' => '{}',
+ 'func' => 'texcommand_circ',
+ },
+ '=' => { 'params' => '{}', # One parameter
+ 'func' => 'texcommand_bar',
+ },
+ 'AA' => '&Aring;',
+ 'aa' => '&aring;',
+ 'AE' => '&AElig;', #latin small letter ae = latin small ligature ae
+ 'ae' => '&aelig;', #latin small letter ae = latin small ligature ae
+ 'begin' => { 'params' => '!{}', # Start environment
+ 'texfunc' => 'texcommand_beginenv',
+ },
+ 'backslash' => '\\',
+ 'beginblock' => '', # Ignored
+ 'bf' => { 'params' => '-', # Bold font
+ 'func' => 'texcommand_font_bold',
+ },
+ 'bfseries' => { 'params' => '-', # Bold font
+ 'func' => 'texcommand_font_bold',
+ },
+ 'BibtoHTML' => 'B<small>IB</small>2HTML', # Bib2HTML logo
+ 'bibtohtml' => 'B<small>IB</small>2HTML', # Bib2HTML logo
+ 'BibTeX' => 'B<small>IB</small>T<small>E</small>X', # BibTeX logo
+ 'c' => { 'params' => '{}',
+ 'func' => 'texcommand_cedil',
+ },
+ 'cdot' => '&middot;', #middle dot = Georgian comma = Greek middle dot
+ 'cite' => { 'params' => '[]{}',
+ 'func' => 'texcommand_cite',
+ },
+ 'def' => { 'params' => '\\{}',
+ 'func' => 'texcommand_def',
+ },
+ 'degree' => '&deg;', #degree sign
+ 'dg' => '&eth;', #latin small letter eth
+ 'DH' => '&ETH;', #latin capital letter ETH
+ 'div' => '&divide;', #division sign
+ 'edef' => { 'params' => '\\{}',
+ 'func' => 'texcommand_edef',
+ },
+ 'Emph' => { 'params' => '{}',
+ 'html' => '<strong>#1</strong>',
+ },
+ 'em' => { 'params' => '-', # Emphasis
+ 'html' => "<em>#1</em>",
+ },
+ 'emph' => { 'params' => '{}', # Emphasis
+ 'html' => '<em>#1</em>',
+ },
+ 'end' => { 'params' => '!{}', # End environment
+ 'texfunc' => 'texcommand_endenv',
+ },
+ 'enditemize' => '</UL>',
+ 'ensuremath' => { 'params' => '{}',
+ 'func' => 'texcommand_ensuremath',
+ },
+ 'footnotesize' => { 'params' => '-',
+ 'html' => "<font size=\"-2\">#1</font>",
+ },
+ 'gdef' => { 'params' => '\\{}',
+ 'func' => 'texcommand_def',
+ },
+ 'global' => '', # ignored
+ 'guillemotleft' => '&laquo;', #left-pointing double angle quotation mark
+ 'guillemotright' => '&raquo;', #right-pointing double angle quotation mark = right pointing guillemet
+ 'Huge' => { 'params' => '-',
+ 'html' => "<font size=\"+5\">#1</font>",
+ },
+ 'html' => { 'params' => '!{}', # verbatim HTML code
+ 'html' => '#1',
+ },
+ 'huge' => { 'params' => '-',
+ 'html' => "<font size=\"+4\">#1</font>",
+ },
+ 'i' => 'i',
+ 'it' => { 'params' => '-', # Italic font
+ 'func' => 'texcommand_font_italic',
+ },
+ 'item' => '<LI>',
+ 'itshape' => { 'params' => '-', # Italic font
+ 'func' => 'texcommand_font_italic',
+ },
+ # Patch by Norbert Preining added the 2003/03/17
+ 'L' => 'L', # L bar
+ 'LARGE' => { 'params' => '-',
+ 'html' => "<font size=\"+3\">#1</font>",
+ },
+ 'Large' => { 'params' => '-',
+ 'html' => "<font size=\"+2\">#1</font>",
+ },
+ 'LaTeX' => 'L<sup><small>A</small></sup>T<small>E</small>X', # LaTeX logo
+ 'large' => { 'params' => '-',
+ 'html' => "<font size=\"+1\">#1</font>",
+ },
+ 'latex' => { 'params' => '{}', # Ignore the LaTeX commands
+ 'html' => '',
+ },
+ 'lnot' => '&not;', #not sign
+ 'mdseries' => { 'params' => '-', # Unbold Font
+ 'func' => 'texcommand_font_medium',
+ },
+ 'newcommand' => { 'params' => '{}[][]{}',
+ 'func' => 'texcommand_newcommand',
+ },
+ 'normalfont' => { 'params' => '-',
+ 'func' => 'texcommand_font_normal',
+ },
+ 'normalsize' => { 'params' => '-',
+ 'html' => "<font size=\"+0\">#1</font>",
+ },
+ 'O' => '&Oslash;',
+ 'o' => '&oslash;',
+ 'OE' => '&OElig;', #latin capital ligature OE
+ 'oe' => '&oelig;', #latin small ligature oe
+ 'P' => '&para;', #pilcrow sign = paragraph sign
+ 'pm' => '&plusmn;', #plus-minus sign = plus-or-minus sign
+ 'pounds' => '&pounds;', #pound sign
+ 'renewcommand' => { 'params' => '{}[][]{}',
+ 'func' => 'texcommand_newcommand',
+ },
+ 'rm' => { 'params' => '-', # Roman font
+ 'func' => "texcommand_font_roman",
+ },
+ 'rmfamily' => { 'params' => '-', # Roman font
+ 'func' => "texcommand_font_roman",
+ },
+ 'S' => '&sect;', #section sign
+ 'sc' => { 'params' => '-', # Small-caps font
+ 'func' => "texcommand_font_smallcap",
+ },
+ 'scriptsize' => { 'params' => '-',
+ 'html' => "<font size=\"-3\">#1</font>",
+ },
+ 'scshape' => { 'params' => '-', # Small-caps font
+ 'func' => "texcommand_font_smallcap",
+ },
+ 'sf' => { 'params' => '-', # Sans Serif font
+ 'func' => "texcommand_font_serif",
+ },
+ 'sffamily' => { 'params' => '-', # Sans Serif font
+ 'func' => "texcommand_font_serif",
+ },
+ 'sl' => { 'params' => '-', # Slanted font
+ 'func' => "texcommand_font_slanted",
+ },
+ 'slshape' => { 'params' => '-', # Slanted font
+ 'func' => "texcommand_font_slanted",
+ },
+ 'small' => { 'params' => '-',
+ 'html' => "<font size=\"-1\">#1</font>",
+ },
+ 'ss' => '&szlig;', #latin small letter sharp s = ess-zed
+ 'startblock' => '', # Ignored
+ 'startitemize' => '<UL>',
+ 'string' => { 'params' => '{}',
+ 'html' => "#1",
+ },
+ 'TeX' => 'T<small>E</small>X', # TeX logo
+ 'text' => { 'params' => '{}',
+ 'func' => 'texcommand_ensuretext',
+ },
+ 'textasciicircum' => '&circ;', # circumflex accent sign
+ 'textasciitilde' => '~', # tilde sign
+ 'textbackslash' => '\\',
+ 'textbf' => { 'params' => '{}', # Bold font
+ 'func' => 'texcommand_font_bold',
+ },
+ 'textbrokenbar' => '&brvbar;', #broken bar = broken vertical bar
+ 'textcent' => '&cent;', #cent sign
+ 'textcopyright' => '&copy;', #copyright sign
+ 'textcurrency' => '&curren;', #currency sign
+ 'textexcladown' => '&iexcl;', #inverted exclamation mark, U+00A1 ISOnum
+ 'textit' => { 'params' => '{}', # Italic Font
+ 'func' => 'texcommand_font_italic',
+ },
+ 'textmd' => { 'params' => '{}', # Unbold Font
+ 'func' => 'texcommand_font_medium',
+ },
+ 'textnormal' => { 'params' => '{}',
+ 'func' => 'texcommand_font_normal',
+ },
+ 'textonehalf' => '&frac12;', #vulgar fraction one half = fraction one half
+ 'textonequarter' => '&frac14;', #vulgar fraction one quarter = fraction one quarter
+ 'textordfeminine' => '&ordf;', #feminine ordinal indicator
+ 'textordmasculine' => '&ordm;', #masculine ordinal indicator
+ 'textquestiondown' => '&iquest;', #inverted question mark = turned question mark
+ 'textregistered' => '&reg;', #registered sign = registered trade mark sign
+ 'textrm' => { 'params' => '{}', # Roman Font
+ 'func' => 'texcommand_font_roman',
+ },
+ 'textsc' => { 'params' => '{}', # Small-caps Font
+ 'func' => 'texcommand_font_smallcap',
+ },
+ 'textsf' => { 'params' => '{}', # Sans Serif Font
+ 'func' => 'texcommand_font_serif',
+ },
+ 'textsl' => { 'params' => '{}', # Slanted Font
+ 'func' => 'texcommand_font_slanted',
+ },
+ 'textthreequarters' => '&frac34;', #vulgar fraction three quarters = fraction three quarters
+ 'texttt' => { 'params' => '{}',
+ 'func' => 'texcommand_font_typewriter',
+ },
+ 'textup' => { 'params' => '{}', # Up right font
+ 'func' => 'texcommand_font_upright',
+ },
+ 'textyen' => '&yen;', #yen sign = yuan sign
+ 'times' => '&times;', #multiplication sign
+ 'tiny' => { 'params' => '-',
+ 'html' => "<font size=\"-4\">#1</font>",
+ },
+ 'TH' => '&THORN;', #latin capital letter THORN
+ 'th' => '&thorn;', #latin small letter thorn
+ 'tt' => { 'params' => '-', # Typewriter font
+ 'func' => "texcommand_font_typewriter",
+ },
+ 'ttfamily' => { 'params' => '-', # Type writer font
+ 'func' => 'texcommand_font_typewriter',
+ },
+ 'u' => { 'params' => '{}', # added by Tobia
+ 'func' => 'texcommand_ucircle',
+ },
+ 'uline' => { 'params' => '{}', # Underline font
+ 'html' => "<u>#1</u>",
+ },
+ 'upshape' => { 'params' => '{}', # Up right font
+ 'func' => 'texcommand_font_upright',
+ },
+ 'url' => { 'params' => '{}', # URL hyperlink
+ 'html' => "<a=\"#1\">#1</a>",
+ },
+ 'v' => { 'params' => '{}',
+ 'func' => 'texcommand_caron',
+ },
+ 'xdef' => { 'params' => '\\{}',
+ 'func' => 'texcommand_edef',
+ },
+
+ ) ;
+
+###############################################################
+# This is the list of math-mode commands.
+# The commands must respect one of the following formats:
+# 1) 'TeXCmdName' => "HTML code"
+# permits to translate the LaTeX command \TeXCmdName
+# into the specified "HTML code".
+# 2) 'TeXCmdName' => { 'params' => params
+# 'html' => "HTML code"
+# }
+# replaces the command \TeXCmdName by the specified
+# "HTML code". This last could contains a parameter
+# number (eg, #1 for the first, #2 for the second,
+# etc.) which will be replaced by the value
+# passed to the LaTeX command. The params specifies
+# the parameter prototype of the LaTeX command. It
+# must contains one (or more) of:
+# {} for a needed parameter
+# [d] for an optional parameter. d
+# is the default value given to this parameter
+# if it was not provided inside the LaTeX code
+# \\ for a LaTeX command name
+# ! indicates that the following sign ({} or[])
+# must not be interpreted by the LaTeX
+# translator. It must be used for verbatim
+# output
+# - to read the text until the end of the current
+# LaTeX context
+# 3) 'TeXCmdName' => { 'params' => params
+# 'latex' => "LaTeX code"
+# }
+# replaces the command \TeXCmdName by the specified
+# "LaTeX code". This last could contains a parameter
+# number (eg, #1 for the first, #2 for the second,
+# etc.) which will be replaced by the value
+# passed to the LaTeX command. The params specifies
+# the parameter prototype of the LaTeX command. It
+# must contains one (or more) of the macros defined
+# in the point 2).
+# 3) 'TeXCmdName' => { 'params' => params
+# 'func' => "callback_function_name"
+# }
+# replaces the command \TeXCmdName by the result of
+# the specified callback function. This callback
+# function must take, at least, 1 parameters:
+# the current line number. The parameters of the
+# LaTeX command will be passed to this callback
+# function after this line number.
+# Example: for \newcommand{\cmdname}[4][default]{code #2}
+# we implements the callback function:
+# sub texcommand_newcommand {
+# my $lineno = shift || 0 ;
+# my ($cmdname,$nb_params) =
+# ( $_[0], $_[1] || 0 ) ;
+# my ($default,$code) =
+# ($_[2] || '', $_[3] || '') ;
+# ...
+# return '' ;
+# }
+# The params specifies the parameter prototype of
+# the LaTeX command. It must contains one (or more)
+# of the macros defined in the point 2).
+# 4) 'TeXCmdName' => { 'params' => params
+# 'texfunc' => "callback_function_name"
+# }
+# replaces the command \TeXCmdName by the result of
+# the specified callback function. The callback
+# must assume that its result was some LaTeX expression
+# which will be evaluated (this is the major difference
+# between a 'func' and a 'texfunc', VERY IMPORTANT point).
+# The callback function works same as for 'func' (point 3).
+#
+my %MATH_TEX_HTML_COMMANDS = (
+
+ '}' => '}',
+ '{' => '{',
+ '&' => '&amp;',
+ '_' => { 'params' => "{}",
+ 'html' => "<sub>#1</sub>",
+ 'special' => 1,
+ },
+ '^' => { 'params' => "{}",
+ 'html' => "<sup class=\"exponent\">#1</sup>",
+ 'special' => 1,
+ },
+
+ 'mathmicro' => '&micro;', #micro sign
+ 'maththreesuperior' => '&sup3;', #superscript three = superscript digit three = cubed
+ 'mathtwosuperior' => '&sup2;', #superscript two = superscript digit two = squared
+
+ # MATH-ML commands
+ 'alpha' => "&alpha;",
+ 'angle' => "&ang;",
+ 'approx' => "&asymp;",
+ 'ast' => "&lowast;",
+ 'beta' => "&beta;",
+ 'bot' => "&perp;",
+ 'bullet' => "&bull;",
+ 'cap' => "&cap;",
+ 'cdots' => "&hellip;",
+ 'chi' => "&chi;",
+ 'clubsuit' => "&clubs;",
+ 'cong' => "&cong;",
+ 'cup' => "&cup;",
+ 'dagger' => "&dagger;",
+ 'ddagger' => "&Dagger;",
+ 'delta' => "&delta;",
+ 'Delta' => "&Delta;",
+ 'diamondsuit' => "&loz;",
+ 'div' => "&divide;",
+ 'downarrow' => "&darr;",
+ 'Downarrow' => "&dArr;",
+ 'emptyset' => "&empty;",
+ 'epsilon' => "&epsilon;",
+ 'Epsilon' => "&Epsilon;",
+ 'equiv' => "&equiv;",
+ 'eta' => "&eta;",
+ 'exists' => "&exist;",
+ 'forall' => "&forall;",
+ 'gamma' => "&gamma;",
+ 'Gamma' => "&Gamma;",
+ 'geq' => "&ge;",
+ 'heartsuit' => "&hearts;",
+ 'Im' => "&image;",
+ 'in' => "&isin;",
+ 'infty' => "&infin;",
+ 'infinity' => "&infin;",
+ 'int' => "&int;",
+ 'iota' => "&iota;",
+ 'kappa' => "&kappa;",
+ 'lambda' => "&lambda;",
+ 'Lambda' => "&Lambda;",
+ 'langle' => "&lang;",
+ 'lceil' => "&lceil;",
+ 'ldots' => "&hellip;",
+ 'leftarrow' => "&larr;",
+ 'Leftarrow' => "&lArr;",
+ 'leftrightarrow' => "&harr;",
+ 'Leftrightarrow' => "&hArr;",
+ 'leq' => "&le;",
+ 'lfloor' => "&lfloor;",
+ 'mathbb' => { 'params' => '{}', # Math Set characters
+ 'func' => 'texcommand_font_mathset',
+ },
+ 'mathbf' => { 'params' => '{}', # Bold font
+ 'func' => 'texcommand_font_bold',
+ },
+ 'mathit' => { 'params' => '{}', # Italic Font
+ 'func' => 'texcommand_font_italic',
+ },
+ 'mathrm' => { 'params' => '{}', # Roman Font
+ 'func' => 'texcommand_font_roman',
+ },
+ 'mathsf' => { 'params' => '{}', # Sans Serif Font
+ 'func' => 'texcommand_font_serif',
+ },
+ 'mathtt' => { 'params' => '{}',
+ 'func' => 'texcommand_font_typewriter',
+ },
+ 'mathnormal' => { 'params' => '{}',
+ 'func' => 'texcommand_font_normal',
+ },
+ 'mu' => "&mu;",
+ 'nabla' => "&nabla;",
+ 'neg' => "&not;",
+ 'neq' => "&ne;",
+ 'ni' => "&ni;",
+ 'not\in' => "&notin;",
+ 'not\subset' => "&nsub;",
+ 'nu' => "&nu;",
+ 'omega' => "&omega;",
+ 'Omega' => "&Omega;",
+ 'ominus' => "&ominus;",
+ 'oplus' => "&oplus;",
+ 'oslash' => "&oslash;",
+ 'Oslash' => "&Oslash;",
+ 'otimes' => "&otimes;",
+ 'partial' => "&part;",
+ 'phi' => "&phi;",
+ 'Phi' => "&Phi;",
+ 'pi' => "&pi;",
+ 'Pi' => "&Pi;",
+ 'pm' => "&plusmn;",
+ 'prime' => "&prime;",
+ 'prod' => "&prod;",
+ 'propto' => "&prop;",
+ 'psi' => "&psi;",
+ 'Psi' => "&Psi;",
+ 'rangle' => "&rang;",
+ 'rceil' => "&rceil;",
+ 'Re' => "&real;",
+ 'rfloor' => "&rfloor;",
+ 'rho' => "&rho;",
+ 'rightarrow' => "&rarr;",
+ 'Rightarrow' => "&rArr;",
+ 'sigma' => "&sigma;",
+ 'Sigma' => "&Sigma;",
+ 'sim' => "&sim;",
+ 'spadesuit' => "&spades;",
+ 'sqrt' => "&radic;",
+ 'subseteq' => "&sube;",
+ 'subset' => "&sub;",
+ 'sum' => "&sum;",
+ 'supseteq' => "&supe;",
+ 'supset' => "&sup;",
+ 'surd' => "&radic;",
+ 'tau' => "&tau;",
+ 'theta' => "&theta;",
+ 'Theta' => "&Theta;",
+ 'times' => "&times;",
+ 'to' => "&rarr;",
+ 'uparrow' => "&uarr;",
+ 'Uparrow' => "&uArr;",
+ 'upsilon' => "&upsilon;",
+ 'Upsilon' => "&Upsilon;",
+ 'varpi' => "&piv;",
+ 'vee' => "&or;",
+ 'wedge' => "&and;",
+ 'wp' => "&weierp;",
+ 'xi' => "&xi;",
+ 'Xi' => "&Xi;",
+ 'zeta' => "&zeta;",
+
+ ) ;
+
+#------------------------------------------------------
+#
+# Constructor
+#
+#------------------------------------------------------
+
+sub new($;$$) : method {
+ my $proto = shift;
+ my $class = ref($proto) || $proto;
+ my $parent = ref($proto) && $proto ;
+
+ my $self ;
+ if ( $parent ) {
+ %{$self} = %{$parent} ;
+ }
+ else {
+ $self = { 'FILENAME' => $_[0] || '',
+ 'DATABASE' => undef,
+ 'MATH_MODE' => 0,
+ 'MATH_MODE_START' => $_[2] || "<math>",
+ 'MATH_MODE_STOP' => $_[3] || "</math>",
+ 'FONTS' => { 'ALLS' => [],
+ 'SERIES' => [],
+ 'FAMILIES' => [],
+ 'SHAPES' => [],
+ },
+ 'ENVIRONMENTS' => [],
+ } ;
+ }
+ bless( $self, $class );
+ return $self;
+}
+
+#------------------------------------------------------
+#
+# Translation API
+#
+#------------------------------------------------------
+
+=pod
+
+=item * translate()
+
+Translate the specified string from a TeX string to
+an HTML string
+Takes 3 args:
+
+=over
+
+=item * text (string)
+
+is the text to translate
+
+=item * database (hash)
+
+is the complee database content.
+
+=item * lineno (optional integer)
+
+is the line number where the text can be found
+
+=back
+
+=cut
+sub translate($$;$) : method {
+ my $self = shift ;
+ my $text = $_[0] || '' ;
+ my $lineno = $_[2] || 0 ;
+ my $html = '' ;
+
+ if ( $_[1] ) {
+ $self->{'DATABASE'} = $_[1] ;
+ }
+
+ # Search the first separator
+ my ($eaten,$sep,$tex) = $self->eat_to_separator($text) ;
+
+ while ($sep) {
+
+ # Translate the already eaten string
+ $eaten = $self->translate_chars( $eaten, $lineno ) ;
+
+ if ( ( $sep eq '{' ) || ( $sep eq '}' ) ) {
+ # Ignore braces
+ }
+ elsif ( $sep eq '\\' ) {
+ (my $eaten2,$tex) = $self->translate_cmd($tex, $lineno, '\\') ;
+ $eaten .= $eaten2 ;
+ }
+ elsif ( $sep eq '$' ) {
+ # Math mode
+ if ( ! $self->is_math_mode() ) {
+ $eaten .= $self->start_math_mode(1) ;
+ }
+ elsif ( $self->is_inline_math_mode() ) {
+ $eaten .= $self->stop_math_mode() ;
+ }
+ else {
+ Bib2HTML::General::Error::warm( "you try to close with a '\$' a mathematical mode opened with '\\['",
+ $self->{'FILENAME'},
+ $lineno ) ;
+ }
+ }
+ elsif ( ( $sep eq '_' ) ||
+ ( $sep eq '^' ) ) {
+ # Special math mode commands
+ (my $eaten2,$tex) = $self->translate_cmd($sep.$tex, $lineno ) ;
+ $eaten .= $eaten2 ;
+ }
+ else { # Unknow separator, treat as text
+ $eaten .= $self->translate_chars( $sep, $lineno ) ;
+ }
+
+ # Translate the text before the separator
+ $html .= $eaten ;
+
+ # Search the next separator
+ ($eaten,$sep,$tex) = $self->eat_to_separator($tex) ;
+ }
+
+ if ( $eaten ) {
+ $html .= $self->translate_chars( $eaten, $lineno ) ;
+ }
+
+ # Remove multiple white spaces
+ $html =~ s/ +/ /g ;
+
+ return $html ;
+}
+
+=pod
+
+=item * eat_to_separator()
+
+Eats the specified text until the first separator.
+Takes 2 args:
+
+=over
+
+=item * text (string)
+
+is the text to eat
+
+=item * seps (optional string)
+
+is the list of additional separators
+
+=back
+
+=cut
+sub eat_to_separator($;$) : method {
+ my $self = shift ;
+ my $text = $_[0] || '' ;
+ my $separators = $_[1] || '' ;
+ my ($before,$sep,$after) ;
+
+ $separators .= "_^{}\$\\\\" ;
+
+ if ( $text =~ /^(.*?)([$separators])(.*)$/ ) {
+ ($before,$sep,$after) = ($1,$2,$3) ;
+ }
+ else {
+ $before = $text ;
+ $sep = $after = '' ;
+ }
+ return ($before,$sep,$after) ;
+}
+
+=pod
+
+=item * translate_chars()
+
+Translate the chars inside the specified string.
+Takes 2 args:
+
+=over
+
+=item * text (string)
+
+is the text to translate
+
+=item * lineno (integer)
+
+=back
+
+=cut
+sub translate_chars($$) : method {
+ my $self = shift ;
+ my $html = $_[0] || '' ;
+ my $lineno = $_[1] || 0 ;
+ my @parts = split( /\&/, $html ) ;
+ for(my $i=0; $i<@parts; $i++) {
+ # Translate from the trans table
+ while ( my ($char,$hstr) = each( %TEX_HTML_CHAR_TRANS ) ) {
+ if ( $i > 0 ) {
+ Bib2HTML::General::Error::warm( "you type a '\&'. It could be a LaTeX syntax error. Assume '\\&'.",
+ $self->{'FILENAME'}, $lineno ) ;
+ }
+ $parts[$i] =~ s/\Q$char\E/$hstr/g ;
+ }
+ }
+ $html = join( '&amp;', @parts ) ;
+ return get_restricted_html_entities( $html ) ;
+}
+
+=pod
+
+=item * translate_cmd()
+
+Translate a TeX command.
+Takes 3 args:
+
+=over
+
+=item * text (string)
+
+is the text, which follows the backslash, to scan
+
+=item * lineno (integer)
+
+=item * prefix (optional string)
+
+is a prefix merged to the command name. Use carefully.
+
+=back
+
+=cut
+sub translate_cmd($$;$) : method {
+ my $self = shift ;
+ my ($eaten,$tex,$lineno) = ('',
+ $_[0] || '',
+ $_[1] || 0 ) ;
+ my $cmd_prefix = $_[2] || '' ;
+
+ # Gets the command name
+ if ( $tex =~ /^\[(.*)/ ) { # Starts multi-line math mode
+ $tex = $1 ;
+ if ( ! $self->is_math_mode() ) {
+ $eaten .= $self->start_math_mode(2) ;
+ }
+ else {
+ Bib2HTML::General::Error::warm( "you try to open twice a mathematical mode with '".$cmd_prefix."['",
+ $self->{'FILENAME'},
+ $lineno ) ;
+ }
+ }
+ elsif ( $tex =~ /^\](.*)/ ) { # Stop multi-line math mode
+ $tex = $1 ;
+ if ( $self->is_multiline_math_mode() ) {
+ $eaten .= $self->stop_math_mode() ;
+ }
+ elsif ( $self->is_math_mode() ) {
+ Bib2HTML::General::Error::warm( "you try to close with a '".$cmd_prefix."[' a mathematical mode opened with '\$'",
+ $self->{'FILENAME'},
+ $lineno ) ;
+ }
+ else {
+ Bib2HTML::General::Error::warm( "you try to close with '".$cmd_prefix."]' a mathematical mode which was not opened",
+ $self->{'FILENAME'},
+ $lineno ) ;
+ }
+ }
+ elsif ( $tex =~ /^((?:[a-zA-Z]+)|.)(.*)/ ) { # default LaTeX command
+ (my $cmdname,$tex) = ($1,$2) ;
+ if ( $cmdname ) {
+ my $trans = $self->search_cmd_trans( $cmdname, $lineno, ($cmd_prefix ne "\\") ) ;
+ if ( defined( $trans ) ) {
+ # Seach the command inside the translation table
+ ($eaten,$tex) = $self->run_cmd( $cmd_prefix.$cmdname, $trans, $tex, $lineno ) ;
+ }
+ elsif ( $self->is_math_mode() ) {
+ Bib2HTML::General::Error::warm( "unrecognized TeX command in mathematical mode: ".
+ $cmd_prefix.$cmdname,
+ $self->{'FILENAME'},
+ $lineno ) ;
+ $eaten = "<font color=\"gray\">[$cmdname]</font>" ;
+ }
+ else {
+ Bib2HTML::General::Error::warm( "unrecognized TeX command: ".
+ $cmd_prefix.$cmdname,
+ $self->{'FILENAME'},
+ $lineno ) ;
+ $eaten = "<font color=\"gray\">[$cmdname]</font>" ;
+ }
+ }
+ else {
+ Bib2HTML::General::Error::warm( "invalid syntax for the TeX command: ".
+ $cmd_prefix.$_[0],
+ $self->{'FILENAME'},
+ $lineno ) ;
+ $eaten = $cmd_prefix ;
+ }
+ }
+ else {
+ Bib2HTML::General::Error::warm( "invalid syntax for the TeX command: ".
+ $cmd_prefix.$_[0],
+ $self->{'FILENAME'},
+ $lineno ) ;
+ $eaten = $cmd_prefix ;
+ }
+
+ return ($eaten,$tex) ;
+}
+
+=pod
+
+=item * search_cmd_trans()
+
+Replies the translation entry that corresponds to
+the specified TeX command.
+Takes 3 args:
+
+=over
+
+=item * name (string)
+
+is the name of the TeX command to search.
+
+=item * lineno (integer)
+
+=item * special (optional boolean)
+
+indicates if the searched command has a special purpose
+(example: _ in math mode)
+
+=back
+
+=cut
+sub search_cmd_trans($$;$) : method {
+ my $self = shift ;
+ my $lineno = $_[1] || 0 ;
+ my $special = $_[2] ;
+ my ($math, $text) ;
+ my ($found_math,$found_text) = (0,0) ;
+ if ( ( $_[0] ) &&
+ ( exists $MATH_TEX_HTML_COMMANDS{$_[0]} ) ) {
+ $found_math = ( ( ( !$special ) &&
+ ( ( ! ishash( $MATH_TEX_HTML_COMMANDS{$_[0]} ) ) ||
+ ( ! exists $MATH_TEX_HTML_COMMANDS{$_[0]}{'special'} ) ||
+ ( ! $MATH_TEX_HTML_COMMANDS{$_[0]}{'special'} ) ) ) ||
+ ( ( $special ) &&
+ ( ishash( $MATH_TEX_HTML_COMMANDS{$_[0]} ) ) &&
+ ( exists $MATH_TEX_HTML_COMMANDS{$_[0]}{'special'} ) &&
+ ( $MATH_TEX_HTML_COMMANDS{$_[0]}{'special'} ) ) ) ;
+ $math = $MATH_TEX_HTML_COMMANDS{$_[0]}
+ if ( $found_math ) ;
+ }
+ if ( ( $_[0] ) &&
+ ( exists $TEX_HTML_COMMANDS{$_[0]} ) ) {
+ $found_text = ( ( ( !$special ) &&
+ ( ( ! ishash( $TEX_HTML_COMMANDS{$_[0]} ) ) ||
+ ( ! exists $TEX_HTML_COMMANDS{$_[0]}{'special'} ) ||
+ ( ! $TEX_HTML_COMMANDS{$_[0]}{'special'} ) ) ) ||
+ ( ( $special ) &&
+ ( ishash( $TEX_HTML_COMMANDS{$_[0]} ) ) &&
+ ( exists $TEX_HTML_COMMANDS{$_[0]}{'special'} ) &&
+ ( $TEX_HTML_COMMANDS{$_[0]}{'special'} ) ) ) ;
+ $text = $TEX_HTML_COMMANDS{$_[0]}
+ if ( $found_text ) ;
+ }
+
+ if ( $found_math || $found_text ) {
+ if ( $self->is_math_mode() ) {
+ if ( ! $found_math ) {
+ Bib2HTML::General::Error::warm( "the command ".
+ ( $special ? '' : '\\' ).
+ $_[0].
+ " was not defined for math-mode, assumes to use the text-mode version instead",
+ $self->{'FILENAME'}, $lineno ) ;
+ return $text ;
+ }
+ else {
+ return $math ;
+ }
+ }
+ elsif ( ! $found_text ) {
+ Bib2HTML::General::Error::warm( "the command ".
+ ( $special ? '' : '\\' ).
+ $_[0].
+ " was not defined for text-mode, assumes to use the math-mode version instead",
+ $self->{'FILENAME'}, $lineno ) ;
+ return $math ;
+ }
+ else {
+ return $text ;
+ }
+ }
+ return undef ;
+}
+
+=pod
+
+=item * run_cmd()
+
+Eaten the specified tex according to the specified command.
+Takes 4 args:
+
+=over
+
+=item * name (string)
+
+is the name of the TeX command.
+
+=item * trans (mixed)
+
+is the translation for the command.
+
+=item * text (string)
+
+is the text from which some data must be extracted to
+treat the command.
+
+=item * lineno(integer)
+
+is le line number where the text starts
+
+=back
+
+=cut
+sub run_cmd($$$$) : method {
+ my $self = shift ;
+ my ($eaten,$cmdname,$tex,$lineno) = ('',
+ $_[0] || confess( 'you must supply the TeX command name'),
+ $_[2] || '',
+ $_[3] || 0 ) ;
+ if ( ( ishash( $_[1] ) ) &&
+ ( exists $_[1]->{'params'} ) ) {
+ # This command has params
+ ($tex,my @params) = $self->eat_cmd_parameters( $_[1]->{'params'}, $tex, $lineno ) ;
+ # Apply the command
+ if ( exists $_[1]->{'html'} ) {
+ # Replace by the HTML translation
+ $eaten = $_[1]->{'html'} ;
+ for(my $i=1; $i<=@params; $i++) {
+ if ( $eaten =~ /\#$i/ ) {
+ my $p = ($params[$i-1])->{'text'} ;
+ if ( ($params[$i-1])->{'eval'} ) {
+ $p = $self->translate( $p, undef, $lineno ) ;
+ }
+ $eaten =~ s/\#$i/$p/g ;
+ }
+ }
+ }
+ elsif ( exists $_[1]->{'latex'} ) {
+ # Replace by the LaTeX commands
+ my $cmd = $_[1]->{'latex'} ;
+ for(my $i=1; $i<=@params; $i++) {
+ if ( $cmd =~ /\#$i/ ) {
+ my $p = ($params[$i-1])->{'text'} ;
+ if ( ($params[$i-1])->{'eval'} ) {
+ $p = $self->translate( $p, undef, $lineno ) ;
+ }
+ $cmd =~ s/\#$i/$p/g ;
+ }
+ }
+ $tex = $cmd.$tex ;
+ }
+ elsif ( exists $_[1]->{'func'} ) {
+ # Replace by the string replied by the callback function
+ my $reffunc = $self->can($_[1]->{'func'}) ;
+ if ( $reffunc ) {
+ $eaten = $self->$reffunc( $lineno, @params ) ;
+ }
+ elsif ( issub( $_[1]->{'func'} ) ) {
+ $eaten = $_[1]->{'func'}( $lineno, @params ) ;
+ }
+ else {
+ Bib2HTML::General::Error::warm( "unable to find the callback function 'sub ".
+ $_[1]->{'func'}.
+ "{}' for the TeX command $cmdname",
+ $self->{'FILENAME'},
+ $lineno ) ;
+ }
+ }
+ elsif ( exists $_[1]->{'texfunc'} ) {
+ # Replace by the string replied by the callback function
+ my $reffunc = $self->can($_[1]->{'texfunc'}) ;
+ if ( $reffunc ) {
+ my $result = $self->$reffunc( $lineno, @params ) ;
+ $tex = $result . $tex ;
+ }
+ elsif ( issub( $_[1]->{'texfunc'} ) ) {
+ my $result = $_[1]->{'texfunc'}( $lineno, @params ) ;
+ $tex = $result . $tex ;
+ }
+ else {
+ Bib2HTML::General::Error::warm( "unable to find the callback function 'sub ".
+ $_[1]->{'func'}.
+ "{}' for the TeX command $cmdname",
+ $self->{'FILENAME'},
+ $lineno ) ;
+ }
+ }
+ }
+ else {
+ # No param, put the HTML string inside the output stream
+ $eaten = $_[1] ;
+ }
+ return ($eaten,$tex) ;
+}
+
+=pod
+
+=item * eat_cmd_parameters()
+
+Eaten the specified command parameters.
+Takes 3 args:
+
+=over
+
+=item * params (string)
+
+is the description of the parameters to eat.
+
+=item * text (string)
+
+is the text from which some data must be extracted.
+
+=item * lineno (integer)
+
+=back
+
+=cut
+sub eat_cmd_parameters($$$) : method {
+ my $self = shift ;
+ my $p_params = $_[0] || '' ;
+ my $tex = $_[1] || '' ;
+ my $lineno = $_[2] || 0 ;
+ my @params = () ;
+ while ( $p_params =~ /((?:\!?\{\})|(?:\!?\[[^\]]*\])|-|\\)/g ) {
+ my $p = $1 ;
+ # Eats no significant white spaces
+ $tex =~ s/^ +// ;
+ if ( $p =~ /^(\!?)\{\}/ ) { # Eates a needed parameter
+ my $optional = $1 || '' ;
+ my $prem = substr($tex,0,1) ;
+ $tex = substr($tex,1) ;
+ if ( $prem eq '{' ) {
+ (my $context,$tex) = $self->eat_context( $tex, '\\}' ) ;
+ push @params, { 'eval' => ($optional ne '!'),
+ 'text' => $context,
+ } ;
+ }
+ elsif ( $prem eq '\\' ) {
+ (my $eaten,$tex) = $self->translate_cmd($tex, $lineno, '\\') ;
+ push @params, { 'eval' => 0,
+ 'text' => $eaten,
+ } ;
+ }
+ else {
+ push @params, { 'eval' => ($optional ne '!'),
+ 'text' => $prem,
+ } ;
+ }
+ }
+ elsif( $p =~ /^(\!?)\[([^\]]*)\]/ ) { # Eates an optional parameter
+ my ($optional,$default_val) = ( $1 || '', $2 || '' ) ;
+ my $prem = substr($tex,0,1) ;
+ if ( $prem eq '[' ) {
+ (my $context,$tex) = $self->eat_context( substr($tex,1), '\\]' ) ;
+ push @params, { 'eval' => ($optional ne '!'),
+ 'text' => $context,
+ } ;
+ }
+ else {
+ push @params, { 'eval' => ($optional ne '!'),
+ 'text' => $default_val,
+ } ;
+ }
+ }
+ elsif( $p eq '\\' ) { # Eates a TeX command name
+ if ( $tex =~ /^\\((?:[a-zA-Z]+|.))(.*)$/ ) {
+ $tex = $2 ;
+ push @params, { 'eval' => 1,
+ 'text' => $1,
+ } ;
+ }
+ else {
+ Bib2HTML::General::Error::warm( "expected a TeX command name: ".$tex,
+ $self->{'FILENAME'},
+ $lineno ) ;
+ push @params, { 'eval' => 1,
+ 'text' => '',
+ } ;
+ }
+ }
+ elsif ( $p eq '-' ) { # Eates until the end of the current context
+ (my $context,$tex) = $self->eat_context( $tex, '\\}' ) ;
+ push @params, { 'eval' => 1,
+ 'text' => $context,
+ } ;
+ }
+ else {
+ confess( "unable to recognize the following argument specification: $p" ) ;
+ }
+ }
+ return ($tex,@params) ;
+}
+
+=pod
+
+=item * eat_context()
+
+Eaten the current context.
+Takes 2 args:
+
+=over
+
+=item * text (string)
+
+is the text from which some data must be extracted.
+
+=item * end (string)
+
+is the ending separator
+
+=back
+
+=cut
+sub eat_context($$) : method {
+ my $self = shift ;
+ my $text = $_[0] || '' ;
+ my $enddelim = $_[1] || confess( 'you must supply the closing delimiter' ) ;
+ my $context = '' ;
+ my $contextlevel = 0 ;
+
+ # Search the first separator
+ my ($eaten,$sep,$tex) = $self->eat_to_separator($text,$enddelim) ;
+
+ while ($sep) {
+
+ if ( $sep eq '{' ) { # open a context
+ $contextlevel ++ ;
+ $eaten .= $sep ;
+ }
+ elsif ( $sep eq '}' ) { # close a context
+ if ( $contextlevel <= 0 ) {
+ return ($context.$eaten,$tex) ;
+ }
+ $eaten .= $sep ;
+ $contextlevel -- ;
+ }
+ elsif ( $sep eq '\\' ) {
+ $tex =~ /^([a-zA-Z]+|.)(.*)$/ ;
+ $eaten .= "\\$1";
+ $tex = $2 ;
+ }
+ elsif ( ( $contextlevel <= 0 ) &&
+ ( $sep =~ /$enddelim/ ) ) { # The closing delemiter was found
+ return ($context.$eaten,$tex) ;
+ }
+ else { # Unknow separator, treat as text
+ $eaten .= $sep ;
+ }
+
+ # Translate the text before the separator
+ $context .= $eaten ;
+
+ # Search the next separator
+ ($eaten,$sep,$tex) = $self->eat_to_separator($tex,$enddelim) ;
+ }
+
+ return ($context.$eaten,$tex) ;
+}
+
+#------------------------------------------------------
+#
+# Translation table updates
+#
+#------------------------------------------------------
+
+=pod
+
+=item * start_math_mode()
+
+Starts the mathematical mode.
+Takes 1 arg:
+
+=over
+
+=item * mode (integer)
+
+is the math mode to start (1: inline, 2: multi-line)
+
+=back
+
+=cut
+sub start_math_mode($) {
+ my $self = shift ;
+ if ( $self->is_math_mode() ) {
+ return '' ;
+ }
+ else {
+ $self->{'MATH_MODE'} = ( $_[0] % 3 ) ;
+ my $tag = '' ;
+ if ( $self->{'MATH_MODE'} == 2 ) {
+ $tag .= "<blockquote>" ;
+ }
+ return $tag.$self->{'MATH_MODE_START'} ;
+ }
+}
+
+=pod
+
+=item * stop_math_mode()
+
+Stops the mathematical mode.
+
+=cut
+sub stop_math_mode() {
+ my $self = shift ;
+ if ( $self->is_math_mode() ) {
+ my $tag = $self->{'MATH_MODE_STOP'} ;
+ if ( $self->{'MATH_MODE'} == 2 ) {
+ $tag .= "</blockquote>" ;
+ }
+ $self->{'MATH_MODE'} = 0 ;
+ return $tag ;
+ }
+ else {
+ return '' ;
+ }
+}
+
+=pod
+
+=item * is_math_mode()
+
+Replies if inside a mathematical mode.
+
+=cut
+sub is_math_mode() {
+ my $self = shift ;
+ return ( $self->{'MATH_MODE'} != 0 ) ;
+}
+
+=pod
+
+=item * is_inline_math_mode()
+
+Replies if inside a inlined mathematical mode.
+
+=cut
+sub is_inline_math_mode() {
+ my $self = shift ;
+ return ( $self->{'MATH_MODE'} == 1 ) ;
+}
+
+=pod
+
+=item * is_multiline_math_mode()
+
+Replies if inside a multi-lined mathematical mode.
+
+=cut
+sub is_multiline_math_mode() {
+ my $self = shift ;
+ return ( $self->{'MATH_MODE'} == 2 ) ;
+}
+
+#------------------------------------------------------
+#
+# Information
+#
+#------------------------------------------------------
+
+=pod
+
+=item * display_supported_commands()
+
+Display the list of supported LaTeX commands.
+Takes 1 arg:
+
+=over
+
+=item * perldir (string)
+
+is the path to the directory where the Perl packages
+are stored.
+
+=back
+
+=cut
+sub display_supported_commands($) {
+ my $path = $_[0] || confess( 'you must specify the pm path' ) ;
+ my (@c1,@c2) = ((),()) ;
+ foreach my $cmd ( keys %TEX_HTML_COMMANDS ) {
+ my $prefix = '' ;
+ if ( ( !ishash( $TEX_HTML_COMMANDS{$cmd} ) ) ||
+ ( ! exists $TEX_HTML_COMMANDS{$cmd}{'special'} ) ||
+ ( ! $TEX_HTML_COMMANDS{$cmd}{'special'} ) ) {
+ $prefix = "\\" ;
+ }
+ if ( $cmd =~ /^[a-zA-Z0-9]/ ) {
+ push @c2, $prefix.$cmd ;
+ }
+ else {
+ push @c1, $prefix.$cmd ;
+ }
+ }
+ foreach my $cmd ( keys %MATH_TEX_HTML_COMMANDS ) {
+ if ( ! exists $TEX_HTML_COMMANDS{$cmd} ) {
+ my $prefix = '' ;
+ if ( ( !ishash( $TEX_HTML_COMMANDS{$cmd} ) ) ||
+ ( ! exists $TEX_HTML_COMMANDS{$cmd}{'special'} ) ||
+ ( ! $TEX_HTML_COMMANDS{$cmd}{'special'} ) ) {
+ $prefix = "\\" ;
+ }
+ if ( $cmd =~ /^[a-zA-Z0-9]/ ) {
+ push @c2, $prefix.$cmd ;
+ }
+ else {
+ push @c1, $prefix.$cmd ;
+ }
+ }
+ }
+ foreach my $cmd ( sort @c1 ) {
+ print "$cmd\n" ;
+ }
+ foreach my $cmd ( sort @c2 ) {
+ print "$cmd\n" ;
+ }
+}
+
+#------------------------------------------------------
+#
+# Translation table updates
+#
+#------------------------------------------------------
+
+=pod
+
+=item * addtrans_char()
+
+Static method which permits to add a translation entry
+for a character.
+Takes 2 args:
+
+=over
+
+=item * char (string)
+
+is the character to translate
+
+=item * html (string)
+
+is the HTML translation of the character.
+
+=back
+
+=cut
+sub addtrans_char($$) {
+ confess( 'you must supply the character to translate' ) unless $_[0] ;
+ Bib2HTML::General::Verbose::three( "\tadd the HTML translation for '".$_[0]."'" ) ;
+ $TEX_HTML_CHAR_TRANS{$_[0]} = ( $_[1] || '' ) ;
+}
+
+=pod
+
+=item * gettrans_char()
+
+Static method which replies the translation table from a character to HTML string.
+
+=cut
+sub gettrans_char() {
+ return \%TEX_HTML_CHAR_TRANS ;
+}
+
+=pod
+
+=item * addtrans_cmd_noparam()
+
+Static method which permits to add a translation entry
+for a TeX command. The new TeX command does not have any
+parameter.
+Takes 3 args:
+
+=over
+
+=item * cmd (string)
+
+is the name od the TeX command
+
+=item * html (string)
+
+is the HTML translation of the character.
+
+=item * tex_content (optional boolean)
+
+indicates if the content contains LaTeX code (if true)
+or HTML code (if false - default).
+
+=back
+
+=cut
+sub addtrans_cmd_noparam($$;$) {
+ confess( 'you must supply the character to translate' ) unless $_[0] ;
+ Bib2HTML::General::Verbose::three( "\tadd the TeX translation for {\\".$_[0]."}" ) ;
+ if ( $_[2] ) {
+ $TEX_HTML_COMMANDS{$_[0]} = { 'params' => '',
+ 'latex' => ( $_[1] || '' ),
+ } ;
+ }
+ else {
+ $TEX_HTML_COMMANDS{$_[0]} = ( $_[1] || '' ) ;
+ }
+}
+
+=pod
+
+=item * addtrans_cmd_html()
+
+Static method which permits to add a translation entry
+for a TeX command. The new TeX command has parameters, but
+it can be directly translated as HTML code.
+Takes 4 args:
+
+=over
+
+=item * cmd (string)
+
+is the name od the TeX command
+
+=item * params (string)
+
+is the description of the parameters:
+
+=over
+
+=item {} for a parameter
+
+=item [val] for an optional parameter where val is the default value
+
+=item \ for a TeX command name
+
+=item ! will avoid the LaTeX interpretation of the following sign ({} or [])
+
+=item - for all the text until the end of the current context
+
+=back
+
+=item * html (string)
+
+is the HTML translation of the character. #n means the n-th parameter,
+where n is an integer greater or equal to 1.
+
+=item * tex_content (optional boolean)
+
+indicates if the content contains LaTeX code (if true)
+or HTML code (if false - default).
+
+=back
+
+=cut
+sub addtrans_cmd_html($$$;$) {
+ confess( 'you must supply the TeX command name' ) unless $_[0] ;
+ my $params = $_[1] || confess( 'you must supply the parameter description' ) ;
+ my $html = $_[2] || '' ;
+ if ( ( $params eq '-' ) ||
+ ( $params =~ /(?:(?:\{\})|(?:\[[^\]]*\])|\\)+/ ) ) {
+ Bib2HTML::General::Verbose::three( "\tadd the TeX translation for \\".$_[0].$params ) ;
+ if ( $_[3] ) {
+ %{$TEX_HTML_COMMANDS{$_[0]}} = ( 'params' => $params,
+ 'latex' => $html,
+ ) ;
+ }
+ else {
+ %{$TEX_HTML_COMMANDS{$_[0]}} = ( 'params' => $params,
+ 'html' => $html,
+ ) ;
+ }
+ }
+ else {
+ Bib2HTML::General::Error::syserr( "invalid syntax for the parameters of the ".
+ "TeX command '".$_[0]."': ".$params ) ;
+ }
+}
+
+=pod
+
+=item * addtrans_cmd_func()
+
+Static method which permits to add a translation entry
+for a TeX command. The new TeX command has parameters, but
+a callback function must be called to treat this command.
+Takes 3 args:
+
+=over
+
+=item * cmd (string)
+
+is the name od the TeX command
+
+=item * params (string)
+
+is the description of the parameters:
+
+=over
+
+=item {} for a parameter
+
+=item [val] for an optional parameter where val is the default value
+
+=item \ for a TeX command name
+
+=item ! will avoid the LaTeX interpretation of the following sign ({} or [])
+
+=item - for all the text until the end of the current context
+
+=back
+
+=item * func (string)
+
+is the name of the method to call.
+
+=back
+
+=cut
+sub addtrans_cmd_func($$$) {
+ confess( 'you must supply the TeX command name' ) unless $_[0] ;
+ my $params = $_[1] || confess( 'you must supply the parameter description' ) ;
+ my $func = $_[2] || confess( 'you must supply the callback function' ) ;
+ if ( ( $params eq '-' ) ||
+ ( $params =~ /(?:(?:\{\})|(?:\[[^\]]*\])|\\)+/ ) ) {
+ Bib2HTML::General::Verbose::three( "\tadd the TeX translation for \\".$_[0].$params ) ;
+ %{$TEX_HTML_COMMANDS{$_[0]}} = ( 'params' => $params,
+ 'func' => $func,
+ ) ;
+ }
+ else {
+ Bib2HTML::General::Error::syserr( "invalid syntax for the parameters of the ".
+ "TeX command '".$_[0]."': ".$params ) ;
+ }
+}
+
+=pod
+
+=item * gettrans_cmd()
+
+Replies the translation table from a TeX command to HTML string.
+
+=cut
+sub gettrans_cmd() {
+ return \%TEX_HTML_COMMANDS ;
+}
+
+=pod
+
+=item * __texcommand_map_to()
+
+Makes the specified mapping of a TeX command.
+Takes at least 4 args:
+
+=over
+
+=item * map (hash)
+
+is the mapping associative array
+
+=item * default (string)
+
+is the default value return if the mapping was unavailable
+
+=item * lineno (integer)
+
+=item * params (array)
+
+is the list of parameters
+
+=back
+
+=cut
+sub __texcommand_map_to($$$) {
+ my $self = shift ;
+ my $lineno = $_[2] || 0 ;
+ if ( ( $_[3] ) &&
+ ( $_[3]->{'text'} ) ) {
+ if ( $_[0]->{$_[3]->{'text'}} ) {
+ return "&".$_[0]->{$_[3]->{'text'}}.";" ;
+ }
+ else {
+ # Patch by Norbert Preining added the 2003/03/17
+ Bib2HTML::General::Error::warm( "An accentuation command was found, but the corresponding character '".
+ $_[3]->{'text'}.
+ "' is not supported. Assume '".
+ $_[1].$_[3]->{'text'}."'.",
+ $self->{'FILENAME'}, $lineno ) ;
+ }
+ }
+ else {
+ Bib2HTML::General::Error::warm( "no command name after a slash. Assume '".$_[1].$_[3]->{'text'}."'.",
+ $self->{'FILENAME'}, $lineno ) ;
+ }
+ # Patch by Norbert Preining added the 2003/03/17
+ return "$_[1]$_[3]->{'text'}";
+}
+
+=pod
+
+=item * __texcommand_font_series()
+
+Apply the specified font series (Medium or Bold).
+Takes at least 4 args:
+
+=over
+
+=item * start_balise (hash)
+
+is the HTML balise used to start this style
+
+=item * end_balise (hash)
+
+is the HTML balise used to end this style
+
+=item * fontset (string)
+
+is the name of the font set to manage (eg, SERIES, SHAPES...)
+
+=item * lineno (integer)
+
+=item * params (array)
+
+is the list of parameters
+
+=back
+
+=cut
+sub __texcommand_font_style($$$$;@) {
+ my $self = shift ;
+ my $lineno = $_[2] || 0 ;
+ my ($begin,$end) = ( $_[0] || '', $_[1] || '' ) ;
+ my ($set,$text) = ( $_[2] || '', '' ) ;
+
+ confess( "You must supply a valid fontset name (from ".
+ join( ', ', keys %{$self->{'FONTS'}} ).
+ ")." ) unless ( exists $self->{'FONTS'}{$set} ) ;
+
+ my $last = ( int(@{$self->{'FONTS'}{$set}}) > 0 ) ?
+ $self->{'FONTS'}{$set}->[$#{$self->{'FONTS'}{$set}}] : '' ;
+
+ my $elt = { 'begin' => $begin,
+ 'end' => $end,
+ } ;
+ push @{$self->{'FONTS'}{$set}}, $elt ;
+ push @{$self->{'FONTS'}{'ALLS'}}, $elt ;
+
+ if ( ( ! $last ) ||
+ ( ! ishash( $last ) ) ||
+ ( $last->{'begin'} ne $begin ) ) {
+ $text .= ( ( $last && ( ishash($last) ) ) ? $last->{'end'} : '' ).$begin ;
+ }
+
+ if ( ( $_[4] ) && ( ishash( $_[4] ) ) ) {
+ if ( $_[4]->{'eval'} ) {
+ $text .= $self->translate( $_[4]->{'text'}, undef, $lineno ) ;
+ }
+ else {
+ $text .= $_[4] ;
+ }
+ }
+
+ if ( ( ! $last ) ||
+ ( ! ishash( $last ) ) ||
+ ( $last->{'begin'} ne $begin ) ) {
+ $text .= $end.( ( $last && ( ishash($last) ) ) ? $last->{'begin'} : '' ) ;
+ }
+
+ pop @{$self->{'FONTS'}{'ALLS'}} ;
+ pop @{$self->{'FONTS'}{$set}} ;
+
+ if ( $begin || $end ) {
+ $text =~ s/\Q$begin$end\E//g ;
+ $text =~ s/\Q$end$begin\E//g ;
+ }
+
+ return $text ;
+}
+
+#------------------------------------------------------
+#
+# TeX command callbacks
+#
+#------------------------------------------------------
+
+=pod
+
+=item * texcommand_font_medium()
+
+Treats \textmd or \mdseries
+
+=cut
+sub texcommand_font_medium {
+ my $self = shift ;
+ my $lineno = shift || 0 ;
+ return $self->__texcommand_font_style( '',
+ '',
+ 'SERIES',
+ $lineno, @_ ) ;
+}
+
+=pod
+
+=item * texcommand_font_mathset()
+
+Treats \mathbb
+
+=cut
+sub texcommand_font_mathset {
+ my $self = shift ;
+ my $lineno = shift || 0 ;
+ return $self->__texcommand_font_style( '<i>',
+ '</i>',
+ 'SERIES',
+ $lineno, @_ ) ;
+}
+
+=pod
+
+=item * texcommand_font_bold()
+
+Treats \bf or \textbf
+
+=cut
+sub texcommand_font_bold {
+ my $self = shift ;
+ my $lineno = shift || 0 ;
+ return $self->__texcommand_font_style( '<b>',
+ '</b>',
+ 'SERIES',
+ $lineno, @_ ) ;
+}
+
+=pod
+
+=item * texcommand_font_roman()
+
+Treats \rm or \textrm
+
+=cut
+sub texcommand_font_roman {
+ my $self = shift ;
+ my $lineno = shift || 0 ;
+ return $self->__texcommand_font_style( '',
+ '',
+ 'FAMILIES',
+ $lineno, @_ ) ;
+}
+
+=pod
+
+=item * texcommand_font_serif()
+
+Treats \sf or \textsf
+
+=cut
+sub texcommand_font_serif {
+ my $self = shift ;
+ my $lineno = shift || 0 ;
+ return $self->__texcommand_font_style( '<font face="Sans Serif">',
+ '<!-- /fontSF --></font>',
+ 'FAMILIES',
+ $lineno, @_ ) ;
+}
+
+=pod
+
+=item * texcommand_font_typewriter()
+
+Treats \tt or \texttt
+
+=cut
+sub texcommand_font_typewriter {
+ my $self = shift ;
+ my $lineno = shift || 0 ;
+ return $self->__texcommand_font_style( '<tt>',
+ '</tt>',
+ 'FAMILIES',
+ $lineno, @_ ) ;
+}
+
+=pod
+
+=item * texcommand_font_upright()
+
+Treats \upshape or \textup
+
+=cut
+sub texcommand_font_upright {
+ my $self = shift ;
+ my $lineno = shift || 0 ;
+ return $self->__texcommand_font_style( '',
+ '',
+ 'SHAPES',
+ $lineno, @_ ) ;
+}
+
+=pod
+
+=item * texcommand_font_italic()
+
+Treats \it or \textit
+
+=cut
+sub texcommand_font_italic {
+ my $self = shift ;
+ my $lineno = shift || 0 ;
+ return $self->__texcommand_font_style( '<i>',
+ '</i>',
+ 'SHAPES',
+ $lineno, @_ ) ;
+}
+
+=pod
+
+=item * texcommand_font_slanted()
+
+Treats \sl or \textsl
+
+=cut
+sub texcommand_font_slanted {
+ my $self = shift ;
+ my $lineno = shift || 0 ;
+ return $self->__texcommand_font_style( '<i><tt>',
+ '</tt></i>',
+ 'SHAPES',
+ $lineno, @_ ) ;
+}
+
+=pod
+
+=item * texcommand_font_smallcap()
+
+Treats \sc or \textsc
+
+=cut
+sub texcommand_font_smallcap {
+ my $self = shift ;
+ my $lineno = shift || 0 ;
+ my $text = $self->__texcommand_font_style( '<!-- SMALL CAPS -->',
+ '<!-- /SMALL CAPS -->',
+ 'SHAPES',
+ $lineno, @_ ) ;
+ my $r = '' ;
+ while ( ( $text ) &&
+ ( $text =~ /^(.*?)<!-- SMALL CAPS -->(.*?)<!-- \/SMALL CAPS -->(.*)$/ ) ) {
+ (my $prev, my $sc, $text) = ($1,$2,$3) ;
+ $r .= $prev . html_sc( $sc ) ;
+ }
+ if ( $text ) {
+ $r .= $text ;
+ }
+ return $r ;
+}
+
+=pod
+
+=item * texcommand_font_normal()
+
+Treats \textnormal or \normalfont
+
+=cut
+sub texcommand_font_normal {
+ my $self = shift ;
+ my $lineno = shift || 0 ;
+ my ($begin,$end)=('','');
+ foreach my $envs ( @{$self->{'FONTS'}{'ALLS'}} ) {
+ if ( $envs ) {
+ $begin .= $envs->{'begin'} ;
+ $end = $envs->{'end'} . $end ;
+ }
+ }
+ return $end.($_[0]->{'text'}||'').$begin ;
+}
+
+=pod
+
+=item * texcommand_cedil()
+
+Treats \c{}
+
+=cut
+sub texcommand_cedil {
+ my $self = shift ;
+ my $lineno = shift || 0 ;
+ return $self->__texcommand_map_to( { 'C' => 'Ccedil',
+ 'c' => 'ccedil',
+ 'S' => '#x015e',
+ 's' => '#x015f',
+ 'T' => '#x0162',
+ 't' => '#x0163',
+ },
+ "&cedil;",
+ $lineno, @_ ) ;
+}
+
+=pod
+
+=item * texcommand_ucircle()
+
+Treats \u{}
+
+=cut
+sub texcommand_ucircle { # added by Tobia
+ my $self = shift ;
+ my $lineno = shift || 0 ;
+ return $self->__texcommand_map_to( { 'A' => '#x0102',
+ 'a' => '#x0103',
+ },
+ "&#x0306;",
+ $lineno, @_ ) ;
+}
+
+=pod
+
+=item * texcommand_acute()
+
+Treats \'{}
+
+=cut
+sub texcommand_acute {
+ my $self = shift ;
+ my $lineno = shift || 0 ;
+ return $self->__texcommand_map_to( { 'A' => 'Aacute',
+ 'E' => 'Eacute',
+ 'I' => 'Iacute',
+ 'O' => 'Oacute',
+ 'U' => 'Uacute',
+ 'Y' => 'Yacute',
+ 'a' => 'aacute',
+ 'e' => 'eacute',
+ 'i' => 'iacute',
+ 'o' => 'oacute',
+ 'u' => 'uacute',
+ 'y' => 'yacute',
+ '\\i' => 'iacute',
+ #Patched by Gasper Jaklic <gasper.jaklic@fmf.uni-lj.si>
+ 'C' => '#262',
+ 'c' => '#263',
+ },
+ "&acute;",
+ $lineno, @_ ) ;
+}
+
+=pod
+
+=item * texcommand_grave()
+
+Treats \'{}
+
+=cut
+sub texcommand_grave {
+ my $self = shift ;
+ my $lineno = shift || 0 ;
+ return $self->__texcommand_map_to( { 'A' => 'Agrave',
+ 'E' => 'Egrave',
+ 'I' => 'Igrave',
+ 'O' => 'Ograve',
+ 'U' => 'Ugrave',
+ 'a' => 'agrave',
+ 'e' => 'egrave',
+ 'i' => 'igrave',
+ 'o' => 'ograve',
+ 'u' => 'ugrave',
+ '\\i' => 'igrave',
+ },
+ "&grave;",
+ $lineno, @_ ) ;
+}
+
+=pod
+
+=item * texcommand_tilde()
+
+Treats \~{}
+
+=cut
+sub texcommand_tilde {
+ my $self = shift ;
+ my $lineno = shift || 0 ;
+ return $self->__texcommand_map_to( { 'A' => 'Atilde',
+ 'N' => 'Ntilde',
+ 'O' => 'Otilde',
+ 'a' => 'atilde',
+ 'n' => 'ntilde',
+ 'o' => 'otilde',
+ },
+ "&tilde;",
+ $lineno, @_ ) ;
+}
+
+=pod
+
+=item * texcommand_uml()
+
+Treats \"{}
+
+=cut
+sub texcommand_uml {
+ my $self = shift ;
+ my $lineno = shift || 0 ;
+ return $self->__texcommand_map_to( { 'A' => 'Auml',
+ 'E' => 'Euml',
+ 'I' => 'Iuml',
+ 'O' => 'Ouml',
+ 'U' => 'Uuml',
+ 'Y' => 'Yuml',
+ 'a' => 'auml',
+ 'e' => 'euml',
+ 'i' => 'iuml',
+ 'o' => 'ouml',
+ 'u' => 'uuml',
+ 'y' => 'yuml',
+ '\\i' => 'iuml',
+ },
+ "&uml;",
+ $lineno, @_ ) ;
+}
+
+=pod
+
+=item * texcommand_circ()
+
+Treats \^{}
+
+=cut
+sub texcommand_circ {
+ my $self = shift ;
+ my $lineno = shift || 0 ;
+ return $self->__texcommand_map_to( { 'A' => 'Acirc',
+ 'E' => 'Ecirc',
+ 'I' => 'Icirc',
+ 'O' => 'Ocirc',
+ 'U' => 'Ucirc',
+ 'a' => 'acirc',
+ 'e' => 'ecirc',
+ 'i' => 'icirc',
+ 'o' => 'ocirc',
+ 'u' => 'ucirc',
+ '\\i' => 'icirc',
+ },
+ "&circ;",
+ $lineno, @_ ) ;
+}
+
+=pod
+
+=item * texcommand_caron()
+
+Treats \v{}
+
+=cut
+sub texcommand_caron {
+ my $self = shift ;
+ my $lineno = shift || 0 ;
+ return $self->__texcommand_map_to( { 'S' => 'Scaron',
+ 's' => 'scaron',
+ #Patched by Luca Paolini <paolini@di.unito.it>
+ #Patched by Gasper Jaklic <gasper.jaklic@fmf.uni-lj.si>
+ 'C' => '#268',
+ 'c' => '#269',
+ 'D' => '#270',
+ 'd' => '#271',
+ 'E' => '#282',
+ 'e' => '#283',
+ 'L' => '#317',
+ 'l' => '#318',
+ 'N' => '#327',
+ 'n' => '#328',
+ 'R' => '#344',
+ 'r' => '#345',
+ 'T' => '#356',
+ 't' => '#357',
+ 'Z' => '#381',
+ 'z' => '#382',
+ },
+ "",
+ $lineno, @_ ) ;
+}
+
+=pod
+
+=item * texcommand_bar()
+
+Treats \={}
+
+=cut
+sub texcommand_bar {
+ my $self = shift ;
+ my $lineno = shift || 0 ;
+ return "&macr;" unless $_[0] ;
+ return $self->__texcommand_map_to( { },
+ "&macr;",
+ $lineno, @_ ) ;
+}
+
+=pod
+
+=item * texcommand_def()
+
+Treats \def and \gdef
+
+=cut
+sub texcommand_def {
+ my $self = shift ;
+ my $lineno = shift || 0 ;
+ Bib2HTML::General::Error::warm( "command name expected after a \\def or a \\gdef",
+ $self->{'FILENAME'},
+ $lineno )
+ unless $_[0]->{'text'} ;
+ # The command definition is never evaluated
+ my $trans_txt = $_[1]->{'text'} ;
+ addtrans_cmd_noparam( $_[0]->{'text'}, $trans_txt, 1 ) ;
+ return '' ;
+}
+
+=pod
+
+=item * texcommand_edef()
+
+Treats \edef and \xdef
+
+=cut
+sub texcommand_edef {
+ my $self = shift ;
+ my $lineno = shift || 0 ;
+ Bib2HTML::General::Error::warm( "command name expected after a \\edef or a \\xdef",
+ $self->{'FILENAME'},
+ $lineno )
+ unless $_[0]->{'text'} ;
+ # The command definition is always evaluated
+ my $trans_txt = $self->translate( $_[1]->{'text'} || '', undef, $lineno ) ;
+ addtrans_cmd_noparam( $_[0]->{'text'}, $trans_txt, 0 ) ;
+ return '' ;
+}
+
+=pod
+
+=item * texcommand_newcommand()
+
+Treats \newcommand and \renewcommand
+
+=cut
+sub texcommand_newcommand {
+ my $self = shift ;
+ my $lineno = shift || 0 ;
+ # Check for command name
+ my $name = $_[0]->{'text'} || '' ;
+ $name =~ s/^\\// ;
+ if ( ! $name ) {
+ Bib2HTML::General::Error::warm( "command name expected after a \\def",
+ $self->{'FILENAME'},
+ $lineno ) ;
+ return '' ;
+ }
+ # Builds the parameter definition
+ my $params = "" ;
+ if ( ( $_[1]->{'text'} ) && ( $_[1]->{'text'} > 0 ) ) {
+ my $count = $_[1]->{'text'} ;
+ if ( $_[2]->{'text'} ) {
+ $count -- ;
+ $params .= '['.$_[2]->{'text'}.']' ;
+ }
+ while ( $count > 0 ) {
+ $count -- ;
+ $params .= '{}' ;
+ }
+ }
+
+ # The command definition is never evaluated
+ my $trans = $_[3]->{'text'} || '' ;
+
+ # Adds the command definition
+ if ( $params ) {
+ addtrans_cmd_html( $name, $params, $trans, 1 ) ;
+ }
+ else {
+ addtrans_cmd_noparam( $name, $trans, 1 ) ;
+ }
+ return '' ;
+}
+
+=pod
+
+=item * texcommand_ensuremath()
+
+Treats \ensuremath
+
+=cut
+sub texcommand_ensuremath {
+ my $self = shift ;
+ my $lineno = shift || 0 ;
+ my $trans = '' ;
+ my $math = $self->is_math_mode() ;
+
+ $trans = $self->start_math_mode(1) unless ( $math ) ;
+
+ if ( $_[0]->{'eval'} ) {
+ $trans .= $self->translate( $_[0]->{'text'} || '', undef, $lineno ) ;
+ }
+ else {
+ $trans .= $_[0]->{'text'} || '' ;
+ }
+
+ $trans .= $self->stop_math_mode() unless ( $math ) ;
+
+ return $trans ;
+}
+
+=pod
+
+=item * texcommand_ensuretext()
+
+Treats \text
+
+=cut
+sub texcommand_ensuretext {
+ my $self = shift ;
+ my $lineno = shift || 0 ;
+ my $trans = '' ;
+ my $math ;
+ if ( $self->is_inline_math_mode() ) {
+ $math = 1 ;
+ }
+ elsif ( $self->is_multiline_math_mode() ) {
+ $math = 2 ;
+ }
+ else {
+ $math = 0 ;
+ }
+
+ $trans = $self->stop_math_mode() if ( $math ) ;
+
+ if ( $_[0]->{'eval'} ) {
+ $trans .= $self->translate( $_[0]->{'text'} || '', undef, $lineno ) ;
+ }
+ else {
+ $trans .= $_[0]->{'text'} || '' ;
+ }
+
+ $trans .= $self->start_math_mode( $math ) if ( $math ) ;
+
+ return $trans ;
+}
+
+=pod
+
+=item * texcommand_cite()
+
+Treats \cite
+
+=cut
+sub texcommand_cite {
+ my $self = shift ;
+ my $lineno = shift || 0 ;
+ my $key = $_[1]->{'text'} || '' ;
+ my $label = $_[0]->{'text'} || '' ;
+ my $cite = $label || '?' ;
+ if ( ($key) &&
+ ( ishash($self->{'DATABASE'}) ) &&
+ ( ! isemptyhash( $self->{'DATABASE'} ) ) &&
+ ( exists $self->{'DATABASE'}{$key} ) ) {
+ $cite = "<BIB2HTML action=CITE key=\"$key\"" ;
+ if ( $label ) {
+ my $bibtex = new Bib2HTML::Translator::BibTeXEntry() ;
+ $bibtex->save_citation_label( $key, $label ) ;
+ $cite .= " label=\"".addslashes( $label )."\"" ;
+ }
+ $cite .= ">". ( $label || '?' ) . "</BIB2HTML>" ;
+ }
+ return "[".$cite."]" ;
+}
+
+=pod
+
+=item * texcommand_beginenv()
+
+Treats \begin
+
+=cut
+sub texcommand_beginenv {
+ my $self = shift ;
+ my $lineno = shift || 0 ;
+ my $env = $_[0]->{'text'} || '' ;
+
+ if ( ! $env ) {
+ Bib2HTML::General::Error::warm( "environment name not found for a command \\begin",
+ $self->{'FILENAME'},
+ $lineno ) ;
+ return '' ;
+ }
+
+ # register the environment opening here to
+ # prevent error during the closing
+ push @{$self->{'ENVIRONMENTS'}}, $env ;
+
+ return "\\start$env" ;
+}
+
+=pod
+
+=item * texcommand_endenv()
+
+Treats \end
+
+=cut
+sub texcommand_endenv {
+ my $self = shift ;
+ my $lineno = shift || 0 ;
+ my $env = $_[0]->{'text'} || '' ;
+
+ if ( ! $env ) {
+ Bib2HTML::General::Error::warm( "environment name not found for a command \\end",
+ $self->{'FILENAME'},
+ $lineno ) ;
+ return '' ;
+ }
+
+ # Pop the environment contex
+ # and warm if the closed environment
+ # does not match the opened
+ if ( isemptyarray($self->{'ENVIRONMENTS'}) ) {
+ Bib2HTML::General::Error::warm( "found \\end{$env} without \\begin{$env}",
+ $self->{'FILENAME'},
+ $lineno ) ;
+ return '' ;
+ }
+
+ my $opened = $self->{'ENVIRONMENTS'}->[$#{$self->{'ENVIRONMENTS'}}] ;
+ if ( ( !$opened ) ||
+ ( $opened ne $env ) ) {
+ Bib2HTML::General::Error::warm( "found \\end{$env} instead of \\end{$opened}",
+ $self->{'FILENAME'},
+ $lineno ) ;
+ return '' ;
+ }
+
+ pop @{$self->{'ENVIRONMENTS'}} ;
+
+ return "\\end$env" ;
+}
+
+1;
+__END__
+
+=back
+
+=head1 COPYRIGHT
+
+(c) Copyright 1998-09 Stéphane Galland E<lt>galland@arakhne.orgE<gt>, under GPL.
+
+=head1 AUTHORS
+
+=over
+
+=item *
+
+Conceived and initially developed by Stéphane Galland E<lt>galland@arakhne.orgE<gt>.
+Some TeX commands are added by Dimitris Michail E<lt>michail@mpi-sb.mpg.deE<gt>
+and Tobias Loew E<lt>loew@mathematik.tu-darmstadt.deE<gt>
+
+=back
+
+=head1 SEE ALSO
+
+bib2html.pl
diff --git a/biblio/bibtex/utils/bib2ml/src/bib2html.php b/biblio/bibtex/utils/bib2ml/src/bib2html.php
new file mode 100755
index 0000000000..841a79fda9
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/bib2html.php
@@ -0,0 +1,41 @@
+<?php
+
+/* bib2html script to generate an HTML document for BibTeX database
+ * Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; see the file COPYING. If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+$BIBFILE = '/path/to/my/bibtex/file';
+
+$ARGUMENTS = array(
+ 'bib2html',
+ '--stdout',
+ '-q',
+ "$BIBFILE",
+ );
+
+$cmd = "";
+foreach($ARGUMENTS as $arg) {
+ if ($cmd) {
+ $cmd .= '.';
+ }
+ $cmd .= escapeshellarg("$arg");
+}
+
+exec("$cmd");
+
+?>
diff --git a/biblio/bibtex/utils/bib2ml/src/bib2html.pl b/biblio/bibtex/utils/bib2ml/src/bib2html.pl
new file mode 100755
index 0000000000..4d867a7654
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/bib2html.pl
@@ -0,0 +1,55 @@
+#!/usr/bin/perl -w
+
+# bib2html script to generate an HTML document for BibTeX database
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+use strict ;
+use File::Basename ;
+use File::Spec ;
+
+#------------------------------------------------------
+#
+# Initialization code
+#
+#------------------------------------------------------
+my $PERLSCRIPTDIR ;
+my $PERLSCRIPTNAME ;
+BEGIN{
+ # Where is this script?
+ $PERLSCRIPTDIR = "$0";
+ my $scriptdir = dirname( $PERLSCRIPTDIR );
+ while ( -e $PERLSCRIPTDIR && -l $PERLSCRIPTDIR ) {
+ $PERLSCRIPTDIR = readlink($PERLSCRIPTDIR);
+ if ( substr( $PERLSCRIPTDIR, 0, 1 ) eq '.' ) {
+ $PERLSCRIPTDIR = File::Spec->catfile( $scriptdir, "$PERLSCRIPTDIR" ) ;
+ }
+ $scriptdir = dirname( $PERLSCRIPTDIR );
+ }
+ $PERLSCRIPTNAME = basename( $PERLSCRIPTDIR ) ;
+ $PERLSCRIPTDIR = dirname( $PERLSCRIPTDIR ) ;
+ $PERLSCRIPTDIR = File::Spec->rel2abs( "$PERLSCRIPTDIR" );
+ # Push the path where the script is to retreive the arakhne.org packages
+ push(@INC,"$PERLSCRIPTDIR");
+
+}
+
+use Bib2HTML::Main;
+
+launchBib2HTML("$PERLSCRIPTDIR","$PERLSCRIPTNAME");
+
+__END__
diff --git a/biblio/bibtex/utils/bib2ml/src/bib2sql.pl b/biblio/bibtex/utils/bib2ml/src/bib2sql.pl
new file mode 100755
index 0000000000..d358d7e878
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/bib2sql.pl
@@ -0,0 +1,57 @@
+#!/usr/bin/perl -w
+
+# bib2sql script to generate a SQL document for BibTeX database
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+use strict ;
+use File::Basename ;
+use File::Spec ;
+
+#------------------------------------------------------
+#
+# Initialization code
+#
+#------------------------------------------------------
+my $PERLSCRIPTDIR ;
+my $PERLSCRIPTNAME ;
+BEGIN{
+ # Where is this script?
+ $PERLSCRIPTDIR = "$0";
+ my $scriptdir = dirname( $PERLSCRIPTDIR );
+ while ( -e $PERLSCRIPTDIR && -l $PERLSCRIPTDIR ) {
+ $PERLSCRIPTDIR = readlink($PERLSCRIPTDIR);
+ if ( substr( $PERLSCRIPTDIR, 0, 1 ) eq '.' ) {
+ $PERLSCRIPTDIR = File::Spec->catfile( $scriptdir, "$PERLSCRIPTDIR" ) ;
+ }
+ $scriptdir = dirname( $PERLSCRIPTDIR );
+ }
+ $PERLSCRIPTNAME = basename( $PERLSCRIPTDIR ) ;
+ $PERLSCRIPTDIR = dirname( $PERLSCRIPTDIR ) ;
+ $PERLSCRIPTDIR = File::Spec->rel2abs( "$PERLSCRIPTDIR" );
+ # Push the path where the script is to retreive the arakhne.org packages
+ push(@INC,"$PERLSCRIPTDIR");
+
+}
+
+use Bib2HTML::Main;
+
+push @ARGV, "-g", "SQL";
+
+launchBib2HTML("$PERLSCRIPTDIR","$PERLSCRIPTNAME");
+
+__END__
diff --git a/biblio/bibtex/utils/bib2ml/src/bib2xml.pl b/biblio/bibtex/utils/bib2ml/src/bib2xml.pl
new file mode 100755
index 0000000000..c37b41a83a
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/src/bib2xml.pl
@@ -0,0 +1,57 @@
+#!/usr/bin/perl -w
+
+# bib2xml script to generate a XML document for BibTeX database
+# Copyright (C) 1998-09 Stephane Galland <galland@arakhne.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+use strict ;
+use File::Basename ;
+use File::Spec ;
+
+#------------------------------------------------------
+#
+# Initialization code
+#
+#------------------------------------------------------
+my $PERLSCRIPTDIR ;
+my $PERLSCRIPTNAME ;
+BEGIN{
+ # Where is this script?
+ $PERLSCRIPTDIR = "$0";
+ my $scriptdir = dirname( $PERLSCRIPTDIR );
+ while ( -e $PERLSCRIPTDIR && -l $PERLSCRIPTDIR ) {
+ $PERLSCRIPTDIR = readlink($PERLSCRIPTDIR);
+ if ( substr( $PERLSCRIPTDIR, 0, 1 ) eq '.' ) {
+ $PERLSCRIPTDIR = File::Spec->catfile( $scriptdir, "$PERLSCRIPTDIR" ) ;
+ }
+ $scriptdir = dirname( $PERLSCRIPTDIR );
+ }
+ $PERLSCRIPTNAME = basename( $PERLSCRIPTDIR ) ;
+ $PERLSCRIPTDIR = dirname( $PERLSCRIPTDIR ) ;
+ $PERLSCRIPTDIR = File::Spec->rel2abs( "$PERLSCRIPTDIR" );
+ # Push the path where the script is to retreive the arakhne.org packages
+ push(@INC,"$PERLSCRIPTDIR");
+
+}
+
+use Bib2HTML::Main;
+
+push @ARGV, "-g", "XML";
+
+launchBib2HTML("$PERLSCRIPTDIR","$PERLSCRIPTNAME");
+
+__END__
diff --git a/biblio/bibtex/utils/bib2ml/test.bib b/biblio/bibtex/utils/bib2ml/test.bib
new file mode 100644
index 0000000000..2ecb457a85
--- /dev/null
+++ b/biblio/bibtex/utils/bib2ml/test.bib
@@ -0,0 +1,5 @@
+@ARTICLE{ test
+ author = { Galland, Stéphane },
+ title = {My Test},
+ year = 2009,
+}
diff --git a/biblio/bibtex/utils/bib2xhtml/COPYING b/biblio/bibtex/utils/bib2xhtml/COPYING
new file mode 100644
index 0000000000..e77696ae8d
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/COPYING
@@ -0,0 +1,339 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+ 675 Mass Ave, Cambridge, MA 02139, USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) 19yy <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) 19yy name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Library General
+Public License instead of this License.
diff --git a/biblio/bibtex/utils/bib2xhtml/ChangeLog b/biblio/bibtex/utils/bib2xhtml/ChangeLog
new file mode 100644
index 0000000000..d83859f491
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/ChangeLog
@@ -0,0 +1,892 @@
+Sun Dec 12 20:16:58 2010
+
+ * Version 2.35 released.
+
+ * New -n option will highlight the specified author name.
+ (Contributed by Todd Gamblin.)
+
+ * Chronological ordering now takes also into account month and day.
+ (Contributed by Todd Gamblin.)
+
+ * Correct handling of nested LaTeX braces.
+ (Suggested by Todd Gamblin.)
+
+ * Add support for the \href appearing in bibliography entries.
+ (Contributed by Frank Loeffler.)
+
+ * Fix problem where when a list of citations is given, and a
+ bibtex macro file is specified, the macro file will not be
+ applied. (Contributed by Rogan Carr)
+
+ * The project's home page supports the interactive choice
+ of formatting examples.
+
+Thu Feb 04 16:22:07 2010
+
+ * Version 2.31 released.
+
+ * new option "paragraph" now produces paragraphs (no bullets)
+
+ * Use crlf IO open option in order to avoid problems under Windows
+ with Cygwin.
+
+Thu Jul 02 16:27:03 GTB Daylight Time 2009
+
+ * Version 2.30 released.
+
+ * Correct operation when the PDF::API2 module is not available.
+
+ * Dropped the deprecated compact dl attribute. The appearance of
+ the list can be controlled through the bib2xhtml CSS style.
+ (Pointed by Mark Jelasity.)
+
+ * Correct handling of cross references containing tildes.
+ (Pointed by Ken Pierce.)
+
+ * Escape XML-special characters appearing in URLs and DOIs.
+ (Pointed by Mark Jelasity.)
+ The last two changes make the generated documents pass XHTML
+ validators.
+
+Thu Jun 14 17:59:59 2007
+
+ * Version 2.26 released.
+
+ * New -e option for specifying how extended file information is
+ displayed. This can be used for including PDF file icons.
+
+ * Support for counting the pages of PDF documents (requires
+ PDF::API2).
+
+ * Document the -D option for specifying file path to URL mappings.
+
+Mon May 29 16:57:06 2006
+
+ * Version 2.23 released.
+
+ * Add support for some missing Czech characters (Vasek Smidl).
+
+ * Correct the handling of the degree symbol and handle \dots
+ (Bruno Salvy)
+
+ * Prevent tildes in URLs from being converted into spaces.
+
+Sun Sep 04 17:27:13 2005
+
+ * Version 2.20 released.
+
+ * The lists generated now contain CSS hooks (class bib2xhtml).
+ The list items are not explicitly separated with <p />;
+ if you want that behavior, simply add a style entry like
+ the following
+ <style type="text/css">
+ dl.bib2xhtml dd { padding-bottom: 1em }
+ </style>
+ <style type="text/css">
+ ul.bib2xhtml li { padding-bottom: 1em }
+ </style>
+ in the page's header. (suggested by Mark Jelasity)
+
+ * Correct the handling of circumflex escapes (fix by Mark Jelasity)
+
+ * Stray & symbols (e.g. in URLs) are converted into &amp;
+
+Wed Jul 13 00:06:55 2005
+
+ * Version 2.18 released.
+
+ * New -k option to display in the generated file the
+ original bibtex key together with the label.
+
+ * Correctly terminate <dd> tag in the numbered styles.
+
+ * Fix duplicate periods appearing in the XHTML output.
+
+ * Correct the creation of the compact attribute in <dl> tags.
+
+ * Support DOI fields lacking a doi or http prefix.
+
+ * Added support for the \url{} LaTeX command. It is converted
+ into a hypertext link. (Contributed by Mark Jelasity.)
+
+Fri Jul 02 01:17:24 2004
+
+ * Version 2.12 released.
+
+ * Added support for a DOI (digital object identifier) bibliography
+ field in the bibliography entries. The DOI will appear in the
+ XHTML bibliograpy in its human readable form, hyperlinked through
+ dx.doi.org.
+
+Sat Jun 06 23:09:04 2004
+
+ * Version 2.11 released.
+
+ * Remove output duplication caused by unflushed buffers after a fork.
+ Many thanks to Mark Jelasity for drawing my attention to this
+ problem, and testing the solution.
+
+ * New -u option to convert LaTeX special characters into the
+ corresponding Unicode characters, and output valid XML coded
+ in UTF-8.
+ Note with this option documents must specify
+ <?xml version="1.0" encoding="utf-8"?>
+ at their top.
+ HTML documents should better also specify
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
+ and/or arrange with their web server to indicate the UTF-8 encoding
+ as part of the HTTP header.
+ The documents produced by this option may be easier to parse and
+ validate with some XML parsers.
+
+ * Removed the deprecated -3 option (output HTML-3 character entities).
+ Many HTML entities are now encoded by their symbolic name rather
+ than numerically.
+
+ * Added http-equiv and Generator tags
+
+Wed Apr 07 17:03:43 2004
+
+ * Version 2.6 released.
+
+ * Improved documentaion includes examples.
+
+ * Clarified the sorting options in the code and the
+ manual page.
+
+Sun Apr 04 17:30:17 2004
+
+ * Version 2.4 released.
+
+ * Prevent Win32 filehandle resource leakage introduced
+ in version 2.3. This prevented the final rename operation.
+
+Sat Apr 03 12:04:08 2004
+
+ * Version 2.3 released.
+
+ * Changes by Panos Louridas <louridas@aueb.gr>
+ to allow the specification of the citations
+ in-line in the HTML file.
+
+Mon Mar 29 15:08:52 2004 Diomidis Spinellis <dds@aueb.gr>
+
+ * Version 2.2 released.
+
+ * Change project name from bib2html into bib2xhtml.
+
+Mon Jan 19 10:43:44 2004 Diomidis Spinellis <dds@aueb.gr>
+
+ * Version 2.1 released.
+
+ * bib2html: Corrected the handling of the -b option.
+
+Wed Jan 14 21:46:17 2004 Diomidis Spinellis <dds@aueb.gr>
+
+ * Version 2.1 released.
+
+ * Makefile: adjust for new public distribution
+
+ * gen-bst: Create the named reversedate (nr) style by default
+
+ * bib2html: Correct the usage information.
+
+ * bib2html.man: Document a number of missing options.
+ Add HISTORY section.
+ Update for public release of version 2.1
+
+Fri Nov 21 23:38:06 2003 Diomidis Spinellis <dds@aueb.gr>
+
+ * html-btxbst.doc: Convert tags and their syntax to make them
+ compatible with XHTML 1.0
+
+ * bib2html: Convert HTML output and post processing code to make it
+ compatible with XHTML 1.0
+
+Tue Apr 30 10:17:36 2002 Diomidis Spinellis <dds@aueb.gr>
+
+ * bib2html: Add -m option for specifying an additional macro file
+ Add unsortlist format for creating non-sorted empty lists.
+
+Fri Apr 24 22:27:56 1998 David Hull <hull@cs.uiuc.edu>
+
+ * Version 1.33 released.
+
+ * README: Update THANKS.
+
+ * bib2html: In plain style, combine <A NAME="..."></A> with following
+ <A HREF="mailto:..."> which may exist because of mailto field
+ in bibliography file.
+
+ * html-btxbst.doc: Add support for mailto field (thanks to Eric Vinck).
+
+Wed Apr 22 21:10:57 1998 David Hull <hull@cs.uiuc.edu>
+
+ * bib2html: Add -b <bibtex-options> to pass options through bib2html to
+ bibtex.
+ Yet another try at forking bibtex that works on all systems.
+ Fix pattern for \textasciitilde.
+
+Mon Mar 16 18:22:20 1998 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * Version 1.32 released.
+
+ * README: Updated thanks.
+
+ * html-btxbst.doc:
+ Fix newlines around postscript, pdf, dvi, and abstract fields
+ (an extra newline was being output).
+
+ * gen-bst: Fix declaration for cpp (prototype needed to be repeated).
+
+ * bib2html: Tmp file filename fix for VMS from Martin P. J. Zinser.
+
+Thu Feb 26 15:39:11 1998 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * Version 1.31 released.
+
+ * bib2html: Fixed some "use of uninitialized value" warnings, thanks to
+ Martin P.J. Zinser.
+
+ * bib2html: Fix a "use of unitialized value" bug.
+ Use unicode characters for m-dash and n-dash instead of &mdash; and
+ &ndash;, because they seem to be supported by more browsers.
+
+Wed Feb 11 19:22:30 1998 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * bibsearch: Perl 5.004 apparently requires that -T switch be first.
+
+Wed Jan 21 21:08:52 1998 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * bib2html:
+ Allow user-specified BibTeX style (.bst) file. This required
+ allowing the .bst file to specify what label type to use with it.
+
+ * html-btxbst.doc: Add label-style definitions to begin.bib.
+
+Thu Jan 8 19:45:43 1998 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * Version 1.30 released.
+
+ * bib2html:
+ Fix link problem for postscript (and other) files when URL is
+ given (thanks to Aki Vehtari).
+ Change pattern for ^ and _ expansion.
+
+ * README: Update bibtex mode information (thanks to Aki Vehtari).
+
+Tue Oct 14 16:34:56 1997 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * Version 1.29 released.
+
+ * bib2html: Add -D option to define URL to directory mappings.
+
+ * gen-bst: Fix REVERSEBYDATE -> REVERSEDATE.
+
+Fri Jun 27 20:19:53 1997 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * bib2html: Translate \textasciitilde.
+ Better search pattern for fixing <A NAME=""></A>.
+
+Thu Jun 5 17:06:19 1997 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * Version 1.28 released.
+
+ * README: Update thanks.
+
+ * html-btxbst.doc:
+ Use organization field for Authors: comment if entry has neither
+ author or editor field.
+
+ * bibsearch: Fix bug: entry was not being skipped correctly if it
+ didn't have an Authors: comment.
+
+Fri Apr 4 20:13:31 1997 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * Version 1.27 released.
+
+ * gen-bst: Convert gen-bst from a shell script that calls CPP to a Perl
+ script that implements "just enough" CPP to do the job.
+
+ * README: Update Thanks section.
+
+ * html-btxbst.doc: Change "et al." to "et~al." in format.lab.names.
+
+ * html-btxbst.doc: Simplify the CPP statements a little so that my fake
+ Perl CPP interpreter can handle them.
+
+ * bib2html: Get rid of fork and open of /dev/null so that bib2html will
+ run on non-UNIX platforms.
+
+Fri Mar 14 15:31:31 1997 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * bibsearch: Make compatible with perl 4 again.
+
+Tue Mar 4 21:56:50 1997 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * Version 1.26 released.
+
+Tue Feb 18 18:46:30 1997 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * bib2html:
+ Fix: open /dev/null for OHTMLFILE if no old HTML file exists.
+ Get mode differently.
+
+Tue Feb 11 15:30:35 1997 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * bib2html: Fix "unitialized value" warning with pageCount.
+
+Fri Feb 7 21:05:03 1997 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * Version 1.25 released.
+
+ * bib2html: Add -w flag to perl.
+
+ * README: Warn about change to bibsearch.
+
+Fri Feb 7 20:42:03 1997 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * bibsearch:
+ No longer do path translation on database ourselves, but rely
+ on server to do it in PATH_TRANSLATED environment variable. This
+ increases the security of bibsearch (or at least moves the problem
+ into the http server instead of in bibsearch).
+ Code cleanup so that "-w" doesn't cause complaints.
+
+Fri Jan 31 21:51:29 1997 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * bibsearch:
+ More informative error message when unable to open database.
+ Default values for $open_list and $close_list.
+ Correct error in determining list type (was giving up too
+ soon in looking for beginning of list).
+
+Fri Jan 24 17:46:11 1997 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * bib2html: Add '\ ' to ' ' translation (was getting translated to '').
+
+ * html-btxbst.doc:
+ Fix str.to.int. The logic was completely wrong. What could
+ I have been thinking of?
+
+ * bib2html:
+ In a regular expression, "." doen't match newline, and so some
+ patterns weren't matching that should. I replaced the "." with
+ [^\001]. An alternative would have been to add the /s option,
+ but that would have only worked under Perl 5.
+
+Wed Jan 22 19:29:33 1997 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * html-btxbst.doc:
+ Add str.to.int function, to convert string to integer.
+ Add REVERSEDATE support, to sort into reverse chronological order.
+ Add SORTBYYEAR support, to sort first by year and then by author.
+
+ * bib2html.man: Describe new -c and -r options.
+
+ * README: Describe how to generate .bst files for -c and -r options.
+
+ * bib2html: It's the -c option, not the -y option.
+
+ * gen-bst: Add support for -r and -c options.
+
+ * bib2html: Add new -c and -r options.
+
+ * gen-bst: Initial revision
+
+ * bib2html:
+ Correct patterns for accented characters. They were sometimes
+ incorrectly swallowing the following space.
+
+Thu Jan 9 16:15:48 1997 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ Version 1.24 released.
+
+ * bib2html:
+ Remove blank line in comment at beginning of bibliography (introduced
+ yesterday) that confused bibsearch.
+
+Wed Jan 8 17:12:37 1997 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ Version 1.23 released.
+
+ * bib2html:
+ Output command line used to generate bibliography as comment in
+ HTML file.
+ Fix a problem with the pattern that was used to ensure that the
+ contents of the A NAME tag in the empty style weren't empty.
+ Be more careful about &emdash; and &endash;.
+
+Tue Dec 17 15:57:05 1996 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * README: *** empty log message ***
+
+ * bib2html:
+ Move "require 'ctime.pl'" to the top of the file. It was causing
+ an error in perl 4 where it was.
+
+Tue Nov 26 15:40:03 1996 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * Version 1.22 released.
+
+ * bib2html: Fix \aa -> &aring.
+ Start up perl explicitly if $running_under_some_shell.
+
+Thu Sep 26 22:47:10 1996 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * bib2html: Add count of number of references to timestamp.
+
+Wed Aug 7 14:42:33 1996 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * bib2html: Added \circ to degree symbol translation for math mode.
+
+Tue Jul 30 21:04:15 1996 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * bibsearch: Improve documentation.
+
+Tue Jul 30 20:30:36 1996 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * Version 1.20 released.
+
+ * bib2html: Handle LaTeX inline math \( ... \).
+
+Tue Jul 30 19:46:46 1996 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * bib2html:
+ Only do superscript and subscript processing in inline math mode.
+ Make -w be quiet about identifier used only once warnings.
+ Fix syntax error in \, pattern.
+
+Tue Jul 30 19:13:56 1996 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * bib2html.man: Say how to produce ~'s in bibliography.
+
+ * bib2html: Do proper matching on curly braces. This involved changing
+ all of the patterns that matched on any curly braces.
+ Add (null) translations for a hacek, macron, and dot accents.
+ Be more careful on \par translation.
+ Add crude superscript and subscript support. Doesn't check to
+ make sure it's inside math mode.
+ More translations: \, \ldots etc.
+
+Mon Jul 8 20:27:41 1996 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * Version 1.19 released.
+
+ * bibsearch: Fix bugs in iso8859-1 mapping to plain ASCII.
+
+Fri Jul 5 20:34:00 1996 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * Version 1.18 released.
+
+ * README: Update installation instructions.
+
+ * bib2html: Fix handling of \i, the dotless i, in accents.
+
+ * bib2html: Be more careful when translating accent commands to not
+ generate invalid ISO8859-1 HTML character entities.
+ Translate \l to l and \L to L.
+
+ * bibsearch: Update example of form to use to call bibsearch.
+ Add mapping for ISO characters to map them to ASCII.
+ Read database a line at a time instead of a paragraph at a
+ time so that we can't miss the beginning of a bibliography
+ when there is more than one bibliography in a database.
+ Print "no matches found" message when no matches are found.
+
+Wed Jul 3 14:49:30 1996 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * Version 1.17 released.
+
+ * bib2html: BibTeX was wrapping the postscript, pdf, and dvi comments.
+ Modify the grep patterns to account for it.
+
+Mon Jul 1 19:15:10 1996 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * Version 1.16 released.
+
+ * README: Update thanks.
+
+ * html-btxbst.doc:
+ Also add links for url entries in book-like titles (format.btitle).
+
+ * bib2html: Suppress extra white space after TeX macros.
+
+Mon Jun 24 15:04:40 1996 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * Version 1.15 released.
+
+ * bib2html: Fix translation of \'{\i} and \ss.
+
+Fri Jun 7 15:49:51 1996 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * Version 1.14 released.
+
+ * bib2html: Fix error in circumflex grep pattern.
+
+Thu Apr 18 02:48:52 1996 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * Version 1.13 released.
+
+ * bib2html: More changes for Perl 5.
+
+Wed Apr 17 17:56:42 1996 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * bibsearch, bib2html: Small cleanups to make perl -w happy.
+
+Mon Apr 15 12:16:43 1996 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * Version 1.12 released.
+
+Wed Apr 10 17:42:22 1996 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * html-btxbst.doc:
+ In entries that have no author field, emit an HTML comment with the
+ editors instead.
+
+ * bibsearch:
+ Fix: If author search was requested, and bibliography entry had no
+ Authors: comment, it matched. Now it doesn't match.
+
+Mon Apr 8 21:37:31 1996 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * bibsearch: Handle more than one bibliography in a HTML file.
+ Fix error in determining list type.
+
+ * bibsearch:
+ Fix: make type of generated bibliography list match the type of
+ the bibliography list in the original document.
+
+ * html-btxbst.doc:
+ Eliminate useless comma in label in named style with no year specified.
+
+ * bib2html: Attempt to eliminate extra periods at ends of blocks.
+
+Fri Apr 5 22:03:03 1996 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * Version 1.11 released.
+
+ * README: *** empty log message ***
+
+ * bib2html: Be more careful about removing redundancy in crossrefs.
+
+ * bib2html:
+ Only go to end of line when getting text to put inside A NAME tag.
+ Remove \rm and \textrm commands (there's no easy way to handle them).
+ Add improved macro handling from Joe Wells.
+
+ * bib2html: In plain style, be more careful about not enclosing
+ another HTML element when fixing empty NAME anchor.
+
+ * html-btxbst.doc: Update comments.
+ Add <P> tag at end of bibliography entry.
+ Use \citelabel instead of \cite to refer to other bibliography
+ entries.
+
+ * bib2html: Change \cite processing. A \cite is now expanded so that
+ the label is a link to the entry the \cite refers to. A \citelabel
+ expands to only the label, without the link. This is accompanied
+ by a corresponding change in the bst style files so that bib2html
+ does not create nested links.
+
+ * html-btxbst.doc: Initial revision
+
+ * bib2html: Cleanup: escape more { and } in regex patterns.
+ Add support for math font handling from Joe Wells.
+
+ * bib2html: Fix: escape { and } in regex patterns.
+ Simplify accent and greek character replacement patterns.
+
+ * bib2html:
+ Bug in \cite processing was sometimes creating nested A HREF tags.
+ Back off on converting \cite entries to links until I can figure
+ out a way to prevent the nesting.
+
+Mon Apr 1 18:39:41 1996 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * bib2html: Add translation for \htmladdnormallinkfoot{text}{url}.
+
+ * bib2html: Make \cite crossrefs be hyperized in more cases.
+
+ * bib2html: Translate \htmladdnormallink{text}{url}.
+
+Mon Feb 26 16:50:45 1996 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * README: Update THANKS.
+
+ * bib2html: Add new -h option.
+ Output some boilerplate HTML when creating a new HTML file from
+ scratch.
+
+ * bib2html.man: Document new -h option.
+
+ * Version 1.10 released.
+
+Mon Feb 5 20:40:17 1996 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * html-n.bst: Fix spacing around "et al." in labels.
+
+ * bib2html:
+ Remove \n is regexp for finding citations and labels. This was causing
+ problems on entries with no authors.
+
+Wed Jan 24 21:04:07 1996 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * bib2html:
+ Get rid of -A option. Instead use file extension of source file
+ (.aux or .bib) to determine input file type.
+
+ * bib2html.man: Document new unsort bibliography style.
+
+ * Version 1.9 released.
+
+Wed Jan 24 18:51:04 1996 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * html-u.bst: Add RCS header.
+
+ * html-n.bst, html-a.bst: Change spacing in output.
+
+ * bib2html: Add unsort bibliography style.
+ Add -A option to read an already-existing .aux file for citations
+ instead of using all citations from one bibtex bibliography file.
+ Be a little more careful about removing "scratch" files.
+
+ * html-u.bst: Initial revision
+
+Tue Jan 23 19:11:51 1996 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * bib2html:
+ Bibtex sometimes inserts "%\n" to break long lines. Remove it.
+
+ * html-a.bst, html-n.bst:
+ Don't output Authors: comment if author is empty.
+
+ * README: Update thanks.
+
+ * Version 1.8 released.
+
+Wed Dec 20 23:19:39 1995 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * README: Update thanks.
+
+ * bib2html.man: Update FILES section. Document -v option.
+
+ * bibsearch:
+ Bug fix: did some pattern substitutions on author names in the
+ wrong order.
+
+ * Version 1.7 released.
+
+Fri Dec 15 23:15:17 1995 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * bib2html: Oops! Fixed recent \~{} fix.
+
+Fri Dec 15 22:48:45 1995 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * bib2html:
+ Handle \char'377, \char"ff, and \char255 by converting to &#255;.
+
+ * bib2html:
+ Fix handling of \~{}, which should produce a ~ in the output.
+
+Thu Dec 7 21:44:44 1995 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * bib2html.man: Document new named style.
+
+ * README: Update installation instructions.
+
+ * bib2html 1.6 released.
+
+Thu Dec 7 21:00:59 1995 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * html-n.bst: Initial revision
+
+ * html-a.bst:
+ Changed name from html.bst to html-a.bst to indicate that this
+ is used for the alpha html style.
+
+ * bib2html:
+ Handle postscript, pdf, and dvi tags that are URLs. At his point,
+ we handle them by pretty much ignoring them, and not attempting to
+ get the file size or number of pages.
+ Add named ([Hull, 1995]) style. Use this style as the basis for
+ the empty (bulletted) and plain ([1]) styles, because it results
+ in a more sensible alphabetization than the named style does.
+ Produce better cross-referenced citations.
+
+Fri Nov 3 18:35:44 1995 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * bib2html: Add version (-v) option.
+ Remove incorrect \rm mapping.
+ Add LaTeX2e-style font commands (\textit{}, etc).
+
+Fri Oct 27 21:05:45 1995 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * bib2html 1.5 released.
+
+ * bibsearch:
+ Add author search. Keyword search is no longer straight grep
+ pattern. Built-in help.
+
+ * bib2html: Oops! Missing "#".
+
+Thu Oct 26 17:26:17 1995 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * README: Update Thanks.
+
+ * bib2html: htmlfile argument is now optional. If it is not specified,
+ the bibliography is written to stdout.
+ Give usage message if an improper number of arguments is
+ specified.
+
+ * bib2html.man: htmlfile argument is now optional.
+
+Tue Oct 17 18:41:55 1995 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * html.bst: Add url field, a replacement for html field.
+
+ * bib2html.man: Document url field, a replacement for html.
+
+ * bib2html:
+ Change \cite{} retain original cite key if citation is not found.
+ Swallow up space after \rm, \it, \em, or \tt.
+
+ * README: More people to thank....
+
+ * bibsearch: Fix error in HREF qualification.
+
+ * bib2html: Fix: move ~ -> &nbsp; translation to after \~ translation.
+
+Mon Oct 16 22:18:38 1995 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * html-abs.bst.diffs: Initial revision
+
+ * html.bst: Use \cite{} in crossref instead of [[]].
+
+ * bib2html.man: Document new delimiter (-d delim) option.
+
+ * bib2html:
+ Citations were being formatted incorrectly in alpha style. Fixed.
+ Expand \cite{} so that citations are allowed anywhere in entry.
+ Add delimiter (-d delim) option.
+
+Mon Oct 16 19:41:35 1995 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * bib2html.man: Document new "-s style" option.
+
+ * bib2html: Check options and print usage message if illegal option.
+ Change $htmldir derivation.
+
+ * bib2html: Add support for plain and alpha bibliography styles.
+
+ * html.bst: Generate alpha labels instead of plain labels. Code stolen
+ from alpha.bst.
+
+ * html.bst: Support both empty (<LI>) and plain (<DT>[nn]</DD>) lists.
+ Show crossref field in cross references.
+
+Fri Oct 6 18:50:20 1995 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * html-abs.bst, html.bst: Fix crossref code for HTML.
+
+ * bib2html: Remove empty crossrefs.
+
+ * README: Update emacs and thanks sections.
+
+ * bibsearch:
+ Fix relative URLs (<A HREF="#...">) so that they still work.
+
+ * bib2html.man: Document new abstract (-a) option.
+
+ * bib2html: Add \par to <P> conversion for abstracts.
+ Fix another bug in deriving $htmldir.
+
+Thu Oct 5 21:02:31 1995 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * README: Added "Thanks" section.
+
+ * bib2html:
+ Oops! Lost command line processing. Put call to Getopt() back in.
+ Add -a option, which puts abstract in HTML file.
+ Add more LaTeX to HTML character entity translations.
+
+ * html-abs.bst: Initial revision
+
+Wed Oct 4 19:32:45 1995 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * bib2html.man: Mention support for compressed and gzipped files.
+
+Wed Oct 4 19:18:27 1995 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * bib2html 1.3 released.
+
+ * bib2html: Printing warning if paper is not found.
+
+ * bib2html.man: Added under "BUGS": requires dviselect.
+
+ * bib2html: Removed debugging prints.
+
+ * bib2html: Generalized parsing of paper files.
+ Added support for DVI files.
+ Fixed bug: were deriving $htmldir incorrectly.
+
+ * html.bst: Add dvi field type.
+
+Wed Oct 4 15:32:07 1995 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * bib2html 1.2 released.
+
+ * README: Initial revision
+
+Tue Oct 3 23:16:50 1995 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * bib2html: Added redistribution under GNU Public License.
+
+ * bib2html.man:
+ Document new postscript and pdf field handling, and changed html
+ field handling.
+
+ * html.bst: Added pdf bibtex tag.
+
+ * bib2html:
+ Added pdf bibtex tag. Improved PostScript file parsing. Automagically
+ handle compressed (.Z) and gzipped (.z and .gz) files.
+
+Mon Oct 2 23:50:09 1995 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * html.bst: Added postscript bibtex tag.
+
+ * bib2html:
+ Added postscript bibtex tag. Added postscript file parsing to
+ get file size and number of pages.
+
+Mon Sep 11 20:43:04 1995 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * bib2html.man: Document new -3 option.
+
+ * bib2html:
+ Add limited support for translation of TeX greek to HTML 3.0 greek
+ entities. Add &ndash; and &mdash; entities. These translations
+ are enabled by the command line option "-3".
+
+Fri Aug 25 18:40:36 1995 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * bib2html 1.1 released.
+
+Fri Aug 25 13:44:27 1995 David Hull <hull@pertsserver.cs.uiuc.edu>
+
+ * html.bst:
+ Change name anchor so that it no longer encloses
+ entire entry. That sometimes creates nested anchor tags, which
+ is bad HTML. Instead, create an empty name anchor, and bib2html
+ will try to fix it.
+
+ * html.bst:
+ Change order of <LI> and <A NAME=...> to produce conforming HTML.
+
+ * bib2html:
+ Try to move close tag of empty name anchors
+ (<A NAME=...></A>) so that they are not empty. Some browsers
+ don't handle empty anchors correctly.
+
+
diff --git a/biblio/bibtex/utils/bib2xhtml/Makefile b/biblio/bibtex/utils/bib2xhtml/Makefile
new file mode 100644
index 0000000000..a727306019
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/Makefile
@@ -0,0 +1,118 @@
+#
+# $Id: Makefile 1.27 2010/12/12 19:01:08 dds Exp $
+#
+
+NAME=bib2xhtml
+BINDIR=$(HOME)/bin/
+BIBTEXDIR=$(HOME)/texmf/bibtex/bst/
+CGIDIR=/usr/dcs/www/cgi-bin/
+DISTDIR=/cygdrive/c/dds/pubs/web/home/sw/textproc/$(NAME)
+
+BSTFILES=$(wildcard *.bst)
+DOCFILES=$(NAME).html $(NAME).txt $(NAME).pdf index.html static.html showeg.js example.bib
+EGFILES=$(wildcard eg/*.html)
+ROOTFILES=README COPYING $(NAME) ${BSTFILES} $(DOCFILES) bibsearch Makefile $(NAME).man ChangeLog html-btxbst.doc gen-bst
+VERSION=$(shell ident $(NAME) | awk '/Id:/{print $$3; exit 0} ')
+
+default: $(DOCFILES) $(EGFILES) ${BSTFILES} syntax
+
+dist: default $(NAME)-$(VERSION).tar.gz $(NAME)-$(VERSION).zip
+ -mkdir -p $(DISTDIR)/eg 2>/dev/null
+ cp -f $(NAME)-$(VERSION).tar.gz $(NAME)-$(VERSION).zip $(DISTDIR)
+ cp -f $(DOCFILES) $(DISTDIR)
+ cp -f $(EGFILES) $(DISTDIR)/eg
+ cp -f ChangeLog $(DISTDIR)/ChangeLog.txt
+ rm -f ${DISTDIR}/index.html
+ sed -e "s/VERSION/${VERSION}/" index.html >${DISTDIR}/index.html
+
+$(NAME)-$(VERSION).tar.gz $(NAME)-$(VERSION).zip: $(ROOTFILES) $(EGFILES)
+ -cmd /c "rd /s/q $(NAME)-$(VERSION)"
+ mkdir -p $(NAME)-$(VERSION)/eg
+ cp -f ${ROOTFILES} $(NAME)-$(VERSION)
+ rm -f $(NAME)-$(VERSION)/index.html
+ sed -e "s/VERSION/${VERSION}/" index.html >$(NAME)-$(VERSION)/index.html
+ cp -f ${EGFILES} $(NAME)-$(VERSION)/eg
+ tar czf $(NAME)-$(VERSION).tar.gz $(NAME)-$(VERSION)
+ zip -r $(NAME)-$(VERSION).zip $(NAME)-$(VERSION)
+ cmd /c "rd /s/q $(NAME)-$(VERSION)"
+
+$(NAME).ps: $(NAME).man
+ groff -man -Tps <$? > $@
+
+$(NAME).txt: $(NAME).man
+ groff -man -Tascii <$? | col -b > $@
+
+$(NAME).pdf: $(NAME).ps
+ cmd /c ps2pdf $? $@
+
+$(NAME).html: $(NAME).man
+ groff -mhtml -Thtml -man <$? | sed -e 's/&minus;/-/g;s/&bull;/\&#8226;/g' >$@
+
+${BSTFILES} : html-btxbst.doc
+ perl gen-bst
+
+syntax: $(NAME) bibsearch
+ -perl -w -c $(NAME) >syntax 2>&1
+ -perl -T -w -c bibsearch >>syntax 2>&1
+ -perl -w -c gen-bst >>syntax 2>&1
+
+install:
+ for i in *.bst; do\
+ install -m 644 $$i $(BIBTEXDIR);\
+ done
+
+# Create example files
+# Some nonsensical option combinations cause bib2xhtml to exit with an error
+# Hence the || true part
+example: bib2xhtml Makefile
+ -rm -f eg/*.html
+ cp v23n5.pdf eg
+ for style in empty plain alpha named unsort unsortlist paragraph ; \
+ do \
+ for n in '' '-n Spinellis' ; \
+ do \
+ nopt=`expr "$$n" : '\(..\)'` ;\
+ for u in '' -u ; \
+ do \
+ for c in '' -c ; \
+ do \
+ for r in '' -r ; \
+ do \
+ for k in '' -k ; \
+ do \
+ perl bib2xhtml -s $$style $$n $$u $$c $$r $$k -h "Example: bib2xhtml -s $$style $$n $$u $$c $$r $$k" example.bib eg/$${style}$${nopt}$${u}$${c}$${r}$${k}.html || true;\
+ done ; \
+ done ; \
+ done ; \
+ done ; \
+ done ; \
+ done ; \
+ for i in eg/*.html ; \
+ do \
+ sed -i '/$$Id/d' $$i ; \
+ done ; \
+ touch example
+
+# Regression test
+test: example static.html
+ xml val -d /pub/schema/xhtml1-transitional.dtd index.html ;\
+ xml val -d /pub/schema/xhtml1-transitional.dtd static.html ;\
+ cd eg ; \
+ for i in *.html ; \
+ do \
+ xml val -d /pub/schema/xhtml1-transitional.dtd $$i 2>/dev/null ; \
+ diff ../test.ok/$$i $$i ; \
+ done
+
+# Seed regression test files
+seed: example
+ -mkdir test.ok 2>/dev/null
+ cp eg/* test.ok
+
+# Static HTML file version with links to the eg files
+static.html: index.html Makefile example
+ (sed -n '1,/<meta/p' index.html ; \
+ echo '</head><body><ul>' ; \
+ grep '<title>' eg/* | sed 's/\([^:]*\):<title>Example: \(.*\)<\/title>/<li><a href="\1">\2<\/a><\/li>/' ; \
+ echo '</ul></body></html>' ; \
+ ) >static.html
diff --git a/biblio/bibtex/utils/bib2xhtml/README b/biblio/bibtex/utils/bib2xhtml/README
new file mode 100644
index 0000000000..aa9d3778c2
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/README
@@ -0,0 +1,83 @@
+This is Free Software:
+
+ The bib2html package is copyright 1996, David Hull.
+ In 2002, due to the lack of visible updates on the web, the program
+ was adopted for maintenance, distribution, and further evolution by
+ Diomidis Spinellis. Changes made by him include support for XHTML
+ 1.0 and documentation bug fixes. The first public release of the
+ maintenance effort was in 2004 (version 2.1). On March 2004 the program
+ was renamed into bib2xhtml to avoid confusion with projects using the
+ name bib2html .
+ Changes Copyright 2002-2010, Diomidis Spinellis.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU GenerERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Softwre
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+
+Important news for people who already use bib2html:
+
+ The way that the bibsearch CGI script is called from HTML has changed
+ in bib2html-1.25. Read the comments at the beginning of bibsearch
+ for the new calling conventions.
+
+
+Installation:
+
+* Update the first line of bib2xhtml and bibsearch to point to the
+ location of perl on your local machine.
+
+* Install html-*.bst somewhere that bibtex can find them. If you have
+ installed an earlier version of bib2xhtml, remove html.bst and
+ html-abs.bst.
+
+* If you plan to use the bibsearch CGI script, edit the configuration
+ section at the beginning of it and install it in your http server's
+ cgi-bin directory. The script has comments with instructions on how
+ to call it from another HTML page.
+
+* If you want to modify the bst (bibtex style) files, edit
+ html-btxbst.doc and then run gen-bst to generate the new versions.
+ You probably won't need to, though.
+
+* To support the -r, -c, and -a options, there are now 18 possible
+ style files. Rather than generate and install all of these .bst
+ files by default, gen-bst now only generates the ones that are most
+ likely to be used. To create the missing ones (that is, if you plan
+ to use the -r and -c options), uncomment the lines at the end of
+ gen-bst and re-run it.
+
+
+GNU emacs:
+
+ For use with bibtex mode (available at
+ http://www.ida.ing.tu-bs.de/people/dirk/bibtex/),
+ I add the following to my ~/.emacs file:
+
+ (setq bibtex-user-optional-fields
+ '(("url" "URL link (for bib2xhtml)")
+ ("postscript" "PostScript file (for bib2xhtml)")
+ ("pdf" "PDF file (for bib2xhtml)"))
+ ("dvi" "DVI file (for bib2xhtml))
+
+
+Thanks to these people, who have contributed to bib2html:
+
+ Peter J Knaggs, Juergen Vollmer, Chris Torrence, Michael Sanders,
+ Vispi Bulsara, Nick Cropper, Joe Wells, Luis Mandel, Ricardo E. Gonzalez,
+ Daniel Kapitan, Tammy Kolda, Walter M. Lioen, Panos Louridas, Aki Vehtari,
+ Martin P. J. Zinser, Eric Vinck, Mark Jelasity, Vasek Smidl, Bruno Salvy,
+ and Wilfried Elmenreich.
+
+$Id: README 1.3 2010/02/04 14:31:08 dds Exp $
diff --git a/biblio/bibtex/utils/bib2xhtml/bib2xhtml b/biblio/bibtex/utils/bib2xhtml/bib2xhtml
new file mode 100755
index 0000000000..2c93697dca
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/bib2xhtml
@@ -0,0 +1,1279 @@
+#!/usr/bin/perl -w
+# -*- perl -*-
+# vim: syntax=perl
+eval 'exec /usr/bin/perl -w -S $0 ${1+"$@"}'
+ if 0;
+
+$version = '$Id: bib2xhtml 2.35 2010/12/08 19:38:16 dds Exp $';
+
+#
+# Convert from bibtex to XHTML.
+#
+# (C) Copyright 1995, 1996 David Hull.
+# (David Hull / hull@cs.uiuc.edu / http://www.uiuc.edu/ph/www/dlhull)
+#
+# (C) Copyright 2002-2010 Diomidis Spinellis
+# http://www.spinellis.gr
+#
+# This program is free software. You can redistribute it and/or modify
+# it under the terms of the GNU General Public License. See the
+# files README and COPYING for details.
+#
+# This source code contains UTF-8 characters. You might want to use
+# an appropriate editor, if you want to view/modify the LaTeX to Unicode
+# substitution commands.
+#
+
+use Getopt::Std;
+use open IO => ':crlf';
+
+require 'ctime.pl';
+
+eval "use PDF::API2";
+$have_pdf_api = 1 unless (defined $@ && $@ ne '');
+
+# Label styles.
+$label_styles{'plain'} = $LABEL_PLAIN = 1;
+$label_styles{'numbered'} = $LABEL_NUMBERED = 2;
+$label_styles{'default'} = $LABEL_DEFAULT = 3;
+$label_styles{'paragraph'} = $LABEL_PARAGRAPH = 4;
+
+$list_start[$LABEL_PLAIN] = 'ul class="bib2xhtml"';
+$list_end[$LABEL_PLAIN] = "/ul";
+$list_start[$LABEL_NUMBERED] = 'dl class="bib2xhtml"';
+$list_end[$LABEL_NUMBERED] = "/dl";
+$list_start[$LABEL_DEFAULT] = 'dl class="bib2xhtml"';
+$list_end[$LABEL_DEFAULT] = "/dl";
+$list_start[$LABEL_PARAGRAPH] = 'div class="bib2xhtml"';
+$list_end[$LABEL_PARAGRAPH] = "/div";
+
+@tmpfiles = ();
+
+sub usage {
+ $program = $0;
+ $program =~ s+^.*/++;
+ print STDERR <<_EOF_;
+usage: $program [-a] [-b bibtex-options] [-c] [-d delim] [-D mappings]
+ [-e extended-information] [-h heading] [-i] [-k]
+ [-m macro file] [-n name] [-r] [-s style] [-t] [-u] [-v]
+ sourcefile [htmlfile]
+
+ -a Write abstract to htmlfile.
+ -b bibtex-options
+ Options to pass to bibtex.
+ -c Sort chronologically, by year, month, day, and then by author.
+ -d delim
+ Specify bibliography delimiter.
+ -D mappings
+ Specify file path to URL mappings.
+ -e extended-information
+ Specify the extended metadata information (page count, size, PDF icon)
+ that will be included in each citation.
+ -h heading
+ String to use instead of default title when creating a new htmlfile.
+ If updating an existing htmlfile, this option is ignored.
+ -i Use included citations
+ -k In labeled styles append to the label of each entry its BibTeX key.
+ -m macro file
+ Specify an additional macro file.
+ -n name
+ Highlight the specified author name in the output.
+ -r Sort in reverse chronological order.
+ -s style
+ Control style of bibliography:
+ (empty, plain, alpha, named, paragraph, unsort, or unsortlist).
+ -t Write timestamp to htmlfile.
+ -u Output a Unicode-coded document.
+ -v Report the version number.
+_EOF_
+ exit(1);
+}
+
+# Return the command needed to open a (perhaps compressed) file,
+# as well as the type of compression.
+sub openCommand {
+ local($path) = @_;
+ local($cmd);
+ local($cmp);
+
+command: {
+ ($path =~ m/\.Z$/ &&
+ ($cmd = "uncompress -c $path |", $cmp = "Compressed", last command));
+ ($path =~ m/\.g?z$/ &&
+ ($cmd = "gzip -d -c $path |", $cmp = "Gzipped", last command));
+ ($cmd = "<$path", $cmp = "", last command);
+ }
+
+ ($cmd, $cmp);
+}
+
+@paperTypes = ("PostScript", "PDF", "DVI", "DOI");
+
+sub PostScriptPageCount {
+ local($cmd) = @_;
+ local($pageCount);
+
+ #print "in PostScriptPageCount $cmd\n";
+
+ open(FILE, $cmd) || (warn "error opening $cmd: $!\n", return undef);
+
+ local($_);
+ local($/) = "\n";
+
+line:
+ while (<FILE>) {
+ last line if m/^%%EndComments/;
+ if (m/^%%Pages:\s*(\d+)/) {
+ $pageCount = $1 if ($1 > 0);
+ last line;
+ }
+ }
+ close(FILE);
+
+ $pageCount;
+}
+
+sub PDFPageCount {
+ return undef unless ($have_pdf_api);
+ my($file) = @_;
+ $file =~ s/^\<//;
+ # print "in PDFPageCount $file\n";
+ my($pdf);
+ eval {$pdf = PDF::API2->open($file)};
+ return undef if (defined $@ && $@ ne '');
+ return $pdf->pages;
+}
+
+sub DVIPageCount {
+ local($cmd) = @_;
+ local($pageCount);
+
+ #print "in DVIPageCount $cmd\n";
+
+ if ($cmd =~ m/^</) {
+ # Simple file.
+ $cmd = "dviselect : $cmd >/dev/null";
+ } else {
+ # Compressed file.
+ $cmd .= "dviselect : >/dev/null";
+ }
+
+ # Look at dviselect's stderr.
+ open(DVISELECT, "-|") || (open(STDERR, ">&STDOUT"), exec $cmd);
+
+ local($_);
+ local($/) = "\n";
+line:
+ while (<DVISELECT>) {
+ if (m/[Ww]rote (\d+) pages/) {
+ $pageCount = $1;
+ last line;
+ }
+ }
+ close(DVISELECT);
+
+ $pageCount;
+}
+
+# Make an intelligent link to a paper file.
+sub doPaperLinks {
+ local($file);
+ local($url);
+ local($paper, $ppaper);
+ local($cstr, $pstr, $sstr);
+
+papertype:
+ foreach $paper (@paperTypes) {
+
+ $ppaper = $paper unless defined($notype); # Paper type
+ $sstr = ""; # size string
+ $pstr = ""; # pages string
+ $cstr = ""; # compression type string
+
+ if (($url) = m/\<\!\-\- $paper:[\s\n]+(\S+)[\s\n]+\-\-\>/) {
+
+ # If $url looks like a file (doesn't begin with http://, ftp://,
+ # etc.), get more info.
+ if ($paper ne 'DOI' && $url !~ m/^[^\:\/]+\:\//) {
+ local($file) = $url;
+ local($path);
+ local($dir);
+ foreach $dir (@filedir) {
+ $path = join('/', $dir, $file);
+ if ( -f $path) {
+ if (defined $dirmap{$dir}) {
+ $url = join('/', $dirmap{$dir}, $file);
+ } else {
+ $url = $path;
+ }
+ last;
+ }
+ }
+
+ if (! -f $path) {
+ print STDERR "couldn't find $file\n";
+ next papertype;
+ }
+
+ local($opencmd);
+ local($size);
+ local($pageCountRoutine);
+ local($pageCount) = 0;
+
+ ($opencmd, $cstr) = &openCommand($path);
+
+ # Get size.
+ $size = -s _;
+ $sstr = ", $size bytes" unless(defined($nosize));
+
+ # Get page count.
+ $pageCountRoutine = $paper . "PageCount";
+ $pageCount = &$pageCountRoutine($opencmd);
+ $pstr = ", $pageCount pages" if (defined $pageCount && !defined $nopages);
+
+ # Get compression type.
+ $cstr = "$cstr " if ($cstr ne "");
+ undef $cstr if (defined $nocompression);
+ } elsif ($paper eq 'DOI' &&
+ (($url =~ m/^doi:(.*)/i) ||
+ ($url =~ m/^http:\/\/[\w.]+\/(.*)/i) ||
+ ($url =~ m/^(.*)$/))) {
+ # Convert the DOI URL into an HTTP link
+ $url = html_encode("http://dx.doi.org/$1");
+ $ppaper = "doi:" . html_encode($1) unless (defined($nodoi));
+ }
+
+ $ppaper = $typeicon{$paper} if (defined $typeicon{$paper});
+
+ #print STDERR "found $paper $file$pstr$sstr\n";
+
+ if ($nobrackets) {
+ s/\<\!\-\- $paper:[\s\n]+\S+[\s\n]+\-\-\>/<a href=\"$url\">${cstr}$ppaper<\/a>$pstr$sstr/;
+ } else {
+ s/\<\!\-\- $paper:[\s\n]+\S+[\s\n]+\-\-\>/(<a href=\"$url\">${cstr}$ppaper<\/a>$pstr$sstr)/;
+ }
+ }
+ }
+}
+
+# highlight_name(string)
+# Return name with Highlighted name if it was passed in as an option from the command line.
+#
+sub highlight_name {
+ local($name) = @_;
+ if (defined($highlighted_name) && $name =~ /$highlighted_name/) {
+ return "<strong>$name</strong>";
+ } else {
+ return $name;
+ }
+}
+
+# html_encode(string)
+# Protect character entities in string.
+sub html_encode {
+ local($_) = @_;
+
+ s/&/&amp;/g; # Must be first.
+ s/</&lt;/g;
+ s/>/&gt;/g;
+ s/"/&quot;/g;
+
+ $_;
+}
+
+# Convert $_ into an HTML entity representation
+sub html_ent {
+ # Accents.
+ s/\\i\b/i/g; # dotless i.
+ s/\\\'(\001\d+)\{([AEIOUaeiou])\1\}/&$2acute;/gs; # acute accent \'{x}
+ s/\\\'([AEIOUaeiou])/&$1acute;/g; # acute accent \'x
+ s/\\\`(\001\d+)\{([AEIOUaeiou])\1\}/&$2grave;/gs; # grave accent \`{x}
+ s/\\\`([AEIOUaeiou])/&$1grave;/g; # grave accent \`x
+ s/\\\"(\001\d+)\{([AEIOUaeiouy])\1\}/&$2uml;/gs; # umlaut \"{x}
+ s/\\\"([AEIOUaeiouy])/&$1uml;/g; # umlaut \"x
+ s/\\\~(\001\d+)\{([ANOano])\1\}/&$2tilde;/gs; # tilde \~{x}
+ s/\\\~([ANOano])/&$1tilde;/g; # tilde \~x
+ s/\\\^(\001\d+)\{([AEIOUaeiou])\1\}/&$2circ;/gs; # circumflex \^{x}
+ s/\\\^([AEIOUaeiou])/&$1circ;/g; # circumflex \^x
+ s/\\c(\001\d+)\{([Cc])\1\}/&$2cedil;/gs; # cedilla \c{x}
+ # The following accents have no HTML equivalent.
+ # (This list is still not complete.)
+ s/\\u(\001\d+)\{(.)\1\}/$2/gs; # breve accent \u{x}
+ s/\\v(\001\d+)\{(.)\1\}/$2/gs; # hacek accent \v{x}
+ s/\\([lL])\b/$1/g; # slashed l
+ s/\\\=(\001\d+)\{(.)\1\}/$2/gs; # macron \={x}
+ s/\\\=(.)/$1/g; # macron accent \=x
+ s/\\\.(\001\d+)\{(.)\1\}/$2/gs; # dot \.{x}
+ s/\\\.(.)/$1/g; # dot accent \.x
+
+ # Other special characters.
+ s/\\([Oo])\b\s*/&$1slash;/g; # \[Oo] -> &[Oo]slash;
+ s/\\AA\b\s*/&Aring;/g; # \AA -> &Aring;
+ s/\\aa\b\s*/&aring;/g; # \aa -> &aring;
+ s/\\AE\b\s*/&AElig;/g; # \AE -> &AElig;
+ s/\\ae\b\s*/&aelig;/g; # \ae -> &aelig;
+ s/\\ss\b\s*/&szlig;/g; # \ss -> &szlig;
+ s/\\S\b\s*/&sect;/g; # \S -> &sect;
+ s/\\P\b\s*/&para;/g; # \P -> &para;
+ s/\\pounds\b\s*/&pound;/g; # \pounds -> &pound;
+ s/\?\`/&iquest;/g; # ?` -> &iquest;
+ s/\!\`/&iexcl;/g; # !` -> &iexcl;
+
+ # Other special characters.
+ # Try to be careful to not change the dashes in HTML comments
+ # (<!-- comment -->) to &ndash;s.
+ s/\-\-\-/&mdash;/g; # --- -> &mdash;
+ s/([^\!])\-\-([^\>])/$1&ndash;$2/g; # -- -> &ndash;
+ #s/\-\-\-/\227/g; # --- -> &mdash;
+ #s/([^\!])\-\-([^\>])/$1\226$2/g; # -- -> &ndash;
+
+ # Upper and lower case greek
+ s/\\([aA]lpha)\b/&$1;/g;
+ s/\\([bB]eta)\b/&$1;/g;
+ s/\\([gG]amma)\b/&$1;/g;
+ s/\\([dD]elta)\b/&$1;/g;
+ s/\\varepsilon\b/&epsilon;/g;
+ s/\\([eE]psilon)\b/&$1;/g;
+ s/\\([zZ]eta)\b/&$1;/g;
+ s/\\([eE]ta)\b/&$1;/g;
+ s/\\([tT]heta)\b/&$1;/g;
+ s/\\vartheta\b/&theta;/g;
+ s/\\([iI]ota)\b/&$1;/g;
+ s/\\([kK]appa)\b/&$1;/g;
+ s/\\([lL]ambda)\b/&$1;/g;
+ s/\\([mM]u)\b/&$1;/g;
+ s/\\([nN]u)\b/&$1;/g;
+ s/\\([xX]i)\b/&$1;/g;
+ s/\\([oO]micron)\b/&$1;/g;
+ s/\\([pP]i)\b/&$1;/g;
+ s/\\varpi\b/&pi;/g;
+ s/\\([rR]ho)\b/&$1;/g;
+ s/\\varrho\b/&rho;/g;
+ s/\\([sS]igma)\b/&$1;/g;
+ s/\\varsigma\b/&sigmaf;/g;
+ s/\\([tT]au)\b/&$1;/g;
+ s/\\([uU]psilon)\b/&$1;/g;
+ s/\\([pP]hi)\b/&$1;/g;
+ s/\\varphi\b/&phi;/g;
+ s/\\([cC]hi)\b/&$1;/g;
+ s/\\([pP]si)\b/&$1;/g;
+ s/\\([oO]mega)\b/&$1;/g;
+}
+
+# Convert $_ into a UTF-8 character
+sub utf_ent {
+ # Accents.
+ s/\\i\b/ı/g; # dotless i.
+
+ # acute accent \'{x}
+ s/\\\'(\001\d+)\{A\1\}/Ã/gs;
+ s/\\\'(\001\d+)\{C\1\}/Ć/gs;
+ s/\\\'(\001\d+)\{E\1\}/É/gs;
+ s/\\\'(\001\d+)\{I\1\}/Ã/gs;
+ s/\\\'(\001\d+)\{L\1\}/Ĺ/gs;
+ s/\\\'(\001\d+)\{N\1\}/Ń/gs;
+ s/\\\'(\001\d+)\{O\1\}/Ó/gs;
+ s/\\\'(\001\d+)\{R\1\}/Å”/gs;
+ s/\\\'(\001\d+)\{S\1\}/Åš/gs;
+ s/\\\'(\001\d+)\{U\1\}/Ú/gs;
+ s/\\\'(\001\d+)\{Y\1\}/Ã/gs;
+ s/\\\'(\001\d+)\{Z\1\}/Ź/gs;
+ s/\\\'(\001\d+)\{a\1\}/á/gs;
+ s/\\\'(\001\d+)\{c\1\}/ć/gs;
+ s/\\\'(\001\d+)\{e\1\}/é/gs;
+ s/\\\'(\001\d+)\{ı\1\}/í/gs;
+ s/\\\'(\001\d+)\{i\1\}/í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ä /g;
+ s/\\\.L/Ä¿/g;
+ s/\\\.Z/Å»/g;
+ s/\\\.g/Ä¡/g;
+ s/\\\.l/Å€/g;
+ s/\\\.z/ż/g;
+
+
+ # slashed l
+ s/\\l\b/Å‚/g;
+ s/\\L\b/Å/g;
+
+ # krouzek \accent23x or \accent'27
+ s/\{\\accent2[37]\s*u\}/ů/g;
+ s/\\accent2[37]\s*u/ů/g;
+
+ # Other special characters.
+ s/\\O\b\s*/Ø/g;
+ s/\\o\b\s*/ø/g;
+ s/\\AA\b\s*/Ã…/g;
+ s/\\aa\b\s*/Ã¥/g;
+ s/\\AE\b\s*/Æ/g;
+ s/\\ae\b\s*/æ/g;
+ s/\\OE\b\s*/Å’/g;
+ s/\\oe\b\s*/Å“/g;
+ s/\\ss\b\s*/ß/g;
+ s/\\S\b\s*/§/g;
+ s/\\P\b\s*/¶/g;
+ s/\\pounds\b\s*/£/g;
+ s/\?\`/¿/g;
+ s/\!\`/¡/g;
+
+ # en and em dashes
+ # Try to be careful to not change the dashes in HTML comments
+ # (<!-- comment -->) to &ndash;s.
+ s/\-\-\-/—/g; # --- -> &#x2014
+ s/([^\!])\-\-([^\>])/$1–$2/g; # -- -> &#x2013
+
+ # Upper case Greek
+ s/\\Alpha\b/Α/g;
+ s/\\Beta\b/Î’/g;
+ s/\\Gamma\b/Γ/g;
+ s/\\Delta\b/Δ/g;
+ s/\\Epsilon\b/Ε/g;
+ s/\\Zeta\b/Ζ/g;
+ s/\\Eta\b/Η/g;
+ s/\\Theta\b/Θ/g;
+ s/\\Iota\b/Ι/g;
+ s/\\Kappa\b/Κ/g;
+ s/\\Lambda\b/Λ/g;
+ s/\\Mu\b/Μ/g;
+ s/\\Nu\b/Î/g;
+ s/\\Xi\b/Ξ/g;
+ s/\\Omicron\b/Ο/g;
+ s/\\Pi\b/Π/g;
+ s/\\Rho\b/Ρ/g;
+ s/\\Sigma\b/Σ/g;
+ s/\\Tau\b/Τ/g;
+ s/\\Upsilon\b/Î¥/g;
+ s/\\Phi\b/Φ/g;
+ s/\\Chi\b/Χ/g;
+ s/\\Psi\b/Ψ/g;
+ s/\\Omega\b/Ω/g;
+
+ # Lower case Greek
+ s/\\alpha\b/α/g;
+ s/\\beta\b/β/g;
+ s/\\gamma\b/γ/g;
+ s/\\delta\b/δ/g;
+ s/\\varepsilon\b/ε/g;
+ s/\\epsilon\b/ε/g;
+ s/\\zeta\b/ζ/g;
+ s/\\eta\b/η/g;
+ s/\\theta\b/θ/g;
+ s/\\vartheta\b/θ/g;
+ s/\\iota\b/ι/g;
+ s/\\kappa\b/κ/g;
+ s/\\lambda\b/λ/g;
+ s/\\mu\b/μ/g;
+ s/\\nu\b/ν/g;
+ s/\\xi\b/ξ/g;
+ s/\\omicron\b/ο/g;
+ s/\\pi\b/Ï€/g;
+ s/\\varpi\b/Ï€/g;
+ s/\\rho\b/Ï/g;
+ s/\\varrho\b/Ï/g;
+ s/\\sigma\b/σ/g;
+ s/\\varsigma\b/Ï‚/g;
+ s/\\tau\b/Ï„/g;
+ s/\\upsilon\b/Ï…/g;
+ s/\\phi\b/φ/g;
+ s/\\varphi\b/φ/g;
+ s/\\chi\b/χ/g;
+ s/\\psi\b/ψ/g;
+ s/\\omega\b/ω/g;
+}
+
+
+# Prevent "identifier used only once" warnings.
+$opt_a = $opt_b = $opt_c = $opt_D = $opt_d = $opt_e = $opt_h = $opt_m =
+$opt_n = $opt_r = $opt_i = $opt_k = $opt_s = $opt_t = $opt_v = $opt_u = undef;
+
+$macrofile = '';
+
+$command_line = &html_encode(join(' ', $0, @ARGV));
+
+getopts("ab:cd:D:e:h:ikm:n:rs:tuv") || &usage;
+
+if (defined($opt_n)) {
+ $highlighted_name = $opt_n;
+ $highlighted_name =~ s/\s/[\\s~]+/;
+}
+
+if (defined($opt_v)) {
+ print "$version\n";
+ exit 0;
+}
+
+&usage if (($#ARGV < 0) || ($#ARGV > 1));
+
+if ($ARGV[0] =~ m/\.bib$/) {
+ $bibfile = $ARGV[0];
+ $bibfile =~ s/\.bib$//;
+ $delimiter = $bibfile;
+} elsif ($ARGV[0] =~ m/\.aux$/) {
+ if ($opt_i) {
+ print STDERR "source file must be a bibliography (.bib) file when run with the -i switch \n";
+ &usage;
+ }
+ $citefile = $ARGV[0];
+ $citefile =~ s/\.aux$//;
+ $delimiter = $citefile;
+} else {
+ print STDERR "Unknown file extension on $ARGV[0]\n";
+ &usage;
+}
+
+$htmlfile = $ARGV[1] if ($#ARGV == 1);
+
+$delimiter = $opt_d if (defined($opt_d));
+$title = (defined($opt_h) ? $opt_h : "Bibliography generated from $ARGV[0]");
+$macrofile = "$opt_m," if (defined($opt_m));
+
+$opt_s = 'empty' if (! defined $opt_s);
+style: {
+ ($opt_s eq 'empty') &&
+ ($bstfile = "html-n",
+ $label_style = $LABEL_PLAIN,
+ last style);
+ ($opt_s eq 'plain') &&
+ ($bstfile = "html-n",
+ $label_style = $LABEL_NUMBERED,
+ last style);
+ ($opt_s eq 'alpha') &&
+ ($bstfile = "html-a",
+ $label_style = $LABEL_DEFAULT,
+ last style);
+ ($opt_s eq 'named') &&
+ ($bstfile = "html-n",
+ $label_style = $LABEL_DEFAULT,
+ last style);
+ ($opt_s eq 'paragraph') &&
+ ($bstfile = "html-n",
+ $label_style = $LABEL_PARAGRAPH,
+ last style);
+ ($opt_s eq 'unsort') &&
+ ($bstfile = "html-u",
+ $label_style = $LABEL_NUMBERED,
+ last style);
+ ($opt_s eq 'unsortlist') &&
+ ($bstfile = "html-u",
+ $label_style = $LABEL_PLAIN,
+ last style);
+ ($opt_s =~ s/\.bst$//) &&
+ ($bstfile = $opt_s,
+ # label-style will be defined in .bst file.
+ last style);
+ print STDERR "Unknown style: $_\n";
+ &usage;
+}
+
+if ($bstfile eq "html-u" && ($opt_r || $opt_c)) {
+ print STDERR "Unsorted styles do not support a sort specification\n";
+ exit(1);
+}
+
+if ($opt_k && !($label_style == $LABEL_NUMBERED || $label_style == $LABEL_DEFAULT)) {
+ print STDERR "The specified style does not support the display of BibTeX keys\n";
+ exit(1);
+}
+
+
+$bstfile .= "c" if (defined ($opt_c));
+$bstfile .= "r" if (defined ($opt_r));
+$bstfile .= "a" if (defined ($opt_a));
+
+# Extended information is specified as a sequence of
+# (PostScript|PDF|DVI|DOI):icon or
+# (notype|nosize|nopages|nocompression|nodoi|nobrackets)
+# Set correspondingly the associative array %typeicon and the no* variables
+# Example usage:
+# perl bib2xhtml -e 'nosize,nopages,PDF:<img src="pdficon_small.gif" alt="PDF" border="0" />' example.bib >example.html
+undef $nopages;
+undef $nosize;
+undef $nodoi;
+undef $notype;
+undef $nocompression;
+undef $nobrackets;
+
+if (defined($opt_e)) {
+ my(@opts) = split(/,/, $opt_e);
+ for $opt (@opts) {
+ if ($opt =~ m/(PostScript|PDF|DVI|DOI):(.*)/) {
+ $typeicon{$1} = $2;
+ } elsif ($opt =~ m/(notype|nosize|nopages|nocompression|nodoi|nobrackets)/) {
+ eval "\$$1 = 1";
+ } else {
+ print STDERR qq{Invalid extended information specification: $opt
+This can be a comma-separated list of the following specifications:
+PostScript|PDF|DVI|DOI:new-text (e.g. PDF file icon)
+notype|nosize|nopages|nocompression|nodoi|nobrackets
+};
+ exit 1;
+ }
+ }
+}
+
+# PostScript and PDF files are assumed to be in same directory
+# as the target HTML file.
+if (defined($htmlfile) && ($htmlfile =~ m+(^.*)/+)) {
+ push @filedir, $1;
+} else {
+ push @filedir, "."
+}
+if (defined $opt_D) {
+ local($dir, $url);
+ foreach $dir (split(/\,/, $opt_D)) {
+ $url = $dir;
+ if ($dir =~ s/\@(.*)$//) { $url = $1; }
+ push @filedir, $dir;
+ $dirmap{$dir} = $url;
+ }
+}
+
+umask(077);
+
+open(HTMLFILE, (defined($htmlfile) ? ">$htmlfile$$" : ">&STDOUT"));
+if (defined($htmlfile) && open(OHTMLFILE, "$htmlfile")) {
+ $mode = (stat OHTMLFILE)[2] & 0xfff;
+ $updating = 1;
+} else {
+ $mode = 0644;
+ $updating = 0;
+
+ # An existing HTML file does not exist, so output some boilerplate.
+ if ($opt_u) {
+ $enc = 'UTF-8';
+ } else {
+ $enc = 'US-ASCII';
+ }
+ print HTMLFILE
+qq{<?xml version="1.0" encoding="$enc"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>$title</title>
+<meta http-equiv="Content-type" content="text/html; charset=$enc" />} . q{
+<meta name="Generator" content="$Id: bib2xhtml 2.35 2010/12/08 19:38:16 dds Exp $" />
+</head>
+<body>
+}
+}
+
+$beginstring = "<!-- BEGIN CITATIONS $delimiter -->";
+$endstring = "<!-- END CITATIONS $delimiter -->";
+
+@citations = ();
+
+if ($opt_i && $updating) {
+ loop:
+ while (<OHTMLFILE>) {
+ print HTMLFILE;
+ last loop if m/^$beginstring$/;
+ }
+ loop:
+ while (<OHTMLFILE>) {
+ print HTMLFILE;
+ last loop if m/^$endstring$/;
+ push(@citations, $2) if m/^([^\\]*)?(.+\})(.*)?$/;
+ }
+ push(@citations, "\\bibdata{$macrofile$bibfile}");
+}
+
+# Create an .aux file for bibtex to read.
+
+$auxfile = "bib$$";
+push(@tmpfiles, "$auxfile.aux");
+
+open(AUXFILE, ">$auxfile" . ".aux");
+
+print AUXFILE "\\relax\n\\bibstyle{$bstfile}\n";
+
+if (defined($citefile)) {
+ $citefile .= ".aux";
+ open(CITEFILE, "<$citefile") || die "error opening $citefile: $!\n";
+ while (<CITEFILE>) {
+ print AUXFILE $_ if (m/^\\(citation|bibdata){/);
+ }
+ close(CITEFILE);
+} elsif (@citations) {
+ foreach $citation (@citations) {
+ print AUXFILE "$citation\n";
+ }
+} else {
+ print AUXFILE "\\citation{*}\n\\bibdata{$macrofile$bibfile}\n";
+}
+
+close(AUXFILE);
+
+
+# run bibtex, redirecting bibtex's output from STDOUT to STDERR.
+
+push(@tmpfiles, "$auxfile.blg");
+push(@tmpfiles, "$auxfile.bbl");
+
+#Flush HTMLFILE to avoid duplicate buffer writes after the fork
+select(HTMLFILE);
+$| = 1; $| = 0;
+select(STDOUT);
+
+# We attempt to fork in order to redirect bibtex's stdout to stderr.
+# This is needed when bib2xhtml is generating its output on the
+# standard output.
+# The shell redirection syntax used in the system() alternative
+# is by no means portable.
+eval { fork || (open(STDOUT, ">&STDERR"),
+ # Handle leakage in Win32 prevents the final rename()
+ close(HTMLFILE),
+ close(OHTMLFILE),
+ exec('bibtex', (split(/\s+/, ($opt_b ? $opt_b : "")), $auxfile)));
+ wait; };
+# fork is not implemented on some non-Unix platforms.
+if ($@) {
+ # The fork failed (perhaps not implemented on this system).
+ system("bibtex $opt_b $auxfile 1>&2");
+}
+
+$beginstring = "<!-- BEGIN BIBLIOGRAPHY $delimiter -->";
+$endstring = "<!-- END BIBLIOGRAPHY $delimiter -->";
+
+if ($updating) {
+loop:
+ while (<OHTMLFILE>) {
+ last loop if m/^$beginstring$/;
+ print HTMLFILE;
+ }
+loop:
+ while (<OHTMLFILE>) {
+ last loop if m/^$endstring$/;
+ }
+}
+
+print HTMLFILE "$beginstring\n";
+print HTMLFILE <<EOF;
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: $command_line -->
+EOF
+# Now we make two passes over the .bbl file. In the first pass, we
+# just collect the {cite, label} pairs, which we will use later for
+# crossrefs.
+
+$t = $auxfile . ".bbl";
+
+$/ = "";
+
+# Make a first pass through the .bbl file, collecting citation/label pairs.
+open(BBLFILE, "<$t") || die "error opening $t: $!\n";
+$nentry = 0;
+loop:
+while (<BBLFILE>) {
+ # Check for definitions at start of .bbl file.
+ if (($nentry == 0) && (m/^#/)) {
+ if ((m/#\s*label-style:\s*(\S+)/) && (! defined $label_style)) {
+ $label_style = $label_styles{$1};
+ if (! defined $label_style) {
+ print STDERR "label style unknown: \n";
+ next loop;
+ }
+ }
+ next loop;
+ }
+ $nentry++;
+ ($bcite, $blabel) = m+<dt><a name=\"([^\"]*)\">\[([^\]]*)\]</a></dt><dd>+;
+ $blabel = "$nentry" if ($label_style == $LABEL_NUMBERED);
+ $bibcite{$bcite} = $blabel;
+}
+close(BBLFILE);
+
+$label_style = $LABEL_DEFAULT if (! defined $label_style);
+$list_start = $list_start[$label_style];
+$list_end = $list_end[$label_style];
+
+if (defined($opt_t)) {
+ print HTMLFILE "$nentry references, last updated " . &ctime(time) . "<p />\n";
+}
+
+print HTMLFILE "<$list_start>\n\n";
+
+#foreach $key (sort (keys(%bibcite))) {
+# print "$key : $bibcite{$key}\n";
+#}
+
+open(BBLFILE, "<$t") || die "error opening $t: $!\n";
+$nentry = 0;
+loop:
+while (<BBLFILE>) {
+ # Skip definitions at start of .bbl file.
+ next loop if (($nentry == 0) && (m/^#/));
+
+ $nentry++;
+
+ # Protect \{, \}, and \$, and then assign matching {} pairs a unique ID.
+ s/\\\{/\002/g;
+ s/\\\}/\003/g;
+ s/\\\$/\004/g;
+ {
+ local ($c, $l, $z) = (0, 0, ());
+ s/([\{\}])/join("","\001",($1 eq "\{" ? $z[$l++]=$c++ : $z[--$l]),$1)/ge;
+ }
+
+ # bibtex sometimes breaks long lines by inserting "%\n". We remove
+ # that because it might accidently break the line in the middle
+ # of a URL. We don't need to deal with TeX comments in general
+ # because bibtex seems to munge them up anyway, so there shouldn't
+ # be any in the bibliography file.
+ s/\%\n//g;
+
+ # bibtex's add.period$ knows how to avoid adding extra periods
+ # when a block already ends in a period. bib2xhtml's modifications
+ # of bibtex's style files break that. We fix it here.
+ s/(\.(<\/cite>|<\/a>|\')+)\./$1/g;
+
+ # Adjust beginning of entry based on bibliography style.
+ if ($label_style == $LABEL_PLAIN) {
+ s:<dt>(<a name=\"[^\"]*\">)\[[^\]]*\](</a>)</dt><dd>:<li>$1$2:;
+ s:</dd>:</li>:;
+
+ # Attempt to fix up empty <a name=...></a> tag, which some browsers
+ # don't handle properly (even though it *is* legal HTML).
+ # First try to combine a <a name=...></a> with a following <A ".
+ s:(<a name=\"[^\"]*\")></a><a\b:$1:
+ # If that doesn't work, try to swallow following word.
+ or s:(<a name=\"[^\"]*\">)</a>([\w]+):$1$2<\/a>:;
+ } elsif ($label_style == $LABEL_PARAGRAPH) {
+ s:<dt>(<a name=\"[^\"]*\">)\[[^\]]*\](</a>)</dt><dd>:<p>$1$2:;
+ s:</dd>:</p>:;
+
+ # Attempt to fix up empty <a name=...></a> tag, which some browsers
+ # don't handle properly (even though it *is* legal HTML).
+ # First try to combine a <a name=...></a> with a following <A ".
+ s:(<a name=\"[^\"]*\")></a><a\b:$1:
+ # If that doesn't work, try to swallow following word.
+ or s:(<a name=\"[^\"]*\">)</a>([\w]+):$1$2<\/a>:;
+ } elsif ($label_style == $LABEL_NUMBERED) {
+ s:(<dt><a name=\"[^\"]*\">\[)[^\]]*(\]</a></dt><dd>):$1$nentry$2:;
+ }
+
+ # Append the key name, if asked so
+ if ($opt_k && ($label_style == $LABEL_NUMBERED || $label_style == $LABEL_DEFAULT)) {
+ # $1 $2 $3 $4 $5
+ s:(<dt><a name=\")([^\"]*)(\">\[)([^\]]*)(\]</a></dt><dd>):$1$2$3$4 --- $2$5:;
+ }
+
+ # Attempt to fix up crossrefs.
+ while (m/(\\(cite(label)?)(\001\d+)\{([^\001]+)\4\})/) {
+ $old = $1;
+ $cmd = $2;
+ $doxref = defined($3);
+ $bcite = $5;
+ if (! defined $bibcite{$bcite}) {
+ $blabel = " [" . $bcite . "]";
+ } elsif ($doxref) {
+ $blabel = " <a href=\"#$bcite\">[" . $bibcite{$bcite} . "]<\/a>";
+ } else {
+ $blabel = " [" . $bibcite{$bcite} . "]";
+ }
+ $old =~ s/(\W)/\\$1/g;
+ s/\s*$old/$blabel/g;
+ }
+ # In some styles crossrefs become something like
+ # "In Doe and Roe [Doe and Roe, 1995]." Change this to
+ # "In [Doe and Roe, 1995]." to remove the redundancy.
+ s/In (<a href=\"[^\"]*\">)([^\[]+) \[(\2)/In $1\[$2/;
+
+ # Handle the latex2html commands \htmladdnormallink{text}{url}
+ # and \htmladdnormallinkfoot{text}{url}.
+ s/\\htmladdnormallink(foot)?(\001\d+)\{([^\001]+)\2\}(\001\d+)\{([^\001]+)\4\}/<a href="$5">$3<\/a>/gs;
+
+ s/\&amp;/\005/g; # Protect original &amp; sequences
+ s/\\?&/&amp;/g; # \& -> &amp; and & -> &amp;
+ s/\005/&amp;/g; # Restore original &amp; sequences
+
+ if ($opt_u) {
+ utf_ent();
+ } else {
+ html_ent();
+ }
+
+ # Handle \char123 -> &123;.
+ while (m/\\char([\'\"]?[0-9a-fA-F]+)/) {
+ $o = $r = $1;
+ if ($r =~ s/^\'//) {
+ $r = oct($r);
+ } elsif ($r =~ s/^\"//) {
+ $r = hex($r);
+ }
+ s/\\char$o\s*/&#$r;/g;
+ }
+
+ s/{\\etalchar\001(\d+)\{(.)}\001\1\}/$2/g; # {\etalchar{x}} -> x
+
+ s/\\par\b/<p \/>/g;
+
+ s/\\url(\001\d+)\{(.*)\1\}/<a href="$2">$2<\/a>/gs; #\url{text} -> <a href"text">text</a>
+ s/\\href(\001\d+)\{(.*)\1\}(\001\d+)\{([^\001]*)\3\}/<a href="$2">$4<\/a>/gs; #\href{text} -> <a href"link">text</a>
+ s/\\href(\001\d+)\{(.*)\1\}/<a href="$2">$2<\/a>/gs; #\href{text} -> <a href"text">text</a>
+
+
+ # There's no way to easily handle \rm and \textrm because
+ # HTML has no tag to convert back to plain text. Since it's very
+ # difficult to do the right thing, we do the wrong thing, and just
+ # remove them.
+ s/(\001\d+)\{\\rm\s+(.*)\1\}/$2/gs; # {\rm text} -> text
+ s/\\textrm(\001\d+)\{(.*)\1\}/$2/gs; # \textrm{text} -> text
+
+ # This doesn't create correct HTML, because HTML doesn't allow nested
+ # character style tags. Oh well.
+ s/(\001\d+)\{\\em\s+(.*)\1\}/<em>$2<\/em>/gs; # {\em text} -> <EM>text</EM>
+ s/(\001\d+)\{\\it\s+(.*)\1\}/<i>$2<\/i>/gs; # {\it text} -> <I>text</I>
+ s/(\001\d+)\{\\bf\s+(.*)\1\}/<b>$2<\/b>/gs; # {\bf text} -> <B>text</B>
+ s/(\001\d+)\{\\tt\s+(.*)\1\}/<tt>$2<\/tt>/gs; # {\tt text} -> <TT>text</TT>
+
+ s/\\emph(\001\d+)\{(.*)\1\}/<em>$2<\/em>/gs; # \emph{text} -> <EM>text</EM>
+ s/\\textit(\001\d+)\{(.*)\1\}/<i>$2<\/i>/gs; # \textit{text} -> <I>text</I>
+ s/\\textbf(\001\d+)\{(.*)\1\}/<b>$2<\/b>/gs; # \textbf{text} -> <B>text</B>
+ s/\\texttt(\001\d+)\{(.*)\1\}/<tt>$2<\/tt>/gs;# \textit{text} -> <TT>text</TT>
+
+ s/\\mathrm(\001\d+)\{(.*)\1\}/$2/gs; # \mathrm{text} -> text
+ s/\\mathnormal(\001\d+)\{(.*)\1\}/$2/gs; # \mathnormal{text} -> text
+ s/\\mathsf(\001\d+)\{(.*)\1\}/$2/gs; # \mathsf{text} -> text
+ s/\\mathbf(\001\d+)\{(.*)\1\}/<b>$2<\/b>/gs; # \mathbf{text} -> <B>text</B>
+ s/\\mathcal(\001\d+)\{(.*)\1\}/<i>$2<\/i>/gs;# \mathcal{text} -> <I>text</I>
+ s/\\mathit(\001\d+)\{(.*)\1\}/<i>$2<\/i>/gs; # \mathit{text} -> <I>text</I>
+ s/\\mathtt(\001\d+)\{(.*)\1\}/<tt>$2<\/tt>/gs;# \mathtt{text} -> <TT>text</TT>
+
+ # Custom highlighting for the -n option.
+ s/\\bibxhtmlname(\001\d+)\{(.*)\1\}/&highlight_name($2)/ges;
+
+ # {\boldmath $mathstuff$} -> <B>mathstuff</B>
+# s/(\001\d+)\{\s*\\boldmath ?([^A-Za-z\{\}][^\{\}]*)\}/<b>$1<\/b>/gs;
+
+
+sub domath {
+ local($t) = @_;
+ $t =~ s/\^(\001\d+)\{\\circ\1\}/\&\#176;/gs; # ^{\circ}->degree
+ $t =~ s/\^\\circ/\&\#176;/g; # ^\circ->degree
+# $t =~ s/\^(\001\d+)\{(.*)\1\}/<sup>$2<\/sup>/gs; # ^{x}
+ $t =~ s/\^(\001\d+)\{(.*)\1\}/<sup>$2<\/sup>/gs; # ^{x}
+ $t =~ s/\^(\w)/<sup>$1<\/sup>/g; # ^x
+# $t =~ s/\_(\001\d+)\{(.*)\1\}/<sub>$2<\/sub>/gs; # _{x}
+ $t =~ s/\_(\001\d+)\{(.*)\1\}/<sub>$2<\/sub>/gs; # _{x}
+ $t =~ s/\_(\w)/<sub>$1<\/sub>/g; # _x
+ $t;
+}
+
+ # Handle superscripts and subscripts in inline math mode.
+ s/(\$([^\$]+)\$)/&domath($2)/ge; # $ ... $
+ s/(\\\((([^\\]|\\[^\(\)])+)\\\))/&domath($2)/ge; # \( ... \)
+
+ # Remove \mbox.
+ s/\\mbox(\001\d+)\{(.*)\1\}/$2/gs; # \mbox{x}
+
+ # Escape and protect tildes in URLs
+ # For some reason /g doesn't work
+ while (s/(\<a href\=\"[^"]*?)\~/$1\005/g) { ; }
+ if ($opt_u) {
+ s/([^\\])~/$1 /g; # ~ non-breaking space - &#xa0;
+ s/\\\,/ /g; # \, thin space - &#x2009;
+ s/\\ldots\b\s*/…/g; # Horizontal ellipsis
+ s/\\dots\b\s*/…/g; # Horizontal ellipsis
+ } else {
+ s/([^\\])~/$1&nbsp;/g; # ~ non-breaking space
+ s/\\\,/&thinsp;/g; # \, thin space
+ s/\\ldots\b/&hellip;/g; # Horizontal ellipsis
+ s/\\dots\b/&hellip;/g; # Horizontal ellipsis
+
+ }
+ s/\005/\~/g; # Unescape tildes
+ s/\\ / /g; # \ (normal space)
+ s/\\textasciitilde\b\s*/~/g; # \textasciitilde -> ~
+
+ # Non-alphabetic macros that we keep.
+ s/\\([\#\&\%\~\_\^\|])/$1/g;
+
+ # Non-alphabetic macros that we remove.
+ # (discretionary hyphen)
+ # (italic correction)
+ s/\\\W//g;
+
+ # Clean up things we don't handle.
+# s/\\//g;
+
+ # The format {\Xyz{Abc}} is interpreted by BibTeX as a single letter
+ # whose text is given by "Abc". If we see this pattern, it is
+ # likely that discarding the \Xyz will do the right thing.
+ s/\001(\d+)\{\\[A-Za-z]+\001(\d+)\{([^\001]*)\001\2\}\001\1\}/$3/g;
+
+ # Macro names may be meaningful, so keep them and don't run them together.
+ s/\\([A-Za-z]+)/ $1 /g;
+
+ # Remove an empty <a href=...></a> tag that bad cross-referencing
+ # in the BibTeX file may have left us with.
+ s+In <a href=\"[^\"]*\"></a>++;
+
+ &doPaperLinks;
+
+ # Get rid of { } ids, and put protected { } back.
+ s/\001\d+[\{\}]//gs;
+ tr/\002\003\004/{}$/;
+
+ print HTMLFILE $_;
+}
+
+close(BBLFILE);
+
+print HTMLFILE "<$list_end>\n\n$endstring\n";
+
+if ($updating) {
+ while (<OHTMLFILE>) {
+ print HTMLFILE;
+ }
+ close (OHTMLFILE);
+} else {
+ print HTMLFILE "</body></html>\n";
+}
+
+close(HTMLFILE);
+
+if (defined ($htmlfile)) {
+ #$mode &= 0777;
+ #print "setting $htmlfile$$ to $mode\n";
+ #printf("mode = %lo\n", $mode);
+
+ chmod($mode, "$htmlfile$$");
+ rename("$htmlfile$$", $htmlfile);
+}
+
+unlink(@tmpfiles);
+
+exit(0);
diff --git a/biblio/bibtex/utils/bib2xhtml/bib2xhtml.html b/biblio/bibtex/utils/bib2xhtml/bib2xhtml.html
new file mode 100644
index 0000000000..ee07fa07fb
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/bib2xhtml.html
@@ -0,0 +1,767 @@
+<!-- Creator : groff version 1.20.1 -->
+<!-- CreationDate: Sun Dec 12 20:17:37 2010 -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+"http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<meta name="generator" content="groff -Thtml, see www.gnu.org">
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<meta name="Content-Style" content="text/css">
+<style type="text/css">
+ p { margin-top: 0; margin-bottom: 0; vertical-align: top }
+ pre { margin-top: 0; margin-bottom: 0; vertical-align: top }
+ table { margin-top: 0; margin-bottom: 0; vertical-align: top }
+ h1 { text-align: center }
+</style>
+<title>BIB2XHTML</title>
+
+</head>
+<body>
+
+<h1 align="center">BIB2XHTML</h1>
+
+<a href="#NAME">NAME</a><br>
+<a href="#SYNOPSIS">SYNOPSIS</a><br>
+<a href="#DESCRIPTION">DESCRIPTION</a><br>
+<a href="#OPTIONS">OPTIONS</a><br>
+<a href="#FILES">FILES</a><br>
+<a href="#SEE ALSO">SEE ALSO</a><br>
+<a href="#BUGS">BUGS</a><br>
+<a href="#AUTHORS">AUTHORS</a><br>
+<a href="#HISTORY">HISTORY</a><br>
+
+<hr>
+
+
+<h2>NAME
+<a name="NAME"></a>
+</h2>
+
+
+<p style="margin-left:11%; margin-top: 1em">bib2xhtml
+- BibTeX bibliography to XHTML converter</p>
+
+<h2>SYNOPSIS
+<a name="SYNOPSIS"></a>
+</h2>
+
+
+
+<p style="margin-left:11%; margin-top: 1em"><b>bib2xhtml</b>
+[ <b>-a</b> ] [ <b>-b</b> <i>bibtex-options</i>
+] [ <b>-c</b> ] [ <b>-D</b> <i>mappings</i> ] [
+<b>-d</b> <i>delimiter</i> ] [ <b>-e</b>
+<i>extended-information</i> ] [ <b>-h</b>
+<i>heading</i> ] [ <b>-i</b> ] [ <b>-k</b> ] [
+<b>-m</b> <i>macro-file</i> ] [ <b>-n</b>
+<i>author-name</i> ] [ <b>-r</b> ] [ <b>-s</b>
+<i>style</i> ] [ <b>-t</b> ] [ <b>-v</b> ] [
+<b>-u</b> ] <i>sourcefile</i> [ <i>htmlfile</i> ]</p>
+
+<h2>DESCRIPTION
+<a name="DESCRIPTION"></a>
+</h2>
+
+
+
+<p style="margin-left:11%; margin-top: 1em"><b>bib2xhtml</b>
+converts a bibtex-format bibliography file to XHTML.
+<i>sourcefile</i> may be either a BibTeX-format bibliography
+(<b>.bib</b>) file or a LaTeX-fomatted bibliography
+auxillary file (<b>.aux</b>). <i>htmlfile</i> will often be
+just part of a larger XHTML file; <b>bib2xhtml</b> attempts
+to update the XHTML file in place. It does this by searching
+<i>htmlfile</i> for two special strings, which delimit the
+bibliography part of the file. These strings are the XHTML
+comments</p>
+
+<p style="margin-left:22%; margin-top: 1em">&lt;!-- BEGIN
+BIBLIOGRAPHY <i>delimiter</i> --&gt;</p>
+
+<p style="margin-left:22%; margin-top: 1em">&lt;!-- END
+BIBLIOGRAPHY <i>delimiter</i> --&gt;</p>
+
+<p style="margin-left:11%; margin-top: 1em">If these
+delimiters are found, the old bibliography between them is
+replaced with the new bibliography. Otherwise the new
+bibliography, with the appropriate delimiters, is appended
+to the end of <i>htmlfile</i>, and it will be necessary to
+move it to the proper location by hand. Note that it is
+possible for <i>htmlfile</i> to contain any number of
+bibliographies, and they may be updated independently. If no
+<i>htmlfile</i> is specified, the bibliography is written to
+standard output.</p>
+
+<p style="margin-left:11%; margin-top: 1em">The tag of each
+BibTeX bibliography entry is converted into a name anchor
+(&lt;A NAME=&quot;tag&quot;&gt;) in <i>htmlfile</i>, and may
+be used to construct a link to this particular entry.</p>
+
+<p style="margin-left:11%; margin-top: 1em">By default the
+contents of the bibliography are determined by the contents
+of the <i>sourcefile</i>. It is also possible to specify the
+contents of the bibliography in the <i>htmlfile</i> itself
+by setting the <b>-i</b> option and using two special
+strings to delimit the citations to be used for generating
+the bibliography. These strings are the XHTML comments</p>
+
+<p style="margin-left:22%; margin-top: 1em">&lt;!-- BEGIN
+CITATIONS <i>delimiter</i> --&gt;</p>
+
+<p style="margin-left:22%; margin-top: 1em">&lt;!-- END
+CITATIONS <i>delimiter</i> --&gt;</p>
+
+<p style="margin-left:11%; margin-top: 1em">If these
+delimiters are found, the contents between them are searched
+for XHTML comments containing the citations (one citation
+per line), for example</p>
+
+<p style="margin-left:22%; margin-top: 1em">&lt;!-- BEGIN
+CITATIONS <i>delimiter</i> --&gt;</p>
+
+<p style="margin-left:22%; margin-top: 1em">&lt;!--
+\citation{knuth:1997} <br>
+\citation{knuth:1984} --&gt;</p>
+
+<p style="margin-left:22%; margin-top: 1em">&lt;!-- END
+CITATIONS <i>delimiter</i> --&gt;</p>
+
+<p style="margin-left:11%; margin-top: 1em">These citations
+are then used for choosing the bibliography entries from the
+<i>sourcefile</i>.</p>
+
+<p style="margin-left:11%; margin-top: 1em"><b>Special
+Field Processing</b> <br>
+Several BibTeX fields are treated specially. The filenames
+specified in the <b>postscript</b>, <b>pdf</b>, and
+<b>dvi</b> fields are relative to the <i>htmlfile</i>
+directory. In addition, <b>bib2xhtml</b> recognizes
+compressed or gzipped files (those with filenames ending in
+<b>.Z</b>, <b>.gz</b>, or <b>.z</b>).</p>
+
+<table width="100%" border="0" rules="none" frame="void"
+ cellspacing="0" cellpadding="0">
+<tr valign="top" align="left">
+<td width="11%"></td>
+<td width="9%">
+
+
+<p><b>url</b></p></td>
+<td width="2%"></td>
+<td width="78%">
+
+
+<p>If the <b>url</b> field exists, a link
+(&lsquo;&lsquo;A&rsquo;&rsquo; tag) is created. The
+destination of the link is the <b>url</b> tag&rsquo;s value.
+The bibliography entry&rsquo;s title is the source of the
+link. This can be used to create a link to a XHTML version
+of the paper, or to a version that is available by ftp.</p></td></tr>
+<tr valign="top" align="left">
+<td width="11%"></td>
+<td width="9%">
+
+
+<p><b>mailto</b></p></td>
+<td width="2%"></td>
+<td width="78%">
+
+
+<p>If the <b>mailto</b> field exists, a link
+(&lsquo;&lsquo;A&rsquo;&rsquo; tag) is created. The
+destination of the link is the <b>mailto</b> tag&rsquo;s
+value. The bibliography entry&rsquo;s author name is the
+source of the link.</p></td></tr>
+</table>
+
+<p style="margin-left:11%;"><b>postscript</b></p>
+
+<p style="margin-left:22%;">If the <b>postscript</b> field
+exists, its value is used as the name of a PostScript file.
+<b>bib2xhtml</b> creates a link to the file, and updates
+<i>htmlfile</i> with the number of pages and size of the
+PostScript file.</p>
+
+<table width="100%" border="0" rules="none" frame="void"
+ cellspacing="0" cellpadding="0">
+<tr valign="top" align="left">
+<td width="11%"></td>
+<td width="4%">
+
+
+<p><b>doi</b></p></td>
+<td width="7%"></td>
+<td width="78%">
+
+
+<p>If the <b>doi</b> field exists, its value is used as the
+designation of a digital object identifier. <b>bib2xhtml</b>
+creates a link to the object through
+<i>http://dx.doi.org</i> and updates <i>htmlfile</i> with
+the <b>doi</b> as a hyperlink. The <b>doi</b> should
+normally be in a canonical form like the following:
+<i>doi:10.1145/363347.363387.</i> However, if the <b>doi</b>
+designator is formed as an HTTP hyperlink, it will be
+converted to the canonical form by replacing the HTTP
+protocol designation and the host name of the hyperlink with
+the <i>doi:</i> literal string.</p></td></tr>
+<tr valign="top" align="left">
+<td width="11%"></td>
+<td width="4%">
+
+
+<p><b>pdf</b></p></td>
+<td width="7%"></td>
+<td width="78%">
+
+
+<p>If the <b>pdf</b> field exists, its value is used as the
+name of a PDF (portable document format) file.
+<b>bib2xhtml</b> creates a link to the file and updates
+<i>htmlfile</i> with the size of the PDF file.</p></td></tr>
+<tr valign="top" align="left">
+<td width="11%"></td>
+<td width="4%">
+
+
+<p><b>dvi</b></p></td>
+<td width="7%"></td>
+<td width="78%">
+
+
+<p>If the <b>dvi</b> field exists, its value is used as the
+name of a TeX DVI file. <b>bib2xhtml</b> creates a link to
+the file and updates <i>htmlfile</i> with the number of
+pages and size of the DVI file.</p></td></tr>
+</table>
+
+<p style="margin-left:11%;"><b>author</b>,
+<b>keywords</b></p>
+
+<p style="margin-left:22%;">The full <b>author</b> and
+<b>keywords</b> fields of each BibTeX entry are included in
+<i>htmlfile</i> as XHTML comments, and may be used by CGI
+scripts (such as <b>bibsearch</b>, which is supplied) to
+select only certain entries.</p>
+
+<p style="margin-left:11%; margin-top: 1em"><b>Hints <br>
+bib2xhtml</b>&rsquo;s LaTeX to XHTML conversion is not very
+smart. If something isn&rsquo;t being converted correctly,
+try doing it in a different way.</p>
+
+
+<p style="margin-left:11%; margin-top: 1em"><b>bib2xhtml</b>
+does not currently understand <i>\verb</i>. To get a tilde
+into a filename or an embedded URL, use <i>\~{}</i>. On the
+other hand, entries containing <i>URL</i> fields or
+<i>\url{}</i> commands, are correctly converted into
+hyperlinks. Leave such hyperlinks as they are; do not embed
+any LaTeX commands in them.</p>
+
+<p style="margin-left:11%; margin-top: 1em">The lists that
+<b>bib2xhtml</b> generates contain CSS hooks of the class
+<i>bib2xhtml</i>. You can therefore modify the appearance of
+the lists by adding style entries like the following in the
+web page&rsquo;s header.</p>
+<pre style="margin-left:11%;"> &lt;style type=&quot;text/css&quot;&gt;
+ dl.bib2xhtml dd { padding-bottom: 1em }
+ &lt;/style&gt;
+
+
+ &lt;style type=&quot;text/css&quot;&gt;
+ ul.bib2xhtml li { padding-bottom: 1em }
+ &lt;/style&gt;</pre>
+
+
+<p style="margin-left:11%; margin-top: 1em">The value of
+the named attributes can contain arbitrary HTML markup
+commands, and can thus be used for substituting the text
+with icons. For example, the following Unix command can be
+used for creating stand-alone PDF icons.</p>
+
+<pre style="margin-left:11%;"> perl bib2xhtml -e &rsquo;nosize,nopages,PDF:&lt;img src=&quot;pdficon_small.gif&quot;
+ alt=&quot;PDF&quot; border=&quot;0&quot; /&gt;&rsquo; example.bib example.html</pre>
+
+
+<p style="margin-left:11%;">Unser the Windows shell the
+corresponding command would be.</p>
+
+<pre style="margin-left:11%;"> perl bib2xhtml -e &quot;nosize,nopages,PDF:&lt;img src=&rsquo;pdficon_small.gif&rsquo;
+ alt=&rsquo;PDF&rsquo; border=&rsquo;0&rsquo; /&gt;&quot; example.bib example.html</pre>
+
+
+<p style="margin-left:11%;">A couple of PDF icons and the
+conditions for their use are available at
+<i>http://www.adobe.com/misc/linking.html#pdficon .</i></p>
+
+<p style="margin-left:11%; margin-top: 1em">To display the
+number of pages in local PDF files, the Perl module
+<i>PDF::API2</i> must be installed on the system where
+<b>bib2xhtml</b> is running. A command like the following
+will accomplish this.</p>
+
+<pre style="margin-left:11%;"> perl -MCPAN -e &quot;install PDF::API2&quot;</pre>
+
+
+<h2>OPTIONS
+<a name="OPTIONS"></a>
+</h2>
+
+
+
+<table width="100%" border="0" rules="none" frame="void"
+ cellspacing="0" cellpadding="0">
+<tr valign="top" align="left">
+<td width="11%"></td>
+<td width="3%">
+
+
+<p style="margin-top: 1em"><b>-a</b></p></td>
+<td width="8%"></td>
+<td width="78%">
+
+
+<p style="margin-top: 1em">Include the BibTeX file&rsquo;s
+abstract field in the bibliography.</p></td></tr>
+</table>
+
+<p style="margin-left:11%;"><b>-b</b>
+<i>bibtex-options</i></p>
+
+<p style="margin-left:22%;">Provide the specified options
+to the BibTeX program.</p>
+
+<table width="100%" border="0" rules="none" frame="void"
+ cellspacing="0" cellpadding="0">
+<tr valign="top" align="left">
+<td width="11%"></td>
+<td width="3%">
+
+
+<p><b>-c</b></p></td>
+<td width="8%"></td>
+<td width="78%">
+
+
+<p>Sort chronologically. Normally, the bibliography is
+ordered first by author and then by date. With this option,
+the bibliography is ordered by year, month, day, and then by
+author.</p> </td></tr>
+</table>
+
+<p style="margin-left:11%;"><b>-d</b>
+<i>delimiter</i></p>
+
+<p style="margin-left:22%;">Specify the delimiter that sets
+the bibliography off from the rest of the XHTML file. The
+default delimiter is the name of the bibliography file with
+the <b>.bib</b> extension stripped.</p>
+
+<p style="margin-left:11%;"><b>-D</b>
+<i>mappings</i></p>
+
+<p style="margin-left:22%;">Define URL to directory
+mappings. The <i>mappings</i> argument contains a sequence
+of comma-separated values. Each value contains a local file
+path and the corresponding URL, separated by an <i>@</i>
+sign. The resulting URL is used for linking the various
+paper file format types.</p>
+
+<p style="margin-left:11%;"><b>-e</b>
+<i>extended-information</i></p>
+
+<p style="margin-left:22%;">Specify how an entry&rsquo;s
+extended information will be displayed. The extended
+information is specified as a series of comma-separated
+attributes. The following plain attributes are
+supported.</p>
+
+<table width="100%" border="0" rules="none" frame="void"
+ cellspacing="0" cellpadding="0">
+<tr valign="top" align="left">
+<td width="22%"></td>
+<td width="9%">
+
+
+<p><b>notype</b></p></td>
+<td width="1%"></td>
+<td width="68%">
+
+
+<p>Do not display the file&rsquo;s type (PDF, Postscript,
+DVI).</p> </td></tr>
+<tr valign="top" align="left">
+<td width="22%"></td>
+<td width="9%">
+
+
+<p><b>nosize</b></p></td>
+<td width="1%"></td>
+<td width="68%">
+
+
+<p>Do not display the file&rsquo;s size in bytes.</p></td></tr>
+</table>
+
+<p style="margin-left:22%;"><b>nopages</b></p>
+
+<p style="margin-left:32%;">Do not display the file&rsquo;s
+number of pages.</p>
+
+<p style="margin-left:22%;"><b>nocompression</b></p>
+
+<p style="margin-left:32%;">Do not display the file&rsquo;s
+compression type.</p>
+
+<table width="100%" border="0" rules="none" frame="void"
+ cellspacing="0" cellpadding="0">
+<tr valign="top" align="left">
+<td width="22%"></td>
+<td width="7%">
+
+
+<p><b>nodoi</b></p></td>
+<td width="3%"></td>
+<td width="46%">
+
+
+<p>Do not display the file&rsquo;s DOI.</p></td>
+<td width="22%">
+</td></tr>
+</table>
+
+<p style="margin-left:22%;"><b>nobrackets</b></p>
+
+<p style="margin-left:32%;">Do not enclose the DOI link or
+the file&rsquo;s extended information in brackets.</p>
+
+<p style="margin-left:11%; margin-top: 1em">A number of
+valued attributes allow the specification of the text to
+display for various file types. These are written as a
+<i>name</i>:<i>value</i> pair. The following names are
+supported for valued attributes.</p>
+
+<table width="100%" border="0" rules="none" frame="void"
+ cellspacing="0" cellpadding="0">
+<tr valign="top" align="left">
+<td width="22%"></td>
+<td width="1%">
+
+
+<p>&#8226;</p></td>
+<td width="9%"></td>
+<td width="16%">
+
+
+<p>PostScript</p></td>
+<td width="52%">
+</td></tr>
+<tr valign="top" align="left">
+<td width="22%"></td>
+<td width="1%">
+
+
+<p>&#8226;</p></td>
+<td width="9%"></td>
+<td width="16%">
+
+
+<p>PDF</p></td>
+<td width="52%">
+</td></tr>
+<tr valign="top" align="left">
+<td width="22%"></td>
+<td width="1%">
+
+
+<p>&#8226;</p></td>
+<td width="9%"></td>
+<td width="16%">
+
+
+<p>DVI</p></td>
+<td width="52%">
+</td></tr>
+<tr valign="top" align="left">
+<td width="22%"></td>
+<td width="1%">
+
+
+<p>&#8226;</p></td>
+<td width="9%"></td>
+<td width="16%">
+
+
+<p>DOI</p></td>
+<td width="52%">
+</td></tr>
+</table>
+
+<p style="margin-left:11%;"><b>-h</b> <i>heading</i>
+Use the string <i>heading</i> instead of the default title
+when creating a new <i>htmlfile</i>. If updating an existing
+<i>htmlfile</i>, this option is ignored.</p>
+
+<table width="100%" border="0" rules="none" frame="void"
+ cellspacing="0" cellpadding="0">
+<tr valign="top" align="left">
+<td width="11%"></td>
+<td width="3%">
+
+
+<p style="margin-top: 1em"><b>-i</b></p></td>
+<td width="8%"></td>
+<td width="78%">
+
+
+<p style="margin-top: 1em">The citations are included in
+the <i>htmlfile</i>. When this option is set, the
+<i>sourcefile</i> must be a .bib file.</p></td></tr>
+<tr valign="top" align="left">
+<td width="11%"></td>
+<td width="3%">
+
+
+<p><b>-k</b></p></td>
+<td width="8%"></td>
+<td width="78%">
+
+
+<p>In labeled styles (<b>alpha</b>, <b>named</b>,
+<b>plain</b>, and <b>unsort</b>) append to the label of each
+entry its BibTeX key. Thus, the label of each entry will
+consist of the original label, followed by an em-dash,
+followed by the BibTeX key.</p></td></tr>
+</table>
+
+<p style="margin-left:11%;"><b>-m</b> <i>macro
+file</i></p>
+
+<p style="margin-left:22%;">Specify a BibTeX macro file to
+supply to BibTeX when processing the bibliography file.
+Macro files typically contain local abbreviations and other
+macro definitions.</p>
+
+<p style="margin-left:11%;"><b>-n</b> <i>author
+name</i></p>
+
+<p style="margin-left:22%;">Specify an author name to
+highlight. Any bibliography entry author names that match
+the name specified as a regular expression will be set in
+HTML <i>strong</i> tags and will therefore be displayed in a
+bold (or similar) font.</p>
+
+<table width="100%" border="0" rules="none" frame="void"
+ cellspacing="0" cellpadding="0">
+<tr valign="top" align="left">
+<td width="11%"></td>
+<td width="3%">
+
+
+<p><b>-r</b></p></td>
+<td width="8%"></td>
+<td width="78%">
+
+
+<p>Reverse the chronological sorting order. Normally, the
+bibliography is sorted (by year; BibTeX ignores the month)
+from the earliest entry to the latest entry. With this
+option, the order is reversed. Note that to obtain a
+bibliography ordered by chronological order you must also
+specify the <b>-c</b> option.</p></td></tr>
+</table>
+
+<p style="margin-left:11%;"><b>-s</b>
+<i>style</i></p>
+
+<p style="margin-left:22%;">Create a
+<i>style</i>-style bibliography. Supported styles are
+<b>empty</b> (the default), <b>plain</b>, <b>alpha</b>,
+<b>named</b>, <b>paragraph</b>, <b>unsort</b>, and
+<b>unsortlist</b>. An <b>empty</b> bibliography is a
+bulleted list. A <b>plain</b> bibliography is a numbered
+list. <b>paragraph</b> produces just paragraphs (no
+bullets). <b>unsort</b> is like <b>plain</b> except that the
+entries in the XHTML file are in the same order as as they
+are in the source file. <b>unsortlist</b> is like
+<b>unsort</b> but entry labels are bullets instead of
+numbers. An <b>alpha</b> bibliography has labels that are in
+the BibTeX alpha style. A <b>named</b> bibliography has
+labels of the form [name, year].</p>
+
+<table width="100%" border="0" rules="none" frame="void"
+ cellspacing="0" cellpadding="0">
+<tr valign="top" align="left">
+<td width="11%"></td>
+<td width="3%">
+
+
+<p><b>-t</b></p></td>
+<td width="8%"></td>
+<td width="78%">
+
+
+<p>Write a timestamp with the date at which the
+bibliography was updated to <i>htmlfile</i>.</p></td></tr>
+<tr valign="top" align="left">
+<td width="11%"></td>
+<td width="3%">
+
+
+<p><b>-v</b></p></td>
+<td width="8%"></td>
+<td width="78%">
+
+
+<p>Report version number on stderr.</p></td></tr>
+<tr valign="top" align="left">
+<td width="11%"></td>
+<td width="3%">
+
+
+<p><b>-u</b></p></td>
+<td width="8%"></td>
+<td width="78%">
+
+
+<p>Convert LaTeX special characters into the corresponding
+Unicode characters, and output XML coded in UTF-8. The
+output produced by this option may be easier to parse and
+validate with some XML parsers. By default LaTeX special
+characters are converted into HTML character entities.</p></td></tr>
+</table>
+
+<h2>FILES
+<a name="FILES"></a>
+</h2>
+
+
+<table width="100%" border="0" rules="none" frame="void"
+ cellspacing="0" cellpadding="0">
+<tr valign="top" align="left">
+<td width="11%"></td>
+<td width="15%">
+
+
+<p style="margin-top: 1em"><b>html-a.bst</b></p></td>
+<td width="6%"></td>
+<td width="46%">
+
+
+<p style="margin-top: 1em">alpha XHTML BibTeX style
+file</p> </td>
+<td width="22%">
+</td></tr>
+<tr valign="top" align="left">
+<td width="11%"></td>
+<td width="15%">
+
+
+<p><b>html-n.bst</b></p></td>
+<td width="6%"></td>
+<td width="46%">
+
+
+<p>named XHTML BibTeX style file</p></td>
+<td width="22%">
+</td></tr>
+<tr valign="top" align="left">
+<td width="11%"></td>
+<td width="15%">
+
+
+<p><b>html-u.bst</b></p></td>
+<td width="6%"></td>
+<td width="46%">
+
+
+<p>unsort XHTML BibTeX style file</p></td>
+<td width="22%">
+</td></tr>
+</table>
+
+<p style="margin-left:11%;"><b>html-aa.bst</b>,
+<b>html-na.bst</b>, <b>html-ua.bst</b></p>
+
+<p style="margin-left:32%;">versions of the above style
+files with abstracts</p>
+
+<table width="100%" border="0" rules="none" frame="void"
+ cellspacing="0" cellpadding="0">
+<tr valign="top" align="left">
+<td width="11%"></td>
+<td width="14%">
+
+
+<p><b>bibsearch</b></p></td>
+<td width="7%"></td>
+<td width="68%">
+
+
+<p>a CGI script for performing bibliography searches</p></td></tr>
+</table>
+
+<h2>SEE ALSO
+<a name="SEE ALSO"></a>
+</h2>
+
+
+
+<p style="margin-left:11%; margin-top: 1em"><b>perl</b>(L),
+<b>bibtex</b>(L).</p>
+
+<h2>BUGS
+<a name="BUGS"></a>
+</h2>
+
+
+<p style="margin-left:11%; margin-top: 1em">The LaTeX to
+XHTML translation, while decent, is not perfect.</p>
+
+<p style="margin-left:11%; margin-top: 1em">Requires bibtex
+and perl. However, I think that most sites that would want
+to convert BibTeX to XHTML will already have both programs
+installed.</p>
+
+<p style="margin-left:11%; margin-top: 1em">Relies on
+dviselect to count the number of pages in a DVI file.</p>
+
+<h2>AUTHORS
+<a name="AUTHORS"></a>
+</h2>
+
+
+<p style="margin-left:11%; margin-top: 1em">David Hull
+while at the University of Illinois at Urbana-Champaign.</p>
+
+<p style="margin-left:11%; margin-top: 1em">Diomidis
+Spinellis (<i>dds@aueb.gr</i>), Athens University of
+Economics and Business.</p>
+
+<h2>HISTORY
+<a name="HISTORY"></a>
+</h2>
+
+
+<p style="margin-left:11%; margin-top: 1em">The program was
+originally written as <b>bib2html</b> by David Hull in 1996,
+who maintained it until 1998 (version 1.33). In 2002, due to
+the lack of visible updates on the web, the program was
+adopted for maintenance, distribution, and further evolution
+by Diomidis Spinellis. Changes made by him include support
+for XHTML 1.0 and documentation bug fixes. The first public
+release of the maintenance effort was in 2004 (version 2.1).
+On March 2004 the program was renamed into <b>bib2xhtml</b>
+to avoid confusion with projects using the name <b>bib2html
+.</b> Panos Louridas (<i>louridas@aueb.gr</i>) added the
+functionality for including the citations in the <i>htmlfile
+.</i></p>
+
+<p style="margin-left:11%; margin-top: 1em">See
+<i>http://www.spinellis.gr/sw/textproc/bib2xhtml</i> for the
+latest version. This is free software, and may be modified
+or redistributed under the terms of the GNU Public
+License.</p>
+<hr>
+</body>
+</html>
diff --git a/biblio/bibtex/utils/bib2xhtml/bib2xhtml.man b/biblio/bibtex/utils/bib2xhtml/bib2xhtml.man
new file mode 100644
index 0000000000..65c0657c08
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/bib2xhtml.man
@@ -0,0 +1,534 @@
+.\" $Id: bib2xhtml.man 1.25 2010/12/08 19:02:34 dds Exp $
+.TH BIB2XHTML L "5 December 2010"
+.SH NAME
+bib2xhtml \- BibTeX bibliography to XHTML converter
+.SH SYNOPSIS
+.B bib2xhtml
+[
+.B \-a
+] [
+.B \-b
+.I bibtex-options
+] [
+.B \-c
+] [
+.B \-D
+.I mappings
+] [
+.B \-d
+.I delimiter
+] [
+.B \-e
+.I extended-information
+] [
+.B \-h
+.I heading
+] [
+.B \-i
+] [
+.B \-k
+] [
+.B \-m
+.I macro-file
+] [
+.B \-n
+.I author-name
+] [
+.B \-r
+] [
+.B \-s
+.I style
+] [
+.B \-t
+] [
+.B \-v
+] [
+.B \-u
+]
+.I sourcefile
+[
+.I htmlfile
+]
+.SH DESCRIPTION
+.LP
+.B bib2xhtml
+converts a bibtex-format bibliography file to XHTML.
+.I sourcefile
+may be either a BibTeX-format bibliography
+.RB ( .bib )
+file or a LaTeX-fomatted bibliography auxillary file
+.RB ( .aux ).
+.I htmlfile
+will often be just part of a larger
+XHTML file;
+.B bib2xhtml
+attempts to update the XHTML file in place. It does this
+by searching
+.I htmlfile
+for two special strings, which delimit
+the bibliography part of the file.
+These strings are the XHTML comments
+.IP
+<!-- BEGIN BIBLIOGRAPHY
+.I delimiter
+-->
+.IP
+<!-- END BIBLIOGRAPHY
+.I delimiter
+-->
+.P
+If these delimiters are found, the old bibliography between them is
+replaced with the new bibliography.
+Otherwise the new bibliography, with the appropriate delimiters,
+is appended to the end of
+.IR htmlfile ,
+and it will be necessary to move it to the proper location by hand.
+Note that it is possible for
+.I htmlfile
+to contain any number of bibliographies, and they may be updated
+independently.
+If no
+.I htmlfile
+is specified, the bibliography is written to standard output.
+.P
+The tag of each BibTeX bibliography entry is converted into a name
+anchor (<A NAME="tag">) in
+.IR htmlfile ,
+and may be used to construct a link to this particular entry.
+.P
+By default the contents of the bibliography are determined by
+the contents of the
+.IR sourcefile .
+It is also possible to specify the contents of the bibliography in the
+.I htmlfile
+itself by setting the
+.B \-i
+option and using two special strings to delimit
+the citations to be used for generating the bibliography.
+These strings are the XHTML comments
+.IP
+<!-- BEGIN CITATIONS
+.I delimiter
+-->
+.IP
+<!-- END CITATIONS
+.I delimiter
+-->
+.P
+If these delimiters are found, the contents between them are searched for
+XHTML comments containing the citations (one citation per line), for example
+.IP
+<!-- BEGIN CITATIONS
+.I delimiter
+-->
+.IP
+.br
+<!-- \\citation{knuth:1997}
+.br
+ \\citation{knuth:1984} -->
+.br
+.IP
+<!-- END CITATIONS
+.I delimiter
+-->
+.P
+These citations are then used for choosing the bibliography entries from
+the
+.IR sourcefile .
+.SS Special Field Processing
+.P
+Several BibTeX fields are treated specially. The filenames specified
+in the
+.BR postscript ,
+.BR pdf ,
+and
+.B dvi
+fields are relative to the
+.I htmlfile
+directory. In addition,
+.B bib2xhtml
+recognizes compressed or gzipped files
+(those with filenames ending in
+.BR .Z ,
+.BR .gz ,
+or
+.BR .z ).
+.TP
+.B url
+If the
+.B url
+field exists, a link (``A'' tag) is created. The destination
+of the link is the
+.B url
+tag's value.
+The bibliography entry's title is the source of the link.
+This can be used to create a link to a XHTML version of the paper,
+or to a version that is available by ftp.
+.TP
+.B mailto
+If the
+.B mailto
+field exists, a link (``A'' tag) is created. The destination
+of the link is the
+.B mailto
+tag's value.
+The bibliography entry's author name is the source of the link.
+.TP
+.B postscript
+If the
+.B postscript
+field exists, its value is used as the name of a PostScript file.
+.B bib2xhtml
+creates a link to the file,
+and updates
+.I htmlfile
+with the number of pages and size of the PostScript file.
+.TP
+.B doi
+If the
+.B doi
+field exists, its value is used as the designation of a digital
+object identifier.
+.B bib2xhtml
+creates a link to the object through
+.I http://dx.doi.org
+and updates
+.I htmlfile
+with the
+.B doi
+as a hyperlink.
+The
+.B doi
+should normally be in a canonical form like the following:
+.I doi:10.1145/363347.363387.
+However,
+if the
+.B doi
+designator is formed as an HTTP hyperlink, it will be converted to the
+canonical form by replacing the HTTP protocol designation and the host
+name of the hyperlink with the
+.I doi:
+literal string.
+.TP
+.B pdf
+If the
+.B pdf
+field exists, its value is used as the name of a PDF (portable document
+format) file.
+.B bib2xhtml
+creates a link to the file and updates
+.I htmlfile
+with the size of the PDF file.
+.TP
+.B dvi
+If the
+.B dvi
+field exists, its value is used as the name of a TeX DVI file.
+.B bib2xhtml
+creates a link to the file and updates
+.I htmlfile
+with the number of pages and size of the DVI file.
+.TP
+.BR author , " keywords"
+The full
+.B author
+and
+.B keywords
+fields of each BibTeX entry are included in
+.I htmlfile
+as XHTML comments, and may be used by CGI scripts (such as
+.BR bibsearch ,
+which is supplied) to select only certain entries.
+.SS Hints
+.BR bib2xhtml 's
+LaTeX to XHTML conversion is not very smart.
+If something isn't being converted correctly, try doing it in a different way.
+.P
+.B bib2xhtml
+does not currently understand \fI\\verb\fR.
+To get a tilde into a filename or an embedded URL, use \fI\\~{}\fR.
+On the other hand, entries containing \fIURL\fR fields or
+\fI\\url{}\fR commands,
+are correctly converted into hyperlinks.
+Leave such hyperlinks as they are;
+do not embed any LaTeX commands in them.
+.P
+The lists that
+.B bib2xhtml
+generates contain CSS hooks of the class \fIbib2xhtml\fR.
+You can therefore modify the appearance of the lists
+by adding style entries like the following in the web page's header.
+.ft C
+.nf
+ <style type="text/css">
+ dl.bib2xhtml dd { padding-bottom: 1em }
+ </style>
+
+ <style type="text/css">
+ ul.bib2xhtml li { padding-bottom: 1em }
+ </style>
+.fi
+.ft P
+.P
+The value of the named attributes can contain arbitrary HTML markup commands,
+and can thus be used for substituting the text with icons.
+For example, the following Unix command can be used for creating stand-alone
+PDF icons.
+.ft C
+.nf
+ perl bib2xhtml -e 'nosize,nopages,PDF:<img src="pdficon_small.gif"
+ alt="PDF" border="0" />' example.bib example.html
+.fi
+.ft P
+Unser the Windows shell the corresponding command would be.
+.ft C
+.nf
+ perl bib2xhtml -e "nosize,nopages,PDF:<img src='pdficon_small.gif'
+ alt='PDF' border='0' />" example.bib example.html
+.fi
+.ft P
+A couple of PDF icons and the conditions for their use are available
+at
+.I http://www.adobe.com/misc/linking.html#pdficon .
+.P
+To display the number of pages in local PDF files, the Perl module
+\fIPDF::API2\fP must be installed on the system where
+.B bib2xhtml
+is running.
+A command like the following will accomplish this.
+.ft C
+.nf
+ perl -MCPAN -e "install PDF::API2"
+.fi
+.ft P
+
+.SH OPTIONS
+.TP
+.B \-a
+Include the BibTeX file's abstract field in the bibliography.
+.TP
+.BI \-b " bibtex-options"
+Provide the specified options to the BibTeX program.
+.TP
+.B \-c
+Sort chronologically. Normally, the bibliography is ordered first by
+author and then by date. With this option, the bibliography is
+ordered by year, month, day, and then by author.
+.TP
+.BI \-d " delimiter"
+Specify the delimiter that sets the bibliography off from the rest
+of the XHTML file. The default delimiter is the name of the bibliography
+file with the
+.B .bib
+extension stripped.
+.TP
+.BI \-D " mappings"
+Define URL to directory mappings.
+The \fImappings\fP argument contains a sequence of comma-separated
+values.
+Each value contains a local file path and the corresponding URL,
+separated by an \fI@\fP sign.
+The resulting URL is used for linking the various paper file format types.
+.TP
+.BI \-e " extended-information"
+Specify how an entry's extended information will be displayed.
+The extended information is specified as a series of comma-separated
+attributes.
+The following plain attributes are supported.
+.RS
+.TP
+.B notype
+Do not display the file's type (PDF, Postscript, DVI).
+.TP
+.B nosize
+Do not display the file's size in bytes.
+.TP
+.B nopages
+Do not display the file's number of pages.
+.TP
+.B nocompression
+Do not display the file's compression type.
+.TP
+.B nodoi
+Do not display the file's DOI.
+.TP
+.B nobrackets
+Do not enclose the DOI link or the file's extended information in brackets.
+.RE
+.LP
+A number of valued attributes allow the specification of the text
+to display for various file types.
+These are written as a \fIname\fP:\fIvalue\fP pair.
+The following names are supported for valued attributes.
+.RS
+.IP \(bu
+PostScript
+.IP \(bu
+PDF
+.IP \(bu
+DVI
+.IP \(bu
+DOI
+.RE
+.BI \-h " heading"
+Use the string
+.I heading
+instead of the default title when creating a new
+.IR htmlfile .
+If updating an existing
+.IR htmlfile ,
+this option is ignored.
+.TP
+.BI \-i
+The citations are included in the
+.IR htmlfile .
+When this option is set, the
+.I sourcefile
+must be a .bib file.
+.TP
+.B -k
+In labeled styles
+.BR "" ( alpha ,
+.BR named ,
+.BR plain ,
+and
+.BR unsort )
+append to the label of each entry its BibTeX key.
+Thus, the label of each entry will consist of the original label,
+followed by an em-dash, followed by the BibTeX key.
+.TP
+.BI \-m " macro file"
+Specify a BibTeX macro file to supply to BibTeX when processing the
+bibliography file.
+Macro files typically contain local abbreviations and other macro
+definitions.
+.TP
+.BI \-n " author name"
+Specify an author name to highlight.
+Any bibliography entry author names that match the name specified as a regular
+expression will be set in HTML \fIstrong\fP tags and will therefore
+be displayed in a bold (or similar) font.
+.TP
+.B -r
+Reverse the chronological sorting order. Normally, the bibliography
+is sorted (by year; BibTeX ignores the month)
+from the earliest entry to the latest entry.
+With this option, the order is reversed.
+Note that to obtain a bibliography ordered by chronological order you
+must also specify the
+.B \-c
+option.
+.TP
+.BI \-s " style"
+Create a
+.IR style \-style
+bibliography. Supported styles are
+.B empty
+(the default),
+.BR plain ,
+.BR alpha ,
+.BR named ,
+.BR paragraph ,
+.BR unsort ,
+and
+.BR unsortlist .
+An
+.B empty
+bibliography is a bulleted list. A
+.B plain
+bibliography is a numbered list.
+.B paragraph
+produces just paragraphs (no bullets).
+.B unsort
+is like
+.B plain
+except that the entries in the XHTML file are in the same order as
+as they are in the source file.
+.B unsortlist
+is like
+.B unsort
+but entry labels are bullets instead of numbers.
+An
+.B alpha
+bibliography has labels that are in the BibTeX alpha style. A
+.B named
+bibliography has labels of the form [name, year].
+.TP
+.B \-t
+Write a timestamp with the date at which the bibliography was
+updated to
+.IR htmlfile .
+.TP
+.B \-v
+Report version number on stderr.
+.TP
+.B \-u
+Convert LaTeX special characters into the corresponding
+Unicode characters, and output XML coded in UTF-8.
+The output produced by this option may be easier to parse and validate
+with some XML parsers.
+By default LaTeX special characters are converted into HTML character entities.
+.SH FILES
+.PD 0
+.TP 14
+.B html-a.bst
+alpha XHTML BibTeX style file
+.TP
+.B html-n.bst
+named XHTML BibTeX style file
+.TP
+.B html-u.bst
+unsort XHTML BibTeX style file
+.TP
+.BR html-aa.bst ", " html-na.bst ", " html-ua.bst
+versions of the above style files with abstracts
+.TP
+.B bibsearch
+a CGI script for performing bibliography searches
+.PD
+.SH SEE ALSO
+.BR perl (L),
+.BR bibtex (L).
+.br
+.ne 8
+.SH BUGS
+.LP
+The LaTeX to XHTML translation, while decent, is not perfect.
+.LP
+Requires bibtex and perl. However, I think that most
+sites that would want to convert BibTeX to XHTML will already
+have both programs installed.
+.LP
+Relies on dviselect to count the number of pages in a DVI file.
+.SH AUTHORS
+David Hull
+while at the University of Illinois at Urbana-Champaign.
+.LP
+Diomidis Spinellis
+.RI ( dds@aueb.gr ),
+Athens University of Economics and Business.
+
+.SH HISTORY
+The program was originally written as
+.B bib2html
+by David Hull in 1996, who
+maintained it until 1998 (version 1.33).
+In 2002, due to the lack of visible updates on the web,
+the program was adopted for maintenance, distribution, and further evolution
+by Diomidis Spinellis.
+Changes made by him include support for XHTML 1.0 and documentation bug fixes.
+The first public release of the maintenance effort was in 2004 (version 2.1).
+On March 2004 the program was renamed into
+.B bib2xhtml
+to avoid confusion with projects using the name
+.B bib2html .
+Panos Louridas
+.RI ( louridas@aueb.gr )
+added the functionality for including the citations in the
+.I htmlfile .
+.LP
+See
+.I http://www.spinellis.gr/sw/textproc/bib2xhtml
+for the latest version.
+This is free software, and may be modified or redistributed under
+the terms of the GNU Public License.
diff --git a/biblio/bibtex/utils/bib2xhtml/bib2xhtml.pdf b/biblio/bibtex/utils/bib2xhtml/bib2xhtml.pdf
new file mode 100644
index 0000000000..e2982477da
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/bib2xhtml.pdf
Binary files differ
diff --git a/biblio/bibtex/utils/bib2xhtml/bib2xhtml.txt b/biblio/bibtex/utils/bib2xhtml/bib2xhtml.txt
new file mode 100644
index 0000000000..862f52fcbd
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/bib2xhtml.txt
@@ -0,0 +1,299 @@
+BIB2XHTML(L) BIB2XHTML(L)
+
+
+
+1mNAME0m
+ bib2xhtml - BibTeX bibliography to XHTML converter
+
+1mSYNOPSIS0m
+ 1mbib2xhtml 22m[ 1m-a 22m] [ 1m-b 4m22mbibtex-options24m ] [ 1m-c 22m] [ 1m-D 4m22mmappings24m ] [ 1m-d0m
+ 4mdelimiter24m ] [ 1m-e 4m22mextended-information24m ] [ 1m-h 4m22mheading24m ] [ 1m-i 22m] [ 1m-k 22m] [
+ 1m-m 4m22mmacro-file24m ] [ 1m-n 4m22mauthor-name24m ] [ 1m-r 22m] [ 1m-s 4m22mstyle24m ] [ 1m-t 22m] [ 1m-v 22m] [
+ 1m-u 22m] 4msourcefile24m [ 4mhtmlfile24m ]
+
+1mDESCRIPTION0m
+ 1mbib2xhtml 22mconverts a bibtex-format bibliography file to XHTML. 4msource-0m
+ 4mfile24m may be either a BibTeX-format bibliography (1m.bib22m) file or a LaTeX-
+ fomatted bibliography auxillary file (1m.aux22m). 4mhtmlfile24m will often be
+ just part of a larger XHTML file; 1mbib2xhtml 22mattempts to update the
+ XHTML file in place. It does this by searching 4mhtmlfile24m for two spe-
+ cial strings, which delimit the bibliography part of the file. These
+ strings are the XHTML comments
+
+ <!-- BEGIN BIBLIOGRAPHY 4mdelimiter24m -->
+
+ <!-- END BIBLIOGRAPHY 4mdelimiter24m -->
+
+ If these delimiters are found, the old bibliography between them is
+ replaced with the new bibliography. Otherwise the new bibliography,
+ with the appropriate delimiters, is appended to the end of 4mhtmlfile24m,
+ and it will be necessary to move it to the proper location by hand.
+ Note that it is possible for 4mhtmlfile24m to contain any number of bibli-
+ ographies, and they may be updated independently. If no 4mhtmlfile24m is
+ specified, the bibliography is written to standard output.
+
+ The tag of each BibTeX bibliography entry is converted into a name
+ anchor (<A NAME="tag">) in 4mhtmlfile24m, and may be used to construct a
+ link to this particular entry.
+
+ By default the contents of the bibliography are determined by the con-
+ tents of the 4msourcefile24m. It is also possible to specify the contents
+ of the bibliography in the 4mhtmlfile24m itself by setting the 1m-i 22moption and
+ using two special strings to delimit the citations to be used for gen-
+ erating the bibliography. These strings are the XHTML comments
+
+ <!-- BEGIN CITATIONS 4mdelimiter24m -->
+
+ <!-- END CITATIONS 4mdelimiter24m -->
+
+ If these delimiters are found, the contents between them are searched
+ for XHTML comments containing the citations (one citation per line),
+ for example
+
+ <!-- BEGIN CITATIONS 4mdelimiter24m -->
+
+ <!-- \citation{knuth:1997}
+ \citation{knuth:1984} -->
+
+ <!-- END CITATIONS 4mdelimiter24m -->
+
+ These citations are then used for choosing the bibliography entries
+ from the 4msourcefile24m.
+
+ 1mSpecial Field Processing0m
+ Several BibTeX fields are treated specially. The filenames specified
+ in the 1mpostscript22m, 1mpdf22m, and 1mdvi 22mfields are relative to the 4mhtmlfile0m
+ directory. In addition, 1mbib2xhtml 22mrecognizes compressed or gzipped
+ files (those with filenames ending in 1m.Z22m, 1m.gz22m, or 1m.z22m).
+
+ 1murl 22mIf the 1murl 22mfield exists, a link (``A'' tag) is created. The
+ destination of the link is the 1murl 22mtag's value. The bibliogra-
+ phy entry's title is the source of the link. This can be used
+ to create a link to a XHTML version of the paper, or to a ver-
+ sion that is available by ftp.
+
+ 1mmailto 22mIf the 1mmailto 22mfield exists, a link (``A'' tag) is created. The
+ destination of the link is the 1mmailto 22mtag's value. The bibliog-
+ raphy entry's author name is the source of the link.
+
+ 1mpostscript0m
+ If the 1mpostscript 22mfield exists, its value is used as the name of
+ a PostScript file. 1mbib2xhtml 22mcreates a link to the file, and
+ updates 4mhtmlfile24m with the number of pages and size of the Post-
+ Script file.
+
+ 1mdoi 22mIf the 1mdoi 22mfield exists, its value is used as the designation of
+ a digital object identifier. 1mbib2xhtml 22mcreates a link to the
+ object through 4mhttp://dx.doi.org24m and updates 4mhtmlfile24m with the
+ 1mdoi 22mas a hyperlink. The 1mdoi 22mshould normally be in a canonical
+ form like the following: 4mdoi:10.1145/363347.363387.24m However, if
+ the 1mdoi 22mdesignator is formed as an HTTP hyperlink, it will be
+ converted to the canonical form by replacing the HTTP protocol
+ designation and the host name of the hyperlink with the 4mdoi:0m
+ literal string.
+
+ 1mpdf 22mIf the 1mpdf 22mfield exists, its value is used as the name of a PDF
+ (portable document format) file. 1mbib2xhtml 22mcreates a link to
+ the file and updates 4mhtmlfile24m with the size of the PDF file.
+
+ 1mdvi 22mIf the 1mdvi 22mfield exists, its value is used as the name of a TeX
+ DVI file. 1mbib2xhtml 22mcreates a link to the file and updates
+ 4mhtmlfile24m with the number of pages and size of the DVI file.
+
+ 1mauthor22m, 1mkeywords0m
+ The full 1mauthor 22mand 1mkeywords 22mfields of each BibTeX entry are
+ included in 4mhtmlfile24m as XHTML comments, and may be used by CGI
+ scripts (such as 1mbibsearch22m, which is supplied) to select only
+ certain entries.
+
+ 1mHints0m
+ 1mbib2xhtml22m's LaTeX to XHTML conversion is not very smart. If something
+ isn't being converted correctly, try doing it in a different way.
+
+ 1mbib2xhtml 22mdoes not currently understand 4m\verb24m. To get a tilde into a
+ filename or an embedded URL, use 4m\~{}24m. On the other hand, entries con-
+ taining 4mURL24m fields or 4m\url{}24m commands, are correctly converted into
+ hyperlinks. Leave such hyperlinks as they are; do not embed any LaTeX
+ commands in them.
+
+ The lists that 1mbib2xhtml 22mgenerates contain CSS hooks of the class
+ 4mbib2xhtml24m. You can therefore modify the appearance of the lists by
+ adding style entries like the following in the web page's header.
+ <style type="text/css">
+ dl.bib2xhtml dd { padding-bottom: 1em }
+ </style>
+
+ <style type="text/css">
+ ul.bib2xhtml li { padding-bottom: 1em }
+ </style>
+
+ The value of the named attributes can contain arbitrary HTML markup
+ commands, and can thus be used for substituting the text with icons.
+ For example, the following Unix command can be used for creating stand-
+ alone PDF icons.
+ perl bib2xhtml -e 'nosize,nopages,PDF:<img src="pdficon_small.gif"
+ alt="PDF" border="0" />' example.bib example.html
+ Unser the Windows shell the corresponding command would be.
+ perl bib2xhtml -e "nosize,nopages,PDF:<img src='pdficon_small.gif'
+ alt='PDF' border='0' />" example.bib example.html
+ A couple of PDF icons and the conditions for their use are available at
+ 4mhttp://www.adobe.com/misc/linking.html#pdficon24m 4m.0m
+
+ To display the number of pages in local PDF files, the Perl module
+ 4mPDF::API224m must be installed on the system where 1mbib2xhtml 22mis running.
+ A command like the following will accomplish this.
+ perl -MCPAN -e "install PDF::API2"
+
+
+1mOPTIONS0m
+ 1m-a 22mInclude the BibTeX file's abstract field in the bibliography.
+
+ 1m-b 4m22mbibtex-options0m
+ Provide the specified options to the BibTeX program.
+
+ 1m-c 22mSort chronologically. Normally, the bibliography is ordered
+ first by author and then by date. With this option, the bibli-
+ ography is ordered by year, month, day, and then by author.
+
+ 1m-d 4m22mdelimiter0m
+ Specify the delimiter that sets the bibliography off from the
+ rest of the XHTML file. The default delimiter is the name of
+ the bibliography file with the 1m.bib 22mextension stripped.
+
+ 1m-D 4m22mmappings0m
+ Define URL to directory mappings. The 4mmappings24m argument con-
+ tains a sequence of comma-separated values. Each value contains
+ a local file path and the corresponding URL, separated by an 4m@0m
+ sign. The resulting URL is used for linking the various paper
+ file format types.
+
+ 1m-e 4m22mextended-information0m
+ Specify how an entry's extended information will be displayed.
+ The extended information is specified as a series of comma-sepa-
+ rated attributes. The following plain attributes are supported.
+
+ 1mnotype 22mDo not display the file's type (PDF, Postscript, DVI).
+
+ 1mnosize 22mDo not display the file's size in bytes.
+
+ 1mnopages0m
+ Do not display the file's number of pages.
+
+ 1mnocompression0m
+ Do not display the file's compression type.
+
+ 1mnodoi 22mDo not display the file's DOI.
+
+ 1mnobrackets0m
+ Do not enclose the DOI link or the file's extended infor-
+ mation in brackets.
+
+ A number of valued attributes allow the specification of the text to
+ display for various file types. These are written as a 4mname24m:4mvalue0m
+ pair. The following names are supported for valued attributes.
+
+ o PostScript
+
+ o PDF
+
+ o DVI
+
+ o DOI
+ 1m-h 4m22mheading24m Use the string 4mheading24m instead of the default title when
+ creating a new 4mhtmlfile24m. If updating an existing 4mhtmlfile24m, this option
+ is ignored.
+
+ 1m-i 22mThe citations are included in the 4mhtmlfile24m. When this option is
+ set, the 4msourcefile24m must be a .bib file.
+
+ 1m-k 22mIn labeled styles (1malpha22m, 1mnamed22m, 1mplain22m, and 1munsort22m) append to
+ the label of each entry its BibTeX key. Thus, the label of each
+ entry will consist of the original label, followed by an em-
+ dash, followed by the BibTeX key.
+
+ 1m-m 4m22mmacro24m 4mfile0m
+ Specify a BibTeX macro file to supply to BibTeX when processing
+ the bibliography file. Macro files typically contain local
+ abbreviations and other macro definitions.
+
+ 1m-n 4m22mauthor24m 4mname0m
+ Specify an author name to highlight. Any bibliography entry
+ author names that match the name specified as a regular expres-
+ sion will be set in HTML 4mstrong24m tags and will therefore be dis-
+ played in a bold (or similar) font.
+
+ 1m-r 22mReverse the chronological sorting order. Normally, the bibliog-
+ raphy is sorted (by year; BibTeX ignores the month) from the
+ earliest entry to the latest entry. With this option, the order
+ is reversed. Note that to obtain a bibliography ordered by
+ chronological order you must also specify the 1m-c 22moption.
+
+ 1m-s 4m22mstyle0m
+ Create a 4mstyle24m-style bibliography. Supported styles are 1mempty0m
+ (the default), 1mplain22m, 1malpha22m, 1mnamed22m, 1mparagraph22m, 1munsort22m, and
+ 1munsortlist22m. An 1mempty 22mbibliography is a bulleted list. A 1mplain0m
+ bibliography is a numbered list. 1mparagraph 22mproduces just para-
+ graphs (no bullets). 1munsort 22mis like 1mplain 22mexcept that the
+ entries in the XHTML file are in the same order as as they are
+ in the source file. 1munsortlist 22mis like 1munsort 22mbut entry labels
+ are bullets instead of numbers. An 1malpha 22mbibliography has
+ labels that are in the BibTeX alpha style. A 1mnamed 22mbibliography
+ has labels of the form [name, year].
+
+ 1m-t 22mWrite a timestamp with the date at which the bibliography was
+ updated to 4mhtmlfile24m.
+
+ 1m-v 22mReport version number on stderr.
+
+ 1m-u 22mConvert LaTeX special characters into the corresponding Unicode
+ characters, and output XML coded in UTF-8. The output produced
+ by this option may be easier to parse and validate with some XML
+ parsers. By default LaTeX special characters are converted into
+ HTML character entities.
+
+1mFILES0m
+ 1mhtml-a.bst 22malpha XHTML BibTeX style file
+ 1mhtml-n.bst 22mnamed XHTML BibTeX style file
+ 1mhtml-u.bst 22munsort XHTML BibTeX style file
+ 1mhtml-aa.bst22m, 1mhtml-na.bst22m, 1mhtml-ua.bst0m
+ versions of the above style files with abstracts
+ 1mbibsearch 22ma CGI script for performing bibliography searches
+
+1mSEE ALSO0m
+ 1mperl22m(L), 1mbibtex22m(L).
+
+1mBUGS0m
+ The LaTeX to XHTML translation, while decent, is not perfect.
+
+ Requires bibtex and perl. However, I think that most sites that would
+ want to convert BibTeX to XHTML will already have both programs
+ installed.
+
+ Relies on dviselect to count the number of pages in a DVI file.
+
+1mAUTHORS0m
+ David Hull while at the University of Illinois at Urbana-Champaign.
+
+ Diomidis Spinellis (4mdds@aueb.gr24m), Athens University of Economics and
+ Business.
+
+
+1mHISTORY0m
+ The program was originally written as 1mbib2html 22mby David Hull in 1996,
+ who maintained it until 1998 (version 1.33). In 2002, due to the lack
+ of visible updates on the web, the program was adopted for maintenance,
+ distribution, and further evolution by Diomidis Spinellis. Changes
+ made by him include support for XHTML 1.0 and documentation bug fixes.
+ The first public release of the maintenance effort was in 2004 (version
+ 2.1). On March 2004 the program was renamed into 1mbib2xhtml 22mto avoid
+ confusion with projects using the name 1mbib2html . 22mPanos Louridas
+ (4mlouridas@aueb.gr24m) added the functionality for including the citations
+ in the 4mhtmlfile24m 4m.0m
+
+ See 4mhttp://www.spinellis.gr/sw/textproc/bib2xhtml24m for the latest ver-
+ sion. This is free software, and may be modified or redistributed
+ under the terms of the GNU Public License.
+
+
+
+ 5 December 2010 BIB2XHTML(L)
diff --git a/biblio/bibtex/utils/bib2xhtml/bibsearch b/biblio/bibtex/utils/bib2xhtml/bibsearch
new file mode 100755
index 0000000000..066199307f
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/bibsearch
@@ -0,0 +1,333 @@
+#!/local/bin/perl -T -w
+
+# $Id: bibsearch,v 1.20 1998/02/11 19:22:30 hull Exp hull $
+#
+# CGI script for search bibliographies.
+#
+# Copyright 1995, 1996 David Hull.
+# David Hull / hull@cs.uiuc.edu / http://www.uiuc.edu/ph/www/dlhull
+
+# Call this script using the HTML form something like:
+#
+# <FORM ACTION="/cgi-bin/bibsearch/path/to/database" method="POST">
+# <PRE><SMALL>
+# Keywords: <INPUT TYPE=TEXT NAME="keyword" SIZE=40>
+# Authors: <INPUT TYPE=TEXT NAME="author" SIZE=40>
+# <INPUT TYPE=SUBMIT VALUE="Submit search"> <INPUT TYPE=RESET> <INPUT TYPE=SUBMIT NAME="help" VALUE="Help">
+# </SMALL></PRE>
+# </FORM>
+#
+# If the "database" input tag is omitted, $DEFAULT_BIB will be searched.
+# It should *always* have a leading "/", even when tilde expansion
+# is to be performed.
+#
+# Note: if the database file specified in the "database"
+# input tag contains slashes, they should be encoded as %2F
+# to insure that someone's browser does not munge them.
+#
+# You can also write the URL and put it directly in an HTML file.
+# Here's an example:
+#
+# <A HREF="/cgi-bin/bibsearch/path/to/database?author=hull"
+# >my publications</A>
+#
+
+### Configuration section.
+
+# Path of default bibliography database, if not specified in URL.
+$DEFAULT_BIB_PATH = "/usr/dcs/www/www-root/papers/index.html";
+
+# URL of default biblipgraphy database, if not specified in URL.
+$DEFAULT_BIB_URL = "http://pertsserver.cs.uiuc.edu/papers/index.html";
+
+### End of configuration section.
+
+%iso_map = (
+ "\300", 'A', # (192) A grave
+ "\301", 'A', # (193) A acute
+ "\302", 'A', # (194) A circumflex
+ "\303", 'A', # (195) A tilde
+ "\304", 'A', # (196) A umlaut
+ "\305", 'A', # (197) A ring
+ "\306", 'AE', # (198) AE ligature
+ "\307", 'C', # (199) C cedilla
+ "\310", 'E', # (200) E grave
+ "\311", 'E', # (201) E acute
+ "\312", 'E', # (202) E circumflex
+ "\313", 'E', # (203) E umlaut
+ "\314", 'I', # (204) I grave
+ "\315", 'I', # (205) I acute
+ "\316", 'I', # (206) I circumflex
+ "\317", 'I', # (207) I umlaut
+ "\321", 'N', # (209) N tilde
+ "\322", 'O', # (210) O grave
+ "\323", 'O', # (211) O acute
+ "\324", 'O', # (212) O circumflex
+ "\325", 'O', # (213) O tilde
+ "\326", 'O', # (214) O umlaut
+ "\330", 'O', # (216) O slash
+ "\331", 'U', # (217) U grave
+ "\332", 'U', # (218) U acute
+ "\333", 'U', # (219) U circumflex
+ "\334", 'U', # (220) U umlaut
+ "\335", 'Y', # (221) Y acute
+ "\337", 'ss', # (223) sz ligature
+ "\340", 'a', # (224) a grave
+ "\341", 'a', # (225) a acute
+ "\342", 'a', # (226) a circumflex
+ "\343", 'a', # (227) a tilde
+ "\344", 'a', # (228) a umlaut
+ "\345", 'a', # (229) a ring
+ "\346", 'ae', # (230) ae ligature
+ "\347", 'c', # (231) c cedilla
+ "\350", 'e', # (232) e grave
+ "\351", 'e', # (233) e acute
+ "\352", 'e', # (234) e circumflex
+ "\353", 'e', # (235) e umlaut
+ "\354", 'i', # (236) i grave
+ "\355", 'i', # (237) i acute
+ "\356", 'i', # (238) i circumflex
+ "\357", 'i', # (239) i umlaut
+ "\361", 'n', # (241) n tilde
+ "\362", 'o', # (242) o grave
+ "\363", 'o', # (243) o acute
+ "\364", 'o', # (244) o circumflex
+ "\365", 'o', # (245) o tilde
+ "\366", 'o', # (246) o umlaut
+ "\370", 'o', # (248) o slash
+ "\371", 'u', # (249) u grave
+ "\372", 'u', # (250) u acute
+ "\373", 'u', # (251) u circumflex
+ "\374", 'u', # (252) u umlaut
+ "\375", 'y', # (253) y acute
+ "\377", 'y', # (255) y umlaut
+);
+$iso_pat = join('', keys %iso_map);
+$iso_pat =~ s/(\W)/\\$1/g;
+$iso_pat = '[' . $iso_pat . ']';
+
+&get_args;
+
+if ($in{'help'}) {
+ print STDOUT <<_EOF_;
+Content-type: text/html
+
+<HTML><HEAD>
+<TITLE>Search Help</TITLE>
+</HEAD><BODY>
+<H1>Search help</H1>
+To find a paper, you can specify keywords, authors, or both.
+If you specify both keywords and authors, only papers that match
+on both the keywords and authors will be found.
+Matches are case insensitive.<P>
+
+For the keyword field, you can specify multiple keywords separated by commas.
+A paper will match if <EM>any one</EM> of the keywords matches.
+A keyword will match only at the beginning of a word, so that
+``do'' will match ``domain'' but not ``tandom.''
+The keyword search finds words anywhere in the bibliography entry.<P>
+
+For author field, you can specify multiply authors separated by commas.
+A paper will match only if <EM>all</EM> of the authors match.
+An author must match a whole word, so that ``smith'' will not match
+``Smithy.''
+Because first names are often abbreviated in bibliographies,
+it is safer to search only on last names.<P>
+</BODY></HTML>
+_EOF_
+ exit 0;
+}
+
+# Keywords match on any keyword.
+# Keywords match only at start of word.
+if (defined($in{'keyword'}) && ($in{'keyword'} ne '')) {
+ $keyword = $in{'keyword'};
+ local(@keywords) = split(/\s*,\s*/, $keyword);
+ local($s);
+
+ foreach $s (@keywords) {
+ $s =~ s/\s+/\\s\+/g; # Whitespace matches any amount of whitespace.
+ $s =~ s/(\w+)/\\b$1/g; # Match only at start of words.
+ }
+ $keyword_pat = join('|', @keywords);
+}
+# Authors match on all authors.
+# Authors match only whole words.
+if (defined($in{'author'}) && ($in{'author'} ne "")) {
+ $author = $in{'author'};
+ @author_pat = split(/\s*,\s*/, &map_iso($author));
+ local($s);
+ foreach $s (@author_pat) {
+ $s =~ s/\W/ /g; # Change non-word to whitespace.
+ $s =~ s/(\w+)/\\b$1\\b/g; # Match only at whole words.
+ $s =~ s/\s+/\\s\+/g; # Whitespace matches any amount of whitespace.
+ }
+}
+
+if (defined($ENV{'PATH_INFO'})) {
+ $db_url = "http://${ENV{SERVER_NAME}}${ENV{'PATH_INFO'}}";
+} else {
+ $db_url = $DEFAULT_BIB_URL;
+}
+
+if (defined($ENV{'PATH_TRANSLATED'})) {
+ $db_file = $ENV{'PATH_TRANSLATED'};
+} else {
+ $db_file = $DEFAULT_BIB_PATH;
+}
+
+# Fake ".nosuch" URL in BASE tag is so that browser caching does not get
+# confused (as Netscape 1.1N did without it).
+if (!$in{"noheader"}) {
+ print STDOUT <<_EOF_;
+Content-type: text/html
+
+<HTML><HEAD>
+<BASE HREF="$db_url.nosuch">
+<TITLE>Search Results</TITLE>
+</HEAD>
+<BODY>
+<H1>Search results for
+_EOF_
+ print "author `$author'\n" if (defined($author));
+ print "keyword `$keyword'\n" if (defined($keyword));
+ print STDOUT <<_EOF_;
+</H1>
+Search performed on <A HREF="$db_url">$db_url</A>.<P>
+<HR>
+_EOF_
+# print "keyword_pat = $keyword_pat<P>\n";
+# print "author_pat = " . join(', ', @author_pat) . "<P>\n";
+}
+
+#&print_env;
+#&print_request;
+
+open(FILE, "<$db_file") || die "Can't open $db_file: $!";
+
+$found = 0;
+
+while (1) {
+ # Skip to start of bibliography.
+ while(<FILE>) {
+ last if /^<!-- BEGIN BIBLIOGRAPHY/;
+ }
+
+ # Read the next couple of lines to determine what kind of list
+ # the bibliography is.
+ $open_list = '<UL>';
+ $close_list = '</UL>';
+line:
+ while (<FILE>) {
+ if (m/^\<[DU]L/) {
+ $close_list = $open_list = $_;
+ $close_list =~ s/^\<(\w+).*/<\/$1>/;
+ }
+ last line if (m/^\s*$/);
+ }
+ print "$open_list";
+
+ $entry = '';
+bib_entry:
+ while(<FILE>) {
+ last bib_entry if (/^<!-- END BIBLIOGRAPHY/);
+
+ if (m/^$/) {
+ if (defined($keyword)) {
+ if ($entry !~ m/$keyword_pat/i) {
+ $entry = ''; next bib_entry;
+ }
+ }
+ if (defined($author)) {
+ if ($entry !~ m/<!-- Authors: ([^-]*)-->/) {
+ $entry = ''; next bib_entry;
+ }
+ local($bib_authors) = $1;
+ foreach $s (@author_pat) {
+ if ($bib_authors !~ m/$s/i) {
+ $entry = ''; next bib_entry;
+ }
+ }
+ }
+
+ $found = 1;
+
+ # Fully qualify local HREFs.
+ $entry =~ s/HREF=\"(\#[^\"]*)\"/HREF=\"$db_url$1\"/g;
+ print STDOUT $entry;
+ $entry = '';
+ } else {
+ $entry .= $_;
+ }
+ }
+
+ if (!$in{"noheader"}) {
+ print "$close_list";
+ }
+
+ last if eof;
+}
+
+if (!$found) {
+ print "No matches found.<P>\n";
+}
+
+if (!$in{"noheader"}) {
+ print STDOUT <<_EOF_;
+</BODY></HTML>
+_EOF_
+}
+
+close(FILE);
+exit;
+
+sub print_env {
+ local ($key);
+
+ print "Environment:<BR>\n<UL>\n";
+ for $key (keys(%ENV)) {
+ print "<LI> $key : $ENV{$key}\n";
+ }
+ print "</UL><P>\n";
+}
+
+sub print_request {
+ local ($key);
+
+ print "Request:<BR>\n<UL>\n";
+ for $key (keys(%in)) {
+ print "<LI> $key : $in{$key}\n";
+ }
+ print "</UL>\n";
+}
+
+# Some of the following code stolen from James Tappin's cgi_handlers.pl
+
+sub url_decode {
+ foreach (@_) {
+ tr/+/ /;
+ s/%(..)/pack("c",hex($1))/ge;
+ }
+ @_;
+}
+
+sub get_args {
+ local($request) = '';
+
+ return if (!defined($ENV{'REQUEST_METHOD'}));
+
+ if ($ENV{'REQUEST_METHOD'} eq "GET") {
+ $request = $ENV{'QUERY_STRING'};
+ } elsif ($ENV{'REQUEST_METHOD'} eq "POST") {
+ read(STDIN, $request, $ENV{'CONTENT_LENGTH'});
+ }
+
+ %in = &url_decode(split(/[&=]/, $request));
+}
+
+sub map_iso {
+ local ($s) = @_;
+
+ $s =~ s/($iso_pat)/$iso_map{$1}/ge;
+ $s;
+}
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/alpha-c-k.html b/biblio/bibtex/utils/bib2xhtml/eg/alpha-c-k.html
new file mode 100644
index 0000000000..3d00a20d1d
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/alpha-c-k.html
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s alpha -c -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s alpha -c -k -h Example: bib2xhtml -s alpha -c -k example.bib eg/alpha-c-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Tho68 &mdash; Thompson:1968]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[AHU74 &mdash; RedDragon]</a></dt><dd>Alfred&nbsp;V. Aho,
+ John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[ASS85 &mdash; SICP]</a></dt><dd>Harold Abelson,
+ Gerald&nbsp;Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[GR89 &mdash; Smalltalk]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spi90 &mdash; Spinellis:1990]</a></dt><dd>Diomidis
+ Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spi93 &mdash; Spinellis:1993]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spi94 &mdash; Spinellis:1994]</a></dt><dd>Diomidis
+ Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spi96 &mdash; Spinellis:1996]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[GSG99 &mdash; Gritzalis:1999]</a></dt><dd>Stefanos
+ Gritzalis, Diomidis Spinellis, and Panagiotis
+ Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spi00 &mdash; Spinellis:2000]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[BdSP+00 &mdash; XXX00]</a></dt><dd>Albert-L&aacute;szl&oacute;
+ Barab&aacute;si, M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva,
+ F.&nbsp;Patern&ograve;, Wladyslaw&nbsp;M. Turski,
+ Sten-&Aring;ke T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[ZCC00 &mdash; Firewalls]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spi03 &mdash; Spinellis:2003]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spi03 &mdash; Spinellis:2003b]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spi03 &mdash; CodeReading]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[ATS04 &mdash; Androutsellis:2004]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spi06 &mdash; Spi06i]</a></dt><dd>Diomidis Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/alpha-c-r-k.html b/biblio/bibtex/utils/bib2xhtml/eg/alpha-c-r-k.html
new file mode 100644
index 0000000000..aaa2327c7a
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/alpha-c-r-k.html
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s alpha -c -r -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s alpha -c -r -k -h Example: bib2xhtml -s alpha -c -r -k example.bib eg/alpha-c-r-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spi06 &mdash; Spi06i]</a></dt><dd>Diomidis Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[ATS04 &mdash; Androutsellis:2004]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spi03 &mdash; CodeReading]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spi03 &mdash; Spinellis:2003b]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spi03 &mdash; Spinellis:2003]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[BdSP+00 &mdash; XXX00]</a></dt><dd>Albert-L&aacute;szl&oacute;
+ Barab&aacute;si, M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva,
+ F.&nbsp;Patern&ograve;, Wladyslaw&nbsp;M. Turski,
+ Sten-&Aring;ke T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[ZCC00 &mdash; Firewalls]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spi00 &mdash; Spinellis:2000]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[GSG99 &mdash; Gritzalis:1999]</a></dt><dd>Stefanos
+ Gritzalis, Diomidis Spinellis, and Panagiotis
+ Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spi96 &mdash; Spinellis:1996]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spi94 &mdash; Spinellis:1994]</a></dt><dd>Diomidis
+ Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spi93 &mdash; Spinellis:1993]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spi90 &mdash; Spinellis:1990]</a></dt><dd>Diomidis
+ Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[GR89 &mdash; Smalltalk]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[ASS85 &mdash; SICP]</a></dt><dd>Harold Abelson,
+ Gerald&nbsp;Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[AHU74 &mdash; RedDragon]</a></dt><dd>Alfred&nbsp;V. Aho,
+ John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Tho68 &mdash; Thompson:1968]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/alpha-c-r.html b/biblio/bibtex/utils/bib2xhtml/eg/alpha-c-r.html
new file mode 100644
index 0000000000..35c444e88f
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/alpha-c-r.html
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s alpha -c -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s alpha -c -r -h Example: bib2xhtml -s alpha -c -r example.bib eg/alpha-c-r.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spi06]</a></dt><dd>Diomidis Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[ATS04]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spi03]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spi03]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spi03]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[BdSP+00]</a></dt><dd>Albert-L&aacute;szl&oacute;
+ Barab&aacute;si, M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva,
+ F.&nbsp;Patern&ograve;, Wladyslaw&nbsp;M. Turski,
+ Sten-&Aring;ke T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[ZCC00]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spi00]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[GSG99]</a></dt><dd>Stefanos
+ Gritzalis, Diomidis Spinellis, and Panagiotis
+ Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spi96]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spi94]</a></dt><dd>Diomidis
+ Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spi93]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spi90]</a></dt><dd>Diomidis
+ Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[GR89]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[ASS85]</a></dt><dd>Harold Abelson,
+ Gerald&nbsp;Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[AHU74]</a></dt><dd>Alfred&nbsp;V. Aho,
+ John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Tho68]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/alpha-c.html b/biblio/bibtex/utils/bib2xhtml/eg/alpha-c.html
new file mode 100644
index 0000000000..6d5be5ff9d
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/alpha-c.html
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s alpha -c </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s alpha -c -h Example: bib2xhtml -s alpha -c example.bib eg/alpha-c.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Tho68]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[AHU74]</a></dt><dd>Alfred&nbsp;V. Aho,
+ John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[ASS85]</a></dt><dd>Harold Abelson,
+ Gerald&nbsp;Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[GR89]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spi90]</a></dt><dd>Diomidis
+ Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spi93]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spi94]</a></dt><dd>Diomidis
+ Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spi96]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[GSG99]</a></dt><dd>Stefanos
+ Gritzalis, Diomidis Spinellis, and Panagiotis
+ Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spi00]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[BdSP+00]</a></dt><dd>Albert-L&aacute;szl&oacute;
+ Barab&aacute;si, M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva,
+ F.&nbsp;Patern&ograve;, Wladyslaw&nbsp;M. Turski,
+ Sten-&Aring;ke T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[ZCC00]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spi03]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spi03]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spi03]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[ATS04]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spi06]</a></dt><dd>Diomidis Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/alpha-k.html b/biblio/bibtex/utils/bib2xhtml/eg/alpha-k.html
new file mode 100644
index 0000000000..953c22c234
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/alpha-k.html
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s alpha -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s alpha -k -h Example: bib2xhtml -s alpha -k example.bib eg/alpha-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[AHU74 &mdash; RedDragon]</a></dt><dd>Alfred&nbsp;V. Aho,
+ John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[ASS85 &mdash; SICP]</a></dt><dd>Harold Abelson,
+ Gerald&nbsp;Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[ATS04 &mdash; Androutsellis:2004]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[BdSP+00 &mdash; XXX00]</a></dt><dd>Albert-L&aacute;szl&oacute;
+ Barab&aacute;si, M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva,
+ F.&nbsp;Patern&ograve;, Wladyslaw&nbsp;M. Turski,
+ Sten-&Aring;ke T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[GR89 &mdash; Smalltalk]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[GSG99 &mdash; Gritzalis:1999]</a></dt><dd>Stefanos
+ Gritzalis, Diomidis Spinellis, and Panagiotis
+ Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spi90 &mdash; Spinellis:1990]</a></dt><dd>Diomidis
+ Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spi93 &mdash; Spinellis:1993]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spi94 &mdash; Spinellis:1994]</a></dt><dd>Diomidis
+ Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spi96 &mdash; Spinellis:1996]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spi00 &mdash; Spinellis:2000]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spi03 &mdash; Spinellis:2003]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spi03 &mdash; Spinellis:2003b]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spi03 &mdash; CodeReading]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spi06 &mdash; Spi06i]</a></dt><dd>Diomidis Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Tho68 &mdash; Thompson:1968]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[ZCC00 &mdash; Firewalls]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-c-k.html b/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-c-k.html
new file mode 100644
index 0000000000..ee106efb9e
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-c-k.html
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s alpha -n Spinellis -c -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s alpha -n Spinellis -c -k -h Example: bib2xhtml -s alpha -n Spinellis -c -k example.bib eg/alpha-n-c-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Tho68 &mdash; Thompson:1968]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[AHU74 &mdash; RedDragon]</a></dt><dd>Alfred&nbsp;V. Aho,
+ John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[ASS85 &mdash; SICP]</a></dt><dd>Harold Abelson,
+ Gerald&nbsp;Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[GR89 &mdash; Smalltalk]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spi90 &mdash; Spinellis:1990]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spi93 &mdash; Spinellis:1993]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spi94 &mdash; Spinellis:1994]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spi96 &mdash; Spinellis:1996]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[GSG99 &mdash; Gritzalis:1999]</a></dt><dd>Stefanos
+ Gritzalis, <strong>Diomidis Spinellis</strong>, and Panagiotis
+ Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spi00 &mdash; Spinellis:2000]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[BdSP+00 &mdash; XXX00]</a></dt><dd>Albert-L&aacute;szl&oacute;
+ Barab&aacute;si, M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva,
+ F.&nbsp;Patern&ograve;, Wladyslaw&nbsp;M. Turski,
+ Sten-&Aring;ke T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[ZCC00 &mdash; Firewalls]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spi03 &mdash; Spinellis:2003]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spi03 &mdash; Spinellis:2003b]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spi03 &mdash; CodeReading]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[ATS04 &mdash; Androutsellis:2004]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spi06 &mdash; Spi06i]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-c-r-k.html b/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-c-r-k.html
new file mode 100644
index 0000000000..3f58b9c870
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-c-r-k.html
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s alpha -n Spinellis -c -r -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s alpha -n Spinellis -c -r -k -h Example: bib2xhtml -s alpha -n Spinellis -c -r -k example.bib eg/alpha-n-c-r-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spi06 &mdash; Spi06i]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[ATS04 &mdash; Androutsellis:2004]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spi03 &mdash; CodeReading]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spi03 &mdash; Spinellis:2003b]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spi03 &mdash; Spinellis:2003]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[BdSP+00 &mdash; XXX00]</a></dt><dd>Albert-L&aacute;szl&oacute;
+ Barab&aacute;si, M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva,
+ F.&nbsp;Patern&ograve;, Wladyslaw&nbsp;M. Turski,
+ Sten-&Aring;ke T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[ZCC00 &mdash; Firewalls]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spi00 &mdash; Spinellis:2000]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[GSG99 &mdash; Gritzalis:1999]</a></dt><dd>Stefanos
+ Gritzalis, <strong>Diomidis Spinellis</strong>, and Panagiotis
+ Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spi96 &mdash; Spinellis:1996]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spi94 &mdash; Spinellis:1994]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spi93 &mdash; Spinellis:1993]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spi90 &mdash; Spinellis:1990]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[GR89 &mdash; Smalltalk]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[ASS85 &mdash; SICP]</a></dt><dd>Harold Abelson,
+ Gerald&nbsp;Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[AHU74 &mdash; RedDragon]</a></dt><dd>Alfred&nbsp;V. Aho,
+ John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Tho68 &mdash; Thompson:1968]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-c-r.html b/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-c-r.html
new file mode 100644
index 0000000000..5449e0ef22
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-c-r.html
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s alpha -n Spinellis -c -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s alpha -n Spinellis -c -r -h Example: bib2xhtml -s alpha -n Spinellis -c -r example.bib eg/alpha-n-c-r.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spi06]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[ATS04]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spi03]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spi03]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spi03]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[BdSP+00]</a></dt><dd>Albert-L&aacute;szl&oacute;
+ Barab&aacute;si, M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva,
+ F.&nbsp;Patern&ograve;, Wladyslaw&nbsp;M. Turski,
+ Sten-&Aring;ke T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[ZCC00]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spi00]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[GSG99]</a></dt><dd>Stefanos
+ Gritzalis, <strong>Diomidis Spinellis</strong>, and Panagiotis
+ Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spi96]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spi94]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spi93]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spi90]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[GR89]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[ASS85]</a></dt><dd>Harold Abelson,
+ Gerald&nbsp;Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[AHU74]</a></dt><dd>Alfred&nbsp;V. Aho,
+ John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Tho68]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-c.html b/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-c.html
new file mode 100644
index 0000000000..fdac8e6bb4
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-c.html
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s alpha -n Spinellis -c </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s alpha -n Spinellis -c -h Example: bib2xhtml -s alpha -n Spinellis -c example.bib eg/alpha-n-c.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Tho68]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[AHU74]</a></dt><dd>Alfred&nbsp;V. Aho,
+ John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[ASS85]</a></dt><dd>Harold Abelson,
+ Gerald&nbsp;Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[GR89]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spi90]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spi93]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spi94]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spi96]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[GSG99]</a></dt><dd>Stefanos
+ Gritzalis, <strong>Diomidis Spinellis</strong>, and Panagiotis
+ Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spi00]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[BdSP+00]</a></dt><dd>Albert-L&aacute;szl&oacute;
+ Barab&aacute;si, M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva,
+ F.&nbsp;Patern&ograve;, Wladyslaw&nbsp;M. Turski,
+ Sten-&Aring;ke T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[ZCC00]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spi03]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spi03]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spi03]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[ATS04]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spi06]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-k.html b/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-k.html
new file mode 100644
index 0000000000..332bed8944
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-k.html
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s alpha -n Spinellis -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s alpha -n Spinellis -k -h Example: bib2xhtml -s alpha -n Spinellis -k example.bib eg/alpha-n-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[AHU74 &mdash; RedDragon]</a></dt><dd>Alfred&nbsp;V. Aho,
+ John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[ASS85 &mdash; SICP]</a></dt><dd>Harold Abelson,
+ Gerald&nbsp;Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[ATS04 &mdash; Androutsellis:2004]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[BdSP+00 &mdash; XXX00]</a></dt><dd>Albert-L&aacute;szl&oacute;
+ Barab&aacute;si, M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva,
+ F.&nbsp;Patern&ograve;, Wladyslaw&nbsp;M. Turski,
+ Sten-&Aring;ke T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[GR89 &mdash; Smalltalk]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[GSG99 &mdash; Gritzalis:1999]</a></dt><dd>Stefanos
+ Gritzalis, <strong>Diomidis Spinellis</strong>, and Panagiotis
+ Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spi90 &mdash; Spinellis:1990]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spi93 &mdash; Spinellis:1993]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spi94 &mdash; Spinellis:1994]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spi96 &mdash; Spinellis:1996]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spi00 &mdash; Spinellis:2000]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spi03 &mdash; Spinellis:2003]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spi03 &mdash; Spinellis:2003b]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spi03 &mdash; CodeReading]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spi06 &mdash; Spi06i]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Tho68 &mdash; Thompson:1968]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[ZCC00 &mdash; Firewalls]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-r-k.html b/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-r-k.html
new file mode 100644
index 0000000000..70e61e634f
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-r-k.html
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s alpha -n Spinellis -r -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s alpha -n Spinellis -r -k -h Example: bib2xhtml -s alpha -n Spinellis -r -k example.bib eg/alpha-n-r-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[AHU74 &mdash; RedDragon]</a></dt><dd>Alfred&nbsp;V. Aho,
+ John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[ASS85 &mdash; SICP]</a></dt><dd>Harold Abelson,
+ Gerald&nbsp;Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[ATS04 &mdash; Androutsellis:2004]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[BdSP+00 &mdash; XXX00]</a></dt><dd>Albert-L&aacute;szl&oacute;
+ Barab&aacute;si, M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva,
+ F.&nbsp;Patern&ograve;, Wladyslaw&nbsp;M. Turski,
+ Sten-&Aring;ke T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[GR89 &mdash; Smalltalk]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[GSG99 &mdash; Gritzalis:1999]</a></dt><dd>Stefanos
+ Gritzalis, <strong>Diomidis Spinellis</strong>, and Panagiotis
+ Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spi06 &mdash; Spi06i]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spi03 &mdash; CodeReading]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spi03 &mdash; Spinellis:2003b]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spi03 &mdash; Spinellis:2003]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spi00 &mdash; Spinellis:2000]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spi96 &mdash; Spinellis:1996]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spi94 &mdash; Spinellis:1994]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spi93 &mdash; Spinellis:1993]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spi90 &mdash; Spinellis:1990]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Tho68 &mdash; Thompson:1968]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[ZCC00 &mdash; Firewalls]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-r.html b/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-r.html
new file mode 100644
index 0000000000..138bd4fb62
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-r.html
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s alpha -n Spinellis -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s alpha -n Spinellis -r -h Example: bib2xhtml -s alpha -n Spinellis -r example.bib eg/alpha-n-r.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[AHU74]</a></dt><dd>Alfred&nbsp;V. Aho,
+ John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[ASS85]</a></dt><dd>Harold Abelson,
+ Gerald&nbsp;Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[ATS04]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[BdSP+00]</a></dt><dd>Albert-L&aacute;szl&oacute;
+ Barab&aacute;si, M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva,
+ F.&nbsp;Patern&ograve;, Wladyslaw&nbsp;M. Turski,
+ Sten-&Aring;ke T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[GR89]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[GSG99]</a></dt><dd>Stefanos
+ Gritzalis, <strong>Diomidis Spinellis</strong>, and Panagiotis
+ Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spi06]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spi03]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spi03]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spi03]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spi00]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spi96]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spi94]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spi93]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spi90]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Tho68]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[ZCC00]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-u-c-k.html b/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-u-c-k.html
new file mode 100644
index 0000000000..a65f8a1680
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-u-c-k.html
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s alpha -n Spinellis -u -c -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s alpha -n Spinellis -u -c -k -h Example: bib2xhtml -s alpha -n Spinellis -u -c -k example.bib eg/alpha-n-u-c-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Tho68 — Thompson:1968]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[AHU74 — RedDragon]</a></dt><dd>Alfred V. Aho,
+ John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[ASS85 — SICP]</a></dt><dd>Harold Abelson,
+ Gerald Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[GR89 — Smalltalk]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spi90 — Spinellis:1990]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spi93 — Spinellis:1993]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spi94 — Spinellis:1994]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spi96 — Spinellis:1996]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[GSG99 — Gritzalis:1999]</a></dt><dd>Stefanos
+ Gritzalis, <strong>Diomidis Spinellis</strong>, and Panagiotis
+ Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spi00 — Spinellis:2000]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[BdSP+00 — XXX00]</a></dt><dd>Albert-László
+ Barabási, Mônica Ferreira da Silva,
+ F. Paternò, Władysław M. Turski,
+ Sten-Åke Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[ZCC00 — Firewalls]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spi03 — Spinellis:2003]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spi03 — Spinellis:2003b]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spi03 — CodeReading]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[ATS04 — Androutsellis:2004]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spi06 — Spi06i]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-u-c-r-k.html b/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-u-c-r-k.html
new file mode 100644
index 0000000000..1495d4890d
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-u-c-r-k.html
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s alpha -n Spinellis -u -c -r -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s alpha -n Spinellis -u -c -r -k -h Example: bib2xhtml -s alpha -n Spinellis -u -c -r -k example.bib eg/alpha-n-u-c-r-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spi06 — Spi06i]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[ATS04 — Androutsellis:2004]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spi03 — CodeReading]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spi03 — Spinellis:2003b]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spi03 — Spinellis:2003]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[BdSP+00 — XXX00]</a></dt><dd>Albert-László
+ Barabási, Mônica Ferreira da Silva,
+ F. Paternò, Władysław M. Turski,
+ Sten-Åke Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[ZCC00 — Firewalls]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spi00 — Spinellis:2000]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[GSG99 — Gritzalis:1999]</a></dt><dd>Stefanos
+ Gritzalis, <strong>Diomidis Spinellis</strong>, and Panagiotis
+ Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spi96 — Spinellis:1996]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spi94 — Spinellis:1994]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spi93 — Spinellis:1993]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spi90 — Spinellis:1990]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[GR89 — Smalltalk]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[ASS85 — SICP]</a></dt><dd>Harold Abelson,
+ Gerald Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[AHU74 — RedDragon]</a></dt><dd>Alfred V. Aho,
+ John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Tho68 — Thompson:1968]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-u-c-r.html b/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-u-c-r.html
new file mode 100644
index 0000000000..72d20fac2d
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-u-c-r.html
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s alpha -n Spinellis -u -c -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s alpha -n Spinellis -u -c -r -h Example: bib2xhtml -s alpha -n Spinellis -u -c -r example.bib eg/alpha-n-u-c-r.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spi06]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[ATS04]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spi03]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spi03]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spi03]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[BdSP+00]</a></dt><dd>Albert-László
+ Barabási, Mônica Ferreira da Silva,
+ F. Paternò, Władysław M. Turski,
+ Sten-Åke Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[ZCC00]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spi00]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[GSG99]</a></dt><dd>Stefanos
+ Gritzalis, <strong>Diomidis Spinellis</strong>, and Panagiotis
+ Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spi96]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spi94]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spi93]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spi90]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[GR89]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[ASS85]</a></dt><dd>Harold Abelson,
+ Gerald Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[AHU74]</a></dt><dd>Alfred V. Aho,
+ John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Tho68]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-u-c.html b/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-u-c.html
new file mode 100644
index 0000000000..c6e093ab01
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-u-c.html
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s alpha -n Spinellis -u -c </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s alpha -n Spinellis -u -c -h Example: bib2xhtml -s alpha -n Spinellis -u -c example.bib eg/alpha-n-u-c.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Tho68]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[AHU74]</a></dt><dd>Alfred V. Aho,
+ John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[ASS85]</a></dt><dd>Harold Abelson,
+ Gerald Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[GR89]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spi90]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spi93]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spi94]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spi96]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[GSG99]</a></dt><dd>Stefanos
+ Gritzalis, <strong>Diomidis Spinellis</strong>, and Panagiotis
+ Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spi00]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[BdSP+00]</a></dt><dd>Albert-László
+ Barabási, Mônica Ferreira da Silva,
+ F. Paternò, Władysław M. Turski,
+ Sten-Åke Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[ZCC00]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spi03]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spi03]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spi03]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[ATS04]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spi06]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-u-k.html b/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-u-k.html
new file mode 100644
index 0000000000..25a55551f4
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-u-k.html
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s alpha -n Spinellis -u -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s alpha -n Spinellis -u -k -h Example: bib2xhtml -s alpha -n Spinellis -u -k example.bib eg/alpha-n-u-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[AHU74 — RedDragon]</a></dt><dd>Alfred V. Aho,
+ John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[ASS85 — SICP]</a></dt><dd>Harold Abelson,
+ Gerald Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[ATS04 — Androutsellis:2004]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[BdSP+00 — XXX00]</a></dt><dd>Albert-László
+ Barabási, Mônica Ferreira da Silva,
+ F. Paternò, Władysław M. Turski,
+ Sten-Åke Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[GR89 — Smalltalk]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[GSG99 — Gritzalis:1999]</a></dt><dd>Stefanos
+ Gritzalis, <strong>Diomidis Spinellis</strong>, and Panagiotis
+ Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spi90 — Spinellis:1990]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spi93 — Spinellis:1993]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spi94 — Spinellis:1994]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spi96 — Spinellis:1996]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spi00 — Spinellis:2000]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spi03 — Spinellis:2003]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spi03 — Spinellis:2003b]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spi03 — CodeReading]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spi06 — Spi06i]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Tho68 — Thompson:1968]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[ZCC00 — Firewalls]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-u-r-k.html b/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-u-r-k.html
new file mode 100644
index 0000000000..11f96a24a4
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-u-r-k.html
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s alpha -n Spinellis -u -r -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s alpha -n Spinellis -u -r -k -h Example: bib2xhtml -s alpha -n Spinellis -u -r -k example.bib eg/alpha-n-u-r-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[AHU74 — RedDragon]</a></dt><dd>Alfred V. Aho,
+ John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[ASS85 — SICP]</a></dt><dd>Harold Abelson,
+ Gerald Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[ATS04 — Androutsellis:2004]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[BdSP+00 — XXX00]</a></dt><dd>Albert-László
+ Barabási, Mônica Ferreira da Silva,
+ F. Paternò, Władysław M. Turski,
+ Sten-Åke Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[GR89 — Smalltalk]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[GSG99 — Gritzalis:1999]</a></dt><dd>Stefanos
+ Gritzalis, <strong>Diomidis Spinellis</strong>, and Panagiotis
+ Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spi06 — Spi06i]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spi03 — CodeReading]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spi03 — Spinellis:2003b]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spi03 — Spinellis:2003]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spi00 — Spinellis:2000]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spi96 — Spinellis:1996]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spi94 — Spinellis:1994]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spi93 — Spinellis:1993]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spi90 — Spinellis:1990]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Tho68 — Thompson:1968]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[ZCC00 — Firewalls]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-u-r.html b/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-u-r.html
new file mode 100644
index 0000000000..57b7eea88d
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-u-r.html
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s alpha -n Spinellis -u -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s alpha -n Spinellis -u -r -h Example: bib2xhtml -s alpha -n Spinellis -u -r example.bib eg/alpha-n-u-r.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[AHU74]</a></dt><dd>Alfred V. Aho,
+ John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[ASS85]</a></dt><dd>Harold Abelson,
+ Gerald Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[ATS04]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[BdSP+00]</a></dt><dd>Albert-László
+ Barabási, Mônica Ferreira da Silva,
+ F. Paternò, Władysław M. Turski,
+ Sten-Åke Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[GR89]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[GSG99]</a></dt><dd>Stefanos
+ Gritzalis, <strong>Diomidis Spinellis</strong>, and Panagiotis
+ Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spi06]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spi03]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spi03]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spi03]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spi00]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spi96]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spi94]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spi93]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spi90]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Tho68]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[ZCC00]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-u.html b/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-u.html
new file mode 100644
index 0000000000..97804cc93b
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/alpha-n-u.html
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s alpha -n Spinellis -u </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s alpha -n Spinellis -u -h Example: bib2xhtml -s alpha -n Spinellis -u example.bib eg/alpha-n-u.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[AHU74]</a></dt><dd>Alfred V. Aho,
+ John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[ASS85]</a></dt><dd>Harold Abelson,
+ Gerald Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[ATS04]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[BdSP+00]</a></dt><dd>Albert-László
+ Barabási, Mônica Ferreira da Silva,
+ F. Paternò, Władysław M. Turski,
+ Sten-Åke Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[GR89]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[GSG99]</a></dt><dd>Stefanos
+ Gritzalis, <strong>Diomidis Spinellis</strong>, and Panagiotis
+ Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spi90]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spi93]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spi94]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spi96]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spi00]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spi03]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spi03]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spi03]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spi06]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Tho68]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[ZCC00]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/alpha-n.html b/biblio/bibtex/utils/bib2xhtml/eg/alpha-n.html
new file mode 100644
index 0000000000..c13ea37082
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/alpha-n.html
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s alpha -n Spinellis </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s alpha -n Spinellis -h Example: bib2xhtml -s alpha -n Spinellis example.bib eg/alpha-n.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[AHU74]</a></dt><dd>Alfred&nbsp;V. Aho,
+ John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[ASS85]</a></dt><dd>Harold Abelson,
+ Gerald&nbsp;Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[ATS04]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[BdSP+00]</a></dt><dd>Albert-L&aacute;szl&oacute;
+ Barab&aacute;si, M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva,
+ F.&nbsp;Patern&ograve;, Wladyslaw&nbsp;M. Turski,
+ Sten-&Aring;ke T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[GR89]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[GSG99]</a></dt><dd>Stefanos
+ Gritzalis, <strong>Diomidis Spinellis</strong>, and Panagiotis
+ Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spi90]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spi93]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spi94]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spi96]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spi00]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spi03]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spi03]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spi03]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spi06]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Tho68]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[ZCC00]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/alpha-r-k.html b/biblio/bibtex/utils/bib2xhtml/eg/alpha-r-k.html
new file mode 100644
index 0000000000..d43c3fd214
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/alpha-r-k.html
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s alpha -r -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s alpha -r -k -h Example: bib2xhtml -s alpha -r -k example.bib eg/alpha-r-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[AHU74 &mdash; RedDragon]</a></dt><dd>Alfred&nbsp;V. Aho,
+ John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[ASS85 &mdash; SICP]</a></dt><dd>Harold Abelson,
+ Gerald&nbsp;Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[ATS04 &mdash; Androutsellis:2004]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[BdSP+00 &mdash; XXX00]</a></dt><dd>Albert-L&aacute;szl&oacute;
+ Barab&aacute;si, M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva,
+ F.&nbsp;Patern&ograve;, Wladyslaw&nbsp;M. Turski,
+ Sten-&Aring;ke T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[GR89 &mdash; Smalltalk]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[GSG99 &mdash; Gritzalis:1999]</a></dt><dd>Stefanos
+ Gritzalis, Diomidis Spinellis, and Panagiotis
+ Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spi06 &mdash; Spi06i]</a></dt><dd>Diomidis Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spi03 &mdash; CodeReading]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spi03 &mdash; Spinellis:2003b]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spi03 &mdash; Spinellis:2003]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spi00 &mdash; Spinellis:2000]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spi96 &mdash; Spinellis:1996]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spi94 &mdash; Spinellis:1994]</a></dt><dd>Diomidis
+ Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spi93 &mdash; Spinellis:1993]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spi90 &mdash; Spinellis:1990]</a></dt><dd>Diomidis
+ Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Tho68 &mdash; Thompson:1968]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[ZCC00 &mdash; Firewalls]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/alpha-r.html b/biblio/bibtex/utils/bib2xhtml/eg/alpha-r.html
new file mode 100644
index 0000000000..3d16d502e5
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/alpha-r.html
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s alpha -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s alpha -r -h Example: bib2xhtml -s alpha -r example.bib eg/alpha-r.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[AHU74]</a></dt><dd>Alfred&nbsp;V. Aho,
+ John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[ASS85]</a></dt><dd>Harold Abelson,
+ Gerald&nbsp;Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[ATS04]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[BdSP+00]</a></dt><dd>Albert-L&aacute;szl&oacute;
+ Barab&aacute;si, M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva,
+ F.&nbsp;Patern&ograve;, Wladyslaw&nbsp;M. Turski,
+ Sten-&Aring;ke T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[GR89]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[GSG99]</a></dt><dd>Stefanos
+ Gritzalis, Diomidis Spinellis, and Panagiotis
+ Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spi06]</a></dt><dd>Diomidis Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spi03]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spi03]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spi03]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spi00]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spi96]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spi94]</a></dt><dd>Diomidis
+ Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spi93]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spi90]</a></dt><dd>Diomidis
+ Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Tho68]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[ZCC00]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/alpha-u-c-k.html b/biblio/bibtex/utils/bib2xhtml/eg/alpha-u-c-k.html
new file mode 100644
index 0000000000..172fba350f
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/alpha-u-c-k.html
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s alpha -u -c -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s alpha -u -c -k -h Example: bib2xhtml -s alpha -u -c -k example.bib eg/alpha-u-c-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Tho68 — Thompson:1968]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[AHU74 — RedDragon]</a></dt><dd>Alfred V. Aho,
+ John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[ASS85 — SICP]</a></dt><dd>Harold Abelson,
+ Gerald Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[GR89 — Smalltalk]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spi90 — Spinellis:1990]</a></dt><dd>Diomidis
+ Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spi93 — Spinellis:1993]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spi94 — Spinellis:1994]</a></dt><dd>Diomidis
+ Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spi96 — Spinellis:1996]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[GSG99 — Gritzalis:1999]</a></dt><dd>Stefanos
+ Gritzalis, Diomidis Spinellis, and Panagiotis
+ Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spi00 — Spinellis:2000]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[BdSP+00 — XXX00]</a></dt><dd>Albert-László
+ Barabási, Mônica Ferreira da Silva,
+ F. Paternò, Władysław M. Turski,
+ Sten-Åke Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[ZCC00 — Firewalls]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spi03 — Spinellis:2003]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spi03 — Spinellis:2003b]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spi03 — CodeReading]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[ATS04 — Androutsellis:2004]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spi06 — Spi06i]</a></dt><dd>Diomidis Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/alpha-u-c-r-k.html b/biblio/bibtex/utils/bib2xhtml/eg/alpha-u-c-r-k.html
new file mode 100644
index 0000000000..420ee5b48c
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/alpha-u-c-r-k.html
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s alpha -u -c -r -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s alpha -u -c -r -k -h Example: bib2xhtml -s alpha -u -c -r -k example.bib eg/alpha-u-c-r-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spi06 — Spi06i]</a></dt><dd>Diomidis Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[ATS04 — Androutsellis:2004]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spi03 — CodeReading]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spi03 — Spinellis:2003b]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spi03 — Spinellis:2003]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[BdSP+00 — XXX00]</a></dt><dd>Albert-László
+ Barabási, Mônica Ferreira da Silva,
+ F. Paternò, Władysław M. Turski,
+ Sten-Åke Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[ZCC00 — Firewalls]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spi00 — Spinellis:2000]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[GSG99 — Gritzalis:1999]</a></dt><dd>Stefanos
+ Gritzalis, Diomidis Spinellis, and Panagiotis
+ Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spi96 — Spinellis:1996]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spi94 — Spinellis:1994]</a></dt><dd>Diomidis
+ Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spi93 — Spinellis:1993]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spi90 — Spinellis:1990]</a></dt><dd>Diomidis
+ Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[GR89 — Smalltalk]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[ASS85 — SICP]</a></dt><dd>Harold Abelson,
+ Gerald Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[AHU74 — RedDragon]</a></dt><dd>Alfred V. Aho,
+ John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Tho68 — Thompson:1968]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/alpha-u-c-r.html b/biblio/bibtex/utils/bib2xhtml/eg/alpha-u-c-r.html
new file mode 100644
index 0000000000..5989a8f2fc
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/alpha-u-c-r.html
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s alpha -u -c -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s alpha -u -c -r -h Example: bib2xhtml -s alpha -u -c -r example.bib eg/alpha-u-c-r.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spi06]</a></dt><dd>Diomidis Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[ATS04]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spi03]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spi03]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spi03]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[BdSP+00]</a></dt><dd>Albert-László
+ Barabási, Mônica Ferreira da Silva,
+ F. Paternò, Władysław M. Turski,
+ Sten-Åke Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[ZCC00]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spi00]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[GSG99]</a></dt><dd>Stefanos
+ Gritzalis, Diomidis Spinellis, and Panagiotis
+ Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spi96]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spi94]</a></dt><dd>Diomidis
+ Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spi93]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spi90]</a></dt><dd>Diomidis
+ Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[GR89]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[ASS85]</a></dt><dd>Harold Abelson,
+ Gerald Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[AHU74]</a></dt><dd>Alfred V. Aho,
+ John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Tho68]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/alpha-u-c.html b/biblio/bibtex/utils/bib2xhtml/eg/alpha-u-c.html
new file mode 100644
index 0000000000..d5d90ee2d8
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/alpha-u-c.html
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s alpha -u -c </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s alpha -u -c -h Example: bib2xhtml -s alpha -u -c example.bib eg/alpha-u-c.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Tho68]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[AHU74]</a></dt><dd>Alfred V. Aho,
+ John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[ASS85]</a></dt><dd>Harold Abelson,
+ Gerald Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[GR89]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spi90]</a></dt><dd>Diomidis
+ Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spi93]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spi94]</a></dt><dd>Diomidis
+ Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spi96]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[GSG99]</a></dt><dd>Stefanos
+ Gritzalis, Diomidis Spinellis, and Panagiotis
+ Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spi00]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[BdSP+00]</a></dt><dd>Albert-László
+ Barabási, Mônica Ferreira da Silva,
+ F. Paternò, Władysław M. Turski,
+ Sten-Åke Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[ZCC00]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spi03]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spi03]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spi03]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[ATS04]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spi06]</a></dt><dd>Diomidis Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/alpha-u-k.html b/biblio/bibtex/utils/bib2xhtml/eg/alpha-u-k.html
new file mode 100644
index 0000000000..9e62482a3b
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/alpha-u-k.html
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s alpha -u -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s alpha -u -k -h Example: bib2xhtml -s alpha -u -k example.bib eg/alpha-u-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[AHU74 — RedDragon]</a></dt><dd>Alfred V. Aho,
+ John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[ASS85 — SICP]</a></dt><dd>Harold Abelson,
+ Gerald Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[ATS04 — Androutsellis:2004]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[BdSP+00 — XXX00]</a></dt><dd>Albert-László
+ Barabási, Mônica Ferreira da Silva,
+ F. Paternò, Władysław M. Turski,
+ Sten-Åke Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[GR89 — Smalltalk]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[GSG99 — Gritzalis:1999]</a></dt><dd>Stefanos
+ Gritzalis, Diomidis Spinellis, and Panagiotis
+ Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spi90 — Spinellis:1990]</a></dt><dd>Diomidis
+ Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spi93 — Spinellis:1993]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spi94 — Spinellis:1994]</a></dt><dd>Diomidis
+ Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spi96 — Spinellis:1996]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spi00 — Spinellis:2000]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spi03 — Spinellis:2003]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spi03 — Spinellis:2003b]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spi03 — CodeReading]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spi06 — Spi06i]</a></dt><dd>Diomidis Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Tho68 — Thompson:1968]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[ZCC00 — Firewalls]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/alpha-u-r-k.html b/biblio/bibtex/utils/bib2xhtml/eg/alpha-u-r-k.html
new file mode 100644
index 0000000000..311c192282
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/alpha-u-r-k.html
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s alpha -u -r -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s alpha -u -r -k -h Example: bib2xhtml -s alpha -u -r -k example.bib eg/alpha-u-r-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[AHU74 — RedDragon]</a></dt><dd>Alfred V. Aho,
+ John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[ASS85 — SICP]</a></dt><dd>Harold Abelson,
+ Gerald Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[ATS04 — Androutsellis:2004]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[BdSP+00 — XXX00]</a></dt><dd>Albert-László
+ Barabási, Mônica Ferreira da Silva,
+ F. Paternò, Władysław M. Turski,
+ Sten-Åke Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[GR89 — Smalltalk]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[GSG99 — Gritzalis:1999]</a></dt><dd>Stefanos
+ Gritzalis, Diomidis Spinellis, and Panagiotis
+ Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spi06 — Spi06i]</a></dt><dd>Diomidis Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spi03 — CodeReading]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spi03 — Spinellis:2003b]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spi03 — Spinellis:2003]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spi00 — Spinellis:2000]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spi96 — Spinellis:1996]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spi94 — Spinellis:1994]</a></dt><dd>Diomidis
+ Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spi93 — Spinellis:1993]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spi90 — Spinellis:1990]</a></dt><dd>Diomidis
+ Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Tho68 — Thompson:1968]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[ZCC00 — Firewalls]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/alpha-u-r.html b/biblio/bibtex/utils/bib2xhtml/eg/alpha-u-r.html
new file mode 100644
index 0000000000..b8c011bd89
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/alpha-u-r.html
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s alpha -u -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s alpha -u -r -h Example: bib2xhtml -s alpha -u -r example.bib eg/alpha-u-r.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[AHU74]</a></dt><dd>Alfred V. Aho,
+ John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[ASS85]</a></dt><dd>Harold Abelson,
+ Gerald Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[ATS04]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[BdSP+00]</a></dt><dd>Albert-László
+ Barabási, Mônica Ferreira da Silva,
+ F. Paternò, Władysław M. Turski,
+ Sten-Åke Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[GR89]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[GSG99]</a></dt><dd>Stefanos
+ Gritzalis, Diomidis Spinellis, and Panagiotis
+ Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spi06]</a></dt><dd>Diomidis Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spi03]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spi03]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spi03]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spi00]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spi96]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spi94]</a></dt><dd>Diomidis
+ Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spi93]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spi90]</a></dt><dd>Diomidis
+ Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Tho68]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[ZCC00]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/alpha-u.html b/biblio/bibtex/utils/bib2xhtml/eg/alpha-u.html
new file mode 100644
index 0000000000..06ca961798
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/alpha-u.html
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s alpha -u </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s alpha -u -h Example: bib2xhtml -s alpha -u example.bib eg/alpha-u.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[AHU74]</a></dt><dd>Alfred V. Aho,
+ John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[ASS85]</a></dt><dd>Harold Abelson,
+ Gerald Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[ATS04]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[BdSP+00]</a></dt><dd>Albert-László
+ Barabási, Mônica Ferreira da Silva,
+ F. Paternò, Władysław M. Turski,
+ Sten-Åke Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[GR89]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[GSG99]</a></dt><dd>Stefanos
+ Gritzalis, Diomidis Spinellis, and Panagiotis
+ Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spi90]</a></dt><dd>Diomidis
+ Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spi93]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spi94]</a></dt><dd>Diomidis
+ Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spi96]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spi00]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spi03]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spi03]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spi03]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spi06]</a></dt><dd>Diomidis Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Tho68]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[ZCC00]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/alpha.html b/biblio/bibtex/utils/bib2xhtml/eg/alpha.html
new file mode 100644
index 0000000000..44243e3cae
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/alpha.html
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s alpha </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s alpha -h Example: bib2xhtml -s alpha example.bib eg/alpha.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[AHU74]</a></dt><dd>Alfred&nbsp;V. Aho,
+ John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[ASS85]</a></dt><dd>Harold Abelson,
+ Gerald&nbsp;Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[ATS04]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[BdSP+00]</a></dt><dd>Albert-L&aacute;szl&oacute;
+ Barab&aacute;si, M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva,
+ F.&nbsp;Patern&ograve;, Wladyslaw&nbsp;M. Turski,
+ Sten-&Aring;ke T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[GR89]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[GSG99]</a></dt><dd>Stefanos
+ Gritzalis, Diomidis Spinellis, and Panagiotis
+ Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spi90]</a></dt><dd>Diomidis
+ Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spi93]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spi94]</a></dt><dd>Diomidis
+ Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spi96]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spi00]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spi03]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spi03]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spi03]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spi06]</a></dt><dd>Diomidis Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Tho68]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[ZCC00]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/empty-c-r.html b/biblio/bibtex/utils/bib2xhtml/eg/empty-c-r.html
new file mode 100644
index 0000000000..e34f594ea4
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/empty-c-r.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s empty -c -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s empty -c -r -h Example: bib2xhtml -s empty -c -r example.bib eg/empty-c-r.html -->
+<ul class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spi06i"></a>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</li>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<li><a name="Androutsellis:2004"></a>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="CodeReading"></a>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003b"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</li>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<li><a name="XXX00"></a>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</li>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<li><a name="Firewalls"></a>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2000"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</li>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<li><a name="Gritzalis:1999"></a>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1996"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1994"></a>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1993"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1990"></a>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</li>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<li><a name="Smalltalk"></a>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</li>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<li><a name="SICP"></a>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</li>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<li><a name="RedDragon"></a>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</li>
+
+<!-- Authors: Ken Thompson -->
+<li><a name="Thompson:1968"></a>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</li>
+
+</ul>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/empty-c.html b/biblio/bibtex/utils/bib2xhtml/eg/empty-c.html
new file mode 100644
index 0000000000..8866dc0c3c
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/empty-c.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s empty -c </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s empty -c -h Example: bib2xhtml -s empty -c example.bib eg/empty-c.html -->
+<ul class="bib2xhtml">
+
+<!-- Authors: Ken Thompson -->
+<li><a name="Thompson:1968"></a>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</li>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<li><a name="RedDragon"></a>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</li>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<li><a name="SICP"></a>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</li>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<li><a name="Smalltalk"></a>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1990"></a>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1993"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1994"></a>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1996"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</li>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<li><a name="Gritzalis:1999"></a>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2000"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</li>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<li><a name="XXX00"></a>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</li>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<li><a name="Firewalls"></a>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003b"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="CodeReading"></a>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</li>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<li><a name="Androutsellis:2004"></a>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spi06i"></a>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</li>
+
+</ul>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/empty-n-c-r.html b/biblio/bibtex/utils/bib2xhtml/eg/empty-n-c-r.html
new file mode 100644
index 0000000000..54a632df27
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/empty-n-c-r.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s empty -n Spinellis -c -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s empty -n Spinellis -c -r -h Example: bib2xhtml -s empty -n Spinellis -c -r example.bib eg/empty-n-c-r.html -->
+<ul class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spi06i"></a><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</li>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<li><a name="Androutsellis:2004"></a>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="CodeReading"></a><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003b"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</li>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<li><a name="XXX00"></a>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</li>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<li><a name="Firewalls"></a>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2000"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</li>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<li><a name="Gritzalis:1999"></a>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1996"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1994"></a><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1993"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1990"></a><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</li>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<li><a name="Smalltalk"></a>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</li>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<li><a name="SICP"></a>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</li>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<li><a name="RedDragon"></a>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</li>
+
+<!-- Authors: Ken Thompson -->
+<li><a name="Thompson:1968"></a>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</li>
+
+</ul>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/empty-n-c.html b/biblio/bibtex/utils/bib2xhtml/eg/empty-n-c.html
new file mode 100644
index 0000000000..e66a6c4c8e
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/empty-n-c.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s empty -n Spinellis -c </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s empty -n Spinellis -c -h Example: bib2xhtml -s empty -n Spinellis -c example.bib eg/empty-n-c.html -->
+<ul class="bib2xhtml">
+
+<!-- Authors: Ken Thompson -->
+<li><a name="Thompson:1968"></a>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</li>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<li><a name="RedDragon"></a>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</li>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<li><a name="SICP"></a>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</li>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<li><a name="Smalltalk"></a>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1990"></a><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1993"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1994"></a><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1996"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</li>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<li><a name="Gritzalis:1999"></a>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2000"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</li>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<li><a name="XXX00"></a>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</li>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<li><a name="Firewalls"></a>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003b"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="CodeReading"></a><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</li>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<li><a name="Androutsellis:2004"></a>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spi06i"></a><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</li>
+
+</ul>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/empty-n-r.html b/biblio/bibtex/utils/bib2xhtml/eg/empty-n-r.html
new file mode 100644
index 0000000000..1297222e7c
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/empty-n-r.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s empty -n Spinellis -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s empty -n Spinellis -r -h Example: bib2xhtml -s empty -n Spinellis -r example.bib eg/empty-n-r.html -->
+<ul class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<li><a name="SICP"></a>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</li>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<li><a name="RedDragon"></a>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</li>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<li><a name="Androutsellis:2004"></a>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</li>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<li><a name="XXX00"></a>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</li>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<li><a name="Smalltalk"></a>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</li>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<li><a name="Gritzalis:1999"></a>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spi06i"></a><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="CodeReading"></a><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003b"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2000"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1996"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1994"></a><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1993"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1990"></a><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</li>
+
+<!-- Authors: Ken Thompson -->
+<li><a name="Thompson:1968"></a>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</li>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<li><a name="Firewalls"></a>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</li>
+
+</ul>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/empty-n-u-c-r.html b/biblio/bibtex/utils/bib2xhtml/eg/empty-n-u-c-r.html
new file mode 100644
index 0000000000..3b2470d459
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/empty-n-u-c-r.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s empty -n Spinellis -u -c -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s empty -n Spinellis -u -c -r -h Example: bib2xhtml -s empty -n Spinellis -u -c -r example.bib eg/empty-n-u-c-r.html -->
+<ul class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spi06i"></a><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</li>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<li><a name="Androutsellis:2004"></a>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="CodeReading"></a><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003b"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</li>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<li><a name="XXX00"></a>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</li>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<li><a name="Firewalls"></a>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2000"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</li>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<li><a name="Gritzalis:1999"></a>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1996"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1994"></a><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1993"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1990"></a><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</li>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<li><a name="Smalltalk"></a>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</li>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<li><a name="SICP"></a>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</li>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<li><a name="RedDragon"></a>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</li>
+
+<!-- Authors: Ken Thompson -->
+<li><a name="Thompson:1968"></a>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</li>
+
+</ul>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/empty-n-u-c.html b/biblio/bibtex/utils/bib2xhtml/eg/empty-n-u-c.html
new file mode 100644
index 0000000000..48d62b0757
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/empty-n-u-c.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s empty -n Spinellis -u -c </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s empty -n Spinellis -u -c -h Example: bib2xhtml -s empty -n Spinellis -u -c example.bib eg/empty-n-u-c.html -->
+<ul class="bib2xhtml">
+
+<!-- Authors: Ken Thompson -->
+<li><a name="Thompson:1968"></a>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</li>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<li><a name="RedDragon"></a>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</li>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<li><a name="SICP"></a>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</li>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<li><a name="Smalltalk"></a>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1990"></a><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1993"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1994"></a><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1996"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</li>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<li><a name="Gritzalis:1999"></a>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2000"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</li>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<li><a name="XXX00"></a>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</li>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<li><a name="Firewalls"></a>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003b"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="CodeReading"></a><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</li>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<li><a name="Androutsellis:2004"></a>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spi06i"></a><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</li>
+
+</ul>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/empty-n-u-r.html b/biblio/bibtex/utils/bib2xhtml/eg/empty-n-u-r.html
new file mode 100644
index 0000000000..d6ce889c4f
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/empty-n-u-r.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s empty -n Spinellis -u -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s empty -n Spinellis -u -r -h Example: bib2xhtml -s empty -n Spinellis -u -r example.bib eg/empty-n-u-r.html -->
+<ul class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<li><a name="SICP"></a>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</li>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<li><a name="RedDragon"></a>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</li>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<li><a name="Androutsellis:2004"></a>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</li>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<li><a name="XXX00"></a>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</li>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<li><a name="Smalltalk"></a>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</li>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<li><a name="Gritzalis:1999"></a>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spi06i"></a><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="CodeReading"></a><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003b"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2000"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1996"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1994"></a><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1993"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1990"></a><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</li>
+
+<!-- Authors: Ken Thompson -->
+<li><a name="Thompson:1968"></a>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</li>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<li><a name="Firewalls"></a>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</li>
+
+</ul>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/empty-n-u.html b/biblio/bibtex/utils/bib2xhtml/eg/empty-n-u.html
new file mode 100644
index 0000000000..29e11ad0a1
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/empty-n-u.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s empty -n Spinellis -u </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s empty -n Spinellis -u -h Example: bib2xhtml -s empty -n Spinellis -u example.bib eg/empty-n-u.html -->
+<ul class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<li><a name="SICP"></a>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</li>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<li><a name="RedDragon"></a>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</li>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<li><a name="Androutsellis:2004"></a>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</li>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<li><a name="XXX00"></a>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</li>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<li><a name="Smalltalk"></a>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</li>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<li><a name="Gritzalis:1999"></a>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1990"></a><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1993"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1994"></a><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1996"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2000"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003b"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="CodeReading"></a><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spi06i"></a><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</li>
+
+<!-- Authors: Ken Thompson -->
+<li><a name="Thompson:1968"></a>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</li>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<li><a name="Firewalls"></a>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</li>
+
+</ul>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/empty-n.html b/biblio/bibtex/utils/bib2xhtml/eg/empty-n.html
new file mode 100644
index 0000000000..8225e1ee95
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/empty-n.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s empty -n Spinellis </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s empty -n Spinellis -h Example: bib2xhtml -s empty -n Spinellis example.bib eg/empty-n.html -->
+<ul class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<li><a name="SICP"></a>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</li>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<li><a name="RedDragon"></a>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</li>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<li><a name="Androutsellis:2004"></a>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</li>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<li><a name="XXX00"></a>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</li>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<li><a name="Smalltalk"></a>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</li>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<li><a name="Gritzalis:1999"></a>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1990"></a><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1993"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1994"></a><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1996"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2000"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003b"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="CodeReading"></a><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spi06i"></a><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</li>
+
+<!-- Authors: Ken Thompson -->
+<li><a name="Thompson:1968"></a>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</li>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<li><a name="Firewalls"></a>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</li>
+
+</ul>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/empty-r.html b/biblio/bibtex/utils/bib2xhtml/eg/empty-r.html
new file mode 100644
index 0000000000..256d12d029
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/empty-r.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s empty -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s empty -r -h Example: bib2xhtml -s empty -r example.bib eg/empty-r.html -->
+<ul class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<li><a name="SICP"></a>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</li>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<li><a name="RedDragon"></a>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</li>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<li><a name="Androutsellis:2004"></a>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</li>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<li><a name="XXX00"></a>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</li>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<li><a name="Smalltalk"></a>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</li>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<li><a name="Gritzalis:1999"></a>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spi06i"></a>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="CodeReading"></a>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003b"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2000"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1996"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1994"></a>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1993"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1990"></a>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</li>
+
+<!-- Authors: Ken Thompson -->
+<li><a name="Thompson:1968"></a>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</li>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<li><a name="Firewalls"></a>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</li>
+
+</ul>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/empty-u-c-r.html b/biblio/bibtex/utils/bib2xhtml/eg/empty-u-c-r.html
new file mode 100644
index 0000000000..cb626e95fd
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/empty-u-c-r.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s empty -u -c -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s empty -u -c -r -h Example: bib2xhtml -s empty -u -c -r example.bib eg/empty-u-c-r.html -->
+<ul class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spi06i"></a>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</li>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<li><a name="Androutsellis:2004"></a>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="CodeReading"></a>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003b"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</li>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<li><a name="XXX00"></a>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</li>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<li><a name="Firewalls"></a>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2000"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</li>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<li><a name="Gritzalis:1999"></a>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1996"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1994"></a>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1993"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1990"></a>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</li>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<li><a name="Smalltalk"></a>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</li>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<li><a name="SICP"></a>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</li>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<li><a name="RedDragon"></a>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</li>
+
+<!-- Authors: Ken Thompson -->
+<li><a name="Thompson:1968"></a>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</li>
+
+</ul>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/empty-u-c.html b/biblio/bibtex/utils/bib2xhtml/eg/empty-u-c.html
new file mode 100644
index 0000000000..5d40cf64ee
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/empty-u-c.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s empty -u -c </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s empty -u -c -h Example: bib2xhtml -s empty -u -c example.bib eg/empty-u-c.html -->
+<ul class="bib2xhtml">
+
+<!-- Authors: Ken Thompson -->
+<li><a name="Thompson:1968"></a>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</li>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<li><a name="RedDragon"></a>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</li>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<li><a name="SICP"></a>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</li>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<li><a name="Smalltalk"></a>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1990"></a>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1993"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1994"></a>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1996"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</li>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<li><a name="Gritzalis:1999"></a>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2000"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</li>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<li><a name="XXX00"></a>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</li>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<li><a name="Firewalls"></a>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003b"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="CodeReading"></a>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</li>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<li><a name="Androutsellis:2004"></a>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spi06i"></a>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</li>
+
+</ul>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/empty-u-r.html b/biblio/bibtex/utils/bib2xhtml/eg/empty-u-r.html
new file mode 100644
index 0000000000..ae2068c16c
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/empty-u-r.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s empty -u -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s empty -u -r -h Example: bib2xhtml -s empty -u -r example.bib eg/empty-u-r.html -->
+<ul class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<li><a name="SICP"></a>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</li>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<li><a name="RedDragon"></a>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</li>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<li><a name="Androutsellis:2004"></a>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</li>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<li><a name="XXX00"></a>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</li>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<li><a name="Smalltalk"></a>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</li>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<li><a name="Gritzalis:1999"></a>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spi06i"></a>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="CodeReading"></a>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003b"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2000"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1996"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1994"></a>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1993"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1990"></a>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</li>
+
+<!-- Authors: Ken Thompson -->
+<li><a name="Thompson:1968"></a>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</li>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<li><a name="Firewalls"></a>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</li>
+
+</ul>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/empty-u.html b/biblio/bibtex/utils/bib2xhtml/eg/empty-u.html
new file mode 100644
index 0000000000..06d6cd06c9
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/empty-u.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s empty -u </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s empty -u -h Example: bib2xhtml -s empty -u example.bib eg/empty-u.html -->
+<ul class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<li><a name="SICP"></a>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</li>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<li><a name="RedDragon"></a>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</li>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<li><a name="Androutsellis:2004"></a>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</li>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<li><a name="XXX00"></a>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</li>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<li><a name="Smalltalk"></a>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</li>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<li><a name="Gritzalis:1999"></a>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1990"></a>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1993"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1994"></a>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1996"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2000"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003b"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="CodeReading"></a>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spi06i"></a>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</li>
+
+<!-- Authors: Ken Thompson -->
+<li><a name="Thompson:1968"></a>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</li>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<li><a name="Firewalls"></a>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</li>
+
+</ul>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/empty.html b/biblio/bibtex/utils/bib2xhtml/eg/empty.html
new file mode 100644
index 0000000000..c5c9224989
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/empty.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s empty </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s empty -h Example: bib2xhtml -s empty example.bib eg/empty.html -->
+<ul class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<li><a name="SICP"></a>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</li>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<li><a name="RedDragon"></a>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</li>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<li><a name="Androutsellis:2004"></a>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</li>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<li><a name="XXX00"></a>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</li>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<li><a name="Smalltalk"></a>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</li>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<li><a name="Gritzalis:1999"></a>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1990"></a>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1993"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1994"></a>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1996"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2000"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003b"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="CodeReading"></a>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spi06i"></a>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</li>
+
+<!-- Authors: Ken Thompson -->
+<li><a name="Thompson:1968"></a>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</li>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<li><a name="Firewalls"></a>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</li>
+
+</ul>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/named-c-k.html b/biblio/bibtex/utils/bib2xhtml/eg/named-c-k.html
new file mode 100644
index 0000000000..7247b8d1ab
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/named-c-k.html
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s named -c -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s named -c -k -h Example: bib2xhtml -s named -c -k example.bib eg/named-c-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Thompson, 1968 &mdash; Thompson:1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[Aho et&nbsp;al., 1974 &mdash; RedDragon]</a></dt><dd>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[Abelson et&nbsp;al., 1985 &mdash; SICP]</a></dt><dd>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[Goldberg and Robson,
+ 1989 &mdash; Smalltalk]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spinellis,
+ 1990 &mdash; Spinellis:1990]</a></dt><dd>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spinellis,
+ 1993 &mdash; Spinellis:1993]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spinellis,
+ 1994 &mdash; Spinellis:1994]</a></dt><dd>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spinellis,
+ 1996 &mdash; Spinellis:1996]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[Gritzalis et&nbsp;al.,
+ 1999 &mdash; Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spinellis,
+ 2000 &mdash; Spinellis:2000]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[Barab&aacute;si et&nbsp;al.,
+ 2000 &mdash; XXX00]</a></dt><dd>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[Zwicky et&nbsp;al.,
+ 2000 &mdash; Firewalls]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spinellis,
+ 2003 &mdash; Spinellis:2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spinellis,
+ 2003 &mdash; Spinellis:2003b]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spinellis, 2003 &mdash; CodeReading]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[Androutsellis-Theotokis and Spinellis,
+ 2004 &mdash; Androutsellis:2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spinellis, 2006 &mdash; Spi06i]</a></dt><dd>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/named-c-r-k.html b/biblio/bibtex/utils/bib2xhtml/eg/named-c-r-k.html
new file mode 100644
index 0000000000..ae12f91470
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/named-c-r-k.html
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s named -c -r -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s named -c -r -k -h Example: bib2xhtml -s named -c -r -k example.bib eg/named-c-r-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spinellis, 2006 &mdash; Spi06i]</a></dt><dd>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[Androutsellis-Theotokis and Spinellis,
+ 2004 &mdash; Androutsellis:2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spinellis, 2003 &mdash; CodeReading]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spinellis,
+ 2003 &mdash; Spinellis:2003b]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spinellis,
+ 2003 &mdash; Spinellis:2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[Barab&aacute;si et&nbsp;al.,
+ 2000 &mdash; XXX00]</a></dt><dd>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[Zwicky et&nbsp;al.,
+ 2000 &mdash; Firewalls]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spinellis,
+ 2000 &mdash; Spinellis:2000]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[Gritzalis et&nbsp;al.,
+ 1999 &mdash; Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spinellis,
+ 1996 &mdash; Spinellis:1996]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spinellis,
+ 1994 &mdash; Spinellis:1994]</a></dt><dd>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spinellis,
+ 1993 &mdash; Spinellis:1993]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spinellis,
+ 1990 &mdash; Spinellis:1990]</a></dt><dd>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[Goldberg and Robson,
+ 1989 &mdash; Smalltalk]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[Abelson et&nbsp;al., 1985 &mdash; SICP]</a></dt><dd>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[Aho et&nbsp;al., 1974 &mdash; RedDragon]</a></dt><dd>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Thompson, 1968 &mdash; Thompson:1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/named-c-r.html b/biblio/bibtex/utils/bib2xhtml/eg/named-c-r.html
new file mode 100644
index 0000000000..c755a15f7a
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/named-c-r.html
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s named -c -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s named -c -r -h Example: bib2xhtml -s named -c -r example.bib eg/named-c-r.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spinellis, 2006]</a></dt><dd>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[Androutsellis-Theotokis and Spinellis,
+ 2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spinellis, 2003]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spinellis,
+ 2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spinellis,
+ 2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[Barab&aacute;si et&nbsp;al.,
+ 2000]</a></dt><dd>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[Zwicky et&nbsp;al.,
+ 2000]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spinellis,
+ 2000]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[Gritzalis et&nbsp;al.,
+ 1999]</a></dt><dd>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spinellis,
+ 1996]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spinellis,
+ 1994]</a></dt><dd>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spinellis,
+ 1993]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spinellis,
+ 1990]</a></dt><dd>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[Goldberg and Robson,
+ 1989]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[Abelson et&nbsp;al., 1985]</a></dt><dd>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[Aho et&nbsp;al., 1974]</a></dt><dd>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Thompson, 1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/named-c.html b/biblio/bibtex/utils/bib2xhtml/eg/named-c.html
new file mode 100644
index 0000000000..05b785e8d8
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/named-c.html
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s named -c </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s named -c -h Example: bib2xhtml -s named -c example.bib eg/named-c.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Thompson, 1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[Aho et&nbsp;al., 1974]</a></dt><dd>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[Abelson et&nbsp;al., 1985]</a></dt><dd>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[Goldberg and Robson,
+ 1989]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spinellis,
+ 1990]</a></dt><dd>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spinellis,
+ 1993]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spinellis,
+ 1994]</a></dt><dd>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spinellis,
+ 1996]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[Gritzalis et&nbsp;al.,
+ 1999]</a></dt><dd>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spinellis,
+ 2000]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[Barab&aacute;si et&nbsp;al.,
+ 2000]</a></dt><dd>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[Zwicky et&nbsp;al.,
+ 2000]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spinellis,
+ 2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spinellis,
+ 2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spinellis, 2003]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[Androutsellis-Theotokis and Spinellis,
+ 2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spinellis, 2006]</a></dt><dd>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/named-k.html b/biblio/bibtex/utils/bib2xhtml/eg/named-k.html
new file mode 100644
index 0000000000..20ed8daf59
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/named-k.html
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s named -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s named -k -h Example: bib2xhtml -s named -k example.bib eg/named-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[Abelson et&nbsp;al., 1985 &mdash; SICP]</a></dt><dd>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[Aho et&nbsp;al., 1974 &mdash; RedDragon]</a></dt><dd>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[Androutsellis-Theotokis and Spinellis,
+ 2004 &mdash; Androutsellis:2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[Barab&aacute;si et&nbsp;al.,
+ 2000 &mdash; XXX00]</a></dt><dd>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[Goldberg and Robson,
+ 1989 &mdash; Smalltalk]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[Gritzalis et&nbsp;al.,
+ 1999 &mdash; Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spinellis,
+ 1990 &mdash; Spinellis:1990]</a></dt><dd>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spinellis,
+ 1993 &mdash; Spinellis:1993]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spinellis,
+ 1994 &mdash; Spinellis:1994]</a></dt><dd>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spinellis,
+ 1996 &mdash; Spinellis:1996]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spinellis,
+ 2000 &mdash; Spinellis:2000]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spinellis,
+ 2003 &mdash; Spinellis:2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spinellis,
+ 2003 &mdash; Spinellis:2003b]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spinellis, 2003 &mdash; CodeReading]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spinellis, 2006 &mdash; Spi06i]</a></dt><dd>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Thompson, 1968 &mdash; Thompson:1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[Zwicky et&nbsp;al.,
+ 2000 &mdash; Firewalls]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/named-n-c-k.html b/biblio/bibtex/utils/bib2xhtml/eg/named-n-c-k.html
new file mode 100644
index 0000000000..c7f9b751d1
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/named-n-c-k.html
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s named -n Spinellis -c -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s named -n Spinellis -c -k -h Example: bib2xhtml -s named -n Spinellis -c -k example.bib eg/named-n-c-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Thompson, 1968 &mdash; Thompson:1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[Aho et&nbsp;al., 1974 &mdash; RedDragon]</a></dt><dd>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[Abelson et&nbsp;al., 1985 &mdash; SICP]</a></dt><dd>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[Goldberg and Robson,
+ 1989 &mdash; Smalltalk]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spinellis,
+ 1990 &mdash; Spinellis:1990]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spinellis,
+ 1993 &mdash; Spinellis:1993]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spinellis,
+ 1994 &mdash; Spinellis:1994]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spinellis,
+ 1996 &mdash; Spinellis:1996]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[Gritzalis et&nbsp;al.,
+ 1999 &mdash; Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spinellis,
+ 2000 &mdash; Spinellis:2000]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[Barab&aacute;si et&nbsp;al.,
+ 2000 &mdash; XXX00]</a></dt><dd>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[Zwicky et&nbsp;al.,
+ 2000 &mdash; Firewalls]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spinellis,
+ 2003 &mdash; Spinellis:2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spinellis,
+ 2003 &mdash; Spinellis:2003b]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spinellis, 2003 &mdash; CodeReading]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[Androutsellis-Theotokis and Spinellis,
+ 2004 &mdash; Androutsellis:2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spinellis, 2006 &mdash; Spi06i]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/named-n-c-r-k.html b/biblio/bibtex/utils/bib2xhtml/eg/named-n-c-r-k.html
new file mode 100644
index 0000000000..9ff800ad62
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/named-n-c-r-k.html
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s named -n Spinellis -c -r -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s named -n Spinellis -c -r -k -h Example: bib2xhtml -s named -n Spinellis -c -r -k example.bib eg/named-n-c-r-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spinellis, 2006 &mdash; Spi06i]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[Androutsellis-Theotokis and Spinellis,
+ 2004 &mdash; Androutsellis:2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spinellis, 2003 &mdash; CodeReading]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spinellis,
+ 2003 &mdash; Spinellis:2003b]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spinellis,
+ 2003 &mdash; Spinellis:2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[Barab&aacute;si et&nbsp;al.,
+ 2000 &mdash; XXX00]</a></dt><dd>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[Zwicky et&nbsp;al.,
+ 2000 &mdash; Firewalls]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spinellis,
+ 2000 &mdash; Spinellis:2000]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[Gritzalis et&nbsp;al.,
+ 1999 &mdash; Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spinellis,
+ 1996 &mdash; Spinellis:1996]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spinellis,
+ 1994 &mdash; Spinellis:1994]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spinellis,
+ 1993 &mdash; Spinellis:1993]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spinellis,
+ 1990 &mdash; Spinellis:1990]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[Goldberg and Robson,
+ 1989 &mdash; Smalltalk]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[Abelson et&nbsp;al., 1985 &mdash; SICP]</a></dt><dd>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[Aho et&nbsp;al., 1974 &mdash; RedDragon]</a></dt><dd>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Thompson, 1968 &mdash; Thompson:1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/named-n-c-r.html b/biblio/bibtex/utils/bib2xhtml/eg/named-n-c-r.html
new file mode 100644
index 0000000000..b07bbc981e
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/named-n-c-r.html
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s named -n Spinellis -c -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s named -n Spinellis -c -r -h Example: bib2xhtml -s named -n Spinellis -c -r example.bib eg/named-n-c-r.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spinellis, 2006]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[Androutsellis-Theotokis and Spinellis,
+ 2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spinellis, 2003]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spinellis,
+ 2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spinellis,
+ 2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[Barab&aacute;si et&nbsp;al.,
+ 2000]</a></dt><dd>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[Zwicky et&nbsp;al.,
+ 2000]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spinellis,
+ 2000]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[Gritzalis et&nbsp;al.,
+ 1999]</a></dt><dd>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spinellis,
+ 1996]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spinellis,
+ 1994]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spinellis,
+ 1993]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spinellis,
+ 1990]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[Goldberg and Robson,
+ 1989]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[Abelson et&nbsp;al., 1985]</a></dt><dd>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[Aho et&nbsp;al., 1974]</a></dt><dd>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Thompson, 1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/named-n-c.html b/biblio/bibtex/utils/bib2xhtml/eg/named-n-c.html
new file mode 100644
index 0000000000..8048ffa614
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/named-n-c.html
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s named -n Spinellis -c </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s named -n Spinellis -c -h Example: bib2xhtml -s named -n Spinellis -c example.bib eg/named-n-c.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Thompson, 1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[Aho et&nbsp;al., 1974]</a></dt><dd>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[Abelson et&nbsp;al., 1985]</a></dt><dd>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[Goldberg and Robson,
+ 1989]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spinellis,
+ 1990]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spinellis,
+ 1993]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spinellis,
+ 1994]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spinellis,
+ 1996]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[Gritzalis et&nbsp;al.,
+ 1999]</a></dt><dd>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spinellis,
+ 2000]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[Barab&aacute;si et&nbsp;al.,
+ 2000]</a></dt><dd>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[Zwicky et&nbsp;al.,
+ 2000]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spinellis,
+ 2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spinellis,
+ 2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spinellis, 2003]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[Androutsellis-Theotokis and Spinellis,
+ 2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spinellis, 2006]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/named-n-k.html b/biblio/bibtex/utils/bib2xhtml/eg/named-n-k.html
new file mode 100644
index 0000000000..53b73adb34
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/named-n-k.html
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s named -n Spinellis -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s named -n Spinellis -k -h Example: bib2xhtml -s named -n Spinellis -k example.bib eg/named-n-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[Abelson et&nbsp;al., 1985 &mdash; SICP]</a></dt><dd>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[Aho et&nbsp;al., 1974 &mdash; RedDragon]</a></dt><dd>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[Androutsellis-Theotokis and Spinellis,
+ 2004 &mdash; Androutsellis:2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[Barab&aacute;si et&nbsp;al.,
+ 2000 &mdash; XXX00]</a></dt><dd>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[Goldberg and Robson,
+ 1989 &mdash; Smalltalk]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[Gritzalis et&nbsp;al.,
+ 1999 &mdash; Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spinellis,
+ 1990 &mdash; Spinellis:1990]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spinellis,
+ 1993 &mdash; Spinellis:1993]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spinellis,
+ 1994 &mdash; Spinellis:1994]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spinellis,
+ 1996 &mdash; Spinellis:1996]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spinellis,
+ 2000 &mdash; Spinellis:2000]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spinellis,
+ 2003 &mdash; Spinellis:2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spinellis,
+ 2003 &mdash; Spinellis:2003b]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spinellis, 2003 &mdash; CodeReading]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spinellis, 2006 &mdash; Spi06i]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Thompson, 1968 &mdash; Thompson:1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[Zwicky et&nbsp;al.,
+ 2000 &mdash; Firewalls]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/named-n-r-k.html b/biblio/bibtex/utils/bib2xhtml/eg/named-n-r-k.html
new file mode 100644
index 0000000000..f896f23777
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/named-n-r-k.html
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s named -n Spinellis -r -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s named -n Spinellis -r -k -h Example: bib2xhtml -s named -n Spinellis -r -k example.bib eg/named-n-r-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[Abelson et&nbsp;al., 1985 &mdash; SICP]</a></dt><dd>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[Aho et&nbsp;al., 1974 &mdash; RedDragon]</a></dt><dd>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[Androutsellis-Theotokis and Spinellis,
+ 2004 &mdash; Androutsellis:2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[Barab&aacute;si et&nbsp;al.,
+ 2000 &mdash; XXX00]</a></dt><dd>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[Goldberg and Robson,
+ 1989 &mdash; Smalltalk]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[Gritzalis et&nbsp;al.,
+ 1999 &mdash; Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spinellis, 2006 &mdash; Spi06i]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spinellis, 2003 &mdash; CodeReading]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spinellis,
+ 2003 &mdash; Spinellis:2003b]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spinellis,
+ 2003 &mdash; Spinellis:2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spinellis,
+ 2000 &mdash; Spinellis:2000]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spinellis,
+ 1996 &mdash; Spinellis:1996]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spinellis,
+ 1994 &mdash; Spinellis:1994]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spinellis,
+ 1993 &mdash; Spinellis:1993]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spinellis,
+ 1990 &mdash; Spinellis:1990]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Thompson, 1968 &mdash; Thompson:1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[Zwicky et&nbsp;al.,
+ 2000 &mdash; Firewalls]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/named-n-r.html b/biblio/bibtex/utils/bib2xhtml/eg/named-n-r.html
new file mode 100644
index 0000000000..ccacb85b19
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/named-n-r.html
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s named -n Spinellis -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s named -n Spinellis -r -h Example: bib2xhtml -s named -n Spinellis -r example.bib eg/named-n-r.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[Abelson et&nbsp;al., 1985]</a></dt><dd>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[Aho et&nbsp;al., 1974]</a></dt><dd>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[Androutsellis-Theotokis and Spinellis,
+ 2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[Barab&aacute;si et&nbsp;al.,
+ 2000]</a></dt><dd>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[Goldberg and Robson,
+ 1989]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[Gritzalis et&nbsp;al.,
+ 1999]</a></dt><dd>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spinellis, 2006]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spinellis, 2003]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spinellis,
+ 2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spinellis,
+ 2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spinellis,
+ 2000]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spinellis,
+ 1996]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spinellis,
+ 1994]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spinellis,
+ 1993]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spinellis,
+ 1990]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Thompson, 1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[Zwicky et&nbsp;al.,
+ 2000]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/named-n-u-c-k.html b/biblio/bibtex/utils/bib2xhtml/eg/named-n-u-c-k.html
new file mode 100644
index 0000000000..b2cbf5e1fa
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/named-n-u-c-k.html
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s named -n Spinellis -u -c -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s named -n Spinellis -u -c -k -h Example: bib2xhtml -s named -n Spinellis -u -c -k example.bib eg/named-n-u-c-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Thompson, 1968 — Thompson:1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[Aho et al., 1974 — RedDragon]</a></dt><dd>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[Abelson et al., 1985 — SICP]</a></dt><dd>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[Goldberg and Robson,
+ 1989 — Smalltalk]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spinellis,
+ 1990 — Spinellis:1990]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spinellis,
+ 1993 — Spinellis:1993]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spinellis,
+ 1994 — Spinellis:1994]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spinellis,
+ 1996 — Spinellis:1996]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[Gritzalis et al.,
+ 1999 — Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spinellis,
+ 2000 — Spinellis:2000]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[Barabási et al.,
+ 2000 — XXX00]</a></dt><dd>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[Zwicky et al.,
+ 2000 — Firewalls]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spinellis,
+ 2003 — Spinellis:2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spinellis,
+ 2003 — Spinellis:2003b]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spinellis, 2003 — CodeReading]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[Androutsellis-Theotokis and Spinellis,
+ 2004 — Androutsellis:2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spinellis, 2006 — Spi06i]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/named-n-u-c-r-k.html b/biblio/bibtex/utils/bib2xhtml/eg/named-n-u-c-r-k.html
new file mode 100644
index 0000000000..a97f4450f2
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/named-n-u-c-r-k.html
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s named -n Spinellis -u -c -r -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s named -n Spinellis -u -c -r -k -h Example: bib2xhtml -s named -n Spinellis -u -c -r -k example.bib eg/named-n-u-c-r-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spinellis, 2006 — Spi06i]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[Androutsellis-Theotokis and Spinellis,
+ 2004 — Androutsellis:2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spinellis, 2003 — CodeReading]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spinellis,
+ 2003 — Spinellis:2003b]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spinellis,
+ 2003 — Spinellis:2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[Barabási et al.,
+ 2000 — XXX00]</a></dt><dd>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[Zwicky et al.,
+ 2000 — Firewalls]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spinellis,
+ 2000 — Spinellis:2000]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[Gritzalis et al.,
+ 1999 — Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spinellis,
+ 1996 — Spinellis:1996]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spinellis,
+ 1994 — Spinellis:1994]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spinellis,
+ 1993 — Spinellis:1993]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spinellis,
+ 1990 — Spinellis:1990]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[Goldberg and Robson,
+ 1989 — Smalltalk]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[Abelson et al., 1985 — SICP]</a></dt><dd>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[Aho et al., 1974 — RedDragon]</a></dt><dd>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Thompson, 1968 — Thompson:1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/named-n-u-c-r.html b/biblio/bibtex/utils/bib2xhtml/eg/named-n-u-c-r.html
new file mode 100644
index 0000000000..b288e58a11
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/named-n-u-c-r.html
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s named -n Spinellis -u -c -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s named -n Spinellis -u -c -r -h Example: bib2xhtml -s named -n Spinellis -u -c -r example.bib eg/named-n-u-c-r.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spinellis, 2006]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[Androutsellis-Theotokis and Spinellis,
+ 2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spinellis, 2003]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spinellis,
+ 2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spinellis,
+ 2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[Barabási et al.,
+ 2000]</a></dt><dd>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[Zwicky et al.,
+ 2000]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spinellis,
+ 2000]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[Gritzalis et al.,
+ 1999]</a></dt><dd>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spinellis,
+ 1996]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spinellis,
+ 1994]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spinellis,
+ 1993]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spinellis,
+ 1990]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[Goldberg and Robson,
+ 1989]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[Abelson et al., 1985]</a></dt><dd>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[Aho et al., 1974]</a></dt><dd>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Thompson, 1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/named-n-u-c.html b/biblio/bibtex/utils/bib2xhtml/eg/named-n-u-c.html
new file mode 100644
index 0000000000..08e9c55f05
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/named-n-u-c.html
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s named -n Spinellis -u -c </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s named -n Spinellis -u -c -h Example: bib2xhtml -s named -n Spinellis -u -c example.bib eg/named-n-u-c.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Thompson, 1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[Aho et al., 1974]</a></dt><dd>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[Abelson et al., 1985]</a></dt><dd>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[Goldberg and Robson,
+ 1989]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spinellis,
+ 1990]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spinellis,
+ 1993]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spinellis,
+ 1994]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spinellis,
+ 1996]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[Gritzalis et al.,
+ 1999]</a></dt><dd>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spinellis,
+ 2000]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[Barabási et al.,
+ 2000]</a></dt><dd>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[Zwicky et al.,
+ 2000]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spinellis,
+ 2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spinellis,
+ 2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spinellis, 2003]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[Androutsellis-Theotokis and Spinellis,
+ 2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spinellis, 2006]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/named-n-u-k.html b/biblio/bibtex/utils/bib2xhtml/eg/named-n-u-k.html
new file mode 100644
index 0000000000..b375b0286c
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/named-n-u-k.html
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s named -n Spinellis -u -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s named -n Spinellis -u -k -h Example: bib2xhtml -s named -n Spinellis -u -k example.bib eg/named-n-u-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[Abelson et al., 1985 — SICP]</a></dt><dd>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[Aho et al., 1974 — RedDragon]</a></dt><dd>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[Androutsellis-Theotokis and Spinellis,
+ 2004 — Androutsellis:2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[Barabási et al.,
+ 2000 — XXX00]</a></dt><dd>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[Goldberg and Robson,
+ 1989 — Smalltalk]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[Gritzalis et al.,
+ 1999 — Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spinellis,
+ 1990 — Spinellis:1990]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spinellis,
+ 1993 — Spinellis:1993]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spinellis,
+ 1994 — Spinellis:1994]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spinellis,
+ 1996 — Spinellis:1996]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spinellis,
+ 2000 — Spinellis:2000]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spinellis,
+ 2003 — Spinellis:2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spinellis,
+ 2003 — Spinellis:2003b]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spinellis, 2003 — CodeReading]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spinellis, 2006 — Spi06i]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Thompson, 1968 — Thompson:1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[Zwicky et al.,
+ 2000 — Firewalls]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/named-n-u-r-k.html b/biblio/bibtex/utils/bib2xhtml/eg/named-n-u-r-k.html
new file mode 100644
index 0000000000..53ef3a9e88
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/named-n-u-r-k.html
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s named -n Spinellis -u -r -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s named -n Spinellis -u -r -k -h Example: bib2xhtml -s named -n Spinellis -u -r -k example.bib eg/named-n-u-r-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[Abelson et al., 1985 — SICP]</a></dt><dd>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[Aho et al., 1974 — RedDragon]</a></dt><dd>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[Androutsellis-Theotokis and Spinellis,
+ 2004 — Androutsellis:2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[Barabási et al.,
+ 2000 — XXX00]</a></dt><dd>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[Goldberg and Robson,
+ 1989 — Smalltalk]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[Gritzalis et al.,
+ 1999 — Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spinellis, 2006 — Spi06i]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spinellis, 2003 — CodeReading]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spinellis,
+ 2003 — Spinellis:2003b]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spinellis,
+ 2003 — Spinellis:2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spinellis,
+ 2000 — Spinellis:2000]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spinellis,
+ 1996 — Spinellis:1996]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spinellis,
+ 1994 — Spinellis:1994]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spinellis,
+ 1993 — Spinellis:1993]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spinellis,
+ 1990 — Spinellis:1990]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Thompson, 1968 — Thompson:1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[Zwicky et al.,
+ 2000 — Firewalls]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/named-n-u-r.html b/biblio/bibtex/utils/bib2xhtml/eg/named-n-u-r.html
new file mode 100644
index 0000000000..b7e308c0b7
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/named-n-u-r.html
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s named -n Spinellis -u -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s named -n Spinellis -u -r -h Example: bib2xhtml -s named -n Spinellis -u -r example.bib eg/named-n-u-r.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[Abelson et al., 1985]</a></dt><dd>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[Aho et al., 1974]</a></dt><dd>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[Androutsellis-Theotokis and Spinellis,
+ 2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[Barabási et al.,
+ 2000]</a></dt><dd>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[Goldberg and Robson,
+ 1989]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[Gritzalis et al.,
+ 1999]</a></dt><dd>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spinellis, 2006]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spinellis, 2003]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spinellis,
+ 2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spinellis,
+ 2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spinellis,
+ 2000]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spinellis,
+ 1996]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spinellis,
+ 1994]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spinellis,
+ 1993]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spinellis,
+ 1990]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Thompson, 1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[Zwicky et al.,
+ 2000]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/named-n-u.html b/biblio/bibtex/utils/bib2xhtml/eg/named-n-u.html
new file mode 100644
index 0000000000..2b6a3ba9e5
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/named-n-u.html
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s named -n Spinellis -u </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s named -n Spinellis -u -h Example: bib2xhtml -s named -n Spinellis -u example.bib eg/named-n-u.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[Abelson et al., 1985]</a></dt><dd>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[Aho et al., 1974]</a></dt><dd>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[Androutsellis-Theotokis and Spinellis,
+ 2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[Barabási et al.,
+ 2000]</a></dt><dd>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[Goldberg and Robson,
+ 1989]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[Gritzalis et al.,
+ 1999]</a></dt><dd>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spinellis,
+ 1990]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spinellis,
+ 1993]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spinellis,
+ 1994]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spinellis,
+ 1996]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spinellis,
+ 2000]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spinellis,
+ 2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spinellis,
+ 2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spinellis, 2003]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spinellis, 2006]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Thompson, 1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[Zwicky et al.,
+ 2000]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/named-n.html b/biblio/bibtex/utils/bib2xhtml/eg/named-n.html
new file mode 100644
index 0000000000..6a8bc56b2b
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/named-n.html
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s named -n Spinellis </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s named -n Spinellis -h Example: bib2xhtml -s named -n Spinellis example.bib eg/named-n.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[Abelson et&nbsp;al., 1985]</a></dt><dd>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[Aho et&nbsp;al., 1974]</a></dt><dd>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[Androutsellis-Theotokis and Spinellis,
+ 2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[Barab&aacute;si et&nbsp;al.,
+ 2000]</a></dt><dd>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[Goldberg and Robson,
+ 1989]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[Gritzalis et&nbsp;al.,
+ 1999]</a></dt><dd>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spinellis,
+ 1990]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spinellis,
+ 1993]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spinellis,
+ 1994]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spinellis,
+ 1996]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spinellis,
+ 2000]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spinellis,
+ 2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spinellis,
+ 2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spinellis, 2003]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spinellis, 2006]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Thompson, 1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[Zwicky et&nbsp;al.,
+ 2000]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/named-r-k.html b/biblio/bibtex/utils/bib2xhtml/eg/named-r-k.html
new file mode 100644
index 0000000000..caa84f875f
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/named-r-k.html
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s named -r -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s named -r -k -h Example: bib2xhtml -s named -r -k example.bib eg/named-r-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[Abelson et&nbsp;al., 1985 &mdash; SICP]</a></dt><dd>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[Aho et&nbsp;al., 1974 &mdash; RedDragon]</a></dt><dd>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[Androutsellis-Theotokis and Spinellis,
+ 2004 &mdash; Androutsellis:2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[Barab&aacute;si et&nbsp;al.,
+ 2000 &mdash; XXX00]</a></dt><dd>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[Goldberg and Robson,
+ 1989 &mdash; Smalltalk]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[Gritzalis et&nbsp;al.,
+ 1999 &mdash; Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spinellis, 2006 &mdash; Spi06i]</a></dt><dd>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spinellis, 2003 &mdash; CodeReading]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spinellis,
+ 2003 &mdash; Spinellis:2003b]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spinellis,
+ 2003 &mdash; Spinellis:2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spinellis,
+ 2000 &mdash; Spinellis:2000]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spinellis,
+ 1996 &mdash; Spinellis:1996]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spinellis,
+ 1994 &mdash; Spinellis:1994]</a></dt><dd>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spinellis,
+ 1993 &mdash; Spinellis:1993]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spinellis,
+ 1990 &mdash; Spinellis:1990]</a></dt><dd>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Thompson, 1968 &mdash; Thompson:1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[Zwicky et&nbsp;al.,
+ 2000 &mdash; Firewalls]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/named-r.html b/biblio/bibtex/utils/bib2xhtml/eg/named-r.html
new file mode 100644
index 0000000000..e8b1181487
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/named-r.html
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s named -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s named -r -h Example: bib2xhtml -s named -r example.bib eg/named-r.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[Abelson et&nbsp;al., 1985]</a></dt><dd>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[Aho et&nbsp;al., 1974]</a></dt><dd>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[Androutsellis-Theotokis and Spinellis,
+ 2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[Barab&aacute;si et&nbsp;al.,
+ 2000]</a></dt><dd>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[Goldberg and Robson,
+ 1989]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[Gritzalis et&nbsp;al.,
+ 1999]</a></dt><dd>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spinellis, 2006]</a></dt><dd>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spinellis, 2003]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spinellis,
+ 2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spinellis,
+ 2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spinellis,
+ 2000]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spinellis,
+ 1996]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spinellis,
+ 1994]</a></dt><dd>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spinellis,
+ 1993]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spinellis,
+ 1990]</a></dt><dd>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Thompson, 1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[Zwicky et&nbsp;al.,
+ 2000]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/named-u-c-k.html b/biblio/bibtex/utils/bib2xhtml/eg/named-u-c-k.html
new file mode 100644
index 0000000000..8abcedd5ff
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/named-u-c-k.html
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s named -u -c -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s named -u -c -k -h Example: bib2xhtml -s named -u -c -k example.bib eg/named-u-c-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Thompson, 1968 — Thompson:1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[Aho et al., 1974 — RedDragon]</a></dt><dd>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[Abelson et al., 1985 — SICP]</a></dt><dd>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[Goldberg and Robson,
+ 1989 — Smalltalk]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spinellis,
+ 1990 — Spinellis:1990]</a></dt><dd>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spinellis,
+ 1993 — Spinellis:1993]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spinellis,
+ 1994 — Spinellis:1994]</a></dt><dd>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spinellis,
+ 1996 — Spinellis:1996]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[Gritzalis et al.,
+ 1999 — Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spinellis,
+ 2000 — Spinellis:2000]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[Barabási et al.,
+ 2000 — XXX00]</a></dt><dd>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[Zwicky et al.,
+ 2000 — Firewalls]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spinellis,
+ 2003 — Spinellis:2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spinellis,
+ 2003 — Spinellis:2003b]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spinellis, 2003 — CodeReading]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[Androutsellis-Theotokis and Spinellis,
+ 2004 — Androutsellis:2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spinellis, 2006 — Spi06i]</a></dt><dd>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/named-u-c-r-k.html b/biblio/bibtex/utils/bib2xhtml/eg/named-u-c-r-k.html
new file mode 100644
index 0000000000..205ed92b3e
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/named-u-c-r-k.html
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s named -u -c -r -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s named -u -c -r -k -h Example: bib2xhtml -s named -u -c -r -k example.bib eg/named-u-c-r-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spinellis, 2006 — Spi06i]</a></dt><dd>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[Androutsellis-Theotokis and Spinellis,
+ 2004 — Androutsellis:2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spinellis, 2003 — CodeReading]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spinellis,
+ 2003 — Spinellis:2003b]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spinellis,
+ 2003 — Spinellis:2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[Barabási et al.,
+ 2000 — XXX00]</a></dt><dd>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[Zwicky et al.,
+ 2000 — Firewalls]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spinellis,
+ 2000 — Spinellis:2000]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[Gritzalis et al.,
+ 1999 — Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spinellis,
+ 1996 — Spinellis:1996]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spinellis,
+ 1994 — Spinellis:1994]</a></dt><dd>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spinellis,
+ 1993 — Spinellis:1993]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spinellis,
+ 1990 — Spinellis:1990]</a></dt><dd>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[Goldberg and Robson,
+ 1989 — Smalltalk]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[Abelson et al., 1985 — SICP]</a></dt><dd>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[Aho et al., 1974 — RedDragon]</a></dt><dd>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Thompson, 1968 — Thompson:1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/named-u-c-r.html b/biblio/bibtex/utils/bib2xhtml/eg/named-u-c-r.html
new file mode 100644
index 0000000000..e68ef5758d
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/named-u-c-r.html
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s named -u -c -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s named -u -c -r -h Example: bib2xhtml -s named -u -c -r example.bib eg/named-u-c-r.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spinellis, 2006]</a></dt><dd>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[Androutsellis-Theotokis and Spinellis,
+ 2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spinellis, 2003]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spinellis,
+ 2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spinellis,
+ 2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[Barabási et al.,
+ 2000]</a></dt><dd>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[Zwicky et al.,
+ 2000]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spinellis,
+ 2000]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[Gritzalis et al.,
+ 1999]</a></dt><dd>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spinellis,
+ 1996]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spinellis,
+ 1994]</a></dt><dd>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spinellis,
+ 1993]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spinellis,
+ 1990]</a></dt><dd>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[Goldberg and Robson,
+ 1989]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[Abelson et al., 1985]</a></dt><dd>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[Aho et al., 1974]</a></dt><dd>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Thompson, 1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/named-u-c.html b/biblio/bibtex/utils/bib2xhtml/eg/named-u-c.html
new file mode 100644
index 0000000000..4adde00f09
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/named-u-c.html
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s named -u -c </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s named -u -c -h Example: bib2xhtml -s named -u -c example.bib eg/named-u-c.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Thompson, 1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[Aho et al., 1974]</a></dt><dd>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[Abelson et al., 1985]</a></dt><dd>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[Goldberg and Robson,
+ 1989]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spinellis,
+ 1990]</a></dt><dd>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spinellis,
+ 1993]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spinellis,
+ 1994]</a></dt><dd>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spinellis,
+ 1996]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[Gritzalis et al.,
+ 1999]</a></dt><dd>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spinellis,
+ 2000]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[Barabási et al.,
+ 2000]</a></dt><dd>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[Zwicky et al.,
+ 2000]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spinellis,
+ 2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spinellis,
+ 2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spinellis, 2003]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[Androutsellis-Theotokis and Spinellis,
+ 2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spinellis, 2006]</a></dt><dd>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/named-u-k.html b/biblio/bibtex/utils/bib2xhtml/eg/named-u-k.html
new file mode 100644
index 0000000000..ac01b95cbb
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/named-u-k.html
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s named -u -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s named -u -k -h Example: bib2xhtml -s named -u -k example.bib eg/named-u-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[Abelson et al., 1985 — SICP]</a></dt><dd>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[Aho et al., 1974 — RedDragon]</a></dt><dd>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[Androutsellis-Theotokis and Spinellis,
+ 2004 — Androutsellis:2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[Barabási et al.,
+ 2000 — XXX00]</a></dt><dd>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[Goldberg and Robson,
+ 1989 — Smalltalk]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[Gritzalis et al.,
+ 1999 — Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spinellis,
+ 1990 — Spinellis:1990]</a></dt><dd>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spinellis,
+ 1993 — Spinellis:1993]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spinellis,
+ 1994 — Spinellis:1994]</a></dt><dd>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spinellis,
+ 1996 — Spinellis:1996]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spinellis,
+ 2000 — Spinellis:2000]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spinellis,
+ 2003 — Spinellis:2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spinellis,
+ 2003 — Spinellis:2003b]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spinellis, 2003 — CodeReading]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spinellis, 2006 — Spi06i]</a></dt><dd>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Thompson, 1968 — Thompson:1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[Zwicky et al.,
+ 2000 — Firewalls]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/named-u-r-k.html b/biblio/bibtex/utils/bib2xhtml/eg/named-u-r-k.html
new file mode 100644
index 0000000000..e616b776be
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/named-u-r-k.html
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s named -u -r -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s named -u -r -k -h Example: bib2xhtml -s named -u -r -k example.bib eg/named-u-r-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[Abelson et al., 1985 — SICP]</a></dt><dd>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[Aho et al., 1974 — RedDragon]</a></dt><dd>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[Androutsellis-Theotokis and Spinellis,
+ 2004 — Androutsellis:2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[Barabási et al.,
+ 2000 — XXX00]</a></dt><dd>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[Goldberg and Robson,
+ 1989 — Smalltalk]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[Gritzalis et al.,
+ 1999 — Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spinellis, 2006 — Spi06i]</a></dt><dd>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spinellis, 2003 — CodeReading]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spinellis,
+ 2003 — Spinellis:2003b]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spinellis,
+ 2003 — Spinellis:2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spinellis,
+ 2000 — Spinellis:2000]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spinellis,
+ 1996 — Spinellis:1996]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spinellis,
+ 1994 — Spinellis:1994]</a></dt><dd>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spinellis,
+ 1993 — Spinellis:1993]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spinellis,
+ 1990 — Spinellis:1990]</a></dt><dd>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Thompson, 1968 — Thompson:1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[Zwicky et al.,
+ 2000 — Firewalls]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/named-u-r.html b/biblio/bibtex/utils/bib2xhtml/eg/named-u-r.html
new file mode 100644
index 0000000000..4b7b1eaa74
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/named-u-r.html
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s named -u -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s named -u -r -h Example: bib2xhtml -s named -u -r example.bib eg/named-u-r.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[Abelson et al., 1985]</a></dt><dd>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[Aho et al., 1974]</a></dt><dd>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[Androutsellis-Theotokis and Spinellis,
+ 2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[Barabási et al.,
+ 2000]</a></dt><dd>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[Goldberg and Robson,
+ 1989]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[Gritzalis et al.,
+ 1999]</a></dt><dd>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spinellis, 2006]</a></dt><dd>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spinellis, 2003]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spinellis,
+ 2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spinellis,
+ 2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spinellis,
+ 2000]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spinellis,
+ 1996]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spinellis,
+ 1994]</a></dt><dd>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spinellis,
+ 1993]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spinellis,
+ 1990]</a></dt><dd>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Thompson, 1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[Zwicky et al.,
+ 2000]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/named-u.html b/biblio/bibtex/utils/bib2xhtml/eg/named-u.html
new file mode 100644
index 0000000000..8c65024010
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/named-u.html
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s named -u </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s named -u -h Example: bib2xhtml -s named -u example.bib eg/named-u.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[Abelson et al., 1985]</a></dt><dd>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[Aho et al., 1974]</a></dt><dd>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[Androutsellis-Theotokis and Spinellis,
+ 2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[Barabási et al.,
+ 2000]</a></dt><dd>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[Goldberg and Robson,
+ 1989]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[Gritzalis et al.,
+ 1999]</a></dt><dd>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spinellis,
+ 1990]</a></dt><dd>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spinellis,
+ 1993]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spinellis,
+ 1994]</a></dt><dd>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spinellis,
+ 1996]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spinellis,
+ 2000]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spinellis,
+ 2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spinellis,
+ 2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spinellis, 2003]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spinellis, 2006]</a></dt><dd>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Thompson, 1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[Zwicky et al.,
+ 2000]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/named.html b/biblio/bibtex/utils/bib2xhtml/eg/named.html
new file mode 100644
index 0000000000..90a2a3e05b
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/named.html
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s named </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s named -h Example: bib2xhtml -s named example.bib eg/named.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[Abelson et&nbsp;al., 1985]</a></dt><dd>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[Aho et&nbsp;al., 1974]</a></dt><dd>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[Androutsellis-Theotokis and Spinellis,
+ 2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[Barab&aacute;si et&nbsp;al.,
+ 2000]</a></dt><dd>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[Goldberg and Robson,
+ 1989]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[Gritzalis et&nbsp;al.,
+ 1999]</a></dt><dd>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[Spinellis,
+ 1990]</a></dt><dd>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[Spinellis,
+ 1993]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[Spinellis,
+ 1994]</a></dt><dd>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[Spinellis,
+ 1996]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[Spinellis,
+ 2000]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[Spinellis,
+ 2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[Spinellis,
+ 2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[Spinellis, 2003]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[Spinellis, 2006]</a></dt><dd>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[Thompson, 1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[Zwicky et&nbsp;al.,
+ 2000]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/paragraph-c-r.html b/biblio/bibtex/utils/bib2xhtml/eg/paragraph-c-r.html
new file mode 100644
index 0000000000..98d16e7dfb
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/paragraph-c-r.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s paragraph -c -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s paragraph -c -r -h Example: bib2xhtml -s paragraph -c -r example.bib eg/paragraph-c-r.html -->
+<div class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spi06i"></a>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</p>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<p><a name="Androutsellis:2004"></a>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="CodeReading"></a>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2003b"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2003"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</p>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<p><a name="XXX00"></a>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</p>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<p><a name="Firewalls"></a>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2000"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</p>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<p><a name="Gritzalis:1999"></a>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1996"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1994"></a>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1993"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1990"></a>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</p>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<p><a name="Smalltalk"></a>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</p>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<p><a name="SICP"></a>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</p>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<p><a name="RedDragon"></a>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</p>
+
+<!-- Authors: Ken Thompson -->
+<p><a name="Thompson:1968"></a>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</p>
+
+</div>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/paragraph-c.html b/biblio/bibtex/utils/bib2xhtml/eg/paragraph-c.html
new file mode 100644
index 0000000000..a449367c31
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/paragraph-c.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s paragraph -c </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s paragraph -c -h Example: bib2xhtml -s paragraph -c example.bib eg/paragraph-c.html -->
+<div class="bib2xhtml">
+
+<!-- Authors: Ken Thompson -->
+<p><a name="Thompson:1968"></a>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</p>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<p><a name="RedDragon"></a>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</p>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<p><a name="SICP"></a>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</p>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<p><a name="Smalltalk"></a>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1990"></a>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1993"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1994"></a>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1996"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</p>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<p><a name="Gritzalis:1999"></a>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2000"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</p>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<p><a name="XXX00"></a>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</p>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<p><a name="Firewalls"></a>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2003"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2003b"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="CodeReading"></a>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</p>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<p><a name="Androutsellis:2004"></a>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spi06i"></a>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</p>
+
+</div>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/paragraph-n-c-r.html b/biblio/bibtex/utils/bib2xhtml/eg/paragraph-n-c-r.html
new file mode 100644
index 0000000000..adafbf2c08
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/paragraph-n-c-r.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s paragraph -n Spinellis -c -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s paragraph -n Spinellis -c -r -h Example: bib2xhtml -s paragraph -n Spinellis -c -r example.bib eg/paragraph-n-c-r.html -->
+<div class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spi06i"></a><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</p>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<p><a name="Androutsellis:2004"></a>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="CodeReading"></a><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2003b"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2003"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</p>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<p><a name="XXX00"></a>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</p>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<p><a name="Firewalls"></a>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2000"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</p>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<p><a name="Gritzalis:1999"></a>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1996"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1994"></a><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1993"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1990"></a><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</p>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<p><a name="Smalltalk"></a>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</p>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<p><a name="SICP"></a>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</p>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<p><a name="RedDragon"></a>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</p>
+
+<!-- Authors: Ken Thompson -->
+<p><a name="Thompson:1968"></a>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</p>
+
+</div>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/paragraph-n-c.html b/biblio/bibtex/utils/bib2xhtml/eg/paragraph-n-c.html
new file mode 100644
index 0000000000..c33a6e1cd5
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/paragraph-n-c.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s paragraph -n Spinellis -c </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s paragraph -n Spinellis -c -h Example: bib2xhtml -s paragraph -n Spinellis -c example.bib eg/paragraph-n-c.html -->
+<div class="bib2xhtml">
+
+<!-- Authors: Ken Thompson -->
+<p><a name="Thompson:1968"></a>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</p>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<p><a name="RedDragon"></a>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</p>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<p><a name="SICP"></a>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</p>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<p><a name="Smalltalk"></a>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1990"></a><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1993"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1994"></a><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1996"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</p>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<p><a name="Gritzalis:1999"></a>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2000"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</p>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<p><a name="XXX00"></a>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</p>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<p><a name="Firewalls"></a>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2003"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2003b"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="CodeReading"></a><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</p>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<p><a name="Androutsellis:2004"></a>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spi06i"></a><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</p>
+
+</div>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/paragraph-n-r.html b/biblio/bibtex/utils/bib2xhtml/eg/paragraph-n-r.html
new file mode 100644
index 0000000000..0f1df57d75
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/paragraph-n-r.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s paragraph -n Spinellis -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s paragraph -n Spinellis -r -h Example: bib2xhtml -s paragraph -n Spinellis -r example.bib eg/paragraph-n-r.html -->
+<div class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<p><a name="SICP"></a>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</p>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<p><a name="RedDragon"></a>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</p>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<p><a name="Androutsellis:2004"></a>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</p>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<p><a name="XXX00"></a>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</p>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<p><a name="Smalltalk"></a>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</p>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<p><a name="Gritzalis:1999"></a>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spi06i"></a><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="CodeReading"></a><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2003b"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2003"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2000"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1996"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1994"></a><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1993"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1990"></a><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</p>
+
+<!-- Authors: Ken Thompson -->
+<p><a name="Thompson:1968"></a>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</p>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<p><a name="Firewalls"></a>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</p>
+
+</div>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/paragraph-n-u-c-r.html b/biblio/bibtex/utils/bib2xhtml/eg/paragraph-n-u-c-r.html
new file mode 100644
index 0000000000..afacaf4048
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/paragraph-n-u-c-r.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s paragraph -n Spinellis -u -c -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s paragraph -n Spinellis -u -c -r -h Example: bib2xhtml -s paragraph -n Spinellis -u -c -r example.bib eg/paragraph-n-u-c-r.html -->
+<div class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spi06i"></a><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</p>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<p><a name="Androutsellis:2004"></a>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="CodeReading"></a><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2003b"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2003"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</p>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<p><a name="XXX00"></a>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</p>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<p><a name="Firewalls"></a>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2000"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</p>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<p><a name="Gritzalis:1999"></a>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1996"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1994"></a><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1993"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1990"></a><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</p>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<p><a name="Smalltalk"></a>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</p>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<p><a name="SICP"></a>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</p>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<p><a name="RedDragon"></a>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</p>
+
+<!-- Authors: Ken Thompson -->
+<p><a name="Thompson:1968"></a>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</p>
+
+</div>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/paragraph-n-u-c.html b/biblio/bibtex/utils/bib2xhtml/eg/paragraph-n-u-c.html
new file mode 100644
index 0000000000..fbd48bee22
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/paragraph-n-u-c.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s paragraph -n Spinellis -u -c </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s paragraph -n Spinellis -u -c -h Example: bib2xhtml -s paragraph -n Spinellis -u -c example.bib eg/paragraph-n-u-c.html -->
+<div class="bib2xhtml">
+
+<!-- Authors: Ken Thompson -->
+<p><a name="Thompson:1968"></a>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</p>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<p><a name="RedDragon"></a>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</p>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<p><a name="SICP"></a>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</p>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<p><a name="Smalltalk"></a>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1990"></a><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1993"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1994"></a><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1996"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</p>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<p><a name="Gritzalis:1999"></a>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2000"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</p>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<p><a name="XXX00"></a>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</p>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<p><a name="Firewalls"></a>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2003"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2003b"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="CodeReading"></a><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</p>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<p><a name="Androutsellis:2004"></a>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spi06i"></a><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</p>
+
+</div>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/paragraph-n-u-r.html b/biblio/bibtex/utils/bib2xhtml/eg/paragraph-n-u-r.html
new file mode 100644
index 0000000000..c2dbe7173c
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/paragraph-n-u-r.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s paragraph -n Spinellis -u -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s paragraph -n Spinellis -u -r -h Example: bib2xhtml -s paragraph -n Spinellis -u -r example.bib eg/paragraph-n-u-r.html -->
+<div class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<p><a name="SICP"></a>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</p>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<p><a name="RedDragon"></a>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</p>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<p><a name="Androutsellis:2004"></a>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</p>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<p><a name="XXX00"></a>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</p>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<p><a name="Smalltalk"></a>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</p>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<p><a name="Gritzalis:1999"></a>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spi06i"></a><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="CodeReading"></a><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2003b"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2003"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2000"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1996"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1994"></a><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1993"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1990"></a><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</p>
+
+<!-- Authors: Ken Thompson -->
+<p><a name="Thompson:1968"></a>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</p>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<p><a name="Firewalls"></a>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</p>
+
+</div>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/paragraph-n-u.html b/biblio/bibtex/utils/bib2xhtml/eg/paragraph-n-u.html
new file mode 100644
index 0000000000..da906a86e6
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/paragraph-n-u.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s paragraph -n Spinellis -u </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s paragraph -n Spinellis -u -h Example: bib2xhtml -s paragraph -n Spinellis -u example.bib eg/paragraph-n-u.html -->
+<div class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<p><a name="SICP"></a>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</p>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<p><a name="RedDragon"></a>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</p>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<p><a name="Androutsellis:2004"></a>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</p>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<p><a name="XXX00"></a>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</p>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<p><a name="Smalltalk"></a>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</p>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<p><a name="Gritzalis:1999"></a>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1990"></a><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1993"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1994"></a><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1996"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2000"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2003"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2003b"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="CodeReading"></a><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spi06i"></a><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</p>
+
+<!-- Authors: Ken Thompson -->
+<p><a name="Thompson:1968"></a>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</p>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<p><a name="Firewalls"></a>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</p>
+
+</div>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/paragraph-n.html b/biblio/bibtex/utils/bib2xhtml/eg/paragraph-n.html
new file mode 100644
index 0000000000..9212d661fd
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/paragraph-n.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s paragraph -n Spinellis </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s paragraph -n Spinellis -h Example: bib2xhtml -s paragraph -n Spinellis example.bib eg/paragraph-n.html -->
+<div class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<p><a name="SICP"></a>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</p>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<p><a name="RedDragon"></a>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</p>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<p><a name="Androutsellis:2004"></a>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</p>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<p><a name="XXX00"></a>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</p>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<p><a name="Smalltalk"></a>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</p>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<p><a name="Gritzalis:1999"></a>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1990"></a><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1993"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1994"></a><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1996"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2000"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2003"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2003b"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="CodeReading"></a><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spi06i"></a><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</p>
+
+<!-- Authors: Ken Thompson -->
+<p><a name="Thompson:1968"></a>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</p>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<p><a name="Firewalls"></a>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</p>
+
+</div>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/paragraph-r.html b/biblio/bibtex/utils/bib2xhtml/eg/paragraph-r.html
new file mode 100644
index 0000000000..fd3f492853
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/paragraph-r.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s paragraph -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s paragraph -r -h Example: bib2xhtml -s paragraph -r example.bib eg/paragraph-r.html -->
+<div class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<p><a name="SICP"></a>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</p>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<p><a name="RedDragon"></a>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</p>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<p><a name="Androutsellis:2004"></a>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</p>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<p><a name="XXX00"></a>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</p>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<p><a name="Smalltalk"></a>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</p>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<p><a name="Gritzalis:1999"></a>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spi06i"></a>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="CodeReading"></a>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2003b"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2003"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2000"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1996"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1994"></a>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1993"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1990"></a>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</p>
+
+<!-- Authors: Ken Thompson -->
+<p><a name="Thompson:1968"></a>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</p>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<p><a name="Firewalls"></a>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</p>
+
+</div>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/paragraph-u-c-r.html b/biblio/bibtex/utils/bib2xhtml/eg/paragraph-u-c-r.html
new file mode 100644
index 0000000000..573dfdefc1
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/paragraph-u-c-r.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s paragraph -u -c -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s paragraph -u -c -r -h Example: bib2xhtml -s paragraph -u -c -r example.bib eg/paragraph-u-c-r.html -->
+<div class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spi06i"></a>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</p>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<p><a name="Androutsellis:2004"></a>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="CodeReading"></a>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2003b"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2003"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</p>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<p><a name="XXX00"></a>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</p>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<p><a name="Firewalls"></a>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2000"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</p>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<p><a name="Gritzalis:1999"></a>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1996"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1994"></a>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1993"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1990"></a>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</p>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<p><a name="Smalltalk"></a>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</p>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<p><a name="SICP"></a>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</p>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<p><a name="RedDragon"></a>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</p>
+
+<!-- Authors: Ken Thompson -->
+<p><a name="Thompson:1968"></a>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</p>
+
+</div>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/paragraph-u-c.html b/biblio/bibtex/utils/bib2xhtml/eg/paragraph-u-c.html
new file mode 100644
index 0000000000..58f529072d
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/paragraph-u-c.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s paragraph -u -c </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s paragraph -u -c -h Example: bib2xhtml -s paragraph -u -c example.bib eg/paragraph-u-c.html -->
+<div class="bib2xhtml">
+
+<!-- Authors: Ken Thompson -->
+<p><a name="Thompson:1968"></a>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</p>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<p><a name="RedDragon"></a>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</p>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<p><a name="SICP"></a>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</p>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<p><a name="Smalltalk"></a>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1990"></a>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1993"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1994"></a>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1996"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</p>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<p><a name="Gritzalis:1999"></a>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2000"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</p>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<p><a name="XXX00"></a>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</p>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<p><a name="Firewalls"></a>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2003"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2003b"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="CodeReading"></a>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</p>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<p><a name="Androutsellis:2004"></a>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spi06i"></a>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</p>
+
+</div>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/paragraph-u-r.html b/biblio/bibtex/utils/bib2xhtml/eg/paragraph-u-r.html
new file mode 100644
index 0000000000..078f1b6c3a
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/paragraph-u-r.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s paragraph -u -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s paragraph -u -r -h Example: bib2xhtml -s paragraph -u -r example.bib eg/paragraph-u-r.html -->
+<div class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<p><a name="SICP"></a>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</p>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<p><a name="RedDragon"></a>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</p>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<p><a name="Androutsellis:2004"></a>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</p>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<p><a name="XXX00"></a>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</p>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<p><a name="Smalltalk"></a>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</p>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<p><a name="Gritzalis:1999"></a>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spi06i"></a>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="CodeReading"></a>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2003b"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2003"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2000"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1996"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1994"></a>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1993"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1990"></a>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</p>
+
+<!-- Authors: Ken Thompson -->
+<p><a name="Thompson:1968"></a>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</p>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<p><a name="Firewalls"></a>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</p>
+
+</div>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/paragraph-u.html b/biblio/bibtex/utils/bib2xhtml/eg/paragraph-u.html
new file mode 100644
index 0000000000..ef84f4940e
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/paragraph-u.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s paragraph -u </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s paragraph -u -h Example: bib2xhtml -s paragraph -u example.bib eg/paragraph-u.html -->
+<div class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<p><a name="SICP"></a>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</p>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<p><a name="RedDragon"></a>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</p>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<p><a name="Androutsellis:2004"></a>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</p>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<p><a name="XXX00"></a>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</p>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<p><a name="Smalltalk"></a>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</p>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<p><a name="Gritzalis:1999"></a>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1990"></a>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1993"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1994"></a>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1996"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2000"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2003"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2003b"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="CodeReading"></a>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spi06i"></a>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</p>
+
+<!-- Authors: Ken Thompson -->
+<p><a name="Thompson:1968"></a>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</p>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<p><a name="Firewalls"></a>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</p>
+
+</div>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/paragraph.html b/biblio/bibtex/utils/bib2xhtml/eg/paragraph.html
new file mode 100644
index 0000000000..28c347436a
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/paragraph.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s paragraph </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s paragraph -h Example: bib2xhtml -s paragraph example.bib eg/paragraph.html -->
+<div class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<p><a name="SICP"></a>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</p>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<p><a name="RedDragon"></a>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</p>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<p><a name="Androutsellis:2004"></a>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</p>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<p><a name="XXX00"></a>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</p>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<p><a name="Smalltalk"></a>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</p>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<p><a name="Gritzalis:1999"></a>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1990"></a>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1993"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1994"></a>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:1996"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2000"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2003"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spinellis:2003b"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="CodeReading"></a>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</p>
+
+<!-- Authors: Diomidis Spinellis -->
+<p><a name="Spi06i"></a>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</p>
+
+<!-- Authors: Ken Thompson -->
+<p><a name="Thompson:1968"></a>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</p>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<p><a name="Firewalls"></a>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</p>
+
+</div>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/plain-c-k.html b/biblio/bibtex/utils/bib2xhtml/eg/plain-c-k.html
new file mode 100644
index 0000000000..7a3ffa688b
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/plain-c-k.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s plain -c -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s plain -c -k -h Example: bib2xhtml -s plain -c -k example.bib eg/plain-c-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[1 &mdash; Thompson:1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[2 &mdash; RedDragon]</a></dt><dd>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[3 &mdash; SICP]</a></dt><dd>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[4 &mdash; Smalltalk]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[5 &mdash; Spinellis:1990]</a></dt><dd>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[6 &mdash; Spinellis:1993]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[7 &mdash; Spinellis:1994]</a></dt><dd>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[8 &mdash; Spinellis:1996]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[9 &mdash; Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[10 &mdash; Spinellis:2000]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[11 &mdash; XXX00]</a></dt><dd>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[12 &mdash; Firewalls]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[13 &mdash; Spinellis:2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[14 &mdash; Spinellis:2003b]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[15 &mdash; CodeReading]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[16 &mdash; Androutsellis:2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[17 &mdash; Spi06i]</a></dt><dd>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/plain-c-r-k.html b/biblio/bibtex/utils/bib2xhtml/eg/plain-c-r-k.html
new file mode 100644
index 0000000000..ae70225325
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/plain-c-r-k.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s plain -c -r -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s plain -c -r -k -h Example: bib2xhtml -s plain -c -r -k example.bib eg/plain-c-r-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[1 &mdash; Spi06i]</a></dt><dd>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[2 &mdash; Androutsellis:2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[3 &mdash; CodeReading]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[4 &mdash; Spinellis:2003b]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[5 &mdash; Spinellis:2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[6 &mdash; XXX00]</a></dt><dd>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[7 &mdash; Firewalls]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[8 &mdash; Spinellis:2000]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[9 &mdash; Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[10 &mdash; Spinellis:1996]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[11 &mdash; Spinellis:1994]</a></dt><dd>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[12 &mdash; Spinellis:1993]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[13 &mdash; Spinellis:1990]</a></dt><dd>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[14 &mdash; Smalltalk]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[15 &mdash; SICP]</a></dt><dd>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[16 &mdash; RedDragon]</a></dt><dd>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[17 &mdash; Thompson:1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/plain-c-r.html b/biblio/bibtex/utils/bib2xhtml/eg/plain-c-r.html
new file mode 100644
index 0000000000..5a0c207300
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/plain-c-r.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s plain -c -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s plain -c -r -h Example: bib2xhtml -s plain -c -r example.bib eg/plain-c-r.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[1]</a></dt><dd>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[2]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[3]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[4]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[5]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[6]</a></dt><dd>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[7]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[8]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[9]</a></dt><dd>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[10]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[11]</a></dt><dd>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[12]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[13]</a></dt><dd>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[14]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[15]</a></dt><dd>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[16]</a></dt><dd>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[17]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/plain-c.html b/biblio/bibtex/utils/bib2xhtml/eg/plain-c.html
new file mode 100644
index 0000000000..916d09563b
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/plain-c.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s plain -c </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s plain -c -h Example: bib2xhtml -s plain -c example.bib eg/plain-c.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[1]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[2]</a></dt><dd>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[3]</a></dt><dd>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[4]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[5]</a></dt><dd>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[6]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[7]</a></dt><dd>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[8]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[9]</a></dt><dd>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[10]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[11]</a></dt><dd>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[12]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[13]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[14]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[15]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[16]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[17]</a></dt><dd>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/plain-k.html b/biblio/bibtex/utils/bib2xhtml/eg/plain-k.html
new file mode 100644
index 0000000000..9b93062026
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/plain-k.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s plain -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s plain -k -h Example: bib2xhtml -s plain -k example.bib eg/plain-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[1 &mdash; SICP]</a></dt><dd>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[2 &mdash; RedDragon]</a></dt><dd>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[3 &mdash; Androutsellis:2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[4 &mdash; XXX00]</a></dt><dd>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[5 &mdash; Smalltalk]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[6 &mdash; Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[7 &mdash; Spinellis:1990]</a></dt><dd>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[8 &mdash; Spinellis:1993]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[9 &mdash; Spinellis:1994]</a></dt><dd>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[10 &mdash; Spinellis:1996]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[11 &mdash; Spinellis:2000]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[12 &mdash; Spinellis:2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[13 &mdash; Spinellis:2003b]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[14 &mdash; CodeReading]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[15 &mdash; Spi06i]</a></dt><dd>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[16 &mdash; Thompson:1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[17 &mdash; Firewalls]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/plain-n-c-k.html b/biblio/bibtex/utils/bib2xhtml/eg/plain-n-c-k.html
new file mode 100644
index 0000000000..37bc5b0fe6
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/plain-n-c-k.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s plain -n Spinellis -c -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s plain -n Spinellis -c -k -h Example: bib2xhtml -s plain -n Spinellis -c -k example.bib eg/plain-n-c-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[1 &mdash; Thompson:1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[2 &mdash; RedDragon]</a></dt><dd>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[3 &mdash; SICP]</a></dt><dd>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[4 &mdash; Smalltalk]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[5 &mdash; Spinellis:1990]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[6 &mdash; Spinellis:1993]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[7 &mdash; Spinellis:1994]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[8 &mdash; Spinellis:1996]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[9 &mdash; Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[10 &mdash; Spinellis:2000]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[11 &mdash; XXX00]</a></dt><dd>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[12 &mdash; Firewalls]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[13 &mdash; Spinellis:2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[14 &mdash; Spinellis:2003b]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[15 &mdash; CodeReading]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[16 &mdash; Androutsellis:2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[17 &mdash; Spi06i]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/plain-n-c-r-k.html b/biblio/bibtex/utils/bib2xhtml/eg/plain-n-c-r-k.html
new file mode 100644
index 0000000000..ca217e09a2
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/plain-n-c-r-k.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s plain -n Spinellis -c -r -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s plain -n Spinellis -c -r -k -h Example: bib2xhtml -s plain -n Spinellis -c -r -k example.bib eg/plain-n-c-r-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[1 &mdash; Spi06i]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[2 &mdash; Androutsellis:2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[3 &mdash; CodeReading]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[4 &mdash; Spinellis:2003b]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[5 &mdash; Spinellis:2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[6 &mdash; XXX00]</a></dt><dd>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[7 &mdash; Firewalls]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[8 &mdash; Spinellis:2000]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[9 &mdash; Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[10 &mdash; Spinellis:1996]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[11 &mdash; Spinellis:1994]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[12 &mdash; Spinellis:1993]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[13 &mdash; Spinellis:1990]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[14 &mdash; Smalltalk]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[15 &mdash; SICP]</a></dt><dd>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[16 &mdash; RedDragon]</a></dt><dd>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[17 &mdash; Thompson:1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/plain-n-c-r.html b/biblio/bibtex/utils/bib2xhtml/eg/plain-n-c-r.html
new file mode 100644
index 0000000000..d4c54481e4
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/plain-n-c-r.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s plain -n Spinellis -c -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s plain -n Spinellis -c -r -h Example: bib2xhtml -s plain -n Spinellis -c -r example.bib eg/plain-n-c-r.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[1]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[2]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[3]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[4]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[5]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[6]</a></dt><dd>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[7]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[8]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[9]</a></dt><dd>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[10]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[11]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[12]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[13]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[14]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[15]</a></dt><dd>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[16]</a></dt><dd>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[17]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/plain-n-c.html b/biblio/bibtex/utils/bib2xhtml/eg/plain-n-c.html
new file mode 100644
index 0000000000..1ecbc90be6
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/plain-n-c.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s plain -n Spinellis -c </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s plain -n Spinellis -c -h Example: bib2xhtml -s plain -n Spinellis -c example.bib eg/plain-n-c.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[1]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[2]</a></dt><dd>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[3]</a></dt><dd>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[4]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[5]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[6]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[7]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[8]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[9]</a></dt><dd>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[10]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[11]</a></dt><dd>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[12]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[13]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[14]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[15]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[16]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[17]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/plain-n-k.html b/biblio/bibtex/utils/bib2xhtml/eg/plain-n-k.html
new file mode 100644
index 0000000000..ef5310e9ed
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/plain-n-k.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s plain -n Spinellis -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s plain -n Spinellis -k -h Example: bib2xhtml -s plain -n Spinellis -k example.bib eg/plain-n-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[1 &mdash; SICP]</a></dt><dd>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[2 &mdash; RedDragon]</a></dt><dd>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[3 &mdash; Androutsellis:2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[4 &mdash; XXX00]</a></dt><dd>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[5 &mdash; Smalltalk]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[6 &mdash; Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[7 &mdash; Spinellis:1990]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[8 &mdash; Spinellis:1993]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[9 &mdash; Spinellis:1994]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[10 &mdash; Spinellis:1996]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[11 &mdash; Spinellis:2000]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[12 &mdash; Spinellis:2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[13 &mdash; Spinellis:2003b]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[14 &mdash; CodeReading]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[15 &mdash; Spi06i]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[16 &mdash; Thompson:1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[17 &mdash; Firewalls]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/plain-n-r-k.html b/biblio/bibtex/utils/bib2xhtml/eg/plain-n-r-k.html
new file mode 100644
index 0000000000..dccecc084d
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/plain-n-r-k.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s plain -n Spinellis -r -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s plain -n Spinellis -r -k -h Example: bib2xhtml -s plain -n Spinellis -r -k example.bib eg/plain-n-r-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[1 &mdash; SICP]</a></dt><dd>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[2 &mdash; RedDragon]</a></dt><dd>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[3 &mdash; Androutsellis:2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[4 &mdash; XXX00]</a></dt><dd>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[5 &mdash; Smalltalk]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[6 &mdash; Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[7 &mdash; Spi06i]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[8 &mdash; CodeReading]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[9 &mdash; Spinellis:2003b]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[10 &mdash; Spinellis:2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[11 &mdash; Spinellis:2000]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[12 &mdash; Spinellis:1996]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[13 &mdash; Spinellis:1994]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[14 &mdash; Spinellis:1993]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[15 &mdash; Spinellis:1990]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[16 &mdash; Thompson:1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[17 &mdash; Firewalls]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/plain-n-r.html b/biblio/bibtex/utils/bib2xhtml/eg/plain-n-r.html
new file mode 100644
index 0000000000..cbd85fcb66
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/plain-n-r.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s plain -n Spinellis -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s plain -n Spinellis -r -h Example: bib2xhtml -s plain -n Spinellis -r example.bib eg/plain-n-r.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[1]</a></dt><dd>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[2]</a></dt><dd>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[3]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[4]</a></dt><dd>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[5]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[6]</a></dt><dd>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[7]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[8]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[9]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[10]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[11]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[12]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[13]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[14]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[15]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[16]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[17]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/plain-n-u-c-k.html b/biblio/bibtex/utils/bib2xhtml/eg/plain-n-u-c-k.html
new file mode 100644
index 0000000000..dc46dabffe
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/plain-n-u-c-k.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s plain -n Spinellis -u -c -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s plain -n Spinellis -u -c -k -h Example: bib2xhtml -s plain -n Spinellis -u -c -k example.bib eg/plain-n-u-c-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[1 — Thompson:1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[2 — RedDragon]</a></dt><dd>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[3 — SICP]</a></dt><dd>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[4 — Smalltalk]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[5 — Spinellis:1990]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[6 — Spinellis:1993]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[7 — Spinellis:1994]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[8 — Spinellis:1996]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[9 — Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[10 — Spinellis:2000]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[11 — XXX00]</a></dt><dd>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[12 — Firewalls]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[13 — Spinellis:2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[14 — Spinellis:2003b]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[15 — CodeReading]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[16 — Androutsellis:2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[17 — Spi06i]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/plain-n-u-c-r-k.html b/biblio/bibtex/utils/bib2xhtml/eg/plain-n-u-c-r-k.html
new file mode 100644
index 0000000000..1d102b4be4
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/plain-n-u-c-r-k.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s plain -n Spinellis -u -c -r -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s plain -n Spinellis -u -c -r -k -h Example: bib2xhtml -s plain -n Spinellis -u -c -r -k example.bib eg/plain-n-u-c-r-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[1 — Spi06i]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[2 — Androutsellis:2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[3 — CodeReading]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[4 — Spinellis:2003b]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[5 — Spinellis:2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[6 — XXX00]</a></dt><dd>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[7 — Firewalls]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[8 — Spinellis:2000]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[9 — Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[10 — Spinellis:1996]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[11 — Spinellis:1994]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[12 — Spinellis:1993]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[13 — Spinellis:1990]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[14 — Smalltalk]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[15 — SICP]</a></dt><dd>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[16 — RedDragon]</a></dt><dd>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[17 — Thompson:1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/plain-n-u-c-r.html b/biblio/bibtex/utils/bib2xhtml/eg/plain-n-u-c-r.html
new file mode 100644
index 0000000000..b92b1a5024
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/plain-n-u-c-r.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s plain -n Spinellis -u -c -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s plain -n Spinellis -u -c -r -h Example: bib2xhtml -s plain -n Spinellis -u -c -r example.bib eg/plain-n-u-c-r.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[1]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[2]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[3]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[4]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[5]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[6]</a></dt><dd>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[7]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[8]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[9]</a></dt><dd>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[10]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[11]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[12]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[13]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[14]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[15]</a></dt><dd>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[16]</a></dt><dd>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[17]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/plain-n-u-c.html b/biblio/bibtex/utils/bib2xhtml/eg/plain-n-u-c.html
new file mode 100644
index 0000000000..267ae34fcb
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/plain-n-u-c.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s plain -n Spinellis -u -c </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s plain -n Spinellis -u -c -h Example: bib2xhtml -s plain -n Spinellis -u -c example.bib eg/plain-n-u-c.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[1]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[2]</a></dt><dd>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[3]</a></dt><dd>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[4]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[5]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[6]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[7]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[8]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[9]</a></dt><dd>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[10]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[11]</a></dt><dd>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[12]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[13]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[14]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[15]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[16]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[17]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/plain-n-u-k.html b/biblio/bibtex/utils/bib2xhtml/eg/plain-n-u-k.html
new file mode 100644
index 0000000000..811acd63da
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/plain-n-u-k.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s plain -n Spinellis -u -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s plain -n Spinellis -u -k -h Example: bib2xhtml -s plain -n Spinellis -u -k example.bib eg/plain-n-u-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[1 — SICP]</a></dt><dd>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[2 — RedDragon]</a></dt><dd>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[3 — Androutsellis:2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[4 — XXX00]</a></dt><dd>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[5 — Smalltalk]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[6 — Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[7 — Spinellis:1990]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[8 — Spinellis:1993]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[9 — Spinellis:1994]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[10 — Spinellis:1996]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[11 — Spinellis:2000]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[12 — Spinellis:2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[13 — Spinellis:2003b]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[14 — CodeReading]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[15 — Spi06i]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[16 — Thompson:1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[17 — Firewalls]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/plain-n-u-r-k.html b/biblio/bibtex/utils/bib2xhtml/eg/plain-n-u-r-k.html
new file mode 100644
index 0000000000..718c26a85e
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/plain-n-u-r-k.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s plain -n Spinellis -u -r -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s plain -n Spinellis -u -r -k -h Example: bib2xhtml -s plain -n Spinellis -u -r -k example.bib eg/plain-n-u-r-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[1 — SICP]</a></dt><dd>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[2 — RedDragon]</a></dt><dd>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[3 — Androutsellis:2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[4 — XXX00]</a></dt><dd>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[5 — Smalltalk]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[6 — Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[7 — Spi06i]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[8 — CodeReading]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[9 — Spinellis:2003b]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[10 — Spinellis:2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[11 — Spinellis:2000]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[12 — Spinellis:1996]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[13 — Spinellis:1994]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[14 — Spinellis:1993]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[15 — Spinellis:1990]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[16 — Thompson:1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[17 — Firewalls]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/plain-n-u-r.html b/biblio/bibtex/utils/bib2xhtml/eg/plain-n-u-r.html
new file mode 100644
index 0000000000..d5fb21c4d8
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/plain-n-u-r.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s plain -n Spinellis -u -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s plain -n Spinellis -u -r -h Example: bib2xhtml -s plain -n Spinellis -u -r example.bib eg/plain-n-u-r.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[1]</a></dt><dd>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[2]</a></dt><dd>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[3]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[4]</a></dt><dd>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[5]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[6]</a></dt><dd>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[7]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[8]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[9]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[10]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[11]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[12]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[13]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[14]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[15]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[16]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[17]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/plain-n-u.html b/biblio/bibtex/utils/bib2xhtml/eg/plain-n-u.html
new file mode 100644
index 0000000000..0fe34ed0d9
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/plain-n-u.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s plain -n Spinellis -u </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s plain -n Spinellis -u -h Example: bib2xhtml -s plain -n Spinellis -u example.bib eg/plain-n-u.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[1]</a></dt><dd>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[2]</a></dt><dd>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[3]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[4]</a></dt><dd>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[5]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[6]</a></dt><dd>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[7]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[8]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[9]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[10]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[11]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[12]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[13]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[14]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[15]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[16]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[17]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/plain-n.html b/biblio/bibtex/utils/bib2xhtml/eg/plain-n.html
new file mode 100644
index 0000000000..80b677ad20
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/plain-n.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s plain -n Spinellis </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s plain -n Spinellis -h Example: bib2xhtml -s plain -n Spinellis example.bib eg/plain-n.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[1]</a></dt><dd>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[2]</a></dt><dd>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[3]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[4]</a></dt><dd>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[5]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[6]</a></dt><dd>Stefanos Gritzalis, <strong>Diomidis
+ Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[7]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[8]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[9]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[10]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[11]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[12]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[13]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[14]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[15]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[16]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[17]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/plain-r-k.html b/biblio/bibtex/utils/bib2xhtml/eg/plain-r-k.html
new file mode 100644
index 0000000000..bbf8abd1dd
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/plain-r-k.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s plain -r -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s plain -r -k -h Example: bib2xhtml -s plain -r -k example.bib eg/plain-r-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[1 &mdash; SICP]</a></dt><dd>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[2 &mdash; RedDragon]</a></dt><dd>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[3 &mdash; Androutsellis:2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[4 &mdash; XXX00]</a></dt><dd>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[5 &mdash; Smalltalk]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[6 &mdash; Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[7 &mdash; Spi06i]</a></dt><dd>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[8 &mdash; CodeReading]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[9 &mdash; Spinellis:2003b]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[10 &mdash; Spinellis:2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[11 &mdash; Spinellis:2000]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[12 &mdash; Spinellis:1996]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[13 &mdash; Spinellis:1994]</a></dt><dd>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[14 &mdash; Spinellis:1993]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[15 &mdash; Spinellis:1990]</a></dt><dd>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[16 &mdash; Thompson:1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[17 &mdash; Firewalls]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/plain-r.html b/biblio/bibtex/utils/bib2xhtml/eg/plain-r.html
new file mode 100644
index 0000000000..ce494f01c3
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/plain-r.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s plain -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s plain -r -h Example: bib2xhtml -s plain -r example.bib eg/plain-r.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[1]</a></dt><dd>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[2]</a></dt><dd>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[3]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[4]</a></dt><dd>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[5]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[6]</a></dt><dd>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[7]</a></dt><dd>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[8]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[9]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[10]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[11]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[12]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[13]</a></dt><dd>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[14]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[15]</a></dt><dd>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[16]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[17]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/plain-u-c-k.html b/biblio/bibtex/utils/bib2xhtml/eg/plain-u-c-k.html
new file mode 100644
index 0000000000..8b35097825
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/plain-u-c-k.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s plain -u -c -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s plain -u -c -k -h Example: bib2xhtml -s plain -u -c -k example.bib eg/plain-u-c-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[1 — Thompson:1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[2 — RedDragon]</a></dt><dd>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[3 — SICP]</a></dt><dd>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[4 — Smalltalk]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[5 — Spinellis:1990]</a></dt><dd>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[6 — Spinellis:1993]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[7 — Spinellis:1994]</a></dt><dd>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[8 — Spinellis:1996]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[9 — Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[10 — Spinellis:2000]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[11 — XXX00]</a></dt><dd>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[12 — Firewalls]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[13 — Spinellis:2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[14 — Spinellis:2003b]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[15 — CodeReading]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[16 — Androutsellis:2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[17 — Spi06i]</a></dt><dd>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/plain-u-c-r-k.html b/biblio/bibtex/utils/bib2xhtml/eg/plain-u-c-r-k.html
new file mode 100644
index 0000000000..5645b183c7
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/plain-u-c-r-k.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s plain -u -c -r -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s plain -u -c -r -k -h Example: bib2xhtml -s plain -u -c -r -k example.bib eg/plain-u-c-r-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[1 — Spi06i]</a></dt><dd>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[2 — Androutsellis:2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[3 — CodeReading]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[4 — Spinellis:2003b]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[5 — Spinellis:2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[6 — XXX00]</a></dt><dd>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[7 — Firewalls]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[8 — Spinellis:2000]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[9 — Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[10 — Spinellis:1996]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[11 — Spinellis:1994]</a></dt><dd>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[12 — Spinellis:1993]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[13 — Spinellis:1990]</a></dt><dd>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[14 — Smalltalk]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[15 — SICP]</a></dt><dd>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[16 — RedDragon]</a></dt><dd>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[17 — Thompson:1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/plain-u-c-r.html b/biblio/bibtex/utils/bib2xhtml/eg/plain-u-c-r.html
new file mode 100644
index 0000000000..ae2c90d991
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/plain-u-c-r.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s plain -u -c -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s plain -u -c -r -h Example: bib2xhtml -s plain -u -c -r example.bib eg/plain-u-c-r.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[1]</a></dt><dd>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[2]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[3]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[4]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[5]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[6]</a></dt><dd>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[7]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[8]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[9]</a></dt><dd>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[10]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[11]</a></dt><dd>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[12]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[13]</a></dt><dd>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[14]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[15]</a></dt><dd>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[16]</a></dt><dd>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[17]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/plain-u-c.html b/biblio/bibtex/utils/bib2xhtml/eg/plain-u-c.html
new file mode 100644
index 0000000000..b9da45d878
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/plain-u-c.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s plain -u -c </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s plain -u -c -h Example: bib2xhtml -s plain -u -c example.bib eg/plain-u-c.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[1]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[2]</a></dt><dd>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[3]</a></dt><dd>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[4]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[5]</a></dt><dd>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[6]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[7]</a></dt><dd>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[8]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[9]</a></dt><dd>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[10]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[11]</a></dt><dd>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[12]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[13]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[14]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[15]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[16]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[17]</a></dt><dd>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/plain-u-k.html b/biblio/bibtex/utils/bib2xhtml/eg/plain-u-k.html
new file mode 100644
index 0000000000..f8a520b387
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/plain-u-k.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s plain -u -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s plain -u -k -h Example: bib2xhtml -s plain -u -k example.bib eg/plain-u-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[1 — SICP]</a></dt><dd>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[2 — RedDragon]</a></dt><dd>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[3 — Androutsellis:2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[4 — XXX00]</a></dt><dd>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[5 — Smalltalk]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[6 — Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[7 — Spinellis:1990]</a></dt><dd>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[8 — Spinellis:1993]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[9 — Spinellis:1994]</a></dt><dd>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[10 — Spinellis:1996]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[11 — Spinellis:2000]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[12 — Spinellis:2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[13 — Spinellis:2003b]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[14 — CodeReading]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[15 — Spi06i]</a></dt><dd>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[16 — Thompson:1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[17 — Firewalls]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/plain-u-r-k.html b/biblio/bibtex/utils/bib2xhtml/eg/plain-u-r-k.html
new file mode 100644
index 0000000000..a581d032d0
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/plain-u-r-k.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s plain -u -r -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s plain -u -r -k -h Example: bib2xhtml -s plain -u -r -k example.bib eg/plain-u-r-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[1 — SICP]</a></dt><dd>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[2 — RedDragon]</a></dt><dd>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[3 — Androutsellis:2004]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[4 — XXX00]</a></dt><dd>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[5 — Smalltalk]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[6 — Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[7 — Spi06i]</a></dt><dd>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[8 — CodeReading]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[9 — Spinellis:2003b]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[10 — Spinellis:2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[11 — Spinellis:2000]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[12 — Spinellis:1996]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[13 — Spinellis:1994]</a></dt><dd>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[14 — Spinellis:1993]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[15 — Spinellis:1990]</a></dt><dd>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[16 — Thompson:1968]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[17 — Firewalls]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/plain-u-r.html b/biblio/bibtex/utils/bib2xhtml/eg/plain-u-r.html
new file mode 100644
index 0000000000..501839f6aa
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/plain-u-r.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s plain -u -r </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s plain -u -r -h Example: bib2xhtml -s plain -u -r example.bib eg/plain-u-r.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[1]</a></dt><dd>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[2]</a></dt><dd>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[3]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[4]</a></dt><dd>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[5]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[6]</a></dt><dd>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[7]</a></dt><dd>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[8]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[9]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[10]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[11]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[12]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[13]</a></dt><dd>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[14]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[15]</a></dt><dd>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[16]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[17]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/plain-u.html b/biblio/bibtex/utils/bib2xhtml/eg/plain-u.html
new file mode 100644
index 0000000000..d0ded683b0
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/plain-u.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s plain -u </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s plain -u -h Example: bib2xhtml -s plain -u example.bib eg/plain-u.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[1]</a></dt><dd>Harold
+ Abelson, Gerald Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[2]</a></dt><dd>Alfred V.
+ Aho, John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[3]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[4]</a></dt><dd>Albert-László Barabási,
+ Mônica Ferreira da Silva, F. Paternò,
+ Władysław M. Turski, Sten-Åke
+ Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[5]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[6]</a></dt><dd>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[7]</a></dt><dd>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[8]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[9]</a></dt><dd>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[10]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[11]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[12]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[13]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[14]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[15]</a></dt><dd>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[16]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[17]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/plain.html b/biblio/bibtex/utils/bib2xhtml/eg/plain.html
new file mode 100644
index 0000000000..ce27635cea
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/plain.html
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s plain </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s plain -h Example: bib2xhtml -s plain example.bib eg/plain.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[1]</a></dt><dd>Harold
+ Abelson, Gerald&nbsp;Jay Sussman, and Jullie
+ Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[2]</a></dt><dd>Alfred&nbsp;V.
+ Aho, John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[3]</a></dt><dd>Stephanos Androutsellis-Theotokis and
+ Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[4]</a></dt><dd>Albert-L&aacute;szl&oacute; Barab&aacute;si,
+ M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva, F.&nbsp;Patern&ograve;,
+ Wladyslaw&nbsp;M. Turski, Sten-&Aring;ke
+ T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[5]</a></dt><dd>Adele Goldberg and David
+ Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[6]</a></dt><dd>Stefanos Gritzalis, Diomidis
+ Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[7]</a></dt><dd>Diomidis Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[8]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[9]</a></dt><dd>Diomidis Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[10]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[11]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[12]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[13]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[14]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[15]</a></dt><dd>Diomidis
+ Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[16]</a></dt><dd>Ken
+ Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[17]</a></dt><dd>Elizabeth Zwicky, Simon
+ Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/unsort-k.html b/biblio/bibtex/utils/bib2xhtml/eg/unsort-k.html
new file mode 100644
index 0000000000..13e9aa79c8
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/unsort-k.html
@@ -0,0 +1,150 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s unsort -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s unsort -k -h Example: bib2xhtml -s unsort -k example.bib eg/unsort-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[1 &mdash; Spinellis:1993]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[2 &mdash; Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis,
+ Diomidis Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[3 &mdash; Spinellis:2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[4 &mdash; Spinellis:2003b]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[5 &mdash; CodeReading]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[6 &mdash; Smalltalk]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[7 &mdash; SICP]</a></dt><dd>Harold Abelson,
+ Gerald&nbsp;Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[8 &mdash; RedDragon]</a></dt><dd>Alfred&nbsp;V. Aho,
+ John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[9 &mdash; Firewalls]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[10 &mdash; Thompson:1968]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[11 &mdash; Spinellis:2000]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[12 &mdash; Spinellis:1994]</a></dt><dd>Diomidis
+ Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[13 &mdash; Spinellis:1990]</a></dt><dd>Diomidis
+ Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[14 &mdash; Spinellis:1996]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[15 &mdash; XXX00]</a></dt><dd>Albert-L&aacute;szl&oacute;
+ Barab&aacute;si, M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva,
+ F.&nbsp;Patern&ograve;, Wladyslaw&nbsp;M. Turski,
+ Sten-&Aring;ke T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[16 &mdash; Androutsellis:2004]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[17 &mdash; Spi06i]</a></dt><dd>Diomidis Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/unsort-n-k.html b/biblio/bibtex/utils/bib2xhtml/eg/unsort-n-k.html
new file mode 100644
index 0000000000..f3426715a0
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/unsort-n-k.html
@@ -0,0 +1,150 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s unsort -n Spinellis -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s unsort -n Spinellis -k -h Example: bib2xhtml -s unsort -n Spinellis -k example.bib eg/unsort-n-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[1 &mdash; Spinellis:1993]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[2 &mdash; Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis,
+ <strong>Diomidis Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[3 &mdash; Spinellis:2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[4 &mdash; Spinellis:2003b]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[5 &mdash; CodeReading]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[6 &mdash; Smalltalk]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[7 &mdash; SICP]</a></dt><dd>Harold Abelson,
+ Gerald&nbsp;Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[8 &mdash; RedDragon]</a></dt><dd>Alfred&nbsp;V. Aho,
+ John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[9 &mdash; Firewalls]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[10 &mdash; Thompson:1968]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[11 &mdash; Spinellis:2000]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[12 &mdash; Spinellis:1994]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[13 &mdash; Spinellis:1990]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[14 &mdash; Spinellis:1996]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[15 &mdash; XXX00]</a></dt><dd>Albert-L&aacute;szl&oacute;
+ Barab&aacute;si, M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva,
+ F.&nbsp;Patern&ograve;, Wladyslaw&nbsp;M. Turski,
+ Sten-&Aring;ke T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[16 &mdash; Androutsellis:2004]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[17 &mdash; Spi06i]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/unsort-n-u-k.html b/biblio/bibtex/utils/bib2xhtml/eg/unsort-n-u-k.html
new file mode 100644
index 0000000000..827c80f4c5
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/unsort-n-u-k.html
@@ -0,0 +1,150 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s unsort -n Spinellis -u -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s unsort -n Spinellis -u -k -h Example: bib2xhtml -s unsort -n Spinellis -u -k example.bib eg/unsort-n-u-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[1 — Spinellis:1993]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[2 — Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis,
+ <strong>Diomidis Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[3 — Spinellis:2003]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[4 — Spinellis:2003b]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[5 — CodeReading]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[6 — Smalltalk]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[7 — SICP]</a></dt><dd>Harold Abelson,
+ Gerald Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[8 — RedDragon]</a></dt><dd>Alfred V. Aho,
+ John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[9 — Firewalls]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[10 — Thompson:1968]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[11 — Spinellis:2000]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[12 — Spinellis:1994]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[13 — Spinellis:1990]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[14 — Spinellis:1996]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[15 — XXX00]</a></dt><dd>Albert-László
+ Barabási, Mônica Ferreira da Silva,
+ F. Paternò, Władysław M. Turski,
+ Sten-Åke Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[16 — Androutsellis:2004]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[17 — Spi06i]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/unsort-n-u.html b/biblio/bibtex/utils/bib2xhtml/eg/unsort-n-u.html
new file mode 100644
index 0000000000..7d3105dade
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/unsort-n-u.html
@@ -0,0 +1,150 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s unsort -n Spinellis -u </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s unsort -n Spinellis -u -h Example: bib2xhtml -s unsort -n Spinellis -u example.bib eg/unsort-n-u.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[1]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[2]</a></dt><dd>Stefanos Gritzalis,
+ <strong>Diomidis Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[3]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[4]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[5]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[6]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[7]</a></dt><dd>Harold Abelson,
+ Gerald Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[8]</a></dt><dd>Alfred V. Aho,
+ John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[9]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[10]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[11]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[12]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[13]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[14]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[15]</a></dt><dd>Albert-László
+ Barabási, Mônica Ferreira da Silva,
+ F. Paternò, Władysław M. Turski,
+ Sten-Åke Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[16]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[17]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/unsort-n.html b/biblio/bibtex/utils/bib2xhtml/eg/unsort-n.html
new file mode 100644
index 0000000000..9ee0176370
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/unsort-n.html
@@ -0,0 +1,150 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s unsort -n Spinellis </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s unsort -n Spinellis -h Example: bib2xhtml -s unsort -n Spinellis example.bib eg/unsort-n.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[1]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[2]</a></dt><dd>Stefanos Gritzalis,
+ <strong>Diomidis Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[3]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[4]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[5]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[6]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[7]</a></dt><dd>Harold Abelson,
+ Gerald&nbsp;Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[8]</a></dt><dd>Alfred&nbsp;V. Aho,
+ John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[9]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[10]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[11]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[12]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[13]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[14]</a></dt><dd><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[15]</a></dt><dd>Albert-L&aacute;szl&oacute;
+ Barab&aacute;si, M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva,
+ F.&nbsp;Patern&ograve;, Wladyslaw&nbsp;M. Turski,
+ Sten-&Aring;ke T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[16]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[17]</a></dt><dd><strong>Diomidis Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/unsort-u-k.html b/biblio/bibtex/utils/bib2xhtml/eg/unsort-u-k.html
new file mode 100644
index 0000000000..99a1cf8750
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/unsort-u-k.html
@@ -0,0 +1,150 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s unsort -u -k</title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s unsort -u -k -h Example: bib2xhtml -s unsort -u -k example.bib eg/unsort-u-k.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[1 — Spinellis:1993]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[2 — Gritzalis:1999]</a></dt><dd>Stefanos Gritzalis,
+ Diomidis Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[3 — Spinellis:2003]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[4 — Spinellis:2003b]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[5 — CodeReading]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[6 — Smalltalk]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[7 — SICP]</a></dt><dd>Harold Abelson,
+ Gerald Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[8 — RedDragon]</a></dt><dd>Alfred V. Aho,
+ John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[9 — Firewalls]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[10 — Thompson:1968]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[11 — Spinellis:2000]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[12 — Spinellis:1994]</a></dt><dd>Diomidis
+ Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[13 — Spinellis:1990]</a></dt><dd>Diomidis
+ Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[14 — Spinellis:1996]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[15 — XXX00]</a></dt><dd>Albert-László
+ Barabási, Mônica Ferreira da Silva,
+ F. Paternò, Władysław M. Turski,
+ Sten-Åke Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[16 — Androutsellis:2004]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[17 — Spi06i]</a></dt><dd>Diomidis Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/unsort-u.html b/biblio/bibtex/utils/bib2xhtml/eg/unsort-u.html
new file mode 100644
index 0000000000..f1f29e2abc
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/unsort-u.html
@@ -0,0 +1,150 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s unsort -u </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s unsort -u -h Example: bib2xhtml -s unsort -u example.bib eg/unsort-u.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[1]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[2]</a></dt><dd>Stefanos Gritzalis,
+ Diomidis Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[3]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[4]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[5]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[6]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[7]</a></dt><dd>Harold Abelson,
+ Gerald Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[8]</a></dt><dd>Alfred V. Aho,
+ John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[9]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[10]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[11]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[12]</a></dt><dd>Diomidis
+ Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[13]</a></dt><dd>Diomidis
+ Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[14]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[15]</a></dt><dd>Albert-László
+ Barabási, Mônica Ferreira da Silva,
+ F. Paternò, Władysław M. Turski,
+ Sten-Åke Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[16]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[17]</a></dt><dd>Diomidis Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/unsort.html b/biblio/bibtex/utils/bib2xhtml/eg/unsort.html
new file mode 100644
index 0000000000..a6438c4906
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/unsort.html
@@ -0,0 +1,150 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s unsort </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s unsort -h Example: bib2xhtml -s unsort example.bib eg/unsort.html -->
+<dl class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1993">[1]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</dd>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<dt><a name="Gritzalis:1999">[2]</a></dt><dd>Stefanos Gritzalis,
+ Diomidis Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003">[3]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2003b">[4]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="CodeReading">[5]</a></dt><dd>Diomidis Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</dd>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<dt><a name="Smalltalk">[6]</a></dt><dd>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</dd>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<dt><a name="SICP">[7]</a></dt><dd>Harold Abelson,
+ Gerald&nbsp;Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</dd>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<dt><a name="RedDragon">[8]</a></dt><dd>Alfred&nbsp;V. Aho,
+ John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</dd>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<dt><a name="Firewalls">[9]</a></dt><dd>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</dd>
+
+<!-- Authors: Ken Thompson -->
+<dt><a name="Thompson:1968">[10]</a></dt><dd>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:2000">[11]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1994">[12]</a></dt><dd>Diomidis
+ Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1990">[13]</a></dt><dd>Diomidis
+ Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spinellis:1996">[14]</a></dt><dd>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</dd>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<dt><a name="XXX00">[15]</a></dt><dd>Albert-L&aacute;szl&oacute;
+ Barab&aacute;si, M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva,
+ F.&nbsp;Patern&ograve;, Wladyslaw&nbsp;M. Turski,
+ Sten-&Aring;ke T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</dd>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<dt><a name="Androutsellis:2004">[16]</a></dt><dd>Stephanos
+ Androutsellis-Theotokis and Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</dd>
+
+<!-- Authors: Diomidis Spinellis -->
+<dt><a name="Spi06i">[17]</a></dt><dd>Diomidis Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</dd>
+
+</dl>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/unsortlist-n-u.html b/biblio/bibtex/utils/bib2xhtml/eg/unsortlist-n-u.html
new file mode 100644
index 0000000000..2e418f3249
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/unsortlist-n-u.html
@@ -0,0 +1,150 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s unsortlist -n Spinellis -u </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s unsortlist -n Spinellis -u -h Example: bib2xhtml -s unsortlist -n Spinellis -u example.bib eg/unsortlist-n-u.html -->
+<ul class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1993"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</li>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<li><a name="Gritzalis:1999"></a>Stefanos Gritzalis,
+ <strong>Diomidis Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003b"></a><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="CodeReading"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</li>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<li><a name="Smalltalk"></a>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</li>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<li><a name="SICP"></a>Harold Abelson,
+ Gerald Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</li>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<li><a name="RedDragon"></a>Alfred V. Aho,
+ John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</li>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<li><a name="Firewalls"></a>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</li>
+
+<!-- Authors: Ken Thompson -->
+<li><a name="Thompson:1968"></a>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2000"></a><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1994"></a><strong>Diomidis
+ Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1990"></a><strong>Diomidis
+ Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1996"></a><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</li>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<li><a name="XXX00"></a>Albert-László
+ Barabási, Mônica Ferreira da Silva,
+ F. Paternò, Władysław M. Turski,
+ Sten-Åke Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</li>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<li><a name="Androutsellis:2004"></a>Stephanos
+ Androutsellis-Theotokis and <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spi06i"></a><strong>Diomidis Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</li>
+
+</ul>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/unsortlist-n.html b/biblio/bibtex/utils/bib2xhtml/eg/unsortlist-n.html
new file mode 100644
index 0000000000..ffb15dd4e2
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/unsortlist-n.html
@@ -0,0 +1,150 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s unsortlist -n Spinellis </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s unsortlist -n Spinellis -h Example: bib2xhtml -s unsortlist -n Spinellis example.bib eg/unsortlist-n.html -->
+<ul class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1993"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</li>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<li><a name="Gritzalis:1999"></a>Stefanos Gritzalis,
+ <strong>Diomidis Spinellis</strong>, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003b"></a><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="CodeReading"></a><strong>Diomidis Spinellis</strong>.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</li>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<li><a name="Smalltalk"></a>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</li>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<li><a name="SICP"></a>Harold Abelson,
+ Gerald&nbsp;Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</li>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<li><a name="RedDragon"></a>Alfred&nbsp;V. Aho,
+ John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</li>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<li><a name="Firewalls"></a>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</li>
+
+<!-- Authors: Ken Thompson -->
+<li><a name="Thompson:1968"></a>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2000"></a><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1994"></a><strong>Diomidis
+ Spinellis</strong>.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1990"></a><strong>Diomidis
+ Spinellis</strong>.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1996"></a><strong>Diomidis
+ Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</li>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<li><a name="XXX00"></a>Albert-L&aacute;szl&oacute;
+ Barab&aacute;si, M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva,
+ F.&nbsp;Patern&ograve;, Wladyslaw&nbsp;M. Turski,
+ Sten-&Aring;ke T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</li>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<li><a name="Androutsellis:2004"></a>Stephanos
+ Androutsellis-Theotokis and <strong>Diomidis Spinellis</strong>.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spi06i"></a><strong>Diomidis Spinellis</strong>.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</li>
+
+</ul>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/unsortlist-u.html b/biblio/bibtex/utils/bib2xhtml/eg/unsortlist-u.html
new file mode 100644
index 0000000000..09eba8b482
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/unsortlist-u.html
@@ -0,0 +1,150 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s unsortlist -u </title>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s unsortlist -u -h Example: bib2xhtml -s unsortlist -u example.bib eg/unsortlist-u.html -->
+<ul class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1993"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37–48,
+ 1993.</li>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<li><a name="Gritzalis:1999"></a>Stefanos Gritzalis,
+ Diomidis Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695–707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71–77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003b"></a>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019–1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="CodeReading"></a>Diomidis Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</li>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<li><a name="Smalltalk"></a>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</li>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<li><a name="SICP"></a>Harold Abelson,
+ Gerald Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</li>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<li><a name="RedDragon"></a>Alfred V. Aho,
+ John E. Hopcroft, and Jeffrey D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</li>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<li><a name="Firewalls"></a>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</li>
+
+<!-- Authors: Ken Thompson -->
+<li><a name="Thompson:1968"></a>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419–422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2000"></a>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149–158, Berkeley, CA, June 2000.
+ Usenix Association.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1994"></a>Diomidis
+ Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1990"></a>Diomidis
+ Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1996"></a>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</li>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<li><a name="XXX00"></a>Albert-László
+ Barabási, Mônica Ferreira da Silva,
+ F. Paternò, Władysław M. Turski,
+ Sten-Åke Tärnlund, Ketil Bø,
+ J. Encarnação,
+ Διομηδης
+ Σπινελλης, and
+ Pëßtêr ČĕżÅÄ¡.
+Cite this paper.
+<cite>¡Journal of Authors Against ASCII!</cite>, 45(281):69–77, 2000.</li>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<li><a name="Androutsellis:2004"></a>Stephanos
+ Androutsellis-Theotokis and Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335–371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spi06i"></a>Diomidis Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70–71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</li>
+
+</ul>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/eg/unsortlist.html b/biblio/bibtex/utils/bib2xhtml/eg/unsortlist.html
new file mode 100644
index 0000000000..c5ea2c0f27
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/eg/unsortlist.html
@@ -0,0 +1,150 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Example: bib2xhtml -s unsortlist </title>
+<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
+</head>
+<body>
+<!-- BEGIN BIBLIOGRAPHY example -->
+<!--
+ DO NOT MODIFY THIS BIBLIOGRAPHY BY HAND! IT IS MAINTAINED AUTOMATICALLY!
+ YOUR CHANGES WILL BE LOST THE NEXT TIME IT IS UPDATED!
+-->
+<!-- Generated by: bib2xhtml -s unsortlist -h Example: bib2xhtml -s unsortlist example.bib eg/unsortlist.html -->
+<ul class="bib2xhtml">
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1993"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html">Implementing Haskell: Language implementation as a tool building
+ exercise</a>.
+<cite>Structured Programming (Software Concepts and Tools)</cite>, 14:37&ndash;48,
+ 1993.</li>
+
+<!-- Authors: Stefanos Gritzalis and Diomidis Spinellis and Panagiotis
+ Georgiadis -->
+<li><a name="Gritzalis:1999"></a>Stefanos Gritzalis,
+ Diomidis Spinellis, and Panagiotis Georgiadis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm">Security protocols over open networks and distributed systems: Formal
+ methods for their analysis, design, and verification</a>.
+<cite>Computer Communications</cite>, 22(8):695&ndash;707, May 1999.
+(<a href="http://dx.doi.org/10.1016/S0140-3664(99)00030-4">doi:10.1016/S0140-3664(99)00030-4</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003"></a>Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html">The decay and failures of web references</a>.
+<cite>Communications of the ACM</cite>, 46(1):71&ndash;77, January 2003.
+(<a href="http://dx.doi.org/10.1145/602421.602422">doi:10.1145/602421.602422</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2003b"></a>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html">Global analysis and transformations in preprocessed languages</a>.
+<cite>IEEE Transactions on Software Engineering</cite>, 29(11):1019&ndash;1030,
+ November 2003.
+(<a href="http://dx.doi.org/10.1109/TSE.2003.1245303">doi:10.1109/TSE.2003.1245303</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="CodeReading"></a>Diomidis Spinellis.
+<a href="http://www.spinellis.gr/codereading"><cite>Code Reading: The Open
+ Source Perspective</cite></a>.
+Effective Software Development Series. Addison-Wesley, Boston, MA, 2003.</li>
+
+<!-- Authors: Adele Goldberg and David Robson -->
+<li><a name="Smalltalk"></a>Adele Goldberg and
+ David Robson.
+<cite>Smalltalk-80: The Language</cite>.
+Addison-Wesley, Reading, MA, 1989.</li>
+
+<!-- Authors: Harold Abelson and Gerald Jay Sussman and Jullie Sussman -->
+<li><a name="SICP"></a>Harold Abelson,
+ Gerald&nbsp;Jay Sussman, and Jullie Sussman.
+<cite>Structure and Interpretation of Computer Programs</cite>.
+MIT Press, Cambridge, 1985.</li>
+
+<!-- Authors: Alfred V Aho and John E Hopcroft and Jeffrey D Ullman -->
+<li><a name="RedDragon"></a>Alfred&nbsp;V. Aho,
+ John&nbsp;E. Hopcroft, and Jeffrey&nbsp;D. Ullman.
+<cite>The Design and Analysis of Computer Algorithms</cite>.
+Addison-Wesley, Reading, MA, 1974.</li>
+
+<!-- Authors: Elizabeth Zwicky and Simon Cooper and D Brent Chapman -->
+<li><a name="Firewalls"></a>Elizabeth Zwicky,
+ Simon Cooper, and D. Brent Chapman.
+<cite>Building Internet Firewalls</cite>.
+O'Reilly and Associates, Sebastopol, CA, second edition, 2000.</li>
+
+<!-- Authors: Ken Thompson -->
+<li><a name="Thompson:1968"></a>Ken Thompson.
+Programming techniques: Regular expression search algorithm.
+<cite>Communications of the ACM</cite>, 11(6):419&ndash;422, 1968.
+(<a href="http://dx.doi.org/10.1145/363347.363387">doi:10.1145/363347.363387</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:2000"></a>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html">Outwit: Unix tool-based programming meets the Windows world</a>.
+In Christopher Small, editor, <cite>USENIX 2000 Technical
+ Conference Proceedings</cite>, pages 149&ndash;158, Berkeley, CA, June 2000.
+ Usenix Association.</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1994"></a>Diomidis
+ Spinellis.
+<cite>Programming Paradigms as Object Classes: A Structuring Mechanism for
+ Multiparadigm Programming</cite>.
+PhD thesis, Imperial College of Science, Technology and Medicine, London, UK,
+ February 1994.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf">PDF</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1990"></a>Diomidis
+ Spinellis.
+An implementation of the Haskell language.
+Master's thesis, Imperial College, London, UK, June 1990.
+(<a href="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf">PDF</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spinellis:1996"></a>Diomidis
+ Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html">Greek
+ character encoding for electronic mail messages</a>.
+Network Information Center, Request for Comments 1947, May 1996.
+RFC-1947.</li>
+
+<!-- Authors: Albert Laszlo Barabasi and Monica Ferreira da Silva and F Paterno
+ and Wladyslaw M Turski and Sten AAke Tarnlund and Ketil Bo and J Encarnaccao
+ and Deltaiotaomicronmuetadeltaetavarsigma
+ Sigmapiiotanuepsilonlambdalambdaetavarsigma and Pesster vCuezog -->
+<li><a name="XXX00"></a>Albert-L&aacute;szl&oacute;
+ Barab&aacute;si, M&ocirc;nica&nbsp;Ferreira da&nbsp;Silva,
+ F.&nbsp;Patern&ograve;, Wladyslaw&nbsp;M. Turski,
+ Sten-&Aring;ke T&auml;rnlund, Ketil B&oslash;,
+ J.&nbsp;Encarna&ccedil;&atilde;o,
+ &Delta;&iota;&omicron;&mu;&eta;&delta;&eta;&sigmaf;
+ &Sigma;&pi;&iota;&nu;&epsilon;&lambda;&lambda;&eta;&sigmaf;, and
+ P&euml;&szlig;t&ecirc;r Cezog.
+Cite this paper.
+<cite>&iexcl;Journal of Authors Against ASCII!</cite>, 45(281):69&ndash;77, 2000.</li>
+
+<!-- Authors: Stephanos Androutsellis Theotokis and Diomidis Spinellis -->
+<li><a name="Androutsellis:2004"></a>Stephanos
+ Androutsellis-Theotokis and Diomidis Spinellis.
+<a href="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html">A
+ survey of peer-to-peer content distribution technologies</a>.
+<cite>ACM Computing Surveys</cite>, 36(4):335&ndash;371, December 2004.
+(<a href="http://dx.doi.org/10.1145/1041680.1041681">doi:10.1145/1041680.1041681</a>)</li>
+
+<!-- Authors: Diomidis Spinellis -->
+<li><a name="Spi06i"></a>Diomidis Spinellis.
+Open source and professional advancement.
+<cite>IEEE Software</cite>, 23(5):70&ndash;71, September/October 2006.
+(<a href="eg/v23n5.pdf">PDF</a>, 2 pages, 116157 bytes)
+(<a href="http://dx.doi.org/10.1109/MS.2006.136">doi:10.1109/MS.2006.136</a>)</li>
+
+</ul>
+
+<!-- END BIBLIOGRAPHY example -->
+</body></html>
diff --git a/biblio/bibtex/utils/bib2xhtml/example.bib b/biblio/bibtex/utils/bib2xhtml/example.bib
new file mode 100644
index 0000000000..afdab48654
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/example.bib
@@ -0,0 +1,201 @@
+%
+% bib2xhtml example input file. Some of the references are ficticious.
+%
+% $Id: example.bib 1.5 2007/06/14 14:28:52 dds Exp $
+%
+
+@Article{Spinellis:1993,
+ Title="Implementing {H}askell: Language Implementation as a Tool Building Exercise",
+ Author="Diomidis Spinellis",
+ Journal="Structured Programming (Software Concepts and Tools)",
+ Volume="14",
+ Pages="37--48",
+ Year="1993",
+ URL="http://www.dmst.aueb.gr/dds/pubs/jrnl/1993-StrProg-Haskell/html/exp.html"
+ }
+
+@Article{Gritzalis:1999,
+ Title="Security Protocols Over Open Networks and Distributed Systems: Formal Methods for their Analysis, Design, and Verification",
+ Author="Stefanos Gritzalis and Diomidis Spinellis and Panagiotis Georgiadis",
+ Journal="Computer Communications",
+ Year="1999",
+ DOI="doi:10.1016/S0140-3664(99)00030-4",
+ Volume=22,
+ Number=8,
+ Pages="695--707",
+ Month=may,
+ URL="http://www.dmst.aueb.gr/dds/pubs/jrnl/1997-CompComm-Formal/html/formal.htm"
+ }
+
+@Article{Spinellis:2003,
+ Author="Diomidis Spinellis",
+ Title="The Decay and Failures of Web References",
+ Journal=cacm,
+ Year=2003,
+ Month=jan,
+ Pages="71--77",
+ Volume=46,
+ Number=1,
+ JIF="1.64",
+ URL="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-CACM-URLcite/html/urlcite.html",
+ DOI="doi:10.1145/602421.602422"
+ }
+
+@Article{Spinellis:2003b,
+ Title="Global Analysis and Transformations in Preprocessed Languages",
+ DOI="doi:10.1109/TSE.2003.1245303",
+ Author="Diomidis Spinellis",
+ Journal=ieeese,
+ Pages="1019--1030",
+ Volume=29,
+ Number=11,
+ Month=nov,
+ URL="http://www.dmst.aueb.gr/dds/pubs/jrnl/2003-TSE-Refactor/html/Spi03r.html",
+ Year=2003
+ }
+
+@Book {CodeReading,
+ Author="Diomidis Spinellis",
+ Title="Code Reading: The Open Source Perspective",
+ Publisher="Addison-Wesley",
+ Address="Boston, MA",
+ Series="Effective Software Development Series",
+ URL="http://www.spinellis.gr/codereading",
+ ISBN="0-201-79940-5",
+ Year=2003
+ }
+
+@Book{Smalltalk,
+ Title="{S}malltalk-80: The Language",
+ Author="Adele Goldberg and David Robson",
+ Publisher="Addison-Wesley",
+ Address="Reading, MA",
+ Year="1989",
+ ISBN="0-201-13688-0"
+ }
+
+@Book{SICP,
+ Title="Structure and Interpretation of Computer Programs",
+ Author="Harold Abelson and Gerald Jay Sussman and Jullie Sussman",
+ Publisher="MIT Press",
+ Address="Cambridge",
+ Year="1985",
+ NewISBN="0262011530",
+ ISBN="0262010771"
+ }
+
+@Book{RedDragon,
+ Author="Alfred V. Aho and John E. Hopcroft and Jeffrey D. Ullman",
+ Title="The Design and Analysis of Computer Algorithms",
+ Publisher="Addison-Wesley",
+ Address="Reading, MA",
+ Year="1974",
+ ISBN="0-201-00029-6",
+ Keys="dds"
+ }
+
+@Book{Firewalls,
+ Title="Building Internet Firewalls",
+ Author="Elizabeth Zwicky and Simon Cooper and {D. Brent} Chapman",
+ Publisher="O'Reilly and Associates",
+ Address="Sebastopol, CA",
+ Edition="Second",
+ Year="2000",
+ ISBN="1-56592-871-7",
+ Keys="dds"
+ }
+
+@article{Thompson:1968,
+ author = {Ken Thompson},
+ title = {Programming Techniques: Regular expression search algorithm},
+ journal = cacm,
+ volume = {11},
+ number = {6},
+ year = {1968},
+ issn = {0001-0782},
+ pages = {419--422},
+ doi = {http://doi.acm.org/10.1145/363347.363387},
+ publisher = {ACM Press},
+ Where="pub/lib,have"
+ }
+
+@InProceedings{Spinellis:2000,
+ Title="Outwit: {Unix} tool-based programming meets the {Windows} world",
+ Author="Diomidis Spinellis",
+ Editor="Christopher Small",
+ Booktitle="{USENIX} 2000 Technical Conference Proceedings",
+ Pages="149--158",
+ Location="San Diego, CA",
+ Month=jun,
+ Year=2000,
+ URL="http://www.dmst.aueb.gr/dds/pubs/conf/2000-Usenix-outwit/html/utool.html",
+ Address="Berkeley, CA",
+ Organization="Usenix Association"
+ }
+
+@PhDThesis{Spinellis:1994,
+ Address="London, UK",
+ Author="Diomidis Spinellis",
+ Month="February",
+ School="Imperial College of Science, Technology and Medicine",
+ Title="Programming Paradigms as Object Classes: A Structuring Mechanism for Multiparadigm Programming",
+ PDF="http://www.dmst.aueb.gr/dds/pubs/thesis/PhD/html/thesis.pdf",
+ Year="1994"
+ }
+
+@MastersThesis{Spinellis:1990,
+ Title="An Implementation of the {H}askell Language",
+ Author="Diomidis Spinellis",
+ School="Imperial College",
+ Year="1990",
+ Month=jun,
+ PDF="http://www.dmst.aueb.gr/dds/pubs/thesis/MEng/html/haskell.pdf",
+ Address="London, UK"
+ }
+
+@Misc{Spinellis:1996,
+ Title="Greek Character Encoding for Electronic Mail Messages",
+ Author="Diomidis Spinellis",
+ HowPublished="Network Information Center, Request for Comments 1947",
+ Month="May",
+ Note="RFC-1947",
+ Year="1996",
+ URL="http://www.dmst.aueb.gr/dds/pubs/tr/rfc-1947/html/RFC1947.html"
+ }
+
+@Article{XXX00,
+ Author={Albert-L\'{a}szl\'{o} Barab\'{a}si and M\^{o}nica Ferreira da Silva and F. Patern\`{o} and W{\l}adys{\l}aw M. Turski and Sten-\AA{ke} T\"{a}rnlund and Ketil B{\o} and J. Encarna\c{c}{\~a}o and \Delta\iota\omicron\mu\eta\delta\eta\varsigma \Sigma\pi\iota\nu\epsilon\lambda\lambda\eta\varsigma and P\"{e}\ss{}t\^{e}r \v{C}\u{e}\.{z}\={o}\.{g}},
+ Journal="!`Journal of Authors Against ASCII!",
+ Title="Cite this Paper",
+ Volume={45},
+ Number=281,
+ Pages="69--77",
+ Year=2000
+ }
+
+@Article{Androutsellis:2004,
+ Title="A Survey of Peer-to-Peer Content Distribution Technologies",
+ Author="Stephanos Androutsellis-Theotokis and Diomidis Spinellis",
+ Journal=acmcs,
+ Volume=36,
+ Number=4,
+ Year="2004",
+ Pages="335--371",
+ Month=dec,
+ DOI="doi:10.1145/1041680.1041681",
+ URL="http://www.dmst.aueb.gr/dds/pubs/jrnl/2004-ACMCS-p2p/html/AS04.html"
+ }
+
+@Article{Spi06i,
+ Title="Open Source and Professional Advancement",
+ Author="Diomidis Spinellis",
+ Journal="IEEE Software",
+ ISSN="0740-7459",
+ Month="September/October",
+ Volume=23,
+ Number=5,
+ Pages="70--71",
+ DOI="10.1109/MS.2006.136",
+ Year=2006,
+ PDF="v23n5.pdf"
+ }
diff --git a/biblio/bibtex/utils/bib2xhtml/gen-bst b/biblio/bibtex/utils/bib2xhtml/gen-bst
new file mode 100755
index 0000000000..38e77cedae
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/gen-bst
@@ -0,0 +1,135 @@
+#!/local/bin/perl -w
+#
+# $Id: gen-bst 1.4 2004/04/07 12:59:49 dds Exp $
+#
+
+$DEFS = "html-btxbst.doc";
+
+sub cpp ($@);
+
+&cpp('a', 'ALPHA');
+&cpp('aa', 'ALPHA', 'ABSTRACT');
+&cpp('n', 'NAMED');
+&cpp('na', 'NAMED', 'ABSTRACT');
+&cpp('u', 'UNSRT');
+&cpp('ua', 'UNSRT', 'ABSTRACT');
+&cpp('nr', 'NAMED', 'REVERSEDATE');
+&cpp('ar', 'ALPHA', 'REVERSEDATE');
+&cpp('ara', 'ALPHA', 'ABSTRACT', 'REVERSEDATE');
+&cpp('nra', 'NAMED', 'ABSTRACT', 'REVERSEDATE');
+&cpp('acr', 'ALPHA', 'REVERSEDATE', 'SORTBYYEAR');
+&cpp('acra', 'ALPHA', 'ABSTRACT', 'REVERSEDATE', 'SORTBYYEAR');
+&cpp('ncr', 'NAMED', 'REVERSEDATE', 'SORTBYYEAR');
+&cpp('ncra', 'NAMED', 'ABSTRACT', 'REVERSEDATE', 'SORTBYYEAR');
+&cpp('ac', 'ALPHA', 'SORTBYYEAR');
+&cpp('aca', 'ALPHA', 'ABSTRACT', 'SORTBYYEAR');
+&cpp('nc', 'NAMED', 'SORTBYYEAR');
+&cpp('nca', 'NAMED', 'ABSTRACT', 'SORTBYYEAR');
+
+# ----------------------------------------------------------------------------
+# cpp function does just enough cpp parsing to process the $DEFS file.
+sub cpp ($@) {
+ my $suffix = shift;
+ my @defs = @_;
+
+ my $word;
+ my $value;
+ my %defs;
+ my $skipping = 0;
+ my $blank = 0;
+ my $outfile = "html-${suffix}.bst";
+
+ print STDERR "creating $outfile...\n";
+
+ $defs{'HTML'} = 1;
+ foreach $word (@defs) {
+#print "define $word 1\n";
+ $defs{$word} = 1;
+ }
+
+ open(FILE, "<$DEFS") || die "error opening $DEFS for read: $!\n";
+ open(OUTFILE, ">$outfile") || die "error opening $outfile for write: $!\n";
+
+line:
+ while (<FILE>) {
+ next line if (m/^%/);
+
+ if (m/^#/) {
+ if (m/^#\s*ifdef\s+(\w+)/) {
+ $word = $1;
+#print "ifdef $word: " . (exists($defs{$word}) ? "1" : "0") . "\n";
+ if ($skipping) {
+ $skipping++;
+ next line;
+ }
+ if (!exists($defs{$word})) {
+ $skipping++;
+ }
+ next line;
+ }
+ if (m/^#\s*ifndef\s+(\w+)/) {
+ $word = $1;
+ if ($skipping) {
+ $skipping++;
+ next line;
+ }
+ if (exists($defs{$word})) {
+ $skipping++;
+ }
+#print "ifndef $word: " . (exists($defs{$word}) ? "0" : "1") . "\n";
+ next line;
+ }
+ if (m/^#\s*if\s+(\!?)\s*(\w+)/) {
+ $negate = ($1 ne '');
+ $word = $2;
+ if ($skipping) {
+ $skipping++;
+ next line;
+ }
+ if (($negate && $defs{$word}) || (!$negate && !$defs{$word})) {
+ $skipping++;
+ }
+#print "if $word: (". $defs{$word} . ") " . ($defs{$word} != 0 ? "1" : "0") . "\n";
+ next line;
+ }
+ if (m/^#\s*else\b/) {
+ if ($skipping == 1) {
+ $skipping--;
+ } elsif ($skipping == 0) {
+ $skipping++;
+ }
+#print "else\n";
+ next line;
+ }
+ if (m/^#\s*endif\b/) {
+#print "endif\n";
+ if ($skipping > 0) {
+ $skipping--;
+ }
+ next line;
+ }
+ if (m/^#\s*define\s+(\w+)\s+(\S+)?/) {
+ next line if $skipping;
+ $word = $1;
+ $value = $2;
+#print "define $word = $value\n";
+ $defs{$word} = (defined($value) ? $value : 1);
+ next line;
+ }
+ }
+
+ if (m/^$/) {
+ next line if ($blank);
+ $blank = 1;
+ } else {
+ $blank = 0;
+ }
+
+ print OUTFILE if (!$skipping);
+ }
+
+ die "#ifdef/#endif mismatch!\n" if ($skipping != 0);
+
+ close(FILE);
+ close(OUTFILE);
+}
diff --git a/biblio/bibtex/utils/bib2xhtml/html-a.bst b/biblio/bibtex/utils/bib2xhtml/html-a.bst
new file mode 100644
index 0000000000..31bb0c5331
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/html-a.bst
@@ -0,0 +1,1406 @@
+ % $Id: html-btxbst.doc 1.5 2010/12/08 19:02:34 dds Exp $
+ %
+ % This file is either "html-btxbst.doc" or was derived from
+ % "html-btxbst.doc" using cpp. "html-btxbst.doc" itself was edited
+ % from "btxbst.doc" and "named.bst".
+ % The following copyright information is from btxbst.doc:
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ dvi
+ html
+ keywords
+ pdf
+ postscript
+ url
+ doi
+ mailto
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ author empty$
+ { editor empty$
+ { organization empty$
+ 'skip$
+ { "<!-- Authors: " organization purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " editor purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " author purify$ * " -->" * write$ newline$ }
+ if$
+ keywords empty$
+ 'skip$
+ { "<!-- Keywords: " keywords * " -->" * write$ newline$ }
+ if$
+ "<dt><a name=" quote$ * cite$ * quote$ * ">[" * label * "]</a></dt><dd>" * write$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ postscript empty$
+ 'skip$
+ { newline$ "<!-- PostScript: " postscript * " -->" * write$ }
+ if$
+ pdf empty$
+ 'skip$
+ { newline$ "<!-- PDF: " pdf * " -->" * write$ }
+ if$
+ dvi empty$
+ 'skip$
+ { newline$ "<!-- DVI: " dvi * " -->" * write$ }
+ if$
+ doi empty$
+ 'skip$
+ { newline$ "<!-- DOI: " doi * " -->" * write$ }
+ if$
+ "</dd>" write$
+ newline$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {str.to.int}
+{
+ 's :=
+ #0
+ { s empty$ not }
+ { % Multiply the number on the top of the stack by 10 = 1010 binary
+ duplicate$ + % x2
+ duplicate$ % x2 x2
+ duplicate$ + duplicate$ + % x2 x8
+ +
+ s #1 #1 substring$ chr.to.int$ #48 - + % #48 is ascii for '0'
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<cite>" swap$ * "</cite>" * }
+ if$
+}
+
+FUNCTION {add.link} % title
+{
+ 't :=
+ t empty$
+ { "" }
+ { url empty$
+ { html empty$
+ { t }
+ { "<a href=" quote$ * html * quote$ * ">" * t * "</a>" * }
+ if$ }
+ { "<a href=" quote$ * url * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.mailto} % authors
+{
+ 't :=
+ t empty$
+ { "" }
+ { mailto empty$
+ { t }
+ { "<a href=" quote$ * "mailto:" * mailto * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ "\bibxhtmlname{" t * "}" * 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+ add.mailto
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+ add.link
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+ add.link
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "<cite>" * journal * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "<a href=" * quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "<cite>" * series * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "<cite>" * booktitle * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "+" * }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "+" * }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {month.to.int}
+{
+ "l" change.case$ #3 text.prefix$
+ 's :=
+ s "jan" = { #1 } {
+ s "feb" = { #2 } {
+ s "mar" = { #3 } {
+ s "apr" = { #4 } {
+ s "may" = { #5 } {
+ s "jun" = { #6 } {
+ s "jul" = { #7 } {
+ s "aug" = { #8 } {
+ s "sep" = { #9 } {
+ s "oct" = { #10 } {
+ s "nov" = { #11 } {
+ s "dec" = { #12 } { #13 } % 13 if nothing matches
+ if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$
+}
+
+INTEGERS { done c }
+FUNCTION { get.day }
+{ month field.or.null 's :=
+
+ % Strip out month name
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ " " = 'done :=
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ % Build up first number in t
+ "0" 't :=
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ chr.to.int$ 'c :=
+ c #47 > c #58 < and
+ { t c int.to.chr$ * 't := }
+ { #1 'done := }
+ if$
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ t str.to.int
+}
+
+FUNCTION { sortify.fourdigit }
+{ 's :=
+ s empty$
+ { "0000" }
+ { s
+ }
+ if$
+}
+
+FUNCTION { sortify.twodigit }
+{ 's :=
+ s empty$
+ { "00" }
+ { s
+ str.to.int #10 + int.to.str$
+ }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+
+ year field.or.null purify$ #-1 #2 substring$
+ *
+ 'label :=
+
+ year field.or.null purify$
+ sortify.fourdigit
+ " " *
+ month field.or.null month.to.int int.to.str$ sortify.twodigit *
+ " " *
+ get.day int.to.str$ sortify.twodigit *
+ " " *
+ * sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al." * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{
+ "# label-style: default" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/utils/bib2xhtml/html-aa.bst b/biblio/bibtex/utils/bib2xhtml/html-aa.bst
new file mode 100644
index 0000000000..61db17b9e9
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/html-aa.bst
@@ -0,0 +1,1411 @@
+ % $Id: html-btxbst.doc 1.5 2010/12/08 19:02:34 dds Exp $
+ %
+ % This file is either "html-btxbst.doc" or was derived from
+ % "html-btxbst.doc" using cpp. "html-btxbst.doc" itself was edited
+ % from "btxbst.doc" and "named.bst".
+ % The following copyright information is from btxbst.doc:
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ dvi
+ html
+ keywords
+ pdf
+ postscript
+ url
+ doi
+ mailto
+ abstract
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ author empty$
+ { editor empty$
+ { organization empty$
+ 'skip$
+ { "<!-- Authors: " organization purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " editor purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " author purify$ * " -->" * write$ newline$ }
+ if$
+ keywords empty$
+ 'skip$
+ { "<!-- Keywords: " keywords * " -->" * write$ newline$ }
+ if$
+ "<dt><a name=" quote$ * cite$ * quote$ * ">[" * label * "]</a></dt><dd>" * write$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ postscript empty$
+ 'skip$
+ { newline$ "<!-- PostScript: " postscript * " -->" * write$ }
+ if$
+ pdf empty$
+ 'skip$
+ { newline$ "<!-- PDF: " pdf * " -->" * write$ }
+ if$
+ dvi empty$
+ 'skip$
+ { newline$ "<!-- DVI: " dvi * " -->" * write$ }
+ if$
+ doi empty$
+ 'skip$
+ { newline$ "<!-- DOI: " doi * " -->" * write$ }
+ if$
+ abstract empty$
+ 'skip$
+ { newline$ "<blockquote>" abstract * "</blockquote>" * write$ }
+ if$
+ "</dd>" write$
+ newline$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {str.to.int}
+{
+ 's :=
+ #0
+ { s empty$ not }
+ { % Multiply the number on the top of the stack by 10 = 1010 binary
+ duplicate$ + % x2
+ duplicate$ % x2 x2
+ duplicate$ + duplicate$ + % x2 x8
+ +
+ s #1 #1 substring$ chr.to.int$ #48 - + % #48 is ascii for '0'
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<cite>" swap$ * "</cite>" * }
+ if$
+}
+
+FUNCTION {add.link} % title
+{
+ 't :=
+ t empty$
+ { "" }
+ { url empty$
+ { html empty$
+ { t }
+ { "<a href=" quote$ * html * quote$ * ">" * t * "</a>" * }
+ if$ }
+ { "<a href=" quote$ * url * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.mailto} % authors
+{
+ 't :=
+ t empty$
+ { "" }
+ { mailto empty$
+ { t }
+ { "<a href=" quote$ * "mailto:" * mailto * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ "\bibxhtmlname{" t * "}" * 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+ add.mailto
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+ add.link
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+ add.link
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "<cite>" * journal * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "<a href=" * quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "<cite>" * series * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "<cite>" * booktitle * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "+" * }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "+" * }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {month.to.int}
+{
+ "l" change.case$ #3 text.prefix$
+ 's :=
+ s "jan" = { #1 } {
+ s "feb" = { #2 } {
+ s "mar" = { #3 } {
+ s "apr" = { #4 } {
+ s "may" = { #5 } {
+ s "jun" = { #6 } {
+ s "jul" = { #7 } {
+ s "aug" = { #8 } {
+ s "sep" = { #9 } {
+ s "oct" = { #10 } {
+ s "nov" = { #11 } {
+ s "dec" = { #12 } { #13 } % 13 if nothing matches
+ if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$
+}
+
+INTEGERS { done c }
+FUNCTION { get.day }
+{ month field.or.null 's :=
+
+ % Strip out month name
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ " " = 'done :=
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ % Build up first number in t
+ "0" 't :=
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ chr.to.int$ 'c :=
+ c #47 > c #58 < and
+ { t c int.to.chr$ * 't := }
+ { #1 'done := }
+ if$
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ t str.to.int
+}
+
+FUNCTION { sortify.fourdigit }
+{ 's :=
+ s empty$
+ { "0000" }
+ { s
+ }
+ if$
+}
+
+FUNCTION { sortify.twodigit }
+{ 's :=
+ s empty$
+ { "00" }
+ { s
+ str.to.int #10 + int.to.str$
+ }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+
+ year field.or.null purify$ #-1 #2 substring$
+ *
+ 'label :=
+
+ year field.or.null purify$
+ sortify.fourdigit
+ " " *
+ month field.or.null month.to.int int.to.str$ sortify.twodigit *
+ " " *
+ get.day int.to.str$ sortify.twodigit *
+ " " *
+ * sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al." * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{
+ "# label-style: default" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/utils/bib2xhtml/html-ac.bst b/biblio/bibtex/utils/bib2xhtml/html-ac.bst
new file mode 100644
index 0000000000..03b2799af1
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/html-ac.bst
@@ -0,0 +1,1407 @@
+ % $Id: html-btxbst.doc 1.5 2010/12/08 19:02:34 dds Exp $
+ %
+ % This file is either "html-btxbst.doc" or was derived from
+ % "html-btxbst.doc" using cpp. "html-btxbst.doc" itself was edited
+ % from "btxbst.doc" and "named.bst".
+ % The following copyright information is from btxbst.doc:
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ dvi
+ html
+ keywords
+ pdf
+ postscript
+ url
+ doi
+ mailto
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ author empty$
+ { editor empty$
+ { organization empty$
+ 'skip$
+ { "<!-- Authors: " organization purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " editor purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " author purify$ * " -->" * write$ newline$ }
+ if$
+ keywords empty$
+ 'skip$
+ { "<!-- Keywords: " keywords * " -->" * write$ newline$ }
+ if$
+ "<dt><a name=" quote$ * cite$ * quote$ * ">[" * label * "]</a></dt><dd>" * write$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ postscript empty$
+ 'skip$
+ { newline$ "<!-- PostScript: " postscript * " -->" * write$ }
+ if$
+ pdf empty$
+ 'skip$
+ { newline$ "<!-- PDF: " pdf * " -->" * write$ }
+ if$
+ dvi empty$
+ 'skip$
+ { newline$ "<!-- DVI: " dvi * " -->" * write$ }
+ if$
+ doi empty$
+ 'skip$
+ { newline$ "<!-- DOI: " doi * " -->" * write$ }
+ if$
+ "</dd>" write$
+ newline$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {str.to.int}
+{
+ 's :=
+ #0
+ { s empty$ not }
+ { % Multiply the number on the top of the stack by 10 = 1010 binary
+ duplicate$ + % x2
+ duplicate$ % x2 x2
+ duplicate$ + duplicate$ + % x2 x8
+ +
+ s #1 #1 substring$ chr.to.int$ #48 - + % #48 is ascii for '0'
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<cite>" swap$ * "</cite>" * }
+ if$
+}
+
+FUNCTION {add.link} % title
+{
+ 't :=
+ t empty$
+ { "" }
+ { url empty$
+ { html empty$
+ { t }
+ { "<a href=" quote$ * html * quote$ * ">" * t * "</a>" * }
+ if$ }
+ { "<a href=" quote$ * url * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.mailto} % authors
+{
+ 't :=
+ t empty$
+ { "" }
+ { mailto empty$
+ { t }
+ { "<a href=" quote$ * "mailto:" * mailto * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ "\bibxhtmlname{" t * "}" * 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+ add.mailto
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+ add.link
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+ add.link
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "<cite>" * journal * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "<a href=" * quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "<cite>" * series * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "<cite>" * booktitle * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "+" * }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "+" * }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {month.to.int}
+{
+ "l" change.case$ #3 text.prefix$
+ 's :=
+ s "jan" = { #1 } {
+ s "feb" = { #2 } {
+ s "mar" = { #3 } {
+ s "apr" = { #4 } {
+ s "may" = { #5 } {
+ s "jun" = { #6 } {
+ s "jul" = { #7 } {
+ s "aug" = { #8 } {
+ s "sep" = { #9 } {
+ s "oct" = { #10 } {
+ s "nov" = { #11 } {
+ s "dec" = { #12 } { #13 } % 13 if nothing matches
+ if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$
+}
+
+INTEGERS { done c }
+FUNCTION { get.day }
+{ month field.or.null 's :=
+
+ % Strip out month name
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ " " = 'done :=
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ % Build up first number in t
+ "0" 't :=
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ chr.to.int$ 'c :=
+ c #47 > c #58 < and
+ { t c int.to.chr$ * 't := }
+ { #1 'done := }
+ if$
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ t str.to.int
+}
+
+FUNCTION { sortify.fourdigit }
+{ 's :=
+ s empty$
+ { "0000" }
+ { s
+ }
+ if$
+}
+
+FUNCTION { sortify.twodigit }
+{ 's :=
+ s empty$
+ { "00" }
+ { s
+ str.to.int #10 + int.to.str$
+ }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+
+ year field.or.null purify$ #-1 #2 substring$
+ *
+ 'label :=
+
+ year field.or.null purify$
+ sortify.fourdigit
+ " " *
+ month field.or.null month.to.int int.to.str$ sortify.twodigit *
+ " " *
+ get.day int.to.str$ sortify.twodigit *
+ " " *
+ swap$
+ * sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al." * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{
+ "# label-style: default" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/utils/bib2xhtml/html-aca.bst b/biblio/bibtex/utils/bib2xhtml/html-aca.bst
new file mode 100644
index 0000000000..cd1685356b
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/html-aca.bst
@@ -0,0 +1,1412 @@
+ % $Id: html-btxbst.doc 1.5 2010/12/08 19:02:34 dds Exp $
+ %
+ % This file is either "html-btxbst.doc" or was derived from
+ % "html-btxbst.doc" using cpp. "html-btxbst.doc" itself was edited
+ % from "btxbst.doc" and "named.bst".
+ % The following copyright information is from btxbst.doc:
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ dvi
+ html
+ keywords
+ pdf
+ postscript
+ url
+ doi
+ mailto
+ abstract
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ author empty$
+ { editor empty$
+ { organization empty$
+ 'skip$
+ { "<!-- Authors: " organization purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " editor purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " author purify$ * " -->" * write$ newline$ }
+ if$
+ keywords empty$
+ 'skip$
+ { "<!-- Keywords: " keywords * " -->" * write$ newline$ }
+ if$
+ "<dt><a name=" quote$ * cite$ * quote$ * ">[" * label * "]</a></dt><dd>" * write$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ postscript empty$
+ 'skip$
+ { newline$ "<!-- PostScript: " postscript * " -->" * write$ }
+ if$
+ pdf empty$
+ 'skip$
+ { newline$ "<!-- PDF: " pdf * " -->" * write$ }
+ if$
+ dvi empty$
+ 'skip$
+ { newline$ "<!-- DVI: " dvi * " -->" * write$ }
+ if$
+ doi empty$
+ 'skip$
+ { newline$ "<!-- DOI: " doi * " -->" * write$ }
+ if$
+ abstract empty$
+ 'skip$
+ { newline$ "<blockquote>" abstract * "</blockquote>" * write$ }
+ if$
+ "</dd>" write$
+ newline$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {str.to.int}
+{
+ 's :=
+ #0
+ { s empty$ not }
+ { % Multiply the number on the top of the stack by 10 = 1010 binary
+ duplicate$ + % x2
+ duplicate$ % x2 x2
+ duplicate$ + duplicate$ + % x2 x8
+ +
+ s #1 #1 substring$ chr.to.int$ #48 - + % #48 is ascii for '0'
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<cite>" swap$ * "</cite>" * }
+ if$
+}
+
+FUNCTION {add.link} % title
+{
+ 't :=
+ t empty$
+ { "" }
+ { url empty$
+ { html empty$
+ { t }
+ { "<a href=" quote$ * html * quote$ * ">" * t * "</a>" * }
+ if$ }
+ { "<a href=" quote$ * url * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.mailto} % authors
+{
+ 't :=
+ t empty$
+ { "" }
+ { mailto empty$
+ { t }
+ { "<a href=" quote$ * "mailto:" * mailto * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ "\bibxhtmlname{" t * "}" * 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+ add.mailto
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+ add.link
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+ add.link
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "<cite>" * journal * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "<a href=" * quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "<cite>" * series * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "<cite>" * booktitle * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "+" * }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "+" * }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {month.to.int}
+{
+ "l" change.case$ #3 text.prefix$
+ 's :=
+ s "jan" = { #1 } {
+ s "feb" = { #2 } {
+ s "mar" = { #3 } {
+ s "apr" = { #4 } {
+ s "may" = { #5 } {
+ s "jun" = { #6 } {
+ s "jul" = { #7 } {
+ s "aug" = { #8 } {
+ s "sep" = { #9 } {
+ s "oct" = { #10 } {
+ s "nov" = { #11 } {
+ s "dec" = { #12 } { #13 } % 13 if nothing matches
+ if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$
+}
+
+INTEGERS { done c }
+FUNCTION { get.day }
+{ month field.or.null 's :=
+
+ % Strip out month name
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ " " = 'done :=
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ % Build up first number in t
+ "0" 't :=
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ chr.to.int$ 'c :=
+ c #47 > c #58 < and
+ { t c int.to.chr$ * 't := }
+ { #1 'done := }
+ if$
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ t str.to.int
+}
+
+FUNCTION { sortify.fourdigit }
+{ 's :=
+ s empty$
+ { "0000" }
+ { s
+ }
+ if$
+}
+
+FUNCTION { sortify.twodigit }
+{ 's :=
+ s empty$
+ { "00" }
+ { s
+ str.to.int #10 + int.to.str$
+ }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+
+ year field.or.null purify$ #-1 #2 substring$
+ *
+ 'label :=
+
+ year field.or.null purify$
+ sortify.fourdigit
+ " " *
+ month field.or.null month.to.int int.to.str$ sortify.twodigit *
+ " " *
+ get.day int.to.str$ sortify.twodigit *
+ " " *
+ swap$
+ * sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al." * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{
+ "# label-style: default" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/utils/bib2xhtml/html-acr.bst b/biblio/bibtex/utils/bib2xhtml/html-acr.bst
new file mode 100644
index 0000000000..7bee2b50cc
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/html-acr.bst
@@ -0,0 +1,1408 @@
+ % $Id: html-btxbst.doc 1.5 2010/12/08 19:02:34 dds Exp $
+ %
+ % This file is either "html-btxbst.doc" or was derived from
+ % "html-btxbst.doc" using cpp. "html-btxbst.doc" itself was edited
+ % from "btxbst.doc" and "named.bst".
+ % The following copyright information is from btxbst.doc:
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ dvi
+ html
+ keywords
+ pdf
+ postscript
+ url
+ doi
+ mailto
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ author empty$
+ { editor empty$
+ { organization empty$
+ 'skip$
+ { "<!-- Authors: " organization purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " editor purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " author purify$ * " -->" * write$ newline$ }
+ if$
+ keywords empty$
+ 'skip$
+ { "<!-- Keywords: " keywords * " -->" * write$ newline$ }
+ if$
+ "<dt><a name=" quote$ * cite$ * quote$ * ">[" * label * "]</a></dt><dd>" * write$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ postscript empty$
+ 'skip$
+ { newline$ "<!-- PostScript: " postscript * " -->" * write$ }
+ if$
+ pdf empty$
+ 'skip$
+ { newline$ "<!-- PDF: " pdf * " -->" * write$ }
+ if$
+ dvi empty$
+ 'skip$
+ { newline$ "<!-- DVI: " dvi * " -->" * write$ }
+ if$
+ doi empty$
+ 'skip$
+ { newline$ "<!-- DOI: " doi * " -->" * write$ }
+ if$
+ "</dd>" write$
+ newline$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {str.to.int}
+{
+ 's :=
+ #0
+ { s empty$ not }
+ { % Multiply the number on the top of the stack by 10 = 1010 binary
+ duplicate$ + % x2
+ duplicate$ % x2 x2
+ duplicate$ + duplicate$ + % x2 x8
+ +
+ s #1 #1 substring$ chr.to.int$ #48 - + % #48 is ascii for '0'
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<cite>" swap$ * "</cite>" * }
+ if$
+}
+
+FUNCTION {add.link} % title
+{
+ 't :=
+ t empty$
+ { "" }
+ { url empty$
+ { html empty$
+ { t }
+ { "<a href=" quote$ * html * quote$ * ">" * t * "</a>" * }
+ if$ }
+ { "<a href=" quote$ * url * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.mailto} % authors
+{
+ 't :=
+ t empty$
+ { "" }
+ { mailto empty$
+ { t }
+ { "<a href=" quote$ * "mailto:" * mailto * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ "\bibxhtmlname{" t * "}" * 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+ add.mailto
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+ add.link
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+ add.link
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "<cite>" * journal * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "<a href=" * quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "<cite>" * series * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "<cite>" * booktitle * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "+" * }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "+" * }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {month.to.int}
+{
+ "l" change.case$ #3 text.prefix$
+ 's :=
+ s "jan" = { #1 } {
+ s "feb" = { #2 } {
+ s "mar" = { #3 } {
+ s "apr" = { #4 } {
+ s "may" = { #5 } {
+ s "jun" = { #6 } {
+ s "jul" = { #7 } {
+ s "aug" = { #8 } {
+ s "sep" = { #9 } {
+ s "oct" = { #10 } {
+ s "nov" = { #11 } {
+ s "dec" = { #12 } { #13 } % 13 if nothing matches
+ if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$
+}
+
+INTEGERS { done c }
+FUNCTION { get.day }
+{ month field.or.null 's :=
+
+ % Strip out month name
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ " " = 'done :=
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ % Build up first number in t
+ "0" 't :=
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ chr.to.int$ 'c :=
+ c #47 > c #58 < and
+ { t c int.to.chr$ * 't := }
+ { #1 'done := }
+ if$
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ t str.to.int
+}
+
+FUNCTION { sortify.fourdigit }
+{ 's :=
+ s empty$
+ { "0000" }
+ { s
+ str.to.int #9999 swap$ - int.to.str$
+ }
+ if$
+}
+
+FUNCTION { sortify.twodigit }
+{ 's :=
+ s empty$
+ { "00" }
+ { s
+ str.to.int #99 swap$ - int.to.str$
+ }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+
+ year field.or.null purify$ #-1 #2 substring$
+ *
+ 'label :=
+
+ year field.or.null purify$
+ sortify.fourdigit
+ " " *
+ month field.or.null month.to.int int.to.str$ sortify.twodigit *
+ " " *
+ get.day int.to.str$ sortify.twodigit *
+ " " *
+ swap$
+ * sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al." * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{
+ "# label-style: default" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/utils/bib2xhtml/html-acra.bst b/biblio/bibtex/utils/bib2xhtml/html-acra.bst
new file mode 100644
index 0000000000..6d57a0f4d9
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/html-acra.bst
@@ -0,0 +1,1413 @@
+ % $Id: html-btxbst.doc 1.5 2010/12/08 19:02:34 dds Exp $
+ %
+ % This file is either "html-btxbst.doc" or was derived from
+ % "html-btxbst.doc" using cpp. "html-btxbst.doc" itself was edited
+ % from "btxbst.doc" and "named.bst".
+ % The following copyright information is from btxbst.doc:
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ dvi
+ html
+ keywords
+ pdf
+ postscript
+ url
+ doi
+ mailto
+ abstract
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ author empty$
+ { editor empty$
+ { organization empty$
+ 'skip$
+ { "<!-- Authors: " organization purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " editor purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " author purify$ * " -->" * write$ newline$ }
+ if$
+ keywords empty$
+ 'skip$
+ { "<!-- Keywords: " keywords * " -->" * write$ newline$ }
+ if$
+ "<dt><a name=" quote$ * cite$ * quote$ * ">[" * label * "]</a></dt><dd>" * write$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ postscript empty$
+ 'skip$
+ { newline$ "<!-- PostScript: " postscript * " -->" * write$ }
+ if$
+ pdf empty$
+ 'skip$
+ { newline$ "<!-- PDF: " pdf * " -->" * write$ }
+ if$
+ dvi empty$
+ 'skip$
+ { newline$ "<!-- DVI: " dvi * " -->" * write$ }
+ if$
+ doi empty$
+ 'skip$
+ { newline$ "<!-- DOI: " doi * " -->" * write$ }
+ if$
+ abstract empty$
+ 'skip$
+ { newline$ "<blockquote>" abstract * "</blockquote>" * write$ }
+ if$
+ "</dd>" write$
+ newline$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {str.to.int}
+{
+ 's :=
+ #0
+ { s empty$ not }
+ { % Multiply the number on the top of the stack by 10 = 1010 binary
+ duplicate$ + % x2
+ duplicate$ % x2 x2
+ duplicate$ + duplicate$ + % x2 x8
+ +
+ s #1 #1 substring$ chr.to.int$ #48 - + % #48 is ascii for '0'
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<cite>" swap$ * "</cite>" * }
+ if$
+}
+
+FUNCTION {add.link} % title
+{
+ 't :=
+ t empty$
+ { "" }
+ { url empty$
+ { html empty$
+ { t }
+ { "<a href=" quote$ * html * quote$ * ">" * t * "</a>" * }
+ if$ }
+ { "<a href=" quote$ * url * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.mailto} % authors
+{
+ 't :=
+ t empty$
+ { "" }
+ { mailto empty$
+ { t }
+ { "<a href=" quote$ * "mailto:" * mailto * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ "\bibxhtmlname{" t * "}" * 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+ add.mailto
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+ add.link
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+ add.link
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "<cite>" * journal * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "<a href=" * quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "<cite>" * series * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "<cite>" * booktitle * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "+" * }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "+" * }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {month.to.int}
+{
+ "l" change.case$ #3 text.prefix$
+ 's :=
+ s "jan" = { #1 } {
+ s "feb" = { #2 } {
+ s "mar" = { #3 } {
+ s "apr" = { #4 } {
+ s "may" = { #5 } {
+ s "jun" = { #6 } {
+ s "jul" = { #7 } {
+ s "aug" = { #8 } {
+ s "sep" = { #9 } {
+ s "oct" = { #10 } {
+ s "nov" = { #11 } {
+ s "dec" = { #12 } { #13 } % 13 if nothing matches
+ if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$
+}
+
+INTEGERS { done c }
+FUNCTION { get.day }
+{ month field.or.null 's :=
+
+ % Strip out month name
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ " " = 'done :=
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ % Build up first number in t
+ "0" 't :=
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ chr.to.int$ 'c :=
+ c #47 > c #58 < and
+ { t c int.to.chr$ * 't := }
+ { #1 'done := }
+ if$
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ t str.to.int
+}
+
+FUNCTION { sortify.fourdigit }
+{ 's :=
+ s empty$
+ { "0000" }
+ { s
+ str.to.int #9999 swap$ - int.to.str$
+ }
+ if$
+}
+
+FUNCTION { sortify.twodigit }
+{ 's :=
+ s empty$
+ { "00" }
+ { s
+ str.to.int #99 swap$ - int.to.str$
+ }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+
+ year field.or.null purify$ #-1 #2 substring$
+ *
+ 'label :=
+
+ year field.or.null purify$
+ sortify.fourdigit
+ " " *
+ month field.or.null month.to.int int.to.str$ sortify.twodigit *
+ " " *
+ get.day int.to.str$ sortify.twodigit *
+ " " *
+ swap$
+ * sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al." * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{
+ "# label-style: default" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/utils/bib2xhtml/html-ar.bst b/biblio/bibtex/utils/bib2xhtml/html-ar.bst
new file mode 100644
index 0000000000..10bb6d2132
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/html-ar.bst
@@ -0,0 +1,1407 @@
+ % $Id: html-btxbst.doc 1.5 2010/12/08 19:02:34 dds Exp $
+ %
+ % This file is either "html-btxbst.doc" or was derived from
+ % "html-btxbst.doc" using cpp. "html-btxbst.doc" itself was edited
+ % from "btxbst.doc" and "named.bst".
+ % The following copyright information is from btxbst.doc:
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ dvi
+ html
+ keywords
+ pdf
+ postscript
+ url
+ doi
+ mailto
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ author empty$
+ { editor empty$
+ { organization empty$
+ 'skip$
+ { "<!-- Authors: " organization purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " editor purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " author purify$ * " -->" * write$ newline$ }
+ if$
+ keywords empty$
+ 'skip$
+ { "<!-- Keywords: " keywords * " -->" * write$ newline$ }
+ if$
+ "<dt><a name=" quote$ * cite$ * quote$ * ">[" * label * "]</a></dt><dd>" * write$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ postscript empty$
+ 'skip$
+ { newline$ "<!-- PostScript: " postscript * " -->" * write$ }
+ if$
+ pdf empty$
+ 'skip$
+ { newline$ "<!-- PDF: " pdf * " -->" * write$ }
+ if$
+ dvi empty$
+ 'skip$
+ { newline$ "<!-- DVI: " dvi * " -->" * write$ }
+ if$
+ doi empty$
+ 'skip$
+ { newline$ "<!-- DOI: " doi * " -->" * write$ }
+ if$
+ "</dd>" write$
+ newline$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {str.to.int}
+{
+ 's :=
+ #0
+ { s empty$ not }
+ { % Multiply the number on the top of the stack by 10 = 1010 binary
+ duplicate$ + % x2
+ duplicate$ % x2 x2
+ duplicate$ + duplicate$ + % x2 x8
+ +
+ s #1 #1 substring$ chr.to.int$ #48 - + % #48 is ascii for '0'
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<cite>" swap$ * "</cite>" * }
+ if$
+}
+
+FUNCTION {add.link} % title
+{
+ 't :=
+ t empty$
+ { "" }
+ { url empty$
+ { html empty$
+ { t }
+ { "<a href=" quote$ * html * quote$ * ">" * t * "</a>" * }
+ if$ }
+ { "<a href=" quote$ * url * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.mailto} % authors
+{
+ 't :=
+ t empty$
+ { "" }
+ { mailto empty$
+ { t }
+ { "<a href=" quote$ * "mailto:" * mailto * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ "\bibxhtmlname{" t * "}" * 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+ add.mailto
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+ add.link
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+ add.link
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "<cite>" * journal * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "<a href=" * quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "<cite>" * series * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "<cite>" * booktitle * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "+" * }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "+" * }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {month.to.int}
+{
+ "l" change.case$ #3 text.prefix$
+ 's :=
+ s "jan" = { #1 } {
+ s "feb" = { #2 } {
+ s "mar" = { #3 } {
+ s "apr" = { #4 } {
+ s "may" = { #5 } {
+ s "jun" = { #6 } {
+ s "jul" = { #7 } {
+ s "aug" = { #8 } {
+ s "sep" = { #9 } {
+ s "oct" = { #10 } {
+ s "nov" = { #11 } {
+ s "dec" = { #12 } { #13 } % 13 if nothing matches
+ if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$
+}
+
+INTEGERS { done c }
+FUNCTION { get.day }
+{ month field.or.null 's :=
+
+ % Strip out month name
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ " " = 'done :=
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ % Build up first number in t
+ "0" 't :=
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ chr.to.int$ 'c :=
+ c #47 > c #58 < and
+ { t c int.to.chr$ * 't := }
+ { #1 'done := }
+ if$
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ t str.to.int
+}
+
+FUNCTION { sortify.fourdigit }
+{ 's :=
+ s empty$
+ { "0000" }
+ { s
+ str.to.int #9999 swap$ - int.to.str$
+ }
+ if$
+}
+
+FUNCTION { sortify.twodigit }
+{ 's :=
+ s empty$
+ { "00" }
+ { s
+ str.to.int #99 swap$ - int.to.str$
+ }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+
+ year field.or.null purify$ #-1 #2 substring$
+ *
+ 'label :=
+
+ year field.or.null purify$
+ sortify.fourdigit
+ " " *
+ month field.or.null month.to.int int.to.str$ sortify.twodigit *
+ " " *
+ get.day int.to.str$ sortify.twodigit *
+ " " *
+ * sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al." * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{
+ "# label-style: default" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/utils/bib2xhtml/html-ara.bst b/biblio/bibtex/utils/bib2xhtml/html-ara.bst
new file mode 100644
index 0000000000..02501a1055
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/html-ara.bst
@@ -0,0 +1,1412 @@
+ % $Id: html-btxbst.doc 1.5 2010/12/08 19:02:34 dds Exp $
+ %
+ % This file is either "html-btxbst.doc" or was derived from
+ % "html-btxbst.doc" using cpp. "html-btxbst.doc" itself was edited
+ % from "btxbst.doc" and "named.bst".
+ % The following copyright information is from btxbst.doc:
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ dvi
+ html
+ keywords
+ pdf
+ postscript
+ url
+ doi
+ mailto
+ abstract
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ author empty$
+ { editor empty$
+ { organization empty$
+ 'skip$
+ { "<!-- Authors: " organization purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " editor purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " author purify$ * " -->" * write$ newline$ }
+ if$
+ keywords empty$
+ 'skip$
+ { "<!-- Keywords: " keywords * " -->" * write$ newline$ }
+ if$
+ "<dt><a name=" quote$ * cite$ * quote$ * ">[" * label * "]</a></dt><dd>" * write$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ postscript empty$
+ 'skip$
+ { newline$ "<!-- PostScript: " postscript * " -->" * write$ }
+ if$
+ pdf empty$
+ 'skip$
+ { newline$ "<!-- PDF: " pdf * " -->" * write$ }
+ if$
+ dvi empty$
+ 'skip$
+ { newline$ "<!-- DVI: " dvi * " -->" * write$ }
+ if$
+ doi empty$
+ 'skip$
+ { newline$ "<!-- DOI: " doi * " -->" * write$ }
+ if$
+ abstract empty$
+ 'skip$
+ { newline$ "<blockquote>" abstract * "</blockquote>" * write$ }
+ if$
+ "</dd>" write$
+ newline$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {str.to.int}
+{
+ 's :=
+ #0
+ { s empty$ not }
+ { % Multiply the number on the top of the stack by 10 = 1010 binary
+ duplicate$ + % x2
+ duplicate$ % x2 x2
+ duplicate$ + duplicate$ + % x2 x8
+ +
+ s #1 #1 substring$ chr.to.int$ #48 - + % #48 is ascii for '0'
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<cite>" swap$ * "</cite>" * }
+ if$
+}
+
+FUNCTION {add.link} % title
+{
+ 't :=
+ t empty$
+ { "" }
+ { url empty$
+ { html empty$
+ { t }
+ { "<a href=" quote$ * html * quote$ * ">" * t * "</a>" * }
+ if$ }
+ { "<a href=" quote$ * url * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.mailto} % authors
+{
+ 't :=
+ t empty$
+ { "" }
+ { mailto empty$
+ { t }
+ { "<a href=" quote$ * "mailto:" * mailto * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ "\bibxhtmlname{" t * "}" * 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+ add.mailto
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+ add.link
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+ add.link
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "<cite>" * journal * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "<a href=" * quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "<cite>" * series * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "<cite>" * booktitle * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "+" * }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "+" * }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {month.to.int}
+{
+ "l" change.case$ #3 text.prefix$
+ 's :=
+ s "jan" = { #1 } {
+ s "feb" = { #2 } {
+ s "mar" = { #3 } {
+ s "apr" = { #4 } {
+ s "may" = { #5 } {
+ s "jun" = { #6 } {
+ s "jul" = { #7 } {
+ s "aug" = { #8 } {
+ s "sep" = { #9 } {
+ s "oct" = { #10 } {
+ s "nov" = { #11 } {
+ s "dec" = { #12 } { #13 } % 13 if nothing matches
+ if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$
+}
+
+INTEGERS { done c }
+FUNCTION { get.day }
+{ month field.or.null 's :=
+
+ % Strip out month name
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ " " = 'done :=
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ % Build up first number in t
+ "0" 't :=
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ chr.to.int$ 'c :=
+ c #47 > c #58 < and
+ { t c int.to.chr$ * 't := }
+ { #1 'done := }
+ if$
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ t str.to.int
+}
+
+FUNCTION { sortify.fourdigit }
+{ 's :=
+ s empty$
+ { "0000" }
+ { s
+ str.to.int #9999 swap$ - int.to.str$
+ }
+ if$
+}
+
+FUNCTION { sortify.twodigit }
+{ 's :=
+ s empty$
+ { "00" }
+ { s
+ str.to.int #99 swap$ - int.to.str$
+ }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+
+ year field.or.null purify$ #-1 #2 substring$
+ *
+ 'label :=
+
+ year field.or.null purify$
+ sortify.fourdigit
+ " " *
+ month field.or.null month.to.int int.to.str$ sortify.twodigit *
+ " " *
+ get.day int.to.str$ sortify.twodigit *
+ " " *
+ * sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al." * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{
+ "# label-style: default" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/utils/bib2xhtml/html-btxbst.doc b/biblio/bibtex/utils/bib2xhtml/html-btxbst.doc
new file mode 100644
index 0000000000..fd661512e6
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/html-btxbst.doc
@@ -0,0 +1,2900 @@
+% BibTeX `plain/html' family
+ % $Id: html-btxbst.doc 1.5 2010/12/08 19:02:34 dds Exp $
+ %
+ % This file is either "html-btxbst.doc" or was derived from
+ % "html-btxbst.doc" using cpp. "html-btxbst.doc" itself was edited
+ % from "btxbst.doc" and "named.bst".
+ % The following copyright information is from btxbst.doc:
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+% Please notify Oren Patashnik (PATASHNIK@SCORE.STANFORD.EDU) of any bugs in
+% these standard styles or in this documentation file.
+%
+% This is file btxbxt.doc; it helps document bibliography styles,
+% and is also a template file that you can use to make
+% several different style files, if you have access to a C preprocessor.
+% For example, the standard styles were made by doing something like
+% cpp -P -DPLAIN btxbst.doc plain.txt
+% cpp -P -DUNSRT btxbst.doc unsrt.txt
+% cpp -P -DALPHA btxbst.doc alpha.txt
+% cpp -P -DABBRV btxbst.doc abbrv.txt
+% and then renaming after removing unwanted comments and blank lines.
+% If you don't have access,
+% you can edit this file by hand to imitate the preprocessor,
+% with the following explanation of the C preprocessor constructs used here.
+%
+% The output of the preprocessor is the same as the input, except that certain
+% lines will be excluded (and some blank lines will be added). The sequence
+% #if VAR
+% lines to be included when VAR is not zero
+% #else
+% lines to be included when VAR is zero
+% #endif
+% (with the #-signs appearing in column 1) means that one set or the other of
+% the lines are to be included depending on the value of VAR.
+% The #else part is optional. Comments can be added after #else and #endif.
+% Variables can be set by
+% #define VAR value
+% and one can also use #ifdef VAR to see if VAR has any value, and #ifndef
+% to see if it has none.
+% Another #if form used in this file is #if !VAR, which includes the lines
+% after the #if only if VAR is zero.
+%
+% Convention: Use all uppercase identifiers for these preprocessor variables
+% so you can spot them easily
+%
+% The command line to the preprocessor should define one of PLAIN, UNSRT, ALPHA
+% or ABBRV (though PLAIN will be used by default if none is given),
+% and the following lines will set various boolean variables to control the
+% various lines that are chosen from the rest of the file.
+% Each boolean variable should be set true (1) or false (0) in each style.
+% Here are the current variables, and their meanings:
+% LAB_ALPH: an alphabetic label is used (if false then a numeric
+% label is used)
+% SORTED: the entries should be sorted by label (if nonnumeric)
+% and other info, like authors (if false, then
+% entries remain in order of occurrence)
+% NAME_FULL: the authors, editors, etc., get the full names as
+% given in the bibliography file (if false, the first
+% names become initials)
+% ATIT_LOWER: titles of non-"books" (e.g., articles) should be
+% converted to lower-case, except the first letter or
+% first letter after a colon
+% (if false then they appear as in the database)
+% MONTH_FULL: months are spelled out in full (if false, then
+% they're abbreviated)
+% JOUR_FULL: macro journal names are spelled out in full
+% (if false then they are abbreviated, currently
+% as they appear in ACM publications)
+%
+% HTML: output will be suitable for use by bib2html rather
+% than by LaTeX. This variable should NOT be
+% set by the styles since it is orthogonal to
+% all of them.
+% ABSTRACT: currently only implemented when HTML is also true.
+% Includes the abstract field in a BLOCKQUOTE
+% element at the end of the entry. This
+% variable should NOT be set by the styles since
+% it is orthogonal to all of them.
+#ifndef UNSRT
+# ifndef ALPHA
+# ifndef ABBRV
+# ifndef NAMED
+# define PLAIN 1
+# endif
+# endif
+# endif
+#endif
+#ifdef PLAIN
+% plain style (sorted numbers)
+# define LAB_ALPH 0
+# define SORTED 1
+# define NAME_FULL 1
+# define ATIT_LOWER 1
+# define MONTH_FULL 1
+# define JOUR_FULL 1
+#endif
+#ifdef UNSRT
+% unsrt style (unsorted numbers)
+# define LAB_ALPH 0
+# define SORTED 0
+# define NAME_FULL 1
+# define ATIT_LOWER 1
+# define MONTH_FULL 1
+# define JOUR_FULL 1
+#endif
+#ifdef ALPHA
+% alpha style (sorted short alphabetics)
+# define LAB_ALPH 1
+# define SORTED 1
+# define NAME_FULL 1
+# define ATIT_LOWER 1
+# define MONTH_FULL 1
+# define JOUR_FULL 1
+#endif
+#ifdef ABBRV
+% abbrv style (sorted numbers, with abbreviations)
+# define LAB_ALPH 0
+# define SORTED 1
+# define NAME_FULL 0
+# define ATIT_LOWER 1
+# define MONTH_FULL 0
+# define JOUR_FULL 0
+#endif
+#ifdef NAMED
+ % "named" style (sorted keys of the form [name, year])
+ % Some code for this was taken from "named.bst".
+# define LAB_ALPH 1
+# define SORTED 1
+# define NAME_FULL 1
+# define ATIT_LOWER 1
+# define MONTH_FULL 1
+# define JOUR_FULL 1
+#endif
+%
+% Entry formatting: Similar to that recommended by Mary-Claire van Leunen
+% in "A Handbook for Scholars". Book-like titles are italicized
+% (emphasized) and non-book titles are converted to sentence
+% capitilization (and not enclosed in quotes).
+% This file outputs a \newblock between major blocks of an entry
+% (the name \newblock is analogous to the names \newline and \newpage)
+% so that the user can obtain an "open" format, which has a line break
+% before each block and lines after the first are indented within blocks,
+% by giving the optional \documentstyle argument `openbib';
+% The default is the "closed" format---blocks runs together.
+%
+% Citation alphabetic label format:
+% [Knu73] for single author (or editor or key)
+% [AHU83] (first letters of last names) for multiple authors
+%
+% Citation label numberic format:
+% [number]
+%
+% Reference list ordering for sorted, alphabetic lables:
+% alphabetical by citation label, then by author(s) or whatever
+% passes for author in the absence of one, then by year,
+% then title
+%
+% Reference list ordering for sorted, numeric lables:
+% alphabetical by author(s) or whatever passes
+% for author in the absence of one, then by year, then title
+%
+% Reference list ordering for unsorted:
+% by the order cited in the text
+%
+% History
+% 12/16/84 (HWT) Original `plain' version, by Howard Trickey.
+% 12/23/84 (LL) Some comments made by Leslie Lamport.
+% 2/16/85 (OP) Changes based on LL's comments, Oren Patashnik.
+% 2/17/85 (HWT) Template file and other standard styles made.
+% 3/28/85 (OP) First release, version 0.98b for BibTeX 0.98f.
+% 5/ 9/85 (OP) Version 0.98c for BibTeX 0.98i:
+% fixed Theoretical Computer Science macro name;
+% fixed the format.vol.num.pages function.
+% 1/24/88 (OP) Version 0.99a for BibTeX 0.99a, main changes:
+% assignment operator (:=) arguments reversed;
+% the preamble$ function outputs the database PREAMBLE;
+% entry.max$ and global.max$ (built-in) variables replace
+% entry.string.max and global.string.max functions;
+% alphabetizing by year then title, not just title;
+% many unnecessary ties removed; \it ==> \em;
+% the `alpha' style uses a superscripted `+' instead of a
+% `*' for unnamed names in constructing the label;
+% the `abbrv' style now uses "Mar." and "Sept.";
+% the functions calc.label and presort now look at just
+% the fields they're supposed to;
+% BOOKLET, MASTERSTHESIS, TECHREPORT use nonbook titles;
+% INBOOK and INCOLLECTION take an optional type (e.g.
+% type = "Section"), overriding the default "chapter";
+% BOOK, INBOOK, INCOLLECTION, and PROCEEDINGS now allow
+% either volume or number, not just volume;
+% INCOLLECTION now allows an edition and series field;
+% PROCEEDINGS and INPROCEEDINGS now use the address field
+% to tell where a conference was held;
+% INPROCEEDINGS and PROCEEDINGS now allow either volume
+% or number, and also a series field;
+% MASTERSTHESIS and PHDTHESIS accept types other than
+% "Master's thesis" and "PhD thesis";
+% UNPUBLISHED now outputs, in one block, note then date;
+% MANUAL now prints out the organization in
+% the first block if the author field is empty;
+% MISC can't be empty---it requires some optional field.
+% 3/23/88 (OP) Version 0.99b for BibTeX 0.99c---changed the three
+% erroneous occurrences of `cite ' to `cite$ '; this
+% change didn't affect the four standard styles, so the
+% 0.99a versions of those styles are still current.
+%
+% The ENTRY declaration
+% Like Scribe's (according to pages 231-2 of the April '84 edition),
+% but no fullauthor or editors fields because BibTeX does name handling.
+% The annote field is commented out here because this family doesn't
+% include an annotated bibliography style. And in addition to the fields
+% listed here, BibTeX has a built-in crossref field, explained later.
+
+ENTRY
+% Fields:
+ { address
+% Usually the address of a publisher or other type of organization.
+% Put information in this field only if it helps the reader find the
+% thing---for example you should omit the address of a major
+% publisher entirely. For a PROCEEDINGS or an INPROCEEDINGS,
+% however, it's the address of the conference; for those two entry
+% types, include the publisher's or organization's address, if
+% necessary, in the publisher or organization field.
+% annote
+% Long annotation---for annotated bibliographies (begins sentence).
+ author
+% Name(s) of author(s), in BibTeX name format.
+ booktitle
+% Book title when the thing being referenced isn't the whole book.
+% For book entries, the title field should be used instead.
+ chapter
+% Chapter (or section or whatever) number.
+ edition
+% Edition of a book---should be an ordinal (e.g., "Second").
+ editor
+% Name(s) of editor(s), in BibTeX name format.
+% If there is also an author field, then the editor field should be
+% for the book or collection that the work appears in.
+ howpublished
+% How something strange has been published (begins sentence).
+ institution
+% Sponsoring institution of a technical report.
+ journal
+% Journal name (macros are provided for many).
+ key
+% Alphabetizing, labeling, and cross-referencing key
+% (needed when an entry has no author or editor).
+ month
+% Month (macros are provided).
+ note
+% To help the reader find a reference (begins sentence).
+ number
+% Number of a journal or technical report, or of a work in a series.
+ organization
+% Organization sponsoring a conference (or publishing a manual); if
+% the editor (or author) is empty, and if the organization produces
+% an awkward label or cross reference, you should put appropriately
+% condensed organization information in the key field as well.
+ pages
+% Page number or numbers (use `--' to separate a range, use `+'
+% to indicate pages following that don't form a simple range).
+ publisher
+% Publisher name.
+ school
+% School name (for theses).
+ series
+% The name of a series or set of books.
+% An individual book will will also have it's own title.
+ title
+% The title of the thing you're referred to.
+ type
+% Type of a Techreport (e.g., "Research Note") to be used instead of
+% the default "Technical Report"; or, similarly, the type of a
+% thesis; or of a part of a book.
+ volume
+% The volume number of a journal or multivolume work.
+ year
+% The year should contain only numerals (technically, it should end
+% with four numerals, after purification; doesn't a begin sentence).
+#ifdef HTML
+ dvi
+% DVI source file. bib2html will create a link to this
+% file in the HTML it generates.
+ html
+% Deprecated: old name for "url"
+ keywords
+% Obvious. bib2html will create a HTML comment containing these
+% keywords in the HTML it generates.
+ pdf
+% PDF source file. bib2html will create a link to this
+% file in the HTML it generates.
+ postscript
+% PostScript source file. bib2html will create a link to this
+% file in the HTML it generates.
+ url
+% URL of document. Used by bib2html.
+ doi
+% Digital Object Identifier of document. Used by bib2html.
+% to append a doi entry link at the end of the citation.
+ mailto
+% E-mail contact address for paper. Used by bib2html to create a
+% mailto link for authors.
+#endif /* HTML */
+#ifdef ABSTRACT
+ abstract
+% Abstract of document. Used by bib2html.
+#endif /* ABSTRACT */
+ }
+% There are no integer entry variables
+ {}
+% These string entry variables are used to form the citation label.
+% In a storage pinch, sort.label can be easily computed on the fly.
+#if LAB_ALPH
+#if SORTED
+ { label extra.label sort.label }
+#else !SORTED
+% It doesn't seem like a good idea to use an order-of-citation
+% reference list when using alphabetic labels, but when this happens
+% we do things a little differently
+ { label }
+#endif SORTED
+#else !LAB_ALPH
+ { label }
+#endif LAB_ALPH
+
+% Each entry function starts by calling output.bibitem, to write the
+% \bibitem and its arguments to the .BBL file. Then the various fields
+% are formatted and printed by output or output.check. Those functions
+% handle the writing of separators (commas, periods, \newblock's),
+% taking care not to do so when they are passed a null string.
+% Finally, fin.entry is called to add the final period and finish the
+% entry.
+%
+% A bibliographic reference is formatted into a number of `blocks':
+% in the open format, a block begins on a new line and subsequent
+% lines of the block are indented. A block may contain more than
+% one sentence (well, not a grammatical sentence, but something to
+% be ended with a sentence ending period). The entry functions should
+% call new.block whenever a block other than the first is about to be
+% started. They should call new.sentence whenever a new sentence is
+% to be started. The output functions will ensure that if two
+% new.sentence's occur without any non-null string being output between
+% them then there won't be two periods output. Similarly for two
+% successive new.block's.
+%
+% The output routines don't write their argument immediately.
+% Instead, by convention, that argument is saved on the stack to be
+% output next time (when we'll know what separator needs to come
+% after it). Meanwhile, the output routine has to pop the pending
+% output off the stack, append any needed separator, and write it.
+%
+% To tell which separator is needed, we maintain an output.state.
+% It will be one of these values:
+% before.all just after the \bibitem
+% mid.sentence in the middle of a sentence: comma needed
+% if more sentence is output
+% after.sentence just after a sentence: period needed
+% after.block just after a block (and sentence):
+% period and \newblock needed.
+% Note: These styles don't use after.sentence
+%
+% VAR: output.state : INTEGER -- state variable for output
+%
+% The output.nonnull function saves its argument (assumed to be nonnull)
+% on the stack, and writes the old saved value followed by any needed
+% separator. The ordering of the tests is decreasing frequency of
+% occurrence.
+%
+% output.nonnull(s) ==
+% BEGIN
+% s := argument on stack
+% if output.state = mid.sentence then
+% write$(pop() * ", ")
+% -- "pop" isn't a function: just use stack top
+% else
+% if output.state = after.block then
+% write$(add.period$(pop()))
+% newline$
+% write$("\newblock ")
+% else
+% if output.state = before.all then
+% write$(pop())
+% else -- output.state should be after.sentence
+% write$(add.period$(pop()) * " ")
+% fi
+% fi
+% output.state := mid.sentence
+% fi
+% push s on stack
+% END
+%
+% The output function calls output.nonnull if its argument is non-empty;
+% its argument may be a missing field (thus, not necessarily a string)
+%
+% output(s) ==
+% BEGIN
+% if not empty$(s) then output.nonnull(s)
+% fi
+% END
+%
+% The output.check function is the same as the output function except that, if
+% necessary, output.check warns the user that the t field shouldn't be empty
+% (this is because it probably won't be a good reference without the field;
+% the entry functions try to make the formatting look reasonable even when
+% such fields are empty).
+%
+% output.check(s,t) ==
+% BEGIN
+% if empty$(s) then
+% warning$("empty " * t * " in " * cite$)
+% else output.nonnull(s)
+% fi
+% END
+%
+% The output.bibitem function writes the \bibitem for the current entry
+% (the label should already have been set up), and sets up the separator
+% state for the output functions. And, it leaves a string on the stack
+% as per the output convention.
+%
+% output.bibitem ==
+% BEGIN
+% newline$
+% write$("\bibitem[") % for alphabetic labels,
+% write$(label) % these three lines
+% write$("]{") % are used
+% write$("\bibitem{") % this line for numeric labels
+% write$(cite$)
+% write$("}")
+% push "" on stack
+% output.state := before.all
+% END
+%
+% The fin.entry function finishes off an entry by adding a period to the
+% string remaining on the stack. If the state is still before.all
+% then nothing was produced for this entry, so the result will look bad,
+% but the user deserves it. (We don't omit the whole entry because the
+% entry was cited, and a bibitem is needed to define the citation label.)
+%
+% fin.entry ==
+% BEGIN
+% write$(add.period$(pop()))
+% newline$
+% END
+%
+% The new.block function prepares for a new block to be output, and
+% new.sentence prepares for a new sentence.
+%
+% new.block ==
+% BEGIN
+% if output.state <> before.all then
+% output.state := after.block
+% fi
+% END
+%
+% new.sentence ==
+% BEGIN
+% if output.state <> after.block then
+% if output.state <> before.all then
+% output.state := after.sentence
+% fi
+% fi
+% END
+%
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+% the variables s and t are temporary string holders
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+#ifndef HTML
+ "\newblock " write$
+#endif
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+#ifndef HTML
+#if LAB_ALPH
+ "\bibitem[" write$
+ label write$
+ "]{" write$
+#else
+ "\bibitem{" write$
+#endif LAB_ALPH
+ cite$ write$
+ "}" write$
+ newline$
+#else /* HTML */
+ author empty$
+ { editor empty$
+ { organization empty$
+ 'skip$
+ { "<!-- Authors: " organization purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " editor purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " author purify$ * " -->" * write$ newline$ }
+ if$
+ keywords empty$
+ 'skip$
+ { "<!-- Keywords: " keywords * " -->" * write$ newline$ }
+ if$
+ "<dt><a name=" quote$ * cite$ * quote$ * ">[" * label * "]</a></dt><dd>" * write$
+#endif
+ ""
+ before.all 'output.state :=
+}
+
+% This function finishes all entries.
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+#ifdef HTML
+ postscript empty$
+ 'skip$
+ { newline$ "<!-- PostScript: " postscript * " -->" * write$ }
+ if$
+ pdf empty$
+ 'skip$
+ { newline$ "<!-- PDF: " pdf * " -->" * write$ }
+ if$
+ dvi empty$
+ 'skip$
+ { newline$ "<!-- DVI: " dvi * " -->" * write$ }
+ if$
+ doi empty$
+ 'skip$
+ { newline$ "<!-- DOI: " doi * " -->" * write$ }
+ if$
+#ifdef ABSTRACT
+ abstract empty$
+ 'skip$
+ { newline$ "<blockquote>" abstract * "</blockquote>" * write$ }
+ if$
+#endif /* ABSTRACT */
+ "</dd>" write$
+ newline$
+#endif /* HTML */
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+% These three functions pop one or two (integer) arguments from the stack
+% and push a single one, either 0 or 1.
+% The 'skip$ in the `and' and `or' functions are used because
+% the corresponding if$ would be idempotent
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {str.to.int}
+{
+ 's :=
+ #0
+ { s empty$ not }
+ { % Multiply the number on the top of the stack by 10 = 1010 binary
+ duplicate$ + % x2
+ duplicate$ % x2 x2
+ duplicate$ + duplicate$ + % x2 x8
+ +
+ s #1 #1 substring$ chr.to.int$ #48 - + % #48 is ascii for '0'
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+}
+
+% Sometimes we begin a new block only if the block will be big enough. The
+% new.block.checka function issues a new.block if its argument is nonempty;
+% new.block.checkb does the same if either of its TWO arguments is nonempty.
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+% The new.sentence.check functions are analogous.
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+% Here are some functions for formatting chunks of an entry.
+% By convention they either produce a string that can be followed by
+% a comma or period (using add.period$, so it is OK to end in a period),
+% or they produce the null string.
+%
+% A useful utility is the field.or.null function, which checks if the
+% argument is the result of pushing a `missing' field (one for which no
+% assignment was made when the current entry was read in from the database)
+% or the result of pushing a string having no non-white-space characters.
+% It returns the null string if so, otherwise it returns the field string.
+% Its main (but not only) purpose is to guarantee that what's left on the
+% stack is a string rather than a missing field.
+%
+% field.or.null(s) ==
+% BEGIN
+% if empty$(s) then return ""
+% else return s
+% END
+%
+% Another helper function is emphasize, which returns the argument emphazised,
+% if that is non-empty, otherwise it returns the null string. Italic
+% corrections aren't used, so this function should be used when punctation
+% will follow the result.
+%
+% emphasize(s) ==
+% BEGIN
+% if empty$(s) then return ""
+% else return "{\em " * s * "}"
+%
+% The format.names function formats the argument (which should be in
+% BibTeX name format) into "First Von Last, Junior", separated by commas
+% and with an "and" before the last (but ending with "et~al." if the last
+% of multiple authors is "others"). This function's argument should always
+% contain at least one name.
+%
+% VAR: nameptr, namesleft, numnames: INTEGER
+% pseudoVAR: nameresult: STRING (it's what's accumulated on the stack)
+%
+% format.names(s) ==
+% BEGIN
+% nameptr := 1
+% numnames := num.names$(s)
+% namesleft := numnames
+% while namesleft > 0
+% do
+% % for full names:
+% t := format.name$(s, nameptr, "{ff~}{vv~}{ll}{, jj}")
+% % for abbreviated first names:
+% t := format.name$(s, nameptr, "{f.~}{vv~}{ll}{, jj}")
+% if nameptr > 1 then
+% if namesleft > 1 then nameresult := nameresult * ", " * t
+% else if numnames > 2
+% then nameresult := nameresult * ","
+% fi
+% if t = "others"
+% then nameresult := nameresult * " et~al."
+% else nameresult := nameresult * " and " * t
+% fi
+% fi
+% else nameresult := t
+% fi
+% nameptr := nameptr + 1
+% namesleft := namesleft - 1
+% od
+% return nameresult
+% END
+%
+% The format.authors function returns the result of format.names(author)
+% if the author is present, or else it returns the null string
+%
+% format.authors ==
+% BEGIN
+% if empty$(author) then return ""
+% else return format.names(author)
+% fi
+% END
+%
+% Format.editors is like format.authors, but it uses the editor field,
+% and appends ", editor" or ", editors"
+%
+% format.editors ==
+% BEGIN
+% if empty$(editor) then return ""
+% else
+% if num.names$(editor) > 1 then
+% return format.names(editor) * ", editors"
+% else
+% return format.names(editor) * ", editor"
+% fi
+% fi
+% END
+%
+% Other formatting functions are similar, so no "comment version" will be
+% given for them.
+%
+% The `pop$' in this function gets rid of the duplicate `empty' value and
+% the `skip$' returns the duplicate field value
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+#ifndef HTML
+ { "{\em " swap$ * "}" * }
+#else /* HTML */
+ { "<cite>" swap$ * "</cite>" * }
+#endif /* HTML */
+ if$
+}
+
+#ifdef HTML
+FUNCTION {add.link} % title
+{
+ 't :=
+ t empty$
+ { "" }
+ { url empty$
+ { html empty$
+ { t }
+ { "<a href=" quote$ * html * quote$ * ">" * t * "</a>" * }
+ if$ }
+ { "<a href=" quote$ * url * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.mailto} % authors
+{
+ 't :=
+ t empty$
+ { "" }
+ { mailto empty$
+ { t }
+ { "<a href=" quote$ * "mailto:" * mailto * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+#endif /* HTML */
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+#if NAME_FULL
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+#else
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+#endif NAME_FULL
+ "\bibxhtmlname{" t * "}" * 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+ add.mailto
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+% The format.title function is used for non-book-like titles.
+% For most styles we convert to lowercase (except for the very first letter,
+% and except for the first one after a colon (followed by whitespace)),
+% and hope the user has brace-surrounded words that need to stay capitilized;
+% for some styles, however, we leave it as it is in the database.
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+#if ATIT_LOWER
+ { title "t" change.case$ }
+#else
+ 'title
+#endif ATIT_LOWER
+ if$
+#ifdef HTML
+ add.link
+#endif /* HTML */
+}
+
+% By default, BibTeX sets the global integer variable global.max$ to the BibTeX
+% constant glob_str_size, the maximum length of a global string variable.
+% Analogously, BibTeX sets the global integer variable entry.max$ to
+% ent_str_size, the maximum length of an entry string variable.
+% The style designer may change these if necessary (but this is unlikely)
+
+% The n.dashify function makes each single `-' in a string a double `--'
+% if it's not already
+%
+% pseudoVAR: pageresult: STRING (it's what's accumulated on the stack)
+%
+% n.dashify(s) ==
+% BEGIN
+% t := s
+% pageresult := ""
+% while (not empty$(t))
+% do
+% if (first character of t = "-")
+% then
+% if (next character isn't)
+% then
+% pageresult := pageresult * "--"
+% t := t with the "-" removed
+% else
+% while (first character of t = "-")
+% do
+% pageresult := pageresult * "-"
+% t := t with the "-" removed
+% od
+% fi
+% else
+% pageresult := pageresult * the first character
+% t := t with the first character removed
+% fi
+% od
+% return pageresult
+% END
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+% The format.date function is for the month and year, but we give a warning if
+% there's an empty year but the month is there, and we return the empty string
+% if they're both empty.
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+% The format.btitle is for formatting the title field when it is a book-like
+% entry---the style used here keeps it in uppers-and-lowers and emphasizes it.
+
+FUNCTION {format.btitle}
+{ title emphasize
+#ifdef HTML
+ add.link
+#endif /* HTML */
+}
+
+% For several functions we'll need to connect two strings with a
+% tie (~) if the second one isn't very long (fewer than 3 characters).
+% The tie.or.space.connect function does that. It concatenates the two
+% strings on top of the stack, along with either a tie or space between
+% them, and puts this concatenation back onto the stack:
+%
+% tie.or.space.connect(str1,str2) ==
+% BEGIN
+% if text.length$(str2) < 3
+% then return the concatenation of str1, "~", and str2
+% else return the concatenation of str1, " ", and str2
+% END
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+% The either.or.check function complains if both fields or an either-or pair
+% are nonempty.
+%
+% either.or.check(t,s) ==
+% BEGIN
+% if empty$(s) then
+% warning$(can't use both " * t * " fields in " * cite$)
+% fi
+% END
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+% The format.bvolume function is for formatting the volume and perhaps
+% series name of a multivolume work. If both a volume and a series field
+% are there, we assume the series field is the title of the whole multivolume
+% work (the title field should be the title of the thing being referred to),
+% and we add an "of <series>". This function is called in mid-sentence.
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+% The format.number.series function is for formatting the series name
+% and perhaps number of a work in a series. This function is similar to
+% format.bvolume, although for this one the series must exist (and the
+% volume must not exist). If the number field is empty we output either
+% the series field unchanged if it exists or else the null string.
+% If both the number and series fields are there we assume the series field
+% gives the name of the whole series (the title field should be the title
+% of the work being one referred to), and we add an "in <series>".
+% We capitilize Number when this function is used at the beginning of a block.
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+% The format.edition function appends " edition" to the edition, if present.
+% We lowercase the edition (it should be something like "Third"), because
+% this doesn't start a sentence.
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+% The format.pages function is used for formatting a page range in a book
+% (and in rare circumstances, an article).
+%
+% The multi.page.check function examines the page field for a "-" or "," or "+"
+% so that format.pages can use "page" instead of "pages" if none exists.
+% Note: global.max$ here means "take the rest of the string"
+%
+% VAR: multiresult: INTEGER (actually, a boolean)
+%
+% multi.page.check(s) ==
+% BEGIN
+% t := s
+% multiresult := false
+% while ((not multiresult) and (not empty$(t)))
+% do
+% if (first character of t = "-" or "," or "+")
+% then multiresult := true
+% else t := t with the first character removed
+% fi
+% od
+% return multiresult
+% END
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+% This function doesn't begin a sentence so "pages" isn't capitalized.
+% Other functions that use this should keep that in mind.
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+% The format.vol.num.pages function is for the volume, number, and page range
+% of a journal article. We use the format: vol(number):pages, with some
+% variations for empty fields. This doesn't begin a sentence.
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+
+% The format.chapter.pages, if the chapter is present, puts whatever is in the
+% type field (or else "chapter" if type is empty) in front of a chapter number.
+% It then appends the pages, if present. This doesn't begin a sentence.
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+% The format.in.ed.booktitle function is used for starting out a sentence
+% that begins "In <booktitle>", putting an editor before the title if one
+% exists.
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+% The function empty.misc.check complains if all six fields are empty, and
+% if there's been no sorting or alphabetic-label complaint.
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+#if SORTED
+ key empty$ not and
+#else !SORTED
+#if LAB_ALPH
+ key empty$ not and
+#endif LAB_ALPH
+#endif SORTED
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+% The function format.thesis.type returns either the (case-changed) type field,
+% if it is defined, or else the default string already on the stack
+% (like "Master's thesis" or "PhD thesis").
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+% The function format.tr.number makes a string starting with "Technical Report"
+% (or type, if that field is defined), followed by the number if there is one;
+% it returns the starting part (with a case change) even if there is no number.
+% This is used at the beginning of a sentence.
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+% Now come the cross-referencing functions (these are invoked because
+% one entry in the database file(s) cross-references another, by giving
+% the other entry's database key in a `crossref' field). This feature
+% allows one or more titled things that are part of a larger titled
+% thing to cross-reference the larger thing. These styles allow for
+% five posibilities: (1) an ARTICLE may cross-reference an ARTICLE;
+% (2) a BOOK, (3) INBOOK, or (4) INCOLLECTION may cross-reference a BOOK;
+% or (5) an INPROCEEDINGS may cross-reference a PROCEEDINGS.
+% Each of these is explained in more detail later.
+%
+% An ARTICLE entry type may cross reference another ARTICLE (this is
+% intended for when an entire journal is devoted to a single topic---
+% but since there is no JOURNAL entry type, the journal, too, should be
+% classified as an ARTICLE but without the author and title fields).
+% This will result in two warning messages for the journal's entry
+% if it's included in the reference list, but such is life.
+%
+% format.article.crossref ==
+% BEGIN
+% if empty$(key) then
+% if empty$(journal) then
+% warning$("need key or journal for " * cite$ *
+% " to crossref " * crossref)
+% return(" \cite{" * crossref * "}")
+% else
+% return("In " * emphazise.correct (journal) *
+% " \cite{" * crossref * "}")
+% fi
+% else
+% return("In " * key * " \cite{" * crossref * "}")
+% fi
+% END
+%
+% The other cross-referencing functions are similar, so no "comment version"
+% will be given for them.
+
+FUNCTION {format.article.crossref}
+{
+#ifdef HTML
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+#endif /* HTML */
+ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+#ifndef HTML
+ { "In {\em " journal * "\/}" * }
+#else /* HTML */
+ { "<cite>" * journal * "</cite>" * }
+#endif /* HTML */
+ if$
+ }
+#ifndef HTML
+ { "In " key * }
+#else /* HTML */
+ { key * }
+#endif /* HTML */
+ if$
+#ifndef HTML
+ " \cite{" * crossref * "}" *
+#else /* HTML */
+ "</a> \citelabel{" * crossref * "}" *
+#endif /* HTML */
+}
+
+% We use just the last names of editors for a cross reference: either
+% "editor", or "editor1 and editor2", or "editor1 et~al." depending on
+% whether there are one, or two, or more than two editors.
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+% A BOOK (or INBOOK) entry type (assumed to be for a single volume in a
+% multivolume work) may cross reference another BOOK (the entire multivolume).
+% Usually there will be an editor, in which case we use that to construct the
+% cross reference; otherwise we use a nonempty key field or else the series
+% field (since the series gives the title of the multivolume work).
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+#ifdef HTML
+ "<a href=" * quote$ * "#" * crossref * quote$ * ">" *
+#endif /* HTML */
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+#ifndef HTML
+ { "{\em " * series * "\/}" * }
+#else /* HTML */
+ { "<cite>" * series * "</cite>" * }
+#endif /* HTML */
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+#ifndef HTML
+ " \cite{" * crossref * "}" *
+#else /* HTML */
+ "</a> \citelabel{" * crossref * "}" *
+#endif /* HTML */
+}
+
+% An INCOLLECTION entry type may cross reference a BOOK (assumed to be the
+% collection), or an INPROCEEDINGS may cross reference a PROCEEDINGS.
+% Often there will be an editor, in which case we use that to construct
+% the cross reference; otherwise we use a nonempty key field or else
+% the booktitle field (which gives the cross-referenced work's title).
+
+FUNCTION {format.incoll.inproc.crossref}
+{
+#ifdef HTML
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+#endif /* HTML */
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+#ifndef HTML
+ { "In {\em " booktitle * "\/}" * }
+#else /* HTML */
+ { "<cite>" * booktitle * "</cite>" * }
+#endif /* HTML */
+ if$
+ }
+#ifndef HTML
+ { "In " key * }
+#else /* HTML */
+ { key * }
+#endif /* HTML */
+ if$
+ }
+#ifndef HTML
+ { "In " format.crossref.editor * }
+#else /* HTML */
+ { format.crossref.editor * }
+#endif /* HTML */
+ if$
+#ifndef HTML
+ " \cite{" * crossref * "}" *
+#else /* HTML */
+ "</a> \citelabel{" * crossref * "}" *
+#endif /* HTML */
+}
+
+% Now we define the type functions for all entry types that may appear
+% in the .BIB file---e.g., functions like `article' and `book'. These
+% are the routines that actually generate the .BBL-file output for
+% the entry. These must all precede the READ command. In addition, the
+% style designer should have a function `default.type' for unknown types.
+% Note: The fields (within each list) are listed in order of appearance,
+% except as described for an `inbook' or a `proceedings'.
+%
+% The article function is for an article in a journal. An article may
+% CROSSREF another article.
+% Required fields: author, title, journal, year
+% Optional fields: volume, number, pages, month, note
+%
+% article ==
+% BEGIN
+% output.bibitem
+% output.check(format.authors,"author")
+% new.block
+% output.check(format.title,"title")
+% new.block
+% if missing$(crossref) then
+% output.check(emphasize(journal),"journal")
+% output(format.vol.num.pages)
+% output.check(format.date,"year")
+% else
+% output.nonnull(format.article.crossref)
+% output(format.pages)
+% fi
+% new.block
+% output(note)
+% fin.entry
+% END
+%
+% The book function is for a whole book. A book may CROSSREF another book.
+% Required fields: author or editor, title, publisher, year
+% Optional fields: volume or number, series, address, edition, month,
+% note
+%
+% book ==
+% BEGIN
+% if empty$(author) then output.check(format.editors,"author and editor")
+% else output.check(format.authors,"author")
+% if missing$(crossref) then
+% either.or.check("author and editor",editor)
+% fi
+% fi
+% new.block
+% output.check(format.btitle,"title")
+% if missing$(crossref) then
+% output(format.bvolume)
+% new.block
+% output(format.number.series)
+% new.sentence
+% output.check(publisher,"publisher")
+% output(address)
+% else
+% new.block
+% output.nonnull(format.book.crossref)
+% fi
+% output(format.edition)
+% output.check(format.date,"year")
+% new.block
+% output(note)
+% fin.entry
+% END
+%
+% The other entry functions are all quite similar, so no "comment version"
+% will be given for them.
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+% A booklet is a bound thing without a publisher or sponsoring institution.
+% Required: title
+% Optional: author, howpublished, address, month, year, note
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+% For the conference entry type, see inproceedings.
+
+% An inbook is a piece of a book: either a chapter and/or a page range.
+% It may CROSSREF a book. If there's no volume field, the type field
+% will come before number and series.
+% Required: author or editor, title, chapter and/or pages, publisher,year
+% Optional: volume or number, series, type, address, edition, month, note
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+% An incollection is like inbook, but where there is a separate title
+% for the referenced thing (and perhaps an editor for the whole).
+% An incollection may CROSSREF a book.
+% Required: author, title, booktitle, publisher, year
+% Optional: editor, volume or number, series, type, chapter, pages,
+% address, edition, month, note
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+% An inproceedings is an article in a conference proceedings, and it may
+% CROSSREF a proceedings. If there's no address field, the month (& year)
+% will appear just before note.
+% Required: author, title, booktitle, year
+% Optional: editor, volume or number, series, pages, address, month,
+% organization, publisher, note
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+% The conference function is included for Scribe compatibility.
+
+FUNCTION {conference} { inproceedings }
+
+% A manual is technical documentation.
+% Required: title
+% Optional: author, organization, address, edition, month, year, note
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+% A mastersthesis is a Master's thesis.
+% Required: author, title, school, year
+% Optional: type, address, month, note
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+% A misc is something that doesn't fit elsewhere.
+% Required: at least one of the `optional' fields
+% Optional: author, title, howpublished, month, year, note
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+% A phdthesis is like a mastersthesis.
+% Required: author, title, school, year
+% Optional: type, address, month, note
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+% A proceedings is a conference proceedings.
+% If there is an organization but no editor field, the organization will
+% appear as the first optional field (we try to make the first block nonempty);
+% if there's no address field, the month (& year) will appear just before note.
+% Required: title, year
+% Optional: editor, volume or number, series, address, month,
+% organization, publisher, note
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+% A techreport is a technical report.
+% Required: author, title, institution, year
+% Optional: type, number, address, month, note
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+% An unpublished is something that hasn't been published.
+% Required: author, title, note
+% Optional: month, year
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+% We use entry type `misc' for an unknown type; BibTeX gives a warning.
+
+FUNCTION {default.type} { misc }
+
+% Here are macros for common things that may vary from style to style.
+% Users are encouraged to use these macros.
+%
+% Months are either written out in full or abbreviated
+
+#if MONTH_FULL
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+#else !MONTH_FULL
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+#endif MONTH_FULL
+
+% Journals are either written out in full or abbreviated;
+% the abbreviations are like those found in ACM publications.
+%
+% To get a completely different set of abbreviations, it may be best to make
+% a separate .bib file with nothing but those abbreviations; users could then
+% include that file name as the first argument to the \bibliography command
+
+#if JOUR_FULL
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+#else !JOUR_FULL
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Softw. Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Programming"}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Gr."}
+
+MACRO {toms} {"ACM Trans. Math. Softw."}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Prog. Lang. Syst."}
+
+MACRO {tcs} {"Theoretical Comput. Sci."}
+
+#endif JOUR_FULL
+
+% Now we read in the .BIB entries.
+
+READ
+
+% The sortify function converts to lower case after purify$ing; it's
+% used in sorting and in computing alphabetic labels after sorting
+%
+% The chop.word(w,len,s) function returns either s or, if the first len
+% letters of s equals w (this comparison is done in the third line of the
+% function's definition), it returns that part of s after w.
+
+#if SORTED
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+#else !SORTED
+#if LAB_ALPH
+
+% We need the chop.word stuff for the dubious unsorted-list-with-labels case.
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+#endif LAB_ALPH
+#endif SORTED
+
+% This long comment applies only to alphabetic labels
+%
+% The format.lab.names function makes a short label by using the initials of
+% the von and Last parts of the names (but if there are more than four names,
+% (i.e., people) it truncates after three and adds a superscripted "+";
+% it also adds such a "+" if the last of multiple authors is "others").
+% If there is only one name, and its von and Last parts combined have just
+% a single name-token ("Knuth" has a single token, "Brinch Hansen" has two),
+% we take the first three letters of the last name. The boolean
+% et.al.char.used tells whether we've used a superscripted "+", so that we
+% know whether to include a LaTeX macro for it.
+%
+% format.lab.names(s) ==
+% BEGIN
+% numnames := num.names$(s)
+% if numnames > 1 then
+% if numnames > 4 then
+% namesleft := 3
+% else
+% namesleft := numnames
+% nameptr := 1
+% nameresult := ""
+% while namesleft > 0
+% do
+% if (name_ptr = numnames) and
+% format.name$(s, nameptr, "{ff }{vv }{ll}{ jj}") = "others"
+% then nameresult := nameresult * "{\etalchar{+}}"
+% et.al.char.used := true
+% else nameresult := nameresult *
+% format.name$(s, nameptr, "{v{}}{l{}}")
+% nameptr := nameptr + 1
+% namesleft := namesleft - 1
+% od
+% if numnames > 4 then
+% nameresult := nameresult * "{\etalchar{+}}"
+% et.al.char.used := true
+% else
+% t := format.name$(s, 1, "{v{}}{l{}}")
+% if text.length$(t) < 2 then % there's just one name-token
+% nameresult := text.prefix$(format.name$(s,1,"{ll}"),3)
+% else
+% nameresult := t
+% fi
+% fi
+% return nameresult
+% END
+%
+% Exactly what fields we look at in constructing the primary part of the label
+% depends on the entry type; this selectivity (as opposed to, say, always
+% looking at author, then editor, then key) helps ensure that "ignored" fields,
+% as described in the LaTeX book, really are ignored. Note that MISC is part
+% of the deepest `else' clause in the nested part of calc.label; thus, any
+% unrecognized entry type in the database is handled correctly.
+%
+% There is one auxiliary function for each of the four different sequences of
+% fields we use. The first of these functions looks at the author field, and
+% then, if necessary, the key field. The other three functions, which might
+% look at two fields and the key field, are similar, except that the key field
+% takes precedence over the organization field (for labels---not for sorting).
+%
+% The calc.label function calculates the preliminary label of an entry, which
+% is formed by taking three letters of information from the author or editor or
+% key or organization field (depending on the entry type and on what's empty,
+% but ignoring a leading "The " in the organization), and appending the last
+% two characters (digits) of the year. It is an error if the appropriate fields
+% among author, editor, organization, and key are missing, and we use
+% the first three letters of the cite$ in desperation when this happens.
+% The resulting label has the year part, but not the name part, purify$ed
+% (purify$ing the year allows some sorting shenanigans by the user).
+%
+% This function also calculates the version of the label to be used in sorting.
+%
+% The final label may need a trailing 'a', 'b', etc., to distinguish it from
+% otherwise identical labels, but we can't calculated those "extra.label"s
+% until after sorting.
+%
+% calc.label ==
+% BEGIN
+% if type$ = "book" or "inbook" then
+% author.editor.key.label
+% else if type$ = "proceedings" then
+% editor.key.organization.label
+% else if type$ = "manual" then
+% author.key.organization.label
+% else
+% author.key.label
+% fi fi fi
+% label := label * substring$(purify$(field.or.null(year)), -1, 2)
+% % assuming we will also sort, we calculate a sort.label
+% sort.label := sortify(label), but use the last four, not two, digits
+% END
+
+#if LAB_ALPH
+
+#ifndef HTML
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+#endif /* ! HTML */
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+#ifndef NAMED
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+#ifndef HTML
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+#else /* HTML */
+ { "+" * }
+#endif /* HTML */
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+#ifndef HTML
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+#else /* HTML */
+ { "+" * }
+#endif /* HTML */
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+#else /* NAMED */
+ numnames #1 =
+ { s #1 "{vv }{ll}" format.name$ }
+ { numnames #2 =
+ { s #1 "{vv }{ll }and " format.name$ s #2 "{vv }{ll}" format.name$ * }
+ { s #1 "{vv }{ll }" format.name$ "et~al." * }
+ if$
+ }
+ if$
+#endif /* NAMED */
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+#if SORTED
+ { cite$ #1 #3 substring$ }
+#else !SORTED % need warning here because we won't give it later
+ { "for label, need author or key in " cite$ * warning$
+ cite$ #1 #3 substring$
+ }
+#endif SORTED
+#ifndef NAMED
+ { key #3 text.prefix$ }
+#else /* NAMED */
+ { key }
+#endif /* NAMED */
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+#if SORTED
+ { cite$ #1 #3 substring$ }
+#else !SORTED % need warning here because we won't give it later
+ { "for label, need author, editor, or key in " cite$ * warning$
+ cite$ #1 #3 substring$
+ }
+#endif SORTED
+#ifndef NAMED
+ { key #3 text.prefix$ }
+#else /* NAMED */
+ { key }
+#endif /* NAMED */
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+#if SORTED
+ { cite$ #1 #3 substring$ }
+#else !SORTED % need warning here because we won't give it later
+ { "for label, need author, key, or organization in " cite$ *
+ warning$
+ cite$ #1 #3 substring$
+ }
+#endif SORTED
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+#ifndef NAMED
+ { key #3 text.prefix$ }
+#else /* NAMED */
+ { key }
+#endif /* NAMED */
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+#if SORTED
+ { cite$ #1 #3 substring$ }
+#else !SORTED % need warning here because we won't give it later
+ { "for label, need editor, key, or organization in " cite$ *
+ warning$
+ cite$ #1 #3 substring$
+ }
+#endif SORTED
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+#ifndef NAMED
+ { key #3 text.prefix$ }
+#else /* NAMED */
+ { key }
+#endif /* NAMED */
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+
+% Converts a month to an integer. Watch out for the byte limit on
+% subroutines here.
+FUNCTION {month.to.int}
+{
+ "l" change.case$ #3 text.prefix$
+ 's :=
+ s "jan" = { #1 } {
+ s "feb" = { #2 } {
+ s "mar" = { #3 } {
+ s "apr" = { #4 } {
+ s "may" = { #5 } {
+ s "jun" = { #6 } {
+ s "jul" = { #7 } {
+ s "aug" = { #8 } {
+ s "sep" = { #9 } {
+ s "oct" = { #10 } {
+ s "nov" = { #11 } {
+ s "dec" = { #12 } { #13 } % 13 if nothing matches
+ if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$
+}
+
+
+% If there's a day in the month field (e.g. April 14th, Apr 14-17, etc)
+% Strips it out and puts the first number on the stack.
+INTEGERS { done c }
+FUNCTION { get.day }
+{ month field.or.null 's :=
+
+ % Strip out month name
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ " " = 'done :=
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ % Build up first number in t
+ "0" 't :=
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ chr.to.int$ 'c :=
+ c #47 > c #58 < and
+ { t c int.to.chr$ * 't := }
+ { #1 'done := }
+ if$
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ t str.to.int
+}
+
+
+% This produces a 4-digit sort string from (max) 4-digit number
+% Used to sortfy years.
+FUNCTION { sortify.fourdigit }
+{ 's :=
+ s empty$
+ { "0000" }
+ { s
+#if REVERSEDATE
+ str.to.int #9999 swap$ - int.to.str$
+#endif /* REVERSEDATE */
+ }
+ if$
+}
+
+% This produces a 2-digit sort string from a (max) 2-digit number
+% Used to sortfy months and days. Note that this won't really work on
+% things that aren't months or days of months, as the sum can exceed
+% 100. Should really pad things with zeros instead of this hack.
+FUNCTION { sortify.twodigit }
+{ 's :=
+ s empty$
+ { "00" }
+ { s
+#if REVERSEDATE
+ str.to.int #99 swap$ - int.to.str$
+#else /* REVERSEDATE */
+ str.to.int #10 + int.to.str$
+#endif /* REVERSEDATE */
+ }
+ if$
+}
+
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+
+#ifndef NAMED
+ year field.or.null purify$ #-1 #2 substring$
+ *
+#else /* NAMED */
+ year empty$
+ 'skip$
+ { ", " * }
+ if$
+ year field.or.null purify$ * % CHANGED - pfps - 15 Feb 1989
+#endif /* NAMED */
+ 'label :=
+
+ year field.or.null purify$
+#ifdef NAMED
+ #-1 #4 substring$
+#endif /* NAMED */
+ sortify.fourdigit
+ " " *
+ month field.or.null month.to.int int.to.str$ sortify.twodigit *
+ " " *
+ get.day int.to.str$ sortify.twodigit *
+ " " *
+#if SORTBYYEAR
+ swap$
+#endif /* SORTBYYEAR */
+ * sortify 'sort.label :=
+}
+
+% It doesn't seem like a particularly good idea to use an order-of-citation
+% reference list when using alphabetic labels, but we need to have a
+% special pass to calculate labels when this happens.
+
+#if !SORTED
+
+ITERATE {calc.label}
+
+#endif !SORTED
+
+#endif LAB_ALPH
+
+% When sorting, we compute the sortkey by executing "presort" on each entry.
+% The presort key contains a number of "sortify"ed strings, concatenated
+% with multiple blanks between them. This makes things like "brinch per"
+% come before "brinch hansen per".
+%
+% The fields used here are: the sort.label for alphabetic labels (as set by
+% calc.label), followed by the author names (or editor names or organization
+% (with a leading "The " removed) or key field, depending on entry type and on
+% what's empty), followed by year, followed by the first bit of the title
+% (chopping off a leading "The ", "A ", or "An ").
+% Names are formatted: Von Last First Junior.
+% The names within a part will be separated by a single blank
+% (such as "brinch hansen"), two will separate the name parts themselves
+% (except the von and last), three will separate the names,
+% four will separate the names from year (and from label, if alphabetic),
+% and four will separate year from title.
+%
+% The sort.format.names function takes an argument that should be in
+% BibTeX name format, and returns a string containing " "-separated
+% names in the format described above. The function is almost the same
+% as format.names.
+
+#if SORTED
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+#if NAME_FULL
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+#else
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't :=
+#endif NAME_FULL
+ nameptr numnames = t "others" = and
+ { "et al." * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+% The sort.format.title function returns the argument,
+% but first any leading "A "'s, "An "'s, or "The "'s are removed.
+% The chop.word function uses s, so we need another string variable, t
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+% The auxiliary functions here, for the presort function, are analogous to
+% the ones for calc.label; the same comments apply, except that the
+% organization field takes precedence here over the key field. For sorting
+% purposes, we still remove a leading "The " from the organization field.
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+% There is a limit, entry.max$, on the length of an entry string variable
+% (which is what its sort.key$ is), so we take at most that many characters
+% of the constructed key, and hope there aren't many references that match
+% to that many characters!
+
+FUNCTION {presort}
+#if LAB_ALPH
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+#else !LAB_ALPH
+{ type$ "book" =
+#endif LAB_ALPH
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+#if LAB_ALPH
+ *
+#endif LAB_ALPH
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+% And now we can sort
+
+SORT
+
+#endif SORTED
+
+% This long comment applies only to alphabetic labels, when sorted
+%
+% Now comes the final computation for alphabetic labels, putting in the 'a's
+% and 'b's and so forth if required. This involves two passes: a forward
+% pass to put in the 'b's, 'c's and so on, and a backwards pass
+% to put in the 'a's (we don't want to put in 'a's unless we know there
+% are 'b's).
+% We have to keep track of the longest (in width$ terms) label, for use
+% by the "thebibliography" environment.
+%
+% VAR: longest.label, last.sort.label, next.extra: string
+% longest.label.width, last.extra.num: integer
+%
+% initialize.longest.label ==
+% BEGIN
+% longest.label := ""
+% last.sort.label := int.to.chr$(0)
+% next.extra := ""
+% longest.label.width := 0
+% last.extra.num := 0
+% END
+%
+% forward.pass ==
+% BEGIN
+% if last.sort.label = sort.label then
+% last.extra.num := last.extra.num + 1
+% extra.label := int.to.chr$(last.extra.num)
+% else
+% last.extra.num := chr.to.int$("a")
+% extra.label := ""
+% last.sort.label := sort.label
+% fi
+% END
+%
+% reverse.pass ==
+% BEGIN
+% if next.extra = "b" then
+% extra.label := "a"
+% fi
+% label := label * extra.label
+% if width$(label) > longest.label.width then
+% longest.label := label
+% longest.label.width := width$(label)
+% fi
+% next.extra := extra.label
+% END
+
+#if LAB_ALPH
+
+#if SORTED
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+#else !SORTED
+
+% It still doesn't seem like a good idea to use an order-of-citation
+% reference list when using alphabetic labels, but when this happens we
+% must compute the longest label
+
+STRINGS { longest.label }
+
+INTEGERS { longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+#endif SORTED
+
+#else !LAB_ALPH
+
+% Now comes the computation for numeric labels.
+% We use either the sorted order or original order.
+% We still have to keep track of the longest (in width$ terms) label, for use
+% by the "thebibliography" environment.
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+#endif LAB_ALPH
+
+% Now we're ready to start writing the .BBL file.
+% We begin, if necessary, with a LaTeX macro for unnamed names in an alphabetic
+% label; next comes stuff from the `preamble' command in the database files.
+% Then we give an incantation containing the command
+% \begin{thebibliography}{...}
+% where the `...' is the longest label.
+%
+% We also call init.state.consts, for use by the output routines.
+
+FUNCTION {begin.bib}
+{
+#ifndef HTML
+#if LAB_ALPH
+ et.al.char.used
+ { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+ 'skip$
+ if$
+#endif /* LAB_ALPH */
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+#else /* HTML */
+% defined label-styles are:
+% plain (produces bulleted list: "* entry")
+% numbered (produced numbered list: "[1] entry")
+% default (uses bibtex-generated label: "[label] entry")
+#ifdef ALPHA
+ "# label-style: default" write$ newline$
+#endif
+#ifdef NAMED
+ "# label-style: default" write$ newline$
+#endif
+#ifdef UNSRT
+ "# label-style: numbered" write$ newline$
+#endif
+#endif /* ! HTML */
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+% Now we produce the output for all the entries
+
+ITERATE {call.type$}
+
+% Finally, we finish up by writing the `\end{thebibliography}' command.
+
+FUNCTION {end.bib}
+{ newline$
+#ifndef HTML
+ "\end{thebibliography}" write$ newline$
+#endif /* ! HTML */
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/utils/bib2xhtml/html-n.bst b/biblio/bibtex/utils/bib2xhtml/html-n.bst
new file mode 100644
index 0000000000..dfd9f4b1a8
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/html-n.bst
@@ -0,0 +1,1388 @@
+ % $Id: html-btxbst.doc 1.5 2010/12/08 19:02:34 dds Exp $
+ %
+ % This file is either "html-btxbst.doc" or was derived from
+ % "html-btxbst.doc" using cpp. "html-btxbst.doc" itself was edited
+ % from "btxbst.doc" and "named.bst".
+ % The following copyright information is from btxbst.doc:
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+ % "named" style (sorted keys of the form [name, year])
+ % Some code for this was taken from "named.bst".
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ dvi
+ html
+ keywords
+ pdf
+ postscript
+ url
+ doi
+ mailto
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ author empty$
+ { editor empty$
+ { organization empty$
+ 'skip$
+ { "<!-- Authors: " organization purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " editor purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " author purify$ * " -->" * write$ newline$ }
+ if$
+ keywords empty$
+ 'skip$
+ { "<!-- Keywords: " keywords * " -->" * write$ newline$ }
+ if$
+ "<dt><a name=" quote$ * cite$ * quote$ * ">[" * label * "]</a></dt><dd>" * write$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ postscript empty$
+ 'skip$
+ { newline$ "<!-- PostScript: " postscript * " -->" * write$ }
+ if$
+ pdf empty$
+ 'skip$
+ { newline$ "<!-- PDF: " pdf * " -->" * write$ }
+ if$
+ dvi empty$
+ 'skip$
+ { newline$ "<!-- DVI: " dvi * " -->" * write$ }
+ if$
+ doi empty$
+ 'skip$
+ { newline$ "<!-- DOI: " doi * " -->" * write$ }
+ if$
+ "</dd>" write$
+ newline$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {str.to.int}
+{
+ 's :=
+ #0
+ { s empty$ not }
+ { % Multiply the number on the top of the stack by 10 = 1010 binary
+ duplicate$ + % x2
+ duplicate$ % x2 x2
+ duplicate$ + duplicate$ + % x2 x8
+ +
+ s #1 #1 substring$ chr.to.int$ #48 - + % #48 is ascii for '0'
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<cite>" swap$ * "</cite>" * }
+ if$
+}
+
+FUNCTION {add.link} % title
+{
+ 't :=
+ t empty$
+ { "" }
+ { url empty$
+ { html empty$
+ { t }
+ { "<a href=" quote$ * html * quote$ * ">" * t * "</a>" * }
+ if$ }
+ { "<a href=" quote$ * url * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.mailto} % authors
+{
+ 't :=
+ t empty$
+ { "" }
+ { mailto empty$
+ { t }
+ { "<a href=" quote$ * "mailto:" * mailto * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ "\bibxhtmlname{" t * "}" * 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+ add.mailto
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+ add.link
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+ add.link
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "<cite>" * journal * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "<a href=" * quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "<cite>" * series * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "<cite>" * booktitle * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 =
+ { s #1 "{vv }{ll}" format.name$ }
+ { numnames #2 =
+ { s #1 "{vv }{ll }and " format.name$ s #2 "{vv }{ll}" format.name$ * }
+ { s #1 "{vv }{ll }" format.name$ "et~al." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {month.to.int}
+{
+ "l" change.case$ #3 text.prefix$
+ 's :=
+ s "jan" = { #1 } {
+ s "feb" = { #2 } {
+ s "mar" = { #3 } {
+ s "apr" = { #4 } {
+ s "may" = { #5 } {
+ s "jun" = { #6 } {
+ s "jul" = { #7 } {
+ s "aug" = { #8 } {
+ s "sep" = { #9 } {
+ s "oct" = { #10 } {
+ s "nov" = { #11 } {
+ s "dec" = { #12 } { #13 } % 13 if nothing matches
+ if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$
+}
+
+INTEGERS { done c }
+FUNCTION { get.day }
+{ month field.or.null 's :=
+
+ % Strip out month name
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ " " = 'done :=
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ % Build up first number in t
+ "0" 't :=
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ chr.to.int$ 'c :=
+ c #47 > c #58 < and
+ { t c int.to.chr$ * 't := }
+ { #1 'done := }
+ if$
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ t str.to.int
+}
+
+FUNCTION { sortify.fourdigit }
+{ 's :=
+ s empty$
+ { "0000" }
+ { s
+ }
+ if$
+}
+
+FUNCTION { sortify.twodigit }
+{ 's :=
+ s empty$
+ { "00" }
+ { s
+ str.to.int #10 + int.to.str$
+ }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+
+ year empty$
+ 'skip$
+ { ", " * }
+ if$
+ year field.or.null purify$ * % CHANGED - pfps - 15 Feb 1989
+ 'label :=
+
+ year field.or.null purify$
+ #-1 #4 substring$
+ sortify.fourdigit
+ " " *
+ month field.or.null month.to.int int.to.str$ sortify.twodigit *
+ " " *
+ get.day int.to.str$ sortify.twodigit *
+ " " *
+ * sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al." * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{
+ "# label-style: default" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/utils/bib2xhtml/html-na.bst b/biblio/bibtex/utils/bib2xhtml/html-na.bst
new file mode 100644
index 0000000000..c905c25ced
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/html-na.bst
@@ -0,0 +1,1393 @@
+ % $Id: html-btxbst.doc 1.5 2010/12/08 19:02:34 dds Exp $
+ %
+ % This file is either "html-btxbst.doc" or was derived from
+ % "html-btxbst.doc" using cpp. "html-btxbst.doc" itself was edited
+ % from "btxbst.doc" and "named.bst".
+ % The following copyright information is from btxbst.doc:
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+ % "named" style (sorted keys of the form [name, year])
+ % Some code for this was taken from "named.bst".
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ dvi
+ html
+ keywords
+ pdf
+ postscript
+ url
+ doi
+ mailto
+ abstract
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ author empty$
+ { editor empty$
+ { organization empty$
+ 'skip$
+ { "<!-- Authors: " organization purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " editor purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " author purify$ * " -->" * write$ newline$ }
+ if$
+ keywords empty$
+ 'skip$
+ { "<!-- Keywords: " keywords * " -->" * write$ newline$ }
+ if$
+ "<dt><a name=" quote$ * cite$ * quote$ * ">[" * label * "]</a></dt><dd>" * write$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ postscript empty$
+ 'skip$
+ { newline$ "<!-- PostScript: " postscript * " -->" * write$ }
+ if$
+ pdf empty$
+ 'skip$
+ { newline$ "<!-- PDF: " pdf * " -->" * write$ }
+ if$
+ dvi empty$
+ 'skip$
+ { newline$ "<!-- DVI: " dvi * " -->" * write$ }
+ if$
+ doi empty$
+ 'skip$
+ { newline$ "<!-- DOI: " doi * " -->" * write$ }
+ if$
+ abstract empty$
+ 'skip$
+ { newline$ "<blockquote>" abstract * "</blockquote>" * write$ }
+ if$
+ "</dd>" write$
+ newline$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {str.to.int}
+{
+ 's :=
+ #0
+ { s empty$ not }
+ { % Multiply the number on the top of the stack by 10 = 1010 binary
+ duplicate$ + % x2
+ duplicate$ % x2 x2
+ duplicate$ + duplicate$ + % x2 x8
+ +
+ s #1 #1 substring$ chr.to.int$ #48 - + % #48 is ascii for '0'
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<cite>" swap$ * "</cite>" * }
+ if$
+}
+
+FUNCTION {add.link} % title
+{
+ 't :=
+ t empty$
+ { "" }
+ { url empty$
+ { html empty$
+ { t }
+ { "<a href=" quote$ * html * quote$ * ">" * t * "</a>" * }
+ if$ }
+ { "<a href=" quote$ * url * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.mailto} % authors
+{
+ 't :=
+ t empty$
+ { "" }
+ { mailto empty$
+ { t }
+ { "<a href=" quote$ * "mailto:" * mailto * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ "\bibxhtmlname{" t * "}" * 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+ add.mailto
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+ add.link
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+ add.link
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "<cite>" * journal * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "<a href=" * quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "<cite>" * series * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "<cite>" * booktitle * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 =
+ { s #1 "{vv }{ll}" format.name$ }
+ { numnames #2 =
+ { s #1 "{vv }{ll }and " format.name$ s #2 "{vv }{ll}" format.name$ * }
+ { s #1 "{vv }{ll }" format.name$ "et~al." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {month.to.int}
+{
+ "l" change.case$ #3 text.prefix$
+ 's :=
+ s "jan" = { #1 } {
+ s "feb" = { #2 } {
+ s "mar" = { #3 } {
+ s "apr" = { #4 } {
+ s "may" = { #5 } {
+ s "jun" = { #6 } {
+ s "jul" = { #7 } {
+ s "aug" = { #8 } {
+ s "sep" = { #9 } {
+ s "oct" = { #10 } {
+ s "nov" = { #11 } {
+ s "dec" = { #12 } { #13 } % 13 if nothing matches
+ if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$
+}
+
+INTEGERS { done c }
+FUNCTION { get.day }
+{ month field.or.null 's :=
+
+ % Strip out month name
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ " " = 'done :=
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ % Build up first number in t
+ "0" 't :=
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ chr.to.int$ 'c :=
+ c #47 > c #58 < and
+ { t c int.to.chr$ * 't := }
+ { #1 'done := }
+ if$
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ t str.to.int
+}
+
+FUNCTION { sortify.fourdigit }
+{ 's :=
+ s empty$
+ { "0000" }
+ { s
+ }
+ if$
+}
+
+FUNCTION { sortify.twodigit }
+{ 's :=
+ s empty$
+ { "00" }
+ { s
+ str.to.int #10 + int.to.str$
+ }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+
+ year empty$
+ 'skip$
+ { ", " * }
+ if$
+ year field.or.null purify$ * % CHANGED - pfps - 15 Feb 1989
+ 'label :=
+
+ year field.or.null purify$
+ #-1 #4 substring$
+ sortify.fourdigit
+ " " *
+ month field.or.null month.to.int int.to.str$ sortify.twodigit *
+ " " *
+ get.day int.to.str$ sortify.twodigit *
+ " " *
+ * sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al." * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{
+ "# label-style: default" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/utils/bib2xhtml/html-nc.bst b/biblio/bibtex/utils/bib2xhtml/html-nc.bst
new file mode 100644
index 0000000000..04df58f6af
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/html-nc.bst
@@ -0,0 +1,1389 @@
+ % $Id: html-btxbst.doc 1.5 2010/12/08 19:02:34 dds Exp $
+ %
+ % This file is either "html-btxbst.doc" or was derived from
+ % "html-btxbst.doc" using cpp. "html-btxbst.doc" itself was edited
+ % from "btxbst.doc" and "named.bst".
+ % The following copyright information is from btxbst.doc:
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+ % "named" style (sorted keys of the form [name, year])
+ % Some code for this was taken from "named.bst".
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ dvi
+ html
+ keywords
+ pdf
+ postscript
+ url
+ doi
+ mailto
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ author empty$
+ { editor empty$
+ { organization empty$
+ 'skip$
+ { "<!-- Authors: " organization purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " editor purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " author purify$ * " -->" * write$ newline$ }
+ if$
+ keywords empty$
+ 'skip$
+ { "<!-- Keywords: " keywords * " -->" * write$ newline$ }
+ if$
+ "<dt><a name=" quote$ * cite$ * quote$ * ">[" * label * "]</a></dt><dd>" * write$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ postscript empty$
+ 'skip$
+ { newline$ "<!-- PostScript: " postscript * " -->" * write$ }
+ if$
+ pdf empty$
+ 'skip$
+ { newline$ "<!-- PDF: " pdf * " -->" * write$ }
+ if$
+ dvi empty$
+ 'skip$
+ { newline$ "<!-- DVI: " dvi * " -->" * write$ }
+ if$
+ doi empty$
+ 'skip$
+ { newline$ "<!-- DOI: " doi * " -->" * write$ }
+ if$
+ "</dd>" write$
+ newline$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {str.to.int}
+{
+ 's :=
+ #0
+ { s empty$ not }
+ { % Multiply the number on the top of the stack by 10 = 1010 binary
+ duplicate$ + % x2
+ duplicate$ % x2 x2
+ duplicate$ + duplicate$ + % x2 x8
+ +
+ s #1 #1 substring$ chr.to.int$ #48 - + % #48 is ascii for '0'
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<cite>" swap$ * "</cite>" * }
+ if$
+}
+
+FUNCTION {add.link} % title
+{
+ 't :=
+ t empty$
+ { "" }
+ { url empty$
+ { html empty$
+ { t }
+ { "<a href=" quote$ * html * quote$ * ">" * t * "</a>" * }
+ if$ }
+ { "<a href=" quote$ * url * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.mailto} % authors
+{
+ 't :=
+ t empty$
+ { "" }
+ { mailto empty$
+ { t }
+ { "<a href=" quote$ * "mailto:" * mailto * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ "\bibxhtmlname{" t * "}" * 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+ add.mailto
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+ add.link
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+ add.link
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "<cite>" * journal * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "<a href=" * quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "<cite>" * series * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "<cite>" * booktitle * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 =
+ { s #1 "{vv }{ll}" format.name$ }
+ { numnames #2 =
+ { s #1 "{vv }{ll }and " format.name$ s #2 "{vv }{ll}" format.name$ * }
+ { s #1 "{vv }{ll }" format.name$ "et~al." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {month.to.int}
+{
+ "l" change.case$ #3 text.prefix$
+ 's :=
+ s "jan" = { #1 } {
+ s "feb" = { #2 } {
+ s "mar" = { #3 } {
+ s "apr" = { #4 } {
+ s "may" = { #5 } {
+ s "jun" = { #6 } {
+ s "jul" = { #7 } {
+ s "aug" = { #8 } {
+ s "sep" = { #9 } {
+ s "oct" = { #10 } {
+ s "nov" = { #11 } {
+ s "dec" = { #12 } { #13 } % 13 if nothing matches
+ if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$
+}
+
+INTEGERS { done c }
+FUNCTION { get.day }
+{ month field.or.null 's :=
+
+ % Strip out month name
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ " " = 'done :=
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ % Build up first number in t
+ "0" 't :=
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ chr.to.int$ 'c :=
+ c #47 > c #58 < and
+ { t c int.to.chr$ * 't := }
+ { #1 'done := }
+ if$
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ t str.to.int
+}
+
+FUNCTION { sortify.fourdigit }
+{ 's :=
+ s empty$
+ { "0000" }
+ { s
+ }
+ if$
+}
+
+FUNCTION { sortify.twodigit }
+{ 's :=
+ s empty$
+ { "00" }
+ { s
+ str.to.int #10 + int.to.str$
+ }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+
+ year empty$
+ 'skip$
+ { ", " * }
+ if$
+ year field.or.null purify$ * % CHANGED - pfps - 15 Feb 1989
+ 'label :=
+
+ year field.or.null purify$
+ #-1 #4 substring$
+ sortify.fourdigit
+ " " *
+ month field.or.null month.to.int int.to.str$ sortify.twodigit *
+ " " *
+ get.day int.to.str$ sortify.twodigit *
+ " " *
+ swap$
+ * sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al." * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{
+ "# label-style: default" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/utils/bib2xhtml/html-nca.bst b/biblio/bibtex/utils/bib2xhtml/html-nca.bst
new file mode 100644
index 0000000000..f72d1d9b4b
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/html-nca.bst
@@ -0,0 +1,1394 @@
+ % $Id: html-btxbst.doc 1.5 2010/12/08 19:02:34 dds Exp $
+ %
+ % This file is either "html-btxbst.doc" or was derived from
+ % "html-btxbst.doc" using cpp. "html-btxbst.doc" itself was edited
+ % from "btxbst.doc" and "named.bst".
+ % The following copyright information is from btxbst.doc:
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+ % "named" style (sorted keys of the form [name, year])
+ % Some code for this was taken from "named.bst".
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ dvi
+ html
+ keywords
+ pdf
+ postscript
+ url
+ doi
+ mailto
+ abstract
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ author empty$
+ { editor empty$
+ { organization empty$
+ 'skip$
+ { "<!-- Authors: " organization purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " editor purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " author purify$ * " -->" * write$ newline$ }
+ if$
+ keywords empty$
+ 'skip$
+ { "<!-- Keywords: " keywords * " -->" * write$ newline$ }
+ if$
+ "<dt><a name=" quote$ * cite$ * quote$ * ">[" * label * "]</a></dt><dd>" * write$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ postscript empty$
+ 'skip$
+ { newline$ "<!-- PostScript: " postscript * " -->" * write$ }
+ if$
+ pdf empty$
+ 'skip$
+ { newline$ "<!-- PDF: " pdf * " -->" * write$ }
+ if$
+ dvi empty$
+ 'skip$
+ { newline$ "<!-- DVI: " dvi * " -->" * write$ }
+ if$
+ doi empty$
+ 'skip$
+ { newline$ "<!-- DOI: " doi * " -->" * write$ }
+ if$
+ abstract empty$
+ 'skip$
+ { newline$ "<blockquote>" abstract * "</blockquote>" * write$ }
+ if$
+ "</dd>" write$
+ newline$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {str.to.int}
+{
+ 's :=
+ #0
+ { s empty$ not }
+ { % Multiply the number on the top of the stack by 10 = 1010 binary
+ duplicate$ + % x2
+ duplicate$ % x2 x2
+ duplicate$ + duplicate$ + % x2 x8
+ +
+ s #1 #1 substring$ chr.to.int$ #48 - + % #48 is ascii for '0'
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<cite>" swap$ * "</cite>" * }
+ if$
+}
+
+FUNCTION {add.link} % title
+{
+ 't :=
+ t empty$
+ { "" }
+ { url empty$
+ { html empty$
+ { t }
+ { "<a href=" quote$ * html * quote$ * ">" * t * "</a>" * }
+ if$ }
+ { "<a href=" quote$ * url * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.mailto} % authors
+{
+ 't :=
+ t empty$
+ { "" }
+ { mailto empty$
+ { t }
+ { "<a href=" quote$ * "mailto:" * mailto * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ "\bibxhtmlname{" t * "}" * 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+ add.mailto
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+ add.link
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+ add.link
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "<cite>" * journal * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "<a href=" * quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "<cite>" * series * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "<cite>" * booktitle * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 =
+ { s #1 "{vv }{ll}" format.name$ }
+ { numnames #2 =
+ { s #1 "{vv }{ll }and " format.name$ s #2 "{vv }{ll}" format.name$ * }
+ { s #1 "{vv }{ll }" format.name$ "et~al." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {month.to.int}
+{
+ "l" change.case$ #3 text.prefix$
+ 's :=
+ s "jan" = { #1 } {
+ s "feb" = { #2 } {
+ s "mar" = { #3 } {
+ s "apr" = { #4 } {
+ s "may" = { #5 } {
+ s "jun" = { #6 } {
+ s "jul" = { #7 } {
+ s "aug" = { #8 } {
+ s "sep" = { #9 } {
+ s "oct" = { #10 } {
+ s "nov" = { #11 } {
+ s "dec" = { #12 } { #13 } % 13 if nothing matches
+ if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$
+}
+
+INTEGERS { done c }
+FUNCTION { get.day }
+{ month field.or.null 's :=
+
+ % Strip out month name
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ " " = 'done :=
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ % Build up first number in t
+ "0" 't :=
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ chr.to.int$ 'c :=
+ c #47 > c #58 < and
+ { t c int.to.chr$ * 't := }
+ { #1 'done := }
+ if$
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ t str.to.int
+}
+
+FUNCTION { sortify.fourdigit }
+{ 's :=
+ s empty$
+ { "0000" }
+ { s
+ }
+ if$
+}
+
+FUNCTION { sortify.twodigit }
+{ 's :=
+ s empty$
+ { "00" }
+ { s
+ str.to.int #10 + int.to.str$
+ }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+
+ year empty$
+ 'skip$
+ { ", " * }
+ if$
+ year field.or.null purify$ * % CHANGED - pfps - 15 Feb 1989
+ 'label :=
+
+ year field.or.null purify$
+ #-1 #4 substring$
+ sortify.fourdigit
+ " " *
+ month field.or.null month.to.int int.to.str$ sortify.twodigit *
+ " " *
+ get.day int.to.str$ sortify.twodigit *
+ " " *
+ swap$
+ * sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al." * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{
+ "# label-style: default" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/utils/bib2xhtml/html-ncr.bst b/biblio/bibtex/utils/bib2xhtml/html-ncr.bst
new file mode 100644
index 0000000000..92a049e078
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/html-ncr.bst
@@ -0,0 +1,1390 @@
+ % $Id: html-btxbst.doc 1.5 2010/12/08 19:02:34 dds Exp $
+ %
+ % This file is either "html-btxbst.doc" or was derived from
+ % "html-btxbst.doc" using cpp. "html-btxbst.doc" itself was edited
+ % from "btxbst.doc" and "named.bst".
+ % The following copyright information is from btxbst.doc:
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+ % "named" style (sorted keys of the form [name, year])
+ % Some code for this was taken from "named.bst".
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ dvi
+ html
+ keywords
+ pdf
+ postscript
+ url
+ doi
+ mailto
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ author empty$
+ { editor empty$
+ { organization empty$
+ 'skip$
+ { "<!-- Authors: " organization purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " editor purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " author purify$ * " -->" * write$ newline$ }
+ if$
+ keywords empty$
+ 'skip$
+ { "<!-- Keywords: " keywords * " -->" * write$ newline$ }
+ if$
+ "<dt><a name=" quote$ * cite$ * quote$ * ">[" * label * "]</a></dt><dd>" * write$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ postscript empty$
+ 'skip$
+ { newline$ "<!-- PostScript: " postscript * " -->" * write$ }
+ if$
+ pdf empty$
+ 'skip$
+ { newline$ "<!-- PDF: " pdf * " -->" * write$ }
+ if$
+ dvi empty$
+ 'skip$
+ { newline$ "<!-- DVI: " dvi * " -->" * write$ }
+ if$
+ doi empty$
+ 'skip$
+ { newline$ "<!-- DOI: " doi * " -->" * write$ }
+ if$
+ "</dd>" write$
+ newline$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {str.to.int}
+{
+ 's :=
+ #0
+ { s empty$ not }
+ { % Multiply the number on the top of the stack by 10 = 1010 binary
+ duplicate$ + % x2
+ duplicate$ % x2 x2
+ duplicate$ + duplicate$ + % x2 x8
+ +
+ s #1 #1 substring$ chr.to.int$ #48 - + % #48 is ascii for '0'
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<cite>" swap$ * "</cite>" * }
+ if$
+}
+
+FUNCTION {add.link} % title
+{
+ 't :=
+ t empty$
+ { "" }
+ { url empty$
+ { html empty$
+ { t }
+ { "<a href=" quote$ * html * quote$ * ">" * t * "</a>" * }
+ if$ }
+ { "<a href=" quote$ * url * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.mailto} % authors
+{
+ 't :=
+ t empty$
+ { "" }
+ { mailto empty$
+ { t }
+ { "<a href=" quote$ * "mailto:" * mailto * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ "\bibxhtmlname{" t * "}" * 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+ add.mailto
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+ add.link
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+ add.link
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "<cite>" * journal * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "<a href=" * quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "<cite>" * series * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "<cite>" * booktitle * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 =
+ { s #1 "{vv }{ll}" format.name$ }
+ { numnames #2 =
+ { s #1 "{vv }{ll }and " format.name$ s #2 "{vv }{ll}" format.name$ * }
+ { s #1 "{vv }{ll }" format.name$ "et~al." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {month.to.int}
+{
+ "l" change.case$ #3 text.prefix$
+ 's :=
+ s "jan" = { #1 } {
+ s "feb" = { #2 } {
+ s "mar" = { #3 } {
+ s "apr" = { #4 } {
+ s "may" = { #5 } {
+ s "jun" = { #6 } {
+ s "jul" = { #7 } {
+ s "aug" = { #8 } {
+ s "sep" = { #9 } {
+ s "oct" = { #10 } {
+ s "nov" = { #11 } {
+ s "dec" = { #12 } { #13 } % 13 if nothing matches
+ if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$
+}
+
+INTEGERS { done c }
+FUNCTION { get.day }
+{ month field.or.null 's :=
+
+ % Strip out month name
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ " " = 'done :=
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ % Build up first number in t
+ "0" 't :=
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ chr.to.int$ 'c :=
+ c #47 > c #58 < and
+ { t c int.to.chr$ * 't := }
+ { #1 'done := }
+ if$
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ t str.to.int
+}
+
+FUNCTION { sortify.fourdigit }
+{ 's :=
+ s empty$
+ { "0000" }
+ { s
+ str.to.int #9999 swap$ - int.to.str$
+ }
+ if$
+}
+
+FUNCTION { sortify.twodigit }
+{ 's :=
+ s empty$
+ { "00" }
+ { s
+ str.to.int #99 swap$ - int.to.str$
+ }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+
+ year empty$
+ 'skip$
+ { ", " * }
+ if$
+ year field.or.null purify$ * % CHANGED - pfps - 15 Feb 1989
+ 'label :=
+
+ year field.or.null purify$
+ #-1 #4 substring$
+ sortify.fourdigit
+ " " *
+ month field.or.null month.to.int int.to.str$ sortify.twodigit *
+ " " *
+ get.day int.to.str$ sortify.twodigit *
+ " " *
+ swap$
+ * sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al." * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{
+ "# label-style: default" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/utils/bib2xhtml/html-ncra.bst b/biblio/bibtex/utils/bib2xhtml/html-ncra.bst
new file mode 100644
index 0000000000..a57460b74a
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/html-ncra.bst
@@ -0,0 +1,1395 @@
+ % $Id: html-btxbst.doc 1.5 2010/12/08 19:02:34 dds Exp $
+ %
+ % This file is either "html-btxbst.doc" or was derived from
+ % "html-btxbst.doc" using cpp. "html-btxbst.doc" itself was edited
+ % from "btxbst.doc" and "named.bst".
+ % The following copyright information is from btxbst.doc:
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+ % "named" style (sorted keys of the form [name, year])
+ % Some code for this was taken from "named.bst".
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ dvi
+ html
+ keywords
+ pdf
+ postscript
+ url
+ doi
+ mailto
+ abstract
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ author empty$
+ { editor empty$
+ { organization empty$
+ 'skip$
+ { "<!-- Authors: " organization purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " editor purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " author purify$ * " -->" * write$ newline$ }
+ if$
+ keywords empty$
+ 'skip$
+ { "<!-- Keywords: " keywords * " -->" * write$ newline$ }
+ if$
+ "<dt><a name=" quote$ * cite$ * quote$ * ">[" * label * "]</a></dt><dd>" * write$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ postscript empty$
+ 'skip$
+ { newline$ "<!-- PostScript: " postscript * " -->" * write$ }
+ if$
+ pdf empty$
+ 'skip$
+ { newline$ "<!-- PDF: " pdf * " -->" * write$ }
+ if$
+ dvi empty$
+ 'skip$
+ { newline$ "<!-- DVI: " dvi * " -->" * write$ }
+ if$
+ doi empty$
+ 'skip$
+ { newline$ "<!-- DOI: " doi * " -->" * write$ }
+ if$
+ abstract empty$
+ 'skip$
+ { newline$ "<blockquote>" abstract * "</blockquote>" * write$ }
+ if$
+ "</dd>" write$
+ newline$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {str.to.int}
+{
+ 's :=
+ #0
+ { s empty$ not }
+ { % Multiply the number on the top of the stack by 10 = 1010 binary
+ duplicate$ + % x2
+ duplicate$ % x2 x2
+ duplicate$ + duplicate$ + % x2 x8
+ +
+ s #1 #1 substring$ chr.to.int$ #48 - + % #48 is ascii for '0'
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<cite>" swap$ * "</cite>" * }
+ if$
+}
+
+FUNCTION {add.link} % title
+{
+ 't :=
+ t empty$
+ { "" }
+ { url empty$
+ { html empty$
+ { t }
+ { "<a href=" quote$ * html * quote$ * ">" * t * "</a>" * }
+ if$ }
+ { "<a href=" quote$ * url * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.mailto} % authors
+{
+ 't :=
+ t empty$
+ { "" }
+ { mailto empty$
+ { t }
+ { "<a href=" quote$ * "mailto:" * mailto * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ "\bibxhtmlname{" t * "}" * 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+ add.mailto
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+ add.link
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+ add.link
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "<cite>" * journal * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "<a href=" * quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "<cite>" * series * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "<cite>" * booktitle * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 =
+ { s #1 "{vv }{ll}" format.name$ }
+ { numnames #2 =
+ { s #1 "{vv }{ll }and " format.name$ s #2 "{vv }{ll}" format.name$ * }
+ { s #1 "{vv }{ll }" format.name$ "et~al." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {month.to.int}
+{
+ "l" change.case$ #3 text.prefix$
+ 's :=
+ s "jan" = { #1 } {
+ s "feb" = { #2 } {
+ s "mar" = { #3 } {
+ s "apr" = { #4 } {
+ s "may" = { #5 } {
+ s "jun" = { #6 } {
+ s "jul" = { #7 } {
+ s "aug" = { #8 } {
+ s "sep" = { #9 } {
+ s "oct" = { #10 } {
+ s "nov" = { #11 } {
+ s "dec" = { #12 } { #13 } % 13 if nothing matches
+ if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$
+}
+
+INTEGERS { done c }
+FUNCTION { get.day }
+{ month field.or.null 's :=
+
+ % Strip out month name
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ " " = 'done :=
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ % Build up first number in t
+ "0" 't :=
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ chr.to.int$ 'c :=
+ c #47 > c #58 < and
+ { t c int.to.chr$ * 't := }
+ { #1 'done := }
+ if$
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ t str.to.int
+}
+
+FUNCTION { sortify.fourdigit }
+{ 's :=
+ s empty$
+ { "0000" }
+ { s
+ str.to.int #9999 swap$ - int.to.str$
+ }
+ if$
+}
+
+FUNCTION { sortify.twodigit }
+{ 's :=
+ s empty$
+ { "00" }
+ { s
+ str.to.int #99 swap$ - int.to.str$
+ }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+
+ year empty$
+ 'skip$
+ { ", " * }
+ if$
+ year field.or.null purify$ * % CHANGED - pfps - 15 Feb 1989
+ 'label :=
+
+ year field.or.null purify$
+ #-1 #4 substring$
+ sortify.fourdigit
+ " " *
+ month field.or.null month.to.int int.to.str$ sortify.twodigit *
+ " " *
+ get.day int.to.str$ sortify.twodigit *
+ " " *
+ swap$
+ * sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al." * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{
+ "# label-style: default" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/utils/bib2xhtml/html-nr.bst b/biblio/bibtex/utils/bib2xhtml/html-nr.bst
new file mode 100644
index 0000000000..ef8dc6fd04
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/html-nr.bst
@@ -0,0 +1,1389 @@
+ % $Id: html-btxbst.doc 1.5 2010/12/08 19:02:34 dds Exp $
+ %
+ % This file is either "html-btxbst.doc" or was derived from
+ % "html-btxbst.doc" using cpp. "html-btxbst.doc" itself was edited
+ % from "btxbst.doc" and "named.bst".
+ % The following copyright information is from btxbst.doc:
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+ % "named" style (sorted keys of the form [name, year])
+ % Some code for this was taken from "named.bst".
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ dvi
+ html
+ keywords
+ pdf
+ postscript
+ url
+ doi
+ mailto
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ author empty$
+ { editor empty$
+ { organization empty$
+ 'skip$
+ { "<!-- Authors: " organization purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " editor purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " author purify$ * " -->" * write$ newline$ }
+ if$
+ keywords empty$
+ 'skip$
+ { "<!-- Keywords: " keywords * " -->" * write$ newline$ }
+ if$
+ "<dt><a name=" quote$ * cite$ * quote$ * ">[" * label * "]</a></dt><dd>" * write$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ postscript empty$
+ 'skip$
+ { newline$ "<!-- PostScript: " postscript * " -->" * write$ }
+ if$
+ pdf empty$
+ 'skip$
+ { newline$ "<!-- PDF: " pdf * " -->" * write$ }
+ if$
+ dvi empty$
+ 'skip$
+ { newline$ "<!-- DVI: " dvi * " -->" * write$ }
+ if$
+ doi empty$
+ 'skip$
+ { newline$ "<!-- DOI: " doi * " -->" * write$ }
+ if$
+ "</dd>" write$
+ newline$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {str.to.int}
+{
+ 's :=
+ #0
+ { s empty$ not }
+ { % Multiply the number on the top of the stack by 10 = 1010 binary
+ duplicate$ + % x2
+ duplicate$ % x2 x2
+ duplicate$ + duplicate$ + % x2 x8
+ +
+ s #1 #1 substring$ chr.to.int$ #48 - + % #48 is ascii for '0'
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<cite>" swap$ * "</cite>" * }
+ if$
+}
+
+FUNCTION {add.link} % title
+{
+ 't :=
+ t empty$
+ { "" }
+ { url empty$
+ { html empty$
+ { t }
+ { "<a href=" quote$ * html * quote$ * ">" * t * "</a>" * }
+ if$ }
+ { "<a href=" quote$ * url * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.mailto} % authors
+{
+ 't :=
+ t empty$
+ { "" }
+ { mailto empty$
+ { t }
+ { "<a href=" quote$ * "mailto:" * mailto * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ "\bibxhtmlname{" t * "}" * 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+ add.mailto
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+ add.link
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+ add.link
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "<cite>" * journal * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "<a href=" * quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "<cite>" * series * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "<cite>" * booktitle * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 =
+ { s #1 "{vv }{ll}" format.name$ }
+ { numnames #2 =
+ { s #1 "{vv }{ll }and " format.name$ s #2 "{vv }{ll}" format.name$ * }
+ { s #1 "{vv }{ll }" format.name$ "et~al." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {month.to.int}
+{
+ "l" change.case$ #3 text.prefix$
+ 's :=
+ s "jan" = { #1 } {
+ s "feb" = { #2 } {
+ s "mar" = { #3 } {
+ s "apr" = { #4 } {
+ s "may" = { #5 } {
+ s "jun" = { #6 } {
+ s "jul" = { #7 } {
+ s "aug" = { #8 } {
+ s "sep" = { #9 } {
+ s "oct" = { #10 } {
+ s "nov" = { #11 } {
+ s "dec" = { #12 } { #13 } % 13 if nothing matches
+ if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$
+}
+
+INTEGERS { done c }
+FUNCTION { get.day }
+{ month field.or.null 's :=
+
+ % Strip out month name
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ " " = 'done :=
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ % Build up first number in t
+ "0" 't :=
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ chr.to.int$ 'c :=
+ c #47 > c #58 < and
+ { t c int.to.chr$ * 't := }
+ { #1 'done := }
+ if$
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ t str.to.int
+}
+
+FUNCTION { sortify.fourdigit }
+{ 's :=
+ s empty$
+ { "0000" }
+ { s
+ str.to.int #9999 swap$ - int.to.str$
+ }
+ if$
+}
+
+FUNCTION { sortify.twodigit }
+{ 's :=
+ s empty$
+ { "00" }
+ { s
+ str.to.int #99 swap$ - int.to.str$
+ }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+
+ year empty$
+ 'skip$
+ { ", " * }
+ if$
+ year field.or.null purify$ * % CHANGED - pfps - 15 Feb 1989
+ 'label :=
+
+ year field.or.null purify$
+ #-1 #4 substring$
+ sortify.fourdigit
+ " " *
+ month field.or.null month.to.int int.to.str$ sortify.twodigit *
+ " " *
+ get.day int.to.str$ sortify.twodigit *
+ " " *
+ * sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al." * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{
+ "# label-style: default" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/utils/bib2xhtml/html-nra.bst b/biblio/bibtex/utils/bib2xhtml/html-nra.bst
new file mode 100644
index 0000000000..6becf94395
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/html-nra.bst
@@ -0,0 +1,1394 @@
+ % $Id: html-btxbst.doc 1.5 2010/12/08 19:02:34 dds Exp $
+ %
+ % This file is either "html-btxbst.doc" or was derived from
+ % "html-btxbst.doc" using cpp. "html-btxbst.doc" itself was edited
+ % from "btxbst.doc" and "named.bst".
+ % The following copyright information is from btxbst.doc:
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+ % "named" style (sorted keys of the form [name, year])
+ % Some code for this was taken from "named.bst".
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ dvi
+ html
+ keywords
+ pdf
+ postscript
+ url
+ doi
+ mailto
+ abstract
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ author empty$
+ { editor empty$
+ { organization empty$
+ 'skip$
+ { "<!-- Authors: " organization purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " editor purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " author purify$ * " -->" * write$ newline$ }
+ if$
+ keywords empty$
+ 'skip$
+ { "<!-- Keywords: " keywords * " -->" * write$ newline$ }
+ if$
+ "<dt><a name=" quote$ * cite$ * quote$ * ">[" * label * "]</a></dt><dd>" * write$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ postscript empty$
+ 'skip$
+ { newline$ "<!-- PostScript: " postscript * " -->" * write$ }
+ if$
+ pdf empty$
+ 'skip$
+ { newline$ "<!-- PDF: " pdf * " -->" * write$ }
+ if$
+ dvi empty$
+ 'skip$
+ { newline$ "<!-- DVI: " dvi * " -->" * write$ }
+ if$
+ doi empty$
+ 'skip$
+ { newline$ "<!-- DOI: " doi * " -->" * write$ }
+ if$
+ abstract empty$
+ 'skip$
+ { newline$ "<blockquote>" abstract * "</blockquote>" * write$ }
+ if$
+ "</dd>" write$
+ newline$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {str.to.int}
+{
+ 's :=
+ #0
+ { s empty$ not }
+ { % Multiply the number on the top of the stack by 10 = 1010 binary
+ duplicate$ + % x2
+ duplicate$ % x2 x2
+ duplicate$ + duplicate$ + % x2 x8
+ +
+ s #1 #1 substring$ chr.to.int$ #48 - + % #48 is ascii for '0'
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<cite>" swap$ * "</cite>" * }
+ if$
+}
+
+FUNCTION {add.link} % title
+{
+ 't :=
+ t empty$
+ { "" }
+ { url empty$
+ { html empty$
+ { t }
+ { "<a href=" quote$ * html * quote$ * ">" * t * "</a>" * }
+ if$ }
+ { "<a href=" quote$ * url * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.mailto} % authors
+{
+ 't :=
+ t empty$
+ { "" }
+ { mailto empty$
+ { t }
+ { "<a href=" quote$ * "mailto:" * mailto * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ "\bibxhtmlname{" t * "}" * 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+ add.mailto
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+ add.link
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+ add.link
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "<cite>" * journal * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "<a href=" * quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "<cite>" * series * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "<cite>" * booktitle * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 =
+ { s #1 "{vv }{ll}" format.name$ }
+ { numnames #2 =
+ { s #1 "{vv }{ll }and " format.name$ s #2 "{vv }{ll}" format.name$ * }
+ { s #1 "{vv }{ll }" format.name$ "et~al." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {month.to.int}
+{
+ "l" change.case$ #3 text.prefix$
+ 's :=
+ s "jan" = { #1 } {
+ s "feb" = { #2 } {
+ s "mar" = { #3 } {
+ s "apr" = { #4 } {
+ s "may" = { #5 } {
+ s "jun" = { #6 } {
+ s "jul" = { #7 } {
+ s "aug" = { #8 } {
+ s "sep" = { #9 } {
+ s "oct" = { #10 } {
+ s "nov" = { #11 } {
+ s "dec" = { #12 } { #13 } % 13 if nothing matches
+ if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$}if$
+}
+
+INTEGERS { done c }
+FUNCTION { get.day }
+{ month field.or.null 's :=
+
+ % Strip out month name
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ " " = 'done :=
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ % Build up first number in t
+ "0" 't :=
+ #0 'done :=
+ { s "" = not done not and }
+ { s #1 #1 substring$ chr.to.int$ 'c :=
+ c #47 > c #58 < and
+ { t c int.to.chr$ * 't := }
+ { #1 'done := }
+ if$
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+
+ t str.to.int
+}
+
+FUNCTION { sortify.fourdigit }
+{ 's :=
+ s empty$
+ { "0000" }
+ { s
+ str.to.int #9999 swap$ - int.to.str$
+ }
+ if$
+}
+
+FUNCTION { sortify.twodigit }
+{ 's :=
+ s empty$
+ { "00" }
+ { s
+ str.to.int #99 swap$ - int.to.str$
+ }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+
+ year empty$
+ 'skip$
+ { ", " * }
+ if$
+ year field.or.null purify$ * % CHANGED - pfps - 15 Feb 1989
+ 'label :=
+
+ year field.or.null purify$
+ #-1 #4 substring$
+ sortify.fourdigit
+ " " *
+ month field.or.null month.to.int int.to.str$ sortify.twodigit *
+ " " *
+ get.day int.to.str$ sortify.twodigit *
+ " " *
+ * sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al." * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{
+ "# label-style: default" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/utils/bib2xhtml/html-u.bst b/biblio/bibtex/utils/bib2xhtml/html-u.bst
new file mode 100644
index 0000000000..24a62a8a5c
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/html-u.bst
@@ -0,0 +1,1044 @@
+ % $Id: html-btxbst.doc 1.5 2010/12/08 19:02:34 dds Exp $
+ %
+ % This file is either "html-btxbst.doc" or was derived from
+ % "html-btxbst.doc" using cpp. "html-btxbst.doc" itself was edited
+ % from "btxbst.doc" and "named.bst".
+ % The following copyright information is from btxbst.doc:
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ dvi
+ html
+ keywords
+ pdf
+ postscript
+ url
+ doi
+ mailto
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ author empty$
+ { editor empty$
+ { organization empty$
+ 'skip$
+ { "<!-- Authors: " organization purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " editor purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " author purify$ * " -->" * write$ newline$ }
+ if$
+ keywords empty$
+ 'skip$
+ { "<!-- Keywords: " keywords * " -->" * write$ newline$ }
+ if$
+ "<dt><a name=" quote$ * cite$ * quote$ * ">[" * label * "]</a></dt><dd>" * write$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ postscript empty$
+ 'skip$
+ { newline$ "<!-- PostScript: " postscript * " -->" * write$ }
+ if$
+ pdf empty$
+ 'skip$
+ { newline$ "<!-- PDF: " pdf * " -->" * write$ }
+ if$
+ dvi empty$
+ 'skip$
+ { newline$ "<!-- DVI: " dvi * " -->" * write$ }
+ if$
+ doi empty$
+ 'skip$
+ { newline$ "<!-- DOI: " doi * " -->" * write$ }
+ if$
+ "</dd>" write$
+ newline$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {str.to.int}
+{
+ 's :=
+ #0
+ { s empty$ not }
+ { % Multiply the number on the top of the stack by 10 = 1010 binary
+ duplicate$ + % x2
+ duplicate$ % x2 x2
+ duplicate$ + duplicate$ + % x2 x8
+ +
+ s #1 #1 substring$ chr.to.int$ #48 - + % #48 is ascii for '0'
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<cite>" swap$ * "</cite>" * }
+ if$
+}
+
+FUNCTION {add.link} % title
+{
+ 't :=
+ t empty$
+ { "" }
+ { url empty$
+ { html empty$
+ { t }
+ { "<a href=" quote$ * html * quote$ * ">" * t * "</a>" * }
+ if$ }
+ { "<a href=" quote$ * url * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.mailto} % authors
+{
+ 't :=
+ t empty$
+ { "" }
+ { mailto empty$
+ { t }
+ { "<a href=" quote$ * "mailto:" * mailto * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ "\bibxhtmlname{" t * "}" * 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+ add.mailto
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+ add.link
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+ add.link
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "<cite>" * journal * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "<a href=" * quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "<cite>" * series * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "<cite>" * booktitle * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{
+ "# label-style: numbered" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/utils/bib2xhtml/html-ua.bst b/biblio/bibtex/utils/bib2xhtml/html-ua.bst
new file mode 100644
index 0000000000..d1553f696e
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/html-ua.bst
@@ -0,0 +1,1049 @@
+ % $Id: html-btxbst.doc 1.5 2010/12/08 19:02:34 dds Exp $
+ %
+ % This file is either "html-btxbst.doc" or was derived from
+ % "html-btxbst.doc" using cpp. "html-btxbst.doc" itself was edited
+ % from "btxbst.doc" and "named.bst".
+ % The following copyright information is from btxbst.doc:
+ % version 0.99b for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ dvi
+ html
+ keywords
+ pdf
+ postscript
+ url
+ doi
+ mailto
+ abstract
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ author empty$
+ { editor empty$
+ { organization empty$
+ 'skip$
+ { "<!-- Authors: " organization purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " editor purify$ * " -->" * write$ newline$ }
+ if$
+ }
+ { "<!-- Authors: " author purify$ * " -->" * write$ newline$ }
+ if$
+ keywords empty$
+ 'skip$
+ { "<!-- Keywords: " keywords * " -->" * write$ newline$ }
+ if$
+ "<dt><a name=" quote$ * cite$ * quote$ * ">[" * label * "]</a></dt><dd>" * write$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ postscript empty$
+ 'skip$
+ { newline$ "<!-- PostScript: " postscript * " -->" * write$ }
+ if$
+ pdf empty$
+ 'skip$
+ { newline$ "<!-- PDF: " pdf * " -->" * write$ }
+ if$
+ dvi empty$
+ 'skip$
+ { newline$ "<!-- DVI: " dvi * " -->" * write$ }
+ if$
+ doi empty$
+ 'skip$
+ { newline$ "<!-- DOI: " doi * " -->" * write$ }
+ if$
+ abstract empty$
+ 'skip$
+ { newline$ "<blockquote>" abstract * "</blockquote>" * write$ }
+ if$
+ "</dd>" write$
+ newline$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {str.to.int}
+{
+ 's :=
+ #0
+ { s empty$ not }
+ { % Multiply the number on the top of the stack by 10 = 1010 binary
+ duplicate$ + % x2
+ duplicate$ % x2 x2
+ duplicate$ + duplicate$ + % x2 x8
+ +
+ s #1 #1 substring$ chr.to.int$ #48 - + % #48 is ascii for '0'
+ s #2 global.max$ substring$ 's :=
+ }
+ while$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<cite>" swap$ * "</cite>" * }
+ if$
+}
+
+FUNCTION {add.link} % title
+{
+ 't :=
+ t empty$
+ { "" }
+ { url empty$
+ { html empty$
+ { t }
+ { "<a href=" quote$ * html * quote$ * ">" * t * "</a>" * }
+ if$ }
+ { "<a href=" quote$ * url * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.mailto} % authors
+{
+ 't :=
+ t empty$
+ { "" }
+ { mailto empty$
+ { t }
+ { "<a href=" quote$ * "mailto:" * mailto * quote$ * ">" * t * "</a>" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ "\bibxhtmlname{" t * "}" * 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+ add.mailto
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+ add.link
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+ add.link
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "<cite>" * journal * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ "<a href=" * quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "<cite>" * series * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{
+ "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "<cite>" * booktitle * "</cite>" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ "</a> \citelabel{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{
+ "# label-style: numbered" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/utils/bib2xhtml/index.html b/biblio/bibtex/utils/bib2xhtml/index.html
new file mode 100644
index 0000000000..3eb82f131b
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/index.html
@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<!-- No not edit this page in the web directory. -->
+<head>
+<title>bib2xhtml - Convert BibTeX Files into HTML</title>
+<meta name="AUTHOR" content="Diomidis Spinellis" />
+<script src="showeg.js" type="text/javascript"></script>
+</head>
+<body>
+<h1 align="right"><tt><font color="#ff0000">bib2xhtml dds</font></tt></h1>
+<h2>bib2xhtml - Convert BibTeX Files into HTML</h2>
+ <!-- Introduction {{{1 -->
+ <em>bib2xhtml</em> is a program that converts BibTeX files into
+HTML (specifically <a href="http://www.w3.org/TR/xhtml1/">XHTML 1.0</a>).
+The conversion is mostly done by specialized BibTeX style files,
+derived from a converted bibliography style template.
+This ensures that the original BibTeX styles are faithfully
+reproduced.
+Some postprocessing is performed by Perl code.
+<p />
+This is a fork of the
+<em>bib2html</em> program written by David Hull in 1996 and
+maintained by him until 1998.
+I have been a happy user of the program since 1995, using the program
+to keep my
+<a href="../../../pubs/index.html">publication list</a> up to date,
+and, to generate the
+<a href="../../../codereading/bib.html">on-line bibliography list</a>
+for my books
+<a href="../../../codequality">Code Quality: The Open Source Perspective</a>
+(Addison-Wesley 2006) and
+<a href="../../../codereading">Code Reading: The Open Source Perspective</a>
+(Addison-Wesley 2003).
+After 1998 no other changes were made to the program, and I failed
+to locate an active program home page.
+Since there were a number of changes I needed to bring the program
+up to date with evolving web standards,
+I decided to adopt <em>bib2html</em> for
+maintenance, evolution, and further distribution.
+The first new public release made in 2004, featured support for
+<a href="http://www.w3.org/TR/xhtml1/">XHTML 1.0</a>.
+A number of subsequent releases fixed a number of problems, and
+added many significant features,
+such as new presentation formats, more flexible output, and Unicode support.
+Given that two projects on <a href="http://freshmeat.net">freshmeat.net</a>
+claim the name <em>bib2html</em>,
+on March 2004, I decided to rename the project
+into <em>bib2xhtml</em>, to emphasize the result's
+<a href="http://www.w3.org/TR/xhtml1/">XHTML</a> conformance.
+
+ <!-- Downloads and Documentation {{{1 -->
+<h3>Downloads and Documentation </h3>
+The current <em>bib2xhtml</em> version is 2.35.
+The following pages do not contain navigation links.
+Following a link will open a new browser window.
+<ul>
+<li><a href="bib2xhtml-2.35.tar.gz">Source and documentation package (gzip tar format)</a></li>
+<li><a href="bib2xhtml-2.35.zip">Source and documentation package (zip format)</a></li>
+<li><a href="bib2xhtml.html" target="NEW">Formatted manual page (HTML)</a></li>
+<li><a href="bib2xhtml.pdf" target="NEW">Formatted manual page (PDF)</a></li>
+<li><a href="ChangeLog.txt" target="NEW">Change log</a></li>
+<li> <a href="http://freshmeat.net/projects/bib2xhtml/">freshmeat.net page</a> (use it to subscribe and post comments)</li>
+</ul>
+
+ <!-- Examples {{{1 -->
+<h3>Examples</h3>
+Choose from the following options to see some examples that were generated
+by running <em>bib2xhtml</em> on this
+<a href="example.bib">bibliography input file</a>.
+
+<form name="myform" action="" method="get">
+<h4>Style</h4>
+<input type="radio" name="style" value="alpha" />alpha<br />
+<input type="radio" name="style" value="empty" />empty<br />
+<input type="radio" name="style" value="named" />named<br />
+<input type="radio" name="style" value="plain" />plain<br />
+<input type="radio" name="style" value="paragraph" />paragraph<br />
+<input type="radio" name="style" value="unsort" />unsort<br />
+<input type="radio" name="style" value="unsortlist" />unsortlist<br />
+<h4>Other options</h4>
+<input type="checkbox" name="chrono" value="-c" />-c (chronological sort) <br />
+<input type="checkbox" name="reverse" value="-r" />-r (reverse sort order) <br />
+<input type="checkbox" name="append" value="-k" />-k (append to the label of each entry its BibTeX key) <br />
+<input type="checkbox" name="unicode" value="-u" />-u (Unicode UTF-8 text) <br />
+<input type="checkbox" name="name" value="-n" />-n Spinellis (emphasize an author's name) <br />
+<p />
+
+<input type="button" name="button" value="See the result" onclick="showBib(this.form)" />
+(If your browser doesn't support JavaScipt, choose an example from
+<a href="static.html">this list</a>.)
+</form>
+
+
+<!-- End matter {{{1 -->
+<p />
+<a href="../../../">Diomidis Spinellis home page</a>
+
+<hr />
+<table>
+<tr><td>
+<a href="http://validator.w3.org/check/referer"><img src="../../../valid-xhtml10.png" border="0" alt="Valid XHTML 1.0!" height="31" width="88" /></a>
+<a href="http://www.w3.org/WAI/WCAG1AAA-Conformance" title="Explanation of Level Triple-A Conformance"><img border="0" height="32" width="88" src="../../../wcag1AAA.gif" alt="Level Triple-A conformance icon, W3C-WAI Web Content Accessibility Guidelines 1.0" /></a>
+</td><td>
+<font size="-2">
+(C) Copyright 2002-2010 D. Spinellis.
+May be freely uploaded by WWW viewers and similar programs.
+All other rights reserved.
+<br />
+Last modified: $Date: 2010/12/09 07:12:10 $
+</font>
+</td></tr>
+</table>
+</body>
+</html>
diff --git a/biblio/bibtex/utils/bib2xhtml/showeg.js b/biblio/bibtex/utils/bib2xhtml/showeg.js
new file mode 100644
index 0000000000..77e2e0300f
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/showeg.js
@@ -0,0 +1,32 @@
+/*
+ * Show the example file specified.
+ *
+ * $Id: showeg.js,v 1.1 2010/12/08 18:47:48 dds Exp $
+ */
+
+function showBib(form) {
+ for(i = 0; i < form.style.length; i++)
+ if( form.style[i].checked)
+ style = form.style[i].value;
+ if ((style == 'empty' ||
+ style == 'paragraph' ||
+ style == 'unsortlist') &&
+ form.append.checked) {
+ alert ('The specified style does not support the display of BibTeX keys');
+ return;
+ }
+ if ((style == 'unsort' || style == 'unsortlist') &&
+ (form.chrono.checked || form.reverse.checked)) {
+ alert ('Unsorted styles do not support a sort specification');
+ return;
+ }
+ open('eg/' +
+ style +
+ (form.name.checked ? form.name.value : '') +
+ (form.unicode.checked ? form.unicode.value : '') +
+ (form.chrono.checked ? form.chrono.value : '') +
+ (form.reverse.checked ? form.reverse.value : '') +
+ (form.append.checked ? form.append.value : '') +
+ '.html'
+ );
+}
diff --git a/biblio/bibtex/utils/bib2xhtml/static.html b/biblio/bibtex/utils/bib2xhtml/static.html
new file mode 100644
index 0000000000..642bc8e703
--- /dev/null
+++ b/biblio/bibtex/utils/bib2xhtml/static.html
@@ -0,0 +1,151 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<!-- No not edit this page in the web directory. -->
+<head>
+<title>bib2xhtml - Convert BibTeX Files into HTML</title>
+<meta name="AUTHOR" content="Diomidis Spinellis" />
+</head><body><ul>
+<li><a href="eg/alpha-c-k.html">bib2xhtml -s alpha -c -k</a></li>
+<li><a href="eg/alpha-c-r-k.html">bib2xhtml -s alpha -c -r -k</a></li>
+<li><a href="eg/alpha-c-r.html">bib2xhtml -s alpha -c -r </a></li>
+<li><a href="eg/alpha-c.html">bib2xhtml -s alpha -c </a></li>
+<li><a href="eg/alpha-k.html">bib2xhtml -s alpha -k</a></li>
+<li><a href="eg/alpha-n-c-k.html">bib2xhtml -s alpha -n Spinellis -c -k</a></li>
+<li><a href="eg/alpha-n-c-r-k.html">bib2xhtml -s alpha -n Spinellis -c -r -k</a></li>
+<li><a href="eg/alpha-n-c-r.html">bib2xhtml -s alpha -n Spinellis -c -r </a></li>
+<li><a href="eg/alpha-n-c.html">bib2xhtml -s alpha -n Spinellis -c </a></li>
+<li><a href="eg/alpha-n-k.html">bib2xhtml -s alpha -n Spinellis -k</a></li>
+<li><a href="eg/alpha-n-r-k.html">bib2xhtml -s alpha -n Spinellis -r -k</a></li>
+<li><a href="eg/alpha-n-r.html">bib2xhtml -s alpha -n Spinellis -r </a></li>
+<li><a href="eg/alpha-n-u-c-k.html">bib2xhtml -s alpha -n Spinellis -u -c -k</a></li>
+<li><a href="eg/alpha-n-u-c-r-k.html">bib2xhtml -s alpha -n Spinellis -u -c -r -k</a></li>
+<li><a href="eg/alpha-n-u-c-r.html">bib2xhtml -s alpha -n Spinellis -u -c -r </a></li>
+<li><a href="eg/alpha-n-u-c.html">bib2xhtml -s alpha -n Spinellis -u -c </a></li>
+<li><a href="eg/alpha-n-u-k.html">bib2xhtml -s alpha -n Spinellis -u -k</a></li>
+<li><a href="eg/alpha-n-u-r-k.html">bib2xhtml -s alpha -n Spinellis -u -r -k</a></li>
+<li><a href="eg/alpha-n-u-r.html">bib2xhtml -s alpha -n Spinellis -u -r </a></li>
+<li><a href="eg/alpha-n-u.html">bib2xhtml -s alpha -n Spinellis -u </a></li>
+<li><a href="eg/alpha-n.html">bib2xhtml -s alpha -n Spinellis </a></li>
+<li><a href="eg/alpha-r-k.html">bib2xhtml -s alpha -r -k</a></li>
+<li><a href="eg/alpha-r.html">bib2xhtml -s alpha -r </a></li>
+<li><a href="eg/alpha-u-c-k.html">bib2xhtml -s alpha -u -c -k</a></li>
+<li><a href="eg/alpha-u-c-r-k.html">bib2xhtml -s alpha -u -c -r -k</a></li>
+<li><a href="eg/alpha-u-c-r.html">bib2xhtml -s alpha -u -c -r </a></li>
+<li><a href="eg/alpha-u-c.html">bib2xhtml -s alpha -u -c </a></li>
+<li><a href="eg/alpha-u-k.html">bib2xhtml -s alpha -u -k</a></li>
+<li><a href="eg/alpha-u-r-k.html">bib2xhtml -s alpha -u -r -k</a></li>
+<li><a href="eg/alpha-u-r.html">bib2xhtml -s alpha -u -r </a></li>
+<li><a href="eg/alpha-u.html">bib2xhtml -s alpha -u </a></li>
+<li><a href="eg/alpha.html">bib2xhtml -s alpha </a></li>
+<li><a href="eg/empty-c-r.html">bib2xhtml -s empty -c -r </a></li>
+<li><a href="eg/empty-c.html">bib2xhtml -s empty -c </a></li>
+<li><a href="eg/empty-n-c-r.html">bib2xhtml -s empty -n Spinellis -c -r </a></li>
+<li><a href="eg/empty-n-c.html">bib2xhtml -s empty -n Spinellis -c </a></li>
+<li><a href="eg/empty-n-r.html">bib2xhtml -s empty -n Spinellis -r </a></li>
+<li><a href="eg/empty-n-u-c-r.html">bib2xhtml -s empty -n Spinellis -u -c -r </a></li>
+<li><a href="eg/empty-n-u-c.html">bib2xhtml -s empty -n Spinellis -u -c </a></li>
+<li><a href="eg/empty-n-u-r.html">bib2xhtml -s empty -n Spinellis -u -r </a></li>
+<li><a href="eg/empty-n-u.html">bib2xhtml -s empty -n Spinellis -u </a></li>
+<li><a href="eg/empty-n.html">bib2xhtml -s empty -n Spinellis </a></li>
+<li><a href="eg/empty-r.html">bib2xhtml -s empty -r </a></li>
+<li><a href="eg/empty-u-c-r.html">bib2xhtml -s empty -u -c -r </a></li>
+<li><a href="eg/empty-u-c.html">bib2xhtml -s empty -u -c </a></li>
+<li><a href="eg/empty-u-r.html">bib2xhtml -s empty -u -r </a></li>
+<li><a href="eg/empty-u.html">bib2xhtml -s empty -u </a></li>
+<li><a href="eg/empty.html">bib2xhtml -s empty </a></li>
+<li><a href="eg/named-c-k.html">bib2xhtml -s named -c -k</a></li>
+<li><a href="eg/named-c-r-k.html">bib2xhtml -s named -c -r -k</a></li>
+<li><a href="eg/named-c-r.html">bib2xhtml -s named -c -r </a></li>
+<li><a href="eg/named-c.html">bib2xhtml -s named -c </a></li>
+<li><a href="eg/named-k.html">bib2xhtml -s named -k</a></li>
+<li><a href="eg/named-n-c-k.html">bib2xhtml -s named -n Spinellis -c -k</a></li>
+<li><a href="eg/named-n-c-r-k.html">bib2xhtml -s named -n Spinellis -c -r -k</a></li>
+<li><a href="eg/named-n-c-r.html">bib2xhtml -s named -n Spinellis -c -r </a></li>
+<li><a href="eg/named-n-c.html">bib2xhtml -s named -n Spinellis -c </a></li>
+<li><a href="eg/named-n-k.html">bib2xhtml -s named -n Spinellis -k</a></li>
+<li><a href="eg/named-n-r-k.html">bib2xhtml -s named -n Spinellis -r -k</a></li>
+<li><a href="eg/named-n-r.html">bib2xhtml -s named -n Spinellis -r </a></li>
+<li><a href="eg/named-n-u-c-k.html">bib2xhtml -s named -n Spinellis -u -c -k</a></li>
+<li><a href="eg/named-n-u-c-r-k.html">bib2xhtml -s named -n Spinellis -u -c -r -k</a></li>
+<li><a href="eg/named-n-u-c-r.html">bib2xhtml -s named -n Spinellis -u -c -r </a></li>
+<li><a href="eg/named-n-u-c.html">bib2xhtml -s named -n Spinellis -u -c </a></li>
+<li><a href="eg/named-n-u-k.html">bib2xhtml -s named -n Spinellis -u -k</a></li>
+<li><a href="eg/named-n-u-r-k.html">bib2xhtml -s named -n Spinellis -u -r -k</a></li>
+<li><a href="eg/named-n-u-r.html">bib2xhtml -s named -n Spinellis -u -r </a></li>
+<li><a href="eg/named-n-u.html">bib2xhtml -s named -n Spinellis -u </a></li>
+<li><a href="eg/named-n.html">bib2xhtml -s named -n Spinellis </a></li>
+<li><a href="eg/named-r-k.html">bib2xhtml -s named -r -k</a></li>
+<li><a href="eg/named-r.html">bib2xhtml -s named -r </a></li>
+<li><a href="eg/named-u-c-k.html">bib2xhtml -s named -u -c -k</a></li>
+<li><a href="eg/named-u-c-r-k.html">bib2xhtml -s named -u -c -r -k</a></li>
+<li><a href="eg/named-u-c-r.html">bib2xhtml -s named -u -c -r </a></li>
+<li><a href="eg/named-u-c.html">bib2xhtml -s named -u -c </a></li>
+<li><a href="eg/named-u-k.html">bib2xhtml -s named -u -k</a></li>
+<li><a href="eg/named-u-r-k.html">bib2xhtml -s named -u -r -k</a></li>
+<li><a href="eg/named-u-r.html">bib2xhtml -s named -u -r </a></li>
+<li><a href="eg/named-u.html">bib2xhtml -s named -u </a></li>
+<li><a href="eg/named.html">bib2xhtml -s named </a></li>
+<li><a href="eg/paragraph-c-r.html">bib2xhtml -s paragraph -c -r </a></li>
+<li><a href="eg/paragraph-c.html">bib2xhtml -s paragraph -c </a></li>
+<li><a href="eg/paragraph-n-c-r.html">bib2xhtml -s paragraph -n Spinellis -c -r </a></li>
+<li><a href="eg/paragraph-n-c.html">bib2xhtml -s paragraph -n Spinellis -c </a></li>
+<li><a href="eg/paragraph-n-r.html">bib2xhtml -s paragraph -n Spinellis -r </a></li>
+<li><a href="eg/paragraph-n-u-c-r.html">bib2xhtml -s paragraph -n Spinellis -u -c -r </a></li>
+<li><a href="eg/paragraph-n-u-c.html">bib2xhtml -s paragraph -n Spinellis -u -c </a></li>
+<li><a href="eg/paragraph-n-u-r.html">bib2xhtml -s paragraph -n Spinellis -u -r </a></li>
+<li><a href="eg/paragraph-n-u.html">bib2xhtml -s paragraph -n Spinellis -u </a></li>
+<li><a href="eg/paragraph-n.html">bib2xhtml -s paragraph -n Spinellis </a></li>
+<li><a href="eg/paragraph-r.html">bib2xhtml -s paragraph -r </a></li>
+<li><a href="eg/paragraph-u-c-r.html">bib2xhtml -s paragraph -u -c -r </a></li>
+<li><a href="eg/paragraph-u-c.html">bib2xhtml -s paragraph -u -c </a></li>
+<li><a href="eg/paragraph-u-r.html">bib2xhtml -s paragraph -u -r </a></li>
+<li><a href="eg/paragraph-u.html">bib2xhtml -s paragraph -u </a></li>
+<li><a href="eg/paragraph.html">bib2xhtml -s paragraph </a></li>
+<li><a href="eg/plain-c-k.html">bib2xhtml -s plain -c -k</a></li>
+<li><a href="eg/plain-c-r-k.html">bib2xhtml -s plain -c -r -k</a></li>
+<li><a href="eg/plain-c-r.html">bib2xhtml -s plain -c -r </a></li>
+<li><a href="eg/plain-c.html">bib2xhtml -s plain -c </a></li>
+<li><a href="eg/plain-k.html">bib2xhtml -s plain -k</a></li>
+<li><a href="eg/plain-n-c-k.html">bib2xhtml -s plain -n Spinellis -c -k</a></li>
+<li><a href="eg/plain-n-c-r-k.html">bib2xhtml -s plain -n Spinellis -c -r -k</a></li>
+<li><a href="eg/plain-n-c-r.html">bib2xhtml -s plain -n Spinellis -c -r </a></li>
+<li><a href="eg/plain-n-c.html">bib2xhtml -s plain -n Spinellis -c </a></li>
+<li><a href="eg/plain-n-k.html">bib2xhtml -s plain -n Spinellis -k</a></li>
+<li><a href="eg/plain-n-r-k.html">bib2xhtml -s plain -n Spinellis -r -k</a></li>
+<li><a href="eg/plain-n-r.html">bib2xhtml -s plain -n Spinellis -r </a></li>
+<li><a href="eg/plain-n-u-c-k.html">bib2xhtml -s plain -n Spinellis -u -c -k</a></li>
+<li><a href="eg/plain-n-u-c-r-k.html">bib2xhtml -s plain -n Spinellis -u -c -r -k</a></li>
+<li><a href="eg/plain-n-u-c-r.html">bib2xhtml -s plain -n Spinellis -u -c -r </a></li>
+<li><a href="eg/plain-n-u-c.html">bib2xhtml -s plain -n Spinellis -u -c </a></li>
+<li><a href="eg/plain-n-u-k.html">bib2xhtml -s plain -n Spinellis -u -k</a></li>
+<li><a href="eg/plain-n-u-r-k.html">bib2xhtml -s plain -n Spinellis -u -r -k</a></li>
+<li><a href="eg/plain-n-u-r.html">bib2xhtml -s plain -n Spinellis -u -r </a></li>
+<li><a href="eg/plain-n-u.html">bib2xhtml -s plain -n Spinellis -u </a></li>
+<li><a href="eg/plain-n.html">bib2xhtml -s plain -n Spinellis </a></li>
+<li><a href="eg/plain-r-k.html">bib2xhtml -s plain -r -k</a></li>
+<li><a href="eg/plain-r.html">bib2xhtml -s plain -r </a></li>
+<li><a href="eg/plain-u-c-k.html">bib2xhtml -s plain -u -c -k</a></li>
+<li><a href="eg/plain-u-c-r-k.html">bib2xhtml -s plain -u -c -r -k</a></li>
+<li><a href="eg/plain-u-c-r.html">bib2xhtml -s plain -u -c -r </a></li>
+<li><a href="eg/plain-u-c.html">bib2xhtml -s plain -u -c </a></li>
+<li><a href="eg/plain-u-k.html">bib2xhtml -s plain -u -k</a></li>
+<li><a href="eg/plain-u-r-k.html">bib2xhtml -s plain -u -r -k</a></li>
+<li><a href="eg/plain-u-r.html">bib2xhtml -s plain -u -r </a></li>
+<li><a href="eg/plain-u.html">bib2xhtml -s plain -u </a></li>
+<li><a href="eg/plain.html">bib2xhtml -s plain </a></li>
+<li><a href="eg/unsort-k.html">bib2xhtml -s unsort -k</a></li>
+<li><a href="eg/unsort-n-k.html">bib2xhtml -s unsort -n Spinellis -k</a></li>
+<li><a href="eg/unsort-n-u-k.html">bib2xhtml -s unsort -n Spinellis -u -k</a></li>
+<li><a href="eg/unsort-n-u.html">bib2xhtml -s unsort -n Spinellis -u </a></li>
+<li><a href="eg/unsort-n.html">bib2xhtml -s unsort -n Spinellis </a></li>
+<li><a href="eg/unsort-u-k.html">bib2xhtml -s unsort -u -k</a></li>
+<li><a href="eg/unsort-u.html">bib2xhtml -s unsort -u </a></li>
+<li><a href="eg/unsort.html">bib2xhtml -s unsort </a></li>
+<li><a href="eg/unsortlist-n-u.html">bib2xhtml -s unsortlist -n Spinellis -u </a></li>
+<li><a href="eg/unsortlist-n.html">bib2xhtml -s unsortlist -n Spinellis </a></li>
+<li><a href="eg/unsortlist-u.html">bib2xhtml -s unsortlist -u </a></li>
+<li><a href="eg/unsortlist.html">bib2xhtml -s unsortlist </a></li>
+</ul></body></html>
diff --git a/biblio/bibtex/utils/bibclean/README b/biblio/bibtex/utils/bibclean/README
new file mode 100644
index 0000000000..693b15b411
--- /dev/null
+++ b/biblio/bibtex/utils/bibclean/README
@@ -0,0 +1,778 @@
+%% /u/sy/beebe/tex/bibclean/2-11/README, Mon Oct 2 10:01:31 1995
+%% Edit by Nelson H. F. Beebe <beebe@sunrise>
+
+========================================================================
+
+==========
+Jump start
+==========
+
+As with most GNUware, you can build, test, and install this program on
+most UNIX systems by these simple steps
+
+csh et amici:
+ setenv CC ...your favorite C or C++ compiler...
+ ./configure && make all check install
+
+sh et amici:
+ CC=...your favorite C or C++ compiler...
+ export CC
+ ./configure && make all check install
+
+If you don't set the CC environment variable, then gcc (or cc, if gcc
+is not available) will be assumed.
+
+If you wish to undo a "make install", just do "make uninstall"; this
+will remove any files in system directories put there by "make
+install".
+
+See below for further details, and for instructions for non-UNIX systems.
+
+
+============
+Introduction
+============
+
+This directory contains bibclean, a BibTeX prettyprinter, portability
+verifier, and syntax checker. It can be used to find errors in .bib
+files, as well as to standardize their format for readability and
+editing convenience. It can also be used to convert Scribe-format
+bibliographies to BibTeX form.
+
+Binary executables for IBM PC DOS, DEC Alpha OpenVMS, DEC VAX VMS, and
+Intel x86 Linux may be included in the distribution.
+
+If you do not require either the IBM PC DOS or LINUX, or the DEC VMS
+(Alpha and VAX) versions, then you can save about 2.5MB of disk space
+by deleting the ibmpc and vms subdirectories.
+
+The default pattern matching in bibclean.c is selected by
+HAVE_PATTERNS; with it, no regular-expression library support is
+needed. Should you wish to compile with regular-expression support
+instead of the HAVE_PATTERNS code, and your system does not have
+compile()/step (HAVE_REGEXP), or re_comp()/re_exec() (HAVE_RECOMP),
+you may be able to use the regex-?-??.tar.Z distribution from the Free
+Software Foundation, available on prep.ai.mit.edu in /pub/gnu.
+
+In most cases, the HAVE_PATTERNS code is recommended, since it will
+give identical results across all machines. I was prompted to write
+it after discovering that there was considerable variety in the
+regular expression library codes that resulted in different matching
+on different machines, a most unsatisfactory situation.
+
+Please report all problems, suggestions, and comments to the author:
+
+ Nelson H. F. Beebe
+ Center for Scientific Computing
+ Department of Mathematics
+ University of Utah
+ Salt Lake City, UT 84112
+ USA
+ Tel: +1 801 581 5254
+ FAX: +1 801 581 4148
+ Email: <beebe@math.utah.edu>
+ WWW URL: http://www.math.utah.edu/~beebe/
+
+
+============
+Installation
+============
+
+Starting with version 2.10.1, bibclean has been adapted to use the GNU
+autoconf automatic configuration system for UNIX installations.
+
+GNU autoconf is run at the author's site to produce the configure
+script from configure.in.
+
+The configure script is run at each installer's UNIX site to produce
+Makefile from Makefile.in, and config.h from config.hin. The
+configure script is a large (1800+ lines) Bourne shell program that
+investigates various aspects of the local C implementation, and
+records its conclusions in config.h. Interestingly, its probes
+uncovered a bug in one compiler: lcc 3.4b on Sun Solaris 2.x has an
+incorrect definition of toupper() in its ctype.h!
+
+autoconf, at least at the current 2.4 version, is not as C++-aware as
+it should be. The Makefile must carry out minor edits of the
+configure script to get it to even work with C++ compilers. The small
+test programs run by configure to determine the existence of assorted
+Standard C library functions all lead to incorrect conclusions for
+config.h, because they intentionally contain function prototypes with
+different argument types. Since C++ functions are compiled into
+external names that encode the function and argument types, along with
+the function name, these prototypes produce references to non-existent
+functions, causing program linking to fail. Fortunately, I've been
+able to fix this problem too with additional automatic edits, all
+carried out by "make configure".
+
+Should you do a "make maintainer-clean" [NOT recommended, except at the
+author's site], the configure script will be deleted, and you will
+need recent versions of both GNU m4 and autoconf correctly installed
+to reconstruct things, which can be done this way:
+
+ autoconf # Regenerate unedited configure
+ ./configure # Regenerate config.h and Makefile
+ rm configure # delete configure
+ make configure # Regenerate edited configure
+
+For convenience and safety, the distribution includes a subdirectory
+named save that contains read-only copies of the files Makefile,
+config.h, and configure created by autoconf and "make configure".
+This will allow recovery from a lost or damaged configure file.
+
+Suitable hand-crafted config.h files are provided for non-UNIX
+systems, and in the unlikely event of a failure of the configure
+script on a UNIX system, config.h can be manually produced from a copy
+of config.hin with a few minutes' editing work. If you do this,
+remember to save a copy of your config.h under a different name,
+because running configure will destroy it. If you have GNU autoconf
+installed (the installation is very simple and source code is
+available from prep.ai.mit.edu:/pub/gnu/autoconf-x.y.tar.gz), you
+might try augmenting config.hin instead, then run autoconf and
+configure.
+
+Thus, on UNIX, installation normally consists of just two steps
+(assuming a csh-compatible shell):
+
+ setenv CC ...your favorite C or C++ compiler...
+ ./configure && make all check install
+
+If you like, add OPT='your favorite optimization flags' to the make
+command; by default, only -g (debug) is assumed. If your compiler
+won't accept -g with other optimization levels, then set CFLAGS
+instead of OPT on the command line; be sure NOT to override any
+non-optimizing flags in the CFLAGS set in the Makefile.
+
+The GNU standard installation directories /usr/local/bin for binaries,
+and /usr/local/man/man1 for manual pages are assumed. The prefix
+/usr/local can be overridden by providing an alternate definition on
+the command line:
+
+ make prefix=/some/other/path install
+
+After installation, you can do
+ make distclean
+to restore the directories to their distribution state. You should
+also do this between builds for different architectures from the same
+source tree; neglecting to do to will almost certainly lead to
+failure, because the config.cache file created by configure will lead
+to an incorrect config.h for the next build.
+
+
+============
+UNIX Systems
+============
+
+The code can be compiled with either C (K&R or ISO/ANSI Standard C) or
+C++ compilers. With some C++ compilers, it may be necessary to supply
+additional switches for force the compiler to stay in C++ mode, rather
+than reverting to C mode (e.g. on DEC Alpha OSF/1, you must do
+setenv CC "cxx -x cxx").
+
+On UNIX systems, the only changes that you are likely to need in the
+Makefile are the settings of CC and CFLAGS, and possibly, DEFINES, and
+if you wish to do "make install", the settings of bindir, MANDIR, and
+MANEXT.
+
+If you are installing bibclean on a new system, you should definitely
+run "make check" before installing it on your system. For the target
+test-bibtex-2, latex is needed. For test-bibtex-2 and test-scribe-1,
+bibtex is needed. Sample output of "make check" from a UNIX system
+is given below.
+
+The code has been tested under more than 55 different C and C++
+compilers, and is in regular use to maintain the TeX User Group
+bibliography collection stored on ftp.math.utah.edu:/pub/tex/bib, as
+well as several other local bibliographies. These files total more
+than 1.08M lines and 62K bibliography entries. Some of these
+bibliographies are mirrored to the Comprehensive TeX Archive Network
+(CTAN) hosts. Do "finger ctan@pip.shsu.edu" to find a CTAN site on
+the Internet near you.
+
+bibclean is also used for the BibNet Project, which collects
+bibliographies in numerical analysis. The master collection is
+available on ftp.math.utah.edu:/pub/bibnet, and is mirrored from there
+to netlib servers at AT&T and Oak Ridge National Laboratory.
+
+If you port bibclean to a new system, please select maximal error and
+warning messages in your compiler, to better uncover problems. If you
+find massive numbers of errors complaining about function and argument
+type mismatches, it is likely that this can be remedied by suitable
+modifications of config.h. As C implementations move towards
+conformance with the December 1989 ISO/ANSI C Language Standard, the C
+language is a moving target that must be tracked by config.h, which is
+why that file is normally automatically generated on UNIX systems by
+the configure script. With C compilers, you can safely ignore
+complaints about implicit declaration of library functions; they are
+caused by deficiencies in the vendor-provided header files.
+
+If you have a C++ compiler, please try that as well. This code has
+been successfully compiled under at least 19 C++ compilers, and the
+stricter type checking has uncovered problems that slipped past other
+compilers.
+
+These programs have been successfully built with C and C++ compilers
+and tested on these systems for the 2.10.1 release:
+
+ DECstation 5000 ULTRIX 4.2 cc, gcc, g++, lcc
+ DEC Alpha OSF/1 3.0, 3.2c cc, c89, cxx, gcc, g++
+ HP 9000/375 BSD 4.3 cc, CC
+ HP 9000/735 HP-UX 9.0 cc, c89, CC, gcc, g++
+ IBM RS/6000 AIX 3.2 cc, c89, xlC, gcc, g++
+ Intel 486 Linux 1.3.15 gcc, g++
+ MIPS RC6280 RISCos 2.1.1AC cc
+ NeXT 68040 Mach 3.0 cc, cc -ObjC, gcc, g++
+ SGI 4D/210 IRIX 4.0.5c cc, gcc, lcc
+ SGI Indigo/2 IRIX 5.3 cc, CC, gcc, g++, lcc
+ SGI Power Challenge IRIX 6.0.1 cc, CC
+ Sun SPARCstation Solaris 2.3,2.4 cc, CC, gcc, g++, lcc
+ Sun SPARCstation SunOS 4.1.3 acc, cc, CC, gcc
+
+Further details are given below. Where builds have failed, it is
+usually because of conflicts between system header files.
+
+The author uses the build-all.sh script for these tests; it tries
+builds with every known compiler on the development systems. If your
+UNIX system has other compilers that can be tested, please send their
+full path names to the author.
+
+
+==========
+IBM PC DOS
+==========
+
+The ibmpc/dos/README file contains details of the builds and tests
+of bibclean under 8 IBM PC DOS C and C++ compilers, and instructions
+for building and testing bibclean with other compilers.
+
+Since bibclean uses no floating-point arithmetic, and PC DOS has no
+shared libraries, I expect that the executables will run on any
+version of DOS greater than 4.0. They may also run on earlier
+versions. At the time of writing, MS-DOS 6.22 is current, and the
+bibclean executables work fine on it.
+
+
+=================
+DEC Alpha OpenVMS
+=================
+
+The vms/alpha subdirectory contains these files for DEC Alpha OpenVMS:
+
+ bibclean.exe bibclean executable program
+ config.h hand-coded configuration file
+ recomp.com do @recomp foo to recompile foo.c
+ vmsclean.com do @vmsclean to cleanup after a build
+ vmsmake.com do @vmsmake to build bibclean
+ vmstest.com do @vmstest to test bibclean
+
+You will have to change one line in vmstest.com to define the disk
+location of bibclean.exe in the foreign command symbol for bibclean.
+
+Unlike the UNIX "make check", execution of vmstest.com does not
+require that latex or bibtex be installed on your system. [I didn't
+have either on the Alpha OpenVMS system that I built bibclean on.]
+
+
+===========
+DEC VAX VMS
+===========
+
+The vms/vax/README file contains details of the building and testing
+of bibclean on VAX VMS 6.1
+
+Unlike the UNIX "make check", execution of vmstest.com does not require
+that latex or bibtex be installed on your system. [I didn't have
+either on the VAX VMS system that I built bibclean on.]
+
+On versions of VMS before 6.1, you may find differences in the vmstest
+output between testbib1.bok (correct Sun) and testbib1.bib (VAX VMS);
+characters with octal values 211--215 and 240 disappear from the VAX
+VMS output. The reason is that on VAX VMS 5.4 (and likely other
+versions of VAX VMS) isspace() from <ctype.h> classifies those
+characters as spaces. This problem does NOT exist on DEC Alpha
+OpenVMS 1.5, or in VMS 6.1. As long as your .bib files do not use
+those six characters, execution should be correct; for portability,
+.bib files should restrict themselves to ASCII/ISO-8859 characters in
+the range 32--127, plus newline and tab.
+
+
+===================================
+Sample "make check" Output for UNIX
+===================================
+
+Here is a log of "make check" on Sun Solaris 2.5 using the native C++
+compiler, CC:
+
+ CC -c -I. -I. -DHAVE_CONFIG_H -g romtol.c
+ /bin/rm -f match.O
+ if [ -f match.o ] ; then /bin/mv match.o match.O ; fi
+ /bin/rm -f match.o
+ CC -I. -I. -DHAVE_CONFIG_H -g -DTEST -o match \
+ match.c romtol.o
+ /bin/rm -f match.o
+ if [ -f match.O ] ; then /bin/mv match.O match.o ; fi
+
+ ===================== begin match test =======================
+
+ ./match <match.dat >match.lst
+ There should be no differences found:
+ diff match.lok match.lst
+
+ ====================== end match test ========================
+
+ /bin/rm -f romtol.O
+ if [ -f romtol.o ] ; then /bin/mv romtol.o romtol.O ; fi
+ /bin/rm -f romtol.o
+ CC -I. -I. -DHAVE_CONFIG_H -g -DTEST -o romtol romtol.c
+ /bin/rm -f romtol.o
+ if [ -f romtol.O ] ; then /bin/mv romtol.O romtol.o ; fi
+
+ ===================== begin romtol test ======================
+
+ ./romtol <romtol.dat >romtol.lst
+ There should be no differences found:
+ diff romtol.lok romtol.lst
+
+ ====================== end romtol test =======================
+
+ CC -c -I. -I. -DHAVE_CONFIG_H -g bibclean.c
+ CC -c -I. -I. -DHAVE_CONFIG_H -g chek.c
+ CC -c -I. -I. -DHAVE_CONFIG_H -g do.c
+ CC -c -I. -I. -DHAVE_CONFIG_H -g fix.c
+ CC -c -I. -I. -DHAVE_CONFIG_H -g fndfil.c
+ CC -c -I. -I. -DHAVE_CONFIG_H -g isbn.c
+ CC -c -I. -I. -DHAVE_CONFIG_H -g keybrd.c
+ CC -c -I. -I. -DHAVE_CONFIG_H -g match.c
+ CC -I. -I. -g -c -DHOST=\"`hostname`\" -DUSER=\"beebe\" option.c
+ CC -c -I. -I. -DHAVE_CONFIG_H -g strist.c
+ CC -c -I. -I. -DHAVE_CONFIG_H -g strtol.c
+ CC -o bibclean -g bibclean.o chek.o do.o fix.o fndfil.o isbn.o keybrd.o match.o option.o romtol.o strist.o strtol.o
+ ild: (Performing full relink) too many files changed
+
+ ==================== begin BibTeX test 1 =====================
+
+
+ ./bibclean -init-file bibclean.ini testbib1.org >testbib1.bib 2>testbib1.err
+
+ There should be no differences found:
+ diff testbib1.bok testbib1.bib
+
+ There should be no differences found:
+ diff testbib1.eok testbib1.err
+
+ ===================== end BibTeX test 1 ======================
+
+
+ ==================== begin BibTeX test 2 =====================
+
+
+ ./bibclean -init-file bibclean.ini -no-check-values testbib2.org >testbib2.bib 2>testbib2.err
+
+ There should be no differences found:
+ diff testbib2.bok testbib2.bib
+
+ There should be no differences found:
+ diff testbib2.eok testbib2.err
+
+ latex testbib2.ltx >/dev/null
+
+ Expect 6 BibTeX warnings:
+ bibtex testbib2
+ Warning--empty year in Bennett
+ Warning--empty year in Cejchan
+ Warning--there's a number but no volume in Dubowsky:75
+ Warning--empty institution in Diver:88a
+ Warning--empty booktitle in Diver:88
+ Warning--empty year in Diver
+ (There were 6 warnings)
+
+ latex testbib2.ltx >/dev/null
+
+ latex testbib2.ltx
+ This is TeX, Version 3.1415 (C version 6.1)
+ (testbib2.ltx
+ LaTeX Version 2.09 <14 January 1991>
+ (/usr/local/lib/tex/latex/article.sty
+ Document Style `article' <16 Mar 88>.
+ (/usr/local/lib/tex/latex/art10.sty)) (testbib2.aux) (testbib2.bbl [1] [2]
+ [3]
+ Underfull \hbox (badness 1024) in paragraph at lines 261--264
+ [] []\tenrm L. M. Berkovich, V. P. Gerdt, Z. T. Kos-tova, and M. L.
+ [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16]) [17] (testbib2.aux)
+ )
+ (see the transcript file for additional information)
+ Output written on testbib2.dvi (17 pages, 49032 bytes).
+ Transcript written on testbib2.log.
+
+ ===================== end BibTeX test 2 ======================
+
+
+ ==================== begin BibTeX test 3 =====================
+
+
+ ./bibclean -init-file bibclean.ini -fix-font-change testbib3.org >testbib3.bib 2>testbib3.err
+
+ There should be no differences found:
+
+ There should be no differences found:
+ diff testbib3.eok testbib3.err
+
+ ===================== end BibTeX test 3 ======================
+
+
+ ==================== begin BibTeX test 4 =====================
+
+
+ ./bibclean -init-file bibclean.ini -fix-font-change testbib4.org >testbib4.bib 2>testbib4.err
+
+ There should be no differences found:
+
+ There should be no differences found:
+ diff testbib4.eok testbib4.err
+
+ ===================== end BibTeX test 4 ======================
+
+
+ ==================== begin BibTeX test 5 =====================
+
+
+ ./bibclean -init-file bibclean.ini -German-style testbib5.org >testbib5.bib 2>testbib5.err
+
+ There should be no differences found:
+
+ There should be no differences found:
+ diff testbib5.eok testbib5.err
+
+ ===================== end BibTeX test 5 ======================
+
+
+ ==================== begin BibTeX test 6 =====================
+
+ ./bibclean -init-file bibclean.ini testisxn.org >testisxn.bib 2>testisxn.err
+
+ There should be no differences found:
+ diff testisxn.bok testisxn.bib
+
+ There should be no differences found:
+ diff testisxn.eok testisxn.err
+
+ ===================== end BibTeX test 6 ======================
+
+
+ ==================== begin BibTeX test 7 =====================
+
+ ./bibclean -init-file bibclean.ini testcodn.org >testcodn.bib 2>testcodn.err
+
+ There should be no differences found:
+ diff testcodn.bok testcodn.bib
+
+ There should be no differences found:
+ diff testcodn.eok testcodn.err
+
+ ===================== end BibTeX test 7 ======================
+
+
+ ==================== begin Scribe test 1 =====================
+
+
+ ----------------------------------------------------
+
+ ./bibclean -init-file bibclean.ini -scribe -no-check testscr1.org >testscr1.bib
+
+ There should be no differences found:
+ diff testscr1.bok testscr1.bib
+
+ There should be no differences found:
+ diff testscr1.eok testscr1.err
+
+ Expect 5 BibTeX warnings
+ bibtex testscr1
+ Warning--empty publisher in hanson-67
+ Warning--can't use both volume and number fields in kendeigh-52
+ Warning--empty author in singer-portion-chapter
+ Warning--empty author in singer-portion-volume
+ Warning--can't use both author and editor fields in wright-63
+ (There were 5 warnings)
+
+ ----------------------------------------------------
+
+ ./bibclean -init-file bibclean.ini -scribe -no-check testscr2.org >testscr2.bib
+
+ There should be no differences found:
+ diff testscr2.bok testscr2.bib
+
+ There should be no differences found:
+ diff testscr2.eok testscr2.err
+
+ There should be no BibTeX warnings:
+ bibtex testscr2
+ ===================== end Scribe test 1 ======================
+
+
+ ==================== begin Scribe test 2 =====================
+
+ ./bibclean -init-file bibclean.ini -scribe -file -no-check testscr2.org \
+ >testscr2.bib 2>testscr2.err
+
+ There should be no differences found:
+ diff testscr2.bok testscr2.bib
+
+ There should be no differences found:
+ diff testscr2.eok testscr2.err
+
+
+ ./bibclean -init-file bibclean.ini -scribe -file -no-check -no-par testscr2.org \
+ >testscr2.bi2 2>testscr2.er2
+ make: [test-scribe-2] Error 1 (ignored)
+
+ There should be no differences found:
+ diff testscr2.bo2 testscr2.bi2
+
+ There should be no differences found:
+ diff testscr2.eo2 testscr2.er2
+
+ ===================== end Scribe test 2 ======================
+
+
+ ==================== begin Scribe test 3 =====================
+
+ ./bibclean -init-file bibclean.ini -scribe -no-check testscr3.org >testscr3.bib 2>testscr3.err
+
+ There should be no differences found:
+ diff testscr3.bok testscr3.bib
+
+ There should be no differences found:
+ diff testscr3.eok testscr3.err
+
+ ===================== end Scribe test 3 ======================
+
+
+
+=====================================
+Details of UNIX installation attempts
+=====================================
+
+Clean builds and validations with "setenv CC xxx && ./configure &&
+make && make check" have been achieved on these systems:
+
+ DEC Alpha OSF/1 3.0
+ /bin/cc
+ /usr/ccs/bin/c89
+ /usr/ccs/bin/cc
+ /usr/local/bin/g++
+ /usr/local/bin/gcc
+ /usr/ucb/cc
+
+ For /bin/cxx, compiler switches to c89 for .c files, and
+ then gets an error which arises because
+ /usr/include/sys/signal.h:468: error: Missing ")".
+ stack_t is not defined by types.h except in Standard C
+ or C++ mode.
+
+ Recent versions of cxx have switch "-x cxx" to force
+ use of C++ compilation for .c files, but older ones do
+ not. On one such old system, I made an experiment
+ with changing extensions from .c to .cxx and updating
+ the Makefile accordingly. The build failed with:
+ ``Fatal: An attempt to allocate memory failed.''
+ during compilation of bibclean.cxx, and with
+ conflicting declarations of swab() from
+ /usr/include/unistd.h and /usr/include/cxx/string.h
+ during compilation of fndfil.cxx. These are both
+ vendor problems that may be fixed in newer releases of
+ the C++ compiler.
+
+ DEC Alpha OSF/1 3.2C (Digital UNIX)
+ /usr/ucb/cxx
+
+ The problems with cxx experienced on OSF/1 3.0 have
+ all disappeared, and I regularly use "cxx -x cxx" as
+ my C/C++ compiler of choice on this system. [The
+ DEC 2100-5/250 on which the compiler is installed has
+ 3 CPUs and 2GB of RAM, and each CPU does 250Mflops in
+ benchmarks, so it is a terrific development system!]
+
+ DECstation ULTRIX 4.3
+ /bin/cc
+ /usr/local/bin/g++
+ /usr/local/bin/gcc
+
+ Got many "warning: missing prototype" messages for
+ functions in system header files (because they are
+ still K&R style) with:
+ /usr/local/bin/lcc -A -A
+ but build completed and validated.
+
+ HP 9000/735 HP-UX 9.0.3
+ /bin/cc
+ /bin/c89
+ /usr/bin/CC
+ /usr/local/bin/g++
+ /usr/local/bin/gcc
+
+ For /bin/cc, the compiler warns
+
+ cc: "bibclean.c", line 3723: warning 30: Character
+ constant contains undefined escape sequence.
+ cc: "bibclean.c", line 3730: warning 30: Character
+ constant contains undefined escape sequence.
+
+ but the escape sequence ('\a') IS correctly translated.
+
+ HP 9000/735 HP-UX 10.0.1
+ /bin/cc
+ /bin/c89
+ /usr/bin/CC
+ /usr/local/bin/g++
+ /usr/local/bin/gcc
+
+ The warnings from /bin/cc no longer appear.
+
+ IBM RS/6000 AIX 3.2.5
+ /bin/cc
+ /bin/xlC
+ /usr/bin/c89
+ /usr/local/bin/g++
+ /usr/local/bin/gcc
+
+ IBM RS/6000 AIX 4.1
+ /bin/c89
+ /bin/xlC
+ /usr/bin/c89
+
+ Intel 486 Linux 1.3.15 and 1.3.97 (POSIX)
+ /usr/bin/g++
+ /usr/bin/gcc
+
+ MIPS RC 6280 RISCos 2.1.1AC
+ /bin/cc
+
+ NeXT Turbostation Mach 3.0
+ Compilation with any compiler produces failing links
+ with error: /bin/ld: multiple definitions of symbol _strtol
+ The configure.in script attempts to deal with this by
+ AC_REPLACE_FUNCS(strtol), but that results in the created
+ Makefile having LIBOBJS=strtol. Building with
+ make LIBOBJS=
+ provides a temporary workaround.
+
+ /usr/local/bin/gcc
+ /bin/cc
+ /usr/local/bin/g++
+
+ Many compilation "warning: missing prototype", plus
+ bibclean.c:2774: undeclared identifier `__ctype'
+ bibclean.c:3158: type error: pointer expected
+ ...
+ for
+ /usr/local/bin/lcc -A -A
+ lcc on this system is an old version (1.9); the
+ current lcc elsewhere is 3.4b, but unfortunately,
+ lcc 3.x dropped support for the Motorola 68xxx
+ code generator. I'm therefore writing off lcc
+ on the NeXT as not viable for software development.
+
+ NeXT Turbostation Mach 3.1
+ /bin/cc
+ /usr/local/bin/g++
+ /usr/local/bin/gcc
+
+ Silicon Graphics Indigo IRIX 4.0.5F
+
+ /usr/bin/cc
+ /usr/local/bin/gcc
+ /usr/local/bin/lcc -A -A
+
+ Compilation fails with
+ /usr/local/bin/g++
+ because of conflicts between system header files and
+ g++ built-in library function declarations.
+
+ Silicon Graphics Indigo-2 IRIX 5.3
+ /bin/cc
+ /usr/local/bin/g++
+ /usr/local/bin/gcc
+ /usr/local/bin/lcc -A -A
+
+ Silicon Graphics Power Challenge IRIX 6.0.1
+ /bin/CC
+ /bin/cc
+
+ For
+ /usr/local/bin/g++
+ and
+ /usr/local/bin/gcc
+ (2.7.0) get assembler errors from generated code.
+
+ Sun SPARC 4/380 Sun SunOS 4.1.3
+ /bin/cc
+ /usr/lang/acc
+ /usr/lang/CC
+ /usr/local/bin/gcc
+ /usr/ucb/cc
+
+ Linking fails with
+ /usr/local/bin/g++
+ because of multiply defined symbols. These arise
+ because g++ generates inline C-style interfaces
+ to library functions like strchr(), but on this
+ system, the library also contains C-style functions
+ with the same name, so linking produces multiple
+ definitions, and failure. Curiously, g++ 2.7.0 on
+ other systems, including Sun Solaris 2.x, does not
+ generate these interface functions, and so does not
+ cause problems there.
+
+ Compilation fails with
+ /usr/local/bin/lcc -A -A
+ because of a conflict in the definition of size_t
+ between /usr/include/sys/stdtypes.h and
+ /usr/local/include/lcc-3.4b/sparc-sun/stdlib.h.
+
+ Sun SPARC 20 Sun Solaris 2.3
+ /opt/SUNWspro/bin/cc
+ /opt/SUNWspro/bin/CC
+ /usr/local/bin/gcc
+ /usr/ucb/cc
+
+ Linking failed for
+ /usr/local/bin/g++
+ with MANY multiply-defined symbols (e.g. memchr in bibclean
+ and fndfil)
+
+ No problem on Solaris 2.4 with g++!
+
+ The reason that configure says
+ checking for strcspn... (cached) no
+ checking for strdup... (cached) no
+ checking for strspn... (cached) no
+ checking for strstr... (cached) no
+ checking for strtod... (cached) no
+ checking for strtol... (cached) no
+ is that it generates a test program with
+ char $ac_func();
+ as the prototype. With C++, that is a separate
+ function that cannot be found in the library. That is
+ also why LIBOBJS is being set incorrectly.
+
+ *** Need to check out g++ and lcc on this system ***
+ Build failed for
+ /usr/local/bin/lcc -A -A
+ with message
+ configure: error: can not run test program while cross compiling
+ This happens because configure uses -g, which blows
+ compilation because of unknown opcode ".stabd" errors
+ in assembler.
+
+ Can be fixed by manually changing configure line
+ test "${CFLAGS+set}" = set || CFLAGS="-g"
+ to
+ test "${CFLAGS+set}" = set || CFLAGS=""
+
+ There is another problem: STDC_HEADERS is not defined,
+ because a test program created by configure detects an
+ error in toupper(). This was traced to a bug in lcc's
+ ctype.h, and has been reported to the lcc-bugs list.
+ A manual patch to config.h solves the problem.
+
+===============================[The End]===============================
diff --git a/biblio/bibtex/utils/bibclean/bibclean-2.11.3.tar-lst b/biblio/bibtex/utils/bibclean/bibclean-2.11.3.tar-lst
new file mode 100644
index 0000000000..4d7b24eb39
--- /dev/null
+++ b/biblio/bibtex/utils/bibclean/bibclean-2.11.3.tar-lst
@@ -0,0 +1,219 @@
+drwxrwsr-x beebe/staff 0 Jul 1 20:10 1996 bibclean-2.11.3/
+-rw-r--r-- beebe/staff 37493 May 4 08:14 1996 bibclean-2.11.3/ChangeLog
+-rw-r--r-- beebe/staff 26456 May 4 09:22 1996 bibclean-2.11.3/README
+-rw-rw-r-- beebe/staff 31755 Jul 1 20:06 1996 bibclean-2.11.3/Makefile
+-rw-r--r-- beebe/staff 31749 Jul 1 20:03 1996 bibclean-2.11.3/Makefile.in
+-rw-r--r-- beebe/staff 52569 May 3 14:11 1996 bibclean-2.11.3/bibclean.c
+-rw-r--r-- beebe/staff 14673 May 3 09:59 1996 bibclean-2.11.3/bibclean.h
+-rw-rw-r-- beebe/staff 51836 Jul 1 20:02 1996 bibclean-2.11.3/bibclean.hlp
+-r--r--r-- beebe/staff 68073 May 3 09:59 1996 bibclean-2.11.3/bibclean.html
+-rw-rw-r-- beebe/staff 7267 Feb 8 12:31 1993 bibclean-2.11.3/bibclean.ini
+-rw-r--r-- beebe/staff 42153 May 3 09:20 1996 bibclean-2.11.3/bibclean.man
+-rw-rw-r-- beebe/staff 55589 Jul 1 20:03 1996 bibclean-2.11.3/bibclean.pdf
+-rw-rw-r-- beebe/staff 75125 Jul 1 20:02 1996 bibclean-2.11.3/bibclean.ps
+-rw-rw-r-- beebe/staff 4474 Jan 30 10:34 1993 bibclean-2.11.3/bibclean.reg
+-rw-rw-r-- beebe/staff 54676 Jul 1 20:02 1996 bibclean-2.11.3/bibclean.txt
+-rwxrwxr-x beebe/staff 1945 Oct 2 11:32 1995 bibclean-2.11.3/build-all.sh
+-rw-rw-r-- beebe/staff 1010 Mar 4 08:04 1996 bibclean-2.11.3/ch.h
+-rw-r--r-- beebe/staff 29251 May 3 14:13 1996 bibclean-2.11.3/chek.c
+-rw-r--r-- beebe/staff 5226 Jul 1 19:54 1996 bibclean-2.11.3/config.h
+-rw-rw-r-- beebe/staff 4948 May 2 11:22 1996 bibclean-2.11.3/config.hin
+-rwxrwxr-x beebe/staff 51659 May 4 08:23 1996 bibclean-2.11.3/configure
+-rw-rw-r-- beebe/staff 3442 Apr 30 06:52 1996 bibclean-2.11.3/configure.in
+-rw-rw-r-- beebe/staff 309 Oct 4 08:40 1995 bibclean-2.11.3/configure.sed
+-rw-rw-r-- beebe/staff 3811 May 2 06:02 1996 bibclean-2.11.3/custom.h
+-rw-rw-r-- beebe/staff 285 Oct 3 11:27 1995 bibclean-2.11.3/delete.h
+-rw-r--r-- beebe/staff 74424 May 3 14:14 1996 bibclean-2.11.3/do.c
+-rw-r--r-- beebe/staff 17229 May 3 14:15 1996 bibclean-2.11.3/fix.c
+-rw-r--r-- beebe/staff 20007 May 3 14:16 1996 bibclean-2.11.3/fndfil.c
+-rw-r--r-- beebe/staff 21250 May 3 14:17 1996 bibclean-2.11.3/isbn.c
+-rw-r--r-- beebe/staff 17949 May 3 14:19 1996 bibclean-2.11.3/keybrd.c
+-rw-rw-r-- beebe/staff 1297 Mar 4 10:34 1996 bibclean-2.11.3/keybrd.h
+-rw-r--r-- beebe/staff 13146 May 3 14:22 1996 bibclean-2.11.3/match.c
+-rw-r--r-- beebe/staff 147662 May 3 07:52 1996 bibclean-2.11.3/match.dat
+-rw-rw-r-- beebe/staff 290 Feb 8 08:00 1993 bibclean-2.11.3/match.h
+-rw-rw-r-- beebe/staff 320466 May 3 08:06 1996 bibclean-2.11.3/match.lok
+-rw-r--r-- beebe/staff 14780 May 3 14:22 1996 bibclean-2.11.3/option.c
+-rw-rw-r-- beebe/staff 363 Oct 3 11:26 1995 bibclean-2.11.3/pattern.h
+-rw-rw-r-- beebe/staff 1858 Nov 7 16:24 1992 bibclean-2.11.3/rofvms.awk
+-rw-r--r-- beebe/staff 4827 May 3 14:23 1996 bibclean-2.11.3/romtol.c
+-rw-r--r-- beebe/staff 188 Jan 6 13:41 1993 bibclean-2.11.3/romtol.dat
+-rw-rw-r-- beebe/staff 1688 Jan 6 14:43 1993 bibclean-2.11.3/romtol.lok
+-rw-rw-r-- beebe/staff 1158 Oct 7 09:50 1995 bibclean-2.11.3/strist.c
+-rw-rw-r-- beebe/staff 4692 Oct 7 09:50 1995 bibclean-2.11.3/strtol.c
+-rw-rw-r-- beebe/staff 474 Oct 3 11:27 1995 bibclean-2.11.3/token.h
+-rw-rw-r-- beebe/staff 1102 Oct 3 11:28 1995 bibclean-2.11.3/toklst.h
+-rw-r--r-- beebe/staff 25631 May 3 14:24 1996 bibclean-2.11.3/vaxvms.c
+-rw-r--r-- beebe/staff 32373 May 3 14:25 1996 bibclean-2.11.3/vmswild.c
+-rw-rw-r-- beebe/staff 969 Oct 3 08:24 1995 bibclean-2.11.3/xctype.h
+-rw-rw-r-- beebe/staff 137 Sep 19 23:34 1995 bibclean-2.11.3/xerrno.h
+-rw-rw-r-- beebe/staff 142 Sep 19 23:34 1995 bibclean-2.11.3/xlimits.h
+-rw-rw-r-- beebe/staff 127 Sep 19 23:34 1995 bibclean-2.11.3/xpwd.h
+-rw-rw-r-- beebe/staff 283 Sep 27 15:53 1995 bibclean-2.11.3/xstat.h
+-rw-rw-r-- beebe/staff 258 Oct 3 17:27 1995 bibclean-2.11.3/xstdlib.h
+-rw-rw-r-- beebe/staff 559 Oct 3 22:25 1995 bibclean-2.11.3/xstring.h
+-rw-rw-r-- beebe/staff 191 Sep 19 23:37 1995 bibclean-2.11.3/xtypes.h
+-rw-rw-r-- beebe/staff 215 Sep 28 09:23 1995 bibclean-2.11.3/xunistd.h
+-rw-rw-r-- beebe/staff 206 Oct 3 07:32 1995 bibclean-2.11.3/yesorno.h
+-rw-rw-r-- beebe/staff 12275 Sep 24 00:55 1993 bibclean-2.11.3/testbib1.org
+-rw-rw-r-- beebe/staff 59097 Nov 24 23:43 1992 bibclean-2.11.3/testbib2.org
+-rw-rw-r-- beebe/staff 4524 Mar 8 13:37 1995 bibclean-2.11.3/testbib3.org
+-rw-rw-r-- beebe/staff 4604 Feb 6 07:15 1993 bibclean-2.11.3/testbib4.org
+-rw-rw-r-- beebe/staff 1689 Oct 16 12:36 1994 bibclean-2.11.3/testbib5.org
+-rw-rw-r-- beebe/staff 22579 Nov 24 23:43 1992 bibclean-2.11.3/testisxn.org
+-rw-rw-r-- beebe/staff 39544 Apr 28 09:01 1996 bibclean-2.11.3/testcodn.org
+-rw-rw-r-- beebe/staff 12509 Jun 4 10:28 1994 bibclean-2.11.3/testbib1.bok
+-rw-rw-r-- beebe/staff 73340 Mar 4 07:04 1996 bibclean-2.11.3/testbib2.bok
+-rw-rw-r-- beebe/staff 4957 Mar 8 13:38 1995 bibclean-2.11.3/testbib3.bok
+-rw-rw-r-- beebe/staff 4765 Jun 4 11:47 1994 bibclean-2.11.3/testbib4.bok
+-rw-rw-r-- beebe/staff 1904 Oct 16 19:53 1994 bibclean-2.11.3/testbib5.bok
+-rw-rw-r-- beebe/staff 22612 Oct 18 12:20 1994 bibclean-2.11.3/testisxn.bok
+-rw-rw-r-- beebe/staff 39543 Apr 28 09:02 1996 bibclean-2.11.3/testcodn.bok
+-rw-rw-r-- beebe/staff 1834 Jan 7 06:26 1993 bibclean-2.11.3/testbib1.eok
+-rw-rw-r-- beebe/staff 0 Nov 24 23:38 1992 bibclean-2.11.3/testbib2.eok
+drwxrwsr-x beebe/staff 0 Jul 1 20:10 1996 bibclean-2.11.3/doc/
+-rw-r--r-- beebe/staff 2993 May 3 09:34 1996 bibclean-2.11.3/doc/Makefile
+-rw-rw-r-- beebe/staff 4136 Jul 1 20:09 1996 bibclean-2.11.3/doc/bibclean.aux
+-rw-rw-r-- beebe/staff 7112 Jul 1 20:09 1996 bibclean-2.11.3/doc/bibclean.bbl
+-rw-r--r-- beebe/staff 12410 Nov 18 09:33 1993 bibclean-2.11.3/doc/bibclean.bib
+-rw-rw-r-- beebe/staff 0 Jul 1 20:09 1996 bibclean-2.11.3/doc/bibclean.blg
+-rw-rw-r-- beebe/staff 139968 Jul 1 20:09 1996 bibclean-2.11.3/doc/bibclean.dvi
+-rw-rw-r-- beebe/staff 56081 Jul 1 20:09 1996 bibclean-2.11.3/doc/bibclean.idx
+-rw-rw-r-- beebe/staff 386 Jul 1 20:09 1996 bibclean-2.11.3/doc/bibclean.ilg
+-rw-rw-r-- beebe/staff 22304 Jul 1 20:09 1996 bibclean-2.11.3/doc/bibclean.ind
+-rw-rw-r-- beebe/staff 2227 Jul 1 20:09 1996 bibclean-2.11.3/doc/bibclean.log
+-rw-rw-r-- beebe/staff 294 Jul 1 20:09 1996 bibclean-2.11.3/doc/bibclean.lot
+-rw-r--r-- beebe/staff 111894 Dec 31 12:47 1993 bibclean-2.11.3/doc/bibclean.ltx
+-rw-rw-r-- beebe/staff 1635 May 3 09:42 1996 bibclean-2.11.3/doc/bibclean.sok
+-rw-r--r-- beebe/staff 12451 Nov 17 15:41 1993 bibclean-2.11.3/doc/bibclean.sty
+-rw-rw-r-- beebe/staff 976 Jul 1 20:09 1996 bibclean-2.11.3/doc/bibclean.toc
+-rw-r--r-- beebe/staff 31597 Apr 1 19:38 1996 bibclean-2.11.3/doc/is-plain.bst
+-rw-rw-r-- beebe/staff 24043 Feb 22 16:40 1995 bibclean-2.11.3/doc/ltugboat.sty
+-rw-r--r-- beebe/staff 13526 Dec 18 17:48 1991 bibclean-2.11.3/doc/path.sty
+-rw-r--r-- beebe/staff 12268 Mar 16 10:08 1993 bibclean-2.11.3/doc/texnames.sty
+-rw-rw-r-- beebe/staff 32135 Nov 4 12:10 1995 bibclean-2.11.3/doc/tugboat.cmn
+-rw-rw-r-- beebe/staff 330 Jan 9 16:01 1993 bibclean-2.11.3/testbib3.eok
+-rw-rw-r-- beebe/staff 0 Feb 8 10:07 1993 bibclean-2.11.3/testbib4.eok
+-rw-rw-r-- beebe/staff 163 Oct 16 19:53 1994 bibclean-2.11.3/testbib5.eok
+-rw-rw-r-- beebe/staff 5233 Apr 25 10:51 1996 bibclean-2.11.3/testisxn.eok
+-rw-rw-r-- beebe/staff 61113 Apr 28 09:02 1996 bibclean-2.11.3/testcodn.eok
+-rw-rw-r-- beebe/staff 324 Nov 16 16:46 1992 bibclean-2.11.3/testbib2.ltx
+-rw-rw-r-- beebe/staff 24519 Jan 13 10:46 1993 bibclean-2.11.3/testscr1.org
+-rw-rw-r-- beebe/staff 1540 Nov 24 23:43 1992 bibclean-2.11.3/testscr2.org
+-rw-rw-r-- beebe/staff 507 Nov 24 23:43 1992 bibclean-2.11.3/testscr3.org
+-rw-rw-r-- beebe/staff 25946 Feb 8 11:27 1993 bibclean-2.11.3/testscr1.bok
+-rw-rw-r-- beebe/staff 1563 Nov 24 23:39 1992 bibclean-2.11.3/testscr2.bok
+-rw-rw-r-- beebe/staff 427 Nov 24 23:39 1992 bibclean-2.11.3/testscr3.bok
+-rw-rw-r-- beebe/staff 0 Nov 27 15:55 1992 bibclean-2.11.3/testscr1.eok
+-rw-rw-r-- beebe/staff 0 Nov 24 23:38 1992 bibclean-2.11.3/testscr2.eok
+-rw-rw-r-- beebe/staff 0 Nov 24 23:38 1992 bibclean-2.11.3/testscr3.eok
+-rw-rw-r-- beebe/staff 2760 Jun 4 10:29 1994 bibclean-2.11.3/testscr2.bo2
+-rw-rw-r-- beebe/staff 1125 Jun 4 10:33 1994 bibclean-2.11.3/testscr2.eo2
+drwxrwsr-x beebe/staff 0 Jul 1 20:10 1996 bibclean-2.11.3/ibmpc/
+drwxrwsr-x beebe/staff 0 Jul 1 20:10 1996 bibclean-2.11.3/ibmpc/dos/
+-rw-rw-r-- beebe/staff 14255 May 2 08:18 1996 bibclean-2.11.3/ibmpc/dos/README
+drwxrwsr-x beebe/staff 0 Jul 1 20:10 1996 bibclean-2.11.3/ibmpc/dos/msc5p1/
+-rwxrwxr-x beebe/staff 152883 May 2 07:48 1996 bibclean-2.11.3/ibmpc/dos/msc5p1/bibclean.exe
+-rw-rw-r-- beebe/staff 5083 May 1 12:38 1996 bibclean-2.11.3/ibmpc/dos/msc5p1/config.h
+-rw-rw-r-- beebe/staff 60 Apr 30 07:04 1996 bibclean-2.11.3/ibmpc/dos/msc5p1/ibmclean.bat
+-rw-r--r-- beebe/staff 5906 Apr 30 06:58 1996 bibclean-2.11.3/ibmpc/dos/msc5p1/ibmtest.bat
+-rw-r--r-- beebe/staff 758 May 2 07:30 1996 bibclean-2.11.3/ibmpc/dos/msc5p1/msc51bld.bat
+-rw-r--r-- beebe/staff 271 Dec 3 08:28 1992 bibclean-2.11.3/ibmpc/dos/msc5p1/msc51pth.bat
+drwxrwsr-x beebe/staff 0 Jul 1 20:10 1996 bibclean-2.11.3/ibmpc/dos/msc6p0/
+-rwxrwxr-x beebe/staff 133563 May 2 07:52 1996 bibclean-2.11.3/ibmpc/dos/msc6p0/bibclean.exe
+-rw-rw-r-- beebe/staff 20299 May 2 07:52 1996 bibclean-2.11.3/ibmpc/dos/msc6p0/bibclean.map
+-rw-rw-r-- beebe/staff 5083 May 1 12:38 1996 bibclean-2.11.3/ibmpc/dos/msc6p0/config.h
+-rw-rw-r-- beebe/staff 60 Apr 30 07:04 1996 bibclean-2.11.3/ibmpc/dos/msc6p0/ibmclean.bat
+-rw-r--r-- beebe/staff 5906 Apr 30 06:58 1996 bibclean-2.11.3/ibmpc/dos/msc6p0/ibmtest.bat
+-rw-r--r-- beebe/staff 955 May 2 07:31 1996 bibclean-2.11.3/ibmpc/dos/msc6p0/msc60bld.bat
+-rw-r--r-- beebe/staff 290 Dec 4 06:04 1992 bibclean-2.11.3/ibmpc/dos/msc6p0/msc60pth.bat
+drwxrwsr-x beebe/staff 0 Jul 1 20:10 1996 bibclean-2.11.3/ibmpc/dos/msc7p0/
+-rw-rw-r-- beebe/staff 5083 May 1 12:38 1996 bibclean-2.11.3/ibmpc/dos/msc7p0/config.h
+-rw-rw-r-- beebe/staff 60 Apr 30 07:04 1996 bibclean-2.11.3/ibmpc/dos/msc7p0/ibmclean.bat
+-rw-r--r-- beebe/staff 5906 Apr 30 06:58 1996 bibclean-2.11.3/ibmpc/dos/msc7p0/ibmtest.bat
+-rw-r--r-- beebe/staff 955 May 2 07:31 1996 bibclean-2.11.3/ibmpc/dos/msc7p0/msc70bld.bat
+-rw-r--r-- beebe/staff 271 Nov 30 17:16 1992 bibclean-2.11.3/ibmpc/dos/msc7p0/msc70pth.bat
+drwxrwsr-x beebe/staff 0 Jul 1 20:10 1996 bibclean-2.11.3/ibmpc/dos/tcc2p0/
+-rwxrwxr-x beebe/staff 157785 May 2 07:56 1996 bibclean-2.11.3/ibmpc/dos/tcc2p0/bibclean.exe
+-rw-rw-r-- beebe/staff 5171 Apr 30 08:45 1996 bibclean-2.11.3/ibmpc/dos/tcc2p0/config.h
+-rw-rw-r-- beebe/staff 60 Apr 30 07:04 1996 bibclean-2.11.3/ibmpc/dos/tcc2p0/ibmclean.bat
+-rw-r--r-- beebe/staff 5906 Apr 30 06:58 1996 bibclean-2.11.3/ibmpc/dos/tcc2p0/ibmtest.bat
+-rw-r--r-- beebe/staff 1316 May 2 07:37 1996 bibclean-2.11.3/ibmpc/dos/tcc2p0/tcc20bld.bat
+-rw-r--r-- beebe/staff 217 May 1 17:55 1996 bibclean-2.11.3/ibmpc/dos/tcc2p0/tcc20pth.bat
+drwxrwsr-x beebe/staff 0 Jul 1 20:10 1996 bibclean-2.11.3/ibmpc/dos/tcc3p0/
+-rwxrwxr-x beebe/staff 156860 May 2 07:58 1996 bibclean-2.11.3/ibmpc/dos/tcc3p0/bibclean.exe
+-rw-rw-r-- beebe/staff 5171 Apr 30 08:45 1996 bibclean-2.11.3/ibmpc/dos/tcc3p0/config.h
+-rw-rw-r-- beebe/staff 60 Apr 30 07:04 1996 bibclean-2.11.3/ibmpc/dos/tcc3p0/ibmclean.bat
+-rw-r--r-- beebe/staff 5906 Apr 30 06:58 1996 bibclean-2.11.3/ibmpc/dos/tcc3p0/ibmtest.bat
+-rw-r--r-- beebe/staff 1732 May 2 07:34 1996 bibclean-2.11.3/ibmpc/dos/tcc3p0/tcc30bld.bat
+-rw-r--r-- beebe/staff 197 Nov 30 13:47 1992 bibclean-2.11.3/ibmpc/dos/tcc3p0/tcc30pth.bat
+drwxrwsr-x beebe/staff 0 Jul 1 20:10 1996 bibclean-2.11.3/ibmpc/dos/tpp3p0/
+-rwxrwxr-x beebe/staff 157004 May 2 07:25 1996 bibclean-2.11.3/ibmpc/dos/tpp3p0/bibclean.exe
+-rw-rw-r-- beebe/staff 5171 Apr 30 08:45 1996 bibclean-2.11.3/ibmpc/dos/tpp3p0/config.h
+-rw-rw-r-- beebe/staff 60 Apr 30 07:04 1996 bibclean-2.11.3/ibmpc/dos/tpp3p0/ibmclean.bat
+-rw-r--r-- beebe/staff 5906 Apr 30 06:58 1996 bibclean-2.11.3/ibmpc/dos/tpp3p0/ibmtest.bat
+-rw-r--r-- beebe/staff 197 Nov 30 13:47 1992 bibclean-2.11.3/ibmpc/dos/tpp3p0/tcc30pth.bat
+-rw-rw-r-- beebe/staff 1699 May 2 07:35 1996 bibclean-2.11.3/ibmpc/dos/tpp3p0/tpp30bld.bat
+drwxrwsr-x beebe/staff 0 Jul 1 20:10 1996 bibclean-2.11.3/ibmpc/dos/wat10/
+drwxrwsr-x beebe/staff 0 Jul 1 20:10 1996 bibclean-2.11.3/ibmpc/dos/wat10/wcc/
+-rwxrwxr-x beebe/staff 133604 May 2 08:03 1996 bibclean-2.11.3/ibmpc/dos/wat10/wcc/bibclean.exe
+-rw-rw-r-- beebe/staff 18957 May 2 08:03 1996 bibclean-2.11.3/ibmpc/dos/wat10/wcc/bibclean.map
+-rw-rw-r-- beebe/staff 5085 Apr 29 06:20 1996 bibclean-2.11.3/ibmpc/dos/wat10/wcc/config.h
+-rw-rw-r-- beebe/staff 60 Apr 30 07:04 1996 bibclean-2.11.3/ibmpc/dos/wat10/wcc/ibmclean.bat
+-rw-r--r-- beebe/staff 5906 May 1 20:16 1996 bibclean-2.11.3/ibmpc/dos/wat10/wcc/ibmtest.bat
+-rw-rw-r-- beebe/staff 993 May 2 07:38 1996 bibclean-2.11.3/ibmpc/dos/wat10/wcc/watcpp.bat
+-rw-rw-r-- beebe/staff 318 May 2 06:32 1996 bibclean-2.11.3/ibmpc/dos/wat10/wcc/watpath.bat
+-rw-rw-r-- beebe/staff 679 May 2 07:38 1996 bibclean-2.11.3/ibmpc/dos/wat10/wcc/watwcc.bat
+drwxrwsr-x beebe/staff 0 Jul 1 20:10 1996 bibclean-2.11.3/ibmpc/dos/wat10/wcc386/
+-rwxrwxr-x beebe/staff 112238 May 2 08:07 1996 bibclean-2.11.3/ibmpc/dos/wat10/wcc386/bibclean.exe
+-rw-rw-r-- beebe/staff 5085 Apr 29 06:20 1996 bibclean-2.11.3/ibmpc/dos/wat10/wcc386/config.h
+-rwxrwxr-x beebe/staff 21694 May 31 10:00 1994 bibclean-2.11.3/ibmpc/dos/wat10/wcc386/dos4gw.doc
+-rwxrwxr-x beebe/staff 254556 May 31 10:00 1994 bibclean-2.11.3/ibmpc/dos/wat10/wcc386/dos4gw.exe
+-rw-rw-r-- beebe/staff 60 Apr 30 07:04 1996 bibclean-2.11.3/ibmpc/dos/wat10/wcc386/ibmclean.bat
+-rw-r--r-- beebe/staff 5906 Apr 30 06:58 1996 bibclean-2.11.3/ibmpc/dos/wat10/wcc386/ibmtest.bat
+-rw-rw-r-- beebe/staff 514 May 2 07:39 1996 bibclean-2.11.3/ibmpc/dos/wat10/wcc386/wat10bld.bat
+-rw-rw-r-- beebe/staff 318 May 2 06:32 1996 bibclean-2.11.3/ibmpc/dos/wat10/wcc386/watpath.bat
+drwxrwsr-x beebe/staff 0 Jul 1 20:10 1996 bibclean-2.11.3/ibmpc/dos/wat10/wpp386/
+-rwxrwxr-x beebe/staff 113514 May 2 08:11 1996 bibclean-2.11.3/ibmpc/dos/wat10/wpp386/bibclean.exe
+-rw-rw-r-- beebe/staff 5085 Apr 29 06:20 1996 bibclean-2.11.3/ibmpc/dos/wat10/wpp386/config.h
+-rwxrwxr-x beebe/staff 0 May 31 10:00 1994 bibclean-2.11.3/ibmpc/dos/wat10/wpp386/dos4gw.doc link to bibclean-2.11.3/ibmpc/dos/wat10/wcc386/dos4gw.doc
+-rwxrwxr-x beebe/staff 0 May 31 10:00 1994 bibclean-2.11.3/ibmpc/dos/wat10/wpp386/dos4gw.exe link to bibclean-2.11.3/ibmpc/dos/wat10/wcc386/dos4gw.exe
+-rw-rw-r-- beebe/staff 60 Apr 30 07:04 1996 bibclean-2.11.3/ibmpc/dos/wat10/wpp386/ibmclean.bat
+-rw-r--r-- beebe/staff 5906 May 1 20:16 1996 bibclean-2.11.3/ibmpc/dos/wat10/wpp386/ibmtest.bat
+-rw-rw-r-- beebe/staff 514 May 2 07:39 1996 bibclean-2.11.3/ibmpc/dos/wat10/wpp386/w386cpp.bat
+-rw-rw-r-- beebe/staff 318 May 2 06:32 1996 bibclean-2.11.3/ibmpc/dos/wat10/wpp386/watpath.bat
+drwxrwsr-x beebe/staff 0 Jul 1 20:10 1996 bibclean-2.11.3/ibmpc/linux/
+-rwxr-xr-x beebe/staff 211679 May 1 20:25 1996 bibclean-2.11.3/ibmpc/linux/bibclean
+drwxrwsr-x beebe/staff 0 Jul 1 20:10 1996 bibclean-2.11.3/save/
+-r--r--r-- beebe/staff 31342 May 3 10:01 1996 bibclean-2.11.3/save/Makefile
+-r--r--r-- beebe/staff 5246 May 2 16:36 1996 bibclean-2.11.3/save/config.h
+-r-xrwxr-x beebe/staff 51659 May 4 08:23 1996 bibclean-2.11.3/save/configure
+drwxrwsr-x beebe/staff 0 Jul 1 20:10 1996 bibclean-2.11.3/vms/
+drwxrwsr-x beebe/staff 0 Jul 1 20:10 1996 bibclean-2.11.3/vms/alpha/
+-rw-r--r-- beebe/staff 419 Oct 8 09:26 1993 bibclean-2.11.3/vms/alpha/recomp.com
+-rw-r--r-- beebe/staff 499 Oct 8 09:26 1993 bibclean-2.11.3/vms/alpha/vmsclean.com
+-rw-r--r-- beebe/staff 1917 Oct 8 09:29 1993 bibclean-2.11.3/vms/alpha/vmsmake.com
+-rw-r--r-- beebe/staff 5468 Oct 16 20:06 1994 bibclean-2.11.3/vms/alpha/vmstest.com
+drwxrwsr-x beebe/staff 0 Jul 1 20:10 1996 bibclean-2.11.3/vms/vax/
+-rw-rw-r-- beebe/staff 1837 May 2 18:32 1996 bibclean-2.11.3/vms/vax/README
+-rw-r--r-- beebe/staff 121344 May 2 18:02 1996 bibclean-2.11.3/vms/vax/bibclean.exe
+-rw-r--r-- beebe/staff 37060 May 2 18:02 1996 bibclean-2.11.3/vms/vax/bibclean.obj
+-rw-r--r-- beebe/staff 21536 May 2 18:02 1996 bibclean-2.11.3/vms/vax/chek.obj
+-rw-r--r-- beebe/staff 5424 May 2 18:04 1996 bibclean-2.11.3/vms/vax/config.h
+-rw-r--r-- beebe/staff 72778 May 2 18:02 1996 bibclean-2.11.3/vms/vax/do.obj
+-rw-r--r-- beebe/staff 16572 May 2 18:02 1996 bibclean-2.11.3/vms/vax/fix.obj
+-rw-r--r-- beebe/staff 5866 May 2 18:02 1996 bibclean-2.11.3/vms/vax/fndfil.obj
+-rw-rw-r-- beebe/staff 67 May 2 15:54 1996 bibclean-2.11.3/vms/vax/getoneheader.com
+-rw-rw-r-- beebe/staff 8148 May 2 15:51 1996 bibclean-2.11.3/vms/vax/getvmsheaders.com
+-rw-r--r-- beebe/staff 18916 May 2 18:02 1996 bibclean-2.11.3/vms/vax/isbn.obj
+-rw-r--r-- beebe/staff 31593 May 2 18:02 1996 bibclean-2.11.3/vms/vax/keybrd.obj
+-rw-r--r-- beebe/staff 8549 May 2 18:02 1996 bibclean-2.11.3/vms/vax/match.obj
+-rw-r--r-- beebe/staff 31161 May 2 18:02 1996 bibclean-2.11.3/vms/vax/option.obj
+-rw-r--r-- beebe/staff 413 Oct 8 09:16 1993 bibclean-2.11.3/vms/vax/recomp.com
+-rw-r--r-- beebe/staff 3895 May 2 18:02 1996 bibclean-2.11.3/vms/vax/romtol.obj
+-rw-r--r-- beebe/staff 2575 May 2 18:02 1996 bibclean-2.11.3/vms/vax/strist.obj
+-rw-r--r-- beebe/staff 60071 May 2 18:02 1996 bibclean-2.11.3/vms/vax/vaxvms.obj
+-rw-r--r-- beebe/staff 489 Nov 25 07:49 1992 bibclean-2.11.3/vms/vax/vmsclean.com
+-rw-r--r-- beebe/staff 2910 May 2 17:12 1996 bibclean-2.11.3/vms/vax/vmsmake.com
+-rw-r--r-- beebe/staff 5827 May 2 08:54 1996 bibclean-2.11.3/vms/vax/vmstest.com
+-rw-r--r-- beebe/staff 16693 May 2 18:02 1996 bibclean-2.11.3/vms/vax/vmswild.obj
diff --git a/biblio/bibtex/utils/bibclean/bibclean.pdf b/biblio/bibtex/utils/bibclean/bibclean.pdf
new file mode 100644
index 0000000000..9c148d48a3
--- /dev/null
+++ b/biblio/bibtex/utils/bibclean/bibclean.pdf
Binary files differ
diff --git a/biblio/bibtex/utils/bibdb b/biblio/bibtex/utils/bibdb
new file mode 120000
index 0000000000..8a922f08d6
--- /dev/null
+++ b/biblio/bibtex/utils/bibdb
@@ -0,0 +1 @@
+../../../support/bibdb \ No newline at end of file
diff --git a/biblio/bibtex/utils/bibexport/README b/biblio/bibtex/utils/bibexport/README
new file mode 100644
index 0000000000..f2b9bf7a84
--- /dev/null
+++ b/biblio/bibtex/utils/bibexport/README
@@ -0,0 +1,27 @@
+ bibexport.sh -- extract BibTeX entries out of .bib file(s).
+ (Nicolas Markey -- <bibexport(at)markey.fr>)
+ version 3.03 -- 2019/03/30
+
+This is a shell script using BibTeX to extract .bib entries that are
+\cite'd in a document. It also permits to expand a BibTeX file,
+i.e. to develop abbreviations (except standard ones) and crossrefs.
+
+
+----------------------------------------------------------------------
+
+(c) 2019/03/30 Nicolas Markey <bibexport at markey dot fr>
+
+This work may be distributed and/or modified under the conditions of
+the LaTeX Project Public License, either version 1.3 of this license
+or (at your option) any later version. The latest version of this
+license is in
+ http://www.latex-project.org/lppl.txt
+and version 1.3 or later is part of all distributions of LaTeX version
+2005/12/01 or later.
+
+This work has the LPPL maintenance status `maintained'.
+The Current Maintainer of this work is Nicolas Markey.
+
+
+
+
diff --git a/biblio/bibtex/utils/bibexport/bibexport.dtx b/biblio/bibtex/utils/bibexport/bibexport.dtx
new file mode 100644
index 0000000000..8ba3261bdc
--- /dev/null
+++ b/biblio/bibtex/utils/bibexport/bibexport.dtx
@@ -0,0 +1,1569 @@
+% \iffalse meta-comment
+%
+% Copyright
+%<*driver>
+\documentclass{ltxdoc}
+\usepackage{doc}
+
+\def\script#1{\texttt{#1}}
+\def\ext#1{\texttt{.#1}}
+\def\var#1{\texttt{\$#1}}
+\def\entry#1{\texttt{@#1}}
+\def\lang#1{\textsc{#1}}
+\def\bst#1{\textsf{#1.bst}}
+\def\BibTeX{Bib\TeX}
+
+%%%\AtBeginDocument{\CodelineIndex\EnableCrossrefs}
+%%%\AtEndDocument{\PrintIndex}
+\begin{document}
+ \def\docdate{2019/03/30}
+ \def\fileversion{3.03}
+%%% Please also change date at the beginning of the script %%%
+%%% (VERSION and VDATE below) %%%
+ \DocInput{bibexport.dtx}
+\end{document}
+%</driver>
+%
+% \fi
+% \CheckSum{45}
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+%%
+%
+% \title{The \script{bibexport.sh} script}
+% \author{Nicolas Markey}
+% \date{\docdate}
+% \maketitle
+% \StopEventually{}
+%
+% \begin{abstract}
+% \script{bibexport.sh} is a small shell script, relying on \BibTeX, that
+% extracts entries of one or several \ext{bib} file(s). It~will expand
+% abbreviations and cross-references, except standard month and journal
+% abbreviations. The output is indented as neatly as possible, yielding a
+% readable \ext{bib} file even if the original file is~not.
+% \end{abstract}
+%
+%
+% \section{Exporting \ext{bib} files}
+%
+% \subsection{Why and how?}
+%
+% \BibTeX{} aims at allowing for the use of one single \ext{bib} file,
+% containing many entries, from which \BibTeX{} extracts only the
+% \verb+\cite+d ones. When sending a document to someone else, this
+% requires either sending the whole file, or extracting the \verb+\cite+d
+% entries from the \ext{bib} file.
+%
+% \BibTeX{} also has a mechanism for using abbreviations and
+% cross-references. When extracting entries of a large \ext{bib} file,
+% it can be interesting to develop those abbreviations, in order to get a
+% clean, self-contained \ext{bib} file. Also, it may be useful to develop
+% cross-references in a \ext{bib} file, independently of any document.
+%
+% \medskip
+% \script{bibexport} can either extract entries that are cited in a document,
+% or all the entries of one or several \ext{bib} files. It will always develop
+% cross-references and abreviations, except standard abbreviations for months or
+% some journals, that are defined in standard \BibTeX{} styles. This script
+% uses \BibTeX{}. This has both pros and cons:
+% \begin{itemize}
+%\item[$+$] it is very simple. Basicaly, the script simply calls \BibTeX{}, and the
+% \ext{bst} file just outputs the name and the content of each field.
+%\item[$+$] since it uses \BibTeX, we are sure that it will handle everything
+% "properly", \emph{i.e.} in the same way as they will be handled when cited in
+% a \LaTeX{} document;
+%\item[$=$] \BibTeX{} has some strict limitations (especially "no more than 78 consecutive
+% non-space characters") that we must be aware~of. On~the other hand, any such
+% problem occuring within the script would also occur when compiling a
+% document;
+%\item[$-$] abbreviations and cross-references will \emph{always} be
+% developped. It~could be argued that this is also a positive point, but
+% having the choice would be better.
+%\item[$-$] Many people seem to find \BibTeX's internal language clumsy, and thus
+% the script could be difficult to adapt to special needs. However, this is
+% not \emph{that} difficult, as will be explained later~on. In the present case,
+% adding more fields to be exported is quite easy.
+% \end{itemize}
+%
+% \subsection{Related scripts}
+%
+% Several other tools exist for achieving this task:
+% \begin{itemize}
+%\item \verb+aux2bib+, written by Ralf Treinen, relies on \verb+bib2bib+,
+% which is a \lang{CaML} program for selecting some entries in one or several \ext{bib}
+% files. It does not expand anything, but includes all the necessary
+% definitions and entries.
+%\item \verb+bibextract.sh+, by Nelson Beebe. This script uses \lang{awk} for
+% extracting some entries out of a \ext{bib} file. It~is said not to be
+% compliant with cross-references.
+%\item \bst{subset}, by David Kotz. \bst{export} develops the same ideas (but
+% I discovered that only later~on). \bst{subset} does not handle
+% \entry{preamble}, neither does it "protect" standard abbreviations.
+% \end{itemize}
+%
+% \subsection{Some examples}
+%
+% \begin{itemize}
+%\item extracting \verb+\cite+d references of a document, also including
+% cross-references:
+%\begin{center}
+% \ttfamily bibexport.sh -o {\itshape <result>}.bib {\itshape <file>}.aux
+%\end{center}
+%\item extracting \verb+\cite+d references of a document, without crossrefs,
+% and using a special \ext{bst} file:
+%\begin{center}
+% \ttfamily bibexport.sh -b {\itshape <style>}.bst -o {\itshape <result>}.bib {\itshape <file>}.aux
+%\end{center}
+%\item export all the entries of two \ext{bib} files (including crossrefed entries):
+%\begin{center}
+% \ttfamily bibexport.sh -a -o {\itshape <result>}.bib {\itshape <file1>}.bib {\itshape <file2>}.bib
+%\end{center}
+%\item export all the entries of two \ext{bib} files (without crossrefs):
+%\begin{center}
+% \ttfamily bibexport.sh -a -n -o {\itshape <result>}.bib {\itshape <file1>}.bib
+% {\itshape <file2>}.bib
+%\end{center}
+% In fact, the only difference between this and the previous one is that
+% \texttt{crossref} field will be filtered out at the end of the script.
+%\item export all the entries of two \ext{bib} files, using an extra file
+% containing cross-referenced entries (which should not be included):
+%\begin{center}
+% \ttfamily bibexport.sh -a -e {\itshape <crossref>}.bib -n -o {\itshape
+% <result>}.bib \textbackslash\par {\itshape <file1>}.bib {\itshape <file2>}.bib
+%\end{center}
+%\end{itemize}
+%
+% \subsection{Exporting extra fields}
+%
+% By~default, \script{bibexport} exports only "standard" fields
+% (those defined and used in \bst{plain}), as~well as a few
+% others. It~is very easy to modify it in order to export other fields:
+% it~suffices to modify \bst{export} as follows:
+% \begin{itemize}
+% \item in the \texttt{ENTRY} list, add the name of the field you would
+% like to export. Notice that \texttt{ENTRY} takes three space-separated
+% lists as arguments; you must add extra fields in the first argument
+% (actually, the last two are empty).
+% \item in the function \texttt{entry.export.extra}, add a line of the
+% form
+% \begin{center}
+% \ttfamily
+% "myfield" myfield field.export
+% \end{center}
+% where \texttt{myfield} is the name of the extra field you want to
+% export.
+% \end{itemize}
+%
+% \subsection*{Acknowledgements}
+% I thank \'Eric Colin de Verdi\`ere, Richard Mathar, Harald Hanche-Olsen,
+% Damien Pollet, and Caner Kazanci for suggesting several improvements
+% or corrections.
+%
+% \section{The code}
+% \subsection{The shell script}
+% \subsubsection{Initialization}
+%
+%\begin{macro}{checkversion}
+% We check that the \ext{bst} files have the correct version number:
+% \begin{macrocode}
+%<*script>
+function checkversion()
+{
+ kpsewhich expcites.bst > /dev/null ||
+ echo "-----------
+--Warning-- file expcites.bst not found.
+-----------"
+ grep -q $VDATE `kpsewhich expkeys.bst` ||
+ echo "-----------
+--Warning-- the version of the .bst files does not match with that of this script.
+-----------"
+}
+%</script>
+% \end{macrocode}
+%\end{macro}
+%
+%\begin{macro}{usage}
+% We first define how the script should be used:
+% \begin{macrocode}
+%<*script>
+function usage()
+{
+echo "bibexport: a tool to extract BibTeX entries out of .bib files.
+usage: `basename $0` [-h|v|n|c|a|d|s|t] [-b|e|es|ec|o|r file] file...
+
+Basic options:
+--------------
+ -a, --all export the entire .bib files
+ -o bib, --output-file bib write output to file [default: bibexport.bib]
+ -ns, --nosave overwrite output file without keeping a copy
+ -p, --preamble write a preamble at beginning of output
+ -t, --terse operate silently
+ -h, --help print this message and exit
+ -v, --version print version number and exit
+
+Advanced options:
+-----------------
+ -b bst, --bst bst specifies the .bst style file [default: export.bst]
+ -c, --crossref preserve crossref field [default: no]
+ -n, --no-crossref remove crossref'd entries [default: no]
+ -e bib, --extra bib extra .bib file to be used (crossrefs and strings)
+ -es bib, --extras bib extra .bib file to be used (for strings)
+ -ec bib, --extrac bib extra .bib file to be used (for crossrefs)
+ -r bib, --replace bib replace .bib file(s) in the .aux file
+ -d, --debug create intermediate files but don't run BibTeX";
+exit 0;
+}
+%</script>
+% \end{macrocode}
+%\end{macro}
+%
+%\begin{macro}{opttoolate}
+% We also have a function to warn if extra options are given after
+% the names of input files, which is not allowed.
+% \begin{macrocode}
+%<*script>
+function opttoolate()
+{
+if [ ! -z "${TOOLATE}" ]; then
+ echo "No options are allowed after the input files";
+ exit 0;
+fi
+}
+%</script>
+% \end{macrocode}
+%\end{macro}
+%\begin{macro}{VERSION}
+%\begin{macro}{VDATE}
+%\begin{macro}{ALL}
+%\begin{macro}{CREF}
+%\begin{macro}{DEBUG}
+%\begin{macro}{FILE}
+%\begin{macro}{EXT}
+%\begin{macro}{EXTRA}
+%\begin{macro}{EXTRABIB}
+%\begin{macro}{REPLACEBIB}
+%\begin{macro}{NEWBIB}
+%\begin{macro}{SPACE}
+%\begin{macro}{BST}
+%\begin{macro}{TERSE}
+%\begin{macro}{BANNER}
+%\begin{macro}{NOSAVE}
+%\begin{macro}{ARGS}
+%\begin{macro}{TOOLATE}
+% We define the default value of some variables:
+% \begin{itemize}
+% \item \var{VERSION}: the version number;
+% \item \var{VDATE}: the release date;
+% \item \var{ALL}: a flag indicating that all entries of the given (\ext{bib})
+% file are to be exported;
+% \item \var{CREF}: the value of \verb+-min-crossrefs+;
+% \item \var{FILE}: the input file(s);
+% \item \var{EXT}: the extension (\ext{aux} or \ext{bib}) of input files;
+% \item \var{EXTRA}: list of possible extra \ext{bib} files without extension;
+% \item \var{EXTRABIB}: list of possible extra \ext{bib} files with extension;
+% \item \var{REPLACEBIB}: flag indicating that we will replace the \ext{bib}
+% file given in the \ext{aux} file with a new one;
+% \item \var{NEWBIB}: new \ext{bib} file to replace that fiven in the
+% \ext{aux} file;
+% \item \var{SPACE}: file name separator (can be \textvisiblespace, comma or empty);
+% \item \var{BST}: the \ext{bst} file to be used;
+% \item \var{TERSE}: run silently;
+% \item \var{BANNER}: don't print the initial comment;
+% \item \var{NOSAVE}: don't keep a copy if overwriting output file;
+% \item \var{ARGS}: the list of aruments passed to \texttt{bibexport.sh};
+% \item \var{TOOLATE}: options are not allowed once we have encountered the
+% first non-option argument.
+% \item \var{DEBUG}: create intermediate files but do not run BibTeX.
+% \end{itemize}
+% \begin{macrocode}
+%<*script>
+## Version number
+VERSION="3.03";
+## Release date
+VDATE="2019/03/30";
+
+# ALL is a flag set to 1 when '-a' is given
+ALL="";
+# FILE will be the main input file(s) (.aux or .bib, depending on '-a')
+FILE="";
+# EXT is the extension of the input file(s) (.aux, or .bib if '-a')
+EXT=".aux";
+# EXTRA and EXTRABIB are two copies of the extra files ('-e'), used to
+# include crossref'd entries and @string's
+EXTRA="";
+EXTRABIB="";
+# REPLACEBIB ('-r') is set to 1 when the \bibdata of the .aux input file
+# must be ignores (then '-e' must be used)
+REPLACEBIB="";
+# NEWBIB will contain the argument given to -r
+NEWBIB="";
+# BST is the .bst file to be used (default to export.bst)
+BST="export";
+# TERSE will be set to '-terse' if '-t' is given
+TERSE="";
+# NOSAVE if no need to save file before overwriting it
+NOSAVE=""
+# BANNER is used to turn on or off the preamble informations in the output
+BANNER="";
+# CREF is the number of citations of crossrefs from which the crossref'd entry
+# must be included.
+CREF="0";
+
+# SPACE will be either ' ' or ','
+SPACE="";
+# TOOLATE is used to prevent extra options after the main file
+TOOLATE="";
+# DEBUG is used to create files but not run BibTeX.
+DEBUG="";
+
+ARGS=$@;
+%</script>
+% \end{macrocode}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+%
+% \subsubsection{Handling arguments}
+%
+% If no argument have been supplied, we call \script{usage}. Otherwise, we
+% check version number.
+%
+% \begin{macrocode}
+%<*script>
+if [ $# -eq 0 ]; then
+ usage;
+fi
+checkversion;
+%</script>
+% \end{macrocode}
+%
+% Otherwise, we enter a \verb+while+-loop for handling the whole list of arguments:
+% \begin{macrocode}
+%<*script>
+while [ $# != 0 ]; do
+ case $1 in
+%</script>
+% \end{macrocode}
+%\begin{itemize}
+%\item \verb+-a+ or \verb+--all+: export all the bibliography. This
+% means that we input \ext{bib} files.
+% \begin{macrocode}
+%<*script>
+ -a|--all)
+ ## - export all entries in the input file(s)
+ ## - the input files are BibTeX files
+ opttoolate;
+ EXT=""; SPACE=""; ALL="a";
+ shift ;;
+%</script>
+% \end{macrocode}
+%\item \verb+-b+ or \verb+--bst+: specifies the style file. It seems
+% that \BibTeX{} does not like the \texttt{./\textit{style}.bst}
+% syntax, and we have to handle that case separately.
+% \begin{macrocode}
+%<*script>
+ -b|--bst)
+ ## - specifies the .bst file to use (default to 'export.bst')
+ opttoolate;
+ if [ "`dirname $2`" = "." ]; then
+ DOLLARTWO="`basename $2 .bst`";
+ else
+ DOLLARTWO="`dirname $2`/`basename $2 .bst`";
+ fi
+ BST="${DOLLARTWO}";
+ shift 2;;
+%</script>
+% \end{macrocode}
+%\item \verb+-d+ or \verb+--debug+: only creates (and preserves) the
+% intermediate files. This can help finding problems with the script or
+% \ext{bst} files.
+% \begin{macrocode}
+%<*script>
+ -d|--debug)
+ ## - debug mode: we create files but do not run bibtex
+ ## - instead, we print what we would have done...
+ opttoolate;
+ DEBUG="a";
+ shift ;;
+%</script>
+% \end{macrocode}
+%\item \verb+-e+ or \verb+--extra+: when we want to export all the
+% entries of a \ext{bib} file, we can specify an extra \ext{bib} file
+% that would contain entries that we don't want to export, but that
+% are needed, \emph{e.g.} for crossrefs.
+% \begin{macrocode}
+%<*script>
+ -e|--extra)
+ ## - extra input files (containing crossrefs or strings)
+ ## - they will be included twice: once before the main file(s)
+ ## (for @string's), once after (for crossrefs). We fool BibTeX
+ ## by naming the first one 'file.bib' and the second one
+ ## 'file.bib.bib', to avoid complaints.
+ opttoolate;
+ if [ "`dirname $2`" = "." ]; then
+ DOLLARTWO="`basename $2 .bib`";
+ else
+ DOLLARTWO="`dirname $2`/`basename $2 .bib`";
+ fi
+ EXTRA="${EXTRA}${DOLLARTWO},";
+ EXTRABIB="${EXTRABIB},${DOLLARTWO}.bib";
+ shift 2;;
+%</script>
+% \end{macrocode}
+%\item \verb+-es+ or \verb+--extras+: if, for some reason, including extra
+% files twice is not possible, this options provides a way of including extra
+% \ext{bib} files only before the main \ext{bib} file(s).
+% \begin{macrocode}
+%<*script>
+ -es|--extras)
+ ## - extra input files (containing strings)
+ ## - will be included *before* the main files (hence not suitable
+ ## for crossrefs)
+ opttoolate;
+ if [ "`dirname $2`" = "." ]; then
+ DOLLARTWO="`basename $2 .bib`";
+ else
+ DOLLARTWO="`dirname $2`/`basename $2 .bib`";
+ fi
+ EXTRA="${EXTRA}${DOLLARTWO},";
+ shift 2;;
+%</script>
+% \end{macrocode}
+%\item \verb+-ec+ or \verb+--extrac+: similar to te previous one, but for
+% file(s) included after the main \ext{bib} file(s).
+% \begin{macrocode}
+%<*script>
+ -ec|--extrac)
+ ## - extra input files (containing crossrefs)
+ ## - will be included only *after* the main files (hence not
+ ## suitable for @string's)
+ opttoolate;
+ if [ "`dirname $2`" = "." ]; then
+ DOLLARTWO="`basename $2 .bib`";
+ else
+ DOLLARTWO="`dirname $2`/`basename $2 .bib`";
+ fi
+ EXTRABIB="${EXTRABIB},${DOLLARTWO}.bib";
+ shift 2;;
+%</script>
+% \end{macrocode}
+%\item \verb+-o+ or \verb+--output+: the name of the output file.
+% \begin{macrocode}
+%<*script>
+ -o|--output-file)
+ ## - name of the output file
+ ## - we force it to end with '.bib'
+ opttoolate;
+ if [ "`dirname $2`" = "." ]; then
+ DOLLARTWO="`basename $2 .bib`";
+ else
+ DOLLARTWO="`dirname $2`/`basename $2 .bib`";
+ fi
+ OUTPUT="${DOLLARTWO}.bib";
+ shift 2 ;;
+%</script>
+% \end{macrocode}
+%\item \verb+-c+ or \verb+--crossref+ (or others): this options means
+% that we want crossrefs to be included. Note that for any entry,
+% field inheritage will be performed.
+% \begin{macrocode}
+%<*script>
+ -c|--crossref|--crossrefs|--with-crossref|--with-crossrefs)
+ ## - whether or not to preserve 'crossref' keys.
+ ## - by default, they are removed, but crossref'd entries are
+ ## included.
+ ## - crossrefs are *always* expanded anyway.
+ opttoolate;
+ CREF="1" ;
+ shift ;;
+%</script>
+% \end{macrocode}
+%\item \verb+-n+ or \verb+--no-crossref+: don't include crossref'ed
+% entries.
+% \begin{macrocode}
+%<*script>
+ -n|--no-crossref|--without-crossref|--no-crossrefs|--without-crossrefs)
+ ## - to remove crossref'd entries (hence remove 'crossref' keys).
+ opttoolate;
+ CREF="20000" ;
+ shift ;;
+%</script>
+% \end{macrocode}
+%\item \verb+-r+ or \verb+--replace+: this provides a way of replacing the
+% \ext{bib} files given by \cmd{bibdata} in the \ext{aux} file with (a) new
+% one(s).
+% \begin{macrocode}
+%<*script>
+ -r|--replace)
+ ## - to replace the file(s) given in \bibdata in the .aux file with
+ ## (a) new one(s).
+ opttoolate;
+ REPLACEBIB="a";
+ if [ "`dirname $2`" = "." ]; then
+ DOLLARTWO="`basename $2 .bib`";
+ else
+ DOLLARTWO="`dirname $2`/`basename $2 .bib`";
+ fi
+ NEWBIB="${NEWBIB}${DOLLARTWO}.bib,";
+ shift 2;;
+%</script>
+% \end{macrocode}
+%\item \verb+-v+ or \verb+--version+ for version number:
+% \begin{macrocode}
+%<*script>
+ -v|--version)
+ echo "This is bibexport v${VERSION} (released ${VDATE})"; exit 0;;
+%</script>
+% \end{macrocode}
+%\item \verb+-ns+ or \verb+--nosave+ for not keeping a copy
+% of the output file if we overwrite it:
+% \begin{macrocode}
+%<*script>
+ -ns|--nosave|--no-save)
+ NOSAVE="a";
+ shift ;;
+%</script>
+% \end{macrocode}
+%\item \verb+-p+ or \verb+--preamble+ for inserting some informations
+% at the beginning of the output file:
+% \begin{macrocode}
+%<*script>
+ -p|--preamble|--with-preamble)
+ BANNER="a";
+ shift ;;
+%</script>
+% \end{macrocode}
+%\item \verb+-t+ or \verb+--terse+ for asking \BibTeX{} to run silently:
+% \begin{macrocode}
+%<*script>
+ -t|--terse|--silent)
+ TERSE=" -terse ";
+ shift ;;
+%</script>
+% \end{macrocode}
+%\item other dash-options are erroneous (except \verb+-h+, but...):
+% \begin{macrocode}
+%<*script>
+ -*)
+ usage;;
+%</script>
+% \end{macrocode}
+%\item there should only remain file names: we add those names to the
+% list of files.
+% \begin{macrocode}
+%<*script>
+ *)
+ ## - list of input files
+ ## - we ensure that no extra option is given later...
+ TOOLATE="a";
+ if [ "`dirname $1`" = "." ]; then
+ DOLLARONE="`basename $1 ${EXT}`";
+ else
+ DOLLARONE="`dirname $1`/`basename $1 ${EXT}`";
+ fi
+ FILE="${FILE}${SPACE}${DOLLARONE}${EXT}";
+ if [ -z "${ALL}" ]; then
+ SPACE=" ";
+ else
+ SPACE=",";
+ fi;
+ shift;;
+%</script>
+% \end{macrocode}
+% \end{itemize}
+% That's all folks:
+% \begin{macrocode}
+%<*script>
+ esac
+done
+%</script>
+% \end{macrocode}
+%
+% \subsubsection{The core of the script}
+%
+% We first set the name of the result and intermediary files:
+% \begin{macrocode}
+%<*script>
+FINALFILE=${OUTPUT};
+if [ ! "${FINALFILE}" ]; then
+ FINALFILE="bibexport.bib";
+fi
+TMPFILE="bibexp.`date +%s`";
+%</script>
+% \end{macrocode}
+%
+% We then create the \ext{aux} file for the main run of \BibTeX. Note
+% that this could call \BibTeX, with the \bst{expkeys} file, in the
+% case where we want to export all entries of a \ext{bib} file but not
+% crossrefs. Note how, in that case, we trick \BibTeX for inputing
+% extra files twice: we include then with their short name first (with
+% no extension), and then with the full name. We \emph{need} to do that,
+% since \verb+string+ abbreviations must be defined first, while
+% crossrefs must occur after having been referenced.
+%
+% \begin{macrocode}
+%<*script>
+if [ -z "${EXT}" ]; then ## we export all entries
+ if [ -z "${EXTRA}" ]; then ## we have no extra files
+ cat > ${TMPFILE}.aux <<EOF
+\citation{*}
+\bibdata{${FILE}}
+\bibstyle{${BST}}
+EOF
+ else ## we have extra files (e.g. for crossrefs) but want all entries from ${FILE}
+ ## we first extract the keys to be used:
+ cat > ${TMPFILE}.aux <<EOF
+\citation{*}
+\bibdata{${FILE}}
+\bibstyle{expkeys}
+EOF
+ ## This run may generate errors. We redirect the output:
+ bibtex -min-crossrefs=${CREF} -terse ${TMPFILE} >/dev/null 2>&1;
+ mv -f ${TMPFILE}.bbl ${TMPFILE}.aux;
+ ## and then prepare the .aux file for exporting:
+ cat >> ${TMPFILE}.aux <<EOF
+\bibdata{${EXTRA}${FILE}${EXTRABIB}}
+\bibstyle{${BST}}
+EOF
+ fi
+else ## we only export entries listed in the given .aux file:
+ if [ -z "${REPLACEBIB}" ]; then
+ cat ${FILE} | sed -e "s/bibstyle{.*}/bibstyle{${BST}}/" > ${TMPFILE}.aux;
+ else
+ cat ${FILE} | sed -e "s/bibstyle{.*}/bibstyle{${BST}}/" \
+ -e "s|bibdata{.*}|bibdata{${EXTRA}${NEWBIB%,}${EXTRABIB}}|" > ${TMPFILE}.aux;
+ fi
+fi
+%</script>
+% \end{macrocode}
+%
+% This was the hard part. We now call \BibTeX, clean and rename the
+% output file, and remove intermediary files:
+%
+% \begin{macrocode}
+%<*script>
+if [ -z "$DEBUG" ]; then
+ bibtex -min-crossrefs=${CREF} ${TERSE} ${TMPFILE};
+ if [ -e ${FINALFILE} ] && [ -z "${NOSAVE}" ]; then
+ mv ${FINALFILE} ${FINALFILE}-save-`date "+%Y.%m.%d:%H.%M.%S"`
+ fi
+ echo "" > ${FINALFILE}
+else
+ echo "bibtex -min-crossrefs=${CREF} ${TERSE} ${TMPFILE};"
+ if [ -e ${FINALFILE} ] && [ -z "${NOSAVE}" ]; then
+ echo "mv ${FINALFILE} ${FINALFILE}-save-`date \"+%Y.%m.%d:%H.%M.%S\"`"
+ fi
+ echo "echo \"\" > ${FINALFILE}"
+fi
+if [ ! -z "${BANNER}" ]; then
+ ## list of cited entries
+ if [ -z "$DEBUG" ]; then
+ sed -i -e "s/\\\bibstyle{.*}/\\\bibstyle{expcites}/" ${TMPFILE}.aux
+ mv ${TMPFILE}.aux ${TMPFILE}-cites.aux
+ bibtex -terse -min-crossrefs=${CREF} ${TMPFILE}-cites
+ echo -ne "@comment{generated using bibexport:\n" >> ${FINALFILE};
+ echo -ne " creation date:\t`date +\"%c\"`\n" >> ${FINALFILE};
+ echo -ne " command:\t\t`basename $0` ${ARGS}\n" >> ${FINALFILE};
+ if [ -z "${EXT}" ]; then
+ echo -ne " source files:\t\t${FILETAB}\t\t\t${EXTRABIBTAB}\n" >> ${FINALFILE}; \
+ fi
+ cat ${TMPFILE}-cites.bbl >> ${FINALFILE};
+ #echo -ne " bibexport-version:\tv${VERSION} (${VDATE})\n" >> ${FINALFILE};
+ #echo -ne " bibexport-maintainer:\tNicolas Markey <bibexport(at)markey.fr>\n" >> ${FINALFILE};
+ sed -i -e "s/}/)/g" ${FINALFILE};
+ echo -n -e "}\n\n\n" >> ${FINALFILE};
+ rm -f ${TMPFILE}-cites.bbl ${TMPFILE}-cites.aux ${TMPFILE}-cites.blg
+ fi
+fi
+if [ ${CREF} -ne 1 ]; then
+ if [ -z "$DEBUG" ]; then
+ egrep -iv '^ *crossref *= *[^,]+,?$' \
+ ${TMPFILE}.bbl >> ${FINALFILE};
+ else
+ echo "egrep -iv '^ *crossref *= *[^,]+,?$' ${TMPFILE}.bbl >> ${FINALFILE};"
+ fi
+else
+ if [ -z "$DEBUG" ]; then
+ cat ${TMPFILE}.bbl >> ${FINALFILE};
+ else
+ echo "cat ${TMPFILE}.bbl >> ${FINALFILE};"
+ fi
+fi
+if [ -z "$DEBUG" ]; then
+ rm -f ${TMPFILE}.bbl ${TMPFILE}.aux ${TMPFILE}.blg;
+else
+ echo "rm -f ${TMPFILE}.bbl ${TMPFILE}.aux ${TMPFILE}.blg";
+fi
+%</script>
+% \end{macrocode}
+%
+%
+% \subsection{The \bst{expkeys} file}
+%
+% The only role of that file is to export the list of entries to be
+% exported. It is used when we export all the entries of \ext{bib}
+% files, except those of \emph{extra} \ext{bib} files.
+% Thus:
+% \begin{macrocode}
+%<*expkeys>
+ENTRY{}{}{}
+READ
+FUNCTION{export.key}
+{
+ "\citation{" cite$ "}" * * write$ newline$
+}
+ITERATE{export.key}
+%</expkeys>
+% \end{macrocode}
+%
+% \subsection{The \bst{expcites} file}
+%
+% This file is used for exporting and formating the list of \verb+\cite+d entries.
+% We begin with some parameters defining the margins
+% \subsubsection{Some configuration values}
+% \begin{macro}{left.width}
+% \begin{macro}{right.width}
+% \begin{macro}{url.right.width}
+% \begin{macro}{left.short.width}
+% \begin{macro}{right.short.width}
+% \begin{macro}{left.delim}
+% \begin{macro}{right.delim}
+% \begin{macrocode}
+%<*expcites>
+FUNCTION{left.width}{#23}
+FUNCTION{right.width}{#55}
+FUNCTION{url.right.width}{#61}
+FUNCTION{left.short.width}{#10} %% for @preamble
+FUNCTION{right.long.width}{#63}
+FUNCTION{left.delim}{quote$}
+FUNCTION{right.delim}{quote$}
+%</expcites>
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \subsubsection{Entries}
+% We only want to export \verb+\cite+d keys, so we won't use any field.
+% \begin{macro}{ENTRY}
+% \begin{macrocode}
+%<*expcites>
+ENTRY{dummy}{}{}
+%</expcites>
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{Basic functions}
+%
+%\begin{macro}{or}
+%\begin{macro}{and}
+%\begin{macro}{not}
+% \begin{macrocode}
+%<*expcites>
+FUNCTION{not}
+{
+ {#0}
+ {#1}
+ if$
+}
+FUNCTION{and}
+{
+ 'skip$
+ {pop$ #0}
+ if$
+}
+FUNCTION{or}
+{
+ {pop$ #1}
+ 'skip$
+ if$
+}
+%</expcites>
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \subsubsection{Splitting strings}
+%
+% We design functions for splitting strings, so that the final
+% \ext{bib} file will be cleanly indented.
+% \begin{macro}{space.complete}
+% \begin{macro}{split.string}
+% \begin{macrocode}
+%<*expcites>
+INTEGERS{left.length right.length}
+STRINGS{ s t }
+INTEGERS{bool cpt}
+FUNCTION{space.complete}
+{
+ 'left.length :=
+ duplicate$ text.length$ left.length swap$ -
+ {duplicate$ #0 >}
+ {
+ swap$ " " * swap$ #1 -
+ }
+ while$
+ pop$
+}
+FUNCTION{split.string}
+{
+ 'right.length :=
+ duplicate$ right.length #1 + #1 substring$ "" =
+ {""}
+ {
+ 's :=
+ right.length
+ {duplicate$ duplicate$ s swap$ #1 substring$ " " = not and}
+ {#1 -}
+ while$
+ duplicate$ #2 <
+ {
+ pop$ " " s * ""
+ }
+ {
+ duplicate$ s swap$ #1 swap$ substring$
+ swap$
+ s swap$ global.max$ substring$
+ }
+ if$
+ }
+ if$
+}
+%</expcites>
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \subsubsection{Exporting cited entries}
+%
+% Now we initialize, and export \verb+\cite+d entries.
+%\begin{macro}{init.cited.keys}
+%\begin{macro}{write.cited.keys}
+%\begin{macro}{write.cited.keys.last}
+%\begin{macro}{write.nbkeys}
+%\begin{macro}{cited.keys}
+%\begin{macro}{end.cited.keys}
+% \begin{macrocode}
+%<*expcites>
+FUNCTION{init.cited.keys}
+{
+ left.delim 's :=
+ #0 'bool :=
+ #0 'cpt :=
+}
+FUNCTION{write.cited.keys}
+{
+ bool
+ {"" left.width space.complete swap$}
+ {" list of keys: " left.width space.complete swap$
+ #1 'bool :=}
+ if$
+ {duplicate$ text.length$ right.width >}
+ {
+ right.width split.string 't :=
+ *
+ write$ newline$
+ "" left.width space.complete t
+ }
+ while$
+ pop$ pop$ t
+}
+FUNCTION{write.cited.keys.last}
+{
+ bool
+ {"" left.width space.complete swap$}
+ {" list of keys: " left.width space.complete swap$
+ #1 'bool :=}
+ if$
+ {duplicate$ duplicate$ text.length$ #1 substring$ "," = not}
+ {duplicate$ text.length$ #1 - #1 swap$ substring$}
+ while$
+ duplicate$ text.length$ #1 - #1 swap$ substring$
+ right.delim * "," *
+ {duplicate$ "" = not}
+ {
+ right.width split.string 't :=
+ *
+ write$ newline$
+ "" left.width space.complete t
+ }
+ while$
+ pop$ pop$
+}
+FUNCTION{write.nbkeys}
+{
+ " number of entries: " left.width space.complete
+ " " *
+ cpt int.to.str$ * "," * write$ newline$
+}
+FUNCTION{cited.keys}
+{
+ cpt #1 + 'cpt :=
+ s cite$ ", " * * 's :=
+ s text.length$ #4000 >
+ {s write.cited.keys 's :=}
+ 'skip$
+ if$
+}
+FUNCTION{end.cited.keys}
+{
+ s write.cited.keys.last
+ write.nbkeys
+}
+%</expcites>
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \subsubsection{Now, we export...}
+%
+% We now export everything...
+% \begin{macrocode}
+%<*expcites>
+FUNCTION{article}{cited.keys}
+FUNCTION{book}{cited.keys}
+FUNCTION{booklet}{cited.keys}
+FUNCTION{conference}{cited.keys}
+FUNCTION{habthesis}{cited.keys}
+FUNCTION{inbook}{cited.keys}
+FUNCTION{incollection}{cited.keys}
+FUNCTION{inproceedings}{cited.keys}
+FUNCTION{journals}{cited.keys}
+FUNCTION{manual}{cited.keys}
+FUNCTION{mastersthesis}{cited.keys}
+FUNCTION{misc}{cited.keys}
+FUNCTION{phdthesis}{cited.keys}
+FUNCTION{proceedings}{cited.keys}
+FUNCTION{techreport}{cited.keys}
+FUNCTION{unpublished}{cited.keys}
+READ
+EXECUTE{init.cited.keys}
+ITERATE{cited.keys}
+EXECUTE{end.cited.keys}
+%</expcites>
+% \end{macrocode}
+%
+% \subsection{The \bst{export} file}
+%
+% \subsubsection{Some configuration values}
+% \begin{macro}{left.width}
+% \begin{macro}{right.width}
+% \begin{macro}{url.right.width}
+% \begin{macro}{left.short.width}
+% \begin{macro}{right.short.width}
+% \begin{macro}{left.delim}
+% \begin{macro}{right.delim}
+% We define here the indentation values, and the field
+% delimiters. \emph{short} width are used for \entry{preamble}.
+% \begin{macrocode}
+%<*export>
+FUNCTION{left.width}{#18}
+FUNCTION{right.width}{#55}
+FUNCTION{url.right.width}{#61}
+FUNCTION{left.short.width}{#10} %% for @preamble
+FUNCTION{right.long.width}{#63}
+FUNCTION{left.delim}{"{"}
+FUNCTION{right.delim}{"}"}
+%FUNCTION{left.delim}{quote$}
+%FUNCTION{right.delim}{quote$}
+%</export>
+% \end{macrocode}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+% \subsubsection{Entries}
+% We use standard entries here. Of course, more entries could be added
+% for special \ext{bib} files. Those extra entries will also have to
+% be added in the main exporting function.
+% \begin{macro}{ENTRY}
+% \begin{macrocode}
+%<*export>
+ENTRY{
+% Standard fields:
+ address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+% Special (but still somewhat standard) fields (natbib, germbib, DBLP, ...):
+ abstract
+ acronym
+ annote
+ biburl
+ bibsource
+ doi
+ eid
+ isbn
+ issn
+ language
+ timestamp
+ url
+ urn
+}{}{}
+%</export>
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{Basic functions}
+%
+% No comment.
+%\begin{macro}{or}
+%\begin{macro}{and}
+%\begin{macro}{not}
+% \begin{macrocode}
+%<*export>
+FUNCTION{not}
+{
+ {#0}
+ {#1}
+ if$
+}
+FUNCTION{and}
+{
+ 'skip$
+ {pop$ #0}
+ if$
+}
+FUNCTION{or}
+{
+ {pop$ #1}
+ 'skip$
+ if$
+}
+%</export>
+% \end{macrocode}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+% \subsubsection{Splitting strings}
+%
+% We design functions for splitting strings, so that the final
+% \ext{bib} file will be cleanly indented. This is also crucial
+% to avoid long URLs.
+% \begin{macro}{space.complete}
+% \begin{macro}{split.string}
+% \begin{macro}{split.url}
+% \begin{macro}{split.name}
+% \begin{macrocode}
+%<*export>
+INTEGERS{left.length right.length}
+STRINGS{ s t }
+FUNCTION{space.complete}
+{
+ 'left.length :=
+ duplicate$ text.length$ left.length swap$ -
+ {duplicate$ #0 >}
+ {
+ swap$ " " * swap$ #1 -
+ }
+ while$
+ pop$
+}
+FUNCTION{split.string}
+{
+ 'right.length :=
+ duplicate$ right.length #1 + #1 substring$ "" =
+ {""}
+ {
+ 's :=
+ right.length
+ {duplicate$ duplicate$ s swap$ #1 substring$ " " = not and}
+ {#1 -}
+ while$
+ duplicate$ #2 <
+ {
+ pop$ " " s * ""
+ }
+ {
+ duplicate$ s swap$ #1 swap$ substring$
+ swap$
+ s swap$ global.max$ substring$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION{split.url}
+{
+ 'right.length :=
+ duplicate$ right.length #1 + #1 substring$ "" =
+ {""}
+ {
+ 's :=
+ right.length
+ {duplicate$ duplicate$ s swap$ #1 substring$
+ duplicate$ "/" = swap$
+ duplicate$ "&" = swap$
+ duplicate$ "?" = swap$
+ duplicate$ "-" = swap$
+ ":" = or or or or not and}
+ {#1 -}
+ while$
+ duplicate$ #2 <
+ {
+ pop$ " " s * ""
+ }
+ {
+ duplicate$ s swap$ #1 swap$ substring$
+ swap$ #1 +
+ s swap$ global.max$ substring$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION{split.name}
+{
+ 'right.length :=
+ duplicate$ right.length #1 + #1 substring$ "" =
+ {""}
+ {
+ 's :=
+ right.length
+ {duplicate$ duplicate$ s swap$ #5 substring$ " and " = not and}
+ {#1 -}
+ while$
+ duplicate$ #2 <
+ {
+ pop$ " " s * ""
+ }
+ {
+ #4 + duplicate$ s swap$ #1 swap$ substring$
+ swap$
+ s swap$ global.max$ substring$
+ }
+ if$
+ }
+ if$
+}
+%</export>
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \subsubsection{Exporting fields}
+%
+% Here, we have four exporting functions, since we also have to deal
+% with abbreviations:
+%\begin{macro}{field.export}
+%\begin{macro}{abbrv.export}
+%\begin{macro}{name.export}
+%\begin{macro}{url.export}
+% \begin{macrocode}
+%<*export>
+FUNCTION{field.export}
+{
+ duplicate$ missing$
+ 'skip$
+ {
+ left.delim swap$ * right.delim *
+ swap$
+ " " swap$ * " = " * left.width space.complete
+ swap$ "," *
+ {duplicate$ "" = not}
+ {
+ right.width split.string 't :=
+ *
+ write$ newline$
+ "" left.width space.complete t
+ }
+ while$
+ }
+ if$
+ pop$ pop$
+}
+FUNCTION{abbrv.export}
+{
+ duplicate$ missing$
+ 'skip$
+ {
+ swap$
+ " " swap$ * " = " * left.width space.complete
+ swap$ "," *
+ {duplicate$ "" = not}
+ {
+ right.width split.string 't :=
+ *
+ write$ newline$
+ "" left.width space.complete t
+ }
+ while$
+ }
+ if$
+ pop$ pop$
+}
+FUNCTION{name.export}
+{
+ duplicate$ missing$
+ 'skip$
+ {
+ left.delim swap$ * right.delim *
+ swap$
+ " " swap$ * " = " * left.width space.complete
+ swap$ "," *
+ {duplicate$ "" = not}
+ {
+ right.width split.name 't :=
+ *
+ write$ newline$
+ "" left.width space.complete t
+ }
+ while$
+ }
+ if$
+ pop$ pop$
+}
+FUNCTION{url.export}
+{
+ duplicate$ missing$
+ 'skip$
+ {
+ left.delim swap$ * right.delim *
+ swap$
+ " " swap$ * " = " * left.width space.complete
+ swap$ "," *
+ {duplicate$ "" = not}
+ {
+ url.right.width split.url 't :=
+ *
+ write$ newline$
+ "" left.width space.complete t
+ }
+ while$
+ }
+ if$
+ pop$ pop$
+}
+%</export>
+% \end{macrocode}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+% \subsubsection{Handling abbreviations}
+%
+% Abbreviations are difficult to deal with if we wish to still use
+% them, since \BibTeX will expand them before we can do anything. All we
+% can do is to define them in a special way, in order to be able to get
+% back to the abbreviations later on. This is precisely what we do:
+%\begin{macro}{jan-dec}
+%\begin{macro}{acmcs-tcs}
+%\begin{macro}{remove.exports.from.months}
+%\begin{macro}{remove.export.from.journal}
+% \begin{macrocode}
+%<*export>
+MACRO{jan}{"export-jan"}
+MACRO{feb}{"export-feb"}
+MACRO{mar}{"export-mar"}
+MACRO{apr}{"export-apr"}
+MACRO{may}{"export-may"}
+MACRO{jun}{"export-jun"}
+MACRO{jul}{"export-jul"}
+MACRO{aug}{"export-aug"}
+MACRO{sep}{"export-sep"}
+MACRO{oct}{"export-oct"}
+MACRO{nov}{"export-nov"}
+MACRO{dec}{"export-dec"}
+MACRO{acmcs}{"export-acmcs"}
+MACRO{acta}{"export-acta"}
+MACRO{cacm}{"export-cacm"}
+MACRO{ibmjrd}{"export-ibmjrd"}
+MACRO{ibmsj}{"export-ibmsj"}
+MACRO{ieeese}{"export-ieeese"}
+MACRO{ieeetc}{"export-ieeetc"}
+MACRO{ieeetcad}{"export-ieeetcad"}
+MACRO{ipl}{"export-ipl"}
+MACRO{jacm}{"export-jacm"}
+MACRO{jcss}{"export-jcss"}
+MACRO{scp}{"export-scp"}
+MACRO{sicomp}{"export-sicomp"}
+MACRO{tocs}{"export-tocs"}
+MACRO{tods}{"export-tods"}
+MACRO{tog}{"export-tog"}
+MACRO{toms}{"export-toms"}
+MACRO{toois}{"export-poois"}
+MACRO{toplas}{"export-toplas"}
+MACRO{tcs}{"export-tcs"}
+INTEGERS{ intxt }
+FUNCTION{remove.exports.from.months}
+{
+ #0 'intxt :=
+ duplicate$ missing$
+ 'skip$
+ {'t :=
+ ""
+ {t #1 #1 substring$ "" = not}
+ {
+ t #1 #7 substring$ "export-" =
+ {intxt
+ {right.delim * #0 'intxt :=}
+ 'skip$
+ if$
+ duplicate$ "" =
+ 'skip$
+ {" # " *}
+ if$
+ t #8 #3 substring$ *
+ t #11 global.max$ substring$ 't :=}
+ {intxt
+ 'skip$
+ {duplicate$ "" =
+ {}
+ {" # " *}
+ if$
+ left.delim * #1 'intxt :=}
+ if$
+ t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=}
+ if$
+ }
+ while$
+ intxt
+ {right.delim *}
+ 'skip$
+ if$
+ }
+ if$
+}
+FUNCTION{remove.export.from.journals}
+{
+ duplicate$ missing$
+ 'skip$
+ {
+ duplicate$ #1 #7 substring$ "export-" =
+ {#8 global.max$ substring$}
+ {left.delim swap$
+ right.delim * *}
+ if$
+ }
+ if$
+}
+%</export>
+% \end{macrocode}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+%
+% \subsubsection{Now, we export...}
+%
+% We gather everything. This is were special fields must be added for
+% being exported:
+%\begin{macro}{entry.export.standard}
+%\begin{macro}{entry.export.extra}
+%\begin{macro}{entry.export}
+%\begin{macro}{export}
+% \begin{macrocode}
+%<*export>
+FUNCTION{entry.export.standard}
+{
+ "address" address field.export
+ "author" author name.export
+ "booktitle" booktitle field.export
+ "chapter" chapter field.export
+ "crossref" crossref field.export
+ "edition" edition field.export
+ "editor" editor name.export
+ "howpublished" howpublished field.export
+ "institution" institution field.export
+ "journal" journal remove.export.from.journals abbrv.export
+ "key" key field.export
+ "month" month remove.exports.from.months abbrv.export
+ "note" note field.export
+ "number" number field.export
+ "organization" organization field.export
+ "pages" pages field.export
+ "publisher" publisher field.export
+ "school" school field.export
+ "series" series field.export
+ "type" type field.export
+ "title" title field.export
+ "volume" volume field.export
+ "year" year field.export
+}
+FUNCTION{entry.export.extra}
+{
+ "abstract" abstract field.export
+ "acronym" acronym field.export
+ "annote" annote field.export
+ "biburl" biburl url.export
+ "bibsource" bibsource field.export
+ "doi" doi field.export
+ "eid" eid field.export
+ "isbn" isbn field.export
+ "issn" issn field.export
+ "language" language field.export
+ "timestamp" timestamp field.export
+ "url" url url.export
+ "urn" urn url.export
+}
+FUNCTION{entry.export}
+{
+ entry.export.standard
+ entry.export.extra
+}
+FUNCTION{export}
+{
+ "@" type$ * "{" * cite$ * "," * write$ newline$
+ entry.export
+ "}" write$ newline$ newline$
+}
+%</export>
+% \end{macrocode}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+%
+% \subsubsection{Miscellanea}
+% We also have to handle preamble, and to define functions for each
+% entry type (we won't use them but otherwise, \BibTeX would complain).
+%
+%\begin{macro}{preamble}
+%\begin{macro}{header}
+%\begin{macro}{entries.headers}
+%\begin{macro}{article-unpublished}
+% \begin{macrocode}
+%<*export>
+FUNCTION{preamble}
+{
+preamble$ duplicate$ "" =
+ 'pop$
+ {
+ ",-------------------." write$ newline$
+ "| PREAMBLE |" write$ newline$
+ "`-------------------'" write$ newline$ newline$
+ "@preamble{ " swap$
+ quote$ swap$ * quote$ *
+ {duplicate$ "" = not}
+ {
+ right.long.width split.string 't :=
+ *
+ write$ newline$
+ "" left.short.width space.complete t
+ }
+ while$
+ "}" write$ newline$ newline$
+ pop$ pop$
+ }
+if$
+}
+FUNCTION{header}
+{
+%"** This file has been automatically generated by bibexport **"
+%write$ newline$
+%"** See http://people.irisa.fr/Nicolas.Markey/latex.php **"
+%write$ newline$
+%"** for more informations about bibexport. **"
+%write$ newline$
+newline$
+}
+FUNCTION{entries.header}
+{
+preamble$ "" =
+ 'skip$
+ {
+ ",-------------------." write$ newline$
+ "| BIBTEX ENTRIES |" write$ newline$
+ "`-------------------'" write$ newline$ newline$
+ }
+if$
+}
+FUNCTION{article}{export}
+FUNCTION{book}{export}
+FUNCTION{booklet}{export}
+FUNCTION{conference}{export}
+FUNCTION{habthesis}{export}
+FUNCTION{inbook}{export}
+FUNCTION{incollection}{export}
+FUNCTION{inproceedings}{export}
+FUNCTION{journals}{export}
+FUNCTION{manual}{export}
+FUNCTION{mastersthesis}{export}
+FUNCTION{misc}{export}
+FUNCTION{phdthesis}{export}
+FUNCTION{proceedings}{export}
+FUNCTION{techreport}{export}
+FUNCTION{unpublished}{export}
+%</export>
+% \end{macrocode}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+% \subsubsection{Main program}
+%
+% We now can execute and iterate those functions:
+%
+% \begin{macrocode}
+%<*export>
+READ
+EXECUTE{header}
+EXECUTE{preamble}
+EXECUTE{entries.header}
+ITERATE{export}
+%</export>
+% \end{macrocode}
+%
+% \Finale
+\endinput
diff --git a/biblio/bibtex/utils/bibexport/bibexport.ins b/biblio/bibtex/utils/bibexport/bibexport.ins
new file mode 100644
index 0000000000..507dd87c07
--- /dev/null
+++ b/biblio/bibtex/utils/bibexport/bibexport.ins
@@ -0,0 +1,76 @@
+%\NeedsTeXFormat{LaTeX2e}[1996/12/01]
+\input docstrip
+\def\filedate{2019/03/30}
+
+{\catcode`\#=12
+ \gdef\DoubleSharp{##}
+}
+
+\let\MetaPrefix\DoubleSharp
+\preamble
+
+(c) \filedate Nicolas Markey <bibexport at markey dot fr>
+
+This work may be distributed and/or modified under the conditions of
+the LaTeX Project Public License, either version 1.3 of this license
+or (at your option) any later version. The latest version of this
+license is in
+
+ http://www.latex-project.org/lppl.txt
+
+and version 1.3 or later is part of all distributions of LaTeX version
+2005/12/01 or later.
+
+This work has the LPPL maintenance status `maintained'.
+The Current Maintainer of this work is Nicolas Markey.
+
+\endpreamble
+\postamble
+\endpostamble
+{\catcode`\#=12\relax
+ \let\olddefaultpreamble\defaultpreamble
+ \xdef\defaultpreamble{%
+ #!/bin/bash^^J%
+ \olddefaultpreamble}
+}
+\generate{\file{bibexport.sh}{\from{bibexport.dtx}{script}}}
+
+%%
+%%
+%%
+
+\let\MetaPrefix\DoubleperCent
+\preamble
+
+(c) \filedate Nicolas Markey <bibexport at markey dot fr>
+
+This work may be distributed and/or modified under the conditions of
+the LaTeX Project Public License, either version 1.3 of this license
+or (at your option) any later version. The latest version of this
+license is in
+
+ http://www.latex-project.org/lppl.txt
+
+and version 1.3 or later is part of all distributions of LaTeX version
+2005/12/01 or later.
+
+This work has the LPPL maintenance status `maintained'.
+The Current Maintainer of this work is Nicolas Markey.
+
+\endpreamble
+\postamble
+\endpostamble
+\generate{\file{expkeys.bst}{\from{bibexport.dtx}{expkeys}}%
+ \file{expcites.bst}{\from{bibexport.dtx}{expcites}}%
+ \file{export.bst}{\from{bibexport.dtx}{export}}}
+
+%%
+%%
+%%
+
+\Msg{** To finish the installation, put all three .bst files in}
+\Msg{** a place where BibTeX can find them, put the shell script}
+\Msg{** where your shell can find it, and make it executable.}
+\Msg{** Run ``pdflatex bibexport.dtx'' to compile the documentation.}
+
+\end
diff --git a/biblio/bibtex/utils/bibexport/bibexport.pdf b/biblio/bibtex/utils/bibexport/bibexport.pdf
new file mode 100644
index 0000000000..5cfe66f7d6
--- /dev/null
+++ b/biblio/bibtex/utils/bibexport/bibexport.pdf
Binary files differ
diff --git a/biblio/bibtex/utils/bibextract/COPYING b/biblio/bibtex/utils/bibextract/COPYING
new file mode 100644
index 0000000000..d60c31a97a
--- /dev/null
+++ b/biblio/bibtex/utils/bibextract/COPYING
@@ -0,0 +1,340 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Library General
+Public License instead of this License.
diff --git a/biblio/bibtex/utils/bibextract/Makefile.in b/biblio/bibtex/utils/bibextract/Makefile.in
new file mode 100644
index 0000000000..e34d71b98c
--- /dev/null
+++ b/biblio/bibtex/utils/bibextract/Makefile.in
@@ -0,0 +1,245 @@
+### ====================================================================
+### Makefile for files in ~beebe/tex/bibextract.
+###
+### Current target list:
+### all standard top-level target
+### bibextract.tar tar archive file for ftp distribution
+### bibextract.zip Info-zip archive file for ftp
+### distribution
+### bibextract.zoo zoo archive file for ftp distribution
+### clean clean up temporary files
+### clobber remove all files that can be remade by
+### make
+### doc make ps, txt and spell targets
+### install install programs in system directories
+### install-ftp install programs in anonymous ftp
+### directories
+### spell make *.ser files from *.man files
+### test-version
+### txt make *.txt files from *.man files
+### uninstall remove programs from system directories
+### uninstall-ftp remove programs from anonymous ftp
+### directories
+### verify-checksums verify checksums in all files that have
+### them
+###
+### [25-Aug-2001] -- update for autoconf support
+### [27-Aug-1994]
+### ====================================================================
+
+### Change these to match local conventions:
+
+prefix = @prefix@
+
+BINDIR = $(prefix)/bin
+FTPDIR = /usr/spool/ftp/pub/tex/bib
+FTPDIR = /u/ftp/pub/tex/bib
+LIBDIR = $(prefix)/lib/bibextract
+LIBDIR = $(prefix)/share/lib/bibextract
+MANDIR = $(prefix)/man/man1
+MANEXT = 1
+
+###=======================================================================
+
+AWK = @AWK@
+
+AWKFILES = bibextract.awk citefind.awk citetags.awk
+
+BASENAMES = $(AWKFILES:.awk=)
+
+BINFILES = $(AWKFILES:.awk=.sh)
+
+CAT = @CAT@
+
+CHECKSUM = @CHECKSUM@
+
+CHMOD = @CHMOD@
+
+COL = @COL@
+
+CP = @CP@
+
+DEROFF = @DEROFF@
+
+DIST-FILES = COPYING Makefile.in README configure configure.in \
+ $(BINFILES) $(AWKFILES) $(MANFILES) $(PSFILES) $(TXTFILES) \
+ $(AWKFILES:.awk=.sok)
+
+EXPAND = @EXPAND@
+
+GZIP = @GZIP@
+
+HDRFILES = $(BINFILES) $(AWKFILES) $(MANFILES)
+
+LN = @LN@
+
+LS = @LS@
+
+MANFILES = $(AWKFILES:.awk=.man)
+
+MKDIR = @MKDIR@
+
+NROFF = @NROFF@
+
+PSFILES = $(MANFILES:.man=.ps)
+
+RM = @RM@ -f
+
+SED = @SED@
+
+SEDCMD = $(SED) -e 's=@LIBDIR@=$(LIBDIR)=g' \
+ -e 's=@BINDIR@=$(BINDIR)=g' \
+ -e 's=/bin/sed=$(SED)=g'
+
+SHELL = @SHELL@
+
+SPELL = @SPELL@
+
+SERFILES = $(AWKFILES:.awk=.ser)
+
+TAR = @TAR@
+
+TXTFILES = $(AWKFILES:.awk=.txt)
+
+UNZIP = @UNZIP@
+
+VERSION = `$(AWK) '/^\#\#\#[ \t]*version *= *"[0-9.]+", *$$/ \
+ { gsub(/[^0-9.]/,"",$$4); print $$4 }' bibextract.awk`
+
+ZIP = @ZIP@
+
+ZOO = @ZOO@
+
+###=======================================================================
+
+.SUFFIXES: .txt .ser .ps .man
+
+.man.ps:
+ $(SEDCMD) $< | $(NROFF) -Tps -man - >$@
+
+.man.ser:
+ $(DEROFF) $< | $(SPELL) +$*.sok >$*.ser
+ @if [ -s $*.ser ] ; \
+ then \
+ echo "Spelling exceptions in $*.ser" ; \
+ $(CAT) $*.ser ; \
+ fi
+
+.man.txt:
+ $(SEDCMD) $< | $(NROFF) -man - | $(COL) -b | $(EXPAND) >$@
+
+###=======================================================================
+
+all:
+ @echo 'There is nothing to make for this package: try "make check install"'
+
+bibextract.tar: $(DIST-FILES)
+ -$(RM) bibextract.tar bibextract.tar-lst
+ $(TAR) chf bibextract.tar $(DIST-FILES)
+ -mkdir bibextract-$(VERSION)
+ cd bibextract-$(VERSION); tar xf ../bibextract.tar
+ $(TAR) cf bibextract-$(VERSION).tar bibextract-$(VERSION)
+ -$(RM) -r bibextract-$(VERSION)
+ -$(RM) bibextract.tar
+ $(LN) bibextract-$(VERSION).tar bibextract.tar
+
+bibextract.zip: $(DIST-FILES)
+ -$(RM) bibextract*.zip
+ -$(RM) bibextract*.zip-lst
+ $(ZIP) bibextract-$(VERSION).zip $(DIST-FILES)
+ $(UNZIP) -v bibextract-$(VERSION).zip >bibextract-$(VERSION).zip-lst
+ $(LN) bibextract-$(VERSION).zip bibextract.zip
+
+bibextract.zoo: $(DIST-FILES)
+ -$(RM) bibextract*.zoo
+ -$(RM) bibextract*.zoo-lst
+ $(ZOO) a bibextract-$(VERSION).zoo $(DIST-FILES)
+ $(ZOO) v bibextract-$(VERSION).zoo >bibextract-$(VERSION).zoo-lst
+ $(LN) bibextract-$(VERSION).zoo bibextract.zoo
+
+check:
+ @echo This package does not yet have a validation suite.
+
+clean:
+ -$(RM) *.ps
+ -$(RM) *.ser
+ -$(RM) *.tar
+ -$(RM) *.tar-lst
+ -$(RM) *.txt
+ -$(RM) *.zip
+ -$(RM) *.zip-lst
+ -$(RM) *.zoo
+ -$(RM) *.zoo-lst
+ -$(RM) *~
+ -$(RM) \#*
+ -$(RM) a.out core
+
+clobber: distclean
+
+dist: bibextract.tar bibextract.zip bibextract.zoo
+
+distclean: mostlyclean
+ -$(RM) config.cache config.log config.status Makefile
+
+doc: spell txt ps
+
+install: uninstall $(AWKFILES) $(BINFILES) $(MANFILES)
+ -if [ ! -d $(LIBDIR) ] ; then mkdir $(LIBDIR) ; fi
+ for f in $(BASENAMES) ; \
+ do \
+ $(SEDCMD) $$f.sh | $(CHECKSUM) > $(BINDIR)/$$f ; \
+ $(SEDCMD) $$f.awk | $(CHECKSUM) > $(LIBDIR)/$$f.awk ; \
+ $(SEDCMD) $$f.man | $(CHECKSUM) > $(MANDIR)/$$f.$(MANEXT) ; \
+ $(CHMOD) 775 $(BINDIR)/$$f ; \
+ $(CHMOD) 664 $(LIBDIR)/$$f.awk ; \
+ $(CHMOD) 664 $(MANDIR)/$$f.$(MANEXT) ; \
+ done
+
+install-ftp: uninstall-ftp dist
+ $(TAR) tvf bibextract-$(VERSION).tar >$(FTPDIR)/bibextract-$(VERSION).tar-lst
+ $(GZIP) <bibextract-$(VERSION).tar \
+ >$(FTPDIR)/bibextract-$(VERSION).tar.gz
+ $(CP) bibextract-$(VERSION).zip $(FTPDIR)
+ $(CP) bibextract-$(VERSION).zip-lst $(FTPDIR)
+ $(CP) bibextract-$(VERSION).zoo $(FTPDIR)
+ $(CP) bibextract-$(VERSION).zoo-lst $(FTPDIR)
+ ls -l $(FTPDIR)/bibextract*
+
+maintainer-clean:
+ @echo "This command is intended for maintainers to use;"
+ @echo "it deletes files that may require special tools to rebuild."
+ -$(RM) configure
+
+mostlyclean: clean
+
+ps: $(PSFILES)
+
+spell: $(SERFILES)
+
+test-version:
+ @echo "Version number is ""'"$(VERSION)"'"
+
+txt: $(TXTFILES)
+
+uninstall:
+ -for f in $(BINFILES) ; \
+ do \
+ $(RM) $(BINDIR)/$$f $(LIBDIR)/$$f $(MANDIR)/$$f.$(MANEXT) ; \
+ done
+
+uninstall-ftp:
+ -$(RM) $(FTPDIR)/bibextract-$(VERSION).tar.z
+ -$(RM) $(FTPDIR)/bibextract-$(VERSION).tar-lst
+ -$(RM) $(FTPDIR)/bibextract-$(VERSION).zip
+ -$(RM) $(FTPDIR)/bibextract-$(VERSION).zip-lst
+ -$(RM) $(FTPDIR)/bibextract-$(VERSION).zoo
+ -$(RM) $(FTPDIR)/bibextract-$(VERSION).zoo-lst
+
+verify-checksums:
+ for f in $(HDRFILES) ; \
+ do \
+ echo $$f ; \
+ $(CHECKSUM) -v $$f ; \
+ done
+
+### ====================================================================
diff --git a/biblio/bibtex/utils/bibextract/README b/biblio/bibtex/utils/bibextract/README
new file mode 100644
index 0000000000..d1e7493ab2
--- /dev/null
+++ b/biblio/bibtex/utils/bibextract/README
@@ -0,0 +1,46 @@
+%% /u/sy/beebe/tex/bibextract/bibextract-1.09/README, Sat Aug 25 18:23:39 2001
+%% Edit by Nelson H. F. Beebe <beebe@math.utah.edu>
+%% Update for version 1.09.
+%% /u/sy/beebe/tex/bibextract/README, Sat May 16 09:10:30 1998
+%% Edit by Nelson H. F. Beebe <beebe@math.utah.edu>
+%% Update my address
+%% /u/sy/beebe/tex/bibextract/README, Wed Oct 21 10:31:39 1992
+%% Edit by Nelson H. F. Beebe <beebe@plot79.math.utah.edu>
+
+************************************************************************
+************************************************************************
+** This code is copyright under the GNU Public License; see the file **
+** COPYING for details. **
+************************************************************************
+************************************************************************
+
+This directory, bibextract, contains UNIX shell and awk programs for
+extracting citation tags from LaTeX source and .aux files, and for
+using those tags to extract bibliography entries from a list of BibTeX
+.bib files.
+
+On many UNIX and POSIX systems, installation is a one-line command:
+
+ ./configure && make all check install
+
+"make uninstall" will remove the programs and their documentation from
+the system directories.
+
+Comments, questions, and bug reports should be addressed to the author
+at the address below.
+
+See the Makefile leading comments for other make targets.
+
+Author:
+ Nelson H. F. Beebe
+ Center for Scientific Computing
+ University of Utah
+ Department of Mathematics, 322 INSCC
+ 155 S 1400 E RM 233
+ Salt Lake City, UT 84112-0090
+ USA
+ Email: beebe@math.utah.edu, beebe@acm.org,
+ beebe@computer.org, beebe@ieee.org (Internet)
+ WWW URL: http://www.math.utah.edu/~beebe
+ Telephone: +1 801 581 5254
+ FAX: +1 801 585 1640, +1 801 581 4148
diff --git a/biblio/bibtex/utils/bibextract/bibextract.awk b/biblio/bibtex/utils/bibextract/bibextract.awk
new file mode 100644
index 0000000000..3f65d0bfc3
--- /dev/null
+++ b/biblio/bibtex/utils/bibextract/bibextract.awk
@@ -0,0 +1,261 @@
+### ====================================================================
+### @Awk-file{
+### author = "Nelson H. F. Beebe",
+### version = "1.09",
+### date = "25 August 2001",
+### time = "17:44:41 MDT",
+### filename = "bibextract.awk",
+### address = "Center for Scientific Computing
+### University of Utah
+### Department of Mathematics, 322 INSCC
+### 155 S 1400 E RM 233
+### Salt Lake City, UT 84112-0090
+### USA",
+### telephone = "+1 801 581 5254",
+### FAX = "+1 801 585 1640, +1 801 581 4148",
+### URL = "http://www.math.utah.edu/~beebe",
+### checksum = "23217 261 1158 9297",
+### email = "beebe@math.utah.edu, beebe@acm.org,
+### beebe@computer.org, beebe@ieee.org (Internet)",
+### codetable = "ISO/ASCII",
+### keywords = "BibTeX, bibliography",
+### supported = "yes",
+### abstract = "This file is a template for bibextract.sh
+### to produce a temporary awk program for
+### extracting bibliography entries selected
+### by particular keywords.",
+### docstring = "*********************************************
+### This code is hereby placed in the PUBLIC
+### DOMAIN and may be redistributed without any
+### restrictions.
+### *********************************************
+###
+### NB: This file is not used directly by awk,
+### but rather is a template for bibextract.sh
+### to produce a temporary file with an awk
+### program to do the work. This subterfuge is
+### necessary because there is no convenient
+### way to provide a pattern for an awk program
+### at run time. The strings replaced by
+### bibextract.sh are upper-case versions of
+### 'keyword' and 'pattern'.
+###
+### Matching entries are found in each of the
+### file arguments as BibTeX bib files and
+### output to stdout. @preamble{} and
+### @string{} entries are automatically output
+### as well.
+###
+### Usage:
+### nawk -f bibextract.awk bibfile(s) >newbibfile
+###
+### To be recognized, bib entries must look like
+###
+### @keyword{tag,
+### ...
+### }
+###
+### where the start @ appears in column 1, and
+### the complete entry has balanced braces.
+###
+### The checksum field above contains a CRC-16
+### checksum as the first value, followed by the
+### equivalent of the standard UNIX wc (word
+### count) utility output of lines, words, and
+### characters. This is produced by Robert
+### Solovay's checksum utility.",
+### }
+### ====================================================================
+
+### Edit history (reverse chronological order):
+### [25-Aug-2001] 1.09 Update file header data, and output
+### GNU Emacs editing mode comment.
+### [19-Feb-1999] 1.08 Update file header data.
+### [16-May-1998] 1.07 Update file header data.
+### [24-Aug-1994] 1.06 Parenthesize substituted keyword and
+### pattern so that they can include
+### alternates, e.g. "author|editor".
+### Add match_keyword() to handle case of
+### `key = abbrev' as well as the old `key
+### = "value"'. Add output of `bibsource =
+### "URL"' lines when input is not from
+### stdin.
+### [23-Aug-1994] 1.05 Correct name of script in comment.
+### [22-Jul-1994] 1.04 Eliminate printbraceditem() in favor of
+### using collectbraceditem(), which now
+### checks for balanced braces to avoid
+### possibility of an infinite loop.
+### [17-Jul-1994] 1.03 Revise to output only those @String{...}
+### entries that are actually used by the
+### matched entries.
+### [30-Oct-1992] 1.02 Fix typographical error in bibextract.sh
+### [21-Oct-1992] 1.01 Update for public distribution
+### [08-May-1989] 1.00 original version
+
+BEGIN { "hostname" | getline hostname
+ "pwd" | getline cwd
+ URL_prefix = (hostname != "") ? ("file://" hostname) : ""
+ print "%%% -*-BibTeX-*-"
+ }
+
+# @string and @preamble -- collect up to paired closing brace
+
+/^@[Pp][Rr][Ee][Aa][Mm][Bb][Ll][Ee]{/ { # brace balance -> }
+ print collectbraceditem()
+ print ""
+}
+
+/^@[sS][tT][rR][iI][nN][gG]{/ { savestring() }
+
+# "@keyword{tag," -- collect up to line starting with right brace
+/^@[a-zA-Z0-9]*{/ {
+ item = collectbraceditem()
+ if ("KEYWORD" == "") # line is changed by bibextract.sh
+ {
+ if (lowercase(item) ~ /(PATTERN)/) # line is changed by bibextract.sh
+ save_entry(item)
+ }
+ else # match against text of selected field(s)
+ {
+ lcitem = lowercase(item)
+ match_keyword(lcitem)
+ while (RLENGTH > 0)
+ { # loop over all keyword-pattern matches
+ field = substr(lcitem,RSTART,RLENGTH)
+# if (RLENGTH > 0)
+# printf ("%%DEBUG%% %s\n",field)
+ if (field ~ /(PATTERN)/) # line is changed by bibextract.sh
+ {
+ save_entry(item)
+ break # exit loop after printing
+ }
+ lcitem = substr(lcitem,RSTART+RLENGTH)
+ match_keyword(lcitem)
+ }
+ }
+ }
+
+END {
+
+ for (m = 0; m < num_string; ++m)
+ { # print just those @String{...} entries used
+# print "DEBUG: [" abbrev[m] "]"
+ for (k = 0; k < num_entry; ++k)
+ {
+ if (index(entry[k],abbrev[m]) > 0)
+ {
+# print "DEBUG: <" entry[k] ">[" k "]"
+ print string[m],"\n"
+ break
+ }
+ }
+ }
+ for (k = 0; k < num_entry; ++k) # print the matched entries
+ print entry[k],"\n"
+}
+
+
+
+function bracecount(s, k,n)
+{
+ n = 0
+ for (k = 1; k <= length(s); ++k)
+ {
+ if (substr(s,k,1) == "{")
+ n++
+ else if (substr(s,k,1) == "}")
+ n--
+ }
+ return (n)
+}
+
+# Starting with the current contents of $0, collect lines until we
+# reach a zero brace count, and return the complete entry as a string
+# value. In order to prevent infinite loops in the event of unbalance
+# braces, we abort with an error message if a line is found beginning
+# with an @ character
+
+function collectbraceditem( count,item)
+{
+ count = bracecount($0)
+ item = $0
+ while (count != 0)
+ {
+ if (getline <= 0)
+ break
+ if ($0 ~ /^[ \t]*@/)
+ {
+ print "ERROR: Unbalanced brace detected at line", FNR, \
+ " in entry before [" $0 "]" > "/dev/tty"
+ exit(1)
+ }
+ item = item "\n" $0
+ count += bracecount($0)
+ }
+ return (item)
+}
+
+
+# Return a lower-cased copy of the argument string.
+
+function lowercase(s, t,k,letter)
+{
+ t = s
+ for (k = 1; k <= length(s); ++k)
+ {
+ letter = substr(t,k,1)
+ if (("A" <= letter) && (letter <= "Z"))
+ {
+ letter = substr("abcdefghijklmnopqrstuvwxyz",
+ index("ABCDEFGHIJKLMNOPQRSTUVWXYZ",letter),1)
+ t = substr(t,1,k-1) letter substr(t,k+1)
+ }
+ }
+# printf ("%%DEBUG%% %s\n",t)
+ return (t)
+}
+
+function match_keyword(lcitem)
+{
+ if (match(lcitem,/(KEYWORD)[ \t]*=/)) # quick check for `key ='
+ { # expect key = "value" or key = abbrev
+ match(lcitem,/(KEYWORD)[ \t]*=[ \t]*"[^"]*"/) || \
+ match(lcitem,/(KEYWORD)[ \t]*=[ \t]*[^,]*,/)
+ }
+}
+
+function save_entry(item)
+{
+ sub(/[ \t]*$/,"",item) # strip trailing space
+ if ((FILENAME != "-") && (substr(item,length(item),1) == "}"))
+ { # add a record of where we extracted this from
+ bibsource = " bibsource = \"" \
+ URL_prefix \
+ ((substr(FILENAME,1,1) == "/") ? "" : cwd "/") \
+ FILENAME "\","
+ if (substr(item,length(item)-2,2) == ",\n")
+ item = substr(item,1,length(item)-1) bibsource "\n}"
+ else if (substr(item,length(item)-1,1) == "\n")
+ item = substr(item,1,length(item)-2) ",\n" bibsource "\n}"
+ }
+ entry[num_entry++] = item # save item, preserving input order
+}
+
+# Starting with the current contents of $0, collect lines until we
+# reach a zero brace count, and then save the string value along
+# with a reference count for the abbreviation.
+
+function savestring( s,t)
+{
+ s = collectbraceditem()
+ t = s # collect the abbreviation name in t
+ gsub(/^[^{]*{/,"",t) # brace balance -> } }
+ gsub(/ *=.*$/,"",t)
+ abbrev[num_string] = t # and save the entire @String{...}
+ string[num_string] = s # and its abbreviation name preserving
+ # the input order
+# print "DEBUG: abbrev[" num_string "] = <" t "> length = " length(t)
+ num_string++
+}
+
+### ====================================================================
diff --git a/biblio/bibtex/utils/bibextract/bibextract.man b/biblio/bibtex/utils/bibextract/bibextract.man
new file mode 100644
index 0000000000..6dc51162ff
--- /dev/null
+++ b/biblio/bibtex/utils/bibextract/bibextract.man
@@ -0,0 +1,214 @@
+.\" ====================================================================
+.\" @Troff-man-file{
+.\" author = "Nelson H. F. Beebe",
+.\" version = "1.09",
+.\" date = "25 August 2001",
+.\" time = "17:45:16 MDT",
+.\" filename = "bibextract.man",
+.\" address = "Center for Scientific Computing
+.\" University of Utah
+.\" Department of Mathematics, 322 INSCC
+.\" 155 S 1400 E RM 233
+.\" Salt Lake City, UT 84112-0090
+.\" USA
+.\" telephone = "+1 801 581 5254",
+.\" FAX = "+1 801 585 1640, +1 801 581 4148",
+.\" checksum = "19236 214 948 7544",
+.\" email = "beebe@math.utah.edu, beebe@acm.org,
+.\" beebe@computer.org, beebe@ieee.org (Internet)",
+.\" URL = "http://www.math.utah.edu/~beebe",
+.\" checksum = "48699 195 869 6955",
+.\" email = "beebe@math.utah.edu, beebe@acm.org,
+.\" beebe@ieee.org (Internet)",
+.\" codetable = "ISO/ASCII",
+.\" keywords = "bibliography, BibTeX, citation label,
+.\" citation tag",
+.\" supported = "yes",
+.\" docstring = "This file contains the UNIX manual pages
+.\" for the bibextract command, a shell script
+.\" that invokes an awk program to extract from
+.\" a list of BibTeX .bib files bibliography
+.\" entries that match a specified regular
+.\" expression.
+.\"
+.\" The checksum field above contains a CRC-16
+.\" checksum as the first value, followed by the
+.\" equivalent of the standard UNIX wc (word
+.\" count) utility output of lines, words, and
+.\" characters. This is produced by Robert
+.\" Solovay's checksum utility.",
+.\" }
+.\" ====================================================================
+.if t .ds Bi B\s-2IB\s+2T\\h'-0.1667m'\\v'0.20v'E\\v'-0.20v'\\h'-0.125m'X
+.if n .ds Bi BibTeX
+.TH BIBEXTRACT 1 "25 August 2001" "Version 1.09"
+.\"======================================================================
+.SH NAME
+bibextract \- extract BibTeX entries from a list of .bib files
+.\"======================================================================
+.SH SYNOPSIS
+.BI bibextract " keyword-regexp value-regexp bibfile(s)"
+.\"======================================================================
+.SH DESCRIPTION
+.B bibextract
+extracts from a list of \*(Bi\&
+.I .bib
+files those bibliography entries that match a pair of specified
+regular expressions, sending them to
+.IR stdout ,
+together with all \*(Bi\& ``@Preamble{.\|.\|.}''
+commands, and just those ``@String{.\|.\|.}'' commands
+that are actually used by the matched entries.
+.PP
+If no bibliography files are specified on the
+command line, then
+.I stdin
+is read instead, so that
+.B bibextract
+can be used in a UNIX pipeline.
+.PP
+The order of entries, and spacing
+within ``@Name{.\|.\|.}'' text, is preserved
+exactly. Successive entries are separated by a
+single blank line.
+.PP
+The first regular-expression pattern,
+.IR keyword-regexp ,
+is used to select which \fI``keyword =
+"value"''\fP pairs to examine further; it matches
+against the keyword part only. It may include
+alternate keywords separated by vertical bar, such
+as "author|editor". If it is an empty
+string, then the entire bibliographic entry text,
+including the entry type name, is examined.
+.PP
+The second regular-expression pattern,
+.IR value-regexp ,
+is used to further select from the value strings
+of \fI``keyword = "value"''\fP pairs the
+bibliography entries to be output. It too may
+contain alternates separated by vertical bar, such
+as "brown|smith". The selection algorithm
+therefore consists of the logical AND of match
+successes against the keyword and value strings.
+.PP
+Letter case is ignored in regular-expression
+matches, so that "Brown|Smith", "BROWN|smith", and
+"brown|smith" are equivalent. The original letter
+case of the output entries is always preserved.
+.PP
+If the input \*(Bi\& data comes from files named on
+the command line, each output entry will contain a
+final key/value pair of the form:
+.nf
+ bibsource = "file://hostname/FILENAME",
+.fi
+The value string is a World-Wide Web Uniform
+Resource Locator, where FILENAME is the full path
+name of the source file in which the entry was
+found. Such lines are silently ignored by
+standard \*(Bi\& styles, so they are harmless, but
+they help to track the origin of bibliography
+entries.
+.PP
+If you don't want the
+.I bibsource
+lines to be added, simply supply the \*(Bi\& file
+from
+.IR stdin .
+.PP
+.B bibextract
+can be used to extract from a large \*(Bi\&
+bibliography data base just those bibliography
+entries that match a particular pair of regular
+expressions.
+.PP
+.B bibextract
+expects the bibliography file(s) to be
+consistently formatted in the style produced by
+.BR bibclean (1),
+which allows use of simple pattern matching to
+recognize the required entries.
+.\"======================================================================
+.SH EXAMPLES
+Here are some examples:
+.PP
+Extract all entries mentioning chaos in any field:
+.IP
+.B bibextract
+\&\fI"" "chaos" bibfile(s) >new-bibtex-file"\fP
+.PP
+Extract entries with names Brown or Smith
+occurring in either of the author or editor
+fields:
+.IP
+.B bibextract
+\&\fI"author|editor" "brown|smith" bibfile(s) >new-bibtex-file\fP
+.PP
+Extract entries for titles containing the
+letter `z' anywhere after a vowel; note that
+single quotes are necessary to provide the
+necessary protection from shell expansion:
+.IP
+.B bibextract
+\&\fI"title" '[aeiou].*z' bibfile(s) >new-bibtex-file\fP
+.PP
+Extract all conference proceedings entries:
+.IP
+.B bibextract
+\&\fI"" '@proceedings' bibfile(s) >new-bibtex-file\fP
+.\"======================================================================
+.SH BUGS
+.B bibextract
+is not smart enough to incorporate \*(Bi\& cross
+references unless they are themselves matched by
+the specified regular expression.
+.PP
+That feature should be added.
+.\"======================================================================
+.SH "SEE ALSO"
+.BR bibcheck (1),
+.BR bibclean (1),
+.BR bibdup (1),
+.BR bibjoin (1),
+.BR biblabel (1),
+.BR biblex (1),
+.BR biborder (1),
+.BR bibparse (1),
+.BR bibsort (1),
+.BR bibtex (1),
+.BR bibunlex (1),
+.BR citesub (1),
+.BR citetags (1),
+.BR latex (1),
+.BR gawk (1),
+.BR nawk (1),
+.BR tex (1).
+.\"======================================================================
+.SH FILES
+.\" NB: LIBDIR and BINDIR are substituted for real directory names
+.\" by a sed script invoked by "make install".
+.TP \w'@LIBDIR@/bibextract.awk'u+2n
+@LIBDIR@/bibextract.awk
+.BR nawk (1)
+program for tag extraction.
+.TP
+@BINDIR@/bibextract
+user-callable shell script to invoke
+.BR nawk (1).
+.\"======================================================================
+.SH AUTHOR
+.nf
+Nelson H. F. Beebe
+Center for Scientific Computing
+University of Utah
+Department of Mathematics, 322 INSCC
+155 S 1400 E RM 233
+Salt Lake City, UT 84112-0090
+USA
+Tel: +1 801 581 5254
+FAX: +1 801 585 1640, +1 801 581 4148
+Email: beebe@math.utah.edu, beebe@acm.org, beebe@ieee.org (Internet)
+WWW: http://www.math.utah.edu/~beebe
+.fi
+.\"==============================[The End]==============================
diff --git a/biblio/bibtex/utils/bibextract/bibextract.pdf b/biblio/bibtex/utils/bibextract/bibextract.pdf
new file mode 100644
index 0000000000..3231e27a6f
--- /dev/null
+++ b/biblio/bibtex/utils/bibextract/bibextract.pdf
Binary files differ
diff --git a/biblio/bibtex/utils/bibextract/bibextract.sh b/biblio/bibtex/utils/bibextract/bibextract.sh
new file mode 100644
index 0000000000..c895fbc286
--- /dev/null
+++ b/biblio/bibtex/utils/bibextract/bibextract.sh
@@ -0,0 +1,126 @@
+#! /bin/sh
+### ====================================================================
+### @UNIX-shell-file{
+### author = "Nelson H. F. Beebe",
+### version = "1.09",
+### date = "25 August 2001",
+### time = "17:46:02 MDT",
+### filename = "bibextract.sh",
+### address = "Center for Scientific Computing
+### University of Utah
+### Department of Mathematics, 322 INSCC
+### 155 S 1400 E RM 233
+### Salt Lake City, UT 84112-0090
+### USA",
+### telephone = "+1 801 581 5254",
+### FAX = "+1 801 585 1640, +1 801 581 4148",
+### URL = "http://www.math.utah.edu/~beebe",
+### checksum = "20889 126 556 5060",
+### email = "beebe@math.utah.edu, beebe@acm.org,
+### beebe@ieee.org (Internet)",
+### codetable = "ISO/ASCII",
+### keywords = "BibTeX, bibliography, citation label,
+### citation tag",
+### supported = "yes",
+### docstring = "Extract a subset of one or more bibtex
+### files according to a regular expression
+### pattern given on the command line, writing
+### them on stdout.
+###
+### The pattern should avoid upper-case
+### letters; the matching will be against a
+### lower-cased copy of the BibTeX entry, to
+### make letter case insignificant.
+###
+### Usage:
+### bibextract 'keyword-pat' 'regexp-pat' \
+### bibtex-file(s) >new-bibtex-file
+###
+### If the keyword-pat pattern is empty,
+### matching occurs against the entire
+### bibliographic entry.
+###
+### Here are some examples:
+###
+### Extract all entries mentioning chaos in any field:
+###
+### bibextract "" "chaos" file(s) >new-bibtex-file
+###
+### Extract entries with names Brown or Smith
+### occurring in either of the author or editor
+### fields:
+###
+### bibextract "author|editor" "brown|smith" \
+### file(s) >new-bibtex-file
+###
+### Extract entries for titles containing the
+### letter z anywhere after a vowel; note that
+### single quotes are necessary to provide the
+### necessary protection from shell expansion:
+###
+### bibextract "title" '[aeiou].*z' file(s) \
+### >new-bibtex-file
+###
+### The checksum field above contains a CRC-16
+### checksum as the first value, followed by the
+### equivalent of the standard UNIX wc (word
+### count) utility output of lines, words, and
+### characters. This is produced by Robert
+### Solovay's checksum utility.",
+### }
+### ====================================================================
+
+### Edit history (reverse chronological order):
+### [25-Aug-2001] 1.09 Update file header data.
+###
+### [19-Feb-1999] 1.08 Update file header data.
+###
+### [16-May-1998] 1.07 Update file header data.
+###
+### [24-Aug-1994] 1.06 Update bibextract.awk to handle matches
+### with alternate patterns and @string
+### abbreviations, and update the manual
+### page file, bibextract.man, with new
+### examples.
+###
+### [23-Aug-1994] 1.05 Correct name of temporary file.
+###
+### [22-Jul-1994] 1.04 Eliminate printbraceditem() in favor of
+### using collectbraceditem(), which now
+### checks for balanced braces to avoid
+### possibility of an infinite loop.
+###
+###
+### [17-Jul-1994] 1.03 Revise to output only those @String{...}
+### entries that are actually used by the
+### matched entries.
+###
+### [30-Oct-1992] 1.02 Fix typographical error.
+###
+### [21-Oct-1992] 1.01 Update for public distribution.
+###
+### [08-May-1989] 1.00 Original version.
+
+TMPFILE=/tmp/bibextract.$$
+LIBDIR=@LIBDIR@
+
+trap '/bin/rm -f ${TMPFILE}' 2 1
+
+# Force the keyword and pattern to lowercase.
+keyword=`echo $1 | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
+pattern=`echo $2 | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
+
+# Make a new awk program with the patterns built in.
+/bin/sed -e "sKEYWORD$keyword"\
+ -e "sPATTERN$pattern"\
+ <@LIBDIR@/bibextract.awk >${TMPFILE}
+
+# Discard first 2 arguments (keyword-pat and regexp-pat)
+shift
+shift
+
+# Extract the bibliography subset
+nawk -f ${TMPFILE} $*
+
+# discard our temporary file
+/bin/rm -f ${TMPFILE}
diff --git a/biblio/bibtex/utils/bibextract/bibextract.sok b/biblio/bibtex/utils/bibextract/bibextract.sok
new file mode 100644
index 0000000000..5afcdba0eb
--- /dev/null
+++ b/biblio/bibtex/utils/bibextract/bibextract.sok
@@ -0,0 +1,52 @@
+BIBEXTRACT
+BIBT
+BINDIR
+Bi
+BibTeX
+E
+Email
+F
+FAX
+H
+INSCC
+LIBDIR
+LaTeX
+S
+Te
+TeX
+WWW
+acm.org
+aeiou
+beebe
+bibcheck
+bibclean
+bibdup
+bibextract
+bibextract.awk
+bibfile
+bibindex
+bibjoin
+biblabel
+biblex
+biblook
+biborder
+bibparse
+bibsort
+bibsource
+bibtex
+bibunlex
+citefind
+citesub
+citetags
+hostname
+http
+ieee.org
+math.utah.edu
+nawk
+regexp
+s
+tex
+v'0.15v'T
+v'0.20v'E
+www.math.utah.edu
+z
diff --git a/biblio/bibtex/utils/bibextract/bibextract.txt b/biblio/bibtex/utils/bibextract/bibextract.txt
new file mode 100644
index 0000000000..74ccb26360
--- /dev/null
+++ b/biblio/bibtex/utils/bibextract/bibextract.txt
@@ -0,0 +1,345 @@
+%!PS-Adobe-3.0
+%%Creator: groff version 1.16.1
+%%CreationDate: Sat Aug 25 18:47:50 2001
+%%DocumentNeededResources: font Times-Roman
+%%+ font Times-Bold
+%%+ font Times-Italic
+%%DocumentSuppliedResources: procset grops 1.16 1
+%%Pages: 2
+%%PageOrder: Ascend
+%%Orientation: Portrait
+%%EndComments
+%%BeginProlog
+%%BeginResource: procset grops 1.16 1
+/setpacking where{
+pop
+currentpacking
+true setpacking
+}if
+/grops 120 dict dup begin
+/SC 32 def
+/A/show load def
+/B{0 SC 3 -1 roll widthshow}bind def
+/C{0 exch ashow}bind def
+/D{0 exch 0 SC 5 2 roll awidthshow}bind def
+/E{0 rmoveto show}bind def
+/F{0 rmoveto 0 SC 3 -1 roll widthshow}bind def
+/G{0 rmoveto 0 exch ashow}bind def
+/H{0 rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
+/I{0 exch rmoveto show}bind def
+/J{0 exch rmoveto 0 SC 3 -1 roll widthshow}bind def
+/K{0 exch rmoveto 0 exch ashow}bind def
+/L{0 exch rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
+/M{rmoveto show}bind def
+/N{rmoveto 0 SC 3 -1 roll widthshow}bind def
+/O{rmoveto 0 exch ashow}bind def
+/P{rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
+/Q{moveto show}bind def
+/R{moveto 0 SC 3 -1 roll widthshow}bind def
+/S{moveto 0 exch ashow}bind def
+/T{moveto 0 exch 0 SC 5 2 roll awidthshow}bind def
+/SF{
+findfont exch
+[exch dup 0 exch 0 exch neg 0 0]makefont
+dup setfont
+[exch/setfont cvx]cvx bind def
+}bind def
+/MF{
+findfont
+[5 2 roll
+0 3 1 roll
+neg 0 0]makefont
+dup setfont
+[exch/setfont cvx]cvx bind def
+}bind def
+/level0 0 def
+/RES 0 def
+/PL 0 def
+/LS 0 def
+/MANUAL{
+statusdict begin/manualfeed true store end
+}bind def
+/PLG{
+gsave newpath clippath pathbbox grestore
+exch pop add exch pop
+}bind def
+/BP{
+/level0 save def
+1 setlinecap
+1 setlinejoin
+72 RES div dup scale
+LS{
+90 rotate
+}{
+0 PL translate
+}ifelse
+1 -1 scale
+}bind def
+/EP{
+level0 restore
+showpage
+}bind def
+/DA{
+newpath arcn stroke
+}bind def
+/SN{
+transform
+.25 sub exch .25 sub exch
+round .25 add exch round .25 add exch
+itransform
+}bind def
+/DL{
+SN
+moveto
+SN
+lineto stroke
+}bind def
+/DC{
+newpath 0 360 arc closepath
+}bind def
+/TM matrix def
+/DE{
+TM currentmatrix pop
+translate scale newpath 0 0 .5 0 360 arc closepath
+TM setmatrix
+}bind def
+/RC/rcurveto load def
+/RL/rlineto load def
+/ST/stroke load def
+/MT/moveto load def
+/CL/closepath load def
+/FL{
+currentgray exch setgray fill setgray
+}bind def
+/BL/fill load def
+/LW/setlinewidth load def
+/RE{
+findfont
+dup maxlength 1 index/FontName known not{1 add}if dict begin
+{
+1 index/FID ne{def}{pop pop}ifelse
+}forall
+/Encoding exch def
+dup/FontName exch def
+currentdict end definefont pop
+}bind def
+/DEFS 0 def
+/EBEGIN{
+moveto
+DEFS begin
+}bind def
+/EEND/end load def
+/CNT 0 def
+/level1 0 def
+/PBEGIN{
+/level1 save def
+translate
+div 3 1 roll div exch scale
+neg exch neg exch translate
+0 setgray
+0 setlinecap
+1 setlinewidth
+0 setlinejoin
+10 setmiterlimit
+[]0 setdash
+/setstrokeadjust where{
+pop
+false setstrokeadjust
+}if
+/setoverprint where{
+pop
+false setoverprint
+}if
+newpath
+/CNT countdictstack def
+userdict begin
+/showpage{}def
+}bind def
+/PEND{
+clear
+countdictstack CNT sub{end}repeat
+level1 restore
+}bind def
+end def
+/setpacking where{
+pop
+setpacking
+}if
+%%EndResource
+%%IncludeResource: font Times-Roman
+%%IncludeResource: font Times-Bold
+%%IncludeResource: font Times-Italic
+grops begin/DEFS 1 dict def DEFS begin/u{.001 mul}bind def end/RES 72
+def/PL 792 def/LS false def/ENC0[/asciicircum/asciitilde/Scaron/Zcaron
+/scaron/zcaron/Ydieresis/trademark/quotesingle/.notdef/.notdef/.notdef
+/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
+/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
+/.notdef/.notdef/space/exclam/quotedbl/numbersign/dollar/percent
+/ampersand/quoteright/parenleft/parenright/asterisk/plus/comma/hyphen
+/period/slash/zero/one/two/three/four/five/six/seven/eight/nine/colon
+/semicolon/less/equal/greater/question/at/A/B/C/D/E/F/G/H/I/J/K/L/M/N/O
+/P/Q/R/S/T/U/V/W/X/Y/Z/bracketleft/backslash/bracketright/circumflex
+/underscore/quoteleft/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y
+/z/braceleft/bar/braceright/tilde/.notdef/quotesinglbase/guillemotleft
+/guillemotright/bullet/florin/fraction/perthousand/dagger/daggerdbl
+/endash/emdash/ff/fi/fl/ffi/ffl/dotlessi/dotlessj/grave/hungarumlaut
+/dotaccent/breve/caron/ring/ogonek/quotedblleft/quotedblright/oe/lslash
+/quotedblbase/OE/Lslash/.notdef/exclamdown/cent/sterling/currency/yen
+/brokenbar/section/dieresis/copyright/ordfeminine/guilsinglleft
+/logicalnot/minus/registered/macron/degree/plusminus/twosuperior
+/threesuperior/acute/mu/paragraph/periodcentered/cedilla/onesuperior
+/ordmasculine/guilsinglright/onequarter/onehalf/threequarters
+/questiondown/Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE
+/Ccedilla/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex
+/Idieresis/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis
+/multiply/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn
+/germandbls/agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla
+/egrave/eacute/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis
+/eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/divide/oslash
+/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis]def
+/Times-Italic@0 ENC0/Times-Italic RE/Times-Bold@0 ENC0/Times-Bold RE
+/Times-Roman@0 ENC0/Times-Roman RE
+%%EndProlog
+%%Page: 1 1
+%%BeginPageSetup
+BP
+%%EndPageSetup
+/F0 10/Times-Roman@0 SF(BIBEXTRA)72 48 Q 317.42(CT\(1\) BIBEXTRA)-.4 F
+(CT\(1\))-.4 E/F1 10.95/Times-Bold@0 SF -.219(NA)72 84 S(ME).219 E F0
+(bibe)108 96 Q(xtract \255 e)-.15 E(xtract BibT)-.15 E
+(eX entries from a list of .bib \214les)-.7 E F1(SYNOPSIS)72 112.8 Q/F2
+10/Times-Bold@0 SF(bibextract)108 124.8 Q/F3 10/Times-Italic@0 SF -.1
+(ke)2.5 G(ywor)-.2 E(d-r)-.37 E -1.8 -.4(eg e)-.37 H(xp value-r).2 E
+-1.8 -.4(eg e)-.37 H(xp bib\214le\(s\)).2 E F1(DESCRIPTION)72 141.6 Q F2
+(bibextract)108 153.6 Q F0 -.15(ex)2.791 G .291(tracts from a list of B)
+.15 F/F4 8/Times-Roman@0 SF(IB)A F0(T)A(E)-1.667 2.4 M(X)-1.25 -2.4 M F3
+(.bib)2.791 E F0 .291(\214les those bibliograph)2.791 F 2.791(ye)-.05 G
+.291(ntries that match a pair of speci\214ed)-2.791 F(re)108 165.6 Q
+.586(gular e)-.15 F .586(xpressions, sending them to)-.15 F F3(stdout)
+3.086 E F0 3.086(,t).68 G .586(ogether with all B)-3.086 F F4(IB)A F0(T)
+A(E)-1.667 2.4 M 3.087(X`)-1.25 -2.4 O -.834(`@Preamble{. . .}')-3.827 F
+3.087('c)-.74 G .587(ommands, and)-3.087 F(just those `)108 177.6 Q
+-.834(`@String{. . .}')-.74 F 2.5('c)-.74 G
+(ommands that are actually used by the matched entries.)-2.5 E .148
+(If no bibliograph)108 194.4 R 2.648<798c>-.05 G .148
+(les are speci\214ed on the command line, then)-2.648 F F3(stdin)2.648 E
+F0 .148(is read instead, so that)2.648 F F2(bibextract)2.647 E F0(can)
+2.647 E(be used in a UNIX pipeline.)108 206.4 Q .627
+(The order of entries, and spacing within `)108 223.2 R -.834
+(`@Name{. . .}')-.74 F 3.127('t)-.74 G -.15(ex)-3.127 G .627
+(t, is preserv).15 F .627(ed e)-.15 F(xactly)-.15 E 5.627(.S)-.65 G
+(uccessi)-5.627 E .927 -.15(ve e)-.25 H .627(ntries are).15 F
+(separated by a single blank line.)108 235.2 Q .586(The \214rst re)108
+252 R(gular)-.15 E(-e)-.2 E .586(xpression pattern,)-.15 F F3 -.1(ke)
+3.086 G(ywor)-.2 E(d-r)-.37 E -1.8 -.4(eg e)-.37 H(xp).2 E F0 3.086(,i)
+.19 G 3.086(su)-3.086 G .586(sed to select which)-3.086 F F3 -1.11(``)
+3.086 G -.1(ke)1.11 G(ywor)-.2 E 3.085(d=")-.37 G(value"')-3.085 E(')
+-1.11 E F0 .585(pairs to)3.085 F -.15(ex)108 264 S .409
+(amine further; it matches ag).15 F .409(ainst the k)-.05 F -.15(ey)-.1
+G -.1(wo).15 G .409(rd part only).1 F 5.409(.I)-.65 G 2.909(tm)-5.409 G
+.41(ay include alternate k)-2.909 F -.15(ey)-.1 G -.1(wo).15 G .41
+(rds separated by).1 F -.15(ve)108 276 S .219(rtical bar).15 F 2.719(,s)
+-.4 G .219(uch as "author|editor".)-2.719 F .218
+(If it is an empty string, then the entire bibliographic entry te)5.218
+F .218(xt, includ-)-.15 F(ing the entry type name, is e)108 288 Q
+(xamined.)-.15 E 1.774(The second re)108 304.8 R(gular)-.15 E(-e)-.2 E
+1.774(xpression pattern,)-.15 F F3(value-r)4.274 E -1.8 -.4(eg e)-.37 H
+(xp).2 E F0 4.274(,i).19 G 4.274(su)-4.274 G 1.774
+(sed to further select from the v)-4.274 F 1.775(alue strings of)-.25 F
+F3 -1.11(``)108 316.8 S -.1(ke)1.11 G(ywor)-.2 E 2.637(d=")-.37 G
+(value"')-2.637 E(')-1.11 E F0 .137(pairs the bibliograph)2.637 F 2.637
+(ye)-.05 G .137(ntries to be output.)-2.637 F .137
+(It too may contain alternates separated by)5.137 F -.15(ve)108 328.8 S
+.032(rtical bar).15 F 2.532(,s)-.4 G .032(uch as "bro)-2.532 F 2.532
+(wn|smith". The)-.25 F .033
+(selection algorithm therefore consists of the logical AND of match)
+2.533 F(successes ag)108 340.8 Q(ainst the k)-.05 E -.15(ey)-.1 G -.1
+(wo).15 G(rd and v).1 E(alue strings.)-.25 E 3.273
+(Letter case is ignored in re)108 357.6 R(gular)-.15 E(-e)-.2 E 3.273
+(xpression matches, so that "Bro)-.15 F 3.272(wn|Smith", "BR)-.25 F -.35
+(OW)-.4 G 3.272(N|smith", and).35 F("bro)108 369.6 Q(wn|smith" are equi)
+-.25 E -.25(va)-.25 G 2.5(lent. The).25 F
+(original letter case of the output entries is al)2.5 E -.1(wa)-.1 G
+(ys preserv).1 E(ed.)-.15 E 1.019(If the input B)108 386.4 R F4(IB)A F0
+(T)A(E)-1.667 2.4 M 3.52(Xd)-1.25 -2.4 O 1.02(ata comes from \214les na\
+med on the command line, each output entry will contain a)-3.52 F
+(\214nal k)108 398.4 Q -.15(ey)-.1 G(/v).15 E(alue pair of the form:)
+-.25 E(bibsource =)113 410.4 Q("\214le://hostname/FILEN)10 E(AME",)-.35
+E .162(The v)108 422.4 R .162(alue string is a W)-.25 F(orld-W)-.8 E
+.162(ide W)-.4 F .162(eb Uniform Resource Locator)-.8 F 2.662(,w)-.4 G
+.162(here FILEN)-2.662 F .162(AME is the full path name)-.35 F .408
+(of the source \214le in which the entry w)108 434.4 R .408(as found.)
+-.1 F .408(Such lines are silently ignored by standard B)5.408 F F4(IB)A
+F0(T)A(E)-1.667 2.4 M 2.909(Xs)-1.25 -2.4 O(tyles,)-2.909 E(so the)108
+446.4 Q 2.5(ya)-.15 G(re harmless, b)-2.5 E(ut the)-.2 E 2.5(yh)-.15 G
+(elp to track the origin of bibliograph)-2.5 E 2.5(ye)-.05 G(ntries.)
+-2.5 E(If you don')108 463.2 Q 2.5(tw)-.18 G(ant the)-2.6 E F3(bibsour)
+2.5 E(ce)-.37 E F0(lines to be added, simply supply the B)2.5 E F4(IB)A
+F0(T)A(E)-1.667 2.4 M 2.5<588c>-1.25 -2.4 O(le from)-2.5 E F3(stdin)2.5
+E F0(.).24 E F2(bibextract)108 480 Q F0 1.809(can be used to e)4.31 F
+1.809(xtract from a lar)-.15 F 1.809(ge B)-.18 F F4(IB)A F0(T)A(E)-1.667
+2.4 M 4.309(Xb)-1.25 -2.4 O(ibliograph)-4.309 E 4.309(yd)-.05 G 1.809
+(ata base just those bibliograph)-4.309 F(y)-.05 E
+(entries that match a particular pair of re)108 492 Q(gular e)-.15 E
+(xpressions.)-.15 E F2(bibextract)108 508.8 Q F0 -.15(ex)4.604 G 2.104
+(pects the bibliograph).15 F 4.604<798c>-.05 G 2.104
+(le\(s\) to be consistently formatted in the style produced by)-4.604 F
+F2(bib-)4.605 E(clean)108 520.8 Q F0(\(1\), which allo)A
+(ws use of simple pattern matching to recognize the required entries.)
+-.25 E F1(EXAMPLES)72 537.6 Q F0(Here are some e)108 549.6 Q(xamples:)
+-.15 E(Extract all entries mentioning chaos in an)108 566.4 Q 2.5<798c>
+-.15 G(eld:)-2.5 E F2(bibextract)144 583.2 Q F3("" "c)2.5 E
+(haos" bib\214le\(s\) >ne)-.15 E(w-bibte)-.15 E(x-\214le")-.2 E F0
+(Extract entries with names Bro)108 600 Q
+(wn or Smith occurring in either of the author or editor \214elds:)-.25
+E F2(bibextract)144 616.8 Q F3("author|editor" "br)2.5 E
+(own|smith" bib\214le\(s\) >ne)-.45 E(w-bibte)-.15 E(x-\214le)-.2 E F0
+.503(Extract entries for titles containing the letter `z' an)108 633.6 R
+.502(ywhere after a v)-.15 F -.25(ow)-.2 G .502
+(el; note that single quotes are neces-).25 F(sary to pro)108 645.6 Q
+(vide the necessary protection from shell e)-.15 E(xpansion:)-.15 E F2
+(bibextract)144 662.4 Q F3("title" '[aeiou].*z' bib\214le\(s\) >ne)2.5 E
+(w-bibte)-.15 E(x-\214le)-.2 E F0
+(Extract all conference proceedings entries:)108 679.2 Q F2(bibextract)
+144 696 Q F3("" '@pr)2.5 E(oceedings' bib\214le\(s\) >ne)-.45 E(w-bibte)
+-.15 E(x-\214le)-.2 E F0 -1.11(Ve)72 768 S(rsion 1.09)1.11 E
+(25 August 2001)151.505 E(1)197.055 E EP
+%%Page: 2 2
+%%BeginPageSetup
+BP
+%%EndPageSetup
+/F0 10/Times-Roman@0 SF(BIBEXTRA)72 48 Q 317.42(CT\(1\) BIBEXTRA)-.4 F
+(CT\(1\))-.4 E/F1 10.95/Times-Bold@0 SF -.11(BU)72 84 S(GS).11 E/F2 10
+/Times-Bold@0 SF(bibextract)108 96 Q F0 .244
+(is not smart enough to incorporate B)2.744 F/F3 8/Times-Roman@0 SF(IB)A
+F0(T)A(E)-1.667 2.4 M 2.744(Xc)-1.25 -2.4 O .244
+(ross references unless the)-2.744 F 2.744(ya)-.15 G .244(re themselv)
+-2.744 F .245(es matched)-.15 F(by the speci\214ed re)108 108 Q(gular e)
+-.15 E(xpression.)-.15 E(That feature should be added.)108 124.8 Q F1
+(SEE ALSO)72 141.6 Q F2(bibcheck)108 153.6 Q F0(\(1\),)A F2(bibclean)
+3.787 E F0(\(1\),)A F2(bibdup)3.787 E F0(\(1\),)A F2(bibjoin)3.786 E F0
+(\(1\),)A F2(biblabel)3.786 E F0(\(1\),)A F2(biblex)3.786 E F0(\(1\),)A
+F2(biborder)3.786 E F0(\(1\),)A F2(bibparse)3.786 E F0(\(1\),)A F2(bib-)
+3.786 E(sort)108 165.6 Q F0(\(1\),)A F2(bibtex)2.5 E F0(\(1\),)A F2(bib)
+2.5 E(unlex)-.2 E F0(\(1\),)A F2(citesub)2.5 E F0(\(1\),)A F2(citetags)
+2.5 E F0(\(1\),)A F2(latex)2.5 E F0(\(1\),)A F2(gawk)2.5 E F0(\(1\),)A
+F2(nawk)2.5 E F0(\(1\),)A F2(tex)2.5 E F0(\(1\).)A F1(FILES)72 182.4 Q
+F0(/usr/local/share/lib/bibe)108 194.4 Q(xtract/bibe)-.15 E(xtract.a)
+-.15 E(wk)-.15 E F2(nawk)10 E F0(\(1\) program for tag e)A(xtraction.)
+-.15 E(/usr/local/bin/bibe)108 211.2 Q 90.79(xtract user)-.15 F
+(-callable shell script to in)-.2 E -.2(vo)-.4 G -.1(ke).2 G F2(nawk)2.6
+E F0(\(1\).)A F1 -.548(AU)72 228 S(THOR).548 E F0(Nelson H. F)108 240 Q
+2.5(.B)-.8 G(eebe)-2.5 E(Center for Scienti\214c Computing)108 252 Q
+(Uni)108 264 Q -.15(ve)-.25 G(rsity of Utah).15 E
+(Department of Mathematics, 322 INSCC)108 276 Q(155 S 1400 E RM 233)108
+288 Q(Salt Lak)108 300 Q 2.5(eC)-.1 G(ity)-2.5 E 2.5(,U)-.65 G 2.5(T8)
+-2.5 G(4112-0090)-2.5 E(USA)108 312 Q -.7(Te)108 324 S
+(l: +1 801 581 5254).7 E -.74(FA)108 336 S
+(X: +1 801 585 1640, +1 801 581 4148).74 E
+(Email: beebe@math.utah.edu, beebe@acm.or)108 348 Q(g, beebe@ieee.or)
+-.18 E 2.5(g\()-.18 G(Internet\))-2.5 E(WWW)108 360 Q 2.5(:h)-.37 G
+(ttp://www)-2.5 E(.math.utah.edu/~beebe)-.65 E -1.11(Ve)72 768 S
+(rsion 1.09)1.11 E(25 August 2001)151.505 E(2)197.055 E EP
+%%Trailer
+end
+%%EOF
diff --git a/biblio/bibtex/utils/bibextract/citefind.awk b/biblio/bibtex/utils/bibextract/citefind.awk
new file mode 100644
index 0000000000..d508d1ffd4
--- /dev/null
+++ b/biblio/bibtex/utils/bibextract/citefind.awk
@@ -0,0 +1,163 @@
+### ====================================================================
+### @Awk-file{
+### author = "Nelson H. F. Beebe",
+### version = "1.03",
+### date = "19 February 1999",
+### time = "12:22:50 MST",
+### filename = "citefind.awk",
+### address = "Center for Scientific Computing
+### University of Utah
+### Department of Mathematics, 322 INSCC
+### 155 S 1400 E RM 233
+### Salt Lake City, UT 84112-0090
+### USA",
+### telephone = "+1 801 581 5254",
+### FAX = "+1 801 585 1640, +1 801 581 4148",
+### URL = "http://www.math.utah.edu/~beebe",
+### checksum = "35241 163 650 5598",
+### email = "beebe@math.utah.edu, beebe@acm.org,
+### beebe@ieee.org (Internet)",
+### codetable = "ISO/ASCII",
+### keywords = "BibTeX, bibliography, citation label,
+### citation tag",
+### supported = "yes",
+### abstract = "This program extracts bibliography entries
+### from one or more bibliography files for
+### specified citation tags ",
+### docstring = "*********************************************
+### This code is hereby placed in the PUBLIC
+### DOMAIN and may be redistributed without any
+### restrictions.
+### *********************************************
+###
+### Read a list of cite tags from the file
+### given by the first argument, then process
+### each of the remaining file arguments as
+### BibTeX bib files, looking up the
+### bibentries, and output them to stdout.
+### @preamble{} and @string{} entries are
+### automatically output as well.
+###
+### Usage:
+### nawk -f citefind.awk foo.tags bibfile(s) \
+### >newbibfile
+###
+### To be recognized, bib entries must look like
+###
+### @keyword{tag,
+### ...
+### }
+###
+### where the start @ appears in column 1, and
+### the complete entry has balanced braces.
+###
+### This program should normally be run via
+### the separate citefind shell script.
+###
+### The checksum field above contains a CRC-16
+### checksum as the first value, followed by the
+### equivalent of the standard UNIX wc (word
+### count) utility output of lines, words, and
+### characters. This is produced by Robert
+### Solovay's checksum utility.",
+### }
+### ====================================================================
+
+### Edit history (reverse chronological order):
+### [19-Feb-1999] 1.03 Change BEGIN loop code to work properly.
+###
+### Add END{} block with code to check for
+### missing and duplicate entries.
+###
+### Add warning() function and three calls
+### to it.
+###
+### Remove unneeded statement-terminating
+### semicolons.
+###
+### Capitalize global variables.
+###
+### [30-Oct-1992] 1.02 Update header for new release.
+###
+### [21-Oct-1992] 1.01 Update for public distribution.
+###
+### [12-Apr-1989] 1.00 Original version.
+
+BEGIN {
+ while ((getline < ARGV[1]) > 0) # process first file only to get tags
+ Tagnames[$0] = $0
+ ARGV[1] = "" # the main loop below must ignore this file
+}
+
+# @string and @preamble -- collect up to paired closing brace
+
+/^@([Pp][Rr][Ee][Aa][Mm][Bb][Ll][Ee]|[sS][tT][rR][iI][nN][gG]){/ {
+ printbraceditem()
+ print ""
+}
+
+# "@keyword{tag," -- collect up to line starting with right brace
+/^@[a-zA-Z0-9]*{/ {
+ tag = substr($0,index($0,"{")+1)
+ tag = substr(tag,1,index(tag,",")-1)
+ if (tag in Tagnames)
+ {
+ Count[tag]++
+ printbraceditem(tag)
+ print ""
+ }
+ }
+
+END {
+ # Do a final consistency check that each item was found, and found only once
+ for (tag in Tagnames)
+ {
+ if (!(tag in Count))
+ warning("bibliography entry [" tag "] was not found")
+ else if (Count[tag] > 1)
+ warning("bibliography entry [" tag "] was found " Count[tag] " times")
+ }
+ exit (Error_Count)
+}
+
+#=======================================================================
+
+function bracecount(s, k,n)
+{
+ n = 0
+ for (k = 1; k <= length(s); ++k)
+ {
+ if (substr(s,k,1) == "{")
+ n++
+ else if (substr(s,k,1) == "}")
+ n--
+ }
+ return (n)
+}
+
+function printbraceditem(tag, count,last_filename)
+{
+ # Starting with the current contents of $0, print lines until we
+ # reach a zero brace count.
+ count = bracecount($0)
+ print $0
+ last_filename = FILENAME
+ while (count != 0)
+ {
+ if ((last_filename != FILENAME) || (getline <= 0))
+ break
+ print $0
+ count += bracecount($0)
+ }
+ if (count != 0)
+ warning("unexpected end-of-file in bibliography entry [" tag \
+ "] from file [" last_filename "]")
+}
+
+function warning(message)
+{
+ print FILENAME ":" FNR ":%%" message >"/dev/stderr"
+ Error_Count++
+}
+
+########################################################################
diff --git a/biblio/bibtex/utils/bibextract/citefind.man b/biblio/bibtex/utils/bibextract/citefind.man
new file mode 100644
index 0000000000..8abddeb57b
--- /dev/null
+++ b/biblio/bibtex/utils/bibextract/citefind.man
@@ -0,0 +1,169 @@
+.\" ====================================================================
+.\" @Troff-man-file{
+.\" author = "Nelson H. F. Beebe",
+.\" version = "1.03",
+.\" date = "19 February 1999",
+.\" time = "12:31:28 MST",
+.\" filename = "citefind.man",
+.\" address = "Center for Scientific Computing
+.\" University of Utah
+.\" Department of Mathematics, 322 INSCC
+.\" 155 S 1400 E RM 233
+.\" Salt Lake City, UT 84112-0090
+.\" USA
+.\" telephone = "+1 801 581 5254",
+.\" FAX = "+1 801 585 1640, +1 801 581 4148",
+.\" URL = "http://www.math.utah.edu/~beebe",
+.\" checksum = "34902 169 737 5857",
+.\" email = "beebe@math.utah.edu, beebe@acm.org,
+.\" beebe@ieee.org (Internet)",
+.\" codetable = "ISO/ASCII",
+.\" keywords = "bibliography, BibTeX, citation label,
+.\" citation tag",
+.\" supported = "yes",
+.\" docstring = "This file contains the UNIX manual pages
+.\" for the citefind command, a shell script
+.\" that invokes an awk program to extract from
+.\" a list of BibTeX .bib files bibliography
+.\" entries that match a specified list of
+.\" citation tags, possibly produced by
+.\" citetags(1).
+.\"
+.\" The checksum field above contains a CRC-16
+.\" checksum as the first value, followed by the
+.\" equivalent of the standard UNIX wc (word
+.\" count) utility output of lines, words, and
+.\" characters. This is produced by Robert
+.\" Solovay's checksum utility.",
+.\" }
+.\" ====================================================================
+.if t .ds Bi B\s-2IB\s+2T\\h'-0.1667m'\\v'0.20v'E\\v'-0.20v'\\h'-0.125m'X
+.if n .ds Bi BibTeX
+.if t .ds Te T\\h'-0.1667m'\\v'0.20v'E\\v'-0.20v'\\h'-0.125m'X
+.if n .ds Te TeX
+.TH CITEFIND 1 "19 February 1999" "Version 1.03"
+.\"======================================================================
+.SH NAME
+citefind \- extract matching bibliography entries from BibTeX .bib files
+.\"======================================================================
+.SH SYNOPSIS
+.nf
+.BI citefind " tags-file bibfile(s) >newbibfile"
+.fi
+or
+.nf
+.BI citefind " \- bibfile(s) >newbibfile"
+.fi
+.\"======================================================================
+.SH DESCRIPTION
+.B citefind
+extracts from a list of \*(Bi\&
+.I .bib
+files those bibliography entries that match a
+specified list of citation tags, possibly produced
+by
+.BR citetags (1),
+sending the entries to
+.IR stdout ,
+together with all \*(Bi\& ``@Preamble{.\|.\|.}''
+and ``@String{.\|.\|.}'' commands.
+.PP
+If the first argument,
+.IR tags-file ,
+is ``\-'', the tag list is read from
+.IR stdin ,
+allowing it to be piped from
+.BR citetags (1).
+.PP
+Bibliography entries are output in the order found
+in the
+.I .bib
+files. In the absence of cross references, you
+may be able to use
+.BR bibsort (1)
+to sort them by citation key. While such sorting
+is unnecessary for \*(Bi\& itself, it is
+convenient for a human reader of the
+.I .bib
+file.
+.PP
+When documents are prepared using a large
+bibliography data base collection, it is sometimes
+convenient to extract a subset \*(Bi\&
+bibliography file incorporating only those entries
+that are cited in the document. A good example is
+a document to be submitted to a publisher, or
+otherwise distributed in electronic form.
+.PP
+.B citefind
+expects the bibliography file(s) to be consistently
+formatted in the style produced by
+.BR bibclean (1),
+which allows use of simple pattern matching to recognize the required
+entries.
+.PP
+To guard against match failures, from version 1.03,
+.B citefind
+will complain if requested entries are not found at all, or are found
+(and output) more than once. It will also complain if end-of-file is
+reached during collection of any bibliography entry.
+.\"======================================================================
+.SH "BUGS"
+.B citefind
+is not smart enough to incorporate \*(Bi\&
+cross references unless their citation tags are
+included in the input list.
+.PP
+No attempt is made to reduce the output
+``@String{.\|.\|.}'' commands to just those that
+are actually referenced.
+.PP
+Those features should be added.
+.\"======================================================================
+.SH "SEE ALSO"
+.BR bibcheck (1),
+.BR bibclean (1),
+.BR bibdup (1),
+.BR bibextract (1),
+.BR bibjoin (1),
+.BR biblabel (1),
+.BR biblex (1),
+.BR biborder (1),
+.BR bibparse (1),
+.BR bibsort (1),
+.BR bibtex (1),
+.BR bibunlex (1),
+.BR citesub (1),
+.BR citetags (1),
+.BR gawk (1),
+.BR latex (1),
+.BR nawk (1),
+.BR tex (1).
+.\"======================================================================
+.SH FILES
+.\" NB: LIBDIR and BINDIR are substituted for real directory names
+.\" by a sed script invoked by "make install".
+.TP \w'@LIBDIR@/citefind.awk'u+2n
+@LIBDIR@/citefind.awk
+.BR nawk (1)
+program for tag extraction.
+.TP
+@BINDIR@/citefind
+user-callable shell script to invoke
+.BR nawk (1).
+.\"======================================================================
+.SH AUTHOR
+.nf
+Nelson H. F. Beebe
+Center for Scientific Computing
+University of Utah
+Department of Mathematics, 322 INSCC
+155 S 1400 E RM 233
+Salt Lake City, UT 84112-0090
+USA
+Tel: +1 801 581 5254
+FAX: +1 801 585 1640, +1 801 581 4148
+Email: beebe@math.utah.edu, beebe@acm.org, beebe@ieee.org (Internet)
+WWW: http://www.math.utah.edu/~beebe
+.fi
+.\"==============================[The End]==============================
diff --git a/biblio/bibtex/utils/bibextract/citefind.pdf b/biblio/bibtex/utils/bibextract/citefind.pdf
new file mode 100644
index 0000000000..620ef4b243
--- /dev/null
+++ b/biblio/bibtex/utils/bibextract/citefind.pdf
Binary files differ
diff --git a/biblio/bibtex/utils/bibextract/citefind.sh b/biblio/bibtex/utils/bibextract/citefind.sh
new file mode 100644
index 0000000000..c116de2348
--- /dev/null
+++ b/biblio/bibtex/utils/bibextract/citefind.sh
@@ -0,0 +1,106 @@
+#!/bin/sh
+### ====================================================================
+### @UNIX-shell-file{
+### author = "Nelson H. F. Beebe",
+### version = "1.09",
+### date = "25 August 2001",
+### time = "17:46:31 MDT",
+### filename = "citefind.sh",
+### address = "Center for Scientific Computing
+### University of Utah
+### Department of Mathematics, 322 INSCC
+### 155 S 1400 E RM 233
+### Salt Lake City, UT 84112-0090
+### USA",
+### telephone = "+1 801 581 5254",
+### FAX = "+1 801 585 1640, +1 801 581 4148",
+### URL = "http://www.math.utah.edu/~beebe",
+### checksum = "54212 106 481 4376",
+### email = "beebe@math.utah.edu, beebe@acm.org,
+### beebe@computer.org, beebe@ieee.org (Internet)",
+### codetable = "ISO/ASCII",
+### keywords = "BibTeX, bibliography",
+### supported = "yes",
+### docstring = "*********************************************
+### This code is hereby placed in the PUBLIC
+### DOMAIN and may be redistributed without any
+### restrictions.
+### *********************************************
+###
+### Read a list of cite tags from the file
+### given by the first argument, then process
+### each of the remaining file arguments as
+### BibTeX bib files, looking up the
+### bibentries, and output them to stdout.
+### @preamble{} and @string{} entries are
+### automatically output as well.
+###
+### Usage:
+### citefind foo.tags bibfile(s) >newbibfile
+### or
+### citefind - bibfile(s) >newbibfile
+###
+### To be recognized, bib entries must look like
+###
+### @keyword{tag,
+### ...
+### }
+###
+### where the start @ appears in column 1, and
+### the complete entry has balanced braces.
+###
+### The checksum field above contains a CRC-16
+### checksum as the first value, followed by the
+### equivalent of the standard UNIX wc (word
+### count) utility output of lines, words, and
+### characters. This is produced by Robert
+### Solovay's checksum utility.",
+### }
+### ====================================================================
+
+### Edit history (reverse chronological order):
+### [25-Aug-2001] 1.09 Update file header data.
+###
+### [19-Feb-1999] 1.08 Update for new release (most changes are
+### in the accompanying cite*.{man,awk}
+### files).
+###
+### [16-May-1998] 1.07 Fix error in handling of stdin;
+### thanks to Markus Mohnen
+### <mohnen@Informatik.RWTH-Aachen.DE>
+### for the fix!
+###
+### [24-Aug-1994] 1.06 Several extensions in bibextract.awk.
+###
+### [23-Aug-1994] 1.05 Correct name of temporary file and name
+### of awk script in two other files.
+###
+### [22-Jul-1994] 1.04 Eliminate printbraceditem() in favor of
+### using collectbraceditem(), which now
+### checks for balanced braces to avoid
+### possibility of an infinite loop.
+###
+### [17-Jul-1994] 1.03 Revise to output only those @String{...}
+### entries that are actually used by the
+### matched entries.
+###
+### [30-Oct-1992] 1.02 Fix typographical error in bibextract.sh
+###
+### [21-Oct-1992] 1.01 Update for public distribution
+###
+### [21-Oct-1992] 1.00 Original version.
+
+LIBDIR=@LIBDIR@
+
+if [ "xx$1" = "xx-" ] # make a temporary copy of stdin
+then
+ INPUTFILE=/tmp/citefind.$$
+ trap '/bin/rm -f ${INPUTFILE}' 2 1
+ cat >${INPUTFILE}
+ shift
+ nawk -f ${LIBDIR}/citefind.awk ${INPUTFILE} $*
+ /bin/rm -f ${INPUTFILE}
+else
+ nawk -f ${LIBDIR}/citefind.awk $*
+fi
+### ====================================================================
diff --git a/biblio/bibtex/utils/bibextract/citefind.sok b/biblio/bibtex/utils/bibextract/citefind.sok
new file mode 100644
index 0000000000..e2e9f24fe6
--- /dev/null
+++ b/biblio/bibtex/utils/bibextract/citefind.sok
@@ -0,0 +1,45 @@
+BIBT
+BINDIR
+Bi
+BibTeX
+CITEFIND
+E
+Email
+F
+FAX
+H
+INSCC
+LIBDIR
+S
+Te
+TeX
+WWW
+acm.org
+beebe
+bibcheck
+bibclean
+bibdup
+bibextract
+bibfile
+bibindex
+bibjoin
+biblabel
+biblex
+biblook
+biborder
+bibparse
+bibsort
+bibtex
+bibunlex
+citefind
+citefind.awk
+citesub
+citetags
+http
+ieee.org
+math.utah.edu
+nawk
+newbibfile
+s
+tex
+www.math.utah.edu
diff --git a/biblio/bibtex/utils/bibextract/citefind.txt b/biblio/bibtex/utils/bibextract/citefind.txt
new file mode 100644
index 0000000000..d4b3aa1e29
--- /dev/null
+++ b/biblio/bibtex/utils/bibextract/citefind.txt
@@ -0,0 +1,294 @@
+%!PS-Adobe-3.0
+%%Creator: groff version 1.16.1
+%%CreationDate: Sat Aug 25 18:47:50 2001
+%%DocumentNeededResources: font Times-Roman
+%%+ font Times-Bold
+%%+ font Times-Italic
+%%DocumentSuppliedResources: procset grops 1.16 1
+%%Pages: 1
+%%PageOrder: Ascend
+%%Orientation: Portrait
+%%EndComments
+%%BeginProlog
+%%BeginResource: procset grops 1.16 1
+/setpacking where{
+pop
+currentpacking
+true setpacking
+}if
+/grops 120 dict dup begin
+/SC 32 def
+/A/show load def
+/B{0 SC 3 -1 roll widthshow}bind def
+/C{0 exch ashow}bind def
+/D{0 exch 0 SC 5 2 roll awidthshow}bind def
+/E{0 rmoveto show}bind def
+/F{0 rmoveto 0 SC 3 -1 roll widthshow}bind def
+/G{0 rmoveto 0 exch ashow}bind def
+/H{0 rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
+/I{0 exch rmoveto show}bind def
+/J{0 exch rmoveto 0 SC 3 -1 roll widthshow}bind def
+/K{0 exch rmoveto 0 exch ashow}bind def
+/L{0 exch rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
+/M{rmoveto show}bind def
+/N{rmoveto 0 SC 3 -1 roll widthshow}bind def
+/O{rmoveto 0 exch ashow}bind def
+/P{rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
+/Q{moveto show}bind def
+/R{moveto 0 SC 3 -1 roll widthshow}bind def
+/S{moveto 0 exch ashow}bind def
+/T{moveto 0 exch 0 SC 5 2 roll awidthshow}bind def
+/SF{
+findfont exch
+[exch dup 0 exch 0 exch neg 0 0]makefont
+dup setfont
+[exch/setfont cvx]cvx bind def
+}bind def
+/MF{
+findfont
+[5 2 roll
+0 3 1 roll
+neg 0 0]makefont
+dup setfont
+[exch/setfont cvx]cvx bind def
+}bind def
+/level0 0 def
+/RES 0 def
+/PL 0 def
+/LS 0 def
+/MANUAL{
+statusdict begin/manualfeed true store end
+}bind def
+/PLG{
+gsave newpath clippath pathbbox grestore
+exch pop add exch pop
+}bind def
+/BP{
+/level0 save def
+1 setlinecap
+1 setlinejoin
+72 RES div dup scale
+LS{
+90 rotate
+}{
+0 PL translate
+}ifelse
+1 -1 scale
+}bind def
+/EP{
+level0 restore
+showpage
+}bind def
+/DA{
+newpath arcn stroke
+}bind def
+/SN{
+transform
+.25 sub exch .25 sub exch
+round .25 add exch round .25 add exch
+itransform
+}bind def
+/DL{
+SN
+moveto
+SN
+lineto stroke
+}bind def
+/DC{
+newpath 0 360 arc closepath
+}bind def
+/TM matrix def
+/DE{
+TM currentmatrix pop
+translate scale newpath 0 0 .5 0 360 arc closepath
+TM setmatrix
+}bind def
+/RC/rcurveto load def
+/RL/rlineto load def
+/ST/stroke load def
+/MT/moveto load def
+/CL/closepath load def
+/FL{
+currentgray exch setgray fill setgray
+}bind def
+/BL/fill load def
+/LW/setlinewidth load def
+/RE{
+findfont
+dup maxlength 1 index/FontName known not{1 add}if dict begin
+{
+1 index/FID ne{def}{pop pop}ifelse
+}forall
+/Encoding exch def
+dup/FontName exch def
+currentdict end definefont pop
+}bind def
+/DEFS 0 def
+/EBEGIN{
+moveto
+DEFS begin
+}bind def
+/EEND/end load def
+/CNT 0 def
+/level1 0 def
+/PBEGIN{
+/level1 save def
+translate
+div 3 1 roll div exch scale
+neg exch neg exch translate
+0 setgray
+0 setlinecap
+1 setlinewidth
+0 setlinejoin
+10 setmiterlimit
+[]0 setdash
+/setstrokeadjust where{
+pop
+false setstrokeadjust
+}if
+/setoverprint where{
+pop
+false setoverprint
+}if
+newpath
+/CNT countdictstack def
+userdict begin
+/showpage{}def
+}bind def
+/PEND{
+clear
+countdictstack CNT sub{end}repeat
+level1 restore
+}bind def
+end def
+/setpacking where{
+pop
+setpacking
+}if
+%%EndResource
+%%IncludeResource: font Times-Roman
+%%IncludeResource: font Times-Bold
+%%IncludeResource: font Times-Italic
+grops begin/DEFS 1 dict def DEFS begin/u{.001 mul}bind def end/RES 72
+def/PL 792 def/LS false def/ENC0[/asciicircum/asciitilde/Scaron/Zcaron
+/scaron/zcaron/Ydieresis/trademark/quotesingle/.notdef/.notdef/.notdef
+/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
+/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
+/.notdef/.notdef/space/exclam/quotedbl/numbersign/dollar/percent
+/ampersand/quoteright/parenleft/parenright/asterisk/plus/comma/hyphen
+/period/slash/zero/one/two/three/four/five/six/seven/eight/nine/colon
+/semicolon/less/equal/greater/question/at/A/B/C/D/E/F/G/H/I/J/K/L/M/N/O
+/P/Q/R/S/T/U/V/W/X/Y/Z/bracketleft/backslash/bracketright/circumflex
+/underscore/quoteleft/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y
+/z/braceleft/bar/braceright/tilde/.notdef/quotesinglbase/guillemotleft
+/guillemotright/bullet/florin/fraction/perthousand/dagger/daggerdbl
+/endash/emdash/ff/fi/fl/ffi/ffl/dotlessi/dotlessj/grave/hungarumlaut
+/dotaccent/breve/caron/ring/ogonek/quotedblleft/quotedblright/oe/lslash
+/quotedblbase/OE/Lslash/.notdef/exclamdown/cent/sterling/currency/yen
+/brokenbar/section/dieresis/copyright/ordfeminine/guilsinglleft
+/logicalnot/minus/registered/macron/degree/plusminus/twosuperior
+/threesuperior/acute/mu/paragraph/periodcentered/cedilla/onesuperior
+/ordmasculine/guilsinglright/onequarter/onehalf/threequarters
+/questiondown/Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE
+/Ccedilla/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex
+/Idieresis/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis
+/multiply/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn
+/germandbls/agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla
+/egrave/eacute/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis
+/eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/divide/oslash
+/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis]def
+/Times-Italic@0 ENC0/Times-Italic RE/Times-Bold@0 ENC0/Times-Bold RE
+/Times-Roman@0 ENC0/Times-Roman RE
+%%EndProlog
+%%Page: 1 1
+%%BeginPageSetup
+BP
+%%EndPageSetup
+/F0 10/Times-Roman@0 SF 351.08(CITEFIND\(1\) CITEFIND\(1\))72 48 R/F1
+10.95/Times-Bold@0 SF -.219(NA)72 84 S(ME).219 E F0(cite\214nd \255 e)
+108 96 Q(xtract matching bibliograph)-.15 E 2.5(ye)-.05 G
+(ntries from BibT)-2.5 E(eX .bib \214les)-.7 E F1(SYNOPSIS)72 112.8 Q/F2
+10/Times-Bold@0 SF(cite\214nd)108 124.8 Q/F3 10/Times-Italic@0 SF(ta)2.5
+E(gs-\214le bib\214le\(s\) >ne)-.1 E(wbib\214le)-.15 E F0(or)108 136.8 Q
+F2(cite\214nd)108 148.8 Q F3 2.5<ad62>2.5 G(ib\214le\(s\) >ne)-2.5 E
+(wbib\214le)-.15 E F1(DESCRIPTION)72 165.6 Q F2(cite\214nd)108 177.6 Q
+F0 -.15(ex)2.512 G .012(tracts from a list of B).15 F/F4 8/Times-Roman@0
+SF(IB)A F0(T)A(E)-1.667 2.4 M(X)-1.25 -2.4 M F3(.bib)2.512 E F0 .012
+(\214les those bibliograph)2.512 F 2.511(ye)-.05 G .011
+(ntries that match a speci\214ed list of cita-)-2.511 F 2.769
+(tion tags, possibly produced by)108 189.6 R F2(citetags)5.269 E F0
+2.769(\(1\), sending the entries to)B F3(stdout)5.269 E F0 5.269(,t).68
+G 2.769(ogether with all B)-5.269 F F4(IB)A F0(T)A(E)-1.667 2.4 M(X)
+-1.25 -2.4 M -.74(``)108 201.6 S -.834(@Preamble{. . .}').74 F 2.5('a)
+-.74 G(nd `)-2.5 E -.834(`@String{. . .}')-.74 F 2.5('c)-.74 G(ommands.)
+-2.5 E 1.317(If the \214rst ar)108 218.4 R(gument,)-.18 E F3(ta)3.817 E
+(gs-\214le)-.1 E F0 3.817(,i).18 G 3.817(s`)-3.817 G(`\255')-4.557 E
+1.317(', the tag list is read from)-.74 F F3(stdin)3.816 E F0 3.816(,a)
+.24 G(llo)-3.816 E 1.316(wing it to be piped from)-.25 F F2(cite-)3.816
+E(tags)108 230.4 Q F0(\(1\).)A(Bibliograph)108 247.2 Q 2.988(ye)-.05 G
+.489(ntries are output in the order found in the)-2.988 F F3(.bib)2.989
+E F0 2.989(\214les. In)2.989 F .489
+(the absence of cross references, you)2.989 F .561(may be able to use)
+108 259.2 R F2(bibsort)3.061 E F0 .56(\(1\) to sort them by citation k)B
+-.15(ey)-.1 G 5.56(.W)-.5 G .56(hile such sorting is unnecessary for B)
+-5.56 F F4(IB)A F0(T)A(E)-1.667 2.4 M(X)-1.25 -2.4 M(itself, it is con)
+108 271.2 Q -.15(ve)-.4 G(nient for a human reader of the).15 E F3(.bib)
+2.5 E F0(\214le.)2.5 E .042(When documents are prepared using a lar)108
+288 R .042(ge bibliograph)-.18 F 2.542(yd)-.05 G .042
+(ata base collection, it is sometimes con)-2.542 F -.15(ve)-.4 G .042
+(nient to).15 F -.15(ex)108 300 S .171(tract a subset B).15 F F4(IB)A F0
+(T)A(E)-1.667 2.4 M 2.671(Xb)-1.25 -2.4 O(ibliograph)-2.671 E 2.671
+<798c>-.05 G .17
+(le incorporating only those entries that are cited in the document.)
+-2.671 F(A)5.17 E(good e)108 312 Q
+(xample is a document to be submitted to a publisher)-.15 E 2.5(,o)-.4 G
+2.5(ro)-2.5 G(therwise distrib)-2.5 E(uted in electronic form.)-.2 E F2
+(cite\214nd)108 328.8 Q F0 -.15(ex)3.115 G .615(pects the bibliograph)
+.15 F 3.115<798c>-.05 G .616
+(le\(s\) to be consistently formatted in the style produced by)-3.115 F
+F2(bibclean)3.116 E F0(\(1\),)A(which allo)108 340.8 Q
+(ws use of simple pattern matching to recognize the required entries.)
+-.25 E 1.677 -.8(To g)108 357.6 T .077(uard ag).8 F .077(ainst match f)
+-.05 F .076(ailures, from v)-.1 F .076(ersion 1.03,)-.15 F F2
+(cite\214nd)2.576 E F0 .076
+(will complain if requested entries are not found)2.576 F .519
+(at all, or are found \(and output\) more than once.)108 369.6 R .519
+(It will also complain if end-of-\214le is reached during col-)5.519 F
+(lection of an)108 381.6 Q 2.5(yb)-.15 G(ibliograph)-2.5 E 2.5(ye)-.05 G
+(ntry)-2.5 E(.)-.65 E F1 -.11(BU)72 398.4 S(GS).11 E F2(cite\214nd)108
+410.4 Q F0 .633(is not smart enough to incorporate B)3.133 F F4(IB)A F0
+(T)A(E)-1.667 2.4 M 3.132(Xc)-1.25 -2.4 O .632
+(ross references unless their citation tags are included)-3.132 F
+(in the input list.)108 422.4 Q .985
+(No attempt is made to reduce the output `)108 439.2 R -.834
+(`@String{. . .}')-.74 F 3.486('c)-.74 G .986
+(ommands to just those that are actually refer)-3.486 F(-)-.2 E(enced.)
+108 451.2 Q(Those features should be added.)108 468 Q F1(SEE ALSO)72
+484.8 Q F2(bibcheck)108 496.8 Q F0(\(1\),)A F2(bibclean)2.955 E F0
+(\(1\),)A F2(bibdup)2.955 E F0(\(1\),)A F2(bibextract)2.955 E F0(\(1\),)
+A F2(bibjoin)2.955 E F0(\(1\),)A F2(biblabel)2.955 E F0(\(1\),)A F2
+(biblex)2.955 E F0(\(1\),)A F2(biborder)2.955 E F0(\(1\),)A F2(bib-)
+2.955 E(parse)108 508.8 Q F0(\(1\),)A F2(bibsort)2.5 E F0(\(1\),)A F2
+(bibtex)2.5 E F0(\(1\),)A F2(bib)2.5 E(unlex)-.2 E F0(\(1\),)A F2
+(citesub)2.5 E F0(\(1\),)A F2(citetags)2.5 E F0(\(1\),)A F2(gawk)2.5 E
+F0(\(1\),)A F2(latex)2.5 E F0(\(1\),)A F2(nawk)2.5 E F0(\(1\),)A F2(tex)
+2.5 E F0(\(1\).)A F1(FILES)72 525.6 Q F0(/usr/local/share/lib/bibe)108
+537.6 Q(xtract/cite\214nd.a)-.15 E(wk)-.15 E F2(nawk)10 E F0
+(\(1\) program for tag e)A(xtraction.)-.15 E 90.79
+(/usr/local/bin/cite\214nd user)108 554.4 R
+(-callable shell script to in)-.2 E -.2(vo)-.4 G -.1(ke).2 G F2(nawk)2.6
+E F0(\(1\).)A F1 -.548(AU)72 571.2 S(THOR).548 E F0(Nelson H. F)108
+583.2 Q 2.5(.B)-.8 G(eebe)-2.5 E(Center for Scienti\214c Computing)108
+595.2 Q(Uni)108 607.2 Q -.15(ve)-.25 G(rsity of Utah).15 E
+(Department of Mathematics, 322 INSCC)108 619.2 Q(155 S 1400 E RM 233)
+108 631.2 Q(Salt Lak)108 643.2 Q 2.5(eC)-.1 G(ity)-2.5 E 2.5(,U)-.65 G
+2.5(T8)-2.5 G(4112-0090)-2.5 E(USA)108 655.2 Q -.7(Te)108 667.2 S
+(l: +1 801 581 5254).7 E -.74(FA)108 679.2 S
+(X: +1 801 585 1640, +1 801 581 4148).74 E
+(Email: beebe@math.utah.edu, beebe@acm.or)108 691.2 Q(g, beebe@ieee.or)
+-.18 E 2.5(g\()-.18 G(Internet\))-2.5 E(WWW)108 703.2 Q 2.5(:h)-.37 G
+(ttp://www)-2.5 E(.math.utah.edu/~beebe)-.65 E -1.11(Ve)72 768 S
+(rsion 1.03)1.11 E(19 February 1999)147.9 E(1)193.45 E EP
+%%Trailer
+end
+%%EOF
diff --git a/biblio/bibtex/utils/bibextract/citetags.awk b/biblio/bibtex/utils/bibextract/citetags.awk
new file mode 100644
index 0000000000..2bb62b2af1
--- /dev/null
+++ b/biblio/bibtex/utils/bibextract/citetags.awk
@@ -0,0 +1,107 @@
+### ====================================================================
+### @Awk-file{
+### author = "Nelson H. F. Beebe",
+### version = "1.03",
+### date = "19 February 1999",
+### time = "12:36:04 MST",
+### filename = "citetags.awk",
+### address = "Center for Scientific Computing
+### University of Utah
+### Department of Mathematics, 322 INSCC
+### 155 S 1400 E RM 233
+### Salt Lake City, UT 84112-0090
+### USA",
+### telephone = "+1 801 581 5254",
+### FAX = "+1 801 585 1640, +1 801 581 4148",
+### URL = "http://www.math.utah.edu/~beebe",
+### checksum = "31982 107 465 4936",
+### email = "beebe@math.utah.edu, beebe@acm.org,
+### beebe@ieee.org (Internet)",
+### codetable = "ISO/ASCII",
+### keywords = "BibTeX, bibliography",
+### supported = "yes",
+### docstring = "*********************************************
+### This code is hereby placed in the PUBLIC
+### DOMAIN and may be redistributed without any
+### restrictions.
+### *********************************************
+###
+### Read a LaTeX file, or an .aux file, and
+### extract the citation tags, outputting them
+### one per line on stdout.
+###
+### The companion program, citefind.awk, can be
+### used to extract the complete BibTeX entries
+### for those tags from a bibliography file.
+### This is useful when a small bibtex file
+### must be prepared from large citation
+### databases.
+###
+### Usage:
+### nawk -f citetags.awk foo.ltx | sort > temp.tags
+### nawk -f citefind.awk temp.tags bibfile(s) \
+### >newbibfile
+### rm temp.tags
+###
+### The sort step is optional; citetags will
+### not output duplicate tags, but they will be
+### in random order.
+###
+### This program should normally be run via
+### the separate citetags shell script.
+###
+### The checksum field above contains a CRC-16
+### checksum as the first value, followed by the
+### equivalent of the standard UNIX wc (word
+### count) utility output of lines, words, and
+### characters. This is produced by Robert
+### Solovay's checksum utility.",
+### }
+### ====================================================================
+
+### Edit history (reverse chronological order):
+### [19-Feb-1999] 1.03 Capitalize global variables.
+###
+### [30-Oct-1992] 1.02 Update header for new release.
+###
+### [21-Oct-1992] 1.01 Update for public distribution.
+###
+### [12-Apr-1989] 1.00 Original version.
+
+/(\\cit(e|ation)|\\bibcite)/ {
+ for (;;) # loop over possible multiple \cite{} commands
+ {
+ $0 = substr($0,index($0,"\\cit"));
+ comment_start = index($0,"%");
+ if (comment_start > 0)
+ $0 = substr($0,1,comment_start-1);
+ line = substr($0,index($0,"{")+1);
+ for (;;)
+ {
+ k = index(line,"}");
+ if (k > 0)
+ break;
+ getline;
+ comment_start = index($0,"%");
+ if (comment_start > 0)
+ $0 = substr($0,1,comment_start-1);
+ line = line $0;
+ }
+ gsub(/[ \t]/,"",line); # remove white space
+ templine = line;
+ line = substr(templine,1,k-1);
+ # We now have a comma-separated tag word list
+ split(line,taglist,",");
+ for (n in taglist)
+ Tagtable[m++] = taglist[n];
+ $0 = substr(templine,k);
+ if ($0 !~ /\\cite/)
+ break; # no more \cite{} commands
+ }
+ }
+
+# Now print the (unsorted) list of unique tags.
+END {
+ for (n in Tagtable)
+ print Tagtable[n];
+ }
diff --git a/biblio/bibtex/utils/bibextract/citetags.man b/biblio/bibtex/utils/bibextract/citetags.man
new file mode 100644
index 0000000000..17413ce7bf
--- /dev/null
+++ b/biblio/bibtex/utils/bibextract/citetags.man
@@ -0,0 +1,126 @@
+.\" ====================================================================
+.\" @Troff-man-file{
+.\" author = "Nelson H. F. Beebe",
+.\" version = "1.03",
+.\" date = "19 February 1999",
+.\" time = "12:34:05 MST",
+.\" filename = "citetags.man",
+.\" address = "Center for Scientific Computing
+.\" University of Utah
+.\" Department of Mathematics, 322 INSCC
+.\" 155 S 1400 E RM 233
+.\" Salt Lake City, UT 84112-0090
+.\" USA
+.\" telephone = "+1 801 581 5254",
+.\" FAX = "+1 801 585 1640, +1 801 581 4148",
+.\" checksum = "41666 126 547 4764",
+.\" email = "beebe@math.utah.edu, beebe@acm.org,
+.\" beebe@ieee.org (Internet)",
+.\" URL = "http://www.math.utah.edu/~beebe",
+.\" checksum = "48699 195 869 6955",
+.\" email = "beebe@math.utah.edu, beebe@acm.org,
+.\" beebe@ieee.org (Internet)",
+.\" codetable = "ISO/ASCII",
+.\" keywords = "bibliography, BibTeX, citation label,
+.\" citation tag",
+.\" supported = "yes",
+.\" docstring = "This file contains the UNIX manual pages
+.\" for the citetags command, a shell script
+.\" that invokes an awk program to extract
+.\" citation tags from a LaTeX source file or
+.\" .aux file for later use with citefind(1).
+.\"
+.\" The checksum field above contains a CRC-16
+.\" checksum as the first value, followed by the
+.\" equivalent of the standard UNIX wc (word
+.\" count) utility output of lines, words, and
+.\" characters. This is produced by Robert
+.\" Solovay's checksum utility.",
+.\" }
+.\" ====================================================================
+.if t .ds Bi B\s-2IB\s+2T\\h'-0.1667m'\\v'0.20v'E\\v'-0.20v'\\h'-0.125m'X
+.if n .ds Bi BibTeX
+.if n .ds La LaTeX
+.if t .ds La L\\h'-0.24m'\\v'-0.15v'\\s-2A\\s+2\\h'-0.15m'\\v'0.15v'T\\h'-0.1667m'\\v'0.20v'E\\v'-0.20v'\\h'-0.125m'X
+.if t .ds Te T\\h'-0.1667m'\\v'0.20v'E\\v'-0.20v'\\h'-0.125m'X
+.if n .ds Te TeX
+.TH CITETAGS 1 "19 February 1999" "Version 1.03"
+.\"======================================================================
+.SH NAME
+citetags \- extract BibTeX citation tags from a LaTeX source or .aux file
+.\"======================================================================
+.SH SYNOPSIS
+.BI citetags " LaTeX source or .aux file >tagsfile"
+.\"======================================================================
+.SH DESCRIPTION
+.B citetags
+extracts \*(Bi\& citation tags from a \*(La\& source file or
+.I .aux
+file and sends them to
+.IR stdout ,
+possibly for later input to
+.BR citefind (1).
+.PP
+.B citetags
+and
+.BR citefind (1)
+can be used to extract from a large \*(Bi\&
+bibliography data base just those bibliography
+entries that are actually used in a particular
+document, perhaps for submission to a publisher,
+or distribution in electronic form.
+.\"======================================================================
+.SH BUGS
+.B citetags
+is not smart enough to incorporate \*(Bi\& cross
+references unless they are themselves cited.
+.PP
+That feature should be added.
+.\"======================================================================
+.SH "SEE ALSO"
+.BR bibcheck (1),
+.BR bibclean (1),
+.BR bibdup (1),
+.BR bibextract (1),
+.BR bibjoin (1),
+.BR biblabel (1),
+.BR biblex (1),
+.BR biborder (1),
+.BR bibparse (1),
+.BR bibsort (1),
+.BR bibtex (1),
+.BR bibunlex (1),
+.BR citefind (1),
+.BR citesub (1),
+.BR gawk (1),
+.BR latex (1),
+.BR nawk (1),
+.BR tex (1).
+.\"======================================================================
+.SH FILES
+.\" NB: LIBDIR and BINDIR are substituted for real directory names
+.\" by a sed script invoked by "make install".
+.TP \w'@LIBDIR@/citetags.awk'u+2n
+@LIBDIR@/citetags.awk
+.BR nawk (1)
+program for tag extraction.
+.TP
+@BINDIR@/citetags
+user-callable shell script to invoke
+.BR nawk (1).
+.\"======================================================================
+.SH AUTHOR
+.nf
+Nelson H. F. Beebe
+Center for Scientific Computing
+University of Utah
+Department of Mathematics, 322 INSCC
+155 S 1400 E RM 233
+Salt Lake City, UT 84112-0090
+USA
+Tel: +1 801 581 5254
+FAX: +1 801 585 1640, +1 801 581 4148
+Email: beebe@math.utah.edu, beebe@acm.org, beebe@ieee.org (Internet)
+WWW: http://www.math.utah.edu/~beebe
+.fi
+.\"==============================[The End]==============================
diff --git a/biblio/bibtex/utils/bibextract/citetags.pdf b/biblio/bibtex/utils/bibextract/citetags.pdf
new file mode 100644
index 0000000000..fad7aa1a9f
--- /dev/null
+++ b/biblio/bibtex/utils/bibextract/citetags.pdf
Binary files differ
diff --git a/biblio/bibtex/utils/bibextract/citetags.sh b/biblio/bibtex/utils/bibextract/citetags.sh
new file mode 100644
index 0000000000..c3ef82ec83
--- /dev/null
+++ b/biblio/bibtex/utils/bibextract/citetags.sh
@@ -0,0 +1,68 @@
+#!/bin/sh
+### ====================================================================
+### @UNIX-shell-file{
+### author = "Nelson H. F. Beebe",
+### version = "1.02",
+### date = "19 February 1999",
+### time = "12:43:24 MST",
+### filename = "citetags.sh",
+### address = "Center for Scientific Computing
+### University of Utah
+### Department of Mathematics, 322 INSCC
+### 155 S 1400 E RM 233
+### Salt Lake City, UT 84112-0090
+### USA",
+### telephone = "+1 801 581 5254",
+### FAX = "+1 801 585 1640, +1 801 581 4148",
+### URL = "http://www.math.utah.edu/~beebe",
+### checksum = "27722 68 325 3094",
+### email = "beebe@math.utah.edu, beebe@acm.org,
+### beebe@ieee.org (Internet)",
+### codetable = "ISO/ASCII",
+### keywords = "BibTeX, bibliography",
+### supported = "yes",
+### docstring = "*********************************************
+### This code is hereby placed in the PUBLIC
+### DOMAIN and may be redistributed without any
+### restrictions.
+### *********************************************
+###
+### Read a LaTeX file, or an .aux file, and
+### extract the citation tags, outputting them
+### one per line on stdout, in sorted order.
+###
+### The companion program, citefind, can be
+### used to extract the complete BibTeX entries
+### for those tags from a bibliography file.
+### This is useful when a small bibtex file
+### must be prepared from large citation
+### databases.
+###
+### Usage:
+### citetags latex-file--or--aux-file >newbibfile
+###
+### The checksum field above contains a CRC-16
+### checksum as the first value, followed by the
+### equivalent of the standard UNIX wc (word
+### count) utility output of lines, words, and
+### characters. This is produced by Robert
+### Solovay's checksum utility.",
+### }
+### ====================================================================
+
+### Edit history (reverse chronological order):
+### [19-Feb-1999] 1.03 Update file header.
+###
+### [30-Oct-1992] 1.02 Update file header.
+###
+### [21-Oct-1992] 1.01 Update for public distribution
+###
+### [21-Apr-1990] 1.00 Original version
+
+LIBDIR=@LIBDIR@
+
+# The sort step is optional; citetags will not output duplicate tags,
+# but they will be in random order.
+
+nawk -f ${LIBDIR}/citetags.awk $* | sort
+### ====================================================================
diff --git a/biblio/bibtex/utils/bibextract/citetags.sok b/biblio/bibtex/utils/bibextract/citetags.sok
new file mode 100644
index 0000000000..e87b1cd1ce
--- /dev/null
+++ b/biblio/bibtex/utils/bibextract/citetags.sok
@@ -0,0 +1,47 @@
+BIBT
+BINDIR
+Bi
+BibTeX
+CITETAGS
+E
+Email
+F
+FAX
+H
+INSCC
+LIBDIR
+LaTeX
+S
+Te
+TeX
+WWW
+acm.org
+aux
+beebe
+bibcheck
+bibclean
+bibdup
+bibextract
+bibindex
+bibjoin
+biblabel
+biblex
+biblook
+biborder
+bibparse
+bibsort
+bibtex
+bibunlex
+citefind
+citesub
+citetags
+citetags.awk
+http
+ieee.org
+math.utah.edu
+nawk
+tagsfile
+tex
+v'0.15v'T
+v'0.20v'E
+www.math.utah.edu
diff --git a/biblio/bibtex/utils/bibextract/citetags.txt b/biblio/bibtex/utils/bibextract/citetags.txt
new file mode 100644
index 0000000000..2278da4791
--- /dev/null
+++ b/biblio/bibtex/utils/bibextract/citetags.txt
@@ -0,0 +1,258 @@
+%!PS-Adobe-3.0
+%%Creator: groff version 1.16.1
+%%CreationDate: Sat Aug 25 18:47:51 2001
+%%DocumentNeededResources: font Times-Roman
+%%+ font Times-Bold
+%%+ font Times-Italic
+%%DocumentSuppliedResources: procset grops 1.16 1
+%%Pages: 1
+%%PageOrder: Ascend
+%%Orientation: Portrait
+%%EndComments
+%%BeginProlog
+%%BeginResource: procset grops 1.16 1
+/setpacking where{
+pop
+currentpacking
+true setpacking
+}if
+/grops 120 dict dup begin
+/SC 32 def
+/A/show load def
+/B{0 SC 3 -1 roll widthshow}bind def
+/C{0 exch ashow}bind def
+/D{0 exch 0 SC 5 2 roll awidthshow}bind def
+/E{0 rmoveto show}bind def
+/F{0 rmoveto 0 SC 3 -1 roll widthshow}bind def
+/G{0 rmoveto 0 exch ashow}bind def
+/H{0 rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
+/I{0 exch rmoveto show}bind def
+/J{0 exch rmoveto 0 SC 3 -1 roll widthshow}bind def
+/K{0 exch rmoveto 0 exch ashow}bind def
+/L{0 exch rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
+/M{rmoveto show}bind def
+/N{rmoveto 0 SC 3 -1 roll widthshow}bind def
+/O{rmoveto 0 exch ashow}bind def
+/P{rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
+/Q{moveto show}bind def
+/R{moveto 0 SC 3 -1 roll widthshow}bind def
+/S{moveto 0 exch ashow}bind def
+/T{moveto 0 exch 0 SC 5 2 roll awidthshow}bind def
+/SF{
+findfont exch
+[exch dup 0 exch 0 exch neg 0 0]makefont
+dup setfont
+[exch/setfont cvx]cvx bind def
+}bind def
+/MF{
+findfont
+[5 2 roll
+0 3 1 roll
+neg 0 0]makefont
+dup setfont
+[exch/setfont cvx]cvx bind def
+}bind def
+/level0 0 def
+/RES 0 def
+/PL 0 def
+/LS 0 def
+/MANUAL{
+statusdict begin/manualfeed true store end
+}bind def
+/PLG{
+gsave newpath clippath pathbbox grestore
+exch pop add exch pop
+}bind def
+/BP{
+/level0 save def
+1 setlinecap
+1 setlinejoin
+72 RES div dup scale
+LS{
+90 rotate
+}{
+0 PL translate
+}ifelse
+1 -1 scale
+}bind def
+/EP{
+level0 restore
+showpage
+}bind def
+/DA{
+newpath arcn stroke
+}bind def
+/SN{
+transform
+.25 sub exch .25 sub exch
+round .25 add exch round .25 add exch
+itransform
+}bind def
+/DL{
+SN
+moveto
+SN
+lineto stroke
+}bind def
+/DC{
+newpath 0 360 arc closepath
+}bind def
+/TM matrix def
+/DE{
+TM currentmatrix pop
+translate scale newpath 0 0 .5 0 360 arc closepath
+TM setmatrix
+}bind def
+/RC/rcurveto load def
+/RL/rlineto load def
+/ST/stroke load def
+/MT/moveto load def
+/CL/closepath load def
+/FL{
+currentgray exch setgray fill setgray
+}bind def
+/BL/fill load def
+/LW/setlinewidth load def
+/RE{
+findfont
+dup maxlength 1 index/FontName known not{1 add}if dict begin
+{
+1 index/FID ne{def}{pop pop}ifelse
+}forall
+/Encoding exch def
+dup/FontName exch def
+currentdict end definefont pop
+}bind def
+/DEFS 0 def
+/EBEGIN{
+moveto
+DEFS begin
+}bind def
+/EEND/end load def
+/CNT 0 def
+/level1 0 def
+/PBEGIN{
+/level1 save def
+translate
+div 3 1 roll div exch scale
+neg exch neg exch translate
+0 setgray
+0 setlinecap
+1 setlinewidth
+0 setlinejoin
+10 setmiterlimit
+[]0 setdash
+/setstrokeadjust where{
+pop
+false setstrokeadjust
+}if
+/setoverprint where{
+pop
+false setoverprint
+}if
+newpath
+/CNT countdictstack def
+userdict begin
+/showpage{}def
+}bind def
+/PEND{
+clear
+countdictstack CNT sub{end}repeat
+level1 restore
+}bind def
+end def
+/setpacking where{
+pop
+setpacking
+}if
+%%EndResource
+%%IncludeResource: font Times-Roman
+%%IncludeResource: font Times-Bold
+%%IncludeResource: font Times-Italic
+grops begin/DEFS 1 dict def DEFS begin/u{.001 mul}bind def end/RES 72
+def/PL 792 def/LS false def/ENC0[/asciicircum/asciitilde/Scaron/Zcaron
+/scaron/zcaron/Ydieresis/trademark/quotesingle/.notdef/.notdef/.notdef
+/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
+/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
+/.notdef/.notdef/space/exclam/quotedbl/numbersign/dollar/percent
+/ampersand/quoteright/parenleft/parenright/asterisk/plus/comma/hyphen
+/period/slash/zero/one/two/three/four/five/six/seven/eight/nine/colon
+/semicolon/less/equal/greater/question/at/A/B/C/D/E/F/G/H/I/J/K/L/M/N/O
+/P/Q/R/S/T/U/V/W/X/Y/Z/bracketleft/backslash/bracketright/circumflex
+/underscore/quoteleft/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y
+/z/braceleft/bar/braceright/tilde/.notdef/quotesinglbase/guillemotleft
+/guillemotright/bullet/florin/fraction/perthousand/dagger/daggerdbl
+/endash/emdash/ff/fi/fl/ffi/ffl/dotlessi/dotlessj/grave/hungarumlaut
+/dotaccent/breve/caron/ring/ogonek/quotedblleft/quotedblright/oe/lslash
+/quotedblbase/OE/Lslash/.notdef/exclamdown/cent/sterling/currency/yen
+/brokenbar/section/dieresis/copyright/ordfeminine/guilsinglleft
+/logicalnot/minus/registered/macron/degree/plusminus/twosuperior
+/threesuperior/acute/mu/paragraph/periodcentered/cedilla/onesuperior
+/ordmasculine/guilsinglright/onequarter/onehalf/threequarters
+/questiondown/Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE
+/Ccedilla/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex
+/Idieresis/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis
+/multiply/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn
+/germandbls/agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla
+/egrave/eacute/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis
+/eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/divide/oslash
+/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis]def
+/Times-Italic@0 ENC0/Times-Italic RE/Times-Bold@0 ENC0/Times-Bold RE
+/Times-Roman@0 ENC0/Times-Roman RE
+%%EndProlog
+%%Page: 1 1
+%%BeginPageSetup
+BP
+%%EndPageSetup
+/F0 10/Times-Roman@0 SF(CITET)72 48 Q -.4(AG)-.93 G 348.18(S\(1\) CITET)
+.4 F -.4(AG)-.93 G(S\(1\)).4 E/F1 10.95/Times-Bold@0 SF -.219(NA)72 84 S
+(ME).219 E F0(citetags \255 e)108 96 Q(xtract BibT)-.15 E
+(eX citation tags from a LaT)-.7 E(eX source or .aux \214le)-.7 E F1
+(SYNOPSIS)72 112.8 Q/F2 10/Times-Bold@0 SF(citetags)108 124.8 Q/F3 10
+/Times-Italic@0 SF(LaT)2.5 E(eX sour)-.92 E(ce or .aux \214le >ta)-.37 E
+(gs\214le)-.1 E F1(DESCRIPTION)72 141.6 Q F2(citetags)108 153.6 Q F0
+-.15(ex)2.793 G .293(tracts B).15 F/F4 8/Times-Roman@0 SF(IB)A F0(T)A(E)
+-1.667 2.4 M 2.792(Xc)-1.25 -2.4 O .292(itation tags from a L)-2.792 F
+F4(A)-2.4 -1.8 M F0(T)-1.5 1.8 M(E)-1.667 2.4 M 2.792(Xs)-1.25 -2.4 O
+.292(ource \214le or)-2.792 F F3(.aux)2.792 E F0 .292
+(\214le and sends them to)2.792 F F3(stdout)2.792 E F0 2.792(,p).68 G
+(ossi-)-2.792 E(bly for later input to)108 165.6 Q F2(cite\214nd)2.5 E
+F0(\(1\).)A F2(citetags)108 182.4 Q F0(and)2.819 E F2(cite\214nd)2.819 E
+F0 .319(\(1\) can be used to e)B .319(xtract from a lar)-.15 F .319
+(ge B)-.18 F F4(IB)A F0(T)A(E)-1.667 2.4 M 2.819(Xb)-1.25 -2.4 O
+(ibliograph)-2.819 E 2.819(yd)-.05 G .32(ata base just those bibli-)
+-2.819 F(ograph)108 194.4 Q 3.457(ye)-.05 G .956(ntries that are actual\
+ly used in a particular document, perhaps for submission to a publisher)
+-3.457 F 3.456(,o)-.4 G(r)-3.456 E(distrib)108 206.4 Q
+(ution in electronic form.)-.2 E F1 -.11(BU)72 223.2 S(GS).11 E F2
+(citetags)108 235.2 Q F0(is not smart enough to incorporate B)2.5 E F4
+(IB)A F0(T)A(E)-1.667 2.4 M 2.5(Xc)-1.25 -2.4 O
+(ross references unless the)-2.5 E 2.5(ya)-.15 G(re themselv)-2.5 E
+(es cited.)-.15 E(That feature should be added.)108 252 Q F1(SEE ALSO)72
+268.8 Q F2(bibcheck)108 280.8 Q F0(\(1\),)A F2(bibclean)2.955 E F0
+(\(1\),)A F2(bibdup)2.955 E F0(\(1\),)A F2(bibextract)2.955 E F0(\(1\),)
+A F2(bibjoin)2.955 E F0(\(1\),)A F2(biblabel)2.955 E F0(\(1\),)A F2
+(biblex)2.955 E F0(\(1\),)A F2(biborder)2.955 E F0(\(1\),)A F2(bib-)
+2.955 E(parse)108 292.8 Q F0(\(1\),)A F2(bibsort)2.5 E F0(\(1\),)A F2
+(bibtex)2.5 E F0(\(1\),)A F2(bib)2.5 E(unlex)-.2 E F0(\(1\),)A F2
+(cite\214nd)2.5 E F0(\(1\),)A F2(citesub)2.5 E F0(\(1\),)A F2(gawk)2.5 E
+F0(\(1\),)A F2(latex)2.5 E F0(\(1\),)A F2(nawk)2.5 E F0(\(1\),)A F2(tex)
+2.5 E F0(\(1\).)A F1(FILES)72 309.6 Q F0(/usr/local/share/lib/bibe)108
+321.6 Q(xtract/citetags.a)-.15 E(wk)-.15 E F2(nawk)10 E F0
+(\(1\) program for tag e)A(xtraction.)-.15 E 90.79
+(/usr/local/bin/citetags user)108 338.4 R(-callable shell script to in)
+-.2 E -.2(vo)-.4 G -.1(ke).2 G F2(nawk)2.6 E F0(\(1\).)A F1 -.548(AU)72
+355.2 S(THOR).548 E F0(Nelson H. F)108 367.2 Q 2.5(.B)-.8 G(eebe)-2.5 E
+(Center for Scienti\214c Computing)108 379.2 Q(Uni)108 391.2 Q -.15(ve)
+-.25 G(rsity of Utah).15 E(Department of Mathematics, 322 INSCC)108
+403.2 Q(155 S 1400 E RM 233)108 415.2 Q(Salt Lak)108 427.2 Q 2.5(eC)-.1
+G(ity)-2.5 E 2.5(,U)-.65 G 2.5(T8)-2.5 G(4112-0090)-2.5 E(USA)108 439.2
+Q -.7(Te)108 451.2 S(l: +1 801 581 5254).7 E -.74(FA)108 463.2 S
+(X: +1 801 585 1640, +1 801 581 4148).74 E
+(Email: beebe@math.utah.edu, beebe@acm.or)108 475.2 Q(g, beebe@ieee.or)
+-.18 E 2.5(g\()-.18 G(Internet\))-2.5 E(WWW)108 487.2 Q 2.5(:h)-.37 G
+(ttp://www)-2.5 E(.math.utah.edu/~beebe)-.65 E -1.11(Ve)72 768 S
+(rsion 1.03)1.11 E(19 February 1999)147.9 E(1)193.45 E EP
+%%Trailer
+end
+%%EOF
diff --git a/biblio/bibtex/utils/bibextract/configure b/biblio/bibtex/utils/bibextract/configure
new file mode 100644
index 0000000000..aac37b3d4c
--- /dev/null
+++ b/biblio/bibtex/utils/bibextract/configure
@@ -0,0 +1,2301 @@
+#! /bin/sh
+# Guess values for system-dependent variables and create Makefiles.
+# Generated by Autoconf 2.52 for bibextract 1.09.
+#
+# Report bugs to <beebe@math.utah.edu>.
+#
+# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
+# Free Software Foundation, Inc.
+# This configure script is free software; the Free Software Foundation
+# gives unlimited permission to copy, distribute and modify it.
+
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
+
+# Be Bourne compatible
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+ emulate sh
+ NULLCMD=:
+elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
+ set -o posix
+fi
+
+# Name of the executable.
+as_me=`echo "$0" |sed 's,.*[\\/],,'`
+
+if expr a : '\(a\)' >/dev/null 2>&1; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+rm -f conf$$ conf$$.exe conf$$.file
+echo >conf$$.file
+if ln -s conf$$.file conf$$ 2>/dev/null; then
+ # We could just check for DJGPP; but this test a) works b) is more generic
+ # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
+ if test -f conf$$.exe; then
+ # Don't use ln at all; we don't have any links
+ as_ln_s='cp -p'
+ else
+ as_ln_s='ln -s'
+ fi
+elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+else
+ as_ln_s='cp -p'
+fi
+rm -f conf$$ conf$$.exe conf$$.file
+
+as_executable_p="test -f"
+
+# Support unset when possible.
+if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
+ as_unset=unset
+else
+ as_unset=false
+fi
+
+# NLS nuisances.
+$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
+$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
+$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
+$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
+$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
+$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
+$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
+$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
+
+# IFS
+# We need space, tab and new line, in precisely that order.
+as_nl='
+'
+IFS=" $as_nl"
+
+# CDPATH.
+$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
+
+# Name of the host.
+# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
+# so uname gets run too.
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
+
+exec 6>&1
+
+#
+# Initializations.
+#
+ac_default_prefix=/usr/local
+cross_compiling=no
+subdirs=
+MFLAGS= MAKEFLAGS=
+SHELL=${CONFIG_SHELL-/bin/sh}
+
+# Maximum number of lines to put in a shell here document.
+# This variable seems obsolete. It should probably be removed, and
+# only ac_max_sed_lines should be used.
+: ${ac_max_here_lines=38}
+
+# Initialize some variables set by options.
+ac_init_help=
+ac_init_version=false
+# The variables have the same names as the options, with
+# dashes changed to underlines.
+cache_file=/dev/null
+exec_prefix=NONE
+no_create=
+no_recursion=
+prefix=NONE
+program_prefix=NONE
+program_suffix=NONE
+program_transform_name=s,x,x,
+silent=
+site=
+srcdir=
+verbose=
+x_includes=NONE
+x_libraries=NONE
+
+# Installation directory options.
+# These are left unexpanded so users can "make install exec_prefix=/foo"
+# and all the variables that are supposed to be based on exec_prefix
+# by default will actually change.
+# Use braces instead of parens because sh, perl, etc. also accept them.
+bindir='${exec_prefix}/bin'
+sbindir='${exec_prefix}/sbin'
+libexecdir='${exec_prefix}/libexec'
+datadir='${prefix}/share'
+sysconfdir='${prefix}/etc'
+sharedstatedir='${prefix}/com'
+localstatedir='${prefix}/var'
+libdir='${exec_prefix}/lib'
+includedir='${prefix}/include'
+oldincludedir='/usr/include'
+infodir='${prefix}/info'
+mandir='${prefix}/man'
+
+# Identity of this package.
+PACKAGE_NAME='bibextract'
+PACKAGE_TARNAME='bibextract'
+PACKAGE_VERSION='1.09'
+PACKAGE_STRING='bibextract 1.09'
+PACKAGE_BUGREPORT='beebe@math.utah.edu'
+
+ac_prev=
+for ac_option
+do
+ # If the previous option needs an argument, assign it.
+ if test -n "$ac_prev"; then
+ eval "$ac_prev=\$ac_option"
+ ac_prev=
+ continue
+ fi
+
+ ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
+
+ # Accept the important Cygnus configure options, so we can diagnose typos.
+
+ case $ac_option in
+
+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
+ ac_prev=bindir ;;
+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
+ bindir=$ac_optarg ;;
+
+ -build | --build | --buil | --bui | --bu)
+ ac_prev=build_alias ;;
+ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
+ build_alias=$ac_optarg ;;
+
+ -cache-file | --cache-file | --cache-fil | --cache-fi \
+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
+ ac_prev=cache_file ;;
+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
+ cache_file=$ac_optarg ;;
+
+ --config-cache | -C)
+ cache_file=config.cache ;;
+
+ -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
+ ac_prev=datadir ;;
+ -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
+ | --da=*)
+ datadir=$ac_optarg ;;
+
+ -disable-* | --disable-*)
+ ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
+ { echo "$as_me: error: invalid feature name: $ac_feature" >&2
+ { (exit 1); exit 1; }; }
+ ac_feature=`echo $ac_feature | sed 's/-/_/g'`
+ eval "enable_$ac_feature=no" ;;
+
+ -enable-* | --enable-*)
+ ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
+ { echo "$as_me: error: invalid feature name: $ac_feature" >&2
+ { (exit 1); exit 1; }; }
+ ac_feature=`echo $ac_feature | sed 's/-/_/g'`
+ case $ac_option in
+ *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
+ *) ac_optarg=yes ;;
+ esac
+ eval "enable_$ac_feature='$ac_optarg'" ;;
+
+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
+ | --exec | --exe | --ex)
+ ac_prev=exec_prefix ;;
+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
+ | --exec=* | --exe=* | --ex=*)
+ exec_prefix=$ac_optarg ;;
+
+ -gas | --gas | --ga | --g)
+ # Obsolete; use --with-gas.
+ with_gas=yes ;;
+
+ -help | --help | --hel | --he | -h)
+ ac_init_help=long ;;
+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
+ ac_init_help=recursive ;;
+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
+ ac_init_help=short ;;
+
+ -host | --host | --hos | --ho)
+ ac_prev=host_alias ;;
+ -host=* | --host=* | --hos=* | --ho=*)
+ host_alias=$ac_optarg ;;
+
+ -includedir | --includedir | --includedi | --included | --include \
+ | --includ | --inclu | --incl | --inc)
+ ac_prev=includedir ;;
+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
+ | --includ=* | --inclu=* | --incl=* | --inc=*)
+ includedir=$ac_optarg ;;
+
+ -infodir | --infodir | --infodi | --infod | --info | --inf)
+ ac_prev=infodir ;;
+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
+ infodir=$ac_optarg ;;
+
+ -libdir | --libdir | --libdi | --libd)
+ ac_prev=libdir ;;
+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
+ libdir=$ac_optarg ;;
+
+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
+ | --libexe | --libex | --libe)
+ ac_prev=libexecdir ;;
+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
+ | --libexe=* | --libex=* | --libe=*)
+ libexecdir=$ac_optarg ;;
+
+ -localstatedir | --localstatedir | --localstatedi | --localstated \
+ | --localstate | --localstat | --localsta | --localst \
+ | --locals | --local | --loca | --loc | --lo)
+ ac_prev=localstatedir ;;
+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* \
+ | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
+ localstatedir=$ac_optarg ;;
+
+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
+ ac_prev=mandir ;;
+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
+ mandir=$ac_optarg ;;
+
+ -nfp | --nfp | --nf)
+ # Obsolete; use --without-fp.
+ with_fp=no ;;
+
+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
+ | --no-cr | --no-c)
+ no_create=yes ;;
+
+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
+ no_recursion=yes ;;
+
+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
+ | --oldin | --oldi | --old | --ol | --o)
+ ac_prev=oldincludedir ;;
+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
+ oldincludedir=$ac_optarg ;;
+
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
+ ac_prev=prefix ;;
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
+ prefix=$ac_optarg ;;
+
+ -program-prefix | --program-prefix | --program-prefi | --program-pref \
+ | --program-pre | --program-pr | --program-p)
+ ac_prev=program_prefix ;;
+ -program-prefix=* | --program-prefix=* | --program-prefi=* \
+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
+ program_prefix=$ac_optarg ;;
+
+ -program-suffix | --program-suffix | --program-suffi | --program-suff \
+ | --program-suf | --program-su | --program-s)
+ ac_prev=program_suffix ;;
+ -program-suffix=* | --program-suffix=* | --program-suffi=* \
+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
+ program_suffix=$ac_optarg ;;
+
+ -program-transform-name | --program-transform-name \
+ | --program-transform-nam | --program-transform-na \
+ | --program-transform-n | --program-transform- \
+ | --program-transform | --program-transfor \
+ | --program-transfo | --program-transf \
+ | --program-trans | --program-tran \
+ | --progr-tra | --program-tr | --program-t)
+ ac_prev=program_transform_name ;;
+ -program-transform-name=* | --program-transform-name=* \
+ | --program-transform-nam=* | --program-transform-na=* \
+ | --program-transform-n=* | --program-transform-=* \
+ | --program-transform=* | --program-transfor=* \
+ | --program-transfo=* | --program-transf=* \
+ | --program-trans=* | --program-tran=* \
+ | --progr-tra=* | --program-tr=* | --program-t=*)
+ program_transform_name=$ac_optarg ;;
+
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ silent=yes ;;
+
+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
+ ac_prev=sbindir ;;
+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
+ | --sbi=* | --sb=*)
+ sbindir=$ac_optarg ;;
+
+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
+ | --sharedst | --shareds | --shared | --share | --shar \
+ | --sha | --sh)
+ ac_prev=sharedstatedir ;;
+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
+ | --sha=* | --sh=*)
+ sharedstatedir=$ac_optarg ;;
+
+ -site | --site | --sit)
+ ac_prev=site ;;
+ -site=* | --site=* | --sit=*)
+ site=$ac_optarg ;;
+
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
+ ac_prev=srcdir ;;
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
+ srcdir=$ac_optarg ;;
+
+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
+ | --syscon | --sysco | --sysc | --sys | --sy)
+ ac_prev=sysconfdir ;;
+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
+ sysconfdir=$ac_optarg ;;
+
+ -target | --target | --targe | --targ | --tar | --ta | --t)
+ ac_prev=target_alias ;;
+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
+ target_alias=$ac_optarg ;;
+
+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
+ verbose=yes ;;
+
+ -version | --version | --versio | --versi | --vers | -V)
+ ac_init_version=: ;;
+
+ -with-* | --with-*)
+ ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
+ { echo "$as_me: error: invalid package name: $ac_package" >&2
+ { (exit 1); exit 1; }; }
+ ac_package=`echo $ac_package| sed 's/-/_/g'`
+ case $ac_option in
+ *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
+ *) ac_optarg=yes ;;
+ esac
+ eval "with_$ac_package='$ac_optarg'" ;;
+
+ -without-* | --without-*)
+ ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
+ { echo "$as_me: error: invalid package name: $ac_package" >&2
+ { (exit 1); exit 1; }; }
+ ac_package=`echo $ac_package | sed 's/-/_/g'`
+ eval "with_$ac_package=no" ;;
+
+ --x)
+ # Obsolete; use --with-x.
+ with_x=yes ;;
+
+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
+ | --x-incl | --x-inc | --x-in | --x-i)
+ ac_prev=x_includes ;;
+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
+ x_includes=$ac_optarg ;;
+
+ -x-libraries | --x-libraries | --x-librarie | --x-librari \
+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
+ ac_prev=x_libraries ;;
+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
+ x_libraries=$ac_optarg ;;
+
+ -*) { echo "$as_me: error: unrecognized option: $ac_option
+Try \`$0 --help' for more information." >&2
+ { (exit 1); exit 1; }; }
+ ;;
+
+ *=*)
+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
+ { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
+ { (exit 1); exit 1; }; }
+ ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
+ eval "$ac_envvar='$ac_optarg'"
+ export $ac_envvar ;;
+
+ *)
+ # FIXME: should be removed in autoconf 3.0.
+ echo "$as_me: WARNING: you should use --build, --host, --target" >&2
+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+ echo "$as_me: WARNING: invalid host type: $ac_option" >&2
+ : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
+ ;;
+
+ esac
+done
+
+if test -n "$ac_prev"; then
+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
+ { echo "$as_me: error: missing argument to $ac_option" >&2
+ { (exit 1); exit 1; }; }
+fi
+
+# Be sure to have absolute paths.
+for ac_var in exec_prefix prefix
+do
+ eval ac_val=$`echo $ac_var`
+ case $ac_val in
+ [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
+ *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
+ { (exit 1); exit 1; }; };;
+ esac
+done
+
+# Be sure to have absolute paths.
+for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
+ localstatedir libdir includedir oldincludedir infodir mandir
+do
+ eval ac_val=$`echo $ac_var`
+ case $ac_val in
+ [\\/$]* | ?:[\\/]* ) ;;
+ *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
+ { (exit 1); exit 1; }; };;
+ esac
+done
+
+# There might be people who depend on the old broken behavior: `$host'
+# used to hold the argument of --host etc.
+build=$build_alias
+host=$host_alias
+target=$target_alias
+
+# FIXME: should be removed in autoconf 3.0.
+if test "x$host_alias" != x; then
+ if test "x$build_alias" = x; then
+ cross_compiling=maybe
+ echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
+ If a cross compiler is detected then cross compile mode will be used." >&2
+ elif test "x$build_alias" != "x$host_alias"; then
+ cross_compiling=yes
+ fi
+fi
+
+ac_tool_prefix=
+test -n "$host_alias" && ac_tool_prefix=$host_alias-
+
+test "$silent" = yes && exec 6>/dev/null
+
+# Find the source files, if location was not specified.
+if test -z "$srcdir"; then
+ ac_srcdir_defaulted=yes
+ # Try the directory containing this script, then its parent.
+ ac_prog=$0
+ ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
+ test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
+ srcdir=$ac_confdir
+ if test ! -r $srcdir/$ac_unique_file; then
+ srcdir=..
+ fi
+else
+ ac_srcdir_defaulted=no
+fi
+if test ! -r $srcdir/$ac_unique_file; then
+ if test "$ac_srcdir_defaulted" = yes; then
+ { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
+ { (exit 1); exit 1; }; }
+ else
+ { echo "$as_me: error: cannot find sources in $srcdir" >&2
+ { (exit 1); exit 1; }; }
+ fi
+fi
+srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
+ac_env_build_alias_set=${build_alias+set}
+ac_env_build_alias_value=$build_alias
+ac_cv_env_build_alias_set=${build_alias+set}
+ac_cv_env_build_alias_value=$build_alias
+ac_env_host_alias_set=${host_alias+set}
+ac_env_host_alias_value=$host_alias
+ac_cv_env_host_alias_set=${host_alias+set}
+ac_cv_env_host_alias_value=$host_alias
+ac_env_target_alias_set=${target_alias+set}
+ac_env_target_alias_value=$target_alias
+ac_cv_env_target_alias_set=${target_alias+set}
+ac_cv_env_target_alias_value=$target_alias
+
+#
+# Report the --help message.
+#
+if test "$ac_init_help" = "long"; then
+ # Omit some internal or obsolete options to make the list less imposing.
+ # This message is too long to be a string in the A/UX 3.1 sh.
+ cat <<EOF
+\`configure' configures bibextract 1.09 to adapt to many kinds of systems.
+
+Usage: $0 [OPTION]... [VAR=VALUE]...
+
+To assign environment variables (e.g., CC, CFLAGS...), specify them as
+VAR=VALUE. See below for descriptions of some of the useful variables.
+
+Defaults for the options are specified in brackets.
+
+Configuration:
+ -h, --help display this help and exit
+ --help=short display options specific to this package
+ --help=recursive display the short help of all the included packages
+ -V, --version display version information and exit
+ -q, --quiet, --silent do not print \`checking...' messages
+ --cache-file=FILE cache test results in FILE [disabled]
+ -C, --config-cache alias for \`--cache-file=config.cache'
+ -n, --no-create do not create output files
+ --srcdir=DIR find the sources in DIR [configure dir or \`..']
+
+EOF
+
+ cat <<EOF
+Installation directories:
+ --prefix=PREFIX install architecture-independent files in PREFIX
+ [$ac_default_prefix]
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
+ [PREFIX]
+
+By default, \`make install' will install all the files in
+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
+for instance \`--prefix=\$HOME'.
+
+For better control, use the options below.
+
+Fine tuning of the installation directories:
+ --bindir=DIR user executables [EPREFIX/bin]
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
+ --libexecdir=DIR program executables [EPREFIX/libexec]
+ --datadir=DIR read-only architecture-independent data [PREFIX/share]
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
+ --libdir=DIR object code libraries [EPREFIX/lib]
+ --includedir=DIR C header files [PREFIX/include]
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
+ --infodir=DIR info documentation [PREFIX/info]
+ --mandir=DIR man documentation [PREFIX/man]
+EOF
+
+ cat <<\EOF
+EOF
+fi
+
+if test -n "$ac_init_help"; then
+ case $ac_init_help in
+ short | recursive ) echo "Configuration of bibextract 1.09:";;
+ esac
+ cat <<\EOF
+
+Report bugs to <beebe@math.utah.edu>.
+EOF
+fi
+
+if test "$ac_init_help" = "recursive"; then
+ # If there are subdirs, report their specific --help.
+ ac_popdir=`pwd`
+ for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
+ cd $ac_subdir
+ # A "../" for each directory in /$ac_subdir.
+ ac_dots=`echo $ac_subdir |
+ sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
+
+ case $srcdir in
+ .) # No --srcdir option. We are building in place.
+ ac_sub_srcdir=$srcdir ;;
+ [\\/]* | ?:[\\/]* ) # Absolute path.
+ ac_sub_srcdir=$srcdir/$ac_subdir ;;
+ *) # Relative path.
+ ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
+ esac
+
+ # Check for guested configure; otherwise get Cygnus style configure.
+ if test -f $ac_sub_srcdir/configure.gnu; then
+ echo
+ $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
+ elif test -f $ac_sub_srcdir/configure; then
+ echo
+ $SHELL $ac_sub_srcdir/configure --help=recursive
+ elif test -f $ac_sub_srcdir/configure.ac ||
+ test -f $ac_sub_srcdir/configure.in; then
+ echo
+ $ac_configure --help
+ else
+ echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
+ fi
+ cd $ac_popdir
+ done
+fi
+
+test -n "$ac_init_help" && exit 0
+if $ac_init_version; then
+ cat <<\EOF
+bibextract configure 1.09
+generated by GNU Autoconf 2.52
+
+Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
+Free Software Foundation, Inc.
+This configure script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it.
+EOF
+ exit 0
+fi
+exec 5>config.log
+cat >&5 <<EOF
+This file contains any messages produced by compilers while
+running configure, to aid debugging if configure makes a mistake.
+
+It was created by bibextract $as_me 1.09, which was
+generated by GNU Autoconf 2.52. Invocation command line was
+
+ $ $0 $@
+
+EOF
+{
+cat <<_ASUNAME
+## ---------- ##
+## Platform. ##
+## ---------- ##
+
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
+
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
+
+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
+hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
+
+PATH = $PATH
+
+_ASUNAME
+} >&5
+
+cat >&5 <<EOF
+## ------------ ##
+## Core tests. ##
+## ------------ ##
+
+EOF
+
+# Keep a trace of the command line.
+# Strip out --no-create and --no-recursion so they do not pile up.
+# Also quote any args containing shell meta-characters.
+ac_configure_args=
+ac_sep=
+for ac_arg
+do
+ case $ac_arg in
+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
+ | --no-cr | --no-c) ;;
+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
+ *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
+ ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
+ ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
+ ac_sep=" " ;;
+ *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
+ ac_sep=" " ;;
+ esac
+ # Get rid of the leading space.
+done
+
+# When interrupted or exit'd, cleanup temporary files, and complete
+# config.log. We remove comments because anyway the quotes in there
+# would cause problems or look ugly.
+trap 'exit_status=$?
+ # Save into config.log some information that might help in debugging.
+ echo >&5
+ echo "## ----------------- ##" >&5
+ echo "## Cache variables. ##" >&5
+ echo "## ----------------- ##" >&5
+ echo >&5
+ # The following way of writing the cache mishandles newlines in values,
+{
+ (set) 2>&1 |
+ case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
+ *ac_space=\ *)
+ sed -n \
+ "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
+ ;;
+ *)
+ sed -n \
+ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
+ ;;
+ esac;
+} >&5
+ sed "/^$/d" confdefs.h >conftest.log
+ if test -s conftest.log; then
+ echo >&5
+ echo "## ------------ ##" >&5
+ echo "## confdefs.h. ##" >&5
+ echo "## ------------ ##" >&5
+ echo >&5
+ cat conftest.log >&5
+ fi
+ (echo; echo) >&5
+ test "$ac_signal" != 0 &&
+ echo "$as_me: caught signal $ac_signal" >&5
+ echo "$as_me: exit $exit_status" >&5
+ rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
+ exit $exit_status
+ ' 0
+for ac_signal in 1 2 13 15; do
+ trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
+done
+ac_signal=0
+
+# confdefs.h avoids OS command line length limits that DEFS can exceed.
+rm -rf conftest* confdefs.h
+# AIX cpp loses on an empty file, so make sure it contains at least a newline.
+echo >confdefs.h
+
+# Let the site file select an alternate cache file if it wants to.
+# Prefer explicitly selected file to automatically selected ones.
+if test -z "$CONFIG_SITE"; then
+ if test "x$prefix" != xNONE; then
+ CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
+ else
+ CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
+ fi
+fi
+for ac_site_file in $CONFIG_SITE; do
+ if test -r "$ac_site_file"; then
+ { echo "$as_me:792: loading site script $ac_site_file" >&5
+echo "$as_me: loading site script $ac_site_file" >&6;}
+ cat "$ac_site_file" >&5
+ . "$ac_site_file"
+ fi
+done
+
+if test -r "$cache_file"; then
+ # Some versions of bash will fail to source /dev/null (special
+ # files actually), so we avoid doing that.
+ if test -f "$cache_file"; then
+ { echo "$as_me:803: loading cache $cache_file" >&5
+echo "$as_me: loading cache $cache_file" >&6;}
+ case $cache_file in
+ [\\/]* | ?:[\\/]* ) . $cache_file;;
+ *) . ./$cache_file;;
+ esac
+ fi
+else
+ { echo "$as_me:811: creating cache $cache_file" >&5
+echo "$as_me: creating cache $cache_file" >&6;}
+ >$cache_file
+fi
+
+# Check that the precious variables saved in the cache have kept the same
+# value.
+ac_cache_corrupted=false
+for ac_var in `(set) 2>&1 |
+ sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
+ eval ac_new_set=\$ac_env_${ac_var}_set
+ eval ac_old_val="\$ac_cv_env_${ac_var}_value"
+ eval ac_new_val="\$ac_env_${ac_var}_value"
+ case $ac_old_set,$ac_new_set in
+ set,)
+ { echo "$as_me:827: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
+echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,set)
+ { echo "$as_me:831: error: \`$ac_var' was not set in the previous run" >&5
+echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,);;
+ *)
+ if test "x$ac_old_val" != "x$ac_new_val"; then
+ { echo "$as_me:837: error: \`$ac_var' has changed since the previous run:" >&5
+echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
+ { echo "$as_me:839: former value: $ac_old_val" >&5
+echo "$as_me: former value: $ac_old_val" >&2;}
+ { echo "$as_me:841: current value: $ac_new_val" >&5
+echo "$as_me: current value: $ac_new_val" >&2;}
+ ac_cache_corrupted=:
+ fi;;
+ esac
+ # Pass precious variables to config.status. It doesn't matter if
+ # we pass some twice (in addition to the command line arguments).
+ if test "$ac_new_set" = set; then
+ case $ac_new_val in
+ *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
+ ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
+ ac_configure_args="$ac_configure_args '$ac_arg'"
+ ;;
+ *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
+ ;;
+ esac
+ fi
+done
+if $ac_cache_corrupted; then
+ { echo "$as_me:860: error: changes in the environment can compromise the build" >&5
+echo "$as_me: error: changes in the environment can compromise the build" >&2;}
+ { { echo "$as_me:862: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
+echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
+ *c*,-n*) ECHO_N= ECHO_C='
+' ECHO_T=' ' ;;
+ *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
+ *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
+esac
+echo "#! $SHELL" >conftest.sh
+echo "exit 0" >>conftest.sh
+chmod +x conftest.sh
+if { (echo "$as_me:882: PATH=\".;.\"; conftest.sh") >&5
+ (PATH=".;."; conftest.sh) 2>&5
+ ac_status=$?
+ echo "$as_me:885: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+ ac_path_separator=';'
+else
+ ac_path_separator=:
+fi
+PATH_SEPARATOR="$ac_path_separator"
+rm -f conftest.sh
+
+for ac_prog in mawk nawk gawk awk
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+echo "$as_me:898: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_AWK+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$AWK"; then
+ ac_cv_prog_AWK="$AWK" # Let the user override the test.
+else
+ ac_save_IFS=$IFS; IFS=$ac_path_separator
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+ IFS=$ac_save_IFS
+ test -z "$ac_dir" && ac_dir=.
+ $as_executable_p "$ac_dir/$ac_word" || continue
+ac_cv_prog_AWK="$ac_prog"
+echo "$as_me:913: found $ac_dir/$ac_word" >&5
+break
+done
+
+fi
+fi
+AWK=$ac_cv_prog_AWK
+if test -n "$AWK"; then
+ echo "$as_me:921: result: $AWK" >&5
+echo "${ECHO_T}$AWK" >&6
+else
+ echo "$as_me:924: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+ test -n "$AWK" && break
+done
+
+for ac_prog in cat
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+echo "$as_me:935: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_CAT+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$CAT"; then
+ ac_cv_prog_CAT="$CAT" # Let the user override the test.
+else
+ ac_save_IFS=$IFS; IFS=$ac_path_separator
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+ IFS=$ac_save_IFS
+ test -z "$ac_dir" && ac_dir=.
+ $as_executable_p "$ac_dir/$ac_word" || continue
+ac_cv_prog_CAT="$ac_prog"
+echo "$as_me:950: found $ac_dir/$ac_word" >&5
+break
+done
+
+fi
+fi
+CAT=$ac_cv_prog_CAT
+if test -n "$CAT"; then
+ echo "$as_me:958: result: $CAT" >&5
+echo "${ECHO_T}$CAT" >&6
+else
+ echo "$as_me:961: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+ test -n "$CAT" && break
+done
+
+for ac_prog in checksum
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+echo "$as_me:972: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_CHECKSUM+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$CHECKSUM"; then
+ ac_cv_prog_CHECKSUM="$CHECKSUM" # Let the user override the test.
+else
+ ac_save_IFS=$IFS; IFS=$ac_path_separator
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+ IFS=$ac_save_IFS
+ test -z "$ac_dir" && ac_dir=.
+ $as_executable_p "$ac_dir/$ac_word" || continue
+ac_cv_prog_CHECKSUM="$ac_prog"
+echo "$as_me:987: found $ac_dir/$ac_word" >&5
+break
+done
+
+fi
+fi
+CHECKSUM=$ac_cv_prog_CHECKSUM
+if test -n "$CHECKSUM"; then
+ echo "$as_me:995: result: $CHECKSUM" >&5
+echo "${ECHO_T}$CHECKSUM" >&6
+else
+ echo "$as_me:998: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+ test -n "$CHECKSUM" && break
+done
+
+for ac_prog in chmod
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+echo "$as_me:1009: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_CHMOD+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$CHMOD"; then
+ ac_cv_prog_CHMOD="$CHMOD" # Let the user override the test.
+else
+ ac_save_IFS=$IFS; IFS=$ac_path_separator
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+ IFS=$ac_save_IFS
+ test -z "$ac_dir" && ac_dir=.
+ $as_executable_p "$ac_dir/$ac_word" || continue
+ac_cv_prog_CHMOD="$ac_prog"
+echo "$as_me:1024: found $ac_dir/$ac_word" >&5
+break
+done
+
+fi
+fi
+CHMOD=$ac_cv_prog_CHMOD
+if test -n "$CHMOD"; then
+ echo "$as_me:1032: result: $CHMOD" >&5
+echo "${ECHO_T}$CHMOD" >&6
+else
+ echo "$as_me:1035: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+ test -n "$CHMOD" && break
+done
+
+for ac_prog in col
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+echo "$as_me:1046: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_COL+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$COL"; then
+ ac_cv_prog_COL="$COL" # Let the user override the test.
+else
+ ac_save_IFS=$IFS; IFS=$ac_path_separator
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+ IFS=$ac_save_IFS
+ test -z "$ac_dir" && ac_dir=.
+ $as_executable_p "$ac_dir/$ac_word" || continue
+ac_cv_prog_COL="$ac_prog"
+echo "$as_me:1061: found $ac_dir/$ac_word" >&5
+break
+done
+
+fi
+fi
+COL=$ac_cv_prog_COL
+if test -n "$COL"; then
+ echo "$as_me:1069: result: $COL" >&5
+echo "${ECHO_T}$COL" >&6
+else
+ echo "$as_me:1072: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+ test -n "$COL" && break
+done
+
+for ac_prog in deroff cat
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+echo "$as_me:1083: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_DEROFF+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$DEROFF"; then
+ ac_cv_prog_DEROFF="$DEROFF" # Let the user override the test.
+else
+ ac_save_IFS=$IFS; IFS=$ac_path_separator
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+ IFS=$ac_save_IFS
+ test -z "$ac_dir" && ac_dir=.
+ $as_executable_p "$ac_dir/$ac_word" || continue
+ac_cv_prog_DEROFF="$ac_prog"
+echo "$as_me:1098: found $ac_dir/$ac_word" >&5
+break
+done
+
+fi
+fi
+DEROFF=$ac_cv_prog_DEROFF
+if test -n "$DEROFF"; then
+ echo "$as_me:1106: result: $DEROFF" >&5
+echo "${ECHO_T}$DEROFF" >&6
+else
+ echo "$as_me:1109: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+ test -n "$DEROFF" && break
+done
+
+for ac_prog in expand
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+echo "$as_me:1120: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_EXPAND+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$EXPAND"; then
+ ac_cv_prog_EXPAND="$EXPAND" # Let the user override the test.
+else
+ ac_save_IFS=$IFS; IFS=$ac_path_separator
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+ IFS=$ac_save_IFS
+ test -z "$ac_dir" && ac_dir=.
+ $as_executable_p "$ac_dir/$ac_word" || continue
+ac_cv_prog_EXPAND="$ac_prog"
+echo "$as_me:1135: found $ac_dir/$ac_word" >&5
+break
+done
+
+fi
+fi
+EXPAND=$ac_cv_prog_EXPAND
+if test -n "$EXPAND"; then
+ echo "$as_me:1143: result: $EXPAND" >&5
+echo "${ECHO_T}$EXPAND" >&6
+else
+ echo "$as_me:1146: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+ test -n "$EXPAND" && break
+done
+
+for ac_prog in gzip
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+echo "$as_me:1157: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_GZIP+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$GZIP"; then
+ ac_cv_prog_GZIP="$GZIP" # Let the user override the test.
+else
+ ac_save_IFS=$IFS; IFS=$ac_path_separator
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+ IFS=$ac_save_IFS
+ test -z "$ac_dir" && ac_dir=.
+ $as_executable_p "$ac_dir/$ac_word" || continue
+ac_cv_prog_GZIP="$ac_prog"
+echo "$as_me:1172: found $ac_dir/$ac_word" >&5
+break
+done
+
+fi
+fi
+GZIP=$ac_cv_prog_GZIP
+if test -n "$GZIP"; then
+ echo "$as_me:1180: result: $GZIP" >&5
+echo "${ECHO_T}$GZIP" >&6
+else
+ echo "$as_me:1183: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+ test -n "$GZIP" && break
+done
+
+for ac_prog in ls
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+echo "$as_me:1194: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_LS+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$LS"; then
+ ac_cv_prog_LS="$LS" # Let the user override the test.
+else
+ ac_save_IFS=$IFS; IFS=$ac_path_separator
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+ IFS=$ac_save_IFS
+ test -z "$ac_dir" && ac_dir=.
+ $as_executable_p "$ac_dir/$ac_word" || continue
+ac_cv_prog_LS="$ac_prog"
+echo "$as_me:1209: found $ac_dir/$ac_word" >&5
+break
+done
+
+fi
+fi
+LS=$ac_cv_prog_LS
+if test -n "$LS"; then
+ echo "$as_me:1217: result: $LS" >&5
+echo "${ECHO_T}$LS" >&6
+else
+ echo "$as_me:1220: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+ test -n "$LS" && break
+done
+
+for ac_prog in mkdir
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+echo "$as_me:1231: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_MKDIR+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$MKDIR"; then
+ ac_cv_prog_MKDIR="$MKDIR" # Let the user override the test.
+else
+ ac_save_IFS=$IFS; IFS=$ac_path_separator
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+ IFS=$ac_save_IFS
+ test -z "$ac_dir" && ac_dir=.
+ $as_executable_p "$ac_dir/$ac_word" || continue
+ac_cv_prog_MKDIR="$ac_prog"
+echo "$as_me:1246: found $ac_dir/$ac_word" >&5
+break
+done
+
+fi
+fi
+MKDIR=$ac_cv_prog_MKDIR
+if test -n "$MKDIR"; then
+ echo "$as_me:1254: result: $MKDIR" >&5
+echo "${ECHO_T}$MKDIR" >&6
+else
+ echo "$as_me:1257: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+ test -n "$MKDIR" && break
+done
+
+for ac_prog in groff nroff ditroff
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+echo "$as_me:1268: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_NROFF+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$NROFF"; then
+ ac_cv_prog_NROFF="$NROFF" # Let the user override the test.
+else
+ ac_save_IFS=$IFS; IFS=$ac_path_separator
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+ IFS=$ac_save_IFS
+ test -z "$ac_dir" && ac_dir=.
+ $as_executable_p "$ac_dir/$ac_word" || continue
+ac_cv_prog_NROFF="$ac_prog"
+echo "$as_me:1283: found $ac_dir/$ac_word" >&5
+break
+done
+
+fi
+fi
+NROFF=$ac_cv_prog_NROFF
+if test -n "$NROFF"; then
+ echo "$as_me:1291: result: $NROFF" >&5
+echo "${ECHO_T}$NROFF" >&6
+else
+ echo "$as_me:1294: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+ test -n "$NROFF" && break
+done
+
+for ac_prog in spell
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+echo "$as_me:1305: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_SPELL+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$SPELL"; then
+ ac_cv_prog_SPELL="$SPELL" # Let the user override the test.
+else
+ ac_save_IFS=$IFS; IFS=$ac_path_separator
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+ IFS=$ac_save_IFS
+ test -z "$ac_dir" && ac_dir=.
+ $as_executable_p "$ac_dir/$ac_word" || continue
+ac_cv_prog_SPELL="$ac_prog"
+echo "$as_me:1320: found $ac_dir/$ac_word" >&5
+break
+done
+
+fi
+fi
+SPELL=$ac_cv_prog_SPELL
+if test -n "$SPELL"; then
+ echo "$as_me:1328: result: $SPELL" >&5
+echo "${ECHO_T}$SPELL" >&6
+else
+ echo "$as_me:1331: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+ test -n "$SPELL" && break
+done
+
+for ac_prog in tar
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+echo "$as_me:1342: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_TAR+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$TAR"; then
+ ac_cv_prog_TAR="$TAR" # Let the user override the test.
+else
+ ac_save_IFS=$IFS; IFS=$ac_path_separator
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+ IFS=$ac_save_IFS
+ test -z "$ac_dir" && ac_dir=.
+ $as_executable_p "$ac_dir/$ac_word" || continue
+ac_cv_prog_TAR="$ac_prog"
+echo "$as_me:1357: found $ac_dir/$ac_word" >&5
+break
+done
+
+fi
+fi
+TAR=$ac_cv_prog_TAR
+if test -n "$TAR"; then
+ echo "$as_me:1365: result: $TAR" >&5
+echo "${ECHO_T}$TAR" >&6
+else
+ echo "$as_me:1368: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+ test -n "$TAR" && break
+done
+
+for ac_prog in unzip
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+echo "$as_me:1379: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_UNZIP+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$UNZIP"; then
+ ac_cv_prog_UNZIP="$UNZIP" # Let the user override the test.
+else
+ ac_save_IFS=$IFS; IFS=$ac_path_separator
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+ IFS=$ac_save_IFS
+ test -z "$ac_dir" && ac_dir=.
+ $as_executable_p "$ac_dir/$ac_word" || continue
+ac_cv_prog_UNZIP="$ac_prog"
+echo "$as_me:1394: found $ac_dir/$ac_word" >&5
+break
+done
+
+fi
+fi
+UNZIP=$ac_cv_prog_UNZIP
+if test -n "$UNZIP"; then
+ echo "$as_me:1402: result: $UNZIP" >&5
+echo "${ECHO_T}$UNZIP" >&6
+else
+ echo "$as_me:1405: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+ test -n "$UNZIP" && break
+done
+
+for ac_prog in zip
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+echo "$as_me:1416: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_ZIP+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$ZIP"; then
+ ac_cv_prog_ZIP="$ZIP" # Let the user override the test.
+else
+ ac_save_IFS=$IFS; IFS=$ac_path_separator
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+ IFS=$ac_save_IFS
+ test -z "$ac_dir" && ac_dir=.
+ $as_executable_p "$ac_dir/$ac_word" || continue
+ac_cv_prog_ZIP="$ac_prog"
+echo "$as_me:1431: found $ac_dir/$ac_word" >&5
+break
+done
+
+fi
+fi
+ZIP=$ac_cv_prog_ZIP
+if test -n "$ZIP"; then
+ echo "$as_me:1439: result: $ZIP" >&5
+echo "${ECHO_T}$ZIP" >&6
+else
+ echo "$as_me:1442: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+ test -n "$ZIP" && break
+done
+
+for ac_prog in zoo
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+echo "$as_me:1453: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_ZOO+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$ZOO"; then
+ ac_cv_prog_ZOO="$ZOO" # Let the user override the test.
+else
+ ac_save_IFS=$IFS; IFS=$ac_path_separator
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+ IFS=$ac_save_IFS
+ test -z "$ac_dir" && ac_dir=.
+ $as_executable_p "$ac_dir/$ac_word" || continue
+ac_cv_prog_ZOO="$ac_prog"
+echo "$as_me:1468: found $ac_dir/$ac_word" >&5
+break
+done
+
+fi
+fi
+ZOO=$ac_cv_prog_ZOO
+if test -n "$ZOO"; then
+ echo "$as_me:1476: result: $ZOO" >&5
+echo "${ECHO_T}$ZOO" >&6
+else
+ echo "$as_me:1479: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+ test -n "$ZOO" && break
+done
+
+# Extract the first word of "cp", so it can be a program name with args.
+set dummy cp; ac_word=$2
+echo "$as_me:1488: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_path_CP+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ case $CP in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_CP="$CP" # Let the user override the test with a path.
+ ;;
+ *)
+ ac_save_IFS=$IFS; IFS=$ac_path_separator
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+ IFS=$ac_save_IFS
+ test -z "$ac_dir" && ac_dir=.
+ if $as_executable_p "$ac_dir/$ac_word"; then
+ ac_cv_path_CP="$ac_dir/$ac_word"
+ echo "$as_me:1505: found $ac_dir/$ac_word" >&5
+ break
+fi
+done
+
+ ;;
+esac
+fi
+CP=$ac_cv_path_CP
+
+if test -n "$CP"; then
+ echo "$as_me:1516: result: $CP" >&5
+echo "${ECHO_T}$CP" >&6
+else
+ echo "$as_me:1519: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+# Extract the first word of "ln", so it can be a program name with args.
+set dummy ln; ac_word=$2
+echo "$as_me:1525: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_path_LN+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ case $LN in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_LN="$LN" # Let the user override the test with a path.
+ ;;
+ *)
+ ac_save_IFS=$IFS; IFS=$ac_path_separator
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+ IFS=$ac_save_IFS
+ test -z "$ac_dir" && ac_dir=.
+ if $as_executable_p "$ac_dir/$ac_word"; then
+ ac_cv_path_LN="$ac_dir/$ac_word"
+ echo "$as_me:1542: found $ac_dir/$ac_word" >&5
+ break
+fi
+done
+
+ ;;
+esac
+fi
+LN=$ac_cv_path_LN
+
+if test -n "$LN"; then
+ echo "$as_me:1553: result: $LN" >&5
+echo "${ECHO_T}$LN" >&6
+else
+ echo "$as_me:1556: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+# Extract the first word of "rm", so it can be a program name with args.
+set dummy rm; ac_word=$2
+echo "$as_me:1562: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_path_RM+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ case $RM in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_RM="$RM" # Let the user override the test with a path.
+ ;;
+ *)
+ ac_save_IFS=$IFS; IFS=$ac_path_separator
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+ IFS=$ac_save_IFS
+ test -z "$ac_dir" && ac_dir=.
+ if $as_executable_p "$ac_dir/$ac_word"; then
+ ac_cv_path_RM="$ac_dir/$ac_word"
+ echo "$as_me:1579: found $ac_dir/$ac_word" >&5
+ break
+fi
+done
+
+ ;;
+esac
+fi
+RM=$ac_cv_path_RM
+
+if test -n "$RM"; then
+ echo "$as_me:1590: result: $RM" >&5
+echo "${ECHO_T}$RM" >&6
+else
+ echo "$as_me:1593: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+# Extract the first word of "sed", so it can be a program name with args.
+set dummy sed; ac_word=$2
+echo "$as_me:1599: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_path_SED+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ case $SED in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_SED="$SED" # Let the user override the test with a path.
+ ;;
+ *)
+ ac_save_IFS=$IFS; IFS=$ac_path_separator
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+ IFS=$ac_save_IFS
+ test -z "$ac_dir" && ac_dir=.
+ if $as_executable_p "$ac_dir/$ac_word"; then
+ ac_cv_path_SED="$ac_dir/$ac_word"
+ echo "$as_me:1616: found $ac_dir/$ac_word" >&5
+ break
+fi
+done
+
+ ;;
+esac
+fi
+SED=$ac_cv_path_SED
+
+if test -n "$SED"; then
+ echo "$as_me:1627: result: $SED" >&5
+echo "${ECHO_T}$SED" >&6
+else
+ echo "$as_me:1630: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+# Extract the first word of "sh", so it can be a program name with args.
+set dummy sh; ac_word=$2
+echo "$as_me:1636: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_path_SHELL+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ case $SHELL in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_SHELL="$SHELL" # Let the user override the test with a path.
+ ;;
+ *)
+ ac_save_IFS=$IFS; IFS=$ac_path_separator
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+ IFS=$ac_save_IFS
+ test -z "$ac_dir" && ac_dir=.
+ if $as_executable_p "$ac_dir/$ac_word"; then
+ ac_cv_path_SHELL="$ac_dir/$ac_word"
+ echo "$as_me:1653: found $ac_dir/$ac_word" >&5
+ break
+fi
+done
+
+ ;;
+esac
+fi
+SHELL=$ac_cv_path_SHELL
+
+if test -n "$SHELL"; then
+ echo "$as_me:1664: result: $SHELL" >&5
+echo "${ECHO_T}$SHELL" >&6
+else
+ echo "$as_me:1667: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+if test "$CC" = "lcc"
+then
+ CFLAGS="`echo $CFLAGS | sed -e 's/-g //g' -e 's/ -g$//g' -e 's/^-g$//'`"
+fi
+
+ac_config_files="$ac_config_files Makefile"
+cat >confcache <<\_ACEOF
+# This file is a shell script that caches the results of configure
+# tests run on this system so they can be shared between configure
+# scripts and configure runs, see configure's option --config-cache.
+# It is not useful on other systems. If it contains results you don't
+# want to keep, you may remove or edit it.
+#
+# config.status only pays attention to the cache file if you give it
+# the --recheck option to rerun configure.
+#
+# `ac_cv_env_foo' variables (set or unset) will be overriden when
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
+# following values.
+
+_ACEOF
+
+# The following way of writing the cache mishandles newlines in values,
+# but we know of no workaround that is simple, portable, and efficient.
+# So, don't put newlines in cache variables' values.
+# Ultrix sh set writes to stderr and can't be redirected directly,
+# and sets the high bit in the cache file unless we assign to the vars.
+{
+ (set) 2>&1 |
+ case `(ac_space=' '; set | grep ac_space) 2>&1` in
+ *ac_space=\ *)
+ # `set' does not quote correctly, so add quotes (double-quote
+ # substitution turns \\\\ into \\, and sed turns \\ into \).
+ sed -n \
+ "s/'/'\\\\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
+ ;;
+ *)
+ # `set' quotes correctly as required by POSIX, so do not add quotes.
+ sed -n \
+ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
+ ;;
+ esac;
+} |
+ sed '
+ t clear
+ : clear
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
+ t end
+ /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
+ : end' >>confcache
+if cmp -s $cache_file confcache; then :; else
+ if test -w $cache_file; then
+ test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
+ cat confcache >$cache_file
+ else
+ echo "not updating unwritable cache $cache_file"
+ fi
+fi
+rm -f confcache
+
+test "x$prefix" = xNONE && prefix=$ac_default_prefix
+# Let make expand exec_prefix.
+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
+
+# VPATH may cause trouble with some makes, so we remove $(srcdir),
+# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
+# trailing colons and then remove the whole line if VPATH becomes empty
+# (actually we leave an empty line to preserve line numbers).
+if test "x$srcdir" = x.; then
+ ac_vpsub='/^[ ]*VPATH[ ]*=/{
+s/:*\$(srcdir):*/:/;
+s/:*\${srcdir}:*/:/;
+s/:*@srcdir@:*/:/;
+s/^\([^=]*=[ ]*\):*/\1/;
+s/:*$//;
+s/^[^=]*=[ ]*$//;
+}'
+fi
+
+# Transform confdefs.h into DEFS.
+# Protect against shell expansion while executing Makefile rules.
+# Protect against Makefile macro expansion.
+#
+# If the first sed substitution is executed (which looks for macros that
+# take arguments), then we branch to the quote section. Otherwise,
+# look for a macro that doesn't take arguments.
+cat >confdef2opt.sed <<\EOF
+t clear
+: clear
+s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
+t quote
+s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
+t quote
+d
+: quote
+s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
+s,\[,\\&,g
+s,\],\\&,g
+s,\$,$$,g
+p
+EOF
+# We use echo to avoid assuming a particular line-breaking character.
+# The extra dot is to prevent the shell from consuming trailing
+# line-breaks from the sub-command output. A line-break within
+# single-quotes doesn't work because, if this script is created in a
+# platform that uses two characters for line-breaks (e.g., DOS), tr
+# would break.
+ac_LF_and_DOT=`echo; echo .`
+DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
+rm -f confdef2opt.sed
+
+: ${CONFIG_STATUS=./config.status}
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
+{ echo "$as_me:1786: creating $CONFIG_STATUS" >&5
+echo "$as_me: creating $CONFIG_STATUS" >&6;}
+cat >$CONFIG_STATUS <<_ACEOF
+#! $SHELL
+# Generated automatically by configure.
+# Run this file to recreate the current configuration.
+# Compiler output produced by configure, useful for debugging
+# configure, is in config.log if it exists.
+
+debug=false
+SHELL=\${CONFIG_SHELL-$SHELL}
+ac_cs_invocation="\$0 \$@"
+
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF
+# Be Bourne compatible
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+ emulate sh
+ NULLCMD=:
+elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
+ set -o posix
+fi
+
+# Name of the executable.
+as_me=`echo "$0" |sed 's,.*[\\/],,'`
+
+if expr a : '\(a\)' >/dev/null 2>&1; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+rm -f conf$$ conf$$.exe conf$$.file
+echo >conf$$.file
+if ln -s conf$$.file conf$$ 2>/dev/null; then
+ # We could just check for DJGPP; but this test a) works b) is more generic
+ # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
+ if test -f conf$$.exe; then
+ # Don't use ln at all; we don't have any links
+ as_ln_s='cp -p'
+ else
+ as_ln_s='ln -s'
+ fi
+elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+else
+ as_ln_s='cp -p'
+fi
+rm -f conf$$ conf$$.exe conf$$.file
+
+as_executable_p="test -f"
+
+# Support unset when possible.
+if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
+ as_unset=unset
+else
+ as_unset=false
+fi
+
+# NLS nuisances.
+$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
+$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
+$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
+$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
+$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
+$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
+$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
+$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
+
+# IFS
+# We need space, tab and new line, in precisely that order.
+as_nl='
+'
+IFS=" $as_nl"
+
+# CDPATH.
+$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
+
+exec 6>&1
+
+_ACEOF
+
+# Files that config.status was made for.
+if test -n "$ac_config_files"; then
+ echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
+fi
+
+if test -n "$ac_config_headers"; then
+ echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
+fi
+
+if test -n "$ac_config_links"; then
+ echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
+fi
+
+if test -n "$ac_config_commands"; then
+ echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
+fi
+
+cat >>$CONFIG_STATUS <<\EOF
+
+ac_cs_usage="\
+\`$as_me' instantiates files from templates according to the
+current configuration.
+
+Usage: $0 [OPTIONS] [FILE]...
+
+ -h, --help print this help, then exit
+ -V, --version print version number, then exit
+ -d, --debug don't remove temporary files
+ --recheck update $as_me by reconfiguring in the same conditions
+ --file=FILE[:TEMPLATE]
+ instantiate the configuration file FILE
+
+Configuration files:
+$config_files
+
+Report bugs to <bug-autoconf@gnu.org>."
+EOF
+
+cat >>$CONFIG_STATUS <<EOF
+ac_cs_version="\\
+bibextract config.status 1.09
+configured by $0, generated by GNU Autoconf 2.52,
+ with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
+
+Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
+Free Software Foundation, Inc.
+This config.status script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it."
+srcdir=$srcdir
+EOF
+
+cat >>$CONFIG_STATUS <<\EOF
+# If no file are specified by the user, then we need to provide default
+# value. By we need to know if files were specified by the user.
+ac_need_defaults=:
+while test $# != 0
+do
+ case $1 in
+ --*=*)
+ ac_option=`expr "x$1" : 'x\([^=]*\)='`
+ ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
+ shift
+ set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
+ shift
+ ;;
+ -*);;
+ *) # This is not an option, so the user has probably given explicit
+ # arguments.
+ ac_need_defaults=false;;
+ esac
+
+ case $1 in
+ # Handling of the options.
+EOF
+cat >>$CONFIG_STATUS <<EOF
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+ echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
+ exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
+EOF
+cat >>$CONFIG_STATUS <<\EOF
+ --version | --vers* | -V )
+ echo "$ac_cs_version"; exit 0 ;;
+ --he | --h)
+ # Conflict between --help and --header
+ { { echo "$as_me:1953: error: ambiguous option: $1
+Try \`$0 --help' for more information." >&5
+echo "$as_me: error: ambiguous option: $1
+Try \`$0 --help' for more information." >&2;}
+ { (exit 1); exit 1; }; };;
+ --help | --hel | -h )
+ echo "$ac_cs_usage"; exit 0 ;;
+ --debug | --d* | -d )
+ debug=: ;;
+ --file | --fil | --fi | --f )
+ shift
+ CONFIG_FILES="$CONFIG_FILES $1"
+ ac_need_defaults=false;;
+ --header | --heade | --head | --hea )
+ shift
+ CONFIG_HEADERS="$CONFIG_HEADERS $1"
+ ac_need_defaults=false;;
+
+ # This is an error.
+ -*) { { echo "$as_me:1972: error: unrecognized option: $1
+Try \`$0 --help' for more information." >&5
+echo "$as_me: error: unrecognized option: $1
+Try \`$0 --help' for more information." >&2;}
+ { (exit 1); exit 1; }; } ;;
+
+ *) ac_config_targets="$ac_config_targets $1" ;;
+
+ esac
+ shift
+done
+
+exec 5>>config.log
+cat >&5 << _ACEOF
+
+## ----------------------- ##
+## Running config.status. ##
+## ----------------------- ##
+
+This file was extended by $as_me (bibextract 1.09) 2.52, executed with
+ CONFIG_FILES = $CONFIG_FILES
+ CONFIG_HEADERS = $CONFIG_HEADERS
+ CONFIG_LINKS = $CONFIG_LINKS
+ CONFIG_COMMANDS = $CONFIG_COMMANDS
+ > $ac_cs_invocation
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
+
+_ACEOF
+EOF
+
+cat >>$CONFIG_STATUS <<\EOF
+for ac_config_target in $ac_config_targets
+do
+ case "$ac_config_target" in
+ # Handling of arguments.
+ "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+ *) { { echo "$as_me:2008: error: invalid argument: $ac_config_target" >&5
+echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
+ { (exit 1); exit 1; }; };;
+ esac
+done
+
+# If the user did not use the arguments to specify the items to instantiate,
+# then the envvar interface is used. Set only those that are not.
+# We use the long form for the default assignment because of an extremely
+# bizarre bug on SunOS 4.1.3.
+if $ac_need_defaults; then
+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
+fi
+
+# Create a temporary directory, and hook for its removal unless debugging.
+$debug ||
+{
+ trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
+ trap '{ (exit 1); exit 1; }' 1 2 13 15
+}
+
+# Create a (secure) tmp directory for tmp files.
+: ${TMPDIR=/tmp}
+{
+ tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
+ test -n "$tmp" && test -d "$tmp"
+} ||
+{
+ tmp=$TMPDIR/cs$$-$RANDOM
+ (umask 077 && mkdir $tmp)
+} ||
+{
+ echo "$me: cannot create a temporary directory in $TMPDIR" >&2
+ { (exit 1); exit 1; }
+}
+
+EOF
+
+cat >>$CONFIG_STATUS <<EOF
+
+#
+# CONFIG_FILES section.
+#
+
+# No need to generate the scripts if there are no CONFIG_FILES.
+# This happens for instance when ./config.status config.h
+if test -n "\$CONFIG_FILES"; then
+ # Protect against being on the right side of a sed subst in config.status.
+ sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
+ s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
+s,@SHELL@,$SHELL,;t t
+s,@exec_prefix@,$exec_prefix,;t t
+s,@prefix@,$prefix,;t t
+s,@program_transform_name@,$program_transform_name,;t t
+s,@bindir@,$bindir,;t t
+s,@sbindir@,$sbindir,;t t
+s,@libexecdir@,$libexecdir,;t t
+s,@datadir@,$datadir,;t t
+s,@sysconfdir@,$sysconfdir,;t t
+s,@sharedstatedir@,$sharedstatedir,;t t
+s,@localstatedir@,$localstatedir,;t t
+s,@libdir@,$libdir,;t t
+s,@includedir@,$includedir,;t t
+s,@oldincludedir@,$oldincludedir,;t t
+s,@infodir@,$infodir,;t t
+s,@mandir@,$mandir,;t t
+s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
+s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
+s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
+s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
+s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
+s,@build_alias@,$build_alias,;t t
+s,@host_alias@,$host_alias,;t t
+s,@target_alias@,$target_alias,;t t
+s,@ECHO_C@,$ECHO_C,;t t
+s,@ECHO_N@,$ECHO_N,;t t
+s,@ECHO_T@,$ECHO_T,;t t
+s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
+s,@DEFS@,$DEFS,;t t
+s,@LIBS@,$LIBS,;t t
+s,@AWK@,$AWK,;t t
+s,@CAT@,$CAT,;t t
+s,@CHECKSUM@,$CHECKSUM,;t t
+s,@CHMOD@,$CHMOD,;t t
+s,@COL@,$COL,;t t
+s,@DEROFF@,$DEROFF,;t t
+s,@EXPAND@,$EXPAND,;t t
+s,@GZIP@,$GZIP,;t t
+s,@LS@,$LS,;t t
+s,@MKDIR@,$MKDIR,;t t
+s,@NROFF@,$NROFF,;t t
+s,@SPELL@,$SPELL,;t t
+s,@TAR@,$TAR,;t t
+s,@UNZIP@,$UNZIP,;t t
+s,@ZIP@,$ZIP,;t t
+s,@ZOO@,$ZOO,;t t
+s,@CP@,$CP,;t t
+s,@LN@,$LN,;t t
+s,@RM@,$RM,;t t
+s,@SED@,$SED,;t t
+CEOF
+
+EOF
+
+ cat >>$CONFIG_STATUS <<\EOF
+ # Split the substitutions into bite-sized pieces for seds with
+ # small command number limits, like on Digital OSF/1 and HP-UX.
+ ac_max_sed_lines=48
+ ac_sed_frag=1 # Number of current file.
+ ac_beg=1 # First line for current file.
+ ac_end=$ac_max_sed_lines # Line after last line for current file.
+ ac_more_lines=:
+ ac_sed_cmds=
+ while $ac_more_lines; do
+ if test $ac_beg -gt 1; then
+ sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
+ else
+ sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
+ fi
+ if test ! -s $tmp/subs.frag; then
+ ac_more_lines=false
+ else
+ # The purpose of the label and of the branching condition is to
+ # speed up the sed processing (if there are no `@' at all, there
+ # is no need to browse any of the substitutions).
+ # These are the two extra sed commands mentioned above.
+ (echo ':t
+ /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
+ if test -z "$ac_sed_cmds"; then
+ ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
+ else
+ ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
+ fi
+ ac_sed_frag=`expr $ac_sed_frag + 1`
+ ac_beg=$ac_end
+ ac_end=`expr $ac_end + $ac_max_sed_lines`
+ fi
+ done
+ if test -z "$ac_sed_cmds"; then
+ ac_sed_cmds=cat
+ fi
+fi # test -n "$CONFIG_FILES"
+
+EOF
+cat >>$CONFIG_STATUS <<\EOF
+for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
+ # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
+ case $ac_file in
+ - | *:- | *:-:* ) # input from stdin
+ cat >$tmp/stdin
+ ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
+ *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
+ * ) ac_file_in=$ac_file.in ;;
+ esac
+
+ # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
+ ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$ac_file" : 'X\(//\)[^/]' \| \
+ X"$ac_file" : 'X\(//\)$' \| \
+ X"$ac_file" : 'X\(/\)' \| \
+ . : '\(.\)' 2>/dev/null ||
+echo X"$ac_file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+ /^X\(\/\/\)$/{ s//\1/; q; }
+ /^X\(\/\).*/{ s//\1/; q; }
+ s/.*/./; q'`
+ if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
+ { case "$ac_dir" in
+ [\\/]* | ?:[\\/]* ) as_incr_dir=;;
+ *) as_incr_dir=.;;
+esac
+as_dummy="$ac_dir"
+for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
+ case $as_mkdir_dir in
+ # Skip DOS drivespec
+ ?:) as_incr_dir=$as_mkdir_dir ;;
+ *)
+ as_incr_dir=$as_incr_dir/$as_mkdir_dir
+ test -d "$as_incr_dir" || mkdir "$as_incr_dir"
+ ;;
+ esac
+done; }
+
+ ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
+ # A "../" for each directory in $ac_dir_suffix.
+ ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
+ else
+ ac_dir_suffix= ac_dots=
+ fi
+
+ case $srcdir in
+ .) ac_srcdir=.
+ if test -z "$ac_dots"; then
+ ac_top_srcdir=.
+ else
+ ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
+ fi ;;
+ [\\/]* | ?:[\\/]* )
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir ;;
+ *) # Relative path.
+ ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_dots$srcdir ;;
+ esac
+
+ if test x"$ac_file" != x-; then
+ { echo "$as_me:2217: creating $ac_file" >&5
+echo "$as_me: creating $ac_file" >&6;}
+ rm -f "$ac_file"
+ fi
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
+ # use $as_me), people would be surprised to read:
+ # /* config.h. Generated automatically by config.status. */
+ configure_input="Generated automatically from `echo $ac_file_in |
+ sed 's,.*/,,'` by configure."
+
+ # First look for the input files in the build tree, otherwise in the
+ # src tree.
+ ac_file_inputs=`IFS=:
+ for f in $ac_file_in; do
+ case $f in
+ -) echo $tmp/stdin ;;
+ [\\/$]*)
+ # Absolute (can't be DOS-style, as IFS=:)
+ test -f "$f" || { { echo "$as_me:2235: error: cannot find input file: $f" >&5
+echo "$as_me: error: cannot find input file: $f" >&2;}
+ { (exit 1); exit 1; }; }
+ echo $f;;
+ *) # Relative
+ if test -f "$f"; then
+ # Build tree
+ echo $f
+ elif test -f "$srcdir/$f"; then
+ # Source tree
+ echo $srcdir/$f
+ else
+ # /dev/null tree
+ { { echo "$as_me:2248: error: cannot find input file: $f" >&5
+echo "$as_me: error: cannot find input file: $f" >&2;}
+ { (exit 1); exit 1; }; }
+ fi;;
+ esac
+ done` || { (exit 1); exit 1; }
+EOF
+cat >>$CONFIG_STATUS <<EOF
+ sed "$ac_vpsub
+$extrasub
+EOF
+cat >>$CONFIG_STATUS <<\EOF
+:t
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
+s,@configure_input@,$configure_input,;t t
+s,@srcdir@,$ac_srcdir,;t t
+s,@top_srcdir@,$ac_top_srcdir,;t t
+" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
+ rm -f $tmp/stdin
+ if test x"$ac_file" != x-; then
+ mv $tmp/out $ac_file
+ else
+ cat $tmp/out
+ rm -f $tmp/out
+ fi
+
+done
+EOF
+
+cat >>$CONFIG_STATUS <<\EOF
+
+{ (exit 0); exit 0; }
+EOF
+chmod +x $CONFIG_STATUS
+ac_clean_files=$ac_clean_files_save
+
+# configure is writing to config.log, and then calls config.status.
+# config.status does its own redirection, appending to config.log.
+# Unfortunately, on DOS this fails, as config.log is still kept open
+# by configure, so config.status won't be able to write to it; its
+# output is simply discarded. So we exec the FD to /dev/null,
+# effectively closing config.log, so it can be properly (re)opened and
+# appended to by config.status. When coming back to configure, we
+# need to make the FD available again.
+if test "$no_create" != yes; then
+ ac_cs_success=:
+ exec 5>/dev/null
+ $SHELL $CONFIG_STATUS || ac_cs_success=false
+ exec 5>>config.log
+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
+ # would make configure fail if this is the last instruction.
+ $ac_cs_success || { (exit 1); exit 1; }
+fi
+
diff --git a/biblio/bibtex/utils/bibextract/configure.in b/biblio/bibtex/utils/bibextract/configure.in
new file mode 100644
index 0000000000..7edc3b1372
--- /dev/null
+++ b/biblio/bibtex/utils/bibextract/configure.in
@@ -0,0 +1,50 @@
+dnl Process this file with autoconf (2.50 or later) to produce a configure script.
+AC_INIT(bibextract, 1.09, beebe@math.utah.edu)
+
+dnl Checks for support programs
+
+AC_CHECK_PROGS(AWK, [mawk nawk gawk awk])
+AC_CHECK_PROGS(CAT, cat)
+AC_CHECK_PROGS(CHECKSUM, checksum)
+AC_CHECK_PROGS(CHMOD, chmod)
+AC_CHECK_PROGS(COL, col)
+AC_CHECK_PROGS(DEROFF, [deroff cat])
+AC_CHECK_PROGS(EXPAND, expand)
+AC_CHECK_PROGS(GZIP, gzip)
+AC_CHECK_PROGS(LS, ls)
+AC_CHECK_PROGS(MKDIR, mkdir)
+AC_CHECK_PROGS(NROFF, [groff nroff ditroff])
+AC_CHECK_PROGS(SPELL, spell)
+AC_CHECK_PROGS(TAR, tar)
+AC_CHECK_PROGS(UNZIP, unzip)
+AC_CHECK_PROGS(ZIP, zip)
+AC_CHECK_PROGS(ZOO, zoo)
+
+AC_PATH_PROG(CP, cp)
+AC_PATH_PROG(LN, ln)
+AC_PATH_PROG(RM, rm)
+dnl SED must be an absolute path, since it is recorded in intalled
+dnl scripts!
+AC_PATH_PROG(SED, sed)
+AC_PATH_PROG(SHELL, sh)
+
+dnl Checks for compiler
+
+dnl Checks for programs.
+
+dnl Checks for libraries.
+
+dnl Checks for header files.
+
+dnl Checks for typedefs, structures, and compiler characteristics.
+
+dnl Checks for library functions.
+
+dnl Remove -g from CFLAGS if we are compiling with lcc because it
+dnl produces bad debug symbol tables on Sun Solaris 2.x.
+if test "$CC" = "lcc"
+then
+ CFLAGS="`echo $CFLAGS | sed -e 's/-g //g' -e 's/ -g$//g' -e 's/^-g$//'`"
+fi
+
+AC_OUTPUT(Makefile)
diff --git a/biblio/bibtex/utils/bibfile-reformat-pages/README b/biblio/bibtex/utils/bibfile-reformat-pages/README
new file mode 100644
index 0000000000..4fddab7e0c
--- /dev/null
+++ b/biblio/bibtex/utils/bibfile-reformat-pages/README
@@ -0,0 +1,5 @@
+This is a Small gawk script to put all the pages= page ranges in a .bib file
+into a uniform format, either 1234-1256 or upon request 1234-56; 12-12 always
+scrunched to just 1234; squeezes out spaces around separator; can make
+all separators one-dash or two-dashes upon request. Very very
+conservative: probably impossible for it to actually mess up a file.
diff --git a/biblio/bibtex/utils/bibfile-reformat-pages/bibfile-reformat-pages b/biblio/bibtex/utils/bibfile-reformat-pages/bibfile-reformat-pages
new file mode 100644
index 0000000000..6f8bc5ea67
--- /dev/null
+++ b/biblio/bibtex/utils/bibfile-reformat-pages/bibfile-reformat-pages
@@ -0,0 +1,147 @@
+#! /usr/bin/gawk -f
+
+# CVS version control block - do not edit manually
+# $RCSfile: bibfile-reformat-pages,v $
+# $Revision: 1.4 $
+# $Date: 2004/09/27 13:54:47 $
+# $Source: /home/cvs/papers/sty/bibfile-reformat-pages,v $
+
+# bibfile-reformat-pages - put file.bib page ranges into uniform style
+# Copyright (C) 2004 Barak A. Pearlmutter <barak@cs.may.ie>
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or (at
+# your option) any later version. You can find a copy of this license
+# at http://www.fsf.org/copyleft/gpl.html, or in the file COPYING, or
+# on Debian systems in /usr/share/common-licenses/GPL, or by writing
+# to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
+# Boston, MA 02111-1307 USA
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+
+function usage()
+{
+ print "Usage: bibfile-reformat-pages [abbrev=1] [separator=X] [files.bib or stdin]";
+ print;
+ print "Summary: reformat the \"pages=\" bits of a .bib file.";
+ print;
+ print "Version: '$RCSfile: bibfile-reformat-pages,v $ $Revision: 1.4 $";
+ print;
+ print "Description:";
+ print;
+ print " Passes through input file or stdin, which is assumed to be a bibtex";
+ print " .bib file, changing page ranges to a uniform format. The converted";
+ print " file is sent to standard output. Vacuous ranges are always compressed,";
+ print " so 1234-1234 becomes just 1234. Blanks around in the range separator";
+ print " are always squeezed out, so \"12 - 34 \" becomes \"12-34\". Ranges are";
+ print " by default put into expanded style, so 1234-56 becomes 1234-1256, but";
+ print " if the abbrev=1 option is given the conversion is reversed and 1234-1256";
+ print " is instead abbreviated to 1234-56. The range separator \"-\" or \"--\"";
+ print " is preserved, unless a separator=- or separator=-- option is given in";
+ print" which case they are homogenised.";
+ print;
+ print " Efforts, albeit not exhaustive ones, are taken to only modify \"pages=\"";
+ print " lines and to err on the side of caution (first, do no harm).";
+ print;
+ print "Options:";
+ print;
+ print " -h Print this help message and exit";
+ print " abbrev=1 Abbreviate page ranges instead of unabbreviating them";
+ print " separator=X Replaces page range separators with X, which must be - or --.";
+ print;
+ print "Examples:";
+ print;
+ print " bibfile-reformat-pages abbrev=0 separator=-- foo.bib > foo-new.bib";
+ print " diff foo.bib foo-new.bib";
+ print " mv foo-new.bib foo.bib";
+ print;
+ print " bibfile-reformat-pages foo.bib > foo-new.bib";
+ print;
+ print " bibfile-reformat-pages < foo.bib > foo-new.bib";
+ print;
+ print " bibfile-reformat-pages abbrev=1 separator=- foo.bib > foo-new.bib";
+ print;
+ print "Useful commands for testing:";
+ print;
+ print " bibfile-reformat-pages foo.bib | diff foo.bib - | more"
+ print " for f in *.bib; do echo $f; bibfile-reformat-pages <$f | diff $f -; done";
+ print " find . -name '*.bib' | xargs bibfile-reformat-pages | egrep pages | more";
+}
+
+BEGIN {
+ if ( ARGV[1] == "-h" || ARGV[1] ~ /^--?help$/ ) {
+ usage();
+ exit;
+ }
+ IGNORECASE=1;
+ abbrev=0; # avoid uninitialised variable warning
+ separator=0; # avoid uninitialised variable warning
+}
+
+## Would code as "if" in BEGIN, but var=x opts processed after BEGIN.
+(separator && !(separator ~ /^--?$/)) {
+ print "error: illegal option separator=" separator > "/dev/stderr";
+ print " valid values: \"-\" or \"--\"." > "/dev/stderr";
+ close("/dev/stderr");
+ exit 1;
+}
+
+function high_page_unabbrev(lo, hi)
+{
+ llo = length(lo);
+ lhi = length(hi);
+ if (llo > lhi)
+ hi = substr(lo, 1, llo-lhi) hi;
+ return hi;
+}
+
+function numsame(x, y)
+{
+ i = 1;
+ while (1)
+ {
+ xc = substr(x, i, 1);
+ yc = substr(y, i, 1);
+ if (!xc || !yc || xc != yc)
+ return i-1;
+ i += 1;
+ }
+}
+
+function high_page_abbrev(lo, hi)
+{
+ hi = high_page_unabbrev(lo, hi);
+ llo = length(lo);
+ lhi = length(hi);
+ if (llo == lhi) {
+ k = numsame(lo, hi);
+ if ( k > 0 )
+ hi = substr(hi, 1+k);
+ }
+ return hi;
+}
+
+match($0,
+ /^([[:blank:]]*pages[[:blank:]]*=[^[:digit:]]*)([[:digit:]]+)[[:blank:]]*(--?)[[:blank:]]*([[:digit:]]+)([^[:digit:]]*)$/,
+ a) {
+ low = a[2];
+ sep = a[3];
+ high = a[4];
+ high = high_page_unabbrev(low, high); # put into canonical (unabbrev) form
+ if (low == high) {
+ print a[1] low a[5]; # 123-123 becomes just 123
+ } else {
+ if (abbrev) high = high_page_abbrev(low, high);
+ if (separator) sep=separator;
+ print a[1] low sep high a[5];
+ }
+ next;
+}
+
+{
+ print;
+}
diff --git a/biblio/bibtex/utils/bibgene/bibgene122.hqx b/biblio/bibtex/utils/bibgene/bibgene122.hqx
new file mode 100644
index 0000000000..7a76b07962
--- /dev/null
+++ b/biblio/bibtex/utils/bibgene/bibgene122.hqx
@@ -0,0 +1,6657 @@
+(This file must be converted with BinHex 4.0)
+:$8*TBNGPEQ8Ja#jcDA3!8dP8090*9#%!N!-%fc-!N!4-T90dG@CQ5A3J+'-T-6N
+j0bda16Ni)%&XB@4ND@iJ8hPcG'9YFb`J5@jM,L`JD(4dF$S[,hH3!bjKE'&NC'P
+ZFhPc,Q0[E5p6G(9QCNPd,`d+'J!&%!!%fc-!N!0b!!%!N!0bk@B0TD95CA0PFRC
+PC+@P!+@3"!%!!$S!3,(8RlZf$q)8!*!0#SDZ!*!$d!!181J!"0TM!!*#D@*(C@j
+P)-D5!!$J!3(Q!9B#@`)Z!q!!J!'3!`Mrr2rX`d!!!)!!N!8BPk@3"!%!!$d!!,2
++ahDef'[@!*!$FJ!!&BB!N!0b!!hhQ3!!29%!!"+'!*!%$`""BQpeG#"#D@*(C@j
+P!!'"1h4dFQpdG(Kd!3#3"!%!N!U!!*!*"hJ!!!("!*!%$`"#`G6fJ$abcKhKVjc
+6[JSlK10&A%kcPbq[I+%YCYbVfQNha9!Zh8X&)BS,$3AB$*`-Umm%-RpdPD+BX$b
+6V4SHXbY[SAS6,P32V0J%D!@mip@Sf4-Q@F"Z3@RZX+F!USbPCcGMk(XEk1RFQc4
+c+1mpM)TlA&H'qTl%83mMKRNL0mE2(BQ8SmlU8@j`$fG!Dk19,0J%fNjhH9jEj,3
+)d"IQcc@ZGH[T85Y2L*f*pXQje#F)ZALFd)JR"h5P'apb(Ye)PRm6`H2Jk0j&RKl
+(Ul9A$`C#Ba9+6QMeD@NjF9"KiS&A'L[8mIb4lDN(KSB!TPhqpe@,r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h3-J-MlArUK#00IV@GB)Qb(Yk&deK3jNA4qDShB"&d-HN`l!)q+Jq
+JdRf5QTZY"@Q$+M!M,SKX4b8TUCUU4`GUmY&Rl46C%0V0VI5(h&-(!+@3"!%!!$!
+!3!#3#K@'!*!(FJ!!LmRrN!3!N!UH#`!!:
diff --git a/biblio/bibtex/utils/bibindex/Makefile b/biblio/bibtex/utils/bibindex/Makefile
new file mode 100644
index 0000000000..619c92a0af
--- /dev/null
+++ b/biblio/bibtex/utils/bibindex/Makefile
@@ -0,0 +1,189 @@
+#=======================================================================
+# Makefile for bibindex and biblook.
+#
+# These programs are written in ISO/ANSI Standard C. They must be
+# compiled with a Standard C compiler, or with a C++ compiler.
+#
+# Current target list:
+# all make bibindex and biblook
+# bibindex.txt ascii text file from UNIX man pages
+# bibindex make indexing program
+# bibindex.tar UNIX tar archive file for bibindex
+# distribution
+# bibindex.tar.z compressed UNIX tar archive file for bibindex
+# bibindex.uue uuencoded bibindex.tar.z archive
+# bibindex.zip InfoZip archive file for bibindex
+# distribution
+# bibindex.zoo zoo archive file for bibindex distribution
+# bibindex.tar-lst listing of UNIX tar archive file
+# bibindex.zip-lst listing of InfoZip archive file
+# bibindex.zoo-lst listing of zoo archive file
+# biblook.txt ascii text file from UNIX man pages
+# biblook make lookup program
+# clean remove all recreatable files, except
+# executables
+# clobber remove all recreatable files
+# install install executables and manual pages
+# uninstall uninstall executables and manual pages
+#
+# [01-Jun-1993]
+#=======================================================================
+
+DEST = /usr/local
+
+BINDIR = $(DEST)/bin
+
+CATDIR = $(DEST)/man/cat1
+
+# Compilation with a C++ compiler is preferable. SunOS 4.1 CC cannot be
+# used, however, because of its erroneous function prototypes in stdlib.h
+# which use char* instead of void* in many places. There is no such
+# problem with Sun Solaris 2.1 CC, which works fine.
+CC = CC ## some UNIX C++ compilers
+CC = CC -I/usr/CC/incl ## C++ on SunOS 4.1.1
+CC = acc -Dsun ## SunOS Standard C compiler
+CC = c89 -D_POSIX_SOURCE ## HP 9000/850 HP-UX A.08.00 D
+CC = c89 -D_POSIX_SOURCE ## IBM RS/6000 Standard C
+CC = xlC ## IBM RS/6000 C++
+CC = cc ## many UNIX systems
+CC = cc $(GCCFLAGS) ## NeXT
+CC = lcc -A -A -n ## Princeton/AT&T Standard C compiler
+CC = g++ $(GCCFLAGS) ## UNIX systems with GNU C++
+CC = gcc $(GCCFLAGS) ## GNU C
+CC = g++ $(GCCFLAGS) ## UNIX systems with GNU C++
+CC = g++ $(GCCFLAGS) -Dtemplate=Template ## NeXT systems with GNU C++
+CC = cc -ObjC ## NeXT systems with Objective C
+CC = gcc $(GCCFLAGS) ## GNU C
+
+CFLAGS = $(OPT) ## most cases
+
+GCCFLAGS = -Wall -Wshadow -Wcast-qual -Wpointer-arith \
+ -Wwrite-strings
+
+COL = col -b
+
+COMPRESS = compress
+
+CP = /bin/cp
+
+FTPDIR = /usr/spool/ftp/pub/tex/bib
+
+LDFLAGS =
+
+# Use /usr/lib/debug/malloc.o on Sun systems for malloc debugging
+# with acc, gcc, or CC
+LIBS = /usr/lib/debug/malloc.o
+LIBS =
+
+MANDIR = $(DEST)/man/man1
+
+MANEXT = 1
+
+NROFF = nroff -man
+
+# Define DEBUG_MALLOC on Sun systems for debugging memory allocation
+OPT = -g -DDEBUG_MALLOC
+OPT = -g
+
+RM = /bin/rm -f
+
+SHELL = /bin/sh
+
+TAR = tar
+
+TARFILES = README Makefile bibindex.c bibindex.man bibindex.txt \
+ biblook.c biblook.h biblook.man biblook.txt
+
+UNZIP = unzip
+
+UUENCODE = uuencode
+
+ZIP = zip
+
+ZOO = zoo
+
+#=======================================================================
+
+all: bibindex biblook bibindex.txt biblook.txt
+
+bibindex: bibindex.o
+ $(CC) $(CFLAGS) -o bibindex bibindex.o $(LDFLAGS) $(LIBS)
+
+bibindex.txt: bibindex.man
+ $(NROFF) $? | $(COL) >$@
+
+bibindex.tar: $(TARFILES)
+ $(TAR) cf $@ $(TARFILES)
+
+bibindex.tar-lst: bibindex.tar
+ $(TAR) tvf $? >$@
+
+bibindex.tar.z: bibindex.tar
+ $(COMPRESS) <$? >$@
+
+bibindex.uue: bibindex.tar.z
+ $(UUENCODE) $? $? >$@
+
+bibindex.zip: $(TARFILES)
+ -$(RM) $@
+ $(ZIP) $@ $(TARFILES)
+
+bibindex.zip-lst: bibindex.zip
+ $(UNZIP) -v $? >$@
+
+bibindex.zoo: $(TARFILES)
+ -$(RM) $@
+ $(ZOO) a $@ $(TARFILES)
+
+bibindex.zoo-lst: bibindex.zoo
+ $(ZOO) v $? >$@
+
+biblook: biblook.o
+ $(CC) $(CFLAGS) -o biblook biblook.o $(LDFLAGS) $(LIBS)
+
+biblook.txt: biblook.man
+ $(NROFF) $? | $(COL) >$@
+
+bibindex.o biblook.o: biblook.h
+
+clean mostlyclean:
+ -$(RM) \#*
+ -$(RM) *~
+ -$(RM) core
+ -$(RM) *.o
+ -$(RM) bibindex.tar bibindex.tar.z bibindex.tar-lst
+ -$(RM) bibindex.uue
+ -$(RM) bibindex.zip bibindex.zip-lst
+ -$(RM) bibindex.zoo bibindex.zoo-lst
+
+clobber distclean realclean reallyclean: clean
+ -$(RM) biblook bibindex
+ -$(RM) biblook.txt bibindex.txt
+
+install: bibindex biblook
+ -$(CP) bibindex $(BINDIR)
+ -chmod 775 $(BINDIR)/bibindex
+ -$(CP) biblook $(BINDIR)
+ -chmod 775 $(BINDIR)/biblook
+ -$(CP) bibindex.man $(MANDIR)/bibindex.$(MANEXT)
+ -chmod 774 $(MANDIR)/bibindex.$(MANEXT)
+ -$(CP) biblook.man $(MANDIR)/biblook.$(MANEXT)
+ -chmod 774 $(MANDIR)/biblook.$(MANEXT)
+
+install-ftp: bibindex.tar.z bibindex.zip bibindex.zoo \
+ bibindex.tar-lst bibindex.zip-lst bibindex.zoo-lst
+ -for f in $? ; \
+ do \
+ $(CP) $$f $(FTPDIR) ; \
+ chmod 774 $(FTPDIR)/$$f ; \
+ done
+
+uninstall:
+ -$(RM) $(BINDIR)/bibindex
+ -$(RM) $(BINDIR)/biblook
+ -$(RM) $(MANDIR)/bibindex.$(MANEXT)
+ -$(RM) $(MANDIR)/biblook.$(MANEXT)
+ -$(RM) $(CATDIR)/bibindex.$(MANEXT)
+ -$(RM) $(CATDIR)/biblook.$(MANEXT)
+
+#=======================================================================
diff --git a/biblio/bibtex/utils/bibindex/README b/biblio/bibtex/utils/bibindex/README
new file mode 100644
index 0000000000..7009c644cc
--- /dev/null
+++ b/biblio/bibtex/utils/bibindex/README
@@ -0,0 +1,47 @@
+/u/sy/beebe/tex/bibindex/2-4/README, Tue Jun 1 17:00:51 1993
+Edit by Nelson H. F. Beebe <beebe@plot79.math.utah.edu>
+
+This directory contains bibindex and biblook, programs for fast lookup
+in BibTeX bibliography data bases. They were written by Jeff
+Erickson, now at the University of California, Berkeley.
+
+bibindex converts a .bib file to a .bix file, which is a compact
+binary representation of the .bib file containing hash tables for fast
+lookup, as well as byte offset positions into the corresponding .bib
+file.
+
+biblook provides an interactive lookup facility using the .bix and
+.bib files. It verifies that the file version number and bibindex
+version number match its own values, and also compares the file time
+stamps so that it can detect whether the .bix file is out-of-date with
+respect to the .bib file. In either case, execution terminates.
+
+biblook may provide a more convenient, and faster, way of searching
+.bib files than text editors or pattern search utilities like the grep
+programs, particularly since it supports boolean operations between
+pairs of patterns.
+
+Both programs are documented in UNIX man pages, and the *.txt files
+are the output of nroff+col processing of the *.man files, so that
+documentation can read even if nroff is unavailable (e.g. non-UNIX
+systems, or UNIX systems where it is an extra-cost option).
+
+The programs so far run only under UNIX. Plans are to investigate the
+possibility of making them work on other operating systems.
+
+For very large bibliography files, it may be necessary to change the
+type Index_t in biblook.h from "unsigned short" to "unsigned int".
+The choice in version 2.4 and earlier of "unsigned short" is suitable
+for the SIGGRAPH and TeX User Group bibliography collections
+(SIGGRAPH: 6.7MB with 15,400 entries; TUG: 3.9MB with 14,600 entries).
+as of June 1993. Using "unsigned int" increases the size of the .bix
+files by 55% (TUG) to 68% (SIGGRAPH).
+
+Author of README and *.man files:
+ Nelson H. F. Beebe
+ Center for Scientific Computing
+ Department of Mathematics
+ University of Utah
+ Salt Lake City, UT 84112
+ USA
+ Email: beebe@math.utah.edu (Internet)
diff --git a/biblio/bibtex/utils/bibindex/bibindex.c b/biblio/bibtex/utils/bibindex/bibindex.c
new file mode 100644
index 0000000000..af7870896a
--- /dev/null
+++ b/biblio/bibtex/utils/bibindex/bibindex.c
@@ -0,0 +1,1062 @@
+/* ================================================================= *\
+
+ bibindex -- a program to index bibtex files, used in conjunction
+ with biblook
+
+ This program was specifically developed for use with the
+ computational geometry bibliographic database, and assumes the
+ rules thereof. The database may be obtained by anonymous ftp
+ from cs.usask.ca in the file "pub/geometry/geombib.tar.Z".
+
+ Version 1.0 written by Jeff Erickson <jeff@ics.uci.edu>, 27 Mar 92
+ Version 2.0 written by Jeff Erickson <jeff@ics.uci.edu>, 17 Jun 92
+
+ This program is in the public domain. You may use it or modify
+ it to your heart's content, at your own risk. Bouquets, brickbats,
+ and bug fixes may be sent to Jeff Erickson, jeffe@cs.berkeley.edu.
+
+ %Make% gcc -O -o bibindex bibindex.c
+
+ Usage: bibindex bibfile [-i field ...]
+
+ -----------------------------------------------------------------
+
+ HOW IT WORKS:
+
+ The bibtex file is read field by field. The file offset beginning
+ each record and each record's citation key are recorded. A list of
+ words is extracted from each field. These words are placed into
+ tables, which remember which records contain them in their
+ respective fields. Once the file has been completely read, the
+ hash tables are compacted and sorted.
+
+ The hash tables are extensible, since we have to maintain one for
+ each possible field type, and static tables would be way too big.
+ Initially, each table holds 1K entries, and the tables are doubled
+ whenever they reach 75% capacity. Each table entry is at least 24
+ bytes. If the resulting hash tables use too much memory, the
+ entries should be changed to pointers, allocated on the fly.
+
+ The entry lists associated with each word are implemented as
+ extensible arrays. Initially, each list holds eight entries. If a
+ new entry is inserted into a full list, the list is doubled first.
+
+ The index file has the following format (loosely):
+
+ version info
+ # entries
+ array of offsets into bib file -- one per entry
+ # field types
+ array of field names -- one per field type
+ array of -- one per field type
+ # words
+ array of -- one per word
+ word -- in alphabetical order
+ # locations
+ array of entry #s -- one per location
+
+ There are advantages and disadvantages of having multiple hash
+ tables instead of a single table. I am starting with the premise
+ that the lookup program should be very fast. Consequently, I can't
+ make it determine which fields contain a given word. Doing so
+ would require putting ALL of the entry-parsing code into the lookup
+ program. It would also mean potentially parsing a lot of
+ extraneous entries to find relatively common words in relatively
+ uncommon places (eg, "title edelsbrunner").
+
+ If there were a single word table, each word list would have to
+ include bitmasks to indicate the appropriate fields along with the
+ entry numbers. Assuming between 16 and 32 field types (the CG bib
+ uses about 24), this would triple the size of each entry. On the
+ average, each word occurs in less than two field types. The
+ bitmask approach would also require knowledge of the field names in
+ advance; the multiple table approach does not.
+
+ -----------------------------------------------------------------
+ VERSION HISTORY:
+
+ 1.0 <jge> 3/26/92 Initial version completed
+ 1.1 <jge> 3/27/92 Words restricted to letters only; special
+ rules added for apostrophes, so that words
+ like "didn't" and "O'Rourke" can be handled
+ correctly.
+ 1.2 <jge> 3/30/92 Faster hash function; now compressing hash
+ tables before sorting them. Execution time on
+ the CG bib reduced by a factor of thirty-five.
+ 1.3 <jge> 4/2/92 Toyed with the hash function some more, trying
+ to reduce collisions, with limited success.
+ 1.4 <jge> 4/17/92 Added exit(0) at the end of main() [I thought
+ that was supposed to be automatic!]
+
+ 2.0 <jge> 6/12/92 First major revision completed.
+ 1. Major change in file format -- word tables for every
+ field instead of just author, title, and keywords.
+ 2. Word hash tables made extensible.
+ 3. Fixed bug in GetNextWord that would cause the function
+ to return inside nested braces.
+ 4. Fixed bug in MungeField that would kill everything in an
+ entry after an abbreviation. Abbreviations now go into
+ the appropriate hash table with the other words.
+ 5. Made GetNextWord consider numbers and math expressions
+ to be words.
+ 6. Added WriteWord, resulting in 40% savings in disk space.
+ 7. Added -i flag and black holes. Ignoring "oldlabel"
+ gives another 15% savings (6/92 version of CGbib).
+ 2.1 <jge> 7/9/92 Minor bug fixes.
+ 2.2 Nelson H. F. Beebe <beebe@math.utah.edu> 03-Oct-1992
+ Testing with >100K lines of .bib files led to these changes:
+ 1. Add support for complete BibTeX keyword name syntax with
+ iskeychar() function.
+ 2. Add support for trailing comma after last key = "value" entry.
+ 3. Record input line number for display in error messages.
+ 4. Record initial line number of each BibTeX entry for
+ display in error messages to better localize error.
+ 5. Add test for word buffer overflow in MungeField() to prevent
+ run-time core dumps, and increase supported word size from
+ 15 to 31 (a word-length histogram of a 116921-word dictionary
+ found words up to 28 characters long, with 1% longer than 15).
+ File version increased to 2 because of word size change.
+ 6. Add typecasts in calls to qsort() and comparisons of
+ unsigned short with short, change main() from void to int,
+ remove variable from initializer of msg[2], and add void to
+ IndexBibFile() definition to allow compilation with C++ as
+ well as C for better compile-time checking.
+ 7. In MungeEntry(), do an ungetc() after key name collection.
+ Otherwise, a key="value" pair without a blank before the =
+ will not be recognized because the = read on lookahead has
+ not been put back.
+ 8. Revise table compression code in OutputTables() and
+ code in FreeTables() to avoid duplicate frees, which is
+ a fatal error on many systems, and specified to result
+ in undefined behavior by the 1989 ANSI/ISO C Standard.
+ 9. Define bcopy() as a macro to invoke standard memcpy()
+ instead.
+ 10. Include time.h, unistd.h, and malloc.h to get proper
+ function declarations for library routines needed here.
+ 11. Add DEBUG_MALLOC support.
+ 12. Change several char* types to const char*.
+ 13. Correct some typographical errors in comment.
+ 14. Write UNIX manual pages for bibindex and biblook.
+ 15. Allow command-line to specify a filename with .bib extension.
+ 16. Add help support to biblook.
+ 17. Correct error in FreeTables() in biblook.c; inner loop
+ incremented i instead of j.
+ 2.3 Bill Jones <jones@cs.usask.ca> 93/01/29
+ 1. Declarations common to bibindex.c and biblook.c factored out
+ to new file biblook.h.
+ 2. Index type of (signed) short overflows early; created typedef
+ Index_t, defined as unsigned short.
+ 3. Changed hash tables to extend at 75% capacity rather than 50%.
+ 2.4 Nelson H. F. Beebe <beebe@math.utah.edu> [01-Jun-1993]
+ 1. Remove some mixed-mode arithmetic.
+ 2. Increase MAXFIELDS from 64 to 127 to deal with TeX User Group
+ bibliography collection
+ 3. Correct error in GetHashTable(); older versions got into an
+ infinite loop if MAXFIELDS field names were already stored, and
+ a new one was encountered.
+
+\* ================================================================= */
+
+
+#include "biblook.h"
+
+static long line_number = 1L; /* for debug messages */
+static long initial_line_number = 1L;
+
+
+/* ======================= UTILITY FUNCTIONS ======================= */
+
+/* ----------------------------------------------------------------- *\
+| void die(const char *msg1, const char *msg2) -- print an error message and die
+\* ----------------------------------------------------------------- */
+void die(const char *msg1, const char *msg2)
+{
+ fprintf(stderr,
+ "\nError:\tin BibTeX entry starting at line %ld, \
+error detected at line %ld:\n\t%s %s\n",
+ initial_line_number, line_number, msg1, msg2);
+ exit(1);
+}
+
+/* ----------------------------------------------------------------- *\
+| char safegetc(FILE *fp, const char *where)
+|
+| Get the next character safely. Used by routines that assume that
+| they won't run into the end of file.
+\* ----------------------------------------------------------------- */
+char safegetc(FILE *fp, const char *where)
+{
+ char c;
+
+ if (feof(fp))
+ die("Unexpected end of file in", where);
+
+ c = getc(fp);
+ if (c == '\n')
+ line_number++;
+ return (c);
+}
+
+/* ----------------------------------------------------------------- *\
+| void *safemalloc(unsigned howmuch, const char *msg1, const char *msg2)
+|
+| Allocate memory safely. Used by routines that assume they won't
+| run out of memory.
+\* ----------------------------------------------------------------- */
+void *safemalloc(unsigned howmuch, const char *msg1, const char *msg2)
+{
+ register void *tmp = NULL;
+
+ tmp = malloc(howmuch);
+ if (tmp == NULL)
+ die(msg1, msg2);
+
+ return tmp;
+}
+
+
+/* ====================== HASH TABLE FUNCTIONS ===================== *\
+
+ The hash tables start small and double whenever they reach 75%
+ capacity. Hashing is performed by going through the string one
+ character at a time, multiplying by a constant and adding in the
+ new character value each time. The constant is defined to give
+ the same even spread (about size/sqrt(2)) between successive
+ multiples, as long as the hash table size is a power of two.
+
+ Collisions are resolved by double hashing. Since the hash table
+ size is always a power of two, the secondary hash value has to be
+ odd to avoid loops.
+
+ The field tables are non-extensible hash tables, otherwise handled
+ the same way. It is probably well worth the effort to fine tune
+ the field table hash function in order to avoid collisions.
+
+ The field tables associated with ignored fields are black holes.
+ Everything is the same, except that InsertEntry doesn't actually
+ DO anything.
+
+\* ================================================================= */
+
+#define MAXFIELDS 127 /* intentionally way too much */
+ /* NB: limited by char type of numfields */
+
+#define INIT_HASH_SIZE 256
+#define HASH_CONST 1482907 /* prime close to 2^{20.5} */
+
+typedef struct /* Hash table entry */
+{
+ Word theword; /* the hashed word */
+ Index_t number; /* number of references in the list */
+ Index_t size; /* real size of reference list */
+ Index_t *refs; /* actual list of references */
+} HashCell, *HashPtr;
+
+typedef struct /* Extensible hash table */
+{
+ Word thefield; /* the field type */
+ Index_t number; /* number of words in the hash table */
+ Index_t size; /* real size of the hash table */
+ HashPtr words; /* the actual hash table */
+} ExHashTable;
+
+static ExHashTable fieldtable[MAXFIELDS]; /* the field tables */
+static char numfields; /* number of fields */
+
+
+/* ----------------------------------------------------------------- *\
+| void InitTables(void)
+|
+| Initialize the field tables
+\* ----------------------------------------------------------------- */
+void InitTables(VOID)
+{
+ register unsigned short i;
+
+ numfields = 0;
+ for (i=0; i<MAXFIELDS; i++)
+ {
+ fieldtable[i].thefield[0] = 0;
+ fieldtable[i].number = 0;
+ fieldtable[i].size = 0;
+ fieldtable[i].words = NULL;
+ }
+}
+
+/* ----------------------------------------------------------------- *\
+| void InitOneField(ExHashTable *htable)
+|
+| Initialize one field's hash table
+\* ----------------------------------------------------------------- */
+void InitOneField(register ExHashTable *htable)
+{
+ Index_t i;
+
+ htable->number = 0;
+ htable->size = INIT_HASH_SIZE;
+ htable->words = (HashPtr) safemalloc(INIT_HASH_SIZE*sizeof(HashCell),
+ "Can't create hash table for",
+ htable->thefield);
+ for (i=0; i<INIT_HASH_SIZE; i++)
+ {
+ htable->words[i].theword[0] = 0;
+ htable->words[i].number = 0;
+ htable->words[i].size = 0;
+ htable->words[i].refs = NULL;
+ }
+}
+
+/* ----------------------------------------------------------------- *\
+| void FreeTables(void)
+|
+| Free the tables
+\* ----------------------------------------------------------------- */
+void FreeTables(VOID)
+{
+ register unsigned short i;
+ Index_t j;
+
+ for (i=0; i < (unsigned short)numfields; i++)
+ {
+ if (fieldtable[i].words)
+ {
+ for (j=0; j < fieldtable[i].number; j++)
+ {
+ if (fieldtable[i].words[j].refs)
+ free(fieldtable[i].words[j].refs);
+ }
+ free(fieldtable[i].words);
+ }
+ }
+}
+
+
+/* ----------------------------------------------------------------- *\
+| ExHashTable *GetHashTable(char *field)
+|
+| Get the hash table associated with the given field. If the table
+| is unclaimed, claim it and initialize it.
+\* ----------------------------------------------------------------- */
+ExHashTable *GetHashTable(char *field)
+{
+ register unsigned long hash=0; /* primary hash value */
+ register unsigned long skip=1; /* secondary hash value */
+ register int i;
+
+ for (i=0; field[i]; i++)
+ {
+ hash = (hash*HASH_CONST + field[i]) % MAXFIELDS;
+ skip += 2*hash;
+ }
+
+ while (fieldtable[hash].thefield[0] && /* cell not empty and */
+ strcmp(fieldtable[hash].thefield, field)) /* not the right field */
+ {
+ hash = (hash+skip) % MAXFIELDS;
+ }
+
+ if (!fieldtable[hash].thefield[0])
+ {
+ strcpy(fieldtable[hash].thefield, field);
+ InitOneField(fieldtable+hash);
+ numfields++;
+ if (numfields >= MAXFIELDS) /* NB: NOT > because that produces */
+ /* an infinite while() loop above on */
+ /* next entry! */
+ die("too many field names",field);
+ }
+
+ return fieldtable+hash;
+}
+
+/* ----------------------------------------------------------------- *\
+| void InitBlackHole(char *field)
+|
+| Intitialize a black hole for the given field.
+\* ----------------------------------------------------------------- */
+void InitBlackHole(char *field)
+{
+ ExHashTable *hole;
+
+ hole = GetHashTable(field);
+ free(hole->words);
+ hole->words = NULL;
+}
+
+/* ----------------------------------------------------------------- *\
+| HashPtr GetHashCell(ExHashTable *table, char *word)
+|
+| Get the hash table cell associated with the given word. If the cell
+| is unclaimed, claim it, initialize it, and update the table's word
+| count.
+\* ----------------------------------------------------------------- */
+HashPtr GetHashCell(ExHashTable *htable, char *word)
+{
+ register HashPtr table, cell;
+ register unsigned long hash=0; /* primary hash value */
+ register unsigned long skip=1; /* secondary hash value */
+ register int i;
+
+ table = htable->words;
+
+ for (i=0; word[i]; i++)
+ {
+ hash = (hash*HASH_CONST + word[i]) % htable->size;
+ skip += 2*hash;
+ }
+
+ while (table[hash].theword[0] && /* cell not empty and */
+ strcmp(table[hash].theword, word)) /* not the right word */
+ {
+ hash = (hash+skip) % htable->size;
+ }
+ cell = table+hash;
+
+ if (!cell->theword[0])
+ {
+ strcpy(cell->theword, word);
+ cell->size = 8;
+ cell->refs = (Index_t *) safemalloc(cell->size * sizeof(Index_t),
+ "Can't create entry list for",
+ word);
+ htable->number++;
+ }
+ return cell;
+}
+
+/* ----------------------------------------------------------------- *\
+| void ExtendHashTable(ExHashTable *htable)
+|
+| Double the size of the hash table and rehash everything.
+\* ----------------------------------------------------------------- */
+void ExtendHashTable(ExHashTable *htable)
+{
+ register HashPtr newcell;
+ register HashPtr oldtable;
+ Index_t i;
+ Index_t oldsize;
+
+ oldsize = htable->size;
+ oldtable = htable->words;
+
+ htable->number = 0;
+ htable->size *= 2;
+ htable->words = (HashPtr) safemalloc(sizeof(HashCell)*htable->size,
+ "Can't extend hash table for",
+ htable->thefield);
+
+ for (i=0; i < htable->size; i++)
+ {
+ htable->words[i].theword[0] = 0;
+ htable->words[i].number = 0;
+ htable->words[i].size = 0;
+ htable->words[i].refs = NULL;
+ }
+
+ for (i=0; i< oldsize; i++)
+ {
+ if (oldtable[i].theword[0])
+ {
+ newcell = GetHashCell(htable, oldtable[i].theword);
+ *newcell = oldtable[i];
+ }
+ }
+
+ free(oldtable);
+}
+
+/* ----------------------------------------------------------------- *\
+| void InsertEntry(ExHashTable *htable, char *word, Index_t entry)
+|
+| Insert the word/entry pair into the hash table, unless it's
+| already there.
+\* ----------------------------------------------------------------- */
+void InsertEntry(ExHashTable *htable, char *word, Index_t entry)
+{
+ register HashPtr cell;
+ Index_t *newlist;
+
+ if (htable->words == NULL) /* Is it a black hole? */
+ return;
+
+ if ((Index_t)(htable->number * 4) > (Index_t)(htable->size * 3))
+ ExtendHashTable(htable);
+
+ cell = GetHashCell(htable, word);
+
+ if (cell->number && (cell->refs[cell->number-1] == entry))
+ return;
+
+ if (cell->number == cell->size) /* expand the array */
+ {
+ cell->size *= 2;
+ newlist = (Index_t *) safemalloc(cell->size * sizeof(Index_t),
+ "Can't extend entry list for",
+ word);
+
+ bcopy(cell->refs, newlist, cell->number * sizeof(Index_t));
+ free(cell->refs);
+ cell->refs = newlist;
+ }
+ cell->refs[cell->number++] = entry;
+ if (cell->number <= 0)
+ die("hash type overflow", htable->thefield);
+}
+
+
+/* ================================================================= */
+
+/* ----------------------------------------------------------------- *\
+| void WriteWord(FILE *ofp, Word word)
+|
+| Output the word in "Pascal" string format -- length byte followed
+| by characters. This saves some disk space over writing MAXWORD+1 bytes
+| in all cases.
+\* ----------------------------------------------------------------- */
+void WriteWord(FILE *ofp, Word word)
+{
+ unsigned char length = strlen(word);
+ fwrite((void *) &length, sizeof(char), 1, ofp);
+ fwrite((void *) word, sizeof(char), length, ofp);
+}
+
+/* ----------------------------------------------------------------- *\
+| void OutputTables(FILE *ofp)
+|
+| Compress and output the tables, with lots of user feedback.
+| KLUDGE -- Passing strcmp to qsort assumes intimate knowledge of
+| the HashCell and ExhashTable structs.
+\* ----------------------------------------------------------------- */
+void OutputTables(FILE *ofp)
+{
+ register HashPtr words;
+ register int i, k, count;
+ Index_t m, n;
+
+ printf("Writing index tables...");
+ fflush(stdout);
+
+ numfields = 0; /* recount, ignoring black holes */
+ for (i=0; i<MAXFIELDS; i++)
+ {
+ if (fieldtable[i].words)
+ {
+ if (i > numfields)
+ {
+ fieldtable[numfields] = fieldtable[i]; /* copy i-th table */
+ fieldtable[i].number = 0; /* then clear i-th table */
+ fieldtable[i].size = 0; /* to avoid duplicate free() later */
+ fieldtable[i].words = NULL;
+ }
+ numfields++;
+ }
+ }
+ qsort(fieldtable, (size_t)numfields, sizeof(ExHashTable),
+ (int (*)(const void*,const void*))strcmp);
+
+ fwrite((void *) &numfields, sizeof(char), 1, ofp);
+ for (i=0; i<numfields; i++)
+ WriteWord(ofp, fieldtable[i].thefield);
+
+ printf("[%d fields]\n", numfields);
+
+ for (k=0; k<numfields; k++)
+ {
+ printf("%2d: %s...", k+1, fieldtable[k].thefield);
+ fflush(stdout);
+
+ words = fieldtable[k].words;
+
+ for (m=0, n=0; m<fieldtable[k].size; m++)
+ {
+ if (words[m].theword[0])
+ {
+ if (m > n)
+ {
+ words[n] = words[m]; /* copy m-th table to n-th */
+ words[m].number = 0; /* then clear m-th table */
+ words[m].size = 0; /* to avoid duplicate free() later */
+ words[m].refs = (Index_t*)0;
+ }
+ n++;
+ }
+ }
+ qsort(words, (size_t)fieldtable[k].number, sizeof(HashCell),
+ (int (*)(const void*,const void*))strcmp);
+
+ fwrite((void *) &(fieldtable[k].number), sizeof(Index_t), 1, ofp);
+
+ count = 0;
+ for (m=0; m<fieldtable[k].number; m++)
+ {
+ WriteWord(ofp, words[m].theword);
+ fwrite((void *) &(words[m].number), sizeof(Index_t), 1, ofp);
+ fwrite((void *) words[m].refs, sizeof(Index_t),
+ words[m].number, ofp);
+ count += words[m].number;
+ }
+
+ printf("[%d words, %d references]\n", fieldtable[k].number, count);
+ }
+}
+
+
+/* ============================= INPUT ============================= *\
+
+ I'd like this to work with more than just the CG bib, so I can't
+ assume very much about the input. In particular, all white space
+ (blanks, tabs, and newlines) is identical most of the time. On the
+ other hand, it would be nice to include any "comments" that
+ obviously go with an entry as part of that entry. Consequently, two
+ newlines in a row (possibly separated by other white space) is
+ considered a break between entries. This will give us bogus entries
+ for stray "comments", but we can take care that easily enough -- an
+ entry is only real if it contains a @ character.
+
+\* ================================================================= */
+
+/* ----------------------------------------------------------------- *\
+| unsigned long FindNextEntry(FILE *ifp)
+|
+| Return the file offset to the next entry in the bib file. On exit,
+| the file pointer is left at the first comma. Entries containing no
+| commas, such as @string, are skipped. The entry begins after the
+| most recent blank line, the end of the last entry, or the beginning
+| of the file. Returns "-1" if there is no next entry.
+\* ----------------------------------------------------------------- */
+unsigned long FindNextEntry(FILE *ifp)
+{
+ char ch;
+ char blank = 0; /* 1 if current line is blank so far */
+ char braces = 0;
+ char quotes = 0;
+ unsigned long offset;
+
+ offset = ftell(ifp);
+ ch = getc(ifp);
+ if (ch == '\n')
+ line_number++;
+
+ while (1)
+ {
+ if (feof(ifp))
+ return (unsigned long) -1;
+
+ if (ch == '@') /* got a potential entry */
+ {
+ initial_line_number = line_number; /* record start of entry */
+ blank = 0;
+ while ((ch != '{') && (ch != '('))
+ ch = safegetc(ifp, "FindNextEntry 1"); /* EOF is an */
+ /* error here */
+ quotes = 0;
+ braces = 0;
+ ch = safegetc(ifp, "FindNextEntry 2");
+
+ while (quotes || braces ||
+ ((ch != ',') && (ch != '}') && (ch != ')')))
+ {
+ if (ch == '{')
+ braces++;
+ else if (ch == '}')
+ braces--;
+ else if ((ch == '"') && !braces)
+ quotes = !quotes;
+
+ ch = safegetc(ifp, "FindNextEntry 3");
+ }
+ if (ch == ',')
+ {
+ ungetc(ch, ifp);
+ return offset;
+ }
+ else
+ offset = ftell(ifp);
+ }
+ else if (ch == '\n')
+ {
+ if (blank)
+ offset = ftell(ifp);
+ blank = 1;
+ }
+ else if (!isspace(ch))
+ blank = 0;
+ ch = getc(ifp);
+ if (ch == '\n')
+ line_number++;
+ }
+}
+
+/* ----------------------------------------------------------------- *\
+| int GetNextWord(FILE *ifp, char *word)
+|
+| Get the next word in the current field. A word is any contiguous
+| set of letters and numbers, AFTER the following steps:
+| 1. Letters are folded to lower case. Thus, "Voronoi" is
+| returned as "voronoi"
+| 2. All TeX commands, except those in math expressions, are
+| removed, but their arguments are left behind. Thus,
+| "Erd{\H o}ss" is returned as "erdos".
+| 3. All other non-word characters are removed. Non-word
+| characters inside {{possibly} nested} braces or dollar
+| signs do not delimit words, so they may cause unexpected
+| results. Thus, "{this example}" is returned as
+| "thisexample".
+| 4. TeX commands in math expressions are considered normal
+| text. Thus, "$O(n\log^2 n)$" is returned as "onlog2n"
+| instead of "onn". This occasionally gives unexpected or
+| unreadable results. For example, "$\bigcup_1^n[a_i,b_i]$"
+| is returned as "bigcup1naibi".
+| 5. Apostrophes do not delimit words. Thus, "didn't" is
+| returned as "didnt", and "{\'O}'D{\'u}nlaing" is returned
+| as "odunlaing".
+|
+| Returns 1 if a word was actually found, 0 otherwise.
+|
+| The file pointer is left at the character immediately following the
+| word. The input is assumed to be syntactically correct: unbalanced
+| braces, math delimiters, and quotation marks will cause errors.
+\* ----------------------------------------------------------------- */
+int GetNextWord(FILE *ifp, char *word)
+{
+ char braces = 0; /* levels of indented braces */
+ char math = 0; /* 1 if in math expression */
+ char inword = 0; /* 1 if word has started */
+ char incmd = 0; /* 1 if reading TeX command */
+ char done = 0; /* 1 if word is complete */
+ char ch = ' ';
+ int nchars = 0; /* how many characters stored in word */
+
+ while (!done)
+ {
+ ch = safegetc(ifp, "GetNextWord 1");
+
+ if (isalpha(ch)) /* letters */
+ {
+ if (!incmd) /* may be part of TeX command */
+ {
+ inword = 1;
+ if (++nchars <= MAXWORD) /* ignore overflow in word buffer */
+ *word++ = tolower(ch);
+ }
+ }
+ else if (isdigit(ch))
+ {
+ incmd = 0;
+ inword = 1;
+ if (++nchars <= MAXWORD) /* ignore overflow in word buffer */
+ *word++ = ch;
+ }
+ else if (ch == '\'') /* ignore apostrophes entirely */
+ incmd = 0;
+ else if (ch == '\\') /* beginning of TeX command */
+ {
+ if (!math) /* if math, pretend it's text */
+ {
+ ch = safegetc(ifp, "GetNextWord 2");
+ if (isalpha(ch))
+ incmd = 1;
+ }
+ }
+ else if (ch == '{') /* left brace */
+ {
+ incmd = 0;
+ braces++;
+ }
+ else if (ch == '}') /* right brace */
+ {
+ incmd = 0;
+ if (!braces)
+ {
+ ungetc(ch, ifp);
+ done = 1;
+ }
+ else
+ braces--;
+ }
+ else if (ch == '"') /* double quote */
+ {
+ incmd = 0;
+ if (!braces)
+ {
+ ungetc(ch, ifp);
+ done = 1;
+ }
+ }
+ else if (ch == '$') /* math */
+ {
+ incmd = 0;
+ math = !math;
+ if (math) /* treat $s as braces */
+ braces++;
+ else
+ braces--;
+ }
+ else if (incmd) /* other characters */
+ incmd = 0;
+ else if (inword && !braces)
+ done = 1;
+ }
+
+ *word = 0;
+ return inword;
+}
+
+const char *badwords[] = BADWORDS;
+
+/* ----------------------------------------------------------------- *\
+| void MungeField(FILE *ifp, ExHashTable *htable, Index_t entry)
+|
+| Munge the current field. Dump all words into the given hash table,
+| with the given entry number. On exit, the file pointer is on the
+| comma or closing character for the entry.
+\* ----------------------------------------------------------------- */
+void MungeField(FILE *ifp, ExHashTable *htable, Index_t entry)
+{
+ int i;
+ char ch, bad;
+ char nextword[MAXWORD+1];
+
+ ch = safegetc(ifp, "MungeField");
+ while (isspace(ch))
+ ch = safegetc(ifp, "MungeField");
+
+ if (ch != '=')
+ die("= expected in bibliography field", htable->thefield);
+
+ ch = safegetc(ifp, "MungeField");
+ while (isspace(ch))
+ ch = safegetc(ifp, "MungeField");
+
+ if (ch != '{' && ch != '"') /* handle abbreviations */
+ {
+ for (i=0; !strchr(NONABBREV, ch); i++)
+ {
+ if (i >= MAXWORD)
+ die("word buffer overflow", htable->thefield);
+ nextword[i] = tolower(ch);
+ ch = safegetc(ifp, "MungeField");
+ }
+ nextword[i] = 0;
+ nextword[MAXWORD] = 0;
+ InsertEntry(htable, nextword, entry);
+ }
+ else
+ {
+ while (GetNextWord(ifp, nextword))
+ {
+ if (nextword[1] == 0) /* ignore single letters */
+ continue;
+ for (bad=0, i=0; !bad && badwords[i]; i++)
+ if (!strcmp(nextword, badwords[i]))
+ bad = 1;
+ if (!bad)
+ {
+ nextword[MAXWORD] = 0; /* truncate to fit */
+ InsertEntry(htable, nextword, entry);
+ }
+ }
+ ch = safegetc(ifp, "MungeField"); /* close quote/brace */
+ ch = safegetc(ifp, "MungeField"); /* comma (maybe) */
+ }
+
+ while (isspace(ch))
+ ch = safegetc(ifp, "MungeField");
+ ungetc(ch, ifp); /* comma or close paren/brace */
+}
+
+/* ----------------------------------------------------------------- *\
+| int iskeychar(char c,int first_char)
+|
+| Return 1 if c is a valid keyword character, and 0 otherwise.
+| The rules are different for the first character, so first_char
+| must be set non-zero to select that case.
+|
+| The code in bibtex.web in the section on character set dependencies
+| creates a character classification array, id_class[], which permits
+| the following characters (verified by experiment too) in field
+| names:
+|
+| A-Z a-z 0-9
+| ! $ & + - . / : ; < > ? @ [ \ ] ^ _ ` | ~ <DELete>
+|
+\* ----------------------------------------------------------------- */
+
+int iskeychar(char c,int first_char)
+{
+ if (first_char)
+ return (isalpha(c) ? 1 : 0);
+ else if (isalpha(c) || isdigit(c))
+ return (1);
+ else if (strchr("!$&+-./:;<>?@[\\]^_`|~\177",(int)c) != (char*)NULL)
+ return (1);
+ else
+ return (0);
+}
+
+/* ----------------------------------------------------------------- *\
+| void MungeEntry(FILE *ifp, Index_t entry)
+|
+| Wander through the entry, extracting words and depositing them in
+| the appropriate hash tables.
+\* ----------------------------------------------------------------- */
+void MungeEntry(FILE *ifp, Index_t entry)
+{
+ register char ch;
+ Word thefield;
+ short i;
+
+ ch = safegetc(ifp, "MungeEntry");
+ while (ch == ',')
+ {
+ ch = safegetc(ifp, "MungeEntry");
+ while (isspace(ch))
+ ch = safegetc(ifp, "MungeEntry");
+
+ if ((ch == '}') || (ch == ')')) /* allow trailing comma after */
+ return; /* last key = "value" entry */
+
+ if (!isalpha(ch))
+ {
+ char msg[2];
+ msg[0] = ch;
+ msg[1] = 0;
+ die("Nonalpha character in field descriptor:", msg);
+ }
+
+ for (i=0; iskeychar(ch,i==0); i++)
+ {
+ if (i >= MAXWORD)
+ {
+ thefield[i] = 0;
+ die("field name buffer overflow", thefield);
+ }
+ thefield[i] = tolower(ch);
+ ch = safegetc(ifp, "MungeEntry");
+ }
+ ungetc(ch, ifp); /* put back lookahead char */
+ thefield[i] = 0;
+
+ MungeField(ifp, GetHashTable(thefield), entry);
+
+ ch = safegetc(ifp, "MungeEntry");
+ }
+}
+
+
+/* ============================= OUTPUT ============================ */
+
+/* ----------------------------------------------------------------- *\
+| IndexBibFile(FILE *ifp, FILE *ofp, char *filename)
+|
+| Index a bibtex file. Input comes from ifp; output goes to ofp.
+| Filename is the name of the bibliography, with no prefix.
+\* ----------------------------------------------------------------- */
+void
+IndexBibFile(FILE *ifp, FILE *ofp, char *filename)
+{
+ Index_t count=0;
+ long curoffset;
+ long *offsets;
+ long *oldoff;
+ Index_t offsize;
+ time_t now = time(0);
+
+ printf("Indexing %s.bib...", filename);
+ fflush(stdout);
+
+ offsize = 128; /* MINIMUM OFFSET LIST SIZE */
+ offsets = (long *) malloc(offsize * sizeof(long));
+
+ while (!feof(ifp))
+ {
+ curoffset = FindNextEntry(ifp);
+ if (curoffset == (unsigned long) -1)
+ break;
+
+ offsets[count] = curoffset;
+ MungeEntry(ifp, count++);
+
+ if (count == offsize) /* expand full offset array */
+ {
+ oldoff = offsets;
+ offsize *= 2;
+ offsets = (long *) malloc(offsize * sizeof(long));
+ bcopy(oldoff, offsets, count * sizeof(long));
+ free(oldoff);
+ }
+
+ if (!(count % 500)) /* feedback */
+ {
+ printf("%d...", count);
+ fflush(stdout);
+ }
+ }
+
+ printf("done.\n");
+
+ fprintf(ofp, "bibindex %d %d %d %s", FILE_VERSION, MAJOR_VERSION,
+ MINOR_VERSION, ctime(&now));
+
+ printf("Writing file offsets...");
+ fflush(stdout);
+ fwrite((void *) &count, sizeof(Index_t), 1, ofp);
+ fwrite((void *) offsets, sizeof(long), count, ofp);
+ free(offsets);
+ printf("[%d entries]\n", count);
+
+ OutputTables(ofp);
+
+ printf("All done!\n");
+}
+
+/* ----------------------------------------------------------------- *\
+| The main program
+\* ----------------------------------------------------------------- */
+
+int main(int argc, char **argv)
+{
+ FILE *ifp;
+ FILE *ofp;
+ char infile[256];
+ char outfile[256];
+ char *p;
+ int i;
+
+#if DEBUG_MALLOC
+ malloc_debug(2);
+#endif /* DEBUG_MALLOC */
+
+ if (argc < 2)
+ die("Usage: bibindex bib [-i field...]", "");
+
+ if (((p = strrchr(argv[1],'.')) != (char*)NULL) &&
+ (strcmp(p, ".bib") == 0))
+ *p = '\0'; /* remove any .bib extension */
+
+ sprintf(infile, "%s.bib", argv[1]);
+ sprintf(outfile, "%s.bix", argv[1]);
+
+ ifp = fopen(infile, "r");
+ if (!ifp)
+ die("Can't read", infile);
+
+ ofp = fopen(outfile, "w");
+ if (!ofp)
+ die("Can't write", outfile);
+
+ InitTables();
+
+ if ((argc > 2) && (!strcmp(argv[2], "-i")))
+ for (i=3; i<argc; i++)
+ InitBlackHole(argv[i]);
+
+ IndexBibFile(ifp, ofp, argv[1]);
+
+ FreeTables();
+ fclose(ifp);
+ fclose(ofp);
+
+ exit(0); /* Argh! */
+ return (0); /* keep compilers happy */
+}
diff --git a/biblio/bibtex/utils/bibindex/bibindex.man b/biblio/bibtex/utils/bibindex/bibindex.man
new file mode 100644
index 0000000000..6993a45c50
--- /dev/null
+++ b/biblio/bibtex/utils/bibindex/bibindex.man
@@ -0,0 +1,112 @@
+.\" ====================================================================
+.\" @Troff-man-file{
+.\" author = "Nelson H. F. Beebe",
+.\" version = "1.02",
+.\" date = "03 October 1992",
+.\" time = "14:49:29 MDT",
+.\" filename = "bibindex.man",
+.\" address = "Center for Scientific Computing
+.\" Department of Mathematics
+.\" University of Utah
+.\" Salt Lake City, UT 84112
+.\" USA
+.\" Tel: +1 801 581 5254
+.\" FAX: +1 801 581 4148",
+.\" checksum = "39992 112 591 4491",
+.\" email = "beebe@math.utah.edu (Internet)",
+.\" codetable = "ISO/ASCII",
+.\" keywords = "bibliography, BibTeX",
+.\" supported = "yes",
+.\" docstring = "This file is the UNIX nroff/troff manual page
+.\" documentation for bibindex, a BibTeX bibliography
+.\" indexing program.
+.\"
+.\" The checksum field above contains a CRC-16
+.\" checksum as the first value, followed by the
+.\" equivalent of the standard UNIX wc (word
+.\" count) utility output of lines, words, and
+.\" characters. This is produced by Robert
+.\" Solovay's checksum utility.",
+.\" }
+.\" ====================================================================
+.if t .ds Bi B\s-2IB\s+2T\\h'-0.1667m'\\v'0.20v'E\\v'-0.20v'\\h'-0.125m'X
+.if n .ds Bi BibTeX
+.if t .ds Te T\\h'-0.1667m'\\v'0.20v'E\\v'-0.20v'\\h'-0.125m'X
+.if n .ds Te TeX
+.TH BIBINDEX 1 "03 October 1992" "Version 2.2"
+.SH NAME
+bibindex \- create a bibliography index file for \fBbiblook\fP(1)
+.SH SYNOPSIS
+.B "bibindex \fIbasename\fP [[\-i] word] [[\-i] word] .\|.\|.
+.SH DESCRIPTION
+.I bibindex
+creates a compact binary index file from a \*(Bi\& bibliography file
+to permit fast lookup by \fIbiblook\fP(1). The \fIbasename\fP
+argument can optionally omit the \fI.bib\fP extension. The output
+index file will be named with the same basename, and extension
+\fI.bix\fP.
+.PP
+For indexing purposes, a word is any contiguous set of letters and
+numbers, \fIafter\fP the following steps:
+.RS
+.TP \w'1.'u+2n
+1.
+Letters are folded to lower case. Thus, "Voronoi" is
+returned as "voronoi"
+.TP
+2.
+All \*(Te\& commands, except those in math expressions, are
+removed, but their arguments are left behind. Thus,
+"Erd{\\H o}ss" is returned as "erdos".
+.TP
+3.
+All other non-word characters are removed. Non-word
+characters inside {{possibly} nested} braces or dollar
+signs do not delimit words, so they may cause unexpected
+results. Thus, "{this example}" is returned as
+"thisexample".
+.TP
+4.
+\*(Te\& commands in math expressions are considered normal
+text. Thus, "$O(n\\log^2 n)$" is returned as "onlog2n"
+instead of "onn". This occasionally gives unexpected or
+unreadable results. For example, "$\\bigcup_1^n[a_i,b_i]$"
+is returned as "bigcup1naibi".
+.TP
+5.
+Apostrophes do not delimit words. Thus, "didn't" is
+returned as "didnt", and "{\\'O}'D{\\'u}nlaing" is returned
+as "odunlaing".
+.RE
+.PP
+\fIbibindex\fP examines the contents of all value strings, and expects
+them to be well-formed \*(Te\& input. In particular, braces and
+dollar signs should be balanced.
+.PP
+Errors detected result in a message giving the line number of the
+\*(Bi\& entry in which the error was detected, and the line number at
+the point of the error. Unbalanced braces or dollar signs can result
+in large differences between these line numbers; in such a case, the
+error is somewhere in the entry indicated by the first line number.
+.SH OPTIONS
+.TP \w'\-i'u+2n
+.B \-i \fIkeyword\fP
+Add \fIkeyword\fP to the list of \*(Bi\& keywords that are to be
+ignored, along with their string values, in preparing the index. By
+default, all \fIkeyword = "value"\fP pairs are indexed. Any number
+of \fB\-i\fP switches and keywords may be specified.
+.SH "SEE ALSO"
+bibclean(1), biblook(1), bibtex(1), latex(1), tex(1)
+.SH AUTHOR
+.nf
+Jeff Erickson
+Computer Science Division
+University of California
+Berkeley, CA 94720
+USA
+Email: <jeff@cs.berkeley.edu>, <jeffe@melody.berkeley.edu>
+.fi
+.PP
+This program is in the public domain. You may use it or modify it to
+your heart's content, at your own risk.
+.\" =======================[End of bibindex.man]========================
diff --git a/biblio/bibtex/utils/bibindex/bibindex.txt b/biblio/bibtex/utils/bibindex/bibindex.txt
new file mode 100644
index 0000000000..ea32c5d5db
--- /dev/null
+++ b/biblio/bibtex/utils/bibindex/bibindex.txt
@@ -0,0 +1,132 @@
+
+
+
+BIBINDEX(1) User Commands BIBINDEX(1)
+
+
+
+NAME
+ bibindex - create a bibliography index file for biblook(1)
+
+SYNOPSIS
+ bibindex basename [[-i] word] [[-i] word] ...
+
+DESCRIPTION
+ bibindex creates a compact binary index file from a BibTeX
+ bibliography file to permit fast lookup by biblook(1). The
+ basename argument can optionally omit the .bib extension.
+ The output index file will be named with the same basename,
+ and extension
+
+ For indexing purposes, a word is any contiguous set of
+ letters and numbers, after the following steps:
+
+ 1. Letters are folded to lower case. Thus, "Voronoi"
+ is returned as "voronoi"
+
+ 2. All TeX commands, except those in math expressions,
+ are removed, but their arguments are left behind.
+ Thus, "Erd{\H o}ss" is returned as "erdos".
+
+ 3. All other non-word characters are removed. Non-
+ word characters inside {{possibly} nested} braces
+ or dollar signs do not delimit words, so they may
+ cause unexpected results. Thus, "{this example}"
+ is returned as "thisexample".
+
+ 4. TeX commands in math expressions are considered
+ normal text. Thus, "$O(n\log^2 n)$" is returned as
+ "onlog2n" instead of "onn". This occasionally
+ gives unexpected or unreadable results. For exam-
+ ple, "$\bigcup_1^n[a_i,b_i]$" is returned as
+ "bigcup1naibi".
+
+ 5. Apostrophes do not delimit words. Thus, "didn't"
+ is returned as "didnt", and "{\'O}'D{\'u}nlaing" is
+ returned as "odunlaing".
+
+ bibindex examines the contents of all value strings, and
+ expects them to be well-formed TeX input. In particular,
+ braces and dollar signs should be balanced.
+
+ Errors detected result in a message giving the line number
+ of the BibTeX entry in which the error was detected, and the
+ line number at the point of the error. Unbalanced braces or
+ dollar signs can result in large differences between these
+ line numbers; in such a case, the error is somewhere in the
+ entry indicated by the first line number.
+
+
+
+
+
+Version 2.2 Last change: 03 October 1992 1
+
+
+
+
+
+
+BIBINDEX(1) User Commands BIBINDEX(1)
+
+
+
+OPTIONS
+ -i keyword
+ Add keyword to the list of BibTeX keywords that are to
+ be ignored, along with their string values, in preparing
+ the index. By default, all keyword = "value" pairs are
+ indexed. Any number of -i switches and keywords may be
+ specified.
+
+SEE ALSO
+ bibclean(1), biblook(1), bibtex(1), latex(1), tex(1)
+
+AUTHOR
+ Jeff Erickson
+ Computer Science Division
+ University of California
+ Berkeley, CA 94720
+ USA
+ Email: <jeff@cs.berkeley.edu>, <jeffe@melody.berkeley.edu>
+
+ This program is in the public domain. You may use it or
+ modify it to your heart's content, at your own risk.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Version 2.2 Last change: 03 October 1992 2
+
+
+
diff --git a/biblio/bibtex/utils/bibindex/biblook.c b/biblio/bibtex/utils/bibindex/biblook.c
new file mode 100644
index 0000000000..3f7ae6ac14
--- /dev/null
+++ b/biblio/bibtex/utils/bibindex/biblook.c
@@ -0,0 +1,1245 @@
+/* ================================================================= *\
+
+ biblook -- look up references in a bibindexed BibTeX file
+
+ This program was specifically developed for use with the
+ computational geometry bibliographic database. The database
+ can be obtained by anonymous ftp from cs.usask.ca in the file
+ `pub/geometry/geombib.tar.Z'.
+
+ Version 1.0 written by Jeff Erickson <jeff@ics.uci.edu>, 27 Mar 92
+ Version 2.0 written by Jeff Erickson <jeff@ics.uci.edu>, 17 Jun 92
+
+ This program is in the public domain. You may use it or modify
+ it to your heart's content, at your own risk. Bouquets, brickbats,
+ and bug fixes may be sent to Jeff Erickson, jeffe@cs.berkeley.edu.
+
+ %Make% gcc -O -o biblook biblook.c
+
+ Usage: biblook bibfile [savefile]
+
+ -----------------------------------------------------------------
+
+ HOW IT WORKS:
+
+ The user can enter any of the following commands:
+
+ f[ind] [not] <field> <words>
+ Find the entries containing the given words in any field
+ with a prefix matching the <field> argument. For example,
+ `a' matches both `author' and `address', and `au' matches
+ `author' only. If the <field> argument is `-' (or any
+ string with no letters or numbers), match any field.
+
+ If `not' appears before the <field>, the sense of the search
+ is reversed. The symbols `~' and `!' can be used in place
+ of `not'.
+
+ Each word is a contiguous sequence of letters and digits.
+ Case is ignored; accents should be omitted; apostrophes are
+ not required. Single characters and a few common words are
+ also ignored. Any word ending with an asterisk is treated
+ as a prefix. Thus, `point*' matches `point', `points',
+ `pointer', etc.
+
+ and [not] <field> <words>
+ or [not] <field> <words>
+ Intersect (resp. union) the results of the given search
+ with the previous search. Several of these commands may be
+ combined on a single line. Commands are handled in the order
+ in which they appear; there is no precedence. Unlike other
+ commands, and like `not', these must be spelled out
+ completely. `&' can be used in place of `and', and `|' can
+ be used in place of `or'.
+
+ d[isplay]
+ Display the results of the previous search.
+
+ s[ave] [<filename>]
+ Save the results of the previous results into the specified
+ file. If <filename> is omitted, the previous save file is
+ used. If no save file has ever been specified, results are
+ saved in the file specified on the command line. If no such
+ file is specified, `save.bib' is used. If the save file
+ exists, results are appended to it.
+
+ q[uit]/EOF
+ Quit.
+
+ Several commands can be combined on a single line by separating
+ them with semicolons. For example, the following command displays
+ all STOC papers cowritten by Erdo"s without `Voronoi diagrams' in
+ the title:
+
+ f b stoc* | b symp* theory comp* & au erdos & ~t voronoi diagrams ; d
+
+ -----------------------------------------------------------------
+ Version history
+
+ 1.0 <jge> 3/29/92 Initial version complete
+ 1.1 <jge> 4/3/92 Fixed GetToken bug.
+ Prompts and feedback messages sent to stderr
+ instead of stdout, so results can be
+ redirected to a file.
+
+ 2.0 <jge> 6/17/92 Major change in file format and commands.
+ 1. Allow searching on any field or all fields.
+ 2. More extensive boolean queries (and, or, not)
+ 3. New command to save results to a file
+ 4. New command to display results, rather than displaying
+ them automatically.
+ 5. Allow searching for prefixes
+ 6. Pipe display results through $PAGER or /usr/ucb/more
+ 2.1 <jge> 7/8/92 Minor bug fixes.
+ 2.3 Bill Jones <jones@cs.usask.ca> 93/01/29
+ 1. Declarations common to bibindex.c and biblook.c factored out
+ to new file biblook.h.
+ 2. Index type of (signed) short overflows early; created typedef
+ Index_t, defined as unsigned short.
+ 2.4 Nelson H. F. Beebe <beebe@math.utah.edu> [01-Jun-1993]
+ 1. Remove some mixed-mode arithmetic.
+ 2. Add cast to return value of fork().
+ 3. Correct use and type of numoffsets so that code works
+ if Index_t is "unsigned int" or "unsigned long".
+
+\* ================================================================= */
+
+
+#include "biblook.h"
+
+/* ======================= UTILITY FUNCTIONS ======================= */
+
+/* ----------------------------------------------------------------- *\
+| void die(const char *msg1, const char *msg2) -- print an error message and die
+\* ----------------------------------------------------------------- */
+void die(const char *msg1, const char *msg2)
+{
+ fprintf(stderr, "Error: %s %s\n", msg1, msg2);
+ exit(1);
+}
+
+/* ----------------------------------------------------------------- *\
+| void safefread(void *ptr, size_t size, size_t num, FILE *fp)
+|
+| Read from the file, but die if there's an error.
+\* ----------------------------------------------------------------- */
+void safefread(void *ptr, size_t size, size_t num, FILE *fp)
+{
+ if (fread(ptr, size, num, fp) < num)
+ die("Unexpected EOF in bix file.", "");
+}
+
+/* ----------------------------------------------------------------- *\
+| char safegetc(FILE *fp)
+|
+| Get the next character safely. Used by routines that assume that
+| they won't run into the end of file.
+\* ----------------------------------------------------------------- */
+char safegetc(FILE *fp)
+{
+ if (feof(fp))
+ die("Unexpected EOF in bib file.", "");
+ return getc(fp);
+}
+
+
+/* ========================== INDEX TABLES ========================= */
+
+typedef struct
+{
+ Word theword;
+ Index_t numindex;
+ Index_t *index;
+} Index, *IndexPtr;
+
+typedef struct
+{
+ Word thefield;
+ Index_t numwords;
+ IndexPtr words;
+} IndexTable;
+
+char numfields;
+IndexTable *fieldtable;
+
+Index_t numoffsets;
+long *offsets;
+
+/* ----------------------------------------------------------------- *\
+| void ReadWord(FILE *ifp, Word word)
+|
+| Read a "pascal" string into the given buffer
+\* ----------------------------------------------------------------- */
+void ReadWord(FILE *ifp, Word word)
+{
+ char length;
+
+ safefread((void *) &length, sizeof(char), 1, ifp);
+ if (length > MAXWORD)
+ die("Index file is corrupt", "(word too long).");
+
+ safefread((void *) word, sizeof(char), length, ifp);
+ word[length] = 0;
+}
+
+/* ----------------------------------------------------------------- *\
+| void GetOneTable(FILE *ifp, IndexTable *table)
+|
+| Get one index table from the file
+\* ----------------------------------------------------------------- */
+void GetOneTable(FILE *ifp, register IndexTable *table)
+{
+ Index_t i, num;
+
+ safefread((void *) &table->numwords, sizeof(Index_t), 1, ifp);
+ table->words = (IndexPtr) malloc(table->numwords * sizeof(Index));
+
+ for (i=0; i<table->numwords; i++)
+ {
+ ReadWord(ifp, table->words[i].theword);
+ safefread((void *) &num, sizeof(Index_t), 1, ifp);
+ table->words[i].numindex = num;
+ table->words[i].index = (Index_t *) malloc(num * sizeof(Index_t));
+ safefread((void *) table->words[i].index, sizeof(Index_t), num,
+ ifp);
+ }
+}
+
+/* ----------------------------------------------------------------- *\
+| void GetTables(char *filename)
+|
+| Get the tables from the index file.
+\* ----------------------------------------------------------------- */
+void GetTables(char *filename)
+{
+ int version, i;
+ FILE *ifp;
+
+ ifp = fopen(filename, "r");
+ if (!ifp)
+ die("Can't read", filename);
+ if (fscanf(ifp, "bibindex %d %*[^\n]%*c", &version) < 1)
+ die(filename, "is not a bibindex file!");
+ if (version != FILE_VERSION)
+ die(filename, "is the wrong version. Please rerun bibindex.");
+
+ safefread((void *) &numoffsets, sizeof(Index_t), 1, ifp);
+ offsets = (long *) malloc(numoffsets * sizeof(long));
+ safefread((void *) offsets, sizeof(long), numoffsets, ifp);
+
+ safefread((void *) &numfields, sizeof(char), 1, ifp);
+ fieldtable = (IndexTable *) malloc(numfields * sizeof(IndexTable));
+
+ for (i=0; i<numfields; i++)
+ ReadWord(ifp, fieldtable[i].thefield);
+
+ for (i=0; i<numfields; i++)
+ GetOneTable(ifp, fieldtable+i);
+
+ fclose(ifp);
+}
+
+/* ----------------------------------------------------------------- *\
+| void FreeTables(void)
+|
+| Free the index tables.
+\* ----------------------------------------------------------------- */
+void FreeTables(VOID)
+{
+ register int i;
+ register Index_t j;
+
+ for (i=0; i<numfields; i++)
+ {
+ for (j=0; j<fieldtable[i].numwords; j++)
+ free(fieldtable[i].words[j].index);
+ free(fieldtable[i].words);
+ }
+ free(fieldtable);
+ free(offsets);
+}
+
+
+/* ----------------------------------------------------------------- *\
+| Index_t FindIndex(IndexTable table, char *word, char prefix)
+|
+| Find the index of a word in a table. Return INDEX_NAN if the word isn't
+| there. If prefix is true, return the index of the first matching
+| word.
+\* ----------------------------------------------------------------- */
+Index_t FindIndex(IndexTable table, char *word, char prefix)
+{
+ register IndexPtr words = table.words;
+ register int hi, lo, mid; /* must be signed */
+ register int cmp;
+
+ hi = table.numwords-1;
+ lo = 0;
+
+ while (hi>=lo)
+ {
+ mid = (hi+lo)/2;
+ cmp = strcmp(word, words[mid].theword);
+
+ if (cmp == 0)
+ return mid;
+ else if (cmp < 0)
+ hi = mid-1;
+ else if (cmp > 0)
+ lo = mid+1;
+ }
+
+ if (prefix && !strncmp(word, words[lo].theword, strlen(word)))
+ return lo;
+ else
+ return INDEX_NAN;
+}
+
+
+/* =================== SET MANIPULATION ROUTINES =================== */
+
+#define SETSCALE (sizeof(unsigned long)*8)
+
+static Index_t setsize;
+static unsigned long setmask; /* used to erase extra bits */
+typedef unsigned long *Set;
+
+/* ----------------------------------------------------------------- *\
+| Set NewSet(void)
+|
+| Get a new variable to hold sets of integers in the range
+| [0, numoffsets]. Set setsize and setmask.
+\* ----------------------------------------------------------------- */
+Set NewSet(VOID)
+{
+ setsize = (numoffsets + SETSCALE - 1)/SETSCALE; /* HACK */
+ setmask = (1<<(numoffsets%SETSCALE)) - 1; /* KLUDGE */
+
+ return (Set) malloc(setsize * SETSCALE);
+}
+
+/* ----------------------------------------------------------------- *\
+| void EmptySet(Set theset)
+|
+| Empty the set.
+\* ----------------------------------------------------------------- */
+void EmptySet(Set theset)
+{
+ register Index_t i;
+ for (i=0; i<setsize; i++)
+ theset[i] = 0L;
+}
+
+/* ----------------------------------------------------------------- *\
+| void SetUnion(Set src1, Set src2, Set result)
+|
+| Get the union of two sets
+\* ----------------------------------------------------------------- */
+void SetUnion(Set src1, Set src2, Set result)
+{
+ register Index_t i;
+ for (i=0; i<setsize; i++)
+ result[i] = src1[i] | src2[i];
+}
+
+/* ----------------------------------------------------------------- *\
+| void SetInsersection(Set src1, Set src2, Set result)
+|
+| Get the intersection of two sets
+\* ----------------------------------------------------------------- */
+void SetIntersection(Set src1, Set src2, Set result)
+{
+ register Index_t i;
+ for (i=0; i<setsize; i++)
+ result[i] = src1[i] & src2[i];
+}
+
+/* ----------------------------------------------------------------- *\
+| void SetComplement(Set src, Set result)
+|
+| Get the complement of a set
+\* ----------------------------------------------------------------- */
+void SetComplement(Set src, Set result)
+{
+ register Index_t i;
+ for (i=0; i<setsize; i++)
+ result[i] = ~src[i];
+ result[setsize-1] &= setmask; /* clear those last few bits */
+}
+
+/* ----------------------------------------------------------------- *\
+| void CopySet(Set src, Set result)
+|
+| Copy one set into another
+\* ----------------------------------------------------------------- */
+void CopySet(Set src, Set result)
+{
+ register Index_t i;
+ for (i=0; i<setsize; i++)
+ result[i] = src[i];
+}
+
+
+/* ----------------------------------------------------------------- *\
+| int CountSet(Set theset)
+|
+| Get the cardinality of the set
+\* ----------------------------------------------------------------- */
+int CountSet(Set theset)
+{
+ register unsigned i, j, count;
+
+ count = 0;
+ for (i=0; i<(unsigned)setsize; i++)
+ for (j=0; j<(unsigned)SETSCALE; j++)
+ if (theset[i] & (1<<j))
+ count++;
+
+ return count;
+}
+
+/* ----------------------------------------------------------------- *\
+| void BuildSet(Set theset, Index_t *thelist, Index_t length)
+|
+| Build a set out of a list of integers
+\* ----------------------------------------------------------------- */
+void BuildSet(Set theset, Index_t *thelist, Index_t length)
+{
+ register unsigned i;
+
+ EmptySet(theset);
+ for (i=0; i<(unsigned)length; i++)
+ theset[thelist[i]/SETSCALE] |= 1 << (thelist[i] % SETSCALE);
+}
+
+/* ----------------------------------------------------------------- *\
+| void DoForSet(Set theset, void (*action)(int, void *), void *arg)
+|
+| Do something to every element in a set
+\* ----------------------------------------------------------------- */
+void DoForSet(Set theset, void (*action)(int, void *), void *arg)
+{
+ register unsigned i, j;
+
+ for (i=0; i<(unsigned)setsize; i++)
+ for (j=0; j<(unsigned)SETSCALE; j++)
+ if (theset[i] & (1<<j))
+ (*action)(SETSCALE*i + j, arg);
+}
+
+
+/* ======================== SEARCH ROUTINES ======================== */
+
+Set results, oldresults, oneword, onefield;
+short firstfield, lastfield; /* indices into fieldtable */
+
+/* ----------------------------------------------------------------- *\
+| void InitSearch(void)
+|
+| Initialize the search lists
+\* ----------------------------------------------------------------- */
+void InitSearch(VOID)
+{
+ results = NewSet();
+ oldresults = NewSet();
+ oneword = NewSet();
+ onefield = NewSet();
+ firstfield = lastfield = -1;
+}
+
+/* ----------------------------------------------------------------- *\
+| void FreeSearch(void)
+|
+| Free the search list
+\* ----------------------------------------------------------------- */
+void FreeSearch(VOID)
+{
+ free(results);
+ free(oldresults);
+ free(oneword);
+ free(onefield);
+}
+
+/* ----------------------------------------------------------------- *\
+| void ClearResults(void)
+|
+| Clear the current and old results
+\* ----------------------------------------------------------------- */
+void ClearResults(VOID)
+{
+ EmptySet(results);
+ SetComplement(results, results);
+ CopySet(results, oldresults);
+}
+
+/* ----------------------------------------------------------------- *\
+| void SaveResults(void)
+|
+| Save and clear the current results
+\* ----------------------------------------------------------------- */
+void SaveResults(VOID)
+{
+ CopySet(results, oldresults);
+ EmptySet(results);
+ SetComplement(results, results);
+}
+
+/* ----------------------------------------------------------------- *\
+| void CombineResults(char invert, char intersect)
+|
+| Combine current results with old results
+\* ----------------------------------------------------------------- */
+void CombineResults(char invert, char intersect)
+{
+ if (invert)
+ SetComplement(results, results);
+ if (intersect)
+ SetIntersection(results, oldresults, results);
+ else
+ SetUnion(results, oldresults, results);
+}
+
+
+/* ----------------------------------------------------------------- *\
+| char SetUpField(char *field)
+|
+| Set up the search fields. Return the number of searchable fields.
+\* ----------------------------------------------------------------- */
+char SetUpField(char *field)
+{
+ int i, len;
+
+ firstfield = -1;
+ len = strlen(field);
+
+ for (i=0; i<numfields; i++)
+ {
+ if (!strncmp(field, fieldtable[i].thefield, len))
+ {
+ if (firstfield == -1)
+ firstfield = i;
+ lastfield = i;
+ }
+ }
+
+ if (firstfield == -1)
+ {
+ printf("\tNo searchable fields matching \"%s\".\n", field);
+ return 0;
+ }
+ else
+ return lastfield - firstfield + 1;
+
+}
+
+const char *badwords[] = BADWORDS;
+
+/* ----------------------------------------------------------------- *\
+| void FindWord(char *word, char prefix)
+|
+| Find a word in the currently active field and update `results'.
+| If the prefix flag is set, find all words having the given prefix.
+\* ----------------------------------------------------------------- */
+void FindWord(register char *word, char prefix)
+{
+ register IndexPtr words;
+ Index_t win, len;
+ int i;
+
+ if (!prefix)
+ {
+ if (!word[0])
+ {
+ printf("\t[ignoring empty string]\n");
+ return;
+ }
+ if (!word[1])
+ {
+ printf("\t[ignoring \"%s\"]\n", word);
+ return;
+ }
+ for (i=0; badwords[i]; i++)
+ {
+ if (!strcmp(badwords[i], word))
+ {
+ printf("\t[ignoring \"%s\"]\n", word);
+ return;
+ }
+ }
+ }
+
+ EmptySet(oneword);
+ len = strlen(word);
+
+ for (i=firstfield; i<=lastfield; i++)
+ {
+ words = fieldtable[i].words;
+ win = FindIndex(fieldtable[i], word, prefix);
+
+ if (win != INDEX_NAN)
+ {
+ if (prefix)
+ {
+ while ((win < fieldtable[i].numwords) &&
+ !strncmp(words[win].theword, word, len))
+ {
+ BuildSet(onefield, words[win].index,
+ words[win].numindex);
+ SetUnion(oneword, onefield, oneword);
+ win++;
+ }
+ }
+ else
+ {
+ BuildSet(onefield, words[win].index,
+ words[win].numindex);
+ SetUnion(oneword, onefield, oneword);
+ }
+ }
+ }
+
+ SetIntersection(oneword, results, results);
+}
+
+
+/* ============================= OUTPUT ============================ */
+FILE *bibfp;
+
+/* ----------------------------------------------------------------- *\
+| void ReportResults(void)
+|
+| Report the results of the previous search.
+\* ----------------------------------------------------------------- */
+void ReportResults(VOID)
+{
+ int numresults;
+
+ numresults = CountSet(results);
+
+ if (numresults == 0)
+ printf("\tNo matches found.\n");
+ else if (numresults == 1)
+ printf("\t1 match found.\n");
+ else
+ printf("\t%d matches found.\n", numresults);
+}
+
+/* ----------------------------------------------------------------- *\
+| void PrintEntry(int entry, FILE *ofp)
+|
+| Print the entry.
+\* ----------------------------------------------------------------- */
+void PrintEntry(int entry, FILE *ofp)
+{
+ char ch;
+ char braces;
+ char quotes;
+
+ if (entry >= (int)numoffsets) /* extra bits might be set */
+ return;
+
+ putc('\n', ofp);
+ if (fseek(bibfp, offsets[entry], 0))
+ die("Index file is corrupt.", "");
+
+ ch = safegetc(bibfp);
+
+ while (ch != '@')
+ {
+ putc(ch, ofp);
+ ch = safegetc(bibfp);
+ }
+ while ((ch != '{') && (ch != '('))
+ {
+ putc(ch, ofp);
+ ch = safegetc(bibfp);
+ }
+
+ braces = quotes = 0;
+
+ putc(ch, ofp);
+ ch = safegetc(bibfp);
+ while (braces || quotes || ((ch != '}') && (ch != ')')))
+ {
+ if (ch == '{')
+ braces++;
+ else if (ch == '}')
+ braces--;
+ else if ((ch == '"') && !braces)
+ quotes = !quotes;
+ putc(ch, ofp);
+ ch = safegetc(bibfp);
+ }
+
+ putc(ch, ofp);
+ putc('\n', ofp);
+}
+
+/* ----------------------------------------------------------------- *\
+| void PrintResults(char *filename)
+|
+| Print the current search results into the given file. If the
+| filename is NULL, pipe the output through $PAGER.
+\* ----------------------------------------------------------------- */
+void PrintResults(char *filename)
+{
+ int numresults;
+ FILE *ofp;
+ char *pager;
+ char *the_tmpfile = (char*)NULL;
+ int childpid;
+
+ numresults = CountSet(results);
+ if (numresults == 0)
+ printf("\tNothing to display!\n");
+ else if (numresults == numoffsets)
+ printf("\tI can't display the entire bibliography!\n");
+ else
+ {
+ if (filename)
+ {
+ ofp = fopen(filename, "a");
+ if (!ofp)
+ {
+ printf("\tCan't write to \"%s\"!\n", filename);
+ return;
+ }
+ }
+ else
+ {
+ the_tmpfile = (char*)tempnam(NULL, "bibl.");
+ ofp = fopen(the_tmpfile, "w");
+ if (!ofp)
+ {
+ printf("\tCan't write to \"%s\"!\n", the_tmpfile);
+ return;
+ }
+ }
+
+ if (filename)
+ {
+ time_t now = time(0);
+ fprintf(ofp, "%% Retrieved by biblook %d.%d at %s",
+ MAJOR_VERSION, MINOR_VERSION, ctime(&now));
+ }
+
+ DoForSet(results, (void (*)(int, void *)) PrintEntry,
+ (void *) ofp);
+
+ fclose(ofp);
+ if (filename)
+ printf("\tResults saved in \"%s\"\n", filename);
+ else
+ {
+ pager = (char*)getenv("PAGER");
+
+ if ((childpid = (int)fork()) != 0)
+ waitpid(childpid, (int *) 0, 0);
+ else if (pager)
+ {
+ execlp(pager, pager, the_tmpfile, (char *) 0);
+ perror(pager); /* should never get here! */
+ exit(0);
+ }
+ else
+ {
+ execl("/usr/ucb/more", "more", the_tmpfile, (char *) 0);
+ perror("/usr/ucb/more");
+ exit(0);
+ }
+
+ unlink(the_tmpfile);
+ free(the_tmpfile); /* malloc'ed by tempnam() */
+ putchar('\n');
+ }
+ }
+}
+
+
+/* ======================== USER INTERFACE ========================= */
+
+typedef enum {
+ T_Find, T_Display, T_Save, T_Quit, T_Word,
+ T_And, T_Or, T_Not, T_Semi, T_Return, T_Help
+} Token;
+
+/* ----------------------------------------------------------------- *\
+| Token GetToken(char *tokenstr)
+|
+| Get the next input token.
+\* ----------------------------------------------------------------- */
+Token GetToken(char *tokenstr)
+{
+ static char line[256];
+ static short pos;
+ static char neednew = 1;
+ short tlen = 0;
+
+ *tokenstr = 0;
+
+ if (neednew)
+ {
+ printf("biblook: ");
+ if (!fgets(line, 254, stdin))
+ return T_Quit;
+
+ pos = 0;
+ neednew = 0;
+ }
+
+ while ((line[pos] == ' ') || (line[pos] == '\t'))
+ pos++;
+
+ switch (line[pos])
+ {
+ case '\n':
+ pos++;
+ neednew = 1;
+ return T_Return;
+
+ case '&':
+ pos++;
+ return T_And;
+
+ case '|':
+ pos++;
+ return T_Or;
+
+ case '~':
+ case '!':
+ pos++;
+ return T_Not;
+
+ case ';':
+ pos++;
+ return T_Semi;
+
+ default:
+ tokenstr[tlen++] = tolower(line[pos++]);
+ while (!isspace(line[pos]) && (line[pos] != ';') &&
+ (line[pos] != '&') && (line[pos] != '|'))
+ {
+ tokenstr[tlen++] = tolower(line[pos++]);
+ }
+ tokenstr[tlen] = 0;
+
+ /* I really ought to use a hash table here. */
+
+ if (!strncmp(tokenstr, "find", tlen))
+ return T_Find;
+ else if (!strncmp(tokenstr, "display", tlen))
+ return T_Display;
+ else if (!strncmp(tokenstr, "help", tlen))
+ return T_Help;
+ else if (!strncmp(tokenstr, "?", tlen))
+ return T_Help;
+ else if (!strncmp(tokenstr, "save", tlen))
+ return T_Save;
+ else if (!strncmp(tokenstr, "quit", tlen))
+ return T_Quit;
+ else if (!strcmp(tokenstr, "and"))
+ return T_And;
+ else if (!strcmp(tokenstr, "or"))
+ return T_Or;
+ else if (!strcmp(tokenstr, "not"))
+ return T_Not;
+ else
+ return T_Word;
+ }
+}
+
+
+/* ----------------------------------------------------------------- *\
+| char Strip(char *string)
+|
+| Strip all but alphanumeric characters out of the string. Return
+| true if the original string ended with the prefix character '*'.
+\* ----------------------------------------------------------------- */
+char Strip(char *string)
+{
+ char prefix = 0;
+ char *src = string;
+
+ while (*src)
+ {
+ prefix = (*src == '*');
+ if (isalnum(*src))
+ *string++ = *src;
+ src++;
+ }
+ *string = 0;
+ return prefix;
+}
+
+/* ----------------------------------------------------------------- *\
+| void CmdError(void)
+|
+| Print syntax error message
+\* ----------------------------------------------------------------- */
+void CmdError(VOID)
+{
+ printf("?? Syntax error ??\n");
+}
+
+static const char* helplines[] =
+{
+ "biblook permits rapid lookup in a BibTeX bibliography data",
+ "base, using a compact binary index file prepared by bibindex(1).",
+ "",
+ "Available commands:",
+ "? or h[elp]",
+ " Display this help message.",
+ "",
+ "f[ind] [not] <field> <words>",
+ " Find the entries containing the given words in any",
+ " field with a prefix matching the <field> argument. For",
+ " example, `a' matches both `author' and `address', and",
+ " `au' matches `author' only. If the <field> argument is",
+ " `-' (or any string with no letters or numbers), match",
+ " any field.",
+ "",
+ " If `not' appears before the <field>, the sense of the",
+ " search is reversed. The symbols `~' and `!' can be",
+ " used in place of `not'.",
+ "",
+ " Each word is a contiguous sequence of letters and",
+ " digits. Case is ignored; accents should be omitted;",
+ " apostrophes are not required. Single characters and a",
+ " few common words are also ignored. Any word ending",
+ " with an asterisk is treated as a prefix. Thus,",
+ " `point*' matches `point', `points', `pointer', etc.",
+ "",
+ "and [not] <field> <words>",
+ "or [not] <field> <words>",
+ " Intersect (resp. union) the results of the given search",
+ " with the previous search. Several of these commands",
+ " may be combined on a single line. Commands are handled",
+ " in the order in which they appear; there is no pre-",
+ " cedence. Unlike other commands, and like `not', these",
+ " must be spelled out completely. `&' can be used in",
+ " place of `and', and `|' can be used in place of `or'.",
+ "",
+ "d[isplay]",
+ " Display the results of the previous search.",
+ "",
+ "s[ave] [<filename>]",
+ " Save the results of the previous results into the",
+ " specified file. If <filename> is omitted, the previous",
+ " save file is used. If no save file has ever been",
+ " specified, results are saved in the file specified on",
+ " the command line. If no such file is specified,",
+ " `save.bib' is used. If the save file exists, results",
+ " are appended to it.",
+ "",
+ "q[uit]/EOF",
+ " Quit.",
+ "",
+ "Several commands can be combined on a single line by",
+ "separating them with semicolons. For example, the following",
+ "command displays all STOC papers cowritten by Erdo\"s",
+ "without `Voronoi diagrams' in the title:",
+ "",
+ "f b stoc* | b symp* theory comp* & au erdos & ~t voronoi diagrams ; d",
+ "",
+ (const char*)NULL,
+};
+
+/* ----------------------------------------------------------------- *\
+| void GiveHelp(void)
+|
+| Print a help message. Lines are stored as separate strings to
+| avoid hitting compiler limits.
+\* ----------------------------------------------------------------- */
+
+void GiveHelp(VOID)
+{
+ int k;
+
+ for (k = 0; helplines[k]; ++k)
+ printf("\t%s\n",helplines[k]);
+}
+
+/* ----------------------------------------------------------------- *\
+| States for Lookup()
+\* ----------------------------------------------------------------- */
+typedef enum {
+ Wait, Find, FindN, FindF, FindW,
+ Display, Save, SaveF, Error
+} CmdState;
+
+/* ----------------------------------------------------------------- *\
+| void Lookup(const char *defsave)
+|
+| Execute commands until the user quits. Defsave is the default
+| save file name. This is one big finite state machine. It's long
+| and boring, but that's interface code for ya!
+\* ----------------------------------------------------------------- */
+void Lookup(const char *defsave)
+{
+ char tokenstr[256];
+ char savefile[256];
+ CmdState state = Wait;
+ Token thetoken;
+ char intersect = 1; /* 1 = intersect, 0 = union */
+ char invert = 0; /* 1 = invert */
+ char prefix; /* 1 = word is really a prefix */
+
+ ClearResults();
+ strcpy(savefile, defsave);
+
+ while (1)
+ {
+ thetoken = GetToken(tokenstr);
+
+ if ((thetoken == T_Quit) && !tokenstr[0])
+ return;
+ else if (thetoken == T_Help)
+ {
+ GiveHelp();
+ continue;
+ }
+
+ switch (state)
+ {
+ case Wait:
+ switch (thetoken)
+ {
+ case T_Quit:
+ return;
+ case T_Find:
+ state = Find;
+ ClearResults();
+ break;
+ case T_And:
+ state = Find;
+ SaveResults();
+ break;
+ case T_Or:
+ state = Find;
+ intersect = 0;
+ SaveResults();
+ break;
+ case T_Display:
+ state = Display;
+ break;
+ case T_Save:
+ state = Save;
+ break;
+ case T_Return:
+ case T_Semi:
+ break;
+ default:
+ state = Error; CmdError(); break;
+ }
+ break;
+
+ case Find:
+ if (thetoken == T_Not)
+ {
+ state = FindN;
+ invert = 1;
+ }
+ else
+ {
+ if (tokenstr[0])
+ {
+ state = FindF;
+ Strip(tokenstr);
+ if (!SetUpField(tokenstr))
+ state = Error;
+ }
+ else
+ {
+ state = (thetoken == T_Return) ? Wait : Error;
+ CmdError();
+ }
+ }
+ break;
+
+ case FindN:
+ if (tokenstr[0])
+ {
+ state = FindF;
+ Strip(tokenstr);
+ if (!SetUpField(tokenstr))
+ state = Error;
+ }
+ else
+ {
+ state = (thetoken == T_Return) ? Wait : Error;
+ CmdError();
+ }
+ break;
+
+ case FindF:
+ if (tokenstr[0])
+ {
+ state = FindW;
+ prefix = Strip(tokenstr);
+ FindWord(tokenstr, prefix);
+ }
+ else
+ {
+ state = (thetoken == T_Return) ? Wait : Error;
+ CmdError();
+ }
+ break;
+
+ case FindW:
+ switch (thetoken)
+ {
+ case T_And:
+ state = Find;
+ CombineResults(invert, intersect);
+ SaveResults();
+ invert = 0;
+ intersect = 1;
+ break;
+ case T_Or:
+ state = Find;
+ CombineResults(invert, intersect);
+ SaveResults();
+ invert = 0;
+ intersect = 0;
+ break;
+ case T_Semi:
+ state = Wait;
+ CombineResults(invert, intersect);
+ invert = 0;
+ intersect = 1;
+ break;
+ case T_Return:
+ state = Wait;
+ CombineResults(invert, intersect);
+ ReportResults();
+ invert = 0;
+ intersect = 1;
+ break;
+ default:
+ if (tokenstr[0])
+ {
+ state = FindW;
+ prefix = Strip(tokenstr);
+ FindWord(tokenstr, prefix);
+ }
+ else
+ {
+ state = Error;
+ CmdError();
+ }
+ break;
+ }
+ break;
+
+ case Display:
+ if ((thetoken == T_Semi) || (thetoken == T_Return))
+ {
+ state = Wait;
+ PrintResults(NULL);
+ }
+ else
+ {
+ state = Error;
+ CmdError();
+ }
+ break;
+
+ case Save:
+ if (tokenstr[0])
+ {
+ state = SaveF;
+ strcpy(savefile, tokenstr);
+ }
+ else if ((thetoken == T_Semi) || (thetoken == T_Return))
+ {
+ state = Wait;
+ PrintResults(savefile);
+ }
+ else
+ {
+ state = Error;
+ CmdError();
+ }
+ break;
+
+ case SaveF:
+ if ((thetoken == T_Semi) || (thetoken == T_Return))
+ {
+ state = Wait;
+ PrintResults(savefile);
+ }
+ else
+ {
+ state = Error;
+ CmdError();
+ }
+ break;
+
+ case Error:
+ switch (thetoken)
+ {
+ case T_Quit:
+ return;
+ case T_Return:
+ state = Wait;
+ break;
+ default:
+ break;
+ }
+ break;
+ }
+ }
+}
+
+
+/* ================================================================= *\
+| The main program
+\* ================================================================= */
+int main(int argc, char **argv)
+{
+ char bibfile[256];
+ char bixfile[256];
+ struct stat bibstat, bixstat;
+ char *p;
+
+ printf("biblook version %d.%d file version %d\n",
+ (int)MAJOR_VERSION, (int)MINOR_VERSION, (int)FILE_VERSION);
+ printf("Type ? or h for help\n");
+
+ if ((argc != 2) && (argc != 3))
+ {
+ fprintf(stderr, "Usage: biblook bib [savefile]\n");
+ exit(1);
+ }
+
+ if (((p = strrchr(argv[1],'.')) != (char*)NULL) &&
+ (strcmp(p, ".bib") == 0))
+ *p = '\0'; /* remove any .bib extension */
+
+ sprintf(bibfile, "%s.bib", argv[1]);
+ sprintf(bixfile, "%s.bix", argv[1]);
+
+ stat(bibfile, &bibstat);
+ stat(bixfile, &bixstat);
+ if (bibstat.st_mtime > bixstat.st_mtime)
+ die(bixfile, "is out of date. Please rerun bibindex.");
+
+ bibfp = fopen(bibfile, "r");
+ if (!bibfp)
+ die("Can't read", bibfile);
+
+ GetTables(bixfile);
+ InitSearch();
+
+ if (argc == 3)
+ Lookup(argv[2]);
+ else
+ Lookup("save.bib");
+
+ FreeSearch();
+ FreeTables();
+
+ fclose(bibfp);
+ exit(0);
+ return(0);
+}
diff --git a/biblio/bibtex/utils/bibindex/biblook.h b/biblio/bibtex/utils/bibindex/biblook.h
new file mode 100644
index 0000000000..b5709099a1
--- /dev/null
+++ b/biblio/bibtex/utils/bibindex/biblook.h
@@ -0,0 +1,113 @@
+#include <stdio.h>
+#if (__STDC__ || __cplusplus || c_plusplus)
+#include <stdlib.h>
+#endif /* (__STDC__ || __cplusplus || c_plusplus) */
+#include <string.h>
+#include <ctype.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <time.h>
+#if !__NeXT__
+#include <unistd.h>
+#include <malloc.h>
+#endif /* !__NeXT__ */
+
+#if (__STDC__ || __cplusplus || c_plusplus)
+#define VOID void
+#else /* NOT (__STDC__ || __cplusplus || c_plusplus) */
+#define VOID
+#endif /* (__STDC__ || __cplusplus || c_plusplus) */
+
+#undef bcopy
+#define bcopy(source,target,length) \
+ memcpy((char*)(target),(const char*)(source),length)
+
+#if sun
+#if __cplusplus
+extern "C" int _filbuf(FILE *); /* missing from stdio.h */
+#if !__GNUC__
+int _flsbuf(unsigned char,FILE *); /* missing from stdio.h */
+#endif /* !__GNUC__ */
+extern "C" int _flsbuf(unsigned int, FILE *); /* missing from stdio.h */
+extern "C" char *tempnam(const char *, const char *);
+ /* not defined by acc's stdio.h */
+extern "C" int waitpid(int, int *, int); /* not defined by any Sun .h file */
+#else /* NOT __cplusplus */
+int _filbuf(FILE *); /* missing from stdio.h */
+#if !__GNUC__
+int _flsbuf(unsigned char,FILE *); /* missing from stdio.h */
+#endif /* !__GNUC__ */
+char *tempnam(const char *, const char *); /* not defined by acc's stdio.h */
+int waitpid(int, int *, int); /* not defined by any Sun .h file */
+#endif /* __cplusplus */
+#endif /* sun */
+
+#if DEBUG_MALLOC
+ /* For dynamic memory debugging. */
+ /* Note that the parens around free and malloc */
+ /* are essential to prevent macro expansion in */
+ /* ANSI/ISO Standard C and C++. Erroneous */
+ /* preprocessors will go into an infinite loop */
+ /* (e.g. SunOS /usr/CC/sun4/cpp) */
+#if sun
+int malloc_debug(int level);
+int malloc_verify(void);
+#else /* NOT sun */
+#define malloc_debug(level) level
+#define malloc_verify() 1
+#endif /* sun */
+#undef free
+#undef malloc
+#define free(ptr) (malloc_verify(), \
+ fprintf(stderr,"line %d: free(%p)\n",(int)__LINE__,(ptr)), \
+ (free)(ptr))
+static void *p__; /* for malloc() debugging */
+#define malloc(s) (malloc_verify(),\
+ p__ = (malloc)(s),\
+ fprintf(stderr,"line %d: malloc(%ld) -> %p\n",\
+ (int)__LINE__,(s),(p__)),\
+ p__)
+#endif /* DEBUG_MALLOC */
+
+#if __NeXT__
+static char* p__;
+static char* q__;
+/* NB: This is not a general definition of tempnam(), but works for
+this program! */
+#define tempnam(dir,pfx) (p__ = tmpnam((char*)NULL), \
+ q__ = malloc(strlen(p__)+1), \
+ strcpy(q__,p__))
+#include <libc.h> /* for struct rusage definition */
+#define waitpid(pid, statusp, options) wait4((pid), (statusp), (options),\
+ (struct rusage*)0)
+#endif /* __NeXT__ */
+
+#if ardent
+/* Stardent has only simple wait-for-all-children function, sigh... */
+#define waitpid(pid, statusp, options) wait((int*)0)
+char *getenv(const char *name); /* missing from system header files */
+#endif
+
+#if __hppa
+#include <sys/wait.h>
+#endif /* __hppa */
+
+#if __sgi
+#include <sys/wait.h>
+#endif /* __sgi */
+
+#define FILE_VERSION 2 /* file format version */
+#define MAJOR_VERSION 2 /* program version */
+#define MINOR_VERSION 4
+
+#define MAXWORD 31 /* maximum length of word indexed */
+typedef char Word[MAXWORD+1];
+
+typedef unsigned short Index_t;
+#define INDEX_NAN 65535 /* maximum value representable as Index_t */
+
+#define BADWORDS { /* words not to index */ \
+ "an", "and", "for", "in", "of", "on", "the", "to", "with", 0 \
+}
+
+#define NONABBREV ",\n\t \"#%'()={}" /* See LaTeX book, p.143 */
diff --git a/biblio/bibtex/utils/bibindex/biblook.man b/biblio/bibtex/utils/bibindex/biblook.man
new file mode 100644
index 0000000000..d39c874791
--- /dev/null
+++ b/biblio/bibtex/utils/bibindex/biblook.man
@@ -0,0 +1,122 @@
+.\" ====================================================================
+.\" @Troff-man-file{
+.\" author = "Nelson H. F. Beebe",
+.\" version = "1.00",
+.\" date = "30 September 1992",
+.\" time = "16:48:22 MDT",
+.\" filename = "biblook.man",
+.\" address = "Center for Scientific Computing
+.\" Department of Mathematics
+.\" University of Utah
+.\" Salt Lake City, UT 84112
+.\" USA
+.\" Tel: +1 801 581 5254
+.\" FAX: +1 801 581 4148",
+.\" checksum = "20001 122 646 4560",
+.\" email = "beebe@math.utah.edu (Internet)",
+.\" codetable = "ISO/ASCII",
+.\" keywords = "bibliography, BibTeX",
+.\" supported = "yes",
+.\" docstring = "This file is the UNIX nroff/troff manual page
+.\" documentation for biblook, a BibTeX bibliography
+.\" lookup program.
+.\"
+.\" The checksum field above contains a CRC-16
+.\" checksum as the first value, followed by the
+.\" equivalent of the standard UNIX wc (word
+.\" count) utility output of lines, words, and
+.\" characters. This is produced by Robert
+.\" Solovay's checksum utility.",
+.\" }
+.\" ====================================================================
+.if t .ds Bi B\s-2IB\s+2T\\h'-0.1667m'\\v'0.20v'E\\v'-0.20v'\\h'-0.125m'X
+.if n .ds Bi BibTeX
+.if t .ds Te T\\h'-0.1667m'\\v'0.20v'E\\v'-0.20v'\\h'-0.125m'X
+.if n .ds Te TeX
+.TH BIBLOOK 1 "30 September 1992" "Version 2.2"
+.SH NAME
+biblook \- lookup entries in a bibliography file
+.SH SYNOPSIS
+.B "biblook \fIbasename\fP [\fIsavefile\fP]
+.SH DESCRIPTION
+.I biblook
+permits rapid lookup in a \*(Bi\& bibliography data base, using a
+compact binary index file prepared by \fIbibindex\fP(1).
+.PP
+At the prompt, the user can enter any of the following commands:
+.PP
+.TP
+.B ? or h[elp]
+Display a help message.
+.TP
+.B "f[ind] [not] <field> <words>"
+Find the entries containing the given words in any field
+with a prefix matching the <field> argument. For example,
+`a' matches both `author' and `address', and `au' matches
+`author' only. If the <field> argument is `-' (or any
+string with no letters or numbers), match any field.
+.IP
+If `not' appears before the <field>, the sense of the search
+is reversed. The symbols `~' and `!' can be used in place
+of `not'.
+.IP
+Each word is a contiguous sequence of letters and digits.
+Case is ignored; accents should be omitted; apostrophes are
+not required. Single characters and a few common words are
+also ignored. Any word ending with an asterisk is treated
+as a prefix. Thus, `point*' matches `point', `points',
+`pointer', etc.
+.PP
+.TP
+.BR "and [not] <field> <words>"
+.TP
+.BR "or [not] <field> <words>"
+Intersect (resp. union) the results of the given search
+with the previous search. Several of these commands may be
+combined on a single line. Commands are handled in the order
+in which they appear; there is no precedence. Unlike other
+commands, and like `not', these must be spelled out
+completely. `&' can be used in place of `and', and `|' can
+be used in place of `or'.
+.PP
+.TP
+.B "d[isplay]"
+Display the results of the previous search.
+.PP
+.TP
+.B "s[ave] [<filename>]"
+Save the results of the previous results into the specified
+file. If <filename> is omitted, the previous save file is
+used. If no save file has ever been specified, results are
+saved in the file specified on the command line. If no such
+file is specified, `save.bib' is used. If the save file
+exists, results are appended to it.
+.PP
+.TP
+.B "q[uit]/EOF"
+Quit.
+.PP
+Several commands can be combined on a single line by separating
+them with semicolons. For example, the following command displays
+all STOC papers cowritten by Erdo"s without `Voronoi diagrams' in
+the title:
+.PP
+.nf
+f b stoc* | b symp* theory comp* & au erdos & ~t voronoi diagrams ; d
+.fi
+.PP
+.SH "SEE ALSO"
+bibclean(1), bibindex(1), bibtex(1), latex(1), tex(1)
+.SH AUTHOR
+.nf
+Jeff Erickson
+Computer Science Division
+University of California
+Berkeley, CA 94720
+USA
+Email: <jeff@cs.berkeley.edu>, <jeffe@melody.berkeley.edu>
+.fi
+.PP
+This program is in the public domain. You may use it or modify it to
+your heart's content, at your own risk.
+.\" ========================[End of biblook.man]========================
diff --git a/biblio/bibtex/utils/bibindex/biblook.txt b/biblio/bibtex/utils/bibindex/biblook.txt
new file mode 100644
index 0000000000..2586b0feb4
--- /dev/null
+++ b/biblio/bibtex/utils/bibindex/biblook.txt
@@ -0,0 +1,132 @@
+
+
+
+BIBLOOK(1) User Commands BIBLOOK(1)
+
+
+
+NAME
+ biblook - lookup entries in a bibliography file
+
+SYNOPSIS
+ biblook basename [savefile]
+
+DESCRIPTION
+ biblook permits rapid lookup in a BibTeX bibliography data
+ base, using a compact binary index file prepared by bibin-
+ dex(1).
+
+ At the prompt, the user can enter any of the following com-
+ mands:
+
+ ? or h[elp]
+ Display a help message.
+
+ f[ind] [not] <field> <words>
+ Find the entries containing the given words in any
+ field with a prefix matching the <field> argument. For
+ example, `a' matches both `author' and `address', and
+ `au' matches `author' only. If the <field> argument is
+ `-' (or any string with no letters or numbers), match
+ any field.
+
+ If `not' appears before the <field>, the sense of the
+ search is reversed. The symbols `~' and `!' can be
+ used in place of `not'.
+
+ Each word is a contiguous sequence of letters and
+ digits. Case is ignored; accents should be omitted;
+ apostrophes are not required. Single characters and a
+ few common words are also ignored. Any word ending
+ with an asterisk is treated as a prefix. Thus,
+ `point*' matches `point', `points', `pointer', etc.
+
+ and [not] <field> <words>
+
+ or [not] <field> <words>
+ Intersect (resp. union) the results of the given search
+ with the previous search. Several of these commands
+ may be combined on a single line. Commands are handled
+ in the order in which they appear; there is no pre-
+ cedence. Unlike other commands, and like `not', these
+ must be spelled out completely. `&' can be used in
+ place of `and', and `|' can be used in place of `or'.
+
+ d[isplay]
+ Display the results of the previous search.
+
+ s[ave] [<filename>]
+ Save the results of the previous results into the
+
+
+
+Version 2.2 Last change: 30 September 1992 1
+
+
+
+
+
+
+BIBLOOK(1) User Commands BIBLOOK(1)
+
+
+
+ specified file. If <filename> is omitted, the previous
+ save file is used. If no save file has ever been
+ specified, results are saved in the file specified on
+ the command line. If no such file is specified,
+ `save.bib' is used. If the save file exists, results
+ are appended to it.
+
+ q[uit]/EOF
+ Quit.
+
+ Several commands can be combined on a single line by
+ separating them with semicolons. For example, the following
+ command displays all STOC papers cowritten by Erdo"s without
+ `Voronoi diagrams' in the title:
+
+ f b stoc* | b symp* theory comp* & au erdos & ~t voronoi diagrams ; d
+
+SEE ALSO
+ bibclean(1), bibindex(1), bibtex(1), latex(1), tex(1)
+
+AUTHOR
+ Jeff Erickson
+ Computer Science Division
+ University of California
+ Berkeley, CA 94720
+ USA
+ Email: <jeff@cs.berkeley.edu>, <jeffe@melody.berkeley.edu>
+
+ This program is in the public domain. You may use it or
+ modify it to your heart's content, at your own risk.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Version 2.2 Last change: 30 September 1992 2
+
+
+
diff --git a/biblio/bibtex/utils/bible/BIBLE.HLP b/biblio/bibtex/utils/bible/BIBLE.HLP
new file mode 100644
index 0000000000..eb37732483
--- /dev/null
+++ b/biblio/bibtex/utils/bible/BIBLE.HLP
Binary files differ
diff --git a/biblio/bibtex/utils/bible/bible.ini b/biblio/bibtex/utils/bible/bible.ini
new file mode 100644
index 0000000000..529abd98a9
--- /dev/null
+++ b/biblio/bibtex/utils/bible/bible.ini
@@ -0,0 +1,85 @@
+//Options File for BiBLE
+
+[library filenames]
+filename=*none*
+lastfile=*none*
+
+[BibTeX entry specification]
+types=article,book,booklet,conference,inbook,incollection,inproceedings,manual,mastersthesis,misc,phdthesis,proceedings,techreport,unpublished,not in list
+fields=address,author,booktitle,chapter,editor,howpublished,institution,journal,note,number,month,organization,pages,publisher,school,series,title,type,volume,year,edition
+article=4,1,16,7,19,18,9,12,10,8
+book=5,1,16,4,13,19,18,9,15,0,20,10,8
+booklet=1,16,1,18,9,15,0,20,10,8
+conference=4,1,16,2,19,4,18,9,15,12,0,10,11,13,8
+inbook=7,1,16,4,3,12,13,19,18,9,15,17,0,20,10,8
+incollection=5,1,16,2,13,19,4,18,9,15,17,3,12,0,20,10,8
+inproceedings=4,1,16,2,19,4,18,9,15,12,0,10,11,13,8
+manual=1,16,1,11,0,20,10,19,8
+mastersthesis=4,1,16,14,19,17,0,10,8
+misc=0,1,16,5,10,19,8
+phdthesis=4,1,16,14,19,17,0,10,8
+proceedings=2,16,19,4,18,9,15,0,10,11,13,8
+techreport=4,1,16,6,19,17,9,0,10,8
+unpublished=3,1,16,8,10,19
+not in list=0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21
+choice=inbook,3,12,book,1,4,inbook,1,4,book,9,18,inbook,9,18,incollection,9,18,inproceedings,9,18,proceedings,9,18
+
+[filtering options]
+filtering=no
+filter1.field=type
+filter2.field=line off
+filter3.field=line off
+filter1.op=equals
+filter2.op=contains
+filter3.op=greater than
+filter1.value=inbook
+filter2.value=eye
+filter3.value=1980
+filtermode=and
+
+[log options]
+log.status=yes
+disp.status=yes
+log.error=yes
+disp.error=yes
+writelog=yes
+logfile=bible.log
+maxlogsize=300
+
+[saving options]
+backup=yes
+linebreak=yes
+linewidth=70
+insertwidth=5
+datapath=c:\
+
+[exiting options]
+autosave=no
+switchfilteringoff=yes
+switchsortingoff=no
+savesorted=no
+savesize=yes
+
+[window size]
+main.width=524
+main.top=15
+main.height=684
+main.left=357
+display.width=297
+display.top=16
+display.height=695
+display.left=58
+sorting=year
+
+[HTML export options]
+expfields=,title,
+expline=no
+expcolumns=1
+
+[display options]
+disp1=title
+disp2=reference
+disp3=none
+disp4=none
+truncate=yes
+charlimit=45
diff --git a/biblio/bibtex/utils/bible/readme.txt b/biblio/bibtex/utils/bible/readme.txt
new file mode 100644
index 0000000000..8e904ec776
--- /dev/null
+++ b/biblio/bibtex/utils/bible/readme.txt
@@ -0,0 +1,38 @@
+README.TXT for BiBLE for Windows
+V0.99 (15.03.2000)
+******************************************************************
+
+Before you use this software, read and understand the following:
+
+1. BiBLE was written because I wanted a convenient way to edit my
+ own BibTeX library. I can't and won't guarantee that it works
+ with yours. Try it at your own risk.
+2. Don't use the program on your library before you know what you're
+ doing. Create a backup copy of your library.
+3. If you find any errors or have suggestions for future versions,
+ tell me. Maybe I'll include them. schreiber@genista.de
+4. You may redistribute this package only as a whole with all the
+ files unchanged. The distribution contains:
+
+ bible.exe - the win32 executable
+ bible.hlp - the windows helpfile
+ bible.ini - initialization file
+ test.bib - demonstration database
+ readme.txt - this file
+ versions.txt - the version history
+
+5. BiBLE is free to use.
+6. Read the windows helpfile.
+7. The .ini-file contains the information about the possible itemtypes
+ and their fields. If you want to add custom items, you can do so.
+ Just add another type-name to the "types=..." line, and a line
+ saying "typename=x,f,f,f,f". The x is the number of required fields
+ following, the fs are the numbers of the field in the "fields=..."
+ line. If you want to add your own optional or required fields DO SO
+ ONLY AT THE END OF THAT LINE or all the other items will get messed
+ up. The line starting with "choice=" contains alternative field pairs.
+ Don't change the first pair, as it is the only one where you can have
+ both field values set (type inbook, fields chapter and/or pages). If
+ you need custom fields with and/or behaviour contact me and explain
+ why.
+8. Have fun. \ No newline at end of file
diff --git a/biblio/bibtex/utils/bible/versions.txt b/biblio/bibtex/utils/bible/versions.txt
new file mode 100644
index 0000000000..ea2dd092b5
--- /dev/null
+++ b/biblio/bibtex/utils/bible/versions.txt
@@ -0,0 +1,20 @@
+BiBLE for Windows
+Version history
+******************************************************************
+
+
+V0.99:
+******************************************************************
+
+
+02.04.2000 Build 111 - BiBLE now reminds you to save
+30.03.2000 Build 110 - added variable item display feature
+29.03.2000 Build 109 - added automatic printing for HTML export
+27.03.2000 Build 108 - minor import filter problem solved
+21.03.2000 Build 107 - improved sorting speed
+21.03.2000 Build 106 - added clipboard and html export
+20.03.2000 Build 104 - fixed minor clipboard import problem
+ and startup without file loading error
+17.03.2000 Build 103 - clipboard import filter added
+16.03.2000 Build 102 - corrected an error in the "new item" function
+15.03.2000 Build 99 - first published version of BiBLE \ No newline at end of file
diff --git a/biblio/bibtex/utils/bibsort/Makefile b/biblio/bibtex/utils/bibsort/Makefile
new file mode 100644
index 0000000000..88f1ace3bd
--- /dev/null
+++ b/biblio/bibtex/utils/bibsort/Makefile
@@ -0,0 +1,157 @@
+#=======================================================================
+# Makefile for bibsort, a BibTeX bibliography file sort utility.
+#
+# Current target list:
+#
+# all make documentation files
+# bibsort.hlp VAX VMS HELP file of manual pages
+# bibsort.shar UNIX shar bundle for e-mail distribution
+# bibsort.tar UNIX tar archive bundle
+# bibsort.txt ASCII text file of manual pages
+# bibsort.zip Info-ZIP archive bundle
+# bibsort.zoo Zoo archive bundle
+# clean remove temporary files
+# clobber remove all automatically recreatable files
+# install install bibsort on system
+# install.time installation time stamp
+# install-ftp install bibsort on anonymous ftp directory
+# install-ftp.time installation time stamp
+# test-version test extraction of version number
+# uninstall remove installed executable and man pages
+# uninstall-ftp remove installed files in anonymous ftp
+# directory
+#
+# [19-Oct-1992]
+#=======================================================================
+
+# Change these two directories to match local conventions if you
+# wish to do "make install" and "make install-ftp":
+BINDIR = /usr/local/bin
+MANDIR = /usr/local/man/man1
+MANEXT = 1
+FTPDIR = /usr/spool/ftp/pub/tex/bib
+
+# Need new awk (nawk) or gawk here:
+AWK = nawk
+
+CHMOD = chmod
+
+COL = col -b
+
+COMPRESS = compress
+
+CP = /bin/cp
+
+DIST-FILES = README Makefile bibsort.man bibsort.hlp bibsort.sh \
+ bibsort.txt rofvms.awk
+
+LN = ln -s
+
+NROFF = nroff
+
+RM = /bin/rm -f
+
+SHELL = /bin/sh
+
+UNZIP = unzip
+
+VERSION = `$(AWK) '/^\#\#\#[ \t]*version *= *"[0-9.]+", *$$/ \
+ { gsub(/[^0-9.]/,"",$$4); print $$4 }' bibsort.sh`
+
+ZIP = zip
+
+ZOO = zoo
+
+#=======================================================================
+
+all: bibsort.txt bibsort.hlp
+
+# VAX VMS help file format from bibsort.txt
+bibsort.hlp: bibsort.txt rofvms.awk
+ $(AWK) -f rofvms.awk <bibsort.txt >bibsort.hlp
+
+bibsort.shar: $(DIST-FILES)
+ shar -b -c -v $(DIST-FILES) >bibsort.shar
+
+bibsort.tar: $(DIST-FILES)
+ -$(RM) bibsort.tar bibsort.tar-lst
+ tar chf bibsort.tar $(DIST-FILES)
+ -mkdir bibsort-$(VERSION)
+ cd bibsort-$(VERSION); tar xf ../bibsort.tar
+ tar cf bibsort-$(VERSION).tar bibsort-$(VERSION)
+ -$(RM) -r bibsort-$(VERSION)
+ -$(RM) bibsort.tar
+ $(LN) bibsort-$(VERSION).tar bibsort.tar
+
+bibsort.txt: bibsort.man
+ $(NROFF) -man $? | $(COL) >$@
+
+bibsort.zip: $(DIST-FILES)
+ -$(RM) bibsort*.zip
+ -$(RM) bibsort*.zip-lst
+ $(ZIP) bibsort-$(VERSION).zip $(DIST-FILES)
+ $(UNZIP) -v bibsort-$(VERSION).zip >bibsort-$(VERSION).zip-lst
+ $(LN) bibsort-$(VERSION).zip bibsort.zip
+
+bibsort.zoo: $(DIST-FILES)
+ -$(RM) bibsort*.zoo
+ -$(RM) bibsort*.zoo-lst
+ $(ZOO) a bibsort-$(VERSION).zoo $(DIST-FILES)
+ $(ZOO) v bibsort-$(VERSION).zoo >bibsort-$(VERSION).zoo-lst
+ $(LN) bibsort-$(VERSION).zoo bibsort.zoo
+
+clean:
+ -$(RM) *.o
+ -$(RM) *.shar
+ -$(RM) *.tar
+ -$(RM) *.tar-lst
+ -$(RM) *.zip
+ -$(RM) *.zip-lst
+ -$(RM) *.zoo
+ -$(RM) *.zoo-lst
+ -$(RM) *~
+ -$(RM) \#*
+ -$(RM) core
+
+clobber: clean
+ -$(RM) bibsort.hlp
+ -$(RM) bibsort.txt
+ -$(RM) install.time install-ftp.time
+
+install: install.time
+
+install.time: bibsort.sh bibsort.man
+ $(CP) bibsort.sh $(BINDIR)/bibsort
+ $(CHMOD) 755 $(BINDIR)/bibsort
+ $(CP) bibsort.man $(MANDIR)/bibsort.$(MANEXT)
+ $(CHMOD) 644 $(MANDIR)/bibsort.$(MANEXT)
+ touch install.time
+
+install-ftp: install-ftp.time
+
+install-ftp.time: bibsort.tar bibsort.zip bibsort.zoo
+ tar tvf bibsort-$(VERSION).tar >$(FTPDIR)/bibsort-$(VERSION).tar-lst
+ $(COMPRESS) <bibsort-$(VERSION).tar \
+ >$(FTPDIR)/bibsort-$(VERSION).tar.z
+ $(CP) bibsort-$(VERSION).zip $(FTPDIR)
+ $(CP) bibsort-$(VERSION).zip-lst $(FTPDIR)
+ $(CP) bibsort-$(VERSION).zoo $(FTPDIR)
+ $(CP) bibsort-$(VERSION).zoo-lst $(FTPDIR)
+ ls -l $(FTPDIR)/bibsort*
+ date >install-ftp.time
+
+test-version:
+ @echo "Version number is ""'"$(VERSION)"'"
+
+uninstall:
+ -$(RM) $(BINDIR)/bibsort $(MANDIR)/bibsort.$(MANEXT)
+ -$(RM) install.time
+
+uninstall-ftp:
+ -$(RM) $(FTPDIR)/bibsort-$(VERSION).tar
+ -$(RM) $(FTPDIR)/bibsort-$(VERSION).tar-lst
+ -$(RM) $(FTPDIR)/bibsort-$(VERSION).zip
+ -$(RM) $(FTPDIR)/bibsort-$(VERSION).zip-lst
+ -$(RM) $(FTPDIR)/bibsort-$(VERSION).zoo
+ -$(RM) $(FTPDIR)/bibsort-$(VERSION).zoo-lst
+ -$(RM) install-ftp.time
diff --git a/biblio/bibtex/utils/bibsort/README b/biblio/bibtex/utils/bibsort/README
new file mode 100644
index 0000000000..27820c3ea6
--- /dev/null
+++ b/biblio/bibtex/utils/bibsort/README
@@ -0,0 +1,15 @@
+/u/sy/beebe/tex/bibsort/README, Tue Oct 13 19:07:33 1992
+Edit by Nelson H. F. Beebe <beebe@plot79.math.utah.edu>
+
+This directory contains bibsort, a UNIX tool for sorting BibTeX
+bibliography files. The contents are:
+
+Makefile UNIX makefile
+README This file
+bibsort.hlp ASCII text file with formatted manual pages in VAX VMS
+ HELP format
+bibsort.man manual pages (nroff/troff input)
+bibsort.sh bibsort program, implemented as a UNIX sh script using
+ nawk, egrep, sort, and, tr.
+bibsort.txt ASCII text file with formatted manual pages
+rofvms.awk AWK script to convert .txt file to .hlp file
diff --git a/biblio/bibtex/utils/bibsort/bibsort.hlp b/biblio/bibtex/utils/bibsort/bibsort.hlp
new file mode 100644
index 0000000000..2dc7845201
--- /dev/null
+++ b/biblio/bibtex/utils/bibsort/bibsort.hlp
@@ -0,0 +1,200 @@
+1 DVI
+ bibsort - sort a BibTeX bibliography file
+
+2 SYNOPSIS
+ SYNOPSIS
+ bibsort [optional sort(1) switches] < infile >outfile
+
+2 DESCRIPTION
+ DESCRIPTION
+ bibsort filters a BibTeX bibliography, or bibliography frag-
+ ment, on its standard input, printing on standard output a
+ sorted bibliography.
+
+ Sorting is by BibTeX tag name, or by @String macro name, and
+ letter case is ignored in the sorting.
+
+ If no command-line switches are provided for sort(1), then
+ -f is supplied to cause letter case to be ignored. If you
+ also want to remove duplicate entries, you could specify the
+ switches -f -u.
+
+ The input stream is conceptually divided into four parts,
+ any of which may be absent.
+
+2 --1.--Introductory--material--such--as -comments,---file
+ 1. Introductory material such as comments, file
+2 ------headers, and-edit-logs-that-are-ignored-by-BibTeX.
+ headers, and edit logs that are ignored by BibTeX.
+2 ------No-line-in-this-part-begins-with-an-at-sign,-``@''.
+ No line in this part begins with an at-sign, ``@''.
+
+2 --2.--Preamble-material delineated-by-``@Preamble{''--and
+ 2. Preamble material delineated by ``@Preamble{'' and
+2 ------a -matching-closing-``}'',-intended-to-be processed
+ a matching closing ``}'', intended to be processed
+2 ------by-TeX.--Normally,-there-is-only-one-such entry--in
+ by TeX. Normally, there is only one such entry in
+2 ------a -bibliography-file,-although-BibTeX,-and-bibsort,
+ a bibliography file, although BibTeX, and bibsort,
+2 ------permit-more-than-one.
+ permit more than one.
+
+2 --3.--Macro-definitions of-the-form-``@String{...}''. A
+ 3. Macro definitions of the form ``@String{...}''. A
+2 ------single--macro--definition -may-span-multiple-lines,
+ single macro definition may span multiple lines,
+2 ------and-there are-usually-several-such-definitions.
+ and there are usually several such definitions.
+
+2 --4.--Bibliography--entries--such--as--``@Article{...}'',
+ 4. Bibliography entries such as ``@Article{...}'',
+2 ------``@Book{...}'',--``@Proceedings{...}'',--and-so-on.
+ ``@Book{...}'', ``@Proceedings{...}'', and so on.
+2 ------For-bibsort,-any-line-that--begins--with an--``@''
+ For bibsort, any line that begins with an ``@''
+2 ------immediately--followed--by letters and-digits-and-an
+ immediately followed by letters and digits and an
+2 ------open-brace-is-considered-to-be-such-an-entry.
+ open brace is considered to be such an entry.
+
+ The order of these parts is preserved in the output stream.
+ Part 1 will be unchanged, but parts 2--4 will be sorted
+ within themselves.
+
+ The sort key of ``@Preamble'' entries is their initial line,
+ of ``@String'' entries, the macro name, and of all BibTeX
+ entries, the citation tag between the open curly brace and
+ the trailing comma.
+
+ bibsort will correctly handle UNIX files with LF line termi-
+ nators, as well as IBM PC DOS files with CR LF line termina-
+ tors; the essential requirement is that input lines be del-
+ ineated by LF characters.
+
+2 CAVEATS
+ CAVEATS
+ BibTeX has loose syntactical requirements that the current
+ simple implementation of bibsort does not support. In par-
+ ticular, outer parentheses may not be used in place of
+ braces following ``@keyword'' patterns, nor may there be
+ leading or embedded whitespace.
+
+ If you have such a file, you can use bibclean(1) to pretty-
+ print it into a form that bibsort can handle successfully.
+
+ The user must be aware that sorting a bibliography is not
+ without peril, for at least these reasons:
+
+2 --1.--BibTeX-has-a-requirement-that-entry-tags given--in
+ 1. BibTeX has a requirement that entry tags given in
+2 ------crossref =--tag-pairs-in a-bibliography-entry-must
+ crossref = tag pairs in a bibliography entry must
+2 ------refer-to-entries-defined-later,--rather--than--ear-
+ refer to entries defined later, rather than ear-
+2 ------lier,--in -the-bibliography-file. -This-regrettable
+ lier, in the bibliography file. This regrettable
+2 ------implementation-limitation of-the-current (pre-1.0)
+ implementation limitation of the current (pre-1.0)
+2 ------BibTeX--prevents-arbitrary-ordering-of-entries-when
+ BibTeX prevents arbitrary ordering of entries when
+2 ------crossref-values-are-present.
+ crossref values are present.
+
+2 --2.--If-the-BibTeX-file-contains-interspersed-commentary
+ 2. If the BibTeX file contains interspersed commentary
+2 ------between--``@keyword{...}''--entries,--this-material
+ between ``@keyword{...}'' entries, this material
+2 ------will-be-considered-part-of-the-preceding-entry,-and
+ will be considered part of the preceding entry, and
+2 ------will-be-sorted-with-it.--Leading-commentary-is-more
+ will be sorted with it. Leading commentary is more
+2 ------common,-and-will-be-moved elsewhere-in-the-file.
+ common, and will be moved elsewhere in the file.
+
+2 ------This-is-normally-not--a--problem for--the--part 1
+ This is normally not a problem for the part 1
+2 ------material-before-the-``@Preamble'',-since-it-is-kept
+ material before the ``@Preamble'', since it is kept
+2 ------together-at-the-beginning of-the-output-stream.
+ together at the beginning of the output stream.
+
+2 --3.--Some-kinds-of-bibliography-files-should-be-kept--in
+ 3. Some kinds of bibliography files should be kept in
+2 ------a -different--order-than-alphabetically-by-tags. A
+ a different order than alphabetically by tags. A
+2 ------good-example-is-a bibliography-file-with the--con-
+ good example is a bibliography file with the con-
+2 ------tents--of a-journal,-for-which-publication-order-is
+ tents of a journal, for which publication order is
+2 ------likely-more-suitable.
+ likely more suitable.
+
+ While a much more sophisticated implementation of bibsort
+ could deal with the first point, solving the second one
+ requires human intelligence and natural language understand-
+ ing that computers lack.
+
+ bibsort uses ASCII control characters 001 through 007 for
+ temporary modifications of the input stream. If any of
+ these are already present in the input, they will be altered
+ on output. This is unlikely to be a problem, because those
+ characters have neither a printable representation, nor are
+ they conventionally used to mark line or page boundaries in
+ text files.
+
+2 PROGRAMMING-NOTES
+ PROGRAMMING NOTES
+ Some text editors permit application of an arbitrary filter
+ command to a region of text. For example, in GNU emacs(1),
+ the command C-u M-x shell-command-on-region, or
+ equivalently, C-u M-|, can be used to run bibsort on a
+ region of the buffer that is devoid of cross references and
+ other material that cannot be safely sorted.
+
+ Some implementations of BibTeX editing support in GNU
+ emacs(1) have a sort-bibtex-entries command that is func-
+ tionally similar to bibsort. However, the file size that
+ can be processed by emacs(1) is limited, while bibsort can
+ be used on arbitrarily large files, since it acts as a
+ filter, processing a small amount of data at a time. The
+ sort stage needs the entire data stream, but fortunately,
+ the UNIX sort(1) command is clever enough to deal with very
+ large inputs.
+
+ The current implementation of bibsort follows the UNIX trad-
+ ition of combining simple already-available tools. A six-
+ stage pipeline of egrep(1), nawk(1), sort(1), and tr(1)
+ accomplishes the job in one pass with about 70 lines of
+ shell script, 60 lines of which is a nawk(1) program for
+ insertion of sort keys. bibsort was written and tested on
+ several large bibliographies in a couple of hours. By con-
+ trast, bibtex(1) is more than 11 000 lines of code and docu-
+ mentation, and bibclean(1) is about 1500 lines long.
+
+2 BUGS
+ BUGS
+ bibsort may fail on some UNIX systems if their sort(1)
+ implementations cannot handle very long lines, because for
+ sorting purposes, each complete bibliography entry is tem-
+ porarily folded into a single line. You may be able to
+ overcome this problem by adding a -znnnnn switch to the
+ sort(1) command (passed via the command line to bibsort) to
+ increase the maximum line size to some larger value of nnnnn
+ bytes.
+
+2 SEE-ALSO
+ SEE ALSO
+ bibclean(1), bibtex(1), egrep(1), emacs(1), nawk(1),
+ sort(1), tr(1).
+
+2 AUTHOR
+ AUTHOR
+ Nelson H. F. Beebe, Ph.D.
+ Center for Scientific Computing
+ Department of Mathematics
+ University of Utah
+ Salt Lake City, UT 84112
+ Tel: (801) 581-5254
+ FAX: (801) 581-4148
+ Email: <beebe@math.utah.edu>
diff --git a/biblio/bibtex/utils/bibsort/bibsort.man b/biblio/bibtex/utils/bibsort/bibsort.man
new file mode 100644
index 0000000000..7dcfb2d320
--- /dev/null
+++ b/biblio/bibtex/utils/bibsort/bibsort.man
@@ -0,0 +1,291 @@
+.\" ====================================================================
+.\" @Troff-man-file{
+.\" author = "Nelson H. F. Beebe",
+.\" version = "0.00",
+.\" date = "13 October 1992",
+.\" time = "19:32:55 MDT",
+.\" filename = "bibsort.man",
+.\" address = "Center for Scientific Computing
+.\" Department of Mathematics
+.\" University of Utah
+.\" Salt Lake City, UT 84112
+.\" USA",
+.\" telephone = "+1 801 581 5254",
+.\" FAX = "+1 801 581 4148",
+.\" checksum = "45983 291 1296 8946",
+.\" email = "beebe@math.utah.edu (Internet)",
+.\" codetable = "ISO/ASCII",
+.\" keywords = "bibliography, sorting, BibTeX",
+.\" supported = "yes",
+.\" docstring = "This file contains the UNIX manual pages
+.\" for the bibsort utility, a program for
+.\" sorting BibTeX data base files by their
+.\" BibTeX tag names.
+.\"
+.\" The checksum field above contains a CRC-16
+.\" checksum as the first value, followed by the
+.\" equivalent of the standard UNIX wc (word
+.\" count) utility output of lines, words, and
+.\" characters. This is produced by Robert
+.\" Solovay's checksum utility.",
+.\" }
+.\" ====================================================================
+.if t .ds Bi B\s-2IB\s+2T\\h'-0.1667m'\\v'0.20v'E\\v'-0.20v'\\h'-0.125m'X
+.if n .ds Bi BibTeX
+.if t .ds Te T\\h'-0.1667m'\\v'0.20v'E\\v'-0.20v'\\h'-0.125m'X
+.if n .ds Te TeX
+.TH BIBSORT 1 "13 October 1992" "Version 0.00"
+.\"======================================================================
+.SH NAME
+bibsort \- sort a BibTeX bibliography file
+.\"======================================================================
+.SH SYNOPSIS
+.B "bibsort [optional sort(1) switches]"
+< infile >outfile
+.\"======================================================================
+.SH DESCRIPTION
+.I bibsort
+filters a \*(Bi\& bibliography, or bibliography
+fragment, on its standard input, printing on
+standard output a sorted bibliography.
+.PP
+Sorting is by \*(Bi\& tag name, or by
+.I @String
+macro name, and letter case is
+ignored in the sorting.
+.PP
+If no command-line switches are provided for
+.IR sort (1),
+then
+.I \-f
+is supplied to cause letter case to be ignored.
+If you also want to remove duplicate entries, you
+could specify the switches
+.IR "\-f \-u" .
+.PP
+The input stream is conceptually divided into four
+parts, any of which may be absent.
+.RS
+.TP \w'1.'u+2n
+1.
+Introductory material such as comments, file
+headers, and edit logs that are ignored by
+\*(Bi\&. No line in this part begins with an
+at-sign, ``@''.
+.TP
+2.
+Preamble material delineated by ``@Preamble{'' and
+a matching closing ``}'', intended to be processed
+by \*(Te\&. Normally, there is only one such
+entry in a bibliography file, although \*(Bi\&,
+and
+.IR bibsort ,
+permit more than one.
+.TP
+3.
+Macro definitions of the form
+``@String{.\|.\|.}''. A single macro definition
+may span multiple lines, and there are usually
+several such definitions.
+.TP
+4.
+Bibliography entries such as ``@Article{.\|.\|.}'',
+``@Book{.\|.\|.}'', ``@Proceedings{.\|.\|.}'', and
+so on. For
+.IR bibsort ,
+any line that begins with an ``@'' immediately
+followed by letters and digits and an open brace
+is considered to be such an entry.
+.RE
+.PP
+The order of these parts is preserved in the
+output stream. Part 1 will be unchanged, but
+parts 2--4 will be sorted within themselves.
+.PP
+The sort key of ``@Preamble'' entries is their
+initial line, of ``@String'' entries, the macro
+name, and of all \*(Bi\& entries, the citation tag
+between the open curly brace and the trailing
+comma.
+.PP
+.I bibsort
+will correctly handle UNIX files with LF line
+terminators, as well as IBM PC DOS files with CR
+LF line terminators; the essential requirement is
+that input lines be delineated by LF characters.
+.\"======================================================================
+.SH CAVEATS
+\*(Bi\& has loose syntactical requirements that
+the current simple implementation of
+.I bibsort
+does not support. In particular, outer
+parentheses may
+.I not
+be used in place of braces following ``@keyword''
+patterns, nor may there be leading or embedded
+whitespace.
+.PP
+If you have such a file, you can use
+.IR bibclean (1)
+to prettyprint it into a form that
+.I bibsort
+can handle successfully.
+.PP
+The user must be aware that sorting a bibliography
+is not without peril, for at least these reasons:
+.RS
+.TP \w'1.'u+2n
+1.
+\*(Bi\& has a
+requirement that entry tags given in
+.IR "crossref" " = " "tag"
+pairs in a bibliography entry
+.I must
+refer to entries defined
+.IR later ,
+rather than earlier, in the bibliography file.
+This regrettable implementation limitation of the
+current (pre-1.0) \*(Bi\& prevents arbitrary
+ordering of entries when
+.I crossref
+values are present.
+.TP
+2.
+If the BibTeX file contains interspersed
+commentary between ``@keyword{.\|.\|.}'' entries,
+this material will be considered part of the
+.I preceding
+entry, and will be sorted with it. Leading
+commentary is more common, and will be moved
+elsewhere in the file.
+.IP
+This is normally not a problem for the part 1
+material before the ``@Preamble'', since it is kept
+together at the beginning of the output stream.
+.TP
+3.
+Some kinds of bibliography files should be kept in
+a different order than alphabetically by tags. A
+good example is a bibliography file with the
+contents of a journal, for which publication order
+is likely more suitable.
+.RE
+.PP
+While a much more sophisticated implementation of
+.I bibsort
+could deal with the first point, solving the
+second one requires human intelligence and natural
+language understanding that computers lack.
+.PP
+.I bibsort
+uses ASCII control characters 001 through 007 for
+temporary modifications of the input stream. If
+any of these are already present in the input,
+they will be altered on output. This is unlikely
+to be a problem, because those characters have
+neither a printable representation, nor are they
+conventionally used to mark line or page
+boundaries in text files.
+.\"======================================================================
+.SH "PROGRAMMING NOTES"
+Some text editors permit application of an
+arbitrary filter command to a region of text.
+For example, in GNU
+.IR emacs (1),
+the command
+.IR "C-u M-x shell-command-on-region" ,
+or equivalently,
+.IR "C-u M-|" ,
+can be used to run
+.I bibsort
+on a region of the buffer that is devoid of cross
+references and other material that cannot be
+safely sorted.
+.PP
+Some implementations of \*(Bi\& editing support in
+GNU
+.IR emacs (1)
+have a
+.I sort-bibtex-entries
+command that is functionally similar to
+.IR bibsort .
+However, the file size that can be processed
+by
+.IR emacs (1)
+is limited, while
+.I bibsort
+can be used on arbitrarily large files, since it
+acts as a filter, processing a small amount of
+data at a time. The sort stage needs the entire
+data stream, but fortunately, the UNIX
+.IR sort (1)
+command is clever enough to deal with very large
+inputs.
+.PP
+The current implementation of
+.I bibsort
+follows the UNIX tradition of combining simple
+already-available tools. A six-stage pipeline of
+.IR egrep (1),
+.IR nawk (1),
+.IR sort (1),
+and
+.IR tr (1)
+accomplishes the job in one pass with about 70
+lines of shell script, 60 lines of which is a
+.IR nawk (1)
+program for insertion of sort keys.
+.I bibsort
+was written and tested on several large
+bibliographies in a couple of hours. By contrast,
+.IR bibtex (1)
+is more than 11\0000 lines of code and
+documentation, and
+.IR bibclean (1)
+is about 1500 lines long.
+.\"======================================================================
+.SH BUGS
+.I bibsort
+may fail on some UNIX systems if their
+.IR sort (1)
+implementations cannot handle very long lines,
+because for sorting purposes, each complete
+bibliography entry is temporarily folded into a
+single line. You may be able to overcome this
+problem by adding a
+.BI -z nnnnn
+switch to the
+.IR sort (1)
+command (passed via the command line to
+.IR bibsort )
+to increase the maximum line size to some larger
+value of
+.I nnnnn
+bytes.
+.\"======================================================================
+.SH "SEE ALSO"
+.BR bibclean (1),
+.BR bibtex (1),
+.BR egrep (1),
+.BR emacs (1),
+.BR nawk (1),
+.BR sort (1),
+.BR tr (1).
+.\"======================================================================
+.SH AUTHOR
+Nelson H. F. Beebe, Ph.D.
+.br
+Center for Scientific Computing
+.br
+Department of Mathematics
+.br
+University of Utah
+.br
+Salt Lake City, UT 84112
+.br
+Tel: (801) 581-5254
+.br
+FAX: (801) 581-4148
+.br
+Email: <beebe@math.utah.edu>
+.\"==============================[The End]==============================
diff --git a/biblio/bibtex/utils/bibsort/bibsort.sh b/biblio/bibtex/utils/bibsort/bibsort.sh
new file mode 100644
index 0000000000..fe8a2281ef
--- /dev/null
+++ b/biblio/bibtex/utils/bibsort/bibsort.sh
@@ -0,0 +1,163 @@
+#!/bin/sh
+### ====================================================================
+### @UNIX-shell-file{
+### author = "Nelson H. F. Beebe",
+### version = "0.00",
+### date = "13 October 1992",
+### time = "19:33:14 MDT",
+### filename = "bibsort.sh",
+### address = "Center for Scientific Computing
+### Department of Mathematics
+### University of Utah
+### Salt Lake City, UT 84112
+### USA",
+### telephone = "+1 801 581 5254",
+### FAX = "+1 801 581 4148",
+### checksum = "35811 163 700 5138",
+### email = "beebe@math.utah.edu (Internet)",
+### codetable = "ISO/ASCII",
+### keywords = "bibliography, sorting, BibTeX",
+### supported = "yes",
+### docstring = "This file contains the bibsort utility, a
+### program for sorting BibTeX data base files
+### by their BibTeX tag names.
+###
+### The checksum field above contains a CRC-16
+### checksum as the first value, followed by the
+### equivalent of the standard UNIX wc (word
+### count) utility output of lines, words, and
+### characters. This is produced by Robert
+### Solovay's checksum utility.",
+### }
+# ====================================================================
+# Sort a BibTeX file fragment by citation tags, filtering stdin to
+# stdout.
+#
+# Usage:
+# bibsort [optional sort(1) switches] <infile >outfile
+#
+# If the sort switches are omitted, -f (ignore letter case
+# differences) is used. "bibsort -f -u" would remove duplicate
+# bibliography entries from the input stream.
+#
+# Note that this operation cannot be done in general, because @string
+# and @preamble entries need to come first, and cross-references last.
+#
+# In general, you should only apply this command to a fragment of a
+# .bib file that you know in advance can be sorted.
+#
+# We deal with leading commentary, @preamble, and @string by giving
+# them temporary sort keys that place them before other bibliography
+# entries.
+#
+########################################################################
+# WARNINGS:
+#
+# (1) This simple version does NOT recognize bib entries with outer
+# parentheses instead of braces.
+#
+# (2) It may fail on some UNIX sort implementations that cannot handle
+# very long lines, because for sorting purposes, each complete bib
+# entry is temporarily folded into a single line. You may be able to
+# overcome this problem by adding a -z nnnnn switch to the sort
+# command to set the maximum line size to nnnnn bytes.
+#
+########################################################################
+#
+# The sorting is implemented as a filter pipeline:
+#
+# Stage 1 (nawk) finds bib file entries and prefixes them with a line
+# containing a sort key, where each such line begins with a Ctl-E, and
+# the file ends with Ctl-E.
+#
+# Stage 2 (tr) turns LF into Ctl-G and Ctl-E into LF. This hides
+# line boundaries and makes each item a separate `line'.
+#
+# Stage 3 (sort) sorts `lines' (i.e. bib entries), ignoring
+# letter case differences.
+#
+# Stage 4 (tr) turns LF into Ctl-E, and Ctl-G back into LF. This
+# restores the original line boundaries.
+#
+# Stage 5 (tr) deletes all Ctl-E and Ctl-F characters.
+#
+# Stage 6 (egrep) removes the sort key lines.
+#
+
+if [ $# -gt 0 ]
+then
+ SORTFLAGS="$*"
+else
+ SORTFLAGS="-f"
+fi
+
+nawk '
+BEGIN {
+ sort_prefix = "\005"
+ sort_key = sort_prefix "%%SORTKEY:"
+ hidden_newline = "\006"
+ print sort_key "\001" hidden_newline
+}
+
+/^@[Pp][Rr][Ee][Aa][Mm][Bb][Ll][Ee]{/ {
+ k = index($0,"{") + 1
+ print sort_key "\002" substr($0,k) hidden_newline
+ printbraceditem()
+ next
+}
+/^@[sS][tT][rR][iI][nN][gG]{/ {
+ k = index($0,"{") + 1
+ m = index($0,"=")
+ print sort_key "\003" substr($0,k,m-k) hidden_newline
+ printbraceditem()
+ next
+}
+
+# "@keyword{tag,"
+/^@[a-zA-Z0-9]*{/ {
+ k = index($0,"{") + 1
+ m = index($0,",")
+ print sort_key "\004" substr($0,k,m-k) hidden_newline
+ print
+ next
+}
+
+{ print }
+
+END { printf(sort_prefix) }
+
+function bracecount(s, k,n)
+{
+ n = 0
+ for (k = 1; k <= length(s); ++k)
+ {
+ if (substr(s,k,1) == "{")
+ n++
+ else if (substr(s,k,1) == "}")
+ n--
+ }
+ return (n)
+}
+
+# Starting with the current contents of $0, print lines until we
+# reach a zero brace count.
+
+function printbraceditem(count)
+{
+ count = bracecount($0)
+ print $0
+ while (count != 0)
+ {
+ if (getline <= 0)
+ break
+ printf("%s\007",$0)
+ count += bracecount($0)
+ }
+}
+' | \
+ tr '\012\005' '\007\012' | \
+ sort ${SORTFLAGS} | \
+ tr '\007\012' '\012\005' | \
+ tr -d '\005\006' | \
+ egrep -v '^%%SORTKEY:'
+################################[The End]###############################
diff --git a/biblio/bibtex/utils/bibsort/bibsort.txt b/biblio/bibtex/utils/bibsort/bibsort.txt
new file mode 100644
index 0000000000..20dffe15cd
--- /dev/null
+++ b/biblio/bibtex/utils/bibsort/bibsort.txt
@@ -0,0 +1,264 @@
+
+
+
+BIBSORT(1) USER COMMANDS BIBSORT(1)
+
+
+
+NAME
+ bibsort - sort a BibTeX bibliography file
+
+SYNOPSIS
+ bibsort [optional sort(1) switches] < infile >outfile
+
+DESCRIPTION
+ bibsort filters a BibTeX bibliography, or bibliography frag-
+ ment, on its standard input, printing on standard output a
+ sorted bibliography.
+
+ Sorting is by BibTeX tag name, or by @String macro name, and
+ letter case is ignored in the sorting.
+
+ If no command-line switches are provided for sort(1), then
+ -f is supplied to cause letter case to be ignored. If you
+ also want to remove duplicate entries, you could specify the
+ switches -f -u.
+
+ The input stream is conceptually divided into four parts,
+ any of which may be absent.
+
+ 1. Introductory material such as comments, file
+ headers, and edit logs that are ignored by BibTeX.
+ No line in this part begins with an at-sign, ``@''.
+
+ 2. Preamble material delineated by ``@Preamble{'' and
+ a matching closing ``}'', intended to be processed
+ by TeX. Normally, there is only one such entry in
+ a bibliography file, although BibTeX, and bibsort,
+ permit more than one.
+
+ 3. Macro definitions of the form ``@String{...}''. A
+ single macro definition may span multiple lines,
+ and there are usually several such definitions.
+
+ 4. Bibliography entries such as ``@Article{...}'',
+ ``@Book{...}'', ``@Proceedings{...}'', and so on.
+ For bibsort, any line that begins with an ``@''
+ immediately followed by letters and digits and an
+ open brace is considered to be such an entry.
+
+ The order of these parts is preserved in the output stream.
+ Part 1 will be unchanged, but parts 2--4 will be sorted
+ within themselves.
+
+ The sort key of ``@Preamble'' entries is their initial line,
+ of ``@String'' entries, the macro name, and of all BibTeX
+ entries, the citation tag between the open curly brace and
+ the trailing comma.
+
+
+
+
+
+Version 0.00 Last change: 13 October 1992 1
+
+
+
+
+
+
+BIBSORT(1) USER COMMANDS BIBSORT(1)
+
+
+
+ bibsort will correctly handle UNIX files with LF line termi-
+ nators, as well as IBM PC DOS files with CR LF line termina-
+ tors; the essential requirement is that input lines be del-
+ ineated by LF characters.
+
+CAVEATS
+ BibTeX has loose syntactical requirements that the current
+ simple implementation of bibsort does not support. In par-
+ ticular, outer parentheses may not be used in place of
+ braces following ``@keyword'' patterns, nor may there be
+ leading or embedded whitespace.
+
+ If you have such a file, you can use bibclean(1) to pretty-
+ print it into a form that bibsort can handle successfully.
+
+ The user must be aware that sorting a bibliography is not
+ without peril, for at least these reasons:
+
+ 1. BibTeX has a requirement that entry tags given in
+ crossref = tag pairs in a bibliography entry must
+ refer to entries defined later, rather than ear-
+ lier, in the bibliography file. This regrettable
+ implementation limitation of the current (pre-1.0)
+ BibTeX prevents arbitrary ordering of entries when
+ crossref values are present.
+
+ 2. If the BibTeX file contains interspersed commentary
+ between ``@keyword{...}'' entries, this material
+ will be considered part of the preceding entry, and
+ will be sorted with it. Leading commentary is more
+ common, and will be moved elsewhere in the file.
+
+ This is normally not a problem for the part 1
+ material before the ``@Preamble'', since it is kept
+ together at the beginning of the output stream.
+
+ 3. Some kinds of bibliography files should be kept in
+ a different order than alphabetically by tags. A
+ good example is a bibliography file with the con-
+ tents of a journal, for which publication order is
+ likely more suitable.
+
+ While a much more sophisticated implementation of bibsort
+ could deal with the first point, solving the second one
+ requires human intelligence and natural language understand-
+ ing that computers lack.
+
+ bibsort uses ASCII control characters 001 through 007 for
+ temporary modifications of the input stream. If any of
+ these are already present in the input, they will be altered
+ on output. This is unlikely to be a problem, because those
+ characters have neither a printable representation, nor are
+
+
+
+Version 0.00 Last change: 13 October 1992 2
+
+
+
+
+
+
+BIBSORT(1) USER COMMANDS BIBSORT(1)
+
+
+
+ they conventionally used to mark line or page boundaries in
+ text files.
+
+PROGRAMMING NOTES
+ Some text editors permit application of an arbitrary filter
+ command to a region of text. For example, in GNU emacs(1),
+ the command C-u M-x shell-command-on-region, or
+ equivalently, C-u M-|, can be used to run bibsort on a
+ region of the buffer that is devoid of cross references and
+ other material that cannot be safely sorted.
+
+ Some implementations of BibTeX editing support in GNU
+ emacs(1) have a sort-bibtex-entries command that is func-
+ tionally similar to bibsort. However, the file size that
+ can be processed by emacs(1) is limited, while bibsort can
+ be used on arbitrarily large files, since it acts as a
+ filter, processing a small amount of data at a time. The
+ sort stage needs the entire data stream, but fortunately,
+ the UNIX sort(1) command is clever enough to deal with very
+ large inputs.
+
+ The current implementation of bibsort follows the UNIX trad-
+ ition of combining simple already-available tools. A six-
+ stage pipeline of egrep(1), nawk(1), sort(1), and tr(1)
+ accomplishes the job in one pass with about 70 lines of
+ shell script, 60 lines of which is a nawk(1) program for
+ insertion of sort keys. bibsort was written and tested on
+ several large bibliographies in a couple of hours. By con-
+ trast, bibtex(1) is more than 11 000 lines of code and docu-
+ mentation, and bibclean(1) is about 1500 lines long.
+
+BUGS
+ bibsort may fail on some UNIX systems if their sort(1)
+ implementations cannot handle very long lines, because for
+ sorting purposes, each complete bibliography entry is tem-
+ porarily folded into a single line. You may be able to
+ overcome this problem by adding a -znnnnn switch to the
+ sort(1) command (passed via the command line to bibsort) to
+ increase the maximum line size to some larger value of nnnnn
+ bytes.
+
+SEE ALSO
+ bibclean(1), bibtex(1), egrep(1), emacs(1), nawk(1),
+ sort(1), tr(1).
+
+AUTHOR
+ Nelson H. F. Beebe, Ph.D.
+ Center for Scientific Computing
+ Department of Mathematics
+ University of Utah
+ Salt Lake City, UT 84112
+ Tel: (801) 581-5254
+
+
+
+Version 0.00 Last change: 13 October 1992 3
+
+
+
+
+
+
+BIBSORT(1) USER COMMANDS BIBSORT(1)
+
+
+
+ FAX: (801) 581-4148
+ Email: <beebe@math.utah.edu>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Version 0.00 Last change: 13 October 1992 4
+
+
+
diff --git a/biblio/bibtex/utils/bibsort/rofvms.awk b/biblio/bibtex/utils/bibsort/rofvms.awk
new file mode 100644
index 0000000000..469786a3c6
--- /dev/null
+++ b/biblio/bibtex/utils/bibsort/rofvms.awk
@@ -0,0 +1,60 @@
+# rofvms.awk -*-awk-*-
+# Filter to convert nroff -man output to VMS .hlp file format according
+# to the rules:
+#
+# 13 or more consecutive blank lines are reduced to 1
+# 3--12 consecutive blank lines are dropped
+# 2 consecutive blank lines are reduced to 1
+# All others output verbatim.
+#
+# The peculiar number 13 handles the case where a paragraph break
+# coincides with a page break.
+#
+# In addition, whenever a line in non-blank in column 1, and then
+# previous line was blank, we insert a blank line; this provides
+# vertical space before a section heading.
+#
+# The output of nroff -man on different UNIX systems is regrettably
+# quite variable in appearance; this file is likely to need
+# modifications on other than Sun OS.
+#
+# Too bad nroff doesn't have an option to suppress titling!
+#
+# The NAME section head becomes 1 DVI, and others become
+# 2 XXX followed by XXX.
+# [05-Aug-89]
+
+# Match and delete page headers: xxx(nnn) .... xxx(nnn)
+/^[A-Za-z][-_A-Za-z0-9]*\([0-9A-Za-z]+\).*[A-Za-z][-_A-Za-z0-9]*\([0-9A-Za-z]+\)$/ {next;}
+
+# Match and delete page footers: Sun Release ...nnn
+# These vary from system to system, so extra patterns may be needed here
+/^Sun Release.*[0-9]+$/ {next;} # Sun OS x.x
+/^Printed.*[0-9]+$/ {next;} # BSD 4.3
+/^Page [0-9].*$/ {next;} # Silicon Graphics
+/^Version.*Last change:/ {next;}# bibclean.txt on SunOS 4.1.1
+
+
+# Match all lines and do blank line processing
+{
+ if (NF == 0) # blank line
+ nb++;
+ else # non blank line
+ {
+ if ((nb == 1) || (nb == 2) || (nb >= 13))
+ printf("\n");
+ else if ((nb > 0) && (substr($0,1,1) != " ") && (nf > 0))
+ printf("\n");
+ if ($0 == "NAME") # level 1 header
+ $0 = "1 DVI";
+ else if (substr($0,1,1) != " ") # level 2 header
+ {
+ header = $0;
+ gsub(/ /,"-",header);
+ $0 = "2 " header "\n " $0;
+ }
+ printf("%s\n",$0);
+ nb = 0;
+ nf++;
+ }
+}
diff --git a/biblio/bibtex/utils/bibtool/README.md b/biblio/bibtex/utils/bibtool/README.md
new file mode 100644
index 0000000000..c52f777fb7
--- /dev/null
+++ b/biblio/bibtex/utils/bibtool/README.md
@@ -0,0 +1,125 @@
+----------------------------------------------------------------------
+
+ ###### ############
+ ####### ############
+ ## ## ##
+ ## ## ## ##### ## #### #### ##
+ ####### ## ###### ## ###### ###### ##
+ ####### ## ## ## ## ## ## ## ## ##
+ ## ## ## ###### ## ## ## ## ## ##
+ ## ## ## ## ## ## ## ## ## ## ##
+ ## ## ## ## ## ## ## ## ## ## ##
+ ####### ## ###### ## ###### ###### #######
+ ###### ## ##### ## #### #### #######
+
+----------------------------------------------------------------------
+
+ BibTool: A Tool for Manipulating BibTeX Data Bases
+
+
+BibTeX provides an easy to use means to integrate citations and
+bibliographies into LaTeX documents. But the user is left alone with
+the management of the BibTeX files. The program BibTool is intended to
+fill this gap. BibTool allows the manipulation of BibTeX files which
+goes beyond the possibilities --- and intentions --- of BibTeX. The
+possibilities of BibTool include
+
+* Pretty-printing BibTeX data bases adjustable by lots of parameters.
+
+* Syntactic checks with error recovery superior to BibTeX and helpful
+ error messages.
+
+* Semantic checks can be specified by the user.
+
+* Sorting and merging of BibTeX data bases according to a free
+ definable sort key.
+
+* Generation of uniform reference keys according to predefined rules
+ or according to an own specification.
+
+* Selecting references used in one publication which are found by
+ analyzing an .aux file.
+
+* Selecting references by a set of criteria (regular expressions).
+
+* Controlled rewriting of fields utilizing regular expressions to
+ specify the rewriting rules.
+
+* Macro (String) expansion to eliminate the need of extra string
+ definitions.
+
+* Collecting statistics about one or more BibTeX data bases.
+
+
+BibTool contains a documentation written in LaTeX of more than 80
+pages (and still growing).
+
+BibTool is written in C and has been compiled on various operating
+systems like flavors of Unix and MSDOG machines. It is distributed in
+source code. No compiled versions are available from the author
+(Useless to ask!).
+
+
+# Binary Distributions
+
+
+There exist binary distributions of BibTool for several operating
+systems. For instance users of Debian based Linux systems can access
+BibTool via their native package manager.
+
+Before installing from the sources you might want to check whether the
+package manager of your system provides a sufficiently recent version
+of BibTool.
+
+
+# CTAN Download
+
+
+BibTool can be obtained from the CTAN archives:
+
+* https://www.ctan.org/tex-archive/biblio/bibtex/utils/bibtool
+
+or via the BibTool home page
+
+* http://www.gerd-neugebauer.de/software/TeX/BibTool
+
+Get the file BibTool-x.xx.tar.gz where x.xx is the version number.
+Unpack it with the command (on Unix)
+
+ gunzip < BibTool-x.xx.tar.gz | tar -xvf -
+
+It will create a directory named BibTool which contains the
+installation instructions in the file install.tex.
+
+A signature for the source bundle is provided as well. My public key
+can be found on http://pgp.mit.edu/. You should search for my email
+address.
+
+
+# Licenses
+
+
+The sources of BibTool are distributed under the GNU General Public
+License version 2 or later.
+
+The documentation is distributed under the Creative Commons
+Attributation-Share Alike 3.0 License.
+
+The distribution of BibTool contains the following third-party
+software which is released under their own licenses:
+
+* GNU regex library 0.12 is located in the directory regex-0.12. It is
+ distributed under the GNU General Public License version 2 or later.
+
+* mkdirchain consists of the file mkdirchain. It is in the public
+ domain.
+
+* install-sh consists of the file install-sh. It is distributed under
+ the MIT license contained in this file.
+
+----------------------------------------------------------------------
+Enjoy it!
+
+Gerd Neugebauer
+mailto:gene@gerd-neugebauer.de
+
diff --git a/biblio/bibtex/utils/bibtool/bibtool.pdf b/biblio/bibtex/utils/bibtool/bibtool.pdf
new file mode 100644
index 0000000000..e084512a48
--- /dev/null
+++ b/biblio/bibtex/utils/bibtool/bibtool.pdf
Binary files differ
diff --git a/biblio/bibtex/utils/bibtool/c_lib.pdf b/biblio/bibtex/utils/bibtool/c_lib.pdf
new file mode 100644
index 0000000000..4588ec95be
--- /dev/null
+++ b/biblio/bibtex/utils/bibtool/c_lib.pdf
Binary files differ
diff --git a/biblio/bibtex/utils/bibtool/ref_card.pdf b/biblio/bibtex/utils/bibtool/ref_card.pdf
new file mode 100644
index 0000000000..2f24c8fc01
--- /dev/null
+++ b/biblio/bibtex/utils/bibtool/ref_card.pdf
Binary files differ
diff --git a/biblio/bibtex/utils/bibtools/README b/biblio/bibtex/utils/bibtools/README
new file mode 100644
index 0000000000..37ee997667
--- /dev/null
+++ b/biblio/bibtex/utils/bibtools/README
@@ -0,0 +1,51 @@
+September 3, 1992
+updated November 12, 1995
+updated October 2000
+
+This is a collection of BibTeX tools written (mostly) by David Kotz.
+I provide them as-is. Use them as you please. Some slight
+modifications may be needed to pathnames embedded in the shell
+scripts, to find the library files they need (sed, awk, and bst
+files).
+
+The programs are:
+
+ aux2bib - given an .aux file, make a portable .bib file to go with
+ it. This is useful when you need to ship a tex file elsewhere
+
+ bibify - this can be used to eliminate one pass of LaTeX in many
+ cases: (latex, bibtex, bibify, latex), instead of (latex, bibtex,
+ latex, latex). Handy for large documents. Does not work with
+ multiple aux files.
+
+ bibkey - make a list of all entries that have the given keyword in
+ their "keyword" field.
+
+ cleantex - really a general tex script, this removes all the
+ little files created by tex and latex as they run, leaving only
+ the original files.
+
+ looktex - makes a list of all entries that match a given regexp
+
+ makebib - makes an exportable .bib file from a given set of bib
+ files and an optional list of citations. Handy for posting bib
+ entries on the net! The portability comes from substituting
+ @strings, and stripping "comment" fields if you like. Ignore the
+ -d option.
+
+ printbib - the most useful of all; this makes a dvi file from a
+ .bib file for handy reference, sorted by cite key and including
+ "keyword", "abstract", and "comment" fields.
+
+ bib2html - produce an browsable html version of the bibliography.
+ There are lots of styles that do slightly different things.
+ See demo.html.
+
+ citekeys - makes a list of all the cite keys (on the @ line)
+
+See the shell scripts for more documentation.
+Otherwise you're on your own. Good luck.
+
+David Kotz
+dfk@cs.dartmouth.edu
+
diff --git a/biblio/bibtex/utils/bibtools/abstract.bst b/biblio/bibtex/utils/bibtools/abstract.bst
new file mode 100644
index 0000000000..209373cef7
--- /dev/null
+++ b/biblio/bibtex/utils/bibtools/abstract.bst
@@ -0,0 +1,1345 @@
+% BibTeX bibliography style `abstract'
+% by David Kotz dfk@cs.duke.edu
+% March 1989, May 1993, November 1995, October 2000
+% modified from
+% BibTeX standard bibliography style `alpha'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+% The 'abstract' section is suited for multi-paragraph abstracts, if
+% necessary, but note that bibtex takes out the blank line that you
+% might use to indicate a new paragraph. Use \par where you want a
+% new paragraph in an abstract or comment.
+
+% DFK added abstract, comment, keyword, url
+ENTRY
+ { abstract
+ address
+ author
+ booktitle
+ chapter
+ comment
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ keyword
+ month
+ note
+ number
+ organization
+ pages
+ private
+ publisher
+ school
+ series
+ title
+ type
+ URL
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ swap$
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+% DFK changed to use cite$ for the label
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ cite$ write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+% DFK added
+FUNCTION {format.abstract}
+{ abstract empty$
+ { "" }
+ { "\begin{quotation}\noindent {\bf Abstract:} "
+ abstract *
+ " \end{quotation}" *}
+ if$
+}
+
+% DFK added
+FUNCTION {format.keyword}
+{ keyword empty$
+ { "" }
+ { "\begin{quote} {\bf Keyword:} " keyword * " \end{quote}" *}
+ if$
+}
+
+% DFK added
+FUNCTION {format.url}
+{ URL empty$
+ { "" }
+ { "\begin{quote} {\bf URL} \verb`" URL * "` \end{quote}" *}
+ if$
+}
+
+% DFK added
+% 5/93 added "private", as part of the comment, if both exist.
+FUNCTION {format.comment}
+{ comment empty$
+ { private empty$
+ { "" }
+ { "\begin{quote} {\bf Private:} " private * " \end{quote}" *}
+ if$
+ }
+ { private empty$
+ { "\begin{quote} {\bf Comment:} " comment * " \end{quote}" *}
+ { "\begin{quote} {\bf Comment:} " comment *
+ " {\bf Private:} " * private *
+ " \end{quote}" * }
+ if$
+ }
+ if$
+}
+
+% DFK added
+FUNCTION {dfk.stuff}
+{ new.block
+ format.URL write$ newline$
+ format.abstract write$ newline$
+ format.keyword write$ newline$
+ format.comment write$ newline$
+}
+
+% DFK: added a call to dfk.stuff in all entry-type functions below
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+ dfk.stuff
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+ dfk.stuff
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ dfk.stuff
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+ dfk.stuff
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+ dfk.stuff
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+ dfk.stuff
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ dfk.stuff
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+ dfk.stuff
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ dfk.stuff
+
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+ dfk.stuff
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+ dfk.stuff
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+ dfk.stuff
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+ dfk.stuff
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ year field.or.null purify$ #-1 #2 substring$
+ *
+ 'label :=
+ year field.or.null purify$ #-1 #4 substring$
+ *
+ sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+% DFK throw away stuff above and use cite$ for sort key
+ pop$
+ cite$
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+FUNCTION {begin.bib}
+{ et.al.char.used
+ { "\newcommand{\etalchar}[1]{$^{#1}$}" write$ newline$ }
+ 'skip$
+ if$
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" * write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/utils/bibtools/aux2bib b/biblio/bibtex/utils/bibtools/aux2bib
new file mode 100644
index 0000000000..ee2d052b2e
--- /dev/null
+++ b/biblio/bibtex/utils/bibtools/aux2bib
@@ -0,0 +1,68 @@
+#!/usr/local/bin/perl -s
+#
+# take a latex AUX file and change the bibstyle to subset or subset-nocomment
+# depending on if the -c flag was given (-c means use comments), then rename
+# the modified file to references.aux, run bibtex on it, rename the file
+# references.bbl to references.bib and delete references.{aux,blg}. This
+# results in a BibTeX file which can be shipped with the latex source of the
+# paper. The \bibliography{} command in the latex file will need to be changed
+# to use the newly generated bibliography.
+#
+# assumes subset.bst and subset-nocomment.bst are in the input path
+#
+# V. Khera 07-AUG-1992
+# khera@cs.duke.edu
+
+$tmpfile = "refs$$";
+$outfile = "references.bib";
+
+$SIG{'INT'} = 'handler';
+$SIG{'QUIT'} = 'handler';
+$SIG{'TERM'} = 'handler';
+$| = 1; # make sure output is flushed after print.
+
+sub handler {
+ local($sig) = @_;
+ print "Got a SIG$sig -- cleaning up\n";
+ &cleanup;
+ exit 1;
+}
+
+sub cleanup {
+ unlink <$tmpfile.*>;
+}
+
+$bibstyle = defined($c) ? "subset" : "subset-nocomment";
+
+die "usage: $0 [-c] <auxfile>\n" unless $#ARGV == 0;
+
+$infile = shift;
+
+# canonicalize the name to end i .aux. assumes file is in current directory,
+# even though a path may have been specified. tough noogies, i say!
+$infile =~ s#(.*/)?([^.]*).*#\2.aux#;
+
+die "No such file $infile\n" unless -f $infile;
+
+open(INF,$infile) || die "Cannot read $infile\n";
+@auxdata = <INF>; # slurp the whole file in
+close(INF);
+
+# create a new AUX file with subset bibstyle specified.
+@result = grep(m/(\\citation|\\bibdata).*/ , @auxdata);
+die "No citations or data files specified in $infile\n" unless @result;
+push(@result,"\\bibstyle{$bibstyle}\n");
+
+open (OUTF,">$tmpfile.aux") || die "Cannot create temp file\n";
+print OUTF @result;
+close(OUTF);
+
+print "Running bibtex...\n";
+
+$result = system "bibtex $tmpfile";
+die "Error running bibtex\n" unless ($result >> 8) == 0;
+rename ("$tmpfile.bbl", $outfile);
+
+print "Output is in $outfile\n";
+
+&cleanup;
diff --git a/biblio/bibtex/utils/bibtools/bib.html b/biblio/bibtex/utils/bibtools/bib.html
new file mode 100644
index 0000000000..f25c78d273
--- /dev/null
+++ b/biblio/bibtex/utils/bibtools/bib.html
@@ -0,0 +1,37 @@
+<HTML>
+<HEAD><TITLE> Bibliography </TITLE></HEAD>
+<BODY BGCOLOR=#EEEEEE>
+<DL>
+
+<DT><A NAME="kotz:addrtrace"
+ HREF="file://cs.dartmouth.edu/pub/CS-papers/Kotz/kotz:addrtrace.ps.Z">
+ [KC94]</A></DT>
+<DD>
+David Kotz and Preston Crow.
+<STRONG>The expected lifetime of ``single-address-space'' operating
+ systems</STRONG>.
+In <EM>Proceedings of the 1994 ACM Sigmetrics Conference on Measurement and
+ Modeling of Computer Systems</EM>, pages 161-170, May 1994.
+</DD>
+
+<DT> <A NAME="kotz:pools"> [KE89]</A> </DT>
+<DD>
+David Kotz and Carla Ellis.
+<STRONG>Evaluation of concurrent pools</STRONG>.
+In <EM>Proceedings of the Ninth International Conference on Distributed
+ Computer Systems</EM>, pages 378-385, 1989.
+</DD>
+
+<DT><A NAME="kotz:thesis" HREF="file://cs.duke.edu/dist/theses/kotz/kotz.ps.Z">
+ [Kot91]</A></DT>
+<DD>
+David Kotz.
+<STRONG>Prefetching and Caching Techniques in File Systems for MIMD
+ Multiprocessors</STRONG>.
+PhD thesis, Duke University, April 1991.
+Available as technical report CS-1991-016.
+</DD>
+
+</DL>
+</BODY>
+</HTML>
diff --git a/biblio/bibtex/utils/bibtools/bib2html b/biblio/bibtex/utils/bibtools/bib2html
new file mode 100644
index 0000000000..11cc761767
--- /dev/null
+++ b/biblio/bibtex/utils/bibtools/bib2html
@@ -0,0 +1,271 @@
+#!/usr/bin/perl
+#
+# bib2html - make an html file that is equivalent to the bib files,
+# using one of the html bib styles
+#
+# usage:
+$usage = "usage: $0 {alpha|index|long|longp|long-pario|short|short-pario|cv} [-o <outfile>] file.bib...\
+OR \
+$0 [ {alpha|index|long|longp|long-pario|short|short-pario|cv} ] [-o <outfile>] -a file.aux";
+# Output is to bib.html.
+# alpha makes a bibliography like bibstyle{alpha}
+# long makes a bibliography like bibstyle{abstract}
+# short makes a bibliography like bibstyle{alpha}, but with citekey for tags
+# cv lists title first, does not print key, does not sort
+# (useful for listing your papers on your home page)
+#
+# David Kotz 7/94
+# dfk@cs.dartmouth.edu
+
+# updated Dan Gildea 1/2003:
+# . now handles nested \bf \em etc correctly
+# . added some more accents
+# . new -a file.aux usage to use existing .aux file, useful to
+# list only papers cited by a given latex document
+# http://www.cs.rochester.edu/~gildea/
+
+# updated 2/2004, thanks to Juergen Vollmer
+# a) allowing \emph{..}, \texttt{...} and \textbf{..}
+# b) setting the environment variable BSTINPUTS to directory from $0
+# c) if run on existing .aux file, bibstyle is now optional on the command line.
+# if not bib style nor specified on command line, uses the html version
+# of bib style from original document.
+
+use File::Basename;
+use File::Spec::Functions;
+
+$tmp = "/tmp/bib2html$$";
+
+my $cmd_dir = catfile (dirname ($0),
+ dirname ((defined readlink($0)) ? readlink($0) : $0));
+
+$ENV{BSTINPUTS} .= ":$cmd_dir";
+
+if ( scalar(@ARGV) < 2 ) {
+ die "$usage\n";
+}
+
+
+## pick up the args
+my %Opts; # will hold the option values
+
+if ($ARGV[0] !~ /^-/) {
+ $Opts{style} = shift @ARGV;
+}
+while ($ARGV[0] =~ /^-/) {
+ $tmpArg = shift @ARGV;
+ if ($tmpArg eq "-o" ) {
+ $Opts{outfile} = shift @ARGV;
+ } elsif ($tmpArg eq "-a" ) {
+ $Opts{auxfile} = shift @ARGV;
+ }
+}
+
+$Opts{outfile} = "bib.html" if ( !defined ($Opts{outfile}) );
+
+$SIG{INT} = \&cleanup;
+
+print "Creating $tmp.aux for $files\n";
+open AUX, ">$tmp.aux";
+
+if ($Opts{auxfile}) {
+ system "ls";
+ open(AUXIN, $Opts{auxfile}) || die "could not open $Opts{auxfile}";
+ while (<AUXIN>) {
+ # if style not specified on command line, use html version
+ # of style specified in .aux file
+ s/^\\bibstyle\{([^\}]*)\}/"\\bibstyle{html-".($Opts{style}||$1)."}"/e;
+ print AUX;
+ }
+} else {
+ if (!defined $Opts{style}) {
+ die "bib style not defined";
+ }
+ ## get all the remaining file names
+ my $files = killSuffix ( shift @ARGV );
+ foreach $file ( @ARGV ) {
+ $files .= ','; # make sure the list is comma delimited, bibtex needs it
+ $files .= killSuffix ($file);
+ }
+
+
+## need double slashes here to go around slash interpretation
+## only one is printed
+ print AUX <<EOF;
+\\relax
+\\citation{*}
+\\bibstyle{html-$Opts{style}}
+\\bibdata{$files}
+EOF
+}
+close AUX;
+
+unlink <$tmp.{bbl,blg}>;
+
+if (-r "html-split.bst.gz" ) {
+ system ( "gunzip html-split.bst.gz" );
+}
+
+print "bibtex $tmp\n";
+
+system "bibtex $tmp";
+
+print "Bibtex done\n\n";
+
+
+## -------------------------------------------------------------------
+## the cleanup operation
+open BBL, "$tmp.bbl";
+open OUT, ">$Opts{outfile}";
+
+## stack of formatted text types that were started and did not finish on teh same line
+## elements are em, tt or b or i and when a candidate for a format-closing brace is found
+## this stack will be popped to see which format we have to close
+my @formatsToClose;
+
+while ( <BBL> ) {
+
+
+ ## accent handlers
+ ## these are quite definite about their replacemnets and so should
+ ## come before the more generic operations later
+ ## all braces in the latex constructs are optional
+ ## info on the html codes can be found at http://www.w3.org/TR/REC-html40/
+ ## \\? is to handle latex \'\i which you do to put acute on i without dot
+ s/\\ \` (?: \{ )? \\? ([aeiouAEIOU]) (?: \} )?
+ /&$1grave;/gx; # grave accent
+ s/ \\ \' (?: \{ )? \\? ([aeiouAEIOU]) (?: \} )?
+ /&$1acute;/gx; # 'acute accent
+ s/ \\ \^ (?: \{ )? \\? ([aeiouAEIOU]) (?: \} )?
+ /&$1circ;/gx; # circumflex
+ s/ \\ \" (?: \{ )? \\? ([aeiouyAEIOUY]) (?: \} )?
+ /&$1uml;/gx; # "umlaut
+ s/ \\ \~ (?: \{ )? \\? ([anoANO]) (?: \} )?
+ /&$1tilde;/gx; # tilde
+ s/ \\ c (?: \{ )? ([cC]) (?: \} )?
+ /&$1cedil;/gx; # cedilla
+ s/ \\ [v\'] (?: \{ )? ([cC]) (?: \} )?
+ /$1/gx; # no html code for czech hook
+ s/ \{? \\[s\"]s \}?
+ /&szlig;/gx; # german Scharf-S
+
+ ## several weird symbols
+ s/ \\copyright
+ /&copy;/gx;
+ s/ \\pounds
+ /&pound;/gx;
+
+ ## weirder symbols
+ s/ \\ (ae|AE)
+ /&$1lig;/gx;
+ s/ \\ (o|O)
+ /&$1slash;/gx;
+ s/ \\ss
+ /&szlig;/gx;
+
+ ## greek letters, case insensitive matching, but upper case in latex and
+ ## html have the first letter of the english word capitalized
+ s/ \\ (?: var )? (alpha|beta|gamma|delta|epsilon|theta|lambda|pi|rho|sigma|omega)
+ /&$1;/gxi;
+
+ ## remove any \/ space-increasing symbols
+ s+ ([^\\]) \\ \/
+ +$1+gx;
+
+ s+ \\ \ + +gx;
+
+ ## deal with \cite stuff, change it to a link to a record the same html file
+ s+ ([^\\]) \\cite\{ (.*?) \}
+ +$1<a href="#$2">$2</a>+xg;
+
+ ## These rules are to deal with my (DFK) macros
+ s/\\ie/i.e./g;
+ s/\\eg/e.g./g;
+ s/\\etc/etc./g;
+ s+\\vs\\+<EM>vs.</EM>+g;
+ s/\\usec/usec/g;
+ s/\\mbox //g;
+ s/\\par / <P> /g;
+ s/\\par$/ <P>/g;
+
+
+ s/\\\&/\&amp;/g; # ampersand
+
+ s/-{2,3}/-/g; # multiple dashes
+
+# a few rules are needed to compensate for BibTeXs way of splitting
+# long words over two lines by sticking a % (TeX comment character) at
+# the end of the line. This works when one word (usually a URL) is
+# split over more than one line.
+ ## if we have an unescaped % at the end of the line, remove it and the newline and
+ ## join the next line on
+ ## example straight out of the camel book, pg 204. amazing
+ if ( s/ ([^\\]) \% \n$ /$1/x and $nextline = <BBL> ) {
+ $_ .= $nextline;
+ redo; # back to the top
+ }
+
+# hyphenation characters should be removed
+ s+\\-++g;
+
+# tildes -
+# tilde not preceded by \ or / is a nbsp
+# \~{} is ~ (likely in a URL)
+# all other tildes left alone, notably /~ (URL)
+ s+ ([^\\/]) ~ +$1&nbsp;+xg; # normal standalone tilde - nbsp
+ s/ \\~ \{\} /~/xg; # \~{} to ~ - do before removing braces below
+
+ ## --------------------------------------------------------
+ ## deal with em and tt and bf text surrounded by braces
+ ## deal with \emph{..}, \texttt{...} and \textbf{..}
+
+ ## the fancy groupings around the em etc are because in html bold font is not 'bf'
+ ## but just b and italic is i not 'it' so we have to pick out only a part of those
+ ## latex tags
+ ## final |\w+ is to skip over \rm or any other commands we don't handle
+ ## also removes braces with no command
+
+ while ( /(text(b)f|text(tt)|(em)ph)?([\{\}])/ ) {
+ if (defined $1) {
+ my $cmd = "$1";
+ my $fmt = $2 || $3 || $4;
+ s/\\$cmd\{/<$fmt>/;
+ push ( @formatsToClose, $fmt )
+ } elsif ($5 eq '{') {
+ ## beginning of format
+ s/ \{ (?: \\ (?: (em)|(b)f|(tt)|(i)t|\w+ ) )? \s*
+ / ( $format = $1 or $2 or $3 or $4 ) ? "<$format>" : '' /ex ;
+ ## push the format to be closed onto the stack (may be nothing)
+ push ( @formatsToClose, $format )
+ } else {
+ ## pop format to close from stack
+ s+ \s*\}
+ + ( $format = pop (@formatsToClose) ) ? "</$format>" : '' +ex ;
+ }
+ }
+
+ ## --------------------------------------------------------
+
+ ##retrieve symbols escaped by backslashes
+ my $escapedChars = quotemeta ( '#$%&_{}' );
+ s/ ([^\\]) \\ ([$escapedChars])
+ /$1$2/gxo;
+
+ print OUT $_;
+}
+
+
+print "\n";
+print "\noutput is in $Opts{outfile}\n";
+
+cleanup();
+
+sub killSuffix {
+ $file = shift();
+ ( $name, $path ) = fileparse ( $file, '\.[^.]*$' ); # the pattern indicates what a suffix looks like
+ return ($path . $name);
+}
+
+sub cleanup {
+ unlink ( glob ("$tmp.{aux,bbl,blg}") );
+}
diff --git a/biblio/bibtex/utils/bibtools/bibify b/biblio/bibtex/utils/bibtools/bibify
new file mode 100644
index 0000000000..4d33d9c1d9
--- /dev/null
+++ b/biblio/bibtex/utils/bibtools/bibify
@@ -0,0 +1,37 @@
+#!/bin/csh -f
+
+if ($1 !~ *.aux) then
+ set input=$1.aux
+ set bbl = $1.bbl
+else
+ set input=$1
+ set bbl=$1:r.bbl
+endif
+
+set file=/tmp/bibify$$
+onintr clean
+
+cat $input > $file
+
+set style=`sed -n 's/\\bibstyle{\(.*\)}/\1/p' $input`
+
+switch($style)
+case "alpha":
+case "abstract":
+ cat $bbl | sed -n 's/bibitem\[\(.*\)\]{\(.*\)}/bibcite{\2}{\1}/p' >> $file
+ breaksw
+case "plain":
+case "unsrt":
+case "abbrv":
+ cat $bbl | sed -n 's/bibitem/bibcite/p'| awk '{print $1"{"NR"}"}' >> $file
+ breaksw
+default:
+ echo unknown bibliography style, cannot bibify.
+ goto clean
+endsw
+
+mv $file $input
+
+clean:
+/bin/rm -f $file.* >& /dev/null
+
diff --git a/biblio/bibtex/utils/bibtools/bibkey b/biblio/bibtex/utils/bibtools/bibkey
new file mode 100644
index 0000000000..551f21a8ec
--- /dev/null
+++ b/biblio/bibtex/utils/bibtools/bibkey
@@ -0,0 +1,56 @@
+#!/bin/csh -f
+#
+# bibkey - look for a word in the keyword field
+# in the references in a BiBTeX file. A restricted form of looktex, in
+# that bibkey only looks at "keyword" fields of the entries.
+#
+# David Kotz (dfk@cs.dartmouth.edu)
+#
+# usage:
+# bibkey keyword file...
+#
+# Warning: Any characters in keyword that have meanings in regexps
+# used by either sed or egrep must be escaped with a \ (the most
+# likely occurrence might be \ itself: use \\). Case is ignored in
+# the search.
+#
+# Multiple keywords may be specified with an egrep alternation format:
+# eg bibkey 'jones|smith' foo.bib
+#
+# Actually, any egrep expression is allowed.
+# Be sure to quote it properly.
+#
+
+set L=~/lib
+
+if ($#argv < 2) then
+ echo usage: bibkey keyword 'file...'
+ exit 1
+endif
+
+set keyword=`echo "$1" | tr A-Z a-z`
+shift
+
+set script=/tmp/bibkey$$
+onintr cleanup
+
+# Search for the keyword and get a script for extracting the
+# references:
+# Cat the files
+# Strip comment lines and comments on lines
+# Translate to lower case (needs to precede sed and egrep)
+# Extract the keyword entries, plus number for lines with @
+# Search for the keyword
+# Convert this output into a sed script
+cat $* \
+ | sed -e 's/^%.*//' -e 's/\([^\\]\)%.*/\1/' \
+ | tr A-Z a-z \
+ | sed -n -f $L/bibkey.sed \
+ | egrep '^[0-9]*$|'"($keyword)" \
+ | awk -f $L/bibkey.awk > $script
+
+# Now have sed print out the correct entries:
+cat $* | sed -n -f $script
+
+cleanup:
+rm -f $script
diff --git a/biblio/bibtex/utils/bibtools/bibkey.awk b/biblio/bibtex/utils/bibtools/bibkey.awk
new file mode 100644
index 0000000000..b296f656ca
--- /dev/null
+++ b/biblio/bibtex/utils/bibtools/bibkey.awk
@@ -0,0 +1,33 @@
+# bibkey.awk
+#
+# Goes with bin/bibkey - look for a word in the keyword entry
+#
+# David Kotz (dfk@cs.dartmouth.edu)
+#
+# On stdin, we get a list of line numbers of the beginning of entries
+# (in the concatenated bibtex input) and the text of lines from keyword
+# entries that have the keyword in them.
+#
+# On stdout, we produce a sed script for printing entries that had a
+# match in them somewhere. This is a list of lines like "A,Bp" where A
+# and B are line numbers.
+
+BEGIN {found=0; last=1}
+
+{
+# test: is line a number?
+ if ($1+0 > 0) {
+ if (found) {
+ print last "," $1-1 "p";
+ found=0
+ }
+ last=$1
+ } else {
+ found = 1
+ }
+}
+
+END {
+ if (found)
+ print last ",$p";
+}
diff --git a/biblio/bibtex/utils/bibtools/bibkey.sed b/biblio/bibtex/utils/bibtools/bibkey.sed
new file mode 100644
index 0000000000..f203adb66f
--- /dev/null
+++ b/biblio/bibtex/utils/bibtools/bibkey.sed
@@ -0,0 +1,32 @@
+# bibkey.sed
+#
+# Goes with bin/bibkey - look for a word in the keyword entry
+#
+# David Kotz (dfk@cs.dartmouth.edu)
+#
+# On stdin, we get a lowercased bibtex file with comments stripped.
+#
+# On stdout, we produce a list of line numbers that are the starting
+# line number of each reference, and the text of all "keyword"
+# entries on separate lines.
+
+# the idea is to get @ line numbers and all keywords
+# @ entry
+/^[ ]*@.*/=
+# one-line keyword entry
+s/[ ]*keyword[ ]*=[ ]*"\(.*\)".*/\1/p
+t
+# start of multi-line keyword entry
+s/[ ]*keyword[ ]*=[ ]*"\(.*\)/\1/
+t partial
+b
+# Handle multi-line keyword entry: save this line, repeatedly add
+# lines until close quote forces output
+:partial
+N
+s/\(.*\n.*\)".*/\1/
+t done
+b partial
+:done
+s/\n/ /g
+p
diff --git a/biblio/bibtex/utils/bibtools/bibtex-extras.el b/biblio/bibtex/utils/bibtools/bibtex-extras.el
new file mode 100644
index 0000000000..5a268e072b
--- /dev/null
+++ b/biblio/bibtex/utils/bibtools/bibtex-extras.el
@@ -0,0 +1,22 @@
+;; these are things I put in my .emacs
+;; David Kotz dfk@cs.dartmouth.edu
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;; Add bibtex mode
+(autoload 'bibtex-mode "bibtex" "Bibtex mode" t)
+; and redefine some of the key bindings
+; and add my favorite extra fields
+(setq bibtex-mode-hook
+ '(lambda ()
+;; (define-key bibtex-mode-map "\C-c\C-\'" 'bibtex-remove-double-quotes)
+ (define-key bibtex-mode-map [?\C-c ?\C-'] 'bibtex-remove-double-quotes)
+ (define-key bibtex-mode-map "\C-c\C-eI" 'bibtex-InBook)
+ (define-key bibtex-mode-map "\C-c\C-e\C-i" 'bibtex-InProceedings)
+ (define-key bibtex-mode-map "\C-c\C-eM" 'bibtex-Manual)
+ (define-key bibtex-mode-map "\C-c\C-e\C-m" 'bibtex-Misc)
+ (setq bibtex-mode-user-optional-fields '("URL" "keyword" "private" "comment"))
+ )
+ )
+
+(setq auto-mode-alist (cons (cons "\\.bib$" 'bibtex-mode) auto-mode-alist))
+
diff --git a/biblio/bibtex/utils/bibtools/citekeys b/biblio/bibtex/utils/bibtools/citekeys
new file mode 100644
index 0000000000..dfcc3aa346
--- /dev/null
+++ b/biblio/bibtex/utils/bibtools/citekeys
@@ -0,0 +1,52 @@
+#!/bin/csh -f
+#
+# citekeys - print out all the cite keys in given bib files
+#
+# usage:
+# citekeys file.bib...
+#
+
+onintr cleanup
+
+if ($#argv < 1) then
+ echo 'usage: citekeys file.bib...'
+ exit 1
+endif
+
+unset files
+foreach i ($*)
+ if ($i:e == bib) then
+ set file=$i:r
+ else
+ set file=$i
+ endif
+
+ if ($?files) then
+ set files=($files,$i)
+ else
+ set files=($file)
+ endif
+end
+
+echo creating citekeys.aux for $files
+
+cat > citekeys.aux <<EOF
+\relax
+\citation{*}
+\bibstyle{citekeys}
+\bibdata{$files}
+EOF
+
+rm -f citekeys.{log,dvi,bbl,blg}
+
+echo bibtex citekeys
+bibtex citekeys
+
+mv citekeys.bbl citekeys.out
+
+echo ""
+echo output is in citekeys.out
+
+cleanup:
+rm -f citekeys.{tex,aux,log,dvi,bbl,blg}
+
diff --git a/biblio/bibtex/utils/bibtools/citekeys.bst b/biblio/bibtex/utils/bibtools/citekeys.bst
new file mode 100644
index 0000000000..0632e0dbf0
--- /dev/null
+++ b/biblio/bibtex/utils/bibtools/citekeys.bst
@@ -0,0 +1,60 @@
+% BibTeX bibliography style `citekeys
+% by David Kotz dfk@cs.dartmouth.edu
+% March 1994
+% modified (distantly) from
+ % BibTeX standard bibliography style `alpha'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+ENTRY { author } {} {}
+
+FUNCTION {article} {}
+FUNCTION {book} {}
+FUNCTION {booklet} {}
+FUNCTION {inbook} {}
+FUNCTION {incollection} {}
+FUNCTION {inproceedings} {}
+FUNCTION {conference} {}
+FUNCTION {manual} {}
+FUNCTION {mastersthesis} {}
+FUNCTION {misc} {}
+FUNCTION {phdthesis} {}
+FUNCTION {proceedings} {}
+FUNCTION {techreport} {}
+FUNCTION {unpublished} {}
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+MACRO {feb} {"February"}
+MACRO {mar} {"March"}
+MACRO {apr} {"April"}
+MACRO {may} {"May"}
+MACRO {jun} {"June"}
+MACRO {jul} {"July"}
+MACRO {aug} {"August"}
+MACRO {sep} {"September"}
+MACRO {oct} {"October"}
+MACRO {nov} {"November"}
+MACRO {dec} {"December"}
+
+READ
+
+FUNCTION {presort}
+{ cite$
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+FUNCTION {cite.key.only} { cite$ write$ newline$ }
+
+ITERATE {cite.key.only}
diff --git a/biblio/bibtex/utils/bibtools/cleantex b/biblio/bibtex/utils/bibtools/cleantex
new file mode 100644
index 0000000000..14d8bd29a0
--- /dev/null
+++ b/biblio/bibtex/utils/bibtools/cleantex
@@ -0,0 +1,19 @@
+#!/bin/csh
+#
+# cleantex - clean up files related to Latex processing
+#
+# usage - cleantex [base]...
+# default is \*, ie, to remove all latex extraneous files.
+# Otherwise, those beginning with 'base.' are removed.
+#
+# No csh -f flag so that we get safe-rm instead of rm, where appropriate.
+
+set extensions="{dvi,aux,log,toc,lof,bbl,blg,lot,inx}"
+
+if ($#argv == 0) then
+ rm -f *~ *.$extensions
+else
+ foreach i ($*)
+ rm -f $i.tex~ $i.$extensions
+ end
+endif
diff --git a/biblio/bibtex/utils/bibtools/demo.bib b/biblio/bibtex/utils/bibtools/demo.bib
new file mode 100644
index 0000000000..b8b493eaaf
--- /dev/null
+++ b/biblio/bibtex/utils/bibtools/demo.bib
@@ -0,0 +1,81 @@
+% BibTeX bibliography file
+
+@InProceedings{kotz:addrtrace,
+ author = {David Kotz and Preston Crow},
+ title = {The Expected Lifetime of ``Single-Address-Space'' Operating
+ Systems},
+ booktitle = {Proceedings of the 1994 ACM Sigmetrics Conference on Measurement
+ and Modeling of Computer Systems},
+ year = {1994},
+ month = {May},
+ pages = {161--170},
+ URL = {file://cs.dartmouth.edu/pub/CS-papers/Kotz/kotz:addrtrace.ps.Z},
+ keyword = {operating system, wide address space, virtual memory, memory
+ management, dfk},
+ abstract = {Trends toward shared-memory programming paradigms, large (64-bit)
+ address spaces, and memory-mapped files have led some to propose the use of a
+ single virtual-address space, shared by all processes and processors. Typical
+ proposals require the single address space to contain all process-private
+ data, shared data, and stored files. To simplify management of an address
+ space where stale pointers make it difficult to re-use addresses, some have
+ claimed that a 64-bit address space is sufficiently large that there is no
+ need to ever re-use addresses. Unfortunately, there has been no data to
+ either support or refute these claims, or to aid in the design of appropriate
+ address-space management policies. In this paper, we present the results of
+ extensive kernel-level tracing of the workstations in our department, and
+ discuss the implications for single-address-space operating systems. We found
+ that single-address-space systems will not outgrow the available address
+ space, but only if reasonable space-allocation policies are used, and only if
+ the system can adapt as larger address spaces become available.}
+}
+
+@InProceedings{kotz:pools,
+ author = {David Kotz and Carla Ellis},
+ title = {Evaluation of Concurrent Pools},
+ booktitle = {Proceedings of the Ninth International Conference on Distributed
+ Computer Systems},
+ year = {1989},
+ pages = {378--385},
+ keyword = {dfk, concurrent pool, concurrent data structure},
+ comment = {also Duke TR CS-1987-30, kotz:poolsTR}
+}
+
+@PhdThesis{kotz:thesis,
+ author = {David Kotz},
+ title = {Prefetching and Caching Techniques in File Systems for {MIMD}
+ Multiprocessors},
+ year = {1991},
+ month = {April},
+ school = {Duke University},
+ note = {Available as technical report CS-1991-016.},
+ URL = {file://cs.duke.edu/dist/theses/kotz/kotz.ps.Z},
+ keyword = {dfk, parallel file system, prefetching, MIMD, disk caching,
+ parallel I/O, pario bib},
+ abstract = {The increasing speed of the most powerful computers, especially
+ multiprocessors, makes it difficult to provide sufficient I/O bandwidth to
+ keep them running at full speed for the largest problems. Trends show that
+ the difference in the speed of disk hardware and the speed of processors is
+ increasing, with I/O severely limiting the performance of otherwise fast
+ machines. This widening access-time gap is known as the ``I/O bottleneck
+ crisis.'' One solution to the crisis, suggested by many researchers, is to
+ use many disks in parallel to increase the overall bandwidth. This
+ dissertation studies some of the file system issues needed to get high
+ performance from parallel disk systems, since parallel hardware alone cannot
+ guarantee good performance. The target systems are large MIMD multiprocessors
+ used for scientific applications, with large files spread over multiple disks
+ attached in parallel. The focus is on automatic caching and prefetching
+ techniques. We show that caching and prefetching can transparently provide
+ the power of parallel disk hardware to both sequential and parallel
+ applications using a conventional file system interface. We also propose a
+ new file system interface (compatible with the conventional interface) that
+ could make it easier to use parallel disks effectively. Our methodology is a
+ mixture of implementation and simulation, using a software testbed that we
+ built to run on a BBN GP1000 multiprocessor. The testbed simulates the disks
+ and fully implements the caching and prefetching policies. Using a synthetic
+ workload as input, we use the testbed in an extensive set of experiments. The
+ results show that prefetching and caching improved the performance of
+ parallel file systems, often dramatically.},
+ comment = {Published as kotz:prefetch, kotz:jwriteback, kotz:jpractical,
+ kotz:fsint2.}
+}
+
diff --git a/biblio/bibtex/utils/bibtools/demo.html b/biblio/bibtex/utils/bibtools/demo.html
new file mode 100644
index 0000000000..b137af9884
--- /dev/null
+++ b/biblio/bibtex/utils/bibtools/demo.html
@@ -0,0 +1,83 @@
+
+<HTML>
+<HEAD><TITLE> bib2html demo </TITLE></HEAD>
+<BODY>
+
+<H1> bib2html demo </H1>
+
+<P>
+
+<B>bib2html</B> is a combination of a shell script and two
+BibTeX-style files. bib2html takes the name of a style and a list of
+.bib file names, and runs BibTeX to produce an output file bib.html.
+This demo page assumes that you have run either
+<CODE> bib2html alpha demo.bib </CODE>
+or
+<CODE> bib2html abstract demo.bib, </CODE>
+and that the output
+<A HREF="bib.html"> bib.html </A>
+remains in the same directory as this
+file. (Note: the abstracting style will often produce some warning
+messages from bibtex if the abstracts or comments are too long, but
+the resulting HTML is still usable.)
+</P>
+
+<P>
+
+One of the neat things about bib2html is that you can put a <EM> URL
+</EM> field in your bib entries, and that URL will be used to make the
+entry's label into a Web link. Usually, the URL would point to the
+paper itself (e.g., compressed postscript in an ftp archive, or
+perhaps even an HTML-format paper), but it could of course point to
+anything. Thus you can expand your idea of what bib entries might
+reference....
+
+</P>
+
+<P>
+
+One of the other neat things about bib2html is that you can put
+citations to the bibliography in other pages, much like you can in
+LaTeX. The difference is that the citations are <EM>links</EM> to the
+bibliography page. For example, I can refer one of my recent papers
+in the demo bibliography
+
+<A HREF="bib.html#kotz:addrtrace"> [KC94b]. </A>
+(View the source of this page to see how it's done). That one has the
+paper's text on-line. My PhD thesis is
+<A HREF="bib.html#kotz:thesis"> [Kot91]. </A>
+Another paper does not have any on-line version
+<A HREF="bib.html#kotz:pools"> [KE89]. </A>
+
+</P>
+
+<P>
+
+Notice that I use the cite key for the anchor label, rather than the
+label chosen by BibTeX. This has two main benefits: it makes the
+citation (URL) more like that in LaTeX, and it makes the citation
+independent of the format of the bibliography page (and the way it
+chooses labels).
+
+</P>
+
+<P>
+
+One disadvantage is that there is no way to automatically generate the
+citation labels at the point of reference, like BibTeX's
+cross-referencing capability. Another disadvantage is that bib2html
+doesn't understand arbitrary LaTeX commands. Although it converts
+most accents, \bf, \em, etc to HTML,
+any fancier embedded LaTeX or TeX commands are just
+passed through. If you need a pretty bibliography,
+you'll have to edit those by hand.
+
+</P>
+
+<A HREF="http://www.ctan.org/tex-archive/biblio/bibtex/utils/bibtools/">bib2html source</A>.
+
+<HR>
+
+-- David Kotz
+</BODY>
+</HTML>
diff --git a/biblio/bibtex/utils/bibtools/html-alpha.bst b/biblio/bibtex/utils/bibtools/html-alpha.bst
new file mode 100644
index 0000000000..9c991dd1b1
--- /dev/null
+++ b/biblio/bibtex/utils/bibtools/html-alpha.bst
@@ -0,0 +1,1286 @@
+% BibTeX bibliography style `html-alpha'
+% spits out HTML-formatted bibliography in place of bbl output
+% by David Kotz dfk@cs.dartmouth.edu
+% $Id: html-alpha.bst,v 1.2 2003/01/10 19:35:22 dgildea Exp $
+% modified from
+% BibTeX standard bibliography style `alpha'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+% DFK added abstract, comment, keyword, url
+ENTRY
+ { abstract
+ address
+ author
+ booktitle
+ chapter
+ comment
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ keyword
+ month
+ note
+ number
+ organization
+ pages
+ private
+ publisher
+ school
+ series
+ title
+ type
+ URL
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block}
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+% DFK changed to HTML, and use URL to make cite key a link
+FUNCTION {output.bibitem}
+{ newline$
+ URL empty$
+ { "<DT> <A NAME=" quote$ * cite$ * quote$ *
+ "> [" * label * "]</A> </DT>" * write$
+ }
+ { "<DT><A NAME=" quote$ * cite$ * quote$ * " HREF=" * quote$ *
+ URL * quote$ * "> [" * label * "]</A></DT>" * write$
+ }
+ if$
+ newline$
+ "<DD>" write$ newline$
+ ""
+ before.all 'output.state :=
+}
+
+% DFK changed to HTML
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+ "</DD>" write$ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+% DFK changed to HTML
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<EM>" swap$ * "</EM>" * }
+ if$
+}
+
+% DFK added for HTML strong emphasis
+FUNCTION {strong}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<STRONG>" swap$ * "</STRONG>" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et&nbsp;al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+% DFK added strong, so it will be bold.
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ strong }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+% DFK changed emphasize to strong
+FUNCTION {format.btitle}
+{ title strong
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "&nbsp;" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et&nbsp;al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et&nbsp;al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+
+% DFK changed {\etalchar{+}} to + for HTML
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "+" *
+ #1 'et.al.char.used :=
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "+" *
+ #1 'et.al.char.used :=
+ }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ year field.or.null purify$ #-1 #2 substring$
+ *
+ 'label :=
+ year field.or.null purify$ #-1 #4 substring$
+ *
+ sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+% DFK removed code about et.al.char
+% DFK changed to HTML
+FUNCTION {begin.bib}
+{ "<HTML>" write$ newline$
+ "<HEAD><TITLE> Bibliography </TITLE></HEAD>" write$ newline$
+ "<BODY BGCOLOR=#EEEEEE>" write$ newline$
+ "<DL>" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+% DFK changed to HTML
+FUNCTION {end.bib}
+{ newline$
+ "</DL>" write$ newline$
+ "</BODY>" write$ newline$
+ "</HTML>" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/utils/bibtools/html-cv.bst b/biblio/bibtex/utils/bibtools/html-cv.bst
new file mode 100644
index 0000000000..4e9bdc7453
--- /dev/null
+++ b/biblio/bibtex/utils/bibtools/html-cv.bst
@@ -0,0 +1,1330 @@
+%% File: `html-cv.bst'
+%% for use with bib2html to print HTML bibliography
+%%
+%% Prints title first, rather than author - useful for listing
+%% your papers on your homepage/cv.
+%% Uses URL field to provide href link for title.
+%% Omits organization and publisher for conference proceedings.
+%% Does not sort output - preserves order of input file.
+%% $Id: html-cv.bst,v 1.3 2003/01/10 20:43:52 dgildea Exp $
+
+% by Dan Gildea (http://www.cis.upenn.edu/~dgildea/), modified from
+%% plainnat.bst:
+%% A modification of `plain.bst' for use with natbib package
+%% Copyright 1993-1999 Patrick W Daly
+%% Max-Planck-Institut f\"ur Aeronomie
+%% Max-Planck-Str. 2
+%% D-37191 Katlenburg-Lindau
+%% Germany
+%% E-mail: daly@linmpi.mpg.de
+%%
+%% This program can be redistributed and/or modified under the terms
+%% of the LaTeX Project Public License Distributed from CTAN
+%% archives in directory macros/latex/base/lppl.txt; either
+%% version 1 of the License, or any later version.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ isbn
+ issn
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ url
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label short.list }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.header}
+{ write$
+ newline$
+ before.all 'output.state :=
+}
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.isbn}
+{ isbn empty$
+ { "" }
+ { new.block "ISBN " isbn * }
+ if$
+}
+
+FUNCTION {format.issn}
+{ issn empty$
+ { "" }
+ { new.block "ISSN " issn * }
+ if$
+}
+
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { new.block "URL \url{" url * "}" * }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { URL empty$
+ { "<LI> <A NAME=" quote$ * cite$ * quote$ *
+ ">" * title * "</A>, " *
+ }
+ { "<LI><A NAME=" quote$ * cite$ * quote$ * " HREF=" * quote$ *
+ URL * quote$ * ">" * title * "</A>, " *
+ }
+ if$ }
+ if$
+}
+
+FUNCTION {format.full.names}
+{'s :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{vv~}{ll}" format.name$ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et~al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {author.editor.full}
+{ author empty$
+ { editor empty$
+ { "" }
+ { editor format.full.names }
+ if$
+ }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {author.full}
+{ author empty$
+ { "" }
+ { author format.full.names }
+ if$
+}
+
+FUNCTION {editor.full}
+{ editor empty$
+ { "" }
+ { editor format.full.names }
+ if$
+}
+
+FUNCTION {make.full.names}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.full
+ { type$ "proceedings" =
+ 'editor.full
+ 'author.full
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year duplicate$ empty$
+ { "empty year in " cite$ * warning$
+ pop$ "" }
+ 'skip$
+ if$
+ month empty$
+ 'skip$
+ { month
+ " " * swap$ *
+ }
+ if$
+ extra.label *
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \citep{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ 'skip$
+ if$
+ ", \citet{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " }
+ if$
+ " \citet{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.title output.header
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.issn output
+
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ format.btitle output.header
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ format.isbn output
+
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.title output.header
+ format.authors output
+ author format.key output
+ new.block
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ format.isbn output
+
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ format.btitle output.header
+ author empty$
+ { format.editors "author and editor" output.check
+ editor format.key output
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ format.isbn output
+
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.title output.header
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ format.isbn output
+
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.title output.header
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ %organization output
+ %publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ format.isbn output
+
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.btitle output.header
+ format.authors output
+ author format.key output
+ new.block
+ organization address new.block.checkb
+ organization output
+ address output
+ format.edition output
+ format.date output
+
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.title output.header
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.title output.header
+ format.authors output
+ author format.key output
+ title howpublished new.block.checkb
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ format.issn output
+
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.btitle output.header
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.btitle output.header
+ format.editors output
+ editor format.key output
+ new.block
+ format.bvolume output
+ format.number.series output
+ address output
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ format.isbn output
+
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.title output.header
+ format.authors "author" output.check
+ author format.key output
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.title output.header
+ format.authors "author" output.check
+ author format.key output
+ new.block
+
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s #1 "{vv~}{ll}" format.name$
+ s num.names$ duplicate$
+ #2 >
+ { pop$ " et~al." * }
+ { #2 <
+ 'skip$
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et~al." * }
+ { " and " * s #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{ calc.short.authors
+ short.list
+ "("
+ *
+ year duplicate$ empty$
+ short.list key field.or.null = or
+ { pop$ "" }
+ 'skip$
+ if$
+ *
+ 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ label sortify
+ " "
+ *
+ year field.or.null sortify
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.label :=
+ sort.label *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+% not sorting because want html to reflect order in latex doc
+%ITERATE {presort}
+
+% not sorting because want html to reflect order in latex doc
+%SORT
+
+STRINGS { longest.label last.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num number.label }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+
+FUNCTION {forward.pass}
+{ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+
+EXECUTE {initialize.longest.label}
+
+%ITERATE {forward.pass}
+
+%REVERSE {reverse.pass}
+
+FUNCTION {bib.sort.order}
+{ sort.label 'sort.key$ :=
+}
+
+% not sorting because want html to reflect order in latex doc
+%ITERATE {bib.sort.order}
+
+% not sorting because want html to reflect order in latex doc
+%SORT
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "<ul>" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "</ul>" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/utils/bibtools/html-long.bst b/biblio/bibtex/utils/bibtools/html-long.bst
new file mode 100644
index 0000000000..fcf2f7b7bf
--- /dev/null
+++ b/biblio/bibtex/utils/bibtools/html-long.bst
@@ -0,0 +1,1356 @@
+% BibTeX bibliography style `html-long'
+% spits out HTML-formatted bibliography in place of bbl output
+% by David Kotz dfk@cs.dartmouth.edu
+% $Id: html-long.bst,v 1.3 2004/02/25 16:20:50 gildea Exp $
+% modified from
+% BibTeX standard bibliography style `alpha'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+% DFK added abstract, comment, earlier, keyword, later, URL
+% JV: the abstract etc is now part of the <dd>..</dd> section.
+
+ENTRY
+ { abstract
+ address
+ author
+ booktitle
+ chapter
+ comment
+ earlier
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ keyword
+ later
+ month
+ note
+ number
+ organization
+ pages
+ private
+ publisher
+ school
+ series
+ title
+ type
+ URL
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+% DFK changed to use cite$ for the label
+% DFK changed to HTML, and use URL to make cite key a link
+FUNCTION {output.bibitem}
+{ newline$
+ URL empty$
+ { "<DT> <A NAME=" quote$ * cite$ * quote$ *
+ "> " * cite$ * ":</A> </DT>" * write$
+ }
+ { "<DT><A NAME=" quote$ * cite$ * quote$ * " HREF=" * quote$ *
+ URL * quote$ * "> " * cite$ * ":</A></DT>" * write$
+ }
+ if$
+ newline$
+ "<DD>" write$ newline$
+ ""
+ before.all 'output.state :=
+}
+
+% DFK changed to HTML
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+ earlier empty$
+ 'skip$
+ { "<br>" write$ newline$
+ "See also earlier version <A HREF=" quote$ * "#" * earlier * quote$ *
+ ">" * earlier * "</A>." * write$ newline$
+ }
+ if$
+ later empty$
+ 'skip$
+ { "<br>" write$ newline$
+ "See also later version <A HREF=" quote$ * "#" * later * quote$ *
+ ">" * later * "</A>." * write$ newline$
+ }
+ if$
+ "</DD>" write$ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+% DFK changed to HTML
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<EM>" swap$ * "</EM>" * }
+ if$
+}
+
+% DFK added for HTML strong emphasis
+FUNCTION {strong}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<STRONG>" swap$ * "</STRONG>" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et&nbsp;al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+% DFK added strong, so it will be bold.
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ strong }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+% DFK changed emphasize to strong
+FUNCTION {format.btitle}
+{ title strong
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "&nbsp;" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et&nbsp;al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et&nbsp;al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+
+% DFK added
+% top of stack is the string we want to be a quoted paragraph
+FUNCTION {format.quotedParagraph}
+{ duplicate$ empty$
+ { skip$ }
+ { "<P><QUOTE> " swap$ * " </QUOTE></P>" *}
+ if$
+}
+
+
+% DFK added, to support comment, private, keyword, etc
+% next-to-top is field name (eg, "Comment")
+% top is field value (eg, value of comment)
+% both are popped; resulting top is either empty,
+% or string describing field
+FUNCTION {format.dfkfield}
+{ duplicate$ empty$
+ { pop$ pop$ "" }
+ { swap$
+ "<strong> " swap$ * ":</strong> " * swap$ * }
+ if$
+}
+
+% DFK added
+FUNCTION {dfk.stuff}
+{ new.block
+ add.period$ write$
+ "Abstract" abstract format.dfkfield format.quotedParagraph write$ newline$
+ "Keyword" keyword format.dfkfield format.quotedParagraph write$ newline$
+ "Comment" comment format.dfkfield format.quotedParagraph write$ newline$
+ ""
+}
+
+% DFK: added a call to dfk.stuff in all entry-type functions below
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ dfk.stuff
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ dfk.stuff
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ dfk.stuff
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ dfk.stuff
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ dfk.stuff
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ dfk.stuff
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ dfk.stuff
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ dfk.stuff
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ dfk.stuff
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ dfk.stuff
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ dfk.stuff
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ dfk.stuff
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ dfk.stuff
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ year field.or.null purify$ #-1 #2 substring$
+ *
+ 'label :=
+ year field.or.null purify$ #-1 #4 substring$
+ *
+ sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+% DFK throw away stuff above and use cite$ for sort key
+ pop$
+ cite$
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+% DFK removed code about et.al.char
+% DFK changed to HTML
+FUNCTION {begin.bib}
+{ "<HTML>" write$ newline$
+ "<HEAD><TITLE> Bibliography </TITLE></HEAD>" write$ newline$
+ "<BODY BGCOLOR=#EEEEEE>" write$ newline$
+ "<DL>" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+% DFK changed to HTML
+FUNCTION {end.bib}
+{ newline$
+ "</DL>" write$ newline$
+ "</BODY>" write$ newline$
+ "</HTML>" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/utils/bibtools/html-longp.bst b/biblio/bibtex/utils/bibtools/html-longp.bst
new file mode 100644
index 0000000000..5e03c4dc3e
--- /dev/null
+++ b/biblio/bibtex/utils/bibtools/html-longp.bst
@@ -0,0 +1,1363 @@
+% BibTeX bibliography style `html-longp'
+% Spits out HTML-formatted bibliography in place of bbl output.
+% This is different from html-long in that it also includes the
+% "private" and "reader" fields in the output.
+% does not properly handle crossrefs.
+% by David Kotz dfk@cs.dartmouth.edu
+% $Id: html-longp.bst,v 1.2 2003/01/10 19:35:22 dgildea Exp $
+% modified from
+% BibTeX standard bibliography style `alpha'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+% DFK added abstract, comment, keyword, earlier, later, URL, private, reader
+ENTRY
+ { abstract
+ address
+ author
+ booktitle
+ chapter
+ comment
+ earlier
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ keyword
+ later
+ month
+ note
+ number
+ organization
+ pages
+ private
+ publisher
+ reader
+ school
+ series
+ title
+ type
+ URL
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+% DFK changed to use cite$ for the label
+% DFK changed to HTML, and use URL to make cite key a link
+FUNCTION {output.bibitem}
+{ newline$
+ URL empty$
+ { "<DT> <A NAME=" quote$ * cite$ * quote$ *
+ "> " * cite$ * ":</A> </DT>" * write$
+ }
+ { "<DT><A NAME=" quote$ * cite$ * quote$ * " HREF=" * quote$ *
+ URL * quote$ * "> " * cite$ * ":</A></DT>" * write$
+ }
+ if$
+
+ newline$
+
+ "<DD>" write$ newline$
+ ""
+ before.all 'output.state :=
+}
+
+% DFK changed to HTML
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+ earlier empty$
+ 'skip$
+ { "<br>" write$ newline$
+ "See also earlier version <A HREF=" quote$ * "#" * earlier * quote$ *
+ ">" * earlier * "</A>." * write$ newline$
+ }
+ if$
+ later empty$
+ 'skip$
+ { "<br>" write$ newline$
+ "See also later version <A HREF=" quote$ * "#" * later * quote$ *
+ ">" * later * "</A>." * write$ newline$
+ }
+ if$
+ "</DD>" write$ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+% DFK changed to HTML
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<EM>" swap$ * "</EM>" * }
+ if$
+}
+
+% DFK added for HTML strong emphasis
+FUNCTION {strong}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<STRONG>" swap$ * "</STRONG>" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et&nbsp;al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+% DFK added strong, so it will be bold.
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ strong }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+% DFK changed emphasize to strong
+FUNCTION {format.btitle}
+{ title strong
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "&nbsp;" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et&nbsp;al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et&nbsp;al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+% DFK added
+% top of stack is the string we want to be a quoted paragraph
+FUNCTION {format.quotedParagraph}
+{ duplicate$ empty$
+ { skip$ }
+ { "<P><QUOTE> " swap$ * " </QUOTE></P>" *}
+ if$
+}
+
+
+% DFK added, to support comment, private, keyword, etc
+% next-to-top is field name (eg, "Comment")
+% top is field value (eg, value of comment)
+% both are popped; resulting top is either empty,
+% or string describing field
+FUNCTION {format.dfkfield}
+{ duplicate$ empty$
+ { pop$ pop$ "" }
+ { swap$
+ "<strong> " swap$ * ":</strong> " * swap$ * }
+ if$
+}
+
+% DFK added
+FUNCTION {dfk.stuff}
+{ new.block
+ "Abstract" abstract format.dfkfield format.quotedParagraph write$ newline$
+ "Keyword" keyword format.dfkfield format.quotedParagraph write$ newline$
+
+ "Comment" comment format.dfkfield
+ "Private" private format.dfkfield
+ *
+ format.quotedParagraph write$ newline$
+
+ "Reader" reader format.dfkfield format.quotedParagraph write$ newline$
+}
+
+% DFK: added a call to dfk.stuff in all entry-type functions below
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+ dfk.stuff
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+ dfk.stuff
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ dfk.stuff
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+ dfk.stuff
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+ dfk.stuff
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+ dfk.stuff
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ dfk.stuff
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+ dfk.stuff
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ dfk.stuff
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+ dfk.stuff
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+ dfk.stuff
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+ dfk.stuff
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+ dfk.stuff
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "{\etalchar{+}}" *
+ #1 'et.al.char.used :=
+ }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ year field.or.null purify$ #-1 #2 substring$
+ *
+ 'label :=
+ year field.or.null purify$ #-1 #4 substring$
+ *
+ sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+% DFK throw away stuff above and use cite$ for sort key
+ pop$
+ cite$
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+% DFK removed code about et.al.char
+% DFK changed to HTML
+FUNCTION {begin.bib}
+{ "<HTML>" write$ newline$
+ "<HEAD><TITLE> Bibliography </TITLE></HEAD>" write$ newline$
+ "<BODY BGCOLOR=#EEEEEE>" write$ newline$
+ "<DL>" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+% DFK changed to HTML
+FUNCTION {end.bib}
+{ newline$
+ "</DL>" write$ newline$
+ "</BODY>" write$ newline$
+ "</HTML>" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/utils/bibtools/html-short.bst b/biblio/bibtex/utils/bibtools/html-short.bst
new file mode 100644
index 0000000000..49066f63b5
--- /dev/null
+++ b/biblio/bibtex/utils/bibtools/html-short.bst
@@ -0,0 +1,1305 @@
+% BibTeX bibliography style `html-short'
+% spits out HTML-formatted bibliography in place of bbl output
+% by David Kotz dfk@cs.dartmouth.edu
+% $Id: html-short.bst,v 1.2 2003/01/10 19:35:22 dgildea Exp $
+% modified from
+% BibTeX standard bibliography style `alpha'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+% DFK added abstract, comment, earlier, keyword, later, URL
+ENTRY
+ { abstract
+ address
+ author
+ booktitle
+ chapter
+ comment
+ earlier
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ keyword
+ later
+ month
+ note
+ number
+ organization
+ pages
+ private
+ publisher
+ school
+ series
+ title
+ type
+ URL
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block}
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+% DFK changed to use cite$ for the label
+% DFK changed to HTML, and use URL to make cite key a link
+FUNCTION {output.bibitem}
+{ newline$
+ URL empty$
+ { "<DT> <A NAME=" quote$ * cite$ * quote$ *
+ "> " * cite$ * ":</A> </DT>" * write$
+ }
+ { "<DT><A NAME=" quote$ * cite$ * quote$ * " HREF=" * quote$ *
+ URL * quote$ * "> " * cite$ * ":</A></DT>" * write$
+ }
+ if$
+ newline$
+ "<DD>" write$ newline$
+ ""
+ before.all 'output.state :=
+}
+
+% DFK changed to HTML
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ earlier empty$
+ 'skip$
+ { "<br>" write$ newline$
+ "See also earlier version <A HREF=" quote$ * "#" * earlier * quote$ *
+ ">" * earlier * "</A>." * write$ newline$
+ }
+ if$
+ later empty$
+ 'skip$
+ { "<br>" write$ newline$
+ "See also later version <A HREF=" quote$ * "#" * later * quote$ *
+ ">" * later * "</A>." * write$ newline$
+ }
+ if$
+ "</DD>" write$ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+% DFK changed to HTML
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<EM>" swap$ * "</EM>" * }
+ if$
+}
+
+% DFK added for HTML strong emphasis
+FUNCTION {strong}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<STRONG>" swap$ * "</STRONG>" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et&nbsp;al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+% DFK added strong, so it will be bold.
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ strong }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+% DFK changed emphasize to strong
+FUNCTION {format.btitle}
+{ title strong
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "&nbsp;" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et&nbsp;al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " et&nbsp;al." * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+INTEGERS { et.al.char.used }
+
+FUNCTION {initialize.et.al.char.used}
+{ #0 'et.al.char.used :=
+}
+
+EXECUTE {initialize.et.al.char.used}
+
+% DFK changed {\etalchar{+}} to + for HTML
+FUNCTION {format.lab.names}
+{ 's :=
+ s num.names$ 'numnames :=
+ numnames #1 >
+ { numnames #4 >
+ { #3 'namesleft := }
+ { numnames 'namesleft := }
+ if$
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ { nameptr numnames =
+ { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { "+" *
+ #1 'et.al.char.used :=
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ }
+ { s nameptr "{v{}}{l{}}" format.name$ * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ numnames #4 >
+ { "+" *
+ #1 'et.al.char.used :=
+ }
+ 'skip$
+ if$
+ }
+ { s #1 "{v{}}{l{}}" format.name$
+ duplicate$ text.length$ #2 <
+ { pop$ s #1 "{ll}" format.name$ #3 text.prefix$ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.key.organization.label}
+{ author empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.organization.label}
+{ editor empty$
+ { key empty$
+ { organization empty$
+ { cite$ #1 #3 substring$ }
+ { "The " #4 organization chop.word #3 text.prefix$ }
+ if$
+ }
+ { key #3 text.prefix$ }
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.label}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.organization.label
+ { type$ "manual" =
+ 'author.key.organization.label
+ 'author.key.label
+ if$
+ }
+ if$
+ }
+ if$
+ duplicate$
+ year field.or.null purify$ #-1 #2 substring$
+ *
+ 'label :=
+ year field.or.null purify$ #-1 #4 substring$
+ *
+ sortify 'sort.label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ calc.label
+ sort.label
+ " "
+ *
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ *
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+% DFK throw away stuff above and use cite$ for sort key
+ pop$
+ cite$
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+STRINGS { longest.label last.sort.label next.extra }
+
+INTEGERS { longest.label.width last.extra.num }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #0 int.to.chr$ 'last.sort.label :=
+ "" 'next.extra :=
+ #0 'longest.label.width :=
+ #0 'last.extra.num :=
+}
+
+FUNCTION {forward.pass}
+{ last.sort.label sort.label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ sort.label 'last.sort.label :=
+ }
+ if$
+}
+
+FUNCTION {reverse.pass}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ label extra.label * 'label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {forward.pass}
+
+REVERSE {reverse.pass}
+
+% DFK removed code about et.al.char
+% DFK changed to HTML
+FUNCTION {begin.bib}
+{ "<HTML>" write$ newline$
+ "<HEAD><TITLE> Bibliography </TITLE></HEAD>" write$ newline$
+ "<BODY BGCOLOR=#EEEEEE>" write$ newline$
+ "<DL>" write$ newline$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+% DFK changed to HTML
+FUNCTION {end.bib}
+{ newline$
+ "</DL>" write$ newline$
+ "</BODY>" write$ newline$
+ "</HTML>" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/utils/bibtools/looktex b/biblio/bibtex/utils/bibtools/looktex
new file mode 100644
index 0000000000..b64071ca67
--- /dev/null
+++ b/biblio/bibtex/utils/bibtools/looktex
@@ -0,0 +1,53 @@
+#!/bin/csh -f
+# looktex - look for a keyword in the references in a BiBTeX file.
+#
+# David Kotz (dfk@cs.dartmouth.edu)
+#
+# usage:
+# looktex keyword file...
+#
+# Warning: Any characters in keyword that have meanings in regexps
+# used by either sed or egrep must be escaped with a \ (the most
+# likely occurrence might be \ itself: use \\). Case is ignored in
+# the search, as well as position in the reference.
+#
+# Multiple keywords may be specified with an egrep alternation format:
+# eg looktex 'jones|smith' foo.bib
+#
+# Actually, any egrep expression is allowed.
+# Be sure to quote it properly.
+#
+
+set L=~/lib
+
+if ($#argv < 2) then
+ echo usage: looktex keyword 'file...'
+ exit 1
+endif
+
+set keyword=`echo "$1" | tr A-Z a-z`
+shift
+
+set script=/tmp/looktex$$
+onintr cleanup
+
+# Search for the keyword and get a script for extracting the
+# references:
+# Cat the files
+# Strip comment lines and comments on lines
+# Translate to lower case
+# Search for the keyword and all @ lines
+# Extract the line number only, plus 'entry' for lines with @
+# Convert this output into a sed script
+cat $* \
+ | sed -e 's/^%.*//' -e 's/\([^\\]\)%.*/\1/' \
+ | tr A-Z a-z \
+ | egrep -n "($keyword)"'|^[ ]*@' \
+ | sed -n -e "s/:[ ]*@.*$keyword.*/ entry key/p" -e 's/:[ ]*@.*/ entry/p' -e "s/:.*//p" \
+ | awk -f $L/looktex.awk > $script
+
+# Now have sed print out the correct entries:
+cat $* | sed -n -f $script
+
+cleanup:
+rm -f $script
diff --git a/biblio/bibtex/utils/bibtools/looktex.awk b/biblio/bibtex/utils/bibtools/looktex.awk
new file mode 100644
index 0000000000..35b534769e
--- /dev/null
+++ b/biblio/bibtex/utils/bibtools/looktex.awk
@@ -0,0 +1,39 @@
+# looktex.awk
+#
+# Goes with bin/looktex - look for a keyword in the references in a BiBTeX file
+#
+# David Kotz (dfk@cs.dartmouth.edu)
+#
+# This takes a list of line numbers that had the keyword. Some of the
+# line numbers will be followed by "entry" or "entry key"; "entry"
+# means that the line number is the start of a new bibtex entry, not a
+# line containing the keyword. "entry key" means that it is a line
+# starting an entry AND containing the keyword.
+#
+# On stdout, we produce a sed script for printing entries that had a
+# match in them somewhere. This is a list of lines like "A,Bp" where A
+# and B are line numbers.
+
+BEGIN {found=0; last=1}
+
+# defines the start of a new entry WITH a keyword match
+NF==3 {
+ if (found) { print last "," $1-1 "p" }
+ found=1
+ last=$1
+}
+
+# defines the start of a new entry
+NF==2 {
+ if (found) { print last "," $1-1 "p" }
+ found=0
+ last=$1
+}
+
+# marks a place where the keyword was found
+NF==1 {found=1}
+
+END {
+ if (found)
+ print last ",$p";
+}
diff --git a/biblio/bibtex/utils/bibtools/makebib b/biblio/bibtex/utils/bibtools/makebib
new file mode 100644
index 0000000000..edd9ba4144
--- /dev/null
+++ b/biblio/bibtex/utils/bibtools/makebib
@@ -0,0 +1,95 @@
+#!/bin/csh -f
+#
+# makebib - make a bib file that has the given citations
+#
+# usage:
+# makebib [-n | -d | -u] file.bib... [citekey]...
+# Where -n means "no comment", ie, don't include any "comment" fields.
+# And -d means "dfk", ie, add attribution to dfk to all comment fields.
+# And -u means "unsorted", and comments are still included.
+# Output is to subset.bib. If citekey is not given, then all refs in
+# the bibfile are included.
+#
+# dfk 11/24/92: write the subset.aux file directly, skipping latex
+# dfk 9/99: add unsorted option
+
+onintr cleanup
+
+if ($#argv < 1) then
+ echo 'usage: makebib [-n|-d] file.bib... [citekey]...'
+ exit 1
+endif
+
+if ("$1" == "-n") then
+ set bst=subset-nocomment
+ shift
+else
+ if ("$1" == "-d") then
+ set bst=subset-dfk
+ shift
+ else
+ if ("$1" == "-u") then
+ set bst=subset-unsorted
+ shift
+ else
+ set bst=subset
+ endif
+ endif
+endif
+
+if ($#argv < 1) then
+ echo 'usage: makebib [-n|-d|-u] file.bib... [citekey]...'
+ exit 1
+endif
+
+set files = $1:r
+shift
+
+while ($1:e == bib)
+ set files=($files,$1:r)
+ shift
+end
+
+echo creating subset.aux for $files
+
+cat > subset.aux <<EOF
+\relax
+\bibstyle{$bst}
+\bibdata{$files}
+EOF
+
+# an annoying incompatibility in the way "echo" treats backslash...
+if (`uname` == Linux) then
+ set citation="\\citation"
+else
+ set citation="\citation"
+endif
+
+if ($#argv > 0) then
+ foreach f ($*)
+ echo $citation"{$f}" >> subset.aux
+ end
+else
+ echo $citation'{*}' >> subset.aux
+endif
+rm -f subset.{log,dvi,bbl,blg}
+
+echo bibtex subset
+bibtex subset
+
+if (-e makebib.sed.Z) uncompress makebib.sed
+if (-e makebib.sed.gz) gunzip makebib.sed
+
+echo ""
+echo 'Fixing these lines (might be doing the wrong thing)'
+grep '[^\\]%$' subset.bbl
+echo end.
+echo ""
+
+sed -f makebib.sed subset.bbl > subset.bib
+
+echo ""
+echo output is in subset.bib
+
+cleanup:
+rm -f subset.{tex,aux,log,dvi,bbl,blg,sed}
diff --git a/biblio/bibtex/utils/bibtools/printbib b/biblio/bibtex/utils/bibtools/printbib
new file mode 100644
index 0000000000..378396e1b5
--- /dev/null
+++ b/biblio/bibtex/utils/bibtools/printbib
@@ -0,0 +1,68 @@
+#!/bin/csh -f
+#
+# printbib - print a full bibtex bib file out
+#
+# David Kotz
+#
+# usage:
+# printbib bibfile...
+#
+# Then send the dvi file 'abstract.dvi' to the printer
+# (usage varies; try lpr -d abstract.dvi)
+
+if ($#argv == 0) then
+ echo usage: printbib bibfile...
+ exit 1
+endif
+
+if ($1:e == "bib") then
+ set files=($1:r)
+else
+ set files=($1)
+endif
+
+shift
+foreach f ($*)
+ if ($f:e == "bib") then
+ set files="$files,$f:r"
+ else
+ set files="$files,$f"
+ endif
+end
+
+echo creating abstract.tex for $files
+
+cat > abstract.tex <<EOF
+\documentclass[11pt]{article}
+\usepackage{latexsym}
+\sloppy
+\setlength{\textwidth}{6.5in}
+\setlength{\textheight}{9in}
+\setlength{\topmargin}{-0.5in}
+\setlength{\oddsidemargin}{0pt}
+\setlength{\evensidemargin}{0pt}
+\newcommand{\eg}{e.g.} % e.g.
+\newcommand{\ie}{i.e.} % i.e.
+\newcommand{\etc}{etc.} % etc.
+\newcommand{\vs}{{\em vs.}} % vs.
+\begin{document}
+\begin{center} \Large Bibliography files \large \\\\
+EOF
+echo $files >> abstract.tex
+cat >> abstract.tex <<EOF
+\\\\ \today
+\end{center}
+\nocite{*}
+\bibliographystyle{abstract}
+EOF
+
+echo "\bibliography{$files}" >> abstract.tex
+echo '\end{document}' >> abstract.tex
+
+rm -f abstract.{aux,log,dvi,bbl,blg}
+
+set echo
+latex abstract.tex
+bibtex abstract
+latex abstract.tex
+latex abstract.tex
diff --git a/biblio/bibtex/utils/bibtools/subset-dfk.bst b/biblio/bibtex/utils/bibtools/subset-dfk.bst
new file mode 100644
index 0000000000..b3f506bea9
--- /dev/null
+++ b/biblio/bibtex/utils/bibtools/subset-dfk.bst
@@ -0,0 +1,281 @@
+% BibTeX bibliography style `subset'
+% by David Kotz dfk@cs.dartmouth.edu
+% August 1992, May 1993, February 1999
+% This takes an aux file and produces an unusual .bbl file,
+% that is actually in .bib format -- but it has all of the references,
+% and strings expanded. Thus, it becomes a complete, portable .bib
+% file. Crossrefs are retained but redundant.
+% adds my name to the comment field
+% modified from
+ % BibTeX bibliography style `abstract'
+ % by David Kotz dfk@cs.duke.edu
+ % March 1989
+ % modified from
+ % BibTeX standard bibliography style `alpha'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+% DFK added abstract, comment, keyword to standard set
+% 5/93 DFK added private, ignored when subsetting
+% 7/94 DFK added URL
+ENTRY
+ { abstract
+ address
+ author
+ booktitle
+ category
+ chapter
+ comment
+ earlier
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ keyword
+ later
+ month
+ note
+ number
+ organization
+ pages
+ private
+ publisher
+ school
+ series
+ title
+ type
+ URL
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+STRINGS { s t }
+
+% output a field; the top is the text, the next to top is the name of
+% the field, and we know that the text is nonnull.
+% we start by finishing the previous line
+FUNCTION {output.field}
+{
+ ", " write$ % write comma and newline
+ newline$
+ " " write$ % and a respectable indentation
+
+ swap$ % now field name is on top
+ " = {" * % put = {
+ swap$ * % now text is back on top; concatenate
+ "}" * % put }
+ write$
+}
+
+% output if top not empty; below the top is the name of the field
+FUNCTION {output}
+{ duplicate$ empty$
+ { pop$ pop$ }
+ 'output.field
+ if$
+}
+
+% special for "comment"
+% output if top not empty; below the top is the name of the field
+FUNCTION {output.comment}
+{ duplicate$ empty$
+ { pop$ pop$ }
+ { " [David.Kotz@Dartmouth.edu]" * output.field }
+ if$
+}
+
+% prints each field
+FUNCTION {output.bibfields}
+{
+% The fields, in what seems to be a good order
+ "key" key output
+ "author" author output
+ "title" title output
+
+ "journal" journal output
+ "booktitle" booktitle output
+
+ "chapter" chapter output
+ "edition" edition output
+ "editor" editor output
+
+ crossref missing$
+ { }
+ { "crossref" crossref output }
+ if$
+
+ "year" year output
+ "month" month output
+ "series" series output
+ "volume" volume output
+ "number" number output
+ "type" type output
+
+ "pages" pages output
+
+ "institution" institution output
+ "school" school output
+ "organization" organization output
+ "publisher" publisher output
+ "howpublished" howpublished output
+ "address" address output
+
+ "category" category output
+
+ "note" note output
+
+ "earlier" earlier output
+ "later" later output
+
+ "URL" URL output
+ "keyword" keyword output
+ "abstract" abstract output
+ "comment" comment output.comment
+}
+
+% Takes name of type as argument, and prints @ line
+% then it prints each field
+FUNCTION {output.bibitem}
+{
+% write the @ line
+ "@" swap$ * write$ % @type
+ "{" cite$ * write$ % {citekey
+
+ output.bibfields
+
+% finish entry
+ newline$
+ "}" write$
+ newline$
+ newline$
+}
+
+FUNCTION {article}{ "Article" output.bibitem }
+
+FUNCTION {book}{ "Book" output.bibitem }
+
+FUNCTION {booklet}{ "Booklet" output.bibitem }
+
+FUNCTION {inbook}{ "InBook" output.bibitem }
+
+FUNCTION {incollection}{ "InCollection" output.bibitem }
+
+FUNCTION {inproceedings}{ "InProceedings" output.bibitem }
+
+FUNCTION {conference}{ "Conference" output.bibitem }
+
+FUNCTION {manual}{ "Manual" output.bibitem }
+
+FUNCTION {mastersthesis}{ "MastersThesis" output.bibitem }
+
+FUNCTION {misc}{ "Misc" output.bibitem }
+
+FUNCTION {phdthesis}{ "PhdThesis" output.bibitem }
+
+FUNCTION {proceedings}{ "Proceedings" output.bibitem }
+
+FUNCTION {techreport}{ "TechReport" output.bibitem }
+
+FUNCTION {unpublished}{ "Unpublished" output.bibitem }
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+% DFK use cite$ for sort key
+FUNCTION {presort}
+{
+ cite$
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+FUNCTION {begin.bib}
+{
+ "% BibTeX bibliography file" write$
+ newline$
+ newline$
+}
+
+EXECUTE {begin.bib}
+
+ITERATE {call.type$}
diff --git a/biblio/bibtex/utils/bibtools/subset-nocomment.bst b/biblio/bibtex/utils/bibtools/subset-nocomment.bst
new file mode 100644
index 0000000000..687719f828
--- /dev/null
+++ b/biblio/bibtex/utils/bibtools/subset-nocomment.bst
@@ -0,0 +1,272 @@
+% BibTeX bibliography style `subset'
+% by David Kotz dfk@cs.dartmouth.edu
+% August 1992, May 1993, February 1999
+% This takes an aux file and produces an unusual .bbl file,
+% that is actually in .bib format -- but it has all of the references,
+% and strings expanded. Thus, it becomes a complete, portable .bib
+% file. Crossrefs are retained but redundant.
+% This one doesn't include 'comment' in output.
+% modified from
+ % BibTeX bibliography style `abstract'
+ % by David Kotz dfk@cs.duke.edu
+ % March 1989
+ % modified from
+ % BibTeX standard bibliography style `alpha'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+% DFK added abstract, comment, keyword to standard set
+% 5/93 DFK added private, ignored when subsetting
+% 7/94 DFK added URL
+ENTRY
+ { abstract
+ address
+ author
+ booktitle
+ category
+ chapter
+ comment
+ earlier
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ keyword
+ later
+ month
+ note
+ number
+ organization
+ pages
+ private
+ publisher
+ school
+ series
+ title
+ type
+ URL
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+STRINGS { s t }
+
+% output a field; the top is the text, the next to top is the name of
+% the field, and we know that the text is nonnull.
+% we start by finishing the previous line
+FUNCTION {output.field}
+{
+ ", " write$ % write comma and newline
+ newline$
+ " " write$ % and a respectable indentation
+
+ swap$ % now field name is on top
+ " = {" * % put = {
+ swap$ * % now text is back on top; concatenate
+ "}" * % put }
+ write$
+}
+
+% output if top not empty; below the top is the name of the field
+FUNCTION {output}
+{ duplicate$ empty$
+ { pop$ pop$ }
+ 'output.field
+ if$
+}
+
+% prints each field
+FUNCTION {output.bibfields}
+{
+% The fields, in what seems to be a good order
+ "key" key output
+ "author" author output
+ "title" title output
+
+ "journal" journal output
+ "booktitle" booktitle output
+
+ "chapter" chapter output
+ "edition" edition output
+ "editor" editor output
+
+ crossref missing$
+ { }
+ { "crossref" crossref output }
+ if$
+
+ "year" year output
+ "month" month output
+ "series" series output
+ "volume" volume output
+ "number" number output
+ "type" type output
+
+ "pages" pages output
+
+ "institution" institution output
+ "school" school output
+ "organization" organization output
+ "publisher" publisher output
+ "howpublished" howpublished output
+ "address" address output
+
+ "category" category output
+
+ "note" note output
+
+ "earlier" earlier output
+ "later" later output
+
+ "URL" URL output
+ "keyword" keyword output
+ "abstract" abstract output
+% "comment" comment output
+}
+
+% Takes name of type as argument, and prints @ line
+% then it prints each field
+FUNCTION {output.bibitem}
+{
+% write the @ line
+ "@" swap$ * write$ % @type
+ "{" cite$ * write$ % {citekey
+
+ output.bibfields
+
+% finish entry
+ newline$
+ "}" write$
+ newline$
+ newline$
+}
+
+FUNCTION {article}{ "Article" output.bibitem }
+
+FUNCTION {book}{ "Book" output.bibitem }
+
+FUNCTION {booklet}{ "Booklet" output.bibitem }
+
+FUNCTION {inbook}{ "InBook" output.bibitem }
+
+FUNCTION {incollection}{ "InCollection" output.bibitem }
+
+FUNCTION {inproceedings}{ "InProceedings" output.bibitem }
+
+FUNCTION {conference}{ "Conference" output.bibitem }
+
+FUNCTION {manual}{ "Manual" output.bibitem }
+
+FUNCTION {mastersthesis}{ "MastersThesis" output.bibitem }
+
+FUNCTION {misc}{ "Misc" output.bibitem }
+
+FUNCTION {phdthesis}{ "PhdThesis" output.bibitem }
+
+FUNCTION {proceedings}{ "Proceedings" output.bibitem }
+
+FUNCTION {techreport}{ "TechReport" output.bibitem }
+
+FUNCTION {unpublished}{ "Unpublished" output.bibitem }
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+% DFK use cite$ for sort key
+FUNCTION {presort}
+{
+ cite$
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+FUNCTION {begin.bib}
+{
+ "% BibTeX bibliography file" write$
+ newline$
+ newline$
+}
+
+EXECUTE {begin.bib}
+
+ITERATE {call.type$}
diff --git a/biblio/bibtex/utils/bibtools/subset.bst b/biblio/bibtex/utils/bibtools/subset.bst
new file mode 100644
index 0000000000..0efc438223
--- /dev/null
+++ b/biblio/bibtex/utils/bibtools/subset.bst
@@ -0,0 +1,271 @@
+% BibTeX bibliography style `subset'
+% by David Kotz dfk@cs.dartmouth.edu
+% August 1992, May 1993, February 1999
+% This takes an aux file and produces an unusual .bbl file,
+% that is actually in .bib format -- but it has all of the references,
+% and strings expanded. Thus, it becomes a complete, portable .bib
+% file. Crossrefs are retained but redundant.
+% modified from
+ % BibTeX bibliography style `abstract'
+ % by David Kotz dfk@cs.duke.edu
+ % March 1989
+ % modified from
+ % BibTeX standard bibliography style `alpha'
+ % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
+ % Copyright (C) 1985, all rights reserved.
+ % Copying of this file is authorized only if either
+ % (1) you make absolutely no changes to your copy, including name, or
+ % (2) if you do make changes, you name it something other than
+ % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
+ % This restriction helps ensure that all standard styles are identical.
+ % The file btxbst.doc has the documentation for this style.
+
+% DFK added abstract, comment, keyword to standard set
+% 5/93 DFK added private, ignored when subsetting
+% 7/94 DFK added URL
+ENTRY
+ { abstract
+ address
+ author
+ booktitle
+ category
+ chapter
+ comment
+ earlier
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ keyword
+ later
+ month
+ note
+ number
+ organization
+ pages
+ private
+ publisher
+ school
+ series
+ title
+ type
+ URL
+ volume
+ year
+ }
+ {}
+ { label extra.label sort.label }
+
+STRINGS { s t }
+
+% output a field; the top is the text, the next to top is the name of
+% the field, and we know that the text is nonnull.
+% we start by finishing the previous line
+FUNCTION {output.field}
+{
+ ", " write$ % write comma and newline
+ newline$
+ " " write$ % and a respectable indentation
+
+ swap$ % now field name is on top
+ " = {" * % put = {
+ swap$ * % now text is back on top; concatenate
+ "}" * % put }
+ write$
+}
+
+% output if top not empty; below the top is the name of the field
+FUNCTION {output}
+{ duplicate$ empty$
+ { pop$ pop$ }
+ 'output.field
+ if$
+}
+
+% prints each field
+FUNCTION {output.bibfields}
+{
+% The fields, in what seems to be a good order
+ "key" key output
+ "author" author output
+ "title" title output
+
+ "journal" journal output
+ "booktitle" booktitle output
+
+ "chapter" chapter output
+ "edition" edition output
+ "editor" editor output
+
+ crossref missing$
+ { }
+ { "crossref" crossref output }
+ if$
+
+ "year" year output
+ "month" month output
+ "series" series output
+ "volume" volume output
+ "number" number output
+ "type" type output
+
+ "pages" pages output
+
+ "institution" institution output
+ "school" school output
+ "organization" organization output
+ "publisher" publisher output
+ "howpublished" howpublished output
+ "address" address output
+
+ "category" category output
+
+ "note" note output
+
+ "earlier" earlier output
+ "later" later output
+
+ "URL" URL output
+ "keyword" keyword output
+ "abstract" abstract output
+ "comment" comment output
+}
+
+% Takes name of type as argument, and prints @ line
+% then it prints each field
+FUNCTION {output.bibitem}
+{
+% write the @ line
+ "@" swap$ * write$ % @type
+ "{" cite$ * write$ % {citekey
+
+ output.bibfields
+
+% finish entry
+ newline$
+ "}" write$
+ newline$
+ newline$
+}
+
+FUNCTION {article}{ "Article" output.bibitem }
+
+FUNCTION {book}{ "Book" output.bibitem }
+
+FUNCTION {booklet}{ "Booklet" output.bibitem }
+
+FUNCTION {inbook}{ "InBook" output.bibitem }
+
+FUNCTION {incollection}{ "InCollection" output.bibitem }
+
+FUNCTION {inproceedings}{ "InProceedings" output.bibitem }
+
+FUNCTION {conference}{ "Conference" output.bibitem }
+
+FUNCTION {manual}{ "Manual" output.bibitem }
+
+FUNCTION {mastersthesis}{ "MastersThesis" output.bibitem }
+
+FUNCTION {misc}{ "Misc" output.bibitem }
+
+FUNCTION {phdthesis}{ "PhdThesis" output.bibitem }
+
+FUNCTION {proceedings}{ "Proceedings" output.bibitem }
+
+FUNCTION {techreport}{ "TechReport" output.bibitem }
+
+FUNCTION {unpublished}{ "Unpublished" output.bibitem }
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+% DFK use cite$ for sort key
+FUNCTION {presort}
+{
+ cite$
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+FUNCTION {begin.bib}
+{
+ "% BibTeX bibliography file" write$
+ newline$
+ newline$
+}
+
+EXECUTE {begin.bib}
+
+ITERATE {call.type$}
diff --git a/biblio/bibtex/utils/bibview-2.0/README b/biblio/bibtex/utils/bibview-2.0/README
new file mode 100644
index 0000000000..cea3fb7548
--- /dev/null
+++ b/biblio/bibtex/utils/bibview-2.0/README
@@ -0,0 +1,35 @@
+
+ BIBVIEW
+ (graphical interface for BibTeX program)
+ by Holger Martin, Peter Urban, Armin Liebl
+ liebla@informatik.tu-muenchen.de
+
+
+
+What "bibview" is:
+------------------
+
+ The program "bibview" is a graphical interface for manipulating
+ BibTeX databases. It supports the user in making new entries,
+ searching for entries and moving entries from one BiB to another.
+ It is possible to work with more than one BiB simultaneously.
+ bibview is implemented with Xt and Athena Widgets.
+ There are six types of windows in bibview:
+ The main window contains menus for customizing bibview and
+ for working with BiBs on the file level.
+ The bibliography window (one for every open BiB) contains commands
+ for manipulating the BiB.
+ The list window (at most one for every open BiB) shows a list of
+ entries. It displays the fields author, title, type and year.
+ The card window (at most one for every entry) helps editing an entry.
+ It contains boxes for each field of the entry (according to the type).
+ The fields can be edited by putting the mouse cursor into the field.
+ Macros in fields and the symbol for concatenation ('#') are marked
+ with a preceding '@'.
+
+
+Questions, comments, hacked source code:
+----------------------------------------
+Armin Liebl
+liebla@informatik.tu-muenchen.de
+
diff --git a/biblio/bibtex/utils/bibview-2.0/bibview-patch.gz b/biblio/bibtex/utils/bibview-2.0/bibview-patch.gz
new file mode 100644
index 0000000000..b154916b07
--- /dev/null
+++ b/biblio/bibtex/utils/bibview-2.0/bibview-patch.gz
Binary files differ
diff --git a/biblio/bibtex/utils/bibview-2.0/bibview.pdf b/biblio/bibtex/utils/bibview-2.0/bibview.pdf
new file mode 100644
index 0000000000..917e4612ee
--- /dev/null
+++ b/biblio/bibtex/utils/bibview-2.0/bibview.pdf
Binary files differ
diff --git a/biblio/bibtex/utils/bibview/bibview.pl-0.2.2 b/biblio/bibtex/utils/bibview/bibview.pl-0.2.2
new file mode 100644
index 0000000000..a0201ffbae
--- /dev/null
+++ b/biblio/bibtex/utils/bibview/bibview.pl-0.2.2
@@ -0,0 +1,538 @@
+#!/usr/local/bin/perl
+#
+# bibview : view a BibTeX database and interactively search through it
+# Copyright 1992, Dana Jacobsen (jacobsd@cs.orst.edu)
+#
+#version = "0.1.0"; # 25 Aug 92 jacobsd Wrote original version
+#version = "0.2.0"; # 25 Aug 92 jacobsd added options
+#version = "0.2.1"; # 26 Aug 92 jacobsd added options
+$version = "0.2.2"; # 26 Aug 92 jacobsd fast status, command changes
+#
+# todo:
+# things in help that are not yet implemented
+# understand multiple bibliographies
+# allow "show 1-10 15"
+# support for AND and OR
+#
+# All bug-fixes, suggestions, flames, and compliments gladly accepted.
+#
+
+$ignorewords = "of and the in a on to for from an with by at as its";
+$displaymode = 'brief';
+$autoshow = 0;
+$sortoutput = 0;
+
+while (@ARGV) {
+ $_ = shift @ARGV;
+ /^--$/ && do { push(@files, @ARGV); undef @ARGV; next; };
+ /^-deb/ && do { $debugging = 1; next; };
+ /^-wor/ && do { $worddebug = 1; next; };
+ push (@files, $_);
+}
+
+# globals:
+#
+# $records{$citekey} : the full entry, verbatim
+# $authors{$citekey} : the author field
+# $titles{$citekey} : the title field
+# $inauthors{$name} : a $; seperated list of citekeys
+# $intitles{$word} : a $; seperated list of citekeys
+#
+# @result : a numbered array with citekeys of last result
+
+print "bibview $version by Dana Jacobsen, 1992\n";
+
+foreach $infile (@files) {
+ &readbibfile($infile);
+}
+
+$timetoquit = 0;
+
+until ($timetoquit) {
+ print "> ";
+ chop($command = <STDIN>);
+ $_ = $command;
+
+ if (/^load /i) {
+ ($dummy, $infile) = split;
+ &readbibfile($infile);
+ } elsif (/^write /i) {
+
+ } elsif (/^\w+\s*=/i) {
+ &handlesearch($command);
+ print " -- ", ($#result == 0) ? "1 entry" :
+ ($#result == -1 ? "no" : $#result+1, " entries"), " found.\n";
+ $autoshow && &printrecs(0, @result);
+ } elsif (s/^and\s+(\w+\s*=)/$1/i) {
+ local(%dummyaar);
+ local(@dresult) = @result;
+ &handlesearch($_);
+ grep($dummyaar{$_}++, @dresult);
+ @result = grep($dummyaar{$_}, @result);
+ print " -- ", ($#result == 0) ? "1 entry" :
+ ($#result == -1 ? "no" : $#result+1, " entries"), " found.\n";
+ $autoshow && &printrecs(0, @result);
+ } elsif (s/^or\s+(\w+\s*=)/$1/i) {
+ local(@iresult, %dummyaar);
+ local(@dresult) = @result;
+ &handlesearch($_);
+ grep($dummyaar{$_}++, @dresult);
+ @iresult = grep(!$dummyaar{$_}, @result);
+ @result = (@dresult, @iresult);
+ print " -- ", ($#result == 0) ? "1 entry" :
+ ($#result == -1 ? "no" : $#result+1, " entries"), " found.\n";
+ $autoshow && &printrecs(0, @result);
+ } elsif (/^set\s+display\s+brief/i) {
+ $displaymode = 'brief';
+ print "display mode set to $displaymode.\n";
+ } elsif (/^set\s+display\s+(full|bibtex)/i) {
+ $displaymode = 'full';
+ print "display mode set to $displaymode.\n";
+ } elsif (/^set\s+autoshow\s+true/i) {
+ $autoshow = 1;
+ print "autoshow set to true.\n";
+ } elsif (/^set\s+autoshow\s+false/i) {
+ $autoshow = 0;
+ print "autoshow set to false.\n";
+ } elsif (/^set\s+sort\s+true/i) {
+ $sortoutput = 1;
+ print "output sorting set to true.\n";
+ } elsif (/^set\s+sort\s+false/i) {
+ $sortoutput = 0;
+ print "output sorting set to false.\n";
+ } elsif (/^sort/i) {
+ @result = &titlesort(@result);
+ } elsif (/^status/i) {
+ print $#result+1, " records in last search result.\n";
+ if ($] > 4.019) {
+ print scalar(keys(%records)), " records loaded.\n";
+ print scalar(keys(%inauthors)), " unique author last names.\n";
+ print scalar(keys(%intitles)), " unique words in titles.\n";
+ } else {
+ $count = 0; $count++ while each %records;
+ print $count, " records loaded.\n";
+ $count = 0; $count++ while each %inauthors;
+ print $count, " unique author last names.\n";
+ $count = 0; $count++ while each %intitles;
+ print $count, " unique words in titles.\n";
+ }
+ print "display mode is $displaymode.\n";
+ print "autoshow is ", $autoshow ? "true" : "false", ".\n";
+ print "automatic output sorting is ", $sortoutput ? "true" : "false", ".\n";
+ } elsif (/^select\s+all/i) {
+ @result = sort keys(%records);
+ } elsif (/^display\s+authors/i) {
+ local(@dresult) = sort keys(%inauthors);
+ print join("\n", @dresult), "\n";
+ } elsif (/^display\s+titles/i) {
+ local(@dresult) = sort keys(%intitles);
+ print join("\n", @dresult), "\n";
+ } elsif (/^find\s+duplicates/i) {
+ &finddups();
+ } elsif (/^debug\s+on/i) {
+ $debugging = 1;
+ } elsif (/^debug\s+off/i) {
+ $debugging = 0;
+ } elsif (/^(detail|brief|show)/i) {
+ $oldmode = $displaymode;
+ if (s/^detail\s*//) {
+ $displaymode = 'full';
+ } elsif (s/^brief\s*//) {
+ $displaymode = 'brief';
+ } elsif (s/^show\s*//) {
+ # nothing
+ }
+ /^$/ && ($_ = "all");
+ foreach $num (split) {
+ $debugging && print "$num\n";
+ if ($num eq all) {
+ &printrecs(0, @result);
+ } else {
+ &printrecs($num-1, $result[$num-1]);
+ }
+ }
+ $displaymode = $oldmode;
+ } elsif (/^quit/i) {
+ $timetoquit = 1;
+ } elsif (/^(\?|help)/i) {
+ print "load <file> -- load <file>\n";
+ print "a=<name> -- find author exactly matching <name>\n";
+ print "a=/<name> -- find author matching the regex <name>\n";
+ print "t=<word> -- find title containing the word <word>\n";
+ print "t=/<word> -- find title containing the regex <word>\n";
+ print "<field> = /<text> -- find field containing the regex <text>\n";
+ print "and <search> -- logical and the results with <search>\n";
+ print "or <search> -- logical or the results with <search>\n";
+ print "set display brief -- use one line per record when displaying\n";
+ print "set display full -- use BibTeX record when displaying\n";
+ print "set autoshow true -- display results after search\n";
+ print "set autoshow false -- don't display results after search\n";
+ print "select all -- select all records loaded\n";
+ print "show [all | <n>..] -- show <n>th result(s) or all\n";
+ print "brief [all | <n>..] -- display result(s) <n> in brief format\n";
+ print "detail [all | <n>..] -- display result <n> in BibTeX format\n";
+ print "status -- show status of bibview\n";
+ print "quit -- quit bibview\n";
+ print "!<command> -- execute <command> via the shell\n";
+ print "-----------------------\n";
+ print "not implemented yet:\n";
+ print "write <file> -- write search results to <file>\n";
+ print "load all in <subj> -- load all files in <subj> biblio directory\n";
+ print "unload <file> -- remove entries from <file>\n";
+ print "unload all in <subj> -- remove entries from biblios in <subj>\n";
+ print "display mode lib -- display records in tagged field format\n";
+ print "delete [all | <n>..] -- delete results from memory\n";
+ print "find duplicates -- selects duplicate entries\n";
+ } elsif (/^\s*$/) {
+ # nothing
+ } elsif (s/^!//) {
+ system($_);
+ } else {
+ print "Unrecognized command. Use ? for help.\n";
+ }
+}
+
+
+########################################
+########################################
+########################################
+
+sub readbibfile {
+ local ($file) = @_;
+ local ($num) = 0;
+ local ($dups) = 0;
+ local ($oldpipe) = $|;
+
+ # this little gem is from Larry Wall -- expand ~user.
+ $file =~ s#^(~([a-z0-9]+))(/.*)?$#((getpwnam($2))[7]||$1).$3#e;
+ # this is mine -- handle ~/file
+ $file =~ s#^(~)(/.*)?$#((getpwnam(getlogin))[7]||$1).$2#e;
+
+ open (IN, $file) || open (IN, "$file.bib") ||
+ ((warn "Can't open $file: $!\n"), return 0);
+ $| = 1;
+ print "loading $file..";
+
+ while (! eof(IN)) {
+ $key = &bibtexread(*IN);
+
+ if ((!$records{$key}) && $key) {
+ $num++;
+ ($num % 50) || print ".";
+ $records{$key} = $entry{FULL};
+
+ $authors{$key} = $entry{author};
+
+ if ($entry{booktitle}) {
+ if ($entry{title}) {
+ $titles{$key} = $entry{title} . ' in ' . $entry{booktitle};
+ } else {
+ $titles{$key} = $entry{booktitle};
+ }
+ } else {
+ $titles{$key} = $entry{title};
+ }
+
+ foreach $auth (split(/ and /, $entry{author})) {
+ $name = &parsename($auth);
+ $name =~ tr/A-Za-z0-9\-//cd; # delete non-alphanumerics
+ $name =~ tr/A-Z/a-z/; # everything lowercase
+ $inauthors{$name} .= $; . $key;
+ }
+
+ foreach $word (split(/\s+/, $titles{$key})) {
+ $word =~ tr/A-Za-z0-9\-//cd;
+ $word =~ tr/A-Z/a-z/;
+ if ($word && (index($ignorewords, $word) == -1)) {
+ if ($worddebug) { print "$word\n"; }
+ $intitles{$word} .= $; . $key;
+ }
+ }
+ } else {
+ $key && $debugging && print "Duplicate cite key: not adding $key\n";
+ $key && $dups++;
+ }
+ }
+ $| = $oldpipe;
+ print "$num entries.";
+ print $dups ? " $dups duplicate cite keys.\n" : "\n";
+}
+
+########################################
+sub handlesearch {
+ local($_) = @_;
+ local($afield, $lfield, $lvalue, $lval, $cite, $val);
+ local(%resaar);
+ local(%atolar) = ('a', 'author',
+ 't', 'title',
+ );
+ @result = ();
+
+ if ( ($afield, $lvalue) = /^(\w)\s*=\s*(.*)$/ ) {
+ $lfield = $atolar{$afield};
+ if (!$lfield) {
+ print "No abbreviation for $afield. Spell out the field name.\n";
+ return;
+ }
+ } else {
+ ($lfield, $lvalue) = /^(\w+)\s*=\s*(.*)$/;
+ $lfield =~ tr/A-Z/a-z/;
+ }
+ $debugging && print "lfield: $lfield, lvalue: $lvalue\n";
+ if (substr($lvalue, 0, 1) eq '/') { # regex search
+ substr($lvalue, 0, 1) = '';
+ print "$lfield is /$lvalue/";
+ if ($lfield eq author) {
+ while (($cite, $val) = each %authors) {
+ ($val =~ /$lvalue/i) && (push(@result, $cite));
+ }
+ } elsif ($lfield eq title) {
+ while (($cite, $val) = each %titles) {
+ ($val =~ /$lvalue/i) && (push(@result, $cite));
+ }
+ } else { # long search.
+ # (this implementation could result in false matches)
+ while (($cite, $val) = each %records) {
+ ($val =~ /$lfield\s*=.*$lvalue/i) && (push(@result, $cite));
+ }
+ }
+ } else { # exact search
+ print "$lfield is $lvalue";
+ $lvalue =~ tr/A-Za-z0-9\-//cd;
+ $lvalue =~ tr/A-Z/a-z/;
+ if ($lfield =~ /^author$/) {
+ @result = split(/$;/, $inauthors{$lvalue});
+ } elsif ($lfield =~ /^title$/) {
+ @result = split(/$;/, $intitles{$lvalue});
+ } else {
+ print " -- Exact matching on $lfield not available.\n";
+ return;
+ }
+ shift @result;
+ }
+ # weed out any duplicates that might have cropped up
+ grep($resaar{$_}++, @result);
+ @result = grep($resaar{$_}-- == 1, @result);
+
+ $sortoutput && (@result = &titlesort(@result));
+}
+
+########################################
+sub titlesort {
+ return(sort { $titles{$a} cmp $titles{$b}; } @_);
+}
+
+########################################
+sub printrecs {
+ local($cite, $auth, $names);
+ local($num) = shift(@_);
+
+ foreach $cite (@_) {
+ next if (!$cite);
+ $num++;
+ $debugging && print "cite: $cite\n";
+
+ if ($displaymode eq full) {
+ print $records{$cite}, "\n";
+ } else {
+ $names = '';
+ foreach $auth (split(/ and /, $authors{$cite})) {
+ $names .= ', ' . &parsename($auth);
+ }
+ $names =~ s/^, //;
+ $debugging && print ":$num:$names:$titles{$cite}:\n";
+ printf "%3d %-20s %-50s\n",
+ $num,
+ substr($names, 0, 20),
+ substr($titles{$cite}, 0, 50);
+ }
+ }
+}
+
+
+########################################
+# sets @result to a list of citekeys of duplicates
+sub finddups {
+ local($curtitle);
+ local($cite, $ocite, $name);
+ local($type, $otype);
+ local(@auths, @restauths);
+ local(%resaar);
+
+ @result = ();
+ foreach $name (keys %inauthors) {
+ $debugging && print "$name:";
+ @auths = split(/$;/, $inauthors{$name});
+ shift @auths;
+ @restauths = @auths;
+ foreach $cite (@auths) {
+ $curtitle = $titles{$cite};
+ ($type) = ($records{$cite} =~ /^\s*@\s*(\w+)/);
+ shift(@restauths);
+ foreach $ocite (@restauths) {
+ next if $cite eq $ocite;
+ ($otype) = ($records{$ocite} =~ /^\s*@\s*(\w+)/);
+ next if $type ne $otype;
+ next if $curtitle ne $titles{$ocite};
+ # author in common, same type, and same title
+ push(@result, $cite, $ocite);
+ }
+ }
+ }
+ $debugging && print "\n";
+
+ grep($resaar{$_}++, @result);
+ @result = grep($resaar{$_}-- == 1, @result);
+
+ print "", ($#result == 0) ? "1 duplicate" :
+ ($#result == -1 ? "no" : $#result+1, " duplicates"), " found.\n";
+}
+
+########################################
+#
+# parsename takes a name in BibTeX format, and parses it into
+# parts. It returns the last name. The following globals are
+# set:
+# $First, $von, $Last, $Jr
+
+sub parsename {
+ local($name) = @_;
+ local($doinglast) = 0;
+ local($part) = 0;
+ local($p1, $p2, $p3);
+ local($sing, $dummy);
+
+ ($dummy, $sing, $dummy) = $name =~ /(^|\s){(.*)}(\s|$)/;
+ $name =~ s/(^|\s){(.*)}(\s|$)/$1ASingleNameString$3/;
+ $First = $von = $Last = $Jr = '';
+
+ ($p1, $p2, $p3) = split(/,/, $name, 3);
+ if ($p3) {
+ $First = $p3;
+ $Jr = $p2;
+ if ($p1 =~ s/^\s*{(.*)}\s*$/$1/) {
+ $Last = $p1;
+ } else {
+ while ($p1 =~ /^[a-z]/) {
+ ($part) = $p1 =~ /^(\S+)/;
+ $p1 =~ s/^(\S+)\s*//;
+ $von .= ' ' . $part;
+ }
+ $Last = $p1;
+ }
+ } elsif ($p2) {
+ $First = $p2;
+ if ($p1 =~ s/^\s*{(.*)}\s*$/$1/) {
+ $Last = $p1;
+ } else {
+ while ($p1 =~ /^[a-z]/) {
+ ($part) = $p1 =~ /^(\S+)/;
+ $p1 =~ s/^(\S+)\s*//;
+ $von .= ' ' . $part;
+ }
+ $Last = $p1;
+ }
+ } else {
+ if ($p1 =~ s/^\s*{(.*)}\s*$/$1/) {
+ $Last = $p1;
+ } else {
+ while ($p1 =~ /^[A-Z]/) {
+ ($part) = $p1 =~ /^(\S+)/;
+ $p1 =~ s/^(\S+)\s*//;
+ $First .= ' ' . $part;
+ }
+ while ($p1 =~ /^[a-z]/) {
+ ($part) = $p1 =~ /^(\S+)/;
+ $p1 =~ s/^(\S+)\s*//;
+ $von .= ' ' . $part;
+ }
+ if ($p1) {
+ $Last = $p1;
+ } else {
+ ($Last) = $First =~ /\s+(\S+)\s*$/;
+ $First =~ s/\s+\S+\s*$//;
+ }
+ }
+ }
+ $Last =~ s/ASingleNameString/$sing/;
+ $Last =~ s/^\s+//;
+ $von =~ s/^\s+//;
+ $First =~ s/^\s+//;
+ $Jr =~ s/^\s+//;
+ # handle "et al" or "others"
+ if ( (!$Last) && ($von =~ /^(others|et\.?\s*al)\.?$/i) ) {
+ $Last = "others";
+ $von = '';
+ }
+ if ($debugging) {
+ $name =~ s/ASingleNameString/$sing/;
+ $name =~ s/^\s+//;
+ printf "%20s: %-15s %-10s %-20s %-10s\n", $name, $First, $von, $Last, $Jr;
+ }
+ return ($Last);
+}
+
+
+########################################
+#
+# split out the field parsing into a seperate routine.
+# so we read in verbatim, then call &bibtexexplode to seperate
+# into %entry.
+#
+sub bibtexread {
+ local(*FILE) = @_;
+ local($braces) = 1;
+ local($ent, $delim);
+ local($field, $value, @values);
+
+ %entry = ();
+
+ while (<FILE>) {
+ last if /^\s*@/;
+ }
+ if (!/,/) { # preamble is split on multiple lines
+ $ent = $_;
+ while (<FILE>) {
+ $ent .= $_;
+ last if /,/;
+ }
+ $_ = $ent;
+ }
+ return 0 if eof(FILE);
+ return 0 if /^\s*@\s*string/i;
+ return 0 if /^\s*@\s*preamble/i;
+ $ent = $_;
+ ( ($entry{type}, $delim, $entry{citekey})
+ = /^\s*@\s*(\w+)\s*([{(])\s*(\S+)\s*,\s*$/)
+ || do { print "Error getting line: $_\n"; return 0; };
+ $debugging && print $entry{type}, $delim, $entry{citekey}, "\n";
+ if ($delim eq '{') {
+ while (<FILE>) {
+ $ent .= $_;
+ $braces += s/{/{/g;
+ $braces -= s/}/}/g;
+ last if ($braces <= 0);
+ }
+ $entry{FULL} = $ent;
+ $ent =~ s/}\s*$//;
+ } else {
+ while (<FILE>) {
+ $ent .= $_;
+ last if $ent =~ s/[)]\s*$//;
+ }
+ $entry{FULL} = $ent . ')';
+ }
+ $ent =~ s/\s+/ /g;
+ @values = split(/,\s*(\w+)\s*=\s*/, $ent);
+ $debugging && print join("//", @values), "\n";
+ shift(@values); # zap the beginning info
+ while (@values) {
+ $field = shift(@values);
+ $field =~ tr/A-Z/a-z/;
+ $value = shift(@values);
+ $value =~ s/^\s*{(.*)}\s*$/$1/;
+ $value =~ s/^\s*"(.*)"\s*$/$1/;
+ $entry{$field} = $value;
+ }
+ return($entry{citekey});
+}
diff --git a/biblio/bibtex/utils/bibweb/COPYING b/biblio/bibtex/utils/bibweb/COPYING
new file mode 100644
index 0000000000..eeb586b392
--- /dev/null
+++ b/biblio/bibtex/utils/bibweb/COPYING
@@ -0,0 +1,340 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) 19yy <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) 19yy name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Library General
+Public License instead of this License.
diff --git a/biblio/bibtex/utils/bibweb/ChangeLog b/biblio/bibtex/utils/bibweb/ChangeLog
new file mode 100644
index 0000000000..798b4d6ec4
--- /dev/null
+++ b/biblio/bibtex/utils/bibweb/ChangeLog
@@ -0,0 +1,213 @@
+2003-11-19 John H Palmieri <palmieri@math.washington.edu>
+
+ * released version 0.49.
+
+ * bibweb: the AMS did something to break bibweb again, and I think
+ I've fixed it. In particular: there are now two types of MR
+ numbers: the old ones, and new ones which are just 7 digit
+ numbers. bibweb now uses the old ones for printing and uses the
+ new ones for searching and constructing URLs. Also, the AMS
+ changed the basic URL for the initial search, and so I've tried to
+ fix the one bibweb uses to compensate.
+
+2002-11-12 John H Palmieri <palmieri@math.washington.edu>
+
+ * released version 0.48.
+
+ * bibweb: changed path to perl executable
+
+ * bibweb: the AMS did something to break bibweb again, and I think
+ I've fixed it.
+
+2002-03-21 John H Palmieri <palmieri@math.washington.edu>
+
+ * released version 0.47.
+
+ * bibweb: added option '-sep CHAR': use CHAR instead of semicolon
+ to separate fields in long citation format.
+
+2000-11-09 John H. Palmieri <palmieri@math.washington.edu>
+
+ * released version 0.46.
+
+ * bibweb: the AMS did something to break bibweb again, and I think
+ I've fixed it.
+
+2000-11-09 Laurent Bartholdi <Laurent.Bartholdi@math.unige.ch>,
+ (modified by John H. Palmieri <palmieri@math.washington.edu>)
+
+ * bibweb: added option '-r': insert the math review in the bibtex output.
+
+2000-02-10 John H. Palmieri <palmieri@math.washington.edu>
+
+ * bibweb: specifying publication year wasn't working, so I fixed
+ it (by specifying the 'dr' field to be either 'all' or 'pubyear').
+
+1999-09-23 John Palmieri <palmieri@math.washington.edu>
+
+ * bibweb: released version 0.44.
+
+ * bibweb: changed URLs and stuff so that bibweb works with MathSciNet
+ version 5.0.
+
+ * bibweb: command line option -pdf retrieves information in pdf format.
+
+ * bibweb: new address.
+
+1999-03-02 John H Palmieri <palmieri@member.ams.org>
+
+ * bibweb: released version 0.43.
+
+ * bibweb: clarified copyright and licensing information.
+
+1998-10-26 John H Palmieri <palmieri@member.ams.org>
+
+ * bibweb: released version 0.41.
+
+1998-10-26 Michael Friendly <friendly@hotspur.psych.yorku.ca>
+
+ * bibweb: added option to look for webget if neither lynx nor wget
+ are present.
+
+1998-10-26 John H Palmieri <palmieri@member.ams.org>
+
+ * bibweb: more modifications related to MathSciNet 4.0.
+
+1998-09-22 John H Palmieri <palmieri@member.ams.org>
+
+ * bibweb: released version 0.41.
+
+ * bibweb: changed URLs and stuff so that bibweb works with MathSciNet
+ version 4.0.
+
+1998-05-04 John H Palmieri <palmieri@member.ams.org>
+
+ * bibweb: released version 0.40.
+
+ * bibweb: added another paragraph about the GNU GPL.
+
+ * COPYING: added this file to the distribution.
+
+1998-04-21 John H Palmieri <palmieri@member.ams.org>
+
+ * bibweb: released version 0.39.
+
+ * bibweb: made comment character a variable, in case some weird
+ version of BibTeX barfs when it sees `%'.
+
+1998-04-15 John H Palmieri <palmieri@member.ams.org>
+
+ * bibweb: released version 0.38.
+
+ * bibweb: fixed a bug: $use_bibtex was not being set by default if
+ no other options were chosen.
+
+ * bibweb: MathSciNet can now handled getitem requests properly
+ with temporary MR numbers.
+
+1998-04-02 John H Palmieri <palmieri@member.ams.org>
+
+ * bibweb: released version 0.37.
+
+ * bibweb: I noticed that lynx seems able to return dvi and
+ postscript output just fine, so the -d and -p options now work, as
+ long as lynx is available.
+
+ * bibweb: Since MathSciNet now can return BibTeX information
+ directly using mathscinet-getitem, the URLs are easier once we
+ know the MR number. So $new_wget_url has been redefined.
+
+1998-01-06 John H Palmieri <palmieri@member.ams.org>
+
+ * bibweb: released version 0.36.
+
+ * bibweb: New feature: bibweb uses the environment variable
+ MATHSCINET_SITE for its default MathSciNet search site. If this
+ variable is not defined, then the default is e-math.ams.org. Of
+ course, you can still specify a different site using the
+ command-line argument -e.
+
+ * bibweb: released version 0.35.
+
+ * bibweb: New feature: if you give the argument '-e rice', it
+ translates that to '-e ams.rice.edu'. Similarly:
+ 'ams' is short-hand for 'e-math.ams.org',
+ 'bielefeld' is shorthand for 'ams.mathematik.uni-bielefeld.de',
+ 'bonn' is shorthand for 'klymene.mpim-bonn.mpg.de', and
+ 'strasbg' is shorthand for 'irmasrv1.u-strasbg.fr'
+
+ * bibweb: AMS changed its format, so bibweb wasn't retrieving the
+ number of matches.
+
+1998-01-06 John Greenlees <j.greenlees@sheffield.ac.uk>
+
+ * bibweb: changed Bielefeld address. (Well, maybe not.)
+
+1997-12-05 Ralph Freese <ralph@math.hawaii.edu>
+
+ * bibweb ('foreach $warning' loop): changed 'last' to 'next'
+
+1997-11-25 John H Palmieri <palmieri@member.ams.org>
+
+ * bibweb: fixed bug: if using Lynx, and when retrieving item with
+ temporary MR number, nothing was returned.
+
+1997-11-07 John H Palmieri <palmieri@member.ams.org>
+
+ * bibweb: fixed bug: if --max=NUM option was used with NUM>9, if
+ there were more than 10 matches, only first 9 were returned.
+
+1997-11-05 John H Palmieri <palmieri@member.ams.org>
+
+ * bibweb: changed version to 0.31.
+
+ * bibweb.texi (etc): fiddled a bit with the installation instructions.
+
+1997-10-28 John H Palmieri <palmieri@member.ams.org>
+
+ * bibweb: changed version to 0.30, to celebrate the existence of
+ documentation.
+
+ * bibweb.texi: wrote the documentation.
+
+ * bibweb: changed version to 0.29
+
+ * bibweb: added command line option "std"
+
+ * bibweb: automatically use lynx if wget is not found.
+
+1997-10-27 John H Palmieri <palmieri@member.ams.org>
+
+ * bibweb: changed version to 0.28
+
+ * bibweb: fixed bug in parsing math review number--in the last few
+ versions, even when there was a unique match, the appropriate key
+ would not get assigned to the bibtex entry.
+
+ * bibweb: fixed bug in citation parsing (have to set author, etc,
+ to '' for each citation)
+
+ * bibweb: changed version to 0.27
+
+ * bibweb: little changes
+
+ * bibweb: changed version to 0.26
+
+ * bibweb: fixed one or two bugs with -cite option
+
+1997-10-26 John H Palmieri <palmieri@member.ams.org>
+
+ * bibweb: changed version to 0.25
+
+ * bibweb: fix round-up of $max_matches
+
+ * bibweb: use GetOpt to read command line arguments
+
+1997-10-25 John H Palmieri <palmieri@member.ams.org>
+
+ * bibweb: changed version to 0.24
+
+ * bibweb: changed some stylist choices, added some comments
+
+ * bibweb: changed /bin/perl to /usr/bin/perl
+
diff --git a/biblio/bibtex/utils/bibweb/HOW_TO b/biblio/bibtex/utils/bibweb/HOW_TO
new file mode 100644
index 0000000000..6f098671cb
--- /dev/null
+++ b/biblio/bibtex/utils/bibweb/HOW_TO
@@ -0,0 +1,293 @@
+
+These instructions may be a bit out of date. You should really read
+the documentation in bibweb.dvi or bibweb.info or bibweb.texi or
+bibweb.html (same documentation, different formats).
+
+-------------------
+
+How to use bibweb:
+
+Once you've installed both wget and bibweb, here's what you do:
+
+I will assume you're working with a file called 'gorilla.tex'. In
+order to use bibtex at all, you need to have two lines in the file,
+something like:
+
+ \bibliography{bozo}
+ \bibliographystyle{alpha}
+
+When you run bibtex on this, it looks for a file called 'bozo.bib',
+and loads references from that.
+
+1. Change the first of the above lines to:
+
+ \bibliography{bozo,gorilla}
+
+This way, bibtex will also look for a file called 'gorilla.bib', which
+bibweb will produce.
+
+2. If you want to cite a paper not in your bozo.bib file, say, Adams'
+paper on Hopf invariant one, you just cite it:
+
+ \cite{adams-hopf-invariant-one}
+
+3. Then run latex on the paper, as normal. After this, rather than
+running bibtex, run bibweb; it will run bibtex, and for every citation
+it can't find, it will search on MathSciNet. It will write the
+resulting bibtex entries to the file 'gorilla.bib'. Then it runs
+bibtex again, to scan these new entries. (So then you have to run
+latex a few more times, as usual.)
+
+To run bibweb, you just type:
+
+ bibweb gorilla
+
+Since MathSciNet is sort of slow, I would recommend using this in
+conjunction with X windows or some similar system: edit your tex file
+using Emacs (of course), and then in a separate window run bibweb when
+you need to. Then you can let it go on its merry way, while you keep
+typing. For you Ultra-TeX and AUC-TeX users, it should be pretty easy
+to set things up so you can run bibweb from with AUC-TeX by hitting
+C-c C-c; I'll let you work out the details.
+
+4. Other options for running bibweb:
+bibweb [options] FILE
+ where options can be:
+ -i FILE use FILE as input (aux) file
+ -o FILE use FILE as output (bib) file
+ -c REF looks up single citation REF, instead of using
+ an auxfile for input
+ -b get output in bibtex format (default)
+ -d get output in dvi format (written to MR#.dvi, where
+ 'MR#' is the Math Reviews number of the reference)
+ -p get output in postscript format (written to MR#.ps)
+ -t get output in text format (written to MR#.txt)
+ -m NUM return at most NUM entries (rounded up)
+ -e WEB_SITE use WEB_SITE for MathSciNet search
+ -L use lynx instead of wget (note: lynx is slower than wget)
+ -h print brief help message
+
+The options -d, -p, and -t use lynx rather than wget, so you must have
+lynx somewhere on your system. (But lynx is fairly common, so it may
+already be there.)
+
+The -m option: bibweb does not let you specify exactly how many
+matches to look for. If you run
+ bibweb -m NUM blah blah blah
+then it looks for at most NUM' matches, where NUM' is determined from
+NUM according to the following:
+ If NUM <= 5, then NUM' = 5.
+ If 5 < NUM <= 10, then NUM' = 10.
+ If 10 < NUM <= 20, then NUM' = 20.
+ If 20 < NUM <= 50, then NUM' = 50.
+ If 50 < NUM <= 100, then NUM' = 100.
+ If 100 < NUM <= 1000, then NUM' = 1000. (Don't try this at home.)
+ Otherwise, NUM' = 5.
+bibweb will print a message saying that it's rounding NUM up to NUM',
+if it thinks it should.
+
+The -e option: there are various places that let you search the
+MathSciNet database:
+ e-math.ams.org (the default)
+ ams.rice.edu
+ ams.mathematik.uni-bielefeld.de
+ irmasrv1.u-strasbg.fr
+So
+ bibweb -e ams.rice.edu blah blah blah
+uses the site at Rice instead of the default. If you use the -e
+option, no error checking is done: if you say
+ bibweb -e bozo.edu blah blah blah
+then bibweb will tell you that bozo.edu is not on its list of e-math
+sites, but it will go ahead and search there anyway (returning
+nothing, and doing it remarkably quickly). This way, if some new
+e-math site appears and I don't know about it, you can use bibweb to
+search there anyway.
+
+----------------
+
+Notes:
+1(a) If bibweb finds exactly one entry matching your citation, it
+puts it in gorilla.bib with the key you chose. For instance, if you
+have
+
+ \cite{kan-miller-splitting-spaces}
+
+bibweb puts the following in gorilla.bib:
+
+%% Math Reviews number: 57 #7582
+@article {kan-miller-splitting-spaces,
+ AUTHOR = {Kan, Daniel M. and Miller, Edward Y.},
+ TITLE = {Splitting spaces with finite group actions},
+ JOURNAL = {Topology},
+ VOLUME = {16},
+ YEAR = {1977},
+ NUMBER = {4},
+ PAGES = {403--407},
+}
+
+(b) If it finds several matches (at most 5), it writes them all to
+gorilla.bib, but leaves the original citation undefined. (The new
+ones have citations given by their Math Reviews numbers.) So at this
+point, you have to edit gorilla.bib to change the keys of the papers
+you're interested in, or you have to change your \cite command to
+match what was written into gorilla.bib.
+
+Example: if you have
+
+ \cite{adams;hopf-invariant-one}
+
+then there are two matches: two papers by Adams called "On the
+nonexistence of elements of Hopf invariant one", one from the Annals,
+and one from Bull. AMS. These get entered into gorilla.bib as
+
+%% Math Reviews number: 25 #4530
+@article {MR25:4530,
+ AUTHOR = {Adams, J. F.},
+ TITLE = {On the non-existence of elements of {H}opf invariant one},
+ JOURNAL = {Ann. of Math. (2)},
+ VOLUME = {72},
+ YEAR = {1960},
+ PAGES = {20--104},
+}
+
+%% Math Reviews number: 20 #3539
+@article {MR20:3539,
+ AUTHOR = {Adams, J. F.},
+ TITLE = {On the nonexistence of elements of {H}opf invariant one},
+ JOURNAL = {Bull. Amer. Math. Soc.},
+ VOLUME = {64},
+ YEAR = {1958},
+ PAGES = {279--282},
+}
+
+(c) If it finds more than 5 matches, it tells you that, and doesn't
+add any new entries to gorilla.bib.
+
+Example: if you have
+
+ \cite{serre}
+
+then bibweb adds the following to gorilla.bib:
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% citation 'serre'
+%% More than 5 matches found.
+%%
+
+(d) If it doesn't find any matches, it tells you that, and doesn't
+add any new entries to gorilla.bib.
+
+Example: if you have
+
+ \cite{serre-kan}
+
+then bibweb adds the following to gorilla.bib:
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% citation 'serre-kan'
+%% No matches found.
+%%
+
+(e) Occasionally, bibweb will say it only finds one match, but it will
+add several things to gorilla.bib. This happens when there are
+several papers whose reviews are all together on MathSciNet (see
+\cite{dwyer-kan;obstruction-theory-diagrams}, for example).
+
+
+
+2. There are two different formats for citations that bibweb knows how
+to handle, and it handles them in different ways.
+
+(a) Simpler format:
+
+ \cite{a-b-c-d-e}
+
+'a' gets sent as the author, 'b', 'c', and 'd' get sent as
+miscellany (they can match anything, including the author, title,
+journal, reviewer, or the text of the review). 'e' should be of the
+form '<1995' or '>1995' or '=1995' or '1995', in which case bibweb
+only searches for papers from the appropriate years. '1995' is
+treated the same as '=1995'. It seems that specifying a year or range
+of years slows things down tremendously, so you might want to avoid
+this. Also, I think if 'e' is in some other format, it will just get
+ignored.
+
+Example: \cite{devinatz-hopkins-nilpotence} matches two papers: one is
+"Nilpotence and stable homotopy theory, I" by Devinatz, Hopkins, and
+Smith; the other is 'Morava's change of rings theorem" by Devinatz,
+for which "Hopkins" and "nilpotence" are mentioned in the review.
+
+If you want to avoid this sort of thing, you can use the more involved
+format.
+
+(b) More involved format:
+
+ \cite{a1-a2-...-ak;t1-t2-...-tm;j1-j2-...jn;year}
+
+'year' should be just like field 'e' in the simpler format, but it
+slows things down, so I would avoid it. a1, ..., ak are treated as
+authors, t1, ..., tm are treated as titles, j1, ..., jn are treated as
+journals. You don't have to include the journal field, for instance,
+or the year field.
+
+Example: \cite{devinatz-hopkins;nilpotence} matches only the paper
+"Nilpotence and stable homotopy theory, I" by Devinatz, Hopkins, and
+Smith. \cite{miller-wilkerson;vanishing-steenrod} matches "Vanishing
+lines for modules over the Steenrod algebra" by Miller and Wilkerson,
+as does \cite{miller-wilkerson;vanishing-steenrod;;<1985}, as does
+\cite{miller-wilkerson;vanishing-steenrod;pure;<1985} (the paper
+appeared in the Journal of Pure and Applied Algebra).
+
+
+
+3. Using wildcards: You can use '*' as a wildcard; for instance,
+\cite{adams;hopf-invar*-one} would give the same two papers as in Note
+1(b).
+
+When using MathSciNet by hand, if you want to search for papers by
+Mike Hopkins, you could set the author field equal to "hopkins, m*".
+On the other hand, if you give bibtex the command
+\cite{hopkins,m*;global}, bibtex will treat "hopkins" as one source
+and "m*;global" as another. So to get bibweb to do the right thing,
+you should use the command
+
+ \cite{hopkins.m*;global}
+
+bibweb will translate the . to a , before sending the query to
+MathSciNet, so this citation would produce
+
+@incollection {hopkins.m*;global,
+ AUTHOR = {Hopkins, Michael J.},
+ TITLE = {Global methods in homotopy theory},
+BOOKTITLE = {Homotopy theory (Durham, 1985)},
+ PAGES = {73--96},
+ SERIES = {London Math. Soc. Lecture Note Ser.},
+ VOLUME = {117},
+PUBLISHER = {Cambridge Univ. Press},
+ ADDRESS = {Cambridge},
+ YEAR = {1987},
+}
+
+4. Examples of other options:
+
+ bibweb -i bozo -o clown
+uses 'bozo.aux' as input file (i.e., it runs 'bibtex bozo'), and writes
+output to 'clown.bib'.
+
+ bibweb -c 'adams;hopf-invariant-one'
+looks for the given reference, and writes its output to the screen.
+
+ bibweb -c 'adams;hopf-invariant-one' -o clown.bib
+looks for the given reference, and appends its output to 'clown.bib'.
+
+ bibweb -L blah blah blah
+should work just like 'bibweb blah blah blah', except that is uses
+the program 'lynx' instead of 'wget'. I haven't tested this
+extensively, but I have noticed that lynx seems rather slow compared
+to wget.
+
+
+----------------
+
+John H. Palmieri
+palmieri@math.washington.edu
diff --git a/biblio/bibtex/utils/bibweb/INSTALL b/biblio/bibtex/utils/bibweb/INSTALL
new file mode 100644
index 0000000000..cd777b7454
--- /dev/null
+++ b/biblio/bibtex/utils/bibweb/INSTALL
@@ -0,0 +1,89 @@
+
+These instructions may be a bit out of date. You should really read
+the documentation in bibweb.dvi or bibweb.info or bibweb.texi or
+bibweb.html (same documentation, different formats).
+
+-------------------
+
+Before you even think about installing bibweb, you need to make sure
+that you can use MathSciNet from your machine. If not, you're out of
+luck.
+
+To install bibweb, you need to do two things:
+
+1. (optional) Get a copy of the program 'wget' from your favorite GNU
+site. Some choices of ftp sites are:
+
+ftp://ftp.hawaii.edu/mirrors/gnu
+ftp://ftp.digex.net/pub/gnu
+ftp://wuarchive.wustl.edu/systems/gnu
+ftp://ftp.cs.columbia.edu/archives/gnu/prep
+ftp://uiarchive.cso.uiuc.edu/pub/gnu
+ftp://gatekeeper.dec.com/pub/GNU
+ftp://labrea.stanford.edu/gnu
+ftp://ftp.uu.net/archive/systems/gnu
+ftp://prep.ai.mit.edu/pub/gnu (the main GNU site, but use a mirror instead)
+
+Once you've retrieved it, install it. (When I did this, I just
+followed the wget installation instructions, and it worked without a
+hitch.)
+
+See Note 1 for a description of wget.
+
+If you have lynx and you want to skip step 1, you can; bibweb will use
+lynx if it can't find wget. wget is faster than lynx, though.
+
+
+2. Put bibweb somewhere in your path. For instance, you might put
+it in $HOME/bin, as long as that is in your path (and if it isn't,
+look at your .cshrc (or equivalent) file). Make sure its permissions
+are set to "executable" (i.e., do 'chmod ugo+x bibweb'). Also find
+out where perl lives on your computer, and put its path on the first
+line of bibweb. On my machine, for instance, I might use
+
+ #!/usr/local/bin/perl5
+
+instead of '#!/usr/local/bin/perl'.
+
+bibweb works a bit better with version 5 of perl than with version
+4. I haven't even tested it with earlier versions.
+
+See Note 2 for a brief description of bibweb.
+
+3. There is no third thing. You're ready to go.
+
+----------------
+
+Notes:
+
+1. wget is a "utility to retrieve files from the World Wide Web", to
+quote the man page. In other words, it lets you browse the web
+without actually wasting time, which sort of defeats the purpose. If
+you run
+
+ wget http://e-math.ams.org/
+
+then wget retrieves the AMS home page and saves it in your directory.
+(I'm not quite sure why you would want to retrieve this page, but
+anyway...) A slightly more useful example:
+
+ wget http://www.gnus.org/gnus.tar.gz
+
+downloads the most recent beta version of the gnus package (which is a
+news and mail reader for Emacs).
+
+wget is GNU software, so it's freely distributable.
+
+
+2. bibweb is a perl script that scans the output from a bibtex run,
+figures out authors, titles, and so forth, then queries MathSciNet
+using wget (via some arcane URL).
+
+I wrote bibweb, and it is distributed under the GNU General Public
+License. Hence it's freely distributable. See the file 'COPYING' for
+details.
+
+----------------
+
+John H. Palmieri
+palmieri@math.washington.edu
diff --git a/biblio/bibtex/utils/bibweb/README b/biblio/bibtex/utils/bibweb/README
new file mode 100644
index 0000000000..f883736cb6
--- /dev/null
+++ b/biblio/bibtex/utils/bibweb/README
@@ -0,0 +1,41 @@
+
+ BIBWEB
+
+bibweb is a utility for automatically retrieving bibliographical
+information from the American Mathematical Society's MathSciNet
+program. John Palmieri ("engineer") wrote bibweb, and Bill Dwyer
+("idea man") helped to design it.
+
+If you're too lazy to go to the library or use a web browser to find
+out bibliographical information for that ground-breaking paper you're
+writing, you can let bibweb do the work for you. You have to use
+bibtex (which means you have to use latex, I think), and you have to
+write citations in a particular format, but that's about it.
+
+See the file 'INSTALL' for installation instructions.
+
+See the file 'HOW_TO' for directions on the use of bibweb.
+
+This program is free software, distributed under the GNU General
+Public License; see the file 'COPYING' for more information.
+
+Here are the files in the distribution:
+
+COPYING GNU General Public License
+ChangeLog list of changes made to bibweb (not user-friendly)
+HOW_TO how to use
+INSTALL installation instructions
+README this file
+bibweb the actual perl script
+bibweb.dvi documentation, in dvi format
+bibweb.html documentation, in html format
+bibweb.info documentation, in info format
+bibweb.texi documentation, in texinfo format
+bibweb_toc.html table of contents for bibweb.html
+test.tex test file: run 'latex test', then 'bibweb test' and see
+ what happens
+
+----------------
+
+John H. Palmieri
+palmieri@math.washington.edu
diff --git a/biblio/bibtex/utils/bibweb/bibweb b/biblio/bibtex/utils/bibweb/bibweb
new file mode 100644
index 0000000000..10c93b1c85
--- /dev/null
+++ b/biblio/bibtex/utils/bibweb/bibweb
@@ -0,0 +1,529 @@
+#!/usr/bin/perl
+
+####################################################################
+#
+# File: bibweb
+# Author: John H. Palmieri <palmieri@math.washington.edu>
+# URL: http://www.math.washington.edu/~palmieri/Bibweb/
+# Version: 0.49 of Wed Nov 19 12:58:29 PST 2003
+# Description: retrieve bibliographical information from MathSciNet
+# automatically
+# Copyright (c) 1997, 1998, 1999, 2000, 2001, 2002, 2003 John H. Palmieri
+# License: distributed under GNU General Public License -- see below.
+#
+####################################################################
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# (see file COPYING) along with this program; if not, write to the
+# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+#
+####################################################################
+#
+# Command line options:
+# FILE use FILE.aux as input, FILE.bib as output
+# -i FILE specify FILE as input (aux) file.
+# -o FILE specify FILE as output (bib) file. If FILE ends in
+# ".bib", write to FILE; otherwise, write to FILE.bib
+# -c CITATION looks up CITATION, rather than using an auxfile for input
+# -b get output in bibtex format (default)
+# -r insert the review in the bibtex output
+# -d get output in dvi format (written to MR#.dvi, where
+# 'MR#' is the Math Reviews number of the reference)
+# -p get output in postscript format (written to MR#.ps)
+# -pdf get output in pdf format (written to MR#.pdf)
+# -t get output in text format (written to MR#.txt)
+# -m NUM return at most NUM entries (where NUM is rounded up
+# to 5, 10, 20, 50, 100, 1000)
+# -e WEB_SITE use WEB_SITE for MathSciNet search
+# -L use lynx instead of wget (note: lynx is slower)
+# -h print brief help message
+#
+# If you use only one of the -i and -o options, bibweb makes a guess
+# as to what the other file should be.
+#
+# At the moment, -d, -p, -pdf, -t only work if you have lynx available.
+####################################################################
+
+$bibtex = 'bibtex';
+$thisprog = 'bibweb';
+$version = '0.49';
+# good choices for e_math: 'www.ams.org', 'ams.rice.edu',
+# 'ams.mathematik.uni-bielefeld.de', 'ams.mpim-bonn.mpg.de',
+# 'ams.u-strasbg.fr', 'ams.impa.br'
+$e_math = $ENV{MATHSCINET_SITE};
+unless ($e_math) {$e_math = 'www.ams.org'}
+# % is not the official BibTeX comment character yet, so you might want
+# to change these to be absolutely compatible. Of course, I forget what
+# the official way is to do comments; maybe @comment?
+$bibtex_short_comment = '%%';
+$bsc = $bibtex_short_comment;
+$bibtex_long_comment = '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%';
+#
+$use_stdout = 0;
+$usage = <<EOT;
+This is $thisprog, version $version.
+To run bibtex on FILE, and then scan MathSciNet for missing
+ bibliographical information: $0 [options] FILE
+ options can be:
+ -i FILE use \'FILE\' as input (aux) file
+ -o FILE use \'FILE\' as output (bib) file
+ -c REF looks up single citation \'REF\', instead of using
+ an auxfile for input
+ -b get output in bibtex format (default)
+ -r insert the review in the bibtex output
+ -d get output in dvi format (written to MR\#.dvi, where
+ \'MR\#\' is the Math Reviews number of the reference)
+ -p get output in postscript format (written to MR\#.ps)
+ -pdf get output in pdf format (written to MR\#.pdf)
+ -t get output in text format (written to MR\#.txt)
+ -m NUM return at most NUM entries (rounded up)
+ -e WEB_SITE use WEB_SITE for MathSciNet search
+ -L use lynx instead of wget (note: lynx is slower)
+ -std write output to STDOUT (the screen, ordinarily)
+ -sep CHAR use CHAR to delimit fields in long citation format,
+ instead of semicolon (;)
+ -h print this help message
+EOT
+
+# read command line arguments
+use Getopt::Long;
+GetOptions("input|i=s" => \$auxfile,
+ "output|o=s" => \$bibfile,
+ "stdout|std|s" => \$use_stdout,
+ "cite|c=s" => \$only_cite,
+ "bibtex|bib|b" => \$use_bibtex,
+ "review|rev|r" => \$review,
+ "dvi|d" => \$use_dvi,
+ "postscript|ps|p" => \$use_postscript,
+ "pdf" => \$use_pdf,
+ "text|txt|t" => \$use_text,
+ "max|m=i" => \$user_max,
+ "emath|e=s" => \$e_math,
+ "lynx|Lynx|L" => \$use_lynx,
+ "separator|sep=s" => \$new_separator,
+ "help|h" => \$help) or
+ die "$usage\n";
+if ($help) { die "$usage\n" };
+
+OUTPUTTYPE: {
+ if ($use_bibtex) {
+ $output_type = 'bibtex';
+ $getitem_return = 'bibtex';
+ last OUTPUTTYPE;
+ };
+ if ($use_dvi) {
+ $output_type = 'dvi';
+ $use_lynx = 1;
+ $getitem_return = 'dvi';
+ last OUTPUTTYPE;
+ };
+ if ($use_postscript) {
+ $output_type = 'postscript';
+ $use_lynx = 1;
+ $getitem_return = 'ps';
+ last OUTPUTTYPE;
+ };
+ if ($use_pdf) {
+ $output_type = 'pdf';
+ $use_lynx = 1;
+ $getitem_return = 'pdf';
+ last OUTPUTTYPE;
+ };
+ if ($use_text) {
+ $output_type = 'text';
+ $use_lynx = 1;
+ $getitem_return = 'hl';
+ last OUTPUTTYPE;
+ };
+ $use_bibtex = 1;
+ $output_type = 'bibtex';
+ $getitem_return = 'bibtex';
+}
+
+chomp($which_wget = `which wget`);
+chomp($which_lynx = `which lynx`);
+chomp($which_webget = `which webget`);
+
+if (!$use_lynx and (-x $which_wget)) {
+ $wget = 'wget';
+ $wget_switches = ' --quiet -O - ';
+}
+elsif (!$use_lynx and (-x $which_webget)) {
+ $wget = 'webget';
+ $wget_switches = '';
+}
+elsif (-x $which_lynx) {
+ $wget = 'lynx';
+ $wget_switches = ' -source ';
+}
+else {
+ die "I can't find wget, lynx, or webget. Your path may not be set
+correctly, or you may need to install one of these programs. Lynx
+must be available in order to use the -dvi, -ps, -pdf, and -txt options.\n"
+}
+
+if ($e_math eq 'ams') {$e_math = 'www.ams.org'}
+if ($e_math eq 'rice') {$e_math = 'ams.rice.edu'}
+if ($e_math eq 'bielefeld') {$e_math = 'ams.mathematik.uni-bielefeld.de'}
+if ($e_math eq 'bonn') {$e_math = 'ams.mpim-bonn.mpg.de'}
+if ($e_math eq 'strasbg') {$e_math = 'ams.u-strasbg.fr'}
+if ($e_math eq 'impa') {$e_math = 'ams.impa.br'}
+
+if ($e_math =~ /
+ ^www.ams.org$|
+ ^ams.rice.edu$|
+ ^ams.mathematik.uni-bielefeld.de$|
+ ^ams.mpim-bonn.mpg.de$|
+ ^ams.u-strasbg.fr$|
+ ^ams.impa.br$
+ /x) {
+ print "Using \`$e_math\' for the MathSciNet search.\n"
+ }
+ else {
+ print "Warning: Your choice of \`$e_math\' for the MathSciNet site
+is not one of the recommended choices. Proceeding anyway...\n\n";
+}
+
+if ($e_math eq 'www.ams.org') {$redirect = 'Providence%2C+RI+USA'}
+if ($e_math eq 'ams.rice.edu') {$redirect = 'Houston%2C+TX+USA'}
+if ($e_math eq 'ams.mathematik.uni-bielefeld.de') {
+ $redirect = 'Bielefeld%2C+Germany'}
+if ($e_math eq 'ams.mpim-bonn.mpg.de') {$redirect = 'Bonn%2C+Germany'}
+if ($e_math eq 'ams.u-strasbg.fr') {$redirect = 'Strasbourg%2C+France'}
+if ($e_math eq 'ams.impa.br') {$redirect = 'Rio+de+Janeiro%2C+Brazil'}
+
+if ($user_max) {
+ MAX: {
+ if ($user_max <= 5) { $max_matches = 5; last MAX; };
+ if ($user_max <= 10) { $max_matches = 10; last MAX; };
+ if ($user_max <= 20) { $max_matches = 20; last MAX; };
+ if ($user_max <= 50) { $max_matches = 50; last MAX; };
+ if ($user_max <= 100) { $max_matches = 100; last MAX; };
+ if ($user_max <= 1000) { $max_matches = 1000; last MAX; };
+ $max_matches = 5;
+ };
+ if ($user_max != $max_matches) {
+ print "Rounding -m argument up to $max_matches.\n\n";
+ };
+}
+else {
+ $max_matches = 5;
+}
+
+unless ($auxfile and $bibfile) {
+ $file = shift(@ARGV);
+ $auxfile = ($auxfile or $file);
+ $bibfile = ($bibfile or "$file.bib");
+}
+
+if ($bibfile and $bibfile !~ m/\.bib$/) {
+ $bibfile = "$bibfile.bib";
+}
+
+if ($only_cite) {
+ $only_cite =~ s(\'\")();
+ @bibtex_output = (1);
+ $use_stdout = 1 if ($bibfile eq "" or $bibfile eq ".bib");
+}
+else {
+ $auxfile =~ s/\.aux$//;
+ if ($auxfile and not $bibfile) { $bibfile = "$auxfile.bib" }
+ unless (-e "$auxfile.aux") {die "Couldn't read $auxfile.aux\n"};
+ unless ($use_stdout) {
+ open(BIBFILE, ">>$bibfile") or die "Couldn't open $bibfile\n";
+ print "Appending output to $bibfile . . . \n\n";
+ }
+ @bibtex_output = `$bibtex $auxfile`;
+}
+
+$semicolon = ";";
+if ($new_separator) { $semicolon = quotemeta ($new_separator) }
+
+
+foreach $warning (@bibtex_output) {
+ # get citation
+ if ($only_cite) {
+ $citation_orig = $citation = $only_cite;
+ $citation =~ tr/,/./;
+ }
+ elsif ($warning =~ (/^Warning--I didn\'t find a database entry for \"([^\"]*)\"$/)) {
+ $citation_orig = $citation = $1;
+ next if &check_bibfile($citation_orig);
+ }
+ else { next; }
+
+
+ # split citation into author, etc.
+ $citation =~ s/-and-/-/g;
+ $citation =~ tr/./,/;
+ $author = '';
+ $title = '';
+ $journal = '';
+ $year = '';
+ $dr = 'all';
+ $misc = '';
+
+ if ($citation =~ m/$semicolon/) {
+ ($authors, $titles, $journals, $year) = split(/$semicolon/, $citation);
+ $author = join('+and+', split(/-/, $authors));
+ $title = join('+and+', split(/-/, $titles));
+ $journal = join('+and+', split(/-/, $journals));
+ }
+ else {
+ ($author, $subcitation) = split(/-/, $citation, 2);
+ if ($subcitation =~ /([<>=]?\d+)\Z/) {
+ $subcitation = $`;
+ $year = $1; }
+ $misc = join('+and+', split(/-/, $subcitation));
+ }
+
+ # parse year entry
+ YEAR: {
+ if ($year eq '') {
+ $dr = 'all';
+ last YEAR;
+ };
+ if ('<' eq substr($year, 0, 1)) {
+ $ord = 'lt';
+ $yr = substr($year, 1);
+ $dr = 'pubyear';
+ last YEAR;
+ };
+ if ('=' eq substr($year, 0, 1)) {
+ $ord = 'eq';
+ $yr = substr($year, 1);
+ $dr = 'pubyear';
+ last YEAR;
+ };
+ if ('>' eq substr($year, 0, 1)) {
+ $ord = 'gt';
+ $yr = substr($year, 1);
+ $dr = 'pubyear';
+ last YEAR;
+ };
+ $ord = 'eq';
+ $yr = $year;
+ $dr = 'pubyear';
+ }
+
+ # construct URL
+ $wget_url =
+ "\'http://$e_math/msnmain?fn=130&form=fullsearch&preferred_language-en&Submit=Start+Search&" .
+ "pg4=AUCN&s4=$author&co4=AND" .
+ "&pg5=TI&s5=$title&co5=AND" .
+ "&pg6=JOUR&s6=$journal&co6=AND" .
+ "&pg7=ALLF&s7=$misc" .
+ "&dr=$dr" .
+ "&yrop=$ord&arg3=$yr" .
+ "&yearRangeFirst=&yearRangeSecond=" .
+ "&pg3=ET&s3=All&l=20&reference_lists=show&redirect=$redirect\'";
+ unless ($use_stdout) {
+ &bib_print("", "$bibtex_long_comment \n");
+ }
+ &bib_print("working on citation \'$citation_orig\' \n",
+ "$bsc citation \'$citation_orig\' \n" );
+ $match_info_printed = '';
+ $done_getting_bibtex = '';
+
+ # print $wget_url;
+
+ # call wget and process its output
+ foreach $line (`$wget $wget_url $wget_switches`) {
+ # print $line;
+
+ # get number of matches
+ if (($line =~ (/Number of Matches:.*<\/b> ([0-9]*)/))
+ or ($line =~ (/Item:.*<strong>([0-9]*)<\/strong>\s*$/))) {
+ # print $line;
+
+ $matches = $1;
+ # print $matches;
+
+ if ($matches > $max_matches) {
+ &bib_print("More than $max_matches matches found " .
+ "($matches); " .
+ "please refine your search criteria,\n" .
+ "or use the -m option. \n\n",
+ "$bsc More than $max_matches matches found " .
+ "($matches). \n$bsc\n");
+ last;
+ }
+ elsif ( not $match_info_printed ) {
+ $plural = "es";
+ $match_info_printed = 1;
+ if ($matches == 1) {$plural = ""}
+ &bib_print("$matches match$plural found. \n\n", "" );
+ }
+ }
+
+ # given match, get MR number, convert to forms for use in URL
+ #elsif ($line =~ (/TYPE=\"checkbox\" VALUE=\"([0-9][0-9_a-z]*)\"/)) {
+ elsif ((($matches == 1) and
+ ($line =~ (/<strong>MR([^<]*)<\/strong>\s*<strong>\(([^)]*)\)<\/strong>/)) and
+ (not $done_getting_bibtex))
+ or
+ (($matches > 1) and
+ ($line =~ (/<strong>MR([^<]*)<\/strong>\s*<strong>\(([^)]*)\)<\/strong>/)))) {
+
+ #print $line;
+
+ if ($matches == 1) { $done_getting_bibtex = 1 };
+
+ # there are now new MR numbers: a unique 7 digit number
+ # assigned to each item in the database. Assign this to $mr,
+ # and use it to search. Assign old MR number to $old_mr, and
+ # use it for printing.
+ $mr = $1;
+ $old_mr = $2;
+ &bib_print("", "$bsc Math Reviews number: $old_mr \n");
+ $old_mr =~ tr/ //d;
+ $old_mr =~ tr/_/:/;
+ $old_mr =~ tr/\#/:/;
+ $old_mr =~ tr/,/:/;
+
+ # print $old_mr;
+
+ $new_wget_url = "\'http://$e_math/mathscinet-getitem?mr=$mr&return=$getitem_return\'";
+
+ # bibtex output
+
+ if ($output_type eq 'bibtex') {
+
+ # call wget again, process its output
+ $at_sign_found = 0;
+
+ foreach $line2 (`$wget $new_wget_url $wget_switches`) {
+
+ # look for @ at start of bibtex
+ if (not $at_sign_found) {
+ $at_sign_found = ($line2 =~ /@/);
+ }
+
+ if ($at_sign_found) {
+ # remove html tags from text and print it (if not blank)
+ $line2 = &remove_html($line2);
+ unless (($line2 =~ (/^\s*$/)) or ($line2 =~ "MathSciNet")) {
+ $mr =~ s/CMP//;
+
+ if ($matches == 1 and $line2 =~ (/$old_mr/)) {
+ $line2 =~ s/MR$old_mr/$citation_orig/;
+ }
+ if ($line2 =~ "(c).*[0-9]*.*American Mathematical Society") {
+ # &bib_print("", "$bsc $line2\n$bsc\n");
+ &bib_print ("", "\n");
+ }
+ else {
+ &bib_print("", "$line2" );
+ if ($review && $line2 =~ "MRREV") {
+ &print_review($mr);
+ }
+ }
+ }
+ }
+ }
+ }
+
+ # dvi, ps, pdf, txt output
+ else {
+ $wget_switches = " -dump > MR$mr.$getitem_return";
+ system ("$wget $new_wget_url $wget_switches");
+ print "Output written to MR$mr.$getitem_return\n";
+ }
+ }
+
+ # warning messages...
+ elsif ($line =~ (/Sorry, no matches found/)) {
+ &bib_print("No matches found; please revise your search criteria. \n\n",
+ "$bsc No matches found. \n$bsc\n");
+ last;
+ }
+ elsif ($line =~ (/Sorry, /)) {
+ &bib_print("There was an unknown error. " .
+ "Please check for typos, or just try again.\n\n",
+ "$bsc Syntax or server error. \n$bsc\n");
+ }
+ }
+}
+
+close(BIBFILE);
+
+# run bibtex again, to make use of new keys
+exec "$bibtex $auxfile" unless ($only_cite);
+
+########## simple subroutines
+
+# scan BIBFILE for citation, to see if you've looked for it before
+sub check_bibfile {
+ local($answer) = 0;
+ local($cite) = $_[0];
+ if ($] >= 5) { $cite = "\Q$_[0]\E"; }
+ if (-e $bibfile) {
+ open(BIBFILE, "$bibfile");
+ while (<BIBFILE>) {
+ if (/$bsc\s*citation\s*\'$cite\'/) {
+ $answer = 1;
+ last;
+ }
+ }
+ close(BIBFILE);
+ if ($answer) { print "You've searched for $_[0] before.\n\n" };
+ $answer;
+ }
+ else {
+ 0;
+ }
+}
+
+# remove html tags (strings like <blah> and </blah>)
+sub remove_html {
+ local($text) = $_[0];
+ $text =~ s/<\/[^\>]*\>/ /g;
+ $text =~ s/<[^\>]*\>//g;
+ $text;
+}
+
+# print to screen and to BIBFILE, unless writing to STDOUT
+sub bib_print {
+ local($line1, $line2) = ($_[0], $_[1]);
+ if ($use_stdout) {
+ if ($use_bibtex) {print $line2}
+ else {print $line1}
+ }
+ else {
+ open(BIBFILE, ">>$bibfile") or die "Couldn't open $bibfile\n";
+ print $line1;
+ print BIBFILE "$line2";
+ }
+}
+
+# print the review of the current $mr item.
+sub print_review {
+ local($mr) = $_[0];
+
+ local($command) = "$wget \'http://$e_math/mathscinet-getitem?mr=$mr\' $wget_switches";
+ local($count) = 0;
+ local($line);
+ &bib_print ("", " REVIEW = {");
+
+ foreach $line (`$command`) {
+ # print $line;
+ if ($line =~ "<STRONG>Reviewed</STRONG>")
+ { $count++;
+ chomp($line);
+ &bib_print ("", &remove_html($line) . " },\n"); }
+ if ($count == 2) { &bib_print ("", &remove_html($line)) }
+ if ($line =~ "citation to clipboard") { $count++ }
+ if ($line =~ "<BR CLEAR=RIGHT>") { $count++ }
+ }
+ }
diff --git a/biblio/bibtex/utils/bibweb/bibweb.html b/biblio/bibtex/utils/bibweb/bibweb.html
new file mode 100644
index 0000000000..b769cd33a4
--- /dev/null
+++ b/biblio/bibtex/utils/bibweb/bibweb.html
@@ -0,0 +1,824 @@
+<HTML>
+<HEAD>
+<!-- Created by texi2html 1.56k from bibweb.texi on 9 November 2000 -->
+
+<TITLE>Bibweb Manual</TITLE>
+</HEAD>
+<BODY>
+<H1>Bibweb Manual</H1>
+<ADDRESS>(info by John H. Palmieri)</ADDRESS>
+<P>
+<P><HR><P>
+<P>
+@tolerance 10000
+
+
+<P>
+@title{Bibweb Manual}
+
+
+<P>
+Copyright (C) 1997, 1998, 2000 John H. Palmieri
+
+
+<P>
+Permission is granted to make and distribute verbatim copies of
+this manual provided the copyright notice and this permission notice
+are preserved on all copies.
+
+
+<P>
+Permission is granted to copy and distribute modified versions of this
+manual under the conditions for verbatim copying, provided also that the
+section entitled "Copying" is included exactly as in the original, and
+provided that the entire resulting derived work is distributed under the
+terms of a permission notice identical to this one.
+
+
+<P>
+Permission is granted to copy and distribute translations of this manual
+into another language, under the above conditions for modified versions,
+except that this permission notice may be stated in a translation
+approved by the Free Software Foundation.
+
+
+<P>
+Bibweb is a perl script written by John Palmieri (in consultation with
+Bill Dwyer).
+
+
+<P>
+This is version 0.46, November 2000, of the Bibweb manual. Bug reports
+and suggestions for new features should go to
+<SAMP>`palmieri@math.washington.edu'</SAMP>.
+
+
+<P>
+This is the first version of this manual; it is done (except for the
+indices).
+
+
+
+
+<H1><A NAME="SEC1" HREF="bibweb_toc.html#TOC1">Introduction</A></H1>
+
+<P>
+Bibweb is a utility for automatically retrieving bibliographical
+information from the American Mathematical Society's MathSciNet search
+engine (available at <A HREF="http://www.ams.org/mathscinet">http://www.ams.org/mathscinet</A>). (In
+particular, in order to use bibweb, you must have access to MathSciNet,
+which means that you or your institution has at some point shelled out
+some quantity of money to the AMS. Anyway...)
+
+
+<P>
+If you're too lazy to go to the library or use a web browser to find out
+bibliographical information for that ground-breaking paper you're
+writing, then bibweb is the program for you. It is intended for use
+with BibTeX (which means with LaTeX), and you have to write
+citations in a particular format, but that's about all there is to it.
+
+
+<P>
+Briefly: once you've installed bibweb, if you are editing a file called
+<TT>`bozo.tex'</TT>, then you need to insert the following line:
+
+
+
+<PRE>
+ \bibliography{bozo}
+</PRE>
+
+<P>
+If you are also using the BibTeX file <TT>`junk.bib'</TT>, then you
+should use the following line:
+
+
+
+<PRE>
+ \bibliography{junk,bozo}
+</PRE>
+
+<P>
+When you want to cite a paper whose bibliographical information you are
+lacking, say "Periodic phenomena in the Adams-Novikov spectral
+sequence" by H. R. Miller, D. C. Ravenel, and W. S. Wilson, then you
+give LaTeX the command
+
+
+
+<PRE>
+ \cite{miller-ravenel-wilson-periodic}
+</PRE>
+
+<P>
+or
+
+
+
+<PRE>
+ \cite{miller-ravenel-wilson-novikov}
+</PRE>
+
+<P>
+or
+
+
+
+<PRE>
+ \cite{miller-ravenel-wilson}
+</PRE>
+
+<P>
+or
+
+
+
+<PRE>
+ \cite{miller-ravenel;adams-spectral}
+</PRE>
+
+<P>
+When you run this through LaTeX, it won't find the citation (by
+assumption); BibTeX won't find a citation either. When you run
+bibweb, though, by typing
+
+
+
+<PRE>
+ bibweb bozo
+</PRE>
+
+<P>
+at the shell prompt, then it takes your citation and queries
+MathSciNet. If it finds a match, it writes the bibliographic
+information, in BibTeX format, to the file <TT>`bozo.bib'</TT>.
+
+
+<P>
+Bibweb also lets you search for just a single citation, it lets you
+specify the names of the input (TeX) and output (BibTeX) files
+separately, and has other options. See section <A HREF="bibweb.html#SEC8">Options</A> for details.
+
+
+
+
+<H1><A NAME="SEC2" HREF="bibweb_toc.html#TOC2">How to</A></H1>
+
+<P>
+In this section, we give detailed instructions for how to use bibweb.
+
+
+
+
+<H2><A NAME="SEC3" HREF="bibweb_toc.html#TOC3">LaTeX file</A></H2>
+
+<P>
+In this section, we describe how to write your LaTeX file so that it
+will produce output suitable for bibweb.
+
+
+
+
+<H3><A NAME="SEC4" HREF="bibweb_toc.html#TOC4">Bibliography command</A></H3>
+
+<P>
+You need to decide where you want to put the bibliographic information
+that bibweb will give you; this should be a file ending in <SAMP>`.bib'</SAMP>.
+Suppose you decide to use a file called <TT>`jimbob.bib'</TT> (which may or
+may not exist at this point). Then you need the following line in your
+LaTeX file:
+
+
+
+<PRE>
+ \bibliography{jimbob}
+</PRE>
+
+<P>
+As indicated above, if you already have some other bibtex files lying
+around, and you also want to use these (say they're called
+<TT>`manny.bib'</TT>, <TT>`moe.bib'</TT>, and <TT>`jack.bib'</TT>),
+then you should instead use the following line:
+
+
+
+<PRE>
+ \bibliography{manny,moe,jack,jimbob}
+</PRE>
+
+
+
+<H3><A NAME="SEC5" HREF="bibweb_toc.html#TOC5">Citations</A></H3>
+
+<P>
+There are two different formats for citations that bibweb knows how to
+handle, and it handles them in different ways.
+
+
+
+<UL>
+<LI>
+
+Simpler format:
+
+
+<PRE>
+ \cite{aaa-bbb-ccc-ddd-year}
+</PRE>
+
+<SAMP>`aaa'</SAMP> gets sent as the author, <SAMP>`bbb'</SAMP>, <SAMP>`ccc'</SAMP>, and
+<SAMP>`ddd'</SAMP> get sent as miscellany (they can match anything, including
+the author, title, journal, reviewer, or the text of the review).
+<SAMP>`year'</SAMP> should be of the form <SAMP>`&#60;1995'</SAMP> or <SAMP>`&#62;1995'</SAMP> or
+<SAMP>`=1995'</SAMP> or <SAMP>`1995'</SAMP>, in which case bibweb only searches for
+papers from the appropriate years. <SAMP>`1995'</SAMP> is treated the same as
+<SAMP>`=1995'</SAMP>. It seems that specifying a year or range of years slows
+things down tremendously, so you might want to avoid this. Also, I
+think if <SAMP>`year'</SAMP> is in some other format, it will just get ignored.
+
+For example, <SAMP>`\cite{devinatz-hopkins-nilpotence}'</SAMP> matches two
+papers: one is "Nilpotence and stable homotopy theory, I" by Devinatz,
+Hopkins, and Smith; the other is "Morava's change of rings theorem" by
+Devinatz, for which "Hopkins" and "nilpotence" are mentioned in the
+review.
+
+If you want to avoid the second sort of match, you can use the more
+involved format.
+
+<LI>
+
+More involved format:
+
+
+<PRE>
+ \cite{a1-a2-...-ak;t1-t2-...-tm;j1-j2-...jn;year}
+</PRE>
+
+<SAMP>`year'</SAMP> should be just like field <SAMP>`year'</SAMP> in the simpler format,
+but it slows things down, so I would avoid it. <SAMP>`a1'</SAMP>, ...,
+<SAMP>`ak'</SAMP> are treated as authors, <SAMP>`t1'</SAMP>, ..., <SAMP>`tm'</SAMP> are treated
+as words in the title, <SAMP>`j1'</SAMP>, ..., <SAMP>`jn'</SAMP> are treated as words in
+the journal name. You don't have to include all of the fields.
+
+For example, <SAMP>`\cite{devinatz-hopkins;nilpotence}'</SAMP> matches only
+the paper "Nilpotence and stable homotopy theory, I" by Devinatz,
+Hopkins, and Smith. <SAMP>`\cite{miller-wilkerson;vanishing-steenrod}'</SAMP>
+matches only "Vanishing lines for modules over the Steenrod algebra"
+by Miller and Wilkerson, as does
+<SAMP>`\cite{miller-wilkerson;vanishing-steenrod;;&#60;1985}'</SAMP>, as does
+<SAMP>`\cite{miller-wilkerson;vanishing-steenrod;pure;&#60;1985}'</SAMP> (the
+paper appeared in the <CITE>Journal of Pure and Applied Algebra</CITE>).
+
+<LI>
+
+Using wildcards:
+
+You can use <SAMP>`*'</SAMP> as a wildcard; for instance,
+<SAMP>`\cite{adams;hopf-invar*-one}'</SAMP> would return the two papers by
+Adams called "On the non-existence of elements of Hopf invariant one".
+
+When using MathSciNet by hand, if you want to search for papers by Mike
+Hopkins, you could set the author field equal to <SAMP>`hopkins, m*'</SAMP>. On
+the other hand, BibTeX treats commas as separators: if you give
+BibTeX the command <SAMP>`\cite{hopkins,m*;global}'</SAMP>, bibtex will
+treat <SAMP>`hopkins'</SAMP> as one source and <SAMP>`m*;global'</SAMP> as another. So
+to get bibweb to do the right thing, you should use a period instead of
+a comma: use the command
+
+
+<PRE>
+ \cite{hopkins.m*;global}
+</PRE>
+
+Bibweb will translate the <SAMP>`.'</SAMP> to a <SAMP>`,'</SAMP> before sending the
+query to MathSciNet, so this citation would produce
+
+
+<PRE>
+%% Math Reviews number: 89g:55022
+@incollection {hopkins.m*;global,
+ AUTHOR = {Hopkins, Michael J.},
+ TITLE = {Global methods in homotopy theory},
+ BOOKTITLE = {Homotopy theory (Durham, 1985)},
+ PAGES = {73--96},
+ PUBLISHER = {Cambridge Univ. Press},
+ ADDRESS = {Cambridge},
+ YEAR = {1987},
+ MRCLASS = {55Q45 (55P42 55P60 55Q10)},
+ MRNUMBER = {89g:55022},
+MRREVIEWER = {Douglas C. Ravenel},
+}
+</PRE>
+
+</UL>
+
+
+
+<H2><A NAME="SEC6" HREF="bibweb_toc.html#TOC6">Invoking bibweb</A></H2>
+
+
+
+<H3><A NAME="SEC7" HREF="bibweb_toc.html#TOC7">Basic operation</A></H3>
+
+<P>
+In this section, we give the basic instructions for running bibweb, as
+well as a brief description of what bibweb does.
+
+
+
+<PRE>
+ bibweb <VAR>file</VAR>
+</PRE>
+
+<P>
+will run bibweb on <VAR>file</VAR>. For example, to run bibweb on the file
+<TT>`elvis'</TT>, you type
+
+
+
+<PRE>
+ bibweb elvis
+</PRE>
+
+<P>
+Then bibweb will run BibTeX on <TT>`elvis'</TT> and read through the list
+of missing citations. For each such citation, it searches MathSciNet,
+and writes its results to the file <TT>`elvis.bib'</TT>. Once it has done
+this, it runs BibTeX again, to make use of any new citations.
+
+
+<P>
+If bibweb can't find the file <TT>`elvis.aux'</TT> (which it wants to pass
+to BibTeX), it prints an error message and stops. If it can't write
+to <TT>`elvis.bib'</TT>, it should also print an error message and stop.
+
+
+<P>
+By "searches MathSciNet", I mean that it fires up a web browser that
+goes to the MathSciNet site, gives it the appropriate query, gets the
+response, and then quits. The best web browser for this sort of thing
+is called <SAMP>`wget'</SAMP>; this is a GNU program (hence freely
+distributable). You can get it at your favorite GNU mirror. The second
+best web browser is <SAMP>`lynx'</SAMP>; if bibweb can't find wget, it uses
+lynx. Another option is <SAMP>`webget'</SAMP>, which is a perl script that has
+some of the capabilities of wget. See section <A HREF="bibweb.html#SEC9">Installation</A> for information
+about obtaining these programs. (By the way, bibweb doesn't know how to
+use any other web browsers. If you prefer another browser and modify
+bibweb to work with it, tell me about your changes so I can incorporate
+them into future versions.)
+
+
+<P>
+By "its results", I mean the following:
+
+
+
+<UL>
+<LI>
+
+If bibweb finds exactly one entry matching your citation, it puts it in
+<TT>`elvis.bib'</TT> with the key you chose. For instance, if you have
+
+
+<PRE>
+ \cite{kan-miller-splitting-spaces}
+</PRE>
+
+then bibweb puts something like the following in <TT>`elvis.bib'</TT>:
+
+
+<PRE>
+%% citation 'kan-miller-splitting-spaces'
+%% Math Reviews number: 57 #7582
+@article {kan-miller-splitting-spaces,
+ AUTHOR = {Kan, Daniel M. and Miller, Edward Y.},
+ TITLE = {Splitting spaces with finite group actions},
+ JOURNAL = {Topology},
+ VOLUME = {16},
+ YEAR = {1977},
+ NUMBER = {4},
+ PAGES = {403--407},
+ MRCLASS = {55C35},
+ MRNUMBER = {57 \#7582},
+MRREVIEWER = {J. P. May},
+}
+</PRE>
+
+<LI>
+
+If it finds several matches (at most 5), it writes them all to
+<TT>`elvis.bib'</TT>, but leaves the original citation undefined. (The new
+ones have citations given by their Math Reviews numbers.) So at this
+point, you have to edit <TT>`elvis.bib'</TT> to change the keys of the
+papers you're interested in, or you have to change your \cite command to
+match what was written into <TT>`elvis.bib'</TT>.
+
+For example, if you have
+
+
+<PRE>
+ \cite{serre;faisceaux}
+</PRE>
+
+then there are two matches (or maybe there are three, now), which get
+entered into <TT>`elvis.bib'</TT> as
+
+
+<PRE>
+%% citation 'serre;faisceaux'
+%% Math Reviews number: 35 #3088
+@article {MR35:3088,
+ AUTHOR = {Serre, Jean-Pierre},
+ TITLE = {Prolongement de faisceaux analytiques coh\'erents},
+ JOURNAL = {Ann. Inst. Fourier (Grenoble)},
+ VOLUME = {16},
+ YEAR = {1966},
+ NUMBER = {fasc. 1},
+ PAGES = {363--374},
+ MRCLASS = {32.50 (32.27)},
+ MRNUMBER = {35 \#3088},
+MRREVIEWER = {B. Shiffman},
+}
+%% Math Reviews number: 16,953c
+@article {MR16:953c,
+ AUTHOR = {Serre, Jean-Pierre},
+ TITLE = {Faisceaux alg\'ebriques coh\'erents},
+ JOURNAL = {Ann. of Math. (2)},
+ VOLUME = {61},
+ YEAR = {1955},
+ PAGES = {197--278},
+ MRCLASS = {14.0X},
+ MRNUMBER = {16,953c},
+MRREVIEWER = {C. Chevalley},
+}
+</PRE>
+
+<LI>
+
+If it finds more than 5 matches, it tells you that, and doesn't add any
+new entries to <TT>`elvis.bib'</TT>. For example, if you have
+
+
+<PRE>
+ \cite{serre}
+</PRE>
+
+then bibweb adds the following to <TT>`elvis.bib'</TT>:
+
+
+<PRE>
+%% citation 'serre'
+%% More than 5 matches found.
+</PRE>
+
+You can change the number <SAMP>`5'</SAMP> to something else by using the
+<SAMP>`-m'</SAMP> option. See section <A HREF="bibweb.html#SEC8">Options</A>.
+
+<LI>
+
+If it doesn't find any matches, it tells you that, and doesn't add any
+new entries to <TT>`elvis.bib'</TT>. For example, if you have
+
+
+<PRE>
+ \cite{serre-kan}
+</PRE>
+
+then bibweb adds the following to <TT>`elvis.bib'</TT>:
+
+
+<PRE>
+%% citation 'serre-kan'
+%% No matches found.
+</PRE>
+
+<LI>
+
+Occasionally, bibweb will say it only finds one match, but it will add
+several things to <TT>`elvis.bib'</TT>. This happens when there are several
+papers whose reviews are all together on MathSciNet (see
+<SAMP>`\cite{dwyer-kan;obstruction-theory-diagrams}'</SAMP>, for example). In
+these cases, bibweb ought to do a good job of assigning your chosen
+bibliographical key to the correct entry, but you might want to
+double-check.
+
+</UL>
+
+<P>
+Finally, note that if you give the citation
+
+
+
+<PRE>
+ \cite{serre}
+</PRE>
+
+<P>
+and run bibweb, then run bibweb again, it will not query MathSciNet
+again; instead it will tell you something like "You've searched for
+`serre' before".
+
+
+
+
+<H3><A NAME="SEC8" HREF="bibweb_toc.html#TOC8">Options</A></H3>
+
+<P>
+bibweb can be run with several different options.
+
+
+<DL COMPACT>
+
+<DT><SAMP>`-i <VAR>file</VAR>'</SAMP>
+<DD>
+<DT><SAMP>`--input=<VAR>file</VAR>'</SAMP>
+<DD>
+Run BibTeX on <VAR>file</VAR>.
+
+<DT><SAMP>`-o <VAR>file</VAR>'</SAMP>
+<DD>
+<DT><SAMP>`--output=<VAR>file</VAR>'</SAMP>
+<DD>
+Write output to <VAR>file</VAR> (after appending <SAMP>`.bib'</SAMP> to <VAR>file</VAR>,
+if necessary).
+
+<DT><SAMP>`--std'</SAMP>
+<DD>
+Write output to STDOUT (the screen, ordinarily).
+
+<DT><SAMP>`-c <VAR>citation</VAR>'</SAMP>
+<DD>
+<DT><SAMP>`--cite=<VAR>citation</VAR>'</SAMP>
+<DD>
+Look up only <VAR>citation</VAR>. In this case, the output is written to the
+screen, unless you also use the <SAMP>`-o'</SAMP> option.
+
+<DT><SAMP>`-m <VAR>num</VAR>'</SAMP>
+<DD>
+<DT><SAMP>`--max=<VAR>num</VAR>'</SAMP>
+<DD>
+Return at most <VAR>num</VAR> matches to each citation. Actually, <VAR>num</VAR>
+is rounded up according to the options available at MathSciNet:
+<VAR>num</VAR> will be rounded up to one of: 5, 10, 20, 50, 100, 1000.
+
+<DT><SAMP>`-e <VAR>site</VAR>'</SAMP>
+<DD>
+<DT><SAMP>`--emath=<VAR>site</VAR>'</SAMP>
+<DD>
+Search MathSciNet at the web site <VAR>site</VAR>. The default value is read
+from the environment variable <VAR>MATHSCINET_SITE</VAR>; if this variable
+hasn't been set, the default is <SAMP>`www.ams.org'</SAMP>. Some other good
+choices are <SAMP>`ams.rice.edu'</SAMP>, <SAMP>`ams.mathematik.uni-bielefeld.de'</SAMP>,
+<SAMP>`klymene.mpim-bonn.mpg.de'</SAMP>, <SAMP>`irmasrv1.u-strasbg.fr'</SAMP>, and
+<SAMP>`ams.impa.br'</SAMP>---see
+the MathSciNet homepage for more information. If you choose a value for
+<VAR>site</VAR> that's not from this list, bibweb prints a warning, but goes
+ahead and tries to use it anyway. You can use a bit of shorthand for
+<VAR>site</VAR>: <SAMP>`ams'</SAMP> stands for <SAMP>`www.ams.org'</SAMP>; <SAMP>`rice'</SAMP>
+stands for <SAMP>`ams.rice.edu'</SAMP>; <SAMP>`bielefeld'</SAMP> stands for
+<SAMP>`ams.mathematik.uni-bielefeld.de'</SAMP>; <SAMP>`bonn'</SAMP> stands for
+<SAMP>`klymene.mpim-bonn.mpg.de'</SAMP>; <SAMP>`strasbg'</SAMP> stands for
+<SAMP>`irmasrv1.u-strasbg.fr'</SAMP>; and <SAMP>`impa'</SAMP> stands for
+<SAMP>`ams.impa.br'</SAMP>.
+
+<DT><SAMP>`-L'</SAMP>
+<DD>
+<DT><SAMP>`--lynx'</SAMP>
+<DD>
+Force bibweb to use lynx as its web browser, even if wget is available.
+(As far as I can tell, lynx is slower than wget, but I suppose someone
+might have some arcane reason for avoiding wget.)
+
+<DT><SAMP>`-h'</SAMP>
+<DD>
+<DT><SAMP>`--help'</SAMP>
+<DD>
+Print a short help message, and then quit.
+
+<DT><SAMP>`-b'</SAMP>
+<DD>
+<DT><SAMP>`--bibtex'</SAMP>
+<DD>
+Produce output in bibtex format (the default).
+
+<DT><SAMP>`-r'</SAMP>
+<DD>
+<DT><SAMP>`--review'</SAMP>
+<DD>
+Include the review in the bibtex output, in the form <SAMP>`REVIEW = { ... }'</SAMP>
+
+<DT><SAMP>`-d'</SAMP>
+<DD>
+<DT><SAMP>`--dvi'</SAMP>
+<DD>
+Produce output in dvi format. This option uses lynx rather than wget,
+so lynx must be available.
+
+<DT><SAMP>`-p'</SAMP>
+<DD>
+<DT><SAMP>`--postscript'</SAMP>
+<DD>
+Produce output in postscript format. This option uses lynx rather than wget,
+so lynx must be available.
+
+<DT><SAMP>`-pdf'</SAMP>
+<DD>
+Produce output in pdf format. This option uses lynx rather than wget,
+so lynx must be available.
+
+<DT><SAMP>`-t'</SAMP>
+<DD>
+<DT><SAMP>`--text'</SAMP>
+<DD>
+Produce output in text format. This option uses lynx rather than wget,
+so lynx must be available.
+
+</DL>
+
+<P>
+For example, any of the following commands
+
+
+
+<PRE>
+ bibweb -i test -o a -m 10
+ bibweb test -o a -m 10
+ bibweb -o a -m 10 test
+ bibweb --output=a --max=10 test
+</PRE>
+
+<P>
+has bibweb read the file <TT>`text.aux'</TT> and write output to
+<TT>`a.bib'</TT>, returning at most 10 matches for each citation.
+
+
+<P>
+The command
+
+
+
+<PRE>
+ bibweb --std -m 10 test
+</PRE>
+
+<P>
+reads <TT>`test.aux'</TT> and writes the output to the screen (or whatever
+you have STDOUT set to). The command
+
+
+
+<PRE>
+ bibweb --emath=ams.rice.edu bozo
+</PRE>
+
+<P>
+reads <TT>`bozo.aux'</TT>, writes to <TT>`bozo.bib'</TT>, and uses
+<A HREF="ams.rice.edu">ams.rice.edu</A> for the MathSciNet search, as do the commands
+
+
+
+<PRE>
+ bibweb --emath=rice bozo
+ bibweb -e rice bozo
+ bibweb bozo -e rice
+</PRE>
+
+<P>
+The command
+
+
+
+<PRE>
+ bibweb --emath=quack bozo
+</PRE>
+
+<P>
+uses <SAMP>`quack'</SAMP> for the MathSciNet search. In this case, bibweb will
+give a warning (since <SAMP>`quack'</SAMP> is not one of the recognized MathSciNet
+sites), and will produce no usable results (it will be fast, though).
+
+
+<P>
+If you run the command
+
+
+
+<PRE>
+ bibweb -m 23 -c 'serre'
+</PRE>
+
+<P>
+then bibweb will tell you that it is rounding 23 up to 50, and then it
+will look for all articles with <SAMP>`serre'</SAMP> as the author. In this
+case, it will tell you that there were more than 50 matches found. I
+suppose if you typed
+
+
+
+<PRE>
+ bibweb -m 1000 -c 'serre'
+</PRE>
+
+<P>
+then you would get all of Serre's papers listed on your screen. This
+might take a while. You could instead run
+
+
+
+<PRE>
+ bibweb -m 1000 -c 'serre' -o serre.bib
+</PRE>
+
+<P>
+and then the output would be stored in the file <TT>`serre.bib'</TT>.
+
+
+
+
+<H1><A NAME="SEC9" HREF="bibweb_toc.html#TOC9">Installation</A></H1>
+
+<P>
+This is complicated: put the file <TT>`bibweb'</TT> in your path and make
+sure it's executable.
+
+
+<P>
+That's it.
+
+
+<P>
+Actually, bibweb seems to require at least version 5.003 of perl, so if
+you have an older version, you may have to upgrade.
+
+
+<P>
+And of course, to use bibweb at all, you need to have a subscription to
+MathSciNet.
+
+
+<P>
+Bibweb also requires the presence of one of the following programs:
+<SAMP>`wget'</SAMP>, <SAMP>`lynx'</SAMP>, or <SAMP>`webget'</SAMP>. Lynx is commonly available,
+so it may very well already be on your system. If you don't mind
+installing it, I would recommend using wget instead, because it's faster
+than lynx. wget is available from the GNU ftp site, or (even better)
+many GNU mirrors. Look for it at one of these:
+
+
+
+<UL>
+<LI>
+
+<A HREF="ftp://ftp.hawaii.edu/mirrors/gnu">ftp://ftp.hawaii.edu/mirrors/gnu</A>
+
+<LI>
+
+<A HREF="ftp://ftp.digex.net/pub/gnu">ftp://ftp.digex.net/pub/gnu</A>
+
+<LI>
+
+<A HREF="ftp://wuarchive.wustl.edu/systems/gnu">ftp://wuarchive.wustl.edu/systems/gnu</A>
+
+<LI>
+
+<A HREF="ftp://ftp.cs.columbia.edu/archives/gnu/prep">ftp://ftp.cs.columbia.edu/archives/gnu/prep</A>
+
+<LI>
+
+<A HREF="ftp://uiarchive.cso.uiuc.edu/pub/gnu">ftp://uiarchive.cso.uiuc.edu/pub/gnu</A>
+
+<LI>
+
+<A HREF="ftp://gatekeeper.dec.com/pub/GNU">ftp://gatekeeper.dec.com/pub/GNU</A>
+
+<LI>
+
+<A HREF="ftp://labrea.stanford.edu/gnu">ftp://labrea.stanford.edu/gnu</A>
+
+<LI>
+
+<A HREF="ftp://ftp.uu.net/archive/systems/gnu">ftp://ftp.uu.net/archive/systems/gnu</A>
+
+<LI>
+
+<A HREF="ftp://prep.ai.mit.edu/pub/gnu">ftp://prep.ai.mit.edu/pub/gnu</A>
+(the main GNU site, which you should try not to tie up)
+
+</UL>
+
+<P>
+If you'd rather use lynx and don't have it already, it is available from
+<A HREF="http://lynx.browser.org/">http://lynx.browser.org/</A>.
+
+
+<P>
+If you'd rather use webget, it is available at
+<A HREF="http://www.wg.omron.co.jp/~jfriedl/perl/inlined/webget">http://www.wg.omron.co.jp/~jfriedl/perl/inlined/webget</A>.
+
+
+<P><HR><P>
+This document was generated on 9 November 2000 using
+<A HREF="http://wwwinfo.cern.ch/dis/texi2html/">texi2html</A>&nbsp;1.56k.
+</BODY>
+</HTML>
diff --git a/biblio/bibtex/utils/bibweb/bibweb.info b/biblio/bibtex/utils/bibweb/bibweb.info
new file mode 100644
index 0000000000..d19244d3bd
--- /dev/null
+++ b/biblio/bibtex/utils/bibweb/bibweb.info
@@ -0,0 +1,594 @@
+This is Info file bibweb.info, produced by Makeinfo version 1.68 from
+the input file bibweb.texi.
+
+ This is edition 0.46, November 2000, of the `Bibweb Manual'.
+Copyright (C) 1997, 1998, 1999, 2000 John H. Palmieri
+
+
+File: bibweb.info, Node: Top, Next: Introduction, Prev: (dir), Up: (dir)
+
+Bibweb
+******
+
+ Bibweb is a perl script written by John Palmieri (in consultation
+with Bill Dwyer).
+
+ This is version 0.46, November 2000, of the Bibweb manual. Bug
+reports and suggestions for new features should go to
+`palmieri@math.washington.edu'.
+
+ This is the first version of this manual; it is done (except for the
+indices).
+
+* Menu:
+
+* Introduction:: Overview, quick instructions
+* How to:: More detailed instructions
+* Installation:: How to install
+
+
+How to
+
+* LaTeX file:: What your LaTeX file should look like
+* Invoking bibweb:: What bibweb does
+
+LaTeX file
+
+* Bibliography command:: What the \bibliography command should look like
+* Citations:: Formats for citations
+
+Invoking bibweb
+
+* Basic operation:: Quick instructions
+* Options:: Options for running bibweb
+
+
+File: bibweb.info, Node: Introduction, Next: How to, Prev: Top, Up: Top
+
+Introduction
+************
+
+ Bibweb is a utility for automatically retrieving bibliographical
+information from the American Mathematical Society's MathSciNet search
+engine (available at `http://www.ams.org/mathscinet'). (In particular,
+in order to use bibweb, you must have access to MathSciNet, which means
+that you or your institution has at some point shelled out some
+quantity of money to the AMS. Anyway...)
+
+ If you're too lazy to go to the library or use a web browser to find
+out bibliographical information for that ground-breaking paper you're
+writing, then bibweb is the program for you. It is intended for use
+with BibTeX (which means with LaTeX), and you have to write citations
+in a particular format, but that's about all there is to it.
+
+ Briefly: once you've installed bibweb, if you are editing a file
+called `bozo.tex', then you need to insert the following line:
+
+ \bibliography{bozo}
+
+If you are also using the BibTeX file `junk.bib', then you should use
+the following line:
+
+ \bibliography{junk,bozo}
+
+When you want to cite a paper whose bibliographical information you are
+lacking, say "Periodic phenomena in the Adams-Novikov spectral
+sequence" by H. R. Miller, D. C. Ravenel, and W. S. Wilson, then you
+give LaTeX the command
+
+ \cite{miller-ravenel-wilson-periodic}
+
+or
+
+ \cite{miller-ravenel-wilson-novikov}
+
+or
+
+ \cite{miller-ravenel-wilson}
+
+or
+
+ \cite{miller-ravenel;adams-spectral}
+
+When you run this through LaTeX, it won't find the citation (by
+assumption); BibTeX won't find a citation either. When you run bibweb,
+though, by typing
+
+ bibweb bozo
+
+at the shell prompt, then it takes your citation and queries
+MathSciNet. If it finds a match, it writes the bibliographic
+information, in BibTeX format, to the file `bozo.bib'.
+
+ Bibweb also lets you search for just a single citation, it lets you
+specify the names of the input (TeX) and output (BibTeX) files
+separately, and has other options. *Note Options:: for details.
+
+
+File: bibweb.info, Node: How to, Next: Installation, Prev: Introduction, Up: Top
+
+How to
+******
+
+ In this section, we give detailed instructions for how to use bibweb.
+
+* Menu:
+
+* LaTeX file:: What your LaTeX file should look like
+* Invoking bibweb:: What bibweb does
+
+
+File: bibweb.info, Node: LaTeX file, Next: Invoking bibweb, Prev: How to, Up: How to
+
+LaTeX file
+==========
+
+ In this section, we describe how to write your LaTeX file so that it
+will produce output suitable for bibweb.
+
+* Menu:
+
+* Bibliography command:: What the \bibliography command should look like
+* Citations:: Formats for citations
+
+
+File: bibweb.info, Node: Bibliography command, Next: Citations, Prev: LaTeX file, Up: LaTeX file
+
+Bibliography command
+--------------------
+
+ You need to decide where you want to put the bibliographic
+information that bibweb will give you; this should be a file ending in
+`.bib'. Suppose you decide to use a file called `jimbob.bib' (which
+may or may not exist at this point). Then you need the following line
+in your LaTeX file:
+
+ \bibliography{jimbob}
+
+As indicated above, if you already have some other bibtex files lying
+around, and you also want to use these (say they're called `manny.bib',
+`moe.bib', and `jack.bib'), then you should instead use the following
+line:
+
+ \bibliography{manny,moe,jack,jimbob}
+
+
+File: bibweb.info, Node: Citations, Prev: Bibliography command, Up: LaTeX file
+
+Citations
+---------
+
+ There are two different formats for citations that bibweb knows how
+to handle, and it handles them in different ways.
+
+ * Simpler format:
+
+ \cite{aaa-bbb-ccc-ddd-year}
+
+ `aaa' gets sent as the author, `bbb', `ccc', and `ddd' get sent as
+ miscellany (they can match anything, including the author, title,
+ journal, reviewer, or the text of the review). `year' should be
+ of the form `<1995' or `>1995' or `=1995' or `1995', in which case
+ bibweb only searches for papers from the appropriate years.
+ `1995' is treated the same as `=1995'. It seems that specifying a
+ year or range of years slows things down tremendously, so you
+ might want to avoid this. Also, I think if `year' is in some
+ other format, it will just get ignored.
+
+ For example, `\cite{devinatz-hopkins-nilpotence}' matches two
+ papers: one is "Nilpotence and stable homotopy theory, I" by
+ Devinatz, Hopkins, and Smith; the other is "Morava's change of
+ rings theorem" by Devinatz, for which "Hopkins" and "nilpotence"
+ are mentioned in the review.
+
+ If you want to avoid the second sort of match, you can use the more
+ involved format.
+
+ * More involved format:
+
+ \cite{a1-a2-...-ak;t1-t2-...-tm;j1-j2-...jn;year}
+
+ `year' should be just like field `year' in the simpler format, but
+ it slows things down, so I would avoid it. `a1', ..., `ak' are
+ treated as authors, `t1', ..., `tm' are treated as words in the
+ title, `j1', ..., `jn' are treated as words in the journal name.
+ You don't have to include all of the fields.
+
+ For example, `\cite{devinatz-hopkins;nilpotence}' matches only the
+ paper "Nilpotence and stable homotopy theory, I" by Devinatz,
+ Hopkins, and Smith. `\cite{miller-wilkerson;vanishing-steenrod}'
+ matches only "Vanishing lines for modules over the Steenrod
+ algebra" by Miller and Wilkerson, as does
+ `\cite{miller-wilkerson;vanishing-steenrod;;<1985}', as does
+ `\cite{miller-wilkerson;vanishing-steenrod;pure;<1985}' (the paper
+ appeared in the `Journal of Pure and Applied Algebra').
+
+ * Using wildcards:
+
+ You can use `*' as a wildcard; for instance,
+ `\cite{adams;hopf-invar*-one}' would return the two papers by
+ Adams called "On the non-existence of elements of Hopf invariant
+ one".
+
+ When using MathSciNet by hand, if you want to search for papers by
+ Mike Hopkins, you could set the author field equal to `hopkins,
+ m*'. On the other hand, BibTeX treats commas as separators: if
+ you give BibTeX the command `\cite{hopkins,m*;global}', bibtex will
+ treat `hopkins' as one source and `m*;global' as another. So to
+ get bibweb to do the right thing, you should use a period instead
+ of a comma: use the command
+
+ \cite{hopkins.m*;global}
+
+ Bibweb will translate the `.' to a `,' before sending the query to
+ MathSciNet, so this citation would produce
+
+ %% Math Reviews number: 89g:55022
+ @incollection {hopkins.m*;global,
+ AUTHOR = {Hopkins, Michael J.},
+ TITLE = {Global methods in homotopy theory},
+ BOOKTITLE = {Homotopy theory (Durham, 1985)},
+ PAGES = {73--96},
+ PUBLISHER = {Cambridge Univ. Press},
+ ADDRESS = {Cambridge},
+ YEAR = {1987},
+ MRCLASS = {55Q45 (55P42 55P60 55Q10)},
+ MRNUMBER = {89g:55022},
+ MRREVIEWER = {Douglas C. Ravenel},
+ }
+
+
+File: bibweb.info, Node: Invoking bibweb, Prev: LaTeX file, Up: How to
+
+Invoking bibweb
+===============
+
+* Menu:
+
+* Basic operation:: Quick instructions
+* Options:: Options for running bibweb
+
+
+File: bibweb.info, Node: Basic operation, Next: Options, Prev: Invoking bibweb, Up: Invoking bibweb
+
+Basic operation
+---------------
+
+ In this section, we give the basic instructions for running bibweb,
+as well as a brief description of what bibweb does.
+
+ bibweb FILE
+
+will run bibweb on FILE. For example, to run bibweb on the file
+`elvis', you type
+
+ bibweb elvis
+
+Then bibweb will run BibTeX on `elvis' and read through the list of
+missing citations. For each such citation, it searches MathSciNet, and
+writes its results to the file `elvis.bib'. Once it has done this, it
+runs BibTeX again, to make use of any new citations.
+
+ If bibweb can't find the file `elvis.aux' (which it wants to pass to
+BibTeX), it prints an error message and stops. If it can't write to
+`elvis.bib', it should also print an error message and stop.
+
+ By "searches MathSciNet", I mean that it fires up a web browser that
+goes to the MathSciNet site, gives it the appropriate query, gets the
+response, and then quits. The best web browser for this sort of thing
+is called `wget'; this is a GNU program (hence freely distributable).
+You can get it at your favorite GNU mirror. The second best web
+browser is `lynx'; if bibweb can't find wget, it uses lynx. Another
+option is `webget', which is a perl script that has some of the
+capabilities of wget. *Note Installation:: for information about
+obtaining these programs. (By the way, bibweb doesn't know how to use
+any other web browsers. If you prefer another browser and modify
+bibweb to work with it, tell me about your changes so I can incorporate
+them into future versions.)
+
+ By "its results", I mean the following:
+
+ * If bibweb finds exactly one entry matching your citation, it puts
+ it in `elvis.bib' with the key you chose. For instance, if you
+ have
+
+ \cite{kan-miller-splitting-spaces}
+
+ then bibweb puts something like the following in `elvis.bib':
+
+ %% citation 'kan-miller-splitting-spaces'
+ %% Math Reviews number: 57 #7582
+ @article {kan-miller-splitting-spaces,
+ AUTHOR = {Kan, Daniel M. and Miller, Edward Y.},
+ TITLE = {Splitting spaces with finite group actions},
+ JOURNAL = {Topology},
+ VOLUME = {16},
+ YEAR = {1977},
+ NUMBER = {4},
+ PAGES = {403--407},
+ MRCLASS = {55C35},
+ MRNUMBER = {57 \#7582},
+ MRREVIEWER = {J. P. May},
+ }
+
+ * If it finds several matches (at most 5), it writes them all to
+ `elvis.bib', but leaves the original citation undefined. (The new
+ ones have citations given by their Math Reviews numbers.) So at
+ this point, you have to edit `elvis.bib' to change the keys of the
+ papers you're interested in, or you have to change your \cite
+ command to match what was written into `elvis.bib'.
+
+ For example, if you have
+
+ \cite{serre;faisceaux}
+
+ then there are two matches (or maybe there are three, now), which
+ get entered into `elvis.bib' as
+
+ %% citation 'serre;faisceaux'
+ %% Math Reviews number: 35 #3088
+ @article {MR35:3088,
+ AUTHOR = {Serre, Jean-Pierre},
+ TITLE = {Prolongement de faisceaux analytiques coh\'erents},
+ JOURNAL = {Ann. Inst. Fourier (Grenoble)},
+ VOLUME = {16},
+ YEAR = {1966},
+ NUMBER = {fasc. 1},
+ PAGES = {363--374},
+ MRCLASS = {32.50 (32.27)},
+ MRNUMBER = {35 \#3088},
+ MRREVIEWER = {B. Shiffman},
+ }
+ %% Math Reviews number: 16,953c
+ @article {MR16:953c,
+ AUTHOR = {Serre, Jean-Pierre},
+ TITLE = {Faisceaux alg\'ebriques coh\'erents},
+ JOURNAL = {Ann. of Math. (2)},
+ VOLUME = {61},
+ YEAR = {1955},
+ PAGES = {197--278},
+ MRCLASS = {14.0X},
+ MRNUMBER = {16,953c},
+ MRREVIEWER = {C. Chevalley},
+ }
+
+ * If it finds more than 5 matches, it tells you that, and doesn't
+ add any new entries to `elvis.bib'. For example, if you have
+
+ \cite{serre}
+
+ then bibweb adds the following to `elvis.bib':
+
+ %% citation 'serre'
+ %% More than 5 matches found.
+
+ You can change the number `5' to something else by using the `-m'
+ option. *Note Options::.
+
+ * If it doesn't find any matches, it tells you that, and doesn't add
+ any new entries to `elvis.bib'. For example, if you have
+
+ \cite{serre-kan}
+
+ then bibweb adds the following to `elvis.bib':
+
+ %% citation 'serre-kan'
+ %% No matches found.
+
+ * Occasionally, bibweb will say it only finds one match, but it will
+ add several things to `elvis.bib'. This happens when there are
+ several papers whose reviews are all together on MathSciNet (see
+ `\cite{dwyer-kan;obstruction-theory-diagrams}', for example). In
+ these cases, bibweb ought to do a good job of assigning your chosen
+ bibliographical key to the correct entry, but you might want to
+ double-check.
+
+ Finally, note that if you give the citation
+
+ \cite{serre}
+
+and run bibweb, then run bibweb again, it will not query MathSciNet
+again; instead it will tell you something like "You've searched for
+`serre' before".
+
+
+File: bibweb.info, Node: Options, Prev: Basic operation, Up: Invoking bibweb
+
+Options
+-------
+
+ bibweb can be run with several different options.
+
+`-i FILE'
+`--input=FILE'
+ Run BibTeX on FILE.
+
+`-o FILE'
+`--output=FILE'
+ Write output to FILE (after appending `.bib' to FILE, if
+ necessary).
+
+`--std'
+ Write output to STDOUT (the screen, ordinarily).
+
+`-c CITATION'
+`--cite=CITATION'
+ Look up only CITATION. In this case, the output is written to the
+ screen, unless you also use the `-o' option.
+
+`-m NUM'
+`--max=NUM'
+ Return at most NUM matches to each citation. Actually, NUM is
+ rounded up according to the options available at MathSciNet: NUM
+ will be rounded up to one of: 5, 10, 20, 50, 100, 1000.
+
+`-e SITE'
+`--emath=SITE'
+ Search MathSciNet at the web site SITE. The default value is read
+ from the environment variable MATHSCINET_SITE; if this variable
+ hasn't been set, the default is `www.ams.org'. Some other good
+ choices are `ams.rice.edu', `ams.mathematik.uni-bielefeld.de',
+ `klymene.mpim-bonn.mpg.de', `irmasrv1.u-strasbg.fr', and
+ `ams.impa.br'--see the MathSciNet homepage for more information.
+ If you choose a value for SITE that's not from this list, bibweb
+ prints a warning, but goes ahead and tries to use it anyway. You
+ can use a bit of shorthand for SITE: `ams' stands for
+ `www.ams.org'; `rice' stands for `ams.rice.edu'; `bielefeld'
+ stands for `ams.mathematik.uni-bielefeld.de'; `bonn' stands for
+ `klymene.mpim-bonn.mpg.de'; `strasbg' stands for
+ `irmasrv1.u-strasbg.fr'; and `impa' stands for `ams.impa.br'.
+
+`-L'
+`--lynx'
+ Force bibweb to use lynx as its web browser, even if wget is
+ available. (As far as I can tell, lynx is slower than wget, but I
+ suppose someone might have some arcane reason for avoiding wget.)
+
+`-h'
+`--help'
+ Print a short help message, and then quit.
+
+`-b'
+`--bibtex'
+ Produce output in bibtex format (the default).
+
+`-r'
+`--review'
+ Include the review in the bibtex output, in the form `REVIEW = {
+ ... }'
+
+`-d'
+`--dvi'
+ Produce output in dvi format. This option uses lynx rather than
+ wget, so lynx must be available.
+
+`-p'
+`--postscript'
+ Produce output in postscript format. This option uses lynx rather
+ than wget, so lynx must be available.
+
+`-pdf'
+ Produce output in pdf format. This option uses lynx rather than
+ wget, so lynx must be available.
+
+`-t'
+`--text'
+ Produce output in text format. This option uses lynx rather than
+ wget, so lynx must be available.
+
+ For example, any of the following commands
+
+ bibweb -i test -o a -m 10
+ bibweb test -o a -m 10
+ bibweb -o a -m 10 test
+ bibweb --output=a --max=10 test
+
+has bibweb read the file `text.aux' and write output to `a.bib',
+returning at most 10 matches for each citation.
+
+The command
+
+ bibweb --std -m 10 test
+
+reads `test.aux' and writes the output to the screen (or whatever you
+have STDOUT set to). The command
+
+ bibweb --emath=ams.rice.edu bozo
+
+reads `bozo.aux', writes to `bozo.bib', and uses `ams.rice.edu' for the
+MathSciNet search, as do the commands
+
+ bibweb --emath=rice bozo
+ bibweb -e rice bozo
+ bibweb bozo -e rice
+
+The command
+
+ bibweb --emath=quack bozo
+
+uses `quack' for the MathSciNet search. In this case, bibweb will give
+a warning (since `quack' is not one of the recognized MathSciNet
+sites), and will produce no usable results (it will be fast, though).
+
+ If you run the command
+
+ bibweb -m 23 -c 'serre'
+
+then bibweb will tell you that it is rounding 23 up to 50, and then it
+will look for all articles with `serre' as the author. In this case,
+it will tell you that there were more than 50 matches found. I suppose
+if you typed
+
+ bibweb -m 1000 -c 'serre'
+
+then you would get all of Serre's papers listed on your screen. This
+might take a while. You could instead run
+
+ bibweb -m 1000 -c 'serre' -o serre.bib
+
+and then the output would be stored in the file `serre.bib'.
+
+
+File: bibweb.info, Node: Installation, Prev: How to, Up: Top
+
+Installation
+************
+
+ This is complicated: put the file `bibweb' in your path and make
+sure it's executable.
+
+ That's it.
+
+ Actually, bibweb seems to require at least version 5.003 of perl, so
+if you have an older version, you may have to upgrade.
+
+ And of course, to use bibweb at all, you need to have a subscription
+to MathSciNet.
+
+ Bibweb also requires the presence of one of the following programs:
+`wget', `lynx', or `webget'. Lynx is commonly available, so it may
+very well already be on your system. If you don't mind installing it,
+I would recommend using wget instead, because it's faster than lynx.
+wget is available from the GNU ftp site, or (even better) many GNU
+mirrors. Look for it at one of these:
+
+ * `ftp://ftp.hawaii.edu/mirrors/gnu'
+
+ * `ftp://ftp.digex.net/pub/gnu'
+
+ * `ftp://wuarchive.wustl.edu/systems/gnu'
+
+ * `ftp://ftp.cs.columbia.edu/archives/gnu/prep'
+
+ * `ftp://uiarchive.cso.uiuc.edu/pub/gnu'
+
+ * `ftp://gatekeeper.dec.com/pub/GNU'
+
+ * `ftp://labrea.stanford.edu/gnu'
+
+ * `ftp://ftp.uu.net/archive/systems/gnu'
+
+ * `ftp://prep.ai.mit.edu/pub/gnu' (the main GNU site, which you
+ should try not to tie up)
+
+ If you'd rather use lynx and don't have it already, it is available
+from `http://lynx.browser.org/'.
+
+ If you'd rather use webget, it is available at
+`http://www.wg.omron.co.jp/~jfriedl/perl/inlined/webget'.
+
+
+
+Tag Table:
+Node: Top218
+Node: Introduction1219
+Node: How to3309
+Node: LaTeX file3615
+Node: Bibliography command3988
+Node: Citations4723
+Node: Invoking bibweb8346
+Node: Basic operation8576
+Node: Options13996
+Node: Installation18073
+
+End Tag Table
diff --git a/biblio/bibtex/utils/bibweb/bibweb.texi b/biblio/bibtex/utils/bibweb/bibweb.texi
new file mode 100644
index 0000000000..57c9057c5c
--- /dev/null
+++ b/biblio/bibtex/utils/bibweb/bibweb.texi
@@ -0,0 +1,776 @@
+\input texinfo @c -*-texinfo-*-
+@setfilename bibweb.info
+@settitle Bibweb Manual
+@c footnotestyle separate
+@c paragraphindent 2
+@iftex
+@tolerance 10000
+@end iftex
+
+@comment use 'perl texi2html -menu -split_chapter bibweb.texi' to get an
+@comment html file
+
+@ifinfo
+This is edition 0.46, November 2000, of the @cite{Bibweb
+Manual}. Copyright @copyright{} 1997, 1998, 1999, 2000 John H. Palmieri
+@end ifinfo
+
+@titlepage
+@title{Bibweb Manual}
+
+@author (info by John H. Palmieri)
+
+@page
+@vskip 0pt plus 1filll
+Copyright @copyright{} 1997, 1998, 2000 John H. Palmieri
+
+Permission is granted to make and distribute verbatim copies of
+this manual provided the copyright notice and this permission notice
+are preserved on all copies.
+
+@ignore
+Permission is granted to process this file through TeX and print the
+results, provided the printed document carries copying permission
+notice identical to this one except for the removal of this paragraph
+(this paragraph not being relevant to the printed manual).
+@end ignore
+
+Permission is granted to copy and distribute modified versions of this
+manual under the conditions for verbatim copying, provided also that the
+section entitled ``Copying'' is included exactly as in the original, and
+provided that the entire resulting derived work is distributed under the
+terms of a permission notice identical to this one.
+
+Permission is granted to copy and distribute translations of this manual
+into another language, under the above conditions for modified versions,
+except that this permission notice may be stated in a translation
+approved by the Free Software Foundation.
+@end titlepage
+@page
+
+@ifinfo
+@node top, Introduction, (dir), (dir)
+@comment node-name, next, previous, up
+@top Bibweb
+@end ifinfo
+
+Bibweb is a perl script written by John Palmieri (in consultation with
+Bill Dwyer).
+
+This is version 0.46, November 2000, of the Bibweb manual. Bug reports
+and suggestions for new features should go to
+@samp{palmieri@@math.washington.edu}.
+
+This is the first version of this manual; it is done (except for the
+indices).
+
+@menu
+* Introduction:: Overview, quick instructions
+* How to:: More detailed instructions
+* Installation:: How to install
+
+@detailmenu --- The Detailed Node Listing ---
+
+How to
+
+* La@TeX{} file:: What your La@TeX{} file should look like
+* Invoking bibweb:: What bibweb does
+
+La@TeX{} file
+
+* Bibliography command:: What the \bibliography command should look like
+* Citations:: Formats for citations
+
+Invoking bibweb
+
+* Basic operation:: Quick instructions
+* Options:: Options for running bibweb
+
+@end detailmenu
+@end menu
+
+@comment in any given node:
+@comment use '@cindex CONCEPT' to add node to concept index
+@comment use '@findex FUNCTION' for function index
+@comment use '@vindex VARIABLE' for variable index
+@comment use '@kindex KEY' for key index
+
+
+
+@comment ---------------------------------------------------------
+
+@node Introduction, How to, top, top
+@chapter Introduction
+
+Bibweb is a utility for automatically retrieving bibliographical
+information from the American Mathematical Society's MathSciNet search
+engine (available at @url{http://www.ams.org/mathscinet}). (In
+particular, in order to use bibweb, you must have access to MathSciNet,
+which means that you or your institution has at some point shelled out
+some quantity of money to the AMS. Anyway...)
+
+If you're too lazy to go to the library or use a web browser to find out
+bibliographical information for that ground-breaking paper you're
+writing, then bibweb is the program for you. It is intended for use
+with Bib@TeX{} (which means with La@TeX{}), and you have to write
+citations in a particular format, but that's about all there is to it.
+
+Briefly: once you've installed bibweb, if you are editing a file called
+@file{bozo.tex}, then you need to insert the following line:
+
+@example
+ \bibliography@{bozo@}
+@end example
+
+@noindent
+If you are also using the Bib@TeX{} file @file{junk.bib}, then you
+should use the following line:
+
+@example
+ \bibliography@{junk,bozo@}
+@end example
+
+@noindent
+When you want to cite a paper whose bibliographical information you are
+lacking, say ``Periodic phenomena in the Adams-Novikov spectral
+sequence'' by H. R. Miller, D. C. Ravenel, and W. S. Wilson, then you
+give La@TeX{} the command
+
+@example
+ \cite@{miller-ravenel-wilson-periodic@}
+@end example
+
+@noindent
+or
+
+@example
+ \cite@{miller-ravenel-wilson-novikov@}
+@end example
+
+@noindent
+or
+
+@example
+ \cite@{miller-ravenel-wilson@}
+@end example
+
+@noindent
+or
+
+@example
+ \cite@{miller-ravenel;adams-spectral@}
+@end example
+
+@noindent
+When you run this through La@TeX{}, it won't find the citation (by
+assumption); Bib@TeX{} won't find a citation either. When you run
+bibweb, though, by typing
+
+@example
+ bibweb bozo
+@end example
+
+@noindent
+at the shell prompt, then it takes your citation and queries
+MathSciNet. If it finds a match, it writes the bibliographic
+information, in Bib@TeX{} format, to the file @file{bozo.bib}.
+
+Bibweb also lets you search for just a single citation, it lets you
+specify the names of the input (@TeX{}) and output (Bib@TeX{}) files
+separately, and has other options. @xref{Options} for details.
+
+
+
+
+
+
+@comment ---------------------------------------------------------
+
+@node How to, Installation, Introduction, top
+@chapter How to
+
+In this section, we give detailed instructions for how to use bibweb.
+
+@menu
+* La@TeX{} file:: What your La@TeX{} file should look like
+* Invoking bibweb:: What bibweb does
+@end menu
+
+
+
+@comment ---------------------------------------------------------
+
+@node La@TeX{} file, Invoking bibweb, How to, How to
+@section La@TeX{} file
+
+In this section, we describe how to write your La@TeX{} file so that it
+will produce output suitable for bibweb.
+
+@menu
+* Bibliography command:: What the \bibliography command should look like
+* Citations:: Formats for citations
+@end menu
+
+@comment ---------------------------------------------------------
+
+@node Bibliography command, Citations, La@TeX{} file, La@TeX{} file
+@subsection Bibliography command
+
+You need to decide where you want to put the bibliographic information
+that bibweb will give you; this should be a file ending in @samp{.bib}.
+Suppose you decide to use a file called @file{jimbob.bib} (which may or
+may not exist at this point). Then you need the following line in your
+La@TeX{} file:
+
+@example
+ \bibliography@{jimbob@}
+@end example
+
+@noindent
+As indicated above, if you already have some other bibtex files lying
+around, and you also want to use these (say they're called
+@file{manny.bib}, @file{moe.bib}, and @file{jack.bib}),
+then you should instead use the following line:
+
+@example
+ \bibliography@{manny,moe,jack,jimbob@}
+@end example
+
+
+
+
+@comment ---------------------------------------------------------
+
+@node Citations, , Bibliography command, La@TeX{} file
+@subsection Citations
+
+There are two different formats for citations that bibweb knows how to
+handle, and it handles them in different ways.
+
+@itemize @bullet
+@item
+Simpler format:
+
+@example
+ \cite@{aaa-bbb-ccc-ddd-year@}
+@end example
+
+@samp{aaa} gets sent as the author, @samp{bbb}, @samp{ccc}, and
+@samp{ddd} get sent as miscellany (they can match anything, including
+the author, title, journal, reviewer, or the text of the review).
+@samp{year} should be of the form @samp{<1995} or @samp{>1995} or
+@samp{=1995} or @samp{1995}, in which case bibweb only searches for
+papers from the appropriate years. @samp{1995} is treated the same as
+@samp{=1995}. It seems that specifying a year or range of years slows
+things down tremendously, so you might want to avoid this. Also, I
+think if @samp{year} is in some other format, it will just get ignored.
+
+For example, @samp{\cite@{devinatz-hopkins-nilpotence@}} matches two
+papers: one is ``Nilpotence and stable homotopy theory, I'' by Devinatz,
+Hopkins, and Smith; the other is ``Morava's change of rings theorem'' by
+Devinatz, for which ``Hopkins'' and ``nilpotence'' are mentioned in the
+review.
+
+If you want to avoid the second sort of match, you can use the more
+involved format.
+
+@item
+More involved format:
+
+@example
+ \cite@{a1-a2-...-ak;t1-t2-...-tm;j1-j2-...jn;year@}
+@end example
+
+@samp{year} should be just like field @samp{year} in the simpler format,
+but it slows things down, so I would avoid it. @samp{a1}, ...,
+@samp{ak} are treated as authors, @samp{t1}, ..., @samp{tm} are treated
+as words in the title, @samp{j1}, ..., @samp{jn} are treated as words in
+the journal name. You don't have to include all of the fields.
+
+For example, @samp{\cite@{devinatz-hopkins;nilpotence@}} matches only
+the paper ``Nilpotence and stable homotopy theory, I'' by Devinatz,
+Hopkins, and Smith. @samp{\cite@{miller-wilkerson;vanishing-steenrod@}}
+matches only ``Vanishing lines for modules over the Steenrod algebra''
+by Miller and Wilkerson, as does
+@samp{\cite@{miller-wilkerson;vanishing-steenrod;;<1985@}}, as does
+@samp{\cite@{miller-wilkerson;vanishing-steenrod;pure;<1985@}} (the
+paper appeared in the @cite{Journal of Pure and Applied Algebra}).
+
+@item
+Using wildcards:
+
+You can use @samp{*} as a wildcard; for instance,
+@samp{\cite@{adams;hopf-invar*-one@}} would return the two papers by
+Adams called ``On the non-existence of elements of Hopf invariant one''.
+
+When using MathSciNet by hand, if you want to search for papers by Mike
+Hopkins, you could set the author field equal to @samp{hopkins, m*}. On
+the other hand, Bib@TeX{} treats commas as separators: if you give
+Bib@TeX{} the command @samp{\cite@{hopkins,m*;global@}}, bibtex will
+treat @samp{hopkins} as one source and @samp{m*;global} as another. So
+to get bibweb to do the right thing, you should use a period instead of
+a comma: use the command
+
+@example
+ \cite@{hopkins.m*;global@}
+@end example
+
+Bibweb will translate the @samp{.} to a @samp{,} before sending the
+query to MathSciNet, so this citation would produce
+
+@example
+%% Math Reviews number: 89g:55022
+@@incollection @{hopkins.m*;global,
+ AUTHOR = @{Hopkins, Michael J.@},
+ TITLE = @{Global methods in homotopy theory@},
+ BOOKTITLE = @{Homotopy theory (Durham, 1985)@},
+ PAGES = @{73--96@},
+ PUBLISHER = @{Cambridge Univ. Press@},
+ ADDRESS = @{Cambridge@},
+ YEAR = @{1987@},
+ MRCLASS = @{55Q45 (55P42 55P60 55Q10)@},
+ MRNUMBER = @{89g:55022@},
+MRREVIEWER = @{Douglas C. Ravenel@},
+@}
+@end example
+
+@end itemize
+
+
+
+
+@comment ---------------------------------------------------------
+
+@node Invoking bibweb, , La@TeX{} file, How to
+@section Invoking bibweb
+
+@menu
+* Basic operation:: Quick instructions
+* Options:: Options for running bibweb
+@end menu
+
+
+
+
+
+
+@comment ---------------------------------------------------------
+
+@node Basic operation, Options, Invoking bibweb, Invoking bibweb
+@subsection Basic operation
+
+In this section, we give the basic instructions for running bibweb, as
+well as a brief description of what bibweb does.
+
+@example
+ bibweb @var{file}
+@end example
+
+@noindent
+will run bibweb on @var{file}. For example, to run bibweb on the file
+@file{elvis}, you type
+
+@example
+ bibweb elvis
+@end example
+
+@noindent
+Then bibweb will run Bib@TeX{} on @file{elvis} and read through the list
+of missing citations. For each such citation, it searches MathSciNet,
+and writes its results to the file @file{elvis.bib}. Once it has done
+this, it runs Bib@TeX{} again, to make use of any new citations.
+
+If bibweb can't find the file @file{elvis.aux} (which it wants to pass
+to Bib@TeX{}), it prints an error message and stops. If it can't write
+to @file{elvis.bib}, it should also print an error message and stop.
+
+By ``searches MathSciNet'', I mean that it fires up a web browser that
+goes to the MathSciNet site, gives it the appropriate query, gets the
+response, and then quits. The best web browser for this sort of thing
+is called @samp{wget}; this is a GNU program (hence freely
+distributable). You can get it at your favorite GNU mirror. The second
+best web browser is @samp{lynx}; if bibweb can't find wget, it uses
+lynx. Another option is @samp{webget}, which is a perl script that has
+some of the capabilities of wget. @xref{Installation} for information
+about obtaining these programs. (By the way, bibweb doesn't know how to
+use any other web browsers. If you prefer another browser and modify
+bibweb to work with it, tell me about your changes so I can incorporate
+them into future versions.)
+
+By ``its results'', I mean the following:
+
+@itemize @bullet
+@item
+If bibweb finds exactly one entry matching your citation, it puts it in
+@file{elvis.bib} with the key you chose. For instance, if you have
+
+@example
+ \cite@{kan-miller-splitting-spaces@}
+@end example
+
+then bibweb puts something like the following in @file{elvis.bib}:
+
+@example
+%% citation 'kan-miller-splitting-spaces'
+%% Math Reviews number: 57 #7582
+@@article @{kan-miller-splitting-spaces,
+ AUTHOR = @{Kan, Daniel M. and Miller, Edward Y.@},
+ TITLE = @{Splitting spaces with finite group actions@},
+ JOURNAL = @{Topology@},
+ VOLUME = @{16@},
+ YEAR = @{1977@},
+ NUMBER = @{4@},
+ PAGES = @{403--407@},
+ MRCLASS = @{55C35@},
+ MRNUMBER = @{57 \#7582@},
+MRREVIEWER = @{J. P. May@},
+@}
+@end example
+
+@item
+If it finds several matches (at most 5), it writes them all to
+@file{elvis.bib}, but leaves the original citation undefined. (The new
+ones have citations given by their Math Reviews numbers.) So at this
+point, you have to edit @file{elvis.bib} to change the keys of the
+papers you're interested in, or you have to change your \cite command to
+match what was written into @file{elvis.bib}.
+
+For example, if you have
+
+@example
+ \cite@{serre;faisceaux@}
+@end example
+
+@noindent
+then there are two matches (or maybe there are three, now), which get
+entered into @file{elvis.bib} as
+
+@example
+%% citation 'serre;faisceaux'
+%% Math Reviews number: 35 #3088
+@@article @{MR35:3088,
+ AUTHOR = @{Serre, Jean-Pierre@},
+ TITLE = @{Prolongement de faisceaux analytiques coh\'erents@},
+ JOURNAL = @{Ann. Inst. Fourier (Grenoble)@},
+ VOLUME = @{16@},
+ YEAR = @{1966@},
+ NUMBER = @{fasc. 1@},
+ PAGES = @{363--374@},
+ MRCLASS = @{32.50 (32.27)@},
+ MRNUMBER = @{35 \#3088@},
+MRREVIEWER = @{B. Shiffman@},
+@}
+%% Math Reviews number: 16,953c
+@@article @{MR16:953c,
+ AUTHOR = @{Serre, Jean-Pierre@},
+ TITLE = @{Faisceaux alg\'ebriques coh\'erents@},
+ JOURNAL = @{Ann. of Math. (2)@},
+ VOLUME = @{61@},
+ YEAR = @{1955@},
+ PAGES = @{197--278@},
+ MRCLASS = @{14.0X@},
+ MRNUMBER = @{16,953c@},
+MRREVIEWER = @{C. Chevalley@},
+@}
+@end example
+
+@item
+If it finds more than 5 matches, it tells you that, and doesn't add any
+new entries to @file{elvis.bib}. For example, if you have
+
+@example
+ \cite@{serre@}
+@end example
+
+@noindent
+then bibweb adds the following to @file{elvis.bib}:
+
+@example
+%% citation 'serre'
+%% More than 5 matches found.
+@end example
+
+@noindent
+You can change the number @samp{5} to something else by using the
+@samp{-m} option. @xref{Options}.
+
+@item
+If it doesn't find any matches, it tells you that, and doesn't add any
+new entries to @file{elvis.bib}. For example, if you have
+
+@example
+ \cite@{serre-kan@}
+@end example
+
+@noindent
+then bibweb adds the following to @file{elvis.bib}:
+
+@example
+%% citation 'serre-kan'
+%% No matches found.
+@end example
+
+@item
+Occasionally, bibweb will say it only finds one match, but it will add
+several things to @file{elvis.bib}. This happens when there are several
+papers whose reviews are all together on MathSciNet (see
+@samp{\cite@{dwyer-kan;obstruction-theory-diagrams@}}, for example). In
+these cases, bibweb ought to do a good job of assigning your chosen
+bibliographical key to the correct entry, but you might want to
+double-check.
+
+@end itemize
+
+Finally, note that if you give the citation
+
+@example
+ \cite@{serre@}
+@end example
+
+@noindent
+and run bibweb, then run bibweb again, it will not query MathSciNet
+again; instead it will tell you something like ``You've searched for
+`serre' before''.
+
+
+
+@comment ---------------------------------------------------------
+
+@node Options, , Basic operation, Invoking bibweb
+@subsection Options
+
+bibweb can be run with several different options.
+
+@table @samp
+@item -i @var{file}
+@itemx --input=@var{file}
+Run Bib@TeX{} on @var{file}.
+
+@item -o @var{file}
+@itemx --output=@var{file}
+Write output to @var{file} (after appending @samp{.bib} to @var{file},
+if necessary).
+
+@item --std
+Write output to STDOUT (the screen, ordinarily).
+
+@item -c @var{citation}
+@itemx --cite=@var{citation}
+Look up only @var{citation}. In this case, the output is written to the
+screen, unless you also use the @samp{-o} option.
+
+@item -m @var{num}
+@itemx --max=@var{num}
+Return at most @var{num} matches to each citation. Actually, @var{num}
+is rounded up according to the options available at MathSciNet:
+@var{num} will be rounded up to one of: 5, 10, 20, 50, 100, 1000.
+
+@item -e @var{site}
+@itemx --emath=@var{site}
+Search MathSciNet at the web site @var{site}. The default value is read
+from the environment variable @var{MATHSCINET_SITE}; if this variable
+hasn't been set, the default is @samp{www.ams.org}. Some other good
+choices are @samp{ams.rice.edu}, @samp{ams.mathematik.uni-bielefeld.de},
+@samp{klymene.mpim-bonn.mpg.de}, @samp{irmasrv1.u-strasbg.fr}, and
+@samp{ams.impa.br}---see
+the MathSciNet homepage for more information. If you choose a value for
+@var{site} that's not from this list, bibweb prints a warning, but goes
+ahead and tries to use it anyway. You can use a bit of shorthand for
+@var{site}: @samp{ams} stands for @samp{www.ams.org}; @samp{rice}
+stands for @samp{ams.rice.edu}; @samp{bielefeld} stands for
+@samp{ams.mathematik.uni-bielefeld.de}; @samp{bonn} stands for
+@samp{klymene.mpim-bonn.mpg.de}; @samp{strasbg} stands for
+@samp{irmasrv1.u-strasbg.fr}; and @samp{impa} stands for
+@samp{ams.impa.br}.
+
+@item -L
+@itemx --lynx
+Force bibweb to use lynx as its web browser, even if wget is available.
+(As far as I can tell, lynx is slower than wget, but I suppose someone
+might have some arcane reason for avoiding wget.)
+
+@item -h
+@itemx --help
+Print a short help message, and then quit.
+
+@item -b
+@itemx --bibtex
+Produce output in bibtex format (the default).
+
+@item -r
+@itemx --review
+Include the review in the bibtex output, in the form @samp{REVIEW = @{ ... @}}
+
+@item -d
+@itemx --dvi
+Produce output in dvi format. This option uses lynx rather than wget,
+so lynx must be available.
+
+@item -p
+@itemx --postscript
+Produce output in postscript format. This option uses lynx rather than wget,
+so lynx must be available.
+
+@item -pdf
+Produce output in pdf format. This option uses lynx rather than wget,
+so lynx must be available.
+
+@item -t
+@itemx --text
+Produce output in text format. This option uses lynx rather than wget,
+so lynx must be available.
+
+@end table
+
+
+For example, any of the following commands
+
+@example
+ bibweb -i test -o a -m 10
+ bibweb test -o a -m 10
+ bibweb -o a -m 10 test
+ bibweb --output=a --max=10 test
+@end example
+
+@noindent
+has bibweb read the file @file{text.aux} and write output to
+@file{a.bib}, returning at most 10 matches for each citation.
+
+@noindent
+The command
+
+@example
+ bibweb --std -m 10 test
+@end example
+
+@noindent
+reads @file{test.aux} and writes the output to the screen (or whatever
+you have STDOUT set to). The command
+
+@example
+ bibweb --emath=ams.rice.edu bozo
+@end example
+
+@noindent
+reads @file{bozo.aux}, writes to @file{bozo.bib}, and uses
+@url{ams.rice.edu} for the MathSciNet search, as do the commands
+
+@example
+ bibweb --emath=rice bozo
+ bibweb -e rice bozo
+ bibweb bozo -e rice
+@end example
+
+@noindent
+The command
+
+@example
+ bibweb --emath=quack bozo
+@end example
+
+@noindent
+uses @samp{quack} for the MathSciNet search. In this case, bibweb will
+give a warning (since @samp{quack} is not one of the recognized MathSciNet
+sites), and will produce no usable results (it will be fast, though).
+
+If you run the command
+
+@example
+ bibweb -m 23 -c 'serre'
+@end example
+
+@noindent
+then bibweb will tell you that it is rounding 23 up to 50, and then it
+will look for all articles with @samp{serre} as the author. In this
+case, it will tell you that there were more than 50 matches found. I
+suppose if you typed
+
+@example
+ bibweb -m 1000 -c 'serre'
+@end example
+
+@noindent
+then you would get all of Serre's papers listed on your screen. This
+might take a while. You could instead run
+
+@example
+ bibweb -m 1000 -c 'serre' -o serre.bib
+@end example
+
+@noindent
+and then the output would be stored in the file @file{serre.bib}.
+
+
+
+
+@comment ---------------------------------------------------------
+
+@node Installation, , How to, top
+@chapter Installation
+
+This is complicated: put the file @file{bibweb} in your path and make
+sure it's executable.
+
+That's it.
+
+Actually, bibweb seems to require at least version 5.003 of perl, so if
+you have an older version, you may have to upgrade.
+
+And of course, to use bibweb at all, you need to have a subscription to
+MathSciNet.
+
+Bibweb also requires the presence of one of the following programs:
+@samp{wget}, @samp{lynx}, or @samp{webget}. Lynx is commonly available,
+so it may very well already be on your system. If you don't mind
+installing it, I would recommend using wget instead, because it's faster
+than lynx. wget is available from the GNU ftp site, or (even better)
+many GNU mirrors. Look for it at one of these:
+
+@itemize @bullet
+@item
+@url{ftp://ftp.hawaii.edu/mirrors/gnu}
+
+@item
+@url{ftp://ftp.digex.net/pub/gnu}
+
+@item
+@url{ftp://wuarchive.wustl.edu/systems/gnu}
+
+@item
+@url{ftp://ftp.cs.columbia.edu/archives/gnu/prep}
+
+@item
+@url{ftp://uiarchive.cso.uiuc.edu/pub/gnu}
+
+@item
+@url{ftp://gatekeeper.dec.com/pub/GNU}
+
+@item
+@url{ftp://labrea.stanford.edu/gnu}
+
+@item
+@url{ftp://ftp.uu.net/archive/systems/gnu}
+
+@item
+@url{ftp://prep.ai.mit.edu/pub/gnu}
+(the main GNU site, which you should try not to tie up)
+
+@end itemize
+
+If you'd rather use lynx and don't have it already, it is available from
+@url{http://lynx.browser.org/}.
+
+If you'd rather use webget, it is available at
+@url{http://www.wg.omron.co.jp/~jfriedl/perl/inlined/webget}.
+
+
+
+
+@comment @node Concept Index, , Previous Node, Top
+@comment @unnumbered Concept Index
+
+@comment @printindex cp
+
+@comment
+@contents
+@bye
diff --git a/biblio/bibtex/utils/bibweb/bibweb_toc.html b/biblio/bibtex/utils/bibweb/bibweb_toc.html
new file mode 100644
index 0000000000..1790db9499
--- /dev/null
+++ b/biblio/bibtex/utils/bibweb/bibweb_toc.html
@@ -0,0 +1,33 @@
+<HTML>
+<HEAD>
+<!-- Created by texi2html 1.56k from bibweb.texi on 9 November 2000 -->
+
+<TITLE>Bibweb Manual - Table of Contents</TITLE>
+</HEAD>
+<BODY>
+<H1>Bibweb Manual</H1>
+<ADDRESS>(info by John H. Palmieri)</ADDRESS>
+<P>
+<P><HR><P>
+<UL>
+<LI><A NAME="TOC1" HREF="bibweb.html#SEC1">Introduction</A>
+<LI><A NAME="TOC2" HREF="bibweb.html#SEC2">How to</A>
+<UL>
+<LI><A NAME="TOC3" HREF="bibweb.html#SEC3">LaTeX file</A>
+<UL>
+<LI><A NAME="TOC4" HREF="bibweb.html#SEC4">Bibliography command</A>
+<LI><A NAME="TOC5" HREF="bibweb.html#SEC5">Citations</A>
+</UL>
+<LI><A NAME="TOC6" HREF="bibweb.html#SEC6">Invoking bibweb</A>
+<UL>
+<LI><A NAME="TOC7" HREF="bibweb.html#SEC7">Basic operation</A>
+<LI><A NAME="TOC8" HREF="bibweb.html#SEC8">Options</A>
+</UL>
+</UL>
+<LI><A NAME="TOC9" HREF="bibweb.html#SEC9">Installation</A>
+</UL>
+<P><HR><P>
+This document was generated on 9 November 2000 using
+<A HREF="http://wwwinfo.cern.ch/dis/texi2html/">texi2html</A>&nbsp;1.56k.
+</BODY>
+</HTML>
diff --git a/biblio/bibtex/utils/bibweb/test.tex b/biblio/bibtex/utils/bibweb/test.tex
new file mode 100644
index 0000000000..4d08708141
--- /dev/null
+++ b/biblio/bibtex/utils/bibweb/test.tex
@@ -0,0 +1,44 @@
+\documentclass{article}
+\begin{document}
+
+\cite{adams;hopf-invariant-one} % should produce two matches
+
+% \cite{palmieri.j*} % too many matches
+
+\cite{kan-miller-splitting-spaces} % one match
+
+\cite{kan-miller;splitting-spaces} % one match, might be faster
+ % than previous one
+
+\cite{hopkins.m*;global} % one match
+
+\cite{serre.j*} % too many
+
+\cite{serre-kan} % no matches
+
+% \cite{palmieri->95} % several matches
+
+\cite{serre-faisceaux} % too many
+
+\cite{miller-wilkerson-vanishing} % two matches
+
+% \cite{miller-wilkerson-vanishing-<1985} % two matches, slow
+
+\cite{miller-wilkerson;vanishing-steenrod} % one match
+
+\cite{miller-wilkerson;vanishing-steenrod;pure} % one match
+
+% \cite{miller-wilkerson;vanishing-steenrod;pure;<1985} % one match, slow
+
+\cite{devinatz-hopkins-nilpotence} % two matches
+
+\cite{hopkins-devinatz-nilpotence} % four matches
+
+% \cite{palmieri-<1993} % too many, slow
+
+\cite{brown-comenetz} % 2 matches
+
+\bibliography{test}
+\bibliographystyle{alpha}
+
+\end{document}
diff --git a/biblio/bibtex/utils/bids/bids.to.bibtex b/biblio/bibtex/utils/bids/bids.to.bibtex
new file mode 100644
index 0000000000..a00991d25a
--- /dev/null
+++ b/biblio/bibtex/utils/bids/bids.to.bibtex
@@ -0,0 +1,390 @@
+#!/usr/bin/perl
+#
+# bids.to.bibtex is based on a perl script written by Jonathan Swinton,
+# js@ic.ac.uk, and subsequently modified by Ben Bolker and Anthony Stone,
+# ajs1@cam.ac.uk.
+
+# This version last modified on 29 January 1998.
+
+# Usage: bids.to.bibtex <file>
+#
+# will take input from a BIDS email message in <file> in the source directory
+# $sourcedir and produce a BibTeX bibfile <file>.bib in the output directory
+# $bibdir.
+
+# If both files are to be in the current directory, replace the definitions
+# below by
+# $sourcedir = "";
+# $bibdir = "";
+# If the output file exists, the new references are appended to it. Otherwise
+# a new file is created.
+
+# You will need to change the first line of this file if perl lives somewhere
+# other than /usr/bin/perl on your system.
+
+# The BIDS message should have been generated using one of the downloading
+# formats. Other bibliography database output can be processed provided that
+# it is in the same (fairly standard) form, i.e. a sequence of fields each
+# beginning with a two-letter flag at the start of a line, followed by "- ",
+# with continuation lines starting with four spaces. The whole entry is
+# terminated by a blank line. Any lines in the file that do not conform to
+# this pattern are ignored. An example of such an entry is
+# TI- THE NATURE AND GEOMETRY OF INTERMOLECULAR INTERACTIONS BETWEEN
+# HALOGENS AND OXYGEN OR NITROGEN
+# AU- LOMMERSE, JPM;STONE, AJ;TAYLOR, R;ALLEN, FH
+# NA- CAMBRIDGE CRYSTALLOG DATA CTR,12 UNION RD,CAMBRIDGE CB2 1EZ,ENGLAND
+# CAMBRIDGE CRYSTALLOG DATA CTR,CAMBRIDGE CB2 1EZ,ENGLAND
+# UNIV CAMBRIDGE,CHEM LAB,CAMBRIDGE CB2 1EW,ENGLAND
+# JN- JOURNAL OF THE AMERICAN CHEMICAL SOCIETY
+# PY- 1996
+# VO- 118
+# NO- 13
+# PG- 3108-3116
+# IS- 0002-7863
+#
+# Minor variations in this format can be dealt with by changing the "elsif"s
+# near the end of this file.
+
+# Some work will be needed to deal with capitalization and accents in the
+# BibTeX file. The title is converted to lower-case, unless it already
+# contains any lower-case characters, and a few common acronyms are converted
+# back to upper case by subroutine special. Use the examples there as
+# models for your own if you like. An attempt is made to convert chemical
+# formulae, but it is usually necessary to do this by hand. Note that any
+# upper-case material in the title needs to be enclosed in braces, or BibTeX
+# will force it to lower-case again. If your citation format doesn't include
+# the title, then of course this isn't a problem.
+
+# You may wish also to modify the "journal" subroutine, which replaces the
+# full journal title by a conventional abbreviation. This almost certainly
+# doesn't deal with all the journals that you might wish to cite.
+
+# This version assumes perl 5, but it should work with perl 4.
+
+# Please address comments and bug reports to Anthony Stone (ajs1@cam.ac.uk),
+# who will be pleased to receive them but does not promise to do anything
+# about them.
+
+$sourcedir = "/users/anthony/Mail/BIDS/";
+$bibdir = "/users/anthony/bibliography/bibfiles/";
+
+$, = ' '; # set output field separator
+$\ = "\n"; # set output record separator
+
+format OUT =
+^<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+$line
+ ^<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<~~
+$line
+.
+
+%name = (
+ 'TI', 'title',
+ 'AU', 'author',
+ 'NA', 'address',
+ 'JN', 'journal',
+ 'PY', 'year',
+ 'VO', 'volume',
+ 'NO', 'issue',
+ 'PG', 'pages',
+ 'AB', 'abstract',
+ 'KP', 'keywords',
+# 'NA', 'ignore',
+# 'CR', 'ignore',
+# 'RF', 'ignore',
+# 'KP', 'ignore',
+# 'PA', 'ignore'
+ );
+
+@entry{'header','author','title','journal','volume','year','issue','pages',
+ 'keywords','abstract','none'} = ('','','','','','','','','','','');
+$type = 'none';
+
+sub initcaps
+# Capitalise initial letter of every word, lower-case the rest
+{
+ local ($arg) = $_[0];
+ $arg =~ s/([A-Za-z])([A-Za-z]+)/\U$1\E\L$2\E/g;
+ $arg;
+}
+
+sub firstupper
+# Capitalise initial letter of every sentence, lower-case the rest
+{
+ local ($arg) = $_[0];
+ $arg =~ s/(.)(.*)/\U$1\E\L$2\E/;
+ $arg =~ s/([.?!]\s+)([a-z])/$1\u$2/g;
+ $arg;
+}
+
+sub lowercase
+{
+ local ($arg) = $_[0];
+ $arg =~ s/(.*)/\L$1\E/;
+ $arg;
+}
+
+sub lowertrivial
+{
+ local ($arg) = $_[0];
+ $arg =~ s/\ba\b/a/gi;
+ $arg =~ s/\ban\b/an/gi;
+ $arg =~ s/\band\b/and/gi;
+ $arg =~ s/\bthe\b/the/gi;
+ $arg =~ s/\bof\b/of/gi;
+ $arg =~ s/\bto\b/to/gi;
+ $arg =~ s/\bfrom\b/from/gi;
+ $arg =~ s/\bin\b/in/gi;
+ $arg =~ s/\bwith\b/with/gi;
+ $arg;
+}
+
+sub special
+# Add your own acronyms. Note that the upper-case replacement is enclosed
+# in braces so that BibTeX doesn't put it back into lower-case.
+{
+ local ($arg) = $_[0];
+ $arg =~ s/\bscf\b/{SCF}/g;
+ $arg =~ s/\bmc(-*)scf\b/{MC$1SCF}/g;
+ $arg =~ s/\bci\b/{CI}/g;
+ $arg =~ s/\b([0-9]-[0-9]+)g\b/{$1G}/g;
+ $arg =~ s/\bdna\b/{DNA}/g;
+ $arg =~ s/vanderwaals/{Van} der {Waals}/g;
+ $arg =~ s/moller-plesset/{M}{\\o}ller--{Plesset}/g;
+ $arg;
+}
+
+sub formulae
+# Chemical formulae -- impossible to get them all right
+{
+ local ($arg) = $_[0];
+ $arg =~ s/(\b[a-z]+[1-9]+[a-z0-9]+\b)/{\U$1\E}/gi;
+ $arg;
+}
+
+sub strip
+{
+ local ($val) = $_[0];
+
+ $val =~ s/....//; # chop off initial flag and surrounding spaces
+ $val =~ s/ *$//; # some entries have trailing spaces
+ $val;
+}
+
+sub header
+{
+ $line = "\@article{" . $flag . ",";
+ write(OUT);
+}
+
+sub authors
+{
+ # Transform author entry into BibTeX format and construct flag.
+ # The flag is made up from the first author's surname, followed by the
+ # first letter of the surname of each remaining author, followed by the
+ # last two digits of the year. This is usually unique, but not always.
+ @arr = split(/;/,$entry{'author'});
+ $flag = "";
+ foreach $auth ( @arr)
+ {
+ ($sname,$fname) = split(/, /, $auth);
+ $fname =~ s/\w/$&. /g; $fname =~ s/ *$//;
+ $sname = &initcaps($sname); $sname =~ s/^(Mac|Mc|O')([a-z])/$1\u$2/;
+ # print $fname . " " . $sname . "\n";
+ if ($flag eq "") {$flag=$sname; $flag =~ s/ //g;} else {$flag .= substr($sname,0,1);}
+ $auth = $sname . ', ' . $fname ;
+ }
+ $entry{'author'} = join (" and ", @arr);
+ $flag .= substr($entry{'year'},-2); # append last two digits of year to flag
+ $flag =~ s/ //g;
+}
+
+sub author
+{
+ $line = ' Author = {' . $entry{'author'} . '},';
+ $line = &texsafety ($line);
+ write(OUT);
+}
+
+
+sub address
+{
+ $entry{'address'} =~ s/,([^ ])/, $1/g;
+ $entry{'address'} = &lowertrivial(&initcaps($entry{'address'}));
+ $line = ' Address = {' . $entry{'address'} . '},';
+ $line = &texsafety ($line);
+ write(OUT);
+}
+
+sub title
+{
+ # If the title contains any lowercase characters already, leave it
+ # unchanged. Otherwise convert to lowercase except for first letter of
+ # each sentence, and attempt to uppercase chemical formulae and common
+ # acronyms.
+ if ( $entry{'title'}=~/[a-z]/ ) {
+ $line = $entry{'title'};}
+ else {
+ $line = &formulae(&special(&firstupper($entry{'title'})));}
+ $line = &texsafety($line);
+ $line = ' Title = {' . $line . '},';
+ # print $line;
+ write(OUT);
+}
+
+sub journal
+{
+ $journal = &initcaps($entry{'journal'});
+ $journal =~ s/Journal/J./;
+ $journal =~ s/Chemical|Chemistry/Chem./;
+ $journal =~ s/Physics|Physical/Phys./;
+ $journal =~ s/Society/Soc./;
+ $journal =~ s/Communications/Comm./;
+ $journal =~ s/Transactions/Trans./;
+ $journal =~ s/Reviews/Rev./;
+ $journal =~ s/-Chemical/ Chem./;
+ $journal =~ s/-Faraday/ Faraday/;
+ $journal =~ s/Discussions/Disc./;
+ $journal =~ s/American/Amer./;
+
+ $journal =~ s/(\s)a\s/$1/gi;
+ $journal =~ s/(\s)an\s/$1/gi;
+ $journal =~ s/(\s)and\s/$1/gi;
+ $journal =~ s/(\s)the\s/$1/gi;
+ $journal =~ s/(\s)of\s/$1/gi;
+ $journal =~ s/(\s)to\s/$1/gi;
+ $journal =~ s/(\s)from\s/$1/gi;
+ $journal =~ s/(\s)in\s/$1/gi;
+ $journal =~ s/(\s)with\s/$1/gi;
+ $line = ' Journal = {' . $journal . '},';
+ write(OUT);
+}
+
+sub year
+{
+ $line = ' Year = {' . $entry{'year'} . '},';
+ write(OUT);
+}
+
+sub volume
+{
+ $line = ' Volume = {' . $entry{'volume'} . '},';
+ write(OUT);
+}
+
+sub pages
+{
+ $line = ' Pages = {' . $entry{'pages'} . '}';
+ if ( $entry{'abstract'} ne "" || $entry{'keywords'} ne "" ) {$line .= ',';}
+ $line = &texsafety ($line);
+ write(OUT);
+}
+
+sub keywords
+{
+ if ( $entry{'keywords'} ne "" ) {
+ $line = ' Keywords = {' . &lowercase($entry{'keywords'}) . '}';
+ if ( $entry{'abstract'} ne "" ) {$line .= ',';}
+ write(OUT);}
+}
+
+sub abstract
+{
+ if ( $entry{'abstract'} ne "" ) {
+ $line = ' Abstract = {' . $entry{'abstract'} . '}';
+ $line = &texsafety ($line);
+ write(OUT);}
+}
+
+sub issue
+{
+}
+
+sub terminator
+{
+ $line = "}";
+ write(OUT);
+ print OUT "\n";
+}
+
+sub clear
+{
+ $entry{'author'} = '';
+ $entry{'title'} = '';
+ $entry{'journal'} = '';
+ $entry{'volume'} = '';
+ $entry{'year'} = '';
+ $entry{'page'} = '';
+ $entry{'issue'} = '';
+ $entry{'abstract'} = '';
+}
+
+
+sub texsafety
+{
+ # Replace % and & by \% and \&.
+ $arg = $_[0];
+ $arg =~ s/\&/\\&/g;
+ $arg =~ s/\%/\\%/g;
+ $arg;
+}
+
+while ($file = shift) {
+ open(IN,$sourcedir.$file)
+ || die "Can't open ".$sourcedir.$file."\n";
+ if ( -e $bibdir.$file.".bib" ) {
+ warn $file.".bib exists -- appending\n";
+ open(OUT,">>" . $bibdir.$file . ".bib");}
+ else {
+ open(OUT,">" . $bibdir.$file . ".bib");}
+ while (<IN>) {
+ # print;
+ chop; # strip record separator
+
+ if (/^ *$/ && $type ne 'none' && $type ne 'header' ) {
+ # Entry is complete. Process and print it.
+ & authors;
+ & header;
+ & author;
+ & address;
+ & title;
+ & journal;
+ & year;
+ & volume;
+ & issue;
+ & pages;
+ & keywords;
+ & abstract;
+ & terminator;
+ $type = 'none';
+ & clear; }
+
+ else {
+ if (/^record/i) {
+ $type = 'header';
+ $entry{$type} = $_;
+ }
+ elsif (/^\(([0-9]+)\)/) {
+ die "Input appears to be in the wrong format. You need to use 'downloading' format.\n";
+ }
+
+ elsif (/^ / && $type ne 'none' && $type ne 'ignore') {
+ $entry{$type} .= " " . & strip($_);
+ }
+ elsif (/^([A-Z][A-Z])- /i) {$tag=$1;
+ if ( defined($name{$tag}) ) {
+ $type = $name{$tag};
+ $entry{$type} = & strip ($_) ;
+ }
+ else {
+ $type = "ignore";
+ $entry{$type} = "";
+ }
+ }
+
+ # print "$type : $entry{$type}\n";
+ }
+ }
+close IN;
+close OUT;
+}
diff --git a/biblio/bibtex/utils/ebib/ChangeLog b/biblio/bibtex/utils/ebib/ChangeLog
new file mode 100644
index 0000000000..0dba0ab80c
--- /dev/null
+++ b/biblio/bibtex/utils/ebib/ChangeLog
@@ -0,0 +1,1118 @@
+2009-07-13 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-search-crossref): new.
+ (ebib-entry-summary): modified to use with-help-window instead of
+ with-output-to-temp-buffer.
+
+2009-07-12 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-push-bibtex-key): renamed from ebib-push-entry-key
+ in accordance with ebib-insert-bibtex-key.
+ (ebib-insertion-commands): new.
+ (ebib-insertion-strings): removed.
+
+2008-08-01 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-entry-types-hash): removed.
+ (ebib-set-entry-types-hash): removed.
+ (ebib-set-unique-field-list): new.
+ (ebib-get-obl-fields): modified to use ebib-entry-types directly,
+ rather than the (now defunct) ebib-entry-types-hash.
+ (ebib-get-opt-fields): same.
+ (ebib-find-bibtex-entries): same.
+ (ebib-edit-entry-type): same.
+
+2008-06-15 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-read-string): bug fix: ebib would choke on bibtex
+ entries that have a space after the entry type but before the
+ opening parenthesis/brace. bug reported and fix provided by Rupert
+ Swarbrick.
+
+2008-05-31 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-index-window-size): "key buffer" in the doc string
+ changed to "index buffer".
+
+2008-05-30 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-call-file-viewer): modified to use
+ file-name-extension. is probably a safer bet that what i used
+ before: (last1 (split-string file "\\.")).
+
+2008-05-21 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-add-entry): bugfix: moved the code that creates
+ the hash table up, so that it appears before ebib-display-entry.
+
+2008-04-21 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el: fixed doc strings.
+
+2008-04-20 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-entry-summary): modified: if the ebib buffers are
+ visible, instead of putting the output in a temp buffer, the
+ relevant entry is displayed in the ebib buffers.
+ (ebib) help mode removed.
+ (ebib-show-log): modified: in split-frame layout the window's
+ dedicated flag must be temporarily unset in order to switch to the
+ strings-buffer.
+ (ebib-quit-log-buffer): same.
+ (ebib-set-index-highlight): modified: move cursor to beginning of
+ line after setting the highlight.
+ (ebib-set-fields-highlight): same.
+ (ebib-set-strings-highlight): same.
+ (ebib-edit-entry): removed goto-char and switch-to-buffer.
+ (line-number-at-pos): this is called line-number in xemacs, so an
+ alias is defined.
+ (ebib-match-paren-forward): added "" to error, to keep xemacs from complaining.
+ (ebib-match-quote-forward): same.
+ (ebib-setup-windows): added delete-other-windows in full-frame layout.
+ (ebib-export-to-db): modified to use gensym.
+ (ebib-export-to-file): same.
+
+2008-04-19 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-pre-ebib-window): new.
+ (ebib-setup-windows): added ebib-pre-ebib-window.
+ (ebib-quit): added ebib-pre-ebib-window.
+ (ebib-lower): modified to use ebib-pre-ebib-window.
+ (ebib-edit-entry-type): modified to use ebib-layout.
+ (ebib-edit-crossref): same.
+ (ebib-fill-entry-buffer): added skip-chars-forward: the cursor
+ usually appears directly after the field name.
+ (ebib-edit-crossref): modified to make the crossref field the
+ current field again.
+ (ebib-redisplay-current-field): same.
+ (ebib-temp-window): new.
+ (ebib-leave-multiline-edit): removed.
+ (ebib-leave-multiline-edit-buffer): new.
+ (ebib-quit-multiline-edit): new.
+ (ebib-cancel-multiline-edit): modified to use
+ ebib-leave-multiline-edit-buffer.
+ (ebib-edit-multiline-field): modified to use ebib-temp-window.
+ (ebib-edit-multiline-string): same.
+ (ebib-multiline-edit): modified: sets the buffer's modified flag
+ to nil.
+ (ebib-edit-strings): modified: in split-frame layout the window's
+ dedicated flag must be temporarily unset in order to switch to the
+ strings-buffer.
+ (ebib-quit-strings-buffer): same.
+
+2008-04-19 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib): added nil as second argument (norecord) to
+ select-window.
+ (ebib-setup-windows): modified. now uses ebib-layout to choose the
+ desired window layout.
+ (ebib-delete-window): removed. i really don't think we need this.
+ (ebib-lower): removed call to ebib-delete-windows.
+ (ebib-quit): modified: put all the kill-buffers into a mapc.
+ (ebib-select-other-window): removed.
+ (ebib-leave-ebib-windows): new. bound to "z" and "C-xb".
+ (ebib-lower): modified: now simply leaves the ebib buffers if
+ requested. rebound to "Z".
+
+2008-04-18 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-search-next): changed $ in search string to space:
+ with ebib-index-display-fields, index entries now have a space
+ after the entry key.
+ (ebib-call-file-viewer): new.
+ (ebib-file-regexp): added a space to the regexp. (!)
+ (ebib-browse-url-in-field): changed the doc string.
+ (ebib-view-file-in-field): new.
+ (ebib-view-file-in-field): new. bound to 'f' in the entry buffer.
+ (ebib-file-associations): changed default value: paths removed
+ from the programs, as start-process searches the user's PATH.
+
+2008-04-17 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-view-file): new. bound to 'f' in the index
+ buffer. (which means that 'f' is no longer bound to
+ ebib-print-filename.
+
+2008-04-11 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-layout): new.
+ * ebib.el (ebib-add-entry): used ebib-display-entry to insert the
+ new entry in the buffer.
+
+2008-04-11 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-add-entry): inserted a space in the format string
+ that puts the new entry key into the buffer. this way
+ ebib-set-index-highlight doesn't put the end of the highlight at
+ the next line.
+
+2008-03-26 Morgan Veyret <patzy@appart.kicks-ass.net>
+
+ * ebib.el (ebib): changed to check if ebib is visible
+ already. window setup moved to ebib-setup-windows.
+ (ebib-setup-windows): new.
+ (ebib-delete-windows): new.
+ (ebib-select-other-window): new. Bound to C-xb.
+ (ebib-quit-entry-buffer): use get-buffer-window to find the index
+ buffer.
+ (ebib-entry-summary): modified to direct output to *Ebib-entry*
+ buffer.
+
+2008-03-26 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-index-mode): set truncate-lines to t, which works
+ better if ebib-index-dislay-fields is set.
+ (ebib-set-index-highlight): changed so that it highlights the
+ entire line if ebib-index-display-fields is set.
+
+2008-03-25 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-additional-fields): added 'file' to the default
+ value.
+ (ebib-url-regexp): changed doc string.
+ (ebib-standard-file-field): new.
+ (ebib-file-associations): new.
+ (ebib-file-regexp): new.
+ (ebib-file-search-dirs): new.
+
+2008-03-19 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-display-entry): added set-buffer.
+
+2008-03-18 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-index-display-fields): new.
+ (ebib-display-entry): new.
+ (ebib-fill-index-buffer): modified so as to make use of
+ ebib-display-entry.
+ (ebib-edit-keyname): same.
+ (ebib-set-index-highlight): changed end-of-line into
+ skip-chars-forward because of ebib-index-display-fields.
+ (ebib-select-entry): same.
+
+2007-11-15 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-syntax-table): modified the syntax classes for ()
+ and [] to punctuation character. Not that it really matters, though.
+
+2007-11-10 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el: removed empty lines after the first line of doc
+ strings. (this is apparently not an Emacs convention...)
+ (ebib-read-entry): changed warning message for duplicate entries.
+ (ebib-read-string): same.
+
+2007-11-09 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-match-quote-forward): reworked a bit.
+ (ebib-show-log): new.
+ (ebib-index-mode-map): added "l" key, bound to ebib-show-log.
+ (ebib-log-mode-map): new.
+ (ebib-log-mode): new.
+ (ebib-quit-log-buffer): new.
+ (ebib-match-delim-forward): new.
+ (ebib-read-string): modified to use ebib-match-delim-forward.
+ (ebib-read-preamble): added a test to check for the result of
+ ebib-match-paren-forward.
+ (ebib-find-bibtex-entries): added test to check if
+ ebib-read-preamble returns non-nil.
+ (ebib-find-end-of-field): modified to use ebib-match-delim-forward.
+ (ebib-create-buffers): added initial message to the log buffer.
+
+2007-11-08 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-lower): added bury-buffer command for ebib-log-buffer.
+ (ebib-quit): added kill-buffer commands for ebib-log-buffer and ebib-strings-buffer.
+
+2007-11-07 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-merge-bibtex-file): added final call to ebib-log,
+ to insert "\n\f\n".
+ (ebib-find-bibtex-entries): added "Line" to warning message.
+ (ebib-read-string): same.
+ (ebib-read-entry): same.
+ (ebib-log): added save-excursion, so that the ebib log buffer is
+ only current during this function. also modified to no longer set
+ ebib-log-error to 0 unconditionally, instead checks if it's still
+ nil. also modified to use cond.
+ (ebib-match-brace-forward): new. this function handles braces {}
+ only.
+ (ebib-match-paren-forward): modified to handle parenthesis () and
+ braces {} differently.
+ (ebib-match-quote-forward): modified: logs an error when no
+ closing quote is found, and moves point to the char after the
+ opening quote.
+
+2007-11-07 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-log-error): new.
+ (ebib-create-buffers): added creating the log buffer.
+ (ebib-find-bibtex-entries): modified to use ebib-log.
+ (ebib-read-string): same.
+ (ebib-read-entry): same.
+
+2007-11-06 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-customize): added doc string.
+ (ebib-log-buffer): new.
+ (ebib-log): new.
+ (ebib-load-bibtex-file): modified to use ebib-log.
+ (ebib-merge-bibtex-file): same.
+
+2007-11-02 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-syntax-table): new.
+ (ebib-load-bibtex-file): modified to use with-syntax-table.
+ (ebib-merge-bibtex-file): same.
+ (ebib-import): same.
+ (ebib-store-multiline-text): check-parens removed.
+
+2007-10-31 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-init): removed test whether ~/.ebibrc exists; use
+ second (optional) argument to load instead.
+
+2007-10-29 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-marked-face): turned into a customisable option.
+ (ebib-fill-index-buffer): modified to use ebib-marked-face as a
+ face, rather than a variable.
+ (ebib-mark-entry): same.
+
+2007-10-29 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-fill-index-buffer): changed mapcar to mapc
+ (prevents compiler warning). fix provided by Leo
+ <sdl.web at gmail.com>.
+ (ebib): added autoload cookie. suggested by Leo
+ <sdl.web at gmail.com>.
+ (ebib-mark-entry): fixed typo: '(face ,ebib-marked-face) to `(face
+ ,ebib-marked-face). fix provided by Leo <sdl.web at gmail.com>.
+
+2007-10-22 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib): modified to store the buffer from which ebib is
+ called in ebib-push-buffer, so that it becomes the default for
+ pushing entries. Thanks to Sinisa Pajevic for the suggestion.
+
+2007-10-20 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-redisplay-current-field): modified. now redisplays
+ the entire entry buffer is the current field is crossref. (cutting
+ the value from the crossref field would leave the inherited field
+ values visible.)
+ (ebib-import): modified to use insert-buffer-substring, rather
+ than buffer-string and insert. this way, there is no need to
+ temporarily store the buffer contents in a variable.
+ (ebib-get-field-highlighted): modified so that it doesn't produce
+ an error if an entry contains a crossref to an entry that does not
+ exist.
+ (ebib-get-local-databases): variable bibfiles removed from the let.
+
+2007-10-20 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-local-bibtex-filenames): renamed from
+ ebib-local-bibtex-filname. this is now a list of strings, rather
+ than a string. thanks to Sinisa Pajevic for pointing out that a
+ \bibliography command can contain more than one .bib file.
+ (ebib-extract-bibfiles): removed.
+ (ebib-get-local-databases): modified to return a list of database
+ filenames. also now uses insert-buffer-substring, rather than a
+ combination of buffer-string and insert.
+ (ebib-insert-bibtex-key): modified so that it can handle multiple
+ bibtex files. this reflects the change to
+ ebib-local-bibtex-filenames.
+ (ebib-entry-summary): same.
+
+2007-10-19 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-push-entry-key): new. pushes the current entry
+ key, or the marked entry keys, to a buffer, using
+ ebib-insertion-strings. thanks to Sinisa Pajevic for suggesting
+ this feature.
+ (ebib-key "p"): changed to ebib-push-entry-key.
+ (ebib-key "r"): new. assigned to ebib-edit-preamble.
+ (ebib-prefixed-functions): ebib-push-entry-key added.
+ (ebib-push-buffer): new. holds the name of the last buffer to
+ which an entry was pushed, to present it as default in the next
+ push operation.
+ (ebib-insertion-strings): modified default value: 0 added.
+
+2007-10-11 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-get-field-highlighted): modified so as to show
+ field values inherited from a cross-referenced entry.
+ (ebib-crossref-face): new.
+ (ebib-edit-crossref): modified to redisplay the entire entry
+ buffer, not just the current field.
+
+2007-07-29 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-store-multiline-text): added a check to make sure
+ the text in the buffer doesn't contain unbalanced braces.
+ (ebib-filter-to-virtual-db): changed to give more feedback in the
+ minibuffer about what the user is doing.
+
+2007-06-26 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-insert-bibtex-key): changed to show the cite
+ command that the user has selected through the prefix argument.
+
+2007-04-26 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-standard-url-field): doc string modified.
+
+2007-04-06 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-allow-identical-fields): new.
+ (ebib-find-bibtex-fields): modified so as to use
+ ebib-allow-identical-fields.
+
+2007-03-30 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-url-regexp): bug fix: removed \l from default
+ value.
+
+2007-03-29 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el: Ebib 1.3.0 released.
+
+2007-03-29 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-index-mode-map): added "u" key.
+ (ebib-url-field): new.
+ (ebib-url-regexp): new.
+ (ebib-browse-url): new.
+ (ebib-call-browser): new.
+ (ebib-entry-mode-map): added "u" key.
+ (ebib-browse-url-in-field): new.
+ (ebib-call-browser-command): new.
+
+2007-03-28 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (raw-p): regexp "\".*?\" replaced with
+ "\"[^\"]*?\"". The dot doesn't match \n, so a multiline string
+ enclosed by double quotes was incorrectly recognised as a raw
+ string.
+
+2007-03-27 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-export-entry): ebib-execute-when
+ removed. ebib-marked-p replaced with ebib-called-with-prefix.
+ (ebib-export-single-entry): added ebib-execute-when.
+ (ebib-export-marked-entries): same.
+ (ebib-prefix-map): new. (actually, this is ebib-semicolon-map
+ reintroduced under a new name.)
+ (ebib-index-mode-map): binding of the prefix key ";" changed to
+ ebib-prefix-map.
+ (ebib-key): modified so that if the user redefines a key in
+ ebib-index-mode-map, it checks whether the function is bound in
+ ebib-prefix-map as well, and if so, binds it to the same
+ key. Furthermore, if the user unbinds a key, it is unbound in
+ ebib-prefix-map as well.
+ (ebib-marked-p): removed.
+ (ebib-prefixed-functions): new.
+ (ebib-prefix-key): new.
+ (ebib-key): modified so that it unsets the current prefix key if
+ the user redefines the prefix key with mark-prefix.
+ (ebib-index-mode-map): key bindings no longer done in the defvar
+ definition, but at top level with ebib-key. Using ebib-key has the
+ advantage that ebib-prefix-map is automatically set up correctly
+ as well.
+
+2007-03-26 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-called-with-prefix): new.
+ (ebib-marked-p): new.
+ (ebib-prefix-key): new.
+ (ebib-key): added clause for mark-prefix.
+ (ebib-delete-marked-entries): removed.
+ (ebib-delete-entry): modified to handle the prefix key.
+ (ebib-export-entry): modified to call either of two helper
+ functions, depending on whether it was called with or without
+ prefix key.
+ (ebib-export-single-entry): new. helper function for
+ ebib-export-entry.
+ (ebib-export-marked-entries): changed into helper function for
+ ebib-export-entry.
+ (ebib-print-database): removed.
+ (ebib-print-marked-entries): removed.
+ (ebib-semicolon-map): removed.
+ (ebib-index-mode-map): binding for L changed to
+ ebib-latex-entries, and binding for P changed to
+ ebib-print-entries.
+ (ebib-print-entries): made interactive and modified to handle
+ marked entries.
+ (ebib-latex-database): removed.
+ (ebib-latex-marked-entries): removed.
+ (ebib-latex-entries): made interactive and modified to handle
+ marked entries.
+ (ebib-mark-all): removed.
+
+2007-03-25 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-remove-entry-from-db): modified so that a deleted
+ entry is also deleted from edb-marked-entries if it's there. This
+ avoids problems when the user deletes a marked entry, and also
+ when he renames the entry key of a marked entry.
+ (ebib-delete-marked-entries): no longer sets edb-marked-entries to
+ nil, as the entries are removed one by one by
+ ebib-remove-entry-from-db.
+ (ebib-edit-keyname): modified so that it marks the renamed entry
+ if it was marked before the renaming.
+ (ebib-unmark-all): renamed to ebib-mark-all.
+ (ebib-mark-all): modified so that it marks all entries if there
+ are no marked entries.
+ (ebib-mark-entry): real-db removed from ebib-execute-when.
+ (ebib-export-entry): modified to include the entry name in the
+ messages passed to ebib-export-to-db and ebib-export-to-file.
+ (ebib-export-string): same with string abbreviation.
+
+2007-03-24 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-export-string): modified to make use of
+ ebib-export-to-db and ebib-export-to-file.
+ (ebib-export-all-strings): same.
+ (ebib-export-preamble): same.
+ (ebib-export-marked-entries): new.
+ (ebib-semicolon-map): new key "x" added.
+ (propertize): new.
+ (ebib-write-database): rewritten to stop XEmacs from
+ complaining. (See arch log for details.)
+ (ebib-export-to-file): modified documentation string, as it said
+ something about insert-fn that isn't correct.
+ (ebib-execute-helper): added marked-entries.
+ (ebib-delete-marked-entries): modified to use marked-entries.
+ (ebib-export-marked-entries): same.
+ (ebib-delete-marked-entries): added default clause to
+ ebib-execute-when.
+ (ebib-print-entries): new. contains most of the code of former
+ ebib-print-database.
+ (ebib-print-database): modified to use ebib-print-entries.
+ (ebib-print-marked-entries): new.
+ (define-prefix-command): new keys "P", "L" and "m".
+ (ebib-mark-entry): modified: no longer adds the text properties to
+ the entry key in the database, just in the index buffer.
+ (ebib-fill-index-buffer): modified so that it adds a highlight to
+ marked entries.
+ (ebib-latex-entries): new. contains most of the code of former
+ ebib-latex-database.
+ (ebib-latex-database): modified to use ebib-latex-entries.
+ (ebib-latex-marked-entries): new.
+ (ebib-unmark-all): new.
+
+2007-03-23 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-export-to-db): new.
+ (ebib-export-to-file): new.
+ (ebib-export-entry): modified to make use of ebib-export-to-db and
+ ebib-export-to-file.
+
+2007-03-20 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-edit-field): changed to unconditionally add braces
+ around the text the user enters. Formerly, this was done through
+ from-raw, which meant that if the user typed braces around the
+ text, these would disappear.
+
+2007-03-19 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (add-to-listq): added a test for Emacs < 22.
+ (ebib-index-mode-map): removed 'ebib-index-mode-map argument to
+ make-keymap. Emacs officially doesn't even allow it, and in XEmacs
+ it's optional.
+ (ebib-entry-mode-map): same.
+ (ebib-strings-mode-map): same.
+ (ebib-help-mode-map): same.
+ (ebib-semicolon-map): new.
+ (ebib-index-mode-map): added ";" key.
+ (ebib-remove-entry-from-db): bug fix: would delete the key of the
+ current entry from the keys list, regardless of which entry was
+ actually deleted.
+ (ebib-semicolon-map): added "d" key.
+ (ebib-delete-marked-entries): new.
+ (ebib-entry-mode-map): bindings of C-x b and C-x k changed to
+ 'undefined.
+ (disabled): removed. The predefined function undefined does the
+ same thing.
+
+2007-03-13 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-filter-to-virtual-db): removed the check for the
+ `type' field. What was actually meant was the `type*' field, and
+ since this is not in ebib-unique-field-list anyway, the user isn't
+ able to filter on it.
+
+2007-03-12 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-mark-entry): added again for the 1.3 branch.
+
+2007-03-12 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el: ebib 1.2.0 released.
+
+2007-03-12 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-mark-entry): removed in preparation for release.
+
+2007-03-12 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-print-database): bugfix: if ebib-print-tempfile is
+ set to "", which is its default value, the body of if-str would
+ not be executed.
+ (ebib-latex-database): same.
+
+2007-03-10 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-latex-database): new.
+ (ebib-print-preamble): new.
+ (ebib-print-multiline): new.
+ (ebib-latex-preamble): new.
+ (ebib-print-tempfile): new.
+ (ebib-print-database): modified to use ebib-print-preamble,
+ ebib-print-multiline and ebib-print-tempfile.
+ (ebib-latex-database): added real-db to ebib-execute-when.
+ (ebib-timestamp-format): new.
+ (ebib-insert-entry): modified to use format-time-string and ebib-timestamp-format.
+ (ebib-format-entry): same.
+ (ebib-yank-field-contents): renamed from ebib-paste-field-contents.
+
+2007-03-08 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-print-database): new.
+
+2007-03-06 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-index-scroll-down): new. replaces ebib-entry-page-up.
+ (ebib-index-scroll-up): new. replaces ebib-entry-page-down.
+ (ebib-follow-crossref): new.
+ (ebib-index-mode-map): added "F" key.
+
+2007-03-02 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-delete-entry): removed optional argument
+ entry-key, as it wasn't used at all.
+
+2007-03-01 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-paste-field-contents): sets this-command to t if
+ called illegally. that way, a second consecutive call to this
+ function is also recognised as illegal.
+
+2007-02-26 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-paste-field-contents): doc string slightly expanded.
+
+2007-02-25 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-paste-field-contents): added test for crossref field.
+ (ebib-paste-field-contents): modified so that repeatedly calling
+ this command walks around the kill ring, just like C-y/M-y.
+
+2007-02-23 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-move-to-field): bug fix: if the field being moved
+ to is type*, used to search for 'type', causing confusion with an
+ actual type field (e.g. in the entry type incollection.) now just
+ moves to (point-min).
+ (ebib-set-modified): bug fix: the modification flag of the index
+ buffer would be (re)set, regardless of whether it actually holds
+ the database whose modification flag is being (re)set.
+
+2007-02-22 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-execute-when): changed so that it does not produce
+ a spurious and if the envs list of a form only contains one element.
+
+2007-02-21 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-print-filter): changed the argument of interactive
+ from "p" to "P", to obtain the raw prefix argument.
+ (ebib-save-current-database): changed message to error.
+ (ebib-print-filter): added a default-clause to ebib-execute-when,
+ to produce a beep.
+ (ebib-prev-entry): same.
+ (ebib-next-entry): same.
+ (ebib-add-entry): same.
+ (ebib-goto-first-entry): same.
+ (ebib-goto-last-entry): same.
+ (ebib-edit-keyname): same.
+ (ebib-mark-entry): same.
+ (ebib-entry-page-up): same.
+ (ebib-entry-page-down): same.
+ (ebib-write-database): same.
+ (ebib-delete-entry): same.
+ (ebib-select-entry): same.
+ (ebib-export-entry): same.
+ (ebib-search): same.
+ (ebib-search-next): same.
+ (ebib-edit-strings): same.
+ (ebib-edit-preamble): same.
+ (ebib-export-preamble): same.
+ (ebib-virtual-db-and): same.
+ (ebib-virtual-db-or): same.
+ (ebib-virtual-db-not): same.
+
+2007-02-20 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-filter-to-virtual-db): fixed a bug: the additional
+ fields weren't included in the collection.
+ (ebib-edit-field): spurious progn removed.
+ (ebib-execute-helper): wrapped in an eval-and-compile because
+ otherwise XEmacs complains that the symbol ebib-execute-helper's
+ value as function is void.
+ (safe-write-region): new. GNU Emacs has an optional argument to
+ write-region that can be used to make sure the user doesn't
+ inadvertently overwrite an already existing file. XEmacs does not
+ have this argument.
+ (ebib-write-database): modified to use safe-write-region.
+ (ebib-insertion-strings): changed the default value from nil to
+ '((1 . "\\cite{%s}")).
+
+2007-02-19 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-index-mode-map): changed binding for
+ ebib-merge-bibtex-file from "m" to "M".
+ (ebib-index-mode-map): added binding "m" for ebib-mark-entry.
+ (ebib-mark-entry): new.
+ (ebib-marked-face): new. needed to accommodate xemacs. there must
+ be a better way to do this... Note that in xemacs, i know of no
+ better way than to use '(face highlight) for both the overlay
+ marking the current entry and to mark selected entries. that means
+ that you cannot tell if the current entry is selected or not. gnu
+ emacs has highlight and :inverse-video. (though the former may be
+ obsoleted at some point?)
+ (ebib-fill-index-buffer): changed to accommodate xemacs. (see
+ comment in the source.)
+ (ebib-index-buffer-help): updated.
+ (ebib-execute-when): new.
+ (ebib-execute-helper): new.
+ (when-entries): removed. its functionality is now covered by
+ ebib-execute-when.
+ (ebib-write-database): modified to use ebib-execute-when and if-str.
+ (ebib-export-entry): modified to use ebib-execute-when. also added
+ a check to make sure that the goal database is not virtual.
+ (ebib-export-preamble): same.
+ (ebib-export-all-strings): added a check to make sure the goal
+ database is not virtual.
+ (ebib-export-string): same.
+ (ebib-prev-entry): modified to use ebib-execute-when.
+ (ebib-next-entry): same.
+ (ebib-add-entry): same.
+ (ebib-close-database): same.
+ (ebib-goto-first-entry): same.
+ (ebib-goto-last-entry): same.
+ (ebib-edit-entry): same.
+ (ebib-edit-keyname): same.
+ (ebib-entry-page-up): same.
+ (ebib-entry-page-down): same.
+ (ebib-save-database): same.
+ (ebib-save-current-database): same.
+ (ebib-delete-entry): same.
+ (ebib-remove-key-from-buffer): same.
+ (ebib-select-entry): same.
+ (ebib-search): same.
+ (ebib-search-next): same.
+ (ebib-edit-strings): same.
+ (ebib-edit-preamble): same.
+ (ebib-next-database): same.
+ (ebib-prev-database): same.
+ (ebib-virtual-db-and): same.
+ (ebib-virtual-db-or): same.
+ (ebib-virtual-db-not): same.
+ (ebib-print-filter): same.
+
+2007-02-19 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el: ebib-1.1.4 released.
+
+2007-02-19 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-filter-to-virtual-db): changed the collection to
+ contain strings rather than symbols, because xemacs requires that.
+
+2007-02-18 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (add-to-listq): new. introduced mainly because xemacs
+ doesn't allow the fourth argument to add-to-list. (actually, i'm
+ not sure if emacs 21.4 supports it...)
+
+2007-02-13 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-quit): set ebib-strings-highlight to nil.
+
+2007-02-11 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-unique-field-list): new. used for TAB-completion
+ in ebib-filter-to-virtual-db.
+ (ebib-set-entry-types-hash): modified to set
+ ebib-unique-field-list.
+ (ebib-key): modified to keep the cond statement out of the
+ expansion.
+ (ebib-create-new-database): modified to take an optional database
+ argument: if supplied, returns a copy of that database.
+ (ebib-index-mode-map): added "&", "|", "~" and "V".
+ (ebib-virtual-db-and): new.
+ (ebib-virtual-db-or): new.
+ (ebib-virtual-db-not): new.
+ (ebib-filter-to-virtual-db): new.
+ (ebib-create-virtual-db): new.
+ (contains): new.
+ (ebib-run-filter): new.
+ (ebib-print-filter): new.
+ (ebib-write-database): modified to handle virtual databases.
+ (ebib-edit-entry): modified to exclude virtual databases.
+ (ebib-edit-keyname): same.
+ (ebib-save-current-database): same.
+ (ebib-save-database): same.
+ (ebib-merge-bibtex-file): same
+ (ebib-add-entry): same.
+ (ebib-delete-entry): same.
+ (ebib-export-entry): same.
+ (ebib-edit-strings): same.
+ (ebib-edit-preamble): same.
+ (ebib-export-preamble): same.
+ (ebib-import): same.
+ (ebib-fill-entry-buffer): modified so that it does not result in
+ an error if the current entry does not exist. This is needed in
+ case the user deletes an entry from a database that has a virtual
+ database that containe that entry.
+ (ebib-format-entry): put (eq key 'timestamp) first in the and
+ clause. no need to check timestamp and ebib-use-timestamp for any
+ other field.
+ (ebib-write-database): modified so that when a virtual database is
+ written to a file, it doesn't attempt to put an entry that is
+ still in a virtual database's keys-list but has been deleted in
+ the source database into the new database. (note: this is still
+ not the proper way to handle this. we need to find a clean way to
+ handle the consequences of an entry being deleted in a source
+ database.)
+
+2007-02-10 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (when-entries): included a declare indent statement.
+ (with-buffer-writable): same.
+ (edb): added fields `name' and `virtual'.
+ (ebib-fill-index-buffer): modified to use edb-name.
+ (ebib-load-bibtex-file): same.
+ (ebib-write-database): same.
+ (ebib-search-in-entry): added optional field argument.
+
+2007-02-04 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-goto-next-set): adapted to make use of
+ ebib-move-to-field.
+ (ebib-goto-prev-set): same.
+ (defentry): removed.
+ (ebib-preload): removed.
+ (ebib-additional-fields): removed.
+ (ebib-insert-entry): modified to insert a timestamp, depending on
+ the argument TIMESTAMP and on the setting of EBIB-USE-TIMESTAMP.
+ (ebib-add-entry): modified: it no longer adds a timestamp
+ itself (as it did after the change two days ago) but just requests
+ ebib-insert-entry to do so.
+ (ebib-read-entry): modified to request insertion of a timestamp.
+ (ebib-edit-keyname): modified so as to explicitly NOT insert a
+ timestamp.
+ (ebib-export-entry): modified so as to request insertion of a
+ timestamp, both when exporting to another database and to a file.
+ (ebib-find-bibtex-entries): modified: timestamp argument
+ added. This argument is simply passed on to ebib-read-entry.
+ (ebib-load-bibtex-file): modified so that no timestamp is inserted
+ into the entries read from file.
+ (ebib-import): modified to request insertion of a timestamp.
+ (ebib-format-entry): modified to insert a timestamp if required.
+ (ebib-export-entry): fixed a bug that kept ebib-export-filename
+ from being set.
+ (ebib-export-preamble): same.
+
+2007-02-03 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-format-fields): modified to check if hidden fields
+ should be shown.
+ (ebib-init): added a line to make timestamp a hidden field.
+ (ebib-hide-hidden-fields): new.
+ (ebib-toggle-hidden): new.
+ (ebib-move-to-field): new.
+ (ebib-find-visible-field): new.
+ (ebib-prev-field): rewritten to make use of ebib-move-to-field.
+ (ebib-next-field): same.
+ (ebib-goto-first-field): same.
+ (ebib-goto-last-field): same.
+
+2007-02-02 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-use-timestamp): new.
+ (ebib-add-entry): modified so that it adds a timestamp if
+ ebib-use-timestamp is set.
+
+2007-01-23 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-keys-window-size): new.
+ (ebib): modified to use ebib-keys-window-size.
+ (ebib-entry-page-up): same.
+ (ebib-entry-page-down): same.
+ (ebib-customize): new.
+ (ebib-index-mode-map): added "C" key command.
+
+2007-01-10 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib): added :prefix tag to defgroup.
+
+2006-12-17 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-export-preamble): bug (no message being given
+ after exporting the preamble) fixed.
+
+2006-12-13 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el: Ebib 0.28 released.
+
+2006-12-12 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-edit-crossref): fixed a bug that caused
+ ebib-set-modified not to be executed.
+ (ebib-set-modified): fixed. save-excursion should not be part of
+ the body of UNLESS.
+ (ebib-quit): ebib-default-type no longer set to nil. (quiting and
+ restarting ebib would leave it set to nil.)
+ (ebib-save-xrefs-first): new.
+ (ebib-compare-xrefs): new.
+ (ebib-format-database): modified to put crossreferencing entries
+ first.
+
+2006-11-13 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el: Ebib 0.27 released.
+
+2006-11-01 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-paste-field-contents): combined two nested if's
+ into one or'ed.
+
+2006-10-30 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-format-database): added argument db.
+ (ebib-format-strings): added argument db.
+ (ebib-sort-order): new.
+ (ebib-entry<): new.
+ (ebib-get-sortstring): new.
+ (ebib-insertion-strings): changed to an alist, so that multiple
+ insertion strings can be defined.
+ (ebib-insert-bibtex-key): modified to use the new ebib-insertion-strings.
+
+2006-10-24 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-insert-bibtex-key): changed to use a customisable
+ insertion string.
+ (ebib-insertion-string): new.
+
+2006-10-23 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el: Ebib 0.26 released.
+
+2006-10-23 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-set-entry-types-hash): new, to make customising
+ the entry types through the customisation buffer possible.
+ (defentry): modified, so that an entry defined with defentry is
+ also added to the list ebib-entry-types.
+ (ebib-additional-fields): renamed from ebib-ign-fields; modified
+ to check whether a field is already in the list before it is
+ added, so that it is not added twice when Ebib is closed and
+ restarted in the same Emacs session.
+ (ebib-find-bibtex-entries): added modify-syntax-entry, so that
+ users can type (e.g.) "o to create umlaut-o.
+ (ebib-format-database): use mapc on edb-keys-list rather than
+ maphash on edb-database, so that the entries are saved in
+ alphabetical order. (Following a suggestion of Thomas Schmitz.)
+
+2006-10-14 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el: added customisation group ebib.
+
+2006-10-01 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-remove-key-from-buffer): added when-entries, to
+ get rid of an error message when the last entry is deleted.
+ (ebib-find-end-of-field): fixed a nasty bug that occurred when
+ reading a .bib-file with an entry in which the last field is raw
+ and is immediately followed by the closing brace. Thanks to Thomas
+ Schmitz for bringing this to my attention.
+
+2006-09-14 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-ign-fields): code, uri and location removed.
+
+2006-08-29 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-find-bibtex-entries): changed to return a list of
+ the number of entries and number of strings found, and a boolean
+ for whether a preamble was found.
+ (ebib-load-bibtex-file): adapted to accept the new return value of
+ ebib-find-bibtex-entries.
+ (ebib-merge-bibtex-file): same.
+ (ebib-import): added.
+
+2006-08-28 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-import): added.
+
+2006-08-25 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el: rearranged some of the variable definitions, so that
+ the entry types can be defined in ebib.el rather than in .ebibrc.
+ (ebib-index-mode-map): put the key definitions back in.
+ (ebib-entry-mode-map): same.
+ (ebib-strings-mode-map): same.
+
+2006-08-18 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib): renamed the keys buffer to index buffer and the
+ fields buffer to entry buffer.
+ (ebib-key): new. to enable customisation of the command keys
+ through .ebibrc.
+ (ebib-index-mode-map): moved key definitions to .ebibrc.
+ (ebib-entry-mode-map): same.
+ (ebib-strings-mode-map): same.
+
+2006-08-17 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-add-entry): rewrote to use ebib-insert-entry.
+
+2006-08-15 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-delete-entry): split into three functions.
+ (ebib-remove-key-from-buffer): split off from ebib-delete-entry.
+ (ebib-remove-entry-from-db): split off from ebib-delete-entry.
+ (ebib-edit-keyname): new. because it partially does the same as
+ ebib-delete-entry, i split up the latter.
+
+2006-08-13 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-edit-field): added special clause for the annote
+ field, so that the user is dropped into the multiline edit buffer.
+
+2005-11-18 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-read-string): changed so that it does not store
+ the braces or quotes surrounding the string.
+ (ebib-match-quote-forward): added a check to make sure that when a
+ double quote is found at the search limit, this isn't mistakenly
+ taken as the matching quote if it is escaped by a backslash.
+
+2005-11-17 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-fields-mode-map): bound C-x k to
+ ebib-quit-fields-buffer.
+ (ebib-strings-mode-map): bound C-x b to ebib-lower, and C-x k to
+ ebib-quit-strings-buffer.
+
+2005-11-05 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-load-bibtex-file): use file-readable-p instead of
+ file-exits-p.
+
+2005-11-04 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-format-fields): new. formats the fields and calls
+ a function to output them.
+ (ebib-fill-fields-buffer): moved the actual formatting and
+ printing code to ebib-format-fields.
+ (ensure-extension): new. make sure a filename has a specific
+ extension.
+ (ebib-load-bibtex-file): changed to use ensure-extension.
+ (remove-from-string): changed to function.
+ (symbol-or-string): same.
+ (ebib-extract-bibfile): new. looks for a \bibliography command in
+ the current buffer and reads its filename.
+ (ebib-get-db-from-filename): new. retrieve a bibtex database based
+ on filename.
+ (ebib-get-local-database): new. finds a database to associate with
+ the LaTeX file in the current buffer.
+ (ebib-insert-bibtex-key): removed option to use a prefix
+ argument. instead uses ebib-get-local-database to select a
+ database to get the keys from.
+ (ebib-entry-summary): new. reads the key at point and displays its
+ entry in a *Help* buffer.
+
+2005-11-03 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-prefix): changed to function.
+ (next-elem): same.
+ (prev-elem): same.
+ (ebib-get-obl-fields): same.
+ (ebib-get-opt-fields): same.
+
+2005-11-02 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (when-entries): new. execute BODY when there is a
+ database open and it contains entries.
+ (ebib-prev-entry): test whether there are entries in the current
+ database.
+ (ebib-next-entry): same.
+ (ebib-prev-entry): test whether there are entries in the current
+ database.
+ (ebib-next-entry): same.
+ (ebib-goto-first-entry): same.
+ (ebib-goto-last-entry): same.
+ (ebib-edit-entry): same.
+ (ebib-entry-page-up): same.
+ (ebib-entry-page-down): same.
+ (ebib-delete-entry): same.
+ (ebib-select-entry): same.
+ (ebib-export-entry): same.
+ (ebib-search-next): same.
+ (ebib-edit-strings): test whether a database is open.
+ (ebib-edit-preamble): same.
+ (ebib-search): test whether there are entries in the current
+ database, and ask for search string inside the function, rather
+ than in (interactive).
+ (ebib-export-preamble): test whether a database is open.
+ (ebib-next-database): same.
+ (ebib-prev-database): same.
+ (disabled): new. does nothing except beep. used to disable C-x k
+ and C-x b in the fields and strings buffers.
+
+2005-11-02 Steve Youngs <steve@sxemacs.org>
+
+ * ebib.el (ebib-init): Don't do anything with `ebib-keys-mode-map'
+ here.
+ (ebib-initial-keys-map): Removed.
+ (ebib-full-keys-map): Removed.
+ (ebib-keys-mode-map): Merge them into here.
+ (ebib-load-bibtex-file): Don't do anything with
+ `ebib-keys-mode-map' here.
+ (ebib-close-database): Ditto.
+ (ebib-fill-keys-buffer): Ditto.
+ (ebib-switch-to-database-nth): Make it compatible with
+ GNU/Emacs.
+
+2005-11-02 Joost Kremers <joostkremers@yahoo.com>
+
+ * ebib.el (ebib-keys-mode): added C-x k and C-x b redefinitions
+ to ebib-initial-keys-map.
+ (ebib-fields-mode): same.
+ (ebib-strings-mode): same.
+ (ebib-t): removed.
+
+2005-11-02 Steve Youngs <steve@sxemacs.org>
+
+ * ebib.el (ebib-init): Copy the "initial keys" keymap into
+ `ebib-keys-mode-map'.
+ (ebib-initial-keys-map): Define all the keys inside the variable
+ definition instead of at top level.
+ (ebib-full-keys-map): Ditto. Also make this keymap's parent be
+ `ebib-initial-keys-map' to save on double defining some keys.
+ (ebib-switch-to-database-nth): New. Convenience function for
+ switching between databases.
+ (ebib-fill-keys-buffer): Set the local keymap to `ebib-keys-mode-map'.
+ (ebib-load-bibtex-file): Copy the "full keys" keymap into
+ `ebib-keys-mode-map'.
+ (ebib-close-database): Copy the "initial keys" keymap into
+ `ebib-keys-mode-map' and reset the local map.
+ (ebib-fields-mode-map): Define the keys in the variable definition
+ instead of at top level.
+ (ebib-strings-mode-map): Ditto.
+ (ebib-help-mode-map): Ditto.
+
diff --git a/biblio/bibtex/utils/ebib/INSTALL b/biblio/bibtex/utils/ebib/INSTALL
new file mode 100644
index 0000000000..fc6e755b9d
--- /dev/null
+++ b/biblio/bibtex/utils/ebib/INSTALL
@@ -0,0 +1 @@
+For installation instructions, see the Ebib manual.
diff --git a/biblio/bibtex/utils/ebib/README b/biblio/bibtex/utils/ebib/README
new file mode 100644
index 0000000000..00ad31d814
--- /dev/null
+++ b/biblio/bibtex/utils/ebib/README
@@ -0,0 +1,14 @@
+Ebib
+
+(c) 2003-2008 Joost Kremers
+
+Ebib is a BibTeX database manager that runs in GNU Emacs and
+XEmacs. With Ebib, you can create and manage .bib-files, all within
+Emacs. It supports @string and @preamble definitions, multi-line field
+values, searching, and integration with Emacs' (La)TeX mode.
+
+See the Ebib manual for usage and installation instructions.
+
+The latest release version of Ebib, contact information and mailing list
+can be found at <http://ebib.sourceforge.net>. Development sources can be
+found at <http://repo.or.cz/w/ebib.git>.
diff --git a/biblio/bibtex/utils/ebib/VERSION b/biblio/bibtex/utils/ebib/VERSION
new file mode 100644
index 0000000000..27f9cd322b
--- /dev/null
+++ b/biblio/bibtex/utils/ebib/VERSION
@@ -0,0 +1 @@
+1.8.0
diff --git a/biblio/bibtex/utils/ebib/doc/ebib-manual.pdf b/biblio/bibtex/utils/ebib/doc/ebib-manual.pdf
new file mode 100644
index 0000000000..cd8fa80dcf
--- /dev/null
+++ b/biblio/bibtex/utils/ebib/doc/ebib-manual.pdf
Binary files differ
diff --git a/biblio/bibtex/utils/ebib/doc/html/ebib-manual.css b/biblio/bibtex/utils/ebib/doc/html/ebib-manual.css
new file mode 100644
index 0000000000..cf8e846b62
--- /dev/null
+++ b/biblio/bibtex/utils/ebib/doc/html/ebib-manual.css
@@ -0,0 +1,61 @@
+body {
+ font-family: Verdana, "Bitstream Vera Sans", sans-serif;
+ background-color: #c9c9c9;
+ color: #33333A;
+}
+
+a {
+ text-decoration: none;
+ color: #533333;
+ font-weight: bold;
+}
+
+a:hover {
+ text-decoration: none;
+ color: #cf1212;
+}
+
+h1 {
+ text-align: center
+}
+
+img {
+ border: 0;
+}
+
+#main {
+ position: absolute;
+/* margin-right: 20%; */
+ margin-left: 50px;
+ top: 100px;
+ text-align: justify;
+ width: 600px;
+}
+
+#menu {
+ position: absolute;
+/* margin-left: 78%; */
+ margin-left: 710px;
+ top: 120px;
+ width: 250px;
+ background-color: #a01c1c;
+ height: 740px;
+ padding: 10px;
+ color: #c9c9c9;
+}
+
+#menu a {
+ text-decoration: none;
+ color: #ffa71d;
+}
+
+#menu a:hover {
+ text-decoration: none;
+ color: #ffdf20;
+}
+
+.bottom-dweller {
+ width: 100%;
+ position: absolute;
+ bottom: 0%;
+}
diff --git a/biblio/bibtex/utils/ebib/doc/html/ebib-manual.html b/biblio/bibtex/utils/ebib/doc/html/ebib-manual.html
new file mode 100644
index 0000000000..a5ba2de5b4
--- /dev/null
+++ b/biblio/bibtex/utils/ebib/doc/html/ebib-manual.html
@@ -0,0 +1,2224 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>Ebib Manual</title>
+ <meta name="generator" content="muse.el" />
+ <meta http-equiv="Content-Type"
+ content="text/html; charset=iso-8859-1" />
+ <link rel="stylesheet" type="text/css" media="screen" href="ebib-manual.css" />
+ </head>
+ <body>
+ <h1>Ebib Manual</h1>
+ <!-- Page published by Emacs Muse begins here -->
+<div id="menu">
+
+<div class="contents">
+<dl>
+<dt>
+<a href="#sec1">Installation</a>
+</dt>
+<dt>
+<a href="#sec2">Basic Usage</a>
+</dt>
+<dd>
+<dl>
+<dt>
+<a href="#sec3">Getting Started</a>
+</dt>
+<dt>
+<a href="#sec4">Editing the Database</a>
+</dt>
+<dt>
+<a href="#sec5">Saving a Database</a>
+</dt>
+<dt>
+<a href="#sec6">Searching</a>
+</dt>
+<dt>
+<a href="#sec7">LaTeX Integration</a>
+</dt>
+<dt>
+<a href="#sec8">Cross-referencing</a>
+</dt>
+<dt>
+<a href="#sec9">Printing the Database</a>
+</dt>
+<dt>
+<a href="#sec10">Marking Entries</a>
+</dt>
+<dt>
+<a href="#sec11">Calling a Browser</a>
+</dt>
+<dt>
+<a href="#sec12">Viewing Files</a>
+</dt>
+</dl>
+</dd>
+<dt>
+<a href="#sec13">Advanced Features</a>
+</dt>
+<dd>
+<dl>
+<dt>
+<a href="#sec14">Screen Layout</a>
+</dt>
+<dt>
+<a href="#sec15">Preloading <code>.bib</code> Files</a>
+</dt>
+<dt>
+<a href="#sec16"><code>@Preamble</code> Definition</a>
+</dt>
+<dt>
+<a href="#sec17"><code>@String</code> Definitions</a>
+</dt>
+<dt>
+<a href="#sec18">Sorting the <code>.bib</code> file</a>
+</dt>
+<dt>
+<a href="#sec19">Merging and Importing</a>
+</dt>
+<dt>
+<a href="#sec20">Exporting Entries</a>
+</dt>
+<dt>
+<a href="#sec21">Timestamps</a>
+</dt>
+<dt>
+<a href="#sec22">Multiple Identical Fields</a>
+</dt>
+<dt>
+<a href="#sec23">Virtual Databases</a>
+</dt>
+<dt>
+<a href="#sec24">The Multiline Edit Buffer</a>
+</dt>
+</dl>
+</dd>
+<dt>
+<a href="#sec25">The Ebib Buffers</a>
+</dt>
+<dd>
+<dl>
+<dt>
+<a href="#sec26">The Index Buffer</a>
+</dt>
+<dt>
+<a href="#sec27">The Entry Buffer</a>
+</dt>
+<dt>
+<a href="#sec28">The Strings Buffer</a>
+</dt>
+</dl>
+</dd>
+<dt>
+<a href="#sec29">Customisation</a>
+</dt>
+<dd>
+<dl>
+<dt>
+<a href="#sec30">The Customisation Buffer</a>
+</dt>
+<dt>
+<a href="#sec31">Modifying Key Bindings</a>
+</dt>
+</dl>
+</dd>
+</dl>
+</div>
+
+
+</div>
+
+<div id="main">
+
+<p>Ebib is a program with which you can manage BibTeX database files without
+having to edit the raw <code>.bib</code> files. It runs in GNU/Emacs, version 21.1 or
+higher (lower versions are not supported) and XEmacs (at least from version
+21.4; lower version have not been tested, but may work.)</p>
+
+<p>It should be noted that Ebib is <em>not</em> a minor or major mode for editing
+BibTeX files. It is a program in itself, which just happens to make use of
+Emacs as a working environment, in the same way that for example Gnus is.</p>
+
+<p>The advantage of having a BibTeX database manager inside Emacs is that X is
+no longer required, as Emacs can run on the console, and also that some
+integration with Emacs' TeX and LaTeX modes becomes possible. For example,
+you can push a BibTeX key from Ebib to a LaTeX buffer, or, vice versa, when
+you're in a LaTeX buffer, you can consult your BibTeX database and insert a
+key from it into the document. Another advantage of Ebib is that it is
+completely controlled by key commands: no stressful mouse movements are
+required, as with most other (usually X-based) BibTeX database managers.</p>
+
+
+<h2><a name="sec1" id="sec1"></a>
+Installation</h2>
+
+<p class="first">To install Ebib, so that it will be loaded automatically when Emacs is
+started, simply copy the file <code>ebib.el</code> to somewhere in your load path and
+add the following line to Emacs' init file (<code>~/.emacs</code> for GNU/Emacs,
+<code>~/.xemacs/init.el</code> for XEmacs):</p>
+
+<pre class="example">
+(autoload 'ebib &quot;ebib&quot; &quot;Ebib, a BibTeX database manager.&quot; t)
+</pre>
+
+<p>Note: if you do not know what your load path is set to, go to the <code>*scratch*</code>
+buffer, type <code>load-path</code> on an empty line, put the cursor right after it and
+type <code>C-j</code>. The value of <code>load-path</code> will then appear in the buffer.</p>
+
+<p>When Ebib is loaded, you can run it with <code>M-x ebib</code>. This command is also
+used to return to Ebib when you have put the program in the background. You
+can bind this command to a key sequence by putting something like the
+following in Emacs' init file:</p>
+
+<pre class="example">
+(global-set-key &quot;\C-ce&quot; 'ebib)
+</pre>
+
+<p>You can of course choose any key combination you like. (In Emacs, key
+combinations of <code>C-c &lt;letter&gt;</code> are reserved for the user, so that no package
+may set them.)</p>
+
+<p>It is recommended to byte-compile the source, Ebib runs quite a lot faster
+when it is byte-compiled. You can do this either within Emacs with <code>M-x
+byte-compile-file</code>, or from your shell by going into the directory where you
+put <code>ebib.el</code> and typing:</p>
+
+<pre class="example">
+emacs -batch -f batch-byte-compile ebib.el
+</pre>
+
+<p>(Substitute <code>emacs</code> with <code>xemacs</code> if you use XEmacs.) This will create a file
+<code>ebib.elc</code>, which Emacs will load instead of <code>ebib.el</code>. Byte-compiling Ebib may
+produce a warning about functions that are ``not known to be
+defined''. This can be safely ignored. GNU Emacs and XEmacs have some small
+differences, and the functions reported in this warning are those used by
+the other version. Ebib makes sure that the correct functions are called.</p>
+
+
+
+
+<h2><a name="sec2" id="sec2"></a>
+Basic Usage</h2>
+
+<p class="first">A BibTeX database is somewhat of a free-form database. A BibTeX entry
+consists of a set of field-value pairs. Furthermore, each entry is known by
+a unique key. The way that Ebib navigates this database is by having two
+windows, one that contains a list of all the entry keys in the database,
+and one that contains the fields and values of the currently highlighted
+entry.</p>
+
+<p>When Ebib is started, the current windows in Emacs are hidden and the Emacs
+frame is divided into two windows. The top one contains a buffer that is
+called the <em>index buffer</em>, while the lower window contains the <em>entry
+buffer</em>. When a database is loaded, the index buffer holds a list of all the
+keys in the database. You can move through these keys with the cursor
+keys. In the entry buffer, the fields of the currently highlighted entry
+are shown, with their values.</p>
+
+<p>In this chapter, all basic functions of Ebib are described, so that you can
+get startet with it. At times, reference will be made to later chapters,
+where more specific functions are described.</p>
+
+
+
+<h3><a name="sec3" id="sec3"></a>
+Getting Started</h3>
+
+<p class="first">Ebib is started with the command <code>M-x ebib</code>. Entering this command hides all
+the windows in the current Emacs frame and replaces them with two windows:
+the top one contains the index buffer, the bottom one, taking up the larger
+part of the screen, contains the entry buffer. The index buffer is named
+<code>none</code>, to indicate that no database has been loaded. If you open a database,
+or start a new one, the index buffer will carry its name.</p>
+
+<p>You can quit Ebib by typing <code>q</code>. You will be asked for confirmation, and you
+will receive a warning if you happen to have an unsaved database. The
+command <code>z</code> can also be used to leave Ebib. However, unlike <code>q</code>, which
+completely quits Ebib, <code>z</code> only lowers it, so that it remains active in the
+background. The <code>.bib</code> files that you have opened remain loaded, and you can
+return to them by typing <code>M-x ebib</code> again.</p>
+
+
+<h4>Opening a <code>.bib</code> file</h4>
+
+<p class="first">Loading a <code>.bib</code> file into Ebib is done with the command <code>o</code>. Ebib reads the
+file that you specify, and reports how many entries it found, how many
+<code>@string</code> definitions it found, and whether a <code>@preamble</code> was found. Note that
+when Ebib reads a <code>.bib</code> file, it only reads entry types (e.g. <code>book, article,
+phdthesis</code> etc.) that it knows about. Fields (e.g. <code>author, title, year</code> etc.)
+that Ebib does not know about, are loaded (and saved) but not displayed, so
+they cannot be edited. Therefore, you should make sure that all the entry
+types and fields that your databases use are defined. A sensible set has
+been predefined, so that anyone who's using standard BibTeX entry types
+should have no problem loading an existing <code>.bib</code> file into Ebib. If,
+however, you have custom entry types, or custom fields in your <code>.bib</code> files,
+you should read the chapter on customising Ebib to learn how to define
+them, so that Ebib knows about them. (See <a href="#entry-types">Entry types</a>.)</p>
+
+<p>Every time Ebib reads a <code>.bib</code> file, it produces a few log messages. These
+are written into a special buffer <code>*Ebib-log*</code>. If Ebib encounters entry
+types in the <code>.bib</code> file that it doesn't know, it will log a warning. If Ebib
+finds something that it believes to be incorrect, an error will be
+logged. If any warnings or errors occur while loading the <code>.bib</code> file, Ebib
+tells you so after loading the file. To view the log file, press <code>l</code> in the
+index buffer.</p>
+
+<p>Note that even if it detects warnings or errors, Ebib will try to continue
+parsing the rest of the <code>.bib</code> file. That means that normally, only the entry
+in which an error occurs is not read. Entries occurring after the
+problematic one are read.</p>
+
+
+
+<h4>Navigating a <code>.bib</code> file</h4>
+
+<p class="first">Once you've opened a <code>.bib</code> file, the keys of all the entries in the file are
+shown in alphabetical order in the index buffer in the top Ebib window. (In
+fact, it is possible to show more than just the entry key in this
+buffer. See <a href="#index-display-fields">Index Display Fields</a> on how to accomplish this.) The first
+entry is highlighted, meaning it is the current entry. The fields it holds
+and their values are shown in the entry buffer in the bottom Ebib
+window. The first field is the type field, which tells you what kind of
+entry you're dealing with (i.e. <code>book, article</code>, etc.).</p>
+
+<p>Below the type field, Ebib displays (up to) three sets of fields. The first
+set are the so-called obligatory fields, the fields that BibTeX requires to
+be filled. The second group are the optional fields, which do not have to
+be filled but which BibTeX will normally add to the bibliography if they do
+have a value. The third group are the so-called additional fields. These
+fields are usually ignored by BibTeX (note that BibTeX normally ignores
+<em>all</em> fields it does not know), although there are bibliography styles that
+treat some of these fields as optional rather than as additional; (i.e.,
+the <code>harvard</code> styles do typeset the <code>url</code> field, if present.)</p>
+
+<p>The first two groups of fields are different for each entry type, while the
+third group are common to all entry types. You can use the additional
+fields, for example, to add personal comments to the works in your
+database. Ebib by default defines the following additional fields:
+<code>crossref, url, annote, abstract, keywords, file</code> and <code>timestamp</code>. If these are
+not sufficient for you, you need to customise Ebib and add your own
+fields. (See <a href="#additional-fields">Additional Fields</a>, if you need to find out how to do that.)</p>
+
+<p>To move around in the index buffer, you can use the <code>up</code> and <code>down</code> cursor
+keys, <code>C-p</code> and <code>C-n</code>, or for those more used to mutt's key bindings, <code>k</code> and
+<code>j</code>. Furthermore, <code>Space</code> and <code>PgDn</code> move a screenful of entries down, while <code>b</code>
+and <code>PgUp</code> move in the other direction. Lastly, <code>g</code> and <code>Home</code> move to the first
+entry, while <code>G</code> and <code>End</code> move to the last one.</p>
+
+<p>Ebib is not restricted to opening just one <code>.bib</code> file at a time. You can
+open more files by just typing <code>o</code> again and entering the filename. Ebib
+numbers the databases: the number of each database is shown in the mode
+line of the index buffer, directly before the database name. The keys 1&mdash;9
+provide a quick way of jumping from one database to another. Note that the
+numbering is dynamic: if you have three databases opened and then close the
+second, database 3 becomes database 2.</p>
+
+<p>With the <code>left</code> and <code>right</code> cursor keys, you can move to the previous or next
+database. These keys wrap, so if you hit the <code>left</code> cursor key while the
+first database is active, you move to the last database. If you are done
+with a database and want to close it, type <code>c</code>. This closes the current
+database. It does not leave Ebib, and all other databases you have open
+will remain so.</p>
+
+
+
+<h4>Starting a New <code>.bib</code> File</h4>
+
+<p class="first">If you want to start a new <code>.bib</code> file from scratch, you cannot just go and
+enter entries. You first have to give the database a name. So, to start a
+new database, type <code>o</code> first, and give the new file a name. Once you have
+done this, you can start adding entries to the database.</p>
+
+
+
+
+<h3><a name="sec4" id="sec4"></a>
+Editing the Database</h3>
+
+<p class="first">Of course, being able to open and view <code>.bib</code> files is only half the fun. One
+needs to be able to edit the files as well. Ebib's essential editing
+facilities are discussed here.</p>
+
+
+<h4>Adding and Deleting Entries</h4>
+
+<p class="first">To add an entry to a database, you type <code>a</code>. When you do this, Ebib first
+asks you for an entry key, as every entry must be identified by a unique
+key. Just type a name for the new entry (say <code>jones1998</code>). Since the entry
+key must be unique, Ebib will complain if you enter a key that already
+exists.</p>
+
+<p>Note that if you should later decide that you want to change the key of an
+entry, you can do so with the command <code>E</code>. So if you have an entry with the
+key <code>jones1998</code> and you want to add another entry by Jones from 1998, you can
+call the new one <code>jones1998b</code> and rename the existing one to <code>jones1998a</code>.</p>
+
+<p>Deleting an entry is done with <code>d</code>. Be careful with this: you will be asked
+for confirmation, but once you've confirmed, the entry is gone, and it is
+not possible to bring it back. There is no undo in Ebib. (If you haven't
+saved the database yet, it is still possible to retrieve the deleted entry
+from the <code>.bib</code> file, and otherwise it may still be in the backup file that
+Ebib creates. See <a href="#saving-database">Saving a Database</a>.)</p>
+
+
+
+<h4>Editing Fields Values</h4>
+
+<p class="first">Editing the field values for an entry is done in the lower of the two Ebib
+buffers, the so-called entry buffer. You can move focus to the entry buffer
+by typing the command <code>e</code> in the index buffer.</p>
+
+<p>You can move between fields with the same keys that you use to move between
+entries in the index buffer: the cursor keys <code>up</code> and <code>down</code>, <code>C-p</code> and <code>C-n</code>, or <code>j</code>
+and <code>k</code>. <code>Space</code> and <code>PgDn</code> move to the next set of fields, while <code>PgUp</code> and <code>b</code> move
+to the previous set of fields. <code>g</code> and <code>G</code>, and <code>Home</code> and <code>End</code> also work as
+expected.</p>
+
+<p>Editing a field value can be done with <code>e</code>. For most fields, Ebib simply asks
+you for a string value in the minibuffer. (Here, <code>RET</code> confirms the edit,
+while <code>C-g</code> cancels it.) Although BibTeX requires that field values be
+surrounded by braces {} (or double quotes &quot;&quot;, but Ebib does not use those,
+even though it can of course handle them when they are used in an existing
+<code>.bib</code> file) you do not need to type these. Ebib adds them when it saves the
+<code>.bib</code> file.</p>
+
+<p>Some fields, however, are handled in a special way. The first of these is
+the <code>type</code> field: if you edit this field, you must enter one of the
+predefined entry types. Ebib won't allow you to enter anything else. You
+can use tab-completion in this case. Similarly, if you edit the <code>crossref</code>
+field, Ebib requires that you fill in a key from the database. Here, too,
+you can use tab-completion.</p>
+
+<p>Note that if you're adding a new entry, Ebib automatically puts you in the
+entry buffer after you've typed the entry key: you don't have to type <code>e</code> to
+move to the entry buffer. When creating a new entry, it is best to set the
+<code>type</code> field first, because the <code>type</code> field determines which other fields are
+available for an entry.</p>
+
+<p>Note also that after editing a field, Ebib (usually) puts you on the next
+field. This is convenient if you're creating a new entry and need to fill
+out several fields in a row.</p>
+
+<p>If you're done editing the fields of the entry, type <code>q</code> to move focus back
+to the index buffer. (Note: keys may have different functions in the index
+buffer and the entry buffer. <code>q</code> is a typical example: in the entry buffer,
+it quits editing the entry and moves focus back to the index buffer. In the
+index buffer, however, <code>q</code> quits Ebib.)</p>
+
+
+
+<h4>Editing Multiline Values</h4>
+
+<p class="first">Apart from the <code>type</code> and <code>crossref</code> field, there is another field that Ebib
+handles in a special way when you edit its value. This is the <code>annote</code>
+field. Most field values normally consist of a single line of
+text. However, because the <code>annote</code> field is meant for creating annotated
+bibliographies, it would not be very useful if you could only write one
+line of text in this field. Therefore, when you edit the <code>annote</code> field, Ebib
+puts you in the so-called <em>multiline edit buffer</em>. This is essentially a text
+mode buffer that allows you to enter as much text as you like. To store the
+text and leave the multiline edit buffer, type <code>C-x b</code>. (This is of course
+the standard Emacs command to switch buffers. It is redefined in Ebib's
+multiline edit buffer.)</p>
+
+<p>If you want to leave the multiline edit buffer without saving the text you
+have just typed, you can use the command <code>C-x k</code>. This too is redefined in
+the multiline edit buffer: it leaves the multiline edit buffer (and hides
+it), but it does not actually kill the buffer.</p>
+
+<p>Multiline values are not restricted to the <code>annote</code> field. Any field can in
+fact hold a multiline value. (Except of course the <code>type</code> and <code>crossref</code>
+fields.) To give a field a multiline value, use <code>l</code> instead of <code>e</code>. You will
+again be put in the multiline edit buffer, where you can edit the
+value. Note that you can use <code>l</code> even if a field already has a single line
+value. Ebib will just make that the first line in the multiline edit
+buffer.</p>
+
+<p>When a field has a multiline value, only the first line is shown in the
+entry buffer, for space reasons. To indicate that the value is multiline, a
+plus sign <code>+</code> is placed in front of the value.</p>
+
+<p>By the way, the <code>e</code> key is smart about the way an entry must be edited. If
+you press <code>e</code> on a field that already has a multiline value, regardless of
+the fact whether it is the <code>annote</code> field or not, Ebib puts you in the
+multiline edit buffer. Therefore, you need <code>l</code> only if you want to give a
+field a multiline value when it doesn't have one yet.</p>
+
+<p>For more details on working with the multiline edit buffer, see
+<a href="#multiline-edit-buffer">The Multiline Edit Buffer</a>.</p>
+
+
+
+<h4>Copy, cut, paste (yank), and delete</h4>
+
+<p class="first">A few more commands are available when you're in the entry buffer editing
+field values. The commands <code>c</code>, <code>x</code> and <code>y</code> implement a copy and paste system: <code>c</code>
+copies the contents of the current field to the kill ring, <code>x</code> kills the
+contents of the current field to the kill ring, and <code>y</code> yanks (pastes) the
+most recently killed text in the kill ring. You can type <code>y</code> repeatedly to
+get the same effect you get in Emacs when you type <code>M-y</code> after an initial
+<code>C-y</code>: every additional use of <code>y</code> moves back in the kill ring.</p>
+
+<p>Lastly, there is the command <code>d</code>, which deletes the contents of the current
+field, without asking questions and without storing the text in the kill
+ring.</p>
+
+<p>Note that <code>y</code> only works when the current field does not have a value
+yet. This is to prevent you from accidentally overwriting a field value. If
+you do want to yank text into a field that already has a value, simply hit
+<code>d</code> first to delete the text.</p>
+
+
+
+
+<h3><a name="sec5" id="sec5"></a>
+Saving a Database</h3>
+
+<p><a name="saving-database" id="saving-database"></a>
+When you have undertaken any kind of editing action on a database, it is
+marked as modified, which is indicated in the mode line for the index
+buffer. A modified database can be saved by typing <code>s</code>. This saves the
+database to the file it was loaded from without asking for
+confirmation. (It is similar to <code>C-x C-s</code> in Emacs.) If you're saving a file
+for the first time after loading it, Ebib creates a backup file under the
+same name appended with a tilde: <code>&lt;filename&gt;.bib~</code>.</p>
+
+<p>If you have multiple databases open, have made changes in more than one of
+them, and want to save all of them without going through each yourself, you
+can use <code>S</code>. (That's a capital <code>S</code>.) This command saves all modified databases.</p>
+
+<p>Another way to save a database is to use the command <code>w</code>. Use this if you
+want to write the database to another file than the one it was loaded
+from. Ebib will ask you for a filename to save to, and will of course warn
+you if that file happens to exist already. Note that this command is
+similar to <code>C-x C-w</code> in Emacs, so that after using it, the new <code>.bib</code> file
+becomes associated with the database.</p>
+
+
+
+<h3><a name="sec6" id="sec6"></a>
+Searching</h3>
+
+<p><a name="searching" id="searching"></a>
+Ebib provides several search methods. First, if you are in the index
+buffer, the normal Emacs incremental searches, <code>C-s</code> and <code>C-r</code>, function as
+expected. You can use them to search entry keys. Note that once you've
+found the key you're searching, you must hit <code>ENTER</code> to make it active. Ebib
+does not update the entry buffer during incremental search, as this would
+be rather pointless: you're only interested in the entry you're searching
+for, not in the entries you pass along the way.</p>
+
+<p>Of course, it is also possible to search the database itself. If you type
+<code>/</code>, Ebib asks you for a search term. This can be a regular expression, to
+allow for flexibility in searching. After hitting <code>ENTER</code>, Ebib will start
+searching the database (starting from the current entry, <em>not</em> from the first
+entry!) and will display the entry with the first occurrence of the search
+string that it finds. All the occurrences of the search string in that
+entry are highlighted.</p>
+
+<p>Ebib searches all the fields of each entry. It is not possible with <code>/</code> to
+specify the fields to search. Note that if the search term is found in a
+field with a multiline value, Ebib will highlight the <code>+</code> sign that it
+displays in front of the field value. Keep an eye out for this when doing a
+search, because Ebib only shows the first line of multiline values, and if
+the search term appears in another line, the highlighted <code>+</code> is the only
+indication that the search term was found. (Well, that and the fact that
+Ebib does <em>not</em> say <code>Search string not found</code>, of course...)</p>
+
+<p>A search term may of course appear more than once in the database. To
+search for the next occurrence, type <code>n</code>. This will continue searching for
+the search string in the rest of the database. Again, the first entry found
+to contain the search string is displayed. Note that <code>n</code> does not wrap: if
+the end of the database is reached, Ebib stops searching. To continue
+searching from the top, hit <code>g</code> and then <code>n</code>.</p>
+
+<p>The functions described here form Ebib's basic search functionality. Ebib
+also has a much more powerful search mechanism in the form of <em>virtual
+databases</em>. These are described later. (See <a href="#virtual-databases">Virtual Databases</a>.)</p>
+
+
+
+<h3><a name="sec7" id="sec7"></a>
+LaTeX Integration</h3>
+
+<p class="first">Having a BibTeX database manager running inside Emacs has an additional
+advantage: it makes it trivially easy to insert BibTeX keys in your LaTeX
+documents.</p>
+
+<p>Ebib provides two functions for this. First, if you're in a LaTeX buffer, you
+can call the function <code>ebib-insert-bibtex-key</code>. When you invoke this command,
+Emacs prompts you for a key from the database(s) associated with the current
+buffer, a citation command (that has to be typed <em>without</em> the backslash) and any
+optional argument(s) the command allows. You can type the key using
+TAB-completion, and after hitting <code>RET</code>, Emacs puts a BibTeX citation at the
+cursor position in the current buffer with the key you selected.</p>
+
+<p>You can also do it the other way around: if you're in the index buffer in Ebib,
+you can <em>push</em> an entry to a LaTeX buffer. To do this, use the key <code>p</code>. Ebib will
+ask you for a buffer to push the entry to, a citation command and also any
+optional arguments, and then insert a citation at the current cursor position in
+the buffer you've supplied.</p>
+
+<p>For the citation command that <code>ebib-insert-bibtex-key</code> and the command key <code>p</code> ask
+for can be any command that you need. But it is also possible to predefine a
+list of citation commands which you can then enter at this prompt using tab
+completion. For details on setting this up, see <a href="#insertion-commands">Insertion Commands</a>.</p>
+
+<p>There is another function that is available outside Ebib:
+<code>ebib-entry-summary</code>. This command reads the key under the cursor in the
+current buffer and displays the field values associated with that key in a
+<code>*Help*</code> buffer. This allows you to quickly check a reference in a text.</p>
+
+<p>Probably the easiest way to use both <code>ebib-insert-bibtex-key</code> and
+<code>ebib-entry-summary</code> is to bind them to a key sequence. For example, you
+could put the following in your <code>~/.emacs</code>:</p>
+
+<pre class="example">
+(add-hook 'LaTeX-mode-hook #'(lambda ()
+ (local-set-key &quot;\C-cb&quot; 'ebib-insert-bibtex-key)))
+</pre>
+
+<p>This binds <code>C-c b</code> to the command <code>ebib-insert-bibtex-key</code> in AUCTeX's LaTeX
+mode. (Note that commands of the form <code>C-c &lt;letter&gt;</code> are reserved for the
+user, and should therefore not be set by any package. For this reasons,
+Ebib does not set this command automatically.)</p>
+
+
+<h4>Consulting databases from within a LaTeX file</h4>
+
+<p class="first">The commands <code>ebib-insert-bibtex-key</code> and <code>ebib-entry-summary</code> must consult the
+database or databases loaded in Ebib, and Ebib tries to be smart about
+which database(s) to consult. Usually, a LaTeX file has a <code>\bibliography</code>
+command somewhere toward the end, which names the <code>.bib</code> file or files that
+contain the bibliography entries. If you consult a BibTeX database from
+within a LaTeX file, Ebib first looks for a <code>\bibliography</code> command, reads
+the <code>.bib</code> files from it, and then sees if those files happen to be open. If
+they are, Ebib uses them to let you pick an entry key (in the case of
+<code>ebib-insert-entry-key</code>) or to search for the entry (in the case of
+<code>ebib-entry-summary</code>).</p>
+
+<p>Of course, it may be the case that the LaTeX file is actually part of a
+bigger project, and that only the master file contains a <code>\bibliography</code>
+command. To accommodate for this, Ebib checks whether the (buffer-local)
+variable <code>TeX-master</code> is set to a filename. If it is, it reads that file and
+tries to find the <code>\bibliography</code> command there. (Note: <code>TeX-master</code> is an
+AUCTeX variable, which is used to keep track of multi-file projects. If you
+don't use AUCTeX, this functionality doesn't work, and Ebib will only check
+the current file for a <code>\bibliography</code> command.)</p>
+
+<p>Note that if one of the <code>.bib</code> files in the <code>\bibliography</code> command isn't
+loaded, Ebib issues a warning message about this, and continues to check
+for the next <code>.bib</code> file. These warning messages appear in the minibuffer,
+but are probably directly overwritten again by further messages or prompts
+Ebib produces, so check the <code>*Messages*</code> buffer if Ebib doesn't seem to be
+able to find an entry that you're sure is in one of your databases.</p>
+
+<p>Another thing to keep in mind is that Ebib only looks for a <code>\bibliography</code>
+command once: the first time either <code>ebib-insert-bibtex-entry</code> or
+<code>ebib-entry-summary</code> is called. It stores the result of this search and uses
+it the next time either of these commands is used. Therefore, if you make a
+change to the <code>\bibliography</code> command, you must reload the file (use <code>M-x
+revert-buffer</code>) to make sure Ebib rereads the <code>\bibliography</code> command.</p>
+
+<p>If no <code>\bibliography</code> command is found at all, either in the LaTeX file
+itself, or in the master file, Ebib simply consults the current database,
+i.e. the database that was active when Ebib was lowered with <code>z</code>.</p>
+
+
+
+
+<h3><a name="sec8" id="sec8"></a>
+Cross-referencing</h3>
+
+<p><a name="cross-referencing" id="cross-referencing"></a>
+BibTeX has a cross-referencing facility. Suppose you have an entry <code>jones1998</code>,
+which appeared in a book that is also in your database, say under <code>miller1998</code>.
+You can tell BibTeX that <code>jones1998</code> is contained in <code>miller1998</code> by putting
+<code>miller1998</code> in the <code>crossref</code> field. When BibTeX finds such a cross-reference, all
+the fields of <code>jones1998</code> that don't have a value inherit their values from
+<code>miller1998</code>. At the very least, this saves you some typing, but more importantly,
+if two or more entries cross-reference the same entry, BibTeX automatically
+includes the cross-referenced entry in the bibliography (and puts a reduced
+reference in the cross-referencing entries).</p>
+
+<p>When you fill in the <code>crossref</code> field in Ebib, Ebib displays the values of the
+cross-referenced entry in the entry buffer. To indicate that they are just
+inherited values, they are marked with <code>ebib-crossref-face</code>, which by default is
+red. (You can customise it, of course. See the customisation option
+<a href="#crossref-face">Crossref Face</a>.) These values are just displayed for convenience: otherwise, Ebib
+treats these fields as if they are empty. That is, they cannot be edited (to
+edit them, you need to edit the cross-referenced entry), and it's not possible
+to copy these values to the kill ring.</p>
+
+<p>If you're viewing an entry that has a cross-reference and you want to go to the
+cross-referenced entry you can type <code>F</code>. This command reads the value of the
+<code>crossref</code> field and then displays that entry. If you want to do the reverse,
+i.e., see if the current entry is cross-referenced by any other entries, you can
+use the key <code>N</code>. What this command actually does is to make the key of the current
+entry the current search string and to search for its first occurrence <em>after</em> the
+current entry. Like the normal search command <code>/</code>, <code>N</code> does not wrap and only
+searches forward. So if you want to search for the next cross-referencing entry
+you need to press <code>n</code> (i.e., lowercase <code>n</code>), and to continue searching from the
+first entry, press <code>g</code> followed by <code>n</code>.</p>
+
+<p>Note that if you want to use BibTeX's cross-referencing options, you need to set
+the option <a href="#save-xrefs-first">Save Xrefs first</a>. This tells Ebib to save all entries with a <code>crossref</code>
+field first in the <code>.bib</code> file. Without this, BibTeX's cross-referencing will not
+work reliably.</p>
+
+
+
+<h3><a name="sec9" id="sec9"></a>
+Printing the Database</h3>
+
+<p><a name="printing-database" id="printing-database"></a>
+Sometimes it may be useful to have a <code>.pdf</code> file or print-out of your
+database. Although Ebib does not actually do the printing itself, it can
+create a LaTeX file for you that you can compile and print. In fact, there
+are two ways of doing this.</p>
+
+<p>The first is the command <code>L</code>. This command creates a simple LaTeX document
+that essentially contains a <code>\nocite{*}</code> command followed by a
+<code>\bibliography</code> command referring to the <code>.bib</code> file belonging to
+the current database. You can then run the usual sequence of LaTeX, BibTeX,
+LaTeX, LaTeX on this file, creating a document containing a list of all the
+references in your database.</p>
+
+<p>The second command for printing a database is <code>P</code>. This command also creates
+a LaTeX file. However, instead of simply providing a
+<code>\nocite{*}</code> command, <code>P</code> creates a <code>tabular</code> environment for each
+entry in the database listing all the fields of that entry and their
+values.</p>
+
+<p>The difference between <code>L</code> and <code>P</code> should be obvious: with <code>L</code>, you get a list of
+references created by BibTeX. This means that the references look the way
+they will when actually used in a document, but it also means that the list
+only contains the information that BibTeX deems relevant.</p>
+
+<p>With <code>P</code> you get an overview of your database with <em>all</em> the field values of
+each entry, including the ones that BibTeX does not use. The entries are
+not formatted as literature references, but in a way similar to how they
+are shown in Ebib.</p>
+
+<p>By default, <code>P</code> only shows single-line field values. That is, multiline
+values are normally excluded. If you want to include multiline values in
+the print-out, you have to set the option <code>Print Multiline</code> in Ebib's
+customisation buffer. (See <a href="#customisation-buffer">The Customisation Buffer</a>.) With this option set,
+Ebib will include all multiline values in the LaTeX file that <code>P</code>
+creates. Note however that Ebib does not change anything about the
+formatting of the text in a multiline value. So if you plan to make (heavy)
+use of this option, make sure that the way you type your text conforms to
+LaTeX's conventions (e.g. empty lines to mark paragraphs, etc.) and doesn't
+contain any characters such as <code>&amp;</code> that are illegal in LaTeX. (Or,
+alternatively, use LaTeX code in your multiline fields.)</p>
+
+<p>As mentioned, when you use either <code>L</code> or <code>P</code>, Ebib creates a LaTeX file. More
+precisely, it creates a temporary buffer and writes the LaTeX code into it,
+and then saves the contents of that buffer to a file. After it has done
+that, Ebib lowers itself and instruct Emacs to open the file in a buffer,
+which will then be properly set up as a LaTeX buffer. From there you can
+run LaTeX and view the result.</p>
+
+<p>Before doing all this, Ebib asks you which file to write to. Be careful
+with this: since this is supposed to be a temporary file, Ebib simply
+assumes that if you provide a filename of an existing file, it can
+overwrite that file without warning!</p>
+
+<p>A better way to tell Ebib which file to use is to set the option <code>Print
+Tempfile</code> in Ebib's customisation buffer to some temporary file. When this
+option is set, Ebib will always use this file to write to, and will not ask
+you for a filename anymore when you type <code>L</code> or <code>P</code>.</p>
+
+<p>There are two more customisation options for printing the database. These
+are <code>Print Preamble</code> and <code>LaTeX Preamble</code>. With these options, you can specify
+what Ebib should put in the preamble of the LaTeX files it creates. Use
+this if you want to use specific packages
+(e.g. <code>\usepackage{a4}</code> or
+<code>\usepackage{times})</code>. This is especially useful for <code>L</code>, since by
+default, Ebib uses BibTeX's standard bibliography style. With the option
+<code>LaTeX Preamble</code> you can set your preferred bibliography style. Details are
+discussed in the chapter on customisation, see <a href="#customisation-buffer">The Customisation Buffer</a>.</p>
+
+
+
+
+<h3><a name="sec10" id="sec10"></a>
+Marking Entries</h3>
+
+<p class="first">Commands in the index buffer generally operate on one single entry, or on
+all entries. For some, however, it may sometimes be useful to perform them
+on more than one entry, but not necessarily all of them. This can be
+achieved by marking entries. You can mark the entries you want to perform a
+command on with the key <code>m</code>. This marks (or unmarks) the current
+entry. Marked entries are displayed in inverse video (in GNU Emacs) or
+white on red (in XEmacs; note that the face properties of marked entries
+can be customised through the customisation option <a href="#marked-face">Marked Face</a>.)</p>
+
+<p>Of the commands discussed so far, four can be used on marked entries: <code>d</code>, <code>p</code>,
+<code>L</code> and <code>P</code>. Note, however, that it is not enough to mark the entries you want
+and then type any of these commands. If you do so, they will behave as if
+no entries were marked. To get these commands to work on the marked
+entries, you have to type a semicolon before them. That is, <code>; d</code> deletes all
+marked entries, and <code>; L</code> and <code>; P</code> create a LaTeX file of only the marked
+entries. The command <code>m</code> itself can also be used with the <code>;</code> prefix. If there
+are any marked entries, <code>; m</code> unmarks them all. Otherwise, <code>; m</code> marks all
+entries.</p>
+
+<p><code>; p</code> pushes all marked entries to a LaTeX buffer. It does so by putting them
+all in a single <code>\cite</code> command, separated by commas, not by putting them in
+separate <code>\cite</code> commands.</p>
+
+
+
+<h3><a name="sec11" id="sec11"></a>
+Calling a Browser</h3>
+
+<p class="first">With more and more scientific literature becoming available on-line, it
+becomes common to store URLs in a BibTeX database. Sometimes you may want
+to load such a URL in your browser. Ebib provides a convenient way for
+doing so.</p>
+
+<p>If you type <code>u</code> in the index buffer, Ebib takes the first URL stored in the
+<code>url</code> field of the current entry and passes it to your browser. Furthermore,
+in the entry buffer, you can use <code>u</code> on <em>any</em> field. If you happen to have more
+than one URL stored in the relevant field, and you want to pass the second
+(or third, etc.) to the browser, you can use a prefix argument. So typing
+<code>M-2 u</code> sends the second URL to your browser, <code>M-3 u</code> the third, and so on.</p>
+
+<p>It is not even necessary that the relevant field contains <em>only</em> URLs. It may
+contain other text mixed with the URLs: Ebib simply searches the URLs in
+the field and ignores the rest of the text. Ebib considers every string of
+characters that starts with <code>http://</code> or <code>https://</code> and that does not contain
+whitespace or any of the characters <code>&quot; ' &lt;</code> or <code>&gt;</code> as a URL. Furthermore, Ebib
+regards everything that is enclosed in a LaTeX <code>\url{...}</code>
+command as a URL. This behaviour is controlled by a regular expression that
+can be customised. (See <a href="#url-regexp">Url Regexp</a>.)</p>
+
+<p>There exists an Emacs function <code>browse-url</code>, which provides a nifty interface
+to calling an external browser. In principle, Ebib uses this
+function. However, if this function is not present on your installation,
+you can set the option <a href="#browser-command">Browser Command</a> to call the browser.</p>
+
+<p>As just explained, if you press <code>u</code> in the index buffer, Ebib searches the
+<code>url</code> field of the current entry for URLs. If you have the habit of putting
+your URLs in another field, however, you may change the customisation
+option <a href="#standard-url-field">Standard Url Field</a> and tell Ebib to use another field for searching
+the URLs. (Keep in mind, though, that in the entry buffer, you can load a
+URL from any field.)</p>
+
+
+
+<h3><a name="sec12" id="sec12"></a>
+Viewing Files</h3>
+
+<p class="first">If you have electronic versions of the papers in your database stored on
+your computer, you can use Ebib to call external viewers for these
+files. The interface for this is similar to that for calling a browser: if
+you press <code>f</code> in the index buffer, Ebib searches the <code>file</code> field for a
+filename and when it finds one, calls an appropriate viewer.</p>
+
+<p>Just as with <code>u</code>, you can use <code>f</code> in the entry buffer as well, in which case it
+can be used on any field, not just the <code>file</code> field. It is also possible to
+have more than one filename in a field: you can select the one you want to
+view with the prefix argument.</p>
+
+<p>Just as in the case of URLs, you can customise several things about the
+file view functionality. The option <a href="#standard-file-field">Standard File Field</a> allows you to
+customise the field that <code>f</code> extracts filenames from when pressed in the
+index buffer. Extracting filenames is done with a regular expression, which
+can be customised through the option <a href="#file-regexp">File Regexp</a>.</p>
+
+<p>The option <a href="#file-search-dirs">File Search Dirs</a> allows you to tell Ebib which directories it
+needs to search for files. The default value is <code>~</code>, which means Ebib just
+looks in your home dir. Since this is probably not where you keep your
+files, you may want to customise this. Note that you can specify more than
+one directory.</p>
+
+<p>Note that Ebib does not search directories recursively. It is possible,
+however, to put subdirectories in the filenames. That is, if you put
+something like <code>a/abney1987.pdf</code> in the <code>file</code> field, Ebib searches for the
+relevant file in a subdirectory <code>a/</code> of the directories listed in the option
+<code>File Search Dirs</code>. (Note that if you want to do this under Windows, you may
+want to remove the backslash from the file regexp.)</p>
+
+<p>Ebib can call different external programs depending on the file type of the
+relevant file, but you have to specify which programs to call. The option
+<a href="#file-associations">File Associations</a> allows you to do this. By default, <code>.pdf</code> and <code>.ps</code> files are
+handled, by <code>xpdf</code> and <code>gv</code>, respectively. You can specify further file types by
+their extensions (do not include the dot). The program is searched for in
+<code>PATH</code>, but you can of course specify the full path to the program.</p>
+
+
+
+
+<h2><a name="sec13" id="sec13"></a>
+Advanced Features</h2>
+
+<p class="first">The features discussed in the previous chapter should be sufficient to get
+started using Ebib. However, Ebib has several more advanced features, which
+are described in this chapter.</p>
+
+
+<h3><a name="sec14" id="sec14"></a>
+Screen Layout</h3>
+
+<p><a name="screen-layout" id="screen-layout"></a>
+By default, Ebib takes over the entire Emacs frame it is started in. If you
+have a wide enough screen, however, it may be more convenient to have Ebib
+take up only part of the frame, so that you can have the LaTeX text you're
+working on and Ebib visible at the same time. The option <a href="#layout">Layout</a> allows you
+to do this, by giving you the ability to choose between a full-frame or a
+split-frame layout.</p>
+
+<p>In the split-frame layout, the Ebib windows are displayed on the right of
+the current frame, with the left part free for your document. In this
+layout, some aspects of Ebib behave somewhat differently. Most importantly,
+the multiline edit buffer is not displayed in the lower Ebib window, but in
+the non-Ebib window on the left. (Obviously, after leaving the multiline
+edit buffer, the original buffer is restored to that window.)</p>
+
+<p>Furthermore, pressing <code>z</code> in the index buffer leaves Ebib, but keeps the
+buffers visible. You can get back to Ebib with the command <code>M-x ebib</code> (or any
+key bound to it, of course), or simply by manually switching to the index
+buffer. If you want to remove the Ebib buffers from the frame but keep Ebib
+in the background, you can use <code>Z</code> (i.e. capital <code>Z</code>) in the index
+buffer. (Note that <code>Z</code> is also available in the full-frame layout, but there
+it is identical to <code>z</code>.)</p>
+
+<p>Lastly, the command <code>ebib-entry-summary</code> checks whether the Ebib buffers are
+visible in the frame. If they are, it does not output the entry info in a
+<code>*Help*</code> buffer, but rather displays the entry in Ebib itself.</p>
+
+
+
+<h3><a name="sec15" id="sec15"></a>
+Preloading <code>.bib</code> Files</h3>
+
+<p class="first">Chances are that you will be doing most of your work with one or a few <code>.bib</code>
+files, and you may find yourself opening the same file or files every time
+you start Ebib. If so, you can tell Ebib to always load specific <code>.bib</code> files
+on startup. To do this, specify the files in Ebib's customisation buffer,
+under the option <a href="#preload-bib-files">Preload Bib Files</a>.</p>
+
+
+
+<h3><code><a name="sec16" id="sec16"></a>@Preamble</code> Definition</h3>
+
+<p class="first">Apart from database entries, BibTeX allows three more types of elements to
+appear in a <code>.bib</code> file. These are <code>@comment</code>, <code>@preamble</code> and <code>@string</code>
+definitions. Ebib provides facilities to handle the latter two. <code>@comment</code>
+definitions cannot be added to a <code>.bib</code> file through Ebib, and if Ebib finds
+one in a <code>.bib</code> file, it is simply ignored.</p>
+
+<p><code>@preamble</code> and <code>@string</code> definitions can be handled, however. Ebib allows you
+to add one <code>@preamble</code> definition to the database. In principle, BibTeX
+allows more than one such definition, but really one suffices, because you
+can use the concatenation character <code>#</code> to include multiple TeX or LaTeX
+commands. So, rather than having two <code>@preamble</code> definitions such as:</p>
+
+<pre class="example">
+@preamble{ &quot;\newcommand{\noopsort}[1]{} &quot; }
+@preamble{ &quot;\newcommand{\singleletter}[1]{#1} &quot; }
+</pre>
+
+<p>you can write this in your <code>.bib</code>
+file:</p>
+
+<pre class="example">
+@preamble{ &quot;\newcommand{\noopsort}[1]{} &quot;
+ # &quot;\newcommand{\singleletter}[1]{#1} &quot; }
+</pre>
+
+<p>Creating or editing a <code>@preamble</code> definition in Ebib is done by hitting <code>r</code> in
+the index buffer. Ebib uses the multiline edit buffer for editing the text
+of the <code>@preamble</code> definition, which means that as discussed above, <code>C-x b</code>
+stores the <code>@preamble</code> text and returns focus to the index buffer, while <code>C-x
+k</code> returns focus to the index buffer while abandoning any changes you may
+have made. (For details on using the multiline edit buffer, see
+<a href="#multiline-edit-buffer">The Multiline Edit Buffer</a>.)</p>
+
+<p>In order to create a <code>@preamble</code> as shown above in Ebib, you only have to
+type the text between the braces. Ebib takes care of including the braces
+of the <code>@preamble</code> command, but otherwise it saves the text exactly as you
+enter it. So in order to get the preamble above, you'd have to type the
+following in Ebib:</p>
+
+<pre class="example">
+&quot;\newcommand{\noopsort}[1]{} &quot;
+# &quot;\newcommand{\singleletter}[1]{#1} &quot;
+</pre>
+
+<p>Note that when Ebib loads a <code>.bib</code> file that contains more than one <code>@preamble</code>
+definition, it concatenates all the strings in them in the manner just
+described and saves them in one <code>@preamble</code> definition.</p>
+
+
+
+<h3><code><a name="sec17" id="sec17"></a>@String</code> Definitions</h3>
+
+<p class="first">If you press <code>t</code> in the index buffer, Ebib hides the entry buffer in the
+lower window and replaces it with the <em>strings buffer</em>. In this buffer, you
+can add, delete and edit <code>@string</code> definitions.</p>
+
+<p>Adding a <code>@string</code> definition is done with the command <code>a</code>. This will first ask
+you for an abbreviation and then for the value to be associated with that
+abbreviation. Once you've entered these, Ebib will sort the new
+abbreviation into the buffer.</p>
+
+<p>Moving between the <code>@string</code> definitions can be done in the usual way: the
+cursor keys <code>up</code> and <code>down</code>, <code>C-p</code> and <code>C-n</code> and <code>k</code> and <code>j</code> move up and down. <code>Space</code>
+and <code>PgDn</code> move ten strings down, while <code>b</code> and <code>PgUp</code> move in the other
+direction. The keys <code>g</code>, <code>G</code>, <code>Home</code> and <code>End</code> also function as expected.</p>
+
+<p>To delete a <code>@string</code> definition, use <code>d</code>. To edit the value of a definition,
+use <code>e</code>. There is also a command <code>c</code>, which copies the value of the current
+<code>@string</code> definition to the kill ring. Unlike in the entry buffer, there are
+no corresponing commands <code>y</code> and <code>x</code>. (In fact, <code>x</code> does exist, but has another
+function.) Yanking from the kill ring can be done with <code>C-y/M-y</code> in the
+minibuffer when you edit a <code>@string</code>'s value. Cutting a <code>@string</code>'s value
+is pointless, because a <code>@string</code> definition must have a value.</p>
+
+<p>Having defined <code>@string</code> definitions, there must of course be a way to use
+them. Just giving a field a string abbreviation as value will not do,
+because Ebib puts braces around the value that you enter when it writes the
+<code>.bib</code> file, so that BibTeX will not recognise the abbreviation, and will not
+expand it. BibTeX will only recognise an abbreviation if it appears in the
+<code>.bib</code> file outside of any braces.</p>
+
+<p>To accomplish this, you must mark a field's value as <em>raw</em>. A raw field is a
+field whose value is not surrounded by braces when the database is saved,
+so that BibTeX recognises it as an abbreviation. To mark a field raw, press
+<code>r</code>. An asterisk will appear before the field, indicating that it is
+raw. Pressing <code>r</code> again will change the field back to normal. If you press <code>r</code>
+on a field that does not have a value yet, Ebib will ask you for one.</p>
+
+<p>Note that this also makes it possible to enter field values that are
+composed of concatenations of strings and abbreviations. The BibTeX
+documentation for example explains that if you have defined:</p>
+
+<pre class="example">
+@string{WGA = &quot;World Gnus Almanac&quot;}
+</pre>
+
+<p>you can create a BibTeX field
+like this:</p>
+
+<pre class="example">
+title = 1966 # WGA
+</pre>
+
+<p>which will produce ``1966 World
+Gnus Almanac''. Or you can do:</p>
+
+<pre class="example">
+month = &quot;1~&quot; # jan
+</pre>
+
+<p>which will produce someting
+like ``1 January'', assuming your bibliography style has defined the
+abbreviation <code>jan</code>. All this is possible with Ebib, simply by entering the
+exact text including quotes or braces around the strings, and marking the
+relevant field as raw.</p>
+
+<p>An easy way to enter a <code>@string</code> abbreviation as a field value is to use the
+key <code>s</code> instead of <code>e</code>. If you type <code>s</code>, Ebib asks you for a <code>@string</code> abbreviation
+to put in the current field, and automatically marks the field as raw. With
+this command, Ebib only accepts <code>@string</code> definitions that are in the
+database, so that by using <code>s</code> you can make sure you don't make any
+typos. Note that you can use tab completion to complete a partial string.</p>
+
+
+
+<h3><a name="sec18" id="sec18"></a>
+Sorting the <code>.bib</code> file</h3>
+
+<p><a name="sorting-bib-file" id="sorting-bib-file"></a>
+By default, the entries in the database are saved to the <code>.bib</code> file in
+alphabetical order according to entry key. If you only deal with the <code>.bib</code>
+file through Ebib, you may not care in which order the entries are
+saved. However, it may sometimes be desirable to be able to specify the
+sort order of entries in more detail. (Apparently, this can be useful with
+ConTeXt, for example.)</p>
+
+<p>You can specify a sort order in Ebib's customisation buffer. To sort the
+entries, you must set at least one sort level (that is, a field to sort the
+entries on). You can also specify more than one sort level: if two entries
+have identical values for the first sort level, they will be sorted on the
+second sort level. E.g., if the first sort level is <code>author</code> and the second
+is <code>year</code>, then the entries are sorted by author, and those entries that have
+identical values for the <code>author</code> field are sorted by year.</p>
+
+<p>A sort level is not restricted to a single field. You can specify more
+fields for a single sort level. Within a single sort level, a second sort
+field is used if the first sort field does not have a value. For example,
+books that have an editor instead of an author will have an empty <code>author</code>
+field. If you sort the database on the <code>author</code> field, such entries will all
+appear at the beginning of the <code>.bib</code> file, which is most likely not what you
+want.</p>
+
+<p>To remedy this, you can specify both the <code>author</code> and the <code>editor</code> fields for
+the first sort level. Ebib will then sort an entry on its <code>author</code> field if
+it has a value, and will otherwise use the value of the <code>editor</code> field.</p>
+
+<p>The difference between two sort fields within one sort level and two sort
+levels is that a second sort <em>field</em> is an alternative for the first field
+when it has no value, while a second sort <em>level</em> is an additional sort
+criterion when two or more entries cannot be sorted on the first level,
+because they have identical values.</p>
+
+<p>By default, the option <code>Sort Order</code> has no value, which means that the
+entries in the <code>.bib</code> file are sorted according to entry key. Those that wish
+to customise the sort order will usually want to set the first sort level
+to <code>author editor</code>, and the second to <code>year</code>. In that way, the entries in the
+<code>.bib</code> file are sorted according to author/editor, and entries with the same
+author/editor are sorted by year.</p>
+
+<p>Entries that cannot be sorted on some sort level, because the sort fields
+are empty, are sorted on entry key. (Keep in mind that if the first sort
+level yields <em>no value</em> for a specific entry, Ebib does <em>not</em> use the second
+sort level to sort that entry. It uses the entry key. The second sort level
+is only used if the first yields <em>identical</em> values for two or more entries.)</p>
+
+<p>Note that if you have set the option <code>Save Xrefs First</code> (see
+<a href="#cross-referencing">Cross-referencing</a>), it is pointless to set a sort order. Saving
+cross-referencing entries first messes up any sort order, so Ebib simply
+ignores the sort order if <code>Save Xrefs First</code> is set.</p>
+
+
+
+<h3><a name="sec19" id="sec19"></a>
+Merging and Importing</h3>
+
+<p class="first">As described in the previous chapter, adding entries to a database can be
+done manually with the key <code>a</code>. There are other ways of adding entries to a
+database, however.</p>
+
+<p>With the command <code>M</code> you can merge a second <code>.bib</code> file into your current
+database. When you hit <code>M</code>, you are asked for a filename. Ebib then reads the
+entries in this file and adds them to the database. Duplicate entries (that
+is, entries with an entry key that already exists in the database) will not
+be loaded. Ebib logs a warning about each duplicate entry to its log
+buffer, and displays a warning after loading the <code>.bib</code> file when this
+happens.</p>
+
+<p>Another way to add entries to a database is to import them from an Emacs
+buffer. If, for example, you find ready-formatted BibTeX entries in a text
+file or e.g. on the internet, you can copy &amp; paste them to any Emacs buffer
+(e.g. the <code>*scratch*</code> buffer), and then execute the command <code>M-x
+ebib-import</code>. Ebib then goes through the buffer and loads all BibTeX entries
+it finds into the current database (i.e. the database that was active when
+you lowered Ebib). If you call <code>ebib-import</code> while the region is active, Ebib
+only reads the BibTeX entries in the region.</p>
+
+
+
+<h3><a name="sec20" id="sec20"></a>
+Exporting Entries</h3>
+
+<p class="first">Sometimes it can be useful to copy entries from one database to another, or
+to create a new <code>.bib</code> file with several entries from an existing
+database. For this purpose, Ebib provides exporting facilities. To export
+an entry to a <code>.bib</code> file, use the command <code>x</code>. Ebib will ask you for a
+filename to export the entry to. (If you have already exported an entry
+before, Ebib will present the filename you used as default, but you can of
+course change it.)</p>
+
+<p>For obvious reasons, Ebib appends the entry to the file that you enter if
+it already exists, it does not overwrite the file. If this is not what you
+want, delete the file first, as Ebib provides no way to do this.</p>
+
+<p>If you have more than one database open in Ebib, it is also possible to
+copy entries from one database to another. To do this, use the <code>x</code> command
+with a numeric prefix argument. E.g., if the database you want to export an
+entry to is the second database, type <code>M-2 x</code> to export the current entry to
+it. The number of the database is given in the modeline of the index
+buffer.</p>
+
+<p>If the database you're copying an entry to already contains an entry with
+the same entry key, Ebib won't copy the entry, and issues an appropriate
+warning message.</p>
+
+<p>Note that the command <code>x</code> can operate on marked entries. So to export several
+entries in one go mark them and type <code>; x</code>. You can use a prefix argument in
+the normal way: <code>M-2 ; x</code> exports the marked entries to database 2.</p>
+
+<p>Apart from entries, it is also possible to export the <code>@preamble</code> and <code>@string</code>
+definitions. The <code>@preamble</code> definition is exported with the command <code>X</code> in the
+index buffer. <code>@string</code> definitions can be exported in the strings buffer: <code>x</code>
+in this buffer exports the current string, while <code>X</code> exports all <code>@string</code>
+definitions in one go. All these commands function in the same way: when
+used without a prefix argument, they ask for a filename, and then append
+the relevent data to that file. With a numeric prefix argument, they copy
+the relevant data to the corresponding open database.</p>
+
+
+
+<h3><a name="sec21" id="sec21"></a>
+Timestamps</h3>
+
+<p><a name="timestamps" id="timestamps"></a>
+Ebib provides the possibility to add a timestamp to every new entry,
+recording the time it was added to the database. The timestamp is recorded
+in the (additional) field <code>timestamp</code>. (By default, this field is not shown,
+but you can make it visible by pressing <code>H</code> in the index buffer.)</p>
+
+<p>You can tell Ebib to create timestamps by setting the option <code>Use Timestamp</code>
+in Ebib's customisation buffer. With this option set, a timestamp is
+included in entries added to the database with <code>a</code>. Ebib will also add a
+timestamp to entries imported from a buffer or merged from a file, and to
+entries exported to another database or to a file. When importing or
+exporting entries, existing timestamps will be overwritten. The logic
+behind this is that the timestamp records the date and time when the entry
+was added to the database, not when it was first created.</p>
+
+<p>Note that if this option is unset, the timestamp of an entry is retained
+when it's imported or exported. Therefore, if you record timestamps and
+want to im-/export entries without changing their timestamps, temporarily
+unset this option.</p>
+
+<p>Ebib uses the function <code>format-time-string</code> to create the timestamp. The
+format string that Ebib uses can be customised in Ebib's customisation
+buffer. The default string is <code>&quot;%a %b %e %T %Y&quot;</code>, which produces a timestamp
+of the form <code>&quot;Mon Mar 12 01:03:26 2007&quot;</code>. Obviously, this string is not
+suited for sorting, so if you want to be able to sort on timestamps, you'll
+need to customise the format string. See the documentation for
+<code>format-time-string</code> on the options that are available.</p>
+
+
+
+<h3><a name="sec22" id="sec22"></a>
+Multiple Identical Fields</h3>
+
+<p><a name="multiple-identical-fields" id="multiple-identical-fields"></a>
+Under normal circumstances, a BibTeX entry only contains one occurrence of
+each field. If BibTeX notices that an entry contains more than one
+occurrence of an obligatory or optional field, it issues a warning. Ebib is
+somewhat less gracious, it simply takes the value of the last occurrence
+without giving any warning. (Note, by the way, that BibTeX will use the
+value of the <em>first</em> occurrence, not the last.) When additional fields appear
+more than once in an entry, BibTeX does not warn you, since it ignores
+those fields anyway. Here, too, Ebib's standard behaviour is to ignore all
+but the last value.</p>
+
+<p>However, some online reference management services ``use'' this feature of
+BibTeX in that they put multiple <code>keywords</code> fields in the BibTeX entries that
+they produce. If you were to import such an entry into Ebib, you would lose
+all your keywords except the last one. To remedy this, you can tell Ebib
+that it should allow multiple occurrences of a single field in a BibTeX
+entry. You can do this by setting the customisation option
+<a href="#allow-identical-fields">Allow Identical Fields</a>.</p>
+
+<p>With this option set, Ebib collapses the multiple occurrences into a single
+occurrence. All the values of the different occurrences are collected and
+stored in the single occurrence, separated by semicolons. That is, Ebib
+does not retain the multiple occurrences, but it does retain the values. So
+suppose you have an entry that contains the following <code>keywords</code> fields:</p>
+
+<pre class="example">
+@book{jones1998,
+ author = {Jones, Joan},
+ year = {1998},
+ ...
+ keywords = {sleep},
+ keywords = {winter},
+ keywords = {hybernation}
+}
+</pre>
+
+<p>If you load this entry into Ebib with the option <code>Allow Identical Fields</code>
+set, you will get the following:</p>
+
+<pre class="example">
+@book{jones1998,
+ author = {Jones, Joan},
+ year = {1998},
+ ...
+ keywords = {sleep; winter; hybernation}
+}
+</pre>
+
+
+
+<h3><a name="sec23" id="sec23"></a>
+Virtual Databases</h3>
+
+<p><a name="virtual-databases" id="virtual-databases"></a>
+In the previous chapter, Ebib's basic search functionality was
+discussed. (See <a href="#searching">Searching</a>.) Ebib also provides a much more sophisticated
+search and filtering mechanism in the form of <em>virtual databases</em>.</p>
+
+<p>A virtual database is a database that is not associated with any <code>.bib</code>
+file. Rather, it is created from another database by selecting entries from
+it based on a specific search pattern, called a <em>filter</em>. This allows you,
+for example, to select all entries from a database that contain the string
+``Jones'' in their <code>author</code> field. A filter can be as complex as you want:
+you can select all entries that do <em>not</em> contain ``Jones'' in the <code>author</code>
+field, or all entries that contain ``Jones'' in either the <code>author</code> or the
+<code>editor</code> field, or all entries that contain ``Jones'' in the <code>author</code> field,
+and ``symbiotic hybernation'' in the <code>keyword</code> field, etc. Basically, the
+filter can consist of an arbitray number of search criteria combined with
+the logical operators <code>and, or</code> and <code>not</code>.</p>
+
+
+<h4>Simple Selection</h4>
+
+<p class="first">Creating a virtual database is simple: press <code>&amp;</code>, and Ebib will ask you for a
+field to select on, and for a regular expression to select with. So if you
+want to select all entries that contain ``Jones'' in the <code>author</code> field, you
+press <code>&amp;</code> and type <code>author</code> as the field and <code>Jones</code> as the regexp to filter on.</p>
+
+<p>Ebib will then create a virtual database containing the entries matching
+your selection criterion. A virtual database has the same name as the
+database it is based on, prepended with <code>V:</code>. It also has a number like any
+other database, and you can move back and forth to other databases with the
+number or cursor keys.</p>
+
+<p>If you don't want to filter on one specific field but rather want to select
+all entries that match a certain regexp in any field, you can type <code>any</code> as
+the field to filter on. So specifying <code>any</code> as the field and <code>Jones</code> as the
+regexp, the virtual database will select all entries that have a field that
+contains ``Jones'' in them.</p>
+
+
+
+<h4>Complex Filters</h4>
+
+<p class="first">Once you have a virtual database, it remains associated with the database
+it was created from. This means that you can refine or extend the selection
+(i.e. the filter) that the virtual database is based on. If, in the current
+example, you want to include all the entries that have ``Jones'' in the
+<code>editor</code> field, you have to perform a logical <code>or</code> operation: you want to
+select an entry if it contains ``Jones'' in the <code>author</code> field (which you
+already did) <em>or</em> if it contains ``Jones'' in the <code>editor</code> field.</p>
+
+<p>A short sidenote: the first impulse in a case like this might be to use <code>and</code>
+instead of <code>or</code>: after all, you want to select all entries that contain
+``Jones'' in the <code>author</code> field <em>and</em> all entries that contain ``Jones'' in the
+<code>editor</code> field. However, the filter that you build up is used to test each
+entry <em>individually</em> whether it meets the selection criterion. An entry meets
+the criterion if it contains ``Jones'' in the <code>author</code> field <em>or</em> if it
+contains ``Jones'' in the <code>editor</code> field. Therefore, <code>or</code> is the required
+operator in this case. If you would use <code>and</code>, you would only get those
+entries that contain ``Jones'' in both the <code>author</code> <em>and</em> <code>editor</code> fields.</p>
+
+<p>To perform a logical <code>or</code> operation, press the key <code>|</code>. As before, you will be
+asked which field you want to filter on, and which regexp you want to
+filter with. Ebib will then update the virtual database with all entries in
+the original database that match the additional criterion.</p>
+
+<p>It is also possible to perform a logical <code>and</code> on the virtual database. Use
+this if you want to select those entries that contain ``Jones'' in the
+<code>author</code> field and e.g. ``symbiotic hybernation'' in the <code>keyword</code> field. A
+logical <code>and</code> operation is done with the key <code>&amp;</code>. (Note: this is the same key
+that is used to create a virtual database. In fact, you can also create a
+virtual database with <code>|</code>: when used in a normal database, <code>&amp;</code> and <code>|</code> are
+equivalent. They are only different in virtual databases.)</p>
+
+<p>Both the <code>&amp;</code> and <code>|</code> commands can be used with the negative prefix argument <code>M--</code>
+(or <code>C-u -</code>, which is identical). In this case, the search criterion is
+negated. That is, the negative prefix argument performs a logical <code>not</code>
+operation on the search criterion.</p>
+
+<p>That is, if you want to select all entries from a database that do <em>not</em>
+contain ``Jones'' in the <code>author</code> field, you can do this by typing <code>M-- &amp;</code> and
+then filling out the relevant field and regexp. This prefix argument is
+available both in real and in virtual databases.</p>
+
+<p>There is another way of performing a logical <code>not</code> operation, which is only
+available in virtual databases: by pressing the key <code>~</code>, you invert the
+current filter. That is, if you have a virtual database with all the
+entries containing ``Jones'' in the <code>author</code> or in the <code>editor</code> field, and you
+press <code>~</code>, the selection is inverted, and now contains all entries that do
+<em>not</em> have ``Jones'' in the <code>author</code> or <code>editor</code> field.</p>
+
+<p>Although <code>~</code> and the negative prefix argument to <code>&amp;</code> or <code>|</code> both perform logical
+<code>not</code> operations, they are <em>not</em> equivalent: <code>~</code> negates the entire filter built
+up so far, while the negative prefix argument only negates the single
+selection criterion you enter with it.</p>
+
+<p>If you want to know what the filter for the current virtual database is
+exactly, you can type <code>V</code>. This command displays the current filter in the
+minibuffer. The filter is specified as a Lisp expression, meaning that the
+operators appear before their operands, not in between them. That is, <code>x and
+y</code> is written as <code>(and x y)</code>.</p>
+
+<p>With a prefix argument (any prefix argument will do), the command <code>V</code> not
+only displays the current filter, but also reapplies it. This can be useful
+when you've made changes to the source database: Ebib does not
+automatically update a virtual database when its source database is
+modified.</p>
+
+
+
+<h4>Properties of Virtual Databases</h4>
+
+<p class="first">Virtual databases differ from normal databases in several ways. First, they
+cannot be modified: you cannot add or delete entries, and you cannot modify
+the contents of fields. It is also not possible to import entries to them
+or merge another file with them. Furthermore, it is not possible to export
+entries to them or from them.</p>
+
+<p>A virtual database cannot be saved in the normal way with <code>s</code>, and the
+command <code>S</code> to save all databases ignores virtual databases. If you want to
+save a virtual database, you can use the command <code>w</code>. This command not only
+saves the virtual database, it also changes it into a normal database, and
+detaches it from its original source database, so that you can modify it
+without affecting the source database.</p>
+
+<p>The command <code>L</code> also doesn't work with virtual databases. The reason for this
+is that the virtual database is not associated with an actual <code>.bib</code> file, so
+there is no file to create a list of references from. However, it is
+possible to use the command <code>P</code> with a virtual database to create a list of
+entries. See <a href="#printing-database">Printing the Database</a>, for details on these two commands.</p>
+
+
+
+
+<h3><a name="sec24" id="sec24"></a>
+The Multiline Edit Buffer</h3>
+
+<p><a name="multiline-edit-buffer" id="multiline-edit-buffer"></a>
+As mentioned several times before, Ebib has a special multiline edit
+buffer, which is used to edit field values that contain newlines (so-called
+<em>multiline fields</em>), and also to edit the contents of the <code>@preamble</code>
+command. This section discusses the details of this buffer.</p>
+
+<p>Ebib enters multiline edit mode in one of three cases: when you press <code>P</code> in
+the index buffer, to edit the <code>@preamble</code> definition, when you hit <code>l</code> in the
+entry buffer to edit the current field as multiline, or when you hit <code>e</code> on
+the <code>annote</code> field, or on a field whose value already is multiline.</p>
+
+<p>The multiline edit buffer uses a special major mode,
+<code>ebib-multiline-edit-mode</code>, which is derived from <code>text-mode</code>. The changes with
+respect to <code>text-mode</code> are minor (see below), which means that any
+customisations you may have made to <code>text-mode</code> will be available in the
+multiline edit buffer.</p>
+
+<p>The settings that are specific for <code>ebib-multiline-edit-mode</code> are the
+functions assigned to the key sequences <code>C-x b</code>, <code>C-x k</code> and <code>C-x C-s</code>. These key
+sequences do not have their usual functions, but rather are redefined to
+fit Ebib. Both <code>C-x b</code> and <code>C-x k</code> can be used to leave the multiline edit
+buffer. <code>C-x b</code> will store the text as it is to the database, while <code>C-x k</code>
+leaves the multiline edit buffer <em>without</em> storing the text, i.e., the
+original value of the field or preamble that you were editing is
+retained. If the text in the buffer was modified, <code>C-x k</code> asks you if you
+really want to abandon your changes.</p>
+
+<p>If you leave the multitiline edit buffer with <code>C-x b</code> when the buffer is
+empty (i.e., you deleted all the text, including the final newline), and
+you were editing a field value or the <code>@preamble</code> definition, the field value
+or preambleis deleted. (This is in fact the <em>only</em> way to delete the
+<code>@preamble</code> definition. Field values on the other hand can also be deleted by
+hitting <code>x</code> or <code>d</code> on them in the entry buffer.)</p>
+
+<p>The third command that is redefined in the multiline edit buffer is <code>C-x
+C-s</code>. This command can be used to save the database. Because Ebib does not
+do an autosave of the current database, it is advisable to save the
+database manually every now and then to prevent data loss in case of
+crashes. It would be annoying to have to leave the multiline edit buffer
+every time you want to do this, so <code>C-x C-s</code> has been redefined to allow you
+to do this from within the buffer.</p>
+
+
+
+
+<h2><a name="sec25" id="sec25"></a>
+The Ebib Buffers</h2>
+
+<p><a name="ebib-buffers" id="ebib-buffers"></a>
+This chapter lists all the key commands that exist in Ebib, with a short
+description and the actual command that they call. The latter information
+is needed if you want to customise Ebib's key bindings. (See
+<a href="#modifying-key-bindings">Modifying Key Bindings</a>.)</p>
+
+
+
+<h3><a name="sec26" id="sec26"></a>
+The Index Buffer</h3>
+
+<dl>
+<dt><strong><code>Up</code></strong></dt>
+<dd>go to previous entry. <code>(ebib-prev-entry)</code></dd>
+
+<dt><strong><code>Down</code></strong></dt>
+<dd>go to next entry. <code>(ebib-next-entry)</code></dd>
+
+<dt><strong><code>Right</code></strong></dt>
+<dd>move to the next database. <code>(ebib-next-database)</code></dd>
+
+<dt><strong><code>Left</code></strong></dt>
+<dd>move to the previous database. <code>(ebib-prev-database)</code></dd>
+
+<dt><strong><code>PgUp</code></strong></dt>
+<dd>scroll the index buffer down. <code>(ebib-index-scroll-down)</code></dd>
+
+<dt><strong><code>PgDn</code></strong></dt>
+<dd>scroll the index buffer up. <code>(ebib-index-scroll-up)</code></dd>
+
+<dt><strong><code>Home</code></strong></dt>
+<dd>go to first entry. <code>(ebib-goto-first-entry)</code></dd>
+
+<dt><strong><code>End</code></strong></dt>
+<dd>go to last entry. <code>(ebib-goto-last-entry)</code></dd>
+
+<dt><strong><code>Return</code></strong></dt>
+<dd>make the entry under the cursor current. Use after e.g. <code>C-s</code>.
+<code>(ebib-select-entry)</code></dd>
+
+<dt><strong><code>Space</code></strong></dt>
+<dd>equivalent to <code>PgDn</code>.</dd>
+
+<dt><strong><code>1-9</code></strong></dt>
+<dd>jump to the corresponding database.</dd>
+
+<dt><strong><code>/</code></strong></dt>
+<dd>search the database. <code>(ebib-search)</code></dd>
+
+<dt><strong><code>&amp;</code></strong></dt>
+<dd>Create a virtual database, or perform a logical <code>and</code> on the current
+virtual database. With negative prefix argument: apply a logical <code>not</code> to the
+selectional criterion. <code>(ebib-virtual-db-and)</code></dd>
+
+<dt><strong><code>|</code></strong></dt>
+<dd>Create a virtual database, or perform a logical <code>or</code> on the current
+virtual database. With negative prefix argument: apply a logical <code>not</code> to the
+selectional criterion. <code>(ebib-virtual-db-or)</code></dd>
+
+<dt><strong><code>~</code></strong></dt>
+<dd>Perform a logical <code>not</code> on the current virtual
+database. <code>(ebib-virtual-db-not)</code></dd>
+
+<dt><strong><code>a</code></strong></dt>
+<dd>add an entry. <code>(ebib-add-entry)</code></dd>
+
+<dt><strong><code>b</code></strong></dt>
+<dd>equivalent to <code>Pgup</code>.</dd>
+
+<dt><strong><code>c</code></strong></dt>
+<dd>close the database. <code>(ebib-close-database)</code></dd>
+
+<dt><strong><code>C</code></strong></dt>
+<dd>customise Ebib. <code>(ebib-customize)</code></dd>
+
+<dt><strong><code>d</code></strong></dt>
+<dd>delete the current entry. <code>(ebib-delete-entry)</code></dd>
+
+<dt><strong><code>; d</code></strong></dt>
+<dd>delete all marked entries.</dd>
+
+<dt><strong><code>e</code></strong></dt>
+<dd>edit the current entry. <code>(ebib-edit-entry)</code></dd>
+
+<dt><strong><code>E</code></strong></dt>
+<dd>edit the key of the current entry. <code>(ebib-edit-keyname)</code></dd>
+
+<dt><strong><code>f</code></strong></dt>
+<dd>extract a filename from the <code>file</code> field and send it to an
+appropriate viewer. With numeric prefix argument, extract the <em>n</em>-th
+filename.</dd>
+
+<dt><strong><code>F</code></strong></dt>
+<dd>follow <code>crossref</code> field. <code>(ebib-follow-crossref)</code></dd>
+
+<dt><strong><code>g</code></strong></dt>
+<dd>equivalent to <code>Home</code>.</dd>
+
+<dt><strong><code>G</code></strong></dt>
+<dd>equivalent to <code>End</code>.</dd>
+
+<dt><strong><code>H</code></strong></dt>
+<dd>show/hide hidden fields. <code>(ebib-toggle-hidden)</code></dd>
+
+<dt><strong><code>j</code></strong></dt>
+<dd>equivalent to <code>Down</code>.</dd>
+
+<dt><strong><code>J</code></strong></dt>
+<dd>jump to another database. This accepts a numeric prefix argument,
+but will ask you for a database number if there is
+none. <code>(ebib-switch-to-database)</code></dd>
+
+<dt><strong><code>k</code></strong></dt>
+<dd>equivalent to <code>Up</code>.</dd>
+
+<dt><strong><code>l</code></strong></dt>
+<dd>show the log buffer. (<code>ebib-show-log</code>)</dd>
+
+<dt><strong><code>L</code></strong></dt>
+<dd>create a LaTeX file from the current database that produces a list
+of references formatted by BibTeX. <code>(ebib-latex-database)</code></dd>
+
+<dt><strong><code>; L</code></strong></dt>
+<dd>create a LaTeX file with the marked entries only.</dd>
+
+<dt><strong><code>m</code></strong></dt>
+<dd>mark (or unmark) the current entry. <code>(ebib-mark-entry)</code></dd>
+
+<dt><strong><code>; m</code></strong></dt>
+<dd>unmark all marked entries.</dd>
+
+<dt><strong><code>M</code></strong></dt>
+<dd>merge a <code>.bib</code> file. <code>(ebib-merge-bibtex-file)</code></dd>
+
+<dt><strong><code>n</code></strong></dt>
+<dd>find next occurrence of the search string. <code>(ebib-search-next)</code></dd>
+
+<dt><strong><code>N</code></strong></dt>
+<dd>search for entries cross-referencing the current one. <code>(ebib-search-crossref)</code></dd>
+
+<dt><strong><code>C-n</code></strong></dt>
+<dd>equivalent to <code>Down</code>.</dd>
+
+<dt><strong><code>M-n</code></strong></dt>
+<dd>equivalent to <code>PgDn</code>.</dd>
+
+<dt><strong><code>o</code></strong></dt>
+<dd>open a <code>.bib</code> file. <code>(ebib-load-bibtex-file)</code></dd>
+
+<dt><strong><code>p</code></strong></dt>
+<dd>push an entry to a LaTeX buffer <code>(ebib-push-bibtex-key)</code></dd>
+
+<dt><strong><code>; p</code></strong></dt>
+<dd>push the marked entries to a LaTeX buffer.</dd>
+
+<dt><strong><code>C-p</code></strong></dt>
+<dd>equivalent to <code>Up</code>.</dd>
+
+<dt><strong><code>M-p</code></strong></dt>
+<dd>equivalent to <code>PgUp</code>.</dd>
+
+<dt><strong><code>P</code></strong></dt>
+<dd>create a LaTeX file for printing the database, listing the entire
+contents of each entry. <code>(ebib-print-database)</code></dd>
+
+<dt><strong><code>; P</code></strong></dt>
+<dd>create a LaTeX file with the marked entries.</dd>
+
+<dt><strong><code>r</code></strong></dt>
+<dd>show and edit the <code>@preamble</code> definition in the
+database. <code>(ebib-edit-preamble)</code></dd>
+
+<dt><strong><code>q</code></strong></dt>
+<dd>quit Ebib. This sets all variables to nil, unloads the database(s)
+and quits Ebib. <code>(ebib-quit)</code></dd>
+
+<dt><strong><code>s</code></strong></dt>
+<dd>save the database. <code>(ebib-save-current-database)</code></dd>
+
+<dt><strong><code>S</code></strong></dt>
+<dd>save all modified databases. <code>(ebib-save-all-databases)</code></dd>
+
+<dt><strong><code>t</code></strong></dt>
+<dd>show and edit the <code>@string</code> definitions in the
+database. <code>(ebib-edit-strings)</code></dd>
+
+<dt><strong><code>u</code></strong></dt>
+<dd>extract a URL from the <code>url</code> field and send it to a browser. With
+numeric prefix argument, extract the <em>n</em>-th url.</dd>
+
+<dt><strong><code>V</code></strong></dt>
+<dd>Display the filter of the current virtual database in the
+minibuffer. With prefix argument: reapply the filter. <code>(ebib-print-filter)</code></dd>
+
+<dt><strong><code>w</code></strong></dt>
+<dd>write the database to a different file. <code>(ebib-write-database)</code></dd>
+
+<dt><strong><code>x</code></strong></dt>
+<dd>export the current entry to a file, or, when used with numeric
+prefix argument, to another database. <code>(ebib-export-entry)</code></dd>
+
+<dt><strong><code>; x</code></strong></dt>
+<dd>export the marked entries to a file, or, when used with a numeric
+prefix argument, to another database.</dd>
+
+<dt><strong><code>C-x b</code></strong></dt>
+<dd>equivalent to <code>z</code>.</dd>
+
+<dt><strong><code>C-x k</code></strong></dt>
+<dd>equivalent to <code>q</code>.</dd>
+
+<dt><strong><code>X</code></strong></dt>
+<dd>export the <code>@preamble</code> definition to a file or, when used with a
+numeric prefix argument, to another database. <code>(ebib-export-preamble)</code></dd>
+
+<dt><strong><code>z</code></strong></dt>
+<dd>move focus away from the Ebib windows. <code>(ebib-leave-ebib-windows)</code></dd>
+
+<dt><strong><code>Z</code></strong></dt>
+<dd>put Ebib in the background. <code>(ebib-lower)</code></dd>
+</dl>
+
+<p>One function is not bound to any key: <code>ebib-print-filename</code>.</p>
+
+
+<h3><a name="sec27" id="sec27"></a>
+The Entry Buffer</h3>
+
+<dl>
+<dt><strong><code>Up</code></strong></dt>
+<dd>go to the previous field. <code>(ebib-prev-field)</code></dd>
+
+<dt><strong><code>Down</code></strong></dt>
+<dd>go to the next field. <code>(ebib-next-field)</code></dd>
+
+<dt><strong><code>PgUp</code></strong></dt>
+<dd>go to the previous set of fields. <code>(ebib-goto-prev-set)</code></dd>
+
+<dt><strong><code>PgDn</code></strong></dt>
+<dd>go to the next set of fields. <code>(ebib-goto-next-set)</code></dd>
+
+<dt><strong><code>Home</code></strong></dt>
+<dd>go to the first field. <code>(ebib-goto-first-field)</code></dd>
+
+<dt><strong><code>End</code></strong></dt>
+<dd>go to the last field. <code>(ebib-goto-last-field)</code></dd>
+
+<dt><strong><code>Space</code></strong></dt>
+<dd>equivalent to <code>PgDn</code>.</dd>
+
+<dt><strong><code>b</code></strong></dt>
+<dd>equivalent to <code>PgUp</code>.</dd>
+
+<dt><strong><code>c</code></strong></dt>
+<dd>copy the contents of the current field to the kill
+ring. <code>(ebib-copy-field-contents)</code></dd>
+
+<dt><strong><code>d</code></strong></dt>
+<dd>delete the value of the current field. The deleted contents will <em>not</em>
+be put in the kill ring, and is therefore irretrievably
+lost. <code>(ebib-delete-field-contents)</code></dd>
+
+<dt><strong><code>e</code></strong></dt>
+<dd>edit the current field. <code>(ebib-edit-fields)</code></dd>
+
+<dt><strong><code>f</code></strong></dt>
+<dd>extract a filename from the current field and send it to an
+appropriate viewer. With numeric prefix argument, extract the <em>n</em>-th
+filename.</dd>
+
+<dt><strong><code>g</code></strong></dt>
+<dd>equivalent to <code>Home</code>.</dd>
+
+<dt><strong><code>G</code></strong></dt>
+<dd>equivalent to <code>End</code>.</dd>
+
+<dt><strong><code>j</code></strong></dt>
+<dd>go to the next field. <code>(ebib-next-field)</code></dd>
+
+<dt><strong><code>k</code></strong></dt>
+<dd>go to the previous field. <code>(ebib-prev-field)</code></dd>
+
+<dt><strong><code>l</code></strong></dt>
+<dd>edit the current field as multiline. <code>(ebib-edit-multiline-field)</code></dd>
+
+<dt><strong><code>C-n</code></strong></dt>
+<dd>equivalent to <code>Down</code>.</dd>
+
+<dt><strong><code>M-n</code></strong></dt>
+<dd>equivalent to <code>PgDn</code>.</dd>
+
+<dt><strong><code>C-p</code></strong></dt>
+<dd>equivalent to <code>Up</code>.</dd>
+
+<dt><strong><code>M-p</code></strong></dt>
+<dd>equivalent to <code>PgUp</code>.</dd>
+
+<dt><strong><code>q</code></strong></dt>
+<dd>quit editing the current entry and return focus to the index
+buffer. <code>(ebib-quit-entry-buffer)</code></dd>
+
+<dt><strong><code>r</code></strong></dt>
+<dd>toggle a field's ``raw'' status. <code>(ebib-toggle-raw)</code></dd>
+
+<dt><strong><code>s</code></strong></dt>
+<dd>insert an abbreviation from the <code>@string</code> definitions in the
+database. <code>(ebib-insert-abbreviation)</code></dd>
+
+<dt><strong><code>u</code></strong></dt>
+<dd>extract a URL from the current field and send it to a browser. With
+numeric prefix argument, extract the <em>n</em>-th url.</dd>
+
+<dt><strong><code>x</code></strong></dt>
+<dd>cut the contents of the current field. Like <code>c</code>, <code>x</code> puts the contents
+of the current field in the kill ring. <code>(ebib-cut-field-contents)</code></dd>
+
+<dt><strong><code>y</code></strong></dt>
+<dd>yank the last element in the kill ring to the current
+field. Repeated use of <code>y</code> functions like <code>C-y/M-y</code>. Note that no text will be
+yanked if the field already has a value. <code>(ebib-yank-field-contents)</code></dd>
+</dl>
+
+
+
+<h3><a name="sec28" id="sec28"></a>
+The Strings Buffer</h3>
+
+<dl>
+<dt><strong><code>Up</code></strong></dt>
+<dd>go to the previous string. <code>(ebib-prev-string)</code></dd>
+
+<dt><strong><code>Down</code></strong></dt>
+<dd>go to the next string. <code>(ebib-next-string)</code></dd>
+
+<dt><strong><code>PgUp</code></strong></dt>
+<dd>go ten strings up. <code>(ebib-strings-page-up)</code></dd>
+
+<dt><strong><code>PgDn</code></strong></dt>
+<dd>go ten strings down. <code>(ebib-strings-page-down)</code></dd>
+
+<dt><strong><code>Home</code></strong></dt>
+<dd>go to the first string. <code>(ebib-goto-first-string)</code></dd>
+
+<dt><strong><code>End</code></strong></dt>
+<dd>go to the last string. <code>(ebib-goto-last-string)</code></dd>
+
+<dt><strong><code>Space</code></strong></dt>
+<dd>equivalent to <code>PgDn</code>.</dd>
+
+<dt><strong><code>a</code></strong></dt>
+<dd>add a new <code>@string</code> definition. <code>(ebib-add-string)</code></dd>
+
+<dt><strong><code>b</code></strong></dt>
+<dd>equivalent to <code>PgUp</code>.</dd>
+
+<dt><strong><code>c</code></strong></dt>
+<dd>copy the text of the current string to the kill
+ring. <code>(ebib-copy-string-contents)</code></dd>
+
+<dt><strong><code>d</code></strong></dt>
+<dd>delete the current <code>@string</code> definition from the database. You will be
+asked for confirmation. <code>(ebib-delete-string)</code></dd>
+
+<dt><strong><code>e</code></strong></dt>
+<dd>edit the value of the current string. <code>(ebib-edit-string)</code></dd>
+
+<dt><strong><code>g</code></strong></dt>
+<dd>equivalent to <code>Home</code>.</dd>
+
+<dt><strong><code>G</code></strong></dt>
+<dd>equivalent to <code>End</code>.</dd>
+
+<dt><strong><code>j</code></strong></dt>
+<dd>equivalent to <code>Down</code>.</dd>
+
+<dt><strong><code>k</code></strong></dt>
+<dd>equivalent to <code>Up</code>.</dd>
+
+<dt><strong><code>l</code></strong></dt>
+<dd>edit the value of the current string as
+multiline. <code>(ebib-edit-multiline-string)</code></dd>
+
+<dt><strong><code>C-n</code></strong></dt>
+<dd>equivalent to <code>Down</code>.</dd>
+
+<dt><strong><code>M-n</code></strong></dt>
+<dd>equivalent to <code>PgDn</code>.</dd>
+
+<dt><strong><code>C-p</code></strong></dt>
+<dd>equivalent to <code>Up</code>.</dd>
+
+<dt><strong><code>M-p</code></strong></dt>
+<dd>equivalent to <code>PgUp</code>.</dd>
+
+<dt><strong><code>q</code></strong></dt>
+<dd>quit the strings buffer and return focus to the index
+buffer. <code>(ebib-quit-strings-buffer)</code></dd>
+
+<dt><strong><code>x</code></strong></dt>
+<dd>export the current <code>@string</code> definition to a file or, when used with a
+prefix argument, to another database. <code>(ebib-export-string)</code></dd>
+
+<dt><strong><code>X</code></strong></dt>
+<dd>export all the <code>@string</code> definitions to a file or, when used with a
+prefix argument, to another database. <code>(ebib-export-all-strings)</code></dd>
+</dl>
+
+
+
+
+<h2><a name="sec29" id="sec29"></a>
+Customisation</h2>
+
+<p><a name="customisation" id="customisation"></a>
+Ebib can be customised through Emacs' standard customisation interface. The
+only thing that cannot be customised in this way are the key bindings. If
+you wish to customise those, you have to use the file <code>~/.ebibrc</code>.</p>
+
+
+<h3><a name="sec30" id="sec30"></a>
+The Customisation Buffer</h3>
+
+<p><a name="customisation-buffer" id="customisation-buffer"></a>
+Ebib's customisation group is a subgroup of the <code>Tex</code> group. It can be
+invoked by typing <code>M-x customize-group RET ebib RET</code>, or by pressing <code>C</code> in
+the index buffer. This chapter gives a short description of all the options
+available in the customisation buffer.</p>
+
+
+<h4>Default Type</h4>
+
+<p class="first">The default type is the default entry type given to a new entry. Every
+entry in the Ebib database must have a type, because the type defines which
+fields are available. When a new entry is created, Ebib gives it a default
+type, which can be customised through this option. The standard value is
+<code>article</code>.</p>
+
+
+
+<h4>Preload Bib Files</h4>
+
+<p><a name="preload-bib-files" id="preload-bib-files"></a>
+This option allows you to specify which file(s) Ebib is to load when it
+starts up. Specify one file per line, press the <code>INS</code> button to add more
+files. You can complete a partial filename with <code>M-TAB</code>.</p>
+
+
+
+<h4>Additional Fields</h4>
+
+<p><a name="additional-fields" id="additional-fields"></a>
+The additional fields are those fields that are available for all entry
+types, and which BibTeX generally ignores. This option allows you to
+specify which additional fields you wish to use in your database. Specify
+one field per line, press the <code>INS</code> button to add more fields.</p>
+
+<p>By default, the following additional fields are defined: <code>crossref, url,
+annote, abstract, keywords, file</code> and <code>timestamp</code>.</p>
+
+
+
+<h4>Layout</h4>
+
+<p><a name="layout" id="layout"></a>
+The default value of this option is <code>full</code>, which means that Ebib takes over
+the entire frame when it runs. Alternatively, you can select to specify a
+width (in characters) yourself, in which case Ebib takes up the right part
+of the frame, leaving the left part free. See <a href="#screen-layout">Screen Layout</a> for details.</p>
+
+
+
+
+<h4>Index Window Size</h4>
+
+<p class="first">This option lets you specify the size of the index window at the top of the
+Ebib screen. The default value is 10.</p>
+
+
+
+<h4>Index Display Fields</h4>
+
+<p><a name="index-display-fields" id="index-display-fields"></a>
+This option allows you to specify fields that should be displayed next to
+the entry key in the index buffer. By default, the index buffer only shows
+the key of each entry, but if this is too little information, you can use
+this option to display e.g. the title of each entry as well.</p>
+
+
+
+<h4>Insertion Commands</h4>
+
+<p><a name="insertion-commands" id="insertion-commands"></a>
+With the command <code>ebib-insert-bibtex-key</code> or with the command key <code>p</code> in the index
+buffer, you can insert a BibTeX key into a LaTeX buffer. This option allows you
+to define the commands that are available through tab completion when these
+functions ask for a citation command.</p>
+
+<p>The citation commands must be given <em>without</em> the leading backslash, as Ebib adds one.
+Furthermore, you need to specify how many optional arguments each command can
+have. When Ebib prompts you for a citation key, it will ask for as many optional
+arguments as you specify here. (If you don't want to be asked for those optional
+arguments, just fill in 0.)</p>
+
+<p>When Ebib prompts you for a citation command, the commands specified in this
+option can be obtained through tab completion. However, it is not necessary to
+fill in a command from this list here. You can also enter another command (in
+which case Ebib asks for exactly one optional argument) or even no command at
+all. In the latter case, Ebib does not ask for any optional arguments and simply
+puts the key in the buffer without adding a backslash or curly braces.</p>
+
+
+
+
+<h4>Sort Order</h4>
+
+<p class="first">The use of this option is explained above, see <a href="#sorting-bib-file">Sorting the .bib file</a>. To
+create a sort order, click the <code>INS</code> button to create a sort level, and then
+click the <code>INS</code> button under that sort level to enter a sort field. If you
+want to add more than one sort field to the sort level, simply hit <code>INS</code>
+again.</p>
+
+
+
+<h4>Save Xrefs First</h4>
+
+<p><a name="save-xrefs-first" id="save-xrefs-first"></a>
+For cross-referencing to work, the cross-referencing entries must appear in
+the <code>.bib</code> file <em>before</em> the cross-referenced entries. In order to tell Ebib to
+save all entries with a <code>crossref</code> field first, you must set the option <code>Save
+Xrefs First</code> in Ebib's customisation buffer. With this option set, BibTeX's
+crossreferencing options work as intended.</p>
+
+<p>By default, this option is unset, because it (marginally) slows down saving
+the <code>.bib</code> file somewhat.</p>
+
+
+
+<h4>Crossref Face</h4>
+
+<p><a name="crossref-face" id="crossref-face"></a>
+Field values inherited from a cross-referenced entry are marked with this
+face. By default, the face has red as foreground colour.</p>
+
+
+
+<h4>Marked Face</h4>
+
+<p><a name="marked-face" id="marked-face"></a>
+When entries are marked (with <code>m</code>), they are highlighted in this face. By
+default, GNU Emacs uses the text property <code>highlight</code>. XEmacs only allows
+this on terminals, therefore it displays marked entries with a red
+background and a white foreground colour. This option allows you to change
+these defaults.</p>
+
+
+
+<h4>Use Timestamp</h4>
+
+<p class="first">If this option is set, Ebib will add a <code>timestamp</code> field to every new entry,
+recording the date and time it was added to the database. See <a href="#timestamps">Timestamps</a>.</p>
+
+
+
+<h4>Timestamp Format</h4>
+
+<p class="first">This option specifies the format string that is used to create the
+timestamp. The format string is used by <code>format-time-string</code> to create a time
+representation. The default value is <code>&quot;%a %b %e %T %Y&quot;</code>, which produces a
+timestamp of the form <code>&quot;Mon Mar 12 01:03:26 2007&quot;</code>. See the documentation for
+<code>format-time-string</code> for the forms that the format string can take.</p>
+
+
+
+<h4>Standard Url Field</h4>
+
+<p><a name="standard-url-field" id="standard-url-field"></a>
+This is the field that Ebib searches for URLs if you press <code>u</code> in the index
+buffer. Its default value is <code>url</code>.</p>
+
+
+
+<h4>Url Regexp</h4>
+
+<p><a name="url-regexp" id="url-regexp"></a>
+This is the regular expression that Ebib uses to search for URLs in a
+field. The default value is:</p>
+
+<pre class="example">
+\\url{\(.*\)}\|https?://[^ '&lt;&gt;\&quot;\n\t\f]+
+</pre>
+
+<p>With this regular expression, Ebib considers everything that is in a LaTeX
+<code>\url{...}</code> command as a URL, and furthermore every string of
+text that starts with <code>http://</code> or <code>https://</code> and does not contain whitespace
+or one of the characters <code>' &quot; &lt;</code> or <code>&gt;</code>.</p>
+
+
+
+<h4>Browser Command</h4>
+
+<p><a name="browser-command" id="browser-command"></a>
+If this option is unset (which is the default), Ebib uses the Emacs
+function <code>browse-url</code> to start a browser. If this function does not exist,
+you can set this option. For example, if you use the Firefox browser, set
+this option to <code>firefox</code>.</p>
+
+<p>For this to work, the browser that you use must be able to handle a URL on
+the command line.</p>
+
+
+
+<h4>Standard File Field</h4>
+
+<p><a name="standard-file-field" id="standard-file-field"></a>
+This is the field that Ebib searches for filenames if you press <code>f</code> in the
+index buffer. Its default value is <code>file</code>.</p>
+
+
+
+<h4>File Associations</h4>
+
+<p><a name="file-associations" id="file-associations"></a>
+The programs used to view files. By default, programs for <code>.pdf</code> and <code>.ps</code>
+files are specified, which should be available on most linux systems. If
+you prefer other programs or are running on Windows, you'll can specify
+them here. Note that Ebib searches the PATH for the programs, but you can
+also specify full path names. Of course, it is also possible to add new
+associations.</p>
+
+<p>Note that GNU/Emacs 23 (as yet unreleased) comes with <code>doc-view-mode</code>, which
+provides a way to view <code>.pdf</code> and <code>.ps</code> files inside Emacs. (The files are
+converted to <code>.png</code> format first.) If you prefer to use this mode, simply
+leave the program field blank for the relevant file type.</p>
+
+
+
+<h4>File Regexp</h4>
+
+<p><a name="file-regexp" id="file-regexp"></a>
+In order to find files in a field, Ebib uses a regular expression. The
+default value is:</p>
+
+<pre class="example">
+ [^?|\:*&lt;&gt;\&quot; \n\t\f]+
+</pre>
+
+<p>This essentially means that every string of characters not containing any
+of the characters</p>
+
+<pre class="example">
+? | \ : * &lt; &gt; &quot;
+</pre>
+
+<p>or space, newline, tab of formfeed. URLs can easily by recognised by the
+prefix <code>http:</code>, but recognising files is not so straightforward. It is
+therefore not advisable to put anything but filenames in the <code>file</code> field.</p>
+
+
+
+<h4>File Search Dirs</h4>
+
+<p><a name="file-search-dirs" id="file-search-dirs"></a>
+This is the list of directories that Ebib searches for files. Note that
+searching is not recursive: only the files listed here are searched, not
+their subdirectories.</p>
+
+
+
+<h4>Print Preamble</h4>
+
+<p class="first">This option specifies the preamble that is to be added to the LaTeX file
+Ebib creates for printing the database (i.e., the <code>P</code> command). By default,
+the preamble is empty. You can set your own <code>\usepackage</code>
+commands, or anything else you may need.</p>
+
+
+
+<h4>Print Multiline</h4>
+
+<p class="first">When this options is set, Ebib includes multiline field values when it
+creates a LaTeX file with <code>P</code> (<code>ebib-print-database</code>). When unset, multiline
+values are excluded, which saves space. By default, this option is unset.</p>
+
+
+
+<h4>Latex Preamble</h4>
+
+<p class="first">This option specifies the preamble to be added to the LaTeX file for
+creating a list of references from the database (i.e., the <code>L</code> command). By
+default, the line <code>\bibliographystyle{plain}</code> is put in the
+preamble, but you may want to specify your own BibTeX packages and options.</p>
+
+
+
+<h4>Print Tempfile</h4>
+
+<p class="first">This option specifies the name and location of the temporary file Ebib
+creates with the commands <code>ebib-print-database</code> and
+<code>ebib-latex-database</code>. By default, this option has no value,
+which means that Ebib will ask for a filename each time either of these
+commands is called.</p>
+
+
+
+<h4>Allow Identical Fields</h4>
+
+<p><a name="allow-identical-fields" id="allow-identical-fields"></a>
+If this option is set, Ebib stores the values of multiple occurrences of a
+single field within an entry in a single occurrence of that field,
+separated by semicolons. By default, this option is unset, because it slows
+down the loading of <code>.bib</code> files. See <a href="#multiple-identical-fields">Multiple Identical Fields</a>.</p>
+
+
+
+<h4>Entry Types</h4>
+
+<p><a name="entry-types" id="entry-types"></a>
+This option allows you to customise the entry types that Ebib uses. Each
+entry type has a name, a set of obligatory fields and a set of optional
+fields. You can add, alter or delete single fields in an entry type, or
+whole entry types.</p>
+
+<p>If you want to add an entry type, hit the <code>INS</code> key on the top level and give
+the new entry a name, then add obligatory and/or optional fields. It is not
+necessary that an entry type has both obligatory and optional fields, you
+can define an entry that has only obligatory or only optional fields.</p>
+
+
+
+
+<h3><a name="sec31" id="sec31"></a>
+Modifying Key Bindings</h3>
+
+<p><a name="modifying-key-bindings" id="modifying-key-bindings"></a>
+If you are unhappy about Ebib's standard key bindings, you can change them
+to anything you like. To do this, you have to create a file <code>~/.ebibrc</code> and
+write your preferred key bindings in it. A key binding definition is built
+up as follows:</p>
+
+<pre class="example">
+(ebib-key &lt;buffer&gt; &lt;key&gt; &lt;command&gt;)
+</pre>
+
+<p><code>&lt;buffer&gt;</code> is either <code>index</code>, <code>entry</code> or <code>strings</code>, for the corresponding
+buffer. <code>&lt;key&gt;</code> is a standard Emacs key description, and <code>&lt;command&gt;</code> is the
+Ebib command to be associated with the key. The commands that can be used
+here are listed in <a href="#ebib-buffers">The Ebib Buffers</a>. Note that it is possible to bind more
+than one key to a single function: just add as many <code>ebib-key</code> statements as
+necessary.</p>
+
+<p>As an example, the following binds <code>C-s</code> to <code>ebib-search</code> in the index buffer,
+so that the database can be searched with <code>C-s</code> as well as with <code>/</code>:</p>
+
+<pre class="example">
+(ebib-key index &quot;\C-s&quot; ebib-search)
+</pre>
+
+<p>If you want to unbind a key, you can simply leave out <code>&lt;command&gt;</code>. So if you
+want to bind the command <code>ebib-delete-entry</code> to <code>D</code> rather than <code>d</code>, you need to
+put the following in <code>.ebibrc</code>:</p>
+
+<pre class="example">
+(ebib-key index &quot;D&quot; ebib-delete-entry)
+(ebib-key index &quot;d&quot;)
+</pre>
+
+<p>The first line binds <code>D</code> to the command <code>ebib-delete-entry</code>. The second line
+unbinds <code>d</code>.</p>
+
+<p>If a command can be called with a prefix key (as for example
+<code>ebib-delete-entry</code> can), <code>ebib-key</code> will automatically rebind the prefixed
+version as well. So in the example above, the first line not only binds <code>D</code>,
+it also binds <code>; D</code>. Similarly, the second line not only unbinds <code>d</code>, but also
+<code>; d</code>.</p>
+
+<p>It is also possible to redefine the prefix key itself. To do this, you must
+specify <code>mark-prefix</code> for <code>&lt;buffer&gt;</code>. The value of <code>&lt;command&gt;</code> is irrelevant
+here, so it can be left out:</p>
+
+<pre class="example">
+(ebib-key mark-prefix &quot;:&quot;)
+</pre>
+
+<p>This sets up <code>:</code> as the new prefix key. Doing this automatically unbinds the
+existing prefix key.</p>
+
+</div>
+
+
+
+
+<!-- Page published by Emacs Muse ends here -->
+ </body>
+</html>
diff --git a/biblio/bibtex/utils/ebib/ebib.el b/biblio/bibtex/utils/ebib/ebib.el
new file mode 100644
index 0000000000..34411629ce
--- /dev/null
+++ b/biblio/bibtex/utils/ebib/ebib.el
@@ -0,0 +1,3606 @@
+;; Ebib v1.8.0
+;;
+;; Copyright (c) 2003-2009 Joost Kremers
+;; All rights reserved.
+;;
+;; Redistribution and use in source and binary forms, with or without
+;; modification, are permitted provided that the following conditions
+;; are met:
+;;
+;; 1. Redistributions of source code must retain the above copyright
+;; notice, this list of conditions and the following disclaimer.
+;; 2. Redistributions in binary form must reproduce the above copyright
+;; notice, this list of conditions and the following disclaimer in the
+;; documentation and/or other materials provided with the distribution.
+;; 3. The name of the author may not be used to endorse or promote products
+;; derived from this software without specific prior written permission.
+;;
+;; THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+;; IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+;; OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+;; IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+;; INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+;; NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES ; LOSS OF USE,
+;; DATA, OR PROFITS ; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+;; THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+;; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+;; THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+(require 'cl)
+
+;;;;;;;;;;;;;;;;;;;;;;
+;; global variables ;;
+;;;;;;;;;;;;;;;;;;;;;;
+
+;; user customisation
+
+(defgroup ebib nil "Ebib: a BibTeX database manager" :group 'Tex)
+
+(defcustom ebib-default-type 'article
+ "*The default type for a newly created BibTeX entry."
+ :group 'ebib
+ :type 'symbol)
+
+(defcustom ebib-preload-bib-files nil
+ "*List of .bib files to load automatically when Ebib starts."
+ :group 'ebib
+ :type '(repeat (file :must-match t)))
+
+(defcustom ebib-additional-fields '(crossref url annote abstract
+ keywords file timestamp)
+ "*List of the additional fields."
+ :group 'ebib
+ :type '(repeat (symbol :tag "Field")))
+
+(defcustom ebib-layout 'full
+ "*Ebib window layout.
+Full width: Ebib occupies the entire Emacs frame.
+
+Specify width: Ebib occupies the right side of the Emacs frame,
+with the left side free for another window."
+ :group 'ebib
+ :type '(choice (const :tag "Full width" full)
+ (integer :tag "Specify width")))
+
+(defcustom ebib-index-window-size 10
+ "*The number of lines used for the index buffer window."
+ :group 'ebib
+ :type 'integer)
+
+(defcustom ebib-index-display-fields nil
+ "*List of the fields to display in the index buffer."
+ :group 'ebib
+ :type '(repeat (symbol :tag "Index Field")))
+
+(defcustom ebib-insertion-commands '(("cite" . 1))
+ "*A list of commands that can be used to insert an entry into a (La)TeX buffer.
+For use with EBIB-INSERT-BIBTEX-KEY and EBIB-PUSH-BIBTEX-KEY."
+ :group 'ebib
+ :type '(repeat (cons :tag "Command" (string) (integer :tag "Optional arguments"))))
+
+(defcustom ebib-sort-order nil
+ "*The fields on which the BibTeX entries are to be sorted in the .bib file.
+Sorting is done on different sort levels, and each sort level contains one
+or more sort keys."
+ :group 'ebib
+ :type '(repeat (repeat :tag "Sort level" (symbol :tag "Sort field"))))
+
+(defcustom ebib-save-xrefs-first nil
+ "*If true, entries with a crossref field will be saved first in the .bib-file.
+Setting this option has unpredictable results for the sort order
+of entries, so it is not compatible with setting the Sort Order option."
+ :group 'ebib
+ :type 'boolean)
+
+(defface ebib-crossref-face '((t (:foreground "red")))
+ "*Face used to indicate values inherited from crossreferenced entries."
+ :group 'ebib)
+
+(defface ebib-marked-face (if (featurep 'xemacs)
+ '((t (:foreground "white" :background "red")))
+ '((t (:inverse-video t))))
+ "*Face to indicate marked entries."
+ :group 'ebib)
+
+(defcustom ebib-use-timestamp nil
+ "*If true, new entries will get a time stamp.
+The time stamp will be stored in a field \"timestamp\" that can
+be made visible with the `H' command in the index buffer."
+ :group 'ebib
+ :type 'boolean)
+
+(defcustom ebib-timestamp-format "%a %b %e %T %Y"
+ "*Format of the time string used in the timestamp.
+The format is passed unmodified to FORMAT-TIME-STRING, see the
+documentation of that function for details."
+ :group 'ebib
+ :type 'string)
+
+(defcustom ebib-standard-url-field 'url
+ "*Standard field to store urls in.
+In the index buffer, the command ebib-browse-url can be used to
+send a url to a browser. This option sets the field from which
+this command extracts the url."
+ :group 'ebib
+ :type 'symbol)
+
+(defcustom ebib-url-regexp "\\\\url{\\(.*\\)}\\|https?://[^ '<>\"\n\t\f]+"
+ "*Regular expression to extract urls."
+ :group 'ebib
+ :type 'string)
+
+(defcustom ebib-browser-command ""
+ "*Command to call the browser with.
+GNU/Emacs has a function call-browser, which is used if this
+option is unset."
+ :group 'ebib
+ :type '(string :tag "Browser command"))
+
+(defcustom ebib-standard-file-field 'file
+ "*Standard field to store filenames in.
+In the index buffer, the command ebib-view-file can be used to
+view a file externally. This option sets the field from which
+this command extracts the filename."
+ :group 'ebib
+ :type 'symbol)
+
+(defcustom ebib-file-associations '(("pdf" . "xpdf")
+ ("ps" . "gv"))
+ "*List of file associations.
+Lists file extensions together with external programs to handle
+files with those extensions. If the external program is left
+blank, Ebib tries to handle the file internally in
+Emacs (e.g. with doc-view-mode)."
+ :group 'ebib
+ :type '(repeat (cons :tag "File association"
+ (string :tag "Extension") (string :tag "Command"))))
+
+(defcustom ebib-file-regexp "[^?|\\:*<>\" \n\t\f]+"
+ "*Regular expression to match filenames."
+ :group 'ebib
+ :type 'string)
+
+(defcustom ebib-file-search-dirs '("~")
+ "*List of directories to search for files."
+ :group 'ebib
+ :type '(repeat :tag "Search directories" (string :tag "Directory")))
+
+(defcustom ebib-print-preamble nil
+ "*Preamble used for the LaTeX file for printing the database.
+Each string is added to the preamble on a separate line."
+ :group 'ebib
+ :type '(repeat (string :tag "Add to preamble")))
+
+(defcustom ebib-print-multiline nil
+ "*If set, multiline fields are included when printing the database."
+ :group 'ebib
+ :type 'boolean)
+
+(defcustom ebib-latex-preamble '("\\bibliographystyle{plain}")
+ "*Preamble used for the LaTeX file for BibTeXing the database.
+Each string is added to the preamble on a separate line."
+ :group 'ebib
+ :type '(repeat (string :tag "Add to preamble")))
+
+(defcustom ebib-print-tempfile ""
+ "*Temporary file for use with EBIB-PRINT-DATABASE and EBIB-LATEX-DATABASE."
+ :group 'ebib
+ :type '(file))
+
+(defcustom ebib-allow-identical-fields nil
+ "*If set, Ebib handles multiple occurrences of a field gracefully."
+ :group 'ebib
+ :type 'boolean)
+
+(defvar ebib-unique-field-list nil
+ "Holds a list of all field names.")
+
+(defmacro add-to-listq (listvar element &optional append fn)
+ (if (or (featurep 'xemacs)
+ (string< emacs-version "22"))
+ `(add-to-list (quote ,listvar) ,element ,append)
+ `(add-to-list (quote ,listvar) ,element ,append ,fn)))
+
+(defun ebib-set-unique-field-list (var value)
+ "Sets EBIB-UNIQUE-FIELD-LIST on the basis of EBIB-ENTRY-TYPES"
+ (set-default var value)
+ (setq ebib-unique-field-list nil)
+ (mapc #'(lambda (entry)
+ (mapc #'(lambda (field)
+ (add-to-listq ebib-unique-field-list field t 'eq))
+ (cadr entry))
+ (mapc #'(lambda (field)
+ (add-to-listq ebib-unique-field-list field t 'eq))
+ (caddr entry)))
+ value))
+
+(defcustom ebib-entry-types
+ '((article ;; name of entry type
+ (author title journal year) ;; obligatory fields
+ (volume number pages month note)) ;; optional fields
+
+ (book
+ (author title publisher year)
+ (editor volume number series address edition month note))
+
+ (booklet
+ (title)
+ (author howpublished address month year note))
+
+ (inbook
+ (author title chapter pages publisher year)
+ (editor volume series address edition month note))
+
+ (incollection
+ (author title booktitle publisher year)
+ (editor volume number series type chapter pages address edition month note))
+
+ (inproceedings
+ (author title booktitle year)
+ (editor pages organization publisher address month note))
+
+ (manual
+ (title)
+ (author organization address edition month year note))
+
+ (misc
+ ()
+ (title author howpublished month year note))
+
+ (mastersthesis
+ (author title school year)
+ (address month note))
+
+ (phdthesis
+ (author title school year)
+ (address month note))
+
+ (proceedings
+ (title year)
+ (editor publisher organization address month note))
+
+ (techreport
+ (author title institution year)
+ (type number address month note))
+
+ (unpublished
+ (author title note)
+ (month year)))
+
+ "List of entry type definitions for Ebib"
+ :group 'ebib
+ :type '(repeat (list :tag "Entry type" (symbol :tag "Name")
+ (repeat :tag "Obligatory fields" (symbol :tag "Field"))
+ (repeat :tag "Optional fields" (symbol :tag "Field"))))
+ :set 'ebib-set-unique-field-list)
+
+;; generic for all databases
+
+;; constants and variables that are set only once
+(defconst ebib-bibtex-identifier "[^\"#%'(),={} \t\n\f]*" "Regexp describing a licit BibTeX identifier.")
+(defconst ebib-version "1.8.0")
+(defvar ebib-initialized nil "T if Ebib has been initialized.")
+
+;; buffers and highlights
+(defvar ebib-index-buffer nil "The index buffer.")
+(defvar ebib-entry-buffer nil "The entry buffer.")
+(defvar ebib-strings-buffer nil "The strings buffer.")
+(defvar ebib-multiline-buffer nil "Buffer for editing multiline strings.")
+(defvar ebib-log-buffer nil "Buffer showing warnings and errors during loading of .bib files")
+(defvar ebib-index-highlight nil "Highlight to mark the current entry.")
+(defvar ebib-fields-highlight nil "Highlight to mark the current field.")
+(defvar ebib-strings-highlight nil "Highlight to mark the current string.")
+
+;; general bookkeeping
+(defvar ebib-minibuf-hist nil "Holds the minibuffer history for Ebib")
+(defvar ebib-saved-window-config nil "Stores the window configuration when Ebib is called.")
+(defvar ebib-pre-ebib-window nil "The window that was active when Ebib was called.")
+(defvar ebib-pre-multiline-buffer nil "The buffer in the window before switching to the multiline edit buffer.")
+(defvar ebib-export-filename nil "Filename to export entries to.")
+(defvar ebib-push-buffer nil "Buffer to push entries to.")
+(defvar ebib-search-string nil "Stores the last search string.")
+(defvar ebib-editing nil "Indicates what the user is editing.
+Its value can be 'strings, 'fields, or 'preamble.")
+(defvar ebib-multiline-raw nil "Indicates whether the multiline text being edited is raw.")
+(defvar ebib-log-error nil "Indicates whether an error was logged.")
+(defvar ebib-local-bibtex-filenames nil
+ "A buffer-local variable holding a list of the name(s) of that buffer's .bib file(s)")
+(make-variable-buffer-local 'ebib-local-bibtex-filenames)
+(defvar ebib-syntax-table (make-syntax-table) "Syntax table used for reading .bib files.")
+(modify-syntax-entry ?\[ "." ebib-syntax-table)
+(modify-syntax-entry ?\] "." ebib-syntax-table)
+(modify-syntax-entry ?\( "." ebib-syntax-table)
+(modify-syntax-entry ?\) "." ebib-syntax-table)
+(modify-syntax-entry ?\" "w" ebib-syntax-table)
+
+;; the databases
+
+;; each database is represented by a struct
+(defstruct edb
+ (database (make-hash-table :test 'equal)) ; hashtable containing the database itself
+ (keys-list nil) ; sorted list of the keys in the database
+ (cur-entry nil) ; sublist of KEYS-LIST that starts with the current entry
+ (marked-entries nil) ; list of marked entries
+ (n-entries 0) ; number of entries stored in this database
+ (strings (make-hash-table :test 'equal)) ; hashtable with the @STRING definitions
+ (strings-list nil) ; sorted list of the @STRING abbreviations
+ (preamble nil) ; string with the @PREAMBLE definition
+ (filename nil) ; name of the BibTeX file that holds this database
+ (name nil) ; name of the database
+ (modified nil) ; has this database been modified?
+ (make-backup nil) ; do we need to make a backup of the .bib file?
+ (virtual nil)) ; is this a virtual database?
+
+;; the master list and the current database
+(defvar ebib-databases nil "List of structs containing the databases.")
+(defvar ebib-cur-db nil "The database that is currently active.")
+
+;;;;;; bookkeeping required when editing field values or @STRING definitions
+
+(defvar ebib-hide-hidden-fields t "If set to T, hidden fields are not shown.")
+
+;; these two variables are set when the user enters the entry buffer
+(defvar ebib-cur-entry-hash nil "The hash table containing the data of the current entry.")
+(defvar ebib-cur-entry-fields nil "The fields of the type of the current entry.")
+
+;; and these two are set by EBIB-FILL-ENTRY-BUFFER and EBIB-FILL-STRINGS-BUFFER, respectively
+(defvar ebib-current-field nil "The current field.")
+(defvar ebib-current-string nil "The current @STRING definition.")
+
+;; the prefix key is stored in a variable so that the user can customise it.
+(defvar ebib-prefix-key ?\;)
+
+;; this is an AucTeX variable, but we want to check its value, so let's
+;; keep the compiler from complaining.
+(eval-when-compile
+ (defvar TeX-master))
+
+;; this is to keep XEmacs from complaining.
+(eval-when-compile
+ (if (featurep 'xemacs)
+ (defvar mark-active)))
+
+;; XEmacs has line-number, not line-number-at-pos.
+(eval-and-compile
+ (if (featurep 'xemacs)
+ (defalias 'line-number-at-pos 'line-number)))
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;; useful macros and functions ;;
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+(defmacro nor (&rest args)
+ "Returns T if none of its arguments are true."
+ `(not (or ,@args)))
+
+;; we sometimes (often, in fact ;-) need to do something with a string, but
+;; take special action (or do nothing) if that string is empty. IF-STR
+;; makes that easier:
+
+(defmacro if-str (bindvar then &rest else)
+ "Execute THEN only if STRING is nonempty.
+Format: (if-str (var value) then-form [else-forms]) VAR is bound
+to VALUE, which is evaluated. If VAR is a nonempty string,
+THEN-FORM is executed. If VAR is either \"\" or nil, ELSE-FORM is
+executed. Returns the value of THEN or of ELSE."
+ (declare (indent 2))
+ `(let ,(list bindvar)
+ (if (nor (null ,(car bindvar))
+ (equal ,(car bindvar) ""))
+ ,then
+ ,@else)))
+
+(defmacro last1 (lst &optional n)
+ "Returns the last (or Nth last) element of LST."
+ `(car (last ,lst ,n)))
+
+;; we sometimes need to walk through lists. these functions yield the
+;; element directly preceding or following ELEM in LIST. in order to work
+;; properly, ELEM must be unique in LIST, obviously. if ELEM is the
+;; first/last element of LIST, or if it is not contained in LIST at all,
+;; the result is nil.
+(defun next-elem (elem list)
+ (cadr (member elem list)))
+
+(defun prev-elem (elem list)
+ (if (or (equal elem (car list))
+ (not (member elem list)))
+ nil
+ (last1 list (1+ (length (member elem list))))))
+
+(defun read-string-at-point (chars)
+ "Reads a string at POINT delimited by CHARS and returns it.
+CHARS is a string of characters that should not occur in the string."
+ (save-excursion
+ (skip-chars-backward (concat "^" chars))
+ (let ((beg (point)))
+ (looking-at-goto-end (concat "[^" chars "]*"))
+ (buffer-substring-no-properties beg (point)))))
+
+(defun remove-from-string (string remove)
+ "Returns a copy of STRING with all the occurrences of REMOVE taken out.
+REMOVE can be a regex."
+ (apply 'concat (split-string string remove)))
+
+(defun in-string (char string)
+ "Returns T if CHAR is in STRING, otherwise NIL."
+ (catch 'found
+ (do ((len (length string))
+ (i 0 (1+ i)))
+ ((= i len) nil)
+ (if (eq char (aref string i))
+ (throw 'found t)))))
+
+(defun ensure-extension (string ext)
+ "Makes sure STRING has the extension EXT, by appending it if necessary.
+EXT should be an extension without the dot."
+ (if (string-match (concat "\\." ext "$") string)
+ string
+ (concat string "." ext)))
+
+(defmacro with-buffer-writable (&rest body)
+ "Makes the current buffer writable and executes the commands in BODY.
+After BODY is executed, the buffer modified flag is unset."
+ (declare (indent defun))
+ `(unwind-protect
+ (let ((buffer-read-only nil))
+ ,@body)
+ (set-buffer-modified-p nil)))
+
+(defmacro safe-write-region (start end filename &optional append visit lockname mustbenew)
+ "XEmacs does not have the MUSTBENEW argument, so this is a way to implement it."
+ (if (featurep 'xemacs)
+ `(if (and (file-exists-p ,filename)
+ (not (y-or-n-p (format "File %s already exists; overwrite anyway? " ,filename))))
+ (error "File %s exist" ,filename)
+ (write-region ,start ,end ,filename ,append ,visit ,lockname))
+ `(write-region ,start ,end ,filename ,append ,visit ,lockname ,mustbenew)))
+
+(defun symbol-or-string (x)
+ "Returns the symbol-name of X if X is a symbol, otherwise return X.
+Much like SYMBOL-NAME, except it does not throw an error if X is
+not a symbol."
+ (if (symbolp x)
+ (symbol-name x)
+ x))
+
+;; XEmacs doesn't know about propertize...
+(if (not (fboundp 'propertize))
+ (defun propertize (string &rest properties)
+ "Return a copy of STRING with text properties added.
+First argument is the string to copy. Remaining arguments form a
+sequence of PROPERTY VALUE pairs for text properties to add to
+the result."
+ (let ((new-string (copy-sequence string)))
+ (add-text-properties 0 (length new-string) properties new-string)
+ new-string)))
+
+(defun region-active ()
+ (if (featurep 'xemacs)
+ (region-active-p)
+ mark-active))
+
+;; RAW-P determines if STRING is raw. note that we cannot do this by
+;; simply checking whether STRING begins with { and ends with } (or
+;; begins and ends with "), because something like "{abc} # D # {efg}"
+;; would then be incorrectly recognised as non-raw. so we need to do
+;; the following: take out everything that is between braces or
+;; quotes, and see if anything is left. if there is, the original
+;; string was raw, otherwise it was not.
+;;
+;; so i first check whether the string begins with { or ". if not, we
+;; certainly have a raw string. (RAW-P recognises this through the default
+;; clause of the COND.) if the first character is { or ", we first take out
+;; every occurrence of backslash-escaped { and } or ", so that the rest of
+;; the function does not get confused over them.
+;;
+;; then, if the first character is {, i use REMOVE-FROM-STRING to take out
+;; every occurrence of the regex "{[^{]*?}", which translates to "the
+;; smallest string that starts with { and ends with }, and does not contain
+;; another {. IOW, it takes out the innermost braces and their
+;; contents. because braces may be embedded, we have to repeat this step
+;; until no more balanced braces are found in the string. (note that it
+;; would be unwise to check for just the occurrence of { or }, because that
+;; would throw RAW-P in an infinite loop if a string contains an unbalanced
+;; brace.)
+;;
+;; for strings beginning with " i do the same, except that it is not
+;; necessary to repeat this in a WHILE loop, for the simple reason that
+;; strings surrounded with double quotes cannot be embedded; i.e.,
+;; "ab"cd"ef" is not a valid (BibTeX) string, while {ab{cd}ef} is.
+;;
+;; note: because these strings are to be fed to BibTeX and ultimately
+;; (La)TeX, it might seem that we don't need to worry about strings
+;; containing unbalanced braces, because (La)TeX would choke on them. but
+;; the user may inadvertently enter such a string, and we therefore need to
+;; be able to handle it. (alternatively, we could perform a check on
+;; strings and warn the user.)
+
+(defun raw-p (string)
+ "Non-nil if STRING is raw."
+ (when (stringp string)
+ (cond
+ ((eq (string-to-char string) ?\{)
+ ;; we remove all occurrences of `\{' and of `\}' from the string:
+ (let ((clear-str (remove-from-string (remove-from-string string "[\\][{]")
+ "[\\][}]")))
+ (while (and (in-string ?\{ clear-str) (in-string ?\} clear-str))
+ (setq clear-str (remove-from-string clear-str "{[^{]*?}")))
+ (> (length clear-str) 0)))
+ ((eq (string-to-char string) ?\")
+ (let ((clear-str (remove-from-string string "[\\][\"]"))) ; remove occurrences of `\"'
+ (setq clear-str (remove-from-string clear-str "\"[^\"]*?\""))
+ (> (length clear-str) 0)))
+ (t t))))
+
+(defun to-raw (string)
+ "Converts a string to its raw counterpart."
+ (if (and (stringp string)
+ (not (raw-p string)))
+ (substring string 1 -1)
+ string))
+
+(defun from-raw (string)
+ "Converts a raw string to a non-raw one."
+ (if (raw-p string)
+ (concat "{" string "}")
+ string))
+
+(defun multiline-p (string)
+ "True if STRING is multiline."
+ (if (stringp string)
+ (string-match "\n" string)))
+
+(defun first-line (string)
+ "Returns the first line of a multi-line string."
+ (string-match "\n" string)
+ (substring string 0 (match-beginning 0)))
+
+(defun sort-in-buffer (limit str)
+ "Moves POINT to the right position to insert STR in a buffer with lines sorted A-Z."
+ (let ((upper limit)
+ middle)
+ (when (> limit 0)
+ (let ((lower 0))
+ (goto-char (point-min))
+ (while (progn
+ (setq middle (/ (+ lower upper 1) 2))
+ (goto-line middle) ; if this turns out to be where we need to be,
+ (beginning-of-line) ; this puts POINT at the right spot.
+ (> (- upper lower) 1)) ; if upper and lower differ by only 1, we have found the
+ ; position to insert the entry in.
+ (save-excursion
+ (let ((beg (point)))
+ (end-of-line)
+ (if (string< (buffer-substring-no-properties beg (point)) str)
+ (setq lower middle)
+ (setq upper middle)))))))))
+
+(defun match-all (match-str string)
+ "Highlights all the matches of MATCH-STR in STRING.
+The return value is a list of two elements: the first is the
+modified string, the second either t or nil, indicating whether a
+match was found at all."
+ (do ((counter 0 (match-end 0)))
+ ((not (string-match match-str string counter)) (values string (not (= counter 0))))
+ (add-text-properties (match-beginning 0) (match-end 0) '(face highlight) string)))
+
+(defun looking-at-goto-end (str &optional match)
+ "Like LOOKING-AT but moves point to the end of the matching string.
+MATCH acts just like the argument to MATCH-END, and defaults to 0."
+ (or match (setq match 0))
+ (let ((case-fold-search t))
+ (if (looking-at str)
+ (goto-char (match-end match)))))
+
+;; this needs to be wrapped in an eval-and-compile, to keep Emacs from
+;; complaining that ebib-execute-helper isn't defined when it compiles
+;; ebib-execute-when.
+(eval-and-compile
+ (defun ebib-execute-helper (env)
+ "Helper function for EBIB-EXECUTE-WHEN."
+ (cond
+ ((eq env 'entries)
+ '(and ebib-cur-db
+ (edb-cur-entry ebib-cur-db)))
+ ((eq env 'marked-entries)
+ '(and ebib-cur-db
+ (edb-marked-entries ebib-cur-db)))
+ ((eq env 'database)
+ 'ebib-cur-db)
+ ((eq env 'real-db)
+ '(and ebib-cur-db
+ (not (edb-virtual ebib-cur-db))))
+ ((eq env 'virtual-db)
+ '(and ebib-cur-db
+ (edb-virtual ebib-cur-db)))
+ ((eq env 'no-database)
+ '(not ebib-cur-db))
+ (t t))))
+
+(defmacro ebib-execute-when (&rest forms)
+ "Macro to facilitate writing Ebib functions.
+This functions essentially like a COND clause: the basic format
+is (ebib-execute-when FORMS ...), where each FORM is built up
+as (ENVIRONMENTS BODY). ENVIRONMENTS is a list of symbols (not
+quoted) that specify under which conditions BODY is to be
+executed. Valid symbols are:
+
+entries: execute when there are entries in the database,
+marked-entries: execute when there are marked entries in the database,
+database: execute if there is a database,
+no-database: execute if there is no database,
+real-db: execute when there is a database and it is real,
+virtual-db: execute when there is a database and it is virtual,
+default: execute if all else fails.
+
+Just like with COND, only one form is actually executed, the
+first one that matches. If ENVIRONMENT contains more than one
+condition, BODY is executed if they all match (i.e., the
+conditions are AND'ed.)"
+ (declare (indent defun))
+ `(cond
+ ,@(mapcar #'(lambda (form)
+ (cons (if (= 1 (length (car form)))
+ (ebib-execute-helper (caar form))
+ `(and ,@(mapcar #'(lambda (env)
+ (ebib-execute-helper env))
+ (car form))))
+ (cdr form)))
+ forms)))
+
+;; the numeric prefix argument is 1 if the user gave no prefix argument at
+;; all. the raw prefix argument is not always a number. so we need to do
+;; our own conversion.
+(defun ebib-prefix (num)
+ (when (numberp num)
+ num))
+
+(defun ebib-called-with-prefix ()
+ "Returns T if the command was called with a prefix key."
+ (if (featurep 'xemacs)
+ (member (character-to-event ebib-prefix-key) (append (this-command-keys) nil))
+ (member (event-convert-list (list ebib-prefix-key))
+ (append (this-command-keys-vector) nil))))
+
+(defmacro ebib-export-to-db (num message copy-fn)
+ "Exports data to another database.
+NUM is the number of the database to which the data is to be copied.
+
+MESSAGE is a string displayed in the echo area if the export was
+succesful. It must contain a %d directive, which is used to
+display the database number to which the entry was exported.
+
+COPY-FN is the function that actually copies the relevant
+data. It must take as argument the database to which the data is
+to be copied. COPY-FN must return T if the copying was
+successful, and NIL otherwise."
+ (let ((goal-db (gensym)))
+ `(let ((,goal-db (nth (1- ,num) ebib-databases)))
+ (cond
+ ((not ,goal-db)
+ (error "Database %d does not exist" ,num))
+ ((edb-virtual ,goal-db)
+ (error "Database %d is virtual" ,num))
+ (t (when (funcall ,copy-fn ,goal-db)
+ (ebib-set-modified t ,goal-db)
+ (message ,message ,num)))))))
+
+(defmacro ebib-export-to-file (prompt-string message insert-fn)
+ "Exports data to a file.
+PROMPT-STRING is the string that is used to ask for the filename
+to export to. INSERT-FN must insert the data to be exported into
+the current buffer: it is called within a WITH-TEMP-BUFFER, whose
+contents is appended to the file the user enters.
+
+MESSAGE is shown in the echo area when the export was
+successful. It must contain a %s directive, which is used to
+display the actual filename."
+ (let ((filename (gensym)))
+ `(let ((insert-default-directory (not ebib-export-filename)))
+ (if-str (,filename (read-file-name
+ ,prompt-string "~/" nil nil ebib-export-filename))
+ (with-temp-buffer
+ (funcall ,insert-fn)
+ (append-to-file (point-min) (point-max) ,filename)
+ (setq ebib-export-filename ,filename))))))
+
+(defun ebib-temp-window ()
+ "Returns a window to be used for temporary use."
+ (if (eq ebib-layout 'full)
+ (get-buffer-window ebib-entry-buffer)
+ ebib-pre-ebib-window))
+
+(defun ebib-get-obl-fields (entry-type)
+ "Returns the obligatory fields of ENTRY-TYPE."
+ (nth 1 (assoc entry-type ebib-entry-types)))
+
+(defun ebib-get-opt-fields (entry-type)
+ "Returns the optional fields of ENTRY-TYPE."
+ (nth 2 (assoc entry-type ebib-entry-types)))
+
+(defun ebib-get-all-fields (entry-type)
+ "Returns all the fields of ENTRY-TYPE."
+ (cons 'type* (append (ebib-get-obl-fields entry-type)
+ (ebib-get-opt-fields entry-type)
+ ebib-additional-fields)))
+
+(defmacro ebib-retrieve-entry (entry-key db)
+ "Returns the hash table of the fields stored in DB under ENTRY-KEY."
+ `(gethash ,entry-key (edb-database ,db)))
+
+(defun ebib-erase-buffer (buffer)
+ (set-buffer buffer)
+ (with-buffer-writable
+ (erase-buffer)))
+
+(defun ebib-make-highlight (begin end buffer)
+ (let (highlight)
+ (if (featurep 'xemacs)
+ (progn
+ (setq highlight (make-extent begin end buffer))
+ (set-extent-face highlight 'highlight))
+ (progn
+ (setq highlight (make-overlay begin end buffer))
+ (overlay-put highlight 'face 'highlight)))
+ highlight))
+
+(defun ebib-move-highlight (highlight begin end buffer)
+ (if (featurep 'xemacs)
+ (set-extent-endpoints highlight begin end buffer)
+ (move-overlay highlight begin end buffer)))
+
+(defun ebib-highlight-start (highlight)
+ (if (featurep 'xemacs)
+ (extent-start-position highlight)
+ (overlay-start highlight)))
+
+(defun ebib-highlight-end (highlight)
+ (if (featurep 'xemacs)
+ (extent-end-position highlight)
+ (overlay-end highlight)))
+
+(defun ebib-delete-highlight (highlight)
+ (if (featurep 'xemacs)
+ (detach-extent highlight)
+ (delete-overlay highlight)))
+
+(defun ebib-set-index-highlight ()
+ (set-buffer ebib-index-buffer)
+ (beginning-of-line)
+ (let ((beg (point)))
+ (if ebib-index-display-fields
+ (end-of-line)
+ (skip-chars-forward "^ "))
+ (ebib-move-highlight ebib-index-highlight beg (point) ebib-index-buffer)
+ (beginning-of-line)))
+
+(defun ebib-set-fields-highlight ()
+ (set-buffer ebib-entry-buffer)
+ (beginning-of-line)
+ (let ((beg (point)))
+ (looking-at-goto-end "[^ \t\n\f]*")
+ (ebib-move-highlight ebib-fields-highlight beg (point) ebib-entry-buffer)
+ (beginning-of-line)))
+
+(defun ebib-set-strings-highlight ()
+ (set-buffer ebib-strings-buffer)
+ (beginning-of-line)
+ (let ((beg (point)))
+ (looking-at-goto-end "[^ \t\n\f]*")
+ (ebib-move-highlight ebib-strings-highlight beg (point) ebib-strings-buffer)
+ (beginning-of-line)))
+
+(defun ebib-display-entry (entry-key)
+ "Displays ENTRY-KEY in the index buffer at POINT."
+ (set-buffer ebib-index-buffer)
+ (insert (format "%-30s %s\n"
+ entry-key
+ (if ebib-index-display-fields
+ (let ((cur-entry-hash (ebib-retrieve-entry entry-key ebib-cur-db)))
+ (mapconcat #'(lambda (field)
+ (or
+ (to-raw (gethash field cur-entry-hash))
+ ""))
+ ebib-index-display-fields
+ "; "))
+ ""))))
+
+(defun ebib-redisplay-current-field ()
+ "Redisplays the contents of the current field in the entry buffer."
+ (set-buffer ebib-entry-buffer)
+ (if (eq ebib-current-field 'crossref)
+ (progn
+ (ebib-fill-entry-buffer)
+ (setq ebib-current-field 'crossref)
+ (re-search-forward "^crossref")
+ (ebib-set-fields-highlight))
+ (with-buffer-writable
+ (goto-char (ebib-highlight-start ebib-fields-highlight))
+ (let ((beg (point)))
+ (end-of-line)
+ (delete-region beg (point)))
+ (insert (format "%-17s " (symbol-name ebib-current-field))
+ (ebib-get-field-highlighted ebib-current-field ebib-cur-entry-hash))
+ (ebib-set-fields-highlight))))
+
+(defun ebib-redisplay-current-string ()
+ "Redisplays the current string definition in the strings buffer."
+ (set-buffer ebib-strings-buffer)
+ (with-buffer-writable
+ (let ((str (to-raw (gethash ebib-current-string (edb-strings ebib-cur-db)))))
+ (goto-char (ebib-highlight-start ebib-strings-highlight))
+ (let ((beg (point)))
+ (end-of-line)
+ (delete-region beg (point)))
+ (insert (format "%-18s %s" ebib-current-string
+ (if (multiline-p str)
+ (concat "+" (first-line str))
+ (concat " " str))))
+ (ebib-set-strings-highlight))))
+
+(defun ebib-move-to-field (field direction)
+ "Moves the fields overlay to the line containing FIELD.
+If DIRECTION is positive, searches forward, if DIRECTION is
+negative, searches backward. If DIRECTION is 1 or -1, searches
+from POINT, if DIRECTION is 2 or -2, searches from beginning or
+end of buffer. If FIELD is not found in the entry buffer, the
+overlay is not moved. FIELD must be a symbol."
+
+ ;;Note: this function does NOT change the value of EBIB-CURRENT-FIELD!
+
+ (set-buffer ebib-entry-buffer)
+ (if (eq field 'type*)
+ (goto-char (point-min))
+ (multiple-value-bind (fn start limit) (if (>= direction 0)
+ (values 're-search-forward (point-min) (point-max))
+ (values 're-search-backward (point-max) (point-min)))
+ ;; make sure we can get back to our original position, if the field
+ ;; cannot be found in the buffer:
+ (let ((current-pos (point)))
+ (when (evenp direction)
+ (goto-char start))
+ (unless (funcall fn (concat "^" (symbol-name field)) limit t)
+ (goto-char current-pos)))))
+ (ebib-set-fields-highlight))
+
+(defun ebib-create-collection (hashtable)
+ "Creates a list from the keys in HASHTABLE that can be used as COLLECTION in COMPLETING-READ.
+The keys of HASHTABLE must be either symbols or strings."
+ (let ((result nil))
+ (maphash #'(lambda (x y)
+ (setq result (cons (cons (symbol-or-string x)
+ 0)
+ result)))
+ hashtable)
+ result))
+
+(defun ebib-get-field-highlighted (field current-entry &optional match-str)
+ ;; note: we need to work on a copy of the string, otherwise the highlights
+ ;; are made to the string as stored in the database. hence copy-sequence.
+ (let ((case-fold-search t)
+ (string (copy-sequence (gethash field current-entry)))
+ (raw " ")
+ (multiline " ")
+ (matched nil))
+ ;; we have to do a couple of things now:
+ ;; - remove {} or "" around the string, if they're there
+ ;; - search for match-str
+ ;; - properly adjust the string if it's multiline
+ ;; but all this is not necessary if there was no string
+ (if (null string)
+ (let* ((xref (to-raw (gethash 'crossref current-entry)))
+ (xref-entry (ebib-retrieve-entry xref ebib-cur-db)))
+ (when xref-entry
+ (setq string (gethash field xref-entry))
+ (if string
+ (setq string (propertize (to-raw string) 'face 'ebib-crossref-face 'fontified t))
+ (setq string ""))))
+ (if (raw-p string)
+ (setq raw "*")
+ (setq string (to-raw string))) ; we have to make the string look nice
+ (when match-str
+ (multiple-value-setq (string matched) (match-all match-str string)))
+ (when (multiline-p string)
+ ;; IIUC PROPERTIZE shouldn't be necessary here, as the variable
+ ;; multiline is local and therefore the object it refers to should
+ ;; be GC'ed when the function returns. but for some reason, the
+ ;; plus sign is persistent, and if it's been highlighted as the
+ ;; result of a search, it stays that way.
+ (setq multiline (propertize "+" 'face nil))
+ (setq string (first-line string))))
+ (when (and matched
+ (string= multiline "+"))
+ (add-text-properties 0 1 '(face highlight) multiline))
+ (concat raw multiline string)))
+
+(defun ebib-format-fields (entry fn &optional match-str)
+ (let* ((entry-type (gethash 'type* entry))
+ (obl-fields (ebib-get-obl-fields entry-type))
+ (opt-fields (ebib-get-opt-fields entry-type)))
+ (funcall fn (format "%-19s %s\n" "type" entry-type))
+ (mapc #'(lambda (fields)
+ (funcall fn "\n")
+ (mapcar #'(lambda (field)
+ (unless (and (get field 'ebib-hidden)
+ ebib-hide-hidden-fields)
+ (funcall fn (format "%-17s " field))
+ (funcall fn (or
+ (ebib-get-field-highlighted field entry match-str)
+ ""))
+ (funcall fn "\n")))
+ fields))
+ (list obl-fields opt-fields ebib-additional-fields))))
+
+(defun ebib-fill-entry-buffer (&optional match-str)
+ "Fills the entry buffer with the fields of the current entry.
+MATCH-STRING is a regexp that will be highlighted when it occurs in the
+field contents."
+ (set-buffer ebib-entry-buffer)
+ (with-buffer-writable
+ (erase-buffer)
+ (when (and ebib-cur-db ; do we have a database?
+ (edb-keys-list ebib-cur-db) ; does it contain entries?
+ (gethash (car (edb-cur-entry ebib-cur-db))
+ (edb-database ebib-cur-db))) ; does the current entry exist?
+ (ebib-format-fields (gethash (car (edb-cur-entry ebib-cur-db))
+ (edb-database ebib-cur-db)) 'insert match-str)
+ (setq ebib-current-field 'type*)
+ (goto-char (point-min))
+ (ebib-set-fields-highlight))))
+;; (skip-chars-forward "^ "))))
+
+(defun ebib-set-modified (mod &optional db)
+ "Sets the modified flag of the database DB to MOD.
+If DB is nil, it defaults to the current database, and the
+modified flag of the index buffer is also (re)set. MOD must be
+either T or NIL."
+ (unless db
+ (setq db ebib-cur-db))
+ (setf (edb-modified db) mod)
+ (when (eq db ebib-cur-db)
+ (save-excursion
+ (set-buffer ebib-index-buffer)
+ (set-buffer-modified-p mod))))
+
+(defun ebib-modified-p ()
+ "Checks if any of the databases in Ebib were modified.
+Returns the first modified database, or NIL if none was modified."
+ (let ((db (car ebib-databases)))
+ (while (and db
+ (not (edb-modified db)))
+ (setq db (next-elem db ebib-databases)))
+ db))
+
+(defun ebib-create-new-database (&optional db)
+ "Creates a new database instance and returns it.
+If DB is set to a database, the new database is a copy of DB."
+ (let ((new-db
+ (if (edb-p db)
+ (copy-edb db)
+ (make-edb))))
+ (setq ebib-databases (append ebib-databases (list new-db)))
+ new-db))
+
+(defun ebib-match-paren-forward (limit)
+ "Moves forward to the closing parenthesis matching the opening parenthesis at POINT.
+This function handles parentheses () and braces {}. Does not
+search/move beyond LIMIT. Returns T if a matching parenthesis was
+found, NIL otherwise. If point was not at an opening parenthesis
+at all, NIL is returned and point is not moved. If point was at
+an opening parenthesis but no matching closing parenthesis was
+found, an error is logged and point is moved one character
+forward to allow parsing to continue."
+ (cond
+ ((eq (char-after) ?\{)
+ (ebib-match-brace-forward limit))
+ ((eq (char-after) ?\()
+ ;; we wrap this in a condition-case because we need to log the error
+ ;; message outside of the save-restriction, otherwise we get the wrong
+ ;; line number.
+ (condition-case nil
+ (save-restriction
+ (narrow-to-region (point) limit)
+ ;; this is really a hack. we want to allow unbalanced parentheses in
+ ;; field values (bibtex does), so we cannot use forward-list
+ ;; here. for the same reason, looking for the matching paren by hand
+ ;; is pretty complicated. however, balanced parentheses can only be
+ ;; used to enclose entire entries (or @STRINGs or @PREAMBLEs) so we
+ ;; can be pretty sure we'll find it right before the next @ at the
+ ;; start of a line, or right before the end of the file.
+ (re-search-forward "^@" nil 0)
+ (skip-chars-backward "@ \n\t\f")
+ (forward-char -1)
+ (if (eq (char-after) ?\))
+ t
+ (goto-char (1+ (point-min)))
+ (error "")))
+ (error (ebib-log 'error "Error in line %d: Matching closing parenthesis not found!" (line-number-at-pos))
+ nil)))
+ (t nil)))
+
+(defun ebib-match-delim-forward (limit)
+ "Moves forward to the closing delimiter matching the opening delimiter at POINT.
+This function handles braces {} and double quotes \"\". Does not
+search/move beyond LIMIT. Returns T if a matching delimiter was
+found, NIL otherwise. If point was not at an opening delimiter at
+all, NIL is returned and point is not moved. If point was at an
+opening delimiter but no matching closing delimiter was found, an
+error is logged and point is moved one character forward to allow
+parsing to continue."
+ (cond
+ ((eq (char-after) ?\")
+ (ebib-match-quote-forward limit))
+ ((eq (char-after) ?\{)
+ (ebib-match-brace-forward limit))
+ (t nil)))
+
+(defun ebib-match-brace-forward (limit)
+ "Moves forward to the closing brace matching the opening brace at POINT.
+Does not search/move beyond LIMIT. Returns T if a matching brace
+was found, NIL otherwise. If point was not at an opening brace at
+all, NIL is returned and point is not moved. If point was at an
+opening brace but no matching closing brace was found, an error
+is logged and point is moved one character forward to allow
+parsing to continue."
+ (when (eq (char-after) ?\{) ; make sure we're really on a brace, otherwise return nil
+ (condition-case nil
+ (save-restriction
+ (narrow-to-region (point) limit)
+ (progn
+ (forward-list)
+ ;; all of ebib expects that point moves to the closing
+ ;; parenthesis, not right after it, so we adjust.
+ (forward-char -1)
+ t)) ; return t because a matching brace was found
+ (error (progn
+ (ebib-log 'error "Error in line %d: Matching closing brace not found!" (line-number-at-pos))
+ (forward-char 1)
+ nil)))))
+
+(defun ebib-match-quote-forward (limit)
+ "Moves to the closing double quote matching the quote at POINT.
+Does not search/move beyond LIMIT. Returns T if a matching quote
+was found, NIL otherwise. If point was not at a double quote at
+all, NIL is returned and point is not moved. If point was at a
+quote but no matching closing quote was found, an error is logged
+and point is moved one character forward to allow parsing to
+continue."
+ (when (eq (char-after (point)) ?\") ; make sure we're on a double quote.
+ (condition-case nil
+ (save-restriction
+ (narrow-to-region (point) limit)
+ (while (progn
+ (forward-char) ; move forward because we're on a double quote
+ (skip-chars-forward "^\"") ; search the next double quote
+ (eq (char-before) ?\\))) ; if it's preceded by a backslash, keep on searching
+ (or (eq (char-after) ?\")
+ (progn
+ (goto-char (1+ (point-min)))
+ (error ""))))
+ (error (ebib-log 'error "Error in line %d: Matching closing quote not found!" (line-number-at-pos))
+ nil))))
+
+(defun ebib-insert-entry (entry-key fields db &optional sort timestamp)
+ "Stores the entry defined by ENTRY-KEY and FIELDS into DB.
+Optional argument SORT indicates whether the KEYS-LIST must be
+sorted after insertion. Default is NIL. Optional argument
+TIMESTAMP indicates whether a timestamp is to be added to the
+entry. Note that for a timestamp to be added, EBIB-USE-TIMESTAMP
+must also be set to T."
+ (when (and timestamp ebib-use-timestamp)
+ (puthash 'timestamp (from-raw (format-time-string ebib-timestamp-format)) fields))
+ (puthash entry-key fields (edb-database db))
+ (ebib-set-modified t db)
+ (setf (edb-n-entries db) (1+ (edb-n-entries db)))
+ (setf (edb-keys-list db)
+ (if sort
+ (sort (cons entry-key (edb-keys-list db)) 'string<)
+ (cons entry-key (edb-keys-list db)))))
+
+(defun ebib-insert-string (abbr string db &optional sort)
+ "Stores the @STRING definition defined by ABBR and STRING into DB.
+Optional argument SORT indicates whether the STRINGS-LIST must be sorted
+after insertion. When loading or merging a file, for example, it is more
+economic to sort KEYS-LIST manually after all entries in the file have been
+added."
+ (puthash abbr (from-raw string) (edb-strings db))
+ (ebib-set-modified t db)
+ (setf (edb-strings-list db)
+ (if sort
+ (sort (cons abbr (edb-strings-list db)) 'string<)
+ (cons abbr (edb-strings-list db)))))
+
+(defmacro ebib-cur-entry-key ()
+ "Returns the key of the current entry in EBIB-CUR-DB."
+ `(car (edb-cur-entry ebib-cur-db)))
+
+(defun ebib-search-key-in-buffer (entry-key)
+ "Searches ENTRY-KEY in the index buffer.
+
+Moves point to the first character of the key and returns point."
+ (goto-char (point-min))
+ (search-forward entry-key)
+ (beginning-of-line)
+ (point))
+
+;; when we sort entries, we either use string< on the entry keys, or
+;; ebib-entry<, if the user has defined a sort order.
+
+(defun ebib-entry< (x y)
+ "Returns T if entry X is smaller than entry Y.
+The entries are compared based on the fields listed in EBIB-SORT-ORDER. X
+and Y should be keys of entries in the current database."
+ (let* ((sort-list ebib-sort-order)
+ (sortstring-x (to-raw (ebib-get-sortstring x (car sort-list))))
+ (sortstring-y (to-raw (ebib-get-sortstring y (car sort-list)))))
+ (while (and sort-list
+ (string= sortstring-x sortstring-y))
+ (setq sort-list (cdr sort-list))
+ (setq sortstring-x (to-raw (ebib-get-sortstring x (car sort-list))))
+ (setq sortstring-y (to-raw (ebib-get-sortstring y (car sort-list)))))
+ (if (and sortstring-x sortstring-y)
+ (string< sortstring-x sortstring-y)
+ (string< x y))))
+
+(defun ebib-get-sortstring (entry-key sortkey-list)
+ "Returns the field value on which the entry ENTRY-KEY is to be sorted.
+ENTRY-KEY must be the key of an entry in the current database. SORTKEY-LIST
+is a list of fields that are considered in order for the sort value."
+ (let ((sort-string nil))
+ (while (and sortkey-list
+ (null (setq sort-string (gethash (car sortkey-list)
+ (ebib-retrieve-entry entry-key ebib-cur-db)))))
+ (setq sortkey-list (cdr sortkey-list)))
+ sort-string))
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;; main program execution ;;
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+;;;###autoload
+(defun ebib ()
+ "Ebib, a BibTeX database manager."
+ (interactive)
+ (if (or (equal (window-buffer) ebib-index-buffer)
+ (equal (window-buffer) ebib-entry-buffer))
+ (error "Ebib already active")
+ ;; we save the buffer from which ebib is called
+ (setq ebib-push-buffer (current-buffer))
+ ;; initialize ebib if required
+ (unless ebib-initialized
+ (ebib-init)
+ (if ebib-preload-bib-files
+ (mapc #'(lambda (file)
+ (ebib-load-bibtex-file file))
+ ebib-preload-bib-files)))
+ ;; if ebib is visible, we just switch to the index buffer
+ (let ((index-window (get-buffer-window ebib-index-buffer)))
+ (if index-window
+ (select-window index-window nil)
+ (ebib-setup-windows)))))
+
+(defun ebib-setup-windows ()
+ "Creates the window configuration we want for Ebib in the
+current window."
+ ;; we save the current window configuration.
+ (setq ebib-saved-window-config (current-window-configuration))
+ (if (eq ebib-layout 'full)
+ (delete-other-windows)
+ (setq ebib-pre-ebib-window (selected-window))
+ (let ((ebib-window (split-window (selected-window) (- (window-width) ebib-layout) t)))
+ (select-window ebib-window nil)))
+ (let* ((index-window (selected-window))
+ (entry-window (split-window index-window ebib-index-window-size)))
+ (switch-to-buffer ebib-index-buffer)
+ (set-window-buffer entry-window ebib-entry-buffer)
+ (unless (eq ebib-layout 'full)
+ (set-window-dedicated-p index-window t)
+ (set-window-dedicated-p entry-window t))))
+
+(defun ebib-init ()
+ "Initialises Ebib.
+This function sets all variables to their initial values, creates the
+buffers and reads the rc file."
+ (setq ebib-cur-entry-hash nil
+ ebib-current-field nil
+ ebib-minibuf-hist nil
+ ebib-saved-window-config nil)
+ (put 'timestamp 'ebib-hidden t)
+ (load "~/.ebibrc" t)
+ (ebib-create-buffers)
+ (setq ebib-index-highlight (ebib-make-highlight 1 1 ebib-index-buffer))
+ (setq ebib-fields-highlight (ebib-make-highlight 1 1 ebib-entry-buffer))
+ (setq ebib-strings-highlight (ebib-make-highlight 1 1 ebib-strings-buffer))
+ (setq ebib-initialized t))
+
+(defun ebib-create-buffers ()
+ "Creates the buffers for Ebib."
+ ;; first we create a buffer for multiline editing. this one does *not*
+ ;; have a name beginning with a space, because undo-info is normally
+ ;; present in an edit buffer.
+ (setq ebib-multiline-buffer (get-buffer-create "*Ebib-edit*"))
+ (set-buffer ebib-multiline-buffer)
+ (ebib-multiline-edit-mode)
+ ;; then we create a buffer to hold the fields of the current entry.
+ (setq ebib-entry-buffer (get-buffer-create " *Ebib-entry*"))
+ (set-buffer ebib-entry-buffer)
+ (ebib-entry-mode)
+ ;; then we create a buffer to hold the @STRING definitions
+ (setq ebib-strings-buffer (get-buffer-create " *Ebib-strings*"))
+ (set-buffer ebib-strings-buffer)
+ (ebib-strings-mode)
+ ;; the log buffer
+ (setq ebib-log-buffer (get-buffer-create " *Ebib-log*"))
+ (set-buffer ebib-log-buffer)
+ (erase-buffer)
+ (insert "Ebib log messages\n\n(Press C-v or SPACE to scroll down, M-v or `b' to scroll up, `q' to quit.)\n\n\n")
+ (ebib-log-mode)
+ ;; and lastly we create a buffer for the entry keys.
+ (setq ebib-index-buffer (get-buffer-create " none"))
+ (set-buffer ebib-index-buffer)
+ (ebib-index-mode))
+
+(defun ebib-quit ()
+ "Quits Ebib.
+The Ebib buffers are killed, all variables except the keymaps are set to nil."
+ (interactive)
+ (when (if (ebib-modified-p)
+ (yes-or-no-p "There are modified databases. Quit anyway? ")
+ (y-or-n-p "Quit Ebib? "))
+ (mapc #'(lambda (buffer)
+ (kill-buffer buffer))
+ (list ebib-entry-buffer
+ ebib-index-buffer
+ ebib-strings-buffer
+ ebib-multiline-buffer
+ ebib-log-buffer))
+ (setq ebib-databases nil
+ ebib-index-buffer nil
+ ebib-entry-buffer nil
+ ebib-initialized nil
+ ebib-index-highlight nil
+ ebib-fields-highlight nil
+ ebib-strings-highlight nil
+ ebib-export-filename nil
+ ebib-pre-ebib-window nil)
+ (set-window-configuration ebib-saved-window-config)
+ (message "")))
+
+(defun ebib-kill-emacs-query-function ()
+ "Ask if the user wants to save the database loaded in Ebib when Emacs is
+killed and the database has been modified."
+ (if (not (ebib-modified-p))
+ t
+ (if (y-or-n-p "Save all unsaved Ebib databases? ")
+ (progn
+ (ebib-save-all-databases)
+ t)
+ (yes-or-no-p "Ebib database was modified. Kill anyway? "))))
+
+(add-hook 'kill-emacs-query-functions 'ebib-kill-emacs-query-function)
+
+;;;;;;;;;;;;;;;;
+;; index-mode ;;
+;;;;;;;;;;;;;;;;
+
+(eval-and-compile
+ (define-prefix-command 'ebib-prefix-map)
+ (suppress-keymap ebib-prefix-map)
+ (defvar ebib-prefixed-functions '(ebib-delete-entry
+ ebib-latex-entries
+ ebib-mark-entry
+ ebib-print-entries
+ ebib-push-bibtex-key
+ ebib-export-entry)))
+
+;; macro to redefine key bindings.
+
+(defmacro ebib-key (buffer key &optional command)
+ (cond
+ ((eq buffer 'index)
+ (let ((one `(define-key ebib-index-mode-map ,key (quote ,command)))
+ (two (when (or (null command)
+ (member command ebib-prefixed-functions))
+ `(define-key ebib-prefix-map ,key (quote ,command)))))
+ (if two
+ `(progn ,one ,two)
+ one)))
+ ((eq buffer 'entry)
+ `(define-key ebib-entry-mode-map ,key (quote ,command)))
+ ((eq buffer 'strings)
+ `(define-key ebib-strings-mode-map ,key (quote ,command)))
+ ((eq buffer 'mark-prefix)
+ `(progn
+ (define-key ebib-index-mode-map (format "%c" ebib-prefix-key) nil)
+ (define-key ebib-index-mode-map ,key 'ebib-prefix-map)
+ (setq ebib-prefix-key (string-to-char ,key))))))
+
+(defvar ebib-index-mode-map
+ (let ((map (make-keymap)))
+ (suppress-keymap map)
+ map)
+ "Keymap for the ebib index buffer.")
+
+;; we define the keys with ebib-key rather than with define-key, because
+;; that automatically sets up ebib-prefix-map as well.
+(ebib-key index [up] ebib-prev-entry)
+(ebib-key index [down] ebib-next-entry)
+(ebib-key index [right] ebib-next-database)
+(ebib-key index [left] ebib-prev-database)
+(ebib-key index [prior] ebib-index-scroll-down)
+(ebib-key index [next] ebib-index-scroll-up)
+(ebib-key index [home] ebib-goto-first-entry)
+(ebib-key index [end] ebib-goto-last-entry)
+(ebib-key index [return] ebib-select-entry)
+(ebib-key index " " ebib-index-scroll-up)
+(ebib-key index "/" ebib-search)
+(ebib-key index "&" ebib-virtual-db-and)
+(ebib-key index "|" ebib-virtual-db-or)
+(ebib-key index "~" ebib-virtual-db-not)
+(ebib-key index ";" ebib-prefix-map)
+(ebib-key index "a" ebib-add-entry)
+(ebib-key index "b" ebib-index-scroll-down)
+(ebib-key index "c" ebib-close-database)
+(ebib-key index "C" ebib-customize)
+(ebib-key index "d" ebib-delete-entry)
+(ebib-key index "e" ebib-edit-entry)
+(ebib-key index "E" ebib-edit-keyname)
+(ebib-key index "f" ebib-view-file)
+(ebib-key index "F" ebib-follow-crossref)
+(ebib-key index "g" ebib-goto-first-entry)
+(ebib-key index "G" ebib-goto-last-entry)
+(ebib-key index "H" ebib-toggle-hidden)
+(ebib-key index "j" ebib-next-entry)
+(ebib-key index "J" ebib-switch-to-database)
+(ebib-key index "k" ebib-prev-entry)
+(ebib-key index "l" ebib-show-log)
+(ebib-key index "L" ebib-latex-entries)
+(ebib-key index "m" ebib-mark-entry)
+(ebib-key index "M" ebib-merge-bibtex-file)
+(ebib-key index "n" ebib-search-next)
+(ebib-key index "N" ebib-search-crossref)
+(ebib-key index [(control n)] ebib-next-entry)
+(ebib-key index [(meta n)] ebib-index-scroll-up)
+(ebib-key index "o" ebib-load-bibtex-file)
+(ebib-key index "p" ebib-push-bibtex-key)
+(ebib-key index [(control p)] ebib-prev-entry)
+(ebib-key index [(meta p)] ebib-index-scroll-down)
+(ebib-key index "P" ebib-print-entries)
+(ebib-key index "r" ebib-edit-preamble)
+(ebib-key index "q" ebib-quit)
+(ebib-key index "s" ebib-save-current-database)
+(ebib-key index "S" ebib-save-all-databases)
+(ebib-key index "t" ebib-edit-strings)
+(ebib-key index "u" ebib-browse-url)
+(ebib-key index "V" ebib-print-filter)
+(ebib-key index "w" ebib-write-database)
+(ebib-key index "x" ebib-export-entry)
+(ebib-key index "\C-xb" ebib-leave-ebib-windows)
+(ebib-key index "\C-xk" ebib-quit)
+(ebib-key index "X" ebib-export-preamble)
+(ebib-key index "z" ebib-leave-ebib-windows)
+(ebib-key index "Z" ebib-lower)
+
+(defun ebib-switch-to-database-nth (key)
+ (interactive (list (if (featurep 'xemacs)
+ (event-key last-command-event)
+ last-command-event)))
+ (ebib-switch-to-database (- (if (featurep 'xemacs)
+ (char-to-int key)
+ key) 48)))
+
+(mapc #'(lambda (key)
+ (define-key ebib-index-mode-map (format "%d" key)
+ 'ebib-switch-to-database-nth))
+ '(1 2 3 4 5 6 7 8 9))
+
+(define-derived-mode ebib-index-mode
+ fundamental-mode "Ebib-index"
+ "Major mode for the Ebib index buffer."
+ (setq buffer-read-only t)
+ (setq truncate-lines t))
+
+(defun ebib-fill-index-buffer ()
+ "Fills the index buffer with the list of keys in EBIB-CUR-DB.
+If EBIB-CUR-DB is nil, the buffer is just erased and its name set
+to \"none\"."
+ (set-buffer ebib-index-buffer)
+ (let ((buffer-read-only nil))
+ (erase-buffer)
+ (if ebib-cur-db
+ (progn
+ ;; we may call this function when there are no entries in the
+ ;; database. if so, we don't need to do this:
+ (when (edb-cur-entry ebib-cur-db)
+ (mapc #'(lambda (entry)
+ (ebib-display-entry entry)
+ (when (member entry (edb-marked-entries ebib-cur-db))
+ (save-excursion
+ (let ((beg (progn
+ (beginning-of-line)
+ (point))))
+ (skip-chars-forward "^ ")
+ (add-text-properties beg (point) '(face ebib-marked-face))))))
+ (edb-keys-list ebib-cur-db))
+ (goto-char (point-min))
+ (re-search-forward (format "^%s " (ebib-cur-entry-key)))
+ (beginning-of-line)
+ (ebib-set-index-highlight))
+ (set-buffer-modified-p (edb-modified ebib-cur-db))
+ (rename-buffer (concat (format " %d:" (1+ (- (length ebib-databases)
+ (length (member ebib-cur-db ebib-databases)))))
+ (edb-name ebib-cur-db))))
+ (rename-buffer " none"))))
+
+(defun ebib-customize ()
+ "Switches to Ebib's customisation group."
+ (interactive)
+ (ebib-lower)
+ (customize-group 'ebib))
+
+(defun ebib-log (type format-string &rest args)
+ "Writes a message to Ebib's log buffer.
+TYPE (a symbol) is the type of message. It can be LOG, which
+writes the message to the log buffer only; MESSAGE, which writes
+the message to the log buffer and outputs it with the function
+MESSAGE; WARNING, which logs the message and sets the variable
+EBIB-LOG-ERROR to 0; or ERROR, which logs the message and sets
+the variable EBIB-LOG-ERROR to 1. The latter two can be used to
+signal the user to check the log for warnings or errors."
+ (save-excursion
+ (set-buffer ebib-log-buffer)
+ (cond
+ ((eq type 'warning)
+ (or ebib-log-error ; if ebib-error-log is already set to 1, we don't want to overwrite it!
+ (setq ebib-log-error 0)))
+ ((eq type 'error)
+ (setq ebib-log-error 1))
+ ((eq type 'message)
+ (apply 'message format-string args)))
+ (insert (apply 'format (concat format-string "\n") args))))
+
+(defun ebib-load-bibtex-file (&optional file)
+ "Loads a BibTeX file into Ebib."
+ (interactive)
+ (unless file
+ (setq file (ensure-extension (read-file-name "File to open: " "~/") "bib")))
+ (setq ebib-cur-db (ebib-create-new-database))
+ (setf (edb-filename ebib-cur-db) (expand-file-name file))
+ (setf (edb-name ebib-cur-db) (file-name-nondirectory (edb-filename ebib-cur-db)))
+ (setq ebib-log-error nil) ; we haven't found any errors
+ (ebib-log 'log "%s: Opening file %s" (format-time-string "%d %b %Y, %H:%M:%S") (edb-filename ebib-cur-db))
+ ;; first, we empty the buffers
+ (ebib-erase-buffer ebib-index-buffer)
+ (ebib-erase-buffer ebib-entry-buffer)
+ (if (file-readable-p file)
+ ;; if the user entered the name of an existing file, we load it
+ ;; by putting it in a buffer and then parsing it.
+ (with-temp-buffer
+ (with-syntax-table ebib-syntax-table
+ (insert-file-contents file)
+ ;; if the user makes any changes, we'll want to create a back-up.
+ (setf (edb-make-backup ebib-cur-db) t)
+ (let ((result (ebib-find-bibtex-entries nil)))
+ (setf (edb-n-entries ebib-cur-db) (car result))
+ (when (edb-keys-list ebib-cur-db)
+ (setf (edb-keys-list ebib-cur-db) (sort (edb-keys-list ebib-cur-db) 'string<)))
+ (when (edb-strings-list ebib-cur-db)
+ (setf (edb-strings-list ebib-cur-db) (sort (edb-strings-list ebib-cur-db) 'string<)))
+ (setf (edb-cur-entry ebib-cur-db) (edb-keys-list ebib-cur-db))
+ ;; and fill the buffers. note that filling a buffer also makes
+ ;; that buffer active. therefore we do EBIB-FILL-INDEX-BUFFER
+ ;; later.
+ (ebib-set-modified nil)
+ (ebib-fill-entry-buffer)
+ ;; and now we tell the user the result
+ (ebib-log 'message "%d entries, %d @STRINGs and %s @PREAMBLE found in file."
+ (car result)
+ (cadr result)
+ (if (caddr result)
+ "a"
+ "no")))))
+ ;; if the file does not exist, we need to issue a message.
+ (ebib-log 'message "(New file)"))
+ ;; what we have to do in *any* case, is fill the index buffer. (this
+ ;; even works if there are no keys in the database, e.g. when the
+ ;; user opened a new file or if no BibTeX entries were found.
+ (ebib-fill-index-buffer)
+ (when ebib-log-error
+ (message "%s found! Press `l' to check Ebib log buffer." (nth ebib-log-error '("Warnings" "Errors"))))
+ (ebib-log 'log "\n\f\n"))
+
+(defun ebib-merge-bibtex-file ()
+ "Merges a BibTeX file into the database."
+ (interactive)
+ (unless (edb-virtual ebib-cur-db)
+ (if (not ebib-cur-db)
+ (error "No database loaded. Use `o' to open a database")
+ (let ((file (read-file-name "File to merge: ")))
+ (setq ebib-log-error nil) ; we haven't found any errors
+ (ebib-log 'log "%s: Merging file %s" (format-time-string "%d-%b-%Y: %H:%M:%S") (edb-filename ebib-cur-db))
+ (with-temp-buffer
+ (with-syntax-table ebib-syntax-table
+ (insert-file-contents file)
+ (let ((n (ebib-find-bibtex-entries t)))
+ (setf (edb-keys-list ebib-cur-db) (sort (edb-keys-list ebib-cur-db) 'string<))
+ (setf (edb-n-entries ebib-cur-db) (length (edb-keys-list ebib-cur-db)))
+ (when (edb-strings-list ebib-cur-db)
+ (setf (edb-strings-list ebib-cur-db) (sort (edb-strings-list ebib-cur-db) 'string<)))
+ (setf (edb-cur-entry ebib-cur-db) (edb-keys-list ebib-cur-db))
+ (ebib-fill-entry-buffer)
+ (ebib-fill-index-buffer)
+ (ebib-set-modified t)
+ (ebib-log 'message "%d entries, %d @STRINGs and %s @PREAMBLE found in file."
+ (car n)
+ (cadr n)
+ (if (caddr n)
+ "a"
+ "no"))
+ (when ebib-log-error
+ (message "%s found! Press `l' to check Ebib log buffer." (nth ebib-log-error '("Warnings" "Errors"))))
+ (ebib-log 'log "\n\f\n"))))))))
+
+(defun ebib-find-bibtex-entries (timestamp)
+ "Finds the BibTeX entries in the current buffer.
+The search is started at the beginnig of the buffer. All entries
+found are stored in the hash table DATABASE of
+EBIB-CUR-DB. Returns a three-element list: the first element is
+the number of entries found, the second the number of @STRING
+definitions, and the third is T or NIL, indicating whether a
+@PREAMBLE was found.
+
+TIMESTAMP indicates whether a timestamp is to be added to each
+entry. Note that a timestamp is only added if EBIB-USE-TIMESTAMP
+is set to T."
+ (let ((n-entries 0)
+ (n-strings 0)
+ (preamble nil))
+ (goto-char (point-min))
+ (while (re-search-forward "^@" nil t) ; find the next entry
+ (let ((beg (point)))
+ (when (looking-at-goto-end (concat "\\(" ebib-bibtex-identifier "\\)[[:space:]]*[\(\{]") 1)
+ (let ((entry-type (downcase (buffer-substring-no-properties beg (point)))))
+ (looking-at-goto-end "[[:space:]]*[\(\{]")
+ (cond
+ ((equal entry-type "string") ; string and preamble must be treated differently
+ (if (ebib-read-string)
+ (setq n-strings (1+ n-strings))))
+ ((equal entry-type "preamble")
+ (when (ebib-read-preamble)
+ (setq preamble t)))
+ ((equal entry-type "comment") ; ignore comments
+ (ebib-log 'log "Comment at line %d ignored" (line-number-at-pos))
+ (ebib-match-paren-forward (point-max)))
+ ((assoc (intern-soft entry-type) ebib-entry-types) ; if the entry type has been defined
+ (if (ebib-read-entry entry-type timestamp)
+ (setq n-entries (1+ n-entries))))
+ ;; anything else we report as an unknown entry type.
+ (t (ebib-log 'warning "Line %d: Unknown entry type `%s'. Skipping." (line-number-at-pos) entry-type)
+ (ebib-match-paren-forward (point-max))))))))
+ (list n-entries n-strings preamble)))
+
+(defun ebib-read-string ()
+ "Reads the @STRING definition beginning at the line POINT is on.
+If a proper abbreviation and string are found, they are stored in the
+database. Returns the string if one was read, nil otherwise."
+ (let ((limit (save-excursion ; we find the matching end parenthesis
+ (backward-char)
+ (ebib-match-paren-forward (point-max))
+ (point))))
+ (skip-chars-forward "\"#%'(),={} \n\t\f" limit)
+ (let ((beg (point)))
+ (when (looking-at-goto-end (concat "\\(" ebib-bibtex-identifier "\\)[ \t\n\f]*=") 1)
+ (if-str (abbr (buffer-substring-no-properties beg (point)))
+ (progn
+ (skip-chars-forward "^\"{" limit)
+ (let ((beg (point)))
+ (if-str (string (if (ebib-match-delim-forward limit)
+ (buffer-substring-no-properties beg (1+ (point)))
+ nil))
+ (if (member abbr (edb-strings-list ebib-cur-db))
+ (ebib-log 'warning (format "Line %d: @STRING definition `%s' duplicated. Skipping."
+ (line-number-at-pos) abbr))
+ (ebib-insert-string abbr string ebib-cur-db))))))))))
+
+(defun ebib-read-preamble ()
+ "Reads the @PREAMBLE definition and stores it in EBIB-PREAMBLE.
+If there was already another @PREAMBLE definition, the new one is
+added to the existing one with a hash sign `#' between them."
+ (let ((beg (point)))
+ (forward-char -1)
+ (when (ebib-match-paren-forward (point-max))
+ (let ((text (buffer-substring-no-properties beg (point))))
+ (if (edb-preamble ebib-cur-db)
+ (setf (edb-preamble ebib-cur-db) (concat (edb-preamble ebib-cur-db) "\n# " text))
+ (setf (edb-preamble ebib-cur-db) text))))))
+
+(defun ebib-read-entry (entry-type &optional timestamp)
+ "Reads a BibTeX entry and stores it in DATABASE of EBIB-CUR-DB.
+Returns the new EBIB-KEYS-LIST if an entry was found, nil
+otherwise. Optional argument TIMESTAMP indicates whether a
+timestamp is to be added. (Whether a timestamp is actually added,
+also depends on EBIB-USE-TIMESTAMP.)"
+ (let ((entry-limit (save-excursion
+ (backward-char)
+ (ebib-match-paren-forward (point-max))
+ (point)))
+ (beg (progn
+ (skip-chars-forward " \n\t\f") ; note the space!
+ (point))))
+ (when (looking-at-goto-end (concat "\\("
+ ebib-bibtex-identifier
+ "\\)[ \t\n\f]*,")
+ 1) ; this delimits the entry key
+ (let ((entry-key (buffer-substring-no-properties beg (point))))
+ (if (member entry-key (edb-keys-list ebib-cur-db))
+ (ebib-log 'warning "Line %d: Entry `%s' duplicated. Skipping." (line-number-at-pos) entry-key)
+ (let ((fields (ebib-find-bibtex-fields (intern-soft entry-type) entry-limit)))
+ (when fields ; if fields were found, we store them, and return T.
+ (ebib-insert-entry entry-key fields ebib-cur-db nil timestamp)
+ t)))))))
+
+(defun ebib-find-bibtex-fields (entry-type limit)
+ "Finds the fields of the BibTeX entry that starts on the line POINT is on.
+Returns a hash table containing all the fields and values, or NIL
+if none were found. ENTRY-TYPE is the type of the entry, which
+will be recorded in the hash table. Before the search starts,
+POINT is moved back to the beginning of the line."
+ (beginning-of-line)
+ ;; we assign a function to fn in order to avoid putting the test on
+ ;; ebib-allow-identical-fields in the while loop, where it would get
+ ;; tested with every field being read.
+ (let ((fn (if (not ebib-allow-identical-fields)
+ (symbol-function 'puthash)
+ #'(lambda (field-type field-contents fields)
+ (let ((existing-contents (gethash field-type fields)))
+ (puthash field-type (if existing-contents
+ (from-raw (concat (to-raw existing-contents)
+ "; "
+ (to-raw field-contents)))
+ field-contents)
+ fields))))))
+ (let ((fields (make-hash-table :size 15)))
+ (while (progn
+ (skip-chars-forward "^," limit) ; we must move to the next comma,
+ (eq (char-after) ?,)) ; and make sure we are really on a comma.
+ (skip-chars-forward "\"#%'(),={} \n\t\f" limit)
+ (let ((beg (point)))
+ (when (looking-at-goto-end (concat "\\(" ebib-bibtex-identifier "\\)[ \t\n\f]*=") 1)
+ (let ((field-type (intern (downcase (buffer-substring-no-properties beg (point))))))
+ (unless (eq field-type 'type*) ; the 'type*' key holds the entry type, so we can't use it
+ (let ((field-contents (ebib-get-field-contents limit)))
+ (when field-contents
+ (funcall fn field-type field-contents fields))))))))
+ (when (> (hash-table-count fields) 0)
+ (puthash 'type* entry-type fields)
+ fields))))
+
+(defun ebib-get-field-contents (limit)
+ "Gets the contents of a BibTeX field.
+LIMIT indicates the end of the entry, beyond which the function will not
+search."
+ (skip-chars-forward "#%'(),=} \n\t\f" limit)
+ (let ((beg (point)))
+ (buffer-substring-no-properties beg (ebib-find-end-of-field limit))))
+
+(defun ebib-find-end-of-field (limit)
+ "Moves POINT to the end of a field's contents and returns POINT.
+The contents of a field is delimited by a comma or by the closing brace of
+the entry. The latter is at position LIMIT."
+ (while (and (not (eq (char-after) ?\,))
+ (< (point) limit))
+ (ebib-match-delim-forward limit) ; check if we're on a delimiter and if so, jump to the matching closing delimiter
+ (forward-char 1))
+ (if (= (point) limit)
+ (skip-chars-backward " \n\t\f"))
+ (point))
+
+(defun ebib-leave-ebib-windows ()
+ "Leaves the Ebib windows, lowering them if necessary."
+ (interactive)
+ (ebib-lower t))
+
+(defun ebib-lower (&optional soft)
+ "Hides the Ebib windows.
+If optional argument SOFT is non-nil, just switch to a non-Ebib
+buffer if Ebib is not occupying the entire frame."
+ (interactive)
+ (unless (member (window-buffer) (list ebib-index-buffer
+ ebib-entry-buffer
+ ebib-strings-buffer
+ ebib-multiline-buffer
+ ebib-log-buffer))
+ (error "Ebib is not active "))
+ (if (and soft
+ (not (eq ebib-layout 'full)))
+ (select-window ebib-pre-ebib-window nil)
+ (set-window-configuration ebib-saved-window-config))
+ (mapc #'(lambda (buffer)
+ (bury-buffer buffer))
+ (list ebib-index-buffer
+ ebib-entry-buffer
+ ebib-strings-buffer
+ ebib-multiline-buffer
+ ebib-log-buffer)))
+
+(defun ebib-prev-entry ()
+ "Moves to the previous BibTeX entry."
+ (interactive)
+ (ebib-execute-when
+ ((entries)
+ ;; if the current entry is the first entry,
+ (if (eq (edb-cur-entry ebib-cur-db) (edb-keys-list ebib-cur-db))
+ (beep) ; just beep.
+ (setf (edb-cur-entry ebib-cur-db) (last (edb-keys-list ebib-cur-db)
+ (1+ (length (edb-cur-entry ebib-cur-db)))))
+ (goto-char (ebib-highlight-start ebib-index-highlight))
+ (forward-line -1)
+ (ebib-set-index-highlight)
+ (ebib-fill-entry-buffer)))
+ ((default)
+ (beep))))
+
+(defun ebib-next-entry ()
+ "Moves to the next BibTeX entry."
+ (interactive)
+ (ebib-execute-when
+ ((entries)
+ (if (= (length (edb-cur-entry ebib-cur-db)) 1) ; if we're on the last entry,
+ (beep) ; just beep.
+ (setf (edb-cur-entry ebib-cur-db)
+ (last (edb-keys-list ebib-cur-db) (1- (length (edb-cur-entry ebib-cur-db)))))
+ (goto-char (ebib-highlight-start ebib-index-highlight))
+ (forward-line 1)
+ (ebib-set-index-highlight)
+ (ebib-fill-entry-buffer)))
+ ((default)
+ (beep))))
+
+(defun ebib-add-entry ()
+ "Adds a new entry to the database."
+ (interactive)
+ (ebib-execute-when
+ ((real-db)
+ (if-str (entry-key (read-string "New entry key: "))
+ (progn
+ (if (member entry-key (edb-keys-list ebib-cur-db))
+ (error "Key already exists")
+ (set-buffer ebib-index-buffer)
+ (sort-in-buffer (1+ (edb-n-entries ebib-cur-db)) entry-key)
+ ;; we create the hash table *before* the call to
+ ;; ebib-display-entry, because that function refers to the
+ ;; hash table if ebib-index-display-fields is set.
+ (let ((fields (make-hash-table)))
+ (puthash 'type* ebib-default-type fields)
+ (ebib-insert-entry entry-key fields ebib-cur-db t t))
+ (with-buffer-writable
+ (ebib-display-entry entry-key))
+ (forward-line -1) ; move one line up to position the cursor on the new entry.
+ (ebib-set-index-highlight)
+ (setf (edb-cur-entry ebib-cur-db) (member entry-key (edb-keys-list ebib-cur-db)))
+ (ebib-fill-entry-buffer)
+ (ebib-edit-entry)
+ (ebib-set-modified t)))))
+ ((no-database)
+ (error "No database open. Use `o' to open a database first"))
+ ((default)
+ (beep))))
+
+(defun ebib-close-database ()
+ "Closes the current BibTeX database."
+ (interactive)
+ (ebib-execute-when
+ ((database)
+ (when (if (edb-modified ebib-cur-db)
+ (yes-or-no-p "Database modified. Close it anyway? ")
+ (y-or-n-p "Close database? "))
+ (let ((to-be-deleted ebib-cur-db)
+ (new-db (next-elem ebib-cur-db ebib-databases)))
+ (setq ebib-databases (delete to-be-deleted ebib-databases))
+ (if ebib-databases ; do we still have another database loaded?
+ (progn
+ (setq ebib-cur-db (or new-db
+ (last1 ebib-databases)))
+ (unless (edb-cur-entry ebib-cur-db)
+ (setf (edb-cur-entry ebib-cur-db) (edb-keys-list ebib-cur-db)))
+ (ebib-fill-entry-buffer)
+ (ebib-fill-index-buffer))
+ ;; otherwise, we have to clean up a little and empty all the buffers.
+ (setq ebib-cur-db nil)
+ (mapc #'(lambda (buf) ; this is just to avoid typing almost the same thing three times...
+ (set-buffer (car buf))
+ (with-buffer-writable
+ (erase-buffer))
+ (ebib-delete-highlight (cadr buf)))
+ (list (list ebib-entry-buffer ebib-fields-highlight)
+ (list ebib-index-buffer ebib-index-highlight)
+ (list ebib-strings-buffer ebib-strings-highlight)))
+ ;; multiline edit buffer
+ (set-buffer ebib-multiline-buffer)
+ (with-buffer-writable
+ (erase-buffer))
+ (set-buffer ebib-index-buffer)
+ (rename-buffer " none"))
+ (message "Database closed."))))))
+
+(defun ebib-goto-first-entry ()
+ "Moves to the first BibTeX entry in the database."
+ (interactive)
+ (ebib-execute-when
+ ((entries)
+ (setf (edb-cur-entry ebib-cur-db) (edb-keys-list ebib-cur-db))
+ (set-buffer ebib-index-buffer)
+ (goto-char (point-min))
+ (ebib-set-index-highlight)
+ (ebib-fill-entry-buffer))
+ ((default)
+ (beep))))
+
+(defun ebib-goto-last-entry ()
+ "Moves to the last entry in the BibTeX database."
+ (interactive)
+ (ebib-execute-when
+ ((entries)
+ (setf (edb-cur-entry ebib-cur-db) (last (edb-keys-list ebib-cur-db)))
+ (set-buffer ebib-index-buffer)
+ (goto-line (edb-n-entries ebib-cur-db))
+ (ebib-set-index-highlight)
+ (ebib-fill-entry-buffer))
+ ((default)
+ (beep))))
+
+(defun ebib-edit-entry ()
+ "Edits the current BibTeX entry."
+ (interactive)
+ (ebib-execute-when
+ ((real-db entries)
+ (setq ebib-cur-entry-hash (ebib-retrieve-entry (ebib-cur-entry-key) ebib-cur-db))
+ (setq ebib-cur-entry-fields (ebib-get-all-fields (gethash 'type* ebib-cur-entry-hash)))
+ (select-window (get-buffer-window ebib-entry-buffer) nil))
+ ((default)
+ (beep))))
+
+(defun ebib-edit-keyname ()
+ "Changes the key of a BibTeX entry."
+ (interactive)
+ (ebib-execute-when
+ ((real-db entries)
+ (let ((cur-keyname (ebib-cur-entry-key)))
+ (if-str (new-keyname (read-string (format "Change `%s' to: " cur-keyname)
+ cur-keyname))
+ (if (member new-keyname (edb-keys-list ebib-cur-db))
+ (error (format "Key `%s' already exists" new-keyname))
+ (unless (string= cur-keyname new-keyname)
+ (let ((fields (ebib-retrieve-entry cur-keyname ebib-cur-db))
+ (marked (member cur-keyname (edb-marked-entries ebib-cur-db))))
+ (ebib-remove-entry-from-db cur-keyname ebib-cur-db)
+ (ebib-remove-key-from-buffer cur-keyname)
+ (ebib-insert-entry new-keyname fields ebib-cur-db t nil)
+ (setf (edb-cur-entry ebib-cur-db) (member new-keyname (edb-keys-list ebib-cur-db)))
+ (sort-in-buffer (edb-n-entries ebib-cur-db) new-keyname)
+ (with-buffer-writable
+ (ebib-display-entry new-keyname))
+ (forward-line -1) ; move one line up to position the cursor on the new entry.
+ (ebib-set-index-highlight)
+ (ebib-set-modified t)
+ (when marked (ebib-mark-entry))))))))
+ ((default)
+ (beep))))
+
+(defun ebib-mark-entry ()
+ "Marks or unmarks the current entry."
+ (interactive)
+ (if (ebib-called-with-prefix)
+ (ebib-execute-when
+ ((marked-entries)
+ (setf (edb-marked-entries ebib-cur-db) nil)
+ (ebib-fill-index-buffer))
+ ((entries)
+ (setf (edb-marked-entries ebib-cur-db) (copy-sequence (edb-keys-list ebib-cur-db)))
+ (ebib-fill-index-buffer))
+ ((default)
+ (beep)))
+ (ebib-execute-when
+ ((entries)
+ (set-buffer ebib-index-buffer)
+ (with-buffer-writable
+ (if (member (ebib-cur-entry-key) (edb-marked-entries ebib-cur-db))
+ (progn
+ (setf (edb-marked-entries ebib-cur-db)
+ (delete (ebib-cur-entry-key) (edb-marked-entries ebib-cur-db)))
+ (remove-text-properties (ebib-highlight-start ebib-index-highlight)
+ (ebib-highlight-end ebib-index-highlight)
+ '(face ebib-marked-face)))
+ (setf (edb-marked-entries ebib-cur-db) (sort (cons (ebib-cur-entry-key)
+ (edb-marked-entries ebib-cur-db))
+ 'string<))
+ (add-text-properties (ebib-highlight-start ebib-index-highlight)
+ (ebib-highlight-end ebib-index-highlight)
+ '(face ebib-marked-face)))))
+ ((default)
+ (beep)))))
+
+(defun ebib-index-scroll-down ()
+ "Moves one page up in the database."
+ (interactive)
+ (ebib-execute-when
+ ((entries)
+ (scroll-down)
+ (ebib-select-entry))
+ ((default)
+ (beep))))
+
+(defun ebib-index-scroll-up ()
+ "Moves one page down in the database."
+ (interactive)
+ (ebib-execute-when
+ ((entries)
+ (scroll-up)
+ (ebib-select-entry))
+ ((default)
+ (beep))))
+
+(defun ebib-format-entry (key db timestamp)
+ "Formats entry KEY from database DB into the current buffer in BibTeX format.
+If TIMESTAMP is T, a timestamp is added to the entry if
+EBIB-USE-TIMESTAMP is T."
+ (let ((entry (ebib-retrieve-entry key db)))
+ (when entry
+ (insert (format "@%s{%s,\n" (gethash 'type* entry) key))
+ (maphash #'(lambda (key value)
+ (unless (or (eq key 'type*)
+ (and (eq key 'timestamp) timestamp ebib-use-timestamp))
+ (insert (format "\t%s = %s,\n" key value))))
+ entry)
+ (if (and timestamp ebib-use-timestamp)
+ (insert (format "\ttimestamp = {%s}" (format-time-string ebib-timestamp-format)))
+ (delete-char -2)) ; the final ",\n" must be deleted
+ (insert "\n}\n\n"))))
+
+(defun ebib-format-strings (db)
+ "Formats the @STRING commands in database DB."
+ (maphash #'(lambda (key value)
+ (insert (format "@STRING{%s = %s}\n" key value)))
+ (edb-strings db))
+ (insert "\n"))
+
+(defun ebib-compare-xrefs (x y)
+ (gethash 'crossref (ebib-retrieve-entry x ebib-cur-db)))
+
+(defun ebib-format-database (db)
+ "Writes database DB into the current buffer in BibTeX format."
+ (when (edb-preamble db)
+ (insert (format "@PREAMBLE{%s}\n\n" (edb-preamble db))))
+ (ebib-format-strings db)
+ (let ((sorted-list (copy-list (edb-keys-list db))))
+ (cond
+ (ebib-save-xrefs-first
+ (setq sorted-list (sort sorted-list 'ebib-compare-xrefs)))
+ (ebib-sort-order
+ (setq sorted-list (sort sorted-list 'ebib-entry<))))
+ (mapc #'(lambda (key) (ebib-format-entry key db nil)) sorted-list)))
+
+(defun ebib-save-database (db)
+ "Saves the database DB."
+ (ebib-execute-when
+ ((real-db)
+ (when (and (edb-make-backup db)
+ (file-exists-p (edb-filename db)))
+ (rename-file (edb-filename db) (concat (edb-filename db) "~") t)
+ (setf (edb-make-backup db) nil))
+ (with-temp-buffer
+ (ebib-format-database db)
+ (write-region (point-min) (point-max) (edb-filename db)))
+ (ebib-set-modified nil db))))
+
+(defun ebib-write-database ()
+ "Writes the current database to a different file.
+Can also be used to change a virtual database into a real one."
+ (interactive)
+ (ebib-execute-when
+ ((database)
+ (if-str (new-filename (read-file-name "Save to file: " "~/"))
+ (progn
+ (with-temp-buffer
+ (ebib-format-database ebib-cur-db)
+ (safe-write-region (point-min) (point-max) new-filename nil nil nil t))
+ ;; if SAFE-WRITE-REGION was cancelled by the user because he
+ ;; didn't want to overwrite an already existing file with his
+ ;; new database, it throws an error, so the next lines will not
+ ;; be executed. hence we can safely set (EDB-FILENAME DB) and
+ ;; (EDB-NAME DB).
+ (setf (edb-filename ebib-cur-db) new-filename)
+ (setf (edb-name ebib-cur-db) (file-name-nondirectory new-filename))
+ (rename-buffer (concat (format " %d:" (1+ (- (length ebib-databases)
+ (length (member ebib-cur-db ebib-databases)))))
+ (edb-name ebib-cur-db)))
+ (ebib-execute-when
+ ((virtual-db)
+ (setf (edb-virtual ebib-cur-db) nil)
+ (setf (edb-database ebib-cur-db)
+ (let ((new-db (make-hash-table :test 'equal)))
+ (mapc #'(lambda (key)
+ (let ((entry (gethash key (edb-database ebib-cur-db))))
+ (when entry
+ (puthash key (copy-hash-table entry) new-db))))
+ (edb-keys-list ebib-cur-db))
+ new-db))))
+ (ebib-set-modified nil))))
+ ((default)
+ (beep))))
+
+(defun ebib-save-current-database ()
+ "Saves the current database."
+ (interactive)
+ (ebib-execute-when
+ ((real-db)
+ (if (not (edb-modified ebib-cur-db))
+ (message "No changes need to be saved.")
+ (ebib-save-database ebib-cur-db)))
+ ((virtual-db)
+ (error "Cannot save a virtual database. Use `w' to write to a file."))))
+
+(defun ebib-save-all-databases ()
+ "Saves all currently open databases if they were modified."
+ (interactive)
+ (ebib-execute-when
+ ((database)
+ (mapc #'(lambda (db)
+ (when (edb-modified db)
+ (ebib-save-database db)))
+ ebib-databases)
+ (message "All databases saved."))))
+
+(defun ebib-print-filename ()
+ "Displays the filename of the current database in the minibuffer."
+ (interactive)
+ (message (edb-filename ebib-cur-db)))
+
+(defun ebib-follow-crossref ()
+ "Goes to the entry mentioned in the crossref field of the current entry."
+ (interactive)
+ (let ((new-cur-entry (to-raw (gethash 'crossref
+ (ebib-retrieve-entry (ebib-cur-entry-key) ebib-cur-db)))))
+ (setf (edb-cur-entry ebib-cur-db)
+ (or (member new-cur-entry (edb-keys-list ebib-cur-db))
+ (edb-cur-entry ebib-cur-db))))
+ (ebib-fill-entry-buffer)
+ (ebib-fill-index-buffer))
+
+(defun ebib-toggle-hidden ()
+ (interactive)
+ (setq ebib-hide-hidden-fields (not ebib-hide-hidden-fields))
+ (ebib-fill-entry-buffer))
+
+(defun ebib-delete-entry ()
+ "Deletes the current entry from the database."
+ (interactive)
+ (if (ebib-called-with-prefix)
+ (ebib-execute-when
+ ((real-db marked-entries)
+ (when (y-or-n-p "Delete all marked entries? ")
+ (mapc #'(lambda (entry)
+ (ebib-remove-entry-from-db entry ebib-cur-db (not (string= entry (ebib-cur-entry-key)))))
+ (edb-marked-entries ebib-cur-db))
+ (message "Marked entries deleted.")
+ (ebib-set-modified t)
+ (ebib-fill-entry-buffer)
+ (ebib-fill-index-buffer)))
+ ((default)
+ (beep)))
+ (ebib-execute-when
+ ((real-db entries)
+ (let ((cur-entry (ebib-cur-entry-key)))
+ (when (y-or-n-p (format "Delete %s? " cur-entry))
+ (ebib-remove-entry-from-db cur-entry ebib-cur-db)
+ (ebib-remove-key-from-buffer cur-entry)
+ (ebib-fill-entry-buffer)
+ (ebib-set-modified t)
+ (message (format "Entry `%s' deleted." cur-entry)))))
+ ((default)
+ (beep)))))
+
+(defun ebib-remove-entry-from-db (entry-key db &optional new-cur-entry)
+ "Removes ENTRY-KEY from DB.
+Optional argument NEW-CUR-ENTRY is the key of the entry that is
+to become the new current entry. It it is NIL, the entry after
+the deleted one becomes the new current entry. If it is T, the
+current entry is not changed."
+ (remhash entry-key (edb-database db))
+ (setf (edb-n-entries db) (1- (edb-n-entries db)))
+ (cond
+ ((null new-cur-entry) (setq new-cur-entry (cadr (edb-cur-entry db))))
+ ((stringp new-cur-entry) t)
+ (t (setq new-cur-entry (ebib-cur-entry-key))))
+ (setf (edb-keys-list db) (delete entry-key (edb-keys-list db)))
+ (setf (edb-marked-entries db) (delete entry-key (edb-marked-entries db)))
+ (setf (edb-cur-entry db) (member new-cur-entry (edb-keys-list db)))
+ (unless (edb-cur-entry db) ; if (edb-cur-entry db) is nil, we deleted the last entry.
+ (setf (edb-cur-entry db) (last (edb-keys-list db)))))
+
+(defun ebib-remove-key-from-buffer (entry-key)
+ "Removes ENTRY-KEY from the index buffer and highlights the current entry."
+ (with-buffer-writable
+ (let ((beg (ebib-search-key-in-buffer entry-key)))
+ (forward-line 1)
+ (delete-region beg (point))))
+ (ebib-execute-when
+ ((entries)
+ (ebib-search-key-in-buffer (ebib-cur-entry-key))
+ (ebib-set-index-highlight))))
+
+(defun ebib-select-entry ()
+ "Makes the entry at POINT the current entry."
+ (interactive)
+ (ebib-execute-when
+ ((entries)
+ (beginning-of-line)
+ (let ((beg (point)))
+ (let* ((key (save-excursion
+ (skip-chars-forward "^ ")
+ (buffer-substring-no-properties beg (point))))
+ (new-cur-entry (member key (edb-keys-list ebib-cur-db))))
+ (when new-cur-entry
+ (setf (edb-cur-entry ebib-cur-db) new-cur-entry)
+ (ebib-set-index-highlight)
+ (ebib-fill-entry-buffer)))))
+ ((default)
+ (beep))))
+
+(defun ebib-export-entry (prefix)
+ "Copies entries to another database.
+The prefix argument indicates which database to copy the entry
+to. If no prefix argument is present, a filename is asked to
+which the entry is appended."
+ (interactive "P")
+ (let ((num (ebib-prefix prefix)))
+ (if (ebib-called-with-prefix)
+ (ebib-export-marked-entries num)
+ (ebib-export-single-entry num))))
+
+(defun ebib-export-single-entry (num)
+ "Copies the current entry to another database.
+NUM indicates which database to copy the entry to. If it is NIL,
+a filename is asked to which the entry is appended."
+ (ebib-execute-when
+ ((real-db entries)
+ (if num
+ (ebib-export-to-db num (format "Entry `%s' copied to database %%d." (ebib-cur-entry-key))
+ #'(lambda (db)
+ (let ((entry-key (ebib-cur-entry-key)))
+ (if (member entry-key (edb-keys-list db))
+ (error "Entry key `%s' already exists in database %d" entry-key num)
+ (ebib-insert-entry entry-key
+ (copy-hash-table (ebib-retrieve-entry entry-key
+ ebib-cur-db))
+ db t t)
+ ;; if this is the first entry in the target DB,
+ ;; its CUR-ENTRY must be set!
+ (when (null (edb-cur-entry db))
+ (setf (edb-cur-entry db) (edb-keys-list db)))
+ t)))) ; we must return T, WHEN does not always do this.
+ (ebib-export-to-file (format "Export `%s' to file: " (ebib-cur-entry-key))
+ (format "Entry `%s' exported to %%s." (ebib-cur-entry-key))
+ #'(lambda ()
+ (insert "\n")
+ (ebib-format-entry (ebib-cur-entry-key) ebib-cur-db t)))))
+ ((default)
+ (beep))))
+
+(defun ebib-export-marked-entries (num)
+ "Copies the marked entries to another database.
+NUM indicates which database to copy the entry to. If it is NIL,
+a filename is asked to which the entry is appended."
+ (ebib-execute-when
+ ((real-db marked-entries)
+ (if num
+ (ebib-export-to-db
+ num "Entries copied to database %d."
+ #'(lambda (db)
+ (mapc #'(lambda (entry-key)
+ (if (member entry-key (edb-keys-list db))
+ (error "Entry key `%s' already exists in database %d" entry-key num)
+ (ebib-insert-entry entry-key
+ (copy-hash-table (ebib-retrieve-entry entry-key
+ ebib-cur-db))
+ db t t)))
+ (edb-marked-entries ebib-cur-db))
+ ;; if the target DB was empty before, its CUR-ENTRY must be set!
+ (when (null (edb-cur-entry db))
+ (setf (edb-cur-entry db) (edb-keys-list db)))
+ t)) ; we must return T, WHEN does not always do this.
+ (ebib-export-to-file "Export to file: " "Entries exported to %s."
+ #'(lambda ()
+ (mapc #'(lambda (entry-key)
+ (insert "\n")
+ (ebib-format-entry entry-key ebib-cur-db t))
+ (edb-marked-entries ebib-cur-db))))))
+ ((default)
+ (beep))))
+
+(defun ebib-search ()
+ "Search the current Ebib database.
+The search is conducted with STRING-MATCH and can therefore be a
+regexp. Searching starts with the current entry."
+ (interactive)
+ (ebib-execute-when
+ ((entries)
+ (if-str (search-str (read-string "Search database for: "))
+ (progn
+ (setq ebib-search-string search-str)
+ ;; first we search the current entry
+ (if (ebib-search-in-entry ebib-search-string
+ (ebib-retrieve-entry (ebib-cur-entry-key) ebib-cur-db))
+ (ebib-fill-entry-buffer ebib-search-string)
+ ;; if the search string wasn't found in the current entry, we continue searching.
+ (ebib-search-next)))))
+ ((default)
+ (beep))))
+
+(defun ebib-search-next ()
+ "Searches the next occurrence of EBIB-SEARCH-STRING.
+Searching starts at the entry following the current entry. If a
+match is found, the matching entry is shown and becomes the new
+current entry."
+ (interactive)
+ (ebib-execute-when
+ ((entries)
+ (if (null ebib-search-string)
+ (message "No search string")
+ (let ((cur-search-entry (cdr (edb-cur-entry ebib-cur-db))))
+ (while (and cur-search-entry
+ (null (ebib-search-in-entry ebib-search-string
+ (gethash (car cur-search-entry)
+ (edb-database ebib-cur-db)))))
+ (setq cur-search-entry (cdr cur-search-entry)))
+ (if (null cur-search-entry)
+ (message (format "`%s' not found" ebib-search-string))
+ (setf (edb-cur-entry ebib-cur-db) cur-search-entry)
+ (set-buffer ebib-index-buffer)
+ (goto-char (point-min))
+ (re-search-forward (format "^%s " (ebib-cur-entry-key)))
+ (beginning-of-line)
+ (ebib-set-index-highlight)
+ (ebib-fill-entry-buffer ebib-search-string)))))
+ ((default)
+ (beep))))
+
+(defun ebib-search-in-entry (search-str entry &optional field)
+ "Searches one entry of the ebib database.
+Returns a list of fields in ENTRY that match the regexp
+SEARCH-STR, or NIL if no matches were found. If FIELD is given,
+only that field is searched."
+ (let ((case-fold-search t) ; we want to ensure a case-insensitive search
+ (result nil))
+ (if field
+ (let ((value (gethash field entry)))
+ (when (and (stringp value) ; the type* field has a symbol as value
+ (string-match search-str value))
+ (setq result (list field))))
+ (maphash #'(lambda (field value)
+ (when (and (stringp value) ; the type* field has a symbol as value
+ (string-match search-str value))
+ (setq result (cons field result))))
+ entry))
+ result))
+
+(defun ebib-search-crossref ()
+ "Searches the database for the key of the current entry.
+This is useful in searching the entries that cross-reference the
+current entry."
+ (interactive)
+ (setq ebib-search-string (car (edb-cur-entry ebib-cur-db)))
+ (ebib-search-next))
+
+(defun ebib-edit-strings ()
+ "Edits the @STRING definitions in the database."
+ (interactive)
+ (ebib-execute-when
+ ((real-db)
+ (ebib-fill-strings-buffer)
+ (select-window (get-buffer-window ebib-entry-buffer) nil)
+ (set-window-dedicated-p (selected-window) nil)
+ (switch-to-buffer ebib-strings-buffer)
+ (unless (eq ebib-layout 'full)
+ (set-window-dedicated-p (selected-window) t))
+ (goto-char (point-min)))
+ ((default)
+ (beep))))
+
+(defun ebib-edit-preamble ()
+ "Edits the @PREAMBLE definition in the database."
+ (interactive)
+ (ebib-execute-when
+ ((real-db)
+ (select-window (ebib-temp-window) nil)
+ (ebib-multiline-edit 'preamble (edb-preamble ebib-cur-db)))
+ ((default)
+ (beep))))
+
+(defun ebib-export-preamble (prefix)
+ "Exports the @PREAMBLE definition.
+If a prefix argument is given, it is taken as the database to
+export the preamble to. If the goal database already has a
+preamble, the new preamble will be appended to it. If no prefix
+argument is given, the user is asked to enter a filename to which
+the preamble is appended."
+ (interactive "P")
+ (ebib-execute-when
+ ((real-db)
+ (if (null (edb-preamble ebib-cur-db))
+ (error "No @PREAMBLE defined")
+ (let ((num (ebib-prefix prefix)))
+ (if num
+ (ebib-export-to-db num "@PREAMBLE copied to database %d"
+ #'(lambda (db)
+ (let ((text (edb-preamble ebib-cur-db)))
+ (if (edb-preamble db)
+ (setf (edb-preamble db) (concat (edb-preamble db) "\n# " text))
+ (setf (edb-preamble db) text)))))
+ (ebib-export-to-file "Export @PREAMBLE to file: "
+ "@PREAMBLE exported to %s"
+ #'(lambda ()
+ (insert (format "\n@preamble{%s}\n\n" (edb-preamble ebib-cur-db)))))))))
+ ((default)
+ (beep))))
+
+(defun ebib-print-entries ()
+ "Creates a LaTeX file listing the entries.
+Either prints the entire database, or the marked entries."
+ (interactive)
+ (ebib-execute-when
+ ((entries)
+ (let ((entries (if (ebib-called-with-prefix)
+ (edb-marked-entries ebib-cur-db)
+ (edb-keys-list ebib-cur-db))))
+ (if-str (tempfile (if (not (string= "" ebib-print-tempfile))
+ ebib-print-tempfile
+ (read-file-name "Use temp file: " "~/" nil nil)))
+ (progn
+ (with-temp-buffer
+ (insert "\\documentclass{article}\n\n")
+ (when ebib-print-preamble
+ (mapc #'(lambda (string)
+ (insert (format "%s\n" string)))
+ ebib-print-preamble))
+ (insert "\n\\begin{document}\n\n")
+ (mapc #'(lambda (entry-key)
+ (insert "\\begin{tabular}{p{0.2\\textwidth}p{0.8\\textwidth}}\n")
+ (let ((entry (ebib-retrieve-entry entry-key ebib-cur-db)))
+ (insert (format "\\multicolumn{2}{l}{\\texttt{%s (%s)}}\\\\\n"
+ entry-key (symbol-name (gethash 'type* entry))))
+ (insert "\\hline\n")
+ (mapc #'(lambda (field)
+ (if-str (value (gethash field entry))
+ (when (or (not (multiline-p value))
+ ebib-print-multiline)
+ (insert (format "%s: & %s\\\\\n"
+ field (to-raw value))))))
+ (cdr (ebib-get-all-fields (gethash 'type* entry)))))
+ (insert "\\end{tabular}\n\n")
+ (insert "\\bigskip\n\n"))
+ entries)
+ (insert "\\end{document}\n")
+ (write-region (point-min) (point-max) tempfile))
+ (ebib-lower)
+ (find-file tempfile)))))
+ ((default)
+ (beep))))
+
+(defun ebib-latex-entries ()
+ "Creates a LaTeX file that \\nocites entries from the database.
+Operates either on all entries or on the marked entries."
+ (interactive)
+ (ebib-execute-when
+ ((real-db entries)
+ (if-str (tempfile (if (not (string= "" ebib-print-tempfile))
+ ebib-print-tempfile
+ (read-file-name "Use temp file: " "~/" nil nil)))
+ (progn
+ (with-temp-buffer
+ (insert "\\documentclass{article}\n\n")
+ (when ebib-print-preamble
+ (mapc #'(lambda (string)
+ (insert (format "%s\n" string)))
+ ebib-latex-preamble))
+ (insert "\n\\begin{document}\n\n")
+ (if (ebib-called-with-prefix)
+ (mapc #'(lambda (entry)
+ (insert (format "\\nocite{%s}\n" entry)))
+ (edb-marked-entries ebib-cur-db))
+ (insert "\\nocite{*}\n"))
+ (insert (format "\n\\bibliography{%s}\n\n" (expand-file-name (edb-filename ebib-cur-db))))
+ (insert "\\end{document}\n")
+ (write-region (point-min) (point-max) tempfile))
+ (ebib-lower)
+ (find-file tempfile))))
+ ((default)
+ (beep))))
+
+(defun ebib-switch-to-database (num)
+ (interactive "NSwitch to database number: ")
+ (let ((new-db (nth (1- num) ebib-databases)))
+ (if new-db
+ (progn
+ (setq ebib-cur-db new-db)
+ (ebib-fill-entry-buffer)
+ (ebib-fill-index-buffer))
+ (error "Database %d does not exist" num))))
+
+(defun ebib-next-database ()
+ (interactive)
+ (ebib-execute-when
+ ((database)
+ (let ((new-db (next-elem ebib-cur-db ebib-databases)))
+ (unless new-db
+ (setq new-db (car ebib-databases)))
+ (setq ebib-cur-db new-db)
+ (ebib-fill-entry-buffer)
+ (ebib-fill-index-buffer)))))
+
+(defun ebib-prev-database ()
+ (interactive)
+ (ebib-execute-when
+ ((database)
+ (let ((new-db (prev-elem ebib-cur-db ebib-databases)))
+ (unless new-db
+ (setq new-db (last1 ebib-databases)))
+ (setq ebib-cur-db new-db)
+ (ebib-fill-entry-buffer)
+ (ebib-fill-index-buffer)))))
+
+(defun ebib-browse-url (num)
+ "Asks a browser to load the URL in the standard URL field.
+The standard URL field may contain more than one URL, if they're
+whitespace-separated. In that case, a numeric prefix argument
+specifies which URL to choose.
+
+By \"standard URL field\" is meant the field defined in the
+customisation variable EBIB-STANDARD-URL-FIELD. Its default value
+is `url'."
+ (interactive "p")
+ (ebib-execute-when
+ ((entries)
+ (let ((url (to-raw (gethash ebib-standard-url-field
+ (ebib-retrieve-entry (ebib-cur-entry-key) ebib-cur-db)))))
+ (when (not (and url
+ (ebib-call-browser url num)))
+ (error "No url found in field `%s'" ebib-standard-url-field))))
+ ((default)
+ (beep))))
+
+(defun ebib-call-browser (urls n)
+ "Passes the Nth url in URLS to a browser.
+URLs must be a string of whitespace-separated urls."
+ (let ((url (nth (1- n)
+ (let ((start 0)
+ (result nil))
+ (while (string-match ebib-url-regexp urls start)
+ (add-to-list 'result (match-string 0 urls) t)
+ (setq start (match-end 0)))
+ result))))
+ (cond
+ ((string-match "\\\\url{\\(.*?\\)}" url)
+ (setq url (match-string 1 url)))
+ ((string-match ebib-url-regexp url)
+ (setq url (match-string 0 url)))
+ (t (setq url nil)))
+ (when url
+ (if (not (string= ebib-browser-command ""))
+ (start-process "Ebib-browser" nil ebib-browser-command url)
+ (browse-url url)))))
+
+(defun ebib-view-file (num)
+ "Views a file in the standard file field.
+The standard file field may contain more than one filename, if
+they're whitespace-separated. In that case, a numeric prefix
+argument specifies which file to choose.
+
+By \"standard file field\" is meant the field defined in the
+customisation variable EBIB-STANDARD-FILE-FIELD. Its default
+value is `file'."
+ (interactive "p")
+ (ebib-execute-when
+ ((entries)
+ (let ((filename (to-raw (gethash ebib-standard-file-field
+ (ebib-retrieve-entry (ebib-cur-entry-key) ebib-cur-db)))))
+ (when (not (and filename
+ (ebib-call-file-viewer filename num)))
+ (error "No valid filename found in field `%s'" ebib-standard-file-field))))
+ ((default)
+ (beep))))
+
+(defun ebib-call-file-viewer (files n)
+ "Passes the Nth file in FILES to an external viewer.
+FILES must be a string of whitespace-separated filenames."
+ (let* ((file (nth (1- n)
+ (let ((start 0)
+ (result nil))
+ (while (string-match ebib-file-regexp files start)
+ (add-to-list 'result (match-string 0 files) t)
+ (setq start (match-end 0)))
+ result)))
+ (ext (file-name-extension file)))
+ (let ((file-full-path (locate-file file ebib-file-search-dirs)))
+ (when file-full-path
+ (if-str (viewer (cdr (assoc ext ebib-file-associations)))
+ (start-process (concat "ebib " ext " viewer process") nil viewer file-full-path)
+ (ebib-lower)
+ (find-file file-full-path))))))
+
+(defun ebib-virtual-db-and (not)
+ "Filters entries into a virtual database.
+If the current database is a virtual database already, perform a
+logical AND on the entries."
+ (interactive "p")
+ (ebib-execute-when
+ ((entries)
+ (ebib-filter-to-virtual-db 'and not))
+ ((default)
+ (beep))))
+
+(defun ebib-virtual-db-or (not)
+ "Filters entries into a virtual database.
+If the current database is a virtual database already, perform a
+logical OR with the entries in the original database."
+ (interactive "p")
+ (ebib-execute-when
+ ((entries)
+ (ebib-filter-to-virtual-db 'or not))
+ ((default)
+ (beep))))
+
+(defun ebib-virtual-db-not ()
+ "Negates the current virtual database."
+ (interactive)
+ (ebib-execute-when
+ ((virtual-db)
+ (setf (edb-virtual ebib-cur-db)
+ (if (eq (car (edb-virtual ebib-cur-db)) 'not)
+ (cadr (edb-virtual ebib-cur-db))
+ `(not ,(edb-virtual ebib-cur-db))))
+ (ebib-run-filter (edb-virtual ebib-cur-db) ebib-cur-db)
+ (ebib-fill-entry-buffer)
+ (ebib-fill-index-buffer))
+ ((default)
+ (beep))))
+
+(defun ebib-filter-to-virtual-db (bool not)
+ "Filters the current database to a virtual database.
+BOOL is the operator to be used, either `and' or `or'. If NOT<0,
+a logical `not' is applied to the selection."
+ (let ((field (completing-read (format "Filter: %s(contains <field> <regexp>)%s. Enter field: "
+ (if (< not 0) "(not " "")
+ (if (< not 0) ")" ""))
+ (cons '("any" 0)
+ (mapcar #'(lambda (x)
+ (cons (symbol-name x) 0))
+ (append ebib-unique-field-list ebib-additional-fields)))
+ nil t)))
+ (setq field (intern-soft field))
+ (let ((regexp (read-string (format "Filter: %s(contains %s <regexp>)%s. Enter regexp: "
+ (if (< not 0) "(not " "")
+ field
+ (if (< not 0) ")" "")))))
+ (ebib-execute-when
+ ((virtual-db)
+ (setf (edb-virtual ebib-cur-db) `(,bool ,(edb-virtual ebib-cur-db)
+ ,(if (>= not 0)
+ `(contains ,field ,regexp)
+ `(not (contains ,field ,regexp))))))
+ ((real-db)
+ (setq ebib-cur-db (ebib-create-virtual-db field regexp not))))
+ (ebib-run-filter (edb-virtual ebib-cur-db) ebib-cur-db)
+ (ebib-fill-entry-buffer)
+ (ebib-fill-index-buffer))))
+
+(defun ebib-create-virtual-db (field regexp not)
+ "Creates a virtual database based on EBIB-CUR-DB."
+ ;; a virtual database is a database whose edb-virtual field contains an
+ ;; expression that selects entries. this function only sets that
+ ;; expression, it does not actually filter the entries.
+ (let ((new-db (ebib-create-new-database ebib-cur-db)))
+ (setf (edb-virtual new-db) (if (>= not 0)
+ `(contains ,field ,regexp)
+ `(not (contains ,field ,regexp))))
+ (setf (edb-filename new-db) nil)
+ (setf (edb-name new-db) (concat "V:" (edb-name new-db)))
+ (setf (edb-modified new-db) nil)
+ (setf (edb-make-backup new-db) nil)
+ new-db))
+
+(defmacro contains (field regexp)
+ ;; Note: the variable ENTRY is *not* bound in this macro! The function
+ ;; calling CONTAINS *must* set ENTRY to an actual Ebib entry. The point
+ ;; of this macro is to facilitate defining filters for virtual databases.
+ ;; It enables us to define filters of the form:
+
+ ;; (and (not (contains author "Chomsky")) (contains year "1995"))
+
+ `(ebib-search-in-entry ,regexp entry ,(unless (eq field 'any) `(quote ,field))))
+
+(defun ebib-run-filter (filter db)
+ "Runs FILTER on DB"
+ (setf (edb-keys-list db)
+ (sort (let ((result nil))
+ (maphash #'(lambda (key value)
+ (let ((entry value)) ; this is necessary for actually running the filter
+ (when (eval filter)
+ (setq result (cons key result)))))
+ (edb-database db))
+ result)
+ 'string<))
+ (setf (edb-n-entries db) (length (edb-keys-list db)))
+ (setf (edb-cur-entry db) (edb-keys-list db)))
+
+(defun ebib-print-filter (num)
+ "Displays the filter of the current virtual database.
+With any prefix argument, reapplies the filter to the
+database. This can be useful when the source database was
+modified."
+ (interactive "P")
+ (ebib-execute-when
+ ((virtual-db)
+ (when num
+ (ebib-run-filter (edb-virtual ebib-cur-db) ebib-cur-db)
+ (ebib-fill-entry-buffer)
+ (ebib-fill-index-buffer))
+ (message "%S" (edb-virtual ebib-cur-db)))
+ ((default)
+ (beep))))
+
+(defun ebib-show-log ()
+ "Displays the contents of the log buffer."
+ (interactive)
+ (select-window (get-buffer-window ebib-entry-buffer) nil)
+ (set-window-dedicated-p (selected-window) nil)
+ (switch-to-buffer ebib-log-buffer)
+ (unless (eq ebib-layout 'full)
+ (set-window-dedicated-p (selected-window) t)))
+
+(defun ebib-push-bibtex-key ()
+ "Pushes the current entry to a LaTeX buffer.
+The user is prompted for the buffer to push the entry into."
+ (interactive)
+ (let ((called-with-prefix (ebib-called-with-prefix)))
+ (ebib-execute-when
+ ((entries)
+ (let ((buffer (read-buffer (if called-with-prefix
+ "Push marked entries to buffer: "
+ "Push entry to buffer: ")
+ ebib-push-buffer t))
+ insert-string)
+ (when buffer
+ (setq ebib-push-buffer buffer)
+ (let ((keys (if called-with-prefix
+ (when (edb-marked-entries ebib-cur-db)
+ (mapconcat #'(lambda (x) x)
+ (edb-marked-entries ebib-cur-db)
+ ","))
+ (car (edb-cur-entry ebib-cur-db)))))
+ (if-str (command (completing-read "Command to use: " ebib-insertion-commands
+ nil nil nil ebib-insertion-commands))
+ (let* ((n-opt-args (or
+ (cdr (assoc command ebib-insertion-commands))
+ 1))
+ (opt-args (loop for i from 1 to n-opt-args
+ collect (read-from-minibuffer (format "Optional argument %d: " i)))))
+ (while (equal (car opt-args) "") ; empty args at the beginning of the list don't need
+ (setq opt-args (cdr opt-args))) ; to be included.
+ (setq insert-string (format "\\%s%s{%s}" command
+ (mapconcat #'(lambda (str)
+ (format "[%s]" str))
+ opt-args "")
+ keys)))
+ (setq insert-string keys)))
+ (when insert-string
+ (save-excursion
+ (set-buffer buffer)
+ (insert insert-string))
+ (message "Pushed entries to buffer %s" buffer)))))
+ ((default)
+ (beep)))))
+
+;;;;;;;;;;;;;;;;
+;; entry-mode ;;
+;;;;;;;;;;;;;;;;
+
+(defvar ebib-entry-mode-map
+ (let ((map (make-keymap)))
+ (suppress-keymap map)
+ (define-key map [up] 'ebib-prev-field)
+ (define-key map [down] 'ebib-next-field)
+ (define-key map [prior] 'ebib-goto-prev-set)
+ (define-key map [next] 'ebib-goto-next-set)
+ (define-key map [home] 'ebib-goto-first-field)
+ (define-key map [end] 'ebib-goto-last-field)
+ (define-key map " " 'ebib-goto-next-set)
+ (define-key map "b" 'ebib-goto-prev-set)
+ (define-key map "c" 'ebib-copy-field-contents)
+ (define-key map "d" 'ebib-delete-field-contents)
+ (define-key map "e" 'ebib-edit-field)
+ (define-key map "f" 'ebib-view-file-in-field)
+ (define-key map "g" 'ebib-goto-first-field)
+ (define-key map "G" 'ebib-goto-last-field)
+ (define-key map "j" 'ebib-next-field)
+ (define-key map "k" 'ebib-prev-field)
+ (define-key map "l" 'ebib-edit-multiline-field)
+ (define-key map [(control n)] 'ebib-next-field)
+ (define-key map [(meta n)] 'ebib-goto-prev-set)
+ (define-key map [(control p)] 'ebib-prev-field)
+ (define-key map [(meta p)] 'ebib-goto-next-set)
+ (define-key map "q" 'ebib-quit-entry-buffer)
+ (define-key map "r" 'ebib-toggle-raw)
+ (define-key map "s" 'ebib-insert-abbreviation)
+ (define-key map "u" 'ebib-browse-url-in-field)
+ (define-key map "x" 'ebib-cut-field-contents)
+ (define-key map "\C-xb" 'undefined)
+ (define-key map "\C-xk" 'undefined)
+ (define-key map "y" 'ebib-yank-field-contents)
+ map)
+ "Keymap for the Ebib entry buffer.")
+
+(define-derived-mode ebib-entry-mode
+ fundamental-mode "Ebib-entry"
+ "Major mode for the Ebib entry buffer."
+ (setq buffer-read-only t)
+ (setq truncate-lines t))
+
+(defun ebib-quit-entry-buffer ()
+ "Quits editing the entry."
+ (interactive)
+ (select-window (get-buffer-window ebib-index-buffer) nil))
+
+(defun ebib-find-visible-field (field direction)
+ "Finds the first visible field before or after FIELD.
+If DIRECTION is negative, search the preceding fields, otherwise
+search the succeeding fields. If FIELD is visible itself, return
+that. If there is no preceding/following visible field, return
+NIL. If EBIB-HIDE-HIDDEN-FIELDS is NIL, return FIELD."
+ (when ebib-hide-hidden-fields
+ (let ((fn (if (>= direction 0)
+ 'next-elem
+ 'prev-elem)))
+ (while (and field
+ (get field 'ebib-hidden))
+ (setq field (funcall fn field ebib-cur-entry-fields)))))
+ field)
+
+(defun ebib-prev-field ()
+ "Moves to the previous field."
+ (interactive)
+ (let ((new-field (ebib-find-visible-field (prev-elem ebib-current-field ebib-cur-entry-fields) -1)))
+ (if (null new-field)
+ (beep)
+ (setq ebib-current-field new-field)
+ (ebib-move-to-field ebib-current-field -1))))
+
+(defun ebib-next-field ()
+ "Moves to the next field."
+ (interactive)
+ (let ((new-field (ebib-find-visible-field (next-elem ebib-current-field ebib-cur-entry-fields) 1)))
+ (if (null new-field)
+ (when (interactive-p) ; i call this function after editing a field,
+ ; and we don't want a beep then
+ (beep))
+ (setq ebib-current-field new-field)
+ (ebib-move-to-field ebib-current-field 1))))
+
+(defun ebib-goto-first-field ()
+ "Moves to the first field."
+ (interactive)
+ (let ((new-field (ebib-find-visible-field (car ebib-cur-entry-fields) 1)))
+ (if (null new-field)
+ (beep)
+ (setq ebib-current-field new-field)
+ (ebib-move-to-field ebib-current-field -1))))
+
+(defun ebib-goto-last-field ()
+ "Moves to the last field."
+ (interactive)
+ (let ((new-field (ebib-find-visible-field (last1 ebib-cur-entry-fields) -1)))
+ (if (null new-field)
+ (beep)
+ (setq ebib-current-field new-field)
+ (ebib-move-to-field ebib-current-field 1))))
+
+(defun ebib-goto-next-set ()
+ "Moves to the next set of fields."
+ (interactive)
+ (cond
+ ((eq ebib-current-field 'type*) (ebib-next-field))
+ ((member ebib-current-field ebib-additional-fields) (ebib-goto-last-field))
+ (t (let* ((entry-type (gethash 'type* ebib-cur-entry-hash))
+ (obl-fields (ebib-get-obl-fields entry-type))
+ (opt-fields (ebib-get-opt-fields entry-type))
+ (new-field nil))
+ (when (member ebib-current-field obl-fields)
+ (setq new-field (ebib-find-visible-field (car opt-fields) 1)))
+ ;; new-field is nil if there are no opt-fields
+ (when (or (member ebib-current-field opt-fields)
+ (null new-field))
+ (setq new-field (ebib-find-visible-field (car ebib-additional-fields) 1)))
+ (if (null new-field)
+ (ebib-goto-last-field) ; if there was no further set to go to,
+ ; go to the last field of the current set
+ (setq ebib-current-field new-field)
+ (ebib-move-to-field ebib-current-field 1))))))
+
+(defun ebib-goto-prev-set ()
+ "Moves to the previous set of fields."
+ (interactive)
+ (unless (eq ebib-current-field 'type*)
+ (let* ((entry-type (gethash 'type* ebib-cur-entry-hash))
+ (obl-fields (ebib-get-obl-fields entry-type))
+ (opt-fields (ebib-get-opt-fields entry-type))
+ (new-field nil))
+ (if (member ebib-current-field obl-fields)
+ (ebib-goto-first-field)
+ (when (member ebib-current-field ebib-additional-fields)
+ (setq new-field (ebib-find-visible-field (last1 opt-fields) -1)))
+ (when (or (member ebib-current-field opt-fields)
+ (null new-field))
+ (setq new-field (ebib-find-visible-field (last1 obl-fields) -1)))
+ (if (null new-field)
+ (ebib-goto-first-field)
+ (setq ebib-current-field new-field)
+ (ebib-move-to-field ebib-current-field -1))))))
+
+(defun ebib-edit-entry-type ()
+ "Edits the entry type."
+ ;; we don't want the completion buffer to be shown in the index window,
+ ;; so we need to switch to an appropriate window first. we do this in an
+ ;; unwind-protect to make sure we always get back to the entry buffer.
+ (unwind-protect
+ (progn
+ (if (eq ebib-layout 'full)
+ (other-window 1)
+ (select-window ebib-pre-ebib-window) nil)
+ (if-str (new-type (completing-read "type: " ebib-entry-types nil t))
+ (progn
+ (puthash 'type* (intern-soft new-type) ebib-cur-entry-hash)
+ (ebib-fill-entry-buffer)
+ (setq ebib-cur-entry-fields (ebib-get-all-fields (gethash 'type* ebib-cur-entry-hash)))
+ (ebib-set-modified t))))
+ (select-window (get-buffer-window ebib-entry-buffer) nil)))
+
+(defun ebib-edit-crossref ()
+ "Edits the crossref field."
+ ;; we don't want the completion buffer to be shown in the index window,
+ ;; so we need to switch to an appropriate window first. we do this in an
+ ;; unwind-protect to make sure we always get back to the entry buffer.
+ (unwind-protect
+ (progn
+ (if (eq ebib-layout 'full)
+ (other-window 1)
+ (select-window ebib-pre-ebib-window) nil)
+ (let ((collection (ebib-create-collection (edb-database ebib-cur-db))))
+ (if-str (key (completing-read "Key to insert in `crossref': " collection nil t))
+ (progn
+ (puthash 'crossref (from-raw key) ebib-cur-entry-hash)
+ (ebib-set-modified t)))))
+ (select-window (get-buffer-window ebib-entry-buffer) nil)
+ ;; we now redisplay the entire entry buffer, so that the crossref'ed
+ ;; fields show up. this also puts the cursor back on the type field.
+ (ebib-fill-entry-buffer)
+ (setq ebib-current-field 'crossref)
+ (re-search-forward "^crossref")
+ (ebib-set-fields-highlight)))
+
+;; we should modify ebib-edit-field, so that it calls the appropriate
+;; helper function, which asks the user for the new value and just returns
+;; that. storing it should then be done by ebib-edit-field, no matter what
+;; sort of field the user edits.
+
+(defun ebib-edit-field ()
+ "Edits a field of a BibTeX entry."
+ (interactive)
+ (cond
+ ((eq ebib-current-field 'type*) (ebib-edit-entry-type))
+ ((eq ebib-current-field 'crossref) (ebib-edit-crossref))
+ ((eq ebib-current-field 'annote) (ebib-edit-multiline-field))
+ (t
+ (let ((init-contents (gethash ebib-current-field ebib-cur-entry-hash))
+ (raw nil))
+ (if (multiline-p init-contents)
+ (ebib-edit-multiline-field)
+ (when init-contents
+ (if (raw-p init-contents)
+ (setq raw t)
+ (setq init-contents (to-raw init-contents))))
+ (if-str (new-contents (read-string (format "%s: " (symbol-name ebib-current-field))
+ (if init-contents
+ (cons init-contents 0)
+ nil)
+ ebib-minibuf-hist))
+ (puthash ebib-current-field (if raw
+ new-contents
+ (concat "{" new-contents "}"))
+ ebib-cur-entry-hash)
+ (remhash ebib-current-field ebib-cur-entry-hash))
+ (ebib-redisplay-current-field)
+ ;; we move to the next field, but only if ebib-edit-field was
+ ;; called interactively, otherwise we get a strange bug in
+ ;; ebib-toggle-raw...
+ (if (interactive-p) (ebib-next-field))
+ (ebib-set-modified t))))))
+
+(defun ebib-browse-url-in-field (num)
+ "Browses a URL in the current field.
+The field may contain a whitespace-separated set of URLs. The
+prefix argument indicates which URL is to be sent to the
+browser."
+ (interactive "p")
+ (let ((urls (to-raw (gethash ebib-current-field ebib-cur-entry-hash))))
+ (if (not (and urls
+ (ebib-call-browser urls num)))
+ (error "No url found in field `%s'" ebib-current-field))))
+
+(defun ebib-view-file-in-field (num)
+ "Views a file in the current field.
+The field may contain a whitespace-separated set of
+filenames. The prefix argument indicates which file is to be
+viewed."
+ (interactive "p")
+ (let ((files (to-raw (gethash ebib-current-field ebib-cur-entry-hash))))
+ (if (not (and files
+ (ebib-call-file-viewer files num)))
+ (error "No valid filename found in field `%s'" ebib-current-field))))
+
+(defun ebib-copy-field-contents ()
+ "Copies the contents of the current field to the kill ring."
+ (interactive)
+ (unless (eq ebib-current-field 'type*)
+ (let ((contents (gethash ebib-current-field ebib-cur-entry-hash)))
+ (when (stringp contents)
+ (kill-new contents)
+ (message "Field contents copied.")))))
+
+(defun ebib-cut-field-contents ()
+ "Kills the contents of the current field. The killed text is put in the kill ring."
+ (interactive)
+ (unless (eq ebib-current-field 'type*)
+ (let ((contents (gethash ebib-current-field ebib-cur-entry-hash)))
+ (when (stringp contents)
+ (remhash ebib-current-field ebib-cur-entry-hash)
+ (kill-new contents)
+ (ebib-redisplay-current-field)
+ (ebib-set-modified t)
+ (message "Field contents killed.")))))
+
+(defun ebib-yank-field-contents (arg)
+ "Inserts the last killed text into the current field.
+If the current field already has a contents, nothing is inserted,
+unless the previous command was also ebib-yank-field-contents,
+then the field contents is replaced with the previous yank. That
+is, multiple uses of this command function like the combination
+of C-y/M-y. Prefix arguments also work the same as with C-y/M-y."
+ (interactive "P")
+ (if (or (eq ebib-current-field 'type*) ; we cannot yank into the type* or crossref fields
+ (eq ebib-current-field 'crossref)
+ (unless (eq last-command 'ebib-yank-field-contents)
+ (gethash ebib-current-field ebib-cur-entry-hash))) ; nor into a field already filled
+ (progn
+ (setq this-command t)
+ (beep))
+ (let ((new-contents (current-kill (cond
+ ((listp arg) (if (eq last-command 'ebib-yank-field-contents)
+ 1
+ 0))
+ ((eq arg '-) -2)
+ (t (1- arg))))))
+ (when new-contents
+ (puthash ebib-current-field new-contents ebib-cur-entry-hash)
+ (ebib-redisplay-current-field)
+ (ebib-set-modified t)))))
+
+(defun ebib-delete-field-contents ()
+ "Deletes the contents of the current field.
+The deleted text is not put in the kill ring."
+ (interactive)
+ (if (eq ebib-current-field 'type*)
+ (beep)
+ (remhash ebib-current-field ebib-cur-entry-hash)
+ (ebib-redisplay-current-field)
+ (ebib-set-modified t)
+ (message "Field contents deleted.")))
+
+(defun ebib-toggle-raw ()
+ "Toggles the raw status of the current field contents."
+ (interactive)
+ (unless (or (eq ebib-current-field 'type*)
+ (eq ebib-current-field 'crossref))
+ (let ((contents (gethash ebib-current-field ebib-cur-entry-hash)))
+ (if (not contents) ; if there is no value,
+ (progn
+ (ebib-edit-field) ; the user can enter one, which we must then make raw
+ (let ((new-contents (gethash ebib-current-field ebib-cur-entry-hash)))
+ (when new-contents
+ ;; note: we don't have to check for empty string, since that is
+ ;; already done in ebib-edit-field
+ (puthash ebib-current-field (to-raw new-contents) ebib-cur-entry-hash))))
+ (if (raw-p contents)
+ (puthash ebib-current-field (from-raw contents) ebib-cur-entry-hash)
+ (puthash ebib-current-field (to-raw contents) ebib-cur-entry-hash)))
+ (ebib-redisplay-current-field)
+ (ebib-set-modified t))))
+
+(defun ebib-edit-multiline-field ()
+ "Edits the current field in multiline-mode."
+ (interactive)
+ (unless (or (eq ebib-current-field 'type*)
+ (eq ebib-current-field 'crossref))
+ (let ((text (gethash ebib-current-field ebib-cur-entry-hash)))
+ (if (raw-p text)
+ (setq ebib-multiline-raw t)
+ (setq text (to-raw text))
+ (setq ebib-multiline-raw nil))
+ (select-window (ebib-temp-window) nil)
+ (ebib-multiline-edit 'fields text))))
+
+(defun ebib-insert-abbreviation ()
+ "Inserts an abbreviation from the ones defined in the database."
+ (interactive)
+ (if (gethash ebib-current-field ebib-cur-entry-hash)
+ (beep)
+ (when (edb-strings-list ebib-cur-db)
+ (unwind-protect
+ (progn
+ (other-window 1)
+ (let* ((collection (ebib-create-collection (edb-strings ebib-cur-db)))
+ (string (completing-read "Abbreviation to insert: " collection nil t)))
+ (when string
+ (puthash ebib-current-field string ebib-cur-entry-hash)
+ (ebib-set-modified t))))
+ (other-window 1)
+ ;; we can't do this earlier, because we would be writing to the index buffer...
+ (ebib-redisplay-current-field)
+ (ebib-next-field)))))
+
+;;;;;;;;;;;;;;;;;;
+;; strings-mode ;;
+;;;;;;;;;;;;;;;;;;
+
+(defvar ebib-strings-mode-map
+ (let ((map (make-keymap)))
+ (suppress-keymap map)
+ (define-key map [up] 'ebib-prev-string)
+ (define-key map [down] 'ebib-next-string)
+ (define-key map [prior] 'ebib-strings-page-up)
+ (define-key map [next] 'ebib-strings-page-down)
+ (define-key map [home] 'ebib-goto-first-string)
+ (define-key map [end] 'ebib-goto-last-string)
+ (define-key map " " 'ebib-strings-page-down)
+ (define-key map "a" 'ebib-add-string)
+ (define-key map "b" 'ebib-strings-page-up)
+ (define-key map "c" 'ebib-copy-string-contents)
+ (define-key map "d" 'ebib-delete-string)
+ (define-key map "e" 'ebib-edit-string)
+ (define-key map "g" 'ebib-goto-first-string)
+ (define-key map "G" 'ebib-goto-last-string)
+ (define-key map "j" 'ebib-next-string)
+ (define-key map "k" 'ebib-prev-string)
+ (define-key map "l" 'ebib-edit-multiline-string)
+ (define-key map [(control n)] 'ebib-next-string)
+ (define-key map [(meta n)] 'ebib-strings-page-down)
+ (define-key map [(control p)] 'ebib-prev-string)
+ (define-key map [(meta p)] 'ebib-strings-page-up)
+ (define-key map "q" 'ebib-quit-strings-buffer)
+ (define-key map "x" 'ebib-export-string)
+ (define-key map "X" 'ebib-export-all-strings)
+ (define-key map "\C-xb" 'disabled)
+ (define-key map "\C-xk" 'disabled)
+ map)
+ "Keymap for the ebib strings buffer.")
+
+(define-derived-mode ebib-strings-mode
+ fundamental-mode "Ebib-strings"
+ "Major mode for the Ebib strings buffer."
+ (setq buffer-read-only t)
+ (setq truncate-lines t))
+
+(defun ebib-quit-strings-buffer ()
+ "Quits editing the @STRING definitions."
+ (interactive)
+ (set-window-dedicated-p (selected-window) nil)
+ (switch-to-buffer ebib-entry-buffer)
+ (unless (eq ebib-layout 'full)
+ (set-window-dedicated-p (selected-window) t))
+ (select-window (get-buffer-window ebib-index-buffer) nil))
+
+(defun ebib-prev-string ()
+ "Moves to the previous string."
+ (interactive)
+ (if (equal ebib-current-string (car (edb-strings-list ebib-cur-db))) ; if we're on the first string
+ (beep)
+ ;; go to the beginnig of the highlight and move upward one line.
+ (goto-char (ebib-highlight-start ebib-strings-highlight))
+ (forward-line -1)
+ (setq ebib-current-string (prev-elem ebib-current-string (edb-strings-list ebib-cur-db)))
+ (ebib-set-strings-highlight)))
+
+(defun ebib-next-string ()
+ "Moves to the next string."
+ (interactive)
+ (if (equal ebib-current-string (last1 (edb-strings-list ebib-cur-db)))
+ (when (interactive-p) (beep))
+ (goto-char (ebib-highlight-start ebib-strings-highlight))
+ (forward-line 1)
+ (setq ebib-current-string (next-elem ebib-current-string (edb-strings-list ebib-cur-db)))
+ (ebib-set-strings-highlight)))
+
+(defun ebib-goto-first-string ()
+ "Moves to the first string."
+ (interactive)
+ (setq ebib-current-string (car (edb-strings-list ebib-cur-db)))
+ (goto-char (point-min))
+ (ebib-set-strings-highlight))
+
+(defun ebib-goto-last-string ()
+ "Moves to the last string."
+ (interactive)
+ (setq ebib-current-string (last1 (edb-strings-list ebib-cur-db)))
+ (goto-char (point-max))
+ (forward-line -1)
+ (ebib-set-strings-highlight))
+
+(defun ebib-strings-page-up ()
+ "Moves 10 entries up in the database."
+ (interactive)
+ (let ((number-of-strings (length (edb-strings-list ebib-cur-db)))
+ (remaining-number-of-strings (length (member ebib-current-string (edb-strings-list ebib-cur-db)))))
+ (if (<= (- number-of-strings remaining-number-of-strings) 10)
+ (ebib-goto-first-string)
+ (setq ebib-current-string (nth
+ (- number-of-strings remaining-number-of-strings 10)
+ (edb-strings-list ebib-cur-db)))
+ (goto-char (ebib-highlight-start ebib-strings-highlight))
+ (forward-line -10)
+ (ebib-set-strings-highlight)))
+ (message ebib-current-string))
+
+(defun ebib-strings-page-down ()
+ "Moves 10 entries down in the database."
+ (interactive)
+ (let ((number-of-strings (length (edb-strings-list ebib-cur-db)))
+ (remaining-number-of-strings (length (member ebib-current-string (edb-strings-list ebib-cur-db)))))
+ (if (<= remaining-number-of-strings 10)
+ (ebib-goto-last-string)
+ (setq ebib-current-string (nth
+ (- number-of-strings remaining-number-of-strings -10)
+ (edb-strings-list ebib-cur-db)))
+ (goto-char (ebib-highlight-start ebib-strings-highlight))
+ (forward-line 10)
+ (ebib-set-strings-highlight)))
+ (message ebib-current-string))
+
+(defun ebib-fill-strings-buffer ()
+ "Fills the strings buffer with the @STRING definitions."
+ (set-buffer ebib-strings-buffer)
+ (with-buffer-writable
+ (erase-buffer)
+ (dolist (elem (edb-strings-list ebib-cur-db))
+ (let ((str (to-raw (gethash elem (edb-strings ebib-cur-db)))))
+ (insert (format "%-18s %s\n" elem
+ (if (multiline-p str)
+ (concat "+" (first-line str))
+ (concat " " str)))))))
+ (goto-char (point-min))
+ (setq ebib-current-string (car (edb-strings-list ebib-cur-db)))
+ (ebib-set-strings-highlight)
+ (set-buffer-modified-p nil))
+
+(defun ebib-edit-string ()
+ "Edits the value of an @STRING definition
+When the user enters an empty string, the value is not changed."
+ (interactive)
+ (let ((init-contents (to-raw (gethash ebib-current-string (edb-strings ebib-cur-db)))))
+ (if (multiline-p init-contents)
+ (ebib-edit-multiline-string)
+ (if-str (new-contents (read-string (format "%s: " ebib-current-string)
+ (if init-contents
+ (cons init-contents 0)
+ nil)
+ ebib-minibuf-hist))
+ (progn
+ (puthash ebib-current-string (from-raw new-contents) (edb-strings ebib-cur-db))
+ (ebib-redisplay-current-string)
+ (ebib-next-string)
+ (ebib-set-modified t))
+ (error "@STRING definition cannot be empty")))))
+
+(defun ebib-copy-string-contents ()
+ "Copies the contents of the current string to the kill ring."
+ (interactive)
+ (let ((contents (gethash ebib-current-string (edb-strings ebib-cur-db))))
+ (kill-new contents)
+ (message "String value copied.")))
+
+(defun ebib-delete-string ()
+ "Deletes the current @STRING definition from the database."
+ (interactive)
+ (when (y-or-n-p (format "Delete @STRING definition %s? " ebib-current-string))
+ (remhash ebib-current-string (edb-strings ebib-cur-db))
+ (with-buffer-writable
+ (let ((beg (progn
+ (goto-char (ebib-highlight-start ebib-strings-highlight))
+ (point))))
+ (forward-line 1)
+ (delete-region beg (point))))
+ (let ((new-cur-string (next-elem ebib-current-string (edb-strings-list ebib-cur-db))))
+ (setf (edb-strings-list ebib-cur-db) (delete ebib-current-string (edb-strings-list ebib-cur-db)))
+ (when (null new-cur-string) ; deleted the last string
+ (setq new-cur-string (last1 (edb-strings-list ebib-cur-db)))
+ (forward-line -1))
+ (setq ebib-current-string new-cur-string))
+ (ebib-set-strings-highlight)
+ (ebib-set-modified t)
+ (message "@STRING definition deleted.")))
+
+(defun ebib-add-string ()
+ "Creates a new @STRING definition."
+ (interactive)
+ (if-str (new-abbr (read-string "New @STRING abbreviation: "))
+ (progn
+ (if (member new-abbr (edb-strings-list ebib-cur-db))
+ (error (format "%s already exists" new-abbr)))
+ (if-str (new-string (read-string (format "Value for %s: " new-abbr)))
+ (progn
+ (ebib-insert-string new-abbr new-string ebib-cur-db t)
+ (sort-in-buffer (length (edb-strings-list ebib-cur-db)) new-abbr)
+ (with-buffer-writable
+ (insert (format "%-19s %s\n" new-abbr new-string)))
+ (forward-line -1)
+ (ebib-set-strings-highlight)
+ (setq ebib-current-string new-abbr)
+ (ebib-set-modified t))))))
+
+(defun ebib-export-string (prefix)
+ "Exports the current @STRING.
+The prefix argument indicates which database to copy the string
+to. If no prefix argument is present, a filename is asked to
+which the string is appended."
+ (interactive "P")
+ (let ((num (ebib-prefix prefix)))
+ (if num
+ (ebib-export-to-db num (format "@STRING definition `%s' copied to database %%d" ebib-current-string)
+ #'(lambda (db)
+ (let ((abbr ebib-current-string)
+ (string (gethash ebib-current-string (edb-strings ebib-cur-db))))
+ (if (member abbr (edb-strings-list db))
+ (error "@STRING definition already exists in database %d" num)
+ (ebib-insert-string abbr string db t)))))
+ (ebib-export-to-file (format "Export @STRING definition `%s' to file: " ebib-current-string)
+ (format "@STRING definition `%s' exported to %%s" ebib-current-string)
+ #'(lambda ()
+ (insert (format "\n@string{%s = %s}\n"
+ ebib-current-string
+ (gethash ebib-current-string (edb-strings ebib-cur-db)))))))))
+
+(defun ebib-export-all-strings (prefix)
+ "Exports all @STRING definitions.
+If a prefix argument is given, it is taken as the database to
+copy the definitions to. Without prefix argument, asks for a file
+to append them to."
+ (interactive "P")
+ (when ebib-current-string ; there is always a current string, unless there are no strings
+ (let ((num (ebib-prefix prefix)))
+ (if num
+ (ebib-export-to-db
+ num "All @STRING definitions copied to database %d"
+ #'(lambda (db)
+ (mapc #'(lambda (abbr)
+ (if (member abbr (edb-strings-list db))
+ (message "@STRING definition `%s' already exists in database %d" abbr num)
+ (ebib-insert-string abbr (gethash abbr (edb-strings ebib-cur-db)) db t)))
+ (edb-strings-list ebib-cur-db))))
+ (ebib-export-to-file "Export all @STRING definitions to file: "
+ "All @STRING definitions exported to %s"
+ #'(lambda ()
+ (insert (format "\n")) ; to keep things tidy.
+ (ebib-format-strings ebib-cur-db)))))))
+
+(defun ebib-edit-multiline-string ()
+ "Edits the current string in multiline-mode."
+ (interactive)
+ (select-window (ebib-temp-window) nil)
+ (ebib-multiline-edit 'string (to-raw (gethash ebib-current-string (edb-strings ebib-cur-db)))))
+
+;;;;;;;;;;;;;;;;;;;;;;;;;
+;; multiline edit mode ;;
+;;;;;;;;;;;;;;;;;;;;;;;;;
+
+(define-derived-mode ebib-multiline-edit-mode
+ text-mode "Ebib-edit"
+ "Major mode for editing multiline values in Ebib."
+ ;; we redefine some basic keys because we need them to leave this buffer.
+ (local-set-key "\C-xb" 'ebib-quit-multiline-edit)
+ (local-set-key "\C-x\C-s" 'ebib-save-from-multiline-edit)
+ (local-set-key "\C-xk" 'ebib-cancel-multiline-edit))
+
+(defun ebib-multiline-edit (type &optional starttext)
+ "Switches to Ebib's multiline edit buffer.
+STARTTEXT is a string that contains the initial text of the buffer."
+ ;; note: the buffer is put in the currently active window!
+ (setq ebib-pre-multiline-buffer (current-buffer))
+ (switch-to-buffer ebib-multiline-buffer)
+ (set-buffer-modified-p nil)
+ (erase-buffer)
+ (setq ebib-editing type)
+ (when starttext
+ (insert starttext)
+ (goto-char (point-min))
+ (set-buffer-modified-p nil)))
+
+(defun ebib-quit-multiline-edit ()
+ "Quits the multiline edit buffer, saving the text."
+ (interactive)
+ (ebib-store-multiline-text)
+ (ebib-leave-multiline-edit-buffer)
+ (cond
+ ((eq ebib-editing 'fields)
+ (ebib-next-field))
+ ((eq ebib-editing 'strings)
+ (ebib-next-string)))
+ (message "Text stored."))
+
+(defun ebib-cancel-multiline-edit ()
+ "Quits the multiline edit buffer and discards the changes."
+ (interactive)
+ (catch 'no-cancel
+ (when (buffer-modified-p)
+ (unless (y-or-n-p "Text has been modified. Abandon changes? ")
+ (throw 'no-cancel nil)))
+ (ebib-leave-multiline-edit-buffer)))
+
+(defun ebib-leave-multiline-edit-buffer ()
+ "Leaves the multiline edit buffer.
+Restores the previous buffer in the window that the multiline
+edit buffer was shown in."
+ (switch-to-buffer ebib-pre-multiline-buffer)
+ (cond
+ ((eq ebib-editing 'preamble)
+ (select-window (get-buffer-window ebib-index-buffer) nil))
+ ((eq ebib-editing 'fields)
+ ;; in full-frame layout, select-window isn't necessary, but it doesn't hurt either.
+ (select-window (get-buffer-window ebib-entry-buffer) nil)
+ (ebib-redisplay-current-field))
+ ((eq ebib-editing 'strings)
+ ;; in full-frame layout, select-window isn't necessary, but it doesn't hurt either.
+ (select-window (get-buffer-window ebib-strings-buffer) nil)
+ (ebib-redisplay-current-string))))
+
+(defun ebib-save-from-multiline-edit ()
+ "Saves the database from within the multiline edit buffer.
+The text being edited is stored before saving the database."
+ (interactive)
+ (ebib-store-multiline-text)
+ (ebib-save-database ebib-cur-db)
+ (set-buffer-modified-p nil))
+
+(defun ebib-store-multiline-text ()
+ "Stores the text being edited in the multiline edit buffer."
+ (let ((text (buffer-substring-no-properties (point-min) (point-max))))
+ (cond
+ ((eq ebib-editing 'preamble)
+ (if (equal text "")
+ (setf (edb-preamble ebib-cur-db) nil)
+ (setf (edb-preamble ebib-cur-db) text)))
+ ((eq ebib-editing 'fields)
+ (if (equal text "")
+ (remhash ebib-current-field ebib-cur-entry-hash)
+ (when (not ebib-multiline-raw)
+ (setq text (from-raw text)))
+ (puthash ebib-current-field text ebib-cur-entry-hash)))
+ ((eq ebib-editing 'strings)
+ (if (equal text "")
+ ;; with ERROR, we avoid execution of EBIB-SET-MODIFIED and
+ ;; MESSAGE, but we also do not switch back to the strings
+ ;; buffer. this may not be so bad, actually, because the user
+ ;; may want to change his edit.
+ (error "@STRING definition cannot be empty ")
+ (setq text (from-raw text)) ; strings cannot be raw
+ (puthash ebib-current-string text (edb-strings ebib-cur-db))))))
+ (ebib-set-modified t))
+
+;;;;;;;;;;;;;;;;;;;
+;; ebib-log-mode ;;
+;;;;;;;;;;;;;;;;;;;
+
+(defvar ebib-log-mode-map
+ (let ((map (make-keymap)))
+ (suppress-keymap map)
+ (define-key map " " 'scroll-up)
+ (define-key map "b" 'scroll-down)
+ (define-key map "q" 'ebib-quit-log-buffer)
+ map)
+ "Keymap for the ebib log buffer.")
+
+(define-derived-mode ebib-log-mode
+ fundamental-mode "Ebib-log"
+ "Major mode for the Ebib log buffer."
+ (local-set-key "\C-xb" 'ebib-quit-log-buffer)
+ (local-set-key "\C-xk" 'ebib-quit-log-buffer))
+
+(defun ebib-quit-log-buffer ()
+ "Exits the log buffer."
+ (interactive)
+ (set-window-dedicated-p (selected-window) nil)
+ (switch-to-buffer ebib-entry-buffer)
+ (unless (eq ebib-layout 'full)
+ (set-window-dedicated-p (selected-window) t))
+ (select-window (get-buffer-window ebib-index-buffer) nil))
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;; functions for non-Ebib buffers ;;
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+(defun ebib-import ()
+ "Searches for BibTeX entries in the current buffer.
+The entries are added to the current database (i.e. the database
+that was active when Ebib was lowered. Works on the whole buffer,
+or on the region if it is active."
+ (interactive)
+ (if (not ebib-cur-db)
+ (error "No database loaded. Use `o' to open a database")
+ (if (edb-virtual ebib-cur-db)
+ (error "Cannot import to a virtual database")
+ (with-syntax-table ebib-syntax-table
+ (save-excursion
+ (save-restriction
+ (if (region-active)
+ (narrow-to-region (region-beginning)
+ (region-end)))
+ (let ((buffer (current-buffer)))
+ (with-temp-buffer
+ (insert-buffer-substring buffer)
+ (let ((n (ebib-find-bibtex-entries t)))
+ (setf (edb-keys-list ebib-cur-db) (sort (edb-keys-list ebib-cur-db) 'string<))
+ (setf (edb-n-entries ebib-cur-db) (length (edb-keys-list ebib-cur-db)))
+ (when (edb-strings-list ebib-cur-db)
+ (setf (edb-strings-list ebib-cur-db) (sort (edb-strings-list ebib-cur-db) 'string<)))
+ (setf (edb-cur-entry ebib-cur-db) (edb-keys-list ebib-cur-db))
+ (ebib-fill-entry-buffer)
+ (ebib-fill-index-buffer)
+ (ebib-set-modified t)
+ (message (format "%d entries, %d @STRINGs and %s @PREAMBLE found in buffer."
+ (car n)
+ (cadr n)
+ (if (caddr n)
+ "a"
+ "no"))))))))))))
+
+(defun ebib-get-db-from-filename (filename)
+ "Returns the database struct associated with FILENAME."
+ (catch 'found
+ (mapc #'(lambda (db)
+ (if (string= (file-name-nondirectory (edb-filename db)) filename)
+ (throw 'found db)))
+ ebib-databases)
+ nil))
+
+(defun ebib-get-local-databases ()
+ "Returns a list of .bib files associated with the file in the current LaTeX buffer.
+Each element in the list is a string holding the name of the .bib
+file. This function simply searches the current LaTeX file or its
+master file for a \\bibliography command and returns the file(s)
+given in its argument. If no \\bibliography command is found,
+returns the symbol NONE."
+ (let ((texfile-buffer (current-buffer))
+ texfile)
+ ;; if AucTeX's TeX-master is used and set to a string, we must
+ ;; search that file for a \bibliography command, as it's more
+ ;; likely to be in there than in the file we're in.
+ (and (boundp 'TeX-master)
+ (stringp TeX-master)
+ (setq texfile (ensure-extension TeX-master "tex")))
+ (with-temp-buffer
+ (if (and texfile (file-readable-p texfile))
+ (insert-file-contents texfile)
+ (insert-buffer-substring texfile-buffer))
+ (save-excursion
+ (goto-char (point-min))
+ (if (re-search-forward "\\\\bibliography{\\(.*?\\)}" nil t)
+ (mapcar #'(lambda (file)
+ (ensure-extension file "bib"))
+ (split-string (buffer-substring-no-properties (match-beginning 1) (match-end 1)) ",[ ]*"))
+ 'none)))))
+
+(defun ebib-insert-bibtex-key ()
+ "Inserts a BibTeX key at POINT.
+The user is prompted for a BibTeX key and has to choose one from
+the database(s) associated with the current LaTeX file, or from
+the current database if there is no \\bibliography command. Tab
+completion works."
+ (interactive)
+ (ebib-execute-when
+ ((database)
+ (or ebib-local-bibtex-filenames
+ (setq ebib-local-bibtex-filenames (ebib-get-local-databases)))
+ (let (collection insert-string)
+ (if (eq ebib-local-bibtex-filenames 'none)
+ (if (null (edb-cur-entry ebib-cur-db))
+ (error "No entries found in current database")
+ (setq collection (ebib-create-collection (edb-database ebib-cur-db))))
+ (mapc #'(lambda (file)
+ (let ((db (ebib-get-db-from-filename file)))
+ (cond
+ ((null db)
+ (message "Database %s not loaded" file))
+ ((null (edb-cur-entry db))
+ (message "No entries in database %s" file))
+ (t (setq collection (append (ebib-create-collection (edb-database db))
+ collection))))))
+ ebib-local-bibtex-filenames))
+ (when collection
+ (let ((key (completing-read "Key to insert: " collection nil t nil ebib-minibuf-hist)))
+ (if-str (command (completing-read "Command to use: " ebib-insertion-commands
+ nil nil nil ebib-insertion-commands))
+ (let* ((n-opt-args (or
+ (cdr (assoc command ebib-insertion-commands))
+ 1))
+ (opt-args (loop for i from 1 to n-opt-args
+ collect (read-from-minibuffer (format "Optional argument %d: " i)))))
+ (while (equal (car opt-args) "") ; empty args at the beginning of the list don't need
+ (setq opt-args (cdr opt-args))) ; to be included.
+ (setq insert-string (format "\\%s%s{%s}" command
+ (mapconcat #'(lambda (str)
+ (format "[%s]" str))
+ opt-args "")
+ key)))
+ (setq insert-string key)))
+ (when insert-string
+ (insert insert-string)))))
+ ((default)
+ (error "No database loaded"))))
+
+(defun ebib-entry-summary ()
+ "Shows the fields of the key at POINT.
+The key is searched in the database associated with the LaTeX
+file, or in the current database if no \\bibliography command can
+be found."
+ (interactive)
+ (ebib-execute-when
+ ((database)
+ (or ebib-local-bibtex-filenames
+ (setq ebib-local-bibtex-filenames (ebib-get-local-databases)))
+ (let ((key (read-string-at-point "\"#%'(),={} \n\t\f"))
+ entry
+ database)
+ (if (eq ebib-local-bibtex-filenames 'none)
+ (if (not (member key (edb-keys-list ebib-cur-db)))
+ (error "Entry `%s' is not in the current database" key)
+ (setq entry (gethash key (edb-database ebib-cur-db)))
+ (setq database ebib-cur-db))
+ (multiple-value-setq (entry database)
+ (catch 'found
+ (mapc #'(lambda (file)
+ (let ((db (ebib-get-db-from-filename file)))
+ (if (null db)
+ (message "Database %s not loaded" file)
+ (if (member key (edb-keys-list db))
+ (throw 'found (values (gethash key (edb-database db)) db))))))
+ ebib-local-bibtex-filenames)
+ (list nil nil))))
+ (if (null entry)
+ (error "Entry `%s' not found" key)
+ (let ((index-window (get-buffer-window ebib-index-buffer)))
+ (if (not index-window)
+ (with-help-window "*Help*"
+ (ebib-format-fields entry 'princ))
+ (with-selected-window index-window
+ (setq ebib-cur-db database)
+ (ebib-fill-index-buffer)
+ (setf (edb-cur-entry ebib-cur-db) (member key (edb-keys-list ebib-cur-db)))
+ (goto-char (point-min))
+ (re-search-forward (format "^%s " key))
+ (beginning-of-line)
+ (ebib-set-index-highlight))
+ (ebib-fill-entry-buffer))))))
+ ((default)
+ (error "No database(s) loaded"))))
+
+(provide 'ebib)
+
+;;; ebib ends here
diff --git a/biblio/bibtex/utils/ebib/info/ebib-manual.info b/biblio/bibtex/utils/ebib/info/ebib-manual.info
new file mode 100644
index 0000000000..fc0ec3fd61
--- /dev/null
+++ b/biblio/bibtex/utils/ebib/info/ebib-manual.info
@@ -0,0 +1,2444 @@
+This is /home/joost/programs/ebib/manual/texi/ebib-manual.info,
+produced by makeinfo version 4.12 from
+/home/joost/programs/ebib/manual/texi/ebib-manual.texi.
+
+INFO-DIR-SECTION Emacs
+START-INFO-DIR-ENTRY
+* Ebib: (ebib). A BibTeX database manager that runs in Emacs and XEmacs
+END-INFO-DIR-ENTRY
+
+
+File: ebib-manual.info, Node: Top, Next: Installation, Prev: (dir), Up: (dir)
+
+Overview
+********
+
+Ebib is a program with which you can manage BibTeX database files
+without having to edit the raw `.bib' files. It runs in GNU/Emacs,
+version 21.1 or higher (lower versions are not supported) and XEmacs
+(at least from version 21.4; lower version have not been tested, but
+may work.)
+
+ It should be noted that Ebib is _not_ a minor or major mode for
+editing BibTeX files. It is a program in itself, which just happens to
+make use of Emacs as a working environment, in the same way that for
+example Gnus is.
+
+ The advantage of having a BibTeX database manager inside Emacs is
+that X is no longer required, as Emacs can run on the console, and also
+that some integration with Emacs' TeX and LaTeX modes becomes possible.
+For example, you can push a BibTeX key from Ebib to a LaTeX buffer, or,
+vice versa, when you're in a LaTeX buffer, you can consult your BibTeX
+database and insert a key from it into the document. Another advantage
+of Ebib is that it is completely controlled by key commands: no
+stressful mouse movements are required, as with most other (usually
+X-based) BibTeX database managers.
+
+* Menu:
+
+* Installation::
+* Basic Usage::
+* Advanced Features::
+* The Ebib Buffers::
+* Customisation::
+
+
+File: ebib-manual.info, Node: Installation, Next: Basic Usage, Prev: Top, Up: Top
+
+1 Installation
+**************
+
+To install Ebib, so that it will be loaded automatically when Emacs is
+started, simply copy the file `ebib.el' to somewhere in your load path
+and add the following line to Emacs' init file (`~/.emacs' for
+GNU/Emacs, `~/.xemacs/init.el' for XEmacs):
+
+
+ (autoload 'ebib "ebib" "Ebib, a BibTeX database manager." t)
+
+ Note: if you do not know what your load path is set to, go to the
+`*scratch*' buffer, type `load-path' on an empty line, put the cursor
+right after it and type `C-j'. The value of `load-path' will then
+appear in the buffer.
+
+ When Ebib is loaded, you can run it with `M-x ebib'. This command is
+also used to return to Ebib when you have put the program in the
+background. You can bind this command to a key sequence by putting
+something like the following in Emacs' init file:
+
+
+ (global-set-key "\C-ce" 'ebib)
+
+ You can of course choose any key combination you like. (In Emacs, key
+combinations of `C-c <letter>' are reserved for the user, so that no
+package may set them.)
+
+ It is recommended to byte-compile the source, Ebib runs quite a lot
+faster when it is byte-compiled. You can do this either within Emacs
+with `M-x byte-compile-file', or from your shell by going into the
+directory where you put `ebib.el' and typing:
+
+
+ emacs -batch -f batch-byte-compile ebib.el
+
+ (Substitute `emacs' with `xemacs' if you use XEmacs.) This will
+create a file `ebib.elc', which Emacs will load instead of `ebib.el'.
+Byte-compiling Ebib may produce a warning about functions that are "not
+known to be defined". This can be safely ignored. GNU Emacs and XEmacs
+have some small differences, and the functions reported in this warning
+are those used by the other version. Ebib makes sure that the correct
+functions are called.
+
+
+File: ebib-manual.info, Node: Basic Usage, Next: Advanced Features, Prev: Installation, Up: Top
+
+2 Basic Usage
+*************
+
+A BibTeX database is somewhat of a free-form database. A BibTeX entry
+consists of a set of field-value pairs. Furthermore, each entry is
+known by a unique key. The way that Ebib navigates this database is by
+having two windows, one that contains a list of all the entry keys in
+the database, and one that contains the fields and values of the
+currently highlighted entry.
+
+ When Ebib is started, the current windows in Emacs are hidden and
+the Emacs frame is divided into two windows. The top one contains a
+buffer that is called the _index buffer_, while the lower window
+contains the _entry buffer_. When a database is loaded, the index
+buffer holds a list of all the keys in the database. You can move
+through these keys with the cursor keys. In the entry buffer, the
+fields of the currently highlighted entry are shown, with their values.
+
+ In this chapter, all basic functions of Ebib are described, so that
+you can get startet with it. At times, reference will be made to later
+chapters, where more specific functions are described.
+
+* Menu:
+
+* Getting Started::
+* Editing the Database::
+* Saving a Database::
+* Searching::
+* LaTeX Integration::
+* Cross-referencing::
+* Printing the Database::
+* Marking Entries::
+* Calling a Browser::
+* Viewing Files::
+
+
+File: ebib-manual.info, Node: Getting Started, Next: Editing the Database, Prev: Basic Usage, Up: Basic Usage
+
+2.1 Getting Started
+===================
+
+Ebib is started with the command `M-x ebib'. Entering this command
+hides all the windows in the current Emacs frame and replaces them with
+two windows: the top one contains the index buffer, the bottom one,
+taking up the larger part of the screen, contains the entry buffer. The
+index buffer is named `none', to indicate that no database has been
+loaded. If you open a database, or start a new one, the index buffer
+will carry its name.
+
+ You can quit Ebib by typing `q'. You will be asked for confirmation,
+and you will receive a warning if you happen to have an unsaved
+database. The command `z' can also be used to leave Ebib. However,
+unlike `q', which completely quits Ebib, `z' only lowers it, so that it
+remains active in the background. The `.bib' files that you have opened
+remain loaded, and you can return to them by typing `M-x ebib' again.
+
+* Menu:
+
+* Opening a `.bib' file::
+* Navigating a `.bib' file::
+* Starting a New `.bib' File::
+
+
+File: ebib-manual.info, Node: Opening a `.bib' file, Next: Navigating a `.bib' file, Prev: Getting Started, Up: Getting Started
+
+2.1.1 Opening a `.bib' file
+---------------------------
+
+Loading a `.bib' file into Ebib is done with the command `o'. Ebib
+reads the file that you specify, and reports how many entries it found,
+how many `@string' definitions it found, and whether a `@preamble' was
+found. Note that when Ebib reads a `.bib' file, it only reads entry
+types (e.g. `book, article, phdthesis' etc.) that it knows about.
+Fields (e.g. `author, title, year' etc.) that Ebib does not know
+about, are loaded (and saved) but not displayed, so they cannot be
+edited. Therefore, you should make sure that all the entry types and
+fields that your databases use are defined. A sensible set has been
+predefined, so that anyone who's using standard BibTeX entry types
+should have no problem loading an existing `.bib' file into Ebib. If,
+however, you have custom entry types, or custom fields in your `.bib'
+files, you should read the chapter on customising Ebib to learn how to
+define them, so that Ebib knows about them. (See *note Entry types:
+entry-types.)
+
+ Every time Ebib reads a `.bib' file, it produces a few log messages.
+These are written into a special buffer `*Ebib-log*'. If Ebib
+encounters entry types in the `.bib' file that it doesn't know, it will
+log a warning. If Ebib finds something that it believes to be
+incorrect, an error will be logged. If any warnings or errors occur
+while loading the `.bib' file, Ebib tells you so after loading the
+file. To view the log file, press `l' in the index buffer.
+
+ Note that even if it detects warnings or errors, Ebib will try to
+continue parsing the rest of the `.bib' file. That means that normally,
+only the entry in which an error occurs is not read. Entries occurring
+after the problematic one are read.
+
+
+File: ebib-manual.info, Node: Navigating a `.bib' file, Next: Starting a New `.bib' File, Prev: Opening a `.bib' file, Up: Getting Started
+
+2.1.2 Navigating a `.bib' file
+------------------------------
+
+Once you've opened a `.bib' file, the keys of all the entries in the
+file are shown in alphabetical order in the index buffer in the top
+Ebib window. (In fact, it is possible to show more than just the entry
+key in this buffer. See *note Index Display Fields:
+index-display-fields. on how to accomplish this.) The first entry is
+highlighted, meaning it is the current entry. The fields it holds and
+their values are shown in the entry buffer in the bottom Ebib window.
+The first field is the type field, which tells you what kind of entry
+you're dealing with (i.e. `book, article', etc.).
+
+ Below the type field, Ebib displays (up to) three sets of fields.
+The first set are the so-called obligatory fields, the fields that
+BibTeX requires to be filled. The second group are the optional fields,
+which do not have to be filled but which BibTeX will normally add to
+the bibliography if they do have a value. The third group are the
+so-called additional fields. These fields are usually ignored by BibTeX
+(note that BibTeX normally ignores _all_ fields it does not know),
+although there are bibliography styles that treat some of these fields
+as optional rather than as additional; (i.e., the `harvard' styles do
+typeset the `url' field, if present.)
+
+ The first two groups of fields are different for each entry type,
+while the third group are common to all entry types. You can use the
+additional fields, for example, to add personal comments to the works
+in your database. Ebib by default defines the following additional
+fields: `crossref, url, annote, abstract, keywords, file' and
+`timestamp'. If these are not sufficient for you, you need to customise
+Ebib and add your own fields. (See *note Additional Fields:
+additional-fields, if you need to find out how to do that.)
+
+ To move around in the index buffer, you can use the `up' and `down'
+cursor keys, `C-p' and `C-n', or for those more used to mutt's key
+bindings, `k' and `j'. Furthermore, `Space' and `PgDn' move a screenful
+of entries down, while `b' and `PgUp' move in the other direction.
+Lastly, `g' and `Home' move to the first entry, while `G' and `End'
+move to the last one.
+
+ Ebib is not restricted to opening just one `.bib' file at a time.
+You can open more files by just typing `o' again and entering the
+filename. Ebib numbers the databases: the number of each database is
+shown in the mode line of the index buffer, directly before the
+database name. The keys 1--9 provide a quick way of jumping from one
+database to another. Note that the numbering is dynamic: if you have
+three databases opened and then close the second, database 3 becomes
+database 2.
+
+ With the `left' and `right' cursor keys, you can move to the
+previous or next database. These keys wrap, so if you hit the `left'
+cursor key while the first database is active, you move to the last
+database. If you are done with a database and want to close it, type
+`c'. This closes the current database. It does not leave Ebib, and all
+other databases you have open will remain so.
+
+
+File: ebib-manual.info, Node: Starting a New `.bib' File, Prev: Navigating a `.bib' file, Up: Getting Started
+
+2.1.3 Starting a New `.bib' File
+--------------------------------
+
+If you want to start a new `.bib' file from scratch, you cannot just go
+and enter entries. You first have to give the database a name. So, to
+start a new database, type `o' first, and give the new file a name.
+Once you have done this, you can start adding entries to the database.
+
+
+File: ebib-manual.info, Node: Editing the Database, Next: Saving a Database, Prev: Getting Started, Up: Basic Usage
+
+2.2 Editing the Database
+========================
+
+Of course, being able to open and view `.bib' files is only half the
+fun. One needs to be able to edit the files as well. Ebib's essential
+editing facilities are discussed here.
+
+* Menu:
+
+* Adding and Deleting Entries::
+* Editing Fields Values::
+* Editing Multiline Values::
+* Copy::
+
+
+File: ebib-manual.info, Node: Adding and Deleting Entries, Next: Editing Fields Values, Prev: Editing the Database, Up: Editing the Database
+
+2.2.1 Adding and Deleting Entries
+---------------------------------
+
+To add an entry to a database, you type `a'. When you do this, Ebib
+first asks you for an entry key, as every entry must be identified by a
+unique key. Just type a name for the new entry (say `jones1998'). Since
+the entry key must be unique, Ebib will complain if you enter a key
+that already exists.
+
+ Note that if you should later decide that you want to change the key
+of an entry, you can do so with the command `E'. So if you have an
+entry with the key `jones1998' and you want to add another entry by
+Jones from 1998, you can call the new one `jones1998b' and rename the
+existing one to `jones1998a'.
+
+ Deleting an entry is done with `d'. Be careful with this: you will
+be asked for confirmation, but once you've confirmed, the entry is
+gone, and it is not possible to bring it back. There is no undo in
+Ebib. (If you haven't saved the database yet, it is still possible to
+retrieve the deleted entry from the `.bib' file, and otherwise it may
+still be in the backup file that Ebib creates. See *note Saving a
+Database: saving-database.)
+
+
+File: ebib-manual.info, Node: Editing Fields Values, Next: Editing Multiline Values, Prev: Adding and Deleting Entries, Up: Editing the Database
+
+2.2.2 Editing Fields Values
+---------------------------
+
+Editing the field values for an entry is done in the lower of the two
+Ebib buffers, the so-called entry buffer. You can move focus to the
+entry buffer by typing the command `e' in the index buffer.
+
+ You can move between fields with the same keys that you use to move
+between entries in the index buffer: the cursor keys `up' and `down',
+`C-p' and `C-n', or `j' and `k'. `Space' and `PgDn' move to the next
+set of fields, while `PgUp' and `b' move to the previous set of fields.
+`g' and `G', and `Home' and `End' also work as expected.
+
+ Editing a field value can be done with `e'. For most fields, Ebib
+simply asks you for a string value in the minibuffer. (Here, `RET'
+confirms the edit, while `C-g' cancels it.) Although BibTeX requires
+that field values be surrounded by braces {} (or double quotes "", but
+Ebib does not use those, even though it can of course handle them when
+they are used in an existing `.bib' file) you do not need to type
+these. Ebib adds them when it saves the `.bib' file.
+
+ Some fields, however, are handled in a special way. The first of
+these is the `type' field: if you edit this field, you must enter one
+of the predefined entry types. Ebib won't allow you to enter anything
+else. You can use tab-completion in this case. Similarly, if you edit
+the `crossref' field, Ebib requires that you fill in a key from the
+database. Here, too, you can use tab-completion.
+
+ Note that if you're adding a new entry, Ebib automatically puts you
+in the entry buffer after you've typed the entry key: you don't have to
+type `e' to move to the entry buffer. When creating a new entry, it is
+best to set the `type' field first, because the `type' field determines
+which other fields are available for an entry.
+
+ Note also that after editing a field, Ebib (usually) puts you on the
+next field. This is convenient if you're creating a new entry and need
+to fill out several fields in a row.
+
+ If you're done editing the fields of the entry, type `q' to move
+focus back to the index buffer. (Note: keys may have different
+functions in the index buffer and the entry buffer. `q' is a typical
+example: in the entry buffer, it quits editing the entry and moves
+focus back to the index buffer. In the index buffer, however, `q' quits
+Ebib.)
+
+
+File: ebib-manual.info, Node: Editing Multiline Values, Next: Copy, Prev: Editing Fields Values, Up: Editing the Database
+
+2.2.3 Editing Multiline Values
+------------------------------
+
+Apart from the `type' and `crossref' field, there is another field that
+Ebib handles in a special way when you edit its value. This is the
+`annote' field. Most field values normally consist of a single line of
+text. However, because the `annote' field is meant for creating
+annotated bibliographies, it would not be very useful if you could only
+write one line of text in this field. Therefore, when you edit the
+`annote' field, Ebib puts you in the so-called _multiline edit buffer_.
+This is essentially a text mode buffer that allows you to enter as much
+text as you like. To store the text and leave the multiline edit
+buffer, type `C-x b'. (This is of course the standard Emacs command to
+switch buffers. It is redefined in Ebib's multiline edit buffer.)
+
+ If you want to leave the multiline edit buffer without saving the
+text you have just typed, you can use the command `C-x k'. This too is
+redefined in the multiline edit buffer: it leaves the multiline edit
+buffer (and hides it), but it does not actually kill the buffer.
+
+ Multiline values are not restricted to the `annote' field. Any field
+can in fact hold a multiline value. (Except of course the `type' and
+`crossref' fields.) To give a field a multiline value, use `l' instead
+of `e'. You will again be put in the multiline edit buffer, where you
+can edit the value. Note that you can use `l' even if a field already
+has a single line value. Ebib will just make that the first line in the
+multiline edit buffer.
+
+ When a field has a multiline value, only the first line is shown in
+the entry buffer, for space reasons. To indicate that the value is
+multiline, a plus sign `+' is placed in front of the value.
+
+ By the way, the `e' key is smart about the way an entry must be
+edited. If you press `e' on a field that already has a multiline value,
+regardless of the fact whether it is the `annote' field or not, Ebib
+puts you in the multiline edit buffer. Therefore, you need `l' only if
+you want to give a field a multiline value when it doesn't have one yet.
+
+ For more details on working with the multiline edit buffer, see
+*note The Multiline Edit Buffer: multiline-edit-buffer.
+
+
+File: ebib-manual.info, Node: Copy, Prev: Editing Multiline Values, Up: Editing the Database
+
+2.2.4 Copy, cut, paste (yank), and delete
+-----------------------------------------
+
+A few more commands are available when you're in the entry buffer
+editing field values. The commands `c', `x' and `y' implement a copy
+and paste system: `c' copies the contents of the current field to the
+kill ring, `x' kills the contents of the current field to the kill
+ring, and `y' yanks (pastes) the most recently killed text in the kill
+ring. You can type `y' repeatedly to get the same effect you get in
+Emacs when you type `M-y' after an initial `C-y': every additional use
+of `y' moves back in the kill ring.
+
+ Lastly, there is the command `d', which deletes the contents of the
+current field, without asking questions and without storing the text in
+the kill ring.
+
+ Note that `y' only works when the current field does not have a value
+yet. This is to prevent you from accidentally overwriting a field
+value. If you do want to yank text into a field that already has a
+value, simply hit `d' first to delete the text.
+
+
+File: ebib-manual.info, Node: Saving a Database, Next: Searching, Prev: Editing the Database, Up: Basic Usage
+
+2.3 Saving a Database
+=====================
+
+When you have undertaken any kind of editing action on a database, it is
+marked as modified, which is indicated in the mode line for the index
+buffer. A modified database can be saved by typing `s'. This saves the
+database to the file it was loaded from without asking for
+confirmation. (It is similar to `C-x C-s' in Emacs.) If you're saving a
+file for the first time after loading it, Ebib creates a backup file
+under the same name appended with a tilde: `<filename>.bib~'.
+
+ If you have multiple databases open, have made changes in more than
+one of them, and want to save all of them without going through each
+yourself, you can use `S'. (That's a capital `S'.) This command saves
+all modified databases.
+
+ Another way to save a database is to use the command `w'. Use this
+if you want to write the database to another file than the one it was
+loaded from. Ebib will ask you for a filename to save to, and will of
+course warn you if that file happens to exist already. Note that this
+command is similar to `C-x C-w' in Emacs, so that after using it, the
+new `.bib' file becomes associated with the database.
+
+
+File: ebib-manual.info, Node: Searching, Next: LaTeX Integration, Prev: Saving a Database, Up: Basic Usage
+
+2.4 Searching
+=============
+
+Ebib provides several search methods. First, if you are in the index
+buffer, the normal Emacs incremental searches, `C-s' and `C-r',
+function as expected. You can use them to search entry keys. Note that
+once you've found the key you're searching, you must hit `ENTER' to
+make it active. Ebib does not update the entry buffer during
+incremental search, as this would be rather pointless: you're only
+interested in the entry you're searching for, not in the entries you
+pass along the way.
+
+ Of course, it is also possible to search the database itself. If you
+type `/', Ebib asks you for a search term. This can be a regular
+expression, to allow for flexibility in searching. After hitting
+`ENTER', Ebib will start searching the database (starting from the
+current entry, _not_ from the first entry!) and will display the entry
+with the first occurrence of the search string that it finds. All the
+occurrences of the search string in that entry are highlighted.
+
+ Ebib searches all the fields of each entry. It is not possible with
+`/' to specify the fields to search. Note that if the search term is
+found in a field with a multiline value, Ebib will highlight the `+'
+sign that it displays in front of the field value. Keep an eye out for
+this when doing a search, because Ebib only shows the first line of
+multiline values, and if the search term appears in another line, the
+highlighted `+' is the only indication that the search term was found.
+(Well, that and the fact that Ebib does _not_ say `Search string not
+found', of course...)
+
+ A search term may of course appear more than once in the database. To
+search for the next occurrence, type `n'. This will continue searching
+for the search string in the rest of the database. Again, the first
+entry found to contain the search string is displayed. Note that `n'
+does not wrap: if the end of the database is reached, Ebib stops
+searching. To continue searching from the top, hit `g' and then `n'.
+
+ The functions described here form Ebib's basic search functionality.
+Ebib also has a much more powerful search mechanism in the form of
+_virtual databases_. These are described later. (See *note Virtual
+Databases: virtual-databases.)
+
+
+File: ebib-manual.info, Node: LaTeX Integration, Next: Cross-referencing, Prev: Searching, Up: Basic Usage
+
+2.5 LaTeX Integration
+=====================
+
+Having a BibTeX database manager running inside Emacs has an additional
+advantage: it makes it trivially easy to insert BibTeX keys in your
+LaTeX documents.
+
+ Ebib provides two functions for this. First, if you're in a LaTeX
+buffer, you can call the function `ebib-insert-bibtex-key'. When you
+invoke this command, Emacs prompts you for a key from the database(s)
+associated with the current buffer, a citation command (that has to be
+typed _without_ the backslash) and any optional argument(s) the command
+allows. You can type the key using TAB-completion, and after hitting
+`RET', Emacs puts a BibTeX citation at the cursor position in the
+current buffer with the key you selected.
+
+ You can also do it the other way around: if you're in the index
+buffer in Ebib, you can _push_ an entry to a LaTeX buffer. To do this,
+use the key `p'. Ebib will ask you for a buffer to push the entry to, a
+citation command and also any optional arguments, and then insert a
+citation at the current cursor position in the buffer you've supplied.
+
+ For the citation command that `ebib-insert-bibtex-key' and the
+command key `p' ask for can be any command that you need. But it is
+also possible to predefine a list of citation commands which you can
+then enter at this prompt using tab completion. For details on setting
+this up, see *note Insertion Commands: insertion-commands.
+
+ There is another function that is available outside Ebib:
+`ebib-entry-summary'. This command reads the key under the cursor in the
+current buffer and displays the field values associated with that key
+in a `*Help*' buffer. This allows you to quickly check a reference in a
+text.
+
+ Probably the easiest way to use both `ebib-insert-bibtex-key' and
+`ebib-entry-summary' is to bind them to a key sequence. For example, you
+could put the following in your `~/.emacs':
+
+
+ (add-hook 'LaTeX-mode-hook #'(lambda ()
+ (local-set-key "\C-cb" 'ebib-insert-bibtex-key)))
+
+ This binds `C-c b' to the command `ebib-insert-bibtex-key' in
+AUCTeX's LaTeX mode. (Note that commands of the form `C-c <letter>' are
+reserved for the user, and should therefore not be set by any package.
+For this reasons, Ebib does not set this command automatically.)
+
+* Menu:
+
+* Consulting databases from within a LaTeX file::
+
+
+File: ebib-manual.info, Node: Consulting databases from within a LaTeX file, Prev: LaTeX Integration, Up: LaTeX Integration
+
+2.5.1 Consulting databases from within a LaTeX file
+---------------------------------------------------
+
+The commands `ebib-insert-bibtex-key' and `ebib-entry-summary' must
+consult the database or databases loaded in Ebib, and Ebib tries to be
+smart about which database(s) to consult. Usually, a LaTeX file has a
+`\bibliography' command somewhere toward the end, which names the
+`.bib' file or files that contain the bibliography entries. If you
+consult a BibTeX database from within a LaTeX file, Ebib first looks
+for a `\bibliography' command, reads the `.bib' files from it, and then
+sees if those files happen to be open. If they are, Ebib uses them to
+let you pick an entry key (in the case of `ebib-insert-entry-key') or
+to search for the entry (in the case of `ebib-entry-summary').
+
+ Of course, it may be the case that the LaTeX file is actually part
+of a bigger project, and that only the master file contains a
+`\bibliography' command. To accommodate for this, Ebib checks whether
+the (buffer-local) variable `TeX-master' is set to a filename. If it
+is, it reads that file and tries to find the `\bibliography' command
+there. (Note: `TeX-master' is an AUCTeX variable, which is used to keep
+track of multi-file projects. If you don't use AUCTeX, this
+functionality doesn't work, and Ebib will only check the current file
+for a `\bibliography' command.)
+
+ Note that if one of the `.bib' files in the `\bibliography' command
+isn't loaded, Ebib issues a warning message about this, and continues
+to check for the next `.bib' file. These warning messages appear in the
+minibuffer, but are probably directly overwritten again by further
+messages or prompts Ebib produces, so check the `*Messages*' buffer if
+Ebib doesn't seem to be able to find an entry that you're sure is in
+one of your databases.
+
+ Another thing to keep in mind is that Ebib only looks for a
+`\bibliography' command once: the first time either
+`ebib-insert-bibtex-entry' or `ebib-entry-summary' is called. It stores
+the result of this search and uses it the next time either of these
+commands is used. Therefore, if you make a change to the
+`\bibliography' command, you must reload the file (use `M-x
+revert-buffer') to make sure Ebib rereads the `\bibliography' command.
+
+ If no `\bibliography' command is found at all, either in the LaTeX
+file itself, or in the master file, Ebib simply consults the current
+database, i.e. the database that was active when Ebib was lowered with
+`z'.
+
+
+File: ebib-manual.info, Node: Cross-referencing, Next: Printing the Database, Prev: LaTeX Integration, Up: Basic Usage
+
+2.6 Cross-referencing
+=====================
+
+BibTeX has a cross-referencing facility. Suppose you have an entry
+`jones1998', which appeared in a book that is also in your database,
+say under `miller1998'. You can tell BibTeX that `jones1998' is
+contained in `miller1998' by putting `miller1998' in the `crossref'
+field. When BibTeX finds such a cross-reference, all the fields of
+`jones1998' that don't have a value inherit their values from
+`miller1998'. At the very least, this saves you some typing, but more
+importantly, if two or more entries cross-reference the same entry,
+BibTeX automatically includes the cross-referenced entry in the
+bibliography (and puts a reduced reference in the cross-referencing
+entries).
+
+ When you fill in the `crossref' field in Ebib, Ebib displays the
+values of the cross-referenced entry in the entry buffer. To indicate
+that they are just inherited values, they are marked with
+`ebib-crossref-face', which by default is red. (You can customise it,
+of course. See the customisation option *note Crossref Face:
+crossref-face.) These values are just displayed for convenience:
+otherwise, Ebib treats these fields as if they are empty. That is, they
+cannot be edited (to edit them, you need to edit the cross-referenced
+entry), and it's not possible to copy these values to the kill ring.
+
+ If you're viewing an entry that has a cross-reference and you want
+to go to the cross-referenced entry you can type `F'. This command
+reads the value of the `crossref' field and then displays that entry.
+If you want to do the reverse, i.e., see if the current entry is
+cross-referenced by any other entries, you can use the key `N'. What
+this command actually does is to make the key of the current entry the
+current search string and to search for its first occurrence _after_ the
+current entry. Like the normal search command `/', `N' does not wrap
+and only searches forward. So if you want to search for the next
+cross-referencing entry you need to press `n' (i.e., lowercase `n'),
+and to continue searching from the first entry, press `g' followed by
+`n'.
+
+ Note that if you want to use BibTeX's cross-referencing options, you
+need to set the option *note Save Xrefs first: save-xrefs-first. This
+tells Ebib to save all entries with a `crossref' field first in the
+`.bib' file. Without this, BibTeX's cross-referencing will not work
+reliably.
+
+
+File: ebib-manual.info, Node: Printing the Database, Next: Marking Entries, Prev: Cross-referencing, Up: Basic Usage
+
+2.7 Printing the Database
+=========================
+
+Sometimes it may be useful to have a `.pdf' file or print-out of your
+database. Although Ebib does not actually do the printing itself, it can
+create a LaTeX file for you that you can compile and print. In fact,
+there are two ways of doing this.
+
+ The first is the command `L'. This command creates a simple LaTeX
+document that essentially contains a `\nocite{*}' command followed by a
+`\bibliography' command referring to the `.bib' file belonging to the
+current database. You can then run the usual sequence of LaTeX, BibTeX,
+LaTeX, LaTeX on this file, creating a document containing a list of all
+the references in your database.
+
+ The second command for printing a database is `P'. This command also
+creates a LaTeX file. However, instead of simply providing a
+`\nocite{*}' command, `P' creates a `tabular' environment for each
+entry in the database listing all the fields of that entry and their
+values.
+
+ The difference between `L' and `P' should be obvious: with `L', you
+get a list of references created by BibTeX. This means that the
+references look the way they will when actually used in a document, but
+it also means that the list only contains the information that BibTeX
+deems relevant.
+
+ With `P' you get an overview of your database with _all_ the field
+values of each entry, including the ones that BibTeX does not use. The
+entries are not formatted as literature references, but in a way
+similar to how they are shown in Ebib.
+
+ By default, `P' only shows single-line field values. That is,
+multiline values are normally excluded. If you want to include
+multiline values in the print-out, you have to set the option `Print
+Multiline' in Ebib's customisation buffer. (See *note The Customisation
+Buffer: customisation-buffer.) With this option set, Ebib will include
+all multiline values in the LaTeX file that `P' creates. Note however
+that Ebib does not change anything about the formatting of the text in
+a multiline value. So if you plan to make (heavy) use of this option,
+make sure that the way you type your text conforms to LaTeX's
+conventions (e.g. empty lines to mark paragraphs, etc.) and doesn't
+contain any characters such as `&' that are illegal in LaTeX. (Or,
+alternatively, use LaTeX code in your multiline fields.)
+
+ As mentioned, when you use either `L' or `P', Ebib creates a LaTeX
+file. More precisely, it creates a temporary buffer and writes the
+LaTeX code into it, and then saves the contents of that buffer to a
+file. After it has done that, Ebib lowers itself and instruct Emacs to
+open the file in a buffer, which will then be properly set up as a
+LaTeX buffer. From there you can run LaTeX and view the result.
+
+ Before doing all this, Ebib asks you which file to write to. Be
+careful with this: since this is supposed to be a temporary file, Ebib
+simply assumes that if you provide a filename of an existing file, it
+can overwrite that file without warning!
+
+ A better way to tell Ebib which file to use is to set the option
+`Print Tempfile' in Ebib's customisation buffer to some temporary file.
+When this option is set, Ebib will always use this file to write to,
+and will not ask you for a filename anymore when you type `L' or `P'.
+
+ There are two more customisation options for printing the database.
+These are `Print Preamble' and `LaTeX Preamble'. With these options,
+you can specify what Ebib should put in the preamble of the LaTeX files
+it creates. Use this if you want to use specific packages (e.g.
+`\usepackage{a4}' or `\usepackage{times})'. This is especially useful
+for `L', since by default, Ebib uses BibTeX's standard bibliography
+style. With the option `LaTeX Preamble' you can set your preferred
+bibliography style. Details are discussed in the chapter on
+customisation, see *note The Customisation Buffer: customisation-buffer.
+
+
+File: ebib-manual.info, Node: Marking Entries, Next: Calling a Browser, Prev: Printing the Database, Up: Basic Usage
+
+2.8 Marking Entries
+===================
+
+Commands in the index buffer generally operate on one single entry, or
+on all entries. For some, however, it may sometimes be useful to
+perform them on more than one entry, but not necessarily all of them.
+This can be achieved by marking entries. You can mark the entries you
+want to perform a command on with the key `m'. This marks (or unmarks)
+the current entry. Marked entries are displayed in inverse video (in
+GNU Emacs) or white on red (in XEmacs; note that the face properties of
+marked entries can be customised through the customisation option *note
+Marked Face: marked-face.)
+
+ Of the commands discussed so far, four can be used on marked
+entries: `d', `p', `L' and `P'. Note, however, that it is not enough to
+mark the entries you want and then type any of these commands. If you
+do so, they will behave as if no entries were marked. To get these
+commands to work on the marked entries, you have to type a semicolon
+before them. That is, `; d' deletes all marked entries, and `; L' and
+`; P' create a LaTeX file of only the marked entries. The command `m'
+itself can also be used with the `;' prefix. If there are any marked
+entries, `; m' unmarks them all. Otherwise, `; m' marks all entries.
+
+ `; p' pushes all marked entries to a LaTeX buffer. It does so by
+putting them all in a single `\cite' command, separated by commas, not
+by putting them in separate `\cite' commands.
+
+
+File: ebib-manual.info, Node: Calling a Browser, Next: Viewing Files, Prev: Marking Entries, Up: Basic Usage
+
+2.9 Calling a Browser
+=====================
+
+With more and more scientific literature becoming available on-line, it
+becomes common to store URLs in a BibTeX database. Sometimes you may
+want to load such a URL in your browser. Ebib provides a convenient way
+for doing so.
+
+ If you type `u' in the index buffer, Ebib takes the first URL stored
+in the `url' field of the current entry and passes it to your browser.
+Furthermore, in the entry buffer, you can use `u' on _any_ field. If
+you happen to have more than one URL stored in the relevant field, and
+you want to pass the second (or third, etc.) to the browser, you can
+use a prefix argument. So typing `M-2 u' sends the second URL to your
+browser, `M-3 u' the third, and so on.
+
+ It is not even necessary that the relevant field contains _only_
+URLs. It may contain other text mixed with the URLs: Ebib simply
+searches the URLs in the field and ignores the rest of the text. Ebib
+considers every string of characters that starts with `http://' or
+`https://' and that does not contain whitespace or any of the
+characters `" ' <' or `>' as a URL. Furthermore, Ebib regards
+everything that is enclosed in a LaTeX `\url{...}' command as a URL.
+This behaviour is controlled by a regular expression that can be
+customised. (See *note Url Regexp: url-regexp.)
+
+ There exists an Emacs function `browse-url', which provides a nifty
+interface to calling an external browser. In principle, Ebib uses this
+function. However, if this function is not present on your installation,
+you can set the option *note Browser Command: browser-command. to call
+the browser.
+
+ As just explained, if you press `u' in the index buffer, Ebib
+searches the `url' field of the current entry for URLs. If you have the
+habit of putting your URLs in another field, however, you may change
+the customisation option *note Standard Url Field: standard-url-field.
+and tell Ebib to use another field for searching the URLs. (Keep in
+mind, though, that in the entry buffer, you can load a URL from any
+field.)
+
+
+File: ebib-manual.info, Node: Viewing Files, Prev: Calling a Browser, Up: Basic Usage
+
+2.10 Viewing Files
+==================
+
+If you have electronic versions of the papers in your database stored on
+your computer, you can use Ebib to call external viewers for these
+files. The interface for this is similar to that for calling a browser:
+if you press `f' in the index buffer, Ebib searches the `file' field
+for a filename and when it finds one, calls an appropriate viewer.
+
+ Just as with `u', you can use `f' in the entry buffer as well, in
+which case it can be used on any field, not just the `file' field. It
+is also possible to have more than one filename in a field: you can
+select the one you want to view with the prefix argument.
+
+ Just as in the case of URLs, you can customise several things about
+the file view functionality. The option *note Standard File Field:
+standard-file-field. allows you to customise the field that `f'
+extracts filenames from when pressed in the index buffer. Extracting
+filenames is done with a regular expression, which can be customised
+through the option *note File Regexp: file-regexp.
+
+ The option *note File Search Dirs: file-search-dirs. allows you to
+tell Ebib which directories it needs to search for files. The default
+value is `~', which means Ebib just looks in your home dir. Since this
+is probably not where you keep your files, you may want to customise
+this. Note that you can specify more than one directory.
+
+ Note that Ebib does not search directories recursively. It is
+possible, however, to put subdirectories in the filenames. That is, if
+you put something like `a/abney1987.pdf' in the `file' field, Ebib
+searches for the relevant file in a subdirectory `a/' of the
+directories listed in the option `File Search Dirs'. (Note that if you
+want to do this under Windows, you may want to remove the backslash
+from the file regexp.)
+
+ Ebib can call different external programs depending on the file type
+of the relevant file, but you have to specify which programs to call.
+The option *note File Associations: file-associations. allows you to do
+this. By default, `.pdf' and `.ps' files are handled, by `xpdf' and
+`gv', respectively. You can specify further file types by their
+extensions (do not include the dot). The program is searched for in
+`PATH', but you can of course specify the full path to the program.
+
+
+File: ebib-manual.info, Node: Advanced Features, Next: The Ebib Buffers, Prev: Basic Usage, Up: Top
+
+3 Advanced Features
+*******************
+
+The features discussed in the previous chapter should be sufficient to
+get started using Ebib. However, Ebib has several more advanced
+features, which are described in this chapter.
+
+* Menu:
+
+* Screen Layout::
+* Preloading `.bib' Files::
+* `@Preamble' Definition::
+* `@String' Definitions::
+* Sorting the `.bib' file::
+* Merging and Importing::
+* Exporting Entries::
+* Timestamps::
+* Multiple Identical Fields::
+* Virtual Databases::
+* The Multiline Edit Buffer::
+
+
+File: ebib-manual.info, Node: Screen Layout, Next: Preloading `.bib' Files, Prev: Advanced Features, Up: Advanced Features
+
+3.1 Screen Layout
+=================
+
+By default, Ebib takes over the entire Emacs frame it is started in. If
+you have a wide enough screen, however, it may be more convenient to
+have Ebib take up only part of the frame, so that you can have the
+LaTeX text you're working on and Ebib visible at the same time. The
+option *note Layout: layout. allows you to do this, by giving you the
+ability to choose between a full-frame or a split-frame layout.
+
+ In the split-frame layout, the Ebib windows are displayed on the
+right of the current frame, with the left part free for your document.
+In this layout, some aspects of Ebib behave somewhat differently. Most
+importantly, the multiline edit buffer is not displayed in the lower
+Ebib window, but in the non-Ebib window on the left. (Obviously, after
+leaving the multiline edit buffer, the original buffer is restored to
+that window.)
+
+ Furthermore, pressing `z' in the index buffer leaves Ebib, but keeps
+the buffers visible. You can get back to Ebib with the command `M-x
+ebib' (or any key bound to it, of course), or simply by manually
+switching to the index buffer. If you want to remove the Ebib buffers
+from the frame but keep Ebib in the background, you can use `Z' (i.e.
+capital `Z') in the index buffer. (Note that `Z' is also available in
+the full-frame layout, but there it is identical to `z'.)
+
+ Lastly, the command `ebib-entry-summary' checks whether the Ebib
+buffers are visible in the frame. If they are, it does not output the
+entry info in a `*Help*' buffer, but rather displays the entry in Ebib
+itself.
+
+
+File: ebib-manual.info, Node: Preloading `.bib' Files, Next: `@Preamble' Definition, Prev: Screen Layout, Up: Advanced Features
+
+3.2 Preloading `.bib' Files
+===========================
+
+Chances are that you will be doing most of your work with one or a few
+`.bib' files, and you may find yourself opening the same file or files
+every time you start Ebib. If so, you can tell Ebib to always load
+specific `.bib' files on startup. To do this, specify the files in
+Ebib's customisation buffer, under the option *note Preload Bib Files:
+preload-bib-files.
+
+
+File: ebib-manual.info, Node: `@Preamble' Definition, Next: `@String' Definitions, Prev: Preloading `.bib' Files, Up: Advanced Features
+
+3.3 `@Preamble' Definition
+==========================
+
+Apart from database entries, BibTeX allows three more types of elements
+to appear in a `.bib' file. These are `@comment', `@preamble' and
+`@string' definitions. Ebib provides facilities to handle the latter
+two. `@comment' definitions cannot be added to a `.bib' file through
+Ebib, and if Ebib finds one in a `.bib' file, it is simply ignored.
+
+ `@preamble' and `@string' definitions can be handled, however. Ebib
+allows you to add one `@preamble' definition to the database. In
+principle, BibTeX allows more than one such definition, but really one
+suffices, because you can use the concatenation character `#' to
+include multiple TeX or LaTeX commands. So, rather than having two
+`@preamble' definitions such as:
+
+
+ @preamble{ "\newcommand{\noopsort}[1]{} " }
+ @preamble{ "\newcommand{\singleletter}[1]{#1} " }
+
+ you can write this in your `.bib' file:
+
+
+ @preamble{ "\newcommand{\noopsort}[1]{} "
+ # "\newcommand{\singleletter}[1]{#1} " }
+
+ Creating or editing a `@preamble' definition in Ebib is done by
+hitting `r' in the index buffer. Ebib uses the multiline edit buffer
+for editing the text of the `@preamble' definition, which means that as
+discussed above, `C-x b' stores the `@preamble' text and returns focus
+to the index buffer, while `C-x k' returns focus to the index buffer
+while abandoning any changes you may have made. (For details on using
+the multiline edit buffer, see *note The Multiline Edit Buffer:
+multiline-edit-buffer.)
+
+ In order to create a `@preamble' as shown above in Ebib, you only
+have to type the text between the braces. Ebib takes care of including
+the braces of the `@preamble' command, but otherwise it saves the text
+exactly as you enter it. So in order to get the preamble above, you'd
+have to type the following in Ebib:
+
+
+ "\newcommand{\noopsort}[1]{} "
+ # "\newcommand{\singleletter}[1]{#1} "
+
+ Note that when Ebib loads a `.bib' file that contains more than one
+`@preamble' definition, it concatenates all the strings in them in the
+manner just described and saves them in one `@preamble' definition.
+
+
+File: ebib-manual.info, Node: `@String' Definitions, Next: Sorting the `.bib' file, Prev: `@Preamble' Definition, Up: Advanced Features
+
+3.4 `@String' Definitions
+=========================
+
+If you press `t' in the index buffer, Ebib hides the entry buffer in the
+lower window and replaces it with the _strings buffer_. In this buffer,
+you can add, delete and edit `@string' definitions.
+
+ Adding a `@string' definition is done with the command `a'. This
+will first ask you for an abbreviation and then for the value to be
+associated with that abbreviation. Once you've entered these, Ebib will
+sort the new abbreviation into the buffer.
+
+ Moving between the `@string' definitions can be done in the usual
+way: the cursor keys `up' and `down', `C-p' and `C-n' and `k' and `j'
+move up and down. `Space' and `PgDn' move ten strings down, while `b'
+and `PgUp' move in the other direction. The keys `g', `G', `Home' and
+`End' also function as expected.
+
+ To delete a `@string' definition, use `d'. To edit the value of a
+definition, use `e'. There is also a command `c', which copies the
+value of the current `@string' definition to the kill ring. Unlike in
+the entry buffer, there are no corresponing commands `y' and `x'. (In
+fact, `x' does exist, but has another function.) Yanking from the kill
+ring can be done with `C-y/M-y' in the minibuffer when you edit a
+`@string''s value. Cutting a `@string''s value is pointless, because a
+`@string' definition must have a value.
+
+ Having defined `@string' definitions, there must of course be a way
+to use them. Just giving a field a string abbreviation as value will
+not do, because Ebib puts braces around the value that you enter when
+it writes the `.bib' file, so that BibTeX will not recognise the
+abbreviation, and will not expand it. BibTeX will only recognise an
+abbreviation if it appears in the `.bib' file outside of any braces.
+
+ To accomplish this, you must mark a field's value as _raw_. A raw
+field is a field whose value is not surrounded by braces when the
+database is saved, so that BibTeX recognises it as an abbreviation. To
+mark a field raw, press `r'. An asterisk will appear before the field,
+indicating that it is raw. Pressing `r' again will change the field
+back to normal. If you press `r' on a field that does not have a value
+yet, Ebib will ask you for one.
+
+ Note that this also makes it possible to enter field values that are
+composed of concatenations of strings and abbreviations. The BibTeX
+documentation for example explains that if you have defined:
+
+
+ @string{WGA = "World Gnus Almanac"}
+
+ you can create a BibTeX field like this:
+
+
+ title = 1966 # WGA
+
+ which will produce "1966 World Gnus Almanac". Or you can do:
+
+
+ month = "1~" # jan
+
+ which will produce someting like "1 January", assuming your
+bibliography style has defined the abbreviation `jan'. All this is
+possible with Ebib, simply by entering the exact text including quotes
+or braces around the strings, and marking the relevant field as raw.
+
+ An easy way to enter a `@string' abbreviation as a field value is to
+use the key `s' instead of `e'. If you type `s', Ebib asks you for a
+`@string' abbreviation to put in the current field, and automatically
+marks the field as raw. With this command, Ebib only accepts `@string'
+definitions that are in the database, so that by using `s' you can make
+sure you don't make any typos. Note that you can use tab completion to
+complete a partial string.
+
+
+File: ebib-manual.info, Node: Sorting the `.bib' file, Next: Merging and Importing, Prev: `@String' Definitions, Up: Advanced Features
+
+3.5 Sorting the `.bib' file
+===========================
+
+By default, the entries in the database are saved to the `.bib' file in
+alphabetical order according to entry key. If you only deal with the
+`.bib' file through Ebib, you may not care in which order the entries
+are saved. However, it may sometimes be desirable to be able to specify
+the sort order of entries in more detail. (Apparently, this can be
+useful with ConTeXt, for example.)
+
+ You can specify a sort order in Ebib's customisation buffer. To sort
+the entries, you must set at least one sort level (that is, a field to
+sort the entries on). You can also specify more than one sort level: if
+two entries have identical values for the first sort level, they will
+be sorted on the second sort level. E.g., if the first sort level is
+`author' and the second is `year', then the entries are sorted by
+author, and those entries that have identical values for the `author'
+field are sorted by year.
+
+ A sort level is not restricted to a single field. You can specify
+more fields for a single sort level. Within a single sort level, a
+second sort field is used if the first sort field does not have a
+value. For example, books that have an editor instead of an author will
+have an empty `author' field. If you sort the database on the `author'
+field, such entries will all appear at the beginning of the `.bib'
+file, which is most likely not what you want.
+
+ To remedy this, you can specify both the `author' and the `editor'
+fields for the first sort level. Ebib will then sort an entry on its
+`author' field if it has a value, and will otherwise use the value of
+the `editor' field.
+
+ The difference between two sort fields within one sort level and two
+sort levels is that a second sort _field_ is an alternative for the
+first field when it has no value, while a second sort _level_ is an
+additional sort criterion when two or more entries cannot be sorted on
+the first level, because they have identical values.
+
+ By default, the option `Sort Order' has no value, which means that
+the entries in the `.bib' file are sorted according to entry key. Those
+that wish to customise the sort order will usually want to set the
+first sort level to `author editor', and the second to `year'. In that
+way, the entries in the `.bib' file are sorted according to
+author/editor, and entries with the same author/editor are sorted by
+year.
+
+ Entries that cannot be sorted on some sort level, because the sort
+fields are empty, are sorted on entry key. (Keep in mind that if the
+first sort level yields _no value_ for a specific entry, Ebib does
+_not_ use the second sort level to sort that entry. It uses the entry
+key. The second sort level is only used if the first yields _identical_
+values for two or more entries.)
+
+ Note that if you have set the option `Save Xrefs First' (see *note
+Cross-referencing: cross-referencing.), it is pointless to set a sort
+order. Saving cross-referencing entries first messes up any sort order,
+so Ebib simply ignores the sort order if `Save Xrefs First' is set.
+
+
+File: ebib-manual.info, Node: Merging and Importing, Next: Exporting Entries, Prev: Sorting the `.bib' file, Up: Advanced Features
+
+3.6 Merging and Importing
+=========================
+
+As described in the previous chapter, adding entries to a database can
+be done manually with the key `a'. There are other ways of adding
+entries to a database, however.
+
+ With the command `M' you can merge a second `.bib' file into your
+current database. When you hit `M', you are asked for a filename. Ebib
+then reads the entries in this file and adds them to the database.
+Duplicate entries (that is, entries with an entry key that already
+exists in the database) will not be loaded. Ebib logs a warning about
+each duplicate entry to its log buffer, and displays a warning after
+loading the `.bib' file when this happens.
+
+ Another way to add entries to a database is to import them from an
+Emacs buffer. If, for example, you find ready-formatted BibTeX entries
+in a text file or e.g. on the internet, you can copy & paste them to
+any Emacs buffer (e.g. the `*scratch*' buffer), and then execute the
+command `M-x ebib-import'. Ebib then goes through the buffer and loads
+all BibTeX entries it finds into the current database (i.e. the
+database that was active when you lowered Ebib). If you call
+`ebib-import' while the region is active, Ebib only reads the BibTeX
+entries in the region.
+
+
+File: ebib-manual.info, Node: Exporting Entries, Next: Timestamps, Prev: Merging and Importing, Up: Advanced Features
+
+3.7 Exporting Entries
+=====================
+
+Sometimes it can be useful to copy entries from one database to
+another, or to create a new `.bib' file with several entries from an
+existing database. For this purpose, Ebib provides exporting
+facilities. To export an entry to a `.bib' file, use the command `x'.
+Ebib will ask you for a filename to export the entry to. (If you have
+already exported an entry before, Ebib will present the filename you
+used as default, but you can of course change it.)
+
+ For obvious reasons, Ebib appends the entry to the file that you
+enter if it already exists, it does not overwrite the file. If this is
+not what you want, delete the file first, as Ebib provides no way to do
+this.
+
+ If you have more than one database open in Ebib, it is also possible
+to copy entries from one database to another. To do this, use the `x'
+command with a numeric prefix argument. E.g., if the database you want
+to export an entry to is the second database, type `M-2 x' to export
+the current entry to it. The number of the database is given in the
+modeline of the index buffer.
+
+ If the database you're copying an entry to already contains an entry
+with the same entry key, Ebib won't copy the entry, and issues an
+appropriate warning message.
+
+ Note that the command `x' can operate on marked entries. So to
+export several entries in one go mark them and type `; x'. You can use
+a prefix argument in the normal way: `M-2 ; x' exports the marked
+entries to database 2.
+
+ Apart from entries, it is also possible to export the `@preamble'
+and `@string' definitions. The `@preamble' definition is exported with
+the command `X' in the index buffer. `@string' definitions can be
+exported in the strings buffer: `x' in this buffer exports the current
+string, while `X' exports all `@string' definitions in one go. All
+these commands function in the same way: when used without a prefix
+argument, they ask for a filename, and then append the relevent data to
+that file. With a numeric prefix argument, they copy the relevant data
+to the corresponding open database.
+
+
+File: ebib-manual.info, Node: Timestamps, Next: Multiple Identical Fields, Prev: Exporting Entries, Up: Advanced Features
+
+3.8 Timestamps
+==============
+
+Ebib provides the possibility to add a timestamp to every new entry,
+recording the time it was added to the database. The timestamp is
+recorded in the (additional) field `timestamp'. (By default, this field
+is not shown, but you can make it visible by pressing `H' in the index
+buffer.)
+
+ You can tell Ebib to create timestamps by setting the option `Use
+Timestamp' in Ebib's customisation buffer. With this option set, a
+timestamp is included in entries added to the database with `a'. Ebib
+will also add a timestamp to entries imported from a buffer or merged
+from a file, and to entries exported to another database or to a file.
+When importing or exporting entries, existing timestamps will be
+overwritten. The logic behind this is that the timestamp records the
+date and time when the entry was added to the database, not when it was
+first created.
+
+ Note that if this option is unset, the timestamp of an entry is
+retained when it's imported or exported. Therefore, if you record
+timestamps and want to im-/export entries without changing their
+timestamps, temporarily unset this option.
+
+ Ebib uses the function `format-time-string' to create the timestamp.
+The format string that Ebib uses can be customised in Ebib's
+customisation buffer. The default string is `"%a %b %e %T %Y"', which
+produces a timestamp of the form `"Mon Mar 12 01:03:26 2007"'.
+Obviously, this string is not suited for sorting, so if you want to be
+able to sort on timestamps, you'll need to customise the format string.
+See the documentation for `format-time-string' on the options that are
+available.
+
+
+File: ebib-manual.info, Node: Multiple Identical Fields, Next: Virtual Databases, Prev: Timestamps, Up: Advanced Features
+
+3.9 Multiple Identical Fields
+=============================
+
+Under normal circumstances, a BibTeX entry only contains one occurrence
+of each field. If BibTeX notices that an entry contains more than one
+occurrence of an obligatory or optional field, it issues a warning.
+Ebib is somewhat less gracious, it simply takes the value of the last
+occurrence without giving any warning. (Note, by the way, that BibTeX
+will use the value of the _first_ occurrence, not the last.) When
+additional fields appear more than once in an entry, BibTeX does not
+warn you, since it ignores those fields anyway. Here, too, Ebib's
+standard behaviour is to ignore all but the last value.
+
+ However, some online reference management services "use" this
+feature of BibTeX in that they put multiple `keywords' fields in the
+BibTeX entries that they produce. If you were to import such an entry
+into Ebib, you would lose all your keywords except the last one. To
+remedy this, you can tell Ebib that it should allow multiple
+occurrences of a single field in a BibTeX entry. You can do this by
+setting the customisation option *note Allow Identical Fields:
+allow-identical-fields.
+
+ With this option set, Ebib collapses the multiple occurrences into a
+single occurrence. All the values of the different occurrences are
+collected and stored in the single occurrence, separated by semicolons.
+That is, Ebib does not retain the multiple occurrences, but it does
+retain the values. So suppose you have an entry that contains the
+following `keywords' fields:
+
+
+ @book{jones1998,
+ author = {Jones, Joan},
+ year = {1998},
+ ...
+ keywords = {sleep},
+ keywords = {winter},
+ keywords = {hybernation}
+ }
+
+ If you load this entry into Ebib with the option `Allow Identical
+Fields' set, you will get the following:
+
+
+ @book{jones1998,
+ author = {Jones, Joan},
+ year = {1998},
+ ...
+ keywords = {sleep; winter; hybernation}
+ }
+
+
+File: ebib-manual.info, Node: Virtual Databases, Next: The Multiline Edit Buffer, Prev: Multiple Identical Fields, Up: Advanced Features
+
+3.10 Virtual Databases
+======================
+
+In the previous chapter, Ebib's basic search functionality was
+discussed. (See *note Searching: searching.) Ebib also provides a much
+more sophisticated search and filtering mechanism in the form of
+_virtual databases_.
+
+ A virtual database is a database that is not associated with any
+`.bib' file. Rather, it is created from another database by selecting
+entries from it based on a specific search pattern, called a _filter_.
+This allows you, for example, to select all entries from a database
+that contain the string "Jones" in their `author' field. A filter can
+be as complex as you want: you can select all entries that do _not_
+contain "Jones" in the `author' field, or all entries that contain
+"Jones" in either the `author' or the `editor' field, or all entries
+that contain "Jones" in the `author' field, and "symbiotic hybernation"
+in the `keyword' field, etc. Basically, the filter can consist of an
+arbitray number of search criteria combined with the logical operators
+`and, or' and `not'.
+
+* Menu:
+
+* Simple Selection::
+* Complex Filters::
+* Properties of Virtual Databases::
+
+
+File: ebib-manual.info, Node: Simple Selection, Next: Complex Filters, Prev: Virtual Databases, Up: Virtual Databases
+
+3.10.1 Simple Selection
+-----------------------
+
+Creating a virtual database is simple: press `&', and Ebib will ask you
+for a field to select on, and for a regular expression to select with.
+So if you want to select all entries that contain "Jones" in the
+`author' field, you press `&' and type `author' as the field and
+`Jones' as the regexp to filter on.
+
+ Ebib will then create a virtual database containing the entries
+matching your selection criterion. A virtual database has the same name
+as the database it is based on, prepended with `V:'. It also has a
+number like any other database, and you can move back and forth to
+other databases with the number or cursor keys.
+
+ If you don't want to filter on one specific field but rather want to
+select all entries that match a certain regexp in any field, you can
+type `any' as the field to filter on. So specifying `any' as the field
+and `Jones' as the regexp, the virtual database will select all entries
+that have a field that contains "Jones" in them.
+
+
+File: ebib-manual.info, Node: Complex Filters, Next: Properties of Virtual Databases, Prev: Simple Selection, Up: Virtual Databases
+
+3.10.2 Complex Filters
+----------------------
+
+Once you have a virtual database, it remains associated with the
+database it was created from. This means that you can refine or extend
+the selection (i.e. the filter) that the virtual database is based on.
+If, in the current example, you want to include all the entries that
+have "Jones" in the `editor' field, you have to perform a logical `or'
+operation: you want to select an entry if it contains "Jones" in the
+`author' field (which you already did) _or_ if it contains "Jones" in
+the `editor' field.
+
+ A short sidenote: the first impulse in a case like this might be to
+use `and' instead of `or': after all, you want to select all entries
+that contain "Jones" in the `author' field _and_ all entries that
+contain "Jones" in the `editor' field. However, the filter that you
+build up is used to test each entry _individually_ whether it meets the
+selection criterion. An entry meets the criterion if it contains
+"Jones" in the `author' field _or_ if it contains "Jones" in the
+`editor' field. Therefore, `or' is the required operator in this case.
+If you would use `and', you would only get those entries that contain
+"Jones" in both the `author' _and_ `editor' fields.
+
+ To perform a logical `or' operation, press the key `|'. As before,
+you will be asked which field you want to filter on, and which regexp
+you want to filter with. Ebib will then update the virtual database
+with all entries in the original database that match the additional
+criterion.
+
+ It is also possible to perform a logical `and' on the virtual
+database. Use this if you want to select those entries that contain
+"Jones" in the `author' field and e.g. "symbiotic hybernation" in the
+`keyword' field. A logical `and' operation is done with the key `&'.
+(Note: this is the same key that is used to create a virtual database.
+In fact, you can also create a virtual database with `|': when used in
+a normal database, `&' and `|' are equivalent. They are only different
+in virtual databases.)
+
+ Both the `&' and `|' commands can be used with the negative prefix
+argument `M--' (or `C-u -', which is identical). In this case, the
+search criterion is negated. That is, the negative prefix argument
+performs a logical `not' operation on the search criterion.
+
+ That is, if you want to select all entries from a database that do
+_not_ contain "Jones" in the `author' field, you can do this by typing
+`M-- &' and then filling out the relevant field and regexp. This prefix
+argument is available both in real and in virtual databases.
+
+ There is another way of performing a logical `not' operation, which
+is only available in virtual databases: by pressing the key `~', you
+invert the current filter. That is, if you have a virtual database with
+all the entries containing "Jones" in the `author' or in the `editor'
+field, and you press `~', the selection is inverted, and now contains
+all entries that do _not_ have "Jones" in the `author' or `editor'
+field.
+
+ Although `~' and the negative prefix argument to `&' or `|' both
+perform logical `not' operations, they are _not_ equivalent: `~'
+negates the entire filter built up so far, while the negative prefix
+argument only negates the single selection criterion you enter with it.
+
+ If you want to know what the filter for the current virtual database
+is exactly, you can type `V'. This command displays the current filter
+in the minibuffer. The filter is specified as a Lisp expression,
+meaning that the operators appear before their operands, not in between
+them. That is, `x and y' is written as `(and x y)'.
+
+ With a prefix argument (any prefix argument will do), the command
+`V' not only displays the current filter, but also reapplies it. This
+can be useful when you've made changes to the source database: Ebib
+does not automatically update a virtual database when its source
+database is modified.
+
+
+File: ebib-manual.info, Node: Properties of Virtual Databases, Prev: Complex Filters, Up: Virtual Databases
+
+3.10.3 Properties of Virtual Databases
+--------------------------------------
+
+Virtual databases differ from normal databases in several ways. First,
+they cannot be modified: you cannot add or delete entries, and you
+cannot modify the contents of fields. It is also not possible to import
+entries to them or merge another file with them. Furthermore, it is not
+possible to export entries to them or from them.
+
+ A virtual database cannot be saved in the normal way with `s', and
+the command `S' to save all databases ignores virtual databases. If you
+want to save a virtual database, you can use the command `w'. This
+command not only saves the virtual database, it also changes it into a
+normal database, and detaches it from its original source database, so
+that you can modify it without affecting the source database.
+
+ The command `L' also doesn't work with virtual databases. The reason
+for this is that the virtual database is not associated with an actual
+`.bib' file, so there is no file to create a list of references from.
+However, it is possible to use the command `P' with a virtual database
+to create a list of entries. See *note Printing the Database:
+printing-database, for details on these two commands.
+
+
+File: ebib-manual.info, Node: The Multiline Edit Buffer, Prev: Virtual Databases, Up: Advanced Features
+
+3.11 The Multiline Edit Buffer
+==============================
+
+As mentioned several times before, Ebib has a special multiline edit
+buffer, which is used to edit field values that contain newlines
+(so-called _multiline fields_), and also to edit the contents of the
+`@preamble' command. This section discusses the details of this buffer.
+
+ Ebib enters multiline edit mode in one of three cases: when you
+press `P' in the index buffer, to edit the `@preamble' definition, when
+you hit `l' in the entry buffer to edit the current field as multiline,
+or when you hit `e' on the `annote' field, or on a field whose value
+already is multiline.
+
+ The multiline edit buffer uses a special major mode,
+`ebib-multiline-edit-mode', which is derived from `text-mode'. The
+changes with respect to `text-mode' are minor (see below), which means
+that any customisations you may have made to `text-mode' will be
+available in the multiline edit buffer.
+
+ The settings that are specific for `ebib-multiline-edit-mode' are the
+functions assigned to the key sequences `C-x b', `C-x k' and `C-x C-s'.
+These key sequences do not have their usual functions, but rather are
+redefined to fit Ebib. Both `C-x b' and `C-x k' can be used to leave
+the multiline edit buffer. `C-x b' will store the text as it is to the
+database, while `C-x k' leaves the multiline edit buffer _without_
+storing the text, i.e., the original value of the field or preamble
+that you were editing is retained. If the text in the buffer was
+modified, `C-x k' asks you if you really want to abandon your changes.
+
+ If you leave the multitiline edit buffer with `C-x b' when the
+buffer is empty (i.e., you deleted all the text, including the final
+newline), and you were editing a field value or the `@preamble'
+definition, the field value or preambleis deleted. (This is in fact the
+_only_ way to delete the `@preamble' definition. Field values on the
+other hand can also be deleted by hitting `x' or `d' on them in the
+entry buffer.)
+
+ The third command that is redefined in the multiline edit buffer is
+`C-x C-s'. This command can be used to save the database. Because Ebib
+does not do an autosave of the current database, it is advisable to
+save the database manually every now and then to prevent data loss in
+case of crashes. It would be annoying to have to leave the multiline
+edit buffer every time you want to do this, so `C-x C-s' has been
+redefined to allow you to do this from within the buffer.
+
+
+File: ebib-manual.info, Node: The Ebib Buffers, Next: Customisation, Prev: Advanced Features, Up: Top
+
+4 The Ebib Buffers
+******************
+
+This chapter lists all the key commands that exist in Ebib, with a short
+description and the actual command that they call. The latter
+information is needed if you want to customise Ebib's key bindings. (See
+*note Modifying Key Bindings: modifying-key-bindings.)
+
+* Menu:
+
+* The Index Buffer::
+* The Entry Buffer::
+* The Strings Buffer::
+
+
+File: ebib-manual.info, Node: The Index Buffer, Next: The Entry Buffer, Prev: The Ebib Buffers, Up: The Ebib Buffers
+
+4.1 The Index Buffer
+====================
+
+*`Up'*
+ go to previous entry. `(ebib-prev-entry)'
+
+*`Down'*
+ go to next entry. `(ebib-next-entry)'
+
+*`Right'*
+ move to the next database. `(ebib-next-database)'
+
+*`Left'*
+ move to the previous database. `(ebib-prev-database)'
+
+*`PgUp'*
+ scroll the index buffer down. `(ebib-index-scroll-down)'
+
+*`PgDn'*
+ scroll the index buffer up. `(ebib-index-scroll-up)'
+
+*`Home'*
+ go to first entry. `(ebib-goto-first-entry)'
+
+*`End'*
+ go to last entry. `(ebib-goto-last-entry)'
+
+*`Return'*
+ make the entry under the cursor current. Use after e.g. `C-s'.
+ `(ebib-select-entry)'
+
+*`Space'*
+ equivalent to `PgDn'.
+
+*`1-9'*
+ jump to the corresponding database.
+
+*`/'*
+ search the database. `(ebib-search)'
+
+*`&'*
+ Create a virtual database, or perform a logical `and' on the
+ current virtual database. With negative prefix argument: apply a
+ logical `not' to the selectional criterion. `(ebib-virtual-db-and)'
+
+*`|'*
+ Create a virtual database, or perform a logical `or' on the current
+ virtual database. With negative prefix argument: apply a logical
+ `not' to the selectional criterion. `(ebib-virtual-db-or)'
+
+*`~'*
+ Perform a logical `not' on the current virtual database.
+ `(ebib-virtual-db-not)'
+
+*`a'*
+ add an entry. `(ebib-add-entry)'
+
+*`b'*
+ equivalent to `Pgup'.
+
+*`c'*
+ close the database. `(ebib-close-database)'
+
+*`C'*
+ customise Ebib. `(ebib-customize)'
+
+*`d'*
+ delete the current entry. `(ebib-delete-entry)'
+
+*`; d'*
+ delete all marked entries.
+
+*`e'*
+ edit the current entry. `(ebib-edit-entry)'
+
+*`E'*
+ edit the key of the current entry. `(ebib-edit-keyname)'
+
+*`f'*
+ extract a filename from the `file' field and send it to an
+ appropriate viewer. With numeric prefix argument, extract the
+ _n_-th filename.
+
+*`F'*
+ follow `crossref' field. `(ebib-follow-crossref)'
+
+*`g'*
+ equivalent to `Home'.
+
+*`G'*
+ equivalent to `End'.
+
+*`H'*
+ show/hide hidden fields. `(ebib-toggle-hidden)'
+
+*`j'*
+ equivalent to `Down'.
+
+*`J'*
+ jump to another database. This accepts a numeric prefix argument,
+ but will ask you for a database number if there is none.
+ `(ebib-switch-to-database)'
+
+*`k'*
+ equivalent to `Up'.
+
+*`l'*
+ show the log buffer. (`ebib-show-log')
+
+*`L'*
+ create a LaTeX file from the current database that produces a list
+ of references formatted by BibTeX. `(ebib-latex-database)'
+
+*`; L'*
+ create a LaTeX file with the marked entries only.
+
+*`m'*
+ mark (or unmark) the current entry. `(ebib-mark-entry)'
+
+*`; m'*
+ unmark all marked entries.
+
+*`M'*
+ merge a `.bib' file. `(ebib-merge-bibtex-file)'
+
+*`n'*
+ find next occurrence of the search string. `(ebib-search-next)'
+
+*`N'*
+ search for entries cross-referencing the current one.
+ `(ebib-search-crossref)'
+
+*`C-n'*
+ equivalent to `Down'.
+
+*`M-n'*
+ equivalent to `PgDn'.
+
+*`o'*
+ open a `.bib' file. `(ebib-load-bibtex-file)'
+
+*`p'*
+ push an entry to a LaTeX buffer `(ebib-push-bibtex-key)'
+
+*`; p'*
+ push the marked entries to a LaTeX buffer.
+
+*`C-p'*
+ equivalent to `Up'.
+
+*`M-p'*
+ equivalent to `PgUp'.
+
+*`P'*
+ create a LaTeX file for printing the database, listing the entire
+ contents of each entry. `(ebib-print-database)'
+
+*`; P'*
+ create a LaTeX file with the marked entries.
+
+*`r'*
+ show and edit the `@preamble' definition in the database.
+ `(ebib-edit-preamble)'
+
+*`q'*
+ quit Ebib. This sets all variables to nil, unloads the database(s)
+ and quits Ebib. `(ebib-quit)'
+
+*`s'*
+ save the database. `(ebib-save-current-database)'
+
+*`S'*
+ save all modified databases. `(ebib-save-all-databases)'
+
+*`t'*
+ show and edit the `@string' definitions in the database.
+ `(ebib-edit-strings)'
+
+*`u'*
+ extract a URL from the `url' field and send it to a browser. With
+ numeric prefix argument, extract the _n_-th url.
+
+*`V'*
+ Display the filter of the current virtual database in the
+ minibuffer. With prefix argument: reapply the filter.
+ `(ebib-print-filter)'
+
+*`w'*
+ write the database to a different file. `(ebib-write-database)'
+
+*`x'*
+ export the current entry to a file, or, when used with numeric
+ prefix argument, to another database. `(ebib-export-entry)'
+
+*`; x'*
+ export the marked entries to a file, or, when used with a numeric
+ prefix argument, to another database.
+
+*`C-x b'*
+ equivalent to `z'.
+
+*`C-x k'*
+ equivalent to `q'.
+
+*`X'*
+ export the `@preamble' definition to a file or, when used with a
+ numeric prefix argument, to another database.
+ `(ebib-export-preamble)'
+
+*`z'*
+ move focus away from the Ebib windows. `(ebib-leave-ebib-windows)'
+
+*`Z'*
+ put Ebib in the background. `(ebib-lower)'
+
+ One function is not bound to any key: `ebib-print-filename'.
+
+
+File: ebib-manual.info, Node: The Entry Buffer, Next: The Strings Buffer, Prev: The Index Buffer, Up: The Ebib Buffers
+
+4.2 The Entry Buffer
+====================
+
+*`Up'*
+ go to the previous field. `(ebib-prev-field)'
+
+*`Down'*
+ go to the next field. `(ebib-next-field)'
+
+*`PgUp'*
+ go to the previous set of fields. `(ebib-goto-prev-set)'
+
+*`PgDn'*
+ go to the next set of fields. `(ebib-goto-next-set)'
+
+*`Home'*
+ go to the first field. `(ebib-goto-first-field)'
+
+*`End'*
+ go to the last field. `(ebib-goto-last-field)'
+
+*`Space'*
+ equivalent to `PgDn'.
+
+*`b'*
+ equivalent to `PgUp'.
+
+*`c'*
+ copy the contents of the current field to the kill ring.
+ `(ebib-copy-field-contents)'
+
+*`d'*
+ delete the value of the current field. The deleted contents will
+ _not_ be put in the kill ring, and is therefore irretrievably
+ lost. `(ebib-delete-field-contents)'
+
+*`e'*
+ edit the current field. `(ebib-edit-fields)'
+
+*`f'*
+ extract a filename from the current field and send it to an
+ appropriate viewer. With numeric prefix argument, extract the
+ _n_-th filename.
+
+*`g'*
+ equivalent to `Home'.
+
+*`G'*
+ equivalent to `End'.
+
+*`j'*
+ go to the next field. `(ebib-next-field)'
+
+*`k'*
+ go to the previous field. `(ebib-prev-field)'
+
+*`l'*
+ edit the current field as multiline. `(ebib-edit-multiline-field)'
+
+*`C-n'*
+ equivalent to `Down'.
+
+*`M-n'*
+ equivalent to `PgDn'.
+
+*`C-p'*
+ equivalent to `Up'.
+
+*`M-p'*
+ equivalent to `PgUp'.
+
+*`q'*
+ quit editing the current entry and return focus to the index
+ buffer. `(ebib-quit-entry-buffer)'
+
+*`r'*
+ toggle a field's "raw" status. `(ebib-toggle-raw)'
+
+*`s'*
+ insert an abbreviation from the `@string' definitions in the
+ database. `(ebib-insert-abbreviation)'
+
+*`u'*
+ extract a URL from the current field and send it to a browser. With
+ numeric prefix argument, extract the _n_-th url.
+
+*`x'*
+ cut the contents of the current field. Like `c', `x' puts the
+ contents of the current field in the kill ring.
+ `(ebib-cut-field-contents)'
+
+*`y'*
+ yank the last element in the kill ring to the current field.
+ Repeated use of `y' functions like `C-y/M-y'. Note that no text
+ will be yanked if the field already has a value.
+ `(ebib-yank-field-contents)'
+
+
+File: ebib-manual.info, Node: The Strings Buffer, Prev: The Entry Buffer, Up: The Ebib Buffers
+
+4.3 The Strings Buffer
+======================
+
+*`Up'*
+ go to the previous string. `(ebib-prev-string)'
+
+*`Down'*
+ go to the next string. `(ebib-next-string)'
+
+*`PgUp'*
+ go ten strings up. `(ebib-strings-page-up)'
+
+*`PgDn'*
+ go ten strings down. `(ebib-strings-page-down)'
+
+*`Home'*
+ go to the first string. `(ebib-goto-first-string)'
+
+*`End'*
+ go to the last string. `(ebib-goto-last-string)'
+
+*`Space'*
+ equivalent to `PgDn'.
+
+*`a'*
+ add a new `@string' definition. `(ebib-add-string)'
+
+*`b'*
+ equivalent to `PgUp'.
+
+*`c'*
+ copy the text of the current string to the kill ring.
+ `(ebib-copy-string-contents)'
+
+*`d'*
+ delete the current `@string' definition from the database. You
+ will be asked for confirmation. `(ebib-delete-string)'
+
+*`e'*
+ edit the value of the current string. `(ebib-edit-string)'
+
+*`g'*
+ equivalent to `Home'.
+
+*`G'*
+ equivalent to `End'.
+
+*`j'*
+ equivalent to `Down'.
+
+*`k'*
+ equivalent to `Up'.
+
+*`l'*
+ edit the value of the current string as multiline.
+ `(ebib-edit-multiline-string)'
+
+*`C-n'*
+ equivalent to `Down'.
+
+*`M-n'*
+ equivalent to `PgDn'.
+
+*`C-p'*
+ equivalent to `Up'.
+
+*`M-p'*
+ equivalent to `PgUp'.
+
+*`q'*
+ quit the strings buffer and return focus to the index buffer.
+ `(ebib-quit-strings-buffer)'
+
+*`x'*
+ export the current `@string' definition to a file or, when used
+ with a prefix argument, to another database. `(ebib-export-string)'
+
+*`X'*
+ export all the `@string' definitions to a file or, when used with a
+ prefix argument, to another database. `(ebib-export-all-strings)'
+
+
+File: ebib-manual.info, Node: Customisation, Prev: The Ebib Buffers, Up: Top
+
+5 Customisation
+***************
+
+Ebib can be customised through Emacs' standard customisation interface.
+The only thing that cannot be customised in this way are the key
+bindings. If you wish to customise those, you have to use the file
+`~/.ebibrc'.
+
+* Menu:
+
+* The Customisation Buffer::
+* Modifying Key Bindings::
+
+
+File: ebib-manual.info, Node: The Customisation Buffer, Next: Modifying Key Bindings, Prev: Customisation, Up: Customisation
+
+5.1 The Customisation Buffer
+============================
+
+Ebib's customisation group is a subgroup of the `Tex' group. It can be
+invoked by typing `M-x customize-group RET ebib RET', or by pressing
+`C' in the index buffer. This chapter gives a short description of all
+the options available in the customisation buffer.
+
+* Menu:
+
+* Default Type::
+* Preload Bib Files::
+* Additional Fields::
+* Layout::
+* Index Window Size::
+* Index Display Fields::
+* Insertion Commands::
+* Sort Order::
+* Save Xrefs First::
+* Crossref Face::
+* Marked Face::
+* Use Timestamp::
+* Timestamp Format::
+* Standard Url Field::
+* Url Regexp::
+* Browser Command::
+* Standard File Field::
+* File Associations::
+* File Regexp::
+* File Search Dirs::
+* Print Preamble::
+* Print Multiline::
+* Latex Preamble::
+* Print Tempfile::
+* Allow Identical Fields::
+* Entry Types::
+
+
+File: ebib-manual.info, Node: Default Type, Next: Preload Bib Files, Prev: The Customisation Buffer, Up: The Customisation Buffer
+
+5.1.1 Default Type
+------------------
+
+The default type is the default entry type given to a new entry. Every
+entry in the Ebib database must have a type, because the type defines
+which fields are available. When a new entry is created, Ebib gives it
+a default type, which can be customised through this option. The
+standard value is `article'.
+
+
+File: ebib-manual.info, Node: Preload Bib Files, Next: Additional Fields, Prev: Default Type, Up: The Customisation Buffer
+
+5.1.2 Preload Bib Files
+-----------------------
+
+This option allows you to specify which file(s) Ebib is to load when it
+starts up. Specify one file per line, press the `INS' button to add more
+files. You can complete a partial filename with `M-TAB'.
+
+
+File: ebib-manual.info, Node: Additional Fields, Next: Layout, Prev: Preload Bib Files, Up: The Customisation Buffer
+
+5.1.3 Additional Fields
+-----------------------
+
+The additional fields are those fields that are available for all entry
+types, and which BibTeX generally ignores. This option allows you to
+specify which additional fields you wish to use in your database.
+Specify one field per line, press the `INS' button to add more fields.
+
+ By default, the following additional fields are defined: `crossref,
+url, annote, abstract, keywords, file' and `timestamp'.
+
+
+File: ebib-manual.info, Node: Layout, Next: Index Window Size, Prev: Additional Fields, Up: The Customisation Buffer
+
+5.1.4 Layout
+------------
+
+The default value of this option is `full', which means that Ebib takes
+over the entire frame when it runs. Alternatively, you can select to
+specify a width (in characters) yourself, in which case Ebib takes up
+the right part of the frame, leaving the left part free. See *note
+Screen Layout: screen-layout. for details.
+
+
+File: ebib-manual.info, Node: Index Window Size, Next: Index Display Fields, Prev: Layout, Up: The Customisation Buffer
+
+5.1.5 Index Window Size
+-----------------------
+
+This option lets you specify the size of the index window at the top of
+the Ebib screen. The default value is 10.
+
+
+File: ebib-manual.info, Node: Index Display Fields, Next: Insertion Commands, Prev: Index Window Size, Up: The Customisation Buffer
+
+5.1.6 Index Display Fields
+--------------------------
+
+This option allows you to specify fields that should be displayed next
+to the entry key in the index buffer. By default, the index buffer only
+shows the key of each entry, but if this is too little information, you
+can use this option to display e.g. the title of each entry as well.
+
+
+File: ebib-manual.info, Node: Insertion Commands, Next: Sort Order, Prev: Index Display Fields, Up: The Customisation Buffer
+
+5.1.7 Insertion Commands
+------------------------
+
+With the command `ebib-insert-bibtex-key' or with the command key `p'
+in the index buffer, you can insert a BibTeX key into a LaTeX buffer.
+This option allows you to define the commands that are available
+through tab completion when these functions ask for a citation command.
+
+ The citation commands must be given _without_ the leading backslash,
+as Ebib adds one. Furthermore, you need to specify how many optional
+arguments each command can have. When Ebib prompts you for a citation
+key, it will ask for as many optional arguments as you specify here.
+(If you don't want to be asked for those optional arguments, just fill
+in 0.)
+
+ When Ebib prompts you for a citation command, the commands specified
+in this option can be obtained through tab completion. However, it is
+not necessary to fill in a command from this list here. You can also
+enter another command (in which case Ebib asks for exactly one optional
+argument) or even no command at all. In the latter case, Ebib does not
+ask for any optional arguments and simply puts the key in the buffer
+without adding a backslash or curly braces.
+
+
+File: ebib-manual.info, Node: Sort Order, Next: Save Xrefs First, Prev: Insertion Commands, Up: The Customisation Buffer
+
+5.1.8 Sort Order
+----------------
+
+The use of this option is explained above, see *note Sorting the .bib
+file: sorting-bib-file. To create a sort order, click the `INS' button
+to create a sort level, and then click the `INS' button under that sort
+level to enter a sort field. If you want to add more than one sort
+field to the sort level, simply hit `INS' again.
+
+
+File: ebib-manual.info, Node: Save Xrefs First, Next: Crossref Face, Prev: Sort Order, Up: The Customisation Buffer
+
+5.1.9 Save Xrefs First
+----------------------
+
+For cross-referencing to work, the cross-referencing entries must
+appear in the `.bib' file _before_ the cross-referenced entries. In
+order to tell Ebib to save all entries with a `crossref' field first,
+you must set the option `Save Xrefs First' in Ebib's customisation
+buffer. With this option set, BibTeX's crossreferencing options work as
+intended.
+
+ By default, this option is unset, because it (marginally) slows down
+saving the `.bib' file somewhat.
+
+
+File: ebib-manual.info, Node: Crossref Face, Next: Marked Face, Prev: Save Xrefs First, Up: The Customisation Buffer
+
+5.1.10 Crossref Face
+--------------------
+
+Field values inherited from a cross-referenced entry are marked with
+this face. By default, the face has red as foreground colour.
+
+
+File: ebib-manual.info, Node: Marked Face, Next: Use Timestamp, Prev: Crossref Face, Up: The Customisation Buffer
+
+5.1.11 Marked Face
+------------------
+
+When entries are marked (with `m'), they are highlighted in this face.
+By default, GNU Emacs uses the text property `highlight'. XEmacs only
+allows this on terminals, therefore it displays marked entries with a
+red background and a white foreground colour. This option allows you to
+change these defaults.
+
+
+File: ebib-manual.info, Node: Use Timestamp, Next: Timestamp Format, Prev: Marked Face, Up: The Customisation Buffer
+
+5.1.12 Use Timestamp
+--------------------
+
+If this option is set, Ebib will add a `timestamp' field to every new
+entry, recording the date and time it was added to the database. See
+*note Timestamps: timestamps.
+
+
+File: ebib-manual.info, Node: Timestamp Format, Next: Standard Url Field, Prev: Use Timestamp, Up: The Customisation Buffer
+
+5.1.13 Timestamp Format
+-----------------------
+
+This option specifies the format string that is used to create the
+timestamp. The format string is used by `format-time-string' to create
+a time representation. The default value is `"%a %b %e %T %Y"', which
+produces a timestamp of the form `"Mon Mar 12 01:03:26 2007"'. See the
+documentation for `format-time-string' for the forms that the format
+string can take.
+
+
+File: ebib-manual.info, Node: Standard Url Field, Next: Url Regexp, Prev: Timestamp Format, Up: The Customisation Buffer
+
+5.1.14 Standard Url Field
+-------------------------
+
+This is the field that Ebib searches for URLs if you press `u' in the
+index buffer. Its default value is `url'.
+
+
+File: ebib-manual.info, Node: Url Regexp, Next: Browser Command, Prev: Standard Url Field, Up: The Customisation Buffer
+
+5.1.15 Url Regexp
+-----------------
+
+This is the regular expression that Ebib uses to search for URLs in a
+field. The default value is:
+
+
+ \\url{\(.*\)}\|https?://[^ '<>\"\n\t\f]+
+
+ With this regular expression, Ebib considers everything that is in a
+LaTeX `\url{...}' command as a URL, and furthermore every string of
+text that starts with `http://' or `https://' and does not contain
+whitespace or one of the characters `' " <' or `>'.
+
+
+File: ebib-manual.info, Node: Browser Command, Next: Standard File Field, Prev: Url Regexp, Up: The Customisation Buffer
+
+5.1.16 Browser Command
+----------------------
+
+If this option is unset (which is the default), Ebib uses the Emacs
+function `browse-url' to start a browser. If this function does not
+exist, you can set this option. For example, if you use the Firefox
+browser, set this option to `firefox'.
+
+ For this to work, the browser that you use must be able to handle a
+URL on the command line.
+
+
+File: ebib-manual.info, Node: Standard File Field, Next: File Associations, Prev: Browser Command, Up: The Customisation Buffer
+
+5.1.17 Standard File Field
+--------------------------
+
+This is the field that Ebib searches for filenames if you press `f' in
+the index buffer. Its default value is `file'.
+
+
+File: ebib-manual.info, Node: File Associations, Next: File Regexp, Prev: Standard File Field, Up: The Customisation Buffer
+
+5.1.18 File Associations
+------------------------
+
+The programs used to view files. By default, programs for `.pdf' and
+`.ps' files are specified, which should be available on most linux
+systems. If you prefer other programs or are running on Windows, you'll
+can specify them here. Note that Ebib searches the PATH for the
+programs, but you can also specify full path names. Of course, it is
+also possible to add new associations.
+
+ Note that GNU/Emacs 23 (as yet unreleased) comes with
+`doc-view-mode', which provides a way to view `.pdf' and `.ps' files
+inside Emacs. (The files are converted to `.png' format first.) If you
+prefer to use this mode, simply leave the program field blank for the
+relevant file type.
+
+
+File: ebib-manual.info, Node: File Regexp, Next: File Search Dirs, Prev: File Associations, Up: The Customisation Buffer
+
+5.1.19 File Regexp
+------------------
+
+In order to find files in a field, Ebib uses a regular expression. The
+default value is:
+
+
+ [^?|\:*<>\" \n\t\f]+
+
+ This essentially means that every string of characters not
+containing any of the characters
+
+
+ ? | \ : * < > "
+
+ or space, newline, tab of formfeed. URLs can easily by recognised by
+the prefix `http:', but recognising files is not so straightforward. It
+is therefore not advisable to put anything but filenames in the `file'
+field.
+
+
+File: ebib-manual.info, Node: File Search Dirs, Next: Print Preamble, Prev: File Regexp, Up: The Customisation Buffer
+
+5.1.20 File Search Dirs
+-----------------------
+
+This is the list of directories that Ebib searches for files. Note that
+searching is not recursive: only the files listed here are searched, not
+their subdirectories.
+
+
+File: ebib-manual.info, Node: Print Preamble, Next: Print Multiline, Prev: File Search Dirs, Up: The Customisation Buffer
+
+5.1.21 Print Preamble
+---------------------
+
+This option specifies the preamble that is to be added to the LaTeX file
+Ebib creates for printing the database (i.e., the `P' command). By
+default, the preamble is empty. You can set your own `\usepackage'
+commands, or anything else you may need.
+
+
+File: ebib-manual.info, Node: Print Multiline, Next: Latex Preamble, Prev: Print Preamble, Up: The Customisation Buffer
+
+5.1.22 Print Multiline
+----------------------
+
+When this options is set, Ebib includes multiline field values when it
+creates a LaTeX file with `P' (`ebib-print-database'). When unset,
+multiline values are excluded, which saves space. By default, this
+option is unset.
+
+
+File: ebib-manual.info, Node: Latex Preamble, Next: Print Tempfile, Prev: Print Multiline, Up: The Customisation Buffer
+
+5.1.23 Latex Preamble
+---------------------
+
+This option specifies the preamble to be added to the LaTeX file for
+creating a list of references from the database (i.e., the `L'
+command). By default, the line `\bibliographystyle{plain}' is put in the
+preamble, but you may want to specify your own BibTeX packages and
+options.
+
+
+File: ebib-manual.info, Node: Print Tempfile, Next: Allow Identical Fields, Prev: Latex Preamble, Up: The Customisation Buffer
+
+5.1.24 Print Tempfile
+---------------------
+
+This option specifies the name and location of the temporary file Ebib
+creates with the commands `ebib-print-database' and
+`ebib-latex-database'. By default, this option has no value, which
+means that Ebib will ask for a filename each time either of these
+commands is called.
+
+
+File: ebib-manual.info, Node: Allow Identical Fields, Next: Entry Types, Prev: Print Tempfile, Up: The Customisation Buffer
+
+5.1.25 Allow Identical Fields
+-----------------------------
+
+If this option is set, Ebib stores the values of multiple occurrences
+of a single field within an entry in a single occurrence of that field,
+separated by semicolons. By default, this option is unset, because it
+slows down the loading of `.bib' files. See *note Multiple Identical
+Fields: multiple-identical-fields.
+
+
+File: ebib-manual.info, Node: Entry Types, Prev: Allow Identical Fields, Up: The Customisation Buffer
+
+5.1.26 Entry Types
+------------------
+
+This option allows you to customise the entry types that Ebib uses. Each
+entry type has a name, a set of obligatory fields and a set of optional
+fields. You can add, alter or delete single fields in an entry type, or
+whole entry types.
+
+ If you want to add an entry type, hit the `INS' key on the top level
+and give the new entry a name, then add obligatory and/or optional
+fields. It is not necessary that an entry type has both obligatory and
+optional fields, you can define an entry that has only obligatory or
+only optional fields.
+
+
+File: ebib-manual.info, Node: Modifying Key Bindings, Prev: The Customisation Buffer, Up: Customisation
+
+5.2 Modifying Key Bindings
+==========================
+
+If you are unhappy about Ebib's standard key bindings, you can change
+them to anything you like. To do this, you have to create a file
+`~/.ebibrc' and write your preferred key bindings in it. A key binding
+definition is built up as follows:
+
+
+ (ebib-key <buffer> <key> <command>)
+
+ `<buffer>' is either `index', `entry' or `strings', for the
+corresponding buffer. `<key>' is a standard Emacs key description, and
+`<command>' is the Ebib command to be associated with the key. The
+commands that can be used here are listed in *note The Ebib Buffers:
+ebib-buffers. Note that it is possible to bind more than one key to a
+single function: just add as many `ebib-key' statements as necessary.
+
+ As an example, the following binds `C-s' to `ebib-search' in the
+index buffer, so that the database can be searched with `C-s' as well
+as with `/':
+
+
+ (ebib-key index "\C-s" ebib-search)
+
+ If you want to unbind a key, you can simply leave out `<command>'.
+So if you want to bind the command `ebib-delete-entry' to `D' rather
+than `d', you need to put the following in `.ebibrc':
+
+
+ (ebib-key index "D" ebib-delete-entry)
+ (ebib-key index "d")
+
+ The first line binds `D' to the command `ebib-delete-entry'. The
+second line unbinds `d'.
+
+ If a command can be called with a prefix key (as for example
+`ebib-delete-entry' can), `ebib-key' will automatically rebind the
+prefixed version as well. So in the example above, the first line not
+only binds `D', it also binds `; D'. Similarly, the second line not
+only unbinds `d', but also `; d'.
+
+ It is also possible to redefine the prefix key itself. To do this,
+you must specify `mark-prefix' for `<buffer>'. The value of `<command>'
+is irrelevant here, so it can be left out:
+
+
+ (ebib-key mark-prefix ":")
+
+ This sets up `:' as the new prefix key. Doing this automatically
+unbinds the existing prefix key.
+
+
+
+Tag Table:
+Node: Top306
+Node: Installation1617
+Node: Basic Usage3491
+Node: Getting Started4888
+Node: Opening a `.bib' file5998
+Node: Navigating a `.bib' file7877
+Node: Starting a New `.bib' File11112
+Node: Editing the Database11577
+Node: Adding and Deleting Entries12036
+Node: Editing Fields Values13302
+Node: Editing Multiline Values15775
+Node: Copy18126
+Node: Saving a Database19243
+Ref: saving-database19405
+Node: Searching20522
+Ref: searching20665
+Node: LaTeX Integration22865
+Node: Consulting databases from within a LaTeX file25311
+Node: Cross-referencing27912
+Ref: cross-referencing28083
+Node: Printing the Database30419
+Ref: printing-database30596
+Node: Marking Entries34409
+Node: Calling a Browser35969
+Node: Viewing Files38119
+Node: Advanced Features40505
+Node: Screen Layout41118
+Ref: screen-layout41285
+Node: Preloading `.bib' Files42823
+Node: `@Preamble' Definition43382
+Node: `@String' Definitions45672
+Node: Sorting the `.bib' file49149
+Ref: sorting-bib-file49348
+Node: Merging and Importing52352
+Node: Exporting Entries53738
+Node: Timestamps55949
+Ref: timestamps56109
+Node: Multiple Identical Fields57700
+Ref: multiple-identical-fields57890
+Node: Virtual Databases59817
+Ref: virtual-databases60008
+Node: Simple Selection61101
+Node: Complex Filters62241
+Node: Properties of Virtual Databases66271
+Node: The Multiline Edit Buffer67611
+Ref: multiline-edit-buffer67784
+Node: The Ebib Buffers70188
+Ref: ebib-buffers70336
+Node: The Index Buffer70675
+Node: The Entry Buffer75718
+Node: The Strings Buffer78064
+Node: Customisation79808
+Ref: customisation79924
+Node: The Customisation Buffer80208
+Ref: customisation-buffer80399
+Node: Default Type81184
+Node: Preload Bib Files81667
+Ref: preload-bib-files81846
+Node: Additional Fields82049
+Ref: additional-fields82222
+Node: Layout82629
+Ref: layout82780
+Node: Index Window Size83102
+Node: Index Display Fields83393
+Ref: index-display-fields83587
+Node: Insertion Commands83872
+Ref: insertion-commands84055
+Node: Sort Order85161
+Node: Save Xrefs First85654
+Ref: save-xrefs-first85824
+Node: Crossref Face86284
+Ref: crossref-face86451
+Node: Marked Face86583
+Ref: marked-face86743
+Node: Use Timestamp87050
+Node: Timestamp Format87387
+Node: Standard Url Field87933
+Ref: standard-url-field88114
+Node: Url Regexp88227
+Ref: url-regexp88391
+Node: Browser Command88799
+Ref: browser-command88974
+Node: Standard File Field89315
+Ref: standard-file-field89505
+Node: File Associations89624
+Ref: file-associations89806
+Node: File Regexp90475
+Ref: file-regexp90642
+Node: File Search Dirs91104
+Ref: file-search-dirs91278
+Node: Print Preamble91446
+Node: Print Multiline91869
+Node: Latex Preamble92266
+Node: Print Tempfile92720
+Node: Allow Identical Fields93176
+Ref: allow-identical-fields93368
+Node: Entry Types93685
+Ref: entry-types93832
+Node: Modifying Key Bindings94371
+Ref: modifying-key-bindings94536
+
+End Tag Table
+
+
+Local Variables:
+coding: iso-8859-1
+End:
diff --git a/biblio/bibtex/utils/findbib/README b/biblio/bibtex/utils/findbib/README
new file mode 100644
index 0000000000..32a23b5e2c
--- /dev/null
+++ b/biblio/bibtex/utils/findbib/README
@@ -0,0 +1,73 @@
+The simple shell script, findbib, gets a latex source file and finds the needed bibtex
+records in the physics archive at WWW-SPIRES.SLAC.STANFORD.EDU.
+
+References must be in one of the following forms:
+
+ - A SPIRES key: eg. \cite{Witten:1996ep}
+ - A new arXiv number: eg. \cite{0704.0001}
+ - An old arXiv number: eg. \cite{hep-th/9703030} or \cite{9703030}.
+
+SPIRES has provided a unique "two letter label" attached to each paper following the
+Author:Year identification. For example, "ep" in Witten:1997ep. Of course, one has
+to look on SPIRES to know them. However, eprint numbers, like hep-th/yymmxxx,
+yymmxxx and yymm.xxxx, are also supported labels. This allows you to retrieve the
+full record from just the arxiv numbers.
+If no arxiv name is specified, the scripts will search hep-th by default. This behaviour
+can be changed by editing the script.
+
+The scripts use awk, sed, lynx, bibtex and sometimes latex to generate the aux file.
+(Note that this shell script runs only under *nix.)
+
+Further details inside the files.
+
+Let me know of suggestions, improvements at:
+billnaai[~at~]gmail{-dot-}com
+
+1) Useage
+
+findbib [-a] filename.tex
+
+If the option -a is selected, the script will only add new citations. The default be-
+haviour is to create a new bibliography with all the citations.
+
+
+2) Installation
+
+After you untar it:
+
+tar xzvf findbib.tar.gz,
+
+just put findbib on your path and render it executable:
+
+chmod u+x findbib
+
+You also need to install awk, sed, lynx and ofcourse latex.
+(There is also a file, example.tex, that you can test the script on).
+
+3) Acknowledgements
+
+This script is a modified version of the script originally by Fabrizio Nesti.
+
+From the original script by Fabrizio Nesti:
+And thanks to Hrvoje 'Harv' Galic at SPIRES for collaboration!
+
+
+----------------------------------
+#######################################################################
+#
+# Findbib is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation (version 2)
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+#
+#######################################################################
+
+
diff --git a/biblio/bibtex/utils/findbib/addbib b/biblio/bibtex/utils/findbib/addbib
new file mode 100644
index 0000000000..ae3603b85d
--- /dev/null
+++ b/biblio/bibtex/utils/findbib/addbib
@@ -0,0 +1,281 @@
+#!/bin/bash -f
+# ADDBIB 0.2, Aug, 2007 K. Goldstein
+VERSION=0.2
+#
+#######################################################################
+#
+# ADDBIB 0.1, Feb, 2007 K. Goldstein
+# (based on FINDBIB 2.0 by F. Nesti).
+#
+# Usage: findbib foo.tex
+#
+# The script searchs for new citations in a latex AUX file and adds them to
+# a bibtex database. If the latex file is called foo.tex it assumes the bibtex file is
+# called foo.bib
+#
+# Every \cite{...} of a reference in SPIRES-Bibtex standard form
+# (Author:YEARaa) or in the form of an arXiv reference
+# (arXive-name/yymmnnn OR yymmnnn OR yymm.nnnn)
+# is searched in WWW-SPIRES.SLAC.STANFORD.EDU and all the bibtex records
+# added the file foo.BIB
+#
+# The value of the variable ARXIV sets the default arxiv to search if the
+# cite is of the form \cite{yymmxxx}
+#
+# To change the default arxiv change the value below:
+ARXIV='hep-th/'
+#ARXIV='hep-ph/'
+#
+####################################################################
+#
+# The script uses awk, sed, lynx, bibtex and somes LaTeX. You will have to install
+# these to make sure it works.
+#
+####################################################################
+# How the scrip works:
+#
+#
+# Steps:
+#
+# Generate an AUX file with LaTeX,
+# searches the AUX file for labels,
+# compares them with the records in the file $1.bib
+# searches SPIRES for new records,
+# adds them in $1.bib
+# calls BibTeX on the file (!).
+#
+#######################################################################
+#
+# ADDBIB 0.2, May, 2007 K. Goldstein
+#
+# add suport for the new arxiv format yymm.xxxx
+#
+#######################################################################
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation (version 2)
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+#
+########################################
+#
+# Useful functions
+
+ #######################
+ # randomly pick a mirror
+ ######################
+
+get_url() {
+#cycle through the mirrors randomly
+ MIRRORS=("http://www-library.desy.de" "http://www-spires.fnal.gov" "http://usparc.ihep.su" "http://www-spires.dur.ac.uk" "http://www.yukawa.kyoto-u.ac.jp" "http://www.slac.stanford.edu" "http://www.spires.lipi.go.id")
+ element_count=${#MIRRORS[@]}
+ let mirror=$RANDOM%$element_count
+ BASE=${MIRRORS[$mirror]}
+ echo Querying $BASE
+ #####################
+ eval "$1=$BASE"/spires/find/hep/www?""
+}
+
+get_labels() {
+# extract the labels from the .aux file
+echo "---------- EXTRACTING LABELS FROM $FILE: -------------"
+
+awk -F"}" '/\\citation\{/ {for(i=1;i<NF+1;i++) print $i}' $FILE | \
+awk '/\\citation\{/ {print substr($0,match($0,/\\citation\{/)+RLENGTH,length)}'\
+ - | sort -u | tee bib.labels_a
+
+echo "---------- EXTRACTING RECORDS FROM $BIB: -------------"
+
+
+awk -F"{" '/Article/ {print $2}' $BIB | sed -e's/,//g' | sort | tee bib.labels_b
+
+echo "---------- FINDING NEW LABELS: -------------"
+
+while read label_a
+do
+ if [[ ! `grep $label_a bib.labels_b` ]]
+ then
+ echo $label_a | tee -a bib.labels
+ fi
+done < bib.labels_a
+
+rm -f bib.labels_a bib.labels_b
+
+nothing_new=0
+
+if [[ ! -f bib.labels ]]
+then
+ nothing_new=1
+fi
+}
+
+########################################################
+
+# Process the input parameters
+
+if [ $1 ]
+then
+ if test -f $1
+ then
+ TEXF=${1%.tex}
+ latex $1
+ FILE=${1%.tex}.aux
+ BIB=${1%.tex}.bib
+ else
+ echo "No such file $1."
+ exit
+ fi
+else
+ echo "usage: findbib texfile.tex"
+ exit
+fi
+echo $TEXF $FILE $BIB
+
+# extract the labels from the .aux file
+
+get_labels
+
+if [ $nothing_new -eq 1 ]
+then
+ echo "No new citations"
+ exit
+else
+# start getting the records from spires
+
+ echo "---------- REQUESTING RECORDS FROM spires.slac.stanford.edu:"
+# echo "%%" >> $BIB
+# echo "%% NEW RECORDS FOR $FILE. GENERATED BY FINDBIB 2.1 ON" \
+# `date +"%x, AT %X."`>>$BIB
+# echo "%%" >> $BIB
+
+ while read label
+ do
+ echo "------------------------------------------------------------"
+ flag=0
+ echo "Searching for label:"
+ ###########################################
+ # is the record of the form Author:yyyyxx ?
+ ###########################################
+ if [[ $label = *:[0-9][0-9][0-9][0-9][a-z][a-z]* ]]
+ then
+ LABEL=`echo $label | sed -es=:=/=`
+ AUTHOR=${LABEL%/*}
+ DATE=`echo ${LABEL#*/} | sed -e's=[a-z]*$==' `
+ KEY=`echo ${LABEL#*/} | sed -e's=^....==' `
+ # add a space in two word names:
+ AUTHOR_SPACE=`echo $AUTHOR | sed -e 's/\([a-z]\)\([A-Z]\)/\1 \2/g' `
+ #AUTHOR_SPACE=`echo $AUTHOR | sed 's/\([a-z]\)\([A-Z]\)/\1 \2/g'`
+ SEARCH=A+$AUTHOR_SPACE+AND+DATE+$DATE
+ echo $AUTHOR_SPACE $DATE $KEY
+ ###########################################
+ # is the record of the form *-*:yymmxxx ?
+ ###########################################
+ elif [[ $label = *-*/[0-9][0-9][0-9][0-9][0-9][0-9][0-9] ]]
+ then
+ SEARCH="EPRINT $label"
+ echo $label
+ ###########################################
+ # is the record of the form yymmxxx ?
+ ###########################################
+ elif [[ $label = [0-9][0-9][0-9][0-9][0-9][0-9][0-9] ]]
+ then
+ SEARCH="EPRINT $ARXIV$label"
+ echo $label
+ ###########################################
+ # is the record of the new form yymm.xxxx ?
+ ###########################################
+ elif [[ $label = [0-9][0-9][0-9][0-9]\.[0-9][0-9][0-9][0-9] ]]
+ then
+ SEARCH="EPRINT $label"
+ echo $label
+ ###########################################
+ # is the record some other format ?
+ ###########################################
+ else
+ echo $label: PERSONAL LABEL
+ flag=1
+ fi
+
+ i=0; NN=0
+
+ # start a loop to search through the results
+
+ while test $flag = "0"
+ do
+
+ # download the webpage from spires:
+ get_url URL
+ #URL="http://www-spires.slac.stanford.edu/spires/find/hep/www?"
+ OPTIONS="rawcmd=$SEARCH&skip=$i&FORMAT=wwwbriefbibtex"
+ lynx -source "$URL$OPTIONS" | sed -e '/@Article{/ s/ //g' > out
+
+ # increment our search - there are 25 results/page
+ let i=i+25
+ # find out the number of hits for our search
+ if [[ $NN -eq 0 ]]
+ then
+ if [[ `grep Paper out` ]]
+ then
+ NN=`grep Paper out | sed -e 's/^.*of <b>\([0-9]*\).*/\1/' | sort -u`
+ fi
+ echo $NN "record(s) found"
+ fi
+ if [[ $NN -gt 25 ]]
+ then
+ echo "Searching-----> " $i
+ fi
+ # check to see if there are no results:
+ if [[ $NN -eq 0 ]]
+ then
+ flag=1
+ echo " PAPER NOT FOUND."
+ # check to see if the label we want is on the page:
+ elif [[ ! `grep $label out` = "" ]]
+ then
+ flag=1
+ echo "Found:"
+ if [[ $SEARCH = EPRINT* ]]
+ then
+ if [[ ! `grep "<!-- START RESULTS -->" out` = "" ]]
+ then
+ echo "@Article{$label," >> $BIB
+ awk '/@Article\{/,/^}/' out | awk '!/@Article/' - \
+ | tee -a $BIB \
+ | grep title | sed 's/ */ /g'
+ else
+ echo "PAPER NOT FOUND"
+ fi
+ else
+ awk /$label/,'/^}/' out \
+ | tee -a $BIB \
+ | grep title | sed 's/ */ /g'
+ fi
+ # check to see if there are papers left:
+ elif [[ $i -gt $NN ]]
+ then
+ flag=1
+ echo " PAPER NOT FOUND."
+ fi
+
+ done
+
+
+done < bib.labels
+
+# clean up
+rm -f bib.labels out
+
+echo "---------- DONE. RECORDS WRITTEN TO $BIB."
+echo "---------- NOW RUNNING BIBTEX:"
+
+bibtex $TEXF
+
+fi
diff --git a/biblio/bibtex/utils/findbib/documentation.pdf b/biblio/bibtex/utils/findbib/documentation.pdf
new file mode 100644
index 0000000000..5b20117c41
--- /dev/null
+++ b/biblio/bibtex/utils/findbib/documentation.pdf
Binary files differ
diff --git a/biblio/bibtex/utils/findbib/documentation.tex b/biblio/bibtex/utils/findbib/documentation.tex
new file mode 100644
index 0000000000..8eee9ac6dc
--- /dev/null
+++ b/biblio/bibtex/utils/findbib/documentation.tex
@@ -0,0 +1,82 @@
+\documentclass{article}
+\usepackage{times}
+\usepackage[T1]{fontenc}
+\usepackage[latin1]{inputenc}
+\setlength\parskip{\medskipamount}
+\setlength\parindent{0pt}
+\usepackage{color}
+\usepackage{hyperref}
+\newcommand{\findbib}{\texttt{findbib} }
+
+
+\makeatletter
+
+\begin{document}
+\author{Kevin Goldstein}
+\title{Findbib documentation\date{}}
+
+\maketitle
+
+The simple shell script, \texttt{findbib}, gets a latex source file and finds the needed
+bibtex records in the physics archive at
+WWW-SPIRES.SLAC.STANFORD.EDU.\footnote{
+ \textcolor{red}{Note that this shell script runs only under *nix}.}
+
+References must be in one of the following forms:
+\begin{itemize}
+\item A SPIRES key: eg. \textbackslash{}cite\{Witten:1997ep\}
+\item A new arXiv number: eg. \textbackslash{}cite\{0704.0001\}
+\item An old arXiv number: eg. \textbackslash{}cite\{hep-th/9703030\}
+ or \textbackslash{}cite\{9703030\}.
+\end{itemize}
+
+SPIRES has provided a unique ``two letter label'' attached to each paper following the
+Author:Year identification. For example, ``ep'' in Witten:1997ep. Of course, one has to
+look on SPIRES to know them. However, eprint numbers, like hep-th/yymmxxx, yymmxxx and
+yymm.xxxx, are also supported labels. This allows you to retrieve the full
+record from just the arxiv numbers.
+
+If no arxiv name is specified, the scripts will search
+hep-th by default. This behaviour can be changed by editing the script.
+
+
+The scripts use awk, sed, lynx, bibtex and sometimes
+\LaTeX~to generate the \texttt{.aux} file. Further details inside the files.
+
+Let me know of suggestions, improvements at:
+
+\texttt{billnaai{[}\textasciitilde{}at\textasciitilde{}]gmail\{-dot-\}com}
+
+\section{Useage}
+
+\texttt{findbib [-a] filename.tex }
+
+If the option \texttt{-a} is selected, the script will only add new citations. The default
+behaviour is to create a new bibliography. By default the bibliography is called \texttt{filename.bib}.
+
+\section{Installation}
+
+After you untar it:
+
+ \texttt{tar xzvf findbib.tar.gz},
+
+just put \findbib on your path and render it executable:
+
+\texttt{chmod u+x findbib}
+
+You also need to install awk, sed, lynx and ofcourse latex.
+
+(There is also a file, example.tex, that you can
+test the script on).
+
+\section{Acknowledgements}
+
+This script is a modified version of the script originally
+by Fabrizio Nesti.
+
+--------
+
+From the original script by Fabrizio Nesti:
+
+And thanks to Hrvoje `Harv' Galic at SPIRES for collaboration!
+\end{document}
diff --git a/biblio/bibtex/utils/findbib/example.pdf b/biblio/bibtex/utils/findbib/example.pdf
new file mode 100644
index 0000000000..e81bb3e24f
--- /dev/null
+++ b/biblio/bibtex/utils/findbib/example.pdf
Binary files differ
diff --git a/biblio/bibtex/utils/findbib/example.tex b/biblio/bibtex/utils/findbib/example.tex
new file mode 100644
index 0000000000..0b269f4735
--- /dev/null
+++ b/biblio/bibtex/utils/findbib/example.tex
@@ -0,0 +1,26 @@
+\documentclass{article}
+\usepackage{showkeys}
+\usepackage{setspace}
+\doublespacing
+
+\begin{document}
+Here is an article \cite{Witten:1997ep}, and here
+another \cite{Li:1996mi}. Then a wrong author: \cite{Nobody:1997aa}
+and a wrong label \cite{Cheng:1996hh} with `hh' instead of `hc'.
+Then an eprint \cite{hep-th/9703030} and a personal label
+\cite{DNS:94} plus a commented out one. % \cite{pippo}.
+Then a label with an author whose last name has two words \cite{deWit:1984px}.
+Then label with no arxiv specified which will search the default arxiv \cite{0101001}.
+Finally, here is an article with the new arxiv numbering \cite{0704.0001}.
+
+Notice this file uses {\sf utphys.bst} as a bibliography style.
+Any other style may be used.
+
+This file also uses the package {\sf showkeys} to show the names of the citation keys.
+
+\bibliographystyle{utphys}
+\bibliography{example}
+
+\end{document}
+
+
diff --git a/biblio/bibtex/utils/findbib/findbib b/biblio/bibtex/utils/findbib/findbib
new file mode 100644
index 0000000000..b4332a0ed7
--- /dev/null
+++ b/biblio/bibtex/utils/findbib/findbib
@@ -0,0 +1,474 @@
+#!/bin/bash -f
+#FINDBIB 2.3, Aug, 2007 K. Goldstein
+#
+################ FINDBIB 2.0, F. Nesti, August, 26, 1997 ###############
+#
+# This script builds a bibliography database from the latex source file.
+#
+# Usage: findbib foo.tex
+#
+# Every \cite{...} of a reference in SPIRES-Bibtex standard form
+# (Author:YEARaa) or in the form of an arXiv reference
+# (arXive-name/yymmnnn OR yymmnnn OR yymm.nnnn)
+# is searched in WWW-SPIRES.SLAC.STANFORD.EDU and all the bibtex records
+# are returned in a .BIB file.
+#
+# The value of the variable ARXIV sets the default arxiv to search if the
+# cite is of the form \cite{yymmxxx}
+#
+# To change the default arxiv change the value below:
+#
+ARXIV='hep-th/'
+#ARXIV='hep-ph/'
+#
+# The .BIB file will have the same name as the .TEX file
+#
+# The script uses awk, sed, lynx, bibtex and somes LaTeX. You will have to install
+# these to make sure it works.
+#
+####################################################################
+#
+# How the script works:
+#
+# Steps:
+# Generate an AUX file with LaTeX if not present,
+# searches the AUX file for labels,
+# searches SPIRES for records,
+# writes them in $1.bib, renaming last as $1.bib.old,
+# calls BibTeX on the file (!).
+#
+#
+#
+#
+#######################################################################
+#
+# FINDBIB 2.1, May, 2007 K. Goldstein
+#
+# Changes:
+#
+# 1. Script updated to fix some changes on Spires website
+#
+# 2. Uses sort to remove dupilcate entries
+#
+# 3. Can search for author with double barrel surnames
+#
+# 4. every cite of the form \cite{yymmxxx} returns a hep-th reference.
+# To change the default arxiv the value of ARXIV
+#
+# 5. every cite of the form \cite{yymm.xxxx} returns a new arxiv reference
+#
+# 6. Gratuitous comments added so that the script is easy to fix
+# when spires changes their format
+#
+#######################################################################
+# FINDBIB 2.2 : fixed some bugs
+#######################################################################
+#######################################################################
+# FINDBIB 2.3 : added some flags
+#######################################################################
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation (version 2)
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+#
+########################################
+
+# The main script starts around line 351
+# Useful functions defined:
+
+# Print usage infromation
+usage(){
+ echo "findbib $VERSION"
+ echo "---"
+ echo "Usage: findbib [-ah] texfile.tex"
+ echo
+ echo "Options:"
+ echo
+ echo " -a : Only add new citations"
+ echo " -h : Print this message"
+}
+
+#a counter
+cpp(){
+ c=$(($c+1))
+}
+
+# extract the labels from the .aux file
+get_labels() {
+###################
+# $1 - the .bib file
+# $2 - the .aux file
+# $3 - flag to see whether we should just get new labels
+###################
+ if [[ $3 = 0 ]]
+ then
+ get_all_labels $1 $2
+ else
+ get_new_labels $1 $2
+ fi
+}
+
+# function to process the labels
+parse_aux() {
+ echo "---------- EXTRACTING LABELS FROM $1: -------------"
+
+ awk -F"}" '/\\citation\{/ {for(i=1;i<NF+1;i++) print $i}' $1 | \
+ awk '/\\citation\{/ {print substr($0,match($0,/\\citation\{/)+RLENGTH,length)}'\
+ - | awk -F"," '{for (i=1; i<NF+1;i++) print $i}'| sort -u | tee $2
+
+}
+
+
+# extract all the labels from the .aux file
+get_all_labels() {
+####################
+# $1 = the .bib file
+# $2 = the .aux file
+#########################################
+ # Backup old bibtex file
+ if test -f $1
+ then
+ mv -f $1 $1.old
+ fi
+ out=bib.labels
+ parse_aux $2 $out
+}
+
+# extract new labels from the .aux file
+get_new_labels() {
+######################
+# $1 the .bib file
+# $2 the .aux file
+#########################################
+ # remove old files
+ if test -f bib.labels
+ then
+ rm -f bib.labels
+ fi
+
+ out=bib.labels_a
+ parse_aux $2 $out
+
+ echo "---------- EXTRACTING RECORDS FROM $1: -------------"
+
+
+ awk -F"{" '/[aA]rticle/ {print $2}' $1 | sed -e's/,//g' | sort | tee bib.labels_b
+
+ echo "---------- FINDING NEW LABELS: -------------"
+
+ while read label_a
+ do
+ if [[ ! `grep $label_a bib.labels_b` ]]
+ then
+ echo $label_a | tee -a bib.labels
+ fi
+ done < bib.labels_a
+
+ #clean up
+ rm -f bib.labels_a bib.labels_b
+
+ nothing_new=0
+
+ if [[ ! -f bib.labels ]]
+ then
+ nothing_new=1
+ fi
+}
+
+# add a comment to the bibtex file
+print_header() {
+######################
+# $1 - the .bib file
+# $2 - flag to see whether we should just get new labels
+######################
+ if [[ $2 = 0 ]]
+ then
+ echo "%%" > $1
+ echo "%% BIBTEX FILE FOR $TEXF.tex GENERATED BY FINDBIB $VERSION ON" \
+ `date +"%x, AT %X."`>>$1
+ echo "%%" >> $1
+ else
+ echo "%%" >> $1
+ echo "%% REFERENCES FOR $TEXF.tex ADDED BY FINDBIB $VERSION ON" \
+ `date +"%x, AT %X."`>>$1
+ echo "%%" >> $1
+ fi
+}
+
+
+parse_label() {
+# convert the label into a search term
+#$1 - a label extracted from the .aux file
+ ###########################################
+ # is the record of the form Author:yyyyxx ?
+ ###########################################
+ if [[ $1 = *:[0-9][0-9][0-9][0-9][a-z][a-z]* ]]
+ then
+ LABEL=`echo $1 | sed -es=:=/=`
+ AUTHOR=${LABEL%/*}
+ DATE=`echo ${LABEL#*/} | sed -e's=[a-z]*$==' `
+ KEY=`echo ${LABEL#*/} | sed -e's=^....==' `
+ # add a space in two word names and remove underscores:
+ AUTHOR_SPACE=`echo $AUTHOR | sed -e 's/\([a-z]\)\([A-Z]\)/\1 \2/g' `
+ SEARCH=A+$AUTHOR_SPACE+AND+DATE+$DATE
+ echo $AUTHOR_SPACE $DATE $KEY
+
+ ###########################################
+ # is the record of the form *-*:yymmxxx ?
+ ###########################################
+ elif [[ $1 = *-*/[0-9][0-9][0-9][0-9][0-9][0-9][0-9] ]]
+ then
+ SEARCH="EPRINT $1"
+ echo $1
+ ###########################################
+ # is the record of the form yymmxxx ?
+ ###########################################
+ elif [[ $1 = [0-9][0-9][0-9][0-9][0-9][0-9][0-9] ]]
+ then
+ SEARCH="EPRINT $ARXIV$1"
+ echo $1
+ ###########################################
+ # is the record of the new form yymm.xxxx ?
+ ###########################################
+ elif [[ $1 = [0-9][0-9][0-9][0-9]\.[0-9][0-9][0-9][0-9] ]]
+ then
+ SEARCH="EPRINT $1"
+ echo $1
+ ###########################################
+ ###########################################
+ # is the record some other format ?
+ ###########################################
+ else
+ echo $1: PERSONAL LABEL
+ flag=1
+ fi
+}
+
+get_url() {
+#######################
+# randomly pick a mirror
+######################
+ MIRRORS=("http://www-library.desy.de" "http://www-spires.fnal.gov" "http://usparc.ihep.su" "http://www-spires.dur.ac.uk" "http://www.yukawa.kyoto-u.ac.jp" "http://www.slac.stanford.edu")
+ element_count=${#MIRRORS[@]}
+ let mirror=$RANDOM%$element_count
+ BASE=${MIRRORS[$mirror]}
+ echo Querying $BASE
+ #####################
+ eval "$1=$BASE"/spires/find/hep/www?""
+}
+
+
+download_search (){
+#####################
+# Download a webpage with the search term $1
+# starting at result $2
+#####################
+ # get a random mirror:
+ get_url URL
+ OPTIONS="rawcmd=$1&skip=$2&FORMAT=wwwbriefbibtex"
+ # download page:
+ lynx -useragent=$USER_AGENT -source "$URL$OPTIONS" | sed -e '/@Article{/ s/ //g' >out
+ # sleep for 0-2 seconds between searches so we don't stress the servers
+ sleep $(($RANDOM%3))
+}
+
+get_hits (){
+#$1 is a string that will be set to the number of hits
+ #echo $SEARCH
+ if [[ `grep Paper out` ]]
+ then
+ export $1=`grep Paper out | sed -e 's/^.*of <b>\([0-9]*\).*/\1/' | sort -u`
+ #echo $1
+ fi
+}
+
+find_eprint_record(){
+ if [[ ! `grep "<!-- START RESULTS -->" out` = "" ]]
+ then
+ echo "@Article{$label," >> $BIB
+ awk '/@Article\{/,/^}/' out | awk '!/@Article/' - \
+ | tee -a $BIB \
+ | grep title | sed 's/ */ /g'
+ else
+ echo "PAPER NOT FOUND"
+ fi
+}
+find_record(){
+ awk /$label/,'/^}/' out \
+ | tee -a $BIB \
+ | grep title | sed 's/ */ /g'
+}
+process_filename() {
+ if [ $1 ]
+ then
+ if test -f ${1%.tex}.aux
+ then
+ TEXF=${1%.tex}
+ FILE=${1%.tex}.aux
+ BIB=${1%.tex}.bib
+ elif test -f $1
+ then
+ TEXF=${1%.tex}
+ latex $1
+ FILE=${1%.tex}.aux
+ BIB=${1%.tex}.bib
+ else
+ echo "No such file $1."
+ exit
+ fi
+ else
+ usage
+ exit
+ fi
+}
+
+test_dependancy () {
+
+test_dep=`whereis $1 | awk -F: '{print $2}'`
+
+if [ -z "$test_dep" ]
+ then
+ return 0
+ else
+ return 1
+fi
+
+}
+
+########################################################
+
+# test dependencies
+DEPS=("lynx" "sed" "awk")
+
+for item in ${DEPS[@]}
+do
+ test_dependancy $item
+ if [ $? = "0" ]
+ then
+ echo Findbib needs $item to work. Please install $item
+ exit
+ fi
+done
+
+#Boundary conditions
+VERSION=2.3
+c=0
+ADD=0
+LYNX_VERSION=`lynx -version | head -1 | awk '{print $3}'`
+USER_AGENT="Findbib_"$VERSION"_(Lynx/$LYNX_VERSION)"
+
+
+# Process the input parameters
+
+# Process flags:
+
+while getopts "b:ah" options
+do
+ case $options in
+ b ) BIBFILE=$OPTARG
+ # Unimplemented
+ cpp;cpp;;
+ a ) ADD=1
+ cpp;;
+ h ) usage
+ exit 1;;
+ \? ) usage
+ exit 1;;
+ * ) usage
+ exit 1;;
+ esac
+done
+
+shift $c
+
+# Process the name of the texfile
+
+process_filename $1
+
+# get citations from .aux file
+
+get_labels $BIB $FILE $ADD
+
+
+# print a header to the bibtex file
+
+print_header $BIB $ADD
+
+# start getting the records from spires
+
+echo "---------- REQUESTING RECORDS FROM spires.slac.stanford.edu:"
+
+while read label
+do
+ echo "------------------------------------------------------------"
+ flag=0
+ echo "Searching for label:"
+ i=0; NN=0
+
+ # parse the label and set $SEARCH to the SPIRES search term
+ parse_label $label
+
+ # start a loop to search through the results
+
+ while test $flag = "0"
+ do
+
+ download_search "$SEARCH" $i
+
+ let i=i+25
+ # find out the number of hits for our search
+ if [[ $NN -eq 0 ]]
+ then
+ get_hits NN
+ echo $NN "record(s) found "
+ fi
+ if [[ $NN -gt 25 ]]
+ then
+ echo "Searching-----> " $i
+ fi
+ # check to see if there were results
+ if [[ $NN -eq 0 ]]
+ then
+ flag=1
+ echo "PAPER NOT FOUND."
+ elif [[ ! `grep $label out` = "" ]]
+ then
+ flag=1
+ echo "Found:"
+ if [[ $SEARCH = EPRINT* ]]
+ then
+ find_eprint_record
+ else
+ find_record
+ fi
+ # check to see if there are no results:
+ # check to see if there are papers left:
+ elif [[ $i -gt $NN ]]
+ then
+ flag=1
+ echo " PAPER NOT FOUND."
+ fi
+ done
+
+
+done < bib.labels
+
+# clean up
+rm -f bib.labels out
+
+echo "---------- DONE. RECORDS WRITTEN TO $BIB."
+echo "---------- NOW RUNNING BIBTEX:"
+
+bibtex $TEXF
+
+exit
+
diff --git a/biblio/bibtex/utils/findbib/utphys.bst b/biblio/bibtex/utils/findbib/utphys.bst
new file mode 100644
index 0000000000..969f57abf7
--- /dev/null
+++ b/biblio/bibtex/utils/findbib/utphys.bst
@@ -0,0 +1,1066 @@
+% UT Physics bibliographic style, ver. 1.2. Based on:
+%
+%X IEEE Transactions bibliography style (29-Jan-88 version)
+%X numeric labels, order-of-reference, IEEE abbreviations,
+%X quotes around article titles, commas separate all fields
+%X except after book titles and before "notes". Otherwise,
+%X much like the "plain" family, from which this is adapted.
+%X
+%X History
+%X 9/30/85 (HWT) Original version, by Howard Trickey.
+%X 1/29/88 (OP&HWT) Updated for BibTeX version 0.99a, Oren Patashnik;
+%X THIS `ieeetr' VERSION DOES NOT WORK WITH BIBTEX 0.98i.
+%
+% Modifications: 1) added hypertex support and "archive" and "eprint" fields.
+% 2) parentheses around dates, and no "pp." for article entries
+% 3) "publisher, address" instead of "address: publisher"
+% 4) added "report" field for article entries.
+% 5) particle physics-oriented abbreviations, rather than ieee.
+% 6) added "collaboration" field, as per
+% Jonathan Flynn' suggestion. SPIRES now supports this field.
+%
+% Modified by Jacques Distler, 7/97
+% History: ver 1.0 9/96
+% ver 1.1 10/96 - added "collaboration" field
+% ver 1.2 7/97 - added a "\providecommand{\href}[2]{#2}"
+% to handle case where \href is not defined
+%
+% HyperTeX Wizardry:
+%
+% The following are equivalent:
+% archive = "hep-th"
+% eprint = "9605023"
+% and
+% eprint = "hep-th/9605023"
+% both produce
+% \href{http://xxx.lanl.gov/abs/hep-th/9605023}{{\tt hep-th/9605023}}
+% in the bibliographic output at the appropriate point. If you are using a
+% hypertex macropackage, like hyperref.sty, this will create a link to Los
+% Alamos.
+%
+% The bibtex output produced by SPIRES, while far from perfect, is pretty
+% suitable for use with this style. Indeed, this style was designed with
+% SPIRES in mind.
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ archive
+ eprint
+ report
+ collaboration
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.quote after.sentence
+ after.quoted.block after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.quote :=
+ #3 'after.sentence :=
+ #4 'after.quoted.block :=
+ #5 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.quote =
+ { " " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { output.state after.quoted.block =
+ { write$
+ newline$
+ "\newblock " write$
+ }
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {blank.sep}
+{ after.quote 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ output.state after.quoted.block =
+ 'skip$
+ 'add.period$
+ if$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { output.state after.quote =
+ { after.quoted.block 'output.state := }
+ { after.block 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "{\em " swap$ * "}" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " {\em et.~al.}" * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.eprint}
+{ eprint empty$
+ { ""}
+ { archive empty$
+ {"\href{http://xxx.lanl.gov/abs/" eprint * "}" *
+ "{{\tt " * eprint * "}}" *}
+ {"\href{http://xxx.lanl.gov/abs/" archive * "/" * eprint * "}" *
+ "{{\tt " * archive * "/" * eprint * "}}" *}
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.report}
+{ report empty$
+ { ""}
+ { report}
+ if$
+}
+
+
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", eds." * }
+ { ", ed." * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { "``" title "t" change.case$ * ",''" * }
+ if$
+}
+
+FUNCTION {format.title.p}
+{ title empty$
+ { "" }
+ { "``" title "t" change.case$ * ".''" * }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month ", " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.date.paren}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ {"(" year * ")" *}
+ {"(" month * ", " * year * ")" *}
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.collaboration}
+{ collaboration empty$
+ { "" }
+ { "{\bf " collaboration * "} " * "Collaboration" * }
+ if$
+}
+
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "vol.~" volume *
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "no.~" }
+ { "No.~" }
+ if$
+ number *
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { edition "l" change.case$ "~ed." * }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pp.~" pages n.dashify * }
+ { "p.~" pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pages.nopp}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { pages n.dashify }
+ { pages }
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {format.volume}
+{ volume empty$
+ { "" }
+ { "{\bf " volume * "}" * }
+ if$
+}
+
+FUNCTION {format.number}
+{ number empty$
+ { "" }
+ { "no.~" number * }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "ch.~" chapter * }
+ { type "l" change.case$ chapter tie.or.space.connect }
+ if$
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { "in " booktitle emphasize *
+ editor empty$
+ 'skip$
+ { " (" * format.editors * ")" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ output.state after.block =
+ { type "t" change.case$ }
+ { type "l" change.case$ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Tech. Rep." }
+ 'type
+ if$
+ number empty$
+ { "l" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.paddress}
+{ address empty$
+ { "" }
+ { "(" address * ")" * }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "in {\em " journal * "\/}" * }
+ if$
+ }
+ { "in " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " {\em et.~al.}" * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ { " {\em et.~al.}" * }
+ { " and " * editor #2 "{vv~}{ll}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Vol.~" volume *
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "in {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "in " key * }
+ if$
+ }
+ { "in " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.collaboration output
+ format.authors "author" output.check
+ format.title "title" output.check
+ blank.sep
+ crossref missing$
+ { journal missing$
+ {}
+ { journal emphasize "journal" output.check
+ blank.sep
+ format.volume output
+ blank.sep
+ format.date.paren "year" output.check
+ month empty$
+ { format.number output }
+ 'skip$
+ if$
+ blank.sep
+ format.pages.nopp output
+ }
+ if$
+ report missing$
+ {format.eprint output}
+ {blank.sep format.report output format.eprint output}
+ if$
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ format.eprint output
+ }
+ if$
+ new.sentence
+ note output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ format.collaboration output
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.collaboration output
+ format.authors output
+ title empty$
+ { "empty title in " cite$ * warning$
+ howpublished new.sentence.checka
+ }
+ { howpublished empty$ not
+ address empty$ month empty$ year empty$ and and
+ or
+ { format.title.p output.nonnull }
+ { format.title output.nonnull }
+ if$
+ blank.sep
+ }
+ if$
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ format.collaboration output
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.block
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ format.eprint output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.collaboration output
+ format.authors "author" output.check
+ format.title "title" output.check
+ blank.sep
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.block
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ format.eprint output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.collaboration output
+ format.authors "author" output.check
+ format.title "title" output.check
+ blank.sep
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.paddress output
+ format.pages output
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ format.eprint output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ format.collaboration output
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ blank.sep
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.collaboration output
+ format.authors output
+ title empty$
+ { howpublished new.sentence.checka }
+ { howpublished empty$ not
+ month empty$ year empty$ and
+ or
+ { format.title.p output.nonnull }
+ { format.title output.nonnull }
+ if$
+ blank.sep
+ }
+ if$
+ howpublished output
+ format.date output
+ new.block
+ note output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ format.eprint output
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ format.paddress output
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.collaboration output
+ format.authors "author" output.check
+ format.title "title" output.check
+ blank.sep
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.collaboration output
+ format.authors "author" output.check
+ format.title.p "title" output.check
+ blank.sep
+ note "note" output.check
+ format.date output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sept."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+MACRO {nup} {"Nucl. Phys."}
+
+MACRO {cmp} {"Comm. Math. Phys."}
+
+MACRO {prl} {"Phys. Rev. Lett."}
+
+MACRO {pl} {"Phys. Lett."}
+
+MACRO {rmp} {"Rev. Mod. Phys."}
+
+MACRO {ijmp} {"Int. Jour. Mod. Phys."}
+
+MACRO {mpl} {"Mod. Phys. Lett."}
+
+MACRO {pr} {"Phys. Rev."}
+
+READ
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\providecommand{\href}[2]{#2}"
+ "\begingroup\raggedright\begin{thebibliography}{" * longest.label *
+ "}" * write$ newline$ }
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}\endgroup" write$ newline$
+}
+
+EXECUTE {end.bib}
diff --git a/biblio/bibtex/utils/fixbbl/README b/biblio/bibtex/utils/fixbbl/README
new file mode 100644
index 0000000000..3e7f62da14
--- /dev/null
+++ b/biblio/bibtex/utils/fixbbl/README
@@ -0,0 +1,28 @@
+fixbbl.py
+=========
+
+This is a crude hack to fix a bibtex bug that comes up using
+package url. The bug is that, when the url is "long", it gets split
+into shorter lines by a %. One might expect this % to just eat up the
+newline that follows it and disappear; unfortunately, however, it
+instead appears in the printed document.
+
+This utility strips away the % and rejoins the lines together. It
+should be run on the .bbl file after bibtex generates it and before
+latex uses it. (Yeah, I don't use the stupid mixed capitals. So?)
+
+USAGE:
+ python fixbbl.py paper.bbl
+ Rewrite paper.bbl as follows. Any line ending in % has the %
+ stripped and is joined to the next line. The original file is left
+ in paper.bbl.bak. If a previous .bak file existed, it is overwritten.
+
+ python fixbbl.py
+ Works as a filter on stdin/stdout, if that's what you like.
+
+(NB: if #! works on your system, you probably know that you can leave
+out the 'python' in the above, after chmodding the script.)
+
+Frank Stajano, http://www.uk.research.att.com/~fms/, http://i.am/fms/
+(c) AT&T Laboratories Cambridge
+development started 2000-02-27
diff --git a/biblio/bibtex/utils/fixbbl/fixbbl.py b/biblio/bibtex/utils/fixbbl/fixbbl.py
new file mode 100644
index 0000000000..018387ade6
--- /dev/null
+++ b/biblio/bibtex/utils/fixbbl/fixbbl.py
@@ -0,0 +1,67 @@
+#!/usr/bin/env python
+# $Id: fixbbl.py,v 1.2 2000/02/27 22:57:35 fms Exp fms $
+# by Frank Stajano, http://www.uk.research.att.com/~fms/, http://i.am/fms/
+# (c) AT&T Laboratories Cambridge
+# development started 2000-02-27
+
+""" This is a crude hack to fix a bibtex bug that comes up using
+package url. The bug is that, when the url is "long", it gets split
+into shorter lines by a %. One might expect this % to just eat up the
+newline that follows it and disappear; unfortunately, however, it
+instead appears in the printed document.
+
+This utility strips away the % and rejoins the lines together. It
+should be run on the .bbl file after bibtex generates it and before
+latex uses it. (Yeah, I don't use the stupid mixed capitals. So?)
+
+USAGE:
+ python fixbbl.py paper.bbl
+ Rewrite paper.bbl as follows. Any line ending in % has the %
+ stripped and is joined to the next line. The original file is left
+ in paper.bbl.bak. If a previous .bak file existed, it is overwritten.
+
+ python fixbbl.py
+ Works as a filter on stdin/stdout, if that's what you like.
+
+(NB: if #! works on your system, you probably know that you can leave
+out the 'python' in the above, after chmodding the script.)
+
+"""
+
+# This code, for what it's worth, is released under the same licence
+# as python. (Basically you can do what you like with this file,
+# except suing me.)
+
+import os
+import sys
+
+def main():
+ # boring argument parsing
+ arguments = sys.argv[1:]
+ if len(arguments) == 0:
+ input = sys.stdin
+ output = sys.stdout
+ elif len(arguments) == 1:
+ f = arguments[0]
+ fbak = f + ".bak"
+ if os.path.exists(fbak):
+ os.remove(fbak)
+ os.rename(f, fbak)
+ input = open(fbak)
+ output = open(f, "w")
+ else:
+ print __doc__
+ sys.exit()
+
+ # real work
+ while 1:
+ l = input.readline()
+ if not l:
+ break
+ if len(l) >=2 and l[-2:] == "%\n":
+ output.write(l[:-2])
+ else:
+ output.write(l)
+
+if __name__ == "__main__":
+ main()
diff --git a/biblio/bibtex/utils/hyperbibtex/hyperbibtex098a.sea_hqx b/biblio/bibtex/utils/hyperbibtex/hyperbibtex098a.sea_hqx
new file mode 100644
index 0000000000..96389a2428
--- /dev/null
+++ b/biblio/bibtex/utils/hyperbibtex/hyperbibtex098a.sea_hqx
@@ -0,0 +1,6101 @@
+(This file must be converted with BinHex 4.0)
+
+:%dKjF'9b3QPL9'9B-$NiB5jcC@%!39"36'&eFh3K!!!%,Bi!!%Gq)2p6593K!!F
+!"#f1FNaKG3*Q!*!$&J"6$3dH5(P`CA*#D@*8C9JJ-#ij,MKK)'*XB@jV)(0dB@0
+V!-'X!*!8G0J!N!6rN!469%&,9dP-4!%!S1c0TkS65@!!!"l'!!&mS!!!%F%!!'+
+48#fdC!#3"ZGJ$!$eE(ffXT96MZGdXiAZP8[SYFTAlQB,l3KYIAB,@b585qM!NlR
+CV@cPP+p-6Rr6VNY[IHCj8MNecfApVTG3`KE+&m)*AaMKC"0q*Q(,b3JRcldZ#IG
+E@(66c6CE**a3`XNQP"pKK"1HC-F*@rKLj2K*f'DrcB9eK"1q8(i,lESSApRk!P8
+G@pRh#bGmi@3KYim-&X,*,H3hQ5cN&[),ZB@-&V+XThTjR6%Q--BDhQ5X(PrfciQ
+"f&h4M**)CFhCrN`kQE5-*V+*(FQB0Ck*aAS55`1le9K'6ZcSM@f9[1ilh-e4D8F
+bQKU5XVPSre$+`(TkrAGZfG6C)6!02r4diaG+(hlrlii`BI``BdYIcYTbX9djIbD
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008!!!!P*6CA4R!!!
+#AJ!!rrmS!*!*rrm)!!-Z!*!'rrmS!!0P!*!&![rr1!!$D3#3"3(rra`!1h3!6GP
+i!!$rrbJ!+M%!N!6rN!3!!#UP!*!%!qMrr`!!+V-!N!@!rrm!!#kF!*!&J2rr!!!
+[q3#3"!)!N!-J!$A3!*!%!J%!"b!!0HN!N!8"rrmJ!$Ae!*!&![rr)!!f2J#3"B$
+rr`!!0Q!!N!3%!Irr)!!fF`#3"B,rrb!!0S-!N!@&rrmN!$D6!%hCV!#(rrmJ!$D
+M!*!&K[rr*!!fX`"0f13!J2rr)!!f``#3"B(rrb!!0Y-!N!3$k2rr)!!fi`#3"!3
+"rrmJ!$Em!*!&KIrr*!!hJJ"0f'`!Krrr!!!hf!#3"!2SrrmJ!$JU!*!&K[rr*!!
+i9J"0f5J!J2rr!!!if!#3"EArrb!!16B!N!@#rrm!!$QS!*!'rrmJ!$S'!*!&J2r
+r!!!k%J#3"[rr!!!k-J#3"B$rr`!!1Q8!N!@!rrmJ!$T`!*!&J2rr!!"!DJ#3"[r
+r!!"$e!"0fGJ'F(*[EA"d#-3JFh9QCQPi!@3:
diff --git a/biblio/bibtex/utils/ietfbibs/CHANGELOG.md b/biblio/bibtex/utils/ietfbibs/CHANGELOG.md
new file mode 100644
index 0000000000..c34e792647
--- /dev/null
+++ b/biblio/bibtex/utils/ietfbibs/CHANGELOG.md
@@ -0,0 +1,11 @@
+## [v1.0.0](https://github.com/mor1/ietfbibs/tree/v1.0.0) (2016-06-08)
+[Full Changelog](https://github.com/mor1/ietfbibs/compare/v0.0.1...v1.0.0)
+
++ Update RFC and Internet Draft parsers
++ Provide script harnesses
++ Provide PDF generation via LaTeX
+
+
+## [v1.0.0](https://github.com/mor1/ietfbibs/tree/v0.0.1)
+
+First import to GitHub.
diff --git a/biblio/bibtex/utils/ietfbibs/LICENSE.md b/biblio/bibtex/utils/ietfbibs/LICENSE.md
new file mode 100644
index 0000000000..b32a9b991e
--- /dev/null
+++ b/biblio/bibtex/utils/ietfbibs/LICENSE.md
@@ -0,0 +1,19 @@
+Copyright (c) 2000-2016 Richard Mortier <mort@cantab.net>
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/biblio/bibtex/utils/ietfbibs/Makefile b/biblio/bibtex/utils/ietfbibs/Makefile
new file mode 100644
index 0000000000..c6f7b0b561
--- /dev/null
+++ b/biblio/bibtex/utils/ietfbibs/Makefile
@@ -0,0 +1,20 @@
+.PHONY = all clean
+
+LATEX = latexmk -xelatex
+
+all: rfcs.pdf ids.pdf
+
+clean:
+ $(LATEX) -C
+ $(RM) rfcs.bib rfcs.bbl rfcs.run.xml
+ $(RM) ids.bib ids.bbl ids.run.xml
+ $(RM) -r auto
+
+rfcs.bib:
+ ./rfc2bib >| rfcs.bib
+
+ids.bib:
+ ./id2bib >| ids.bib
+
+%.pdf: %.tex %.bib
+ $(LATEX) $*
diff --git a/biblio/bibtex/utils/ietfbibs/README.md b/biblio/bibtex/utils/ietfbibs/README.md
new file mode 100644
index 0000000000..16780407d0
--- /dev/null
+++ b/biblio/bibtex/utils/ietfbibs/README.md
@@ -0,0 +1,9 @@
+IETF BibTeX Creation
+====================
+
+This project is licensed under the MIT license.
+
+These are some [gawk](https://www.gnu.org/software/gawk/) scripts for processing
+various IETF index files to produce BibTeX. As regex based parsers they're quite
+brittle and rely on consistent formatting of the input. Also included are some
+shell scripts to drive them.
diff --git a/biblio/bibtex/utils/ietfbibs/id2bib b/biblio/bibtex/utils/ietfbibs/id2bib
new file mode 100755
index 0000000000..56e017897d
--- /dev/null
+++ b/biblio/bibtex/utils/ietfbibs/id2bib
@@ -0,0 +1,30 @@
+#!/bin/sh
+#
+# Copyright (c) 2000-2016 Richard Mortier <mort@cantab.net>
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to deal
+# in the Software without restriction, including without limitation the rights
+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+# copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in all
+# copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+# SOFTWARE.
+
+INDEX=id-abstract.txt
+DIR=$(mktemp -d 2>/dev/null || mktemp -d -t 'id2bib')
+
+curl http://www.ietf.org/download/$INDEX >| $DIR/$INDEX
+gawk -f id2bib.awk -- $DIR/$INDEX
+
+rm $DIR/$INDEX
+rmdir $DIR
diff --git a/biblio/bibtex/utils/ietfbibs/id2bib.awk b/biblio/bibtex/utils/ietfbibs/id2bib.awk
new file mode 100644
index 0000000000..9a999611d0
--- /dev/null
+++ b/biblio/bibtex/utils/ietfbibs/id2bib.awk
@@ -0,0 +1,96 @@
+# Copyright(c) 2000-2016 Richard Mortier <mort@cantab.net>
+# Copyright(c) 2010 Paul Jakma <paul@jakma.org>
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to deal
+# in the Software without restriction, including without limitation the rights
+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+# copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in all
+# copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+# SOFTWARE.
+
+BEGIN {
+ FS="[\"<>]";
+ RS="(\n[A-Za-z0-9].*\n[^ ]+\n)* \"";
+
+ # banner
+ printf("% This file auto-generated from id-index.txt by id2bib.awk\n");
+ printf("% by Richard Mortier <mort@cantab.net>.\n");
+ printf("%\n");
+ printf("% Date: %s\n", strftime());
+ printf("\n");
+ printf("@string{ietf=\"{IETF}\"}\n\n");
+}
+
+function get_authors(field, i, first) {
+ first = 1;
+ authors = "";
+
+ for (i = field; i <= NF; i++) {
+ if (length($i) == 0) continue;
+ if ($i ~ /[0-9]{1,2}[-/][[:alpha:]]{3}[-/][0-9]{2}/)
+ break;
+ if ($i ~ /(19|20)[0-9]{2}-[0-9]{2}-[0-9]{2}/)
+ break;
+
+ if (first) first = 0;
+ else authors = authors " and ";
+ authors = authors $i;
+ }
+ return i;
+}
+
+NF > 1 {
+ # guard '$', '_', '#' from BibTeX/LaTeX in all fields
+ gsub(/\$/, "\\$", $0 ); # ");
+ gsub(/_/, "\\_", $0 ); # ");
+ gsub(/#/, "\\" "#", $0 ); # ");
+
+ for (i = 1; i <= NF; i++) {
+ gsub(/[ \n\t]+/, " ", $i);
+ sub(/^[ ]+/,"",$i);
+ }
+
+ title = gensub(/([A-Z])/, "{\\1}", "g", $1);
+ idstr = $3;
+ abstract = $4;
+
+ authors = "";
+ n=split($2, authors_date, ",");
+ for (i=0; i<n-1; i++)
+ {
+ a = authors_date[i];
+ gsub(/[ \n\t]+/, " ", a);
+ sub(/^[ ]+/, "", a);
+
+ if(a == "") continue;
+ else if(authors == "") authors = a
+ else authors = authors " and " a;
+ }
+ date = authors_date[n-1];
+ split(date, ymd, "-");
+ year = ymd[1];
+ month = ymd[2];
+ day = ymd[3];
+
+ printf("@Misc{id:%s,\n", idstr) ;
+ printf(" author = {%s},\n", authors) ;
+ printf(" title = {%s},\n", title) ;
+ printf(" howpublished = {Internet Draft},\n") ;
+ printf(" month = %s,\n", month) ;
+ printf(" year = %s,\n", year) ;
+ printf(" note = {%s},\n", "<" idstr ".txt>") ;
+ printf(" abstract = {%s},\n", abstract) ;
+ printf(" url = {{http://tools.ietf.org/html/%s}},\n", idstr);
+ printf("}\n\n") ;
+}
diff --git a/biblio/bibtex/utils/ietfbibs/ids.tex b/biblio/bibtex/utils/ietfbibs/ids.tex
new file mode 100644
index 0000000000..32b25731d3
--- /dev/null
+++ b/biblio/bibtex/utils/ietfbibs/ids.tex
@@ -0,0 +1,16 @@
+\documentclass{book}
+
+\usepackage{showkeys}
+\usepackage[
+ backend=biber,
+ natbib=true,
+ style=numeric,
+ sorting=none
+ ]{biblatex}
+
+\bibliography{ids}
+
+\begin{document}
+\nocite{*}
+\printbibliography
+\end{document}
diff --git a/biblio/bibtex/utils/ietfbibs/rfc2bib b/biblio/bibtex/utils/ietfbibs/rfc2bib
new file mode 100755
index 0000000000..7404463445
--- /dev/null
+++ b/biblio/bibtex/utils/ietfbibs/rfc2bib
@@ -0,0 +1,30 @@
+#!/bin/sh
+#
+# Copyright (c) 2000-2016 Richard Mortier <mort@cantab.net>
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to deal
+# in the Software without restriction, including without limitation the rights
+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+# copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in all
+# copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+# SOFTWARE.
+
+INDEX=rfc-index.txt
+DIR=$(mktemp -d 2>/dev/null || mktemp -d -t 'rfc2bib')
+
+curl -Ss http://www.ietf.org/download/$INDEX >| $DIR/$INDEX
+gawk -f rfc2bib.awk -- $DIR/$INDEX
+
+rm $DIR/$INDEX
+rmdir $DIR
diff --git a/biblio/bibtex/utils/ietfbibs/rfc2bib.awk b/biblio/bibtex/utils/ietfbibs/rfc2bib.awk
new file mode 100644
index 0000000000..093788a018
--- /dev/null
+++ b/biblio/bibtex/utils/ietfbibs/rfc2bib.awk
@@ -0,0 +1,117 @@
+# Copyright(c) 2000-2016 Richard Mortier <mort@cantab.net>
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files(the "Software"), to deal
+# in the Software without restriction, including without limitation the rights
+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+# copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in all
+# copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+# SOFTWARE.
+
+BEGIN {
+ FS="[.] "; RS="\n\n";
+
+ printf("% This file auto-generated from rfc-index.txt by rfc2bib.awk\n");
+ printf("% by Richard Mortier <mort@cantab.net>.\n");
+ printf("%\n");
+ printf("% Date: %s\n", strftime());
+ printf("\n");
+ printf("@string{ietf=\"{IETF}\"}\n\n");
+}
+
+/^[0-9][0-9][0-9][0-9] Not Issued./ {
+ number = substr($1, 0, 4);
+ gsub(/^0+/, "", number);
+
+ printf("@TechReport{rfc:%s,\n", number);
+ printf(" key = {RFC%s},\n", number);
+ printf(" author = {N/A},\n");
+ printf(" title = {{Not Issued}},\n");
+ printf(" institution = ietf,\n");
+ printf(" type = {{RFC}},\n");
+ printf(" year = {N/A},\n");
+ printf("}\n\n");
+ next;
+}
+
+/^[0-9][0-9][0-9][0-9] /{
+ gsub(/[\n]/, "", $0);
+ gsub(/[ ]+/, " ", $0);
+
+ # guard '$', '_', '#' from BibTeX/LaTeX in all fields
+ gsub(/\$/, "\\$", $0 ); # ");
+ gsub(/_/, "\\_", $0 ); # ");
+ gsub(/#/, "\\" "#", $0 ); # ");
+
+ number = substr($1, 0, 4);
+ gsub(/^0+/, "", number);
+ printf("@TechReport{rfc:%s,\n", number);
+ printf(" key = {RFC%s},\n", number);
+
+ # authors are all the fields "in the middle"; can be separated by
+ # commas or ampersands
+ authors = $2;
+ for(i=3; i < NF-1; i++)
+ {
+ if(length( $(i) ) > 1)
+ {
+ authors =( authors ".~" $(i) );
+ }
+ else
+ {
+ authors =( authors "." $(i) );
+ }
+ }
+ gsub(/,| &/, " and", authors);
+ gsub(/^ /, "", authors);
+ if(length(authors) == 0)
+ {
+ authors = "author list not available";
+ }
+ printf(" author = {%s},\n", authors );
+
+ # guard capitals and '&' in the title
+ tmp = substr($1, 6);
+ title = gensub(/([A-Z])/, "{\\1}", "g", tmp);
+ gsub(/&/, "\\" "\\&", title ); # ");
+ gsub(/ - /, " -- ", title ); # ");
+ printf(" title = {%s},\n", title);
+
+ # just let the institution be the IETF for now
+ printf(" institution = ietf,\n");
+
+ y_fld = $(NF-1);
+ y_pos = length(y_fld) - 3;
+ year = substr(y_fld, y_pos, 4);
+ if(length(year) == 0)
+ {
+ year = "{year not available}";
+ }
+ printf(" year = %s,\n", year);
+
+ printf(" type = {RFC},\n");
+ printf(" number = %s,\n", number);
+
+ # early RFCs: mmm-dd-yyyy; later RFCs: month yyyy
+ m_fld = $(NF-1);
+ gsub(/-| |\n|[0-9]/, "", m_fld);
+ month = substr(tolower(m_fld), 0, 3);
+ if(length(month) == 0)
+ {
+ month = "{month not available}";
+ }
+ printf(" month = %s,\n", month);
+
+ printf(" annote = {%s},\n", $NF);
+ printf("}\n\n");
+}
diff --git a/biblio/bibtex/utils/ietfbibs/rfcs.tex b/biblio/bibtex/utils/ietfbibs/rfcs.tex
new file mode 100644
index 0000000000..6878b612ba
--- /dev/null
+++ b/biblio/bibtex/utils/ietfbibs/rfcs.tex
@@ -0,0 +1,16 @@
+\documentclass{book}
+
+\usepackage{showkeys}
+\usepackage[
+ backend=biber,
+ natbib=true,
+ style=numeric,
+ sorting=none
+ ]{biblatex}
+
+\bibliography{rfcs}
+
+\begin{document}
+\nocite{*}
+\printbibliography
+\end{document}
diff --git a/biblio/bibtex/utils/isi2bibtex/README b/biblio/bibtex/utils/isi2bibtex/README
new file mode 100644
index 0000000000..61ca6bf3bd
--- /dev/null
+++ b/biblio/bibtex/utils/isi2bibtex/README
@@ -0,0 +1,77 @@
+isi2bibtex 0.40
+----------------
+
+Isi2bibtex converts an ISI (Institute for Scientific Information)
+bibliographic database file to a BibTeX file for use in TeX and LaTeX
+documents. Both formats hold bibliographic data on scientific and other
+academic documents.
+
+(In the UK, the ISI databases are commonly known as 'BIDS' or 'MIMAS WoS')
+
+See man page for detailed instructions.
+
+Installation:
+--------------
+
+ If you don't have Perl installed, it can be got (free) from
+ http://www.perl.com/ . LaTeX, BibTeX and everything else TeX can
+ be downloaded from http://www.CTAN.org/ .
+
+ Unix
+
+ set the first line of the script to point to your copy of perl
+ (eg. /usr/bin/perl or /usr/local/bin/perl)
+
+ make it executable (eg. chmod +x ./isi2bibtex)
+
+ put it somewhere your OS can find it (eg ~/bin or /usr/local/bin):
+ you may need to change your PATH environment variable
+
+ if you want, put the configuration file (isi2bibtexrc) in your home
+ directory (rename it as ~/.isi2bibtexrc first)
+
+ put the manpage (isi2bibtex.1) somewhere where man will find it
+ (eg. /usr/local/share/man/man1/), or just use the html or text
+ copies instead
+
+ Microsoft Windows
+
+ [Note: apparently some newer windows systems do not have a DOS shell
+ by default. If you find you don't have a shell, you will probably
+ have to install one - there are several free ones available.]
+
+ change the name of the script to isi2bibtex.pl (you'll have to use
+ it as
+ isi2bibtex.pl [OPTIONS] inputfile.txt [outputfile.bib]
+ rather than
+ isi2bibtex [OPTIONS] inputfile.txt [outputfile.bib]
+ because the windows DOS shell doesn't know about the #! line)
+
+ put it in your Perl bin directory, eg C:\Perl\bin (obviously if
+ you don't have perl installed, you need to do that first: see
+ below)
+
+ if that doesn't work check the PATH environment variable
+ contains your perl bin directory, and as a last resort try
+
+ perl C:\Perl\bin\isi2bibtex.pl inputfile.txt
+
+ if you want, put the configuration file (isi2bibtexrc) somewhere
+ and change the @CONFIG variable in the script to point to that
+ file.
+
+ Other platforms
+
+ I have no idea, but it should work on any platform that runs
+ Perl 5, perhaps with a few small modifications. Isi2bibtex has
+ been tested on Windows (95 and NT) and Unix. Please send me any
+ portability changes.
+
+
+COPYRIGHT
+ Copyright (C) 2000 Jonathan Swinton, Ben Bolker, Anthony Stone,
+ John J. Lee
+
+ Isi2bibtex is covered by the GPL -- see the script for details.
+
+ Send bug reports to <jjl@pobox.com>.
diff --git a/biblio/bibtex/utils/isi2bibtex/isi2bibtex b/biblio/bibtex/utils/isi2bibtex/isi2bibtex
new file mode 100644
index 0000000000..fc357cb7f8
--- /dev/null
+++ b/biblio/bibtex/utils/isi2bibtex/isi2bibtex
@@ -0,0 +1,1325 @@
+#!/usr/local/bin/perl -w
+
+# last modified 25 October 2000
+
+=pod
+
+=head1 NAME
+
+isi2bibtex - convert ISI database files to BibTeX format
+
+=cut
+
+# COPYRIGHT INFORMATION
+
+# isi2bibtex version 0.40
+# ISI SCI to BibTeX database format converter
+# Copyright (C) 2000 Jonathan Swinton, Ben Bolker, Anthony Stone, John J. Lee
+
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the Free
+# Software Foundation; either version 2 of the License, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+# more details.
+
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place, Suite 330, Boston, MA 02111-1307 US
+
+# The maintainer of this program, John J. Lee, may be reached by email at
+# phrxy@csv.warwick.ac.uk
+
+# A copy of the GNU General Public License is available from, for example,
+# http://www.eff.org/
+
+=head1 SYNOPSIS
+
+B<isi2bibtex> [B<OPTIONS>] B<inputfile> [B<outputfile>]
+
+If no output file is specified, inputfile.bib is used.
+
+Records are appended if the output file exists.
+
+=head1 DESCRIPTION
+
+Isi2bibtex converts an ISI (Institute for Scientific Information)
+bibliographic database file to a BibTeX file for use in TeX and LaTeX
+documents. Both formats hold bibliographic data on scientific and other
+academic documents.
+
+(In the UK, the ISI databases are commonly known as 'BIDS' or 'MIMAS WoS')
+
+Another way to do the same job isi2bibtex does is with bp, which has the
+advantage of converting between many different bibliographic formats and
+character sets. If you don't want that, isi2bibtex understands BIDS standard
+format in addition to the others, and is stand-alone and so presumably easier
+to get working.
+
+=head2 Options
+
+B<-h>, B<--help> display help and exit
+
+B<-v>, B<--version> display version information and exit
+
+B<-q>, B<--quiet> no informational output
+
+B<-a>, B<--abstract> include abstract in output file
+
+B<-c>, B<--check> make some checks on field contents (default)
+
+B<-n>, B<--nocheck> don't make checks on field contents
+
+=head2 Input databases
+
+Although isi2bibtex was written for SCI (Science Citation Index), all the ISI
+databases should work (SCI, SSCI, A&HCI, ISTP). Isi2bibtex will probably make
+a bad job of editing the content of these other databases, and would have to
+be changed a bit (not difficult), but you may be lucky.
+
+In the UK, probably most of the other databases on BIDS should work either
+straight away or with a small amount of modification of the script. BIDS
+Pascal for instance works with downloading format, and would work with a small
+amount of modification with standard format.
+
+=head2 Input formats
+
+If you use a web interface to ISI, isi2bibtex will only convert text output
+(whether emailed or saved directly), not saved web pages or other bibliography
+formats such as Procite or Reference Manager. Specifically, the formats that
+are understood are:
+
+ISI generic output format version 1.0:
+
+I presume this is the format used in most of the world.
+In the UK, this is output by MIMAS WoS 'save records' or 'email records'.
+
+BIDS standard format:
+
+(any of: Title only; Title, authors & journal; Full record excluding
+citations; Full record)
+
+BIDS downloading format:
+
+(any of: Title, authors & journal in downloading format; Full record in
+downloading format)
+
+
+You can mix and match record formats in one file. Deleting fields and / or
+record numbers from records should be okay. Any fields may be present in any
+order. Don't change the indentation of records: isi2bibtex will ignore
+records if they're too different from the usual layout due to ambiguity of
+field labels and field contents.
+
+=head2 Output fields
+
+For ISI generic format (eg MIMAS WoS output) and BIDS downloading format,
+fields other than title (TI), author (AU), source ie journal (SO), page range
+(BP, EP), year (PY) and abstract (AB) are ignored.
+
+For standard BIDS format, fields other than Title (TI:), author (AU:), journal
+(JN:) and abstract (AB:) are ignored (the JN: field contains the page numbers,
+volume, date, etc as well as the journal name).
+
+At the moment isi2bibtex only outputs the more useful fields, but this may
+change in the future (when someone gets round to it). Which fields are output
+can be controlled with a configuration file (see below). Those that don't
+correspond to the standard BibTeX fields (such as abstract) won't be
+recognised by BibTeX by default, but they'll be there if you need to use them.
+
+=head2 Output formatting
+
+Output is tidied up as much as possible, but some editing is still required.
+
+Output formatting defaults can be modified with a configuration file.
+/etc/isi2bibtexrc and ~/.isi2bibtexrc (or whatever you set in the @CONFIG
+variable in the script) are looked at in that order for configuration
+settings, with the latter overriding the former. See the example
+configuration file provided.
+
+If they are switched on, things like journal title abbreviations and acronym
+capitalisations can be added and removed at the end of the script (very easy
+to do by looking at what's there already). Newer ISI entries have lower case
+as well as upper, and isi2bibtex always leaves the capitalization as-is for
+those records.
+
+=cut
+
+# TODO
+
+# add field include configs (hash) (check which are standard BibTeX fields)
+
+# check record is an article, (DT: field in BIDS), and allow records for
+# books, proceedings, etc.
+
+# add a properly unique but not very human readable key option, for relatively
+# big databases
+
+# warn of duplicate keys
+
+# Rewrite to detect format of record first, then convert it, rather than
+# guessing each field. Would make it easy to add BIDS Pascal format etc.
+
+=head1 DOESN'T WORK?
+
+Remember to:
+
+=head2 Unix
+
+set the first line of this script to point to your copy of perl
+(eg. /usr/bin/perl or /usr/local/bin/perl)
+
+make it executable (eg. chmod +x ./isi2bibtex)
+
+put it somewhere your OS can find it (eg ~/bin or /usr/local/bin): you may
+need to change your PATH environment variable
+
+=head2 Microsoft Windows
+
+change the name of this script to isi2bibtex.pl (you'll have to use it as
+
+isi2bibtex.pl [OPTIONS] inputfile.txt outputfile.bib
+
+rather than
+
+isi2bibtex [OPTIONS] inputfile.txt outputfile.bib
+
+because the windows DOS shell doesn't know about the #! line)
+
+put it in your Perl bin directory, eg C:\Perl\bin (obviously if you don't have
+perl installed, you need to do that first: see below)
+
+if that doesn't work check the PATH environment variable contains your perl
+bin directory, and as a last resort try
+
+ perl C:\Perl\bin\isi2bibtex.pl inputfile.txt
+
+=head2 Other platforms
+
+I have no idea, but it should work on any platform that runs Perl 5, perhaps
+with a few small modifications. Isi2bibtex has been tested on Windows (95 and
+NT) and Unix. Please send me any portability changes.
+
+Email <jjl@pobox.com> if it still doesn't work.
+
+=head1 KNOWN PROBLEMS
+
+It only does articles, not books, proceedings etc, and won't notice if a
+record isn't an article.
+
+It ignores some fields (mostly those that don't correspond to the standard
+BibTeX 'article' fields).
+
+ISI access providers' output other than BIDS and MIMAS WOS haven't been
+tested. Send me an output file and I'll make it work with that format (for
+SCI).
+
+Please tell me about any bugs you find, at <jjl@pobox.com>.
+
+=head1 SEE ALSO
+
+If you don't have Perl installed, it can be got (free) from
+http://www.perl.com/ . LaTeX, BibTeX and everything else TeX can be
+downloaded from http://www.CTAN.org/ .
+
+bp converts between many bibliography database formats (including
+conversion from BIDS downloading and ISI generic formats to BibTeX), and
+many character sets.
+
+Ben Bolker (author of the BIDS / MIMAS WOS specification for bp) has a
+page describing his modifications to bp:
+
+http://www.zoo.ufl.edu/bolker/bp.html
+
+Dana Jacobsen (author of bp) has a web page with lots of bibliography
+software information and details of his bp package:
+
+http://www.ecst.csuchico.edu/~jacobsd/bib/index.html
+
+
+Some other BibTeX utilities that may or may not be useful (these are just
+the ones I've got round to looking at):
+
+bibclean checks and formats BibTeX databases
+
+bibsort sorts BibTeX databases
+
+bib2dvi converts BibTeX databases to DVI files (DVI files are output by
+LaTeX and are DeVice Independent typeset documents, a bit like postscript
+or pdf -- you can read them on most computer systems)
+
+bibextract, citefind and citetags respectively extract BibTeX records from a
+BibTeX database, extract LaTeX references from a LaTeX document, and look up
+LaTeX references in a BibTeX database.
+
+bibindex makes an index for fast lookup by biblook, if you have a huge
+database that needs it I suppose
+
+BibTool is an all-singing all-dancing general purpose BibTeX management
+utility
+
+bibview is a simple interactive searching utility for BibTeX files
+
+findbib gets BibTeX records corresponding to references in a LaTeX file from a
+preprint server (don't know if it still works)
+
+both refer2bibtex and r2bib convert refer files (whatever they are) to BibTeX
+files
+
+tkbibtex is a graphical tool for editing and searching BibTeX databases
+
+Text::BibTeX is a Perl module for doing things to BibTeX databases.
+
+=head1 COPYRIGHT
+
+Copyright (C) 2000 Jonathan Swinton, Ben Bolker, Anthony Stone, John J. Lee
+
+Isi2bibtex replaces and is derived from bids.to.bibtex (as of 29 Jan 1998) and
+isi2bib 0.1.
+
+bids.to.bibtex was based on a perl script written by Jonathan Swinton, and
+subsequently modified by Ben Bolker and Anthony Stone.
+
+isi2bib 0.1 was written by John J. Lee <jjl@pobox.com>
+
+This script is covered by the GPL. See the script for copyright information.
+
+=head1 FILES
+
+/etc/isi2bibtexrc, ~/.isi2bibtexrc (or whatever you set in the @CONFIG
+variable) are looked at in that order for default configuration settings,
+with the latter overriding the former. See the example configuration file
+provided.
+
+=head1 VERSION
+
+0.40
+
+=cut
+
+# HISTORY
+#
+# 0.3 first released version
+# 0.31 oops forgot to change version number, was labelled as 0.3
+# mostly bug fixes
+# 0.32 mostly bug fixes, slightly better formatting
+# name changed to isi2bibtex from isi2bib because the bp converter
+# for ISI is also called isi2bib
+# 0.33 bugfix: now insists on indentation of input file being standard due
+# to ambiguity otherwise (misinterpretation of field contents as
+# field label)
+# 0.40 added configuration file and some command line switches; worked around
+# ISI SCI database sometimes having missing JI field; some error checking
+# for missing fields; bug fixes
+# 0.41 change of email address; tiny bug fixes
+
+use Getopt::Long;
+use Config;
+use FileHandle;
+use Text::Wrap;
+
+$VERSION = 0.40;
+$SCRIPT = 'isi2bibtex';
+if ($Config{'osname'} !~ /win|mac/i) {
+ @CONFIG = (glob("~/.isi2bibtexrc"),);
+} else {
+# put your configuration file name in quotes inside the brackets below:
+ @CONFIG = ();
+}
+
+
+# Default options to alter output formatting
+# -------------------------------------------
+
+#************************************
+# NOTE: USE THE CONFIG FILE INSTEAD!
+#************************************
+
+# can't 'use constant' as it isn't installed everywhere
+$AUTHORKEY = 1; # use key for record generated from author's
+ # names and publication date rather than key
+ # from input file and line number
+$HEADER = 1; # attach header information to output file
+ # If you leave several email header sections
+ # (or other non-record text) in the file,
+ # header() will run several times.
+# case is only ever guessed for fields that are all in upper case:
+$TITLECASE = 1; # guess case of title
+$AUTHORCASE = 1; # " authors
+$FORMULACASE = 0; # " chemical formulas
+ # and crystal planes (badly)
+$JOURNALCASE = 1; # " journal
+$SPECIAL = 1; # do some special case cases
+$JABBREV = 1; # do some journal abbreviations
+
+# MIMAS WOS only option
+$ISOTITLE = 1; # Use the ISO abbreviated title field (JI)
+ # instead of SO, the full title.
+ # If JI is missing, this will use J9 instead.
+ # If you set this to 0 and use SO, the script
+ # will abbreviate according to journalabbrev()
+ # if $JABBREV is set.
+
+# fields to include
+$AUTHOR = 1;
+$TITLE = 1;
+$JOURNAL = 1;
+$YEAR = 1;
+$VOLUME = 1;
+$PAGES = 1;
+$ABSTRACT = 0;
+
+# NOT DONE YET:
+#$ISSUE = 0;
+#$MONTH = 0;
+#$ADDRESS = 0;
+#$REFERENCES = 0;
+#$DOCTYPE = 0;
+
+$LINELENGTH = 78;
+$INDENT = " "x8;
+$INDENTX = " "x2; # field indenting strings, like so:
+#@ARTICLE{bidstest64,
+# author = {Braun, J. and Bishop, G. G. and Ermakov, A. V. and
+# Goncharova, L. V. and Hinch, B. J.},
+# title = {Adsorption of pf3 on cu(001): ordered overlayer
+# ...
+# note the spaces before the author field ($INDENT) plus the extra
+# spaces before the next line ($INDENTX)
+$INDENT2 = $INDENT.$INDENTX; # alternative to setting $INDENTX
+# following are for lining up your equals signs and / or '{'s.
+$INDENTB = " "x4; # indent before padding of field name
+$INDENTA = "= "; # " after "
+
+$ADASHES = 2; # join up long words that have been split at the end
+ # of the line in abstract
+ # 0: leave as-is
+ # 1: cut space
+ # 2: remove the dash as well
+ # note this won't have an effect unless $ABSFORMAT
+ # is set to 1
+$TDASHES = 2; # same as $ADASHES for title
+
+$ABSFORMAT = 1; # if unset, leave the abstract exactly as-is, and
+ # don't try to reformat it to fit your line length
+ # - this is useful because there are no blank
+ # lines to mark paragraph breaks in ISI format so
+ # isi2bibtex can only guess where they are
+$ABSPARAS = 1; # guess paragraphs in abstract when reformatting
+$PARAGAP = 10; # how many spaces at end of line after end of
+ # sentence before guessing this is a para end.
+
+# abstract indentation (only when $ABSFORMAT = 0)
+$ABSLENGTH = 63; # abstract field line length in the ISI database
+$FORLUCK = 5;
+$ABSINDENT = ' 'x($LINELENGTH - $ABSLENGTH - $FORLUCK);
+
+$CHECK = 1;
+$QUIET = 0;
+$USAGE = 'Usage: '.$SCRIPT.($Config{'osname'} =~ /win/i ? '.pl' : '' ).
+ " [OPTIONS] inputfile [outputfile]\n".
+ "isi2bibtex - convert ISI database files to BibTeX format\n\n".
+ "OPTIONS:\n".
+ " -h, --help\t\tdisplay this help and exit\n".
+ " -v, --version\t\tdisplay version number and exit\n".
+ " -q, --quiet\t\tno informational output\n".
+ " -a, --abstract\tinclude abstract in output file\n".
+ " -c, --check\t\tmake some checks on field contents (default)\n".
+ " -n, --nocheck\t\tdon't make any checks on field contents\n\n".
+# " -, --\n".
+ "Try `perldoc isi2bibtex' or 'man isi2bibtex' for more information.\n\n".
+ 'Report bugs to <phrxy@csv.warwick.ac.uk>.'."\n";
+
+#************************************
+# NOTE: USE THE CONFIG FILE INSTEAD!
+#************************************
+
+# End of options to alter output formatting
+# -----------------------------------------
+
+# You probably don't need to worry about what's below this point, other
+# than the lists of acronyms, abbreviations, etc. near the end of the
+# script.
+
+sub qwarn ($) {
+ $warning = shift;
+ warn $warning if not $QUIET;
+}
+
+for $config_file (@CONFIG) {
+ read_config($config_file);
+}
+
+Getopt::Long::config('bundling', 'auto_abbrev');
+@option_spec = (
+ "version|v",
+ "help|h",
+ "quiet|q",
+ "abstract|a",
+ "check|c!",
+);
+GetOptions(\%options, @option_spec) or exit;
+#for (@option_spec) {
+# s/\|.*//;
+# if (not defined($options{$_})) {
+# $options{$_} = '';
+# }
+#}
+
+if ($options{'version'}) {
+ print STDERR "$SCRIPT version $VERSION\n\n".
+ "Copyright (C) 2000 Jonathan Swinton, Ben Bolker, Anthony Stone, ".
+ "John J. Lee\n".
+
+ "This is free software; see the source for copying conditions. There ".
+ "is NO\nwarranty; not even for MERCHANTABILITY or FITNESS FOR A ".
+ "PARTICULAR PURPOSE.\n";
+ exit;
+}
+if ($options{'help'}) {
+ print STDERR $USAGE;
+ exit;
+}
+
+if (defined $options{'abstract'}) {
+ $ABSTRACT = ($options{'abstract'} ? 1 : 0);
+}
+if (defined $options{'quiet'}) {
+ $QUIET = ($options{'quiet'} ? 1 : 0);
+}
+if (defined $options{'check'}) {
+ $CHECK = ($options{'check'} ? 1 : 0);
+}
+
+$date = gen_date('long', 0);
+
+$Text::Wrap::columns = $LINELENGTH;
+
+$line = ""; # current line of field data
+# actually, bad name: this ends up with a whole field in it
+# $_ is current line as usual
+
+# BIDS format field identifiers
+%name = (
+ 'TI'=>'title',
+ 'AU'=>'author',
+ 'NA'=>'address',
+ 'JN'=>'journal',
+ 'PY'=>'year',
+ 'VO'=>'volume',
+ 'NO'=>'issue',
+ 'PG'=>'pages',
+ 'AB'=>'abstract',
+ 'KP'=>'keywords'
+ #'CR'=>'', 'RF'=>'', 'PA'=>'' # don't know, don't care
+);
+
+# The journal field includes volume, issue, pages and year in BIDS
+# standard format.
+
+# Following are the MIMAS WOS format field identifiers, which claims to be
+# ISI Generic Export Format version 1.0 at the moment.
+# Most are ignored by this script.
+# Can't believe anybody would wan't to use all of these, but here they are
+# anyway
+
+%mname = (
+# 'FN'=>'filetype', # File type
+# 'VR'=>'version', # File format version number
+# 'PT'=>'pubtype', # Publication type
+ # (eg. book, journal, book in series)
+ 'AU'=>'author',
+ 'TI'=>'title', # Article title
+ 'SO'=>'sourcetitle', # eg. journal title, in full
+# 'LA'=>'language',
+# 'DT'=>'doctype', # eg. review, book, article
+# 'NR'=>'refcount',
+# 'SN'=>'ISSN',
+# 'PU'=>'publisher',
+# 'C1'=>'addresses', # Research addresses (of all authors)
+# 'DE'=>'authkeywords', # Author keywords
+# 'ID'=>'keywordsplus', # KeyWords Plus
+ 'AB'=>'abstract',
+# 'CR'=>'citedrefs',
+# 'TC'=>'citetimes', # Times cited
+ 'BP'=>'1stpage',
+ 'EP'=>'lastpage',
+# 'PG'=>'pagecount',
+ 'JI'=>'abbrtitle', # ISO source title abbr.
+# 'SE'=>'seriestitle', # Book series title
+# 'BS'=>'seriessub', # Book series subtitle
+ 'PY'=>'year', # Publication year
+# 'PD'=>'pubdate', # Publication date eg. JUN 8
+ 'VL'=>'volume',
+# 'IS'=>'issue',
+# 'PN'=>'partno', # Part number
+# 'SU'=>'supplement',
+# 'SI'=>'special', # Special issue
+# 'GA'=>'ISIno', # ISI document delivery number
+# 'PI'=>'pubcity', # Publisher city
+# 'WP'=>'pubURL', # Publisher web address
+# 'RP'=>'reprintaddr', # Reprint address
+# 'CP'=>'patent', # Cited patent
+ 'J9'=>'titleabbr', # 29-character source title abbr.
+# 'PA'=>'pubaddr', # Publisher address
+# 'ER'=>'endrecord',
+);
+
+# hash to store fields and also to remember where we are
+@record{'header', 'separator', 'key', 'title', 'author',
+ 'journal', 'isojournal', 'j9journal',
+ 'volume', 'year', 'issue', 'pages', 'keywords',
+ 'abstract', 'other'} = ('')x14;
+
+for (keys %record) { $record{$_} = '' }
+
+# count of records in total and under the last header
+@recordcount{'total', 'header'} = (0, 0);
+$field = 'header';
+$std = 0; # BIDS standard format flag
+$mimas = 0; # MIMAS WOS flag
+
+$temp = ''; # general purpose temp string
+$fileout = ''; # output filename
+$filein = ''; # input filename
+
+
+# If there's only one argument, "file", read that in and output
+# "file.bib". If there's two arguments, read in first as input, and
+# output to the second:
+
+if ($#ARGV == 1) { $fileout = $ARGV[1] }
+elsif ($#ARGV == 0) { $fileout = join ("",$ARGV[0],'.bib') }
+else { die $USAGE }
+$filein = $ARGV[0];
+$temp = '>';
+if (-e $fileout) {
+ qwarn "isi2bibtex: file $fileout exists: appending records\n" if
+ not $QUIET;
+ $temp = '>>';
+}
+
+open(IPTBIDS, $filein)
+ or die "isi2bibtex: couldn't open $filein for input: $!\n";
+open(OPTBIB, $temp.$fileout)
+ or die "isi2bibtex: couldn't open $fileout for output: $!\n";
+print STDERR
+ "isi2bibtex: converting BIDS file $filein to BibTeX output ".
+ "$fileout...\n" if not $QUIET;
+
+# read BIDS file and convert it
+convert();
+
+# output BibTeX file
+print OPTBIB $output;
+close OPTBIB;
+
+# end of main program
+
+
+sub convert {
+# input loop for ISI/BIDS file
+my $temp = '';
+
+while (<IPTBIDS>) {
+ chomp;
+ if (/^\s*Record - / or /^\s*$/) { # match ISI format record
+ if (/^\s*$/ and $field eq 'header') {
+ # we're still in the header,
+ # and we want to keep this blank line
+ # so don't match yet
+ }
+ else {
+ end_field() if $field eq 'header';
+ if ($field ne 'separator') {
+ end_record() if $field ne 'header';
+ $field = 'separator';
+ }
+ else {
+ # twiddle thumbs - in record separator
+ }
+ next;
+ }
+ }
+ elsif
+ (/(?: {6}|\(\d\) |\(\d\d\) |\(\d\d\d\) )([A-Z]{2}): (.*)/) {
+ # match BIDS standard format field
+ if (!$std and $field ne 'separator' and $field ne
+ 'header') {
+ # not a standard format record, don't match here
+ }
+ else {
+ end_field();
+ $std = 1;
+ $line = $2;
+ $temp = $1;
+ for ($line) {
+ s/^\s+//;
+ s/\s+$//;
+ }
+ if (defined($name{$temp})) {
+ $field = $name{$temp};
+ }
+ else {
+ $field = 'other';
+ }
+ next;
+ }
+ }
+ elsif
+ (/^([A-Z]{2})- /) { # match BIDS downloading format field
+ end_field();
+ $temp = $1;
+ if (defined($name{$temp})) {
+ $field = $name{$temp};
+ $line = strip($_); # extract data
+ }
+ else {
+ $field = 'other';
+ }
+ next;
+ }
+ elsif
+ (/^((?:[A-Z]{2})|J9) /) { # match MIMAS WOS format field
+ end_field();
+ $mimas = 1;
+ $temp = $1;
+ if (defined($mname{$temp})) {
+ $field = $mname{$temp};
+ $line = strip($_); # extract data
+ mimas(); # map to output fields
+ }
+ else {
+ $field = 'other';
+ }
+ next;
+ }
+ else { # match mid-field line
+# for multiline headers eg Subject: line split over two lines
+ /^\s/ ? ($singleline = 0) : ($singleline = 1);
+# cut whitespace
+ s/^\s+//;
+ s/\s+$//;
+# if we're not in a record and we didn't recognise it, it's a header
+ if ($field eq 'separator' and $_ ne '') {
+ $field = 'header';
+ next;
+ }
+# keep header exactly as it is (other than leading and trailing space)
+# - and the abstract as well if required
+ elsif ($field eq 'header') {
+ if ($singleline) {
+ $line = join("\n", $line, $_);
+ } else {
+ $line = join(" ", $line, $_);
+ }
+ }
+# make MIMAS author format look like BIDS downloading format
+ elsif ($field eq 'author' and $mimas) {
+ $line = join(';', $line, $_);
+ }
+ elsif ($field eq 'title') {
+ $line = join(' ', $line, $_)
+ unless title_dashes();
+ }
+ elsif ($field eq 'abstract') {
+ $line = join("\n".$ABSINDENT, $line, $_);
+ }
+# join everything else with a space
+ else { $line = join(' ', $line, $_) }
+ }
+}
+}
+
+sub title_dashes {
+# cut dashes from title if required
+# abstract dashes are dealt with in abstract() - kludge
+ if ( ($line =~ /\b-$/) and ($TDASHES and $field eq 'title') ) {
+ if ($TDASHES == 2) { $line =~ s/\b-$// }
+ $line = join('', $line, $_);
+ }
+}
+
+sub mimas {
+# map MIMAS fields onto output fields
+# first page should be put in page field
+ if ($field eq '1stpage') { $field = 'pages' }
+# last page no. should be appended to first
+ if ($field eq 'lastpage') {
+ $field = 'pages';
+ $line = $record{'pages'}.'-'.$line;
+ };
+# remember all forms of journal title, decide in end_record() which to use
+ if ($field eq 'sourcetitle') { # full journal title
+ $field = 'journal';
+ }
+ if ($field eq 'abbrtitle') { # ISO abbr
+ $field = 'isojournal';
+ }
+ if ($field eq 'titleabbr') { # other abbr
+ $field = 'j9journal';
+ }
+}
+
+sub strip {
+# get field data out of first line of BIDS downloading / ISI format field
+ my ($string) = $_[0];
+ for ($string) {
+# chop off initial field identifier and whitespace
+ s/^\s*(?:(?:[A-Z]{2})|(?:J9))-?\s*//;
+# chop off trailing whitespace
+ s/\s+$//;
+ }
+ $string;
+}
+
+sub end_field {
+# stuff to do at end of each field
+
+# put the field we have built up in the appropriate part of %record
+ for ($line) {
+ s/^\s+//;
+ s/\s+$//;
+ }
+ $record{$field} = $line;
+ $line = '';
+ if ($field eq 'header') {
+ header() if $HEADER;
+ $recordcount{'header'} = 0;
+ }
+}
+
+sub end_record {
+# stuff to do at end of each record
+# reached end of record, so must have just reached end of the last field
+ end_field();
+ $recordcount{'total'}++;
+ $recordcount{'header'}++;
+# do some editing
+# substitute one of the other journal title fields if ISO abbr missing
+ if ($mimas and $ISOTITLE) {
+ if ($record{'isojournal'} ne '') {
+ $record{'journal'} = $record{'isojournal'};
+ } elsif ($record{'j9journal'} ne '') {
+ $record{'journal'} = $record{'j9journal'};
+ }
+ }
+ makejournal();
+ makeauthor();
+# more editing and output record to file
+ key();
+ author() if $AUTHOR;
+ title() if $TITLE;
+ journal() if $JOURNAL;
+ year() if $YEAR;
+ volume() if $VOLUME;
+ pages() if $PAGES;
+ abstract() if $ABSTRACT;
+ terminator();
+
+# reinitialize variables
+ $field = 'separator';
+ for (keys %record) { $record{$_} = '' }
+ $std = 0;
+ $mimas = 0;
+}
+
+sub makekey {
+# generate unique-ish key for BibTeX to refer to record by
+
+ if ($AUTHORKEY) {
+# make unique-ish key out of first surname + first letter of subsequent
+# authors names, followed by last two digits of year
+# names already in key field from makeauthor()
+ $record{'key'} =~ s/\s*//g;
+# append last two digits of year to flag
+ $record{'key'} .= substr($record{'year'}, -2);
+ $record{'key'} =~ s/ //g;
+ }
+ else {
+# make unique-ish key out of input filename (minus extension) with the
+# current source file line number appended
+# this is probably more likely to be unique than author key, but less
+# intelligible
+ $record{'key'} = $fileout;
+ $record{'key'} =~ s/\.bib//;
+ $record{'key'} .= $.;
+ }
+}
+
+sub check_field($) {
+# check field for sense
+ my $field = shift;
+ my $warn = '';
+ return 1 if not $CHECK;
+ if ($field eq 'pages') {
+ if ($record{$field} !~
+ /^[A-Z]?[ \d]{0,5}-?[A-Z]?[ \\&\d]{1,5}(?:\s*\(\d{1,3}\s+pages?\))?$/) {
+ $warn = "$SCRIPT: warning: missing or unusual page number at ";
+ $warn .= "line ${.}, record $recordcount{'total'}\n";
+ qwarn $warn;
+ return 0;
+ } else { return 1 }
+ }
+ @check_ignore{'abstract', 'year', 'volume'} = (1)x3;
+ return 1 if $check_ignore{$field};
+ if ($record{$field} =~ /(?:^\s*$)|(?:^.{0,2}$)/) {
+ $warn = "$SCRIPT: warning: missing or very short $field field at ";
+ $warn .= "line ${.}, record $recordcount{'total'}\n";
+ qwarn $warn;
+ return 0;
+ }
+ return 1;
+}
+
+sub makeauthor {
+# convert author field to BibTeX format
+ my ($author,$surname,$firstnames,$authsep,$namesep);
+ my @authors;
+
+# set author and name separators for appropriate format
+ if (! $std) {
+ $authsep = q/;/;
+ $namesep = q/, /;
+ }
+ elsif ($std) {
+ $authsep = q/, /;
+ $namesep = q/_/;
+ }
+ @authors = split(/$authsep/, $record{'author'});
+ $record{'key'} = '';
+ foreach $author (@authors) {
+ ($surname, $firstnames) = split(/$namesep/, $author);
+ if ( not (defined($surname) and defined($firstnames)) ) {
+ qwarn "$SCRIPT: badly formed author field at line $.\n";
+ $surname = $author;
+ $firstnames = 'unknown';
+ }
+ for ($firstnames) {
+ s/(\w)/$1. /g; # add full stops to initials
+ s/^\s+//; # cut whitespace
+ s/\s+$//; # "
+ }
+ if ($AUTHORCASE and ($record{'author'} !~ /[a-z]/)) {
+ $surname = initupper($surname); # capitalise
+ $surname =~ s/^(Mac|Mc|O')([a-z])/$1\u$2/;
+ # special cases
+ }
+ $author = "$surname, $firstnames";
+# get surname of first author, and first letter of other authors' surnames
+ if ($record{'key'} eq '') { $record{'key'} = $surname }
+ else { $record{'key' } .= substr($surname,0,1); }
+ }
+ $record{'author'} = join (' and ', @authors);
+ makekey(); # make BibTeX unique record key
+}
+
+sub makejournal {
+# convert journal field to BibTeX format
+ if ($std) {
+# separate out BibTeX fields from the BIDS journal field
+ $record{'journal'} =~
+ /(.*),\s*(\d{4}),\s*Vol\.\s*(.+?),.*p{1,2}\.\s*(.*)/;
+ $record{'journal'} = $1;
+ $record{'year'} = $2;
+ $record{'volume'} = $3;
+ $record{'pages'} = $4;
+ for (keys %record) {
+ $record{$_} = '' unless defined($record{$_});
+ }
+ }
+# set the case for the journal if it's all in upper caps
+ if ($JOURNALCASE and ($record{'journal'} !~ /[a-z]/)) {
+ $record{'journal'} = initupper($record{'journal'});
+ }
+ $record{'journal'} = journalabbrev($record{'journal'})
+ if ($JABBREV and ! ($ISOTITLE and $mimas));
+}
+
+sub key {
+# output record key
+ my $fld = "\@ARTICLE";
+ check_field('key');
+ $output .= pastewrap("{$record{'key'}", "", $fld, $INDENT2);
+}
+
+sub author {
+# output author field
+ my $fld = $INDENT.'author'.$INDENTB.' '.$INDENTA;
+ $record{'author'} = texsafety($record{'author'});
+ check_field('author');
+ $output .= ",\n".pastewrap("{$record{'author'}}",
+ "", $fld, $INDENT2);
+}
+
+sub title {
+ my $fld = $INDENT.'title'.$INDENTB.' '.$INDENTA;
+# set the case for the title if it's all in upper caps
+ if ($TITLECASE and ($record{'title'} !~ /[a-z]/)) {
+ $record{'title'} = firstupper($record{'title'});
+ $record{'title'} = formulas($record{'title'}) if $FORMULACASE;
+ $record{'title'} = special($record{'title'}) if $SPECIAL;
+ }
+ $record{'title'} = texsafety($record{'title'});
+ check_field('title');
+ $output .= ",\n".pastewrap("{$record{'title'}}",
+ "", $fld, $INDENT2);
+}
+
+sub journal {
+# output journal field to file
+ my $fld = $INDENT.'journal'.$INDENTB.' '.$INDENTA;
+ $record{'journal'} = texsafety($record{'journal'});
+ check_field('journal');
+ $output .= ",\n".pastewrap("{$record{'journal'}}",
+ "", $fld, $INDENT2);
+}
+
+sub year {
+# output year field to file
+ my $fld = $INDENT.'year'.$INDENTB.' '.$INDENTA;
+ $record{'year'} = texsafety($record{'year'});
+ check_field('year');
+ $output .= ",\n".pastewrap("{$record{'year'}}",
+ "", $fld, $INDENT2);
+}
+
+sub volume {
+# output volume field to file
+ my $fld = $INDENT.'volume'.$INDENTB.' '.$INDENTA;
+ $record{'volume'} = texsafety($record{'volume'});
+ check_field('volume');
+ $output .= ",\n".pastewrap("{$record{'volume'}}",
+ "", $fld, $INDENT2);
+}
+
+sub pages {
+# output pages field to file
+ my $fld = $INDENT.'pages'.$INDENTB.' '.$INDENTA;
+ $record{'pages'} = texsafety($record{'pages'});
+ check_field('pages');
+ $output .= ",\n".pastewrap("{$record{'pages'}}", "",
+ $fld, $INDENT2);
+}
+
+sub abstract {
+# output abstract field to file
+ my $fld = $INDENT.'abstract'.$INDENTB.''.$INDENTA;
+ my $abs = '';
+ $record{'abstract'} = texsafety($record{'abstract'});
+ if ($ABSFORMAT) {
+ $record{'abstract'} =~ s/^\s+//mg; # unindent
+# stick abstract together, guessing paragraph positions if required
+ for (split(/\n/, $record{'abstract'})) {
+ s/^\s+//;
+ s/\s+$//;
+ if (
+ /[.?!]$/
+ and length() < ($ABSLENGTH - $PARAGAP)
+ and $ABSPARAS
+ )
+ { $abs .= $_."\n" }
+ else
+ { $abs .= $_.' ' }
+ }
+ $abs =~ s/ $//; # cut off final space
+ $abs = ",\n".wrap($fld, $INDENT2, '{'.$abs.'}');
+ for ($abs) {
+ s/\b- \b/-/ if ($ADASHES == 1);
+ s/\b- \b// if ($ADASHES == 2);
+ }
+ }
+ else {
+ if ($record{'abstract'} eq '') {
+ $abs = ",\n".$fld."{}";
+ }
+ else {
+ $abs = ",\n".$fld."{\n";
+ $abs .= $ABSINDENT.$record{'abstract'}."}";
+ }
+ }
+ check_field('abstract');
+ $output .= $abs;
+}
+
+sub terminator {
+# add record terminator to file
+ $output .= "\n}\n\n";
+}
+
+sub header {
+# add informational header to BibTeX output file
+# modify this to insert whatever comments are helpful to you
+# see flags at top of script to turn header off
+ my $temp;
+
+ $temp = "This file was automatically generated from entries from the ISI\n"
+ ."(Institute for Scientific Information) databases of scientific and\n"
+ ."other academic documents, using isi2bibtex version $VERSION, a perl\n"
+ ."script which converts ISI or BIDS format files to BibTeX format files\n"
+ ."for inclusion in documents typeset using the LaTeX document processor.";
+ $output .= pastewrap($temp)."\n\n";
+
+ $temp = "Try perldoc isi2bibtex for instructions, or read the script.";
+ $output .= pastewrap($temp)."\n\n";
+
+# output the whole header
+#$output .= $record{'header'}."\n\n";
+
+# get subject line from header
+ $temp = "This file generated on $date, from file '$filein', which has ".(
+ ($record{'header'} =~ /Subject:\s*(.*)/)
+ ? "the subject line '$1'."
+ : "no subject line. "
+ );
+ $output .= pastewrap($temp)."\n\n";
+}
+
+sub initupper {
+ my $string = $_[0];
+# capitalise initial letter of every word, lower-case the rest
+ $string =~ s/(\w+)/\u\L$1/g;
+# if you have words like "don't" in your references, try this
+# (pinched from the perlfaq):
+# $string =~ s/ (
+# (^\w+) # at the beginning of the line
+# | # or
+# (\s\w+) # preceded by whitespace
+# )
+# /\u\L$1/xg;
+# $string =~ /([\w']+)/\u\L$1/g;
+ $string;
+}
+
+sub firstupper {
+ my $string = $_[0];
+# capitalise initial letter of every sentence, lower-case the rest
+ $string =~ s/\b(\w)(.*)/\U$1\E\L$2/;
+ $string =~ s/([.?!]\s+)(\l\w)/$1\u$2/g;
+ $string;
+}
+
+sub lowercase {
+ my $string = $_[0];
+# decapitalise everything
+ $string =~ s/(.*)/\L$1/;
+ $string;
+}
+
+sub lowertrivial {
+ my $string = $_[0];
+# decapitalise short words
+ for ($string) {
+# s/\bA\b/a/g; # causes trouble eg. Phys. Rev. A
+ s/\bAn\b/an/g;
+ s/\bAnd\b/and/g;
+ s/\bThe\b/the/g;
+ s/\bOf\b/of/g;
+ s/\bTo\b/to/g;
+ s/\bFrom\b/from/g;
+ s/\bIn\b/in/g;
+ s/\bWith\b/with/g;
+ }
+ $string;
+}
+
+sub journalabbrev {
+ my $journal = $_[0];
+# substitute journal abbreviations
+# for MIMAS you can just use the pre-abbreviated title field (see options
+# at top of script)
+# obviously, put stuff in here that makes sense for you
+ for ($journal) {
+ s/\bjournal\b/J./gi;
+ s/\b(chemical|chemistry)\b/Chem./gi;
+ s/\b(physics|physical)\b/Phys./gi;
+ s/\bsociety\b/Soc./gi;
+ s/\bcommunications\b/Comm./gi;
+ s/\btransactions\b/Trans./gi;
+ s/\breviews\b/Rev./gi;
+ s/-chemical\b/ Chem./gi;
+ s/-faraday\b/ Faraday/gi;
+ s/\bdiscussions\b/Disc./gi;
+ s/\bamerican\b/Amer./gi;
+ s/\bapplied\b/Appl./gi;
+ s/\bresearch\b/Res./gi;
+ s/\bcrystallograph[a-z]+\b/Crystallog./gi;
+ s/\bletters\b/Lett./gi;
+ s/\b(surface|surfaces)\b/Surf./gi;
+ s/\b(science|sciences)\b/Sci./gi;
+ s/^Sci\.$/Science/;
+ s/\bphilosoph\l\w+\b/Philos./gi;
+ s/\bengineer\l\w+\b/Engin./gi;
+ s/\bphenomena\b/Phenom./gi;
+ s/\bspectroscop\l\w+\b/Spectrosc./gi;
+ s/\bproceedings\b/Proc./gi;
+ s/\bnational\b/Nat./gi;
+ s/\bacademy\b/Acad./gi;
+ s/\broyal\b/Roy./gi;
+ s/\bopinion\b/Opin./gi;
+ s/\b(material|materials)\b/Mater./gi;
+ s/\bcondensed\b/Cond./gi;
+ s/\bmolec\l\w+\b/Mol./gi;
+ s/\bstructur\l\w+\b/Struct./gi;
+ s/\bmatter\b/Matt./gi;
+ s/\binternational\b/Int./gi;
+ s/\bbulletin\b/Bull./gi;
+ s/\bannual\b/Ann./gi;
+ s/\bcatalysis\b/Catal./gi;
+ s/\breview\b/Rev./gi;
+ s/\btechnolog\l\w+\b/Technol./gi;
+ s/\bprogress\b/Prog./gi;
+ s/\bscientific\b/Sci./gi;
+ s/\binstrument\l\w+\b/Instrum./gi;
+ s/\bvacuum\b/Vac./gi;
+ s/^Vac\.$/Vacuum/;
+
+# you may or may not want to remove these words from journal titles
+# s/\ba\b//g;
+# s/\ban\b//gi;
+# s/\band\b//gi;
+ s/\bthe\b//gi;
+ s/\bof\b//gi;
+# s/\bto\b//gi;
+# s/\bfrom\b//gi;
+# s/\bin\b//gi;
+# s/\bwith\b//gi;
+
+ $journal = lowertrivial($journal);
+
+ s/\s+/ /g;
+ }
+ $journal
+}
+
+sub special {
+ my $string = $_[0];
+# set case of some special words
+
+# put your own words here
+# note that the upper-case replacement is enclosed in braces so that BibTeX
+# doesn't put it back into lower-case
+ for ($string) {
+ s/\bscf\b/{SCF}/g;
+ s/\bmc(-*)scf\b/{MC$1SCF}/g;
+ s/\bci\b/{CI}/g;
+ s/\b([0-9]-[0-9]+)g\b/{$1G}/g;
+ s/\bdna\b/{DNA}/g;
+ s/\bvanderwaals\b/{Van} der {Waals}/g;
+ s/\bmoller-plesset\b/{M}{\\o}ller--{Plesset}/g;
+# s/\b\b/{}/g;
+ }
+ $string;
+}
+
+sub formulas {
+ my $string = $_[0];
+# attempt to set case of chemical formulas
+ $string =~ s/(\b\l[a-z]+[1-9]+[a-z0-9]+\b)/{\U$1}/gi;
+# attempt to set crystal planes eg Al(111)
+ $string =~ s/\b(\l[a-z]{1,2}\(\d\d\d\))/{\u$1}/gi;
+ $string;
+}
+
+sub texsafety {
+ my $string = $_[0];
+# escape TeX special characters
+# ie. replace % and & with \% and \&.
+ $string =~ s:\&:\\&:g;
+ $string =~ s:\%:\\%:g;
+ $string;
+}
+
+sub pastewrap {
+ my @strings = @_;
+# paste together lines separated by newlines then wrap text
+# parameters: string, final string, initial tab, tab
+ for ($strings[0]) {
+ s/^\s+//;
+ s/\s+$//;
+ s/\n/ /mg;
+ }
+ foreach $i (1,2,3)
+ { if (! defined $strings[$i]) { $strings[$i] = '' } };
+ $strings[0] .= $strings[1]; # add final newlines or whatever
+ wrap($strings[2], $strings[3], $strings[0]);
+}
+
+sub gen_date ($$) {
+# generate current date string
+# 1st parameter is format:
+# 'long': Monday 23rd December 2000
+# 'short': 2000-12-23
+# 2nd parameter is time flag
+ my ($format, $time) = @_;
+ my ($day_name, $month_name);
+ my @td = localtime(time);
+ my ($min, $hour, $day, $month, $year, $weekday) = @td[1..6];
+ $year += 1900;
+ if ($time) { $time = "${hour}:${min}" }
+ if ($day == 1) { $ord = 'st' }
+ elsif ($day == 2) { $ord = 'nd' }
+ elsif ($day == 3) { $ord = 'rd' }
+ else { $ord = 'th' }
+ $day_name = (
+ Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
+ )[$weekday];
+ $month_name = (
+ January, February, March, April, May, June, July, August, September,
+ October, November, December
+ )[$month];
+ $year = $td[5] + 1900;
+ if ($format eq 'long') {
+ $date = "$day_name $day$ord $month_name $year";
+ } elsif ($format eq 'short') {
+ $date = "${year}-${month}-${day}";
+ }
+ if ($time) { $date .= $time };
+ $date;
+}
+
+sub read_config ($) {
+ my $file = shift;
+# read configuration file
+ return if not ($fh = new FileHandle($file));
+ while(<$fh>) {
+ next if /^#/;
+ next if /^\s*$/;
+ SWITCH: {
+ /^\s*authorkey\s*=\s*(.*)\s*$/ and $AUTHORKEY = $1, last;
+ /^\s*header\s*=\s*(.*)\s*$/ and $HEADER = $1, last;
+ /^\s*titlecase\s*=\s*(.*)\s*$/ and $TITLECASE = $1, last;
+ /^\s*authorcase\s*=\s*(.*)\s*$/ and $AUTHORCASE = $1, last;
+ /^\s*journalcase\s*=\s*(.*)\s*$/ and $JOURNALCASE = $1, last;
+ /^\s*specialcase\s*=\s*(.*)\s*$/ and $SPECIAL = $1, last;
+ /^\s*formulacase\s*=\s*(.*)\s*$/ and $FORMULACASE = $1, last;
+ /^\s*jabbrev\s*=\s*(.*)\s*$/ and $JABBREV = $1, last;
+ /^\s*isotitle\s*=\s*(.*)\s*$/ and $ISOTITLE = $1, last;
+ /^\s*author\s*=\s*(.*)\s*$/ and $AUTHOR = $1, last;
+ /^\s*title\s*=\s*(.*)\s*$/ and $TITLE = $1, last;
+ /^\s*journal\s*=\s*(.*)\s*$/ and $JOURNAL = $1, last;
+ /^\s*year\s*=\s*(.*)\s*$/ and $YEAR = $1, last;
+ /^\s*volume\s*=\s*(.*)\s*$/ and $VOLUME = $1, last;
+ /^\s*pages\s*=\s*(.*)\s*$/ and $PAGES = $1, last;
+ /^\s*abstract\s*=\s*(.*)\s*$/ and $ABSTRACT = $1, last;
+ /^\s*linelength\s*=\s*(.*)\s*$/ and $LINELENGTH = $1, last;
+ /^\s*indent\s*=\s*"(.*)"\s*$/ and $INDENT = $1, last;
+ /^\s*indentx\s*=\s*"(.*)"\s*$/ and $INDENTX = $1, last;
+ /^\s*indentb\s*=\s*"(.*)"\s*$/ and $INDENTB = $1, last;
+ /^\s*indenta\s*=\s*"(.*)"\s*$/ and $INDENTA = $1, last;
+ /^\s*adashes\s*=\s*(.*)\s*$/ and $ADASHES = $1, last;
+ /^\s*tdashes\s*=\s*(.*)\s*$/ and $TDASHES = $1, last;
+ /^\s*absformat\s*=\s*(.*)\s*$/ and $ABSFORMAT = $1, last;
+ /^\s*absparas\s*=\s*(.*)\s*$/ and $ABSPARAS = $1, last;
+ /^\s*paragap\s*=\s*(.*)\s*$/ and $PARAGAP = $1, last;
+ /^\s*abslength\s*=\s*(.*)\s*$/ and $ABSLENGTH = $1, last;
+ /^\s*quiet\s*=\s*(.*)\s*$/ and $QUIET = $1, last;
+ /^\s*check\s*=\s*(.*)\s*$/ and $CHECK = $1, last;
+# /^\s*\s*=\s*(.*)\s*$/ and $ = $1, last;
+ die "$SCRIPT: syntax error in config file at line $.\n";
+ }
+ }
+}
diff --git a/biblio/bibtex/utils/isi2bibtex/isi2bibtex.1 b/biblio/bibtex/utils/isi2bibtex/isi2bibtex.1
new file mode 100644
index 0000000000..5cc617ec3f
--- /dev/null
+++ b/biblio/bibtex/utils/isi2bibtex/isi2bibtex.1
@@ -0,0 +1,443 @@
+.rn '' }`
+''' $RCSfile$$Revision$$Date$
+'''
+''' $Log$
+'''
+.de Sh
+.br
+.if t .Sp
+.ne 5
+.PP
+\fB\\$1\fR
+.PP
+..
+.de Sp
+.if t .sp .5v
+.if n .sp
+..
+.de Ip
+.br
+.ie \\n(.$>=3 .ne \\$3
+.el .ne 3
+.IP "\\$1" \\$2
+..
+.de Vb
+.ft CW
+.nf
+.ne \\$1
+..
+.de Ve
+.ft R
+
+.fi
+..
+'''
+'''
+''' Set up \*(-- to give an unbreakable dash;
+''' string Tr holds user defined translation string.
+''' Bell System Logo is used as a dummy character.
+'''
+.tr \(*W-|\(bv\*(Tr
+.ie n \{\
+.ds -- \(*W-
+.ds PI pi
+.if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
+.if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
+.ds L" ""
+.ds R" ""
+''' \*(M", \*(S", \*(N" and \*(T" are the equivalent of
+''' \*(L" and \*(R", except that they are used on ".xx" lines,
+''' such as .IP and .SH, which do another additional levels of
+''' double-quote interpretation
+.ds M" """
+.ds S" """
+.ds N" """""
+.ds T" """""
+.ds L' '
+.ds R' '
+.ds M' '
+.ds S' '
+.ds N' '
+.ds T' '
+'br\}
+.el\{\
+.ds -- \(em\|
+.tr \*(Tr
+.ds L" ``
+.ds R" ''
+.ds M" ``
+.ds S" ''
+.ds N" ``
+.ds T" ''
+.ds L' `
+.ds R' '
+.ds M' `
+.ds S' '
+.ds N' `
+.ds T' '
+.ds PI \(*p
+'br\}
+.\" If the F register is turned on, we'll generate
+.\" index entries out stderr for the following things:
+.\" TH Title
+.\" SH Header
+.\" Sh Subsection
+.\" Ip Item
+.\" X<> Xref (embedded
+.\" Of course, you have to process the output yourself
+.\" in some meaninful fashion.
+.if \nF \{
+.de IX
+.tm Index:\\$1\t\\n%\t"\\$2"
+..
+.nr % 0
+.rr F
+.\}
+.TH ISI2BIBTEX 1 "perl 5.005, patch 03" "26/Oct/2000" "User Contributed Perl Documentation"
+.UC
+.if n .hy 0
+.if n .na
+.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
+.de CQ \" put $1 in typewriter font
+.ft CW
+'if n "\c
+'if t \\&\\$1\c
+'if n \\&\\$1\c
+'if n \&"
+\\&\\$2 \\$3 \\$4 \\$5 \\$6 \\$7
+'.ft R
+..
+.\" @(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2
+. \" AM - accent mark definitions
+.bd B 3
+. \" fudge factors for nroff and troff
+.if n \{\
+. ds #H 0
+. ds #V .8m
+. ds #F .3m
+. ds #[ \f1
+. ds #] \fP
+.\}
+.if t \{\
+. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
+. ds #V .6m
+. ds #F 0
+. ds #[ \&
+. ds #] \&
+.\}
+. \" simple accents for nroff and troff
+.if n \{\
+. ds ' \&
+. ds ` \&
+. ds ^ \&
+. ds , \&
+. ds ~ ~
+. ds ? ?
+. ds ! !
+. ds /
+. ds q
+.\}
+.if t \{\
+. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
+. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
+. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
+. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
+. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
+. ds ? \s-2c\h'-\w'c'u*7/10'\u\h'\*(#H'\zi\d\s+2\h'\w'c'u*8/10'
+. ds ! \s-2\(or\s+2\h'-\w'\(or'u'\v'-.8m'.\v'.8m'
+. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
+. ds q o\h'-\w'o'u*8/10'\s-4\v'.4m'\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low resolution devices (crt and lpr)
+.if \n(.H>23 .if \n(.V>19 \
+\{\
+. ds : e
+. ds 8 ss
+. ds v \h'-1'\o'\(aa\(ga'
+. ds _ \h'-1'^
+. ds . \h'-1'.
+. ds 3 3
+. ds o a
+. ds d- d\h'-1'\(ga
+. ds D- D\h'-1'\(hy
+. ds th \o'bp'
+. ds Th \o'LP'
+. ds ae ae
+. ds Ae AE
+. ds oe oe
+. ds Oe OE
+.\}
+.rm #[ #] #H #V #F C
+.SH "NAME"
+isi2bibtex \- convert ISI database files to BibTeX format
+.SH "SYNOPSIS"
+\fBisi2bibtex\fR [\fBOPTIONS\fR] \fBinputfile\fR [\fBoutputfile\fR]
+.PP
+If no output file is specified, inputfile.bib is used.
+.PP
+Records are appended if the output file exists.
+.SH "DESCRIPTION"
+Isi2bibtex converts an ISI (Institute for Scientific Information)
+bibliographic database file to a BibTeX file for use in TeX and LaTeX
+documents. Both formats hold bibliographic data on scientific and other
+academic documents.
+.PP
+(In the UK, the ISI databases are commonly known as \*(L'BIDS\*(R' or \*(L'MIMAS WoS')
+.PP
+Another way to do the same job isi2bibtex does is with bp, which has the
+advantage of converting between many different bibliographic formats and
+character sets. If you don't want that, isi2bibtex understands BIDS standard
+format in addition to the others, and is stand-alone and so presumably easier
+to get working.
+.Sh "Options"
+\fB\-h\fR, \fB--help\fR display help and exit
+.PP
+\fB\-v\fR, \fB--version\fR display version information and exit
+.PP
+\fB\-q\fR, \fB--quiet\fR no informational output
+.PP
+\fB\-a\fR, \fB--abstract\fR include abstract in output file
+.PP
+\fB\-c\fR, \fB--check\fR make some checks on field contents (default)
+.PP
+\fB\-n\fR, \fB--nocheck\fR don't make checks on field contents
+.Sh "Input databases"
+Although isi2bibtex was written for \s-1SCI\s0 (Science Citation Index), all the \s-1ISI\s0
+databases should work (\s-1SCI\s0, \s-1SSCI\s0, A&\s-1HCI\s0, \s-1ISTP\s0). Isi2bibtex will probably make
+a bad job of editing the content of these other databases, and would have to
+be changed a bit (not difficult), but you may be lucky.
+.PP
+In the \s-1UK\s0, probably most of the other databases on \s-1BIDS\s0 should work either
+straight away or with a small amount of modification of the script. \s-1BIDS\s0
+Pascal for instance works with downloading format, and would work with a small
+amount of modification with standard format.
+.Sh "Input formats"
+If you use a web interface to \s-1ISI\s0, isi2bibtex will only convert text output
+(whether emailed or saved directly), not saved web pages or other bibliography
+formats such as Procite or Reference Manager. Specifically, the formats that
+are understood are:
+.PP
+\s-1ISI\s0 generic output format version 1.0:
+.PP
+I presume this is the format used in most of the world.
+In the \s-1UK\s0, this is output by \s-1MIMAS\s0 WoS \*(L'save records\*(R' or \*(L'email records\*(R'.
+.PP
+\s-1BIDS\s0 standard format:
+.PP
+(any of: Title only; Title, authors & journal; Full record excluding
+citations; Full record)
+.PP
+\s-1BIDS\s0 downloading format:
+.PP
+(any of: Title, authors & journal in downloading format; Full record in
+downloading format)
+.PP
+You can mix and match record formats in one file. Deleting fields and / or
+record numbers from records should be okay. Any fields may be present in any
+order. Don't change the indentation of records: isi2bibtex will ignore
+records if they're too different from the usual layout due to ambiguity of
+field labels and field contents.
+.Sh "Output fields"
+For \s-1ISI\s0 generic format (eg \s-1MIMAS\s0 WoS output) and \s-1BIDS\s0 downloading format,
+fields other than title (\s-1TI\s0), author (\s-1AU\s0), source ie journal (\s-1SO\s0), page range
+(\s-1BP\s0, \s-1EP\s0), year (\s-1PY\s0) and abstract (\s-1AB\s0) are ignored.
+.PP
+For standard \s-1BIDS\s0 format, fields other than Title (\s-1TI\s0:), author (\s-1AU\s0:), journal
+(\s-1JN\s0:) and abstract (\s-1AB\s0:) are ignored (the \s-1JN\s0: field contains the page numbers,
+volume, date, etc as well as the journal name).
+.PP
+At the moment isi2bibtex only outputs the more useful fields, but this may
+change in the future (when someone gets round to it). Which fields are output
+can be controlled with a configuration file (see below). Those that don't
+correspond to the standard BibTeX fields (such as abstract) won't be
+recognised by BibTeX by default, but they'll be there if you need to use them.
+.Sh "Output formatting"
+Output is tidied up as much as possible, but some editing is still required.
+.PP
+Output formatting defaults can be modified with a configuration file.
+/etc/isi2bibtexrc and ~/.isi2bibtexrc (or whatever you set in the \f(CW@CONFIG\fR
+variable in the script) are looked at in that order for configuration
+settings, with the latter overriding the former. See the example
+configuration file provided.
+.PP
+If they are switched on, things like journal title abbreviations and acronym
+capitalisations can be added and removed at the end of the script (very easy
+to do by looking at what's there already). Newer \s-1ISI\s0 entries have lower case
+as well as upper, and isi2bibtex always leaves the capitalization as-is for
+those records.
+.SH "DOESN'T WORK?"
+Remember to:
+.Sh "Unix"
+set the first line of this script to point to your copy of perl
+(eg. /usr/bin/perl or /usr/local/bin/perl)
+.PP
+make it executable (eg. chmod +x ./isi2bibtex)
+.PP
+put it somewhere your \s-1OS\s0 can find it (eg ~/bin or /usr/local/bin): you may
+need to change your \s-1PATH\s0 environment variable
+.Sh "Microsoft Windows"
+change the name of this script to isi2bibtex.pl (you'll have to use it as
+.PP
+isi2bibtex.pl [\s-1OPTIONS\s0] inputfile.txt outputfile.bib
+.PP
+rather than
+.PP
+isi2bibtex [\s-1OPTIONS\s0] inputfile.txt outputfile.bib
+.PP
+because the windows \s-1DOS\s0 shell doesn't know about the #! line)
+.PP
+put it in your Perl bin directory, eg C:\ePerl\ebin (obviously if you don't have
+perl installed, you need to do that first: see below)
+.PP
+if that doesn't work check the \s-1PATH\s0 environment variable contains your perl
+bin directory, and as a last resort try
+.PP
+.Vb 1
+\& perl C:\ePerl\ebin\eisi2bibtex.pl inputfile.txt
+.Ve
+.Sh "Other platforms"
+I have no idea, but it should work on any platform that runs Perl 5, perhaps
+with a few small modifications. Isi2bibtex has been tested on Windows (95 and
+\s-1NT\s0) and Unix. Please send me any portability changes.
+.PP
+Email <jjl@pobox.com> if it still doesn't work.
+.SH "KNOWN PROBLEMS"
+It only does articles, not books, proceedings etc, and won't notice if a
+record isn't an article.
+.PP
+It ignores some fields (mostly those that don't correspond to the standard
+BibTeX \*(L'article\*(R' fields).
+.PP
+ISI access providers\*(R' output other than BIDS and MIMAS WOS haven't been
+tested. Send me an output file and I'll make it work with that format (for
+SCI).
+.PP
+Please tell me about any bugs you find, at <jjl@pobox.com>.
+.SH "SEE ALSO"
+If you don't have Perl installed, it can be got (free) from
+http://www.perl.com/ . LaTeX, BibTeX and everything else TeX can be
+downloaded from http://www.CTAN.org/ .
+.PP
+bp converts between many bibliography database formats (including
+conversion from BIDS downloading and ISI generic formats to BibTeX), and
+many character sets.
+.PP
+Ben Bolker (author of the BIDS / MIMAS WOS specification for bp) has a
+page describing his modifications to bp:
+.PP
+http://www.zoo.ufl.edu/bolker/bp.html
+.PP
+Dana Jacobsen (author of bp) has a web page with lots of bibliography
+software information and details of his bp package:
+.PP
+http://www.ecst.csuchico.edu/~jacobsd/bib/index.html
+.PP
+Some other BibTeX utilities that may or may not be useful (these are just
+the ones I've got round to looking at):
+.PP
+bibclean checks and formats BibTeX databases
+.PP
+bibsort sorts BibTeX databases
+.PP
+bib2dvi converts BibTeX databases to DVI files (DVI files are output by
+LaTeX and are DeVice Independent typeset documents, a bit like postscript
+or pdf -- you can read them on most computer systems)
+.PP
+bibextract, citefind and citetags respectively extract BibTeX records from a
+BibTeX database, extract LaTeX references from a LaTeX document, and look up
+LaTeX references in a BibTeX database.
+.PP
+bibindex makes an index for fast lookup by biblook, if you have a huge
+database that needs it I suppose
+.PP
+BibTool is an all-singing all-dancing general purpose BibTeX management
+utility
+.PP
+bibview is a simple interactive searching utility for BibTeX files
+.PP
+findbib gets BibTeX records corresponding to references in a LaTeX file from a
+preprint server (don't know if it still works)
+.PP
+both refer2bibtex and r2bib convert refer files (whatever they are) to BibTeX
+files
+.PP
+tkbibtex is a graphical tool for editing and searching BibTeX databases
+.PP
+Text::BibTeX is a Perl module for doing things to BibTeX databases.
+.SH "COPYRIGHT"
+Copyright (C) 2000 Jonathan Swinton, Ben Bolker, Anthony Stone, John J. Lee
+.PP
+Isi2bibtex replaces and is derived from bids.to.bibtex (as of 29 Jan 1998) and
+isi2bib 0.1.
+.PP
+bids.to.bibtex was based on a perl script written by Jonathan Swinton, and
+subsequently modified by Ben Bolker and Anthony Stone.
+.PP
+isi2bib 0.1 was written by John J. Lee <jjl@pobox.com>
+.PP
+This script is covered by the GPL. See the script for copyright information.
+.SH "FILES"
+/etc/isi2bibtexrc, ~/.isi2bibtexrc (or whatever you set in the \f(CW@CONFIG\fR
+variable) are looked at in that order for default configuration settings,
+with the latter overriding the former. See the example configuration file
+provided.
+.SH "VERSION"
+0.40
+
+.rn }` ''
+.IX Title "ISI2BIBTEX 1"
+.IX Name "isi2bibtex - convert ISI database files to BibTeX format"
+
+.IX Header "NAME"
+
+.IX Header "SYNOPSIS"
+
+.IX Header "DESCRIPTION"
+
+.IX Subsection "Options"
+
+.IX Subsection "Input databases"
+
+.IX Subsection "Input formats"
+
+.IX Subsection "Output fields"
+
+.IX Subsection "Output formatting"
+
+.IX Header "DOESN'T WORK?"
+
+.IX Subsection "Unix"
+
+.IX Subsection "Microsoft Windows"
+
+.IX Subsection "Other platforms"
+
+.IX Header "KNOWN PROBLEMS"
+
+.IX Header "SEE ALSO"
+
+.IX Header "COPYRIGHT"
+
+.IX Header "FILES"
+
+.IX Header "VERSION"
+
diff --git a/biblio/bibtex/utils/isi2bibtex/isi2bibtexrc b/biblio/bibtex/utils/isi2bibtex/isi2bibtexrc
new file mode 100644
index 0000000000..800256c2a0
--- /dev/null
+++ b/biblio/bibtex/utils/isi2bibtex/isi2bibtexrc
@@ -0,0 +1,110 @@
+# Config file for isi2bibtex
+#----------------------------
+
+# isi2bibtex will look for this in ~/.isi2bibtexrc
+# you can change this in the @CONFIG variable in the script.
+
+
+# Use key for record generated from author's names and publication date (eg.
+# 'PinnockM97' if authors are 'Pinnock, C. B. and Marshall, V. R. and
+# publication date is 1997) rather than key from input file and line number
+# (eg 'three50' if the input filename is 'three' and the line number of that
+# record is 50).
+authorkey = 1
+
+# Attach header information to output file - may be just some plain ascii
+# comments, or an email header. The function header() will run for each
+# non-BibTeX section isi2bibtex finds in your input file. By default,
+# header() outputs the email subject line and some other stuff.
+header = 1
+
+# Whether to guess case of various fields and other things. Case is only ever
+# guessed for fields that are in all upper case.
+titlecase = 1
+authorcase = 1
+journalcase = 1
+# do some special case cases
+specialcase = 1
+# Guess case of chemical formulas and crystal planes (badly). If you have a
+# better way of doing this, I'd like to know what it is!
+formulacase = 0
+
+# do some journal abbreviations
+jabbrev = 1
+
+# Note: this option doesn't apply to BIDS format.
+# Use the ISO standard abbreviated title field (JI) instead of SO, the full
+# title. If JI is missing, this will use J9 instead. If you set this to 0
+# and use SO, the script will abbreviate according to the journalabbrev()
+# function if you have jabbrev set.
+isotitle = 1
+
+# Fields to include in output.
+author = 1
+title = 1
+journal = 1
+year = 1
+volume = 1
+pages = 1
+abstract = 0
+# NOT DONE YET:
+#issue = 0
+#month = 0
+#address = 0
+#references = 0
+#doctype = 0
+
+# Output line length.
+linelength = 78
+
+# Field indentation
+#-------------------
+
+# Following is an example record, which is how the output should look if you
+# don't change anything:
+
+#@ARTICLE{bidstest64,
+# author = {Braun, J. and Bishop, G. G. and Ermakov, A. V. and
+# Goncharova, L. V. and Hinch, B. J.},
+# title = {Adsorption of pf3 on cu(001): ordered overlayer
+# ...
+
+# Eight spaces is one standard tab width.
+
+# Indent for whole field.
+indent = " "
+# Extra indent on second and subsequent lines in a field.
+indentx = " "
+# Indent before padding of field name.
+indentb = " "
+# Indent after padding of field name to standard length (XXX is this correct?)
+indenta = "= "
+
+# Join up long words that have been split at the end of the line in abstract:
+# 0: leave as-is
+# 1: cut space
+# 2: remove the dash as well
+# Note this won't have an effect unless absformat is set to 1.
+adashes = 2
+
+# Same as adashes, but for title field.
+tdashes = 2
+
+# If unset, leave the abstract exactly as-is, and don't try to reformat it to
+# fit your line length - this is useful because there are no blank lines to
+# mark paragraph breaks in ISI format so isi2bibtex can only guess where they
+# are.
+absformat = 1
+
+# If absformat = 1, guess where the paragraphs are in the abstract, rather
+# than outputting a uniform chunk of text.
+absparas = 1
+
+# Minimum number of spaces at end of line after end of sentence before
+# guessing this is a paragraph end.
+paragap = 10
+
+# If you have absformat = 0, you need to specify the abstract field line
+# length in the ISI database so that the abstract can be indented and still
+# fit in the line length available.
+abslength = 63
diff --git a/biblio/bibtex/utils/isi2bibtex/manual.htm b/biblio/bibtex/utils/isi2bibtex/manual.htm
new file mode 100644
index 0000000000..3e7be5a758
--- /dev/null
+++ b/biblio/bibtex/utils/isi2bibtex/manual.htm
@@ -0,0 +1,464 @@
+<HTML>
+<HEAD>
+<TITLE>isi2bibtex - convert ISI database files to BibTeX format</TITLE>
+<LINK REV="made" HREF="mailto:">
+</HEAD>
+
+<BODY>
+
+<!-- INDEX BEGIN -->
+
+<UL>
+
+ <LI><A HREF="#NAME">NAME</A></LI>
+ <LI><A HREF="#SYNOPSIS">SYNOPSIS</A></LI>
+ <LI><A HREF="#DESCRIPTION">DESCRIPTION</A></LI>
+ <UL>
+
+ <LI><A HREF="#Options">Options</A></LI>
+ <LI><A HREF="#Input_databases">Input databases</A></LI>
+ <LI><A HREF="#Input_formats">Input formats</A></LI>
+ <LI><A HREF="#Output_fields">Output fields</A></LI>
+ <LI><A HREF="#Output_formatting">Output formatting</A></LI>
+ </UL>
+
+ <LI><A HREF="#DOESN_T_WORK_">DOESN'T WORK?</A></LI>
+ <UL>
+
+ <LI><A HREF="#Unix">Unix</A></LI>
+ <LI><A HREF="#Microsoft_Windows">Microsoft Windows</A></LI>
+ <LI><A HREF="#Other_platforms">Other platforms</A></LI>
+ </UL>
+
+ <LI><A HREF="#KNOWN_PROBLEMS">KNOWN PROBLEMS</A></LI>
+ <LI><A HREF="#SEE_ALSO">SEE ALSO</A></LI>
+ <LI><A HREF="#COPYRIGHT">COPYRIGHT</A></LI>
+ <LI><A HREF="#FILES">FILES</A></LI>
+ <LI><A HREF="#VERSION">VERSION</A></LI>
+</UL>
+<!-- INDEX END -->
+
+<HR>
+<P>
+<HR>
+<H1><A NAME="NAME">NAME</A></H1>
+<P>
+isi2bibtex - convert ISI database files to BibTeX format
+
+</P>
+<P>
+<HR>
+<H1><A NAME="SYNOPSIS">SYNOPSIS</A></H1>
+<P>
+<STRONG>isi2bibtex</STRONG> [<STRONG>OPTIONS</STRONG>] <STRONG>inputfile</STRONG> [<STRONG>outputfile</STRONG>]
+
+</P>
+<P>
+If no output file is specified, inputfile.bib is used.
+
+</P>
+<P>
+Records are appended if the output file exists.
+
+</P>
+<P>
+<HR>
+<H1><A NAME="DESCRIPTION">DESCRIPTION</A></H1>
+<P>
+Isi2bibtex converts an ISI (Institute for Scientific Information)
+bibliographic database file to a BibTeX file for use in TeX and LaTeX
+documents. Both formats hold bibliographic data on scientific and other
+academic documents.
+
+</P>
+<P>
+(In the UK, the ISI databases are commonly known as 'BIDS' or 'MIMAS WoS')
+
+</P>
+<P>
+Another way to do the same job isi2bibtex does is with bp, which has the
+advantage of converting between many different bibliographic formats and
+character sets. If you don't want that, isi2bibtex understands BIDS
+standard format in addition to the others, and is stand-alone and so
+presumably easier to get working.
+
+</P>
+<P>
+<HR>
+<H2><A NAME="Options">Options</A></H2>
+<P>
+<STRONG>-h</STRONG>, <STRONG>--help</STRONG> display help and exit
+
+</P>
+<P>
+<STRONG>-v</STRONG>, <STRONG>--version</STRONG> display version information and exit
+
+</P>
+<P>
+<STRONG>-q</STRONG>, <STRONG>--quiet</STRONG> no informational output
+
+</P>
+<P>
+<STRONG>-a</STRONG>, <STRONG>--abstract</STRONG> include abstract in output file
+
+</P>
+<P>
+<STRONG>-c</STRONG>, <STRONG>--check</STRONG> make some checks on field contents (default)
+
+</P>
+<P>
+<STRONG>-n</STRONG>, <STRONG>--nocheck</STRONG> don't make checks on field contents
+
+</P>
+<P>
+<HR>
+<H2><A NAME="Input_databases">Input databases</A></H2>
+<P>
+Although isi2bibtex was written for SCI (Science Citation Index), all the
+ISI databases should work (SCI, SSCI, A&amp;HCI, ISTP). Isi2bibtex will
+probably make a bad job of editing the content of these other databases,
+and would have to be changed a bit (not difficult), but you may be lucky.
+
+</P>
+<P>
+In the UK, probably most of the other databases on BIDS should work either
+straight away or with a small amount of modification of the script. BIDS
+Pascal for instance works with downloading format, and would work with a
+small amount of modification with standard format.
+
+</P>
+<P>
+<HR>
+<H2><A NAME="Input_formats">Input formats</A></H2>
+<P>
+If you use a web interface to ISI, isi2bibtex will only convert text output
+(whether emailed or saved directly), not saved web pages or other
+bibliography formats such as Procite or Reference Manager. Specifically,
+the formats that are understood are:
+
+</P>
+<P>
+ISI generic output format version 1.0:
+
+</P>
+<P>
+I presume this is the format used in most of the world. In the UK, this is
+output by MIMAS WoS 'save records' or 'email records'.
+
+</P>
+<P>
+BIDS standard format:
+
+</P>
+<P>
+(any of: Title only; Title, authors &amp; journal; Full record excluding
+citations; Full record)
+
+</P>
+<P>
+BIDS downloading format:
+
+</P>
+<P>
+(any of: Title, authors &amp; journal in downloading format; Full record in
+downloading format)
+
+</P>
+<P>
+You can mix and match record formats in one file. Deleting fields and / or
+record numbers from records should be okay. Any fields may be present in
+any order. Don't change the indentation of records: isi2bibtex will ignore
+records if they're too different from the usual layout due to ambiguity of
+field labels and field contents.
+
+</P>
+<P>
+<HR>
+<H2><A NAME="Output_fields">Output fields</A></H2>
+<P>
+For ISI generic format (eg MIMAS WoS output) and BIDS downloading format,
+fields other than title (TI), author (AU), source ie journal (SO), page
+range (BP, EP), year (PY) and abstract (AB) are ignored.
+
+</P>
+<P>
+For standard BIDS format, fields other than Title (TI:), author (AU:),
+journal (JN:) and abstract (AB:) are ignored (the JN: field contains the
+page numbers, volume, date, etc as well as the journal name).
+
+</P>
+<P>
+At the moment isi2bibtex only outputs the more useful fields, but this may
+change in the future (when someone gets round to it). Which fields are
+output can be controlled with a configuration file (see below). Those that
+don't correspond to the standard BibTeX fields (such as abstract) won't be
+recognised by BibTeX by default, but they'll be there if you need to use
+them.
+
+</P>
+<P>
+<HR>
+<H2><A NAME="Output_formatting">Output formatting</A></H2>
+<P>
+Output is tidied up as much as possible, but some editing is still
+required.
+
+</P>
+<P>
+Output formatting defaults can be modified with a configuration file.
+/etc/isi2bibtexrc and ~/.isi2bibtexrc (or whatever you set in the
+<CODE>@CONFIG</CODE> variable in the script) are looked at in that order
+for configuration settings, with the latter overriding the former. See the
+example configuration file provided.
+
+</P>
+<P>
+If they are switched on, things like journal title abbreviations and
+acronym capitalisations can be added and removed at the end of the script
+(very easy to do by looking at what's there already). Newer ISI entries
+have lower case as well as upper, and isi2bibtex always leaves the
+capitalization as-is for those records.
+
+</P>
+<P>
+<HR>
+<H1><A NAME="DOESN_T_WORK_">DOESN'T WORK?</A></H1>
+<P>
+Remember to:
+
+</P>
+<P>
+<HR>
+<H2><A NAME="Unix">Unix</A></H2>
+<P>
+set the first line of this script to point to your copy of perl (eg.
+/usr/bin/perl or /usr/local/bin/perl)
+
+</P>
+<P>
+make it executable (eg. chmod +x ./isi2bibtex)
+
+</P>
+<P>
+put it somewhere your OS can find it (eg ~/bin or /usr/local/bin): you may
+need to change your PATH environment variable
+
+</P>
+<P>
+<HR>
+<H2><A NAME="Microsoft_Windows">Microsoft Windows</A></H2>
+<P>
+change the name of this script to isi2bibtex.pl (you'll have to use it as
+
+</P>
+<P>
+isi2bibtex.pl [OPTIONS] inputfile.txt outputfile.bib
+
+</P>
+<P>
+rather than
+
+</P>
+<P>
+isi2bibtex [OPTIONS] inputfile.txt outputfile.bib
+
+</P>
+<P>
+because the windows DOS shell doesn't know about the #! line)
+
+</P>
+<P>
+put it in your Perl bin directory, eg C:\Perl\bin (obviously if you don't
+have perl installed, you need to do that first: see below)
+
+</P>
+<P>
+if that doesn't work check the PATH environment variable contains your perl
+bin directory, and as a last resort try
+
+</P>
+<P>
+<PRE> perl C:\Perl\bin\isi2bibtex.pl inputfile.txt
+</PRE>
+</P>
+<P>
+<HR>
+<H2><A NAME="Other_platforms">Other platforms</A></H2>
+<P>
+I have no idea, but it should work on any platform that runs Perl 5,
+perhaps with a few small modifications. Isi2bibtex has been tested on
+Windows (95 and NT) and Unix. Please send me any portability changes.
+
+</P>
+<P>
+Email &lt;<A HREF="mailto:jjl@pobox.com" jjl@pobox.com</A>&gt;
+if it still doesn't work.
+
+</P>
+<P>
+<HR>
+<H1><A NAME="KNOWN_PROBLEMS">KNOWN PROBLEMS</A></H1>
+<P>
+It only does articles, not books, proceedings etc, and won't notice if a
+record isn't an article.
+
+</P>
+<P>
+It ignores some fields (mostly those that don't correspond to the standard
+BibTeX 'article' fields).
+
+</P>
+<P>
+ISI access providers' output other than BIDS and MIMAS WOS haven't been
+tested. Send me an output file and I'll make it work with that format (for
+SCI).
+
+</P>
+<P>
+Please tell me about any bugs you find, at &lt;<A
+HREF="mailto:jjl@pobox.com">jjl@pobox.com</A>&gt;
+
+</P>
+<P>
+<HR>
+<H1><A NAME="SEE_ALSO">SEE ALSO</A></H1>
+<P>
+If you don't have Perl installed, it can be got (free) from <A
+HREF="http://www.perl.com/">http://www.perl.com/</A> . LaTeX, BibTeX and
+everything else TeX can be downloaded from <A
+HREF="http://www.CTAN.org/">http://www.CTAN.org/</A> .
+
+</P>
+<P>
+bp converts between many bibliography database formats (including
+conversion from BIDS downloading and ISI generic formats to BibTeX), and
+many character sets.
+
+</P>
+<P>
+Ben Bolker (author of the BIDS / MIMAS WOS specification for bp) has a page
+describing his modifications to bp:
+
+</P>
+<P>
+<A
+HREF="http://www.zoo.ufl.edu/bolker/bp.html">http://www.zoo.ufl.edu/bolker/bp.html</A>
+
+
+</P>
+<P>
+Dana Jacobsen (author of bp) has a web page with lots of bibliography
+software information and details of his bp package:
+
+</P>
+<P>
+<A
+HREF="http://www.ecst.csuchico.edu/~jacobsd/bib/index.html">http://www.ecst.csuchico.edu/~jacobsd/bib/index.html</A>
+
+
+</P>
+<P>
+Some other BibTeX utilities that may or may not be useful (these are just
+the ones I've got round to looking at):
+
+</P>
+<P>
+bibclean checks and formats BibTeX databases
+
+</P>
+<P>
+bibsort sorts BibTeX databases
+
+</P>
+<P>
+bib2dvi converts BibTeX databases to DVI files (DVI files are output by
+LaTeX and are DeVice Independent typeset documents, a bit like postscript
+or pdf -- you can read them on most computer systems)
+
+</P>
+<P>
+bibextract, citefind and citetags respectively extract BibTeX records from
+a BibTeX database, extract LaTeX references from a LaTeX document, and look
+up LaTeX references in a BibTeX database.
+
+</P>
+<P>
+bibindex makes an index for fast lookup by biblook, if you have a huge
+database that needs it I suppose
+
+</P>
+<P>
+BibTool is an all-singing all-dancing general purpose BibTeX management
+utility
+
+</P>
+<P>
+bibview is a simple interactive searching utility for BibTeX files
+
+</P>
+<P>
+findbib gets BibTeX records corresponding to references in a LaTeX file
+from a preprint server (don't know if it still works)
+
+</P>
+<P>
+both refer2bibtex and r2bib convert refer files (whatever they are) to
+BibTeX files
+
+</P>
+<P>
+tkbibtex is a graphical tool for editing and searching BibTeX databases
+
+</P>
+<P>
+Text::BibTeX is a Perl module for doing things to BibTeX databases.
+
+</P>
+<P>
+<HR>
+<H1><A NAME="COPYRIGHT">COPYRIGHT</A></H1>
+<P>
+Copyright (C) 2000 Jonathan Swinton, Ben Bolker, Anthony Stone, John J. Lee
+
+</P>
+<P>
+Isi2bibtex replaces and is derived from bids.to.bibtex (as of 29 Jan 1998)
+and isi2bib 0.1.
+
+</P>
+<P>
+bids.to.bibtex was based on a perl script written by Jonathan Swinton, and
+subsequently modified by Ben Bolker and Anthony Stone.
+
+</P>
+<P>
+isi2bib 0.1 was written by John J. Lee &lt;<A
+HREF="mailto:jjl@pobox.com">jjl@pobox.com</A>&gt;
+
+</P>
+<P>
+This script is covered by the GPL. See the script for copyright
+information.
+
+</P>
+<P>
+<HR>
+<H1><A NAME="FILES">FILES</A></H1>
+<P>
+/etc/isi2bibtexrc, ~/.isi2bibtexrc (or whatever you set in the
+<CODE>@CONFIG</CODE> variable) are looked at in that order for default
+configuration settings, with the latter overriding the former. See the
+example configuration file provided.
+
+</P>
+<P>
+<HR>
+<H1><A NAME="VERSION">VERSION</A></H1>
+<P>
+0.40
+
+</P>
+
+</BODY>
+
+</HTML>
diff --git a/biblio/bibtex/utils/isi2bibtex/manual.txt b/biblio/bibtex/utils/isi2bibtex/manual.txt
new file mode 100644
index 0000000000..fff2501f48
--- /dev/null
+++ b/biblio/bibtex/utils/isi2bibtex/manual.txt
@@ -0,0 +1,263 @@
+NAME
+ isi2bibtex - convert ISI database files to BibTeX format
+
+SYNOPSIS
+ isi2bibtex [OPTIONS] inputfile [outputfile]
+
+ If no output file is specified, inputfile.bib is used.
+
+ Records are appended if the output file exists.
+
+DESCRIPTION
+ Isi2bibtex converts an ISI (Institute for Scientific
+ Information) bibliographic database file to a BibTeX file for
+ use in TeX and LaTeX documents. Both formats hold bibliographic
+ data on scientific and other academic documents.
+
+ (In the UK, the ISI databases are commonly known as 'BIDS' or
+ 'MIMAS WoS')
+
+ Another way to do the same job isi2bibtex does is with bp, which
+ has the advantage of converting between many different
+ bibliographic formats and character sets. If you don't want
+ that, isi2bibtex understands BIDS standard format in addition to
+ the others, and is stand-alone and so presumably easier to get
+ working.
+
+ Options
+
+ -h, --help display help and exit
+
+ -v, --version display version information and exit
+
+ -q, --quiet no informational output
+
+ -a, --abstract include abstract in output file
+
+ -c, --check make some checks on field contents (default)
+
+ -n, --nocheck don't make checks on field contents
+
+ Input databases
+
+ Although isi2bibtex was written for SCI (Science Citation
+ Index), all the ISI databases should work (SCI, SSCI, A&HCI,
+ ISTP). Isi2bibtex will probably make a bad job of editing the
+ content of these other databases, and would have to be changed a
+ bit (not difficult), but you may be lucky.
+
+ In the UK, probably most of the other databases on BIDS should
+ work either straight away or with a small amount of modification
+ of the script. BIDS Pascal for instance works with downloading
+ format, and would work with a small amount of modification with
+ standard format.
+
+ Input formats
+
+ If you use a web interface to ISI, isi2bibtex will only convert
+ text output (whether emailed or saved directly), not saved web
+ pages or other bibliography formats such as Procite or Reference
+ Manager. Specifically, the formats that are understood are:
+
+ ISI generic output format version 1.0:
+
+ I presume this is the format used in most of the world. In the
+ UK, this is output by MIMAS WoS 'save records' or 'email
+ records'.
+
+ BIDS standard format:
+
+ (any of: Title only; Title, authors & journal; Full record
+ excluding citations; Full record)
+
+ BIDS downloading format:
+
+ (any of: Title, authors & journal in downloading format; Full
+ record in downloading format)
+
+ You can mix and match record formats in one file. Deleting
+ fields and / or record numbers from records should be okay. Any
+ fields may be present in any order. Don't change the indentation
+ of records: isi2bibtex will ignore records if they're too
+ different from the usual layout due to ambiguity of field labels
+ and field contents.
+
+ Output fields
+
+ For ISI generic format (eg MIMAS WoS output) and BIDS
+ downloading format, fields other than title (TI), author (AU),
+ source ie journal (SO), page range (BP, EP), year (PY) and
+ abstract (AB) are ignored.
+
+ For standard BIDS format, fields other than Title (TI:), author
+ (AU:), journal (JN:) and abstract (AB:) are ignored (the JN:
+ field contains the page numbers, volume, date, etc as well as
+ the journal name).
+
+ At the moment isi2bibtex only outputs the more useful fields,
+ but this may change in the future (when someone gets round to
+ it). Which fields are output can be controlled with a
+ configuration file (see below). Those that don't correspond to
+ the standard BibTeX fields (such as abstract) won't be
+ recognised by BibTeX by default, but they'll be there if you
+ need to use them.
+
+ Output formatting
+
+ Output is tidied up as much as possible, but some editing is
+ still required.
+
+ Output formatting defaults can be modified with a configuration
+ file. /etc/isi2bibtexrc and ~/.isi2bibtexrc (or whatever you set
+ in the @CONFIG variable in the script) are looked at in that
+ order for configuration settings, with the latter overriding the
+ former. See the example configuration file provided.
+
+ If they are switched on, things like journal title abbreviations
+ and acronym capitalisations can be added and removed at the end
+ of the script (very easy to do by looking at what's there
+ already). Newer ISI entries have lower case as well as upper,
+ and isi2bibtex always leaves the capitalization as-is for those
+ records.
+
+DOESN'T WORK?
+ Remember to:
+
+ Unix
+
+ set the first line of this script to point to your copy of perl
+ (eg. /usr/bin/perl or /usr/local/bin/perl)
+
+ make it executable (eg. chmod +x ./isi2bibtex)
+
+ put it somewhere your OS can find it (eg ~/bin or
+ /usr/local/bin): you may need to change your PATH environment
+ variable
+
+ Microsoft Windows
+
+ change the name of this script to isi2bibtex.pl (you'll have to
+ use it as
+
+ isi2bibtex.pl [OPTIONS] inputfile.txt outputfile.bib
+
+ rather than
+
+ isi2bibtex [OPTIONS] inputfile.txt outputfile.bib
+
+ because the windows DOS shell doesn't know about the #! line)
+
+ put it in your Perl bin directory, eg C:\Perl\bin (obviously if
+ you don't have perl installed, you need to do that first: see
+ below)
+
+ if that doesn't work check the PATH environment variable
+ contains your perl bin directory, and as a last resort try
+
+ perl C:\Perl\bin\isi2bibtex.pl inputfile.txt
+
+ Other platforms
+
+ I have no idea, but it should work on any platform that runs
+ Perl 5, perhaps with a few small modifications. Isi2bibtex has
+ been tested on Windows (95 and NT) and Unix. Please send me any
+ portability changes.
+
+ Email <jjl@pobox.com> if it still doesn't work.
+
+KNOWN PROBLEMS
+ It only does articles, not books, proceedings etc, and won't
+ notice if a record isn't an article.
+
+ It ignores some fields (mostly those that don't correspond to
+ the standard BibTeX 'article' fields).
+
+ ISI access providers' output other than BIDS and MIMAS WOS
+ haven't been tested. Send me an output file and I'll make it
+ work with that format (for SCI).
+
+ Please tell me about any bugs you find, at
+ <jjl@pobox.com>.
+
+SEE ALSO
+ If you don't have Perl installed, it can be got (free) from
+ http://www.perl.com/ . LaTeX, BibTeX and everything else TeX can
+ be downloaded from http://www.CTAN.org/ .
+
+ bp converts between many bibliography database formats
+ (including conversion from BIDS downloading and ISI generic
+ formats to BibTeX), and many character sets.
+
+ Ben Bolker (author of the BIDS / MIMAS WOS specification for bp)
+ has a page describing his modifications to bp:
+
+ http://www.zoo.ufl.edu/bolker/bp.html
+
+ Dana Jacobsen (author of bp) has a web page with lots of
+ bibliography software information and details of his bp package:
+
+ http://www.ecst.csuchico.edu/~jacobsd/bib/index.html
+
+ Some other BibTeX utilities that may or may not be useful (these
+ are just the ones I've got round to looking at):
+
+ bibclean checks and formats BibTeX databases
+
+ bibsort sorts BibTeX databases
+
+ bib2dvi converts BibTeX databases to DVI files (DVI files are
+ output by LaTeX and are DeVice Independent typeset documents, a
+ bit like postscript or pdf -- you can read them on most computer
+ systems)
+
+ bibextract, citefind and citetags respectively extract BibTeX
+ records from a BibTeX database, extract LaTeX references from a
+ LaTeX document, and look up LaTeX references in a BibTeX
+ database.
+
+ bibindex makes an index for fast lookup by biblook, if you have
+ a huge database that needs it I suppose
+
+ BibTool is an all-singing all-dancing general purpose BibTeX
+ management utility
+
+ bibview is a simple interactive searching utility for BibTeX
+ files
+
+ findbib gets BibTeX records corresponding to references in a
+ LaTeX file from a preprint server (don't know if it still works)
+
+ both refer2bibtex and r2bib convert refer files (whatever they
+ are) to BibTeX files
+
+ tkbibtex is a graphical tool for editing and searching BibTeX
+ databases
+
+ Text::BibTeX is a Perl module for doing things to BibTeX
+ databases.
+
+COPYRIGHT
+ Copyright (C) 2000 Jonathan Swinton, Ben Bolker, Anthony Stone,
+ John J. Lee
+
+ Isi2bibtex replaces and is derived from bids.to.bibtex (as of 29
+ Jan 1998) and isi2bib 0.1.
+
+ bids.to.bibtex was based on a perl script written by Jonathan
+ Swinton, and subsequently modified by Ben Bolker and Anthony
+ Stone.
+
+ isi2bib 0.1 was written by John J. Lee <jjl@pobox.com>
+
+ This script is covered by the GPL. See the script for copyright
+ information.
+
+FILES
+ /etc/isi2bibtexrc, ~/.isi2bibtexrc (or whatever you set in the
+ @CONFIG variable) are looked at in that order for default
+ configuration settings, with the latter overriding the former.
+ See the example configuration file provided.
+
+VERSION
+ 0.40
+
diff --git a/biblio/bibtex/utils/lookbibtex/Makefile b/biblio/bibtex/utils/lookbibtex/Makefile
new file mode 100644
index 0000000000..f80e34b912
--- /dev/null
+++ b/biblio/bibtex/utils/lookbibtex/Makefile
@@ -0,0 +1,69 @@
+
+#
+# lookbibtex makefile
+# very simple, right?
+# Actually, it was simple, once.
+#
+
+#
+# The following parameters you may wish to change.
+#
+
+BINDIR=/usr/dist/bin
+BINOWN=johnh
+BINMOD=755
+
+MANEXT=1
+MANDIR=/usr/dist/share/man/man$(MANEXT)
+MANOWN=johnh
+MANMOD=644
+
+# perl path in scripts.dist
+OLDPERLPATH=/usr/dist/bin/perl
+# perl path on your system
+NEWPERLPATH=/usr/dist/bin/perl
+
+#
+# End of stuff to localize
+#
+
+
+
+PROGRAMS=lookbibtex bibdestringify
+
+
+default: $(PROGRAMS)
+ @echo "bibtex tools are up-to-date."
+
+lookbibtex: lookbibtex.dist
+ sed s:#!$(OLDPERLPATH):#!$(NEWPERLPATH):p <lookbibtex.dist >lookbibtex
+
+bibdestringify: bibdestringify.dist
+ sed s:#!$(OLDPERLPATH):#!$(NEWPERLPATH):p <bibdestringify.dist >bibdestringify
+
+
+
+# install things in the right place
+install: $(PROGRAMS)
+ cp lookbibtex.1 $(MANDIR)/lookbibtex.$(MANEXT)
+ chmod $(MANMOD) $(MANDIR)/lookbibtex.$(MANEXT)
+ chown $(MANOWN) $(MANDIR)/lookbibtex.$(MANEXT)
+ cp bibdestringify.1 $(MANDIR)/bibdestringify.$(MANEXT)
+ chmod $(MANMOD) $(MANDIR)/bibdestringify.$(MANEXT)
+ chown $(MANOWN) $(MANDIR)/bibdestringify.$(MANEXT)
+ cp lookbibtex $(BINDIR)
+ chmod $(BINMOD) $(BINDIR)/lookbibtex
+ chown $(BINOWN) $(BINDIR)/lookbibtex
+ cp bibdestringify $(BINDIR)
+ chmod $(BINMOD) $(BINDIR)/bibdestringify
+ chown $(BINOWN) $(BINDIR)/bibdestringify
+
+
+# package up a shar for distribution
+shar:
+ shar README lookbibtex.1 lookbibtex.dist \
+ bibdestringify.1 bibdestringify.dist release \
+ Makefile>lookbibtex.`cat release`.shar
+ compress <lookbibtex.`cat release`.shar >lookbibtex.`cat release`.shar.Z
+
+
diff --git a/biblio/bibtex/utils/lookbibtex/README b/biblio/bibtex/utils/lookbibtex/README
new file mode 100644
index 0000000000..f3a67f81ea
--- /dev/null
+++ b/biblio/bibtex/utils/lookbibtex/README
@@ -0,0 +1,61 @@
+lookbibtex release 1.43
+-----------------------
+
+To install lookbibtex and bibdestringify, adjust the Makefile
+to any local peculiarities and type "make install".
+
+Lookbibtex is released under the GNU Public License, Version 1 (Feb 89).
+A copy of the GPL should be included with your Perl distribution.
+
+Release 1.1 (28-Nov-90) fixes three problems of release 1.0. End
+right curley brackets not in the first column were missed in 1.0.
+Umlauts and multi-line fields with curley brackets are now handled
+correctly.
+
+Release 1.2 (17-Jan-91) includes bibdestringify, a tool for replacing all
+strings in a bibtex file. To support this, it adds the -s option
+to lookbibtex.
+
+The speed in previous versions of bibdestringify was absymal. This
+release, release 1.3 (26-Aug-91) fixes this with an order of mangitude
+speed improvement. Documentation for both programs is also slightly
+improved. Notice that the -k flag to lookbibtex has been renamed to -f.
+
+Release 1.31 (27-Aug-91) fixes a couple of minor bugs. The @string
+pattern in bibdestringify is made a little more general (to allow c++,
+for example) [from Vick Khera <khera@cs.duke.edu>], and a bug in the
+lookbibtex man page is fixed [from wald@theory.lcs.mit.edu (David Wald)].
+
+Release 1.32 (28-Aug-91) fixes the usage string in lookbibtex
+and improves the installation part of the makefile, both at
+the suggestion of Henk P. Penning <henkp@cs.ruu.nl>.
+
+Release 1.4 (5-Sep-91) changes the order of the arguments to resemble grep(1).
+At the suggestion of Tim Wilson <Tim.Wilson@cl.cam.ac.uk>,
+when no bibtex file is specified, all files in your BIBINPUTS path
+are selected. Makefile now automatically sets perl script paths.
+
+Release 1.41 (11-Sep-91) Makes the bibdestringify matching a little more
+general, and fixes a bug in the makefile.
+
+Release 1.42 (29-Jan-92) Fixes a bug in handling of mixed-case @string's
+in lookbibtex at the suggestion of Dana Jacobsen <jacobsd@frisby.cs.orst.edu>.
+
+Release 1.43 (7-May-92) Added ftp site to README document.
+
+Perl is the very pratical extraction and report language from Larry
+Wall. It may be obtained by anonymous ftp from
+jpl-devvax.jpl.nasa.gov in pub/perl.4.0, or by e-mail to Larry Wall
+<lwall@jpl-devvax.jpl.nasa.gov>.
+
+Lookbibtex is available by anonymous ftp from ftp.cs.ucla.edu in
+pub/ficus.
+
+Any comments are welcome.
+
+ -John Heidemann
+ <johnh@cs.ucla.edu>
+ 29 January 1992
+
+
+
diff --git a/biblio/bibtex/utils/lookbibtex/bibdestringify.1 b/biblio/bibtex/utils/lookbibtex/bibdestringify.1
new file mode 100644
index 0000000000..daf8413dae
--- /dev/null
+++ b/biblio/bibtex/utils/lookbibtex/bibdestringify.1
@@ -0,0 +1,47 @@
+.\" bibdestringify.1
+.TH BIBDESTRINGIFY 1 "26 August 1991"
+
+.SH NAME
+bibdestringify \- replace string substitutions in a bibtex database
+
+.SH SYNOPSIS
+.B bibdestringify
+
+.SH DESCRIPTION
+bibdestringify reads a bibtex file from standard input.
+It produces the same file, but with all string substitutions
+(@string{foo = "bar"}) replaced in the text.
+
+For example, to tell your friend about your favorite new
+breakfast cereal, you might use the command:
+.IP
+.B
+lookbibtex -s kellogg | bibdestringify | mail lk
+.LP
+Lookbibtex -s passes string defintions through;
+"kellogg" is the search regular expression.
+bibdestringify expands these definitons, so that when
+Leonard (lk) gets your mail,
+there will be no references to unknown strings.
+
+.SH AUTHOR
+John Heidemann <johnh@cs.ucla.edu>
+
+.SH SEE ALSO
+.BR bibtex (1),
+.BR lookbibtex (1),
+.BR perl (1).
+
+.SH BUGS
+Like lookbibtex,
+bibdestringify is written in Perl, so it will not run on machines
+which do not have perl installed.
+
+Although previous versions of bibdestringify (0.9) were quite
+slow, this version is reasonably fast.
+.\" Its speed is O(nm) where
+.\" n is the number of defined strings
+.\" and m is the number of lines with potential replacement.
+
+
+
diff --git a/biblio/bibtex/utils/lookbibtex/bibdestringify.dist b/biblio/bibtex/utils/lookbibtex/bibdestringify.dist
new file mode 100644
index 0000000000..d7815aaac5
--- /dev/null
+++ b/biblio/bibtex/utils/lookbibtex/bibdestringify.dist
@@ -0,0 +1,48 @@
+#!/usr/dist/bin/perl
+
+#
+# bibdestringify 1.02
+# a perl script to remove strings from a bibtex file.
+# Comments to <johnh@cs.ucla.edu>.
+#
+# Copyright (C) 1990 by John Heidemann
+# This is distributed under the GNU Public Licence, Version 1 (Feb 89).
+# See the Perl documentation for a copy of that license.
+#
+# Timings (from ./bibdestringify <bibdestringify.example >/dev/null):
+# version time (with /bin/time)
+# 0.90 14.6 real 13.8 user 0.2 sys
+# 0.91 12.6 real 11.9 user 0.2 sys
+# 1.0 1.7 real 1.4 user 0.2 sys
+#
+# 17-Jan-91 It is begun. bibdestringify 0.9
+# 15-Feb-91 It is documented, and given out to khera@cs.duke.edu.
+# 26-Aug-91 Speed slightly improved. bibdestringify 0.91
+# 26-Aug-91 Changed to remember patterns and process with eval.
+# Speed dramatically (order of magnitude) improved.
+# My hat is off to the mighty eval! bibdestringify 1.0
+# 27-Aug-91 Patched to allow a more liberal definition of @strings
+# at the suggestion of Vick Khera <khera@cs.duke.edu>. bibdestringify 1.01
+# 11-Sep-91 A positivly radical definition of @strings. bibdestringify 1.02
+#
+
+
+$replace = 's/\"\s*\#\s*\"//g;'; # the replacement pattern
+ # (default to doing string concatination)
+
+
+while (<STDIN>) {
+ if (($name,$value) = /\@string\s*{\s*(\S+)\s*=\s*(.*)\s*}/) {
+ $name =~ s/(\W)/\\\1/g; # quote special chars
+ $value =~ s/(\W)/\\\1/g;
+ $replace = "s/\\b$name\\b/$value/g;\n" . $replace;
+ } else {
+# if (!$done) { print "$replace\n"; $done=1; };
+ eval $replace;
+ $@ && die ("Error in eval, $@");
+ print $_;
+ };
+};
+
+
+
diff --git a/biblio/bibtex/utils/lookbibtex/lookbibtex.1 b/biblio/bibtex/utils/lookbibtex/lookbibtex.1
new file mode 100644
index 0000000000..9c77bf7aaa
--- /dev/null
+++ b/biblio/bibtex/utils/lookbibtex/lookbibtex.1
@@ -0,0 +1,129 @@
+.\" lookbibtex.1
+.TH LOOKBIBTEX 1 " 5 September 1991"
+
+.SH NAME
+lookbibtex \- find references in a bibtex database
+
+.SH SYNOPSIS
+.B lookbibtex
+[ \-s
+]
+[ \-f
+.I field
+]
+.I regexp
+[
+.I bibfiles...
+]
+
+.SH DESCRIPTION
+lookbibtex searches through bibtex databases,
+printing entries that match
+.I regexp.
+See
+.BR bibtex (1)
+for a description of bibtex databases.
+.I Regexp
+is a Perl regular expression.
+See
+.BR perl (1)
+for an explanation of differences between perl and standard regular
+expressions.
+
+The \-s option passes @string defintions through.
+By default, they're eaten.
+
+Searches can be limited to particular bibtex fields
+with the \-f option.
+
+If no
+.I bibfiles
+are specified,
+all bibtex files in the path
+.SM BIBINPUTS
+are used.
+A \- for
+.I bibfiles
+reads a bibtex database from standard input.
+
+To do "and" searches on two fields use shell pipes, reading
+the output of one search as the bibliography of the second
+(using
+.RB ` \- '
+for
+.I bibfiles
+in a pipeline).
+For example, to find what someone named Kafka wrote
+about emacs keyboard layout, do:
+.IP
+.B
+lookbibtex \-f author kafka | lookbibtex \-f title meta \-
+.LP
+
+To do "or" searches, use regular expressions.
+For example, you could be concerned with
+only careful authors, like Kunth and Kafka:
+.IP
+.B
+lookbibtex \-f author 'kunth\||\|kafka'
+.LP
+
+More sophisticated searches can be achieved by combining
+these techniques.
+
+
+.SH AUTHOR
+John Heidemann <johnh@cs.ucla.edu>
+
+
+.SH "ENVIRONMENT VARIABLES"
+
+.TP
+.SM BIBINPUTS
+The path
+.SM BIBINPUTS
+is searched for
+.B .bib
+files if none are given on the command line. See
+.BR TeX (1)
+for a description of the path format.
+
+
+.SH SEE ALSO
+.BR bibtex (1),
+.BR bibdestringify (1),
+.BR perl (1).
+
+
+.SH BUGS
+.B Lookbibtex
+is written in Perl, so it will not run on machines
+which do not have perl installed (although this arguably
+a bug of the person too lazy to install such a useful tool).
+
+Multiple bibtex fields on one line will be missed.
+
+There should be a way of switching off the file name prefixing when
+searching multiple files. For now, simply
+.I cat
+the files into
+.IR lookbib .
+
+This program does not implement a full bibtex parser,
+just a good approximation. Because of this, it may
+fail on unusual bibtex files. In particular,
+the @ that begins a bibtex entry, and the } which end it
+must be the first non-whitespace character on their line, or they
+will be missed.
+Also, multi-line fields surrounded with double quotes or
+curley brackets
+are handled correctly,
+but ugly combinations of quotes and brackets and backslashed
+versions of the same may fail.
+Umlaut accents are removed from the search
+string.
+
+I make no predictions as to how this program will react
+to bibtex files with syntax errors.
+
+
diff --git a/biblio/bibtex/utils/lookbibtex/lookbibtex.dist b/biblio/bibtex/utils/lookbibtex/lookbibtex.dist
new file mode 100644
index 0000000000..4f0b008d07
--- /dev/null
+++ b/biblio/bibtex/utils/lookbibtex/lookbibtex.dist
@@ -0,0 +1,220 @@
+#!/usr/dist/bin/perl
+
+#
+# lookbibtex 1.22
+# Look in to a bib file.
+# Comments to <johnh@cs.ucla.edu>.
+#
+# Copyright (C) 1990 by John Heidemann
+# This is distributed under the GNU Public Licence, Version 1 (Feb 89).
+# See the Perl documentation for a copy of that license.
+#
+# 4-Oct-90 it is hacked together.
+# 19-Nov-90 Now it remembers "'s and join such lines.
+# It also removes nasty characters like {} from the search string.
+# 20-Nov-90 Umlaut accents handled correctly.
+# 28-Nov-90 A simple heuristic to handle multi-line fields with {}'s is added.
+# In addition, we compress all whitespace to single spaces in the
+# searched version. lookbibtex 1.1
+# 4-Jan-91 Converted the -k option to -f, since field makes more sense than
+# keyword. lookbibtex 1.11
+# 17-Jan-91 Added -s option to pass through strings, instead of ignoring them.
+# 31-May-91 ficus directory moved
+# 26-Aug-91 Documentation fixed. The environment variable LOOKBIBTEXFILE
+# will set the default bibtex file to use.
+# lookbibtex 1.12 released, posted to anonymous ftp at cs.ucla.edu.
+# 28-Aug-91 Usage string fixed at suggestion of
+# Henk P. Penning <henkp@cs.ruu.nl>.
+# 5-Sep-91 Argument processing re-done (now matches grep, as it always
+# should have). Changes from Tim Wilson <tdw@cl.cam.ac.uk> to
+# handle multiple bib files and select default bib files from BIBINPUTS.
+# lookbibtex 1.2
+# 29-Jan-92 Bug reported by Dana Jacobsen <jacobsd@frisby.cs.orst.edu>:
+# "badkeys" are handled in a case sensitive manner. Fixed.
+# lookbibtex 1.21
+# 25-Feb-92 Sigh. Bug fixes always make more bugs. Bug in last fix, fixed.
+# lookbibtex 1.22
+#
+# This program relies on the convention that the closing } of a
+# bib entry is the only } in the first non-whitespace column,
+# and that the opening @ is also there.
+#
+
+
+
+$* = 1; # make searches on vars with imbedded newlines work
+$prog = substr($0,rindex($0,'/')+1);
+
+
+$badkeys = "string"; # keys to ignore (list in lowercase only)
+
+
+#
+# do argument processing
+#
+
+@files = (); # files to search
+$passthroughbad = 0; # -s flag
+undef ($pattern); # will be set below
+undef ($keyword); # may be set below
+
+sub remember_file {
+ local ($file) = @_;
+ local ($dev, $ino) = stat ($file);
+ local ($key) = "$dev,$ino";
+ if (!defined($files{$key})) {
+ $files{$key} = $file;
+ push (@files, $file);
+
+ };
+# warn ("file $file ($key) remembered.\n");
+};
+
+while ($#ARGV >= 0) {
+ if ($ARGV[0] eq "-s") {
+ $passthroughbad = 1;
+ } elsif ($ARGV[0] eq "-f" && $#ARGV >= 1) {
+ $keyword = $ARGV[1];
+ shift (@ARGV);
+ } elsif (defined($pattern)) {
+ &remember_file ($ARGV[0]);
+ } else {
+ $pattern = $ARGV[0];
+ };
+ shift (@ARGV);
+};
+
+if (!defined($pattern)) {
+ die ("Usage: $prog [-s] [-f field] regexp [bibfile.bib ...]\n" .
+ " Fields restricts the regexp search to that bibtex " .
+ "field entry (author, etc.)\n" .
+ " Default bibfile is $defaultfile, - indicates stdin.\n" .
+ " Regexp is a Perl regexp.\n");
+};
+
+#
+# handle the keyword by modifying the pattern
+#
+if (defined($keyword)) {
+ $pattern = "^\\s*${keyword}\\s*=.*${pattern}";
+# print "pattern is $pattern\n";
+};
+
+#
+# Handle choosing default bib files:
+# Select anything from BIBINPUTS.
+#
+if ($#files == -1) {
+ $searchpath = ($ENV{'BIBINPUTS'} || ".");
+ foreach $dir (split(/:/, $searchpath)) {
+ opendir(DIR, $dir) || do {
+ warn "$prog: Can't open directory `$dir', skipping\n";
+ next;
+ };
+ foreach $file (grep(/\.bib$/, readdir(DIR))) {
+ &remember_file ($dir . "/" . $file);
+ };
+ closedir(DIR);
+ };
+};
+
+die ("$prog: no files on command line or in BIBINPUTS\n") if ($#files == -1);
+
+$manyfiles = ($#files > 0); # remember if to show filenames or not
+
+
+
+#
+# Certain keys we really want to ignore because
+# they're not bib entries. They're listed here.
+#
+@badkeys = split(/,/, $badkeys);
+foreach $i (@badkeys) {
+ $badkeys{$i} = "bad"; # just make them defined
+};
+
+
+
+#
+# To do searches right, we have to make everything
+# for a field on one line.
+# This routine does that, and also gets rid of {}'s
+# which tend to get in the way for searches. In the
+# same vein, it collapses all whitespace to single spaces.
+#
+# To know when to join lines, we use two simple heuristics:
+# is there are a odd number of "'s on a line, we must enter or exit
+# multi-line mode. If there are more {'s than }'s, we must enter,
+# and if there are more }'s than {'s we must exit (anything on
+# the first line is ignored).
+#
+
+sub printtosearch {
+ local ($print) = @_;
+ local ($search, $mode) = ("", 1);
+ local ($opencurley, $closecurley) = (0,0);
+
+ @lines = split(/\n/, $print);
+ @lines[0] =~ s/{/ /;
+ foreach $ln (@lines) {
+ # remove and count curley brackets
+ $opencurley = ($ln =~ s/[{]//g);
+ $closecurley = ($ln =~ s/[}]//g);
+ if ($opencurley-$closecurley < 0) {
+ $mode = 1;
+ } elsif ($opencurley-$closecurley > 0) {
+ $mode = 0;
+ } else {
+ # remove umlauts so quote handling works,
+ # and then change modes if required.
+ $ln =~ s/\\"//g;
+ $mode = !$mode if (($ln =~ tr/"/"/) % 2 == 1);
+ };
+ $search .= $ln;
+ $search .= "\n" if ($mode);
+ };
+ $search =~ s/[ \t]+/ /g;
+ return $search;
+}
+
+
+#
+# looking for beginning of bib entry is state 1, in bib is state 2
+#
+$LOOKING = 1; $INBIB = 2;
+
+foreach $file (@files) {
+ open (INF, "<$file") || warn ("cannot open bibfile $file\n");
+ $state = $LOOKING;
+
+ while (<INF>) {
+# print "line ", $i++, " state=$state: " . "$_\n";
+ # beware RCS munging $state:...$
+ if ($state == $LOOKING) {
+ if (/^[ \t]*@(\w+)/) { # beginning of entry
+ ($key = $1) =~ tr/A-Z/a-z/;
+ # case insensitive keywords
+ if (! defined($badkeys{$key})) {
+ $state = $INBIB;
+ $bibentry = $_;
+ } elsif ($passthroughbad) {
+ print "$_"; # a hack for @string
+ };
+ };
+ } elsif ($state == $INBIB) {
+ $bibentry .= $_;
+ if (/^[ \t]*}/) { # ending
+ $searchentry = &printtosearch($bibentry);
+ if ($searchentry =~ /$pattern/i) {
+ print "$file:\n" if ($manyfiles);
+ print "$bibentry\n";
+ };
+ $state = $LOOKING;
+ }
+ } else {
+ die ("state problem, $state\n");
+ };
+ };
+};
+
+
diff --git a/biblio/bibtex/utils/lookbibtex/release b/biblio/bibtex/utils/lookbibtex/release
new file mode 100644
index 0000000000..d9d7ef5a4b
--- /dev/null
+++ b/biblio/bibtex/utils/lookbibtex/release
@@ -0,0 +1 @@
+1.43
diff --git a/biblio/bibtex/utils/ltb2bib/README b/biblio/bibtex/utils/ltb2bib/README
new file mode 100644
index 0000000000..23f00073d9
--- /dev/null
+++ b/biblio/bibtex/utils/ltb2bib/README
@@ -0,0 +1,58 @@
+ +---------------------------------------+
+ | ltb2bib |
+ | |
+ | Convert a .ltb bibliography to .bib |
+ | |
+ | By Laurent Bartholdi, |
+ | laurent.bartholdi@gmail.com |
+ +---------------------------------------+
+
+Description
+===========
+
+This package implements a LaTeX command that converts an amsrefs
+bibliographical database (.ltb) to a BibTeX bibliographical database
+(.bib).
+
+The typical usage is to run LaTeX on a document such as
+
+\documentclass{article}
+\usepackage{ltb2bib}
+\begin{document}
+\writebib{bblsource}{bibdest}
+\end{document}
+
+This will convert the bibliographical entries in bblsource.ltb to
+BibTeX format, and write them to bibdest.bib.
+
+ltb2bib is the reverse of the "amsxport" option in amsrefs. Typical uses are:
+
+* produce bib entries for some publishers which don't accept amsrefs
+ (Taylor & Francis, for example);
+
+* import an ltb database in a database management program, e.g. for sorting;
+
+* access one's ltb database within emacs's RefTeX mode.
+
+
+Change log (reverse chronological order)
+=====================
+
+2017-04-03 ltb2bib 0.01
+ First release in the wild
+
+
+Copyright and License
+=====================
+
+Copyright (C) 2017 Laurent Bartholdi
+
+This work may be distributed and/or modified under the conditions of
+the LaTeX Project Public License, either version 1.3c of this license
+or (at your option) any later version. The latest version of this
+license is in
+
+ http://www.latex-project.org/lppl.txt
+
+and version 1.3c or later is part of all distributions of LaTeX version
+2008/05/04 or later.
diff --git a/biblio/bibtex/utils/ltb2bib/bibdest.bib b/biblio/bibtex/utils/ltb2bib/bibdest.bib
new file mode 100644
index 0000000000..f598b5ca73
--- /dev/null
+++ b/biblio/bibtex/utils/ltb2bib/bibdest.bib
@@ -0,0 +1,17 @@
+% Converted bibliography from bblsource[.ltb] to bibdest.bib
+@Article{Jones2004,
+ author={{Jones, David M.}},
+ note={distributed with the \protect \textsf {amsrefs} code},
+ title={User's Guide to the \protect \textsf {amsrefs} Package},
+}
+
+@Book{SOS99,
+ author={{Swanson, Ellen} and {O'Sean, Arlene} and {Schleyer, Antoinette}},
+ year={1999},
+ edition={updated},
+ publisher={American Mathematical Society},
+ title={Mathematics into Type},
+ year={1999},
+}
+
+% End of bibdest.bib
diff --git a/biblio/bibtex/utils/ltb2bib/doltb2bib.tex b/biblio/bibtex/utils/ltb2bib/doltb2bib.tex
new file mode 100644
index 0000000000..06002b1f03
--- /dev/null
+++ b/biblio/bibtex/utils/ltb2bib/doltb2bib.tex
@@ -0,0 +1,5 @@
+\documentclass{article}
+\usepackage{ltb2bib}
+\begin{document}
+\writebib{bblsource}{bibdest}
+\end{document}
diff --git a/biblio/bibtex/utils/ltb2bib/ltb2bib.dtx b/biblio/bibtex/utils/ltb2bib/ltb2bib.dtx
new file mode 100644
index 0000000000..3b54394a4d
--- /dev/null
+++ b/biblio/bibtex/utils/ltb2bib/ltb2bib.dtx
@@ -0,0 +1,359 @@
+% \iffalse meta-comment
+%
+% Copyright (C) 2017 by Laurent Bartholdi <laurent.bartholdi@gmail.com>
+% ---------------------------------------------------------------------------
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Laurent Bartholdi.
+%
+% This work consists of the files ltb2bib.dtx and ltb2bib.ins
+% and the derived filebase ltb2bib.sty.
+%
+% \fi
+%
+% \iffalse
+%<*driver>
+\ProvidesFile{ltb2bib.dtx}
+%</driver>
+%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+%<package>\ProvidesPackage{ltb2bib}
+%<*package>
+ [2017/04/03 0.01 First release in the wild]
+%</package>
+%
+%<*driver>
+\documentclass{ltxdoc}
+\EnableCrossrefs
+\CodelineIndex
+\RecordChanges
+\begin{document}
+ \DocInput{ltb2bib.dtx}
+ \PrintChanges
+ \PrintIndex
+\end{document}
+%</driver>
+% \fi
+%
+% \CheckSum{452}
+%
+% \CharacterTable
+% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+% Digits \0\1\2\3\4\5\6\7\8\9
+% Exclamation \! Double quote \" Hash (number) \#
+% Dollar \$ Percent \% Ampersand \&
+% Acute accent \' Left paren \( Right paren \)
+% Asterisk \* Plus \+ Comma \,
+% Minus \- Point \. Solidus \/
+% Colon \: Semicolon \; Less than \<
+% Equals \= Greater than \> Question mark \?
+% Commercial at \@ Left bracket \[ Backslash \\
+% Right bracket \] Circumflex \^ Underscore \_
+% Grave accent \` Left brace \{ Vertical bar \|
+% Right brace \} Tilde \~}
+%
+%
+% \changes{0.01}{2017/04/03}{Converted to DTX file}
+%
+% \DoNotIndex{\def,\newwrite,\newskip,\newenvironment,\gdef,\immediate,\let}
+%
+% \providecommand*{\url}{\texttt}
+% \GetFileInfo{ltb2bib.dtx}
+% \title{The \textsf{ltb2bib} package}
+% \author{Laurent Bartholdi \\ \url{laurent.bartholdi@gmail.com}}
+% \date{\fileversion~from \filedate}
+%
+% \maketitle
+%
+% \section{Introduction}
+%
+% The \textsf{amsrefs} package is a wonderful, pure-\LaTeX\
+% implementation of bibliographical databases. In a format close to
+% Bib\TeX's, one writes entries in database files (say
+% \verb+ltbsource.ltb+); \LaTeX\ extracts from these files the entries
+% required for the document (say \verb+myarticle.tex+), writes them to
+% myarticle.bbl and incorporates them in the document's bibliography
+% section. The file \verb+myarticle.bbl+ can be sent to the publisher
+% along with \verb+myarticle.tex+, or can be directly incorporated
+% into it.
+%
+% It happens, sometimes, that one needs the bibliographical entries in
+% Bib\TeX\ format:
+% \begin{itemize}
+% \item Some publishers (Taylor \& Francis, for example) refuse
+% to process \textsf{amsrefs} files, and require the authors to manually
+% retype them;
+% \item \textsf{amsrefs} cannot sort entries, so it may be useful to
+% convert a \textsf{amsrefs} database to Bib\TeX\ format to feed them to
+% bibliography management software;
+% \item \textsf{emacs}'s Ref\TeX\ mode, for example, requires the database
+% in Bib\TeX\ format.
+% \end{itemize}
+%
+% For these purposes, I have written this short \LaTeX\ package that
+% converts an \textsf{amsrefs} bibliography file to Bib\TeX.
+%
+% Note that the inverse operation, namely producing a \textsf{amsrefs}
+% bibliographical database out of a Bib\TeX\ one, is implemented by
+% the \verb+amsxport+ option of \textsf{amsrefs}.
+%
+% \section{Usage}
+%
+% The only command supplied by this package is \verb+\writebib+. It is
+% typically used in a driver-document \verb+doltb2bib.tex+ such as
+% the following:
+% \begin{verbatim}
+% \documentclass{article}
+% \usepackage{ltb2bib}
+% \begin{document}
+% \writebib{ltbsource}{bibdest}
+% \end{document}
+% \end{verbatim}
+% which, when invoked with `\verb+latex doltb2bib+', produces from
+% \verb+ltbsource.ltb+ the file \verb+bibdest.bib+.
+%
+% \DescribeMacro{\writebib}
+%
+% This command takes two arguments: an input and an output
+% filename. If the input filename is given without extension, then the
+% actual filename may have the extension \verb+.ltb+; and similarly
+% the output will be written to a file with the \verb+.bib+ extension
+% added.
+%
+% This command reads all \verb+\bib+ entries from the input file, and
+% writes corresponding Bib\TeX\ entries to the output file. It produces no
+% output.
+%
+% \StopEventually{}
+%
+% \section{Implementation}
+%
+% \iffalse
+%<*package>
+% \fi
+%
+% \begin{macrocode}
+\ProvidesPackage{ltb2bib}[2017/04/03 v0.01]
+\@ifundefined{thebibliography}{\newenvironment{thebibliography}{}{}}{}
+\@ifundefined{footnotesize}{\let\footnotesize\relax}{}
+\RequirePackage{amsrefs}
+\RequirePackage{xpatch}
+\newwrite\@bibfile
+% \end{macrocode}
+% make a copy of protected@iwrite, and patch it to add \verb+\immediate+
+% \begin{macrocode}
+\let\protected@iwrite\protected@write
+\xpatchcmd{\protected@iwrite}{\write}{\immediate\write}{}{}
+\def\bib@write#1{\protected@iwrite\@bibfile{\let~\relax\def\ndash{--}}{#1}}
+\gdef\space{ }
+\gdef\spsp{\space\space}
+% \end{macrocode}
+%
+% treat the multiple entries to be coalesced, with \verb+\name+ prepended to names
+% \begin{macro}{\@author}
+% \begin{macrocode}
+\def\@author#1{\toks0={}\toks1={}%
+ \def\name##1{\toks0=\expandafter{\the\toks0\the\toks1{##1}}\toks1={\spsp and }}%
+ #1
+ \bib@write{\spsp author={\the\toks0},}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+%
+% \begin{macro}{\@editor}
+% \begin{macrocode}
+\def\@editor#1{\toks0={}\toks1={}%
+ \def\name##1{\toks0=\expandafter{\the\toks0\the\toks1{##1}}\toks1={\spsp and }}%
+ #1
+ \bib@write{\spsp editor={\the\toks0},}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+%
+% \begin{macro}{\@translator}
+% \begin{macrocode}
+\def\@translator#1{\toks0={}\toks1={}%
+ \def\name##1{\toks0=\expandafter{\the\toks0\the\toks1{##1}}\toks1={\spsp and }}%
+ #1
+ \bib@write{\spsp translator={\the\toks0},}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+%
+% Keys which may appear multiply, but which we don't coalesce
+% \begin{macrocode}
+\def\@contribution#1{\bib@write{\spsp contribution=\@charlb#1\@charrb,}}
+\def\@isbn#1{\def\fld@elt##1{\bib@write{\spsp isbn=\@charlb##1\@charrb,}}#1}
+\def\@issn#1{\def\fld@elt##1{\bib@write{\spsp issn=\@charlb##1\@charrb,}}#1}
+\def\@review#1{\def\MR##1{\let\MR\relax\bib@write{\spsp review={\MR{##1}},}}#1}
+\def\@partial#1{\bib@write{\spsp partial=\@charlb#1\@charrb,}}
+% \end{macrocode}
+%
+% Keys which translate directly to simple keys
+% \begin{macrocode}
+\def\@accessdate#1{\bib@write{\spsp accessdate=\@charlb#1\@charrb,}}
+\def\@address#1{\bib@write{\spsp address=\@charlb#1\@charrb,}}
+\def\@book#1{\bib@write{\spsp book=\@charlb#1\@charrb,}}
+\def\@booktitle#1{\bib@write{\spsp booktitle=\@charlb#1\@charrb,}}
+\def\@conference#1{\bib@write{\spsp conference=\@charlb#1\@charrb,}}
+\def\@copula#1{\bib@write{\spsp copula=\@charlb#1\@charrb,}}
+\def\@date#1{\bib@write{\spsp year=\@charlb#1\@charrb,}}
+\def\@doi#1{\bib@write{\spsp doi=\@charlb#1\@charrb,}}
+\def\@edition#1{\bib@write{\spsp edition=\@charlb#1\@charrb,}}
+\def\@eprint#1{\bib@write{\spsp eprint=\@charlb#1\@charrb,}}
+\def\@fulljournal#1{\bib@write{\spsp fulljournal=\@charlb#1\@charrb,}}
+\def\@hyphenation#1{\bib@write{\spsp hyphenation=\@charlb#1\@charrb,}}
+\def\@institution#1{\bib@write{\spsp institution=\@charlb#1\@charrb,}}
+\def\@journal#1{\bib@write{\spsp journal=\@charlb#1\@charrb,}}
+\def\@label#1{\bib@write{\spsp label=\@charlb#1\@charrb,}}
+\def\@language#1{\bib@write{\spsp language=\@charlb#1\@charrb,}}
+\def\@name#1{\bib@write{\spsp name=\@charlb#1\@charrb,}}
+\def\@note#1{\bib@write{\spsp note=\@charlb#1\@charrb,}}
+\def\@number#1{\bib@write{\spsp number=\@charlb#1\@charrb,}}
+\def\@organization#1{\bib@write{\spsp organization=\@charlb#1\@charrb,}}
+\def\@pages#1{\bib@write{\spsp pages=\@charlb#1\@charrb,}}
+\def\@part#1{\bib@write{\spsp part=\@charlb#1\@charrb,}}
+\def\@place#1{\bib@write{\spsp place=\@charlb#1\@charrb,}}
+\def\@publisher#1{\bib@write{\spsp publisher=\@charlb#1\@charrb,}}
+\def\@reprint#1{\bib@write{\spsp reprint=\@charlb#1\@charrb,}}
+\def\@school#1{\bib@write{\spsp school=\@charlb#1\@charrb,}}
+\def\@series#1{\bib@write{\spsp series=\@charlb#1\@charrb,}}
+\def\@setup#1{\bib@write{\spsp setup=\@charlb#1\@charrb,}}
+\def\@status#1{\bib@write{\spsp status=\@charlb#1\@charrb,}}
+\def\@subtitle#1{\bib@write{\spsp subtitle=\@charlb#1\@charrb,}}
+\def\@title#1{\bib@write{\spsp title=\@charlb#1\@charrb,}}
+\def\@translation#1{\bib@write{\spsp translation=\@charlb#1\@charrb,}}
+\def\@type#1{\bib@write{\spsp type=\@charlb#1\@charrb,}}
+\def\@url#1{\bib@write{\spsp url=\@charlb#1\@charrb,}}
+\def\@volume#1{\bib@write{\spsp volume=\@charlb#1\@charrb,}}
+\def\@xref#1{\bib@write{\spsp xref=\@charlb#1\@charrb,}}
+\def\@year#1{\bib@write{\spsp year=\@charlb#1\@charrb,}}
+% \end{macrocode}
+%
+% We create a bib specification to output the data in Bib\TeX\ format,
+% rather than as a formatted bibliography.
+% \begin{macro}{\make@bibspec}
+% \begin{macrocode}
+\def\make@bibspec#1#2{\BibSpec{#1}{%
+ +{}{\bib@write{@#2\@charlb\current@citekey,}}{transition}
+ +{}{\@author} {author}
+ +{}{\@editor} {editor}
+ +{}{\@translator} {translator}
+ +{}{\@contribution} {contribution}
+ +{}{\@isbn} {isbn}
+ +{}{\@issn} {issn}
+ +{}{\@review} {review}
+ +{}{\@partial} {partial}
+ +{}{\@accessdate} {accessdate}
+ +{}{\@address} {address}
+ +{}{\@book} {book}
+ +{}{\@booktitle} {booktitle}
+ +{}{\@conference} {conference}
+ +{}{\@copula} {copula}
+ +{}{\@date} {date}
+ +{}{\@doi} {doi}
+ +{}{\@edition} {edition}
+ +{}{\@eprint} {eprint}
+ +{}{\@fulljournal} {fulljournal}
+ +{}{\@hyphenation} {hyphenation}
+ +{}{\@institution} {institution}
+ +{}{\@journal} {journal}
+ +{}{\@label} {label}
+ +{}{\@language} {language}
+ +{}{\@name} {name}
+ +{}{\@note} {note}
+ +{}{\@number} {number}
+ +{}{\@organization} {organization}
+ +{}{\@pages} {pages}
+ +{}{\@part} {part}
+ +{}{\@place} {place}
+ +{}{\@publisher} {publisher}
+ +{}{\@reprint} {reprint}
+ +{}{\@school} {school}
+ +{}{\@series} {series}
+ +{}{\@setup} {setup}
+ +{}{\@status} {status}
+ +{}{\@subtitle} {subtitle}
+ +{}{\@title} {title}
+ +{}{\@translation} {translation}
+ +{}{\@type} {type}
+ +{}{\@url} {url}
+ +{}{\@volume} {volume}
+ +{}{\@xref} {xref}
+ +{}{\@year} {year}
+ +{}{\bib@write{\@charrb^^J}}{transition}
+}}
+% \end{macrocode}
+% \end{macro}
+%
+% amsrefs treats bib entries as items in an enumeration. We'll just make
+% sure nothing is produced in the output, and set the paragraph skips between
+% items to be 0.
+% \begin{macrocode}
+\newskip\ltb@baselineskip
+\newskip\ltb@parskip
+% \end{macrocode}
+%
+% The main command: just run \verb+bibselect+ on the input file, after
+% having set up the desired bibspec.
+% \begin{macro}{\writebib}
+% \begin{macrocode}
+\newcommand\writebib[2]{%
+ \immediate\openout\@bibfile=#2.bib
+ \bib@write{\@percentchar\space Converted bibliography from #1[.ltb] to #2.bib}%
+ \typeout{Writing bibliography to #2.bib...}%
+ \make@bibspec{article}{Article}%
+ \make@bibspec{partial}{InCollection}%
+ \make@bibspec{contribution}{InCollection}%
+ \make@bibspec{book}{Book}%
+ \make@bibspec{collection.article}{InCollection}%
+ \make@bibspec{conference}{Conference}%
+ \make@bibspec{innerbook}{InBook}%
+ \make@bibspec{report}{TechReport}%
+ \make@bibspec{thesis}{PhdThesis}%
+ \make@bibspec{webpage}{Misc}%
+% \end{macrocode}
+% Set paragraph separation to 0, so that all \verb+\item+s produced by
+% \textsf{amsrefs} appear superimposed in the output:
+% \begin{macrocode}
+ \ltb@parskip=\parskip
+ \ltb@baselineskip=\baselineskip
+ \let\ltb@item=\item
+ \parskip=0pt
+ \baselineskip=0pt
+ \let\item=\relax
+% \end{macrocode}
+% \verb+\fld@elt+ is defined to be ``?'' by
+% \textsf{amsrefs}. Sometimes this character gets shipped out; we
+% simply remove it by redefining \verb+\fld@elt+.
+% \begin{macrocode}
+ \let\fld@elt=\relax
+ \bibselect*{#1}%
+ \bib@write{\@percentchar\space End of #2.bib}%
+ \immediate\closeout\@bibfile
+ \parskip=\ltb@parskip
+ \baselineskip=\ltb@baselineskip
+ \let\item=\ltb@item
+}
+% \end{macrocode}
+% \end{macro}
+%
+
+%
+% \iffalse
+%</package>
+% \fi
+%
+% \Finale
+\endinput
diff --git a/biblio/bibtex/utils/ltb2bib/ltb2bib.ins b/biblio/bibtex/utils/ltb2bib/ltb2bib.ins
new file mode 100644
index 0000000000..03ccba25f4
--- /dev/null
+++ b/biblio/bibtex/utils/ltb2bib/ltb2bib.ins
@@ -0,0 +1,57 @@
+%% Copyright (C) 2017 by Laurent Bartholdi <laurent.bartholdi@gmail.com>
+%% --------------------------------------------------------------------------
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Laurent Bartholdi.
+%%
+%% This work consists of the files ltb2bib.dtx and ltb2bib.ins
+%% and the derived filebase ltb2bib.sty.
+%%
+
+\input docstrip.tex
+\keepsilent
+
+\usedir{tex/latex/ltb2bib}
+
+\preamble
+
+This is a generated file.
+
+Copyright (C) 2017 by Laurent Bartholdi <laurent.bartholdi@gmail.com>
+--------------------------------------------------------------------------
+This work may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either version 1.3
+of this license or (at your option) any later version.
+The latest version of this license is in
+ http://www.latex-project.org/lppl.txt
+and version 1.3 or later is part of all distributions of LaTeX
+version 2005/12/01 or later.
+
+\endpreamble
+
+\generate{\file{ltb2bib.sty}{\from{ltb2bib.dtx}{package}}}
+
+\obeyspaces
+\Msg{*************************************************************}
+\Msg{* *}
+\Msg{* To finish the installation you have to move the following *}
+\Msg{* file into a directory searched by TeX: *}
+\Msg{* *}
+\Msg{* ltb2bib.sty *}
+\Msg{* *}
+\Msg{* To produce the documentation run the file ltb2bib.dtx *}
+\Msg{* through LaTeX. *}
+\Msg{* *}
+\Msg{* Happy TeXing! *}
+\Msg{* *}
+\Msg{*************************************************************}
+
+\endbatchfile
diff --git a/biblio/bibtex/utils/ltb2bib/ltb2bib.pdf b/biblio/bibtex/utils/ltb2bib/ltb2bib.pdf
new file mode 100644
index 0000000000..512a619b3f
--- /dev/null
+++ b/biblio/bibtex/utils/ltb2bib/ltb2bib.pdf
Binary files differ
diff --git a/biblio/bibtex/utils/ltb2bib/ltbsource.ltb b/biblio/bibtex/utils/ltb2bib/ltbsource.ltb
new file mode 100644
index 0000000000..a1b1ffe304
--- /dev/null
+++ b/biblio/bibtex/utils/ltb2bib/ltbsource.ltb
@@ -0,0 +1,14 @@
+\bib{Jones2004}{article}{
+ author={Jones, David M.},
+ title={User's Guide to the \textsf{amsrefs} Package},
+ note={distributed with the \textsf{amsrefs} code}
+}
+\bib{SOS99}{book}{
+ author={Swanson, Ellen},
+ author={O'Sean, Arlene},
+ author={Schleyer, Antoinette},
+ title={Mathematics into Type},
+ edition={updated},
+ year={1999},
+ publisher={American Mathematical Society},
+}
diff --git a/biblio/bibtex/utils/mab2bib/README b/biblio/bibtex/utils/mab2bib/README
new file mode 100644
index 0000000000..44f4203324
--- /dev/null
+++ b/biblio/bibtex/utils/mab2bib/README
@@ -0,0 +1,143 @@
+mab2bib & utf8_to_latex
+=======================
+
+Version: 2009-06-15
+
+
+----- [de] ------
+
+Lizenz: Python-Lizenz (Open Source)
+Autor: Henning Hraban Ramm, fiëé visuëlle
+Email: hraban@fiee.net
+URL: http://www.fiee.net
+
+
+Beschreibung
+------------
+
+Zwei kleine Hilfsprogramme zu BibTeX:
+
+"mab2bib" konvertiert Bibliografiedaten im MAB-Format zu BibTeX
+
+"utf8_to_latex" konvertiert Textdateien in UTF-8-Encoding zu LaTeX-ASCII
+
+
+Voraussetzungen
+---------------
+
+- Python 2.5 (ab 2.3 müsste gehen)
+- LaTeX-Codec von D. Eppstein (latex.py, wird mitgeliefert)
+
+
+Verwendung
+----------
+
+Die Datei latex.py muss im gleichen Verzeichnis liegen
+wie die beiden anderen Skripte!
+(Sie darf natürlich auch sauber als Codec installiert werden,
+das erkläre ich jetzt aber nicht.)
+
+* Konvertierung von Textdateien in UTF-8 in LaTeX mit Babel (aus ä wird "a):
+
+ [python] utf8_to_latex.py <Eingabedatei> [<Ausgabedatei>]
+
+ Fehlt der Ausgabename, wird die alte Datei mit der Endung .bak gesichert
+ und überschrieben.
+
+ Das Skript kann übrigens für andere Textkonvertierungen einfach kopiert
+ und umbenannt werden, z.B. "macroman_to_latin1.py", die Möglichkeiten
+ richten sich nach den vorhandenen Codecs in der Python-Distribution.
+
+* Konvertierung von MAB-Dateien in Latin-1 (ISO 8859-1) in BibTeX:
+
+ [python] mab2bib.py <MAB-Datei> [<BibTeX-Datei>]
+
+ Ist keine Ausgabedatei angegeben, wird an die Eingabedatei '.bib' angehängt.
+
+
+Probleme
+--------
+
+- Die Skripte sind sehr einfach und fangen viele Fehler nicht ab.
+- An den Ausgabe-Dateien ist in den meisten Fällen noch Handarbeit nötig.
+- Wenn die Eingabecodierung nicht Latin-1 ist (sondern z.B. Mac Roman),
+ muss man in mab2bib.py an der einzigen Stelle, wo "latin-1" steht, die
+ richtige Codierung eintragen (z.B. "mac-roman").
+- Ich hatte keine vollständige Liste von möglichen MAB-Nummern und BibTeX-
+ Schlüsseln, daher muss die Zuweisungstabelle in mab2bib.py eventuell
+ angepasst werden (einfach mal reinschauen, dürfte verständlich sein).
+
+----- [en] -----
+
+License: Python License (Open Source)
+Author: Henning Hraban Ramm, fiëé visuëlle
+Email: hraban@fiee.net
+URL: http://www.fiee.net
+
+Abstract
+--------
+
+Two small tools for BibTeX:
+
+"mab2bib" converts bibliographical data in MAB format into BibTeX
+
+"utf8_to_latex" converts text files in UTF-8 encoding into LaTeX ASCII
+
+
+Prerequisites
+-------------
+
+- Python 2.5 (2.3 and up should work)
+- LaTeX-Codec by D. Eppstein (latex.py, included)
+
+
+Usage
+-----
+
+The file latex.py must stay in the same directory as the other two scripts!
+(It may get properly installed as a coded instead, but I won't explain that.)
+
+* Convert a text file in UTF-8 into LaTeX with Babel (ä becomes "a)
+
+ [python] utf8_to_latex.py <input file> [<output file>]
+
+ If the output file name is missing, the input file is saved with a .bak
+ extension and overwritten.
+
+ BTW you can simply copy and rename the script for other text conversions,
+ e.g. "macroman_to_latin1.py", only limited by the codecs in your Python
+ installation.
+
+* Convert a MAB file in Latin-1 (ISO 8859-1) into BibTeX:
+
+ [python] mab2bib.py <MAB file> [<BibTeX file>]
+
+ Without an output file name, the input file name is used with a .bib
+ extension added.
+
+
+Problems
+--------
+
+- The scripts are very simple and don't catch a lot or errors.
+- In most cases there's manual work needed at the output files.
+- If the input encoding is any other that Latin-1 (e.g. Mac Roman),
+ you must change the only place in mab2bib.py where you find
+ "latin-1" into the right encoding (e.g. "mac-roman").
+- I didn't get a complete list of MAB numbers and BibTeX keys, therefore
+ you must eventually adapt the mapping table in mab2bib.py (just look
+ into it, it should be easy to understand).
+
+
+
+
+----- [*] -----
+
+Links
+-----
+
+- fiëé Repository: http://github.com/fiee/tools/tree/master
+- BibTeX und Koala: http://www.ub.uni-konstanz.de/serviceangebote/literaturverwaltung/bibtex.html
+- Python: http://www.python.org
+- Python-Lizenz: http://python.org/psf/license/
+
diff --git a/biblio/bibtex/utils/mab2bib/latex.py b/biblio/bibtex/utils/mab2bib/latex.py
new file mode 100644
index 0000000000..e8a82b1c38
--- /dev/null
+++ b/biblio/bibtex/utils/mab2bib/latex.py
@@ -0,0 +1,531 @@
+#!/bin/env python
+"""latex.py
+
+Character translation utilities for LaTeX-formatted text.
+
+Usage:
+ - unicode(string,'latex')
+ - ustring.decode('latex')
+are both available just by letting "import latex" find this file.
+ - unicode(string,'latex+latin1')
+ - ustring.decode('latex+latin1')
+where latin1 can be replaced by any other known encoding, also
+become available by calling latex.register().
+
+We also make public a dictionary latex_equivalents,
+mapping ord(unicode char) to LaTeX code.
+
+D. Eppstein, October 2003.
+source: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/252124
+License: Python license (http://python.org/doc/Copyright.html)
+modified for mab2bib 2005/2006 by Henning Hraban Ramm
+"""
+
+#from __future__ import generators
+import codecs
+import re
+from sets import Set
+
+def register():
+ """Enable encodings of the form 'latex+x' where x describes another encoding.
+ Unicode characters are translated to or from x when possible, otherwise
+ expanded to latex.
+ """
+ codecs.register(_registry)
+
+def getregentry():
+ """Encodings module API."""
+ return _registry('latex')
+
+def _registry(encoding):
+ if encoding == 'latex':
+ encoding = None
+ elif encoding.startswith('latex+'):
+ encoding = encoding[6:]
+ else:
+ return None
+
+ class Codec(codecs.Codec):
+ def encode(self,input,errors='strict'):
+ """Convert unicode string to latex."""
+ output = []
+ for c in input:
+ if encoding:
+ try:
+ output.append(c.encode(encoding))
+ continue
+ except:
+ pass
+ if ord(c) in latex_equivalents:
+ output.append(latex_equivalents[ord(c)])
+ else:
+ output += ['{\\char', str(ord(c)), '}']
+ return ''.join(output), len(input)
+
+ def decode(self,input,errors='strict'):
+ """Convert latex source string to unicode."""
+ if encoding:
+ input = unicode(input,encoding,errors)
+
+ # Note: we may get buffer objects here.
+ # It is not permussable to call join on buffer objects
+ # but we can make them joinable by calling unicode.
+ # This should always be safe since we are supposed
+ # to be producing unicode output anyway.
+ x = map(unicode,_unlatex(input))
+ return u''.join(x), len(input)
+
+ class StreamWriter(Codec,codecs.StreamWriter):
+ pass
+
+ class StreamReader(Codec,codecs.StreamReader):
+ pass
+
+ return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
+
+def _tokenize(tex):
+ """Convert latex source into sequence of single-token substrings."""
+ start = 0
+ try:
+ # skip quickly across boring stuff
+ pos = _stoppers.finditer(tex).next().span()[0]
+ except StopIteration:
+ yield tex
+ return
+
+ while 1:
+ if pos > start:
+ yield tex[start:pos]
+ if tex[start] == '\\' and not (tex[pos-1].isdigit() and tex[start+1].isalpha()):
+ while pos < len(tex) and tex[pos].isspace(): # skip blanks after csname
+ pos += 1
+
+ while pos < len(tex) and tex[pos] in _ignore:
+ pos += 1 # flush control characters
+ if pos >= len(tex):
+ return
+ start = pos
+ if tex[pos:pos+2] in {'$$':None, '/~':None}: # protect ~ in urls
+ pos += 2
+ elif tex[pos].isdigit():
+ while pos < len(tex) and tex[pos].isdigit():
+ pos += 1
+ elif tex[pos] == '-':
+ while pos < len(tex) and tex[pos] == '-':
+ pos += 1
+ elif tex[pos] != '\\' or pos == len(tex) - 1:
+ pos += 1
+ elif not tex[pos+1].isalpha():
+ pos += 2
+ else:
+ pos += 1
+ while pos < len(tex) and tex[pos].isalpha():
+ pos += 1
+ if tex[start:pos] == '\\char' or tex[start:pos] == '\\accent':
+ while pos < len(tex) and tex[pos].isdigit():
+ pos += 1
+
+class _unlatex:
+ """Convert tokenized tex into sequence of unicode strings. Helper for decode()."""
+
+ def __iter__(self):
+ """Turn self into an iterator. It already is one, nothing to do."""
+ return self
+
+ def __init__(self,tex):
+ """Create a new token converter from a string."""
+ self.tex = tuple(_tokenize(tex)) # turn tokens into indexable list
+ self.pos = 0 # index of first unprocessed token
+ self.lastoutput = 'x' # lastoutput must always be nonempty string
+
+ def __getitem__(self,n):
+ """Return token at offset n from current pos."""
+ p = self.pos + n
+ t = self.tex
+ return p < len(t) and t[p] or None
+
+ def next(self):
+ """Find and return another piece of converted output."""
+ if self.pos >= len(self.tex):
+ raise StopIteration
+ nextoutput = self.chunk()
+ if self.lastoutput[0] == '\\' and self.lastoutput[-1].isalpha() and nextoutput[0].isalpha():
+ nextoutput = ' ' + nextoutput # add extra space to terminate csname
+ self.lastoutput = nextoutput
+ return nextoutput
+
+ def chunk(self):
+ """Grab another set of input tokens and convert them to an output string."""
+ for delta,c in self.candidates(0):
+ if c in _l2u:
+ self.pos += delta
+ return unichr(_l2u[c])
+ elif len(c) == 2 and c[1] == 'i' and (c[0],'\\i') in _l2u:
+ self.pos += delta # correct failure to undot i
+ return unichr(_l2u[(c[0],'\\i')])
+ elif len(c) == 1 and c[0].startswith('\\char') and c[0][5:].isdigit():
+ self.pos += delta
+ return unichr(int(c[0][5:]))
+
+ # nothing matches, just pass through token as-is
+ self.pos += 1
+ return self[-1]
+
+ def candidates(self,offset):
+ """Generate pairs delta,c where c is a token or tuple of tokens from tex
+ (after deleting extraneous brackets starting at pos) and delta
+ is the length of the tokens prior to bracket deletion.
+ """
+ t = self[offset]
+ if t in _blacklist:
+ return
+ elif t == '':
+ for delta,c in self.candidates(offset+1):
+ if self[offset+delta+1] == '}':
+ yield delta+2,c
+ elif t == '\\mbox':
+ for delta,c in self.candidates(offset+1):
+ yield delta+1,c
+ elif t == '$' and self[offset+2] == '$':
+ yield 3, (t,self[offset+1],t)
+ else:
+ q = self[offset+1]
+ if q == '' and self[offset+3] == '}':
+ yield 4, (t,self[offset+2])
+ elif q:
+ yield 2, (t,q)
+ yield 1, t
+
+latex_equivalents = {
+ 0x0009: ' ',
+ 0x000a: '\n',
+ 0x0023: '\#',
+ 0x0026: '\&',
+ 0x00a0: '~',
+ 0x00a1: '!`',
+ 0x00a2: '\\not{c}',
+ 0x00a3: '\\pounds',
+ 0x00a7: '\\S',
+ 0x00a8: '\\"{}',
+ 0x00a9: '\\copyright',
+ 0x00af: '\\={}',
+ 0x00ac: '\\neg',
+ 0x00ad: '\\-',
+ 0x00b0: '\\mbox{$^\\circ$}',
+ 0x00b1: '\\mbox{$\\pm$}',
+ 0x00b2: '\\mbox{$^2$}',
+ 0x00b3: '\\mbox{$^3$}',
+ 0x00b4: "\\'{",
+ 0x00b5: '\\mbox{$\\mu$}',
+ 0x00b6: '\\P',
+ 0x00b7: '\\mbox{$\\cdot$}',
+ 0x00b8: '\\c{}',
+ 0x00b9: '\\mbox{$^1$}',
+ 0x00bf: '?`',
+ 0x00c0: '\\`A',
+ 0x00c1: "\\'A",
+ 0x00c2: '\\^A',
+ 0x00c3: '\\~A',
+ 0x00c4: '\\"A',
+ 0x00c5: '\\AA',
+ 0x00c6: '\\AE',
+ 0x00c7: '\\c{C}',
+ 0x00c8: '\\`E',
+ 0x00c9: "\\'E",
+ 0x00ca: '\\^E',
+ 0x00cb: '\\"E',
+ 0x00cc: '\\`I',
+ 0x00cd: "\\'I",
+ 0x00ce: '\\^I',
+ 0x00cf: '\\"I',
+ 0x00d1: '\\~N',
+ 0x00d2: '\\`O',
+ 0x00d3: "\\'O",
+ 0x00d4: '\\^O',
+ 0x00d5: '\\~O',
+ 0x00d6: '\\"O',
+ 0x00d7: '\\mbox{$\\times$}',
+ 0x00d8: '\\O',
+ 0x00d9: '\\`U',
+ 0x00da: "\\'U",
+ 0x00db: '\\^U',
+ 0x00dc: '\\"U',
+ 0x00dd: "\\'Y",
+ 0x00df: '\\ss',
+ 0x00e0: '\\`a',
+ 0x00e1: "\\'a",
+ 0x00e2: '\\^a',
+ 0x00e3: '\\~a',
+ 0x00e4: '\\"a',
+ 0x00e5: '\\aa',
+ 0x00e6: '\\ae',
+ 0x00e7: '\\c{c}',
+ 0x00e8: '\\`e',
+ 0x00e9: "\\'e",
+ 0x00ea: '\\^e',
+ 0x00eb: '\\"e',
+ 0x00ec: '\\`\\i',
+ 0x00ed: "\\'\\i",
+ 0x00ee: '\\^\\i',
+ 0x00ef: '\\"\\i',
+ 0x00f1: '\\~n',
+ 0x00f2: '\\`o',
+ 0x00f3: "\\'o",
+ 0x00f4: '\\^o',
+ 0x00f5: '\\~o',
+ 0x00f6: '\\"o',
+ 0x00f7: '\\mbox{$\\div$}',
+ 0x00f8: '\\o',
+ 0x00f9: '\\`u',
+ 0x00fa: "\\'u",
+ 0x00fb: '\\^u',
+ 0x00fc: '\\"u',
+ 0x00fd: "\\'y",
+ 0x00ff: '\\"y',
+
+ 0x0100: '\\=A',
+ 0x0101: '\\=a',
+ 0x0102: '\\u{A}',
+ 0x0103: '\\u{a}',
+ 0x0104: '\\c{A}',
+ 0x0105: '\\c{a}',
+ 0x0106: "\\'C",
+ 0x0107: "\\'c",
+ 0x0108: "\\^C",
+ 0x0109: "\\^c",
+ 0x010a: "\\.C",
+ 0x010b: "\\.c",
+ 0x010c: "\\v{C",
+ 0x010d: "\\v{c",
+ 0x010e: "\\v{D",
+ 0x010f: "\\v{d",
+ 0x0112: '\\=E',
+ 0x0113: '\\=e',
+ 0x0114: '\\u{E}',
+ 0x0115: '\\u{e}',
+ 0x0116: '\\.E',
+ 0x0117: '\\.e',
+ 0x0118: '\\c{E}',
+ 0x0119: '\\c{e}',
+ 0x011a: "\\v{E",
+ 0x011b: "\\v{e",
+ 0x011c: '\\^G',
+ 0x011d: '\\^g',
+ 0x011e: '\\u{G}',
+ 0x011f: '\\u{g}',
+ 0x0120: '\\.G',
+ 0x0121: '\\.g',
+ 0x0122: '\\c{G}',
+ 0x0123: '\\c{g}',
+ 0x0124: '\\^H',
+ 0x0125: '\\^h',
+ 0x0128: '\\~I',
+ 0x0129: '\\~\\i',
+ 0x012a: '\\=I',
+ 0x012b: '\\=\\i',
+ 0x012c: '\\u{I}',
+ 0x012d: '\\u\\i',
+ 0x012e: '\\c{I}',
+ 0x012f: '\\c{i}',
+ 0x0130: '\\.I',
+ 0x0131: '\\i',
+ 0x0132: 'IJ',
+ 0x0133: 'ij',
+ 0x0134: '\\^J',
+ 0x0135: '\\^\\j',
+ 0x0136: '\\c{K}',
+ 0x0137: '\\c{k}',
+ 0x0139: "\\'L",
+ 0x013a: "\\'l",
+ 0x013b: "\\c{L",
+ 0x013c: "\\c{l",
+ 0x013d: "\\v{L",
+ 0x013e: "\\v{l",
+ 0x0141: '\\L',
+ 0x0142: '\\l',
+ 0x0143: "\\'N",
+ 0x0144: "\\'n",
+ 0x0145: "\\c{N",
+ 0x0146: "\\c{n",
+ 0x0147: "\\v{N",
+ 0x0148: "\\v{n",
+ 0x014c: '\\=O',
+ 0x014d: '\\=o',
+ 0x014e: '\\u{O}',
+ 0x014f: '\\u{o}',
+ 0x0150: '\\H{O}',
+ 0x0151: '\\H{o}',
+ 0x0152: '\\OE',
+ 0x0153: '\\oe',
+ 0x0154: "\\'R",
+ 0x0155: "\\'r",
+ 0x0156: "\\c{R",
+ 0x0157: "\\c{r",
+ 0x0158: "\\v{R",
+ 0x0159: "\\v{r",
+ 0x015a: "\\'S",
+ 0x015b: "\\'s",
+ 0x015c: "\\^S",
+ 0x015d: "\\^s",
+ 0x015e: "\\c{S",
+ 0x015f: "\\c{s",
+ 0x0160: "\\v{S",
+ 0x0161: "\\v{s",
+ 0x0162: "\\c{T",
+ 0x0163: "\\c{t",
+ 0x0164: "\\v{T",
+ 0x0165: "\\v{t",
+ 0x0168: "\\~U",
+ 0x0169: "\\~u",
+ 0x016a: "\\=U",
+ 0x016b: "\\=u",
+ 0x016c: "\\u{U",
+ 0x016d: "\\u{u",
+ 0x016e: "\\r{U",
+ 0x016f: "\\r{u",
+ 0x0170: "\\H{U",
+ 0x0171: "\\H{u",
+ 0x0172: "\\c{U",
+ 0x0173: "\\c{u",
+ 0x0174: "\\^W",
+ 0x0175: "\\^w",
+ 0x0176: "\\^Y",
+ 0x0177: "\\^y",
+ 0x0178: '\\"Y',
+ 0x0179: "\\'Z",
+ 0x017a: "\\'Z",
+ 0x017b: "\\.Z",
+ 0x017c: "\\.Z",
+ 0x017d: "\\v{Z",
+ 0x017e: "\\v{z",
+
+ 0x01c4: "D\\v{Z",
+ 0x01c5: "D\\v{z",
+ 0x01c6: "d\\v{z",
+ 0x01c7: "LJ",
+ 0x01c8: "Lj",
+ 0x01c9: "lj",
+ 0x01ca: "NJ",
+ 0x01cb: "Nj",
+ 0x01cc: "nj",
+ 0x01cd: "\\v{A",
+ 0x01ce: "\\v{a",
+ 0x01cf: "\\v{I",
+ 0x01d0: "\\v\\i",
+ 0x01d1: "\\v{O",
+ 0x01d2: "\\v{o",
+ 0x01d3: "\\v{U",
+ 0x01d4: "\\v{u",
+ 0x01e6: "\\v{G",
+ 0x01e7: "\\v{g",
+ 0x01e8: "\\v{K",
+ 0x01e9: "\\v{k",
+ 0x01ea: "\\c{O",
+ 0x01eb: "\\c{o",
+ 0x01f0: "\\v\\j",
+ 0x01f1: "DZ",
+ 0x01f2: "Dz",
+ 0x01f3: "dz",
+ 0x01f4: "\\'G",
+ 0x01f5: "\\'g",
+ 0x01fc: "\\'\\AE",
+ 0x01fd: "\\'\\ae",
+ 0x01fe: "\\'\\O",
+ 0x01ff: "\\'\\o",
+
+ 0x02c6: '\\^{}',
+ 0x02dc: '\\~{}',
+ 0x02d8: '\\u{}',
+ 0x02d9: '\\.{}',
+ 0x02da: "\\r{",
+ 0x02dd: '\\H{}',
+ 0x02db: '\\c{}',
+ 0x02c7: '\\v{}',
+
+ 0x03c0: '\\mbox{$\\pi$}',
+ # consider adding more Greek here
+
+ 0xfb01: 'fi',
+ 0xfb02: 'fl',
+
+ 0x2013: '--',
+ 0x2014: '---',
+ 0x2018: "`",
+ 0x2019: "'",
+ 0x201c: "``",
+ 0x201d: "''",
+ 0x2020: "\\dag",
+ 0x2021: "\\ddag",
+ 0x2122: "\\mbox{$^\\mbox{TM}$",
+ 0x2022: "\\mbox{$\\bullet$",
+ 0x2026: "\\ldots",
+ 0x2202: "\\mbox{$\\partial$",
+ 0x220f: "\\mbox{$\\prod$",
+ 0x2211: "\\mbox{$\\sum$",
+ 0x221a: "\\mbox{$\\surd$",
+ 0x221e: "\\mbox{$\\infty$",
+ 0x222b: "\\mbox{$\\int$",
+ 0x2248: "\\mbox{$\\approx$",
+ 0x2260: "\\mbox{$\\neq$",
+ 0x2264: "\\mbox{$\\leq$",
+ 0x2265: "\\mbox{$\\geq$",
+}
+for _i in range(0x0020):
+ if _i not in latex_equivalents:
+ latex_equivalents[_i] = ''
+for _i in range(0x0020,0x007f):
+ if _i not in latex_equivalents:
+ latex_equivalents[_i] = chr(_i)
+
+# Characters that should be ignored and not output in tokenization
+_ignore = Set([chr(i) for i in range(32)+[127]]) - Set('\t\n\r')
+
+# Regexp of chars not in blacklist, for quick start of tokenize
+_stoppers = re.compile('[\x00-\x1f!$\\-?\\{~\\\\`\']')
+
+_blacklist = Set(' \n\r')
+_blacklist.add(None) # shortcut candidate generation at end of data
+
+# Construction of inverse translation table
+_l2u = {
+ '\ ':ord(' ') # unexpanding space makes no sense in non-TeX contexts
+}
+
+for _tex in latex_equivalents:
+ if _tex <= 0x0020 or (_tex <= 0x007f and len(latex_equivalents[_tex]) <= 1):
+ continue # boring entry
+ _toks = tuple(_tokenize(latex_equivalents[_tex]))
+ if _toks[0] == '' and _toks[-1] == '}':
+ _toks = _toks[1:-1]
+ if _toks[0].isalpha():
+ continue # don't turn ligatures into single chars
+ if len(_toks) == 1 and (_toks[0] == "'" or _toks[0] == "`"):
+ continue # don't turn ascii quotes into curly quotes
+ if _toks[0] == '\\mbox' and _toks[1] == '' and _toks[-1] == '}':
+ _toks = _toks[2:-1]
+ if len(_toks) == 4 and _toks[1] == '' and _toks[3] == '}':
+ _toks = (_toks[0],_toks[2])
+ if len(_toks) == 1:
+ _toks = _toks[0]
+ _l2u[_toks] = _tex
+
+# Shortcut candidate generation for certain useless candidates:
+# a character is in _blacklist if it can not be at the start
+# of any translation in _l2u. We use this to quickly skip through
+# such characters before getting to more difficult-translate parts.
+# _blacklist is defined several lines up from here because it must
+# be defined in order to call _tokenize, however it is safe to
+# delay filling it out until now.
+
+for i in range(0x0020,0x007f):
+ _blacklist.add(chr(i))
+_blacklist.remove('{')
+_blacklist.remove('$')
+for candidate in _l2u:
+ if isinstance(candidate,tuple):
+ if not candidate or not candidate[0]:
+ continue
+ firstchar = candidate[0][0]
+ else:
+ firstchar = candidate[0]
+ _blacklist.discard(firstchar)
diff --git a/biblio/bibtex/utils/mab2bib/mab2bib.py b/biblio/bibtex/utils/mab2bib/mab2bib.py
new file mode 100644
index 0000000000..5a8eaf5dfd
--- /dev/null
+++ b/biblio/bibtex/utils/mab2bib/mab2bib.py
@@ -0,0 +1,218 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+"""Konvertierung vom MAB-Format in das BibTeX-Format
+"""
+import os.path, sys, re, string, codecs, latex
+
+AppInfo = """
+MAB2Bib 0.2a : bibliographischer Konverter von MAB nach BibTeX
+
+(r) 2005 by fiëé TeXnique, Henning Hraban Ramm, hraban@fiee.net
+im Auftrag von Uwe Jochum, Uni Konstanz, uwe.jochum@uni-konstanz.de
+LaTeX-Codec von D. Eppstein
+Lizenz: Python-Lizenz (http://python.org/doc/Copyright.html)
+"""
+
+AppHelp = """Aufruf: [python] mab2bib.py <MAB-Datei> [<BibTeX-Datei>]
+Ist keine Ausgabedatei angegeben, wird an die Eingabedatei '.bib' angehängt.
+
+Die Datei latex.py muss im gleichen Verzeichnis liegen!
+"""
+
+class Datensatz(dict):
+ """Datensatz einer bibliografischen Datenbank
+ Als Felder (Schlüssel) werden die MAB-felder verwendet, weil sie genauer sind
+ """
+
+ # Zuordnung von MAB-Feldern auf BibTeX-Felder
+ mab2bib = {
+ 'id' : None,
+ '081': 'title',
+ '089': 'series',
+ '100': 'author',
+ '100b': 'editor',
+ '100c': 'editor',
+ '100e': 'author',
+ '100f': 'author',
+ '104': 'author',
+ '104a': 'author',
+ '104b': 'editor',
+ '104c': 'editor',
+ '104e': 'author',
+ '104f': 'author',
+ '108': 'author',
+ '108a': 'author',
+ '108b': 'editor',
+ '108c': 'editor',
+ '108e': 'author',
+ '108f': 'author',
+ '112': 'author',
+ '112a': 'author',
+ '112b': 'editor',
+ '112c': 'editor',
+ '112e': 'author',
+ '112f': 'author',
+ '200': 'institution',
+ '200b': 'title',
+ '204': 'institution',
+ '304': 'title',
+ '310': 'title',
+ '331': 'title',
+ '333': 'author',
+ '334': 'annote',
+ '335': 'title',
+ '359': 'note',
+ '376': 'journal',
+ '400': 'edition',
+ '403': 'edition',
+ '410': 'address',
+ '412': 'publisher',
+ '415': 'address',
+ '417': 'publisher',
+ '425': 'year',
+ '433': 'pages',
+ '434': 'annote',
+ '451': 'series',
+ '454': 'series',
+ '455': 'volume',
+ '456': 'volume',
+ '501': 'annote',
+ '519': 'type',
+ '531': 'copyright',
+ '533': 'annote',
+ '540': 'ISBN',
+ '540a': 'ISBN',
+ '540b': 'ISBN',
+ '542': 'ISSN',
+ '544': 'LCCN',
+ '590': 'howpublished',
+ '596': 'howpublished',
+ '25': None
+ }
+
+ # Trennzeichen zwischen gleichartigen Einträgen in BiBTeX
+ glue = {
+ 'default': '; ',
+ 'author':' and ',
+ 'editor':' and ',
+ 'title':'. ',
+ 'series': '/',
+ }
+
+ # Ãœbersetzung von MAB-Zeichen in TeX-Zeichen
+ # Achtung, reguläre Ausdrücke!
+ # das meiste wird von latex.py erledigt!
+ tex_trans = {
+ '\xAC' : ' ', # Negationszeichen zur Bezeichnung eines Nicht-Sortierwortes(?) entfernen
+ '&lt;' : '', # werden die spitzen Klammern gebraucht?
+ '&gt;' : '',
+ '\.{2,}' : '\\dots',
+ ' - ' : ' -- ',
+ '\s+' : ' '
+ }
+
+ def __init__(self, *args, **kwargs):
+ dict.__init__(self, *args, **kwargs)
+
+ def __setitem__(self, key, value):
+ if key in self.mab2bib.keys():
+ dict.__setitem__(self, key, value)
+ else:
+ print "Unbekannter Schlüssel '%s' (Wert: '%s')" % (key, value)
+
+ def update(self, updatedict):
+ "überschrieben, damit das eigene __setitem__ verwendet wird"
+ for key in updatedict.keys():
+ self[key] = updatedict[key]
+
+ def translate(self, s, table, deletechars=None):
+ "ersetzt Sonderzeichen usw.; ähnlich string.translate"
+ for k in self.tex_trans.keys():
+ s = re.sub(k, self.tex_trans[k], s)
+ s = unicode(string.strip(s), 'latin-1').encode('latex') # evtl. mac-roman
+ return s
+
+ def BibTeXdict(self):
+ btd = {}
+ felder = self.keys()
+ felder.sort()
+ for key in felder:
+ bkey = self.mab2bib[key]
+ if not bkey: continue
+ val = self.translate(self[key], self.tex_trans)
+ if self.glue.has_key(bkey):
+ glue = self.glue[bkey]
+ else:
+ glue = self.glue['default']
+ if btd.has_key(bkey):
+ btd[bkey] = string.join((btd[bkey], val), glue)
+ else:
+ btd[bkey] = val
+ return btd
+
+ def toBibTeX(self):
+ erg = []
+ btd = self.BibTeXdict()
+ for key in btd.keys():
+ erg.append("%s\t= {%s}" % (key, btd[key]))
+ return "@book { %s,\n%s\n}\n\n" % (self['id'], string.join(erg, ",\n"))
+
+
+
+class MABfile(file):
+ """?"""
+
+ reMABzeile = re.compile('^(?P<key>\d+\w?)\s+(?P<val>.+)$', re.IGNORECASE)
+ reLeerzeile = re.compile('^\s*$')
+
+ def process(self):
+ """Lese MAB-Datei und erzeuge Liste von Datensätzen als self.daten"""
+ self.daten = []
+ dsno = -1
+ inds = False
+ for zeile in self.readlines():
+ if self.reLeerzeile.match(zeile):
+ if inds: inds = False
+ continue
+ zeile = string.strip(zeile)
+ m = self.reMABzeile.match(zeile)
+ if not m:
+ print "Ungültige MAB-Zeile: %s" % zeile
+ continue
+ key = string.lower(m.group('key'))
+ val = string.strip(m.group('val'))
+ if not inds:
+ # neuer Datensatz
+ inds = True
+ dsno += 1
+ self.daten.append(Datensatz())
+ id = string.replace(string.lower(string.split(val, None, 2)[0]), ',', '')
+ self.daten[dsno]['id'] = id + str(dsno)
+ self.daten[dsno][key] = val
+
+ def writeBibTeXfile(self, dateiname):
+ if not hasattr(self, 'daten'): self.process()
+ btf = open(dateiname, 'w')
+ for ds in self.daten:
+ btf.write(ds.toBibTeX())
+ btf.close()
+
+
+def help():
+ print AppInfo
+ print AppHelp
+ sys.exit(0)
+
+if __name__=='__main__':
+ if len(sys.argv) < 2: help()
+ mabname = sys.argv[1]
+ if not os.path.isfile(mabname):
+ print "MAB-Datei '%s' nicht gefunden!" % mabfile
+ sys.exit(1)
+ bibname = mabname+'.bib'
+ if len(sys.argv) > 2:
+ bibname = sys.argv[2]
+
+ mabfile = MABfile(mabname, 'r')
+ mabfile.writeBibTeXfile(bibname)
+ mabfile.close()
diff --git a/biblio/bibtex/utils/mab2bib/utf8_to_latex.py b/biblio/bibtex/utils/mab2bib/utf8_to_latex.py
new file mode 100755
index 0000000000..3636464d68
--- /dev/null
+++ b/biblio/bibtex/utils/mab2bib/utf8_to_latex.py
@@ -0,0 +1,129 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
+"""
+Universelle Textcodierung
+2009-06-15 by Henning Hraban Ramm, fiムe virtuムlle
+
+quellcodierung_to_zielcodierung.py [Optionen] Quelldatei [Zieldatei]
+
+Es kレnnen auch ganze Verzeichnisse bearbeitet werden.
+
+Die gew゚nschte Codierung wird aus dem Dateinamen ermittelt.
+Mレgliche Werte sind z.B.
+latin1 (iso-8859-1), utf8, macroman, latex (sofern latex.py vorhanden ist)
+
+Optionen:
+--filter=Dateiendung
+--overwrite (sonst wird die Originaldatei gesichert)
+--hidden (sonst werden versteckte Dateien ignoriert)
+"""
+
+import os, os.path, sys, codecs, getopt, shutil
+try:
+ import latex
+except:
+ pass
+
+modes = ('filter', 'overwrite', 'hidden')
+mode = {}
+
+def help(message=""):
+ print message
+ print __doc__
+ sys.exit(1)
+
+def backup(datei):
+ original = datei
+ pfad, datei = os.path.split(datei)
+ datei, ext = os.path.splitext(datei)
+ count = 0
+ while os.path.exists(os.path.join(pfad, u"%s.%d%s" % (datei, count, ext))):
+ count += 1
+ neudatei = os.path.join(pfad, u"%s.%d%s" % (datei, count, ext))
+ print u"Sichere %s als %s" % (original, neudatei)
+ shutil.copy(original, neudatei)
+ return neudatei
+
+def is_hidden(datei):
+ return (datei.startswith('.') or os.sep+'.' in datei)
+
+def convert(source, target, so_enc, ta_enc):
+ from_exists = os.path.exists(source)
+ to_exists = os.path.exists(target)
+ from_isdir = os.path.isdir(source)
+ to_isdir = os.path.isdir(target)
+ from_path, from_name = os.path.split(source)
+ to_path, to_name = os.path.split(target)
+ #from_name = os.path.basename(source)
+ #to_name = os.path.basename(target)
+
+ if not from_exists:
+ help(u"Quelle '%s' nicht gefunden!" % from_name)
+
+ if from_isdir:
+ if is_hidden(source) and not mode['hidden']:
+ print u"Ignoriere verstecktes Verzeichnis %s" % source
+ return
+ if not to_isdir:
+ help(u"Wenn die Quelle ein Verzeichnis ist, muss auch das Ziel ein Verzeichnis sein!")
+ print u"Verarbeite Verzeichnis %s" % source
+ dateien = os.listdir(source)
+ #if not mode['hidden']:
+ # dateien = [d for d in dateien if not is_hidden(d)]
+ if mode['filter']:
+ dateien = [d for d in dateien if d.endswith(mode['filter'])]
+ for datei in dateien:
+ s = os.path.join(source, datei)
+ t = os.path.join(target, datei)
+ convert(s, t, so_enc, ta_enc)
+ else:
+ if is_hidden(from_name) and not mode['hidden']:
+ print u"Ignoriere versteckte Datei %s" % source
+ return
+ if to_isdir:
+ target = os.path.join(target, from_name)
+ if not mode['overwrite']:
+ if source==target:
+ source=backup(source)
+ elif os.path.exists(target):
+ backup(target)
+ print u"Konvertiere %s (%s)\n\tnach %s (%s)" % (source, so_enc, target, ta_enc)
+ so_file = file(source, "rU")
+ lines = so_file.readlines()
+ so_file.close()
+ ta_file = file(target, "w")
+ for l in lines:
+ ta_file.write(unicode(l, so_enc).encode(ta_enc))
+ ta_file.close()
+
+
+opts, args = getopt.getopt(sys.argv[1:], "ohf:", ["overwrite","hidden","filter="])
+
+if len(args)<1:
+ help("Zu wenige Parameter angegeben!")
+
+for m in modes:
+ mode[m] = False
+ for (o, a) in opts:
+ if o=='-'+m[0] or o=='--'+m:
+ if a:
+ print u"Modus %s = %s" % (m, a)
+ else:
+ a = True
+ print u"Modus %s aktiv" % m
+ mode[m] = a
+
+#print "modes:", mode
+#print "opts :", opts
+#print "args :", args
+
+# gew゚nschte Codierung aus dem Dateinamen ablesen
+scriptname = os.path.splitext(os.path.basename(sys.argv[0]))[0]
+from_enc, to_enc = scriptname.split("_to_")
+
+from_name = to_name = args[0]
+if len(args)>1: to_name = args[1]
+
+convert(from_name, to_name, from_enc, to_enc)
+ \ No newline at end of file
diff --git a/biblio/bibtex/utils/mathsci2bibtex/mathsci2bibtex b/biblio/bibtex/utils/mathsci2bibtex/mathsci2bibtex
new file mode 100644
index 0000000000..3395f6c856
--- /dev/null
+++ b/biblio/bibtex/utils/mathsci2bibtex/mathsci2bibtex
@@ -0,0 +1,786 @@
+#! /usr/local/bin/perl
+# Change the above row to the location of your perl script
+# mathsci2bibtex
+# This is a beta version! Send your comments to ilya@math.mit.edu
+# $Id: convert,v 1.1 1993/04/19 06:01:35 ilya Exp ilya $
+# $Log: convert,v $
+# Revision 1.1 1993/04/19 06:01:35 ilya
+# Initial revision
+#
+
+sub configure {
+ # user modifiable definitions
+
+ $opt_rm='\\operatorname{'; #what to substitute instead of "{\rm" code
+ $opt_bf='{\\Bbb '; #what to substitute instead of "{\bf" code
+ #separately for any letter to make bold
+ $opt_scr='{\\cal '; #what to substitute instead of "{\scr" code
+ $opt_germ='\\frac '; #what to substitute instead of "\germ" code
+
+ $opt_crc32='n';
+ # use complicated algorithm?
+ $opt_key_db='mathsci.dbk'; # name of the database of keys
+ $opt_r_key_db='y'; # use existing database of keys?
+ $opt_w_key_db='y'; # update existing database of keys?
+ $opt_del_dub='y'; # search previous keys for dublicate of the given?
+ $opt_exp_name='y'; # take the expanded field for the person name?
+ $opt_exp_jrnl='y'; # take the expanded field for the journal name?
+ $opt_believe_jrnl_year='y'; # the year in the JN field has a precedence
+
+ $opt_believe_jrnl='translation'; # if 2 JN fields, take the translation
+ # $opt_believe_jrnl='original'; # if 2 JN fields, take the original
+ $opt_translated_title='n'; # what to do with translation for a generic language
+ $opt_transl_lang='Russian';
+ $opt_orig_lang='';
+ $opt_gener_lang='French:German';
+ if (@ARGV && ($ARGV[$[])=~/^-./) {
+ require "newgetopt.pl";
+ &NGetOpt('h','crc32:s','rm=s','scr=s','germ=s','bf=s','key_db=s','r_key_db:s','w_key_db:s',
+ 'del_dup:s','exp_name:s','exp_jrnl:s','believe_jrnl=s',
+ 'believe_jrnl_year:s','translated_title:s','translated_title:s',
+ 'transl_lang:s','orig_lang:s','gener_lang:s');
+ }
+ else {
+ $opt_h='y' unless @ARGV;
+ }
+
+ #print STDERR $opt_crc32,"\n";
+ $opt_crc32=~s/^.*[-n].*$//;
+ #print STDERR $opt_crc32,"\n";
+ $opt_r_key_db=~s/^.*[-n].*$//;
+ $opt_w_key_db=~s/^.*[-n].*$//;
+ $opt_del_dup=~s/^.*[-n].*$//;
+ $opt_exp_name=~s/^.*[-n].*$//;
+ $opt_exp_jrnl=~s/^.*[-n].*$//;
+ $opt_believe_jrnl_year=~s/^.*[-n].*$//;
+ $opt_translated_title=~s/^.*[-n].*$//;
+ grep(($languages{$_}='translate'),split(":",$opt_transl_lang));
+ grep(($languages{$_}='original'),split(":",$opt_orig_lang));
+ grep(($languages{$_}='generic'),split(":",$opt_gener_lang));
+ #print STDERR %languages;
+
+ #%languages=('Russian','translate'
+ # ,'French','generic'
+ # ,'German','generic'
+ # ); # what to do with title and series, now: translate,
+ # original, or generic (for recognition of a word)
+
+ # user modifiable definitions - end
+$Usage =
+"Converter from the MathSci database format to a BibTeX format.
+Usage: $0 [-options] [MathSci_file]
+ options: (default)
+ -h give this message (n)
+ -crc32 [yn] use the real crc32 for dublicate search ($opt_crc32)
+ -key_db FILE name of the database of existing keys ($opt_key_db)
+ -r_key_db [yn] read existing database of keys? ($opt_r_key_db)
+ -w_key_db [yn] write existing database of keys? ($opt_w_key_db)
+ -del_dup [yn] delete duplicate records? ($opt_del_dup)
+ -exp_name [yn] use the expanded name field? ($opt_exp_name)
+ -exp_jrnl [yn] use the expanded journal name field? ($opt_exp_jrnl)
+ -believe_jrnl_year [yn]
+ believe the year in the journal field? ($opt_believe_jrnl_year)
+ -believe_jrnl translation | original
+ which journal field to believe? ($opt_believe_jrnl)
+ -translated_title [yn]
+ which title to use if there are 2 (for generic language)?
+ ($opt_translated_title)
+ -transl_lang (:-separated list of Languages)
+ For which languages use the translated titles?
+ ($opt_transl_lang)
+ -orig_lang (:-separated list of Languages)
+ For which languages use the original titles?
+ ($opt_orig_lang)
+ -gener_lang (:-separated list of Languages)
+ Some useful names of languages for pattern recognition
+ ($opt_gener_lang)
+ -rm STRING the string to change '{\\rm ' to ($opt_rm)
+ -bf STRING the string to change '{\\bf ' to ($opt_bf)
+ -scr STRING the string to change '{\\scr ' to ($opt_scr)
+ -germ STRING the string to change '\\germ ' to ($opt_germ)
+To work from STDIN use $0 - or $0 --
+" ;
+ die "$Usage" if defined $opt_h;
+}
+
+&configure;
+$rn=0; # record counter
+%codes=('AU','author'
+,'MR','mr_number'
+,'ED','editor'
+,'CT','contributor'
+,'TI','title'
+,'NT','note'
+,'TIC','collection_title'
+,'SE','series'
+,'PY','year'
+,'JN','journal'
+,'JNT','journal_translated'
+,'JNO','journal_original'
+,'RF','reviewed_from'
+,'PUBL','publisher'
+,'LA','language'
+,'SL','summary_language'
+,'PC','primary_code'
+,'SC','secondary_code'
+,'RL','review_length'
+,'RE','reviewer'
+,'RN','reviewer_nonpersonal'
+,'RT','review_type'
+,'AB','abstract'
+,'DEM','primary_descriptor'
+,'DER','secondary_descriptor'
+,'DT','document_type'
+,'IS','issn_isbn'
+,'CO','coden'
+,'XN','cross_ref_mr_number'
+,'XP','cross_paper_number'
+,'AN','accesion_number'
+,'MRI','mr_issue'
+,'SF','subfile'
+,'CMP','CMP_volume_issue');
+ # what to do with special substitutions
+%proc=('author','author'
+ ,'journal','journal'
+ ,'journal_translated','journal'
+ ,'journal_original','journal'
+ ,'publisher','publisher'
+ ,'series','series'
+ ,'editor','editor'
+ ,'collection_title','collection_title'
+ ,'title','title'
+ ,'year','general'
+ ,'note','general'
+ ,'language','general'
+ ,'document_type','general'
+ );
+
+ # begins job
+&init_crc32 if $opt_crc32;
+# read database of keys
+$r_key_db="<$opt_key_db";
+$w_key_db=">>$opt_key_db";
+if ($opt_r_key_db && -f $opt_key_db) {
+ open(r_key_db) || die "cannot open $opt_key_db for read";
+ while (<r_key_db>) {
+ (($key,$cs)=/^(\w+),\s+(\d+)$/) || warn "wrong entry $_ in the checksum database";
+ $cs{$key}=$cs;
+ #$kkey=substr($key,0,1);
+ #eval "\$cs\$kkey{\$key}=\$cs;";
+ }
+ close(r_key_db) || die "cannot close $opt_key_db for read";
+}
+elsif ($opt_r_key_db) {
+ print STDERR "there is no checksum database $opt_key_db\n";
+}
+(open(w_key_db) || die "cannot open $opt_key_db for write") if $opt_w_key_db;
+#select(STDOUT);
+
+$*=1;
+$/="|\n\n";
+
+while (<>) {
+ #s/\r$//g; # DOS files in UNIX - anyway $/ won't work
+ $searchhistory=0;
+ $searchhistory=1, print STDERR
+ "There was a search history in the record $rn of $ARGV.\n"
+# if s/^(\f\nNo\.[^\f]*\f)/\f\f/g; # the search history deletion
+ if s/(\f\nNo\.[^\f]*\f)/\f\f/g; # the search history deletion
+ $searchhistory=1, print STDERR
+ "There was a SilverPlatter mark in the record $rn of $ARGV.\n"
+ if s/^SilverPlatter.*$/\f\f/gi; # the Silverplatter mark deletion
+ #if ($searchhistory) {
+ #foreach (split(/^\f{2,}/)) {
+ foreach (split(/\f+/)) {
+ if (/\w/) {&dorecord;}
+ }
+ #}
+ #else {&dorecord;};
+}
+(close(w_key_db) || die "cannot write to $opt_key_db; disk full?!")
+ if $opt_w_key_db;;
+
+
+sub dorecord {
+ local($code,$lname,%add_list,%item_list,@authors,$key,$incollection,$reference_type,$lang);
+ ++$rn;
+ $incollection=0;
+ s/^\f+$//g; # kill Page breaks
+ s/\|\s+$/\|/g; # just in case...
+ foreach (split(/\|$/)) {
+ s/^(\n+|\s*MathSci\s+Disc[\-\s\d\/]+)\s*\d+\s+of\s+\d+(\s|\n)*\n+//i; # kill this "7 of 67" stuff
+ if ( ( ($code,$lname)=/^([^-:\s]+)\s*([^-:]*)[-:]/ ) && defined $codes{$code}
+ && defined $proc{$codes{$code}}) {
+ eval "&$proc{$codes{$code}}($codes{$code});";
+ }
+ else {&unknown_field;}
+ #print join(':',%item_list), "\n";
+ }
+ #print join(':',%item_list), ":\n";
+ # set year
+ if (!$item_list{'year'}) {
+ $item_list{'year'}=$add_list{'publisher_year'} if $add_list{'publisher_year'};
+ $item_list{'year'}=$add_list{'journal_year'} if $add_list{'journal_year'};
+ }
+ if ($add_list{'publisher_year'}
+ && $add_list{'publisher_year'} != $item_list{'year'}) {
+ $add_list{'???'} .= "; " . $add_list{'publisher_year'};
+ #delete $add_list{'publisher_year'};
+ }
+ if ($add_list{'journal_year'}
+ && $add_list{'journal_year'} != $item_list{'year'}) {
+ $add_list{'???'} .= "; " . $add_list{'journal_year'};
+ }
+ if ($opt_believe_jrnl_year && $add_list{'journal_year'} ) {
+ $item_list{'year'}=$add_list{'journal_year'};
+ }
+ #delete $add_list{'journal_year'};
+ ($tmp)=($item_list{'address'} =~ /(\d+)\s*$/);
+ ($item_list{'year'})=($item_list{'address'} =~ /([-\d\/]+)\s*$/) unless ($tmp < 1500) | ($tmp>2100) | $item_list{'year'};
+ $item_list{'year'} =~ s/;\s*\d{2}(\d{2})/\/\1/g;
+ $item_list{'address'} =~ s/,\s+$item_list{'year'}$//
+ if $item_list{'address'} && $item_list{'year'};
+ $translate_now=$opt_translated_title;
+ $translate_now=1 if $languages{"\u\L$item_list{'language'}"} eq 'translate';
+ $translate_now=0 if $languages{"\u\L$item_list{'language'}"} eq 'original';
+ if ($item_list{'title'} =~ /\.\s+\[(.*)\]\s*$/) {
+ $item_list{'title'} = $translate_now ? $1 : $` ;
+ $item_list{'language'}='' unless $translate_now;
+ }
+ if ($item_list{'series'} =~ /\.\s+\[(.*)\]\s*$/) {
+ $item_list{'series'} = $translate_now ? $1 : $` ;
+ $item_list{'language'}='' unless $translate_now;
+ }
+ if ($add_list{'volume'}) {
+ if ($item_list{'volume'} && $add_list{'volume'}!=$item_list{'volume'}) {
+ $item_list{'title'} .= ", Vol. $add_list{'volume'}";
+ }
+ else {
+ $item_list{'volume'}=$add_list{'volume'};
+ }
+ }
+ #foreach $lang (split(/\W+/,$item_list{'language'})) {
+ # $item_list{'organization'} = ''
+ # if "\L$item_list{'organization'}" eq "\L$lang";
+ # print STDERR "if \L$item_list{'organization'}"," eq \L$lang\n";
+ #}
+ while (1) {
+ ($tmp=$item_list{'organization'})=~s/\W/\\\1/g;
+ $item_list{'organization'} = ''
+ if $item_list{'language'} =~ /$tmp/i;
+ $item_list{'organization'} = '' if
+ defined $languages{"\u\L$item_list{'organization'}"};
+ $item_list{'organization'}=$item_list{'organization?'},
+ delete $item_list{'organization?'}, next
+ if (!$item_list{'organization'} && $item_list{'organization?'});
+ last;
+ }
+ $add_list{'???'} .= "; $item_list{'organization?'}" if $item_list{'organization?'};
+ $item_list{'language'} = $opt_believe_jrnl eq 'original' ? $` : $'
+ if $qualifier && $opt_believe_jrnl && $item_list{'language'} =~ /;/;
+ $item_list{'language'} =~ s/\s*;?\s*English\s*;?\s*//;
+ $item_list{'volume'}=$1
+ if $item_list{'volume'} eq '' &&
+ $item_list{'booktitle'} =~ s/,?\s*vol\.\s+([\divxlcdm]+)$//i ;
+ $item_list{'booktitle'} =~ s/,?\s*vol\.\s+$item_list{'volume'}$//i ;
+ if ($item_list{'author'}) { # set key basing on authors
+ &dokey('author');
+ }
+ elsif ($item_list{'editor'}) { # set key basing on editors
+ &dokey('editor');
+ }
+ elsif ($item_list{'title'}) { # set key basing on title
+ &dotitlekey('title');
+ }
+ else { #something strange happened, set random key
+ $key=int rand(1048576);
+ print STDERR "Cannot construct a key, temporary key $key in the record $rn of $ARGV.\n";
+ }
+ #print join(':',%item_list), "\n";
+ if ($item_list{'journal'}) {
+ $reference_type='article';
+ }
+ elsif ($item_list{'document_type'} =~ /Proceedings-Paper/) { #'Proceedings-Paper'
+ $reference_type='inproceedings';
+ }
+ elsif ($item_list{'document_type'} =~ /Proceedings/) { #'Proceedings'
+ $reference_type='proceedings';
+ }
+ elsif ($item_list{'document_type'} =~ /Book/) { #'Book'
+ $reference_type='book';
+ }
+ elsif ($item_list{'series'} ) { #'Book'???? In fact I don't know...
+ $reference_type='book';
+ }
+ elsif ($incollection) {$reference_type='inproceedings';}
+ else {
+ print STDERR "unknown type of reference, @misc substituted in the record $rn of $ARGV.\n";
+ $reference_type='misc';
+ }
+ $item_list{'pages'}=$add_list{'book_pages'}
+ #, delete $add_list{'book_pages'}
+ unless $item_list{'pages'};
+ $item_list{'pages'}=$add_list{'publisher_pages'}
+ #, delete $add_list{'publisher_pages'}
+ unless $item_list{'pages'};
+ #publisher_pages
+ #undef $item_list{'document_type'};
+ # ship out
+ &latexize('title');
+ &latexize('booktitle');
+ $add_list{'???'} =~ s/^;\s+//;
+ print STDERR "In $key in the record $rn of $ARGV: Cannot recognize: ", $add_list{'???'}, "\n"
+ if $add_list{'???'};
+ next if $opt_del_dup && &cs==0;
+ (print "\n@$reference_type{\t$key\n")
+ || die "cannot write to STDOUT; disk full?!";
+ while (@_=each(%item_list)) {
+ (print ",\t$_[ $[ ]\t={$_[ $[ +1 ]}\n" )
+ || die "cannot write to STDOUT; disk full?!"
+ if $_[ $[ +1 ] && ($_[ $[ ] ne 'document_type');
+ }
+ (print "}\n") || die "cannot write to STDOUT; disk full?!";
+ ((print w_key_db "$cs{$key}\n")
+ || die "cannot write to $opt_key_db; disk full?!") if $opt_w_key_db;
+ # divided in 2 parts for possible error in output writing, the second
+ # part is written after the work is finished
+ #undef %item_list;
+}
+
+sub author {
+ $item_list{'author'} = &name ;
+ }
+
+sub editor {
+ $item_list{'editor'} = &name ;
+ }
+
+sub name {
+ s/^[^-:]+[-:]\s+//;
+ s/((-\w\.)?)[.;,]?\s*$/\1/; # delete the trailing "." if not initial - just
+ # in case
+ s/,-/, /g;
+ s/,\s*\([^()]*\)//g; #the address ", (1-CA)" field
+ if (!$opt_exp_name) {
+ s/\[[^][]*\]//g;} # delete the expanded name [Name Name1] field
+ else {
+ s/(^|;)[^[;]*\[([^];]*)\]/$1$2/g;}
+ # change the name to the expanded name [Name Name1] field
+ s/;/ and /g;
+ s/\s+/ /g;
+ s/^\s+//;
+ s/-(\w{1,2}\.)/ $1/g; # work with initial
+ s/\s(\w{1,2}\.)-/ $1 /g; # work with initial
+ # work with prefixes
+ substr($_,length($`)+length($1),length($2)) =~ s/-/ /g
+ while /(^|\sand\s+)((([a-z]{1,3}|De)-)+)[A-Z]/;
+ $_=join(" and ",grep(s/^([^,]+),([^,]+),\s+(Jr|III|IV).?\s*$/\2 \1, \3/||1,
+ split(" and "))) if /,\s*(Jr|III|IV)\.?(\s|$)/;
+ $_;
+ }
+
+sub journal {
+ $qualifier=''; # translation and original
+ s/^[^-:]+[-:]\s+//;
+ s/[.;,]?\s*$//;
+ $qualifier="\L$1" if s/^(translation|original):\s+//i;
+ return if ($qualifier && $opt_believe_jrnl && $opt_believe_jrnl ne $qualifier
+ && $item_list{'journal'});
+ $add_list{'journal_year'}=$item_list{'volume'}=$item_list{'number'}=
+ $item_list{'pages'} = undef if $item_list{'journal'};
+ # believe the second instance, hence erase the first
+ #$item_list{'journal'}=/^(\S+)(\s*\(\d{1,3}\))?/; # chose the first word before [
+ $item_list{'journal'}=/^(.+)\[/; # chose the first word before [
+ $item_list{'journal'}= $1 if $opt_exp_jrnl && /\[([^]]*)\]/ ;
+ # change the name to the expanded name [Name ] field
+ $item_list{'journal'} =~ s/-/ /g;
+ #s/^\s*\S+\s*(\(\d{1,3}\)\s*)?//; # kill the first word - can be j.-math. (2)
+ s/^.*\[[^]]*\]//; # kill the expanded name and name
+ s/\.\s*$//;
+ $wasPage = 0;
+ $wasYear = 0;
+ foreach (split(/,/)) {
+ $wasPage++ if $wasPage>0;
+ if (/^\s*([-\d\/]+(\([-\d\/]+\))?)\s+\((\d{4}(\/\d+)*)\)\s*$/) {
+ # as: 40/41(141/142) (1990/91)
+ if ($add_list{'journal_year'}) {
+ if ($add_list{'journal_year'} ne $3) {
+ {$add_list{'???'} .= "; " . $3;}
+ }
+ if ($wasPage) {
+ $item_list{'pages'} .= ", $1";
+ }
+ else {$item_list{'pages'}=$1;}
+ }
+ else {
+ $add_list{'journal_year'} = $3;
+ # there is another year field
+ if ($item_list{'volume'}) {
+ if ($wasPage) {
+ $item_list{'pages'} .= ", $1";
+ }
+ elsif ($item_list{'pages'} eq '') {
+ $_=$1;
+ if (/--/) {$item_list{'pages'} = $_ ;}
+ else {
+ $add_list{'???'} .= "; " . $_;
+ }
+ }
+ else {$add_list{'???'} .= "; " . $1;}
+ }
+ else {$item_list{'volume'} = $1;}
+ }
+ }
+ elsif (/^\s*no\.\s*([-\/\d]+(\s*\([-\/\d]+\))?(\s*exp(\.|\w+)(\s*no\.)?\s*[-\/\d]+)?(\s*[ivxlc]+\.?)?)\s*$/i) {
+ #as: no. 3-4(75-76) Exp. No. 708
+ #as: no. 6 i.
+ if ($item_list{'number'}) {$add_list{'???'} .= "; " . $_;}
+ else {$item_list{'number'} = $1;}
+ }
+ elsif (/^\s*\((\d{4}(\/d+)*)\)\s*$/) { #as: (1956/57)
+ if ($item_list{'year'}) {
+ if ($item_list{'year'} eq $1) {$add_list{'journal_year'} = $1;}
+ else {$add_list{'???'} .= "; " . $_;}
+ }
+ else {$item_list{'year'} = $1;}
+ }
+ elsif (/^\s*(\d+)\s*$/) { #as: 56
+ if ($wasPage) {$item_list{'pages'} .= ", $1";$wasPage--;}
+ elsif ($item_list{'volume'} ) { # is it year?
+ if ($1 > 1500 && $1 < 2100) {
+ if ($item_list{'year'} && $item_list{'year'} ne $1)
+ {$add_list{'???'} .= "; " . $_;}
+ else {$item_list{'year'} = $1;}
+ }
+ else {
+ if ($item_list{'pages'}) {$add_list{'???'} .= "; " . $_;}
+ else {$item_list{'pages'} = $1;}
+ }
+ }
+ else {$item_list{'volume'} = $1;}
+ }
+ elsif (/^\s*(pp\.\s*)?(([ivxlcd]+\+)?([-\d]+)|((\w)\d+-+\6\d+))(\s*pp\.?)?\s*$/) {
+ #as: 567--897 or L567--L897 or viii+65 pp.
+ if ($wasPage) {$item_list{'pages'} .= ", $2";$wasPage--;}
+ elsif ($item_list{'pages'}) {$add_list{'???'} .= "; " . $_;}
+ else {
+ $item_list{'pages'} = $2;
+ $wasPage = 1;
+ }
+ }
+ elsif (/^\s*No\.\s+([-\d\/]+(\s*\([-\/\d]+\))?)\s+(pp\.\s*)?([-\d]+)(\s*pp\.?)?\s*$/i) {
+ #as: No. 62 567--897 pp
+ if ($item_list{'number'}) {$add_list{'???'} .= "; " . $_;}
+ else {$item_list{'number'} = $1;}
+ if ($item_list{'pages'}) {$add_list{'???'} .= "; " . $_;}
+ else {
+ $item_list{'pages'} = $4;
+ $wasPage = 1;
+ }
+ }
+ elsif (/^\s*No\.\s+([-\d\/]+(\s*\([-\/\d]+\))?)\s+(pp\.\s*)?([-\d]+)(\s*pp\.?)?(\s*\((\d{4})\))\s*$/i) {
+ #as: No. 62 567--897 pp. (1989)
+ if ($item_list{'number'}) {$add_list{'???'} .= "; " . $_;}
+ else {$item_list{'number'} = $1;}
+ if ($item_list{'pages'}) {$add_list{'???'} .= "; " . $_;}
+ else {
+ $item_list{'pages'} = $4;
+ }
+ if ($item_list{'year'}) {
+ if ($item_list{'year'} eq $7) {$add_list{'journal_year'} = $7;}
+ else {$add_list{'???'} .= "; " . $7;}
+ }
+ else {$item_list{'year'} = $7;}
+ }
+ elsif (/^\s*Numero\s+Hors\s+Serie\s*$/i) {
+ $item_list{'number'} = "Hors Serie" unless $item_list{'number'};
+ }
+ elsif (/^\s*(suppl\.|part)\s*([-\d\/]+)\s*$/i) { # suppl. 2
+ $item_list{'number'} .= " $2" ;
+ }
+ elsif (/^\s*((\w+\.?\s+)*sci\.)\s*$/i) { # Phys. Sci.
+ $item_list{'number'} .= ", " . $1 ;
+ }
+ elsif (length($_)>9 && /^\s*(\D+\s+[\divxlcd]+)\s*$/i) {
+ # Voprosy Kvant. Teor. Polya i Statist. Fiz. 5
+ $item_list{'number'} .= ", " . $1 ;
+ }
+ else {$add_list{'???'} .= "; " . $_;}
+ $wasPage=0 if $wasPage>1;
+ }
+ $item_list{'number'} =~ s/,\s*//;
+ #print join(':',%item_list), "\n";
+ }
+
+sub publisher {
+ #
+ # Dont know how to split into publisher and address
+ # Three cases: with "Inc.,", "Ltd." and "Akad. Nauk" recognized so while
+ #
+ s/^[^-:]+[-:]\s*//;
+ s/[.;,]?\s*$//;
+ $_=$`, $add_list{'publisher_year'}=$1 if /,\s+(\d{4})[,.;]/; # find year
+ $item_list{'publisher'} = $_;
+ $_=$' ? $' : ''; #search rest
+ ($add_list{'publisher_pages'} = $2) =~ s/\s*pp[.,;]?\s*//g
+ if s/(^|[,.:])\s+((((Vol\.\s+[\divxlcdm]+:)?([^.,:]*pp[.,;]?(;\s+)?|pp\.[^.,;]*))|(Vol\.\s+[\divxlcdm]+:)(\sand\s|[\s\divxlcdm+\-])+)+)//i;
+ # possible forms xii+356 pp. or : pp. xii+356
+ # want also ", Vol. 1: xvi+717 pp.; Vol. 2: xii+458 pp.;
+ # Vol. 3: i--xii and 459--834, "
+ # so: allow Vol. OR pp
+ # i.e. (^|[,.:])\s+($2), where $2=$pages+,
+ # $pages=$Pages | $volumemark $pagesmark+,
+ # $Pages=$volumemark? $pagespart
+ # $pagespart=$partpp | $pppart
+ # $partpp=[^.,:]*pp[.,;]?(;\s+)?
+ # $pppart=pp\.[^.,;]*
+ # $volumemark=Vol\.\s+[\divxlcdm]+: $pagesmark= and | "digits-+"
+# if (/(^|[,.:])\s+([^.,:]*pp[.,;]|pp\.[^.,;]*)/) {
+# $add_list{'publisher_pages'} = $2;
+# $add_list{'publisher_pages'} =~ s/\s*pp[.,;]?\s*//;
+# }
+ if ($item_list{'publisher'}=~/,\s+/)
+ {
+ $item_list{'publisher'} = $`;
+ $item_list{'address'} = $';
+ if (($item_list{'publisher'} =~ /^Akad\.\s+Nauk/) ||
+ $item_list{'address'}=~/^(Inc|Ltd)\.,/)
+ {
+ if ($item_list{'address'}=~/,\s+/)
+ {
+ $item_list{'publisher'} .= ", ";
+ $item_list{'publisher'} .= $`;
+ $item_list{'address'} = $';
+ }
+ }
+ }
+}
+
+sub title {
+ s/^[^-:]+[-:]\s+//;
+ s/[.;,]?\s*$//;
+ if (s/vol\.\s+([-\/\divxlcdm]+(,\s*[\divxlcdm]+)*)\s*$//i)
+ {
+ $add_list{'volume'}=$1;
+ s/[.;,]?\s*$//;
+ }
+ $item_list{'title'} = $_;
+ }
+
+
+
+sub collection_title {
+ $incollection=1;
+ s/^[^-:]+[-:](\s+Collection:)?\s*//;
+ s/[.;,]?\s*$//;
+ # I don't know what "pp. 307--400, 678" means
+ # now the problem: I don't know what to do when where is a volume
+ # both in collection_title and series, and if organization
+ # and volume can be in an arbitrary order.
+ # Hence I delete organization now, ignoring the volume,
+ # and leave volume to the end, when I know if there is a series
+ # volume.
+ #
+ # Moreover, there can be something like
+ # vol. 47 (Russian), pp. 27 (MIT), vol. 14.
+ #
+processing:
+ while (1) {
+ s/[,.;]?\s*$//;
+ if (s/\(([^()]*)\)\s*$//) #or language? (MIT) or (French)
+ {
+ if (!$item_list{'organization'}) {$item_list{'organization'}=$1;}
+ else {$add_list{'organization?'}.="; ".$1;}
+ next;
+ }
+ if (s/vol\.\s+([-\/\divxlcdm]+(,\s*[\divxlcdm]+)*)\s*$//i)
+ {
+ if (!$item_list{'volume'}) {$item_list{'volume'}=$1;}
+ else {$add_list{'???'}.="; ".$1;}
+ next;
+ }
+ if (s/vol\.\s+([-\/\divxlcdm]+(,\s*[\divxlcdm]+)*),\s*(pp\.\s*)?\s([\divxlcdm]+(-+[\divxlcdm]+)?(,\s+[\divxlcdm]+(-+[\divxlcdm]+)?)*)\s*$//i)
+ {
+ if (!$item_list{'volume'}) {$item_list{'volume'}=$1;}
+ else {$add_list{'???'}.="; ".$1;}
+ if ($add_list{'book_pages'}) {
+ $add_list{'???'}.="; ".$4;
+ }
+ else {$add_list{'book_pages'} = $4;}
+ next;
+ }
+ do {
+ $add_list{'book_pages'} = $2;
+ next;
+ } if !$add_list{'book_pages'} && s/(,|pp\.)\s+([\divxlcdm]+(-+[\divxlcdm]+)?(,\s+[\divxlcdm]+(-+[\divxlcdm]+)?)*)\s*$//;
+ $add_list{'book_pages'} =~ s/,\s*$//;
+ last;
+ }
+ $item_list{'booktitle'} = $_;
+}
+
+#sub document_type {
+# s/^[^-:]+[-:]\s+//;
+# s/\.\s*$//;
+# $item_list{'document_type'} = $_;
+# #print join(':',%item_list), "\n";
+# }
+
+sub series {
+ s/^[^-:]+[-:]\s+//;
+ s/[.;,]?\s*$//;
+ $item_list{'volume'} = $1 if s/\s*,\s*([\divxlcdm\-\/]+)\s*$//i;
+ $item_list{'number'} = $1 if s/\s*,\s*No\.\s+(\d+)\s*$//i;
+ $item_list{'volume'} = $1, $item_list{'number'} = $2
+ if s/\s*,\s*([\divxlcdm\-\/]+),?\s*part\s*([\divxlcdm]+)\s*$//i;
+ $item_list{'series'} = $_;
+ #print join(':',%item_list), "\n";
+ }
+
+sub general {
+ s/^[^-:]+[-:]\s+//;
+ s/[.;,]?\s*$//;
+ $item_list{$_[0]} = $_;
+ #print join(':',%item_list), "\n";
+ }
+
+sub unknown_field {
+ #print join(':',%item_list), "\n";
+ #print STDERR "unknown field $lname encountered\n";
+}
+
+#sub reset_list {
+# local(@tmp);
+# while (@tmp=each(%item_list)) {$item_list{$tmp[ $[ ]}='';}
+# #undef %item_list; #memory is tight!
+#}
+
+sub dokey {
+ @authors=split(/ and /,$item_list{ $_[ $[ ] });
+ @authors=sort @authors;
+ $i=$[;
+ $key='';
+ do {
+ $authors[$i] =~ s/,.*//; # Delete the first names
+ #$authors[$i] =~ s/^.*\s(\S+)$/$1/; # Delete the titles like von
+ $authors[$i] =~ s/^([a-z]{1,3}\s+)+([A-Z])/$2/;
+ # Delete the titles like von
+ $authors[$i] =~ s/\s//g; # Delete the spaces
+ $key .= &trunk_sound($authors[$i]);
+ #print $key;
+ } while ($i++<2+$[ && $i <= $#authors);
+ $key .= $& if $item_list{'year'} =~ /\d+/;
+ # year can be 1985; 1986, we choose first
+ $key =~ s/\d{2}(\d{2})/\1/; # delete 19 from 1980
+ $key .= "\u\L$1" if $item_list{'title'} =~ /(\w{3})\w/;
+ #undef @authors; #memory is tight!
+}
+
+sub dotitlekey {
+ $key=$item_list{ $_[ $[ ] };
+ $key =~ s/\..*//;
+ @authors=($key =~ /(\w{4,})/g);
+ $i=$[;
+ $key='';
+ do {
+ $tkey = &trunk_sound($authors[$i]);
+ $key .= "\u\L$tkey";
+ } while ($i++<2+$[ && $i <= $#authors);
+ $key .= $1 if $item_list{'year'} =~ /(\d+)/;
+ # year can be 1985; 1986, we choose first
+ $key =~ s/\d{2}(\d{2})/\1/; # delete 19 from 1980
+}
+
+sub latexize {
+ return unless $item_list{$_[ $[ ] };
+ # Capitalize outside of math
+ local(@pieces)=split(/\$/," " . $item_list{$_[ $[ ] } . " ");
+ #add space to avoid losing the first and last "\$"
+ local($i)=0;
+ $item_list{$_[ $[ ] }='';
+ foreach (@pieces) {
+ s/^\s// unless $i++;
+ s/(.)([A-Z]+)/\1{\2}/g if $i % 2 ; # we assume that capital can never
+ # follow math immediately
+ #$i++ unless /(^|[^\\])(\\\\)*\\$/;
+ if (/(^|[^\\])(\\\\)*\\$/) { # this $ is backslashed
+ $item_list{$_[ $[ ] } .= "\$$_" ;
+ $i++; # now the evenness of $i isn't changed
+ }
+ else {
+ if ($i%2) { # nonmath!
+ $item_list{$_[ $[ ] } .= "\$}$_" ;
+ }
+ else {
+ $item_list{$_[ $[ ] } .= "{\$$_" ;
+ }
+ }
+ }
+ #($item_list{$_[ $[ ] }=join("\$",@pieces)) =~ s/(^\s+)|(\s+$)//g;
+ # there is an extra '$}' in the beginning
+ $item_list{$_[ $[ ] } =~ s/(^\$\}\s*)|(\s+$)//g;
+ $item_list{$_[ $[ ] } =~ s/\\germ\s+/$opt_germ/g;
+ $item_list{$_[ $[ ] } =~ s/\{\\scr\s+/$opt_scr/g;
+ $item_list{$_[ $[ ] } =~ s/\{\\rm\s+/$opt_rm/g;
+ $item_list{$_[ $[ ] } =~ s/\{\\bf\s+([^\}]+)\}/$opt_bf.join("}$opt_bf",split("",\1)).'}'/ge;
+}
+
+sub cs {
+ local($cs,$keymod)=(0,'');
+ #foreach (('title','booktitle','journal','year','volume','number','editor'))
+ foreach (keys(%item_list)) {
+ #now the problem is to reach the system independence (like \13\10=\10)
+ ($_=$item_list{$_}) =~ s/\s+/ /g;
+ $cs += unpack('%32C*',$_) unless $opt_crc32;
+ $cs += &crc32($_) if $opt_crc32;
+ }
+ $cs=1 if $cs==0;
+ while ($cs{$key.$keymod}) {
+ #print stderr $key.$keymod,"\n";
+ if ($cs{$key.$keymod}==$cs) {
+ print STDERR
+ "Repeated reference $key$keymod skipped in the record $rn of $ARGV.\n";
+ return 0;
+ }
+ $keymod ? $keymod++ : ($keymod = "A") ;
+ }
+ $key .= $keymod;
+ (print STDERR
+ "Double reference, now $key in the record $rn of $ARGV.\n") if $keymod;
+ $cs{$key}=$cs;
+ ((print w_key_db "$key, ")
+ || die "cannot write to $opt_key_db; disk full?!") if $opt_w_key_db;
+ # divided in 2 parts for possible error in output writing, the second
+ # part is written after the work is finished
+ $cs;
+}
+
+sub trunk_sound {
+ # "ei" is 2 sounds!
+ $_[ $[ ] =~ /^((schtsch)|(shtsh)|(tsch)|(sch)|(wr)|(ck)|(ch)|(ng)|(zh)|(kh)|(sh)|(kn)|(th)|(ph)|(rh)|(wh)|(qu)|(gh)|(ea)|(ee)|(eu)|(au)|(ou)|(oa)|(oo)|(oe)|(ue)|(ae)|(ie)|([a-zA-Z])\31|[a-zA-Z]){0,3}/i;
+ #$_[ $[ ] =~ /^((schtsch)|(shtsh)|(tsch)|(sch)|(wr)|(ck)|(ch)|(ng)|(zh)|(kh)|(sh)|(kn)|(th)|(ph)|(rh)|(wh)|(qu)|(gh)|(ea)|(ee)|(eu)|(au)|(ou)|(oa)|(oo)|(oe)|(ue)|(ae)|(ie)|([a-zA-Z])\31+|[a-zA-Z]){0,3}/i;
+ ($_[ $[ ]=$&) =~ s/([^\Weo])\1$/$1/;
+ $_[ $[ ];
+}
+
+sub crc32 {
+
+ $crc = 0xffffffff; # /* preload shift register, per CRC-32 spec */
+ grep( ($crc = ($crc << 8) ^ $crc32_table[($crc >> 24) ^ unpack('C',$_)]),
+ split("",$_[ $[ ]));
+ return ~$crc; # /* transmit complement, per CRC-32 spec */
+}
+
+#define CRC32_POLY 0x04c11db7 /* AUTODIN II, Ethernet, & FDDI */
+
+sub init_crc32 {
+ local($i,$c);
+ local($CRC32_POLY)=0x04c11db7 ;
+ foreach (0 .. 255) {
+ $c=$_<<24;
+ foreach (1..8) #(c = i << 24, j = 8; j > 0; --j)
+ {$c = $c & 0x80000000 ? ($c << 1) ^ $CRC32_POLY : ($c << 1);}
+ $crc32_table[$_] = $c;
+ }
+}
+
diff --git a/biblio/bibtex/utils/mathscinet/README b/biblio/bibtex/utils/mathscinet/README
new file mode 100644
index 0000000000..aa2773b477
--- /dev/null
+++ b/biblio/bibtex/utils/mathscinet/README
@@ -0,0 +1,4 @@
+A Perl script that downloads references from MathSciNet in bibtex format.
+Works with the recently redesigned MathSciNet site.
+
+2006-Jan-06 \ No newline at end of file
diff --git a/biblio/bibtex/utils/mathscinet/mathscinet.PL b/biblio/bibtex/utils/mathscinet/mathscinet.PL
new file mode 100644
index 0000000000..25e4c35cff
--- /dev/null
+++ b/biblio/bibtex/utils/mathscinet/mathscinet.PL
@@ -0,0 +1,85 @@
+#!/usr/bin/perl -w
+
+# mathscinet.PL - automates getting bibtex references from MathSciNet
+#
+# Author: Michael Tweedale <m.tweedale@bristol.ac.uk>
+# Version: 0.1
+# Licence: GPL
+
+use LWP::UserAgent;
+use URI::URL;
+use URI::Escape;
+use Getopt::Long;
+
+$VERSION='0.1';
+$curbox=4; # MathSciNet form has boxes for search terms numbered 4...7
+$search="";
+$ua=new LWP::UserAgent;
+$hdrs=new HTTP::Headers(Accept => 'text/html',
+ User_Agent => "mathscinet.PL $VERSION");
+
+sub version()
+{
+ print STDERR << "EOF";
+mathscinet $VERSION
+This is free software. You may redistribute copies of it under the terms of
+the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
+There is NO WARRANTY, to the extent permitted by law.
+
+Written by Michael Tweedale <m.tweedale\@bristol.ac.uk>.
+EOF
+}
+
+sub usage()
+{
+ print STDERR << "EOF";
+Usage: $0 SEARCH...
+Gets references from MathSciNet in bibtex format.
+
+-t, --title phrase from the title of the article or book
+-a, --author name of one of the authors
+-j, --journal journal the article appeared in
+-s, --series series the book appeared in
+-m, --MR Math Reviews number
+ --help display this help and exit
+ --version output version information and exit
+
+Example 1: $0 -t "free+groups" -t trees -a bestvina
+Example 2: $0 -a serre -j annals
+Example 3: $0 -a brown -s "graduate+texts"
+EOF
+}
+
+sub addterm($$)
+{
+ $curbox<=7 || die("cannot use more than 4 search terms");
+ $search .= "&pg$curbox=" . uri_escape($_[0]) . "&s$curbox="
+ . uri_escape($_[1]) . "&co$curbox=AND";
+ $curbox++;
+}
+
+GetOptions('title|t=s' => sub { addterm("TI",$_[1]); },
+ 'author|a=s' => sub { addterm("AUCN",$_[1]); },
+ 'journal|j=s' => sub { addterm("JOUR",$_[1]); },
+ 'series|s=s' => sub { addterm("SE",$_[1]); },
+ 'MR|m=s' => sub { addterm("MR",$_[1]); },
+ 'help|h' => sub { usage(); exit 0; },
+ 'version|v' => sub { version(); exit 0; });
+
+$search ne "" || usage() && die("no search terms found");
+$url=new URI::URL(
+ "http://www.ams.org/mathscinet/search/publications.html?fmt=bibtex$search");
+$req=new HTTP::Request(GET, $url, $hdrs);
+$resp=$ua->request($req);
+
+$resp->is_success ||
+ print STDERR $resp->message . "\n" &&
+ die("failed to get search results from MathSciNet");
+$resp->as_string =~ /No publications results/ &&
+ die("no results for this search");
+
+map {
+ print $_, (( $_=~ '^}') ? "\n\n" : "\n")
+ if ((/^\s*<pre>/ .. /^\s*<\/pre>/) && ! m{^\s*</?pre>})
+} split "\n", $resp->as_string;
+
diff --git a/biblio/bibtex/utils/misc/README b/biblio/bibtex/utils/misc/README
new file mode 100644
index 0000000000..3089769b82
--- /dev/null
+++ b/biblio/bibtex/utils/misc/README
@@ -0,0 +1,5 @@
+This directory contains single-file utilities that used to
+sit, alongside a bunch of directories, in biblio/bibtex/utils
+
+Robin Fairbairns
+For the CTAN Team
diff --git a/biblio/bibtex/utils/misc/bbl2html.awk b/biblio/bibtex/utils/misc/bbl2html.awk
new file mode 100644
index 0000000000..9c742053cb
--- /dev/null
+++ b/biblio/bibtex/utils/misc/bbl2html.awk
@@ -0,0 +1,495 @@
+#!/opt/local/bin/gawk -f
+#
+# bbl2html.awk v1.2c
+#
+# Released to the public domain (ie. use at your own risk)
+# Rik Blok <rikblok@mail.com>
+# December 13, 2000.
+#
+# Latest version available from
+# http://rikblok.cjb.net/scripts/bbl2html.awk
+#
+# Converts a LaTeX .bbl file to (mostly) formatted html code. Probably
+# also works if applied directly to a .tex file. Sets bookmarks
+# to the keys so you can reference a citation from another page, eg.
+# <a href="bib.html#key">[1]</a> will make a link to "key".
+#
+# bbl2html will use the default label unless you set (on the command-line)
+# override=key or override=number in which case it will use the citation
+# key or numeric format, respectively.
+#
+# I wrote this script out of dissatisfaction with other conversion tools
+# available. Hopefully it will be of use to somebody. Feel free to
+# modify the script to suit you. I've tested it with the bibliography
+# styles abbrv, alpha, apalike, ieeetr, plain, prsty, siam, and unsrt
+# and it works fairly well.
+# For a sample of the output visit http://rikblok.cjb.net/lib/refs.html.
+#
+# Usage:
+# awk -f bbl2html.awk head=<header> foot=<footer> \
+# [override = key|number] [labelwidth=<width>]
+# [bigtable = 0|1] [noabout=0|1] <infile> > <outfile>
+#
+# where
+# <header> and <footer> may be formatted text (enclosed in escaped
+# quotes if containing a space) to be placed at the beginning and end
+# of the output, respectively. As a special case, if either begins with
+# the symbol "@" it is assumed to be a filename and the text is read from
+# the file specified. If neither a header nor a footer is specified
+# <html><body> and </body></html> are used, respectively;
+# override is an optional variable to change the displayed label to
+# the citation key or numeric format;
+# <width> is the width of the column label, in pixels or, if appended
+# by "%", in percent (optional, defaults to 50 (pixels));
+# bigtable is an optional variable which allows the page to be
+# formatted as one big table (=1) or a separate table for each entry (=0)
+# (multiple tables can be displayed incrementally as the page loads but
+# a single table will be rendered faster. Optional, defaults to 0);
+# noabout is an optional variable which tells bbl2html.awk not to
+# print the "Generated by bbl2html.awk..." comment at the bottom of the
+# page (optional, defaults to 0);
+# <infile> is the name of the bibliography file (or LaTeX file?) to
+# be converted; and
+# <outfile> is the name of the html file to be generated.
+#
+# Sample usages:
+# awk -f bbl2html.awk head=\<html\>\<body\> foot=\</body\>\</html\> bib.bbl > bib.html
+# awk -f bbl2html.awk head=@bib.head foot=@bib.foot override=key bib.bbl > bib.html
+# awk -f bbl2html.awk -f myOwnSubstitutions.awk bib.bbl > bib.html
+# awk -f bbl2html.awk labelwidth=20% bigtable=1 bib.bbl > bib.html
+#
+# Notes:
+#
+# 1) You can add your own substitutions fairly easily by setting
+# userfind[] and userreplace[] in the BEGIN action. You can also
+# place the substitutions in a separate awk file (within a BEGIN
+# action) to avoid modifying this script (see the last example above
+# for a sample usage).
+#
+# 2) To generate a complete list of citations from a bibtex file
+# myreferences.bib use the bbl file generated by this latex file:
+#
+# %%%% begin latex file
+# \documentclass{article}
+# \usepackage{url} % if your citations have any \url{} commands
+# \begin{document}
+# \nocite{*}
+# \bibliographystyle{unsrt} % use whichever style you prefer
+# \bibliography{myreferences} % use myreferences.bib
+# \end{document}
+# %%%% end latex file
+#
+# 3) bbl2html.awk needs GNU awk/gawk. On Solaris machines, neither
+# /usr/bin/awk nor /usr/bin/nawk work.
+#
+# 4) If you download this file make sure it has the proper line-endings
+# for your filesystem. Otherwise running the script will probably
+# generate an "^ Invalid char" error. On Unix, process the script
+# with dos2unix if you encounter this error.
+#
+# 5) Any occurrences of "<" and ">" must be escaped in header
+# and footer. Eg. head=\<html\>\<body\> foot=\</body\>\<html\>
+# (not needed in files header/footer may point to).
+#
+# Revisions:
+# v1.2c December 13, 2000
+# - added Unix shell header (!/opt/local/bin/gawk -f) to run script
+# as a shell command. The path may need to be modified on your
+# machine.
+# - labelwidth now defaults to pixels. Append a percent symbol to
+# use as percent (eg. "labelwidth=20%").
+# - more linebreaks allowed in urls
+# - fixed: end-of-line comments ("%\n") left in txt of \href{url}{txt}
+# - adds "Generated by bbl2html.awk..." comment at bottom of file
+# (can be disabled with "noabout=1" command-line parameter)
+# v1.2b December 11, 2000
+# - fixed: chokes on \href{url}%\n{text}
+# - basic math support (italics, super- and sub-scripts)
+# - now has bookmarks (<a name="...">) for both keys and labels
+# (if different)
+# v1.2 December 7, 2000
+# - basic support for \href{url}{txt} (tries to guess how to format
+# 'txt', either as text or as an url)
+# - if neither header nor footer specified, defaults to
+# head="<html><body>" and foot="</body></html>"
+# v1.1 November 5, 2000
+# - added labelwidth option (percentage)
+# - rudimentary support for smallcaps
+# - added notes 4 and 5
+# v1.0c August 25, 2000
+# - replaced userfind[]/userreplace[] indices with descriptive keys
+# v1.0b July 31, 2000
+# - replaceFormat() checks for multiple occurrences of formatting
+# - now handles more general keys
+# - supports most bibliography styles (that I know of)
+# - defaults to using whatever labels are supplied, or numeric (if none)
+# - can override label with override=key or override=number
+# v1.0 July 28, 2000
+# - initial release
+#
+# To do:
+# - nothing urgent
+#
+# Thanks to:
+# - Marc Mutz for bug-hunting and the math substitutions
+#--------------------------------------------------------------------------
+BEGIN {
+ # bbl2html.awk information
+ version = "1.2c";
+ home = "http://rikblok.cjb.net/scripts/index.html#bbl2html.awk";
+
+ # put user-defined substitutions here
+ # arXiv.org preprint archive
+ userfind["arxiv"] = "arXiv:([a-zA-Z\.\-]+\/[0-9][0-9][0-9][0-9][0-9][0-9][0-9])";
+ userreplace["arxiv"] = "<a href=\"http://arXiv.org/abs/\\1\"><tt>arXiv:\\1</tt></a>";
+ # siam style uses a horizontal line in place of repeating author names
+ userfind["siam1"] = "\\\\leavevmode\\\\vrule height 2pt depth -1.6pt width 23pt";
+ userreplace["siam1"] = "<strike>\\&nbsp;\\&nbsp;\\&nbsp;\\&nbsp;\\&nbsp;\\&nbsp;\\&nbsp;\\&nbsp;</strike>";
+ # some trivial math
+ userfind["math"] = "([^\\\\])\\$([^\\$]*)\\$";
+ userreplace["math"] = "\\1<var>\\2</var>";
+ # for super and subscripts:
+ userfind["math.sub"] = "([^\\\\])(\\$|<var>)(.*)_([a-zA-Z0-9]|{.*}|\\\\[a-zA-Z]+)([^\\$]*)(\\$|</var>)";
+ userreplace["math.sub"] = "\\1<var>\\3<sub>\\4</sub>\\5</var>";
+ userfind["math.sup"] = "([^\\\\])(\\$|<var>)(.*)\\^([a-zA-Z0-9]|{.*}|\\\\[a-zA-Z]+)([^\\$]*)(\\$|</var>)";
+ userreplace["math.sup"] = "\\1<var>\\3<sup>\\4</sup>\\5</var>";
+
+ # strip out everything before "\begin{thebibliography}"
+ while (line !~/\\begin{thebibliography}/)
+ getline line;
+
+ NR=0;
+
+ RS = "\\\\bibitem"; # record separator = "\bibitem"
+ FS = "\\\\newblock[ \n]+"; # field separator = "\newblock "
+}
+
+NR == 1 { # on begin, after reading command-line parameters
+ if (!head && !foot) { # if both undefined then use defaults
+ head = "<html><body>";
+ foot = "</body></html>";
+ }
+
+ # put in header
+ printhf(head);
+
+ # default labelwidth = 50 (pixels)
+ if (!labelwidth) labelwidth = 50;
+
+ if (bigtable) print "<table width=\"100%\">";
+}
+
+# every record
+{
+ label = ""; # erase label
+}
+
+# leading "[", set label and strip "[...]" from $1
+$1 ~ /^\[/ {
+ right = matchBrace($1,1);
+ label = substr($1,2,right-2);
+
+ # alpha style
+ sub(/{\\etalchar{\+}}/,"+",label); # replace "{\etalchar{+}}" --> "+"
+
+ # apalike style
+ label = authorFormat(label);
+
+ # strip label from line
+ $1 = substr($1,right+1);
+}
+
+# leading "{"
+$1 ~ /^{/ {
+ keycount++;
+ # if label not already set or override then set to number
+ if (!label || override=="number") label = keycount;
+
+ # get length of key from $1
+ right = matchBrace($1,1);
+
+ # set bookmark to key
+ key = substr($1,2,right-2);
+
+ # use key as label?
+ if (override=="key") label = key;
+
+ if (!bigtable) print "<table width=\"100%\">";
+ print "<tr><td width=\"" labelwidth "\" valign=\"top\">";
+ printf("<a name=\"" key "\">");
+ print "[" label "]";
+ if (key != label) printf("<a name=\"" label "\">");
+ printf("</td><td");
+ # fixing width=100% looks better when using multiple tables
+ if (!bigtable) printf(" width=\"100%\"");
+ printf(">");
+
+ # strip key out of first line
+ line = substr($1,right+1);
+
+ # process each line
+ lineno=1;
+ while (lineno<=NF) {
+ # if last line then check for "\end{thebibliography}"
+ if (lineno==NF) sub(/\n\\end{thebibliography}/,"",line);
+
+ # first take out any urls before any more processing
+ while ((left=match(line,/\\url{/))>0) {
+ right= matchBrace(line,RSTART+4);
+ if (right>left) {
+ urlcnt++;
+ url[urlcnt] = substr(line,left+5,right-left-5); # assumes just one url per line
+ line = substr(line,1,left-1) "__URL" urlcnt "__" substr(line,right+1);
+ }
+ }
+ # repeat for hrefs
+ while ((left=match(line,/\\href{/))>0) {
+ right= matchBrace(line,RSTART+5);
+ if (right>left) {
+ urlcnt++;
+ url[urlcnt] = substr(line,left+6,right-left-6); # assumes just one url per line
+ # now find href text, starting with next '{'
+ if ((left2 = match(substr(line,right+1),/{/))>0) {
+ left2 += right;
+ right = matchBrace(line,left2);
+ txt[urlcnt] = substr(line,left2+1,right-left2-1);
+ }
+ # replace
+ line = substr(line,1,left-1) "__URL" urlcnt "__" substr(line,right+1);
+ }
+ }
+
+ line = authorFormat(line);
+
+ # re-insert formatted urls
+ while (urlcnt) {
+ url[urlcnt] = urlFormat(url[urlcnt],txt[urlcnt]);
+ urlmark = "__URL" urlcnt "__";
+ # can't use sub() because url[urlcnt] may contain "&"
+ # sub(urlmark,url[urlcnt],line);
+ if (match(line,urlmark)) {
+ line = substr(line,1,RSTART-1) url[urlcnt] substr(line,RSTART+RLENGTH);
+ }
+ urlcnt--;
+ }
+ print line "<br>";
+
+ # get ready for next line
+ lineno++;
+ line = $lineno;
+ }
+
+ printf("</td></tr>");
+ if (!bigtable) print "</table>";
+}
+
+END {
+ if (bigtable) print "</table>";
+ if (!noabout) {
+ print "<hr><font size=\"-1\"><address>Generated by <a href=\"" home "\">bbl2html.awk</a> v" version "</address></font>";
+ }
+ if (foot) printhf(foot);
+}
+#--------------------------------------------------------------------------
+function authorFormat( s,
+ left,right)
+# substitute accents in author-type string s.
+{
+ # first replace small-caps formatting style so accents are handled properly
+ s = replaceFormatSC(s);
+
+ # next, replace accents
+ s = gensub(/\\'([AEIOUYaeiouy])/, "\\&\\1acute;", "g", s);
+ s = gensub(/\\`([AEIOUaeiou])/, "\\&\\1grave;", "g", s);
+ s = gensub(/\\\^([AEIOUaeiou])/, "\\&\\1circ;", "g", s);
+ s = gensub(/\\~([AEINOUaeinou])/, "\\&\\1tilde;", "g", s);
+ s = gensub(/\\[\.]([AEIOUaeiou])/, "\\&\\1ring;", "g", s);
+ s = gensub(/\\\"([AEIOUaeiou])/, "\\&\\1uml;", "g", s);
+ s = gensub(/\\([Oo])/, "\\&\\1slash;", "g", s);
+ s = gensub(/\\(AE|ae)/, "\\&\\1lig;", "g", s);
+ gsub(/\\ss/,"\\&szlig;",s); # German sharp s
+ gsub(/~/,"\\&nbsp;",s); # replace nonbreaking spaces: ~ --> &nbsp;
+ gsub(/\\[,@]/," ",s); # replace spaces
+ gsub(/``|''/,"\\&quot;",s); # replace quotes
+ gsub(/---/,"-",s); # replace dashes
+ gsub(/--/,"-",s);
+
+ # these accents can't be displayed in HTML (with my charset) so delete 'em
+ s = gensub(/\\[bcduvH]{([a-zA-Z])}/, "\\1", "g", s); # eg. \u{o}
+ gsub(/{\\AA}/,"A",s); # \AA --> A
+ gsub(/{\\aa}/,"a",s); # \aa --> a
+
+ # user-defined substitutions
+ for (i in userfind) {
+ s = gensub(userfind[i], userreplace[i], "g", s);
+ }
+
+ # replace formatting styles
+ s = replaceFormat(s,"\\em","<em>","</em>"); # replace emphasis
+ s = replaceFormat(s,"\\bf","<b>","</b>"); # replace bold
+ s = replaceFormat(s,"\\it","<i>","</i>"); # replace italics
+ s = replaceFormat(s,"\\tt","<tt>","</tt>"); # replace teletype
+
+ gsub(/{|}/,"",s); # drop any remaining braces
+ gsub(/\\/,"",s); # drop any remaining slashes
+ return s;
+}
+#--------------------------------------------------------------------------
+function urlFormat( url, # function parameters
+ display) # optional variables
+# Format a url. If 'display' is passed then try to determine if it should
+# be displayed formatted author-like or url-like.
+{
+# gsub(/\&/,"\\\\&",url); # escape "&"s (hmm, apparently I don't need this...)
+ gsub(/ /,"",url); # strip spaces
+ gsub(/%\n/,"",url); # strip end-of-line comments
+ gsub(/\n/,"",url); # strip other linebreaks
+ gsub(/%\n/,"",display); # also strip end-of-line comments in display
+
+
+ # guess how to format display, either as an url or authorFormat()
+ if (!display || tolower(display) ~ /:\/\/|^mailto:/) {
+ if (!display) display = url; # default display = formatted url
+ # allow linebreaks after punctuation symbols for display purposes
+ display = "<tt>" gensub(/([^A-Za-z0-9 ])/,"\\1<wbr>","g",display) "</tt>";
+ } else {
+ display = authorFormat(display);
+ }
+
+ return "<a href=\"" url "\">" display "</a>";
+}
+#--------------------------------------------------------------------------
+function printhf( s, # function parameters
+ line) # local variables
+# Prints s (head or foot). If s starts with "@" then is assumed to
+# be a filename and prints the contents of the file
+{
+ # if no leading "@" then just print s
+ if (s !~ /^@/) {
+ print s;
+ return;
+ }
+
+ # else print contents of file s
+ s = substr(s,2); # drop leading "@"
+ while ((getline line < s) > 0)
+ print line;
+ close(s);
+}
+#--------------------------------------------------------------------------
+function replaceFormat( s,find,replaceleft,replaceright, # function parameters
+ left, right) # local variables
+# Replace formatting style marks. Use to change things like {\it et al.}
+# into {<it> et al.</it>} with the usage
+# s = replaceFormat(s,"\\it","<i>","</i>");
+{
+ while ((left = index(s,find))>0) {
+ right = matchBrace(s,left,"{"); # find "}" which matches assumed "{" at position 'left'
+ if (right>left) {
+ s = substr(s,1,right-1) replaceright substr(s,right);
+ }
+ s = substr(s,1,left-1) replaceleft substr(s,left+length(find));
+ }
+ return s;
+}
+#--------------------------------------------------------------------------
+function replaceFormatSC( s, # function parameters
+ find,replaceleft,replaceright, # local variables
+ left, right,l,c,r,cout,i,capslock,ch)
+# Replace small caps "{\sc ...}" formatting style marks.
+# Should be called before accents are replaced (so that "\'a" --> "\'A",
+# for example, instead of "&aacute;" --> "&AACUTE;".)
+# This routine is not robust, it assumes only a small subset of LaTeX
+# commands (such as accents) will be found in the text s. Unanticipated
+# commands will probably be changed to uppercase (but, for now, this can
+# probably be corrected with userfind[]/userreplace[] substitutions).
+{
+ find = "\\sc";
+ replaceleft = "<font size=\"-1\">";
+ replaceright= "</font>";
+ while ((left = index(s,find))>0) {
+ right = matchBrace(s,left,"{"); # find "}" which matches assumed "{" at position 'left'
+ if (right<left) right = length(s);
+ # split s into parts
+ l = substr(s,1,left-1); # left
+ left += length(find);
+ c = substr(s,left,right-left+1)
+ r = substr(s,right+1);
+ # manipulate c
+ capslock=1; # start in uppercase
+ cout = "";
+ for (i=1; i<=length(c); i++) {
+ ch = substr(c,i,1);
+ if (ch ~ /[a-z]/) {
+ if (capslock) {
+ ch = replaceleft toupper(ch);
+ capslock = 0;
+ } else
+ ch = toupper(ch);
+ } else if (ch ~ /[A-Z0-9]/) {
+ if (!capslock) {
+ ch = replaceright ch;
+ capslock = 1;
+ }
+ }
+ cout = cout ch;
+ }
+ if (!capslock) cout = cout replaceright;
+ # correct mangled accents
+ gsub(/\\B{/, "\\b{", cout);
+ gsub(/\\C{/, "\\c{", cout);
+ gsub(/\\D{/, "\\d{", cout);
+ gsub(/\\U{/, "\\u{", cout);
+ gsub(/\\V{/, "\\v{", cout);
+
+ # recombine s
+ s = l cout r;
+ }
+ return s;
+}
+#@include matchBrace.awk
+#--------------------------------------------------------------------------
+# matchBrace.awk - library containing single function matchBrace()
+
+function matchBrace( s,i, # function parameters
+ open, # optional parameters
+ brace,depth,left,right,either,pos,start) # local variables
+# Finds the matching brace for the one at index i (or assume brace==open,
+# if specified) in string s. Returns
+# index of matching brace or zero if not found.
+{
+ # error trap
+ if (!i) return 0;
+
+ # if open not specified then read from substr(s,i,1)
+ if (!open) open = substr(s,i,1);
+
+ # identify type of braces and put in left and right
+ left = "([{<`)]}>'";
+ right= ")]}>'([{<`";
+ pos = index(left,open);
+ if (!pos) { # not in list of braces
+ left = open; # set left and right to the same thing
+ right= left;
+ either = "[" left "|" right "]"; # regexp (not escaped)
+ } else {
+ left = substr(left, pos,1); # found in list, set match
+ right= substr(right,pos,1);
+ either = "[\\" left "|\\" right "]"; # regexp (escaped)
+ }
+
+ # find matching brace
+ pos = i;
+ depth = 1;
+ while (depth) {
+ start += pos;
+ s = substr(s,pos+1);
+ if ((pos = match(s,either))>0) { # another brace found
+ if (substr(s,pos,1)==right) depth--;
+ else depth++;
+
+ } else return 0; # no more braces, return zero
+ }
+ return start+pos;
+}
+#--------------------------------------------------------------------------
diff --git a/biblio/bibtex/utils/misc/bibfind b/biblio/bibtex/utils/misc/bibfind
new file mode 100644
index 0000000000..f2ac1a3760
--- /dev/null
+++ b/biblio/bibtex/utils/misc/bibfind
@@ -0,0 +1,38 @@
+#!/usr/bin/perl
+#
+# bibfind -- Prints entries in your bib file that match search string.
+#
+# USAGE: bibfind <string> [<file>]
+#
+# Note:
+# Place bibfind in ~/bin, then chmod +x bibfind, then edit bibfind to change
+# the default bib file (see the variable $bibfile on line 29).
+#
+# 2001-07-05, Oyvind.Breivik@dnmi.no
+#
+
+### Arguments
+
+ my ($str,$file) = @ARGV;
+
+### Locals
+
+ my @paragraphs;
+ my $home;
+ my $bibfile;
+
+### Main
+
+ die "USAGE: $0 <string> [<file>]\n" if $#ARGV < 0;
+ $/ = ''; # $INPUT_RECORD_SEPARATOR set to read paragraphs
+ $home = $ENV{"HOME"};
+ $bibfile = "$home/dok/tex/bibtex/Breivik.bib"; # Default bibtex file
+ $file = $bibfile if ($#ARGV < 1);
+
+ open(FILE, $file) or die "ERROR: Can't open $file";
+ print "$file\n";
+ @paragraphs = <FILE>; # Slurp up file by paragraph
+
+ foreach (@paragraphs) {
+ print if /$str/i; # Case ignored, if wanted, remove trailing i.
+ }
diff --git a/biblio/bibtex/utils/misc/noTeX.bst b/biblio/bibtex/utils/misc/noTeX.bst
new file mode 100644
index 0000000000..4f2aa6649a
--- /dev/null
+++ b/biblio/bibtex/utils/misc/noTeX.bst
@@ -0,0 +1,1091 @@
+%
+%
+% BibTeX bibliography style `noTeX' 1.1 (2000/06/18)
+% by Sebastiano Vigna <vigna@acm.org> (starting from the plain.bst style)
+%
+% This stuff is Copyright (C) by the plain.bst author. My changes
+% are public domain.
+%
+% This style generates a number of HTML P elements of class noTeX,
+% one for each entry. The resulting .bbl file can be included in an
+% HTML document. The noTeX field is like the standard note field,
+% but it is only included here, while note is not looked at (so
+% you can have an HTML and a TeX version of the note field). The
+% noTeXtra field is HTML BODY material that is appended to the
+% result; it can contain, say, an abstract, references to ftp
+% sites and so on.
+%
+
+ENTRY
+ { address
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ month
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ noTeX
+ noTeXtra
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+
+STRINGS { s t }
+
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ " " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.bibitem}
+{ "<P CLASS=noTeX>" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+ noTeXtra empty$
+ { }
+ { noTeXtra write$ }
+ if$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "<EM>" swap$ * "</EM>" * }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr "{ff{ } }{vv{ } }{ll{ }}{, jj{ }}" format.name$ 't :=
+ nameptr #1 >
+ { namesleft #1 >
+ { ", " * t * }
+ { numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ t "others" =
+ { " et al." * }
+ { " and " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names }
+ if$
+}
+
+FUNCTION {format.editors}
+{ editor empty$
+ { "" }
+ { editor format.names
+ editor num.names$ #1 >
+ { ", editors" * }
+ { ", editor" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title "t" change.case$ }
+ if$
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { month " " * year * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.btitle}
+{ title emphasize
+}
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { " " }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { "volume" volume tie.or.space.connect
+ series empty$
+ 'skip$
+ { " of " * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { output.state mid.sentence =
+ { "number" }
+ { "Number" }
+ if$
+ number tie.or.space.connect
+ series empty$
+ { "there's a number but no series in " cite$ * warning$ }
+ { " in " * series * }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { edition "l" change.case$ " edition" * }
+ { edition "t" change.case$ " edition" * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { "pages" pages n.dashify tie.or.space.connect }
+ { "page" pages tie.or.space.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ { "(" number * ")" * *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ":" * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { "chapter" }
+ { type "l" change.case$ }
+ if$
+ chapter tie.or.space.connect
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{ booktitle empty$
+ { "" }
+ { editor empty$
+ { "In " booktitle emphasize * }
+ { "In " format.editors * ", " * booktitle emphasize * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ noTeX empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { "Technical Report" }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{ key empty$
+ { journal empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref *
+ warning$
+ ""
+ }
+ { "In {\em " journal * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv{ } }{ll{ }}" format.name$
+ editor num.names$ duplicate$
+ #2 >
+ { pop$ " et al." * }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff{ } }{vv{ } }{ll{ }}{ jj{ }}" format.name$ "others" =
+ { " et al." * }
+ { " and " * editor #2 "{vv{ } }{ll{ }}" format.name$ * }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.book.crossref}
+{ volume empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ "In "
+ }
+ { "Volume" volume tie.or.space.connect
+ " of " *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { "{\em " * series * "\/}" * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { booktitle empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ ""
+ }
+ { "In {\em " booktitle * "\/}" * }
+ if$
+ }
+ { "In " key * }
+ if$
+ }
+ { "In " format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { journal emphasize "journal" output.check
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ noTeX output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ noTeX output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ new.block
+ format.title "title" output.check
+ howpublished address new.block.checkb
+ howpublished output
+ address output
+ format.date output
+ new.block
+ noTeX output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ new.block
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.number.series output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ }
+ { format.chapter.pages "chapter and pages" output.check
+ new.block
+ format.book.crossref output.nonnull
+ }
+ if$
+ format.edition output
+ format.date "year" output.check
+ new.block
+ noTeX output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.chapter.pages output
+ new.sentence
+ publisher "publisher" output.check
+ address output
+ format.edition output
+ format.date "year" output.check
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.block
+ noTeX output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ address empty$
+ { organization publisher new.sentence.checkb
+ organization output
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ organization output
+ publisher output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.block
+ noTeX output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ { address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ { organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ noTeX output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ "Master's thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ noTeX output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.block.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ format.date output
+ new.block
+ noTeX output
+ fin.entry
+ empty.misc.check
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ "PhD thesis" format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ noTeX output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization output }
+ { format.editors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { editor empty$
+ { publisher new.sentence.checka }
+ { organization publisher new.sentence.checkb
+ organization output
+ }
+ if$
+ publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ editor empty$
+ 'skip$
+ { organization output }
+ if$
+ publisher output
+ }
+ if$
+ new.block
+ noTeX output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ format.tr.number output.nonnull
+ institution "institution" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ noTeX output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.title "title" output.check
+ new.block
+ noTeX "note" output.check
+ format.date output.check
+ new.block
+ noTeX output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.organization.sort}
+{ author empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need author, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {editor.organization.sort}
+{ editor empty$
+ { organization empty$
+ { key empty$
+ { "to sort, need editor, organization, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { "The " #4 organization chop.word sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+FUNCTION {presort}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.organization.sort
+ { type$ "manual" =
+ 'author.organization.sort
+ 'author.sort
+ if$
+ }
+ if$
+ }
+ if$
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
diff --git a/biblio/bibtex/utils/mkbib/ABOUT-NLS b/biblio/bibtex/utils/mkbib/ABOUT-NLS
new file mode 100644
index 0000000000..83bc72ec26
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/ABOUT-NLS
@@ -0,0 +1,1068 @@
+1 Notes on the Free Translation Project
+***************************************
+
+Free software is going international! The Free Translation Project is
+a way to get maintainers of free software, translators, and users all
+together, so that free software will gradually become able to speak many
+languages. A few packages already provide translations for their
+messages.
+
+ If you found this `ABOUT-NLS' file inside a distribution, you may
+assume that the distributed package does use GNU `gettext' internally,
+itself available at your nearest GNU archive site. But you do _not_
+need to install GNU `gettext' prior to configuring, installing or using
+this package with messages translated.
+
+ Installers will find here some useful hints. These notes also
+explain how users should proceed for getting the programs to use the
+available translations. They tell how people wanting to contribute and
+work on translations can contact the appropriate team.
+
+ When reporting bugs in the `intl/' directory or bugs which may be
+related to internationalization, you should tell about the version of
+`gettext' which is used. The information can be found in the
+`intl/VERSION' file, in internationalized packages.
+
+1.1 Quick configuration advice
+==============================
+
+If you want to exploit the full power of internationalization, you
+should configure it using
+
+ ./configure --with-included-gettext
+
+to force usage of internationalizing routines provided within this
+package, despite the existence of internationalizing capabilities in the
+operating system where this package is being installed. So far, only
+the `gettext' implementation in the GNU C library version 2 provides as
+many features (such as locale alias, message inheritance, automatic
+charset conversion or plural form handling) as the implementation here.
+It is also not possible to offer this additional functionality on top
+of a `catgets' implementation. Future versions of GNU `gettext' will
+very likely convey even more functionality. So it might be a good idea
+to change to GNU `gettext' as soon as possible.
+
+ So you need _not_ provide this option if you are using GNU libc 2 or
+you have installed a recent copy of the GNU gettext package with the
+included `libintl'.
+
+1.2 INSTALL Matters
+===================
+
+Some packages are "localizable" when properly installed; the programs
+they contain can be made to speak your own native language. Most such
+packages use GNU `gettext'. Other packages have their own ways to
+internationalization, predating GNU `gettext'.
+
+ By default, this package will be installed to allow translation of
+messages. It will automatically detect whether the system already
+provides the GNU `gettext' functions. If not, the included GNU
+`gettext' library will be used. This library is wholly contained
+within this package, usually in the `intl/' subdirectory, so prior
+installation of the GNU `gettext' package is _not_ required.
+Installers may use special options at configuration time for changing
+the default behaviour. The commands:
+
+ ./configure --with-included-gettext
+ ./configure --disable-nls
+
+will, respectively, bypass any pre-existing `gettext' to use the
+internationalizing routines provided within this package, or else,
+_totally_ disable translation of messages.
+
+ When you already have GNU `gettext' installed on your system and run
+configure without an option for your new package, `configure' will
+probably detect the previously built and installed `libintl.a' file and
+will decide to use this. This might not be desirable. You should use
+the more recent version of the GNU `gettext' library. I.e. if the file
+`intl/VERSION' shows that the library which comes with this package is
+more recent, you should use
+
+ ./configure --with-included-gettext
+
+to prevent auto-detection.
+
+ The configuration process will not test for the `catgets' function
+and therefore it will not be used. The reason is that even an
+emulation of `gettext' on top of `catgets' could not provide all the
+extensions of the GNU `gettext' library.
+
+ Internationalized packages usually have many `po/LL.po' files, where
+LL gives an ISO 639 two-letter code identifying the language. Unless
+translations have been forbidden at `configure' time by using the
+`--disable-nls' switch, all available translations are installed
+together with the package. However, the environment variable `LINGUAS'
+may be set, prior to configuration, to limit the installed set.
+`LINGUAS' should then contain a space separated list of two-letter
+codes, stating which languages are allowed.
+
+1.3 Using This Package
+======================
+
+As a user, if your language has been installed for this package, you
+only have to set the `LANG' environment variable to the appropriate
+`LL_CC' combination. If you happen to have the `LC_ALL' or some other
+`LC_xxx' environment variables set, you should unset them before
+setting `LANG', otherwise the setting of `LANG' will not have the
+desired effect. Here `LL' is an ISO 639 two-letter language code, and
+`CC' is an ISO 3166 two-letter country code. For example, let's
+suppose that you speak German and live in Germany. At the shell
+prompt, merely execute `setenv LANG de_DE' (in `csh'),
+`export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash').
+This can be done from your `.login' or `.profile' file, once and for
+all.
+
+ You might think that the country code specification is redundant.
+But in fact, some languages have dialects in different countries. For
+example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The
+country code serves to distinguish the dialects.
+
+ The locale naming convention of `LL_CC', with `LL' denoting the
+language and `CC' denoting the country, is the one use on systems based
+on GNU libc. On other systems, some variations of this scheme are
+used, such as `LL' or `LL_CC.ENCODING'. You can get the list of
+locales supported by your system for your language by running the
+command `locale -a | grep '^LL''.
+
+ Not all programs have translations for all languages. By default, an
+English message is shown in place of a nonexistent translation. If you
+understand other languages, you can set up a priority list of languages.
+This is done through a different environment variable, called
+`LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG'
+for the purpose of message handling, but you still need to have `LANG'
+set to the primary language; this is required by other parts of the
+system libraries. For example, some Swedish users who would rather
+read translations in German than English for when Swedish is not
+available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'.
+
+ Special advice for Norwegian users: The language code for Norwegian
+bokma*l changed from `no' to `nb' recently (in 2003). During the
+transition period, while some message catalogs for this language are
+installed under `nb' and some older ones under `no', it's recommended
+for Norwegian users to set `LANGUAGE' to `nb:no' so that both newer and
+older translations are used.
+
+ In the `LANGUAGE' environment variable, but not in the `LANG'
+environment variable, `LL_CC' combinations can be abbreviated as `LL'
+to denote the language's main dialect. For example, `de' is equivalent
+to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT'
+(Portuguese as spoken in Portugal) in this context.
+
+1.4 Translating Teams
+=====================
+
+For the Free Translation Project to be a success, we need interested
+people who like their own language and write it well, and who are also
+able to synergize with other translators speaking the same language.
+Each translation team has its own mailing list. The up-to-date list of
+teams can be found at the Free Translation Project's homepage,
+`http://translationproject.org/', in the "Teams" area.
+
+ If you'd like to volunteer to _work_ at translating messages, you
+should become a member of the translating team for your own language.
+The subscribing address is _not_ the same as the list itself, it has
+`-request' appended. For example, speakers of Swedish can send a
+message to `sv-request@li.org', having this message body:
+
+ subscribe
+
+ Keep in mind that team members are expected to participate
+_actively_ in translations, or at solving translational difficulties,
+rather than merely lurking around. If your team does not exist yet and
+you want to start one, or if you are unsure about what to do or how to
+get started, please write to `coordinator@translationproject.org' to
+reach the coordinator for all translator teams.
+
+ The English team is special. It works at improving and uniformizing
+the terminology in use. Proven linguistic skills are praised more than
+programming skills, here.
+
+1.5 Available Packages
+======================
+
+Languages are not equally supported in all packages. The following
+matrix shows the current state of internationalization, as of November
+2007. The matrix shows, in regard of each package, for which languages
+PO files have been submitted to translation coordination, with a
+translation percentage of at least 50%.
+
+ Ready PO files af am ar az be bg bs ca cs cy da de el en en_GB eo
+ +----------------------------------------------------+
+ Compendium | [] [] [] [] |
+ a2ps | [] [] [] [] [] |
+ aegis | () |
+ ant-phone | () |
+ anubis | [] |
+ ap-utils | |
+ aspell | [] [] [] [] [] |
+ bash | [] |
+ bfd | |
+ bibshelf | [] |
+ binutils | |
+ bison | [] [] |
+ bison-runtime | [] |
+ bluez-pin | [] [] [] [] [] |
+ cflow | [] |
+ clisp | [] [] [] |
+ console-tools | [] [] |
+ coreutils | [] [] [] [] |
+ cpio | |
+ cpplib | [] [] [] |
+ cryptonit | [] |
+ dialog | |
+ diffutils | [] [] [] [] [] [] |
+ doodle | [] |
+ e2fsprogs | [] [] |
+ enscript | [] [] [] [] |
+ fetchmail | [] [] () [] [] |
+ findutils | [] |
+ findutils_stable | [] [] [] |
+ flex | [] [] [] |
+ fslint | |
+ gas | |
+ gawk | [] [] [] |
+ gcal | [] |
+ gcc | [] |
+ gettext-examples | [] [] [] [] [] |
+ gettext-runtime | [] [] [] [] [] |
+ gettext-tools | [] [] |
+ gip | [] |
+ gliv | [] [] |
+ glunarclock | [] |
+ gmult | [] [] |
+ gnubiff | () |
+ gnucash | [] [] () () [] |
+ gnuedu | |
+ gnulib | [] |
+ gnunet | |
+ gnunet-gtk | |
+ gnutls | [] |
+ gpe-aerial | [] [] |
+ gpe-beam | [] [] |
+ gpe-calendar | |
+ gpe-clock | [] [] |
+ gpe-conf | [] [] |
+ gpe-contacts | |
+ gpe-edit | [] |
+ gpe-filemanager | |
+ gpe-go | [] |
+ gpe-login | [] [] |
+ gpe-ownerinfo | [] [] |
+ gpe-package | |
+ gpe-sketchbook | [] [] |
+ gpe-su | [] [] |
+ gpe-taskmanager | [] [] |
+ gpe-timesheet | [] |
+ gpe-today | [] [] |
+ gpe-todo | |
+ gphoto2 | [] [] [] [] |
+ gprof | [] [] |
+ gpsdrive | |
+ gramadoir | [] [] |
+ grep | [] [] |
+ gretl | () |
+ gsasl | |
+ gss | |
+ gst-plugins-bad | [] [] |
+ gst-plugins-base | [] [] |
+ gst-plugins-good | [] [] [] |
+ gst-plugins-ugly | [] [] |
+ gstreamer | [] [] [] [] [] [] [] |
+ gtick | () |
+ gtkam | [] [] [] [] |
+ gtkorphan | [] [] |
+ gtkspell | [] [] [] [] |
+ gutenprint | [] |
+ hello | [] [] [] [] [] |
+ herrie | [] |
+ hylafax | |
+ idutils | [] [] |
+ indent | [] [] [] [] |
+ iso_15924 | |
+ iso_3166 | [] [] [] [] [] [] [] [] [] [] [] |
+ iso_3166_2 | |
+ iso_4217 | [] [] [] |
+ iso_639 | [] [] [] [] |
+ jpilot | [] |
+ jtag | |
+ jwhois | |
+ kbd | [] [] [] [] |
+ keytouch | [] [] |
+ keytouch-editor | [] |
+ keytouch-keyboa... | [] |
+ latrine | () |
+ ld | [] |
+ leafpad | [] [] [] [] [] |
+ libc | [] [] [] [] |
+ libexif | [] |
+ libextractor | [] |
+ libgpewidget | [] [] [] |
+ libgpg-error | [] |
+ libgphoto2 | [] [] |
+ libgphoto2_port | [] [] |
+ libgsasl | |
+ libiconv | [] [] |
+ libidn | [] [] [] |
+ lifelines | [] () |
+ lilypond | [] |
+ lingoteach | |
+ lprng | |
+ lynx | [] [] [] [] |
+ m4 | [] [] [] [] |
+ mailfromd | |
+ mailutils | [] |
+ make | [] [] |
+ man-db | [] [] [] |
+ minicom | [] [] [] |
+ nano | [] [] [] |
+ opcodes | [] |
+ parted | [] [] |
+ pilot-qof | |
+ popt | [] [] [] |
+ psmisc | [] |
+ pwdutils | |
+ qof | |
+ radius | [] |
+ recode | [] [] [] [] [] [] |
+ rpm | [] |
+ screem | |
+ scrollkeeper | [] [] [] [] [] [] [] [] |
+ sed | [] [] [] |
+ shared-mime-info | [] [] [] [] () [] [] [] |
+ sharutils | [] [] [] [] [] [] |
+ shishi | |
+ skencil | [] () |
+ solfege | |
+ soundtracker | [] [] |
+ sp | [] |
+ system-tools-ba... | [] [] [] [] [] [] [] [] [] |
+ tar | [] [] |
+ texinfo | [] [] [] |
+ tin | () () |
+ tuxpaint | [] [] [] [] [] [] |
+ unicode-han-tra... | |
+ unicode-transla... | |
+ util-linux | [] [] [] [] |
+ util-linux-ng | [] [] [] [] |
+ vorbis-tools | [] |
+ wastesedge | () |
+ wdiff | [] [] [] [] |
+ wget | [] [] [] |
+ xchat | [] [] [] [] [] [] [] |
+ xkeyboard-config | [] |
+ xpad | [] [] [] |
+ +----------------------------------------------------+
+ af am ar az be bg bs ca cs cy da de el en en_GB eo
+ 6 0 2 1 8 26 2 40 48 2 56 88 15 1 15 18
+
+ es et eu fa fi fr ga gl gu he hi hr hu id is it
+ +--------------------------------------------------+
+ Compendium | [] [] [] [] [] |
+ a2ps | [] [] [] () |
+ aegis | |
+ ant-phone | [] |
+ anubis | [] |
+ ap-utils | [] [] |
+ aspell | [] [] [] |
+ bash | [] |
+ bfd | [] [] |
+ bibshelf | [] [] [] |
+ binutils | [] [] [] |
+ bison | [] [] [] [] [] [] |
+ bison-runtime | [] [] [] [] [] |
+ bluez-pin | [] [] [] [] [] |
+ cflow | [] |
+ clisp | [] [] |
+ console-tools | |
+ coreutils | [] [] [] [] [] [] |
+ cpio | [] [] [] |
+ cpplib | [] [] |
+ cryptonit | [] |
+ dialog | [] [] [] |
+ diffutils | [] [] [] [] [] [] [] [] [] |
+ doodle | [] [] |
+ e2fsprogs | [] [] [] |
+ enscript | [] [] [] |
+ fetchmail | [] |
+ findutils | [] [] [] |
+ findutils_stable | [] [] [] [] |
+ flex | [] [] [] |
+ fslint | |
+ gas | [] [] |
+ gawk | [] [] [] [] () |
+ gcal | [] [] |
+ gcc | [] |
+ gettext-examples | [] [] [] [] [] [] [] |
+ gettext-runtime | [] [] [] [] [] [] |
+ gettext-tools | [] [] [] [] |
+ gip | [] [] [] [] |
+ gliv | () |
+ glunarclock | [] [] [] |
+ gmult | [] [] [] |
+ gnubiff | () () |
+ gnucash | () () () |
+ gnuedu | [] |
+ gnulib | [] [] [] |
+ gnunet | |
+ gnunet-gtk | |
+ gnutls | |
+ gpe-aerial | [] [] |
+ gpe-beam | [] [] |
+ gpe-calendar | |
+ gpe-clock | [] [] [] [] |
+ gpe-conf | [] |
+ gpe-contacts | [] [] |
+ gpe-edit | [] [] [] [] |
+ gpe-filemanager | [] |
+ gpe-go | [] [] [] |
+ gpe-login | [] [] [] |
+ gpe-ownerinfo | [] [] [] [] [] |
+ gpe-package | [] |
+ gpe-sketchbook | [] [] |
+ gpe-su | [] [] [] [] |
+ gpe-taskmanager | [] [] [] |
+ gpe-timesheet | [] [] [] [] |
+ gpe-today | [] [] [] [] |
+ gpe-todo | [] |
+ gphoto2 | [] [] [] [] [] |
+ gprof | [] [] [] [] [] |
+ gpsdrive | [] |
+ gramadoir | [] [] |
+ grep | [] [] [] |
+ gretl | [] [] [] () |
+ gsasl | [] [] |
+ gss | [] [] |
+ gst-plugins-bad | [] [] [] [] |
+ gst-plugins-base | [] [] [] [] |
+ gst-plugins-good | [] [] [] [] [] |
+ gst-plugins-ugly | [] [] [] [] |
+ gstreamer | [] [] [] |
+ gtick | [] [] [] |
+ gtkam | [] [] [] [] |
+ gtkorphan | [] [] |
+ gtkspell | [] [] [] [] [] [] [] |
+ gutenprint | [] |
+ hello | [] [] [] [] [] [] [] [] [] [] [] [] [] |
+ herrie | [] |
+ hylafax | |
+ idutils | [] [] [] [] [] |
+ indent | [] [] [] [] [] [] [] [] [] [] |
+ iso_15924 | [] |
+ iso_3166 | [] [] [] [] [] [] [] [] [] [] [] [] [] |
+ iso_3166_2 | [] |
+ iso_4217 | [] [] [] [] [] [] |
+ iso_639 | [] [] [] [] [] [] |
+ jpilot | [] [] |
+ jtag | [] |
+ jwhois | [] [] [] [] [] |
+ kbd | [] [] |
+ keytouch | [] [] [] |
+ keytouch-editor | [] |
+ keytouch-keyboa... | [] [] |
+ latrine | [] [] |
+ ld | [] [] [] [] |
+ leafpad | [] [] [] [] [] [] |
+ libc | [] [] [] [] [] |
+ libexif | [] |
+ libextractor | [] |
+ libgpewidget | [] [] [] [] [] |
+ libgpg-error | [] |
+ libgphoto2 | [] [] [] |
+ libgphoto2_port | [] [] |
+ libgsasl | [] [] |
+ libiconv | [] [] [] |
+ libidn | [] [] |
+ lifelines | () |
+ lilypond | [] [] [] |
+ lingoteach | [] [] [] |
+ lprng | |
+ lynx | [] [] [] |
+ m4 | [] [] [] [] |
+ mailfromd | |
+ mailutils | [] [] |
+ make | [] [] [] [] [] [] [] [] |
+ man-db | [] |
+ minicom | [] [] [] [] |
+ nano | [] [] [] [] [] [] [] |
+ opcodes | [] [] [] [] |
+ parted | [] [] [] |
+ pilot-qof | |
+ popt | [] [] [] [] |
+ psmisc | [] [] |
+ pwdutils | |
+ qof | [] |
+ radius | [] [] |
+ recode | [] [] [] [] [] [] [] [] |
+ rpm | [] [] |
+ screem | |
+ scrollkeeper | [] [] [] |
+ sed | [] [] [] [] [] |
+ shared-mime-info | [] [] [] [] [] [] |
+ sharutils | [] [] [] [] [] [] [] [] |
+ shishi | [] |
+ skencil | [] [] |
+ solfege | [] |
+ soundtracker | [] [] [] |
+ sp | [] |
+ system-tools-ba... | [] [] [] [] [] [] [] [] [] |
+ tar | [] [] [] [] [] |
+ texinfo | [] [] [] |
+ tin | [] () |
+ tuxpaint | [] [] |
+ unicode-han-tra... | |
+ unicode-transla... | [] [] |
+ util-linux | [] [] [] [] [] [] [] |
+ util-linux-ng | [] [] [] [] [] [] [] |
+ vorbis-tools | |
+ wastesedge | () |
+ wdiff | [] [] [] [] [] [] [] [] |
+ wget | [] [] [] [] [] [] [] [] |
+ xchat | [] [] [] [] [] [] [] |
+ xkeyboard-config | [] [] [] [] |
+ xpad | [] [] [] |
+ +--------------------------------------------------+
+ es et eu fa fi fr ga gl gu he hi hr hu id is it
+ 85 22 14 2 48 101 61 12 2 8 2 6 53 29 1 52
+
+ ja ka ko ku ky lg lt lv mk mn ms mt nb ne nl nn
+ +--------------------------------------------------+
+ Compendium | [] |
+ a2ps | () [] [] |
+ aegis | () |
+ ant-phone | [] |
+ anubis | [] [] [] |
+ ap-utils | [] |
+ aspell | [] [] |
+ bash | [] |
+ bfd | |
+ bibshelf | [] |
+ binutils | |
+ bison | [] [] [] |
+ bison-runtime | [] [] [] |
+ bluez-pin | [] [] [] |
+ cflow | |
+ clisp | [] |
+ console-tools | |
+ coreutils | [] |
+ cpio | [] |
+ cpplib | [] |
+ cryptonit | [] |
+ dialog | [] [] |
+ diffutils | [] [] [] |
+ doodle | |
+ e2fsprogs | [] |
+ enscript | [] |
+ fetchmail | [] [] |
+ findutils | [] |
+ findutils_stable | [] |
+ flex | [] [] |
+ fslint | |
+ gas | |
+ gawk | [] [] |
+ gcal | |
+ gcc | |
+ gettext-examples | [] [] [] |
+ gettext-runtime | [] [] [] |
+ gettext-tools | [] [] |
+ gip | [] [] |
+ gliv | [] |
+ glunarclock | [] [] |
+ gmult | [] [] [] |
+ gnubiff | |
+ gnucash | () () () |
+ gnuedu | |
+ gnulib | [] [] |
+ gnunet | |
+ gnunet-gtk | |
+ gnutls | [] |
+ gpe-aerial | [] |
+ gpe-beam | [] |
+ gpe-calendar | [] |
+ gpe-clock | [] [] [] |
+ gpe-conf | [] [] [] |
+ gpe-contacts | [] |
+ gpe-edit | [] [] [] |
+ gpe-filemanager | [] [] |
+ gpe-go | [] [] [] |
+ gpe-login | [] [] [] |
+ gpe-ownerinfo | [] [] |
+ gpe-package | [] [] |
+ gpe-sketchbook | [] [] |
+ gpe-su | [] [] [] |
+ gpe-taskmanager | [] [] [] [] |
+ gpe-timesheet | [] |
+ gpe-today | [] [] |
+ gpe-todo | [] |
+ gphoto2 | [] [] |
+ gprof | [] |
+ gpsdrive | [] |
+ gramadoir | () |
+ grep | [] [] |
+ gretl | |
+ gsasl | [] |
+ gss | |
+ gst-plugins-bad | [] |
+ gst-plugins-base | [] |
+ gst-plugins-good | [] |
+ gst-plugins-ugly | [] |
+ gstreamer | [] |
+ gtick | [] |
+ gtkam | [] [] |
+ gtkorphan | [] |
+ gtkspell | [] [] |
+ gutenprint | [] |
+ hello | [] [] [] [] [] [] [] |
+ herrie | [] |
+ hylafax | |
+ idutils | [] |
+ indent | [] [] |
+ iso_15924 | [] |
+ iso_3166 | [] [] [] [] [] [] [] [] |
+ iso_3166_2 | [] |
+ iso_4217 | [] [] [] |
+ iso_639 | [] [] [] [] |
+ jpilot | () () |
+ jtag | |
+ jwhois | [] |
+ kbd | [] |
+ keytouch | [] |
+ keytouch-editor | [] |
+ keytouch-keyboa... | |
+ latrine | [] |
+ ld | |
+ leafpad | [] [] |
+ libc | [] [] [] |
+ libexif | |
+ libextractor | |
+ libgpewidget | [] |
+ libgpg-error | |
+ libgphoto2 | [] |
+ libgphoto2_port | [] |
+ libgsasl | [] |
+ libiconv | [] |
+ libidn | [] [] |
+ lifelines | [] |
+ lilypond | [] |
+ lingoteach | [] |
+ lprng | |
+ lynx | [] [] |
+ m4 | [] [] |
+ mailfromd | |
+ mailutils | |
+ make | [] [] [] |
+ man-db | |
+ minicom | [] |
+ nano | [] [] [] |
+ opcodes | [] |
+ parted | [] [] |
+ pilot-qof | |
+ popt | [] [] [] |
+ psmisc | [] [] [] |
+ pwdutils | |
+ qof | |
+ radius | |
+ recode | [] |
+ rpm | [] [] |
+ screem | [] |
+ scrollkeeper | [] [] [] [] |
+ sed | [] [] |
+ shared-mime-info | [] [] [] [] [] [] [] |
+ sharutils | [] [] |
+ shishi | |
+ skencil | |
+ solfege | () () |
+ soundtracker | |
+ sp | () |
+ system-tools-ba... | [] [] [] [] |
+ tar | [] [] [] |
+ texinfo | [] [] |
+ tin | |
+ tuxpaint | () [] [] |
+ unicode-han-tra... | |
+ unicode-transla... | |
+ util-linux | [] [] |
+ util-linux-ng | [] [] |
+ vorbis-tools | |
+ wastesedge | [] |
+ wdiff | [] [] |
+ wget | [] [] |
+ xchat | [] [] [] [] |
+ xkeyboard-config | [] [] [] |
+ xpad | [] [] [] |
+ +--------------------------------------------------+
+ ja ka ko ku ky lg lt lv mk mn ms mt nb ne nl nn
+ 51 2 25 3 2 0 6 0 2 2 20 0 11 1 103 6
+
+ or pa pl pt pt_BR rm ro ru rw sk sl sq sr sv ta
+ +--------------------------------------------------+
+ Compendium | [] [] [] [] [] |
+ a2ps | () [] [] [] [] [] [] |
+ aegis | () () |
+ ant-phone | [] [] |
+ anubis | [] [] [] |
+ ap-utils | () |
+ aspell | [] [] [] |
+ bash | [] [] |
+ bfd | |
+ bibshelf | [] |
+ binutils | [] [] |
+ bison | [] [] [] [] [] |
+ bison-runtime | [] [] [] [] [] |
+ bluez-pin | [] [] [] [] [] [] [] [] [] |
+ cflow | [] |
+ clisp | [] |
+ console-tools | [] |
+ coreutils | [] [] [] [] |
+ cpio | [] [] [] |
+ cpplib | [] |
+ cryptonit | [] [] |
+ dialog | [] |
+ diffutils | [] [] [] [] [] [] |
+ doodle | [] [] |
+ e2fsprogs | [] [] |
+ enscript | [] [] [] [] [] |
+ fetchmail | [] [] [] |
+ findutils | [] [] [] |
+ findutils_stable | [] [] [] [] [] [] |
+ flex | [] [] [] [] [] |
+ fslint | [] |
+ gas | |
+ gawk | [] [] [] [] |
+ gcal | [] |
+ gcc | [] [] |
+ gettext-examples | [] [] [] [] [] [] [] [] |
+ gettext-runtime | [] [] [] [] [] [] [] [] |
+ gettext-tools | [] [] [] [] [] [] [] |
+ gip | [] [] [] [] |
+ gliv | [] [] [] [] [] [] |
+ glunarclock | [] [] [] [] [] [] |
+ gmult | [] [] [] [] |
+ gnubiff | () [] |
+ gnucash | () [] |
+ gnuedu | |
+ gnulib | [] [] [] |
+ gnunet | |
+ gnunet-gtk | [] |
+ gnutls | [] [] |
+ gpe-aerial | [] [] [] [] [] [] [] |
+ gpe-beam | [] [] [] [] [] [] [] |
+ gpe-calendar | [] [] [] [] |
+ gpe-clock | [] [] [] [] [] [] [] [] |
+ gpe-conf | [] [] [] [] [] [] [] |
+ gpe-contacts | [] [] [] [] [] |
+ gpe-edit | [] [] [] [] [] [] [] [] [] |
+ gpe-filemanager | [] [] |
+ gpe-go | [] [] [] [] [] [] [] [] |
+ gpe-login | [] [] [] [] [] [] [] [] |
+ gpe-ownerinfo | [] [] [] [] [] [] [] [] |
+ gpe-package | [] [] |
+ gpe-sketchbook | [] [] [] [] [] [] [] [] |
+ gpe-su | [] [] [] [] [] [] [] [] |
+ gpe-taskmanager | [] [] [] [] [] [] [] [] |
+ gpe-timesheet | [] [] [] [] [] [] [] [] |
+ gpe-today | [] [] [] [] [] [] [] [] |
+ gpe-todo | [] [] [] [] |
+ gphoto2 | [] [] [] [] [] [] |
+ gprof | [] [] [] |
+ gpsdrive | [] [] |
+ gramadoir | [] [] |
+ grep | [] [] [] [] |
+ gretl | [] [] [] |
+ gsasl | [] [] [] |
+ gss | [] [] [] [] |
+ gst-plugins-bad | [] [] [] |
+ gst-plugins-base | [] [] |
+ gst-plugins-good | [] [] |
+ gst-plugins-ugly | [] [] [] |
+ gstreamer | [] [] [] [] |
+ gtick | [] |
+ gtkam | [] [] [] [] [] |
+ gtkorphan | [] |
+ gtkspell | [] [] [] [] [] [] [] [] |
+ gutenprint | [] |
+ hello | [] [] [] [] [] [] [] [] |
+ herrie | [] [] [] |
+ hylafax | |
+ idutils | [] [] [] [] [] |
+ indent | [] [] [] [] [] [] [] |
+ iso_15924 | |
+ iso_3166 | [] [] [] [] [] [] [] [] [] [] [] [] [] |
+ iso_3166_2 | |
+ iso_4217 | [] [] [] [] [] [] [] |
+ iso_639 | [] [] [] [] [] [] [] |
+ jpilot | |
+ jtag | [] |
+ jwhois | [] [] [] [] |
+ kbd | [] [] [] |
+ keytouch | [] |
+ keytouch-editor | [] |
+ keytouch-keyboa... | [] |
+ latrine | |
+ ld | [] |
+ leafpad | [] [] [] [] [] [] |
+ libc | [] [] [] [] |
+ libexif | [] [] |
+ libextractor | [] [] |
+ libgpewidget | [] [] [] [] [] [] [] [] |
+ libgpg-error | [] [] [] |
+ libgphoto2 | [] |
+ libgphoto2_port | [] [] [] |
+ libgsasl | [] [] [] [] |
+ libiconv | [] [] [] |
+ libidn | [] [] () |
+ lifelines | [] [] |
+ lilypond | |
+ lingoteach | [] |
+ lprng | [] |
+ lynx | [] [] [] |
+ m4 | [] [] [] [] [] |
+ mailfromd | [] |
+ mailutils | [] [] [] |
+ make | [] [] [] [] |
+ man-db | [] [] [] [] |
+ minicom | [] [] [] [] [] |
+ nano | [] [] [] [] |
+ opcodes | [] [] |
+ parted | [] |
+ pilot-qof | |
+ popt | [] [] [] [] |
+ psmisc | [] [] |
+ pwdutils | [] [] |
+ qof | [] [] |
+ radius | [] [] |
+ recode | [] [] [] [] [] [] [] |
+ rpm | [] [] [] [] |
+ screem | |
+ scrollkeeper | [] [] [] [] [] [] [] |
+ sed | [] [] [] [] [] [] [] [] [] |
+ shared-mime-info | [] [] [] [] [] [] |
+ sharutils | [] [] [] [] |
+ shishi | [] |
+ skencil | [] [] [] |
+ solfege | [] |
+ soundtracker | [] [] |
+ sp | |
+ system-tools-ba... | [] [] [] [] [] [] [] [] [] |
+ tar | [] [] [] [] |
+ texinfo | [] [] [] [] |
+ tin | () |
+ tuxpaint | [] [] [] [] [] [] |
+ unicode-han-tra... | |
+ unicode-transla... | |
+ util-linux | [] [] [] [] |
+ util-linux-ng | [] [] [] [] |
+ vorbis-tools | [] |
+ wastesedge | |
+ wdiff | [] [] [] [] [] [] [] |
+ wget | [] [] [] [] |
+ xchat | [] [] [] [] [] [] [] |
+ xkeyboard-config | [] [] [] |
+ xpad | [] [] [] |
+ +--------------------------------------------------+
+ or pa pl pt pt_BR rm ro ru rw sk sl sq sr sv ta
+ 0 5 77 31 53 4 58 72 3 45 46 9 45 122 3
+
+ tg th tk tr uk ven vi wa xh zh_CN zh_HK zh_TW zu
+ +---------------------------------------------------+
+ Compendium | [] [] [] [] | 19
+ a2ps | [] [] [] | 19
+ aegis | [] | 1
+ ant-phone | [] [] | 6
+ anubis | [] [] [] | 11
+ ap-utils | () [] | 4
+ aspell | [] [] [] | 16
+ bash | [] | 6
+ bfd | | 2
+ bibshelf | [] | 7
+ binutils | [] [] [] [] | 9
+ bison | [] [] [] [] | 20
+ bison-runtime | [] [] [] [] | 18
+ bluez-pin | [] [] [] [] [] [] | 28
+ cflow | [] [] | 5
+ clisp | | 9
+ console-tools | [] [] | 5
+ coreutils | [] [] [] | 18
+ cpio | [] [] [] [] | 11
+ cpplib | [] [] [] [] [] | 12
+ cryptonit | [] | 6
+ dialog | [] [] [] | 9
+ diffutils | [] [] [] [] [] | 29
+ doodle | [] | 6
+ e2fsprogs | [] [] | 10
+ enscript | [] [] [] | 16
+ fetchmail | [] [] | 12
+ findutils | [] [] [] | 11
+ findutils_stable | [] [] [] [] | 18
+ flex | [] [] | 15
+ fslint | [] | 2
+ gas | [] | 3
+ gawk | [] [] [] | 16
+ gcal | [] | 5
+ gcc | [] [] [] | 7
+ gettext-examples | [] [] [] [] [] [] | 29
+ gettext-runtime | [] [] [] [] [] [] | 28
+ gettext-tools | [] [] [] [] [] | 20
+ gip | [] [] | 13
+ gliv | [] [] | 11
+ glunarclock | [] [] [] | 15
+ gmult | [] [] [] [] | 16
+ gnubiff | [] | 2
+ gnucash | () [] | 5
+ gnuedu | [] | 2
+ gnulib | [] | 10
+ gnunet | | 0
+ gnunet-gtk | [] [] | 3
+ gnutls | | 4
+ gpe-aerial | [] [] | 14
+ gpe-beam | [] [] | 14
+ gpe-calendar | [] [] | 7
+ gpe-clock | [] [] [] [] | 21
+ gpe-conf | [] [] [] | 16
+ gpe-contacts | [] [] | 10
+ gpe-edit | [] [] [] [] [] | 22
+ gpe-filemanager | [] [] | 7
+ gpe-go | [] [] [] [] | 19
+ gpe-login | [] [] [] [] [] | 21
+ gpe-ownerinfo | [] [] [] [] | 21
+ gpe-package | [] | 6
+ gpe-sketchbook | [] [] | 16
+ gpe-su | [] [] [] [] | 21
+ gpe-taskmanager | [] [] [] [] | 21
+ gpe-timesheet | [] [] [] [] | 18
+ gpe-today | [] [] [] [] [] | 21
+ gpe-todo | [] [] | 8
+ gphoto2 | [] [] [] [] | 21
+ gprof | [] [] | 13
+ gpsdrive | [] | 5
+ gramadoir | [] | 7
+ grep | [] | 12
+ gretl | | 6
+ gsasl | [] [] [] | 9
+ gss | [] | 7
+ gst-plugins-bad | [] [] [] | 13
+ gst-plugins-base | [] [] | 11
+ gst-plugins-good | [] [] [] [] [] | 16
+ gst-plugins-ugly | [] [] [] | 13
+ gstreamer | [] [] [] | 18
+ gtick | [] [] | 7
+ gtkam | [] | 16
+ gtkorphan | [] | 7
+ gtkspell | [] [] [] [] [] [] | 27
+ gutenprint | | 4
+ hello | [] [] [] [] [] | 38
+ herrie | [] [] | 8
+ hylafax | | 0
+ idutils | [] [] | 15
+ indent | [] [] [] [] [] | 28
+ iso_15924 | [] [] | 4
+ iso_3166 | [] [] [] [] [] [] [] [] [] | 54
+ iso_3166_2 | [] [] | 4
+ iso_4217 | [] [] [] [] [] | 24
+ iso_639 | [] [] [] [] [] | 26
+ jpilot | [] [] [] [] | 7
+ jtag | [] | 3
+ jwhois | [] [] [] | 13
+ kbd | [] [] [] | 13
+ keytouch | [] | 8
+ keytouch-editor | [] | 5
+ keytouch-keyboa... | [] | 5
+ latrine | [] [] | 5
+ ld | [] [] [] [] | 10
+ leafpad | [] [] [] [] [] | 24
+ libc | [] [] [] | 19
+ libexif | [] | 5
+ libextractor | [] | 5
+ libgpewidget | [] [] [] | 20
+ libgpg-error | [] | 6
+ libgphoto2 | [] [] | 9
+ libgphoto2_port | [] [] [] | 11
+ libgsasl | [] | 8
+ libiconv | [] [] | 11
+ libidn | [] [] | 11
+ lifelines | | 4
+ lilypond | [] | 6
+ lingoteach | [] | 6
+ lprng | [] | 2
+ lynx | [] [] [] | 15
+ m4 | [] [] [] | 18
+ mailfromd | [] [] | 3
+ mailutils | [] [] | 8
+ make | [] [] [] | 20
+ man-db | [] | 9
+ minicom | [] | 14
+ nano | [] [] [] | 20
+ opcodes | [] [] | 10
+ parted | [] [] [] | 11
+ pilot-qof | [] | 1
+ popt | [] [] [] [] | 18
+ psmisc | [] [] | 10
+ pwdutils | [] | 3
+ qof | [] | 4
+ radius | [] [] | 7
+ recode | [] [] [] | 25
+ rpm | [] [] [] [] | 13
+ screem | [] | 2
+ scrollkeeper | [] [] [] [] | 26
+ sed | [] [] [] [] | 23
+ shared-mime-info | [] [] [] | 29
+ sharutils | [] [] [] | 23
+ shishi | [] | 3
+ skencil | [] | 7
+ solfege | [] | 3
+ soundtracker | [] [] | 9
+ sp | [] | 3
+ system-tools-ba... | [] [] [] [] [] [] [] | 38
+ tar | [] [] [] | 17
+ texinfo | [] [] [] | 15
+ tin | | 1
+ tuxpaint | [] [] [] | 19
+ unicode-han-tra... | | 0
+ unicode-transla... | | 2
+ util-linux | [] [] [] | 20
+ util-linux-ng | [] [] [] | 20
+ vorbis-tools | [] [] | 4
+ wastesedge | | 1
+ wdiff | [] [] | 23
+ wget | [] [] [] | 20
+ xchat | [] [] [] [] | 29
+ xkeyboard-config | [] [] [] | 14
+ xpad | [] [] [] | 15
+ +---------------------------------------------------+
+ 76 teams tg th tk tr uk ven vi wa xh zh_CN zh_HK zh_TW zu
+ 163 domains 0 3 1 74 51 0 143 21 1 57 7 45 0 2036
+
+ Some counters in the preceding matrix are higher than the number of
+visible blocks let us expect. This is because a few extra PO files are
+used for implementing regional variants of languages, or language
+dialects.
+
+ For a PO file in the matrix above to be effective, the package to
+which it applies should also have been internationalized and
+distributed as such by its maintainer. There might be an observable
+lag between the mere existence a PO file and its wide availability in a
+distribution.
+
+ If November 2007 seems to be old, you may fetch a more recent copy
+of this `ABOUT-NLS' file on most GNU archive sites. The most
+up-to-date matrix with full percentage details can be found at
+`http://translationproject.org/extra/matrix.html'.
+
+1.6 Using `gettext' in new packages
+===================================
+
+If you are writing a freely available program and want to
+internationalize it you are welcome to use GNU `gettext' in your
+package. Of course you have to respect the GNU Library General Public
+License which covers the use of the GNU `gettext' library. This means
+in particular that even non-free programs can use `libintl' as a shared
+library, whereas only free software can use `libintl' as a static
+library or use modified versions of `libintl'.
+
+ Once the sources are changed appropriately and the setup can handle
+the use of `gettext' the only thing missing are the translations. The
+Free Translation Project is also available for packages which are not
+developed inside the GNU project. Therefore the information given above
+applies also for every other Free Software Project. Contact
+`coordinator@translationproject.org' to make the `.pot' files available
+to the translation teams.
+
diff --git a/biblio/bibtex/utils/mkbib/AUTHORS b/biblio/bibtex/utils/mkbib/AUTHORS
new file mode 100644
index 0000000000..8d36b342dc
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/AUTHORS
@@ -0,0 +1,3 @@
+Author:
+Maintainer:
+ Rudra Banerjee <rudra.banerjee@aol.co.uk>
diff --git a/biblio/bibtex/utils/mkbib/COPYING b/biblio/bibtex/utils/mkbib/COPYING
new file mode 100644
index 0000000000..94a9ed024d
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/COPYING
@@ -0,0 +1,674 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+ <program> Copyright (C) <year> <name of author>
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+<http://www.gnu.org/licenses/>.
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+<http://www.gnu.org/philosophy/why-not-lgpl.html>.
diff --git a/biblio/bibtex/utils/mkbib/ChangeLog b/biblio/bibtex/utils/mkbib/ChangeLog
new file mode 100644
index 0000000000..ea65cf7c95
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/ChangeLog
@@ -0,0 +1,10 @@
+* 24/05/2013
+- Parsing Complete
+
+* 16/02/2013
+- Complete fileutil to buffer
+
+* 26/10/2012
+- Initial Upload
+
+
diff --git a/biblio/bibtex/utils/mkbib/INSTALL b/biblio/bibtex/utils/mkbib/INSTALL
new file mode 100644
index 0000000000..6e90e07d27
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/INSTALL
@@ -0,0 +1,370 @@
+Installation Instructions
+*************************
+
+Copyright (C) 1994-1996, 1999-2002, 2004-2012 Free Software Foundation,
+Inc.
+
+ Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved. This file is offered as-is,
+without warranty of any kind.
+
+Basic Installation
+==================
+
+ Briefly, the shell commands `./configure; make; make install' should
+configure, build, and install this package. The following
+more-detailed instructions are generic; see the `README' file for
+instructions specific to this package. Some packages provide this
+`INSTALL' file but do not implement all of the features documented
+below. The lack of an optional feature in a given package is not
+necessarily a bug. More recommendations for GNU packages can be found
+in *note Makefile Conventions: (standards)Makefile Conventions.
+
+ The `configure' shell script attempts to guess correct values for
+various system-dependent variables used during compilation. It uses
+those values to create a `Makefile' in each directory of the package.
+It may also create one or more `.h' files containing system-dependent
+definitions. Finally, it creates a shell script `config.status' that
+you can run in the future to recreate the current configuration, and a
+file `config.log' containing compiler output (useful mainly for
+debugging `configure').
+
+ It can also use an optional file (typically called `config.cache'
+and enabled with `--cache-file=config.cache' or simply `-C') that saves
+the results of its tests to speed up reconfiguring. Caching is
+disabled by default to prevent problems with accidental use of stale
+cache files.
+
+ If you need to do unusual things to compile the package, please try
+to figure out how `configure' could check whether to do them, and mail
+diffs or instructions to the address given in the `README' so they can
+be considered for the next release. If you are using the cache, and at
+some point `config.cache' contains results you don't want to keep, you
+may remove or edit it.
+
+ The file `configure.ac' (or `configure.in') is used to create
+`configure' by a program called `autoconf'. You need `configure.ac' if
+you want to change it or regenerate `configure' using a newer version
+of `autoconf'.
+
+ The simplest way to compile this package is:
+
+ 1. `cd' to the directory containing the package's source code and type
+ `./configure' to configure the package for your system.
+
+ Running `configure' might take a while. While running, it prints
+ some messages telling which features it is checking for.
+
+ 2. Type `make' to compile the package.
+
+ 3. Optionally, type `make check' to run any self-tests that come with
+ the package, generally using the just-built uninstalled binaries.
+
+ 4. Type `make install' to install the programs and any data files and
+ documentation. When installing into a prefix owned by root, it is
+ recommended that the package be configured and built as a regular
+ user, and only the `make install' phase executed with root
+ privileges.
+
+ 5. Optionally, type `make installcheck' to repeat any self-tests, but
+ this time using the binaries in their final installed location.
+ This target does not install anything. Running this target as a
+ regular user, particularly if the prior `make install' required
+ root privileges, verifies that the installation completed
+ correctly.
+
+ 6. You can remove the program binaries and object files from the
+ source code directory by typing `make clean'. To also remove the
+ files that `configure' created (so you can compile the package for
+ a different kind of computer), type `make distclean'. There is
+ also a `make maintainer-clean' target, but that is intended mainly
+ for the package's developers. If you use it, you may have to get
+ all sorts of other programs in order to regenerate files that came
+ with the distribution.
+
+ 7. Often, you can also type `make uninstall' to remove the installed
+ files again. In practice, not all packages have tested that
+ uninstallation works correctly, even though it is required by the
+ GNU Coding Standards.
+
+ 8. Some packages, particularly those that use Automake, provide `make
+ distcheck', which can by used by developers to test that all other
+ targets like `make install' and `make uninstall' work correctly.
+ This target is generally not run by end users.
+
+Compilers and Options
+=====================
+
+ Some systems require unusual options for compilation or linking that
+the `configure' script does not know about. Run `./configure --help'
+for details on some of the pertinent environment variables.
+
+ You can give `configure' initial values for configuration parameters
+by setting variables in the command line or in the environment. Here
+is an example:
+
+ ./configure CC=c99 CFLAGS=-g LIBS=-lposix
+
+ *Note Defining Variables::, for more details.
+
+Compiling For Multiple Architectures
+====================================
+
+ You can compile the package for more than one kind of computer at the
+same time, by placing the object files for each architecture in their
+own directory. To do this, you can use GNU `make'. `cd' to the
+directory where you want the object files and executables to go and run
+the `configure' script. `configure' automatically checks for the
+source code in the directory that `configure' is in and in `..'. This
+is known as a "VPATH" build.
+
+ With a non-GNU `make', it is safer to compile the package for one
+architecture at a time in the source code directory. After you have
+installed the package for one architecture, use `make distclean' before
+reconfiguring for another architecture.
+
+ On MacOS X 10.5 and later systems, you can create libraries and
+executables that work on multiple system types--known as "fat" or
+"universal" binaries--by specifying multiple `-arch' options to the
+compiler but only a single `-arch' option to the preprocessor. Like
+this:
+
+ ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
+ CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
+ CPP="gcc -E" CXXCPP="g++ -E"
+
+ This is not guaranteed to produce working output in all cases, you
+may have to build one architecture at a time and combine the results
+using the `lipo' tool if you have problems.
+
+Installation Names
+==================
+
+ By default, `make install' installs the package's commands under
+`/usr/local/bin', include files under `/usr/local/include', etc. You
+can specify an installation prefix other than `/usr/local' by giving
+`configure' the option `--prefix=PREFIX', where PREFIX must be an
+absolute file name.
+
+ You can specify separate installation prefixes for
+architecture-specific files and architecture-independent files. If you
+pass the option `--exec-prefix=PREFIX' to `configure', the package uses
+PREFIX as the prefix for installing programs and libraries.
+Documentation and other data files still use the regular prefix.
+
+ In addition, if you use an unusual directory layout you can give
+options like `--bindir=DIR' to specify different values for particular
+kinds of files. Run `configure --help' for a list of the directories
+you can set and what kinds of files go in them. In general, the
+default for these options is expressed in terms of `${prefix}', so that
+specifying just `--prefix' will affect all of the other directory
+specifications that were not explicitly provided.
+
+ The most portable way to affect installation locations is to pass the
+correct locations to `configure'; however, many packages provide one or
+both of the following shortcuts of passing variable assignments to the
+`make install' command line to change installation locations without
+having to reconfigure or recompile.
+
+ The first method involves providing an override variable for each
+affected directory. For example, `make install
+prefix=/alternate/directory' will choose an alternate location for all
+directory configuration variables that were expressed in terms of
+`${prefix}'. Any directories that were specified during `configure',
+but not in terms of `${prefix}', must each be overridden at install
+time for the entire installation to be relocated. The approach of
+makefile variable overrides for each directory variable is required by
+the GNU Coding Standards, and ideally causes no recompilation.
+However, some platforms have known limitations with the semantics of
+shared libraries that end up requiring recompilation when using this
+method, particularly noticeable in packages that use GNU Libtool.
+
+ The second method involves providing the `DESTDIR' variable. For
+example, `make install DESTDIR=/alternate/directory' will prepend
+`/alternate/directory' before all installation names. The approach of
+`DESTDIR' overrides is not required by the GNU Coding Standards, and
+does not work on platforms that have drive letters. On the other hand,
+it does better at avoiding recompilation issues, and works well even
+when some directory options were not specified in terms of `${prefix}'
+at `configure' time.
+
+Optional Features
+=================
+
+ If the package supports it, you can cause programs to be installed
+with an extra prefix or suffix on their names by giving `configure' the
+option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
+
+ Some packages pay attention to `--enable-FEATURE' options to
+`configure', where FEATURE indicates an optional part of the package.
+They may also pay attention to `--with-PACKAGE' options, where PACKAGE
+is something like `gnu-as' or `x' (for the X Window System). The
+`README' should mention any `--enable-' and `--with-' options that the
+package recognizes.
+
+ For packages that use the X Window System, `configure' can usually
+find the X include and library files automatically, but if it doesn't,
+you can use the `configure' options `--x-includes=DIR' and
+`--x-libraries=DIR' to specify their locations.
+
+ Some packages offer the ability to configure how verbose the
+execution of `make' will be. For these packages, running `./configure
+--enable-silent-rules' sets the default to minimal output, which can be
+overridden with `make V=1'; while running `./configure
+--disable-silent-rules' sets the default to verbose, which can be
+overridden with `make V=0'.
+
+Particular systems
+==================
+
+ On HP-UX, the default C compiler is not ANSI C compatible. If GNU
+CC is not installed, it is recommended to use the following options in
+order to use an ANSI C compiler:
+
+ ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
+
+and if that doesn't work, install pre-built binaries of GCC for HP-UX.
+
+ HP-UX `make' updates targets which have the same time stamps as
+their prerequisites, which makes it generally unusable when shipped
+generated files such as `configure' are involved. Use GNU `make'
+instead.
+
+ On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
+parse its `<wchar.h>' header file. The option `-nodtk' can be used as
+a workaround. If GNU CC is not installed, it is therefore recommended
+to try
+
+ ./configure CC="cc"
+
+and if that doesn't work, try
+
+ ./configure CC="cc -nodtk"
+
+ On Solaris, don't put `/usr/ucb' early in your `PATH'. This
+directory contains several dysfunctional programs; working variants of
+these programs are available in `/usr/bin'. So, if you need `/usr/ucb'
+in your `PATH', put it _after_ `/usr/bin'.
+
+ On Haiku, software installed for all users goes in `/boot/common',
+not `/usr/local'. It is recommended to use the following options:
+
+ ./configure --prefix=/boot/common
+
+Specifying the System Type
+==========================
+
+ There may be some features `configure' cannot figure out
+automatically, but needs to determine by the type of machine the package
+will run on. Usually, assuming the package is built to be run on the
+_same_ architectures, `configure' can figure that out, but if it prints
+a message saying it cannot guess the machine type, give it the
+`--build=TYPE' option. TYPE can either be a short name for the system
+type, such as `sun4', or a canonical name which has the form:
+
+ CPU-COMPANY-SYSTEM
+
+where SYSTEM can have one of these forms:
+
+ OS
+ KERNEL-OS
+
+ See the file `config.sub' for the possible values of each field. If
+`config.sub' isn't included in this package, then this package doesn't
+need to know the machine type.
+
+ If you are _building_ compiler tools for cross-compiling, you should
+use the option `--target=TYPE' to select the type of system they will
+produce code for.
+
+ If you want to _use_ a cross compiler, that generates code for a
+platform different from the build platform, you should specify the
+"host" platform (i.e., that on which the generated programs will
+eventually be run) with `--host=TYPE'.
+
+Sharing Defaults
+================
+
+ If you want to set default values for `configure' scripts to share,
+you can create a site shell script called `config.site' that gives
+default values for variables like `CC', `cache_file', and `prefix'.
+`configure' looks for `PREFIX/share/config.site' if it exists, then
+`PREFIX/etc/config.site' if it exists. Or, you can set the
+`CONFIG_SITE' environment variable to the location of the site script.
+A warning: not all `configure' scripts look for a site script.
+
+Defining Variables
+==================
+
+ Variables not defined in a site shell script can be set in the
+environment passed to `configure'. However, some packages may run
+configure again during the build, and the customized values of these
+variables may be lost. In order to avoid this problem, you should set
+them in the `configure' command line, using `VAR=value'. For example:
+
+ ./configure CC=/usr/local2/bin/gcc
+
+causes the specified `gcc' to be used as the C compiler (unless it is
+overridden in the site shell script).
+
+Unfortunately, this technique does not work for `CONFIG_SHELL' due to
+an Autoconf limitation. Until the limitation is lifted, you can use
+this workaround:
+
+ CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash
+
+`configure' Invocation
+======================
+
+ `configure' recognizes the following options to control how it
+operates.
+
+`--help'
+`-h'
+ Print a summary of all of the options to `configure', and exit.
+
+`--help=short'
+`--help=recursive'
+ Print a summary of the options unique to this package's
+ `configure', and exit. The `short' variant lists options used
+ only in the top level, while the `recursive' variant lists options
+ also present in any nested packages.
+
+`--version'
+`-V'
+ Print the version of Autoconf used to generate the `configure'
+ script, and exit.
+
+`--cache-file=FILE'
+ Enable the cache: use and save the results of the tests in FILE,
+ traditionally `config.cache'. FILE defaults to `/dev/null' to
+ disable caching.
+
+`--config-cache'
+`-C'
+ Alias for `--cache-file=config.cache'.
+
+`--quiet'
+`--silent'
+`-q'
+ Do not print messages saying which checks are being made. To
+ suppress all normal output, redirect it to `/dev/null' (any error
+ messages will still be shown).
+
+`--srcdir=DIR'
+ Look for the package's source code in directory DIR. Usually
+ `configure' can determine that directory automatically.
+
+`--prefix=DIR'
+ Use DIR as the installation prefix. *note Installation Names::
+ for more details, including other options available for fine-tuning
+ the installation locations.
+
+`--no-create'
+`-n'
+ Run the configure checks, but stop before creating any output
+ files.
+
+`configure' also accepts some other, not widely useful, options. Run
+`configure --help' for more details.
diff --git a/biblio/bibtex/utils/mkbib/Makefile.am b/biblio/bibtex/utils/mkbib/Makefile.am
new file mode 100644
index 0000000000..b4cf49ae35
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/Makefile.am
@@ -0,0 +1,55 @@
+# Copyright (C) 2012 Rudra Banerjee*/
+#
+#
+# This file is part of mkBIB.
+#
+# mkBIB is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# mkBIB is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with mkBIB. If not, see <http://www.gnu.org/licenses/>.
+#
+#
+BUILT_SOURCES = src/bib.h
+AM_YFLAGS = -d
+AM_LFLAGS = -i
+# desktop file
+# (we can't use INTLTOOL_DESKTOP_RULE here due to lp#605826)
+%.desktop: %.desktop.in
+# $(MKDIR_P) $(dir $@); LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
+applicationsdir = $(datadir)/applications
+applications_DATA = data/mkbib.desktop
+dist_noinst_DATA = data/mkbib.desktop.in
+
+# gsettings
+#gsettings_SCHEMAS = data/org.mkbib.gschema.xml
+##@INTLTOOL_XML_NOMERGE_RULE@
+##@GSETTINGS_RULES@
+
+ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
+SUBDIRS= data help po
+pixmapdir=$(datadir)/images
+pixmap_DATA = \
+ images/mkbib.png \
+ images/mkbib.svg \
+ images/icon.png \
+ images/icon.svg
+AM_CFLAGS = @GTK_CFLAGS@ @LIBSOUP_CFLAGS@
+AM_CPPFLAGS= -DPIXMAP=\"$(datadir)/images\"
+bin_PROGRAMS = mkbib
+mkbib_SOURCES = \
+ src/bib.y src/scan.l src/caution.c src/search.c \
+ src/help.c src/mkbib.c src/update_file.c \
+ src/biblst src/main.h src/view.c src/file_util.c
+
+mkbib_LDADD = @GTK_LIBS@ @LIBSOUP_LIBS@ @LEXLIB@
+EXTRA_DIST=$(pixmap_DATA) m4 autogen.sh
+CLEANFILES = src/bib.c src/bib.h *~
+#DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
diff --git a/biblio/bibtex/utils/mkbib/Makefile.in b/biblio/bibtex/utils/mkbib/Makefile.in
new file mode 100644
index 0000000000..b5a466159d
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/Makefile.in
@@ -0,0 +1,1029 @@
+# Makefile.in generated by automake 1.12.2 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2012 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+
+VPATH = @srcdir@
+am__make_dryrun = \
+ { \
+ am__dry=no; \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
+ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
+ *) \
+ for am__flg in $$MAKEFLAGS; do \
+ case $$am__flg in \
+ *=*|--*) ;; \
+ *n*) am__dry=yes; break;; \
+ esac; \
+ done;; \
+ esac; \
+ test $$am__dry = yes; \
+ }
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+bin_PROGRAMS = mkbib$(EXEEXT)
+subdir = .
+DIST_COMMON = README $(am__configure_deps) $(dist_noinst_DATA) \
+ $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+ $(srcdir)/config.h.in $(top_srcdir)/build-aux/compile \
+ $(top_srcdir)/build-aux/depcomp \
+ $(top_srcdir)/build-aux/install-sh \
+ $(top_srcdir)/build-aux/missing $(top_srcdir)/build-aux/ylwrap \
+ $(top_srcdir)/configure ABOUT-NLS AUTHORS COPYING ChangeLog \
+ INSTALL NEWS build-aux/compile build-aux/depcomp \
+ build-aux/install-sh build-aux/missing build-aux/ylwrap \
+ config.rpath src/bib.c src/bib.h src/scan.c
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
+ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
+ configure.lineno config.status.lineno
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(applicationsdir)" \
+ "$(DESTDIR)$(pixmapdir)"
+PROGRAMS = $(bin_PROGRAMS)
+am__dirstamp = $(am__leading_dot)dirstamp
+am_mkbib_OBJECTS = src/bib.$(OBJEXT) src/scan.$(OBJEXT) \
+ src/caution.$(OBJEXT) src/search.$(OBJEXT) src/help.$(OBJEXT) \
+ src/mkbib.$(OBJEXT) src/update_file.$(OBJEXT) \
+ src/view.$(OBJEXT) src/file_util.$(OBJEXT)
+mkbib_OBJECTS = $(am_mkbib_OBJECTS)
+mkbib_DEPENDENCIES =
+DEFAULT_INCLUDES = -I.@am__isrc@
+depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
+am__depfiles_maybe = depfiles
+am__mv = mv -f
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+LEXCOMPILE = $(LEX) $(AM_LFLAGS) $(LFLAGS)
+YLWRAP = $(top_srcdir)/build-aux/ylwrap
+am__yacc_c2h = sed -e s/cc$$/hh/ -e s/cpp$$/hpp/ -e s/cxx$$/hxx/ \
+ -e s/c++$$/h++/ -e s/c$$/h/
+YACCCOMPILE = $(YACC) $(AM_YFLAGS) $(YFLAGS)
+SOURCES = $(mkbib_SOURCES)
+DIST_SOURCES = $(mkbib_SOURCES)
+RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+ html-recursive info-recursive install-data-recursive \
+ install-dvi-recursive install-exec-recursive \
+ install-html-recursive install-info-recursive \
+ install-pdf-recursive install-ps-recursive install-recursive \
+ installcheck-recursive installdirs-recursive pdf-recursive \
+ ps-recursive uninstall-recursive
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+DATA = $(applications_DATA) $(dist_noinst_DATA) $(pixmap_DATA)
+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
+ distclean-recursive maintainer-clean-recursive
+AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
+ $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
+ cscope distdir dist dist-all distcheck
+ETAGS = etags
+CTAGS = ctags
+CSCOPE = cscope
+DIST_SUBDIRS = $(SUBDIRS)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+distdir = $(PACKAGE)-$(VERSION)
+top_distdir = $(distdir)
+am__remove_distdir = \
+ if test -d "$(distdir)"; then \
+ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
+ && rm -rf "$(distdir)" \
+ || { sleep 5 && rm -rf "$(distdir)"; }; \
+ else :; fi
+am__post_remove_distdir = $(am__remove_distdir)
+am__relativize = \
+ dir0=`pwd`; \
+ sed_first='s,^\([^/]*\)/.*$$,\1,'; \
+ sed_rest='s,^[^/]*/*,,'; \
+ sed_last='s,^.*/\([^/]*\)$$,\1,'; \
+ sed_butlast='s,/*[^/]*$$,,'; \
+ while test -n "$$dir1"; do \
+ first=`echo "$$dir1" | sed -e "$$sed_first"`; \
+ if test "$$first" != "."; then \
+ if test "$$first" = ".."; then \
+ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
+ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
+ else \
+ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
+ if test "$$first2" = "$$first"; then \
+ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
+ else \
+ dir2="../$$dir2"; \
+ fi; \
+ dir0="$$dir0"/"$$first"; \
+ fi; \
+ fi; \
+ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
+ done; \
+ reldir="$$dir2"
+DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
+GZIP_ENV = --best
+DIST_TARGETS = dist-bzip2 dist-gzip
+distuninstallcheck_listfiles = find . -type f -print
+am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
+ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
+distcleancheck_listfiles = find . -type f -print
+ACLOCAL = @ACLOCAL@
+ALL_LINGUAS = @ALL_LINGUAS@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPPFLAGS = @CPPFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DATADIRNAME = @DATADIRNAME@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EXEEXT = @EXEEXT@
+GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
+GMSGFMT = @GMSGFMT@
+GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
+GTK_CFLAGS = @GTK_CFLAGS@
+GTK_LIBS = @GTK_LIBS@
+HELP_DIR = @HELP_DIR@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
+INTLTOOL_MERGE = @INTLTOOL_MERGE@
+INTLTOOL_PERL = @INTLTOOL_PERL@
+INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
+INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@
+INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@
+INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@
+INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@
+ITSTOOL = @ITSTOOL@
+LDFLAGS = @LDFLAGS@
+LEX = @LEX@
+LEXLIB = @LEXLIB@
+LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@
+LIBSOUP_LIBS = @LIBSOUP_LIBS@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MKDIR_P = @MKDIR_P@
+MSGFMT = @MSGFMT@
+MSGMERGE = @MSGMERGE@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+USE_NLS = @USE_NLS@
+VERSION = @VERSION@
+XGETTEXT = @XGETTEXT@
+XMLLINT = @XMLLINT@
+YACC = @YACC@
+YACC_EXISTS = @YACC_EXISTS@
+YFLAGS = @YFLAGS@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build_alias = @build_alias@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+gsettingsschemadir = @gsettingsschemadir@
+host_alias = @host_alias@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+intltool__v_merge_options_ = @intltool__v_merge_options_@
+intltool__v_merge_options_0 = @intltool__v_merge_options_0@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+
+# Copyright (C) 2012 Rudra Banerjee*/
+#
+#
+# This file is part of mkBIB.
+#
+# mkBIB is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# mkBIB is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with mkBIB. If not, see <http://www.gnu.org/licenses/>.
+#
+#
+BUILT_SOURCES = src/bib.h
+AM_YFLAGS = -d
+AM_LFLAGS = -i
+# $(MKDIR_P) $(dir $@); LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
+applicationsdir = $(datadir)/applications
+applications_DATA = data/mkbib.desktop
+dist_noinst_DATA = data/mkbib.desktop.in
+
+# gsettings
+#gsettings_SCHEMAS = data/org.mkbib.gschema.xml
+ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
+SUBDIRS = data help po
+pixmapdir = $(datadir)/images
+pixmap_DATA = \
+ images/mkbib.png \
+ images/mkbib.svg \
+ images/icon.png \
+ images/icon.svg
+
+AM_CFLAGS = @GTK_CFLAGS@ @LIBSOUP_CFLAGS@
+AM_CPPFLAGS = -DPIXMAP=\"$(datadir)/images\"
+mkbib_SOURCES = \
+ src/bib.y src/scan.l src/caution.c src/search.c \
+ src/help.c src/mkbib.c src/update_file.c \
+ src/biblst src/main.h src/view.c src/file_util.c
+
+mkbib_LDADD = @GTK_LIBS@ @LIBSOUP_LIBS@ @LEXLIB@
+EXTRA_DIST = $(pixmap_DATA) m4 autogen.sh
+CLEANFILES = src/bib.c src/bib.h *~
+all: $(BUILT_SOURCES) config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
+
+.SUFFIXES:
+.SUFFIXES: .c .l .o .obj .y
+am--refresh: Makefile
+ @:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
+ $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --foreign Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ echo ' $(SHELL) ./config.status'; \
+ $(SHELL) ./config.status;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ $(SHELL) ./config.status --recheck
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ $(am__cd) $(srcdir) && $(AUTOCONF)
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+$(am__aclocal_m4_deps):
+
+config.h: stamp-h1
+ @if test ! -f $@; then rm -f stamp-h1; else :; fi
+ @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
+
+stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
+ @rm -f stamp-h1
+ cd $(top_builddir) && $(SHELL) ./config.status config.h
+$(srcdir)/config.h.in: $(am__configure_deps)
+ ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
+ rm -f stamp-h1
+ touch $@
+
+distclean-hdr:
+ -rm -f config.h stamp-h1
+install-binPROGRAMS: $(bin_PROGRAMS)
+ @$(NORMAL_INSTALL)
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
+ fi; \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed 's/$(EXEEXT)$$//' | \
+ while read p p1; do if test -f $$p; \
+ then echo "$$p"; echo "$$p"; else :; fi; \
+ done | \
+ sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
+ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
+ sed 'N;N;N;s,\n, ,g' | \
+ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
+ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
+ if ($$2 == $$4) files[d] = files[d] " " $$1; \
+ else { print "f", $$3 "/" $$4, $$1; } } \
+ END { for (d in files) print "f", d, files[d] }' | \
+ while read type dir files; do \
+ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
+ test -z "$$files" || { \
+ echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
+ $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
+ } \
+ ; done
+
+uninstall-binPROGRAMS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
+ files=`for p in $$list; do echo "$$p"; done | \
+ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
+ -e 's/$$/$(EXEEXT)/' `; \
+ test -n "$$list" || exit 0; \
+ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
+ cd "$(DESTDIR)$(bindir)" && rm -f $$files
+
+clean-binPROGRAMS:
+ -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+src/bib.h: src/bib.c
+ @if test ! -f $@; then rm -f src/bib.c; else :; fi
+ @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) src/bib.c; else :; fi
+src/$(am__dirstamp):
+ @$(MKDIR_P) src
+ @: > src/$(am__dirstamp)
+src/$(DEPDIR)/$(am__dirstamp):
+ @$(MKDIR_P) src/$(DEPDIR)
+ @: > src/$(DEPDIR)/$(am__dirstamp)
+src/bib.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
+src/scan.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
+src/caution.$(OBJEXT): src/$(am__dirstamp) \
+ src/$(DEPDIR)/$(am__dirstamp)
+src/search.$(OBJEXT): src/$(am__dirstamp) \
+ src/$(DEPDIR)/$(am__dirstamp)
+src/help.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
+src/mkbib.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
+src/update_file.$(OBJEXT): src/$(am__dirstamp) \
+ src/$(DEPDIR)/$(am__dirstamp)
+src/view.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
+src/file_util.$(OBJEXT): src/$(am__dirstamp) \
+ src/$(DEPDIR)/$(am__dirstamp)
+mkbib$(EXEEXT): $(mkbib_OBJECTS) $(mkbib_DEPENDENCIES) $(EXTRA_mkbib_DEPENDENCIES)
+ @rm -f mkbib$(EXEEXT)
+ $(LINK) $(mkbib_OBJECTS) $(mkbib_LDADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+ -rm -f src/*.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/bib.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/caution.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/file_util.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/help.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/mkbib.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/scan.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/search.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/update_file.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/view.Po@am__quote@
+
+.c.o:
+@am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ $<
+
+.c.obj:
+@am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.l.c:
+ $(am__skiplex) $(SHELL) $(YLWRAP) $< $(LEX_OUTPUT_ROOT).c $@ -- $(LEXCOMPILE)
+
+.y.c:
+ $(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h `echo $@ | $(am__yacc_c2h)` y.output $*.output -- $(YACCCOMPILE)
+install-applicationsDATA: $(applications_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(applications_DATA)'; test -n "$(applicationsdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(applicationsdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(applicationsdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(applicationsdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(applicationsdir)" || exit $$?; \
+ done
+
+uninstall-applicationsDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(applications_DATA)'; test -n "$(applicationsdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(applicationsdir)'; $(am__uninstall_files_from_dir)
+install-pixmapDATA: $(pixmap_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(pixmap_DATA)'; test -n "$(pixmapdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(pixmapdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(pixmapdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pixmapdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(pixmapdir)" || exit $$?; \
+ done
+
+uninstall-pixmapDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(pixmap_DATA)'; test -n "$(pixmapdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(pixmapdir)'; $(am__uninstall_files_from_dir)
+
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run 'make' without going through this Makefile.
+# To change the values of 'make' variables: instead of editing Makefiles,
+# (1) if the variable is set in 'config.status', edit 'config.status'
+# (which will cause the Makefiles to be regenerated when you run 'make');
+# (2) otherwise, pass the desired values on the 'make' command line.
+$(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
+ @fail= failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
+ dot_seen=no; \
+ target=`echo $@ | sed s/-recursive//`; \
+ case "$@" in \
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+ *) list='$(SUBDIRS)' ;; \
+ esac; \
+ for subdir in $$list; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ dot_seen=yes; \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || eval $$failcom; \
+ done; \
+ if test "$$dot_seen" = "no"; then \
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+ fi; test -z "$$fail"
+tags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
+ done
+ctags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
+ done
+cscopelist-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \
+ done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ mkid -fID $$unique
+tags: TAGS
+
+TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ set x; \
+ here=`pwd`; \
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+ include_option=--etags-include; \
+ empty_fix=.; \
+ else \
+ include_option=--include; \
+ empty_fix=; \
+ fi; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test ! -f $$subdir/TAGS || \
+ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
+ fi; \
+ done; \
+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: CTAGS
+CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+
+cscope: cscope.files
+ test ! -s cscope.files \
+ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
+
+clean-cscope:
+ -rm -f cscope.files
+
+cscope.files: clean-cscope cscopelist-recursive cscopelist
+
+cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP)
+ list='$(SOURCES) $(HEADERS) $(LISP)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+ -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
+
+distdir: $(DISTFILES)
+ $(am__remove_distdir)
+ test -d "$(distdir)" || mkdir "$(distdir)"
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ $(am__make_dryrun) \
+ || test -d "$(distdir)/$$subdir" \
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
+ || exit 1; \
+ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
+ $(am__relativize); \
+ new_distdir=$$reldir; \
+ dir1=$$subdir; dir2="$(top_distdir)"; \
+ $(am__relativize); \
+ new_top_distdir=$$reldir; \
+ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
+ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
+ ($(am__cd) $$subdir && \
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$$new_top_distdir" \
+ distdir="$$new_distdir" \
+ am__remove_distdir=: \
+ am__skip_length_check=: \
+ am__skip_mode_fix=: \
+ distdir) \
+ || exit 1; \
+ fi; \
+ done
+ -test -n "$(am__skip_mode_fix)" \
+ || find "$(distdir)" -type d ! -perm -755 \
+ -exec chmod u+rwx,go+rx {} \; -o \
+ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
+ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
+ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
+ || chmod -R a+r "$(distdir)"
+dist-gzip: distdir
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+ $(am__post_remove_distdir)
+dist-bzip2: distdir
+ tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
+ $(am__post_remove_distdir)
+
+dist-lzip: distdir
+ tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
+ $(am__post_remove_distdir)
+
+dist-xz: distdir
+ tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
+ $(am__post_remove_distdir)
+
+dist-tarZ: distdir
+ tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
+ $(am__post_remove_distdir)
+
+dist-shar: distdir
+ shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
+ $(am__post_remove_distdir)
+
+dist-zip: distdir
+ -rm -f $(distdir).zip
+ zip -rq $(distdir).zip $(distdir)
+ $(am__post_remove_distdir)
+
+dist dist-all:
+ $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
+ $(am__post_remove_distdir)
+
+# This target untars the dist file and tries a VPATH configuration. Then
+# it guarantees that the distribution is self-contained by making another
+# tarfile.
+distcheck: dist
+ case '$(DIST_ARCHIVES)' in \
+ *.tar.gz*) \
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
+ *.tar.bz2*) \
+ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
+ *.tar.lz*) \
+ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
+ *.tar.xz*) \
+ xz -dc $(distdir).tar.xz | $(am__untar) ;;\
+ *.tar.Z*) \
+ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
+ *.shar.gz*) \
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
+ *.zip*) \
+ unzip $(distdir).zip ;;\
+ esac
+ chmod -R a-w $(distdir); chmod u+w $(distdir)
+ mkdir $(distdir)/_build
+ mkdir $(distdir)/_inst
+ chmod a-w $(distdir)
+ test -d $(distdir)/_build || exit 0; \
+ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
+ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
+ && am__cwd=`pwd` \
+ && $(am__cd) $(distdir)/_build \
+ && ../configure --srcdir=.. --prefix="$$dc_install_base" \
+ $(AM_DISTCHECK_CONFIGURE_FLAGS) \
+ $(DISTCHECK_CONFIGURE_FLAGS) \
+ && $(MAKE) $(AM_MAKEFLAGS) \
+ && $(MAKE) $(AM_MAKEFLAGS) dvi \
+ && $(MAKE) $(AM_MAKEFLAGS) check \
+ && $(MAKE) $(AM_MAKEFLAGS) install \
+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+ && $(MAKE) $(AM_MAKEFLAGS) uninstall \
+ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
+ distuninstallcheck \
+ && chmod -R a-w "$$dc_install_base" \
+ && ({ \
+ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
+ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
+ } || { rm -rf "$$dc_destdir"; exit 1; }) \
+ && rm -rf "$$dc_destdir" \
+ && $(MAKE) $(AM_MAKEFLAGS) dist \
+ && rm -rf $(DIST_ARCHIVES) \
+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
+ && cd "$$am__cwd" \
+ || exit 1
+ $(am__post_remove_distdir)
+ @(echo "$(distdir) archives ready for distribution: "; \
+ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
+ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
+distuninstallcheck:
+ @test -n '$(distuninstallcheck_dir)' || { \
+ echo 'ERROR: trying to run $@ with an empty' \
+ '$$(distuninstallcheck_dir)' >&2; \
+ exit 1; \
+ }; \
+ $(am__cd) '$(distuninstallcheck_dir)' || { \
+ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
+ exit 1; \
+ }; \
+ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
+ || { echo "ERROR: files left after uninstall:" ; \
+ if test -n "$(DESTDIR)"; then \
+ echo " (check DESTDIR support)"; \
+ fi ; \
+ $(distuninstallcheck_listfiles) ; \
+ exit 1; } >&2
+distcleancheck: distclean
+ @if test '$(srcdir)' = . ; then \
+ echo "ERROR: distcleancheck can only run from a VPATH build" ; \
+ exit 1 ; \
+ fi
+ @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
+ || { echo "ERROR: files left in build directory after distclean:" ; \
+ $(distcleancheck_listfiles) ; \
+ exit 1; } >&2
+check-am: all-am
+check: $(BUILT_SOURCES)
+ $(MAKE) $(AM_MAKEFLAGS) check-recursive
+all-am: Makefile $(PROGRAMS) $(DATA) config.h
+installdirs: installdirs-recursive
+installdirs-am:
+ for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(applicationsdir)" "$(DESTDIR)$(pixmapdir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: $(BUILT_SOURCES)
+ $(MAKE) $(AM_MAKEFLAGS) install-recursive
+install-exec: install-exec-recursive
+install-data: install-data-recursive
+uninstall: uninstall-recursive
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-recursive
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+ -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+ -rm -f src/$(DEPDIR)/$(am__dirstamp)
+ -rm -f src/$(am__dirstamp)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+ -rm -f src/bib.c
+ -rm -f src/bib.h
+ -rm -f src/scan.c
+ -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+clean: clean-recursive
+
+clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
+
+distclean: distclean-recursive
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+ -rm -rf src/$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-hdr distclean-tags
+
+dvi: dvi-recursive
+
+dvi-am:
+
+html: html-recursive
+
+html-am:
+
+info: info-recursive
+
+info-am:
+
+install-data-am: install-applicationsDATA install-pixmapDATA
+
+install-dvi: install-dvi-recursive
+
+install-dvi-am:
+
+install-exec-am: install-binPROGRAMS
+
+install-html: install-html-recursive
+
+install-html-am:
+
+install-info: install-info-recursive
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-recursive
+
+install-pdf-am:
+
+install-ps: install-ps-recursive
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-recursive
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+ -rm -rf $(top_srcdir)/autom4te.cache
+ -rm -rf src/$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-recursive
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic
+
+pdf: pdf-recursive
+
+pdf-am:
+
+ps: ps-recursive
+
+ps-am:
+
+uninstall-am: uninstall-applicationsDATA uninstall-binPROGRAMS \
+ uninstall-pixmapDATA
+
+.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \
+ cscopelist-recursive ctags-recursive install install-am \
+ install-strip tags-recursive
+
+.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
+ all all-am am--refresh check check-am clean clean-binPROGRAMS \
+ clean-cscope clean-generic cscope cscopelist \
+ cscopelist-recursive ctags ctags-recursive dist dist-all \
+ dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ dist-xz \
+ dist-zip distcheck distclean distclean-compile \
+ distclean-generic distclean-hdr distclean-tags distcleancheck \
+ distdir distuninstallcheck dvi dvi-am html html-am info \
+ info-am install install-am install-applicationsDATA \
+ install-binPROGRAMS install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-pixmapDATA install-ps \
+ install-ps-am install-strip installcheck installcheck-am \
+ installdirs installdirs-am maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
+ mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \
+ uninstall uninstall-am uninstall-applicationsDATA \
+ uninstall-binPROGRAMS uninstall-pixmapDATA
+
+# desktop file
+# (we can't use INTLTOOL_DESKTOP_RULE here due to lp#605826)
+%.desktop: %.desktop.in
+#DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/biblio/bibtex/utils/mkbib/NEWS b/biblio/bibtex/utils/mkbib/NEWS
new file mode 100644
index 0000000000..3a9e1b0d11
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/NEWS
@@ -0,0 +1,29 @@
+mkBiB 2.1 2013-06-12
+===============================================================================
+
+* Edit entry corrected, Ignore file added
+
+* Help and icons generated, images/ast_* deleted
+
+* help added
+
+* autogen updated
+
+* m4 Added
+
+* Help and desktop files Created
+
+* All cell editable, help messed
+
+
+mkBiB 2.0 2013-05-24
+===============================================================================
+
+* Parsing update
+
+* Updated parser
+
+
+mkBiB 2.0 2013-04-09
+===============================================================================
+* Initial Import
diff --git a/biblio/bibtex/utils/mkbib/README b/biblio/bibtex/utils/mkbib/README
new file mode 100644
index 0000000000..f33fbe442e
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/README
@@ -0,0 +1,17 @@
+mkBiB - A simple BiBTeX manager.
+
+++++
+Source tree:
+
+ data/
+ contains the .desktop file
+
+ help/
+ mkBiB reference
+
+ images/
+ m4/
+ po/
+ src/
+ contains the source code.
+Jun 12 14:09:52 BST 2013 RudraB <rudra.banerjee (at) aol.co.uk>
diff --git a/biblio/bibtex/utils/mkbib/aclocal.m4 b/biblio/bibtex/utils/mkbib/aclocal.m4
new file mode 100644
index 0000000000..9eba94647e
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/aclocal.m4
@@ -0,0 +1,1728 @@
+# generated automatically by aclocal 1.12.2 -*- Autoconf -*-
+
+# Copyright (C) 1996-2012 Free Software Foundation, Inc.
+
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+m4_ifndef([AC_AUTOCONF_VERSION],
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
+[m4_warning([this file was generated for autoconf 2.69.
+You have another version of autoconf. It may work, but is not guaranteed to.
+If you have problems, you may need to regenerate the build system entirely.
+To do so, use the procedure documented by the package, typically 'autoreconf'.])])
+
+dnl GLIB_GSETTINGS
+dnl Defines GSETTINGS_SCHEMAS_INSTALL which controls whether
+dnl the schema should be compiled
+dnl
+
+AC_DEFUN([GLIB_GSETTINGS],
+[
+ m4_pattern_allow([AM_V_GEN])
+ AC_ARG_ENABLE(schemas-compile,
+ AS_HELP_STRING([--disable-schemas-compile],
+ [Disable regeneration of gschemas.compiled on install]),
+ [case ${enableval} in
+ yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
+ no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
+ *) AC_MSG_ERROR([bad value ${enableval} for --enable-schemas-compile]) ;;
+ esac])
+ AC_SUBST([GSETTINGS_DISABLE_SCHEMAS_COMPILE])
+ PKG_PROG_PKG_CONFIG([0.16])
+ AC_SUBST(gsettingsschemadir, [${datadir}/glib-2.0/schemas])
+ if test x$cross_compiling != xyes; then
+ GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
+ else
+ AC_PATH_PROG(GLIB_COMPILE_SCHEMAS, glib-compile-schemas)
+ fi
+ AC_SUBST(GLIB_COMPILE_SCHEMAS)
+ if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
+ ifelse([$2],,[AC_MSG_ERROR([glib-compile-schemas not found.])],[$2])
+ else
+ ifelse([$1],,[:],[$1])
+ fi
+
+ GSETTINGS_RULES='
+.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
+
+mostlyclean-am: clean-gsettings-schemas
+
+gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
+
+%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
+ $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch [$]@
+
+all-am: $(gsettings_SCHEMAS:.xml=.valid)
+uninstall-am: uninstall-gsettings-schemas
+install-data-am: install-gsettings-schemas
+
+.SECONDARY: $(gsettings_SCHEMAS)
+
+install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
+ @$(NORMAL_INSTALL)
+ if test -n "$^"; then \
+ test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
+ $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
+ test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
+ fi
+
+uninstall-gsettings-schemas:
+ @$(NORMAL_UNINSTALL)
+ @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
+ test -n "$$files" || exit 0; \
+ echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
+ cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
+ test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
+
+clean-gsettings-schemas:
+ rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
+
+ifdef gsettings_ENUM_NAMESPACE
+$(gsettings__enum_file): $(gsettings_ENUM_FILES)
+ $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" [$]^ > [$]@.tmp && mv [$]@.tmp [$]@
+endif
+'
+ _GSETTINGS_SUBST(GSETTINGS_RULES)
+])
+
+dnl _GSETTINGS_SUBST(VARIABLE)
+dnl Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST
+AC_DEFUN([_GSETTINGS_SUBST],
+[
+AC_SUBST([$1])
+m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
+]
+)
+
+# Configure paths for GTK+
+# Owen Taylor 1997-2001
+
+dnl AM_PATH_GTK_3_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
+dnl Test for GTK+, and define GTK_CFLAGS and GTK_LIBS, if gthread is specified in MODULES,
+dnl pass to pkg-config
+dnl
+AC_DEFUN([AM_PATH_GTK_3_0],
+[dnl
+dnl Get the cflags and libraries from pkg-config
+dnl
+AC_ARG_ENABLE(gtktest, [ --disable-gtktest do not try to compile and run a test GTK+ program],
+ , enable_gtktest=yes)
+
+ pkg_config_args=gtk+-3.0
+ for module in . $4
+ do
+ case "$module" in
+ gthread)
+ pkg_config_args="$pkg_config_args gthread-2.0"
+ ;;
+ esac
+ done
+
+ no_gtk=""
+
+ AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
+
+ if test x$PKG_CONFIG != xno ; then
+ if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
+ :
+ else
+ echo "*** pkg-config too old; version 0.7 or better required."
+ no_gtk=yes
+ PKG_CONFIG=no
+ fi
+ else
+ no_gtk=yes
+ fi
+
+ min_gtk_version=ifelse([$1], ,3.0.0,$1)
+ AC_MSG_CHECKING(for GTK+ - version >= $min_gtk_version)
+
+ if test x$PKG_CONFIG != xno ; then
+ ## don't try to run the test against uninstalled libtool libs
+ if $PKG_CONFIG --uninstalled $pkg_config_args; then
+ echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
+ enable_gtktest=no
+ fi
+
+ if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
+ :
+ else
+ no_gtk=yes
+ fi
+ fi
+
+ if test x"$no_gtk" = x ; then
+ GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
+ GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
+ gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
+ gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
+ gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
+ if test "x$enable_gtktest" = "xyes" ; then
+ ac_save_CFLAGS="$CFLAGS"
+ ac_save_LIBS="$LIBS"
+ CFLAGS="$CFLAGS $GTK_CFLAGS"
+ LIBS="$GTK_LIBS $LIBS"
+dnl
+dnl Now check if the installed GTK+ is sufficiently new. (Also sanity
+dnl checks the results of pkg-config to some extent)
+dnl
+ rm -f conf.gtktest
+ AC_TRY_RUN([
+#include <gtk/gtk.h>
+#include <stdio.h>
+#include <stdlib.h>
+
+int
+main ()
+{
+ int major, minor, micro;
+ char *tmp_version;
+
+ fclose (fopen ("conf.gtktest", "w"));
+
+ /* HP/UX 9 (%@#!) writes to sscanf strings */
+ tmp_version = g_strdup("$min_gtk_version");
+ if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
+ printf("%s, bad version string\n", "$min_gtk_version");
+ exit(1);
+ }
+
+ if ((gtk_major_version != $gtk_config_major_version) ||
+ (gtk_minor_version != $gtk_config_minor_version) ||
+ (gtk_micro_version != $gtk_config_micro_version))
+ {
+ printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
+ $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
+ gtk_major_version, gtk_minor_version, gtk_micro_version);
+ printf ("*** was found! If pkg-config was correct, then it is best\n");
+ printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
+ printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
+ printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
+ printf("*** required on your system.\n");
+ printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
+ printf("*** to point to the correct configuration files\n");
+ }
+ else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
+ (gtk_minor_version != GTK_MINOR_VERSION) ||
+ (gtk_micro_version != GTK_MICRO_VERSION))
+ {
+ printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
+ GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
+ printf("*** library (version %d.%d.%d)\n",
+ gtk_major_version, gtk_minor_version, gtk_micro_version);
+ }
+ else
+ {
+ if ((gtk_major_version > major) ||
+ ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
+ ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
+ {
+ return 0;
+ }
+ else
+ {
+ printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
+ gtk_major_version, gtk_minor_version, gtk_micro_version);
+ printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
+ major, minor, micro);
+ printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
+ printf("***\n");
+ printf("*** If you have already installed a sufficiently new version, this error\n");
+ printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
+ printf("*** being found. The easiest way to fix this is to remove the old version\n");
+ printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
+ printf("*** correct copy of pkg-config. (In this case, you will have to\n");
+ printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
+ printf("*** so that the correct libraries are found at run-time))\n");
+ }
+ }
+ return 1;
+}
+],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
+ CFLAGS="$ac_save_CFLAGS"
+ LIBS="$ac_save_LIBS"
+ fi
+ fi
+ if test "x$no_gtk" = x ; then
+ AC_MSG_RESULT(yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version))
+ ifelse([$2], , :, [$2])
+ else
+ AC_MSG_RESULT(no)
+ if test "$PKG_CONFIG" = "no" ; then
+ echo "*** A new enough version of pkg-config was not found."
+ echo "*** See http://pkgconfig.sourceforge.net"
+ else
+ if test -f conf.gtktest ; then
+ :
+ else
+ echo "*** Could not run GTK+ test program, checking why..."
+ ac_save_CFLAGS="$CFLAGS"
+ ac_save_LIBS="$LIBS"
+ CFLAGS="$CFLAGS $GTK_CFLAGS"
+ LIBS="$LIBS $GTK_LIBS"
+ AC_TRY_LINK([
+#include <gtk/gtk.h>
+#include <stdio.h>
+], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
+ [ echo "*** The test program compiled, but did not run. This usually means"
+ echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
+ echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
+ echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
+ echo "*** to the installed location Also, make sure you have run ldconfig if that"
+ echo "*** is required on your system"
+ echo "***"
+ echo "*** If you have an old version installed, it is best to remove it, although"
+ echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
+ [ echo "*** The test program failed to compile or link. See the file config.log for the"
+ echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."])
+ CFLAGS="$ac_save_CFLAGS"
+ LIBS="$ac_save_LIBS"
+ fi
+ fi
+ GTK_CFLAGS=""
+ GTK_LIBS=""
+ ifelse([$3], , :, [$3])
+ fi
+ AC_SUBST(GTK_CFLAGS)
+ AC_SUBST(GTK_LIBS)
+ rm -f conf.gtktest
+])
+
+dnl GTK_CHECK_BACKEND(BACKEND-NAME [, MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
+dnl Tests for BACKEND-NAME in the GTK targets list
+dnl
+AC_DEFUN([GTK_CHECK_BACKEND],
+[
+ pkg_config_args=ifelse([$1],,gtk+-3.0, gtk+-$1-3.0)
+ min_gtk_version=ifelse([$2],,3.0.0,$2)
+
+ AC_PATH_PROG(PKG_CONFIG, [pkg-config], [AC_MSG_ERROR([No pkg-config found])])
+
+ if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args ; then
+ target_found=yes
+ else
+ target_found=no
+ fi
+
+ if test "x$target_found" = "xno"; then
+ ifelse([$4],,[AC_MSG_ERROR([Backend $backend not found.])],[$4])
+ else
+ ifelse([$3],,[:],[$3])
+ fi
+])
+
+# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
+# serial 1 (pkg-config-0.24)
+#
+# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# PKG_PROG_PKG_CONFIG([MIN-VERSION])
+# ----------------------------------
+AC_DEFUN([PKG_PROG_PKG_CONFIG],
+[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
+m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
+m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
+AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
+AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
+AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
+
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
+ AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
+fi
+if test -n "$PKG_CONFIG"; then
+ _pkg_min_version=m4_default([$1], [0.9.0])
+ AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
+ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ PKG_CONFIG=""
+ fi
+fi[]dnl
+])# PKG_PROG_PKG_CONFIG
+
+# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+#
+# Check to see whether a particular set of modules exists. Similar
+# to PKG_CHECK_MODULES(), but does not set variables or print errors.
+#
+# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
+# only at the first occurence in configure.ac, so if the first place
+# it's called might be skipped (such as if it is within an "if", you
+# have to call PKG_CHECK_EXISTS manually
+# --------------------------------------------------------------
+AC_DEFUN([PKG_CHECK_EXISTS],
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
+if test -n "$PKG_CONFIG" && \
+ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
+ m4_default([$2], [:])
+m4_ifvaln([$3], [else
+ $3])dnl
+fi])
+
+# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
+# ---------------------------------------------
+m4_define([_PKG_CONFIG],
+[if test -n "$$1"; then
+ pkg_cv_[]$1="$$1"
+ elif test -n "$PKG_CONFIG"; then
+ PKG_CHECK_EXISTS([$3],
+ [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ],
+ [pkg_failed=yes])
+ else
+ pkg_failed=untried
+fi[]dnl
+])# _PKG_CONFIG
+
+# _PKG_SHORT_ERRORS_SUPPORTED
+# -----------------------------
+AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi[]dnl
+])# _PKG_SHORT_ERRORS_SUPPORTED
+
+
+# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
+# [ACTION-IF-NOT-FOUND])
+#
+#
+# Note that if there is a possibility the first call to
+# PKG_CHECK_MODULES might not happen, you should be sure to include an
+# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
+#
+#
+# --------------------------------------------------------------
+AC_DEFUN([PKG_CHECK_MODULES],
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
+AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
+AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
+
+pkg_failed=no
+AC_MSG_CHECKING([for $1])
+
+_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
+_PKG_CONFIG([$1][_LIBS], [libs], [$2])
+
+m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
+and $1[]_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.])
+
+if test $pkg_failed = yes; then
+ AC_MSG_RESULT([no])
+ _PKG_SHORT_ERRORS_SUPPORTED
+ if test $_pkg_short_errors_supported = yes; then
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
+ else
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
+
+ m4_default([$4], [AC_MSG_ERROR(
+[Package requirements ($2) were not met:
+
+$$1_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+_PKG_TEXT])[]dnl
+ ])
+elif test $pkg_failed = untried; then
+ AC_MSG_RESULT([no])
+ m4_default([$4], [AC_MSG_FAILURE(
+[The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+_PKG_TEXT
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
+ ])
+else
+ $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
+ $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
+ AC_MSG_RESULT([yes])
+ $3
+fi[]dnl
+])# PKG_CHECK_MODULES
+
+
+# PKG_INSTALLDIR(DIRECTORY)
+# -------------------------
+# Substitutes the variable pkgconfigdir as the location where a module
+# should install pkg-config .pc files. By default the directory is
+# $libdir/pkgconfig, but the default can be changed by passing
+# DIRECTORY. The user can override through the --with-pkgconfigdir
+# parameter.
+AC_DEFUN([PKG_INSTALLDIR],
+[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
+m4_pushdef([pkg_description],
+ [pkg-config installation directory @<:@]pkg_default[@:>@])
+AC_ARG_WITH([pkgconfigdir],
+ [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
+ [with_pkgconfigdir=]pkg_default)
+AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
+m4_popdef([pkg_default])
+m4_popdef([pkg_description])
+]) dnl PKG_INSTALLDIR
+
+
+# PKG_NOARCH_INSTALLDIR(DIRECTORY)
+# -------------------------
+# Substitutes the variable noarch_pkgconfigdir as the location where a
+# module should install arch-independent pkg-config .pc files. By
+# default the directory is $datadir/pkgconfig, but the default can be
+# changed by passing DIRECTORY. The user can override through the
+# --with-noarch-pkgconfigdir parameter.
+AC_DEFUN([PKG_NOARCH_INSTALLDIR],
+[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])
+m4_pushdef([pkg_description],
+ [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@])
+AC_ARG_WITH([noarch-pkgconfigdir],
+ [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
+ [with_noarch_pkgconfigdir=]pkg_default)
+AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])
+m4_popdef([pkg_default])
+m4_popdef([pkg_description])
+]) dnl PKG_NOARCH_INSTALLDIR
+
+AC_DEFUN([YELP_HELP_INIT],
+[
+AC_REQUIRE([AC_PROG_LN_S])
+m4_pattern_allow([AM_V_at])
+m4_pattern_allow([AM_V_GEN])
+m4_pattern_allow([AM_DEFAULT_VERBOSITY])
+AC_ARG_WITH([help-dir],
+ AC_HELP_STRING([--with-help-dir=DIR],
+ [path where help files are installed]),,
+ [with_help_dir='${datadir}/help'])
+HELP_DIR="$with_help_dir"
+AC_SUBST(HELP_DIR)
+
+AC_ARG_VAR([ITSTOOL], [Path to the `itstool` command])
+AC_CHECK_PROG([ITSTOOL], [itstool], [itstool])
+if test x"$ITSTOOL" = x; then
+ AC_MSG_ERROR([itstool not found])
+fi
+
+AC_ARG_VAR([XMLLINT], [Path to the `xmllint` command])
+AC_CHECK_PROG([XMLLINT], [xmllint], [xmllint])
+if test x"$XMLLINT" = x; then
+ AC_MSG_ERROR([xmllint not found])
+fi
+
+YELP_HELP_RULES='
+HELP_ID ?=
+HELP_POT ?=
+HELP_FILES ?=
+HELP_EXTRA ?=
+HELP_MEDIA ?=
+HELP_LINGUAS ?=
+
+_HELP_LINGUAS = $(if $(filter environment,$(origin LINGUAS)),$(filter $(LINGUAS),$(HELP_LINGUAS)),$(HELP_LINGUAS))
+_HELP_POTFILE = $(if $(HELP_POT),$(HELP_POT),$(if $(HELP_ID),$(HELP_ID).pot))
+_HELP_POFILES = $(if $(HELP_ID),$(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).po))
+_HELP_MOFILES = $(patsubst %.po,%.mo,$(_HELP_POFILES))
+_HELP_C_FILES = $(foreach f,$(HELP_FILES),C/$(f))
+_HELP_C_EXTRA = $(foreach f,$(HELP_EXTRA),C/$(f))
+_HELP_C_MEDIA = $(foreach f,$(HELP_MEDIA),C/$(f))
+_HELP_LC_FILES = $(foreach lc,$(_HELP_LINGUAS),$(foreach f,$(HELP_FILES),$(lc)/$(f)))
+_HELP_LC_STAMPS = $(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).stamp)
+
+_HELP_DEFAULT_V = $(if $(AM_DEFAULT_VERBOSITY),$(AM_DEFAULT_VERBOSITY),1)
+_HELP_V = $(if $(V),$(V),$(_HELP_DEFAULT_V))
+_HELP_LC_VERBOSE = $(_HELP_LC_VERBOSE_$(_HELP_V))
+_HELP_LC_VERBOSE_ = $(_HELP_LC_VERBOSE_$(_HELP_DEFAULT_V))
+_HELP_LC_VERBOSE_0 = @echo " GEN "$(dir [$]@);
+
+all: $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA) $(_HELP_LC_FILES) $(_HELP_POFILES)
+
+.PHONY: pot
+pot: $(_HELP_POTFILE)
+$(_HELP_POTFILE): $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA)
+ $(AM_V_GEN)$(ITSTOOL) -o "[$]@" $(_HELP_C_FILES)
+
+.PHONY: repo
+repo: $(_HELP_POTFILE)
+ $(AM_V_at)for po in $(_HELP_POFILES); do \
+ if test "x[$](_HELP_V)" = "x0"; then echo " GEN $${po}"; fi; \
+ msgmerge -q -o "$${po}" "$${po}" "$(_HELP_POTFILE)"; \
+ done
+
+$(_HELP_POFILES):
+ $(AM_V_at)if ! test -d "$(dir [$]@)"; then mkdir "$(dir [$]@)"; fi
+ $(AM_V_at)if test ! -f "[$]@" -a -f "$(srcdir)/[$]@"; then cp "$(srcdir)/[$]@" "[$]@"; fi
+ $(AM_V_GEN)if ! test -f "[$]@"; then \
+ (cd "$(dir [$]@)" && \
+ $(ITSTOOL) -o "$(notdir [$]@).tmp" $(_HELP_C_FILES) && \
+ mv "$(notdir [$]@).tmp" "$(notdir [$]@)"); \
+ else \
+ (cd "$(dir [$]@)" && \
+ $(ITSTOOL) -o "$(notdir [$]@).tmp" $(_HELP_C_FILES) && \
+ msgmerge -o "$(notdir [$]@)" "$(notdir [$]@)" "$(notdir [$]@).tmp" && \
+ rm "$(notdir [$]@).tmp"); \
+ fi
+
+$(_HELP_MOFILES): %.mo: %.po
+ $(AM_V_at)if ! test -d "$(dir [$]@)"; then mkdir "$(dir [$]@)"; fi
+ $(AM_V_GEN)msgfmt -o "[$]@" "$<"
+
+$(_HELP_LC_FILES): $(_HELP_LINGUAS)
+$(_HELP_LINGUAS): $(_HELP_LC_STAMPS)
+$(_HELP_LC_STAMPS): %.stamp: %.mo
+$(_HELP_LC_STAMPS): $(_HELP_C_FILES) $(_HELP_C_EXTRA)
+ $(AM_V_at)if ! test -d "$(dir [$]@)"; then mkdir "$(dir [$]@)"; fi
+ $(_HELP_LC_VERBOSE)if test -d "C"; then d="../"; else d="$(abs_srcdir)/"; fi; \
+ mo="$(dir [$]@)$(patsubst %/$(notdir [$]@),%,[$]@).mo"; \
+ if test -f "$${mo}"; then mo="../$${mo}"; else mo="$(abs_srcdir)/$${mo}"; fi; \
+ (cd "$(dir [$]@)" && $(ITSTOOL) -m "$${mo}" $(foreach f,$(_HELP_C_FILES),$${d}/$(f))) && \
+ touch "[$]@"
+
+.PHONY: clean-help
+mostlyclean-am: $(if $(HELP_ID),clean-help)
+clean-help:
+ rm -f $(_HELP_LC_FILES) $(_HELP_LC_STAMPS) $(_HELP_MOFILES)
+
+EXTRA_DIST ?=
+EXTRA_DIST += $(_HELP_C_EXTRA) $(_HELP_C_MEDIA)
+EXTRA_DIST += $(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).stamp)
+EXTRA_DIST += $(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).po)
+EXTRA_DIST += $(foreach f,$(HELP_MEDIA),$(foreach lc,$(HELP_LINGUAS),$(wildcard $(lc)/$(f))))
+
+distdir: distdir-help-files
+distdir-help-files:
+ @for lc in C $(HELP_LINGUAS); do \
+ $(MKDIR_P) "$(distdir)/$$lc"; \
+ for file in $(HELP_FILES); do \
+ if test -f "$$lc/$$file"; then d=./; else d=$(srcdir)/; fi; \
+ cp -p "$$d$$lc/$$file" "$(distdir)/$$lc/" || exit 1; \
+ done; \
+ done; \
+
+.PHONY: check-help
+check: check-help
+check-help:
+ for lc in C $(_HELP_LINGUAS); do \
+ if test -d "$$lc"; \
+ then d=; \
+ xmlpath="$$lc"; \
+ else \
+ d="$(srcdir)/"; \
+ xmlpath="$$lc:$(srcdir)/$$lc"; \
+ fi; \
+ for page in $(HELP_FILES); do \
+ echo "$(XMLLINT) --noout --noent --path $$xmlpath --xinclude $$d$$lc/$$page"; \
+ $(XMLLINT) --noout --noent --path "$$xmlpath" --xinclude "$$d$$lc/$$page"; \
+ done; \
+ done
+
+
+.PHONY: install-help
+install-data-am: $(if $(HELP_ID),install-help)
+install-help:
+ @for lc in C $(_HELP_LINGUAS); do \
+ $(mkinstalldirs) "$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)" || exit 1; \
+ done
+ @for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \
+ if test -f "$$lc/$$f"; then d=; else d="$(srcdir)/"; fi; \
+ helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
+ if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \
+ echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir`basename $$f`"; \
+ $(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir`basename $$f`" || exit 1; \
+ done; done
+ @for f in $(_HELP_C_EXTRA); do \
+ lc=`dirname "$$f"`; lc=`basename "$$lc"`; \
+ if test -f "$$f"; then d=; else d="$(srcdir)/"; fi; \
+ helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
+ if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \
+ echo "$(INSTALL_DATA) $$d$$f $$helpdir`basename $$f`"; \
+ $(INSTALL_DATA) "$$d$$f" "$$helpdir`basename $$f`" || exit 1; \
+ done
+ @for f in $(HELP_MEDIA); do \
+ for lc in C $(_HELP_LINGUAS); do \
+ if test -f "$$lc$$f"; then d=; else d="$(srcdir)/"; fi; \
+ helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
+ mdir=`dirname "$$f"`; \
+ if test "x$mdir" = "x."; then mdir=""; fi; \
+ if ! test -d "$$helpdir$$mdir"; then $(mkinstalldirs) "$$helpdir$$mdir"; fi; \
+ if test -f "$$d$$lc/$$f"; then \
+ echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir$$f"; \
+ $(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir$$f" || exit 1; \
+ elif test "x$$lc" != "xC"; then \
+ echo "$(LN_S) -f $(HELP_DIR)/C/$(HELP_ID)/$$f $$helpdir$$f"; \
+ $(LN_S) -f "$(HELP_DIR)/C/$(HELP_ID)/$$f" "$$helpdir$$f" || exit 1; \
+ fi; \
+ done; \
+ done
+
+.PHONY: uninstall-help
+uninstall-am: $(if $(HELP_ID),uninstall-help)
+uninstall-help:
+ for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \
+ helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
+ echo "rm -f $$helpdir`basename $$f`"; \
+ rm -f "$$helpdir`basename $$f`"; \
+ done; done
+ @for f in $(_HELP_C_EXTRA); do \
+ lc=`dirname "$$f"`; lc=`basename "$$lc"`; \
+ helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
+ echo "rm -f $$helpdir`basename $$f`"; \
+ rm -f "$$helpdir`basename $$f`"; \
+ done
+ @for f in $(HELP_MEDIA); do \
+ for lc in C $(_HELP_LINGUAS); do \
+ helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
+ echo "rm -f $$helpdir$$f"; \
+ rm -f "$$helpdir$$f"; \
+ done; \
+ done;
+'
+AC_SUBST([YELP_HELP_RULES])
+m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([YELP_HELP_RULES])])
+])
+
+# Copyright (C) 2002-2012 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 8
+
+# AM_AUTOMAKE_VERSION(VERSION)
+# ----------------------------
+# Automake X.Y traces this macro to ensure aclocal.m4 has been
+# generated from the m4 files accompanying Automake X.Y.
+# (This private macro should not be called outside this file.)
+AC_DEFUN([AM_AUTOMAKE_VERSION],
+[am__api_version='1.12'
+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
+dnl require some minimum version. Point them to the right macro.
+m4_if([$1], [1.12.2], [],
+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
+])
+
+# _AM_AUTOCONF_VERSION(VERSION)
+# -----------------------------
+# aclocal traces this macro to find the Autoconf version.
+# This is a private macro too. Using m4_define simplifies
+# the logic in aclocal, which can simply ignore this definition.
+m4_define([_AM_AUTOCONF_VERSION], [])
+
+# AM_SET_CURRENT_AUTOMAKE_VERSION
+# -------------------------------
+# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
+# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
+[AM_AUTOMAKE_VERSION([1.12.2])dnl
+m4_ifndef([AC_AUTOCONF_VERSION],
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
+
+# AM_AUX_DIR_EXPAND -*- Autoconf -*-
+
+# Copyright (C) 2001-2012 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 2
+
+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
+# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
+# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
+#
+# Of course, Automake must honor this variable whenever it calls a
+# tool from the auxiliary directory. The problem is that $srcdir (and
+# therefore $ac_aux_dir as well) can be either absolute or relative,
+# depending on how configure is run. This is pretty annoying, since
+# it makes $ac_aux_dir quite unusable in subdirectories: in the top
+# source directory, any form will work fine, but in subdirectories a
+# relative path needs to be adjusted first.
+#
+# $ac_aux_dir/missing
+# fails when called from a subdirectory if $ac_aux_dir is relative
+# $top_srcdir/$ac_aux_dir/missing
+# fails if $ac_aux_dir is absolute,
+# fails when called from a subdirectory in a VPATH build with
+# a relative $ac_aux_dir
+#
+# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
+# are both prefixed by $srcdir. In an in-source build this is usually
+# harmless because $srcdir is '.', but things will broke when you
+# start a VPATH build or use an absolute $srcdir.
+#
+# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
+# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
+# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
+# and then we would define $MISSING as
+# MISSING="\${SHELL} $am_aux_dir/missing"
+# This will work as long as MISSING is not called from configure, because
+# unfortunately $(top_srcdir) has no meaning in configure.
+# However there are other variables, like CC, which are often used in
+# configure, and could therefore not use this "fixed" $ac_aux_dir.
+#
+# Another solution, used here, is to always expand $ac_aux_dir to an
+# absolute PATH. The drawback is that using absolute paths prevent a
+# configured tree to be moved without reconfiguration.
+
+AC_DEFUN([AM_AUX_DIR_EXPAND],
+[dnl Rely on autoconf to set up CDPATH properly.
+AC_PREREQ([2.50])dnl
+# expand $ac_aux_dir to an absolute path
+am_aux_dir=`cd $ac_aux_dir && pwd`
+])
+
+# AM_CONDITIONAL -*- Autoconf -*-
+
+# Copyright (C) 1997-2012 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 10
+
+# AM_CONDITIONAL(NAME, SHELL-CONDITION)
+# -------------------------------------
+# Define a conditional.
+AC_DEFUN([AM_CONDITIONAL],
+[AC_PREREQ([2.52])dnl
+ m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
+ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
+AC_SUBST([$1_TRUE])dnl
+AC_SUBST([$1_FALSE])dnl
+_AM_SUBST_NOTMAKE([$1_TRUE])dnl
+_AM_SUBST_NOTMAKE([$1_FALSE])dnl
+m4_define([_AM_COND_VALUE_$1], [$2])dnl
+if $2; then
+ $1_TRUE=
+ $1_FALSE='#'
+else
+ $1_TRUE='#'
+ $1_FALSE=
+fi
+AC_CONFIG_COMMANDS_PRE(
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
+ AC_MSG_ERROR([[conditional "$1" was never defined.
+Usually this means the macro was only invoked conditionally.]])
+fi])])
+
+# Copyright (C) 1999-2012 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 17
+
+# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
+# written in clear, in which case automake, when reading aclocal.m4,
+# will think it sees a *use*, and therefore will trigger all it's
+# C support machinery. Also note that it means that autoscan, seeing
+# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
+
+
+# _AM_DEPENDENCIES(NAME)
+# ----------------------
+# See how the compiler implements dependency checking.
+# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
+# We try a few techniques and use that to set a single cache variable.
+#
+# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
+# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
+# dependency, and given that the user is not expected to run this macro,
+# just rely on AC_PROG_CC.
+AC_DEFUN([_AM_DEPENDENCIES],
+[AC_REQUIRE([AM_SET_DEPDIR])dnl
+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl
+AC_REQUIRE([AM_DEP_TRACK])dnl
+
+m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
+ [$1], [CXX], [depcc="$CXX" am_compiler_list=],
+ [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
+ [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
+ [$1], [UPC], [depcc="$UPC" am_compiler_list=],
+ [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
+ [depcc="$$1" am_compiler_list=])
+
+AC_CACHE_CHECK([dependency style of $depcc],
+ [am_cv_$1_dependencies_compiler_type],
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named 'D' -- because '-MD' means "put the output
+ # in D".
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_$1_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
+ fi
+ am__universal=false
+ m4_case([$1], [CC],
+ [case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac],
+ [CXX],
+ [case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac])
+
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
+ # Solaris 10 /bin/sh.
+ echo '/* dummy */' > sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle '-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs.
+ am__obj=sub/conftest.${OBJEXT-o}
+ am__minus_obj="-o $am__obj"
+ case $depmode in
+ gcc)
+ # This depmode causes a compiler race in universal mode.
+ test "$am__universal" = false || continue
+ ;;
+ nosideeffect)
+ # After this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested.
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+ # This compiler won't grok '-c -o', but also, the minuso test has
+ # not run yet. These depmodes are late enough in the game, and
+ # so weak that their functioning should not be impacted.
+ am__obj=conftest.${OBJEXT-o}
+ am__minus_obj=
+ ;;
+ none) break ;;
+ esac
+ if depmode=$depmode \
+ source=sub/conftest.c object=$am__obj \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_$1_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_$1_dependencies_compiler_type=none
+fi
+])
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
+AM_CONDITIONAL([am__fastdep$1], [
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
+])
+
+
+# AM_SET_DEPDIR
+# -------------
+# Choose a directory name for dependency files.
+# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
+AC_DEFUN([AM_SET_DEPDIR],
+[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
+])
+
+
+# AM_DEP_TRACK
+# ------------
+AC_DEFUN([AM_DEP_TRACK],
+[AC_ARG_ENABLE([dependency-tracking], [dnl
+AS_HELP_STRING(
+ [--enable-dependency-tracking],
+ [do not reject slow dependency extractors])
+AS_HELP_STRING(
+ [--disable-dependency-tracking],
+ [speeds up one-time build])])
+if test "x$enable_dependency_tracking" != xno; then
+ am_depcomp="$ac_aux_dir/depcomp"
+ AMDEPBACKSLASH='\'
+ am__nodep='_no'
+fi
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
+AC_SUBST([AMDEPBACKSLASH])dnl
+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
+AC_SUBST([am__nodep])dnl
+_AM_SUBST_NOTMAKE([am__nodep])dnl
+])
+
+# Generate code to set up dependency tracking. -*- Autoconf -*-
+
+# Copyright (C) 1999-2012 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 6
+
+# _AM_OUTPUT_DEPENDENCY_COMMANDS
+# ------------------------------
+AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
+[{
+ # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # are listed without --file. Let's play safe and only enable the eval
+ # if we detect the quoting.
+ case $CONFIG_FILES in
+ *\'*) eval set x "$CONFIG_FILES" ;;
+ *) set x $CONFIG_FILES ;;
+ esac
+ shift
+ for mf
+ do
+ # Strip MF so we end up with the name of the file.
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
+ # Check whether this is an Automake generated Makefile or not.
+ # We used to match only the files named 'Makefile.in', but
+ # some people rename them; so instead we look at the file content.
+ # Grep'ing the first line is not enough: some people post-process
+ # each Makefile.in and add a new line on top of each file to say so.
+ # Grep'ing the whole file is not good either: AIX grep has a line
+ # limit of 2048, but all sed's we know have understand at least 4000.
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
+ dirpart=`AS_DIRNAME("$mf")`
+ else
+ continue
+ fi
+ # Extract the definition of DEPDIR, am__include, and am__quote
+ # from the Makefile without running 'make'.
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
+ test -z "$DEPDIR" && continue
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
+ test -z "am__include" && continue
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
+ # Find all dependency output files, they are included files with
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
+ # simplest approach to changing $(DEPDIR) to its actual value in the
+ # expansion.
+ for file in `sed -n "
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
+ # Make sure the directory exists.
+ test -f "$dirpart/$file" && continue
+ fdir=`AS_DIRNAME(["$file"])`
+ AS_MKDIR_P([$dirpart/$fdir])
+ # echo "creating $dirpart/$file"
+ echo '# dummy' > "$dirpart/$file"
+ done
+ done
+}
+])# _AM_OUTPUT_DEPENDENCY_COMMANDS
+
+
+# AM_OUTPUT_DEPENDENCY_COMMANDS
+# -----------------------------
+# This macro should only be invoked once -- use via AC_REQUIRE.
+#
+# This code is only required when automatic dependency tracking
+# is enabled. FIXME. This creates each '.P' file that we will
+# need in order to bootstrap the dependency handling code.
+AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
+[AC_CONFIG_COMMANDS([depfiles],
+ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
+ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
+])
+
+# Do all the work for Automake. -*- Autoconf -*-
+
+# Copyright (C) 1996-2012 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 19
+
+# This macro actually does too much. Some checks are only needed if
+# your package does certain things. But this isn't really a big deal.
+
+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
+# AM_INIT_AUTOMAKE([OPTIONS])
+# -----------------------------------------------
+# The call with PACKAGE and VERSION arguments is the old style
+# call (pre autoconf-2.50), which is being phased out. PACKAGE
+# and VERSION should now be passed to AC_INIT and removed from
+# the call to AM_INIT_AUTOMAKE.
+# We support both call styles for the transition. After
+# the next Automake release, Autoconf can make the AC_INIT
+# arguments mandatory, and then we can depend on a new Autoconf
+# release and drop the old call support.
+AC_DEFUN([AM_INIT_AUTOMAKE],
+[AC_PREREQ([2.62])dnl
+dnl Autoconf wants to disallow AM_ names. We explicitly allow
+dnl the ones we care about.
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
+AC_REQUIRE([AC_PROG_INSTALL])dnl
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
+ # is not polluted with repeated "-I."
+ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
+ # test to see if srcdir already configured
+ if test -f $srcdir/config.status; then
+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
+ fi
+fi
+
+# test whether we have cygpath
+if test -z "$CYGPATH_W"; then
+ if (cygpath --version) >/dev/null 2>/dev/null; then
+ CYGPATH_W='cygpath -w'
+ else
+ CYGPATH_W=echo
+ fi
+fi
+AC_SUBST([CYGPATH_W])
+
+# Define the identity of the package.
+dnl Distinguish between old-style and new-style calls.
+m4_ifval([$2],
+[AC_DIAGNOSE([obsolete],
+[$0: two- and three-arguments forms are deprecated. For more info, see:
+http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation])
+m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
+ AC_SUBST([PACKAGE], [$1])dnl
+ AC_SUBST([VERSION], [$2])],
+[_AM_SET_OPTIONS([$1])dnl
+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
+m4_if(
+ m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
+ [ok:ok],,
+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
+
+_AM_IF_OPTION([no-define],,
+[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
+ AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
+
+# Some tools Automake needs.
+AC_REQUIRE([AM_SANITY_CHECK])dnl
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
+AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
+AM_MISSING_PROG([AUTOCONF], [autoconf])
+AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
+AM_MISSING_PROG([AUTOHEADER], [autoheader])
+AM_MISSING_PROG([MAKEINFO], [makeinfo])
+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
+# For better backward compatibility. To be removed once Automake 1.9.x
+# dies out for good. For more background, see:
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
+# We need awk for the "check" target. The system "awk" is bad on
+# some platforms.
+AC_REQUIRE([AC_PROG_AWK])dnl
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
+ [_AM_PROG_TAR([v7])])])
+_AM_IF_OPTION([no-dependencies],,
+[AC_PROVIDE_IFELSE([AC_PROG_CC],
+ [_AM_DEPENDENCIES([CC])],
+ [m4_define([AC_PROG_CC],
+ m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
+ [_AM_DEPENDENCIES([CXX])],
+ [m4_define([AC_PROG_CXX],
+ m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
+ [_AM_DEPENDENCIES([OBJC])],
+ [m4_define([AC_PROG_OBJC],
+ m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
+dnl Support for Objective C++ was only introduced in Autoconf 2.65,
+dnl but we still cater to Autoconf 2.62.
+m4_ifdef([AC_PROG_OBJCXX],
+[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+ [_AM_DEPENDENCIES([OBJCXX])],
+ [m4_define([AC_PROG_OBJCXX],
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
+])
+_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
+dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
+dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_CONFIG_COMMANDS_PRE(dnl
+[m4_provide_if([_AM_COMPILER_EXEEXT],
+ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
+])
+
+dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
+dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
+dnl mangled by Autoconf and run in a shell conditional statement.
+m4_define([_AC_COMPILER_EXEEXT],
+m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
+
+
+# When config.status generates a header, we must update the stamp-h file.
+# This file resides in the same directory as the config header
+# that is generated. The stamp files are numbered to have different names.
+
+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
+# loop where config.status creates the headers, so we can generate
+# our stamp files there.
+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
+[# Compute $1's index in $config_headers.
+_am_arg=$1
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+ case $_am_header in
+ $_am_arg | $_am_arg:* )
+ break ;;
+ * )
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+ esac
+done
+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
+
+# Copyright (C) 2001-2012 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 8
+
+# AM_PROG_INSTALL_SH
+# ------------------
+# Define $install_sh.
+AC_DEFUN([AM_PROG_INSTALL_SH],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+if test x"${install_sh}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
+ *)
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
+ esac
+fi
+AC_SUBST([install_sh])])
+
+# Copyright (C) 2003-2012 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 2
+
+# Check whether the underlying file-system supports filenames
+# with a leading dot. For instance MS-DOS doesn't.
+AC_DEFUN([AM_SET_LEADING_DOT],
+[rm -rf .tst 2>/dev/null
+mkdir .tst 2>/dev/null
+if test -d .tst; then
+ am__leading_dot=.
+else
+ am__leading_dot=_
+fi
+rmdir .tst 2>/dev/null
+AC_SUBST([am__leading_dot])])
+
+# Copyright (C) 1998-2012 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 6
+
+# AM_PROG_LEX
+# -----------
+# Autoconf leaves LEX=: if lex or flex can't be found. Change that to a
+# "missing" invocation, for better error output.
+AC_DEFUN([AM_PROG_LEX],
+[AC_PREREQ([2.50])dnl
+AC_REQUIRE([AM_MISSING_HAS_RUN])dnl
+AC_REQUIRE([AC_PROG_LEX])dnl
+if test "$LEX" = :; then
+ LEX=${am_missing_run}flex
+fi])
+
+# Check to see how 'make' treats includes. -*- Autoconf -*-
+
+# Copyright (C) 2001-2012 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 5
+
+# AM_MAKE_INCLUDE()
+# -----------------
+# Check to see how make treats includes.
+AC_DEFUN([AM_MAKE_INCLUDE],
+[am_make=${MAKE-make}
+cat > confinc << 'END'
+am__doit:
+ @echo this is the am__doit target
+.PHONY: am__doit
+END
+# If we don't find an include directive, just comment out the code.
+AC_MSG_CHECKING([for style of include used by $am_make])
+am__include="#"
+am__quote=
+_am_result=none
+# First try GNU make style include.
+echo "include confinc" > confmf
+# Ignore all kinds of additional output from 'make'.
+case `$am_make -s -f confmf 2> /dev/null` in #(
+*the\ am__doit\ target*)
+ am__include=include
+ am__quote=
+ _am_result=GNU
+ ;;
+esac
+# Now try BSD make style include.
+if test "$am__include" = "#"; then
+ echo '.include "confinc"' > confmf
+ case `$am_make -s -f confmf 2> /dev/null` in #(
+ *the\ am__doit\ target*)
+ am__include=.include
+ am__quote="\""
+ _am_result=BSD
+ ;;
+ esac
+fi
+AC_SUBST([am__include])
+AC_SUBST([am__quote])
+AC_MSG_RESULT([$_am_result])
+rm -f confinc confmf
+])
+
+# Copyright (C) 1999-2012 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 6
+
+# AM_PROG_CC_C_O
+# --------------
+# Like AC_PROG_CC_C_O, but changed for automake.
+AC_DEFUN([AM_PROG_CC_C_O],
+[AC_REQUIRE([AC_PROG_CC_C_O])dnl
+AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+AC_REQUIRE_AUX_FILE([compile])dnl
+# FIXME: we rely on the cache variable name because
+# there is no other way.
+set dummy $CC
+am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
+eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
+if test "$am_t" != yes; then
+ # Losing compiler, so override with the script.
+ # FIXME: It is wrong to rewrite CC.
+ # But if we don't then we get into trouble of one sort or another.
+ # A longer-term fix would be to have automake use am__CC in this case,
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
+ CC="$am_aux_dir/compile $CC"
+fi
+dnl Make sure AC_PROG_CC is never called again, or it will override our
+dnl setting of CC.
+m4_define([AC_PROG_CC],
+ [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
+])
+
+# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
+
+# Copyright (C) 1997-2012 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 7
+
+# AM_MISSING_PROG(NAME, PROGRAM)
+# ------------------------------
+AC_DEFUN([AM_MISSING_PROG],
+[AC_REQUIRE([AM_MISSING_HAS_RUN])
+$1=${$1-"${am_missing_run}$2"}
+AC_SUBST($1)])
+
+
+# AM_MISSING_HAS_RUN
+# ------------------
+# Define MISSING if not defined so far and test if it supports --run.
+# If it does, set am_missing_run to use it, otherwise, to nothing.
+AC_DEFUN([AM_MISSING_HAS_RUN],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+AC_REQUIRE_AUX_FILE([missing])dnl
+if test x"${MISSING+set}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
+ *)
+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
+ esac
+fi
+# Use eval to expand $SHELL
+if eval "$MISSING --run true"; then
+ am_missing_run="$MISSING --run "
+else
+ am_missing_run=
+ AC_MSG_WARN(['missing' script is too old or missing])
+fi
+])
+
+# Helper functions for option handling. -*- Autoconf -*-
+
+# Copyright (C) 2001-2012 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 6
+
+# _AM_MANGLE_OPTION(NAME)
+# -----------------------
+AC_DEFUN([_AM_MANGLE_OPTION],
+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
+
+# _AM_SET_OPTION(NAME)
+# --------------------
+# Set option NAME. Presently that only means defining a flag for this option.
+AC_DEFUN([_AM_SET_OPTION],
+[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
+
+# _AM_SET_OPTIONS(OPTIONS)
+# ------------------------
+# OPTIONS is a space-separated list of Automake options.
+AC_DEFUN([_AM_SET_OPTIONS],
+[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
+
+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
+# -------------------------------------------
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
+AC_DEFUN([_AM_IF_OPTION],
+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
+
+# Check to make sure that the build environment is sane. -*- Autoconf -*-
+
+# Copyright (C) 1996-2012 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 9
+
+# AM_SANITY_CHECK
+# ---------------
+AC_DEFUN([AM_SANITY_CHECK],
+[AC_MSG_CHECKING([whether build environment is sane])
+# Reject unsafe characters in $srcdir or the absolute working directory
+# name. Accept space and tab only in the latter.
+am_lf='
+'
+case `pwd` in
+ *[[\\\"\#\$\&\'\`$am_lf]]*)
+ AC_MSG_ERROR([unsafe absolute working directory name]);;
+esac
+case $srcdir in
+ *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
+ AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
+esac
+
+# Do 'set' in a subshell so we don't clobber the current shell's
+# arguments. Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+ am_has_slept=no
+ for am_try in 1 2; do
+ echo "timestamp, slept: $am_has_slept" > conftest.file
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
+ if test "$[*]" = "X"; then
+ # -L didn't work.
+ set X `ls -t "$srcdir/configure" conftest.file`
+ fi
+ if test "$[*]" != "X $srcdir/configure conftest.file" \
+ && test "$[*]" != "X conftest.file $srcdir/configure"; then
+
+ # If neither matched, then we have a broken ls. This can happen
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
+ # broken ls alias from the environment. This has actually
+ # happened. Such a system could not be considered "sane".
+ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
+ alias in your environment])
+ fi
+ if test "$[2]" = conftest.file || test $am_try -eq 2; then
+ break
+ fi
+ # Just in case.
+ sleep 1
+ am_has_slept=yes
+ done
+ test "$[2]" = conftest.file
+ )
+then
+ # Ok.
+ :
+else
+ AC_MSG_ERROR([newly created file is older than distributed files!
+Check your system clock])
+fi
+AC_MSG_RESULT([yes])
+# If we didn't sleep, we still need to ensure time stamps of config.status and
+# generated files are strictly newer.
+am_sleep_pid=
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
+ ( sleep 1 ) &
+ am_sleep_pid=$!
+fi
+AC_CONFIG_COMMANDS_PRE(
+ [AC_MSG_CHECKING([that generated files are newer than configure])
+ if test -n "$am_sleep_pid"; then
+ # Hide warnings about reused PIDs.
+ wait $am_sleep_pid 2>/dev/null
+ fi
+ AC_MSG_RESULT([done])])
+rm -f conftest.file
+])
+
+# Copyright (C) 2001-2012 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 2
+
+# AM_PROG_INSTALL_STRIP
+# ---------------------
+# One issue with vendor 'install' (even GNU) is that you can't
+# specify the program used to strip binaries. This is especially
+# annoying in cross-compiling environments, where the build's strip
+# is unlikely to handle the host's binaries.
+# Fortunately install-sh will honor a STRIPPROG variable, so we
+# always use install-sh in "make install-strip", and initialize
+# STRIPPROG with the value of the STRIP variable (set by the user).
+AC_DEFUN([AM_PROG_INSTALL_STRIP],
+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+# Installed binaries are usually stripped using 'strip' when the user
+# run "make install-strip". However 'strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the 'STRIP' environment variable to overrule this program.
+dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
+if test "$cross_compiling" != no; then
+ AC_CHECK_TOOL([STRIP], [strip], :)
+fi
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
+
+# Copyright (C) 2006-2012 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 3
+
+# _AM_SUBST_NOTMAKE(VARIABLE)
+# ---------------------------
+# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
+# This macro is traced by Automake.
+AC_DEFUN([_AM_SUBST_NOTMAKE])
+
+# AM_SUBST_NOTMAKE(VARIABLE)
+# --------------------------
+# Public sister of _AM_SUBST_NOTMAKE.
+AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
+
+# Check how to create a tarball. -*- Autoconf -*-
+
+# Copyright (C) 2004-2012 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 3
+
+# _AM_PROG_TAR(FORMAT)
+# --------------------
+# Check how to create a tarball in format FORMAT.
+# FORMAT should be one of 'v7', 'ustar', or 'pax'.
+#
+# Substitute a variable $(am__tar) that is a command
+# writing to stdout a FORMAT-tarball containing the directory
+# $tardir.
+# tardir=directory && $(am__tar) > result.tar
+#
+# Substitute a variable $(am__untar) that extract such
+# a tarball read from stdin.
+# $(am__untar) < result.tar
+AC_DEFUN([_AM_PROG_TAR],
+[# Always define AMTAR for backward compatibility. Yes, it's still used
+# in the wild :-( We should find a proper way to deprecate it ...
+AC_SUBST([AMTAR], ['$${TAR-tar}'])
+m4_if([$1], [v7],
+ [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
+ [m4_case([$1], [ustar],, [pax],,
+ [m4_fatal([Unknown tar format])])
+AC_MSG_CHECKING([how to create a $1 tar archive])
+# Loop over all known methods to create a tar archive until one works.
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
+_am_tools=${am_cv_prog_tar_$1-$_am_tools}
+# Do not fold the above two line into one, because Tru64 sh and
+# Solaris sh will not grok spaces in the rhs of '-'.
+for _am_tool in $_am_tools
+do
+ case $_am_tool in
+ gnutar)
+ for _am_tar in tar gnutar gtar;
+ do
+ AM_RUN_LOG([$_am_tar --version]) && break
+ done
+ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
+ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
+ am__untar="$_am_tar -xf -"
+ ;;
+ plaintar)
+ # Must skip GNU tar: if it does not support --format= it doesn't create
+ # ustar tarball either.
+ (tar --version) >/dev/null 2>&1 && continue
+ am__tar='tar chf - "$$tardir"'
+ am__tar_='tar chf - "$tardir"'
+ am__untar='tar xf -'
+ ;;
+ pax)
+ am__tar='pax -L -x $1 -w "$$tardir"'
+ am__tar_='pax -L -x $1 -w "$tardir"'
+ am__untar='pax -r'
+ ;;
+ cpio)
+ am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
+ am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
+ am__untar='cpio -i -H $1 -d'
+ ;;
+ none)
+ am__tar=false
+ am__tar_=false
+ am__untar=false
+ ;;
+ esac
+
+ # If the value was cached, stop now. We just wanted to have am__tar
+ # and am__untar set.
+ test -n "${am_cv_prog_tar_$1}" && break
+
+ # tar/untar a dummy directory, and stop if the command works
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ echo GrepMe > conftest.dir/file
+ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
+ rm -rf conftest.dir
+ if test -s conftest.tar; then
+ AM_RUN_LOG([$am__untar <conftest.tar])
+ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
+ fi
+done
+rm -rf conftest.dir
+
+AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
+AC_MSG_RESULT([$am_cv_prog_tar_$1])])
+AC_SUBST([am__tar])
+AC_SUBST([am__untar])
+]) # _AM_PROG_TAR
+
+m4_include([m4/intltool.m4])
+m4_include([m4/nls.m4])
diff --git a/biblio/bibtex/utils/mkbib/autogen.sh b/biblio/bibtex/utils/mkbib/autogen.sh
new file mode 100755
index 0000000000..f31828b5f4
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/autogen.sh
@@ -0,0 +1,31 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+PKG_NAME="mkBiB"
+
+(test -f $srcdir/configure.ac) || {
+ echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
+ echo " top-level gnome-dictionary directory"
+ exit 1
+}
+
+(test -f $srcdir/build-aux/ylwrap) || {
+ autoreconf --install
+}
+
+GNOMEDOC=`which yelp-build`
+ if test -z $GNOMEDOC; then
+echo "*** The tools to build the documentation are not found,"
+echo " please intall the yelp-tool package ***"
+exit 1
+fi
+
+which gnome-autogen.sh || {
+ echo "You need to install gnome-common package"
+ exit 1
+}
+
+USE_GNOME2_MACROS=1 . gnome-autogen.sh
diff --git a/biblio/bibtex/utils/mkbib/build-aux/compile b/biblio/bibtex/utils/mkbib/build-aux/compile
new file mode 100755
index 0000000000..7b4a9a7e1e
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/build-aux/compile
@@ -0,0 +1,342 @@
+#! /bin/sh
+# Wrapper for compilers which do not understand '-c -o'.
+
+scriptversion=2012-03-05.13; # UTC
+
+# Copyright (C) 1999-2012 Free Software Foundation, Inc.
+# Written by Tom Tromey <tromey@cygnus.com>.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# This file is maintained in Automake, please report
+# bugs to <bug-automake@gnu.org> or send patches to
+# <automake-patches@gnu.org>.
+
+nl='
+'
+
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent tools from complaining about whitespace usage.
+IFS=" "" $nl"
+
+file_conv=
+
+# func_file_conv build_file lazy
+# Convert a $build file to $host form and store it in $file
+# Currently only supports Windows hosts. If the determined conversion
+# type is listed in (the comma separated) LAZY, no conversion will
+# take place.
+func_file_conv ()
+{
+ file=$1
+ case $file in
+ / | /[!/]*) # absolute file, and not a UNC file
+ if test -z "$file_conv"; then
+ # lazily determine how to convert abs files
+ case `uname -s` in
+ MINGW*)
+ file_conv=mingw
+ ;;
+ CYGWIN*)
+ file_conv=cygwin
+ ;;
+ *)
+ file_conv=wine
+ ;;
+ esac
+ fi
+ case $file_conv/,$2, in
+ *,$file_conv,*)
+ ;;
+ mingw/*)
+ file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
+ ;;
+ cygwin/*)
+ file=`cygpath -m "$file" || echo "$file"`
+ ;;
+ wine/*)
+ file=`winepath -w "$file" || echo "$file"`
+ ;;
+ esac
+ ;;
+ esac
+}
+
+# func_cl_dashL linkdir
+# Make cl look for libraries in LINKDIR
+func_cl_dashL ()
+{
+ func_file_conv "$1"
+ if test -z "$lib_path"; then
+ lib_path=$file
+ else
+ lib_path="$lib_path;$file"
+ fi
+ linker_opts="$linker_opts -LIBPATH:$file"
+}
+
+# func_cl_dashl library
+# Do a library search-path lookup for cl
+func_cl_dashl ()
+{
+ lib=$1
+ found=no
+ save_IFS=$IFS
+ IFS=';'
+ for dir in $lib_path $LIB
+ do
+ IFS=$save_IFS
+ if $shared && test -f "$dir/$lib.dll.lib"; then
+ found=yes
+ lib=$dir/$lib.dll.lib
+ break
+ fi
+ if test -f "$dir/$lib.lib"; then
+ found=yes
+ lib=$dir/$lib.lib
+ break
+ fi
+ done
+ IFS=$save_IFS
+
+ if test "$found" != yes; then
+ lib=$lib.lib
+ fi
+}
+
+# func_cl_wrapper cl arg...
+# Adjust compile command to suit cl
+func_cl_wrapper ()
+{
+ # Assume a capable shell
+ lib_path=
+ shared=:
+ linker_opts=
+ for arg
+ do
+ if test -n "$eat"; then
+ eat=
+ else
+ case $1 in
+ -o)
+ # configure might choose to run compile as 'compile cc -o foo foo.c'.
+ eat=1
+ case $2 in
+ *.o | *.[oO][bB][jJ])
+ func_file_conv "$2"
+ set x "$@" -Fo"$file"
+ shift
+ ;;
+ *)
+ func_file_conv "$2"
+ set x "$@" -Fe"$file"
+ shift
+ ;;
+ esac
+ ;;
+ -I)
+ eat=1
+ func_file_conv "$2" mingw
+ set x "$@" -I"$file"
+ shift
+ ;;
+ -I*)
+ func_file_conv "${1#-I}" mingw
+ set x "$@" -I"$file"
+ shift
+ ;;
+ -l)
+ eat=1
+ func_cl_dashl "$2"
+ set x "$@" "$lib"
+ shift
+ ;;
+ -l*)
+ func_cl_dashl "${1#-l}"
+ set x "$@" "$lib"
+ shift
+ ;;
+ -L)
+ eat=1
+ func_cl_dashL "$2"
+ ;;
+ -L*)
+ func_cl_dashL "${1#-L}"
+ ;;
+ -static)
+ shared=false
+ ;;
+ -Wl,*)
+ arg=${1#-Wl,}
+ save_ifs="$IFS"; IFS=','
+ for flag in $arg; do
+ IFS="$save_ifs"
+ linker_opts="$linker_opts $flag"
+ done
+ IFS="$save_ifs"
+ ;;
+ -Xlinker)
+ eat=1
+ linker_opts="$linker_opts $2"
+ ;;
+ -*)
+ set x "$@" "$1"
+ shift
+ ;;
+ *.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
+ func_file_conv "$1"
+ set x "$@" -Tp"$file"
+ shift
+ ;;
+ *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
+ func_file_conv "$1" mingw
+ set x "$@" "$file"
+ shift
+ ;;
+ *)
+ set x "$@" "$1"
+ shift
+ ;;
+ esac
+ fi
+ shift
+ done
+ if test -n "$linker_opts"; then
+ linker_opts="-link$linker_opts"
+ fi
+ exec "$@" $linker_opts
+ exit 1
+}
+
+eat=
+
+case $1 in
+ '')
+ echo "$0: No command. Try '$0 --help' for more information." 1>&2
+ exit 1;
+ ;;
+ -h | --h*)
+ cat <<\EOF
+Usage: compile [--help] [--version] PROGRAM [ARGS]
+
+Wrapper for compilers which do not understand '-c -o'.
+Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
+arguments, and rename the output as expected.
+
+If you are trying to build a whole package this is not the
+right script to run: please start by reading the file 'INSTALL'.
+
+Report bugs to <bug-automake@gnu.org>.
+EOF
+ exit $?
+ ;;
+ -v | --v*)
+ echo "compile $scriptversion"
+ exit $?
+ ;;
+ cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
+ func_cl_wrapper "$@" # Doesn't return...
+ ;;
+esac
+
+ofile=
+cfile=
+
+for arg
+do
+ if test -n "$eat"; then
+ eat=
+ else
+ case $1 in
+ -o)
+ # configure might choose to run compile as 'compile cc -o foo foo.c'.
+ # So we strip '-o arg' only if arg is an object.
+ eat=1
+ case $2 in
+ *.o | *.obj)
+ ofile=$2
+ ;;
+ *)
+ set x "$@" -o "$2"
+ shift
+ ;;
+ esac
+ ;;
+ *.c)
+ cfile=$1
+ set x "$@" "$1"
+ shift
+ ;;
+ *)
+ set x "$@" "$1"
+ shift
+ ;;
+ esac
+ fi
+ shift
+done
+
+if test -z "$ofile" || test -z "$cfile"; then
+ # If no '-o' option was seen then we might have been invoked from a
+ # pattern rule where we don't need one. That is ok -- this is a
+ # normal compilation that the losing compiler can handle. If no
+ # '.c' file was seen then we are probably linking. That is also
+ # ok.
+ exec "$@"
+fi
+
+# Name of file we expect compiler to create.
+cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
+
+# Create the lock directory.
+# Note: use '[/\\:.-]' here to ensure that we don't use the same name
+# that we are using for the .o file. Also, base the name on the expected
+# object file name, since that is what matters with a parallel build.
+lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
+while true; do
+ if mkdir "$lockdir" >/dev/null 2>&1; then
+ break
+ fi
+ sleep 1
+done
+# FIXME: race condition here if user kills between mkdir and trap.
+trap "rmdir '$lockdir'; exit 1" 1 2 15
+
+# Run the compile.
+"$@"
+ret=$?
+
+if test -f "$cofile"; then
+ test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
+elif test -f "${cofile}bj"; then
+ test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
+fi
+
+rmdir "$lockdir"
+exit $ret
+
+# Local Variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
diff --git a/biblio/bibtex/utils/mkbib/build-aux/depcomp b/biblio/bibtex/utils/mkbib/build-aux/depcomp
new file mode 100755
index 0000000000..debb6ffa3e
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/build-aux/depcomp
@@ -0,0 +1,707 @@
+#! /bin/sh
+# depcomp - compile a program generating dependencies as side-effects
+
+scriptversion=2012-03-27.16; # UTC
+
+# Copyright (C) 1999-2012 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
+
+case $1 in
+ '')
+ echo "$0: No command. Try '$0 --help' for more information." 1>&2
+ exit 1;
+ ;;
+ -h | --h*)
+ cat <<\EOF
+Usage: depcomp [--help] [--version] PROGRAM [ARGS]
+
+Run PROGRAMS ARGS to compile a file, generating dependencies
+as side-effects.
+
+Environment variables:
+ depmode Dependency tracking mode.
+ source Source file read by 'PROGRAMS ARGS'.
+ object Object file output by 'PROGRAMS ARGS'.
+ DEPDIR directory where to store dependencies.
+ depfile Dependency file to output.
+ tmpdepfile Temporary file to use when outputting dependencies.
+ libtool Whether libtool is used (yes/no).
+
+Report bugs to <bug-automake@gnu.org>.
+EOF
+ exit $?
+ ;;
+ -v | --v*)
+ echo "depcomp $scriptversion"
+ exit $?
+ ;;
+esac
+
+# A tabulation character.
+tab=' '
+# A newline character.
+nl='
+'
+
+if test -z "$depmode" || test -z "$source" || test -z "$object"; then
+ echo "depcomp: Variables source, object and depmode must be set" 1>&2
+ exit 1
+fi
+
+# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
+depfile=${depfile-`echo "$object" |
+ sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
+tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
+
+rm -f "$tmpdepfile"
+
+# Some modes work just like other modes, but use different flags. We
+# parameterize here, but still list the modes in the big case below,
+# to make depend.m4 easier to write. Note that we *cannot* use a case
+# here, because this file can only contain one case statement.
+if test "$depmode" = hp; then
+ # HP compiler uses -M and no extra arg.
+ gccflag=-M
+ depmode=gcc
+fi
+
+if test "$depmode" = dashXmstdout; then
+ # This is just like dashmstdout with a different argument.
+ dashmflag=-xM
+ depmode=dashmstdout
+fi
+
+cygpath_u="cygpath -u -f -"
+if test "$depmode" = msvcmsys; then
+ # This is just like msvisualcpp but w/o cygpath translation.
+ # Just convert the backslash-escaped backslashes to single forward
+ # slashes to satisfy depend.m4
+ cygpath_u='sed s,\\\\,/,g'
+ depmode=msvisualcpp
+fi
+
+if test "$depmode" = msvc7msys; then
+ # This is just like msvc7 but w/o cygpath translation.
+ # Just convert the backslash-escaped backslashes to single forward
+ # slashes to satisfy depend.m4
+ cygpath_u='sed s,\\\\,/,g'
+ depmode=msvc7
+fi
+
+if test "$depmode" = xlc; then
+ # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency informations.
+ gccflag=-qmakedep=gcc,-MF
+ depmode=gcc
+fi
+
+case "$depmode" in
+gcc3)
+## gcc 3 implements dependency tracking that does exactly what
+## we want. Yay! Note: for some reason libtool 1.4 doesn't like
+## it if -MD -MP comes after the -MF stuff. Hmm.
+## Unfortunately, FreeBSD c89 acceptance of flags depends upon
+## the command line argument order; so add the flags where they
+## appear in depend2.am. Note that the slowdown incurred here
+## affects only configure: in makefiles, %FASTDEP% shortcuts this.
+ for arg
+ do
+ case $arg in
+ -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
+ *) set fnord "$@" "$arg" ;;
+ esac
+ shift # fnord
+ shift # $arg
+ done
+ "$@"
+ stat=$?
+ if test $stat -eq 0; then :
+ else
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ mv "$tmpdepfile" "$depfile"
+ ;;
+
+gcc)
+## There are various ways to get dependency output from gcc. Here's
+## why we pick this rather obscure method:
+## - Don't want to use -MD because we'd like the dependencies to end
+## up in a subdir. Having to rename by hand is ugly.
+## (We might end up doing this anyway to support other compilers.)
+## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
+## -MM, not -M (despite what the docs say).
+## - Using -M directly means running the compiler twice (even worse
+## than renaming).
+ if test -z "$gccflag"; then
+ gccflag=-MD,
+ fi
+ "$@" -Wp,"$gccflag$tmpdepfile"
+ stat=$?
+ if test $stat -eq 0; then :
+ else
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ rm -f "$depfile"
+ echo "$object : \\" > "$depfile"
+ alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
+## The second -e expression handles DOS-style file names with drive letters.
+ sed -e 's/^[^:]*: / /' \
+ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
+## This next piece of magic avoids the "deleted header file" problem.
+## The problem is that when a header file which appears in a .P file
+## is deleted, the dependency causes make to die (because there is
+## typically no way to rebuild the header). We avoid this by adding
+## dummy dependencies for each header file. Too bad gcc doesn't do
+## this for us directly.
+ tr ' ' "$nl" < "$tmpdepfile" |
+## Some versions of gcc put a space before the ':'. On the theory
+## that the space means something, we add a space to the output as
+## well. hp depmode also adds that space, but also prefixes the VPATH
+## to the object. Take care to not repeat it in the output.
+## Some versions of the HPUX 10.20 sed can't process this invocation
+## correctly. Breaking it into two sed invocations is a workaround.
+ sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
+ | sed -e 's/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+hp)
+ # This case exists only to let depend.m4 do its work. It works by
+ # looking at the text of this script. This case will never be run,
+ # since it is checked for above.
+ exit 1
+ ;;
+
+sgi)
+ if test "$libtool" = yes; then
+ "$@" "-Wp,-MDupdate,$tmpdepfile"
+ else
+ "$@" -MDupdate "$tmpdepfile"
+ fi
+ stat=$?
+ if test $stat -eq 0; then :
+ else
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ rm -f "$depfile"
+
+ if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
+ echo "$object : \\" > "$depfile"
+
+ # Clip off the initial element (the dependent). Don't try to be
+ # clever and replace this with sed code, as IRIX sed won't handle
+ # lines with more than a fixed number of characters (4096 in
+ # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
+ # the IRIX cc adds comments like '#:fec' to the end of the
+ # dependency line.
+ tr ' ' "$nl" < "$tmpdepfile" \
+ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
+ tr "$nl" ' ' >> "$depfile"
+ echo >> "$depfile"
+
+ # The second pass generates a dummy entry for each header file.
+ tr ' ' "$nl" < "$tmpdepfile" \
+ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
+ >> "$depfile"
+ else
+ # The sourcefile does not contain any dependencies, so just
+ # store a dummy comment line, to avoid errors with the Makefile
+ # "include basename.Plo" scheme.
+ echo "#dummy" > "$depfile"
+ fi
+ rm -f "$tmpdepfile"
+ ;;
+
+xlc)
+ # This case exists only to let depend.m4 do its work. It works by
+ # looking at the text of this script. This case will never be run,
+ # since it is checked for above.
+ exit 1
+ ;;
+
+aix)
+ # The C for AIX Compiler uses -M and outputs the dependencies
+ # in a .u file. In older versions, this file always lives in the
+ # current directory. Also, the AIX compiler puts '$object:' at the
+ # start of each line; $object doesn't have directory information.
+ # Version 6 uses the directory in both cases.
+ dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
+ test "x$dir" = "x$object" && dir=
+ base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
+ if test "$libtool" = yes; then
+ tmpdepfile1=$dir$base.u
+ tmpdepfile2=$base.u
+ tmpdepfile3=$dir.libs/$base.u
+ "$@" -Wc,-M
+ else
+ tmpdepfile1=$dir$base.u
+ tmpdepfile2=$dir$base.u
+ tmpdepfile3=$dir$base.u
+ "$@" -M
+ fi
+ stat=$?
+
+ if test $stat -eq 0; then :
+ else
+ rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
+ exit $stat
+ fi
+
+ for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
+ do
+ test -f "$tmpdepfile" && break
+ done
+ if test -f "$tmpdepfile"; then
+ # Each line is of the form 'foo.o: dependent.h'.
+ # Do two passes, one to just change these to
+ # '$object: dependent.h' and one to simply 'dependent.h:'.
+ sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
+ sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
+ else
+ # The sourcefile does not contain any dependencies, so just
+ # store a dummy comment line, to avoid errors with the Makefile
+ # "include basename.Plo" scheme.
+ echo "#dummy" > "$depfile"
+ fi
+ rm -f "$tmpdepfile"
+ ;;
+
+icc)
+ # Intel's C compiler anf tcc (Tiny C Compiler) understand '-MD -MF file'.
+ # However on
+ # $CC -MD -MF foo.d -c -o sub/foo.o sub/foo.c
+ # ICC 7.0 will fill foo.d with something like
+ # foo.o: sub/foo.c
+ # foo.o: sub/foo.h
+ # which is wrong. We want
+ # sub/foo.o: sub/foo.c
+ # sub/foo.o: sub/foo.h
+ # sub/foo.c:
+ # sub/foo.h:
+ # ICC 7.1 will output
+ # foo.o: sub/foo.c sub/foo.h
+ # and will wrap long lines using '\':
+ # foo.o: sub/foo.c ... \
+ # sub/foo.h ... \
+ # ...
+ # tcc 0.9.26 (FIXME still under development at the moment of writing)
+ # will emit a similar output, but also prepend the continuation lines
+ # with horizontal tabulation characters.
+ "$@" -MD -MF "$tmpdepfile"
+ stat=$?
+ if test $stat -eq 0; then :
+ else
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ rm -f "$depfile"
+ # Each line is of the form 'foo.o: dependent.h',
+ # or 'foo.o: dep1.h dep2.h \', or ' dep3.h dep4.h \'.
+ # Do two passes, one to just change these to
+ # '$object: dependent.h' and one to simply 'dependent.h:'.
+ sed -e "s/^[ $tab][ $tab]*/ /" -e "s,^[^:]*:,$object :," \
+ < "$tmpdepfile" > "$depfile"
+ sed '
+ s/[ '"$tab"'][ '"$tab"']*/ /g
+ s/^ *//
+ s/ *\\*$//
+ s/^[^:]*: *//
+ /^$/d
+ /:$/d
+ s/$/ :/
+ ' < "$tmpdepfile" >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+hp2)
+ # The "hp" stanza above does not work with aCC (C++) and HP's ia64
+ # compilers, which have integrated preprocessors. The correct option
+ # to use with these is +Maked; it writes dependencies to a file named
+ # 'foo.d', which lands next to the object file, wherever that
+ # happens to be.
+ # Much of this is similar to the tru64 case; see comments there.
+ dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
+ test "x$dir" = "x$object" && dir=
+ base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
+ if test "$libtool" = yes; then
+ tmpdepfile1=$dir$base.d
+ tmpdepfile2=$dir.libs/$base.d
+ "$@" -Wc,+Maked
+ else
+ tmpdepfile1=$dir$base.d
+ tmpdepfile2=$dir$base.d
+ "$@" +Maked
+ fi
+ stat=$?
+ if test $stat -eq 0; then :
+ else
+ rm -f "$tmpdepfile1" "$tmpdepfile2"
+ exit $stat
+ fi
+
+ for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
+ do
+ test -f "$tmpdepfile" && break
+ done
+ if test -f "$tmpdepfile"; then
+ sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
+ # Add 'dependent.h:' lines.
+ sed -ne '2,${
+ s/^ *//
+ s/ \\*$//
+ s/$/:/
+ p
+ }' "$tmpdepfile" >> "$depfile"
+ else
+ echo "#dummy" > "$depfile"
+ fi
+ rm -f "$tmpdepfile" "$tmpdepfile2"
+ ;;
+
+tru64)
+ # The Tru64 compiler uses -MD to generate dependencies as a side
+ # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'.
+ # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
+ # dependencies in 'foo.d' instead, so we check for that too.
+ # Subdirectories are respected.
+ dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
+ test "x$dir" = "x$object" && dir=
+ base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
+
+ if test "$libtool" = yes; then
+ # With Tru64 cc, shared objects can also be used to make a
+ # static library. This mechanism is used in libtool 1.4 series to
+ # handle both shared and static libraries in a single compilation.
+ # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
+ #
+ # With libtool 1.5 this exception was removed, and libtool now
+ # generates 2 separate objects for the 2 libraries. These two
+ # compilations output dependencies in $dir.libs/$base.o.d and
+ # in $dir$base.o.d. We have to check for both files, because
+ # one of the two compilations can be disabled. We should prefer
+ # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
+ # automatically cleaned when .libs/ is deleted, while ignoring
+ # the former would cause a distcleancheck panic.
+ tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4
+ tmpdepfile2=$dir$base.o.d # libtool 1.5
+ tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5
+ tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504
+ "$@" -Wc,-MD
+ else
+ tmpdepfile1=$dir$base.o.d
+ tmpdepfile2=$dir$base.d
+ tmpdepfile3=$dir$base.d
+ tmpdepfile4=$dir$base.d
+ "$@" -MD
+ fi
+
+ stat=$?
+ if test $stat -eq 0; then :
+ else
+ rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
+ exit $stat
+ fi
+
+ for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
+ do
+ test -f "$tmpdepfile" && break
+ done
+ if test -f "$tmpdepfile"; then
+ sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
+ sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
+ else
+ echo "#dummy" > "$depfile"
+ fi
+ rm -f "$tmpdepfile"
+ ;;
+
+msvc7)
+ if test "$libtool" = yes; then
+ showIncludes=-Wc,-showIncludes
+ else
+ showIncludes=-showIncludes
+ fi
+ "$@" $showIncludes > "$tmpdepfile"
+ stat=$?
+ grep -v '^Note: including file: ' "$tmpdepfile"
+ if test "$stat" = 0; then :
+ else
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ rm -f "$depfile"
+ echo "$object : \\" > "$depfile"
+ # The first sed program below extracts the file names and escapes
+ # backslashes for cygpath. The second sed program outputs the file
+ # name when reading, but also accumulates all include files in the
+ # hold buffer in order to output them again at the end. This only
+ # works with sed implementations that can handle large buffers.
+ sed < "$tmpdepfile" -n '
+/^Note: including file: *\(.*\)/ {
+ s//\1/
+ s/\\/\\\\/g
+ p
+}' | $cygpath_u | sort -u | sed -n '
+s/ /\\ /g
+s/\(.*\)/'"$tab"'\1 \\/p
+s/.\(.*\) \\/\1:/
+H
+$ {
+ s/.*/'"$tab"'/
+ G
+ p
+}' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+msvc7msys)
+ # This case exists only to let depend.m4 do its work. It works by
+ # looking at the text of this script. This case will never be run,
+ # since it is checked for above.
+ exit 1
+ ;;
+
+#nosideeffect)
+ # This comment above is used by automake to tell side-effect
+ # dependency tracking mechanisms from slower ones.
+
+dashmstdout)
+ # Important note: in order to support this mode, a compiler *must*
+ # always write the preprocessed file to stdout, regardless of -o.
+ "$@" || exit $?
+
+ # Remove the call to Libtool.
+ if test "$libtool" = yes; then
+ while test "X$1" != 'X--mode=compile'; do
+ shift
+ done
+ shift
+ fi
+
+ # Remove '-o $object'.
+ IFS=" "
+ for arg
+ do
+ case $arg in
+ -o)
+ shift
+ ;;
+ $object)
+ shift
+ ;;
+ *)
+ set fnord "$@" "$arg"
+ shift # fnord
+ shift # $arg
+ ;;
+ esac
+ done
+
+ test -z "$dashmflag" && dashmflag=-M
+ # Require at least two characters before searching for ':'
+ # in the target name. This is to cope with DOS-style filenames:
+ # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise.
+ "$@" $dashmflag |
+ sed 's:^['"$tab"' ]*[^:'"$tab"' ][^:][^:]*\:['"$tab"' ]*:'"$object"'\: :' > "$tmpdepfile"
+ rm -f "$depfile"
+ cat < "$tmpdepfile" > "$depfile"
+ tr ' ' "$nl" < "$tmpdepfile" | \
+## Some versions of the HPUX 10.20 sed can't process this invocation
+## correctly. Breaking it into two sed invocations is a workaround.
+ sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+dashXmstdout)
+ # This case only exists to satisfy depend.m4. It is never actually
+ # run, as this mode is specially recognized in the preamble.
+ exit 1
+ ;;
+
+makedepend)
+ "$@" || exit $?
+ # Remove any Libtool call
+ if test "$libtool" = yes; then
+ while test "X$1" != 'X--mode=compile'; do
+ shift
+ done
+ shift
+ fi
+ # X makedepend
+ shift
+ cleared=no eat=no
+ for arg
+ do
+ case $cleared in
+ no)
+ set ""; shift
+ cleared=yes ;;
+ esac
+ if test $eat = yes; then
+ eat=no
+ continue
+ fi
+ case "$arg" in
+ -D*|-I*)
+ set fnord "$@" "$arg"; shift ;;
+ # Strip any option that makedepend may not understand. Remove
+ # the object too, otherwise makedepend will parse it as a source file.
+ -arch)
+ eat=yes ;;
+ -*|$object)
+ ;;
+ *)
+ set fnord "$@" "$arg"; shift ;;
+ esac
+ done
+ obj_suffix=`echo "$object" | sed 's/^.*\././'`
+ touch "$tmpdepfile"
+ ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
+ rm -f "$depfile"
+ # makedepend may prepend the VPATH from the source file name to the object.
+ # No need to regex-escape $object, excess matching of '.' is harmless.
+ sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
+ sed '1,2d' "$tmpdepfile" | tr ' ' "$nl" | \
+## Some versions of the HPUX 10.20 sed can't process this invocation
+## correctly. Breaking it into two sed invocations is a workaround.
+ sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile" "$tmpdepfile".bak
+ ;;
+
+cpp)
+ # Important note: in order to support this mode, a compiler *must*
+ # always write the preprocessed file to stdout.
+ "$@" || exit $?
+
+ # Remove the call to Libtool.
+ if test "$libtool" = yes; then
+ while test "X$1" != 'X--mode=compile'; do
+ shift
+ done
+ shift
+ fi
+
+ # Remove '-o $object'.
+ IFS=" "
+ for arg
+ do
+ case $arg in
+ -o)
+ shift
+ ;;
+ $object)
+ shift
+ ;;
+ *)
+ set fnord "$@" "$arg"
+ shift # fnord
+ shift # $arg
+ ;;
+ esac
+ done
+
+ "$@" -E |
+ sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
+ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
+ sed '$ s: \\$::' > "$tmpdepfile"
+ rm -f "$depfile"
+ echo "$object : \\" > "$depfile"
+ cat < "$tmpdepfile" >> "$depfile"
+ sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+msvisualcpp)
+ # Important note: in order to support this mode, a compiler *must*
+ # always write the preprocessed file to stdout.
+ "$@" || exit $?
+
+ # Remove the call to Libtool.
+ if test "$libtool" = yes; then
+ while test "X$1" != 'X--mode=compile'; do
+ shift
+ done
+ shift
+ fi
+
+ IFS=" "
+ for arg
+ do
+ case "$arg" in
+ -o)
+ shift
+ ;;
+ $object)
+ shift
+ ;;
+ "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
+ set fnord "$@"
+ shift
+ shift
+ ;;
+ *)
+ set fnord "$@" "$arg"
+ shift
+ shift
+ ;;
+ esac
+ done
+ "$@" -E 2>/dev/null |
+ sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
+ rm -f "$depfile"
+ echo "$object : \\" > "$depfile"
+ sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile"
+ echo "$tab" >> "$depfile"
+ sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+msvcmsys)
+ # This case exists only to let depend.m4 do its work. It works by
+ # looking at the text of this script. This case will never be run,
+ # since it is checked for above.
+ exit 1
+ ;;
+
+none)
+ exec "$@"
+ ;;
+
+*)
+ echo "Unknown depmode $depmode" 1>&2
+ exit 1
+ ;;
+esac
+
+exit 0
+
+# Local Variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
diff --git a/biblio/bibtex/utils/mkbib/build-aux/install-sh b/biblio/bibtex/utils/mkbib/build-aux/install-sh
new file mode 100755
index 0000000000..377bb8687f
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/build-aux/install-sh
@@ -0,0 +1,527 @@
+#!/bin/sh
+# install - install a program, script, or datafile
+
+scriptversion=2011-11-20.07; # UTC
+
+# This originates from X11R5 (mit/util/scripts/install.sh), which was
+# later released in X11R6 (xc/config/util/install.sh) with the
+# following copyright and license.
+#
+# Copyright (C) 1994 X Consortium
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to
+# deal in the Software without restriction, including without limitation the
+# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+# sell copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in
+# all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
+# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+#
+# Except as contained in this notice, the name of the X Consortium shall not
+# be used in advertising or otherwise to promote the sale, use or other deal-
+# ings in this Software without prior written authorization from the X Consor-
+# tium.
+#
+#
+# FSF changes to this file are in the public domain.
+#
+# Calling this script install-sh is preferred over install.sh, to prevent
+# 'make' implicit rules from creating a file called install from it
+# when there is no Makefile.
+#
+# This script is compatible with the BSD install script, but was written
+# from scratch.
+
+nl='
+'
+IFS=" "" $nl"
+
+# set DOITPROG to echo to test this script
+
+# Don't use :- since 4.3BSD and earlier shells don't like it.
+doit=${DOITPROG-}
+if test -z "$doit"; then
+ doit_exec=exec
+else
+ doit_exec=$doit
+fi
+
+# Put in absolute file names if you don't have them in your path;
+# or use environment vars.
+
+chgrpprog=${CHGRPPROG-chgrp}
+chmodprog=${CHMODPROG-chmod}
+chownprog=${CHOWNPROG-chown}
+cmpprog=${CMPPROG-cmp}
+cpprog=${CPPROG-cp}
+mkdirprog=${MKDIRPROG-mkdir}
+mvprog=${MVPROG-mv}
+rmprog=${RMPROG-rm}
+stripprog=${STRIPPROG-strip}
+
+posix_glob='?'
+initialize_posix_glob='
+ test "$posix_glob" != "?" || {
+ if (set -f) 2>/dev/null; then
+ posix_glob=
+ else
+ posix_glob=:
+ fi
+ }
+'
+
+posix_mkdir=
+
+# Desired mode of installed file.
+mode=0755
+
+chgrpcmd=
+chmodcmd=$chmodprog
+chowncmd=
+mvcmd=$mvprog
+rmcmd="$rmprog -f"
+stripcmd=
+
+src=
+dst=
+dir_arg=
+dst_arg=
+
+copy_on_change=false
+no_target_directory=
+
+usage="\
+Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
+ or: $0 [OPTION]... SRCFILES... DIRECTORY
+ or: $0 [OPTION]... -t DIRECTORY SRCFILES...
+ or: $0 [OPTION]... -d DIRECTORIES...
+
+In the 1st form, copy SRCFILE to DSTFILE.
+In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
+In the 4th, create DIRECTORIES.
+
+Options:
+ --help display this help and exit.
+ --version display version info and exit.
+
+ -c (ignored)
+ -C install only if different (preserve the last data modification time)
+ -d create directories instead of installing files.
+ -g GROUP $chgrpprog installed files to GROUP.
+ -m MODE $chmodprog installed files to MODE.
+ -o USER $chownprog installed files to USER.
+ -s $stripprog installed files.
+ -t DIRECTORY install into DIRECTORY.
+ -T report an error if DSTFILE is a directory.
+
+Environment variables override the default commands:
+ CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
+ RMPROG STRIPPROG
+"
+
+while test $# -ne 0; do
+ case $1 in
+ -c) ;;
+
+ -C) copy_on_change=true;;
+
+ -d) dir_arg=true;;
+
+ -g) chgrpcmd="$chgrpprog $2"
+ shift;;
+
+ --help) echo "$usage"; exit $?;;
+
+ -m) mode=$2
+ case $mode in
+ *' '* | *' '* | *'
+'* | *'*'* | *'?'* | *'['*)
+ echo "$0: invalid mode: $mode" >&2
+ exit 1;;
+ esac
+ shift;;
+
+ -o) chowncmd="$chownprog $2"
+ shift;;
+
+ -s) stripcmd=$stripprog;;
+
+ -t) dst_arg=$2
+ # Protect names problematic for 'test' and other utilities.
+ case $dst_arg in
+ -* | [=\(\)!]) dst_arg=./$dst_arg;;
+ esac
+ shift;;
+
+ -T) no_target_directory=true;;
+
+ --version) echo "$0 $scriptversion"; exit $?;;
+
+ --) shift
+ break;;
+
+ -*) echo "$0: invalid option: $1" >&2
+ exit 1;;
+
+ *) break;;
+ esac
+ shift
+done
+
+if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
+ # When -d is used, all remaining arguments are directories to create.
+ # When -t is used, the destination is already specified.
+ # Otherwise, the last argument is the destination. Remove it from $@.
+ for arg
+ do
+ if test -n "$dst_arg"; then
+ # $@ is not empty: it contains at least $arg.
+ set fnord "$@" "$dst_arg"
+ shift # fnord
+ fi
+ shift # arg
+ dst_arg=$arg
+ # Protect names problematic for 'test' and other utilities.
+ case $dst_arg in
+ -* | [=\(\)!]) dst_arg=./$dst_arg;;
+ esac
+ done
+fi
+
+if test $# -eq 0; then
+ if test -z "$dir_arg"; then
+ echo "$0: no input file specified." >&2
+ exit 1
+ fi
+ # It's OK to call 'install-sh -d' without argument.
+ # This can happen when creating conditional directories.
+ exit 0
+fi
+
+if test -z "$dir_arg"; then
+ do_exit='(exit $ret); exit $ret'
+ trap "ret=129; $do_exit" 1
+ trap "ret=130; $do_exit" 2
+ trap "ret=141; $do_exit" 13
+ trap "ret=143; $do_exit" 15
+
+ # Set umask so as not to create temps with too-generous modes.
+ # However, 'strip' requires both read and write access to temps.
+ case $mode in
+ # Optimize common cases.
+ *644) cp_umask=133;;
+ *755) cp_umask=22;;
+
+ *[0-7])
+ if test -z "$stripcmd"; then
+ u_plus_rw=
+ else
+ u_plus_rw='% 200'
+ fi
+ cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
+ *)
+ if test -z "$stripcmd"; then
+ u_plus_rw=
+ else
+ u_plus_rw=,u+rw
+ fi
+ cp_umask=$mode$u_plus_rw;;
+ esac
+fi
+
+for src
+do
+ # Protect names problematic for 'test' and other utilities.
+ case $src in
+ -* | [=\(\)!]) src=./$src;;
+ esac
+
+ if test -n "$dir_arg"; then
+ dst=$src
+ dstdir=$dst
+ test -d "$dstdir"
+ dstdir_status=$?
+ else
+
+ # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
+ # might cause directories to be created, which would be especially bad
+ # if $src (and thus $dsttmp) contains '*'.
+ if test ! -f "$src" && test ! -d "$src"; then
+ echo "$0: $src does not exist." >&2
+ exit 1
+ fi
+
+ if test -z "$dst_arg"; then
+ echo "$0: no destination specified." >&2
+ exit 1
+ fi
+ dst=$dst_arg
+
+ # If destination is a directory, append the input filename; won't work
+ # if double slashes aren't ignored.
+ if test -d "$dst"; then
+ if test -n "$no_target_directory"; then
+ echo "$0: $dst_arg: Is a directory" >&2
+ exit 1
+ fi
+ dstdir=$dst
+ dst=$dstdir/`basename "$src"`
+ dstdir_status=0
+ else
+ # Prefer dirname, but fall back on a substitute if dirname fails.
+ dstdir=`
+ (dirname "$dst") 2>/dev/null ||
+ expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$dst" : 'X\(//\)[^/]' \| \
+ X"$dst" : 'X\(//\)$' \| \
+ X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
+ echo X"$dst" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'
+ `
+
+ test -d "$dstdir"
+ dstdir_status=$?
+ fi
+ fi
+
+ obsolete_mkdir_used=false
+
+ if test $dstdir_status != 0; then
+ case $posix_mkdir in
+ '')
+ # Create intermediate dirs using mode 755 as modified by the umask.
+ # This is like FreeBSD 'install' as of 1997-10-28.
+ umask=`umask`
+ case $stripcmd.$umask in
+ # Optimize common cases.
+ *[2367][2367]) mkdir_umask=$umask;;
+ .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
+
+ *[0-7])
+ mkdir_umask=`expr $umask + 22 \
+ - $umask % 100 % 40 + $umask % 20 \
+ - $umask % 10 % 4 + $umask % 2
+ `;;
+ *) mkdir_umask=$umask,go-w;;
+ esac
+
+ # With -d, create the new directory with the user-specified mode.
+ # Otherwise, rely on $mkdir_umask.
+ if test -n "$dir_arg"; then
+ mkdir_mode=-m$mode
+ else
+ mkdir_mode=
+ fi
+
+ posix_mkdir=false
+ case $umask in
+ *[123567][0-7][0-7])
+ # POSIX mkdir -p sets u+wx bits regardless of umask, which
+ # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
+ ;;
+ *)
+ tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
+ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
+
+ if (umask $mkdir_umask &&
+ exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
+ then
+ if test -z "$dir_arg" || {
+ # Check for POSIX incompatibilities with -m.
+ # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
+ # other-writable bit of parent directory when it shouldn't.
+ # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
+ ls_ld_tmpdir=`ls -ld "$tmpdir"`
+ case $ls_ld_tmpdir in
+ d????-?r-*) different_mode=700;;
+ d????-?--*) different_mode=755;;
+ *) false;;
+ esac &&
+ $mkdirprog -m$different_mode -p -- "$tmpdir" && {
+ ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
+ test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
+ }
+ }
+ then posix_mkdir=:
+ fi
+ rmdir "$tmpdir/d" "$tmpdir"
+ else
+ # Remove any dirs left behind by ancient mkdir implementations.
+ rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
+ fi
+ trap '' 0;;
+ esac;;
+ esac
+
+ if
+ $posix_mkdir && (
+ umask $mkdir_umask &&
+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
+ )
+ then :
+ else
+
+ # The umask is ridiculous, or mkdir does not conform to POSIX,
+ # or it failed possibly due to a race condition. Create the
+ # directory the slow way, step by step, checking for races as we go.
+
+ case $dstdir in
+ /*) prefix='/';;
+ [-=\(\)!]*) prefix='./';;
+ *) prefix='';;
+ esac
+
+ eval "$initialize_posix_glob"
+
+ oIFS=$IFS
+ IFS=/
+ $posix_glob set -f
+ set fnord $dstdir
+ shift
+ $posix_glob set +f
+ IFS=$oIFS
+
+ prefixes=
+
+ for d
+ do
+ test X"$d" = X && continue
+
+ prefix=$prefix$d
+ if test -d "$prefix"; then
+ prefixes=
+ else
+ if $posix_mkdir; then
+ (umask=$mkdir_umask &&
+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
+ # Don't fail if two instances are running concurrently.
+ test -d "$prefix" || exit 1
+ else
+ case $prefix in
+ *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
+ *) qprefix=$prefix;;
+ esac
+ prefixes="$prefixes '$qprefix'"
+ fi
+ fi
+ prefix=$prefix/
+ done
+
+ if test -n "$prefixes"; then
+ # Don't fail if two instances are running concurrently.
+ (umask $mkdir_umask &&
+ eval "\$doit_exec \$mkdirprog $prefixes") ||
+ test -d "$dstdir" || exit 1
+ obsolete_mkdir_used=true
+ fi
+ fi
+ fi
+
+ if test -n "$dir_arg"; then
+ { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
+ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
+ { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
+ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
+ else
+
+ # Make a couple of temp file names in the proper directory.
+ dsttmp=$dstdir/_inst.$$_
+ rmtmp=$dstdir/_rm.$$_
+
+ # Trap to clean up those temp files at exit.
+ trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
+
+ # Copy the file name to the temp name.
+ (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
+
+ # and set any options; do chmod last to preserve setuid bits.
+ #
+ # If any of these fail, we abort the whole thing. If we want to
+ # ignore errors from any of these, just make sure not to ignore
+ # errors from the above "$doit $cpprog $src $dsttmp" command.
+ #
+ { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
+ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
+ { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
+ { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
+
+ # If -C, don't bother to copy if it wouldn't change the file.
+ if $copy_on_change &&
+ old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
+ new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
+
+ eval "$initialize_posix_glob" &&
+ $posix_glob set -f &&
+ set X $old && old=:$2:$4:$5:$6 &&
+ set X $new && new=:$2:$4:$5:$6 &&
+ $posix_glob set +f &&
+
+ test "$old" = "$new" &&
+ $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
+ then
+ rm -f "$dsttmp"
+ else
+ # Rename the file to the real destination.
+ $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
+
+ # The rename failed, perhaps because mv can't rename something else
+ # to itself, or perhaps because mv is so ancient that it does not
+ # support -f.
+ {
+ # Now remove or move aside any old file at destination location.
+ # We try this two ways since rm can't unlink itself on some
+ # systems and the destination file might be busy for other
+ # reasons. In this case, the final cleanup might fail but the new
+ # file should still install successfully.
+ {
+ test ! -f "$dst" ||
+ $doit $rmcmd -f "$dst" 2>/dev/null ||
+ { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
+ { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
+ } ||
+ { echo "$0: cannot unlink or rename $dst" >&2
+ (exit 1); exit 1
+ }
+ } &&
+
+ # Now rename the file to the real destination.
+ $doit $mvcmd "$dsttmp" "$dst"
+ }
+ fi || exit 1
+
+ trap '' 0
+ fi
+done
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
diff --git a/biblio/bibtex/utils/mkbib/build-aux/missing b/biblio/bibtex/utils/mkbib/build-aux/missing
new file mode 100755
index 0000000000..9a5564823d
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/build-aux/missing
@@ -0,0 +1,330 @@
+#! /bin/sh
+# Common stub for a few missing GNU programs while installing.
+
+scriptversion=2012-01-06.18; # UTC
+
+# Copyright (C) 1996-2012 Free Software Foundation, Inc.
+# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+if test $# -eq 0; then
+ echo 1>&2 "Try '$0 --help' for more information"
+ exit 1
+fi
+
+run=:
+sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
+sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
+
+# In the cases where this matters, 'missing' is being run in the
+# srcdir already.
+if test -f configure.ac; then
+ configure_ac=configure.ac
+else
+ configure_ac=configure.in
+fi
+
+msg="missing on your system"
+
+case $1 in
+--run)
+ # Try to run requested program, and just exit if it succeeds.
+ run=
+ shift
+ "$@" && exit 0
+ # Exit code 63 means version mismatch. This often happens
+ # when the user try to use an ancient version of a tool on
+ # a file that requires a minimum version. In this case we
+ # we should proceed has if the program had been absent, or
+ # if --run hadn't been passed.
+ if test $? = 63; then
+ run=:
+ msg="probably too old"
+ fi
+ ;;
+
+ -h|--h|--he|--hel|--help)
+ echo "\
+$0 [OPTION]... PROGRAM [ARGUMENT]...
+
+Handle 'PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
+error status if there is no known handling for PROGRAM.
+
+Options:
+ -h, --help display this help and exit
+ -v, --version output version information and exit
+ --run try to run the given command, and emulate it if it fails
+
+Supported PROGRAM values:
+ aclocal touch file 'aclocal.m4'
+ autoconf touch file 'configure'
+ autoheader touch file 'config.h.in'
+ autom4te touch the output file, or create a stub one
+ automake touch all 'Makefile.in' files
+ bison create 'y.tab.[ch]', if possible, from existing .[ch]
+ flex create 'lex.yy.c', if possible, from existing .c
+ help2man touch the output file
+ lex create 'lex.yy.c', if possible, from existing .c
+ makeinfo touch the output file
+ yacc create 'y.tab.[ch]', if possible, from existing .[ch]
+
+Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
+'g' are ignored when checking the name.
+
+Send bug reports to <bug-automake@gnu.org>."
+ exit $?
+ ;;
+
+ -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
+ echo "missing $scriptversion (GNU Automake)"
+ exit $?
+ ;;
+
+ -*)
+ echo 1>&2 "$0: Unknown '$1' option"
+ echo 1>&2 "Try '$0 --help' for more information"
+ exit 1
+ ;;
+
+esac
+
+# normalize program name to check for.
+program=`echo "$1" | sed '
+ s/^gnu-//; t
+ s/^gnu//; t
+ s/^g//; t'`
+
+# Now exit if we have it, but it failed. Also exit now if we
+# don't have it and --version was passed (most likely to detect
+# the program). This is about non-GNU programs, so use $1 not
+# $program.
+case $1 in
+ lex*|yacc*)
+ # Not GNU programs, they don't have --version.
+ ;;
+
+ *)
+ if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
+ # We have it, but it failed.
+ exit 1
+ elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
+ # Could not run --version or --help. This is probably someone
+ # running '$TOOL --version' or '$TOOL --help' to check whether
+ # $TOOL exists and not knowing $TOOL uses missing.
+ exit 1
+ fi
+ ;;
+esac
+
+# If it does not exist, or fails to run (possibly an outdated version),
+# try to emulate it.
+case $program in
+ aclocal*)
+ echo 1>&2 "\
+WARNING: '$1' is $msg. You should only need it if
+ you modified 'acinclude.m4' or '${configure_ac}'. You might want
+ to install the Automake and Perl packages. Grab them from
+ any GNU archive site."
+ touch aclocal.m4
+ ;;
+
+ autoconf*)
+ echo 1>&2 "\
+WARNING: '$1' is $msg. You should only need it if
+ you modified '${configure_ac}'. You might want to install the
+ Autoconf and GNU m4 packages. Grab them from any GNU
+ archive site."
+ touch configure
+ ;;
+
+ autoheader*)
+ echo 1>&2 "\
+WARNING: '$1' is $msg. You should only need it if
+ you modified 'acconfig.h' or '${configure_ac}'. You might want
+ to install the Autoconf and GNU m4 packages. Grab them
+ from any GNU archive site."
+ files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
+ test -z "$files" && files="config.h"
+ touch_files=
+ for f in $files; do
+ case $f in
+ *:*) touch_files="$touch_files "`echo "$f" |
+ sed -e 's/^[^:]*://' -e 's/:.*//'`;;
+ *) touch_files="$touch_files $f.in";;
+ esac
+ done
+ touch $touch_files
+ ;;
+
+ automake*)
+ echo 1>&2 "\
+WARNING: '$1' is $msg. You should only need it if
+ you modified 'Makefile.am', 'acinclude.m4' or '${configure_ac}'.
+ You might want to install the Automake and Perl packages.
+ Grab them from any GNU archive site."
+ find . -type f -name Makefile.am -print |
+ sed 's/\.am$/.in/' |
+ while read f; do touch "$f"; done
+ ;;
+
+ autom4te*)
+ echo 1>&2 "\
+WARNING: '$1' is needed, but is $msg.
+ You might have modified some files without having the
+ proper tools for further handling them.
+ You can get '$1' as part of Autoconf from any GNU
+ archive site."
+
+ file=`echo "$*" | sed -n "$sed_output"`
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
+ if test -f "$file"; then
+ touch $file
+ else
+ test -z "$file" || exec >$file
+ echo "#! /bin/sh"
+ echo "# Created by GNU Automake missing as a replacement of"
+ echo "# $ $@"
+ echo "exit 0"
+ chmod +x $file
+ exit 1
+ fi
+ ;;
+
+ bison*|yacc*)
+ echo 1>&2 "\
+WARNING: '$1' $msg. You should only need it if
+ you modified a '.y' file. You may need the Bison package
+ in order for those modifications to take effect. You can get
+ Bison from any GNU archive site."
+ rm -f y.tab.c y.tab.h
+ if test $# -ne 1; then
+ eval LASTARG=\${$#}
+ case $LASTARG in
+ *.y)
+ SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
+ if test -f "$SRCFILE"; then
+ cp "$SRCFILE" y.tab.c
+ fi
+ SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
+ if test -f "$SRCFILE"; then
+ cp "$SRCFILE" y.tab.h
+ fi
+ ;;
+ esac
+ fi
+ if test ! -f y.tab.h; then
+ echo >y.tab.h
+ fi
+ if test ! -f y.tab.c; then
+ echo 'main() { return 0; }' >y.tab.c
+ fi
+ ;;
+
+ lex*|flex*)
+ echo 1>&2 "\
+WARNING: '$1' is $msg. You should only need it if
+ you modified a '.l' file. You may need the Flex package
+ in order for those modifications to take effect. You can get
+ Flex from any GNU archive site."
+ rm -f lex.yy.c
+ if test $# -ne 1; then
+ eval LASTARG=\${$#}
+ case $LASTARG in
+ *.l)
+ SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
+ if test -f "$SRCFILE"; then
+ cp "$SRCFILE" lex.yy.c
+ fi
+ ;;
+ esac
+ fi
+ if test ! -f lex.yy.c; then
+ echo 'main() { return 0; }' >lex.yy.c
+ fi
+ ;;
+
+ help2man*)
+ echo 1>&2 "\
+WARNING: '$1' is $msg. You should only need it if
+ you modified a dependency of a manual page. You may need the
+ Help2man package in order for those modifications to take
+ effect. You can get Help2man from any GNU archive site."
+
+ file=`echo "$*" | sed -n "$sed_output"`
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
+ if test -f "$file"; then
+ touch $file
+ else
+ test -z "$file" || exec >$file
+ echo ".ab help2man is required to generate this page"
+ exit $?
+ fi
+ ;;
+
+ makeinfo*)
+ echo 1>&2 "\
+WARNING: '$1' is $msg. You should only need it if
+ you modified a '.texi' or '.texinfo' file, or any other file
+ indirectly affecting the aspect of the manual. The spurious
+ call might also be the consequence of using a buggy 'make' (AIX,
+ DU, IRIX). You might want to install the Texinfo package or
+ the GNU make package. Grab either from any GNU archive site."
+ # The file to touch is that specified with -o ...
+ file=`echo "$*" | sed -n "$sed_output"`
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
+ if test -z "$file"; then
+ # ... or it is the one specified with @setfilename ...
+ infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
+ file=`sed -n '
+ /^@setfilename/{
+ s/.* \([^ ]*\) *$/\1/
+ p
+ q
+ }' $infile`
+ # ... or it is derived from the source name (dir/f.texi becomes f.info)
+ test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
+ fi
+ # If the file does not exist, the user really needs makeinfo;
+ # let's fail without touching anything.
+ test -f $file || exit 1
+ touch $file
+ ;;
+
+ *)
+ echo 1>&2 "\
+WARNING: '$1' is needed, and is $msg.
+ You might have modified some files without having the
+ proper tools for further handling them. Check the 'README' file,
+ it often tells you about the needed prerequisites for installing
+ this package. You may also peek at any GNU archive site, in case
+ some other package would contain this missing '$1' program."
+ exit 1
+ ;;
+esac
+
+exit 0
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
diff --git a/biblio/bibtex/utils/mkbib/build-aux/ylwrap b/biblio/bibtex/utils/mkbib/build-aux/ylwrap
new file mode 100755
index 0000000000..6879d8debb
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/build-aux/ylwrap
@@ -0,0 +1,232 @@
+#! /bin/sh
+# ylwrap - wrapper for lex/yacc invocations.
+
+scriptversion=2011-08-25.18; # UTC
+
+# Copyright (C) 1996-2012 Free Software Foundation, Inc.
+#
+# Written by Tom Tromey <tromey@cygnus.com>.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# This file is maintained in Automake, please report
+# bugs to <bug-automake@gnu.org> or send patches to
+# <automake-patches@gnu.org>.
+
+case "$1" in
+ '')
+ echo "$0: No files given. Try '$0 --help' for more information." 1>&2
+ exit 1
+ ;;
+ --basedir)
+ basedir=$2
+ shift 2
+ ;;
+ -h|--h*)
+ cat <<\EOF
+Usage: ylwrap [--help|--version] INPUT [OUTPUT DESIRED]... -- PROGRAM [ARGS]...
+
+Wrapper for lex/yacc invocations, renaming files as desired.
+
+ INPUT is the input file
+ OUTPUT is one file PROG generates
+ DESIRED is the file we actually want instead of OUTPUT
+ PROGRAM is program to run
+ ARGS are passed to PROG
+
+Any number of OUTPUT,DESIRED pairs may be used.
+
+Report bugs to <bug-automake@gnu.org>.
+EOF
+ exit $?
+ ;;
+ -v|--v*)
+ echo "ylwrap $scriptversion"
+ exit $?
+ ;;
+esac
+
+get_dirname ()
+{
+ case $1 in
+ */*|*\\*) printf '%s\n' "$1" | sed -e 's,\([\\/]\)[^\\/]*$,\1,';;
+ # Otherwise, we want the empty string (not ".").
+ esac
+}
+
+quote_for_sed ()
+{
+ # FIXME: really we should care about more than '.' and '\'.
+ sed -e 's,[\\.],\\&,g'
+}
+
+# The input.
+input="$1"
+shift
+# We'll later need for a correct munging of "#line" directives.
+input_sub_rx=`get_dirname "$input" | quote_for_sed`
+case "$input" in
+ [\\/]* | ?:[\\/]*)
+ # Absolute path; do nothing.
+ ;;
+ *)
+ # Relative path. Make it absolute.
+ input="`pwd`/$input"
+ ;;
+esac
+
+pairlist=
+while test "$#" -ne 0; do
+ if test "$1" = "--"; then
+ shift
+ break
+ fi
+ pairlist="$pairlist $1"
+ shift
+done
+
+# The program to run.
+prog="$1"
+shift
+# Make any relative path in $prog absolute.
+case "$prog" in
+ [\\/]* | ?:[\\/]*) ;;
+ *[\\/]*) prog="`pwd`/$prog" ;;
+esac
+
+# FIXME: add hostname here for parallel makes that run commands on
+# other machines. But that might take us over the 14-char limit.
+dirname=ylwrap$$
+do_exit="cd '`pwd`' && rm -rf $dirname > /dev/null 2>&1;"' (exit $ret); exit $ret'
+trap "ret=129; $do_exit" 1
+trap "ret=130; $do_exit" 2
+trap "ret=141; $do_exit" 13
+trap "ret=143; $do_exit" 15
+mkdir $dirname || exit 1
+
+cd $dirname
+
+case $# in
+ 0) "$prog" "$input" ;;
+ *) "$prog" "$@" "$input" ;;
+esac
+ret=$?
+
+if test $ret -eq 0; then
+ set X $pairlist
+ shift
+ first=yes
+ # Since DOS filename conventions don't allow two dots,
+ # the DOS version of Bison writes out y_tab.c instead of y.tab.c
+ # and y_tab.h instead of y.tab.h. Test to see if this is the case.
+ y_tab_nodot="no"
+ if test -f y_tab.c || test -f y_tab.h; then
+ y_tab_nodot="yes"
+ fi
+
+ input_rx=`get_dirname "$input" | quote_for_sed`
+
+ while test "$#" -ne 0; do
+ from="$1"
+ # Handle y_tab.c and y_tab.h output by DOS
+ if test $y_tab_nodot = "yes"; then
+ if test $from = "y.tab.c"; then
+ from="y_tab.c"
+ else
+ if test $from = "y.tab.h"; then
+ from="y_tab.h"
+ fi
+ fi
+ fi
+ if test -f "$from"; then
+ # If $2 is an absolute path name, then just use that,
+ # otherwise prepend '../'.
+ case "$2" in
+ [\\/]* | ?:[\\/]*) target="$2";;
+ *) target="../$2";;
+ esac
+
+ # We do not want to overwrite a header file if it hasn't
+ # changed. This avoid useless recompilations. However the
+ # parser itself (the first file) should always be updated,
+ # because it is the destination of the .y.c rule in the
+ # Makefile. Divert the output of all other files to a temporary
+ # file so we can compare them to existing versions.
+ if test $first = no; then
+ realtarget="$target"
+ target="tmp-`echo $target | sed s/.*[\\/]//g`"
+ fi
+ # Munge "#line" or "#" directives.
+ # We don't want the resulting debug information to point at
+ # an absolute srcdir.
+ # We want to use the real output file name, not yy.lex.c for
+ # instance.
+ # We want the include guards to be adjusted too.
+ FROM=`echo "$from" | sed \
+ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'\
+ -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`
+ TARGET=`echo "$2" | sed \
+ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'\
+ -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`
+
+ sed -e "/^#/!b" -e "s,$input_rx,$input_sub_rx," -e "s,$from,$2," \
+ -e "s,$FROM,$TARGET," "$from" >"$target" || ret=$?
+
+ # Check whether header files must be updated.
+ if test $first = no; then
+ if test -f "$realtarget" && cmp -s "$realtarget" "$target"; then
+ echo "$2" is unchanged
+ rm -f "$target"
+ else
+ echo updating "$2"
+ mv -f "$target" "$realtarget"
+ fi
+ fi
+ else
+ # A missing file is only an error for the first file. This
+ # is a blatant hack to let us support using "yacc -d". If -d
+ # is not specified, we don't want an error when the header
+ # file is "missing".
+ if test $first = yes; then
+ ret=1
+ fi
+ fi
+ shift
+ shift
+ first=no
+ done
+else
+ ret=$?
+fi
+
+# Remove the directory.
+cd ..
+rm -rf $dirname
+
+exit $ret
+
+# Local Variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
diff --git a/biblio/bibtex/utils/mkbib/config.h.in b/biblio/bibtex/utils/mkbib/config.h.in
new file mode 100644
index 0000000000..46b33c085a
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/config.h.in
@@ -0,0 +1,32 @@
+/* config.h.in. Generated from configure.ac by autoheader. */
+
+/* Define to 1 if your C compiler doesn't accept -c and -o together. */
+#undef NO_MINUS_C_MINUS_O
+
+/* Name of package */
+#undef PACKAGE
+
+/* Define to the address where bug reports for this package should be sent. */
+#undef PACKAGE_BUGREPORT
+
+/* Define to the full name of this package. */
+#undef PACKAGE_NAME
+
+/* Define to the full name and version of this package. */
+#undef PACKAGE_STRING
+
+/* Define to the one symbol short name of this package. */
+#undef PACKAGE_TARNAME
+
+/* Define to the home page for this package. */
+#undef PACKAGE_URL
+
+/* Define to the version of this package. */
+#undef PACKAGE_VERSION
+
+/* Version number of package */
+#undef VERSION
+
+/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
+ `char[]'. */
+#undef YYTEXT_POINTER
diff --git a/biblio/bibtex/utils/mkbib/config.rpath b/biblio/bibtex/utils/mkbib/config.rpath
new file mode 100755
index 0000000000..c547c68825
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/config.rpath
@@ -0,0 +1,666 @@
+#! /bin/sh
+# Output a system dependent set of variables, describing how to set the
+# run time search path of shared libraries in an executable.
+#
+# Copyright 1996-2007 Free Software Foundation, Inc.
+# Taken from GNU libtool, 2001
+# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
+#
+# This file is free software; the Free Software Foundation gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+#
+# The first argument passed to this file is the canonical host specification,
+# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
+# or
+# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
+# The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld
+# should be set by the caller.
+#
+# The set of defined variables is at the end of this script.
+
+# Known limitations:
+# - On IRIX 6.5 with CC="cc", the run time search patch must not be longer
+# than 256 bytes, otherwise the compiler driver will dump core. The only
+# known workaround is to choose shorter directory names for the build
+# directory and/or the installation directory.
+
+# All known linkers require a `.a' archive for static linking (except MSVC,
+# which needs '.lib').
+libext=a
+shrext=.so
+
+host="$1"
+host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
+host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
+host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
+
+# Code taken from libtool.m4's _LT_CC_BASENAME.
+
+for cc_temp in $CC""; do
+ case $cc_temp in
+ compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
+ distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
+ \-*) ;;
+ *) break;;
+ esac
+done
+cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'`
+
+# Code taken from libtool.m4's AC_LIBTOOL_PROG_COMPILER_PIC.
+
+wl=
+if test "$GCC" = yes; then
+ wl='-Wl,'
+else
+ case "$host_os" in
+ aix*)
+ wl='-Wl,'
+ ;;
+ darwin*)
+ case $cc_basename in
+ xlc*)
+ wl='-Wl,'
+ ;;
+ esac
+ ;;
+ mingw* | cygwin* | pw32* | os2*)
+ ;;
+ hpux9* | hpux10* | hpux11*)
+ wl='-Wl,'
+ ;;
+ irix5* | irix6* | nonstopux*)
+ wl='-Wl,'
+ ;;
+ newsos6)
+ ;;
+ linux* | k*bsd*-gnu)
+ case $cc_basename in
+ icc* | ecc*)
+ wl='-Wl,'
+ ;;
+ pgcc | pgf77 | pgf90)
+ wl='-Wl,'
+ ;;
+ ccc*)
+ wl='-Wl,'
+ ;;
+ como)
+ wl='-lopt='
+ ;;
+ *)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*)
+ wl='-Wl,'
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+ osf3* | osf4* | osf5*)
+ wl='-Wl,'
+ ;;
+ rdos*)
+ ;;
+ solaris*)
+ wl='-Wl,'
+ ;;
+ sunos4*)
+ wl='-Qoption ld '
+ ;;
+ sysv4 | sysv4.2uw2* | sysv4.3*)
+ wl='-Wl,'
+ ;;
+ sysv4*MP*)
+ ;;
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
+ wl='-Wl,'
+ ;;
+ unicos*)
+ wl='-Wl,'
+ ;;
+ uts4*)
+ ;;
+ esac
+fi
+
+# Code taken from libtool.m4's AC_LIBTOOL_PROG_LD_SHLIBS.
+
+hardcode_libdir_flag_spec=
+hardcode_libdir_separator=
+hardcode_direct=no
+hardcode_minus_L=no
+
+case "$host_os" in
+ cygwin* | mingw* | pw32*)
+ # FIXME: the MSVC++ port hasn't been tested in a loooong time
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ if test "$GCC" != yes; then
+ with_gnu_ld=no
+ fi
+ ;;
+ interix*)
+ # we just hope/assume this is gcc and not c89 (= MSVC++)
+ with_gnu_ld=yes
+ ;;
+ openbsd*)
+ with_gnu_ld=no
+ ;;
+esac
+
+ld_shlibs=yes
+if test "$with_gnu_ld" = yes; then
+ # Set some defaults for GNU ld with shared library support. These
+ # are reset later if shared libraries are not supported. Putting them
+ # here allows them to be overridden if necessary.
+ # Unlike libtool, we use -rpath here, not --rpath, since the documented
+ # option of GNU ld is called -rpath, not --rpath.
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+ case "$host_os" in
+ aix3* | aix4* | aix5*)
+ # On AIX/PPC, the GNU linker is very broken
+ if test "$host_cpu" != ia64; then
+ ld_shlibs=no
+ fi
+ ;;
+ amigaos*)
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_minus_L=yes
+ # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
+ # that the semantics of dynamic libraries on AmigaOS, at least up
+ # to version 4, is to share data among multiple programs linked
+ # with the same dynamic library. Since this doesn't match the
+ # behavior of shared libraries on other platforms, we cannot use
+ # them.
+ ld_shlibs=no
+ ;;
+ beos*)
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+ :
+ else
+ ld_shlibs=no
+ fi
+ ;;
+ cygwin* | mingw* | pw32*)
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+ hardcode_libdir_flag_spec='-L$libdir'
+ if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
+ :
+ else
+ ld_shlibs=no
+ fi
+ ;;
+ interix[3-9]*)
+ hardcode_direct=no
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ ;;
+ gnu* | linux* | k*bsd*-gnu)
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+ :
+ else
+ ld_shlibs=no
+ fi
+ ;;
+ netbsd*)
+ ;;
+ solaris*)
+ if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
+ ld_shlibs=no
+ elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+ :
+ else
+ ld_shlibs=no
+ fi
+ ;;
+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
+ case `$LD -v 2>&1` in
+ *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
+ ld_shlibs=no
+ ;;
+ *)
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+ hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+ esac
+ ;;
+ sunos4*)
+ hardcode_direct=yes
+ ;;
+ *)
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+ :
+ else
+ ld_shlibs=no
+ fi
+ ;;
+ esac
+ if test "$ld_shlibs" = no; then
+ hardcode_libdir_flag_spec=
+ fi
+else
+ case "$host_os" in
+ aix3*)
+ # Note: this linker hardcodes the directories in LIBPATH if there
+ # are no directories specified by -L.
+ hardcode_minus_L=yes
+ if test "$GCC" = yes; then
+ # Neither direct hardcoding nor static linking is supported with a
+ # broken collect2.
+ hardcode_direct=unsupported
+ fi
+ ;;
+ aix4* | aix5*)
+ if test "$host_cpu" = ia64; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ else
+ aix_use_runtimelinking=no
+ # Test if we are trying to use run time linking or normal
+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we
+ # need to do runtime linking.
+ case $host_os in aix4.[23]|aix4.[23].*|aix5*)
+ for ld_flag in $LDFLAGS; do
+ if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
+ aix_use_runtimelinking=yes
+ break
+ fi
+ done
+ ;;
+ esac
+ fi
+ hardcode_direct=yes
+ hardcode_libdir_separator=':'
+ if test "$GCC" = yes; then
+ case $host_os in aix4.[012]|aix4.[012].*)
+ collect2name=`${CC} -print-prog-name=collect2`
+ if test -f "$collect2name" && \
+ strings "$collect2name" | grep resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ :
+ else
+ # We have old collect2
+ hardcode_direct=unsupported
+ hardcode_minus_L=yes
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_libdir_separator=
+ fi
+ ;;
+ esac
+ fi
+ # Begin _LT_AC_SYS_LIBPATH_AIX.
+ echo 'int main () { return 0; }' > conftest.c
+ ${CC} ${LDFLAGS} conftest.c -o conftest
+ aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
+}'`
+ if test -z "$aix_libpath"; then
+ aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
+}'`
+ fi
+ if test -z "$aix_libpath"; then
+ aix_libpath="/usr/lib:/lib"
+ fi
+ rm -f conftest.c conftest
+ # End _LT_AC_SYS_LIBPATH_AIX.
+ if test "$aix_use_runtimelinking" = yes; then
+ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
+ else
+ if test "$host_cpu" = ia64; then
+ hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
+ else
+ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
+ fi
+ fi
+ ;;
+ amigaos*)
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_minus_L=yes
+ # see comment about different semantics on the GNU ld section
+ ld_shlibs=no
+ ;;
+ bsdi[45]*)
+ ;;
+ cygwin* | mingw* | pw32*)
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+ hardcode_libdir_flag_spec=' '
+ libext=lib
+ ;;
+ darwin* | rhapsody*)
+ hardcode_direct=no
+ if test "$GCC" = yes ; then
+ :
+ else
+ case $cc_basename in
+ xlc*)
+ ;;
+ *)
+ ld_shlibs=no
+ ;;
+ esac
+ fi
+ ;;
+ dgux*)
+ hardcode_libdir_flag_spec='-L$libdir'
+ ;;
+ freebsd1*)
+ ld_shlibs=no
+ ;;
+ freebsd2.2*)
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+ ;;
+ freebsd2*)
+ hardcode_direct=yes
+ hardcode_minus_L=yes
+ ;;
+ freebsd* | dragonfly*)
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+ ;;
+ hpux9*)
+ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
+ hardcode_libdir_separator=:
+ hardcode_direct=yes
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L=yes
+ ;;
+ hpux10*)
+ if test "$with_gnu_ld" = no; then
+ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
+ hardcode_libdir_separator=:
+ hardcode_direct=yes
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L=yes
+ fi
+ ;;
+ hpux11*)
+ if test "$with_gnu_ld" = no; then
+ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
+ hardcode_libdir_separator=:
+ case $host_cpu in
+ hppa*64*|ia64*)
+ hardcode_direct=no
+ ;;
+ *)
+ hardcode_direct=yes
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L=yes
+ ;;
+ esac
+ fi
+ ;;
+ irix5* | irix6* | nonstopux*)
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+ hardcode_libdir_separator=:
+ ;;
+ netbsd*)
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+ ;;
+ newsos6)
+ hardcode_direct=yes
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+ hardcode_libdir_separator=:
+ ;;
+ openbsd*)
+ if test -f /usr/libexec/ld.so; then
+ hardcode_direct=yes
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ else
+ case "$host_os" in
+ openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
+ hardcode_libdir_flag_spec='-R$libdir'
+ ;;
+ *)
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ ;;
+ esac
+ fi
+ else
+ ld_shlibs=no
+ fi
+ ;;
+ os2*)
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_minus_L=yes
+ ;;
+ osf3*)
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+ hardcode_libdir_separator=:
+ ;;
+ osf4* | osf5*)
+ if test "$GCC" = yes; then
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+ else
+ # Both cc and cxx compiler support -rpath directly
+ hardcode_libdir_flag_spec='-rpath $libdir'
+ fi
+ hardcode_libdir_separator=:
+ ;;
+ solaris*)
+ hardcode_libdir_flag_spec='-R$libdir'
+ ;;
+ sunos4*)
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_direct=yes
+ hardcode_minus_L=yes
+ ;;
+ sysv4)
+ case $host_vendor in
+ sni)
+ hardcode_direct=yes # is this really true???
+ ;;
+ siemens)
+ hardcode_direct=no
+ ;;
+ motorola)
+ hardcode_direct=no #Motorola manual says yes, but my tests say they lie
+ ;;
+ esac
+ ;;
+ sysv4.3*)
+ ;;
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ ld_shlibs=yes
+ fi
+ ;;
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
+ ;;
+ sysv5* | sco3.2v5* | sco5v6*)
+ hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
+ hardcode_libdir_separator=':'
+ ;;
+ uts4*)
+ hardcode_libdir_flag_spec='-L$libdir'
+ ;;
+ *)
+ ld_shlibs=no
+ ;;
+ esac
+fi
+
+# Check dynamic linker characteristics
+# Code taken from libtool.m4's AC_LIBTOOL_SYS_DYNAMIC_LINKER.
+# Unlike libtool.m4, here we don't care about _all_ names of the library, but
+# only about the one the linker finds when passed -lNAME. This is the last
+# element of library_names_spec in libtool.m4, or possibly two of them if the
+# linker has special search rules.
+library_names_spec= # the last element of library_names_spec in libtool.m4
+libname_spec='lib$name'
+case "$host_os" in
+ aix3*)
+ library_names_spec='$libname.a'
+ ;;
+ aix4* | aix5*)
+ library_names_spec='$libname$shrext'
+ ;;
+ amigaos*)
+ library_names_spec='$libname.a'
+ ;;
+ beos*)
+ library_names_spec='$libname$shrext'
+ ;;
+ bsdi[45]*)
+ library_names_spec='$libname$shrext'
+ ;;
+ cygwin* | mingw* | pw32*)
+ shrext=.dll
+ library_names_spec='$libname.dll.a $libname.lib'
+ ;;
+ darwin* | rhapsody*)
+ shrext=.dylib
+ library_names_spec='$libname$shrext'
+ ;;
+ dgux*)
+ library_names_spec='$libname$shrext'
+ ;;
+ freebsd1*)
+ ;;
+ freebsd* | dragonfly*)
+ case "$host_os" in
+ freebsd[123]*)
+ library_names_spec='$libname$shrext$versuffix' ;;
+ *)
+ library_names_spec='$libname$shrext' ;;
+ esac
+ ;;
+ gnu*)
+ library_names_spec='$libname$shrext'
+ ;;
+ hpux9* | hpux10* | hpux11*)
+ case $host_cpu in
+ ia64*)
+ shrext=.so
+ ;;
+ hppa*64*)
+ shrext=.sl
+ ;;
+ *)
+ shrext=.sl
+ ;;
+ esac
+ library_names_spec='$libname$shrext'
+ ;;
+ interix[3-9]*)
+ library_names_spec='$libname$shrext'
+ ;;
+ irix5* | irix6* | nonstopux*)
+ library_names_spec='$libname$shrext'
+ case "$host_os" in
+ irix5* | nonstopux*)
+ libsuff= shlibsuff=
+ ;;
+ *)
+ case $LD in
+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;;
+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;;
+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;;
+ *) libsuff= shlibsuff= ;;
+ esac
+ ;;
+ esac
+ ;;
+ linux*oldld* | linux*aout* | linux*coff*)
+ ;;
+ linux* | k*bsd*-gnu)
+ library_names_spec='$libname$shrext'
+ ;;
+ knetbsd*-gnu)
+ library_names_spec='$libname$shrext'
+ ;;
+ netbsd*)
+ library_names_spec='$libname$shrext'
+ ;;
+ newsos6)
+ library_names_spec='$libname$shrext'
+ ;;
+ nto-qnx*)
+ library_names_spec='$libname$shrext'
+ ;;
+ openbsd*)
+ library_names_spec='$libname$shrext$versuffix'
+ ;;
+ os2*)
+ libname_spec='$name'
+ shrext=.dll
+ library_names_spec='$libname.a'
+ ;;
+ osf3* | osf4* | osf5*)
+ library_names_spec='$libname$shrext'
+ ;;
+ rdos*)
+ ;;
+ solaris*)
+ library_names_spec='$libname$shrext'
+ ;;
+ sunos4*)
+ library_names_spec='$libname$shrext$versuffix'
+ ;;
+ sysv4 | sysv4.3*)
+ library_names_spec='$libname$shrext'
+ ;;
+ sysv4*MP*)
+ library_names_spec='$libname$shrext'
+ ;;
+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
+ library_names_spec='$libname$shrext'
+ ;;
+ uts4*)
+ library_names_spec='$libname$shrext'
+ ;;
+esac
+
+sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
+escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"`
+shlibext=`echo "$shrext" | sed -e 's,^\.,,'`
+escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
+escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
+escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
+
+LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF
+
+# How to pass a linker flag through the compiler.
+wl="$escaped_wl"
+
+# Static library suffix (normally "a").
+libext="$libext"
+
+# Shared library suffix (normally "so").
+shlibext="$shlibext"
+
+# Format of library name prefix.
+libname_spec="$escaped_libname_spec"
+
+# Library names that the linker finds when passed -lNAME.
+library_names_spec="$escaped_library_names_spec"
+
+# Flag to hardcode \$libdir into a binary during linking.
+# This must work even if \$libdir does not exist.
+hardcode_libdir_flag_spec="$escaped_hardcode_libdir_flag_spec"
+
+# Whether we need a single -rpath flag with a separated argument.
+hardcode_libdir_separator="$hardcode_libdir_separator"
+
+# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
+# resulting binary.
+hardcode_direct="$hardcode_direct"
+
+# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
+# resulting binary.
+hardcode_minus_L="$hardcode_minus_L"
+
+EOF
diff --git a/biblio/bibtex/utils/mkbib/configure b/biblio/bibtex/utils/mkbib/configure
new file mode 100755
index 0000000000..fb0149faea
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/configure
@@ -0,0 +1,7651 @@
+#! /bin/sh
+# Guess values for system-dependent variables and create Makefiles.
+# Generated by GNU Autoconf 2.69 for mkbib 2.1.
+#
+#
+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
+#
+#
+# This configure script is free software; the Free Software Foundation
+# gives unlimited permission to copy, distribute and modify it.
+## -------------------- ##
+## M4sh Initialization. ##
+## -------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in #(
+ *posix*) :
+ set -o posix ;; #(
+ *) :
+ ;;
+esac
+fi
+
+
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='print -r --'
+ as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+else
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+ as_echo_n='/usr/ucb/echo -n'
+ else
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+ as_echo_n_body='eval
+ arg=$1;
+ case $arg in #(
+ *"$as_nl"*)
+ expr "X$arg" : "X\\(.*\\)$as_nl";
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+ esac;
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+ '
+ export as_echo_n_body
+ as_echo_n='sh -c $as_echo_n_body as_echo'
+ fi
+ export as_echo_body
+ as_echo='sh -c $as_echo_body as_echo'
+fi
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+ PATH_SEPARATOR=';'
+ }
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" "" $as_nl"
+
+# Find who we are. Look in the path if we contain no directory separator.
+as_myself=
+case $0 in #((
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+ as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ exit 1
+fi
+
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there. '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+# Use a proper internal environment variable to ensure we don't fall
+ # into an infinite loop, continuously re-executing ourselves.
+ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
+ _as_can_reexec=no; export _as_can_reexec;
+ # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # ((((
+ *v*x* | *x*v* ) as_opts=-vx ;;
+ *v* ) as_opts=-v ;;
+ *x* ) as_opts=-x ;;
+ * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+as_fn_exit 255
+ fi
+ # We don't want this to propagate to other subprocesses.
+ { _as_can_reexec=; unset _as_can_reexec;}
+if test "x$CONFIG_SHELL" = x; then
+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '\${1+\"\$@\"}'='\"\$@\"'
+ setopt NO_GLOB_SUBST
+else
+ case \`(set -o) 2>/dev/null\` in #(
+ *posix*) :
+ set -o posix ;; #(
+ *) :
+ ;;
+esac
+fi
+"
+ as_required="as_fn_return () { (exit \$1); }
+as_fn_success () { as_fn_return 0; }
+as_fn_failure () { as_fn_return 1; }
+as_fn_ret_success () { return 0; }
+as_fn_ret_failure () { return 1; }
+
+exitcode=0
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
+
+else
+ exitcode=1; echo positional parameters were not saved.
+fi
+test x\$exitcode = x0 || exit 1
+test -x / || exit 1"
+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
+ if (eval "$as_required") 2>/dev/null; then :
+ as_have_required=yes
+else
+ as_have_required=no
+fi
+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
+
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+as_found=false
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ as_found=:
+ case $as_dir in #(
+ /*)
+ for as_base in sh bash ksh sh5; do
+ # Try only shells that exist, to save several forks.
+ as_shell=$as_dir/$as_base
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
+ CONFIG_SHELL=$as_shell as_have_required=yes
+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
+ break 2
+fi
+fi
+ done;;
+ esac
+ as_found=false
+done
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
+ CONFIG_SHELL=$SHELL as_have_required=yes
+fi; }
+IFS=$as_save_IFS
+
+
+ if test "x$CONFIG_SHELL" != x; then :
+ export CONFIG_SHELL
+ # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # ((((
+ *v*x* | *x*v* ) as_opts=-vx ;;
+ *v* ) as_opts=-v ;;
+ *x* ) as_opts=-x ;;
+ * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+exit 255
+fi
+
+ if test x$as_have_required = xno; then :
+ $as_echo "$0: This script requires a shell more modern than all"
+ $as_echo "$0: the shells that I found on your system."
+ if test x${ZSH_VERSION+set} = xset ; then
+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
+ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
+ else
+ $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
+$0: including any error possibly output before this
+$0: message. Then install a modern shell, or manually run
+$0: the script under such a shell if you do have one."
+ fi
+ exit 1
+fi
+fi
+fi
+SHELL=${CONFIG_SHELL-/bin/sh}
+export SHELL
+# Unset more variables known to interfere with behavior of common tools.
+CLICOLOR_FORCE= GREP_OPTIONS=
+unset CLICOLOR_FORCE GREP_OPTIONS
+
+## --------------------- ##
+## M4sh Shell Functions. ##
+## --------------------- ##
+# as_fn_unset VAR
+# ---------------
+# Portably unset VAR.
+as_fn_unset ()
+{
+ { eval $1=; unset $1;}
+}
+as_unset=as_fn_unset
+
+# as_fn_set_status STATUS
+# -----------------------
+# Set $? to STATUS, without forking.
+as_fn_set_status ()
+{
+ return $1
+} # as_fn_set_status
+
+# as_fn_exit STATUS
+# -----------------
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
+as_fn_exit ()
+{
+ set +e
+ as_fn_set_status $1
+ exit $1
+} # as_fn_exit
+
+# as_fn_mkdir_p
+# -------------
+# Create "$as_dir" as a directory, including parents if necessary.
+as_fn_mkdir_p ()
+{
+
+ case $as_dir in #(
+ -*) as_dir=./$as_dir;;
+ esac
+ test -d "$as_dir" || eval $as_mkdir_p || {
+ as_dirs=
+ while :; do
+ case $as_dir in #(
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+ *) as_qdir=$as_dir;;
+ esac
+ as_dirs="'$as_qdir' $as_dirs"
+ as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ test -d "$as_dir" && break
+ done
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+
+
+} # as_fn_mkdir_p
+
+# as_fn_executable_p FILE
+# -----------------------
+# Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+ test -f "$1" && test -x "$1"
+} # as_fn_executable_p
+# as_fn_append VAR VALUE
+# ----------------------
+# Append the text in VALUE to the end of the definition contained in VAR. Take
+# advantage of any shell optimizations that allow amortized linear growth over
+# repeated appends, instead of the typical quadratic growth present in naive
+# implementations.
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
+ eval 'as_fn_append ()
+ {
+ eval $1+=\$2
+ }'
+else
+ as_fn_append ()
+ {
+ eval $1=\$$1\$2
+ }
+fi # as_fn_append
+
+# as_fn_arith ARG...
+# ------------------
+# Perform arithmetic evaluation on the ARGs, and store the result in the
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
+# must be portable across $(()) and expr.
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
+ eval 'as_fn_arith ()
+ {
+ as_val=$(( $* ))
+ }'
+else
+ as_fn_arith ()
+ {
+ as_val=`expr "$@" || test $? -eq 1`
+ }
+fi # as_fn_arith
+
+
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
+# ----------------------------------------
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
+# script with STATUS, using 1 if that was 0.
+as_fn_error ()
+{
+ as_status=$1; test $as_status -eq 0 && as_status=1
+ if test "$4"; then
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+ fi
+ $as_echo "$as_me: error: $2" >&2
+ as_fn_exit $as_status
+} # as_fn_error
+
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
+
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+
+ as_lineno_1=$LINENO as_lineno_1a=$LINENO
+ as_lineno_2=$LINENO as_lineno_2a=$LINENO
+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
+ sed -n '
+ p
+ /[$]LINENO/=
+ ' <$as_myself |
+ sed '
+ s/[$]LINENO.*/&-/
+ t lineno
+ b
+ :lineno
+ N
+ :loop
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
+ t loop
+ s/-\n.*//
+ ' >$as_me.lineno &&
+ chmod +x "$as_me.lineno" ||
+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
+
+ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
+ # already done that, so ensure we don't try to do so again and fall
+ # in an infinite loop. This has already happened in practice.
+ _as_can_reexec=no; export _as_can_reexec
+ # Don't try to exec as it changes $[0], causing all sort of problems
+ # (the dirname of $[0] is not the place where we might find the
+ # original and so on. Autoconf is especially sensitive to this).
+ . "./$as_me.lineno"
+ # Exit status is that of the last command.
+ exit
+}
+
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in #(((((
+-n*)
+ case `echo 'xy\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+ xy) ECHO_C='\c';;
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
+ ECHO_T=' ';;
+ esac;;
+*)
+ ECHO_N='-n';;
+esac
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+else
+ rm -f conf$$.dir
+ mkdir conf$$.dir 2>/dev/null
+fi
+if (echo >conf$$.file) 2>/dev/null; then
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s='ln -s'
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+ # In both cases, we have to default to `cp -pR'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+ as_ln_s='cp -pR'
+ elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+ else
+ as_ln_s='cp -pR'
+ fi
+else
+ as_ln_s='cp -pR'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p='mkdir -p "$as_dir"'
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+
+test -n "$DJDIR" || exec 7<&0 </dev/null
+exec 6>&1
+
+# Name of the host.
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
+# so uname gets run too.
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
+
+#
+# Initializations.
+#
+ac_default_prefix=/usr/local
+ac_clean_files=
+ac_config_libobj_dir=.
+LIBOBJS=
+cross_compiling=no
+subdirs=
+MFLAGS=
+MAKEFLAGS=
+
+# Identity of this package.
+PACKAGE_NAME='mkbib'
+PACKAGE_TARNAME='mkbib'
+PACKAGE_VERSION='2.1'
+PACKAGE_STRING='mkbib 2.1'
+PACKAGE_BUGREPORT=''
+PACKAGE_URL=''
+
+ac_subst_vars='am__EXEEXT_FALSE
+am__EXEEXT_TRUE
+LTLIBOBJS
+LIBOBJS
+YELP_HELP_RULES
+XMLLINT
+ITSTOOL
+HELP_DIR
+LN_S
+GSETTINGS_RULES
+GLIB_COMPILE_SCHEMAS
+gsettingsschemadir
+GSETTINGS_DISABLE_SCHEMAS_COMPILE
+GTK_LIBS
+GTK_CFLAGS
+LIBSOUP_LIBS
+LIBSOUP_CFLAGS
+LEXLIB
+LEX_OUTPUT_ROOT
+LEX
+YACC_EXISTS
+YFLAGS
+YACC
+PKG_CONFIG_LIBDIR
+PKG_CONFIG_PATH
+PKG_CONFIG
+DATADIRNAME
+am__fastdepCC_FALSE
+am__fastdepCC_TRUE
+CCDEPMODE
+am__nodep
+AMDEPBACKSLASH
+AMDEP_FALSE
+AMDEP_TRUE
+am__quote
+am__include
+DEPDIR
+OBJEXT
+EXEEXT
+ac_ct_CC
+CPPFLAGS
+LDFLAGS
+CFLAGS
+CC
+ALL_LINGUAS
+INTLTOOL_PERL
+GMSGFMT
+MSGFMT
+MSGMERGE
+XGETTEXT
+INTLTOOL_POLICY_RULE
+INTLTOOL_SERVICE_RULE
+INTLTOOL_THEME_RULE
+INTLTOOL_SCHEMAS_RULE
+INTLTOOL_CAVES_RULE
+INTLTOOL_XML_NOMERGE_RULE
+INTLTOOL_XML_RULE
+INTLTOOL_KBD_RULE
+INTLTOOL_XAM_RULE
+INTLTOOL_UI_RULE
+INTLTOOL_SOUNDLIST_RULE
+INTLTOOL_SHEET_RULE
+INTLTOOL_SERVER_RULE
+INTLTOOL_PONG_RULE
+INTLTOOL_OAF_RULE
+INTLTOOL_PROP_RULE
+INTLTOOL_KEYS_RULE
+INTLTOOL_DIRECTORY_RULE
+INTLTOOL_DESKTOP_RULE
+intltool__v_merge_options_0
+intltool__v_merge_options_
+INTLTOOL_V_MERGE_OPTIONS
+INTLTOOL__v_MERGE_0
+INTLTOOL__v_MERGE_
+INTLTOOL_V_MERGE
+AM_DEFAULT_VERBOSITY
+INTLTOOL_EXTRACT
+INTLTOOL_MERGE
+INTLTOOL_UPDATE
+USE_NLS
+am__untar
+am__tar
+AMTAR
+am__leading_dot
+SET_MAKE
+AWK
+mkdir_p
+MKDIR_P
+INSTALL_STRIP_PROGRAM
+STRIP
+install_sh
+MAKEINFO
+AUTOHEADER
+AUTOMAKE
+AUTOCONF
+ACLOCAL
+VERSION
+PACKAGE
+CYGPATH_W
+am__isrc
+INSTALL_DATA
+INSTALL_SCRIPT
+INSTALL_PROGRAM
+target_alias
+host_alias
+build_alias
+LIBS
+ECHO_T
+ECHO_N
+ECHO_C
+DEFS
+mandir
+localedir
+libdir
+psdir
+pdfdir
+dvidir
+htmldir
+infodir
+docdir
+oldincludedir
+includedir
+localstatedir
+sharedstatedir
+sysconfdir
+datadir
+datarootdir
+libexecdir
+sbindir
+bindir
+program_transform_name
+prefix
+exec_prefix
+PACKAGE_URL
+PACKAGE_BUGREPORT
+PACKAGE_STRING
+PACKAGE_VERSION
+PACKAGE_TARNAME
+PACKAGE_NAME
+PATH_SEPARATOR
+SHELL'
+ac_subst_files=''
+ac_user_opts='
+enable_option_checking
+enable_nls
+enable_dependency_tracking
+enable_gtktest
+enable_schemas_compile
+with_help_dir
+'
+ ac_precious_vars='build_alias
+host_alias
+target_alias
+CC
+CFLAGS
+LDFLAGS
+LIBS
+CPPFLAGS
+PKG_CONFIG
+PKG_CONFIG_PATH
+PKG_CONFIG_LIBDIR
+YACC
+YFLAGS
+LIBSOUP_CFLAGS
+LIBSOUP_LIBS
+ITSTOOL
+XMLLINT'
+
+
+# Initialize some variables set by options.
+ac_init_help=
+ac_init_version=false
+ac_unrecognized_opts=
+ac_unrecognized_sep=
+# The variables have the same names as the options, with
+# dashes changed to underlines.
+cache_file=/dev/null
+exec_prefix=NONE
+no_create=
+no_recursion=
+prefix=NONE
+program_prefix=NONE
+program_suffix=NONE
+program_transform_name=s,x,x,
+silent=
+site=
+srcdir=
+verbose=
+x_includes=NONE
+x_libraries=NONE
+
+# Installation directory options.
+# These are left unexpanded so users can "make install exec_prefix=/foo"
+# and all the variables that are supposed to be based on exec_prefix
+# by default will actually change.
+# Use braces instead of parens because sh, perl, etc. also accept them.
+# (The list follows the same order as the GNU Coding Standards.)
+bindir='${exec_prefix}/bin'
+sbindir='${exec_prefix}/sbin'
+libexecdir='${exec_prefix}/libexec'
+datarootdir='${prefix}/share'
+datadir='${datarootdir}'
+sysconfdir='${prefix}/etc'
+sharedstatedir='${prefix}/com'
+localstatedir='${prefix}/var'
+includedir='${prefix}/include'
+oldincludedir='/usr/include'
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
+infodir='${datarootdir}/info'
+htmldir='${docdir}'
+dvidir='${docdir}'
+pdfdir='${docdir}'
+psdir='${docdir}'
+libdir='${exec_prefix}/lib'
+localedir='${datarootdir}/locale'
+mandir='${datarootdir}/man'
+
+ac_prev=
+ac_dashdash=
+for ac_option
+do
+ # If the previous option needs an argument, assign it.
+ if test -n "$ac_prev"; then
+ eval $ac_prev=\$ac_option
+ ac_prev=
+ continue
+ fi
+
+ case $ac_option in
+ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
+ *=) ac_optarg= ;;
+ *) ac_optarg=yes ;;
+ esac
+
+ # Accept the important Cygnus configure options, so we can diagnose typos.
+
+ case $ac_dashdash$ac_option in
+ --)
+ ac_dashdash=yes ;;
+
+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
+ ac_prev=bindir ;;
+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
+ bindir=$ac_optarg ;;
+
+ -build | --build | --buil | --bui | --bu)
+ ac_prev=build_alias ;;
+ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
+ build_alias=$ac_optarg ;;
+
+ -cache-file | --cache-file | --cache-fil | --cache-fi \
+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
+ ac_prev=cache_file ;;
+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
+ cache_file=$ac_optarg ;;
+
+ --config-cache | -C)
+ cache_file=config.cache ;;
+
+ -datadir | --datadir | --datadi | --datad)
+ ac_prev=datadir ;;
+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
+ datadir=$ac_optarg ;;
+
+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
+ | --dataroo | --dataro | --datar)
+ ac_prev=datarootdir ;;
+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
+ datarootdir=$ac_optarg ;;
+
+ -disable-* | --disable-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid feature name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"enable_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval enable_$ac_useropt=no ;;
+
+ -docdir | --docdir | --docdi | --doc | --do)
+ ac_prev=docdir ;;
+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
+ docdir=$ac_optarg ;;
+
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
+ ac_prev=dvidir ;;
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
+ dvidir=$ac_optarg ;;
+
+ -enable-* | --enable-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid feature name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"enable_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval enable_$ac_useropt=\$ac_optarg ;;
+
+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
+ | --exec | --exe | --ex)
+ ac_prev=exec_prefix ;;
+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
+ | --exec=* | --exe=* | --ex=*)
+ exec_prefix=$ac_optarg ;;
+
+ -gas | --gas | --ga | --g)
+ # Obsolete; use --with-gas.
+ with_gas=yes ;;
+
+ -help | --help | --hel | --he | -h)
+ ac_init_help=long ;;
+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
+ ac_init_help=recursive ;;
+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
+ ac_init_help=short ;;
+
+ -host | --host | --hos | --ho)
+ ac_prev=host_alias ;;
+ -host=* | --host=* | --hos=* | --ho=*)
+ host_alias=$ac_optarg ;;
+
+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
+ ac_prev=htmldir ;;
+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
+ | --ht=*)
+ htmldir=$ac_optarg ;;
+
+ -includedir | --includedir | --includedi | --included | --include \
+ | --includ | --inclu | --incl | --inc)
+ ac_prev=includedir ;;
+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
+ | --includ=* | --inclu=* | --incl=* | --inc=*)
+ includedir=$ac_optarg ;;
+
+ -infodir | --infodir | --infodi | --infod | --info | --inf)
+ ac_prev=infodir ;;
+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
+ infodir=$ac_optarg ;;
+
+ -libdir | --libdir | --libdi | --libd)
+ ac_prev=libdir ;;
+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
+ libdir=$ac_optarg ;;
+
+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
+ | --libexe | --libex | --libe)
+ ac_prev=libexecdir ;;
+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
+ | --libexe=* | --libex=* | --libe=*)
+ libexecdir=$ac_optarg ;;
+
+ -localedir | --localedir | --localedi | --localed | --locale)
+ ac_prev=localedir ;;
+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
+ localedir=$ac_optarg ;;
+
+ -localstatedir | --localstatedir | --localstatedi | --localstated \
+ | --localstate | --localstat | --localsta | --localst | --locals)
+ ac_prev=localstatedir ;;
+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
+ localstatedir=$ac_optarg ;;
+
+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
+ ac_prev=mandir ;;
+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
+ mandir=$ac_optarg ;;
+
+ -nfp | --nfp | --nf)
+ # Obsolete; use --without-fp.
+ with_fp=no ;;
+
+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
+ | --no-cr | --no-c | -n)
+ no_create=yes ;;
+
+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
+ no_recursion=yes ;;
+
+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
+ | --oldin | --oldi | --old | --ol | --o)
+ ac_prev=oldincludedir ;;
+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
+ oldincludedir=$ac_optarg ;;
+
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
+ ac_prev=prefix ;;
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
+ prefix=$ac_optarg ;;
+
+ -program-prefix | --program-prefix | --program-prefi | --program-pref \
+ | --program-pre | --program-pr | --program-p)
+ ac_prev=program_prefix ;;
+ -program-prefix=* | --program-prefix=* | --program-prefi=* \
+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
+ program_prefix=$ac_optarg ;;
+
+ -program-suffix | --program-suffix | --program-suffi | --program-suff \
+ | --program-suf | --program-su | --program-s)
+ ac_prev=program_suffix ;;
+ -program-suffix=* | --program-suffix=* | --program-suffi=* \
+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
+ program_suffix=$ac_optarg ;;
+
+ -program-transform-name | --program-transform-name \
+ | --program-transform-nam | --program-transform-na \
+ | --program-transform-n | --program-transform- \
+ | --program-transform | --program-transfor \
+ | --program-transfo | --program-transf \
+ | --program-trans | --program-tran \
+ | --progr-tra | --program-tr | --program-t)
+ ac_prev=program_transform_name ;;
+ -program-transform-name=* | --program-transform-name=* \
+ | --program-transform-nam=* | --program-transform-na=* \
+ | --program-transform-n=* | --program-transform-=* \
+ | --program-transform=* | --program-transfor=* \
+ | --program-transfo=* | --program-transf=* \
+ | --program-trans=* | --program-tran=* \
+ | --progr-tra=* | --program-tr=* | --program-t=*)
+ program_transform_name=$ac_optarg ;;
+
+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
+ ac_prev=pdfdir ;;
+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
+ pdfdir=$ac_optarg ;;
+
+ -psdir | --psdir | --psdi | --psd | --ps)
+ ac_prev=psdir ;;
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
+ psdir=$ac_optarg ;;
+
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ silent=yes ;;
+
+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
+ ac_prev=sbindir ;;
+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
+ | --sbi=* | --sb=*)
+ sbindir=$ac_optarg ;;
+
+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
+ | --sharedst | --shareds | --shared | --share | --shar \
+ | --sha | --sh)
+ ac_prev=sharedstatedir ;;
+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
+ | --sha=* | --sh=*)
+ sharedstatedir=$ac_optarg ;;
+
+ -site | --site | --sit)
+ ac_prev=site ;;
+ -site=* | --site=* | --sit=*)
+ site=$ac_optarg ;;
+
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
+ ac_prev=srcdir ;;
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
+ srcdir=$ac_optarg ;;
+
+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
+ | --syscon | --sysco | --sysc | --sys | --sy)
+ ac_prev=sysconfdir ;;
+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
+ sysconfdir=$ac_optarg ;;
+
+ -target | --target | --targe | --targ | --tar | --ta | --t)
+ ac_prev=target_alias ;;
+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
+ target_alias=$ac_optarg ;;
+
+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
+ verbose=yes ;;
+
+ -version | --version | --versio | --versi | --vers | -V)
+ ac_init_version=: ;;
+
+ -with-* | --with-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid package name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"with_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval with_$ac_useropt=\$ac_optarg ;;
+
+ -without-* | --without-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid package name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"with_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval with_$ac_useropt=no ;;
+
+ --x)
+ # Obsolete; use --with-x.
+ with_x=yes ;;
+
+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
+ | --x-incl | --x-inc | --x-in | --x-i)
+ ac_prev=x_includes ;;
+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
+ x_includes=$ac_optarg ;;
+
+ -x-libraries | --x-libraries | --x-librarie | --x-librari \
+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
+ ac_prev=x_libraries ;;
+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
+ x_libraries=$ac_optarg ;;
+
+ -*) as_fn_error $? "unrecognized option: \`$ac_option'
+Try \`$0 --help' for more information"
+ ;;
+
+ *=*)
+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
+ # Reject names that are not valid shell variable names.
+ case $ac_envvar in #(
+ '' | [0-9]* | *[!_$as_cr_alnum]* )
+ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
+ esac
+ eval $ac_envvar=\$ac_optarg
+ export $ac_envvar ;;
+
+ *)
+ # FIXME: should be removed in autoconf 3.0.
+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
+ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
+ ;;
+
+ esac
+done
+
+if test -n "$ac_prev"; then
+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
+ as_fn_error $? "missing argument to $ac_option"
+fi
+
+if test -n "$ac_unrecognized_opts"; then
+ case $enable_option_checking in
+ no) ;;
+ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
+ esac
+fi
+
+# Check all directory arguments for consistency.
+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
+ datadir sysconfdir sharedstatedir localstatedir includedir \
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
+ libdir localedir mandir
+do
+ eval ac_val=\$$ac_var
+ # Remove trailing slashes.
+ case $ac_val in
+ */ )
+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
+ eval $ac_var=\$ac_val;;
+ esac
+ # Be sure to have absolute directory names.
+ case $ac_val in
+ [\\/$]* | ?:[\\/]* ) continue;;
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
+ esac
+ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
+done
+
+# There might be people who depend on the old broken behavior: `$host'
+# used to hold the argument of --host etc.
+# FIXME: To remove some day.
+build=$build_alias
+host=$host_alias
+target=$target_alias
+
+# FIXME: To remove some day.
+if test "x$host_alias" != x; then
+ if test "x$build_alias" = x; then
+ cross_compiling=maybe
+ elif test "x$build_alias" != "x$host_alias"; then
+ cross_compiling=yes
+ fi
+fi
+
+ac_tool_prefix=
+test -n "$host_alias" && ac_tool_prefix=$host_alias-
+
+test "$silent" = yes && exec 6>/dev/null
+
+
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
+ac_ls_di=`ls -di .` &&
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
+ as_fn_error $? "working directory cannot be determined"
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
+ as_fn_error $? "pwd does not report name of working directory"
+
+
+# Find the source files, if location was not specified.
+if test -z "$srcdir"; then
+ ac_srcdir_defaulted=yes
+ # Try the directory containing this script, then the parent directory.
+ ac_confdir=`$as_dirname -- "$as_myself" ||
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_myself" : 'X\(//\)[^/]' \| \
+ X"$as_myself" : 'X\(//\)$' \| \
+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_myself" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ srcdir=$ac_confdir
+ if test ! -r "$srcdir/$ac_unique_file"; then
+ srcdir=..
+ fi
+else
+ ac_srcdir_defaulted=no
+fi
+if test ! -r "$srcdir/$ac_unique_file"; then
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
+ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
+fi
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
+ac_abs_confdir=`(
+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
+ pwd)`
+# When building in place, set srcdir=.
+if test "$ac_abs_confdir" = "$ac_pwd"; then
+ srcdir=.
+fi
+# Remove unnecessary trailing slashes from srcdir.
+# Double slashes in file names in object file debugging info
+# mess up M-x gdb in Emacs.
+case $srcdir in
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
+esac
+for ac_var in $ac_precious_vars; do
+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
+ eval ac_env_${ac_var}_value=\$${ac_var}
+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
+done
+
+#
+# Report the --help message.
+#
+if test "$ac_init_help" = "long"; then
+ # Omit some internal or obsolete options to make the list less imposing.
+ # This message is too long to be a string in the A/UX 3.1 sh.
+ cat <<_ACEOF
+\`configure' configures mkbib 2.1 to adapt to many kinds of systems.
+
+Usage: $0 [OPTION]... [VAR=VALUE]...
+
+To assign environment variables (e.g., CC, CFLAGS...), specify them as
+VAR=VALUE. See below for descriptions of some of the useful variables.
+
+Defaults for the options are specified in brackets.
+
+Configuration:
+ -h, --help display this help and exit
+ --help=short display options specific to this package
+ --help=recursive display the short help of all the included packages
+ -V, --version display version information and exit
+ -q, --quiet, --silent do not print \`checking ...' messages
+ --cache-file=FILE cache test results in FILE [disabled]
+ -C, --config-cache alias for \`--cache-file=config.cache'
+ -n, --no-create do not create output files
+ --srcdir=DIR find the sources in DIR [configure dir or \`..']
+
+Installation directories:
+ --prefix=PREFIX install architecture-independent files in PREFIX
+ [$ac_default_prefix]
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
+ [PREFIX]
+
+By default, \`make install' will install all the files in
+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
+for instance \`--prefix=\$HOME'.
+
+For better control, use the options below.
+
+Fine tuning of the installation directories:
+ --bindir=DIR user executables [EPREFIX/bin]
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
+ --libexecdir=DIR program executables [EPREFIX/libexec]
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
+ --libdir=DIR object code libraries [EPREFIX/lib]
+ --includedir=DIR C header files [PREFIX/include]
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
+ --infodir=DIR info documentation [DATAROOTDIR/info]
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
+ --mandir=DIR man documentation [DATAROOTDIR/man]
+ --docdir=DIR documentation root [DATAROOTDIR/doc/mkbib]
+ --htmldir=DIR html documentation [DOCDIR]
+ --dvidir=DIR dvi documentation [DOCDIR]
+ --pdfdir=DIR pdf documentation [DOCDIR]
+ --psdir=DIR ps documentation [DOCDIR]
+_ACEOF
+
+ cat <<\_ACEOF
+
+Program names:
+ --program-prefix=PREFIX prepend PREFIX to installed program names
+ --program-suffix=SUFFIX append SUFFIX to installed program names
+ --program-transform-name=PROGRAM run sed PROGRAM on installed program names
+_ACEOF
+fi
+
+if test -n "$ac_init_help"; then
+ case $ac_init_help in
+ short | recursive ) echo "Configuration of mkbib 2.1:";;
+ esac
+ cat <<\_ACEOF
+
+Optional Features:
+ --disable-option-checking ignore unrecognized --enable/--with options
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+ --disable-nls do not use Native Language Support
+ --enable-dependency-tracking
+ do not reject slow dependency extractors
+ --disable-dependency-tracking
+ speeds up one-time build
+ --disable-gtktest do not try to compile and run a test GTK+ program
+ --disable-schemas-compile
+ Disable regeneration of gschemas.compiled on install
+
+Optional Packages:
+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
+ --with-help-dir=DIR path where help files are installed
+
+Some influential environment variables:
+ CC C compiler command
+ CFLAGS C compiler flags
+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
+ nonstandard directory <lib dir>
+ LIBS libraries to pass to the linker, e.g. -l<library>
+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
+ you have headers in a nonstandard directory <include dir>
+ PKG_CONFIG path to pkg-config utility
+ PKG_CONFIG_PATH
+ directories to add to pkg-config's search path
+ PKG_CONFIG_LIBDIR
+ path overriding pkg-config's built-in search path
+ YACC The `Yet Another Compiler Compiler' implementation to use.
+ Defaults to the first program found out of: `bison -y', `byacc',
+ `yacc'.
+ YFLAGS The list of arguments that will be passed by default to $YACC.
+ This script will default YFLAGS to the empty string to avoid a
+ default value of `-d' given by some make applications.
+ LIBSOUP_CFLAGS
+ C compiler flags for LIBSOUP, overriding pkg-config
+ LIBSOUP_LIBS
+ linker flags for LIBSOUP, overriding pkg-config
+ ITSTOOL Path to the `itstool` command
+ XMLLINT Path to the `xmllint` command
+
+Use these variables to override the choices made by `configure' or to help
+it to find libraries and programs with nonstandard names/locations.
+
+Report bugs to the package provider.
+_ACEOF
+ac_status=$?
+fi
+
+if test "$ac_init_help" = "recursive"; then
+ # If there are subdirs, report their specific --help.
+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
+ test -d "$ac_dir" ||
+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
+ continue
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+ cd "$ac_dir" || { ac_status=$?; continue; }
+ # Check for guested configure.
+ if test -f "$ac_srcdir/configure.gnu"; then
+ echo &&
+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
+ elif test -f "$ac_srcdir/configure"; then
+ echo &&
+ $SHELL "$ac_srcdir/configure" --help=recursive
+ else
+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
+ fi || ac_status=$?
+ cd "$ac_pwd" || { ac_status=$?; break; }
+ done
+fi
+
+test -n "$ac_init_help" && exit $ac_status
+if $ac_init_version; then
+ cat <<\_ACEOF
+mkbib configure 2.1
+generated by GNU Autoconf 2.69
+
+Copyright (C) 2012 Free Software Foundation, Inc.
+This configure script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it.
+_ACEOF
+ exit
+fi
+
+## ------------------------ ##
+## Autoconf initialization. ##
+## ------------------------ ##
+
+# ac_fn_c_try_compile LINENO
+# --------------------------
+# Try to compile conftest.$ac_ext, and return whether this succeeded.
+ac_fn_c_try_compile ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext
+ if { { ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compile") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_c_try_compile
+
+# ac_fn_c_try_link LINENO
+# -----------------------
+# Try to link conftest.$ac_ext, and return whether this succeeded.
+ac_fn_c_try_link ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext conftest$ac_exeext
+ if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ test -x conftest$ac_exeext
+ }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
+ # interfere with the next link command; also delete a directory that is
+ # left behind by Apple's compiler. We do this before executing the actions.
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_c_try_link
+
+# ac_fn_c_check_func LINENO FUNC VAR
+# ----------------------------------
+# Tests whether FUNC exists, setting the cache variable VAR accordingly
+ac_fn_c_check_func ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define $2 innocuous_$2
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $2 (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef $2
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $2 ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_$2 || defined __stub___$2
+choke me
+#endif
+
+int
+main ()
+{
+return $2 ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ eval "$3=yes"
+else
+ eval "$3=no"
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} # ac_fn_c_check_func
+
+# ac_fn_c_try_run LINENO
+# ----------------------
+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
+# that executables *can* be run.
+ac_fn_c_try_run ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
+ { { case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: program exited with status $ac_status" >&5
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=$ac_status
+fi
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_c_try_run
+cat >config.log <<_ACEOF
+This file contains any messages produced by compilers while
+running configure, to aid debugging if configure makes a mistake.
+
+It was created by mkbib $as_me 2.1, which was
+generated by GNU Autoconf 2.69. Invocation command line was
+
+ $ $0 $@
+
+_ACEOF
+exec 5>>config.log
+{
+cat <<_ASUNAME
+## --------- ##
+## Platform. ##
+## --------- ##
+
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
+
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
+
+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
+
+_ASUNAME
+
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ $as_echo "PATH: $as_dir"
+ done
+IFS=$as_save_IFS
+
+} >&5
+
+cat >&5 <<_ACEOF
+
+
+## ----------- ##
+## Core tests. ##
+## ----------- ##
+
+_ACEOF
+
+
+# Keep a trace of the command line.
+# Strip out --no-create and --no-recursion so they do not pile up.
+# Strip out --silent because we don't want to record it for future runs.
+# Also quote any args containing shell meta-characters.
+# Make two passes to allow for proper duplicate-argument suppression.
+ac_configure_args=
+ac_configure_args0=
+ac_configure_args1=
+ac_must_keep_next=false
+for ac_pass in 1 2
+do
+ for ac_arg
+ do
+ case $ac_arg in
+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ continue ;;
+ *\'*)
+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ case $ac_pass in
+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
+ 2)
+ as_fn_append ac_configure_args1 " '$ac_arg'"
+ if test $ac_must_keep_next = true; then
+ ac_must_keep_next=false # Got value, back to normal.
+ else
+ case $ac_arg in
+ *=* | --config-cache | -C | -disable-* | --disable-* \
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
+ | -with-* | --with-* | -without-* | --without-* | --x)
+ case "$ac_configure_args0 " in
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
+ esac
+ ;;
+ -* ) ac_must_keep_next=true ;;
+ esac
+ fi
+ as_fn_append ac_configure_args " '$ac_arg'"
+ ;;
+ esac
+ done
+done
+{ ac_configure_args0=; unset ac_configure_args0;}
+{ ac_configure_args1=; unset ac_configure_args1;}
+
+# When interrupted or exit'd, cleanup temporary files, and complete
+# config.log. We remove comments because anyway the quotes in there
+# would cause problems or look ugly.
+# WARNING: Use '\'' to represent an apostrophe within the trap.
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
+trap 'exit_status=$?
+ # Save into config.log some information that might help in debugging.
+ {
+ echo
+
+ $as_echo "## ---------------- ##
+## Cache variables. ##
+## ---------------- ##"
+ echo
+ # The following way of writing the cache mishandles newlines in values,
+(
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) { eval $ac_var=; unset $ac_var;} ;;
+ esac ;;
+ esac
+ done
+ (set) 2>&1 |
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ sed -n \
+ "s/'\''/'\''\\\\'\'''\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
+ ;; #(
+ *)
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+)
+ echo
+
+ $as_echo "## ----------------- ##
+## Output variables. ##
+## ----------------- ##"
+ echo
+ for ac_var in $ac_subst_vars
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+ $as_echo "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+
+ if test -n "$ac_subst_files"; then
+ $as_echo "## ------------------- ##
+## File substitutions. ##
+## ------------------- ##"
+ echo
+ for ac_var in $ac_subst_files
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+ $as_echo "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+ fi
+
+ if test -s confdefs.h; then
+ $as_echo "## ----------- ##
+## confdefs.h. ##
+## ----------- ##"
+ echo
+ cat confdefs.h
+ echo
+ fi
+ test "$ac_signal" != 0 &&
+ $as_echo "$as_me: caught signal $ac_signal"
+ $as_echo "$as_me: exit $exit_status"
+ } >&5
+ rm -f core *.core core.conftest.* &&
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
+ exit $exit_status
+' 0
+for ac_signal in 1 2 13 15; do
+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
+done
+ac_signal=0
+
+# confdefs.h avoids OS command line length limits that DEFS can exceed.
+rm -f -r conftest* confdefs.h
+
+$as_echo "/* confdefs.h */" > confdefs.h
+
+# Predefined preprocessor variables.
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_NAME "$PACKAGE_NAME"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_VERSION "$PACKAGE_VERSION"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_STRING "$PACKAGE_STRING"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_URL "$PACKAGE_URL"
+_ACEOF
+
+
+# Let the site file select an alternate cache file if it wants to.
+# Prefer an explicitly selected file to automatically selected ones.
+ac_site_file1=NONE
+ac_site_file2=NONE
+if test -n "$CONFIG_SITE"; then
+ # We do not want a PATH search for config.site.
+ case $CONFIG_SITE in #((
+ -*) ac_site_file1=./$CONFIG_SITE;;
+ */*) ac_site_file1=$CONFIG_SITE;;
+ *) ac_site_file1=./$CONFIG_SITE;;
+ esac
+elif test "x$prefix" != xNONE; then
+ ac_site_file1=$prefix/share/config.site
+ ac_site_file2=$prefix/etc/config.site
+else
+ ac_site_file1=$ac_default_prefix/share/config.site
+ ac_site_file2=$ac_default_prefix/etc/config.site
+fi
+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
+do
+ test "x$ac_site_file" = xNONE && continue
+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
+ sed 's/^/| /' "$ac_site_file" >&5
+ . "$ac_site_file" \
+ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "failed to load site script $ac_site_file
+See \`config.log' for more details" "$LINENO" 5; }
+ fi
+done
+
+if test -r "$cache_file"; then
+ # Some versions of bash will fail to source /dev/null (special files
+ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
+$as_echo "$as_me: loading cache $cache_file" >&6;}
+ case $cache_file in
+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
+ *) . "./$cache_file";;
+ esac
+ fi
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
+$as_echo "$as_me: creating cache $cache_file" >&6;}
+ >$cache_file
+fi
+
+# Check that the precious variables saved in the cache have kept the same
+# value.
+ac_cache_corrupted=false
+for ac_var in $ac_precious_vars; do
+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
+ eval ac_new_set=\$ac_env_${ac_var}_set
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
+ eval ac_new_val=\$ac_env_${ac_var}_value
+ case $ac_old_set,$ac_new_set in
+ set,)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,set)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,);;
+ *)
+ if test "x$ac_old_val" != "x$ac_new_val"; then
+ # differences in whitespace do not lead to failure.
+ ac_old_val_w=`echo x $ac_old_val`
+ ac_new_val_w=`echo x $ac_new_val`
+ if test "$ac_old_val_w" != "$ac_new_val_w"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
+ ac_cache_corrupted=:
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
+ eval $ac_var=\$ac_old_val
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
+ fi;;
+ esac
+ # Pass precious variables to config.status.
+ if test "$ac_new_set" = set; then
+ case $ac_new_val in
+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
+ *) ac_arg=$ac_var=$ac_new_val ;;
+ esac
+ case " $ac_configure_args " in
+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
+ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
+ esac
+ fi
+done
+if $ac_cache_corrupted; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
+ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
+fi
+## -------------------- ##
+## Main body of script. ##
+## -------------------- ##
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+ac_aux_dir=
+for ac_dir in build-aux "$srcdir"/build-aux; do
+ if test -f "$ac_dir/install-sh"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install-sh -c"
+ break
+ elif test -f "$ac_dir/install.sh"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install.sh -c"
+ break
+ elif test -f "$ac_dir/shtool"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/shtool install -c"
+ break
+ fi
+done
+if test -z "$ac_aux_dir"; then
+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
+fi
+
+# These three variables are undocumented and unsupported,
+# and are intended to be withdrawn in a future Autoconf release.
+# They can cause serious problems if a builder's source tree is in a directory
+# whose full name contains unusual characters.
+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
+
+
+ac_config_headers="$ac_config_headers config.h"
+
+
+
+am__api_version='1.12'
+
+# Find a good install program. We prefer a C program (faster),
+# so one script is as good as another. But avoid the broken or
+# incompatible versions:
+# SysV /etc/install, /usr/sbin/install
+# SunOS /usr/etc/install
+# IRIX /sbin/install
+# AIX /bin/install
+# AmigaOS /C/install, which installs bootblocks on floppy discs
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
+# OS/2's system install, which has a completely different semantic
+# ./install, which can be erroneously created by make from ./install.sh.
+# Reject install programs that cannot install multiple files.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
+$as_echo_n "checking for a BSD-compatible install... " >&6; }
+if test -z "$INSTALL"; then
+if ${ac_cv_path_install+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ # Account for people who put trailing slashes in PATH elements.
+case $as_dir/ in #((
+ ./ | .// | /[cC]/* | \
+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
+ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
+ /usr/ucb/* ) ;;
+ *)
+ # OSF1 and SCO ODT 3.0 have their own names for install.
+ # Don't use installbsd from OSF since it installs stuff as root
+ # by default.
+ for ac_prog in ginstall scoinst install; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
+ if test $ac_prog = install &&
+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+ # AIX install. It has an incompatible calling convention.
+ :
+ elif test $ac_prog = install &&
+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+ # program-specific install script used by HP pwplus--don't use.
+ :
+ else
+ rm -rf conftest.one conftest.two conftest.dir
+ echo one > conftest.one
+ echo two > conftest.two
+ mkdir conftest.dir
+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
+ test -s conftest.one && test -s conftest.two &&
+ test -s conftest.dir/conftest.one &&
+ test -s conftest.dir/conftest.two
+ then
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
+ break 3
+ fi
+ fi
+ fi
+ done
+ done
+ ;;
+esac
+
+ done
+IFS=$as_save_IFS
+
+rm -rf conftest.one conftest.two conftest.dir
+
+fi
+ if test "${ac_cv_path_install+set}" = set; then
+ INSTALL=$ac_cv_path_install
+ else
+ # As a last resort, use the slow shell script. Don't cache a
+ # value for INSTALL within a source directory, because that will
+ # break other packages using the cache if that directory is
+ # removed, or if the value is a relative name.
+ INSTALL=$ac_install_sh
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
+$as_echo "$INSTALL" >&6; }
+
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
+# It thinks the first close brace ends the variable substitution.
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
+
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
+$as_echo_n "checking whether build environment is sane... " >&6; }
+# Reject unsafe characters in $srcdir or the absolute working directory
+# name. Accept space and tab only in the latter.
+am_lf='
+'
+case `pwd` in
+ *[\\\"\#\$\&\'\`$am_lf]*)
+ as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
+esac
+case $srcdir in
+ *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
+ as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
+esac
+
+# Do 'set' in a subshell so we don't clobber the current shell's
+# arguments. Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+ am_has_slept=no
+ for am_try in 1 2; do
+ echo "timestamp, slept: $am_has_slept" > conftest.file
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
+ if test "$*" = "X"; then
+ # -L didn't work.
+ set X `ls -t "$srcdir/configure" conftest.file`
+ fi
+ if test "$*" != "X $srcdir/configure conftest.file" \
+ && test "$*" != "X conftest.file $srcdir/configure"; then
+
+ # If neither matched, then we have a broken ls. This can happen
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
+ # broken ls alias from the environment. This has actually
+ # happened. Such a system could not be considered "sane".
+ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
+ alias in your environment" "$LINENO" 5
+ fi
+ if test "$2" = conftest.file || test $am_try -eq 2; then
+ break
+ fi
+ # Just in case.
+ sleep 1
+ am_has_slept=yes
+ done
+ test "$2" = conftest.file
+ )
+then
+ # Ok.
+ :
+else
+ as_fn_error $? "newly created file is older than distributed files!
+Check your system clock" "$LINENO" 5
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+# If we didn't sleep, we still need to ensure time stamps of config.status and
+# generated files are strictly newer.
+am_sleep_pid=
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
+ ( sleep 1 ) &
+ am_sleep_pid=$!
+fi
+
+rm -f conftest.file
+
+test "$program_prefix" != NONE &&
+ program_transform_name="s&^&$program_prefix&;$program_transform_name"
+# Use a double $ so make ignores it.
+test "$program_suffix" != NONE &&
+ program_transform_name="s&\$&$program_suffix&;$program_transform_name"
+# Double any \ or $.
+# By default was `s,x,x', remove it if useless.
+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
+
+# expand $ac_aux_dir to an absolute path
+am_aux_dir=`cd $ac_aux_dir && pwd`
+
+if test x"${MISSING+set}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
+ *)
+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
+ esac
+fi
+# Use eval to expand $SHELL
+if eval "$MISSING --run true"; then
+ am_missing_run="$MISSING --run "
+else
+ am_missing_run=
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
+$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
+fi
+
+if test x"${install_sh}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
+ *)
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
+ esac
+fi
+
+# Installed binaries are usually stripped using 'strip' when the user
+# run "make install-strip". However 'strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the 'STRIP' environment variable to overrule this program.
+if test "$cross_compiling" != no; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+set dummy ${ac_tool_prefix}strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_STRIP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$STRIP"; then
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+STRIP=$ac_cv_prog_STRIP
+if test -n "$STRIP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
+$as_echo "$STRIP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_STRIP"; then
+ ac_ct_STRIP=$STRIP
+ # Extract the first word of "strip", so it can be a program name with args.
+set dummy strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_STRIP"; then
+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_STRIP="strip"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
+if test -n "$ac_ct_STRIP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
+$as_echo "$ac_ct_STRIP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_STRIP" = x; then
+ STRIP=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ STRIP=$ac_ct_STRIP
+ fi
+else
+ STRIP="$ac_cv_prog_STRIP"
+fi
+
+fi
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
+if test -z "$MKDIR_P"; then
+ if ${ac_cv_path_mkdir+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in mkdir gmkdir; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
+ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
+ 'mkdir (GNU coreutils) '* | \
+ 'mkdir (coreutils) '* | \
+ 'mkdir (fileutils) '4.1*)
+ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
+ break 3;;
+ esac
+ done
+ done
+ done
+IFS=$as_save_IFS
+
+fi
+
+ test -d ./--version && rmdir ./--version
+ if test "${ac_cv_path_mkdir+set}" = set; then
+ MKDIR_P="$ac_cv_path_mkdir -p"
+ else
+ # As a last resort, use the slow shell script. Don't cache a
+ # value for MKDIR_P within a source directory, because that will
+ # break other packages using the cache if that directory is
+ # removed, or if the value is a relative name.
+ MKDIR_P="$ac_install_sh -d"
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
+$as_echo "$MKDIR_P" >&6; }
+
+for ac_prog in gawk mawk nawk awk
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AWK+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$AWK"; then
+ ac_cv_prog_AWK="$AWK" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_AWK="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+AWK=$ac_cv_prog_AWK
+if test -n "$AWK"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
+$as_echo "$AWK" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$AWK" && break
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
+set x ${MAKE-make}
+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.make <<\_ACEOF
+SHELL = /bin/sh
+all:
+ @echo '@@@%%%=$(MAKE)=@@@%%%'
+_ACEOF
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
+case `${MAKE-make} -f conftest.make 2>/dev/null` in
+ *@@@%%%=?*=@@@%%%*)
+ eval ac_cv_prog_make_${ac_make}_set=yes;;
+ *)
+ eval ac_cv_prog_make_${ac_make}_set=no;;
+esac
+rm -f conftest.make
+fi
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ SET_MAKE=
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ SET_MAKE="MAKE=${MAKE-make}"
+fi
+
+rm -rf .tst 2>/dev/null
+mkdir .tst 2>/dev/null
+if test -d .tst; then
+ am__leading_dot=.
+else
+ am__leading_dot=_
+fi
+rmdir .tst 2>/dev/null
+
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
+ # is not polluted with repeated "-I."
+ am__isrc=' -I$(srcdir)'
+ # test to see if srcdir already configured
+ if test -f $srcdir/config.status; then
+ as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
+ fi
+fi
+
+# test whether we have cygpath
+if test -z "$CYGPATH_W"; then
+ if (cygpath --version) >/dev/null 2>/dev/null; then
+ CYGPATH_W='cygpath -w'
+ else
+ CYGPATH_W=echo
+ fi
+fi
+
+
+# Define the identity of the package.
+ PACKAGE='mkbib'
+ VERSION='2.1'
+
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define VERSION "$VERSION"
+_ACEOF
+
+# Some tools Automake needs.
+
+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
+
+
+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
+
+
+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
+
+
+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
+
+
+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
+
+# For better backward compatibility. To be removed once Automake 1.9.x
+# dies out for good. For more background, see:
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+mkdir_p='$(MKDIR_P)'
+
+# We need awk for the "check" target. The system "awk" is bad on
+# some platforms.
+# Always define AMTAR for backward compatibility. Yes, it's still used
+# in the wild :-( We should find a proper way to deprecate it ...
+AMTAR='$${TAR-tar}'
+
+am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
+
+
+
+
+
+
+#GETTEXT_PACKAGE=AC_PACKAGE_NAME
+#AC_SUBST(GETTEXT_PACKAGE)
+#AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",[The name of the gettext domain])
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
+$as_echo_n "checking whether NLS is requested... " >&6; }
+ # Check whether --enable-nls was given.
+if test "${enable_nls+set}" = set; then :
+ enableval=$enable_nls; USE_NLS=$enableval
+else
+ USE_NLS=yes
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
+$as_echo "$USE_NLS" >&6; }
+
+
+DEPDIR="${am__leading_dot}deps"
+
+ac_config_commands="$ac_config_commands depfiles"
+
+
+am_make=${MAKE-make}
+cat > confinc << 'END'
+am__doit:
+ @echo this is the am__doit target
+.PHONY: am__doit
+END
+# If we don't find an include directive, just comment out the code.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
+$as_echo_n "checking for style of include used by $am_make... " >&6; }
+am__include="#"
+am__quote=
+_am_result=none
+# First try GNU make style include.
+echo "include confinc" > confmf
+# Ignore all kinds of additional output from 'make'.
+case `$am_make -s -f confmf 2> /dev/null` in #(
+*the\ am__doit\ target*)
+ am__include=include
+ am__quote=
+ _am_result=GNU
+ ;;
+esac
+# Now try BSD make style include.
+if test "$am__include" = "#"; then
+ echo '.include "confinc"' > confmf
+ case `$am_make -s -f confmf 2> /dev/null` in #(
+ *the\ am__doit\ target*)
+ am__include=.include
+ am__quote="\""
+ _am_result=BSD
+ ;;
+ esac
+fi
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
+$as_echo "$_am_result" >&6; }
+rm -f confinc confmf
+
+# Check whether --enable-dependency-tracking was given.
+if test "${enable_dependency_tracking+set}" = set; then :
+ enableval=$enable_dependency_tracking;
+fi
+
+if test "x$enable_dependency_tracking" != xno; then
+ am_depcomp="$ac_aux_dir/depcomp"
+ AMDEPBACKSLASH='\'
+ am__nodep='_no'
+fi
+ if test "x$enable_dependency_tracking" != xno; then
+ AMDEP_TRUE=
+ AMDEP_FALSE='#'
+else
+ AMDEP_TRUE='#'
+ AMDEP_FALSE=
+fi
+
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_CC"; then
+ ac_ct_CC=$CC
+ # Extract the first word of "gcc", so it can be a program name with args.
+set dummy gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+else
+ CC="$ac_cv_prog_CC"
+fi
+
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ fi
+fi
+if test -z "$CC"; then
+ # Extract the first word of "cc", so it can be a program name with args.
+set dummy cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+ ac_prog_rejected=no
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
+ ac_prog_rejected=yes
+ continue
+ fi
+ ac_cv_prog_CC="cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+if test $ac_prog_rejected = yes; then
+ # We found a bogon in the path, so make sure we never use it.
+ set dummy $ac_cv_prog_CC
+ shift
+ if test $# != 0; then
+ # We chose a different compiler from the bogus one.
+ # However, it has the same basename, so the bogon will be chosen
+ # first if we set CC to just the basename; use the full file name.
+ shift
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
+ fi
+fi
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in cl.exe
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$CC" && break
+ done
+fi
+if test -z "$CC"; then
+ ac_ct_CC=$CC
+ for ac_prog in cl.exe
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_CC" && break
+done
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+fi
+
+fi
+
+
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "no acceptable C compiler found in \$PATH
+See \`config.log' for more details" "$LINENO" 5; }
+
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+ { { ac_try="$ac_compiler $ac_option >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ sed '10a\
+... rest of stderr output deleted ...
+ 10q' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ fi
+ rm -f conftest.er1 conftest.err
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+done
+
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
+# Try to create an executable without -o first, disregard a.out.
+# It will help us diagnose broken compilers, and finding out an intuition
+# of exeext.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
+$as_echo_n "checking whether the C compiler works... " >&6; }
+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
+
+# The possible output files:
+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
+
+ac_rmfiles=
+for ac_file in $ac_files
+do
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
+ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
+ esac
+done
+rm -f $ac_rmfiles
+
+if { { ac_try="$ac_link_default"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link_default") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
+# in a Makefile. We should not override ac_cv_exeext if it was cached,
+# so that the user can short-circuit this test for compilers unknown to
+# Autoconf.
+for ac_file in $ac_files ''
+do
+ test -f "$ac_file" || continue
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
+ ;;
+ [ab].out )
+ # We found the default executable, but exeext='' is most
+ # certainly right.
+ break;;
+ *.* )
+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
+ then :; else
+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+ fi
+ # We set ac_cv_exeext here because the later test for it is not
+ # safe: cross compilers may not add the suffix if given an `-o'
+ # argument, so we may need to know it at that point already.
+ # Even if this section looks crufty: it has the advantage of
+ # actually working.
+ break;;
+ * )
+ break;;
+ esac
+done
+test "$ac_cv_exeext" = no && ac_cv_exeext=
+
+else
+ ac_file=''
+fi
+if test -z "$ac_file"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+$as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error 77 "C compiler cannot create executables
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
+$as_echo_n "checking for C compiler default output file name... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
+$as_echo "$ac_file" >&6; }
+ac_exeext=$ac_cv_exeext
+
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
+ac_clean_files=$ac_clean_files_save
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
+$as_echo_n "checking for suffix of executables... " >&6; }
+if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
+ # If both `conftest.exe' and `conftest' are `present' (well, observable)
+# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
+# work properly (i.e., refer to `conftest.exe'), while it won't with
+# `rm'.
+for ac_file in conftest.exe conftest conftest.*; do
+ test -f "$ac_file" || continue
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+ break;;
+ * ) break;;
+ esac
+done
+else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot compute suffix of executables: cannot compile and link
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+rm -f conftest conftest$ac_cv_exeext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
+$as_echo "$ac_cv_exeext" >&6; }
+
+rm -f conftest.$ac_ext
+EXEEXT=$ac_cv_exeext
+ac_exeext=$EXEEXT
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdio.h>
+int
+main ()
+{
+FILE *f = fopen ("conftest.out", "w");
+ return ferror (f) || fclose (f) != 0;
+
+ ;
+ return 0;
+}
+_ACEOF
+ac_clean_files="$ac_clean_files conftest.out"
+# Check that the compiler produces executables we can run. If not, either
+# the compiler is broken, or we cross compile.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
+$as_echo_n "checking whether we are cross compiling... " >&6; }
+if test "$cross_compiling" != yes; then
+ { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ if { ac_try='./conftest$ac_cv_exeext'
+ { { case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; }; then
+ cross_compiling=no
+ else
+ if test "$cross_compiling" = maybe; then
+ cross_compiling=yes
+ else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot run C compiled programs.
+If you meant to cross compile, use \`--host'.
+See \`config.log' for more details" "$LINENO" 5; }
+ fi
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
+$as_echo "$cross_compiling" >&6; }
+
+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
+ac_clean_files=$ac_clean_files_save
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
+$as_echo_n "checking for suffix of object files... " >&6; }
+if ${ac_cv_objext+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.o conftest.obj
+if { { ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compile") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
+ for ac_file in conftest.o conftest.obj conftest.*; do
+ test -f "$ac_file" || continue;
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
+ break;;
+ esac
+done
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot compute suffix of object files: cannot compile
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+rm -f conftest.$ac_cv_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
+$as_echo "$ac_cv_objext" >&6; }
+OBJEXT=$ac_cv_objext
+ac_objext=$OBJEXT
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
+if ${ac_cv_c_compiler_gnu+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+#ifndef __GNUC__
+ choke me
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_compiler_gnu=yes
+else
+ ac_compiler_gnu=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
+if test $ac_compiler_gnu = yes; then
+ GCC=yes
+else
+ GCC=
+fi
+ac_test_CFLAGS=${CFLAGS+set}
+ac_save_CFLAGS=$CFLAGS
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
+if ${ac_cv_prog_cc_g+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_save_c_werror_flag=$ac_c_werror_flag
+ ac_c_werror_flag=yes
+ ac_cv_prog_cc_g=no
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+else
+ CFLAGS=""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+else
+ ac_c_werror_flag=$ac_save_c_werror_flag
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_c_werror_flag=$ac_save_c_werror_flag
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
+$as_echo "$ac_cv_prog_cc_g" >&6; }
+if test "$ac_test_CFLAGS" = set; then
+ CFLAGS=$ac_save_CFLAGS
+elif test $ac_cv_prog_cc_g = yes; then
+ if test "$GCC" = yes; then
+ CFLAGS="-g -O2"
+ else
+ CFLAGS="-g"
+ fi
+else
+ if test "$GCC" = yes; then
+ CFLAGS="-O2"
+ else
+ CFLAGS=
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
+if ${ac_cv_prog_cc_c89+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_cv_prog_cc_c89=no
+ac_save_CC=$CC
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdarg.h>
+#include <stdio.h>
+struct stat;
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
+struct buf { int x; };
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
+static char *e (p, i)
+ char **p;
+ int i;
+{
+ return p[i];
+}
+static char *f (char * (*g) (char **, int), char **p, ...)
+{
+ char *s;
+ va_list v;
+ va_start (v,p);
+ s = g (p, va_arg (v,int));
+ va_end (v);
+ return s;
+}
+
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
+ function prototypes and stuff, but not '\xHH' hex character constants.
+ These don't provoke an error unfortunately, instead are silently treated
+ as 'x'. The following induces an error, until -std is added to get
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
+ array size at least. It's necessary to write '\x00'==0 to get something
+ that's true only with -std. */
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
+
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
+ inside strings and character constants. */
+#define FOO(x) 'x'
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
+
+int test (int i, double x);
+struct s1 {int (*f) (int a);};
+struct s2 {int (*f) (double a);};
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+int argc;
+char **argv;
+int
+main ()
+{
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
+ ;
+ return 0;
+}
+_ACEOF
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+do
+ CC="$ac_save_CC $ac_arg"
+ if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_c89=$ac_arg
+fi
+rm -f core conftest.err conftest.$ac_objext
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
+done
+rm -f conftest.$ac_ext
+CC=$ac_save_CC
+
+fi
+# AC_CACHE_VAL
+case "x$ac_cv_prog_cc_c89" in
+ x)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
+$as_echo "none needed" >&6; } ;;
+ xno)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
+$as_echo "unsupported" >&6; } ;;
+ *)
+ CC="$CC $ac_cv_prog_cc_c89"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
+esac
+if test "x$ac_cv_prog_cc_c89" != xno; then :
+
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+depcc="$CC" am_compiler_list=
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
+$as_echo_n "checking dependency style of $depcc... " >&6; }
+if ${am_cv_CC_dependencies_compiler_type+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named 'D' -- because '-MD' means "put the output
+ # in D".
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_CC_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+ fi
+ am__universal=false
+ case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac
+
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
+ # Solaris 10 /bin/sh.
+ echo '/* dummy */' > sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle '-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs.
+ am__obj=sub/conftest.${OBJEXT-o}
+ am__minus_obj="-o $am__obj"
+ case $depmode in
+ gcc)
+ # This depmode causes a compiler race in universal mode.
+ test "$am__universal" = false || continue
+ ;;
+ nosideeffect)
+ # After this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested.
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+ # This compiler won't grok '-c -o', but also, the minuso test has
+ # not run yet. These depmodes are late enough in the game, and
+ # so weak that their functioning should not be impacted.
+ am__obj=conftest.${OBJEXT-o}
+ am__minus_obj=
+ ;;
+ none) break ;;
+ esac
+ if depmode=$depmode \
+ source=sub/conftest.c object=$am__obj \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_CC_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_CC_dependencies_compiler_type=none
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
+
+ if
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
+ am__fastdepCC_TRUE=
+ am__fastdepCC_FALSE='#'
+else
+ am__fastdepCC_TRUE='#'
+ am__fastdepCC_FALSE=
+fi
+
+
+
+
+
+case "$am__api_version" in
+ 1.01234)
+ as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
+ ;;
+ *)
+ ;;
+esac
+
+INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
+INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
+INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
+if test -n "0.40.0"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
+$as_echo_n "checking for intltool >= 0.40.0... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
+$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
+ test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
+ as_fn_error $? "Your intltool is too old. You need intltool 0.40.0 or later." "$LINENO" 5
+fi
+
+# Extract the first word of "intltool-update", so it can be a program name with args.
+set dummy intltool-update; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $INTLTOOL_UPDATE in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
+if test -n "$INTLTOOL_UPDATE"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
+$as_echo "$INTLTOOL_UPDATE" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+# Extract the first word of "intltool-merge", so it can be a program name with args.
+set dummy intltool-merge; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $INTLTOOL_MERGE in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
+if test -n "$INTLTOOL_MERGE"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
+$as_echo "$INTLTOOL_MERGE" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+# Extract the first word of "intltool-extract", so it can be a program name with args.
+set dummy intltool-extract; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $INTLTOOL_EXTRACT in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
+if test -n "$INTLTOOL_EXTRACT"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
+$as_echo "$INTLTOOL_EXTRACT" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
+ as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
+fi
+
+if test -z "$AM_DEFAULT_VERBOSITY"; then
+ AM_DEFAULT_VERBOSITY=1
+fi
+
+
+INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
+INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
+INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
+
+
+
+
+INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
+intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
+intltool__v_merge_options_0='-q'
+
+
+
+
+ INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+ INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+ INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+ INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
+ INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+ INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+ INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+ INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+ INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
+ INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
+else
+ INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
+fi
+ INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+ INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+ INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+ INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+ INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+ INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+ INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+# Check the gettext tools to make sure they are GNU
+# Extract the first word of "xgettext", so it can be a program name with args.
+set dummy xgettext; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_XGETTEXT+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $XGETTEXT in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+XGETTEXT=$ac_cv_path_XGETTEXT
+if test -n "$XGETTEXT"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
+$as_echo "$XGETTEXT" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+# Extract the first word of "msgmerge", so it can be a program name with args.
+set dummy msgmerge; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_MSGMERGE+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $MSGMERGE in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+MSGMERGE=$ac_cv_path_MSGMERGE
+if test -n "$MSGMERGE"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
+$as_echo "$MSGMERGE" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+# Extract the first word of "msgfmt", so it can be a program name with args.
+set dummy msgfmt; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_MSGFMT+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $MSGFMT in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+MSGFMT=$ac_cv_path_MSGFMT
+if test -n "$MSGFMT"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
+$as_echo "$MSGFMT" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+# Extract the first word of "gmsgfmt", so it can be a program name with args.
+set dummy gmsgfmt; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_GMSGFMT+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $GMSGFMT in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
+ ;;
+esac
+fi
+GMSGFMT=$ac_cv_path_GMSGFMT
+if test -n "$GMSGFMT"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
+$as_echo "$GMSGFMT" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
+ as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
+fi
+xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
+mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
+mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
+if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
+ as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
+fi
+
+# Extract the first word of "perl", so it can be a program name with args.
+set dummy perl; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $INTLTOOL_PERL in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
+if test -n "$INTLTOOL_PERL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
+$as_echo "$INTLTOOL_PERL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+if test -z "$INTLTOOL_PERL"; then
+ as_fn_error $? "perl not found" "$LINENO" 5
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
+$as_echo_n "checking for perl >= 5.8.1... " >&6; }
+$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
+if test $? -ne 0; then
+ as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
+else
+ IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
+$as_echo "$IT_PERL_VERSION" >&6; }
+fi
+if test "x" != "xno-xml"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
+$as_echo_n "checking for XML::Parser... " >&6; }
+ if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
+$as_echo "ok" >&6; }
+ else
+ as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
+ fi
+fi
+
+# Substitute ALL_LINGUAS so we can use it in po/Makefile
+
+
+# Set DATADIRNAME correctly if it is not set yet
+# (copied from glib-gettext.m4)
+if test -z "$DATADIRNAME"; then
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+extern int _nl_msg_cat_cntr;
+ return _nl_msg_cat_cntr
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ DATADIRNAME=share
+else
+ case $host in
+ *-*-solaris*)
+ ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
+if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
+ DATADIRNAME=share
+else
+ DATADIRNAME=lib
+fi
+
+ ;;
+ *)
+ DATADIRNAME=lib
+ ;;
+ esac
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+
+
+
+
+
+#AC_SUBST(GETTEXT_PACKAGE, mkbib)
+
+
+
+
+
+
+
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
+set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_PKG_CONFIG+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $PKG_CONFIG in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+PKG_CONFIG=$ac_cv_path_PKG_CONFIG
+if test -n "$PKG_CONFIG"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
+$as_echo "$PKG_CONFIG" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_path_PKG_CONFIG"; then
+ ac_pt_PKG_CONFIG=$PKG_CONFIG
+ # Extract the first word of "pkg-config", so it can be a program name with args.
+set dummy pkg-config; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $ac_pt_PKG_CONFIG in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
+if test -n "$ac_pt_PKG_CONFIG"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
+$as_echo "$ac_pt_PKG_CONFIG" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_pt_PKG_CONFIG" = x; then
+ PKG_CONFIG=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ PKG_CONFIG=$ac_pt_PKG_CONFIG
+ fi
+else
+ PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
+fi
+
+fi
+if test -n "$PKG_CONFIG"; then
+ _pkg_min_version=0.22
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
+$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
+ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ PKG_CONFIG=""
+ fi
+fi
+
+# Checks for programs.
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_CC"; then
+ ac_ct_CC=$CC
+ # Extract the first word of "gcc", so it can be a program name with args.
+set dummy gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+else
+ CC="$ac_cv_prog_CC"
+fi
+
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ fi
+fi
+if test -z "$CC"; then
+ # Extract the first word of "cc", so it can be a program name with args.
+set dummy cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+ ac_prog_rejected=no
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
+ ac_prog_rejected=yes
+ continue
+ fi
+ ac_cv_prog_CC="cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+if test $ac_prog_rejected = yes; then
+ # We found a bogon in the path, so make sure we never use it.
+ set dummy $ac_cv_prog_CC
+ shift
+ if test $# != 0; then
+ # We chose a different compiler from the bogus one.
+ # However, it has the same basename, so the bogon will be chosen
+ # first if we set CC to just the basename; use the full file name.
+ shift
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
+ fi
+fi
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in cl.exe
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$CC" && break
+ done
+fi
+if test -z "$CC"; then
+ ac_ct_CC=$CC
+ for ac_prog in cl.exe
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_CC" && break
+done
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+fi
+
+fi
+
+
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "no acceptable C compiler found in \$PATH
+See \`config.log' for more details" "$LINENO" 5; }
+
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+ { { ac_try="$ac_compiler $ac_option >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ sed '10a\
+... rest of stderr output deleted ...
+ 10q' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ fi
+ rm -f conftest.er1 conftest.err
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
+if ${ac_cv_c_compiler_gnu+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+#ifndef __GNUC__
+ choke me
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_compiler_gnu=yes
+else
+ ac_compiler_gnu=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
+if test $ac_compiler_gnu = yes; then
+ GCC=yes
+else
+ GCC=
+fi
+ac_test_CFLAGS=${CFLAGS+set}
+ac_save_CFLAGS=$CFLAGS
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
+if ${ac_cv_prog_cc_g+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_save_c_werror_flag=$ac_c_werror_flag
+ ac_c_werror_flag=yes
+ ac_cv_prog_cc_g=no
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+else
+ CFLAGS=""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+else
+ ac_c_werror_flag=$ac_save_c_werror_flag
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_c_werror_flag=$ac_save_c_werror_flag
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
+$as_echo "$ac_cv_prog_cc_g" >&6; }
+if test "$ac_test_CFLAGS" = set; then
+ CFLAGS=$ac_save_CFLAGS
+elif test $ac_cv_prog_cc_g = yes; then
+ if test "$GCC" = yes; then
+ CFLAGS="-g -O2"
+ else
+ CFLAGS="-g"
+ fi
+else
+ if test "$GCC" = yes; then
+ CFLAGS="-O2"
+ else
+ CFLAGS=
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
+if ${ac_cv_prog_cc_c89+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_cv_prog_cc_c89=no
+ac_save_CC=$CC
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdarg.h>
+#include <stdio.h>
+struct stat;
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
+struct buf { int x; };
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
+static char *e (p, i)
+ char **p;
+ int i;
+{
+ return p[i];
+}
+static char *f (char * (*g) (char **, int), char **p, ...)
+{
+ char *s;
+ va_list v;
+ va_start (v,p);
+ s = g (p, va_arg (v,int));
+ va_end (v);
+ return s;
+}
+
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
+ function prototypes and stuff, but not '\xHH' hex character constants.
+ These don't provoke an error unfortunately, instead are silently treated
+ as 'x'. The following induces an error, until -std is added to get
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
+ array size at least. It's necessary to write '\x00'==0 to get something
+ that's true only with -std. */
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
+
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
+ inside strings and character constants. */
+#define FOO(x) 'x'
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
+
+int test (int i, double x);
+struct s1 {int (*f) (int a);};
+struct s2 {int (*f) (double a);};
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+int argc;
+char **argv;
+int
+main ()
+{
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
+ ;
+ return 0;
+}
+_ACEOF
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+do
+ CC="$ac_save_CC $ac_arg"
+ if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_c89=$ac_arg
+fi
+rm -f core conftest.err conftest.$ac_objext
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
+done
+rm -f conftest.$ac_ext
+CC=$ac_save_CC
+
+fi
+# AC_CACHE_VAL
+case "x$ac_cv_prog_cc_c89" in
+ x)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
+$as_echo "none needed" >&6; } ;;
+ xno)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
+$as_echo "unsupported" >&6; } ;;
+ *)
+ CC="$CC $ac_cv_prog_cc_c89"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
+esac
+if test "x$ac_cv_prog_cc_c89" != xno; then :
+
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+depcc="$CC" am_compiler_list=
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
+$as_echo_n "checking dependency style of $depcc... " >&6; }
+if ${am_cv_CC_dependencies_compiler_type+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named 'D' -- because '-MD' means "put the output
+ # in D".
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_CC_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+ fi
+ am__universal=false
+ case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac
+
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
+ # Solaris 10 /bin/sh.
+ echo '/* dummy */' > sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle '-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs.
+ am__obj=sub/conftest.${OBJEXT-o}
+ am__minus_obj="-o $am__obj"
+ case $depmode in
+ gcc)
+ # This depmode causes a compiler race in universal mode.
+ test "$am__universal" = false || continue
+ ;;
+ nosideeffect)
+ # After this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested.
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+ # This compiler won't grok '-c -o', but also, the minuso test has
+ # not run yet. These depmodes are late enough in the game, and
+ # so weak that their functioning should not be impacted.
+ am__obj=conftest.${OBJEXT-o}
+ am__minus_obj=
+ ;;
+ none) break ;;
+ esac
+ if depmode=$depmode \
+ source=sub/conftest.c object=$am__obj \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_CC_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_CC_dependencies_compiler_type=none
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
+
+ if
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
+ am__fastdepCC_TRUE=
+ am__fastdepCC_FALSE='#'
+else
+ am__fastdepCC_TRUE='#'
+ am__fastdepCC_FALSE=
+fi
+
+
+if test "x$CC" != xcc; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
+$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
+$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
+fi
+set dummy $CC; ac_cc=`$as_echo "$2" |
+ sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
+if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+# Make sure it works both with $CC and with simple cc.
+# We do the test twice because some compilers refuse to overwrite an
+# existing .o file with -o, though they will create one.
+ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
+rm -f conftest2.*
+if { { case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } &&
+ test -f conftest2.$ac_objext && { { case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; };
+then
+ eval ac_cv_prog_cc_${ac_cc}_c_o=yes
+ if test "x$CC" != xcc; then
+ # Test first that cc exists at all.
+ if { ac_try='cc -c conftest.$ac_ext >&5'
+ { { case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; }; then
+ ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
+ rm -f conftest2.*
+ if { { case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } &&
+ test -f conftest2.$ac_objext && { { case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; };
+ then
+ # cc works too.
+ :
+ else
+ # cc exists but doesn't like -o.
+ eval ac_cv_prog_cc_${ac_cc}_c_o=no
+ fi
+ fi
+ fi
+else
+ eval ac_cv_prog_cc_${ac_cc}_c_o=no
+fi
+rm -f core conftest*
+
+fi
+if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
+
+fi
+
+# FIXME: we rely on the cache variable name because
+# there is no other way.
+set dummy $CC
+am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
+eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
+if test "$am_t" != yes; then
+ # Losing compiler, so override with the script.
+ # FIXME: It is wrong to rewrite CC.
+ # But if we don't then we get into trouble of one sort or another.
+ # A longer-term fix would be to have automake use am__CC in this case,
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
+ CC="$am_aux_dir/compile $CC"
+fi
+
+
+
+for ac_prog in 'bison -y' byacc
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_YACC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$YACC"; then
+ ac_cv_prog_YACC="$YACC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_YACC="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+YACC=$ac_cv_prog_YACC
+if test -n "$YACC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
+$as_echo "$YACC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$YACC" && break
+done
+test -n "$YACC" || YACC="yacc"
+
+if test x"$YACC" = "xyacc"; then
+ # Extract the first word of "yacc", so it can be a program name with args.
+set dummy yacc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_YACC_EXISTS+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$YACC_EXISTS"; then
+ ac_cv_prog_YACC_EXISTS="$YACC_EXISTS" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_YACC_EXISTS="yes"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ test -z "$ac_cv_prog_YACC_EXISTS" && ac_cv_prog_YACC_EXISTS="no"
+fi
+fi
+YACC_EXISTS=$ac_cv_prog_YACC_EXISTS
+if test -n "$YACC_EXISTS"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC_EXISTS" >&5
+$as_echo "$YACC_EXISTS" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ if test x"$YACC_EXISTS" != xyes; then
+ as_fn_error $? "bison/byacc/yacc not found.
+ Please install bison" "$LINENO" 5
+ fi
+fi
+
+for ac_prog in flex lex
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_LEX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$LEX"; then
+ ac_cv_prog_LEX="$LEX" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_LEX="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+LEX=$ac_cv_prog_LEX
+if test -n "$LEX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
+$as_echo "$LEX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$LEX" && break
+done
+test -n "$LEX" || LEX=":"
+
+if test "x$LEX" != "x:"; then
+ cat >conftest.l <<_ACEOF
+%%
+a { ECHO; }
+b { REJECT; }
+c { yymore (); }
+d { yyless (1); }
+e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
+ yyless ((input () != 0)); }
+f { unput (yytext[0]); }
+. { BEGIN INITIAL; }
+%%
+#ifdef YYTEXT_POINTER
+extern char *yytext;
+#endif
+int
+main (void)
+{
+ return ! yylex () + ! yywrap ();
+}
+_ACEOF
+{ { ac_try="$LEX conftest.l"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$LEX conftest.l") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
+$as_echo_n "checking lex output file root... " >&6; }
+if ${ac_cv_prog_lex_root+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+if test -f lex.yy.c; then
+ ac_cv_prog_lex_root=lex.yy
+elif test -f lexyy.c; then
+ ac_cv_prog_lex_root=lexyy
+else
+ as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
+$as_echo "$ac_cv_prog_lex_root" >&6; }
+LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
+
+if test -z "${LEXLIB+set}"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
+$as_echo_n "checking lex library... " >&6; }
+if ${ac_cv_lib_lex+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ ac_save_LIBS=$LIBS
+ ac_cv_lib_lex='none needed'
+ for ac_lib in '' -lfl -ll; do
+ LIBS="$ac_lib $ac_save_LIBS"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+`cat $LEX_OUTPUT_ROOT.c`
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_lex=$ac_lib
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ test "$ac_cv_lib_lex" != 'none needed' && break
+ done
+ LIBS=$ac_save_LIBS
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
+$as_echo "$ac_cv_lib_lex" >&6; }
+ test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
+fi
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
+$as_echo_n "checking whether yytext is a pointer... " >&6; }
+if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # POSIX says lex can declare yytext either as a pointer or an array; the
+# default is implementation-dependent. Figure out which it is, since
+# not all implementations provide the %pointer and %array declarations.
+ac_cv_prog_lex_yytext_pointer=no
+ac_save_LIBS=$LIBS
+LIBS="$LEXLIB $ac_save_LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ #define YYTEXT_POINTER 1
+`cat $LEX_OUTPUT_ROOT.c`
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_prog_lex_yytext_pointer=yes
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_save_LIBS
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
+$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
+if test $ac_cv_prog_lex_yytext_pointer = yes; then
+
+$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
+
+fi
+rm -f conftest.l $LEX_OUTPUT_ROOT.c
+
+fi
+if test "$LEX" = :; then
+ LEX=${am_missing_run}flex
+fi
+if test "x$LEX" != xflex; then
+ as_fn_error $? "Please install flex before installing." "$LINENO" 5
+fi
+if test "x$LEXLIB" != "x-lfl"; then
+ if test "x$LEXLIB" != "x-ll" ; then
+ as_fn_error $? "Please install flex library before installing." "$LINENO" 5
+ fi
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSOUP" >&5
+$as_echo_n "checking for LIBSOUP... " >&6; }
+
+if test -n "$LIBSOUP_CFLAGS"; then
+ pkg_cv_LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.26\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.26") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBSOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= 2.26" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$LIBSOUP_LIBS"; then
+ pkg_cv_LIBSOUP_LIBS="$LIBSOUP_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.26\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.26") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBSOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= 2.26" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-2.4 >= 2.26" 2>&1`
+ else
+ LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4 >= 2.26" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$LIBSOUP_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (libsoup-2.4 >= 2.26) were not met:
+
+$LIBSOUP_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables LIBSOUP_CFLAGS
+and LIBSOUP_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables LIBSOUP_CFLAGS
+and LIBSOUP_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ LIBSOUP_CFLAGS=$pkg_cv_LIBSOUP_CFLAGS
+ LIBSOUP_LIBS=$pkg_cv_LIBSOUP_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+# Check whether --enable-gtktest was given.
+if test "${enable_gtktest+set}" = set; then :
+ enableval=$enable_gtktest;
+else
+ enable_gtktest=yes
+fi
+
+
+ pkg_config_args=gtk+-3.0
+ for module in .
+ do
+ case "$module" in
+ gthread)
+ pkg_config_args="$pkg_config_args gthread-2.0"
+ ;;
+ esac
+ done
+
+ no_gtk=""
+
+ # Extract the first word of "pkg-config", so it can be a program name with args.
+set dummy pkg-config; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_PKG_CONFIG+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $PKG_CONFIG in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
+ ;;
+esac
+fi
+PKG_CONFIG=$ac_cv_path_PKG_CONFIG
+if test -n "$PKG_CONFIG"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
+$as_echo "$PKG_CONFIG" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+
+ if test x$PKG_CONFIG != xno ; then
+ if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
+ :
+ else
+ echo "*** pkg-config too old; version 0.7 or better required."
+ no_gtk=yes
+ PKG_CONFIG=no
+ fi
+ else
+ no_gtk=yes
+ fi
+
+ min_gtk_version=3.4.0
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
+$as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
+
+ if test x$PKG_CONFIG != xno ; then
+ ## don't try to run the test against uninstalled libtool libs
+ if $PKG_CONFIG --uninstalled $pkg_config_args; then
+ echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
+ enable_gtktest=no
+ fi
+
+ if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
+ :
+ else
+ no_gtk=yes
+ fi
+ fi
+
+ if test x"$no_gtk" = x ; then
+ GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
+ GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
+ gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
+ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
+ gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
+ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
+ gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
+ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
+ if test "x$enable_gtktest" = "xyes" ; then
+ ac_save_CFLAGS="$CFLAGS"
+ ac_save_LIBS="$LIBS"
+ CFLAGS="$CFLAGS $GTK_CFLAGS"
+ LIBS="$GTK_LIBS $LIBS"
+ rm -f conf.gtktest
+ if test "$cross_compiling" = yes; then :
+ echo $ac_n "cross compiling; assumed OK... $ac_c"
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#include <gtk/gtk.h>
+#include <stdio.h>
+#include <stdlib.h>
+
+int
+main ()
+{
+ int major, minor, micro;
+ char *tmp_version;
+
+ fclose (fopen ("conf.gtktest", "w"));
+
+ /* HP/UX 9 (%@#!) writes to sscanf strings */
+ tmp_version = g_strdup("$min_gtk_version");
+ if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
+ printf("%s, bad version string\n", "$min_gtk_version");
+ exit(1);
+ }
+
+ if ((gtk_major_version != $gtk_config_major_version) ||
+ (gtk_minor_version != $gtk_config_minor_version) ||
+ (gtk_micro_version != $gtk_config_micro_version))
+ {
+ printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
+ $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
+ gtk_major_version, gtk_minor_version, gtk_micro_version);
+ printf ("*** was found! If pkg-config was correct, then it is best\n");
+ printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
+ printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
+ printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
+ printf("*** required on your system.\n");
+ printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
+ printf("*** to point to the correct configuration files\n");
+ }
+ else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
+ (gtk_minor_version != GTK_MINOR_VERSION) ||
+ (gtk_micro_version != GTK_MICRO_VERSION))
+ {
+ printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
+ GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
+ printf("*** library (version %d.%d.%d)\n",
+ gtk_major_version, gtk_minor_version, gtk_micro_version);
+ }
+ else
+ {
+ if ((gtk_major_version > major) ||
+ ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
+ ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
+ {
+ return 0;
+ }
+ else
+ {
+ printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
+ gtk_major_version, gtk_minor_version, gtk_micro_version);
+ printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
+ major, minor, micro);
+ printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
+ printf("***\n");
+ printf("*** If you have already installed a sufficiently new version, this error\n");
+ printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
+ printf("*** being found. The easiest way to fix this is to remove the old version\n");
+ printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
+ printf("*** correct copy of pkg-config. (In this case, you will have to\n");
+ printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
+ printf("*** so that the correct libraries are found at run-time))\n");
+ }
+ }
+ return 1;
+}
+
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+
+else
+ no_gtk=yes
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
+
+ CFLAGS="$ac_save_CFLAGS"
+ LIBS="$ac_save_LIBS"
+ fi
+ fi
+ if test "x$no_gtk" = x ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
+$as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
+ :
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ if test "$PKG_CONFIG" = "no" ; then
+ echo "*** A new enough version of pkg-config was not found."
+ echo "*** See http://pkgconfig.sourceforge.net"
+ else
+ if test -f conf.gtktest ; then
+ :
+ else
+ echo "*** Could not run GTK+ test program, checking why..."
+ ac_save_CFLAGS="$CFLAGS"
+ ac_save_LIBS="$LIBS"
+ CFLAGS="$CFLAGS $GTK_CFLAGS"
+ LIBS="$LIBS $GTK_LIBS"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#include <gtk/gtk.h>
+#include <stdio.h>
+
+int
+main ()
+{
+ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ echo "*** The test program compiled, but did not run. This usually means"
+ echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
+ echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
+ echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
+ echo "*** to the installed location Also, make sure you have run ldconfig if that"
+ echo "*** is required on your system"
+ echo "***"
+ echo "*** If you have an old version installed, it is best to remove it, although"
+ echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
+else
+ echo "*** The test program failed to compile or link. See the file config.log for the"
+ echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ CFLAGS="$ac_save_CFLAGS"
+ LIBS="$ac_save_LIBS"
+ fi
+ fi
+ GTK_CFLAGS=""
+ GTK_LIBS=""
+ as_fn_error $? "Gtk+ 3.0.0 or higher required." "$LINENO" 5
+ fi
+
+
+ rm -f conf.gtktest
+
+
+
+
+ # Check whether --enable-schemas-compile was given.
+if test "${enable_schemas_compile+set}" = set; then :
+ enableval=$enable_schemas_compile; case ${enableval} in
+ yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
+ no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
+ *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
+ esac
+fi
+
+
+
+
+
+
+
+
+
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
+set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_PKG_CONFIG+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $PKG_CONFIG in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+PKG_CONFIG=$ac_cv_path_PKG_CONFIG
+if test -n "$PKG_CONFIG"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
+$as_echo "$PKG_CONFIG" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_path_PKG_CONFIG"; then
+ ac_pt_PKG_CONFIG=$PKG_CONFIG
+ # Extract the first word of "pkg-config", so it can be a program name with args.
+set dummy pkg-config; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $ac_pt_PKG_CONFIG in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
+if test -n "$ac_pt_PKG_CONFIG"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
+$as_echo "$ac_pt_PKG_CONFIG" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_pt_PKG_CONFIG" = x; then
+ PKG_CONFIG=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ PKG_CONFIG=$ac_pt_PKG_CONFIG
+ fi
+else
+ PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
+fi
+
+fi
+if test -n "$PKG_CONFIG"; then
+ _pkg_min_version=0.16
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
+$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
+ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ PKG_CONFIG=""
+ fi
+fi
+ gsettingsschemadir=${datadir}/glib-2.0/schemas
+
+ if test x$cross_compiling != xyes; then
+ GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
+ else
+ # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
+set dummy glib-compile-schemas; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $GLIB_COMPILE_SCHEMAS in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
+if test -n "$GLIB_COMPILE_SCHEMAS"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
+$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ fi
+
+ if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
+ as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
+ else
+ :
+ fi
+
+ GSETTINGS_RULES='
+.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
+
+mostlyclean-am: clean-gsettings-schemas
+
+gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
+
+%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
+ $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
+
+all-am: $(gsettings_SCHEMAS:.xml=.valid)
+uninstall-am: uninstall-gsettings-schemas
+install-data-am: install-gsettings-schemas
+
+.SECONDARY: $(gsettings_SCHEMAS)
+
+install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
+ @$(NORMAL_INSTALL)
+ if test -n "$^"; then \
+ test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
+ $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
+ test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
+ fi
+
+uninstall-gsettings-schemas:
+ @$(NORMAL_UNINSTALL)
+ @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
+ test -n "$$files" || exit 0; \
+ echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
+ cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
+ test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
+
+clean-gsettings-schemas:
+ rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
+
+ifdef gsettings_ENUM_NAMESPACE
+$(gsettings__enum_file): $(gsettings_ENUM_FILES)
+ $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
+endif
+'
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
+$as_echo_n "checking whether ln -s works... " >&6; }
+LN_S=$as_ln_s
+if test "$LN_S" = "ln -s"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
+$as_echo "no, using $LN_S" >&6; }
+fi
+
+
+
+
+
+
+
+# Check whether --with-help-dir was given.
+if test "${with_help_dir+set}" = set; then :
+ withval=$with_help_dir;
+else
+ with_help_dir='${datadir}/help'
+fi
+
+HELP_DIR="$with_help_dir"
+
+
+
+# Extract the first word of "itstool", so it can be a program name with args.
+set dummy itstool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ITSTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ITSTOOL"; then
+ ac_cv_prog_ITSTOOL="$ITSTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ITSTOOL="itstool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ITSTOOL=$ac_cv_prog_ITSTOOL
+if test -n "$ITSTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ITSTOOL" >&5
+$as_echo "$ITSTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+if test x"$ITSTOOL" = x; then
+ as_fn_error $? "itstool not found" "$LINENO" 5
+fi
+
+
+# Extract the first word of "xmllint", so it can be a program name with args.
+set dummy xmllint; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_XMLLINT+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$XMLLINT"; then
+ ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_XMLLINT="xmllint"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+XMLLINT=$ac_cv_prog_XMLLINT
+if test -n "$XMLLINT"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
+$as_echo "$XMLLINT" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+if test x"$XMLLINT" = x; then
+ as_fn_error $? "xmllint not found" "$LINENO" 5
+fi
+
+YELP_HELP_RULES='
+HELP_ID ?=
+HELP_POT ?=
+HELP_FILES ?=
+HELP_EXTRA ?=
+HELP_MEDIA ?=
+HELP_LINGUAS ?=
+
+_HELP_LINGUAS = $(if $(filter environment,$(origin LINGUAS)),$(filter $(LINGUAS),$(HELP_LINGUAS)),$(HELP_LINGUAS))
+_HELP_POTFILE = $(if $(HELP_POT),$(HELP_POT),$(if $(HELP_ID),$(HELP_ID).pot))
+_HELP_POFILES = $(if $(HELP_ID),$(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).po))
+_HELP_MOFILES = $(patsubst %.po,%.mo,$(_HELP_POFILES))
+_HELP_C_FILES = $(foreach f,$(HELP_FILES),C/$(f))
+_HELP_C_EXTRA = $(foreach f,$(HELP_EXTRA),C/$(f))
+_HELP_C_MEDIA = $(foreach f,$(HELP_MEDIA),C/$(f))
+_HELP_LC_FILES = $(foreach lc,$(_HELP_LINGUAS),$(foreach f,$(HELP_FILES),$(lc)/$(f)))
+_HELP_LC_STAMPS = $(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).stamp)
+
+_HELP_DEFAULT_V = $(if $(AM_DEFAULT_VERBOSITY),$(AM_DEFAULT_VERBOSITY),1)
+_HELP_V = $(if $(V),$(V),$(_HELP_DEFAULT_V))
+_HELP_LC_VERBOSE = $(_HELP_LC_VERBOSE_$(_HELP_V))
+_HELP_LC_VERBOSE_ = $(_HELP_LC_VERBOSE_$(_HELP_DEFAULT_V))
+_HELP_LC_VERBOSE_0 = @echo " GEN "$(dir $@);
+
+all: $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA) $(_HELP_LC_FILES) $(_HELP_POFILES)
+
+.PHONY: pot
+pot: $(_HELP_POTFILE)
+$(_HELP_POTFILE): $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA)
+ $(AM_V_GEN)$(ITSTOOL) -o "$@" $(_HELP_C_FILES)
+
+.PHONY: repo
+repo: $(_HELP_POTFILE)
+ $(AM_V_at)for po in $(_HELP_POFILES); do \
+ if test "x$(_HELP_V)" = "x0"; then echo " GEN $${po}"; fi; \
+ msgmerge -q -o "$${po}" "$${po}" "$(_HELP_POTFILE)"; \
+ done
+
+$(_HELP_POFILES):
+ $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
+ $(AM_V_at)if test ! -f "$@" -a -f "$(srcdir)/$@"; then cp "$(srcdir)/$@" "$@"; fi
+ $(AM_V_GEN)if ! test -f "$@"; then \
+ (cd "$(dir $@)" && \
+ $(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \
+ mv "$(notdir $@).tmp" "$(notdir $@)"); \
+ else \
+ (cd "$(dir $@)" && \
+ $(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \
+ msgmerge -o "$(notdir $@)" "$(notdir $@)" "$(notdir $@).tmp" && \
+ rm "$(notdir $@).tmp"); \
+ fi
+
+$(_HELP_MOFILES): %.mo: %.po
+ $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
+ $(AM_V_GEN)msgfmt -o "$@" "$<"
+
+$(_HELP_LC_FILES): $(_HELP_LINGUAS)
+$(_HELP_LINGUAS): $(_HELP_LC_STAMPS)
+$(_HELP_LC_STAMPS): %.stamp: %.mo
+$(_HELP_LC_STAMPS): $(_HELP_C_FILES) $(_HELP_C_EXTRA)
+ $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
+ $(_HELP_LC_VERBOSE)if test -d "C"; then d="../"; else d="$(abs_srcdir)/"; fi; \
+ mo="$(dir $@)$(patsubst %/$(notdir $@),%,$@).mo"; \
+ if test -f "$${mo}"; then mo="../$${mo}"; else mo="$(abs_srcdir)/$${mo}"; fi; \
+ (cd "$(dir $@)" && $(ITSTOOL) -m "$${mo}" $(foreach f,$(_HELP_C_FILES),$${d}/$(f))) && \
+ touch "$@"
+
+.PHONY: clean-help
+mostlyclean-am: $(if $(HELP_ID),clean-help)
+clean-help:
+ rm -f $(_HELP_LC_FILES) $(_HELP_LC_STAMPS) $(_HELP_MOFILES)
+
+EXTRA_DIST ?=
+EXTRA_DIST += $(_HELP_C_EXTRA) $(_HELP_C_MEDIA)
+EXTRA_DIST += $(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).stamp)
+EXTRA_DIST += $(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).po)
+EXTRA_DIST += $(foreach f,$(HELP_MEDIA),$(foreach lc,$(HELP_LINGUAS),$(wildcard $(lc)/$(f))))
+
+distdir: distdir-help-files
+distdir-help-files:
+ @for lc in C $(HELP_LINGUAS); do \
+ $(MKDIR_P) "$(distdir)/$$lc"; \
+ for file in $(HELP_FILES); do \
+ if test -f "$$lc/$$file"; then d=./; else d=$(srcdir)/; fi; \
+ cp -p "$$d$$lc/$$file" "$(distdir)/$$lc/" || exit 1; \
+ done; \
+ done; \
+
+.PHONY: check-help
+check: check-help
+check-help:
+ for lc in C $(_HELP_LINGUAS); do \
+ if test -d "$$lc"; \
+ then d=; \
+ xmlpath="$$lc"; \
+ else \
+ d="$(srcdir)/"; \
+ xmlpath="$$lc:$(srcdir)/$$lc"; \
+ fi; \
+ for page in $(HELP_FILES); do \
+ echo "$(XMLLINT) --noout --noent --path $$xmlpath --xinclude $$d$$lc/$$page"; \
+ $(XMLLINT) --noout --noent --path "$$xmlpath" --xinclude "$$d$$lc/$$page"; \
+ done; \
+ done
+
+
+.PHONY: install-help
+install-data-am: $(if $(HELP_ID),install-help)
+install-help:
+ @for lc in C $(_HELP_LINGUAS); do \
+ $(mkinstalldirs) "$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)" || exit 1; \
+ done
+ @for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \
+ if test -f "$$lc/$$f"; then d=; else d="$(srcdir)/"; fi; \
+ helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
+ if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \
+ echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir`basename $$f`"; \
+ $(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir`basename $$f`" || exit 1; \
+ done; done
+ @for f in $(_HELP_C_EXTRA); do \
+ lc=`dirname "$$f"`; lc=`basename "$$lc"`; \
+ if test -f "$$f"; then d=; else d="$(srcdir)/"; fi; \
+ helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
+ if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \
+ echo "$(INSTALL_DATA) $$d$$f $$helpdir`basename $$f`"; \
+ $(INSTALL_DATA) "$$d$$f" "$$helpdir`basename $$f`" || exit 1; \
+ done
+ @for f in $(HELP_MEDIA); do \
+ for lc in C $(_HELP_LINGUAS); do \
+ if test -f "$$lc$$f"; then d=; else d="$(srcdir)/"; fi; \
+ helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
+ mdir=`dirname "$$f"`; \
+ if test "x$mdir" = "x."; then mdir=""; fi; \
+ if ! test -d "$$helpdir$$mdir"; then $(mkinstalldirs) "$$helpdir$$mdir"; fi; \
+ if test -f "$$d$$lc/$$f"; then \
+ echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir$$f"; \
+ $(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir$$f" || exit 1; \
+ elif test "x$$lc" != "xC"; then \
+ echo "$(LN_S) -f $(HELP_DIR)/C/$(HELP_ID)/$$f $$helpdir$$f"; \
+ $(LN_S) -f "$(HELP_DIR)/C/$(HELP_ID)/$$f" "$$helpdir$$f" || exit 1; \
+ fi; \
+ done; \
+ done
+
+.PHONY: uninstall-help
+uninstall-am: $(if $(HELP_ID),uninstall-help)
+uninstall-help:
+ for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \
+ helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
+ echo "rm -f $$helpdir`basename $$f`"; \
+ rm -f "$$helpdir`basename $$f`"; \
+ done; done
+ @for f in $(_HELP_C_EXTRA); do \
+ lc=`dirname "$$f"`; lc=`basename "$$lc"`; \
+ helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
+ echo "rm -f $$helpdir`basename $$f`"; \
+ rm -f "$$helpdir`basename $$f`"; \
+ done
+ @for f in $(HELP_MEDIA); do \
+ for lc in C $(_HELP_LINGUAS); do \
+ helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
+ echo "rm -f $$helpdir$$f"; \
+ rm -f "$$helpdir$$f"; \
+ done; \
+ done;
+'
+
+
+
+
+ac_config_files="$ac_config_files Makefile help/Makefile data/Makefile po/Makefile.in"
+
+cat >confcache <<\_ACEOF
+# This file is a shell script that caches the results of configure
+# tests run on this system so they can be shared between configure
+# scripts and configure runs, see configure's option --config-cache.
+# It is not useful on other systems. If it contains results you don't
+# want to keep, you may remove or edit it.
+#
+# config.status only pays attention to the cache file if you give it
+# the --recheck option to rerun configure.
+#
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
+# following values.
+
+_ACEOF
+
+# The following way of writing the cache mishandles newlines in values,
+# but we know of no workaround that is simple, portable, and efficient.
+# So, we kill variables containing newlines.
+# Ultrix sh set writes to stderr and can't be redirected directly,
+# and sets the high bit in the cache file unless we assign to the vars.
+(
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) { eval $ac_var=; unset $ac_var;} ;;
+ esac ;;
+ esac
+ done
+
+ (set) 2>&1 |
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ # `set' does not quote correctly, so add quotes: double-quote
+ # substitution turns \\\\ into \\, and sed turns \\ into \.
+ sed -n \
+ "s/'/'\\\\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
+ ;; #(
+ *)
+ # `set' quotes correctly as required by POSIX, so do not add quotes.
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+) |
+ sed '
+ /^ac_cv_env_/b end
+ t clear
+ :clear
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
+ t end
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
+ :end' >>confcache
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
+ if test -w "$cache_file"; then
+ if test "x$cache_file" != "x/dev/null"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
+$as_echo "$as_me: updating cache $cache_file" >&6;}
+ if test ! -f "$cache_file" || test -h "$cache_file"; then
+ cat confcache >"$cache_file"
+ else
+ case $cache_file in #(
+ */* | ?:*)
+ mv -f confcache "$cache_file"$$ &&
+ mv -f "$cache_file"$$ "$cache_file" ;; #(
+ *)
+ mv -f confcache "$cache_file" ;;
+ esac
+ fi
+ fi
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
+ fi
+fi
+rm -f confcache
+
+test "x$prefix" = xNONE && prefix=$ac_default_prefix
+# Let make expand exec_prefix.
+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
+
+DEFS=-DHAVE_CONFIG_H
+
+ac_libobjs=
+ac_ltlibobjs=
+U=
+for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
+ # 1. Remove the extension, and $U if already installed.
+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
+ # will be set to the directory where LIBOBJS objects are built.
+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
+done
+LIBOBJS=$ac_libobjs
+
+LTLIBOBJS=$ac_ltlibobjs
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
+$as_echo_n "checking that generated files are newer than configure... " >&6; }
+ if test -n "$am_sleep_pid"; then
+ # Hide warnings about reused PIDs.
+ wait $am_sleep_pid 2>/dev/null
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
+$as_echo "done" >&6; }
+ if test -n "$EXEEXT"; then
+ am__EXEEXT_TRUE=
+ am__EXEEXT_FALSE='#'
+else
+ am__EXEEXT_TRUE='#'
+ am__EXEEXT_FALSE=
+fi
+
+if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
+ as_fn_error $? "conditional \"AMDEP\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
+ as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+
+ ac_config_commands="$ac_config_commands po/stamp-it"
+
+
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
+ as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+
+: "${CONFIG_STATUS=./config.status}"
+ac_write_fail=0
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
+as_write_fail=0
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
+#! $SHELL
+# Generated by $as_me.
+# Run this file to recreate the current configuration.
+# Compiler output produced by configure, useful for debugging
+# configure, is in config.log if it exists.
+
+debug=false
+ac_cs_recheck=false
+ac_cs_silent=false
+
+SHELL=\${CONFIG_SHELL-$SHELL}
+export SHELL
+_ASEOF
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
+## -------------------- ##
+## M4sh Initialization. ##
+## -------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in #(
+ *posix*) :
+ set -o posix ;; #(
+ *) :
+ ;;
+esac
+fi
+
+
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='print -r --'
+ as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+else
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+ as_echo_n='/usr/ucb/echo -n'
+ else
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+ as_echo_n_body='eval
+ arg=$1;
+ case $arg in #(
+ *"$as_nl"*)
+ expr "X$arg" : "X\\(.*\\)$as_nl";
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+ esac;
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+ '
+ export as_echo_n_body
+ as_echo_n='sh -c $as_echo_n_body as_echo'
+ fi
+ export as_echo_body
+ as_echo='sh -c $as_echo_body as_echo'
+fi
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+ PATH_SEPARATOR=';'
+ }
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" "" $as_nl"
+
+# Find who we are. Look in the path if we contain no directory separator.
+as_myself=
+case $0 in #((
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+ as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ exit 1
+fi
+
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there. '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
+# ----------------------------------------
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
+# script with STATUS, using 1 if that was 0.
+as_fn_error ()
+{
+ as_status=$1; test $as_status -eq 0 && as_status=1
+ if test "$4"; then
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+ fi
+ $as_echo "$as_me: error: $2" >&2
+ as_fn_exit $as_status
+} # as_fn_error
+
+
+# as_fn_set_status STATUS
+# -----------------------
+# Set $? to STATUS, without forking.
+as_fn_set_status ()
+{
+ return $1
+} # as_fn_set_status
+
+# as_fn_exit STATUS
+# -----------------
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
+as_fn_exit ()
+{
+ set +e
+ as_fn_set_status $1
+ exit $1
+} # as_fn_exit
+
+# as_fn_unset VAR
+# ---------------
+# Portably unset VAR.
+as_fn_unset ()
+{
+ { eval $1=; unset $1;}
+}
+as_unset=as_fn_unset
+# as_fn_append VAR VALUE
+# ----------------------
+# Append the text in VALUE to the end of the definition contained in VAR. Take
+# advantage of any shell optimizations that allow amortized linear growth over
+# repeated appends, instead of the typical quadratic growth present in naive
+# implementations.
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
+ eval 'as_fn_append ()
+ {
+ eval $1+=\$2
+ }'
+else
+ as_fn_append ()
+ {
+ eval $1=\$$1\$2
+ }
+fi # as_fn_append
+
+# as_fn_arith ARG...
+# ------------------
+# Perform arithmetic evaluation on the ARGs, and store the result in the
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
+# must be portable across $(()) and expr.
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
+ eval 'as_fn_arith ()
+ {
+ as_val=$(( $* ))
+ }'
+else
+ as_fn_arith ()
+ {
+ as_val=`expr "$@" || test $? -eq 1`
+ }
+fi # as_fn_arith
+
+
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
+
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in #(((((
+-n*)
+ case `echo 'xy\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+ xy) ECHO_C='\c';;
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
+ ECHO_T=' ';;
+ esac;;
+*)
+ ECHO_N='-n';;
+esac
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+else
+ rm -f conf$$.dir
+ mkdir conf$$.dir 2>/dev/null
+fi
+if (echo >conf$$.file) 2>/dev/null; then
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s='ln -s'
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+ # In both cases, we have to default to `cp -pR'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+ as_ln_s='cp -pR'
+ elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+ else
+ as_ln_s='cp -pR'
+ fi
+else
+ as_ln_s='cp -pR'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+
+# as_fn_mkdir_p
+# -------------
+# Create "$as_dir" as a directory, including parents if necessary.
+as_fn_mkdir_p ()
+{
+
+ case $as_dir in #(
+ -*) as_dir=./$as_dir;;
+ esac
+ test -d "$as_dir" || eval $as_mkdir_p || {
+ as_dirs=
+ while :; do
+ case $as_dir in #(
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+ *) as_qdir=$as_dir;;
+ esac
+ as_dirs="'$as_qdir' $as_dirs"
+ as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ test -d "$as_dir" && break
+ done
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+
+
+} # as_fn_mkdir_p
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p='mkdir -p "$as_dir"'
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+
+# as_fn_executable_p FILE
+# -----------------------
+# Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+ test -f "$1" && test -x "$1"
+} # as_fn_executable_p
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+
+exec 6>&1
+## ----------------------------------- ##
+## Main body of $CONFIG_STATUS script. ##
+## ----------------------------------- ##
+_ASEOF
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# Save the log message, to keep $0 and so on meaningful, and to
+# report actual input values of CONFIG_FILES etc. instead of their
+# values after options handling.
+ac_log="
+This file was extended by mkbib $as_me 2.1, which was
+generated by GNU Autoconf 2.69. Invocation command line was
+
+ CONFIG_FILES = $CONFIG_FILES
+ CONFIG_HEADERS = $CONFIG_HEADERS
+ CONFIG_LINKS = $CONFIG_LINKS
+ CONFIG_COMMANDS = $CONFIG_COMMANDS
+ $ $0 $@
+
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
+"
+
+_ACEOF
+
+case $ac_config_files in *"
+"*) set x $ac_config_files; shift; ac_config_files=$*;;
+esac
+
+case $ac_config_headers in *"
+"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
+esac
+
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+# Files that config.status was made for.
+config_files="$ac_config_files"
+config_headers="$ac_config_headers"
+config_commands="$ac_config_commands"
+
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+ac_cs_usage="\
+\`$as_me' instantiates files and other configuration actions
+from templates according to the current configuration. Unless the files
+and actions are specified as TAGs, all are instantiated by default.
+
+Usage: $0 [OPTION]... [TAG]...
+
+ -h, --help print this help, then exit
+ -V, --version print version number and configuration settings, then exit
+ --config print configuration, then exit
+ -q, --quiet, --silent
+ do not print progress messages
+ -d, --debug don't remove temporary files
+ --recheck update $as_me by reconfiguring in the same conditions
+ --file=FILE[:TEMPLATE]
+ instantiate the configuration file FILE
+ --header=FILE[:TEMPLATE]
+ instantiate the configuration header FILE
+
+Configuration files:
+$config_files
+
+Configuration headers:
+$config_headers
+
+Configuration commands:
+$config_commands
+
+Report bugs to the package provider."
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
+ac_cs_version="\\
+mkbib config.status 2.1
+configured by $0, generated by GNU Autoconf 2.69,
+ with options \\"\$ac_cs_config\\"
+
+Copyright (C) 2012 Free Software Foundation, Inc.
+This config.status script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it."
+
+ac_pwd='$ac_pwd'
+srcdir='$srcdir'
+INSTALL='$INSTALL'
+MKDIR_P='$MKDIR_P'
+AWK='$AWK'
+test -n "\$AWK" || AWK=awk
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# The default lists apply if the user does not specify any file.
+ac_need_defaults=:
+while test $# != 0
+do
+ case $1 in
+ --*=?*)
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
+ ac_shift=:
+ ;;
+ --*=)
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
+ ac_optarg=
+ ac_shift=:
+ ;;
+ *)
+ ac_option=$1
+ ac_optarg=$2
+ ac_shift=shift
+ ;;
+ esac
+
+ case $ac_option in
+ # Handling of the options.
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+ ac_cs_recheck=: ;;
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
+ $as_echo "$ac_cs_version"; exit ;;
+ --config | --confi | --conf | --con | --co | --c )
+ $as_echo "$ac_cs_config"; exit ;;
+ --debug | --debu | --deb | --de | --d | -d )
+ debug=: ;;
+ --file | --fil | --fi | --f )
+ $ac_shift
+ case $ac_optarg in
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ '') as_fn_error $? "missing file argument" ;;
+ esac
+ as_fn_append CONFIG_FILES " '$ac_optarg'"
+ ac_need_defaults=false;;
+ --header | --heade | --head | --hea )
+ $ac_shift
+ case $ac_optarg in
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ as_fn_append CONFIG_HEADERS " '$ac_optarg'"
+ ac_need_defaults=false;;
+ --he | --h)
+ # Conflict between --help and --header
+ as_fn_error $? "ambiguous option: \`$1'
+Try \`$0 --help' for more information.";;
+ --help | --hel | -h )
+ $as_echo "$ac_cs_usage"; exit ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil | --si | --s)
+ ac_cs_silent=: ;;
+
+ # This is an error.
+ -*) as_fn_error $? "unrecognized option: \`$1'
+Try \`$0 --help' for more information." ;;
+
+ *) as_fn_append ac_config_targets " $1"
+ ac_need_defaults=false ;;
+
+ esac
+ shift
+done
+
+ac_configure_extra_args=
+
+if $ac_cs_silent; then
+ exec 6>/dev/null
+ ac_configure_extra_args="$ac_configure_extra_args --silent"
+fi
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+if \$ac_cs_recheck; then
+ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
+ shift
+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
+ CONFIG_SHELL='$SHELL'
+ export CONFIG_SHELL
+ exec "\$@"
+fi
+
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+exec 5>>config.log
+{
+ echo
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
+## Running $as_me. ##
+_ASBOX
+ $as_echo "$ac_log"
+} >&5
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+#
+# INIT-COMMANDS
+#
+AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
+
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+
+# Handling of arguments.
+for ac_config_target in $ac_config_targets
+do
+ case $ac_config_target in
+ "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
+ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+ "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
+ "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
+ "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
+ "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
+
+ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
+ esac
+done
+
+
+# If the user did not use the arguments to specify the items to instantiate,
+# then the envvar interface is used. Set only those that are not.
+# We use the long form for the default assignment because of an extremely
+# bizarre bug on SunOS 4.1.3.
+if $ac_need_defaults; then
+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
+ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
+fi
+
+# Have a temporary directory for convenience. Make it in the build tree
+# simply because there is no reason against having it here, and in addition,
+# creating and moving files from /tmp can sometimes cause problems.
+# Hook for its removal unless debugging.
+# Note that there is a small window in which the directory will not be cleaned:
+# after its creation but before its name has been assigned to `$tmp'.
+$debug ||
+{
+ tmp= ac_tmp=
+ trap 'exit_status=$?
+ : "${ac_tmp:=$tmp}"
+ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
+' 0
+ trap 'as_fn_exit 1' 1 2 13 15
+}
+# Create a (secure) tmp directory for tmp files.
+
+{
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
+ test -d "$tmp"
+} ||
+{
+ tmp=./conf$$-$RANDOM
+ (umask 077 && mkdir "$tmp")
+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
+ac_tmp=$tmp
+
+# Set up the scripts for CONFIG_FILES section.
+# No need to generate them if there are no CONFIG_FILES.
+# This happens for instance with `./config.status config.h'.
+if test -n "$CONFIG_FILES"; then
+
+
+ac_cr=`echo X | tr X '\015'`
+# On cygwin, bash can eat \r inside `` if the user requested igncr.
+# But we know of no other shell where ac_cr would be empty at this
+# point, so we can use a bashism as a fallback.
+if test "x$ac_cr" = x; then
+ eval ac_cr=\$\'\\r\'
+fi
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
+ ac_cs_awk_cr='\\r'
+else
+ ac_cs_awk_cr=$ac_cr
+fi
+
+echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
+_ACEOF
+
+
+{
+ echo "cat >conf$$subs.awk <<_ACEOF" &&
+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
+ echo "_ACEOF"
+} >conf$$subs.sh ||
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
+ac_delim='%!_!# '
+for ac_last_try in false false false false false :; do
+ . ./conf$$subs.sh ||
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+
+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
+ if test $ac_delim_n = $ac_delim_num; then
+ break
+ elif $ac_last_try; then
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ else
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
+ fi
+done
+rm -f conf$$subs.sh
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
+_ACEOF
+sed -n '
+h
+s/^/S["/; s/!.*/"]=/
+p
+g
+s/^[^!]*!//
+:repl
+t repl
+s/'"$ac_delim"'$//
+t delim
+:nl
+h
+s/\(.\{148\}\)..*/\1/
+t more1
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
+p
+n
+b repl
+:more1
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
+p
+g
+s/.\{148\}//
+t nl
+:delim
+h
+s/\(.\{148\}\)..*/\1/
+t more2
+s/["\\]/\\&/g; s/^/"/; s/$/"/
+p
+b
+:more2
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
+p
+g
+s/.\{148\}//
+t delim
+' <conf$$subs.awk | sed '
+/^[^""]/{
+ N
+ s/\n//
+}
+' >>$CONFIG_STATUS || ac_write_fail=1
+rm -f conf$$subs.awk
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+_ACAWK
+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
+ for (key in S) S_is_set[key] = 1
+ FS = ""
+
+}
+{
+ line = $ 0
+ nfields = split(line, field, "@")
+ substed = 0
+ len = length(field[1])
+ for (i = 2; i < nfields; i++) {
+ key = field[i]
+ keylen = length(key)
+ if (S_is_set[key]) {
+ value = S[key]
+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
+ len += length(value) + length(field[++i])
+ substed = 1
+ } else
+ len += 1 + keylen
+ }
+
+ print line
+}
+
+_ACAWK
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
+else
+ cat
+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
+ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
+_ACEOF
+
+# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
+# trailing colons and then remove the whole line if VPATH becomes empty
+# (actually we leave an empty line to preserve line numbers).
+if test "x$srcdir" = x.; then
+ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
+h
+s///
+s/^/:/
+s/[ ]*$/:/
+s/:\$(srcdir):/:/g
+s/:\${srcdir}:/:/g
+s/:@srcdir@:/:/g
+s/^:*//
+s/:*$//
+x
+s/\(=[ ]*\).*/\1/
+G
+s/\n//
+s/^[^=]*=[ ]*$//
+}'
+fi
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+fi # test -n "$CONFIG_FILES"
+
+# Set up the scripts for CONFIG_HEADERS section.
+# No need to generate them if there are no CONFIG_HEADERS.
+# This happens for instance with `./config.status Makefile'.
+if test -n "$CONFIG_HEADERS"; then
+cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
+BEGIN {
+_ACEOF
+
+# Transform confdefs.h into an awk script `defines.awk', embedded as
+# here-document in config.status, that substitutes the proper values into
+# config.h.in to produce config.h.
+
+# Create a delimiter string that does not exist in confdefs.h, to ease
+# handling of long lines.
+ac_delim='%!_!# '
+for ac_last_try in false false :; do
+ ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
+ if test -z "$ac_tt"; then
+ break
+ elif $ac_last_try; then
+ as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
+ else
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
+ fi
+done
+
+# For the awk script, D is an array of macro values keyed by name,
+# likewise P contains macro parameters if any. Preserve backslash
+# newline sequences.
+
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
+sed -n '
+s/.\{148\}/&'"$ac_delim"'/g
+t rset
+:rset
+s/^[ ]*#[ ]*define[ ][ ]*/ /
+t def
+d
+:def
+s/\\$//
+t bsnl
+s/["\\]/\\&/g
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
+D["\1"]=" \3"/p
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
+d
+:bsnl
+s/["\\]/\\&/g
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
+D["\1"]=" \3\\\\\\n"\\/p
+t cont
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
+t cont
+d
+:cont
+n
+s/.\{148\}/&'"$ac_delim"'/g
+t clear
+:clear
+s/\\$//
+t bsnlc
+s/["\\]/\\&/g; s/^/"/; s/$/"/p
+d
+:bsnlc
+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
+b cont
+' <confdefs.h | sed '
+s/'"$ac_delim"'/"\\\
+"/g' >>$CONFIG_STATUS || ac_write_fail=1
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ for (key in D) D_is_set[key] = 1
+ FS = ""
+}
+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
+ line = \$ 0
+ split(line, arg, " ")
+ if (arg[1] == "#") {
+ defundef = arg[2]
+ mac1 = arg[3]
+ } else {
+ defundef = substr(arg[1], 2)
+ mac1 = arg[2]
+ }
+ split(mac1, mac2, "(") #)
+ macro = mac2[1]
+ prefix = substr(line, 1, index(line, defundef) - 1)
+ if (D_is_set[macro]) {
+ # Preserve the white space surrounding the "#".
+ print prefix "define", macro P[macro] D[macro]
+ next
+ } else {
+ # Replace #undef with comments. This is necessary, for example,
+ # in the case of _POSIX_SOURCE, which is predefined and required
+ # on some systems where configure will not decide to define it.
+ if (defundef == "undef") {
+ print "/*", prefix defundef, macro, "*/"
+ next
+ }
+ }
+}
+{ print }
+_ACAWK
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
+fi # test -n "$CONFIG_HEADERS"
+
+
+eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
+shift
+for ac_tag
+do
+ case $ac_tag in
+ :[FHLC]) ac_mode=$ac_tag; continue;;
+ esac
+ case $ac_mode$ac_tag in
+ :[FHL]*:*);;
+ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
+ :[FH]-) ac_tag=-:-;;
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
+ esac
+ ac_save_IFS=$IFS
+ IFS=:
+ set x $ac_tag
+ IFS=$ac_save_IFS
+ shift
+ ac_file=$1
+ shift
+
+ case $ac_mode in
+ :L) ac_source=$1;;
+ :[FH])
+ ac_file_inputs=
+ for ac_f
+ do
+ case $ac_f in
+ -) ac_f="$ac_tmp/stdin";;
+ *) # Look for the file first in the build tree, then in the source tree
+ # (if the path is not absolute). The absolute path cannot be DOS-style,
+ # because $ac_f cannot contain `:'.
+ test -f "$ac_f" ||
+ case $ac_f in
+ [\\/$]*) false;;
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
+ esac ||
+ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
+ esac
+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
+ as_fn_append ac_file_inputs " '$ac_f'"
+ done
+
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
+ # use $as_me), people would be surprised to read:
+ # /* config.h. Generated by config.status. */
+ configure_input='Generated from '`
+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
+ `' by configure.'
+ if test x"$ac_file" != x-; then
+ configure_input="$ac_file. $configure_input"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
+$as_echo "$as_me: creating $ac_file" >&6;}
+ fi
+ # Neutralize special characters interpreted by sed in replacement strings.
+ case $configure_input in #(
+ *\&* | *\|* | *\\* )
+ ac_sed_conf_input=`$as_echo "$configure_input" |
+ sed 's/[\\\\&|]/\\\\&/g'`;; #(
+ *) ac_sed_conf_input=$configure_input;;
+ esac
+
+ case $ac_tag in
+ *:-:* | *:-) cat >"$ac_tmp/stdin" \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
+ esac
+ ;;
+ esac
+
+ ac_dir=`$as_dirname -- "$ac_file" ||
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$ac_file" : 'X\(//\)[^/]' \| \
+ X"$ac_file" : 'X\(//\)$' \| \
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$ac_file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ as_dir="$ac_dir"; as_fn_mkdir_p
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+
+ case $ac_mode in
+ :F)
+ #
+ # CONFIG_FILE
+ #
+
+ case $INSTALL in
+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
+ esac
+ ac_MKDIR_P=$MKDIR_P
+ case $MKDIR_P in
+ [\\/$]* | ?:[\\/]* ) ;;
+ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
+ esac
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# If the template does not know about datarootdir, expand it.
+# FIXME: This hack should be removed a few years after 2.60.
+ac_datarootdir_hack=; ac_datarootdir_seen=
+ac_sed_dataroot='
+/datarootdir/ {
+ p
+ q
+}
+/@datadir@/p
+/@docdir@/p
+/@infodir@/p
+/@localedir@/p
+/@mandir@/p'
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
+*datarootdir*) ac_datarootdir_seen=yes;;
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ ac_datarootdir_hack='
+ s&@datadir@&$datadir&g
+ s&@docdir@&$docdir&g
+ s&@infodir@&$infodir&g
+ s&@localedir@&$localedir&g
+ s&@mandir@&$mandir&g
+ s&\\\${datarootdir}&$datarootdir&g' ;;
+esac
+_ACEOF
+
+# Neutralize VPATH when `$srcdir' = `.'.
+# Shell code in configure.ac might set extrasub.
+# FIXME: do we really want to maintain this feature?
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_sed_extra="$ac_vpsub
+$extrasub
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+:t
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
+s|@configure_input@|$ac_sed_conf_input|;t t
+s&@top_builddir@&$ac_top_builddir_sub&;t t
+s&@top_build_prefix@&$ac_top_build_prefix&;t t
+s&@srcdir@&$ac_srcdir&;t t
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
+s&@top_srcdir@&$ac_top_srcdir&;t t
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
+s&@builddir@&$ac_builddir&;t t
+s&@abs_builddir@&$ac_abs_builddir&;t t
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
+s&@INSTALL@&$ac_INSTALL&;t t
+s&@MKDIR_P@&$ac_MKDIR_P&;t t
+$ac_datarootdir_hack
+"
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
+ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
+ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
+ "$ac_tmp/out"`; test -z "$ac_out"; } &&
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined. Please make sure it is defined" >&5
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined. Please make sure it is defined" >&2;}
+
+ rm -f "$ac_tmp/stdin"
+ case $ac_file in
+ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
+ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
+ esac \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ ;;
+ :H)
+ #
+ # CONFIG_HEADER
+ #
+ if test x"$ac_file" != x-; then
+ {
+ $as_echo "/* $configure_input */" \
+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
+ } >"$ac_tmp/config.h" \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
+$as_echo "$as_me: $ac_file is unchanged" >&6;}
+ else
+ rm -f "$ac_file"
+ mv "$ac_tmp/config.h" "$ac_file" \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ fi
+ else
+ $as_echo "/* $configure_input */" \
+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
+ || as_fn_error $? "could not create -" "$LINENO" 5
+ fi
+# Compute "$ac_file"'s index in $config_headers.
+_am_arg="$ac_file"
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+ case $_am_header in
+ $_am_arg | $_am_arg:* )
+ break ;;
+ * )
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+ esac
+done
+echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
+$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$_am_arg" : 'X\(//\)[^/]' \| \
+ X"$_am_arg" : 'X\(//\)$' \| \
+ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$_am_arg" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`/stamp-h$_am_stamp_count
+ ;;
+
+ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
+$as_echo "$as_me: executing $ac_file commands" >&6;}
+ ;;
+ esac
+
+
+ case $ac_file$ac_mode in
+ "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
+ # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # are listed without --file. Let's play safe and only enable the eval
+ # if we detect the quoting.
+ case $CONFIG_FILES in
+ *\'*) eval set x "$CONFIG_FILES" ;;
+ *) set x $CONFIG_FILES ;;
+ esac
+ shift
+ for mf
+ do
+ # Strip MF so we end up with the name of the file.
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
+ # Check whether this is an Automake generated Makefile or not.
+ # We used to match only the files named 'Makefile.in', but
+ # some people rename them; so instead we look at the file content.
+ # Grep'ing the first line is not enough: some people post-process
+ # each Makefile.in and add a new line on top of each file to say so.
+ # Grep'ing the whole file is not good either: AIX grep has a line
+ # limit of 2048, but all sed's we know have understand at least 4000.
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
+ dirpart=`$as_dirname -- "$mf" ||
+$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$mf" : 'X\(//\)[^/]' \| \
+ X"$mf" : 'X\(//\)$' \| \
+ X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$mf" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ else
+ continue
+ fi
+ # Extract the definition of DEPDIR, am__include, and am__quote
+ # from the Makefile without running 'make'.
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
+ test -z "$DEPDIR" && continue
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
+ test -z "am__include" && continue
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
+ # Find all dependency output files, they are included files with
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
+ # simplest approach to changing $(DEPDIR) to its actual value in the
+ # expansion.
+ for file in `sed -n "
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
+ # Make sure the directory exists.
+ test -f "$dirpart/$file" && continue
+ fdir=`$as_dirname -- "$file" ||
+$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$file" : 'X\(//\)[^/]' \| \
+ X"$file" : 'X\(//\)$' \| \
+ X"$file" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ as_dir=$dirpart/$fdir; as_fn_mkdir_p
+ # echo "creating $dirpart/$file"
+ echo '# dummy' > "$dirpart/$file"
+ done
+ done
+}
+ ;;
+ "po/stamp-it":C)
+ if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
+ as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
+ fi
+ rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
+ >"po/stamp-it.tmp"
+ sed '/^#/d
+ s/^[[].*] *//
+ /^[ ]*$/d
+ '"s|^| $ac_top_srcdir/|" \
+ "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
+
+ sed '/^POTFILES =/,/[^\\]$/ {
+ /^POTFILES =/!d
+ r po/POTFILES
+ }
+ ' "po/Makefile.in" >"po/Makefile"
+ rm -f "po/Makefile.tmp"
+ mv "po/stamp-it.tmp" "po/stamp-it"
+ ;;
+
+ esac
+done # for ac_tag
+
+
+as_fn_exit 0
+_ACEOF
+ac_clean_files=$ac_clean_files_save
+
+test $ac_write_fail = 0 ||
+ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
+
+
+# configure is writing to config.log, and then calls config.status.
+# config.status does its own redirection, appending to config.log.
+# Unfortunately, on DOS this fails, as config.log is still kept open
+# by configure, so config.status won't be able to write to it; its
+# output is simply discarded. So we exec the FD to /dev/null,
+# effectively closing config.log, so it can be properly (re)opened and
+# appended to by config.status. When coming back to configure, we
+# need to make the FD available again.
+if test "$no_create" != yes; then
+ ac_cs_success=:
+ ac_config_status_args=
+ test "$silent" = yes &&
+ ac_config_status_args="$ac_config_status_args --quiet"
+ exec 5>/dev/null
+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
+ exec 5>>config.log
+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
+ # would make configure fail if this is the last instruction.
+ $ac_cs_success || as_fn_exit 1
+fi
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
+fi
+
diff --git a/biblio/bibtex/utils/mkbib/configure.ac b/biblio/bibtex/utils/mkbib/configure.ac
new file mode 100644
index 0000000000..a15581f901
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/configure.ac
@@ -0,0 +1,56 @@
+AC_PREREQ(2.69)
+AC_INIT([mkbib], [2.1],,[mkbib])
+AC_CONFIG_AUX_DIR([build-aux])
+AC_CONFIG_HEADERS([config.h])
+AC_CONFIG_MACRO_DIR([m4])
+
+AM_INIT_AUTOMAKE([1.9.6 dist-bzip2 subdir-objects foreign])
+
+#GETTEXT_PACKAGE=AC_PACKAGE_NAME
+#AC_SUBST(GETTEXT_PACKAGE)
+#AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",[The name of the gettext domain])
+IT_PROG_INTLTOOL(0.40.0)
+#AC_SUBST(GETTEXT_PACKAGE, mkbib)
+PKG_PROG_PKG_CONFIG([0.22])
+
+# Checks for programs.
+AC_PROG_CC
+AM_PROG_CC_C_O
+
+AC_PROG_YACC
+if test x"$YACC" = "xyacc"; then
+ AC_CHECK_PROG([YACC_EXISTS], [yacc], [yes], [no])
+ if test x"$YACC_EXISTS" != xyes; then
+ AC_MSG_ERROR([[bison/byacc/yacc not found.
+ Please install bison]])
+ fi
+fi
+
+AM_PROG_LEX
+if test "x$LEX" != xflex; then
+ AC_MSG_ERROR([Please install flex before installing.])
+fi
+if test "x$LEXLIB" != "x-lfl"; then
+ if test "x$LEXLIB" != "x-ll" ; then
+ AC_MSG_ERROR([Please install flex library before installing.])
+ fi
+fi
+
+
+
+PKG_CHECK_MODULES(LIBSOUP, libsoup-2.4 >= 2.26)
+AC_SUBST(LIBSOUP_CFLAGS)
+AC_SUBST(LIBSOUP_LIBS)
+
+AM_PATH_GTK_3_0([3.4.0],,AC_MSG_ERROR([Gtk+ 3.0.0 or higher required.]))
+
+GLIB_GSETTINGS
+YELP_HELP_INIT
+
+AC_CONFIG_FILES([
+ Makefile
+ help/Makefile
+ data/Makefile
+ po/Makefile.in
+ ])
+AC_OUTPUT
diff --git a/biblio/bibtex/utils/mkbib/data/Makefile.am b/biblio/bibtex/utils/mkbib/data/Makefile.am
new file mode 100644
index 0000000000..1cdb42d166
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/data/Makefile.am
@@ -0,0 +1,12 @@
+gladedir = $(datadir)/mkbib/glade
+dist_glade_DATA = \
+ main-window.ui
+
+desktop_in_data=mkbib.desktop.in
+desktop_DATA=$(desktop_in_data:.desktop.in=.desktop)
+desktopdir=$(datadir)/applications
+@INTLTOOL_DESKTOP_RULE@
+
+CLEANFILES=$(desktop_DATA)
+
+EXTRA_DIST=mkbib.desktop.in
diff --git a/biblio/bibtex/utils/mkbib/data/Makefile.in b/biblio/bibtex/utils/mkbib/data/Makefile.in
new file mode 100644
index 0000000000..37e3a8a721
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/data/Makefile.in
@@ -0,0 +1,466 @@
+# Makefile.in generated by automake 1.12.2 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2012 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+VPATH = @srcdir@
+am__make_dryrun = \
+ { \
+ am__dry=no; \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
+ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
+ *) \
+ for am__flg in $$MAKEFLAGS; do \
+ case $$am__flg in \
+ *=*|--*) ;; \
+ *n*) am__dry=yes; break;; \
+ esac; \
+ done;; \
+ esac; \
+ test $$am__dry = yes; \
+ }
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+subdir = data
+DIST_COMMON = $(dist_glade_DATA) $(srcdir)/Makefile.am \
+ $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
+ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+am__installdirs = "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(gladedir)"
+DATA = $(desktop_DATA) $(dist_glade_DATA)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+ALL_LINGUAS = @ALL_LINGUAS@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPPFLAGS = @CPPFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DATADIRNAME = @DATADIRNAME@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EXEEXT = @EXEEXT@
+GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
+GMSGFMT = @GMSGFMT@
+GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
+GTK_CFLAGS = @GTK_CFLAGS@
+GTK_LIBS = @GTK_LIBS@
+HELP_DIR = @HELP_DIR@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
+INTLTOOL_MERGE = @INTLTOOL_MERGE@
+INTLTOOL_PERL = @INTLTOOL_PERL@
+INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
+INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@
+INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@
+INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@
+INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@
+ITSTOOL = @ITSTOOL@
+LDFLAGS = @LDFLAGS@
+LEX = @LEX@
+LEXLIB = @LEXLIB@
+LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@
+LIBSOUP_LIBS = @LIBSOUP_LIBS@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MKDIR_P = @MKDIR_P@
+MSGFMT = @MSGFMT@
+MSGMERGE = @MSGMERGE@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+USE_NLS = @USE_NLS@
+VERSION = @VERSION@
+XGETTEXT = @XGETTEXT@
+XMLLINT = @XMLLINT@
+YACC = @YACC@
+YACC_EXISTS = @YACC_EXISTS@
+YFLAGS = @YFLAGS@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build_alias = @build_alias@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+gsettingsschemadir = @gsettingsschemadir@
+host_alias = @host_alias@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+intltool__v_merge_options_ = @intltool__v_merge_options_@
+intltool__v_merge_options_0 = @intltool__v_merge_options_0@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+gladedir = $(datadir)/mkbib/glade
+dist_glade_DATA = \
+ main-window.ui
+
+desktop_in_data = mkbib.desktop.in
+desktop_DATA = $(desktop_in_data:.desktop.in=.desktop)
+desktopdir = $(datadir)/applications
+CLEANFILES = $(desktop_DATA)
+EXTRA_DIST = mkbib.desktop.in
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign data/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --foreign data/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+install-desktopDATA: $(desktop_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(desktopdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(desktopdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(desktopdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(desktopdir)" || exit $$?; \
+ done
+
+uninstall-desktopDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(desktopdir)'; $(am__uninstall_files_from_dir)
+install-dist_gladeDATA: $(dist_glade_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(dist_glade_DATA)'; test -n "$(gladedir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(gladedir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(gladedir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(gladedir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(gladedir)" || exit $$?; \
+ done
+
+uninstall-dist_gladeDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(dist_glade_DATA)'; test -n "$(gladedir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(gladedir)'; $(am__uninstall_files_from_dir)
+tags: TAGS
+TAGS:
+
+ctags: CTAGS
+CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile $(DATA)
+installdirs:
+ for dir in "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(gladedir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+ -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am: install-desktopDATA install-dist_gladeDATA
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-desktopDATA uninstall-dist_gladeDATA
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic distclean \
+ distclean-generic distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am \
+ install-desktopDATA install-dist_gladeDATA install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am \
+ uninstall-desktopDATA uninstall-dist_gladeDATA
+
+@INTLTOOL_DESKTOP_RULE@
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/biblio/bibtex/utils/mkbib/data/main-window.ui b/biblio/bibtex/utils/mkbib/data/main-window.ui
new file mode 100644
index 0000000000..5bebcb864d
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/data/main-window.ui
@@ -0,0 +1,133 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <!-- interface-requires gtk+ 3.0 -->
+ <object class="GtkBox" id="remote_vbox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">12</property>
+ <child>
+ <object class="GtkTable" id="table2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="n_rows">2</property>
+ <property name="n_columns">2</property>
+ <property name="column_spacing">6</property>
+ <property name="row_spacing">6</property>
+ <child>
+ <object class="GtkEntry" id="entry_remote_url">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="entry_remote_name">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label13">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">URL:</property>
+ </object>
+ <packing>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label11">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">Name:</property>
+ </object>
+ <packing>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkBox" id="vbox10">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkLabel" id="label12">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">Branches</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkAlignment" id="alignment5">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="left_padding">6</property>
+ <child>
+ <object class="GtkScrolledWindow" id="scrolledwindow7">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="shadow_type">in</property>
+ <child>
+ <object class="GtkTreeView" id="treeview_remote_branches">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="vexpand">True</property>
+ <child internal-child="selection">
+ <object class="GtkTreeSelection" id="treeview-selection1"/>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+</interface>
diff --git a/biblio/bibtex/utils/mkbib/data/mkbib.desktop.in b/biblio/bibtex/utils/mkbib/data/mkbib.desktop.in
new file mode 100644
index 0000000000..3f33747363
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/data/mkbib.desktop.in
@@ -0,0 +1,13 @@
+[Desktop Entry]
+_Name=mkBiB
+_GenericName=mkBiB
+_X-GNOME-FullName=BiBTeX Editor
+_Comment=Manage BiBTeX file
+_Keywords=Editor; BiBTeX
+Exec=mkbib
+Icon=mkbib
+Terminal=false
+Type=Application
+Categories=GNOME;GTK;Utility;Clock;
+StartupNotify=true
+X-GNOME-UsesNotifications=true
diff --git a/biblio/bibtex/utils/mkbib/help/C/contacts.page b/biblio/bibtex/utils/mkbib/help/C/contacts.page
new file mode 100644
index 0000000000..221ce50504
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/help/C/contacts.page
@@ -0,0 +1,23 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic"
+ id="contacts">
+
+ <info>
+ <link type="guide" xref="index#troubleshooting" group="first"/>
+
+ <credit type="author copyright">
+ <name>Rudra Banerjee</name>
+ <email>rudra.banerjee@aol.co.uk</email>
+ <years>2013</years>
+ </credit>
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
+ <desc>INFO on <app>BiBTeX</app></desc>
+ </info>
+ <title>Contacts</title>
+ <terms>
+ <item>
+ <title><sys href="mailto:rudra.banerjee@aol.co.uk">Mail Me</sys></title>
+ <p>Contact Me to report bugs and suggested enhancements.</p>
+ </item>
+ </terms>
+</page>
diff --git a/biblio/bibtex/utils/mkbib/help/C/feature.page b/biblio/bibtex/utils/mkbib/help/C/feature.page
new file mode 100644
index 0000000000..1629ea6ed0
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/help/C/feature.page
@@ -0,0 +1,80 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic"
+ id="feature">
+
+ <info>
+ <link type="guide" xref="index#overview" group="#first"/>
+ <link type="next" xref="interface"/>
+ <credit type="author copyright">
+ <name>Rudra Banerjee</name>
+ <email>rudra.banerjee@aol.co.uk</email>
+ <years>2013</years>
+ </credit>
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
+ <desc><app>mkBiB</app>: what it can and what it cann't</desc>
+ </info>
+
+ <title><app>mkBiB</app>: Features and Limitatioins</title>
+ <section id="features">
+ <title>Features</title>
+ <list>
+ <item>
+ <p>
+ A simple gui to generate and edit bibtex file.
+ </p>
+ </item>
+ <item>
+ <p>
+ Search google scholar from the same interface(Search in google scholar webpage, not withstanding their terms of usage,in my knowledge).
+ </p>
+ </item>
+ <item>
+ <p>
+ Include a complete bibtex entry.
+ </p>
+ </item>
+ </list>
+ </section>
+ <section id="limitations">
+ <title>Limitations</title>
+ <list>
+ <item>
+ <p>
+ <app>BiBTeX</app> can be used with many format. The most popular (very small number of subset) of those format is tested.
+ </p>
+ </item>
+ </list>
+ </section>
+ <section id="File_Type">
+ <title>Acceptable Entry Type</title>
+ <p>Below are two type of accpted and tested entry type</p>
+ <code mime="application/x-latex">
+ @article{RevModPhys.71.1253,
+ title = {Nobel Lecture: Electronic structure of
+ matter\char22{}wave functions and density functionals},
+ author = {Kohn, W.},
+ journal = {Rev. Mod. Phys.},
+ volume = {71},
+ issue = {5},
+ pages = {1253--1266},
+ year = {1999},
+ publisher = {American Physical Society}
+ }
+ </code>
+ <code>
+ @article{RevModPhys.71.1253,
+ title = "Nobel Lecture: Electronic structure of
+ matter\char22{}wave functions and density functionals",
+ author = "Kohn, W.",
+ journal = "Rev. Mod. Phys.",
+ volume = "71",
+ issue = "5",
+ pages = "1253--1266",
+ year = "1999",
+ publisher = "American Physical Society"
+ }
+ </code>
+ <p>When a entry is made by putting value to each key as available in left pane, it will produce a entry shown below.</p>
+ </section>
+</page>
+
diff --git a/biblio/bibtex/utils/mkbib/help/C/google.page b/biblio/bibtex/utils/mkbib/help/C/google.page
new file mode 100644
index 0000000000..a19742b6df
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/help/C/google.page
@@ -0,0 +1,26 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic"
+ id="google">
+
+ <info>
+ <link type="guide" xref="index#usage"/>
+ <link type="next" xref="keyboard-shortcuts"/>
+
+ <credit type="author copyright">
+ <name>Rudra Banerjee</name>
+ <email>rudra.banerjee@aol.co.uk</email>
+ <years>2013</years>
+ </credit>
+
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
+
+ <desc>Search <app>Google Scholar</app></desc>
+
+ </info>
+ <title>Search <app>Google Scholar</app></title>
+ <p>Right from the left pane, user can "Search Google Scholar". Just enter <gui>Author</gui>, <gui>Title(As Keyword)</gui> and <gui>Year(Optional)</gui> and hit <gui style="button">Search Google Scholar</gui>. The result will be shown in user's default web browser.
+ </p>
+ <note style="tip"><p>You can do better by turning bibtex link in google scholar setting "on"</p></note>
+
+</page>
+
diff --git a/biblio/bibtex/utils/mkbib/help/C/images/entry_pane.png b/biblio/bibtex/utils/mkbib/help/C/images/entry_pane.png
new file mode 100644
index 0000000000..a0bedb5972
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/help/C/images/entry_pane.png
Binary files differ
diff --git a/biblio/bibtex/utils/mkbib/help/C/images/left_pane.png b/biblio/bibtex/utils/mkbib/help/C/images/left_pane.png
new file mode 100644
index 0000000000..3ae1e0f9bf
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/help/C/images/left_pane.png
Binary files differ
diff --git a/biblio/bibtex/utils/mkbib/help/C/images/mkbib.png b/biblio/bibtex/utils/mkbib/help/C/images/mkbib.png
new file mode 100644
index 0000000000..d010b7e167
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/help/C/images/mkbib.png
Binary files differ
diff --git a/biblio/bibtex/utils/mkbib/help/C/images/right_pane.png b/biblio/bibtex/utils/mkbib/help/C/images/right_pane.png
new file mode 100644
index 0000000000..47eece605b
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/help/C/images/right_pane.png
Binary files differ
diff --git a/biblio/bibtex/utils/mkbib/help/C/index.page b/biblio/bibtex/utils/mkbib/help/C/index.page
new file mode 100644
index 0000000000..4988a3c1b3
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/help/C/index.page
@@ -0,0 +1,30 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="guide" style="2column task"
+ id="index">
+
+ <info>
+ <credit type="author copyright">
+ <name>Rudra Banerjee</name>
+ <email>rudra.banerjee@aol.co.uk</email>
+ <years>2013</years>
+ </credit>
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
+ </info>
+
+ <title>
+ <media type="image" mime="image/png" src="images/mkbib.png"/> mkBiB Manual
+ </title>
+
+ <section id="overview" style="2column">
+ <title>Overview</title>
+ </section>
+
+
+ <section id="usage" style="2column">
+ <title>Using <app>mkBiB</app></title>
+ </section>
+
+ <section id="troubleshooting" style="2column">
+ <title>Common problems and solutions</title>
+ </section>
+</page>
diff --git a/biblio/bibtex/utils/mkbib/help/C/install.page b/biblio/bibtex/utils/mkbib/help/C/install.page
new file mode 100644
index 0000000000..b28b7ecf86
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/help/C/install.page
@@ -0,0 +1,58 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic"
+ id="install">
+
+ <info>
+ <link type="guide" xref="index#overview" group="#last"/>
+ <link type="next" xref="index#usage"/>
+
+ <credit type="author copyright">
+ <name>Rudra Banerjee</name>
+ <email>rudra.banerjee@aol.co.uk</email>
+ <years>2013</years>
+ </credit>
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
+ <desc>Installing <app>mkBiB</app>: general and distro specific instruction.</desc>
+ </info>
+
+ <title>Installing <app>mkBiB</app></title>
+ <section id="Download">
+ <title>Download</title>
+ <p>
+ The most recent updated will always be available from <link href="http://download.savannah.gnu.org/releases/mkbib/">SAVANNAH REPO</link>.
+ </p>
+ <p>
+ The stable version will be availavle from <link href="http://www.ctan.org/pkg/mkbib">CTAN REPO</link>
+ </p>
+
+
+ </section>
+ <section id="install_generic">
+ <title>Required Packages</title>
+ <list>
+ <item><p>GTK+-3</p></item>
+ <item><p>libsoup</p></item>
+ <item><p>intltool</p></item>
+ <item><p>yelp-tools</p></item>
+ <item><p>gnu-flex and bison</p></item>
+ </list>
+ </section>
+ <section id="distro">
+ <title>Instruction for specific distro</title>
+ <section id="fedora">
+ <title>Fedora 18</title>
+ <screen>yum install libsoup-devel.x86_64 intltool\
+ yelp-tools intltool gtk3-devel \
+ flex flex-devel bison</screen>
+ </section>
+ <section id="arch">
+ <title>Arch</title>
+ <note>
+ <p>
+ Instruction for Arch and Ubuntu will be updated soon.
+ </p>
+ </note>
+ </section>
+ </section>
+</page>
+
diff --git a/biblio/bibtex/utils/mkbib/help/C/interface.page b/biblio/bibtex/utils/mkbib/help/C/interface.page
new file mode 100644
index 0000000000..14d3ddab26
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/help/C/interface.page
@@ -0,0 +1,51 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic"
+ id="interface">
+
+ <info>
+ <link type="guide" xref="index#overview"/>
+<link type="next" xref="install"/>
+
+ <credit type="author copyright">
+ <name>Rudra Banerjee</name>
+ <email>rudra.banerjee@aol.co.uk</email>
+ <years>2013</years>
+ </credit>
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
+ <desc><app>mkBiB</app>'s Interface</desc>
+ </info>
+
+ <title><app>mkBiB</app> Interface</title>
+ <p><app>mkBiB</app> is an editor and viewer of <app>BiBTeX</app> file. The left hand pane is the main editor, and the right hand pane is the main viewer.</p>
+ <section id="left_pane">
+ <title>Left Pane</title>
+ <p>
+ This Left Pane is the main editing area of <app>mkBiB</app>
+ </p>
+ <media type="image" src="images/left_pane.png" width="240"/>
+ <section id="menu_bar">
+ <title><gui style="menuitem">Menu Bar</gui></title>
+ <p>
+ <gui style="group">Menu Bar</gui> contains standard <gui style="menu">File</gui>, <gui style="menu">Edit</gui> and <gui style="menu">Help</gui>.
+ </p>
+ <p>
+ <gui style="menuitem">File</gui> and <gui style="menuitem">Help</gui> contains traditional <gui style="menuitem">New</gui> , <gui style="menuitem">Open</gui>, <gui style="menuitem">Save</gui>, <gui style="menuitem">Save As</gui> and <gui style="menuitem">About</gui> and <gui style="menuitem">Help</gui> item with their traditional keyboard-shortcuts as listed <code xref="keyboard-shortcuts">here</code>.
+ </p>
+ </section>
+ <section id="entry_bar">
+ <title>Entries</title>
+ <p>This part is used to create a single bibtex entry giving its value one by one. When finished, press <gui style="button">Create</gui> button to create a single bibtex entry.</p>
+ <note style="tip">
+ <p>
+ An entry can be generated using <keyseq><key>Alt</key><key>E</key></keyseq> or <guiseq><gui style="menu">Edit</gui><gui style="menuitem">Edit</gui></guiseq> which will open a empty editor to input a complete entry.
+ </p>
+ </note>
+ </section>
+ </section>
+ <section id="right_pane">
+ <title>Right Pane</title>
+ <p>Right Pane the viewer of the <gui>BiBTeX</gui> and the inline editor of visible columns.</p>
+ <media type="image" src="images/right_pane.png" width="240"/>
+ </section>
+</page>
+
diff --git a/biblio/bibtex/utils/mkbib/help/C/introduction.page b/biblio/bibtex/utils/mkbib/help/C/introduction.page
new file mode 100644
index 0000000000..e60a8f8069
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/help/C/introduction.page
@@ -0,0 +1,25 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic"
+ id="introduction">
+
+ <info>
+ <link type="guide" xref="index"/>
+
+ <credit type="author copyright">
+ <name>Rudra Banerjee</name>
+ <email>rudra.banerjee@aol.co.uk</email>
+ <years>2013</years>
+ </credit>
+
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
+
+ <desc>What is <app>mkBiB</app>?</desc>
+
+ </info>
+
+ <title>Introduction</title>
+ <p><app>mkBiB</app> is a BibTeX manager.
+ User can creat, manage and edit a new or existing bibtex file.
+ User can enter each field separately or an complete entry.
+ </p>
+</page>
diff --git a/biblio/bibtex/utils/mkbib/help/C/keyboard-shortcuts.page b/biblio/bibtex/utils/mkbib/help/C/keyboard-shortcuts.page
new file mode 100644
index 0000000000..ad81fff1ec
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/help/C/keyboard-shortcuts.page
@@ -0,0 +1,90 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ xmlns:ui="http://projectmallard.org/experimental/ui/"
+ type="task"
+ id="keyboard-shortcuts">
+
+ <info>
+ <revision pkgversion="3.8" version="0.1" date="2013-03-29" status="candidate"/>
+ <link type="guide" xref="index#usage" group="#last"/>
+ <link type="next" xref="index#troubleshooting"/>
+
+ <credit type="author copyright">
+ <name>Rudra Banerjee</name>
+ <email>rudra.banerjee@aol.co.uk</email>
+ <years>2013</years>
+ </credit>
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
+
+ <desc>Use keyboard shortcuts to work with <app>mkBiB</app> more efficiently.</desc>
+
+ </info>
+
+ <title>Keyboard shortcuts</title>
+
+ <p>Keyboard shortcuts are combinations of keys that you can use instead of
+ navigating through the menu. The following shortcuts are available:</p>
+
+ <table rules="rows" frame="top bottom" ui:expanded="yes">
+ <title><gui style="guiitem">File</gui></title>
+ <thead>
+ <tr>
+ <td><p>Action</p></td>
+ <td><p>Shortcut</p></td>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><p>Open A New File</p></td>
+ <td><p><keyseq><key>Ctrl</key><key>N</key></keyseq></p></td>
+ </tr>
+ <tr>
+ <td><p>Open An Existing File</p></td>
+ <td><p><keyseq><key>Ctrl</key><key>O</key></keyseq></p></td>
+ </tr>
+ <tr>
+ <td><p>Save File</p></td>
+ <td><p><keyseq><key>Ctrl</key><key>S</key></keyseq></p></td>
+ </tr>
+ <tr>
+ <td><p>Save As A New/Existing File</p></td>
+ <td><p><keyseq><key>Shift</key><key>Ctrl</key><key>S</key></keyseq></p></td>
+ </tr>
+ <tr>
+ <td><p>Quit</p></td>
+ <td><p><keyseq><key>Ctrl</key><key>Q</key></keyseq></p></td>
+ </tr>
+ </tbody>
+ </table>
+
+ <table rules="rows" frame="top bottom" ui:expanded="yes">
+ <title>Edit</title>
+ <thead>
+ <tr>
+ <td><p>Action</p></td>
+ <td><p>Shortcut</p></td>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><p>Enter A Full Entry</p></td>
+ <td><p><keyseq><key>Alt</key><key>E</key></keyseq></p></td>
+ </tr>
+ </tbody>
+ </table>
+ <table rules="rows" frame="top bottom" ui:expanded="yes">
+ <title>Help</title>
+ <thead>
+ <tr>
+ <td><p>Action</p></td>
+ <td><p>Shortcut</p></td>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><p>Help (This Guide)</p></td>
+ <td><p><key>F1</key></p></td>
+ </tr>
+ </tbody>
+ </table>
+
+</page>
diff --git a/biblio/bibtex/utils/mkbib/help/C/legal.xml b/biblio/bibtex/utils/mkbib/help/C/legal.xml
new file mode 100644
index 0000000000..aff1f5a21a
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/help/C/legal.xml
@@ -0,0 +1,3 @@
+<license xmlns="http://projectmallard.org/1.0/">
+<p> Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. A copy of the license is available at <link href="http://www.gnu.org/licenses/fdl-1.3.txt">GNU Free Documentation License</link> </p>
+</license>
diff --git a/biblio/bibtex/utils/mkbib/help/C/new.page b/biblio/bibtex/utils/mkbib/help/C/new.page
new file mode 100644
index 0000000000..d179780b88
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/help/C/new.page
@@ -0,0 +1,33 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic"
+ id="new-file">
+
+ <info>
+ <link type="guide" xref="index#usage" group="first"/>
+<link type="next" xref="old-file"/>
+
+ <credit type="author copyright">
+ <name>Rudra Banerjee</name>
+ <email>rudra.banerjee@aol.co.uk</email>
+ <years>2013</years>
+ </credit>
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
+ <desc>Creating a new <app>BiBTeX</app> using <app>mkBiB</app></desc>
+ </info>
+
+ <title>Creating a new <app>BiBTeX</app></title>
+ <p>An antry can be created either by putting values to cell as described in <code xref="#new_cell">New Cell</code> or a complete entry, as described in <code xref="#new_entry">New Entry</code> below.</p>
+ <section id="new_cell">
+ <title>New Cell</title>
+ <p>Entries are adden in the left pane. The <gui style="button">Entry Type</gui> and <gui style="button">bibkey</gui> is compulsury.
+ </p>
+ <media type="image" src="images/left_pane.png" width="200"/>
+ </section>
+ <section id="new_entry">
+ <title>New Entry</title>
+ <p>A complete entry can be added using <guiseq><gui>Edit</gui><gui>Edit</gui></guiseq>
+ Enter the entry in the pane opened, and click <gui style="button">Create</gui> to create the entry.
+ </p><media type="image" src="images/entry_pane.png" width="200"/>
+ </section>
+</page>
+
diff --git a/biblio/bibtex/utils/mkbib/help/C/old.page b/biblio/bibtex/utils/mkbib/help/C/old.page
new file mode 100644
index 0000000000..355c1d3b8f
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/help/C/old.page
@@ -0,0 +1,41 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic"
+ id="old-file">
+
+ <info>
+ <link type="guide" xref="index#usage"/>
+<link type="next" xref="google"/>
+
+ <credit type="author copyright">
+ <name>Rudra Banerjee</name>
+ <email>rudra.banerjee@aol.co.uk</email>
+ <years>2013</years>
+ </credit>
+
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
+
+ <desc>Manageing an existing <app>BiBTeX</app> using <app>mkBiB</app></desc>
+
+ </info>
+ <title>Manageing an existing <app>BiBTeX</app></title>
+ <p>
+ Open an existing <app>BiBTeX</app> follows standard method of openning files i.e. <keyseq><key>Ctrl</key><key>O</key></keyseq> or <guiseq><gui>File</gui><gui>Open</gui></guiseq> in <gui style="menuitem">menubar</gui>.
+ </p>
+ <p>Manageing an existing <app>BiBTeX</app> file using <app>mkBiB</app> can be done in two way. </p>
+ <section id="edit_cell">
+ <title>Editing The View Pane</title>
+ <p>
+ All the elements visible in the right pane can be edited by double clicking on the corresponding cell.
+ </p>
+ <note style="warning">
+ <p>Only visible columns, i.e. 5 columns can be edited. For all other columns, you have to do it manually, using a Text Editor.</p>
+ </note>
+ </section>
+ <section id="new-cell">
+ <title>New Entry In Existing File</title>
+ <p>
+ You can enter new entries in existing <app>BiBTeX</app> as described <code xref="new-file#new_cell">here</code> or <code xref="new-file#new_entry">here</code>.
+ </p>
+ </section>
+</page>
+
diff --git a/biblio/bibtex/utils/mkbib/help/C/trouble.page b/biblio/bibtex/utils/mkbib/help/C/trouble.page
new file mode 100644
index 0000000000..3c99555cf4
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/help/C/trouble.page
@@ -0,0 +1,28 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic"
+ id="bibref">
+
+ <info>
+ <link type="guide" xref="index#troubleshooting" group="first"/>
+ <link type="next" xref="contacts"/>
+
+ <credit type="author copyright">
+ <name>Rudra Banerjee</name>
+ <email>rudra.banerjee@aol.co.uk</email>
+ <years>2013</years>
+ </credit>
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
+ <desc>INFO on <app>BiBTeX</app></desc>
+ </info>
+ <title>Usefule <app>BiBTeX</app> links</title>
+ <terms>
+ <item>
+ <title><sys href="http://bibtex.org">bibtex.org</sys></title>
+ <p>Here you will find everything you need to know about <app>BiBTeX</app>, or such the website clames.</p>
+ </item>
+ <item>
+ <title><sys href="http://www.cs.stir.ac.uk/~kjt/software/latex/showbst.html">Ken Turnet's page on <app>BiBTeX</app></sys></title>
+ <p>A collection of most used <app>BiBTeX</app> style's output. Very Helpful.</p>
+ </item>
+ </terms>
+</page>
diff --git a/biblio/bibtex/utils/mkbib/help/Makefile.am b/biblio/bibtex/utils/mkbib/help/Makefile.am
new file mode 100644
index 0000000000..86bf9ce87c
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/help/Makefile.am
@@ -0,0 +1,28 @@
+@YELP_HELP_RULES@
+
+HELP_ID = mkbib
+
+HELP_FILES = \
+ contacts.page \
+ feature.page \
+ google.page \
+ index.page \
+ install.page \
+ interface.page \
+ introduction.page \
+ keyboard-shortcuts.page \
+ legal.xml \
+ new.page \
+ old.page \
+ trouble.page
+
+HELP_MEDIA = \
+ images/mkbib.png \
+ images/left_pane.png \
+ images/right_pane.png \
+ images/entry_pane.png
+
+HELP_LINGUAS =
+
+DISTCLEANFILES = \
+ Makefile.in
diff --git a/biblio/bibtex/utils/mkbib/help/Makefile.in b/biblio/bibtex/utils/mkbib/help/Makefile.in
new file mode 100644
index 0000000000..06bc155f98
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/help/Makefile.in
@@ -0,0 +1,404 @@
+# Makefile.in generated by automake 1.12.2 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2012 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+VPATH = @srcdir@
+am__make_dryrun = \
+ { \
+ am__dry=no; \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
+ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
+ *) \
+ for am__flg in $$MAKEFLAGS; do \
+ case $$am__flg in \
+ *=*|--*) ;; \
+ *n*) am__dry=yes; break;; \
+ esac; \
+ done;; \
+ esac; \
+ test $$am__dry = yes; \
+ }
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+subdir = help
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
+ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+ALL_LINGUAS = @ALL_LINGUAS@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPPFLAGS = @CPPFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DATADIRNAME = @DATADIRNAME@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EXEEXT = @EXEEXT@
+GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
+GMSGFMT = @GMSGFMT@
+GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
+GTK_CFLAGS = @GTK_CFLAGS@
+GTK_LIBS = @GTK_LIBS@
+HELP_DIR = @HELP_DIR@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
+INTLTOOL_MERGE = @INTLTOOL_MERGE@
+INTLTOOL_PERL = @INTLTOOL_PERL@
+INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
+INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@
+INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@
+INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@
+INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@
+ITSTOOL = @ITSTOOL@
+LDFLAGS = @LDFLAGS@
+LEX = @LEX@
+LEXLIB = @LEXLIB@
+LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@
+LIBSOUP_LIBS = @LIBSOUP_LIBS@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MKDIR_P = @MKDIR_P@
+MSGFMT = @MSGFMT@
+MSGMERGE = @MSGMERGE@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+USE_NLS = @USE_NLS@
+VERSION = @VERSION@
+XGETTEXT = @XGETTEXT@
+XMLLINT = @XMLLINT@
+YACC = @YACC@
+YACC_EXISTS = @YACC_EXISTS@
+YFLAGS = @YFLAGS@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build_alias = @build_alias@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+gsettingsschemadir = @gsettingsschemadir@
+host_alias = @host_alias@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+intltool__v_merge_options_ = @intltool__v_merge_options_@
+intltool__v_merge_options_0 = @intltool__v_merge_options_0@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+HELP_ID = mkbib
+HELP_FILES = \
+ contacts.page \
+ feature.page \
+ google.page \
+ index.page \
+ install.page \
+ interface.page \
+ introduction.page \
+ keyboard-shortcuts.page \
+ legal.xml \
+ new.page \
+ old.page \
+ trouble.page
+
+HELP_MEDIA = \
+ images/mkbib.png \
+ images/left_pane.png \
+ images/right_pane.png \
+ images/entry_pane.png
+
+HELP_LINGUAS =
+DISTCLEANFILES = \
+ Makefile.in
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign help/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --foreign help/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+tags: TAGS
+TAGS:
+
+ctags: CTAGS
+CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+ -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic distclean \
+ distclean-generic distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am
+
+@YELP_HELP_RULES@
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/biblio/bibtex/utils/mkbib/images/icon.png b/biblio/bibtex/utils/mkbib/images/icon.png
new file mode 100644
index 0000000000..f460a7cb62
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/images/icon.png
Binary files differ
diff --git a/biblio/bibtex/utils/mkbib/images/icon.svg b/biblio/bibtex/utils/mkbib/images/icon.svg
new file mode 100644
index 0000000000..286641abe3
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/images/icon.svg
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.1"
+ width="130"
+ height="80"
+ id="svg3868">
+ <defs
+ id="defs3870" />
+ <metadata
+ id="metadata3873">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ transform="translate(0,-972.36218)"
+ id="layer1">
+ <rect
+ width="130"
+ height="80"
+ x="0"
+ y="0"
+ transform="translate(0,972.36218)"
+ id="rect3878"
+ style="color:#000000;fill:#ffffff;fill-opacity:0.94736843;fill-rule:nonzero;stroke:#e21400;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
+ <text
+ x="0"
+ y="1047.3622"
+ id="text4404"
+ xml:space="preserve"
+ style="font-size:90px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:350%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:URW Bookman L;-inkscape-font-specification:URW Bookman L"><tspan
+ x="0"
+ y="1047.3622"
+ id="tspan4406">B<tspan
+ id="tspan4408"
+ style="font-size:60px">IB</tspan></tspan></text>
+ <text
+ x="-11.537002"
+ y="70.891838"
+ transform="translate(0,972.36218)"
+ id="text4410"
+ xml:space="preserve"
+ style="font-size:90px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:350%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:URW Bookman L;-inkscape-font-specification:URW Bookman L"><tspan
+ x="-11.537002"
+ y="70.891838"
+ id="tspan4412"></tspan></text>
+ <text
+ x="68.226433"
+ y="1003.8713"
+ transform="scale(0.99743651,1.0025701)"
+ id="text4414"
+ xml:space="preserve"
+ style="font-size:38.63040543px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:350%;letter-spacing:0px;word-spacing:0px;fill:#800000;fill-opacity:1;stroke:none;font-family:URW Bookman L;-inkscape-font-specification:URW Bookman L"><tspan
+ x="68.226433"
+ y="1003.8713"
+ id="tspan4416">mk</tspan></text>
+ </g>
+</svg>
diff --git a/biblio/bibtex/utils/mkbib/images/mkbib.png b/biblio/bibtex/utils/mkbib/images/mkbib.png
new file mode 100644
index 0000000000..d010b7e167
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/images/mkbib.png
Binary files differ
diff --git a/biblio/bibtex/utils/mkbib/images/mkbib.svg b/biblio/bibtex/utils/mkbib/images/mkbib.svg
new file mode 100644
index 0000000000..286641abe3
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/images/mkbib.svg
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.1"
+ width="130"
+ height="80"
+ id="svg3868">
+ <defs
+ id="defs3870" />
+ <metadata
+ id="metadata3873">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ transform="translate(0,-972.36218)"
+ id="layer1">
+ <rect
+ width="130"
+ height="80"
+ x="0"
+ y="0"
+ transform="translate(0,972.36218)"
+ id="rect3878"
+ style="color:#000000;fill:#ffffff;fill-opacity:0.94736843;fill-rule:nonzero;stroke:#e21400;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
+ <text
+ x="0"
+ y="1047.3622"
+ id="text4404"
+ xml:space="preserve"
+ style="font-size:90px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:350%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:URW Bookman L;-inkscape-font-specification:URW Bookman L"><tspan
+ x="0"
+ y="1047.3622"
+ id="tspan4406">B<tspan
+ id="tspan4408"
+ style="font-size:60px">IB</tspan></tspan></text>
+ <text
+ x="-11.537002"
+ y="70.891838"
+ transform="translate(0,972.36218)"
+ id="text4410"
+ xml:space="preserve"
+ style="font-size:90px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:350%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:URW Bookman L;-inkscape-font-specification:URW Bookman L"><tspan
+ x="-11.537002"
+ y="70.891838"
+ id="tspan4412"></tspan></text>
+ <text
+ x="68.226433"
+ y="1003.8713"
+ transform="scale(0.99743651,1.0025701)"
+ id="text4414"
+ xml:space="preserve"
+ style="font-size:38.63040543px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:350%;letter-spacing:0px;word-spacing:0px;fill:#800000;fill-opacity:1;stroke:none;font-family:URW Bookman L;-inkscape-font-specification:URW Bookman L"><tspan
+ x="68.226433"
+ y="1003.8713"
+ id="tspan4416">mk</tspan></text>
+ </g>
+</svg>
diff --git a/biblio/bibtex/utils/mkbib/m4/codeset.m4 b/biblio/bibtex/utils/mkbib/m4/codeset.m4
new file mode 100644
index 0000000000..223955b454
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/codeset.m4
@@ -0,0 +1,21 @@
+# codeset.m4 serial 2 (gettext-0.16)
+dnl Copyright (C) 2000-2002, 2006 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl From Bruno Haible.
+
+AC_DEFUN([AM_LANGINFO_CODESET],
+[
+ AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset,
+ [AC_TRY_LINK([#include <langinfo.h>],
+ [char* cs = nl_langinfo(CODESET); return !cs;],
+ am_cv_langinfo_codeset=yes,
+ am_cv_langinfo_codeset=no)
+ ])
+ if test $am_cv_langinfo_codeset = yes; then
+ AC_DEFINE(HAVE_LANGINFO_CODESET, 1,
+ [Define if you have <langinfo.h> and nl_langinfo(CODESET).])
+ fi
+])
diff --git a/biblio/bibtex/utils/mkbib/m4/gettext.m4 b/biblio/bibtex/utils/mkbib/m4/gettext.m4
new file mode 100644
index 0000000000..c9ae1f7de8
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/gettext.m4
@@ -0,0 +1,381 @@
+# gettext.m4 serial 60 (gettext-0.17)
+dnl Copyright (C) 1995-2007 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+dnl
+dnl This file can can be used in projects which are not available under
+dnl the GNU General Public License or the GNU Library General Public
+dnl License but which still want to provide support for the GNU gettext
+dnl functionality.
+dnl Please note that the actual code of the GNU gettext library is covered
+dnl by the GNU Library General Public License, and the rest of the GNU
+dnl gettext package package is covered by the GNU General Public License.
+dnl They are *not* in the public domain.
+
+dnl Authors:
+dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
+dnl Bruno Haible <haible@clisp.cons.org>, 2000-2006.
+
+dnl Macro to add for using GNU gettext.
+
+dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]).
+dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The
+dnl default (if it is not specified or empty) is 'no-libtool'.
+dnl INTLSYMBOL should be 'external' for packages with no intl directory,
+dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory.
+dnl If INTLSYMBOL is 'use-libtool', then a libtool library
+dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static,
+dnl depending on --{enable,disable}-{shared,static} and on the presence of
+dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library
+dnl $(top_builddir)/intl/libintl.a will be created.
+dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext
+dnl implementations (in libc or libintl) without the ngettext() function
+dnl will be ignored. If NEEDSYMBOL is specified and is
+dnl 'need-formatstring-macros', then GNU gettext implementations that don't
+dnl support the ISO C 99 <inttypes.h> formatstring macros will be ignored.
+dnl INTLDIR is used to find the intl libraries. If empty,
+dnl the value `$(top_builddir)/intl/' is used.
+dnl
+dnl The result of the configuration is one of three cases:
+dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled
+dnl and used.
+dnl Catalog format: GNU --> install in $(datadir)
+dnl Catalog extension: .mo after installation, .gmo in source tree
+dnl 2) GNU gettext has been found in the system's C library.
+dnl Catalog format: GNU --> install in $(datadir)
+dnl Catalog extension: .mo after installation, .gmo in source tree
+dnl 3) No internationalization, always use English msgid.
+dnl Catalog format: none
+dnl Catalog extension: none
+dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur.
+dnl The use of .gmo is historical (it was needed to avoid overwriting the
+dnl GNU format catalogs when building on a platform with an X/Open gettext),
+dnl but we keep it in order not to force irrelevant filename changes on the
+dnl maintainers.
+dnl
+AC_DEFUN([AM_GNU_GETTEXT],
+[
+ dnl Argument checking.
+ ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], ,
+ [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT
+])])])])])
+ ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], ,
+ [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
+])])])])
+ define([gt_included_intl],
+ ifelse([$1], [external],
+ ifdef([AM_GNU_GETTEXT_][INTL_SUBDIR], [yes], [no]),
+ [yes]))
+ define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], []))
+ gt_NEEDS_INIT
+ AM_GNU_GETTEXT_NEED([$2])
+
+ AC_REQUIRE([AM_PO_SUBDIRS])dnl
+ ifelse(gt_included_intl, yes, [
+ AC_REQUIRE([AM_INTL_SUBDIR])dnl
+ ])
+
+ dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
+ AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
+ AC_REQUIRE([AC_LIB_RPATH])
+
+ dnl Sometimes libintl requires libiconv, so first search for libiconv.
+ dnl Ideally we would do this search only after the
+ dnl if test "$USE_NLS" = "yes"; then
+ dnl if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
+ dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT
+ dnl the configure script would need to contain the same shell code
+ dnl again, outside any 'if'. There are two solutions:
+ dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
+ dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE.
+ dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not
+ dnl documented, we avoid it.
+ ifelse(gt_included_intl, yes, , [
+ AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
+ ])
+
+ dnl Sometimes, on MacOS X, libintl requires linking with CoreFoundation.
+ gt_INTL_MACOSX
+
+ dnl Set USE_NLS.
+ AC_REQUIRE([AM_NLS])
+
+ ifelse(gt_included_intl, yes, [
+ BUILD_INCLUDED_LIBINTL=no
+ USE_INCLUDED_LIBINTL=no
+ ])
+ LIBINTL=
+ LTLIBINTL=
+ POSUB=
+
+ dnl Add a version number to the cache macros.
+ case " $gt_needs " in
+ *" need-formatstring-macros "*) gt_api_version=3 ;;
+ *" need-ngettext "*) gt_api_version=2 ;;
+ *) gt_api_version=1 ;;
+ esac
+ gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
+ gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
+
+ dnl If we use NLS figure out what method
+ if test "$USE_NLS" = "yes"; then
+ gt_use_preinstalled_gnugettext=no
+ ifelse(gt_included_intl, yes, [
+ AC_MSG_CHECKING([whether included gettext is requested])
+ AC_ARG_WITH(included-gettext,
+ [ --with-included-gettext use the GNU gettext library included here],
+ nls_cv_force_use_gnu_gettext=$withval,
+ nls_cv_force_use_gnu_gettext=no)
+ AC_MSG_RESULT($nls_cv_force_use_gnu_gettext)
+
+ nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
+ if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
+ ])
+ dnl User does not insist on using GNU NLS library. Figure out what
+ dnl to use. If GNU gettext is available we use this. Else we have
+ dnl to fall back to GNU NLS library.
+
+ if test $gt_api_version -ge 3; then
+ gt_revision_test_code='
+#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
+#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
+#endif
+changequote(,)dnl
+typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
+changequote([,])dnl
+'
+ else
+ gt_revision_test_code=
+ fi
+ if test $gt_api_version -ge 2; then
+ gt_expression_test_code=' + * ngettext ("", "", 0)'
+ else
+ gt_expression_test_code=
+ fi
+
+ AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc],
+ [AC_TRY_LINK([#include <libintl.h>
+$gt_revision_test_code
+extern int _nl_msg_cat_cntr;
+extern int *_nl_domain_bindings;],
+ [bindtextdomain ("", "");
+return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings],
+ [eval "$gt_func_gnugettext_libc=yes"],
+ [eval "$gt_func_gnugettext_libc=no"])])
+
+ if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
+ dnl Sometimes libintl requires libiconv, so first search for libiconv.
+ ifelse(gt_included_intl, yes, , [
+ AM_ICONV_LINK
+ ])
+ dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL
+ dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv])
+ dnl because that would add "-liconv" to LIBINTL and LTLIBINTL
+ dnl even if libiconv doesn't exist.
+ AC_LIB_LINKFLAGS_BODY([intl])
+ AC_CACHE_CHECK([for GNU gettext in libintl],
+ [$gt_func_gnugettext_libintl],
+ [gt_save_CPPFLAGS="$CPPFLAGS"
+ CPPFLAGS="$CPPFLAGS $INCINTL"
+ gt_save_LIBS="$LIBS"
+ LIBS="$LIBS $LIBINTL"
+ dnl Now see whether libintl exists and does not depend on libiconv.
+ AC_TRY_LINK([#include <libintl.h>
+$gt_revision_test_code
+extern int _nl_msg_cat_cntr;
+extern
+#ifdef __cplusplus
+"C"
+#endif
+const char *_nl_expand_alias (const char *);],
+ [bindtextdomain ("", "");
+return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
+ [eval "$gt_func_gnugettext_libintl=yes"],
+ [eval "$gt_func_gnugettext_libintl=no"])
+ dnl Now see whether libintl exists and depends on libiconv.
+ if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
+ LIBS="$LIBS $LIBICONV"
+ AC_TRY_LINK([#include <libintl.h>
+$gt_revision_test_code
+extern int _nl_msg_cat_cntr;
+extern
+#ifdef __cplusplus
+"C"
+#endif
+const char *_nl_expand_alias (const char *);],
+ [bindtextdomain ("", "");
+return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
+ [LIBINTL="$LIBINTL $LIBICONV"
+ LTLIBINTL="$LTLIBINTL $LTLIBICONV"
+ eval "$gt_func_gnugettext_libintl=yes"
+ ])
+ fi
+ CPPFLAGS="$gt_save_CPPFLAGS"
+ LIBS="$gt_save_LIBS"])
+ fi
+
+ dnl If an already present or preinstalled GNU gettext() is found,
+ dnl use it. But if this macro is used in GNU gettext, and GNU
+ dnl gettext is already preinstalled in libintl, we update this
+ dnl libintl. (Cf. the install rule in intl/Makefile.in.)
+ if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
+ || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
+ && test "$PACKAGE" != gettext-runtime \
+ && test "$PACKAGE" != gettext-tools; }; then
+ gt_use_preinstalled_gnugettext=yes
+ else
+ dnl Reset the values set by searching for libintl.
+ LIBINTL=
+ LTLIBINTL=
+ INCINTL=
+ fi
+
+ ifelse(gt_included_intl, yes, [
+ if test "$gt_use_preinstalled_gnugettext" != "yes"; then
+ dnl GNU gettext is not found in the C library.
+ dnl Fall back on included GNU gettext library.
+ nls_cv_use_gnu_gettext=yes
+ fi
+ fi
+
+ if test "$nls_cv_use_gnu_gettext" = "yes"; then
+ dnl Mark actions used to generate GNU NLS library.
+ BUILD_INCLUDED_LIBINTL=yes
+ USE_INCLUDED_LIBINTL=yes
+ LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV $LIBTHREAD"
+ LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV $LTLIBTHREAD"
+ LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
+ fi
+
+ CATOBJEXT=
+ if test "$gt_use_preinstalled_gnugettext" = "yes" \
+ || test "$nls_cv_use_gnu_gettext" = "yes"; then
+ dnl Mark actions to use GNU gettext tools.
+ CATOBJEXT=.gmo
+ fi
+ ])
+
+ if test -n "$INTL_MACOSX_LIBS"; then
+ if test "$gt_use_preinstalled_gnugettext" = "yes" \
+ || test "$nls_cv_use_gnu_gettext" = "yes"; then
+ dnl Some extra flags are needed during linking.
+ LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
+ LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
+ fi
+ fi
+
+ if test "$gt_use_preinstalled_gnugettext" = "yes" \
+ || test "$nls_cv_use_gnu_gettext" = "yes"; then
+ AC_DEFINE(ENABLE_NLS, 1,
+ [Define to 1 if translation of program messages to the user's native language
+ is requested.])
+ else
+ USE_NLS=no
+ fi
+ fi
+
+ AC_MSG_CHECKING([whether to use NLS])
+ AC_MSG_RESULT([$USE_NLS])
+ if test "$USE_NLS" = "yes"; then
+ AC_MSG_CHECKING([where the gettext function comes from])
+ if test "$gt_use_preinstalled_gnugettext" = "yes"; then
+ if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
+ gt_source="external libintl"
+ else
+ gt_source="libc"
+ fi
+ else
+ gt_source="included intl directory"
+ fi
+ AC_MSG_RESULT([$gt_source])
+ fi
+
+ if test "$USE_NLS" = "yes"; then
+
+ if test "$gt_use_preinstalled_gnugettext" = "yes"; then
+ if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
+ AC_MSG_CHECKING([how to link with libintl])
+ AC_MSG_RESULT([$LIBINTL])
+ AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
+ fi
+
+ dnl For backward compatibility. Some packages may be using this.
+ AC_DEFINE(HAVE_GETTEXT, 1,
+ [Define if the GNU gettext() function is already present or preinstalled.])
+ AC_DEFINE(HAVE_DCGETTEXT, 1,
+ [Define if the GNU dcgettext() function is already present or preinstalled.])
+ fi
+
+ dnl We need to process the po/ directory.
+ POSUB=po
+ fi
+
+ ifelse(gt_included_intl, yes, [
+ dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
+ dnl to 'yes' because some of the testsuite requires it.
+ if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
+ BUILD_INCLUDED_LIBINTL=yes
+ fi
+
+ dnl Make all variables we use known to autoconf.
+ AC_SUBST(BUILD_INCLUDED_LIBINTL)
+ AC_SUBST(USE_INCLUDED_LIBINTL)
+ AC_SUBST(CATOBJEXT)
+
+ dnl For backward compatibility. Some configure.ins may be using this.
+ nls_cv_header_intl=
+ nls_cv_header_libgt=
+
+ dnl For backward compatibility. Some Makefiles may be using this.
+ DATADIRNAME=share
+ AC_SUBST(DATADIRNAME)
+
+ dnl For backward compatibility. Some Makefiles may be using this.
+ INSTOBJEXT=.mo
+ AC_SUBST(INSTOBJEXT)
+
+ dnl For backward compatibility. Some Makefiles may be using this.
+ GENCAT=gencat
+ AC_SUBST(GENCAT)
+
+ dnl For backward compatibility. Some Makefiles may be using this.
+ INTLOBJS=
+ if test "$USE_INCLUDED_LIBINTL" = yes; then
+ INTLOBJS="\$(GETTOBJS)"
+ fi
+ AC_SUBST(INTLOBJS)
+
+ dnl Enable libtool support if the surrounding package wishes it.
+ INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix
+ AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX)
+ ])
+
+ dnl For backward compatibility. Some Makefiles may be using this.
+ INTLLIBS="$LIBINTL"
+ AC_SUBST(INTLLIBS)
+
+ dnl Make all documented variables known to autoconf.
+ AC_SUBST(LIBINTL)
+ AC_SUBST(LTLIBINTL)
+ AC_SUBST(POSUB)
+])
+
+
+dnl gt_NEEDS_INIT ensures that the gt_needs variable is initialized.
+m4_define([gt_NEEDS_INIT],
+[
+ m4_divert_text([DEFAULTS], [gt_needs=])
+ m4_define([gt_NEEDS_INIT], [])
+])
+
+
+dnl Usage: AM_GNU_GETTEXT_NEED([NEEDSYMBOL])
+AC_DEFUN([AM_GNU_GETTEXT_NEED],
+[
+ m4_divert_text([INIT_PREPARE], [gt_needs="$gt_needs $1"])
+])
+
+
+dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version])
+AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
diff --git a/biblio/bibtex/utils/mkbib/m4/glibc2.m4 b/biblio/bibtex/utils/mkbib/m4/glibc2.m4
new file mode 100644
index 0000000000..e8f5bfe6ed
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/glibc2.m4
@@ -0,0 +1,30 @@
+# glibc2.m4 serial 1
+dnl Copyright (C) 2000-2002, 2004 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+# Test for the GNU C Library, version 2.0 or newer.
+# From Bruno Haible.
+
+AC_DEFUN([gt_GLIBC2],
+ [
+ AC_CACHE_CHECK(whether we are using the GNU C Library 2 or newer,
+ ac_cv_gnu_library_2,
+ [AC_EGREP_CPP([Lucky GNU user],
+ [
+#include <features.h>
+#ifdef __GNU_LIBRARY__
+ #if (__GLIBC__ >= 2)
+ Lucky GNU user
+ #endif
+#endif
+ ],
+ ac_cv_gnu_library_2=yes,
+ ac_cv_gnu_library_2=no)
+ ]
+ )
+ AC_SUBST(GLIBC2)
+ GLIBC2="$ac_cv_gnu_library_2"
+ ]
+)
diff --git a/biblio/bibtex/utils/mkbib/m4/glibc21.m4 b/biblio/bibtex/utils/mkbib/m4/glibc21.m4
new file mode 100644
index 0000000000..d95fd98613
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/glibc21.m4
@@ -0,0 +1,30 @@
+# glibc21.m4 serial 3
+dnl Copyright (C) 2000-2002, 2004 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+# Test for the GNU C Library, version 2.1 or newer.
+# From Bruno Haible.
+
+AC_DEFUN([gl_GLIBC21],
+ [
+ AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer,
+ ac_cv_gnu_library_2_1,
+ [AC_EGREP_CPP([Lucky GNU user],
+ [
+#include <features.h>
+#ifdef __GNU_LIBRARY__
+ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
+ Lucky GNU user
+ #endif
+#endif
+ ],
+ ac_cv_gnu_library_2_1=yes,
+ ac_cv_gnu_library_2_1=no)
+ ]
+ )
+ AC_SUBST(GLIBC21)
+ GLIBC21="$ac_cv_gnu_library_2_1"
+ ]
+)
diff --git a/biblio/bibtex/utils/mkbib/m4/gtk-doc.m4 b/biblio/bibtex/utils/mkbib/m4/gtk-doc.m4
new file mode 100644
index 0000000000..0ada151935
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/gtk-doc.m4
@@ -0,0 +1,67 @@
+dnl -*- mode: autoconf -*-
+
+# serial 1
+
+dnl Usage:
+dnl GTK_DOC_CHECK([minimum-gtk-doc-version])
+AC_DEFUN([GTK_DOC_CHECK],
+[
+ AC_REQUIRE([PKG_PROG_PKG_CONFIG])
+ AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
+ AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
+
+ dnl check for tools we added during development
+ AC_PATH_PROG([GTKDOC_CHECK],[gtkdoc-check])
+ AC_PATH_PROGS([GTKDOC_REBASE],[gtkdoc-rebase],[true])
+ AC_PATH_PROG([GTKDOC_MKPDF],[gtkdoc-mkpdf])
+
+ dnl for overriding the documentation installation directory
+ AC_ARG_WITH([html-dir],
+ AS_HELP_STRING([--with-html-dir=PATH], [path to installed docs]),,
+ [with_html_dir='${datadir}/gtk-doc/html'])
+ HTML_DIR="$with_html_dir"
+ AC_SUBST([HTML_DIR])
+
+ dnl enable/disable documentation building
+ AC_ARG_ENABLE([gtk-doc],
+ AS_HELP_STRING([--enable-gtk-doc],
+ [use gtk-doc to build documentation [[default=no]]]),,
+ [enable_gtk_doc=no])
+
+ if test x$enable_gtk_doc = xyes; then
+ ifelse([$1],[],
+ [PKG_CHECK_EXISTS([gtk-doc],,
+ AC_MSG_ERROR([gtk-doc not installed and --enable-gtk-doc requested]))],
+ [PKG_CHECK_EXISTS([gtk-doc >= $1],,
+ AC_MSG_ERROR([You need to have gtk-doc >= $1 installed to build $PACKAGE_NAME]))])
+ dnl don't check for glib if we build glib
+ if test "x$PACKAGE_NAME" != "xglib"; then
+ dnl don't fail if someone does not have glib
+ PKG_CHECK_MODULES(GTKDOC_DEPS, glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0,,)
+ fi
+ fi
+
+ AC_MSG_CHECKING([whether to build gtk-doc documentation])
+ AC_MSG_RESULT($enable_gtk_doc)
+
+ dnl enable/disable output formats
+ AC_ARG_ENABLE([gtk-doc-html],
+ AS_HELP_STRING([--enable-gtk-doc-html],
+ [build documentation in html format [[default=yes]]]),,
+ [enable_gtk_doc_html=yes])
+ AC_ARG_ENABLE([gtk-doc-pdf],
+ AS_HELP_STRING([--enable-gtk-doc-pdf],
+ [build documentation in pdf format [[default=no]]]),,
+ [enable_gtk_doc_pdf=no])
+
+ if test -z "$GTKDOC_MKPDF"; then
+ enable_gtk_doc_pdf=no
+ fi
+
+
+ AM_CONDITIONAL([ENABLE_GTK_DOC], [test x$enable_gtk_doc = xyes])
+ AM_CONDITIONAL([GTK_DOC_BUILD_HTML], [test x$enable_gtk_doc_html = xyes])
+ AM_CONDITIONAL([GTK_DOC_BUILD_PDF], [test x$enable_gtk_doc_pdf = xyes])
+ AM_CONDITIONAL([GTK_DOC_USE_LIBTOOL], [test -n "$LIBTOOL"])
+ AM_CONDITIONAL([GTK_DOC_USE_REBASE], [test -n "$GTKDOC_REBASE"])
+])
diff --git a/biblio/bibtex/utils/mkbib/m4/iconv.m4 b/biblio/bibtex/utils/mkbib/m4/iconv.m4
new file mode 100644
index 0000000000..66bc76f48c
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/iconv.m4
@@ -0,0 +1,180 @@
+# iconv.m4 serial AM6 (gettext-0.17)
+dnl Copyright (C) 2000-2002, 2007 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl From Bruno Haible.
+
+AC_DEFUN([AM_ICONV_LINKFLAGS_BODY],
+[
+ dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
+ AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
+ AC_REQUIRE([AC_LIB_RPATH])
+
+ dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
+ dnl accordingly.
+ AC_LIB_LINKFLAGS_BODY([iconv])
+])
+
+AC_DEFUN([AM_ICONV_LINK],
+[
+ dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
+ dnl those with the standalone portable GNU libiconv installed).
+ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
+
+ dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
+ dnl accordingly.
+ AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
+
+ dnl Add $INCICONV to CPPFLAGS before performing the following checks,
+ dnl because if the user has installed libiconv and not disabled its use
+ dnl via --without-libiconv-prefix, he wants to use it. The first
+ dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed.
+ am_save_CPPFLAGS="$CPPFLAGS"
+ AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
+
+ AC_CACHE_CHECK([for iconv], am_cv_func_iconv, [
+ am_cv_func_iconv="no, consider installing GNU libiconv"
+ am_cv_lib_iconv=no
+ AC_TRY_LINK([#include <stdlib.h>
+#include <iconv.h>],
+ [iconv_t cd = iconv_open("","");
+ iconv(cd,NULL,NULL,NULL,NULL);
+ iconv_close(cd);],
+ am_cv_func_iconv=yes)
+ if test "$am_cv_func_iconv" != yes; then
+ am_save_LIBS="$LIBS"
+ LIBS="$LIBS $LIBICONV"
+ AC_TRY_LINK([#include <stdlib.h>
+#include <iconv.h>],
+ [iconv_t cd = iconv_open("","");
+ iconv(cd,NULL,NULL,NULL,NULL);
+ iconv_close(cd);],
+ am_cv_lib_iconv=yes
+ am_cv_func_iconv=yes)
+ LIBS="$am_save_LIBS"
+ fi
+ ])
+ if test "$am_cv_func_iconv" = yes; then
+ AC_CACHE_CHECK([for working iconv], am_cv_func_iconv_works, [
+ dnl This tests against bugs in AIX 5.1 and HP-UX 11.11.
+ am_save_LIBS="$LIBS"
+ if test $am_cv_lib_iconv = yes; then
+ LIBS="$LIBS $LIBICONV"
+ fi
+ AC_TRY_RUN([
+#include <iconv.h>
+#include <string.h>
+int main ()
+{
+ /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
+ returns. */
+ {
+ iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
+ if (cd_utf8_to_88591 != (iconv_t)(-1))
+ {
+ static const char input[] = "\342\202\254"; /* EURO SIGN */
+ char buf[10];
+ const char *inptr = input;
+ size_t inbytesleft = strlen (input);
+ char *outptr = buf;
+ size_t outbytesleft = sizeof (buf);
+ size_t res = iconv (cd_utf8_to_88591,
+ (char **) &inptr, &inbytesleft,
+ &outptr, &outbytesleft);
+ if (res == 0)
+ return 1;
+ }
+ }
+#if 0 /* This bug could be worked around by the caller. */
+ /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
+ {
+ iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
+ if (cd_88591_to_utf8 != (iconv_t)(-1))
+ {
+ static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
+ char buf[50];
+ const char *inptr = input;
+ size_t inbytesleft = strlen (input);
+ char *outptr = buf;
+ size_t outbytesleft = sizeof (buf);
+ size_t res = iconv (cd_88591_to_utf8,
+ (char **) &inptr, &inbytesleft,
+ &outptr, &outbytesleft);
+ if ((int)res > 0)
+ return 1;
+ }
+ }
+#endif
+ /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
+ provided. */
+ if (/* Try standardized names. */
+ iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
+ /* Try IRIX, OSF/1 names. */
+ && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
+ /* Try AIX names. */
+ && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
+ /* Try HP-UX names. */
+ && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
+ return 1;
+ return 0;
+}], [am_cv_func_iconv_works=yes], [am_cv_func_iconv_works=no],
+ [case "$host_os" in
+ aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
+ *) am_cv_func_iconv_works="guessing yes" ;;
+ esac])
+ LIBS="$am_save_LIBS"
+ ])
+ case "$am_cv_func_iconv_works" in
+ *no) am_func_iconv=no am_cv_lib_iconv=no ;;
+ *) am_func_iconv=yes ;;
+ esac
+ else
+ am_func_iconv=no am_cv_lib_iconv=no
+ fi
+ if test "$am_func_iconv" = yes; then
+ AC_DEFINE(HAVE_ICONV, 1,
+ [Define if you have the iconv() function and it works.])
+ fi
+ if test "$am_cv_lib_iconv" = yes; then
+ AC_MSG_CHECKING([how to link with libiconv])
+ AC_MSG_RESULT([$LIBICONV])
+ else
+ dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV
+ dnl either.
+ CPPFLAGS="$am_save_CPPFLAGS"
+ LIBICONV=
+ LTLIBICONV=
+ fi
+ AC_SUBST(LIBICONV)
+ AC_SUBST(LTLIBICONV)
+])
+
+AC_DEFUN([AM_ICONV],
+[
+ AM_ICONV_LINK
+ if test "$am_cv_func_iconv" = yes; then
+ AC_MSG_CHECKING([for iconv declaration])
+ AC_CACHE_VAL(am_cv_proto_iconv, [
+ AC_TRY_COMPILE([
+#include <stdlib.h>
+#include <iconv.h>
+extern
+#ifdef __cplusplus
+"C"
+#endif
+#if defined(__STDC__) || defined(__cplusplus)
+size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
+#else
+size_t iconv();
+#endif
+], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const")
+ am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"])
+ am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
+ AC_MSG_RESULT([$]{ac_t:-
+ }[$]am_cv_proto_iconv)
+ AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1,
+ [Define as const if the declaration of iconv() needs const.])
+ fi
+])
diff --git a/biblio/bibtex/utils/mkbib/m4/intdiv0.m4 b/biblio/bibtex/utils/mkbib/m4/intdiv0.m4
new file mode 100644
index 0000000000..8c8a67084f
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/intdiv0.m4
@@ -0,0 +1,84 @@
+# intdiv0.m4 serial 2 (gettext-0.17)
+dnl Copyright (C) 2002, 2007 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl From Bruno Haible.
+
+AC_DEFUN([gt_INTDIV0],
+[
+ AC_REQUIRE([AC_PROG_CC])dnl
+ AC_REQUIRE([AC_CANONICAL_HOST])dnl
+
+ AC_CACHE_CHECK([whether integer division by zero raises SIGFPE],
+ gt_cv_int_divbyzero_sigfpe,
+ [
+ gt_cv_int_divbyzero_sigfpe=
+changequote(,)dnl
+ case "$host_os" in
+ macos* | darwin[6-9]* | darwin[1-9][0-9]*)
+ # On MacOS X 10.2 or newer, just assume the same as when cross-
+ # compiling. If we were to perform the real test, 1 Crash Report
+ # dialog window would pop up.
+ case "$host_cpu" in
+ i[34567]86 | x86_64)
+ gt_cv_int_divbyzero_sigfpe="guessing yes" ;;
+ esac
+ ;;
+ esac
+changequote([,])dnl
+ if test -z "$gt_cv_int_divbyzero_sigfpe"; then
+ AC_TRY_RUN([
+#include <stdlib.h>
+#include <signal.h>
+
+static void
+sigfpe_handler (int sig)
+{
+ /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
+ exit (sig != SIGFPE);
+}
+
+int x = 1;
+int y = 0;
+int z;
+int nan;
+
+int main ()
+{
+ signal (SIGFPE, sigfpe_handler);
+/* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
+#if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
+ signal (SIGTRAP, sigfpe_handler);
+#endif
+/* Linux/SPARC yields signal SIGILL. */
+#if defined (__sparc__) && defined (__linux__)
+ signal (SIGILL, sigfpe_handler);
+#endif
+
+ z = x / y;
+ nan = y / y;
+ exit (1);
+}
+], gt_cv_int_divbyzero_sigfpe=yes, gt_cv_int_divbyzero_sigfpe=no,
+ [
+ # Guess based on the CPU.
+changequote(,)dnl
+ case "$host_cpu" in
+ alpha* | i[34567]86 | x86_64 | m68k | s390*)
+ gt_cv_int_divbyzero_sigfpe="guessing yes";;
+ *)
+ gt_cv_int_divbyzero_sigfpe="guessing no";;
+ esac
+changequote([,])dnl
+ ])
+ fi
+ ])
+ case "$gt_cv_int_divbyzero_sigfpe" in
+ *yes) value=1;;
+ *) value=0;;
+ esac
+ AC_DEFINE_UNQUOTED(INTDIV0_RAISES_SIGFPE, $value,
+ [Define if integer division by zero raises signal SIGFPE.])
+])
diff --git a/biblio/bibtex/utils/mkbib/m4/intl.m4 b/biblio/bibtex/utils/mkbib/m4/intl.m4
new file mode 100644
index 0000000000..934408bb90
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/intl.m4
@@ -0,0 +1,285 @@
+# intl.m4 serial 8 (gettext-0.17)
+dnl Copyright (C) 1995-2007 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+dnl
+dnl This file can can be used in projects which are not available under
+dnl the GNU General Public License or the GNU Library General Public
+dnl License but which still want to provide support for the GNU gettext
+dnl functionality.
+dnl Please note that the actual code of the GNU gettext library is covered
+dnl by the GNU Library General Public License, and the rest of the GNU
+dnl gettext package package is covered by the GNU General Public License.
+dnl They are *not* in the public domain.
+
+dnl Authors:
+dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
+dnl Bruno Haible <haible@clisp.cons.org>, 2000-2006.
+
+AC_PREREQ(2.52)
+
+dnl Checks for all prerequisites of the intl subdirectory,
+dnl except for INTL_LIBTOOL_SUFFIX_PREFIX (and possibly LIBTOOL), INTLOBJS,
+dnl USE_INCLUDED_LIBINTL, BUILD_INCLUDED_LIBINTL.
+AC_DEFUN([AM_INTL_SUBDIR],
+[
+ AC_REQUIRE([AC_PROG_INSTALL])dnl
+ AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake
+ AC_REQUIRE([AC_PROG_CC])dnl
+ AC_REQUIRE([AC_CANONICAL_HOST])dnl
+ AC_REQUIRE([gt_GLIBC2])dnl
+ AC_REQUIRE([AC_PROG_RANLIB])dnl
+ AC_REQUIRE([gl_VISIBILITY])dnl
+ AC_REQUIRE([gt_INTL_SUBDIR_CORE])dnl
+ AC_REQUIRE([AC_TYPE_LONG_LONG_INT])dnl
+ AC_REQUIRE([gt_TYPE_WCHAR_T])dnl
+ AC_REQUIRE([gt_TYPE_WINT_T])dnl
+ AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
+ AC_REQUIRE([gt_TYPE_INTMAX_T])
+ AC_REQUIRE([gt_PRINTF_POSIX])
+ AC_REQUIRE([gl_GLIBC21])dnl
+ AC_REQUIRE([gl_XSIZE])dnl
+ AC_REQUIRE([gt_INTL_MACOSX])dnl
+
+ AC_CHECK_TYPE([ptrdiff_t], ,
+ [AC_DEFINE([ptrdiff_t], [long],
+ [Define as the type of the result of subtracting two pointers, if the system doesn't define it.])
+ ])
+ AC_CHECK_HEADERS([stddef.h stdlib.h string.h])
+ AC_CHECK_FUNCS([asprintf fwprintf putenv setenv setlocale snprintf wcslen])
+
+ dnl Use the _snprintf function only if it is declared (because on NetBSD it
+ dnl is defined as a weak alias of snprintf; we prefer to use the latter).
+ gt_CHECK_DECL(_snprintf, [#include <stdio.h>])
+ gt_CHECK_DECL(_snwprintf, [#include <stdio.h>])
+
+ dnl Use the *_unlocked functions only if they are declared.
+ dnl (because some of them were defined without being declared in Solaris
+ dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built
+ dnl on Solaris 2.5.1 to run on Solaris 2.6).
+ dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13.
+ gt_CHECK_DECL(getc_unlocked, [#include <stdio.h>])
+
+ case $gt_cv_func_printf_posix in
+ *yes) HAVE_POSIX_PRINTF=1 ;;
+ *) HAVE_POSIX_PRINTF=0 ;;
+ esac
+ AC_SUBST([HAVE_POSIX_PRINTF])
+ if test "$ac_cv_func_asprintf" = yes; then
+ HAVE_ASPRINTF=1
+ else
+ HAVE_ASPRINTF=0
+ fi
+ AC_SUBST([HAVE_ASPRINTF])
+ if test "$ac_cv_func_snprintf" = yes; then
+ HAVE_SNPRINTF=1
+ else
+ HAVE_SNPRINTF=0
+ fi
+ AC_SUBST([HAVE_SNPRINTF])
+ if test "$ac_cv_func_wprintf" = yes; then
+ HAVE_WPRINTF=1
+ else
+ HAVE_WPRINTF=0
+ fi
+ AC_SUBST([HAVE_WPRINTF])
+
+ AM_LANGINFO_CODESET
+ gt_LC_MESSAGES
+
+ dnl Compilation on mingw and Cygwin needs special Makefile rules, because
+ dnl 1. when we install a shared library, we must arrange to export
+ dnl auxiliary pointer variables for every exported variable,
+ dnl 2. when we install a shared library and a static library simultaneously,
+ dnl the include file specifies __declspec(dllimport) and therefore we
+ dnl must arrange to define the auxiliary pointer variables for the
+ dnl exported variables _also_ in the static library.
+ if test "$enable_shared" = yes; then
+ case "$host_os" in
+ mingw* | cygwin*) is_woe32dll=yes ;;
+ *) is_woe32dll=no ;;
+ esac
+ else
+ is_woe32dll=no
+ fi
+ WOE32DLL=$is_woe32dll
+ AC_SUBST([WOE32DLL])
+
+ dnl On mingw and Cygwin, we can activate special Makefile rules which add
+ dnl version information to the shared libraries and executables.
+ case "$host_os" in
+ mingw* | cygwin*) is_woe32=yes ;;
+ *) is_woe32=no ;;
+ esac
+ WOE32=$is_woe32
+ AC_SUBST([WOE32])
+ if test $WOE32 = yes; then
+ dnl Check for a program that compiles Windows resource files.
+ AC_CHECK_TOOL([WINDRES], [windres])
+ fi
+
+ dnl Determine whether when creating a library, "-lc" should be passed to
+ dnl libtool or not. On many platforms, it is required for the libtool option
+ dnl -no-undefined to work. On HP-UX, however, the -lc - stored by libtool
+ dnl in the *.la files - makes it impossible to create multithreaded programs,
+ dnl because libtool also reorders the -lc to come before the -pthread, and
+ dnl this disables pthread_create() <http://docs.hp.com/en/1896/pthreads.html>.
+ case "$host_os" in
+ hpux*) LTLIBC="" ;;
+ *) LTLIBC="-lc" ;;
+ esac
+ AC_SUBST([LTLIBC])
+
+ dnl Rename some macros and functions used for locking.
+ AH_BOTTOM([
+#define __libc_lock_t gl_lock_t
+#define __libc_lock_define gl_lock_define
+#define __libc_lock_define_initialized gl_lock_define_initialized
+#define __libc_lock_init gl_lock_init
+#define __libc_lock_lock gl_lock_lock
+#define __libc_lock_unlock gl_lock_unlock
+#define __libc_lock_recursive_t gl_recursive_lock_t
+#define __libc_lock_define_recursive gl_recursive_lock_define
+#define __libc_lock_define_initialized_recursive gl_recursive_lock_define_initialized
+#define __libc_lock_init_recursive gl_recursive_lock_init
+#define __libc_lock_lock_recursive gl_recursive_lock_lock
+#define __libc_lock_unlock_recursive gl_recursive_lock_unlock
+#define glthread_in_use libintl_thread_in_use
+#define glthread_lock_init libintl_lock_init
+#define glthread_lock_lock libintl_lock_lock
+#define glthread_lock_unlock libintl_lock_unlock
+#define glthread_lock_destroy libintl_lock_destroy
+#define glthread_rwlock_init libintl_rwlock_init
+#define glthread_rwlock_rdlock libintl_rwlock_rdlock
+#define glthread_rwlock_wrlock libintl_rwlock_wrlock
+#define glthread_rwlock_unlock libintl_rwlock_unlock
+#define glthread_rwlock_destroy libintl_rwlock_destroy
+#define glthread_recursive_lock_init libintl_recursive_lock_init
+#define glthread_recursive_lock_lock libintl_recursive_lock_lock
+#define glthread_recursive_lock_unlock libintl_recursive_lock_unlock
+#define glthread_recursive_lock_destroy libintl_recursive_lock_destroy
+#define glthread_once libintl_once
+#define glthread_once_call libintl_once_call
+#define glthread_once_singlethreaded libintl_once_singlethreaded
+])
+])
+
+
+dnl Checks for the core files of the intl subdirectory:
+dnl dcigettext.c
+dnl eval-plural.h
+dnl explodename.c
+dnl finddomain.c
+dnl gettextP.h
+dnl gmo.h
+dnl hash-string.h hash-string.c
+dnl l10nflist.c
+dnl libgnuintl.h.in (except the *printf stuff)
+dnl loadinfo.h
+dnl loadmsgcat.c
+dnl localealias.c
+dnl log.c
+dnl plural-exp.h plural-exp.c
+dnl plural.y
+dnl Used by libglocale.
+AC_DEFUN([gt_INTL_SUBDIR_CORE],
+[
+ AC_REQUIRE([AC_C_INLINE])dnl
+ AC_REQUIRE([AC_TYPE_SIZE_T])dnl
+ AC_REQUIRE([gl_AC_HEADER_STDINT_H])
+ AC_REQUIRE([AC_FUNC_ALLOCA])dnl
+ AC_REQUIRE([AC_FUNC_MMAP])dnl
+ AC_REQUIRE([gt_INTDIV0])dnl
+ AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])dnl
+ AC_REQUIRE([gt_INTTYPES_PRI])dnl
+ AC_REQUIRE([gl_LOCK])dnl
+
+ AC_TRY_LINK(
+ [int foo (int a) { a = __builtin_expect (a, 10); return a == 10 ? 0 : 1; }],
+ [],
+ [AC_DEFINE([HAVE_BUILTIN_EXPECT], 1,
+ [Define to 1 if the compiler understands __builtin_expect.])])
+
+ AC_CHECK_HEADERS([argz.h inttypes.h limits.h unistd.h sys/param.h])
+ AC_CHECK_FUNCS([getcwd getegid geteuid getgid getuid mempcpy munmap \
+ stpcpy strcasecmp strdup strtoul tsearch argz_count argz_stringify \
+ argz_next __fsetlocking])
+
+ dnl Use the *_unlocked functions only if they are declared.
+ dnl (because some of them were defined without being declared in Solaris
+ dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built
+ dnl on Solaris 2.5.1 to run on Solaris 2.6).
+ dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13.
+ gt_CHECK_DECL(feof_unlocked, [#include <stdio.h>])
+ gt_CHECK_DECL(fgets_unlocked, [#include <stdio.h>])
+
+ AM_ICONV
+
+ dnl glibc >= 2.4 has a NL_LOCALE_NAME macro when _GNU_SOURCE is defined,
+ dnl and a _NL_LOCALE_NAME macro always.
+ AC_CACHE_CHECK([for NL_LOCALE_NAME macro], gt_cv_nl_locale_name,
+ [AC_TRY_LINK([#include <langinfo.h>
+#include <locale.h>],
+ [char* cs = nl_langinfo(_NL_LOCALE_NAME(LC_MESSAGES));
+ return !cs;
+ ],
+ gt_cv_nl_locale_name=yes,
+ gt_cv_nl_locale_name=no)
+ ])
+ if test $gt_cv_nl_locale_name = yes; then
+ AC_DEFINE(HAVE_NL_LOCALE_NAME, 1,
+ [Define if you have <langinfo.h> and it defines the NL_LOCALE_NAME macro if _GNU_SOURCE is defined.])
+ fi
+
+ dnl intl/plural.c is generated from intl/plural.y. It requires bison,
+ dnl because plural.y uses bison specific features. It requires at least
+ dnl bison-1.26 because earlier versions generate a plural.c that doesn't
+ dnl compile.
+ dnl bison is only needed for the maintainer (who touches plural.y). But in
+ dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put
+ dnl the rule in general Makefile. Now, some people carelessly touch the
+ dnl files or have a broken "make" program, hence the plural.c rule will
+ dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not
+ dnl present or too old.
+ AC_CHECK_PROGS([INTLBISON], [bison])
+ if test -z "$INTLBISON"; then
+ ac_verc_fail=yes
+ else
+ dnl Found it, now check the version.
+ AC_MSG_CHECKING([version of bison])
+changequote(<<,>>)dnl
+ ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
+ case $ac_prog_version in
+ '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
+ 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
+changequote([,])dnl
+ ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
+ *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
+ esac
+ AC_MSG_RESULT([$ac_prog_version])
+ fi
+ if test $ac_verc_fail = yes; then
+ INTLBISON=:
+ fi
+])
+
+
+dnl gt_CHECK_DECL(FUNC, INCLUDES)
+dnl Check whether a function is declared.
+AC_DEFUN([gt_CHECK_DECL],
+[
+ AC_CACHE_CHECK([whether $1 is declared], ac_cv_have_decl_$1,
+ [AC_TRY_COMPILE([$2], [
+#ifndef $1
+ char *p = (char *) $1;
+#endif
+], ac_cv_have_decl_$1=yes, ac_cv_have_decl_$1=no)])
+ if test $ac_cv_have_decl_$1 = yes; then
+ gt_value=1
+ else
+ gt_value=0
+ fi
+ AC_DEFINE_UNQUOTED([HAVE_DECL_]translit($1, [a-z], [A-Z]), [$gt_value],
+ [Define to 1 if you have the declaration of `$1', and to 0 if you don't.])
+])
diff --git a/biblio/bibtex/utils/mkbib/m4/intldir.m4 b/biblio/bibtex/utils/mkbib/m4/intldir.m4
new file mode 100644
index 0000000000..7a28843f64
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/intldir.m4
@@ -0,0 +1,19 @@
+# intldir.m4 serial 1 (gettext-0.16)
+dnl Copyright (C) 2006 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+dnl
+dnl This file can can be used in projects which are not available under
+dnl the GNU General Public License or the GNU Library General Public
+dnl License but which still want to provide support for the GNU gettext
+dnl functionality.
+dnl Please note that the actual code of the GNU gettext library is covered
+dnl by the GNU Library General Public License, and the rest of the GNU
+dnl gettext package package is covered by the GNU General Public License.
+dnl They are *not* in the public domain.
+
+AC_PREREQ(2.52)
+
+dnl Tells the AM_GNU_GETTEXT macro to consider an intl/ directory.
+AC_DEFUN([AM_GNU_GETTEXT_INTL_SUBDIR], [])
diff --git a/biblio/bibtex/utils/mkbib/m4/intlmacosx.m4 b/biblio/bibtex/utils/mkbib/m4/intlmacosx.m4
new file mode 100644
index 0000000000..d3f0d904d2
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/intlmacosx.m4
@@ -0,0 +1,51 @@
+# intlmacosx.m4 serial 1 (gettext-0.17)
+dnl Copyright (C) 2004-2007 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+dnl
+dnl This file can can be used in projects which are not available under
+dnl the GNU General Public License or the GNU Library General Public
+dnl License but which still want to provide support for the GNU gettext
+dnl functionality.
+dnl Please note that the actual code of the GNU gettext library is covered
+dnl by the GNU Library General Public License, and the rest of the GNU
+dnl gettext package package is covered by the GNU General Public License.
+dnl They are *not* in the public domain.
+
+dnl Checks for special options needed on MacOS X.
+dnl Defines INTL_MACOSX_LIBS.
+AC_DEFUN([gt_INTL_MACOSX],
+[
+ dnl Check for API introduced in MacOS X 10.2.
+ AC_CACHE_CHECK([for CFPreferencesCopyAppValue],
+ gt_cv_func_CFPreferencesCopyAppValue,
+ [gt_save_LIBS="$LIBS"
+ LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
+ AC_TRY_LINK([#include <CoreFoundation/CFPreferences.h>],
+ [CFPreferencesCopyAppValue(NULL, NULL)],
+ [gt_cv_func_CFPreferencesCopyAppValue=yes],
+ [gt_cv_func_CFPreferencesCopyAppValue=no])
+ LIBS="$gt_save_LIBS"])
+ if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
+ AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], 1,
+ [Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.])
+ fi
+ dnl Check for API introduced in MacOS X 10.3.
+ AC_CACHE_CHECK([for CFLocaleCopyCurrent], gt_cv_func_CFLocaleCopyCurrent,
+ [gt_save_LIBS="$LIBS"
+ LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
+ AC_TRY_LINK([#include <CoreFoundation/CFLocale.h>], [CFLocaleCopyCurrent();],
+ [gt_cv_func_CFLocaleCopyCurrent=yes],
+ [gt_cv_func_CFLocaleCopyCurrent=no])
+ LIBS="$gt_save_LIBS"])
+ if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
+ AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], 1,
+ [Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.])
+ fi
+ INTL_MACOSX_LIBS=
+ if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
+ INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
+ fi
+ AC_SUBST([INTL_MACOSX_LIBS])
+])
diff --git a/biblio/bibtex/utils/mkbib/m4/intltool.m4 b/biblio/bibtex/utils/mkbib/m4/intltool.m4
new file mode 100644
index 0000000000..33353eda43
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/intltool.m4
@@ -0,0 +1,237 @@
+## intltool.m4 - Configure intltool for the target system. -*-Shell-script-*-
+## Copyright (C) 2001 Eazel, Inc.
+## Author: Maciej Stachowiak <mjs@noisehavoc.org>
+## Kenneth Christiansen <kenneth@gnu.org>
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful, but
+## WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+## General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+##
+## As a special exception to the GNU General Public License, if you
+## distribute this file as part of a program that contains a
+## configuration script generated by Autoconf, you may include it under
+## the same distribution terms that you use for the rest of that program.
+
+dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])
+# serial 42 IT_PROG_INTLTOOL
+AC_DEFUN([IT_PROG_INTLTOOL], [
+AC_PREREQ([2.50])dnl
+AC_REQUIRE([AM_NLS])dnl
+
+case "$am__api_version" in
+ 1.[01234])
+ AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool])
+ ;;
+ *)
+ ;;
+esac
+
+INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
+INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
+INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
+if test -n "$1"; then
+ AC_MSG_CHECKING([for intltool >= $1])
+ AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found])
+ test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
+ AC_MSG_ERROR([Your intltool is too old. You need intltool $1 or later.])
+fi
+
+AC_PATH_PROG(INTLTOOL_UPDATE, [intltool-update])
+AC_PATH_PROG(INTLTOOL_MERGE, [intltool-merge])
+AC_PATH_PROG(INTLTOOL_EXTRACT, [intltool-extract])
+if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
+ AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.])
+fi
+
+if test -z "$AM_DEFAULT_VERBOSITY"; then
+ AM_DEFAULT_VERBOSITY=1
+fi
+AC_SUBST([AM_DEFAULT_VERBOSITY])
+
+INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
+INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
+INTLTOOL__v_MERGE_0='@echo " ITMRG " [$]@;'
+AC_SUBST(INTLTOOL_V_MERGE)
+AC_SUBST(INTLTOOL__v_MERGE_)
+AC_SUBST(INTLTOOL__v_MERGE_0)
+
+INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
+intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
+intltool__v_merge_options_0='-q'
+AC_SUBST(INTLTOOL_V_MERGE_OPTIONS)
+AC_SUBST(intltool__v_merge_options_)
+AC_SUBST(intltool__v_merge_options_0)
+
+ INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+ INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+ INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+ INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< [$]@'
+ INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+ INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+ INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+ INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+ INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
+ INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< [$]@'
+else
+ INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.[$][$]RANDOM && mkdir [$][$]_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u [$][$]_it_tmp_dir $< [$]@ && rmdir [$][$]_it_tmp_dir'
+fi
+ INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+ INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+ INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+ INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+ INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+ INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+ INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+
+_IT_SUBST(INTLTOOL_DESKTOP_RULE)
+_IT_SUBST(INTLTOOL_DIRECTORY_RULE)
+_IT_SUBST(INTLTOOL_KEYS_RULE)
+_IT_SUBST(INTLTOOL_PROP_RULE)
+_IT_SUBST(INTLTOOL_OAF_RULE)
+_IT_SUBST(INTLTOOL_PONG_RULE)
+_IT_SUBST(INTLTOOL_SERVER_RULE)
+_IT_SUBST(INTLTOOL_SHEET_RULE)
+_IT_SUBST(INTLTOOL_SOUNDLIST_RULE)
+_IT_SUBST(INTLTOOL_UI_RULE)
+_IT_SUBST(INTLTOOL_XAM_RULE)
+_IT_SUBST(INTLTOOL_KBD_RULE)
+_IT_SUBST(INTLTOOL_XML_RULE)
+_IT_SUBST(INTLTOOL_XML_NOMERGE_RULE)
+_IT_SUBST(INTLTOOL_CAVES_RULE)
+_IT_SUBST(INTLTOOL_SCHEMAS_RULE)
+_IT_SUBST(INTLTOOL_THEME_RULE)
+_IT_SUBST(INTLTOOL_SERVICE_RULE)
+_IT_SUBST(INTLTOOL_POLICY_RULE)
+
+# Check the gettext tools to make sure they are GNU
+AC_PATH_PROG(XGETTEXT, xgettext)
+AC_PATH_PROG(MSGMERGE, msgmerge)
+AC_PATH_PROG(MSGFMT, msgfmt)
+AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
+if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
+ AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
+fi
+xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
+mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
+mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
+if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
+ AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
+fi
+
+AC_PATH_PROG(INTLTOOL_PERL, perl)
+if test -z "$INTLTOOL_PERL"; then
+ AC_MSG_ERROR([perl not found])
+fi
+AC_MSG_CHECKING([for perl >= 5.8.1])
+$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
+if test $? -ne 0; then
+ AC_MSG_ERROR([perl 5.8.1 is required for intltool])
+else
+ IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
+ AC_MSG_RESULT([$IT_PERL_VERSION])
+fi
+if test "x$2" != "xno-xml"; then
+ AC_MSG_CHECKING([for XML::Parser])
+ if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
+ AC_MSG_RESULT([ok])
+ else
+ AC_MSG_ERROR([XML::Parser perl module is required for intltool])
+ fi
+fi
+
+# Substitute ALL_LINGUAS so we can use it in po/Makefile
+AC_SUBST(ALL_LINGUAS)
+
+# Set DATADIRNAME correctly if it is not set yet
+# (copied from glib-gettext.m4)
+if test -z "$DATADIRNAME"; then
+ AC_LINK_IFELSE(
+ [AC_LANG_PROGRAM([[]],
+ [[extern int _nl_msg_cat_cntr;
+ return _nl_msg_cat_cntr]])],
+ [DATADIRNAME=share],
+ [case $host in
+ *-*-solaris*)
+ dnl On Solaris, if bind_textdomain_codeset is in libc,
+ dnl GNU format message catalog is always supported,
+ dnl since both are added to the libc all together.
+ dnl Hence, we'd like to go with DATADIRNAME=share
+ dnl in this case.
+ AC_CHECK_FUNC(bind_textdomain_codeset,
+ [DATADIRNAME=share], [DATADIRNAME=lib])
+ ;;
+ *)
+ [DATADIRNAME=lib]
+ ;;
+ esac])
+fi
+AC_SUBST(DATADIRNAME)
+
+IT_PO_SUBDIR([po])
+
+])
+
+
+# IT_PO_SUBDIR(DIRNAME)
+# ---------------------
+# All po subdirs have to be declared with this macro; the subdir "po" is
+# declared by IT_PROG_INTLTOOL.
+#
+AC_DEFUN([IT_PO_SUBDIR],
+[AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS.
+dnl
+dnl The following CONFIG_COMMANDS should be executed at the very end
+dnl of config.status.
+AC_CONFIG_COMMANDS_PRE([
+ AC_CONFIG_COMMANDS([$1/stamp-it], [
+ if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then
+ AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.])
+ fi
+ rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp"
+ >"$1/stamp-it.tmp"
+ [sed '/^#/d
+ s/^[[].*] *//
+ /^[ ]*$/d
+ '"s|^| $ac_top_srcdir/|" \
+ "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES"
+ ]
+ [sed '/^POTFILES =/,/[^\\]$/ {
+ /^POTFILES =/!d
+ r $1/POTFILES
+ }
+ ' "$1/Makefile.in" >"$1/Makefile"]
+ rm -f "$1/Makefile.tmp"
+ mv "$1/stamp-it.tmp" "$1/stamp-it"
+ ])
+])dnl
+])
+
+# _IT_SUBST(VARIABLE)
+# -------------------
+# Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST
+#
+AC_DEFUN([_IT_SUBST],
+[
+AC_SUBST([$1])
+m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
+]
+)
+
+# deprecated macros
+AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL])
+# A hint is needed for aclocal from Automake <= 1.9.4:
+# AC_DEFUN([AC_PROG_INTLTOOL], ...)
+
diff --git a/biblio/bibtex/utils/mkbib/m4/intmax.m4 b/biblio/bibtex/utils/mkbib/m4/intmax.m4
new file mode 100644
index 0000000000..ce7a8a49de
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/intmax.m4
@@ -0,0 +1,33 @@
+# intmax.m4 serial 3 (gettext-0.16)
+dnl Copyright (C) 2002-2005 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl From Bruno Haible.
+dnl Test whether the system has the 'intmax_t' type, but don't attempt to
+dnl find a replacement if it is lacking.
+
+AC_DEFUN([gt_TYPE_INTMAX_T],
+[
+ AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
+ AC_REQUIRE([gl_AC_HEADER_STDINT_H])
+ AC_CACHE_CHECK(for intmax_t, gt_cv_c_intmax_t,
+ [AC_TRY_COMPILE([
+#include <stddef.h>
+#include <stdlib.h>
+#if HAVE_STDINT_H_WITH_UINTMAX
+#include <stdint.h>
+#endif
+#if HAVE_INTTYPES_H_WITH_UINTMAX
+#include <inttypes.h>
+#endif
+], [intmax_t x = -1;
+ return !x;],
+ gt_cv_c_intmax_t=yes,
+ gt_cv_c_intmax_t=no)])
+ if test $gt_cv_c_intmax_t = yes; then
+ AC_DEFINE(HAVE_INTMAX_T, 1,
+ [Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>.])
+ fi
+])
diff --git a/biblio/bibtex/utils/mkbib/m4/inttypes-pri.m4 b/biblio/bibtex/utils/mkbib/m4/inttypes-pri.m4
new file mode 100644
index 0000000000..7c7f89401a
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/inttypes-pri.m4
@@ -0,0 +1,36 @@
+# inttypes-pri.m4 serial 4 (gettext-0.16)
+dnl Copyright (C) 1997-2002, 2006 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl From Bruno Haible.
+
+AC_PREREQ(2.52)
+
+# Define PRI_MACROS_BROKEN if <inttypes.h> exists and defines the PRI*
+# macros to non-string values. This is the case on AIX 4.3.3.
+
+AC_DEFUN([gt_INTTYPES_PRI],
+[
+ AC_CHECK_HEADERS([inttypes.h])
+ if test $ac_cv_header_inttypes_h = yes; then
+ AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken],
+ gt_cv_inttypes_pri_broken,
+ [
+ AC_TRY_COMPILE([#include <inttypes.h>
+#ifdef PRId32
+char *p = PRId32;
+#endif
+], [], gt_cv_inttypes_pri_broken=no, gt_cv_inttypes_pri_broken=yes)
+ ])
+ fi
+ if test "$gt_cv_inttypes_pri_broken" = yes; then
+ AC_DEFINE_UNQUOTED(PRI_MACROS_BROKEN, 1,
+ [Define if <inttypes.h> exists and defines unusable PRI* macros.])
+ PRI_MACROS_BROKEN=1
+ else
+ PRI_MACROS_BROKEN=0
+ fi
+ AC_SUBST([PRI_MACROS_BROKEN])
+])
diff --git a/biblio/bibtex/utils/mkbib/m4/inttypes_h.m4 b/biblio/bibtex/utils/mkbib/m4/inttypes_h.m4
new file mode 100644
index 0000000000..edc8ecb2db
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/inttypes_h.m4
@@ -0,0 +1,26 @@
+# inttypes_h.m4 serial 7
+dnl Copyright (C) 1997-2004, 2006 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl From Paul Eggert.
+
+# Define HAVE_INTTYPES_H_WITH_UINTMAX if <inttypes.h> exists,
+# doesn't clash with <sys/types.h>, and declares uintmax_t.
+
+AC_DEFUN([gl_AC_HEADER_INTTYPES_H],
+[
+ AC_CACHE_CHECK([for inttypes.h], gl_cv_header_inttypes_h,
+ [AC_TRY_COMPILE(
+ [#include <sys/types.h>
+#include <inttypes.h>],
+ [uintmax_t i = (uintmax_t) -1; return !i;],
+ gl_cv_header_inttypes_h=yes,
+ gl_cv_header_inttypes_h=no)])
+ if test $gl_cv_header_inttypes_h = yes; then
+ AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H_WITH_UINTMAX, 1,
+ [Define if <inttypes.h> exists, doesn't clash with <sys/types.h>,
+ and declares uintmax_t. ])
+ fi
+])
diff --git a/biblio/bibtex/utils/mkbib/m4/lcmessage.m4 b/biblio/bibtex/utils/mkbib/m4/lcmessage.m4
new file mode 100644
index 0000000000..19aa77e4f7
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/lcmessage.m4
@@ -0,0 +1,30 @@
+# lcmessage.m4 serial 4 (gettext-0.14.2)
+dnl Copyright (C) 1995-2002, 2004-2005 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+dnl
+dnl This file can can be used in projects which are not available under
+dnl the GNU General Public License or the GNU Library General Public
+dnl License but which still want to provide support for the GNU gettext
+dnl functionality.
+dnl Please note that the actual code of the GNU gettext library is covered
+dnl by the GNU Library General Public License, and the rest of the GNU
+dnl gettext package package is covered by the GNU General Public License.
+dnl They are *not* in the public domain.
+
+dnl Authors:
+dnl Ulrich Drepper <drepper@cygnus.com>, 1995.
+
+# Check whether LC_MESSAGES is available in <locale.h>.
+
+AC_DEFUN([gt_LC_MESSAGES],
+[
+ AC_CACHE_CHECK([for LC_MESSAGES], gt_cv_val_LC_MESSAGES,
+ [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
+ gt_cv_val_LC_MESSAGES=yes, gt_cv_val_LC_MESSAGES=no)])
+ if test $gt_cv_val_LC_MESSAGES = yes; then
+ AC_DEFINE(HAVE_LC_MESSAGES, 1,
+ [Define if your <locale.h> file defines LC_MESSAGES.])
+ fi
+])
diff --git a/biblio/bibtex/utils/mkbib/m4/lib-ld.m4 b/biblio/bibtex/utils/mkbib/m4/lib-ld.m4
new file mode 100644
index 0000000000..96c4e2c339
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/lib-ld.m4
@@ -0,0 +1,110 @@
+# lib-ld.m4 serial 3 (gettext-0.13)
+dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl Subroutines of libtool.m4,
+dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
+dnl with libtool.m4.
+
+dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no.
+AC_DEFUN([AC_LIB_PROG_LD_GNU],
+[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld,
+[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
+case `$LD -v 2>&1 </dev/null` in
+*GNU* | *'with BFD'*)
+ acl_cv_prog_gnu_ld=yes ;;
+*)
+ acl_cv_prog_gnu_ld=no ;;
+esac])
+with_gnu_ld=$acl_cv_prog_gnu_ld
+])
+
+dnl From libtool-1.4. Sets the variable LD.
+AC_DEFUN([AC_LIB_PROG_LD],
+[AC_ARG_WITH(gnu-ld,
+[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
+test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
+AC_REQUIRE([AC_PROG_CC])dnl
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
+# Prepare PATH_SEPARATOR.
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ echo "#! /bin/sh" >conf$$.sh
+ echo "exit 0" >>conf$$.sh
+ chmod +x conf$$.sh
+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
+ PATH_SEPARATOR=';'
+ else
+ PATH_SEPARATOR=:
+ fi
+ rm -f conf$$.sh
+fi
+ac_prog=ld
+if test "$GCC" = yes; then
+ # Check if gcc -print-prog-name=ld gives a path.
+ AC_MSG_CHECKING([for ld used by GCC])
+ case $host in
+ *-*-mingw*)
+ # gcc leaves a trailing carriage return which upsets mingw
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+ *)
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+ esac
+ case $ac_prog in
+ # Accept absolute paths.
+ [[\\/]* | [A-Za-z]:[\\/]*)]
+ [re_direlt='/[^/][^/]*/\.\./']
+ # Canonicalize the path of ld
+ ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
+ while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
+ ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
+ done
+ test -z "$LD" && LD="$ac_prog"
+ ;;
+ "")
+ # If it fails, then pretend we aren't using GCC.
+ ac_prog=ld
+ ;;
+ *)
+ # If it is relative, then search for the first ld in PATH.
+ with_gnu_ld=unknown
+ ;;
+ esac
+elif test "$with_gnu_ld" = yes; then
+ AC_MSG_CHECKING([for GNU ld])
+else
+ AC_MSG_CHECKING([for non-GNU ld])
+fi
+AC_CACHE_VAL(acl_cv_path_LD,
+[if test -z "$LD"; then
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
+ for ac_dir in $PATH; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+ acl_cv_path_LD="$ac_dir/$ac_prog"
+ # Check to see if the program is GNU ld. I'd rather use --version,
+ # but apparently some GNU ld's only accept -v.
+ # Break only if it was the GNU/non-GNU ld that we prefer.
+ case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
+ *GNU* | *'with BFD'*)
+ test "$with_gnu_ld" != no && break ;;
+ *)
+ test "$with_gnu_ld" != yes && break ;;
+ esac
+ fi
+ done
+ IFS="$ac_save_ifs"
+else
+ acl_cv_path_LD="$LD" # Let the user override the test with a path.
+fi])
+LD="$acl_cv_path_LD"
+if test -n "$LD"; then
+ AC_MSG_RESULT($LD)
+else
+ AC_MSG_RESULT(no)
+fi
+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
+AC_LIB_PROG_LD_GNU
+])
diff --git a/biblio/bibtex/utils/mkbib/m4/lib-link.m4 b/biblio/bibtex/utils/mkbib/m4/lib-link.m4
new file mode 100644
index 0000000000..e3d26fc42d
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/lib-link.m4
@@ -0,0 +1,709 @@
+# lib-link.m4 serial 13 (gettext-0.17)
+dnl Copyright (C) 2001-2007 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl From Bruno Haible.
+
+AC_PREREQ(2.54)
+
+dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
+dnl the libraries corresponding to explicit and implicit dependencies.
+dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
+dnl augments the CPPFLAGS variable.
+dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname
+dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
+AC_DEFUN([AC_LIB_LINKFLAGS],
+[
+ AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
+ AC_REQUIRE([AC_LIB_RPATH])
+ define([Name],[translit([$1],[./-], [___])])
+ define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
+ [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
+ AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
+ AC_LIB_LINKFLAGS_BODY([$1], [$2])
+ ac_cv_lib[]Name[]_libs="$LIB[]NAME"
+ ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
+ ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
+ ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX"
+ ])
+ LIB[]NAME="$ac_cv_lib[]Name[]_libs"
+ LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
+ INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
+ LIB[]NAME[]_PREFIX="$ac_cv_lib[]Name[]_prefix"
+ AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
+ AC_SUBST([LIB]NAME)
+ AC_SUBST([LTLIB]NAME)
+ AC_SUBST([LIB]NAME[_PREFIX])
+ dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
+ dnl results of this search when this library appears as a dependency.
+ HAVE_LIB[]NAME=yes
+ undefine([Name])
+ undefine([NAME])
+])
+
+dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode)
+dnl searches for libname and the libraries corresponding to explicit and
+dnl implicit dependencies, together with the specified include files and
+dnl the ability to compile and link the specified testcode. If found, it
+dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and
+dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and
+dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs
+dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty.
+dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname
+dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
+AC_DEFUN([AC_LIB_HAVE_LINKFLAGS],
+[
+ AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
+ AC_REQUIRE([AC_LIB_RPATH])
+ define([Name],[translit([$1],[./-], [___])])
+ define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
+ [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
+
+ dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
+ dnl accordingly.
+ AC_LIB_LINKFLAGS_BODY([$1], [$2])
+
+ dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
+ dnl because if the user has installed lib[]Name and not disabled its use
+ dnl via --without-lib[]Name-prefix, he wants to use it.
+ ac_save_CPPFLAGS="$CPPFLAGS"
+ AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
+
+ AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
+ ac_save_LIBS="$LIBS"
+ LIBS="$LIBS $LIB[]NAME"
+ AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no])
+ LIBS="$ac_save_LIBS"
+ ])
+ if test "$ac_cv_lib[]Name" = yes; then
+ HAVE_LIB[]NAME=yes
+ AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.])
+ AC_MSG_CHECKING([how to link with lib[]$1])
+ AC_MSG_RESULT([$LIB[]NAME])
+ else
+ HAVE_LIB[]NAME=no
+ dnl If $LIB[]NAME didn't lead to a usable library, we don't need
+ dnl $INC[]NAME either.
+ CPPFLAGS="$ac_save_CPPFLAGS"
+ LIB[]NAME=
+ LTLIB[]NAME=
+ LIB[]NAME[]_PREFIX=
+ fi
+ AC_SUBST([HAVE_LIB]NAME)
+ AC_SUBST([LIB]NAME)
+ AC_SUBST([LTLIB]NAME)
+ AC_SUBST([LIB]NAME[_PREFIX])
+ undefine([Name])
+ undefine([NAME])
+])
+
+dnl Determine the platform dependent parameters needed to use rpath:
+dnl acl_libext,
+dnl acl_shlibext,
+dnl acl_hardcode_libdir_flag_spec,
+dnl acl_hardcode_libdir_separator,
+dnl acl_hardcode_direct,
+dnl acl_hardcode_minus_L.
+AC_DEFUN([AC_LIB_RPATH],
+[
+ dnl Tell automake >= 1.10 to complain if config.rpath is missing.
+ m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])])
+ AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
+ AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
+ AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
+ AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
+ AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [
+ CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
+ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
+ . ./conftest.sh
+ rm -f ./conftest.sh
+ acl_cv_rpath=done
+ ])
+ wl="$acl_cv_wl"
+ acl_libext="$acl_cv_libext"
+ acl_shlibext="$acl_cv_shlibext"
+ acl_libname_spec="$acl_cv_libname_spec"
+ acl_library_names_spec="$acl_cv_library_names_spec"
+ acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
+ acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
+ acl_hardcode_direct="$acl_cv_hardcode_direct"
+ acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
+ dnl Determine whether the user wants rpath handling at all.
+ AC_ARG_ENABLE(rpath,
+ [ --disable-rpath do not hardcode runtime library paths],
+ :, enable_rpath=yes)
+])
+
+dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and
+dnl the libraries corresponding to explicit and implicit dependencies.
+dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
+dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found
+dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
+AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
+[
+ AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
+ define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
+ [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
+ dnl Autoconf >= 2.61 supports dots in --with options.
+ define([N_A_M_E],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[translit([$1],[.],[_])],[$1])])
+ dnl By default, look in $includedir and $libdir.
+ use_additional=yes
+ AC_LIB_WITH_FINAL_PREFIX([
+ eval additional_includedir=\"$includedir\"
+ eval additional_libdir=\"$libdir\"
+ ])
+ AC_LIB_ARG_WITH([lib]N_A_M_E[-prefix],
+[ --with-lib]N_A_M_E[-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib
+ --without-lib]N_A_M_E[-prefix don't search for lib$1 in includedir and libdir],
+[
+ if test "X$withval" = "Xno"; then
+ use_additional=no
+ else
+ if test "X$withval" = "X"; then
+ AC_LIB_WITH_FINAL_PREFIX([
+ eval additional_includedir=\"$includedir\"
+ eval additional_libdir=\"$libdir\"
+ ])
+ else
+ additional_includedir="$withval/include"
+ additional_libdir="$withval/$acl_libdirstem"
+ fi
+ fi
+])
+ dnl Search the library and its dependencies in $additional_libdir and
+ dnl $LDFLAGS. Using breadth-first-seach.
+ LIB[]NAME=
+ LTLIB[]NAME=
+ INC[]NAME=
+ LIB[]NAME[]_PREFIX=
+ rpathdirs=
+ ltrpathdirs=
+ names_already_handled=
+ names_next_round='$1 $2'
+ while test -n "$names_next_round"; do
+ names_this_round="$names_next_round"
+ names_next_round=
+ for name in $names_this_round; do
+ already_handled=
+ for n in $names_already_handled; do
+ if test "$n" = "$name"; then
+ already_handled=yes
+ break
+ fi
+ done
+ if test -z "$already_handled"; then
+ names_already_handled="$names_already_handled $name"
+ dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
+ dnl or AC_LIB_HAVE_LINKFLAGS call.
+ uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
+ eval value=\"\$HAVE_LIB$uppername\"
+ if test -n "$value"; then
+ if test "$value" = yes; then
+ eval value=\"\$LIB$uppername\"
+ test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
+ eval value=\"\$LTLIB$uppername\"
+ test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
+ else
+ dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
+ dnl that this library doesn't exist. So just drop it.
+ :
+ fi
+ else
+ dnl Search the library lib$name in $additional_libdir and $LDFLAGS
+ dnl and the already constructed $LIBNAME/$LTLIBNAME.
+ found_dir=
+ found_la=
+ found_so=
+ found_a=
+ eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
+ if test -n "$acl_shlibext"; then
+ shrext=".$acl_shlibext" # typically: shrext=.so
+ else
+ shrext=
+ fi
+ if test $use_additional = yes; then
+ dir="$additional_libdir"
+ dnl The same code as in the loop below:
+ dnl First look for a shared library.
+ if test -n "$acl_shlibext"; then
+ if test -f "$dir/$libname$shrext"; then
+ found_dir="$dir"
+ found_so="$dir/$libname$shrext"
+ else
+ if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
+ ver=`(cd "$dir" && \
+ for f in "$libname$shrext".*; do echo "$f"; done \
+ | sed -e "s,^$libname$shrext\\\\.,," \
+ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
+ | sed 1q ) 2>/dev/null`
+ if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
+ found_dir="$dir"
+ found_so="$dir/$libname$shrext.$ver"
+ fi
+ else
+ eval library_names=\"$acl_library_names_spec\"
+ for f in $library_names; do
+ if test -f "$dir/$f"; then
+ found_dir="$dir"
+ found_so="$dir/$f"
+ break
+ fi
+ done
+ fi
+ fi
+ fi
+ dnl Then look for a static library.
+ if test "X$found_dir" = "X"; then
+ if test -f "$dir/$libname.$acl_libext"; then
+ found_dir="$dir"
+ found_a="$dir/$libname.$acl_libext"
+ fi
+ fi
+ if test "X$found_dir" != "X"; then
+ if test -f "$dir/$libname.la"; then
+ found_la="$dir/$libname.la"
+ fi
+ fi
+ fi
+ if test "X$found_dir" = "X"; then
+ for x in $LDFLAGS $LTLIB[]NAME; do
+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
+ case "$x" in
+ -L*)
+ dir=`echo "X$x" | sed -e 's/^X-L//'`
+ dnl First look for a shared library.
+ if test -n "$acl_shlibext"; then
+ if test -f "$dir/$libname$shrext"; then
+ found_dir="$dir"
+ found_so="$dir/$libname$shrext"
+ else
+ if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
+ ver=`(cd "$dir" && \
+ for f in "$libname$shrext".*; do echo "$f"; done \
+ | sed -e "s,^$libname$shrext\\\\.,," \
+ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
+ | sed 1q ) 2>/dev/null`
+ if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
+ found_dir="$dir"
+ found_so="$dir/$libname$shrext.$ver"
+ fi
+ else
+ eval library_names=\"$acl_library_names_spec\"
+ for f in $library_names; do
+ if test -f "$dir/$f"; then
+ found_dir="$dir"
+ found_so="$dir/$f"
+ break
+ fi
+ done
+ fi
+ fi
+ fi
+ dnl Then look for a static library.
+ if test "X$found_dir" = "X"; then
+ if test -f "$dir/$libname.$acl_libext"; then
+ found_dir="$dir"
+ found_a="$dir/$libname.$acl_libext"
+ fi
+ fi
+ if test "X$found_dir" != "X"; then
+ if test -f "$dir/$libname.la"; then
+ found_la="$dir/$libname.la"
+ fi
+ fi
+ ;;
+ esac
+ if test "X$found_dir" != "X"; then
+ break
+ fi
+ done
+ fi
+ if test "X$found_dir" != "X"; then
+ dnl Found the library.
+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
+ if test "X$found_so" != "X"; then
+ dnl Linking with a shared library. We attempt to hardcode its
+ dnl directory into the executable's runpath, unless it's the
+ dnl standard /usr/lib.
+ if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
+ dnl No hardcoding is needed.
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
+ else
+ dnl Use an explicit option to hardcode DIR into the resulting
+ dnl binary.
+ dnl Potentially add DIR to ltrpathdirs.
+ dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
+ haveit=
+ for x in $ltrpathdirs; do
+ if test "X$x" = "X$found_dir"; then
+ haveit=yes
+ break
+ fi
+ done
+ if test -z "$haveit"; then
+ ltrpathdirs="$ltrpathdirs $found_dir"
+ fi
+ dnl The hardcoding into $LIBNAME is system dependent.
+ if test "$acl_hardcode_direct" = yes; then
+ dnl Using DIR/libNAME.so during linking hardcodes DIR into the
+ dnl resulting binary.
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
+ else
+ if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
+ dnl Use an explicit option to hardcode DIR into the resulting
+ dnl binary.
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
+ dnl Potentially add DIR to rpathdirs.
+ dnl The rpathdirs will be appended to $LIBNAME at the end.
+ haveit=
+ for x in $rpathdirs; do
+ if test "X$x" = "X$found_dir"; then
+ haveit=yes
+ break
+ fi
+ done
+ if test -z "$haveit"; then
+ rpathdirs="$rpathdirs $found_dir"
+ fi
+ else
+ dnl Rely on "-L$found_dir".
+ dnl But don't add it if it's already contained in the LDFLAGS
+ dnl or the already constructed $LIBNAME
+ haveit=
+ for x in $LDFLAGS $LIB[]NAME; do
+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
+ if test "X$x" = "X-L$found_dir"; then
+ haveit=yes
+ break
+ fi
+ done
+ if test -z "$haveit"; then
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
+ fi
+ if test "$acl_hardcode_minus_L" != no; then
+ dnl FIXME: Not sure whether we should use
+ dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
+ dnl here.
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
+ else
+ dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH
+ dnl here, because this doesn't fit in flags passed to the
+ dnl compiler. So give up. No hardcoding. This affects only
+ dnl very old systems.
+ dnl FIXME: Not sure whether we should use
+ dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
+ dnl here.
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
+ fi
+ fi
+ fi
+ fi
+ else
+ if test "X$found_a" != "X"; then
+ dnl Linking with a static library.
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
+ else
+ dnl We shouldn't come here, but anyway it's good to have a
+ dnl fallback.
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
+ fi
+ fi
+ dnl Assume the include files are nearby.
+ additional_includedir=
+ case "$found_dir" in
+ */$acl_libdirstem | */$acl_libdirstem/)
+ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
+ LIB[]NAME[]_PREFIX="$basedir"
+ additional_includedir="$basedir/include"
+ ;;
+ esac
+ if test "X$additional_includedir" != "X"; then
+ dnl Potentially add $additional_includedir to $INCNAME.
+ dnl But don't add it
+ dnl 1. if it's the standard /usr/include,
+ dnl 2. if it's /usr/local/include and we are using GCC on Linux,
+ dnl 3. if it's already present in $CPPFLAGS or the already
+ dnl constructed $INCNAME,
+ dnl 4. if it doesn't exist as a directory.
+ if test "X$additional_includedir" != "X/usr/include"; then
+ haveit=
+ if test "X$additional_includedir" = "X/usr/local/include"; then
+ if test -n "$GCC"; then
+ case $host_os in
+ linux* | gnu* | k*bsd*-gnu) haveit=yes;;
+ esac
+ fi
+ fi
+ if test -z "$haveit"; then
+ for x in $CPPFLAGS $INC[]NAME; do
+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
+ if test "X$x" = "X-I$additional_includedir"; then
+ haveit=yes
+ break
+ fi
+ done
+ if test -z "$haveit"; then
+ if test -d "$additional_includedir"; then
+ dnl Really add $additional_includedir to $INCNAME.
+ INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
+ fi
+ fi
+ fi
+ fi
+ fi
+ dnl Look for dependencies.
+ if test -n "$found_la"; then
+ dnl Read the .la file. It defines the variables
+ dnl dlname, library_names, old_library, dependency_libs, current,
+ dnl age, revision, installed, dlopen, dlpreopen, libdir.
+ save_libdir="$libdir"
+ case "$found_la" in
+ */* | *\\*) . "$found_la" ;;
+ *) . "./$found_la" ;;
+ esac
+ libdir="$save_libdir"
+ dnl We use only dependency_libs.
+ for dep in $dependency_libs; do
+ case "$dep" in
+ -L*)
+ additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
+ dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
+ dnl But don't add it
+ dnl 1. if it's the standard /usr/lib,
+ dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
+ dnl 3. if it's already present in $LDFLAGS or the already
+ dnl constructed $LIBNAME,
+ dnl 4. if it doesn't exist as a directory.
+ if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
+ haveit=
+ if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
+ if test -n "$GCC"; then
+ case $host_os in
+ linux* | gnu* | k*bsd*-gnu) haveit=yes;;
+ esac
+ fi
+ fi
+ if test -z "$haveit"; then
+ haveit=
+ for x in $LDFLAGS $LIB[]NAME; do
+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
+ if test "X$x" = "X-L$additional_libdir"; then
+ haveit=yes
+ break
+ fi
+ done
+ if test -z "$haveit"; then
+ if test -d "$additional_libdir"; then
+ dnl Really add $additional_libdir to $LIBNAME.
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
+ fi
+ fi
+ haveit=
+ for x in $LDFLAGS $LTLIB[]NAME; do
+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
+ if test "X$x" = "X-L$additional_libdir"; then
+ haveit=yes
+ break
+ fi
+ done
+ if test -z "$haveit"; then
+ if test -d "$additional_libdir"; then
+ dnl Really add $additional_libdir to $LTLIBNAME.
+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
+ fi
+ fi
+ fi
+ fi
+ ;;
+ -R*)
+ dir=`echo "X$dep" | sed -e 's/^X-R//'`
+ if test "$enable_rpath" != no; then
+ dnl Potentially add DIR to rpathdirs.
+ dnl The rpathdirs will be appended to $LIBNAME at the end.
+ haveit=
+ for x in $rpathdirs; do
+ if test "X$x" = "X$dir"; then
+ haveit=yes
+ break
+ fi
+ done
+ if test -z "$haveit"; then
+ rpathdirs="$rpathdirs $dir"
+ fi
+ dnl Potentially add DIR to ltrpathdirs.
+ dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
+ haveit=
+ for x in $ltrpathdirs; do
+ if test "X$x" = "X$dir"; then
+ haveit=yes
+ break
+ fi
+ done
+ if test -z "$haveit"; then
+ ltrpathdirs="$ltrpathdirs $dir"
+ fi
+ fi
+ ;;
+ -l*)
+ dnl Handle this in the next round.
+ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
+ ;;
+ *.la)
+ dnl Handle this in the next round. Throw away the .la's
+ dnl directory; it is already contained in a preceding -L
+ dnl option.
+ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
+ ;;
+ *)
+ dnl Most likely an immediate library name.
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
+ ;;
+ esac
+ done
+ fi
+ else
+ dnl Didn't find the library; assume it is in the system directories
+ dnl known to the linker and runtime loader. (All the system
+ dnl directories known to the linker should also be known to the
+ dnl runtime loader, otherwise the system is severely misconfigured.)
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
+ fi
+ fi
+ fi
+ done
+ done
+ if test "X$rpathdirs" != "X"; then
+ if test -n "$acl_hardcode_libdir_separator"; then
+ dnl Weird platform: only the last -rpath option counts, the user must
+ dnl pass all path elements in one option. We can arrange that for a
+ dnl single library, but not when more than one $LIBNAMEs are used.
+ alldirs=
+ for found_dir in $rpathdirs; do
+ alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
+ done
+ dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl.
+ acl_save_libdir="$libdir"
+ libdir="$alldirs"
+ eval flag=\"$acl_hardcode_libdir_flag_spec\"
+ libdir="$acl_save_libdir"
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
+ else
+ dnl The -rpath options are cumulative.
+ for found_dir in $rpathdirs; do
+ acl_save_libdir="$libdir"
+ libdir="$found_dir"
+ eval flag=\"$acl_hardcode_libdir_flag_spec\"
+ libdir="$acl_save_libdir"
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
+ done
+ fi
+ fi
+ if test "X$ltrpathdirs" != "X"; then
+ dnl When using libtool, the option that works for both libraries and
+ dnl executables is -R. The -R options are cumulative.
+ for found_dir in $ltrpathdirs; do
+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
+ done
+ fi
+])
+
+dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR,
+dnl unless already present in VAR.
+dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes
+dnl contains two or three consecutive elements that belong together.
+AC_DEFUN([AC_LIB_APPENDTOVAR],
+[
+ for element in [$2]; do
+ haveit=
+ for x in $[$1]; do
+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
+ if test "X$x" = "X$element"; then
+ haveit=yes
+ break
+ fi
+ done
+ if test -z "$haveit"; then
+ [$1]="${[$1]}${[$1]:+ }$element"
+ fi
+ done
+])
+
+dnl For those cases where a variable contains several -L and -l options
+dnl referring to unknown libraries and directories, this macro determines the
+dnl necessary additional linker options for the runtime path.
+dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL])
+dnl sets LDADDVAR to linker options needed together with LIBSVALUE.
+dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed,
+dnl otherwise linking without libtool is assumed.
+AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS],
+[
+ AC_REQUIRE([AC_LIB_RPATH])
+ AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
+ $1=
+ if test "$enable_rpath" != no; then
+ if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
+ dnl Use an explicit option to hardcode directories into the resulting
+ dnl binary.
+ rpathdirs=
+ next=
+ for opt in $2; do
+ if test -n "$next"; then
+ dir="$next"
+ dnl No need to hardcode the standard /usr/lib.
+ if test "X$dir" != "X/usr/$acl_libdirstem"; then
+ rpathdirs="$rpathdirs $dir"
+ fi
+ next=
+ else
+ case $opt in
+ -L) next=yes ;;
+ -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'`
+ dnl No need to hardcode the standard /usr/lib.
+ if test "X$dir" != "X/usr/$acl_libdirstem"; then
+ rpathdirs="$rpathdirs $dir"
+ fi
+ next= ;;
+ *) next= ;;
+ esac
+ fi
+ done
+ if test "X$rpathdirs" != "X"; then
+ if test -n ""$3""; then
+ dnl libtool is used for linking. Use -R options.
+ for dir in $rpathdirs; do
+ $1="${$1}${$1:+ }-R$dir"
+ done
+ else
+ dnl The linker is used for linking directly.
+ if test -n "$acl_hardcode_libdir_separator"; then
+ dnl Weird platform: only the last -rpath option counts, the user
+ dnl must pass all path elements in one option.
+ alldirs=
+ for dir in $rpathdirs; do
+ alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir"
+ done
+ acl_save_libdir="$libdir"
+ libdir="$alldirs"
+ eval flag=\"$acl_hardcode_libdir_flag_spec\"
+ libdir="$acl_save_libdir"
+ $1="$flag"
+ else
+ dnl The -rpath options are cumulative.
+ for dir in $rpathdirs; do
+ acl_save_libdir="$libdir"
+ libdir="$dir"
+ eval flag=\"$acl_hardcode_libdir_flag_spec\"
+ libdir="$acl_save_libdir"
+ $1="${$1}${$1:+ }$flag"
+ done
+ fi
+ fi
+ fi
+ fi
+ fi
+ AC_SUBST([$1])
+])
diff --git a/biblio/bibtex/utils/mkbib/m4/lib-prefix.m4 b/biblio/bibtex/utils/mkbib/m4/lib-prefix.m4
new file mode 100644
index 0000000000..a8684e17e3
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/lib-prefix.m4
@@ -0,0 +1,185 @@
+# lib-prefix.m4 serial 5 (gettext-0.15)
+dnl Copyright (C) 2001-2005 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl From Bruno Haible.
+
+dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and
+dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't
+dnl require excessive bracketing.
+ifdef([AC_HELP_STRING],
+[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])],
+[AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])])
+
+dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
+dnl to access previously installed libraries. The basic assumption is that
+dnl a user will want packages to use other packages he previously installed
+dnl with the same --prefix option.
+dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate
+dnl libraries, but is otherwise very convenient.
+AC_DEFUN([AC_LIB_PREFIX],
+[
+ AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
+ AC_REQUIRE([AC_PROG_CC])
+ AC_REQUIRE([AC_CANONICAL_HOST])
+ AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
+ AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
+ dnl By default, look in $includedir and $libdir.
+ use_additional=yes
+ AC_LIB_WITH_FINAL_PREFIX([
+ eval additional_includedir=\"$includedir\"
+ eval additional_libdir=\"$libdir\"
+ ])
+ AC_LIB_ARG_WITH([lib-prefix],
+[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
+ --without-lib-prefix don't search for libraries in includedir and libdir],
+[
+ if test "X$withval" = "Xno"; then
+ use_additional=no
+ else
+ if test "X$withval" = "X"; then
+ AC_LIB_WITH_FINAL_PREFIX([
+ eval additional_includedir=\"$includedir\"
+ eval additional_libdir=\"$libdir\"
+ ])
+ else
+ additional_includedir="$withval/include"
+ additional_libdir="$withval/$acl_libdirstem"
+ fi
+ fi
+])
+ if test $use_additional = yes; then
+ dnl Potentially add $additional_includedir to $CPPFLAGS.
+ dnl But don't add it
+ dnl 1. if it's the standard /usr/include,
+ dnl 2. if it's already present in $CPPFLAGS,
+ dnl 3. if it's /usr/local/include and we are using GCC on Linux,
+ dnl 4. if it doesn't exist as a directory.
+ if test "X$additional_includedir" != "X/usr/include"; then
+ haveit=
+ for x in $CPPFLAGS; do
+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
+ if test "X$x" = "X-I$additional_includedir"; then
+ haveit=yes
+ break
+ fi
+ done
+ if test -z "$haveit"; then
+ if test "X$additional_includedir" = "X/usr/local/include"; then
+ if test -n "$GCC"; then
+ case $host_os in
+ linux* | gnu* | k*bsd*-gnu) haveit=yes;;
+ esac
+ fi
+ fi
+ if test -z "$haveit"; then
+ if test -d "$additional_includedir"; then
+ dnl Really add $additional_includedir to $CPPFLAGS.
+ CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
+ fi
+ fi
+ fi
+ fi
+ dnl Potentially add $additional_libdir to $LDFLAGS.
+ dnl But don't add it
+ dnl 1. if it's the standard /usr/lib,
+ dnl 2. if it's already present in $LDFLAGS,
+ dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
+ dnl 4. if it doesn't exist as a directory.
+ if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
+ haveit=
+ for x in $LDFLAGS; do
+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
+ if test "X$x" = "X-L$additional_libdir"; then
+ haveit=yes
+ break
+ fi
+ done
+ if test -z "$haveit"; then
+ if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
+ if test -n "$GCC"; then
+ case $host_os in
+ linux*) haveit=yes;;
+ esac
+ fi
+ fi
+ if test -z "$haveit"; then
+ if test -d "$additional_libdir"; then
+ dnl Really add $additional_libdir to $LDFLAGS.
+ LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
+ fi
+ fi
+ fi
+ fi
+ fi
+])
+
+dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix,
+dnl acl_final_exec_prefix, containing the values to which $prefix and
+dnl $exec_prefix will expand at the end of the configure script.
+AC_DEFUN([AC_LIB_PREPARE_PREFIX],
+[
+ dnl Unfortunately, prefix and exec_prefix get only finally determined
+ dnl at the end of configure.
+ if test "X$prefix" = "XNONE"; then
+ acl_final_prefix="$ac_default_prefix"
+ else
+ acl_final_prefix="$prefix"
+ fi
+ if test "X$exec_prefix" = "XNONE"; then
+ acl_final_exec_prefix='${prefix}'
+ else
+ acl_final_exec_prefix="$exec_prefix"
+ fi
+ acl_save_prefix="$prefix"
+ prefix="$acl_final_prefix"
+ eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
+ prefix="$acl_save_prefix"
+])
+
+dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
+dnl variables prefix and exec_prefix bound to the values they will have
+dnl at the end of the configure script.
+AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX],
+[
+ acl_save_prefix="$prefix"
+ prefix="$acl_final_prefix"
+ acl_save_exec_prefix="$exec_prefix"
+ exec_prefix="$acl_final_exec_prefix"
+ $1
+ exec_prefix="$acl_save_exec_prefix"
+ prefix="$acl_save_prefix"
+])
+
+dnl AC_LIB_PREPARE_MULTILIB creates a variable acl_libdirstem, containing
+dnl the basename of the libdir, either "lib" or "lib64".
+AC_DEFUN([AC_LIB_PREPARE_MULTILIB],
+[
+ dnl There is no formal standard regarding lib and lib64. The current
+ dnl practice is that on a system supporting 32-bit and 64-bit instruction
+ dnl sets or ABIs, 64-bit libraries go under $prefix/lib64 and 32-bit
+ dnl libraries go under $prefix/lib. We determine the compiler's default
+ dnl mode by looking at the compiler's library search path. If at least
+ dnl of its elements ends in /lib64 or points to a directory whose absolute
+ dnl pathname ends in /lib64, we assume a 64-bit ABI. Otherwise we use the
+ dnl default, namely "lib".
+ acl_libdirstem=lib
+ searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
+ if test -n "$searchpath"; then
+ acl_save_IFS="${IFS= }"; IFS=":"
+ for searchdir in $searchpath; do
+ if test -d "$searchdir"; then
+ case "$searchdir" in
+ */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
+ *) searchdir=`cd "$searchdir" && pwd`
+ case "$searchdir" in
+ */lib64 ) acl_libdirstem=lib64 ;;
+ esac ;;
+ esac
+ fi
+ done
+ IFS="$acl_save_IFS"
+ fi
+])
diff --git a/biblio/bibtex/utils/mkbib/m4/libtool.m4 b/biblio/bibtex/utils/mkbib/m4/libtool.m4
new file mode 100644
index 0000000000..56666f0ece
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/libtool.m4
@@ -0,0 +1,7986 @@
+# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
+#
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
+# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
+# Foundation, Inc.
+# Written by Gordon Matzigkeit, 1996
+#
+# This file is free software; the Free Software Foundation gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+
+m4_define([_LT_COPYING], [dnl
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
+# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
+# Foundation, Inc.
+# Written by Gordon Matzigkeit, 1996
+#
+# This file is part of GNU Libtool.
+#
+# GNU Libtool is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of
+# the License, or (at your option) any later version.
+#
+# As a special exception to the GNU General Public License,
+# if you distribute this file as part of a program or library that
+# is built using GNU Libtool, you may include this file under the
+# same distribution terms that you use for the rest of that program.
+#
+# GNU Libtool is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GNU Libtool; see the file COPYING. If not, a copy
+# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
+# obtained by writing to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+])
+
+# serial 57 LT_INIT
+
+
+# LT_PREREQ(VERSION)
+# ------------------
+# Complain and exit if this libtool version is less that VERSION.
+m4_defun([LT_PREREQ],
+[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
+ [m4_default([$3],
+ [m4_fatal([Libtool version $1 or higher is required],
+ 63)])],
+ [$2])])
+
+
+# _LT_CHECK_BUILDDIR
+# ------------------
+# Complain if the absolute build directory name contains unusual characters
+m4_defun([_LT_CHECK_BUILDDIR],
+[case `pwd` in
+ *\ * | *\ *)
+ AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
+esac
+])
+
+
+# LT_INIT([OPTIONS])
+# ------------------
+AC_DEFUN([LT_INIT],
+[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
+AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
+AC_BEFORE([$0], [LT_LANG])dnl
+AC_BEFORE([$0], [LT_OUTPUT])dnl
+AC_BEFORE([$0], [LTDL_INIT])dnl
+m4_require([_LT_CHECK_BUILDDIR])dnl
+
+dnl Autoconf doesn't catch unexpanded LT_ macros by default:
+m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
+m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
+dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
+dnl unless we require an AC_DEFUNed macro:
+AC_REQUIRE([LTOPTIONS_VERSION])dnl
+AC_REQUIRE([LTSUGAR_VERSION])dnl
+AC_REQUIRE([LTVERSION_VERSION])dnl
+AC_REQUIRE([LTOBSOLETE_VERSION])dnl
+m4_require([_LT_PROG_LTMAIN])dnl
+
+_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
+
+dnl Parse OPTIONS
+_LT_SET_OPTIONS([$0], [$1])
+
+# This can be used to rebuild libtool when needed
+LIBTOOL_DEPS="$ltmain"
+
+# Always use our own libtool.
+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+AC_SUBST(LIBTOOL)dnl
+
+_LT_SETUP
+
+# Only expand once:
+m4_define([LT_INIT])
+])# LT_INIT
+
+# Old names:
+AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
+AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
+dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
+
+
+# _LT_CC_BASENAME(CC)
+# -------------------
+# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
+m4_defun([_LT_CC_BASENAME],
+[for cc_temp in $1""; do
+ case $cc_temp in
+ compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
+ distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
+ \-*) ;;
+ *) break;;
+ esac
+done
+cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
+])
+
+
+# _LT_FILEUTILS_DEFAULTS
+# ----------------------
+# It is okay to use these file commands and assume they have been set
+# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
+m4_defun([_LT_FILEUTILS_DEFAULTS],
+[: ${CP="cp -f"}
+: ${MV="mv -f"}
+: ${RM="rm -f"}
+])# _LT_FILEUTILS_DEFAULTS
+
+
+# _LT_SETUP
+# ---------
+m4_defun([_LT_SETUP],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
+AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
+
+_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
+dnl
+_LT_DECL([], [host_alias], [0], [The host system])dnl
+_LT_DECL([], [host], [0])dnl
+_LT_DECL([], [host_os], [0])dnl
+dnl
+_LT_DECL([], [build_alias], [0], [The build system])dnl
+_LT_DECL([], [build], [0])dnl
+_LT_DECL([], [build_os], [0])dnl
+dnl
+AC_REQUIRE([AC_PROG_CC])dnl
+AC_REQUIRE([LT_PATH_LD])dnl
+AC_REQUIRE([LT_PATH_NM])dnl
+dnl
+AC_REQUIRE([AC_PROG_LN_S])dnl
+test -z "$LN_S" && LN_S="ln -s"
+_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
+dnl
+AC_REQUIRE([LT_CMD_MAX_LEN])dnl
+_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
+_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
+dnl
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_CHECK_SHELL_FEATURES])dnl
+m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
+m4_require([_LT_CMD_RELOAD])dnl
+m4_require([_LT_CHECK_MAGIC_METHOD])dnl
+m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
+m4_require([_LT_CMD_OLD_ARCHIVE])dnl
+m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
+m4_require([_LT_WITH_SYSROOT])dnl
+
+_LT_CONFIG_LIBTOOL_INIT([
+# See if we are running on zsh, and set the options which allow our
+# commands through without removal of \ escapes INIT.
+if test -n "\${ZSH_VERSION+set}" ; then
+ setopt NO_GLOB_SUBST
+fi
+])
+if test -n "${ZSH_VERSION+set}" ; then
+ setopt NO_GLOB_SUBST
+fi
+
+_LT_CHECK_OBJDIR
+
+m4_require([_LT_TAG_COMPILER])dnl
+
+case $host_os in
+aix3*)
+ # AIX sometimes has problems with the GCC collect2 program. For some
+ # reason, if we set the COLLECT_NAMES environment variable, the problems
+ # vanish in a puff of smoke.
+ if test "X${COLLECT_NAMES+set}" != Xset; then
+ COLLECT_NAMES=
+ export COLLECT_NAMES
+ fi
+ ;;
+esac
+
+# Global variables:
+ofile=libtool
+can_build_shared=yes
+
+# All known linkers require a `.a' archive for static linking (except MSVC,
+# which needs '.lib').
+libext=a
+
+with_gnu_ld="$lt_cv_prog_gnu_ld"
+
+old_CC="$CC"
+old_CFLAGS="$CFLAGS"
+
+# Set sane defaults for various variables
+test -z "$CC" && CC=cc
+test -z "$LTCC" && LTCC=$CC
+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
+test -z "$LD" && LD=ld
+test -z "$ac_objext" && ac_objext=o
+
+_LT_CC_BASENAME([$compiler])
+
+# Only perform the check for file, if the check method requires it
+test -z "$MAGIC_CMD" && MAGIC_CMD=file
+case $deplibs_check_method in
+file_magic*)
+ if test "$file_magic_cmd" = '$MAGIC_CMD'; then
+ _LT_PATH_MAGIC
+ fi
+ ;;
+esac
+
+# Use C for the default configuration in the libtool script
+LT_SUPPORTED_TAG([CC])
+_LT_LANG_C_CONFIG
+_LT_LANG_DEFAULT_CONFIG
+_LT_CONFIG_COMMANDS
+])# _LT_SETUP
+
+
+# _LT_PREPARE_SED_QUOTE_VARS
+# --------------------------
+# Define a few sed substitution that help us do robust quoting.
+m4_defun([_LT_PREPARE_SED_QUOTE_VARS],
+[# Backslashify metacharacters that are still active within
+# double-quoted strings.
+sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
+
+# Same as above, but do not quote variable references.
+double_quote_subst='s/\([["`\\]]\)/\\\1/g'
+
+# Sed substitution to delay expansion of an escaped shell variable in a
+# double_quote_subst'ed string.
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
+
+# Sed substitution to delay expansion of an escaped single quote.
+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
+
+# Sed substitution to avoid accidental globbing in evaled expressions
+no_glob_subst='s/\*/\\\*/g'
+])
+
+# _LT_PROG_LTMAIN
+# ---------------
+# Note that this code is called both from `configure', and `config.status'
+# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
+# `config.status' has no value for ac_aux_dir unless we are using Automake,
+# so we pass a copy along to make sure it has a sensible value anyway.
+m4_defun([_LT_PROG_LTMAIN],
+[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
+_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
+ltmain="$ac_aux_dir/ltmain.sh"
+])# _LT_PROG_LTMAIN
+
+
+## ------------------------------------- ##
+## Accumulate code for creating libtool. ##
+## ------------------------------------- ##
+
+# So that we can recreate a full libtool script including additional
+# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
+# in macros and then make a single call at the end using the `libtool'
+# label.
+
+
+# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
+# ----------------------------------------
+# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
+m4_define([_LT_CONFIG_LIBTOOL_INIT],
+[m4_ifval([$1],
+ [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
+ [$1
+])])])
+
+# Initialize.
+m4_define([_LT_OUTPUT_LIBTOOL_INIT])
+
+
+# _LT_CONFIG_LIBTOOL([COMMANDS])
+# ------------------------------
+# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
+m4_define([_LT_CONFIG_LIBTOOL],
+[m4_ifval([$1],
+ [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
+ [$1
+])])])
+
+# Initialize.
+m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
+
+
+# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
+# -----------------------------------------------------
+m4_defun([_LT_CONFIG_SAVE_COMMANDS],
+[_LT_CONFIG_LIBTOOL([$1])
+_LT_CONFIG_LIBTOOL_INIT([$2])
+])
+
+
+# _LT_FORMAT_COMMENT([COMMENT])
+# -----------------------------
+# Add leading comment marks to the start of each line, and a trailing
+# full-stop to the whole comment if one is not present already.
+m4_define([_LT_FORMAT_COMMENT],
+[m4_ifval([$1], [
+m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
+ [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
+)])
+
+
+
+## ------------------------ ##
+## FIXME: Eliminate VARNAME ##
+## ------------------------ ##
+
+
+# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
+# -------------------------------------------------------------------
+# CONFIGNAME is the name given to the value in the libtool script.
+# VARNAME is the (base) name used in the configure script.
+# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
+# VARNAME. Any other value will be used directly.
+m4_define([_LT_DECL],
+[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
+ [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
+ [m4_ifval([$1], [$1], [$2])])
+ lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
+ m4_ifval([$4],
+ [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
+ lt_dict_add_subkey([lt_decl_dict], [$2],
+ [tagged?], [m4_ifval([$5], [yes], [no])])])
+])
+
+
+# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
+# --------------------------------------------------------
+m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
+
+
+# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
+# ------------------------------------------------
+m4_define([lt_decl_tag_varnames],
+[_lt_decl_filter([tagged?], [yes], $@)])
+
+
+# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
+# ---------------------------------------------------------
+m4_define([_lt_decl_filter],
+[m4_case([$#],
+ [0], [m4_fatal([$0: too few arguments: $#])],
+ [1], [m4_fatal([$0: too few arguments: $#: $1])],
+ [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
+ [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
+ [lt_dict_filter([lt_decl_dict], $@)])[]dnl
+])
+
+
+# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
+# --------------------------------------------------
+m4_define([lt_decl_quote_varnames],
+[_lt_decl_filter([value], [1], $@)])
+
+
+# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
+# ---------------------------------------------------
+m4_define([lt_decl_dquote_varnames],
+[_lt_decl_filter([value], [2], $@)])
+
+
+# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
+# ---------------------------------------------------
+m4_define([lt_decl_varnames_tagged],
+[m4_assert([$# <= 2])dnl
+_$0(m4_quote(m4_default([$1], [[, ]])),
+ m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
+ m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
+m4_define([_lt_decl_varnames_tagged],
+[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
+
+
+# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
+# ------------------------------------------------
+m4_define([lt_decl_all_varnames],
+[_$0(m4_quote(m4_default([$1], [[, ]])),
+ m4_if([$2], [],
+ m4_quote(lt_decl_varnames),
+ m4_quote(m4_shift($@))))[]dnl
+])
+m4_define([_lt_decl_all_varnames],
+[lt_join($@, lt_decl_varnames_tagged([$1],
+ lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
+])
+
+
+# _LT_CONFIG_STATUS_DECLARE([VARNAME])
+# ------------------------------------
+# Quote a variable value, and forward it to `config.status' so that its
+# declaration there will have the same value as in `configure'. VARNAME
+# must have a single quote delimited value for this to work.
+m4_define([_LT_CONFIG_STATUS_DECLARE],
+[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
+
+
+# _LT_CONFIG_STATUS_DECLARATIONS
+# ------------------------------
+# We delimit libtool config variables with single quotes, so when
+# we write them to config.status, we have to be sure to quote all
+# embedded single quotes properly. In configure, this macro expands
+# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
+#
+# <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
+m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
+[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
+ [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
+
+
+# _LT_LIBTOOL_TAGS
+# ----------------
+# Output comment and list of tags supported by the script
+m4_defun([_LT_LIBTOOL_TAGS],
+[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
+available_tags="_LT_TAGS"dnl
+])
+
+
+# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
+# -----------------------------------
+# Extract the dictionary values for VARNAME (optionally with TAG) and
+# expand to a commented shell variable setting:
+#
+# # Some comment about what VAR is for.
+# visible_name=$lt_internal_name
+m4_define([_LT_LIBTOOL_DECLARE],
+[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
+ [description])))[]dnl
+m4_pushdef([_libtool_name],
+ m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
+m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
+ [0], [_libtool_name=[$]$1],
+ [1], [_libtool_name=$lt_[]$1],
+ [2], [_libtool_name=$lt_[]$1],
+ [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
+m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
+])
+
+
+# _LT_LIBTOOL_CONFIG_VARS
+# -----------------------
+# Produce commented declarations of non-tagged libtool config variables
+# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
+# script. Tagged libtool config variables (even for the LIBTOOL CONFIG
+# section) are produced by _LT_LIBTOOL_TAG_VARS.
+m4_defun([_LT_LIBTOOL_CONFIG_VARS],
+[m4_foreach([_lt_var],
+ m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
+ [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
+
+
+# _LT_LIBTOOL_TAG_VARS(TAG)
+# -------------------------
+m4_define([_LT_LIBTOOL_TAG_VARS],
+[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
+ [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
+
+
+# _LT_TAGVAR(VARNAME, [TAGNAME])
+# ------------------------------
+m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
+
+
+# _LT_CONFIG_COMMANDS
+# -------------------
+# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
+# variables for single and double quote escaping we saved from calls
+# to _LT_DECL, we can put quote escaped variables declarations
+# into `config.status', and then the shell code to quote escape them in
+# for loops in `config.status'. Finally, any additional code accumulated
+# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
+m4_defun([_LT_CONFIG_COMMANDS],
+[AC_PROVIDE_IFELSE([LT_OUTPUT],
+ dnl If the libtool generation code has been placed in $CONFIG_LT,
+ dnl instead of duplicating it all over again into config.status,
+ dnl then we will have config.status run $CONFIG_LT later, so it
+ dnl needs to know what name is stored there:
+ [AC_CONFIG_COMMANDS([libtool],
+ [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
+ dnl If the libtool generation code is destined for config.status,
+ dnl expand the accumulated commands and init code now:
+ [AC_CONFIG_COMMANDS([libtool],
+ [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
+])#_LT_CONFIG_COMMANDS
+
+
+# Initialize.
+m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
+[
+
+# The HP-UX ksh and POSIX shell print the target directory to stdout
+# if CDPATH is set.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+sed_quote_subst='$sed_quote_subst'
+double_quote_subst='$double_quote_subst'
+delay_variable_subst='$delay_variable_subst'
+_LT_CONFIG_STATUS_DECLARATIONS
+LTCC='$LTCC'
+LTCFLAGS='$LTCFLAGS'
+compiler='$compiler_DEFAULT'
+
+# A function that is used when there is no print builtin or printf.
+func_fallback_echo ()
+{
+ eval 'cat <<_LTECHO_EOF
+\$[]1
+_LTECHO_EOF'
+}
+
+# Quote evaled strings.
+for var in lt_decl_all_varnames([[ \
+]], lt_decl_quote_varnames); do
+ case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
+ *[[\\\\\\\`\\"\\\$]]*)
+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
+ ;;
+ *)
+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
+ ;;
+ esac
+done
+
+# Double-quote double-evaled strings.
+for var in lt_decl_all_varnames([[ \
+]], lt_decl_dquote_varnames); do
+ case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
+ *[[\\\\\\\`\\"\\\$]]*)
+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
+ ;;
+ *)
+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
+ ;;
+ esac
+done
+
+_LT_OUTPUT_LIBTOOL_INIT
+])
+
+# _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
+# ------------------------------------
+# Generate a child script FILE with all initialization necessary to
+# reuse the environment learned by the parent script, and make the
+# file executable. If COMMENT is supplied, it is inserted after the
+# `#!' sequence but before initialization text begins. After this
+# macro, additional text can be appended to FILE to form the body of
+# the child script. The macro ends with non-zero status if the
+# file could not be fully written (such as if the disk is full).
+m4_ifdef([AS_INIT_GENERATED],
+[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],
+[m4_defun([_LT_GENERATED_FILE_INIT],
+[m4_require([AS_PREPARE])]dnl
+[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl
+[lt_write_fail=0
+cat >$1 <<_ASEOF || lt_write_fail=1
+#! $SHELL
+# Generated by $as_me.
+$2
+SHELL=\${CONFIG_SHELL-$SHELL}
+export SHELL
+_ASEOF
+cat >>$1 <<\_ASEOF || lt_write_fail=1
+AS_SHELL_SANITIZE
+_AS_PREPARE
+exec AS_MESSAGE_FD>&1
+_ASEOF
+test $lt_write_fail = 0 && chmod +x $1[]dnl
+m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
+
+# LT_OUTPUT
+# ---------
+# This macro allows early generation of the libtool script (before
+# AC_OUTPUT is called), incase it is used in configure for compilation
+# tests.
+AC_DEFUN([LT_OUTPUT],
+[: ${CONFIG_LT=./config.lt}
+AC_MSG_NOTICE([creating $CONFIG_LT])
+_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
+[# Run this file to recreate a libtool stub with the current configuration.])
+
+cat >>"$CONFIG_LT" <<\_LTEOF
+lt_cl_silent=false
+exec AS_MESSAGE_LOG_FD>>config.log
+{
+ echo
+ AS_BOX([Running $as_me.])
+} >&AS_MESSAGE_LOG_FD
+
+lt_cl_help="\
+\`$as_me' creates a local libtool stub from the current configuration,
+for use in further configure time tests before the real libtool is
+generated.
+
+Usage: $[0] [[OPTIONS]]
+
+ -h, --help print this help, then exit
+ -V, --version print version number, then exit
+ -q, --quiet do not print progress messages
+ -d, --debug don't remove temporary files
+
+Report bugs to <bug-libtool@gnu.org>."
+
+lt_cl_version="\
+m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
+m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
+configured by $[0], generated by m4_PACKAGE_STRING.
+
+Copyright (C) 2011 Free Software Foundation, Inc.
+This config.lt script is free software; the Free Software Foundation
+gives unlimited permision to copy, distribute and modify it."
+
+while test $[#] != 0
+do
+ case $[1] in
+ --version | --v* | -V )
+ echo "$lt_cl_version"; exit 0 ;;
+ --help | --h* | -h )
+ echo "$lt_cl_help"; exit 0 ;;
+ --debug | --d* | -d )
+ debug=: ;;
+ --quiet | --q* | --silent | --s* | -q )
+ lt_cl_silent=: ;;
+
+ -*) AC_MSG_ERROR([unrecognized option: $[1]
+Try \`$[0] --help' for more information.]) ;;
+
+ *) AC_MSG_ERROR([unrecognized argument: $[1]
+Try \`$[0] --help' for more information.]) ;;
+ esac
+ shift
+done
+
+if $lt_cl_silent; then
+ exec AS_MESSAGE_FD>/dev/null
+fi
+_LTEOF
+
+cat >>"$CONFIG_LT" <<_LTEOF
+_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
+_LTEOF
+
+cat >>"$CONFIG_LT" <<\_LTEOF
+AC_MSG_NOTICE([creating $ofile])
+_LT_OUTPUT_LIBTOOL_COMMANDS
+AS_EXIT(0)
+_LTEOF
+chmod +x "$CONFIG_LT"
+
+# configure is writing to config.log, but config.lt does its own redirection,
+# appending to config.log, which fails on DOS, as config.log is still kept
+# open by configure. Here we exec the FD to /dev/null, effectively closing
+# config.log, so it can be properly (re)opened and appended to by config.lt.
+lt_cl_success=:
+test "$silent" = yes &&
+ lt_config_lt_args="$lt_config_lt_args --quiet"
+exec AS_MESSAGE_LOG_FD>/dev/null
+$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
+exec AS_MESSAGE_LOG_FD>>config.log
+$lt_cl_success || AS_EXIT(1)
+])# LT_OUTPUT
+
+
+# _LT_CONFIG(TAG)
+# ---------------
+# If TAG is the built-in tag, create an initial libtool script with a
+# default configuration from the untagged config vars. Otherwise add code
+# to config.status for appending the configuration named by TAG from the
+# matching tagged config vars.
+m4_defun([_LT_CONFIG],
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+_LT_CONFIG_SAVE_COMMANDS([
+ m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
+ m4_if(_LT_TAG, [C], [
+ # See if we are running on zsh, and set the options which allow our
+ # commands through without removal of \ escapes.
+ if test -n "${ZSH_VERSION+set}" ; then
+ setopt NO_GLOB_SUBST
+ fi
+
+ cfgfile="${ofile}T"
+ trap "$RM \"$cfgfile\"; exit 1" 1 2 15
+ $RM "$cfgfile"
+
+ cat <<_LT_EOF >> "$cfgfile"
+#! $SHELL
+
+# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
+# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
+#
+_LT_COPYING
+_LT_LIBTOOL_TAGS
+
+# ### BEGIN LIBTOOL CONFIG
+_LT_LIBTOOL_CONFIG_VARS
+_LT_LIBTOOL_TAG_VARS
+# ### END LIBTOOL CONFIG
+
+_LT_EOF
+
+ case $host_os in
+ aix3*)
+ cat <<\_LT_EOF >> "$cfgfile"
+# AIX sometimes has problems with the GCC collect2 program. For some
+# reason, if we set the COLLECT_NAMES environment variable, the problems
+# vanish in a puff of smoke.
+if test "X${COLLECT_NAMES+set}" != Xset; then
+ COLLECT_NAMES=
+ export COLLECT_NAMES
+fi
+_LT_EOF
+ ;;
+ esac
+
+ _LT_PROG_LTMAIN
+
+ # We use sed instead of cat because bash on DJGPP gets confused if
+ # if finds mixed CR/LF and LF-only lines. Since sed operates in
+ # text mode, it properly converts lines to CR/LF. This bash problem
+ # is reportedly fixed, but why not run on old versions too?
+ sed '$q' "$ltmain" >> "$cfgfile" \
+ || (rm -f "$cfgfile"; exit 1)
+
+ _LT_PROG_REPLACE_SHELLFNS
+
+ mv -f "$cfgfile" "$ofile" ||
+ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
+ chmod +x "$ofile"
+],
+[cat <<_LT_EOF >> "$ofile"
+
+dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
+dnl in a comment (ie after a #).
+# ### BEGIN LIBTOOL TAG CONFIG: $1
+_LT_LIBTOOL_TAG_VARS(_LT_TAG)
+# ### END LIBTOOL TAG CONFIG: $1
+_LT_EOF
+])dnl /m4_if
+],
+[m4_if([$1], [], [
+ PACKAGE='$PACKAGE'
+ VERSION='$VERSION'
+ TIMESTAMP='$TIMESTAMP'
+ RM='$RM'
+ ofile='$ofile'], [])
+])dnl /_LT_CONFIG_SAVE_COMMANDS
+])# _LT_CONFIG
+
+
+# LT_SUPPORTED_TAG(TAG)
+# ---------------------
+# Trace this macro to discover what tags are supported by the libtool
+# --tag option, using:
+# autoconf --trace 'LT_SUPPORTED_TAG:$1'
+AC_DEFUN([LT_SUPPORTED_TAG], [])
+
+
+# C support is built-in for now
+m4_define([_LT_LANG_C_enabled], [])
+m4_define([_LT_TAGS], [])
+
+
+# LT_LANG(LANG)
+# -------------
+# Enable libtool support for the given language if not already enabled.
+AC_DEFUN([LT_LANG],
+[AC_BEFORE([$0], [LT_OUTPUT])dnl
+m4_case([$1],
+ [C], [_LT_LANG(C)],
+ [C++], [_LT_LANG(CXX)],
+ [Go], [_LT_LANG(GO)],
+ [Java], [_LT_LANG(GCJ)],
+ [Fortran 77], [_LT_LANG(F77)],
+ [Fortran], [_LT_LANG(FC)],
+ [Windows Resource], [_LT_LANG(RC)],
+ [m4_ifdef([_LT_LANG_]$1[_CONFIG],
+ [_LT_LANG($1)],
+ [m4_fatal([$0: unsupported language: "$1"])])])dnl
+])# LT_LANG
+
+
+# _LT_LANG(LANGNAME)
+# ------------------
+m4_defun([_LT_LANG],
+[m4_ifdef([_LT_LANG_]$1[_enabled], [],
+ [LT_SUPPORTED_TAG([$1])dnl
+ m4_append([_LT_TAGS], [$1 ])dnl
+ m4_define([_LT_LANG_]$1[_enabled], [])dnl
+ _LT_LANG_$1_CONFIG($1)])dnl
+])# _LT_LANG
+
+
+m4_ifndef([AC_PROG_GO], [
+############################################################
+# NOTE: This macro has been submitted for inclusion into #
+# GNU Autoconf as AC_PROG_GO. When it is available in #
+# a released version of Autoconf we should remove this #
+# macro and use it instead. #
+############################################################
+m4_defun([AC_PROG_GO],
+[AC_LANG_PUSH(Go)dnl
+AC_ARG_VAR([GOC], [Go compiler command])dnl
+AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl
+_AC_ARG_VAR_LDFLAGS()dnl
+AC_CHECK_TOOL(GOC, gccgo)
+if test -z "$GOC"; then
+ if test -n "$ac_tool_prefix"; then
+ AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo])
+ fi
+fi
+if test -z "$GOC"; then
+ AC_CHECK_PROG(GOC, gccgo, gccgo, false)
+fi
+])#m4_defun
+])#m4_ifndef
+
+
+# _LT_LANG_DEFAULT_CONFIG
+# -----------------------
+m4_defun([_LT_LANG_DEFAULT_CONFIG],
+[AC_PROVIDE_IFELSE([AC_PROG_CXX],
+ [LT_LANG(CXX)],
+ [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
+
+AC_PROVIDE_IFELSE([AC_PROG_F77],
+ [LT_LANG(F77)],
+ [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
+
+AC_PROVIDE_IFELSE([AC_PROG_FC],
+ [LT_LANG(FC)],
+ [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
+
+dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
+dnl pulling things in needlessly.
+AC_PROVIDE_IFELSE([AC_PROG_GCJ],
+ [LT_LANG(GCJ)],
+ [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
+ [LT_LANG(GCJ)],
+ [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
+ [LT_LANG(GCJ)],
+ [m4_ifdef([AC_PROG_GCJ],
+ [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
+ m4_ifdef([A][M_PROG_GCJ],
+ [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
+ m4_ifdef([LT_PROG_GCJ],
+ [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
+
+AC_PROVIDE_IFELSE([AC_PROG_GO],
+ [LT_LANG(GO)],
+ [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])])
+
+AC_PROVIDE_IFELSE([LT_PROG_RC],
+ [LT_LANG(RC)],
+ [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
+])# _LT_LANG_DEFAULT_CONFIG
+
+# Obsolete macros:
+AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
+AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
+AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
+AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
+AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
+dnl AC_DEFUN([AC_LIBTOOL_F77], [])
+dnl AC_DEFUN([AC_LIBTOOL_FC], [])
+dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
+dnl AC_DEFUN([AC_LIBTOOL_RC], [])
+
+
+# _LT_TAG_COMPILER
+# ----------------
+m4_defun([_LT_TAG_COMPILER],
+[AC_REQUIRE([AC_PROG_CC])dnl
+
+_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
+_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
+_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
+_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
+
+# If no C compiler was specified, use CC.
+LTCC=${LTCC-"$CC"}
+
+# If no C compiler flags were specified, use CFLAGS.
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
+
+# Allow CC to be a program name with arguments.
+compiler=$CC
+])# _LT_TAG_COMPILER
+
+
+# _LT_COMPILER_BOILERPLATE
+# ------------------------
+# Check for compiler boilerplate output or warnings with
+# the simple compiler test code.
+m4_defun([_LT_COMPILER_BOILERPLATE],
+[m4_require([_LT_DECL_SED])dnl
+ac_outfile=conftest.$ac_objext
+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
+_lt_compiler_boilerplate=`cat conftest.err`
+$RM conftest*
+])# _LT_COMPILER_BOILERPLATE
+
+
+# _LT_LINKER_BOILERPLATE
+# ----------------------
+# Check for linker boilerplate output or warnings with
+# the simple link test code.
+m4_defun([_LT_LINKER_BOILERPLATE],
+[m4_require([_LT_DECL_SED])dnl
+ac_outfile=conftest.$ac_objext
+echo "$lt_simple_link_test_code" >conftest.$ac_ext
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
+_lt_linker_boilerplate=`cat conftest.err`
+$RM -r conftest*
+])# _LT_LINKER_BOILERPLATE
+
+# _LT_REQUIRED_DARWIN_CHECKS
+# -------------------------
+m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
+ case $host_os in
+ rhapsody* | darwin*)
+ AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
+ AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
+ AC_CHECK_TOOL([LIPO], [lipo], [:])
+ AC_CHECK_TOOL([OTOOL], [otool], [:])
+ AC_CHECK_TOOL([OTOOL64], [otool64], [:])
+ _LT_DECL([], [DSYMUTIL], [1],
+ [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
+ _LT_DECL([], [NMEDIT], [1],
+ [Tool to change global to local symbols on Mac OS X])
+ _LT_DECL([], [LIPO], [1],
+ [Tool to manipulate fat objects and archives on Mac OS X])
+ _LT_DECL([], [OTOOL], [1],
+ [ldd/readelf like tool for Mach-O binaries on Mac OS X])
+ _LT_DECL([], [OTOOL64], [1],
+ [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
+
+ AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
+ [lt_cv_apple_cc_single_mod=no
+ if test -z "${LT_MULTI_MODULE}"; then
+ # By default we will add the -single_module flag. You can override
+ # by either setting the environment variable LT_MULTI_MODULE
+ # non-empty at configure time, or by adding -multi_module to the
+ # link flags.
+ rm -rf libconftest.dylib*
+ echo "int foo(void){return 1;}" > conftest.c
+ echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
+-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
+ $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
+ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
+ _lt_result=$?
+ # If there is a non-empty error log, and "single_module"
+ # appears in it, assume the flag caused a linker warning
+ if test -s conftest.err && $GREP single_module conftest.err; then
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ # Otherwise, if the output was created with a 0 exit code from
+ # the compiler, it worked.
+ elif test -f libconftest.dylib && test $_lt_result -eq 0; then
+ lt_cv_apple_cc_single_mod=yes
+ else
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ fi
+ rm -rf libconftest.dylib*
+ rm -f conftest.*
+ fi])
+
+ AC_CACHE_CHECK([for -exported_symbols_list linker flag],
+ [lt_cv_ld_exported_symbols_list],
+ [lt_cv_ld_exported_symbols_list=no
+ save_LDFLAGS=$LDFLAGS
+ echo "_main" > conftest.sym
+ LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
+ [lt_cv_ld_exported_symbols_list=yes],
+ [lt_cv_ld_exported_symbols_list=no])
+ LDFLAGS="$save_LDFLAGS"
+ ])
+
+ AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
+ [lt_cv_ld_force_load=no
+ cat > conftest.c << _LT_EOF
+int forced_loaded() { return 2;}
+_LT_EOF
+ echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
+ $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
+ echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
+ $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
+ echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
+ $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
+ cat > conftest.c << _LT_EOF
+int main() { return 0;}
+_LT_EOF
+ echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
+ $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
+ _lt_result=$?
+ if test -s conftest.err && $GREP force_load conftest.err; then
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
+ lt_cv_ld_force_load=yes
+ else
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ fi
+ rm -f conftest.err libconftest.a conftest conftest.c
+ rm -rf conftest.dSYM
+ ])
+ case $host_os in
+ rhapsody* | darwin1.[[012]])
+ _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
+ darwin1.*)
+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
+ darwin*) # darwin 5.x on
+ # if running on 10.5 or later, the deployment target defaults
+ # to the OS version, if on x86, and 10.4, the deployment
+ # target defaults to 10.4. Don't you love it?
+ case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
+ 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
+ 10.[[012]]*)
+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
+ 10.*)
+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
+ esac
+ ;;
+ esac
+ if test "$lt_cv_apple_cc_single_mod" = "yes"; then
+ _lt_dar_single_mod='$single_module'
+ fi
+ if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
+ _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
+ else
+ _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ fi
+ if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
+ _lt_dsymutil='~$DSYMUTIL $lib || :'
+ else
+ _lt_dsymutil=
+ fi
+ ;;
+ esac
+])
+
+
+# _LT_DARWIN_LINKER_FEATURES([TAG])
+# ---------------------------------
+# Checks for linker and compiler features on darwin
+m4_defun([_LT_DARWIN_LINKER_FEATURES],
+[
+ m4_require([_LT_REQUIRED_DARWIN_CHECKS])
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ _LT_TAGVAR(hardcode_automatic, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
+ if test "$lt_cv_ld_force_load" = "yes"; then
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
+ m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
+ [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes])
+ else
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=''
+ fi
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
+ case $cc_basename in
+ ifort*) _lt_dar_can_shared=yes ;;
+ *) _lt_dar_can_shared=$GCC ;;
+ esac
+ if test "$_lt_dar_can_shared" = "yes"; then
+ output_verbose_link_cmd=func_echo_all
+ _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
+ _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
+ _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
+ _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
+ m4_if([$1], [CXX],
+[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then
+ _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
+ _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
+ fi
+],[])
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+])
+
+# _LT_SYS_MODULE_PATH_AIX([TAGNAME])
+# ----------------------------------
+# Links a minimal program and checks the executable
+# for the system default hardcoded library path. In most cases,
+# this is /usr/lib:/lib, but when the MPI compilers are used
+# the location of the communication and MPI libs are included too.
+# If we don't find anything, use the default library path according
+# to the aix ld manual.
+# Store the results from the different compilers for each TAGNAME.
+# Allow to override them for all tags through lt_cv_aix_libpath.
+m4_defun([_LT_SYS_MODULE_PATH_AIX],
+[m4_require([_LT_DECL_SED])dnl
+if test "${lt_cv_aix_libpath+set}" = set; then
+ aix_libpath=$lt_cv_aix_libpath
+else
+ AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])],
+ [AC_LINK_IFELSE([AC_LANG_PROGRAM],[
+ lt_aix_libpath_sed='[
+ /Import File Strings/,/^$/ {
+ /^0/ {
+ s/^0 *\([^ ]*\) *$/\1/
+ p
+ }
+ }]'
+ _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ # Check for a 64-bit object if we didn't find anything.
+ if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
+ _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ fi],[])
+ if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
+ _LT_TAGVAR([lt_cv_aix_libpath_], [$1])="/usr/lib:/lib"
+ fi
+ ])
+ aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])
+fi
+])# _LT_SYS_MODULE_PATH_AIX
+
+
+# _LT_SHELL_INIT(ARG)
+# -------------------
+m4_define([_LT_SHELL_INIT],
+[m4_divert_text([M4SH-INIT], [$1
+])])# _LT_SHELL_INIT
+
+
+
+# _LT_PROG_ECHO_BACKSLASH
+# -----------------------
+# Find how we can fake an echo command that does not interpret backslash.
+# In particular, with Autoconf 2.60 or later we add some code to the start
+# of the generated configure script which will find a shell with a builtin
+# printf (which we can use as an echo command).
+m4_defun([_LT_PROG_ECHO_BACKSLASH],
+[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+
+AC_MSG_CHECKING([how to print strings])
+# Test print first, because it will be a builtin if present.
+if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
+ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
+ ECHO='print -r --'
+elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
+ ECHO='printf %s\n'
+else
+ # Use this function as a fallback that always works.
+ func_fallback_echo ()
+ {
+ eval 'cat <<_LTECHO_EOF
+$[]1
+_LTECHO_EOF'
+ }
+ ECHO='func_fallback_echo'
+fi
+
+# func_echo_all arg...
+# Invoke $ECHO with all args, space-separated.
+func_echo_all ()
+{
+ $ECHO "$*"
+}
+
+case "$ECHO" in
+ printf*) AC_MSG_RESULT([printf]) ;;
+ print*) AC_MSG_RESULT([print -r]) ;;
+ *) AC_MSG_RESULT([cat]) ;;
+esac
+
+m4_ifdef([_AS_DETECT_SUGGESTED],
+[_AS_DETECT_SUGGESTED([
+ test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
+ ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
+ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+ PATH=/empty FPATH=/empty; export PATH FPATH
+ test "X`printf %s $ECHO`" = "X$ECHO" \
+ || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
+
+_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
+_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
+])# _LT_PROG_ECHO_BACKSLASH
+
+
+# _LT_WITH_SYSROOT
+# ----------------
+AC_DEFUN([_LT_WITH_SYSROOT],
+[AC_MSG_CHECKING([for sysroot])
+AC_ARG_WITH([sysroot],
+[ --with-sysroot[=DIR] Search for dependent libraries within DIR
+ (or the compiler's sysroot if not specified).],
+[], [with_sysroot=no])
+
+dnl lt_sysroot will always be passed unquoted. We quote it here
+dnl in case the user passed a directory name.
+lt_sysroot=
+case ${with_sysroot} in #(
+ yes)
+ if test "$GCC" = yes; then
+ lt_sysroot=`$CC --print-sysroot 2>/dev/null`
+ fi
+ ;; #(
+ /*)
+ lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
+ ;; #(
+ no|'')
+ ;; #(
+ *)
+ AC_MSG_RESULT([${with_sysroot}])
+ AC_MSG_ERROR([The sysroot must be an absolute path.])
+ ;;
+esac
+
+ AC_MSG_RESULT([${lt_sysroot:-no}])
+_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
+[dependent libraries, and in which our libraries should be installed.])])
+
+# _LT_ENABLE_LOCK
+# ---------------
+m4_defun([_LT_ENABLE_LOCK],
+[AC_ARG_ENABLE([libtool-lock],
+ [AS_HELP_STRING([--disable-libtool-lock],
+ [avoid locking (might break parallel builds)])])
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
+
+# Some flags need to be propagated to the compiler or linker for good
+# libtool support.
+case $host in
+ia64-*-hpux*)
+ # Find out which ABI we are using.
+ echo 'int i;' > conftest.$ac_ext
+ if AC_TRY_EVAL(ac_compile); then
+ case `/usr/bin/file conftest.$ac_objext` in
+ *ELF-32*)
+ HPUX_IA64_MODE="32"
+ ;;
+ *ELF-64*)
+ HPUX_IA64_MODE="64"
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+*-*-irix6*)
+ # Find out which ABI we are using.
+ echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
+ if AC_TRY_EVAL(ac_compile); then
+ if test "$lt_cv_prog_gnu_ld" = yes; then
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ LD="${LD-ld} -melf32bsmip"
+ ;;
+ *N32*)
+ LD="${LD-ld} -melf32bmipn32"
+ ;;
+ *64-bit*)
+ LD="${LD-ld} -melf64bmip"
+ ;;
+ esac
+ else
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ LD="${LD-ld} -32"
+ ;;
+ *N32*)
+ LD="${LD-ld} -n32"
+ ;;
+ *64-bit*)
+ LD="${LD-ld} -64"
+ ;;
+ esac
+ fi
+ fi
+ rm -rf conftest*
+ ;;
+
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
+s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
+ # Find out which ABI we are using.
+ echo 'int i;' > conftest.$ac_ext
+ if AC_TRY_EVAL(ac_compile); then
+ case `/usr/bin/file conftest.o` in
+ *32-bit*)
+ case $host in
+ x86_64-*kfreebsd*-gnu)
+ LD="${LD-ld} -m elf_i386_fbsd"
+ ;;
+ x86_64-*linux*)
+ LD="${LD-ld} -m elf_i386"
+ ;;
+ ppc64-*linux*|powerpc64-*linux*)
+ LD="${LD-ld} -m elf32ppclinux"
+ ;;
+ s390x-*linux*)
+ LD="${LD-ld} -m elf_s390"
+ ;;
+ sparc64-*linux*)
+ LD="${LD-ld} -m elf32_sparc"
+ ;;
+ esac
+ ;;
+ *64-bit*)
+ case $host in
+ x86_64-*kfreebsd*-gnu)
+ LD="${LD-ld} -m elf_x86_64_fbsd"
+ ;;
+ x86_64-*linux*)
+ LD="${LD-ld} -m elf_x86_64"
+ ;;
+ ppc*-*linux*|powerpc*-*linux*)
+ LD="${LD-ld} -m elf64ppc"
+ ;;
+ s390*-*linux*|s390*-*tpf*)
+ LD="${LD-ld} -m elf64_s390"
+ ;;
+ sparc*-*linux*)
+ LD="${LD-ld} -m elf64_sparc"
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+
+*-*-sco3.2v5*)
+ # On SCO OpenServer 5, we need -belf to get full-featured binaries.
+ SAVE_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS -belf"
+ AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
+ [AC_LANG_PUSH(C)
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
+ AC_LANG_POP])
+ if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+ # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+ CFLAGS="$SAVE_CFLAGS"
+ fi
+ ;;
+*-*solaris*)
+ # Find out which ABI we are using.
+ echo 'int i;' > conftest.$ac_ext
+ if AC_TRY_EVAL(ac_compile); then
+ case `/usr/bin/file conftest.o` in
+ *64-bit*)
+ case $lt_cv_prog_gnu_ld in
+ yes*)
+ case $host in
+ i?86-*-solaris*)
+ LD="${LD-ld} -m elf_x86_64"
+ ;;
+ sparc*-*-solaris*)
+ LD="${LD-ld} -m elf64_sparc"
+ ;;
+ esac
+ # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
+ if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
+ LD="${LD-ld}_sol2"
+ fi
+ ;;
+ *)
+ if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
+ LD="${LD-ld} -64"
+ fi
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+esac
+
+need_locks="$enable_libtool_lock"
+])# _LT_ENABLE_LOCK
+
+
+# _LT_PROG_AR
+# -----------
+m4_defun([_LT_PROG_AR],
+[AC_CHECK_TOOLS(AR, [ar], false)
+: ${AR=ar}
+: ${AR_FLAGS=cru}
+_LT_DECL([], [AR], [1], [The archiver])
+_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
+
+AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
+ [lt_cv_ar_at_file=no
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM],
+ [echo conftest.$ac_objext > conftest.lst
+ lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD'
+ AC_TRY_EVAL([lt_ar_try])
+ if test "$ac_status" -eq 0; then
+ # Ensure the archiver fails upon bogus file names.
+ rm -f conftest.$ac_objext libconftest.a
+ AC_TRY_EVAL([lt_ar_try])
+ if test "$ac_status" -ne 0; then
+ lt_cv_ar_at_file=@
+ fi
+ fi
+ rm -f conftest.* libconftest.a
+ ])
+ ])
+
+if test "x$lt_cv_ar_at_file" = xno; then
+ archiver_list_spec=
+else
+ archiver_list_spec=$lt_cv_ar_at_file
+fi
+_LT_DECL([], [archiver_list_spec], [1],
+ [How to feed a file listing to the archiver])
+])# _LT_PROG_AR
+
+
+# _LT_CMD_OLD_ARCHIVE
+# -------------------
+m4_defun([_LT_CMD_OLD_ARCHIVE],
+[_LT_PROG_AR
+
+AC_CHECK_TOOL(STRIP, strip, :)
+test -z "$STRIP" && STRIP=:
+_LT_DECL([], [STRIP], [1], [A symbol stripping program])
+
+AC_CHECK_TOOL(RANLIB, ranlib, :)
+test -z "$RANLIB" && RANLIB=:
+_LT_DECL([], [RANLIB], [1],
+ [Commands used to install an old-style archive])
+
+# Determine commands to create old-style static archives.
+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
+old_postinstall_cmds='chmod 644 $oldlib'
+old_postuninstall_cmds=
+
+if test -n "$RANLIB"; then
+ case $host_os in
+ openbsd*)
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
+ ;;
+ *)
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
+ ;;
+ esac
+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
+fi
+
+case $host_os in
+ darwin*)
+ lock_old_archive_extraction=yes ;;
+ *)
+ lock_old_archive_extraction=no ;;
+esac
+_LT_DECL([], [old_postinstall_cmds], [2])
+_LT_DECL([], [old_postuninstall_cmds], [2])
+_LT_TAGDECL([], [old_archive_cmds], [2],
+ [Commands used to build an old-style archive])
+_LT_DECL([], [lock_old_archive_extraction], [0],
+ [Whether to use a lock for old archive extraction])
+])# _LT_CMD_OLD_ARCHIVE
+
+
+# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
+# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
+# ----------------------------------------------------------------
+# Check whether the given compiler option works
+AC_DEFUN([_LT_COMPILER_OPTION],
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_DECL_SED])dnl
+AC_CACHE_CHECK([$1], [$2],
+ [$2=no
+ m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+ lt_compiler_flag="$3"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ # The option is referenced via a variable to avoid confusing sed.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings other than the usual output.
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
+ $2=yes
+ fi
+ fi
+ $RM conftest*
+])
+
+if test x"[$]$2" = xyes; then
+ m4_if([$5], , :, [$5])
+else
+ m4_if([$6], , :, [$6])
+fi
+])# _LT_COMPILER_OPTION
+
+# Old name:
+AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
+
+
+# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
+# [ACTION-SUCCESS], [ACTION-FAILURE])
+# ----------------------------------------------------
+# Check whether the given linker option works
+AC_DEFUN([_LT_LINKER_OPTION],
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_DECL_SED])dnl
+AC_CACHE_CHECK([$1], [$2],
+ [$2=no
+ save_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS $3"
+ echo "$lt_simple_link_test_code" > conftest.$ac_ext
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
+ # The linker can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test -s conftest.err; then
+ # Append any errors to the config.log.
+ cat conftest.err 1>&AS_MESSAGE_LOG_FD
+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if diff conftest.exp conftest.er2 >/dev/null; then
+ $2=yes
+ fi
+ else
+ $2=yes
+ fi
+ fi
+ $RM -r conftest*
+ LDFLAGS="$save_LDFLAGS"
+])
+
+if test x"[$]$2" = xyes; then
+ m4_if([$4], , :, [$4])
+else
+ m4_if([$5], , :, [$5])
+fi
+])# _LT_LINKER_OPTION
+
+# Old name:
+AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
+
+
+# LT_CMD_MAX_LEN
+#---------------
+AC_DEFUN([LT_CMD_MAX_LEN],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+# find the maximum length of command line arguments
+AC_MSG_CHECKING([the maximum length of command line arguments])
+AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
+ i=0
+ teststring="ABCD"
+
+ case $build_os in
+ msdosdjgpp*)
+ # On DJGPP, this test can blow up pretty badly due to problems in libc
+ # (any single argument exceeding 2000 bytes causes a buffer overrun
+ # during glob expansion). Even if it were fixed, the result of this
+ # check would be larger than it should be.
+ lt_cv_sys_max_cmd_len=12288; # 12K is about right
+ ;;
+
+ gnu*)
+ # Under GNU Hurd, this test is not required because there is
+ # no limit to the length of command line arguments.
+ # Libtool will interpret -1 as no limit whatsoever
+ lt_cv_sys_max_cmd_len=-1;
+ ;;
+
+ cygwin* | mingw* | cegcc*)
+ # On Win9x/ME, this test blows up -- it succeeds, but takes
+ # about 5 minutes as the teststring grows exponentially.
+ # Worse, since 9x/ME are not pre-emptively multitasking,
+ # you end up with a "frozen" computer, even though with patience
+ # the test eventually succeeds (with a max line length of 256k).
+ # Instead, let's just punt: use the minimum linelength reported by
+ # all of the supported platforms: 8192 (on NT/2K/XP).
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ mint*)
+ # On MiNT this can take a long time and run out of memory.
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ amigaos*)
+ # On AmigaOS with pdksh, this test takes hours, literally.
+ # So we just punt and use a minimum line length of 8192.
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
+ # This has been around since 386BSD, at least. Likely further.
+ if test -x /sbin/sysctl; then
+ lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
+ elif test -x /usr/sbin/sysctl; then
+ lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
+ else
+ lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
+ fi
+ # And add a safety zone
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
+ ;;
+
+ interix*)
+ # We know the value 262144 and hardcode it with a safety zone (like BSD)
+ lt_cv_sys_max_cmd_len=196608
+ ;;
+
+ os2*)
+ # The test takes a long time on OS/2.
+ lt_cv_sys_max_cmd_len=8192
+ ;;
+
+ osf*)
+ # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
+ # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
+ # nice to cause kernel panics so lets avoid the loop below.
+ # First set a reasonable default.
+ lt_cv_sys_max_cmd_len=16384
+ #
+ if test -x /sbin/sysconfig; then
+ case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
+ *1*) lt_cv_sys_max_cmd_len=-1 ;;
+ esac
+ fi
+ ;;
+ sco3.2v5*)
+ lt_cv_sys_max_cmd_len=102400
+ ;;
+ sysv5* | sco5v6* | sysv4.2uw2*)
+ kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
+ if test -n "$kargmax"; then
+ lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
+ else
+ lt_cv_sys_max_cmd_len=32768
+ fi
+ ;;
+ *)
+ lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
+ if test -n "$lt_cv_sys_max_cmd_len"; then
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
+ else
+ # Make teststring a little bigger before we do anything with it.
+ # a 1K string should be a reasonable start.
+ for i in 1 2 3 4 5 6 7 8 ; do
+ teststring=$teststring$teststring
+ done
+ SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
+ # If test is not a shell built-in, we'll probably end up computing a
+ # maximum length that is only half of the actual maximum length, but
+ # we can't tell.
+ while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
+ = "X$teststring$teststring"; } >/dev/null 2>&1 &&
+ test $i != 17 # 1/2 MB should be enough
+ do
+ i=`expr $i + 1`
+ teststring=$teststring$teststring
+ done
+ # Only check the string length outside the loop.
+ lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
+ teststring=
+ # Add a significant safety factor because C++ compilers can tack on
+ # massive amounts of additional arguments before passing them to the
+ # linker. It appears as though 1/2 is a usable value.
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
+ fi
+ ;;
+ esac
+])
+if test -n $lt_cv_sys_max_cmd_len ; then
+ AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
+else
+ AC_MSG_RESULT(none)
+fi
+max_cmd_len=$lt_cv_sys_max_cmd_len
+_LT_DECL([], [max_cmd_len], [0],
+ [What is the maximum length of a command?])
+])# LT_CMD_MAX_LEN
+
+# Old name:
+AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
+
+
+# _LT_HEADER_DLFCN
+# ----------------
+m4_defun([_LT_HEADER_DLFCN],
+[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
+])# _LT_HEADER_DLFCN
+
+
+# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
+# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
+# ----------------------------------------------------------------
+m4_defun([_LT_TRY_DLOPEN_SELF],
+[m4_require([_LT_HEADER_DLFCN])dnl
+if test "$cross_compiling" = yes; then :
+ [$4]
+else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<_LT_EOF
+[#line $LINENO "configure"
+#include "confdefs.h"
+
+#if HAVE_DLFCN_H
+#include <dlfcn.h>
+#endif
+
+#include <stdio.h>
+
+#ifdef RTLD_GLOBAL
+# define LT_DLGLOBAL RTLD_GLOBAL
+#else
+# ifdef DL_GLOBAL
+# define LT_DLGLOBAL DL_GLOBAL
+# else
+# define LT_DLGLOBAL 0
+# endif
+#endif
+
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
+ find out it does not work in some platform. */
+#ifndef LT_DLLAZY_OR_NOW
+# ifdef RTLD_LAZY
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
+# else
+# ifdef DL_LAZY
+# define LT_DLLAZY_OR_NOW DL_LAZY
+# else
+# ifdef RTLD_NOW
+# define LT_DLLAZY_OR_NOW RTLD_NOW
+# else
+# ifdef DL_NOW
+# define LT_DLLAZY_OR_NOW DL_NOW
+# else
+# define LT_DLLAZY_OR_NOW 0
+# endif
+# endif
+# endif
+# endif
+#endif
+
+/* When -fvisbility=hidden is used, assume the code has been annotated
+ correspondingly for the symbols needed. */
+#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+int fnord () __attribute__((visibility("default")));
+#endif
+
+int fnord () { return 42; }
+int main ()
+{
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+ int status = $lt_dlunknown;
+
+ if (self)
+ {
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
+ else
+ {
+ if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+ else puts (dlerror ());
+ }
+ /* dlclose (self); */
+ }
+ else
+ puts (dlerror ());
+
+ return status;
+}]
+_LT_EOF
+ if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
+ (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
+ lt_status=$?
+ case x$lt_status in
+ x$lt_dlno_uscore) $1 ;;
+ x$lt_dlneed_uscore) $2 ;;
+ x$lt_dlunknown|x*) $3 ;;
+ esac
+ else :
+ # compilation failed
+ $3
+ fi
+fi
+rm -fr conftest*
+])# _LT_TRY_DLOPEN_SELF
+
+
+# LT_SYS_DLOPEN_SELF
+# ------------------
+AC_DEFUN([LT_SYS_DLOPEN_SELF],
+[m4_require([_LT_HEADER_DLFCN])dnl
+if test "x$enable_dlopen" != xyes; then
+ enable_dlopen=unknown
+ enable_dlopen_self=unknown
+ enable_dlopen_self_static=unknown
+else
+ lt_cv_dlopen=no
+ lt_cv_dlopen_libs=
+
+ case $host_os in
+ beos*)
+ lt_cv_dlopen="load_add_on"
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+ ;;
+
+ mingw* | pw32* | cegcc*)
+ lt_cv_dlopen="LoadLibrary"
+ lt_cv_dlopen_libs=
+ ;;
+
+ cygwin*)
+ lt_cv_dlopen="dlopen"
+ lt_cv_dlopen_libs=
+ ;;
+
+ darwin*)
+ # if libdl is installed we need to link against it
+ AC_CHECK_LIB([dl], [dlopen],
+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
+ lt_cv_dlopen="dyld"
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+ ])
+ ;;
+
+ *)
+ AC_CHECK_FUNC([shl_load],
+ [lt_cv_dlopen="shl_load"],
+ [AC_CHECK_LIB([dld], [shl_load],
+ [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
+ [AC_CHECK_FUNC([dlopen],
+ [lt_cv_dlopen="dlopen"],
+ [AC_CHECK_LIB([dl], [dlopen],
+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
+ [AC_CHECK_LIB([svld], [dlopen],
+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
+ [AC_CHECK_LIB([dld], [dld_link],
+ [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
+ ])
+ ])
+ ])
+ ])
+ ])
+ ;;
+ esac
+
+ if test "x$lt_cv_dlopen" != xno; then
+ enable_dlopen=yes
+ else
+ enable_dlopen=no
+ fi
+
+ case $lt_cv_dlopen in
+ dlopen)
+ save_CPPFLAGS="$CPPFLAGS"
+ test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
+
+ save_LDFLAGS="$LDFLAGS"
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
+
+ save_LIBS="$LIBS"
+ LIBS="$lt_cv_dlopen_libs $LIBS"
+
+ AC_CACHE_CHECK([whether a program can dlopen itself],
+ lt_cv_dlopen_self, [dnl
+ _LT_TRY_DLOPEN_SELF(
+ lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
+ lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
+ ])
+
+ if test "x$lt_cv_dlopen_self" = xyes; then
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
+ AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
+ lt_cv_dlopen_self_static, [dnl
+ _LT_TRY_DLOPEN_SELF(
+ lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
+ lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
+ ])
+ fi
+
+ CPPFLAGS="$save_CPPFLAGS"
+ LDFLAGS="$save_LDFLAGS"
+ LIBS="$save_LIBS"
+ ;;
+ esac
+
+ case $lt_cv_dlopen_self in
+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
+ *) enable_dlopen_self=unknown ;;
+ esac
+
+ case $lt_cv_dlopen_self_static in
+ yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
+ *) enable_dlopen_self_static=unknown ;;
+ esac
+fi
+_LT_DECL([dlopen_support], [enable_dlopen], [0],
+ [Whether dlopen is supported])
+_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
+ [Whether dlopen of programs is supported])
+_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
+ [Whether dlopen of statically linked programs is supported])
+])# LT_SYS_DLOPEN_SELF
+
+# Old name:
+AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
+
+
+# _LT_COMPILER_C_O([TAGNAME])
+# ---------------------------
+# Check to see if options -c and -o are simultaneously supported by compiler.
+# This macro does not hard code the compiler like AC_PROG_CC_C_O.
+m4_defun([_LT_COMPILER_C_O],
+[m4_require([_LT_DECL_SED])dnl
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_TAG_COMPILER])dnl
+AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
+ [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
+ [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
+ $RM -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&AS_MESSAGE_LOG_FD
+ echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
+ _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
+ fi
+ fi
+ chmod u+w . 2>&AS_MESSAGE_LOG_FD
+ $RM conftest*
+ # SGI C++ compiler will create directory out/ii_files/ for
+ # template instantiation
+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
+ $RM out/* && rmdir out
+ cd ..
+ $RM -r conftest
+ $RM conftest*
+])
+_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
+ [Does compiler simultaneously support -c and -o options?])
+])# _LT_COMPILER_C_O
+
+
+# _LT_COMPILER_FILE_LOCKS([TAGNAME])
+# ----------------------------------
+# Check to see if we can do hard links to lock some files if needed
+m4_defun([_LT_COMPILER_FILE_LOCKS],
+[m4_require([_LT_ENABLE_LOCK])dnl
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+_LT_COMPILER_C_O([$1])
+
+hard_links="nottested"
+if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
+ # do not overwrite the value of need_locks provided by the user
+ AC_MSG_CHECKING([if we can lock with hard links])
+ hard_links=yes
+ $RM conftest*
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ touch conftest.a
+ ln conftest.a conftest.b 2>&5 || hard_links=no
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ AC_MSG_RESULT([$hard_links])
+ if test "$hard_links" = no; then
+ AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
+ need_locks=warn
+ fi
+else
+ need_locks=no
+fi
+_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
+])# _LT_COMPILER_FILE_LOCKS
+
+
+# _LT_CHECK_OBJDIR
+# ----------------
+m4_defun([_LT_CHECK_OBJDIR],
+[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
+[rm -f .libs 2>/dev/null
+mkdir .libs 2>/dev/null
+if test -d .libs; then
+ lt_cv_objdir=.libs
+else
+ # MS-DOS does not allow filenames that begin with a dot.
+ lt_cv_objdir=_libs
+fi
+rmdir .libs 2>/dev/null])
+objdir=$lt_cv_objdir
+_LT_DECL([], [objdir], [0],
+ [The name of the directory that contains temporary libtool files])dnl
+m4_pattern_allow([LT_OBJDIR])dnl
+AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
+ [Define to the sub-directory in which libtool stores uninstalled libraries.])
+])# _LT_CHECK_OBJDIR
+
+
+# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
+# --------------------------------------
+# Check hardcoding attributes.
+m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
+[AC_MSG_CHECKING([how to hardcode library paths into programs])
+_LT_TAGVAR(hardcode_action, $1)=
+if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
+ test -n "$_LT_TAGVAR(runpath_var, $1)" ||
+ test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
+
+ # We can hardcode non-existent directories.
+ if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
+ # If the only mechanism to avoid hardcoding is shlibpath_var, we
+ # have to relink, otherwise we might link with an installed library
+ # when we should be linking with a yet-to-be-installed one
+ ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
+ test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
+ # Linking always hardcodes the temporary library directory.
+ _LT_TAGVAR(hardcode_action, $1)=relink
+ else
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
+ _LT_TAGVAR(hardcode_action, $1)=immediate
+ fi
+else
+ # We cannot hardcode anything, or else we can only hardcode existing
+ # directories.
+ _LT_TAGVAR(hardcode_action, $1)=unsupported
+fi
+AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
+
+if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
+ test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
+ # Fast installation is not supported
+ enable_fast_install=no
+elif test "$shlibpath_overrides_runpath" = yes ||
+ test "$enable_shared" = no; then
+ # Fast installation is not necessary
+ enable_fast_install=needless
+fi
+_LT_TAGDECL([], [hardcode_action], [0],
+ [How to hardcode a shared library path into an executable])
+])# _LT_LINKER_HARDCODE_LIBPATH
+
+
+# _LT_CMD_STRIPLIB
+# ----------------
+m4_defun([_LT_CMD_STRIPLIB],
+[m4_require([_LT_DECL_EGREP])
+striplib=
+old_striplib=
+AC_MSG_CHECKING([whether stripping libraries is possible])
+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
+ test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
+ test -z "$striplib" && striplib="$STRIP --strip-unneeded"
+ AC_MSG_RESULT([yes])
+else
+# FIXME - insert some real tests, host_os isn't really good enough
+ case $host_os in
+ darwin*)
+ if test -n "$STRIP" ; then
+ striplib="$STRIP -x"
+ old_striplib="$STRIP -S"
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ fi
+ ;;
+ *)
+ AC_MSG_RESULT([no])
+ ;;
+ esac
+fi
+_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
+_LT_DECL([], [striplib], [1])
+])# _LT_CMD_STRIPLIB
+
+
+# _LT_SYS_DYNAMIC_LINKER([TAG])
+# -----------------------------
+# PORTME Fill in your ld.so characteristics
+m4_defun([_LT_SYS_DYNAMIC_LINKER],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+m4_require([_LT_DECL_EGREP])dnl
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_DECL_OBJDUMP])dnl
+m4_require([_LT_DECL_SED])dnl
+m4_require([_LT_CHECK_SHELL_FEATURES])dnl
+AC_MSG_CHECKING([dynamic linker characteristics])
+m4_if([$1],
+ [], [
+if test "$GCC" = yes; then
+ case $host_os in
+ darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
+ *) lt_awk_arg="/^libraries:/" ;;
+ esac
+ case $host_os in
+ mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;;
+ *) lt_sed_strip_eq="s,=/,/,g" ;;
+ esac
+ lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
+ case $lt_search_path_spec in
+ *\;*)
+ # if the path contains ";" then we assume it to be the separator
+ # otherwise default to the standard path separator (i.e. ":") - it is
+ # assumed that no part of a normal pathname contains ";" but that should
+ # okay in the real world where ";" in dirpaths is itself problematic.
+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
+ ;;
+ *)
+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
+ ;;
+ esac
+ # Ok, now we have the path, separated by spaces, we can step through it
+ # and add multilib dir if necessary.
+ lt_tmp_lt_search_path_spec=
+ lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
+ for lt_sys_path in $lt_search_path_spec; do
+ if test -d "$lt_sys_path/$lt_multi_os_dir"; then
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
+ else
+ test -d "$lt_sys_path" && \
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
+ fi
+ done
+ lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
+BEGIN {RS=" "; FS="/|\n";} {
+ lt_foo="";
+ lt_count=0;
+ for (lt_i = NF; lt_i > 0; lt_i--) {
+ if ($lt_i != "" && $lt_i != ".") {
+ if ($lt_i == "..") {
+ lt_count++;
+ } else {
+ if (lt_count == 0) {
+ lt_foo="/" $lt_i lt_foo;
+ } else {
+ lt_count--;
+ }
+ }
+ }
+ }
+ if (lt_foo != "") { lt_freq[[lt_foo]]++; }
+ if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
+}'`
+ # AWK program above erroneously prepends '/' to C:/dos/paths
+ # for these hosts.
+ case $host_os in
+ mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
+ $SED 's,/\([[A-Za-z]]:\),\1,g'` ;;
+ esac
+ sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
+else
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+fi])
+library_names_spec=
+libname_spec='lib$name'
+soname_spec=
+shrext_cmds=".so"
+postinstall_cmds=
+postuninstall_cmds=
+finish_cmds=
+finish_eval=
+shlibpath_var=
+shlibpath_overrides_runpath=unknown
+version_type=none
+dynamic_linker="$host_os ld.so"
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
+need_lib_prefix=unknown
+hardcode_into_libs=no
+
+# when you set need_version to no, make sure it does not cause -set_version
+# flags to be left without arguments
+need_version=unknown
+
+case $host_os in
+aix3*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
+ shlibpath_var=LIBPATH
+
+ # AIX 3 has no versioning support, so we append a major version to the name.
+ soname_spec='${libname}${release}${shared_ext}$major'
+ ;;
+
+aix[[4-9]]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ hardcode_into_libs=yes
+ if test "$host_cpu" = ia64; then
+ # AIX 5 supports IA64
+ library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ else
+ # With GCC up to 2.95.x, collect2 would create an import file
+ # for dependence libraries. The import file would start with
+ # the line `#! .'. This would cause the generated library to
+ # depend on `.', always an invalid library. This was fixed in
+ # development snapshots of GCC prior to 3.0.
+ case $host_os in
+ aix4 | aix4.[[01]] | aix4.[[01]].*)
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
+ echo ' yes '
+ echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
+ :
+ else
+ can_build_shared=no
+ fi
+ ;;
+ esac
+ # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
+ # soname into executable. Probably we can add versioning support to
+ # collect2, so additional links can be useful in future.
+ if test "$aix_use_runtimelinking" = yes; then
+ # If using run time linking (on AIX 4.2 or later) use lib<name>.so
+ # instead of lib<name>.a to let people know that these are not
+ # typical AIX shared libraries.
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ else
+ # We preserve .a as extension for shared libraries through AIX4.2
+ # and later when we are not doing run time linking.
+ library_names_spec='${libname}${release}.a $libname.a'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ fi
+ shlibpath_var=LIBPATH
+ fi
+ ;;
+
+amigaos*)
+ case $host_cpu in
+ powerpc)
+ # Since July 2007 AmigaOS4 officially supports .so libraries.
+ # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ ;;
+ m68k)
+ library_names_spec='$libname.ixlibrary $libname.a'
+ # Create ${libname}_ixlibrary.a entries in /sys/libs.
+ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
+ ;;
+ esac
+ ;;
+
+beos*)
+ library_names_spec='${libname}${shared_ext}'
+ dynamic_linker="$host_os ld.so"
+ shlibpath_var=LIBRARY_PATH
+ ;;
+
+bsdi[[45]]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
+ # the default ld.so.conf also contains /usr/contrib/lib and
+ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
+ # libtool to hard-code these into programs
+ ;;
+
+cygwin* | mingw* | pw32* | cegcc*)
+ version_type=windows
+ shrext_cmds=".dll"
+ need_version=no
+ need_lib_prefix=no
+
+ case $GCC,$cc_basename in
+ yes,*)
+ # gcc
+ library_names_spec='$libname.dll.a'
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \${file}`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname~
+ chmod a+x \$dldir/$dlname~
+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+ fi'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ shlibpath_overrides_runpath=yes
+
+ case $host_os in
+ cygwin*)
+ # Cygwin DLLs use 'cyg' prefix rather than 'lib'
+ soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
+m4_if([$1], [],[
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
+ ;;
+ mingw* | cegcc*)
+ # MinGW DLLs use traditional 'lib' prefix
+ soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
+ ;;
+ pw32*)
+ # pw32 DLLs use 'pw' prefix rather than 'lib'
+ library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
+ ;;
+ esac
+ dynamic_linker='Win32 ld.exe'
+ ;;
+
+ *,cl*)
+ # Native MSVC
+ libname_spec='$name'
+ soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
+ library_names_spec='${libname}.dll.lib'
+
+ case $build_os in
+ mingw*)
+ sys_lib_search_path_spec=
+ lt_save_ifs=$IFS
+ IFS=';'
+ for lt_path in $LIB
+ do
+ IFS=$lt_save_ifs
+ # Let DOS variable expansion print the short 8.3 style file name.
+ lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
+ sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
+ done
+ IFS=$lt_save_ifs
+ # Convert to MSYS style.
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`
+ ;;
+ cygwin*)
+ # Convert to unix form, then to dos form, then back to unix form
+ # but this time dos style (no spaces!) so that the unix form looks
+ # like /cygdrive/c/PROGRA~1:/cygdr...
+ sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
+ sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
+ sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ ;;
+ *)
+ sys_lib_search_path_spec="$LIB"
+ if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
+ # It is most probably a Windows format PATH.
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
+ else
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ fi
+ # FIXME: find the short name or the path components, as spaces are
+ # common. (e.g. "Program Files" -> "PROGRA~1")
+ ;;
+ esac
+
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \${file}`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ shlibpath_overrides_runpath=yes
+ dynamic_linker='Win32 link.exe'
+ ;;
+
+ *)
+ # Assume MSVC wrapper
+ library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
+ dynamic_linker='Win32 ld.exe'
+ ;;
+ esac
+ # FIXME: first we should search . and the directory the executable is in
+ shlibpath_var=PATH
+ ;;
+
+darwin* | rhapsody*)
+ dynamic_linker="$host_os dyld"
+ version_type=darwin
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
+ soname_spec='${libname}${release}${major}$shared_ext'
+ shlibpath_overrides_runpath=yes
+ shlibpath_var=DYLD_LIBRARY_PATH
+ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
+m4_if([$1], [],[
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
+ ;;
+
+dgux*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+freebsd* | dragonfly*)
+ # DragonFly does not have aout. When/if they implement a new
+ # versioning mechanism, adjust this.
+ if test -x /usr/bin/objformat; then
+ objformat=`/usr/bin/objformat`
+ else
+ case $host_os in
+ freebsd[[23]].*) objformat=aout ;;
+ *) objformat=elf ;;
+ esac
+ fi
+ version_type=freebsd-$objformat
+ case $version_type in
+ freebsd-elf*)
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
+ need_version=no
+ need_lib_prefix=no
+ ;;
+ freebsd-*)
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
+ need_version=yes
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_os in
+ freebsd2.*)
+ shlibpath_overrides_runpath=yes
+ ;;
+ freebsd3.[[01]]* | freebsdelf3.[[01]]*)
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
+ freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+ *) # from 4.6 on, and DragonFly
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ esac
+ ;;
+
+gnu*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+
+haiku*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ dynamic_linker="$host_os runtime_loader"
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
+ hardcode_into_libs=yes
+ ;;
+
+hpux9* | hpux10* | hpux11*)
+ # Give a soname corresponding to the major version so that dld.sl refuses to
+ # link against other versions.
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ case $host_cpu in
+ ia64*)
+ shrext_cmds='.so'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.so"
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ if test "X$HPUX_IA64_MODE" = X32; then
+ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
+ else
+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
+ fi
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ hppa*64*)
+ shrext_cmds='.sl'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ *)
+ shrext_cmds='.sl'
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=SHLIB_PATH
+ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ ;;
+ esac
+ # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
+ postinstall_cmds='chmod 555 $lib'
+ # or fails outright, so override atomically:
+ install_override_mode=555
+ ;;
+
+interix[[3-9]]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $host_os in
+ nonstopux*) version_type=nonstopux ;;
+ *)
+ if test "$lt_cv_prog_gnu_ld" = yes; then
+ version_type=linux # correct to gnu/linux during the next big refactor
+ else
+ version_type=irix
+ fi ;;
+ esac
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='${libname}${release}${shared_ext}$major'
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
+ case $host_os in
+ irix5* | nonstopux*)
+ libsuff= shlibsuff=
+ ;;
+ *)
+ case $LD in # libtool.m4 will add one of these switches to LD
+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
+ libsuff= shlibsuff= libmagic=32-bit;;
+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
+ libsuff=32 shlibsuff=N32 libmagic=N32;;
+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
+ libsuff=64 shlibsuff=64 libmagic=64-bit;;
+ *) libsuff= shlibsuff= libmagic=never-match;;
+ esac
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
+ sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
+ hardcode_into_libs=yes
+ ;;
+
+# No shared lib support for Linux oldld, aout, or coff.
+linux*oldld* | linux*aout* | linux*coff*)
+ dynamic_linker=no
+ ;;
+
+# This must be glibc/ELF.
+linux* | k*bsd*-gnu | kopensolaris*-gnu)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+
+ # Some binutils ld are patched to set DT_RUNPATH
+ AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath],
+ [lt_cv_shlibpath_overrides_runpath=no
+ save_LDFLAGS=$LDFLAGS
+ save_libdir=$libdir
+ eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
+ LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
+ [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
+ [lt_cv_shlibpath_overrides_runpath=yes])])
+ LDFLAGS=$save_LDFLAGS
+ libdir=$save_libdir
+ ])
+ shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
+
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ # Add ABI-specific directories to the system library path.
+ sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
+
+ # Append ld.so.conf contents to the search path
+ if test -f /etc/ld.so.conf; then
+ lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
+ sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
+
+ fi
+
+ # We used to test for /lib/ld.so.1 and disable shared libraries on
+ # powerpc, because MkLinux only supported shared libraries with the
+ # GNU dynamic linker. Since this was broken with cross compilers,
+ # most powerpc-linux boxes support dynamic linking these days and
+ # people can always --disable-shared, the test was removed, and we
+ # assume the GNU/Linux dynamic linker is in use.
+ dynamic_linker='GNU/Linux ld.so'
+ ;;
+
+netbsd*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ dynamic_linker='NetBSD (a.out) ld.so'
+ else
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ dynamic_linker='NetBSD ld.elf_so'
+ fi
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+
+newsos6)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+*nto* | *qnx*)
+ version_type=qnx
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ dynamic_linker='ldqnx.so'
+ ;;
+
+openbsd*)
+ version_type=sunos
+ sys_lib_dlsearch_path_spec="/usr/lib"
+ need_lib_prefix=no
+ # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
+ case $host_os in
+ openbsd3.3 | openbsd3.3.*) need_version=yes ;;
+ *) need_version=no ;;
+ esac
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ case $host_os in
+ openbsd2.[[89]] | openbsd2.[[89]].*)
+ shlibpath_overrides_runpath=no
+ ;;
+ *)
+ shlibpath_overrides_runpath=yes
+ ;;
+ esac
+ else
+ shlibpath_overrides_runpath=yes
+ fi
+ ;;
+
+os2*)
+ libname_spec='$name'
+ shrext_cmds=".dll"
+ need_lib_prefix=no
+ library_names_spec='$libname${shared_ext} $libname.a'
+ dynamic_linker='OS/2 ld.exe'
+ shlibpath_var=LIBPATH
+ ;;
+
+osf3* | osf4* | osf5*)
+ version_type=osf
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='${libname}${release}${shared_ext}$major'
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
+ sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
+ ;;
+
+rdos*)
+ dynamic_linker=no
+ ;;
+
+solaris*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ # ldd complains unless libraries are executable
+ postinstall_cmds='chmod +x $lib'
+ ;;
+
+sunos4*)
+ version_type=sunos
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
+ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ if test "$with_gnu_ld" = yes; then
+ need_lib_prefix=no
+ fi
+ need_version=yes
+ ;;
+
+sysv4 | sysv4.3*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_vendor in
+ sni)
+ shlibpath_overrides_runpath=no
+ need_lib_prefix=no
+ runpath_var=LD_RUN_PATH
+ ;;
+ siemens)
+ need_lib_prefix=no
+ ;;
+ motorola)
+ need_lib_prefix=no
+ need_version=no
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
+ ;;
+ esac
+ ;;
+
+sysv4*MP*)
+ if test -d /usr/nec ;then
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
+ soname_spec='$libname${shared_ext}.$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ fi
+ ;;
+
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
+ version_type=freebsd-elf
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ if test "$with_gnu_ld" = yes; then
+ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
+ else
+ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
+ case $host_os in
+ sco3.2v5*)
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
+ ;;
+ esac
+ fi
+ sys_lib_dlsearch_path_spec='/usr/lib'
+ ;;
+
+tpf*)
+ # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+
+uts4*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+*)
+ dynamic_linker=no
+ ;;
+esac
+AC_MSG_RESULT([$dynamic_linker])
+test "$dynamic_linker" = no && can_build_shared=no
+
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
+if test "$GCC" = yes; then
+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
+fi
+
+if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
+ sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
+fi
+if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
+ sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
+fi
+
+_LT_DECL([], [variables_saved_for_relink], [1],
+ [Variables whose values should be saved in libtool wrapper scripts and
+ restored at link time])
+_LT_DECL([], [need_lib_prefix], [0],
+ [Do we need the "lib" prefix for modules?])
+_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
+_LT_DECL([], [version_type], [0], [Library versioning type])
+_LT_DECL([], [runpath_var], [0], [Shared library runtime path variable])
+_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
+_LT_DECL([], [shlibpath_overrides_runpath], [0],
+ [Is shlibpath searched before the hard-coded library search path?])
+_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
+_LT_DECL([], [library_names_spec], [1],
+ [[List of archive names. First name is the real one, the rest are links.
+ The last name is the one that the linker finds with -lNAME]])
+_LT_DECL([], [soname_spec], [1],
+ [[The coded name of the library, if different from the real name]])
+_LT_DECL([], [install_override_mode], [1],
+ [Permission mode override for installation of shared libraries])
+_LT_DECL([], [postinstall_cmds], [2],
+ [Command to use after installation of a shared archive])
+_LT_DECL([], [postuninstall_cmds], [2],
+ [Command to use after uninstallation of a shared archive])
+_LT_DECL([], [finish_cmds], [2],
+ [Commands used to finish a libtool library installation in a directory])
+_LT_DECL([], [finish_eval], [1],
+ [[As "finish_cmds", except a single script fragment to be evaled but
+ not shown]])
+_LT_DECL([], [hardcode_into_libs], [0],
+ [Whether we should hardcode library paths into libraries])
+_LT_DECL([], [sys_lib_search_path_spec], [2],
+ [Compile-time system search path for libraries])
+_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
+ [Run-time system search path for libraries])
+])# _LT_SYS_DYNAMIC_LINKER
+
+
+# _LT_PATH_TOOL_PREFIX(TOOL)
+# --------------------------
+# find a file program which can recognize shared library
+AC_DEFUN([_LT_PATH_TOOL_PREFIX],
+[m4_require([_LT_DECL_EGREP])dnl
+AC_MSG_CHECKING([for $1])
+AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
+[case $MAGIC_CMD in
+[[\\/*] | ?:[\\/]*])
+ lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
+ ;;
+*)
+ lt_save_MAGIC_CMD="$MAGIC_CMD"
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+dnl $ac_dummy forces splitting on constant user-supplied paths.
+dnl POSIX.2 word splitting is done only on the output of word expansions,
+dnl not every word. This closes a longstanding sh security hole.
+ ac_dummy="m4_if([$2], , $PATH, [$2])"
+ for ac_dir in $ac_dummy; do
+ IFS="$lt_save_ifs"
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$1; then
+ lt_cv_path_MAGIC_CMD="$ac_dir/$1"
+ if test -n "$file_magic_test_file"; then
+ case $deplibs_check_method in
+ "file_magic "*)
+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
+ MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+ $EGREP "$file_magic_regex" > /dev/null; then
+ :
+ else
+ cat <<_LT_EOF 1>&2
+
+*** Warning: the command libtool uses to detect shared libraries,
+*** $file_magic_cmd, produces output that libtool cannot recognize.
+*** The result is that libtool may fail to recognize shared libraries
+*** as such. This will affect the creation of libtool libraries that
+*** depend on shared libraries, but programs linked with such libtool
+*** libraries will work regardless of this problem. Nevertheless, you
+*** may want to report the problem to your system manager and/or to
+*** bug-libtool@gnu.org
+
+_LT_EOF
+ fi ;;
+ esac
+ fi
+ break
+ fi
+ done
+ IFS="$lt_save_ifs"
+ MAGIC_CMD="$lt_save_MAGIC_CMD"
+ ;;
+esac])
+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+if test -n "$MAGIC_CMD"; then
+ AC_MSG_RESULT($MAGIC_CMD)
+else
+ AC_MSG_RESULT(no)
+fi
+_LT_DECL([], [MAGIC_CMD], [0],
+ [Used to examine libraries when file_magic_cmd begins with "file"])dnl
+])# _LT_PATH_TOOL_PREFIX
+
+# Old name:
+AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
+
+
+# _LT_PATH_MAGIC
+# --------------
+# find a file program which can recognize a shared library
+m4_defun([_LT_PATH_MAGIC],
+[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
+if test -z "$lt_cv_path_MAGIC_CMD"; then
+ if test -n "$ac_tool_prefix"; then
+ _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
+ else
+ MAGIC_CMD=:
+ fi
+fi
+])# _LT_PATH_MAGIC
+
+
+# LT_PATH_LD
+# ----------
+# find the pathname to the GNU or non-GNU linker
+AC_DEFUN([LT_PATH_LD],
+[AC_REQUIRE([AC_PROG_CC])dnl
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+m4_require([_LT_DECL_SED])dnl
+m4_require([_LT_DECL_EGREP])dnl
+m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
+
+AC_ARG_WITH([gnu-ld],
+ [AS_HELP_STRING([--with-gnu-ld],
+ [assume the C compiler uses GNU ld @<:@default=no@:>@])],
+ [test "$withval" = no || with_gnu_ld=yes],
+ [with_gnu_ld=no])dnl
+
+ac_prog=ld
+if test "$GCC" = yes; then
+ # Check if gcc -print-prog-name=ld gives a path.
+ AC_MSG_CHECKING([for ld used by $CC])
+ case $host in
+ *-*-mingw*)
+ # gcc leaves a trailing carriage return which upsets mingw
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+ *)
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+ esac
+ case $ac_prog in
+ # Accept absolute paths.
+ [[\\/]]* | ?:[[\\/]]*)
+ re_direlt='/[[^/]][[^/]]*/\.\./'
+ # Canonicalize the pathname of ld
+ ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
+ while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
+ ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
+ done
+ test -z "$LD" && LD="$ac_prog"
+ ;;
+ "")
+ # If it fails, then pretend we aren't using GCC.
+ ac_prog=ld
+ ;;
+ *)
+ # If it is relative, then search for the first ld in PATH.
+ with_gnu_ld=unknown
+ ;;
+ esac
+elif test "$with_gnu_ld" = yes; then
+ AC_MSG_CHECKING([for GNU ld])
+else
+ AC_MSG_CHECKING([for non-GNU ld])
+fi
+AC_CACHE_VAL(lt_cv_path_LD,
+[if test -z "$LD"; then
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH; do
+ IFS="$lt_save_ifs"
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+ lt_cv_path_LD="$ac_dir/$ac_prog"
+ # Check to see if the program is GNU ld. I'd rather use --version,
+ # but apparently some variants of GNU ld only accept -v.
+ # Break only if it was the GNU/non-GNU ld that we prefer.
+ case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
+ *GNU* | *'with BFD'*)
+ test "$with_gnu_ld" != no && break
+ ;;
+ *)
+ test "$with_gnu_ld" != yes && break
+ ;;
+ esac
+ fi
+ done
+ IFS="$lt_save_ifs"
+else
+ lt_cv_path_LD="$LD" # Let the user override the test with a path.
+fi])
+LD="$lt_cv_path_LD"
+if test -n "$LD"; then
+ AC_MSG_RESULT($LD)
+else
+ AC_MSG_RESULT(no)
+fi
+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
+_LT_PATH_LD_GNU
+AC_SUBST([LD])
+
+_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
+])# LT_PATH_LD
+
+# Old names:
+AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
+AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AM_PROG_LD], [])
+dnl AC_DEFUN([AC_PROG_LD], [])
+
+
+# _LT_PATH_LD_GNU
+#- --------------
+m4_defun([_LT_PATH_LD_GNU],
+[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
+[# I'd rather use --version here, but apparently some GNU lds only accept -v.
+case `$LD -v 2>&1 </dev/null` in
+*GNU* | *'with BFD'*)
+ lt_cv_prog_gnu_ld=yes
+ ;;
+*)
+ lt_cv_prog_gnu_ld=no
+ ;;
+esac])
+with_gnu_ld=$lt_cv_prog_gnu_ld
+])# _LT_PATH_LD_GNU
+
+
+# _LT_CMD_RELOAD
+# --------------
+# find reload flag for linker
+# -- PORTME Some linkers may need a different reload flag.
+m4_defun([_LT_CMD_RELOAD],
+[AC_CACHE_CHECK([for $LD option to reload object files],
+ lt_cv_ld_reload_flag,
+ [lt_cv_ld_reload_flag='-r'])
+reload_flag=$lt_cv_ld_reload_flag
+case $reload_flag in
+"" | " "*) ;;
+*) reload_flag=" $reload_flag" ;;
+esac
+reload_cmds='$LD$reload_flag -o $output$reload_objs'
+case $host_os in
+ cygwin* | mingw* | pw32* | cegcc*)
+ if test "$GCC" != yes; then
+ reload_cmds=false
+ fi
+ ;;
+ darwin*)
+ if test "$GCC" = yes; then
+ reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
+ else
+ reload_cmds='$LD$reload_flag -o $output$reload_objs'
+ fi
+ ;;
+esac
+_LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl
+_LT_TAGDECL([], [reload_cmds], [2])dnl
+])# _LT_CMD_RELOAD
+
+
+# _LT_CHECK_MAGIC_METHOD
+# ----------------------
+# how to check for library dependencies
+# -- PORTME fill in with the dynamic library characteristics
+m4_defun([_LT_CHECK_MAGIC_METHOD],
+[m4_require([_LT_DECL_EGREP])
+m4_require([_LT_DECL_OBJDUMP])
+AC_CACHE_CHECK([how to recognize dependent libraries],
+lt_cv_deplibs_check_method,
+[lt_cv_file_magic_cmd='$MAGIC_CMD'
+lt_cv_file_magic_test_file=
+lt_cv_deplibs_check_method='unknown'
+# Need to set the preceding variable on all platforms that support
+# interlibrary dependencies.
+# 'none' -- dependencies not supported.
+# `unknown' -- same as none, but documents that we really don't know.
+# 'pass_all' -- all dependencies passed with no checks.
+# 'test_compile' -- check by making test program.
+# 'file_magic [[regex]]' -- check by looking for files in library path
+# which responds to the $file_magic_cmd with a given extended regex.
+# If you have `file' or equivalent on your system and you're not sure
+# whether `pass_all' will *always* work, you probably want this one.
+
+case $host_os in
+aix[[4-9]]*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+beos*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+bsdi[[45]]*)
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
+ lt_cv_file_magic_cmd='/usr/bin/file -L'
+ lt_cv_file_magic_test_file=/shlib/libc.so
+ ;;
+
+cygwin*)
+ # func_win32_libid is a shell function defined in ltmain.sh
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
+ lt_cv_file_magic_cmd='func_win32_libid'
+ ;;
+
+mingw* | pw32*)
+ # Base MSYS/MinGW do not provide the 'file' command needed by
+ # func_win32_libid shell function, so use a weaker test based on 'objdump',
+ # unless we find 'file', for example because we are cross-compiling.
+ # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
+ if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
+ lt_cv_file_magic_cmd='func_win32_libid'
+ else
+ # Keep this pattern in sync with the one in func_win32_libid.
+ lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
+ lt_cv_file_magic_cmd='$OBJDUMP -f'
+ fi
+ ;;
+
+cegcc*)
+ # use the weaker test based on 'objdump'. See mingw*.
+ lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
+ lt_cv_file_magic_cmd='$OBJDUMP -f'
+ ;;
+
+darwin* | rhapsody*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+freebsd* | dragonfly*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
+ case $host_cpu in
+ i*86 )
+ # Not sure whether the presence of OpenBSD here was a mistake.
+ # Let's accept both of them until this is cleared up.
+ lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+ ;;
+ esac
+ else
+ lt_cv_deplibs_check_method=pass_all
+ fi
+ ;;
+
+gnu*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+haiku*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+hpux10.20* | hpux11*)
+ lt_cv_file_magic_cmd=/usr/bin/file
+ case $host_cpu in
+ ia64*)
+ lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
+ lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
+ ;;
+ hppa*64*)
+ [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]']
+ lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
+ ;;
+ *)
+ lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library'
+ lt_cv_file_magic_test_file=/usr/lib/libc.sl
+ ;;
+ esac
+ ;;
+
+interix[[3-9]]*)
+ # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $LD in
+ *-32|*"-32 ") libmagic=32-bit;;
+ *-n32|*"-n32 ") libmagic=N32;;
+ *-64|*"-64 ") libmagic=64-bit;;
+ *) libmagic=never-match;;
+ esac
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+# This must be glibc/ELF.
+linux* | k*bsd*-gnu | kopensolaris*-gnu)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
+ else
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
+ fi
+ ;;
+
+newos6*)
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=/usr/lib/libnls.so
+ ;;
+
+*nto* | *qnx*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+openbsd*)
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
+ else
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
+ fi
+ ;;
+
+osf3* | osf4* | osf5*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+rdos*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+solaris*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+sysv4 | sysv4.3*)
+ case $host_vendor in
+ motorola)
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+ ;;
+ ncr)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ sequent)
+ lt_cv_file_magic_cmd='/bin/file'
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
+ ;;
+ sni)
+ lt_cv_file_magic_cmd='/bin/file'
+ lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
+ lt_cv_file_magic_test_file=/lib/libc.so
+ ;;
+ siemens)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ pc)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ esac
+ ;;
+
+tpf*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+esac
+])
+
+file_magic_glob=
+want_nocaseglob=no
+if test "$build" = "$host"; then
+ case $host_os in
+ mingw* | pw32*)
+ if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
+ want_nocaseglob=yes
+ else
+ file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"`
+ fi
+ ;;
+ esac
+fi
+
+file_magic_cmd=$lt_cv_file_magic_cmd
+deplibs_check_method=$lt_cv_deplibs_check_method
+test -z "$deplibs_check_method" && deplibs_check_method=unknown
+
+_LT_DECL([], [deplibs_check_method], [1],
+ [Method to check whether dependent libraries are shared objects])
+_LT_DECL([], [file_magic_cmd], [1],
+ [Command to use when deplibs_check_method = "file_magic"])
+_LT_DECL([], [file_magic_glob], [1],
+ [How to find potential files when deplibs_check_method = "file_magic"])
+_LT_DECL([], [want_nocaseglob], [1],
+ [Find potential files using nocaseglob when deplibs_check_method = "file_magic"])
+])# _LT_CHECK_MAGIC_METHOD
+
+
+# LT_PATH_NM
+# ----------
+# find the pathname to a BSD- or MS-compatible name lister
+AC_DEFUN([LT_PATH_NM],
+[AC_REQUIRE([AC_PROG_CC])dnl
+AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
+[if test -n "$NM"; then
+ # Let the user override the test.
+ lt_cv_path_NM="$NM"
+else
+ lt_nm_to_check="${ac_tool_prefix}nm"
+ if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
+ lt_nm_to_check="$lt_nm_to_check nm"
+ fi
+ for lt_tmp_nm in $lt_nm_to_check; do
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
+ IFS="$lt_save_ifs"
+ test -z "$ac_dir" && ac_dir=.
+ tmp_nm="$ac_dir/$lt_tmp_nm"
+ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
+ # Check to see if the nm accepts a BSD-compat flag.
+ # Adding the `sed 1q' prevents false positives on HP-UX, which says:
+ # nm: unknown option "B" ignored
+ # Tru64's nm complains that /dev/null is an invalid object file
+ case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
+ */dev/null* | *'Invalid file or object type'*)
+ lt_cv_path_NM="$tmp_nm -B"
+ break
+ ;;
+ *)
+ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
+ */dev/null*)
+ lt_cv_path_NM="$tmp_nm -p"
+ break
+ ;;
+ *)
+ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
+ continue # so that we can try to find one that supports BSD flags
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ done
+ IFS="$lt_save_ifs"
+ done
+ : ${lt_cv_path_NM=no}
+fi])
+if test "$lt_cv_path_NM" != "no"; then
+ NM="$lt_cv_path_NM"
+else
+ # Didn't find any BSD compatible name lister, look for dumpbin.
+ if test -n "$DUMPBIN"; then :
+ # Let the user override the test.
+ else
+ AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
+ case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
+ *COFF*)
+ DUMPBIN="$DUMPBIN -symbols"
+ ;;
+ *)
+ DUMPBIN=:
+ ;;
+ esac
+ fi
+ AC_SUBST([DUMPBIN])
+ if test "$DUMPBIN" != ":"; then
+ NM="$DUMPBIN"
+ fi
+fi
+test -z "$NM" && NM=nm
+AC_SUBST([NM])
+_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
+
+AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
+ [lt_cv_nm_interface="BSD nm"
+ echo "int some_variable = 0;" > conftest.$ac_ext
+ (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
+ (eval "$ac_compile" 2>conftest.err)
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
+ (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
+ cat conftest.out >&AS_MESSAGE_LOG_FD
+ if $GREP 'External.*some_variable' conftest.out > /dev/null; then
+ lt_cv_nm_interface="MS dumpbin"
+ fi
+ rm -f conftest*])
+])# LT_PATH_NM
+
+# Old names:
+AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])
+AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AM_PROG_NM], [])
+dnl AC_DEFUN([AC_PROG_NM], [])
+
+# _LT_CHECK_SHAREDLIB_FROM_LINKLIB
+# --------------------------------
+# how to determine the name of the shared library
+# associated with a specific link library.
+# -- PORTME fill in with the dynamic library characteristics
+m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB],
+[m4_require([_LT_DECL_EGREP])
+m4_require([_LT_DECL_OBJDUMP])
+m4_require([_LT_DECL_DLLTOOL])
+AC_CACHE_CHECK([how to associate runtime and link libraries],
+lt_cv_sharedlib_from_linklib_cmd,
+[lt_cv_sharedlib_from_linklib_cmd='unknown'
+
+case $host_os in
+cygwin* | mingw* | pw32* | cegcc*)
+ # two different shell functions defined in ltmain.sh
+ # decide which to use based on capabilities of $DLLTOOL
+ case `$DLLTOOL --help 2>&1` in
+ *--identify-strict*)
+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
+ ;;
+ *)
+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
+ ;;
+ esac
+ ;;
+*)
+ # fallback: assume linklib IS sharedlib
+ lt_cv_sharedlib_from_linklib_cmd="$ECHO"
+ ;;
+esac
+])
+sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
+test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
+
+_LT_DECL([], [sharedlib_from_linklib_cmd], [1],
+ [Command to associate shared and link libraries])
+])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB
+
+
+# _LT_PATH_MANIFEST_TOOL
+# ----------------------
+# locate the manifest tool
+m4_defun([_LT_PATH_MANIFEST_TOOL],
+[AC_CHECK_TOOL(MANIFEST_TOOL, mt, :)
+test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
+AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool],
+ [lt_cv_path_mainfest_tool=no
+ echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD
+ $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ if $GREP 'Manifest Tool' conftest.out > /dev/null; then
+ lt_cv_path_mainfest_tool=yes
+ fi
+ rm -f conftest*])
+if test "x$lt_cv_path_mainfest_tool" != xyes; then
+ MANIFEST_TOOL=:
+fi
+_LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl
+])# _LT_PATH_MANIFEST_TOOL
+
+
+# LT_LIB_M
+# --------
+# check for math library
+AC_DEFUN([LT_LIB_M],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+LIBM=
+case $host in
+*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
+ # These system don't have libm, or don't need it
+ ;;
+*-ncr-sysv4.3*)
+ AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
+ AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
+ ;;
+*)
+ AC_CHECK_LIB(m, cos, LIBM="-lm")
+ ;;
+esac
+AC_SUBST([LIBM])
+])# LT_LIB_M
+
+# Old name:
+AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_CHECK_LIBM], [])
+
+
+# _LT_COMPILER_NO_RTTI([TAGNAME])
+# -------------------------------
+m4_defun([_LT_COMPILER_NO_RTTI],
+[m4_require([_LT_TAG_COMPILER])dnl
+
+_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
+
+if test "$GCC" = yes; then
+ case $cc_basename in
+ nvcc*)
+ _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
+ esac
+
+ _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
+ lt_cv_prog_compiler_rtti_exceptions,
+ [-fno-rtti -fno-exceptions], [],
+ [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
+fi
+_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
+ [Compiler flag to turn off builtin functions])
+])# _LT_COMPILER_NO_RTTI
+
+
+# _LT_CMD_GLOBAL_SYMBOLS
+# ----------------------
+m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+AC_REQUIRE([AC_PROG_CC])dnl
+AC_REQUIRE([AC_PROG_AWK])dnl
+AC_REQUIRE([LT_PATH_NM])dnl
+AC_REQUIRE([LT_PATH_LD])dnl
+m4_require([_LT_DECL_SED])dnl
+m4_require([_LT_DECL_EGREP])dnl
+m4_require([_LT_TAG_COMPILER])dnl
+
+# Check for command to grab the raw symbol name followed by C symbol from nm.
+AC_MSG_CHECKING([command to parse $NM output from $compiler object])
+AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
+[
+# These are sane defaults that work on at least a few old systems.
+# [They come from Ultrix. What could be older than Ultrix?!! ;)]
+
+# Character class describing NM global symbol codes.
+symcode='[[BCDEGRST]]'
+
+# Regexp to match symbols that can be accessed directly from C.
+sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
+
+# Define system-specific variables.
+case $host_os in
+aix*)
+ symcode='[[BCDT]]'
+ ;;
+cygwin* | mingw* | pw32* | cegcc*)
+ symcode='[[ABCDGISTW]]'
+ ;;
+hpux*)
+ if test "$host_cpu" = ia64; then
+ symcode='[[ABCDEGRST]]'
+ fi
+ ;;
+irix* | nonstopux*)
+ symcode='[[BCDEGRST]]'
+ ;;
+osf*)
+ symcode='[[BCDEGQRST]]'
+ ;;
+solaris*)
+ symcode='[[BDRT]]'
+ ;;
+sco3.2v5*)
+ symcode='[[DT]]'
+ ;;
+sysv4.2uw2*)
+ symcode='[[DT]]'
+ ;;
+sysv5* | sco5v6* | unixware* | OpenUNIX*)
+ symcode='[[ABDT]]'
+ ;;
+sysv4)
+ symcode='[[DFNSTU]]'
+ ;;
+esac
+
+# If we're using GNU nm, then use its standard symbol codes.
+case `$NM -V 2>&1` in
+*GNU* | *'with BFD'*)
+ symcode='[[ABCDGIRSTW]]' ;;
+esac
+
+# Transform an extracted symbol line into a proper C declaration.
+# Some systems (esp. on ia64) link data and code symbols differently,
+# so use this general approach.
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
+
+# Transform an extracted symbol line into symbol name and symbol address
+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'"
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
+
+# Handle CRLF in mingw tool chain
+opt_cr=
+case $build_os in
+mingw*)
+ opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
+ ;;
+esac
+
+# Try without a prefix underscore, then with it.
+for ac_symprfx in "" "_"; do
+
+ # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
+ symxfrm="\\1 $ac_symprfx\\2 \\2"
+
+ # Write the raw and C identifiers.
+ if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+ # Fake it for dumpbin and say T for any non-static function
+ # and D for any global variable.
+ # Also find C++ and __fastcall symbols from MSVC++,
+ # which start with @ or ?.
+ lt_cv_sys_global_symbol_pipe="$AWK ['"\
+" {last_section=section; section=\$ 3};"\
+" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
+" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
+" \$ 0!~/External *\|/{next};"\
+" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
+" {if(hide[section]) next};"\
+" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
+" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
+" s[1]~/^[@?]/{print s[1], s[1]; next};"\
+" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
+" ' prfx=^$ac_symprfx]"
+ else
+ lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
+ fi
+ lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
+
+ # Check to see that the pipe works correctly.
+ pipe_works=no
+
+ rm -f conftest*
+ cat > conftest.$ac_ext <<_LT_EOF
+#ifdef __cplusplus
+extern "C" {
+#endif
+char nm_test_var;
+void nm_test_func(void);
+void nm_test_func(void){}
+#ifdef __cplusplus
+}
+#endif
+int main(){nm_test_var='a';nm_test_func();return(0);}
+_LT_EOF
+
+ if AC_TRY_EVAL(ac_compile); then
+ # Now try to grab the symbols.
+ nlist=conftest.nm
+ if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then
+ # Try sorting and uniquifying the output.
+ if sort "$nlist" | uniq > "$nlist"T; then
+ mv -f "$nlist"T "$nlist"
+ else
+ rm -f "$nlist"T
+ fi
+
+ # Make sure that we snagged all the symbols we need.
+ if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
+ if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
+ cat <<_LT_EOF > conftest.$ac_ext
+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
+#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
+/* DATA imports from DLLs on WIN32 con't be const, because runtime
+ relocations are performed -- see ld's documentation on pseudo-relocs. */
+# define LT@&t@_DLSYM_CONST
+#elif defined(__osf__)
+/* This system does not cope well with relocations in const data. */
+# define LT@&t@_DLSYM_CONST
+#else
+# define LT@&t@_DLSYM_CONST const
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+_LT_EOF
+ # Now generate the symbol file.
+ eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
+
+ cat <<_LT_EOF >> conftest.$ac_ext
+
+/* The mapping between symbol names and symbols. */
+LT@&t@_DLSYM_CONST struct {
+ const char *name;
+ void *address;
+}
+lt__PROGRAM__LTX_preloaded_symbols[[]] =
+{
+ { "@PROGRAM@", (void *) 0 },
+_LT_EOF
+ $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
+ cat <<\_LT_EOF >> conftest.$ac_ext
+ {0, (void *) 0}
+};
+
+/* This works around a problem in FreeBSD linker */
+#ifdef FREEBSD_WORKAROUND
+static const void *lt_preloaded_setup() {
+ return lt__PROGRAM__LTX_preloaded_symbols;
+}
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+_LT_EOF
+ # Now try linking the two files.
+ mv conftest.$ac_objext conftstm.$ac_objext
+ lt_globsym_save_LIBS=$LIBS
+ lt_globsym_save_CFLAGS=$CFLAGS
+ LIBS="conftstm.$ac_objext"
+ CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
+ if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
+ pipe_works=yes
+ fi
+ LIBS=$lt_globsym_save_LIBS
+ CFLAGS=$lt_globsym_save_CFLAGS
+ else
+ echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
+ fi
+ else
+ echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
+ fi
+ else
+ echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
+ fi
+ else
+ echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
+ cat conftest.$ac_ext >&5
+ fi
+ rm -rf conftest* conftst*
+
+ # Do not use the global_symbol_pipe unless it works.
+ if test "$pipe_works" = yes; then
+ break
+ else
+ lt_cv_sys_global_symbol_pipe=
+ fi
+done
+])
+if test -z "$lt_cv_sys_global_symbol_pipe"; then
+ lt_cv_sys_global_symbol_to_cdecl=
+fi
+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
+ AC_MSG_RESULT(failed)
+else
+ AC_MSG_RESULT(ok)
+fi
+
+# Response file support.
+if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+ nm_file_list_spec='@'
+elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then
+ nm_file_list_spec='@'
+fi
+
+_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
+ [Take the output of nm and produce a listing of raw symbols and C names])
+_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
+ [Transform the output of nm in a proper C declaration])
+_LT_DECL([global_symbol_to_c_name_address],
+ [lt_cv_sys_global_symbol_to_c_name_address], [1],
+ [Transform the output of nm in a C name address pair])
+_LT_DECL([global_symbol_to_c_name_address_lib_prefix],
+ [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
+ [Transform the output of nm in a C name address pair when lib prefix is needed])
+_LT_DECL([], [nm_file_list_spec], [1],
+ [Specify filename containing input files for $NM])
+]) # _LT_CMD_GLOBAL_SYMBOLS
+
+
+# _LT_COMPILER_PIC([TAGNAME])
+# ---------------------------
+m4_defun([_LT_COMPILER_PIC],
+[m4_require([_LT_TAG_COMPILER])dnl
+_LT_TAGVAR(lt_prog_compiler_wl, $1)=
+_LT_TAGVAR(lt_prog_compiler_pic, $1)=
+_LT_TAGVAR(lt_prog_compiler_static, $1)=
+
+m4_if([$1], [CXX], [
+ # C++ specific cases for pic, static, wl, etc.
+ if test "$GXX" = yes; then
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+
+ case $host_os in
+ aix*)
+ # All AIX code is PIC.
+ if test "$host_cpu" = ia64; then
+ # AIX 5 now supports IA64 processor
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ fi
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ m68k)
+ # FIXME: we need at least 68020 code to build shared libraries, but
+ # adding the `-m68020' flag to GCC prevents building anything better,
+ # like `-m68040'.
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
+ ;;
+ esac
+ ;;
+
+ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+ # PIC is the default for these OSes.
+ ;;
+ mingw* | cygwin* | os2* | pw32* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ # Although the cygwin gcc ignores -fPIC, still need this for old-style
+ # (--disable-auto-import) libraries
+ m4_if([$1], [GCJ], [],
+ [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
+ ;;
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
+ ;;
+ *djgpp*)
+ # DJGPP does not support shared libraries at all
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=
+ ;;
+ haiku*)
+ # PIC is the default for Haiku.
+ # The "-static" flag exists, but is broken.
+ _LT_TAGVAR(lt_prog_compiler_static, $1)=
+ ;;
+ interix[[3-9]]*)
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
+ # Instead, we relocate shared libraries at runtime.
+ ;;
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
+ fi
+ ;;
+ hpux*)
+ # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
+ # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
+ # sets the default TLS model and affects inlining.
+ case $host_cpu in
+ hppa*64*)
+ ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ esac
+ ;;
+ *qnx* | *nto*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
+ ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ esac
+ else
+ case $host_os in
+ aix[[4-9]]*)
+ # All AIX code is PIC.
+ if test "$host_cpu" = ia64; then
+ # AIX 5 now supports IA64 processor
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ else
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
+ fi
+ ;;
+ chorus*)
+ case $cc_basename in
+ cxch68*)
+ # Green Hills C++ Compiler
+ # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
+ ;;
+ esac
+ ;;
+ mingw* | cygwin* | os2* | pw32* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ m4_if([$1], [GCJ], [],
+ [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
+ ;;
+ dgux*)
+ case $cc_basename in
+ ec++*)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ ;;
+ ghcx*)
+ # Green Hills C++ Compiler
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ freebsd* | dragonfly*)
+ # FreeBSD uses GNU C++
+ ;;
+ hpux9* | hpux10* | hpux11*)
+ case $cc_basename in
+ CC*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
+ if test "$host_cpu" != ia64; then
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
+ fi
+ ;;
+ aCC*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
+ case $host_cpu in
+ hppa*64*|ia64*)
+ # +Z the default
+ ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
+ ;;
+ esac
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ interix*)
+ # This is c89, which is MS Visual C++ (no shared libs)
+ # Anyone wants to do a port?
+ ;;
+ irix5* | irix6* | nonstopux*)
+ case $cc_basename in
+ CC*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ # CC pic flag -KPIC is the default.
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ linux* | k*bsd*-gnu | kopensolaris*-gnu)
+ case $cc_basename in
+ KCC*)
+ # KAI C++ Compiler
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ ecpc* )
+ # old Intel C++ for x86_64 which still supported -KPIC.
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+ ;;
+ icpc* )
+ # Intel C++, used to be incompatible with GCC.
+ # ICC 10 doesn't accept -KPIC any more.
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+ ;;
+ pgCC* | pgcpp*)
+ # Portland Group C++ compiler
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+ cxx*)
+ # Compaq C++
+ # Make sure the PIC flag is empty. It appears that all Alpha
+ # Linux and Compaq Tru64 Unix objects are PIC.
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+ xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*)
+ # IBM XL 8.0, 9.0 on PPC and BlueGene
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
+ ;;
+ *)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*)
+ # Sun C++ 5.9
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+ lynxos*)
+ ;;
+ m88k*)
+ ;;
+ mvs*)
+ case $cc_basename in
+ cxx*)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ netbsd*)
+ ;;
+ *qnx* | *nto*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
+ ;;
+ osf3* | osf4* | osf5*)
+ case $cc_basename in
+ KCC*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
+ ;;
+ RCC*)
+ # Rational C++ 2.4.1
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ ;;
+ cxx*)
+ # Digital/Compaq C++
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # Make sure the PIC flag is empty. It appears that all Alpha
+ # Linux and Compaq Tru64 Unix objects are PIC.
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ psos*)
+ ;;
+ solaris*)
+ case $cc_basename in
+ CC* | sunCC*)
+ # Sun C++ 4.2, 5.x and Centerline C++
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
+ ;;
+ gcx*)
+ # Green Hills C++ Compiler
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ sunos4*)
+ case $cc_basename in
+ CC*)
+ # Sun C++ 4.x
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+ lcc*)
+ # Lucid
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
+ case $cc_basename in
+ CC*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+ esac
+ ;;
+ tandem*)
+ case $cc_basename in
+ NCC*)
+ # NonStop-UX NCC 3.20
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ vxworks*)
+ ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
+ ;;
+ esac
+ fi
+],
+[
+ if test "$GCC" = yes; then
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+
+ case $host_os in
+ aix*)
+ # All AIX code is PIC.
+ if test "$host_cpu" = ia64; then
+ # AIX 5 now supports IA64 processor
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ fi
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ m68k)
+ # FIXME: we need at least 68020 code to build shared libraries, but
+ # adding the `-m68020' flag to GCC prevents building anything better,
+ # like `-m68040'.
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
+ ;;
+ esac
+ ;;
+
+ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+ # PIC is the default for these OSes.
+ ;;
+
+ mingw* | cygwin* | pw32* | os2* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ # Although the cygwin gcc ignores -fPIC, still need this for old-style
+ # (--disable-auto-import) libraries
+ m4_if([$1], [GCJ], [],
+ [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
+ ;;
+
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
+ ;;
+
+ haiku*)
+ # PIC is the default for Haiku.
+ # The "-static" flag exists, but is broken.
+ _LT_TAGVAR(lt_prog_compiler_static, $1)=
+ ;;
+
+ hpux*)
+ # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
+ # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
+ # sets the default TLS model and affects inlining.
+ case $host_cpu in
+ hppa*64*)
+ # +Z the default
+ ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ esac
+ ;;
+
+ interix[[3-9]]*)
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
+ # Instead, we relocate shared libraries at runtime.
+ ;;
+
+ msdosdjgpp*)
+ # Just because we use GCC doesn't mean we suddenly get shared libraries
+ # on systems that don't support them.
+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
+ enable_shared=no
+ ;;
+
+ *nto* | *qnx*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
+ fi
+ ;;
+
+ *)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ esac
+
+ case $cc_basename in
+ nvcc*) # Cuda Compiler Driver 2.2
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
+ if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
+ fi
+ ;;
+ esac
+ else
+ # PORTME Check for flag to pass linker flags through the system compiler.
+ case $host_os in
+ aix*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ if test "$host_cpu" = ia64; then
+ # AIX 5 now supports IA64 processor
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ else
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
+ fi
+ ;;
+
+ mingw* | cygwin* | pw32* | os2* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ m4_if([$1], [GCJ], [],
+ [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
+ ;;
+
+ hpux9* | hpux10* | hpux11*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
+ # not for PA HP-UX.
+ case $host_cpu in
+ hppa*64*|ia64*)
+ # +Z the default
+ ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
+ ;;
+ esac
+ # Is there a better lt_prog_compiler_static that works with the bundled CC?
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
+ ;;
+
+ irix5* | irix6* | nonstopux*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # PIC (with -KPIC) is the default.
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+
+ linux* | k*bsd*-gnu | kopensolaris*-gnu)
+ case $cc_basename in
+ # old Intel for x86_64 which still supported -KPIC.
+ ecc*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+ ;;
+ # icc used to be incompatible with GCC.
+ # ICC 10 doesn't accept -KPIC any more.
+ icc* | ifort*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+ ;;
+ # Lahey Fortran 8.1.
+ lf95*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
+ ;;
+ nagfor*)
+ # NAG Fortran compiler
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+ pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
+ # Portland Group compilers (*not* the Pentium gcc compiler,
+ # which looks to be a dead project)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+ ccc*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # All Alpha code is PIC.
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+ xl* | bgxl* | bgf* | mpixl*)
+ # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
+ ;;
+ *)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
+ # Sun Fortran 8.3 passes all unrecognized flags to the linker
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
+ ;;
+ *Sun\ F* | *Sun*Fortran*)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
+ ;;
+ *Sun\ C*)
+ # Sun C 5.9
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ ;;
+ *Intel*\ [[CF]]*Compiler*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+ ;;
+ *Portland\ Group*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+
+ newsos6)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ *nto* | *qnx*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
+ ;;
+
+ osf3* | osf4* | osf5*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # All OSF/1 code is PIC.
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+
+ rdos*)
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+
+ solaris*)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ case $cc_basename in
+ f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
+ esac
+ ;;
+
+ sunos4*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ sysv4 | sysv4.2uw2* | sysv4.3*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec ;then
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ fi
+ ;;
+
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ unicos*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
+ ;;
+
+ uts4*)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ *)
+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
+ ;;
+ esac
+ fi
+])
+case $host_os in
+ # For platforms which do not support PIC, -DPIC is meaningless:
+ *djgpp*)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=
+ ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
+ ;;
+esac
+
+AC_CACHE_CHECK([for $compiler option to produce PIC],
+ [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)],
+ [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
+_LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)
+
+#
+# Check to make sure the PIC flag actually works.
+#
+if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
+ _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works],
+ [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)],
+ [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [],
+ [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in
+ "" | " "*) ;;
+ *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;;
+ esac],
+ [_LT_TAGVAR(lt_prog_compiler_pic, $1)=
+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
+fi
+_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
+ [Additional compiler flags for building library objects])
+
+_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
+ [How to pass a linker flag through the compiler])
+#
+# Check to make sure the static flag actually works.
+#
+wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\"
+_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
+ _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1),
+ $lt_tmp_static_flag,
+ [],
+ [_LT_TAGVAR(lt_prog_compiler_static, $1)=])
+_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
+ [Compiler flag to prevent dynamic linking])
+])# _LT_COMPILER_PIC
+
+
+# _LT_LINKER_SHLIBS([TAGNAME])
+# ----------------------------
+# See if the linker supports building shared libraries.
+m4_defun([_LT_LINKER_SHLIBS],
+[AC_REQUIRE([LT_PATH_LD])dnl
+AC_REQUIRE([LT_PATH_NM])dnl
+m4_require([_LT_PATH_MANIFEST_TOOL])dnl
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_DECL_EGREP])dnl
+m4_require([_LT_DECL_SED])dnl
+m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
+m4_require([_LT_TAG_COMPILER])dnl
+AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
+m4_if([$1], [CXX], [
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
+ case $host_os in
+ aix[[4-9]]*)
+ # If we're using GNU nm, then we don't want the "-C" option.
+ # -C means demangle to AIX nm, but means don't demangle with GNU nm
+ # Also, AIX nm treats weak defined symbols like other global defined
+ # symbols, whereas GNU nm marks them as "W".
+ if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+ else
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+ fi
+ ;;
+ pw32*)
+ _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
+ ;;
+ cygwin* | mingw* | cegcc*)
+ case $cc_basename in
+ cl*)
+ _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
+ ;;
+ *)
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
+ _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
+ ;;
+ esac
+ ;;
+ *)
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ ;;
+ esac
+], [
+ runpath_var=
+ _LT_TAGVAR(allow_undefined_flag, $1)=
+ _LT_TAGVAR(always_export_symbols, $1)=no
+ _LT_TAGVAR(archive_cmds, $1)=
+ _LT_TAGVAR(archive_expsym_cmds, $1)=
+ _LT_TAGVAR(compiler_needs_object, $1)=no
+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)=
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ _LT_TAGVAR(hardcode_automatic, $1)=no
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=no
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=
+ _LT_TAGVAR(hardcode_minus_L, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
+ _LT_TAGVAR(inherit_rpath, $1)=no
+ _LT_TAGVAR(link_all_deplibs, $1)=unknown
+ _LT_TAGVAR(module_cmds, $1)=
+ _LT_TAGVAR(module_expsym_cmds, $1)=
+ _LT_TAGVAR(old_archive_from_new_cmds, $1)=
+ _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)=
+ _LT_TAGVAR(thread_safe_flag_spec, $1)=
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=
+ # include_expsyms should be a list of space-separated symbols to be *always*
+ # included in the symbol list
+ _LT_TAGVAR(include_expsyms, $1)=
+ # exclude_expsyms can be an extended regexp of symbols to exclude
+ # it will be wrapped by ` (' and `)$', so one must not match beginning or
+ # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
+ # as well as any symbol that contains `d'.
+ _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
+ # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
+ # platforms (ab)use it in PIC code, but their linkers get confused if
+ # the symbol is explicitly referenced. Since portable code cannot
+ # rely on this symbol name, it's probably fine to never include it in
+ # preloaded symbol tables.
+ # Exclude shared library initialization/finalization symbols.
+dnl Note also adjust exclude_expsyms for C++ above.
+ extract_expsyms_cmds=
+
+ case $host_os in
+ cygwin* | mingw* | pw32* | cegcc*)
+ # FIXME: the MSVC++ port hasn't been tested in a loooong time
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ if test "$GCC" != yes; then
+ with_gnu_ld=no
+ fi
+ ;;
+ interix*)
+ # we just hope/assume this is gcc and not c89 (= MSVC++)
+ with_gnu_ld=yes
+ ;;
+ openbsd*)
+ with_gnu_ld=no
+ ;;
+ esac
+
+ _LT_TAGVAR(ld_shlibs, $1)=yes
+
+ # On some targets, GNU ld is compatible enough with the native linker
+ # that we're better off using the native interface for both.
+ lt_use_gnu_ld_interface=no
+ if test "$with_gnu_ld" = yes; then
+ case $host_os in
+ aix*)
+ # The AIX port of GNU ld has always aspired to compatibility
+ # with the native linker. However, as the warning in the GNU ld
+ # block says, versions before 2.19.5* couldn't really create working
+ # shared libraries, regardless of the interface used.
+ case `$LD -v 2>&1` in
+ *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
+ *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
+ *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
+ *)
+ lt_use_gnu_ld_interface=yes
+ ;;
+ esac
+ ;;
+ *)
+ lt_use_gnu_ld_interface=yes
+ ;;
+ esac
+ fi
+
+ if test "$lt_use_gnu_ld_interface" = yes; then
+ # If archive_cmds runs LD, not CC, wlarc should be empty
+ wlarc='${wl}'
+
+ # Set some defaults for GNU ld with shared library support. These
+ # are reset later if shared libraries are not supported. Putting them
+ # here allows them to be overridden if necessary.
+ runpath_var=LD_RUN_PATH
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
+ # ancient GNU ld didn't support --whole-archive et. al.
+ if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
+ _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
+ else
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=
+ fi
+ supports_anon_versioning=no
+ case `$LD -v 2>&1` in
+ *GNU\ gold*) supports_anon_versioning=yes ;;
+ *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
+ *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
+ *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
+ *\ 2.11.*) ;; # other 2.11 versions
+ *) supports_anon_versioning=yes ;;
+ esac
+
+ # See if GNU ld supports shared libraries.
+ case $host_os in
+ aix[[3-9]]*)
+ # On AIX/PPC, the GNU linker is very broken
+ if test "$host_cpu" != ia64; then
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ cat <<_LT_EOF 1>&2
+
+*** Warning: the GNU linker, at least up to release 2.19, is reported
+*** to be unable to reliably create shared libraries on AIX.
+*** Therefore, libtool is disabling shared libraries support. If you
+*** really care for shared libraries, you may want to install binutils
+*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
+*** You will then need to restart the configuration process.
+
+_LT_EOF
+ fi
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)=''
+ ;;
+ m68k)
+ _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ ;;
+ esac
+ ;;
+
+ beos*)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
+ # support --undefined. This deserves some investigation. FIXME
+ _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ cygwin* | mingw* | pw32* | cegcc*)
+ # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
+ # as there is no search path for DLLs.
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ _LT_TAGVAR(always_export_symbols, $1)=no
+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
+ _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
+
+ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ # If the export-symbols file already is a .def file (1st line
+ # is EXPORTS), use it as is; otherwise, prepend...
+ _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+ cp $export_symbols $output_objdir/$soname.def;
+ else
+ echo EXPORTS > $output_objdir/$soname.def;
+ cat $export_symbols >> $output_objdir/$soname.def;
+ fi~
+ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ haiku*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ ;;
+
+ interix[[3-9]]*)
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
+ # Instead, shared libraries are loaded at an image base (0x10000000 by
+ # default) and relocated if they conflict, which is a slow very memory
+ # consuming and fragmenting process. To avoid this, we pick a random,
+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ ;;
+
+ gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+ tmp_diet=no
+ if test "$host_os" = linux-dietlibc; then
+ case $cc_basename in
+ diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
+ esac
+ fi
+ if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
+ && test "$tmp_diet" = no
+ then
+ tmp_addflag=' $pic_flag'
+ tmp_sharedflag='-shared'
+ case $cc_basename,$host_cpu in
+ pgcc*) # Portland Group C compiler
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
+ tmp_addflag=' $pic_flag'
+ ;;
+ pgf77* | pgf90* | pgf95* | pgfortran*)
+ # Portland Group f77 and f90 compilers
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
+ tmp_addflag=' $pic_flag -Mnomain' ;;
+ ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
+ tmp_addflag=' -i_dynamic' ;;
+ efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
+ tmp_addflag=' -i_dynamic -nofor_main' ;;
+ ifc* | ifort*) # Intel Fortran compiler
+ tmp_addflag=' -nofor_main' ;;
+ lf95*) # Lahey Fortran 8.1
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=
+ tmp_sharedflag='--shared' ;;
+ xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
+ tmp_sharedflag='-qmkshrobj'
+ tmp_addflag= ;;
+ nvcc*) # Cuda Compiler Driver 2.2
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
+ _LT_TAGVAR(compiler_needs_object, $1)=yes
+ ;;
+ esac
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*) # Sun C 5.9
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
+ _LT_TAGVAR(compiler_needs_object, $1)=yes
+ tmp_sharedflag='-G' ;;
+ *Sun\ F*) # Sun Fortran 8.3
+ tmp_sharedflag='-G' ;;
+ esac
+ _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+
+ if test "x$supports_anon_versioning" = xyes; then
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
+ fi
+
+ case $cc_basename in
+ xlf* | bgf* | bgxlf* | mpixlf*)
+ # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
+ if test "x$supports_anon_versioning" = xyes; then
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
+ fi
+ ;;
+ esac
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+ wlarc=
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ fi
+ ;;
+
+ solaris*)
+ if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ cat <<_LT_EOF 1>&2
+
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
+*** create shared libraries on Solaris systems. Therefore, libtool
+*** is disabling shared libraries support. We urge you to upgrade GNU
+*** binutils to release 2.9.1 or newer. Another option is to modify
+*** your PATH or compiler configuration so that the native linker is
+*** used, and then restart.
+
+_LT_EOF
+ elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
+ case `$LD -v 2>&1` in
+ *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ cat <<_LT_EOF 1>&2
+
+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
+*** reliably create shared libraries on SCO systems. Therefore, libtool
+*** is disabling shared libraries support. We urge you to upgrade GNU
+*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
+*** your PATH or compiler configuration so that the native linker is
+*** used, and then restart.
+
+_LT_EOF
+ ;;
+ *)
+ # For security reasons, it is highly recommended that you always
+ # use absolute paths for naming shared libraries, and exclude the
+ # DT_RUNPATH tag from executables and libraries. But doing so
+ # requires that you compile everything twice, which is a pain.
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+ ;;
+
+ sunos4*)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ wlarc=
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ *)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+
+ if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
+ runpath_var=
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)=
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=
+ fi
+ else
+ # PORTME fill in a description of your system's linker (not GNU ld)
+ case $host_os in
+ aix3*)
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ _LT_TAGVAR(always_export_symbols, $1)=yes
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
+ # Note: this linker hardcodes the directories in LIBPATH if there
+ # are no directories specified by -L.
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
+ # Neither direct hardcoding nor static linking is supported with a
+ # broken collect2.
+ _LT_TAGVAR(hardcode_direct, $1)=unsupported
+ fi
+ ;;
+
+ aix[[4-9]]*)
+ if test "$host_cpu" = ia64; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ exp_sym_flag='-Bexport'
+ no_entry_flag=""
+ else
+ # If we're using GNU nm, then we don't want the "-C" option.
+ # -C means demangle to AIX nm, but means don't demangle with GNU nm
+ # Also, AIX nm treats weak defined symbols like other global
+ # defined symbols, whereas GNU nm marks them as "W".
+ if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+ else
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+ fi
+ aix_use_runtimelinking=no
+
+ # Test if we are trying to use run time linking or normal
+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we
+ # need to do runtime linking.
+ case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
+ for ld_flag in $LDFLAGS; do
+ if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
+ aix_use_runtimelinking=yes
+ break
+ fi
+ done
+ ;;
+ esac
+
+ exp_sym_flag='-bexport'
+ no_entry_flag='-bnoentry'
+ fi
+
+ # When large executables or shared objects are built, AIX ld can
+ # have problems creating the table of contents. If linking a library
+ # or program results in "error TOC overflow" add -mminimal-toc to
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+
+ _LT_TAGVAR(archive_cmds, $1)=''
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
+
+ if test "$GCC" = yes; then
+ case $host_os in aix4.[[012]]|aix4.[[012]].*)
+ # We only want to do this on AIX 4.2 and lower, the check
+ # below for broken collect2 doesn't work under 4.3+
+ collect2name=`${CC} -print-prog-name=collect2`
+ if test -f "$collect2name" &&
+ strings "$collect2name" | $GREP resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ :
+ else
+ # We have old collect2
+ _LT_TAGVAR(hardcode_direct, $1)=unsupported
+ # It fails to find uninstalled libraries when the uninstalled
+ # path is not listed in the libpath. Setting hardcode_minus_L
+ # to unsupported forces relinking
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=
+ fi
+ ;;
+ esac
+ shared_flag='-shared'
+ if test "$aix_use_runtimelinking" = yes; then
+ shared_flag="$shared_flag "'${wl}-G'
+ fi
+ else
+ # not using gcc
+ if test "$host_cpu" = ia64; then
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
+ # chokes on -Wl,-G. The following line is correct:
+ shared_flag='-G'
+ else
+ if test "$aix_use_runtimelinking" = yes; then
+ shared_flag='${wl}-G'
+ else
+ shared_flag='${wl}-bM:SRE'
+ fi
+ fi
+ fi
+
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
+ # It seems that -bexpall does not export symbols beginning with
+ # underscore (_), so it is better to generate a list of symbols to export.
+ _LT_TAGVAR(always_export_symbols, $1)=yes
+ if test "$aix_use_runtimelinking" = yes; then
+ # Warning - without using the other runtime loading flags (-brtl),
+ # -berok will link without error, but may produce a broken library.
+ _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+ _LT_SYS_MODULE_PATH_AIX([$1])
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+ else
+ if test "$host_cpu" = ia64; then
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
+ _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
+ _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
+ else
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+ _LT_SYS_MODULE_PATH_AIX([$1])
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+ # -berok will link without error, but may produce a broken library.
+ _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
+ _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
+ if test "$with_gnu_ld" = yes; then
+ # We only use this code for GNU lds that support --whole-archive.
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
+ else
+ # Exported symbols can be pulled into shared objects from archives
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
+ fi
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
+ # This is similar to how AIX traditionally builds its shared libraries.
+ _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
+ fi
+ fi
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)=''
+ ;;
+ m68k)
+ _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ ;;
+ esac
+ ;;
+
+ bsdi[[45]]*)
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
+ ;;
+
+ cygwin* | mingw* | pw32* | cegcc*)
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+ case $cc_basename in
+ cl*)
+ # Native MSVC
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ _LT_TAGVAR(always_export_symbols, $1)=yes
+ _LT_TAGVAR(file_list_spec, $1)='@'
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext_cmds=".dll"
+ # FIXME: Setting linknames here is a bad hack.
+ _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
+ _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+ sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
+ else
+ sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
+ fi~
+ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
+ linknames='
+ # The linker will not automatically build a static lib if we build a DLL.
+ # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+ _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
+ # Don't use ranlib
+ _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
+ _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
+ lt_tool_outputfile="@TOOL_OUTPUT@"~
+ case $lt_outputfile in
+ *.exe|*.EXE) ;;
+ *)
+ lt_outputfile="$lt_outputfile.exe"
+ lt_tool_outputfile="$lt_tool_outputfile.exe"
+ ;;
+ esac~
+ if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
+ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
+ $RM "$lt_outputfile.manifest";
+ fi'
+ ;;
+ *)
+ # Assume MSVC wrapper
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext_cmds=".dll"
+ # FIXME: Setting linknames here is a bad hack.
+ _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
+ # The linker will automatically build a .lib file if we build a DLL.
+ _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
+ # FIXME: Should let the user specify the lib program.
+ _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+ ;;
+ esac
+ ;;
+
+ darwin* | rhapsody*)
+ _LT_DARWIN_LINKER_FEATURES($1)
+ ;;
+
+ dgux*)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
+ # support. Future versions do this automatically, but an explicit c++rt0.o
+ # does not break anything, and helps significantly (at the cost of a little
+ # extra space).
+ freebsd2.2*)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ # Unfortunately, older versions of FreeBSD 2 do not have this feature.
+ freebsd2.*)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+ freebsd* | dragonfly*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ hpux9*)
+ if test "$GCC" = yes; then
+ _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ fi
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+ ;;
+
+ hpux10*)
+ if test "$GCC" = yes && test "$with_gnu_ld" = no; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
+ fi
+ if test "$with_gnu_ld" = no; then
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ fi
+ ;;
+
+ hpux11*)
+ if test "$GCC" = yes && test "$with_gnu_ld" = no; then
+ case $host_cpu in
+ hppa*64*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ ia64*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ else
+ case $host_cpu in
+ hppa*64*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ ia64*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+ m4_if($1, [], [
+ # Older versions of the 11.00 compiler do not understand -b yet
+ # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
+ _LT_LINKER_OPTION([if $CC understands -b],
+ _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
+ [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
+ [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])],
+ [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
+ ;;
+ esac
+ fi
+ if test "$with_gnu_ld" = no; then
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ case $host_cpu in
+ hppa*64*|ia64*)
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+ *)
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ ;;
+ esac
+ fi
+ ;;
+
+ irix5* | irix6* | nonstopux*)
+ if test "$GCC" = yes; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ # Try to use the -exported_symbol ld option, if it does not
+ # work, assume that -exports_file does not work either and
+ # implicitly export all symbols.
+ # This should be the same for all languages, so no per-tag cache variable.
+ AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol],
+ [lt_cv_irix_exported_symbol],
+ [save_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
+ AC_LINK_IFELSE(
+ [AC_LANG_SOURCE(
+ [AC_LANG_CASE([C], [[int foo (void) { return 0; }]],
+ [C++], [[int foo (void) { return 0; }]],
+ [Fortran 77], [[
+ subroutine foo
+ end]],
+ [Fortran], [[
+ subroutine foo
+ end]])])],
+ [lt_cv_irix_exported_symbol=yes],
+ [lt_cv_irix_exported_symbol=no])
+ LDFLAGS="$save_LDFLAGS"])
+ if test "$lt_cv_irix_exported_symbol" = yes; then
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
+ fi
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
+ fi
+ _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_TAGVAR(inherit_rpath, $1)=yes
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
+ fi
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ newsos6)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ *nto* | *qnx*)
+ ;;
+
+ openbsd*)
+ if test -f /usr/libexec/ld.so; then
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+ else
+ case $host_os in
+ openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ ;;
+ *)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+ ;;
+ esac
+ fi
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ os2*)
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
+ _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
+ ;;
+
+ osf3*)
+ if test "$GCC" = yes; then
+ _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ else
+ _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
+ fi
+ _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+ ;;
+
+ osf4* | osf5*) # as osf3* with the addition of -msym flag
+ if test "$GCC" = yes; then
+ _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ else
+ _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
+ $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
+
+ # Both c and cxx compiler support -rpath directly
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
+ fi
+ _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+ ;;
+
+ solaris*)
+ _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
+ if test "$GCC" = yes; then
+ wlarc='${wl}'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
+ else
+ case `$CC -V 2>&1` in
+ *"Compilers 5.0"*)
+ wlarc=''
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
+ ;;
+ *)
+ wlarc='${wl}'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
+ ;;
+ esac
+ fi
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ case $host_os in
+ solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
+ *)
+ # The compiler driver will combine and reorder linker options,
+ # but understands `-z linker_flag'. GCC discards it without `$wl',
+ # but is careful enough not to reorder.
+ # Supported since Solaris 2.6 (maybe 2.5.1?)
+ if test "$GCC" = yes; then
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
+ else
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
+ fi
+ ;;
+ esac
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ ;;
+
+ sunos4*)
+ if test "x$host_vendor" = xsequent; then
+ # Use $CC to link under sequent, because it throws in some extra .o
+ # files that make .init and .fini sections work.
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
+ fi
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ sysv4)
+ case $host_vendor in
+ sni)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true???
+ ;;
+ siemens)
+ ## LD is ld it makes a PLAMLIB
+ ## CC just makes a GrossModule.
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ ;;
+ motorola)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
+ ;;
+ esac
+ runpath_var='LD_RUN_PATH'
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ sysv4.3*)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ runpath_var=LD_RUN_PATH
+ hardcode_runpath_var=yes
+ _LT_TAGVAR(ld_shlibs, $1)=yes
+ fi
+ ;;
+
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
+ _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ runpath_var='LD_RUN_PATH'
+
+ if test "$GCC" = yes; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ fi
+ ;;
+
+ sysv5* | sco3.2v5* | sco5v6*)
+ # Note: We can NOT use -z defs as we might desire, because we do not
+ # link with -lc, and that would cause any symbols used from libc to
+ # always be unresolved, which means just about no library would
+ # ever link correctly. If we're not using GNU ld we use -z text
+ # though, which does catch some bad symbols but isn't as heavy-handed
+ # as -z defs.
+ _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
+ _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
+ runpath_var='LD_RUN_PATH'
+
+ if test "$GCC" = yes; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ fi
+ ;;
+
+ uts4*)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ *)
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+
+ if test x$host_vendor = xsni; then
+ case $host in
+ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
+ ;;
+ esac
+ fi
+ fi
+])
+AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
+test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
+
+_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
+
+_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl
+_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl
+_LT_DECL([], [extract_expsyms_cmds], [2],
+ [The commands to extract the exported symbol list from a shared archive])
+
+#
+# Do we need to explicitly link libc?
+#
+case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in
+x|xyes)
+ # Assume -lc should be added
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
+
+ if test "$enable_shared" = yes && test "$GCC" = yes; then
+ case $_LT_TAGVAR(archive_cmds, $1) in
+ *'~'*)
+ # FIXME: we may have to deal with multi-command sequences.
+ ;;
+ '$CC '*)
+ # Test whether the compiler implicitly links with -lc since on some
+ # systems, -lgcc has to come before -lc. If gcc already passes -lc
+ # to ld, don't add -lc before -lgcc.
+ AC_CACHE_CHECK([whether -lc should be explicitly linked in],
+ [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1),
+ [$RM conftest*
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
+ soname=conftest
+ lib=conftest
+ libobjs=conftest.$ac_objext
+ deplibs=
+ wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
+ pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
+ compiler_flags=-v
+ linker_flags=-v
+ verstring=
+ output_objdir=.
+ libname=conftest
+ lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
+ _LT_TAGVAR(allow_undefined_flag, $1)=
+ if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
+ then
+ lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no
+ else
+ lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes
+ fi
+ _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
+ else
+ cat conftest.err 1>&5
+ fi
+ $RM conftest*
+ ])
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)
+ ;;
+ esac
+ fi
+ ;;
+esac
+
+_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0],
+ [Whether or not to add -lc for building shared libraries])
+_LT_TAGDECL([allow_libtool_libs_with_static_runtimes],
+ [enable_shared_with_static_runtimes], [0],
+ [Whether or not to disallow shared libs when runtime libs are static])
+_LT_TAGDECL([], [export_dynamic_flag_spec], [1],
+ [Compiler flag to allow reflexive dlopens])
+_LT_TAGDECL([], [whole_archive_flag_spec], [1],
+ [Compiler flag to generate shared objects directly from archives])
+_LT_TAGDECL([], [compiler_needs_object], [1],
+ [Whether the compiler copes with passing no objects directly])
+_LT_TAGDECL([], [old_archive_from_new_cmds], [2],
+ [Create an old-style archive from a shared archive])
+_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2],
+ [Create a temporary old-style archive to link instead of a shared archive])
+_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive])
+_LT_TAGDECL([], [archive_expsym_cmds], [2])
+_LT_TAGDECL([], [module_cmds], [2],
+ [Commands used to build a loadable module if different from building
+ a shared archive.])
+_LT_TAGDECL([], [module_expsym_cmds], [2])
+_LT_TAGDECL([], [with_gnu_ld], [1],
+ [Whether we are building with GNU ld or not])
+_LT_TAGDECL([], [allow_undefined_flag], [1],
+ [Flag that allows shared libraries with undefined symbols to be built])
+_LT_TAGDECL([], [no_undefined_flag], [1],
+ [Flag that enforces no undefined symbols])
+_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
+ [Flag to hardcode $libdir into a binary during linking.
+ This must work even if $libdir does not exist])
+_LT_TAGDECL([], [hardcode_libdir_separator], [1],
+ [Whether we need a single "-rpath" flag with a separated argument])
+_LT_TAGDECL([], [hardcode_direct], [0],
+ [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
+ DIR into the resulting binary])
+_LT_TAGDECL([], [hardcode_direct_absolute], [0],
+ [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
+ DIR into the resulting binary and the resulting library dependency is
+ "absolute", i.e impossible to change by setting ${shlibpath_var} if the
+ library is relocated])
+_LT_TAGDECL([], [hardcode_minus_L], [0],
+ [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
+ into the resulting binary])
+_LT_TAGDECL([], [hardcode_shlibpath_var], [0],
+ [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
+ into the resulting binary])
+_LT_TAGDECL([], [hardcode_automatic], [0],
+ [Set to "yes" if building a shared library automatically hardcodes DIR
+ into the library and all subsequent libraries and executables linked
+ against it])
+_LT_TAGDECL([], [inherit_rpath], [0],
+ [Set to yes if linker adds runtime paths of dependent libraries
+ to runtime path list])
+_LT_TAGDECL([], [link_all_deplibs], [0],
+ [Whether libtool must link a program against all its dependency libraries])
+_LT_TAGDECL([], [always_export_symbols], [0],
+ [Set to "yes" if exported symbols are required])
+_LT_TAGDECL([], [export_symbols_cmds], [2],
+ [The commands to list exported symbols])
+_LT_TAGDECL([], [exclude_expsyms], [1],
+ [Symbols that should not be listed in the preloaded symbols])
+_LT_TAGDECL([], [include_expsyms], [1],
+ [Symbols that must always be exported])
+_LT_TAGDECL([], [prelink_cmds], [2],
+ [Commands necessary for linking programs (against libraries) with templates])
+_LT_TAGDECL([], [postlink_cmds], [2],
+ [Commands necessary for finishing linking programs])
+_LT_TAGDECL([], [file_list_spec], [1],
+ [Specify filename containing input files])
+dnl FIXME: Not yet implemented
+dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],
+dnl [Compiler flag to generate thread safe objects])
+])# _LT_LINKER_SHLIBS
+
+
+# _LT_LANG_C_CONFIG([TAG])
+# ------------------------
+# Ensure that the configuration variables for a C compiler are suitably
+# defined. These variables are subsequently used by _LT_CONFIG to write
+# the compiler configuration to `libtool'.
+m4_defun([_LT_LANG_C_CONFIG],
+[m4_require([_LT_DECL_EGREP])dnl
+lt_save_CC="$CC"
+AC_LANG_PUSH(C)
+
+# Source file extension for C test sources.
+ac_ext=c
+
+# Object file extension for compiled C test sources.
+objext=o
+_LT_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="int some_variable = 0;"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='int main(){return(0);}'
+
+_LT_TAG_COMPILER
+# Save the default compiler, since it gets overwritten when the other
+# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
+compiler_DEFAULT=$CC
+
+# save warnings/boilerplate of simple test code
+_LT_COMPILER_BOILERPLATE
+_LT_LINKER_BOILERPLATE
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+if test -n "$compiler"; then
+ _LT_COMPILER_NO_RTTI($1)
+ _LT_COMPILER_PIC($1)
+ _LT_COMPILER_C_O($1)
+ _LT_COMPILER_FILE_LOCKS($1)
+ _LT_LINKER_SHLIBS($1)
+ _LT_SYS_DYNAMIC_LINKER($1)
+ _LT_LINKER_HARDCODE_LIBPATH($1)
+ LT_SYS_DLOPEN_SELF
+ _LT_CMD_STRIPLIB
+
+ # Report which library types will actually be built
+ AC_MSG_CHECKING([if libtool supports shared libraries])
+ AC_MSG_RESULT([$can_build_shared])
+
+ AC_MSG_CHECKING([whether to build shared libraries])
+ test "$can_build_shared" = "no" && enable_shared=no
+
+ # On AIX, shared libraries and static libraries use the same namespace, and
+ # are all built from PIC.
+ case $host_os in
+ aix3*)
+ test "$enable_shared" = yes && enable_static=no
+ if test -n "$RANLIB"; then
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
+ postinstall_cmds='$RANLIB $lib'
+ fi
+ ;;
+
+ aix[[4-9]]*)
+ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
+ test "$enable_shared" = yes && enable_static=no
+ fi
+ ;;
+ esac
+ AC_MSG_RESULT([$enable_shared])
+
+ AC_MSG_CHECKING([whether to build static libraries])
+ # Make sure either enable_shared or enable_static is yes.
+ test "$enable_shared" = yes || enable_static=yes
+ AC_MSG_RESULT([$enable_static])
+
+ _LT_CONFIG($1)
+fi
+AC_LANG_POP
+CC="$lt_save_CC"
+])# _LT_LANG_C_CONFIG
+
+
+# _LT_LANG_CXX_CONFIG([TAG])
+# --------------------------
+# Ensure that the configuration variables for a C++ compiler are suitably
+# defined. These variables are subsequently used by _LT_CONFIG to write
+# the compiler configuration to `libtool'.
+m4_defun([_LT_LANG_CXX_CONFIG],
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_DECL_EGREP])dnl
+m4_require([_LT_PATH_MANIFEST_TOOL])dnl
+if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
+ ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
+ (test "X$CXX" != "Xg++"))) ; then
+ AC_PROG_CXXCPP
+else
+ _lt_caught_CXX_error=yes
+fi
+
+AC_LANG_PUSH(C++)
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
+_LT_TAGVAR(allow_undefined_flag, $1)=
+_LT_TAGVAR(always_export_symbols, $1)=no
+_LT_TAGVAR(archive_expsym_cmds, $1)=
+_LT_TAGVAR(compiler_needs_object, $1)=no
+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
+_LT_TAGVAR(hardcode_direct, $1)=no
+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
+_LT_TAGVAR(hardcode_libdir_separator, $1)=
+_LT_TAGVAR(hardcode_minus_L, $1)=no
+_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
+_LT_TAGVAR(hardcode_automatic, $1)=no
+_LT_TAGVAR(inherit_rpath, $1)=no
+_LT_TAGVAR(module_cmds, $1)=
+_LT_TAGVAR(module_expsym_cmds, $1)=
+_LT_TAGVAR(link_all_deplibs, $1)=unknown
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_TAGVAR(reload_flag, $1)=$reload_flag
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
+_LT_TAGVAR(no_undefined_flag, $1)=
+_LT_TAGVAR(whole_archive_flag_spec, $1)=
+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
+
+# Source file extension for C++ test sources.
+ac_ext=cpp
+
+# Object file extension for compiled C++ test sources.
+objext=o
+_LT_TAGVAR(objext, $1)=$objext
+
+# No sense in running all these tests if we already determined that
+# the CXX compiler isn't working. Some variables (like enable_shared)
+# are currently assumed to apply to all compilers on this platform,
+# and will be corrupted by setting them based on a non-working compiler.
+if test "$_lt_caught_CXX_error" != yes; then
+ # Code to be used in simple compile tests
+ lt_simple_compile_test_code="int some_variable = 0;"
+
+ # Code to be used in simple link tests
+ lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
+
+ # ltmain only uses $CC for tagged configurations so make sure $CC is set.
+ _LT_TAG_COMPILER
+
+ # save warnings/boilerplate of simple test code
+ _LT_COMPILER_BOILERPLATE
+ _LT_LINKER_BOILERPLATE
+
+ # Allow CC to be a program name with arguments.
+ lt_save_CC=$CC
+ lt_save_CFLAGS=$CFLAGS
+ lt_save_LD=$LD
+ lt_save_GCC=$GCC
+ GCC=$GXX
+ lt_save_with_gnu_ld=$with_gnu_ld
+ lt_save_path_LD=$lt_cv_path_LD
+ if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
+ lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
+ else
+ $as_unset lt_cv_prog_gnu_ld
+ fi
+ if test -n "${lt_cv_path_LDCXX+set}"; then
+ lt_cv_path_LD=$lt_cv_path_LDCXX
+ else
+ $as_unset lt_cv_path_LD
+ fi
+ test -z "${LDCXX+set}" || LD=$LDCXX
+ CC=${CXX-"c++"}
+ CFLAGS=$CXXFLAGS
+ compiler=$CC
+ _LT_TAGVAR(compiler, $1)=$CC
+ _LT_CC_BASENAME([$compiler])
+
+ if test -n "$compiler"; then
+ # We don't want -fno-exception when compiling C++ code, so set the
+ # no_builtin_flag separately
+ if test "$GXX" = yes; then
+ _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
+ else
+ _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
+ fi
+
+ if test "$GXX" = yes; then
+ # Set up default GNU C++ configuration
+
+ LT_PATH_LD
+
+ # Check if GNU C++ uses GNU ld as the underlying linker, since the
+ # archiving commands below assume that GNU ld is being used.
+ if test "$with_gnu_ld" = yes; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
+
+ # If archive_cmds runs LD, not CC, wlarc should be empty
+ # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
+ # investigate it a little bit more. (MM)
+ wlarc='${wl}'
+
+ # ancient GNU ld didn't support --whole-archive et. al.
+ if eval "`$CC -print-prog-name=ld` --help 2>&1" |
+ $GREP 'no-whole-archive' > /dev/null; then
+ _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
+ else
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=
+ fi
+ else
+ with_gnu_ld=no
+ wlarc=
+
+ # A generic and very simple default shared library creation
+ # command for GNU C++ for the case where it uses the native
+ # linker, instead of GNU ld. If possible, this setting should
+ # overridden to take advantage of the native linker features on
+ # the platform it is being used on.
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ fi
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+
+ else
+ GXX=no
+ with_gnu_ld=no
+ wlarc=
+ fi
+
+ # PORTME: fill in a description of your system's C++ link characteristics
+ AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
+ _LT_TAGVAR(ld_shlibs, $1)=yes
+ case $host_os in
+ aix3*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ aix[[4-9]]*)
+ if test "$host_cpu" = ia64; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ exp_sym_flag='-Bexport'
+ no_entry_flag=""
+ else
+ aix_use_runtimelinking=no
+
+ # Test if we are trying to use run time linking or normal
+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we
+ # need to do runtime linking.
+ case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
+ for ld_flag in $LDFLAGS; do
+ case $ld_flag in
+ *-brtl*)
+ aix_use_runtimelinking=yes
+ break
+ ;;
+ esac
+ done
+ ;;
+ esac
+
+ exp_sym_flag='-bexport'
+ no_entry_flag='-bnoentry'
+ fi
+
+ # When large executables or shared objects are built, AIX ld can
+ # have problems creating the table of contents. If linking a library
+ # or program results in "error TOC overflow" add -mminimal-toc to
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+
+ _LT_TAGVAR(archive_cmds, $1)=''
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
+
+ if test "$GXX" = yes; then
+ case $host_os in aix4.[[012]]|aix4.[[012]].*)
+ # We only want to do this on AIX 4.2 and lower, the check
+ # below for broken collect2 doesn't work under 4.3+
+ collect2name=`${CC} -print-prog-name=collect2`
+ if test -f "$collect2name" &&
+ strings "$collect2name" | $GREP resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ :
+ else
+ # We have old collect2
+ _LT_TAGVAR(hardcode_direct, $1)=unsupported
+ # It fails to find uninstalled libraries when the uninstalled
+ # path is not listed in the libpath. Setting hardcode_minus_L
+ # to unsupported forces relinking
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=
+ fi
+ esac
+ shared_flag='-shared'
+ if test "$aix_use_runtimelinking" = yes; then
+ shared_flag="$shared_flag "'${wl}-G'
+ fi
+ else
+ # not using gcc
+ if test "$host_cpu" = ia64; then
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
+ # chokes on -Wl,-G. The following line is correct:
+ shared_flag='-G'
+ else
+ if test "$aix_use_runtimelinking" = yes; then
+ shared_flag='${wl}-G'
+ else
+ shared_flag='${wl}-bM:SRE'
+ fi
+ fi
+ fi
+
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
+ # It seems that -bexpall does not export symbols beginning with
+ # underscore (_), so it is better to generate a list of symbols to
+ # export.
+ _LT_TAGVAR(always_export_symbols, $1)=yes
+ if test "$aix_use_runtimelinking" = yes; then
+ # Warning - without using the other runtime loading flags (-brtl),
+ # -berok will link without error, but may produce a broken library.
+ _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
+ # Determine the default libpath from the value encoded in an empty
+ # executable.
+ _LT_SYS_MODULE_PATH_AIX([$1])
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
+
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+ else
+ if test "$host_cpu" = ia64; then
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
+ _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
+ _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
+ else
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+ _LT_SYS_MODULE_PATH_AIX([$1])
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+ # -berok will link without error, but may produce a broken library.
+ _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
+ _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
+ if test "$with_gnu_ld" = yes; then
+ # We only use this code for GNU lds that support --whole-archive.
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
+ else
+ # Exported symbols can be pulled into shared objects from archives
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
+ fi
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
+ # This is similar to how AIX traditionally builds its shared
+ # libraries.
+ _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
+ fi
+ fi
+ ;;
+
+ beos*)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
+ # support --undefined. This deserves some investigation. FIXME
+ _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ chorus*)
+ case $cc_basename in
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+
+ cygwin* | mingw* | pw32* | cegcc*)
+ case $GXX,$cc_basename in
+ ,cl* | no,cl*)
+ # Native MSVC
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ _LT_TAGVAR(always_export_symbols, $1)=yes
+ _LT_TAGVAR(file_list_spec, $1)='@'
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext_cmds=".dll"
+ # FIXME: Setting linknames here is a bad hack.
+ _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
+ _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+ $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
+ else
+ $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
+ fi~
+ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
+ linknames='
+ # The linker will not automatically build a static lib if we build a DLL.
+ # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+ # Don't use ranlib
+ _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
+ _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
+ lt_tool_outputfile="@TOOL_OUTPUT@"~
+ case $lt_outputfile in
+ *.exe|*.EXE) ;;
+ *)
+ lt_outputfile="$lt_outputfile.exe"
+ lt_tool_outputfile="$lt_tool_outputfile.exe"
+ ;;
+ esac~
+ func_to_tool_file "$lt_outputfile"~
+ if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
+ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
+ $RM "$lt_outputfile.manifest";
+ fi'
+ ;;
+ *)
+ # g++
+ # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
+ # as there is no search path for DLLs.
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ _LT_TAGVAR(always_export_symbols, $1)=no
+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+
+ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ # If the export-symbols file already is a .def file (1st line
+ # is EXPORTS), use it as is; otherwise, prepend...
+ _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+ cp $export_symbols $output_objdir/$soname.def;
+ else
+ echo EXPORTS > $output_objdir/$soname.def;
+ cat $export_symbols >> $output_objdir/$soname.def;
+ fi~
+ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+ ;;
+ darwin* | rhapsody*)
+ _LT_DARWIN_LINKER_FEATURES($1)
+ ;;
+
+ dgux*)
+ case $cc_basename in
+ ec++*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ ghcx*)
+ # Green Hills C++ Compiler
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+
+ freebsd2.*)
+ # C++ shared libraries reported to be fairly broken before
+ # switch to ELF
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+ freebsd-elf*)
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
+ ;;
+
+ freebsd* | dragonfly*)
+ # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
+ # conventions
+ _LT_TAGVAR(ld_shlibs, $1)=yes
+ ;;
+
+ gnu*)
+ ;;
+
+ haiku*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ ;;
+
+ hpux9*)
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
+ # but as the default
+ # location of the library.
+
+ case $cc_basename in
+ CC*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ aCC*)
+ _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+ ;;
+ *)
+ if test "$GXX" = yes; then
+ _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ else
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+ ;;
+
+ hpux10*|hpux11*)
+ if test $with_gnu_ld = no; then
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ case $host_cpu in
+ hppa*64*|ia64*)
+ ;;
+ *)
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+ ;;
+ esac
+ fi
+ case $host_cpu in
+ hppa*64*|ia64*)
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+ *)
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
+ # but as the default
+ # location of the library.
+ ;;
+ esac
+
+ case $cc_basename in
+ CC*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ aCC*)
+ case $host_cpu in
+ hppa*64*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ ia64*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ *)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ esac
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+ ;;
+ *)
+ if test "$GXX" = yes; then
+ if test $with_gnu_ld = no; then
+ case $host_cpu in
+ hppa*64*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ ia64*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ *)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ esac
+ fi
+ else
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+ ;;
+
+ interix[[3-9]]*)
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
+ # Instead, shared libraries are loaded at an image base (0x10000000 by
+ # default) and relocated if they conflict, which is a slow very memory
+ # consuming and fragmenting process. To avoid this, we pick a random,
+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ ;;
+ irix5* | irix6*)
+ case $cc_basename in
+ CC*)
+ # SGI C++
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
+
+ # Archives containing C++ object files must be created using
+ # "CC -ar", where "CC" is the IRIX C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
+ ;;
+ *)
+ if test "$GXX" = yes; then
+ if test "$with_gnu_ld" = no; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
+ fi
+ fi
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ ;;
+ esac
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_TAGVAR(inherit_rpath, $1)=yes
+ ;;
+
+ linux* | k*bsd*-gnu | kopensolaris*-gnu)
+ case $cc_basename in
+ KCC*)
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
+
+ # KCC will only create a shared library if the output file
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
+ # to its proper name (with version) after linking.
+ _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
+
+ # Archives containing C++ object files must be created using
+ # "CC -Bstatic", where "CC" is the KAI C++ compiler.
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
+ ;;
+ icpc* | ecpc* )
+ # Intel C++
+ with_gnu_ld=yes
+ # version 8.0 and above of icpc choke on multiply defined symbols
+ # if we add $predep_objects and $postdep_objects, however 7.1 and
+ # earlier do not add the objects themselves.
+ case `$CC -V 2>&1` in
+ *"Version 7."*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ ;;
+ *) # Version 8.0 or newer
+ tmp_idyn=
+ case $host_cpu in
+ ia64*) tmp_idyn=' -i_dynamic';;
+ esac
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ ;;
+ esac
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
+ ;;
+ pgCC* | pgcpp*)
+ # Portland Group C++ compiler
+ case `$CC -V` in
+ *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
+ _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
+ compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
+ _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
+ $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
+ $RANLIB $oldlib'
+ _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
+ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
+ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
+ ;;
+ *) # Version 6 and above use weak symbols
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
+ ;;
+ esac
+
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
+ ;;
+ cxx*)
+ # Compaq C++
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
+
+ runpath_var=LD_RUN_PATH
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
+ ;;
+ xl* | mpixl* | bgxl*)
+ # IBM XL 8.0 on PPC, with GNU ld
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ if test "x$supports_anon_versioning" = xyes; then
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+ $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
+ fi
+ ;;
+ *)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*)
+ # Sun C++ 5.9
+ _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
+ _LT_TAGVAR(compiler_needs_object, $1)=yes
+
+ # Not sure whether something based on
+ # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
+ # would be better.
+ output_verbose_link_cmd='func_echo_all'
+
+ # Archives containing C++ object files must be created using
+ # "CC -xar", where "CC" is the Sun C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+
+ lynxos*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+ m88k*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+ mvs*)
+ case $cc_basename in
+ cxx*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
+ wlarc=
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ fi
+ # Workaround some broken pre-1.5 toolchains
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
+ ;;
+
+ *nto* | *qnx*)
+ _LT_TAGVAR(ld_shlibs, $1)=yes
+ ;;
+
+ openbsd2*)
+ # C++ shared libraries are fairly broken
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+ openbsd*)
+ if test -f /usr/libexec/ld.so; then
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+ _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
+ fi
+ output_verbose_link_cmd=func_echo_all
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ osf3* | osf4* | osf5*)
+ case $cc_basename in
+ KCC*)
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
+
+ # KCC will only create a shared library if the output file
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
+ # to its proper name (with version) after linking.
+ _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
+
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Archives containing C++ object files must be created using
+ # the KAI C++ compiler.
+ case $host in
+ osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
+ *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
+ esac
+ ;;
+ RCC*)
+ # Rational C++ 2.4.1
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ cxx*)
+ case $host in
+ osf3*)
+ _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ ;;
+ *)
+ _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
+ echo "-hidden">> $lib.exp~
+ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
+ $RM $lib.exp'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
+ ;;
+ esac
+
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+ ;;
+ *)
+ if test "$GXX" = yes && test "$with_gnu_ld" = no; then
+ _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
+ case $host in
+ osf3*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ ;;
+ *)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ ;;
+ esac
+
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+
+ else
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+ ;;
+
+ psos*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+ sunos4*)
+ case $cc_basename in
+ CC*)
+ # Sun C++ 4.x
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ lcc*)
+ # Lucid
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+
+ solaris*)
+ case $cc_basename in
+ CC* | sunCC*)
+ # Sun C++ 4.2, 5.x and Centerline C++
+ _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
+ _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ case $host_os in
+ solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
+ *)
+ # The compiler driver will combine and reorder linker options,
+ # but understands `-z linker_flag'.
+ # Supported since Solaris 2.6 (maybe 2.5.1?)
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
+ ;;
+ esac
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+
+ output_verbose_link_cmd='func_echo_all'
+
+ # Archives containing C++ object files must be created using
+ # "CC -xar", where "CC" is the Sun C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
+ ;;
+ gcx*)
+ # Green Hills C++ Compiler
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
+
+ # The C++ compiler must be used to create the archive.
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
+ ;;
+ *)
+ # GNU C++ compiler with Solaris linker
+ if test "$GXX" = yes && test "$with_gnu_ld" = no; then
+ _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
+ if $CC --version | $GREP -v '^2\.7' > /dev/null; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+ else
+ # g++ 2.7 appears to require `-G' NOT `-shared' on this
+ # platform.
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+ fi
+
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
+ case $host_os in
+ solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
+ *)
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
+ ;;
+ esac
+ fi
+ ;;
+ esac
+ ;;
+
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
+ _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ runpath_var='LD_RUN_PATH'
+
+ case $cc_basename in
+ CC*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ ;;
+
+ sysv5* | sco3.2v5* | sco5v6*)
+ # Note: We can NOT use -z defs as we might desire, because we do not
+ # link with -lc, and that would cause any symbols used from libc to
+ # always be unresolved, which means just about no library would
+ # ever link correctly. If we're not using GNU ld we use -z text
+ # though, which does catch some bad symbols but isn't as heavy-handed
+ # as -z defs.
+ _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
+ _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
+ runpath_var='LD_RUN_PATH'
+
+ case $cc_basename in
+ CC*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
+ '"$_LT_TAGVAR(old_archive_cmds, $1)"
+ _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
+ '"$_LT_TAGVAR(reload_cmds, $1)"
+ ;;
+ *)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ ;;
+
+ tandem*)
+ case $cc_basename in
+ NCC*)
+ # NonStop-UX NCC 3.20
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+
+ vxworks*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+
+ AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
+ test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
+
+ _LT_TAGVAR(GCC, $1)="$GXX"
+ _LT_TAGVAR(LD, $1)="$LD"
+
+ ## CAVEAT EMPTOR:
+ ## There is no encapsulation within the following macros, do not change
+ ## the running order or otherwise move them around unless you know exactly
+ ## what you are doing...
+ _LT_SYS_HIDDEN_LIBDEPS($1)
+ _LT_COMPILER_PIC($1)
+ _LT_COMPILER_C_O($1)
+ _LT_COMPILER_FILE_LOCKS($1)
+ _LT_LINKER_SHLIBS($1)
+ _LT_SYS_DYNAMIC_LINKER($1)
+ _LT_LINKER_HARDCODE_LIBPATH($1)
+
+ _LT_CONFIG($1)
+ fi # test -n "$compiler"
+
+ CC=$lt_save_CC
+ CFLAGS=$lt_save_CFLAGS
+ LDCXX=$LD
+ LD=$lt_save_LD
+ GCC=$lt_save_GCC
+ with_gnu_ld=$lt_save_with_gnu_ld
+ lt_cv_path_LDCXX=$lt_cv_path_LD
+ lt_cv_path_LD=$lt_save_path_LD
+ lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
+ lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
+fi # test "$_lt_caught_CXX_error" != yes
+
+AC_LANG_POP
+])# _LT_LANG_CXX_CONFIG
+
+
+# _LT_FUNC_STRIPNAME_CNF
+# ----------------------
+# func_stripname_cnf prefix suffix name
+# strip PREFIX and SUFFIX off of NAME.
+# PREFIX and SUFFIX must not contain globbing or regex special
+# characters, hashes, percent signs, but SUFFIX may contain a leading
+# dot (in which case that matches only a dot).
+#
+# This function is identical to the (non-XSI) version of func_stripname,
+# except this one can be used by m4 code that may be executed by configure,
+# rather than the libtool script.
+m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl
+AC_REQUIRE([_LT_DECL_SED])
+AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])
+func_stripname_cnf ()
+{
+ case ${2} in
+ .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
+ *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
+ esac
+} # func_stripname_cnf
+])# _LT_FUNC_STRIPNAME_CNF
+
+# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
+# ---------------------------------
+# Figure out "hidden" library dependencies from verbose
+# compiler output when linking a shared library.
+# Parse the compiler output and extract the necessary
+# objects, libraries and library flags.
+m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl
+# Dependencies to place before and after the object being linked:
+_LT_TAGVAR(predep_objects, $1)=
+_LT_TAGVAR(postdep_objects, $1)=
+_LT_TAGVAR(predeps, $1)=
+_LT_TAGVAR(postdeps, $1)=
+_LT_TAGVAR(compiler_lib_search_path, $1)=
+
+dnl we can't use the lt_simple_compile_test_code here,
+dnl because it contains code intended for an executable,
+dnl not a library. It's possible we should let each
+dnl tag define a new lt_????_link_test_code variable,
+dnl but it's only used here...
+m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
+int a;
+void foo (void) { a = 0; }
+_LT_EOF
+], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
+class Foo
+{
+public:
+ Foo (void) { a = 0; }
+private:
+ int a;
+};
+_LT_EOF
+], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
+ subroutine foo
+ implicit none
+ integer*4 a
+ a=0
+ return
+ end
+_LT_EOF
+], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
+ subroutine foo
+ implicit none
+ integer a
+ a=0
+ return
+ end
+_LT_EOF
+], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
+public class foo {
+ private int a;
+ public void bar (void) {
+ a = 0;
+ }
+};
+_LT_EOF
+], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF
+package foo
+func foo() {
+}
+_LT_EOF
+])
+
+_lt_libdeps_save_CFLAGS=$CFLAGS
+case "$CC $CFLAGS " in #(
+*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
+*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
+*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
+esac
+
+dnl Parse the compiler output and extract the necessary
+dnl objects, libraries and library flags.
+if AC_TRY_EVAL(ac_compile); then
+ # Parse the compiler output and extract the necessary
+ # objects, libraries and library flags.
+
+ # Sentinel used to keep track of whether or not we are before
+ # the conftest object file.
+ pre_test_object_deps_done=no
+
+ for p in `eval "$output_verbose_link_cmd"`; do
+ case ${prev}${p} in
+
+ -L* | -R* | -l*)
+ # Some compilers place space between "-{L,R}" and the path.
+ # Remove the space.
+ if test $p = "-L" ||
+ test $p = "-R"; then
+ prev=$p
+ continue
+ fi
+
+ # Expand the sysroot to ease extracting the directories later.
+ if test -z "$prev"; then
+ case $p in
+ -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
+ -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
+ -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
+ esac
+ fi
+ case $p in
+ =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
+ esac
+ if test "$pre_test_object_deps_done" = no; then
+ case ${prev} in
+ -L | -R)
+ # Internal compiler library paths should come after those
+ # provided the user. The postdeps already come after the
+ # user supplied libs so there is no need to process them.
+ if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
+ _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
+ else
+ _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
+ fi
+ ;;
+ # The "-l" case would never come before the object being
+ # linked, so don't bother handling this case.
+ esac
+ else
+ if test -z "$_LT_TAGVAR(postdeps, $1)"; then
+ _LT_TAGVAR(postdeps, $1)="${prev}${p}"
+ else
+ _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
+ fi
+ fi
+ prev=
+ ;;
+
+ *.lto.$objext) ;; # Ignore GCC LTO objects
+ *.$objext)
+ # This assumes that the test object file only shows up
+ # once in the compiler output.
+ if test "$p" = "conftest.$objext"; then
+ pre_test_object_deps_done=yes
+ continue
+ fi
+
+ if test "$pre_test_object_deps_done" = no; then
+ if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
+ _LT_TAGVAR(predep_objects, $1)="$p"
+ else
+ _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
+ fi
+ else
+ if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
+ _LT_TAGVAR(postdep_objects, $1)="$p"
+ else
+ _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
+ fi
+ fi
+ ;;
+
+ *) ;; # Ignore the rest.
+
+ esac
+ done
+
+ # Clean up.
+ rm -f a.out a.exe
+else
+ echo "libtool.m4: error: problem compiling $1 test program"
+fi
+
+$RM -f confest.$objext
+CFLAGS=$_lt_libdeps_save_CFLAGS
+
+# PORTME: override above test on systems where it is broken
+m4_if([$1], [CXX],
+[case $host_os in
+interix[[3-9]]*)
+ # Interix 3.5 installs completely hosed .la files for C++, so rather than
+ # hack all around it, let's just trust "g++" to DTRT.
+ _LT_TAGVAR(predep_objects,$1)=
+ _LT_TAGVAR(postdep_objects,$1)=
+ _LT_TAGVAR(postdeps,$1)=
+ ;;
+
+linux*)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*)
+ # Sun C++ 5.9
+
+ # The more standards-conforming stlport4 library is
+ # incompatible with the Cstd library. Avoid specifying
+ # it if it's in CXXFLAGS. Ignore libCrun as
+ # -library=stlport4 depends on it.
+ case " $CXX $CXXFLAGS " in
+ *" -library=stlport4 "*)
+ solaris_use_stlport4=yes
+ ;;
+ esac
+
+ if test "$solaris_use_stlport4" != yes; then
+ _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
+ fi
+ ;;
+ esac
+ ;;
+
+solaris*)
+ case $cc_basename in
+ CC* | sunCC*)
+ # The more standards-conforming stlport4 library is
+ # incompatible with the Cstd library. Avoid specifying
+ # it if it's in CXXFLAGS. Ignore libCrun as
+ # -library=stlport4 depends on it.
+ case " $CXX $CXXFLAGS " in
+ *" -library=stlport4 "*)
+ solaris_use_stlport4=yes
+ ;;
+ esac
+
+ # Adding this requires a known-good setup of shared libraries for
+ # Sun compiler versions before 5.6, else PIC objects from an old
+ # archive will be linked into the output, leading to subtle bugs.
+ if test "$solaris_use_stlport4" != yes; then
+ _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
+ fi
+ ;;
+ esac
+ ;;
+esac
+])
+
+case " $_LT_TAGVAR(postdeps, $1) " in
+*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
+esac
+ _LT_TAGVAR(compiler_lib_search_dirs, $1)=
+if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
+ _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
+fi
+_LT_TAGDECL([], [compiler_lib_search_dirs], [1],
+ [The directories searched by this compiler when creating a shared library])
+_LT_TAGDECL([], [predep_objects], [1],
+ [Dependencies to place before and after the objects being linked to
+ create a shared library])
+_LT_TAGDECL([], [postdep_objects], [1])
+_LT_TAGDECL([], [predeps], [1])
+_LT_TAGDECL([], [postdeps], [1])
+_LT_TAGDECL([], [compiler_lib_search_path], [1],
+ [The library search path used internally by the compiler when linking
+ a shared library])
+])# _LT_SYS_HIDDEN_LIBDEPS
+
+
+# _LT_LANG_F77_CONFIG([TAG])
+# --------------------------
+# Ensure that the configuration variables for a Fortran 77 compiler are
+# suitably defined. These variables are subsequently used by _LT_CONFIG
+# to write the compiler configuration to `libtool'.
+m4_defun([_LT_LANG_F77_CONFIG],
+[AC_LANG_PUSH(Fortran 77)
+if test -z "$F77" || test "X$F77" = "Xno"; then
+ _lt_disable_F77=yes
+fi
+
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
+_LT_TAGVAR(allow_undefined_flag, $1)=
+_LT_TAGVAR(always_export_symbols, $1)=no
+_LT_TAGVAR(archive_expsym_cmds, $1)=
+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
+_LT_TAGVAR(hardcode_direct, $1)=no
+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
+_LT_TAGVAR(hardcode_libdir_separator, $1)=
+_LT_TAGVAR(hardcode_minus_L, $1)=no
+_LT_TAGVAR(hardcode_automatic, $1)=no
+_LT_TAGVAR(inherit_rpath, $1)=no
+_LT_TAGVAR(module_cmds, $1)=
+_LT_TAGVAR(module_expsym_cmds, $1)=
+_LT_TAGVAR(link_all_deplibs, $1)=unknown
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_TAGVAR(reload_flag, $1)=$reload_flag
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
+_LT_TAGVAR(no_undefined_flag, $1)=
+_LT_TAGVAR(whole_archive_flag_spec, $1)=
+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
+
+# Source file extension for f77 test sources.
+ac_ext=f
+
+# Object file extension for compiled f77 test sources.
+objext=o
+_LT_TAGVAR(objext, $1)=$objext
+
+# No sense in running all these tests if we already determined that
+# the F77 compiler isn't working. Some variables (like enable_shared)
+# are currently assumed to apply to all compilers on this platform,
+# and will be corrupted by setting them based on a non-working compiler.
+if test "$_lt_disable_F77" != yes; then
+ # Code to be used in simple compile tests
+ lt_simple_compile_test_code="\
+ subroutine t
+ return
+ end
+"
+
+ # Code to be used in simple link tests
+ lt_simple_link_test_code="\
+ program t
+ end
+"
+
+ # ltmain only uses $CC for tagged configurations so make sure $CC is set.
+ _LT_TAG_COMPILER
+
+ # save warnings/boilerplate of simple test code
+ _LT_COMPILER_BOILERPLATE
+ _LT_LINKER_BOILERPLATE
+
+ # Allow CC to be a program name with arguments.
+ lt_save_CC="$CC"
+ lt_save_GCC=$GCC
+ lt_save_CFLAGS=$CFLAGS
+ CC=${F77-"f77"}
+ CFLAGS=$FFLAGS
+ compiler=$CC
+ _LT_TAGVAR(compiler, $1)=$CC
+ _LT_CC_BASENAME([$compiler])
+ GCC=$G77
+ if test -n "$compiler"; then
+ AC_MSG_CHECKING([if libtool supports shared libraries])
+ AC_MSG_RESULT([$can_build_shared])
+
+ AC_MSG_CHECKING([whether to build shared libraries])
+ test "$can_build_shared" = "no" && enable_shared=no
+
+ # On AIX, shared libraries and static libraries use the same namespace, and
+ # are all built from PIC.
+ case $host_os in
+ aix3*)
+ test "$enable_shared" = yes && enable_static=no
+ if test -n "$RANLIB"; then
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
+ postinstall_cmds='$RANLIB $lib'
+ fi
+ ;;
+ aix[[4-9]]*)
+ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
+ test "$enable_shared" = yes && enable_static=no
+ fi
+ ;;
+ esac
+ AC_MSG_RESULT([$enable_shared])
+
+ AC_MSG_CHECKING([whether to build static libraries])
+ # Make sure either enable_shared or enable_static is yes.
+ test "$enable_shared" = yes || enable_static=yes
+ AC_MSG_RESULT([$enable_static])
+
+ _LT_TAGVAR(GCC, $1)="$G77"
+ _LT_TAGVAR(LD, $1)="$LD"
+
+ ## CAVEAT EMPTOR:
+ ## There is no encapsulation within the following macros, do not change
+ ## the running order or otherwise move them around unless you know exactly
+ ## what you are doing...
+ _LT_COMPILER_PIC($1)
+ _LT_COMPILER_C_O($1)
+ _LT_COMPILER_FILE_LOCKS($1)
+ _LT_LINKER_SHLIBS($1)
+ _LT_SYS_DYNAMIC_LINKER($1)
+ _LT_LINKER_HARDCODE_LIBPATH($1)
+
+ _LT_CONFIG($1)
+ fi # test -n "$compiler"
+
+ GCC=$lt_save_GCC
+ CC="$lt_save_CC"
+ CFLAGS="$lt_save_CFLAGS"
+fi # test "$_lt_disable_F77" != yes
+
+AC_LANG_POP
+])# _LT_LANG_F77_CONFIG
+
+
+# _LT_LANG_FC_CONFIG([TAG])
+# -------------------------
+# Ensure that the configuration variables for a Fortran compiler are
+# suitably defined. These variables are subsequently used by _LT_CONFIG
+# to write the compiler configuration to `libtool'.
+m4_defun([_LT_LANG_FC_CONFIG],
+[AC_LANG_PUSH(Fortran)
+
+if test -z "$FC" || test "X$FC" = "Xno"; then
+ _lt_disable_FC=yes
+fi
+
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
+_LT_TAGVAR(allow_undefined_flag, $1)=
+_LT_TAGVAR(always_export_symbols, $1)=no
+_LT_TAGVAR(archive_expsym_cmds, $1)=
+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
+_LT_TAGVAR(hardcode_direct, $1)=no
+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
+_LT_TAGVAR(hardcode_libdir_separator, $1)=
+_LT_TAGVAR(hardcode_minus_L, $1)=no
+_LT_TAGVAR(hardcode_automatic, $1)=no
+_LT_TAGVAR(inherit_rpath, $1)=no
+_LT_TAGVAR(module_cmds, $1)=
+_LT_TAGVAR(module_expsym_cmds, $1)=
+_LT_TAGVAR(link_all_deplibs, $1)=unknown
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_TAGVAR(reload_flag, $1)=$reload_flag
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
+_LT_TAGVAR(no_undefined_flag, $1)=
+_LT_TAGVAR(whole_archive_flag_spec, $1)=
+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
+
+# Source file extension for fc test sources.
+ac_ext=${ac_fc_srcext-f}
+
+# Object file extension for compiled fc test sources.
+objext=o
+_LT_TAGVAR(objext, $1)=$objext
+
+# No sense in running all these tests if we already determined that
+# the FC compiler isn't working. Some variables (like enable_shared)
+# are currently assumed to apply to all compilers on this platform,
+# and will be corrupted by setting them based on a non-working compiler.
+if test "$_lt_disable_FC" != yes; then
+ # Code to be used in simple compile tests
+ lt_simple_compile_test_code="\
+ subroutine t
+ return
+ end
+"
+
+ # Code to be used in simple link tests
+ lt_simple_link_test_code="\
+ program t
+ end
+"
+
+ # ltmain only uses $CC for tagged configurations so make sure $CC is set.
+ _LT_TAG_COMPILER
+
+ # save warnings/boilerplate of simple test code
+ _LT_COMPILER_BOILERPLATE
+ _LT_LINKER_BOILERPLATE
+
+ # Allow CC to be a program name with arguments.
+ lt_save_CC="$CC"
+ lt_save_GCC=$GCC
+ lt_save_CFLAGS=$CFLAGS
+ CC=${FC-"f95"}
+ CFLAGS=$FCFLAGS
+ compiler=$CC
+ GCC=$ac_cv_fc_compiler_gnu
+
+ _LT_TAGVAR(compiler, $1)=$CC
+ _LT_CC_BASENAME([$compiler])
+
+ if test -n "$compiler"; then
+ AC_MSG_CHECKING([if libtool supports shared libraries])
+ AC_MSG_RESULT([$can_build_shared])
+
+ AC_MSG_CHECKING([whether to build shared libraries])
+ test "$can_build_shared" = "no" && enable_shared=no
+
+ # On AIX, shared libraries and static libraries use the same namespace, and
+ # are all built from PIC.
+ case $host_os in
+ aix3*)
+ test "$enable_shared" = yes && enable_static=no
+ if test -n "$RANLIB"; then
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
+ postinstall_cmds='$RANLIB $lib'
+ fi
+ ;;
+ aix[[4-9]]*)
+ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
+ test "$enable_shared" = yes && enable_static=no
+ fi
+ ;;
+ esac
+ AC_MSG_RESULT([$enable_shared])
+
+ AC_MSG_CHECKING([whether to build static libraries])
+ # Make sure either enable_shared or enable_static is yes.
+ test "$enable_shared" = yes || enable_static=yes
+ AC_MSG_RESULT([$enable_static])
+
+ _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu"
+ _LT_TAGVAR(LD, $1)="$LD"
+
+ ## CAVEAT EMPTOR:
+ ## There is no encapsulation within the following macros, do not change
+ ## the running order or otherwise move them around unless you know exactly
+ ## what you are doing...
+ _LT_SYS_HIDDEN_LIBDEPS($1)
+ _LT_COMPILER_PIC($1)
+ _LT_COMPILER_C_O($1)
+ _LT_COMPILER_FILE_LOCKS($1)
+ _LT_LINKER_SHLIBS($1)
+ _LT_SYS_DYNAMIC_LINKER($1)
+ _LT_LINKER_HARDCODE_LIBPATH($1)
+
+ _LT_CONFIG($1)
+ fi # test -n "$compiler"
+
+ GCC=$lt_save_GCC
+ CC=$lt_save_CC
+ CFLAGS=$lt_save_CFLAGS
+fi # test "$_lt_disable_FC" != yes
+
+AC_LANG_POP
+])# _LT_LANG_FC_CONFIG
+
+
+# _LT_LANG_GCJ_CONFIG([TAG])
+# --------------------------
+# Ensure that the configuration variables for the GNU Java Compiler compiler
+# are suitably defined. These variables are subsequently used by _LT_CONFIG
+# to write the compiler configuration to `libtool'.
+m4_defun([_LT_LANG_GCJ_CONFIG],
+[AC_REQUIRE([LT_PROG_GCJ])dnl
+AC_LANG_SAVE
+
+# Source file extension for Java test sources.
+ac_ext=java
+
+# Object file extension for compiled Java test sources.
+objext=o
+_LT_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="class foo {}"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
+
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+_LT_TAG_COMPILER
+
+# save warnings/boilerplate of simple test code
+_LT_COMPILER_BOILERPLATE
+_LT_LINKER_BOILERPLATE
+
+# Allow CC to be a program name with arguments.
+lt_save_CC=$CC
+lt_save_CFLAGS=$CFLAGS
+lt_save_GCC=$GCC
+GCC=yes
+CC=${GCJ-"gcj"}
+CFLAGS=$GCJFLAGS
+compiler=$CC
+_LT_TAGVAR(compiler, $1)=$CC
+_LT_TAGVAR(LD, $1)="$LD"
+_LT_CC_BASENAME([$compiler])
+
+# GCJ did not exist at the time GCC didn't implicitly link libc in.
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
+
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_TAGVAR(reload_flag, $1)=$reload_flag
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+if test -n "$compiler"; then
+ _LT_COMPILER_NO_RTTI($1)
+ _LT_COMPILER_PIC($1)
+ _LT_COMPILER_C_O($1)
+ _LT_COMPILER_FILE_LOCKS($1)
+ _LT_LINKER_SHLIBS($1)
+ _LT_LINKER_HARDCODE_LIBPATH($1)
+
+ _LT_CONFIG($1)
+fi
+
+AC_LANG_RESTORE
+
+GCC=$lt_save_GCC
+CC=$lt_save_CC
+CFLAGS=$lt_save_CFLAGS
+])# _LT_LANG_GCJ_CONFIG
+
+
+# _LT_LANG_GO_CONFIG([TAG])
+# --------------------------
+# Ensure that the configuration variables for the GNU Go compiler
+# are suitably defined. These variables are subsequently used by _LT_CONFIG
+# to write the compiler configuration to `libtool'.
+m4_defun([_LT_LANG_GO_CONFIG],
+[AC_REQUIRE([LT_PROG_GO])dnl
+AC_LANG_SAVE
+
+# Source file extension for Go test sources.
+ac_ext=go
+
+# Object file extension for compiled Go test sources.
+objext=o
+_LT_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="package main; func main() { }"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='package main; func main() { }'
+
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+_LT_TAG_COMPILER
+
+# save warnings/boilerplate of simple test code
+_LT_COMPILER_BOILERPLATE
+_LT_LINKER_BOILERPLATE
+
+# Allow CC to be a program name with arguments.
+lt_save_CC=$CC
+lt_save_CFLAGS=$CFLAGS
+lt_save_GCC=$GCC
+GCC=yes
+CC=${GOC-"gccgo"}
+CFLAGS=$GOFLAGS
+compiler=$CC
+_LT_TAGVAR(compiler, $1)=$CC
+_LT_TAGVAR(LD, $1)="$LD"
+_LT_CC_BASENAME([$compiler])
+
+# Go did not exist at the time GCC didn't implicitly link libc in.
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
+
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_TAGVAR(reload_flag, $1)=$reload_flag
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+if test -n "$compiler"; then
+ _LT_COMPILER_NO_RTTI($1)
+ _LT_COMPILER_PIC($1)
+ _LT_COMPILER_C_O($1)
+ _LT_COMPILER_FILE_LOCKS($1)
+ _LT_LINKER_SHLIBS($1)
+ _LT_LINKER_HARDCODE_LIBPATH($1)
+
+ _LT_CONFIG($1)
+fi
+
+AC_LANG_RESTORE
+
+GCC=$lt_save_GCC
+CC=$lt_save_CC
+CFLAGS=$lt_save_CFLAGS
+])# _LT_LANG_GO_CONFIG
+
+
+# _LT_LANG_RC_CONFIG([TAG])
+# -------------------------
+# Ensure that the configuration variables for the Windows resource compiler
+# are suitably defined. These variables are subsequently used by _LT_CONFIG
+# to write the compiler configuration to `libtool'.
+m4_defun([_LT_LANG_RC_CONFIG],
+[AC_REQUIRE([LT_PROG_RC])dnl
+AC_LANG_SAVE
+
+# Source file extension for RC test sources.
+ac_ext=rc
+
+# Object file extension for compiled RC test sources.
+objext=o
+_LT_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
+
+# Code to be used in simple link tests
+lt_simple_link_test_code="$lt_simple_compile_test_code"
+
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+_LT_TAG_COMPILER
+
+# save warnings/boilerplate of simple test code
+_LT_COMPILER_BOILERPLATE
+_LT_LINKER_BOILERPLATE
+
+# Allow CC to be a program name with arguments.
+lt_save_CC="$CC"
+lt_save_CFLAGS=$CFLAGS
+lt_save_GCC=$GCC
+GCC=
+CC=${RC-"windres"}
+CFLAGS=
+compiler=$CC
+_LT_TAGVAR(compiler, $1)=$CC
+_LT_CC_BASENAME([$compiler])
+_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
+
+if test -n "$compiler"; then
+ :
+ _LT_CONFIG($1)
+fi
+
+GCC=$lt_save_GCC
+AC_LANG_RESTORE
+CC=$lt_save_CC
+CFLAGS=$lt_save_CFLAGS
+])# _LT_LANG_RC_CONFIG
+
+
+# LT_PROG_GCJ
+# -----------
+AC_DEFUN([LT_PROG_GCJ],
+[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
+ [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
+ [AC_CHECK_TOOL(GCJ, gcj,)
+ test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
+ AC_SUBST(GCJFLAGS)])])[]dnl
+])
+
+# Old name:
+AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
+
+
+# LT_PROG_GO
+# ----------
+AC_DEFUN([LT_PROG_GO],
+[AC_CHECK_TOOL(GOC, gccgo,)
+])
+
+
+# LT_PROG_RC
+# ----------
+AC_DEFUN([LT_PROG_RC],
+[AC_CHECK_TOOL(RC, windres,)
+])
+
+# Old name:
+AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([LT_AC_PROG_RC], [])
+
+
+# _LT_DECL_EGREP
+# --------------
+# If we don't have a new enough Autoconf to choose the best grep
+# available, choose the one first in the user's PATH.
+m4_defun([_LT_DECL_EGREP],
+[AC_REQUIRE([AC_PROG_EGREP])dnl
+AC_REQUIRE([AC_PROG_FGREP])dnl
+test -z "$GREP" && GREP=grep
+_LT_DECL([], [GREP], [1], [A grep program that handles long lines])
+_LT_DECL([], [EGREP], [1], [An ERE matcher])
+_LT_DECL([], [FGREP], [1], [A literal string matcher])
+dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
+AC_SUBST([GREP])
+])
+
+
+# _LT_DECL_OBJDUMP
+# --------------
+# If we don't have a new enough Autoconf to choose the best objdump
+# available, choose the one first in the user's PATH.
+m4_defun([_LT_DECL_OBJDUMP],
+[AC_CHECK_TOOL(OBJDUMP, objdump, false)
+test -z "$OBJDUMP" && OBJDUMP=objdump
+_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
+AC_SUBST([OBJDUMP])
+])
+
+# _LT_DECL_DLLTOOL
+# ----------------
+# Ensure DLLTOOL variable is set.
+m4_defun([_LT_DECL_DLLTOOL],
+[AC_CHECK_TOOL(DLLTOOL, dlltool, false)
+test -z "$DLLTOOL" && DLLTOOL=dlltool
+_LT_DECL([], [DLLTOOL], [1], [DLL creation program])
+AC_SUBST([DLLTOOL])
+])
+
+# _LT_DECL_SED
+# ------------
+# Check for a fully-functional sed program, that truncates
+# as few characters as possible. Prefer GNU sed if found.
+m4_defun([_LT_DECL_SED],
+[AC_PROG_SED
+test -z "$SED" && SED=sed
+Xsed="$SED -e 1s/^X//"
+_LT_DECL([], [SED], [1], [A sed program that does not truncate output])
+_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
+ [Sed that helps us avoid accidentally triggering echo(1) options like -n])
+])# _LT_DECL_SED
+
+m4_ifndef([AC_PROG_SED], [
+############################################################
+# NOTE: This macro has been submitted for inclusion into #
+# GNU Autoconf as AC_PROG_SED. When it is available in #
+# a released version of Autoconf we should remove this #
+# macro and use it instead. #
+############################################################
+
+m4_defun([AC_PROG_SED],
+[AC_MSG_CHECKING([for a sed that does not truncate output])
+AC_CACHE_VAL(lt_cv_path_SED,
+[# Loop through the user's path and test for sed and gsed.
+# Then use that list of sed's as ones to test for truncation.
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for lt_ac_prog in sed gsed; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
+ lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
+ fi
+ done
+ done
+done
+IFS=$as_save_IFS
+lt_ac_max=0
+lt_ac_count=0
+# Add /usr/xpg4/bin/sed as it is typically found on Solaris
+# along with /bin/sed that truncates output.
+for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
+ test ! -f $lt_ac_sed && continue
+ cat /dev/null > conftest.in
+ lt_ac_count=0
+ echo $ECHO_N "0123456789$ECHO_C" >conftest.in
+ # Check for GNU sed and select it if it is found.
+ if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
+ lt_cv_path_SED=$lt_ac_sed
+ break
+ fi
+ while true; do
+ cat conftest.in conftest.in >conftest.tmp
+ mv conftest.tmp conftest.in
+ cp conftest.in conftest.nl
+ echo >>conftest.nl
+ $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
+ cmp -s conftest.out conftest.nl || break
+ # 10000 chars as input seems more than enough
+ test $lt_ac_count -gt 10 && break
+ lt_ac_count=`expr $lt_ac_count + 1`
+ if test $lt_ac_count -gt $lt_ac_max; then
+ lt_ac_max=$lt_ac_count
+ lt_cv_path_SED=$lt_ac_sed
+ fi
+ done
+done
+])
+SED=$lt_cv_path_SED
+AC_SUBST([SED])
+AC_MSG_RESULT([$SED])
+])#AC_PROG_SED
+])#m4_ifndef
+
+# Old name:
+AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([LT_AC_PROG_SED], [])
+
+
+# _LT_CHECK_SHELL_FEATURES
+# ------------------------
+# Find out whether the shell is Bourne or XSI compatible,
+# or has some other useful features.
+m4_defun([_LT_CHECK_SHELL_FEATURES],
+[AC_MSG_CHECKING([whether the shell understands some XSI constructs])
+# Try some XSI features
+xsi_shell=no
+( _lt_dummy="a/b/c"
+ test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
+ = c,a/b,b/c, \
+ && eval 'test $(( 1 + 1 )) -eq 2 \
+ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
+ && xsi_shell=yes
+AC_MSG_RESULT([$xsi_shell])
+_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell'])
+
+AC_MSG_CHECKING([whether the shell understands "+="])
+lt_shell_append=no
+( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \
+ >/dev/null 2>&1 \
+ && lt_shell_append=yes
+AC_MSG_RESULT([$lt_shell_append])
+_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append'])
+
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
+ lt_unset=unset
+else
+ lt_unset=false
+fi
+_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl
+
+# test EBCDIC or ASCII
+case `echo X|tr X '\101'` in
+ A) # ASCII based system
+ # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
+ lt_SP2NL='tr \040 \012'
+ lt_NL2SP='tr \015\012 \040\040'
+ ;;
+ *) # EBCDIC based system
+ lt_SP2NL='tr \100 \n'
+ lt_NL2SP='tr \r\n \100\100'
+ ;;
+esac
+_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl
+_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
+])# _LT_CHECK_SHELL_FEATURES
+
+
+# _LT_PROG_FUNCTION_REPLACE (FUNCNAME, REPLACEMENT-BODY)
+# ------------------------------------------------------
+# In `$cfgfile', look for function FUNCNAME delimited by `^FUNCNAME ()$' and
+# '^} FUNCNAME ', and replace its body with REPLACEMENT-BODY.
+m4_defun([_LT_PROG_FUNCTION_REPLACE],
+[dnl {
+sed -e '/^$1 ()$/,/^} # $1 /c\
+$1 ()\
+{\
+m4_bpatsubsts([$2], [$], [\\], [^\([ ]\)], [\\\1])
+} # Extended-shell $1 implementation' "$cfgfile" > $cfgfile.tmp \
+ && mv -f "$cfgfile.tmp" "$cfgfile" \
+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+])
+
+
+# _LT_PROG_REPLACE_SHELLFNS
+# -------------------------
+# Replace existing portable implementations of several shell functions with
+# equivalent extended shell implementations where those features are available..
+m4_defun([_LT_PROG_REPLACE_SHELLFNS],
+[if test x"$xsi_shell" = xyes; then
+ _LT_PROG_FUNCTION_REPLACE([func_dirname], [dnl
+ case ${1} in
+ */*) func_dirname_result="${1%/*}${2}" ;;
+ * ) func_dirname_result="${3}" ;;
+ esac])
+
+ _LT_PROG_FUNCTION_REPLACE([func_basename], [dnl
+ func_basename_result="${1##*/}"])
+
+ _LT_PROG_FUNCTION_REPLACE([func_dirname_and_basename], [dnl
+ case ${1} in
+ */*) func_dirname_result="${1%/*}${2}" ;;
+ * ) func_dirname_result="${3}" ;;
+ esac
+ func_basename_result="${1##*/}"])
+
+ _LT_PROG_FUNCTION_REPLACE([func_stripname], [dnl
+ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
+ # positional parameters, so assign one to ordinary parameter first.
+ func_stripname_result=${3}
+ func_stripname_result=${func_stripname_result#"${1}"}
+ func_stripname_result=${func_stripname_result%"${2}"}])
+
+ _LT_PROG_FUNCTION_REPLACE([func_split_long_opt], [dnl
+ func_split_long_opt_name=${1%%=*}
+ func_split_long_opt_arg=${1#*=}])
+
+ _LT_PROG_FUNCTION_REPLACE([func_split_short_opt], [dnl
+ func_split_short_opt_arg=${1#??}
+ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}])
+
+ _LT_PROG_FUNCTION_REPLACE([func_lo2o], [dnl
+ case ${1} in
+ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
+ *) func_lo2o_result=${1} ;;
+ esac])
+
+ _LT_PROG_FUNCTION_REPLACE([func_xform], [ func_xform_result=${1%.*}.lo])
+
+ _LT_PROG_FUNCTION_REPLACE([func_arith], [ func_arith_result=$(( $[*] ))])
+
+ _LT_PROG_FUNCTION_REPLACE([func_len], [ func_len_result=${#1}])
+fi
+
+if test x"$lt_shell_append" = xyes; then
+ _LT_PROG_FUNCTION_REPLACE([func_append], [ eval "${1}+=\\${2}"])
+
+ _LT_PROG_FUNCTION_REPLACE([func_append_quoted], [dnl
+ func_quote_for_eval "${2}"
+dnl m4 expansion turns \\\\ into \\, and then the shell eval turns that into \
+ eval "${1}+=\\\\ \\$func_quote_for_eval_result"])
+
+ # Save a `func_append' function call where possible by direct use of '+='
+ sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
+ && mv -f "$cfgfile.tmp" "$cfgfile" \
+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+ test 0 -eq $? || _lt_function_replace_fail=:
+else
+ # Save a `func_append' function call even when '+=' is not available
+ sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
+ && mv -f "$cfgfile.tmp" "$cfgfile" \
+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+ test 0 -eq $? || _lt_function_replace_fail=:
+fi
+
+if test x"$_lt_function_replace_fail" = x":"; then
+ AC_MSG_WARN([Unable to substitute extended shell functions in $ofile])
+fi
+])
+
+# _LT_PATH_CONVERSION_FUNCTIONS
+# -----------------------------
+# Determine which file name conversion functions should be used by
+# func_to_host_file (and, implicitly, by func_to_host_path). These are needed
+# for certain cross-compile configurations and native mingw.
+m4_defun([_LT_PATH_CONVERSION_FUNCTIONS],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+AC_MSG_CHECKING([how to convert $build file names to $host format])
+AC_CACHE_VAL(lt_cv_to_host_file_cmd,
+[case $host in
+ *-*-mingw* )
+ case $build in
+ *-*-mingw* ) # actually msys
+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
+ ;;
+ *-*-cygwin* )
+ lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
+ ;;
+ * ) # otherwise, assume *nix
+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
+ ;;
+ esac
+ ;;
+ *-*-cygwin* )
+ case $build in
+ *-*-mingw* ) # actually msys
+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
+ ;;
+ *-*-cygwin* )
+ lt_cv_to_host_file_cmd=func_convert_file_noop
+ ;;
+ * ) # otherwise, assume *nix
+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
+ ;;
+ esac
+ ;;
+ * ) # unhandled hosts (and "normal" native builds)
+ lt_cv_to_host_file_cmd=func_convert_file_noop
+ ;;
+esac
+])
+to_host_file_cmd=$lt_cv_to_host_file_cmd
+AC_MSG_RESULT([$lt_cv_to_host_file_cmd])
+_LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd],
+ [0], [convert $build file names to $host format])dnl
+
+AC_MSG_CHECKING([how to convert $build file names to toolchain format])
+AC_CACHE_VAL(lt_cv_to_tool_file_cmd,
+[#assume ordinary cross tools, or native build.
+lt_cv_to_tool_file_cmd=func_convert_file_noop
+case $host in
+ *-*-mingw* )
+ case $build in
+ *-*-mingw* ) # actually msys
+ lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
+ ;;
+ esac
+ ;;
+esac
+])
+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
+AC_MSG_RESULT([$lt_cv_to_tool_file_cmd])
+_LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd],
+ [0], [convert $build files to toolchain format])dnl
+])# _LT_PATH_CONVERSION_FUNCTIONS
diff --git a/biblio/bibtex/utils/mkbib/m4/lock.m4 b/biblio/bibtex/utils/mkbib/m4/lock.m4
new file mode 100644
index 0000000000..9111933535
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/lock.m4
@@ -0,0 +1,316 @@
+# lock.m4 serial 7 (gettext-0.17)
+dnl Copyright (C) 2005-2007 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl From Bruno Haible.
+
+dnl Tests for a multithreading library to be used.
+dnl Defines at most one of the macros USE_POSIX_THREADS, USE_SOLARIS_THREADS,
+dnl USE_PTH_THREADS, USE_WIN32_THREADS
+dnl Sets the variables LIBTHREAD and LTLIBTHREAD to the linker options for use
+dnl in a Makefile (LIBTHREAD for use without libtool, LTLIBTHREAD for use with
+dnl libtool).
+dnl Sets the variables LIBMULTITHREAD and LTLIBMULTITHREAD similarly, for
+dnl programs that really need multithread functionality. The difference
+dnl between LIBTHREAD and LIBMULTITHREAD is that on platforms supporting weak
+dnl symbols, typically LIBTHREAD="" whereas LIBMULTITHREAD="-lpthread".
+dnl Adds to CPPFLAGS the flag -D_REENTRANT or -D_THREAD_SAFE if needed for
+dnl multithread-safe programs.
+
+AC_DEFUN([gl_LOCK_EARLY],
+[
+ AC_REQUIRE([gl_LOCK_EARLY_BODY])
+])
+
+dnl The guts of gl_LOCK_EARLY. Needs to be expanded only once.
+
+AC_DEFUN([gl_LOCK_EARLY_BODY],
+[
+ dnl Ordering constraints: This macro modifies CPPFLAGS in a way that
+ dnl influences the result of the autoconf tests that test for *_unlocked
+ dnl declarations, on AIX 5 at least. Therefore it must come early.
+ AC_BEFORE([$0], [gl_FUNC_GLIBC_UNLOCKED_IO])dnl
+ AC_BEFORE([$0], [gl_ARGP])dnl
+
+ AC_REQUIRE([AC_CANONICAL_HOST])
+ dnl _GNU_SOURCE is needed for pthread_rwlock_t on glibc systems.
+ dnl AC_USE_SYSTEM_EXTENSIONS was introduced in autoconf 2.60 and obsoletes
+ dnl AC_GNU_SOURCE.
+ m4_ifdef([AC_USE_SYSTEM_EXTENSIONS],
+ [AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])],
+ [AC_REQUIRE([AC_GNU_SOURCE])])
+ dnl Check for multithreading.
+ AC_ARG_ENABLE(threads,
+AC_HELP_STRING([--enable-threads={posix|solaris|pth|win32}], [specify multithreading API])
+AC_HELP_STRING([--disable-threads], [build without multithread safety]),
+ [gl_use_threads=$enableval],
+ [case "$host_os" in
+ dnl Disable multithreading by default on OSF/1, because it interferes
+ dnl with fork()/exec(): When msgexec is linked with -lpthread, its child
+ dnl process gets an endless segmentation fault inside execvp().
+ osf*) gl_use_threads=no ;;
+ *) gl_use_threads=yes ;;
+ esac
+ ])
+ if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
+ # For using <pthread.h>:
+ case "$host_os" in
+ osf*)
+ # On OSF/1, the compiler needs the flag -D_REENTRANT so that it
+ # groks <pthread.h>. cc also understands the flag -pthread, but
+ # we don't use it because 1. gcc-2.95 doesn't understand -pthread,
+ # 2. putting a flag into CPPFLAGS that has an effect on the linker
+ # causes the AC_TRY_LINK test below to succeed unexpectedly,
+ # leading to wrong values of LIBTHREAD and LTLIBTHREAD.
+ CPPFLAGS="$CPPFLAGS -D_REENTRANT"
+ ;;
+ esac
+ # Some systems optimize for single-threaded programs by default, and
+ # need special flags to disable these optimizations. For example, the
+ # definition of 'errno' in <errno.h>.
+ case "$host_os" in
+ aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;;
+ solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;;
+ esac
+ fi
+])
+
+dnl The guts of gl_LOCK. Needs to be expanded only once.
+
+AC_DEFUN([gl_LOCK_BODY],
+[
+ AC_REQUIRE([gl_LOCK_EARLY_BODY])
+ gl_threads_api=none
+ LIBTHREAD=
+ LTLIBTHREAD=
+ LIBMULTITHREAD=
+ LTLIBMULTITHREAD=
+ if test "$gl_use_threads" != no; then
+ dnl Check whether the compiler and linker support weak declarations.
+ AC_MSG_CHECKING([whether imported symbols can be declared weak])
+ gl_have_weak=no
+ AC_TRY_LINK([extern void xyzzy ();
+#pragma weak xyzzy], [xyzzy();], [gl_have_weak=yes])
+ AC_MSG_RESULT([$gl_have_weak])
+ if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
+ # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that
+ # it groks <pthread.h>. It's added above, in gl_LOCK_EARLY_BODY.
+ AC_CHECK_HEADER(pthread.h, gl_have_pthread_h=yes, gl_have_pthread_h=no)
+ if test "$gl_have_pthread_h" = yes; then
+ # Other possible tests:
+ # -lpthreads (FSU threads, PCthreads)
+ # -lgthreads
+ gl_have_pthread=
+ # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist
+ # in libc. IRIX 6.5 has the first one in both libc and libpthread, but
+ # the second one only in libpthread, and lock.c needs it.
+ AC_TRY_LINK([#include <pthread.h>],
+ [pthread_mutex_lock((pthread_mutex_t*)0);
+ pthread_mutexattr_init((pthread_mutexattr_t*)0);],
+ [gl_have_pthread=yes])
+ # Test for libpthread by looking for pthread_kill. (Not pthread_self,
+ # since it is defined as a macro on OSF/1.)
+ if test -n "$gl_have_pthread"; then
+ # The program links fine without libpthread. But it may actually
+ # need to link with libpthread in order to create multiple threads.
+ AC_CHECK_LIB(pthread, pthread_kill,
+ [LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
+ # On Solaris and HP-UX, most pthread functions exist also in libc.
+ # Therefore pthread_in_use() needs to actually try to create a
+ # thread: pthread_create from libc will fail, whereas
+ # pthread_create will actually create a thread.
+ case "$host_os" in
+ solaris* | hpux*)
+ AC_DEFINE([PTHREAD_IN_USE_DETECTION_HARD], 1,
+ [Define if the pthread_in_use() detection is hard.])
+ esac
+ ])
+ else
+ # Some library is needed. Try libpthread and libc_r.
+ AC_CHECK_LIB(pthread, pthread_kill,
+ [gl_have_pthread=yes
+ LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread
+ LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread])
+ if test -z "$gl_have_pthread"; then
+ # For FreeBSD 4.
+ AC_CHECK_LIB(c_r, pthread_kill,
+ [gl_have_pthread=yes
+ LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r
+ LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r])
+ fi
+ fi
+ if test -n "$gl_have_pthread"; then
+ gl_threads_api=posix
+ AC_DEFINE([USE_POSIX_THREADS], 1,
+ [Define if the POSIX multithreading library can be used.])
+ if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
+ if test $gl_have_weak = yes; then
+ AC_DEFINE([USE_POSIX_THREADS_WEAK], 1,
+ [Define if references to the POSIX multithreading library should be made weak.])
+ LIBTHREAD=
+ LTLIBTHREAD=
+ fi
+ fi
+ # OSF/1 4.0 and MacOS X 10.1 lack the pthread_rwlock_t type and the
+ # pthread_rwlock_* functions.
+ AC_CHECK_TYPE([pthread_rwlock_t],
+ [AC_DEFINE([HAVE_PTHREAD_RWLOCK], 1,
+ [Define if the POSIX multithreading library has read/write locks.])],
+ [],
+ [#include <pthread.h>])
+ # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro.
+ AC_TRY_COMPILE([#include <pthread.h>],
+ [#if __FreeBSD__ == 4
+error "No, in FreeBSD 4.0 recursive mutexes actually don't work."
+#else
+int x = (int)PTHREAD_MUTEX_RECURSIVE;
+return !x;
+#endif],
+ [AC_DEFINE([HAVE_PTHREAD_MUTEX_RECURSIVE], 1,
+ [Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE.])])
+ fi
+ fi
+ fi
+ if test -z "$gl_have_pthread"; then
+ if test "$gl_use_threads" = yes || test "$gl_use_threads" = solaris; then
+ gl_have_solaristhread=
+ gl_save_LIBS="$LIBS"
+ LIBS="$LIBS -lthread"
+ AC_TRY_LINK([#include <thread.h>
+#include <synch.h>],
+ [thr_self();],
+ [gl_have_solaristhread=yes])
+ LIBS="$gl_save_LIBS"
+ if test -n "$gl_have_solaristhread"; then
+ gl_threads_api=solaris
+ LIBTHREAD=-lthread
+ LTLIBTHREAD=-lthread
+ LIBMULTITHREAD="$LIBTHREAD"
+ LTLIBMULTITHREAD="$LTLIBTHREAD"
+ AC_DEFINE([USE_SOLARIS_THREADS], 1,
+ [Define if the old Solaris multithreading library can be used.])
+ if test $gl_have_weak = yes; then
+ AC_DEFINE([USE_SOLARIS_THREADS_WEAK], 1,
+ [Define if references to the old Solaris multithreading library should be made weak.])
+ LIBTHREAD=
+ LTLIBTHREAD=
+ fi
+ fi
+ fi
+ fi
+ if test "$gl_use_threads" = pth; then
+ gl_save_CPPFLAGS="$CPPFLAGS"
+ AC_LIB_LINKFLAGS(pth)
+ gl_have_pth=
+ gl_save_LIBS="$LIBS"
+ LIBS="$LIBS -lpth"
+ AC_TRY_LINK([#include <pth.h>], [pth_self();], gl_have_pth=yes)
+ LIBS="$gl_save_LIBS"
+ if test -n "$gl_have_pth"; then
+ gl_threads_api=pth
+ LIBTHREAD="$LIBPTH"
+ LTLIBTHREAD="$LTLIBPTH"
+ LIBMULTITHREAD="$LIBTHREAD"
+ LTLIBMULTITHREAD="$LTLIBTHREAD"
+ AC_DEFINE([USE_PTH_THREADS], 1,
+ [Define if the GNU Pth multithreading library can be used.])
+ if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
+ if test $gl_have_weak = yes; then
+ AC_DEFINE([USE_PTH_THREADS_WEAK], 1,
+ [Define if references to the GNU Pth multithreading library should be made weak.])
+ LIBTHREAD=
+ LTLIBTHREAD=
+ fi
+ fi
+ else
+ CPPFLAGS="$gl_save_CPPFLAGS"
+ fi
+ fi
+ if test -z "$gl_have_pthread"; then
+ if test "$gl_use_threads" = yes || test "$gl_use_threads" = win32; then
+ if { case "$host_os" in
+ mingw*) true;;
+ *) false;;
+ esac
+ }; then
+ gl_threads_api=win32
+ AC_DEFINE([USE_WIN32_THREADS], 1,
+ [Define if the Win32 multithreading API can be used.])
+ fi
+ fi
+ fi
+ fi
+ AC_MSG_CHECKING([for multithread API to use])
+ AC_MSG_RESULT([$gl_threads_api])
+ AC_SUBST(LIBTHREAD)
+ AC_SUBST(LTLIBTHREAD)
+ AC_SUBST(LIBMULTITHREAD)
+ AC_SUBST(LTLIBMULTITHREAD)
+])
+
+AC_DEFUN([gl_LOCK],
+[
+ AC_REQUIRE([gl_LOCK_EARLY])
+ AC_REQUIRE([gl_LOCK_BODY])
+ gl_PREREQ_LOCK
+])
+
+# Prerequisites of lib/lock.c.
+AC_DEFUN([gl_PREREQ_LOCK], [
+ AC_REQUIRE([AC_C_INLINE])
+])
+
+dnl Survey of platforms:
+dnl
+dnl Platform Available Compiler Supports test-lock
+dnl flavours option weak result
+dnl --------------- --------- --------- -------- ---------
+dnl Linux 2.4/glibc posix -lpthread Y OK
+dnl
+dnl GNU Hurd/glibc posix
+dnl
+dnl FreeBSD 5.3 posix -lc_r Y
+dnl posix -lkse ? Y
+dnl posix -lpthread ? Y
+dnl posix -lthr Y
+dnl
+dnl FreeBSD 5.2 posix -lc_r Y
+dnl posix -lkse Y
+dnl posix -lthr Y
+dnl
+dnl FreeBSD 4.0,4.10 posix -lc_r Y OK
+dnl
+dnl NetBSD 1.6 --
+dnl
+dnl OpenBSD 3.4 posix -lpthread Y OK
+dnl
+dnl MacOS X 10.[123] posix -lpthread Y OK
+dnl
+dnl Solaris 7,8,9 posix -lpthread Y Sol 7,8: 0.0; Sol 9: OK
+dnl solaris -lthread Y Sol 7,8: 0.0; Sol 9: OK
+dnl
+dnl HP-UX 11 posix -lpthread N (cc) OK
+dnl Y (gcc)
+dnl
+dnl IRIX 6.5 posix -lpthread Y 0.5
+dnl
+dnl AIX 4.3,5.1 posix -lpthread N AIX 4: 0.5; AIX 5: OK
+dnl
+dnl OSF/1 4.0,5.1 posix -pthread (cc) N OK
+dnl -lpthread (gcc) Y
+dnl
+dnl Cygwin posix -lpthread Y OK
+dnl
+dnl Any of the above pth -lpth 0.0
+dnl
+dnl Mingw win32 N OK
+dnl
+dnl BeOS 5 --
+dnl
+dnl The test-lock result shows what happens if in test-lock.c EXPLICIT_YIELD is
+dnl turned off:
+dnl OK if all three tests terminate OK,
+dnl 0.5 if the first test terminates OK but the second one loops endlessly,
+dnl 0.0 if the first test already loops endlessly.
diff --git a/biblio/bibtex/utils/mkbib/m4/longlong.m4 b/biblio/bibtex/utils/mkbib/m4/longlong.m4
new file mode 100644
index 0000000000..a72e53b3ed
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/longlong.m4
@@ -0,0 +1,109 @@
+# longlong.m4 serial 13
+dnl Copyright (C) 1999-2007 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl From Paul Eggert.
+
+# Define HAVE_LONG_LONG_INT if 'long long int' works.
+# This fixes a bug in Autoconf 2.61, but can be removed once we
+# assume 2.62 everywhere.
+
+# Note: If the type 'long long int' exists but is only 32 bits large
+# (as on some very old compilers), HAVE_LONG_LONG_INT will not be
+# defined. In this case you can treat 'long long int' like 'long int'.
+
+AC_DEFUN([AC_TYPE_LONG_LONG_INT],
+[
+ AC_CACHE_CHECK([for long long int], [ac_cv_type_long_long_int],
+ [AC_LINK_IFELSE(
+ [_AC_TYPE_LONG_LONG_SNIPPET],
+ [dnl This catches a bug in Tandem NonStop Kernel (OSS) cc -O circa 2004.
+ dnl If cross compiling, assume the bug isn't important, since
+ dnl nobody cross compiles for this platform as far as we know.
+ AC_RUN_IFELSE(
+ [AC_LANG_PROGRAM(
+ [[@%:@include <limits.h>
+ @%:@ifndef LLONG_MAX
+ @%:@ define HALF \
+ (1LL << (sizeof (long long int) * CHAR_BIT - 2))
+ @%:@ define LLONG_MAX (HALF - 1 + HALF)
+ @%:@endif]],
+ [[long long int n = 1;
+ int i;
+ for (i = 0; ; i++)
+ {
+ long long int m = n << i;
+ if (m >> i != n)
+ return 1;
+ if (LLONG_MAX / 2 < m)
+ break;
+ }
+ return 0;]])],
+ [ac_cv_type_long_long_int=yes],
+ [ac_cv_type_long_long_int=no],
+ [ac_cv_type_long_long_int=yes])],
+ [ac_cv_type_long_long_int=no])])
+ if test $ac_cv_type_long_long_int = yes; then
+ AC_DEFINE([HAVE_LONG_LONG_INT], 1,
+ [Define to 1 if the system has the type `long long int'.])
+ fi
+])
+
+# Define HAVE_UNSIGNED_LONG_LONG_INT if 'unsigned long long int' works.
+# This fixes a bug in Autoconf 2.61, but can be removed once we
+# assume 2.62 everywhere.
+
+# Note: If the type 'unsigned long long int' exists but is only 32 bits
+# large (as on some very old compilers), AC_TYPE_UNSIGNED_LONG_LONG_INT
+# will not be defined. In this case you can treat 'unsigned long long int'
+# like 'unsigned long int'.
+
+AC_DEFUN([AC_TYPE_UNSIGNED_LONG_LONG_INT],
+[
+ AC_CACHE_CHECK([for unsigned long long int],
+ [ac_cv_type_unsigned_long_long_int],
+ [AC_LINK_IFELSE(
+ [_AC_TYPE_LONG_LONG_SNIPPET],
+ [ac_cv_type_unsigned_long_long_int=yes],
+ [ac_cv_type_unsigned_long_long_int=no])])
+ if test $ac_cv_type_unsigned_long_long_int = yes; then
+ AC_DEFINE([HAVE_UNSIGNED_LONG_LONG_INT], 1,
+ [Define to 1 if the system has the type `unsigned long long int'.])
+ fi
+])
+
+# Expands to a C program that can be used to test for simultaneous support
+# of 'long long' and 'unsigned long long'. We don't want to say that
+# 'long long' is available if 'unsigned long long' is not, or vice versa,
+# because too many programs rely on the symmetry between signed and unsigned
+# integer types (excluding 'bool').
+AC_DEFUN([_AC_TYPE_LONG_LONG_SNIPPET],
+[
+ AC_LANG_PROGRAM(
+ [[/* Test preprocessor. */
+ #if ! (-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
+ error in preprocessor;
+ #endif
+ #if ! (18446744073709551615ULL <= -1ull)
+ error in preprocessor;
+ #endif
+ /* Test literals. */
+ long long int ll = 9223372036854775807ll;
+ long long int nll = -9223372036854775807LL;
+ unsigned long long int ull = 18446744073709551615ULL;
+ /* Test constant expressions. */
+ typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
+ ? 1 : -1)];
+ typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
+ ? 1 : -1)];
+ int i = 63;]],
+ [[/* Test availability of runtime routines for shift and division. */
+ long long int llmax = 9223372036854775807ll;
+ unsigned long long int ullmax = 18446744073709551615ull;
+ return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
+ | (llmax / ll) | (llmax % ll)
+ | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
+ | (ullmax / ull) | (ullmax % ull));]])
+])
diff --git a/biblio/bibtex/utils/mkbib/m4/ltoptions.m4 b/biblio/bibtex/utils/mkbib/m4/ltoptions.m4
new file mode 100644
index 0000000000..5d9acd8e23
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/ltoptions.m4
@@ -0,0 +1,384 @@
+# Helper functions for option handling. -*- Autoconf -*-
+#
+# Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,
+# Inc.
+# Written by Gary V. Vaughan, 2004
+#
+# This file is free software; the Free Software Foundation gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+
+# serial 7 ltoptions.m4
+
+# This is to help aclocal find these macros, as it can't see m4_define.
+AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
+
+
+# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
+# ------------------------------------------
+m4_define([_LT_MANGLE_OPTION],
+[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
+
+
+# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
+# ---------------------------------------
+# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
+# matching handler defined, dispatch to it. Other OPTION-NAMEs are
+# saved as a flag.
+m4_define([_LT_SET_OPTION],
+[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
+m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
+ _LT_MANGLE_DEFUN([$1], [$2]),
+ [m4_warning([Unknown $1 option `$2'])])[]dnl
+])
+
+
+# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
+# ------------------------------------------------------------
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
+m4_define([_LT_IF_OPTION],
+[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
+
+
+# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
+# -------------------------------------------------------
+# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
+# are set.
+m4_define([_LT_UNLESS_OPTIONS],
+[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
+ [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
+ [m4_define([$0_found])])])[]dnl
+m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
+])[]dnl
+])
+
+
+# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
+# ----------------------------------------
+# OPTION-LIST is a space-separated list of Libtool options associated
+# with MACRO-NAME. If any OPTION has a matching handler declared with
+# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
+# the unknown option and exit.
+m4_defun([_LT_SET_OPTIONS],
+[# Set options
+m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
+ [_LT_SET_OPTION([$1], _LT_Option)])
+
+m4_if([$1],[LT_INIT],[
+ dnl
+ dnl Simply set some default values (i.e off) if boolean options were not
+ dnl specified:
+ _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
+ ])
+ _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
+ ])
+ dnl
+ dnl If no reference was made to various pairs of opposing options, then
+ dnl we run the default mode handler for the pair. For example, if neither
+ dnl `shared' nor `disable-shared' was passed, we enable building of shared
+ dnl archives by default:
+ _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
+ _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
+ _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
+ _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
+ [_LT_ENABLE_FAST_INSTALL])
+ ])
+])# _LT_SET_OPTIONS
+
+
+## --------------------------------- ##
+## Macros to handle LT_INIT options. ##
+## --------------------------------- ##
+
+# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
+# -----------------------------------------
+m4_define([_LT_MANGLE_DEFUN],
+[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
+
+
+# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
+# -----------------------------------------------
+m4_define([LT_OPTION_DEFINE],
+[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
+])# LT_OPTION_DEFINE
+
+
+# dlopen
+# ------
+LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
+])
+
+AU_DEFUN([AC_LIBTOOL_DLOPEN],
+[_LT_SET_OPTION([LT_INIT], [dlopen])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
+put the `dlopen' option into LT_INIT's first parameter.])
+])
+
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
+
+
+# win32-dll
+# ---------
+# Declare package support for building win32 dll's.
+LT_OPTION_DEFINE([LT_INIT], [win32-dll],
+[enable_win32_dll=yes
+
+case $host in
+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
+ AC_CHECK_TOOL(AS, as, false)
+ AC_CHECK_TOOL(DLLTOOL, dlltool, false)
+ AC_CHECK_TOOL(OBJDUMP, objdump, false)
+ ;;
+esac
+
+test -z "$AS" && AS=as
+_LT_DECL([], [AS], [1], [Assembler program])dnl
+
+test -z "$DLLTOOL" && DLLTOOL=dlltool
+_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
+
+test -z "$OBJDUMP" && OBJDUMP=objdump
+_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
+])# win32-dll
+
+AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+_LT_SET_OPTION([LT_INIT], [win32-dll])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
+put the `win32-dll' option into LT_INIT's first parameter.])
+])
+
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
+
+
+# _LT_ENABLE_SHARED([DEFAULT])
+# ----------------------------
+# implement the --enable-shared flag, and supports the `shared' and
+# `disable-shared' LT_INIT options.
+# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
+m4_define([_LT_ENABLE_SHARED],
+[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
+AC_ARG_ENABLE([shared],
+ [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
+ [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
+ [p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_shared=yes ;;
+ no) enable_shared=no ;;
+ *)
+ enable_shared=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+ for pkg in $enableval; do
+ IFS="$lt_save_ifs"
+ if test "X$pkg" = "X$p"; then
+ enable_shared=yes
+ fi
+ done
+ IFS="$lt_save_ifs"
+ ;;
+ esac],
+ [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
+
+ _LT_DECL([build_libtool_libs], [enable_shared], [0],
+ [Whether or not to build shared libraries])
+])# _LT_ENABLE_SHARED
+
+LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
+LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
+
+# Old names:
+AC_DEFUN([AC_ENABLE_SHARED],
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
+])
+
+AC_DEFUN([AC_DISABLE_SHARED],
+[_LT_SET_OPTION([LT_INIT], [disable-shared])
+])
+
+AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
+AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
+
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AM_ENABLE_SHARED], [])
+dnl AC_DEFUN([AM_DISABLE_SHARED], [])
+
+
+
+# _LT_ENABLE_STATIC([DEFAULT])
+# ----------------------------
+# implement the --enable-static flag, and support the `static' and
+# `disable-static' LT_INIT options.
+# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
+m4_define([_LT_ENABLE_STATIC],
+[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
+AC_ARG_ENABLE([static],
+ [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
+ [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
+ [p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_static=yes ;;
+ no) enable_static=no ;;
+ *)
+ enable_static=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+ for pkg in $enableval; do
+ IFS="$lt_save_ifs"
+ if test "X$pkg" = "X$p"; then
+ enable_static=yes
+ fi
+ done
+ IFS="$lt_save_ifs"
+ ;;
+ esac],
+ [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
+
+ _LT_DECL([build_old_libs], [enable_static], [0],
+ [Whether or not to build static libraries])
+])# _LT_ENABLE_STATIC
+
+LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
+LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
+
+# Old names:
+AC_DEFUN([AC_ENABLE_STATIC],
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
+])
+
+AC_DEFUN([AC_DISABLE_STATIC],
+[_LT_SET_OPTION([LT_INIT], [disable-static])
+])
+
+AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
+AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
+
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AM_ENABLE_STATIC], [])
+dnl AC_DEFUN([AM_DISABLE_STATIC], [])
+
+
+
+# _LT_ENABLE_FAST_INSTALL([DEFAULT])
+# ----------------------------------
+# implement the --enable-fast-install flag, and support the `fast-install'
+# and `disable-fast-install' LT_INIT options.
+# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
+m4_define([_LT_ENABLE_FAST_INSTALL],
+[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
+AC_ARG_ENABLE([fast-install],
+ [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
+ [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
+ [p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_fast_install=yes ;;
+ no) enable_fast_install=no ;;
+ *)
+ enable_fast_install=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+ for pkg in $enableval; do
+ IFS="$lt_save_ifs"
+ if test "X$pkg" = "X$p"; then
+ enable_fast_install=yes
+ fi
+ done
+ IFS="$lt_save_ifs"
+ ;;
+ esac],
+ [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
+
+_LT_DECL([fast_install], [enable_fast_install], [0],
+ [Whether or not to optimize for fast installation])dnl
+])# _LT_ENABLE_FAST_INSTALL
+
+LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
+LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
+
+# Old names:
+AU_DEFUN([AC_ENABLE_FAST_INSTALL],
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you put
+the `fast-install' option into LT_INIT's first parameter.])
+])
+
+AU_DEFUN([AC_DISABLE_FAST_INSTALL],
+[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you put
+the `disable-fast-install' option into LT_INIT's first parameter.])
+])
+
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
+dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
+
+
+# _LT_WITH_PIC([MODE])
+# --------------------
+# implement the --with-pic flag, and support the `pic-only' and `no-pic'
+# LT_INIT options.
+# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
+m4_define([_LT_WITH_PIC],
+[AC_ARG_WITH([pic],
+ [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
+ [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
+ [lt_p=${PACKAGE-default}
+ case $withval in
+ yes|no) pic_mode=$withval ;;
+ *)
+ pic_mode=default
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+ for lt_pkg in $withval; do
+ IFS="$lt_save_ifs"
+ if test "X$lt_pkg" = "X$lt_p"; then
+ pic_mode=yes
+ fi
+ done
+ IFS="$lt_save_ifs"
+ ;;
+ esac],
+ [pic_mode=default])
+
+test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
+
+_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
+])# _LT_WITH_PIC
+
+LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
+LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
+
+# Old name:
+AU_DEFUN([AC_LIBTOOL_PICMODE],
+[_LT_SET_OPTION([LT_INIT], [pic-only])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
+put the `pic-only' option into LT_INIT's first parameter.])
+])
+
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
+
+## ----------------- ##
+## LTDL_INIT Options ##
+## ----------------- ##
+
+m4_define([_LTDL_MODE], [])
+LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
+ [m4_define([_LTDL_MODE], [nonrecursive])])
+LT_OPTION_DEFINE([LTDL_INIT], [recursive],
+ [m4_define([_LTDL_MODE], [recursive])])
+LT_OPTION_DEFINE([LTDL_INIT], [subproject],
+ [m4_define([_LTDL_MODE], [subproject])])
+
+m4_define([_LTDL_TYPE], [])
+LT_OPTION_DEFINE([LTDL_INIT], [installable],
+ [m4_define([_LTDL_TYPE], [installable])])
+LT_OPTION_DEFINE([LTDL_INIT], [convenience],
+ [m4_define([_LTDL_TYPE], [convenience])])
diff --git a/biblio/bibtex/utils/mkbib/m4/ltsugar.m4 b/biblio/bibtex/utils/mkbib/m4/ltsugar.m4
new file mode 100644
index 0000000000..9000a057d3
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/ltsugar.m4
@@ -0,0 +1,123 @@
+# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
+#
+# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
+# Written by Gary V. Vaughan, 2004
+#
+# This file is free software; the Free Software Foundation gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+
+# serial 6 ltsugar.m4
+
+# This is to help aclocal find these macros, as it can't see m4_define.
+AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
+
+
+# lt_join(SEP, ARG1, [ARG2...])
+# -----------------------------
+# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
+# associated separator.
+# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
+# versions in m4sugar had bugs.
+m4_define([lt_join],
+[m4_if([$#], [1], [],
+ [$#], [2], [[$2]],
+ [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
+m4_define([_lt_join],
+[m4_if([$#$2], [2], [],
+ [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
+
+
+# lt_car(LIST)
+# lt_cdr(LIST)
+# ------------
+# Manipulate m4 lists.
+# These macros are necessary as long as will still need to support
+# Autoconf-2.59 which quotes differently.
+m4_define([lt_car], [[$1]])
+m4_define([lt_cdr],
+[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
+ [$#], 1, [],
+ [m4_dquote(m4_shift($@))])])
+m4_define([lt_unquote], $1)
+
+
+# lt_append(MACRO-NAME, STRING, [SEPARATOR])
+# ------------------------------------------
+# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
+# Note that neither SEPARATOR nor STRING are expanded; they are appended
+# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
+# No SEPARATOR is output if MACRO-NAME was previously undefined (different
+# than defined and empty).
+#
+# This macro is needed until we can rely on Autoconf 2.62, since earlier
+# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
+m4_define([lt_append],
+[m4_define([$1],
+ m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
+
+
+
+# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
+# ----------------------------------------------------------
+# Produce a SEP delimited list of all paired combinations of elements of
+# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
+# has the form PREFIXmINFIXSUFFIXn.
+# Needed until we can rely on m4_combine added in Autoconf 2.62.
+m4_define([lt_combine],
+[m4_if(m4_eval([$# > 3]), [1],
+ [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
+[[m4_foreach([_Lt_prefix], [$2],
+ [m4_foreach([_Lt_suffix],
+ ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
+ [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
+
+
+# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
+# -----------------------------------------------------------------------
+# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
+# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
+m4_define([lt_if_append_uniq],
+[m4_ifdef([$1],
+ [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
+ [lt_append([$1], [$2], [$3])$4],
+ [$5])],
+ [lt_append([$1], [$2], [$3])$4])])
+
+
+# lt_dict_add(DICT, KEY, VALUE)
+# -----------------------------
+m4_define([lt_dict_add],
+[m4_define([$1($2)], [$3])])
+
+
+# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
+# --------------------------------------------
+m4_define([lt_dict_add_subkey],
+[m4_define([$1($2:$3)], [$4])])
+
+
+# lt_dict_fetch(DICT, KEY, [SUBKEY])
+# ----------------------------------
+m4_define([lt_dict_fetch],
+[m4_ifval([$3],
+ m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
+ m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
+
+
+# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
+# -----------------------------------------------------------------
+m4_define([lt_if_dict_fetch],
+[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
+ [$5],
+ [$6])])
+
+
+# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
+# --------------------------------------------------------------
+m4_define([lt_dict_filter],
+[m4_if([$5], [], [],
+ [lt_join(m4_quote(m4_default([$4], [[, ]])),
+ lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
+ [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
+])
diff --git a/biblio/bibtex/utils/mkbib/m4/ltversion.m4 b/biblio/bibtex/utils/mkbib/m4/ltversion.m4
new file mode 100644
index 0000000000..07a8602d48
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/ltversion.m4
@@ -0,0 +1,23 @@
+# ltversion.m4 -- version numbers -*- Autoconf -*-
+#
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Written by Scott James Remnant, 2004
+#
+# This file is free software; the Free Software Foundation gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+
+# @configure_input@
+
+# serial 3337 ltversion.m4
+# This file is part of GNU Libtool
+
+m4_define([LT_PACKAGE_VERSION], [2.4.2])
+m4_define([LT_PACKAGE_REVISION], [1.3337])
+
+AC_DEFUN([LTVERSION_VERSION],
+[macro_version='2.4.2'
+macro_revision='1.3337'
+_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
+_LT_DECL(, macro_revision, 0)
+])
diff --git a/biblio/bibtex/utils/mkbib/m4/lt~obsolete.m4 b/biblio/bibtex/utils/mkbib/m4/lt~obsolete.m4
new file mode 100644
index 0000000000..c573da90c5
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/lt~obsolete.m4
@@ -0,0 +1,98 @@
+# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
+#
+# Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
+# Written by Scott James Remnant, 2004.
+#
+# This file is free software; the Free Software Foundation gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+
+# serial 5 lt~obsolete.m4
+
+# These exist entirely to fool aclocal when bootstrapping libtool.
+#
+# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
+# which have later been changed to m4_define as they aren't part of the
+# exported API, or moved to Autoconf or Automake where they belong.
+#
+# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN
+# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
+# using a macro with the same name in our local m4/libtool.m4 it'll
+# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
+# and doesn't know about Autoconf macros at all.)
+#
+# So we provide this file, which has a silly filename so it's always
+# included after everything else. This provides aclocal with the
+# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
+# because those macros already exist, or will be overwritten later.
+# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
+#
+# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
+# Yes, that means every name once taken will need to remain here until
+# we give up compatibility with versions before 1.7, at which point
+# we need to keep only those names which we still refer to.
+
+# This is to help aclocal find these macros, as it can't see m4_define.
+AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
+
+m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
+m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])])
+m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
+m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])])
+m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
+m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])])
+m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])])
+m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
+m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])])
+m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])])
+m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])])
+m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
+m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
+m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
+m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
+m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
+m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])])
+m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
+m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
+m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])])
+m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])])
+m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
+m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
+m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
+m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
+m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
+m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
+m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
+m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])])
+m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])])
+m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])])
+m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
+m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
+m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])])
+m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])])
+m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
+m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
+m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])])
+m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
+m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
+m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
+m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
+m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
+m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
+m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
+m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
+m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
+m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
+m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
+m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
+m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
+m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
+m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
+m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
+m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
+m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])])
+m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
+m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
+m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])])
+m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])])
+m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])
diff --git a/biblio/bibtex/utils/mkbib/m4/nls.m4 b/biblio/bibtex/utils/mkbib/m4/nls.m4
new file mode 100644
index 0000000000..7967cc2f9a
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/nls.m4
@@ -0,0 +1,31 @@
+# nls.m4 serial 3 (gettext-0.15)
+dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+dnl
+dnl This file can can be used in projects which are not available under
+dnl the GNU General Public License or the GNU Library General Public
+dnl License but which still want to provide support for the GNU gettext
+dnl functionality.
+dnl Please note that the actual code of the GNU gettext library is covered
+dnl by the GNU Library General Public License, and the rest of the GNU
+dnl gettext package package is covered by the GNU General Public License.
+dnl They are *not* in the public domain.
+
+dnl Authors:
+dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
+dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
+
+AC_PREREQ(2.50)
+
+AC_DEFUN([AM_NLS],
+[
+ AC_MSG_CHECKING([whether NLS is requested])
+ dnl Default is enabled NLS
+ AC_ARG_ENABLE(nls,
+ [ --disable-nls do not use Native Language Support],
+ USE_NLS=$enableval, USE_NLS=yes)
+ AC_MSG_RESULT($USE_NLS)
+ AC_SUBST(USE_NLS)
+])
diff --git a/biblio/bibtex/utils/mkbib/m4/po.m4 b/biblio/bibtex/utils/mkbib/m4/po.m4
new file mode 100644
index 0000000000..0734762ab1
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/po.m4
@@ -0,0 +1,449 @@
+# po.m4 serial 15 (gettext-0.17)
+dnl Copyright (C) 1995-2007 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+dnl
+dnl This file can can be used in projects which are not available under
+dnl the GNU General Public License or the GNU Library General Public
+dnl License but which still want to provide support for the GNU gettext
+dnl functionality.
+dnl Please note that the actual code of the GNU gettext library is covered
+dnl by the GNU Library General Public License, and the rest of the GNU
+dnl gettext package package is covered by the GNU General Public License.
+dnl They are *not* in the public domain.
+
+dnl Authors:
+dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
+dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
+
+AC_PREREQ(2.50)
+
+dnl Checks for all prerequisites of the po subdirectory.
+AC_DEFUN([AM_PO_SUBDIRS],
+[
+ AC_REQUIRE([AC_PROG_MAKE_SET])dnl
+ AC_REQUIRE([AC_PROG_INSTALL])dnl
+ AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake
+ AC_REQUIRE([AM_NLS])dnl
+
+ dnl Release version of the gettext macros. This is used to ensure that
+ dnl the gettext macros and po/Makefile.in.in are in sync.
+ AC_SUBST([GETTEXT_MACRO_VERSION], [0.17])
+
+ dnl Perform the following tests also if --disable-nls has been given,
+ dnl because they are needed for "make dist" to work.
+
+ dnl Search for GNU msgfmt in the PATH.
+ dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions.
+ dnl The second test excludes FreeBSD msgfmt.
+ AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
+ [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 &&
+ (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
+ :)
+ AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
+
+ dnl Test whether it is GNU msgfmt >= 0.15.
+changequote(,)dnl
+ case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
+ *) MSGFMT_015=$MSGFMT ;;
+ esac
+changequote([,])dnl
+ AC_SUBST([MSGFMT_015])
+changequote(,)dnl
+ case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
+ *) GMSGFMT_015=$GMSGFMT ;;
+ esac
+changequote([,])dnl
+ AC_SUBST([GMSGFMT_015])
+
+ dnl Search for GNU xgettext 0.12 or newer in the PATH.
+ dnl The first test excludes Solaris xgettext and early GNU xgettext versions.
+ dnl The second test excludes FreeBSD xgettext.
+ AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
+ [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 &&
+ (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
+ :)
+ dnl Remove leftover from FreeBSD xgettext call.
+ rm -f messages.po
+
+ dnl Test whether it is GNU xgettext >= 0.15.
+changequote(,)dnl
+ case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
+ *) XGETTEXT_015=$XGETTEXT ;;
+ esac
+changequote([,])dnl
+ AC_SUBST([XGETTEXT_015])
+
+ dnl Search for GNU msgmerge 0.11 or newer in the PATH.
+ AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge,
+ [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :)
+
+ dnl Installation directories.
+ dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we
+ dnl have to define it here, so that it can be used in po/Makefile.
+ test -n "$localedir" || localedir='${datadir}/locale'
+ AC_SUBST([localedir])
+
+ dnl Support for AM_XGETTEXT_OPTION.
+ test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
+ AC_SUBST([XGETTEXT_EXTRA_OPTIONS])
+
+ AC_CONFIG_COMMANDS([po-directories], [[
+ for ac_file in $CONFIG_FILES; do
+ # Support "outfile[:infile[:infile...]]"
+ case "$ac_file" in
+ *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
+ esac
+ # PO directories have a Makefile.in generated from Makefile.in.in.
+ case "$ac_file" in */Makefile.in)
+ # Adjust a relative srcdir.
+ ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
+ ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
+ ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
+ # In autoconf-2.13 it is called $ac_given_srcdir.
+ # In autoconf-2.50 it is called $srcdir.
+ test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
+ case "$ac_given_srcdir" in
+ .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
+ /*) top_srcdir="$ac_given_srcdir" ;;
+ *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
+ esac
+ # Treat a directory as a PO directory if and only if it has a
+ # POTFILES.in file. This allows packages to have multiple PO
+ # directories under different names or in different locations.
+ if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
+ rm -f "$ac_dir/POTFILES"
+ test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
+ cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
+ POMAKEFILEDEPS="POTFILES.in"
+ # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
+ # on $ac_dir but don't depend on user-specified configuration
+ # parameters.
+ if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
+ # The LINGUAS file contains the set of available languages.
+ if test -n "$OBSOLETE_ALL_LINGUAS"; then
+ test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
+ fi
+ ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
+ # Hide the ALL_LINGUAS assigment from automake < 1.5.
+ eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
+ POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
+ else
+ # The set of available languages was given in configure.in.
+ # Hide the ALL_LINGUAS assigment from automake < 1.5.
+ eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
+ fi
+ # Compute POFILES
+ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
+ # Compute UPDATEPOFILES
+ # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
+ # Compute DUMMYPOFILES
+ # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
+ # Compute GMOFILES
+ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
+ case "$ac_given_srcdir" in
+ .) srcdirpre= ;;
+ *) srcdirpre='$(srcdir)/' ;;
+ esac
+ POFILES=
+ UPDATEPOFILES=
+ DUMMYPOFILES=
+ GMOFILES=
+ for lang in $ALL_LINGUAS; do
+ POFILES="$POFILES $srcdirpre$lang.po"
+ UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
+ DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
+ GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
+ done
+ # CATALOGS depends on both $ac_dir and the user's LINGUAS
+ # environment variable.
+ INST_LINGUAS=
+ if test -n "$ALL_LINGUAS"; then
+ for presentlang in $ALL_LINGUAS; do
+ useit=no
+ if test "%UNSET%" != "$LINGUAS"; then
+ desiredlanguages="$LINGUAS"
+ else
+ desiredlanguages="$ALL_LINGUAS"
+ fi
+ for desiredlang in $desiredlanguages; do
+ # Use the presentlang catalog if desiredlang is
+ # a. equal to presentlang, or
+ # b. a variant of presentlang (because in this case,
+ # presentlang can be used as a fallback for messages
+ # which are not translated in the desiredlang catalog).
+ case "$desiredlang" in
+ "$presentlang"*) useit=yes;;
+ esac
+ done
+ if test $useit = yes; then
+ INST_LINGUAS="$INST_LINGUAS $presentlang"
+ fi
+ done
+ fi
+ CATALOGS=
+ if test -n "$INST_LINGUAS"; then
+ for lang in $INST_LINGUAS; do
+ CATALOGS="$CATALOGS $lang.gmo"
+ done
+ fi
+ test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
+ sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
+ for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
+ if test -f "$f"; then
+ case "$f" in
+ *.orig | *.bak | *~) ;;
+ *) cat "$f" >> "$ac_dir/Makefile" ;;
+ esac
+ fi
+ done
+ fi
+ ;;
+ esac
+ done]],
+ [# Capture the value of obsolete ALL_LINGUAS because we need it to compute
+ # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
+ # from automake < 1.5.
+ eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
+ # Capture the value of LINGUAS because we need it to compute CATALOGS.
+ LINGUAS="${LINGUAS-%UNSET%}"
+ ])
+])
+
+dnl Postprocesses a Makefile in a directory containing PO files.
+AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE],
+[
+ # When this code is run, in config.status, two variables have already been
+ # set:
+ # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in,
+ # - LINGUAS is the value of the environment variable LINGUAS at configure
+ # time.
+
+changequote(,)dnl
+ # Adjust a relative srcdir.
+ ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
+ ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
+ ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
+ # In autoconf-2.13 it is called $ac_given_srcdir.
+ # In autoconf-2.50 it is called $srcdir.
+ test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
+ case "$ac_given_srcdir" in
+ .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
+ /*) top_srcdir="$ac_given_srcdir" ;;
+ *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
+ esac
+
+ # Find a way to echo strings without interpreting backslash.
+ if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then
+ gt_echo='echo'
+ else
+ if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then
+ gt_echo='printf %s\n'
+ else
+ echo_func () {
+ cat <<EOT
+$*
+EOT
+ }
+ gt_echo='echo_func'
+ fi
+ fi
+
+ # A sed script that extracts the value of VARIABLE from a Makefile.
+ sed_x_variable='
+# Test if the hold space is empty.
+x
+s/P/P/
+x
+ta
+# Yes it was empty. Look if we have the expected variable definition.
+/^[ ]*VARIABLE[ ]*=/{
+ # Seen the first line of the variable definition.
+ s/^[ ]*VARIABLE[ ]*=//
+ ba
+}
+bd
+:a
+# Here we are processing a line from the variable definition.
+# Remove comment, more precisely replace it with a space.
+s/#.*$/ /
+# See if the line ends in a backslash.
+tb
+:b
+s/\\$//
+# Print the line, without the trailing backslash.
+p
+tc
+# There was no trailing backslash. The end of the variable definition is
+# reached. Clear the hold space.
+s/^.*$//
+x
+bd
+:c
+# A trailing backslash means that the variable definition continues in the
+# next line. Put a nonempty string into the hold space to indicate this.
+s/^.*$/P/
+x
+:d
+'
+changequote([,])dnl
+
+ # Set POTFILES to the value of the Makefile variable POTFILES.
+ sed_x_POTFILES=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'`
+ POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"`
+ # Compute POTFILES_DEPS as
+ # $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
+ POTFILES_DEPS=
+ for file in $POTFILES; do
+ POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file"
+ done
+ POMAKEFILEDEPS=""
+
+ if test -n "$OBSOLETE_ALL_LINGUAS"; then
+ test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
+ fi
+ if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
+ # The LINGUAS file contains the set of available languages.
+ ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
+ POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
+ else
+ # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS.
+ sed_x_LINGUAS=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'`
+ ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"`
+ fi
+ # Hide the ALL_LINGUAS assigment from automake < 1.5.
+ eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
+ # Compute POFILES
+ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
+ # Compute UPDATEPOFILES
+ # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
+ # Compute DUMMYPOFILES
+ # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
+ # Compute GMOFILES
+ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
+ # Compute PROPERTIESFILES
+ # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties)
+ # Compute CLASSFILES
+ # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class)
+ # Compute QMFILES
+ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm)
+ # Compute MSGFILES
+ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg)
+ # Compute RESOURCESDLLFILES
+ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll)
+ case "$ac_given_srcdir" in
+ .) srcdirpre= ;;
+ *) srcdirpre='$(srcdir)/' ;;
+ esac
+ POFILES=
+ UPDATEPOFILES=
+ DUMMYPOFILES=
+ GMOFILES=
+ PROPERTIESFILES=
+ CLASSFILES=
+ QMFILES=
+ MSGFILES=
+ RESOURCESDLLFILES=
+ for lang in $ALL_LINGUAS; do
+ POFILES="$POFILES $srcdirpre$lang.po"
+ UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
+ DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
+ GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
+ PROPERTIESFILES="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties"
+ CLASSFILES="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class"
+ QMFILES="$QMFILES $srcdirpre$lang.qm"
+ frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
+ MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg"
+ frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
+ RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll"
+ done
+ # CATALOGS depends on both $ac_dir and the user's LINGUAS
+ # environment variable.
+ INST_LINGUAS=
+ if test -n "$ALL_LINGUAS"; then
+ for presentlang in $ALL_LINGUAS; do
+ useit=no
+ if test "%UNSET%" != "$LINGUAS"; then
+ desiredlanguages="$LINGUAS"
+ else
+ desiredlanguages="$ALL_LINGUAS"
+ fi
+ for desiredlang in $desiredlanguages; do
+ # Use the presentlang catalog if desiredlang is
+ # a. equal to presentlang, or
+ # b. a variant of presentlang (because in this case,
+ # presentlang can be used as a fallback for messages
+ # which are not translated in the desiredlang catalog).
+ case "$desiredlang" in
+ "$presentlang"*) useit=yes;;
+ esac
+ done
+ if test $useit = yes; then
+ INST_LINGUAS="$INST_LINGUAS $presentlang"
+ fi
+ done
+ fi
+ CATALOGS=
+ JAVACATALOGS=
+ QTCATALOGS=
+ TCLCATALOGS=
+ CSHARPCATALOGS=
+ if test -n "$INST_LINGUAS"; then
+ for lang in $INST_LINGUAS; do
+ CATALOGS="$CATALOGS $lang.gmo"
+ JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties"
+ QTCATALOGS="$QTCATALOGS $lang.qm"
+ frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
+ TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg"
+ frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
+ CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll"
+ done
+ fi
+
+ sed -e "s|@POTFILES_DEPS@|$POTFILES_DEPS|g" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@PROPERTIESFILES@|$PROPERTIESFILES|g" -e "s|@CLASSFILES@|$CLASSFILES|g" -e "s|@QMFILES@|$QMFILES|g" -e "s|@MSGFILES@|$MSGFILES|g" -e "s|@RESOURCESDLLFILES@|$RESOURCESDLLFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@JAVACATALOGS@|$JAVACATALOGS|g" -e "s|@QTCATALOGS@|$QTCATALOGS|g" -e "s|@TCLCATALOGS@|$TCLCATALOGS|g" -e "s|@CSHARPCATALOGS@|$CSHARPCATALOGS|g" -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp"
+ if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then
+ # Add dependencies that cannot be formulated as a simple suffix rule.
+ for lang in $ALL_LINGUAS; do
+ frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
+ cat >> "$ac_file.tmp" <<EOF
+$frobbedlang.msg: $lang.po
+ @echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \
+ \$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
+EOF
+ done
+ fi
+ if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then
+ # Add dependencies that cannot be formulated as a simple suffix rule.
+ for lang in $ALL_LINGUAS; do
+ frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
+ cat >> "$ac_file.tmp" <<EOF
+$frobbedlang/\$(DOMAIN).resources.dll: $lang.po
+ @echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \
+ \$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
+EOF
+ done
+ fi
+ if test -n "$POMAKEFILEDEPS"; then
+ cat >> "$ac_file.tmp" <<EOF
+Makefile: $POMAKEFILEDEPS
+EOF
+ fi
+ mv "$ac_file.tmp" "$ac_file"
+])
+
+dnl Initializes the accumulator used by AM_XGETTEXT_OPTION.
+AC_DEFUN([AM_XGETTEXT_OPTION_INIT],
+[
+ XGETTEXT_EXTRA_OPTIONS=
+])
+
+dnl Registers an option to be passed to xgettext in the po subdirectory.
+AC_DEFUN([AM_XGETTEXT_OPTION],
+[
+ AC_REQUIRE([AM_XGETTEXT_OPTION_INIT])
+ XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS $1"
+])
diff --git a/biblio/bibtex/utils/mkbib/m4/printf-posix.m4 b/biblio/bibtex/utils/mkbib/m4/printf-posix.m4
new file mode 100644
index 0000000000..14ba612839
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/printf-posix.m4
@@ -0,0 +1,44 @@
+# printf-posix.m4 serial 3 (gettext-0.17)
+dnl Copyright (C) 2003, 2007 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl From Bruno Haible.
+dnl Test whether the printf() function supports POSIX/XSI format strings with
+dnl positions.
+
+AC_DEFUN([gt_PRINTF_POSIX],
+[
+ AC_REQUIRE([AC_PROG_CC])
+ AC_CACHE_CHECK([whether printf() supports POSIX/XSI format strings],
+ gt_cv_func_printf_posix,
+ [
+ AC_TRY_RUN([
+#include <stdio.h>
+#include <string.h>
+/* The string "%2$d %1$d", with dollar characters protected from the shell's
+ dollar expansion (possibly an autoconf bug). */
+static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
+static char buf[100];
+int main ()
+{
+ sprintf (buf, format, 33, 55);
+ return (strcmp (buf, "55 33") != 0);
+}], gt_cv_func_printf_posix=yes, gt_cv_func_printf_posix=no,
+ [
+ AC_EGREP_CPP(notposix, [
+#if defined __NetBSD__ || defined __BEOS__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
+ notposix
+#endif
+ ], gt_cv_func_printf_posix="guessing no",
+ gt_cv_func_printf_posix="guessing yes")
+ ])
+ ])
+ case $gt_cv_func_printf_posix in
+ *yes)
+ AC_DEFINE(HAVE_POSIX_PRINTF, 1,
+ [Define if your printf() function supports format strings with positions.])
+ ;;
+ esac
+])
diff --git a/biblio/bibtex/utils/mkbib/m4/progtest.m4 b/biblio/bibtex/utils/mkbib/m4/progtest.m4
new file mode 100644
index 0000000000..a56365cd37
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/progtest.m4
@@ -0,0 +1,92 @@
+# progtest.m4 serial 4 (gettext-0.14.2)
+dnl Copyright (C) 1996-2003, 2005 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+dnl
+dnl This file can can be used in projects which are not available under
+dnl the GNU General Public License or the GNU Library General Public
+dnl License but which still want to provide support for the GNU gettext
+dnl functionality.
+dnl Please note that the actual code of the GNU gettext library is covered
+dnl by the GNU Library General Public License, and the rest of the GNU
+dnl gettext package package is covered by the GNU General Public License.
+dnl They are *not* in the public domain.
+
+dnl Authors:
+dnl Ulrich Drepper <drepper@cygnus.com>, 1996.
+
+AC_PREREQ(2.50)
+
+# Search path for a program which passes the given test.
+
+dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
+dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
+AC_DEFUN([AM_PATH_PROG_WITH_TEST],
+[
+# Prepare PATH_SEPARATOR.
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ echo "#! /bin/sh" >conf$$.sh
+ echo "exit 0" >>conf$$.sh
+ chmod +x conf$$.sh
+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
+ PATH_SEPARATOR=';'
+ else
+ PATH_SEPARATOR=:
+ fi
+ rm -f conf$$.sh
+fi
+
+# Find out how to test for executable files. Don't use a zero-byte file,
+# as systems may use methods other than mode bits to determine executability.
+cat >conf$$.file <<_ASEOF
+#! /bin/sh
+exit 0
+_ASEOF
+chmod +x conf$$.file
+if test -x conf$$.file >/dev/null 2>&1; then
+ ac_executable_p="test -x"
+else
+ ac_executable_p="test -f"
+fi
+rm -f conf$$.file
+
+# Extract the first word of "$2", so it can be a program name with args.
+set dummy $2; ac_word=[$]2
+AC_MSG_CHECKING([for $ac_word])
+AC_CACHE_VAL(ac_cv_path_$1,
+[case "[$]$1" in
+ [[\\/]]* | ?:[[\\/]]*)
+ ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
+ ;;
+ *)
+ ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
+ for ac_dir in ifelse([$5], , $PATH, [$5]); do
+ IFS="$ac_save_IFS"
+ test -z "$ac_dir" && ac_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
+ echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD
+ if [$3]; then
+ ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext"
+ break 2
+ fi
+ fi
+ done
+ done
+ IFS="$ac_save_IFS"
+dnl If no 4th arg is given, leave the cache variable unset,
+dnl so AC_PATH_PROGS will keep looking.
+ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
+])dnl
+ ;;
+esac])dnl
+$1="$ac_cv_path_$1"
+if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
+ AC_MSG_RESULT([$]$1)
+else
+ AC_MSG_RESULT(no)
+fi
+AC_SUBST($1)dnl
+])
diff --git a/biblio/bibtex/utils/mkbib/m4/size_max.m4 b/biblio/bibtex/utils/mkbib/m4/size_max.m4
new file mode 100644
index 0000000000..6cb4868927
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/size_max.m4
@@ -0,0 +1,68 @@
+# size_max.m4 serial 6
+dnl Copyright (C) 2003, 2005-2006 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl From Bruno Haible.
+
+AC_DEFUN([gl_SIZE_MAX],
+[
+ AC_CHECK_HEADERS(stdint.h)
+ dnl First test whether the system already has SIZE_MAX.
+ AC_MSG_CHECKING([for SIZE_MAX])
+ AC_CACHE_VAL([gl_cv_size_max], [
+ gl_cv_size_max=
+ AC_EGREP_CPP([Found it], [
+#include <limits.h>
+#if HAVE_STDINT_H
+#include <stdint.h>
+#endif
+#ifdef SIZE_MAX
+Found it
+#endif
+], gl_cv_size_max=yes)
+ if test -z "$gl_cv_size_max"; then
+ dnl Define it ourselves. Here we assume that the type 'size_t' is not wider
+ dnl than the type 'unsigned long'. Try hard to find a definition that can
+ dnl be used in a preprocessor #if, i.e. doesn't contain a cast.
+ AC_COMPUTE_INT([size_t_bits_minus_1], [sizeof (size_t) * CHAR_BIT - 1],
+ [#include <stddef.h>
+#include <limits.h>], size_t_bits_minus_1=)
+ AC_COMPUTE_INT([fits_in_uint], [sizeof (size_t) <= sizeof (unsigned int)],
+ [#include <stddef.h>], fits_in_uint=)
+ if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then
+ if test $fits_in_uint = 1; then
+ dnl Even though SIZE_MAX fits in an unsigned int, it must be of type
+ dnl 'unsigned long' if the type 'size_t' is the same as 'unsigned long'.
+ AC_TRY_COMPILE([#include <stddef.h>
+ extern size_t foo;
+ extern unsigned long foo;
+ ], [], fits_in_uint=0)
+ fi
+ dnl We cannot use 'expr' to simplify this expression, because 'expr'
+ dnl works only with 'long' integers in the host environment, while we
+ dnl might be cross-compiling from a 32-bit platform to a 64-bit platform.
+ if test $fits_in_uint = 1; then
+ gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)"
+ else
+ gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)"
+ fi
+ else
+ dnl Shouldn't happen, but who knows...
+ gl_cv_size_max='((size_t)~(size_t)0)'
+ fi
+ fi
+ ])
+ AC_MSG_RESULT([$gl_cv_size_max])
+ if test "$gl_cv_size_max" != yes; then
+ AC_DEFINE_UNQUOTED([SIZE_MAX], [$gl_cv_size_max],
+ [Define as the maximum value of type 'size_t', if the system doesn't define it.])
+ fi
+])
+
+dnl Autoconf >= 2.61 has AC_COMPUTE_INT built-in.
+dnl Remove this when we can assume autoconf >= 2.61.
+m4_ifdef([AC_COMPUTE_INT], [], [
+ AC_DEFUN([AC_COMPUTE_INT], [_AC_COMPUTE_INT([$2],[$1],[$3],[$4])])
+])
diff --git a/biblio/bibtex/utils/mkbib/m4/stdint_h.m4 b/biblio/bibtex/utils/mkbib/m4/stdint_h.m4
new file mode 100644
index 0000000000..db9a8ac4c2
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/stdint_h.m4
@@ -0,0 +1,26 @@
+# stdint_h.m4 serial 6
+dnl Copyright (C) 1997-2004, 2006 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl From Paul Eggert.
+
+# Define HAVE_STDINT_H_WITH_UINTMAX if <stdint.h> exists,
+# doesn't clash with <sys/types.h>, and declares uintmax_t.
+
+AC_DEFUN([gl_AC_HEADER_STDINT_H],
+[
+ AC_CACHE_CHECK([for stdint.h], gl_cv_header_stdint_h,
+ [AC_TRY_COMPILE(
+ [#include <sys/types.h>
+#include <stdint.h>],
+ [uintmax_t i = (uintmax_t) -1; return !i;],
+ gl_cv_header_stdint_h=yes,
+ gl_cv_header_stdint_h=no)])
+ if test $gl_cv_header_stdint_h = yes; then
+ AC_DEFINE_UNQUOTED(HAVE_STDINT_H_WITH_UINTMAX, 1,
+ [Define if <stdint.h> exists, doesn't clash with <sys/types.h>,
+ and declares uintmax_t. ])
+ fi
+])
diff --git a/biblio/bibtex/utils/mkbib/m4/uintmax_t.m4 b/biblio/bibtex/utils/mkbib/m4/uintmax_t.m4
new file mode 100644
index 0000000000..641c4898d3
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/uintmax_t.m4
@@ -0,0 +1,30 @@
+# uintmax_t.m4 serial 10
+dnl Copyright (C) 1997-2004, 2007 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl From Paul Eggert.
+
+AC_PREREQ(2.13)
+
+# Define uintmax_t to 'unsigned long' or 'unsigned long long'
+# if it is not already defined in <stdint.h> or <inttypes.h>.
+
+AC_DEFUN([gl_AC_TYPE_UINTMAX_T],
+[
+ AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
+ AC_REQUIRE([gl_AC_HEADER_STDINT_H])
+ if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then
+ AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT])
+ test $ac_cv_type_unsigned_long_long_int = yes \
+ && ac_type='unsigned long long' \
+ || ac_type='unsigned long'
+ AC_DEFINE_UNQUOTED(uintmax_t, $ac_type,
+ [Define to unsigned long or unsigned long long
+ if <stdint.h> and <inttypes.h> don't define.])
+ else
+ AC_DEFINE(HAVE_UINTMAX_T, 1,
+ [Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>.])
+ fi
+])
diff --git a/biblio/bibtex/utils/mkbib/m4/visibility.m4 b/biblio/bibtex/utils/mkbib/m4/visibility.m4
new file mode 100644
index 0000000000..2ff6330aa4
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/visibility.m4
@@ -0,0 +1,52 @@
+# visibility.m4 serial 1 (gettext-0.15)
+dnl Copyright (C) 2005 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl From Bruno Haible.
+
+dnl Tests whether the compiler supports the command-line option
+dnl -fvisibility=hidden and the function and variable attributes
+dnl __attribute__((__visibility__("hidden"))) and
+dnl __attribute__((__visibility__("default"))).
+dnl Does *not* test for __visibility__("protected") - which has tricky
+dnl semantics (see the 'vismain' test in glibc) and does not exist e.g. on
+dnl MacOS X.
+dnl Does *not* test for __visibility__("internal") - which has processor
+dnl dependent semantics.
+dnl Does *not* test for #pragma GCC visibility push(hidden) - which is
+dnl "really only recommended for legacy code".
+dnl Set the variable CFLAG_VISIBILITY.
+dnl Defines and sets the variable HAVE_VISIBILITY.
+
+AC_DEFUN([gl_VISIBILITY],
+[
+ AC_REQUIRE([AC_PROG_CC])
+ CFLAG_VISIBILITY=
+ HAVE_VISIBILITY=0
+ if test -n "$GCC"; then
+ AC_MSG_CHECKING([for simple visibility declarations])
+ AC_CACHE_VAL(gl_cv_cc_visibility, [
+ gl_save_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS -fvisibility=hidden"
+ AC_TRY_COMPILE(
+ [extern __attribute__((__visibility__("hidden"))) int hiddenvar;
+ extern __attribute__((__visibility__("default"))) int exportedvar;
+ extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
+ extern __attribute__((__visibility__("default"))) int exportedfunc (void);],
+ [],
+ gl_cv_cc_visibility=yes,
+ gl_cv_cc_visibility=no)
+ CFLAGS="$gl_save_CFLAGS"])
+ AC_MSG_RESULT([$gl_cv_cc_visibility])
+ if test $gl_cv_cc_visibility = yes; then
+ CFLAG_VISIBILITY="-fvisibility=hidden"
+ HAVE_VISIBILITY=1
+ fi
+ fi
+ AC_SUBST([CFLAG_VISIBILITY])
+ AC_SUBST([HAVE_VISIBILITY])
+ AC_DEFINE_UNQUOTED([HAVE_VISIBILITY], [$HAVE_VISIBILITY],
+ [Define to 1 or 0, depending whether the compiler supports simple visibility declarations.])
+])
diff --git a/biblio/bibtex/utils/mkbib/m4/wchar_t.m4 b/biblio/bibtex/utils/mkbib/m4/wchar_t.m4
new file mode 100644
index 0000000000..cde2129a97
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/wchar_t.m4
@@ -0,0 +1,20 @@
+# wchar_t.m4 serial 1 (gettext-0.12)
+dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl From Bruno Haible.
+dnl Test whether <stddef.h> has the 'wchar_t' type.
+dnl Prerequisite: AC_PROG_CC
+
+AC_DEFUN([gt_TYPE_WCHAR_T],
+[
+ AC_CACHE_CHECK([for wchar_t], gt_cv_c_wchar_t,
+ [AC_TRY_COMPILE([#include <stddef.h>
+ wchar_t foo = (wchar_t)'\0';], ,
+ gt_cv_c_wchar_t=yes, gt_cv_c_wchar_t=no)])
+ if test $gt_cv_c_wchar_t = yes; then
+ AC_DEFINE(HAVE_WCHAR_T, 1, [Define if you have the 'wchar_t' type.])
+ fi
+])
diff --git a/biblio/bibtex/utils/mkbib/m4/wint_t.m4 b/biblio/bibtex/utils/mkbib/m4/wint_t.m4
new file mode 100644
index 0000000000..af5ed936cc
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/wint_t.m4
@@ -0,0 +1,28 @@
+# wint_t.m4 serial 2 (gettext-0.17)
+dnl Copyright (C) 2003, 2007 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl From Bruno Haible.
+dnl Test whether <wchar.h> has the 'wint_t' type.
+dnl Prerequisite: AC_PROG_CC
+
+AC_DEFUN([gt_TYPE_WINT_T],
+[
+ AC_CACHE_CHECK([for wint_t], gt_cv_c_wint_t,
+ [AC_TRY_COMPILE([
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
+ <wchar.h>.
+ BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
+ before <wchar.h>. */
+#include <stddef.h>
+#include <stdio.h>
+#include <time.h>
+#include <wchar.h>
+ wint_t foo = (wchar_t)'\0';], ,
+ gt_cv_c_wint_t=yes, gt_cv_c_wint_t=no)])
+ if test $gt_cv_c_wint_t = yes; then
+ AC_DEFINE(HAVE_WINT_T, 1, [Define if you have the 'wint_t' type.])
+ fi
+])
diff --git a/biblio/bibtex/utils/mkbib/m4/xsize.m4 b/biblio/bibtex/utils/mkbib/m4/xsize.m4
new file mode 100644
index 0000000000..85bb721e43
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/m4/xsize.m4
@@ -0,0 +1,13 @@
+# xsize.m4 serial 3
+dnl Copyright (C) 2003-2004 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+AC_DEFUN([gl_XSIZE],
+[
+ dnl Prerequisites of lib/xsize.h.
+ AC_REQUIRE([gl_SIZE_MAX])
+ AC_REQUIRE([AC_C_INLINE])
+ AC_CHECK_HEADERS(stdint.h)
+])
diff --git a/biblio/bibtex/utils/mkbib/po/Makefile.in.in b/biblio/bibtex/utils/mkbib/po/Makefile.in.in
new file mode 100644
index 0000000000..06a8cfe927
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/po/Makefile.in.in
@@ -0,0 +1,222 @@
+# Makefile for program source directory in GNU NLS utilities package.
+# Copyright (C) 1995, 1996, 1997 by Ulrich Drepper <drepper@gnu.ai.mit.edu>
+# Copyright (C) 2004-2008 Rodney Dawes <dobey.pwns@gmail.com>
+#
+# This file may be copied and used freely without restrictions. It may
+# be used in projects which are not available under a GNU Public License,
+# but which still want to provide support for the GNU gettext functionality.
+#
+# - Modified by Owen Taylor <otaylor@redhat.com> to use GETTEXT_PACKAGE
+# instead of PACKAGE and to look for po2tbl in ./ not in intl/
+#
+# - Modified by jacob berkman <jacob@ximian.com> to install
+# Makefile.in.in and po2tbl.sed.in for use with glib-gettextize
+#
+# - Modified by Rodney Dawes <dobey.pwns@gmail.com> for use with intltool
+#
+# We have the following line for use by intltoolize:
+# INTLTOOL_MAKEFILE
+
+GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
+PACKAGE = @PACKAGE@
+VERSION = @VERSION@
+
+SHELL = @SHELL@
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+top_builddir = @top_builddir@
+VPATH = @srcdir@
+
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+datadir = @datadir@
+datarootdir = @datarootdir@
+libdir = @libdir@
+DATADIRNAME = @DATADIRNAME@
+itlocaledir = $(prefix)/$(DATADIRNAME)/locale
+subdir = po
+install_sh = @install_sh@
+# Automake >= 1.8 provides @mkdir_p@.
+# Until it can be supposed, use the safe fallback:
+mkdir_p = $(install_sh) -d
+
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+
+GMSGFMT = @GMSGFMT@
+MSGFMT = @MSGFMT@
+XGETTEXT = @XGETTEXT@
+INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
+INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
+MSGMERGE = INTLTOOL_EXTRACT="$(INTLTOOL_EXTRACT)" XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist
+GENPOT = INTLTOOL_EXTRACT="$(INTLTOOL_EXTRACT)" XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot
+
+ALL_LINGUAS = @ALL_LINGUAS@
+
+PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi)
+
+USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep \^$$lang$$ $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep \^$$lang$$`"; then printf "$$lang "; fi; done; fi)
+
+USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done)
+
+POFILES=$(shell LINGUAS="$(PO_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done)
+
+DISTFILES = Makefile.in.in POTFILES.in $(POFILES)
+EXTRA_DISTFILES = ChangeLog POTFILES.skip Makevars LINGUAS
+
+POTFILES = \
+# This comment gets stripped out
+
+CATALOGS=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.gmo "; done)
+
+.SUFFIXES:
+.SUFFIXES: .po .pox .gmo .mo .msg .cat
+
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+INTLTOOL_V_MSGFMT = $(INTLTOOL__v_MSGFMT_$(V))
+INTLTOOL__v_MSGFMT_= $(INTLTOOL__v_MSGFMT_$(AM_DEFAULT_VERBOSITY))
+INTLTOOL__v_MSGFMT_0 = @echo " MSGFMT" $@;
+
+.po.pox:
+ $(MAKE) $(GETTEXT_PACKAGE).pot
+ $(MSGMERGE) $< $(GETTEXT_PACKAGE).pot -o $*.pox
+
+.po.mo:
+ $(INTLTOOL_V_MSGFMT)$(MSGFMT) -o $@ $<
+
+.po.gmo:
+ $(INTLTOOL_V_MSGFMT)file=`echo $* | sed 's,.*/,,'`.gmo \
+ && rm -f $$file && $(GMSGFMT) -o $$file $<
+
+.po.cat:
+ sed -f ../intl/po2msg.sed < $< > $*.msg \
+ && rm -f $@ && gencat $@ $*.msg
+
+
+all: all-@USE_NLS@
+
+all-yes: $(CATALOGS)
+all-no:
+
+$(GETTEXT_PACKAGE).pot: $(POTFILES)
+ $(GENPOT)
+
+install: install-data
+install-data: install-data-@USE_NLS@
+install-data-no: all
+install-data-yes: all
+ linguas="$(USE_LINGUAS)"; \
+ for lang in $$linguas; do \
+ dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \
+ $(mkdir_p) $$dir; \
+ if test -r $$lang.gmo; then \
+ $(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \
+ echo "installing $$lang.gmo as $$dir/$(GETTEXT_PACKAGE).mo"; \
+ else \
+ $(INSTALL_DATA) $(srcdir)/$$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \
+ echo "installing $(srcdir)/$$lang.gmo as" \
+ "$$dir/$(GETTEXT_PACKAGE).mo"; \
+ fi; \
+ if test -r $$lang.gmo.m; then \
+ $(INSTALL_DATA) $$lang.gmo.m $$dir/$(GETTEXT_PACKAGE).mo.m; \
+ echo "installing $$lang.gmo.m as $$dir/$(GETTEXT_PACKAGE).mo.m"; \
+ else \
+ if test -r $(srcdir)/$$lang.gmo.m ; then \
+ $(INSTALL_DATA) $(srcdir)/$$lang.gmo.m \
+ $$dir/$(GETTEXT_PACKAGE).mo.m; \
+ echo "installing $(srcdir)/$$lang.gmo.m as" \
+ "$$dir/$(GETTEXT_PACKAGE).mo.m"; \
+ else \
+ true; \
+ fi; \
+ fi; \
+ done
+
+# Empty stubs to satisfy archaic automake needs
+dvi info ctags tags CTAGS TAGS ID:
+
+# Define this as empty until I found a useful application.
+install-exec installcheck:
+
+uninstall:
+ linguas="$(USE_LINGUAS)"; \
+ for lang in $$linguas; do \
+ rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \
+ rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \
+ done
+
+check: all $(GETTEXT_PACKAGE).pot
+ rm -f missing notexist
+ srcdir=$(srcdir) $(INTLTOOL_UPDATE) -m
+ if [ -r missing -o -r notexist ]; then \
+ exit 1; \
+ fi
+
+mostlyclean:
+ rm -f *.pox $(GETTEXT_PACKAGE).pot *.old.po cat-id-tbl.tmp
+ rm -f .intltool-merge-cache
+
+clean: mostlyclean
+
+distclean: clean
+ rm -f Makefile Makefile.in POTFILES stamp-it
+ rm -f *.mo *.msg *.cat *.cat.m *.gmo
+
+maintainer-clean: distclean
+ @echo "This command is intended for maintainers to use;"
+ @echo "it deletes files that may require special tools to rebuild."
+ rm -f Makefile.in.in
+
+distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
+dist distdir: $(DISTFILES)
+ dists="$(DISTFILES)"; \
+ extra_dists="$(EXTRA_DISTFILES)"; \
+ for file in $$extra_dists; do \
+ test -f $(srcdir)/$$file && dists="$$dists $(srcdir)/$$file"; \
+ done; \
+ for file in $$dists; do \
+ test -f $$file || file="$(srcdir)/$$file"; \
+ ln $$file $(distdir) 2> /dev/null \
+ || cp -p $$file $(distdir); \
+ done
+
+update-po: Makefile
+ $(MAKE) $(GETTEXT_PACKAGE).pot
+ tmpdir=`pwd`; \
+ linguas="$(USE_LINGUAS)"; \
+ for lang in $$linguas; do \
+ echo "$$lang:"; \
+ result="`$(MSGMERGE) -o $$tmpdir/$$lang.new.po $$lang`"; \
+ if $$result; then \
+ if cmp $(srcdir)/$$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
+ rm -f $$tmpdir/$$lang.new.po; \
+ else \
+ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
+ :; \
+ else \
+ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
+ rm -f $$tmpdir/$$lang.new.po; \
+ exit 1; \
+ fi; \
+ fi; \
+ else \
+ echo "msgmerge for $$lang.gmo failed!"; \
+ rm -f $$tmpdir/$$lang.new.po; \
+ fi; \
+ done
+
+Makefile POTFILES: stamp-it
+ @if test ! -f $@; then \
+ rm -f stamp-it; \
+ $(MAKE) stamp-it; \
+ fi
+
+stamp-it: Makefile.in.in $(top_builddir)/config.status POTFILES.in
+ cd $(top_builddir) \
+ && CONFIG_FILES=$(subdir)/Makefile.in CONFIG_HEADERS= CONFIG_LINKS= \
+ $(SHELL) ./config.status
+
+# Tell versions [3.59,3.63) of GNU make not to export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/biblio/bibtex/utils/mkbib/po/POTFILES.in b/biblio/bibtex/utils/mkbib/po/POTFILES.in
new file mode 100644
index 0000000000..978c04f224
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/po/POTFILES.in
@@ -0,0 +1,9 @@
+data/default.desktop.in
+data/mkbib.desktop.in.in
+[type: gettext/glade]data/mkbib-menus.ui
+[type: gettext/glade]data/mkbib-preferences.ui
+[type: gettext/glade]data/mkbib-source.ui
+data/org.mkbib.gschema.xml.in.in
+data/spanish.desktop.in
+data/thai.desktop.in
+
diff --git a/biblio/bibtex/utils/mkbib/src/bib.c b/biblio/bibtex/utils/mkbib/src/bib.c
new file mode 100644
index 0000000000..ce39ff8248
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/src/bib.c
@@ -0,0 +1,1774 @@
+/* A Bison parser, made by GNU Bison 2.6.1. */
+
+/* Bison implementation for Yacc-like parsers in C
+
+ Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>. */
+
+/* As a special exception, you may create a larger work that contains
+ part or all of the Bison parser skeleton and distribute that work
+ under terms of your choice, so long as that work isn't itself a
+ parser generator using the skeleton or a modified version thereof
+ as a parser skeleton. Alternatively, if you modify or redistribute
+ the parser skeleton itself, you may (at your option) remove this
+ special exception, which will cause the skeleton and the resulting
+ Bison output files to be licensed under the GNU General Public
+ License without this special exception.
+
+ This special exception was added by the Free Software Foundation in
+ version 2.2 of Bison. */
+
+/* C LALR(1) parser skeleton written by Richard Stallman, by
+ simplifying the original so-called "semantic" parser. */
+
+/* All symbols defined below should begin with yy or YY, to avoid
+ infringing on user name space. This should be done even for local
+ variables, as they might otherwise be expanded by user macros.
+ There are some unavoidable exceptions within include files to
+ define necessary library symbols; they are noted "INFRINGES ON
+ USER NAME SPACE" below. */
+
+/* Identify Bison output. */
+#define YYBISON 1
+
+/* Bison version. */
+#define YYBISON_VERSION "2.6.1"
+
+/* Skeleton name. */
+#define YYSKELETON_NAME "yacc.c"
+
+/* Pure parsers. */
+#define YYPURE 0
+
+/* Push parsers. */
+#define YYPUSH 0
+
+/* Pull parsers. */
+#define YYPULL 1
+
+
+
+
+/* Copy the first part of user declarations. */
+/* Line 336 of yacc.c */
+#line 1 "src/bib.y"
+
+#include <stdio.h>
+#include <glib.h>
+#include <gtk/gtk.h>
+#include <string.h>
+#include <glib/gstdio.h>
+#include <fcntl.h>
+#include "main.h"
+char* concat(char* str1, char* str2);
+
+void lex_brace();
+void lex_normal();
+#define slen 1064
+ int yylex(void);
+/*enum
+{
+ COL_BIB_KEY=0,
+ COL_BIB_TYPE, COL_BIB_AUTHOR, COL_BIB_YEAR,
+ NUM_COLS} ;
+*/
+typedef struct {
+ char *type;
+ char *id;
+ GHashTable *table;
+} BibEntry;
+
+BibEntry b_entry;
+GtkTreeIter siter;
+GtkListStore *store;
+
+void yyerror(char *s)
+{
+ printf("YYERROR : %s\n", s);
+}
+void parse_entry(BibEntry *bib_entry);
+
+
+/* Line 336 of yacc.c */
+#line 106 "src/bib.c"
+
+# ifndef YY_NULL
+# if defined __cplusplus && 201103L <= __cplusplus
+# define YY_NULL nullptr
+# else
+# define YY_NULL 0
+# endif
+# endif
+
+/* Enabling verbose error messages. */
+#ifdef YYERROR_VERBOSE
+# undef YYERROR_VERBOSE
+# define YYERROR_VERBOSE 1
+#else
+# define YYERROR_VERBOSE 0
+#endif
+
+/* In a future release of Bison, this section will be replaced
+ by #include "y.tab.h". */
+#ifndef YY_Y_TAB_H
+# define YY_Y_TAB_H
+/* Enabling traces. */
+#ifndef YYDEBUG
+# define YYDEBUG 0
+#endif
+#if YYDEBUG
+extern int yydebug;
+#endif
+
+/* Tokens. */
+#ifndef YYTOKENTYPE
+# define YYTOKENTYPE
+ /* Put the tokens into the symbol table, so that GDB and other debuggers
+ know about them. */
+ enum yytokentype {
+ ENTRYTYPE = 258,
+ VALUE = 259,
+ KEY = 260,
+ OBRACE = 261,
+ EBRACE = 262,
+ QUOTE = 263,
+ SEMICOLON = 264
+ };
+#endif
+/* Tokens. */
+#define ENTRYTYPE 258
+#define VALUE 259
+#define KEY 260
+#define OBRACE 261
+#define EBRACE 262
+#define QUOTE 263
+#define SEMICOLON 264
+
+
+
+#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
+typedef union YYSTYPE
+{
+/* Line 350 of yacc.c */
+#line 41 "src/bib.y"
+
+ char *sval;
+
+
+/* Line 350 of yacc.c */
+#line 172 "src/bib.c"
+} YYSTYPE;
+# define YYSTYPE_IS_TRIVIAL 1
+# define yystype YYSTYPE /* obsolescent; will be withdrawn */
+# define YYSTYPE_IS_DECLARED 1
+#endif
+
+extern YYSTYPE yylval;
+
+#ifdef YYPARSE_PARAM
+#if defined __STDC__ || defined __cplusplus
+int yyparse (void *YYPARSE_PARAM);
+#else
+int yyparse ();
+#endif
+#else /* ! YYPARSE_PARAM */
+#if defined __STDC__ || defined __cplusplus
+int yyparse (void);
+#else
+int yyparse ();
+#endif
+#endif /* ! YYPARSE_PARAM */
+
+#endif /* !YY_Y_TAB_H */
+
+/* Copy the second part of user declarations. */
+
+/* Line 353 of yacc.c */
+#line 200 "src/bib.c"
+
+#ifdef short
+# undef short
+#endif
+
+#ifdef YYTYPE_UINT8
+typedef YYTYPE_UINT8 yytype_uint8;
+#else
+typedef unsigned char yytype_uint8;
+#endif
+
+#ifdef YYTYPE_INT8
+typedef YYTYPE_INT8 yytype_int8;
+#elif (defined __STDC__ || defined __C99__FUNC__ \
+ || defined __cplusplus || defined _MSC_VER)
+typedef signed char yytype_int8;
+#else
+typedef short int yytype_int8;
+#endif
+
+#ifdef YYTYPE_UINT16
+typedef YYTYPE_UINT16 yytype_uint16;
+#else
+typedef unsigned short int yytype_uint16;
+#endif
+
+#ifdef YYTYPE_INT16
+typedef YYTYPE_INT16 yytype_int16;
+#else
+typedef short int yytype_int16;
+#endif
+
+#ifndef YYSIZE_T
+# ifdef __SIZE_TYPE__
+# define YYSIZE_T __SIZE_TYPE__
+# elif defined size_t
+# define YYSIZE_T size_t
+# elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \
+ || defined __cplusplus || defined _MSC_VER)
+# include <stddef.h> /* INFRINGES ON USER NAME SPACE */
+# define YYSIZE_T size_t
+# else
+# define YYSIZE_T unsigned int
+# endif
+#endif
+
+#define YYSIZE_MAXIMUM ((YYSIZE_T) -1)
+
+#ifndef YY_
+# if defined YYENABLE_NLS && YYENABLE_NLS
+# if ENABLE_NLS
+# include <libintl.h> /* INFRINGES ON USER NAME SPACE */
+# define YY_(msgid) dgettext ("bison-runtime", msgid)
+# endif
+# endif
+# ifndef YY_
+# define YY_(msgid) msgid
+# endif
+#endif
+
+/* Suppress unused-variable warnings by "using" E. */
+#if ! defined lint || defined __GNUC__
+# define YYUSE(e) ((void) (e))
+#else
+# define YYUSE(e) /* empty */
+#endif
+
+/* Identity function, used to suppress warnings about constant conditions. */
+#ifndef lint
+# define YYID(n) (n)
+#else
+#if (defined __STDC__ || defined __C99__FUNC__ \
+ || defined __cplusplus || defined _MSC_VER)
+static int
+YYID (int yyi)
+#else
+static int
+YYID (yyi)
+ int yyi;
+#endif
+{
+ return yyi;
+}
+#endif
+
+#if ! defined yyoverflow || YYERROR_VERBOSE
+
+/* The parser invokes alloca or malloc; define the necessary symbols. */
+
+# ifdef YYSTACK_USE_ALLOCA
+# if YYSTACK_USE_ALLOCA
+# ifdef __GNUC__
+# define YYSTACK_ALLOC __builtin_alloca
+# elif defined __BUILTIN_VA_ARG_INCR
+# include <alloca.h> /* INFRINGES ON USER NAME SPACE */
+# elif defined _AIX
+# define YYSTACK_ALLOC __alloca
+# elif defined _MSC_VER
+# include <malloc.h> /* INFRINGES ON USER NAME SPACE */
+# define alloca _alloca
+# else
+# define YYSTACK_ALLOC alloca
+# if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \
+ || defined __cplusplus || defined _MSC_VER)
+# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
+ /* Use EXIT_SUCCESS as a witness for stdlib.h. */
+# ifndef EXIT_SUCCESS
+# define EXIT_SUCCESS 0
+# endif
+# endif
+# endif
+# endif
+# endif
+
+# ifdef YYSTACK_ALLOC
+ /* Pacify GCC's `empty if-body' warning. */
+# define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0))
+# ifndef YYSTACK_ALLOC_MAXIMUM
+ /* The OS might guarantee only one guard page at the bottom of the stack,
+ and a page size can be as small as 4096 bytes. So we cannot safely
+ invoke alloca (N) if N exceeds 4096. Use a slightly smaller number
+ to allow for a few compiler-allocated temporary stack slots. */
+# define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */
+# endif
+# else
+# define YYSTACK_ALLOC YYMALLOC
+# define YYSTACK_FREE YYFREE
+# ifndef YYSTACK_ALLOC_MAXIMUM
+# define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
+# endif
+# if (defined __cplusplus && ! defined EXIT_SUCCESS \
+ && ! ((defined YYMALLOC || defined malloc) \
+ && (defined YYFREE || defined free)))
+# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
+# ifndef EXIT_SUCCESS
+# define EXIT_SUCCESS 0
+# endif
+# endif
+# ifndef YYMALLOC
+# define YYMALLOC malloc
+# if ! defined malloc && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \
+ || defined __cplusplus || defined _MSC_VER)
+void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
+# endif
+# endif
+# ifndef YYFREE
+# define YYFREE free
+# if ! defined free && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \
+ || defined __cplusplus || defined _MSC_VER)
+void free (void *); /* INFRINGES ON USER NAME SPACE */
+# endif
+# endif
+# endif
+#endif /* ! defined yyoverflow || YYERROR_VERBOSE */
+
+
+#if (! defined yyoverflow \
+ && (! defined __cplusplus \
+ || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
+
+/* A type that is properly aligned for any stack member. */
+union yyalloc
+{
+ yytype_int16 yyss_alloc;
+ YYSTYPE yyvs_alloc;
+};
+
+/* The size of the maximum gap between one aligned stack and the next. */
+# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
+
+/* The size of an array large to enough to hold all stacks, each with
+ N elements. */
+# define YYSTACK_BYTES(N) \
+ ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
+ + YYSTACK_GAP_MAXIMUM)
+
+# define YYCOPY_NEEDED 1
+
+/* Relocate STACK from its old location to the new one. The
+ local variables YYSIZE and YYSTACKSIZE give the old and new number of
+ elements in the stack, and YYPTR gives the new location of the
+ stack. Advance YYPTR to a properly aligned location for the next
+ stack. */
+# define YYSTACK_RELOCATE(Stack_alloc, Stack) \
+ do \
+ { \
+ YYSIZE_T yynewbytes; \
+ YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \
+ Stack = &yyptr->Stack_alloc; \
+ yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
+ yyptr += yynewbytes / sizeof (*yyptr); \
+ } \
+ while (YYID (0))
+
+#endif
+
+#if defined YYCOPY_NEEDED && YYCOPY_NEEDED
+/* Copy COUNT objects from SRC to DST. The source and destination do
+ not overlap. */
+# ifndef YYCOPY
+# if defined __GNUC__ && 1 < __GNUC__
+# define YYCOPY(Dst, Src, Count) \
+ __builtin_memcpy (Dst, Src, (Count) * sizeof (*(Src)))
+# else
+# define YYCOPY(Dst, Src, Count) \
+ do \
+ { \
+ YYSIZE_T yyi; \
+ for (yyi = 0; yyi < (Count); yyi++) \
+ (Dst)[yyi] = (Src)[yyi]; \
+ } \
+ while (YYID (0))
+# endif
+# endif
+#endif /* !YYCOPY_NEEDED */
+
+/* YYFINAL -- State number of the termination state. */
+#define YYFINAL 5
+/* YYLAST -- Last index in YYTABLE. */
+#define YYLAST 21
+
+/* YYNTOKENS -- Number of terminals. */
+#define YYNTOKENS 14
+/* YYNNTS -- Number of nonterminals. */
+#define YYNNTS 11
+/* YYNRULES -- Number of rules. */
+#define YYNRULES 17
+/* YYNRULES -- Number of states. */
+#define YYNSTATES 30
+
+/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
+#define YYUNDEFTOK 2
+#define YYMAXUTOK 264
+
+#define YYTRANSLATE(YYX) \
+ ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
+
+/* YYTRANSLATE[YYLEX] --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, 18, 20, 24,
+ 28, 29, 30, 36, 38, 39, 42, 44
+};
+
+/* YYRHS -- A `-1'-separated list of the rules' RHS. */
+static const yytype_int8 yyrhs[] =
+{
+ 15, 0, -1, 16, -1, 15, 16, -1, -1, 3,
+ 10, 5, 11, 17, 18, 12, -1, -1, 19, -1,
+ 19, 11, 18, -1, 5, 13, 20, -1, -1, -1,
+ 10, 21, 23, 22, 12, -1, 4, -1, -1, 24,
+ 23, -1, 4, -1, 10, 23, 12, -1
+};
+
+/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
+static const yytype_uint8 yyrline[] =
+{
+ 0, 59, 59, 60, 63, 63, 75, 76, 77, 80,
+ 83, 83, 83, 84, 87, 88, 91, 92
+};
+#endif
+
+#if YYDEBUG || YYERROR_VERBOSE || 0
+/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
+ First, the terminals, then, starting at YYNTOKENS, nonterminals. */
+static const char *const yytname[] =
+{
+ "$end", "error", "$undefined", "ENTRYTYPE", "VALUE", "KEY", "OBRACE",
+ "EBRACE", "QUOTE", "SEMICOLON", "'{'", "','", "'}'", "'='", "$accept",
+ "Input", "Entry", "$@1", "KeyVals", "KeyVal", "Value", "$@2", "$@3",
+ "BraceVs", "BraceV", YY_NULL
+};
+#endif
+
+# ifdef YYPRINT
+/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
+ token YYLEX-NUM. */
+static const yytype_uint16 yytoknum[] =
+{
+ 0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
+ 123, 44, 125, 61
+};
+# endif
+
+/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
+static const yytype_uint8 yyr1[] =
+{
+ 0, 14, 15, 15, 17, 16, 18, 18, 18, 19,
+ 21, 22, 20, 20, 23, 23, 24, 24
+};
+
+/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
+static const yytype_uint8 yyr2[] =
+{
+ 0, 2, 1, 2, 0, 7, 0, 1, 3, 3,
+ 0, 0, 5, 1, 0, 2, 1, 3
+};
+
+/* YYDEFACT[STATE-NAME] -- Default reduction number in state STATE-NUM.
+ Performed when YYTABLE doesn't specify something else to do. Zero
+ means the default is an error. */
+static const yytype_uint8 yydefact[] =
+{
+ 0, 0, 0, 2, 0, 1, 3, 0, 4, 6,
+ 0, 0, 7, 0, 5, 6, 13, 10, 9, 8,
+ 14, 16, 14, 11, 14, 0, 0, 15, 17, 12
+};
+
+/* YYDEFGOTO[NTERM-NUM]. */
+static const yytype_int8 yydefgoto[] =
+{
+ -1, 2, 3, 9, 11, 12, 18, 20, 26, 23,
+ 24
+};
+
+/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
+ STATE-NUM. */
+#define YYPACT_NINF -15
+static const yytype_int8 yypact[] =
+{
+ 0, -6, 2, -15, 4, -15, -15, 1, -15, 6,
+ 3, 5, 7, -4, -15, 6, -15, -15, -15, -15,
+ -3, -15, -3, -15, -3, 8, 9, -15, -15, -15
+};
+
+/* YYPGOTO[NTERM-NUM]. */
+static const yytype_int8 yypgoto[] =
+{
+ -15, -15, 11, -15, -1, -15, -15, -15, -15, -14,
+ -15
+};
+
+/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If
+ positive, shift that token. If negative, reduce the rule which
+ number is the opposite. If YYTABLE_NINF, syntax error. */
+#define YYTABLE_NINF -1
+static const yytype_uint8 yytable[] =
+{
+ 16, 21, 5, 1, 4, 1, 17, 22, 25, 7,
+ 27, 10, 8, 6, 19, 0, 13, 14, 15, 0,
+ 28, 29
+};
+
+#define yypact_value_is_default(yystate) \
+ ((yystate) == (-15))
+
+#define yytable_value_is_error(yytable_value) \
+ YYID (0)
+
+static const yytype_int8 yycheck[] =
+{
+ 4, 4, 0, 3, 10, 3, 10, 10, 22, 5,
+ 24, 5, 11, 2, 15, -1, 13, 12, 11, -1,
+ 12, 12
+};
+
+/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
+ symbol of state STATE-NUM. */
+static const yytype_uint8 yystos[] =
+{
+ 0, 3, 15, 16, 10, 0, 16, 5, 11, 17,
+ 5, 18, 19, 13, 12, 11, 4, 10, 20, 18,
+ 21, 4, 10, 23, 24, 23, 22, 23, 12, 12
+};
+
+#define yyerrok (yyerrstatus = 0)
+#define yyclearin (yychar = YYEMPTY)
+#define YYEMPTY (-2)
+#define YYEOF 0
+
+#define YYACCEPT goto yyacceptlab
+#define YYABORT goto yyabortlab
+#define YYERROR goto yyerrorlab
+
+
+/* Like YYERROR except do call yyerror. This remains here temporarily
+ to ease the transition to the new meaning of YYERROR, for GCC.
+ Once GCC version 2 has supplanted version 1, this can go. However,
+ YYFAIL appears to be in use. Nevertheless, it is formally deprecated
+ in Bison 2.4.2's NEWS entry, where a plan to phase it out is
+ discussed. */
+
+#define YYFAIL goto yyerrlab
+#if defined YYFAIL
+ /* This is here to suppress warnings from the GCC cpp's
+ -Wunused-macros. Normally we don't worry about that warning, but
+ some users do, and we want to make it easy for users to remove
+ YYFAIL uses, which will produce warnings from Bison 2.5. */
+#endif
+
+#define YYRECOVERING() (!!yyerrstatus)
+
+#define YYBACKUP(Token, Value) \
+do \
+ if (yychar == YYEMPTY) \
+ { \
+ yychar = (Token); \
+ yylval = (Value); \
+ YYPOPSTACK (yylen); \
+ yystate = *yyssp; \
+ goto yybackup; \
+ } \
+ else \
+ { \
+ yyerror (YY_("syntax error: cannot back up")); \
+ YYERROR; \
+ } \
+while (YYID (0))
+
+
+#define YYTERROR 1
+#define YYERRCODE 256
+
+/* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N].
+ If N is 0, then set CURRENT to the empty location which ends
+ the previous symbol: RHS[0] (always defined). */
+
+#ifndef YYLLOC_DEFAULT
+# define YYLLOC_DEFAULT(Current, Rhs, N) \
+ do \
+ if (YYID (N)) \
+ { \
+ (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
+ (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \
+ (Current).last_line = YYRHSLOC (Rhs, N).last_line; \
+ (Current).last_column = YYRHSLOC (Rhs, N).last_column; \
+ } \
+ else \
+ { \
+ (Current).first_line = (Current).last_line = \
+ YYRHSLOC (Rhs, 0).last_line; \
+ (Current).first_column = (Current).last_column = \
+ YYRHSLOC (Rhs, 0).last_column; \
+ } \
+ while (YYID (0))
+#endif
+
+#define YYRHSLOC(Rhs, K) ((Rhs)[K])
+
+
+
+/* This macro is provided for backward compatibility. */
+
+#ifndef YY_LOCATION_PRINT
+# define YY_LOCATION_PRINT(File, Loc) ((void) 0)
+#endif
+
+
+/* YYLEX -- calling `yylex' with the right arguments. */
+
+#ifdef YYLEX_PARAM
+# define YYLEX yylex (YYLEX_PARAM)
+#else
+# define YYLEX yylex ()
+#endif
+
+/* Enable debugging if requested. */
+#if YYDEBUG
+
+# ifndef YYFPRINTF
+# include <stdio.h> /* INFRINGES ON USER NAME SPACE */
+# define YYFPRINTF fprintf
+# endif
+
+# define YYDPRINTF(Args) \
+do { \
+ if (yydebug) \
+ YYFPRINTF Args; \
+} while (YYID (0))
+
+# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \
+do { \
+ if (yydebug) \
+ { \
+ YYFPRINTF (stderr, "%s ", Title); \
+ yy_symbol_print (stderr, \
+ Type, Value); \
+ YYFPRINTF (stderr, "\n"); \
+ } \
+} while (YYID (0))
+
+
+/*--------------------------------.
+| Print this symbol on YYOUTPUT. |
+`--------------------------------*/
+
+/*ARGSUSED*/
+#if (defined __STDC__ || defined __C99__FUNC__ \
+ || defined __cplusplus || defined _MSC_VER)
+static void
+yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep)
+#else
+static void
+yy_symbol_value_print (yyoutput, yytype, yyvaluep)
+ FILE *yyoutput;
+ int yytype;
+ YYSTYPE const * const yyvaluep;
+#endif
+{
+ FILE *yyo = yyoutput;
+ YYUSE (yyo);
+ if (!yyvaluep)
+ return;
+# ifdef YYPRINT
+ if (yytype < YYNTOKENS)
+ YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
+# else
+ YYUSE (yyoutput);
+# endif
+ switch (yytype)
+ {
+ default:
+ break;
+ }
+}
+
+
+/*--------------------------------.
+| Print this symbol on YYOUTPUT. |
+`--------------------------------*/
+
+#if (defined __STDC__ || defined __C99__FUNC__ \
+ || defined __cplusplus || defined _MSC_VER)
+static void
+yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep)
+#else
+static void
+yy_symbol_print (yyoutput, yytype, yyvaluep)
+ FILE *yyoutput;
+ int yytype;
+ YYSTYPE const * const yyvaluep;
+#endif
+{
+ if (yytype < YYNTOKENS)
+ YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
+ else
+ YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
+
+ yy_symbol_value_print (yyoutput, yytype, yyvaluep);
+ YYFPRINTF (yyoutput, ")");
+}
+
+/*------------------------------------------------------------------.
+| yy_stack_print -- Print the state stack from its BOTTOM up to its |
+| TOP (included). |
+`------------------------------------------------------------------*/
+
+#if (defined __STDC__ || defined __C99__FUNC__ \
+ || defined __cplusplus || defined _MSC_VER)
+static void
+yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop)
+#else
+static void
+yy_stack_print (yybottom, yytop)
+ yytype_int16 *yybottom;
+ yytype_int16 *yytop;
+#endif
+{
+ YYFPRINTF (stderr, "Stack now");
+ for (; yybottom <= yytop; yybottom++)
+ {
+ int yybot = *yybottom;
+ YYFPRINTF (stderr, " %d", yybot);
+ }
+ YYFPRINTF (stderr, "\n");
+}
+
+# define YY_STACK_PRINT(Bottom, Top) \
+do { \
+ if (yydebug) \
+ yy_stack_print ((Bottom), (Top)); \
+} while (YYID (0))
+
+
+/*------------------------------------------------.
+| Report that the YYRULE is going to be reduced. |
+`------------------------------------------------*/
+
+#if (defined __STDC__ || defined __C99__FUNC__ \
+ || defined __cplusplus || defined _MSC_VER)
+static void
+yy_reduce_print (YYSTYPE *yyvsp, int yyrule)
+#else
+static void
+yy_reduce_print (yyvsp, yyrule)
+ YYSTYPE *yyvsp;
+ int yyrule;
+#endif
+{
+ int yynrhs = yyr2[yyrule];
+ int yyi;
+ unsigned long int yylno = yyrline[yyrule];
+ YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
+ yyrule - 1, yylno);
+ /* The symbols being reduced. */
+ for (yyi = 0; yyi < yynrhs; yyi++)
+ {
+ YYFPRINTF (stderr, " $%d = ", yyi + 1);
+ yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi],
+ &(yyvsp[(yyi + 1) - (yynrhs)])
+ );
+ YYFPRINTF (stderr, "\n");
+ }
+}
+
+# define YY_REDUCE_PRINT(Rule) \
+do { \
+ if (yydebug) \
+ yy_reduce_print (yyvsp, Rule); \
+} while (YYID (0))
+
+/* Nonzero means print parse trace. It is left uninitialized so that
+ multiple parsers can coexist. */
+int yydebug;
+#else /* !YYDEBUG */
+# define YYDPRINTF(Args)
+# define YY_SYMBOL_PRINT(Title, Type, Value, Location)
+# define YY_STACK_PRINT(Bottom, Top)
+# define YY_REDUCE_PRINT(Rule)
+#endif /* !YYDEBUG */
+
+
+/* YYINITDEPTH -- initial size of the parser's stacks. */
+#ifndef YYINITDEPTH
+# define YYINITDEPTH 200
+#endif
+
+/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
+ if the built-in stack extension method is used).
+
+ Do not make this value too large; the results are undefined if
+ YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH)
+ evaluated with infinite-precision integer arithmetic. */
+
+#ifndef YYMAXDEPTH
+# define YYMAXDEPTH 10000
+#endif
+
+
+#if YYERROR_VERBOSE
+
+# ifndef yystrlen
+# if defined __GLIBC__ && defined _STRING_H
+# define yystrlen strlen
+# else
+/* Return the length of YYSTR. */
+#if (defined __STDC__ || defined __C99__FUNC__ \
+ || defined __cplusplus || defined _MSC_VER)
+static YYSIZE_T
+yystrlen (const char *yystr)
+#else
+static YYSIZE_T
+yystrlen (yystr)
+ const char *yystr;
+#endif
+{
+ YYSIZE_T yylen;
+ for (yylen = 0; yystr[yylen]; yylen++)
+ continue;
+ return yylen;
+}
+# endif
+# endif
+
+# ifndef yystpcpy
+# if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE
+# define yystpcpy stpcpy
+# else
+/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
+ YYDEST. */
+#if (defined __STDC__ || defined __C99__FUNC__ \
+ || defined __cplusplus || defined _MSC_VER)
+static char *
+yystpcpy (char *yydest, const char *yysrc)
+#else
+static char *
+yystpcpy (yydest, yysrc)
+ char *yydest;
+ const char *yysrc;
+#endif
+{
+ char *yyd = yydest;
+ const char *yys = yysrc;
+
+ while ((*yyd++ = *yys++) != '\0')
+ continue;
+
+ return yyd - 1;
+}
+# endif
+# endif
+
+# ifndef yytnamerr
+/* Copy to YYRES the contents of YYSTR after stripping away unnecessary
+ quotes and backslashes, so that it's suitable for yyerror. The
+ heuristic is that double-quoting is unnecessary unless the string
+ contains an apostrophe, a comma, or backslash (other than
+ backslash-backslash). YYSTR is taken from yytname. If YYRES is
+ null, do not copy; instead, return the length of what the result
+ would have been. */
+static YYSIZE_T
+yytnamerr (char *yyres, const char *yystr)
+{
+ if (*yystr == '"')
+ {
+ YYSIZE_T yyn = 0;
+ char const *yyp = yystr;
+
+ for (;;)
+ switch (*++yyp)
+ {
+ case '\'':
+ case ',':
+ goto do_not_strip_quotes;
+
+ case '\\':
+ if (*++yyp != '\\')
+ goto do_not_strip_quotes;
+ /* Fall through. */
+ default:
+ if (yyres)
+ yyres[yyn] = *yyp;
+ yyn++;
+ break;
+
+ case '"':
+ if (yyres)
+ yyres[yyn] = '\0';
+ return yyn;
+ }
+ do_not_strip_quotes: ;
+ }
+
+ if (! yyres)
+ return yystrlen (yystr);
+
+ return yystpcpy (yyres, yystr) - yyres;
+}
+# endif
+
+/* Copy into *YYMSG, which is of size *YYMSG_ALLOC, an error message
+ about the unexpected token YYTOKEN for the state stack whose top is
+ YYSSP.
+
+ Return 0 if *YYMSG was successfully written. Return 1 if *YYMSG is
+ not large enough to hold the message. In that case, also set
+ *YYMSG_ALLOC to the required number of bytes. Return 2 if the
+ required number of bytes is too large to store. */
+static int
+yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg,
+ yytype_int16 *yyssp, int yytoken)
+{
+ YYSIZE_T yysize0 = yytnamerr (YY_NULL, yytname[yytoken]);
+ YYSIZE_T yysize = yysize0;
+ YYSIZE_T yysize1;
+ enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
+ /* Internationalized format string. */
+ const char *yyformat = YY_NULL;
+ /* Arguments of yyformat. */
+ char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
+ /* Number of reported tokens (one for the "unexpected", one per
+ "expected"). */
+ int yycount = 0;
+
+ /* There are many possibilities here to consider:
+ - Assume YYFAIL is not used. It's too flawed to consider. See
+ <http://lists.gnu.org/archive/html/bison-patches/2009-12/msg00024.html>
+ for details. YYERROR is fine as it does not invoke this
+ function.
+ - If this state is a consistent state with a default action, then
+ the only way this function was invoked is if the default action
+ is an error action. In that case, don't check for expected
+ tokens because there are none.
+ - The only way there can be no lookahead present (in yychar) is if
+ this state is a consistent state with a default action. Thus,
+ detecting the absence of a lookahead is sufficient to determine
+ that there is no unexpected or expected token to report. In that
+ case, just report a simple "syntax error".
+ - Don't assume there isn't a lookahead just because this state is a
+ consistent state with a default action. There might have been a
+ previous inconsistent state, consistent state with a non-default
+ action, or user semantic action that manipulated yychar.
+ - Of course, the expected token list depends on states to have
+ correct lookahead information, and it depends on the parser not
+ to perform extra reductions after fetching a lookahead from the
+ scanner and before detecting a syntax error. Thus, state merging
+ (from LALR or IELR) and default reductions corrupt the expected
+ token list. However, the list is correct for canonical LR with
+ one exception: it will still contain any token that will not be
+ accepted due to an error action in a later state.
+ */
+ if (yytoken != YYEMPTY)
+ {
+ int yyn = yypact[*yyssp];
+ yyarg[yycount++] = yytname[yytoken];
+ if (!yypact_value_is_default (yyn))
+ {
+ /* Start YYX at -YYN if negative to avoid negative indexes in
+ YYCHECK. In other words, skip the first -YYN actions for
+ this state because they are default actions. */
+ int yyxbegin = yyn < 0 ? -yyn : 0;
+ /* Stay within bounds of both yycheck and yytname. */
+ int yychecklim = YYLAST - yyn + 1;
+ int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
+ int yyx;
+
+ for (yyx = yyxbegin; yyx < yyxend; ++yyx)
+ if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR
+ && !yytable_value_is_error (yytable[yyx + yyn]))
+ {
+ if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
+ {
+ yycount = 1;
+ yysize = yysize0;
+ break;
+ }
+ yyarg[yycount++] = yytname[yyx];
+ yysize1 = yysize + yytnamerr (YY_NULL, yytname[yyx]);
+ if (! (yysize <= yysize1
+ && yysize1 <= YYSTACK_ALLOC_MAXIMUM))
+ return 2;
+ yysize = yysize1;
+ }
+ }
+ }
+
+ switch (yycount)
+ {
+# define YYCASE_(N, S) \
+ case N: \
+ yyformat = S; \
+ break
+ YYCASE_(0, YY_("syntax error"));
+ YYCASE_(1, YY_("syntax error, unexpected %s"));
+ YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s"));
+ YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s"));
+ YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s"));
+ YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"));
+# undef YYCASE_
+ }
+
+ yysize1 = yysize + yystrlen (yyformat);
+ if (! (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM))
+ return 2;
+ yysize = yysize1;
+
+ if (*yymsg_alloc < yysize)
+ {
+ *yymsg_alloc = 2 * yysize;
+ if (! (yysize <= *yymsg_alloc
+ && *yymsg_alloc <= YYSTACK_ALLOC_MAXIMUM))
+ *yymsg_alloc = YYSTACK_ALLOC_MAXIMUM;
+ return 1;
+ }
+
+ /* Avoid sprintf, as that infringes on the user's name space.
+ Don't have undefined behavior even if the translation
+ produced a string with the wrong number of "%s"s. */
+ {
+ char *yyp = *yymsg;
+ int yyi = 0;
+ while ((*yyp = *yyformat) != '\0')
+ if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount)
+ {
+ yyp += yytnamerr (yyp, yyarg[yyi++]);
+ yyformat += 2;
+ }
+ else
+ {
+ yyp++;
+ yyformat++;
+ }
+ }
+ return 0;
+}
+#endif /* YYERROR_VERBOSE */
+
+/*-----------------------------------------------.
+| Release the memory associated to this symbol. |
+`-----------------------------------------------*/
+
+/*ARGSUSED*/
+#if (defined __STDC__ || defined __C99__FUNC__ \
+ || defined __cplusplus || defined _MSC_VER)
+static void
+yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep)
+#else
+static void
+yydestruct (yymsg, yytype, yyvaluep)
+ const char *yymsg;
+ int yytype;
+ YYSTYPE *yyvaluep;
+#endif
+{
+ YYUSE (yyvaluep);
+
+ if (!yymsg)
+ yymsg = "Deleting";
+ YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp);
+
+ switch (yytype)
+ {
+
+ default:
+ break;
+ }
+}
+
+
+
+
+/* The lookahead symbol. */
+int yychar;
+
+/* The semantic value of the lookahead symbol. */
+YYSTYPE yylval;
+
+/* Number of syntax errors so far. */
+int yynerrs;
+
+
+/*----------.
+| yyparse. |
+`----------*/
+
+#ifdef YYPARSE_PARAM
+#if (defined __STDC__ || defined __C99__FUNC__ \
+ || defined __cplusplus || defined _MSC_VER)
+int
+yyparse (void *YYPARSE_PARAM)
+#else
+int
+yyparse (YYPARSE_PARAM)
+ void *YYPARSE_PARAM;
+#endif
+#else /* ! YYPARSE_PARAM */
+#if (defined __STDC__ || defined __C99__FUNC__ \
+ || defined __cplusplus || defined _MSC_VER)
+int
+yyparse (void)
+#else
+int
+yyparse ()
+
+#endif
+#endif
+{
+ int yystate;
+ /* Number of tokens to shift before error messages enabled. */
+ int yyerrstatus;
+
+ /* The stacks and their tools:
+ `yyss': related to states.
+ `yyvs': related to semantic values.
+
+ Refer to the stacks through separate pointers, to allow yyoverflow
+ to reallocate them elsewhere. */
+
+ /* The state stack. */
+ yytype_int16 yyssa[YYINITDEPTH];
+ yytype_int16 *yyss;
+ yytype_int16 *yyssp;
+
+ /* The semantic value stack. */
+ YYSTYPE yyvsa[YYINITDEPTH];
+ YYSTYPE *yyvs;
+ YYSTYPE *yyvsp;
+
+ YYSIZE_T yystacksize;
+
+ int yyn;
+ int yyresult;
+ /* Lookahead token as an internal (translated) token number. */
+ int yytoken;
+ /* The variables used to return semantic value and location from the
+ action routines. */
+ YYSTYPE yyval;
+
+#if YYERROR_VERBOSE
+ /* Buffer for error messages, and its allocated size. */
+ char yymsgbuf[128];
+ char *yymsg = yymsgbuf;
+ YYSIZE_T yymsg_alloc = sizeof yymsgbuf;
+#endif
+
+#define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N))
+
+ /* The number of symbols on the RHS of the reduced rule.
+ Keep to zero when no symbol should be popped. */
+ int yylen = 0;
+
+ yytoken = 0;
+ yyss = yyssa;
+ yyvs = yyvsa;
+ yystacksize = YYINITDEPTH;
+
+ YYDPRINTF ((stderr, "Starting parse\n"));
+
+ yystate = 0;
+ yyerrstatus = 0;
+ yynerrs = 0;
+ yychar = YYEMPTY; /* Cause a token to be read. */
+
+ /* Initialize stack pointers.
+ Waste one element of value and location stack
+ so that they stay on the same level as the state stack.
+ The wasted elements are never initialized. */
+ yyssp = yyss;
+ yyvsp = yyvs;
+ goto yysetstate;
+
+/*------------------------------------------------------------.
+| yynewstate -- Push a new state, which is found in yystate. |
+`------------------------------------------------------------*/
+ yynewstate:
+ /* In all cases, when you get here, the value and location stacks
+ have just been pushed. So pushing a state here evens the stacks. */
+ yyssp++;
+
+ yysetstate:
+ *yyssp = yystate;
+
+ if (yyss + yystacksize - 1 <= yyssp)
+ {
+ /* Get the current used size of the three stacks, in elements. */
+ YYSIZE_T yysize = yyssp - yyss + 1;
+
+#ifdef yyoverflow
+ {
+ /* Give user a chance to reallocate the stack. Use copies of
+ these so that the &'s don't force the real ones into
+ memory. */
+ YYSTYPE *yyvs1 = yyvs;
+ yytype_int16 *yyss1 = yyss;
+
+ /* Each stack pointer address is followed by the size of the
+ data in use in that stack, in bytes. This used to be a
+ conditional around just the two extra args, but that might
+ be undefined if yyoverflow is a macro. */
+ yyoverflow (YY_("memory exhausted"),
+ &yyss1, yysize * sizeof (*yyssp),
+ &yyvs1, yysize * sizeof (*yyvsp),
+ &yystacksize);
+
+ yyss = yyss1;
+ yyvs = yyvs1;
+ }
+#else /* no yyoverflow */
+# ifndef YYSTACK_RELOCATE
+ goto yyexhaustedlab;
+# else
+ /* Extend the stack our own way. */
+ if (YYMAXDEPTH <= yystacksize)
+ goto yyexhaustedlab;
+ yystacksize *= 2;
+ if (YYMAXDEPTH < yystacksize)
+ yystacksize = YYMAXDEPTH;
+
+ {
+ yytype_int16 *yyss1 = yyss;
+ union yyalloc *yyptr =
+ (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
+ if (! yyptr)
+ goto yyexhaustedlab;
+ YYSTACK_RELOCATE (yyss_alloc, yyss);
+ YYSTACK_RELOCATE (yyvs_alloc, yyvs);
+# undef YYSTACK_RELOCATE
+ if (yyss1 != yyssa)
+ YYSTACK_FREE (yyss1);
+ }
+# endif
+#endif /* no yyoverflow */
+
+ yyssp = yyss + yysize - 1;
+ yyvsp = yyvs + yysize - 1;
+
+ YYDPRINTF ((stderr, "Stack size increased to %lu\n",
+ (unsigned long int) yystacksize));
+
+ if (yyss + yystacksize - 1 <= yyssp)
+ YYABORT;
+ }
+
+ YYDPRINTF ((stderr, "Entering state %d\n", yystate));
+
+ if (yystate == YYFINAL)
+ YYACCEPT;
+
+ goto yybackup;
+
+/*-----------.
+| yybackup. |
+`-----------*/
+yybackup:
+
+ /* Do appropriate processing given the current state. Read a
+ lookahead token if we need one and don't already have one. */
+
+ /* First try to decide what to do without reference to lookahead token. */
+ yyn = yypact[yystate];
+ if (yypact_value_is_default (yyn))
+ goto yydefault;
+
+ /* Not known => get a lookahead token if don't already have one. */
+
+ /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */
+ if (yychar == YYEMPTY)
+ {
+ YYDPRINTF ((stderr, "Reading a token: "));
+ yychar = YYLEX;
+ }
+
+ if (yychar <= YYEOF)
+ {
+ yychar = yytoken = YYEOF;
+ YYDPRINTF ((stderr, "Now at end of input.\n"));
+ }
+ else
+ {
+ yytoken = YYTRANSLATE (yychar);
+ YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
+ }
+
+ /* If the proper action on seeing token YYTOKEN is to reduce or to
+ detect an error, take that action. */
+ yyn += yytoken;
+ if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
+ goto yydefault;
+ yyn = yytable[yyn];
+ if (yyn <= 0)
+ {
+ if (yytable_value_is_error (yyn))
+ goto yyerrlab;
+ yyn = -yyn;
+ goto yyreduce;
+ }
+
+ /* Count tokens shifted since error; after three, turn off error
+ status. */
+ if (yyerrstatus)
+ yyerrstatus--;
+
+ /* Shift the lookahead token. */
+ YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
+
+ /* Discard the shifted token. */
+ yychar = YYEMPTY;
+
+ yystate = yyn;
+ *++yyvsp = yylval;
+
+ goto yynewstate;
+
+
+/*-----------------------------------------------------------.
+| yydefault -- do the default action for the current state. |
+`-----------------------------------------------------------*/
+yydefault:
+ yyn = yydefact[yystate];
+ if (yyn == 0)
+ goto yyerrlab;
+ goto yyreduce;
+
+
+/*-----------------------------.
+| yyreduce -- Do a reduction. |
+`-----------------------------*/
+yyreduce:
+ /* yyn is the number of a rule to reduce with. */
+ yylen = yyr2[yyn];
+
+ /* If YYLEN is nonzero, implement the default value of the action:
+ `$$ = $1'.
+
+ Otherwise, the following line sets YYVAL to garbage.
+ This behavior is undocumented and Bison
+ users should not rely upon it. Assigning to YYVAL
+ unconditionally makes the parser a bit smaller, and it avoids a
+ GCC warning that YYVAL may be used uninitialized. */
+ yyval = yyvsp[1-yylen];
+
+
+ YY_REDUCE_PRINT (yyn);
+ switch (yyn)
+ {
+ case 4:
+/* Line 1787 of yacc.c */
+#line 63 "src/bib.y"
+ {
+ b_entry.type = (yyvsp[(1) - (4)].sval);
+ b_entry.id = (yyvsp[(3) - (4)].sval);
+ b_entry.table = g_hash_table_new_full(g_str_hash, g_str_equal, free, free);}
+ break;
+
+ case 5:
+/* Line 1787 of yacc.c */
+#line 67 "src/bib.y"
+ {
+ parse_entry(&b_entry);
+ g_hash_table_destroy(b_entry.table);
+ free(b_entry.type); free(b_entry.id);
+ b_entry.table = NULL;
+ b_entry.type = b_entry.id = NULL;}
+ break;
+
+ case 9:
+/* Line 1787 of yacc.c */
+#line 80 "src/bib.y"
+ { g_hash_table_replace(b_entry.table, (yyvsp[(1) - (3)].sval), (yyvsp[(3) - (3)].sval)); }
+ break;
+
+ case 10:
+/* Line 1787 of yacc.c */
+#line 83 "src/bib.y"
+ { lex_brace(); }
+ break;
+
+ case 11:
+/* Line 1787 of yacc.c */
+#line 83 "src/bib.y"
+ { lex_normal(); }
+ break;
+
+ case 12:
+/* Line 1787 of yacc.c */
+#line 83 "src/bib.y"
+ { (yyval.sval) = (yyvsp[(3) - (5)].sval); }
+ break;
+
+ case 14:
+/* Line 1787 of yacc.c */
+#line 87 "src/bib.y"
+ { (yyval.sval) = ""; }
+ break;
+
+ case 15:
+/* Line 1787 of yacc.c */
+#line 88 "src/bib.y"
+ { (yyval.sval) = concat((yyvsp[(1) - (2)].sval), (yyvsp[(2) - (2)].sval)); }
+ break;
+
+ case 17:
+/* Line 1787 of yacc.c */
+#line 92 "src/bib.y"
+ { (yyval.sval) = concat(concat("{", (yyvsp[(2) - (3)].sval)), "}"); }
+ break;
+
+
+/* Line 1787 of yacc.c */
+#line 1484 "src/bib.c"
+ default: break;
+ }
+ /* User semantic actions sometimes alter yychar, and that requires
+ that yytoken be updated with the new translation. We take the
+ approach of translating immediately before every use of yytoken.
+ One alternative is translating here after every semantic action,
+ but that translation would be missed if the semantic action invokes
+ YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or
+ if it invokes YYBACKUP. In the case of YYABORT or YYACCEPT, an
+ incorrect destructor might then be invoked immediately. In the
+ case of YYERROR or YYBACKUP, subsequent parser actions might lead
+ to an incorrect destructor call or verbose syntax error message
+ before the lookahead is translated. */
+ YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);
+
+ YYPOPSTACK (yylen);
+ yylen = 0;
+ YY_STACK_PRINT (yyss, yyssp);
+
+ *++yyvsp = yyval;
+
+ /* Now `shift' the result of the reduction. Determine what state
+ that goes to, based on the state we popped back to and the rule
+ number reduced by. */
+
+ yyn = yyr1[yyn];
+
+ yystate = yypgoto[yyn - YYNTOKENS] + *yyssp;
+ if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp)
+ yystate = yytable[yystate];
+ else
+ yystate = yydefgoto[yyn - YYNTOKENS];
+
+ goto yynewstate;
+
+
+/*------------------------------------.
+| yyerrlab -- here on detecting error |
+`------------------------------------*/
+yyerrlab:
+ /* Make sure we have latest lookahead translation. See comments at
+ user semantic actions for why this is necessary. */
+ yytoken = yychar == YYEMPTY ? YYEMPTY : YYTRANSLATE (yychar);
+
+ /* If not already recovering from an error, report this error. */
+ if (!yyerrstatus)
+ {
+ ++yynerrs;
+#if ! YYERROR_VERBOSE
+ yyerror (YY_("syntax error"));
+#else
+# define YYSYNTAX_ERROR yysyntax_error (&yymsg_alloc, &yymsg, \
+ yyssp, yytoken)
+ {
+ char const *yymsgp = YY_("syntax error");
+ int yysyntax_error_status;
+ yysyntax_error_status = YYSYNTAX_ERROR;
+ if (yysyntax_error_status == 0)
+ yymsgp = yymsg;
+ else if (yysyntax_error_status == 1)
+ {
+ if (yymsg != yymsgbuf)
+ YYSTACK_FREE (yymsg);
+ yymsg = (char *) YYSTACK_ALLOC (yymsg_alloc);
+ if (!yymsg)
+ {
+ yymsg = yymsgbuf;
+ yymsg_alloc = sizeof yymsgbuf;
+ yysyntax_error_status = 2;
+ }
+ else
+ {
+ yysyntax_error_status = YYSYNTAX_ERROR;
+ yymsgp = yymsg;
+ }
+ }
+ yyerror (yymsgp);
+ if (yysyntax_error_status == 2)
+ goto yyexhaustedlab;
+ }
+# undef YYSYNTAX_ERROR
+#endif
+ }
+
+
+
+ if (yyerrstatus == 3)
+ {
+ /* If just tried and failed to reuse lookahead token after an
+ error, discard it. */
+
+ if (yychar <= YYEOF)
+ {
+ /* Return failure if at end of input. */
+ if (yychar == YYEOF)
+ YYABORT;
+ }
+ else
+ {
+ yydestruct ("Error: discarding",
+ yytoken, &yylval);
+ yychar = YYEMPTY;
+ }
+ }
+
+ /* Else will try to reuse lookahead token after shifting the error
+ token. */
+ goto yyerrlab1;
+
+
+/*---------------------------------------------------.
+| yyerrorlab -- error raised explicitly by YYERROR. |
+`---------------------------------------------------*/
+yyerrorlab:
+
+ /* Pacify compilers like GCC when the user code never invokes
+ YYERROR and the label yyerrorlab therefore never appears in user
+ code. */
+ if (/*CONSTCOND*/ 0)
+ goto yyerrorlab;
+
+ /* Do not reclaim the symbols of the rule which action triggered
+ this YYERROR. */
+ YYPOPSTACK (yylen);
+ yylen = 0;
+ YY_STACK_PRINT (yyss, yyssp);
+ yystate = *yyssp;
+ goto yyerrlab1;
+
+
+/*-------------------------------------------------------------.
+| yyerrlab1 -- common code for both syntax error and YYERROR. |
+`-------------------------------------------------------------*/
+yyerrlab1:
+ yyerrstatus = 3; /* Each real token shifted decrements this. */
+
+ for (;;)
+ {
+ yyn = yypact[yystate];
+ if (!yypact_value_is_default (yyn))
+ {
+ yyn += YYTERROR;
+ if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR)
+ {
+ yyn = yytable[yyn];
+ if (0 < yyn)
+ break;
+ }
+ }
+
+ /* Pop the current state because it cannot handle the error token. */
+ if (yyssp == yyss)
+ YYABORT;
+
+
+ yydestruct ("Error: popping",
+ yystos[yystate], yyvsp);
+ YYPOPSTACK (1);
+ yystate = *yyssp;
+ YY_STACK_PRINT (yyss, yyssp);
+ }
+
+ *++yyvsp = yylval;
+
+
+ /* Shift the error token. */
+ YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp);
+
+ yystate = yyn;
+ goto yynewstate;
+
+
+/*-------------------------------------.
+| yyacceptlab -- YYACCEPT comes here. |
+`-------------------------------------*/
+yyacceptlab:
+ yyresult = 0;
+ goto yyreturn;
+
+/*-----------------------------------.
+| yyabortlab -- YYABORT comes here. |
+`-----------------------------------*/
+yyabortlab:
+ yyresult = 1;
+ goto yyreturn;
+
+#if !defined yyoverflow || YYERROR_VERBOSE
+/*-------------------------------------------------.
+| yyexhaustedlab -- memory exhaustion comes here. |
+`-------------------------------------------------*/
+yyexhaustedlab:
+ yyerror (YY_("memory exhausted"));
+ yyresult = 2;
+ /* Fall through. */
+#endif
+
+yyreturn:
+ if (yychar != YYEMPTY)
+ {
+ /* Make sure we have latest lookahead translation. See comments at
+ user semantic actions for why this is necessary. */
+ yytoken = YYTRANSLATE (yychar);
+ yydestruct ("Cleanup: discarding lookahead",
+ yytoken, &yylval);
+ }
+ /* Do not reclaim the symbols of the rule which action triggered
+ this YYABORT or YYACCEPT. */
+ YYPOPSTACK (yylen);
+ YY_STACK_PRINT (yyss, yyssp);
+ while (yyssp != yyss)
+ {
+ yydestruct ("Cleanup: popping",
+ yystos[*yyssp], yyvsp);
+ YYPOPSTACK (1);
+ }
+#ifndef yyoverflow
+ if (yyss != yyssa)
+ YYSTACK_FREE (yyss);
+#endif
+#if YYERROR_VERBOSE
+ if (yymsg != yymsgbuf)
+ YYSTACK_FREE (yymsg);
+#endif
+ /* Make sure YYID is used. */
+ return YYID (yyresult);
+}
+
+
+/* Line 2048 of yacc.c */
+#line 94 "src/bib.y"
+
+
+
+void parse_entry(BibEntry *bib_entry)
+{
+ char *author = "", *year = "";
+ GHashTableIter iter;
+ gpointer key, val;
+ char **kiter;
+ int i;
+ char *keys[] = {"id", "type", "author", "year", "title", "publisher", "editor",
+ "volume", "number", "pages", "month", "note", "address", "edition", "journal",
+ "series", "book", "chapter", "organization", NULL};
+ char *vals[] = {NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL};
+
+ g_hash_table_iter_init(&iter, bib_entry->table);
+ while (g_hash_table_iter_next(&iter, &key, &val)) {
+ for (kiter = keys, i = 0; *kiter; kiter++, i++)
+ {
+ if (!g_ascii_strcasecmp(*kiter, key)) {
+ vals[i] = g_strndup(val,slen);
+ break;
+ }
+ }
+ }
+
+ gtk_list_store_append (store, &siter);
+ gtk_list_store_set (store, &siter,
+ COL_BIB_AUTHOR, vals[COL_BIB_AUTHOR],
+ COL_BIB_TYPE, bib_entry->type,
+ COL_BIB_KEY, bib_entry->id,
+ COL_BIB_YEAR, vals[COL_BIB_YEAR],
+ COL_BIB_TITLE, vals[COL_BIB_TITLE],
+ COL_BIB_PUBLISHER, vals[COL_BIB_PUBLISHER],
+ COL_BIB_EDITOR, vals[COL_BIB_EDITOR],
+ COL_BIB_VOL, vals[COL_BIB_VOL],
+ COL_BIB_NUMBER, vals[COL_BIB_NUMBER],
+ COL_BIB_PAGE, vals[COL_BIB_PAGE],
+ COL_BIB_MON, vals[COL_BIB_MON],
+ COL_BIB_NOTE, vals[COL_BIB_NOTE],
+ COL_BIB_ADDRESS, vals[COL_BIB_ADDRESS],
+ COL_BIB_EDITION, vals[COL_BIB_EDITION],
+ COL_BIB_JOURNAL, vals[COL_BIB_JOURNAL],
+ COL_BIB_SERIES, vals[COL_BIB_SERIES],
+ COL_BIB_BOOK, vals[COL_BIB_BOOK],
+ COL_BIB_ORG, vals[COL_BIB_ORG],
+ COL_BIB_CHAP, vals[COL_BIB_CHAP],
+ COL_BIB_SCHOOL, vals[COL_BIB_SCHOOL],
+ -1);
+}
+
+char* concat(char* str1, char* str2) {
+ char* ret = malloc(strlen(str1) + strlen(str2) + 1);
+ strcpy(ret, str1);
+ strcat(ret, str2);
+ return ret;
+}
+
diff --git a/biblio/bibtex/utils/mkbib/src/bib.h b/biblio/bibtex/utils/mkbib/src/bib.h
new file mode 100644
index 0000000000..dfe094d4f2
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/src/bib.h
@@ -0,0 +1,102 @@
+/* A Bison parser, made by GNU Bison 2.6.1. */
+
+/* Bison interface for Yacc-like parsers in C
+
+ Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>. */
+
+/* As a special exception, you may create a larger work that contains
+ part or all of the Bison parser skeleton and distribute that work
+ under terms of your choice, so long as that work isn't itself a
+ parser generator using the skeleton or a modified version thereof
+ as a parser skeleton. Alternatively, if you modify or redistribute
+ the parser skeleton itself, you may (at your option) remove this
+ special exception, which will cause the skeleton and the resulting
+ Bison output files to be licensed under the GNU General Public
+ License without this special exception.
+
+ This special exception was added by the Free Software Foundation in
+ version 2.2 of Bison. */
+
+#ifndef YY_SRC_BIB_H
+# define YY_SRC_BIB_H
+/* Enabling traces. */
+#ifndef YYDEBUG
+# define YYDEBUG 0
+#endif
+#if YYDEBUG
+extern int yydebug;
+#endif
+
+/* Tokens. */
+#ifndef YYTOKENTYPE
+# define YYTOKENTYPE
+ /* Put the tokens into the symbol table, so that GDB and other debuggers
+ know about them. */
+ enum yytokentype {
+ ENTRYTYPE = 258,
+ VALUE = 259,
+ KEY = 260,
+ OBRACE = 261,
+ EBRACE = 262,
+ QUOTE = 263,
+ SEMICOLON = 264
+ };
+#endif
+/* Tokens. */
+#define ENTRYTYPE 258
+#define VALUE 259
+#define KEY 260
+#define OBRACE 261
+#define EBRACE 262
+#define QUOTE 263
+#define SEMICOLON 264
+
+
+
+#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
+typedef union YYSTYPE
+{
+/* Line 2049 of yacc.c */
+#line 41 "src/bib.y"
+
+ char *sval;
+
+
+/* Line 2049 of yacc.c */
+#line 80 "src/bib.h"
+} YYSTYPE;
+# define YYSTYPE_IS_TRIVIAL 1
+# define yystype YYSTYPE /* obsolescent; will be withdrawn */
+# define YYSTYPE_IS_DECLARED 1
+#endif
+
+extern YYSTYPE yylval;
+
+#ifdef YYPARSE_PARAM
+#if defined __STDC__ || defined __cplusplus
+int yyparse (void *YYPARSE_PARAM);
+#else
+int yyparse ();
+#endif
+#else /* ! YYPARSE_PARAM */
+#if defined __STDC__ || defined __cplusplus
+int yyparse (void);
+#else
+int yyparse ();
+#endif
+#endif /* ! YYPARSE_PARAM */
+
+#endif /* !YY_SRC_BIB_H */
diff --git a/biblio/bibtex/utils/mkbib/src/bib.y b/biblio/bibtex/utils/mkbib/src/bib.y
new file mode 100644
index 0000000000..87708f9819
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/src/bib.y
@@ -0,0 +1,153 @@
+%{
+#include <stdio.h>
+#include <glib.h>
+#include <gtk/gtk.h>
+#include <string.h>
+#include <glib/gstdio.h>
+#include <fcntl.h>
+#include "main.h"
+char* concat(char* str1, char* str2);
+
+void lex_brace();
+void lex_normal();
+#define slen 1064
+ int yylex(void);
+/*enum
+{
+ COL_BIB_KEY=0,
+ COL_BIB_TYPE, COL_BIB_AUTHOR, COL_BIB_YEAR,
+ NUM_COLS} ;
+*/
+typedef struct {
+ char *type;
+ char *id;
+ GHashTable *table;
+} BibEntry;
+
+BibEntry b_entry;
+GtkTreeIter siter;
+GtkListStore *store;
+
+void yyerror(char *s)
+{
+ printf("YYERROR : %s\n", s);
+}
+void parse_entry(BibEntry *bib_entry);
+
+%}
+
+// Symbols.
+%union
+{
+ char *sval;
+};
+
+%token <sval> ENTRYTYPE
+%token <sval> VALUE
+%token <sval> KEY
+%token OBRACE
+%token EBRACE
+%token QUOTE
+%token SEMICOLON
+%type <sval> Value
+%type <sval> BraceV
+%type <sval> BraceVs
+%start Input
+
+%%
+
+Input: Entry
+ | Input Entry ; /* input is zero or more entires */
+
+Entry:
+ ENTRYTYPE '{' KEY ','{
+ b_entry.type = $1;
+ b_entry.id = $3;
+ b_entry.table = g_hash_table_new_full(g_str_hash, g_str_equal, free, free);}
+ KeyVals '}' {
+ parse_entry(&b_entry);
+ g_hash_table_destroy(b_entry.table);
+ free(b_entry.type); free(b_entry.id);
+ b_entry.table = NULL;
+ b_entry.type = b_entry.id = NULL;}
+ ;
+
+KeyVals : /* empty */
+ | KeyVal
+ | KeyVal ',' KeyVals
+ ;
+
+KeyVal : KEY '=' Value { g_hash_table_replace(b_entry.table, $1, $3); }
+ ;
+
+Value : '{' { lex_brace(); } BraceVs { lex_normal(); } '}' { $$ = $3; }
+ | VALUE
+ ;
+
+BraceVs : /* empty */ { $$ = ""; }
+ | BraceV BraceVs { $$ = concat($1, $2); }
+ ;
+
+BraceV : VALUE
+ | '{' BraceVs '}' { $$ = concat(concat("{", $2), "}"); }
+ ;
+%%
+
+
+void parse_entry(BibEntry *bib_entry)
+{
+ char *author = "", *year = "";
+ GHashTableIter iter;
+ gpointer key, val;
+ char **kiter;
+ int i;
+ char *keys[] = {"id", "type", "author", "year", "title", "publisher", "editor",
+ "volume", "number", "pages", "month", "note", "address", "edition", "journal",
+ "series", "book", "chapter", "organization", NULL};
+ char *vals[] = {NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL};
+
+ g_hash_table_iter_init(&iter, bib_entry->table);
+ while (g_hash_table_iter_next(&iter, &key, &val)) {
+ for (kiter = keys, i = 0; *kiter; kiter++, i++)
+ {
+ if (!g_ascii_strcasecmp(*kiter, key)) {
+ vals[i] = g_strndup(val,slen);
+ break;
+ }
+ }
+ }
+
+ gtk_list_store_append (store, &siter);
+ gtk_list_store_set (store, &siter,
+ COL_BIB_AUTHOR, vals[COL_BIB_AUTHOR],
+ COL_BIB_TYPE, bib_entry->type,
+ COL_BIB_KEY, bib_entry->id,
+ COL_BIB_YEAR, vals[COL_BIB_YEAR],
+ COL_BIB_TITLE, vals[COL_BIB_TITLE],
+ COL_BIB_PUBLISHER, vals[COL_BIB_PUBLISHER],
+ COL_BIB_EDITOR, vals[COL_BIB_EDITOR],
+ COL_BIB_VOL, vals[COL_BIB_VOL],
+ COL_BIB_NUMBER, vals[COL_BIB_NUMBER],
+ COL_BIB_PAGE, vals[COL_BIB_PAGE],
+ COL_BIB_MON, vals[COL_BIB_MON],
+ COL_BIB_NOTE, vals[COL_BIB_NOTE],
+ COL_BIB_ADDRESS, vals[COL_BIB_ADDRESS],
+ COL_BIB_EDITION, vals[COL_BIB_EDITION],
+ COL_BIB_JOURNAL, vals[COL_BIB_JOURNAL],
+ COL_BIB_SERIES, vals[COL_BIB_SERIES],
+ COL_BIB_BOOK, vals[COL_BIB_BOOK],
+ COL_BIB_ORG, vals[COL_BIB_ORG],
+ COL_BIB_CHAP, vals[COL_BIB_CHAP],
+ COL_BIB_SCHOOL, vals[COL_BIB_SCHOOL],
+ -1);
+}
+
+char* concat(char* str1, char* str2) {
+ char* ret = malloc(strlen(str1) + strlen(str2) + 1);
+ strcpy(ret, str1);
+ strcat(ret, str2);
+ return ret;
+}
diff --git a/biblio/bibtex/utils/mkbib/src/biblst b/biblio/bibtex/utils/mkbib/src/biblst
new file mode 100644
index 0000000000..49d4575d22
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/src/biblst
@@ -0,0 +1,361 @@
+/* Copyright (C) 2012 Rudra Banerjee*/
+
+/*
+This file is part of mkbib.
+
+mkbib is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+mkbib is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with mkbib. If not, see <http://www.gnu.org/licenses/>.
+
+*/
+
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "==select bibstyle==");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "abbrv");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "abstract");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "acm");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "acm-fa");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "agsm");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "alpha");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "aaai-named");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "authordate1");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "authordate2");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "authordate3");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "authordate4");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "apa");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "apacann");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "apacannx");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "apacite");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "apacitex");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "apalike");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "apalike2");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "apalike-fr");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "apalike-letters");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "amsalpha");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "amsplain");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "aabbrv");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "aalpha");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "apsrev");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "apsrev4-1");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "apsrevM");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "apsrmp");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "apsrmp4-1");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "apsrmpM");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "annotate");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "annotation");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "bbs");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "cbe");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "cell");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "chicago");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "chicagoa");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "dcu");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "humanbio");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "humannat");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "is-abbrv");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "is-alpha");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "is-plain");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "is-unsrt");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "jas99");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "jmb");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "nar");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "naturemag");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "phcpc");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "plain");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "plainyr");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "unsrt");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "-----------------------");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "abbrvdin");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "abbrv-fr");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "abbrvhtml");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "abbrv-letters");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "abbrvnat");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "abbrvnat-fr");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "abbrvurl");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "achemso");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "achicago");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "address");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "address-html");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "address-ldif");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "address-vcard");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "adfathesis");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "adrbirthday");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "adrconv");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "adrfax");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "aer");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "aertt");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "agecon");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "agu");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "agu04");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "agufull");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "agufull04");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "aiaa");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "aichej");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "aipauth4-1");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "aipnum4-1");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "ajae");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "alphadin");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "alpha-fr");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "alphahtml");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "alphahtmldate");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "alphahtmldater");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "alpha-letters");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "alphaurl");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "ametsoc");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "amsra");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "amsrn");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "amsrs");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "amsru");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "amsry");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "angew");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "anotit");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "aomalpha");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "aomplain");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "apecon");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "aplain");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "apsr");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "asaetr");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "asa-fa");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "ascelike");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "astron");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "aunsnot");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "aunsrt");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "bababbr3");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "bababbr3-fl");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "bababbr3-lf");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "bababbrv");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "bababbrv-fl");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "bababbrv-lf");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "babalpha");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "babalpha-fl");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "babalpha-lf");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "babamspl");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "babplai3");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "babplai3-fl");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "babplai3-lf");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "babplain");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "babplain-fl");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "babplain-lf");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "babunsrt");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "babunsrt-fl");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "babunsrt-lf");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "bgteuabbr");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "bgteuabbr2");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "bgteupln");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "bgteupln2");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "bgteupln3");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "biblatex");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "bibtoref");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "biochem");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "birthday");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "cascadilla");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "cc");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "cc2");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "ChemCommun");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "ChemEurJ");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "chetref");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "chicago-annote");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "chicago-fa");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "chscite");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "cje");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "cmpj");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "cont-ab");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "cont-au");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "cont-no");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "cont-ti");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "cv");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "dcbib");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "dinat");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "dk-abbrv");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "dk-alpha");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "dk-apali");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "dk-plain");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "dk-unsrt");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "dlfltxbbibtex");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "dtk");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "ecca");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "econometrica");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "econometrica");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "econometrica-fr");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "ecta");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "elsarticle-harv");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "elsarticle-num");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "elsarticle-num-names");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "email");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "email-html");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "en-mtc");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "erae");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "expcites");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "expkeys");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "export");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "fbs");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "figbib");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "figbib1");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "finplain");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "fr-mtc");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "frplainnat-letters");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "gatech-thesis");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "gatech-thesis-losa");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "gerabbrv");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "geralpha");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "gerapali");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "gerplain");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "gerunsrt");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "glsplain");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "glsshort");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "gost2003");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "gost2003s");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "gost2008");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "gost2008l");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "gost2008ls");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "gost2008n");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "gost2008ns");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "gost2008s");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "gost705");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "gost705s");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "gost780");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "gost780s");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "hc-de");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "hc-en");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "ieeepes");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "ieeetr");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "IEEEtran");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "IEEEtranM");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "IEEEtranMN");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "IEEEtranN");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "IEEEtranS");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "IEEEtranSA");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "IEEEtranSN");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "ieeetr-fa");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "ieeetr-fr");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "ier");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "ijmart");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "ijqc");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "imac");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "inlinebib");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "InorgChem");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "iopart-num");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "itaxpf");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "jae");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "JAmChemSoc");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "JAmChemSoc_all");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "jbact");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "jcc");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "jmr");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "jneurosci");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "jox");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "jpc");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "jpe");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "jphysicsB");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "jss2");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "jtb");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "jthcarsu");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "jurabib");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "jurarsp");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "jureco");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "jurunsrt");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "klunamed");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "klunum");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "kluwer");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "ksfh_nat");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "letter");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "listbib");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "ltugbib");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "mbplain");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "mbunsrtdin");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "mslapa");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "munich");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "named");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "namunsrt");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "natdin");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "nddiss2e");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "nederlands");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "newapa");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "newapave");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "oega");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "opcit");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "papalike");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "pccp");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "perception");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "phaip");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "phapalik");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "phiaea");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "phjcp");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "phnf");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "phnflet");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "phone");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "phpf");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "phppcf");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "phreport");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "phrmp");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "plabbrv");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "plaindin");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "plain-fa");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "plain-fr");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "plainhtml");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "plainhtmldate");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "plainhtmldater");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "plain-letters");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "plainnat");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "plainnat-fa");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "plainnat-fr");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "plainnat-letters");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "plainurl");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "plalpha");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "plplain");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "plunsrt");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "pnas2009");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "psuthesis");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "refer");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "regstud");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "revcompchem");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "rsc");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "rusnat");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "sageep");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "sapthesis");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "savetrees");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "seuthesis");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "siam");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "siam-fr");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "siam-letters");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "spiebib");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "sweabbrv");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "swealpha");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "sweplain");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "sweplnat");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "sweunsrt");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "tandfx");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "texsis");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "thesnumb");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "thubib");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "ugost2003");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "ugost2003s");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "ugost2008");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "ugost2008l");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "ugost2008ls");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "ugost2008n");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "ugost2008ns");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "ugost2008s");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "UNAMThesis");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "unsrtdin");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "unsrt-fa");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "unsrt-fr");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "unsrthtml");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "unsrtnat");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "unsrtnat-fr");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "unsrturl");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "usmeg-a");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "usmeg-n");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "ussagus");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "vak");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "vancouver");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "worlddev");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "xagsm");
+gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(bibcombo), "xplain");
diff --git a/biblio/bibtex/utils/mkbib/src/caution.c b/biblio/bibtex/utils/mkbib/src/caution.c
new file mode 100644
index 0000000000..0f61a23ec9
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/src/caution.c
@@ -0,0 +1,34 @@
+/* Copyright (C) 2012 Rudra Banerjee*/
+
+/*
+ This file is part of mkbib.
+
+ mkbib is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ mkbib is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with mkbib. If not, see <http://www.gnu.org/licenses/>.
+
+*/
+
+#include <gtk/gtk.h>
+#include <stdio.h>
+GtkWidget *window;
+
+void caution(char *error){
+ GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW(window),
+ GTK_DIALOG_DESTROY_WITH_PARENT,
+ GTK_MESSAGE_ERROR,
+ GTK_BUTTONS_CLOSE,
+ error,
+ NULL, NULL);
+ gtk_dialog_run (GTK_DIALOG (dialog));
+ gtk_widget_destroy (dialog);
+}
diff --git a/biblio/bibtex/utils/mkbib/src/file_util.c b/biblio/bibtex/utils/mkbib/src/file_util.c
new file mode 100644
index 0000000000..858f952a87
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/src/file_util.c
@@ -0,0 +1,156 @@
+/* Copyright (C) 2012 Rudra Banerjee*/
+
+/*
+ This file is part of mkbib.
+
+ mkbib is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ mkbib is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with mkbib. If not, see <http://www.gnu.org/licenses/>.
+
+*/
+
+#include <string.h>
+#include <glib/gstdio.h>
+#include <fcntl.h>
+#include <gtk/gtk.h>
+#include "main.h"
+
+GtkWidget *window,
+ *flabel,
+ *tree,
+ *bibcombo;
+char *filename,
+ *key,
+ *val;
+GtkListStore *store;
+GtkTreeIter siter;
+#define slen 64
+#define CHAR_BUFF 5000
+
+/*
+ *Saving in the same file
+ */
+void save_file(GtkWidget *widget, gpointer data){
+ GError *Err;
+ g_file_set_contents(filename, buffer, -1, &Err);
+ if (Err)
+ { caution("Failed to save in %s",filename);
+ // g_free(str);
+ g_error_free(Err);
+ }
+ g_print("%s",filename);
+ // g_free(buffer);
+ buf_mod=FALSE;
+}
+
+/*
+ *Create and Save in a new/existing file
+ * The Save_As function
+ */
+void save_file_as(GtkWidget *widget, gpointer data)
+{
+ gchar *fname=NULL, *str;
+ gchar *cts;
+ GError *Err=NULL;
+ GtkWidget *dialog;
+ gsize length;
+ dialog=gtk_file_chooser_dialog_new("Save File As", GTK_WINDOW(window),
+ GTK_FILE_CHOOSER_ACTION_SAVE,
+ GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+ GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT, NULL);
+
+ gtk_file_chooser_set_do_overwrite_confirmation (GTK_FILE_CHOOSER (dialog), TRUE);
+ if (gtk_dialog_run(GTK_DIALOG(dialog)) == GTK_RESPONSE_ACCEPT)
+ {
+ filename=gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(dialog));
+ g_file_set_contents(filename, buffer, -1, &Err);
+ // g_free(buffer);
+ if (Err)
+ {
+ caution("Failed to save in %s",filename);
+ g_free(str);
+ g_error_free(Err);
+ }
+ }
+ buf_mod=FALSE;
+ gtk_widget_destroy(dialog);
+}
+
+
+void new_file(GtkWidget *widget, gpointer data)
+{
+ GtkWidget *dialog = gtk_file_chooser_dialog_new("Save File", GTK_WINDOW(window),
+ GTK_FILE_CHOOSER_ACTION_SAVE,
+ GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
+ GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+ NULL);
+ gtk_file_chooser_set_do_overwrite_confirmation (GTK_FILE_CHOOSER (dialog), TRUE);
+ gtk_file_chooser_set_current_name(GTK_FILE_CHOOSER(dialog),"Untitled.bib");
+ if (gtk_dialog_run(GTK_DIALOG(dialog)) == GTK_RESPONSE_ACCEPT)
+ {
+ filename=gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(dialog));
+ if(TRUE)
+ {
+ remove(filename);
+ char* markup=g_markup_printf_escaped ("<span style=\"italic\">%s</span>", filename);
+ gtk_label_set_markup(GTK_LABEL(flabel), markup);
+ gtk_widget_destroy(dialog);
+ }
+ FILE *fn=g_fopen(filename,"w");
+ g_fprintf(fn,"#This File is Created by mkBIB\n");
+ fclose(fn);
+ }
+ gtk_widget_destroy(dialog);
+}
+
+void open_file(GtkWidget *widget, gpointer data)
+{
+ GError* error=NULL;
+ GtkWidget *dialog;
+ GtkFileFilter *filter;
+ dialog = gtk_file_chooser_dialog_new("Open File", NULL,
+ GTK_FILE_CHOOSER_ACTION_OPEN,
+ GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
+ GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+ NULL);
+ filter = gtk_file_filter_new();
+ gtk_file_filter_set_name(filter, "All files (*.*)");
+ gtk_file_filter_add_pattern(filter, "*");
+ gtk_file_chooser_add_filter(GTK_FILE_CHOOSER(dialog), filter);
+
+ filter = gtk_file_filter_new();
+ gtk_file_filter_set_name(filter, "Bibtex file (*.bib)");
+ gtk_file_filter_add_pattern(filter, "*.bib");
+ gtk_file_chooser_add_filter(GTK_FILE_CHOOSER(dialog), filter);
+ gtk_file_chooser_set_filter(GTK_FILE_CHOOSER(dialog), filter);
+
+ if (gtk_dialog_run(GTK_DIALOG(dialog)) == GTK_RESPONSE_ACCEPT)
+ {
+ gtk_list_store_clear (store);
+ filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(dialog));
+ g_file_get_contents(filename, &buffer, &length , &error);
+ g_assert(!error);
+ buf_mod=FALSE;
+
+ char* markup=g_markup_printf_escaped ("<span style=\"italic\">%s</span>", filename);
+ gtk_label_set_markup(GTK_LABEL(flabel), markup);
+ gtk_widget_destroy(dialog);
+
+ output_entry();
+ }
+ else{
+ gtk_widget_destroy(dialog);
+ // g_free(buffer);
+ }
+}
+
+
diff --git a/biblio/bibtex/utils/mkbib/src/help.c b/biblio/bibtex/utils/mkbib/src/help.c
new file mode 100644
index 0000000000..b8c3011462
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/src/help.c
@@ -0,0 +1,76 @@
+/* Copyright (C) 2012 Rudra Banerjee*/
+
+/*
+ This file is part of mkbib.
+
+ mkbib is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ mkbib is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with mkbib. If not, see <http://www.gnu.org/licenses/>.
+
+*/
+#include "config.h"
+
+#include <stdio.h>
+#include <stdlib.h>
+
+#include <glib/gi18n.h>
+#include <gdk-pixbuf/gdk-pixbuf.h>
+
+#include <gtk/gtk.h>
+#include <string.h>
+
+GtkWidget *window;
+void help_about (GtkMenuItem *helpabout, GtkWindow *window)
+{
+ const gchar *auth[]={ "Rudra Banerjee <bnrj.rudra@yahoo.com>", NULL };
+ gchar *hstr=g_strdup_printf("%s/mkbib.svg", PIXMAP);
+ GdkPixbuf *pixbuf = gdk_pixbuf_new_from_file(hstr, NULL);
+
+ GtkWidget *dialog = gtk_about_dialog_new();
+ gtk_about_dialog_set_program_name(GTK_ABOUT_DIALOG(dialog), "mkbib");
+ gtk_about_dialog_set_authors(GTK_ABOUT_DIALOG(dialog), auth);
+ gtk_about_dialog_set_version(GTK_ABOUT_DIALOG(dialog), VERSION);
+ gtk_about_dialog_set_copyright(GTK_ABOUT_DIALOG(dialog),
+ "Copyright 2012 ©Rudra Banerjee"
+ );
+ gtk_about_dialog_set_comments(GTK_ABOUT_DIALOG(dialog),
+ "This is a simple BibTex manager \n"
+ "which can be used to create and edit standard bibtex file."
+ );
+ gtk_about_dialog_set_website(GTK_ABOUT_DIALOG(dialog),
+ "http://web.warwick.ac.uk/~phslav/packs.html#mkbib"
+ );
+ gtk_about_dialog_set_license(GTK_ABOUT_DIALOG(dialog),
+ " This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. \n This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. \n You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., \n59 Temple Place, Suite 330, Boston, MA 02111-1307 USA"
+ );
+ gtk_about_dialog_set_wrap_license(GTK_ABOUT_DIALOG(dialog),TRUE);
+ gtk_about_dialog_set_logo(GTK_ABOUT_DIALOG(dialog), pixbuf);
+ g_object_unref(pixbuf), pixbuf = NULL;
+ gtk_dialog_run(GTK_DIALOG (dialog));
+ gtk_widget_destroy(dialog);
+ }
+void help_content(GtkWidget *widget)
+{
+ GError *error = NULL;
+ gtk_show_uri (gtk_widget_get_screen (widget),
+ "help:mkbib",
+ gtk_get_current_event_time(),
+ &error);
+
+ if(error)
+ {
+ g_printf ( "%s \n", error->message);
+ g_error_free (error);
+ }
+}
+
+
diff --git a/biblio/bibtex/utils/mkbib/src/main.h b/biblio/bibtex/utils/mkbib/src/main.h
new file mode 100644
index 0000000000..8e00693c1c
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/src/main.h
@@ -0,0 +1,54 @@
+/* Copyright (C) 2012 Rudra Banerjee*/
+
+/*
+ This file is part of mkbib.
+
+ mkbib is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ mkbib is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with mkbib. If not, see <http://www.gnu.org/licenses/>.
+
+*/
+
+enum
+{
+ COL_BIB_KEY=0,
+ COL_BIB_TYPE, COL_BIB_AUTHOR, COL_BIB_YEAR, COL_BIB_TITLE,
+ COL_BIB_EDITOR, COL_BIB_PUBLISHER, COL_BIB_VOL, COL_BIB_NUMBER,
+ COL_BIB_PAGE, COL_BIB_MON, COL_BIB_NOTE, COL_BIB_ADDRESS,
+ COL_BIB_EDITION, COL_BIB_JOURNAL, COL_BIB_SERIES, COL_BIB_BOOK,
+ COL_BIB_ORG, COL_BIB_CHAP, COL_BIB_SCHOOL,
+ NUM_COLS} ;
+
+typedef enum
+{
+ ID_KEY, ID_TYPE, ID_AUTHOR, ID_YEAR, ID_TITLE,
+ ID_EDITOR, ID_PUBLISHER, ID_VOL, ID_NUMBER, ID_PAGE,
+ ID_MON, ID_NOTE, ID_ADDRESS, ID_EDITION, ID_JOURNAL,
+ ID_SERIES, ID_BOOK, ID_ORG, ID_CHAP, ID_SCHOOL,
+ NUM_ID
+}sort_ids;
+
+extern gchar *buffer;
+gsize length;
+GtkListStore *store;
+gboolean buf_mod;
+
+typedef struct {
+ GtkWidget *combo, *entry1, *entryAuth, *entryEditor, *entryTitle,
+ *entryPublisher, *entryVol, *entryNumber, *entryPage, *entryMon,
+ *entryNote, *entryKey, *entryYear, *entryAddress, *entryEdition,
+ *entryJournal, *entrySeries, *entryBooktitle, *entryOrg,
+ *entryChap, *entrySchool;
+} Entries;
+
+extern GtkTreeStore *treestore;
+
diff --git a/biblio/bibtex/utils/mkbib/src/mkbib.c b/biblio/bibtex/utils/mkbib/src/mkbib.c
new file mode 100644
index 0000000000..7eeefc037b
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/src/mkbib.c
@@ -0,0 +1,457 @@
+/* Copyright (C) 2012 Rudra Banerjee*/
+
+/*
+ This file is part of mkbib.
+
+ mkbib is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ mkbib is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with mkbib. If not, see <http://www.gnu.org/licenses/>.
+
+*/
+
+#include <gtk/gtk.h>
+#include <glib.h>
+#include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <glib/gi18n.h>
+#include <gdk/gdk.h>
+#include <gdk/gdkkeysyms.h>
+#include <glib/gstdio.h>
+#include <fcntl.h>
+#include <gtk/gtk.h>
+#include "main.h"
+#include "config.h"
+
+FILE *tauth,*tyear,*ttitle;
+GtkWidget *window,
+ *menubar,
+ *flabel,
+ *tree,
+ *dialog,
+ *image,
+ *bibcombo,
+ *entrypdf;
+char *filename,*key, *val;
+GtkAccelGroup *menuGroup;
+GtkListStore *store;
+GtkTreeIter siter;
+gchar *buffer = NULL;
+
+void help_about(GtkMenuItem *helpabout, GtkWidget *parentWindow);
+void activate_func(GtkWidget *widget, gpointer data);
+void search_gs(GtkWidget *widget, gpointer data);
+void output_entry (GHashTable *table);
+guint parse_entry (GScanner *scanner,GHashTable *table);
+GtkWidget *create_view_and_model(void);
+void new_file(GtkWidget *widget, gpointer data);
+void open_file(GtkWidget *widget, gpointer data);
+void save_file(GtkWidget *widget, gpointer data);
+void save_file_as(GtkWidget *widget, gpointer data);
+void mk_bib(GtkWidget *widget, gpointer data);
+void caution();
+void help_content(GtkWidget *widget);
+void gen_gs(GtkWidget *widget, gpointer data);
+
+GdkPixbuf *create_pixbuf(const gchar * iconname) {
+ GdkPixbuf *pixbuf;
+ GError *error = NULL;
+ pixbuf = gdk_pixbuf_new_from_file(iconname, &error);
+ if (!pixbuf) {
+ fprintf(stderr, "%s\n", error->message);
+ g_error_free(error);
+ }
+
+ return pixbuf;
+}
+
+gint sort_by_author(GtkTreeModel *model,
+ GtkTreeIter *a,
+ GtkTreeIter *b,
+ gpointer userdata)
+{
+ gchar *first,*second ;
+ gtk_tree_model_get( model , a, COL_BIB_AUTHOR , &first,-1);
+ gtk_tree_model_get( model , b, COL_BIB_AUTHOR , &second, -1);
+
+ gint return_value = g_utf8_collate ( first , second ) ;
+ g_free ( first) ;
+ g_free ( second ) ;
+ return return_value ;
+}
+
+void main_window_quit(GtkWidget *widget, gpointer data){
+ if(!buf_mod){
+ gtk_main_quit();
+ }
+ else{
+ gboolean ret = FALSE;
+ GtkWidget *dialog = gtk_message_dialog_new (NULL,
+ GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
+ GTK_MESSAGE_QUESTION,
+ GTK_BUTTONS_YES_NO,
+ "Do you want to save the changes before quit?");
+
+ gtk_window_set_title (GTK_WINDOW (dialog), "Save?");
+ if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_NO)
+ {
+ gtk_main_quit();
+ }
+ else {
+ save_file_as(widget,data);
+ gtk_main_quit();
+ }
+ gtk_widget_destroy (dialog);
+ }
+}
+
+int main(int argc,
+ char *argv[]) {
+ GtkWidget *grid,
+ *button,
+ *frame,
+ *notebook,
+ *label,
+ *scrolledwindow,
+ *filemenu,
+ *editmenu,
+ *helpmenu,
+ *file,
+ *new,
+ *open,
+ *save,
+ *save_as,
+ *quit,
+ *edit,
+ *edit_entry,
+ *help,
+ *about,
+ *sep;
+ GtkAccelGroup *accel_group = NULL;
+ gtk_init(&argc, &argv);
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "mkBIB");
+ gtk_container_set_border_width(GTK_CONTAINER(window), 5);
+ gchar *sicon=g_strdup_printf("%s/mkbib.svg",PIXMAP);
+ gtk_window_set_icon(GTK_WINDOW(window),
+ create_pixbuf(sicon));
+ g_free(sicon);
+ g_signal_connect(window, "delete-event",
+ G_CALLBACK(main_window_quit), NULL);
+
+ grid = gtk_grid_new();
+ gtk_container_add(GTK_CONTAINER(window), grid);
+
+ menubar = gtk_menu_bar_new();
+ filemenu = gtk_menu_new();
+ editmenu = gtk_menu_new();
+ helpmenu = gtk_menu_new();
+
+ accel_group = gtk_accel_group_new();
+ gtk_window_add_accel_group(GTK_WINDOW(window), accel_group);
+
+ file = gtk_menu_item_new_with_mnemonic("_File");
+ new = gtk_image_menu_item_new_from_stock(GTK_STOCK_NEW, accel_group);
+ open = gtk_image_menu_item_new_from_stock(GTK_STOCK_OPEN, accel_group);
+ save = gtk_image_menu_item_new_from_stock(GTK_STOCK_SAVE, accel_group);
+ save_as = gtk_image_menu_item_new_from_stock(GTK_STOCK_SAVE_AS, accel_group);
+ sep = gtk_separator_menu_item_new();
+ quit = gtk_image_menu_item_new_from_stock(GTK_STOCK_QUIT, accel_group);
+
+ gtk_widget_add_accelerator (save, "activate", accel_group,
+ GDK_KEY_s, GDK_CONTROL_MASK | GDK_SHIFT_MASK, GTK_ACCEL_VISIBLE);
+ gtk_widget_add_accelerator (save_as, "activate", accel_group,
+ GDK_KEY_S, GDK_CONTROL_MASK | GDK_SHIFT_MASK, GTK_ACCEL_VISIBLE);
+
+ gtk_menu_item_set_submenu(GTK_MENU_ITEM(file), filemenu);
+ gtk_menu_shell_append(GTK_MENU_SHELL(filemenu), new);
+ gtk_menu_shell_append(GTK_MENU_SHELL(filemenu), open);
+ gtk_menu_shell_append(GTK_MENU_SHELL(filemenu), save);
+ gtk_menu_shell_append(GTK_MENU_SHELL(filemenu), save_as);
+ gtk_menu_shell_append(GTK_MENU_SHELL(filemenu), sep);
+ gtk_menu_shell_append(GTK_MENU_SHELL(filemenu), quit);
+ gtk_menu_shell_append(GTK_MENU_SHELL(menubar), file);
+
+
+ edit = gtk_menu_item_new_with_mnemonic("_Edit");
+ gtk_menu_shell_append(GTK_MENU_SHELL(menubar), edit);
+ edit_entry = gtk_image_menu_item_new_from_stock(GTK_STOCK_EDIT, accel_group);
+ gtk_menu_item_set_submenu(GTK_MENU_ITEM(edit), editmenu);
+ gtk_menu_shell_append(GTK_MENU_SHELL(editmenu), edit_entry);
+
+
+ help = gtk_menu_item_new_with_mnemonic("_Help");
+ gtk_menu_shell_append(GTK_MENU_SHELL(menubar), help);
+ about = gtk_image_menu_item_new_from_stock(GTK_STOCK_ABOUT, accel_group);
+ gtk_menu_item_set_submenu(GTK_MENU_ITEM(help), helpmenu);
+ gtk_menu_shell_append(GTK_MENU_SHELL(helpmenu), about);
+
+ GtkWidget *contents = gtk_image_menu_item_new_from_stock(GTK_STOCK_HELP, accel_group);
+ gtk_widget_add_accelerator(contents, "activate", accel_group, GDK_KEY_F1, 0, GTK_ACCEL_VISIBLE);
+ gtk_menu_shell_append(GTK_MENU_SHELL(helpmenu), contents);
+
+ g_signal_connect(G_OBJECT(new), "activate", G_CALLBACK(new_file), NULL);
+ g_signal_connect(G_OBJECT(open), "activate", G_CALLBACK(open_file), NULL);
+ g_signal_connect(G_OBJECT(save), "activate", G_CALLBACK(save_file), NULL);
+ g_signal_connect(G_OBJECT(save_as), "activate", G_CALLBACK(save_file_as), NULL);
+ g_signal_connect(G_OBJECT(quit), "activate", G_CALLBACK(main_window_quit), NULL);
+ // g_signal_connect_swapped(G_OBJECT(window), "destroy", G_CALLBACK(gtk_main_quit), NULL);
+
+ g_signal_connect(G_OBJECT(edit_entry), "activate", G_CALLBACK(gen_gs), NULL);
+
+ g_signal_connect(G_OBJECT(contents), "activate", G_CALLBACK(help_content), NULL);
+ g_signal_connect(G_OBJECT(about), "activate", G_CALLBACK(help_about), (gpointer) window);
+
+
+ Entries *e = g_slice_new(Entries);
+
+
+ e->combo = gtk_combo_box_text_new();
+ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(e->combo), "==Entry Type==");
+ gtk_combo_box_set_active(GTK_COMBO_BOX(e->combo), 0);
+ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(e->combo), "Book");
+ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(e->combo), "Article");
+ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(e->combo), "Booklet");
+ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(e->combo), "Conference");
+ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(e->combo), "inBook");
+ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(e->combo), "inCollection");
+ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(e->combo), "inProceedings");
+ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(e->combo), "Manual");
+ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(e->combo), "MastersThesis");
+ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(e->combo), "Misc");
+ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(e->combo), "PhdThesis");
+ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(e->combo), "Proceedings");
+ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(e->combo), "Techreport");
+ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(e->combo), "Unpublished");
+
+ e->entry1 = gtk_entry_new();
+ gtk_entry_set_placeholder_text(GTK_ENTRY(e->entry1), "bibKey");
+
+ scrolledwindow = gtk_scrolled_window_new(NULL, NULL);
+ gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(scrolledwindow),
+ GTK_SHADOW_IN);
+ gtk_widget_set_size_request(scrolledwindow, 1000, 175);
+ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolledwindow),
+ GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
+
+// tree = create_view_and_model();
+ gtk_container_add(GTK_CONTAINER(scrolledwindow), create_view_and_model());
+
+ notebook = gtk_notebook_new();
+ gtk_notebook_set_tab_pos(GTK_NOTEBOOK(notebook), GTK_POS_TOP);
+
+
+ /*
+ * Tab 1
+ */
+ frame = gtk_frame_new("");
+
+ GtkWidget *page1 = gtk_grid_new();
+ gtk_container_add(GTK_CONTAINER(frame), page1);
+
+ e->entryAuth = gtk_entry_new();
+ GtkWidget *Authlabel = gtk_label_new("Author");
+ gtk_entry_set_placeholder_text(GTK_ENTRY(e->entryAuth), "Author");
+
+ e->entryEditor = gtk_entry_new();
+ GtkWidget *Editorlabel = gtk_label_new("Editor");
+ gtk_entry_set_placeholder_text(GTK_ENTRY(e->entryEditor), "Editor");
+
+ e->entryTitle = gtk_entry_new();
+ GtkWidget *Titlelabel = gtk_label_new("Title");
+ gtk_entry_set_placeholder_text(GTK_ENTRY(e->entryTitle), "Title");
+
+ e->entrySeries = gtk_entry_new();
+ GtkWidget *Serieslabel = gtk_label_new("Series");
+ gtk_entry_set_placeholder_text(GTK_ENTRY(e->entrySeries), "Series");
+
+ e->entryBooktitle = gtk_entry_new();
+ GtkWidget *Booktitlelabel = gtk_label_new("Booktitle");
+ gtk_entry_set_placeholder_text(GTK_ENTRY(e->entryBooktitle), "Booktitle");
+
+ e->entryYear = gtk_entry_new();
+ GtkWidget *Yearlabel = gtk_label_new("Year");
+ gtk_entry_set_placeholder_text(GTK_ENTRY(e->entryYear), "Year");
+
+ label = gtk_label_new("Authors/Title");
+ gtk_notebook_append_page(GTK_NOTEBOOK(notebook), frame, label);
+
+ gtk_grid_attach(GTK_GRID(page1), e->entryAuth, 2, 0, 1, 1);
+ gtk_grid_attach(GTK_GRID(page1), Authlabel, 0, 0, 1, 1);
+
+ gtk_grid_attach(GTK_GRID(page1), e->entryTitle, 2, 4, 1, 1);
+ gtk_grid_attach(GTK_GRID(page1), Titlelabel, 0, 4, 1, 1);
+
+ gtk_grid_attach(GTK_GRID(page1), e->entryYear, 2, 8, 1, 1);
+ gtk_grid_attach(GTK_GRID(page1), Yearlabel, 0, 8, 1, 1);
+
+ gtk_grid_attach(GTK_GRID(page1),gtk_separator_new(GTK_ORIENTATION_HORIZONTAL),0,10,4,2);
+ gtk_grid_attach(GTK_GRID(page1), e->entrySeries, 2, 12, 1, 1);
+ gtk_grid_attach(GTK_GRID(page1), Serieslabel, 0, 12, 1, 1);
+
+ gtk_grid_attach(GTK_GRID(page1), e->entryBooktitle, 2, 16, 1, 1);
+ gtk_grid_attach(GTK_GRID(page1), Booktitlelabel, 0, 16, 1, 1);
+
+ gtk_grid_attach(GTK_GRID(page1), e->entryEditor, 2, 20, 1, 1);
+ gtk_grid_attach(GTK_GRID(page1), Editorlabel, 0, 20, 1, 1);
+
+
+ /*
+ * Tab 2
+ */
+ GtkWidget *frame2 = gtk_frame_new("");
+
+ GtkWidget *page2 = gtk_grid_new();
+ gtk_container_add(GTK_CONTAINER(frame2), page2);
+
+ e->entryJournal = gtk_entry_new();
+ GtkWidget *Journallabel = gtk_label_new("Journal");
+ gtk_entry_set_placeholder_text(GTK_ENTRY(e->entryJournal), "Journal");
+
+ e->entryPublisher = gtk_entry_new();
+ GtkWidget *Publabel = gtk_label_new("Publishers");
+ gtk_entry_set_placeholder_text(GTK_ENTRY(e->entryPublisher), "Publisher");
+
+ e->entryVol = gtk_entry_new();
+ GtkWidget *Vollabel = gtk_label_new("Volume");
+ gtk_entry_set_placeholder_text(GTK_ENTRY(e->entryVol), "Volume");
+
+ e->entryNumber = gtk_entry_new();
+ GtkWidget *Isslabel = gtk_label_new("Number");
+ gtk_entry_set_placeholder_text(GTK_ENTRY(e->entryNumber), "Number");
+
+ e->entryPage = gtk_entry_new();
+ GtkWidget *Pagelabel = gtk_label_new("Page");
+ gtk_entry_set_placeholder_text(GTK_ENTRY(e->entryPage), "Page");
+
+
+ e->entryChap = gtk_entry_new();
+ GtkWidget *Chaplabel = gtk_label_new("Chap");
+ gtk_entry_set_placeholder_text(GTK_ENTRY(e->entryChap), "Chapter");
+
+ label = gtk_label_new("Publishers");
+ gtk_notebook_append_page(GTK_NOTEBOOK(notebook), frame2, label);
+
+ gtk_grid_attach(GTK_GRID(page2), e->entryJournal, 2, 0, 1, 1);
+ gtk_grid_attach(GTK_GRID(page2), Journallabel, 0, 0, 1, 1);
+
+ gtk_grid_attach(GTK_GRID(page2), e->entryPublisher, 2, 4, 1, 1);
+ gtk_grid_attach(GTK_GRID(page2), Publabel, 0, 4, 1, 1);
+
+ gtk_grid_attach(GTK_GRID(page2), e->entryVol, 2, 8, 1, 1);
+ gtk_grid_attach(GTK_GRID(page2), Vollabel, 0, 8, 1, 1);
+
+ gtk_grid_attach(GTK_GRID(page2), e->entryNumber, 2, 12, 1, 1);
+ gtk_grid_attach(GTK_GRID(page2), Isslabel, 0, 12, 1, 1);
+
+ gtk_grid_attach(GTK_GRID(page2), e->entryPage, 2, 16, 1, 1);
+ gtk_grid_attach(GTK_GRID(page2), Pagelabel, 0, 16, 1, 1);
+
+ gtk_grid_attach(GTK_GRID(page2), e->entryChap, 2, 20, 1, 1);
+ gtk_grid_attach(GTK_GRID(page2), Chaplabel, 0, 20, 1, 1);
+
+ /*
+ * Tab 3
+ */
+ GtkWidget *frame3 = gtk_frame_new("");
+
+ GtkWidget *page3 = gtk_grid_new();
+ gtk_container_add(GTK_CONTAINER(frame3), page3);
+
+ e->entryMon = gtk_entry_new();
+ GtkWidget *Monlabel = gtk_label_new("Month");
+ gtk_entry_set_placeholder_text(GTK_ENTRY(e->entryMon), "Month");
+
+ e->entryNote = gtk_entry_new();
+ GtkWidget *Notelabel = gtk_label_new("Note");
+ gtk_entry_set_placeholder_text(GTK_ENTRY(e->entryNote), "Note");
+
+ e->entryKey = gtk_entry_new();
+ GtkWidget *Keylabel = gtk_label_new("Key");
+ gtk_entry_set_placeholder_text(GTK_ENTRY(e->entryKey), "Key");
+
+ e->entryAddress = gtk_entry_new();
+ GtkWidget *Addlabel = gtk_label_new("Address");
+ gtk_entry_set_placeholder_text(GTK_ENTRY(e->entryAddress), "Address");
+
+ e->entryEdition = gtk_entry_new();
+ GtkWidget *Editionlabel = gtk_label_new("Edition");
+ gtk_entry_set_placeholder_text(GTK_ENTRY(e->entryEdition), "Edition");
+
+ e->entryOrg = gtk_entry_new();
+ GtkWidget *Orglabel = gtk_label_new("Organisation");
+ gtk_entry_set_placeholder_text(GTK_ENTRY(e->entryOrg), "Organisation");
+
+ e->entrySchool = gtk_entry_new();
+ GtkWidget *Schoollabel = gtk_label_new("School");
+ gtk_entry_set_placeholder_text(GTK_ENTRY(e->entrySchool), "School");
+
+ label = gtk_label_new("Optional");
+ gtk_notebook_append_page(GTK_NOTEBOOK(notebook), frame3, label);
+
+
+ gtk_grid_attach(GTK_GRID(page3), e->entryMon, 2, 0, 1, 1);
+ gtk_grid_attach(GTK_GRID(page3), Monlabel, 0, 0, 1, 1);
+
+ gtk_grid_attach(GTK_GRID(page3), e->entryNote, 2, 4, 1, 1);
+ gtk_grid_attach(GTK_GRID(page3), Notelabel, 0, 4, 1, 1);
+
+ gtk_grid_attach(GTK_GRID(page3), e->entryKey, 2, 8, 1, 1);
+ gtk_grid_attach(GTK_GRID(page3), Keylabel, 0, 8, 1, 1);
+
+ gtk_grid_attach(GTK_GRID(page3), e->entryAddress, 2, 12, 1, 1);
+ gtk_grid_attach(GTK_GRID(page3), Addlabel, 0, 12, 1, 1);
+
+ gtk_grid_attach(GTK_GRID(page3), e->entryEdition, 2, 16, 1, 1);
+ gtk_grid_attach(GTK_GRID(page3), Editionlabel, 0, 16, 1, 1);
+
+ gtk_grid_attach(GTK_GRID(page3), e->entryOrg, 2, 20, 1, 1);
+ gtk_grid_attach(GTK_GRID(page3), Orglabel, 0, 20, 1, 1);
+
+ gtk_grid_attach(GTK_GRID(page3), e->entrySchool, 2, 24, 1, 1);
+ gtk_grid_attach(GTK_GRID(page3), Schoollabel, 0, 24, 1, 1);
+
+ /*
+ * Notebook Done
+ */
+ /* bibcombo = gtk_combo_box_text_new();
+#include "biblst"
+
+gtk_combo_box_set_active(GTK_COMBO_BOX(bibcombo), 0);
+g_signal_connect(G_OBJECT(bibcombo), "changed", G_CALLBACK(mk_bib), NULL);
+gtk_grid_attach(GTK_GRID(grid), bibcombo, 31, 6, 2, 1);
+*/
+ button = gtk_button_new_with_label("CREATE");
+ g_signal_connect(button, "clicked", G_CALLBACK(activate_func), e);
+
+ GtkWidget *gen_q = gtk_button_new_with_label("Search Google Scholar");
+ g_signal_connect(gen_q, "clicked", G_CALLBACK(search_gs), e);
+
+ gtk_grid_set_column_spacing(GTK_GRID(grid), 10);
+ flabel = gtk_label_new("No file Selected");
+
+ gtk_grid_attach(GTK_GRID(grid), flabel, 3, 0, 6, 1);
+ gtk_grid_attach(GTK_GRID(grid), e->combo, 0, 1, 1, 1);
+ gtk_grid_attach(GTK_GRID(grid), e->entry1, 1, 1, 2, 1);
+ gtk_grid_attach(GTK_GRID(grid), notebook, 0, 3, 3, 1);
+ gtk_grid_attach(GTK_GRID(grid), scrolledwindow, 3, 1, 10, 7);
+ gtk_grid_attach(GTK_GRID(grid), menubar, 0, 0, 1, 1);
+ gtk_grid_attach(GTK_GRID(grid), button, 0, 6, 1, 1);
+ gtk_grid_attach(GTK_GRID(grid), gen_q, 1, 6, 2, 1);
+
+ gtk_widget_show_all(window);
+ gtk_main();
+
+ return 0;
+}
diff --git a/biblio/bibtex/utils/mkbib/src/scan.c b/biblio/bibtex/utils/mkbib/src/scan.c
new file mode 100644
index 0000000000..0e52998cd9
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/src/scan.c
@@ -0,0 +1,1805 @@
+
+#line 3 "src/scan.c"
+
+#define YY_INT_ALIGNED short int
+
+/* A lexical scanner generated by flex */
+
+#define FLEX_SCANNER
+#define YY_FLEX_MAJOR_VERSION 2
+#define YY_FLEX_MINOR_VERSION 5
+#define YY_FLEX_SUBMINOR_VERSION 36
+#if YY_FLEX_SUBMINOR_VERSION > 0
+#define FLEX_BETA
+#endif
+
+/* First, we deal with platform-specific or compiler-specific issues. */
+
+/* begin standard C headers. */
+#include <stdio.h>
+#include <string.h>
+#include <errno.h>
+#include <stdlib.h>
+
+/* end standard C headers. */
+
+/* flex integer type definitions */
+
+#ifndef FLEXINT_H
+#define FLEXINT_H
+
+/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
+
+#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
+
+/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
+ * if you want the limit (max/min) macros for int types.
+ */
+#ifndef __STDC_LIMIT_MACROS
+#define __STDC_LIMIT_MACROS 1
+#endif
+
+#include <inttypes.h>
+typedef int8_t flex_int8_t;
+typedef uint8_t flex_uint8_t;
+typedef int16_t flex_int16_t;
+typedef uint16_t flex_uint16_t;
+typedef int32_t flex_int32_t;
+typedef uint32_t flex_uint32_t;
+#else
+typedef signed char flex_int8_t;
+typedef short int flex_int16_t;
+typedef int flex_int32_t;
+typedef unsigned char flex_uint8_t;
+typedef unsigned short int flex_uint16_t;
+typedef unsigned int flex_uint32_t;
+
+/* Limits of integral types. */
+#ifndef INT8_MIN
+#define INT8_MIN (-128)
+#endif
+#ifndef INT16_MIN
+#define INT16_MIN (-32767-1)
+#endif
+#ifndef INT32_MIN
+#define INT32_MIN (-2147483647-1)
+#endif
+#ifndef INT8_MAX
+#define INT8_MAX (127)
+#endif
+#ifndef INT16_MAX
+#define INT16_MAX (32767)
+#endif
+#ifndef INT32_MAX
+#define INT32_MAX (2147483647)
+#endif
+#ifndef UINT8_MAX
+#define UINT8_MAX (255U)
+#endif
+#ifndef UINT16_MAX
+#define UINT16_MAX (65535U)
+#endif
+#ifndef UINT32_MAX
+#define UINT32_MAX (4294967295U)
+#endif
+
+#endif /* ! C99 */
+
+#endif /* ! FLEXINT_H */
+
+#ifdef __cplusplus
+
+/* The "const" storage-class-modifier is valid. */
+#define YY_USE_CONST
+
+#else /* ! __cplusplus */
+
+/* C99 requires __STDC__ to be defined as 1. */
+#if defined (__STDC__)
+
+#define YY_USE_CONST
+
+#endif /* defined (__STDC__) */
+#endif /* ! __cplusplus */
+
+#ifdef YY_USE_CONST
+#define yyconst const
+#else
+#define yyconst
+#endif
+
+/* Returned upon end-of-file. */
+#define YY_NULL 0
+
+/* Promotes a possibly negative, possibly signed char to an unsigned
+ * integer for use as an array index. If the signed char is negative,
+ * we want to instead treat it as an 8-bit unsigned char, hence the
+ * double cast.
+ */
+#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
+
+/* Enter a start condition. This macro really ought to take a parameter,
+ * but we do it the disgusting crufty way forced on us by the ()-less
+ * definition of BEGIN.
+ */
+#define BEGIN (yy_start) = 1 + 2 *
+
+/* Translate the current start state into a value that can be later handed
+ * to BEGIN to return to the state. The YYSTATE alias is for lex
+ * compatibility.
+ */
+#define YY_START (((yy_start) - 1) / 2)
+#define YYSTATE YY_START
+
+/* Action number for EOF rule of a given start state. */
+#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
+
+/* Special action meaning "start processing a new file". */
+#define YY_NEW_FILE yyrestart(yyin )
+
+#define YY_END_OF_BUFFER_CHAR 0
+
+/* Size of default input buffer. */
+#ifndef YY_BUF_SIZE
+#define YY_BUF_SIZE 16384
+#endif
+
+/* The state buf must be large enough to hold one state per character in the main buffer.
+ */
+#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
+
+#ifndef YY_TYPEDEF_YY_BUFFER_STATE
+#define YY_TYPEDEF_YY_BUFFER_STATE
+typedef struct yy_buffer_state *YY_BUFFER_STATE;
+#endif
+
+#ifndef YY_TYPEDEF_YY_SIZE_T
+#define YY_TYPEDEF_YY_SIZE_T
+typedef size_t yy_size_t;
+#endif
+
+extern yy_size_t yyleng;
+
+extern FILE *yyin, *yyout;
+
+#define EOB_ACT_CONTINUE_SCAN 0
+#define EOB_ACT_END_OF_FILE 1
+#define EOB_ACT_LAST_MATCH 2
+
+ #define YY_LESS_LINENO(n)
+
+/* Return all but the first "n" matched characters back to the input stream. */
+#define yyless(n) \
+ do \
+ { \
+ /* Undo effects of setting up yytext. */ \
+ int yyless_macro_arg = (n); \
+ YY_LESS_LINENO(yyless_macro_arg);\
+ *yy_cp = (yy_hold_char); \
+ YY_RESTORE_YY_MORE_OFFSET \
+ (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
+ YY_DO_BEFORE_ACTION; /* set up yytext again */ \
+ } \
+ while ( 0 )
+
+#define unput(c) yyunput( c, (yytext_ptr) )
+
+#ifndef YY_STRUCT_YY_BUFFER_STATE
+#define YY_STRUCT_YY_BUFFER_STATE
+struct yy_buffer_state
+ {
+ FILE *yy_input_file;
+
+ char *yy_ch_buf; /* input buffer */
+ char *yy_buf_pos; /* current position in input buffer */
+
+ /* Size of input buffer in bytes, not including room for EOB
+ * characters.
+ */
+ yy_size_t yy_buf_size;
+
+ /* Number of characters read into yy_ch_buf, not including EOB
+ * characters.
+ */
+ yy_size_t yy_n_chars;
+
+ /* Whether we "own" the buffer - i.e., we know we created it,
+ * and can realloc() it to grow it, and should free() it to
+ * delete it.
+ */
+ int yy_is_our_buffer;
+
+ /* Whether this is an "interactive" input source; if so, and
+ * if we're using stdio for input, then we want to use getc()
+ * instead of fread(), to make sure we stop fetching input after
+ * each newline.
+ */
+ int yy_is_interactive;
+
+ /* Whether we're considered to be at the beginning of a line.
+ * If so, '^' rules will be active on the next match, otherwise
+ * not.
+ */
+ int yy_at_bol;
+
+ int yy_bs_lineno; /**< The line count. */
+ int yy_bs_column; /**< The column count. */
+
+ /* Whether to try to fill the input buffer when we reach the
+ * end of it.
+ */
+ int yy_fill_buffer;
+
+ int yy_buffer_status;
+
+#define YY_BUFFER_NEW 0
+#define YY_BUFFER_NORMAL 1
+ /* When an EOF's been seen but there's still some text to process
+ * then we mark the buffer as YY_EOF_PENDING, to indicate that we
+ * shouldn't try reading from the input source any more. We might
+ * still have a bunch of tokens to match, though, because of
+ * possible backing-up.
+ *
+ * When we actually see the EOF, we change the status to "new"
+ * (via yyrestart()), so that the user can continue scanning by
+ * just pointing yyin at a new input file.
+ */
+#define YY_BUFFER_EOF_PENDING 2
+
+ };
+#endif /* !YY_STRUCT_YY_BUFFER_STATE */
+
+/* Stack of input buffers. */
+static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
+static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
+static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
+
+/* We provide macros for accessing buffer states in case in the
+ * future we want to put the buffer states in a more general
+ * "scanner state".
+ *
+ * Returns the top of the stack, or NULL.
+ */
+#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
+ ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
+ : NULL)
+
+/* Same as previous macro, but useful when we know that the buffer stack is not
+ * NULL or when we need an lvalue. For internal use only.
+ */
+#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
+
+/* yy_hold_char holds the character lost when yytext is formed. */
+static char yy_hold_char;
+static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */
+yy_size_t yyleng;
+
+/* Points to current character in buffer. */
+static char *yy_c_buf_p = (char *) 0;
+static int yy_init = 0; /* whether we need to initialize */
+static int yy_start = 0; /* start state number */
+
+/* Flag which is used to allow yywrap()'s to do buffer switches
+ * instead of setting up a fresh yyin. A bit of a hack ...
+ */
+static int yy_did_buffer_switch_on_eof;
+
+void yyrestart (FILE *input_file );
+void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
+YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
+void yy_delete_buffer (YY_BUFFER_STATE b );
+void yy_flush_buffer (YY_BUFFER_STATE b );
+void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
+void yypop_buffer_state (void );
+
+static void yyensure_buffer_stack (void );
+static void yy_load_buffer_state (void );
+static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
+
+#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
+
+YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
+YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
+YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len );
+
+void *yyalloc (yy_size_t );
+void *yyrealloc (void *,yy_size_t );
+void yyfree (void * );
+
+#define yy_new_buffer yy_create_buffer
+
+#define yy_set_interactive(is_interactive) \
+ { \
+ if ( ! YY_CURRENT_BUFFER ){ \
+ yyensure_buffer_stack (); \
+ YY_CURRENT_BUFFER_LVALUE = \
+ yy_create_buffer(yyin,YY_BUF_SIZE ); \
+ } \
+ YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
+ }
+
+#define yy_set_bol(at_bol) \
+ { \
+ if ( ! YY_CURRENT_BUFFER ){\
+ yyensure_buffer_stack (); \
+ YY_CURRENT_BUFFER_LVALUE = \
+ yy_create_buffer(yyin,YY_BUF_SIZE ); \
+ } \
+ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
+ }
+
+#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
+
+/* Begin user sect3 */
+
+#define yywrap() 1
+#define YY_SKIP_YYWRAP
+
+typedef unsigned char YY_CHAR;
+
+FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
+
+typedef int yy_state_type;
+
+extern int yylineno;
+
+int yylineno = 1;
+
+extern char *yytext;
+#define yytext_ptr yytext
+
+static yy_state_type yy_get_previous_state (void );
+static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
+static int yy_get_next_buffer (void );
+static void yy_fatal_error (yyconst char msg[] );
+
+/* Done after the current pattern has been matched and before the
+ * corresponding action - sets up yytext.
+ */
+#define YY_DO_BEFORE_ACTION \
+ (yytext_ptr) = yy_bp; \
+ yyleng = (size_t) (yy_cp - yy_bp); \
+ (yy_hold_char) = *yy_cp; \
+ *yy_cp = '\0'; \
+ (yy_c_buf_p) = yy_cp;
+
+#define YY_NUM_RULES 11
+#define YY_END_OF_BUFFER 12
+/* This struct is not used in this scanner,
+ but its presence is necessary. */
+struct yy_trans_info
+ {
+ flex_int32_t yy_verify;
+ flex_int32_t yy_nxt;
+ };
+static yyconst flex_int16_t yy_accept[26] =
+ { 0,
+ 0, 0, 1, 1, 12, 11, 7, 7, 11, 11,
+ 8, 5, 11, 3, 1, 2, 0, 4, 9, 5,
+ 0, 3, 1, 6, 0
+ } ;
+
+static yyconst flex_int32_t yy_ec[256] =
+ { 0,
+ 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 2, 1, 4, 5, 1, 1, 1, 1, 1,
+ 1, 1, 1, 6, 1, 1, 1, 7, 7, 7,
+ 7, 7, 7, 7, 7, 7, 7, 8, 1, 1,
+ 6, 1, 1, 9, 10, 10, 10, 10, 10, 10,
+ 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
+ 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
+ 1, 1, 1, 1, 8, 1, 10, 10, 10, 10,
+
+ 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
+ 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
+ 10, 10, 11, 1, 11, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1
+ } ;
+
+static yyconst flex_int32_t yy_meta[12] =
+ { 0,
+ 1, 1, 2, 3, 1, 1, 3, 3, 1, 3,
+ 4
+ } ;
+
+static yyconst flex_int16_t yy_base[31] =
+ { 0,
+ 0, 0, 25, 24, 34, 37, 37, 37, 29, 0,
+ 37, 25, 21, 0, 0, 37, 26, 25, 37, 21,
+ 17, 0, 0, 11, 37, 11, 15, 19, 14, 23
+ } ;
+
+static yyconst flex_int16_t yy_def[31] =
+ { 0,
+ 25, 1, 26, 26, 25, 25, 25, 25, 27, 28,
+ 25, 25, 25, 29, 30, 25, 27, 27, 25, 25,
+ 25, 29, 30, 25, 0, 25, 25, 25, 25, 25
+ } ;
+
+static yyconst flex_int16_t yy_nxt[49] =
+ { 0,
+ 6, 7, 8, 9, 10, 11, 12, 6, 13, 14,
+ 11, 15, 15, 15, 15, 17, 22, 17, 17, 19,
+ 24, 19, 19, 23, 23, 23, 24, 20, 18, 18,
+ 21, 20, 18, 25, 16, 16, 5, 25, 25, 25,
+ 25, 25, 25, 25, 25, 25, 25, 25
+ } ;
+
+static yyconst flex_int16_t yy_chk[49] =
+ { 0,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 26, 26, 26, 26, 27, 29, 27, 27, 28,
+ 24, 28, 28, 30, 30, 30, 21, 20, 18, 17,
+ 13, 12, 9, 5, 4, 3, 25, 25, 25, 25,
+ 25, 25, 25, 25, 25, 25, 25, 25
+ } ;
+
+static yy_state_type yy_last_accepting_state;
+static char *yy_last_accepting_cpos;
+
+extern int yy_flex_debug;
+int yy_flex_debug = 0;
+
+/* The intent behind this definition is that it'll catch
+ * any uses of REJECT which flex missed.
+ */
+#define REJECT reject_used_but_not_detected
+#define yymore() yymore_used_but_not_detected
+#define YY_MORE_ADJ 0
+#define YY_RESTORE_YY_MORE_OFFSET
+char *yytext;
+#line 1 "src/scan.l"
+#line 2 "src/scan.l"
+#include "bib.h"
+ int line;
+
+#line 472 "src/scan.c"
+
+#define INITIAL 0
+#define braceV 1
+
+#ifndef YY_NO_UNISTD_H
+/* Special case for "unistd.h", since it is non-ANSI. We include it way
+ * down here because we want the user's section 1 to have been scanned first.
+ * The user has a chance to override it with an option.
+ */
+#include <unistd.h>
+#endif
+
+#ifndef YY_EXTRA_TYPE
+#define YY_EXTRA_TYPE void *
+#endif
+
+static int yy_init_globals (void );
+
+/* Accessor methods to globals.
+ These are made visible to non-reentrant scanners for convenience. */
+
+int yylex_destroy (void );
+
+int yyget_debug (void );
+
+void yyset_debug (int debug_flag );
+
+YY_EXTRA_TYPE yyget_extra (void );
+
+void yyset_extra (YY_EXTRA_TYPE user_defined );
+
+FILE *yyget_in (void );
+
+void yyset_in (FILE * in_str );
+
+FILE *yyget_out (void );
+
+void yyset_out (FILE * out_str );
+
+yy_size_t yyget_leng (void );
+
+char *yyget_text (void );
+
+int yyget_lineno (void );
+
+void yyset_lineno (int line_number );
+
+/* Macros after this point can all be overridden by user definitions in
+ * section 1.
+ */
+
+#ifndef YY_SKIP_YYWRAP
+#ifdef __cplusplus
+extern "C" int yywrap (void );
+#else
+extern int yywrap (void );
+#endif
+#endif
+
+ static void yyunput (int c,char *buf_ptr );
+
+#ifndef yytext_ptr
+static void yy_flex_strncpy (char *,yyconst char *,int );
+#endif
+
+#ifdef YY_NEED_STRLEN
+static int yy_flex_strlen (yyconst char * );
+#endif
+
+#ifndef YY_NO_INPUT
+
+#ifdef __cplusplus
+static int yyinput (void );
+#else
+static int input (void );
+#endif
+
+#endif
+
+/* Amount of stuff to slurp up with each read. */
+#ifndef YY_READ_BUF_SIZE
+#define YY_READ_BUF_SIZE 8192
+#endif
+
+/* Copy whatever the last rule matched to the standard output. */
+#ifndef ECHO
+/* This used to be an fputs(), but since the string might contain NUL's,
+ * we now use fwrite().
+ */
+#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
+#endif
+
+/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
+ * is returned in "result".
+ */
+#ifndef YY_INPUT
+#define YY_INPUT(buf,result,max_size) \
+ if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
+ { \
+ int c = '*'; \
+ size_t n; \
+ for ( n = 0; n < max_size && \
+ (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
+ buf[n] = (char) c; \
+ if ( c == '\n' ) \
+ buf[n++] = (char) c; \
+ if ( c == EOF && ferror( yyin ) ) \
+ YY_FATAL_ERROR( "input in flex scanner failed" ); \
+ result = n; \
+ } \
+ else \
+ { \
+ errno=0; \
+ while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
+ { \
+ if( errno != EINTR) \
+ { \
+ YY_FATAL_ERROR( "input in flex scanner failed" ); \
+ break; \
+ } \
+ errno=0; \
+ clearerr(yyin); \
+ } \
+ }\
+\
+
+#endif
+
+/* No semi-colon after return; correct usage is to write "yyterminate();" -
+ * we don't want an extra ';' after the "return" because that will cause
+ * some compilers to complain about unreachable statements.
+ */
+#ifndef yyterminate
+#define yyterminate() return YY_NULL
+#endif
+
+/* Number of entries by which start-condition stack grows. */
+#ifndef YY_START_STACK_INCR
+#define YY_START_STACK_INCR 25
+#endif
+
+/* Report a fatal error. */
+#ifndef YY_FATAL_ERROR
+#define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
+#endif
+
+/* end tables serialization structures and prototypes */
+
+/* Default declaration of generated scanner - a define so the user can
+ * easily add parameters.
+ */
+#ifndef YY_DECL
+#define YY_DECL_IS_OURS 1
+
+extern int yylex (void);
+
+#define YY_DECL int yylex (void)
+#endif /* !YY_DECL */
+
+/* Code executed at the beginning of each rule, after yytext and yyleng
+ * have been set up.
+ */
+#ifndef YY_USER_ACTION
+#define YY_USER_ACTION
+#endif
+
+/* Code executed at the end of each rule. */
+#ifndef YY_BREAK
+#define YY_BREAK break;
+#endif
+
+#define YY_RULE_SETUP \
+ YY_USER_ACTION
+
+/** The main scanner function which does all the work.
+ */
+YY_DECL
+{
+ register yy_state_type yy_current_state;
+ register char *yy_cp, *yy_bp;
+ register int yy_act;
+
+#line 10 "src/scan.l"
+
+
+#line 658 "src/scan.c"
+
+ if ( !(yy_init) )
+ {
+ (yy_init) = 1;
+
+#ifdef YY_USER_INIT
+ YY_USER_INIT;
+#endif
+
+ if ( ! (yy_start) )
+ (yy_start) = 1; /* first start state */
+
+ if ( ! yyin )
+ yyin = stdin;
+
+ if ( ! yyout )
+ yyout = stdout;
+
+ if ( ! YY_CURRENT_BUFFER ) {
+ yyensure_buffer_stack ();
+ YY_CURRENT_BUFFER_LVALUE =
+ yy_create_buffer(yyin,YY_BUF_SIZE );
+ }
+
+ yy_load_buffer_state( );
+ }
+
+ while ( 1 ) /* loops until end-of-file is reached */
+ {
+ yy_cp = (yy_c_buf_p);
+
+ /* Support of yytext. */
+ *yy_cp = (yy_hold_char);
+
+ /* yy_bp points to the position in yy_ch_buf of the start of
+ * the current run.
+ */
+ yy_bp = yy_cp;
+
+ yy_current_state = (yy_start);
+yy_match:
+ do
+ {
+ register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
+ if ( yy_accept[yy_current_state] )
+ {
+ (yy_last_accepting_state) = yy_current_state;
+ (yy_last_accepting_cpos) = yy_cp;
+ }
+ while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
+ {
+ yy_current_state = (int) yy_def[yy_current_state];
+ if ( yy_current_state >= 26 )
+ yy_c = yy_meta[(unsigned int) yy_c];
+ }
+ yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
+ ++yy_cp;
+ }
+ while ( yy_base[yy_current_state] != 37 );
+
+yy_find_action:
+ yy_act = yy_accept[yy_current_state];
+ if ( yy_act == 0 )
+ { /* have to back up */
+ yy_cp = (yy_last_accepting_cpos);
+ yy_current_state = (yy_last_accepting_state);
+ yy_act = yy_accept[yy_current_state];
+ }
+
+ YY_DO_BEFORE_ACTION;
+
+do_action: /* This label is used only to access EOF actions. */
+
+ switch ( yy_act )
+ { /* beginning of action switch */
+ case 0: /* must back up */
+ /* undo the effects of YY_DO_BEFORE_ACTION */
+ *yy_cp = (yy_hold_char);
+ yy_cp = (yy_last_accepting_cpos);
+ yy_current_state = (yy_last_accepting_state);
+ goto yy_find_action;
+
+case 1:
+/* rule 1 can match eol */
+YY_RULE_SETUP
+#line 12 "src/scan.l"
+{ yylval.sval = strdup(yytext); return VALUE; }
+ YY_BREAK
+case 2:
+YY_RULE_SETUP
+#line 13 "src/scan.l"
+{ return *yytext; }
+ YY_BREAK
+case 3:
+YY_RULE_SETUP
+#line 15 "src/scan.l"
+{ yylval.sval = strdup(yytext); return KEY; }
+ YY_BREAK
+case 4:
+YY_RULE_SETUP
+#line 16 "src/scan.l"
+{ yylval.sval = strndup(yytext+1, yyleng-2); return VALUE; }
+ YY_BREAK
+case 5:
+YY_RULE_SETUP
+#line 17 "src/scan.l"
+{ yylval.sval = strdup(yytext); return VALUE; }
+ YY_BREAK
+case 6:
+YY_RULE_SETUP
+#line 18 "src/scan.l"
+{ yylval.sval = strdup(yytext+1); return ENTRYTYPE; }
+ YY_BREAK
+case 7:
+/* rule 7 can match eol */
+YY_RULE_SETUP
+#line 19 "src/scan.l"
+; /* ignore whitespace */
+ YY_BREAK
+case 8:
+YY_RULE_SETUP
+#line 20 "src/scan.l"
+{ return *yytext; }
+ YY_BREAK
+case 9:
+YY_RULE_SETUP
+#line 21 "src/scan.l"
+{ fprintf(stderr, "Unrecognized character %c in input\n", *yytext); }
+ YY_BREAK
+case 10:
+/* rule 10 can match eol */
+YY_RULE_SETUP
+#line 22 "src/scan.l"
+{line++;printf("%d",line);}
+ YY_BREAK
+case 11:
+YY_RULE_SETUP
+#line 24 "src/scan.l"
+ECHO;
+ YY_BREAK
+#line 799 "src/scan.c"
+case YY_STATE_EOF(INITIAL):
+case YY_STATE_EOF(braceV):
+ yyterminate();
+
+ case YY_END_OF_BUFFER:
+ {
+ /* Amount of text matched not including the EOB char. */
+ int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
+
+ /* Undo the effects of YY_DO_BEFORE_ACTION. */
+ *yy_cp = (yy_hold_char);
+ YY_RESTORE_YY_MORE_OFFSET
+
+ if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
+ {
+ /* We're scanning a new file or input source. It's
+ * possible that this happened because the user
+ * just pointed yyin at a new source and called
+ * yylex(). If so, then we have to assure
+ * consistency between YY_CURRENT_BUFFER and our
+ * globals. Here is the right place to do so, because
+ * this is the first action (other than possibly a
+ * back-up) that will match for the new input source.
+ */
+ (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
+ YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
+ YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
+ }
+
+ /* Note that here we test for yy_c_buf_p "<=" to the position
+ * of the first EOB in the buffer, since yy_c_buf_p will
+ * already have been incremented past the NUL character
+ * (since all states make transitions on EOB to the
+ * end-of-buffer state). Contrast this with the test
+ * in input().
+ */
+ if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
+ { /* This was really a NUL. */
+ yy_state_type yy_next_state;
+
+ (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
+
+ yy_current_state = yy_get_previous_state( );
+
+ /* Okay, we're now positioned to make the NUL
+ * transition. We couldn't have
+ * yy_get_previous_state() go ahead and do it
+ * for us because it doesn't know how to deal
+ * with the possibility of jamming (and we don't
+ * want to build jamming into it because then it
+ * will run more slowly).
+ */
+
+ yy_next_state = yy_try_NUL_trans( yy_current_state );
+
+ yy_bp = (yytext_ptr) + YY_MORE_ADJ;
+
+ if ( yy_next_state )
+ {
+ /* Consume the NUL. */
+ yy_cp = ++(yy_c_buf_p);
+ yy_current_state = yy_next_state;
+ goto yy_match;
+ }
+
+ else
+ {
+ yy_cp = (yy_c_buf_p);
+ goto yy_find_action;
+ }
+ }
+
+ else switch ( yy_get_next_buffer( ) )
+ {
+ case EOB_ACT_END_OF_FILE:
+ {
+ (yy_did_buffer_switch_on_eof) = 0;
+
+ if ( yywrap( ) )
+ {
+ /* Note: because we've taken care in
+ * yy_get_next_buffer() to have set up
+ * yytext, we can now set up
+ * yy_c_buf_p so that if some total
+ * hoser (like flex itself) wants to
+ * call the scanner after we return the
+ * YY_NULL, it'll still work - another
+ * YY_NULL will get returned.
+ */
+ (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
+
+ yy_act = YY_STATE_EOF(YY_START);
+ goto do_action;
+ }
+
+ else
+ {
+ if ( ! (yy_did_buffer_switch_on_eof) )
+ YY_NEW_FILE;
+ }
+ break;
+ }
+
+ case EOB_ACT_CONTINUE_SCAN:
+ (yy_c_buf_p) =
+ (yytext_ptr) + yy_amount_of_matched_text;
+
+ yy_current_state = yy_get_previous_state( );
+
+ yy_cp = (yy_c_buf_p);
+ yy_bp = (yytext_ptr) + YY_MORE_ADJ;
+ goto yy_match;
+
+ case EOB_ACT_LAST_MATCH:
+ (yy_c_buf_p) =
+ &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
+
+ yy_current_state = yy_get_previous_state( );
+
+ yy_cp = (yy_c_buf_p);
+ yy_bp = (yytext_ptr) + YY_MORE_ADJ;
+ goto yy_find_action;
+ }
+ break;
+ }
+
+ default:
+ YY_FATAL_ERROR(
+ "fatal flex scanner internal error--no action found" );
+ } /* end of action switch */
+ } /* end of scanning one token */
+} /* end of yylex */
+
+/* yy_get_next_buffer - try to read in a new buffer
+ *
+ * Returns a code representing an action:
+ * EOB_ACT_LAST_MATCH -
+ * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
+ * EOB_ACT_END_OF_FILE - end of file
+ */
+static int yy_get_next_buffer (void)
+{
+ register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
+ register char *source = (yytext_ptr);
+ register int number_to_move, i;
+ int ret_val;
+
+ if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
+ YY_FATAL_ERROR(
+ "fatal flex scanner internal error--end of buffer missed" );
+
+ if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
+ { /* Don't try to fill the buffer, so this is an EOF. */
+ if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
+ {
+ /* We matched a single character, the EOB, so
+ * treat this as a final EOF.
+ */
+ return EOB_ACT_END_OF_FILE;
+ }
+
+ else
+ {
+ /* We matched some text prior to the EOB, first
+ * process it.
+ */
+ return EOB_ACT_LAST_MATCH;
+ }
+ }
+
+ /* Try to read more data. */
+
+ /* First move last chars to start of buffer. */
+ number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
+
+ for ( i = 0; i < number_to_move; ++i )
+ *(dest++) = *(source++);
+
+ if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
+ /* don't do the read, it's not guaranteed to return an EOF,
+ * just force an EOF
+ */
+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
+
+ else
+ {
+ yy_size_t num_to_read =
+ YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
+
+ while ( num_to_read <= 0 )
+ { /* Not enough room in the buffer - grow it. */
+
+ /* just a shorter name for the current buffer */
+ YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE;
+
+ int yy_c_buf_p_offset =
+ (int) ((yy_c_buf_p) - b->yy_ch_buf);
+
+ if ( b->yy_is_our_buffer )
+ {
+ yy_size_t new_size = b->yy_buf_size * 2;
+
+ if ( new_size <= 0 )
+ b->yy_buf_size += b->yy_buf_size / 8;
+ else
+ b->yy_buf_size *= 2;
+
+ b->yy_ch_buf = (char *)
+ /* Include room in for 2 EOB chars. */
+ yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 );
+ }
+ else
+ /* Can't grow it, we don't own it. */
+ b->yy_ch_buf = 0;
+
+ if ( ! b->yy_ch_buf )
+ YY_FATAL_ERROR(
+ "fatal error - scanner input buffer overflow" );
+
+ (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset];
+
+ num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
+ number_to_move - 1;
+
+ }
+
+ if ( num_to_read > YY_READ_BUF_SIZE )
+ num_to_read = YY_READ_BUF_SIZE;
+
+ /* Read in more data. */
+ YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
+ (yy_n_chars), num_to_read );
+
+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
+ }
+
+ if ( (yy_n_chars) == 0 )
+ {
+ if ( number_to_move == YY_MORE_ADJ )
+ {
+ ret_val = EOB_ACT_END_OF_FILE;
+ yyrestart(yyin );
+ }
+
+ else
+ {
+ ret_val = EOB_ACT_LAST_MATCH;
+ YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
+ YY_BUFFER_EOF_PENDING;
+ }
+ }
+
+ else
+ ret_val = EOB_ACT_CONTINUE_SCAN;
+
+ if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
+ /* Extend the array by 50%, plus the number we really need. */
+ yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
+ YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
+ if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
+ YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
+ }
+
+ (yy_n_chars) += number_to_move;
+ YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
+ YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
+
+ (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
+
+ return ret_val;
+}
+
+/* yy_get_previous_state - get the state just before the EOB char was reached */
+
+ static yy_state_type yy_get_previous_state (void)
+{
+ register yy_state_type yy_current_state;
+ register char *yy_cp;
+
+ yy_current_state = (yy_start);
+
+ for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
+ {
+ register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
+ if ( yy_accept[yy_current_state] )
+ {
+ (yy_last_accepting_state) = yy_current_state;
+ (yy_last_accepting_cpos) = yy_cp;
+ }
+ while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
+ {
+ yy_current_state = (int) yy_def[yy_current_state];
+ if ( yy_current_state >= 26 )
+ yy_c = yy_meta[(unsigned int) yy_c];
+ }
+ yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
+ }
+
+ return yy_current_state;
+}
+
+/* yy_try_NUL_trans - try to make a transition on the NUL character
+ *
+ * synopsis
+ * next_state = yy_try_NUL_trans( current_state );
+ */
+ static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
+{
+ register int yy_is_jam;
+ register char *yy_cp = (yy_c_buf_p);
+
+ register YY_CHAR yy_c = 1;
+ if ( yy_accept[yy_current_state] )
+ {
+ (yy_last_accepting_state) = yy_current_state;
+ (yy_last_accepting_cpos) = yy_cp;
+ }
+ while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
+ {
+ yy_current_state = (int) yy_def[yy_current_state];
+ if ( yy_current_state >= 26 )
+ yy_c = yy_meta[(unsigned int) yy_c];
+ }
+ yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
+ yy_is_jam = (yy_current_state == 25);
+
+ return yy_is_jam ? 0 : yy_current_state;
+}
+
+ static void yyunput (int c, register char * yy_bp )
+{
+ register char *yy_cp;
+
+ yy_cp = (yy_c_buf_p);
+
+ /* undo effects of setting up yytext */
+ *yy_cp = (yy_hold_char);
+
+ if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
+ { /* need to shift things up to make room */
+ /* +2 for EOB chars. */
+ register yy_size_t number_to_move = (yy_n_chars) + 2;
+ register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
+ YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
+ register char *source =
+ &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
+
+ while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
+ *--dest = *--source;
+
+ yy_cp += (int) (dest - source);
+ yy_bp += (int) (dest - source);
+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
+ (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
+
+ if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
+ YY_FATAL_ERROR( "flex scanner push-back overflow" );
+ }
+
+ *--yy_cp = (char) c;
+
+ (yytext_ptr) = yy_bp;
+ (yy_hold_char) = *yy_cp;
+ (yy_c_buf_p) = yy_cp;
+}
+
+#ifndef YY_NO_INPUT
+#ifdef __cplusplus
+ static int yyinput (void)
+#else
+ static int input (void)
+#endif
+
+{
+ int c;
+
+ *(yy_c_buf_p) = (yy_hold_char);
+
+ if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
+ {
+ /* yy_c_buf_p now points to the character we want to return.
+ * If this occurs *before* the EOB characters, then it's a
+ * valid NUL; if not, then we've hit the end of the buffer.
+ */
+ if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
+ /* This was really a NUL. */
+ *(yy_c_buf_p) = '\0';
+
+ else
+ { /* need more input */
+ yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
+ ++(yy_c_buf_p);
+
+ switch ( yy_get_next_buffer( ) )
+ {
+ case EOB_ACT_LAST_MATCH:
+ /* This happens because yy_g_n_b()
+ * sees that we've accumulated a
+ * token and flags that we need to
+ * try matching the token before
+ * proceeding. But for input(),
+ * there's no matching to consider.
+ * So convert the EOB_ACT_LAST_MATCH
+ * to EOB_ACT_END_OF_FILE.
+ */
+
+ /* Reset buffer status. */
+ yyrestart(yyin );
+
+ /*FALLTHROUGH*/
+
+ case EOB_ACT_END_OF_FILE:
+ {
+ if ( yywrap( ) )
+ return EOF;
+
+ if ( ! (yy_did_buffer_switch_on_eof) )
+ YY_NEW_FILE;
+#ifdef __cplusplus
+ return yyinput();
+#else
+ return input();
+#endif
+ }
+
+ case EOB_ACT_CONTINUE_SCAN:
+ (yy_c_buf_p) = (yytext_ptr) + offset;
+ break;
+ }
+ }
+ }
+
+ c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
+ *(yy_c_buf_p) = '\0'; /* preserve yytext */
+ (yy_hold_char) = *++(yy_c_buf_p);
+
+ return c;
+}
+#endif /* ifndef YY_NO_INPUT */
+
+/** Immediately switch to a different input stream.
+ * @param input_file A readable stream.
+ *
+ * @note This function does not reset the start condition to @c INITIAL .
+ */
+ void yyrestart (FILE * input_file )
+{
+
+ if ( ! YY_CURRENT_BUFFER ){
+ yyensure_buffer_stack ();
+ YY_CURRENT_BUFFER_LVALUE =
+ yy_create_buffer(yyin,YY_BUF_SIZE );
+ }
+
+ yy_init_buffer(YY_CURRENT_BUFFER,input_file );
+ yy_load_buffer_state( );
+}
+
+/** Switch to a different input buffer.
+ * @param new_buffer The new input buffer.
+ *
+ */
+ void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
+{
+
+ /* TODO. We should be able to replace this entire function body
+ * with
+ * yypop_buffer_state();
+ * yypush_buffer_state(new_buffer);
+ */
+ yyensure_buffer_stack ();
+ if ( YY_CURRENT_BUFFER == new_buffer )
+ return;
+
+ if ( YY_CURRENT_BUFFER )
+ {
+ /* Flush out information for old buffer. */
+ *(yy_c_buf_p) = (yy_hold_char);
+ YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
+ }
+
+ YY_CURRENT_BUFFER_LVALUE = new_buffer;
+ yy_load_buffer_state( );
+
+ /* We don't actually know whether we did this switch during
+ * EOF (yywrap()) processing, but the only time this flag
+ * is looked at is after yywrap() is called, so it's safe
+ * to go ahead and always set it.
+ */
+ (yy_did_buffer_switch_on_eof) = 1;
+}
+
+static void yy_load_buffer_state (void)
+{
+ (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
+ (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
+ yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
+ (yy_hold_char) = *(yy_c_buf_p);
+}
+
+/** Allocate and initialize an input buffer state.
+ * @param file A readable stream.
+ * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
+ *
+ * @return the allocated buffer state.
+ */
+ YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
+{
+ YY_BUFFER_STATE b;
+
+ b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
+ if ( ! b )
+ YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
+
+ b->yy_buf_size = size;
+
+ /* yy_ch_buf has to be 2 characters longer than the size given because
+ * we need to put in 2 end-of-buffer characters.
+ */
+ b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
+ if ( ! b->yy_ch_buf )
+ YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
+
+ b->yy_is_our_buffer = 1;
+
+ yy_init_buffer(b,file );
+
+ return b;
+}
+
+/** Destroy the buffer.
+ * @param b a buffer created with yy_create_buffer()
+ *
+ */
+ void yy_delete_buffer (YY_BUFFER_STATE b )
+{
+
+ if ( ! b )
+ return;
+
+ if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
+ YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
+
+ if ( b->yy_is_our_buffer )
+ yyfree((void *) b->yy_ch_buf );
+
+ yyfree((void *) b );
+}
+
+/* Initializes or reinitializes a buffer.
+ * This function is sometimes called more than once on the same buffer,
+ * such as during a yyrestart() or at EOF.
+ */
+ static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
+
+{
+ int oerrno = errno;
+
+ yy_flush_buffer(b );
+
+ b->yy_input_file = file;
+ b->yy_fill_buffer = 1;
+
+ /* If b is the current buffer, then yy_init_buffer was _probably_
+ * called from yyrestart() or through yy_get_next_buffer.
+ * In that case, we don't want to reset the lineno or column.
+ */
+ if (b != YY_CURRENT_BUFFER){
+ b->yy_bs_lineno = 1;
+ b->yy_bs_column = 0;
+ }
+
+ b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
+
+ errno = oerrno;
+}
+
+/** Discard all buffered characters. On the next scan, YY_INPUT will be called.
+ * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
+ *
+ */
+ void yy_flush_buffer (YY_BUFFER_STATE b )
+{
+ if ( ! b )
+ return;
+
+ b->yy_n_chars = 0;
+
+ /* We always need two end-of-buffer characters. The first causes
+ * a transition to the end-of-buffer state. The second causes
+ * a jam in that state.
+ */
+ b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
+ b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
+
+ b->yy_buf_pos = &b->yy_ch_buf[0];
+
+ b->yy_at_bol = 1;
+ b->yy_buffer_status = YY_BUFFER_NEW;
+
+ if ( b == YY_CURRENT_BUFFER )
+ yy_load_buffer_state( );
+}
+
+/** Pushes the new state onto the stack. The new state becomes
+ * the current state. This function will allocate the stack
+ * if necessary.
+ * @param new_buffer The new state.
+ *
+ */
+void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
+{
+ if (new_buffer == NULL)
+ return;
+
+ yyensure_buffer_stack();
+
+ /* This block is copied from yy_switch_to_buffer. */
+ if ( YY_CURRENT_BUFFER )
+ {
+ /* Flush out information for old buffer. */
+ *(yy_c_buf_p) = (yy_hold_char);
+ YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
+ }
+
+ /* Only push if top exists. Otherwise, replace top. */
+ if (YY_CURRENT_BUFFER)
+ (yy_buffer_stack_top)++;
+ YY_CURRENT_BUFFER_LVALUE = new_buffer;
+
+ /* copied from yy_switch_to_buffer. */
+ yy_load_buffer_state( );
+ (yy_did_buffer_switch_on_eof) = 1;
+}
+
+/** Removes and deletes the top of the stack, if present.
+ * The next element becomes the new top.
+ *
+ */
+void yypop_buffer_state (void)
+{
+ if (!YY_CURRENT_BUFFER)
+ return;
+
+ yy_delete_buffer(YY_CURRENT_BUFFER );
+ YY_CURRENT_BUFFER_LVALUE = NULL;
+ if ((yy_buffer_stack_top) > 0)
+ --(yy_buffer_stack_top);
+
+ if (YY_CURRENT_BUFFER) {
+ yy_load_buffer_state( );
+ (yy_did_buffer_switch_on_eof) = 1;
+ }
+}
+
+/* Allocates the stack if it does not exist.
+ * Guarantees space for at least one push.
+ */
+static void yyensure_buffer_stack (void)
+{
+ yy_size_t num_to_alloc;
+
+ if (!(yy_buffer_stack)) {
+
+ /* First allocation is just for 2 elements, since we don't know if this
+ * scanner will even need a stack. We use 2 instead of 1 to avoid an
+ * immediate realloc on the next call.
+ */
+ num_to_alloc = 1;
+ (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
+ (num_to_alloc * sizeof(struct yy_buffer_state*)
+ );
+ if ( ! (yy_buffer_stack) )
+ YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
+
+ memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
+
+ (yy_buffer_stack_max) = num_to_alloc;
+ (yy_buffer_stack_top) = 0;
+ return;
+ }
+
+ if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
+
+ /* Increase the buffer to prepare for a possible push. */
+ int grow_size = 8 /* arbitrary grow size */;
+
+ num_to_alloc = (yy_buffer_stack_max) + grow_size;
+ (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
+ ((yy_buffer_stack),
+ num_to_alloc * sizeof(struct yy_buffer_state*)
+ );
+ if ( ! (yy_buffer_stack) )
+ YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
+
+ /* zero only the new slots.*/
+ memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
+ (yy_buffer_stack_max) = num_to_alloc;
+ }
+}
+
+/** Setup the input buffer state to scan directly from a user-specified character buffer.
+ * @param base the character buffer
+ * @param size the size in bytes of the character buffer
+ *
+ * @return the newly allocated buffer state object.
+ */
+YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
+{
+ YY_BUFFER_STATE b;
+
+ if ( size < 2 ||
+ base[size-2] != YY_END_OF_BUFFER_CHAR ||
+ base[size-1] != YY_END_OF_BUFFER_CHAR )
+ /* They forgot to leave room for the EOB's. */
+ return 0;
+
+ b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
+ if ( ! b )
+ YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
+
+ b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
+ b->yy_buf_pos = b->yy_ch_buf = base;
+ b->yy_is_our_buffer = 0;
+ b->yy_input_file = 0;
+ b->yy_n_chars = b->yy_buf_size;
+ b->yy_is_interactive = 0;
+ b->yy_at_bol = 1;
+ b->yy_fill_buffer = 0;
+ b->yy_buffer_status = YY_BUFFER_NEW;
+
+ yy_switch_to_buffer(b );
+
+ return b;
+}
+
+/** Setup the input buffer state to scan a string. The next call to yylex() will
+ * scan from a @e copy of @a str.
+ * @param yystr a NUL-terminated string to scan
+ *
+ * @return the newly allocated buffer state object.
+ * @note If you want to scan bytes that may contain NUL values, then use
+ * yy_scan_bytes() instead.
+ */
+YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
+{
+
+ return yy_scan_bytes(yystr,strlen(yystr) );
+}
+
+/** Setup the input buffer state to scan the given bytes. The next call to yylex() will
+ * scan from a @e copy of @a bytes.
+ * @param yybytes the byte buffer to scan
+ * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
+ *
+ * @return the newly allocated buffer state object.
+ */
+YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len )
+{
+ YY_BUFFER_STATE b;
+ char *buf;
+ yy_size_t n;
+ int i;
+
+ /* Get memory for full buffer, including space for trailing EOB's. */
+ n = _yybytes_len + 2;
+ buf = (char *) yyalloc(n );
+ if ( ! buf )
+ YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
+
+ for ( i = 0; i < _yybytes_len; ++i )
+ buf[i] = yybytes[i];
+
+ buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
+
+ b = yy_scan_buffer(buf,n );
+ if ( ! b )
+ YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
+
+ /* It's okay to grow etc. this buffer, and we should throw it
+ * away when we're done.
+ */
+ b->yy_is_our_buffer = 1;
+
+ return b;
+}
+
+#ifndef YY_EXIT_FAILURE
+#define YY_EXIT_FAILURE 2
+#endif
+
+static void yy_fatal_error (yyconst char* msg )
+{
+ (void) fprintf( stderr, "%s\n", msg );
+ exit( YY_EXIT_FAILURE );
+}
+
+/* Redefine yyless() so it works in section 3 code. */
+
+#undef yyless
+#define yyless(n) \
+ do \
+ { \
+ /* Undo effects of setting up yytext. */ \
+ int yyless_macro_arg = (n); \
+ YY_LESS_LINENO(yyless_macro_arg);\
+ yytext[yyleng] = (yy_hold_char); \
+ (yy_c_buf_p) = yytext + yyless_macro_arg; \
+ (yy_hold_char) = *(yy_c_buf_p); \
+ *(yy_c_buf_p) = '\0'; \
+ yyleng = yyless_macro_arg; \
+ } \
+ while ( 0 )
+
+/* Accessor methods (get/set functions) to struct members. */
+
+/** Get the current line number.
+ *
+ */
+int yyget_lineno (void)
+{
+
+ return yylineno;
+}
+
+/** Get the input stream.
+ *
+ */
+FILE *yyget_in (void)
+{
+ return yyin;
+}
+
+/** Get the output stream.
+ *
+ */
+FILE *yyget_out (void)
+{
+ return yyout;
+}
+
+/** Get the length of the current token.
+ *
+ */
+yy_size_t yyget_leng (void)
+{
+ return yyleng;
+}
+
+/** Get the current token.
+ *
+ */
+
+char *yyget_text (void)
+{
+ return yytext;
+}
+
+/** Set the current line number.
+ * @param line_number
+ *
+ */
+void yyset_lineno (int line_number )
+{
+
+ yylineno = line_number;
+}
+
+/** Set the input stream. This does not discard the current
+ * input buffer.
+ * @param in_str A readable stream.
+ *
+ * @see yy_switch_to_buffer
+ */
+void yyset_in (FILE * in_str )
+{
+ yyin = in_str ;
+}
+
+void yyset_out (FILE * out_str )
+{
+ yyout = out_str ;
+}
+
+int yyget_debug (void)
+{
+ return yy_flex_debug;
+}
+
+void yyset_debug (int bdebug )
+{
+ yy_flex_debug = bdebug ;
+}
+
+static int yy_init_globals (void)
+{
+ /* Initialization is the same as for the non-reentrant scanner.
+ * This function is called from yylex_destroy(), so don't allocate here.
+ */
+
+ (yy_buffer_stack) = 0;
+ (yy_buffer_stack_top) = 0;
+ (yy_buffer_stack_max) = 0;
+ (yy_c_buf_p) = (char *) 0;
+ (yy_init) = 0;
+ (yy_start) = 0;
+
+/* Defined in main.c */
+#ifdef YY_STDINIT
+ yyin = stdin;
+ yyout = stdout;
+#else
+ yyin = (FILE *) 0;
+ yyout = (FILE *) 0;
+#endif
+
+ /* For future reference: Set errno on error, since we are called by
+ * yylex_init()
+ */
+ return 0;
+}
+
+/* yylex_destroy is for both reentrant and non-reentrant scanners. */
+int yylex_destroy (void)
+{
+
+ /* Pop the buffer stack, destroying each element. */
+ while(YY_CURRENT_BUFFER){
+ yy_delete_buffer(YY_CURRENT_BUFFER );
+ YY_CURRENT_BUFFER_LVALUE = NULL;
+ yypop_buffer_state();
+ }
+
+ /* Destroy the stack itself. */
+ yyfree((yy_buffer_stack) );
+ (yy_buffer_stack) = NULL;
+
+ /* Reset the globals. This is important in a non-reentrant scanner so the next time
+ * yylex() is called, initialization will occur. */
+ yy_init_globals( );
+
+ return 0;
+}
+
+/*
+ * Internal utility routines.
+ */
+
+#ifndef yytext_ptr
+static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
+{
+ register int i;
+ for ( i = 0; i < n; ++i )
+ s1[i] = s2[i];
+}
+#endif
+
+#ifdef YY_NEED_STRLEN
+static int yy_flex_strlen (yyconst char * s )
+{
+ register int n;
+ for ( n = 0; s[n]; ++n )
+ ;
+
+ return n;
+}
+#endif
+
+void *yyalloc (yy_size_t size )
+{
+ return (void *) malloc( size );
+}
+
+void *yyrealloc (void * ptr, yy_size_t size )
+{
+ /* The cast to (char *) in the following accommodates both
+ * implementations that use char* generic pointers, and those
+ * that use void* generic pointers. It works with the latter
+ * because both ANSI C and C++ allow castless assignment from
+ * any pointer type to void*, and deal with argument conversions
+ * as though doing an assignment.
+ */
+ return (void *) realloc( (char *) ptr, size );
+}
+
+void yyfree (void * ptr )
+{
+ free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
+}
+
+#define YYTABLES_NAME "yytables"
+
+#line 24 "src/scan.l"
+
+
+
+void lex_brace() {
+ BEGIN(braceV);
+}
+void lex_normal() {
+ BEGIN(0);
+}
+
+
+
diff --git a/biblio/bibtex/utils/mkbib/src/scan.l b/biblio/bibtex/utils/mkbib/src/scan.l
new file mode 100644
index 0000000000..7d1f26d93f
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/src/scan.l
@@ -0,0 +1,33 @@
+%{
+#include "bib.h"
+ int line;
+%}
+
+%option noyywrap
+
+%x braceV
+
+%%
+
+<braceV>[^{}]* { yylval.sval = strdup(yytext); return VALUE; }
+<braceV>[{}] { return *yytext; }
+
+[A-Za-z][A-Za-z0-9_":]* { yylval.sval = strdup(yytext); return KEY; }
+\".*\" { yylval.sval = strndup(yytext+1, yyleng-2); return VALUE; }
+[0-9]+ { yylval.sval = strdup(yytext); return VALUE; }
+@[A-Za-z][A-Za-z]+ { yylval.sval = strdup(yytext+1); return ENTRYTYPE; }
+[ \t\n] ; /* ignore whitespace */
+[{}=,] { return *yytext; }
+#. { fprintf(stderr, "Unrecognized character %c in input\n", *yytext); }
+\n {line++;printf("%d",line);}
+
+%%
+
+void lex_brace() {
+ BEGIN(braceV);
+}
+void lex_normal() {
+ BEGIN(0);
+}
+
+
diff --git a/biblio/bibtex/utils/mkbib/src/search.c b/biblio/bibtex/utils/mkbib/src/search.c
new file mode 100644
index 0000000000..973c9a91dd
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/src/search.c
@@ -0,0 +1,119 @@
+/* Copyright (C) 2012 Rudra Banerjee*/
+
+/*
+ This file is part of mkbib.
+
+ mkbib is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ mkbib is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with mkbib. If not, see <http://www.gnu.org/licenses/>.
+
+*/
+
+#include <gtk/gtk.h>
+#include <string.h>
+#include <libsoup/soup.h>
+#include "main.h"
+#define gs_BUFF 1024
+GtkWidget* gs_txt;
+
+void search_gs(GtkWidget *widget, gpointer data) {
+ const gchar *strAuth, *strTitle, *strYear;
+ gchar *encoded, strurl[1024];
+ Entries *e = (Entries*) data;
+ strAuth = gtk_entry_get_text(GTK_ENTRY(e->entryAuth));
+ strTitle = gtk_entry_get_text(GTK_ENTRY(e->entryTitle));
+ strYear = gtk_entry_get_text(GTK_ENTRY(e->entryYear));
+
+ if ((strlen(strTitle)!=0)&(strlen(strAuth)!=0)){
+ encoded = soup_form_encode ("as_q", strTitle,
+ "as_sauthors", strAuth,
+ "as_ylo", strYear, NULL);
+ }
+ else if((strlen(strTitle)==0)&(strlen(strAuth)!=0)){
+ encoded=soup_form_encode("as_q",strAuth,
+ "as_ylo",strYear,NULL);
+ }
+ else if((strlen(strTitle)!=0)&(strlen(strAuth)==0)){
+ encoded=soup_form_encode("as_q",strTitle,
+ "as_ylo",strYear,NULL);
+ }
+ else if((strlen(strTitle)==0)&(strlen(strAuth)==0)){
+ caution("You haven't given any search criteria!");
+ return;
+ }
+ strcpy(strurl,"http://scholar.google.com/scholar?");
+ strcat(strurl,encoded);
+
+ gtk_show_uri(gdk_screen_get_default(),strurl,GDK_CURRENT_TIME,NULL);
+ gtk_entry_set_text(GTK_ENTRY(e->entryAuth),"");
+ gtk_entry_set_text(GTK_ENTRY(e->entryYear),"");
+ gtk_entry_set_text(GTK_ENTRY(e->entryTitle),"");
+}
+
+void gen_gs(GtkWidget *widget, gpointer data) {
+ void gs_open(GtkWidget *widget, gpointer data);
+ GtkWidget* window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER_ON_PARENT);
+ gtk_window_set_title(GTK_WINDOW(window), "Enter a bibtex entry");
+ gtk_container_set_border_width(GTK_CONTAINER(window), 5);
+ GtkWidget* gen_grid=gtk_grid_new();
+ gtk_container_add(GTK_CONTAINER(window), gen_grid);
+
+ gs_txt=gtk_text_view_new();
+ gtk_widget_set_size_request(gs_txt, 250, 250);
+
+ GtkWidget* con_gen= gtk_button_new_with_label("Create");
+ g_signal_connect(con_gen, "clicked", G_CALLBACK(gs_open), NULL);
+ // g_signal_connect(con_gen, "clicked", G_CALLBACK(close_widget), NULL);
+
+ GtkWidget *con_can= gtk_button_new_with_label("Cancel");
+ g_signal_connect_swapped(con_can, "clicked", G_CALLBACK(gtk_widget_destroy), window);
+ gtk_grid_attach(GTK_GRID(gen_grid), gs_txt, 0, 1, 10, 10);
+ gtk_grid_attach(GTK_GRID(gen_grid), con_gen, 0, 12, 5, 1);
+ gtk_grid_attach(GTK_GRID(gen_grid), con_can, 5, 12, 5, 1);
+ gtk_widget_show_all(window);
+}
+
+void gs_open(GtkWidget *window, gpointer data) {
+ GScanner *gs_scanner;
+ GHashTable *gs_table;
+ GError* error=NULL;
+ GtkTextIter start, end;
+ GtkListStore *gs_store;
+ GtkTreeIter siter;
+ GtkWidget *gs_tree;
+ gboolean valid;
+ GString *ustring = g_string_new ("");
+ GString *str=g_string_new(NULL);
+
+ GtkTextBuffer *gs_buf=gtk_text_view_get_buffer(GTK_TEXT_VIEW(gs_txt));
+ gtk_text_buffer_get_start_iter (gs_buf, &start);
+ gtk_text_buffer_get_end_iter (gs_buf, &end);
+ gchar *gs_text = gtk_text_buffer_get_text (gs_buf, &start, &end, FALSE);
+
+ if (buffer == NULL){
+// buffer = (char *) malloc(strlen(gs_text) + 1);
+ buffer=g_strdup(gs_text);
+ }
+ else{
+ gchar *t=buffer;
+ buffer=g_strconcat(buffer,gs_text,NULL);
+ g_free(t);
+ }
+ gtk_list_store_clear(store);
+ output_entry ();
+ buf_mod=TRUE;
+ gtk_widget_destroy(gtk_widget_get_toplevel (window));
+}
+
+void close_widget(GtkWidget *window, gpointer data){
+}
diff --git a/biblio/bibtex/utils/mkbib/src/update_file.c b/biblio/bibtex/utils/mkbib/src/update_file.c
new file mode 100644
index 0000000000..925b2f1dd6
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/src/update_file.c
@@ -0,0 +1,134 @@
+/* Copyright (C) 2012 Rudra Banerjee*/
+
+/*
+ This file is part of mkbib.
+
+ mkbib is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ mkbib is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with mkbib. If not, see <http://www.gnu.org/licenses/>.
+
+*/
+
+#include <gtk/gtk.h>
+#include <glib.h>
+#include <string.h>
+/* #include <stdio.h>
+ * #include <stdlib.h>
+ * #include <sys/types.h>
+ * #include <sys/stat.h>
+ * #include <gdk/gdk.h>
+ * #include <gdk/gdkkeysyms.h>
+ */
+#include "main.h"
+GtkWidget *flabel;
+char *filename;
+void caution();
+GtkListStore *store;
+GtkTreeIter siter;
+GError* error = NULL;
+
+
+void activate_func(GtkWidget *widget, gpointer data) {
+ Entries *e = (Entries*) data;
+ const gchar *strings[21] = {""};
+ strings[0] = g_strdup(gtk_combo_box_text_get_active_text(GTK_COMBO_BOX_TEXT(e->combo)));
+ strings[1] = g_strdup(gtk_entry_get_text(GTK_ENTRY(e->entry1)));
+ strings[2] = g_strdup(gtk_entry_get_text(GTK_ENTRY(e->entryAuth)));
+ strings[3] = g_strdup(gtk_entry_get_text(GTK_ENTRY(e->entryEditor)));
+ strings[4] = g_strdup(gtk_entry_get_text(GTK_ENTRY(e->entryTitle)));
+ strings[5] = g_strdup(gtk_entry_get_text(GTK_ENTRY(e->entryPublisher)));
+ strings[6] = g_strdup(gtk_entry_get_text(GTK_ENTRY(e->entryVol)));
+ strings[7] = g_strdup(gtk_entry_get_text(GTK_ENTRY(e->entryNumber)));
+ strings[8] = g_strdup(gtk_entry_get_text(GTK_ENTRY(e->entryPage)));
+ strings[9] = g_strdup(gtk_entry_get_text(GTK_ENTRY(e->entryMon)));
+ strings[10] = g_strdup(gtk_entry_get_text(GTK_ENTRY(e->entryNote)));
+ strings[11] = g_strdup(gtk_entry_get_text(GTK_ENTRY(e->entryKey)));
+ strings[12] = g_strdup(gtk_entry_get_text(GTK_ENTRY(e->entryYear)));
+ strings[13] = g_strdup(gtk_entry_get_text(GTK_ENTRY(e->entryAddress)));
+ strings[14] = g_strdup(gtk_entry_get_text(GTK_ENTRY(e->entryEdition)));
+ strings[15] = g_strdup(gtk_entry_get_text(GTK_ENTRY(e->entryJournal)));
+ strings[16] = g_strdup(gtk_entry_get_text(GTK_ENTRY(e->entrySeries)));
+ strings[17] = g_strdup(gtk_entry_get_text(GTK_ENTRY(e->entryBooktitle)));
+ strings[18] = g_strdup(gtk_entry_get_text(GTK_ENTRY(e->entryOrg)));
+ strings[19] = g_strdup(gtk_entry_get_text(GTK_ENTRY(e->entrySchool)));
+ strings[20] = g_strdup(gtk_entry_get_text(GTK_ENTRY(e->entryChap)));
+
+
+ if(strcmp (strings[0],"==Entry Type==")==0){
+ caution("Select Entry Type");
+ }
+ else if(strcmp(strings[1],"")==0){
+ caution("Select Key");
+ }
+ else{
+ gtk_list_store_append(store, &siter);
+ gtk_list_store_set(store, &siter,
+ COL_BIB_KEY, strings[0],
+ COL_BIB_TYPE, strings[1],
+ COL_BIB_AUTHOR, strings[2],
+ COL_BIB_YEAR, strings[12],
+ COL_BIB_TITLE, strings[4],
+ COL_BIB_JOURNAL, strings[5],
+ -1);
+
+ GString *tstring = g_string_new ("");
+ GString *str=g_string_new(buffer);
+ gtk_label_set_text(GTK_LABEL(flabel), filename);
+ g_string_append_printf (tstring, "@%s{%s",strings[0], strings[1]);
+ gchar *keyword[21] = {
+ "Type" , "ID",
+ "Author" , "Editor" , "Title" , "Publisher",
+ "Volume" , "Number" , "Pages" , "Month" ,
+ "Note" , "Key" , "Year" , "Address" ,
+ "Edition" , "Journal", "Series", "Booktitle",
+ "Organization", "Chapter", "School"};
+
+ int i=2;
+ while (i < 21) {
+ if (strlen(strings[i]) != 0) {
+ g_string_append_printf(tstring, ",\n\t%s=\"%s\"",
+ keyword[i], strings[i]);
+ g_free((char*)strings[i]);
+ strings[i]=NULL;
+ g_print("Cleaned:%d\n",i);
+ }
+ i++;
+ }
+
+ g_string_append_printf (tstring,"\n}\n");
+ g_string_append(str,tstring->str);
+ g_string_free(tstring, TRUE);
+ buffer=str->str;
+ buf_mod=TRUE;
+ gtk_entry_set_text(GTK_ENTRY(e->entry1),"");
+ gtk_entry_set_text(GTK_ENTRY(e->entryAuth),"");
+ gtk_entry_set_text(GTK_ENTRY(e->entryEditor),"");
+ gtk_entry_set_text(GTK_ENTRY(e->entryTitle),"");
+ gtk_entry_set_text(GTK_ENTRY(e->entryPublisher),"");
+ gtk_entry_set_text(GTK_ENTRY(e->entryVol),"");
+ gtk_entry_set_text(GTK_ENTRY(e->entryNumber),"");
+ gtk_entry_set_text(GTK_ENTRY(e->entryPage),"");
+ gtk_entry_set_text(GTK_ENTRY(e->entryMon),"");
+ gtk_entry_set_text(GTK_ENTRY(e->entryNote),"");
+ gtk_entry_set_text(GTK_ENTRY(e->entryKey),"");
+ gtk_entry_set_text(GTK_ENTRY(e->entryYear),"");
+ gtk_entry_set_text(GTK_ENTRY(e->entryAddress),"");
+ gtk_entry_set_text(GTK_ENTRY(e->entryEdition),"");
+ gtk_entry_set_text(GTK_ENTRY(e->entryJournal),"");
+ gtk_entry_set_text(GTK_ENTRY(e->entrySeries),"");
+ gtk_entry_set_text(GTK_ENTRY(e->entryBooktitle),"");
+ gtk_entry_set_text(GTK_ENTRY(e->entryOrg),"");
+ gtk_entry_set_text(GTK_ENTRY(e->entryChap),"");
+ gtk_entry_set_text(GTK_ENTRY(e->entrySchool),"");
+ }
+}
+
diff --git a/biblio/bibtex/utils/mkbib/src/view.c b/biblio/bibtex/utils/mkbib/src/view.c
new file mode 100644
index 0000000000..0806b507f7
--- /dev/null
+++ b/biblio/bibtex/utils/mkbib/src/view.c
@@ -0,0 +1,262 @@
+/* Copyright (C) 2012 Rudra Banerjee*/
+
+/*
+ This file is part of mkbib.
+
+ mkbib is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ mkbib is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with mkbib. If not, see <http://www.gnu.org/licenses/>.
+
+*/
+#include <string.h>
+#include <glib/gstdio.h>
+#include <fcntl.h>
+#include <gtk/gtk.h>
+#include "main.h"
+GtkWidget *window,
+ *flabel,
+ *tree,
+ *bibcombo;
+char *filename,*key, *val;
+GtkTreeIter siter;
+#define slen 1064
+
+void activate_func(GtkWidget *widget, gpointer data);
+
+char output_entry () {
+ extern FILE* yyin;
+ extern int yyparse (void);
+ yyin=fmemopen(buffer,strlen(buffer),"r");
+ return yyparse();
+}
+
+
+GtkWidget *create_view_and_model(void) {
+ GtkCellRenderer *cell;
+ void
+ cell_edited(GtkCellRendererText *renderer,
+ gchar *path,
+ gchar *new_text,
+ GtkTreeView *treeview);
+ GtkTreeViewColumn *col_key,*col_year,*col_type,*col_auth,*col_title,*col_journal;
+
+ store = gtk_list_store_new (NUM_COLS,
+ G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING,
+ G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING,
+ G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING,
+ G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING,
+ G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING);
+
+ tree = gtk_tree_view_new_with_model (GTK_TREE_MODEL (store));
+ g_object_unref(G_OBJECT(store));
+ gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(tree), TRUE);
+
+
+ /* #1: KEY COLUMN */
+ cell = gtk_cell_renderer_text_new ();
+ g_object_set (cell, "editable", TRUE, NULL);
+ g_signal_connect (cell, "edited",G_CALLBACK(cell_edited), tree);
+ g_object_set_data (G_OBJECT (cell),
+ "column", GINT_TO_POINTER (COL_BIB_KEY));
+ col_key=gtk_tree_view_column_new_with_attributes (
+ "Key", cell,
+ "text", COL_BIB_KEY,
+ NULL);
+ gtk_tree_view_column_set_sort_column_id( col_key, ID_KEY);
+ gtk_tree_view_append_column (GTK_TREE_VIEW (tree), col_key);
+ gtk_tree_view_column_set_max_width (col_key,100);
+
+
+ /* #2: TYPE COLUMN */
+ cell = gtk_cell_renderer_text_new ();
+ g_object_set(G_OBJECT(cell), "wrap-mode", PANGO_WRAP_WORD,
+ "wrap-width",100,"editable", TRUE, NULL);
+ g_signal_connect (cell, "edited",G_CALLBACK(cell_edited), tree);
+ g_object_set_data (G_OBJECT (cell),
+ "column", GINT_TO_POINTER (COL_BIB_TYPE));
+
+ col_type=gtk_tree_view_column_new_with_attributes (
+ "Type", cell,
+ "text", COL_BIB_TYPE,
+ NULL);
+ gtk_tree_view_column_set_sort_column_id( col_type, ID_TYPE);
+ gtk_tree_view_append_column (GTK_TREE_VIEW (tree), col_type);
+
+
+
+ /* #3: AUTHOR COLUMN */
+ cell = gtk_cell_renderer_text_new ();
+ g_object_set(G_OBJECT(cell), "wrap-mode", PANGO_WRAP_WORD,
+ "wrap-width",300,"editable", TRUE, NULL);
+ g_signal_connect (cell, "edited",G_CALLBACK(cell_edited), tree);
+ g_object_set_data (G_OBJECT (cell),
+ "column", GINT_TO_POINTER (COL_BIB_AUTHOR));
+
+ col_auth=gtk_tree_view_column_new_with_attributes (
+ "Author", cell,
+ "text", COL_BIB_AUTHOR,
+ NULL);
+ gtk_tree_view_column_set_sort_column_id( col_auth, ID_AUTHOR);
+ gtk_tree_view_append_column (GTK_TREE_VIEW (tree), col_auth);
+ // gtk_tree_view_column_set_max_width (col_auth,350);
+
+
+ /* #4: YEAR COLUMN */
+ cell = gtk_cell_renderer_text_new ();
+ g_object_set (cell, "editable", TRUE, NULL);
+ g_signal_connect (cell, "edited",G_CALLBACK(cell_edited), tree);
+
+ g_object_set_data (G_OBJECT (cell),
+ "column", GINT_TO_POINTER (COL_BIB_YEAR));
+
+ col_year=gtk_tree_view_column_new_with_attributes (
+ "Year", cell,
+ "text", COL_BIB_YEAR,
+ NULL);
+ gtk_tree_view_column_set_sort_column_id( col_year, ID_YEAR);
+ gtk_tree_view_append_column (GTK_TREE_VIEW (tree), col_year);
+ gtk_tree_view_column_set_max_width (col_year,65);
+
+
+ /* #5: TITLE COLUMN */
+ cell = gtk_cell_renderer_text_new ();
+ g_object_set(G_OBJECT(cell), "wrap-mode", PANGO_WRAP_WORD,
+ "wrap-width",300,"editable", TRUE, NULL);
+ g_signal_connect (cell, "edited",G_CALLBACK(cell_edited), tree);
+ g_object_set_data (G_OBJECT (cell),
+ "column", GINT_TO_POINTER (COL_BIB_TITLE));
+
+ col_title=gtk_tree_view_column_new_with_attributes (
+ "Title", cell,
+ "text", COL_BIB_TITLE,
+ NULL);
+ gtk_tree_view_column_set_sort_column_id( col_title, ID_TITLE);
+ gtk_tree_view_append_column (GTK_TREE_VIEW (tree), col_title);
+ // gtk_tree_view_column_set_max_width (col_pub,350);
+
+
+ /* #6: Journal COLUMN */
+ cell = gtk_cell_renderer_text_new ();
+ g_object_set(G_OBJECT(cell), "wrap-mode", PANGO_WRAP_WORD,
+ "wrap-width",100,"editable", TRUE, NULL);
+ g_signal_connect (cell, "edited",G_CALLBACK(cell_edited), tree);
+ g_object_set_data (G_OBJECT (cell),
+ "column", GINT_TO_POINTER (COL_BIB_JOURNAL));
+
+ col_journal=gtk_tree_view_column_new_with_attributes (
+ "Journal", cell,
+ "text", COL_BIB_JOURNAL,
+ NULL);
+ gtk_tree_view_column_set_sort_column_id(col_journal, ID_JOURNAL);
+ gtk_tree_view_append_column (GTK_TREE_VIEW (tree), col_journal);
+
+ return tree;
+}
+
+
+/* Apply the changed text to the cell if it is not an empty string. */
+void cell_edited(GtkCellRendererText *renderer,
+ gchar *path,
+ gchar *new_text,
+ GtkTreeView *treeview)
+{
+ guint column;
+ GtkTreeIter iter;
+ gboolean valid;
+ GtkTreeModel *model;
+ GString *ustring = g_string_new ("");
+ GString *str=g_string_new(NULL);
+
+ // g_free(buffer);
+ gpointer columnptr = g_object_get_data(G_OBJECT(renderer), "column");
+ column = GPOINTER_TO_UINT(columnptr);
+
+ if (g_ascii_strcasecmp (new_text, "") != 0)
+ {
+ model = gtk_tree_view_get_model (treeview);
+ if (gtk_tree_model_get_iter_from_string (model, &iter, path))
+ gtk_list_store_set (GTK_LIST_STORE (model), &iter, column, new_text, -1);
+ }
+ for (valid = gtk_tree_model_get_iter_first (GTK_TREE_MODEL (store), &iter);
+ valid;
+ valid = gtk_tree_model_iter_next (GTK_TREE_MODEL (store), &iter)) {
+ char *string0, *string1, *string2, *string3, *string4,*string5, *string6,
+ *string7, *string8, *string9,*string10, *string11, *string12, *string13,
+ *string14,*string15, *string16, *string17, *string18, *string19;
+
+ gtk_tree_model_get (GTK_TREE_MODEL (store), &iter,
+ 0, &string0, 1, &string1, 2, &string2, 3, &string3,
+ 4, &string4, 5, &string5, 6, &string6, 7, &string7,
+ 8, &string8, 9, &string9, 10, &string10, 11, &string11,
+ 12, &string12, 13, &string13, 14, &string14, 15, &string15,
+ 16, &string16, 17, &string17, 18, &string18, 19, &string19,
+ -1);//
+ /* g_print("0:%s\n1:%s\n2:%s\n3:%s\n4:%s\n5:%s\n6:%s\n7:%s\n8:%s\n9:%s\n10:%s\n11:%s\n12:%s\n13:%s\n14:%s\n15:%s\n16:%s\n17:%s\n18:%s\n19:%s",
+ string0, string1, string2, string3, string4, string5, string6,
+ string7, string8, string9,string10, string11, string12, string13,
+ string14,string15, string16, string17, string18, string19);
+ */
+ g_string_append_printf (ustring, "@%s{%s,\n",string1, string0);
+ if( strlen(string2)!=0 ||string2!=NULL)
+ g_string_append_printf (ustring,"\tAuthor=\"%s\",\n", string2);
+ if( strlen(string3)!=0 ||string3!=NULL)
+ g_string_append_printf (ustring,"\tYear=\"%s\",\n", string3);
+ if( strlen(string4)!=0 ||string4!=NULL)
+ g_string_append_printf (ustring, "\tTitle=\"%s\",\n", string4);
+ if( (string5)!=0 || string5 !=NULL)
+ g_string_append_printf (ustring, "\tPublisher=\"%s\",\n", string5);
+ if( (string6)!=0 || string6 !=NULL)
+ g_string_append_printf (ustring, "\tEditor=\"%s\",\n", string6);
+ if( (string7)!=0 && string7 !=NULL)
+ g_string_append_printf (ustring, "\tVolume=\"%s\",\n", string7);
+ if( (string8)!=0 && string8 !=NULL)
+ g_string_append_printf (ustring, "\tNumber=\"%s\",\n", string8);
+ if( (string9)!=0 && string9 !=NULL)
+ g_string_append_printf (ustring, "\tPages=\"%s\",\n", string9);
+ if( (string10)!=0 && string10 !=NULL)
+ g_string_append_printf (ustring, "\tMonth=\"%s\",\n", string10);
+ if( (string11)!=0 && string11 !=NULL)
+ g_string_append_printf (ustring, "\tNote=\"%s\",\n", string11);
+ if( (string12)!=0 && string12 !=NULL)
+ g_string_append_printf (ustring, "\tKey=\"%s\",\n", string12);
+ if( (string13)!=0 && string13 !=NULL)
+ g_string_append_printf (ustring, "\tAddress=\"%s\",\n", string13);
+ if( (string14)!=0 && string14 !=NULL)
+ g_string_append_printf (ustring, "\tJournal=\"%s\",\n", string14);
+ if( (string15)!=0 && string15 !=NULL)
+ g_string_append_printf (ustring, "\tEdition=\"%s\",\n", string15);
+ if( (string16)!=0 && string16 !=NULL)
+ g_string_append_printf (ustring, "\tSeries=\"%s\",\n", string16);
+ if( (string17)!=0 && string17 !=NULL)
+ g_string_append_printf (ustring, "\tBooktitle=\"%s\",\n", string17);
+ if( (string18)!=0 && string18 !=NULL)
+ g_string_append_printf (ustring, "\tOrganization=\"%s\",\n", string18);
+ if( (string19)!=0 && string19 !=NULL)
+ g_string_append_printf (ustring, "\tChapter=\"%s\",\n", string19);
+
+ g_string_append_printf(ustring, "%s\n","}");
+
+ g_free (string0); g_free (string1);
+ g_free (string2); g_free (string3);
+ g_free (string4); g_free (string5);
+ g_free (string6); g_free (string7);
+ g_free (string8); g_free (string9);
+ g_free (string10); g_free (string11);
+ g_free (string12); g_free (string13);
+ g_free (string14); g_free (string15);
+ g_free (string16); g_free (string17);
+ g_free (string18); g_free (string19);
+ }
+ g_string_append(str,ustring->str);
+ buffer=str->str;
+ buf_mod=TRUE;
+}
diff --git a/biblio/bibtex/utils/mrcheckbib/README b/biblio/bibtex/utils/mrcheckbib/README
new file mode 100644
index 0000000000..b7138e619e
--- /dev/null
+++ b/biblio/bibtex/utils/mrcheckbib/README
@@ -0,0 +1,4 @@
+mrcheckbib is a bibtex file verification tool using the AMS MRef database,
+it takes every entry in a bibtex file (.bib) and checks it against the
+database. If it finds a unique MRef entry, then your entry will be replaced
+by the MRef one.
diff --git a/biblio/bibtex/utils/mrcheckbib/mrcheckbib.sh b/biblio/bibtex/utils/mrcheckbib/mrcheckbib.sh
new file mode 100644
index 0000000000..c21367c074
--- /dev/null
+++ b/biblio/bibtex/utils/mrcheckbib/mrcheckbib.sh
@@ -0,0 +1,241 @@
+#/bin/zsh
+
+# mrcheckbib - version DBL_MIN
+# checks a bibtex file (.bib) against the AMS MRef database
+#
+# Copyright (C) 2006 John Cagnol <john@cagnol.net>
+# University Leonard de Vinci, Paris, France
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details. This document can
+# be obtained at http://www.gnu.org/licenses/gpl.txt
+#
+# Usage:
+# mrcheckbib basename
+#
+# Where:
+# basename.bib is the bibtex file to be checked
+#
+# Output:
+# result is placed in file-mrefed.bib and log is placed in
+# file-mrefed.log
+#
+# Example:
+# mrcheckbib references
+#
+# checks file references.bib against MRef and places the result in
+# references-mrefed.bib
+#
+# Purpose of the script:
+#
+# This script takes every entry in a bibtex file (.bib) and checks it
+# against the AMS MRef database (see http://www.ams.org/mref). If it
+# finds a unique MRef entry, then your entry will be replaced by the
+# MRef one. For example, if your bibtex entry is
+#
+# @article{greens,
+# Author="Cagnol, J. and Lebiedzik, C.},
+# Title="On the free boundary conditions for a dynamic shell model
+# based on intrinsic differential geometry
+# Journal="Applicable Analysis", Year=2004}
+#
+# It will be replaced by
+#
+# @article {greens,
+# AUTHOR = {Cagnol, John and Lebiedzik, Catherine},
+# TITLE = {On the free boundary conditions for a dynamic shell
+# model based on intrinsic differential geometry},
+# JOURNAL = {Appl. Anal.},
+# FJOURNAL = {Applicable Analysis. An International Journal},
+# VOLUME = {83},
+# YEAR = {2004},
+# NUMBER = {6},
+# PAGES = {607--633},
+# ISSN = {0003-6811},
+# MRCLASS = {74K25 (35B35 53B50 74H99)},
+# MRNUMBER = {MR2059476 (2006c:74066)},
+# MRREVIEWER = {Liliana Gratie},
+# }
+#
+# The latter is more complete than the former (page numbers, etc.).
+# Please note that mrcheckbib does not try to figure out which entry
+# is more complete. If a unique MRef entry is found, then your entry
+# is gone. In most cases, this is good because the MRef entry is more
+# complete.
+#
+# mrcheckbib is intended to be used with a standard bibfile, with no
+# comment line. It is assumed your shell is zsh and that have a
+# non-interactive network retriever such as wget. If you use curl
+# or any other retriever, you'll need to adapt the options.
+#
+# The script relies on the fact that MRef response is bracketed by
+# <pre> tags. If AMS changes this, then script will stop working.
+#
+# Please note that this script was written in haste, it was not
+# intended to be portable, robust or well-written. Version number is
+# DBL_MIN, which is pretty low! It was released because several people
+# asked me to, but it has not been tested extensively, and may require
+# fine tuning. If you come up with a better version, please let me
+# know.
+
+
+# on-interactive network retriever used
+wget=wget
+# if you change this, you'll need to change the options as well
+
+# File names
+inputfile=$1.bib
+outputfile=$1-mrefed.bib
+outputlog=$1-mrefed.log
+tempfile=$1.$$
+
+# Counters
+refcount=0
+okcount=0
+numcount=0
+
+# Messages
+date=`date +"%d %b %Y"`
+verified="% checked against MRef on $date"
+unverified="% Could not find a unique match on MRef on $date";
+weird="% reference verification failed on $date";
+
+# Output files better not exist
+if test -e $outputfile
+then
+ echo "$0: file $outputfile exists. Aborting"
+ exit;
+fi
+
+if test -e $outputlog
+then
+ echo "$0: file $outputlog exists. Aborting"
+ exit;
+fi
+
+# bib entries are placed one by line, tabulations removed, spaces
+# replaced by @
+cat $inputfile | tr -d \\n | tr -d \\t | tr @ \\n | sed s/\ /@/g > $tempfile
+
+echo "% Generated by mrcheckbib version DBL_MIN on $date" >> $outputfile
+echo "% For more information, please visit http://www.cagnol.com/mrcheckbib" >> $outputfile
+echo " " >> $outputfile
+echo " " >> $outputfile
+
+# Processing of each entry
+for entry in $(<$tempfile)
+do
+ # Entry info
+ refcount=`expr $refcount + 1`
+ reference=`echo $entry | sed s/@/%20/g`
+ bibtype=`echo $reference | cut -d\{ -f1 | sed s/%20//g `
+ bibtag=`echo $reference | cut -d\{ -f2 | cut -d\, -f1 | sed s/%20//g`
+ echo "Checking reference $refcount ($bibtag, $bibtype)"
+ echo "[$refcount, $bibtag, $bibtype]" >> $outputlog
+
+ # fetch the MRef for the entry
+ echo -n "connecting. "
+ URL="http://www.ams.org/mathscinet-mref?&dataType=bibtex&ref="$reference
+ # if you use curl, adapt the options below
+ wget -a $outputlog -O $tempfile.$refcount $URL
+
+ # figure out the start and the end of the entry (delimited by <pre> tags)
+ start=`grep -n "<pre>" $tempfile.$refcount | cut -d\: -f1`
+ end=`grep -n "</pre>" $tempfile.$refcount | cut -d\: -f1`
+ echo "start=$start, end=$end" >> $outputlog
+
+ # if <pre> tags were not found then the MRef failed for this entry
+ if test "$start" == ""
+ then
+ result=1;
+ else
+ if test "$end" == ""
+ then
+ result=2;
+ else
+ result=0;
+ fi
+ fi
+
+ case $result in
+ 1) # No <pre> tag could be found, most likely because no unique match could be found
+ echo "Not a unique match.";
+ echo "Not a unique match." >> $outputlog;
+ numcount=`expr $numcount + 1`;
+ echo $unverified >> $outputfile;
+ echo -n "@">> $outputfile;
+ echo $entry | sed s/@/\ /g >> $outputfile;;
+
+ 2) # A <pre> tag could be found, but no </pre> tag, that's bizzare.
+ echo "Internal error.";
+ echo "Internal error." >> $outputlog;
+ echo $weird >> $outputfile;
+ echo -n "@">> $outputfile;
+ echo $entry | sed s/@/\ /g >> $outputfile;;
+
+ 0) # Tags <pre> and </pre> were found, MRef returned a result!
+ echo "found. "
+ echo "OK." >> $outputlog;
+ okcount=`expr $okcount + 1`;
+
+ # find were to cut
+ length=`expr $end - $start - 1`;
+ endm1=`expr $end - 1`;
+
+ # get the entrytype from MRef
+ newbibtype=`head -$start $tempfile.$refcount | tail -1 | cut -d\@ -f2 | cut -d\{ -f1 | sed s/\ //g`;
+
+ # get the data from MRef
+ head -$endm1 $tempfile.$refcount | tail -$length > $tempfile.$refcount.res;
+ echo $verified >> $outputfile;
+
+ # Warn if entry types disagree
+ if test "$bibtype" != "$newbibtype"
+ then
+ echo "discrepency: your is entry type was $bibtype, MRef is $newbibtype" >> $outputlog;
+ fi
+
+ # Output the result
+ echo "@$newbibtype{$bibtag," >> $outputfile;
+ cat $tempfile.$refcount.res >> $outputfile;
+ echo "}" >> $outputfile;;
+ esac
+
+ echo " " >> $outputfile
+ echo " " >> $outputfile
+
+ # Get rid of temp files
+ rm -f $tempfile.$refcount $tempfile.$refcount.res
+done
+
+# Get rid of temp files
+rm -f $tempfile
+
+# Print summary information
+if test "$refcount" -ge 1
+then
+ echo $refcount references were checked
+else
+ echo "no entry found"
+fi
+
+if test "$okcount" -ge 1
+then
+ echo $okcount references were found
+else
+ echo "none of your references were found"
+fi
+
+if test "$numcount" -ge 1
+then
+ echo $numcount references could not be uniquely matched
+fi
+
+echo "done"
diff --git a/biblio/bibtex/utils/printbib/printbib b/biblio/bibtex/utils/printbib/printbib
new file mode 100644
index 0000000000..e2378281be
--- /dev/null
+++ b/biblio/bibtex/utils/printbib/printbib
@@ -0,0 +1,87 @@
+#! /bin/sh
+# set -x
+usage='usage: printbib[key] [-noprint|-nocheck|-style bibstyle|-title "title"|-output file|-predef "file,file,..."] bibfile...'
+# you may have to change this for your site:
+files=${predef-"/users/bib/predef"}
+title=${title-", sorted by first author"}
+style=${style-skey}
+output=${output-test}
+check=${check-true}
+print=${print-true}
+
+while :
+do
+ case "$1" in
+ -p|-print) print=true; shift;;
+ +p|-noprint) print=false; shift;;
+ -c|-check) check=true; shift;;
+ +c|-nocheck) check=false; shift;;
+ -s|-style) style="$2"; shift 2;;
+ -t|-title) title="$2"; shift 2;;
+ -o|-output) output="$2"; shift 2;;
+ -predef) files="$2"; shift 2;;
+ -*|+*) echo "$usage" >&2; exit 1;;
+ *) break;;
+ esac
+ done
+if [ $# -lt 1 ]
+ then echo $usage >&2
+ exit 1
+ fi
+
+umask 0
+rm -f ${output}.tex ${output}.aux ${output}.bbl ${output}.blg ${output}.log ${output}.dvi ${output}.DVI
+
+echo "Outputting to ${output}.tex" >&2
+
+cat > ${output}.tex << EOD
+
+ % tex file to print bibliography file(s) $@
+ % automatically generated by program $0
+ \\documentstyle[proc]{article}
+ \\begin{document}
+ \\title{Bibliography file $@ $title}
+ \\author{Version of `date '+%a %d-%h-%y %H:%M'`}
+ \\maketitle
+ \\renewcommand\\thebibliography[1]{\\section*{Bibliography\\markboth
+ {BIBLIOGRAPHY}{BIBLIOGRAPHY}}\\list
+ {[\\arabic{enumi}]}{\\settowidth\\labelwidth{12345678}\\leftmargin\\labelwidth
+ \\advance\\leftmargin\\labelsep
+ \\usecounter{enumi}}
+ \\def\\newblock{\\hskip .11em plus .33em minus -.07em}
+ \\sloppy
+ \\sfcode\`\\.=1000\\relax}
+
+ \\bibliography{$files}
+ \\bibliographystyle{${style}}
+ \\end{document}
+
+EOD
+
+echo '\relax' > ${output}.aux
+while [ $# -gt 0 ]
+do
+ f=`basename $1 .bib`
+ if [ ! -r $f.bib ]
+ then echo $usage >&2
+ exit 1
+ fi
+
+ sed -n -e 's+^[ ]*@\([a-zA-Z]*\)[ ]*[({][ ]*\([-:_a-zA-Z0-9]*\),+\\citation{\2}+p' $f.bib >> ${output}.aux
+
+ files="$files,$f"
+ shift
+
+ done
+
+echo "\\bibdata{$files}" >> ${output}.aux
+echo "\\bibstyle{$style}" >> ${output}.aux
+
+bibtex ${output}
+if egrep -l '(^ : |---)' ${output}.blg
+ then echo "There are errors in the bibliography file(s) (see ${output}.blg)" >&2
+ if $check; then exit 1; fi
+ fi
+latex ${output}
+if $print; then lpr -d ${output}.dvi; fi
+
diff --git a/biblio/bibtex/utils/printbib/printbibkey b/biblio/bibtex/utils/printbib/printbibkey
new file mode 100644
index 0000000000..0c58a039b3
--- /dev/null
+++ b/biblio/bibtex/utils/printbib/printbibkey
@@ -0,0 +1,8 @@
+#! /bin/sh
+style=${style-key}
+title=${title-", by order of appearance"}
+
+export style title
+exec printbib "$@"
+
+
diff --git a/biblio/bibtex/utils/pybib/BibEntry.py b/biblio/bibtex/utils/pybib/BibEntry.py
new file mode 100644
index 0000000000..b040d5b096
--- /dev/null
+++ b/biblio/bibtex/utils/pybib/BibEntry.py
@@ -0,0 +1,662 @@
+# Bibliography entry class
+# - holds all information about one bibliographic item
+# - provides methods for manipulating/setting/representing that information
+#
+# TODO:
+# __repr__ method needs to do a better job depending on the reference type, similar
+# logic is required in bib2html (but it's not their either...)
+#
+
+# Copyright (c) 2007, Peter Corke
+#
+# All rights reserved.
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+# * The name of the copyright holder may not be used to endorse or
+# promote products derived from this software without specific prior
+# written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE
+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+# THE POSSIBILITY OF SUCH DAMAGE.
+
+import sys;
+import string;
+import re;
+
+#BadValue = "Bad value";
+#BadField = "Bad field";
+#BadRefType = "Bad reference type";
+
+class BibEntry:
+ fieldDict = {};
+ verbose = 0;
+ bibliography = {};
+
+ def __init__(self, key, bib):
+ self.key = key;
+ self.fieldDict = {};
+ self.bibliography = bib;
+ if BibEntry.verbose:
+ print >> sys.stderr, "New entry ", key;
+
+ def __repr__(self):
+ str = '"' + self.getTitle() + '"; ';
+ try:
+ str = str + self.getAuthorsNames();
+ except:
+ try:
+ str = str + "eds. " + self.getEditorsNames();
+ except:
+ pass;
+ month = self.getMonthName();
+ year = self.getYear();
+ book = self.getBooktitle();
+ if book:
+ str += ", " + book;
+ if month:
+ str += ", " + month;
+ if year > 0:
+ str += " " + `year`;
+ else:
+ if year > 0:
+ str += ", " + `year`;
+ str += '.';
+ return str;
+
+ def brief(self, fp=sys.stdout):
+ print >> fp, self;
+
+ def display(self, fp=sys.stdout):
+ print >> fp, "%12s: %s" % ("CiteKey", self.key)
+ for k in self.fieldDict:
+ if k[0] == '_':
+ continue;
+ if k == 'Author':
+ print >> fp, "%12s: %s" % (k, self.getAuthors())
+ else:
+ print >> fp, "%12s: %s" % (k, self.fieldDict[k])
+
+ def __getitem__(self, i):
+ if type(i) is str:
+ return self.fieldDict[i];
+ elif type(i) is int:
+ return self.fieldDict.keys()[i];
+ else:
+ raise;
+
+
+ def check(self):
+ keys = self.fieldDict.keys();
+ missing = [];
+ reftype = self.getRefType();
+ if not (reftype in alltypes):
+ raise AttributeError, "bad reference type [%s]" % self.getKey();
+ for k in required_fields[self.getRefType()]:
+ if not (string.capitalize(k) in keys):
+ missing.append(k);
+ return missing;
+
+ #############################################################3
+ # get methods
+ #############################################################3
+
+ def getKey(self):
+ return self.key;
+
+ def getField(self, field):
+ #print >> sys.stderr, field
+ #print >> sys.stderr, self.fieldDict[field]
+ field = field.capitalize();
+ if field in self.fieldDict:
+ return self.fieldDict[field]
+ else:
+ return None;
+
+ def getRefType(self):
+ return self.reftype;
+
+ def isRefType(self, rt):
+ return self.getRefType().lower() == rt.lower();
+
+ def getTitle(self):
+ if 'Title' in self.fieldDict:
+ title = self.fieldDict['Title'];
+ title = re.sub(r"""[{}]""", "", title);
+ title = title.strip('.,\'"');
+ return title;
+ else:
+ return "";
+
+ def getURL(self):
+ if 'Url' in self.fieldDict:
+ url = self.fieldDict['Url'];
+ return url;
+ else:
+ return "";
+
+ def getAuthorList(self):
+ if 'Author' in self.fieldDict:
+ return self.fieldDict['Author'];
+ else:
+ return [];
+
+ def getAuthors(self):
+ if 'Author' in self.fieldDict:
+ l = self.fieldDict['Author'];
+ if len(l) == 1:
+ return l[0];
+ elif len(l) == 2:
+ return l[0] + " and " + l[1];
+ elif len(l) > 2:
+ return string.join(l[:-1], ", ") + " and " + l[-1];
+ else:
+ return "";
+
+
+ def surname(self, author):
+ # remove LaTeX accents
+ def chg(mo): return mo.group(mo.lastindex);
+ re_accent = re.compile(r'''\\[.'`^"~=uvHcdb]\{(.)\}|\t\{(..)\}''');
+ author = re_accent.sub(chg, author)
+
+ # "surname, first names"
+ m = re.search(r"""^([^,]*),(.*)""", author);
+ if m:
+ #print >> sys.stderr, m.group(1), m.group(2)
+ #return m.group(1) + "," + m.group(2).lstrip()[0];
+ return [m.group(1), m.group(2).lstrip()[0]];
+ #return m.group(1);
+
+ # "first names surname"
+
+ # take the last component after dot or space
+ #m = re.search(r"""([a-zA-Z][a-zA-Z-]*)$""", author);
+ m = re.search(r"""(.*?)([^\. \t]*)$""", author);
+ if m:
+ #print >> sys.stderr, author, ":", m.group(2), "|", m.group(1)
+ return [m.group(2), m.group(1)[0]];
+ #return m.group(2) + "," + m.group(1)[0];
+
+ return "";
+
+ def getAuthorsSurnameList(self):
+ if 'Author' in self.fieldDict:
+ l = self.fieldDict['Author'];
+ return map(self.surname, l);
+
+ def getAuthorsSurname(self):
+ l = self.getAuthorsSurnameList();
+ try:
+ l = map(lambda x: x[0], l);
+ if len(l) == 1:
+ return l[0];
+ elif len(l) == 2:
+ return l[0] + " and " + l[1];
+ elif len(l) > 2:
+ return string.join(l[:-1], ", ") + " and " + l[-1];
+ else:
+ return "";
+ except:
+ return "<NO AUTHOR>";
+
+ # return initial dot sunrname
+ def getAuthorsNames(self):
+ l = self.getAuthorsSurnameList();
+ l = map(lambda x: x[1] + ". " + x[0], l);
+ if len(l) == 1:
+ return l[0];
+ elif len(l) == 2:
+ return l[0] + " and " + l[1];
+ elif len(l) > 2:
+ return string.join(l[:-1], ", ") + " and " + l[-1];
+ else:
+ return "";
+
+ # return initial dot sunrname
+
+ def getEditorsSurnameList(self):
+ if 'Editor' in self.fieldDict:
+ l = self.fieldDict['Editor'];
+ return map(self.surname, l);
+
+ def getEditorsNames(self):
+ l = self.getEditorsSurnameList();
+ if not l:
+ return None;
+ l = map(lambda x: x[1] + ". " + x[0], l);
+ if len(l) == 1:
+ return l[0];
+ elif len(l) == 2:
+ return l[0] + " and " + l[1];
+ elif len(l) > 2:
+ return string.join(l[:-1], ", ") + " and " + l[-1];
+ else:
+ return "";
+
+ def getBooktitle(self):
+ if 'Booktitle' in self.fieldDict:
+ return self.fieldDict['Booktitle'];
+ else:
+ return "";
+
+ def getVolume(self):
+ if 'Volume' in self.fieldDict:
+ return self.fieldDict['Volume'];
+ else:
+ return -1;
+
+ def getNumber(self):
+ if 'Number' in self.fieldDict:
+ return self.fieldDict['Number'];
+ else:
+ return -1;
+
+ def getPage(self):
+ if 'Pages' in self.fieldDict:
+ return self.fieldDict['Pages'];
+ else:
+ return "";
+
+ def afterDate(self, date):
+ '''True if the entry occurs after the specified date'''
+
+ if not date:
+ return True;
+ elif len(date) == 1:
+ # simple case, year only
+ return self.getYear() >= date[0];
+ elif len(date) == 2:
+ # complex case, [month year]
+ if self.getYear() > date[1]:
+ return True;
+ elif (date[1] == self.getYear()) and (self.getMonth() >= date[0]):
+ return True;
+ else:
+ return False;
+ def beforeDate(self, date):
+ '''True if the entry occurs before the specified date'''
+
+ if not date:
+ return True;
+ elif len(date) == 1:
+ # simple case, year only
+ return self.getYear() < date[0];
+ elif len(date) == 2:
+ # complex case, [month year]
+ if self.getYear() < date[1]:
+ return True;
+ elif (date[1] == self.getYear()) and (self.getMonth() < date[0]):
+ return True;
+ else:
+ return False;
+
+ def getYear(self):
+ if '_year' in self.fieldDict:
+ return self.fieldDict['_year'];
+ else:
+ return -1;
+
+ # return month ordinal in range 1 to 12
+ def getMonth(self):
+ if '_month' in self.fieldDict:
+ return self.fieldDict['_month'];
+ else:
+ return -1;
+
+ monthdict = {
+ 'january' : 1,
+ 'february' : 2,
+ 'march' : 3,
+ 'april' : 4,
+ 'may' : 5,
+ 'june' : 6,
+ 'july' : 7,
+ 'august' : 8,
+ 'september' : 9,
+ 'october' : 10,
+ 'november' : 11,
+ 'december' : 12 };
+
+ def getMonthName(self):
+ monthNames = (
+ 'january',
+ 'february',
+ 'march',
+ 'april',
+ 'may',
+ 'june',
+ 'july',
+ 'august',
+ 'september',
+ 'october',
+ 'november',
+ 'december' );
+ m = self.getMonth();
+ if m > 0:
+ return string.capitalize(monthNames[m-1]);
+ else:
+ return "";
+
+
+
+ #############################################################3
+ # set methods
+ #############################################################3
+
+ def setType(self, value):
+ value = string.lower(value);
+ if not (value in alltypes):
+ raise AttributeError, "bad reference type [%s]" % self.getKey();
+ self.reftype = value;
+ self.fieldDict['Type'] = value;
+
+ def setField(self, key, value):
+ key = key.capitalize();
+ if not (key in allfields):
+ raise AttributeError, "bad field <%s> [%s]" % (key, self.getKey());
+ if key == 'Year':
+ self.fieldDict[key] = value;
+
+ # remove all text like "to appear", just leave the digits
+ year = filter(lambda c : c.isdigit(), value);
+ try:
+ self.fieldDict['_year'] = int(year);
+ except:
+ if value.find('appear') > -1:
+ sys.stderr.write("[%s] no year specified, continuing\n" % self.getKey());
+ self.fieldDict['_year'] = 0;
+ else:
+ self.fieldDict['_year'] = -1;
+ raise AttributeError, "[%s] bad year <%s>" % (self.getKey(), value);
+ elif key == 'Month':
+ # the Month entry has the original string from the file if it is of
+ # nonstandard form, else is None.
+ # the hidden entry _month has the ordinal number
+ self.fieldDict[key] = value;
+ #print >> sys.stderr, "Month = <%s>" % value;
+ month = mogrify(value);
+ for monthname in self.monthdict:
+ # handle month abbreviations, eg. nov in november
+ if monthname.find(month) >= 0:
+ self.fieldDict['_month'] = self.monthdict[monthname];
+ #print >> sys.stderr, "_month 1 %d" % self.monthdict[monthname];
+ self.fieldDict[key] = None;
+
+ return;
+ # handle extraneous like november in 'november 12-13'
+ if month.find(monthname) >= 0:
+ self.fieldDict['_month'] = self.monthdict[monthname];
+ #print >> sys.stderr, "_month 2 %d" % self.monthdict[monthname];
+ return;
+ raise AttributeError, "bad month [%s]" % self.getKey();
+ else:
+ self.fieldDict[key] = value;
+ #print >> sys.stderr, "<%s> := <%s>\n" % (key, value)
+
+
+
+ #############################################################3
+ # matching methods
+ #############################################################3
+
+ def search(self, field, str, caseSens=0):
+ field = string.capitalize(field);
+
+ if field.lower() == 'all':
+ for be in self:
+ for k in self.fieldDict:
+ if k[0] == '_':
+ continue;
+ s = self.fieldDict[k];
+ if isinstance(s, list):
+ s = ' '.join(s);
+ if s:
+ if caseSens == 0:
+ m = re.search(str, s, re.IGNORECASE);
+ else:
+ m = re.search(str, s);
+ if m:
+ return True;
+
+ else:
+ # silently ignore search field if not present
+ if not(field in self.fieldDict):
+ return False;
+ s = self.fieldDict[field];
+ if isinstance(s, list):
+ s = ' '.join(s);
+ if s:
+ if caseSens == 0:
+ m = re.search(str, s, re.IGNORECASE);
+ else:
+ m = re.search(str, s);
+ if m:
+ return True;
+
+ return 0;
+
+
+ def matchAuthorList(self, be):
+
+ def split(a):
+ return re.findall(r"""([a-zA-Z][a-zA-Z-]*[.]?)""", a);
+
+ def matchfrag(s, f):
+ sdot = s[-1:] == '.';
+ fdot = f[-1:] == '.';
+
+ if (sdot == 0) and (fdot == 0):
+ return s == f;
+ elif (sdot == 0) and (fdot == 1):
+ matchstr = f + '*';
+ m = re.match(matchstr, s);
+ if m:
+ return m.group(0) == s;
+ else:
+ return 0;
+ elif (sdot == 1) and (fdot == 0):
+ matchstr = s + '*';
+ m = re.match(matchstr, f);
+ if m:
+ return m.group(0) == f;
+ else:
+ return 0;
+ elif (sdot == 1) and (fdot == 1):
+ return s == f;
+
+ def matchAuthor(a1, a2):
+ l1 = split(a1);
+ l2 = split(a2);
+ count = 0;
+
+ for p1 in l1:
+ for p2 in l2:
+ if matchfrag(p1,p2):
+ count += 1;
+ return count;
+
+ # check if each article has the same number of authors
+ l1 = self.getAuthorList();
+ l2 = be.getAuthorList();
+ if len(l1) != len(l2):
+ return 0;
+
+ # now check the authors match, in order
+ for i in range( len(l1) ):
+ if matchAuthor(l1[i], l2[i]) < 2:
+ return 0;
+ return 1;
+
+ def matchTitle(self, be, dthresh):
+ # Levenstein distance between two strings
+ def distance(a,b):
+ c = {}
+ n = len(a); m = len(b)
+
+ for i in range(0,n+1):
+ c[i,0] = i
+ for j in range(0,m+1):
+ c[0,j] = j
+
+ for i in range(1,n+1):
+ for j in range(1,m+1):
+ x = c[i-1,j]+1
+ y = c[i,j-1]+1
+ if a[i-1] == b[j-1]:
+ z = c[i-1,j-1]
+ else:
+ z = c[i-1,j-1]+1
+ c[i,j] = min(x,y,z)
+ return c[n,m]
+
+ d = distance( mogrify(self.getTitle()), mogrify(be.getTitle()) );
+
+ return d <= dthresh;
+
+ def matchType(self, be):
+ return self.getRefType() == be.getRefType();
+
+ def matchYear(self, be):
+ return fmatch(self.getYear(), be.getYear());
+
+ def matchMonth(self, be):
+ return fmatch(self.getMonth(), be.getMonth());
+
+ def matchVolumeNumber(self, be):
+ if not fmatch(self.getVolume(), be.getVolume()):
+ return 0;
+ if not fmatch(self.getNumber(), be.getNumber()):
+ return 0;
+ return 1;
+
+ def matchPage(self, be):
+
+ p1 = self.getPage();
+ p2 = be.getPage();
+ if p1 and p2:
+ # both not null
+ p1 = re.findall("([0-9.]+)", p1);
+ p2 = re.findall("([0-9.]+)", p2);
+ if (len(p1) > 0) and (len(p2) > 0):
+ # optionally compare starting page numbers
+ if p1[0] != p2[0]:
+ return 0;
+ if (len(p1) > 1) and (len(p2) > 1):
+ # optionally compare ending page numbers
+ if p1[1] != p2[1]:
+ return 0;
+ return 1;
+ else:
+ return 1;
+
+
+ # see if two bibentries match
+ def match(self, be, dthresh=2):
+ # we do the cheapest comparisons first...
+ if not self.matchType(be):
+ return 0;
+ if not self.matchYear(be):
+ return 0;
+ if not self.matchMonth(be):
+ return 0;
+ if self.isRefType("Article"):
+ if not self.matchVolumeNumber(be):
+ return 0;
+ if not self.matchPage(be):
+ return 0;
+ if not self.matchAuthorList(be):
+ return 0;
+ if not self.matchTitle(be, dthresh):
+ return 0;
+ return 1;
+
+# we adopt the convention that a numeric value of -1 means not provided,
+# so here we match two quantites where either or both is not provided. Only
+# return false if both numbers are provided, and they are not equal, otherwise
+# give the benefit of the doubt and return true.
+def fmatch(n1, n2):
+ if (n1 > 0) and (n2 > 0):
+ return n1 == n2;
+ else:
+ return 1;
+
+# remove all punctuation marks and white space that people
+# might get wrong
+def mogrify(s):
+ s = string.lower(s);
+ s = re.sub(r"""[#{}:;,&$ -]""", "", s);
+ return s;
+
+
+allfields = ('_Reftype', 'Address', 'Author', 'Booktitle', 'Chapter', 'Edition',
+ 'Editor', 'Howpublished', 'Institution', 'Journal', 'Month',
+ 'Number', 'Organization', 'Pages', 'Publisher', 'School',
+ 'Series', 'Title', 'Type', 'Volume',
+ 'Year', 'Note', 'Code', 'Url', 'Crossref', 'Annote', 'Abstract', 'Date-added', 'Date-modified', 'Read');
+
+# list of all reference types
+alltypes = ('article', 'book', 'booklet', 'inbook', 'incollection',
+ 'inproceedings', 'manual', 'mastersthesis', 'misc', 'phdthesis',
+ 'proceedings', 'techreport', 'unpublished');
+
+# list of additional fields, ignored by the standard BibTeX styles
+ign = ('crossref', 'code', 'url', 'annote', 'abstract');
+
+# lists of required and optional fields for each reference type
+
+required_fields = {
+ 'article' : ['Author', 'Title', 'Journal', 'Year'],
+ 'book' : ['Author', 'Title', 'Publisher', 'Year'],
+ 'booklet' : ['Title'],
+ 'inbook' : ['Author', 'Title', 'Chapter', 'Pages',
+ 'Publisher', 'Year'],
+ 'incollection' : ['Author', 'Title', 'Booktitle', 'Publisher', 'Year'],
+ 'inproceedings' : ['Author', 'Title', 'Booktitle', 'Year'],
+ 'manual' : ['Title'],
+ 'misc' : [],
+ 'mastersthesis' : ['Author', 'Title', 'School', 'Year'],
+ 'phdthesis' : ['Author', 'Title', 'School', 'Year'],
+ 'proceedings' : ['Title', 'Year'],
+ 'techreport' : ['Author', 'Title', 'Institution', 'Year'],
+ 'unpublished' : ['Author', 'Title', 'Note']
+};
+
+opt_fields = {
+ 'article' : ['Volume', 'Number', 'Pages', 'Month', 'Note'],
+ 'book' : ['Editor', 'Volume', 'Number', 'Series', 'Address',
+ 'Edition', 'Month', 'Note'],
+ 'booklet' : ['Author', 'Howpublished', 'Address', 'Month', 'Year',
+ 'Note'],
+ 'inbook' : ['Editor', 'Volume', 'Series', 'Address', 'Edition',
+ 'Month', 'Note'],
+ 'incollection' : ['Editor', 'Volume', 'Number', 'Series', 'Type',
+ 'Chapter' 'Pages', 'Address', 'Edition',
+ 'Month', 'Note'],
+ 'inproceedings' : ['Editor', 'Pages', 'Organization', 'Publisher',
+ 'Address', 'Month', 'Note'],
+ 'manual' : ['Author', 'Organization', 'Address', 'Edition',
+ 'Month', 'Year', 'Note'],
+ 'misc' : ['Title', 'Author', 'Howpublished', 'Month', 'Year',
+ 'Note'],
+ 'mastersthesis' : ['Address', 'Month', 'Note'],
+ 'phdthesis' : ['Address', 'Month', 'Note'],
+ 'proceedings' : ['Editor', 'Publisher', 'Organization', 'Address',
+ 'Month', 'Note'],
+ 'techreport' : ['Type', 'Number', 'Address', 'Month', 'Note'],
+ 'unpublished' : ['Month', 'Year']
+};
diff --git a/biblio/bibtex/utils/pybib/BibTeX.py b/biblio/bibtex/utils/pybib/BibTeX.py
new file mode 100644
index 0000000000..5166f3d937
--- /dev/null
+++ b/biblio/bibtex/utils/pybib/BibTeX.py
@@ -0,0 +1,456 @@
+# Defines two classes:
+#
+# BibTexEntry, subclass of BibEntry, and provides all BibTeX specific methods such as
+# writing an entry to file
+#
+# BibTex, a subclass of Bibliography, and provides all BibTeX specific methods, in
+# particular a parser.
+
+# Copyright (c) 2007, Peter Corke
+#
+# All rights reserved.
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+# * The name of the copyright holder may not be used to endorse or
+# promote products derived from this software without specific prior
+# written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE
+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+# THE POSSIBILITY OF SUCH DAMAGE.
+
+import Bibliography;
+import BibEntry;
+import string;
+import re;
+import sys;
+import urllib;
+
+class BibTeXEntry(BibEntry.BibEntry):
+
+ # write a BibTex format entry
+ def write(self, file=sys.stdout, stringdict=None):
+ file.write( "@%s{%s,\n" % (self.getRefType(), self.getKey()) );
+ count = 0
+ for rk in self.fieldDict:
+ count += 1;
+ # skip internally used fields
+ if rk[0] == '_':
+ continue;
+ if rk == 'Type':
+ continue;
+
+ # generate the entry
+ value = self.fieldDict[rk];
+ file.write(" %s = " % rk );
+
+ if rk in ['Author', 'Editor']:
+ file.write("{%s}" % " and ".join(value) );
+ elif rk == 'Month':
+ if value:
+ file.write("{%s}" % value );
+ else:
+ value = self.getMonthName();
+ file.write("%s" % value[0:3].lower() );
+ else:
+ # is it an abbrev?
+ if value in self.bibliography.abbrevDict:
+ file.write("%s" % value );
+ else:
+ file.write("{%s}" % value );
+
+ # add comma to all but last fields
+ if count < len(self.fieldDict):
+ file.write(",\n");
+ else:
+ file.write("\n");
+ file.write("}\n\n");
+
+
+ def setField(self, field, value):
+ def strStrip(s):
+ s = string.strip(s, ' ');
+ if (s[0] == '"') and (s[-1] == '"'):
+ return s[1:-1];
+ if (s[0] == '{') and (s[-1] == '}'):
+ return s[1:-1];
+ return s;
+
+
+ # deal specially with author list, convert from bibtex X and Y to
+ # a list for bibentry class
+ if field.lower() in ["author", "editor"]:
+ value = string.split(value, " and ");
+ value = map(strStrip, value);
+ try:
+ # invoke the superclass
+ BibEntry.BibEntry.setField(self, field, value);
+ except AttributeError, err:
+ sys.stderr.write( "%15s: bad value <%s=%s>" % (self.getKey(), field, value));
+
+class BibTeX(Bibliography.Bibliography):
+
+ stringDict = {};
+
+ def parseFile(self, fileName=None, verbose=0, ignore=False):
+ if fileName == None:
+ fp = sys.stdin;
+ else:
+ fp = self.open(fileName);
+
+ # get the file into one huge string
+ nbib = 0;
+ s = fp.read();
+ try:
+ nbib = self.parseString(s, ignore=ignore, verbose=verbose);
+ except AttributeError, err:
+ print >> sys.stderr, "Error %s" % err;
+
+ self.close(fp);
+ return nbib;
+
+ def display(self):
+ for be in self:
+ be.display()
+
+ def write(self, file=sys.stdout, resolve=0):
+ if resolve:
+ dict = self.stringDict;
+ else:
+ dict = None;
+
+ for be in self:
+ be.write(file, dict)
+
+ def writeStrings(self, file=sys.stdout):
+ for abbrev, value in self.abbrevDict.items():
+ file.write("@string{ %s = {%s} }\n" % (abbrev, value) );
+
+ # resolve BibTeX's cross reference capability
+ def resolveCrossRef(self):
+ for be in self:
+ try:
+ xfref = self.getField('crossref');
+ except:
+ return;
+
+ for f in xref:
+ if not (f in be):
+ be.setField(f, xref.getField(f));
+
+ def parseString(self, s, verbose=0, ignore=False):
+
+ # lexical analyzer for bibtex format files
+ class BibLexer:
+
+ inString = ""; # the string to parse
+ lineNum = 1;
+ pos = 0;
+
+ def __init__(self, s):
+ self.inString = s;
+
+ # an iterator for the class, return next character
+ def next(self):
+ if self.pos >= len(self.inString):
+ raise StopIteration;
+ c = self.inString[self.pos];
+ if c == '\n':
+ self.lineNum += 1;
+ self.pos += 1;
+ return c;
+
+ def __iter__(self):
+ return self;
+
+ # peek at the next character
+ def peek(self):
+ return self.inString[self.pos];
+
+ # push a character back onto the input
+ def pushback(self, c):
+ self.pos -= 1;
+ if c == '\n':
+ self.lineNum -= 1;
+
+ # eat whitepsace characters and comments
+ def skipwhite(self):
+
+ for c in self:
+ if c == '%':
+ for c in self:
+ if c == '\n':
+ break;
+ elif (not c.isspace()):
+ self.pushback(c);
+ break;
+
+ # print >> sys.stderr, the input buffer
+ def show(self):
+ print >> sys.stderr, "[%c]%s" % (self.inString[0], self.inString[1:10]);
+
+ # get the next word from the input stream, this can be
+ # [alpha][alnum$_-]
+ # "...."
+ # {....}
+ def nextword(self):
+
+ str = "";
+ c = self.peek();
+
+ if c == '"':
+ # quote delimited string
+ str = self.next();
+ cp = None; # prev char
+ for c in self:
+ str += c;
+ if (c == '"') and (cp != '\\'):
+ break;
+ cp = c;
+ elif c == '{':
+ # brace delimited string
+ count = 0;
+ for c in self:
+ if c == '{':
+ count += 1;
+ if c == '}':
+ count -= 1;
+
+ str += c;
+ if count == 0:
+ break;
+ else:
+ # undelimited string
+ #if (not c.isalpha()):
+ # print >> sys.stderr, "BAD STRING"
+ for c in self:
+ if c.isalnum():
+ str += c;
+ elif c in ".+-_$:'":
+ str += c;
+ else:
+ self.pushback(c);
+ break;
+ return str;
+
+
+ class Token:
+ t_ENTRY = 1;
+ t_DELIM_L = 2;
+ t_DELIM_R = 3;
+ t_STRING = 5;
+ t_EQUAL = 6;
+ t_COMMA = 7;
+
+ val = None;
+ type = None;
+
+ def __repr__(self):
+ if self.type == self.t_ENTRY:
+ str = "@ %s" % self.val;
+ elif self.type == self.t_DELIM_R:
+ str = " }";
+ elif self.type == self.t_STRING:
+ str = "<%s>" % self.val;
+ elif self.type == self.t_EQUAL:
+ str = " EQUAL";
+ elif self.type == self.t_COMMA:
+ str = " COMMA";
+ else:
+ str = "BAD TOKEN (%d) <%s>" % (self.type, self.val);
+ return str;
+
+ def isstring(self):
+ return self.type == self.t_STRING;
+
+ def isabbrev(self):
+ return (self.type == self.t_STRING) and self.val.isalnum();
+
+ def iscomma(self):
+ return self.type == self.t_COMMA;
+
+ def isequal(self):
+ return self.type == self.t_EQUAL;
+
+ def isentry(self):
+ return self.type == self.t_ENTRY;
+
+ def isdelimR(self):
+ return self.type == self.t_DELIM_R;
+
+ def isdelimL(self):
+ return self.type == self.t_DELIM_L;
+
+ #
+ # tokenizer for bibtex format files
+ #
+ class BibTokenizer:
+
+ lex = None;
+
+ def __init__(self, s):
+ self.lex = BibLexer(s);
+
+ # setup an iterator for the next token
+ def __iter__(self):
+ return self;
+
+ # return next token
+ def next(self):
+ #self.lex.show();
+ self.lex.skipwhite();
+ c = self.lex.next();
+
+ t = Token();
+ if c == '@':
+ t.type = t.t_ENTRY;
+ self.lex.skipwhite();
+ t.val = self.lex.nextword();
+ self.lex.skipwhite();
+ c = self.lex.next();
+ if not ((c == '{') or (c == '(')):
+ print >> sys.stderr, "BAD START OF ENTRY"
+
+ elif c == ',':
+ t.type = t.t_COMMA;
+ elif c == '=':
+ t.type = t.t_EQUAL;
+ elif (c == '}') or (c == ')'):
+ t.type = t.t_DELIM_R;
+ else:
+ self.lex.pushback(c);
+ t.type = t.t_STRING;
+ t.val = self.lex.nextword();
+
+ return t;
+
+
+ class BibParser:
+
+ tok = None;
+ bibtex = None;
+
+ def __init__(self, s, bt):
+ self.tok = BibTokenizer(s);
+ self.bibtex = bt;
+
+ # setup an iterator for the next entry
+ def __iter__(self):
+ return self;
+
+ # return next entry
+ def next(self):
+
+ def strstrip(s):
+ if s[0] in '"{':
+ return s[1:-1];
+ else:
+ return s;
+
+ t = self.tok.next();
+ if not t.isentry():
+ raise SyntaxError, self.tok.lex.lineNum;
+ if t.val.lower() == 'string':
+ tn = self.tok.next();
+ if not tn.isstring():
+ raise SyntaxError, self.tok.lex.lineNum;
+ t = self.tok.next();
+ if not t.isequal():
+ raise SyntaxError, self.tok.lex.lineNum;
+ tv = self.tok.next();
+ if not tv.isstring():
+ raise SyntaxError, self.tok.lex.lineNum;
+ # insert string into the string table
+ self.bibtex.insertAbbrev(tn.val, strstrip(tv.val));
+ #print >> sys.stderr, "string", tn.val, tv.val
+ t = self.tok.next();
+ if not t.isdelimR():
+ raise SyntaxError, self.tok.lex.lineNum;
+ elif t.val.lower() == 'comment':
+ depth = 0;
+ while True:
+ tn = self.tok.next();
+ if t.isdelimL():
+ depth += 1;
+ if t.isdelimR():
+ depth -= 1;
+ if depth == 0:
+ break;
+ else:
+ # NOT A STRING or COMMENT ENTRY
+ # assume a normal reference type
+
+ # get the cite key
+ ck = self.tok.next();
+ if not ck.isstring():
+ raise SyntaxError, self.tok.lex.lineNum;
+
+ #print >> sys.stderr, t.val, ck.val
+ be = BibTeXEntry(ck.val, self.bibtex);
+ be.setType(t.val);
+
+ # get the comma
+ ck = self.tok.next();
+ if not ck.iscomma():
+ raise SyntaxError, self.tok.lex.lineNum;
+
+ # get the field value pairs
+ for tf in self.tok:
+ # allow for poor syntax with comma before
+ # end brace
+ if tf.isdelimR():
+ break;
+
+ if not tf.isstring():
+ raise SyntaxError, self.tok.lex.lineNum;
+ t = self.tok.next();
+ if not t.isequal():
+ raise SyntaxError, self.tok.lex.lineNum;
+ ts = self.tok.next();
+ if not ts.isstring():
+ raise SyntaxError, self.tok.lex.lineNum;
+ #print >> sys.stderr, " ", tf.val, " := ", ts.val;
+ be.setField(tf.val, strstrip(ts.val));
+
+ # if it was an abbrev in the file, put it in the
+ # abbrevDict so it gets written as an abbrev
+ if ts.isabbrev():
+ self.bibtex.insertAbbrev(ts.val, None);
+ #print >> sys.stderr, "putting unresolved abbrev %s into dict" % ts.val;
+
+ t = self.tok.next();
+ if t.iscomma():
+ continue;
+ elif t.isdelimR():
+ break;
+ else:
+ raise SyntaxError, self.tok.lex.lineNum;
+
+
+ self.bibtex.insertEntry(be, ignore);
+ return;
+
+ bibparser = BibParser(s, self);
+ bibcount = 0;
+ try:
+ for be in bibparser:
+ bibcount += 1;
+ pass;
+ except SyntaxError, err:
+ print "Syntax error at line " + str(err);
+
+ return bibcount;
diff --git a/biblio/bibtex/utils/pybib/Bibliography.py b/biblio/bibtex/utils/pybib/Bibliography.py
new file mode 100644
index 0000000000..e61b66c09e
--- /dev/null
+++ b/biblio/bibtex/utils/pybib/Bibliography.py
@@ -0,0 +1,167 @@
+# Bibliography class
+# - essentially a container for many BibEntry objects
+# - provides methods for reading/writing the bibliography
+# - provides iterators, sorting etc
+
+
+# Copyright (c) 2007, Peter Corke
+#
+# All rights reserved.
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+# * The name of the copyright holder may not be used to endorse or
+# promote products derived from this software without specific prior
+# written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE
+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+# THE POSSIBILITY OF SUCH DAMAGE.
+import string;
+import BibEntry;
+import urllib;
+import urlparse;
+import os;
+import os.path;
+import sys;
+
+NoSuchFile = "No such file";
+
+class Bibliography:
+
+ def __init__(self):
+ self.keyList = [];
+ self.abbrevDict = {}
+
+ def open(self, filename):
+ if filename == '-':
+ self.filename = "stdin";
+ return sys.stdin;
+ urlbits = urlparse.urlparse('~/lib/bib/z.bib');
+ if urlbits[0]:
+ # path is a URL
+ fp = urllib.urlopen(filename);
+ self.filename = filename;
+ else:
+ # path is a local file
+ path = os.environ['BIBPATH'];
+ for p in string.split(path, os.pathsep):
+ f = os.path.join(p, filename);
+ if os.path.isfile(f):
+ break;
+ else:
+ raise NoSuchFile;
+
+ fp = open(f, "r");
+ home = os.path.expanduser('~');
+ f2 = os.path.abspath(f);
+ common = os.path.commonprefix([home, f2]);
+ if common:
+ self.filename = "~" + f2[len(common):]
+ else:
+ self.filename = f;
+
+ return fp;
+
+ def close(self, fp):
+ fp.close();
+
+ # resolve all abbreviations found in the value fields of all entries
+ def resolveAbbrev(self):
+ #print >> sys.stderr, len(self.abbrevDict);
+ for be in self:
+ for f in be:
+ v = be.getField(f);
+ if isinstance(v,str):
+ if v in self.abbrevDict:
+ if self.abbrevDict[v]:
+ be.setField(f, self.abbrevDict[v]);
+
+ def insertEntry(self, be, ignore=False):
+ #print >> sys.stderr, "inserting key ", be.getKey()
+ # should check to see if be is of BibEntry type
+ key = be.getKey();
+ if key in [x.key for x in self.keyList]:
+ if not ignore:
+ print >> sys.stderr, "key %s already in dictionary" % (key)
+ return False;
+ self.keyList.append(be);
+ return True;
+
+ def insertAbbrev(self, abbrev, value):
+ #print >> sys.stderr, "inserting abbrev ", abbrev
+ if abbrev in self.abbrevDict:
+ #print >> sys.stderr, "abbrev %s already in list" % (abbrev)
+ return False;
+ self.abbrevDict[abbrev] = value;
+ #be.brief();
+ return True;
+
+ def __repr__(self):
+ print >> sys.stderr
+
+ def brief(self):
+ for be in self:
+ be.brief();
+
+ def getFilename(self):
+ return self.filename;
+
+ def getAbbrevs(self):
+ return self.abbrevDict;
+
+
+ def display(self):
+ for be in self:
+ be.display();
+ print >> sys.stderr
+
+ def __contains__(self, key):
+ return key in [x.key for x in self.keyList];
+
+ def __getitem__(self, i):
+ if type(i) is str:
+ index = [x.key for x in self.keyList].index(i);
+ return self.keyList[index];
+ elif type(i) is int:
+ return self.keyList[i];
+ else:
+ raise;
+
+ def __len__(self):
+ return len(self.keyList);
+
+
+ def sort(self, sortfunc):
+ # turn the dictionary of entries into a list so we can sort it
+ self.keyList.sort(sortfunc);
+
+
+ # return list of all bibentry's that match the search spec
+ def search(self, key, str, type="all", caseSens=0):
+ if str == '*':
+ return self.keyList;
+
+ result = [];
+ if string.lower(type) == "all":
+ for be in self:
+ if be.search(key, str, caseSens):
+ result.append(be);
+ else:
+ for be in self:
+ if be.isRefType(type) and be.search(key, str, caseSens):
+ result.append(be);
+ return result;
diff --git a/biblio/bibtex/utils/pybib/README b/biblio/bibtex/utils/pybib/README
new file mode 100644
index 0000000000..79bd8ee040
--- /dev/null
+++ b/biblio/bibtex/utils/pybib/README
@@ -0,0 +1,19 @@
+BibEntry.py a general class for a bibliographic entry
+Bibliography.py a general container class for bibliographic entries
+BibTeX.py a BibTeX specific superclass for BibEntry and Bibliography
+
+bib2html convert a bibfile to HTML
+bibcat concatenate bibfiles, parse and regenerate
+bibdvi convert a bibfile to dvi
+bibfilter find specific records by field, date, etc
+bibgoogle find references on Google scholar
+bibkey lookup by citekey
+biblint report missing fields in input files
+biblist list bibliography in non-BibTeX format
+bibmerge merge bibliographies and attempt to remove duplicate entries
+bibsort sort by date
+bibsummary summary of number of entries by type
+bibnames display author names and number of occurences
+
+
+peter corke 2007.
diff --git a/biblio/bibtex/utils/pybib/bib2html b/biblio/bibtex/utils/pybib/bib2html
new file mode 100644
index 0000000000..36c12c1b4e
--- /dev/null
+++ b/biblio/bibtex/utils/pybib/bib2html
@@ -0,0 +1,146 @@
+#! /usr/bin/env python
+#
+# Convert bib file to HTML
+#
+# TODO
+# take out tex fragments, backslash, braces etc
+# convert tex accents to HTML accents
+# do string substitution using templates
+# better handling of different reference types
+# probably needs more rigour in the HTML code
+# use CSS
+
+
+# Copyright (c) 2007, Peter Corke
+#
+# All rights reserved.
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+# * The name of the copyright holder may not be used to endorse or
+# promote products derived from this software without specific prior
+# written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE
+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+# THE POSSIBILITY OF SUCH DAMAGE.
+
+import Bibliography;
+import BibEntry;
+import BibTeX;
+import string;
+import sys;
+import time;
+import optparse;
+
+
+str = "";
+
+def append(s):
+ global str;
+
+ str += s;
+
+def append_nl(s):
+ global str;
+
+ str += s + '\n';
+
+class HBibEntry(BibEntry.BibEntry):
+
+ def __init__(self, be):
+ self.fieldDict = be.fieldDict;
+
+ def display(self):
+ append( "<p>" );
+ # put title
+ if self.getURL():
+ append( '<a href="%s"><i>"%s"</i></a>, ' % (self.getURL(), self.getTitle()) );
+ else:
+ append( '<i>"%s"</i>, ' % self.getTitle() );
+
+ # put authors
+ append( self.getAuthors() + '. ' );
+ month = self.getMonthName();
+ year = self.getYear();
+
+ # put more fields
+ for k in ['Journal', 'Volume', 'Number', 'Booktitle',
+ 'Address', 'Institution']:
+
+ if k in self.fieldDict:
+ append( self.fieldDict[k].strip('"') + ', ' );
+ eds = self.getEditorsNames();
+ if eds:
+ append("eds. " + eds + ', ');
+ if month:
+ append( month );
+ if year > 0:
+ append( " " + `year` );
+ else:
+ if year > 0:
+ append( ", " + `year` );
+ append( " (%s)" % be.getKey() );
+ append_nl( "</p>" );
+
+
+
+## parse switches
+p = optparse.OptionParser()
+p.add_option('--highlight', dest='highlight', action='store', type='str',
+ help='highlight the specified word in the output');
+#p.add_option('--resolve', dest='resolve', action='store_true',
+# help='resolve cross reference entries');
+p.set_defaults(highlight=None);
+(opts, args) = p.parse_args()
+globals().update(opts.__dict__)
+
+if len(args) == 0 and sys.stdin.isatty():
+ p.print_help();
+ sys.exit(0);
+
+## read the input files
+bib = BibTeX.BibTeX();
+if args:
+ for f in args:
+ bib.parseFile(f);
+else:
+ bib.parseFile();
+
+bib.resolveAbbrev();
+
+## generate HTML
+append_nl( "<html>" );
+append_nl( "<head>" );
+append_nl( " <title>Bibliography %s</title>" % ( args[0] if args else '(stdin)',) );
+append_nl( """ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">""" );
+append_nl( "</head>" );
+append_nl( "<body>" );
+
+for be in bib:
+ hb = HBibEntry(be);
+ hb.display();
+
+if highlight:
+ str = string.replace(str, highlight, """<font color="ff0000">%s</font>""" % highlight);
+
+append_nl( "<hr>" );
+append_nl( "<p>Generated by bib2html at %s. bib2html by Peter Corke</p>" % time.asctime() );
+append_nl( "</body>" );
+append_nl( "</html>" );
+
+print str;
+
diff --git a/biblio/bibtex/utils/pybib/bibcat b/biblio/bibtex/utils/pybib/bibcat
new file mode 100644
index 0000000000..7c261c5c25
--- /dev/null
+++ b/biblio/bibtex/utils/pybib/bibcat
@@ -0,0 +1,86 @@
+#! /usr/bin/env python
+#
+# Concatenate bib file(s) to stdout. Each file is parsed then the BibTeX
+# records are regenerated.
+#
+
+# Copyright (c) 2007, Peter Corke
+#
+# All rights reserved.
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+# * The name of the copyright holder may not be used to endorse or
+# promote products derived from this software without specific prior
+# written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE
+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+# THE POSSIBILITY OF SUCH DAMAGE.
+
+import Bibliography;
+import BibEntry;
+import BibTeX;
+import string;
+import sys;
+import optparse;
+
+resolve = False;
+
+
+## parse switches
+usage = '''usage: %prog [options] [bibfiles]
+
+:: Concatenate bib file(s) to stdout.
+:: Each file is parsed then the BibTeX records are regenerated'''
+p = optparse.OptionParser(usage)
+p.add_option('--ignore', dest='ignore', action='store_true',
+ help='ignore duplicate items');
+p.add_option('--nostrings', dest='dumpStrings', action='store_false',
+ help='dump string definitions');
+p.add_option('-v', '--verbose', dest='verbose', action='store_true',
+ help='print some extra information');
+p.add_option('--resolve', dest='resolve', action='store_true',
+ help='resolve cross reference entries');
+p.set_defaults(ignore=False, dumpStrings=True, verbose=False, resolve=False);
+(opts, args) = p.parse_args()
+globals().update(opts.__dict__)
+
+if len(args) == 0 and sys.stdin.isatty():
+ p.print_help();
+ sys.exit(0);
+
+## read the input files
+bib = BibTeX.BibTeX();
+if args:
+ for f in args:
+ nbib = bib.parseFile(f, ignore=ignore);
+ if verbose:
+ sys.stderr.write( "%d entries read from %s\n" % (len(bib), f) );
+else:
+ nbib = bib.parseFile();
+ if verbose:
+ sys.stderr.write( "%d entries read from stdin\n" % (len(bib),) );
+
+if resolve:
+ bib.resolveAbbrev();
+
+if verbose:
+ sys.stderr.write( "%d abbreviations to write\n" % len(outbib.getAbbrevs()) );
+ sys.stderr.write( "%d entries to write\n" % len(outbib) );
+if dumpStrings:
+ bib.writeStrings();
+bib.write(resolve=resolve);
diff --git a/biblio/bibtex/utils/pybib/bibdvi b/biblio/bibtex/utils/pybib/bibdvi
new file mode 100644
index 0000000000..3d49c58f78
--- /dev/null
+++ b/biblio/bibtex/utils/pybib/bibdvi
@@ -0,0 +1,110 @@
+#! /usr/bin/env python
+#
+# Convert bib file(s) to dvi
+#
+# TODO
+# handle resolve switch if command line files are given
+
+
+# Copyright (c) 2007, Peter Corke
+#
+# All rights reserved.
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+# * The name of the copyright holder may not be used to endorse or
+# promote products derived from this software without specific prior
+# written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE
+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+# THE POSSIBILITY OF SUCH DAMAGE.
+
+import Bibliography;
+import BibEntry;
+import BibTeX;
+import string;
+import sys;
+import os;
+import optparse;
+
+## parse switches
+usage = '''usage: %prog [options] [bibfiles]
+
+:: Convert bib file(s) to dvi'''
+p = optparse.OptionParser(usage)
+p.add_option('--xdvi', dest='xdvi', action='store_true',
+ help='launch xdvi when done');
+p.add_option('--bibstyle', dest='bibstyle', action='store', type='str',
+ help='specify a bibliography style file');
+p.set_defaults(xdvi=False, bibstyle='ieeetr', resolve=False);
+(opts, args) = p.parse_args()
+globals().update(opts.__dict__)
+
+if len(args) == 0 and sys.stdin.isatty():
+ p.print_help();
+ sys.exit(0);
+
+## read the input files
+bib = BibTeX.BibTeX();
+if args:
+ for f in args:
+ bib.parseFile(f);
+else:
+ bib.parseFile();
+
+if args:
+ # a list of files is given, temp file is the same root name as the first argument
+ texfile = args[0]
+ texfile = texfile[0:string.rindex(texfile, '.bib')];
+ bibfiles = ','.join( [os.path.splitext(x)[0] for x in args] );
+else:
+ # input from stdin, use stdin as the root filename
+ texfile = 'stdin';
+ fp = open(texfile+'.bib', 'w');
+ bib.write(file=fp,resolve=resolve);
+ fp.close();
+ bibfiles = 'stdin';
+
+print "Saving to", texfile
+
+
+## create the latex source file
+tex = open("%s.tex" % texfile, "w");
+
+tex.write(
+r"""\documentclass{article}
+\begin{document}
+""");
+
+# write the cite keys
+for be in bib:
+ tex.write("\\nocite{%s}\n" % be.getKey());
+
+# add the bibliog commands
+tex.write(
+r"""\bibliographystyle{%s}
+\bibliography{strings,%s}
+\end{document}
+""" % (bibstyle, bibfiles) );
+tex.close();
+
+os.system("pslatex %s" % texfile);
+os.system("bibtex %s" % texfile);
+os.system("pslatex %s" % texfile);
+
+if xdvi and os.getenv('DISPLAY'):
+ os.system("xdvi %s" % texfile);
diff --git a/biblio/bibtex/utils/pybib/bibfilter b/biblio/bibtex/utils/pybib/bibfilter
new file mode 100644
index 0000000000..6f515047e8
--- /dev/null
+++ b/biblio/bibtex/utils/pybib/bibfilter
@@ -0,0 +1,110 @@
+#! /usr/bin/env python
+#
+# Filter bib records that match search criteria
+#
+# todo:
+# handle tex accent characters, utf-16 etc
+
+# Copyright (c) 2007, Peter Corke
+#
+# All rights reserved.
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+# * The name of the copyright holder may not be used to endorse or
+# promote products derived from this software without specific prior
+# written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE
+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+# THE POSSIBILITY OF SUCH DAMAGE.
+
+import Bibliography;
+import BibEntry;
+import BibTeX;
+import string;
+import sys;
+import optparse;
+
+startDate = None;
+endDate = None;
+
+## parse switches
+usage = '''usage: %prog [options] [bibfiles]
+
+:: Filter bib records that match search criteria
+:: Multiple rules can be applied at the same time '''
+p = optparse.OptionParser(usage)
+p.add_option('--since', dest='since', action='store', type='str',
+ help='start date for selection, format YYYY or MM/YYYY');
+p.add_option('--before', dest='before', action='store', type='str',
+ help='end date for selection, format YYYY or MM/YYYY');
+p.add_option('-i', '--case', dest='caseSens', action='store_true',
+ help='make search case sensitive');
+p.add_option('--type', dest='type', action='store', type='str',
+ help='reference type to search (default all)');
+p.add_option('--field', dest='field', nargs=2, action='store', type='str',
+ help='field to search (default all) and the value which matches any substring in the specified field');
+p.add_option('--hasfield', dest='hasfield', action='store', type='str',
+ help='true if specified field is present');
+p.add_option('--brief', dest='showBrief', action='store_true',
+ help='show the matching records in brief format (default is BibTeX)');
+p.add_option('--count', dest='showCount', action='store_true',
+ help='show just the number of matching records');
+p.set_defaults(since=None, before=None, caseSens=False, type='all', hasfield=None, field=['all', '*'], showBrief=False, showCount=False);
+(opts, args) = p.parse_args()
+globals().update(opts.__dict__)
+
+if len(args) == 0 and sys.stdin.isatty():
+ p.print_help();
+ sys.exit(0);
+
+if since:
+ startDate = map(int, since.split('/'));
+if before:
+ endDate = map(int, before.split('/'));
+
+
+## read the input files
+bib = BibTeX.BibTeX();
+if args:
+ for f in args:
+ bib.parseFile(f);
+else:
+ bib.parseFile();
+
+#print >> sys.stderr, "looking for <%s> in field <%s>, reftype <%s>" % (field[1], field[0], type)
+
+# search the bibliography for all matches to the field query
+l = bib.search(field[0], field[1], type, caseSens);
+count = 0;
+for be in l:
+ # check if it has the required field
+ if hasfield:
+ if not be.getField(hasfield):
+ continue;
+
+ # check the date range
+ if be.afterDate(startDate) and be.beforeDate(endDate):
+ count += 1;
+ if not showCount:
+ if showBrief:
+ print be;
+ else:
+ be.write();
+
+if showCount:
+ print count;
diff --git a/biblio/bibtex/utils/pybib/bibgoogle b/biblio/bibtex/utils/pybib/bibgoogle
new file mode 100644
index 0000000000..bc829d308c
--- /dev/null
+++ b/biblio/bibtex/utils/pybib/bibgoogle
@@ -0,0 +1,264 @@
+#!/usr/bin/env python
+#
+# Lookup references on Google Scholar and add a URL which points to a copy of the paper.
+#
+# Nice to complete the bibliography, and if you want to convert the bibliography to HTML
+# (with bib2html).
+#
+
+
+# Copyright (c) 2007, Peter Corke
+#
+# All rights reserved.
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+# * The name of the copyright holder may not be used to endorse or
+# promote products derived from this software without specific prior
+# written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE
+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+# THE POSSIBILITY OF SUCH DAMAGE.
+
+import Bibliography;
+import BibEntry;
+import BibTeX;
+import string;
+import sys;
+import re;
+import urllib
+import urlparse
+import htmllib
+import formatter
+import time;
+import optparse;
+
+# preferred sources of documents
+prefList = ['ieeexplore.ieee.org', 'portal.acm.org', 'doi.ieeecomputersociety.org'];
+
+class Parser(htmllib.HTMLParser):
+ # build a list of tuples (anchor text, URL)
+
+ def __init__(self, verbose=0):
+ self.anchors = [];
+ f = formatter.NullFormatter()
+ htmllib.HTMLParser.__init__(self, f, verbose)
+
+ def anchor_bgn(self, href, name, type):
+ self.save_bgn()
+ self.href = href
+ self.name = name
+ self.type = type
+
+ def anchor_end(self):
+ text = string.strip(self.save_end())
+ if self.href and text:
+ #self.anchors[text] = self.anchors.get(text, []) + [self.anchor]
+ #self.anchors[text] = self.anchor
+ self.anchors.append( (text, self.href) );
+
+# trick Google into thinking I'm using Safari
+browserName = "Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/312.1 (KHTML, like Gecko) Safari/312";
+
+class AppURLopener(urllib.FancyURLopener):
+ version = browserName;
+
+urllib._urlopener = AppURLopener()
+
+## lookup the BibEntry on Google scholar
+def scholar_lookup(be):
+
+ # Levenstein distance between two strings
+ def distance(a,b):
+ c = {}
+ n = len(a); m = len(b)
+
+ for i in range(0,n+1):
+ c[i,0] = i
+ for j in range(0,m+1):
+ c[0,j] = j
+
+ for i in range(1,n+1):
+ for j in range(1,m+1):
+ x = c[i-1,j]+1
+ y = c[i,j-1]+1
+ if a[i-1] == b[j-1]:
+ z = c[i-1,j-1]
+ else:
+ z = c[i-1,j-1]+1
+ c[i,j] = min(x,y,z)
+ return c[n,m]
+
+ # build the search string from words in the title and authors surnames
+ # - remove short words and accents, punctuation characters
+ title = be.getTitle().split();
+ newtitle = [];
+ for word in title:
+ if len(word) >= 4:
+ newtitle.append(word);
+ title = string.join(newtitle, ' ');
+ title = re.sub(r"""[#{}:;,&$-]""", " ", title);
+
+ search = title.split();
+
+ # add the year
+ year = be.getYear();
+ if year > 0:
+ #search.append(repr(year));
+ pass
+
+ # add author surnames
+ search.extend( [x[0] for x in be.getAuthorsSurnameList()]);
+
+ # remove accents and apostrophes, quotes
+ search2 = [];
+ for w in search:
+ w = re.sub(r"""\.|['"]""", "", w);
+ search2.append(w);
+ search = search2;
+ #print string.join(search,' ');
+
+ s = "http://www.scholar.google.com/scholar?q=%s&ie=UTF-8&oe=UTF-8&hl=en&btnG=Search" % ( string.join(search, '+') );
+
+ # send the query to Scholar
+ file = urllib.urlopen(s);
+ html = file.read()
+ file.close()
+
+ # parse the result
+ p = Parser()
+ p.feed(html)
+ p.close()
+
+
+ candidates = [];
+
+ title = be.getTitle().lower();
+ # for each returned result, look for the best one
+ #print p.anchors
+ for text, url in p.anchors:
+ #print text, "|", url
+
+ # find the distance between our known title and the title of the article
+ d = distance(text.lower(), title);
+ #print d, k
+ if d < 5:
+ # consider this a good enough match
+ i = url.find("http");
+ candidates.append( url[i:] );
+
+ # look for a URL of the form http:....pdf
+ i = url.find("pdf");
+ if i == 0:
+ i = url.find("http");
+ #print " ** PDF ", url[i:]
+ candidates.append( url[i:] );
+
+ # now we have a list of candidate URLs
+
+ #print candidates
+
+ # look for a source in our preference list
+ for url in candidates:
+ org = urlparse.urlsplit(url)[1];
+ if org in prefList:
+ return url;
+
+ # failing that go for one with a PDF in it
+ for url in candidates:
+ if url.find("pdf") > -1:
+ return url;
+
+ # failing that take the first one
+ if candidates:
+ return candidates[0];
+
+ return None;
+
+
+## main
+
+## parse switches
+usage = '''usage: %prog [options] [bibfiles]
+
+:: Lookup each reference on Google Scholar and add the URL to the bibliography.'''
+p = optparse.OptionParser(usage)
+p.add_option('-v', '--verbose', dest='verbose', action='store_true',
+ help='print some extra information');
+p.set_defaults(verbose=False);
+(opts, args) = p.parse_args()
+globals().update(opts.__dict__)
+
+if len(args) == 0 and sys.stdin.isatty():
+ p.print_help();
+ sys.exit(0);
+
+## read the input files
+bib = BibTeX.BibTeX();
+if args:
+ for f in args:
+ bib.parseFile(f);
+else:
+ bib.parseFile();
+
+## lookup each reference on Scholar
+count = 0;
+sourceDict = {};
+
+if verbose:
+ print >> sys.stderr, "Resolving %d references via Google scholar" % len(bib);
+
+for be in bib:
+
+ rt = be.getRefType();
+ if rt in ['article', 'inproceedings']:
+ # if we already have a URL then skip
+ if be.getURL():
+ continue;
+
+ # do the lookup
+ url = scholar_lookup(be);
+ if url:
+ if verbose:
+ print >> sys.stderr, be;
+ print >> sys.stderr, " --> ", url
+ print >> sys.stderr
+ be.setField('Url', url);
+ count = count + 1;
+
+ # build a list of the unique sources of the documents
+ org = urlparse.urlsplit(url)[1];
+ if org in sourceDict:
+ sourceDict[org] += 1;
+ else:
+ sourceDict[org] = 1;
+
+if verbose:
+ # print some stats
+ print >> sys.stderr, "Resolved %d references to URLs (%.1f%%)" % (count, count*100./len(bib));
+
+ # print the unique source list, sorted in decreasing order of frequency
+ print >> sys.stderr, "Document sources"
+ l = sourceDict.items();
+ l.sort( lambda x, y: cmp(y[1], x[1]) );
+
+ for org,n in l:
+ print >> sys.stderr, " %-30s %d" % (org, n);
+
+# output the bibligraphy with the URLs set
+bib.writeStrings();
+bib.write();
diff --git a/biblio/bibtex/utils/pybib/bibkey b/biblio/bibtex/utils/pybib/bibkey
new file mode 100644
index 0000000000..b77029f05c
--- /dev/null
+++ b/biblio/bibtex/utils/pybib/bibkey
@@ -0,0 +1,112 @@
+#! /usr/bin/env python
+#
+# Display all records with specified citekey(s).
+#
+# Cite key can come from command line switches or from a .aux file. Useful if you
+# want to make a reduced .bib file to match a paper, without all the other junk.
+#
+
+
+# Copyright (c) 2007, Peter Corke
+#
+# All rights reserved.
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+# * The name of the copyright holder may not be used to endorse or
+# promote products derived from this software without specific prior
+# written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE
+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+# THE POSSIBILITY OF SUCH DAMAGE.
+
+import Bibliography;
+import BibEntry;
+import BibTeX;
+import string;
+import sys;
+import optparse;
+import re;
+
+## parse switches
+usage = '''usage: %prog [options] [bibfiles]
+
+:: Display all records with specified citekey
+:: citekeys from command line or a .aux file'''
+p = optparse.OptionParser(usage)
+p.add_option('--key', dest='keys', action='append', type='str',
+ help='cite key to display (can have multiple of this switch)');
+p.add_option('--aux', dest='aux', action='store', type='str',
+ help='name of .aux file to parse for keys');
+p.add_option('--strings', dest='dumpStrings', action='store_true',
+ help='dump the string definitions (abbreviations) as well');
+p.add_option('--brief', dest='showBrief', action='store_true',
+ help='show the matching records in brief format (default is BibTeX)');
+p.set_defaults(keys=[], aux=None, dumpStrings=False, showBrief=False);
+(opts, args) = p.parse_args()
+globals().update(opts.__dict__)
+
+
+
+if len(args) == 0 and sys.stdin.isatty():
+ p.print_help();
+ sys.exit(0);
+
+# load extra keys from the specified .aux file
+if aux:
+ f = open(aux, 'r');
+ citation = re.compile(r'''^\\citation\{(\w+)\}''');
+ for line in f:
+ m = citation.match(line);
+ if m:
+ keys.append( m.group(1) );
+keys2 = keys[:];
+
+def action(bib, filename):
+ found = [];
+ for k in keys:
+ try:
+ be = bib[k];
+ found.append(be);
+ keys2.remove(k); # keep track of keys not found
+ except:
+ pass;
+ if found:
+ for be in found:
+ if showBrief:
+ if f:
+ print f;
+ be.brief();
+ else:
+ be.write();
+if args:
+ for f in args:
+ bib = BibTeX.BibTeX();
+ bib.parseFile(f);
+ action(bib, f);
+else:
+ bib = BibTeX.BibTeX();
+ bib.parseFile();
+ action(bib, None);
+
+if dumpStrings and not showBrief:
+ bib.writeStrings();
+
+if keys2:
+ print
+ for k in keys2:
+ print >> sys.stderr, "%s not found" % k
diff --git a/biblio/bibtex/utils/pybib/biblint b/biblio/bibtex/utils/pybib/biblint
new file mode 100644
index 0000000000..5b8668cfff
--- /dev/null
+++ b/biblio/bibtex/utils/pybib/biblint
@@ -0,0 +1,79 @@
+#! /usr/bin/env python
+#
+# Report missing fields and bad values in bibtex records
+
+
+# Copyright (c) 2007, Peter Corke
+#
+# All rights reserved.
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+# * The name of the copyright holder may not be used to endorse or
+# promote products derived from this software without specific prior
+# written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE
+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+# THE POSSIBILITY OF SUCH DAMAGE.
+
+import Bibliography;
+import BibEntry;
+import BibTeX;
+import string;
+import sys;
+import optparse;
+
+## parse switches
+usage = '''usage: %prog [options] [bibfiles]
+
+:: Report missing fields and bad values in bibtex records'''
+p = optparse.OptionParser(usage)
+#p.add_option('--reverse', dest='reverseSort', action='store_true',
+# help='sort into ascending data order (old at top)');
+#p.add_option('--resolve', dest='resolve', action='store_true',
+# help='resolve cross reference entries');
+#p.set_defaults(reverseSort=False, resolve=False);
+(opts, args) = p.parse_args()
+globals().update(opts.__dict__)
+
+if len(args) == 0 and sys.stdin.isatty():
+ p.print_help();
+ sys.exit(0);
+
+## read the input files
+
+if args:
+ for f in args:
+ bib = BibTeX.BibTeX();
+ bib.parseFile(f);
+ print "%d records read from %s" % (len(bib), bib.getFilename());
+
+ print
+ for be in bib:
+ c = be.check();
+ if c:
+ print "%15s: missing " % (be.getKey()), string.join(c, ', ')
+else:
+ bib = BibTeX.BibTeX();
+ bib.parseFile();
+ print "%d records read from %s" % (len(bib), '(stdin)');
+
+ print
+ for be in bib:
+ c = be.check();
+ if c:
+ print "%15s: missing " % (be.getKey()), string.join(c, ', ')
diff --git a/biblio/bibtex/utils/pybib/biblist b/biblio/bibtex/utils/pybib/biblist
new file mode 100644
index 0000000000..7fdb95a332
--- /dev/null
+++ b/biblio/bibtex/utils/pybib/biblist
@@ -0,0 +1,78 @@
+#! /usr/bin/env python
+#
+# List bibtex file in human readable format
+#
+
+# Copyright (c) 2007, Peter Corke
+#
+# All rights reserved.
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+# * The name of the copyright holder may not be used to endorse or
+# promote products derived from this software without specific prior
+# written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE
+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+# THE POSSIBILITY OF SUCH DAMAGE.
+
+import Bibliography;
+import BibEntry;
+import BibTeX;
+import string;
+import sys;
+import optparse;
+
+## parse switches
+usage = '''usage: %prog [options] [bibfiles]
+
+:: Display bibtex file in human readable format'''
+p = optparse.OptionParser(usage)
+p.add_option('--brief', dest='showBrief', action='store_true',
+ help='brief listing (one line per entry)');
+p.add_option('--abbrev', dest='resolveAbbrevs', action='store_true',
+ help='resolve abbreviations from defined strings');
+#p.add_option('--resolve', dest='resolve', action='store_true',
+# help='resolve cross reference entries');
+p.set_defaults(showBrief=False, resolveAbbrevs=False);
+(opts, args) = p.parse_args()
+globals().update(opts.__dict__)
+
+if len(args) == 0 and sys.stdin.isatty():
+ p.print_help();
+ sys.exit(0);
+
+## read the input files
+bib = BibTeX.BibTeX();
+if args:
+ for f in args:
+ bib.parseFile(f);
+else:
+ bib.parseFile();
+
+# resolve cross refs and abbreviations
+bib.resolveCrossRef();
+if resolveAbbrevs:
+ bib.resolveAbbrev();
+
+# output the readable text
+for be in bib:
+ if showBrief:
+ be.brief();
+ else:
+ be.display();
+ print
diff --git a/biblio/bibtex/utils/pybib/bibmerge b/biblio/bibtex/utils/pybib/bibmerge
new file mode 100644
index 0000000000..1bd517466b
--- /dev/null
+++ b/biblio/bibtex/utils/pybib/bibmerge
@@ -0,0 +1,116 @@
+#! /usr/bin/env python
+#
+# Fuzzy merge of bibliographies.
+#
+# A hiearchy of matching tests is implemented:
+#
+# Reference type
+# Year of publication
+# Month of publication (if known)
+# Volume number (if article type)
+# Page numbers (if known)
+# Author surnames
+# Fuzzy match on title exclusing white space and punctuation characters,
+# using Levenstein distance
+#
+# Really useful when you are jointly writing a paper and the authors have partially
+# overlapping bib files with different cite key conventions.
+
+# Copyright (c) 2007, Peter Corke
+#
+# All rights reserved.
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+# * The name of the copyright holder may not be used to endorse or
+# promote products derived from this software without specific prior
+# written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE
+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+# THE POSSIBILITY OF SUCH DAMAGE.
+
+import Bibliography;
+import BibEntry;
+import BibTeX;
+import string;
+import sys;
+import optparse;
+
+## parse switches
+usage = '''usage: %prog [options] [bibfiles]
+
+:: Fuzzy merge of bibliographies.'''
+p = optparse.OptionParser(usage)
+p.add_option('--dthresh', dest='dthresh', action='store', type='int',
+ help='set the fuzzy match tolerance (Levenstein distance) for title string');
+p.add_option('--showdup', dest='showdup', action='store_true',
+ help='show information about proposed duplicates');
+p.add_option('-v', '--verbose', dest='verbose', action='store_true',
+ help='print some extra information');
+p.set_defaults(dthresh=2, showdup=False, verbose=False);
+(opts, args) = p.parse_args()
+globals().update(opts.__dict__)
+
+if len(args) == 0 and sys.stdin.isatty():
+ p.print_help();
+ sys.exit(0);
+
+
+unique = BibTeX.BibTeX();
+dupcount = 0;
+
+def action(bib, filename):
+ global dupcount, unique;
+
+ if verbose:
+ print >> sys.stderr, "%d records read from %s" % (len(bib), filename)
+
+ # for each new bib entry
+ for be in bib:
+ # check against all existing
+ for ub in unique:
+ if be.match(ub, dthresh=dthresh):
+ if verbose:
+ print >> sys.stderr, " -[%s] %s" % (be.getKey(), be);
+ dupcount += 1;
+ if showdup:
+ print >> sys.stderr, "============================="
+ ub.write(sys.stderr);
+ print >> sys.stderr, "---------- duplicate from %s" % bib.getFilename();
+ be.write(sys.stderr);
+ break;
+ else:
+ if verbose:
+ print >> sys.stderr, " +[%s] %s" % (be.getKey(), be);
+ unique.insertEntry(be);
+
+## read the input files
+bib = BibTeX.BibTeX();
+if args:
+ for f in args:
+ bib = BibTeX.BibTeX();
+ bib.parseFile(f);
+ action(bib, f);
+else:
+ bib = BibTeX.BibTeX();
+ bib.parseFile();
+ action(bib, '(stdin)');
+
+
+print >> sys.stderr, "New bib has %d records, %d duplicates found" % (len(unique), dupcount);
+
+unique.write();
diff --git a/biblio/bibtex/utils/pybib/bibnames b/biblio/bibtex/utils/pybib/bibnames
new file mode 100644
index 0000000000..d0b07310fa
--- /dev/null
+++ b/biblio/bibtex/utils/pybib/bibnames
@@ -0,0 +1,89 @@
+#! /usr/bin/env python
+#
+# Display a list of authors and their occurrence in the bibfiles
+#
+# each output line is of the form:
+#
+# Surname,I N
+#
+# where I is their initial and N is the number of occurrences. This can be
+# fed throug sort -n -r +1 to get a list of authors in descending order
+# of occurrence. Figure out who is your favourite co-author!
+
+# Copyright (c) 2007, Peter Corke
+#
+# All rights reserved.
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+# * The name of the copyright holder may not be used to endorse or
+# promote products derived from this software without specific prior
+# written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE
+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+# THE POSSIBILITY OF SUCH DAMAGE.
+
+
+import Bibliography;
+import BibEntry;
+import BibTeX;
+import string;
+import sys;
+import getopt;
+import optparse;
+
+## parse switches
+usage = '''usage: %prog [options] [bibfiles]
+
+:: Display a list of authors and their occurrence'''
+p = optparse.OptionParser(usage)
+#p.add_option('--reverse', dest='reverseSort', action='store_true',
+# help='sort into ascending data order (old at top)');
+#p.add_option('--resolve', dest='resolve', action='store_true',
+# help='resolve cross reference entries');
+#p.set_defaults(reverseSort=False, resolve=False);
+(opts, args) = p.parse_args()
+globals().update(opts.__dict__)
+
+if len(args) == 0 and sys.stdin.isatty():
+ p.print_help();
+ sys.exit(0);
+
+
+## read the input files
+bib = BibTeX.BibTeX();
+if args:
+ for f in args:
+ bib.parseFile(f);
+else:
+ bib.parseFile();
+
+# Build a list of unique names: Surname,Initial and update occurrence
+nameList = {};
+for be in bib:
+ surnames = be.getAuthorsSurnameList();
+ if surnames:
+ for s in surnames:
+ s = ','.join(s);
+ if s in nameList:
+ nameList[s] += 1
+ else:
+ nameList[s] = 1;
+
+# display names and occurrence.
+for s,v in nameList.iteritems():
+ print s, v;
diff --git a/biblio/bibtex/utils/pybib/bibsort b/biblio/bibtex/utils/pybib/bibsort
new file mode 100644
index 0000000000..15e959832d
--- /dev/null
+++ b/biblio/bibtex/utils/pybib/bibsort
@@ -0,0 +1,100 @@
+#! /usr/bin/env python
+#
+# Sort bibliographies in chronological order
+#
+
+# Copyright (c) 2007, Peter Corke
+#
+# All rights reserved.
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+# * The name of the copyright holder may not be used to endorse or
+# promote products derived from this software without specific prior
+# written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE
+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+# THE POSSIBILITY OF SUCH DAMAGE.
+
+import Bibliography;
+import BibEntry;
+import BibTeX;
+import string;
+import sys;
+import optparse;
+
+
+## parse switches
+usage = '''usage: %prog [options] [bibfiles]
+
+:: Sort bibliographies in chronological order'''
+p = optparse.OptionParser(usage)
+p.add_option('--reverse', dest='reverseSort', action='store_true',
+ help='sort into ascending data order (old at top)');
+p.add_option('--resolve', dest='resolve', action='store_true',
+ help='resolve cross reference entries');
+p.set_defaults(reverseSort=False, resolve=False);
+(opts, args) = p.parse_args()
+globals().update(opts.__dict__)
+
+if len(args) == 0 and sys.stdin.isatty():
+ p.print_help();
+ sys.exit(0);
+
+count = {};
+
+sortReturn = -1 if reverseSort else 1;
+
+def sortByDate(a, b):
+ # On input a and b are BibEntry objects
+ ay = a.getYear();
+ by = b.getYear();
+ if ay > by:
+ return -sortReturn;
+ elif ay < by:
+ return sortReturn;
+ else:
+ am = a.getMonth();
+ bm = b.getMonth();
+ if am > bm:
+ return -sortReturn;
+ elif am < bm:
+ return sortReturn;
+ else:
+ return 0;
+
+outbib = BibTeX.BibTeX();
+
+if args:
+ for f in args:
+ bib = BibTeX.BibTeX();
+ n = bib.parseFile(f);
+
+ sys.stderr.write( "%d records read from %s\n" % (n, f) );
+
+else:
+ bib = BibTeX.BibTeX();
+ bib.parseFile();
+
+ sys.stderr.write( "%d records read from stdin\n" % len(bib) );
+
+# sort it
+bib.sort(sortByDate);
+
+# and output the result
+for s in bib:
+ s.write();
diff --git a/biblio/bibtex/utils/pybib/bibsummary b/biblio/bibtex/utils/pybib/bibsummary
new file mode 100644
index 0000000000..b66df9ea7a
--- /dev/null
+++ b/biblio/bibtex/utils/pybib/bibsummary
@@ -0,0 +1,81 @@
+#! /usr/bin/env python
+#
+# Display a summary of the reference types
+
+# Copyright (c) 2007, Peter Corke
+#
+# All rights reserved.
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+# * The name of the copyright holder may not be used to endorse or
+# promote products derived from this software without specific prior
+# written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE
+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+# THE POSSIBILITY OF SUCH DAMAGE.
+
+import Bibliography;
+import BibEntry;
+import BibTeX;
+import string;
+import sys;
+import optparse;
+
+## parse switches
+usage = '''usage: %prog [options] [bibfiles]
+
+:: Display a summary of the reference types'''
+p = optparse.OptionParser(usage)
+#p.add_option('--reverse', dest='reverseSort', action='store_true',
+# help='sort into ascending data order (old at top)');
+#p.add_option('--resolve', dest='resolve', action='store_true',
+# help='resolve cross reference entries');
+#p.set_defaults(reverseSort=False, resolve=False);
+(opts, args) = p.parse_args()
+globals().update(opts.__dict__)
+
+if len(args) == 0 and sys.stdin.isatty():
+ p.print_help();
+ sys.exit(0);
+
+## read the input files
+bib = BibTeX.BibTeX();
+if args:
+ for f in args:
+ bib.parseFile(f);
+else:
+ bib.parseFile();
+
+count = {};
+urlCount = 0;
+
+
+for be in bib:
+ t = be.getRefType();
+ if be.getField('Url'):
+ urlCount += 1;
+ if t in count:
+ count[t] += 1;
+ else:
+ count[t] = 1;
+
+for k in count:
+ print " %15s: %4d" % (k, count[k]);
+
+if urlCount > 0:
+ print " %d with URL links" % urlCount;
diff --git a/biblio/bibtex/utils/qbibman/README b/biblio/bibtex/utils/qbibman/README
new file mode 100644
index 0000000000..7017d8c5ba
--- /dev/null
+++ b/biblio/bibtex/utils/qbibman/README
@@ -0,0 +1,43 @@
+This software is an attempt to provide a program that manages BibTex-Databases.
+Although there are a number of such attempts, I decided that I have to try to
+implement features that are not present in other programs. Since the most
+complicated part seemed to be the database-handling, I was happy to find the
+BibTool package by Gerd Neugebauer that did this for me. I merely added a
+graphical user interface.
+
+To install qbibman, you need Gerd Neugebauer BibTool package too from
+CTAN:/tex-archive/biblio/bibtex/utils/bibtool/BibTool-2.44.tar.gz
+
+Features
+
+- Browse lists for names and journals
+- Search using regular expressions
+- Automatic recoding of ISO-Characters to latex style*
+- Reading of Auxfiles*
+- Support for @string
+ to enter a reference to a @string use "@": e.g. you defined a string
+ @STRING{ssj="Some stupid journal"}
+ in your database, then you can refer to it by using "@ssj".
+- Automatic key generation*
+- Selection of multiple items with <Control> Left Mouse Button
+ Clicking without <Control> switches back to single item mode
+- Printing (parts of) the database with customizable latex file
+ In single item mode the whole database is printed otherwise only the
+ selected items
+ If there is a latex file ".qbibman" in your home directory, it will be
+ used for generating screen and printer output. Just put "%CITATION"
+ (no spaces) on a line by its own into the file. It will be replaced by
+ "\nocite{...}" of [selected | all] items and the command
+ "\bibliography{...}". If this file is missing, a simple default is used.
+- Keys of selected items can be put into X clipboard or into Lyx file (via Lyx
+ Server) using context menu (right mouse button click on the list).
+
+*These features are present in BibTool.
+
+The programm seems to be stable and does what I want. So I figured
+that there might be other people who would like to use it.
+
+Ralf Goertz <R.Goertz@psych.uni-frankfurt.de>
+
+2000-09-05
+
diff --git a/biblio/bibtex/utils/r2bib/ChangeLog b/biblio/bibtex/utils/r2bib/ChangeLog
new file mode 100644
index 0000000000..822b1eddb7
--- /dev/null
+++ b/biblio/bibtex/utils/r2bib/ChangeLog
@@ -0,0 +1,42 @@
+2015-12-06
+ Added autotools based compilation (Richard J. Mathar)
+
+2010-02-22
+ Mutet some warnings in r2bib.c, using 0 (not NULL) for characters,
+ and swapping functions positions (Richard J. Mathar)
+
+2010-01-21
+ wileyEndNoteFilt adapts to the format where no final comma is in the author
+ or editor files, which apparently is a newer Wiley format. (Richard J. Mathar)
+
+2009-01-20
+ Added wileyEndNoteFilt, ansel2uni, risDateAdj, Makefile (Richard J. Mathar).
+ EndNote2bib translates %R as doi.
+
+2007-06-21
+ Default for output fields in EndNote2bib is curly parenthesis. Backward
+ compatible double quotes available with new option -Q.
+
+2007-06-12
+ Added auxiliary filter C++ program EndNoteTag (Richard J. Mathar)
+
+2006-05-17
+ Corrected toggling between stdin and command line arguments in EndNote2bib.c (Richard J. Mathar)
+ Added emission of a BibTeX comment to EndNote2bib.c (Richard J. Mathar)
+ Changed syntactical order of functions in EndNote2bib.c to reduce use of ANSI templates (Richard J. Mathar)
+ Propose use of -w 132 in fold in EndNote2bib.1 to avoid breaking URLs (Richard J. Mathar)
+
+2005-05-03
+ Corrected interpretation of "micron" and "mu" in dosToTex.c (Richard J. Mathar)
+
+2005-03-13
+ Added switches -1, -u and -h to dosToTex.c (Richard J. Mathar)
+ Added switches -q and -h to EndNote2bib.c (Richard J. Mathar)
+ Added EndNote2bib.1, dosToTex.1 and ChangeLog (Richard J. Mathar)
+ Renamed dos2tex to dosToTex to avoid name clash with existing programs (Richard J. Mathar)
+
+2005-02-23
+ Added README, EndNote2bib.c and dos2tex.c (Richard J. Mathar)
+
+1990-10-03
+ Added r2bib.1 and r2bib.c (Rusty Wright)
diff --git a/biblio/bibtex/utils/r2bib/EndNote2bib.1 b/biblio/bibtex/utils/r2bib/EndNote2bib.1
new file mode 100644
index 0000000000..f8c15bd370
--- /dev/null
+++ b/biblio/bibtex/utils/r2bib/EndNote2bib.1
@@ -0,0 +1,101 @@
+.TH "EndNote2bib" 1 "Mon Dec 7 2015" "Version 2015-12-07" "r2bib" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+EndNote2bib \- convert EndNote input files to bibtex \&.bib files
+.PP
+.SH "SYNOPSIS "
+.PP
+.PP
+\fIEndNote2bib\fP [-q] ''file'' \&.\&.\&.
+.PP
+\fIEndNote2bib\fP [-h]
+.PP
+.SH "OPTIONS "
+.PP
+.PP
+-q supress complains on unsupported EndNote tags on stderr
+.PP
+-h print a usage summary and exits
+.PP
+.SH "DESCRIPTION "
+.PP
+.PP
+\fIEndNote2bib\fP reads the ''files'' and produces a \fIbibtex\fP reference list (a \&.bib file) on the standard output\&. If no files are given, \fIEndNote2bib\fP reads standard input\&.
+.PP
+Since EndNote offers a LaTeX export style, use of this program makes only much sense if one wishes to handle EndNote bibliographies but does not have access to an EndNote installation\&.
+.PP
+Since EndNote files are inherently unstructured (compared to \fIbibtex\fP) \fIEndNote2bib\fP only does a passable job\&. In particular EndNote doesn't require a keyword, while \fIbibtex\fP does\&. The heuristic that \fIEndNote2bib\fP uses for cooking up a keyword, in order of precedence, is:
+.PP
+.IP "\(bu" 2
+Use the Label (%F) if it's only one word\&.
+.IP "\(bu" 2
+Use the Call Number (%L) if it's only one word\&.
+.IP "\(bu" 2
+Use the Keyword entry (%K) if it's only one word\&.
+.IP "\(bu" 2
+Otherwise just use the string 'keyN' where N is the count of this bibliographic entry in the EndNote file(s)\&.
+.PP
+.PP
+There is no check that the BibTeX labels generated that way are all different\&.
+.PP
+To determine the type of reference that the EndNote entry is, \fIEndNote2bib\fP has to do some 'calculated guessing\&.' The heuristic used here (again, in order of precedence) is:
+.PP
+.IP "\(bu" 2
+If it has one of the following Referenc Types (%0), it is interpreted according to the table
+.PP
+Book @book
+.PP
+Manuscript @manual
+.PP
+In Proceedings @inproceedings
+.PP
+Conference Proceedings @proceedings
+.PP
+Report @techreport
+.PP
+Journal Article @article
+.PP
+Book Section @inbook
+.PP
+Edited Book @book
+.PP
+Newspaper Article @article
+.PP
+Thesis @phdthesis
+.PP
+Personal Communication @unpublished
+.PP
+Generic @misc
+.IP "\(bu" 2
+If it has a journal entry (%J) then it's considered to be an @article\&.
+.IP "\(bu" 2
+If it has a Secondary Title entry (%B) then it's considered to be an @inbook\&.
+.IP "\(bu" 2
+If it has a report entry (%R) then it's considered to be a @techreport\&.
+.IP "\(bu" 2
+If it has a issuer entry (%I) then it's considered to be a @book\&.
+.IP "\(bu" 2
+Otherwise it's considered to be a @misc\&.
+.PP
+.PP
+Quite often \fIEndNote2bib\fP will misguess and you will need to edit (by hand) the resulting \&.bib file\&.
+.PP
+Any fields that \fIEndNote2bib\fP doesn't know about it will ignore (and complain about it on stderr unless the -q option has been used)\&.
+.PP
+The main difference between \fIr2bib\fP and \fIEndNote2bib\fP is that \fIEndNote2bib\fP recognizes more tags that have been introduced in the EndNote document system\&. For a description see the source code in the file EndNote2bib\&.c\&.
+.PP
+.SH "EXAMPLES "
+.PP
+.PP
+EndNote2bib -q endnfile1 endnfile2 > bibtfile\&.bib
+.PP
+.SH "SEE ALSO "
+.PP
+.PP
+dos2unix(1) dosToTex(1) fold(1) bibtex(1) r2bib(1)
+.PP
+.SH "AUTHOR "
+.PP
+.PP
+Richard J\&. Mathar, based on r2bib\&.c coded by Rusty Wright
diff --git a/biblio/bibtex/utils/r2bib/EndNote2bib.c b/biblio/bibtex/utils/r2bib/EndNote2bib.c
new file mode 100644
index 0000000000..67f8cf74ee
--- /dev/null
+++ b/biblio/bibtex/utils/r2bib/EndNote2bib.c
@@ -0,0 +1,600 @@
+/*********************************************************
+ usage:
+
+ EndNote2bib -h
+ EndNote2bib [-Q] [-q] < input.end > output.tex
+ EndNote2bib [-Q] [-q] input1.end [input2.end ...] > output.tex
+
+ This program exports/converts one or more input files in EndNote ASCII format
+ to an output file in BibTeX format. As the usage line shows, it works as a
+ pipe in the UNIX sense, or takes input files as arguments.
+
+ The differences w.r.t this original version r2bib.c are
+ - from the application point of view
+ . The EndNote tag %0 is the prime source of deciding which type of
+ reference this is (Book, article, thesis....)
+ . The EndNote tags %R, %U, %@, %Z, %7, %8, %9 are also converted.
+ . multiple %E fields are concatenated with "and", not just
+ multiple %A fields
+ . switches -h, -q and -Q have been added: -h prints some usage
+ summary, and -q can be used to mute the complains about
+ unknown EndNote tags. If -Q is added, the fields are put into
+ pairs of quotes, whereas the default is placing them into pairs
+ of curly parentheses.
+ - from a programmer's point of view
+ . K&R C-style source code has been modified to ANSI C
+ . some declarations of system functions have been replaced
+ by an include stdlib.h. exit(0,1) have been replaced
+ by exit(SUCCES,FAILURE). main() ends on return 0 , not
+ on exit().
+ . some forward declarations of local functions have been
+ removed by moving these local functions ahead such that
+ the compiler has seen them before they are called.
+ . The use of NULL and '\0' has been corrected to remove
+ some gcc warnings
+ . The structure with the hash that guesses types from tags
+ has been made local to the function it is used in.
+
+ To wrap the output lines under UNIX use:
+ EndNote2bib < input.end | fold -s > output.tex
+
+ See also http://www.endnote.com
+
+ For similar tools and tools that work in the reverse direction
+ (BibTeX to EndNote) see http://support.isiresearchsoft.com/pub/bibtex/
+ and
+
+ The original source that converts the similar refer
+ format to BibTeX has been taken from
+ http://www.ctan.org/tex-archive/biblio/bibtex/utils/r2bib/ .
+
+ Richard J. Mathar, http://www.mpia.de/~mathar
+ Dec 07, 2015
+***********************************************************/
+#include "config.h"
+
+#ifdef HAVE_CTYPE_H
+#include <ctype.h>
+#endif
+
+#ifdef HAVE_STDIO_H
+#include <stdio.h>
+#endif
+
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
+#ifdef HAVE_TIME_H
+#include <time.h>
+#endif
+
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
+
+void usage(char *argv0)
+{
+ printf("usage: %s [-Q] [-q]; # pipe stdin to stdout\n",argv0) ;
+ printf("\t %s [-Q] [-q] infile1.end [infile2.end ...]; # convert list of input files to stdout\n",argv0) ;
+ printf("\t %s -h ; # help: print these usage lines here\n",argv0) ;
+ printf("Option -q suppresses complains on unknown EndNote tags\n") ;
+ printf("Option -Q uses pairs of quotes to embrace fields\n") ;
+}
+
+/* Return NULL if bp points to an (essentially) empty string.
+ "Essentially" means ignoring white space.
+ Otherwise return the pointer to the first non-space character.
+*/
+char * sanz(char *bp)
+{
+ /* skip to the end of the line */
+ char *cp = &bp[strlen(bp) - 1];
+
+ /*
+ * back up over any spaces chars
+ */
+ while (isspace(*cp) && (cp >= bp))
+ cp--;
+
+ if (cp < bp)
+ return NULL ; /* empty line */
+
+ /* truncate after the last non-space character in the line */
+ *++cp = '\0' ;
+
+ /* search from the start of bp to the actual (non-space) end */
+ while (isspace(*bp) && (bp < cp))
+ bp++;
+
+ if (cp == bp)
+ return NULL ; /* empty line */
+
+ return bp ;
+}
+
+
+/* EndNote standards
+ %A Author
+ %B secondary title (of a book or conference name)
+ %C Place published
+ %D Year
+ %E editor / secondary author
+ %F label
+ %G Language
+ %H Translated Author
+ %I Publisher
+ %J secondary title (journal name)
+ %K Keywords
+ %L call number
+ %M accession number
+ %N number (issue)
+ %P pages
+ %Q Translated Title
+ %R DOI
+ %S tertiary title
+ %T title
+ %U URL
+ %V volume
+ %W database provider
+ %X Abstract
+ %Y tertiary author
+ %Z notes
+ %0 Reference type
+ %1 to %4 custom notes (Wiley stores the DOI here)
+ %6 number of volumes
+ %7 edition
+ %8 date
+ %9 type of work
+ %? subsidiary author
+ %@ ISBN/ISSN
+ %! short title
+ %#, %$ %] custom 5 to custom 7
+ %& section
+ %( original publication
+ %) reprint edition
+ %* reviewed item
+ %+ author address
+ %^ caption
+ %> File attchments
+ %< research notes
+ %[ access date
+ %= Custom 8
+ %~ name of database
+*/
+struct Rb {
+ char rb_kl; /* EndNote key letter */
+ char * rb_kw; /* bibtex string */
+ char rb_emit; /* don't print data if 0 */
+ char * rb_data; /* EndNote data */
+} rb[] = {
+ { '0', "", 0, NULL },
+ { '7', "edition", 1, NULL },
+ { '8', "month", 1, NULL },
+ { '9', "type", 1, NULL },
+ { '@', "isbn", 1, NULL }, /* To do: could also be issn */
+ { 'A', "author", 1, NULL },
+ { 'B', "booktitle", 1, NULL },
+ { 'C', "address", 1, NULL },
+ { 'D', "year", 1, NULL },
+ { 'E', "editor", 1, NULL },
+ { 'F', "", 0, NULL },
+ { 'I', "publisher", 1, NULL },
+ { 'J', "journal", 1, NULL },
+ { 'L', "key", 1, NULL }, /* use as bibtex key; comes earlier in the list to precede K */
+ { 'K', "note", 1, NULL },
+ { 'N', "number", 1, NULL },
+ { 'P', "pages", 1, NULL },
+ { 'Q', "institution", 1, NULL },
+ { 'R', "doi", 1, NULL },
+ { 'S', "series", 1, NULL },
+ { 'T', "title", 1, NULL },
+ { 'U', "url", 1, NULL },
+ { 'V', "volume", 1, NULL },
+ { 'X', "abstract", 1, NULL },
+ { 'Z', "annote", 1, NULL },
+ { 0, 0, 0, 0 }
+};
+
+void guesstype()
+{
+ /*
+ * entries are in order of precedence.
+ * Any entry with a 'J' field must be an article, but anthing with an 'I'
+ * field doesn't have to be a book (if an entry has both 'J' and 'I' it is
+ * considered to be an article).
+ */
+ struct Bmap {
+ char bm_kl;
+ char *bm_entry;
+ } bmap[] = {
+ { 'J', "article" },
+ { 'B', "inbook" },
+ { 'R', "techreport" },
+ { 'I', "book" },
+ { 0, 0 }
+ };
+ struct Bmap *bm = & bmap[0] ;
+ /*
+ * figure out what type of entry this is.
+ */
+ for ( ; bm->bm_kl != 0; bm++)
+ {
+ struct Rb *trb;
+ for (trb = &rb[0]; trb->rb_kl ; trb++)
+ {
+ if ((trb->rb_kl == bm->bm_kl) && trb->rb_data)
+ {
+ printf("@%s{", bm->bm_entry);
+ goto out;
+ }
+ }
+ }
+out:
+ if (bm->bm_kl == 0)
+ printf("@misc{");
+}
+
+
+/*
+ examine %0 and print a @book, @incollection or any other type on stdout,
+ if the tag matches something known.
+ If the %0 is absent or this cannot be done for other reasons, return 1, else 0.
+*/
+int tagzero()
+{
+ /* everything not listed will be re-evaluated in the caller function */
+ static char *ZMatch[][2] = {
+ {"Book", "book"},
+ {"Electronic Book", "book"},
+ {"Manuscript", "manual"},
+ {"Magazine Article", "article"},
+ {"In Proceedings", "inproceedings"},
+ {"Conference Paper", "inproceedings"},
+ {"Conference Proceedings", "proceedings"},
+ {"Report", "techreport"},
+ {"Journal Article", "article"},
+ {"Electronic Article", "article"},
+ {"Book Section", "inbook"},
+ {"Edited Book", "book"},
+ {"Newspaper Article","article"},
+ {"Thesis", "phdthesis"}, /* could be also masterthesis, %9 = Dissertation to be investigated */
+ {"Personal Communication", "unpublished"},
+ {"Unpublished Work", "unpublished"},
+ {"Generic", "misc"}
+ } ;
+ struct Rb *trb;
+
+ /* search through the tags of this entry */
+ for (trb = &rb[0]; trb->rb_kl ; trb++)
+ {
+ /* found tag %0 and there is actually a line in it */
+ if ( trb->rb_kl == '0' && trb->rb_data )
+ {
+ int zm =0 ;
+ /* if the tag matches s.th. in ZMatch[], convert, else return */
+ for( ; zm < sizeof(ZMatch)/sizeof(char *[2]) ; zm++)
+ if ( strncmp(trb->rb_data, ZMatch[zm][0], strlen(ZMatch[zm][0]) ) == 0 )
+ {
+ printf("@%s{", ZMatch[zm][1]);
+ return 0 ;
+ }
+ }
+ }
+ return 1 ; /* unsuccessful */
+}
+
+void dumprb(const int brakquot)
+{
+ struct Rb *trb;
+ static int key;
+ char *bibkey;
+ char *cp;
+ int first=1;
+
+ /* try to consider %0 ...; if this doesn't resolve, look at the availability of other key tags...*/
+ if( tagzero() )
+ guesstype() ;
+
+ /*
+ * in order of precedence, the bibtex key is determined:
+ * 1. use EndNote label (%F).
+ * 2. use EndNote Call Number (%L).
+ * 3. use keyword (%K) if only one word.
+ * 4. otherwise just use the string "keyN" where N
+ * is the count of this bibliographic entry in
+ * the EndNote file.
+ */
+ key++;
+ for (trb = &rb[0]; trb->rb_kl != 0; trb++)
+ {
+ if ((trb->rb_kl == 'F') && trb->rb_data)
+ {
+ for (cp = trb->rb_data; *cp ; cp++)
+ if (isspace(*cp))
+ break;
+
+ /* ran to end of string? */
+ if (*cp == '\0')
+ {
+ printf("%s,\n", trb->rb_data);
+
+ /* if used here then free & zero it */
+ free(trb->rb_data);
+ trb->rb_data = NULL;
+ break;
+ }
+ }
+
+ if ((trb->rb_kl == 'L') && trb->rb_data )
+ {
+ for (cp = trb->rb_data; *cp ; cp++)
+ if (isspace(*cp))
+ break;
+
+ /* ran to end of string? */
+ if (*cp == '\0')
+ {
+ printf("%s,\n", trb->rb_data);
+ break;
+ }
+ }
+
+ if ((trb->rb_kl == 'K') && trb->rb_data)
+ {
+ for (cp = trb->rb_data; *cp ; cp++)
+ if (isspace(*cp))
+ break;
+
+ /* ran to end of string? */
+ if (*cp == '\0')
+ {
+ printf("%s,\n", trb->rb_data);
+
+ /* if used here then free & zero it */
+ free(trb->rb_data);
+ trb->rb_data = NULL;
+ break;
+ }
+ }
+ }
+
+ /* nothing reasonable to use, punt */
+ if (trb->rb_kl == 0)
+ printf("key%d,\n", key);
+
+ first = 1;
+
+ for (trb = &rb[0]; trb->rb_kl != 0; trb++)
+ {
+ if (trb->rb_data == NULL)
+ continue;
+
+ if (trb->rb_emit != 0)
+ {
+ /*
+ * clank,
+ * this is so that things will line up.
+ */
+ if (strlen(trb->rb_kw) < 6)
+ cp = "\t\t";
+ else
+ cp = "\t";
+
+ if (! first)
+ printf(",\n");
+
+ /* if brakquot is nonzero, we use pairs of quotes to delimit the data
+ * fields, else pairs of curly parentheses.
+ */
+ if ( brakquot)
+ printf("\t%s =%s\"%s\"", trb->rb_kw, cp, trb->rb_data);
+ else
+ printf("\t%s =%s{%s}", trb->rb_kw, cp, trb->rb_data);
+ first = 0;
+ }
+
+ free(trb->rb_data);
+ trb->rb_data = NULL;
+ }
+
+ printf("\n}\n\n");
+}
+
+/* swallow multiple author case */
+char * andfix(char *string)
+{
+ char *tmp;
+ char *cp;
+
+ tmp = string;
+
+ for (cp = string; *cp ; cp++)
+ {
+ if (strncmp(cp, " and ", 5) == 0)
+ {
+ /*
+ * +2 for the curly braces around "{and}",
+ * +1 for the null at the end.
+ */
+ if ((tmp = malloc(strlen(string) + 2 + 1)) == NULL) {
+ perror("malloc");
+ exit(EXIT_FAILURE);
+ }
+
+ strncpy(tmp, string, cp - string);
+ tmp[cp - string] = '\0'; /* strncpy doesn't */
+ strcat(tmp, " {and} ");
+ strcat(tmp, cp + 5);
+ }
+ }
+
+ return tmp ;
+}
+
+/* handle one EndNote line
+ 'cp' points to the 3rd character in the line (just after the tag)
+*/
+void stuffrb(struct Rb *lrb, char *cp)
+{
+ /* empty data field */
+ if ((cp = sanz(cp)) == NULL)
+ return;
+
+ if (lrb->rb_kl == 'A' || lrb->rb_kl == 'E')
+ cp = andfix(cp);
+
+ if (lrb->rb_data == NULL)
+ {
+ if ((lrb->rb_data = malloc(strlen(cp) + 1)) == NULL)
+ {
+ perror("malloc");
+ exit(EXIT_FAILURE);
+ }
+ strcpy(lrb->rb_data, cp);
+ }
+ else
+ {
+ char *conj;
+
+ if (lrb->rb_kl == 'A' || lrb->rb_kl == 'E')
+ conj = " and ";
+ else
+ conj = " ";
+
+ if ((lrb->rb_data = realloc(lrb->rb_data, strlen(lrb->rb_data) + strlen(cp) + strlen(conj) + 1)) == NULL)
+ {
+ perror("realloc");
+ exit(EXIT_FAILURE);
+ }
+
+ strcat(lrb->rb_data, conj);
+ strcat(lrb->rb_data, cp);
+ }
+}
+
+/* Handle one file
+*/
+int r2bib(char *file, FILE *fid, int quiet, const int brakquot)
+{
+ struct Rb *lrb = NULL; /* last rb stored into */
+ int line=0 ;
+ char buf[BUFSIZ];
+ int err= 0;
+ const time_t now = time(NULL) ;
+
+ printf("@comment { created %s from %s by %s (Richard J. Mathar) run by %s}\n\n",
+ ctime(&now),file,__FILE__,getenv("USERNAME")) ;
+
+ while ( fgets(buf, sizeof(buf), fid) )
+ {
+ char *cp;
+ line++;
+
+ /* an empty line? If yes, assume start of a new entry */
+ if ((cp = sanz(buf)) == NULL)
+ {
+ if (lrb )
+ {
+ dumprb(brakquot);
+ lrb = NULL;
+ }
+ continue;
+ }
+
+ /*
+ * if the first letter is a % then it's the
+ * a new record, otherwise it's a continuation
+ * of the previous one.
+ */
+ if (cp[0] == '%')
+ {
+ /* search trough the supported list of tags */
+ for (lrb = &rb[0]; lrb->rb_kl != 0; lrb++)
+ if (lrb->rb_kl == cp[1])
+ {
+ stuffrb(lrb, &cp[2]);
+ break;
+ }
+ if (lrb->rb_kl == 0 && !quiet)
+ {
+ fprintf(stderr, "r2b: %s: line %d: unknown key letter %c, ignoring\n", file, line, cp[1]);
+ err = 1;
+ }
+ }
+ else
+ {
+ if (lrb == NULL && !quiet)
+ {
+ fprintf(stderr, "r2b: %s: line %d: bad format, ignoring\n", file, line);
+ err = 1;
+ continue;
+ }
+
+ stuffrb(lrb, &cp[0]);
+ }
+ }
+
+ if (lrb )
+ dumprb(brakquot);
+
+ return err ;
+}
+
+/* loop over the input files in the argument list;
+ If this list is empty, scan the standard input
+*/
+int main(int argc, char *argv[])
+{
+ int err=0;
+ char oc ;
+ int quiet=0 ;
+ int brakquot=0 ;
+ while ( (oc=getopt(argc,argv,"qQh")) != -1 )
+ {
+ switch(oc)
+ {
+ case 'q' :
+ quiet = 1 ;
+ break ;
+ case 'Q' :
+ brakquot = 1 ;
+ break ;
+ case 'h' :
+ usage(argv[0]) ;
+ return 0 ;
+ case '?' :
+ fprintf(stderr,"Invalid command line option %c\n",oc) ;
+ usage(argv[0]) ;
+ break ;
+ }
+ }
+
+ if (optind < argc-1 )
+ {
+ int i ;
+ for (i = optind; i < argc; i++)
+ {
+ FILE *fid = fopen(argv[i], "r") ;
+ if ( fid == NULL)
+ {
+ fprintf(stderr, "fopen: ");
+ perror(argv[i]);
+ continue;
+ }
+ err += r2bib(argv[i], fid, quiet, brakquot);
+ fclose(fid) ;
+ }
+ }
+ else
+ err += r2bib("stdin", stdin, quiet, brakquot);
+
+ if (err)
+ return 1 ;
+
+ return 0 ;
+}
diff --git a/biblio/bibtex/utils/r2bib/EndNoteTag.1 b/biblio/bibtex/utils/r2bib/EndNoteTag.1
new file mode 100644
index 0000000000..25698be628
--- /dev/null
+++ b/biblio/bibtex/utils/r2bib/EndNoteTag.1
@@ -0,0 +1,87 @@
+.TH "EndNoteTag" 1 "Mon Dec 7 2015" "Version 2015-12-07" "r2bib" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+EndNoteTag \- change tags in EndNote input files
+.PP
+.SH "SYNOPSIS "
+.PP
+.PP
+EndNoteTag [-R] aA [bB c dD \&.\&.\&.]
+.PP
+.SH "DESCRIPTION "
+.PP
+.PP
+\fIEndNoteTag\fP reads the standard input and writes on standard output, which means it is a UNIX pipe\&.
+.PP
+\fIEndNoteTag\fP copies the standard input to the standard output and modifies EndNote tags (that is lines which start with a percent sign followed by a single letter or number-subsequently called a tag-and a blank) which are either substituted by other tags or removed\&.
+.PP
+The action on each tagged line is defined by command line arguments which are either 2-letter words (indicating substitution, symbolized by combinations aA, bB or dD in the synopsis) or 1-letter words (indicating removal, symbolized by c in the synopsis)\&. For the case of 2-letter words, the first letter is the original tag and the second letter the tag on output, whereas the 1-letter words only show the tag to be removed\&.
+.PP
+The order of substitution/removal is determined by the order of command line arguments (left to right)\&. The are executed individually for each EndNote entry in that order\&.
+.PP
+If the option -R is used, the standard input is interpreted as having multi-letter tags followed by one blanks and a hyphen\&. In this case all remaining command line options are words where the last letter is the EndNote tag on output that replaces the RIS tag indicated by the first letters, and where all RIS tags not mentioned in any command line option are removed\&.
+.PP
+.SH "COMPILATION "
+.PP
+.PP
+On standard Unices the commands
+.PP
+autoreconf -i
+.PP
+\&./configure [--prefix=\&.\&.\&.\&.]
+.PP
+make install
+.PP
+compile and install the program\&.
+.PP
+.SH "EXAMPLES "
+.PP
+.PP
+EndNoteTag 1R < infile\&.end > outfile\&.end
+.PP
+Replaces the %1 tags by %R tags
+.PP
+EndNoteTag 1R ZA = < infile\&.end > outfile\&.end
+.PP
+Replaces the %1 tags by %R tags, replaces %Z tags by %A tags, and removes %= tags\&. Note that the original %R and %A tags stay, and one may end up with ambiguous double tags for these\&.
+.PP
+EndNoteTag 1t 21 t2 < infile\&.end > outfile\&.end
+.PP
+Swaps %1 and %2 tags (the intermediate %t tags do not survive the actions) and replaces %t tags by %1 tags\&.
+.PP
+EndNoteTag R < infile\&.end > outfile\&.end
+.PP
+Remove %R tags
+.PP
+cat infile\&.end | EndNoteTag KR RA
+.PP
+Replace %K tags or %R tags effectively by %A tags \&.
+.PP
+cat infile\&.end | EndNoteTag KR R > outfile\&.end
+.PP
+Remove %K tags and %R tags\&. For the original %R tags, the first command line argument has no effect, but for the original %K tags, they are changed to %R tags by the first command line argument, and then removed on behalf of the second command line argument\&.
+.PP
+EndNoteTag R KR < infile\&.end
+.PP
+Original %R tags are removed\&. Original %K tags become %R tags\&. Note the difference to the previous example which used a different order of the command line arguments\&.
+.PP
+EndNoteTag -R T2 AUA < infile\&.ris
+.PP
+Original tags of the AU format are changed to %A EndNote tags\&. All other tags are removed\&.
+.PP
+EndNoteTag -R T2 'AU A' 'TITT' < infile\&.ris
+.PP
+Original tags of the AU format are changed to %A EndNote tags, and tags of the TIT format are changed to %T EndNote tags\&. All other tags are removed\&. The command line arguments are put into single quotes to prevent the shell from interpreting the blank in the AU tags as a delimiter between command line arguments\&.
+.PP
+.SH "NOTES "
+.PP
+.PP
+A list of tags in an EndNote file is obtained for UNIX systems with
+.PP
+sed -n '/^%/p' < infile\&.end | cut -b1,2 | sort -u
+.PP
+.SH "AUTHOR "
+.PP
+.PP
+Richard J\&. Mathar, http://www.mpia.de/~mathar
diff --git a/biblio/bibtex/utils/r2bib/EndNoteTag.cxx b/biblio/bibtex/utils/r2bib/EndNoteTag.cxx
new file mode 100644
index 0000000000..fd2995cc08
--- /dev/null
+++ b/biblio/bibtex/utils/r2bib/EndNoteTag.cxx
@@ -0,0 +1,148 @@
+/**
+* The documentation is kept in the UNIX man page EndNoteTag.1 .
+* @since 2007-06-13
+* @author Richard J. Mathar
+*/
+#include <iostream>
+#include <cstring>
+#include <unistd.h>
+
+using namespace std ;
+
+/**
+* @return 0 if successful, 1 if the syntax is not met.
+* @since 2007-06-12
+* @author Richard J. Mathar
+*/
+int main(int argc, char*argv[])
+{
+
+ /* command line option */
+ int c ;
+
+ /* 0 if EndNote standard input, 1 if RIS */
+ int ristype =0 ;
+
+ /* the length of the tag for RIS type inputs */
+ int rislen = -1 ;
+
+ while ( (c=getopt(argc,argv,"R")) != -1)
+ {
+ switch(c)
+ {
+ case 'R':
+ ristype=1 ;
+ break ;
+ case '?':
+ cerr << argv[0] << ": invalid command line option " << optarg << endl ;
+ return 1 ;
+ }
+ }
+
+ /* States 0 = noop, 1=replace, 2 =remove. Supposed we do not see any more
+ * command line arguments, the default is noop for EndNote and remove for RIS.
+ */
+ int state = ristype ? 2 : 0 ;
+
+ if ( optind >= argc )
+ {
+ cerr << argv[0] << " needs at least one command line argument for useful operation\n" ;
+ return 1 ;
+ }
+
+ /* for EndNote inputs, demand 1 or 2-letter command line arguments
+ */
+ if ( ! ristype)
+ for(int c = optind ; c < argc; c++)
+ {
+ if ( strlen(argv[c]) > 2+ristype )
+ {
+ cerr << argv[0] << " invalid length of argument " << argv[c] << endl ;
+ return 1 ;
+ }
+ }
+
+ /* loop over all lines of the standard input.
+ */
+ while ( !cin.eof() )
+ {
+ string buf ;
+ getline(cin,buf) ;
+
+ /* Check if this starts a new tag. This is done naively: tags are all lines at least two characters long.
+ * EndNote tags must start with a percent sign as the first character. RIS tags are any two characters
+ * followed by one or two blanks (one blank is actually a non-standard faulty format), a dash and at
+ * least one more blank.
+ */
+ if ( buf.size() >= 2 )
+ {
+ /* try to autodetect the length of the RIS Tags */
+ if (ristype && rislen < 0 )
+ {
+ /* search for the exact position of the RIS tag, independent on
+ * how many blanks are between the tag and the dash.
+ */
+ const int firstd = buf.find(" - ") ;
+ if ( firstd != string::npos )
+ rislen = firstd ;
+ }
+
+ if ( buf[0] == '%' && !ristype || ristype && rislen >=0 && buf.compare(rislen,3," - ",3) == 0 )
+ {
+ /* reset state to default.
+ */
+ state= ristype ? 2 : 0 ;
+ for(int c=optind ; c < argc ; c++)
+ {
+ /* query whether this is a tag that is mentioned in the command line arguments.
+ */
+ if ( ristype)
+ {
+ /* for RIS type inputs, command line arguments must be 3-letter words
+ */
+ if ( strlen(argv[c]) != rislen+1 )
+ {
+ cerr << argv[0] << " invalid length of argument " << argv[c] << endl ;
+ return 1 ;
+ }
+
+ /* search for the exact position of the RIS tag, independent on
+ * how many blanks are between the tag and the dash.
+ */
+ const int firstd = buf.find(" - ") ;
+ if ( buf.compare(0,2,argv[c],2) == 0 )
+ {
+ buf.replace(0,1,"%") ;
+ buf.replace(1,1+firstd,&argv[c][2]) ;
+ state = 1 ;
+ }
+ }
+ else
+ {
+ if ( buf[1] == argv[c][0] )
+ {
+ if ( strlen(argv[c]) == 1 )
+ state = 2 ;
+ else
+ {
+ state = 1 ;
+ buf.replace(1,1,&argv[c][1]) ;
+ }
+ }
+ }
+ }
+ }
+ }
+ /* blank lines reset the state */
+ else if ( buf.size() == 0 )
+ {
+ state= ristype ? 2 : 0 ;
+ }
+
+ /* print potentially modified line
+ */
+ if ( state != 2 )
+ cout << buf << endl ;
+ }
+ return 0 ;
+}
diff --git a/biblio/bibtex/utils/r2bib/INSTALL b/biblio/bibtex/utils/r2bib/INSTALL
new file mode 100644
index 0000000000..2bf3d33a45
--- /dev/null
+++ b/biblio/bibtex/utils/r2bib/INSTALL
@@ -0,0 +1,30 @@
+Compilation of the executables is based on the GNU autotools:
+
+autoreconf -i
+./configure # optionally with --prefix=....installation directory
+make install
+
+Alternatively the gcc compiler and/or lex compilers can be used,
+in the minimalistic cases without optimization similar to:
+
+ cc -o EndNote2bib EndNote2bib.c
+ cc -o dosToTex dosToTex.c
+ cc -o r2bib r2bib.c
+ c++ -o EndNoteTag EndNoteTag.cxx
+
+In particular, some tuning of the behavior of ansel2uni(1) is only
+supported by running lex(1) and cc(1) separately, using preprocessor
+options for the later.
+
+The man(1) pages installed above may require an update of the database in the MANPATH:
+ echo $MANPATH
+ mandb man
+
+Otherwise they can be looked at in the style of nroff(1) through a pager,
+ nroff -man EndNote2bib.1 | more
+ nroff -man EndNoteTag.1 | more
+ nroff -man risDateAdj.1 | more
+ nroff -man wileyEndNoteFilt.1 | more
+ nroff -man ansel2uni.1 | more
+ nroff -man dosToTex.1 | more
+ nroff -man r2bib.1 | more
diff --git a/biblio/bibtex/utils/r2bib/Makefile.am b/biblio/bibtex/utils/r2bib/Makefile.am
new file mode 100644
index 0000000000..fbac79fed5
--- /dev/null
+++ b/biblio/bibtex/utils/r2bib/Makefile.am
@@ -0,0 +1,21 @@
+ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS}
+
+AM_LFLAGS= -i
+
+bin_PROGRAMS = EndNote2bib EndNoteTag dosToTex wileyEndNoteFilt risDateAdj ansel2uni r2bib
+
+dist_man_MANS = EndNote2bib.1 EndNoteTag.1 ansel2uni.1 dosToTex.1 r2bib.1 wileyEndNoteFilt.1
+
+dosToTex_SOURCES = dosToTex.c
+
+r2bib_SOURCES = r2bib.c
+
+EndNote2bib_SOURCES = EndNote2bib.c
+
+EndNoteTag_SOURCES = EndNoteTag.cxx
+
+wileyEndNoteFilt_SOURCES = wileyEndNoteFilt.ll
+
+risDateAdj_SOURCES = risDateAdj.ll
+
+ansel2uni_SOURCES = ansel2uni.ll
diff --git a/biblio/bibtex/utils/r2bib/Makefile.in b/biblio/bibtex/utils/r2bib/Makefile.in
new file mode 100644
index 0000000000..9d1f91c703
--- /dev/null
+++ b/biblio/bibtex/utils/r2bib/Makefile.in
@@ -0,0 +1,937 @@
+# Makefile.in generated by automake 1.13.4 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+bin_PROGRAMS = EndNote2bib$(EXEEXT) EndNoteTag$(EXEEXT) \
+ dosToTex$(EXEEXT) wileyEndNoteFilt$(EXEEXT) \
+ risDateAdj$(EXEEXT) ansel2uni$(EXEEXT) r2bib$(EXEEXT)
+subdir = .
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+ $(top_srcdir)/configure $(am__configure_deps) \
+ $(srcdir)/config.h.in ansel2uni.cc risDateAdj.cc \
+ wileyEndNoteFilt.cc depcomp ylwrap $(dist_man_MANS) ChangeLog \
+ INSTALL README install-sh missing
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
+ configure.lineno config.status.lineno
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
+PROGRAMS = $(bin_PROGRAMS)
+am_EndNote2bib_OBJECTS = EndNote2bib.$(OBJEXT)
+EndNote2bib_OBJECTS = $(am_EndNote2bib_OBJECTS)
+EndNote2bib_LDADD = $(LDADD)
+am_EndNoteTag_OBJECTS = EndNoteTag.$(OBJEXT)
+EndNoteTag_OBJECTS = $(am_EndNoteTag_OBJECTS)
+EndNoteTag_LDADD = $(LDADD)
+am_ansel2uni_OBJECTS = ansel2uni.$(OBJEXT)
+ansel2uni_OBJECTS = $(am_ansel2uni_OBJECTS)
+ansel2uni_LDADD = $(LDADD)
+am_dosToTex_OBJECTS = dosToTex.$(OBJEXT)
+dosToTex_OBJECTS = $(am_dosToTex_OBJECTS)
+dosToTex_LDADD = $(LDADD)
+am_r2bib_OBJECTS = r2bib.$(OBJEXT)
+r2bib_OBJECTS = $(am_r2bib_OBJECTS)
+r2bib_LDADD = $(LDADD)
+am_risDateAdj_OBJECTS = risDateAdj.$(OBJEXT)
+risDateAdj_OBJECTS = $(am_risDateAdj_OBJECTS)
+risDateAdj_LDADD = $(LDADD)
+am_wileyEndNoteFilt_OBJECTS = wileyEndNoteFilt.$(OBJEXT)
+wileyEndNoteFilt_OBJECTS = $(am_wileyEndNoteFilt_OBJECTS)
+wileyEndNoteFilt_LDADD = $(LDADD)
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+DEFAULT_INCLUDES = -I.@am__isrc@
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+am__mv = mv -f
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+AM_V_CC = $(am__v_CC_@AM_V@)
+am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
+am__v_CC_0 = @echo " CC " $@;
+am__v_CC_1 =
+CCLD = $(CC)
+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+AM_V_CCLD = $(am__v_CCLD_@AM_V@)
+am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
+am__v_CCLD_0 = @echo " CCLD " $@;
+am__v_CCLD_1 =
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+AM_V_CXX = $(am__v_CXX_@AM_V@)
+am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
+am__v_CXX_0 = @echo " CXX " $@;
+am__v_CXX_1 =
+CXXLD = $(CXX)
+CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
+ -o $@
+AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
+am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
+am__v_CXXLD_0 = @echo " CXXLD " $@;
+am__v_CXXLD_1 =
+LEXCOMPILE = $(LEX) $(AM_LFLAGS) $(LFLAGS)
+AM_V_LEX = $(am__v_LEX_@AM_V@)
+am__v_LEX_ = $(am__v_LEX_@AM_DEFAULT_V@)
+am__v_LEX_0 = @echo " LEX " $@;
+am__v_LEX_1 =
+YLWRAP = $(top_srcdir)/ylwrap
+SOURCES = $(EndNote2bib_SOURCES) $(EndNoteTag_SOURCES) \
+ $(ansel2uni_SOURCES) $(dosToTex_SOURCES) $(r2bib_SOURCES) \
+ $(risDateAdj_SOURCES) $(wileyEndNoteFilt_SOURCES)
+DIST_SOURCES = $(EndNote2bib_SOURCES) $(EndNoteTag_SOURCES) \
+ $(ansel2uni_SOURCES) $(dosToTex_SOURCES) $(r2bib_SOURCES) \
+ $(risDateAdj_SOURCES) $(wileyEndNoteFilt_SOURCES)
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+man1dir = $(mandir)/man1
+NROFF = nroff
+MANS = $(dist_man_MANS)
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
+ $(LISP)config.h.in
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
+ETAGS = etags
+CTAGS = ctags
+CSCOPE = cscope
+AM_RECURSIVE_TARGETS = cscope
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+distdir = $(PACKAGE)-$(VERSION)
+top_distdir = $(distdir)
+am__remove_distdir = \
+ if test -d "$(distdir)"; then \
+ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
+ && rm -rf "$(distdir)" \
+ || { sleep 5 && rm -rf "$(distdir)"; }; \
+ else :; fi
+am__post_remove_distdir = $(am__remove_distdir)
+DIST_ARCHIVES = $(distdir).tar.gz
+GZIP_ENV = --best
+DIST_TARGETS = dist-gzip
+distuninstallcheck_listfiles = find . -type f -print
+am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
+ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
+distcleancheck_listfiles = find . -type f -print
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+GREP = @GREP@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LDFLAGS = @LDFLAGS@
+LEX = @LEX@
+LEXLIB = @LEXLIB@
+LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MKDIR_P = @MKDIR_P@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build_alias = @build_alias@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host_alias = @host_alias@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS}
+AM_LFLAGS = -i
+dist_man_MANS = EndNote2bib.1 EndNoteTag.1 ansel2uni.1 dosToTex.1 r2bib.1 wileyEndNoteFilt.1
+dosToTex_SOURCES = dosToTex.c
+r2bib_SOURCES = r2bib.c
+EndNote2bib_SOURCES = EndNote2bib.c
+EndNoteTag_SOURCES = EndNoteTag.cxx
+wileyEndNoteFilt_SOURCES = wileyEndNoteFilt.ll
+risDateAdj_SOURCES = risDateAdj.ll
+ansel2uni_SOURCES = ansel2uni.ll
+all: config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-am
+
+.SUFFIXES:
+.SUFFIXES: .c .cc .cxx .ll .o .obj
+am--refresh: Makefile
+ @:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
+ $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --foreign Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ echo ' $(SHELL) ./config.status'; \
+ $(SHELL) ./config.status;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ $(SHELL) ./config.status --recheck
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ $(am__cd) $(srcdir) && $(AUTOCONF)
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+$(am__aclocal_m4_deps):
+
+config.h: stamp-h1
+ @if test ! -f $@; then rm -f stamp-h1; else :; fi
+ @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
+
+stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
+ @rm -f stamp-h1
+ cd $(top_builddir) && $(SHELL) ./config.status config.h
+$(srcdir)/config.h.in: $(am__configure_deps)
+ ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
+ rm -f stamp-h1
+ touch $@
+
+distclean-hdr:
+ -rm -f config.h stamp-h1
+install-binPROGRAMS: $(bin_PROGRAMS)
+ @$(NORMAL_INSTALL)
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
+ fi; \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed 's/$(EXEEXT)$$//' | \
+ while read p p1; do if test -f $$p \
+ ; then echo "$$p"; echo "$$p"; else :; fi; \
+ done | \
+ sed -e 'p;s,.*/,,;n;h' \
+ -e 's|.*|.|' \
+ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
+ sed 'N;N;N;s,\n, ,g' | \
+ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
+ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
+ if ($$2 == $$4) files[d] = files[d] " " $$1; \
+ else { print "f", $$3 "/" $$4, $$1; } } \
+ END { for (d in files) print "f", d, files[d] }' | \
+ while read type dir files; do \
+ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
+ test -z "$$files" || { \
+ echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
+ $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
+ } \
+ ; done
+
+uninstall-binPROGRAMS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
+ files=`for p in $$list; do echo "$$p"; done | \
+ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
+ -e 's/$$/$(EXEEXT)/' \
+ `; \
+ test -n "$$list" || exit 0; \
+ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
+ cd "$(DESTDIR)$(bindir)" && rm -f $$files
+
+clean-binPROGRAMS:
+ -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+
+EndNote2bib$(EXEEXT): $(EndNote2bib_OBJECTS) $(EndNote2bib_DEPENDENCIES) $(EXTRA_EndNote2bib_DEPENDENCIES)
+ @rm -f EndNote2bib$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(EndNote2bib_OBJECTS) $(EndNote2bib_LDADD) $(LIBS)
+
+EndNoteTag$(EXEEXT): $(EndNoteTag_OBJECTS) $(EndNoteTag_DEPENDENCIES) $(EXTRA_EndNoteTag_DEPENDENCIES)
+ @rm -f EndNoteTag$(EXEEXT)
+ $(AM_V_CXXLD)$(CXXLINK) $(EndNoteTag_OBJECTS) $(EndNoteTag_LDADD) $(LIBS)
+
+ansel2uni$(EXEEXT): $(ansel2uni_OBJECTS) $(ansel2uni_DEPENDENCIES) $(EXTRA_ansel2uni_DEPENDENCIES)
+ @rm -f ansel2uni$(EXEEXT)
+ $(AM_V_CXXLD)$(CXXLINK) $(ansel2uni_OBJECTS) $(ansel2uni_LDADD) $(LIBS)
+
+dosToTex$(EXEEXT): $(dosToTex_OBJECTS) $(dosToTex_DEPENDENCIES) $(EXTRA_dosToTex_DEPENDENCIES)
+ @rm -f dosToTex$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(dosToTex_OBJECTS) $(dosToTex_LDADD) $(LIBS)
+
+r2bib$(EXEEXT): $(r2bib_OBJECTS) $(r2bib_DEPENDENCIES) $(EXTRA_r2bib_DEPENDENCIES)
+ @rm -f r2bib$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(r2bib_OBJECTS) $(r2bib_LDADD) $(LIBS)
+
+risDateAdj$(EXEEXT): $(risDateAdj_OBJECTS) $(risDateAdj_DEPENDENCIES) $(EXTRA_risDateAdj_DEPENDENCIES)
+ @rm -f risDateAdj$(EXEEXT)
+ $(AM_V_CXXLD)$(CXXLINK) $(risDateAdj_OBJECTS) $(risDateAdj_LDADD) $(LIBS)
+
+wileyEndNoteFilt$(EXEEXT): $(wileyEndNoteFilt_OBJECTS) $(wileyEndNoteFilt_DEPENDENCIES) $(EXTRA_wileyEndNoteFilt_DEPENDENCIES)
+ @rm -f wileyEndNoteFilt$(EXEEXT)
+ $(AM_V_CXXLD)$(CXXLINK) $(wileyEndNoteFilt_OBJECTS) $(wileyEndNoteFilt_LDADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/EndNote2bib.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/EndNoteTag.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ansel2uni.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dosToTex.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/r2bib.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/risDateAdj.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wileyEndNoteFilt.Po@am__quote@
+
+.c.o:
+@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
+
+.c.obj:
+@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
+@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.cc.o:
+@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
+@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $<
+
+.cc.obj:
+@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
+@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
+@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.cxx.o:
+@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
+@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $<
+
+.cxx.obj:
+@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
+@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
+@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.ll.cc:
+ $(AM_V_LEX)$(am__skiplex) $(SHELL) $(YLWRAP) $< $(LEX_OUTPUT_ROOT).c $@ -- $(LEXCOMPILE)
+install-man1: $(dist_man_MANS)
+ @$(NORMAL_INSTALL)
+ @list1=''; \
+ list2='$(dist_man_MANS)'; \
+ test -n "$(man1dir)" \
+ && test -n "`echo $$list1$$list2`" \
+ || exit 0; \
+ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
+ { for i in $$list1; do echo "$$i"; done; \
+ if test -n "$$list2"; then \
+ for i in $$list2; do echo "$$i"; done \
+ | sed -n '/\.1[a-z]*$$/p'; \
+ fi; \
+ } | while read p; do \
+ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; echo "$$p"; \
+ done | \
+ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
+ sed 'N;N;s,\n, ,g' | { \
+ list=; while read file base inst; do \
+ if test "$$base" = "$$inst"; then list="$$list $$file"; else \
+ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
+ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
+ fi; \
+ done; \
+ for i in $$list; do echo "$$i"; done | $(am__base_list) | \
+ while read files; do \
+ test -z "$$files" || { \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
+ done; }
+
+uninstall-man1:
+ @$(NORMAL_UNINSTALL)
+ @list=''; test -n "$(man1dir)" || exit 0; \
+ files=`{ for i in $$list; do echo "$$i"; done; \
+ l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \
+ sed -n '/\.1[a-z]*$$/p'; \
+ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
+ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
+
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-am
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ set x; \
+ here=`pwd`; \
+ $(am__define_uniq_tagged_files); \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: ctags-am
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+cscope: cscope.files
+ test ! -s cscope.files \
+ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
+clean-cscope:
+ -rm -f cscope.files
+cscope.files: clean-cscope cscopelist
+cscopelist: cscopelist-am
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+ -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
+
+distdir: $(DISTFILES)
+ $(am__remove_distdir)
+ test -d "$(distdir)" || mkdir "$(distdir)"
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+ -test -n "$(am__skip_mode_fix)" \
+ || find "$(distdir)" -type d ! -perm -755 \
+ -exec chmod u+rwx,go+rx {} \; -o \
+ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
+ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
+ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
+ || chmod -R a+r "$(distdir)"
+dist-gzip: distdir
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+ $(am__post_remove_distdir)
+
+dist-bzip2: distdir
+ tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
+ $(am__post_remove_distdir)
+
+dist-lzip: distdir
+ tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
+ $(am__post_remove_distdir)
+
+dist-xz: distdir
+ tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
+ $(am__post_remove_distdir)
+
+dist-tarZ: distdir
+ tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
+ $(am__post_remove_distdir)
+
+dist-shar: distdir
+ shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
+ $(am__post_remove_distdir)
+
+dist-zip: distdir
+ -rm -f $(distdir).zip
+ zip -rq $(distdir).zip $(distdir)
+ $(am__post_remove_distdir)
+
+dist dist-all:
+ $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
+ $(am__post_remove_distdir)
+
+# This target untars the dist file and tries a VPATH configuration. Then
+# it guarantees that the distribution is self-contained by making another
+# tarfile.
+distcheck: dist
+ case '$(DIST_ARCHIVES)' in \
+ *.tar.gz*) \
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
+ *.tar.bz2*) \
+ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
+ *.tar.lz*) \
+ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
+ *.tar.xz*) \
+ xz -dc $(distdir).tar.xz | $(am__untar) ;;\
+ *.tar.Z*) \
+ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
+ *.shar.gz*) \
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
+ *.zip*) \
+ unzip $(distdir).zip ;;\
+ esac
+ chmod -R a-w $(distdir)
+ chmod u+w $(distdir)
+ mkdir $(distdir)/_build $(distdir)/_inst
+ chmod a-w $(distdir)
+ test -d $(distdir)/_build || exit 0; \
+ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
+ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
+ && am__cwd=`pwd` \
+ && $(am__cd) $(distdir)/_build \
+ && ../configure --srcdir=.. --prefix="$$dc_install_base" \
+ $(AM_DISTCHECK_CONFIGURE_FLAGS) \
+ $(DISTCHECK_CONFIGURE_FLAGS) \
+ && $(MAKE) $(AM_MAKEFLAGS) \
+ && $(MAKE) $(AM_MAKEFLAGS) dvi \
+ && $(MAKE) $(AM_MAKEFLAGS) check \
+ && $(MAKE) $(AM_MAKEFLAGS) install \
+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+ && $(MAKE) $(AM_MAKEFLAGS) uninstall \
+ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
+ distuninstallcheck \
+ && chmod -R a-w "$$dc_install_base" \
+ && ({ \
+ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
+ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
+ } || { rm -rf "$$dc_destdir"; exit 1; }) \
+ && rm -rf "$$dc_destdir" \
+ && $(MAKE) $(AM_MAKEFLAGS) dist \
+ && rm -rf $(DIST_ARCHIVES) \
+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
+ && cd "$$am__cwd" \
+ || exit 1
+ $(am__post_remove_distdir)
+ @(echo "$(distdir) archives ready for distribution: "; \
+ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
+ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
+distuninstallcheck:
+ @test -n '$(distuninstallcheck_dir)' || { \
+ echo 'ERROR: trying to run $@ with an empty' \
+ '$$(distuninstallcheck_dir)' >&2; \
+ exit 1; \
+ }; \
+ $(am__cd) '$(distuninstallcheck_dir)' || { \
+ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
+ exit 1; \
+ }; \
+ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
+ || { echo "ERROR: files left after uninstall:" ; \
+ if test -n "$(DESTDIR)"; then \
+ echo " (check DESTDIR support)"; \
+ fi ; \
+ $(distuninstallcheck_listfiles) ; \
+ exit 1; } >&2
+distcleancheck: distclean
+ @if test '$(srcdir)' = . ; then \
+ echo "ERROR: distcleancheck can only run from a VPATH build" ; \
+ exit 1 ; \
+ fi
+ @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
+ || { echo "ERROR: files left in build directory after distclean:" ; \
+ $(distcleancheck_listfiles) ; \
+ exit 1; } >&2
+check-am: all-am
+check: check-am
+all-am: Makefile $(PROGRAMS) $(MANS) config.h
+installdirs:
+ for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+ -rm -f ansel2uni.cc
+ -rm -f risDateAdj.cc
+ -rm -f wileyEndNoteFilt.cc
+clean: clean-am
+
+clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
+
+distclean: distclean-am
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-hdr distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am: install-man
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am: install-binPROGRAMS
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man: install-man1
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+ -rm -rf $(top_srcdir)/autom4te.cache
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-binPROGRAMS uninstall-man
+
+uninstall-man: uninstall-man1
+
+.MAKE: all install-am install-strip
+
+.PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-am clean \
+ clean-binPROGRAMS clean-cscope clean-generic cscope \
+ cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
+ dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
+ distcheck distclean distclean-compile distclean-generic \
+ distclean-hdr distclean-tags distcleancheck distdir \
+ distuninstallcheck dvi dvi-am html html-am info info-am \
+ install install-am install-binPROGRAMS install-data \
+ install-data-am install-dvi install-dvi-am install-exec \
+ install-exec-am install-html install-html-am install-info \
+ install-info-am install-man install-man1 install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ installcheck installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
+ mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \
+ uninstall-am uninstall-binPROGRAMS uninstall-man \
+ uninstall-man1
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/biblio/bibtex/utils/r2bib/README b/biblio/bibtex/utils/r2bib/README
new file mode 100644
index 0000000000..da3dfb5bd1
--- /dev/null
+++ b/biblio/bibtex/utils/r2bib/README
@@ -0,0 +1,70 @@
+SYNOPSES
+
+ EndNote2bib [-h|-q]
+ risDateAdj
+ EndNoteTag
+ wileyEndNoteFilt
+ dosToTex [-1|-u|-h]
+ ansel2uni
+
+i) r2bib and EndNote2bib convert refer and EndNote bibliography lists
+into the BibTeX format, respectively.
+
+ii) An auxiliary filter program dosToTex, also written in C, is included to ease the
+transition from PC/Windows 8-bit character representation (which presumably was
+the standard in the EndNote input files up to EndNote 8) to the backslashed
+escape sequences that are (more or less) the standard in BibTeX.
+
+iii) Another independent filter program, EndNoteTag, written in C++, is made available
+to change the tags in EndNote files or to convert RIS tags to EndNote tags.
+The main use is to re-map tags of an EndNote file on the fly if these do not
+match the tags within EndNote2bib.
+
+There are three auxiliary programs delivered in lex (flex) source format:
+
+iv) The program wileyEndNoteFilt recomposes author and editor tags of
+the input stream (an EndNote file) such that mutiple, comma-separated
+authors in single %E or %A lines are shuffled into multiple lines, each
+containg only a single person.
+
+v) The filter program ansel2uni transforms an input stream encoded according
+to the ANSEL specification to an UTF-8 character set. In a LaTeX environment,
+this is presumably a preprocessor to "recode u8..tex" to end up with a TeX encoding.
+
+vi) The filter program risDateAdj adjusts dates of non-standard
+formats in the Y1, PY and Y2 fields of RIS files. This is a preprocessor
+which patches these files prior to use with ris2xml(1), for example, and
+basically unrelated to EndNote bibilographies.
+
+SEE ALSO
+
+Further reading:
+http://en.wikipedia.org/wiki/EndNote
+http://www.endnote.com
+http://www.ctan.org/tex-archive/biblio/bibtex/utils/r2bib/
+http://www.ctan.org/tex-archive/biblio/bibtex/utils/refer-tools/
+http://interbib.stanford.edu/
+http://sourceforge.net/p/bibutils/home/Bibutils/
+http://lucy.ukc.ac.uk/Makhzan/refer.html
+http://www.w3.org/Tools/Word_proc_filters.html
+
+For the inverse functionality see
+http://www.ctan.org/tex-archive/biblio/bibtex/contrib/misc/refer.bst
+http://www.ee.columbia.edu/dvmm/imanager/convert.txt
+http://liinwww.ira.uka.de/bibliography/Bib.Format.html
+
+HISTORY
+
+The program r2bib (the C source r2bib.c and troff manual r2bib.1) came from
+Rusty Wright, Center for Music Experiment, University of California San Diego,
+see ftp://ftp.cs.tu-berlin.de/pub/TeX/TeX-3.141/contributions/TeXcontrib/rusty/r2bib .
+Both files are included as existing in CTAN with a time stamp of 3 Oct 1990.
+(He started it!). This is left untouched except for #inclus'ion of two more C
+header files (plus removal of explicit declarations of malloc, realloc) to
+avoid gcc rejection of the source.
+A variant is in http://stuff.mit.edu/afs/athena/contrib/potluck/src/refer2tex/ .
+
+AUTHOR
+
+Richard J. Mathar http://www.mpia.de/~mathar
+Dec 06, 2015
diff --git a/biblio/bibtex/utils/r2bib/aclocal.m4 b/biblio/bibtex/utils/r2bib/aclocal.m4
new file mode 100644
index 0000000000..4ad4de2cff
--- /dev/null
+++ b/biblio/bibtex/utils/r2bib/aclocal.m4
@@ -0,0 +1,1057 @@
+# generated automatically by aclocal 1.13.4 -*- Autoconf -*-
+
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
+
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
+m4_ifndef([AC_AUTOCONF_VERSION],
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
+[m4_warning([this file was generated for autoconf 2.69.
+You have another version of autoconf. It may work, but is not guaranteed to.
+If you have problems, you may need to regenerate the build system entirely.
+To do so, use the procedure documented by the package, typically 'autoreconf'.])])
+
+# Copyright (C) 2002-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_AUTOMAKE_VERSION(VERSION)
+# ----------------------------
+# Automake X.Y traces this macro to ensure aclocal.m4 has been
+# generated from the m4 files accompanying Automake X.Y.
+# (This private macro should not be called outside this file.)
+AC_DEFUN([AM_AUTOMAKE_VERSION],
+[am__api_version='1.13'
+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
+dnl require some minimum version. Point them to the right macro.
+m4_if([$1], [1.13.4], [],
+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
+])
+
+# _AM_AUTOCONF_VERSION(VERSION)
+# -----------------------------
+# aclocal traces this macro to find the Autoconf version.
+# This is a private macro too. Using m4_define simplifies
+# the logic in aclocal, which can simply ignore this definition.
+m4_define([_AM_AUTOCONF_VERSION], [])
+
+# AM_SET_CURRENT_AUTOMAKE_VERSION
+# -------------------------------
+# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
+# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
+[AM_AUTOMAKE_VERSION([1.13.4])dnl
+m4_ifndef([AC_AUTOCONF_VERSION],
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
+
+# AM_AUX_DIR_EXPAND -*- Autoconf -*-
+
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
+# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
+# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
+#
+# Of course, Automake must honor this variable whenever it calls a
+# tool from the auxiliary directory. The problem is that $srcdir (and
+# therefore $ac_aux_dir as well) can be either absolute or relative,
+# depending on how configure is run. This is pretty annoying, since
+# it makes $ac_aux_dir quite unusable in subdirectories: in the top
+# source directory, any form will work fine, but in subdirectories a
+# relative path needs to be adjusted first.
+#
+# $ac_aux_dir/missing
+# fails when called from a subdirectory if $ac_aux_dir is relative
+# $top_srcdir/$ac_aux_dir/missing
+# fails if $ac_aux_dir is absolute,
+# fails when called from a subdirectory in a VPATH build with
+# a relative $ac_aux_dir
+#
+# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
+# are both prefixed by $srcdir. In an in-source build this is usually
+# harmless because $srcdir is '.', but things will broke when you
+# start a VPATH build or use an absolute $srcdir.
+#
+# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
+# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
+# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
+# and then we would define $MISSING as
+# MISSING="\${SHELL} $am_aux_dir/missing"
+# This will work as long as MISSING is not called from configure, because
+# unfortunately $(top_srcdir) has no meaning in configure.
+# However there are other variables, like CC, which are often used in
+# configure, and could therefore not use this "fixed" $ac_aux_dir.
+#
+# Another solution, used here, is to always expand $ac_aux_dir to an
+# absolute PATH. The drawback is that using absolute paths prevent a
+# configured tree to be moved without reconfiguration.
+
+AC_DEFUN([AM_AUX_DIR_EXPAND],
+[dnl Rely on autoconf to set up CDPATH properly.
+AC_PREREQ([2.50])dnl
+# expand $ac_aux_dir to an absolute path
+am_aux_dir=`cd $ac_aux_dir && pwd`
+])
+
+# AM_CONDITIONAL -*- Autoconf -*-
+
+# Copyright (C) 1997-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_CONDITIONAL(NAME, SHELL-CONDITION)
+# -------------------------------------
+# Define a conditional.
+AC_DEFUN([AM_CONDITIONAL],
+[AC_PREREQ([2.52])dnl
+ m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
+ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
+AC_SUBST([$1_TRUE])dnl
+AC_SUBST([$1_FALSE])dnl
+_AM_SUBST_NOTMAKE([$1_TRUE])dnl
+_AM_SUBST_NOTMAKE([$1_FALSE])dnl
+m4_define([_AM_COND_VALUE_$1], [$2])dnl
+if $2; then
+ $1_TRUE=
+ $1_FALSE='#'
+else
+ $1_TRUE='#'
+ $1_FALSE=
+fi
+AC_CONFIG_COMMANDS_PRE(
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
+ AC_MSG_ERROR([[conditional "$1" was never defined.
+Usually this means the macro was only invoked conditionally.]])
+fi])])
+
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+
+# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
+# written in clear, in which case automake, when reading aclocal.m4,
+# will think it sees a *use*, and therefore will trigger all it's
+# C support machinery. Also note that it means that autoscan, seeing
+# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
+
+
+# _AM_DEPENDENCIES(NAME)
+# ----------------------
+# See how the compiler implements dependency checking.
+# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
+# We try a few techniques and use that to set a single cache variable.
+#
+# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
+# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
+# dependency, and given that the user is not expected to run this macro,
+# just rely on AC_PROG_CC.
+AC_DEFUN([_AM_DEPENDENCIES],
+[AC_REQUIRE([AM_SET_DEPDIR])dnl
+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl
+AC_REQUIRE([AM_DEP_TRACK])dnl
+
+m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
+ [$1], [CXX], [depcc="$CXX" am_compiler_list=],
+ [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
+ [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
+ [$1], [UPC], [depcc="$UPC" am_compiler_list=],
+ [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
+ [depcc="$$1" am_compiler_list=])
+
+AC_CACHE_CHECK([dependency style of $depcc],
+ [am_cv_$1_dependencies_compiler_type],
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named 'D' -- because '-MD' means "put the output
+ # in D".
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_$1_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
+ fi
+ am__universal=false
+ m4_case([$1], [CC],
+ [case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac],
+ [CXX],
+ [case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac])
+
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
+ # Solaris 10 /bin/sh.
+ echo '/* dummy */' > sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle '-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs.
+ am__obj=sub/conftest.${OBJEXT-o}
+ am__minus_obj="-o $am__obj"
+ case $depmode in
+ gcc)
+ # This depmode causes a compiler race in universal mode.
+ test "$am__universal" = false || continue
+ ;;
+ nosideeffect)
+ # After this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested.
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+ # This compiler won't grok '-c -o', but also, the minuso test has
+ # not run yet. These depmodes are late enough in the game, and
+ # so weak that their functioning should not be impacted.
+ am__obj=conftest.${OBJEXT-o}
+ am__minus_obj=
+ ;;
+ none) break ;;
+ esac
+ if depmode=$depmode \
+ source=sub/conftest.c object=$am__obj \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_$1_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_$1_dependencies_compiler_type=none
+fi
+])
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
+AM_CONDITIONAL([am__fastdep$1], [
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
+])
+
+
+# AM_SET_DEPDIR
+# -------------
+# Choose a directory name for dependency files.
+# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
+AC_DEFUN([AM_SET_DEPDIR],
+[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
+])
+
+
+# AM_DEP_TRACK
+# ------------
+AC_DEFUN([AM_DEP_TRACK],
+[AC_ARG_ENABLE([dependency-tracking], [dnl
+AS_HELP_STRING(
+ [--enable-dependency-tracking],
+ [do not reject slow dependency extractors])
+AS_HELP_STRING(
+ [--disable-dependency-tracking],
+ [speeds up one-time build])])
+if test "x$enable_dependency_tracking" != xno; then
+ am_depcomp="$ac_aux_dir/depcomp"
+ AMDEPBACKSLASH='\'
+ am__nodep='_no'
+fi
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
+AC_SUBST([AMDEPBACKSLASH])dnl
+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
+AC_SUBST([am__nodep])dnl
+_AM_SUBST_NOTMAKE([am__nodep])dnl
+])
+
+# Generate code to set up dependency tracking. -*- Autoconf -*-
+
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+
+# _AM_OUTPUT_DEPENDENCY_COMMANDS
+# ------------------------------
+AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
+[{
+ # Older Autoconf quotes --file arguments for eval, but not when files
+ # are listed without --file. Let's play safe and only enable the eval
+ # if we detect the quoting.
+ case $CONFIG_FILES in
+ *\'*) eval set x "$CONFIG_FILES" ;;
+ *) set x $CONFIG_FILES ;;
+ esac
+ shift
+ for mf
+ do
+ # Strip MF so we end up with the name of the file.
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
+ # Check whether this is an Automake generated Makefile or not.
+ # We used to match only the files named 'Makefile.in', but
+ # some people rename them; so instead we look at the file content.
+ # Grep'ing the first line is not enough: some people post-process
+ # each Makefile.in and add a new line on top of each file to say so.
+ # Grep'ing the whole file is not good either: AIX grep has a line
+ # limit of 2048, but all sed's we know have understand at least 4000.
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
+ dirpart=`AS_DIRNAME("$mf")`
+ else
+ continue
+ fi
+ # Extract the definition of DEPDIR, am__include, and am__quote
+ # from the Makefile without running 'make'.
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
+ test -z "$DEPDIR" && continue
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
+ test -z "$am__include" && continue
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
+ # Find all dependency output files, they are included files with
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
+ # simplest approach to changing $(DEPDIR) to its actual value in the
+ # expansion.
+ for file in `sed -n "
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
+ # Make sure the directory exists.
+ test -f "$dirpart/$file" && continue
+ fdir=`AS_DIRNAME(["$file"])`
+ AS_MKDIR_P([$dirpart/$fdir])
+ # echo "creating $dirpart/$file"
+ echo '# dummy' > "$dirpart/$file"
+ done
+ done
+}
+])# _AM_OUTPUT_DEPENDENCY_COMMANDS
+
+
+# AM_OUTPUT_DEPENDENCY_COMMANDS
+# -----------------------------
+# This macro should only be invoked once -- use via AC_REQUIRE.
+#
+# This code is only required when automatic dependency tracking
+# is enabled. FIXME. This creates each '.P' file that we will
+# need in order to bootstrap the dependency handling code.
+AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
+[AC_CONFIG_COMMANDS([depfiles],
+ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
+ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
+])
+
+# Do all the work for Automake. -*- Autoconf -*-
+
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This macro actually does too much. Some checks are only needed if
+# your package does certain things. But this isn't really a big deal.
+
+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
+# AM_INIT_AUTOMAKE([OPTIONS])
+# -----------------------------------------------
+# The call with PACKAGE and VERSION arguments is the old style
+# call (pre autoconf-2.50), which is being phased out. PACKAGE
+# and VERSION should now be passed to AC_INIT and removed from
+# the call to AM_INIT_AUTOMAKE.
+# We support both call styles for the transition. After
+# the next Automake release, Autoconf can make the AC_INIT
+# arguments mandatory, and then we can depend on a new Autoconf
+# release and drop the old call support.
+AC_DEFUN([AM_INIT_AUTOMAKE],
+[AC_PREREQ([2.65])dnl
+dnl Autoconf wants to disallow AM_ names. We explicitly allow
+dnl the ones we care about.
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
+AC_REQUIRE([AC_PROG_INSTALL])dnl
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
+ # is not polluted with repeated "-I."
+ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
+ # test to see if srcdir already configured
+ if test -f $srcdir/config.status; then
+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
+ fi
+fi
+
+# test whether we have cygpath
+if test -z "$CYGPATH_W"; then
+ if (cygpath --version) >/dev/null 2>/dev/null; then
+ CYGPATH_W='cygpath -w'
+ else
+ CYGPATH_W=echo
+ fi
+fi
+AC_SUBST([CYGPATH_W])
+
+# Define the identity of the package.
+dnl Distinguish between old-style and new-style calls.
+m4_ifval([$2],
+[AC_DIAGNOSE([obsolete],
+ [$0: two- and three-arguments forms are deprecated.])
+m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
+ AC_SUBST([PACKAGE], [$1])dnl
+ AC_SUBST([VERSION], [$2])],
+[_AM_SET_OPTIONS([$1])dnl
+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
+m4_if(
+ m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
+ [ok:ok],,
+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
+
+_AM_IF_OPTION([no-define],,
+[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
+ AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
+
+# Some tools Automake needs.
+AC_REQUIRE([AM_SANITY_CHECK])dnl
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
+AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
+AM_MISSING_PROG([AUTOCONF], [autoconf])
+AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
+AM_MISSING_PROG([AUTOHEADER], [autoheader])
+AM_MISSING_PROG([MAKEINFO], [makeinfo])
+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
+# For better backward compatibility. To be removed once Automake 1.9.x
+# dies out for good. For more background, see:
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
+# We need awk for the "check" target. The system "awk" is bad on
+# some platforms.
+AC_REQUIRE([AC_PROG_AWK])dnl
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
+ [_AM_PROG_TAR([v7])])])
+_AM_IF_OPTION([no-dependencies],,
+[AC_PROVIDE_IFELSE([AC_PROG_CC],
+ [_AM_DEPENDENCIES([CC])],
+ [m4_define([AC_PROG_CC],
+ m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
+ [_AM_DEPENDENCIES([CXX])],
+ [m4_define([AC_PROG_CXX],
+ m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
+ [_AM_DEPENDENCIES([OBJC])],
+ [m4_define([AC_PROG_OBJC],
+ m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+ [_AM_DEPENDENCIES([OBJCXX])],
+ [m4_define([AC_PROG_OBJCXX],
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
+])
+AC_REQUIRE([AM_SILENT_RULES])dnl
+dnl The testsuite driver may need to know about EXEEXT, so add the
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_CONFIG_COMMANDS_PRE(dnl
+[m4_provide_if([_AM_COMPILER_EXEEXT],
+ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
+])
+
+dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
+dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
+dnl mangled by Autoconf and run in a shell conditional statement.
+m4_define([_AC_COMPILER_EXEEXT],
+m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
+
+
+# When config.status generates a header, we must update the stamp-h file.
+# This file resides in the same directory as the config header
+# that is generated. The stamp files are numbered to have different names.
+
+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
+# loop where config.status creates the headers, so we can generate
+# our stamp files there.
+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
+[# Compute $1's index in $config_headers.
+_am_arg=$1
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+ case $_am_header in
+ $_am_arg | $_am_arg:* )
+ break ;;
+ * )
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+ esac
+done
+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
+
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_PROG_INSTALL_SH
+# ------------------
+# Define $install_sh.
+AC_DEFUN([AM_PROG_INSTALL_SH],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+if test x"${install_sh}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
+ *)
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
+ esac
+fi
+AC_SUBST([install_sh])])
+
+# Copyright (C) 2003-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# Check whether the underlying file-system supports filenames
+# with a leading dot. For instance MS-DOS doesn't.
+AC_DEFUN([AM_SET_LEADING_DOT],
+[rm -rf .tst 2>/dev/null
+mkdir .tst 2>/dev/null
+if test -d .tst; then
+ am__leading_dot=.
+else
+ am__leading_dot=_
+fi
+rmdir .tst 2>/dev/null
+AC_SUBST([am__leading_dot])])
+
+# Copyright (C) 1998-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_PROG_LEX
+# -----------
+# Autoconf leaves LEX=: if lex or flex can't be found. Change that to a
+# "missing" invocation, for better error output.
+AC_DEFUN([AM_PROG_LEX],
+[AC_PREREQ([2.50])dnl
+AC_REQUIRE([AM_MISSING_HAS_RUN])dnl
+AC_REQUIRE([AC_PROG_LEX])dnl
+if test "$LEX" = :; then
+ LEX=${am_missing_run}flex
+fi])
+
+# Check to see how 'make' treats includes. -*- Autoconf -*-
+
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_MAKE_INCLUDE()
+# -----------------
+# Check to see how make treats includes.
+AC_DEFUN([AM_MAKE_INCLUDE],
+[am_make=${MAKE-make}
+cat > confinc << 'END'
+am__doit:
+ @echo this is the am__doit target
+.PHONY: am__doit
+END
+# If we don't find an include directive, just comment out the code.
+AC_MSG_CHECKING([for style of include used by $am_make])
+am__include="#"
+am__quote=
+_am_result=none
+# First try GNU make style include.
+echo "include confinc" > confmf
+# Ignore all kinds of additional output from 'make'.
+case `$am_make -s -f confmf 2> /dev/null` in #(
+*the\ am__doit\ target*)
+ am__include=include
+ am__quote=
+ _am_result=GNU
+ ;;
+esac
+# Now try BSD make style include.
+if test "$am__include" = "#"; then
+ echo '.include "confinc"' > confmf
+ case `$am_make -s -f confmf 2> /dev/null` in #(
+ *the\ am__doit\ target*)
+ am__include=.include
+ am__quote="\""
+ _am_result=BSD
+ ;;
+ esac
+fi
+AC_SUBST([am__include])
+AC_SUBST([am__quote])
+AC_MSG_RESULT([$_am_result])
+rm -f confinc confmf
+])
+
+# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
+
+# Copyright (C) 1997-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_MISSING_PROG(NAME, PROGRAM)
+# ------------------------------
+AC_DEFUN([AM_MISSING_PROG],
+[AC_REQUIRE([AM_MISSING_HAS_RUN])
+$1=${$1-"${am_missing_run}$2"}
+AC_SUBST($1)])
+
+# AM_MISSING_HAS_RUN
+# ------------------
+# Define MISSING if not defined so far and test if it is modern enough.
+# If it is, set am_missing_run to use it, otherwise, to nothing.
+AC_DEFUN([AM_MISSING_HAS_RUN],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+AC_REQUIRE_AUX_FILE([missing])dnl
+if test x"${MISSING+set}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
+ *)
+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
+ esac
+fi
+# Use eval to expand $SHELL
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
+else
+ am_missing_run=
+ AC_MSG_WARN(['missing' script is too old or missing])
+fi
+])
+
+# Helper functions for option handling. -*- Autoconf -*-
+
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# _AM_MANGLE_OPTION(NAME)
+# -----------------------
+AC_DEFUN([_AM_MANGLE_OPTION],
+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
+
+# _AM_SET_OPTION(NAME)
+# --------------------
+# Set option NAME. Presently that only means defining a flag for this option.
+AC_DEFUN([_AM_SET_OPTION],
+[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
+
+# _AM_SET_OPTIONS(OPTIONS)
+# ------------------------
+# OPTIONS is a space-separated list of Automake options.
+AC_DEFUN([_AM_SET_OPTIONS],
+[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
+
+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
+# -------------------------------------------
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
+AC_DEFUN([_AM_IF_OPTION],
+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
+
+# Check to make sure that the build environment is sane. -*- Autoconf -*-
+
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_SANITY_CHECK
+# ---------------
+AC_DEFUN([AM_SANITY_CHECK],
+[AC_MSG_CHECKING([whether build environment is sane])
+# Reject unsafe characters in $srcdir or the absolute working directory
+# name. Accept space and tab only in the latter.
+am_lf='
+'
+case `pwd` in
+ *[[\\\"\#\$\&\'\`$am_lf]]*)
+ AC_MSG_ERROR([unsafe absolute working directory name]);;
+esac
+case $srcdir in
+ *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
+ AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
+esac
+
+# Do 'set' in a subshell so we don't clobber the current shell's
+# arguments. Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+ am_has_slept=no
+ for am_try in 1 2; do
+ echo "timestamp, slept: $am_has_slept" > conftest.file
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
+ if test "$[*]" = "X"; then
+ # -L didn't work.
+ set X `ls -t "$srcdir/configure" conftest.file`
+ fi
+ if test "$[*]" != "X $srcdir/configure conftest.file" \
+ && test "$[*]" != "X conftest.file $srcdir/configure"; then
+
+ # If neither matched, then we have a broken ls. This can happen
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
+ # broken ls alias from the environment. This has actually
+ # happened. Such a system could not be considered "sane".
+ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
+ alias in your environment])
+ fi
+ if test "$[2]" = conftest.file || test $am_try -eq 2; then
+ break
+ fi
+ # Just in case.
+ sleep 1
+ am_has_slept=yes
+ done
+ test "$[2]" = conftest.file
+ )
+then
+ # Ok.
+ :
+else
+ AC_MSG_ERROR([newly created file is older than distributed files!
+Check your system clock])
+fi
+AC_MSG_RESULT([yes])
+# If we didn't sleep, we still need to ensure time stamps of config.status and
+# generated files are strictly newer.
+am_sleep_pid=
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
+ ( sleep 1 ) &
+ am_sleep_pid=$!
+fi
+AC_CONFIG_COMMANDS_PRE(
+ [AC_MSG_CHECKING([that generated files are newer than configure])
+ if test -n "$am_sleep_pid"; then
+ # Hide warnings about reused PIDs.
+ wait $am_sleep_pid 2>/dev/null
+ fi
+ AC_MSG_RESULT([done])])
+rm -f conftest.file
+])
+
+# Copyright (C) 2009-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_SILENT_RULES([DEFAULT])
+# --------------------------
+# Enable less verbose build rules; with the default set to DEFAULT
+# ("yes" being less verbose, "no" or empty being verbose).
+AC_DEFUN([AM_SILENT_RULES],
+[AC_ARG_ENABLE([silent-rules], [dnl
+AS_HELP_STRING(
+ [--enable-silent-rules],
+ [less verbose build output (undo: "make V=1")])
+AS_HELP_STRING(
+ [--disable-silent-rules],
+ [verbose build output (undo: "make V=0")])dnl
+])
+case $enable_silent_rules in @%:@ (((
+ yes) AM_DEFAULT_VERBOSITY=0;;
+ no) AM_DEFAULT_VERBOSITY=1;;
+ *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
+esac
+dnl
+dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
+dnl do not support nested variable expansions.
+dnl See automake bug#9928 and bug#10237.
+am_make=${MAKE-make}
+AC_CACHE_CHECK([whether $am_make supports nested variables],
+ [am_cv_make_support_nested_variables],
+ [if AS_ECHO([['TRUE=$(BAR$(V))
+BAR0=false
+BAR1=true
+V=1
+am__doit:
+ @$(TRUE)
+.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
+ am_cv_make_support_nested_variables=yes
+else
+ am_cv_make_support_nested_variables=no
+fi])
+if test $am_cv_make_support_nested_variables = yes; then
+ dnl Using '$V' instead of '$(V)' breaks IRIX make.
+ AM_V='$(V)'
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+else
+ AM_V=$AM_DEFAULT_VERBOSITY
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
+fi
+AC_SUBST([AM_V])dnl
+AM_SUBST_NOTMAKE([AM_V])dnl
+AC_SUBST([AM_DEFAULT_V])dnl
+AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
+AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
+AM_BACKSLASH='\'
+AC_SUBST([AM_BACKSLASH])dnl
+_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
+])
+
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_PROG_INSTALL_STRIP
+# ---------------------
+# One issue with vendor 'install' (even GNU) is that you can't
+# specify the program used to strip binaries. This is especially
+# annoying in cross-compiling environments, where the build's strip
+# is unlikely to handle the host's binaries.
+# Fortunately install-sh will honor a STRIPPROG variable, so we
+# always use install-sh in "make install-strip", and initialize
+# STRIPPROG with the value of the STRIP variable (set by the user).
+AC_DEFUN([AM_PROG_INSTALL_STRIP],
+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+# Installed binaries are usually stripped using 'strip' when the user
+# run "make install-strip". However 'strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the 'STRIP' environment variable to overrule this program.
+dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
+if test "$cross_compiling" != no; then
+ AC_CHECK_TOOL([STRIP], [strip], :)
+fi
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
+
+# Copyright (C) 2006-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# _AM_SUBST_NOTMAKE(VARIABLE)
+# ---------------------------
+# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
+# This macro is traced by Automake.
+AC_DEFUN([_AM_SUBST_NOTMAKE])
+
+# AM_SUBST_NOTMAKE(VARIABLE)
+# --------------------------
+# Public sister of _AM_SUBST_NOTMAKE.
+AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
+
+# Check how to create a tarball. -*- Autoconf -*-
+
+# Copyright (C) 2004-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# _AM_PROG_TAR(FORMAT)
+# --------------------
+# Check how to create a tarball in format FORMAT.
+# FORMAT should be one of 'v7', 'ustar', or 'pax'.
+#
+# Substitute a variable $(am__tar) that is a command
+# writing to stdout a FORMAT-tarball containing the directory
+# $tardir.
+# tardir=directory && $(am__tar) > result.tar
+#
+# Substitute a variable $(am__untar) that extract such
+# a tarball read from stdin.
+# $(am__untar) < result.tar
+#
+AC_DEFUN([_AM_PROG_TAR],
+[# Always define AMTAR for backward compatibility. Yes, it's still used
+# in the wild :-( We should find a proper way to deprecate it ...
+AC_SUBST([AMTAR], ['$${TAR-tar}'])
+
+# We'll loop over all known methods to create a tar archive until one works.
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
+
+m4_if([$1], [v7],
+ [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
+
+ [m4_case([$1],
+ [ustar],
+ [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
+ # There is notably a 21 bits limit for the UID and the GID. In fact,
+ # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
+ # and bug#13588).
+ am_max_uid=2097151 # 2^21 - 1
+ am_max_gid=$am_max_uid
+ # The $UID and $GID variables are not portable, so we need to resort
+ # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
+ # below are definitely unexpected, so allow the users to see them
+ # (that is, avoid stderr redirection).
+ am_uid=`id -u || echo unknown`
+ am_gid=`id -g || echo unknown`
+ AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
+ if test $am_uid -le $am_max_uid; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ _am_tools=none
+ fi
+ AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
+ if test $am_gid -le $am_max_gid; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ _am_tools=none
+ fi],
+
+ [pax],
+ [],
+
+ [m4_fatal([Unknown tar format])])
+
+ AC_MSG_CHECKING([how to create a $1 tar archive])
+
+ # Go ahead even if we have the value already cached. We do so because we
+ # need to set the values for the 'am__tar' and 'am__untar' variables.
+ _am_tools=${am_cv_prog_tar_$1-$_am_tools}
+
+ for _am_tool in $_am_tools; do
+ case $_am_tool in
+ gnutar)
+ for _am_tar in tar gnutar gtar; do
+ AM_RUN_LOG([$_am_tar --version]) && break
+ done
+ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
+ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
+ am__untar="$_am_tar -xf -"
+ ;;
+ plaintar)
+ # Must skip GNU tar: if it does not support --format= it doesn't create
+ # ustar tarball either.
+ (tar --version) >/dev/null 2>&1 && continue
+ am__tar='tar chf - "$$tardir"'
+ am__tar_='tar chf - "$tardir"'
+ am__untar='tar xf -'
+ ;;
+ pax)
+ am__tar='pax -L -x $1 -w "$$tardir"'
+ am__tar_='pax -L -x $1 -w "$tardir"'
+ am__untar='pax -r'
+ ;;
+ cpio)
+ am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
+ am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
+ am__untar='cpio -i -H $1 -d'
+ ;;
+ none)
+ am__tar=false
+ am__tar_=false
+ am__untar=false
+ ;;
+ esac
+
+ # If the value was cached, stop now. We just wanted to have am__tar
+ # and am__untar set.
+ test -n "${am_cv_prog_tar_$1}" && break
+
+ # tar/untar a dummy directory, and stop if the command works.
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ echo GrepMe > conftest.dir/file
+ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
+ rm -rf conftest.dir
+ if test -s conftest.tar; then
+ AM_RUN_LOG([$am__untar <conftest.tar])
+ AM_RUN_LOG([cat conftest.dir/file])
+ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
+ fi
+ done
+ rm -rf conftest.dir
+
+ AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
+ AC_MSG_RESULT([$am_cv_prog_tar_$1])])
+
+AC_SUBST([am__tar])
+AC_SUBST([am__untar])
+]) # _AM_PROG_TAR
+
diff --git a/biblio/bibtex/utils/r2bib/ansel2uni.1 b/biblio/bibtex/utils/r2bib/ansel2uni.1
new file mode 100644
index 0000000000..5672aca409
--- /dev/null
+++ b/biblio/bibtex/utils/r2bib/ansel2uni.1
@@ -0,0 +1,44 @@
+.TH "ansel2uni" 1 "Mon Dec 7 2015" "Version 2015-12-07" "r2bib" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+ansel2uni \- convert an ANSEL 8-bit stream to UTF-8
+.PP
+.SH "SYNOPSIS "
+.PP
+.PP
+ansel2uni
+.PP
+.SH "OPTIONS "
+.PP
+.PP
+none
+.PP
+.SH "DESCRIPTION "
+.PP
+.PP
+\fIansel2uni\fP reads the standard input and transforms byte sequences conforming to the 8-bit ANSEL (a\&.k\&.a\&. Z39-47-1993 or ISO-IR-231) standard to the UTF-8 Unicode encoding\&. The dedicated interpretation of the input stream can be modified to adhere to MARC or GEDCOM standards at compile time\&.
+.PP
+The UTF-8 output may then be converted with tools like uni2ascii(1) or recode(1) to other schemes and character sets\&.
+.PP
+.SH "EXAMPLES "
+.PP
+.PP
+cat foo*\&.txt | ansel2uni > bar\&.utf8
+.PP
+cat foo*\&.txt | ansel2uni | uni2ascii -q -a Q -a H > bar\&.html
+.PP
+.SH "SEE ALSO "
+.PP
+.PP
+uni2ascii(1) recode(1)
+.PP
+.SH "CAUTION "
+.PP
+.PP
+This is in an alpha state and has been tested only marginally\&.
+.PP
+.SH "AUTHOR "
+.PP
+.PP
+Richard J\&. Mathar, http://www.mpia.de/~mathar
diff --git a/biblio/bibtex/utils/r2bib/ansel2uni.cc b/biblio/bibtex/utils/r2bib/ansel2uni.cc
new file mode 100644
index 0000000000..923c96af8c
--- /dev/null
+++ b/biblio/bibtex/utils/r2bib/ansel2uni.cc
@@ -0,0 +1,13365 @@
+
+#line 3 "ansel2uni.cc"
+
+#define YY_INT_ALIGNED short int
+
+/* A lexical scanner generated by flex */
+
+#define FLEX_SCANNER
+#define YY_FLEX_MAJOR_VERSION 2
+#define YY_FLEX_MINOR_VERSION 5
+#define YY_FLEX_SUBMINOR_VERSION 37
+#if YY_FLEX_SUBMINOR_VERSION > 0
+#define FLEX_BETA
+#endif
+
+/* First, we deal with platform-specific or compiler-specific issues. */
+
+/* begin standard C headers. */
+#include <stdio.h>
+#include <string.h>
+#include <errno.h>
+#include <stdlib.h>
+
+/* end standard C headers. */
+
+/* flex integer type definitions */
+
+#ifndef FLEXINT_H
+#define FLEXINT_H
+
+/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
+
+#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
+
+/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
+ * if you want the limit (max/min) macros for int types.
+ */
+#ifndef __STDC_LIMIT_MACROS
+#define __STDC_LIMIT_MACROS 1
+#endif
+
+#include <inttypes.h>
+typedef int8_t flex_int8_t;
+typedef uint8_t flex_uint8_t;
+typedef int16_t flex_int16_t;
+typedef uint16_t flex_uint16_t;
+typedef int32_t flex_int32_t;
+typedef uint32_t flex_uint32_t;
+#else
+typedef signed char flex_int8_t;
+typedef short int flex_int16_t;
+typedef int flex_int32_t;
+typedef unsigned char flex_uint8_t;
+typedef unsigned short int flex_uint16_t;
+typedef unsigned int flex_uint32_t;
+
+/* Limits of integral types. */
+#ifndef INT8_MIN
+#define INT8_MIN (-128)
+#endif
+#ifndef INT16_MIN
+#define INT16_MIN (-32767-1)
+#endif
+#ifndef INT32_MIN
+#define INT32_MIN (-2147483647-1)
+#endif
+#ifndef INT8_MAX
+#define INT8_MAX (127)
+#endif
+#ifndef INT16_MAX
+#define INT16_MAX (32767)
+#endif
+#ifndef INT32_MAX
+#define INT32_MAX (2147483647)
+#endif
+#ifndef UINT8_MAX
+#define UINT8_MAX (255U)
+#endif
+#ifndef UINT16_MAX
+#define UINT16_MAX (65535U)
+#endif
+#ifndef UINT32_MAX
+#define UINT32_MAX (4294967295U)
+#endif
+
+#endif /* ! C99 */
+
+#endif /* ! FLEXINT_H */
+
+#ifdef __cplusplus
+
+/* The "const" storage-class-modifier is valid. */
+#define YY_USE_CONST
+
+#else /* ! __cplusplus */
+
+/* C99 requires __STDC__ to be defined as 1. */
+#if defined (__STDC__)
+
+#define YY_USE_CONST
+
+#endif /* defined (__STDC__) */
+#endif /* ! __cplusplus */
+
+#ifdef YY_USE_CONST
+#define yyconst const
+#else
+#define yyconst
+#endif
+
+/* Returned upon end-of-file. */
+#define YY_NULL 0
+
+/* Promotes a possibly negative, possibly signed char to an unsigned
+ * integer for use as an array index. If the signed char is negative,
+ * we want to instead treat it as an 8-bit unsigned char, hence the
+ * double cast.
+ */
+#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
+
+/* Enter a start condition. This macro really ought to take a parameter,
+ * but we do it the disgusting crufty way forced on us by the ()-less
+ * definition of BEGIN.
+ */
+#define BEGIN (yy_start) = 1 + 2 *
+
+/* Translate the current start state into a value that can be later handed
+ * to BEGIN to return to the state. The YYSTATE alias is for lex
+ * compatibility.
+ */
+#define YY_START (((yy_start) - 1) / 2)
+#define YYSTATE YY_START
+
+/* Action number for EOF rule of a given start state. */
+#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
+
+/* Special action meaning "start processing a new file". */
+#define YY_NEW_FILE yyrestart(yyin )
+
+#define YY_END_OF_BUFFER_CHAR 0
+
+/* Size of default input buffer. */
+#ifndef YY_BUF_SIZE
+#define YY_BUF_SIZE 16384
+#endif
+
+/* The state buf must be large enough to hold one state per character in the main buffer.
+ */
+#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
+
+#ifndef YY_TYPEDEF_YY_BUFFER_STATE
+#define YY_TYPEDEF_YY_BUFFER_STATE
+typedef struct yy_buffer_state *YY_BUFFER_STATE;
+#endif
+
+#ifndef YY_TYPEDEF_YY_SIZE_T
+#define YY_TYPEDEF_YY_SIZE_T
+typedef size_t yy_size_t;
+#endif
+
+extern yy_size_t yyleng;
+
+extern FILE *yyin, *yyout;
+
+#define EOB_ACT_CONTINUE_SCAN 0
+#define EOB_ACT_END_OF_FILE 1
+#define EOB_ACT_LAST_MATCH 2
+
+ #define YY_LESS_LINENO(n)
+
+/* Return all but the first "n" matched characters back to the input stream. */
+#define yyless(n) \
+ do \
+ { \
+ /* Undo effects of setting up yytext. */ \
+ int yyless_macro_arg = (n); \
+ YY_LESS_LINENO(yyless_macro_arg);\
+ *yy_cp = (yy_hold_char); \
+ YY_RESTORE_YY_MORE_OFFSET \
+ (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
+ YY_DO_BEFORE_ACTION; /* set up yytext again */ \
+ } \
+ while ( 0 )
+
+#define unput(c) yyunput( c, (yytext_ptr) )
+
+#ifndef YY_STRUCT_YY_BUFFER_STATE
+#define YY_STRUCT_YY_BUFFER_STATE
+struct yy_buffer_state
+ {
+ FILE *yy_input_file;
+
+ char *yy_ch_buf; /* input buffer */
+ char *yy_buf_pos; /* current position in input buffer */
+
+ /* Size of input buffer in bytes, not including room for EOB
+ * characters.
+ */
+ yy_size_t yy_buf_size;
+
+ /* Number of characters read into yy_ch_buf, not including EOB
+ * characters.
+ */
+ yy_size_t yy_n_chars;
+
+ /* Whether we "own" the buffer - i.e., we know we created it,
+ * and can realloc() it to grow it, and should free() it to
+ * delete it.
+ */
+ int yy_is_our_buffer;
+
+ /* Whether this is an "interactive" input source; if so, and
+ * if we're using stdio for input, then we want to use getc()
+ * instead of fread(), to make sure we stop fetching input after
+ * each newline.
+ */
+ int yy_is_interactive;
+
+ /* Whether we're considered to be at the beginning of a line.
+ * If so, '^' rules will be active on the next match, otherwise
+ * not.
+ */
+ int yy_at_bol;
+
+ int yy_bs_lineno; /**< The line count. */
+ int yy_bs_column; /**< The column count. */
+
+ /* Whether to try to fill the input buffer when we reach the
+ * end of it.
+ */
+ int yy_fill_buffer;
+
+ int yy_buffer_status;
+
+#define YY_BUFFER_NEW 0
+#define YY_BUFFER_NORMAL 1
+ /* When an EOF's been seen but there's still some text to process
+ * then we mark the buffer as YY_EOF_PENDING, to indicate that we
+ * shouldn't try reading from the input source any more. We might
+ * still have a bunch of tokens to match, though, because of
+ * possible backing-up.
+ *
+ * When we actually see the EOF, we change the status to "new"
+ * (via yyrestart()), so that the user can continue scanning by
+ * just pointing yyin at a new input file.
+ */
+#define YY_BUFFER_EOF_PENDING 2
+
+ };
+#endif /* !YY_STRUCT_YY_BUFFER_STATE */
+
+/* Stack of input buffers. */
+static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
+static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
+static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
+
+/* We provide macros for accessing buffer states in case in the
+ * future we want to put the buffer states in a more general
+ * "scanner state".
+ *
+ * Returns the top of the stack, or NULL.
+ */
+#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
+ ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
+ : NULL)
+
+/* Same as previous macro, but useful when we know that the buffer stack is not
+ * NULL or when we need an lvalue. For internal use only.
+ */
+#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
+
+/* yy_hold_char holds the character lost when yytext is formed. */
+static char yy_hold_char;
+static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */
+yy_size_t yyleng;
+
+/* Points to current character in buffer. */
+static char *yy_c_buf_p = (char *) 0;
+static int yy_init = 0; /* whether we need to initialize */
+static int yy_start = 0; /* start state number */
+
+/* Flag which is used to allow yywrap()'s to do buffer switches
+ * instead of setting up a fresh yyin. A bit of a hack ...
+ */
+static int yy_did_buffer_switch_on_eof;
+
+void yyrestart (FILE *input_file );
+void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
+YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
+void yy_delete_buffer (YY_BUFFER_STATE b );
+void yy_flush_buffer (YY_BUFFER_STATE b );
+void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
+void yypop_buffer_state (void );
+
+static void yyensure_buffer_stack (void );
+static void yy_load_buffer_state (void );
+static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
+
+#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
+
+YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
+YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
+YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len );
+
+void *yyalloc (yy_size_t );
+void *yyrealloc (void *,yy_size_t );
+void yyfree (void * );
+
+#define yy_new_buffer yy_create_buffer
+
+#define yy_set_interactive(is_interactive) \
+ { \
+ if ( ! YY_CURRENT_BUFFER ){ \
+ yyensure_buffer_stack (); \
+ YY_CURRENT_BUFFER_LVALUE = \
+ yy_create_buffer(yyin,YY_BUF_SIZE ); \
+ } \
+ YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
+ }
+
+#define yy_set_bol(at_bol) \
+ { \
+ if ( ! YY_CURRENT_BUFFER ){\
+ yyensure_buffer_stack (); \
+ YY_CURRENT_BUFFER_LVALUE = \
+ yy_create_buffer(yyin,YY_BUF_SIZE ); \
+ } \
+ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
+ }
+
+#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
+
+/* Begin user sect3 */
+
+#define yywrap() 1
+#define YY_SKIP_YYWRAP
+
+typedef unsigned char YY_CHAR;
+
+FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
+
+typedef int yy_state_type;
+
+extern int yylineno;
+
+int yylineno = 1;
+
+extern char *yytext;
+#define yytext_ptr yytext
+
+static yy_state_type yy_get_previous_state (void );
+static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
+static int yy_get_next_buffer (void );
+static void yy_fatal_error (yyconst char msg[] );
+
+/* Done after the current pattern has been matched and before the
+ * corresponding action - sets up yytext.
+ */
+#define YY_DO_BEFORE_ACTION \
+ (yytext_ptr) = yy_bp; \
+ yyleng = (size_t) (yy_cp - yy_bp); \
+ (yy_hold_char) = *yy_cp; \
+ *yy_cp = '\0'; \
+ (yy_c_buf_p) = yy_cp;
+
+#define YY_NUM_RULES 1287
+#define YY_END_OF_BUFFER 1288
+/* This struct is not used in this scanner,
+ but its presence is necessary. */
+struct yy_trans_info
+ {
+ flex_int32_t yy_verify;
+ flex_int32_t yy_nxt;
+ };
+static yyconst flex_int16_t yy_accept[2590] =
+ { 0,
+ 0, 0, 1288, 1287, 661, 1287, 1287, 1287, 1287, 1287,
+ 1287, 1287, 659, 626, 1, 2, 3, 4, 627, 137,
+ 35, 89, 41, 19, 153, 616, 11, 611, 8, 10,
+ 609, 628, 610, 138, 65, 90, 71, 48, 154, 615,
+ 120, 6, 58, 621, 622, 9, 613, 614, 7, 612,
+ 12, 5, 624, 625, 623, 1287, 1287, 1287, 1287, 1287,
+ 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287,
+ 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287, 1287,
+ 1287, 1287, 1287, 628, 1287, 0, 254, 255, 0, 121,
+ 207, 208, 209, 210, 256, 0, 122, 660, 34, 629,
+
+ 481, 525, 549, 555, 589, 605, 482, 526, 550, 556,
+ 590, 606, 581, 595, 582, 596, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 630, 13, 21, 25, 259, 30, 36, 453, 601,
+ 42, 50, 54, 260, 60, 66, 454, 602, 579, 593,
+ 580, 594, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 631, 14, 79,
+ 22, 257, 26, 365, 129, 379, 139, 31, 405, 155,
+
+ 163, 37, 455, 40, 192, 43, 80, 51, 258, 55,
+ 366, 130, 380, 140, 61, 406, 156, 164, 67, 456,
+ 70, 193, 267, 265, 577, 591, 268, 266, 578, 592,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 632, 15, 81, 23, 101,
+ 109, 27, 123, 32, 165, 38, 187, 189, 469, 44,
+ 82, 52, 102, 110, 56, 124, 62, 166, 68, 188,
+ 190, 470, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+
+ 0, 0, 0, 0, 0, 0, 0, 633, 16, 527,
+ 111, 29, 33, 175, 449, 607, 45, 528, 112, 59,
+ 63, 176, 450, 608, 583, 597, 584, 598, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 634, 73, 198, 91, 349, 113, 147,
+ 177, 308, 74, 199, 92, 350, 114, 148, 178, 309,
+ 241, 242, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 635, 75, 93,
+
+ 103, 115, 149, 179, 76, 94, 104, 116, 150, 180,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 636, 287, 315, 83, 325,
+ 95, 347, 105, 351, 119, 381, 385, 299, 407, 409,
+ 419, 435, 459, 463, 467, 194, 288, 316, 84, 326,
+ 96, 348, 106, 352, 382, 386, 300, 408, 410, 420,
+ 436, 460, 464, 468, 195, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+
+ 637, 17, 24, 355, 28, 39, 457, 465, 191, 46,
+ 53, 356, 57, 64, 476, 69, 458, 466, 72, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 638, 211, 85, 87, 99, 243,
+ 285, 213, 245, 135, 145, 215, 161, 169, 173, 217,
+ 196, 212, 86, 88, 100, 244, 286, 214, 253, 246,
+ 136, 146, 216, 162, 170, 174, 218, 197, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+
+ 0, 0, 0, 639, 18, 181, 47, 182, 477, 478,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 640, 641, 642, 200, 202,
+ 201, 203, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 643, 151, 183,
+ 152, 184, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 644, 0, 0,
+
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 645, 20, 331, 289, 107, 357, 125,
+ 131, 141, 157, 167, 171, 49, 333, 290, 108, 359,
+ 127, 133, 143, 159, 168, 172, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 646, 77, 97, 117, 247, 185, 78, 98, 118,
+ 248, 186, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+
+ 0, 0, 0, 0, 0, 0, 0, 647, 479, 317,
+ 327, 523, 353, 551, 367, 371, 383, 553, 411, 421,
+ 437, 587, 451, 461, 603, 471, 480, 318, 328, 524,
+ 354, 552, 368, 372, 384, 554, 412, 422, 438, 588,
+ 452, 462, 604, 472, 585, 599, 586, 600, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 648, 441, 442, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+
+ 0, 649, 313, 314, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 650,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 651, 319, 329, 369, 377,
+ 387, 417, 439, 473, 320, 330, 475, 370, 378, 388,
+ 418, 440, 474, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 652, 332,
+
+ 358, 126, 132, 142, 158, 281, 283, 334, 360, 128,
+ 134, 144, 160, 282, 284, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 653, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 654, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 655, 656, 658, 303, 304, 311, 310, 305,
+
+ 312, 657, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 204, 205,
+ 206, 0, 0, 0, 0, 491, 537, 565, 493, 539,
+ 567, 0, 0, 0, 511, 513, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 269, 271, 273, 275,
+ 277, 279, 270, 272, 274, 276, 278, 280, 0, 0,
+ 487, 533, 561, 489, 535, 563, 0, 0, 335, 397,
+ 337, 399, 0, 507, 509, 0, 0, 229, 231, 0,
+
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 483,
+ 529, 557, 485, 531, 559, 0, 389, 443, 391, 445,
+ 0, 339, 401, 341, 403, 0, 503, 505, 0, 423,
+ 425, 0, 361, 221, 363, 223, 0, 0, 262, 264,
+ 0, 0, 0, 0, 321, 323, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 492, 538, 566,
+ 494, 540, 568, 0, 488, 534, 562, 490, 536, 564,
+ 0, 484, 530, 558, 486, 532, 560, 0, 0, 496,
+ 542, 570, 498, 544, 572, 0, 0, 0, 0, 0,
+
+ 0, 0, 0, 0, 0, 0, 0, 500, 546, 574,
+ 502, 548, 576, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 390, 444, 392, 446, 0, 495,
+ 541, 569, 497, 543, 571, 0, 0, 296, 298, 0,
+ 515, 517, 0, 0, 394, 396, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 336, 398, 338, 400, 0, 340,
+ 402, 342, 404, 0, 0, 295, 297, 0, 0, 0,
+ 237, 301, 239, 306, 0, 233, 291, 219, 235, 293,
+ 220, 0, 0, 0, 0, 0, 0, 0, 249, 251,
+
+ 0, 374, 414, 376, 416, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 512, 514, 0, 508, 510, 0,
+ 504, 506, 0, 0, 516, 518, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 344, 346, 0, 0,
+ 520, 522, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 424, 426, 0, 0, 0, 238, 302,
+ 240, 307, 0, 0, 0, 0, 428, 430, 0, 0,
+ 0, 0, 0, 0, 0, 432, 434, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 230, 232, 0,
+ 362, 222, 364, 224, 0, 0, 393, 395, 0, 234,
+
+ 292, 447, 236, 294, 448, 0, 0, 0, 0, 226,
+ 228, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 427, 429, 0, 225, 227, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 261, 263,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+
+ 0, 0, 0, 0, 0,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0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 662, 663, 664, 665, 666, 667, 668,
+ 669, 670, 671, 672, 673, 674, 675, 676, 677, 678,
+ 679, 680, 681, 682, 683, 684, 685, 686, 687, 688,
+ 689, 690, 691, 692, 693, 694, 695, 696, 697, 698,
+ 699, 700, 701, 702, 703, 704, 705, 706, 707, 708,
+
+ 709, 710, 711, 712, 713, 714, 715, 716, 717, 718,
+ 719, 720, 721, 722, 723, 724, 725, 726, 727, 728,
+ 729, 730, 731, 732, 733, 734, 735, 736, 737, 738,
+ 739, 740, 741, 742, 743, 744, 745, 746, 747, 748,
+ 749, 750, 751, 752, 753, 754, 755, 756, 757, 758,
+ 759, 760, 761, 762, 763, 764, 765, 766, 767, 768,
+ 769, 770, 771, 772, 773, 774, 775, 776, 777, 778,
+ 779, 780, 781, 782, 783, 784, 785, 786, 787, 788,
+ 789, 790, 791, 792, 793, 794, 795, 796, 797, 798,
+ 799, 800, 801, 802, 803, 804, 805, 806, 807, 808,
+
+ 809, 810, 811, 812, 813, 814, 815, 816, 817, 818,
+ 819, 820, 821, 822, 823, 824, 825, 826, 827, 828,
+ 829, 830, 831, 832, 833, 834, 835, 836, 837, 838,
+ 839, 840, 841, 842, 843, 844, 845, 846, 847, 848,
+ 849, 850, 851, 852, 853, 854, 855, 856, 857, 858,
+ 859, 860, 861, 862, 863, 864, 865, 866, 867, 868,
+ 869, 870, 871, 872, 873, 874, 875, 876, 877, 878,
+ 879, 880, 881, 882, 883, 884, 885, 886, 887, 888,
+ 889, 890, 891, 892, 893, 894, 895, 896, 897, 898,
+ 899, 900, 901, 902, 903, 904, 905, 906, 907, 908,
+
+ 909, 910, 911, 912, 913, 914, 915, 916, 917, 918,
+ 919, 920, 921, 922, 923, 924, 925, 926, 927, 928,
+ 929, 930, 931, 932, 933, 934, 935, 936, 937, 938,
+ 939, 940, 941, 942, 943, 944, 945, 946, 947, 948,
+ 949, 950, 951, 952, 953, 954, 955, 956, 957, 958,
+ 959, 960, 961, 962, 963, 964, 965, 966, 967, 968,
+ 969, 970, 971, 972, 973, 974, 975, 976, 977, 978,
+ 979, 980, 981, 982, 983, 984, 985, 986, 987, 988,
+ 989, 990, 991, 992, 993, 994, 995, 996, 997, 998,
+ 999, 1000, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008,
+
+ 1009, 1010, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018,
+ 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028,
+ 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038,
+ 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048,
+ 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058,
+ 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068,
+ 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078,
+ 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088,
+ 1089, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1098,
+ 1099, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108,
+
+ 1109, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118,
+ 1119, 1120, 1121, 1122, 1123, 1124, 1125, 1126, 1127, 1128,
+ 1129, 1130, 1131, 1132, 1133, 1134, 1135, 1136, 1137, 1138,
+ 1139, 1140, 1141, 1142, 1143, 1144, 1145, 1146, 1147, 1148,
+ 1149, 1150, 1151, 1152, 1153, 1154, 1155, 1156, 1157, 1158,
+ 1159, 1160, 1161, 1162, 1163, 1164, 1165, 1166, 1167, 1168,
+ 1169, 1170, 1171, 1172, 1173, 1174, 1175, 1176, 1177, 1178,
+ 1179, 1180, 1181, 1182, 1183, 1184, 1185, 1186, 1187, 1188,
+ 1189, 1190, 1191, 1192, 1193, 1194, 1195, 1196, 1197, 1198,
+ 1199, 1200, 1201, 1202, 1203, 1204, 1205, 1206, 1207, 1208,
+
+ 1209, 1210, 1211, 1212, 1213, 1214, 1215, 1216, 1217, 1218,
+ 1219, 1220, 1221, 1222, 1223, 1224, 1225, 1226, 1227, 1228,
+ 1229, 1230, 1231, 1232, 1233, 1234, 1235, 1236, 1237, 1238,
+ 1239, 1240, 1241, 1242, 1243, 1244, 1245, 1246, 1247, 1248,
+ 1249, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258,
+ 1259, 1260, 1261, 1262, 1263, 1264, 1265, 1266, 1267, 1268,
+ 1269, 1270, 1271, 1272, 1273, 1274, 1275, 1276, 1277, 1278,
+ 1279, 1280, 1281, 1282, 1283, 1284, 1285, 1286, 0, 0,
+ 0, 0, 0, 0, 617, 619, 618, 620, 0
+ } ;
+
+static yyconst flex_int32_t yy_ec[256] =
+ { 0,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 3, 3, 3, 3, 3, 3, 3, 3,
+ 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
+ 3, 3, 3, 3, 3, 3, 3, 4, 3, 3,
+ 3, 3, 3, 3, 5, 6, 7, 8, 9, 10,
+ 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
+ 3, 21, 22, 23, 24, 25, 26, 27, 28, 29,
+ 4, 3, 30, 3, 31, 3, 32, 33, 34, 35,
+
+ 36, 37, 38, 39, 40, 41, 42, 43, 44, 45,
+ 46, 47, 3, 48, 49, 50, 51, 52, 53, 54,
+ 55, 56, 3, 3, 3, 3, 1, 57, 57, 57,
+ 57, 57, 57, 57, 57, 58, 59, 57, 57, 57,
+ 60, 61, 57, 57, 57, 57, 57, 57, 57, 57,
+ 57, 57, 57, 57, 57, 57, 57, 57, 57, 62,
+ 63, 64, 65, 66, 67, 68, 69, 70, 71, 72,
+ 73, 74, 75, 76, 77, 78, 79, 80, 81, 82,
+ 83, 84, 85, 86, 87, 88, 89, 90, 91, 92,
+ 93, 94, 95, 96, 97, 98, 99, 100, 101, 102,
+
+ 103, 103, 103, 103, 103, 103, 104, 103, 103, 103,
+ 103, 103, 103, 103, 103, 103, 103, 103, 103, 103,
+ 103, 103, 103, 105, 106, 107, 108, 109, 110, 111,
+ 112, 113, 114, 115, 116, 117, 118, 119, 120, 121,
+ 122, 123, 124, 125, 126, 127, 128, 129, 130, 131,
+ 132, 133, 134, 135, 136
+ } ;
+
+static yyconst flex_int32_t yy_meta[137] =
+ { 0,
+ 1, 1, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+
+ 1, 1, 1, 1, 3, 3, 3, 3, 3, 3,
+ 3, 3, 3, 3, 3, 1, 1, 3, 3, 3,
+ 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
+ 1, 1, 1, 1, 3, 1
+ } ;
+
+static yyconst flex_int16_t yy_base[2605] =
+ { 0,
+ 0, 0, 2037, 7773, 7773, 2018, 108, 2021, 124, 125,
+ 84, 1993, 2031, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 2013, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 220, 353, 486, 619, 752,
+ 885, 1018, 1151, 1284, 1417, 1548, 0, 0, 1665, 1782,
+ 1813, 1946, 2079, 2212, 2324, 2455, 2486, 2619, 2752, 2783,
+ 2814, 0, 0, 136, 2845, 2009, 7773, 7773, 113, 7773,
+ 7773, 7773, 7773, 7773, 7773, 1974, 7773, 7773, 7773, 7773,
+
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 140, 144, 156, 273,
+ 167, 171, 406, 539, 672, 805, 938, 1071, 1204, 1337,
+ 1470, 1509, 1515, 1529, 1544, 1557, 1566, 1577, 1581, 1592,
+ 1596, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 1645, 1693, 1660, 1715, 1709, 1794, 1764, 1777,
+ 1811, 1798, 1825, 1999, 2132, 2265, 2304, 2310, 2324, 2339,
+ 2352, 2358, 2364, 2373, 2377, 2422, 2436, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 2451, 2457, 2469, 2506, 2484, 2672, 2805, 2473, 2972, 2941,
+ 2989, 2957, 2995, 3004, 3021, 3027, 3042, 3046, 3055, 3059,
+ 3072, 3076, 3093, 3097, 3106, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 3130, 3154, 3178, 3124, 3202, 3148, 3211, 3215,
+ 3226, 3232, 3241, 3250, 3263, 3274, 3280, 3289, 3336, 3302,
+
+ 3311, 3340, 3349, 3353, 3362, 3366, 3375, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 3387, 3391,
+ 3400, 3424, 3438, 3449, 3458, 3462, 3473, 3477, 3489, 3500,
+ 3511, 3522, 3526, 3537, 3548, 3559, 3571, 3575, 3586, 3590,
+ 3599, 3608, 3620, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 3624, 3657, 3673, 3638, 3687, 3691, 3704, 3710,
+ 3721, 3739, 3743, 3755, 3759, 3770, 3774, 3792, 3809, 3822,
+ 3831, 3837, 3843, 3849, 3860, 3864, 3876, 7773, 7773, 7773,
+
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 3897, 3914, 3923, 3891, 3944, 3948, 3961, 3965, 3974, 3978,
+ 3993, 3999, 4012, 4016, 4033, 4027, 4050, 4044, 4061, 4067,
+ 4081, 4092, 4098, 4109, 4115, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 4121, 4130, 4154, 4143, 4160,
+ 4177, 4181, 4193, 4202, 4208, 4214, 4228, 4232, 4241, 4247,
+ 4256, 4262, 4279, 4294, 4309, 4313, 4324, 4328, 4339, 4343,
+
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 4358,
+ 4373, 4388, 4400, 4406, 4425, 4437, 4451, 4455, 4464, 4476,
+ 4482, 4488, 4502, 4506, 4515, 4521, 4527, 4533, 4539, 4553,
+ 4566, 4572, 4578, 4584, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 4590, 4601,
+ 4605, 4617, 4623, 4629, 4635, 4650, 4662, 4656, 4674, 4680,
+ 4689, 4701, 4707, 4713, 4719, 4728, 4734, 4740, 4746, 4752,
+
+ 4758, 4767, 4773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 4779, 4785, 4805, 4791, 4818, 4824, 4830, 4836, 4842, 4853,
+ 4857, 4869, 4875, 4881, 4887, 4902, 4906, 4920, 4926, 4932,
+ 4941, 4953, 4957, 4971, 4980, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 4986, 4992, 5004, 5008, 5019, 5025, 5031, 5037,
+ 5043, 5056, 5070, 5076, 5082, 5088, 5094, 5103, 5107, 5121,
+ 5127, 5133, 5142, 5154, 5158, 5172, 5181, 7773, 7773, 7773,
+ 7773, 7773, 5187, 5193, 5205, 5209, 5220, 5226, 5232, 5238,
+ 5244, 5257, 5271, 5277, 5283, 5289, 5295, 5304, 5308, 5322,
+ 5328, 5334, 5343, 5355, 5359, 5373, 5382, 7773, 5388, 5394,
+
+ 5406, 5410, 5421, 5427, 5433, 5439, 5445, 5458, 5472, 5478,
+ 5484, 5490, 5496, 5505, 5509, 5523, 5529, 5535, 5544, 5556,
+ 5560, 5574, 5583, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 5589, 5595, 5613, 5609,
+ 5622, 5628, 5646, 5640, 5660, 5673, 5677, 5688, 5694, 5700,
+ 5711, 5715, 5726, 5739, 5745, 5760, 5764, 5773, 5777, 5790,
+ 5794, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 5811, 5815, 5824, 5828, 5839, 5848, 5862, 5866,
+ 5877, 5881, 5893, 5897, 5911, 5915, 5926, 5930, 5942, 5946,
+
+ 5960, 5964, 5975, 5979, 5991, 5995, 6009, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 6013, 6024,
+ 6028, 6061, 6042, 6075, 6081, 6090, 6096, 6110, 6123, 6129,
+ 6138, 6144, 6150, 6161, 6176, 6189, 6195, 6201, 6210, 6214,
+ 6223, 6227, 6240, 7773, 7773, 7773, 6249, 6261, 6265, 6274,
+ 6278, 6287, 6291, 6300, 6312, 6316, 6325, 6329, 6338, 6342,
+ 6351, 6363, 6367, 6376, 6380, 6389, 6393, 6402, 6414, 6418,
+
+ 6427, 7773, 7773, 7773, 6431, 6440, 6444, 6453, 6465, 6469,
+ 6478, 6482, 6491, 6495, 6504, 6516, 6520, 6529, 6533, 6542,
+ 6546, 6555, 6567, 6571, 6580, 6584, 6593, 6597, 6606, 7773,
+ 6618, 6622, 6631, 6635, 6644, 6648, 6657, 6669, 6673, 6682,
+ 6686, 6695, 6699, 6708, 6720, 6724, 6733, 6737, 6746, 6750,
+ 6759, 6771, 6775, 6784, 6788, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 6797, 6801, 6810, 6822, 6826, 6835, 6839,
+ 6848, 6852, 6861, 6873, 6877, 6886, 6890, 6899, 6903, 6912,
+ 6924, 6928, 6937, 6941, 6950, 6954, 6963, 6975, 7773, 7773,
+
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 6979, 6988, 6992, 7001, 7005,
+ 7014, 7026, 7030, 7039, 7043, 7052, 7056, 7065, 7077, 7081,
+ 7090, 7094, 7103, 7107, 7116, 7128, 7132, 7141, 7145, 7154,
+ 7773, 7158, 7167, 7179, 7183, 7192, 7196, 7205, 7209, 7218,
+ 7230, 7234, 7243, 7247, 7256, 7260, 7269, 7281, 7285, 7294,
+ 7298, 7307, 7311, 7320, 7332, 7336, 7773, 7345, 7349, 7358,
+ 7362, 7371, 7383, 7387, 7396, 7400, 7409, 7413, 7422, 7434,
+ 7438, 7447, 7451, 7460, 7464, 7473, 7485, 7489, 7498, 7502,
+ 7511, 7515, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+
+ 7773, 7773, 7524, 7536, 7540, 7549, 7553, 7562, 7566, 7575,
+ 7587, 7591, 7600, 7604, 7613, 7617, 7626, 7638, 7642, 7651,
+ 7655, 7664, 7668, 7677, 7689, 7693, 7702, 2020, 7773, 7773,
+ 7773, 1998, 1997, 1996, 1995, 7773, 7773, 7773, 7773, 7773,
+ 7773, 1994, 1993, 1992, 7773, 7773, 1991, 1990, 1989, 1988,
+ 1987, 1986, 1985, 1984, 1983, 1982, 1981, 1980, 1979, 1978,
+ 1977, 1976, 1975, 1974, 1917, 1916, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 1915, 7773, 1914, 7773, 1900, 1899,
+ 7773, 7773, 7773, 7773, 7773, 7773, 1886, 1885, 7773, 7773,
+ 7773, 7773, 1884, 7773, 7773, 1883, 1869, 7773, 7773, 1868,
+
+ 1856, 1855, 1854, 1853, 1852, 1851, 1850, 1849, 1848, 1847,
+ 1846, 1844, 1841, 1839, 1838, 1837, 1836, 1834, 1833, 7773,
+ 7773, 7773, 7773, 7773, 7773, 1830, 7773, 7773, 7773, 7773,
+ 1827, 7773, 7773, 7773, 7773, 1825, 7773, 7773, 1824, 7773,
+ 7773, 1823, 7773, 7773, 1822, 7773, 1820, 1819, 7773, 7773,
+ 1817, 1807, 1806, 1802, 7773, 7773, 1801, 1796, 1793, 1791,
+ 1790, 1789, 1788, 1786, 1780, 1778, 1777, 7773, 7773, 7773,
+ 7773, 7773, 7773, 1775, 7773, 7773, 7773, 7773, 7773, 7773,
+ 1769, 7773, 7773, 7773, 7773, 7773, 7773, 1767, 1752, 7773,
+ 7773, 7773, 7773, 7773, 7773, 1737, 1736, 1734, 1728, 1723,
+
+ 1722, 1720, 1718, 1716, 1715, 1712, 1707, 7773, 7773, 7773,
+ 7773, 7773, 7773, 1706, 1705, 1702, 1701, 1700, 1698, 1697,
+ 1696, 1693, 1692, 1691, 7773, 7773, 7773, 7773, 1688, 7773,
+ 7773, 7773, 7773, 7773, 7773, 1685, 1679, 7773, 7773, 1674,
+ 7773, 7773, 1673, 1671, 7773, 7773, 1669, 1666, 1664, 1661,
+ 1658, 1657, 1656, 1652, 1651, 1650, 1649, 1635, 1622, 1621,
+ 1620, 1618, 1617, 1615, 7773, 7773, 7773, 7773, 1608, 7773,
+ 7773, 7773, 7773, 1605, 1604, 7773, 7773, 1603, 1600, 1593,
+ 7773, 7773, 7773, 7773, 1590, 7773, 7773, 7773, 7773, 7773,
+ 7773, 1589, 1588, 1585, 1582, 1580, 1579, 1578, 7773, 7773,
+
+ 1568, 7773, 7773, 7773, 1565, 1563, 1560, 1558, 1557, 1556,
+ 1553, 1552, 1548, 1545, 7773, 7773, 1543, 7773, 7773, 1541,
+ 7773, 7773, 1538, 1537, 7773, 7773, 1536, 1534, 1528, 1521,
+ 1520, 1504, 1491, 1486, 1484, 1482, 7773, 7773, 1481, 1479,
+ 7773, 7773, 1478, 1477, 1476, 1475, 1474, 1473, 1472, 1471,
+ 1470, 1469, 1468, 7773, 7773, 1467, 1466, 1465, 7773, 7773,
+ 7773, 7773, 1464, 1463, 1462, 1461, 7773, 7773, 1460, 1459,
+ 1458, 1457, 1456, 1455, 1454, 7773, 7773, 1453, 1452, 1451,
+ 1450, 1449, 1448, 1447, 1446, 1445, 1388, 7773, 7773, 1387,
+ 7773, 7773, 1386, 7773, 1385, 1371, 7773, 7773, 1370, 7773,
+
+ 7773, 7773, 7773, 7773, 7773, 1358, 1356, 1353, 1351, 7773,
+ 7773, 1350, 1349, 1348, 1346, 1345, 1344, 1343, 1342, 1341,
+ 1340, 1339, 1338, 1337, 1336, 1335, 1334, 1333, 1332, 1331,
+ 1330, 1329, 1328, 1327, 7773, 7773, 1326, 7773, 7773, 1325,
+ 1324, 1323, 1322, 1321, 1320, 1319, 1318, 1317, 1316, 1315,
+ 1314, 1313, 1312, 1255, 1254, 1253, 1252, 1238, 7773, 7773,
+ 1237, 1225, 1223, 1220, 1218, 1217, 1216, 1215, 1213, 1212,
+ 1211, 1210, 1209, 1208, 1207, 1206, 1205, 1204, 1203, 1202,
+ 1201, 1200, 1199, 1198, 1197, 1196, 1195, 1194, 1193, 1192,
+ 1191, 1190, 1189, 1188, 1187, 1186, 1185, 1184, 1183, 1182,
+
+ 1181, 1180, 1179, 1122, 1121, 1120, 1119, 1105, 1104, 1092,
+ 1090, 1087, 1085, 1084, 1083, 1082, 1080, 1079, 1078, 1077,
+ 1076, 1075, 1074, 1073, 1072, 1071, 1070, 1069, 1068, 1067,
+ 1066, 1065, 1064, 1063, 1062, 1061, 1060, 1059, 1058, 1057,
+ 1056, 1055, 1054, 1053, 1052, 1051, 1050, 1049, 1048, 1047,
+ 1046, 989, 988, 987, 986, 972, 971, 959, 957, 954,
+ 7773, 7773, 952, 951, 950, 949, 7773, 7773, 947, 946,
+ 945, 944, 943, 942, 941, 940, 939, 937, 936, 935,
+ 934, 933, 932, 931, 930, 929, 928, 927, 926, 925,
+ 924, 923, 7773, 7773, 921, 920, 919, 918, 917, 916,
+
+ 915, 914, 913, 856, 855, 854, 853, 839, 838, 826,
+ 824, 821, 819, 818, 817, 816, 814, 7773, 7773, 7773,
+ 7773, 7773, 7773, 811, 810, 7773, 7773, 7773, 809, 808,
+ 7773, 7773, 807, 7773, 7773, 806, 805, 804, 803, 802,
+ 801, 800, 799, 798, 795, 794, 793, 792, 791, 790,
+ 789, 788, 787, 786, 785, 784, 783, 782, 781, 780,
+ 723, 722, 721, 720, 706, 705, 693, 691, 688, 686,
+ 685, 684, 683, 681, 680, 678, 677, 676, 675, 673,
+ 672, 671, 670, 669, 668, 667, 666, 665, 664, 663,
+ 662, 661, 660, 659, 658, 657, 656, 655, 654, 653,
+
+ 651, 650, 649, 648, 590, 589, 588, 587, 573, 572,
+ 560, 116, 117, 119, 120, 121, 122, 123, 124, 125,
+ 126, 127, 128, 131, 132, 133, 137, 138, 143, 144,
+ 146, 147, 148, 149, 151, 152, 153, 156, 163, 165,
+ 167, 169, 170, 172, 175, 178, 179, 180, 183, 190,
+ 249, 250, 251, 253, 254, 255, 256, 257, 258, 259,
+ 260, 261, 263, 266, 267, 268, 269, 270, 271, 272,
+ 273, 274, 276, 277, 278, 282, 284, 285, 286, 287,
+ 292, 294, 306, 307, 321, 322, 323, 324, 382, 383,
+ 384, 385, 386, 387, 388, 389, 390, 391, 392, 393,
+
+ 394, 395, 396, 399, 400, 401, 402, 403, 404, 405,
+ 406, 407, 409, 410, 411, 412, 415, 417, 418, 419,
+ 420, 422, 425, 427, 439, 440, 454, 455, 456, 457,
+ 514, 515, 516, 517, 518, 519, 521, 522, 524, 525,
+ 526, 527, 528, 529, 532, 533, 534, 535, 537, 538,
+ 540, 541, 556, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773,
+ 7773, 7773, 7773, 7773, 7773, 7773, 7773, 7773, 542, 549,
+ 562, 569, 557, 658, 7773, 7773, 7773, 7773, 7773, 7751,
+ 579, 580, 7753, 7755, 7757, 7759, 7761, 7763, 7765, 7767,
+
+ 581, 583, 586, 7769
+ } ;
+
+static yyconst flex_int16_t yy_def[2605] =
+ { 0,
+ 2589, 1, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2590, 2591, 2592, 2593, 2594,
+ 2595, 2589, 2589, 2589, 2596, 2597, 2598, 2589, 2589, 2599,
+ 2600, 2601, 2602, 2603, 2604, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 0, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+
+ 2589, 2589, 2589, 2589
+ } ;
+
+static yyconst flex_int16_t yy_nxt[7910] =
+ { 0,
+ 4, 5, 4, 4, 6, 4, 4, 7, 4, 4,
+ 4, 4, 8, 4, 4, 9, 4, 10, 4, 4,
+ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
+ 4, 4, 4, 4, 11, 4, 4, 4, 4, 12,
+ 4, 4, 13, 4, 4, 4, 4, 4, 4, 4,
+ 4, 4, 4, 4, 4, 4, 14, 15, 16, 17,
+ 18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
+ 28, 29, 30, 4, 4, 31, 32, 33, 34, 35,
+ 36, 37, 38, 39, 40, 41, 42, 43, 32, 4,
+ 4, 44, 45, 46, 47, 48, 49, 50, 51, 52,
+
+ 53, 54, 32, 55, 56, 57, 58, 59, 60, 61,
+ 62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
+ 72, 73, 74, 75, 76, 77, 78, 79, 80, 81,
+ 82, 83, 84, 32, 85, 19, 87, 91, 93, 95,
+ 1096, 1129, 1097, 1132, 1098, 2438, 2439, 1133, 2440, 2441,
+ 2442, 2443, 2444, 2445, 2446, 2447, 2448, 2449, 1099, 1134,
+ 2450, 2451, 2452, 88, 92, 94, 2453, 2454, 1130, 1100,
+ 1142, 1101, 2455, 2456, 1143, 2457, 2458, 2459, 2460, 1132,
+ 2461, 2462, 2463, 1133, 1132, 2464, 1132, 1132, 1133, 1132,
+ 1133, 1133, 2465, 1133, 2466, 1134, 2467, 96, 2468, 2469,
+
+ 1134, 2470, 1134, 1134, 2471, 1134, 1142, 2472, 2473, 2474,
+ 1143, 1142, 2475, 1142, 1142, 1143, 1142, 1143, 1143, 2476,
+ 1143, 89, 100, 100, 101, 100, 100, 100, 102, 100,
+ 100, 100, 103, 100, 100, 100, 100, 100, 104, 100,
+ 100, 100, 100, 105, 100, 100, 100, 106, 100, 100,
+ 100, 107, 100, 100, 100, 108, 100, 100, 100, 109,
+ 100, 100, 100, 100, 100, 110, 100, 100, 100, 100,
+ 111, 100, 100, 100, 112, 100, 1135, 1136, 2477, 2478,
+ 2479, 1137, 2480, 2481, 2482, 2483, 2484, 2485, 2486, 2487,
+ 2488, 1138, 2489, 113, 114, 2490, 2491, 2492, 2493, 2494,
+
+ 2495, 2496, 2497, 2498, 1139, 2499, 2500, 2501, 1140, 115,
+ 116, 2502, 1135, 2503, 2504, 2505, 2506, 1135, 1141, 1135,
+ 1135, 2507, 1135, 2508, 117, 118, 119, 120, 121, 122,
+ 123, 124, 125, 126, 127, 2509, 2510, 128, 129, 130,
+ 131, 132, 133, 134, 135, 136, 137, 138, 139, 140,
+ 2511, 2512, 2513, 2514, 141, 142, 142, 143, 142, 142,
+ 142, 144, 142, 142, 142, 145, 142, 142, 142, 142,
+ 146, 147, 142, 142, 142, 142, 148, 142, 149, 142,
+ 150, 142, 142, 142, 151, 142, 142, 142, 152, 142,
+ 142, 142, 153, 142, 142, 142, 142, 154, 155, 142,
+
+ 142, 142, 142, 156, 142, 157, 142, 158, 142, 1144,
+ 1145, 2515, 2516, 2517, 2518, 2519, 2520, 2521, 2522, 2523,
+ 2524, 2525, 2526, 2527, 2528, 2529, 159, 160, 2530, 2531,
+ 2532, 2533, 2534, 2535, 2536, 2537, 2538, 1146, 2539, 2540,
+ 2541, 2542, 161, 162, 2543, 1144, 2544, 2545, 2546, 2547,
+ 1144, 2548, 1144, 1144, 2549, 1144, 2550, 163, 164, 165,
+ 166, 167, 168, 169, 170, 171, 172, 173, 2551, 2552,
+ 174, 175, 176, 177, 178, 179, 180, 181, 182, 183,
+ 184, 185, 186, 2553, 2554, 2555, 2556, 187, 188, 188,
+ 189, 188, 190, 188, 191, 188, 192, 188, 193, 188,
+
+ 194, 195, 196, 197, 198, 199, 200, 201, 188, 202,
+ 188, 203, 188, 204, 205, 188, 188, 206, 188, 207,
+ 188, 208, 188, 209, 188, 210, 188, 211, 212, 213,
+ 214, 215, 216, 217, 218, 188, 219, 188, 220, 188,
+ 221, 222, 1147, 2557, 2558, 2559, 2560, 2561, 2562, 223,
+ 2563, 2564, 224, 2565, 2566, 2567, 2568, 2569, 2570, 225,
+ 226, 2571, 2572, 2573, 2574, 227, 2575, 2576, 228, 2577,
+ 2578, 2579, 2580, 2581, 2582, 229, 230, 2583, 1147, 2584,
+ 636, 637, 1093, 1147, 1094, 1147, 1147, 1095, 1147, 2437,
+ 231, 232, 233, 234, 235, 236, 237, 238, 239, 240,
+
+ 241, 2436, 2435, 242, 243, 244, 245, 246, 247, 248,
+ 249, 250, 251, 252, 253, 254, 2434, 2433, 2432, 2431,
+ 255, 256, 256, 257, 256, 258, 256, 259, 256, 260,
+ 261, 262, 263, 256, 256, 256, 256, 264, 256, 256,
+ 265, 256, 266, 256, 267, 256, 268, 269, 256, 256,
+ 270, 256, 271, 256, 272, 256, 273, 274, 275, 276,
+ 256, 256, 256, 256, 277, 256, 256, 278, 256, 279,
+ 256, 280, 256, 281, 282, 1148, 2585, 2430, 2429, 2428,
+ 2427, 2586, 2426, 2425, 2424, 2423, 2422, 2421, 2420, 2419,
+ 2418, 2417, 2416, 2415, 2414, 2413, 2412, 2411, 2410, 2409,
+
+ 2408, 2407, 2406, 2587, 2405, 2404, 2403, 2402, 2588, 2401,
+ 2400, 1148, 2399, 2398, 2397, 2396, 1148, 2395, 1148, 1148,
+ 2394, 1148, 2393, 283, 284, 285, 286, 287, 288, 289,
+ 290, 291, 292, 293, 2392, 2391, 294, 295, 296, 297,
+ 298, 299, 300, 301, 302, 303, 304, 305, 306, 2390,
+ 2389, 2388, 2387, 307, 308, 308, 309, 308, 308, 308,
+ 310, 308, 308, 308, 311, 308, 308, 308, 308, 312,
+ 313, 308, 308, 308, 308, 314, 315, 308, 308, 316,
+ 308, 308, 308, 317, 308, 308, 308, 318, 308, 308,
+ 308, 319, 308, 308, 308, 308, 320, 321, 308, 308,
+
+ 308, 308, 322, 323, 308, 308, 324, 308, 1149, 2386,
+ 2385, 2384, 2383, 2382, 2381, 2380, 2379, 2378, 2377, 2376,
+ 2375, 2374, 2373, 2372, 2371, 325, 326, 2370, 2369, 2368,
+ 2367, 2366, 2365, 2364, 2363, 2362, 2361, 2360, 2359, 2359,
+ 2358, 327, 328, 2357, 1149, 2356, 2355, 2354, 2353, 1149,
+ 2352, 1149, 1149, 2351, 1149, 2350, 329, 330, 331, 332,
+ 333, 334, 335, 336, 337, 338, 339, 2349, 2348, 340,
+ 341, 342, 343, 344, 345, 346, 347, 348, 349, 350,
+ 351, 352, 2347, 2346, 2345, 2344, 353, 354, 354, 355,
+ 356, 354, 354, 357, 354, 358, 354, 359, 354, 354,
+
+ 354, 354, 354, 360, 354, 354, 354, 354, 361, 354,
+ 354, 354, 362, 354, 354, 354, 363, 364, 354, 354,
+ 365, 354, 366, 354, 367, 354, 354, 354, 354, 354,
+ 368, 354, 354, 354, 354, 369, 354, 354, 354, 370,
+ 354, 1150, 2343, 2342, 2341, 2340, 2339, 2338, 2337, 2336,
+ 2335, 371, 2334, 2333, 2332, 2331, 2330, 2329, 2328, 2327,
+ 2326, 2325, 2324, 2323, 2322, 2321, 2320, 372, 2319, 2318,
+ 2317, 2316, 2315, 2314, 2313, 2312, 2311, 1150, 2310, 2309,
+ 2308, 2307, 1150, 2306, 1150, 1150, 2305, 1150, 2304, 373,
+ 374, 375, 376, 377, 378, 379, 380, 381, 382, 383,
+
+ 2303, 2302, 384, 385, 386, 387, 388, 389, 390, 391,
+ 392, 393, 394, 395, 396, 2301, 2300, 2299, 2298, 397,
+ 398, 398, 399, 398, 398, 398, 400, 398, 401, 398,
+ 402, 398, 398, 398, 398, 398, 403, 398, 398, 398,
+ 398, 404, 398, 398, 398, 398, 398, 398, 398, 405,
+ 398, 398, 398, 406, 398, 407, 398, 408, 398, 398,
+ 398, 398, 398, 409, 398, 398, 398, 398, 410, 398,
+ 398, 398, 398, 398, 1151, 2297, 2296, 2295, 2294, 2293,
+ 2292, 2291, 2290, 2289, 2288, 2287, 2286, 2285, 2284, 2283,
+ 2282, 2281, 2280, 2279, 2278, 2277, 2276, 2275, 2274, 2273,
+
+ 2272, 2271, 2270, 2269, 2268, 2267, 2266, 2265, 2264, 2263,
+ 1151, 2262, 2261, 2260, 2259, 1151, 2258, 1151, 1151, 2257,
+ 1151, 2256, 411, 412, 413, 414, 415, 416, 417, 418,
+ 419, 420, 421, 2255, 2254, 422, 423, 424, 425, 426,
+ 427, 428, 429, 430, 431, 432, 433, 434, 2253, 2252,
+ 2251, 2250, 435, 436, 436, 437, 438, 439, 440, 441,
+ 442, 443, 444, 445, 436, 436, 436, 446, 447, 448,
+ 449, 450, 451, 452, 436, 436, 453, 454, 455, 456,
+ 436, 436, 457, 458, 459, 460, 461, 462, 463, 464,
+ 436, 436, 436, 436, 465, 466, 467, 468, 469, 470,
+
+ 471, 436, 436, 472, 473, 474, 475, 1152, 2249, 2248,
+ 2247, 2246, 2245, 2244, 2243, 2242, 2241, 2240, 2239, 2238,
+ 2237, 2236, 2235, 2234, 2233, 2232, 2231, 2230, 2229, 2228,
+ 2227, 2226, 2225, 2224, 2223, 2222, 2221, 2220, 2219, 2218,
+ 2217, 2216, 2215, 1152, 2214, 2213, 2212, 2211, 1152, 2210,
+ 1152, 1152, 2209, 1152, 2208, 476, 477, 478, 479, 480,
+ 481, 482, 483, 484, 485, 486, 2207, 2206, 487, 488,
+ 489, 490, 491, 492, 493, 494, 495, 496, 497, 498,
+ 499, 2205, 2204, 2203, 2202, 500, 501, 501, 502, 501,
+ 501, 501, 503, 501, 501, 504, 505, 501, 501, 501,
+
+ 501, 501, 501, 501, 501, 501, 501, 506, 501, 507,
+ 508, 509, 501, 501, 501, 510, 501, 501, 501, 511,
+ 501, 501, 512, 513, 501, 501, 501, 501, 501, 514,
+ 501, 501, 501, 515, 516, 501, 517, 518, 519, 501,
+ 1153, 2201, 2200, 2199, 2198, 2197, 2196, 2195, 2194, 2193,
+ 2192, 2191, 2190, 2189, 2188, 2187, 2186, 2185, 2184, 2183,
+ 2182, 2181, 2180, 2179, 2178, 2177, 2176, 2175, 2174, 2173,
+ 2172, 2171, 2170, 2169, 2168, 2167, 1153, 2166, 2165, 2164,
+ 2163, 1153, 2162, 1153, 1153, 2161, 1153, 2160, 520, 521,
+ 522, 523, 524, 525, 526, 527, 528, 529, 530, 2159,
+
+ 2158, 531, 532, 533, 534, 535, 536, 537, 538, 539,
+ 540, 541, 542, 543, 2157, 2156, 2156, 2155, 544, 545,
+ 545, 546, 545, 547, 548, 549, 545, 550, 551, 552,
+ 545, 553, 554, 545, 555, 556, 545, 557, 558, 559,
+ 560, 545, 545, 545, 545, 561, 545, 545, 562, 545,
+ 563, 564, 565, 545, 566, 567, 568, 569, 570, 571,
+ 545, 572, 573, 545, 574, 575, 576, 577, 545, 545,
+ 545, 545, 578, 1154, 2154, 2153, 2152, 2151, 2150, 2149,
+ 2148, 2147, 2146, 2145, 2144, 2143, 2142, 2141, 2140, 2139,
+ 2138, 2137, 2136, 2135, 2134, 2133, 2132, 2131, 2130, 2129,
+
+ 2128, 2127, 2126, 2125, 2124, 2123, 2122, 2121, 2120, 1154,
+ 2119, 2118, 1155, 2117, 1154, 2116, 1154, 1154, 1156, 1154,
+ 2115, 579, 580, 581, 582, 583, 584, 585, 586, 587,
+ 588, 589, 1157, 2114, 590, 591, 592, 593, 594, 595,
+ 596, 597, 598, 599, 600, 601, 602, 1158, 1155, 2113,
+ 2112, 603, 605, 1155, 1156, 1155, 1155, 2111, 1155, 1156,
+ 1159, 1156, 1156, 2110, 1156, 2109, 2108, 2107, 1157, 1160,
+ 2106, 606, 2105, 1157, 2104, 1157, 1157, 2103, 1157, 607,
+ 1161, 2102, 2101, 1158, 1162, 2100, 2099, 2098, 1158, 2097,
+ 1158, 1158, 2096, 1158, 2095, 1163, 1159, 2095, 608, 1164,
+
+ 609, 1159, 610, 1159, 1159, 1160, 1159, 2094, 2093, 2092,
+ 1160, 2091, 1160, 1160, 2090, 1160, 1161, 2089, 2088, 2087,
+ 1162, 1161, 2086, 1161, 1161, 1162, 1161, 1162, 1162, 2085,
+ 1162, 1163, 2084, 2083, 2082, 1164, 1163, 2081, 1163, 1163,
+ 1164, 1163, 1164, 1164, 2080, 1164, 2079, 2078, 1165, 2077,
+ 2076, 2075, 611, 612, 613, 614, 615, 616, 617, 618,
+ 619, 620, 621, 1179, 2074, 622, 623, 624, 625, 626,
+ 627, 628, 629, 630, 631, 632, 633, 634, 2073, 2072,
+ 2071, 2070, 635, 639, 1165, 2069, 2068, 2067, 640, 1165,
+ 2066, 1165, 1165, 2065, 1165, 2064, 1166, 1167, 2063, 1179,
+
+ 2062, 1168, 2061, 2060, 1179, 1169, 1179, 1179, 2059, 1179,
+ 641, 1170, 1187, 1171, 2058, 642, 1172, 2057, 1180, 1181,
+ 2056, 2055, 2054, 1182, 1173, 2053, 2052, 2051, 1174, 2050,
+ 2049, 2048, 1175, 1183, 2047, 2046, 2045, 1166, 1176, 1166,
+ 1177, 2044, 1166, 1178, 2043, 2042, 1184, 2041, 1187, 2040,
+ 1185, 2039, 2038, 1187, 1180, 1187, 1187, 2037, 1187, 1180,
+ 1186, 1180, 1180, 2036, 1180, 2035, 2034, 1193, 1194, 643,
+ 644, 645, 646, 647, 648, 649, 650, 651, 652, 653,
+ 1196, 2033, 654, 655, 656, 657, 658, 659, 660, 661,
+ 662, 663, 664, 665, 666, 1195, 2032, 1188, 2031, 667,
+
+ 669, 1200, 1189, 1193, 2030, 670, 2029, 2028, 1193, 2027,
+ 1193, 1193, 1190, 1193, 1197, 2026, 1196, 2025, 2024, 2023,
+ 2022, 1196, 2021, 1196, 1196, 2020, 1196, 671, 1201, 1191,
+ 2019, 2018, 672, 1188, 1198, 2017, 2016, 1200, 1188, 1192,
+ 1188, 1188, 1200, 1188, 1200, 1200, 2015, 1200, 2014, 2013,
+ 1197, 2012, 2012, 2011, 2010, 1197, 2009, 1197, 1197, 2008,
+ 1197, 1199, 2007, 2006, 1201, 2005, 2004, 2003, 2002, 1201,
+ 2001, 1201, 1201, 2000, 1201, 1999, 1998, 1997, 1996, 1995,
+ 1994, 1993, 1992, 1991, 1990, 1989, 673, 674, 675, 676,
+ 677, 678, 679, 680, 681, 682, 683, 1988, 1987, 684,
+
+ 685, 686, 687, 688, 689, 690, 691, 692, 693, 694,
+ 695, 696, 1986, 1985, 1984, 1983, 697, 699, 700, 701,
+ 702, 703, 704, 705, 706, 707, 708, 709, 1982, 1981,
+ 710, 711, 712, 713, 714, 715, 716, 717, 718, 719,
+ 720, 721, 722, 1980, 1980, 1980, 1979, 723, 724, 724,
+ 724, 724, 725, 726, 727, 724, 728, 729, 724, 724,
+ 730, 731, 724, 732, 724, 724, 733, 734, 735, 724,
+ 724, 724, 724, 724, 724, 724, 724, 724, 724, 736,
+ 737, 738, 724, 739, 740, 724, 724, 741, 742, 724,
+ 743, 724, 724, 744, 745, 746, 724, 724, 724, 724,
+
+ 724, 724, 1202, 1978, 1977, 1976, 1975, 1974, 1973, 1972,
+ 1971, 1970, 1969, 1968, 1967, 1966, 1965, 1964, 1963, 1962,
+ 1961, 1960, 1959, 1958, 1957, 1956, 1955, 1954, 1953, 1131,
+ 1128, 99, 98, 97, 90, 86, 2589, 2589, 1202, 2589,
+ 2589, 2589, 2589, 1202, 2589, 1202, 1202, 2589, 1202, 2589,
+ 747, 748, 749, 750, 751, 752, 753, 754, 755, 756,
+ 757, 2589, 2589, 758, 759, 760, 761, 762, 763, 764,
+ 765, 766, 767, 768, 769, 770, 2589, 2589, 2589, 2589,
+ 771, 772, 772, 773, 772, 772, 772, 774, 772, 772,
+ 772, 775, 772, 772, 772, 772, 772, 776, 772, 772,
+
+ 772, 772, 777, 772, 772, 772, 772, 772, 772, 772,
+ 778, 772, 772, 772, 779, 772, 772, 772, 780, 772,
+ 772, 772, 772, 772, 781, 772, 772, 772, 772, 782,
+ 772, 772, 772, 772, 772, 1203, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 1203, 2589, 2589, 2589, 2589, 1203, 2589, 1203, 1203,
+ 2589, 1203, 2589, 783, 784, 785, 786, 787, 788, 789,
+ 790, 791, 792, 793, 2589, 2589, 794, 795, 796, 797,
+
+ 798, 799, 800, 801, 802, 803, 804, 805, 806, 2589,
+ 2589, 2589, 2589, 807, 808, 808, 809, 810, 808, 811,
+ 812, 808, 808, 813, 814, 808, 815, 816, 817, 808,
+ 818, 808, 819, 820, 821, 822, 823, 824, 808, 825,
+ 826, 808, 808, 827, 828, 808, 829, 830, 808, 808,
+ 831, 832, 808, 833, 834, 835, 808, 836, 808, 837,
+ 838, 839, 840, 841, 842, 808, 843, 844, 1204, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 845, 846, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+
+ 2589, 847, 848, 2589, 1204, 2589, 2589, 1205, 2589, 1204,
+ 2589, 1204, 1204, 1206, 1204, 2589, 849, 850, 851, 852,
+ 853, 854, 855, 856, 857, 858, 859, 1207, 2589, 860,
+ 861, 862, 863, 864, 865, 866, 867, 868, 869, 870,
+ 871, 872, 1208, 1205, 2589, 2589, 873, 875, 1205, 1206,
+ 1205, 1205, 2589, 1205, 1206, 1209, 1206, 1206, 2589, 1206,
+ 2589, 1210, 2589, 1207, 2589, 2589, 2589, 1211, 1207, 2589,
+ 1207, 1207, 2589, 1207, 876, 2589, 1212, 2589, 1208, 2589,
+ 1213, 2589, 2589, 1208, 2589, 1208, 1208, 2589, 1208, 2589,
+ 2589, 1209, 2589, 2589, 2589, 2589, 1209, 1210, 1209, 1209,
+
+ 2589, 1209, 1210, 1211, 1210, 1210, 2589, 1210, 1211, 2589,
+ 1211, 1211, 1212, 1211, 2589, 2589, 1213, 1212, 2589, 1212,
+ 1212, 1213, 1212, 1213, 1213, 1214, 1213, 2589, 877, 878,
+ 879, 880, 881, 882, 883, 884, 885, 886, 887, 1215,
+ 2589, 888, 889, 890, 891, 892, 893, 894, 895, 896,
+ 897, 898, 899, 900, 1216, 2589, 2589, 2589, 901, 903,
+ 1217, 1214, 2589, 2589, 2589, 2589, 1214, 2589, 1214, 1214,
+ 2589, 1214, 1218, 2589, 2589, 1215, 1239, 2589, 2589, 2589,
+ 1215, 2589, 1215, 1215, 2589, 1215, 904, 1226, 2589, 2589,
+ 1216, 2589, 2589, 2589, 1240, 1216, 1217, 1216, 1216, 2589,
+
+ 1216, 1217, 1227, 1217, 1217, 2589, 1217, 1228, 1218, 1219,
+ 1220, 2589, 1239, 1218, 1221, 1218, 1218, 1239, 1218, 1239,
+ 1239, 1241, 1239, 1226, 1222, 2589, 2589, 2589, 1226, 1229,
+ 1226, 1226, 2589, 1226, 1230, 2589, 2589, 1223, 2589, 2589,
+ 2589, 1224, 2589, 2589, 2589, 1219, 2589, 2589, 2589, 2589,
+ 1219, 1225, 1219, 1219, 2589, 1219, 2589, 2589, 2589, 905,
+ 906, 907, 908, 909, 910, 911, 912, 913, 914, 915,
+ 2589, 2589, 916, 917, 918, 919, 920, 921, 922, 923,
+ 924, 925, 926, 927, 928, 2589, 2589, 2589, 2589, 929,
+ 931, 932, 933, 934, 935, 936, 937, 938, 939, 940,
+
+ 941, 2589, 2589, 942, 943, 944, 945, 946, 947, 948,
+ 949, 950, 951, 952, 953, 954, 2589, 2589, 2589, 2589,
+ 955, 956, 956, 956, 957, 956, 958, 956, 956, 956,
+ 956, 956, 956, 959, 960, 956, 961, 956, 956, 962,
+ 956, 963, 956, 956, 956, 956, 956, 964, 956, 956,
+ 956, 965, 956, 966, 956, 956, 956, 967, 956, 956,
+ 968, 969, 956, 970, 956, 956, 971, 956, 972, 956,
+ 956, 956, 956, 956, 973, 1231, 2589, 2589, 2589, 2589,
+ 1232, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 1233, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 1234, 2589, 2589,
+ 2589, 1231, 2589, 2589, 2589, 2589, 1231, 1235, 1231, 1231,
+ 2589, 1231, 2589, 974, 975, 976, 977, 978, 979, 980,
+ 981, 982, 983, 984, 2589, 2589, 985, 986, 987, 988,
+ 989, 990, 991, 992, 993, 994, 995, 996, 997, 2589,
+ 2589, 2589, 2589, 998, 999, 999, 999, 999, 999, 1000,
+ 999, 999, 999, 1001, 999, 999, 1002, 1003, 999, 1004,
+ 999, 999, 1005, 1006, 1007, 999, 999, 999, 999, 999,
+ 999, 999, 999, 999, 999, 999, 1008, 999, 999, 999,
+ 1009, 999, 999, 1010, 1011, 999, 1012, 999, 999, 1013,
+
+ 1014, 1015, 999, 999, 999, 999, 999, 999, 1236, 1237,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 1238, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 1236, 2589, 2589, 2589, 2589, 1236,
+ 2589, 1236, 1236, 2589, 1236, 2589, 1016, 1017, 1018, 1019,
+ 1020, 1021, 1022, 1023, 1024, 1025, 1026, 2589, 2589, 1027,
+ 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037,
+ 1038, 1039, 2589, 2589, 2589, 2589, 1040, 1042, 1043, 1044,
+ 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 2589, 2589,
+
+ 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062,
+ 1063, 1064, 1065, 2589, 2589, 2589, 2589, 1066, 1068, 1069,
+ 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 2589,
+ 2589, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087,
+ 1088, 1089, 1090, 1091, 1247, 2589, 2589, 2589, 1092, 1103,
+ 1104, 1105, 1106, 1107, 1108, 1109, 1110, 1111, 1112, 1113,
+ 1251, 2589, 1114, 1115, 1116, 1117, 1118, 1119, 1120, 1121,
+ 1122, 1123, 1124, 1125, 1126, 1242, 2589, 2589, 2589, 1127,
+ 1247, 2589, 2589, 2589, 1243, 1247, 2589, 1247, 1247, 2589,
+ 1247, 2589, 1248, 1249, 2589, 1244, 1251, 2589, 1252, 2589,
+
+ 2589, 1251, 2589, 1251, 1251, 2589, 1251, 1253, 2589, 2589,
+ 2589, 1245, 2589, 2589, 2589, 2589, 1242, 2589, 1242, 1242,
+ 1250, 1242, 1246, 2589, 1254, 2589, 2589, 1255, 1248, 2589,
+ 1257, 2589, 2589, 1248, 1252, 1248, 1248, 2589, 1248, 1252,
+ 2589, 1252, 1252, 1253, 1252, 1258, 2589, 2589, 1253, 1259,
+ 1253, 1253, 2589, 1253, 1256, 2589, 2589, 2589, 1260, 2589,
+ 1254, 2589, 1261, 2589, 2589, 1254, 1257, 1254, 1254, 2589,
+ 1254, 1257, 2589, 1257, 1257, 1262, 1257, 2589, 2589, 1263,
+ 2589, 1258, 2589, 2589, 2589, 1259, 1258, 2589, 1258, 1258,
+ 1259, 1258, 1259, 1259, 1260, 1259, 1264, 2589, 1261, 1260,
+
+ 1265, 1260, 1260, 1261, 1260, 1261, 1261, 2589, 1261, 1266,
+ 2589, 1262, 2589, 2589, 2589, 1263, 1262, 2589, 1262, 1262,
+ 1263, 1262, 1263, 1263, 2589, 1263, 2589, 1288, 2589, 2589,
+ 2589, 2589, 1264, 1267, 1268, 2589, 1265, 1264, 1269, 1264,
+ 1264, 1265, 1264, 1265, 1265, 1266, 1265, 2589, 1270, 2589,
+ 1266, 1296, 1266, 1266, 2589, 1266, 2589, 1274, 1275, 2589,
+ 2589, 1271, 1276, 1288, 2589, 1272, 2589, 2589, 1288, 1267,
+ 1288, 1288, 1277, 1288, 1267, 1273, 1267, 1267, 2589, 1267,
+ 2589, 1281, 1282, 2589, 2589, 1278, 1283, 1296, 2589, 1279,
+ 2589, 2589, 1296, 1274, 1296, 1296, 1284, 1296, 1274, 1280,
+
+ 1274, 1274, 2589, 1274, 2589, 1289, 1290, 2589, 2589, 1285,
+ 1291, 2589, 2589, 1286, 1297, 2589, 2589, 1281, 1298, 2589,
+ 1292, 2589, 1281, 1287, 1281, 1281, 2589, 1281, 2589, 1299,
+ 2589, 2589, 2589, 1293, 2589, 1300, 2589, 1294, 2589, 2589,
+ 2589, 1289, 2589, 2589, 1301, 2589, 1289, 1295, 1289, 1289,
+ 1297, 1289, 2589, 1302, 1298, 1297, 2589, 1297, 1297, 1298,
+ 1297, 1298, 1298, 2589, 1298, 1299, 1303, 2589, 2589, 2589,
+ 1299, 1300, 1299, 1299, 2589, 1299, 1300, 1304, 1300, 1300,
+ 1301, 1300, 2589, 1305, 2589, 1301, 2589, 1301, 1301, 1302,
+ 1301, 2589, 1306, 2589, 1302, 2589, 1302, 1302, 2589, 1302,
+
+ 2589, 2589, 1303, 2589, 2589, 1314, 2589, 1303, 2589, 1303,
+ 1303, 2589, 1303, 1304, 1315, 2589, 2589, 2589, 1304, 1305,
+ 1304, 1304, 2589, 1304, 1305, 2589, 1305, 1305, 1306, 1305,
+ 2589, 2589, 2589, 1306, 2589, 1306, 1306, 2589, 1306, 1307,
+ 1308, 1314, 2589, 1316, 1309, 2589, 1314, 2589, 1314, 1314,
+ 1315, 1314, 1317, 2589, 1310, 1315, 1318, 1315, 1315, 2589,
+ 1315, 2589, 2589, 2589, 2589, 1319, 2589, 1311, 2589, 1320,
+ 2589, 1312, 2589, 2589, 2589, 1307, 2589, 2589, 1321, 1316,
+ 1307, 1313, 1307, 1307, 1316, 1307, 1316, 1316, 1317, 1316,
+ 1322, 2589, 1318, 1317, 1323, 1317, 1317, 1318, 1317, 1318,
+
+ 1318, 1319, 1318, 1324, 2589, 1320, 1319, 2589, 1319, 1319,
+ 1320, 1319, 1320, 1320, 1321, 1320, 2589, 2589, 1325, 1321,
+ 2589, 1321, 1321, 1326, 1321, 2589, 1322, 1329, 1330, 2589,
+ 1323, 1322, 1331, 1322, 1322, 1323, 1322, 1323, 1323, 1324,
+ 1323, 1336, 1332, 2589, 1324, 1327, 1324, 1324, 2589, 1324,
+ 1328, 2589, 1337, 2589, 2589, 1333, 2589, 2589, 2589, 1334,
+ 2589, 1340, 1341, 1329, 2589, 1343, 2589, 1338, 1329, 1335,
+ 1329, 1329, 2589, 1329, 2589, 2589, 1344, 1336, 2589, 2589,
+ 1347, 2589, 1336, 2589, 1336, 1336, 2589, 1336, 1337, 1342,
+ 2589, 1345, 1348, 1337, 1339, 1337, 1337, 1340, 1337, 2589,
+
+ 2589, 1343, 1340, 1349, 1340, 1340, 1343, 1340, 1343, 1343,
+ 2589, 1343, 1344, 2589, 1350, 2589, 1347, 1344, 1346, 1344,
+ 1344, 1347, 1344, 1347, 1347, 1351, 1347, 2589, 1348, 1352,
+ 2589, 2589, 2589, 1348, 2589, 1348, 1348, 2589, 1348, 1349,
+ 1353, 2589, 2589, 2589, 1349, 2589, 1349, 1349, 2589, 1349,
+ 1350, 1354, 2589, 2589, 2589, 1350, 2589, 1350, 1350, 2589,
+ 1350, 1351, 1355, 2589, 2589, 1352, 1351, 2589, 1351, 1351,
+ 1352, 1351, 1352, 1352, 1356, 1352, 1353, 2589, 1357, 2589,
+ 2589, 1353, 2589, 1353, 1353, 2589, 1353, 1354, 2589, 1358,
+ 2589, 2589, 1354, 1359, 1354, 1354, 2589, 1354, 1355, 2589,
+
+ 2589, 2589, 1360, 1355, 2589, 1355, 1355, 2589, 1355, 2589,
+ 1356, 1361, 2589, 2589, 1357, 1356, 2589, 1356, 1356, 1357,
+ 1356, 1357, 1357, 1362, 1357, 1358, 2589, 1363, 2589, 1359,
+ 1358, 2589, 1358, 1358, 1359, 1358, 1359, 1359, 1360, 1359,
+ 2589, 1374, 2589, 1360, 2589, 1360, 1360, 1361, 1360, 2589,
+ 2589, 2589, 1361, 2589, 1361, 1361, 2589, 1361, 2589, 1362,
+ 1364, 2589, 2589, 1363, 1362, 1365, 1362, 1362, 1363, 1362,
+ 1363, 1363, 2589, 1363, 2589, 1366, 1369, 1374, 2589, 2589,
+ 2589, 1370, 1374, 2589, 1374, 1374, 2589, 1374, 2589, 2589,
+ 1375, 1371, 1367, 2589, 1378, 2589, 1364, 2589, 2589, 2589,
+
+ 2589, 1364, 1368, 1364, 1364, 1376, 1364, 1379, 1372, 2589,
+ 2589, 2589, 1369, 1380, 1381, 2589, 2589, 1369, 1373, 1369,
+ 1369, 2589, 1369, 2589, 1385, 1386, 1375, 2589, 1382, 2589,
+ 1378, 1375, 1377, 1375, 1375, 1378, 1375, 1378, 1378, 1387,
+ 1378, 1383, 1392, 1379, 1388, 2589, 1393, 2589, 1379, 1380,
+ 1379, 1379, 1389, 1379, 1380, 1384, 1380, 1380, 1394, 1380,
+ 1385, 2589, 1395, 2589, 2589, 1385, 1390, 1385, 1385, 2589,
+ 1385, 1391, 2589, 1396, 2589, 2589, 2589, 1397, 1392, 2589,
+ 2589, 2589, 1393, 1392, 2589, 1392, 1392, 1393, 1392, 1393,
+ 1393, 2589, 1393, 2589, 1394, 1398, 2589, 2589, 1395, 1394,
+
+ 2589, 1394, 1394, 1395, 1394, 1395, 1395, 2589, 1395, 1396,
+ 1399, 2589, 1401, 1397, 1396, 2589, 1396, 1396, 1397, 1396,
+ 1397, 1397, 2589, 1397, 1402, 1406, 2589, 2589, 2589, 1403,
+ 2589, 1398, 2589, 2589, 1407, 2589, 1398, 1400, 1398, 1398,
+ 1408, 1398, 2589, 2589, 2589, 2589, 1409, 2589, 1401, 2589,
+ 2589, 1404, 1410, 1401, 2589, 1401, 1405, 2589, 1401, 2589,
+ 2589, 1406, 2589, 1411, 2589, 2589, 1406, 1412, 1406, 1406,
+ 1407, 1406, 2589, 2589, 2589, 1407, 1408, 1407, 1407, 1413,
+ 1407, 1408, 1409, 1408, 1408, 2589, 1408, 1409, 1410, 1409,
+ 1409, 2589, 1409, 1410, 1423, 1410, 1410, 2589, 1410, 1411,
+
+ 1414, 1415, 2589, 1412, 1411, 2589, 1411, 1411, 1412, 1411,
+ 1412, 1412, 2589, 1412, 2589, 1413, 2589, 1417, 1418, 2589,
+ 1413, 2589, 1413, 1413, 2589, 1413, 1420, 1421, 1416, 2589,
+ 1423, 2589, 2589, 2589, 2589, 1423, 1414, 1423, 1423, 2589,
+ 1423, 1414, 2589, 1414, 1414, 1419, 1414, 1424, 1425, 2589,
+ 2589, 1427, 2589, 1417, 1422, 2589, 2589, 2589, 1417, 2589,
+ 1417, 1417, 1420, 1417, 1428, 2589, 2589, 1420, 1429, 1420,
+ 1420, 2589, 1420, 2589, 2589, 1426, 2589, 1430, 2589, 2589,
+ 2589, 1431, 2589, 1424, 2589, 2589, 2589, 1427, 1424, 2589,
+ 1424, 1424, 1427, 1424, 1427, 1427, 1432, 1427, 2589, 2589,
+
+ 1428, 2589, 1433, 2589, 1429, 1428, 2589, 1428, 1428, 1429,
+ 1428, 1429, 1429, 1430, 1429, 1434, 2589, 1431, 1430, 1435,
+ 1430, 1430, 1431, 1430, 1431, 1431, 2589, 1431, 2589, 2589,
+ 1439, 2589, 1432, 2589, 2589, 2589, 1436, 1432, 1433, 1432,
+ 1432, 1437, 1432, 1433, 2589, 1433, 1433, 1443, 1433, 2589,
+ 2589, 1434, 2589, 1440, 1441, 1435, 1434, 2589, 1434, 1434,
+ 1435, 1434, 1435, 1435, 1444, 1435, 1439, 2589, 1438, 2589,
+ 1445, 1439, 1436, 1439, 1439, 2589, 1439, 1436, 2589, 1436,
+ 1436, 1442, 1436, 1443, 1446, 2589, 2589, 2589, 1443, 1440,
+ 1443, 1443, 2589, 1443, 1440, 1447, 1440, 1440, 2589, 1440,
+
+ 1444, 1448, 2589, 2589, 2589, 1444, 1445, 1444, 1444, 2589,
+ 1444, 1445, 1449, 1445, 1445, 2589, 1445, 2589, 1450, 2589,
+ 1446, 2589, 2589, 2589, 1451, 1446, 2589, 1446, 1446, 2589,
+ 1446, 1447, 2589, 1452, 2589, 2589, 1447, 1448, 1447, 1447,
+ 2589, 1447, 1448, 2589, 1448, 1448, 1456, 1448, 1449, 2589,
+ 2589, 2589, 2589, 1449, 1450, 1449, 1449, 1453, 1449, 1450,
+ 1451, 1450, 1450, 1457, 1450, 1451, 2589, 1451, 1451, 1452,
+ 1451, 2589, 2589, 2589, 1452, 1454, 1452, 1452, 2589, 1452,
+ 1458, 1459, 1456, 2589, 1463, 2589, 2589, 1456, 2589, 1456,
+ 1456, 2589, 1456, 1453, 2589, 1460, 1464, 2589, 1453, 1457,
+
+ 1453, 1453, 1455, 1453, 1457, 1465, 1457, 1457, 1461, 1457,
+ 2589, 1466, 2589, 2589, 2589, 2589, 1458, 1469, 2589, 2589,
+ 1463, 1458, 1462, 1458, 1458, 1463, 1458, 1463, 1463, 1467,
+ 1463, 1470, 1464, 2589, 2589, 1471, 2589, 1464, 2589, 1464,
+ 1464, 1465, 1464, 2589, 1472, 2589, 1465, 1466, 1465, 1465,
+ 1473, 1465, 1466, 1469, 1466, 1466, 1468, 1466, 1469, 1474,
+ 1469, 1469, 2589, 1469, 2589, 1475, 2589, 1470, 2589, 2589,
+ 2589, 1471, 1470, 2589, 1470, 1470, 1471, 1470, 1471, 1471,
+ 1472, 1471, 1478, 1476, 2589, 1472, 1473, 1472, 1472, 2589,
+ 1472, 1473, 2589, 1473, 1473, 1474, 1473, 1479, 2589, 2589,
+
+ 1474, 1475, 1474, 1474, 2589, 1474, 1475, 2589, 1475, 1475,
+ 1477, 1475, 1480, 2589, 2589, 2589, 1481, 2589, 1478, 2589,
+ 2589, 2589, 2589, 1478, 2589, 1478, 1478, 1482, 1478, 2589,
+ 2589, 1483, 2589, 1479, 2589, 2589, 2589, 2589, 1479, 2589,
+ 1479, 1479, 1484, 1479, 2589, 2589, 1485, 2589, 1480, 2589,
+ 2589, 2589, 1481, 1480, 2589, 1480, 1480, 1481, 1480, 1481,
+ 1481, 1486, 1481, 1482, 2589, 2589, 2589, 1483, 1482, 2589,
+ 1482, 1482, 1483, 1482, 1483, 1483, 1487, 1483, 1484, 2589,
+ 2589, 2589, 1485, 1484, 2589, 1484, 1484, 1485, 1484, 1485,
+ 1485, 1490, 1485, 2589, 2589, 2589, 1488, 1486, 2589, 2589,
+
+ 1491, 2589, 1486, 1495, 1486, 1486, 2589, 1486, 2589, 1496,
+ 2589, 1492, 1487, 2589, 2589, 2589, 2589, 1487, 2589, 1487,
+ 1487, 2589, 1487, 1489, 1497, 2589, 2589, 1493, 1499, 1500,
+ 2589, 2589, 1490, 2589, 1490, 1490, 2589, 1490, 1494, 1495,
+ 1506, 2589, 2589, 1501, 1495, 1496, 1495, 1495, 1502, 1495,
+ 1496, 1498, 1496, 1496, 1507, 1496, 1503, 2589, 1508, 2589,
+ 2589, 2589, 2589, 2589, 1499, 2589, 2589, 1509, 2589, 1499,
+ 1504, 1499, 1499, 2589, 1499, 1505, 1506, 2589, 2589, 1512,
+ 2589, 1506, 2589, 1506, 1506, 1513, 1506, 1510, 2589, 2589,
+ 1507, 1514, 2589, 2589, 1508, 1507, 2589, 1507, 1507, 1508,
+
+ 1507, 1508, 1508, 1509, 1508, 1515, 2589, 2589, 1509, 1516,
+ 1509, 1509, 2589, 1509, 1511, 1512, 2589, 2589, 1517, 2589,
+ 1512, 1513, 1512, 1512, 1518, 1512, 1513, 1514, 1513, 1513,
+ 1519, 1513, 1514, 2589, 1514, 1514, 1520, 1514, 2589, 2589,
+ 2589, 1515, 1521, 2589, 2589, 1516, 1515, 2589, 1515, 1515,
+ 1516, 1515, 1516, 1516, 1517, 1516, 1522, 2589, 2589, 1517,
+ 1518, 1517, 1517, 2589, 1517, 1518, 1519, 1518, 1518, 1523,
+ 1518, 1519, 1520, 1519, 1519, 1524, 1519, 1520, 1521, 1520,
+ 1520, 1525, 1520, 1521, 2589, 1521, 1521, 1526, 1521, 2589,
+ 2589, 2589, 1522, 1527, 2589, 2589, 2589, 1522, 2589, 1522,
+
+ 1522, 2589, 1522, 2589, 1528, 1523, 2589, 2589, 1529, 2589,
+ 1523, 1524, 1523, 1523, 2589, 1523, 1524, 1525, 1524, 1524,
+ 1530, 1524, 1525, 1526, 1525, 1525, 1531, 1525, 1526, 1527,
+ 1526, 1526, 1532, 1526, 1527, 2589, 1527, 1527, 1533, 1527,
+ 1528, 2589, 2589, 2589, 1529, 1528, 2589, 1528, 1528, 1529,
+ 1528, 1529, 1529, 1534, 1529, 2589, 1530, 2589, 2589, 1540,
+ 2589, 1530, 1531, 1530, 1530, 1537, 1530, 1531, 1532, 1531,
+ 1531, 1535, 1531, 1532, 1533, 1532, 1532, 1541, 1532, 1533,
+ 2589, 1533, 1533, 1542, 1533, 1538, 2589, 2589, 2589, 1534,
+ 2589, 2589, 1543, 2589, 1534, 1540, 1534, 1534, 1536, 1534,
+
+ 1540, 1537, 1540, 1540, 1544, 1540, 1537, 2589, 1537, 1537,
+ 1545, 1537, 1539, 1541, 2589, 2589, 1546, 2589, 1541, 1542,
+ 1541, 1541, 1547, 1541, 1542, 2589, 1542, 1542, 1543, 1542,
+ 2589, 1548, 2589, 1543, 2589, 1543, 1543, 1549, 1543, 2589,
+ 1544, 2589, 2589, 1550, 2589, 1544, 1545, 1544, 1544, 1551,
+ 1544, 1545, 1546, 1545, 1545, 1552, 1545, 1546, 1547, 1546,
+ 1546, 1553, 1546, 1547, 2589, 1547, 1547, 1548, 1547, 2589,
+ 1554, 2589, 1548, 1549, 1548, 1548, 1555, 1548, 1549, 1550,
+ 1549, 1549, 1556, 1549, 1550, 1551, 1550, 1550, 1557, 1550,
+ 1551, 1552, 1551, 1551, 1561, 1551, 1552, 1553, 1552, 1552,
+
+ 2589, 1552, 1553, 2589, 1553, 1553, 1554, 1553, 1558, 1559,
+ 2589, 1554, 1555, 1554, 1554, 2589, 1554, 1555, 1556, 1555,
+ 1555, 1562, 1555, 1556, 1557, 1556, 1556, 1563, 1556, 1557,
+ 1561, 1557, 1557, 1564, 1557, 1561, 1560, 1561, 1561, 1565,
+ 1561, 2589, 2589, 2589, 1558, 1566, 2589, 2589, 2589, 1558,
+ 2589, 1558, 1558, 2589, 1558, 2589, 1567, 1562, 2589, 2589,
+ 1568, 2589, 1562, 1563, 1562, 1562, 2589, 1562, 1563, 1564,
+ 1563, 1563, 1569, 1563, 1564, 1565, 1564, 1564, 1570, 1564,
+ 1565, 1566, 1565, 1565, 1571, 1565, 1566, 2589, 1566, 1566,
+ 1572, 1566, 1567, 2589, 2589, 2589, 1568, 1567, 2589, 1567,
+
+ 1567, 1568, 1567, 1568, 1568, 1573, 1568, 2589, 1569, 1574,
+ 2589, 2589, 2589, 1569, 1570, 1569, 1569, 2589, 1569, 1570,
+ 1571, 1570, 1570, 1575, 1570, 1571, 1572, 1571, 1571, 1576,
+ 1571, 1572, 2589, 1572, 1572, 1577, 1572, 2589, 2589, 2589,
+ 2589, 1573, 2589, 2589, 1578, 1574, 1573, 2589, 1573, 1573,
+ 1574, 1573, 1574, 1574, 2589, 1574, 1579, 2589, 2589, 1575,
+ 1580, 2589, 2589, 2589, 1575, 1576, 1575, 1575, 2589, 1575,
+ 1576, 1577, 1576, 1576, 1581, 1576, 1577, 2589, 1577, 1577,
+ 1578, 1577, 2589, 1582, 2589, 1578, 2589, 1578, 1578, 1583,
+ 1578, 2589, 1579, 2589, 2589, 1584, 1580, 1579, 2589, 1579,
+
+ 1579, 1580, 1579, 1580, 1580, 2589, 1580, 1585, 2589, 2589,
+ 1581, 1586, 2589, 2589, 2589, 1581, 2589, 1581, 1581, 1582,
+ 1581, 2589, 1587, 2589, 1582, 1583, 1582, 1582, 1588, 1582,
+ 1583, 1584, 1583, 1583, 1589, 1583, 1584, 2589, 1584, 1584,
+ 1590, 1584, 2589, 1585, 2589, 2589, 1591, 1586, 1585, 2589,
+ 1585, 1585, 1586, 1585, 1586, 1586, 2589, 1586, 1587, 1592,
+ 2589, 2589, 2589, 1587, 1588, 1587, 1587, 2589, 1587, 1588,
+ 1589, 1588, 1588, 1593, 1588, 1589, 1590, 1589, 1589, 1594,
+ 1589, 1590, 1591, 1590, 1590, 1595, 1590, 1591, 2589, 1591,
+ 1591, 1596, 1591, 2589, 2589, 1592, 2589, 1597, 2589, 2589,
+
+ 1592, 2589, 1592, 1592, 2589, 1592, 1598, 2589, 2589, 1593,
+ 1599, 2589, 2589, 2589, 1593, 1594, 1593, 1593, 2589, 1593,
+ 1594, 1595, 1594, 1594, 1600, 1594, 1595, 1596, 1595, 1595,
+ 1601, 1595, 1596, 1597, 1596, 1596, 1602, 1596, 1597, 2589,
+ 1597, 1597, 1598, 1597, 2589, 1603, 1599, 1598, 2589, 1598,
+ 1598, 1599, 1598, 1599, 1599, 2589, 1599, 1604, 2589, 2589,
+ 1600, 1605, 2589, 2589, 2589, 1600, 1601, 1600, 1600, 2589,
+ 1600, 1601, 1602, 1601, 1601, 1606, 1601, 1602, 2589, 1602,
+ 1602, 1603, 1602, 2589, 1607, 2589, 1603, 2589, 1603, 1603,
+ 1608, 1603, 2589, 1604, 2589, 2589, 1609, 1605, 1604, 2589,
+
+ 1604, 1604, 1605, 1604, 1605, 1605, 2589, 1605, 1610, 2589,
+ 2589, 1606, 1611, 2589, 2589, 2589, 1606, 2589, 1606, 1606,
+ 1607, 1606, 2589, 1612, 2589, 1607, 1608, 1607, 1607, 1613,
+ 1607, 1608, 1609, 1608, 1608, 1614, 1608, 1609, 2589, 1609,
+ 1609, 1615, 1609, 2589, 1610, 2589, 2589, 1616, 1611, 1610,
+ 2589, 1610, 1610, 1611, 1610, 1611, 1611, 2589, 1611, 1612,
+ 1617, 2589, 2589, 2589, 1612, 1613, 1612, 1612, 2589, 1612,
+ 1613, 1614, 1613, 1613, 1618, 1613, 1614, 1615, 1614, 1614,
+ 1619, 1614, 1615, 1616, 1615, 1615, 1620, 1615, 1616, 2589,
+ 1616, 1616, 1621, 1616, 2589, 2589, 1617, 2589, 1622, 2589,
+
+ 2589, 1617, 2589, 1617, 1617, 2589, 1617, 1623, 2589, 2589,
+ 1618, 1624, 2589, 2589, 2589, 1618, 1619, 1618, 1618, 2589,
+ 1618, 1619, 1620, 1619, 1619, 1625, 1619, 1620, 1621, 1620,
+ 1620, 1626, 1620, 1621, 1622, 1621, 1621, 1627, 1621, 1622,
+ 2589, 1622, 1622, 1623, 1622, 2589, 1628, 1624, 1623, 2589,
+ 1623, 1623, 1624, 1623, 1624, 1624, 2589, 1624, 1629, 2589,
+ 2589, 1625, 1630, 2589, 2589, 2589, 1625, 1626, 1625, 1625,
+ 2589, 1625, 1626, 1627, 1626, 1626, 1631, 1626, 1627, 2589,
+ 1627, 1627, 1628, 1627, 2589, 1632, 2589, 1628, 2589, 1628,
+ 1628, 1633, 1628, 2589, 1629, 2589, 2589, 1634, 1630, 1629,
+
+ 2589, 1629, 1629, 1630, 1629, 1630, 1630, 2589, 1630, 1635,
+ 2589, 2589, 1631, 1636, 2589, 2589, 2589, 1631, 2589, 1631,
+ 1631, 1632, 1631, 2589, 1637, 2589, 1632, 1633, 1632, 1632,
+ 1638, 1632, 1633, 1634, 1633, 1633, 1639, 1633, 1634, 2589,
+ 1634, 1634, 1640, 1634, 2589, 1635, 2589, 2589, 1641, 1636,
+ 1635, 2589, 1635, 1635, 1636, 1635, 1636, 1636, 2589, 1636,
+ 1637, 1642, 2589, 2589, 2589, 1637, 1638, 1637, 1637, 2589,
+ 1637, 1638, 1639, 1638, 1638, 1643, 1638, 1639, 1640, 1639,
+ 1639, 1644, 1639, 1640, 1641, 1640, 1640, 1645, 1640, 1641,
+ 2589, 1641, 1641, 1646, 1641, 2589, 2589, 1642, 2589, 1647,
+
+ 2589, 2589, 1642, 2589, 1642, 1642, 2589, 1642, 1648, 2589,
+ 2589, 1643, 1649, 2589, 2589, 2589, 1643, 1644, 1643, 1643,
+ 2589, 1643, 1644, 1645, 1644, 1644, 1650, 1644, 1645, 1646,
+ 1645, 1645, 1651, 1645, 1646, 1647, 1646, 1646, 1652, 1646,
+ 1647, 2589, 1647, 1647, 1648, 1647, 2589, 1653, 1649, 1648,
+ 2589, 1648, 1648, 1649, 1648, 1649, 1649, 2589, 1649, 1654,
+ 2589, 2589, 1650, 1655, 2589, 2589, 2589, 1650, 1651, 1650,
+ 1650, 2589, 1650, 1651, 1652, 1651, 1651, 1656, 1651, 1652,
+ 2589, 1652, 1652, 1653, 1652, 2589, 1657, 2589, 1653, 2589,
+ 1653, 1653, 1658, 1653, 2589, 1654, 2589, 2589, 1659, 1655,
+
+ 1654, 2589, 1654, 1654, 1655, 1654, 1655, 1655, 2589, 1655,
+ 2589, 2589, 1663, 1656, 2589, 2589, 1660, 2589, 1656, 1661,
+ 1656, 1656, 1657, 1656, 2589, 1664, 2589, 1657, 1658, 1657,
+ 1657, 1665, 1657, 1658, 1659, 1658, 1658, 2589, 1658, 1659,
+ 2589, 1659, 1659, 1669, 1659, 2589, 1662, 2589, 1663, 1666,
+ 2589, 2589, 1660, 1663, 1667, 1663, 1663, 1660, 1663, 1660,
+ 1660, 1664, 1660, 1670, 2589, 2589, 1664, 1665, 1664, 1664,
+ 2589, 1664, 1665, 2589, 1665, 1665, 1671, 1665, 2589, 1669,
+ 1672, 1668, 2589, 2589, 1669, 1666, 1669, 1669, 2589, 1669,
+ 1666, 1673, 1666, 1666, 2589, 1666, 2589, 1674, 2589, 1670,
+
+ 2589, 2589, 2589, 1675, 1670, 2589, 1670, 1670, 2589, 1670,
+ 2589, 2589, 1671, 2589, 1676, 2589, 1672, 1671, 1677, 1671,
+ 1671, 1672, 1671, 1672, 1672, 2589, 1672, 1673, 2589, 1678,
+ 2589, 2589, 1673, 1674, 1673, 1673, 2589, 1673, 1674, 1675,
+ 1674, 1674, 1679, 1674, 1675, 2589, 1675, 1675, 1680, 1675,
+ 1676, 2589, 2589, 2589, 1677, 1676, 2589, 1676, 1676, 1677,
+ 1676, 1677, 1677, 1681, 1677, 1678, 2589, 1682, 2589, 2589,
+ 1678, 2589, 1678, 1678, 2589, 1678, 1683, 2589, 1679, 2589,
+ 1684, 2589, 2589, 1679, 1680, 1679, 1679, 2589, 1679, 1680,
+ 2589, 1680, 1680, 1685, 1680, 2589, 2589, 1686, 2589, 1681,
+
+ 2589, 2589, 2589, 1682, 1681, 2589, 1681, 1681, 1682, 1681,
+ 1682, 1682, 1683, 1682, 1687, 2589, 1684, 1683, 1688, 1683,
+ 1683, 1684, 1683, 1684, 1684, 2589, 1684, 1689, 2589, 1685,
+ 2589, 1690, 2589, 1686, 1685, 2589, 1685, 1685, 1686, 1685,
+ 1686, 1686, 1691, 1686, 2589, 2589, 2589, 2589, 2589, 2589,
+ 1687, 1692, 2589, 2589, 1688, 1687, 2589, 1687, 1687, 1688,
+ 1687, 1688, 1688, 1689, 1688, 1695, 1693, 1690, 1689, 1696,
+ 1689, 1689, 1690, 1689, 1690, 1690, 2589, 1690, 1691, 2589,
+ 1697, 2589, 2589, 1691, 1698, 1691, 1691, 1692, 1691, 2589,
+ 2589, 2589, 1692, 1694, 1692, 1692, 1699, 1692, 2589, 2589,
+
+ 1700, 1695, 2589, 2589, 2589, 1696, 1695, 2589, 1695, 1695,
+ 1696, 1695, 1696, 1696, 1701, 1696, 1697, 2589, 1702, 2589,
+ 1698, 1697, 2589, 1697, 1697, 1698, 1697, 1698, 1698, 1703,
+ 1698, 2589, 1699, 1704, 2589, 2589, 1700, 1699, 2589, 1699,
+ 1699, 1700, 1699, 1700, 1700, 1705, 1700, 2589, 2589, 1706,
+ 1701, 2589, 2589, 2589, 1702, 1701, 2589, 1701, 1701, 1702,
+ 1701, 1702, 1702, 1707, 1702, 1703, 2589, 1708, 2589, 1704,
+ 1703, 2589, 1703, 1703, 1704, 1703, 1704, 1704, 1709, 1704,
+ 2589, 1705, 1710, 2589, 2589, 1706, 1705, 2589, 1705, 1705,
+ 1706, 1705, 1706, 1706, 1711, 1706, 2589, 2589, 1712, 1707,
+
+ 2589, 2589, 2589, 1708, 1707, 2589, 1707, 1707, 1708, 1707,
+ 1708, 1708, 1713, 1708, 1709, 2589, 1714, 2589, 1710, 1709,
+ 2589, 1709, 1709, 1710, 1709, 1710, 1710, 1715, 1710, 2589,
+ 1711, 1716, 2589, 2589, 1712, 1711, 2589, 1711, 1711, 1712,
+ 1711, 1712, 1712, 2589, 1712, 1724, 2589, 2589, 1713, 2589,
+ 2589, 2589, 1714, 1713, 2589, 1713, 1713, 1714, 1713, 1714,
+ 1714, 2589, 1714, 1715, 1717, 1718, 2589, 1716, 1715, 1719,
+ 1715, 1715, 1716, 1715, 1716, 1716, 2589, 1716, 1725, 1720,
+ 2589, 1724, 2589, 2589, 1730, 1731, 1724, 2589, 1724, 1724,
+ 1726, 1724, 1721, 1733, 2589, 1727, 1722, 2589, 2589, 1736,
+
+ 1717, 2589, 2589, 2589, 2589, 1717, 1723, 1717, 1717, 2589,
+ 1717, 1734, 1732, 1737, 1725, 2589, 2589, 1728, 2589, 1725,
+ 1730, 1725, 1729, 2589, 1725, 1730, 1738, 1730, 1730, 1733,
+ 1730, 2589, 1739, 2589, 1733, 1736, 1733, 1733, 1735, 1733,
+ 1736, 1740, 1736, 1736, 2589, 1736, 2589, 1741, 2589, 1737,
+ 2589, 2589, 2589, 1742, 1737, 2589, 1737, 1737, 2589, 1737,
+ 2589, 2589, 1738, 2589, 1743, 2589, 2589, 1738, 1739, 1738,
+ 1738, 2589, 1738, 1739, 2589, 1739, 1739, 1740, 1739, 1744,
+ 2589, 2589, 1740, 1741, 1740, 1740, 2589, 1740, 1741, 1742,
+ 1741, 1741, 1745, 1741, 1742, 2589, 1742, 1742, 1746, 1742,
+
+ 1743, 2589, 2589, 2589, 1747, 1743, 2589, 1743, 1743, 2589,
+ 1743, 2589, 2589, 1748, 2589, 1744, 2589, 1749, 2589, 2589,
+ 1744, 2589, 1744, 1744, 2589, 1744, 1750, 2589, 1745, 2589,
+ 1751, 2589, 2589, 1745, 1746, 1745, 1745, 2589, 1745, 1746,
+ 1747, 1746, 1746, 1752, 1746, 1747, 2589, 1747, 1747, 1748,
+ 1747, 2589, 1753, 1749, 1748, 2589, 1748, 1748, 1749, 1748,
+ 1749, 1749, 1750, 1749, 1754, 2589, 1751, 1750, 1755, 1750,
+ 1750, 1751, 1750, 1751, 1751, 2589, 1751, 1756, 2589, 1752,
+ 2589, 1757, 2589, 2589, 1752, 2589, 1752, 1752, 1753, 1752,
+ 1758, 2589, 2589, 1753, 1759, 1753, 1753, 2589, 1753, 2589,
+
+ 1754, 2589, 2589, 1760, 1755, 1754, 2589, 1754, 1754, 1755,
+ 1754, 1755, 1755, 1756, 1755, 1761, 2589, 1757, 1756, 1762,
+ 1756, 1756, 1757, 1756, 1757, 1757, 1758, 1757, 1763, 2589,
+ 1759, 1758, 1764, 1758, 1758, 1759, 1758, 1759, 1759, 1760,
+ 1759, 1765, 2589, 2589, 1760, 1766, 1760, 1760, 2589, 1760,
+ 2589, 1761, 2589, 2589, 1767, 1762, 1761, 2589, 1761, 1761,
+ 1762, 1761, 1762, 1762, 1763, 1762, 1768, 2589, 1764, 1763,
+ 1769, 1763, 1763, 1764, 1763, 1764, 1764, 1765, 1764, 1770,
+ 2589, 1766, 1765, 1771, 1765, 1765, 1766, 1765, 1766, 1766,
+ 1767, 1766, 1772, 2589, 2589, 1767, 1773, 1767, 1767, 2589,
+
+ 1767, 2589, 1768, 2589, 2589, 1774, 1769, 1768, 2589, 1768,
+ 1768, 1769, 1768, 1769, 1769, 1770, 1769, 1775, 2589, 1771,
+ 1770, 1776, 1770, 1770, 1771, 1770, 1771, 1771, 1772, 1771,
+ 1777, 2589, 1773, 1772, 1778, 1772, 1772, 1773, 1772, 1773,
+ 1773, 1774, 1773, 1779, 2589, 2589, 1774, 1780, 1774, 1774,
+ 2589, 1774, 2589, 1775, 2589, 2589, 1781, 1776, 1775, 2589,
+ 1775, 1775, 1776, 1775, 1776, 1776, 1777, 1776, 1782, 2589,
+ 1778, 1777, 1783, 1777, 1777, 1778, 1777, 1778, 1778, 1779,
+ 1778, 1784, 2589, 1780, 1779, 1785, 1779, 1779, 1780, 1779,
+ 1780, 1780, 1781, 1780, 1786, 2589, 2589, 1781, 1787, 1781,
+
+ 1781, 2589, 1781, 2589, 1782, 2589, 2589, 1788, 1783, 1782,
+ 2589, 1782, 1782, 1783, 1782, 1783, 1783, 1784, 1783, 1789,
+ 2589, 1785, 1784, 1790, 1784, 1784, 1785, 1784, 1785, 1785,
+ 1786, 1785, 1791, 2589, 1787, 1786, 1792, 1786, 1786, 1787,
+ 1786, 1787, 1787, 1788, 1787, 1793, 2589, 2589, 1788, 1794,
+ 1788, 1788, 2589, 1788, 2589, 1789, 2589, 2589, 1795, 1790,
+ 1789, 2589, 1789, 1789, 1790, 1789, 1790, 1790, 1791, 1790,
+ 1796, 2589, 1792, 1791, 1797, 1791, 1791, 1792, 1791, 1792,
+ 1792, 1793, 1792, 1798, 2589, 1794, 1793, 1799, 1793, 1793,
+ 1794, 1793, 1794, 1794, 1795, 1794, 1800, 2589, 2589, 1795,
+
+ 1801, 1795, 1795, 2589, 1795, 2589, 1796, 2589, 2589, 1802,
+ 1797, 1796, 2589, 1796, 1796, 1797, 1796, 1797, 1797, 1798,
+ 1797, 1803, 2589, 1799, 1798, 1804, 1798, 1798, 1799, 1798,
+ 1799, 1799, 1800, 1799, 1805, 2589, 1801, 1800, 1806, 1800,
+ 1800, 1801, 1800, 1801, 1801, 1802, 1801, 1807, 2589, 2589,
+ 1802, 1808, 1802, 1802, 2589, 1802, 2589, 1803, 2589, 2589,
+ 1809, 1804, 1803, 2589, 1803, 1803, 1804, 1803, 1804, 1804,
+ 1805, 1804, 1810, 2589, 1806, 1805, 1811, 1805, 1805, 1806,
+ 1805, 1806, 1806, 1807, 1806, 1812, 2589, 1808, 1807, 1813,
+ 1807, 1807, 1808, 1807, 1808, 1808, 1809, 1808, 1814, 2589,
+
+ 2589, 1809, 1815, 1809, 1809, 2589, 1809, 2589, 1810, 2589,
+ 2589, 1816, 1811, 1810, 2589, 1810, 1810, 1811, 1810, 1811,
+ 1811, 1812, 1811, 1817, 2589, 1813, 1812, 1818, 1812, 1812,
+ 1813, 1812, 1813, 1813, 1814, 1813, 1819, 2589, 1815, 1814,
+ 1820, 1814, 1814, 1815, 1814, 1815, 1815, 1816, 1815, 1821,
+ 2589, 2589, 1816, 1822, 1816, 1816, 2589, 1816, 2589, 1817,
+ 2589, 2589, 1823, 1818, 1817, 2589, 1817, 1817, 1818, 1817,
+ 1818, 1818, 1819, 1818, 1824, 2589, 1820, 1819, 1825, 1819,
+ 1819, 1820, 1819, 1820, 1820, 1821, 1820, 1826, 2589, 1822,
+ 1821, 1827, 1821, 1821, 1822, 1821, 1822, 1822, 1823, 1822,
+
+ 1828, 2589, 2589, 1823, 1829, 1823, 1823, 2589, 1823, 2589,
+ 1824, 2589, 2589, 1830, 1825, 1824, 2589, 1824, 1824, 1825,
+ 1824, 1825, 1825, 1826, 1825, 1831, 2589, 1827, 1826, 1832,
+ 1826, 1826, 1827, 1826, 1827, 1827, 1828, 1827, 1833, 2589,
+ 1829, 1828, 1834, 1828, 1828, 1829, 1828, 1829, 1829, 1830,
+ 1829, 1835, 2589, 2589, 1830, 1836, 1830, 1830, 2589, 1830,
+ 2589, 1831, 2589, 2589, 1837, 1832, 1831, 2589, 1831, 1831,
+ 1832, 1831, 1832, 1832, 1833, 1832, 1838, 2589, 1834, 1833,
+ 1839, 1833, 1833, 1834, 1833, 1834, 1834, 1835, 1834, 1840,
+ 2589, 1836, 1835, 1841, 1835, 1835, 1836, 1835, 1836, 1836,
+
+ 1837, 1836, 1842, 2589, 2589, 1837, 1843, 1837, 1837, 2589,
+ 1837, 2589, 1838, 2589, 2589, 1844, 1839, 1838, 2589, 1838,
+ 1838, 1839, 1838, 1839, 1839, 1840, 1839, 1845, 2589, 1841,
+ 1840, 1846, 1840, 1840, 1841, 1840, 1841, 1841, 1842, 1841,
+ 1847, 2589, 1843, 1842, 1848, 1842, 1842, 1843, 1842, 1843,
+ 1843, 1844, 1843, 1849, 2589, 2589, 1844, 1850, 1844, 1844,
+ 2589, 1844, 2589, 1845, 2589, 2589, 1851, 1846, 1845, 2589,
+ 1845, 1845, 1846, 1845, 1846, 1846, 1847, 1846, 1852, 2589,
+ 1848, 1847, 1853, 1847, 1847, 1848, 1847, 1848, 1848, 1849,
+ 1848, 1854, 2589, 1850, 1849, 1855, 1849, 1849, 1850, 1849,
+
+ 1850, 1850, 1851, 1850, 1856, 2589, 2589, 1851, 1857, 1851,
+ 1851, 2589, 1851, 2589, 1852, 2589, 2589, 1858, 1853, 1852,
+ 2589, 1852, 1852, 1853, 1852, 1853, 1853, 1854, 1853, 1859,
+ 2589, 1855, 1854, 1860, 1854, 1854, 1855, 1854, 1855, 1855,
+ 1856, 1855, 1861, 2589, 1857, 1856, 1862, 1856, 1856, 1857,
+ 1856, 1857, 1857, 1858, 1857, 1863, 2589, 2589, 1858, 1864,
+ 1858, 1858, 2589, 1858, 2589, 1859, 2589, 2589, 1865, 1860,
+ 1859, 2589, 1859, 1859, 1860, 1859, 1860, 1860, 1861, 1860,
+ 1866, 2589, 1862, 1861, 1867, 1861, 1861, 1862, 1861, 1862,
+ 1862, 1863, 1862, 1868, 2589, 1864, 1863, 1869, 1863, 1863,
+
+ 1864, 1863, 1864, 1864, 1865, 1864, 1870, 2589, 2589, 1865,
+ 1871, 1865, 1865, 2589, 1865, 2589, 1866, 2589, 2589, 1872,
+ 1867, 1866, 2589, 1866, 1866, 1867, 1866, 1867, 1867, 1868,
+ 1867, 1873, 2589, 1869, 1868, 1874, 1868, 1868, 1869, 1868,
+ 1869, 1869, 1870, 1869, 1875, 2589, 1871, 1870, 1876, 1870,
+ 1870, 1871, 1870, 1871, 1871, 1872, 1871, 1877, 2589, 2589,
+ 1872, 1878, 1872, 1872, 2589, 1872, 2589, 1873, 2589, 2589,
+ 1879, 1874, 1873, 2589, 1873, 1873, 1874, 1873, 1874, 1874,
+ 1875, 1874, 1880, 2589, 1876, 1875, 1881, 1875, 1875, 1876,
+ 1875, 1876, 1876, 1877, 1876, 1882, 2589, 1878, 1877, 1883,
+
+ 1877, 1877, 1878, 1877, 1878, 1878, 1879, 1878, 1884, 2589,
+ 2589, 1879, 1885, 1879, 1879, 2589, 1879, 2589, 1880, 2589,
+ 2589, 1886, 1881, 1880, 2589, 1880, 1880, 1881, 1880, 1881,
+ 1881, 1882, 1881, 1887, 2589, 1883, 1882, 1888, 1882, 1882,
+ 1883, 1882, 1883, 1883, 1884, 1883, 1889, 2589, 1885, 1884,
+ 1890, 1884, 1884, 1885, 1884, 1885, 1885, 1886, 1885, 1891,
+ 2589, 2589, 1886, 1892, 1886, 1886, 2589, 1886, 2589, 1887,
+ 2589, 2589, 1893, 1888, 1887, 2589, 1887, 1887, 1888, 1887,
+ 1888, 1888, 1889, 1888, 1894, 2589, 1890, 1889, 1895, 1889,
+ 1889, 1890, 1889, 1890, 1890, 1891, 1890, 1896, 2589, 1892,
+
+ 1891, 1897, 1891, 1891, 1892, 1891, 1892, 1892, 1893, 1892,
+ 1898, 2589, 2589, 1893, 1899, 1893, 1893, 2589, 1893, 2589,
+ 1894, 2589, 2589, 1900, 1895, 1894, 2589, 1894, 1894, 1895,
+ 1894, 1895, 1895, 1896, 1895, 1901, 2589, 1897, 1896, 1902,
+ 1896, 1896, 1897, 1896, 1897, 1897, 1898, 1897, 1903, 2589,
+ 1899, 1898, 1904, 1898, 1898, 1899, 1898, 1899, 1899, 1900,
+ 1899, 1905, 2589, 2589, 1900, 1906, 1900, 1900, 2589, 1900,
+ 2589, 1901, 2589, 2589, 1907, 1902, 1901, 2589, 1901, 1901,
+ 1902, 1901, 1902, 1902, 1903, 1902, 1908, 2589, 1904, 1903,
+ 1909, 1903, 1903, 1904, 1903, 1904, 1904, 1905, 1904, 1910,
+
+ 2589, 1906, 1905, 1911, 1905, 1905, 1906, 1905, 1906, 1906,
+ 1907, 1906, 1912, 2589, 2589, 1907, 1913, 1907, 1907, 2589,
+ 1907, 2589, 1908, 2589, 2589, 1914, 1909, 1908, 2589, 1908,
+ 1908, 1909, 1908, 1909, 1909, 1910, 1909, 1915, 2589, 1911,
+ 1910, 1916, 1910, 1910, 1911, 1910, 1911, 1911, 1912, 1911,
+ 1917, 2589, 1913, 1912, 1918, 1912, 1912, 1913, 1912, 1913,
+ 1913, 1914, 1913, 1919, 2589, 2589, 1914, 1920, 1914, 1914,
+ 2589, 1914, 2589, 1915, 2589, 2589, 1921, 1916, 1915, 2589,
+ 1915, 1915, 1916, 1915, 1916, 1916, 1917, 1916, 1922, 2589,
+ 1918, 1917, 1923, 1917, 1917, 1918, 1917, 1918, 1918, 1919,
+
+ 1918, 1924, 2589, 1920, 1919, 1925, 1919, 1919, 1920, 1919,
+ 1920, 1920, 1921, 1920, 1926, 2589, 2589, 1921, 1927, 1921,
+ 1921, 2589, 1921, 2589, 1922, 2589, 2589, 1928, 1923, 1922,
+ 2589, 1922, 1922, 1923, 1922, 1923, 1923, 1924, 1923, 1929,
+ 2589, 1925, 1924, 1930, 1924, 1924, 1925, 1924, 1925, 1925,
+ 1926, 1925, 1931, 2589, 1927, 1926, 1932, 1926, 1926, 1927,
+ 1926, 1927, 1927, 1928, 1927, 1933, 2589, 2589, 1928, 1934,
+ 1928, 1928, 2589, 1928, 2589, 1929, 2589, 2589, 1935, 1930,
+ 1929, 2589, 1929, 1929, 1930, 1929, 1930, 1930, 1931, 1930,
+ 1936, 2589, 1932, 1931, 1937, 1931, 1931, 1932, 1931, 1932,
+
+ 1932, 1933, 1932, 1938, 2589, 1934, 1933, 1939, 1933, 1933,
+ 1934, 1933, 1934, 1934, 1935, 1934, 1940, 2589, 2589, 1935,
+ 1941, 1935, 1935, 2589, 1935, 2589, 1936, 2589, 2589, 1942,
+ 1937, 1936, 2589, 1936, 1936, 1937, 1936, 1937, 1937, 1938,
+ 1937, 1943, 2589, 1939, 1938, 1944, 1938, 1938, 1939, 1938,
+ 1939, 1939, 1940, 1939, 1945, 2589, 1941, 1940, 1946, 1940,
+ 1940, 1941, 1940, 1941, 1941, 1942, 1941, 1947, 2589, 2589,
+ 1942, 1948, 1942, 1942, 2589, 1942, 2589, 1943, 2589, 2589,
+ 1949, 1944, 1943, 2589, 1943, 1943, 1944, 1943, 1944, 1944,
+ 1945, 1944, 1950, 2589, 1946, 1945, 1951, 1945, 1945, 1946,
+
+ 1945, 1946, 1946, 1947, 1946, 1952, 2589, 1948, 1947, 2589,
+ 1947, 1947, 1948, 1947, 1948, 1948, 1949, 1948, 2589, 2589,
+ 2589, 1949, 2589, 1949, 1949, 2589, 1949, 2589, 1950, 2589,
+ 2589, 2589, 1951, 1950, 2589, 1950, 1950, 1951, 1950, 1951,
+ 1951, 1952, 1951, 2589, 2589, 2589, 1952, 2589, 1952, 1952,
+ 2589, 1952, 604, 604, 638, 638, 668, 668, 698, 698,
+ 874, 874, 902, 902, 930, 930, 1041, 1041, 1067, 1067,
+ 1102, 1102, 3, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589
+ } ;
+
+static yyconst flex_int16_t yy_chk[7910] =
+ { 0,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 7, 9, 10, 11,
+ 84, 89, 84, 117, 84, 1812, 1813, 118, 1814, 1815,
+ 1816, 1817, 1818, 1819, 1820, 1821, 1822, 1823, 84, 119,
+ 1824, 1825, 1826, 7, 9, 10, 1827, 1828, 89, 84,
+ 121, 84, 1829, 1830, 122, 1831, 1832, 1833, 1834, 117,
+ 1835, 1836, 1837, 118, 117, 1838, 117, 117, 118, 117,
+ 118, 118, 1839, 118, 1840, 119, 1841, 11, 1842, 1843,
+
+ 119, 1844, 119, 119, 1845, 119, 121, 1846, 1847, 1848,
+ 122, 121, 1849, 121, 121, 122, 121, 122, 122, 1850,
+ 122, 7, 56, 56, 56, 56, 56, 56, 56, 56,
+ 56, 56, 56, 56, 56, 56, 56, 56, 56, 56,
+ 56, 56, 56, 56, 56, 56, 56, 56, 56, 56,
+ 56, 56, 56, 56, 56, 56, 56, 56, 56, 56,
+ 56, 56, 56, 56, 56, 56, 56, 56, 56, 56,
+ 56, 56, 56, 56, 56, 56, 120, 120, 1851, 1852,
+ 1853, 120, 1854, 1855, 1856, 1857, 1858, 1859, 1860, 1861,
+ 1862, 120, 1863, 56, 56, 1864, 1865, 1866, 1867, 1868,
+
+ 1869, 1870, 1871, 1872, 120, 1873, 1874, 1875, 120, 56,
+ 56, 1876, 120, 1877, 1878, 1879, 1880, 120, 120, 120,
+ 120, 1881, 120, 1882, 56, 56, 56, 56, 56, 56,
+ 56, 56, 56, 56, 56, 1883, 1884, 56, 56, 56,
+ 56, 56, 56, 56, 56, 56, 56, 56, 56, 56,
+ 1885, 1886, 1887, 1888, 56, 57, 57, 57, 57, 57,
+ 57, 57, 57, 57, 57, 57, 57, 57, 57, 57,
+ 57, 57, 57, 57, 57, 57, 57, 57, 57, 57,
+ 57, 57, 57, 57, 57, 57, 57, 57, 57, 57,
+ 57, 57, 57, 57, 57, 57, 57, 57, 57, 57,
+
+ 57, 57, 57, 57, 57, 57, 57, 57, 57, 123,
+ 123, 1889, 1890, 1891, 1892, 1893, 1894, 1895, 1896, 1897,
+ 1898, 1899, 1900, 1901, 1902, 1903, 57, 57, 1904, 1905,
+ 1906, 1907, 1908, 1909, 1910, 1911, 1912, 123, 1913, 1914,
+ 1915, 1916, 57, 57, 1917, 123, 1918, 1919, 1920, 1921,
+ 123, 1922, 123, 123, 1923, 123, 1924, 57, 57, 57,
+ 57, 57, 57, 57, 57, 57, 57, 57, 1925, 1926,
+ 57, 57, 57, 57, 57, 57, 57, 57, 57, 57,
+ 57, 57, 57, 1927, 1928, 1929, 1930, 57, 58, 58,
+ 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
+
+ 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
+ 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
+ 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
+ 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
+ 58, 58, 124, 1931, 1932, 1933, 1934, 1935, 1936, 58,
+ 1937, 1938, 58, 1939, 1940, 1941, 1942, 1943, 1944, 58,
+ 58, 1945, 1946, 1947, 1948, 58, 1949, 1950, 58, 1951,
+ 1952, 1953, 2579, 2580, 2581, 58, 58, 2582, 124, 2583,
+ 2591, 2592, 2601, 124, 2602, 124, 124, 2603, 124, 1811,
+ 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
+
+ 58, 1810, 1809, 58, 58, 58, 58, 58, 58, 58,
+ 58, 58, 58, 58, 58, 58, 1808, 1807, 1806, 1805,
+ 58, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 125, 2584, 1804, 1803, 1802,
+ 1801, 2584, 1800, 1799, 1798, 1797, 1796, 1795, 1794, 1793,
+ 1792, 1791, 1790, 1789, 1788, 1787, 1786, 1785, 1784, 1783,
+
+ 1782, 1781, 1780, 2584, 1779, 1778, 1777, 1776, 2584, 1775,
+ 1774, 125, 1773, 1772, 1771, 1770, 125, 1769, 125, 125,
+ 1768, 125, 1767, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 1766, 1765, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 1764,
+ 1763, 1762, 1761, 59, 60, 60, 60, 60, 60, 60,
+ 60, 60, 60, 60, 60, 60, 60, 60, 60, 60,
+ 60, 60, 60, 60, 60, 60, 60, 60, 60, 60,
+ 60, 60, 60, 60, 60, 60, 60, 60, 60, 60,
+ 60, 60, 60, 60, 60, 60, 60, 60, 60, 60,
+
+ 60, 60, 60, 60, 60, 60, 60, 60, 126, 1760,
+ 1759, 1758, 1757, 1756, 1755, 1754, 1753, 1752, 1751, 1750,
+ 1749, 1748, 1747, 1746, 1745, 60, 60, 1744, 1743, 1742,
+ 1741, 1740, 1739, 1738, 1737, 1736, 1733, 1730, 1729, 1725,
+ 1724, 60, 60, 1717, 126, 1716, 1715, 1714, 1713, 126,
+ 1712, 126, 126, 1711, 126, 1710, 60, 60, 60, 60,
+ 60, 60, 60, 60, 60, 60, 60, 1709, 1708, 60,
+ 60, 60, 60, 60, 60, 60, 60, 60, 60, 60,
+ 60, 60, 1707, 1706, 1705, 1704, 60, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 127, 1703, 1702, 1701, 1700, 1699, 1698, 1697, 1696,
+ 1695, 61, 1692, 1691, 1690, 1689, 1688, 1687, 1686, 1685,
+ 1684, 1683, 1682, 1681, 1680, 1679, 1678, 61, 1677, 1676,
+ 1675, 1674, 1673, 1672, 1671, 1670, 1669, 127, 1666, 1665,
+ 1664, 1663, 127, 1660, 127, 127, 1659, 127, 1658, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+
+ 1657, 1656, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 1655, 1654, 1653, 1652, 61,
+ 62, 62, 62, 62, 62, 62, 62, 62, 62, 62,
+ 62, 62, 62, 62, 62, 62, 62, 62, 62, 62,
+ 62, 62, 62, 62, 62, 62, 62, 62, 62, 62,
+ 62, 62, 62, 62, 62, 62, 62, 62, 62, 62,
+ 62, 62, 62, 62, 62, 62, 62, 62, 62, 62,
+ 62, 62, 62, 62, 128, 1651, 1650, 1649, 1648, 1647,
+ 1646, 1645, 1644, 1643, 1642, 1641, 1640, 1639, 1638, 1637,
+ 1636, 1635, 1634, 1633, 1632, 1631, 1630, 1629, 1628, 1627,
+
+ 1626, 1625, 1624, 1623, 1622, 1621, 1620, 1619, 1618, 1617,
+ 128, 1616, 1615, 1614, 1613, 128, 1612, 128, 128, 1611,
+ 128, 1610, 62, 62, 62, 62, 62, 62, 62, 62,
+ 62, 62, 62, 1609, 1608, 62, 62, 62, 62, 62,
+ 62, 62, 62, 62, 62, 62, 62, 62, 1607, 1606,
+ 1605, 1604, 62, 63, 63, 63, 63, 63, 63, 63,
+ 63, 63, 63, 63, 63, 63, 63, 63, 63, 63,
+ 63, 63, 63, 63, 63, 63, 63, 63, 63, 63,
+ 63, 63, 63, 63, 63, 63, 63, 63, 63, 63,
+ 63, 63, 63, 63, 63, 63, 63, 63, 63, 63,
+
+ 63, 63, 63, 63, 63, 63, 63, 129, 1603, 1602,
+ 1601, 1600, 1599, 1598, 1597, 1596, 1595, 1594, 1593, 1592,
+ 1591, 1590, 1589, 1588, 1587, 1586, 1585, 1584, 1583, 1582,
+ 1581, 1580, 1579, 1578, 1577, 1576, 1575, 1574, 1573, 1572,
+ 1571, 1570, 1569, 129, 1568, 1567, 1566, 1565, 129, 1564,
+ 129, 129, 1563, 129, 1562, 63, 63, 63, 63, 63,
+ 63, 63, 63, 63, 63, 63, 1561, 1558, 63, 63,
+ 63, 63, 63, 63, 63, 63, 63, 63, 63, 63,
+ 63, 1557, 1556, 1555, 1554, 63, 64, 64, 64, 64,
+ 64, 64, 64, 64, 64, 64, 64, 64, 64, 64,
+
+ 64, 64, 64, 64, 64, 64, 64, 64, 64, 64,
+ 64, 64, 64, 64, 64, 64, 64, 64, 64, 64,
+ 64, 64, 64, 64, 64, 64, 64, 64, 64, 64,
+ 64, 64, 64, 64, 64, 64, 64, 64, 64, 64,
+ 130, 1553, 1552, 1551, 1550, 1549, 1548, 1547, 1546, 1545,
+ 1544, 1543, 1542, 1541, 1540, 1537, 1534, 1533, 1532, 1531,
+ 1530, 1529, 1528, 1527, 1526, 1525, 1524, 1523, 1522, 1521,
+ 1520, 1519, 1518, 1517, 1516, 1515, 130, 1514, 1513, 1512,
+ 1509, 130, 1508, 130, 130, 1507, 130, 1506, 64, 64,
+ 64, 64, 64, 64, 64, 64, 64, 64, 64, 1499,
+
+ 1496, 64, 64, 64, 64, 64, 64, 64, 64, 64,
+ 64, 64, 64, 64, 1495, 1493, 1490, 1487, 64, 65,
+ 65, 65, 65, 65, 65, 65, 65, 65, 65, 65,
+ 65, 65, 65, 65, 65, 65, 65, 65, 65, 65,
+ 65, 65, 65, 65, 65, 65, 65, 65, 65, 65,
+ 65, 65, 65, 65, 65, 65, 65, 65, 65, 65,
+ 65, 65, 65, 65, 65, 65, 65, 65, 65, 65,
+ 65, 65, 65, 131, 1486, 1485, 1484, 1483, 1482, 1481,
+ 1480, 1479, 1478, 1475, 1474, 1473, 1472, 1471, 1470, 1469,
+ 1466, 1465, 1464, 1463, 1458, 1457, 1456, 1453, 1452, 1451,
+
+ 1450, 1449, 1448, 1447, 1446, 1445, 1444, 1443, 1440, 131,
+ 1439, 1436, 132, 1435, 131, 1434, 131, 131, 133, 131,
+ 1433, 65, 65, 65, 65, 65, 65, 65, 65, 65,
+ 65, 65, 134, 1432, 65, 65, 65, 65, 65, 65,
+ 65, 65, 65, 65, 65, 65, 65, 135, 132, 1431,
+ 1430, 65, 66, 132, 133, 132, 132, 1429, 132, 133,
+ 136, 133, 133, 1428, 133, 1427, 1424, 1423, 134, 137,
+ 1420, 66, 1417, 134, 1414, 134, 134, 1413, 134, 66,
+ 138, 1412, 1411, 135, 139, 1410, 1409, 1408, 135, 1407,
+ 135, 135, 1406, 135, 1405, 140, 136, 1401, 66, 141,
+
+ 66, 136, 66, 136, 136, 137, 136, 1398, 1397, 1396,
+ 137, 1395, 137, 137, 1394, 137, 138, 1393, 1392, 1385,
+ 139, 138, 1380, 138, 138, 139, 138, 139, 139, 1379,
+ 139, 140, 1378, 1375, 1374, 141, 140, 1369, 140, 140,
+ 141, 140, 141, 141, 1364, 141, 1363, 1362, 163, 1361,
+ 1360, 1359, 66, 66, 66, 66, 66, 66, 66, 66,
+ 66, 66, 66, 165, 1358, 66, 66, 66, 66, 66,
+ 66, 66, 66, 66, 66, 66, 66, 66, 1357, 1356,
+ 1355, 1354, 66, 69, 163, 1353, 1352, 1351, 69, 163,
+ 1350, 163, 163, 1349, 163, 1348, 164, 164, 1347, 165,
+
+ 1344, 164, 1343, 1340, 165, 164, 165, 165, 1337, 165,
+ 69, 164, 167, 164, 1336, 69, 164, 1329, 166, 166,
+ 1324, 1323, 1322, 166, 164, 1321, 1320, 1319, 164, 1318,
+ 1317, 1316, 164, 166, 1315, 1314, 1307, 164, 164, 164,
+ 164, 1306, 164, 164, 1305, 1304, 166, 1303, 167, 1302,
+ 166, 1301, 1300, 167, 166, 167, 167, 1299, 167, 166,
+ 166, 166, 166, 1298, 166, 1297, 1296, 169, 169, 69,
+ 69, 69, 69, 69, 69, 69, 69, 69, 69, 69,
+ 170, 1289, 69, 69, 69, 69, 69, 69, 69, 69,
+ 69, 69, 69, 69, 69, 169, 1288, 168, 1281, 69,
+
+ 70, 172, 168, 169, 1274, 70, 1267, 1266, 169, 1265,
+ 169, 169, 168, 169, 171, 1264, 170, 1263, 1262, 1261,
+ 1260, 170, 1259, 170, 170, 1258, 170, 70, 173, 168,
+ 1257, 1254, 70, 168, 171, 1253, 1252, 172, 168, 168,
+ 168, 168, 172, 168, 172, 172, 1251, 172, 1248, 1247,
+ 171, 1245, 1242, 1239, 1236, 171, 1231, 171, 171, 1226,
+ 171, 171, 1219, 1218, 173, 1217, 1216, 1215, 1214, 173,
+ 1213, 173, 173, 1212, 173, 1211, 1210, 1209, 1208, 1207,
+ 1206, 1205, 1204, 1203, 1202, 1201, 70, 70, 70, 70,
+ 70, 70, 70, 70, 70, 70, 70, 1200, 1197, 70,
+
+ 70, 70, 70, 70, 70, 70, 70, 70, 70, 70,
+ 70, 70, 1196, 1193, 1188, 1187, 70, 71, 71, 71,
+ 71, 71, 71, 71, 71, 71, 71, 71, 1180, 1179,
+ 71, 71, 71, 71, 71, 71, 71, 71, 71, 71,
+ 71, 71, 71, 1177, 1175, 1166, 1165, 71, 72, 72,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+
+ 72, 72, 174, 1164, 1163, 1162, 1161, 1160, 1159, 1158,
+ 1157, 1156, 1155, 1154, 1153, 1152, 1151, 1150, 1149, 1148,
+ 1147, 1144, 1143, 1142, 1135, 1134, 1133, 1132, 1128, 96,
+ 86, 27, 13, 12, 8, 6, 3, 0, 174, 0,
+ 0, 0, 0, 174, 0, 174, 174, 0, 174, 0,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 0, 0, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72, 0, 0, 0, 0,
+ 72, 73, 73, 73, 73, 73, 73, 73, 73, 73,
+ 73, 73, 73, 73, 73, 73, 73, 73, 73, 73,
+
+ 73, 73, 73, 73, 73, 73, 73, 73, 73, 73,
+ 73, 73, 73, 73, 73, 73, 73, 73, 73, 73,
+ 73, 73, 73, 73, 73, 73, 73, 73, 73, 73,
+ 73, 73, 73, 73, 73, 175, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 175, 0, 0, 0, 0, 175, 0, 175, 175,
+ 0, 175, 0, 73, 73, 73, 73, 73, 73, 73,
+ 73, 73, 73, 73, 0, 0, 73, 73, 73, 73,
+
+ 73, 73, 73, 73, 73, 73, 73, 73, 73, 0,
+ 0, 0, 0, 73, 74, 74, 74, 74, 74, 74,
+ 74, 74, 74, 74, 74, 74, 74, 74, 74, 74,
+ 74, 74, 74, 74, 74, 74, 74, 74, 74, 74,
+ 74, 74, 74, 74, 74, 74, 74, 74, 74, 74,
+ 74, 74, 74, 74, 74, 74, 74, 74, 74, 74,
+ 74, 74, 74, 74, 74, 74, 74, 74, 176, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 74, 74, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+
+ 0, 74, 74, 0, 176, 0, 0, 177, 0, 176,
+ 0, 176, 176, 178, 176, 0, 74, 74, 74, 74,
+ 74, 74, 74, 74, 74, 74, 74, 179, 0, 74,
+ 74, 74, 74, 74, 74, 74, 74, 74, 74, 74,
+ 74, 74, 180, 177, 0, 0, 74, 75, 177, 178,
+ 177, 177, 0, 177, 178, 181, 178, 178, 0, 178,
+ 0, 182, 0, 179, 0, 0, 0, 183, 179, 0,
+ 179, 179, 0, 179, 75, 0, 184, 0, 180, 0,
+ 185, 0, 0, 180, 0, 180, 180, 0, 180, 0,
+ 0, 181, 0, 0, 0, 0, 181, 182, 181, 181,
+
+ 0, 181, 182, 183, 182, 182, 0, 182, 183, 0,
+ 183, 183, 184, 183, 0, 0, 185, 184, 0, 184,
+ 184, 185, 184, 185, 185, 186, 185, 0, 75, 75,
+ 75, 75, 75, 75, 75, 75, 75, 75, 75, 187,
+ 0, 75, 75, 75, 75, 75, 75, 75, 75, 75,
+ 75, 75, 75, 75, 231, 0, 0, 0, 75, 76,
+ 232, 186, 0, 0, 0, 0, 186, 0, 186, 186,
+ 0, 186, 233, 0, 0, 187, 238, 0, 0, 0,
+ 187, 0, 187, 187, 0, 187, 76, 235, 0, 0,
+ 231, 0, 0, 0, 238, 231, 232, 231, 231, 0,
+
+ 231, 232, 235, 232, 232, 0, 232, 235, 233, 234,
+ 234, 0, 238, 233, 234, 233, 233, 238, 233, 238,
+ 238, 238, 238, 235, 234, 0, 0, 0, 235, 235,
+ 235, 235, 0, 235, 235, 0, 0, 234, 0, 0,
+ 0, 234, 0, 0, 0, 234, 0, 0, 0, 0,
+ 234, 234, 234, 234, 0, 234, 0, 0, 0, 76,
+ 76, 76, 76, 76, 76, 76, 76, 76, 76, 76,
+ 0, 0, 76, 76, 76, 76, 76, 76, 76, 76,
+ 76, 76, 76, 76, 76, 0, 0, 0, 0, 76,
+ 77, 77, 77, 77, 77, 77, 77, 77, 77, 77,
+
+ 77, 0, 0, 77, 77, 77, 77, 77, 77, 77,
+ 77, 77, 77, 77, 77, 77, 0, 0, 0, 0,
+ 77, 78, 78, 78, 78, 78, 78, 78, 78, 78,
+ 78, 78, 78, 78, 78, 78, 78, 78, 78, 78,
+ 78, 78, 78, 78, 78, 78, 78, 78, 78, 78,
+ 78, 78, 78, 78, 78, 78, 78, 78, 78, 78,
+ 78, 78, 78, 78, 78, 78, 78, 78, 78, 78,
+ 78, 78, 78, 78, 78, 236, 0, 0, 0, 0,
+ 236, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 236, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+
+ 0, 0, 0, 0, 0, 0, 0, 236, 0, 0,
+ 0, 236, 0, 0, 0, 0, 236, 236, 236, 236,
+ 0, 236, 0, 78, 78, 78, 78, 78, 78, 78,
+ 78, 78, 78, 78, 0, 0, 78, 78, 78, 78,
+ 78, 78, 78, 78, 78, 78, 78, 78, 78, 0,
+ 0, 0, 0, 78, 79, 79, 79, 79, 79, 79,
+ 79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
+ 79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
+ 79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
+ 79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
+
+ 79, 79, 79, 79, 79, 79, 79, 79, 237, 237,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 237, 0, 0, 0,
+ 0, 0, 0, 0, 237, 0, 0, 0, 0, 237,
+ 0, 237, 237, 0, 237, 0, 79, 79, 79, 79,
+ 79, 79, 79, 79, 79, 79, 79, 0, 0, 79,
+ 79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
+ 79, 79, 0, 0, 0, 0, 79, 80, 80, 80,
+ 80, 80, 80, 80, 80, 80, 80, 80, 0, 0,
+
+ 80, 80, 80, 80, 80, 80, 80, 80, 80, 80,
+ 80, 80, 80, 0, 0, 0, 0, 80, 81, 81,
+ 81, 81, 81, 81, 81, 81, 81, 81, 81, 0,
+ 0, 81, 81, 81, 81, 81, 81, 81, 81, 81,
+ 81, 81, 81, 81, 240, 0, 0, 0, 81, 85,
+ 85, 85, 85, 85, 85, 85, 85, 85, 85, 85,
+ 242, 0, 85, 85, 85, 85, 85, 85, 85, 85,
+ 85, 85, 85, 85, 85, 239, 0, 0, 0, 85,
+ 240, 0, 0, 0, 239, 240, 0, 240, 240, 0,
+ 240, 0, 241, 241, 0, 239, 242, 0, 243, 0,
+
+ 0, 242, 0, 242, 242, 0, 242, 244, 0, 0,
+ 0, 239, 0, 0, 0, 0, 239, 0, 239, 239,
+ 241, 239, 239, 0, 245, 0, 0, 245, 241, 0,
+ 246, 0, 0, 241, 243, 241, 241, 0, 241, 243,
+ 0, 243, 243, 244, 243, 247, 0, 0, 244, 248,
+ 244, 244, 0, 244, 245, 0, 0, 0, 249, 0,
+ 245, 0, 250, 0, 0, 245, 246, 245, 245, 0,
+ 245, 246, 0, 246, 246, 251, 246, 0, 0, 252,
+ 0, 247, 0, 0, 0, 248, 247, 0, 247, 247,
+ 248, 247, 248, 248, 249, 248, 253, 0, 250, 249,
+
+ 254, 249, 249, 250, 249, 250, 250, 0, 250, 255,
+ 0, 251, 0, 0, 0, 252, 251, 0, 251, 251,
+ 252, 251, 252, 252, 0, 252, 0, 286, 0, 0,
+ 0, 0, 253, 283, 283, 0, 254, 253, 283, 253,
+ 253, 254, 253, 254, 254, 255, 254, 0, 283, 0,
+ 255, 288, 255, 255, 0, 255, 0, 284, 284, 0,
+ 0, 283, 284, 286, 0, 283, 0, 0, 286, 283,
+ 286, 286, 284, 286, 283, 283, 283, 283, 0, 283,
+ 0, 285, 285, 0, 0, 284, 285, 288, 0, 284,
+ 0, 0, 288, 284, 288, 288, 285, 288, 284, 284,
+
+ 284, 284, 0, 284, 0, 287, 287, 0, 0, 285,
+ 287, 0, 0, 285, 289, 0, 0, 285, 290, 0,
+ 287, 0, 285, 285, 285, 285, 0, 285, 0, 291,
+ 0, 0, 0, 287, 0, 292, 0, 287, 0, 0,
+ 0, 287, 0, 0, 293, 0, 287, 287, 287, 287,
+ 289, 287, 0, 294, 290, 289, 0, 289, 289, 290,
+ 289, 290, 290, 0, 290, 291, 295, 0, 0, 0,
+ 291, 292, 291, 291, 0, 291, 292, 296, 292, 292,
+ 293, 292, 0, 297, 0, 293, 0, 293, 293, 294,
+ 293, 0, 298, 0, 294, 0, 294, 294, 0, 294,
+
+ 0, 0, 295, 0, 0, 300, 0, 295, 0, 295,
+ 295, 0, 295, 296, 301, 0, 0, 0, 296, 297,
+ 296, 296, 0, 296, 297, 0, 297, 297, 298, 297,
+ 0, 0, 0, 298, 0, 298, 298, 0, 298, 299,
+ 299, 300, 0, 302, 299, 0, 300, 0, 300, 300,
+ 301, 300, 303, 0, 299, 301, 304, 301, 301, 0,
+ 301, 0, 0, 0, 0, 305, 0, 299, 0, 306,
+ 0, 299, 0, 0, 0, 299, 0, 0, 307, 302,
+ 299, 299, 299, 299, 302, 299, 302, 302, 303, 302,
+ 329, 0, 304, 303, 330, 303, 303, 304, 303, 304,
+
+ 304, 305, 304, 331, 0, 306, 305, 0, 305, 305,
+ 306, 305, 306, 306, 307, 306, 0, 0, 331, 307,
+ 0, 307, 307, 331, 307, 0, 329, 332, 332, 0,
+ 330, 329, 332, 329, 329, 330, 329, 330, 330, 331,
+ 330, 333, 332, 0, 331, 331, 331, 331, 0, 331,
+ 331, 0, 334, 0, 0, 332, 0, 0, 0, 332,
+ 0, 335, 335, 332, 0, 336, 0, 334, 332, 332,
+ 332, 332, 0, 332, 0, 0, 337, 333, 0, 0,
+ 338, 0, 333, 0, 333, 333, 0, 333, 334, 335,
+ 0, 337, 339, 334, 334, 334, 334, 335, 334, 0,
+
+ 0, 336, 335, 340, 335, 335, 336, 335, 336, 336,
+ 0, 336, 337, 0, 341, 0, 338, 337, 337, 337,
+ 337, 338, 337, 338, 338, 342, 338, 0, 339, 343,
+ 0, 0, 0, 339, 0, 339, 339, 0, 339, 340,
+ 344, 0, 0, 0, 340, 0, 340, 340, 0, 340,
+ 341, 345, 0, 0, 0, 341, 0, 341, 341, 0,
+ 341, 342, 346, 0, 0, 343, 342, 0, 342, 342,
+ 343, 342, 343, 343, 347, 343, 344, 0, 348, 0,
+ 0, 344, 0, 344, 344, 0, 344, 345, 0, 349,
+ 0, 0, 345, 350, 345, 345, 0, 345, 346, 0,
+
+ 0, 0, 351, 346, 0, 346, 346, 0, 346, 0,
+ 347, 352, 0, 0, 348, 347, 0, 347, 347, 348,
+ 347, 348, 348, 353, 348, 349, 0, 373, 0, 350,
+ 349, 0, 349, 349, 350, 349, 350, 350, 351, 350,
+ 0, 376, 0, 351, 0, 351, 351, 352, 351, 0,
+ 0, 0, 352, 0, 352, 352, 0, 352, 0, 353,
+ 374, 0, 0, 373, 353, 374, 353, 353, 373, 353,
+ 373, 373, 0, 373, 0, 374, 375, 376, 0, 0,
+ 0, 375, 376, 0, 376, 376, 0, 376, 0, 0,
+ 377, 375, 374, 0, 378, 0, 374, 0, 0, 0,
+
+ 0, 374, 374, 374, 374, 377, 374, 379, 375, 0,
+ 0, 0, 375, 380, 380, 0, 0, 375, 375, 375,
+ 375, 0, 375, 0, 381, 381, 377, 0, 380, 0,
+ 378, 377, 377, 377, 377, 378, 377, 378, 378, 381,
+ 378, 380, 382, 379, 381, 0, 383, 0, 379, 380,
+ 379, 379, 381, 379, 380, 380, 380, 380, 384, 380,
+ 381, 0, 385, 0, 0, 381, 381, 381, 381, 0,
+ 381, 381, 0, 386, 0, 0, 0, 387, 382, 0,
+ 0, 0, 383, 382, 0, 382, 382, 383, 382, 383,
+ 383, 0, 383, 0, 384, 388, 0, 0, 385, 384,
+
+ 0, 384, 384, 385, 384, 385, 385, 0, 385, 386,
+ 388, 0, 389, 387, 386, 0, 386, 386, 387, 386,
+ 387, 387, 0, 387, 389, 390, 0, 0, 0, 389,
+ 0, 388, 0, 0, 391, 0, 388, 388, 388, 388,
+ 392, 388, 0, 0, 0, 0, 393, 0, 389, 0,
+ 0, 389, 394, 389, 0, 389, 389, 0, 389, 0,
+ 0, 390, 0, 395, 0, 0, 390, 396, 390, 390,
+ 391, 390, 0, 0, 0, 391, 392, 391, 391, 397,
+ 391, 392, 393, 392, 392, 0, 392, 393, 394, 393,
+ 393, 0, 393, 394, 414, 394, 394, 0, 394, 395,
+
+ 411, 411, 0, 396, 395, 0, 395, 395, 396, 395,
+ 396, 396, 0, 396, 0, 397, 0, 412, 412, 0,
+ 397, 0, 397, 397, 0, 397, 413, 413, 411, 0,
+ 414, 0, 0, 0, 0, 414, 411, 414, 414, 0,
+ 414, 411, 0, 411, 411, 412, 411, 415, 415, 0,
+ 0, 416, 0, 412, 413, 0, 0, 0, 412, 0,
+ 412, 412, 413, 412, 417, 0, 0, 413, 418, 413,
+ 413, 0, 413, 0, 0, 415, 0, 419, 0, 0,
+ 0, 420, 0, 415, 0, 0, 0, 416, 415, 0,
+ 415, 415, 416, 415, 416, 416, 421, 416, 0, 0,
+
+ 417, 0, 422, 0, 418, 417, 0, 417, 417, 418,
+ 417, 418, 418, 419, 418, 423, 0, 420, 419, 424,
+ 419, 419, 420, 419, 420, 420, 0, 420, 0, 0,
+ 426, 0, 421, 0, 0, 0, 425, 421, 422, 421,
+ 421, 425, 421, 422, 0, 422, 422, 428, 422, 0,
+ 0, 423, 0, 427, 427, 424, 423, 0, 423, 423,
+ 424, 423, 424, 424, 429, 424, 426, 0, 425, 0,
+ 430, 426, 425, 426, 426, 0, 426, 425, 0, 425,
+ 425, 427, 425, 428, 431, 0, 0, 0, 428, 427,
+ 428, 428, 0, 428, 427, 432, 427, 427, 0, 427,
+
+ 429, 433, 0, 0, 0, 429, 430, 429, 429, 0,
+ 429, 430, 434, 430, 430, 0, 430, 0, 435, 0,
+ 431, 0, 0, 0, 476, 431, 0, 431, 431, 0,
+ 431, 432, 0, 477, 0, 0, 432, 433, 432, 432,
+ 0, 432, 433, 0, 433, 433, 479, 433, 434, 0,
+ 0, 0, 0, 434, 435, 434, 434, 478, 434, 435,
+ 476, 435, 435, 480, 435, 476, 0, 476, 476, 477,
+ 476, 0, 0, 0, 477, 478, 477, 477, 0, 477,
+ 481, 481, 479, 0, 482, 0, 0, 479, 0, 479,
+ 479, 0, 479, 478, 0, 481, 483, 0, 478, 480,
+
+ 478, 478, 478, 478, 480, 484, 480, 480, 481, 480,
+ 0, 485, 0, 0, 0, 0, 481, 486, 0, 0,
+ 482, 481, 481, 481, 481, 482, 481, 482, 482, 485,
+ 482, 487, 483, 0, 0, 488, 0, 483, 0, 483,
+ 483, 484, 483, 0, 489, 0, 484, 485, 484, 484,
+ 490, 484, 485, 486, 485, 485, 485, 485, 486, 491,
+ 486, 486, 0, 486, 0, 492, 0, 487, 0, 0,
+ 0, 488, 487, 0, 487, 487, 488, 487, 488, 488,
+ 489, 488, 493, 492, 0, 489, 490, 489, 489, 0,
+ 489, 490, 0, 490, 490, 491, 490, 494, 0, 0,
+
+ 491, 492, 491, 491, 0, 491, 492, 0, 492, 492,
+ 492, 492, 495, 0, 0, 0, 496, 0, 493, 0,
+ 0, 0, 0, 493, 0, 493, 493, 497, 493, 0,
+ 0, 498, 0, 494, 0, 0, 0, 0, 494, 0,
+ 494, 494, 499, 494, 0, 0, 500, 0, 495, 0,
+ 0, 0, 496, 495, 0, 495, 495, 496, 495, 496,
+ 496, 520, 496, 497, 0, 0, 0, 498, 497, 0,
+ 497, 497, 498, 497, 498, 498, 521, 498, 499, 0,
+ 0, 0, 500, 499, 0, 499, 499, 500, 499, 500,
+ 500, 522, 500, 0, 0, 0, 521, 520, 0, 0,
+
+ 522, 0, 520, 523, 520, 520, 0, 520, 0, 524,
+ 0, 522, 521, 0, 0, 0, 0, 521, 0, 521,
+ 521, 0, 521, 521, 524, 0, 0, 522, 525, 525,
+ 0, 0, 522, 0, 522, 522, 0, 522, 522, 523,
+ 526, 0, 0, 525, 523, 524, 523, 523, 525, 523,
+ 524, 524, 524, 524, 527, 524, 525, 0, 528, 0,
+ 0, 0, 0, 0, 525, 0, 0, 529, 0, 525,
+ 525, 525, 525, 0, 525, 525, 526, 0, 0, 530,
+ 0, 526, 0, 526, 526, 531, 526, 529, 0, 0,
+ 527, 532, 0, 0, 528, 527, 0, 527, 527, 528,
+
+ 527, 528, 528, 529, 528, 533, 0, 0, 529, 534,
+ 529, 529, 0, 529, 529, 530, 0, 0, 535, 0,
+ 530, 531, 530, 530, 536, 530, 531, 532, 531, 531,
+ 537, 531, 532, 0, 532, 532, 538, 532, 0, 0,
+ 0, 533, 539, 0, 0, 534, 533, 0, 533, 533,
+ 534, 533, 534, 534, 535, 534, 540, 0, 0, 535,
+ 536, 535, 535, 0, 535, 536, 537, 536, 536, 541,
+ 536, 537, 538, 537, 537, 542, 537, 538, 539, 538,
+ 538, 543, 538, 539, 0, 539, 539, 544, 539, 0,
+ 0, 0, 540, 579, 0, 0, 0, 540, 0, 540,
+
+ 540, 0, 540, 0, 580, 541, 0, 0, 581, 0,
+ 541, 542, 541, 541, 0, 541, 542, 543, 542, 542,
+ 582, 542, 543, 544, 543, 543, 583, 543, 544, 579,
+ 544, 544, 584, 544, 579, 0, 579, 579, 585, 579,
+ 580, 0, 0, 0, 581, 580, 0, 580, 580, 581,
+ 580, 581, 581, 586, 581, 0, 582, 0, 0, 588,
+ 0, 582, 583, 582, 582, 587, 582, 583, 584, 583,
+ 583, 586, 583, 584, 585, 584, 584, 589, 584, 585,
+ 0, 585, 585, 590, 585, 587, 0, 0, 0, 586,
+ 0, 0, 591, 0, 586, 588, 586, 586, 586, 586,
+
+ 588, 587, 588, 588, 592, 588, 587, 0, 587, 587,
+ 593, 587, 587, 589, 0, 0, 594, 0, 589, 590,
+ 589, 589, 595, 589, 590, 0, 590, 590, 591, 590,
+ 0, 596, 0, 591, 0, 591, 591, 597, 591, 0,
+ 592, 0, 0, 598, 0, 592, 593, 592, 592, 599,
+ 592, 593, 594, 593, 593, 600, 593, 594, 595, 594,
+ 594, 601, 594, 595, 0, 595, 595, 596, 595, 0,
+ 602, 0, 596, 597, 596, 596, 603, 596, 597, 598,
+ 597, 597, 611, 597, 598, 599, 598, 598, 612, 598,
+ 599, 600, 599, 599, 614, 599, 600, 601, 600, 600,
+
+ 0, 600, 601, 0, 601, 601, 602, 601, 613, 613,
+ 0, 602, 603, 602, 602, 0, 602, 603, 611, 603,
+ 603, 615, 603, 611, 612, 611, 611, 616, 611, 612,
+ 614, 612, 612, 617, 612, 614, 613, 614, 614, 618,
+ 614, 0, 0, 0, 613, 619, 0, 0, 0, 613,
+ 0, 613, 613, 0, 613, 0, 620, 615, 0, 0,
+ 621, 0, 615, 616, 615, 615, 0, 615, 616, 617,
+ 616, 616, 622, 616, 617, 618, 617, 617, 623, 617,
+ 618, 619, 618, 618, 624, 618, 619, 0, 619, 619,
+ 625, 619, 620, 0, 0, 0, 621, 620, 0, 620,
+
+ 620, 621, 620, 621, 621, 626, 621, 0, 622, 627,
+ 0, 0, 0, 622, 623, 622, 622, 0, 622, 623,
+ 624, 623, 623, 628, 623, 624, 625, 624, 624, 629,
+ 624, 625, 0, 625, 625, 630, 625, 0, 0, 0,
+ 0, 626, 0, 0, 631, 627, 626, 0, 626, 626,
+ 627, 626, 627, 627, 0, 627, 632, 0, 0, 628,
+ 633, 0, 0, 0, 628, 629, 628, 628, 0, 628,
+ 629, 630, 629, 629, 634, 629, 630, 0, 630, 630,
+ 631, 630, 0, 635, 0, 631, 0, 631, 631, 643,
+ 631, 0, 632, 0, 0, 644, 633, 632, 0, 632,
+
+ 632, 633, 632, 633, 633, 0, 633, 645, 0, 0,
+ 634, 646, 0, 0, 0, 634, 0, 634, 634, 635,
+ 634, 0, 647, 0, 635, 643, 635, 635, 648, 635,
+ 643, 644, 643, 643, 649, 643, 644, 0, 644, 644,
+ 650, 644, 0, 645, 0, 0, 651, 646, 645, 0,
+ 645, 645, 646, 645, 646, 646, 0, 646, 647, 652,
+ 0, 0, 0, 647, 648, 647, 647, 0, 647, 648,
+ 649, 648, 648, 653, 648, 649, 650, 649, 649, 654,
+ 649, 650, 651, 650, 650, 655, 650, 651, 0, 651,
+ 651, 656, 651, 0, 0, 652, 0, 657, 0, 0,
+
+ 652, 0, 652, 652, 0, 652, 658, 0, 0, 653,
+ 659, 0, 0, 0, 653, 654, 653, 653, 0, 653,
+ 654, 655, 654, 654, 660, 654, 655, 656, 655, 655,
+ 661, 655, 656, 657, 656, 656, 662, 656, 657, 0,
+ 657, 657, 658, 657, 0, 663, 659, 658, 0, 658,
+ 658, 659, 658, 659, 659, 0, 659, 664, 0, 0,
+ 660, 665, 0, 0, 0, 660, 661, 660, 660, 0,
+ 660, 661, 662, 661, 661, 666, 661, 662, 0, 662,
+ 662, 663, 662, 0, 667, 0, 663, 0, 663, 663,
+ 673, 663, 0, 664, 0, 0, 674, 665, 664, 0,
+
+ 664, 664, 665, 664, 665, 665, 0, 665, 675, 0,
+ 0, 666, 676, 0, 0, 0, 666, 0, 666, 666,
+ 667, 666, 0, 677, 0, 667, 673, 667, 667, 678,
+ 667, 673, 674, 673, 673, 679, 673, 674, 0, 674,
+ 674, 680, 674, 0, 675, 0, 0, 681, 676, 675,
+ 0, 675, 675, 676, 675, 676, 676, 0, 676, 677,
+ 682, 0, 0, 0, 677, 678, 677, 677, 0, 677,
+ 678, 679, 678, 678, 683, 678, 679, 680, 679, 679,
+ 684, 679, 680, 681, 680, 680, 685, 680, 681, 0,
+ 681, 681, 686, 681, 0, 0, 682, 0, 687, 0,
+
+ 0, 682, 0, 682, 682, 0, 682, 688, 0, 0,
+ 683, 689, 0, 0, 0, 683, 684, 683, 683, 0,
+ 683, 684, 685, 684, 684, 690, 684, 685, 686, 685,
+ 685, 691, 685, 686, 687, 686, 686, 692, 686, 687,
+ 0, 687, 687, 688, 687, 0, 693, 689, 688, 0,
+ 688, 688, 689, 688, 689, 689, 0, 689, 694, 0,
+ 0, 690, 695, 0, 0, 0, 690, 691, 690, 690,
+ 0, 690, 691, 692, 691, 691, 696, 691, 692, 0,
+ 692, 692, 693, 692, 0, 697, 0, 693, 0, 693,
+ 693, 699, 693, 0, 694, 0, 0, 700, 695, 694,
+
+ 0, 694, 694, 695, 694, 695, 695, 0, 695, 701,
+ 0, 0, 696, 702, 0, 0, 0, 696, 0, 696,
+ 696, 697, 696, 0, 703, 0, 697, 699, 697, 697,
+ 704, 697, 699, 700, 699, 699, 705, 699, 700, 0,
+ 700, 700, 706, 700, 0, 701, 0, 0, 707, 702,
+ 701, 0, 701, 701, 702, 701, 702, 702, 0, 702,
+ 703, 708, 0, 0, 0, 703, 704, 703, 703, 0,
+ 703, 704, 705, 704, 704, 709, 704, 705, 706, 705,
+ 705, 710, 705, 706, 707, 706, 706, 711, 706, 707,
+ 0, 707, 707, 712, 707, 0, 0, 708, 0, 713,
+
+ 0, 0, 708, 0, 708, 708, 0, 708, 714, 0,
+ 0, 709, 715, 0, 0, 0, 709, 710, 709, 709,
+ 0, 709, 710, 711, 710, 710, 716, 710, 711, 712,
+ 711, 711, 717, 711, 712, 713, 712, 712, 718, 712,
+ 713, 0, 713, 713, 714, 713, 0, 719, 715, 714,
+ 0, 714, 714, 715, 714, 715, 715, 0, 715, 720,
+ 0, 0, 716, 721, 0, 0, 0, 716, 717, 716,
+ 716, 0, 716, 717, 718, 717, 717, 722, 717, 718,
+ 0, 718, 718, 719, 718, 0, 723, 0, 719, 0,
+ 719, 719, 747, 719, 0, 720, 0, 0, 748, 721,
+
+ 720, 0, 720, 720, 721, 720, 721, 721, 0, 721,
+ 0, 0, 750, 722, 0, 0, 749, 0, 722, 749,
+ 722, 722, 723, 722, 0, 751, 0, 723, 747, 723,
+ 723, 752, 723, 747, 748, 747, 747, 0, 747, 748,
+ 0, 748, 748, 754, 748, 0, 749, 0, 750, 753,
+ 0, 0, 749, 750, 753, 750, 750, 749, 750, 749,
+ 749, 751, 749, 755, 0, 0, 751, 752, 751, 751,
+ 0, 751, 752, 0, 752, 752, 756, 752, 0, 754,
+ 757, 753, 0, 0, 754, 753, 754, 754, 0, 754,
+ 753, 758, 753, 753, 0, 753, 0, 759, 0, 755,
+
+ 0, 0, 0, 760, 755, 0, 755, 755, 0, 755,
+ 0, 0, 756, 0, 761, 0, 757, 756, 762, 756,
+ 756, 757, 756, 757, 757, 0, 757, 758, 0, 763,
+ 0, 0, 758, 759, 758, 758, 0, 758, 759, 760,
+ 759, 759, 764, 759, 760, 0, 760, 760, 765, 760,
+ 761, 0, 0, 0, 762, 761, 0, 761, 761, 762,
+ 761, 762, 762, 766, 762, 763, 0, 767, 0, 0,
+ 763, 0, 763, 763, 0, 763, 768, 0, 764, 0,
+ 769, 0, 0, 764, 765, 764, 764, 0, 764, 765,
+ 0, 765, 765, 770, 765, 0, 0, 771, 0, 766,
+
+ 0, 0, 0, 767, 766, 0, 766, 766, 767, 766,
+ 767, 767, 768, 767, 783, 0, 769, 768, 784, 768,
+ 768, 769, 768, 769, 769, 0, 769, 785, 0, 770,
+ 0, 786, 0, 771, 770, 0, 770, 770, 771, 770,
+ 771, 771, 787, 771, 0, 0, 0, 0, 0, 0,
+ 783, 788, 0, 0, 784, 783, 0, 783, 783, 784,
+ 783, 784, 784, 785, 784, 789, 788, 786, 785, 790,
+ 785, 785, 786, 785, 786, 786, 0, 786, 787, 0,
+ 791, 0, 0, 787, 792, 787, 787, 788, 787, 0,
+ 0, 0, 788, 788, 788, 788, 793, 788, 0, 0,
+
+ 794, 789, 0, 0, 0, 790, 789, 0, 789, 789,
+ 790, 789, 790, 790, 795, 790, 791, 0, 796, 0,
+ 792, 791, 0, 791, 791, 792, 791, 792, 792, 797,
+ 792, 0, 793, 798, 0, 0, 794, 793, 0, 793,
+ 793, 794, 793, 794, 794, 799, 794, 0, 0, 800,
+ 795, 0, 0, 0, 796, 795, 0, 795, 795, 796,
+ 795, 796, 796, 801, 796, 797, 0, 802, 0, 798,
+ 797, 0, 797, 797, 798, 797, 798, 798, 803, 798,
+ 0, 799, 804, 0, 0, 800, 799, 0, 799, 799,
+ 800, 799, 800, 800, 805, 800, 0, 0, 806, 801,
+
+ 0, 0, 0, 802, 801, 0, 801, 801, 802, 801,
+ 802, 802, 807, 802, 803, 0, 849, 0, 804, 803,
+ 0, 803, 803, 804, 803, 804, 804, 850, 804, 0,
+ 805, 851, 0, 0, 806, 805, 0, 805, 805, 806,
+ 805, 806, 806, 0, 806, 853, 0, 0, 807, 0,
+ 0, 0, 849, 807, 0, 807, 807, 849, 807, 849,
+ 849, 0, 849, 850, 852, 852, 0, 851, 850, 852,
+ 850, 850, 851, 850, 851, 851, 0, 851, 854, 852,
+ 0, 853, 0, 0, 855, 855, 853, 0, 853, 853,
+ 854, 853, 852, 856, 0, 854, 852, 0, 0, 857,
+
+ 852, 0, 0, 0, 0, 852, 852, 852, 852, 0,
+ 852, 856, 855, 858, 854, 0, 0, 854, 0, 854,
+ 855, 854, 854, 0, 854, 855, 859, 855, 855, 856,
+ 855, 0, 860, 0, 856, 857, 856, 856, 856, 856,
+ 857, 861, 857, 857, 0, 857, 0, 862, 0, 858,
+ 0, 0, 0, 863, 858, 0, 858, 858, 0, 858,
+ 0, 0, 859, 0, 864, 0, 0, 859, 860, 859,
+ 859, 0, 859, 860, 0, 860, 860, 861, 860, 865,
+ 0, 0, 861, 862, 861, 861, 0, 861, 862, 863,
+ 862, 862, 866, 862, 863, 0, 863, 863, 867, 863,
+
+ 864, 0, 0, 0, 868, 864, 0, 864, 864, 0,
+ 864, 0, 0, 869, 0, 865, 0, 870, 0, 0,
+ 865, 0, 865, 865, 0, 865, 871, 0, 866, 0,
+ 872, 0, 0, 866, 867, 866, 866, 0, 866, 867,
+ 868, 867, 867, 873, 867, 868, 0, 868, 868, 869,
+ 868, 0, 877, 870, 869, 0, 869, 869, 870, 869,
+ 870, 870, 871, 870, 878, 0, 872, 871, 879, 871,
+ 871, 872, 871, 872, 872, 0, 872, 880, 0, 873,
+ 0, 881, 0, 0, 873, 0, 873, 873, 877, 873,
+ 882, 0, 0, 877, 883, 877, 877, 0, 877, 0,
+
+ 878, 0, 0, 884, 879, 878, 0, 878, 878, 879,
+ 878, 879, 879, 880, 879, 885, 0, 881, 880, 886,
+ 880, 880, 881, 880, 881, 881, 882, 881, 887, 0,
+ 883, 882, 888, 882, 882, 883, 882, 883, 883, 884,
+ 883, 889, 0, 0, 884, 890, 884, 884, 0, 884,
+ 0, 885, 0, 0, 891, 886, 885, 0, 885, 885,
+ 886, 885, 886, 886, 887, 886, 892, 0, 888, 887,
+ 893, 887, 887, 888, 887, 888, 888, 889, 888, 894,
+ 0, 890, 889, 895, 889, 889, 890, 889, 890, 890,
+ 891, 890, 896, 0, 0, 891, 897, 891, 891, 0,
+
+ 891, 0, 892, 0, 0, 898, 893, 892, 0, 892,
+ 892, 893, 892, 893, 893, 894, 893, 899, 0, 895,
+ 894, 900, 894, 894, 895, 894, 895, 895, 896, 895,
+ 901, 0, 897, 896, 905, 896, 896, 897, 896, 897,
+ 897, 898, 897, 906, 0, 0, 898, 907, 898, 898,
+ 0, 898, 0, 899, 0, 0, 908, 900, 899, 0,
+ 899, 899, 900, 899, 900, 900, 901, 900, 909, 0,
+ 905, 901, 910, 901, 901, 905, 901, 905, 905, 906,
+ 905, 911, 0, 907, 906, 912, 906, 906, 907, 906,
+ 907, 907, 908, 907, 913, 0, 0, 908, 914, 908,
+
+ 908, 0, 908, 0, 909, 0, 0, 915, 910, 909,
+ 0, 909, 909, 910, 909, 910, 910, 911, 910, 916,
+ 0, 912, 911, 917, 911, 911, 912, 911, 912, 912,
+ 913, 912, 918, 0, 914, 913, 919, 913, 913, 914,
+ 913, 914, 914, 915, 914, 920, 0, 0, 915, 921,
+ 915, 915, 0, 915, 0, 916, 0, 0, 922, 917,
+ 916, 0, 916, 916, 917, 916, 917, 917, 918, 917,
+ 923, 0, 919, 918, 924, 918, 918, 919, 918, 919,
+ 919, 920, 919, 925, 0, 921, 920, 926, 920, 920,
+ 921, 920, 921, 921, 922, 921, 927, 0, 0, 922,
+
+ 928, 922, 922, 0, 922, 0, 923, 0, 0, 929,
+ 924, 923, 0, 923, 923, 924, 923, 924, 924, 925,
+ 924, 931, 0, 926, 925, 932, 925, 925, 926, 925,
+ 926, 926, 927, 926, 933, 0, 928, 927, 934, 927,
+ 927, 928, 927, 928, 928, 929, 928, 935, 0, 0,
+ 929, 936, 929, 929, 0, 929, 0, 931, 0, 0,
+ 937, 932, 931, 0, 931, 931, 932, 931, 932, 932,
+ 933, 932, 938, 0, 934, 933, 939, 933, 933, 934,
+ 933, 934, 934, 935, 934, 940, 0, 936, 935, 941,
+ 935, 935, 936, 935, 936, 936, 937, 936, 942, 0,
+
+ 0, 937, 943, 937, 937, 0, 937, 0, 938, 0,
+ 0, 944, 939, 938, 0, 938, 938, 939, 938, 939,
+ 939, 940, 939, 945, 0, 941, 940, 946, 940, 940,
+ 941, 940, 941, 941, 942, 941, 947, 0, 943, 942,
+ 948, 942, 942, 943, 942, 943, 943, 944, 943, 949,
+ 0, 0, 944, 950, 944, 944, 0, 944, 0, 945,
+ 0, 0, 951, 946, 945, 0, 945, 945, 946, 945,
+ 946, 946, 947, 946, 952, 0, 948, 947, 953, 947,
+ 947, 948, 947, 948, 948, 949, 948, 954, 0, 950,
+ 949, 955, 949, 949, 950, 949, 950, 950, 951, 950,
+
+ 974, 0, 0, 951, 975, 951, 951, 0, 951, 0,
+ 952, 0, 0, 976, 953, 952, 0, 952, 952, 953,
+ 952, 953, 953, 954, 953, 977, 0, 955, 954, 978,
+ 954, 954, 955, 954, 955, 955, 974, 955, 979, 0,
+ 975, 974, 980, 974, 974, 975, 974, 975, 975, 976,
+ 975, 981, 0, 0, 976, 982, 976, 976, 0, 976,
+ 0, 977, 0, 0, 983, 978, 977, 0, 977, 977,
+ 978, 977, 978, 978, 979, 978, 984, 0, 980, 979,
+ 985, 979, 979, 980, 979, 980, 980, 981, 980, 986,
+ 0, 982, 981, 987, 981, 981, 982, 981, 982, 982,
+
+ 983, 982, 988, 0, 0, 983, 989, 983, 983, 0,
+ 983, 0, 984, 0, 0, 990, 985, 984, 0, 984,
+ 984, 985, 984, 985, 985, 986, 985, 991, 0, 987,
+ 986, 992, 986, 986, 987, 986, 987, 987, 988, 987,
+ 993, 0, 989, 988, 994, 988, 988, 989, 988, 989,
+ 989, 990, 989, 995, 0, 0, 990, 996, 990, 990,
+ 0, 990, 0, 991, 0, 0, 997, 992, 991, 0,
+ 991, 991, 992, 991, 992, 992, 993, 992, 998, 0,
+ 994, 993, 1016, 993, 993, 994, 993, 994, 994, 995,
+ 994, 1017, 0, 996, 995, 1018, 995, 995, 996, 995,
+
+ 996, 996, 997, 996, 1019, 0, 0, 997, 1020, 997,
+ 997, 0, 997, 0, 998, 0, 0, 1021, 1016, 998,
+ 0, 998, 998, 1016, 998, 1016, 1016, 1017, 1016, 1022,
+ 0, 1018, 1017, 1023, 1017, 1017, 1018, 1017, 1018, 1018,
+ 1019, 1018, 1024, 0, 1020, 1019, 1025, 1019, 1019, 1020,
+ 1019, 1020, 1020, 1021, 1020, 1026, 0, 0, 1021, 1027,
+ 1021, 1021, 0, 1021, 0, 1022, 0, 0, 1028, 1023,
+ 1022, 0, 1022, 1022, 1023, 1022, 1023, 1023, 1024, 1023,
+ 1029, 0, 1025, 1024, 1030, 1024, 1024, 1025, 1024, 1025,
+ 1025, 1026, 1025, 1031, 0, 1027, 1026, 1032, 1026, 1026,
+
+ 1027, 1026, 1027, 1027, 1028, 1027, 1033, 0, 0, 1028,
+ 1034, 1028, 1028, 0, 1028, 0, 1029, 0, 0, 1035,
+ 1030, 1029, 0, 1029, 1029, 1030, 1029, 1030, 1030, 1031,
+ 1030, 1036, 0, 1032, 1031, 1037, 1031, 1031, 1032, 1031,
+ 1032, 1032, 1033, 1032, 1038, 0, 1034, 1033, 1039, 1033,
+ 1033, 1034, 1033, 1034, 1034, 1035, 1034, 1040, 0, 0,
+ 1035, 1042, 1035, 1035, 0, 1035, 0, 1036, 0, 0,
+ 1043, 1037, 1036, 0, 1036, 1036, 1037, 1036, 1037, 1037,
+ 1038, 1037, 1044, 0, 1039, 1038, 1045, 1038, 1038, 1039,
+ 1038, 1039, 1039, 1040, 1039, 1046, 0, 1042, 1040, 1047,
+
+ 1040, 1040, 1042, 1040, 1042, 1042, 1043, 1042, 1048, 0,
+ 0, 1043, 1049, 1043, 1043, 0, 1043, 0, 1044, 0,
+ 0, 1050, 1045, 1044, 0, 1044, 1044, 1045, 1044, 1045,
+ 1045, 1046, 1045, 1051, 0, 1047, 1046, 1052, 1046, 1046,
+ 1047, 1046, 1047, 1047, 1048, 1047, 1053, 0, 1049, 1048,
+ 1054, 1048, 1048, 1049, 1048, 1049, 1049, 1050, 1049, 1055,
+ 0, 0, 1050, 1056, 1050, 1050, 0, 1050, 0, 1051,
+ 0, 0, 1057, 1052, 1051, 0, 1051, 1051, 1052, 1051,
+ 1052, 1052, 1053, 1052, 1058, 0, 1054, 1053, 1059, 1053,
+ 1053, 1054, 1053, 1054, 1054, 1055, 1054, 1060, 0, 1056,
+
+ 1055, 1061, 1055, 1055, 1056, 1055, 1056, 1056, 1057, 1056,
+ 1062, 0, 0, 1057, 1063, 1057, 1057, 0, 1057, 0,
+ 1058, 0, 0, 1064, 1059, 1058, 0, 1058, 1058, 1059,
+ 1058, 1059, 1059, 1060, 1059, 1065, 0, 1061, 1060, 1066,
+ 1060, 1060, 1061, 1060, 1061, 1061, 1062, 1061, 1068, 0,
+ 1063, 1062, 1069, 1062, 1062, 1063, 1062, 1063, 1063, 1064,
+ 1063, 1070, 0, 0, 1064, 1071, 1064, 1064, 0, 1064,
+ 0, 1065, 0, 0, 1072, 1066, 1065, 0, 1065, 1065,
+ 1066, 1065, 1066, 1066, 1068, 1066, 1073, 0, 1069, 1068,
+ 1074, 1068, 1068, 1069, 1068, 1069, 1069, 1070, 1069, 1075,
+
+ 0, 1071, 1070, 1076, 1070, 1070, 1071, 1070, 1071, 1071,
+ 1072, 1071, 1077, 0, 0, 1072, 1078, 1072, 1072, 0,
+ 1072, 0, 1073, 0, 0, 1079, 1074, 1073, 0, 1073,
+ 1073, 1074, 1073, 1074, 1074, 1075, 1074, 1080, 0, 1076,
+ 1075, 1081, 1075, 1075, 1076, 1075, 1076, 1076, 1077, 1076,
+ 1082, 0, 1078, 1077, 1083, 1077, 1077, 1078, 1077, 1078,
+ 1078, 1079, 1078, 1084, 0, 0, 1079, 1085, 1079, 1079,
+ 0, 1079, 0, 1080, 0, 0, 1086, 1081, 1080, 0,
+ 1080, 1080, 1081, 1080, 1081, 1081, 1082, 1081, 1087, 0,
+ 1083, 1082, 1088, 1082, 1082, 1083, 1082, 1083, 1083, 1084,
+
+ 1083, 1089, 0, 1085, 1084, 1090, 1084, 1084, 1085, 1084,
+ 1085, 1085, 1086, 1085, 1091, 0, 0, 1086, 1092, 1086,
+ 1086, 0, 1086, 0, 1087, 0, 0, 1103, 1088, 1087,
+ 0, 1087, 1087, 1088, 1087, 1088, 1088, 1089, 1088, 1104,
+ 0, 1090, 1089, 1105, 1089, 1089, 1090, 1089, 1090, 1090,
+ 1091, 1090, 1106, 0, 1092, 1091, 1107, 1091, 1091, 1092,
+ 1091, 1092, 1092, 1103, 1092, 1108, 0, 0, 1103, 1109,
+ 1103, 1103, 0, 1103, 0, 1104, 0, 0, 1110, 1105,
+ 1104, 0, 1104, 1104, 1105, 1104, 1105, 1105, 1106, 1105,
+ 1111, 0, 1107, 1106, 1112, 1106, 1106, 1107, 1106, 1107,
+
+ 1107, 1108, 1107, 1113, 0, 1109, 1108, 1114, 1108, 1108,
+ 1109, 1108, 1109, 1109, 1110, 1109, 1115, 0, 0, 1110,
+ 1116, 1110, 1110, 0, 1110, 0, 1111, 0, 0, 1117,
+ 1112, 1111, 0, 1111, 1111, 1112, 1111, 1112, 1112, 1113,
+ 1112, 1118, 0, 1114, 1113, 1119, 1113, 1113, 1114, 1113,
+ 1114, 1114, 1115, 1114, 1120, 0, 1116, 1115, 1121, 1115,
+ 1115, 1116, 1115, 1116, 1116, 1117, 1116, 1122, 0, 0,
+ 1117, 1123, 1117, 1117, 0, 1117, 0, 1118, 0, 0,
+ 1124, 1119, 1118, 0, 1118, 1118, 1119, 1118, 1119, 1119,
+ 1120, 1119, 1125, 0, 1121, 1120, 1126, 1120, 1120, 1121,
+
+ 1120, 1121, 1121, 1122, 1121, 1127, 0, 1123, 1122, 0,
+ 1122, 1122, 1123, 1122, 1123, 1123, 1124, 1123, 0, 0,
+ 0, 1124, 0, 1124, 1124, 0, 1124, 0, 1125, 0,
+ 0, 0, 1126, 1125, 0, 1125, 1125, 1126, 1125, 1126,
+ 1126, 1127, 1126, 0, 0, 0, 1127, 0, 1127, 1127,
+ 0, 1127, 2590, 2590, 2593, 2593, 2594, 2594, 2595, 2595,
+ 2596, 2596, 2597, 2597, 2598, 2598, 2599, 2599, 2600, 2600,
+ 2604, 2604, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589,
+
+ 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589
+ } ;
+
+static yy_state_type yy_last_accepting_state;
+static char *yy_last_accepting_cpos;
+
+extern int yy_flex_debug;
+int yy_flex_debug = 0;
+
+/* The intent behind this definition is that it'll catch
+ * any uses of REJECT which flex missed.
+ */
+#define REJECT reject_used_but_not_detected
+#define yymore() yymore_used_but_not_detected
+#define YY_MORE_ADJ 0
+#define YY_RESTORE_YY_MORE_OFFSET
+char *yytext;
+#line 1 "ansel2uni.ll"
+/* This is a lex(1) file, see http://dinosaur.compilertools.net/
+* or http://en.wikipedia.org/wiki/Lex_programming_tool .
+*
+* Compilation on UNIX systems is done by
+* make ansel2uni
+* On other systems one may need to call lex or flex and cc explicitly:
+* lex -o ansel2uni.c ansel2uni.l
+* cc [-s] [-O] [-D U_TRANSF_OS_LN] [-D GEDCOM_EXT] [-D GEDCOM_LDS_EXT] [-D MARC_EXT] -o wileyEndNoteFilt ansel2uni.c -ll
+*
+* The executable works as a filter (copies stdin to stdout) and converts
+* a text stream encoded in 8-bit ANSEL (Z39-47-1993, ISO-IR-231) to UTF-8 unicode.
+* If the preprocessor symbol U_TRANSF_OS_LN has been defined, the CR-LF
+* combination of Unixes or DOS are modified to the Unicode
+* line separator symbol on output, else they are copied unchanged.
+*
+* If the preprocessor symbol GEDCOM_EXT is defined, some Gedcom-5.5 extensions
+* of the ANSEL standard are implemented. With the current implementation
+* this only means support of the German sharp s. If the slash
+* modifier that strikes through characters or of graphical symbols
+* of open or filled boxes are also needed, GEDCOM_LDS_EXT should be defined.
+*
+* If the preprocessor symbol MARC_EXT is defined, the MARC-8 extensions
+* of the ANSEL standard are implemented, as described in
+* http://lcweb2.loc.gov/diglib/codetables/45.html .
+*
+* Templates of use:
+* cat infile.ans | ansel2uni > infile.uni
+* For use in HTML/XML pages, recoding with the &#x00000; style
+* can be done via http://billposer.org/Software/uni2ascii.html :
+* cat infile.ans | ansel2uni | uni2ascii -q -a Q -a H > infile.xml
+*
+* http://en.wikipedia.org/wiki/GEDCOM
+* http://marcpm.sourceforge.net/MARC/Charset.html
+*
+* @author Richard J. Mathar, 2009-01-13
+* @since 2209-01-18 use yyout instead of stdout. Implemented MARC_EXT. Use graph for alpha char class.
+* @see http://www.uniocode.org/versions/Unicode5.1.0/
+*/
+#line 42 "ansel2uni.ll"
+#include <stdio.h>
+
+/* Unicode ranges U+0000 to UFFFF
+* @param hi the high (first) byte of the code point
+* @param lo the low (2nd byte) of the code point
+* @see D92 in the Unicode Standard, Table 3-6
+* @see http://en.wikipedia.org/wiki/UTF-8
+*/
+void utf3byte(const unsigned char hi, const unsigned char lo)
+{
+ const unsigned long c = 256*hi+lo ;
+ if ( c < 128)
+ fprintf(yyout,"%c",lo) ;
+ else if ( c < 2048 )
+ {
+ /* mask lower 6 bits and prefix 10, second byte */
+ const unsigned char b2 = 128 + ( c & 63 );
+ /* remove lower 6 bits and prefix 110, first byte */
+ const unsigned char b1 = 192 + ( c >> 6 ) ;
+ fprintf(yyout,"%c%c",b1,b2) ;
+ }
+ else
+ {
+ /* mask lower 6 bits and prefix 10, third byte */
+ const unsigned char b3 = 128 + ( c & 63 );
+ /* remove lower 6 bits and prefix 10 */
+ const unsigned char b2 = 128 + ( ( c & 4032 ) >> 6 ) ;
+ /* remove lower 12 bits and prefix 1110 */
+ const unsigned char b1 = 224 + ( (c & 61440 ) >> 12 ) ;
+ fprintf(yyout,"%c%c%c",b1,b2,b3) ;
+ }
+}
+
+/* Unicode ranges U+0080 to U+00FF.
+* @param c the low-byte of the unicode point in the range 0x00 to 0x7f
+* @see http://en.wikipedia.org/wiki/UTF-8
+*/
+void utf2byte(const unsigned char c)
+{
+#if 0
+ /* explicit implementation */
+ const unsigned char b2 = 128 + ( c & 63 );
+ const unsigned char b1 = 192 + ( ( c & 192 ) >> 6 ) ;
+ fprintf(yyout,"%c%c",b1,b2) ;
+#else
+ /* lazy implementation */
+ utf3byte('\0',c) ;
+#endif
+}
+
+#ifdef U_TRANSF_OS_NL
+/* Put the LS, U+2028
+* @param crlf the line feed in unix or dos representation
+* @todo
+*/
+void newl(char *crlf)
+{
+ utf3byte('\x20','\x28') ;
+}
+#else
+/*
+* @param crlf the line feed in unix or dos representation
+*/
+void newl(char *crlf)
+{
+ fprintf(yyout,"%s",crlf) ;
+}
+#endif
+
+/* reserved for control characters */
+/* corners (reserved) */
+/* Gedcom 5.5 extension: German sharp s */
+/* rumors but not standard, see http://homepages.rootsweb.ancestry.com/~pmcbride/gedcom/55gcappd.htm#S2 */
+/* Strict ANSEL: reserved for future standardization, but not GEDCOM */
+/* not sure whether ANSEL allows a double grave to be represented as two accents */
+#line 3174 "ansel2uni.cc"
+
+#define INITIAL 0
+
+#ifndef YY_NO_UNISTD_H
+/* Special case for "unistd.h", since it is non-ANSI. We include it way
+ * down here because we want the user's section 1 to have been scanned first.
+ * The user has a chance to override it with an option.
+ */
+#include <unistd.h>
+#endif
+
+#ifndef YY_EXTRA_TYPE
+#define YY_EXTRA_TYPE void *
+#endif
+
+static int yy_init_globals (void );
+
+/* Accessor methods to globals.
+ These are made visible to non-reentrant scanners for convenience. */
+
+int yylex_destroy (void );
+
+int yyget_debug (void );
+
+void yyset_debug (int debug_flag );
+
+YY_EXTRA_TYPE yyget_extra (void );
+
+void yyset_extra (YY_EXTRA_TYPE user_defined );
+
+FILE *yyget_in (void );
+
+void yyset_in (FILE * in_str );
+
+FILE *yyget_out (void );
+
+void yyset_out (FILE * out_str );
+
+yy_size_t yyget_leng (void );
+
+char *yyget_text (void );
+
+int yyget_lineno (void );
+
+void yyset_lineno (int line_number );
+
+/* Macros after this point can all be overridden by user definitions in
+ * section 1.
+ */
+
+#ifndef YY_SKIP_YYWRAP
+#ifdef __cplusplus
+extern "C" int yywrap (void );
+#else
+extern int yywrap (void );
+#endif
+#endif
+
+ static void yyunput (int c,char *buf_ptr );
+
+#ifndef yytext_ptr
+static void yy_flex_strncpy (char *,yyconst char *,int );
+#endif
+
+#ifdef YY_NEED_STRLEN
+static int yy_flex_strlen (yyconst char * );
+#endif
+
+#ifndef YY_NO_INPUT
+
+#ifdef __cplusplus
+static int yyinput (void );
+#else
+static int input (void );
+#endif
+
+#endif
+
+/* Amount of stuff to slurp up with each read. */
+#ifndef YY_READ_BUF_SIZE
+#define YY_READ_BUF_SIZE 8192
+#endif
+
+/* Copy whatever the last rule matched to the standard output. */
+#ifndef ECHO
+/* This used to be an fputs(), but since the string might contain NUL's,
+ * we now use fwrite().
+ */
+#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
+#endif
+
+/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
+ * is returned in "result".
+ */
+#ifndef YY_INPUT
+#define YY_INPUT(buf,result,max_size) \
+ if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
+ { \
+ int c = '*'; \
+ size_t n; \
+ for ( n = 0; n < max_size && \
+ (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
+ buf[n] = (char) c; \
+ if ( c == '\n' ) \
+ buf[n++] = (char) c; \
+ if ( c == EOF && ferror( yyin ) ) \
+ YY_FATAL_ERROR( "input in flex scanner failed" ); \
+ result = n; \
+ } \
+ else \
+ { \
+ errno=0; \
+ while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
+ { \
+ if( errno != EINTR) \
+ { \
+ YY_FATAL_ERROR( "input in flex scanner failed" ); \
+ break; \
+ } \
+ errno=0; \
+ clearerr(yyin); \
+ } \
+ }\
+\
+
+#endif
+
+/* No semi-colon after return; correct usage is to write "yyterminate();" -
+ * we don't want an extra ';' after the "return" because that will cause
+ * some compilers to complain about unreachable statements.
+ */
+#ifndef yyterminate
+#define yyterminate() return YY_NULL
+#endif
+
+/* Number of entries by which start-condition stack grows. */
+#ifndef YY_START_STACK_INCR
+#define YY_START_STACK_INCR 25
+#endif
+
+/* Report a fatal error. */
+#ifndef YY_FATAL_ERROR
+#define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
+#endif
+
+/* end tables serialization structures and prototypes */
+
+/* Default declaration of generated scanner - a define so the user can
+ * easily add parameters.
+ */
+#ifndef YY_DECL
+#define YY_DECL_IS_OURS 1
+
+extern int yylex (void);
+
+#define YY_DECL int yylex (void)
+#endif /* !YY_DECL */
+
+/* Code executed at the beginning of each rule, after yytext and yyleng
+ * have been set up.
+ */
+#ifndef YY_USER_ACTION
+#define YY_USER_ACTION
+#endif
+
+/* Code executed at the end of each rule. */
+#ifndef YY_BREAK
+#define YY_BREAK break;
+#endif
+
+#define YY_RULE_SETUP \
+ YY_USER_ACTION
+
+/** The main scanner function which does all the work.
+ */
+YY_DECL
+{
+ register yy_state_type yy_current_state;
+ register char *yy_cp, *yy_bp;
+ register int yy_act;
+
+#line 171 "ansel2uni.ll"
+
+
+#line 3359 "ansel2uni.cc"
+
+ if ( !(yy_init) )
+ {
+ (yy_init) = 1;
+
+#ifdef YY_USER_INIT
+ YY_USER_INIT;
+#endif
+
+ if ( ! (yy_start) )
+ (yy_start) = 1; /* first start state */
+
+ if ( ! yyin )
+ yyin = stdin;
+
+ if ( ! yyout )
+ yyout = stdout;
+
+ if ( ! YY_CURRENT_BUFFER ) {
+ yyensure_buffer_stack ();
+ YY_CURRENT_BUFFER_LVALUE =
+ yy_create_buffer(yyin,YY_BUF_SIZE );
+ }
+
+ yy_load_buffer_state( );
+ }
+
+ while ( 1 ) /* loops until end-of-file is reached */
+ {
+ yy_cp = (yy_c_buf_p);
+
+ /* Support of yytext. */
+ *yy_cp = (yy_hold_char);
+
+ /* yy_bp points to the position in yy_ch_buf of the start of
+ * the current run.
+ */
+ yy_bp = yy_cp;
+
+ yy_current_state = (yy_start);
+yy_match:
+ do
+ {
+ register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
+ if ( yy_accept[yy_current_state] )
+ {
+ (yy_last_accepting_state) = yy_current_state;
+ (yy_last_accepting_cpos) = yy_cp;
+ }
+ while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
+ {
+ yy_current_state = (int) yy_def[yy_current_state];
+ if ( yy_current_state >= 2590 )
+ yy_c = yy_meta[(unsigned int) yy_c];
+ }
+ yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
+ ++yy_cp;
+ }
+ while ( yy_base[yy_current_state] != 7773 );
+
+yy_find_action:
+ yy_act = yy_accept[yy_current_state];
+ if ( yy_act == 0 )
+ { /* have to back up */
+ yy_cp = (yy_last_accepting_cpos);
+ yy_current_state = (yy_last_accepting_state);
+ yy_act = yy_accept[yy_current_state];
+ }
+
+ YY_DO_BEFORE_ACTION;
+
+do_action: /* This label is used only to access EOF actions. */
+
+ switch ( yy_act )
+ { /* beginning of action switch */
+ case 0: /* must back up */
+ /* undo the effects of YY_DO_BEFORE_ACTION */
+ *yy_cp = (yy_hold_char);
+ yy_cp = (yy_last_accepting_cpos);
+ yy_current_state = (yy_last_accepting_state);
+ goto yy_find_action;
+
+case 1:
+YY_RULE_SETUP
+#line 173 "ansel2uni.ll"
+{
+#ifdef MARC_EXT
+ utf2byte('\x98') ; /* START OF STRING U+0098 */
+#else
+ ECHO ;
+#endif
+ }
+ YY_BREAK
+case 2:
+YY_RULE_SETUP
+#line 181 "ansel2uni.ll"
+{
+#ifdef MARC_EXT
+ utf2byte('\x9c') ; /* STRING TERMINATOR U+009C */
+#else
+ ECHO ;
+#endif
+ }
+ YY_BREAK
+case 3:
+YY_RULE_SETUP
+#line 189 "ansel2uni.ll"
+{
+#ifdef MARC_EXT
+ utf3byte('\x20','\x0d') ; /* ZERO WIDTH JOINER U+200D */
+#else
+ ECHO ;
+#endif
+ }
+ YY_BREAK
+case 4:
+YY_RULE_SETUP
+#line 197 "ansel2uni.ll"
+{
+#ifdef MARC_EXT
+ utf3byte('\x20','\x0c') ; /* ZERO WIDTH NON-JOINER U+200C */
+#else
+ ECHO ;
+#endif
+ }
+ YY_BREAK
+/* C1 controls and latin supplement */
+/* utf2byte('\xa0') ; /* unassigned xxxxxxxxxxxxxxxxxxxxxxx U+00A0 */
+case 5:
+YY_RULE_SETUP
+#line 208 "ansel2uni.ll"
+utf2byte('\xa1') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00A1 */
+ YY_BREAK
+/* utf2byte('\xa2') ; /* CENT SIGN U+00A2 */
+case 6:
+YY_RULE_SETUP
+#line 210 "ansel2uni.ll"
+utf2byte('\xa3') ; /* POUND SIGN U+00A3 */
+ YY_BREAK
+/* utf2byte('\xa4') ; /* CURRENCY SIGN U+00A4 */
+/* utf2byte('\xa5') ; /* YEN SIGN U+00A5 */
+/* utf2byte('\xa6') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00A6 */
+/* utf2byte('\xa7') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00A7 */
+/* utf2byte('\xa8') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00A8 */
+case 7:
+YY_RULE_SETUP
+#line 216 "ansel2uni.ll"
+utf2byte('\xa9') ; /* COPYRIGH SIGN U+00A9 */
+ YY_BREAK
+/* utf2byte('\xaa') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00AA */
+/* utf2byte('\xab') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00AB */
+/* utf2byte('\xac') ; /* NOT SIGN U+00AC */
+/* utf2byte('\xad') ; /* SOPFTHYPHEN U+00AD */
+case 8:
+YY_RULE_SETUP
+#line 221 "ansel2uni.ll"
+utf2byte('\xae') ; /* REGISTRED SIGN U+00AE */
+ YY_BREAK
+/* utf2byte('\xaf') ; /* MACRON U+00AF */
+case 9:
+YY_RULE_SETUP
+#line 224 "ansel2uni.ll"
+utf2byte('\xb0') ; /* DEGREE SIGN U+00B0 */
+ YY_BREAK
+case 10:
+YY_RULE_SETUP
+#line 225 "ansel2uni.ll"
+utf2byte('\xb1') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00B1 */
+ YY_BREAK
+/* utf2byte('\xb2') ; /* SUPER SCRIPT TWO U+00B2 */
+/* utf2byte('\xb3') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00B3 */
+/* utf2byte('\xb4') ; /* ACUTE ACCENT U+00B4 */
+/* utf2byte('\xb5') ; /* MICRO SIGN U+00B5 */
+/* utf2byte('\xb6') ; /* PILCROW SIGN U+00B6 */
+case 11:
+YY_RULE_SETUP
+#line 231 "ansel2uni.ll"
+utf2byte('\xb7') ; /* MIDDLE DOT U+00B7 */
+ YY_BREAK
+/* utf2byte('\xb8') ; /* CEDILLA U+00B8 */
+/* utf2byte('\xb9') ; /* SUPERSCRIPT ONE U+00B9 */
+/* utf2byte('\xba') ; /* MASCULINE ORIDNAL INDICATOR U+00BA */
+/* utf2byte('\xbb') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00BB */
+/* utf2byte('\xbc') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00BC */
+/* utf2byte('\xbd') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00BD */
+/* utf2byte('\xbe') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00BE */
+case 12:
+YY_RULE_SETUP
+#line 239 "ansel2uni.ll"
+utf2byte('\xbf') ; /* INVERTED QUESTION MARK U+00BF */
+ YY_BREAK
+case 13:
+YY_RULE_SETUP
+#line 241 "ansel2uni.ll"
+utf2byte('\xc0') ; /* A WITH ACUTE, LATIN CAPITAL LETTER U+00C0 */
+ YY_BREAK
+case 14:
+YY_RULE_SETUP
+#line 242 "ansel2uni.ll"
+utf2byte('\xc1') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00C1 */
+ YY_BREAK
+case 15:
+YY_RULE_SETUP
+#line 243 "ansel2uni.ll"
+utf2byte('\xc2') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00C2 */
+ YY_BREAK
+case 16:
+YY_RULE_SETUP
+#line 244 "ansel2uni.ll"
+utf2byte('\xc3') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00C3 */
+ YY_BREAK
+case 17:
+YY_RULE_SETUP
+#line 245 "ansel2uni.ll"
+utf2byte('\xc4') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00C4 */
+ YY_BREAK
+case 18:
+YY_RULE_SETUP
+#line 246 "ansel2uni.ll"
+utf2byte('\xc5') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00C5 */
+ YY_BREAK
+case 19:
+YY_RULE_SETUP
+#line 247 "ansel2uni.ll"
+utf2byte('\xc6') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00C6 */
+ YY_BREAK
+case 20:
+YY_RULE_SETUP
+#line 248 "ansel2uni.ll"
+utf2byte('\xc7') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00C7 */
+ YY_BREAK
+case 21:
+YY_RULE_SETUP
+#line 249 "ansel2uni.ll"
+utf2byte('\xc8') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00C8 */
+ YY_BREAK
+case 22:
+YY_RULE_SETUP
+#line 250 "ansel2uni.ll"
+utf2byte('\xc9') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00C9 */
+ YY_BREAK
+case 23:
+YY_RULE_SETUP
+#line 251 "ansel2uni.ll"
+utf2byte('\xca') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00CA */
+ YY_BREAK
+case 24:
+YY_RULE_SETUP
+#line 252 "ansel2uni.ll"
+utf2byte('\xcb') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00CB */
+ YY_BREAK
+case 25:
+YY_RULE_SETUP
+#line 253 "ansel2uni.ll"
+utf2byte('\xcc') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00CC */
+ YY_BREAK
+case 26:
+YY_RULE_SETUP
+#line 254 "ansel2uni.ll"
+utf2byte('\xcd') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00CD */
+ YY_BREAK
+case 27:
+YY_RULE_SETUP
+#line 255 "ansel2uni.ll"
+utf2byte('\xce') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00CE */
+ YY_BREAK
+case 28:
+YY_RULE_SETUP
+#line 256 "ansel2uni.ll"
+utf2byte('\xcf') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00CF */
+ YY_BREAK
+case 29:
+YY_RULE_SETUP
+#line 258 "ansel2uni.ll"
+utf2byte('\xd1') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00D1 */
+ YY_BREAK
+case 30:
+YY_RULE_SETUP
+#line 259 "ansel2uni.ll"
+utf2byte('\xd2') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00D2 */
+ YY_BREAK
+case 31:
+YY_RULE_SETUP
+#line 260 "ansel2uni.ll"
+utf2byte('\xd3') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00D3 */
+ YY_BREAK
+case 32:
+YY_RULE_SETUP
+#line 261 "ansel2uni.ll"
+utf2byte('\xd4') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00D4 */
+ YY_BREAK
+case 33:
+YY_RULE_SETUP
+#line 262 "ansel2uni.ll"
+utf2byte('\xd5') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00D5 */
+ YY_BREAK
+case 34:
+YY_RULE_SETUP
+#line 263 "ansel2uni.ll"
+utf2byte('\xd6') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00D6 */
+ YY_BREAK
+/* utf2byte('\xd7') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00D7 */
+case 35:
+YY_RULE_SETUP
+#line 265 "ansel2uni.ll"
+utf2byte('\xd8') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00D8 */
+ YY_BREAK
+case 36:
+YY_RULE_SETUP
+#line 266 "ansel2uni.ll"
+utf2byte('\xd9') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00D9 */
+ YY_BREAK
+case 37:
+YY_RULE_SETUP
+#line 267 "ansel2uni.ll"
+utf2byte('\xda') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00DA */
+ YY_BREAK
+case 38:
+YY_RULE_SETUP
+#line 268 "ansel2uni.ll"
+utf2byte('\xdb') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00DB */
+ YY_BREAK
+case 39:
+YY_RULE_SETUP
+#line 269 "ansel2uni.ll"
+utf2byte('\xdc') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00DC */
+ YY_BREAK
+case 40:
+YY_RULE_SETUP
+#line 270 "ansel2uni.ll"
+utf2byte('\xdd') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00DD */
+ YY_BREAK
+case 41:
+YY_RULE_SETUP
+#line 271 "ansel2uni.ll"
+utf2byte('\xde') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00DE */
+ YY_BREAK
+/* utf2byte('\xdf') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00DF */
+case 42:
+YY_RULE_SETUP
+#line 274 "ansel2uni.ll"
+utf2byte('\xe0') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00E0 */
+ YY_BREAK
+case 43:
+YY_RULE_SETUP
+#line 275 "ansel2uni.ll"
+utf2byte('\xe1') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00E1 */
+ YY_BREAK
+case 44:
+YY_RULE_SETUP
+#line 276 "ansel2uni.ll"
+utf2byte('\xe2') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00E2 */
+ YY_BREAK
+case 45:
+YY_RULE_SETUP
+#line 277 "ansel2uni.ll"
+utf2byte('\xe3') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00E3 */
+ YY_BREAK
+case 46:
+YY_RULE_SETUP
+#line 278 "ansel2uni.ll"
+utf2byte('\xe4') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00E4 */
+ YY_BREAK
+case 47:
+YY_RULE_SETUP
+#line 279 "ansel2uni.ll"
+utf2byte('\xe5') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00E5 */
+ YY_BREAK
+case 48:
+YY_RULE_SETUP
+#line 280 "ansel2uni.ll"
+utf2byte('\xe6') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00E6 */
+ YY_BREAK
+case 49:
+YY_RULE_SETUP
+#line 281 "ansel2uni.ll"
+utf2byte('\xe7') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00E7 */
+ YY_BREAK
+case 50:
+YY_RULE_SETUP
+#line 282 "ansel2uni.ll"
+utf2byte('\xe8') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00E8 */
+ YY_BREAK
+case 51:
+YY_RULE_SETUP
+#line 283 "ansel2uni.ll"
+utf2byte('\xe9') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00E9 */
+ YY_BREAK
+case 52:
+YY_RULE_SETUP
+#line 284 "ansel2uni.ll"
+utf2byte('\xea') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00EA */
+ YY_BREAK
+case 53:
+YY_RULE_SETUP
+#line 285 "ansel2uni.ll"
+utf2byte('\xeb') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00EB */
+ YY_BREAK
+case 54:
+YY_RULE_SETUP
+#line 286 "ansel2uni.ll"
+utf2byte('\xec') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00EC */
+ YY_BREAK
+case 55:
+YY_RULE_SETUP
+#line 287 "ansel2uni.ll"
+utf2byte('\xed') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00ED */
+ YY_BREAK
+case 56:
+YY_RULE_SETUP
+#line 288 "ansel2uni.ll"
+utf2byte('\xee') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00EE */
+ YY_BREAK
+case 57:
+YY_RULE_SETUP
+#line 289 "ansel2uni.ll"
+utf2byte('\xef') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00EF */
+ YY_BREAK
+case 58:
+YY_RULE_SETUP
+#line 291 "ansel2uni.ll"
+utf2byte('\xf0') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00F0 */
+ YY_BREAK
+case 59:
+YY_RULE_SETUP
+#line 292 "ansel2uni.ll"
+utf2byte('\xf1') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00F1 */
+ YY_BREAK
+case 60:
+YY_RULE_SETUP
+#line 293 "ansel2uni.ll"
+utf2byte('\xf2') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00F2 */
+ YY_BREAK
+case 61:
+YY_RULE_SETUP
+#line 294 "ansel2uni.ll"
+utf2byte('\xf3') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00F3 */
+ YY_BREAK
+case 62:
+YY_RULE_SETUP
+#line 295 "ansel2uni.ll"
+utf2byte('\xf4') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00F4 */
+ YY_BREAK
+case 63:
+YY_RULE_SETUP
+#line 296 "ansel2uni.ll"
+utf2byte('\xf5') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00F5 */
+ YY_BREAK
+case 64:
+YY_RULE_SETUP
+#line 297 "ansel2uni.ll"
+utf2byte('\xf6') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00F6 */
+ YY_BREAK
+/* utf2byte('\xf7') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00F7 */
+case 65:
+YY_RULE_SETUP
+#line 299 "ansel2uni.ll"
+utf2byte('\xf8') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00F8 */
+ YY_BREAK
+case 66:
+YY_RULE_SETUP
+#line 300 "ansel2uni.ll"
+utf2byte('\xf9') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00F9 */
+ YY_BREAK
+case 67:
+YY_RULE_SETUP
+#line 301 "ansel2uni.ll"
+utf2byte('\xfa') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00FA */
+ YY_BREAK
+case 68:
+YY_RULE_SETUP
+#line 302 "ansel2uni.ll"
+utf2byte('\xfb') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00FB */
+ YY_BREAK
+case 69:
+YY_RULE_SETUP
+#line 303 "ansel2uni.ll"
+utf2byte('\xfc') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00FC */
+ YY_BREAK
+case 70:
+YY_RULE_SETUP
+#line 304 "ansel2uni.ll"
+utf2byte('\xfd') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00FD */
+ YY_BREAK
+case 71:
+YY_RULE_SETUP
+#line 305 "ansel2uni.ll"
+utf2byte('\xfe') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00FE */
+ YY_BREAK
+case 72:
+YY_RULE_SETUP
+#line 306 "ansel2uni.ll"
+utf2byte('\xff') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00FF */
+ YY_BREAK
+/* Latin-extended A */
+case 73:
+YY_RULE_SETUP
+#line 310 "ansel2uni.ll"
+utf3byte('\x01','\x00') ; /* LATIN CAPITAL LETTER A WITH MACRON U+0100 */
+ YY_BREAK
+case 74:
+YY_RULE_SETUP
+#line 311 "ansel2uni.ll"
+utf3byte('\x01','\x01') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0101 */
+ YY_BREAK
+case 75:
+YY_RULE_SETUP
+#line 312 "ansel2uni.ll"
+utf3byte('\x01','\x02') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0102 */
+ YY_BREAK
+case 76:
+YY_RULE_SETUP
+#line 313 "ansel2uni.ll"
+utf3byte('\x01','\x03') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0103 */
+ YY_BREAK
+case 77:
+YY_RULE_SETUP
+#line 314 "ansel2uni.ll"
+utf3byte('\x01','\x04') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0104 */
+ YY_BREAK
+case 78:
+YY_RULE_SETUP
+#line 315 "ansel2uni.ll"
+utf3byte('\x01','\x05') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0105 */
+ YY_BREAK
+case 79:
+YY_RULE_SETUP
+#line 316 "ansel2uni.ll"
+utf3byte('\x01','\x06') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0106 */
+ YY_BREAK
+case 80:
+YY_RULE_SETUP
+#line 317 "ansel2uni.ll"
+utf3byte('\x01','\x07') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0107 */
+ YY_BREAK
+case 81:
+YY_RULE_SETUP
+#line 318 "ansel2uni.ll"
+utf3byte('\x01','\x08') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0108 */
+ YY_BREAK
+case 82:
+YY_RULE_SETUP
+#line 319 "ansel2uni.ll"
+utf3byte('\x01','\x09') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0109 */
+ YY_BREAK
+case 83:
+YY_RULE_SETUP
+#line 320 "ansel2uni.ll"
+utf3byte('\x01','\x0a') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+010a */
+ YY_BREAK
+case 84:
+YY_RULE_SETUP
+#line 321 "ansel2uni.ll"
+utf3byte('\x01','\x0b') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+010b */
+ YY_BREAK
+case 85:
+YY_RULE_SETUP
+#line 322 "ansel2uni.ll"
+utf3byte('\x01','\x0c') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+010c */
+ YY_BREAK
+case 86:
+YY_RULE_SETUP
+#line 323 "ansel2uni.ll"
+utf3byte('\x01','\x0d') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+010d */
+ YY_BREAK
+case 87:
+YY_RULE_SETUP
+#line 324 "ansel2uni.ll"
+utf3byte('\x01','\x0e') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+010e */
+ YY_BREAK
+case 88:
+YY_RULE_SETUP
+#line 325 "ansel2uni.ll"
+utf3byte('\x01','\x0f') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+010f */
+ YY_BREAK
+/* could this rather be U+00D0, LATIN CAPITAL LETTER ETH ? */
+case 89:
+YY_RULE_SETUP
+#line 328 "ansel2uni.ll"
+utf3byte('\x01','\x10') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0110 */
+ YY_BREAK
+case 90:
+YY_RULE_SETUP
+#line 329 "ansel2uni.ll"
+utf3byte('\x01','\x11') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0111 */
+ YY_BREAK
+case 91:
+YY_RULE_SETUP
+#line 330 "ansel2uni.ll"
+utf3byte('\x01','\x12') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0112 */
+ YY_BREAK
+case 92:
+YY_RULE_SETUP
+#line 331 "ansel2uni.ll"
+utf3byte('\x01','\x13') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0113 */
+ YY_BREAK
+case 93:
+YY_RULE_SETUP
+#line 332 "ansel2uni.ll"
+utf3byte('\x01','\x14') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0114 */
+ YY_BREAK
+case 94:
+YY_RULE_SETUP
+#line 333 "ansel2uni.ll"
+utf3byte('\x01','\x15') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0115 */
+ YY_BREAK
+case 95:
+YY_RULE_SETUP
+#line 334 "ansel2uni.ll"
+utf3byte('\x01','\x16') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0116 */
+ YY_BREAK
+case 96:
+YY_RULE_SETUP
+#line 335 "ansel2uni.ll"
+utf3byte('\x01','\x17') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0117 */
+ YY_BREAK
+case 97:
+YY_RULE_SETUP
+#line 336 "ansel2uni.ll"
+utf3byte('\x01','\x18') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0118 */
+ YY_BREAK
+case 98:
+YY_RULE_SETUP
+#line 337 "ansel2uni.ll"
+utf3byte('\x01','\x19') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0119 */
+ YY_BREAK
+case 99:
+YY_RULE_SETUP
+#line 338 "ansel2uni.ll"
+utf3byte('\x01','\x1a') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+011a */
+ YY_BREAK
+case 100:
+YY_RULE_SETUP
+#line 339 "ansel2uni.ll"
+utf3byte('\x01','\x1b') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+011b */
+ YY_BREAK
+case 101:
+YY_RULE_SETUP
+#line 340 "ansel2uni.ll"
+utf3byte('\x01','\x1c') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+011c */
+ YY_BREAK
+case 102:
+YY_RULE_SETUP
+#line 341 "ansel2uni.ll"
+utf3byte('\x01','\x1d') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+011d */
+ YY_BREAK
+case 103:
+YY_RULE_SETUP
+#line 342 "ansel2uni.ll"
+utf3byte('\x01','\x1e') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+011e */
+ YY_BREAK
+case 104:
+YY_RULE_SETUP
+#line 343 "ansel2uni.ll"
+utf3byte('\x01','\x1f') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+011f */
+ YY_BREAK
+case 105:
+YY_RULE_SETUP
+#line 345 "ansel2uni.ll"
+utf3byte('\x01','\x20') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0120 */
+ YY_BREAK
+case 106:
+YY_RULE_SETUP
+#line 346 "ansel2uni.ll"
+utf3byte('\x01','\x21') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0121 */
+ YY_BREAK
+case 107:
+YY_RULE_SETUP
+#line 347 "ansel2uni.ll"
+utf3byte('\x01','\x22') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0122 */
+ YY_BREAK
+case 108:
+YY_RULE_SETUP
+#line 348 "ansel2uni.ll"
+utf3byte('\x01','\x23') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0123 */
+ YY_BREAK
+case 109:
+YY_RULE_SETUP
+#line 349 "ansel2uni.ll"
+utf3byte('\x01','\x24') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0124 */
+ YY_BREAK
+case 110:
+YY_RULE_SETUP
+#line 350 "ansel2uni.ll"
+utf3byte('\x01','\x25') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0125 */
+ YY_BREAK
+/* utf3byte('\x01','\x26') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0126 */
+/* utf3byte('\x01','\x27') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0127 */
+case 111:
+YY_RULE_SETUP
+#line 353 "ansel2uni.ll"
+utf3byte('\x01','\x28') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0128 */
+ YY_BREAK
+case 112:
+YY_RULE_SETUP
+#line 354 "ansel2uni.ll"
+utf3byte('\x01','\x29') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0129 */
+ YY_BREAK
+case 113:
+YY_RULE_SETUP
+#line 355 "ansel2uni.ll"
+utf3byte('\x01','\x2a') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+012a */
+ YY_BREAK
+case 114:
+YY_RULE_SETUP
+#line 356 "ansel2uni.ll"
+utf3byte('\x01','\x2b') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+012b */
+ YY_BREAK
+case 115:
+YY_RULE_SETUP
+#line 357 "ansel2uni.ll"
+utf3byte('\x01','\x2c') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+012c */
+ YY_BREAK
+case 116:
+YY_RULE_SETUP
+#line 358 "ansel2uni.ll"
+utf3byte('\x01','\x2d') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+012d */
+ YY_BREAK
+case 117:
+YY_RULE_SETUP
+#line 359 "ansel2uni.ll"
+utf3byte('\x01','\x2e') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+012e */
+ YY_BREAK
+case 118:
+YY_RULE_SETUP
+#line 360 "ansel2uni.ll"
+utf3byte('\x01','\x2f') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+012f */
+ YY_BREAK
+case 119:
+YY_RULE_SETUP
+#line 362 "ansel2uni.ll"
+utf3byte('\x01','\x30') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0130 */
+ YY_BREAK
+case 120:
+YY_RULE_SETUP
+#line 363 "ansel2uni.ll"
+utf3byte('\x01','\x31') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0131 */
+ YY_BREAK
+case 121:
+YY_RULE_SETUP
+#line 364 "ansel2uni.ll"
+utf3byte('\x01','\x32') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0132 */
+ YY_BREAK
+case 122:
+YY_RULE_SETUP
+#line 365 "ansel2uni.ll"
+utf3byte('\x01','\x33') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0133 */
+ YY_BREAK
+case 123:
+YY_RULE_SETUP
+#line 366 "ansel2uni.ll"
+utf3byte('\x01','\x34') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0134 */
+ YY_BREAK
+case 124:
+YY_RULE_SETUP
+#line 367 "ansel2uni.ll"
+utf3byte('\x01','\x35') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0135 */
+ YY_BREAK
+case 125:
+#line 369 "ansel2uni.ll"
+case 126:
+YY_RULE_SETUP
+#line 369 "ansel2uni.ll"
+utf3byte('\x01','\x36') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0136 */
+ YY_BREAK
+case 127:
+#line 371 "ansel2uni.ll"
+case 128:
+YY_RULE_SETUP
+#line 371 "ansel2uni.ll"
+utf3byte('\x01','\x37') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0137 */
+ YY_BREAK
+/* utf3byte('\x01','\x38') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0138 */
+case 129:
+YY_RULE_SETUP
+#line 373 "ansel2uni.ll"
+utf3byte('\x01','\x39') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0139 */
+ YY_BREAK
+case 130:
+YY_RULE_SETUP
+#line 374 "ansel2uni.ll"
+utf3byte('\x01','\x3a') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+013a */
+ YY_BREAK
+case 131:
+#line 376 "ansel2uni.ll"
+case 132:
+YY_RULE_SETUP
+#line 376 "ansel2uni.ll"
+utf3byte('\x01','\x3b') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+013b */
+ YY_BREAK
+case 133:
+#line 378 "ansel2uni.ll"
+case 134:
+YY_RULE_SETUP
+#line 378 "ansel2uni.ll"
+utf3byte('\x01','\x3c') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+013c */
+ YY_BREAK
+case 135:
+YY_RULE_SETUP
+#line 379 "ansel2uni.ll"
+utf3byte('\x01','\x3d') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+013d */
+ YY_BREAK
+case 136:
+YY_RULE_SETUP
+#line 380 "ansel2uni.ll"
+utf3byte('\x01','\x3e') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+013e */
+ YY_BREAK
+/* utf3byte('\x01','\x3f') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+013f */
+/* utf3byte('\x01','\x40') ; /* LATIN SMALL LETTER L WITH MIDDLE DOT+0140 */
+case 137:
+YY_RULE_SETUP
+#line 384 "ansel2uni.ll"
+utf3byte('\x01','\x41') ; /* LATIN CAPITAL LETTER L WITH STROKE U+0141 */
+ YY_BREAK
+case 138:
+YY_RULE_SETUP
+#line 385 "ansel2uni.ll"
+utf3byte('\x01','\x42') ; /* LATIN SMALL LETTER L WITH STROKE U+0142 */
+ YY_BREAK
+case 139:
+YY_RULE_SETUP
+#line 386 "ansel2uni.ll"
+utf3byte('\x01','\x43') ; /* LATIN CAPITAL LETTER N WITH ACUTE U+0143 */
+ YY_BREAK
+case 140:
+YY_RULE_SETUP
+#line 387 "ansel2uni.ll"
+utf3byte('\x01','\x44') ; /* LATIN SMALL LETTER N WITH ACUTE U+0144 */
+ YY_BREAK
+case 141:
+#line 389 "ansel2uni.ll"
+case 142:
+YY_RULE_SETUP
+#line 389 "ansel2uni.ll"
+utf3byte('\x01','\x45') ; /* LATIN CAPITAL LETTER N WITH CEDILLA U+0145 */
+ YY_BREAK
+case 143:
+#line 391 "ansel2uni.ll"
+case 144:
+YY_RULE_SETUP
+#line 391 "ansel2uni.ll"
+utf3byte('\x01','\x46') ; /* LATIN SMALL LETTER N WITH CEDILLA U+0146 */
+ YY_BREAK
+case 145:
+YY_RULE_SETUP
+#line 392 "ansel2uni.ll"
+utf3byte('\x01','\x47') ; /* LATIN CAPITAL LETTER N WITH CARON U+0147 */
+ YY_BREAK
+case 146:
+YY_RULE_SETUP
+#line 393 "ansel2uni.ll"
+utf3byte('\x01','\x48') ; /* LATIN SMALL LETTER N WITH CARON U+0148 */
+ YY_BREAK
+/* utf3byte('\x01','\x49') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0149 */
+/* utf3byte('\x01','\x4a') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+014a */
+/* utf3byte('\x01','\x4b') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+014b */
+case 147:
+YY_RULE_SETUP
+#line 397 "ansel2uni.ll"
+utf3byte('\x01','\x4c') ; /* LATIN CAPITAL LETTER O WITH MACRON U+014c */
+ YY_BREAK
+case 148:
+YY_RULE_SETUP
+#line 398 "ansel2uni.ll"
+utf3byte('\x01','\x4d') ; /* LATIN SMALL LETTER O WITH MACRON U+014d */
+ YY_BREAK
+case 149:
+YY_RULE_SETUP
+#line 399 "ansel2uni.ll"
+utf3byte('\x01','\x4e') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+014e */
+ YY_BREAK
+case 150:
+YY_RULE_SETUP
+#line 400 "ansel2uni.ll"
+utf3byte('\x01','\x4f') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+014f */
+ YY_BREAK
+case 151:
+YY_RULE_SETUP
+#line 402 "ansel2uni.ll"
+utf3byte('\x01','\x50') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0150 */
+ YY_BREAK
+case 152:
+YY_RULE_SETUP
+#line 403 "ansel2uni.ll"
+utf3byte('\x01','\x51') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0151 */
+ YY_BREAK
+case 153:
+YY_RULE_SETUP
+#line 404 "ansel2uni.ll"
+utf3byte('\x01','\x52') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0152 */
+ YY_BREAK
+case 154:
+YY_RULE_SETUP
+#line 405 "ansel2uni.ll"
+utf3byte('\x01','\x53') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0153 */
+ YY_BREAK
+case 155:
+YY_RULE_SETUP
+#line 406 "ansel2uni.ll"
+utf3byte('\x01','\x54') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0154 */
+ YY_BREAK
+case 156:
+YY_RULE_SETUP
+#line 407 "ansel2uni.ll"
+utf3byte('\x01','\x55') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0155 */
+ YY_BREAK
+case 157:
+#line 409 "ansel2uni.ll"
+case 158:
+YY_RULE_SETUP
+#line 409 "ansel2uni.ll"
+utf3byte('\x01','\x56') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0156 */
+ YY_BREAK
+case 159:
+#line 411 "ansel2uni.ll"
+case 160:
+YY_RULE_SETUP
+#line 411 "ansel2uni.ll"
+utf3byte('\x01','\x57') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0157 */
+ YY_BREAK
+case 161:
+YY_RULE_SETUP
+#line 412 "ansel2uni.ll"
+utf3byte('\x01','\x58') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0158 */
+ YY_BREAK
+case 162:
+YY_RULE_SETUP
+#line 413 "ansel2uni.ll"
+utf3byte('\x01','\x59') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0159 */
+ YY_BREAK
+case 163:
+YY_RULE_SETUP
+#line 414 "ansel2uni.ll"
+utf3byte('\x01','\x5a') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+015a */
+ YY_BREAK
+case 164:
+YY_RULE_SETUP
+#line 415 "ansel2uni.ll"
+utf3byte('\x01','\x5b') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+015b */
+ YY_BREAK
+case 165:
+YY_RULE_SETUP
+#line 416 "ansel2uni.ll"
+utf3byte('\x01','\x5c') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+015c */
+ YY_BREAK
+case 166:
+YY_RULE_SETUP
+#line 417 "ansel2uni.ll"
+utf3byte('\x01','\x5d') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+015d */
+ YY_BREAK
+case 167:
+YY_RULE_SETUP
+#line 418 "ansel2uni.ll"
+utf3byte('\x01','\x5e') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+015e */
+ YY_BREAK
+case 168:
+YY_RULE_SETUP
+#line 419 "ansel2uni.ll"
+utf3byte('\x01','\x5f') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+015f */
+ YY_BREAK
+case 169:
+YY_RULE_SETUP
+#line 421 "ansel2uni.ll"
+utf3byte('\x01','\x60') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0160 */
+ YY_BREAK
+case 170:
+YY_RULE_SETUP
+#line 422 "ansel2uni.ll"
+utf3byte('\x01','\x61') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0161 */
+ YY_BREAK
+case 171:
+YY_RULE_SETUP
+#line 423 "ansel2uni.ll"
+utf3byte('\x01','\x62') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0162 */
+ YY_BREAK
+case 172:
+YY_RULE_SETUP
+#line 424 "ansel2uni.ll"
+utf3byte('\x01','\x63') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0163 */
+ YY_BREAK
+case 173:
+YY_RULE_SETUP
+#line 425 "ansel2uni.ll"
+utf3byte('\x01','\x64') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0164 */
+ YY_BREAK
+case 174:
+YY_RULE_SETUP
+#line 426 "ansel2uni.ll"
+utf3byte('\x01','\x65') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0165 */
+ YY_BREAK
+/* utf3byte('\x01','\x66') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0166 */
+/* utf3byte('\x01','\x67') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0167 */
+case 175:
+YY_RULE_SETUP
+#line 429 "ansel2uni.ll"
+utf3byte('\x01','\x68') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0168 */
+ YY_BREAK
+case 176:
+YY_RULE_SETUP
+#line 430 "ansel2uni.ll"
+utf3byte('\x01','\x69') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0169 */
+ YY_BREAK
+case 177:
+YY_RULE_SETUP
+#line 431 "ansel2uni.ll"
+utf3byte('\x01','\x6a') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+016a */
+ YY_BREAK
+case 178:
+YY_RULE_SETUP
+#line 432 "ansel2uni.ll"
+utf3byte('\x01','\x6b') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+016b */
+ YY_BREAK
+case 179:
+YY_RULE_SETUP
+#line 433 "ansel2uni.ll"
+utf3byte('\x01','\x6c') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+016c */
+ YY_BREAK
+case 180:
+YY_RULE_SETUP
+#line 434 "ansel2uni.ll"
+utf3byte('\x01','\x6d') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+016d */
+ YY_BREAK
+case 181:
+YY_RULE_SETUP
+#line 435 "ansel2uni.ll"
+utf3byte('\x01','\x6e') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+016e */
+ YY_BREAK
+case 182:
+YY_RULE_SETUP
+#line 436 "ansel2uni.ll"
+utf3byte('\x01','\x6f') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+016f */
+ YY_BREAK
+case 183:
+YY_RULE_SETUP
+#line 438 "ansel2uni.ll"
+utf3byte('\x01','\x70') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0170 */
+ YY_BREAK
+case 184:
+YY_RULE_SETUP
+#line 439 "ansel2uni.ll"
+utf3byte('\x01','\x71') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0171 */
+ YY_BREAK
+case 185:
+YY_RULE_SETUP
+#line 440 "ansel2uni.ll"
+utf3byte('\x01','\x72') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0172 */
+ YY_BREAK
+case 186:
+YY_RULE_SETUP
+#line 441 "ansel2uni.ll"
+utf3byte('\x01','\x73') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0173 */
+ YY_BREAK
+case 187:
+YY_RULE_SETUP
+#line 442 "ansel2uni.ll"
+utf3byte('\x01','\x74') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0174 */
+ YY_BREAK
+case 188:
+YY_RULE_SETUP
+#line 443 "ansel2uni.ll"
+utf3byte('\x01','\x75') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0175 */
+ YY_BREAK
+case 189:
+YY_RULE_SETUP
+#line 444 "ansel2uni.ll"
+utf3byte('\x01','\x76') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0176 */
+ YY_BREAK
+case 190:
+YY_RULE_SETUP
+#line 445 "ansel2uni.ll"
+utf3byte('\x01','\x77') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0177 */
+ YY_BREAK
+case 191:
+YY_RULE_SETUP
+#line 446 "ansel2uni.ll"
+utf3byte('\x01','\x78') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0178 */
+ YY_BREAK
+case 192:
+YY_RULE_SETUP
+#line 447 "ansel2uni.ll"
+utf3byte('\x01','\x79') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0179 */
+ YY_BREAK
+case 193:
+YY_RULE_SETUP
+#line 448 "ansel2uni.ll"
+utf3byte('\x01','\x7a') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+017a */
+ YY_BREAK
+case 194:
+YY_RULE_SETUP
+#line 449 "ansel2uni.ll"
+utf3byte('\x01','\x7b') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+017b */
+ YY_BREAK
+case 195:
+YY_RULE_SETUP
+#line 450 "ansel2uni.ll"
+utf3byte('\x01','\x7c') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+017c */
+ YY_BREAK
+case 196:
+YY_RULE_SETUP
+#line 451 "ansel2uni.ll"
+utf3byte('\x01','\x7d') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+017d */
+ YY_BREAK
+case 197:
+YY_RULE_SETUP
+#line 452 "ansel2uni.ll"
+utf3byte('\x01','\x7e') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+017e */
+ YY_BREAK
+/* utf3byte('\x01','\x7f') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+017f */
+/* end of Latin Extended A */
+/* Latin Extended B */
+/* utf3byte('\x01','\x80') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0170 */
+/* utf3byte('\x01','\x81') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0171 */
+case 198:
+YY_RULE_SETUP
+#line 461 "ansel2uni.ll"
+utf3byte('\x01','\x82') ; /* LATIN CAPITAL LETTER B WITH TOPBAR U+0182 */
+ YY_BREAK
+case 199:
+YY_RULE_SETUP
+#line 462 "ansel2uni.ll"
+utf3byte('\x01','\x83') ; /* LATIN SMALL LETTER B WITH TOPBAR U+0183 */
+ YY_BREAK
+case 200:
+YY_RULE_SETUP
+#line 464 "ansel2uni.ll"
+utf3byte('\x01','\xa0') ; /* LATIN CAPITAL LETTER O WITH HORN U+01A0 */
+ YY_BREAK
+case 201:
+YY_RULE_SETUP
+#line 465 "ansel2uni.ll"
+utf3byte('\x01','\xa1') ; /* LATIN SMALL LETTER O WITH HORN U+01A1 */
+ YY_BREAK
+case 202:
+YY_RULE_SETUP
+#line 466 "ansel2uni.ll"
+utf3byte('\x01','\xaf') ; /* LATIN CAPITAL LETTER U WITH HORN U+01AF */
+ YY_BREAK
+case 203:
+YY_RULE_SETUP
+#line 467 "ansel2uni.ll"
+utf3byte('\x01','\x80') ; /* LATIN SMALL LETTER U WIHT HORN U+0180 */
+ YY_BREAK
+case 204:
+YY_RULE_SETUP
+#line 469 "ansel2uni.ll"
+utf3byte('\x01','\xc4') ; /* LATIN CAPITAL LETTER DZ WITH CARON U+01C4 */
+ YY_BREAK
+case 205:
+YY_RULE_SETUP
+#line 470 "ansel2uni.ll"
+utf3byte('\x01','\xc5') ; /* LATIN CAPITAL LETTER D WITH SMALL LETTER Z WITH CARON U+01C5 */
+ YY_BREAK
+case 206:
+YY_RULE_SETUP
+#line 471 "ansel2uni.ll"
+utf3byte('\x01','\xc6') ; /* LATIN SMALL LETTER DZ WITH CARON U+01C6 */
+ YY_BREAK
+case 207:
+YY_RULE_SETUP
+#line 472 "ansel2uni.ll"
+utf3byte('\x01','\xc7') ; /* LATIN CAPITAL LETTER LJ U+01C7 */
+ YY_BREAK
+case 208:
+YY_RULE_SETUP
+#line 473 "ansel2uni.ll"
+utf3byte('\x01','\xc8') ; /* LATIN CAPITAL LETTER L WITH SMALL LTTER J U+01C8 */
+ YY_BREAK
+/* lj utf3byte('\x01','\xc9') ; LATIN CAPITAL LETTER L WITH SMALL LTTER J U+01C9 */
+case 209:
+YY_RULE_SETUP
+#line 475 "ansel2uni.ll"
+utf3byte('\x01','\xca') ; /* LATIN CAPITAL LETTER NJ U+01CA */
+ YY_BREAK
+case 210:
+YY_RULE_SETUP
+#line 476 "ansel2uni.ll"
+utf3byte('\x01','\xcb') ; /* LATIN CAPITAL LETTER N WITH SMALL LTTER J U+01CB */
+ YY_BREAK
+/* nj utf3byte('\x01','\xcc') ; LATIN SMALL LETTER NJ U+01CC */
+case 211:
+YY_RULE_SETUP
+#line 478 "ansel2uni.ll"
+utf3byte('\x01','\xcd') ; /* U+01CD */
+ YY_BREAK
+case 212:
+YY_RULE_SETUP
+#line 479 "ansel2uni.ll"
+utf3byte('\x01','\xce') ; /* U+01CE */
+ YY_BREAK
+case 213:
+YY_RULE_SETUP
+#line 480 "ansel2uni.ll"
+utf3byte('\x01','\xcf') ; /* U+01CF */
+ YY_BREAK
+case 214:
+YY_RULE_SETUP
+#line 481 "ansel2uni.ll"
+utf3byte('\x01','\xd0') ; /* U+01D0 */
+ YY_BREAK
+case 215:
+YY_RULE_SETUP
+#line 482 "ansel2uni.ll"
+utf3byte('\x01','\xd1') ; /* U+01D1 */
+ YY_BREAK
+case 216:
+YY_RULE_SETUP
+#line 483 "ansel2uni.ll"
+utf3byte('\x01','\xd2') ; /* U+01D2 */
+ YY_BREAK
+case 217:
+YY_RULE_SETUP
+#line 484 "ansel2uni.ll"
+utf3byte('\x01','\xd3') ; /* U+01D3 */
+ YY_BREAK
+case 218:
+YY_RULE_SETUP
+#line 485 "ansel2uni.ll"
+utf3byte('\x01','\xd4') ; /* U+01D4 */
+ YY_BREAK
+/* see U+1E7A for the opposite order */
+case 219:
+YY_RULE_SETUP
+#line 488 "ansel2uni.ll"
+utf3byte('\x01','\xd5') ; /* U+01D5 */
+ YY_BREAK
+case 220:
+YY_RULE_SETUP
+#line 489 "ansel2uni.ll"
+utf3byte('\x01','\xd6') ; /* U+01D6 */
+ YY_BREAK
+case 221:
+#line 492 "ansel2uni.ll"
+case 222:
+YY_RULE_SETUP
+#line 492 "ansel2uni.ll"
+utf3byte('\x01','\xd7') ; /* U+01D7 */
+ YY_BREAK
+case 223:
+#line 495 "ansel2uni.ll"
+case 224:
+YY_RULE_SETUP
+#line 495 "ansel2uni.ll"
+utf3byte('\x01','\xd8') ; /* U+01D8 */
+ YY_BREAK
+case 225:
+#line 498 "ansel2uni.ll"
+case 226:
+YY_RULE_SETUP
+#line 498 "ansel2uni.ll"
+utf3byte('\x01','\xd9') ; /* U+01D9 */
+ YY_BREAK
+case 227:
+#line 501 "ansel2uni.ll"
+case 228:
+YY_RULE_SETUP
+#line 501 "ansel2uni.ll"
+utf3byte('\x01','\xda') ; /* U+01DA */
+ YY_BREAK
+case 229:
+#line 504 "ansel2uni.ll"
+case 230:
+YY_RULE_SETUP
+#line 504 "ansel2uni.ll"
+utf3byte('\x01','\xdb') ; /* U+01DB */
+ YY_BREAK
+case 231:
+#line 507 "ansel2uni.ll"
+case 232:
+YY_RULE_SETUP
+#line 507 "ansel2uni.ll"
+utf3byte('\x01','\xdc') ; /* U+01DC */
+ YY_BREAK
+case 233:
+#line 510 "ansel2uni.ll"
+case 234:
+YY_RULE_SETUP
+#line 510 "ansel2uni.ll"
+utf3byte('\x01','\xde') ; /* U+01DE */
+ YY_BREAK
+case 235:
+#line 513 "ansel2uni.ll"
+case 236:
+YY_RULE_SETUP
+#line 513 "ansel2uni.ll"
+utf3byte('\x01','\xdf') ; /* U+01DF */
+ YY_BREAK
+case 237:
+#line 516 "ansel2uni.ll"
+case 238:
+YY_RULE_SETUP
+#line 516 "ansel2uni.ll"
+utf3byte('\x01','\xe0') ; /* U+01E0 */
+ YY_BREAK
+case 239:
+#line 519 "ansel2uni.ll"
+case 240:
+YY_RULE_SETUP
+#line 519 "ansel2uni.ll"
+utf3byte('\x01','\xe1') ; /* U+01E1 */
+ YY_BREAK
+case 241:
+YY_RULE_SETUP
+#line 521 "ansel2uni.ll"
+utf3byte('\x01','\xe2') ; /* U+01E2 */
+ YY_BREAK
+case 242:
+YY_RULE_SETUP
+#line 522 "ansel2uni.ll"
+utf3byte('\x01','\xe3') ; /* U+01E3 */
+ YY_BREAK
+case 243:
+YY_RULE_SETUP
+#line 523 "ansel2uni.ll"
+utf3byte('\x01','\xe6') ; /* U+01E6 */
+ YY_BREAK
+case 244:
+YY_RULE_SETUP
+#line 524 "ansel2uni.ll"
+utf3byte('\x01','\xe7') ; /* U+01E7 */
+ YY_BREAK
+case 245:
+YY_RULE_SETUP
+#line 525 "ansel2uni.ll"
+utf3byte('\x01','\xe8') ; /* U+01E8 */
+ YY_BREAK
+case 246:
+YY_RULE_SETUP
+#line 526 "ansel2uni.ll"
+utf3byte('\x01','\xe9') ; /* U+01E9 */
+ YY_BREAK
+case 247:
+YY_RULE_SETUP
+#line 527 "ansel2uni.ll"
+utf3byte('\x01','\xea') ; /* U+01EA */
+ YY_BREAK
+case 248:
+YY_RULE_SETUP
+#line 528 "ansel2uni.ll"
+utf3byte('\x01','\xeb') ; /* U+01EB */
+ YY_BREAK
+case 249:
+#line 531 "ansel2uni.ll"
+case 250:
+YY_RULE_SETUP
+#line 531 "ansel2uni.ll"
+utf3byte('\x01','\xec') ; /* U+01EC */
+ YY_BREAK
+case 251:
+#line 534 "ansel2uni.ll"
+case 252:
+YY_RULE_SETUP
+#line 534 "ansel2uni.ll"
+utf3byte('\x01','\xed') ; /* U+01ED */
+ YY_BREAK
+case 253:
+YY_RULE_SETUP
+#line 536 "ansel2uni.ll"
+utf3byte('\x01','\xf0') ; /* U+01F0 */
+ YY_BREAK
+case 254:
+YY_RULE_SETUP
+#line 538 "ansel2uni.ll"
+utf3byte('\x01','\xf1') ; /* U+01F1 */
+ YY_BREAK
+case 255:
+YY_RULE_SETUP
+#line 539 "ansel2uni.ll"
+utf3byte('\x01','\xf2') ; /* U+01F2 */
+ YY_BREAK
+case 256:
+YY_RULE_SETUP
+#line 540 "ansel2uni.ll"
+utf3byte('\x01','\xf3') ; /* U+01F3 */
+ YY_BREAK
+case 257:
+YY_RULE_SETUP
+#line 542 "ansel2uni.ll"
+utf3byte('\x01','\xf4') ; /* U+01F4 */
+ YY_BREAK
+case 258:
+YY_RULE_SETUP
+#line 543 "ansel2uni.ll"
+utf3byte('\x01','\xf5') ; /* U+01F5 */
+ YY_BREAK
+case 259:
+YY_RULE_SETUP
+#line 544 "ansel2uni.ll"
+utf3byte('\x01','\xf8') ; /* U+01F8 */
+ YY_BREAK
+case 260:
+YY_RULE_SETUP
+#line 545 "ansel2uni.ll"
+utf3byte('\x01','\xf9') ; /* U+01F9 */
+ YY_BREAK
+case 261:
+#line 548 "ansel2uni.ll"
+case 262:
+YY_RULE_SETUP
+#line 548 "ansel2uni.ll"
+utf3byte('\x01','\xfa') ; /* U+01FA */
+ YY_BREAK
+case 263:
+#line 551 "ansel2uni.ll"
+case 264:
+YY_RULE_SETUP
+#line 551 "ansel2uni.ll"
+utf3byte('\x01','\xfb') ; /* U+01FB */
+ YY_BREAK
+case 265:
+YY_RULE_SETUP
+#line 553 "ansel2uni.ll"
+utf3byte('\x01','\xfc') ; /* U+01FC */
+ YY_BREAK
+case 266:
+YY_RULE_SETUP
+#line 554 "ansel2uni.ll"
+utf3byte('\x01','\xfd') ; /* U+01FD */
+ YY_BREAK
+case 267:
+YY_RULE_SETUP
+#line 555 "ansel2uni.ll"
+utf3byte('\x01','\xfe') ; /* U+01FE */
+ YY_BREAK
+case 268:
+YY_RULE_SETUP
+#line 556 "ansel2uni.ll"
+utf3byte('\x01','\xff') ; /* U+01FF */
+ YY_BREAK
+case 269:
+YY_RULE_SETUP
+#line 557 "ansel2uni.ll"
+utf3byte('\x02','\x00') ; /* U+0200 */
+ YY_BREAK
+case 270:
+YY_RULE_SETUP
+#line 558 "ansel2uni.ll"
+utf3byte('\x02','\x01') ; /* U+0201 */
+ YY_BREAK
+case 271:
+YY_RULE_SETUP
+#line 559 "ansel2uni.ll"
+utf3byte('\x02','\x04') ; /* U+0204 */
+ YY_BREAK
+case 272:
+YY_RULE_SETUP
+#line 560 "ansel2uni.ll"
+utf3byte('\x02','\x05') ; /* U+0205 */
+ YY_BREAK
+case 273:
+YY_RULE_SETUP
+#line 561 "ansel2uni.ll"
+utf3byte('\x02','\x08') ; /* U+0208 */
+ YY_BREAK
+case 274:
+YY_RULE_SETUP
+#line 562 "ansel2uni.ll"
+utf3byte('\x02','\x09') ; /* U+0209 */
+ YY_BREAK
+case 275:
+YY_RULE_SETUP
+#line 563 "ansel2uni.ll"
+utf3byte('\x02','\x0c') ; /* U+020C */
+ YY_BREAK
+case 276:
+YY_RULE_SETUP
+#line 564 "ansel2uni.ll"
+utf3byte('\x02','\x0d') ; /* U+020D */
+ YY_BREAK
+case 277:
+YY_RULE_SETUP
+#line 565 "ansel2uni.ll"
+utf3byte('\x02','\x10') ; /* U+0210 */
+ YY_BREAK
+case 278:
+YY_RULE_SETUP
+#line 566 "ansel2uni.ll"
+utf3byte('\x02','\x11') ; /* U+0211 */
+ YY_BREAK
+case 279:
+YY_RULE_SETUP
+#line 567 "ansel2uni.ll"
+utf3byte('\x02','\x14') ; /* U+0214 */
+ YY_BREAK
+case 280:
+YY_RULE_SETUP
+#line 568 "ansel2uni.ll"
+utf3byte('\x02','\x15') ; /* U+0215 */
+ YY_BREAK
+case 281:
+YY_RULE_SETUP
+#line 569 "ansel2uni.ll"
+utf3byte('\x02','\x18') ; /* U+0218 */
+ YY_BREAK
+case 282:
+YY_RULE_SETUP
+#line 570 "ansel2uni.ll"
+utf3byte('\x02','\x19') ; /* U+0219 */
+ YY_BREAK
+case 283:
+YY_RULE_SETUP
+#line 571 "ansel2uni.ll"
+utf3byte('\x02','\x1a') ; /* U+021A */
+ YY_BREAK
+case 284:
+YY_RULE_SETUP
+#line 572 "ansel2uni.ll"
+utf3byte('\x02','\x1b') ; /* U+021B */
+ YY_BREAK
+case 285:
+YY_RULE_SETUP
+#line 573 "ansel2uni.ll"
+utf3byte('\x02','\x1e') ; /* U+021E */
+ YY_BREAK
+case 286:
+YY_RULE_SETUP
+#line 574 "ansel2uni.ll"
+utf3byte('\x02','\x1f') ; /* U+021F */
+ YY_BREAK
+case 287:
+YY_RULE_SETUP
+#line 575 "ansel2uni.ll"
+utf3byte('\x02','\x26') ; /* U+0226 */
+ YY_BREAK
+case 288:
+YY_RULE_SETUP
+#line 576 "ansel2uni.ll"
+utf3byte('\x02','\x27') ; /* U+0227 */
+ YY_BREAK
+case 289:
+YY_RULE_SETUP
+#line 577 "ansel2uni.ll"
+utf3byte('\x02','\x28') ; /* U+0228 */
+ YY_BREAK
+case 290:
+YY_RULE_SETUP
+#line 578 "ansel2uni.ll"
+utf3byte('\x02','\x29') ; /* U+0229 */
+ YY_BREAK
+case 291:
+#line 581 "ansel2uni.ll"
+case 292:
+YY_RULE_SETUP
+#line 581 "ansel2uni.ll"
+utf3byte('\x02','\x2a') ; /* U+022A */
+ YY_BREAK
+case 293:
+#line 584 "ansel2uni.ll"
+case 294:
+YY_RULE_SETUP
+#line 584 "ansel2uni.ll"
+utf3byte('\x02','\x2b') ; /* U+022B */
+ YY_BREAK
+case 295:
+#line 587 "ansel2uni.ll"
+case 296:
+YY_RULE_SETUP
+#line 587 "ansel2uni.ll"
+utf3byte('\x02','\x2c') ; /* U+022C */
+ YY_BREAK
+case 297:
+#line 590 "ansel2uni.ll"
+case 298:
+YY_RULE_SETUP
+#line 590 "ansel2uni.ll"
+utf3byte('\x02','\x2d') ; /* U+022D */
+ YY_BREAK
+case 299:
+YY_RULE_SETUP
+#line 592 "ansel2uni.ll"
+utf3byte('\x02','\x2e') ; /* U+022E */
+ YY_BREAK
+case 300:
+YY_RULE_SETUP
+#line 593 "ansel2uni.ll"
+utf3byte('\x02','\x2f') ; /* U+022F */
+ YY_BREAK
+case 301:
+#line 596 "ansel2uni.ll"
+case 302:
+YY_RULE_SETUP
+#line 596 "ansel2uni.ll"
+utf3byte('\x02','\x30') ; /* U+0230 */
+ YY_BREAK
+case 303:
+YY_RULE_SETUP
+#line 598 "ansel2uni.ll"
+{
+#ifdef GEDCOM_LDSEXT
+ utf3byte('\x02','\x3a') ; /* U+023A */
+#else
+ fprintf(yyout,"%c",yytext[1]) ;
+#endif
+ }
+ YY_BREAK
+case 304:
+YY_RULE_SETUP
+#line 606 "ansel2uni.ll"
+{
+#ifdef GEDCOM_LDSEXT
+ utf3byte('\x02','\x3b') ; /* U+023B */
+#else
+ fprintf(yyout,"%c",yytext[1]) ;
+#endif
+ }
+ YY_BREAK
+case 305:
+YY_RULE_SETUP
+#line 614 "ansel2uni.ll"
+{
+#ifdef GEDCOM_LDSEXT
+ utf3byte('\x02','\x3c') ; /* U+023C */
+#else
+ fprintf(yyout,"%c",yytext[1]) ;
+#endif
+ }
+ YY_BREAK
+case 306:
+#line 623 "ansel2uni.ll"
+case 307:
+YY_RULE_SETUP
+#line 623 "ansel2uni.ll"
+utf3byte('\x02','\x31') ; /* U+0231 */
+ YY_BREAK
+case 308:
+YY_RULE_SETUP
+#line 625 "ansel2uni.ll"
+utf3byte('\x02','\x32') ; /* U+0232 */
+ YY_BREAK
+case 309:
+YY_RULE_SETUP
+#line 626 "ansel2uni.ll"
+utf3byte('\x02','\x33') ; /* U+0233 */
+ YY_BREAK
+case 310:
+YY_RULE_SETUP
+#line 628 "ansel2uni.ll"
+{
+#ifdef GEDCOM_LDSEXT
+ utf3byte('\x02','\x3e') ; /* U+023E */
+#else
+ fprintf(yyout,"%c",yytext[1]) ;
+#endif
+ }
+ YY_BREAK
+case 311:
+YY_RULE_SETUP
+#line 636 "ansel2uni.ll"
+{
+#ifdef GEDCOM_LDSEXT
+ utf3byte('\x02','\x46') ; /* U+0246 */
+#else
+ fprintf(yyout,"%c",yytext[1]) ;
+#endif
+ }
+ YY_BREAK
+case 312:
+YY_RULE_SETUP
+#line 644 "ansel2uni.ll"
+{
+#ifdef GEDCOM_LDSEXT
+ utf3byte('\x02','\x47') ; /* U+0247 */
+#else
+ fprintf(yyout,"%c",yytext[1]) ;
+#endif
+ }
+ YY_BREAK
+/* end of Latin-extended B */
+/* Latin-extended Additional */
+case 313:
+YY_RULE_SETUP
+#line 655 "ansel2uni.ll"
+utf3byte('\x1e','\x00') ; /* U+1E00 */
+ YY_BREAK
+case 314:
+YY_RULE_SETUP
+#line 656 "ansel2uni.ll"
+utf3byte('\x1e','\x01') ; /* U+1E01 */
+ YY_BREAK
+case 315:
+YY_RULE_SETUP
+#line 657 "ansel2uni.ll"
+utf3byte('\x1e','\x02') ; /* U+1E02 */
+ YY_BREAK
+case 316:
+YY_RULE_SETUP
+#line 658 "ansel2uni.ll"
+utf3byte('\x1e','\x03') ; /* U+1E03 */
+ YY_BREAK
+case 317:
+YY_RULE_SETUP
+#line 659 "ansel2uni.ll"
+utf3byte('\x1e','\x04') ; /* U+1E04 */
+ YY_BREAK
+case 318:
+YY_RULE_SETUP
+#line 660 "ansel2uni.ll"
+utf3byte('\x1e','\x05') ; /* U+1E05 */
+ YY_BREAK
+case 319:
+YY_RULE_SETUP
+#line 661 "ansel2uni.ll"
+utf3byte('\x1e','\x06') ; /* U+1E06 */
+ YY_BREAK
+case 320:
+YY_RULE_SETUP
+#line 662 "ansel2uni.ll"
+utf3byte('\x1e','\x07') ; /* U+1E07 */
+ YY_BREAK
+case 321:
+#line 665 "ansel2uni.ll"
+case 322:
+YY_RULE_SETUP
+#line 665 "ansel2uni.ll"
+utf3byte('\x1e','\x08') ; /* U+1E08 */
+ YY_BREAK
+case 323:
+#line 668 "ansel2uni.ll"
+case 324:
+YY_RULE_SETUP
+#line 668 "ansel2uni.ll"
+utf3byte('\x1e','\x09') ; /* U+1E09 */
+ YY_BREAK
+case 325:
+YY_RULE_SETUP
+#line 670 "ansel2uni.ll"
+utf3byte('\x1e','\x0a') ; /* U+1E0A */
+ YY_BREAK
+case 326:
+YY_RULE_SETUP
+#line 671 "ansel2uni.ll"
+utf3byte('\x1e','\x0b') ; /* U+1E0B */
+ YY_BREAK
+case 327:
+YY_RULE_SETUP
+#line 672 "ansel2uni.ll"
+utf3byte('\x1e','\x0c') ; /* U+1E0C */
+ YY_BREAK
+case 328:
+YY_RULE_SETUP
+#line 673 "ansel2uni.ll"
+utf3byte('\x1e','\x0d') ; /* U+1E0D */
+ YY_BREAK
+case 329:
+YY_RULE_SETUP
+#line 674 "ansel2uni.ll"
+utf3byte('\x1e','\x0e') ; /* U+1E0E */
+ YY_BREAK
+case 330:
+YY_RULE_SETUP
+#line 675 "ansel2uni.ll"
+utf3byte('\x1e','\x0f') ; /* U+1E0F */
+ YY_BREAK
+case 331:
+#line 677 "ansel2uni.ll"
+case 332:
+YY_RULE_SETUP
+#line 677 "ansel2uni.ll"
+utf3byte('\x1e','\x10') ; /* U+1E10 */
+ YY_BREAK
+case 333:
+#line 679 "ansel2uni.ll"
+case 334:
+YY_RULE_SETUP
+#line 679 "ansel2uni.ll"
+utf3byte('\x1e','\x11') ; /* U+1E11 */
+ YY_BREAK
+case 335:
+#line 682 "ansel2uni.ll"
+case 336:
+YY_RULE_SETUP
+#line 682 "ansel2uni.ll"
+utf3byte('\x1e','\x14') ; /* U+1E14 */
+ YY_BREAK
+case 337:
+#line 685 "ansel2uni.ll"
+case 338:
+YY_RULE_SETUP
+#line 685 "ansel2uni.ll"
+utf3byte('\x1e','\x15') ; /* U+1E15 */
+ YY_BREAK
+case 339:
+#line 688 "ansel2uni.ll"
+case 340:
+YY_RULE_SETUP
+#line 688 "ansel2uni.ll"
+utf3byte('\x1e','\x16') ; /* U+1E16 */
+ YY_BREAK
+case 341:
+#line 691 "ansel2uni.ll"
+case 342:
+YY_RULE_SETUP
+#line 691 "ansel2uni.ll"
+utf3byte('\x1e','\x17') ; /* U+1E17 */
+ YY_BREAK
+case 343:
+#line 694 "ansel2uni.ll"
+case 344:
+YY_RULE_SETUP
+#line 694 "ansel2uni.ll"
+utf3byte('\x1e','\x1c') ; /* U+1E1C */
+ YY_BREAK
+case 345:
+#line 697 "ansel2uni.ll"
+case 346:
+YY_RULE_SETUP
+#line 697 "ansel2uni.ll"
+utf3byte('\x1e','\x1d') ; /* U+1E1D */
+ YY_BREAK
+case 347:
+YY_RULE_SETUP
+#line 699 "ansel2uni.ll"
+utf3byte('\x1e','\x1e') ; /* U+1E1E */
+ YY_BREAK
+case 348:
+YY_RULE_SETUP
+#line 700 "ansel2uni.ll"
+utf3byte('\x1e','\x1f') ; /* U+1E1F */
+ YY_BREAK
+case 349:
+YY_RULE_SETUP
+#line 701 "ansel2uni.ll"
+utf3byte('\x1e','\x20') ; /* U+1E20 */
+ YY_BREAK
+case 350:
+YY_RULE_SETUP
+#line 702 "ansel2uni.ll"
+utf3byte('\x1e','\x21') ; /* U+1E21 */
+ YY_BREAK
+case 351:
+YY_RULE_SETUP
+#line 703 "ansel2uni.ll"
+utf3byte('\x1e','\x22') ; /* U+1E22 */
+ YY_BREAK
+case 352:
+YY_RULE_SETUP
+#line 704 "ansel2uni.ll"
+utf3byte('\x1e','\x23') ; /* U+1E23 */
+ YY_BREAK
+case 353:
+YY_RULE_SETUP
+#line 705 "ansel2uni.ll"
+utf3byte('\x1e','\x24') ; /* U+1E24 */
+ YY_BREAK
+case 354:
+YY_RULE_SETUP
+#line 706 "ansel2uni.ll"
+utf3byte('\x1e','\x25') ; /* U+1E25 */
+ YY_BREAK
+case 355:
+YY_RULE_SETUP
+#line 707 "ansel2uni.ll"
+utf3byte('\x1e','\x26') ; /* U+1E26 */
+ YY_BREAK
+case 356:
+YY_RULE_SETUP
+#line 708 "ansel2uni.ll"
+utf3byte('\x1e','\x27') ; /* U+1E27 */
+ YY_BREAK
+case 357:
+#line 710 "ansel2uni.ll"
+case 358:
+YY_RULE_SETUP
+#line 710 "ansel2uni.ll"
+utf3byte('\x1e','\x28') ; /* U+1E28 */
+ YY_BREAK
+case 359:
+#line 712 "ansel2uni.ll"
+case 360:
+YY_RULE_SETUP
+#line 712 "ansel2uni.ll"
+utf3byte('\x1e','\x29') ; /* U+1E29 */
+ YY_BREAK
+case 361:
+#line 715 "ansel2uni.ll"
+case 362:
+YY_RULE_SETUP
+#line 715 "ansel2uni.ll"
+utf3byte('\x1e','\x2e') ; /* U+1E2E */
+ YY_BREAK
+case 363:
+#line 718 "ansel2uni.ll"
+case 364:
+YY_RULE_SETUP
+#line 718 "ansel2uni.ll"
+utf3byte('\x1e','\x2f') ; /* U+1E2F */
+ YY_BREAK
+case 365:
+YY_RULE_SETUP
+#line 720 "ansel2uni.ll"
+utf3byte('\x1e','\x30') ; /* U+1E30 */
+ YY_BREAK
+case 366:
+YY_RULE_SETUP
+#line 721 "ansel2uni.ll"
+utf3byte('\x1e','\x31') ; /* U+1E31 */
+ YY_BREAK
+case 367:
+YY_RULE_SETUP
+#line 722 "ansel2uni.ll"
+utf3byte('\x1e','\x32') ; /* U+1E32 */
+ YY_BREAK
+case 368:
+YY_RULE_SETUP
+#line 723 "ansel2uni.ll"
+utf3byte('\x1e','\x33') ; /* U+1E33 */
+ YY_BREAK
+case 369:
+YY_RULE_SETUP
+#line 724 "ansel2uni.ll"
+utf3byte('\x1e','\x34') ; /* U+1E34 */
+ YY_BREAK
+case 370:
+YY_RULE_SETUP
+#line 725 "ansel2uni.ll"
+utf3byte('\x1e','\x35') ; /* U+1E35 */
+ YY_BREAK
+case 371:
+YY_RULE_SETUP
+#line 726 "ansel2uni.ll"
+utf3byte('\x1e','\x36') ; /* U+1E36 */
+ YY_BREAK
+case 372:
+YY_RULE_SETUP
+#line 727 "ansel2uni.ll"
+utf3byte('\x1e','\x37') ; /* U+1E37 */
+ YY_BREAK
+case 373:
+#line 730 "ansel2uni.ll"
+case 374:
+YY_RULE_SETUP
+#line 730 "ansel2uni.ll"
+utf3byte('\x1e','\x38') ; /* U+1E38 */
+ YY_BREAK
+case 375:
+#line 733 "ansel2uni.ll"
+case 376:
+YY_RULE_SETUP
+#line 733 "ansel2uni.ll"
+utf3byte('\x1e','\x39') ; /* U+1E39 */
+ YY_BREAK
+case 377:
+YY_RULE_SETUP
+#line 735 "ansel2uni.ll"
+utf3byte('\x1e','\x3a') ; /* U+1E3A */
+ YY_BREAK
+case 378:
+YY_RULE_SETUP
+#line 736 "ansel2uni.ll"
+utf3byte('\x1e','\x3b') ; /* U+1E3B */
+ YY_BREAK
+case 379:
+YY_RULE_SETUP
+#line 737 "ansel2uni.ll"
+utf3byte('\x1e','\x3e') ; /* U+1E3E */
+ YY_BREAK
+case 380:
+YY_RULE_SETUP
+#line 738 "ansel2uni.ll"
+utf3byte('\x1e','\x3f') ; /* U+1E3F */
+ YY_BREAK
+case 381:
+YY_RULE_SETUP
+#line 739 "ansel2uni.ll"
+utf3byte('\x1e','\x40') ; /* U+1E40 */
+ YY_BREAK
+case 382:
+YY_RULE_SETUP
+#line 740 "ansel2uni.ll"
+utf3byte('\x1e','\x41') ; /* U+1E41 */
+ YY_BREAK
+case 383:
+YY_RULE_SETUP
+#line 741 "ansel2uni.ll"
+utf3byte('\x1e','\x42') ; /* U+1E42 */
+ YY_BREAK
+case 384:
+YY_RULE_SETUP
+#line 742 "ansel2uni.ll"
+utf3byte('\x1e','\x43') ; /* U+1E43 */
+ YY_BREAK
+case 385:
+YY_RULE_SETUP
+#line 743 "ansel2uni.ll"
+utf3byte('\x1e','\x44') ; /* U+1E44 */
+ YY_BREAK
+case 386:
+YY_RULE_SETUP
+#line 744 "ansel2uni.ll"
+utf3byte('\x1e','\x45') ; /* U+1E45 */
+ YY_BREAK
+case 387:
+YY_RULE_SETUP
+#line 745 "ansel2uni.ll"
+utf3byte('\x1e','\x46') ; /* U+1E46 */
+ YY_BREAK
+case 388:
+YY_RULE_SETUP
+#line 746 "ansel2uni.ll"
+utf3byte('\x1e','\x47') ; /* U+1E47 */
+ YY_BREAK
+case 389:
+#line 749 "ansel2uni.ll"
+case 390:
+YY_RULE_SETUP
+#line 749 "ansel2uni.ll"
+utf3byte('\x1e','\x4c') ; /* U+1E4C */
+ YY_BREAK
+case 391:
+#line 752 "ansel2uni.ll"
+case 392:
+YY_RULE_SETUP
+#line 752 "ansel2uni.ll"
+utf3byte('\x1e','\x4d') ; /* U+1E4D */
+ YY_BREAK
+case 393:
+#line 755 "ansel2uni.ll"
+case 394:
+YY_RULE_SETUP
+#line 755 "ansel2uni.ll"
+utf3byte('\x1e','\x4e') ; /* U+1E4E */
+ YY_BREAK
+case 395:
+#line 758 "ansel2uni.ll"
+case 396:
+YY_RULE_SETUP
+#line 758 "ansel2uni.ll"
+utf3byte('\x1e','\x4f') ; /* U+1E4F */
+ YY_BREAK
+case 397:
+#line 761 "ansel2uni.ll"
+case 398:
+YY_RULE_SETUP
+#line 761 "ansel2uni.ll"
+utf3byte('\x1e','\x50') ; /* U+1E50 */
+ YY_BREAK
+case 399:
+#line 764 "ansel2uni.ll"
+case 400:
+YY_RULE_SETUP
+#line 764 "ansel2uni.ll"
+utf3byte('\x1e','\x51') ; /* U+1E51 */
+ YY_BREAK
+case 401:
+#line 767 "ansel2uni.ll"
+case 402:
+YY_RULE_SETUP
+#line 767 "ansel2uni.ll"
+utf3byte('\x1e','\x52') ; /* U+1E52 */
+ YY_BREAK
+case 403:
+#line 770 "ansel2uni.ll"
+case 404:
+YY_RULE_SETUP
+#line 770 "ansel2uni.ll"
+utf3byte('\x1e','\x53') ; /* U+1E53 */
+ YY_BREAK
+case 405:
+YY_RULE_SETUP
+#line 772 "ansel2uni.ll"
+utf3byte('\x1e','\x54') ; /* U+1E54 */
+ YY_BREAK
+case 406:
+YY_RULE_SETUP
+#line 773 "ansel2uni.ll"
+utf3byte('\x1e','\x55') ; /* U+1E55 */
+ YY_BREAK
+case 407:
+YY_RULE_SETUP
+#line 774 "ansel2uni.ll"
+utf3byte('\x1e','\x56') ; /* U+1E56 */
+ YY_BREAK
+case 408:
+YY_RULE_SETUP
+#line 775 "ansel2uni.ll"
+utf3byte('\x1e','\x57') ; /* U+1E57 */
+ YY_BREAK
+case 409:
+YY_RULE_SETUP
+#line 776 "ansel2uni.ll"
+utf3byte('\x1e','\x58') ; /* U+1E58 */
+ YY_BREAK
+case 410:
+YY_RULE_SETUP
+#line 777 "ansel2uni.ll"
+utf3byte('\x1e','\x59') ; /* U+1E59 */
+ YY_BREAK
+case 411:
+YY_RULE_SETUP
+#line 778 "ansel2uni.ll"
+utf3byte('\x1e','\x5a') ; /* U+1E5A */
+ YY_BREAK
+case 412:
+YY_RULE_SETUP
+#line 779 "ansel2uni.ll"
+utf3byte('\x1e','\x5b') ; /* U+1E5B */
+ YY_BREAK
+case 413:
+#line 782 "ansel2uni.ll"
+case 414:
+YY_RULE_SETUP
+#line 782 "ansel2uni.ll"
+utf3byte('\x1e','\x5c') ; /* U+1E5c */
+ YY_BREAK
+case 415:
+#line 785 "ansel2uni.ll"
+case 416:
+YY_RULE_SETUP
+#line 785 "ansel2uni.ll"
+utf3byte('\x1e','\x5d') ; /* U+1E5D */
+ YY_BREAK
+case 417:
+YY_RULE_SETUP
+#line 787 "ansel2uni.ll"
+utf3byte('\x1e','\x5e') ; /* U+1E5E */
+ YY_BREAK
+case 418:
+YY_RULE_SETUP
+#line 788 "ansel2uni.ll"
+utf3byte('\x1e','\x5f') ; /* U+1E5F */
+ YY_BREAK
+case 419:
+YY_RULE_SETUP
+#line 789 "ansel2uni.ll"
+utf3byte('\x1e','\x60') ; /* U+1E60 */
+ YY_BREAK
+case 420:
+YY_RULE_SETUP
+#line 790 "ansel2uni.ll"
+utf3byte('\x1e','\x61') ; /* U+1E61 */
+ YY_BREAK
+case 421:
+YY_RULE_SETUP
+#line 791 "ansel2uni.ll"
+utf3byte('\x1e','\x62') ; /* U+1E62 */
+ YY_BREAK
+case 422:
+YY_RULE_SETUP
+#line 792 "ansel2uni.ll"
+utf3byte('\x1e','\x63') ; /* U+1E63 */
+ YY_BREAK
+case 423:
+#line 795 "ansel2uni.ll"
+case 424:
+YY_RULE_SETUP
+#line 795 "ansel2uni.ll"
+utf3byte('\x1e','\x64') ; /* U+1E64 */
+ YY_BREAK
+case 425:
+#line 798 "ansel2uni.ll"
+case 426:
+YY_RULE_SETUP
+#line 798 "ansel2uni.ll"
+utf3byte('\x1e','\x65') ; /* U+1E65 */
+ YY_BREAK
+case 427:
+#line 801 "ansel2uni.ll"
+case 428:
+YY_RULE_SETUP
+#line 801 "ansel2uni.ll"
+utf3byte('\x1e','\x66') ; /* U+1E66 */
+ YY_BREAK
+case 429:
+#line 804 "ansel2uni.ll"
+case 430:
+YY_RULE_SETUP
+#line 804 "ansel2uni.ll"
+utf3byte('\x1e','\x67') ; /* U+1E67 */
+ YY_BREAK
+case 431:
+#line 807 "ansel2uni.ll"
+case 432:
+YY_RULE_SETUP
+#line 807 "ansel2uni.ll"
+utf3byte('\x1e','\x68') ; /* U+1E68 */
+ YY_BREAK
+case 433:
+#line 810 "ansel2uni.ll"
+case 434:
+YY_RULE_SETUP
+#line 810 "ansel2uni.ll"
+utf3byte('\x1e','\x69') ; /* U+1E69 */
+ YY_BREAK
+case 435:
+YY_RULE_SETUP
+#line 812 "ansel2uni.ll"
+utf3byte('\x1e','\x6a') ; /* U+1E6A */
+ YY_BREAK
+case 436:
+YY_RULE_SETUP
+#line 813 "ansel2uni.ll"
+utf3byte('\x1e','\x6b') ; /* U+1E6B */
+ YY_BREAK
+case 437:
+YY_RULE_SETUP
+#line 814 "ansel2uni.ll"
+utf3byte('\x1e','\x6c') ; /* U+1E6C */
+ YY_BREAK
+case 438:
+YY_RULE_SETUP
+#line 815 "ansel2uni.ll"
+utf3byte('\x1e','\x6d') ; /* U+1E6d */
+ YY_BREAK
+case 439:
+YY_RULE_SETUP
+#line 816 "ansel2uni.ll"
+utf3byte('\x1e','\x6e') ; /* U+1E6d */
+ YY_BREAK
+case 440:
+YY_RULE_SETUP
+#line 817 "ansel2uni.ll"
+utf3byte('\x1e','\x6f') ; /* U+1E6F */
+ YY_BREAK
+case 441:
+YY_RULE_SETUP
+#line 818 "ansel2uni.ll"
+utf3byte('\x1e','\x72') ; /* U+1E72 */
+ YY_BREAK
+case 442:
+YY_RULE_SETUP
+#line 819 "ansel2uni.ll"
+utf3byte('\x1e','\x73') ; /* U+1E73 */
+ YY_BREAK
+case 443:
+#line 822 "ansel2uni.ll"
+case 444:
+YY_RULE_SETUP
+#line 822 "ansel2uni.ll"
+utf3byte('\x1e','\x78') ; /* U+1E78 */
+ YY_BREAK
+case 445:
+#line 825 "ansel2uni.ll"
+case 446:
+YY_RULE_SETUP
+#line 825 "ansel2uni.ll"
+utf3byte('\x1e','\x79') ; /* U+1E79 */
+ YY_BREAK
+/* see U+01D5 for the opposite order */
+case 447:
+YY_RULE_SETUP
+#line 828 "ansel2uni.ll"
+utf3byte('\x1e','\x7a') ; /* U+1E7A */
+ YY_BREAK
+case 448:
+YY_RULE_SETUP
+#line 829 "ansel2uni.ll"
+utf3byte('\x1e','\x7b') ; /* U+1E7B */
+ YY_BREAK
+case 449:
+YY_RULE_SETUP
+#line 831 "ansel2uni.ll"
+utf3byte('\x1e','\x7c') ; /* U+1E7C */
+ YY_BREAK
+case 450:
+YY_RULE_SETUP
+#line 832 "ansel2uni.ll"
+utf3byte('\x1e','\x7d') ; /* U+1E7D */
+ YY_BREAK
+case 451:
+YY_RULE_SETUP
+#line 833 "ansel2uni.ll"
+utf3byte('\x1e','\x7e') ; /* U+1E7E */
+ YY_BREAK
+case 452:
+YY_RULE_SETUP
+#line 834 "ansel2uni.ll"
+utf3byte('\x1e','\x7f') ; /* U+1E7F */
+ YY_BREAK
+case 453:
+YY_RULE_SETUP
+#line 835 "ansel2uni.ll"
+utf3byte('\x1e','\x80') ; /* U+1E80 */
+ YY_BREAK
+case 454:
+YY_RULE_SETUP
+#line 836 "ansel2uni.ll"
+utf3byte('\x1e','\x81') ; /* U+1E81 */
+ YY_BREAK
+case 455:
+YY_RULE_SETUP
+#line 837 "ansel2uni.ll"
+utf3byte('\x1e','\x82') ; /* U+1E82 */
+ YY_BREAK
+case 456:
+YY_RULE_SETUP
+#line 838 "ansel2uni.ll"
+utf3byte('\x1e','\x83') ; /* U+1E83 */
+ YY_BREAK
+case 457:
+YY_RULE_SETUP
+#line 839 "ansel2uni.ll"
+utf3byte('\x1e','\x84') ; /* U+1E84 */
+ YY_BREAK
+case 458:
+YY_RULE_SETUP
+#line 840 "ansel2uni.ll"
+utf3byte('\x1e','\x85') ; /* U+1E85 */
+ YY_BREAK
+case 459:
+YY_RULE_SETUP
+#line 841 "ansel2uni.ll"
+utf3byte('\x1e','\x86') ; /* U+1E86 */
+ YY_BREAK
+case 460:
+YY_RULE_SETUP
+#line 842 "ansel2uni.ll"
+utf3byte('\x1e','\x87') ; /* U+1E87 */
+ YY_BREAK
+case 461:
+YY_RULE_SETUP
+#line 843 "ansel2uni.ll"
+utf3byte('\x1e','\x88') ; /* U+1E88 */
+ YY_BREAK
+case 462:
+YY_RULE_SETUP
+#line 844 "ansel2uni.ll"
+utf3byte('\x1e','\x89') ; /* U+1E89 */
+ YY_BREAK
+case 463:
+YY_RULE_SETUP
+#line 845 "ansel2uni.ll"
+utf3byte('\x1e','\x8a') ; /* U+1E8A */
+ YY_BREAK
+case 464:
+YY_RULE_SETUP
+#line 846 "ansel2uni.ll"
+utf3byte('\x1e','\x8b') ; /* U+1E8B */
+ YY_BREAK
+case 465:
+YY_RULE_SETUP
+#line 847 "ansel2uni.ll"
+utf3byte('\x1e','\x8c') ; /* U+1E8C */
+ YY_BREAK
+case 466:
+YY_RULE_SETUP
+#line 848 "ansel2uni.ll"
+utf3byte('\x1e','\x8d') ; /* U+1E8D */
+ YY_BREAK
+case 467:
+YY_RULE_SETUP
+#line 849 "ansel2uni.ll"
+utf3byte('\x1e','\x8e') ; /* U+1E8E */
+ YY_BREAK
+case 468:
+YY_RULE_SETUP
+#line 850 "ansel2uni.ll"
+utf3byte('\x1e','\x8f') ; /* U+1E8F */
+ YY_BREAK
+case 469:
+YY_RULE_SETUP
+#line 851 "ansel2uni.ll"
+utf3byte('\x1e','\x90') ; /* U+1E90 */
+ YY_BREAK
+case 470:
+YY_RULE_SETUP
+#line 852 "ansel2uni.ll"
+utf3byte('\x1e','\x91') ; /* U+1E91 */
+ YY_BREAK
+case 471:
+YY_RULE_SETUP
+#line 853 "ansel2uni.ll"
+utf3byte('\x1e','\x92') ; /* U+1E92 */
+ YY_BREAK
+case 472:
+YY_RULE_SETUP
+#line 854 "ansel2uni.ll"
+utf3byte('\x1e','\x93') ; /* U+1E93 */
+ YY_BREAK
+case 473:
+YY_RULE_SETUP
+#line 855 "ansel2uni.ll"
+utf3byte('\x1e','\x94') ; /* U+1E94 */
+ YY_BREAK
+case 474:
+YY_RULE_SETUP
+#line 856 "ansel2uni.ll"
+utf3byte('\x1e','\x95') ; /* U+1E95 */
+ YY_BREAK
+case 475:
+YY_RULE_SETUP
+#line 857 "ansel2uni.ll"
+utf3byte('\x1e','\x96') ; /* U+1E96 */
+ YY_BREAK
+case 476:
+YY_RULE_SETUP
+#line 858 "ansel2uni.ll"
+utf3byte('\x1e','\x97') ; /* U+1E97 */
+ YY_BREAK
+case 477:
+YY_RULE_SETUP
+#line 859 "ansel2uni.ll"
+utf3byte('\x1e','\x98') ; /* U+1E98 */
+ YY_BREAK
+case 478:
+YY_RULE_SETUP
+#line 860 "ansel2uni.ll"
+utf3byte('\x1e','\x99') ; /* U+1E99 */
+ YY_BREAK
+case 479:
+YY_RULE_SETUP
+#line 861 "ansel2uni.ll"
+utf3byte('\x1e','\xa0') ; /* U+1EA0 */
+ YY_BREAK
+case 480:
+YY_RULE_SETUP
+#line 862 "ansel2uni.ll"
+utf3byte('\x1e','\xa1') ; /* U+1EA1 */
+ YY_BREAK
+case 481:
+YY_RULE_SETUP
+#line 863 "ansel2uni.ll"
+utf3byte('\x1e','\xa2') ; /* U+1EA2 */
+ YY_BREAK
+case 482:
+YY_RULE_SETUP
+#line 864 "ansel2uni.ll"
+utf3byte('\x1e','\xa3') ; /* U+1EA3 */
+ YY_BREAK
+case 483:
+#line 867 "ansel2uni.ll"
+case 484:
+YY_RULE_SETUP
+#line 867 "ansel2uni.ll"
+utf3byte('\x1e','\xa4') ; /* U+1EA4 */
+ YY_BREAK
+case 485:
+#line 870 "ansel2uni.ll"
+case 486:
+YY_RULE_SETUP
+#line 870 "ansel2uni.ll"
+utf3byte('\x1e','\xa5') ; /* U+1EA5 */
+ YY_BREAK
+case 487:
+#line 873 "ansel2uni.ll"
+case 488:
+YY_RULE_SETUP
+#line 873 "ansel2uni.ll"
+utf3byte('\x1e','\xa6') ; /* U+1EA6 */
+ YY_BREAK
+case 489:
+#line 876 "ansel2uni.ll"
+case 490:
+YY_RULE_SETUP
+#line 876 "ansel2uni.ll"
+utf3byte('\x1e','\xa7') ; /* U+1EA7 */
+ YY_BREAK
+case 491:
+#line 879 "ansel2uni.ll"
+case 492:
+YY_RULE_SETUP
+#line 879 "ansel2uni.ll"
+utf3byte('\x1e','\xa8') ; /* U+1EA8 */
+ YY_BREAK
+case 493:
+#line 882 "ansel2uni.ll"
+case 494:
+YY_RULE_SETUP
+#line 882 "ansel2uni.ll"
+utf3byte('\x1e','\xa9') ; /* U+1EA9 */
+ YY_BREAK
+case 495:
+#line 885 "ansel2uni.ll"
+case 496:
+YY_RULE_SETUP
+#line 885 "ansel2uni.ll"
+utf3byte('\x1e','\xaa') ; /* U+1EAA */
+ YY_BREAK
+case 497:
+#line 888 "ansel2uni.ll"
+case 498:
+YY_RULE_SETUP
+#line 888 "ansel2uni.ll"
+utf3byte('\x1e','\xab') ; /* U+1EAB */
+ YY_BREAK
+case 499:
+#line 891 "ansel2uni.ll"
+case 500:
+YY_RULE_SETUP
+#line 891 "ansel2uni.ll"
+utf3byte('\x1e','\xac') ; /* U+1EAC */
+ YY_BREAK
+case 501:
+#line 894 "ansel2uni.ll"
+case 502:
+YY_RULE_SETUP
+#line 894 "ansel2uni.ll"
+utf3byte('\x1e','\xad') ; /* U+1EAD */
+ YY_BREAK
+case 503:
+#line 897 "ansel2uni.ll"
+case 504:
+YY_RULE_SETUP
+#line 897 "ansel2uni.ll"
+utf3byte('\x1e','\xae') ; /* U+1EAE */
+ YY_BREAK
+case 505:
+#line 900 "ansel2uni.ll"
+case 506:
+YY_RULE_SETUP
+#line 900 "ansel2uni.ll"
+utf3byte('\x1e','\xaf') ; /* U+1EAF */
+ YY_BREAK
+case 507:
+#line 903 "ansel2uni.ll"
+case 508:
+YY_RULE_SETUP
+#line 903 "ansel2uni.ll"
+utf3byte('\x1e','\xb0') ; /* U+1EB0 */
+ YY_BREAK
+case 509:
+#line 906 "ansel2uni.ll"
+case 510:
+YY_RULE_SETUP
+#line 906 "ansel2uni.ll"
+utf3byte('\x1e','\xb1') ; /* U+1EB1 */
+ YY_BREAK
+case 511:
+#line 909 "ansel2uni.ll"
+case 512:
+YY_RULE_SETUP
+#line 909 "ansel2uni.ll"
+utf3byte('\x1e','\xb2') ; /* U+1EB2 */
+ YY_BREAK
+case 513:
+#line 912 "ansel2uni.ll"
+case 514:
+YY_RULE_SETUP
+#line 912 "ansel2uni.ll"
+utf3byte('\x1e','\xb3') ; /* U+1EB3 */
+ YY_BREAK
+case 515:
+#line 915 "ansel2uni.ll"
+case 516:
+YY_RULE_SETUP
+#line 915 "ansel2uni.ll"
+utf3byte('\x1e','\xb4') ; /* U+1EB4 */
+ YY_BREAK
+case 517:
+#line 918 "ansel2uni.ll"
+case 518:
+YY_RULE_SETUP
+#line 918 "ansel2uni.ll"
+utf3byte('\x1e','\xb5') ; /* U+1EB5 */
+ YY_BREAK
+case 519:
+#line 921 "ansel2uni.ll"
+case 520:
+YY_RULE_SETUP
+#line 921 "ansel2uni.ll"
+utf3byte('\x1e','\xb6') ; /* U+1EB6 */
+ YY_BREAK
+case 521:
+#line 924 "ansel2uni.ll"
+case 522:
+YY_RULE_SETUP
+#line 924 "ansel2uni.ll"
+utf3byte('\x1e','\xb7') ; /* U+1EB7 */
+ YY_BREAK
+case 523:
+YY_RULE_SETUP
+#line 926 "ansel2uni.ll"
+utf3byte('\x1e','\xb8') ; /* U+1EB8 */
+ YY_BREAK
+case 524:
+YY_RULE_SETUP
+#line 927 "ansel2uni.ll"
+utf3byte('\x1e','\xb9') ; /* U+1EB9 */
+ YY_BREAK
+case 525:
+YY_RULE_SETUP
+#line 929 "ansel2uni.ll"
+utf3byte('\x1e','\xba') ; /* U+1EBA */
+ YY_BREAK
+case 526:
+YY_RULE_SETUP
+#line 930 "ansel2uni.ll"
+utf3byte('\x1e','\xbb') ; /* U+1EBB */
+ YY_BREAK
+case 527:
+YY_RULE_SETUP
+#line 931 "ansel2uni.ll"
+utf3byte('\x1e','\xbc') ; /* U+1EBC */
+ YY_BREAK
+case 528:
+YY_RULE_SETUP
+#line 932 "ansel2uni.ll"
+utf3byte('\x1e','\xbd') ; /* U+1EBD */
+ YY_BREAK
+case 529:
+#line 935 "ansel2uni.ll"
+case 530:
+YY_RULE_SETUP
+#line 935 "ansel2uni.ll"
+utf3byte('\x1e','\xbe') ; /* U+1EBE */
+ YY_BREAK
+case 531:
+#line 938 "ansel2uni.ll"
+case 532:
+YY_RULE_SETUP
+#line 938 "ansel2uni.ll"
+utf3byte('\x1e','\xbf') ; /* U+1EBF */
+ YY_BREAK
+case 533:
+#line 941 "ansel2uni.ll"
+case 534:
+YY_RULE_SETUP
+#line 941 "ansel2uni.ll"
+utf3byte('\x1e','\xc0') ; /* U+1EC0*/
+ YY_BREAK
+case 535:
+#line 944 "ansel2uni.ll"
+case 536:
+YY_RULE_SETUP
+#line 944 "ansel2uni.ll"
+utf3byte('\x1e','\xc1') ; /* U+1EC1 */
+ YY_BREAK
+case 537:
+#line 947 "ansel2uni.ll"
+case 538:
+YY_RULE_SETUP
+#line 947 "ansel2uni.ll"
+utf3byte('\x1e','\xc2') ; /* U+1EC2 */
+ YY_BREAK
+case 539:
+#line 950 "ansel2uni.ll"
+case 540:
+YY_RULE_SETUP
+#line 950 "ansel2uni.ll"
+utf3byte('\x1e','\xc3') ; /* U+1EC3 */
+ YY_BREAK
+case 541:
+#line 953 "ansel2uni.ll"
+case 542:
+YY_RULE_SETUP
+#line 953 "ansel2uni.ll"
+utf3byte('\x1e','\xc4') ; /* U+1EC4 */
+ YY_BREAK
+case 543:
+#line 956 "ansel2uni.ll"
+case 544:
+YY_RULE_SETUP
+#line 956 "ansel2uni.ll"
+utf3byte('\x1e','\xc5') ; /* U+1EC5 */
+ YY_BREAK
+case 545:
+#line 959 "ansel2uni.ll"
+case 546:
+YY_RULE_SETUP
+#line 959 "ansel2uni.ll"
+utf3byte('\x1e','\xc6') ; /* U+1EC6 */
+ YY_BREAK
+case 547:
+#line 962 "ansel2uni.ll"
+case 548:
+YY_RULE_SETUP
+#line 962 "ansel2uni.ll"
+utf3byte('\x1e','\xc7') ; /* U+1EC7 */
+ YY_BREAK
+case 549:
+YY_RULE_SETUP
+#line 964 "ansel2uni.ll"
+utf3byte('\x1e','\xc8') ; /* U+1EC8 */
+ YY_BREAK
+case 550:
+YY_RULE_SETUP
+#line 965 "ansel2uni.ll"
+utf3byte('\x1e','\xc9') ; /* U+1EC9 */
+ YY_BREAK
+case 551:
+YY_RULE_SETUP
+#line 966 "ansel2uni.ll"
+utf3byte('\x1e','\xca') ; /* U+1ECA */
+ YY_BREAK
+case 552:
+YY_RULE_SETUP
+#line 967 "ansel2uni.ll"
+utf3byte('\x1e','\xcb') ; /* U+1ECB */
+ YY_BREAK
+case 553:
+YY_RULE_SETUP
+#line 968 "ansel2uni.ll"
+utf3byte('\x1e','\xcc') ; /* U+1ECC */
+ YY_BREAK
+case 554:
+YY_RULE_SETUP
+#line 969 "ansel2uni.ll"
+utf3byte('\x1e','\xcd') ; /* U+1ECD */
+ YY_BREAK
+case 555:
+YY_RULE_SETUP
+#line 970 "ansel2uni.ll"
+utf3byte('\x1e','\xce') ; /* U+1ECE */
+ YY_BREAK
+case 556:
+YY_RULE_SETUP
+#line 971 "ansel2uni.ll"
+utf3byte('\x1e','\xcf') ; /* U+1ECF */
+ YY_BREAK
+case 557:
+#line 974 "ansel2uni.ll"
+case 558:
+YY_RULE_SETUP
+#line 974 "ansel2uni.ll"
+utf3byte('\x1e','\xd0') ; /* U+1ED0 */
+ YY_BREAK
+case 559:
+#line 977 "ansel2uni.ll"
+case 560:
+YY_RULE_SETUP
+#line 977 "ansel2uni.ll"
+utf3byte('\x1e','\xd1') ; /* U+1Ed1 */
+ YY_BREAK
+case 561:
+#line 980 "ansel2uni.ll"
+case 562:
+YY_RULE_SETUP
+#line 980 "ansel2uni.ll"
+utf3byte('\x1e','\xd2') ; /* U+1ED2 */
+ YY_BREAK
+case 563:
+#line 983 "ansel2uni.ll"
+case 564:
+YY_RULE_SETUP
+#line 983 "ansel2uni.ll"
+utf3byte('\x1e','\xd3') ; /* U+1ED3 */
+ YY_BREAK
+case 565:
+#line 986 "ansel2uni.ll"
+case 566:
+YY_RULE_SETUP
+#line 986 "ansel2uni.ll"
+utf3byte('\x1e','\xd4') ; /* U+1ED4 */
+ YY_BREAK
+case 567:
+#line 989 "ansel2uni.ll"
+case 568:
+YY_RULE_SETUP
+#line 989 "ansel2uni.ll"
+utf3byte('\x1e','\xd5') ; /* U+1Ed5 */
+ YY_BREAK
+case 569:
+#line 992 "ansel2uni.ll"
+case 570:
+YY_RULE_SETUP
+#line 992 "ansel2uni.ll"
+utf3byte('\x1e','\xd6') ; /* U+1ED6 */
+ YY_BREAK
+case 571:
+#line 995 "ansel2uni.ll"
+case 572:
+YY_RULE_SETUP
+#line 995 "ansel2uni.ll"
+utf3byte('\x1e','\xd7') ; /* U+1ED7 */
+ YY_BREAK
+case 573:
+#line 998 "ansel2uni.ll"
+case 574:
+YY_RULE_SETUP
+#line 998 "ansel2uni.ll"
+utf3byte('\x1e','\xd8') ; /* U+1ED8 */
+ YY_BREAK
+case 575:
+#line 1001 "ansel2uni.ll"
+case 576:
+YY_RULE_SETUP
+#line 1001 "ansel2uni.ll"
+utf3byte('\x1e','\xd9') ; /* U+1ED9 */
+ YY_BREAK
+case 577:
+YY_RULE_SETUP
+#line 1003 "ansel2uni.ll"
+utf3byte('\x1e','\xda') ; /* U+1EDA */
+ YY_BREAK
+case 578:
+YY_RULE_SETUP
+#line 1004 "ansel2uni.ll"
+utf3byte('\x1e','\xdb') ; /* U+1EDB */
+ YY_BREAK
+case 579:
+YY_RULE_SETUP
+#line 1005 "ansel2uni.ll"
+utf3byte('\x1e','\xdc') ; /* U+1EDC */
+ YY_BREAK
+case 580:
+YY_RULE_SETUP
+#line 1006 "ansel2uni.ll"
+utf3byte('\x1e','\xdd') ; /* U+1EDD */
+ YY_BREAK
+case 581:
+YY_RULE_SETUP
+#line 1007 "ansel2uni.ll"
+utf3byte('\x1e','\xde') ; /* U+1EDE */
+ YY_BREAK
+case 582:
+YY_RULE_SETUP
+#line 1008 "ansel2uni.ll"
+utf3byte('\x1e','\xdf') ; /* U+1EDF */
+ YY_BREAK
+case 583:
+YY_RULE_SETUP
+#line 1009 "ansel2uni.ll"
+utf3byte('\x1e','\xe0') ; /* U+1EE0 */
+ YY_BREAK
+case 584:
+YY_RULE_SETUP
+#line 1010 "ansel2uni.ll"
+utf3byte('\x1e','\xe1') ; /* U+1EE1 */
+ YY_BREAK
+case 585:
+YY_RULE_SETUP
+#line 1011 "ansel2uni.ll"
+utf3byte('\x1e','\xe2') ; /* U+1EE2 */
+ YY_BREAK
+case 586:
+YY_RULE_SETUP
+#line 1012 "ansel2uni.ll"
+utf3byte('\x1e','\xe3') ; /* U+1EE3 */
+ YY_BREAK
+case 587:
+YY_RULE_SETUP
+#line 1013 "ansel2uni.ll"
+utf3byte('\x1e','\xe4') ; /* U+1EE4 */
+ YY_BREAK
+case 588:
+YY_RULE_SETUP
+#line 1014 "ansel2uni.ll"
+utf3byte('\x1e','\xe5') ; /* U+1EE5 */
+ YY_BREAK
+case 589:
+YY_RULE_SETUP
+#line 1015 "ansel2uni.ll"
+utf3byte('\x1e','\xe6') ; /* U+1EE6 */
+ YY_BREAK
+case 590:
+YY_RULE_SETUP
+#line 1016 "ansel2uni.ll"
+utf3byte('\x1e','\xe7') ; /* U+1EE7 */
+ YY_BREAK
+case 591:
+YY_RULE_SETUP
+#line 1017 "ansel2uni.ll"
+utf3byte('\x1e','\xe8') ; /* U+1EE8 */
+ YY_BREAK
+case 592:
+YY_RULE_SETUP
+#line 1018 "ansel2uni.ll"
+utf3byte('\x1e','\xe9') ; /* U+1EE9 */
+ YY_BREAK
+case 593:
+YY_RULE_SETUP
+#line 1019 "ansel2uni.ll"
+utf3byte('\x1e','\xea') ; /* U+1EEA */
+ YY_BREAK
+case 594:
+YY_RULE_SETUP
+#line 1020 "ansel2uni.ll"
+utf3byte('\x1e','\xeb') ; /* U+1EEB */
+ YY_BREAK
+case 595:
+YY_RULE_SETUP
+#line 1021 "ansel2uni.ll"
+utf3byte('\x1e','\xec') ; /* U+1EEC */
+ YY_BREAK
+case 596:
+YY_RULE_SETUP
+#line 1022 "ansel2uni.ll"
+utf3byte('\x1e','\xed') ; /* U+1EED */
+ YY_BREAK
+case 597:
+YY_RULE_SETUP
+#line 1023 "ansel2uni.ll"
+utf3byte('\x1e','\xee') ; /* U+1EEE */
+ YY_BREAK
+case 598:
+YY_RULE_SETUP
+#line 1024 "ansel2uni.ll"
+utf3byte('\x1e','\xef') ; /* U+1EEF */
+ YY_BREAK
+case 599:
+YY_RULE_SETUP
+#line 1025 "ansel2uni.ll"
+utf3byte('\x1e','\xf0') ; /* U+1EF0 */
+ YY_BREAK
+case 600:
+YY_RULE_SETUP
+#line 1026 "ansel2uni.ll"
+utf3byte('\x1e','\xf1') ; /* U+1EF1 */
+ YY_BREAK
+case 601:
+YY_RULE_SETUP
+#line 1027 "ansel2uni.ll"
+utf3byte('\x1e','\xf2') ; /* U+1EF2 */
+ YY_BREAK
+case 602:
+YY_RULE_SETUP
+#line 1028 "ansel2uni.ll"
+utf3byte('\x1e','\xf3') ; /* U+1EF3 */
+ YY_BREAK
+case 603:
+YY_RULE_SETUP
+#line 1029 "ansel2uni.ll"
+utf3byte('\x1e','\xf4') ; /* U+1EF4 */
+ YY_BREAK
+case 604:
+YY_RULE_SETUP
+#line 1030 "ansel2uni.ll"
+utf3byte('\x1e','\xf5') ; /* U+1EF5 */
+ YY_BREAK
+case 605:
+YY_RULE_SETUP
+#line 1031 "ansel2uni.ll"
+utf3byte('\x1e','\xf6') ; /* U+1EF6 */
+ YY_BREAK
+case 606:
+YY_RULE_SETUP
+#line 1032 "ansel2uni.ll"
+utf3byte('\x1e','\xf7') ; /* U+1EF7 */
+ YY_BREAK
+case 607:
+YY_RULE_SETUP
+#line 1033 "ansel2uni.ll"
+utf3byte('\x1e','\xf8') ; /* U+1EF8 */
+ YY_BREAK
+case 608:
+YY_RULE_SETUP
+#line 1034 "ansel2uni.ll"
+utf3byte('\x1e','\xf9') ; /* U+1EF9 */
+ YY_BREAK
+/* end of Latin Extended Additional */
+case 609:
+YY_RULE_SETUP
+#line 1038 "ansel2uni.ll"
+utf3byte('\x02','\xbc') ; /* alif */ /* U+1EBC */
+ YY_BREAK
+case 610:
+YY_RULE_SETUP
+#line 1039 "ansel2uni.ll"
+utf3byte('\x02','\xbb') ; /* ayn */ /* U+1EBB */
+ YY_BREAK
+/* MUSIC */
+case 611:
+YY_RULE_SETUP
+#line 1042 "ansel2uni.ll"
+utf3byte('\x26','\x6d') ; /* MUSIC FLAT SIGN U+266D */
+ YY_BREAK
+case 612:
+YY_RULE_SETUP
+#line 1043 "ansel2uni.ll"
+utf3byte('\x26','\x6f') ; /* MUSIC SHARP SIGN U+266F */
+ YY_BREAK
+case 613:
+YY_RULE_SETUP
+#line 1045 "ansel2uni.ll"
+utf3byte('\x21','\x13') ; /* SCRIPT SMALL L U+2113 */
+ YY_BREAK
+case 614:
+YY_RULE_SETUP
+#line 1046 "ansel2uni.ll"
+utf3byte('\x21','\x17') ; /* SOUNC RECORDING COPYRIGHT U+2117 */
+ YY_BREAK
+/* hard, soft signs */
+case 615:
+YY_RULE_SETUP
+#line 1049 "ansel2uni.ll"
+{
+#ifdef MARC_EXT
+ utf3byte('\x02','\xba') ; /* MODIFIER LETTER DOUBLE PRIME U+02BA */
+#else
+ utf3byte('\x04','\x4a') ; /* CYRILLIC SMALL LETTER HARD SIGN U+044A */
+#endif
+ }
+ YY_BREAK
+case 616:
+YY_RULE_SETUP
+#line 1057 "ansel2uni.ll"
+{
+#ifdef MARC_EXT
+ utf3byte('\x02','\xb9') ; /* U+02B9 */
+#else
+ utf3byte('\x04','\x4c') ; /* CYRILLIC SMALL LETTER SOFT SIGN U+044A */
+#endif
+ }
+ YY_BREAK
+/* Vietnamiese from Latin Extended-B */
+case 617:
+YY_RULE_SETUP
+#line 1066 "ansel2uni.ll"
+utf3byte('\x01','\xa0') ; /* LATIN CAPITAL LETTER o WITH HORN U+01A0 */
+ YY_BREAK
+case 618:
+YY_RULE_SETUP
+#line 1067 "ansel2uni.ll"
+utf3byte('\x01','\xa1') ; /* LATIN SMALL LETTER o WITH HORN U+01A1 */
+ YY_BREAK
+case 619:
+YY_RULE_SETUP
+#line 1068 "ansel2uni.ll"
+utf3byte('\x01','\xaf') ; /* LATIN CAPITAL LETTER u WITH HORN U+01AF */
+ YY_BREAK
+case 620:
+YY_RULE_SETUP
+#line 1069 "ansel2uni.ll"
+utf3byte('\x01','\xb0') ; /* LATIN SMALL LETTER u WITH HORN U+01B0 */
+ YY_BREAK
+case 621:
+YY_RULE_SETUP
+#line 1071 "ansel2uni.ll"
+{
+#ifdef GEDCOM_LDSEXT
+ utf3byte('\x25','\xa1') ; /*WHITE SQUARE U+25A1 this is a rumor not in the 5.5 or 5.5.1 standard */
+ ;
+#else
+ ;
+#endif
+ }
+ YY_BREAK
+case 622:
+YY_RULE_SETUP
+#line 1080 "ansel2uni.ll"
+{
+#ifdef GEDCOM_LDSEXT
+ utf3byte('\x25','\xa0') ; /* BLACK SQUARE U+25A0 a rumor again not in GEDCOM 5.5 or 5.5.1 */
+ ;
+#else
+ ;
+#endif
+ }
+ YY_BREAK
+case 623:
+YY_RULE_SETUP
+#line 1089 "ansel2uni.ll"
+{
+#if defined GEDCOM_EXT || defined GEDCOM_LDSEXT
+ utf2byte('\xdf') ; /* LATIN SMALL LETTER SHARP S U+00DF */
+ ;
+#else
+ ;
+#endif
+ }
+ YY_BREAK
+case 624:
+YY_RULE_SETUP
+#line 1098 "ansel2uni.ll"
+{
+#ifdef MARC_EXT
+ utf2byte('\xdf') ; /* LATIN SMALL LETTER SHARP S U+00DF */
+#else
+ ;
+#endif
+ }
+ YY_BREAK
+case 625:
+YY_RULE_SETUP
+#line 1106 "ansel2uni.ll"
+{
+#ifdef MARC_EXT
+ utf3byte('\x20','\xac') ; /* EURO SIGN U+20AC */
+#else
+ ;
+#endif
+ }
+ YY_BREAK
+/* generic declarations follow. flex(1) specifies that they are
+ * superseded by those above if there are mutliple matchings of the same length */
+/* invalid codes in the standard use : ignore (delete on output) */
+case 626:
+#line 1121 "ansel2uni.ll"
+case 627:
+#line 1122 "ansel2uni.ll"
+case 628:
+YY_RULE_SETUP
+#line 1122 "ansel2uni.ll"
+;
+ YY_BREAK
+/* low rising tone mark */
+case 629:
+YY_RULE_SETUP
+#line 1125 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x09') ; /* COMBINING HOOK ABOVE U+0309 */
+ }
+ YY_BREAK
+/* grave accent */
+case 630:
+YY_RULE_SETUP
+#line 1131 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x00') ; /* COMBINING GRAVE ACCENT U+0300 */
+ }
+ YY_BREAK
+/* acute accent */
+case 631:
+YY_RULE_SETUP
+#line 1137 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x01') ; /* COMBINING ACUTE ACCENT U+0301 */
+ }
+ YY_BREAK
+/* circumflex accent */
+case 632:
+YY_RULE_SETUP
+#line 1143 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x02') ; /* COMBINING CIRCUMFLEX ACCENT U+0302 */
+ }
+ YY_BREAK
+/* tilde */
+case 633:
+YY_RULE_SETUP
+#line 1149 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x03') ; /* COMBINING TILDE U+0303 */
+ }
+ YY_BREAK
+/* Macron */
+case 634:
+YY_RULE_SETUP
+#line 1155 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x04') ; /* COMBINING MACRON U+0304 */
+ }
+ YY_BREAK
+/* Breve */
+case 635:
+YY_RULE_SETUP
+#line 1161 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x06') ; /* COMBINING BREVE U+0306 */
+ }
+ YY_BREAK
+/* dot above */
+case 636:
+YY_RULE_SETUP
+#line 1167 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x07') ; /* COMBINING DOT ABOVE U+0307 */
+ }
+ YY_BREAK
+/* Umlaut, diaresis, double dot above */
+case 637:
+YY_RULE_SETUP
+#line 1173 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x08') ; /* COMBINING DIARESIS U+0308 */
+ }
+ YY_BREAK
+/* Caron, hacek */
+case 638:
+YY_RULE_SETUP
+#line 1179 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x0c') ; /* COMBINING CARON U+030C */
+ }
+ YY_BREAK
+/* circle, ring above */
+case 639:
+YY_RULE_SETUP
+#line 1185 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x0a') ; /* COMBINING RING ABOVE U+030A */
+ }
+ YY_BREAK
+/* ligature, left half \xeb, ligature right half \xec.
+ * For the purpose of the conversion we assume that \xeb[someletter]\xec[secondletter]
+ * is always in use */
+case 640:
+YY_RULE_SETUP
+#line 1193 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x61') ; /* COMBINING DOUBLE INVERTED BREVE U+0361 */
+ }
+ YY_BREAK
+case 641:
+YY_RULE_SETUP
+#line 1198 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[1]) ;
+ }
+ YY_BREAK
+/* high comma, off center */
+case 642:
+YY_RULE_SETUP
+#line 1203 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x15') ; /* COMBINING COMMA ABOVE RIGHT U+0315 */
+ }
+ YY_BREAK
+/* Hungarian double acute */
+case 643:
+YY_RULE_SETUP
+#line 1209 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x0b') ; /* COMBINING DOUBLE ACUTE ACCENT U+030B */
+ }
+ YY_BREAK
+/* combining candrabindu */
+case 644:
+YY_RULE_SETUP
+#line 1215 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x10') ; /* COMBININGCANDRABINDU U+0310 */
+ }
+ YY_BREAK
+/* cedilla */
+case 645:
+YY_RULE_SETUP
+#line 1221 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x27') ; /* COMBINING CEDILLA U+0327 */
+ }
+ YY_BREAK
+/* right hook */
+case 646:
+YY_RULE_SETUP
+#line 1228 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x28') ; /* COMBINING OGONEK U+0328 */
+ }
+ YY_BREAK
+/* dot below */
+case 647:
+YY_RULE_SETUP
+#line 1234 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x23') ; /* COMBINING DOT BELOW U+0323 */
+ }
+ YY_BREAK
+/* double dot below */
+case 648:
+YY_RULE_SETUP
+#line 1240 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x24') ; /* COMBINING DOUBLE DIARESIS BELOW U+0324 */
+ }
+ YY_BREAK
+/* circle below */
+case 649:
+YY_RULE_SETUP
+#line 1246 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x25') ; /* COMBINING RING BELOW U+0325 */
+ }
+ YY_BREAK
+/* double underscore */
+case 650:
+YY_RULE_SETUP
+#line 1252 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x33') ; /* COMBINING DOUBLE LOW LINE U+0333 */
+ }
+ YY_BREAK
+/* underscore */
+case 651:
+YY_RULE_SETUP
+#line 1258 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x32') ; /* COMBINING LOW LINE U+0332 */
+ }
+ YY_BREAK
+/* left hook */
+case 652:
+YY_RULE_SETUP
+#line 1264 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x26') ; /* COMBINING COMMA BELOW U+0326 */
+ }
+ YY_BREAK
+/* right cedilla */
+case 653:
+YY_RULE_SETUP
+#line 1270 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x1c') ; /* COMBINING LEFT HALF RING BELOW U+031C */
+ }
+ YY_BREAK
+/* half circle below hook */
+case 654:
+YY_RULE_SETUP
+#line 1276 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x2e') ; /* COMBINING BREVE BELOW U+032e */
+ }
+ YY_BREAK
+/* double tilde, left half and right half.
+ * For the purpose of the conversion we assume that \xfa[someletter]\xfb[secondletter]
+ * is always in use, without actually checking */
+case 655:
+YY_RULE_SETUP
+#line 1284 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x60') ; /* COMBINING DOUBLE TILDE U+0360 */
+ }
+ YY_BREAK
+case 656:
+YY_RULE_SETUP
+#line 1289 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[1]) ;
+ }
+ YY_BREAK
+/* high comma */
+case 657:
+YY_RULE_SETUP
+#line 1294 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x13') ; /* COMBINING COMMA ABOVE U+0313 */
+ }
+ YY_BREAK
+case 658:
+YY_RULE_SETUP
+#line 1299 "ansel2uni.ll"
+{
+#ifdef GEDCOM_LDSEXT
+ /* the corresponding multiple diacretics with the slash are not implemented below...*/
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x38') ; /* COMBINING LONG SOLIDUS OVERLAY U+0337 , perhaps U+0337 */
+#else
+ fprintf(yyout,"%c",yytext[1]) ;
+#endif
+ }
+ YY_BREAK
+/* three forms of newline in MAC, Unixes and DOS */
+case 659:
+YY_RULE_SETUP
+#line 1310 "ansel2uni.ll"
+newl(yytext) ;
+ YY_BREAK
+case 660:
+/* rule 660 can match eol */
+YY_RULE_SETUP
+#line 1312 "ansel2uni.ll"
+newl(yytext) ;
+ YY_BREAK
+case 661:
+/* rule 661 can match eol */
+YY_RULE_SETUP
+#line 1314 "ansel2uni.ll"
+newl(yytext) ;
+ YY_BREAK
+/* Generic double accents. The U+1DC4 to U+1DCC are probably not
+ * meant to be used as double combining accents.
+ */
+case 662:
+YY_RULE_SETUP
+#line 1319 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x09') ;
+ }
+ YY_BREAK
+case 663:
+YY_RULE_SETUP
+#line 1324 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x09') ;
+ }
+ YY_BREAK
+case 664:
+YY_RULE_SETUP
+#line 1329 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x09') ;
+ }
+ YY_BREAK
+case 665:
+YY_RULE_SETUP
+#line 1334 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x09') ;
+ }
+ YY_BREAK
+case 666:
+YY_RULE_SETUP
+#line 1339 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x09') ;
+ }
+ YY_BREAK
+case 667:
+YY_RULE_SETUP
+#line 1344 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x09') ;
+ }
+ YY_BREAK
+case 668:
+YY_RULE_SETUP
+#line 1349 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x09') ;
+ }
+ YY_BREAK
+case 669:
+YY_RULE_SETUP
+#line 1354 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x09') ;
+ }
+ YY_BREAK
+case 670:
+YY_RULE_SETUP
+#line 1359 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x09') ;
+ }
+ YY_BREAK
+case 671:
+YY_RULE_SETUP
+#line 1364 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x09') ;
+ }
+ YY_BREAK
+case 672:
+YY_RULE_SETUP
+#line 1369 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x09') ;
+ }
+ YY_BREAK
+case 673:
+YY_RULE_SETUP
+#line 1374 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x09') ;
+ }
+ YY_BREAK
+case 674:
+YY_RULE_SETUP
+#line 1379 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x09') ;
+ }
+ YY_BREAK
+case 675:
+YY_RULE_SETUP
+#line 1384 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x09') ;
+ }
+ YY_BREAK
+case 676:
+YY_RULE_SETUP
+#line 1389 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x09') ;
+ }
+ YY_BREAK
+case 677:
+YY_RULE_SETUP
+#line 1394 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x09') ;
+ }
+ YY_BREAK
+case 678:
+YY_RULE_SETUP
+#line 1399 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x09') ;
+ }
+ YY_BREAK
+case 679:
+YY_RULE_SETUP
+#line 1404 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x09') ;
+ }
+ YY_BREAK
+case 680:
+YY_RULE_SETUP
+#line 1409 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x09') ;
+ }
+ YY_BREAK
+case 681:
+YY_RULE_SETUP
+#line 1414 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x09') ;
+ }
+ YY_BREAK
+case 682:
+YY_RULE_SETUP
+#line 1419 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x09') ;
+ }
+ YY_BREAK
+case 683:
+YY_RULE_SETUP
+#line 1424 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x09') ;
+ }
+ YY_BREAK
+case 684:
+YY_RULE_SETUP
+#line 1429 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x09') ;
+ }
+ YY_BREAK
+case 685:
+YY_RULE_SETUP
+#line 1434 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x09') ;
+ }
+ YY_BREAK
+case 686:
+YY_RULE_SETUP
+#line 1439 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x09') ;
+ }
+ YY_BREAK
+case 687:
+YY_RULE_SETUP
+#line 1444 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x00') ;
+ }
+ YY_BREAK
+case 688:
+YY_RULE_SETUP
+#line 1449 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0f') ;
+ }
+ YY_BREAK
+case 689:
+YY_RULE_SETUP
+#line 1453 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x00') ;
+ }
+ YY_BREAK
+case 690:
+YY_RULE_SETUP
+#line 1458 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x00') ;
+ }
+ YY_BREAK
+case 691:
+YY_RULE_SETUP
+#line 1463 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x00') ;
+ }
+ YY_BREAK
+case 692:
+YY_RULE_SETUP
+#line 1468 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x00') ;
+ }
+ YY_BREAK
+case 693:
+YY_RULE_SETUP
+#line 1473 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x00') ;
+ }
+ YY_BREAK
+case 694:
+YY_RULE_SETUP
+#line 1478 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x00') ;
+ }
+ YY_BREAK
+case 695:
+YY_RULE_SETUP
+#line 1483 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x00') ;
+ }
+ YY_BREAK
+case 696:
+YY_RULE_SETUP
+#line 1488 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x00') ;
+ }
+ YY_BREAK
+case 697:
+YY_RULE_SETUP
+#line 1493 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x00') ;
+ }
+ YY_BREAK
+case 698:
+YY_RULE_SETUP
+#line 1498 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x00') ;
+ }
+ YY_BREAK
+case 699:
+YY_RULE_SETUP
+#line 1503 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x00') ;
+ }
+ YY_BREAK
+case 700:
+YY_RULE_SETUP
+#line 1508 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x00') ;
+ }
+ YY_BREAK
+case 701:
+YY_RULE_SETUP
+#line 1513 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x00') ;
+ }
+ YY_BREAK
+case 702:
+YY_RULE_SETUP
+#line 1518 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x00') ;
+ }
+ YY_BREAK
+case 703:
+YY_RULE_SETUP
+#line 1523 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x00') ;
+ }
+ YY_BREAK
+case 704:
+YY_RULE_SETUP
+#line 1528 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x00') ;
+ }
+ YY_BREAK
+case 705:
+YY_RULE_SETUP
+#line 1533 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x00') ;
+ }
+ YY_BREAK
+case 706:
+YY_RULE_SETUP
+#line 1538 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x00') ;
+ }
+ YY_BREAK
+case 707:
+YY_RULE_SETUP
+#line 1543 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x00') ;
+ }
+ YY_BREAK
+case 708:
+YY_RULE_SETUP
+#line 1548 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x00') ;
+ }
+ YY_BREAK
+case 709:
+YY_RULE_SETUP
+#line 1553 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x00') ;
+ }
+ YY_BREAK
+case 710:
+YY_RULE_SETUP
+#line 1558 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x00') ;
+ }
+ YY_BREAK
+case 711:
+YY_RULE_SETUP
+#line 1563 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x00') ;
+ }
+ YY_BREAK
+case 712:
+YY_RULE_SETUP
+#line 1568 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x01') ;
+ }
+ YY_BREAK
+case 713:
+YY_RULE_SETUP
+#line 1573 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x01') ;
+ }
+ YY_BREAK
+case 714:
+YY_RULE_SETUP
+#line 1578 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x01') ;
+ }
+ YY_BREAK
+case 715:
+YY_RULE_SETUP
+#line 1583 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x01') ;
+ }
+ YY_BREAK
+case 716:
+YY_RULE_SETUP
+#line 1588 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x01') ;
+ }
+ YY_BREAK
+case 717:
+YY_RULE_SETUP
+#line 1593 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x01') ;
+ }
+ YY_BREAK
+case 718:
+YY_RULE_SETUP
+#line 1598 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x01') ;
+ }
+ YY_BREAK
+case 719:
+YY_RULE_SETUP
+#line 1603 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x01') ;
+ }
+ YY_BREAK
+case 720:
+YY_RULE_SETUP
+#line 1608 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x01') ;
+ }
+ YY_BREAK
+case 721:
+YY_RULE_SETUP
+#line 1613 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x01') ;
+ }
+ YY_BREAK
+case 722:
+YY_RULE_SETUP
+#line 1618 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x01') ;
+ }
+ YY_BREAK
+case 723:
+YY_RULE_SETUP
+#line 1623 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x01') ;
+ }
+ YY_BREAK
+case 724:
+YY_RULE_SETUP
+#line 1628 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x01') ;
+ }
+ YY_BREAK
+case 725:
+YY_RULE_SETUP
+#line 1633 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x01') ;
+ }
+ YY_BREAK
+case 726:
+YY_RULE_SETUP
+#line 1638 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x01') ;
+ }
+ YY_BREAK
+case 727:
+YY_RULE_SETUP
+#line 1643 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x01') ;
+ }
+ YY_BREAK
+case 728:
+YY_RULE_SETUP
+#line 1648 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x01') ;
+ }
+ YY_BREAK
+case 729:
+YY_RULE_SETUP
+#line 1653 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x01') ;
+ }
+ YY_BREAK
+case 730:
+YY_RULE_SETUP
+#line 1658 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x01') ;
+ }
+ YY_BREAK
+case 731:
+YY_RULE_SETUP
+#line 1663 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x01') ;
+ }
+ YY_BREAK
+case 732:
+YY_RULE_SETUP
+#line 1668 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x01') ;
+ }
+ YY_BREAK
+case 733:
+YY_RULE_SETUP
+#line 1673 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x01') ;
+ }
+ YY_BREAK
+case 734:
+YY_RULE_SETUP
+#line 1678 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x01') ;
+ }
+ YY_BREAK
+case 735:
+YY_RULE_SETUP
+#line 1683 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x01') ;
+ }
+ YY_BREAK
+case 736:
+YY_RULE_SETUP
+#line 1688 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x01') ;
+ }
+ YY_BREAK
+case 737:
+YY_RULE_SETUP
+#line 1693 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x02') ;
+ }
+ YY_BREAK
+case 738:
+YY_RULE_SETUP
+#line 1698 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x02') ;
+ }
+ YY_BREAK
+case 739:
+YY_RULE_SETUP
+#line 1703 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x02') ;
+ }
+ YY_BREAK
+case 740:
+YY_RULE_SETUP
+#line 1708 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x02') ;
+ }
+ YY_BREAK
+case 741:
+YY_RULE_SETUP
+#line 1713 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x02') ;
+ }
+ YY_BREAK
+case 742:
+YY_RULE_SETUP
+#line 1718 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x02') ;
+ }
+ YY_BREAK
+case 743:
+YY_RULE_SETUP
+#line 1723 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x02') ;
+ }
+ YY_BREAK
+case 744:
+YY_RULE_SETUP
+#line 1728 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x02') ;
+ }
+ YY_BREAK
+case 745:
+YY_RULE_SETUP
+#line 1733 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x02') ;
+ }
+ YY_BREAK
+case 746:
+YY_RULE_SETUP
+#line 1738 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x02') ;
+ }
+ YY_BREAK
+case 747:
+YY_RULE_SETUP
+#line 1743 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x02') ;
+ }
+ YY_BREAK
+case 748:
+YY_RULE_SETUP
+#line 1748 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x02') ;
+ }
+ YY_BREAK
+case 749:
+YY_RULE_SETUP
+#line 1753 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x02') ;
+ }
+ YY_BREAK
+case 750:
+YY_RULE_SETUP
+#line 1758 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x02') ;
+ }
+ YY_BREAK
+case 751:
+YY_RULE_SETUP
+#line 1763 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x02') ;
+ }
+ YY_BREAK
+case 752:
+YY_RULE_SETUP
+#line 1768 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x02') ;
+ }
+ YY_BREAK
+case 753:
+YY_RULE_SETUP
+#line 1773 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x02') ;
+ }
+ YY_BREAK
+case 754:
+YY_RULE_SETUP
+#line 1778 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x02') ;
+ }
+ YY_BREAK
+case 755:
+YY_RULE_SETUP
+#line 1783 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x02') ;
+ }
+ YY_BREAK
+case 756:
+YY_RULE_SETUP
+#line 1788 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x02') ;
+ }
+ YY_BREAK
+case 757:
+YY_RULE_SETUP
+#line 1793 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x02') ;
+ }
+ YY_BREAK
+case 758:
+YY_RULE_SETUP
+#line 1798 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x02') ;
+ }
+ YY_BREAK
+case 759:
+YY_RULE_SETUP
+#line 1803 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x02') ;
+ }
+ YY_BREAK
+case 760:
+YY_RULE_SETUP
+#line 1808 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x02') ;
+ }
+ YY_BREAK
+case 761:
+YY_RULE_SETUP
+#line 1813 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x02') ;
+ }
+ YY_BREAK
+case 762:
+YY_RULE_SETUP
+#line 1818 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x03') ;
+ }
+ YY_BREAK
+case 763:
+YY_RULE_SETUP
+#line 1823 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x03') ;
+ }
+ YY_BREAK
+case 764:
+YY_RULE_SETUP
+#line 1828 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x03') ;
+ }
+ YY_BREAK
+case 765:
+YY_RULE_SETUP
+#line 1833 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x03') ;
+ }
+ YY_BREAK
+case 766:
+YY_RULE_SETUP
+#line 1838 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x03') ;
+ }
+ YY_BREAK
+case 767:
+YY_RULE_SETUP
+#line 1843 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x03') ;
+ }
+ YY_BREAK
+case 768:
+YY_RULE_SETUP
+#line 1848 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x03') ;
+ }
+ YY_BREAK
+case 769:
+YY_RULE_SETUP
+#line 1853 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x03') ;
+ }
+ YY_BREAK
+case 770:
+YY_RULE_SETUP
+#line 1858 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x03') ;
+ }
+ YY_BREAK
+case 771:
+YY_RULE_SETUP
+#line 1863 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x03') ;
+ }
+ YY_BREAK
+case 772:
+YY_RULE_SETUP
+#line 1868 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x03') ;
+ }
+ YY_BREAK
+case 773:
+YY_RULE_SETUP
+#line 1873 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x03') ;
+ }
+ YY_BREAK
+case 774:
+YY_RULE_SETUP
+#line 1878 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x03') ;
+ }
+ YY_BREAK
+case 775:
+YY_RULE_SETUP
+#line 1883 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x03') ;
+ }
+ YY_BREAK
+case 776:
+YY_RULE_SETUP
+#line 1888 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x03') ;
+ }
+ YY_BREAK
+case 777:
+YY_RULE_SETUP
+#line 1893 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x03') ;
+ }
+ YY_BREAK
+case 778:
+YY_RULE_SETUP
+#line 1898 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x03') ;
+ }
+ YY_BREAK
+case 779:
+YY_RULE_SETUP
+#line 1903 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x03') ;
+ }
+ YY_BREAK
+case 780:
+YY_RULE_SETUP
+#line 1908 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x03') ;
+ }
+ YY_BREAK
+case 781:
+YY_RULE_SETUP
+#line 1913 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x03') ;
+ }
+ YY_BREAK
+case 782:
+YY_RULE_SETUP
+#line 1918 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x03') ;
+ }
+ YY_BREAK
+case 783:
+YY_RULE_SETUP
+#line 1923 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x03') ;
+ }
+ YY_BREAK
+case 784:
+YY_RULE_SETUP
+#line 1928 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x03') ;
+ }
+ YY_BREAK
+case 785:
+YY_RULE_SETUP
+#line 1933 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x03') ;
+ }
+ YY_BREAK
+case 786:
+YY_RULE_SETUP
+#line 1938 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x03') ;
+ }
+ YY_BREAK
+case 787:
+YY_RULE_SETUP
+#line 1943 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x04') ;
+ }
+ YY_BREAK
+case 788:
+YY_RULE_SETUP
+#line 1948 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x04') ;
+ }
+ YY_BREAK
+case 789:
+YY_RULE_SETUP
+#line 1953 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x04') ;
+ }
+ YY_BREAK
+case 790:
+YY_RULE_SETUP
+#line 1958 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x04') ;
+ }
+ YY_BREAK
+case 791:
+YY_RULE_SETUP
+#line 1963 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x04') ;
+ }
+ YY_BREAK
+case 792:
+YY_RULE_SETUP
+#line 1968 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x04') ;
+ }
+ YY_BREAK
+case 793:
+YY_RULE_SETUP
+#line 1973 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x04') ;
+ }
+ YY_BREAK
+case 794:
+YY_RULE_SETUP
+#line 1978 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x04') ;
+ }
+ YY_BREAK
+case 795:
+YY_RULE_SETUP
+#line 1983 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x04') ;
+ }
+ YY_BREAK
+case 796:
+YY_RULE_SETUP
+#line 1988 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x04') ;
+ }
+ YY_BREAK
+case 797:
+YY_RULE_SETUP
+#line 1993 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x04') ;
+ }
+ YY_BREAK
+case 798:
+YY_RULE_SETUP
+#line 1998 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x04') ;
+ }
+ YY_BREAK
+case 799:
+YY_RULE_SETUP
+#line 2003 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x04') ;
+ }
+ YY_BREAK
+case 800:
+YY_RULE_SETUP
+#line 2008 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x04') ;
+ }
+ YY_BREAK
+case 801:
+YY_RULE_SETUP
+#line 2013 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x04') ;
+ }
+ YY_BREAK
+case 802:
+YY_RULE_SETUP
+#line 2018 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x04') ;
+ }
+ YY_BREAK
+case 803:
+YY_RULE_SETUP
+#line 2023 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x04') ;
+ }
+ YY_BREAK
+case 804:
+YY_RULE_SETUP
+#line 2028 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x04') ;
+ }
+ YY_BREAK
+case 805:
+YY_RULE_SETUP
+#line 2033 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x04') ;
+ }
+ YY_BREAK
+case 806:
+YY_RULE_SETUP
+#line 2038 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x04') ;
+ }
+ YY_BREAK
+case 807:
+YY_RULE_SETUP
+#line 2043 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x04') ;
+ }
+ YY_BREAK
+case 808:
+YY_RULE_SETUP
+#line 2048 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x04') ;
+ }
+ YY_BREAK
+case 809:
+YY_RULE_SETUP
+#line 2053 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x04') ;
+ }
+ YY_BREAK
+case 810:
+YY_RULE_SETUP
+#line 2058 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x04') ;
+ }
+ YY_BREAK
+case 811:
+YY_RULE_SETUP
+#line 2063 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x04') ;
+ }
+ YY_BREAK
+case 812:
+YY_RULE_SETUP
+#line 2068 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x06') ;
+ }
+ YY_BREAK
+case 813:
+YY_RULE_SETUP
+#line 2073 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x06') ;
+ }
+ YY_BREAK
+case 814:
+YY_RULE_SETUP
+#line 2078 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x06') ;
+ }
+ YY_BREAK
+case 815:
+YY_RULE_SETUP
+#line 2083 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x06') ;
+ }
+ YY_BREAK
+case 816:
+YY_RULE_SETUP
+#line 2088 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x06') ;
+ }
+ YY_BREAK
+case 817:
+YY_RULE_SETUP
+#line 2093 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x06') ;
+ }
+ YY_BREAK
+case 818:
+YY_RULE_SETUP
+#line 2098 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x06') ;
+ }
+ YY_BREAK
+case 819:
+YY_RULE_SETUP
+#line 2103 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x06') ;
+ }
+ YY_BREAK
+case 820:
+YY_RULE_SETUP
+#line 2108 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x06') ;
+ }
+ YY_BREAK
+case 821:
+YY_RULE_SETUP
+#line 2113 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x06') ;
+ }
+ YY_BREAK
+case 822:
+YY_RULE_SETUP
+#line 2118 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x06') ;
+ }
+ YY_BREAK
+case 823:
+YY_RULE_SETUP
+#line 2123 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x06') ;
+ }
+ YY_BREAK
+case 824:
+YY_RULE_SETUP
+#line 2128 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x06') ;
+ }
+ YY_BREAK
+case 825:
+YY_RULE_SETUP
+#line 2133 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x06') ;
+ }
+ YY_BREAK
+case 826:
+YY_RULE_SETUP
+#line 2138 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x06') ;
+ }
+ YY_BREAK
+case 827:
+YY_RULE_SETUP
+#line 2143 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x06') ;
+ }
+ YY_BREAK
+case 828:
+YY_RULE_SETUP
+#line 2148 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x06') ;
+ }
+ YY_BREAK
+case 829:
+YY_RULE_SETUP
+#line 2153 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x06') ;
+ }
+ YY_BREAK
+case 830:
+YY_RULE_SETUP
+#line 2158 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x06') ;
+ }
+ YY_BREAK
+case 831:
+YY_RULE_SETUP
+#line 2163 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x06') ;
+ }
+ YY_BREAK
+case 832:
+YY_RULE_SETUP
+#line 2168 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x06') ;
+ }
+ YY_BREAK
+case 833:
+YY_RULE_SETUP
+#line 2173 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x06') ;
+ }
+ YY_BREAK
+case 834:
+YY_RULE_SETUP
+#line 2178 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x06') ;
+ }
+ YY_BREAK
+case 835:
+YY_RULE_SETUP
+#line 2183 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x06') ;
+ }
+ YY_BREAK
+case 836:
+YY_RULE_SETUP
+#line 2188 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x06') ;
+ }
+ YY_BREAK
+case 837:
+YY_RULE_SETUP
+#line 2193 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x07') ;
+ }
+ YY_BREAK
+case 838:
+YY_RULE_SETUP
+#line 2198 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x07') ;
+ }
+ YY_BREAK
+case 839:
+YY_RULE_SETUP
+#line 2203 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x07') ;
+ }
+ YY_BREAK
+case 840:
+YY_RULE_SETUP
+#line 2208 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x07') ;
+ }
+ YY_BREAK
+case 841:
+YY_RULE_SETUP
+#line 2213 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x07') ;
+ }
+ YY_BREAK
+case 842:
+YY_RULE_SETUP
+#line 2218 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x07') ;
+ }
+ YY_BREAK
+case 843:
+YY_RULE_SETUP
+#line 2223 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x07') ;
+ }
+ YY_BREAK
+case 844:
+YY_RULE_SETUP
+#line 2228 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x07') ;
+ }
+ YY_BREAK
+case 845:
+YY_RULE_SETUP
+#line 2233 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x07') ;
+ }
+ YY_BREAK
+case 846:
+YY_RULE_SETUP
+#line 2238 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x07') ;
+ }
+ YY_BREAK
+case 847:
+YY_RULE_SETUP
+#line 2243 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x07') ;
+ }
+ YY_BREAK
+case 848:
+YY_RULE_SETUP
+#line 2248 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x07') ;
+ }
+ YY_BREAK
+case 849:
+YY_RULE_SETUP
+#line 2253 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x07') ;
+ }
+ YY_BREAK
+case 850:
+YY_RULE_SETUP
+#line 2258 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x07') ;
+ }
+ YY_BREAK
+case 851:
+YY_RULE_SETUP
+#line 2263 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x07') ;
+ }
+ YY_BREAK
+case 852:
+YY_RULE_SETUP
+#line 2268 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x07') ;
+ }
+ YY_BREAK
+case 853:
+YY_RULE_SETUP
+#line 2273 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x07') ;
+ }
+ YY_BREAK
+case 854:
+YY_RULE_SETUP
+#line 2278 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x07') ;
+ }
+ YY_BREAK
+case 855:
+YY_RULE_SETUP
+#line 2283 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x07') ;
+ }
+ YY_BREAK
+case 856:
+YY_RULE_SETUP
+#line 2288 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x07') ;
+ }
+ YY_BREAK
+case 857:
+YY_RULE_SETUP
+#line 2293 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x07') ;
+ }
+ YY_BREAK
+case 858:
+YY_RULE_SETUP
+#line 2298 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x07') ;
+ }
+ YY_BREAK
+case 859:
+YY_RULE_SETUP
+#line 2303 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x07') ;
+ }
+ YY_BREAK
+case 860:
+YY_RULE_SETUP
+#line 2308 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x07') ;
+ }
+ YY_BREAK
+case 861:
+YY_RULE_SETUP
+#line 2313 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x07') ;
+ }
+ YY_BREAK
+case 862:
+YY_RULE_SETUP
+#line 2318 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x08') ;
+ }
+ YY_BREAK
+case 863:
+YY_RULE_SETUP
+#line 2323 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x08') ;
+ }
+ YY_BREAK
+case 864:
+YY_RULE_SETUP
+#line 2328 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x08') ;
+ }
+ YY_BREAK
+case 865:
+YY_RULE_SETUP
+#line 2333 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x08') ;
+ }
+ YY_BREAK
+case 866:
+YY_RULE_SETUP
+#line 2338 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x08') ;
+ }
+ YY_BREAK
+case 867:
+YY_RULE_SETUP
+#line 2343 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x08') ;
+ }
+ YY_BREAK
+case 868:
+YY_RULE_SETUP
+#line 2348 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x08') ;
+ }
+ YY_BREAK
+case 869:
+YY_RULE_SETUP
+#line 2353 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x08') ;
+ }
+ YY_BREAK
+case 870:
+YY_RULE_SETUP
+#line 2358 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x08') ;
+ }
+ YY_BREAK
+case 871:
+YY_RULE_SETUP
+#line 2363 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x08') ;
+ }
+ YY_BREAK
+case 872:
+YY_RULE_SETUP
+#line 2368 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x08') ;
+ }
+ YY_BREAK
+case 873:
+YY_RULE_SETUP
+#line 2373 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x08') ;
+ }
+ YY_BREAK
+case 874:
+YY_RULE_SETUP
+#line 2378 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x08') ;
+ }
+ YY_BREAK
+case 875:
+YY_RULE_SETUP
+#line 2383 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x08') ;
+ }
+ YY_BREAK
+case 876:
+YY_RULE_SETUP
+#line 2388 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x08') ;
+ }
+ YY_BREAK
+case 877:
+YY_RULE_SETUP
+#line 2393 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x08') ;
+ }
+ YY_BREAK
+case 878:
+YY_RULE_SETUP
+#line 2398 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x08') ;
+ }
+ YY_BREAK
+case 879:
+YY_RULE_SETUP
+#line 2403 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x08') ;
+ }
+ YY_BREAK
+case 880:
+YY_RULE_SETUP
+#line 2408 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x08') ;
+ }
+ YY_BREAK
+case 881:
+YY_RULE_SETUP
+#line 2413 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x08') ;
+ }
+ YY_BREAK
+case 882:
+YY_RULE_SETUP
+#line 2418 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x08') ;
+ }
+ YY_BREAK
+case 883:
+YY_RULE_SETUP
+#line 2423 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x08') ;
+ }
+ YY_BREAK
+case 884:
+YY_RULE_SETUP
+#line 2428 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x08') ;
+ }
+ YY_BREAK
+case 885:
+YY_RULE_SETUP
+#line 2433 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x08') ;
+ }
+ YY_BREAK
+case 886:
+YY_RULE_SETUP
+#line 2438 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x08') ;
+ }
+ YY_BREAK
+case 887:
+YY_RULE_SETUP
+#line 2443 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x0c') ;
+ }
+ YY_BREAK
+case 888:
+YY_RULE_SETUP
+#line 2448 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x0c') ;
+ }
+ YY_BREAK
+case 889:
+YY_RULE_SETUP
+#line 2453 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x0c') ;
+ }
+ YY_BREAK
+case 890:
+YY_RULE_SETUP
+#line 2458 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x0c') ;
+ }
+ YY_BREAK
+case 891:
+YY_RULE_SETUP
+#line 2463 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x0c') ;
+ }
+ YY_BREAK
+case 892:
+YY_RULE_SETUP
+#line 2468 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x0c') ;
+ }
+ YY_BREAK
+case 893:
+YY_RULE_SETUP
+#line 2473 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x0c') ;
+ }
+ YY_BREAK
+case 894:
+YY_RULE_SETUP
+#line 2478 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x0c') ;
+ }
+ YY_BREAK
+case 895:
+YY_RULE_SETUP
+#line 2483 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x0c') ;
+ }
+ YY_BREAK
+case 896:
+YY_RULE_SETUP
+#line 2488 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x0c') ;
+ }
+ YY_BREAK
+case 897:
+YY_RULE_SETUP
+#line 2493 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x0c') ;
+ }
+ YY_BREAK
+case 898:
+YY_RULE_SETUP
+#line 2498 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x0c') ;
+ }
+ YY_BREAK
+case 899:
+YY_RULE_SETUP
+#line 2503 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x0c') ;
+ }
+ YY_BREAK
+case 900:
+YY_RULE_SETUP
+#line 2508 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x0c') ;
+ }
+ YY_BREAK
+case 901:
+YY_RULE_SETUP
+#line 2513 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x0c') ;
+ }
+ YY_BREAK
+case 902:
+YY_RULE_SETUP
+#line 2518 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x0c') ;
+ }
+ YY_BREAK
+case 903:
+YY_RULE_SETUP
+#line 2523 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x0c') ;
+ }
+ YY_BREAK
+case 904:
+YY_RULE_SETUP
+#line 2528 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x0c') ;
+ }
+ YY_BREAK
+case 905:
+YY_RULE_SETUP
+#line 2533 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x0c') ;
+ }
+ YY_BREAK
+case 906:
+YY_RULE_SETUP
+#line 2538 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x0c') ;
+ }
+ YY_BREAK
+case 907:
+YY_RULE_SETUP
+#line 2543 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x0c') ;
+ }
+ YY_BREAK
+case 908:
+YY_RULE_SETUP
+#line 2548 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x0c') ;
+ }
+ YY_BREAK
+case 909:
+YY_RULE_SETUP
+#line 2553 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x0c') ;
+ }
+ YY_BREAK
+case 910:
+YY_RULE_SETUP
+#line 2558 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x0c') ;
+ }
+ YY_BREAK
+case 911:
+YY_RULE_SETUP
+#line 2563 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x0c') ;
+ }
+ YY_BREAK
+case 912:
+YY_RULE_SETUP
+#line 2568 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x0a') ;
+ }
+ YY_BREAK
+case 913:
+YY_RULE_SETUP
+#line 2573 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x0a') ;
+ }
+ YY_BREAK
+case 914:
+YY_RULE_SETUP
+#line 2578 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x0a') ;
+ }
+ YY_BREAK
+case 915:
+YY_RULE_SETUP
+#line 2583 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x0a') ;
+ }
+ YY_BREAK
+case 916:
+YY_RULE_SETUP
+#line 2588 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x0a') ;
+ }
+ YY_BREAK
+case 917:
+YY_RULE_SETUP
+#line 2593 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x0a') ;
+ }
+ YY_BREAK
+case 918:
+YY_RULE_SETUP
+#line 2598 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x0a') ;
+ }
+ YY_BREAK
+case 919:
+YY_RULE_SETUP
+#line 2603 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x0a') ;
+ }
+ YY_BREAK
+case 920:
+YY_RULE_SETUP
+#line 2608 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x0a') ;
+ }
+ YY_BREAK
+case 921:
+YY_RULE_SETUP
+#line 2613 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x0a') ;
+ }
+ YY_BREAK
+case 922:
+YY_RULE_SETUP
+#line 2618 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x0a') ;
+ }
+ YY_BREAK
+case 923:
+YY_RULE_SETUP
+#line 2623 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x0a') ;
+ }
+ YY_BREAK
+case 924:
+YY_RULE_SETUP
+#line 2628 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x0a') ;
+ }
+ YY_BREAK
+case 925:
+YY_RULE_SETUP
+#line 2633 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x0a') ;
+ }
+ YY_BREAK
+case 926:
+YY_RULE_SETUP
+#line 2638 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x0a') ;
+ }
+ YY_BREAK
+case 927:
+YY_RULE_SETUP
+#line 2643 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x0a') ;
+ }
+ YY_BREAK
+case 928:
+YY_RULE_SETUP
+#line 2648 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x0a') ;
+ }
+ YY_BREAK
+case 929:
+YY_RULE_SETUP
+#line 2653 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x0a') ;
+ }
+ YY_BREAK
+case 930:
+YY_RULE_SETUP
+#line 2658 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x0a') ;
+ }
+ YY_BREAK
+case 931:
+YY_RULE_SETUP
+#line 2663 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x0a') ;
+ }
+ YY_BREAK
+case 932:
+YY_RULE_SETUP
+#line 2668 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x0a') ;
+ }
+ YY_BREAK
+case 933:
+YY_RULE_SETUP
+#line 2673 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x0a') ;
+ }
+ YY_BREAK
+case 934:
+YY_RULE_SETUP
+#line 2678 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x0a') ;
+ }
+ YY_BREAK
+case 935:
+YY_RULE_SETUP
+#line 2683 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x0a') ;
+ }
+ YY_BREAK
+case 936:
+YY_RULE_SETUP
+#line 2688 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x0a') ;
+ }
+ YY_BREAK
+case 937:
+YY_RULE_SETUP
+#line 2693 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x15') ;
+ }
+ YY_BREAK
+case 938:
+YY_RULE_SETUP
+#line 2698 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x15') ;
+ }
+ YY_BREAK
+case 939:
+YY_RULE_SETUP
+#line 2703 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x15') ;
+ }
+ YY_BREAK
+case 940:
+YY_RULE_SETUP
+#line 2708 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x15') ;
+ }
+ YY_BREAK
+case 941:
+YY_RULE_SETUP
+#line 2713 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x15') ;
+ }
+ YY_BREAK
+case 942:
+YY_RULE_SETUP
+#line 2718 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x15') ;
+ }
+ YY_BREAK
+case 943:
+YY_RULE_SETUP
+#line 2723 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x15') ;
+ }
+ YY_BREAK
+case 944:
+YY_RULE_SETUP
+#line 2728 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x15') ;
+ }
+ YY_BREAK
+case 945:
+YY_RULE_SETUP
+#line 2733 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x15') ;
+ }
+ YY_BREAK
+case 946:
+YY_RULE_SETUP
+#line 2738 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x15') ;
+ }
+ YY_BREAK
+case 947:
+YY_RULE_SETUP
+#line 2743 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x15') ;
+ }
+ YY_BREAK
+case 948:
+YY_RULE_SETUP
+#line 2748 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x15') ;
+ }
+ YY_BREAK
+case 949:
+YY_RULE_SETUP
+#line 2753 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x15') ;
+ }
+ YY_BREAK
+case 950:
+YY_RULE_SETUP
+#line 2758 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x15') ;
+ }
+ YY_BREAK
+case 951:
+YY_RULE_SETUP
+#line 2763 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x15') ;
+ }
+ YY_BREAK
+case 952:
+YY_RULE_SETUP
+#line 2768 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x15') ;
+ }
+ YY_BREAK
+case 953:
+YY_RULE_SETUP
+#line 2773 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x15') ;
+ }
+ YY_BREAK
+case 954:
+YY_RULE_SETUP
+#line 2778 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x15') ;
+ }
+ YY_BREAK
+case 955:
+YY_RULE_SETUP
+#line 2783 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x15') ;
+ }
+ YY_BREAK
+case 956:
+YY_RULE_SETUP
+#line 2788 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x15') ;
+ }
+ YY_BREAK
+case 957:
+YY_RULE_SETUP
+#line 2793 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x15') ;
+ }
+ YY_BREAK
+case 958:
+YY_RULE_SETUP
+#line 2798 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x15') ;
+ }
+ YY_BREAK
+case 959:
+YY_RULE_SETUP
+#line 2803 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x15') ;
+ }
+ YY_BREAK
+case 960:
+YY_RULE_SETUP
+#line 2808 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x15') ;
+ }
+ YY_BREAK
+case 961:
+YY_RULE_SETUP
+#line 2813 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x15') ;
+ }
+ YY_BREAK
+case 962:
+YY_RULE_SETUP
+#line 2818 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x0b') ;
+ }
+ YY_BREAK
+case 963:
+YY_RULE_SETUP
+#line 2823 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x0b') ;
+ }
+ YY_BREAK
+case 964:
+YY_RULE_SETUP
+#line 2828 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x0b') ;
+ }
+ YY_BREAK
+case 965:
+YY_RULE_SETUP
+#line 2833 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x0b') ;
+ }
+ YY_BREAK
+case 966:
+YY_RULE_SETUP
+#line 2838 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x0b') ;
+ }
+ YY_BREAK
+case 967:
+YY_RULE_SETUP
+#line 2843 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x0b') ;
+ }
+ YY_BREAK
+case 968:
+YY_RULE_SETUP
+#line 2848 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x0b') ;
+ }
+ YY_BREAK
+case 969:
+YY_RULE_SETUP
+#line 2853 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x0b') ;
+ }
+ YY_BREAK
+case 970:
+YY_RULE_SETUP
+#line 2858 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x0b') ;
+ }
+ YY_BREAK
+case 971:
+YY_RULE_SETUP
+#line 2863 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x0b') ;
+ }
+ YY_BREAK
+case 972:
+YY_RULE_SETUP
+#line 2868 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x0b') ;
+ }
+ YY_BREAK
+case 973:
+YY_RULE_SETUP
+#line 2873 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x0b') ;
+ }
+ YY_BREAK
+case 974:
+YY_RULE_SETUP
+#line 2878 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x0b') ;
+ }
+ YY_BREAK
+case 975:
+YY_RULE_SETUP
+#line 2883 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x0b') ;
+ }
+ YY_BREAK
+case 976:
+YY_RULE_SETUP
+#line 2888 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x0b') ;
+ }
+ YY_BREAK
+case 977:
+YY_RULE_SETUP
+#line 2893 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x0b') ;
+ }
+ YY_BREAK
+case 978:
+YY_RULE_SETUP
+#line 2898 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x0b') ;
+ }
+ YY_BREAK
+case 979:
+YY_RULE_SETUP
+#line 2903 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x0b') ;
+ }
+ YY_BREAK
+case 980:
+YY_RULE_SETUP
+#line 2908 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x0b') ;
+ }
+ YY_BREAK
+case 981:
+YY_RULE_SETUP
+#line 2913 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x0b') ;
+ }
+ YY_BREAK
+case 982:
+YY_RULE_SETUP
+#line 2918 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x0b') ;
+ }
+ YY_BREAK
+case 983:
+YY_RULE_SETUP
+#line 2923 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x0b') ;
+ }
+ YY_BREAK
+case 984:
+YY_RULE_SETUP
+#line 2928 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x0b') ;
+ }
+ YY_BREAK
+case 985:
+YY_RULE_SETUP
+#line 2933 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x0b') ;
+ }
+ YY_BREAK
+case 986:
+YY_RULE_SETUP
+#line 2938 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x0b') ;
+ }
+ YY_BREAK
+case 987:
+YY_RULE_SETUP
+#line 2943 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x10') ;
+ }
+ YY_BREAK
+case 988:
+YY_RULE_SETUP
+#line 2948 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x10') ;
+ }
+ YY_BREAK
+case 989:
+YY_RULE_SETUP
+#line 2953 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x10') ;
+ }
+ YY_BREAK
+case 990:
+YY_RULE_SETUP
+#line 2958 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x10') ;
+ }
+ YY_BREAK
+case 991:
+YY_RULE_SETUP
+#line 2963 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x10') ;
+ }
+ YY_BREAK
+case 992:
+YY_RULE_SETUP
+#line 2968 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x10') ;
+ }
+ YY_BREAK
+case 993:
+YY_RULE_SETUP
+#line 2973 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x10') ;
+ }
+ YY_BREAK
+case 994:
+YY_RULE_SETUP
+#line 2978 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x10') ;
+ }
+ YY_BREAK
+case 995:
+YY_RULE_SETUP
+#line 2983 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x10') ;
+ }
+ YY_BREAK
+case 996:
+YY_RULE_SETUP
+#line 2988 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x10') ;
+ }
+ YY_BREAK
+case 997:
+YY_RULE_SETUP
+#line 2993 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x10') ;
+ }
+ YY_BREAK
+case 998:
+YY_RULE_SETUP
+#line 2998 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x10') ;
+ }
+ YY_BREAK
+case 999:
+YY_RULE_SETUP
+#line 3003 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x10') ;
+ }
+ YY_BREAK
+case 1000:
+YY_RULE_SETUP
+#line 3008 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x10') ;
+ }
+ YY_BREAK
+case 1001:
+YY_RULE_SETUP
+#line 3013 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x10') ;
+ }
+ YY_BREAK
+case 1002:
+YY_RULE_SETUP
+#line 3018 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x10') ;
+ }
+ YY_BREAK
+case 1003:
+YY_RULE_SETUP
+#line 3023 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x10') ;
+ }
+ YY_BREAK
+case 1004:
+YY_RULE_SETUP
+#line 3028 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x10') ;
+ }
+ YY_BREAK
+case 1005:
+YY_RULE_SETUP
+#line 3033 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x10') ;
+ }
+ YY_BREAK
+case 1006:
+YY_RULE_SETUP
+#line 3038 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x10') ;
+ }
+ YY_BREAK
+case 1007:
+YY_RULE_SETUP
+#line 3043 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x10') ;
+ }
+ YY_BREAK
+case 1008:
+YY_RULE_SETUP
+#line 3048 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x10') ;
+ }
+ YY_BREAK
+case 1009:
+YY_RULE_SETUP
+#line 3053 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x10') ;
+ }
+ YY_BREAK
+case 1010:
+YY_RULE_SETUP
+#line 3058 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x10') ;
+ }
+ YY_BREAK
+case 1011:
+YY_RULE_SETUP
+#line 3063 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x10') ;
+ }
+ YY_BREAK
+case 1012:
+YY_RULE_SETUP
+#line 3068 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x27') ;
+ }
+ YY_BREAK
+case 1013:
+YY_RULE_SETUP
+#line 3073 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x27') ;
+ }
+ YY_BREAK
+case 1014:
+YY_RULE_SETUP
+#line 3078 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x27') ;
+ }
+ YY_BREAK
+case 1015:
+YY_RULE_SETUP
+#line 3083 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x27') ;
+ }
+ YY_BREAK
+case 1016:
+YY_RULE_SETUP
+#line 3088 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x27') ;
+ }
+ YY_BREAK
+case 1017:
+YY_RULE_SETUP
+#line 3093 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x27') ;
+ }
+ YY_BREAK
+case 1018:
+YY_RULE_SETUP
+#line 3098 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x27') ;
+ }
+ YY_BREAK
+case 1019:
+YY_RULE_SETUP
+#line 3103 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x27') ;
+ }
+ YY_BREAK
+case 1020:
+YY_RULE_SETUP
+#line 3108 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x27') ;
+ }
+ YY_BREAK
+case 1021:
+YY_RULE_SETUP
+#line 3113 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x27') ;
+ }
+ YY_BREAK
+case 1022:
+YY_RULE_SETUP
+#line 3118 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x27') ;
+ }
+ YY_BREAK
+case 1023:
+YY_RULE_SETUP
+#line 3123 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x27') ;
+ }
+ YY_BREAK
+case 1024:
+YY_RULE_SETUP
+#line 3128 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x27') ;
+ }
+ YY_BREAK
+case 1025:
+YY_RULE_SETUP
+#line 3133 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x27') ;
+ }
+ YY_BREAK
+case 1026:
+YY_RULE_SETUP
+#line 3138 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x27') ;
+ }
+ YY_BREAK
+case 1027:
+YY_RULE_SETUP
+#line 3143 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x27') ;
+ }
+ YY_BREAK
+case 1028:
+YY_RULE_SETUP
+#line 3148 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x27') ;
+ }
+ YY_BREAK
+case 1029:
+YY_RULE_SETUP
+#line 3153 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x27') ;
+ }
+ YY_BREAK
+case 1030:
+YY_RULE_SETUP
+#line 3158 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x27') ;
+ }
+ YY_BREAK
+case 1031:
+YY_RULE_SETUP
+#line 3163 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x27') ;
+ }
+ YY_BREAK
+case 1032:
+YY_RULE_SETUP
+#line 3168 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x27') ;
+ }
+ YY_BREAK
+case 1033:
+YY_RULE_SETUP
+#line 3173 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x27') ;
+ }
+ YY_BREAK
+case 1034:
+YY_RULE_SETUP
+#line 3178 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x27') ;
+ }
+ YY_BREAK
+case 1035:
+YY_RULE_SETUP
+#line 3183 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x27') ;
+ }
+ YY_BREAK
+case 1036:
+YY_RULE_SETUP
+#line 3188 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x27') ;
+ }
+ YY_BREAK
+case 1037:
+YY_RULE_SETUP
+#line 3193 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x28') ;
+ }
+ YY_BREAK
+case 1038:
+YY_RULE_SETUP
+#line 3198 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x28') ;
+ }
+ YY_BREAK
+case 1039:
+YY_RULE_SETUP
+#line 3203 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x28') ;
+ }
+ YY_BREAK
+case 1040:
+YY_RULE_SETUP
+#line 3208 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x28') ;
+ }
+ YY_BREAK
+case 1041:
+YY_RULE_SETUP
+#line 3213 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x28') ;
+ }
+ YY_BREAK
+case 1042:
+YY_RULE_SETUP
+#line 3218 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x28') ;
+ }
+ YY_BREAK
+case 1043:
+YY_RULE_SETUP
+#line 3223 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x28') ;
+ }
+ YY_BREAK
+case 1044:
+YY_RULE_SETUP
+#line 3228 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x28') ;
+ }
+ YY_BREAK
+case 1045:
+YY_RULE_SETUP
+#line 3233 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x28') ;
+ }
+ YY_BREAK
+case 1046:
+YY_RULE_SETUP
+#line 3238 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x28') ;
+ }
+ YY_BREAK
+case 1047:
+YY_RULE_SETUP
+#line 3243 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x28') ;
+ }
+ YY_BREAK
+case 1048:
+YY_RULE_SETUP
+#line 3248 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x28') ;
+ }
+ YY_BREAK
+case 1049:
+YY_RULE_SETUP
+#line 3253 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x28') ;
+ }
+ YY_BREAK
+case 1050:
+YY_RULE_SETUP
+#line 3258 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x28') ;
+ }
+ YY_BREAK
+case 1051:
+YY_RULE_SETUP
+#line 3263 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x28') ;
+ }
+ YY_BREAK
+case 1052:
+YY_RULE_SETUP
+#line 3268 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x28') ;
+ }
+ YY_BREAK
+case 1053:
+YY_RULE_SETUP
+#line 3273 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x28') ;
+ }
+ YY_BREAK
+case 1054:
+YY_RULE_SETUP
+#line 3278 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x28') ;
+ }
+ YY_BREAK
+case 1055:
+YY_RULE_SETUP
+#line 3283 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x28') ;
+ }
+ YY_BREAK
+case 1056:
+YY_RULE_SETUP
+#line 3288 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x28') ;
+ }
+ YY_BREAK
+case 1057:
+YY_RULE_SETUP
+#line 3293 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x28') ;
+ }
+ YY_BREAK
+case 1058:
+YY_RULE_SETUP
+#line 3298 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x28') ;
+ }
+ YY_BREAK
+case 1059:
+YY_RULE_SETUP
+#line 3303 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x28') ;
+ }
+ YY_BREAK
+case 1060:
+YY_RULE_SETUP
+#line 3308 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x28') ;
+ }
+ YY_BREAK
+case 1061:
+YY_RULE_SETUP
+#line 3313 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x28') ;
+ }
+ YY_BREAK
+case 1062:
+YY_RULE_SETUP
+#line 3318 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x23') ;
+ }
+ YY_BREAK
+case 1063:
+YY_RULE_SETUP
+#line 3323 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x23') ;
+ }
+ YY_BREAK
+case 1064:
+YY_RULE_SETUP
+#line 3328 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x23') ;
+ }
+ YY_BREAK
+case 1065:
+YY_RULE_SETUP
+#line 3333 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x23') ;
+ }
+ YY_BREAK
+case 1066:
+YY_RULE_SETUP
+#line 3338 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x23') ;
+ }
+ YY_BREAK
+case 1067:
+YY_RULE_SETUP
+#line 3343 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x23') ;
+ }
+ YY_BREAK
+case 1068:
+YY_RULE_SETUP
+#line 3348 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x23') ;
+ }
+ YY_BREAK
+case 1069:
+YY_RULE_SETUP
+#line 3353 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x23') ;
+ }
+ YY_BREAK
+case 1070:
+YY_RULE_SETUP
+#line 3358 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x23') ;
+ }
+ YY_BREAK
+case 1071:
+YY_RULE_SETUP
+#line 3363 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x23') ;
+ }
+ YY_BREAK
+case 1072:
+YY_RULE_SETUP
+#line 3368 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x23') ;
+ }
+ YY_BREAK
+case 1073:
+YY_RULE_SETUP
+#line 3373 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x23') ;
+ }
+ YY_BREAK
+case 1074:
+YY_RULE_SETUP
+#line 3378 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x23') ;
+ }
+ YY_BREAK
+case 1075:
+YY_RULE_SETUP
+#line 3383 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x23') ;
+ }
+ YY_BREAK
+case 1076:
+YY_RULE_SETUP
+#line 3388 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x23') ;
+ }
+ YY_BREAK
+case 1077:
+YY_RULE_SETUP
+#line 3393 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x23') ;
+ }
+ YY_BREAK
+case 1078:
+YY_RULE_SETUP
+#line 3398 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x23') ;
+ }
+ YY_BREAK
+case 1079:
+YY_RULE_SETUP
+#line 3403 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x23') ;
+ }
+ YY_BREAK
+case 1080:
+YY_RULE_SETUP
+#line 3408 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x23') ;
+ }
+ YY_BREAK
+case 1081:
+YY_RULE_SETUP
+#line 3413 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x23') ;
+ }
+ YY_BREAK
+case 1082:
+YY_RULE_SETUP
+#line 3418 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x23') ;
+ }
+ YY_BREAK
+case 1083:
+YY_RULE_SETUP
+#line 3423 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x23') ;
+ }
+ YY_BREAK
+case 1084:
+YY_RULE_SETUP
+#line 3428 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x23') ;
+ }
+ YY_BREAK
+case 1085:
+YY_RULE_SETUP
+#line 3433 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x23') ;
+ }
+ YY_BREAK
+case 1086:
+YY_RULE_SETUP
+#line 3438 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x23') ;
+ }
+ YY_BREAK
+case 1087:
+YY_RULE_SETUP
+#line 3443 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x24') ;
+ }
+ YY_BREAK
+case 1088:
+YY_RULE_SETUP
+#line 3448 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x24') ;
+ }
+ YY_BREAK
+case 1089:
+YY_RULE_SETUP
+#line 3453 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x24') ;
+ }
+ YY_BREAK
+case 1090:
+YY_RULE_SETUP
+#line 3458 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x24') ;
+ }
+ YY_BREAK
+case 1091:
+YY_RULE_SETUP
+#line 3463 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x24') ;
+ }
+ YY_BREAK
+case 1092:
+YY_RULE_SETUP
+#line 3468 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x24') ;
+ }
+ YY_BREAK
+case 1093:
+YY_RULE_SETUP
+#line 3473 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x24') ;
+ }
+ YY_BREAK
+case 1094:
+YY_RULE_SETUP
+#line 3478 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x24') ;
+ }
+ YY_BREAK
+case 1095:
+YY_RULE_SETUP
+#line 3483 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x24') ;
+ }
+ YY_BREAK
+case 1096:
+YY_RULE_SETUP
+#line 3488 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x24') ;
+ }
+ YY_BREAK
+case 1097:
+YY_RULE_SETUP
+#line 3493 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x24') ;
+ }
+ YY_BREAK
+case 1098:
+YY_RULE_SETUP
+#line 3498 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x24') ;
+ }
+ YY_BREAK
+case 1099:
+YY_RULE_SETUP
+#line 3503 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x24') ;
+ }
+ YY_BREAK
+case 1100:
+YY_RULE_SETUP
+#line 3508 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x24') ;
+ }
+ YY_BREAK
+case 1101:
+YY_RULE_SETUP
+#line 3513 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x24') ;
+ }
+ YY_BREAK
+case 1102:
+YY_RULE_SETUP
+#line 3518 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x24') ;
+ }
+ YY_BREAK
+case 1103:
+YY_RULE_SETUP
+#line 3523 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x24') ;
+ }
+ YY_BREAK
+case 1104:
+YY_RULE_SETUP
+#line 3528 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x24') ;
+ }
+ YY_BREAK
+case 1105:
+YY_RULE_SETUP
+#line 3533 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x24') ;
+ }
+ YY_BREAK
+case 1106:
+YY_RULE_SETUP
+#line 3538 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x24') ;
+ }
+ YY_BREAK
+case 1107:
+YY_RULE_SETUP
+#line 3543 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x24') ;
+ }
+ YY_BREAK
+case 1108:
+YY_RULE_SETUP
+#line 3548 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x24') ;
+ }
+ YY_BREAK
+case 1109:
+YY_RULE_SETUP
+#line 3553 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x24') ;
+ }
+ YY_BREAK
+case 1110:
+YY_RULE_SETUP
+#line 3558 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x24') ;
+ }
+ YY_BREAK
+case 1111:
+YY_RULE_SETUP
+#line 3563 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x24') ;
+ }
+ YY_BREAK
+case 1112:
+YY_RULE_SETUP
+#line 3568 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x25') ;
+ }
+ YY_BREAK
+case 1113:
+YY_RULE_SETUP
+#line 3573 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x25') ;
+ }
+ YY_BREAK
+case 1114:
+YY_RULE_SETUP
+#line 3578 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x25') ;
+ }
+ YY_BREAK
+case 1115:
+YY_RULE_SETUP
+#line 3583 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x25') ;
+ }
+ YY_BREAK
+case 1116:
+YY_RULE_SETUP
+#line 3588 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x25') ;
+ }
+ YY_BREAK
+case 1117:
+YY_RULE_SETUP
+#line 3593 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x25') ;
+ }
+ YY_BREAK
+case 1118:
+YY_RULE_SETUP
+#line 3598 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x25') ;
+ }
+ YY_BREAK
+case 1119:
+YY_RULE_SETUP
+#line 3603 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x25') ;
+ }
+ YY_BREAK
+case 1120:
+YY_RULE_SETUP
+#line 3608 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x25') ;
+ }
+ YY_BREAK
+case 1121:
+YY_RULE_SETUP
+#line 3613 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x25') ;
+ }
+ YY_BREAK
+case 1122:
+YY_RULE_SETUP
+#line 3618 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x25') ;
+ }
+ YY_BREAK
+case 1123:
+YY_RULE_SETUP
+#line 3623 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x25') ;
+ }
+ YY_BREAK
+case 1124:
+YY_RULE_SETUP
+#line 3628 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x25') ;
+ }
+ YY_BREAK
+case 1125:
+YY_RULE_SETUP
+#line 3633 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x25') ;
+ }
+ YY_BREAK
+case 1126:
+YY_RULE_SETUP
+#line 3638 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x25') ;
+ }
+ YY_BREAK
+case 1127:
+YY_RULE_SETUP
+#line 3643 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x25') ;
+ }
+ YY_BREAK
+case 1128:
+YY_RULE_SETUP
+#line 3648 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x25') ;
+ }
+ YY_BREAK
+case 1129:
+YY_RULE_SETUP
+#line 3653 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x25') ;
+ }
+ YY_BREAK
+case 1130:
+YY_RULE_SETUP
+#line 3658 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x25') ;
+ }
+ YY_BREAK
+case 1131:
+YY_RULE_SETUP
+#line 3663 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x25') ;
+ }
+ YY_BREAK
+case 1132:
+YY_RULE_SETUP
+#line 3668 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x25') ;
+ }
+ YY_BREAK
+case 1133:
+YY_RULE_SETUP
+#line 3673 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x25') ;
+ }
+ YY_BREAK
+case 1134:
+YY_RULE_SETUP
+#line 3678 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x25') ;
+ }
+ YY_BREAK
+case 1135:
+YY_RULE_SETUP
+#line 3683 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x25') ;
+ }
+ YY_BREAK
+case 1136:
+YY_RULE_SETUP
+#line 3688 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x25') ;
+ }
+ YY_BREAK
+case 1137:
+YY_RULE_SETUP
+#line 3693 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x33') ;
+ }
+ YY_BREAK
+case 1138:
+YY_RULE_SETUP
+#line 3698 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x33') ;
+ }
+ YY_BREAK
+case 1139:
+YY_RULE_SETUP
+#line 3703 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x33') ;
+ }
+ YY_BREAK
+case 1140:
+YY_RULE_SETUP
+#line 3708 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x33') ;
+ }
+ YY_BREAK
+case 1141:
+YY_RULE_SETUP
+#line 3713 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x33') ;
+ }
+ YY_BREAK
+case 1142:
+YY_RULE_SETUP
+#line 3718 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x33') ;
+ }
+ YY_BREAK
+case 1143:
+YY_RULE_SETUP
+#line 3723 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x33') ;
+ }
+ YY_BREAK
+case 1144:
+YY_RULE_SETUP
+#line 3728 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x33') ;
+ }
+ YY_BREAK
+case 1145:
+YY_RULE_SETUP
+#line 3733 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x33') ;
+ }
+ YY_BREAK
+case 1146:
+YY_RULE_SETUP
+#line 3738 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x33') ;
+ }
+ YY_BREAK
+case 1147:
+YY_RULE_SETUP
+#line 3743 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x33') ;
+ }
+ YY_BREAK
+case 1148:
+YY_RULE_SETUP
+#line 3748 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x33') ;
+ }
+ YY_BREAK
+case 1149:
+YY_RULE_SETUP
+#line 3753 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x33') ;
+ }
+ YY_BREAK
+case 1150:
+YY_RULE_SETUP
+#line 3758 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x33') ;
+ }
+ YY_BREAK
+case 1151:
+YY_RULE_SETUP
+#line 3763 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x33') ;
+ }
+ YY_BREAK
+case 1152:
+YY_RULE_SETUP
+#line 3768 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x33') ;
+ }
+ YY_BREAK
+case 1153:
+YY_RULE_SETUP
+#line 3773 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x33') ;
+ }
+ YY_BREAK
+case 1154:
+YY_RULE_SETUP
+#line 3778 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x33') ;
+ }
+ YY_BREAK
+case 1155:
+YY_RULE_SETUP
+#line 3783 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x33') ;
+ }
+ YY_BREAK
+case 1156:
+YY_RULE_SETUP
+#line 3788 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x33') ;
+ }
+ YY_BREAK
+case 1157:
+YY_RULE_SETUP
+#line 3793 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x33') ;
+ }
+ YY_BREAK
+case 1158:
+YY_RULE_SETUP
+#line 3798 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x33') ;
+ }
+ YY_BREAK
+case 1159:
+YY_RULE_SETUP
+#line 3803 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x33') ;
+ }
+ YY_BREAK
+case 1160:
+YY_RULE_SETUP
+#line 3808 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x33') ;
+ }
+ YY_BREAK
+case 1161:
+YY_RULE_SETUP
+#line 3813 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x33') ;
+ }
+ YY_BREAK
+case 1162:
+YY_RULE_SETUP
+#line 3818 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x32') ;
+ }
+ YY_BREAK
+case 1163:
+YY_RULE_SETUP
+#line 3823 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x32') ;
+ }
+ YY_BREAK
+case 1164:
+YY_RULE_SETUP
+#line 3828 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x32') ;
+ }
+ YY_BREAK
+case 1165:
+YY_RULE_SETUP
+#line 3833 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x32') ;
+ }
+ YY_BREAK
+case 1166:
+YY_RULE_SETUP
+#line 3838 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x32') ;
+ }
+ YY_BREAK
+case 1167:
+YY_RULE_SETUP
+#line 3843 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x32') ;
+ }
+ YY_BREAK
+case 1168:
+YY_RULE_SETUP
+#line 3848 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x32') ;
+ }
+ YY_BREAK
+case 1169:
+YY_RULE_SETUP
+#line 3853 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x32') ;
+ }
+ YY_BREAK
+case 1170:
+YY_RULE_SETUP
+#line 3858 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x32') ;
+ }
+ YY_BREAK
+case 1171:
+YY_RULE_SETUP
+#line 3863 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x32') ;
+ }
+ YY_BREAK
+case 1172:
+YY_RULE_SETUP
+#line 3868 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x32') ;
+ }
+ YY_BREAK
+case 1173:
+YY_RULE_SETUP
+#line 3873 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x32') ;
+ }
+ YY_BREAK
+case 1174:
+YY_RULE_SETUP
+#line 3878 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x32') ;
+ }
+ YY_BREAK
+case 1175:
+YY_RULE_SETUP
+#line 3883 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x32') ;
+ }
+ YY_BREAK
+case 1176:
+YY_RULE_SETUP
+#line 3888 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x32') ;
+ }
+ YY_BREAK
+case 1177:
+YY_RULE_SETUP
+#line 3893 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x32') ;
+ }
+ YY_BREAK
+case 1178:
+YY_RULE_SETUP
+#line 3898 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x32') ;
+ }
+ YY_BREAK
+case 1179:
+YY_RULE_SETUP
+#line 3903 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x32') ;
+ }
+ YY_BREAK
+case 1180:
+YY_RULE_SETUP
+#line 3908 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x32') ;
+ }
+ YY_BREAK
+case 1181:
+YY_RULE_SETUP
+#line 3913 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x32') ;
+ }
+ YY_BREAK
+case 1182:
+YY_RULE_SETUP
+#line 3918 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x32') ;
+ }
+ YY_BREAK
+case 1183:
+YY_RULE_SETUP
+#line 3923 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x32') ;
+ }
+ YY_BREAK
+case 1184:
+YY_RULE_SETUP
+#line 3928 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x32') ;
+ }
+ YY_BREAK
+case 1185:
+YY_RULE_SETUP
+#line 3933 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x32') ;
+ }
+ YY_BREAK
+case 1186:
+YY_RULE_SETUP
+#line 3938 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x32') ;
+ }
+ YY_BREAK
+case 1187:
+YY_RULE_SETUP
+#line 3943 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x26') ;
+ }
+ YY_BREAK
+case 1188:
+YY_RULE_SETUP
+#line 3948 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x26') ;
+ }
+ YY_BREAK
+case 1189:
+YY_RULE_SETUP
+#line 3953 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x26') ;
+ }
+ YY_BREAK
+case 1190:
+YY_RULE_SETUP
+#line 3958 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x26') ;
+ }
+ YY_BREAK
+case 1191:
+YY_RULE_SETUP
+#line 3963 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x26') ;
+ }
+ YY_BREAK
+case 1192:
+YY_RULE_SETUP
+#line 3968 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x26') ;
+ }
+ YY_BREAK
+case 1193:
+YY_RULE_SETUP
+#line 3973 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x26') ;
+ }
+ YY_BREAK
+case 1194:
+YY_RULE_SETUP
+#line 3978 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x26') ;
+ }
+ YY_BREAK
+case 1195:
+YY_RULE_SETUP
+#line 3983 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x26') ;
+ }
+ YY_BREAK
+case 1196:
+YY_RULE_SETUP
+#line 3988 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x26') ;
+ }
+ YY_BREAK
+case 1197:
+YY_RULE_SETUP
+#line 3993 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x26') ;
+ }
+ YY_BREAK
+case 1198:
+YY_RULE_SETUP
+#line 3998 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x26') ;
+ }
+ YY_BREAK
+case 1199:
+YY_RULE_SETUP
+#line 4003 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x26') ;
+ }
+ YY_BREAK
+case 1200:
+YY_RULE_SETUP
+#line 4008 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x26') ;
+ }
+ YY_BREAK
+case 1201:
+YY_RULE_SETUP
+#line 4013 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x26') ;
+ }
+ YY_BREAK
+case 1202:
+YY_RULE_SETUP
+#line 4018 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x26') ;
+ }
+ YY_BREAK
+case 1203:
+YY_RULE_SETUP
+#line 4023 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x26') ;
+ }
+ YY_BREAK
+case 1204:
+YY_RULE_SETUP
+#line 4028 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x26') ;
+ }
+ YY_BREAK
+case 1205:
+YY_RULE_SETUP
+#line 4033 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x26') ;
+ }
+ YY_BREAK
+case 1206:
+YY_RULE_SETUP
+#line 4038 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x26') ;
+ }
+ YY_BREAK
+case 1207:
+YY_RULE_SETUP
+#line 4043 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x26') ;
+ }
+ YY_BREAK
+case 1208:
+YY_RULE_SETUP
+#line 4048 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x26') ;
+ }
+ YY_BREAK
+case 1209:
+YY_RULE_SETUP
+#line 4053 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x26') ;
+ }
+ YY_BREAK
+case 1210:
+YY_RULE_SETUP
+#line 4058 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x26') ;
+ }
+ YY_BREAK
+case 1211:
+YY_RULE_SETUP
+#line 4063 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x26') ;
+ }
+ YY_BREAK
+case 1212:
+YY_RULE_SETUP
+#line 4068 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x1c') ;
+ }
+ YY_BREAK
+case 1213:
+YY_RULE_SETUP
+#line 4073 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x1c') ;
+ }
+ YY_BREAK
+case 1214:
+YY_RULE_SETUP
+#line 4078 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x1c') ;
+ }
+ YY_BREAK
+case 1215:
+YY_RULE_SETUP
+#line 4083 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x1c') ;
+ }
+ YY_BREAK
+case 1216:
+YY_RULE_SETUP
+#line 4088 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x1c') ;
+ }
+ YY_BREAK
+case 1217:
+YY_RULE_SETUP
+#line 4093 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x1c') ;
+ }
+ YY_BREAK
+case 1218:
+YY_RULE_SETUP
+#line 4098 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x1c') ;
+ }
+ YY_BREAK
+case 1219:
+YY_RULE_SETUP
+#line 4103 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x1c') ;
+ }
+ YY_BREAK
+case 1220:
+YY_RULE_SETUP
+#line 4108 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x1c') ;
+ }
+ YY_BREAK
+case 1221:
+YY_RULE_SETUP
+#line 4113 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x1c') ;
+ }
+ YY_BREAK
+case 1222:
+YY_RULE_SETUP
+#line 4118 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x1c') ;
+ }
+ YY_BREAK
+case 1223:
+YY_RULE_SETUP
+#line 4123 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x1c') ;
+ }
+ YY_BREAK
+case 1224:
+YY_RULE_SETUP
+#line 4128 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x1c') ;
+ }
+ YY_BREAK
+case 1225:
+YY_RULE_SETUP
+#line 4133 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x1c') ;
+ }
+ YY_BREAK
+case 1226:
+YY_RULE_SETUP
+#line 4138 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x1c') ;
+ }
+ YY_BREAK
+case 1227:
+YY_RULE_SETUP
+#line 4143 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x1c') ;
+ }
+ YY_BREAK
+case 1228:
+YY_RULE_SETUP
+#line 4148 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x1c') ;
+ }
+ YY_BREAK
+case 1229:
+YY_RULE_SETUP
+#line 4153 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x1c') ;
+ }
+ YY_BREAK
+case 1230:
+YY_RULE_SETUP
+#line 4158 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x1c') ;
+ }
+ YY_BREAK
+case 1231:
+YY_RULE_SETUP
+#line 4163 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x1c') ;
+ }
+ YY_BREAK
+case 1232:
+YY_RULE_SETUP
+#line 4168 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x1c') ;
+ }
+ YY_BREAK
+case 1233:
+YY_RULE_SETUP
+#line 4173 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x1c') ;
+ }
+ YY_BREAK
+case 1234:
+YY_RULE_SETUP
+#line 4178 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x1c') ;
+ }
+ YY_BREAK
+case 1235:
+YY_RULE_SETUP
+#line 4183 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x1c') ;
+ }
+ YY_BREAK
+case 1236:
+YY_RULE_SETUP
+#line 4188 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x1c') ;
+ }
+ YY_BREAK
+case 1237:
+YY_RULE_SETUP
+#line 4193 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x2e') ;
+ }
+ YY_BREAK
+case 1238:
+YY_RULE_SETUP
+#line 4198 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x2e') ;
+ }
+ YY_BREAK
+case 1239:
+YY_RULE_SETUP
+#line 4203 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x2e') ;
+ }
+ YY_BREAK
+case 1240:
+YY_RULE_SETUP
+#line 4208 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x2e') ;
+ }
+ YY_BREAK
+case 1241:
+YY_RULE_SETUP
+#line 4213 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x2e') ;
+ }
+ YY_BREAK
+case 1242:
+YY_RULE_SETUP
+#line 4218 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x2e') ;
+ }
+ YY_BREAK
+case 1243:
+YY_RULE_SETUP
+#line 4223 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x2e') ;
+ }
+ YY_BREAK
+case 1244:
+YY_RULE_SETUP
+#line 4228 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x2e') ;
+ }
+ YY_BREAK
+case 1245:
+YY_RULE_SETUP
+#line 4233 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x2e') ;
+ }
+ YY_BREAK
+case 1246:
+YY_RULE_SETUP
+#line 4238 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x2e') ;
+ }
+ YY_BREAK
+case 1247:
+YY_RULE_SETUP
+#line 4243 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x2e') ;
+ }
+ YY_BREAK
+case 1248:
+YY_RULE_SETUP
+#line 4248 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x2e') ;
+ }
+ YY_BREAK
+case 1249:
+YY_RULE_SETUP
+#line 4253 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x2e') ;
+ }
+ YY_BREAK
+case 1250:
+YY_RULE_SETUP
+#line 4258 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x2e') ;
+ }
+ YY_BREAK
+case 1251:
+YY_RULE_SETUP
+#line 4263 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x2e') ;
+ }
+ YY_BREAK
+case 1252:
+YY_RULE_SETUP
+#line 4268 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x2e') ;
+ }
+ YY_BREAK
+case 1253:
+YY_RULE_SETUP
+#line 4273 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x2e') ;
+ }
+ YY_BREAK
+case 1254:
+YY_RULE_SETUP
+#line 4278 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x2e') ;
+ }
+ YY_BREAK
+case 1255:
+YY_RULE_SETUP
+#line 4283 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x2e') ;
+ }
+ YY_BREAK
+case 1256:
+YY_RULE_SETUP
+#line 4288 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x2e') ;
+ }
+ YY_BREAK
+case 1257:
+YY_RULE_SETUP
+#line 4293 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x2e') ;
+ }
+ YY_BREAK
+case 1258:
+YY_RULE_SETUP
+#line 4298 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x2e') ;
+ }
+ YY_BREAK
+case 1259:
+YY_RULE_SETUP
+#line 4303 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x2e') ;
+ }
+ YY_BREAK
+case 1260:
+YY_RULE_SETUP
+#line 4308 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x2e') ;
+ }
+ YY_BREAK
+case 1261:
+YY_RULE_SETUP
+#line 4313 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x2e') ;
+ }
+ YY_BREAK
+case 1262:
+YY_RULE_SETUP
+#line 4318 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x13') ;
+ }
+ YY_BREAK
+case 1263:
+YY_RULE_SETUP
+#line 4323 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x13') ;
+ }
+ YY_BREAK
+case 1264:
+YY_RULE_SETUP
+#line 4328 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x13') ;
+ }
+ YY_BREAK
+case 1265:
+YY_RULE_SETUP
+#line 4333 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x13') ;
+ }
+ YY_BREAK
+case 1266:
+YY_RULE_SETUP
+#line 4338 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x13') ;
+ }
+ YY_BREAK
+case 1267:
+YY_RULE_SETUP
+#line 4343 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x13') ;
+ }
+ YY_BREAK
+case 1268:
+YY_RULE_SETUP
+#line 4348 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x13') ;
+ }
+ YY_BREAK
+case 1269:
+YY_RULE_SETUP
+#line 4353 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x13') ;
+ }
+ YY_BREAK
+case 1270:
+YY_RULE_SETUP
+#line 4358 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x13') ;
+ }
+ YY_BREAK
+case 1271:
+YY_RULE_SETUP
+#line 4363 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x13') ;
+ }
+ YY_BREAK
+case 1272:
+YY_RULE_SETUP
+#line 4368 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x13') ;
+ }
+ YY_BREAK
+case 1273:
+YY_RULE_SETUP
+#line 4373 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x13') ;
+ }
+ YY_BREAK
+case 1274:
+YY_RULE_SETUP
+#line 4378 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x13') ;
+ }
+ YY_BREAK
+case 1275:
+YY_RULE_SETUP
+#line 4383 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x13') ;
+ }
+ YY_BREAK
+case 1276:
+YY_RULE_SETUP
+#line 4388 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x13') ;
+ }
+ YY_BREAK
+case 1277:
+YY_RULE_SETUP
+#line 4393 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x13') ;
+ }
+ YY_BREAK
+case 1278:
+YY_RULE_SETUP
+#line 4398 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x13') ;
+ }
+ YY_BREAK
+case 1279:
+YY_RULE_SETUP
+#line 4403 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x13') ;
+ }
+ YY_BREAK
+case 1280:
+YY_RULE_SETUP
+#line 4408 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x13') ;
+ }
+ YY_BREAK
+case 1281:
+YY_RULE_SETUP
+#line 4413 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x13') ;
+ }
+ YY_BREAK
+case 1282:
+YY_RULE_SETUP
+#line 4418 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x13') ;
+ }
+ YY_BREAK
+case 1283:
+YY_RULE_SETUP
+#line 4423 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x13') ;
+ }
+ YY_BREAK
+case 1284:
+YY_RULE_SETUP
+#line 4428 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x13') ;
+ }
+ YY_BREAK
+case 1285:
+YY_RULE_SETUP
+#line 4433 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x13') ;
+ }
+ YY_BREAK
+case 1286:
+YY_RULE_SETUP
+#line 4438 "ansel2uni.ll"
+{
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x13') ;
+ }
+ YY_BREAK
+case 1287:
+YY_RULE_SETUP
+#line 4444 "ansel2uni.ll"
+ECHO;
+ YY_BREAK
+#line 12357 "ansel2uni.cc"
+case YY_STATE_EOF(INITIAL):
+ yyterminate();
+
+ case YY_END_OF_BUFFER:
+ {
+ /* Amount of text matched not including the EOB char. */
+ int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
+
+ /* Undo the effects of YY_DO_BEFORE_ACTION. */
+ *yy_cp = (yy_hold_char);
+ YY_RESTORE_YY_MORE_OFFSET
+
+ if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
+ {
+ /* We're scanning a new file or input source. It's
+ * possible that this happened because the user
+ * just pointed yyin at a new source and called
+ * yylex(). If so, then we have to assure
+ * consistency between YY_CURRENT_BUFFER and our
+ * globals. Here is the right place to do so, because
+ * this is the first action (other than possibly a
+ * back-up) that will match for the new input source.
+ */
+ (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
+ YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
+ YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
+ }
+
+ /* Note that here we test for yy_c_buf_p "<=" to the position
+ * of the first EOB in the buffer, since yy_c_buf_p will
+ * already have been incremented past the NUL character
+ * (since all states make transitions on EOB to the
+ * end-of-buffer state). Contrast this with the test
+ * in input().
+ */
+ if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
+ { /* This was really a NUL. */
+ yy_state_type yy_next_state;
+
+ (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
+
+ yy_current_state = yy_get_previous_state( );
+
+ /* Okay, we're now positioned to make the NUL
+ * transition. We couldn't have
+ * yy_get_previous_state() go ahead and do it
+ * for us because it doesn't know how to deal
+ * with the possibility of jamming (and we don't
+ * want to build jamming into it because then it
+ * will run more slowly).
+ */
+
+ yy_next_state = yy_try_NUL_trans( yy_current_state );
+
+ yy_bp = (yytext_ptr) + YY_MORE_ADJ;
+
+ if ( yy_next_state )
+ {
+ /* Consume the NUL. */
+ yy_cp = ++(yy_c_buf_p);
+ yy_current_state = yy_next_state;
+ goto yy_match;
+ }
+
+ else
+ {
+ yy_cp = (yy_c_buf_p);
+ goto yy_find_action;
+ }
+ }
+
+ else switch ( yy_get_next_buffer( ) )
+ {
+ case EOB_ACT_END_OF_FILE:
+ {
+ (yy_did_buffer_switch_on_eof) = 0;
+
+ if ( yywrap( ) )
+ {
+ /* Note: because we've taken care in
+ * yy_get_next_buffer() to have set up
+ * yytext, we can now set up
+ * yy_c_buf_p so that if some total
+ * hoser (like flex itself) wants to
+ * call the scanner after we return the
+ * YY_NULL, it'll still work - another
+ * YY_NULL will get returned.
+ */
+ (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
+
+ yy_act = YY_STATE_EOF(YY_START);
+ goto do_action;
+ }
+
+ else
+ {
+ if ( ! (yy_did_buffer_switch_on_eof) )
+ YY_NEW_FILE;
+ }
+ break;
+ }
+
+ case EOB_ACT_CONTINUE_SCAN:
+ (yy_c_buf_p) =
+ (yytext_ptr) + yy_amount_of_matched_text;
+
+ yy_current_state = yy_get_previous_state( );
+
+ yy_cp = (yy_c_buf_p);
+ yy_bp = (yytext_ptr) + YY_MORE_ADJ;
+ goto yy_match;
+
+ case EOB_ACT_LAST_MATCH:
+ (yy_c_buf_p) =
+ &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
+
+ yy_current_state = yy_get_previous_state( );
+
+ yy_cp = (yy_c_buf_p);
+ yy_bp = (yytext_ptr) + YY_MORE_ADJ;
+ goto yy_find_action;
+ }
+ break;
+ }
+
+ default:
+ YY_FATAL_ERROR(
+ "fatal flex scanner internal error--no action found" );
+ } /* end of action switch */
+ } /* end of scanning one token */
+} /* end of yylex */
+
+/* yy_get_next_buffer - try to read in a new buffer
+ *
+ * Returns a code representing an action:
+ * EOB_ACT_LAST_MATCH -
+ * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
+ * EOB_ACT_END_OF_FILE - end of file
+ */
+static int yy_get_next_buffer (void)
+{
+ register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
+ register char *source = (yytext_ptr);
+ register int number_to_move, i;
+ int ret_val;
+
+ if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
+ YY_FATAL_ERROR(
+ "fatal flex scanner internal error--end of buffer missed" );
+
+ if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
+ { /* Don't try to fill the buffer, so this is an EOF. */
+ if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
+ {
+ /* We matched a single character, the EOB, so
+ * treat this as a final EOF.
+ */
+ return EOB_ACT_END_OF_FILE;
+ }
+
+ else
+ {
+ /* We matched some text prior to the EOB, first
+ * process it.
+ */
+ return EOB_ACT_LAST_MATCH;
+ }
+ }
+
+ /* Try to read more data. */
+
+ /* First move last chars to start of buffer. */
+ number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
+
+ for ( i = 0; i < number_to_move; ++i )
+ *(dest++) = *(source++);
+
+ if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
+ /* don't do the read, it's not guaranteed to return an EOF,
+ * just force an EOF
+ */
+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
+
+ else
+ {
+ yy_size_t num_to_read =
+ YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
+
+ while ( num_to_read <= 0 )
+ { /* Not enough room in the buffer - grow it. */
+
+ /* just a shorter name for the current buffer */
+ YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE;
+
+ int yy_c_buf_p_offset =
+ (int) ((yy_c_buf_p) - b->yy_ch_buf);
+
+ if ( b->yy_is_our_buffer )
+ {
+ yy_size_t new_size = b->yy_buf_size * 2;
+
+ if ( new_size <= 0 )
+ b->yy_buf_size += b->yy_buf_size / 8;
+ else
+ b->yy_buf_size *= 2;
+
+ b->yy_ch_buf = (char *)
+ /* Include room in for 2 EOB chars. */
+ yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 );
+ }
+ else
+ /* Can't grow it, we don't own it. */
+ b->yy_ch_buf = 0;
+
+ if ( ! b->yy_ch_buf )
+ YY_FATAL_ERROR(
+ "fatal error - scanner input buffer overflow" );
+
+ (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset];
+
+ num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
+ number_to_move - 1;
+
+ }
+
+ if ( num_to_read > YY_READ_BUF_SIZE )
+ num_to_read = YY_READ_BUF_SIZE;
+
+ /* Read in more data. */
+ YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
+ (yy_n_chars), num_to_read );
+
+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
+ }
+
+ if ( (yy_n_chars) == 0 )
+ {
+ if ( number_to_move == YY_MORE_ADJ )
+ {
+ ret_val = EOB_ACT_END_OF_FILE;
+ yyrestart(yyin );
+ }
+
+ else
+ {
+ ret_val = EOB_ACT_LAST_MATCH;
+ YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
+ YY_BUFFER_EOF_PENDING;
+ }
+ }
+
+ else
+ ret_val = EOB_ACT_CONTINUE_SCAN;
+
+ if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
+ /* Extend the array by 50%, plus the number we really need. */
+ yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
+ YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
+ if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
+ YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
+ }
+
+ (yy_n_chars) += number_to_move;
+ YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
+ YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
+
+ (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
+
+ return ret_val;
+}
+
+/* yy_get_previous_state - get the state just before the EOB char was reached */
+
+ static yy_state_type yy_get_previous_state (void)
+{
+ register yy_state_type yy_current_state;
+ register char *yy_cp;
+
+ yy_current_state = (yy_start);
+
+ for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
+ {
+ register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
+ if ( yy_accept[yy_current_state] )
+ {
+ (yy_last_accepting_state) = yy_current_state;
+ (yy_last_accepting_cpos) = yy_cp;
+ }
+ while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
+ {
+ yy_current_state = (int) yy_def[yy_current_state];
+ if ( yy_current_state >= 2590 )
+ yy_c = yy_meta[(unsigned int) yy_c];
+ }
+ yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
+ }
+
+ return yy_current_state;
+}
+
+/* yy_try_NUL_trans - try to make a transition on the NUL character
+ *
+ * synopsis
+ * next_state = yy_try_NUL_trans( current_state );
+ */
+ static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
+{
+ register int yy_is_jam;
+ register char *yy_cp = (yy_c_buf_p);
+
+ register YY_CHAR yy_c = 1;
+ if ( yy_accept[yy_current_state] )
+ {
+ (yy_last_accepting_state) = yy_current_state;
+ (yy_last_accepting_cpos) = yy_cp;
+ }
+ while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
+ {
+ yy_current_state = (int) yy_def[yy_current_state];
+ if ( yy_current_state >= 2590 )
+ yy_c = yy_meta[(unsigned int) yy_c];
+ }
+ yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
+ yy_is_jam = (yy_current_state == 2589);
+
+ return yy_is_jam ? 0 : yy_current_state;
+}
+
+ static void yyunput (int c, register char * yy_bp )
+{
+ register char *yy_cp;
+
+ yy_cp = (yy_c_buf_p);
+
+ /* undo effects of setting up yytext */
+ *yy_cp = (yy_hold_char);
+
+ if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
+ { /* need to shift things up to make room */
+ /* +2 for EOB chars. */
+ register yy_size_t number_to_move = (yy_n_chars) + 2;
+ register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
+ YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
+ register char *source =
+ &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
+
+ while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
+ *--dest = *--source;
+
+ yy_cp += (int) (dest - source);
+ yy_bp += (int) (dest - source);
+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
+ (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
+
+ if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
+ YY_FATAL_ERROR( "flex scanner push-back overflow" );
+ }
+
+ *--yy_cp = (char) c;
+
+ (yytext_ptr) = yy_bp;
+ (yy_hold_char) = *yy_cp;
+ (yy_c_buf_p) = yy_cp;
+}
+
+#ifndef YY_NO_INPUT
+#ifdef __cplusplus
+ static int yyinput (void)
+#else
+ static int input (void)
+#endif
+
+{
+ int c;
+
+ *(yy_c_buf_p) = (yy_hold_char);
+
+ if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
+ {
+ /* yy_c_buf_p now points to the character we want to return.
+ * If this occurs *before* the EOB characters, then it's a
+ * valid NUL; if not, then we've hit the end of the buffer.
+ */
+ if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
+ /* This was really a NUL. */
+ *(yy_c_buf_p) = '\0';
+
+ else
+ { /* need more input */
+ yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
+ ++(yy_c_buf_p);
+
+ switch ( yy_get_next_buffer( ) )
+ {
+ case EOB_ACT_LAST_MATCH:
+ /* This happens because yy_g_n_b()
+ * sees that we've accumulated a
+ * token and flags that we need to
+ * try matching the token before
+ * proceeding. But for input(),
+ * there's no matching to consider.
+ * So convert the EOB_ACT_LAST_MATCH
+ * to EOB_ACT_END_OF_FILE.
+ */
+
+ /* Reset buffer status. */
+ yyrestart(yyin );
+
+ /*FALLTHROUGH*/
+
+ case EOB_ACT_END_OF_FILE:
+ {
+ if ( yywrap( ) )
+ return EOF;
+
+ if ( ! (yy_did_buffer_switch_on_eof) )
+ YY_NEW_FILE;
+#ifdef __cplusplus
+ return yyinput();
+#else
+ return input();
+#endif
+ }
+
+ case EOB_ACT_CONTINUE_SCAN:
+ (yy_c_buf_p) = (yytext_ptr) + offset;
+ break;
+ }
+ }
+ }
+
+ c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
+ *(yy_c_buf_p) = '\0'; /* preserve yytext */
+ (yy_hold_char) = *++(yy_c_buf_p);
+
+ return c;
+}
+#endif /* ifndef YY_NO_INPUT */
+
+/** Immediately switch to a different input stream.
+ * @param input_file A readable stream.
+ *
+ * @note This function does not reset the start condition to @c INITIAL .
+ */
+ void yyrestart (FILE * input_file )
+{
+
+ if ( ! YY_CURRENT_BUFFER ){
+ yyensure_buffer_stack ();
+ YY_CURRENT_BUFFER_LVALUE =
+ yy_create_buffer(yyin,YY_BUF_SIZE );
+ }
+
+ yy_init_buffer(YY_CURRENT_BUFFER,input_file );
+ yy_load_buffer_state( );
+}
+
+/** Switch to a different input buffer.
+ * @param new_buffer The new input buffer.
+ *
+ */
+ void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
+{
+
+ /* TODO. We should be able to replace this entire function body
+ * with
+ * yypop_buffer_state();
+ * yypush_buffer_state(new_buffer);
+ */
+ yyensure_buffer_stack ();
+ if ( YY_CURRENT_BUFFER == new_buffer )
+ return;
+
+ if ( YY_CURRENT_BUFFER )
+ {
+ /* Flush out information for old buffer. */
+ *(yy_c_buf_p) = (yy_hold_char);
+ YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
+ }
+
+ YY_CURRENT_BUFFER_LVALUE = new_buffer;
+ yy_load_buffer_state( );
+
+ /* We don't actually know whether we did this switch during
+ * EOF (yywrap()) processing, but the only time this flag
+ * is looked at is after yywrap() is called, so it's safe
+ * to go ahead and always set it.
+ */
+ (yy_did_buffer_switch_on_eof) = 1;
+}
+
+static void yy_load_buffer_state (void)
+{
+ (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
+ (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
+ yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
+ (yy_hold_char) = *(yy_c_buf_p);
+}
+
+/** Allocate and initialize an input buffer state.
+ * @param file A readable stream.
+ * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
+ *
+ * @return the allocated buffer state.
+ */
+ YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
+{
+ YY_BUFFER_STATE b;
+
+ b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
+ if ( ! b )
+ YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
+
+ b->yy_buf_size = size;
+
+ /* yy_ch_buf has to be 2 characters longer than the size given because
+ * we need to put in 2 end-of-buffer characters.
+ */
+ b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
+ if ( ! b->yy_ch_buf )
+ YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
+
+ b->yy_is_our_buffer = 1;
+
+ yy_init_buffer(b,file );
+
+ return b;
+}
+
+/** Destroy the buffer.
+ * @param b a buffer created with yy_create_buffer()
+ *
+ */
+ void yy_delete_buffer (YY_BUFFER_STATE b )
+{
+
+ if ( ! b )
+ return;
+
+ if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
+ YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
+
+ if ( b->yy_is_our_buffer )
+ yyfree((void *) b->yy_ch_buf );
+
+ yyfree((void *) b );
+}
+
+/* Initializes or reinitializes a buffer.
+ * This function is sometimes called more than once on the same buffer,
+ * such as during a yyrestart() or at EOF.
+ */
+ static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
+
+{
+ int oerrno = errno;
+
+ yy_flush_buffer(b );
+
+ b->yy_input_file = file;
+ b->yy_fill_buffer = 1;
+
+ /* If b is the current buffer, then yy_init_buffer was _probably_
+ * called from yyrestart() or through yy_get_next_buffer.
+ * In that case, we don't want to reset the lineno or column.
+ */
+ if (b != YY_CURRENT_BUFFER){
+ b->yy_bs_lineno = 1;
+ b->yy_bs_column = 0;
+ }
+
+ b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
+
+ errno = oerrno;
+}
+
+/** Discard all buffered characters. On the next scan, YY_INPUT will be called.
+ * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
+ *
+ */
+ void yy_flush_buffer (YY_BUFFER_STATE b )
+{
+ if ( ! b )
+ return;
+
+ b->yy_n_chars = 0;
+
+ /* We always need two end-of-buffer characters. The first causes
+ * a transition to the end-of-buffer state. The second causes
+ * a jam in that state.
+ */
+ b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
+ b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
+
+ b->yy_buf_pos = &b->yy_ch_buf[0];
+
+ b->yy_at_bol = 1;
+ b->yy_buffer_status = YY_BUFFER_NEW;
+
+ if ( b == YY_CURRENT_BUFFER )
+ yy_load_buffer_state( );
+}
+
+/** Pushes the new state onto the stack. The new state becomes
+ * the current state. This function will allocate the stack
+ * if necessary.
+ * @param new_buffer The new state.
+ *
+ */
+void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
+{
+ if (new_buffer == NULL)
+ return;
+
+ yyensure_buffer_stack();
+
+ /* This block is copied from yy_switch_to_buffer. */
+ if ( YY_CURRENT_BUFFER )
+ {
+ /* Flush out information for old buffer. */
+ *(yy_c_buf_p) = (yy_hold_char);
+ YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
+ }
+
+ /* Only push if top exists. Otherwise, replace top. */
+ if (YY_CURRENT_BUFFER)
+ (yy_buffer_stack_top)++;
+ YY_CURRENT_BUFFER_LVALUE = new_buffer;
+
+ /* copied from yy_switch_to_buffer. */
+ yy_load_buffer_state( );
+ (yy_did_buffer_switch_on_eof) = 1;
+}
+
+/** Removes and deletes the top of the stack, if present.
+ * The next element becomes the new top.
+ *
+ */
+void yypop_buffer_state (void)
+{
+ if (!YY_CURRENT_BUFFER)
+ return;
+
+ yy_delete_buffer(YY_CURRENT_BUFFER );
+ YY_CURRENT_BUFFER_LVALUE = NULL;
+ if ((yy_buffer_stack_top) > 0)
+ --(yy_buffer_stack_top);
+
+ if (YY_CURRENT_BUFFER) {
+ yy_load_buffer_state( );
+ (yy_did_buffer_switch_on_eof) = 1;
+ }
+}
+
+/* Allocates the stack if it does not exist.
+ * Guarantees space for at least one push.
+ */
+static void yyensure_buffer_stack (void)
+{
+ yy_size_t num_to_alloc;
+
+ if (!(yy_buffer_stack)) {
+
+ /* First allocation is just for 2 elements, since we don't know if this
+ * scanner will even need a stack. We use 2 instead of 1 to avoid an
+ * immediate realloc on the next call.
+ */
+ num_to_alloc = 1;
+ (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
+ (num_to_alloc * sizeof(struct yy_buffer_state*)
+ );
+ if ( ! (yy_buffer_stack) )
+ YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
+
+ memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
+
+ (yy_buffer_stack_max) = num_to_alloc;
+ (yy_buffer_stack_top) = 0;
+ return;
+ }
+
+ if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
+
+ /* Increase the buffer to prepare for a possible push. */
+ int grow_size = 8 /* arbitrary grow size */;
+
+ num_to_alloc = (yy_buffer_stack_max) + grow_size;
+ (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
+ ((yy_buffer_stack),
+ num_to_alloc * sizeof(struct yy_buffer_state*)
+ );
+ if ( ! (yy_buffer_stack) )
+ YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
+
+ /* zero only the new slots.*/
+ memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
+ (yy_buffer_stack_max) = num_to_alloc;
+ }
+}
+
+/** Setup the input buffer state to scan directly from a user-specified character buffer.
+ * @param base the character buffer
+ * @param size the size in bytes of the character buffer
+ *
+ * @return the newly allocated buffer state object.
+ */
+YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
+{
+ YY_BUFFER_STATE b;
+
+ if ( size < 2 ||
+ base[size-2] != YY_END_OF_BUFFER_CHAR ||
+ base[size-1] != YY_END_OF_BUFFER_CHAR )
+ /* They forgot to leave room for the EOB's. */
+ return 0;
+
+ b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
+ if ( ! b )
+ YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
+
+ b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
+ b->yy_buf_pos = b->yy_ch_buf = base;
+ b->yy_is_our_buffer = 0;
+ b->yy_input_file = 0;
+ b->yy_n_chars = b->yy_buf_size;
+ b->yy_is_interactive = 0;
+ b->yy_at_bol = 1;
+ b->yy_fill_buffer = 0;
+ b->yy_buffer_status = YY_BUFFER_NEW;
+
+ yy_switch_to_buffer(b );
+
+ return b;
+}
+
+/** Setup the input buffer state to scan a string. The next call to yylex() will
+ * scan from a @e copy of @a str.
+ * @param yystr a NUL-terminated string to scan
+ *
+ * @return the newly allocated buffer state object.
+ * @note If you want to scan bytes that may contain NUL values, then use
+ * yy_scan_bytes() instead.
+ */
+YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
+{
+
+ return yy_scan_bytes(yystr,strlen(yystr) );
+}
+
+/** Setup the input buffer state to scan the given bytes. The next call to yylex() will
+ * scan from a @e copy of @a bytes.
+ * @param yybytes the byte buffer to scan
+ * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
+ *
+ * @return the newly allocated buffer state object.
+ */
+YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len )
+{
+ YY_BUFFER_STATE b;
+ char *buf;
+ yy_size_t n;
+ int i;
+
+ /* Get memory for full buffer, including space for trailing EOB's. */
+ n = _yybytes_len + 2;
+ buf = (char *) yyalloc(n );
+ if ( ! buf )
+ YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
+
+ for ( i = 0; i < _yybytes_len; ++i )
+ buf[i] = yybytes[i];
+
+ buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
+
+ b = yy_scan_buffer(buf,n );
+ if ( ! b )
+ YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
+
+ /* It's okay to grow etc. this buffer, and we should throw it
+ * away when we're done.
+ */
+ b->yy_is_our_buffer = 1;
+
+ return b;
+}
+
+#ifndef YY_EXIT_FAILURE
+#define YY_EXIT_FAILURE 2
+#endif
+
+static void yy_fatal_error (yyconst char* msg )
+{
+ (void) fprintf( stderr, "%s\n", msg );
+ exit( YY_EXIT_FAILURE );
+}
+
+/* Redefine yyless() so it works in section 3 code. */
+
+#undef yyless
+#define yyless(n) \
+ do \
+ { \
+ /* Undo effects of setting up yytext. */ \
+ int yyless_macro_arg = (n); \
+ YY_LESS_LINENO(yyless_macro_arg);\
+ yytext[yyleng] = (yy_hold_char); \
+ (yy_c_buf_p) = yytext + yyless_macro_arg; \
+ (yy_hold_char) = *(yy_c_buf_p); \
+ *(yy_c_buf_p) = '\0'; \
+ yyleng = yyless_macro_arg; \
+ } \
+ while ( 0 )
+
+/* Accessor methods (get/set functions) to struct members. */
+
+/** Get the current line number.
+ *
+ */
+int yyget_lineno (void)
+{
+
+ return yylineno;
+}
+
+/** Get the input stream.
+ *
+ */
+FILE *yyget_in (void)
+{
+ return yyin;
+}
+
+/** Get the output stream.
+ *
+ */
+FILE *yyget_out (void)
+{
+ return yyout;
+}
+
+/** Get the length of the current token.
+ *
+ */
+yy_size_t yyget_leng (void)
+{
+ return yyleng;
+}
+
+/** Get the current token.
+ *
+ */
+
+char *yyget_text (void)
+{
+ return yytext;
+}
+
+/** Set the current line number.
+ * @param line_number
+ *
+ */
+void yyset_lineno (int line_number )
+{
+
+ yylineno = line_number;
+}
+
+/** Set the input stream. This does not discard the current
+ * input buffer.
+ * @param in_str A readable stream.
+ *
+ * @see yy_switch_to_buffer
+ */
+void yyset_in (FILE * in_str )
+{
+ yyin = in_str ;
+}
+
+void yyset_out (FILE * out_str )
+{
+ yyout = out_str ;
+}
+
+int yyget_debug (void)
+{
+ return yy_flex_debug;
+}
+
+void yyset_debug (int bdebug )
+{
+ yy_flex_debug = bdebug ;
+}
+
+static int yy_init_globals (void)
+{
+ /* Initialization is the same as for the non-reentrant scanner.
+ * This function is called from yylex_destroy(), so don't allocate here.
+ */
+
+ (yy_buffer_stack) = 0;
+ (yy_buffer_stack_top) = 0;
+ (yy_buffer_stack_max) = 0;
+ (yy_c_buf_p) = (char *) 0;
+ (yy_init) = 0;
+ (yy_start) = 0;
+
+/* Defined in main.c */
+#ifdef YY_STDINIT
+ yyin = stdin;
+ yyout = stdout;
+#else
+ yyin = (FILE *) 0;
+ yyout = (FILE *) 0;
+#endif
+
+ /* For future reference: Set errno on error, since we are called by
+ * yylex_init()
+ */
+ return 0;
+}
+
+/* yylex_destroy is for both reentrant and non-reentrant scanners. */
+int yylex_destroy (void)
+{
+
+ /* Pop the buffer stack, destroying each element. */
+ while(YY_CURRENT_BUFFER){
+ yy_delete_buffer(YY_CURRENT_BUFFER );
+ YY_CURRENT_BUFFER_LVALUE = NULL;
+ yypop_buffer_state();
+ }
+
+ /* Destroy the stack itself. */
+ yyfree((yy_buffer_stack) );
+ (yy_buffer_stack) = NULL;
+
+ /* Reset the globals. This is important in a non-reentrant scanner so the next time
+ * yylex() is called, initialization will occur. */
+ yy_init_globals( );
+
+ return 0;
+}
+
+/*
+ * Internal utility routines.
+ */
+
+#ifndef yytext_ptr
+static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
+{
+ register int i;
+ for ( i = 0; i < n; ++i )
+ s1[i] = s2[i];
+}
+#endif
+
+#ifdef YY_NEED_STRLEN
+static int yy_flex_strlen (yyconst char * s )
+{
+ register int n;
+ for ( n = 0; s[n]; ++n )
+ ;
+
+ return n;
+}
+#endif
+
+void *yyalloc (yy_size_t size )
+{
+ return (void *) malloc( size );
+}
+
+void *yyrealloc (void * ptr, yy_size_t size )
+{
+ /* The cast to (char *) in the following accommodates both
+ * implementations that use char* generic pointers, and those
+ * that use void* generic pointers. It works with the latter
+ * because both ANSI C and C++ allow castless assignment from
+ * any pointer type to void*, and deal with argument conversions
+ * as though doing an assignment.
+ */
+ return (void *) realloc( (char *) ptr, size );
+}
+
+void yyfree (void * ptr )
+{
+ free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
+}
+
+#define YYTABLES_NAME "yytables"
+
+#line 4444 "ansel2uni.ll"
+
+
+
+int main(int argc, char *argv[])
+{
+ ++argv, --argc; /* Skip over program name. */
+ if (argc > 0)
+ yyin = fopen(argv[0], "r");
+ else
+ yyin = stdin;
+ yylex();
+ return 0 ;
+}
+
+
diff --git a/biblio/bibtex/utils/r2bib/ansel2uni.ll b/biblio/bibtex/utils/r2bib/ansel2uni.ll
new file mode 100644
index 0000000000..aadea84cd0
--- /dev/null
+++ b/biblio/bibtex/utils/r2bib/ansel2uni.ll
@@ -0,0 +1,4456 @@
+ /* This is a lex(1) file, see http://dinosaur.compilertools.net/
+ * or http://en.wikipedia.org/wiki/Lex_programming_tool .
+ *
+ * Compilation on UNIX systems is done by
+ * make ansel2uni
+ * On other systems one may need to call lex or flex and cc explicitly:
+ * lex -o ansel2uni.c ansel2uni.l
+ * cc [-s] [-O] [-D U_TRANSF_OS_LN] [-D GEDCOM_EXT] [-D GEDCOM_LDS_EXT] [-D MARC_EXT] -o wileyEndNoteFilt ansel2uni.c -ll
+ *
+ * The executable works as a filter (copies stdin to stdout) and converts
+ * a text stream encoded in 8-bit ANSEL (Z39-47-1993, ISO-IR-231) to UTF-8 unicode.
+ * If the preprocessor symbol U_TRANSF_OS_LN has been defined, the CR-LF
+ * combination of Unixes or DOS are modified to the Unicode
+ * line separator symbol on output, else they are copied unchanged.
+ *
+ * If the preprocessor symbol GEDCOM_EXT is defined, some Gedcom-5.5 extensions
+ * of the ANSEL standard are implemented. With the current implementation
+ * this only means support of the German sharp s. If the slash
+ * modifier that strikes through characters or of graphical symbols
+ * of open or filled boxes are also needed, GEDCOM_LDS_EXT should be defined.
+ *
+ * If the preprocessor symbol MARC_EXT is defined, the MARC-8 extensions
+ * of the ANSEL standard are implemented, as described in
+ * http://lcweb2.loc.gov/diglib/codetables/45.html .
+ *
+ * Templates of use:
+ * cat infile.ans | ansel2uni > infile.uni
+ * For use in HTML/XML pages, recoding with the &#x00000; style
+ * can be done via http://billposer.org/Software/uni2ascii.html :
+ * cat infile.ans | ansel2uni | uni2ascii -q -a Q -a H > infile.xml
+ *
+ * http://en.wikipedia.org/wiki/GEDCOM
+ * http://marcpm.sourceforge.net/MARC/Charset.html
+ *
+ * @author Richard J. Mathar, 2009-01-13
+ * @since 2209-01-18 use yyout instead of stdout. Implemented MARC_EXT. Use graph for alpha char class.
+ * @see http://www.uniocode.org/versions/Unicode5.1.0/
+ */
+
+%option noyywrap
+%{
+#include <stdio.h>
+
+/* Unicode ranges U+0000 to UFFFF
+* @param hi the high (first) byte of the code point
+* @param lo the low (2nd byte) of the code point
+* @see D92 in the Unicode Standard, Table 3-6
+* @see http://en.wikipedia.org/wiki/UTF-8
+*/
+void utf3byte(const unsigned char hi, const unsigned char lo)
+{
+ const unsigned long c = 256*hi+lo ;
+ if ( c < 128)
+ fprintf(yyout,"%c",lo) ;
+ else if ( c < 2048 )
+ {
+ /* mask lower 6 bits and prefix 10, second byte */
+ const unsigned char b2 = 128 + ( c & 63 );
+ /* remove lower 6 bits and prefix 110, first byte */
+ const unsigned char b1 = 192 + ( c >> 6 ) ;
+ fprintf(yyout,"%c%c",b1,b2) ;
+ }
+ else
+ {
+ /* mask lower 6 bits and prefix 10, third byte */
+ const unsigned char b3 = 128 + ( c & 63 );
+ /* remove lower 6 bits and prefix 10 */
+ const unsigned char b2 = 128 + ( ( c & 4032 ) >> 6 ) ;
+ /* remove lower 12 bits and prefix 1110 */
+ const unsigned char b1 = 224 + ( (c & 61440 ) >> 12 ) ;
+ fprintf(yyout,"%c%c%c",b1,b2,b3) ;
+ }
+}
+
+/* Unicode ranges U+0080 to U+00FF.
+* @param c the low-byte of the unicode point in the range 0x00 to 0x7f
+* @see http://en.wikipedia.org/wiki/UTF-8
+*/
+void utf2byte(const unsigned char c)
+{
+#if 0
+ /* explicit implementation */
+ const unsigned char b2 = 128 + ( c & 63 );
+ const unsigned char b1 = 192 + ( ( c & 192 ) >> 6 ) ;
+ fprintf(yyout,"%c%c",b1,b2) ;
+#else
+ /* lazy implementation */
+ utf3byte('\0',c) ;
+#endif
+}
+
+#ifdef U_TRANSF_OS_NL
+/* Put the LS, U+2028
+* @param crlf the line feed in unix or dos representation
+* @todo
+*/
+void newl(char *crlf)
+{
+ utf3byte('\x20','\x28') ;
+}
+#else
+/*
+* @param crlf the line feed in unix or dos representation
+*/
+void newl(char *crlf)
+{
+ fprintf(yyout,"%s",crlf) ;
+}
+#endif
+
+%}
+
+ANSEL_VIETO \xac
+ANSEL_VIETU \xad
+ANSEL_VIETo \xbc
+ANSEL_VIETu \xbd
+
+ANSEL_LOWRISINGTONE \xe0
+ANSEL_GRAVEACCENT \xe1
+ANSEL_ACUTEACCENT \xe2
+ANSEL_CIRCUMFLEXACC \xe3
+ANSEL_TILDE \xe4
+ANSEL_MACRON \xe5
+ANSEL_BREVE \xe6
+ANSEL_DOTABOVE \xe7
+ANSEL_DIARESIS \xe8
+ANSEL_CARON \xe9
+ANSEL_CIRCLEABOVE \xea
+ANSEL_LIGATURELEFT \xeb
+ANSEL_LIGATURERIGHT \xec
+ANSEL_HIGHCOMMAOFFC \xed
+ANSEL_DOUBLEACUTEACC \xee
+ANSEL_CANDRABINDU \xef
+ANSEL_CEDILLA \xf0
+ANSEL_RIGHTHOOK \xf1
+ANSEL_DOTBELOW \xf2
+ANSEL_DOUBLEDOTBELOW \xf3
+ANSEL_CIRCLEBELOW \xf4
+ANSEL_DOUBLEUNDERSC \xf5
+ANSEL_UNDERSCORE \xf6
+ANSEL_LEFTHOOK \xf7
+ANSEL_RIGHTCEDILLA \xf8
+ANSEL_HALFCIRCLBELOW \xf9
+ANSEL_DOUBLETILDLEFT \xfa
+ANSEL_DOUBLETILDRIGH \xfb
+ANSEL_HIGHCOMMACENT \xfe
+
+ /* reserved for control characters */
+ANSEL_RES_C1 [\x80-\x9f]
+
+ /* corners (reserved) */
+ANSEL_CORN \xa0|\xff
+
+ /* Gedcom 5.5 extension: German sharp s */
+GEDCOM55_SZ \xcf
+
+ /* rumors but not standard, see http://homepages.rootsweb.ancestry.com/~pmcbride/gedcom/55gcappd.htm#S2 */
+GEDCOM55_EMPTYBOX \xbe
+GEDCOM55_BLACKBOX \xbf
+GEDCOM55_EMIDDLE \xcd
+GEDCOM55_OMIDDLE \xce
+GEDCOM55_SLASH \xfc
+
+ /* Strict ANSEL: reserved for future standardization, but not GEDCOM */
+ANSEL_RES_FUT \xaf|\xbb|\xbe|\xbf|[\xc7-\xdf]|\xfc|\xfd
+
+ /* not sure whether ANSEL allows a double grave to be represented as two accents */
+ANSEL_DGRAVE {ANSEL_GRAVEACCENT}{ANSEL_GRAVEACCENT}
+ANSEL_DTILDE {ANSEL_TILDE}{ANSEL_TILDE}
+
+%%
+
+\x88 {
+#ifdef MARC_EXT
+ utf2byte('\x98') ; /* START OF STRING U+0098 */
+#else
+ ECHO ;
+#endif
+ }
+
+\x89 {
+#ifdef MARC_EXT
+ utf2byte('\x9c') ; /* STRING TERMINATOR U+009C */
+#else
+ ECHO ;
+#endif
+ }
+
+\x8d {
+#ifdef MARC_EXT
+ utf3byte('\x20','\x0d') ; /* ZERO WIDTH JOINER U+200D */
+#else
+ ECHO ;
+#endif
+ }
+
+\x8e {
+#ifdef MARC_EXT
+ utf3byte('\x20','\x0c') ; /* ZERO WIDTH NON-JOINER U+200C */
+#else
+ ECHO ;
+#endif
+ }
+
+ /* C1 controls and latin supplement */
+
+ /* utf2byte('\xa0') ; /* unassigned xxxxxxxxxxxxxxxxxxxxxxx U+00A0 */
+\xc6 utf2byte('\xa1') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00A1 */
+ /* utf2byte('\xa2') ; /* CENT SIGN U+00A2 */
+\xb9 utf2byte('\xa3') ; /* POUND SIGN U+00A3 */
+ /* utf2byte('\xa4') ; /* CURRENCY SIGN U+00A4 */
+ /* utf2byte('\xa5') ; /* YEN SIGN U+00A5 */
+ /* utf2byte('\xa6') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00A6 */
+ /* utf2byte('\xa7') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00A7 */
+ /* utf2byte('\xa8') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00A8 */
+\xc3 utf2byte('\xa9') ; /* COPYRIGH SIGN U+00A9 */
+ /* utf2byte('\xaa') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00AA */
+ /* utf2byte('\xab') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00AB */
+ /* utf2byte('\xac') ; /* NOT SIGN U+00AC */
+ /* utf2byte('\xad') ; /* SOPFTHYPHEN U+00AD */
+\xaa utf2byte('\xae') ; /* REGISTRED SIGN U+00AE */
+ /* utf2byte('\xaf') ; /* MACRON U+00AF */
+
+\xc0 utf2byte('\xb0') ; /* DEGREE SIGN U+00B0 */
+\xab utf2byte('\xb1') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00B1 */
+ /* utf2byte('\xb2') ; /* SUPER SCRIPT TWO U+00B2 */
+ /* utf2byte('\xb3') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00B3 */
+ /* utf2byte('\xb4') ; /* ACUTE ACCENT U+00B4 */
+ /* utf2byte('\xb5') ; /* MICRO SIGN U+00B5 */
+ /* utf2byte('\xb6') ; /* PILCROW SIGN U+00B6 */
+\xa8 utf2byte('\xb7') ; /* MIDDLE DOT U+00B7 */
+ /* utf2byte('\xb8') ; /* CEDILLA U+00B8 */
+ /* utf2byte('\xb9') ; /* SUPERSCRIPT ONE U+00B9 */
+ /* utf2byte('\xba') ; /* MASCULINE ORIDNAL INDICATOR U+00BA */
+ /* utf2byte('\xbb') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00BB */
+ /* utf2byte('\xbc') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00BC */
+ /* utf2byte('\xbd') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00BD */
+ /* utf2byte('\xbe') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00BE */
+\xc5 utf2byte('\xbf') ; /* INVERTED QUESTION MARK U+00BF */
+
+{ANSEL_GRAVEACCENT}A utf2byte('\xc0') ; /* A WITH ACUTE, LATIN CAPITAL LETTER U+00C0 */
+{ANSEL_ACUTEACCENT}A utf2byte('\xc1') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00C1 */
+{ANSEL_CIRCUMFLEXACC}A utf2byte('\xc2') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00C2 */
+{ANSEL_TILDE}A utf2byte('\xc3') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00C3 */
+{ANSEL_DIARESIS}A utf2byte('\xc4') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00C4 */
+{ANSEL_CIRCLEABOVE}A utf2byte('\xc5') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00C5 */
+\xa5 utf2byte('\xc6') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00C6 */
+{ANSEL_CEDILLA}C utf2byte('\xc7') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00C7 */
+{ANSEL_GRAVEACCENT}E utf2byte('\xc8') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00C8 */
+{ANSEL_ACUTEACCENT}E utf2byte('\xc9') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00C9 */
+{ANSEL_CIRCUMFLEXACC}E utf2byte('\xca') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00CA */
+{ANSEL_DIARESIS}E utf2byte('\xcb') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00CB */
+{ANSEL_GRAVEACCENT}I utf2byte('\xcc') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00CC */
+{ANSEL_ACUTEACCENT}I utf2byte('\xcd') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00CD */
+{ANSEL_CIRCUMFLEXACC}I utf2byte('\xce') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00CE */
+{ANSEL_DIARESIS}I utf2byte('\xcf') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00CF */
+
+{ANSEL_TILDE}N utf2byte('\xd1') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00D1 */
+{ANSEL_GRAVEACCENT}O utf2byte('\xd2') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00D2 */
+{ANSEL_ACUTEACCENT}O utf2byte('\xd3') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00D3 */
+{ANSEL_CIRCUMFLEXACC}O utf2byte('\xd4') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00D4 */
+{ANSEL_TILDE}O utf2byte('\xd5') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00D5 */
+\xa8O utf2byte('\xd6') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00D6 */
+ /* utf2byte('\xd7') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00D7 */
+\xa2 utf2byte('\xd8') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00D8 */
+{ANSEL_GRAVEACCENT}U utf2byte('\xd9') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00D9 */
+{ANSEL_ACUTEACCENT}U utf2byte('\xda') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00DA */
+{ANSEL_CIRCUMFLEXACC}U utf2byte('\xdb') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00DB */
+{ANSEL_DIARESIS}U utf2byte('\xdc') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00DC */
+{ANSEL_ACUTEACCENT}Y utf2byte('\xdd') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00DD */
+\xa4 utf2byte('\xde') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00DE */
+ /* utf2byte('\xdf') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00DF */
+
+{ANSEL_GRAVEACCENT}a utf2byte('\xe0') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00E0 */
+{ANSEL_ACUTEACCENT}a utf2byte('\xe1') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00E1 */
+{ANSEL_CIRCUMFLEXACC}a utf2byte('\xe2') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00E2 */
+{ANSEL_TILDE}a utf2byte('\xe3') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00E3 */
+{ANSEL_DIARESIS}a utf2byte('\xe4') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00E4 */
+{ANSEL_CIRCLEABOVE}a utf2byte('\xe5') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00E5 */
+\xb5 utf2byte('\xe6') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00E6 */
+{ANSEL_CEDILLA}c utf2byte('\xe7') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00E7 */
+{ANSEL_GRAVEACCENT}e utf2byte('\xe8') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00E8 */
+{ANSEL_ACUTEACCENT}e utf2byte('\xe9') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00E9 */
+{ANSEL_CIRCUMFLEXACC}e utf2byte('\xea') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00EA */
+{ANSEL_DIARESIS}e utf2byte('\xeb') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00EB */
+{ANSEL_GRAVEACCENT}i utf2byte('\xec') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00EC */
+{ANSEL_ACUTEACCENT}i utf2byte('\xed') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00ED */
+{ANSEL_CIRCUMFLEXACC}i utf2byte('\xee') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00EE */
+{ANSEL_DIARESIS}i utf2byte('\xef') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00EF */
+
+\xba utf2byte('\xf0') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00F0 */
+{ANSEL_TILDE}n utf2byte('\xf1') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00F1 */
+{ANSEL_GRAVEACCENT}o utf2byte('\xf2') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00F2 */
+{ANSEL_ACUTEACCENT}o utf2byte('\xf3') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00F3 */
+{ANSEL_CIRCUMFLEXACC}o utf2byte('\xf4') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00F4 */
+{ANSEL_TILDE}o utf2byte('\xf5') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00F5 */
+{ANSEL_DIARESIS}o utf2byte('\xf6') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00F6 */
+ /* utf2byte('\xf7') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00F7 */
+\xb2 utf2byte('\xf8') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00F8 */
+{ANSEL_GRAVEACCENT}u utf2byte('\xf9') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00F9 */
+{ANSEL_ACUTEACCENT}u utf2byte('\xfa') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00FA */
+{ANSEL_CIRCUMFLEXACC}u utf2byte('\xfb') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00FB */
+{ANSEL_DIARESIS}u utf2byte('\xfc') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00FC */
+{ANSEL_ACUTEACCENT}y utf2byte('\xfd') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00FD */
+\xb4 utf2byte('\xfe') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00FE */
+{ANSEL_DIARESIS}y utf2byte('\xff') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+00FF */
+
+ /* Latin-extended A */
+
+{ANSEL_MACRON}A utf3byte('\x01','\x00') ; /* LATIN CAPITAL LETTER A WITH MACRON U+0100 */
+{ANSEL_MACRON}a utf3byte('\x01','\x01') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0101 */
+{ANSEL_BREVE}A utf3byte('\x01','\x02') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0102 */
+{ANSEL_BREVE}a utf3byte('\x01','\x03') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0103 */
+{ANSEL_RIGHTHOOK}A utf3byte('\x01','\x04') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0104 */
+{ANSEL_RIGHTHOOK}a utf3byte('\x01','\x05') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0105 */
+{ANSEL_ACUTEACCENT}C utf3byte('\x01','\x06') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0106 */
+{ANSEL_ACUTEACCENT}c utf3byte('\x01','\x07') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0107 */
+{ANSEL_CIRCUMFLEXACC}C utf3byte('\x01','\x08') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0108 */
+{ANSEL_CIRCUMFLEXACC}c utf3byte('\x01','\x09') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0109 */
+{ANSEL_DOTABOVE}C utf3byte('\x01','\x0a') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+010a */
+{ANSEL_DOTABOVE}c utf3byte('\x01','\x0b') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+010b */
+{ANSEL_CARON}C utf3byte('\x01','\x0c') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+010c */
+{ANSEL_CARON}c utf3byte('\x01','\x0d') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+010d */
+{ANSEL_CARON}D utf3byte('\x01','\x0e') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+010e */
+{ANSEL_CARON}d utf3byte('\x01','\x0f') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+010f */
+
+ /* could this rather be U+00D0, LATIN CAPITAL LETTER ETH ? */
+\xa3 utf3byte('\x01','\x10') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0110 */
+\xb3 utf3byte('\x01','\x11') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0111 */
+{ANSEL_MACRON}E utf3byte('\x01','\x12') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0112 */
+{ANSEL_MACRON}e utf3byte('\x01','\x13') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0113 */
+{ANSEL_BREVE}E utf3byte('\x01','\x14') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0114 */
+{ANSEL_BREVE}e utf3byte('\x01','\x15') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0115 */
+{ANSEL_DOTABOVE}E utf3byte('\x01','\x16') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0116 */
+{ANSEL_DOTABOVE}e utf3byte('\x01','\x17') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0117 */
+{ANSEL_RIGHTHOOK}E utf3byte('\x01','\x18') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0118 */
+{ANSEL_RIGHTHOOK}e utf3byte('\x01','\x19') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0119 */
+{ANSEL_CARON}E utf3byte('\x01','\x1a') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+011a */
+{ANSEL_CARON}e utf3byte('\x01','\x1b') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+011b */
+{ANSEL_CIRCUMFLEXACC}G utf3byte('\x01','\x1c') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+011c */
+{ANSEL_CIRCUMFLEXACC}g utf3byte('\x01','\x1d') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+011d */
+{ANSEL_BREVE}G utf3byte('\x01','\x1e') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+011e */
+{ANSEL_BREVE}g utf3byte('\x01','\x1f') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+011f */
+
+{ANSEL_DOTABOVE}G utf3byte('\x01','\x20') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0120 */
+{ANSEL_DOTABOVE}g utf3byte('\x01','\x21') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0121 */
+{ANSEL_CEDILLA}G utf3byte('\x01','\x22') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0122 */
+{ANSEL_CEDILLA}g utf3byte('\x01','\x23') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0123 */
+{ANSEL_CIRCUMFLEXACC}H utf3byte('\x01','\x24') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0124 */
+{ANSEL_CIRCUMFLEXACC}h utf3byte('\x01','\x25') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0125 */
+ /* utf3byte('\x01','\x26') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0126 */
+ /* utf3byte('\x01','\x27') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0127 */
+{ANSEL_TILDE}I utf3byte('\x01','\x28') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0128 */
+{ANSEL_TILDE}i utf3byte('\x01','\x29') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0129 */
+{ANSEL_MACRON}I utf3byte('\x01','\x2a') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+012a */
+{ANSEL_MACRON}i utf3byte('\x01','\x2b') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+012b */
+{ANSEL_BREVE}I utf3byte('\x01','\x2c') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+012c */
+{ANSEL_BREVE}i utf3byte('\x01','\x2d') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+012d */
+{ANSEL_RIGHTHOOK}I utf3byte('\x01','\x2e') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+012e */
+{ANSEL_RIGHTHOOK}i utf3byte('\x01','\x2f') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+012f */
+
+{ANSEL_DOTABOVE}I utf3byte('\x01','\x30') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0130 */
+\xb8 utf3byte('\x01','\x31') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0131 */
+IJ utf3byte('\x01','\x32') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0132 */
+ij utf3byte('\x01','\x33') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0133 */
+{ANSEL_CIRCUMFLEXACC}J utf3byte('\x01','\x34') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0134 */
+{ANSEL_CIRCUMFLEXACC}j utf3byte('\x01','\x35') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0135 */
+{ANSEL_CEDILLA}K |
+{ANSEL_LEFTHOOK}K utf3byte('\x01','\x36') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0136 */
+{ANSEL_CEDILLA}k |
+{ANSEL_LEFTHOOK}k utf3byte('\x01','\x37') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0137 */
+ /* utf3byte('\x01','\x38') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0138 */
+{ANSEL_ACUTEACCENT}L utf3byte('\x01','\x39') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0139 */
+{ANSEL_ACUTEACCENT}l utf3byte('\x01','\x3a') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+013a */
+{ANSEL_CEDILLA}L |
+{ANSEL_LEFTHOOK}L utf3byte('\x01','\x3b') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+013b */
+{ANSEL_CEDILLA}l |
+{ANSEL_LEFTHOOK}l utf3byte('\x01','\x3c') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+013c */
+{ANSEL_CARON}L utf3byte('\x01','\x3d') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+013d */
+{ANSEL_CARON}l utf3byte('\x01','\x3e') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+013e */
+ /* utf3byte('\x01','\x3f') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+013f */
+
+ /* utf3byte('\x01','\x40') ; /* LATIN SMALL LETTER L WITH MIDDLE DOT+0140 */
+\xa1 utf3byte('\x01','\x41') ; /* LATIN CAPITAL LETTER L WITH STROKE U+0141 */
+\xb1 utf3byte('\x01','\x42') ; /* LATIN SMALL LETTER L WITH STROKE U+0142 */
+{ANSEL_ACUTEACCENT}N utf3byte('\x01','\x43') ; /* LATIN CAPITAL LETTER N WITH ACUTE U+0143 */
+{ANSEL_ACUTEACCENT}n utf3byte('\x01','\x44') ; /* LATIN SMALL LETTER N WITH ACUTE U+0144 */
+{ANSEL_CEDILLA}N |
+{ANSEL_LEFTHOOK}N utf3byte('\x01','\x45') ; /* LATIN CAPITAL LETTER N WITH CEDILLA U+0145 */
+{ANSEL_CEDILLA}n |
+{ANSEL_LEFTHOOK}n utf3byte('\x01','\x46') ; /* LATIN SMALL LETTER N WITH CEDILLA U+0146 */
+{ANSEL_CARON}N utf3byte('\x01','\x47') ; /* LATIN CAPITAL LETTER N WITH CARON U+0147 */
+{ANSEL_CARON}n utf3byte('\x01','\x48') ; /* LATIN SMALL LETTER N WITH CARON U+0148 */
+ /* utf3byte('\x01','\x49') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0149 */
+ /* utf3byte('\x01','\x4a') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+014a */
+ /* utf3byte('\x01','\x4b') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+014b */
+{ANSEL_MACRON}O utf3byte('\x01','\x4c') ; /* LATIN CAPITAL LETTER O WITH MACRON U+014c */
+{ANSEL_MACRON}o utf3byte('\x01','\x4d') ; /* LATIN SMALL LETTER O WITH MACRON U+014d */
+{ANSEL_BREVE}O utf3byte('\x01','\x4e') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+014e */
+{ANSEL_BREVE}o utf3byte('\x01','\x4f') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+014f */
+
+{ANSEL_DOUBLEACUTEACC}O utf3byte('\x01','\x50') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0150 */
+{ANSEL_DOUBLEACUTEACC}o utf3byte('\x01','\x51') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0151 */
+\xa6 utf3byte('\x01','\x52') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0152 */
+\xb6 utf3byte('\x01','\x53') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0153 */
+{ANSEL_ACUTEACCENT}R utf3byte('\x01','\x54') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0154 */
+{ANSEL_ACUTEACCENT}r utf3byte('\x01','\x55') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0155 */
+{ANSEL_CEDILLA}R |
+{ANSEL_LEFTHOOK}R utf3byte('\x01','\x56') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0156 */
+{ANSEL_CEDILLA}r |
+{ANSEL_LEFTHOOK}r utf3byte('\x01','\x57') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0157 */
+{ANSEL_CARON}R utf3byte('\x01','\x58') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0158 */
+{ANSEL_CARON}r utf3byte('\x01','\x59') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0159 */
+{ANSEL_ACUTEACCENT}S utf3byte('\x01','\x5a') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+015a */
+{ANSEL_ACUTEACCENT}s utf3byte('\x01','\x5b') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+015b */
+{ANSEL_CIRCUMFLEXACC}S utf3byte('\x01','\x5c') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+015c */
+{ANSEL_CIRCUMFLEXACC}s utf3byte('\x01','\x5d') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+015d */
+{ANSEL_CEDILLA}S utf3byte('\x01','\x5e') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+015e */
+{ANSEL_CEDILLA}s utf3byte('\x01','\x5f') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+015f */
+
+{ANSEL_CARON}S utf3byte('\x01','\x60') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0160 */
+{ANSEL_CARON}s utf3byte('\x01','\x61') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0161 */
+{ANSEL_CEDILLA}T utf3byte('\x01','\x62') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0162 */
+{ANSEL_CEDILLA}t utf3byte('\x01','\x63') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0163 */
+{ANSEL_CARON}T utf3byte('\x01','\x64') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0164 */
+{ANSEL_CARON}t utf3byte('\x01','\x65') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0165 */
+ /* utf3byte('\x01','\x66') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0166 */
+ /* utf3byte('\x01','\x67') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0167 */
+{ANSEL_TILDE}U utf3byte('\x01','\x68') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0168 */
+{ANSEL_TILDE}u utf3byte('\x01','\x69') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0169 */
+{ANSEL_MACRON}U utf3byte('\x01','\x6a') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+016a */
+{ANSEL_MACRON}u utf3byte('\x01','\x6b') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+016b */
+{ANSEL_BREVE}U utf3byte('\x01','\x6c') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+016c */
+{ANSEL_BREVE}u utf3byte('\x01','\x6d') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+016d */
+{ANSEL_CIRCLEABOVE}U utf3byte('\x01','\x6e') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+016e */
+{ANSEL_CIRCLEABOVE}u utf3byte('\x01','\x6f') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+016f */
+
+{ANSEL_DOUBLEACUTEACC}U utf3byte('\x01','\x70') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0170 */
+{ANSEL_DOUBLEACUTEACC}u utf3byte('\x01','\x71') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0171 */
+{ANSEL_RIGHTHOOK}U utf3byte('\x01','\x72') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0172 */
+{ANSEL_RIGHTHOOK}u utf3byte('\x01','\x73') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0173 */
+{ANSEL_CIRCUMFLEXACC}W utf3byte('\x01','\x74') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0174 */
+{ANSEL_CIRCUMFLEXACC}w utf3byte('\x01','\x75') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0175 */
+{ANSEL_CIRCUMFLEXACC}Y utf3byte('\x01','\x76') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0176 */
+{ANSEL_CIRCUMFLEXACC}y utf3byte('\x01','\x77') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0177 */
+{ANSEL_DIARESIS}Y utf3byte('\x01','\x78') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0178 */
+{ANSEL_ACUTEACCENT}Z utf3byte('\x01','\x79') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0179 */
+{ANSEL_ACUTEACCENT}z utf3byte('\x01','\x7a') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+017a */
+{ANSEL_DOTABOVE}Z utf3byte('\x01','\x7b') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+017b */
+{ANSEL_DOTABOVE}z utf3byte('\x01','\x7c') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+017c */
+{ANSEL_CARON}Z utf3byte('\x01','\x7d') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+017d */
+{ANSEL_CARON}z utf3byte('\x01','\x7e') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+017e */
+ /* utf3byte('\x01','\x7f') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+017f */
+
+ /* end of Latin Extended A */
+
+ /* Latin Extended B */
+
+ /* utf3byte('\x01','\x80') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0170 */
+ /* utf3byte('\x01','\x81') ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx U+0171 */
+{ANSEL_MACRON}B utf3byte('\x01','\x82') ; /* LATIN CAPITAL LETTER B WITH TOPBAR U+0182 */
+{ANSEL_MACRON}b utf3byte('\x01','\x83') ; /* LATIN SMALL LETTER B WITH TOPBAR U+0183 */
+
+{ANSEL_HIGHCOMMAOFFC}O utf3byte('\x01','\xa0') ; /* LATIN CAPITAL LETTER O WITH HORN U+01A0 */
+{ANSEL_HIGHCOMMAOFFC}o utf3byte('\x01','\xa1') ; /* LATIN SMALL LETTER O WITH HORN U+01A1 */
+{ANSEL_HIGHCOMMAOFFC}U utf3byte('\x01','\xaf') ; /* LATIN CAPITAL LETTER U WITH HORN U+01AF */
+{ANSEL_HIGHCOMMAOFFC}u utf3byte('\x01','\x80') ; /* LATIN SMALL LETTER U WIHT HORN U+0180 */
+
+D{ANSEL_CARON}Z utf3byte('\x01','\xc4') ; /* LATIN CAPITAL LETTER DZ WITH CARON U+01C4 */
+D{ANSEL_CARON}z utf3byte('\x01','\xc5') ; /* LATIN CAPITAL LETTER D WITH SMALL LETTER Z WITH CARON U+01C5 */
+d{ANSEL_CARON}z utf3byte('\x01','\xc6') ; /* LATIN SMALL LETTER DZ WITH CARON U+01C6 */
+LJ utf3byte('\x01','\xc7') ; /* LATIN CAPITAL LETTER LJ U+01C7 */
+Lj utf3byte('\x01','\xc8') ; /* LATIN CAPITAL LETTER L WITH SMALL LTTER J U+01C8 */
+ /* lj utf3byte('\x01','\xc9') ; LATIN CAPITAL LETTER L WITH SMALL LTTER J U+01C9 */
+NJ utf3byte('\x01','\xca') ; /* LATIN CAPITAL LETTER NJ U+01CA */
+Nj utf3byte('\x01','\xcb') ; /* LATIN CAPITAL LETTER N WITH SMALL LTTER J U+01CB */
+ /* nj utf3byte('\x01','\xcc') ; LATIN SMALL LETTER NJ U+01CC */
+{ANSEL_CARON}A utf3byte('\x01','\xcd') ; /* U+01CD */
+{ANSEL_CARON}a utf3byte('\x01','\xce') ; /* U+01CE */
+{ANSEL_CARON}I utf3byte('\x01','\xcf') ; /* U+01CF */
+{ANSEL_CARON}i utf3byte('\x01','\xd0') ; /* U+01D0 */
+{ANSEL_CARON}O utf3byte('\x01','\xd1') ; /* U+01D1 */
+{ANSEL_CARON}o utf3byte('\x01','\xd2') ; /* U+01D2 */
+{ANSEL_CARON}U utf3byte('\x01','\xd3') ; /* U+01D3 */
+{ANSEL_CARON}u utf3byte('\x01','\xd4') ; /* U+01D4 */
+
+ /* see U+1E7A for the opposite order */
+{ANSEL_MACRON}{ANSEL_DIARESIS}U utf3byte('\x01','\xd5') ; /* U+01D5 */
+{ANSEL_MACRON}{ANSEL_DIARESIS}u utf3byte('\x01','\xd6') ; /* U+01D6 */
+
+{ANSEL_ACUTEACCENT}{ANSEL_DIARESIS}U |
+{ANSEL_DIARESIS}{ANSEL_ACUTEACCENT}U utf3byte('\x01','\xd7') ; /* U+01D7 */
+
+{ANSEL_ACUTEACCENT}{ANSEL_DIARESIS}u |
+{ANSEL_DIARESIS}{ANSEL_ACUTEACCENT}u utf3byte('\x01','\xd8') ; /* U+01D8 */
+
+{ANSEL_CARON}{ANSEL_DIARESIS}U |
+{ANSEL_DIARESIS}{ANSEL_CARON}U utf3byte('\x01','\xd9') ; /* U+01D9 */
+
+{ANSEL_CARON}{ANSEL_DIARESIS}u |
+{ANSEL_DIARESIS}{ANSEL_CARON}u utf3byte('\x01','\xda') ; /* U+01DA */
+
+{ANSEL_GRAVEACCENT}{ANSEL_DIARESIS}U |
+{ANSEL_DIARESIS}{ANSEL_GRAVEACCENT}U utf3byte('\x01','\xdb') ; /* U+01DB */
+
+{ANSEL_GRAVEACCENT}{ANSEL_DIARESIS}u |
+{ANSEL_DIARESIS}{ANSEL_GRAVEACCENT}u utf3byte('\x01','\xdc') ; /* U+01DC */
+
+{ANSEL_MACRON}{ANSEL_DIARESIS}A |
+{ANSEL_DIARESIS}{ANSEL_MACRON}A utf3byte('\x01','\xde') ; /* U+01DE */
+
+{ANSEL_MACRON}{ANSEL_DIARESIS}a |
+{ANSEL_DIARESIS}{ANSEL_MACRON}a utf3byte('\x01','\xdf') ; /* U+01DF */
+
+{ANSEL_MACRON}{ANSEL_DOTABOVE}A |
+{ANSEL_DOTABOVE}{ANSEL_MACRON}A utf3byte('\x01','\xe0') ; /* U+01E0 */
+
+{ANSEL_MACRON}{ANSEL_DOTABOVE}a |
+{ANSEL_DOTABOVE}{ANSEL_MACRON}a utf3byte('\x01','\xe1') ; /* U+01E1 */
+
+{ANSEL_MACRON}\xa5 utf3byte('\x01','\xe2') ; /* U+01E2 */
+{ANSEL_MACRON}\xb5 utf3byte('\x01','\xe3') ; /* U+01E3 */
+{ANSEL_CARON}G utf3byte('\x01','\xe6') ; /* U+01E6 */
+{ANSEL_CARON}g utf3byte('\x01','\xe7') ; /* U+01E7 */
+{ANSEL_CARON}K utf3byte('\x01','\xe8') ; /* U+01E8 */
+{ANSEL_CARON}k utf3byte('\x01','\xe9') ; /* U+01E9 */
+{ANSEL_RIGHTHOOK}O utf3byte('\x01','\xea') ; /* U+01EA */
+{ANSEL_RIGHTHOOK}o utf3byte('\x01','\xeb') ; /* U+01EB */
+
+{ANSEL_MACRON}{ANSEL_RIGHTHOOK}O |
+{ANSEL_RIGHTHOOK}{ANSEL_MACRON}O utf3byte('\x01','\xec') ; /* U+01EC */
+
+{ANSEL_MACRON}{ANSEL_RIGHTHOOK}o |
+{ANSEL_RIGHTHOOK}{ANSEL_MACRON}o utf3byte('\x01','\xed') ; /* U+01ED */
+
+{ANSEL_CARON}j utf3byte('\x01','\xf0') ; /* U+01F0 */
+
+DZ utf3byte('\x01','\xf1') ; /* U+01F1 */
+Dz utf3byte('\x01','\xf2') ; /* U+01F2 */
+dz utf3byte('\x01','\xf3') ; /* U+01F3 */
+
+{ANSEL_ACUTEACCENT}G utf3byte('\x01','\xf4') ; /* U+01F4 */
+{ANSEL_ACUTEACCENT}g utf3byte('\x01','\xf5') ; /* U+01F5 */
+{ANSEL_GRAVEACCENT}N utf3byte('\x01','\xf8') ; /* U+01F8 */
+{ANSEL_GRAVEACCENT}n utf3byte('\x01','\xf9') ; /* U+01F9 */
+
+{ANSEL_CIRCLEABOVE}{ANSEL_ACUTEACCENT}A |
+{ANSEL_ACUTEACCENT}{ANSEL_CIRCLEABOVE}A utf3byte('\x01','\xfa') ; /* U+01FA */
+
+{ANSEL_CIRCLEABOVE}{ANSEL_ACUTEACCENT}a |
+{ANSEL_ACUTEACCENT}{ANSEL_CIRCLEABOVE}a utf3byte('\x01','\xfb') ; /* U+01FB */
+
+{ANSEL_ACUTEACCENT}\xa5 utf3byte('\x01','\xfc') ; /* U+01FC */
+{ANSEL_ACUTEACCENT}\xb5 utf3byte('\x01','\xfd') ; /* U+01FD */
+{ANSEL_ACUTEACCENT}\xa2 utf3byte('\x01','\xfe') ; /* U+01FE */
+{ANSEL_ACUTEACCENT}\xb2 utf3byte('\x01','\xff') ; /* U+01FF */
+{ANSEL_DGRAVE}A utf3byte('\x02','\x00') ; /* U+0200 */
+{ANSEL_DGRAVE}a utf3byte('\x02','\x01') ; /* U+0201 */
+{ANSEL_DGRAVE}E utf3byte('\x02','\x04') ; /* U+0204 */
+{ANSEL_DGRAVE}e utf3byte('\x02','\x05') ; /* U+0205 */
+{ANSEL_DGRAVE}I utf3byte('\x02','\x08') ; /* U+0208 */
+{ANSEL_DGRAVE}i utf3byte('\x02','\x09') ; /* U+0209 */
+{ANSEL_DGRAVE}O utf3byte('\x02','\x0c') ; /* U+020C */
+{ANSEL_DGRAVE}o utf3byte('\x02','\x0d') ; /* U+020D */
+{ANSEL_DGRAVE}R utf3byte('\x02','\x10') ; /* U+0210 */
+{ANSEL_DGRAVE}r utf3byte('\x02','\x11') ; /* U+0211 */
+{ANSEL_DGRAVE}U utf3byte('\x02','\x14') ; /* U+0214 */
+{ANSEL_DGRAVE}u utf3byte('\x02','\x15') ; /* U+0215 */
+{ANSEL_LEFTHOOK}S utf3byte('\x02','\x18') ; /* U+0218 */
+{ANSEL_LEFTHOOK}s utf3byte('\x02','\x19') ; /* U+0219 */
+{ANSEL_LEFTHOOK}T utf3byte('\x02','\x1a') ; /* U+021A */
+{ANSEL_LEFTHOOK}t utf3byte('\x02','\x1b') ; /* U+021B */
+{ANSEL_CARON}H utf3byte('\x02','\x1e') ; /* U+021E */
+{ANSEL_CARON}h utf3byte('\x02','\x1f') ; /* U+021F */
+{ANSEL_DOTABOVE}A utf3byte('\x02','\x26') ; /* U+0226 */
+{ANSEL_DOTABOVE}a utf3byte('\x02','\x27') ; /* U+0227 */
+{ANSEL_CEDILLA}E utf3byte('\x02','\x28') ; /* U+0228 */
+{ANSEL_CEDILLA}e utf3byte('\x02','\x29') ; /* U+0229 */
+
+{ANSEL_MACRON}{ANSEL_DIARESIS}O |
+{ANSEL_DIARESIS}{ANSEL_MACRON}O utf3byte('\x02','\x2a') ; /* U+022A */
+
+{ANSEL_MACRON}{ANSEL_DIARESIS}o |
+{ANSEL_DIARESIS}{ANSEL_MACRON}o utf3byte('\x02','\x2b') ; /* U+022B */
+
+{ANSEL_MACRON}{ANSEL_TILDE}O |
+{ANSEL_TILDE}{ANSEL_MACRON}O utf3byte('\x02','\x2c') ; /* U+022C */
+
+{ANSEL_MACRON}{ANSEL_TILDE}o |
+{ANSEL_TILDE}{ANSEL_MACRON}o utf3byte('\x02','\x2d') ; /* U+022D */
+
+{ANSEL_DOTABOVE}O utf3byte('\x02','\x2e') ; /* U+022E */
+{ANSEL_DOTABOVE}o utf3byte('\x02','\x2f') ; /* U+022F */
+
+{ANSEL_MACRON}{ANSEL_DOTABOVE}O |
+{ANSEL_DOTABOVE}{ANSEL_MACRON}O utf3byte('\x02','\x30') ; /* U+0230 */
+
+{GEDCOM55_SLASH}A {
+#ifdef GEDCOM_LDSEXT
+ utf3byte('\x02','\x3a') ; /* U+023A */
+#else
+ fprintf(yyout,"%c",yytext[1]) ;
+#endif
+ }
+
+{GEDCOM55_SLASH}C {
+#ifdef GEDCOM_LDSEXT
+ utf3byte('\x02','\x3b') ; /* U+023B */
+#else
+ fprintf(yyout,"%c",yytext[1]) ;
+#endif
+ }
+
+{GEDCOM55_SLASH}c {
+#ifdef GEDCOM_LDSEXT
+ utf3byte('\x02','\x3c') ; /* U+023C */
+#else
+ fprintf(yyout,"%c",yytext[1]) ;
+#endif
+ }
+
+{ANSEL_MACRON}{ANSEL_DOTABOVE}o |
+{ANSEL_DOTABOVE}{ANSEL_MACRON}o utf3byte('\x02','\x31') ; /* U+0231 */
+
+{ANSEL_MACRON}Y utf3byte('\x02','\x32') ; /* U+0232 */
+{ANSEL_MACRON}y utf3byte('\x02','\x33') ; /* U+0233 */
+
+{GEDCOM55_SLASH}T {
+#ifdef GEDCOM_LDSEXT
+ utf3byte('\x02','\x3e') ; /* U+023E */
+#else
+ fprintf(yyout,"%c",yytext[1]) ;
+#endif
+ }
+
+{GEDCOM55_SLASH}E {
+#ifdef GEDCOM_LDSEXT
+ utf3byte('\x02','\x46') ; /* U+0246 */
+#else
+ fprintf(yyout,"%c",yytext[1]) ;
+#endif
+ }
+
+{GEDCOM55_SLASH}e {
+#ifdef GEDCOM_LDSEXT
+ utf3byte('\x02','\x47') ; /* U+0247 */
+#else
+ fprintf(yyout,"%c",yytext[1]) ;
+#endif
+ }
+
+ /* end of Latin-extended B */
+
+ /* Latin-extended Additional */
+{ANSEL_CIRCLEBELOW}A utf3byte('\x1e','\x00') ; /* U+1E00 */
+{ANSEL_CIRCLEBELOW}a utf3byte('\x1e','\x01') ; /* U+1E01 */
+{ANSEL_DOTABOVE}B utf3byte('\x1e','\x02') ; /* U+1E02 */
+{ANSEL_DOTABOVE}b utf3byte('\x1e','\x03') ; /* U+1E03 */
+{ANSEL_DOTBELOW}B utf3byte('\x1e','\x04') ; /* U+1E04 */
+{ANSEL_DOTBELOW}b utf3byte('\x1e','\x05') ; /* U+1E05 */
+{ANSEL_UNDERSCORE}B utf3byte('\x1e','\x06') ; /* U+1E06 */
+{ANSEL_UNDERSCORE}b utf3byte('\x1e','\x07') ; /* U+1E07 */
+
+{ANSEL_ACUTEACCENT}{ANSEL_CEDILLA}C |
+{ANSEL_CEDILLA}{ANSEL_ACUTEACCENT}C utf3byte('\x1e','\x08') ; /* U+1E08 */
+
+{ANSEL_ACUTEACCENT}{ANSEL_CEDILLA}c |
+{ANSEL_CEDILLA}{ANSEL_ACUTEACCENT}c utf3byte('\x1e','\x09') ; /* U+1E09 */
+
+{ANSEL_DOTABOVE}D utf3byte('\x1e','\x0a') ; /* U+1E0A */
+{ANSEL_DOTABOVE}d utf3byte('\x1e','\x0b') ; /* U+1E0B */
+{ANSEL_DOTBELOW}D utf3byte('\x1e','\x0c') ; /* U+1E0C */
+{ANSEL_DOTBELOW}d utf3byte('\x1e','\x0d') ; /* U+1E0D */
+{ANSEL_UNDERSCORE}D utf3byte('\x1e','\x0e') ; /* U+1E0E */
+{ANSEL_UNDERSCORE}d utf3byte('\x1e','\x0f') ; /* U+1E0F */
+{ANSEL_CEDILLA}D |
+{ANSEL_LEFTHOOK}D utf3byte('\x1e','\x10') ; /* U+1E10 */
+{ANSEL_CEDILLA}d |
+{ANSEL_LEFTHOOK}d utf3byte('\x1e','\x11') ; /* U+1E11 */
+
+{ANSEL_GRAVEACCENT}{ANSEL_MACRON}E |
+{ANSEL_MACRON}{ANSEL_GRAVEACCENT}E utf3byte('\x1e','\x14') ; /* U+1E14 */
+
+{ANSEL_GRAVEACCENT}{ANSEL_MACRON}e |
+{ANSEL_MACRON}{ANSEL_GRAVEACCENT}e utf3byte('\x1e','\x15') ; /* U+1E15 */
+
+{ANSEL_ACUTEACCENT}{ANSEL_MACRON}E |
+{ANSEL_MACRON}{ANSEL_ACUTEACCENT}E utf3byte('\x1e','\x16') ; /* U+1E16 */
+
+{ANSEL_ACUTEACCENT}{ANSEL_MACRON}e |
+{ANSEL_MACRON}{ANSEL_ACUTEACCENT}e utf3byte('\x1e','\x17') ; /* U+1E17 */
+
+{ANSEL_CEDILLA}{ANSEL_BREVE}E |
+{ANSEL_BREVE}{ANSEL_CEDILLA}E utf3byte('\x1e','\x1c') ; /* U+1E1C */
+
+{ANSEL_CEDILLA}{ANSEL_BREVE}e |
+{ANSEL_BREVE}{ANSEL_CEDILLA}e utf3byte('\x1e','\x1d') ; /* U+1E1D */
+
+{ANSEL_DOTABOVE}F utf3byte('\x1e','\x1e') ; /* U+1E1E */
+{ANSEL_DOTABOVE}f utf3byte('\x1e','\x1f') ; /* U+1E1F */
+{ANSEL_MACRON}G utf3byte('\x1e','\x20') ; /* U+1E20 */
+{ANSEL_MACRON}g utf3byte('\x1e','\x21') ; /* U+1E21 */
+{ANSEL_DOTABOVE}H utf3byte('\x1e','\x22') ; /* U+1E22 */
+{ANSEL_DOTABOVE}h utf3byte('\x1e','\x23') ; /* U+1E23 */
+{ANSEL_DOTBELOW}H utf3byte('\x1e','\x24') ; /* U+1E24 */
+{ANSEL_DOTBELOW}h utf3byte('\x1e','\x25') ; /* U+1E25 */
+{ANSEL_DIARESIS}H utf3byte('\x1e','\x26') ; /* U+1E26 */
+{ANSEL_DIARESIS}h utf3byte('\x1e','\x27') ; /* U+1E27 */
+{ANSEL_CEDILLA}H |
+{ANSEL_LEFTHOOK}H utf3byte('\x1e','\x28') ; /* U+1E28 */
+{ANSEL_CEDILLA}h |
+{ANSEL_LEFTHOOK}h utf3byte('\x1e','\x29') ; /* U+1E29 */
+
+{ANSEL_ACUTEACCENT}{ANSEL_DIARESIS}I |
+{ANSEL_DIARESIS}{ANSEL_ACUTEACCENT}I utf3byte('\x1e','\x2e') ; /* U+1E2E */
+
+{ANSEL_ACUTEACCENT}{ANSEL_DIARESIS}i |
+{ANSEL_DIARESIS}{ANSEL_ACUTEACCENT}i utf3byte('\x1e','\x2f') ; /* U+1E2F */
+
+{ANSEL_ACUTEACCENT}K utf3byte('\x1e','\x30') ; /* U+1E30 */
+{ANSEL_ACUTEACCENT}k utf3byte('\x1e','\x31') ; /* U+1E31 */
+{ANSEL_DOTBELOW}K utf3byte('\x1e','\x32') ; /* U+1E32 */
+{ANSEL_DOTBELOW}k utf3byte('\x1e','\x33') ; /* U+1E33 */
+{ANSEL_UNDERSCORE}K utf3byte('\x1e','\x34') ; /* U+1E34 */
+{ANSEL_UNDERSCORE}k utf3byte('\x1e','\x35') ; /* U+1E35 */
+{ANSEL_DOTBELOW}L utf3byte('\x1e','\x36') ; /* U+1E36 */
+{ANSEL_DOTBELOW}l utf3byte('\x1e','\x37') ; /* U+1E37 */
+
+{ANSEL_DOTBELOW}{ANSEL_MACRON}L |
+{ANSEL_MACRON}{ANSEL_DOTBELOW}L utf3byte('\x1e','\x38') ; /* U+1E38 */
+
+{ANSEL_DOTBELOW}{ANSEL_MACRON}l |
+{ANSEL_MACRON}{ANSEL_DOTBELOW}l utf3byte('\x1e','\x39') ; /* U+1E39 */
+
+{ANSEL_UNDERSCORE}L utf3byte('\x1e','\x3a') ; /* U+1E3A */
+{ANSEL_UNDERSCORE}l utf3byte('\x1e','\x3b') ; /* U+1E3B */
+{ANSEL_ACUTEACCENT}M utf3byte('\x1e','\x3e') ; /* U+1E3E */
+{ANSEL_ACUTEACCENT}m utf3byte('\x1e','\x3f') ; /* U+1E3F */
+{ANSEL_DOTABOVE}M utf3byte('\x1e','\x40') ; /* U+1E40 */
+{ANSEL_DOTABOVE}m utf3byte('\x1e','\x41') ; /* U+1E41 */
+{ANSEL_DOTBELOW}M utf3byte('\x1e','\x42') ; /* U+1E42 */
+{ANSEL_DOTBELOW}m utf3byte('\x1e','\x43') ; /* U+1E43 */
+{ANSEL_DOTABOVE}N utf3byte('\x1e','\x44') ; /* U+1E44 */
+{ANSEL_DOTABOVE}n utf3byte('\x1e','\x45') ; /* U+1E45 */
+{ANSEL_UNDERSCORE}N utf3byte('\x1e','\x46') ; /* U+1E46 */
+{ANSEL_UNDERSCORE}n utf3byte('\x1e','\x47') ; /* U+1E47 */
+
+{ANSEL_ACUTEACCENT}{ANSEL_TILDE}O |
+{ANSEL_TILDE}{ANSEL_ACUTEACCENT}O utf3byte('\x1e','\x4c') ; /* U+1E4C */
+
+{ANSEL_ACUTEACCENT}{ANSEL_TILDE}o |
+{ANSEL_TILDE}{ANSEL_ACUTEACCENT}o utf3byte('\x1e','\x4d') ; /* U+1E4D */
+
+{ANSEL_DIARESIS}{ANSEL_TILDE}O |
+{ANSEL_TILDE}{ANSEL_DIARESIS}O utf3byte('\x1e','\x4e') ; /* U+1E4E */
+
+{ANSEL_DIARESIS}{ANSEL_TILDE}o |
+{ANSEL_TILDE}{ANSEL_DIARESIS}o utf3byte('\x1e','\x4f') ; /* U+1E4F */
+
+{ANSEL_GRAVEACCENT}{ANSEL_MACRON}O |
+{ANSEL_MACRON}{ANSEL_GRAVEACCENT}O utf3byte('\x1e','\x50') ; /* U+1E50 */
+
+{ANSEL_GRAVEACCENT}{ANSEL_MACRON}o |
+{ANSEL_MACRON}{ANSEL_GRAVEACCENT}o utf3byte('\x1e','\x51') ; /* U+1E51 */
+
+{ANSEL_ACUTEACCENT}{ANSEL_MACRON}O |
+{ANSEL_MACRON}{ANSEL_ACUTEACCENT}O utf3byte('\x1e','\x52') ; /* U+1E52 */
+
+{ANSEL_ACUTEACCENT}{ANSEL_MACRON}o |
+{ANSEL_MACRON}{ANSEL_ACUTEACCENT}o utf3byte('\x1e','\x53') ; /* U+1E53 */
+
+{ANSEL_ACUTEACCENT}P utf3byte('\x1e','\x54') ; /* U+1E54 */
+{ANSEL_ACUTEACCENT}p utf3byte('\x1e','\x55') ; /* U+1E55 */
+{ANSEL_DOTABOVE}P utf3byte('\x1e','\x56') ; /* U+1E56 */
+{ANSEL_DOTABOVE}p utf3byte('\x1e','\x57') ; /* U+1E57 */
+{ANSEL_DOTABOVE}R utf3byte('\x1e','\x58') ; /* U+1E58 */
+{ANSEL_DOTABOVE}r utf3byte('\x1e','\x59') ; /* U+1E59 */
+{ANSEL_DOTBELOW}R utf3byte('\x1e','\x5a') ; /* U+1E5A */
+{ANSEL_DOTBELOW}r utf3byte('\x1e','\x5b') ; /* U+1E5B */
+
+{ANSEL_DOTBELOW}{ANSEL_MACRON}R |
+{ANSEL_MACRON}{ANSEL_DOTBELOW}R utf3byte('\x1e','\x5c') ; /* U+1E5c */
+
+{ANSEL_DOTBELOW}{ANSEL_MACRON}r |
+{ANSEL_MACRON}{ANSEL_DOTBELOW}r utf3byte('\x1e','\x5d') ; /* U+1E5D */
+
+{ANSEL_UNDERSCORE}R utf3byte('\x1e','\x5e') ; /* U+1E5E */
+{ANSEL_UNDERSCORE}r utf3byte('\x1e','\x5f') ; /* U+1E5F */
+{ANSEL_DOTABOVE}S utf3byte('\x1e','\x60') ; /* U+1E60 */
+{ANSEL_DOTABOVE}s utf3byte('\x1e','\x61') ; /* U+1E61 */
+{ANSEL_DOTBELOW}S utf3byte('\x1e','\x62') ; /* U+1E62 */
+{ANSEL_DOTBELOW}s utf3byte('\x1e','\x63') ; /* U+1E63 */
+
+{ANSEL_ACUTEACCENT}{ANSEL_DOTABOVE}S |
+{ANSEL_DOTABOVE}{ANSEL_ACUTEACCENT}S utf3byte('\x1e','\x64') ; /* U+1E64 */
+
+{ANSEL_ACUTEACCENT}{ANSEL_DOTABOVE}s |
+{ANSEL_DOTABOVE}{ANSEL_ACUTEACCENT}s utf3byte('\x1e','\x65') ; /* U+1E65 */
+
+{ANSEL_CARON}{ANSEL_DOTABOVE}S |
+{ANSEL_DOTABOVE}{ANSEL_CARON}S utf3byte('\x1e','\x66') ; /* U+1E66 */
+
+{ANSEL_CARON}{ANSEL_DOTABOVE}s |
+{ANSEL_DOTABOVE}{ANSEL_CARON}s utf3byte('\x1e','\x67') ; /* U+1E67 */
+
+{ANSEL_DOTBELOW}{ANSEL_DOTABOVE}S |
+{ANSEL_DOTABOVE}{ANSEL_DOTBELOW}S utf3byte('\x1e','\x68') ; /* U+1E68 */
+
+{ANSEL_DOTBELOW}{ANSEL_DOTABOVE}s |
+{ANSEL_DOTABOVE}{ANSEL_DOTBELOW}s utf3byte('\x1e','\x69') ; /* U+1E69 */
+
+{ANSEL_DOTABOVE}T utf3byte('\x1e','\x6a') ; /* U+1E6A */
+{ANSEL_DOTABOVE}t utf3byte('\x1e','\x6b') ; /* U+1E6B */
+{ANSEL_DOTBELOW}T utf3byte('\x1e','\x6c') ; /* U+1E6C */
+{ANSEL_DOTBELOW}t utf3byte('\x1e','\x6d') ; /* U+1E6d */
+{ANSEL_UNDERSCORE}T utf3byte('\x1e','\x6e') ; /* U+1E6d */
+{ANSEL_UNDERSCORE}t utf3byte('\x1e','\x6f') ; /* U+1E6F */
+{ANSEL_DOUBLEDOTBELOW}U utf3byte('\x1e','\x72') ; /* U+1E72 */
+{ANSEL_DOUBLEDOTBELOW}u utf3byte('\x1e','\x73') ; /* U+1E73 */
+
+{ANSEL_ACUTEACCENT}{ANSEL_TILDE}U |
+{ANSEL_TILDE}{ANSEL_ACUTEACCENT}U utf3byte('\x1e','\x78') ; /* U+1E78 */
+
+{ANSEL_ACUTEACCENT}{ANSEL_TILDE}u |
+{ANSEL_TILDE}{ANSEL_ACUTEACCENT}u utf3byte('\x1e','\x79') ; /* U+1E79 */
+
+ /* see U+01D5 for the opposite order */
+{ANSEL_DIARESIS}{ANSEL_MACRON}U utf3byte('\x1e','\x7a') ; /* U+1E7A */
+{ANSEL_DIARESIS}{ANSEL_MACRON}u utf3byte('\x1e','\x7b') ; /* U+1E7B */
+
+{ANSEL_TILDE}V utf3byte('\x1e','\x7c') ; /* U+1E7C */
+{ANSEL_TILDE}v utf3byte('\x1e','\x7d') ; /* U+1E7D */
+{ANSEL_DOTBELOW}V utf3byte('\x1e','\x7e') ; /* U+1E7E */
+{ANSEL_DOTBELOW}v utf3byte('\x1e','\x7f') ; /* U+1E7F */
+{ANSEL_GRAVEACCENT}W utf3byte('\x1e','\x80') ; /* U+1E80 */
+{ANSEL_GRAVEACCENT}w utf3byte('\x1e','\x81') ; /* U+1E81 */
+{ANSEL_ACUTEACCENT}W utf3byte('\x1e','\x82') ; /* U+1E82 */
+{ANSEL_ACUTEACCENT}w utf3byte('\x1e','\x83') ; /* U+1E83 */
+{ANSEL_DIARESIS}W utf3byte('\x1e','\x84') ; /* U+1E84 */
+{ANSEL_DIARESIS}w utf3byte('\x1e','\x85') ; /* U+1E85 */
+{ANSEL_DOTABOVE}W utf3byte('\x1e','\x86') ; /* U+1E86 */
+{ANSEL_DOTABOVE}w utf3byte('\x1e','\x87') ; /* U+1E87 */
+{ANSEL_DOTBELOW}W utf3byte('\x1e','\x88') ; /* U+1E88 */
+{ANSEL_DOTBELOW}w utf3byte('\x1e','\x89') ; /* U+1E89 */
+{ANSEL_DOTABOVE}X utf3byte('\x1e','\x8a') ; /* U+1E8A */
+{ANSEL_DOTABOVE}x utf3byte('\x1e','\x8b') ; /* U+1E8B */
+{ANSEL_DIARESIS}X utf3byte('\x1e','\x8c') ; /* U+1E8C */
+{ANSEL_DIARESIS}x utf3byte('\x1e','\x8d') ; /* U+1E8D */
+{ANSEL_DOTABOVE}Y utf3byte('\x1e','\x8e') ; /* U+1E8E */
+{ANSEL_DOTABOVE}y utf3byte('\x1e','\x8f') ; /* U+1E8F */
+{ANSEL_CIRCUMFLEXACC}Z utf3byte('\x1e','\x90') ; /* U+1E90 */
+{ANSEL_CIRCUMFLEXACC}z utf3byte('\x1e','\x91') ; /* U+1E91 */
+{ANSEL_DOTBELOW}Z utf3byte('\x1e','\x92') ; /* U+1E92 */
+{ANSEL_DOTBELOW}z utf3byte('\x1e','\x93') ; /* U+1E93 */
+{ANSEL_UNDERSCORE}Z utf3byte('\x1e','\x94') ; /* U+1E94 */
+{ANSEL_UNDERSCORE}z utf3byte('\x1e','\x95') ; /* U+1E95 */
+{ANSEL_UNDERSCORE}h utf3byte('\x1e','\x96') ; /* U+1E96 */
+{ANSEL_DIARESIS}t utf3byte('\x1e','\x97') ; /* U+1E97 */
+{ANSEL_CIRCLEABOVE}w utf3byte('\x1e','\x98') ; /* U+1E98 */
+{ANSEL_CIRCLEABOVE}y utf3byte('\x1e','\x99') ; /* U+1E99 */
+{ANSEL_DOTBELOW}A utf3byte('\x1e','\xa0') ; /* U+1EA0 */
+{ANSEL_DOTBELOW}a utf3byte('\x1e','\xa1') ; /* U+1EA1 */
+{ANSEL_LOWRISINGTONE}A utf3byte('\x1e','\xa2') ; /* U+1EA2 */
+{ANSEL_LOWRISINGTONE}a utf3byte('\x1e','\xa3') ; /* U+1EA3 */
+
+{ANSEL_ACUTEACCENT}{ANSEL_CIRCUMFLEXACC}A |
+{ANSEL_CIRCUMFLEXACC}{ANSEL_ACUTEACCENT}A utf3byte('\x1e','\xa4') ; /* U+1EA4 */
+
+{ANSEL_ACUTEACCENT}{ANSEL_CIRCUMFLEXACC}a |
+{ANSEL_CIRCUMFLEXACC}{ANSEL_ACUTEACCENT}a utf3byte('\x1e','\xa5') ; /* U+1EA5 */
+
+{ANSEL_GRAVEACCENT}{ANSEL_CIRCUMFLEXACC}A |
+{ANSEL_CIRCUMFLEXACC}{ANSEL_GRAVEACCENT}A utf3byte('\x1e','\xa6') ; /* U+1EA6 */
+
+{ANSEL_GRAVEACCENT}{ANSEL_CIRCUMFLEXACC}a |
+{ANSEL_CIRCUMFLEXACC}{ANSEL_GRAVEACCENT}a utf3byte('\x1e','\xa7') ; /* U+1EA7 */
+
+{ANSEL_LOWRISINGTONE}{ANSEL_CIRCUMFLEXACC}A |
+{ANSEL_CIRCUMFLEXACC}{ANSEL_LOWRISINGTONE}A utf3byte('\x1e','\xa8') ; /* U+1EA8 */
+
+{ANSEL_LOWRISINGTONE}{ANSEL_CIRCUMFLEXACC}a |
+{ANSEL_CIRCUMFLEXACC}{ANSEL_LOWRISINGTONE}a utf3byte('\x1e','\xa9') ; /* U+1EA9 */
+
+{ANSEL_TILDE}{ANSEL_CIRCUMFLEXACC}A |
+{ANSEL_CIRCUMFLEXACC}{ANSEL_TILDE}A utf3byte('\x1e','\xaa') ; /* U+1EAA */
+
+{ANSEL_TILDE}{ANSEL_CIRCUMFLEXACC}a |
+{ANSEL_CIRCUMFLEXACC}{ANSEL_TILDE}a utf3byte('\x1e','\xab') ; /* U+1EAB */
+
+{ANSEL_DOTBELOW}{ANSEL_CIRCUMFLEXACC}A |
+{ANSEL_CIRCUMFLEXACC}{ANSEL_DOTBELOW}A utf3byte('\x1e','\xac') ; /* U+1EAC */
+
+{ANSEL_DOTBELOW}{ANSEL_CIRCUMFLEXACC}a |
+{ANSEL_CIRCUMFLEXACC}{ANSEL_DOTBELOW}a utf3byte('\x1e','\xad') ; /* U+1EAD */
+
+{ANSEL_ACUTEACCENT}{ANSEL_BREVE}A |
+{ANSEL_BREVE}{ANSEL_ACUTEACCENT}A utf3byte('\x1e','\xae') ; /* U+1EAE */
+
+{ANSEL_ACUTEACCENT}{ANSEL_BREVE}a |
+{ANSEL_BREVE}{ANSEL_ACUTEACCENT}a utf3byte('\x1e','\xaf') ; /* U+1EAF */
+
+{ANSEL_GRAVEACCENT}{ANSEL_BREVE}A |
+{ANSEL_BREVE}{ANSEL_GRAVEACCENT}A utf3byte('\x1e','\xb0') ; /* U+1EB0 */
+
+{ANSEL_GRAVEACCENT}{ANSEL_BREVE}a |
+{ANSEL_BREVE}{ANSEL_GRAVEACCENT}a utf3byte('\x1e','\xb1') ; /* U+1EB1 */
+
+{ANSEL_LOWRISINGTONE}{ANSEL_BREVE}A |
+{ANSEL_BREVE}{ANSEL_LOWRISINGTONE}A utf3byte('\x1e','\xb2') ; /* U+1EB2 */
+
+{ANSEL_LOWRISINGTONE}{ANSEL_BREVE}a |
+{ANSEL_BREVE}{ANSEL_LOWRISINGTONE}a utf3byte('\x1e','\xb3') ; /* U+1EB3 */
+
+{ANSEL_TILDE}{ANSEL_BREVE}A |
+{ANSEL_BREVE}{ANSEL_TILDE}A utf3byte('\x1e','\xb4') ; /* U+1EB4 */
+
+{ANSEL_TILDE}{ANSEL_BREVE}a |
+{ANSEL_BREVE}{ANSEL_TILDE}a utf3byte('\x1e','\xb5') ; /* U+1EB5 */
+
+{ANSEL_DOTBELOW}{ANSEL_BREVE}A |
+{ANSEL_BREVE}{ANSEL_DOTBELOW}A utf3byte('\x1e','\xb6') ; /* U+1EB6 */
+
+{ANSEL_DOTBELOW}{ANSEL_BREVE}a |
+{ANSEL_BREVE}{ANSEL_DOTBELOW}a utf3byte('\x1e','\xb7') ; /* U+1EB7 */
+
+{ANSEL_DOTBELOW}E utf3byte('\x1e','\xb8') ; /* U+1EB8 */
+{ANSEL_DOTBELOW}e utf3byte('\x1e','\xb9') ; /* U+1EB9 */
+
+{ANSEL_LOWRISINGTONE}E utf3byte('\x1e','\xba') ; /* U+1EBA */
+{ANSEL_LOWRISINGTONE}e utf3byte('\x1e','\xbb') ; /* U+1EBB */
+{ANSEL_TILDE}E utf3byte('\x1e','\xbc') ; /* U+1EBC */
+{ANSEL_TILDE}e utf3byte('\x1e','\xbd') ; /* U+1EBD */
+
+{ANSEL_ACUTEACCENT}{ANSEL_CIRCUMFLEXACC}E |
+{ANSEL_CIRCUMFLEXACC}{ANSEL_ACUTEACCENT}E utf3byte('\x1e','\xbe') ; /* U+1EBE */
+
+{ANSEL_ACUTEACCENT}{ANSEL_CIRCUMFLEXACC}e |
+{ANSEL_CIRCUMFLEXACC}{ANSEL_ACUTEACCENT}e utf3byte('\x1e','\xbf') ; /* U+1EBF */
+
+{ANSEL_GRAVEACCENT}{ANSEL_CIRCUMFLEXACC}E |
+{ANSEL_CIRCUMFLEXACC}{ANSEL_GRAVEACCENT}E utf3byte('\x1e','\xc0') ; /* U+1EC0*/
+
+{ANSEL_GRAVEACCENT}{ANSEL_CIRCUMFLEXACC}e |
+{ANSEL_CIRCUMFLEXACC}{ANSEL_GRAVEACCENT}e utf3byte('\x1e','\xc1') ; /* U+1EC1 */
+
+{ANSEL_LOWRISINGTONE}{ANSEL_CIRCUMFLEXACC}E |
+{ANSEL_CIRCUMFLEXACC}{ANSEL_LOWRISINGTONE}E utf3byte('\x1e','\xc2') ; /* U+1EC2 */
+
+{ANSEL_LOWRISINGTONE}{ANSEL_CIRCUMFLEXACC}e |
+{ANSEL_CIRCUMFLEXACC}{ANSEL_LOWRISINGTONE}e utf3byte('\x1e','\xc3') ; /* U+1EC3 */
+
+{ANSEL_TILDE}{ANSEL_CIRCUMFLEXACC}E |
+{ANSEL_CIRCUMFLEXACC}{ANSEL_TILDE}E utf3byte('\x1e','\xc4') ; /* U+1EC4 */
+
+{ANSEL_TILDE}{ANSEL_CIRCUMFLEXACC}e |
+{ANSEL_CIRCUMFLEXACC}{ANSEL_TILDE}e utf3byte('\x1e','\xc5') ; /* U+1EC5 */
+
+{ANSEL_DOTBELOW}{ANSEL_CIRCUMFLEXACC}E |
+{ANSEL_CIRCUMFLEXACC}{ANSEL_DOTBELOW}E utf3byte('\x1e','\xc6') ; /* U+1EC6 */
+
+{ANSEL_DOTBELOW}{ANSEL_CIRCUMFLEXACC}e |
+{ANSEL_CIRCUMFLEXACC}{ANSEL_DOTBELOW}e utf3byte('\x1e','\xc7') ; /* U+1EC7 */
+
+{ANSEL_LOWRISINGTONE}I utf3byte('\x1e','\xc8') ; /* U+1EC8 */
+{ANSEL_LOWRISINGTONE}i utf3byte('\x1e','\xc9') ; /* U+1EC9 */
+{ANSEL_DOTBELOW}I utf3byte('\x1e','\xca') ; /* U+1ECA */
+{ANSEL_DOTBELOW}i utf3byte('\x1e','\xcb') ; /* U+1ECB */
+{ANSEL_DOTBELOW}O utf3byte('\x1e','\xcc') ; /* U+1ECC */
+{ANSEL_DOTBELOW}o utf3byte('\x1e','\xcd') ; /* U+1ECD */
+{ANSEL_LOWRISINGTONE}O utf3byte('\x1e','\xce') ; /* U+1ECE */
+{ANSEL_LOWRISINGTONE}o utf3byte('\x1e','\xcf') ; /* U+1ECF */
+
+{ANSEL_ACUTEACCENT}{ANSEL_CIRCUMFLEXACC}O |
+{ANSEL_CIRCUMFLEXACC}{ANSEL_ACUTEACCENT}O utf3byte('\x1e','\xd0') ; /* U+1ED0 */
+
+{ANSEL_ACUTEACCENT}{ANSEL_CIRCUMFLEXACC}o |
+{ANSEL_CIRCUMFLEXACC}{ANSEL_ACUTEACCENT}o utf3byte('\x1e','\xd1') ; /* U+1Ed1 */
+
+{ANSEL_GRAVEACCENT}{ANSEL_CIRCUMFLEXACC}O |
+{ANSEL_CIRCUMFLEXACC}{ANSEL_GRAVEACCENT}O utf3byte('\x1e','\xd2') ; /* U+1ED2 */
+
+{ANSEL_GRAVEACCENT}{ANSEL_CIRCUMFLEXACC}o |
+{ANSEL_CIRCUMFLEXACC}{ANSEL_GRAVEACCENT}o utf3byte('\x1e','\xd3') ; /* U+1ED3 */
+
+{ANSEL_LOWRISINGTONE}{ANSEL_CIRCUMFLEXACC}O |
+{ANSEL_CIRCUMFLEXACC}{ANSEL_LOWRISINGTONE}O utf3byte('\x1e','\xd4') ; /* U+1ED4 */
+
+{ANSEL_LOWRISINGTONE}{ANSEL_CIRCUMFLEXACC}o |
+{ANSEL_CIRCUMFLEXACC}{ANSEL_LOWRISINGTONE}o utf3byte('\x1e','\xd5') ; /* U+1Ed5 */
+
+{ANSEL_TILDE}{ANSEL_CIRCUMFLEXACC}O |
+{ANSEL_CIRCUMFLEXACC}{ANSEL_TILDE}O utf3byte('\x1e','\xd6') ; /* U+1ED6 */
+
+{ANSEL_TILDE}{ANSEL_CIRCUMFLEXACC}o |
+{ANSEL_CIRCUMFLEXACC}{ANSEL_TILDE}o utf3byte('\x1e','\xd7') ; /* U+1ED7 */
+
+{ANSEL_DOTBELOW}{ANSEL_CIRCUMFLEXACC}O |
+{ANSEL_CIRCUMFLEXACC}{ANSEL_DOTBELOW}O utf3byte('\x1e','\xd8') ; /* U+1ED8 */
+
+{ANSEL_DOTBELOW}{ANSEL_CIRCUMFLEXACC}o |
+{ANSEL_CIRCUMFLEXACC}{ANSEL_DOTBELOW}o utf3byte('\x1e','\xd9') ; /* U+1ED9 */
+
+{ANSEL_ACUTEACCENT}{ANSEL_VIETO} utf3byte('\x1e','\xda') ; /* U+1EDA */
+{ANSEL_ACUTEACCENT}{ANSEL_VIETo} utf3byte('\x1e','\xdb') ; /* U+1EDB */
+{ANSEL_GRAVEACCENT}{ANSEL_VIETO} utf3byte('\x1e','\xdc') ; /* U+1EDC */
+{ANSEL_GRAVEACCENT}{ANSEL_VIETo} utf3byte('\x1e','\xdd') ; /* U+1EDD */
+{ANSEL_LOWRISINGTONE}{ANSEL_VIETO} utf3byte('\x1e','\xde') ; /* U+1EDE */
+{ANSEL_LOWRISINGTONE}{ANSEL_VIETo} utf3byte('\x1e','\xdf') ; /* U+1EDF */
+{ANSEL_TILDE}{ANSEL_VIETO} utf3byte('\x1e','\xe0') ; /* U+1EE0 */
+{ANSEL_TILDE}{ANSEL_VIETo} utf3byte('\x1e','\xe1') ; /* U+1EE1 */
+{ANSEL_DOTBELOW}{ANSEL_VIETO} utf3byte('\x1e','\xe2') ; /* U+1EE2 */
+{ANSEL_DOTBELOW}{ANSEL_VIETo} utf3byte('\x1e','\xe3') ; /* U+1EE3 */
+{ANSEL_DOTBELOW}U utf3byte('\x1e','\xe4') ; /* U+1EE4 */
+{ANSEL_DOTBELOW}u utf3byte('\x1e','\xe5') ; /* U+1EE5 */
+{ANSEL_LOWRISINGTONE}U utf3byte('\x1e','\xe6') ; /* U+1EE6 */
+{ANSEL_LOWRISINGTONE}u utf3byte('\x1e','\xe7') ; /* U+1EE7 */
+{ANSEL_ACUTEACCENT}{ANSEL_VIETU} utf3byte('\x1e','\xe8') ; /* U+1EE8 */
+{ANSEL_ACUTEACCENT}{ANSEL_VIETu} utf3byte('\x1e','\xe9') ; /* U+1EE9 */
+{ANSEL_GRAVEACCENT}{ANSEL_VIETU} utf3byte('\x1e','\xea') ; /* U+1EEA */
+{ANSEL_GRAVEACCENT}{ANSEL_VIETu} utf3byte('\x1e','\xeb') ; /* U+1EEB */
+{ANSEL_LOWRISINGTONE}{ANSEL_VIETU} utf3byte('\x1e','\xec') ; /* U+1EEC */
+{ANSEL_LOWRISINGTONE}{ANSEL_VIETu} utf3byte('\x1e','\xed') ; /* U+1EED */
+{ANSEL_TILDE}{ANSEL_VIETU} utf3byte('\x1e','\xee') ; /* U+1EEE */
+{ANSEL_TILDE}{ANSEL_VIETu} utf3byte('\x1e','\xef') ; /* U+1EEF */
+{ANSEL_DOTBELOW}{ANSEL_VIETU} utf3byte('\x1e','\xf0') ; /* U+1EF0 */
+{ANSEL_DOTBELOW}{ANSEL_VIETu} utf3byte('\x1e','\xf1') ; /* U+1EF1 */
+{ANSEL_GRAVEACCENT}Y utf3byte('\x1e','\xf2') ; /* U+1EF2 */
+{ANSEL_GRAVEACCENT}y utf3byte('\x1e','\xf3') ; /* U+1EF3 */
+{ANSEL_DOTBELOW}Y utf3byte('\x1e','\xf4') ; /* U+1EF4 */
+{ANSEL_DOTBELOW}y utf3byte('\x1e','\xf5') ; /* U+1EF5 */
+{ANSEL_LOWRISINGTONE}Y utf3byte('\x1e','\xf6') ; /* U+1EF6 */
+{ANSEL_LOWRISINGTONE}y utf3byte('\x1e','\xf7') ; /* U+1EF7 */
+{ANSEL_TILDE}Y utf3byte('\x1e','\xf8') ; /* U+1EF8 */
+{ANSEL_TILDE}y utf3byte('\x1e','\xf9') ; /* U+1EF9 */
+
+ /* end of Latin Extended Additional */
+
+\xae utf3byte('\x02','\xbc') ; /* alif */ /* U+1EBC */
+\xb0 utf3byte('\x02','\xbb') ; /* ayn */ /* U+1EBB */
+
+ /* MUSIC */
+\xa9 utf3byte('\x26','\x6d') ; /* MUSIC FLAT SIGN U+266D */
+\xc4 utf3byte('\x26','\x6f') ; /* MUSIC SHARP SIGN U+266F */
+
+\xc1 utf3byte('\x21','\x13') ; /* SCRIPT SMALL L U+2113 */
+\xc2 utf3byte('\x21','\x17') ; /* SOUNC RECORDING COPYRIGHT U+2117 */
+
+ /* hard, soft signs */
+\xb7 {
+#ifdef MARC_EXT
+ utf3byte('\x02','\xba') ; /* MODIFIER LETTER DOUBLE PRIME U+02BA */
+#else
+ utf3byte('\x04','\x4a') ; /* CYRILLIC SMALL LETTER HARD SIGN U+044A */
+#endif
+ }
+
+\xa7 {
+#ifdef MARC_EXT
+ utf3byte('\x02','\xb9') ; /* U+02B9 */
+#else
+ utf3byte('\x04','\x4c') ; /* CYRILLIC SMALL LETTER SOFT SIGN U+044A */
+#endif
+ }
+
+ /* Vietnamiese from Latin Extended-B */
+ANSEL_VIETO utf3byte('\x01','\xa0') ; /* LATIN CAPITAL LETTER o WITH HORN U+01A0 */
+ANSEL_VIETo utf3byte('\x01','\xa1') ; /* LATIN SMALL LETTER o WITH HORN U+01A1 */
+ANSEL_VIETU utf3byte('\x01','\xaf') ; /* LATIN CAPITAL LETTER u WITH HORN U+01AF */
+ANSEL_VIETu utf3byte('\x01','\xb0') ; /* LATIN SMALL LETTER u WITH HORN U+01B0 */
+
+{GEDCOM55_EMPTYBOX} {
+#ifdef GEDCOM_LDSEXT
+ utf3byte('\x25','\xa1') ; /*WHITE SQUARE U+25A1 this is a rumor not in the 5.5 or 5.5.1 standard */
+ ;
+#else
+ ;
+#endif
+ }
+
+{GEDCOM55_BLACKBOX} {
+#ifdef GEDCOM_LDSEXT
+ utf3byte('\x25','\xa0') ; /* BLACK SQUARE U+25A0 a rumor again not in GEDCOM 5.5 or 5.5.1 */
+ ;
+#else
+ ;
+#endif
+ }
+
+{GEDCOM55_SZ} {
+#if defined GEDCOM_EXT || defined GEDCOM_LDSEXT
+ utf2byte('\xdf') ; /* LATIN SMALL LETTER SHARP S U+00DF */
+ ;
+#else
+ ;
+#endif
+ }
+
+\xc7 {
+#ifdef MARC_EXT
+ utf2byte('\xdf') ; /* LATIN SMALL LETTER SHARP S U+00DF */
+#else
+ ;
+#endif
+ }
+
+\xc8 {
+#ifdef MARC_EXT
+ utf3byte('\x20','\xac') ; /* EURO SIGN U+20AC */
+#else
+ ;
+#endif
+ }
+
+
+
+ /* generic declarations follow. flex(1) specifies that they are
+ * superseded by those above if there are mutliple matchings of the same length */
+
+ /* invalid codes in the standard use : ignore (delete on output) */
+{ANSEL_RES_C1} |
+{ANSEL_CORN} |
+{ANSEL_RES_FUT} ;
+
+ /* low rising tone mark */
+{ANSEL_LOWRISINGTONE}[[:graph:]] {
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x09') ; /* COMBINING HOOK ABOVE U+0309 */
+ }
+
+ /* grave accent */
+{ANSEL_GRAVEACCENT}[[:graph:]] {
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x00') ; /* COMBINING GRAVE ACCENT U+0300 */
+ }
+
+ /* acute accent */
+{ANSEL_ACUTEACCENT}[[:graph:]] {
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x01') ; /* COMBINING ACUTE ACCENT U+0301 */
+ }
+
+ /* circumflex accent */
+{ANSEL_CIRCUMFLEXACC}[[:graph:]] {
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x02') ; /* COMBINING CIRCUMFLEX ACCENT U+0302 */
+ }
+
+ /* tilde */
+{ANSEL_TILDE}[[:graph:]] {
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x03') ; /* COMBINING TILDE U+0303 */
+ }
+
+ /* Macron */
+{ANSEL_MACRON}[[:graph:]] {
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x04') ; /* COMBINING MACRON U+0304 */
+ }
+
+ /* Breve */
+{ANSEL_BREVE}[[:graph:]] {
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x06') ; /* COMBINING BREVE U+0306 */
+ }
+
+ /* dot above */
+{ANSEL_DOTABOVE}[[:graph:]] {
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x07') ; /* COMBINING DOT ABOVE U+0307 */
+ }
+
+ /* Umlaut, diaresis, double dot above */
+{ANSEL_DIARESIS}[[:graph:]] {
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x08') ; /* COMBINING DIARESIS U+0308 */
+ }
+
+ /* Caron, hacek */
+{ANSEL_CARON}[[:graph:]] {
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x0c') ; /* COMBINING CARON U+030C */
+ }
+
+ /* circle, ring above */
+{ANSEL_CIRCLEABOVE}[[:graph:]] {
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x0a') ; /* COMBINING RING ABOVE U+030A */
+ }
+
+ /* ligature, left half \xeb, ligature right half \xec.
+ * For the purpose of the conversion we assume that \xeb[someletter]\xec[secondletter]
+ * is always in use */
+{ANSEL_LIGATURELEFT}[[:graph:]] {
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x61') ; /* COMBINING DOUBLE INVERTED BREVE U+0361 */
+ }
+
+{ANSEL_LIGATURERIGHT}[[:graph:]] {
+ fprintf(yyout,"%c",yytext[1]) ;
+ }
+
+ /* high comma, off center */
+{ANSEL_HIGHCOMMAOFFC}([[:graph:]]) {
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x15') ; /* COMBINING COMMA ABOVE RIGHT U+0315 */
+ }
+
+ /* Hungarian double acute */
+{ANSEL_DOUBLEACUTEACC}([[:graph:]]) {
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x0b') ; /* COMBINING DOUBLE ACUTE ACCENT U+030B */
+ }
+
+ /* combining candrabindu */
+{ANSEL_CANDRABINDU}[[:graph:]] {
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x10') ; /* COMBININGCANDRABINDU U+0310 */
+ }
+
+ /* cedilla */
+{ANSEL_CEDILLA}[[:graph:]] {
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x27') ; /* COMBINING CEDILLA U+0327 */
+ }
+
+
+ /* right hook */
+{ANSEL_RIGHTHOOK}[[:graph:]] {
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x28') ; /* COMBINING OGONEK U+0328 */
+ }
+
+ /* dot below */
+{ANSEL_DOTBELOW}[[:graph:]] {
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x23') ; /* COMBINING DOT BELOW U+0323 */
+ }
+
+ /* double dot below */
+{ANSEL_DOUBLEDOTBELOW}[[:graph:]] {
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x24') ; /* COMBINING DOUBLE DIARESIS BELOW U+0324 */
+ }
+
+ /* circle below */
+{ANSEL_CIRCLEBELOW}[[:graph:]] {
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x25') ; /* COMBINING RING BELOW U+0325 */
+ }
+
+ /* double underscore */
+{ANSEL_DOUBLEUNDERSC}[[:graph:]] {
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x33') ; /* COMBINING DOUBLE LOW LINE U+0333 */
+ }
+
+ /* underscore */
+{ANSEL_UNDERSCORE}[[:graph:]] {
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x32') ; /* COMBINING LOW LINE U+0332 */
+ }
+
+ /* left hook */
+{ANSEL_LEFTHOOK}[[:graph:]] {
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x26') ; /* COMBINING COMMA BELOW U+0326 */
+ }
+
+ /* right cedilla */
+{ANSEL_RIGHTCEDILLA}[[:graph:]] {
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x1c') ; /* COMBINING LEFT HALF RING BELOW U+031C */
+ }
+
+ /* half circle below hook */
+{ANSEL_HALFCIRCLBELOW}[[:graph:]] {
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x2e') ; /* COMBINING BREVE BELOW U+032e */
+ }
+
+ /* double tilde, left half and right half.
+ * For the purpose of the conversion we assume that \xfa[someletter]\xfb[secondletter]
+ * is always in use, without actually checking */
+{ANSEL_DOUBLETILDLEFT}[[:graph:]] {
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x60') ; /* COMBINING DOUBLE TILDE U+0360 */
+ }
+
+{ANSEL_DOUBLETILDRIGH}[[:graph:]] {
+ fprintf(yyout,"%c",yytext[1]) ;
+ }
+
+ /* high comma */
+{ANSEL_HIGHCOMMACENT}[[:graph:]] {
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x13') ; /* COMBINING COMMA ABOVE U+0313 */
+ }
+
+{GEDCOM55_SLASH}[[:graph:]] {
+#ifdef GEDCOM_LDSEXT
+ /* the corresponding multiple diacretics with the slash are not implemented below...*/
+ fprintf(yyout,"%c",yytext[1]) ;
+ utf3byte('\x03','\x38') ; /* COMBINING LONG SOLIDUS OVERLAY U+0337 , perhaps U+0337 */
+#else
+ fprintf(yyout,"%c",yytext[1]) ;
+#endif
+ }
+
+ /* three forms of newline in MAC, Unixes and DOS */
+\l newl(yytext) ;
+
+\l\n newl(yytext) ;
+
+\n newl(yytext) ;
+
+ /* Generic double accents. The U+1DC4 to U+1DCC are probably not
+ * meant to be used as double combining accents.
+ */
+{ANSEL_LOWRISINGTONE}{ANSEL_LOWRISINGTONE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x09') ;
+ }
+{ANSEL_LOWRISINGTONE}{ANSEL_GRAVEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x09') ;
+ }
+{ANSEL_LOWRISINGTONE}{ANSEL_ACUTEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x09') ;
+ }
+{ANSEL_LOWRISINGTONE}{ANSEL_CIRCUMFLEXACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x09') ;
+ }
+{ANSEL_LOWRISINGTONE}{ANSEL_TILDE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x09') ;
+ }
+{ANSEL_LOWRISINGTONE}{ANSEL_MACRON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x09') ;
+ }
+{ANSEL_LOWRISINGTONE}{ANSEL_BREVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x09') ;
+ }
+{ANSEL_LOWRISINGTONE}{ANSEL_DOTABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x09') ;
+ }
+{ANSEL_LOWRISINGTONE}{ANSEL_DIARESIS}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x09') ;
+ }
+{ANSEL_LOWRISINGTONE}{ANSEL_CARON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x09') ;
+ }
+{ANSEL_LOWRISINGTONE}{ANSEL_CIRCLEABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x09') ;
+ }
+{ANSEL_LOWRISINGTONE}{ANSEL_HIGHCOMMAOFFC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x09') ;
+ }
+{ANSEL_LOWRISINGTONE}{ANSEL_DOUBLEACUTEACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x09') ;
+ }
+{ANSEL_LOWRISINGTONE}{ANSEL_CANDRABINDU}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x09') ;
+ }
+{ANSEL_LOWRISINGTONE}{ANSEL_CEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x09') ;
+ }
+{ANSEL_LOWRISINGTONE}{ANSEL_RIGHTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x09') ;
+ }
+{ANSEL_LOWRISINGTONE}{ANSEL_DOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x09') ;
+ }
+{ANSEL_LOWRISINGTONE}{ANSEL_DOUBLEDOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x09') ;
+ }
+{ANSEL_LOWRISINGTONE}{ANSEL_CIRCLEBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x09') ;
+ }
+{ANSEL_LOWRISINGTONE}{ANSEL_DOUBLEUNDERSC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x09') ;
+ }
+{ANSEL_LOWRISINGTONE}{ANSEL_UNDERSCORE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x09') ;
+ }
+{ANSEL_LOWRISINGTONE}{ANSEL_LEFTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x09') ;
+ }
+{ANSEL_LOWRISINGTONE}{ANSEL_RIGHTCEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x09') ;
+ }
+{ANSEL_LOWRISINGTONE}{ANSEL_HALFCIRCLBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x09') ;
+ }
+{ANSEL_LOWRISINGTONE}{ANSEL_HIGHCOMMACENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x09') ;
+ }
+{ANSEL_GRAVEACCENT}{ANSEL_LOWRISINGTONE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x00') ;
+ }
+{ANSEL_GRAVEACCENT}{ANSEL_GRAVEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0f') ;
+ }
+{ANSEL_GRAVEACCENT}{ANSEL_ACUTEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x00') ;
+ }
+{ANSEL_GRAVEACCENT}{ANSEL_CIRCUMFLEXACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x00') ;
+ }
+{ANSEL_GRAVEACCENT}{ANSEL_TILDE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x00') ;
+ }
+{ANSEL_GRAVEACCENT}{ANSEL_MACRON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x00') ;
+ }
+{ANSEL_GRAVEACCENT}{ANSEL_BREVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x00') ;
+ }
+{ANSEL_GRAVEACCENT}{ANSEL_DOTABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x00') ;
+ }
+{ANSEL_GRAVEACCENT}{ANSEL_DIARESIS}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x00') ;
+ }
+{ANSEL_GRAVEACCENT}{ANSEL_CARON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x00') ;
+ }
+{ANSEL_GRAVEACCENT}{ANSEL_CIRCLEABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x00') ;
+ }
+{ANSEL_GRAVEACCENT}{ANSEL_HIGHCOMMAOFFC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x00') ;
+ }
+{ANSEL_GRAVEACCENT}{ANSEL_DOUBLEACUTEACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x00') ;
+ }
+{ANSEL_GRAVEACCENT}{ANSEL_CANDRABINDU}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x00') ;
+ }
+{ANSEL_GRAVEACCENT}{ANSEL_CEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x00') ;
+ }
+{ANSEL_GRAVEACCENT}{ANSEL_RIGHTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x00') ;
+ }
+{ANSEL_GRAVEACCENT}{ANSEL_DOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x00') ;
+ }
+{ANSEL_GRAVEACCENT}{ANSEL_DOUBLEDOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x00') ;
+ }
+{ANSEL_GRAVEACCENT}{ANSEL_CIRCLEBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x00') ;
+ }
+{ANSEL_GRAVEACCENT}{ANSEL_DOUBLEUNDERSC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x00') ;
+ }
+{ANSEL_GRAVEACCENT}{ANSEL_UNDERSCORE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x00') ;
+ }
+{ANSEL_GRAVEACCENT}{ANSEL_LEFTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x00') ;
+ }
+{ANSEL_GRAVEACCENT}{ANSEL_RIGHTCEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x00') ;
+ }
+{ANSEL_GRAVEACCENT}{ANSEL_HALFCIRCLBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x00') ;
+ }
+{ANSEL_GRAVEACCENT}{ANSEL_HIGHCOMMACENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x00') ;
+ }
+{ANSEL_ACUTEACCENT}{ANSEL_LOWRISINGTONE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x01') ;
+ }
+{ANSEL_ACUTEACCENT}{ANSEL_GRAVEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x01') ;
+ }
+{ANSEL_ACUTEACCENT}{ANSEL_ACUTEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x01') ;
+ }
+{ANSEL_ACUTEACCENT}{ANSEL_CIRCUMFLEXACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x01') ;
+ }
+{ANSEL_ACUTEACCENT}{ANSEL_TILDE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x01') ;
+ }
+{ANSEL_ACUTEACCENT}{ANSEL_MACRON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x01') ;
+ }
+{ANSEL_ACUTEACCENT}{ANSEL_BREVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x01') ;
+ }
+{ANSEL_ACUTEACCENT}{ANSEL_DOTABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x01') ;
+ }
+{ANSEL_ACUTEACCENT}{ANSEL_DIARESIS}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x01') ;
+ }
+{ANSEL_ACUTEACCENT}{ANSEL_CARON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x01') ;
+ }
+{ANSEL_ACUTEACCENT}{ANSEL_CIRCLEABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x01') ;
+ }
+{ANSEL_ACUTEACCENT}{ANSEL_HIGHCOMMAOFFC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x01') ;
+ }
+{ANSEL_ACUTEACCENT}{ANSEL_DOUBLEACUTEACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x01') ;
+ }
+{ANSEL_ACUTEACCENT}{ANSEL_CANDRABINDU}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x01') ;
+ }
+{ANSEL_ACUTEACCENT}{ANSEL_CEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x01') ;
+ }
+{ANSEL_ACUTEACCENT}{ANSEL_RIGHTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x01') ;
+ }
+{ANSEL_ACUTEACCENT}{ANSEL_DOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x01') ;
+ }
+{ANSEL_ACUTEACCENT}{ANSEL_DOUBLEDOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x01') ;
+ }
+{ANSEL_ACUTEACCENT}{ANSEL_CIRCLEBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x01') ;
+ }
+{ANSEL_ACUTEACCENT}{ANSEL_DOUBLEUNDERSC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x01') ;
+ }
+{ANSEL_ACUTEACCENT}{ANSEL_UNDERSCORE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x01') ;
+ }
+{ANSEL_ACUTEACCENT}{ANSEL_LEFTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x01') ;
+ }
+{ANSEL_ACUTEACCENT}{ANSEL_RIGHTCEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x01') ;
+ }
+{ANSEL_ACUTEACCENT}{ANSEL_HALFCIRCLBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x01') ;
+ }
+{ANSEL_ACUTEACCENT}{ANSEL_HIGHCOMMACENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x01') ;
+ }
+{ANSEL_CIRCUMFLEXACC}{ANSEL_LOWRISINGTONE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x02') ;
+ }
+{ANSEL_CIRCUMFLEXACC}{ANSEL_GRAVEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x02') ;
+ }
+{ANSEL_CIRCUMFLEXACC}{ANSEL_ACUTEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x02') ;
+ }
+{ANSEL_CIRCUMFLEXACC}{ANSEL_CIRCUMFLEXACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x02') ;
+ }
+{ANSEL_CIRCUMFLEXACC}{ANSEL_TILDE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x02') ;
+ }
+{ANSEL_CIRCUMFLEXACC}{ANSEL_MACRON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x02') ;
+ }
+{ANSEL_CIRCUMFLEXACC}{ANSEL_BREVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x02') ;
+ }
+{ANSEL_CIRCUMFLEXACC}{ANSEL_DOTABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x02') ;
+ }
+{ANSEL_CIRCUMFLEXACC}{ANSEL_DIARESIS}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x02') ;
+ }
+{ANSEL_CIRCUMFLEXACC}{ANSEL_CARON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x02') ;
+ }
+{ANSEL_CIRCUMFLEXACC}{ANSEL_CIRCLEABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x02') ;
+ }
+{ANSEL_CIRCUMFLEXACC}{ANSEL_HIGHCOMMAOFFC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x02') ;
+ }
+{ANSEL_CIRCUMFLEXACC}{ANSEL_DOUBLEACUTEACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x02') ;
+ }
+{ANSEL_CIRCUMFLEXACC}{ANSEL_CANDRABINDU}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x02') ;
+ }
+{ANSEL_CIRCUMFLEXACC}{ANSEL_CEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x02') ;
+ }
+{ANSEL_CIRCUMFLEXACC}{ANSEL_RIGHTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x02') ;
+ }
+{ANSEL_CIRCUMFLEXACC}{ANSEL_DOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x02') ;
+ }
+{ANSEL_CIRCUMFLEXACC}{ANSEL_DOUBLEDOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x02') ;
+ }
+{ANSEL_CIRCUMFLEXACC}{ANSEL_CIRCLEBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x02') ;
+ }
+{ANSEL_CIRCUMFLEXACC}{ANSEL_DOUBLEUNDERSC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x02') ;
+ }
+{ANSEL_CIRCUMFLEXACC}{ANSEL_UNDERSCORE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x02') ;
+ }
+{ANSEL_CIRCUMFLEXACC}{ANSEL_LEFTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x02') ;
+ }
+{ANSEL_CIRCUMFLEXACC}{ANSEL_RIGHTCEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x02') ;
+ }
+{ANSEL_CIRCUMFLEXACC}{ANSEL_HALFCIRCLBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x02') ;
+ }
+{ANSEL_CIRCUMFLEXACC}{ANSEL_HIGHCOMMACENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x02') ;
+ }
+{ANSEL_TILDE}{ANSEL_LOWRISINGTONE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x03') ;
+ }
+{ANSEL_TILDE}{ANSEL_GRAVEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x03') ;
+ }
+{ANSEL_TILDE}{ANSEL_ACUTEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x03') ;
+ }
+{ANSEL_TILDE}{ANSEL_CIRCUMFLEXACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x03') ;
+ }
+{ANSEL_TILDE}{ANSEL_TILDE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x03') ;
+ }
+{ANSEL_TILDE}{ANSEL_MACRON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x03') ;
+ }
+{ANSEL_TILDE}{ANSEL_BREVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x03') ;
+ }
+{ANSEL_TILDE}{ANSEL_DOTABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x03') ;
+ }
+{ANSEL_TILDE}{ANSEL_DIARESIS}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x03') ;
+ }
+{ANSEL_TILDE}{ANSEL_CARON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x03') ;
+ }
+{ANSEL_TILDE}{ANSEL_CIRCLEABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x03') ;
+ }
+{ANSEL_TILDE}{ANSEL_HIGHCOMMAOFFC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x03') ;
+ }
+{ANSEL_TILDE}{ANSEL_DOUBLEACUTEACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x03') ;
+ }
+{ANSEL_TILDE}{ANSEL_CANDRABINDU}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x03') ;
+ }
+{ANSEL_TILDE}{ANSEL_CEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x03') ;
+ }
+{ANSEL_TILDE}{ANSEL_RIGHTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x03') ;
+ }
+{ANSEL_TILDE}{ANSEL_DOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x03') ;
+ }
+{ANSEL_TILDE}{ANSEL_DOUBLEDOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x03') ;
+ }
+{ANSEL_TILDE}{ANSEL_CIRCLEBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x03') ;
+ }
+{ANSEL_TILDE}{ANSEL_DOUBLEUNDERSC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x03') ;
+ }
+{ANSEL_TILDE}{ANSEL_UNDERSCORE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x03') ;
+ }
+{ANSEL_TILDE}{ANSEL_LEFTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x03') ;
+ }
+{ANSEL_TILDE}{ANSEL_RIGHTCEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x03') ;
+ }
+{ANSEL_TILDE}{ANSEL_HALFCIRCLBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x03') ;
+ }
+{ANSEL_TILDE}{ANSEL_HIGHCOMMACENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x03') ;
+ }
+{ANSEL_MACRON}{ANSEL_LOWRISINGTONE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x04') ;
+ }
+{ANSEL_MACRON}{ANSEL_GRAVEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x04') ;
+ }
+{ANSEL_MACRON}{ANSEL_ACUTEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x04') ;
+ }
+{ANSEL_MACRON}{ANSEL_CIRCUMFLEXACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x04') ;
+ }
+{ANSEL_MACRON}{ANSEL_TILDE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x04') ;
+ }
+{ANSEL_MACRON}{ANSEL_MACRON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x04') ;
+ }
+{ANSEL_MACRON}{ANSEL_BREVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x04') ;
+ }
+{ANSEL_MACRON}{ANSEL_DOTABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x04') ;
+ }
+{ANSEL_MACRON}{ANSEL_DIARESIS}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x04') ;
+ }
+{ANSEL_MACRON}{ANSEL_CARON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x04') ;
+ }
+{ANSEL_MACRON}{ANSEL_CIRCLEABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x04') ;
+ }
+{ANSEL_MACRON}{ANSEL_HIGHCOMMAOFFC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x04') ;
+ }
+{ANSEL_MACRON}{ANSEL_DOUBLEACUTEACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x04') ;
+ }
+{ANSEL_MACRON}{ANSEL_CANDRABINDU}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x04') ;
+ }
+{ANSEL_MACRON}{ANSEL_CEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x04') ;
+ }
+{ANSEL_MACRON}{ANSEL_RIGHTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x04') ;
+ }
+{ANSEL_MACRON}{ANSEL_DOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x04') ;
+ }
+{ANSEL_MACRON}{ANSEL_DOUBLEDOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x04') ;
+ }
+{ANSEL_MACRON}{ANSEL_CIRCLEBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x04') ;
+ }
+{ANSEL_MACRON}{ANSEL_DOUBLEUNDERSC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x04') ;
+ }
+{ANSEL_MACRON}{ANSEL_UNDERSCORE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x04') ;
+ }
+{ANSEL_MACRON}{ANSEL_LEFTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x04') ;
+ }
+{ANSEL_MACRON}{ANSEL_RIGHTCEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x04') ;
+ }
+{ANSEL_MACRON}{ANSEL_HALFCIRCLBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x04') ;
+ }
+{ANSEL_MACRON}{ANSEL_HIGHCOMMACENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x04') ;
+ }
+{ANSEL_BREVE}{ANSEL_LOWRISINGTONE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x06') ;
+ }
+{ANSEL_BREVE}{ANSEL_GRAVEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x06') ;
+ }
+{ANSEL_BREVE}{ANSEL_ACUTEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x06') ;
+ }
+{ANSEL_BREVE}{ANSEL_CIRCUMFLEXACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x06') ;
+ }
+{ANSEL_BREVE}{ANSEL_TILDE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x06') ;
+ }
+{ANSEL_BREVE}{ANSEL_MACRON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x06') ;
+ }
+{ANSEL_BREVE}{ANSEL_BREVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x06') ;
+ }
+{ANSEL_BREVE}{ANSEL_DOTABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x06') ;
+ }
+{ANSEL_BREVE}{ANSEL_DIARESIS}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x06') ;
+ }
+{ANSEL_BREVE}{ANSEL_CARON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x06') ;
+ }
+{ANSEL_BREVE}{ANSEL_CIRCLEABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x06') ;
+ }
+{ANSEL_BREVE}{ANSEL_HIGHCOMMAOFFC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x06') ;
+ }
+{ANSEL_BREVE}{ANSEL_DOUBLEACUTEACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x06') ;
+ }
+{ANSEL_BREVE}{ANSEL_CANDRABINDU}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x06') ;
+ }
+{ANSEL_BREVE}{ANSEL_CEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x06') ;
+ }
+{ANSEL_BREVE}{ANSEL_RIGHTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x06') ;
+ }
+{ANSEL_BREVE}{ANSEL_DOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x06') ;
+ }
+{ANSEL_BREVE}{ANSEL_DOUBLEDOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x06') ;
+ }
+{ANSEL_BREVE}{ANSEL_CIRCLEBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x06') ;
+ }
+{ANSEL_BREVE}{ANSEL_DOUBLEUNDERSC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x06') ;
+ }
+{ANSEL_BREVE}{ANSEL_UNDERSCORE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x06') ;
+ }
+{ANSEL_BREVE}{ANSEL_LEFTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x06') ;
+ }
+{ANSEL_BREVE}{ANSEL_RIGHTCEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x06') ;
+ }
+{ANSEL_BREVE}{ANSEL_HALFCIRCLBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x06') ;
+ }
+{ANSEL_BREVE}{ANSEL_HIGHCOMMACENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x06') ;
+ }
+{ANSEL_DOTABOVE}{ANSEL_LOWRISINGTONE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x07') ;
+ }
+{ANSEL_DOTABOVE}{ANSEL_GRAVEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x07') ;
+ }
+{ANSEL_DOTABOVE}{ANSEL_ACUTEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x07') ;
+ }
+{ANSEL_DOTABOVE}{ANSEL_CIRCUMFLEXACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x07') ;
+ }
+{ANSEL_DOTABOVE}{ANSEL_TILDE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x07') ;
+ }
+{ANSEL_DOTABOVE}{ANSEL_MACRON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x07') ;
+ }
+{ANSEL_DOTABOVE}{ANSEL_BREVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x07') ;
+ }
+{ANSEL_DOTABOVE}{ANSEL_DOTABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x07') ;
+ }
+{ANSEL_DOTABOVE}{ANSEL_DIARESIS}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x07') ;
+ }
+{ANSEL_DOTABOVE}{ANSEL_CARON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x07') ;
+ }
+{ANSEL_DOTABOVE}{ANSEL_CIRCLEABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x07') ;
+ }
+{ANSEL_DOTABOVE}{ANSEL_HIGHCOMMAOFFC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x07') ;
+ }
+{ANSEL_DOTABOVE}{ANSEL_DOUBLEACUTEACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x07') ;
+ }
+{ANSEL_DOTABOVE}{ANSEL_CANDRABINDU}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x07') ;
+ }
+{ANSEL_DOTABOVE}{ANSEL_CEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x07') ;
+ }
+{ANSEL_DOTABOVE}{ANSEL_RIGHTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x07') ;
+ }
+{ANSEL_DOTABOVE}{ANSEL_DOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x07') ;
+ }
+{ANSEL_DOTABOVE}{ANSEL_DOUBLEDOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x07') ;
+ }
+{ANSEL_DOTABOVE}{ANSEL_CIRCLEBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x07') ;
+ }
+{ANSEL_DOTABOVE}{ANSEL_DOUBLEUNDERSC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x07') ;
+ }
+{ANSEL_DOTABOVE}{ANSEL_UNDERSCORE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x07') ;
+ }
+{ANSEL_DOTABOVE}{ANSEL_LEFTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x07') ;
+ }
+{ANSEL_DOTABOVE}{ANSEL_RIGHTCEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x07') ;
+ }
+{ANSEL_DOTABOVE}{ANSEL_HALFCIRCLBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x07') ;
+ }
+{ANSEL_DOTABOVE}{ANSEL_HIGHCOMMACENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x07') ;
+ }
+{ANSEL_DIARESIS}{ANSEL_LOWRISINGTONE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x08') ;
+ }
+{ANSEL_DIARESIS}{ANSEL_GRAVEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x08') ;
+ }
+{ANSEL_DIARESIS}{ANSEL_ACUTEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x08') ;
+ }
+{ANSEL_DIARESIS}{ANSEL_CIRCUMFLEXACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x08') ;
+ }
+{ANSEL_DIARESIS}{ANSEL_TILDE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x08') ;
+ }
+{ANSEL_DIARESIS}{ANSEL_MACRON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x08') ;
+ }
+{ANSEL_DIARESIS}{ANSEL_BREVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x08') ;
+ }
+{ANSEL_DIARESIS}{ANSEL_DOTABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x08') ;
+ }
+{ANSEL_DIARESIS}{ANSEL_DIARESIS}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x08') ;
+ }
+{ANSEL_DIARESIS}{ANSEL_CARON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x08') ;
+ }
+{ANSEL_DIARESIS}{ANSEL_CIRCLEABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x08') ;
+ }
+{ANSEL_DIARESIS}{ANSEL_HIGHCOMMAOFFC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x08') ;
+ }
+{ANSEL_DIARESIS}{ANSEL_DOUBLEACUTEACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x08') ;
+ }
+{ANSEL_DIARESIS}{ANSEL_CANDRABINDU}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x08') ;
+ }
+{ANSEL_DIARESIS}{ANSEL_CEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x08') ;
+ }
+{ANSEL_DIARESIS}{ANSEL_RIGHTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x08') ;
+ }
+{ANSEL_DIARESIS}{ANSEL_DOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x08') ;
+ }
+{ANSEL_DIARESIS}{ANSEL_DOUBLEDOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x08') ;
+ }
+{ANSEL_DIARESIS}{ANSEL_CIRCLEBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x08') ;
+ }
+{ANSEL_DIARESIS}{ANSEL_DOUBLEUNDERSC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x08') ;
+ }
+{ANSEL_DIARESIS}{ANSEL_UNDERSCORE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x08') ;
+ }
+{ANSEL_DIARESIS}{ANSEL_LEFTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x08') ;
+ }
+{ANSEL_DIARESIS}{ANSEL_RIGHTCEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x08') ;
+ }
+{ANSEL_DIARESIS}{ANSEL_HALFCIRCLBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x08') ;
+ }
+{ANSEL_DIARESIS}{ANSEL_HIGHCOMMACENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x08') ;
+ }
+{ANSEL_CARON}{ANSEL_LOWRISINGTONE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x0c') ;
+ }
+{ANSEL_CARON}{ANSEL_GRAVEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x0c') ;
+ }
+{ANSEL_CARON}{ANSEL_ACUTEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x0c') ;
+ }
+{ANSEL_CARON}{ANSEL_CIRCUMFLEXACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x0c') ;
+ }
+{ANSEL_CARON}{ANSEL_TILDE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x0c') ;
+ }
+{ANSEL_CARON}{ANSEL_MACRON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x0c') ;
+ }
+{ANSEL_CARON}{ANSEL_BREVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x0c') ;
+ }
+{ANSEL_CARON}{ANSEL_DOTABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x0c') ;
+ }
+{ANSEL_CARON}{ANSEL_DIARESIS}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x0c') ;
+ }
+{ANSEL_CARON}{ANSEL_CARON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x0c') ;
+ }
+{ANSEL_CARON}{ANSEL_CIRCLEABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x0c') ;
+ }
+{ANSEL_CARON}{ANSEL_HIGHCOMMAOFFC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x0c') ;
+ }
+{ANSEL_CARON}{ANSEL_DOUBLEACUTEACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x0c') ;
+ }
+{ANSEL_CARON}{ANSEL_CANDRABINDU}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x0c') ;
+ }
+{ANSEL_CARON}{ANSEL_CEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x0c') ;
+ }
+{ANSEL_CARON}{ANSEL_RIGHTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x0c') ;
+ }
+{ANSEL_CARON}{ANSEL_DOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x0c') ;
+ }
+{ANSEL_CARON}{ANSEL_DOUBLEDOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x0c') ;
+ }
+{ANSEL_CARON}{ANSEL_CIRCLEBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x0c') ;
+ }
+{ANSEL_CARON}{ANSEL_DOUBLEUNDERSC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x0c') ;
+ }
+{ANSEL_CARON}{ANSEL_UNDERSCORE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x0c') ;
+ }
+{ANSEL_CARON}{ANSEL_LEFTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x0c') ;
+ }
+{ANSEL_CARON}{ANSEL_RIGHTCEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x0c') ;
+ }
+{ANSEL_CARON}{ANSEL_HALFCIRCLBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x0c') ;
+ }
+{ANSEL_CARON}{ANSEL_HIGHCOMMACENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x0c') ;
+ }
+{ANSEL_CIRCLEABOVE}{ANSEL_LOWRISINGTONE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x0a') ;
+ }
+{ANSEL_CIRCLEABOVE}{ANSEL_GRAVEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x0a') ;
+ }
+{ANSEL_CIRCLEABOVE}{ANSEL_ACUTEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x0a') ;
+ }
+{ANSEL_CIRCLEABOVE}{ANSEL_CIRCUMFLEXACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x0a') ;
+ }
+{ANSEL_CIRCLEABOVE}{ANSEL_TILDE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x0a') ;
+ }
+{ANSEL_CIRCLEABOVE}{ANSEL_MACRON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x0a') ;
+ }
+{ANSEL_CIRCLEABOVE}{ANSEL_BREVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x0a') ;
+ }
+{ANSEL_CIRCLEABOVE}{ANSEL_DOTABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x0a') ;
+ }
+{ANSEL_CIRCLEABOVE}{ANSEL_DIARESIS}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x0a') ;
+ }
+{ANSEL_CIRCLEABOVE}{ANSEL_CARON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x0a') ;
+ }
+{ANSEL_CIRCLEABOVE}{ANSEL_CIRCLEABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x0a') ;
+ }
+{ANSEL_CIRCLEABOVE}{ANSEL_HIGHCOMMAOFFC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x0a') ;
+ }
+{ANSEL_CIRCLEABOVE}{ANSEL_DOUBLEACUTEACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x0a') ;
+ }
+{ANSEL_CIRCLEABOVE}{ANSEL_CANDRABINDU}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x0a') ;
+ }
+{ANSEL_CIRCLEABOVE}{ANSEL_CEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x0a') ;
+ }
+{ANSEL_CIRCLEABOVE}{ANSEL_RIGHTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x0a') ;
+ }
+{ANSEL_CIRCLEABOVE}{ANSEL_DOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x0a') ;
+ }
+{ANSEL_CIRCLEABOVE}{ANSEL_DOUBLEDOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x0a') ;
+ }
+{ANSEL_CIRCLEABOVE}{ANSEL_CIRCLEBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x0a') ;
+ }
+{ANSEL_CIRCLEABOVE}{ANSEL_DOUBLEUNDERSC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x0a') ;
+ }
+{ANSEL_CIRCLEABOVE}{ANSEL_UNDERSCORE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x0a') ;
+ }
+{ANSEL_CIRCLEABOVE}{ANSEL_LEFTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x0a') ;
+ }
+{ANSEL_CIRCLEABOVE}{ANSEL_RIGHTCEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x0a') ;
+ }
+{ANSEL_CIRCLEABOVE}{ANSEL_HALFCIRCLBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x0a') ;
+ }
+{ANSEL_CIRCLEABOVE}{ANSEL_HIGHCOMMACENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x0a') ;
+ }
+{ANSEL_HIGHCOMMAOFFC}{ANSEL_LOWRISINGTONE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x15') ;
+ }
+{ANSEL_HIGHCOMMAOFFC}{ANSEL_GRAVEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x15') ;
+ }
+{ANSEL_HIGHCOMMAOFFC}{ANSEL_ACUTEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x15') ;
+ }
+{ANSEL_HIGHCOMMAOFFC}{ANSEL_CIRCUMFLEXACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x15') ;
+ }
+{ANSEL_HIGHCOMMAOFFC}{ANSEL_TILDE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x15') ;
+ }
+{ANSEL_HIGHCOMMAOFFC}{ANSEL_MACRON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x15') ;
+ }
+{ANSEL_HIGHCOMMAOFFC}{ANSEL_BREVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x15') ;
+ }
+{ANSEL_HIGHCOMMAOFFC}{ANSEL_DOTABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x15') ;
+ }
+{ANSEL_HIGHCOMMAOFFC}{ANSEL_DIARESIS}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x15') ;
+ }
+{ANSEL_HIGHCOMMAOFFC}{ANSEL_CARON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x15') ;
+ }
+{ANSEL_HIGHCOMMAOFFC}{ANSEL_CIRCLEABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x15') ;
+ }
+{ANSEL_HIGHCOMMAOFFC}{ANSEL_HIGHCOMMAOFFC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x15') ;
+ }
+{ANSEL_HIGHCOMMAOFFC}{ANSEL_DOUBLEACUTEACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x15') ;
+ }
+{ANSEL_HIGHCOMMAOFFC}{ANSEL_CANDRABINDU}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x15') ;
+ }
+{ANSEL_HIGHCOMMAOFFC}{ANSEL_CEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x15') ;
+ }
+{ANSEL_HIGHCOMMAOFFC}{ANSEL_RIGHTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x15') ;
+ }
+{ANSEL_HIGHCOMMAOFFC}{ANSEL_DOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x15') ;
+ }
+{ANSEL_HIGHCOMMAOFFC}{ANSEL_DOUBLEDOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x15') ;
+ }
+{ANSEL_HIGHCOMMAOFFC}{ANSEL_CIRCLEBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x15') ;
+ }
+{ANSEL_HIGHCOMMAOFFC}{ANSEL_DOUBLEUNDERSC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x15') ;
+ }
+{ANSEL_HIGHCOMMAOFFC}{ANSEL_UNDERSCORE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x15') ;
+ }
+{ANSEL_HIGHCOMMAOFFC}{ANSEL_LEFTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x15') ;
+ }
+{ANSEL_HIGHCOMMAOFFC}{ANSEL_RIGHTCEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x15') ;
+ }
+{ANSEL_HIGHCOMMAOFFC}{ANSEL_HALFCIRCLBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x15') ;
+ }
+{ANSEL_HIGHCOMMAOFFC}{ANSEL_HIGHCOMMACENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x15') ;
+ }
+{ANSEL_DOUBLEACUTEACC}{ANSEL_LOWRISINGTONE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x0b') ;
+ }
+{ANSEL_DOUBLEACUTEACC}{ANSEL_GRAVEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x0b') ;
+ }
+{ANSEL_DOUBLEACUTEACC}{ANSEL_ACUTEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x0b') ;
+ }
+{ANSEL_DOUBLEACUTEACC}{ANSEL_CIRCUMFLEXACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x0b') ;
+ }
+{ANSEL_DOUBLEACUTEACC}{ANSEL_TILDE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x0b') ;
+ }
+{ANSEL_DOUBLEACUTEACC}{ANSEL_MACRON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x0b') ;
+ }
+{ANSEL_DOUBLEACUTEACC}{ANSEL_BREVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x0b') ;
+ }
+{ANSEL_DOUBLEACUTEACC}{ANSEL_DOTABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x0b') ;
+ }
+{ANSEL_DOUBLEACUTEACC}{ANSEL_DIARESIS}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x0b') ;
+ }
+{ANSEL_DOUBLEACUTEACC}{ANSEL_CARON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x0b') ;
+ }
+{ANSEL_DOUBLEACUTEACC}{ANSEL_CIRCLEABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x0b') ;
+ }
+{ANSEL_DOUBLEACUTEACC}{ANSEL_HIGHCOMMAOFFC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x0b') ;
+ }
+{ANSEL_DOUBLEACUTEACC}{ANSEL_DOUBLEACUTEACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x0b') ;
+ }
+{ANSEL_DOUBLEACUTEACC}{ANSEL_CANDRABINDU}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x0b') ;
+ }
+{ANSEL_DOUBLEACUTEACC}{ANSEL_CEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x0b') ;
+ }
+{ANSEL_DOUBLEACUTEACC}{ANSEL_RIGHTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x0b') ;
+ }
+{ANSEL_DOUBLEACUTEACC}{ANSEL_DOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x0b') ;
+ }
+{ANSEL_DOUBLEACUTEACC}{ANSEL_DOUBLEDOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x0b') ;
+ }
+{ANSEL_DOUBLEACUTEACC}{ANSEL_CIRCLEBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x0b') ;
+ }
+{ANSEL_DOUBLEACUTEACC}{ANSEL_DOUBLEUNDERSC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x0b') ;
+ }
+{ANSEL_DOUBLEACUTEACC}{ANSEL_UNDERSCORE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x0b') ;
+ }
+{ANSEL_DOUBLEACUTEACC}{ANSEL_LEFTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x0b') ;
+ }
+{ANSEL_DOUBLEACUTEACC}{ANSEL_RIGHTCEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x0b') ;
+ }
+{ANSEL_DOUBLEACUTEACC}{ANSEL_HALFCIRCLBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x0b') ;
+ }
+{ANSEL_DOUBLEACUTEACC}{ANSEL_HIGHCOMMACENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x0b') ;
+ }
+{ANSEL_CANDRABINDU}{ANSEL_LOWRISINGTONE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x10') ;
+ }
+{ANSEL_CANDRABINDU}{ANSEL_GRAVEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x10') ;
+ }
+{ANSEL_CANDRABINDU}{ANSEL_ACUTEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x10') ;
+ }
+{ANSEL_CANDRABINDU}{ANSEL_CIRCUMFLEXACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x10') ;
+ }
+{ANSEL_CANDRABINDU}{ANSEL_TILDE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x10') ;
+ }
+{ANSEL_CANDRABINDU}{ANSEL_MACRON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x10') ;
+ }
+{ANSEL_CANDRABINDU}{ANSEL_BREVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x10') ;
+ }
+{ANSEL_CANDRABINDU}{ANSEL_DOTABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x10') ;
+ }
+{ANSEL_CANDRABINDU}{ANSEL_DIARESIS}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x10') ;
+ }
+{ANSEL_CANDRABINDU}{ANSEL_CARON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x10') ;
+ }
+{ANSEL_CANDRABINDU}{ANSEL_CIRCLEABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x10') ;
+ }
+{ANSEL_CANDRABINDU}{ANSEL_HIGHCOMMAOFFC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x10') ;
+ }
+{ANSEL_CANDRABINDU}{ANSEL_DOUBLEACUTEACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x10') ;
+ }
+{ANSEL_CANDRABINDU}{ANSEL_CANDRABINDU}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x10') ;
+ }
+{ANSEL_CANDRABINDU}{ANSEL_CEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x10') ;
+ }
+{ANSEL_CANDRABINDU}{ANSEL_RIGHTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x10') ;
+ }
+{ANSEL_CANDRABINDU}{ANSEL_DOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x10') ;
+ }
+{ANSEL_CANDRABINDU}{ANSEL_DOUBLEDOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x10') ;
+ }
+{ANSEL_CANDRABINDU}{ANSEL_CIRCLEBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x10') ;
+ }
+{ANSEL_CANDRABINDU}{ANSEL_DOUBLEUNDERSC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x10') ;
+ }
+{ANSEL_CANDRABINDU}{ANSEL_UNDERSCORE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x10') ;
+ }
+{ANSEL_CANDRABINDU}{ANSEL_LEFTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x10') ;
+ }
+{ANSEL_CANDRABINDU}{ANSEL_RIGHTCEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x10') ;
+ }
+{ANSEL_CANDRABINDU}{ANSEL_HALFCIRCLBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x10') ;
+ }
+{ANSEL_CANDRABINDU}{ANSEL_HIGHCOMMACENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x10') ;
+ }
+{ANSEL_CEDILLA}{ANSEL_LOWRISINGTONE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x27') ;
+ }
+{ANSEL_CEDILLA}{ANSEL_GRAVEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x27') ;
+ }
+{ANSEL_CEDILLA}{ANSEL_ACUTEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x27') ;
+ }
+{ANSEL_CEDILLA}{ANSEL_CIRCUMFLEXACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x27') ;
+ }
+{ANSEL_CEDILLA}{ANSEL_TILDE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x27') ;
+ }
+{ANSEL_CEDILLA}{ANSEL_MACRON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x27') ;
+ }
+{ANSEL_CEDILLA}{ANSEL_BREVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x27') ;
+ }
+{ANSEL_CEDILLA}{ANSEL_DOTABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x27') ;
+ }
+{ANSEL_CEDILLA}{ANSEL_DIARESIS}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x27') ;
+ }
+{ANSEL_CEDILLA}{ANSEL_CARON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x27') ;
+ }
+{ANSEL_CEDILLA}{ANSEL_CIRCLEABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x27') ;
+ }
+{ANSEL_CEDILLA}{ANSEL_HIGHCOMMAOFFC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x27') ;
+ }
+{ANSEL_CEDILLA}{ANSEL_DOUBLEACUTEACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x27') ;
+ }
+{ANSEL_CEDILLA}{ANSEL_CANDRABINDU}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x27') ;
+ }
+{ANSEL_CEDILLA}{ANSEL_CEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x27') ;
+ }
+{ANSEL_CEDILLA}{ANSEL_RIGHTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x27') ;
+ }
+{ANSEL_CEDILLA}{ANSEL_DOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x27') ;
+ }
+{ANSEL_CEDILLA}{ANSEL_DOUBLEDOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x27') ;
+ }
+{ANSEL_CEDILLA}{ANSEL_CIRCLEBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x27') ;
+ }
+{ANSEL_CEDILLA}{ANSEL_DOUBLEUNDERSC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x27') ;
+ }
+{ANSEL_CEDILLA}{ANSEL_UNDERSCORE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x27') ;
+ }
+{ANSEL_CEDILLA}{ANSEL_LEFTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x27') ;
+ }
+{ANSEL_CEDILLA}{ANSEL_RIGHTCEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x27') ;
+ }
+{ANSEL_CEDILLA}{ANSEL_HALFCIRCLBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x27') ;
+ }
+{ANSEL_CEDILLA}{ANSEL_HIGHCOMMACENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x27') ;
+ }
+{ANSEL_RIGHTHOOK}{ANSEL_LOWRISINGTONE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x28') ;
+ }
+{ANSEL_RIGHTHOOK}{ANSEL_GRAVEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x28') ;
+ }
+{ANSEL_RIGHTHOOK}{ANSEL_ACUTEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x28') ;
+ }
+{ANSEL_RIGHTHOOK}{ANSEL_CIRCUMFLEXACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x28') ;
+ }
+{ANSEL_RIGHTHOOK}{ANSEL_TILDE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x28') ;
+ }
+{ANSEL_RIGHTHOOK}{ANSEL_MACRON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x28') ;
+ }
+{ANSEL_RIGHTHOOK}{ANSEL_BREVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x28') ;
+ }
+{ANSEL_RIGHTHOOK}{ANSEL_DOTABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x28') ;
+ }
+{ANSEL_RIGHTHOOK}{ANSEL_DIARESIS}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x28') ;
+ }
+{ANSEL_RIGHTHOOK}{ANSEL_CARON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x28') ;
+ }
+{ANSEL_RIGHTHOOK}{ANSEL_CIRCLEABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x28') ;
+ }
+{ANSEL_RIGHTHOOK}{ANSEL_HIGHCOMMAOFFC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x28') ;
+ }
+{ANSEL_RIGHTHOOK}{ANSEL_DOUBLEACUTEACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x28') ;
+ }
+{ANSEL_RIGHTHOOK}{ANSEL_CANDRABINDU}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x28') ;
+ }
+{ANSEL_RIGHTHOOK}{ANSEL_CEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x28') ;
+ }
+{ANSEL_RIGHTHOOK}{ANSEL_RIGHTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x28') ;
+ }
+{ANSEL_RIGHTHOOK}{ANSEL_DOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x28') ;
+ }
+{ANSEL_RIGHTHOOK}{ANSEL_DOUBLEDOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x28') ;
+ }
+{ANSEL_RIGHTHOOK}{ANSEL_CIRCLEBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x28') ;
+ }
+{ANSEL_RIGHTHOOK}{ANSEL_DOUBLEUNDERSC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x28') ;
+ }
+{ANSEL_RIGHTHOOK}{ANSEL_UNDERSCORE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x28') ;
+ }
+{ANSEL_RIGHTHOOK}{ANSEL_LEFTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x28') ;
+ }
+{ANSEL_RIGHTHOOK}{ANSEL_RIGHTCEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x28') ;
+ }
+{ANSEL_RIGHTHOOK}{ANSEL_HALFCIRCLBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x28') ;
+ }
+{ANSEL_RIGHTHOOK}{ANSEL_HIGHCOMMACENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x28') ;
+ }
+{ANSEL_DOTBELOW}{ANSEL_LOWRISINGTONE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x23') ;
+ }
+{ANSEL_DOTBELOW}{ANSEL_GRAVEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x23') ;
+ }
+{ANSEL_DOTBELOW}{ANSEL_ACUTEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x23') ;
+ }
+{ANSEL_DOTBELOW}{ANSEL_CIRCUMFLEXACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x23') ;
+ }
+{ANSEL_DOTBELOW}{ANSEL_TILDE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x23') ;
+ }
+{ANSEL_DOTBELOW}{ANSEL_MACRON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x23') ;
+ }
+{ANSEL_DOTBELOW}{ANSEL_BREVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x23') ;
+ }
+{ANSEL_DOTBELOW}{ANSEL_DOTABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x23') ;
+ }
+{ANSEL_DOTBELOW}{ANSEL_DIARESIS}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x23') ;
+ }
+{ANSEL_DOTBELOW}{ANSEL_CARON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x23') ;
+ }
+{ANSEL_DOTBELOW}{ANSEL_CIRCLEABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x23') ;
+ }
+{ANSEL_DOTBELOW}{ANSEL_HIGHCOMMAOFFC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x23') ;
+ }
+{ANSEL_DOTBELOW}{ANSEL_DOUBLEACUTEACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x23') ;
+ }
+{ANSEL_DOTBELOW}{ANSEL_CANDRABINDU}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x23') ;
+ }
+{ANSEL_DOTBELOW}{ANSEL_CEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x23') ;
+ }
+{ANSEL_DOTBELOW}{ANSEL_RIGHTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x23') ;
+ }
+{ANSEL_DOTBELOW}{ANSEL_DOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x23') ;
+ }
+{ANSEL_DOTBELOW}{ANSEL_DOUBLEDOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x23') ;
+ }
+{ANSEL_DOTBELOW}{ANSEL_CIRCLEBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x23') ;
+ }
+{ANSEL_DOTBELOW}{ANSEL_DOUBLEUNDERSC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x23') ;
+ }
+{ANSEL_DOTBELOW}{ANSEL_UNDERSCORE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x23') ;
+ }
+{ANSEL_DOTBELOW}{ANSEL_LEFTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x23') ;
+ }
+{ANSEL_DOTBELOW}{ANSEL_RIGHTCEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x23') ;
+ }
+{ANSEL_DOTBELOW}{ANSEL_HALFCIRCLBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x23') ;
+ }
+{ANSEL_DOTBELOW}{ANSEL_HIGHCOMMACENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x23') ;
+ }
+{ANSEL_DOUBLEDOTBELOW}{ANSEL_LOWRISINGTONE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x24') ;
+ }
+{ANSEL_DOUBLEDOTBELOW}{ANSEL_GRAVEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x24') ;
+ }
+{ANSEL_DOUBLEDOTBELOW}{ANSEL_ACUTEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x24') ;
+ }
+{ANSEL_DOUBLEDOTBELOW}{ANSEL_CIRCUMFLEXACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x24') ;
+ }
+{ANSEL_DOUBLEDOTBELOW}{ANSEL_TILDE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x24') ;
+ }
+{ANSEL_DOUBLEDOTBELOW}{ANSEL_MACRON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x24') ;
+ }
+{ANSEL_DOUBLEDOTBELOW}{ANSEL_BREVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x24') ;
+ }
+{ANSEL_DOUBLEDOTBELOW}{ANSEL_DOTABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x24') ;
+ }
+{ANSEL_DOUBLEDOTBELOW}{ANSEL_DIARESIS}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x24') ;
+ }
+{ANSEL_DOUBLEDOTBELOW}{ANSEL_CARON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x24') ;
+ }
+{ANSEL_DOUBLEDOTBELOW}{ANSEL_CIRCLEABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x24') ;
+ }
+{ANSEL_DOUBLEDOTBELOW}{ANSEL_HIGHCOMMAOFFC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x24') ;
+ }
+{ANSEL_DOUBLEDOTBELOW}{ANSEL_DOUBLEACUTEACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x24') ;
+ }
+{ANSEL_DOUBLEDOTBELOW}{ANSEL_CANDRABINDU}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x24') ;
+ }
+{ANSEL_DOUBLEDOTBELOW}{ANSEL_CEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x24') ;
+ }
+{ANSEL_DOUBLEDOTBELOW}{ANSEL_RIGHTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x24') ;
+ }
+{ANSEL_DOUBLEDOTBELOW}{ANSEL_DOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x24') ;
+ }
+{ANSEL_DOUBLEDOTBELOW}{ANSEL_DOUBLEDOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x24') ;
+ }
+{ANSEL_DOUBLEDOTBELOW}{ANSEL_CIRCLEBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x24') ;
+ }
+{ANSEL_DOUBLEDOTBELOW}{ANSEL_DOUBLEUNDERSC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x24') ;
+ }
+{ANSEL_DOUBLEDOTBELOW}{ANSEL_UNDERSCORE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x24') ;
+ }
+{ANSEL_DOUBLEDOTBELOW}{ANSEL_LEFTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x24') ;
+ }
+{ANSEL_DOUBLEDOTBELOW}{ANSEL_RIGHTCEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x24') ;
+ }
+{ANSEL_DOUBLEDOTBELOW}{ANSEL_HALFCIRCLBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x24') ;
+ }
+{ANSEL_DOUBLEDOTBELOW}{ANSEL_HIGHCOMMACENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x24') ;
+ }
+{ANSEL_CIRCLEBELOW}{ANSEL_LOWRISINGTONE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x25') ;
+ }
+{ANSEL_CIRCLEBELOW}{ANSEL_GRAVEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x25') ;
+ }
+{ANSEL_CIRCLEBELOW}{ANSEL_ACUTEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x25') ;
+ }
+{ANSEL_CIRCLEBELOW}{ANSEL_CIRCUMFLEXACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x25') ;
+ }
+{ANSEL_CIRCLEBELOW}{ANSEL_TILDE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x25') ;
+ }
+{ANSEL_CIRCLEBELOW}{ANSEL_MACRON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x25') ;
+ }
+{ANSEL_CIRCLEBELOW}{ANSEL_BREVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x25') ;
+ }
+{ANSEL_CIRCLEBELOW}{ANSEL_DOTABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x25') ;
+ }
+{ANSEL_CIRCLEBELOW}{ANSEL_DIARESIS}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x25') ;
+ }
+{ANSEL_CIRCLEBELOW}{ANSEL_CARON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x25') ;
+ }
+{ANSEL_CIRCLEBELOW}{ANSEL_CIRCLEABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x25') ;
+ }
+{ANSEL_CIRCLEBELOW}{ANSEL_HIGHCOMMAOFFC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x25') ;
+ }
+{ANSEL_CIRCLEBELOW}{ANSEL_DOUBLEACUTEACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x25') ;
+ }
+{ANSEL_CIRCLEBELOW}{ANSEL_CANDRABINDU}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x25') ;
+ }
+{ANSEL_CIRCLEBELOW}{ANSEL_CEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x25') ;
+ }
+{ANSEL_CIRCLEBELOW}{ANSEL_RIGHTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x25') ;
+ }
+{ANSEL_CIRCLEBELOW}{ANSEL_DOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x25') ;
+ }
+{ANSEL_CIRCLEBELOW}{ANSEL_DOUBLEDOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x25') ;
+ }
+{ANSEL_CIRCLEBELOW}{ANSEL_CIRCLEBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x25') ;
+ }
+{ANSEL_CIRCLEBELOW}{ANSEL_DOUBLEUNDERSC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x25') ;
+ }
+{ANSEL_CIRCLEBELOW}{ANSEL_UNDERSCORE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x25') ;
+ }
+{ANSEL_CIRCLEBELOW}{ANSEL_LEFTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x25') ;
+ }
+{ANSEL_CIRCLEBELOW}{ANSEL_RIGHTCEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x25') ;
+ }
+{ANSEL_CIRCLEBELOW}{ANSEL_HALFCIRCLBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x25') ;
+ }
+{ANSEL_CIRCLEBELOW}{ANSEL_HIGHCOMMACENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x25') ;
+ }
+{ANSEL_DOUBLEUNDERSC}{ANSEL_LOWRISINGTONE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x33') ;
+ }
+{ANSEL_DOUBLEUNDERSC}{ANSEL_GRAVEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x33') ;
+ }
+{ANSEL_DOUBLEUNDERSC}{ANSEL_ACUTEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x33') ;
+ }
+{ANSEL_DOUBLEUNDERSC}{ANSEL_CIRCUMFLEXACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x33') ;
+ }
+{ANSEL_DOUBLEUNDERSC}{ANSEL_TILDE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x33') ;
+ }
+{ANSEL_DOUBLEUNDERSC}{ANSEL_MACRON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x33') ;
+ }
+{ANSEL_DOUBLEUNDERSC}{ANSEL_BREVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x33') ;
+ }
+{ANSEL_DOUBLEUNDERSC}{ANSEL_DOTABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x33') ;
+ }
+{ANSEL_DOUBLEUNDERSC}{ANSEL_DIARESIS}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x33') ;
+ }
+{ANSEL_DOUBLEUNDERSC}{ANSEL_CARON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x33') ;
+ }
+{ANSEL_DOUBLEUNDERSC}{ANSEL_CIRCLEABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x33') ;
+ }
+{ANSEL_DOUBLEUNDERSC}{ANSEL_HIGHCOMMAOFFC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x33') ;
+ }
+{ANSEL_DOUBLEUNDERSC}{ANSEL_DOUBLEACUTEACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x33') ;
+ }
+{ANSEL_DOUBLEUNDERSC}{ANSEL_CANDRABINDU}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x33') ;
+ }
+{ANSEL_DOUBLEUNDERSC}{ANSEL_CEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x33') ;
+ }
+{ANSEL_DOUBLEUNDERSC}{ANSEL_RIGHTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x33') ;
+ }
+{ANSEL_DOUBLEUNDERSC}{ANSEL_DOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x33') ;
+ }
+{ANSEL_DOUBLEUNDERSC}{ANSEL_DOUBLEDOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x33') ;
+ }
+{ANSEL_DOUBLEUNDERSC}{ANSEL_CIRCLEBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x33') ;
+ }
+{ANSEL_DOUBLEUNDERSC}{ANSEL_DOUBLEUNDERSC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x33') ;
+ }
+{ANSEL_DOUBLEUNDERSC}{ANSEL_UNDERSCORE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x33') ;
+ }
+{ANSEL_DOUBLEUNDERSC}{ANSEL_LEFTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x33') ;
+ }
+{ANSEL_DOUBLEUNDERSC}{ANSEL_RIGHTCEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x33') ;
+ }
+{ANSEL_DOUBLEUNDERSC}{ANSEL_HALFCIRCLBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x33') ;
+ }
+{ANSEL_DOUBLEUNDERSC}{ANSEL_HIGHCOMMACENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x33') ;
+ }
+{ANSEL_UNDERSCORE}{ANSEL_LOWRISINGTONE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x32') ;
+ }
+{ANSEL_UNDERSCORE}{ANSEL_GRAVEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x32') ;
+ }
+{ANSEL_UNDERSCORE}{ANSEL_ACUTEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x32') ;
+ }
+{ANSEL_UNDERSCORE}{ANSEL_CIRCUMFLEXACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x32') ;
+ }
+{ANSEL_UNDERSCORE}{ANSEL_TILDE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x32') ;
+ }
+{ANSEL_UNDERSCORE}{ANSEL_MACRON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x32') ;
+ }
+{ANSEL_UNDERSCORE}{ANSEL_BREVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x32') ;
+ }
+{ANSEL_UNDERSCORE}{ANSEL_DOTABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x32') ;
+ }
+{ANSEL_UNDERSCORE}{ANSEL_DIARESIS}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x32') ;
+ }
+{ANSEL_UNDERSCORE}{ANSEL_CARON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x32') ;
+ }
+{ANSEL_UNDERSCORE}{ANSEL_CIRCLEABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x32') ;
+ }
+{ANSEL_UNDERSCORE}{ANSEL_HIGHCOMMAOFFC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x32') ;
+ }
+{ANSEL_UNDERSCORE}{ANSEL_DOUBLEACUTEACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x32') ;
+ }
+{ANSEL_UNDERSCORE}{ANSEL_CANDRABINDU}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x32') ;
+ }
+{ANSEL_UNDERSCORE}{ANSEL_CEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x32') ;
+ }
+{ANSEL_UNDERSCORE}{ANSEL_RIGHTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x32') ;
+ }
+{ANSEL_UNDERSCORE}{ANSEL_DOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x32') ;
+ }
+{ANSEL_UNDERSCORE}{ANSEL_DOUBLEDOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x32') ;
+ }
+{ANSEL_UNDERSCORE}{ANSEL_CIRCLEBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x32') ;
+ }
+{ANSEL_UNDERSCORE}{ANSEL_DOUBLEUNDERSC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x32') ;
+ }
+{ANSEL_UNDERSCORE}{ANSEL_UNDERSCORE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x32') ;
+ }
+{ANSEL_UNDERSCORE}{ANSEL_LEFTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x32') ;
+ }
+{ANSEL_UNDERSCORE}{ANSEL_RIGHTCEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x32') ;
+ }
+{ANSEL_UNDERSCORE}{ANSEL_HALFCIRCLBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x32') ;
+ }
+{ANSEL_UNDERSCORE}{ANSEL_HIGHCOMMACENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x32') ;
+ }
+{ANSEL_LEFTHOOK}{ANSEL_LOWRISINGTONE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x26') ;
+ }
+{ANSEL_LEFTHOOK}{ANSEL_GRAVEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x26') ;
+ }
+{ANSEL_LEFTHOOK}{ANSEL_ACUTEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x26') ;
+ }
+{ANSEL_LEFTHOOK}{ANSEL_CIRCUMFLEXACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x26') ;
+ }
+{ANSEL_LEFTHOOK}{ANSEL_TILDE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x26') ;
+ }
+{ANSEL_LEFTHOOK}{ANSEL_MACRON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x26') ;
+ }
+{ANSEL_LEFTHOOK}{ANSEL_BREVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x26') ;
+ }
+{ANSEL_LEFTHOOK}{ANSEL_DOTABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x26') ;
+ }
+{ANSEL_LEFTHOOK}{ANSEL_DIARESIS}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x26') ;
+ }
+{ANSEL_LEFTHOOK}{ANSEL_CARON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x26') ;
+ }
+{ANSEL_LEFTHOOK}{ANSEL_CIRCLEABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x26') ;
+ }
+{ANSEL_LEFTHOOK}{ANSEL_HIGHCOMMAOFFC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x26') ;
+ }
+{ANSEL_LEFTHOOK}{ANSEL_DOUBLEACUTEACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x26') ;
+ }
+{ANSEL_LEFTHOOK}{ANSEL_CANDRABINDU}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x26') ;
+ }
+{ANSEL_LEFTHOOK}{ANSEL_CEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x26') ;
+ }
+{ANSEL_LEFTHOOK}{ANSEL_RIGHTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x26') ;
+ }
+{ANSEL_LEFTHOOK}{ANSEL_DOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x26') ;
+ }
+{ANSEL_LEFTHOOK}{ANSEL_DOUBLEDOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x26') ;
+ }
+{ANSEL_LEFTHOOK}{ANSEL_CIRCLEBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x26') ;
+ }
+{ANSEL_LEFTHOOK}{ANSEL_DOUBLEUNDERSC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x26') ;
+ }
+{ANSEL_LEFTHOOK}{ANSEL_UNDERSCORE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x26') ;
+ }
+{ANSEL_LEFTHOOK}{ANSEL_LEFTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x26') ;
+ }
+{ANSEL_LEFTHOOK}{ANSEL_RIGHTCEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x26') ;
+ }
+{ANSEL_LEFTHOOK}{ANSEL_HALFCIRCLBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x26') ;
+ }
+{ANSEL_LEFTHOOK}{ANSEL_HIGHCOMMACENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x26') ;
+ }
+{ANSEL_RIGHTCEDILLA}{ANSEL_LOWRISINGTONE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x1c') ;
+ }
+{ANSEL_RIGHTCEDILLA}{ANSEL_GRAVEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x1c') ;
+ }
+{ANSEL_RIGHTCEDILLA}{ANSEL_ACUTEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x1c') ;
+ }
+{ANSEL_RIGHTCEDILLA}{ANSEL_CIRCUMFLEXACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x1c') ;
+ }
+{ANSEL_RIGHTCEDILLA}{ANSEL_TILDE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x1c') ;
+ }
+{ANSEL_RIGHTCEDILLA}{ANSEL_MACRON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x1c') ;
+ }
+{ANSEL_RIGHTCEDILLA}{ANSEL_BREVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x1c') ;
+ }
+{ANSEL_RIGHTCEDILLA}{ANSEL_DOTABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x1c') ;
+ }
+{ANSEL_RIGHTCEDILLA}{ANSEL_DIARESIS}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x1c') ;
+ }
+{ANSEL_RIGHTCEDILLA}{ANSEL_CARON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x1c') ;
+ }
+{ANSEL_RIGHTCEDILLA}{ANSEL_CIRCLEABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x1c') ;
+ }
+{ANSEL_RIGHTCEDILLA}{ANSEL_HIGHCOMMAOFFC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x1c') ;
+ }
+{ANSEL_RIGHTCEDILLA}{ANSEL_DOUBLEACUTEACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x1c') ;
+ }
+{ANSEL_RIGHTCEDILLA}{ANSEL_CANDRABINDU}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x1c') ;
+ }
+{ANSEL_RIGHTCEDILLA}{ANSEL_CEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x1c') ;
+ }
+{ANSEL_RIGHTCEDILLA}{ANSEL_RIGHTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x1c') ;
+ }
+{ANSEL_RIGHTCEDILLA}{ANSEL_DOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x1c') ;
+ }
+{ANSEL_RIGHTCEDILLA}{ANSEL_DOUBLEDOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x1c') ;
+ }
+{ANSEL_RIGHTCEDILLA}{ANSEL_CIRCLEBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x1c') ;
+ }
+{ANSEL_RIGHTCEDILLA}{ANSEL_DOUBLEUNDERSC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x1c') ;
+ }
+{ANSEL_RIGHTCEDILLA}{ANSEL_UNDERSCORE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x1c') ;
+ }
+{ANSEL_RIGHTCEDILLA}{ANSEL_LEFTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x1c') ;
+ }
+{ANSEL_RIGHTCEDILLA}{ANSEL_RIGHTCEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x1c') ;
+ }
+{ANSEL_RIGHTCEDILLA}{ANSEL_HALFCIRCLBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x1c') ;
+ }
+{ANSEL_RIGHTCEDILLA}{ANSEL_HIGHCOMMACENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x1c') ;
+ }
+{ANSEL_HALFCIRCLBELOW}{ANSEL_LOWRISINGTONE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x2e') ;
+ }
+{ANSEL_HALFCIRCLBELOW}{ANSEL_GRAVEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x2e') ;
+ }
+{ANSEL_HALFCIRCLBELOW}{ANSEL_ACUTEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x2e') ;
+ }
+{ANSEL_HALFCIRCLBELOW}{ANSEL_CIRCUMFLEXACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x2e') ;
+ }
+{ANSEL_HALFCIRCLBELOW}{ANSEL_TILDE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x2e') ;
+ }
+{ANSEL_HALFCIRCLBELOW}{ANSEL_MACRON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x2e') ;
+ }
+{ANSEL_HALFCIRCLBELOW}{ANSEL_BREVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x2e') ;
+ }
+{ANSEL_HALFCIRCLBELOW}{ANSEL_DOTABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x2e') ;
+ }
+{ANSEL_HALFCIRCLBELOW}{ANSEL_DIARESIS}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x2e') ;
+ }
+{ANSEL_HALFCIRCLBELOW}{ANSEL_CARON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x2e') ;
+ }
+{ANSEL_HALFCIRCLBELOW}{ANSEL_CIRCLEABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x2e') ;
+ }
+{ANSEL_HALFCIRCLBELOW}{ANSEL_HIGHCOMMAOFFC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x2e') ;
+ }
+{ANSEL_HALFCIRCLBELOW}{ANSEL_DOUBLEACUTEACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x2e') ;
+ }
+{ANSEL_HALFCIRCLBELOW}{ANSEL_CANDRABINDU}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x2e') ;
+ }
+{ANSEL_HALFCIRCLBELOW}{ANSEL_CEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x2e') ;
+ }
+{ANSEL_HALFCIRCLBELOW}{ANSEL_RIGHTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x2e') ;
+ }
+{ANSEL_HALFCIRCLBELOW}{ANSEL_DOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x2e') ;
+ }
+{ANSEL_HALFCIRCLBELOW}{ANSEL_DOUBLEDOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x2e') ;
+ }
+{ANSEL_HALFCIRCLBELOW}{ANSEL_CIRCLEBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x2e') ;
+ }
+{ANSEL_HALFCIRCLBELOW}{ANSEL_DOUBLEUNDERSC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x2e') ;
+ }
+{ANSEL_HALFCIRCLBELOW}{ANSEL_UNDERSCORE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x2e') ;
+ }
+{ANSEL_HALFCIRCLBELOW}{ANSEL_LEFTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x2e') ;
+ }
+{ANSEL_HALFCIRCLBELOW}{ANSEL_RIGHTCEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x2e') ;
+ }
+{ANSEL_HALFCIRCLBELOW}{ANSEL_HALFCIRCLBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x2e') ;
+ }
+{ANSEL_HALFCIRCLBELOW}{ANSEL_HIGHCOMMACENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x2e') ;
+ }
+{ANSEL_HIGHCOMMACENT}{ANSEL_LOWRISINGTONE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x09') ;
+ utf3byte('\x03','\x13') ;
+ }
+{ANSEL_HIGHCOMMACENT}{ANSEL_GRAVEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x00') ;
+ utf3byte('\x03','\x13') ;
+ }
+{ANSEL_HIGHCOMMACENT}{ANSEL_ACUTEACCENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x01') ;
+ utf3byte('\x03','\x13') ;
+ }
+{ANSEL_HIGHCOMMACENT}{ANSEL_CIRCUMFLEXACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x02') ;
+ utf3byte('\x03','\x13') ;
+ }
+{ANSEL_HIGHCOMMACENT}{ANSEL_TILDE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x03') ;
+ utf3byte('\x03','\x13') ;
+ }
+{ANSEL_HIGHCOMMACENT}{ANSEL_MACRON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x04') ;
+ utf3byte('\x03','\x13') ;
+ }
+{ANSEL_HIGHCOMMACENT}{ANSEL_BREVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x06') ;
+ utf3byte('\x03','\x13') ;
+ }
+{ANSEL_HIGHCOMMACENT}{ANSEL_DOTABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x07') ;
+ utf3byte('\x03','\x13') ;
+ }
+{ANSEL_HIGHCOMMACENT}{ANSEL_DIARESIS}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x08') ;
+ utf3byte('\x03','\x13') ;
+ }
+{ANSEL_HIGHCOMMACENT}{ANSEL_CARON}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0c') ;
+ utf3byte('\x03','\x13') ;
+ }
+{ANSEL_HIGHCOMMACENT}{ANSEL_CIRCLEABOVE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0a') ;
+ utf3byte('\x03','\x13') ;
+ }
+{ANSEL_HIGHCOMMACENT}{ANSEL_HIGHCOMMAOFFC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x15') ;
+ utf3byte('\x03','\x13') ;
+ }
+{ANSEL_HIGHCOMMACENT}{ANSEL_DOUBLEACUTEACC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x0b') ;
+ utf3byte('\x03','\x13') ;
+ }
+{ANSEL_HIGHCOMMACENT}{ANSEL_CANDRABINDU}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x10') ;
+ utf3byte('\x03','\x13') ;
+ }
+{ANSEL_HIGHCOMMACENT}{ANSEL_CEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x27') ;
+ utf3byte('\x03','\x13') ;
+ }
+{ANSEL_HIGHCOMMACENT}{ANSEL_RIGHTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x28') ;
+ utf3byte('\x03','\x13') ;
+ }
+{ANSEL_HIGHCOMMACENT}{ANSEL_DOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x23') ;
+ utf3byte('\x03','\x13') ;
+ }
+{ANSEL_HIGHCOMMACENT}{ANSEL_DOUBLEDOTBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x24') ;
+ utf3byte('\x03','\x13') ;
+ }
+{ANSEL_HIGHCOMMACENT}{ANSEL_CIRCLEBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x25') ;
+ utf3byte('\x03','\x13') ;
+ }
+{ANSEL_HIGHCOMMACENT}{ANSEL_DOUBLEUNDERSC}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x33') ;
+ utf3byte('\x03','\x13') ;
+ }
+{ANSEL_HIGHCOMMACENT}{ANSEL_UNDERSCORE}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x32') ;
+ utf3byte('\x03','\x13') ;
+ }
+{ANSEL_HIGHCOMMACENT}{ANSEL_LEFTHOOK}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x26') ;
+ utf3byte('\x03','\x13') ;
+ }
+{ANSEL_HIGHCOMMACENT}{ANSEL_RIGHTCEDILLA}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x1c') ;
+ utf3byte('\x03','\x13') ;
+ }
+{ANSEL_HIGHCOMMACENT}{ANSEL_HALFCIRCLBELOW}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x2e') ;
+ utf3byte('\x03','\x13') ;
+ }
+{ANSEL_HIGHCOMMACENT}{ANSEL_HIGHCOMMACENT}[[:print::]] {
+ fprintf(yyout,"%c",yytext[2]);
+ utf3byte('\x03','\x13') ;
+ utf3byte('\x03','\x13') ;
+ }
+
+%%
+
+int main(int argc, char *argv[])
+{
+ ++argv, --argc; /* Skip over program name. */
+ if (argc > 0)
+ yyin = fopen(argv[0], "r");
+ else
+ yyin = stdin;
+ yylex();
+ return 0 ;
+}
+
diff --git a/biblio/bibtex/utils/r2bib/config.h.in b/biblio/bibtex/utils/r2bib/config.h.in
new file mode 100644
index 0000000000..af916ab14d
--- /dev/null
+++ b/biblio/bibtex/utils/r2bib/config.h.in
@@ -0,0 +1,62 @@
+/* config.h.in. Generated from configure.ac by autoheader. */
+
+/* Define to 1 if you have the <ctype.h> header file. */
+#undef HAVE_CTYPE_H
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#undef HAVE_INTTYPES_H
+
+/* Define to 1 if you have the <memory.h> header file. */
+#undef HAVE_MEMORY_H
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#undef HAVE_STDINT_H
+
+/* Define to 1 if you have the <stdio.h> header file. */
+#undef HAVE_STDIO_H
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#undef HAVE_STDLIB_H
+
+/* Define to 1 if you have the <strings.h> header file. */
+#undef HAVE_STRINGS_H
+
+/* Define to 1 if you have the <string.h> header file. */
+#undef HAVE_STRING_H
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#undef HAVE_SYS_STAT_H
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#undef HAVE_SYS_TYPES_H
+
+/* Define to 1 if you have the <time.h> header file. */
+#undef HAVE_TIME_H
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#undef HAVE_UNISTD_H
+
+/* Define to the address where bug reports for this package should be sent. */
+#undef PACKAGE_BUGREPORT
+
+/* Define to the full name of this package. */
+#undef PACKAGE_NAME
+
+/* Define to the full name and version of this package. */
+#undef PACKAGE_STRING
+
+/* Define to the one symbol short name of this package. */
+#undef PACKAGE_TARNAME
+
+/* Define to the home page for this package. */
+#undef PACKAGE_URL
+
+/* Define to the version of this package. */
+#undef PACKAGE_VERSION
+
+/* Define to 1 if you have the ANSI C header files. */
+#undef STDC_HEADERS
+
+/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
+ `char[]'. */
+#undef YYTEXT_POINTER
diff --git a/biblio/bibtex/utils/r2bib/configure b/biblio/bibtex/utils/r2bib/configure
new file mode 100755
index 0000000000..67399df68b
--- /dev/null
+++ b/biblio/bibtex/utils/r2bib/configure
@@ -0,0 +1,6095 @@
+#! /bin/sh
+# Guess values for system-dependent variables and create Makefiles.
+# Generated by GNU Autoconf 2.69 for r2bib 2015.12.07.
+#
+# Report bugs to <mathar@mpia.de>.
+#
+#
+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
+#
+#
+# This configure script is free software; the Free Software Foundation
+# gives unlimited permission to copy, distribute and modify it.
+## -------------------- ##
+## M4sh Initialization. ##
+## -------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in #(
+ *posix*) :
+ set -o posix ;; #(
+ *) :
+ ;;
+esac
+fi
+
+
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='print -r --'
+ as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+else
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+ as_echo_n='/usr/ucb/echo -n'
+ else
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+ as_echo_n_body='eval
+ arg=$1;
+ case $arg in #(
+ *"$as_nl"*)
+ expr "X$arg" : "X\\(.*\\)$as_nl";
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+ esac;
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+ '
+ export as_echo_n_body
+ as_echo_n='sh -c $as_echo_n_body as_echo'
+ fi
+ export as_echo_body
+ as_echo='sh -c $as_echo_body as_echo'
+fi
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+ PATH_SEPARATOR=';'
+ }
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" "" $as_nl"
+
+# Find who we are. Look in the path if we contain no directory separator.
+as_myself=
+case $0 in #((
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+ as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ exit 1
+fi
+
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there. '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+# Use a proper internal environment variable to ensure we don't fall
+ # into an infinite loop, continuously re-executing ourselves.
+ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
+ _as_can_reexec=no; export _as_can_reexec;
+ # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # ((((
+ *v*x* | *x*v* ) as_opts=-vx ;;
+ *v* ) as_opts=-v ;;
+ *x* ) as_opts=-x ;;
+ * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+as_fn_exit 255
+ fi
+ # We don't want this to propagate to other subprocesses.
+ { _as_can_reexec=; unset _as_can_reexec;}
+if test "x$CONFIG_SHELL" = x; then
+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '\${1+\"\$@\"}'='\"\$@\"'
+ setopt NO_GLOB_SUBST
+else
+ case \`(set -o) 2>/dev/null\` in #(
+ *posix*) :
+ set -o posix ;; #(
+ *) :
+ ;;
+esac
+fi
+"
+ as_required="as_fn_return () { (exit \$1); }
+as_fn_success () { as_fn_return 0; }
+as_fn_failure () { as_fn_return 1; }
+as_fn_ret_success () { return 0; }
+as_fn_ret_failure () { return 1; }
+
+exitcode=0
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
+
+else
+ exitcode=1; echo positional parameters were not saved.
+fi
+test x\$exitcode = x0 || exit 1
+test -x / || exit 1"
+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
+test \$(( 1 + 1 )) = 2 || exit 1"
+ if (eval "$as_required") 2>/dev/null; then :
+ as_have_required=yes
+else
+ as_have_required=no
+fi
+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
+
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+as_found=false
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ as_found=:
+ case $as_dir in #(
+ /*)
+ for as_base in sh bash ksh sh5; do
+ # Try only shells that exist, to save several forks.
+ as_shell=$as_dir/$as_base
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
+ CONFIG_SHELL=$as_shell as_have_required=yes
+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
+ break 2
+fi
+fi
+ done;;
+ esac
+ as_found=false
+done
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
+ CONFIG_SHELL=$SHELL as_have_required=yes
+fi; }
+IFS=$as_save_IFS
+
+
+ if test "x$CONFIG_SHELL" != x; then :
+ export CONFIG_SHELL
+ # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # ((((
+ *v*x* | *x*v* ) as_opts=-vx ;;
+ *v* ) as_opts=-v ;;
+ *x* ) as_opts=-x ;;
+ * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+exit 255
+fi
+
+ if test x$as_have_required = xno; then :
+ $as_echo "$0: This script requires a shell more modern than all"
+ $as_echo "$0: the shells that I found on your system."
+ if test x${ZSH_VERSION+set} = xset ; then
+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
+ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
+ else
+ $as_echo "$0: Please tell bug-autoconf@gnu.org and mathar@mpia.de
+$0: about your system, including any error possibly output
+$0: before this message. Then install a modern shell, or
+$0: manually run the script under such a shell if you do
+$0: have one."
+ fi
+ exit 1
+fi
+fi
+fi
+SHELL=${CONFIG_SHELL-/bin/sh}
+export SHELL
+# Unset more variables known to interfere with behavior of common tools.
+CLICOLOR_FORCE= GREP_OPTIONS=
+unset CLICOLOR_FORCE GREP_OPTIONS
+
+## --------------------- ##
+## M4sh Shell Functions. ##
+## --------------------- ##
+# as_fn_unset VAR
+# ---------------
+# Portably unset VAR.
+as_fn_unset ()
+{
+ { eval $1=; unset $1;}
+}
+as_unset=as_fn_unset
+
+# as_fn_set_status STATUS
+# -----------------------
+# Set $? to STATUS, without forking.
+as_fn_set_status ()
+{
+ return $1
+} # as_fn_set_status
+
+# as_fn_exit STATUS
+# -----------------
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
+as_fn_exit ()
+{
+ set +e
+ as_fn_set_status $1
+ exit $1
+} # as_fn_exit
+
+# as_fn_mkdir_p
+# -------------
+# Create "$as_dir" as a directory, including parents if necessary.
+as_fn_mkdir_p ()
+{
+
+ case $as_dir in #(
+ -*) as_dir=./$as_dir;;
+ esac
+ test -d "$as_dir" || eval $as_mkdir_p || {
+ as_dirs=
+ while :; do
+ case $as_dir in #(
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+ *) as_qdir=$as_dir;;
+ esac
+ as_dirs="'$as_qdir' $as_dirs"
+ as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ test -d "$as_dir" && break
+ done
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+
+
+} # as_fn_mkdir_p
+
+# as_fn_executable_p FILE
+# -----------------------
+# Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+ test -f "$1" && test -x "$1"
+} # as_fn_executable_p
+# as_fn_append VAR VALUE
+# ----------------------
+# Append the text in VALUE to the end of the definition contained in VAR. Take
+# advantage of any shell optimizations that allow amortized linear growth over
+# repeated appends, instead of the typical quadratic growth present in naive
+# implementations.
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
+ eval 'as_fn_append ()
+ {
+ eval $1+=\$2
+ }'
+else
+ as_fn_append ()
+ {
+ eval $1=\$$1\$2
+ }
+fi # as_fn_append
+
+# as_fn_arith ARG...
+# ------------------
+# Perform arithmetic evaluation on the ARGs, and store the result in the
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
+# must be portable across $(()) and expr.
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
+ eval 'as_fn_arith ()
+ {
+ as_val=$(( $* ))
+ }'
+else
+ as_fn_arith ()
+ {
+ as_val=`expr "$@" || test $? -eq 1`
+ }
+fi # as_fn_arith
+
+
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
+# ----------------------------------------
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
+# script with STATUS, using 1 if that was 0.
+as_fn_error ()
+{
+ as_status=$1; test $as_status -eq 0 && as_status=1
+ if test "$4"; then
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+ fi
+ $as_echo "$as_me: error: $2" >&2
+ as_fn_exit $as_status
+} # as_fn_error
+
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
+
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+
+ as_lineno_1=$LINENO as_lineno_1a=$LINENO
+ as_lineno_2=$LINENO as_lineno_2a=$LINENO
+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
+ sed -n '
+ p
+ /[$]LINENO/=
+ ' <$as_myself |
+ sed '
+ s/[$]LINENO.*/&-/
+ t lineno
+ b
+ :lineno
+ N
+ :loop
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
+ t loop
+ s/-\n.*//
+ ' >$as_me.lineno &&
+ chmod +x "$as_me.lineno" ||
+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
+
+ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
+ # already done that, so ensure we don't try to do so again and fall
+ # in an infinite loop. This has already happened in practice.
+ _as_can_reexec=no; export _as_can_reexec
+ # Don't try to exec as it changes $[0], causing all sort of problems
+ # (the dirname of $[0] is not the place where we might find the
+ # original and so on. Autoconf is especially sensitive to this).
+ . "./$as_me.lineno"
+ # Exit status is that of the last command.
+ exit
+}
+
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in #(((((
+-n*)
+ case `echo 'xy\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+ xy) ECHO_C='\c';;
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
+ ECHO_T=' ';;
+ esac;;
+*)
+ ECHO_N='-n';;
+esac
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+else
+ rm -f conf$$.dir
+ mkdir conf$$.dir 2>/dev/null
+fi
+if (echo >conf$$.file) 2>/dev/null; then
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s='ln -s'
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+ # In both cases, we have to default to `cp -pR'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+ as_ln_s='cp -pR'
+ elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+ else
+ as_ln_s='cp -pR'
+ fi
+else
+ as_ln_s='cp -pR'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p='mkdir -p "$as_dir"'
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+
+test -n "$DJDIR" || exec 7<&0 </dev/null
+exec 6>&1
+
+# Name of the host.
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
+# so uname gets run too.
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
+
+#
+# Initializations.
+#
+ac_default_prefix=/usr/local
+ac_clean_files=
+ac_config_libobj_dir=.
+LIBOBJS=
+cross_compiling=no
+subdirs=
+MFLAGS=
+MAKEFLAGS=
+
+# Identity of this package.
+PACKAGE_NAME='r2bib'
+PACKAGE_TARNAME='r2bib'
+PACKAGE_VERSION='2015.12.07'
+PACKAGE_STRING='r2bib 2015.12.07'
+PACKAGE_BUGREPORT='mathar@mpia.de'
+PACKAGE_URL='http://www.ctan.org/tex-archive/biblio/bibtex/utils/r2bib/'
+
+ac_unique_file="r2bib.c"
+# Factoring default headers for most tests.
+ac_includes_default="\
+#include <stdio.h>
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif
+#ifdef STDC_HEADERS
+# include <stdlib.h>
+# include <stddef.h>
+#else
+# ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+# endif
+#endif
+#ifdef HAVE_STRING_H
+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
+# include <memory.h>
+# endif
+# include <string.h>
+#endif
+#ifdef HAVE_STRINGS_H
+# include <strings.h>
+#endif
+#ifdef HAVE_INTTYPES_H
+# include <inttypes.h>
+#endif
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#endif
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif"
+
+ac_subst_vars='am__EXEEXT_FALSE
+am__EXEEXT_TRUE
+LTLIBOBJS
+LIBOBJS
+EGREP
+GREP
+CPP
+LEXLIB
+LEX_OUTPUT_ROOT
+LEX
+am__fastdepCC_FALSE
+am__fastdepCC_TRUE
+CCDEPMODE
+ac_ct_CC
+CFLAGS
+CC
+am__fastdepCXX_FALSE
+am__fastdepCXX_TRUE
+CXXDEPMODE
+am__nodep
+AMDEPBACKSLASH
+AMDEP_FALSE
+AMDEP_TRUE
+am__quote
+am__include
+DEPDIR
+OBJEXT
+EXEEXT
+ac_ct_CXX
+CPPFLAGS
+LDFLAGS
+CXXFLAGS
+CXX
+AM_BACKSLASH
+AM_DEFAULT_VERBOSITY
+AM_DEFAULT_V
+AM_V
+am__untar
+am__tar
+AMTAR
+am__leading_dot
+SET_MAKE
+AWK
+mkdir_p
+MKDIR_P
+INSTALL_STRIP_PROGRAM
+STRIP
+install_sh
+MAKEINFO
+AUTOHEADER
+AUTOMAKE
+AUTOCONF
+ACLOCAL
+VERSION
+PACKAGE
+CYGPATH_W
+am__isrc
+INSTALL_DATA
+INSTALL_SCRIPT
+INSTALL_PROGRAM
+target_alias
+host_alias
+build_alias
+LIBS
+ECHO_T
+ECHO_N
+ECHO_C
+DEFS
+mandir
+localedir
+libdir
+psdir
+pdfdir
+dvidir
+htmldir
+infodir
+docdir
+oldincludedir
+includedir
+localstatedir
+sharedstatedir
+sysconfdir
+datadir
+datarootdir
+libexecdir
+sbindir
+bindir
+program_transform_name
+prefix
+exec_prefix
+PACKAGE_URL
+PACKAGE_BUGREPORT
+PACKAGE_STRING
+PACKAGE_VERSION
+PACKAGE_TARNAME
+PACKAGE_NAME
+PATH_SEPARATOR
+SHELL'
+ac_subst_files=''
+ac_user_opts='
+enable_option_checking
+enable_silent_rules
+enable_dependency_tracking
+'
+ ac_precious_vars='build_alias
+host_alias
+target_alias
+CXX
+CXXFLAGS
+LDFLAGS
+LIBS
+CPPFLAGS
+CCC
+CC
+CFLAGS
+CPP'
+
+
+# Initialize some variables set by options.
+ac_init_help=
+ac_init_version=false
+ac_unrecognized_opts=
+ac_unrecognized_sep=
+# The variables have the same names as the options, with
+# dashes changed to underlines.
+cache_file=/dev/null
+exec_prefix=NONE
+no_create=
+no_recursion=
+prefix=NONE
+program_prefix=NONE
+program_suffix=NONE
+program_transform_name=s,x,x,
+silent=
+site=
+srcdir=
+verbose=
+x_includes=NONE
+x_libraries=NONE
+
+# Installation directory options.
+# These are left unexpanded so users can "make install exec_prefix=/foo"
+# and all the variables that are supposed to be based on exec_prefix
+# by default will actually change.
+# Use braces instead of parens because sh, perl, etc. also accept them.
+# (The list follows the same order as the GNU Coding Standards.)
+bindir='${exec_prefix}/bin'
+sbindir='${exec_prefix}/sbin'
+libexecdir='${exec_prefix}/libexec'
+datarootdir='${prefix}/share'
+datadir='${datarootdir}'
+sysconfdir='${prefix}/etc'
+sharedstatedir='${prefix}/com'
+localstatedir='${prefix}/var'
+includedir='${prefix}/include'
+oldincludedir='/usr/include'
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
+infodir='${datarootdir}/info'
+htmldir='${docdir}'
+dvidir='${docdir}'
+pdfdir='${docdir}'
+psdir='${docdir}'
+libdir='${exec_prefix}/lib'
+localedir='${datarootdir}/locale'
+mandir='${datarootdir}/man'
+
+ac_prev=
+ac_dashdash=
+for ac_option
+do
+ # If the previous option needs an argument, assign it.
+ if test -n "$ac_prev"; then
+ eval $ac_prev=\$ac_option
+ ac_prev=
+ continue
+ fi
+
+ case $ac_option in
+ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
+ *=) ac_optarg= ;;
+ *) ac_optarg=yes ;;
+ esac
+
+ # Accept the important Cygnus configure options, so we can diagnose typos.
+
+ case $ac_dashdash$ac_option in
+ --)
+ ac_dashdash=yes ;;
+
+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
+ ac_prev=bindir ;;
+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
+ bindir=$ac_optarg ;;
+
+ -build | --build | --buil | --bui | --bu)
+ ac_prev=build_alias ;;
+ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
+ build_alias=$ac_optarg ;;
+
+ -cache-file | --cache-file | --cache-fil | --cache-fi \
+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
+ ac_prev=cache_file ;;
+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
+ cache_file=$ac_optarg ;;
+
+ --config-cache | -C)
+ cache_file=config.cache ;;
+
+ -datadir | --datadir | --datadi | --datad)
+ ac_prev=datadir ;;
+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
+ datadir=$ac_optarg ;;
+
+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
+ | --dataroo | --dataro | --datar)
+ ac_prev=datarootdir ;;
+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
+ datarootdir=$ac_optarg ;;
+
+ -disable-* | --disable-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid feature name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"enable_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval enable_$ac_useropt=no ;;
+
+ -docdir | --docdir | --docdi | --doc | --do)
+ ac_prev=docdir ;;
+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
+ docdir=$ac_optarg ;;
+
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
+ ac_prev=dvidir ;;
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
+ dvidir=$ac_optarg ;;
+
+ -enable-* | --enable-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid feature name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"enable_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval enable_$ac_useropt=\$ac_optarg ;;
+
+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
+ | --exec | --exe | --ex)
+ ac_prev=exec_prefix ;;
+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
+ | --exec=* | --exe=* | --ex=*)
+ exec_prefix=$ac_optarg ;;
+
+ -gas | --gas | --ga | --g)
+ # Obsolete; use --with-gas.
+ with_gas=yes ;;
+
+ -help | --help | --hel | --he | -h)
+ ac_init_help=long ;;
+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
+ ac_init_help=recursive ;;
+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
+ ac_init_help=short ;;
+
+ -host | --host | --hos | --ho)
+ ac_prev=host_alias ;;
+ -host=* | --host=* | --hos=* | --ho=*)
+ host_alias=$ac_optarg ;;
+
+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
+ ac_prev=htmldir ;;
+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
+ | --ht=*)
+ htmldir=$ac_optarg ;;
+
+ -includedir | --includedir | --includedi | --included | --include \
+ | --includ | --inclu | --incl | --inc)
+ ac_prev=includedir ;;
+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
+ | --includ=* | --inclu=* | --incl=* | --inc=*)
+ includedir=$ac_optarg ;;
+
+ -infodir | --infodir | --infodi | --infod | --info | --inf)
+ ac_prev=infodir ;;
+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
+ infodir=$ac_optarg ;;
+
+ -libdir | --libdir | --libdi | --libd)
+ ac_prev=libdir ;;
+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
+ libdir=$ac_optarg ;;
+
+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
+ | --libexe | --libex | --libe)
+ ac_prev=libexecdir ;;
+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
+ | --libexe=* | --libex=* | --libe=*)
+ libexecdir=$ac_optarg ;;
+
+ -localedir | --localedir | --localedi | --localed | --locale)
+ ac_prev=localedir ;;
+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
+ localedir=$ac_optarg ;;
+
+ -localstatedir | --localstatedir | --localstatedi | --localstated \
+ | --localstate | --localstat | --localsta | --localst | --locals)
+ ac_prev=localstatedir ;;
+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
+ localstatedir=$ac_optarg ;;
+
+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
+ ac_prev=mandir ;;
+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
+ mandir=$ac_optarg ;;
+
+ -nfp | --nfp | --nf)
+ # Obsolete; use --without-fp.
+ with_fp=no ;;
+
+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
+ | --no-cr | --no-c | -n)
+ no_create=yes ;;
+
+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
+ no_recursion=yes ;;
+
+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
+ | --oldin | --oldi | --old | --ol | --o)
+ ac_prev=oldincludedir ;;
+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
+ oldincludedir=$ac_optarg ;;
+
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
+ ac_prev=prefix ;;
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
+ prefix=$ac_optarg ;;
+
+ -program-prefix | --program-prefix | --program-prefi | --program-pref \
+ | --program-pre | --program-pr | --program-p)
+ ac_prev=program_prefix ;;
+ -program-prefix=* | --program-prefix=* | --program-prefi=* \
+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
+ program_prefix=$ac_optarg ;;
+
+ -program-suffix | --program-suffix | --program-suffi | --program-suff \
+ | --program-suf | --program-su | --program-s)
+ ac_prev=program_suffix ;;
+ -program-suffix=* | --program-suffix=* | --program-suffi=* \
+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
+ program_suffix=$ac_optarg ;;
+
+ -program-transform-name | --program-transform-name \
+ | --program-transform-nam | --program-transform-na \
+ | --program-transform-n | --program-transform- \
+ | --program-transform | --program-transfor \
+ | --program-transfo | --program-transf \
+ | --program-trans | --program-tran \
+ | --progr-tra | --program-tr | --program-t)
+ ac_prev=program_transform_name ;;
+ -program-transform-name=* | --program-transform-name=* \
+ | --program-transform-nam=* | --program-transform-na=* \
+ | --program-transform-n=* | --program-transform-=* \
+ | --program-transform=* | --program-transfor=* \
+ | --program-transfo=* | --program-transf=* \
+ | --program-trans=* | --program-tran=* \
+ | --progr-tra=* | --program-tr=* | --program-t=*)
+ program_transform_name=$ac_optarg ;;
+
+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
+ ac_prev=pdfdir ;;
+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
+ pdfdir=$ac_optarg ;;
+
+ -psdir | --psdir | --psdi | --psd | --ps)
+ ac_prev=psdir ;;
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
+ psdir=$ac_optarg ;;
+
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ silent=yes ;;
+
+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
+ ac_prev=sbindir ;;
+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
+ | --sbi=* | --sb=*)
+ sbindir=$ac_optarg ;;
+
+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
+ | --sharedst | --shareds | --shared | --share | --shar \
+ | --sha | --sh)
+ ac_prev=sharedstatedir ;;
+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
+ | --sha=* | --sh=*)
+ sharedstatedir=$ac_optarg ;;
+
+ -site | --site | --sit)
+ ac_prev=site ;;
+ -site=* | --site=* | --sit=*)
+ site=$ac_optarg ;;
+
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
+ ac_prev=srcdir ;;
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
+ srcdir=$ac_optarg ;;
+
+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
+ | --syscon | --sysco | --sysc | --sys | --sy)
+ ac_prev=sysconfdir ;;
+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
+ sysconfdir=$ac_optarg ;;
+
+ -target | --target | --targe | --targ | --tar | --ta | --t)
+ ac_prev=target_alias ;;
+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
+ target_alias=$ac_optarg ;;
+
+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
+ verbose=yes ;;
+
+ -version | --version | --versio | --versi | --vers | -V)
+ ac_init_version=: ;;
+
+ -with-* | --with-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid package name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"with_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval with_$ac_useropt=\$ac_optarg ;;
+
+ -without-* | --without-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid package name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"with_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval with_$ac_useropt=no ;;
+
+ --x)
+ # Obsolete; use --with-x.
+ with_x=yes ;;
+
+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
+ | --x-incl | --x-inc | --x-in | --x-i)
+ ac_prev=x_includes ;;
+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
+ x_includes=$ac_optarg ;;
+
+ -x-libraries | --x-libraries | --x-librarie | --x-librari \
+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
+ ac_prev=x_libraries ;;
+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
+ x_libraries=$ac_optarg ;;
+
+ -*) as_fn_error $? "unrecognized option: \`$ac_option'
+Try \`$0 --help' for more information"
+ ;;
+
+ *=*)
+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
+ # Reject names that are not valid shell variable names.
+ case $ac_envvar in #(
+ '' | [0-9]* | *[!_$as_cr_alnum]* )
+ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
+ esac
+ eval $ac_envvar=\$ac_optarg
+ export $ac_envvar ;;
+
+ *)
+ # FIXME: should be removed in autoconf 3.0.
+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
+ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
+ ;;
+
+ esac
+done
+
+if test -n "$ac_prev"; then
+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
+ as_fn_error $? "missing argument to $ac_option"
+fi
+
+if test -n "$ac_unrecognized_opts"; then
+ case $enable_option_checking in
+ no) ;;
+ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
+ esac
+fi
+
+# Check all directory arguments for consistency.
+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
+ datadir sysconfdir sharedstatedir localstatedir includedir \
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
+ libdir localedir mandir
+do
+ eval ac_val=\$$ac_var
+ # Remove trailing slashes.
+ case $ac_val in
+ */ )
+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
+ eval $ac_var=\$ac_val;;
+ esac
+ # Be sure to have absolute directory names.
+ case $ac_val in
+ [\\/$]* | ?:[\\/]* ) continue;;
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
+ esac
+ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
+done
+
+# There might be people who depend on the old broken behavior: `$host'
+# used to hold the argument of --host etc.
+# FIXME: To remove some day.
+build=$build_alias
+host=$host_alias
+target=$target_alias
+
+# FIXME: To remove some day.
+if test "x$host_alias" != x; then
+ if test "x$build_alias" = x; then
+ cross_compiling=maybe
+ elif test "x$build_alias" != "x$host_alias"; then
+ cross_compiling=yes
+ fi
+fi
+
+ac_tool_prefix=
+test -n "$host_alias" && ac_tool_prefix=$host_alias-
+
+test "$silent" = yes && exec 6>/dev/null
+
+
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
+ac_ls_di=`ls -di .` &&
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
+ as_fn_error $? "working directory cannot be determined"
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
+ as_fn_error $? "pwd does not report name of working directory"
+
+
+# Find the source files, if location was not specified.
+if test -z "$srcdir"; then
+ ac_srcdir_defaulted=yes
+ # Try the directory containing this script, then the parent directory.
+ ac_confdir=`$as_dirname -- "$as_myself" ||
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_myself" : 'X\(//\)[^/]' \| \
+ X"$as_myself" : 'X\(//\)$' \| \
+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_myself" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ srcdir=$ac_confdir
+ if test ! -r "$srcdir/$ac_unique_file"; then
+ srcdir=..
+ fi
+else
+ ac_srcdir_defaulted=no
+fi
+if test ! -r "$srcdir/$ac_unique_file"; then
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
+ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
+fi
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
+ac_abs_confdir=`(
+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
+ pwd)`
+# When building in place, set srcdir=.
+if test "$ac_abs_confdir" = "$ac_pwd"; then
+ srcdir=.
+fi
+# Remove unnecessary trailing slashes from srcdir.
+# Double slashes in file names in object file debugging info
+# mess up M-x gdb in Emacs.
+case $srcdir in
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
+esac
+for ac_var in $ac_precious_vars; do
+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
+ eval ac_env_${ac_var}_value=\$${ac_var}
+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
+done
+
+#
+# Report the --help message.
+#
+if test "$ac_init_help" = "long"; then
+ # Omit some internal or obsolete options to make the list less imposing.
+ # This message is too long to be a string in the A/UX 3.1 sh.
+ cat <<_ACEOF
+\`configure' configures r2bib 2015.12.07 to adapt to many kinds of systems.
+
+Usage: $0 [OPTION]... [VAR=VALUE]...
+
+To assign environment variables (e.g., CC, CFLAGS...), specify them as
+VAR=VALUE. See below for descriptions of some of the useful variables.
+
+Defaults for the options are specified in brackets.
+
+Configuration:
+ -h, --help display this help and exit
+ --help=short display options specific to this package
+ --help=recursive display the short help of all the included packages
+ -V, --version display version information and exit
+ -q, --quiet, --silent do not print \`checking ...' messages
+ --cache-file=FILE cache test results in FILE [disabled]
+ -C, --config-cache alias for \`--cache-file=config.cache'
+ -n, --no-create do not create output files
+ --srcdir=DIR find the sources in DIR [configure dir or \`..']
+
+Installation directories:
+ --prefix=PREFIX install architecture-independent files in PREFIX
+ [$ac_default_prefix]
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
+ [PREFIX]
+
+By default, \`make install' will install all the files in
+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
+for instance \`--prefix=\$HOME'.
+
+For better control, use the options below.
+
+Fine tuning of the installation directories:
+ --bindir=DIR user executables [EPREFIX/bin]
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
+ --libexecdir=DIR program executables [EPREFIX/libexec]
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
+ --libdir=DIR object code libraries [EPREFIX/lib]
+ --includedir=DIR C header files [PREFIX/include]
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
+ --infodir=DIR info documentation [DATAROOTDIR/info]
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
+ --mandir=DIR man documentation [DATAROOTDIR/man]
+ --docdir=DIR documentation root [DATAROOTDIR/doc/r2bib]
+ --htmldir=DIR html documentation [DOCDIR]
+ --dvidir=DIR dvi documentation [DOCDIR]
+ --pdfdir=DIR pdf documentation [DOCDIR]
+ --psdir=DIR ps documentation [DOCDIR]
+_ACEOF
+
+ cat <<\_ACEOF
+
+Program names:
+ --program-prefix=PREFIX prepend PREFIX to installed program names
+ --program-suffix=SUFFIX append SUFFIX to installed program names
+ --program-transform-name=PROGRAM run sed PROGRAM on installed program names
+_ACEOF
+fi
+
+if test -n "$ac_init_help"; then
+ case $ac_init_help in
+ short | recursive ) echo "Configuration of r2bib 2015.12.07:";;
+ esac
+ cat <<\_ACEOF
+
+Optional Features:
+ --disable-option-checking ignore unrecognized --enable/--with options
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+ --enable-silent-rules less verbose build output (undo: "make V=1")
+ --disable-silent-rules verbose build output (undo: "make V=0")
+ --enable-dependency-tracking
+ do not reject slow dependency extractors
+ --disable-dependency-tracking
+ speeds up one-time build
+
+Some influential environment variables:
+ CXX C++ compiler command
+ CXXFLAGS C++ compiler flags
+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
+ nonstandard directory <lib dir>
+ LIBS libraries to pass to the linker, e.g. -l<library>
+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
+ you have headers in a nonstandard directory <include dir>
+ CC C compiler command
+ CFLAGS C compiler flags
+ CPP C preprocessor
+
+Use these variables to override the choices made by `configure' or to help
+it to find libraries and programs with nonstandard names/locations.
+
+Report bugs to <mathar@mpia.de>.
+r2bib home page: <http://www.ctan.org/tex-archive/biblio/bibtex/utils/r2bib/>.
+_ACEOF
+ac_status=$?
+fi
+
+if test "$ac_init_help" = "recursive"; then
+ # If there are subdirs, report their specific --help.
+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
+ test -d "$ac_dir" ||
+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
+ continue
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+ cd "$ac_dir" || { ac_status=$?; continue; }
+ # Check for guested configure.
+ if test -f "$ac_srcdir/configure.gnu"; then
+ echo &&
+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
+ elif test -f "$ac_srcdir/configure"; then
+ echo &&
+ $SHELL "$ac_srcdir/configure" --help=recursive
+ else
+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
+ fi || ac_status=$?
+ cd "$ac_pwd" || { ac_status=$?; break; }
+ done
+fi
+
+test -n "$ac_init_help" && exit $ac_status
+if $ac_init_version; then
+ cat <<\_ACEOF
+r2bib configure 2015.12.07
+generated by GNU Autoconf 2.69
+
+Copyright (C) 2012 Free Software Foundation, Inc.
+This configure script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it.
+_ACEOF
+ exit
+fi
+
+## ------------------------ ##
+## Autoconf initialization. ##
+## ------------------------ ##
+
+# ac_fn_cxx_try_compile LINENO
+# ----------------------------
+# Try to compile conftest.$ac_ext, and return whether this succeeded.
+ac_fn_cxx_try_compile ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext
+ if { { ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compile") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_cxx_try_compile
+
+# ac_fn_c_try_compile LINENO
+# --------------------------
+# Try to compile conftest.$ac_ext, and return whether this succeeded.
+ac_fn_c_try_compile ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext
+ if { { ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compile") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_c_try_compile
+
+# ac_fn_c_try_link LINENO
+# -----------------------
+# Try to link conftest.$ac_ext, and return whether this succeeded.
+ac_fn_c_try_link ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext conftest$ac_exeext
+ if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ test -x conftest$ac_exeext
+ }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
+ # interfere with the next link command; also delete a directory that is
+ # left behind by Apple's compiler. We do this before executing the actions.
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_c_try_link
+
+# ac_fn_c_try_cpp LINENO
+# ----------------------
+# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
+ac_fn_c_try_cpp ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if { { ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } > conftest.i && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_c_try_cpp
+
+# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
+# -------------------------------------------------------
+# Tests whether HEADER exists, giving a warning if it cannot be compiled using
+# the include files in INCLUDES and setting the cache variable VAR
+# accordingly.
+ac_fn_c_check_header_mongrel ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if eval \${$3+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
+$as_echo_n "checking $2 usability... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+#include <$2>
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_header_compiler=yes
+else
+ ac_header_compiler=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
+$as_echo "$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
+$as_echo_n "checking $2 presence... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <$2>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ ac_header_preproc=yes
+else
+ ac_header_preproc=no
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
+$as_echo "$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
+ yes:no: )
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
+ ;;
+ no:yes:* )
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
+$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
+$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
+( $as_echo "## ----------------------------- ##
+## Report this to mathar@mpia.de ##
+## ----------------------------- ##"
+ ) | sed "s/^/$as_me: WARNING: /" >&2
+ ;;
+esac
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ eval "$3=\$ac_header_compiler"
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} # ac_fn_c_check_header_mongrel
+
+# ac_fn_c_try_run LINENO
+# ----------------------
+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
+# that executables *can* be run.
+ac_fn_c_try_run ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
+ { { case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: program exited with status $ac_status" >&5
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=$ac_status
+fi
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_c_try_run
+
+# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
+# -------------------------------------------------------
+# Tests whether HEADER exists and can be compiled using the include files in
+# INCLUDES, setting the cache variable VAR accordingly.
+ac_fn_c_check_header_compile ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+#include <$2>
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ eval "$3=yes"
+else
+ eval "$3=no"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} # ac_fn_c_check_header_compile
+cat >config.log <<_ACEOF
+This file contains any messages produced by compilers while
+running configure, to aid debugging if configure makes a mistake.
+
+It was created by r2bib $as_me 2015.12.07, which was
+generated by GNU Autoconf 2.69. Invocation command line was
+
+ $ $0 $@
+
+_ACEOF
+exec 5>>config.log
+{
+cat <<_ASUNAME
+## --------- ##
+## Platform. ##
+## --------- ##
+
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
+
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
+
+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
+
+_ASUNAME
+
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ $as_echo "PATH: $as_dir"
+ done
+IFS=$as_save_IFS
+
+} >&5
+
+cat >&5 <<_ACEOF
+
+
+## ----------- ##
+## Core tests. ##
+## ----------- ##
+
+_ACEOF
+
+
+# Keep a trace of the command line.
+# Strip out --no-create and --no-recursion so they do not pile up.
+# Strip out --silent because we don't want to record it for future runs.
+# Also quote any args containing shell meta-characters.
+# Make two passes to allow for proper duplicate-argument suppression.
+ac_configure_args=
+ac_configure_args0=
+ac_configure_args1=
+ac_must_keep_next=false
+for ac_pass in 1 2
+do
+ for ac_arg
+ do
+ case $ac_arg in
+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ continue ;;
+ *\'*)
+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ case $ac_pass in
+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
+ 2)
+ as_fn_append ac_configure_args1 " '$ac_arg'"
+ if test $ac_must_keep_next = true; then
+ ac_must_keep_next=false # Got value, back to normal.
+ else
+ case $ac_arg in
+ *=* | --config-cache | -C | -disable-* | --disable-* \
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
+ | -with-* | --with-* | -without-* | --without-* | --x)
+ case "$ac_configure_args0 " in
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
+ esac
+ ;;
+ -* ) ac_must_keep_next=true ;;
+ esac
+ fi
+ as_fn_append ac_configure_args " '$ac_arg'"
+ ;;
+ esac
+ done
+done
+{ ac_configure_args0=; unset ac_configure_args0;}
+{ ac_configure_args1=; unset ac_configure_args1;}
+
+# When interrupted or exit'd, cleanup temporary files, and complete
+# config.log. We remove comments because anyway the quotes in there
+# would cause problems or look ugly.
+# WARNING: Use '\'' to represent an apostrophe within the trap.
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
+trap 'exit_status=$?
+ # Save into config.log some information that might help in debugging.
+ {
+ echo
+
+ $as_echo "## ---------------- ##
+## Cache variables. ##
+## ---------------- ##"
+ echo
+ # The following way of writing the cache mishandles newlines in values,
+(
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) { eval $ac_var=; unset $ac_var;} ;;
+ esac ;;
+ esac
+ done
+ (set) 2>&1 |
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ sed -n \
+ "s/'\''/'\''\\\\'\'''\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
+ ;; #(
+ *)
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+)
+ echo
+
+ $as_echo "## ----------------- ##
+## Output variables. ##
+## ----------------- ##"
+ echo
+ for ac_var in $ac_subst_vars
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+ $as_echo "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+
+ if test -n "$ac_subst_files"; then
+ $as_echo "## ------------------- ##
+## File substitutions. ##
+## ------------------- ##"
+ echo
+ for ac_var in $ac_subst_files
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+ $as_echo "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+ fi
+
+ if test -s confdefs.h; then
+ $as_echo "## ----------- ##
+## confdefs.h. ##
+## ----------- ##"
+ echo
+ cat confdefs.h
+ echo
+ fi
+ test "$ac_signal" != 0 &&
+ $as_echo "$as_me: caught signal $ac_signal"
+ $as_echo "$as_me: exit $exit_status"
+ } >&5
+ rm -f core *.core core.conftest.* &&
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
+ exit $exit_status
+' 0
+for ac_signal in 1 2 13 15; do
+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
+done
+ac_signal=0
+
+# confdefs.h avoids OS command line length limits that DEFS can exceed.
+rm -f -r conftest* confdefs.h
+
+$as_echo "/* confdefs.h */" > confdefs.h
+
+# Predefined preprocessor variables.
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_NAME "$PACKAGE_NAME"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_VERSION "$PACKAGE_VERSION"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_STRING "$PACKAGE_STRING"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_URL "$PACKAGE_URL"
+_ACEOF
+
+
+# Let the site file select an alternate cache file if it wants to.
+# Prefer an explicitly selected file to automatically selected ones.
+ac_site_file1=NONE
+ac_site_file2=NONE
+if test -n "$CONFIG_SITE"; then
+ # We do not want a PATH search for config.site.
+ case $CONFIG_SITE in #((
+ -*) ac_site_file1=./$CONFIG_SITE;;
+ */*) ac_site_file1=$CONFIG_SITE;;
+ *) ac_site_file1=./$CONFIG_SITE;;
+ esac
+elif test "x$prefix" != xNONE; then
+ ac_site_file1=$prefix/share/config.site
+ ac_site_file2=$prefix/etc/config.site
+else
+ ac_site_file1=$ac_default_prefix/share/config.site
+ ac_site_file2=$ac_default_prefix/etc/config.site
+fi
+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
+do
+ test "x$ac_site_file" = xNONE && continue
+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
+ sed 's/^/| /' "$ac_site_file" >&5
+ . "$ac_site_file" \
+ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "failed to load site script $ac_site_file
+See \`config.log' for more details" "$LINENO" 5; }
+ fi
+done
+
+if test -r "$cache_file"; then
+ # Some versions of bash will fail to source /dev/null (special files
+ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
+$as_echo "$as_me: loading cache $cache_file" >&6;}
+ case $cache_file in
+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
+ *) . "./$cache_file";;
+ esac
+ fi
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
+$as_echo "$as_me: creating cache $cache_file" >&6;}
+ >$cache_file
+fi
+
+# Check that the precious variables saved in the cache have kept the same
+# value.
+ac_cache_corrupted=false
+for ac_var in $ac_precious_vars; do
+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
+ eval ac_new_set=\$ac_env_${ac_var}_set
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
+ eval ac_new_val=\$ac_env_${ac_var}_value
+ case $ac_old_set,$ac_new_set in
+ set,)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,set)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,);;
+ *)
+ if test "x$ac_old_val" != "x$ac_new_val"; then
+ # differences in whitespace do not lead to failure.
+ ac_old_val_w=`echo x $ac_old_val`
+ ac_new_val_w=`echo x $ac_new_val`
+ if test "$ac_old_val_w" != "$ac_new_val_w"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
+ ac_cache_corrupted=:
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
+ eval $ac_var=\$ac_old_val
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
+ fi;;
+ esac
+ # Pass precious variables to config.status.
+ if test "$ac_new_set" = set; then
+ case $ac_new_val in
+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
+ *) ac_arg=$ac_var=$ac_new_val ;;
+ esac
+ case " $ac_configure_args " in
+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
+ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
+ esac
+ fi
+done
+if $ac_cache_corrupted; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
+ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
+fi
+## -------------------- ##
+## Main body of script. ##
+## -------------------- ##
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+am__api_version='1.13'
+
+ac_aux_dir=
+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
+ if test -f "$ac_dir/install-sh"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install-sh -c"
+ break
+ elif test -f "$ac_dir/install.sh"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install.sh -c"
+ break
+ elif test -f "$ac_dir/shtool"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/shtool install -c"
+ break
+ fi
+done
+if test -z "$ac_aux_dir"; then
+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
+fi
+
+# These three variables are undocumented and unsupported,
+# and are intended to be withdrawn in a future Autoconf release.
+# They can cause serious problems if a builder's source tree is in a directory
+# whose full name contains unusual characters.
+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
+
+
+# Find a good install program. We prefer a C program (faster),
+# so one script is as good as another. But avoid the broken or
+# incompatible versions:
+# SysV /etc/install, /usr/sbin/install
+# SunOS /usr/etc/install
+# IRIX /sbin/install
+# AIX /bin/install
+# AmigaOS /C/install, which installs bootblocks on floppy discs
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
+# OS/2's system install, which has a completely different semantic
+# ./install, which can be erroneously created by make from ./install.sh.
+# Reject install programs that cannot install multiple files.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
+$as_echo_n "checking for a BSD-compatible install... " >&6; }
+if test -z "$INSTALL"; then
+if ${ac_cv_path_install+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ # Account for people who put trailing slashes in PATH elements.
+case $as_dir/ in #((
+ ./ | .// | /[cC]/* | \
+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
+ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
+ /usr/ucb/* ) ;;
+ *)
+ # OSF1 and SCO ODT 3.0 have their own names for install.
+ # Don't use installbsd from OSF since it installs stuff as root
+ # by default.
+ for ac_prog in ginstall scoinst install; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
+ if test $ac_prog = install &&
+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+ # AIX install. It has an incompatible calling convention.
+ :
+ elif test $ac_prog = install &&
+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+ # program-specific install script used by HP pwplus--don't use.
+ :
+ else
+ rm -rf conftest.one conftest.two conftest.dir
+ echo one > conftest.one
+ echo two > conftest.two
+ mkdir conftest.dir
+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
+ test -s conftest.one && test -s conftest.two &&
+ test -s conftest.dir/conftest.one &&
+ test -s conftest.dir/conftest.two
+ then
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
+ break 3
+ fi
+ fi
+ fi
+ done
+ done
+ ;;
+esac
+
+ done
+IFS=$as_save_IFS
+
+rm -rf conftest.one conftest.two conftest.dir
+
+fi
+ if test "${ac_cv_path_install+set}" = set; then
+ INSTALL=$ac_cv_path_install
+ else
+ # As a last resort, use the slow shell script. Don't cache a
+ # value for INSTALL within a source directory, because that will
+ # break other packages using the cache if that directory is
+ # removed, or if the value is a relative name.
+ INSTALL=$ac_install_sh
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
+$as_echo "$INSTALL" >&6; }
+
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
+# It thinks the first close brace ends the variable substitution.
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
+
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
+$as_echo_n "checking whether build environment is sane... " >&6; }
+# Reject unsafe characters in $srcdir or the absolute working directory
+# name. Accept space and tab only in the latter.
+am_lf='
+'
+case `pwd` in
+ *[\\\"\#\$\&\'\`$am_lf]*)
+ as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
+esac
+case $srcdir in
+ *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
+ as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
+esac
+
+# Do 'set' in a subshell so we don't clobber the current shell's
+# arguments. Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+ am_has_slept=no
+ for am_try in 1 2; do
+ echo "timestamp, slept: $am_has_slept" > conftest.file
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
+ if test "$*" = "X"; then
+ # -L didn't work.
+ set X `ls -t "$srcdir/configure" conftest.file`
+ fi
+ if test "$*" != "X $srcdir/configure conftest.file" \
+ && test "$*" != "X conftest.file $srcdir/configure"; then
+
+ # If neither matched, then we have a broken ls. This can happen
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
+ # broken ls alias from the environment. This has actually
+ # happened. Such a system could not be considered "sane".
+ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
+ alias in your environment" "$LINENO" 5
+ fi
+ if test "$2" = conftest.file || test $am_try -eq 2; then
+ break
+ fi
+ # Just in case.
+ sleep 1
+ am_has_slept=yes
+ done
+ test "$2" = conftest.file
+ )
+then
+ # Ok.
+ :
+else
+ as_fn_error $? "newly created file is older than distributed files!
+Check your system clock" "$LINENO" 5
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+# If we didn't sleep, we still need to ensure time stamps of config.status and
+# generated files are strictly newer.
+am_sleep_pid=
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
+ ( sleep 1 ) &
+ am_sleep_pid=$!
+fi
+
+rm -f conftest.file
+
+test "$program_prefix" != NONE &&
+ program_transform_name="s&^&$program_prefix&;$program_transform_name"
+# Use a double $ so make ignores it.
+test "$program_suffix" != NONE &&
+ program_transform_name="s&\$&$program_suffix&;$program_transform_name"
+# Double any \ or $.
+# By default was `s,x,x', remove it if useless.
+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
+
+# expand $ac_aux_dir to an absolute path
+am_aux_dir=`cd $ac_aux_dir && pwd`
+
+if test x"${MISSING+set}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
+ *)
+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
+ esac
+fi
+# Use eval to expand $SHELL
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
+else
+ am_missing_run=
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
+$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
+fi
+
+if test x"${install_sh}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
+ *)
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
+ esac
+fi
+
+# Installed binaries are usually stripped using 'strip' when the user
+# run "make install-strip". However 'strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the 'STRIP' environment variable to overrule this program.
+if test "$cross_compiling" != no; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+set dummy ${ac_tool_prefix}strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_STRIP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$STRIP"; then
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+STRIP=$ac_cv_prog_STRIP
+if test -n "$STRIP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
+$as_echo "$STRIP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_STRIP"; then
+ ac_ct_STRIP=$STRIP
+ # Extract the first word of "strip", so it can be a program name with args.
+set dummy strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_STRIP"; then
+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_STRIP="strip"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
+if test -n "$ac_ct_STRIP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
+$as_echo "$ac_ct_STRIP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_STRIP" = x; then
+ STRIP=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ STRIP=$ac_ct_STRIP
+ fi
+else
+ STRIP="$ac_cv_prog_STRIP"
+fi
+
+fi
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
+if test -z "$MKDIR_P"; then
+ if ${ac_cv_path_mkdir+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in mkdir gmkdir; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
+ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
+ 'mkdir (GNU coreutils) '* | \
+ 'mkdir (coreutils) '* | \
+ 'mkdir (fileutils) '4.1*)
+ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
+ break 3;;
+ esac
+ done
+ done
+ done
+IFS=$as_save_IFS
+
+fi
+
+ test -d ./--version && rmdir ./--version
+ if test "${ac_cv_path_mkdir+set}" = set; then
+ MKDIR_P="$ac_cv_path_mkdir -p"
+ else
+ # As a last resort, use the slow shell script. Don't cache a
+ # value for MKDIR_P within a source directory, because that will
+ # break other packages using the cache if that directory is
+ # removed, or if the value is a relative name.
+ MKDIR_P="$ac_install_sh -d"
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
+$as_echo "$MKDIR_P" >&6; }
+
+for ac_prog in gawk mawk nawk awk
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AWK+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$AWK"; then
+ ac_cv_prog_AWK="$AWK" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_AWK="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+AWK=$ac_cv_prog_AWK
+if test -n "$AWK"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
+$as_echo "$AWK" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$AWK" && break
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
+set x ${MAKE-make}
+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.make <<\_ACEOF
+SHELL = /bin/sh
+all:
+ @echo '@@@%%%=$(MAKE)=@@@%%%'
+_ACEOF
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
+case `${MAKE-make} -f conftest.make 2>/dev/null` in
+ *@@@%%%=?*=@@@%%%*)
+ eval ac_cv_prog_make_${ac_make}_set=yes;;
+ *)
+ eval ac_cv_prog_make_${ac_make}_set=no;;
+esac
+rm -f conftest.make
+fi
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ SET_MAKE=
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ SET_MAKE="MAKE=${MAKE-make}"
+fi
+
+rm -rf .tst 2>/dev/null
+mkdir .tst 2>/dev/null
+if test -d .tst; then
+ am__leading_dot=.
+else
+ am__leading_dot=_
+fi
+rmdir .tst 2>/dev/null
+
+# Check whether --enable-silent-rules was given.
+if test "${enable_silent_rules+set}" = set; then :
+ enableval=$enable_silent_rules;
+fi
+
+case $enable_silent_rules in # (((
+ yes) AM_DEFAULT_VERBOSITY=0;;
+ no) AM_DEFAULT_VERBOSITY=1;;
+ *) AM_DEFAULT_VERBOSITY=1;;
+esac
+am_make=${MAKE-make}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
+$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
+if ${am_cv_make_support_nested_variables+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if $as_echo 'TRUE=$(BAR$(V))
+BAR0=false
+BAR1=true
+V=1
+am__doit:
+ @$(TRUE)
+.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
+ am_cv_make_support_nested_variables=yes
+else
+ am_cv_make_support_nested_variables=no
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
+$as_echo "$am_cv_make_support_nested_variables" >&6; }
+if test $am_cv_make_support_nested_variables = yes; then
+ AM_V='$(V)'
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+else
+ AM_V=$AM_DEFAULT_VERBOSITY
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
+fi
+AM_BACKSLASH='\'
+
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
+ # is not polluted with repeated "-I."
+ am__isrc=' -I$(srcdir)'
+ # test to see if srcdir already configured
+ if test -f $srcdir/config.status; then
+ as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
+ fi
+fi
+
+# test whether we have cygpath
+if test -z "$CYGPATH_W"; then
+ if (cygpath --version) >/dev/null 2>/dev/null; then
+ CYGPATH_W='cygpath -w'
+ else
+ CYGPATH_W=echo
+ fi
+fi
+
+
+# Define the identity of the package.
+ PACKAGE='r2bib'
+ VERSION='2015.12.07'
+
+
+# Some tools Automake needs.
+
+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
+
+
+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
+
+
+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
+
+
+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
+
+
+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
+
+# For better backward compatibility. To be removed once Automake 1.9.x
+# dies out for good. For more background, see:
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+mkdir_p='$(MKDIR_P)'
+
+# We need awk for the "check" target. The system "awk" is bad on
+# some platforms.
+# Always define AMTAR for backward compatibility. Yes, it's still used
+# in the wild :-( We should find a proper way to deprecate it ...
+AMTAR='$${TAR-tar}'
+
+
+# We'll loop over all known methods to create a tar archive until one works.
+_am_tools='gnutar pax cpio none'
+
+am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
+
+
+
+
+
+
+ac_config_headers="$ac_config_headers config.h"
+
+
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+if test -z "$CXX"; then
+ if test -n "$CCC"; then
+ CXX=$CCC
+ else
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CXX"; then
+ ac_cv_prog_CXX="$CXX" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CXX=$ac_cv_prog_CXX
+if test -n "$CXX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
+$as_echo "$CXX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$CXX" && break
+ done
+fi
+if test -z "$CXX"; then
+ ac_ct_CXX=$CXX
+ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CXX"; then
+ ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CXX="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
+if test -n "$ac_ct_CXX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
+$as_echo "$ac_ct_CXX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_CXX" && break
+done
+
+ if test "x$ac_ct_CXX" = x; then
+ CXX="g++"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CXX=$ac_ct_CXX
+ fi
+fi
+
+ fi
+fi
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+ { { ac_try="$ac_compiler $ac_option >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ sed '10a\
+... rest of stderr output deleted ...
+ 10q' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ fi
+ rm -f conftest.er1 conftest.err
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+done
+
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
+# Try to create an executable without -o first, disregard a.out.
+# It will help us diagnose broken compilers, and finding out an intuition
+# of exeext.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
+$as_echo_n "checking whether the C++ compiler works... " >&6; }
+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
+
+# The possible output files:
+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
+
+ac_rmfiles=
+for ac_file in $ac_files
+do
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
+ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
+ esac
+done
+rm -f $ac_rmfiles
+
+if { { ac_try="$ac_link_default"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link_default") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
+# in a Makefile. We should not override ac_cv_exeext if it was cached,
+# so that the user can short-circuit this test for compilers unknown to
+# Autoconf.
+for ac_file in $ac_files ''
+do
+ test -f "$ac_file" || continue
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
+ ;;
+ [ab].out )
+ # We found the default executable, but exeext='' is most
+ # certainly right.
+ break;;
+ *.* )
+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
+ then :; else
+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+ fi
+ # We set ac_cv_exeext here because the later test for it is not
+ # safe: cross compilers may not add the suffix if given an `-o'
+ # argument, so we may need to know it at that point already.
+ # Even if this section looks crufty: it has the advantage of
+ # actually working.
+ break;;
+ * )
+ break;;
+ esac
+done
+test "$ac_cv_exeext" = no && ac_cv_exeext=
+
+else
+ ac_file=''
+fi
+if test -z "$ac_file"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+$as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error 77 "C++ compiler cannot create executables
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
+$as_echo_n "checking for C++ compiler default output file name... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
+$as_echo "$ac_file" >&6; }
+ac_exeext=$ac_cv_exeext
+
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
+ac_clean_files=$ac_clean_files_save
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
+$as_echo_n "checking for suffix of executables... " >&6; }
+if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
+ # If both `conftest.exe' and `conftest' are `present' (well, observable)
+# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
+# work properly (i.e., refer to `conftest.exe'), while it won't with
+# `rm'.
+for ac_file in conftest.exe conftest conftest.*; do
+ test -f "$ac_file" || continue
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+ break;;
+ * ) break;;
+ esac
+done
+else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot compute suffix of executables: cannot compile and link
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+rm -f conftest conftest$ac_cv_exeext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
+$as_echo "$ac_cv_exeext" >&6; }
+
+rm -f conftest.$ac_ext
+EXEEXT=$ac_cv_exeext
+ac_exeext=$EXEEXT
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdio.h>
+int
+main ()
+{
+FILE *f = fopen ("conftest.out", "w");
+ return ferror (f) || fclose (f) != 0;
+
+ ;
+ return 0;
+}
+_ACEOF
+ac_clean_files="$ac_clean_files conftest.out"
+# Check that the compiler produces executables we can run. If not, either
+# the compiler is broken, or we cross compile.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
+$as_echo_n "checking whether we are cross compiling... " >&6; }
+if test "$cross_compiling" != yes; then
+ { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ if { ac_try='./conftest$ac_cv_exeext'
+ { { case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; }; then
+ cross_compiling=no
+ else
+ if test "$cross_compiling" = maybe; then
+ cross_compiling=yes
+ else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot run C++ compiled programs.
+If you meant to cross compile, use \`--host'.
+See \`config.log' for more details" "$LINENO" 5; }
+ fi
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
+$as_echo "$cross_compiling" >&6; }
+
+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
+ac_clean_files=$ac_clean_files_save
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
+$as_echo_n "checking for suffix of object files... " >&6; }
+if ${ac_cv_objext+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.o conftest.obj
+if { { ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compile") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
+ for ac_file in conftest.o conftest.obj conftest.*; do
+ test -f "$ac_file" || continue;
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
+ break;;
+ esac
+done
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot compute suffix of object files: cannot compile
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+rm -f conftest.$ac_cv_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
+$as_echo "$ac_cv_objext" >&6; }
+OBJEXT=$ac_cv_objext
+ac_objext=$OBJEXT
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
+$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
+if ${ac_cv_cxx_compiler_gnu+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+#ifndef __GNUC__
+ choke me
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ ac_compiler_gnu=yes
+else
+ ac_compiler_gnu=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
+$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
+if test $ac_compiler_gnu = yes; then
+ GXX=yes
+else
+ GXX=
+fi
+ac_test_CXXFLAGS=${CXXFLAGS+set}
+ac_save_CXXFLAGS=$CXXFLAGS
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
+$as_echo_n "checking whether $CXX accepts -g... " >&6; }
+if ${ac_cv_prog_cxx_g+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_save_cxx_werror_flag=$ac_cxx_werror_flag
+ ac_cxx_werror_flag=yes
+ ac_cv_prog_cxx_g=no
+ CXXFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ ac_cv_prog_cxx_g=yes
+else
+ CXXFLAGS=""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+
+else
+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag
+ CXXFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ ac_cv_prog_cxx_g=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
+$as_echo "$ac_cv_prog_cxx_g" >&6; }
+if test "$ac_test_CXXFLAGS" = set; then
+ CXXFLAGS=$ac_save_CXXFLAGS
+elif test $ac_cv_prog_cxx_g = yes; then
+ if test "$GXX" = yes; then
+ CXXFLAGS="-g -O2"
+ else
+ CXXFLAGS="-g"
+ fi
+else
+ if test "$GXX" = yes; then
+ CXXFLAGS="-O2"
+ else
+ CXXFLAGS=
+ fi
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+DEPDIR="${am__leading_dot}deps"
+
+ac_config_commands="$ac_config_commands depfiles"
+
+
+am_make=${MAKE-make}
+cat > confinc << 'END'
+am__doit:
+ @echo this is the am__doit target
+.PHONY: am__doit
+END
+# If we don't find an include directive, just comment out the code.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
+$as_echo_n "checking for style of include used by $am_make... " >&6; }
+am__include="#"
+am__quote=
+_am_result=none
+# First try GNU make style include.
+echo "include confinc" > confmf
+# Ignore all kinds of additional output from 'make'.
+case `$am_make -s -f confmf 2> /dev/null` in #(
+*the\ am__doit\ target*)
+ am__include=include
+ am__quote=
+ _am_result=GNU
+ ;;
+esac
+# Now try BSD make style include.
+if test "$am__include" = "#"; then
+ echo '.include "confinc"' > confmf
+ case `$am_make -s -f confmf 2> /dev/null` in #(
+ *the\ am__doit\ target*)
+ am__include=.include
+ am__quote="\""
+ _am_result=BSD
+ ;;
+ esac
+fi
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
+$as_echo "$_am_result" >&6; }
+rm -f confinc confmf
+
+# Check whether --enable-dependency-tracking was given.
+if test "${enable_dependency_tracking+set}" = set; then :
+ enableval=$enable_dependency_tracking;
+fi
+
+if test "x$enable_dependency_tracking" != xno; then
+ am_depcomp="$ac_aux_dir/depcomp"
+ AMDEPBACKSLASH='\'
+ am__nodep='_no'
+fi
+ if test "x$enable_dependency_tracking" != xno; then
+ AMDEP_TRUE=
+ AMDEP_FALSE='#'
+else
+ AMDEP_TRUE='#'
+ AMDEP_FALSE=
+fi
+
+
+
+depcc="$CXX" am_compiler_list=
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
+$as_echo_n "checking dependency style of $depcc... " >&6; }
+if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named 'D' -- because '-MD' means "put the output
+ # in D".
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_CXX_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+ fi
+ am__universal=false
+ case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac
+
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
+ # Solaris 10 /bin/sh.
+ echo '/* dummy */' > sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle '-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs.
+ am__obj=sub/conftest.${OBJEXT-o}
+ am__minus_obj="-o $am__obj"
+ case $depmode in
+ gcc)
+ # This depmode causes a compiler race in universal mode.
+ test "$am__universal" = false || continue
+ ;;
+ nosideeffect)
+ # After this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested.
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+ # This compiler won't grok '-c -o', but also, the minuso test has
+ # not run yet. These depmodes are late enough in the game, and
+ # so weak that their functioning should not be impacted.
+ am__obj=conftest.${OBJEXT-o}
+ am__minus_obj=
+ ;;
+ none) break ;;
+ esac
+ if depmode=$depmode \
+ source=sub/conftest.c object=$am__obj \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_CXX_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_CXX_dependencies_compiler_type=none
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
+$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
+CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
+
+ if
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
+ am__fastdepCXX_TRUE=
+ am__fastdepCXX_FALSE='#'
+else
+ am__fastdepCXX_TRUE='#'
+ am__fastdepCXX_FALSE=
+fi
+
+
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_CC"; then
+ ac_ct_CC=$CC
+ # Extract the first word of "gcc", so it can be a program name with args.
+set dummy gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+else
+ CC="$ac_cv_prog_CC"
+fi
+
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ fi
+fi
+if test -z "$CC"; then
+ # Extract the first word of "cc", so it can be a program name with args.
+set dummy cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+ ac_prog_rejected=no
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
+ ac_prog_rejected=yes
+ continue
+ fi
+ ac_cv_prog_CC="cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+if test $ac_prog_rejected = yes; then
+ # We found a bogon in the path, so make sure we never use it.
+ set dummy $ac_cv_prog_CC
+ shift
+ if test $# != 0; then
+ # We chose a different compiler from the bogus one.
+ # However, it has the same basename, so the bogon will be chosen
+ # first if we set CC to just the basename; use the full file name.
+ shift
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
+ fi
+fi
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in cl.exe
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$CC" && break
+ done
+fi
+if test -z "$CC"; then
+ ac_ct_CC=$CC
+ for ac_prog in cl.exe
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_CC" && break
+done
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+fi
+
+fi
+
+
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "no acceptable C compiler found in \$PATH
+See \`config.log' for more details" "$LINENO" 5; }
+
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+ { { ac_try="$ac_compiler $ac_option >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ sed '10a\
+... rest of stderr output deleted ...
+ 10q' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ fi
+ rm -f conftest.er1 conftest.err
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
+if ${ac_cv_c_compiler_gnu+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+#ifndef __GNUC__
+ choke me
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_compiler_gnu=yes
+else
+ ac_compiler_gnu=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
+if test $ac_compiler_gnu = yes; then
+ GCC=yes
+else
+ GCC=
+fi
+ac_test_CFLAGS=${CFLAGS+set}
+ac_save_CFLAGS=$CFLAGS
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
+if ${ac_cv_prog_cc_g+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_save_c_werror_flag=$ac_c_werror_flag
+ ac_c_werror_flag=yes
+ ac_cv_prog_cc_g=no
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+else
+ CFLAGS=""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+else
+ ac_c_werror_flag=$ac_save_c_werror_flag
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_c_werror_flag=$ac_save_c_werror_flag
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
+$as_echo "$ac_cv_prog_cc_g" >&6; }
+if test "$ac_test_CFLAGS" = set; then
+ CFLAGS=$ac_save_CFLAGS
+elif test $ac_cv_prog_cc_g = yes; then
+ if test "$GCC" = yes; then
+ CFLAGS="-g -O2"
+ else
+ CFLAGS="-g"
+ fi
+else
+ if test "$GCC" = yes; then
+ CFLAGS="-O2"
+ else
+ CFLAGS=
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
+if ${ac_cv_prog_cc_c89+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_cv_prog_cc_c89=no
+ac_save_CC=$CC
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdarg.h>
+#include <stdio.h>
+struct stat;
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
+struct buf { int x; };
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
+static char *e (p, i)
+ char **p;
+ int i;
+{
+ return p[i];
+}
+static char *f (char * (*g) (char **, int), char **p, ...)
+{
+ char *s;
+ va_list v;
+ va_start (v,p);
+ s = g (p, va_arg (v,int));
+ va_end (v);
+ return s;
+}
+
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
+ function prototypes and stuff, but not '\xHH' hex character constants.
+ These don't provoke an error unfortunately, instead are silently treated
+ as 'x'. The following induces an error, until -std is added to get
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
+ array size at least. It's necessary to write '\x00'==0 to get something
+ that's true only with -std. */
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
+
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
+ inside strings and character constants. */
+#define FOO(x) 'x'
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
+
+int test (int i, double x);
+struct s1 {int (*f) (int a);};
+struct s2 {int (*f) (double a);};
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+int argc;
+char **argv;
+int
+main ()
+{
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
+ ;
+ return 0;
+}
+_ACEOF
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+do
+ CC="$ac_save_CC $ac_arg"
+ if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_c89=$ac_arg
+fi
+rm -f core conftest.err conftest.$ac_objext
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
+done
+rm -f conftest.$ac_ext
+CC=$ac_save_CC
+
+fi
+# AC_CACHE_VAL
+case "x$ac_cv_prog_cc_c89" in
+ x)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
+$as_echo "none needed" >&6; } ;;
+ xno)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
+$as_echo "unsupported" >&6; } ;;
+ *)
+ CC="$CC $ac_cv_prog_cc_c89"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
+esac
+if test "x$ac_cv_prog_cc_c89" != xno; then :
+
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+depcc="$CC" am_compiler_list=
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
+$as_echo_n "checking dependency style of $depcc... " >&6; }
+if ${am_cv_CC_dependencies_compiler_type+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named 'D' -- because '-MD' means "put the output
+ # in D".
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_CC_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+ fi
+ am__universal=false
+ case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac
+
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
+ # Solaris 10 /bin/sh.
+ echo '/* dummy */' > sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle '-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs.
+ am__obj=sub/conftest.${OBJEXT-o}
+ am__minus_obj="-o $am__obj"
+ case $depmode in
+ gcc)
+ # This depmode causes a compiler race in universal mode.
+ test "$am__universal" = false || continue
+ ;;
+ nosideeffect)
+ # After this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested.
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+ # This compiler won't grok '-c -o', but also, the minuso test has
+ # not run yet. These depmodes are late enough in the game, and
+ # so weak that their functioning should not be impacted.
+ am__obj=conftest.${OBJEXT-o}
+ am__minus_obj=
+ ;;
+ none) break ;;
+ esac
+ if depmode=$depmode \
+ source=sub/conftest.c object=$am__obj \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_CC_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_CC_dependencies_compiler_type=none
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
+
+ if
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
+ am__fastdepCC_TRUE=
+ am__fastdepCC_FALSE='#'
+else
+ am__fastdepCC_TRUE='#'
+ am__fastdepCC_FALSE=
+fi
+
+
+# AC_PROG_CPP
+
+
+for ac_prog in flex lex
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_LEX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$LEX"; then
+ ac_cv_prog_LEX="$LEX" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_LEX="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+LEX=$ac_cv_prog_LEX
+if test -n "$LEX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
+$as_echo "$LEX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$LEX" && break
+done
+test -n "$LEX" || LEX=":"
+
+if test "x$LEX" != "x:"; then
+ cat >conftest.l <<_ACEOF
+%%
+a { ECHO; }
+b { REJECT; }
+c { yymore (); }
+d { yyless (1); }
+e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
+ yyless ((input () != 0)); }
+f { unput (yytext[0]); }
+. { BEGIN INITIAL; }
+%%
+#ifdef YYTEXT_POINTER
+extern char *yytext;
+#endif
+int
+main (void)
+{
+ return ! yylex () + ! yywrap ();
+}
+_ACEOF
+{ { ac_try="$LEX conftest.l"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$LEX conftest.l") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
+$as_echo_n "checking lex output file root... " >&6; }
+if ${ac_cv_prog_lex_root+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+if test -f lex.yy.c; then
+ ac_cv_prog_lex_root=lex.yy
+elif test -f lexyy.c; then
+ ac_cv_prog_lex_root=lexyy
+else
+ as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
+$as_echo "$ac_cv_prog_lex_root" >&6; }
+LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
+
+if test -z "${LEXLIB+set}"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
+$as_echo_n "checking lex library... " >&6; }
+if ${ac_cv_lib_lex+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ ac_save_LIBS=$LIBS
+ ac_cv_lib_lex='none needed'
+ for ac_lib in '' -lfl -ll; do
+ LIBS="$ac_lib $ac_save_LIBS"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+`cat $LEX_OUTPUT_ROOT.c`
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_lex=$ac_lib
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ test "$ac_cv_lib_lex" != 'none needed' && break
+ done
+ LIBS=$ac_save_LIBS
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
+$as_echo "$ac_cv_lib_lex" >&6; }
+ test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
+fi
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
+$as_echo_n "checking whether yytext is a pointer... " >&6; }
+if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # POSIX says lex can declare yytext either as a pointer or an array; the
+# default is implementation-dependent. Figure out which it is, since
+# not all implementations provide the %pointer and %array declarations.
+ac_cv_prog_lex_yytext_pointer=no
+ac_save_LIBS=$LIBS
+LIBS="$LEXLIB $ac_save_LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ #define YYTEXT_POINTER 1
+`cat $LEX_OUTPUT_ROOT.c`
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_prog_lex_yytext_pointer=yes
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_save_LIBS
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
+$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
+if test $ac_cv_prog_lex_yytext_pointer = yes; then
+
+$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
+
+fi
+rm -f conftest.l $LEX_OUTPUT_ROOT.c
+
+fi
+if test "$LEX" = :; then
+ LEX=${am_missing_run}flex
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
+$as_echo_n "checking how to run the C preprocessor... " >&6; }
+# On Suns, sometimes $CPP names a directory.
+if test -n "$CPP" && test -d "$CPP"; then
+ CPP=
+fi
+if test -z "$CPP"; then
+ if ${ac_cv_prog_CPP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # Double quotes because CPP needs to be expanded
+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
+ do
+ ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+ Syntax error
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+
+else
+ # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ # Broken: success on invalid input.
+continue
+else
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+ break
+fi
+
+ done
+ ac_cv_prog_CPP=$CPP
+
+fi
+ CPP=$ac_cv_prog_CPP
+else
+ ac_cv_prog_CPP=$CPP
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
+$as_echo "$CPP" >&6; }
+ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+ Syntax error
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+
+else
+ # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ # Broken: success on invalid input.
+continue
+else
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+
+else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
+$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
+if ${ac_cv_path_GREP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$GREP"; then
+ ac_path_GREP_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in grep ggrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_GREP" || continue
+# Check for GNU ac_path_GREP and select it if it is found.
+ # Check for GNU $ac_path_GREP
+case `"$ac_path_GREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo 'GREP' >> "conftest.nl"
+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_GREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_GREP="$ac_path_GREP"
+ ac_path_GREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_GREP_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_GREP"; then
+ as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+ fi
+else
+ ac_cv_path_GREP=$GREP
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
+$as_echo "$ac_cv_path_GREP" >&6; }
+ GREP="$ac_cv_path_GREP"
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
+$as_echo_n "checking for egrep... " >&6; }
+if ${ac_cv_path_EGREP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
+ then ac_cv_path_EGREP="$GREP -E"
+ else
+ if test -z "$EGREP"; then
+ ac_path_EGREP_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in egrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_EGREP" || continue
+# Check for GNU ac_path_EGREP and select it if it is found.
+ # Check for GNU $ac_path_EGREP
+case `"$ac_path_EGREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo 'EGREP' >> "conftest.nl"
+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_EGREP="$ac_path_EGREP"
+ ac_path_EGREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_EGREP_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_EGREP"; then
+ as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+ fi
+else
+ ac_cv_path_EGREP=$EGREP
+fi
+
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
+$as_echo "$ac_cv_path_EGREP" >&6; }
+ EGREP="$ac_cv_path_EGREP"
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
+$as_echo_n "checking for ANSI C header files... " >&6; }
+if ${ac_cv_header_stdc+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdlib.h>
+#include <stdarg.h>
+#include <string.h>
+#include <float.h>
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_header_stdc=yes
+else
+ ac_cv_header_stdc=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+if test $ac_cv_header_stdc = yes; then
+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <string.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "memchr" >/dev/null 2>&1; then :
+
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdlib.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "free" >/dev/null 2>&1; then :
+
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
+ if test "$cross_compiling" = yes; then :
+ :
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <ctype.h>
+#include <stdlib.h>
+#if ((' ' & 0x0FF) == 0x020)
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
+#else
+# define ISLOWER(c) \
+ (('a' <= (c) && (c) <= 'i') \
+ || ('j' <= (c) && (c) <= 'r') \
+ || ('s' <= (c) && (c) <= 'z'))
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
+#endif
+
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
+int
+main ()
+{
+ int i;
+ for (i = 0; i < 256; i++)
+ if (XOR (islower (i), ISLOWER (i))
+ || toupper (i) != TOUPPER (i))
+ return 2;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+
+else
+ ac_cv_header_stdc=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
+
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
+$as_echo "$ac_cv_header_stdc" >&6; }
+if test $ac_cv_header_stdc = yes; then
+
+$as_echo "#define STDC_HEADERS 1" >>confdefs.h
+
+fi
+
+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
+ inttypes.h stdint.h unistd.h
+do :
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
+"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+for ac_header in stdlib.h ctype.h stdio.h unistd.h time.h string.h
+do :
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+ac_config_files="$ac_config_files Makefile"
+
+
+cat >confcache <<\_ACEOF
+# This file is a shell script that caches the results of configure
+# tests run on this system so they can be shared between configure
+# scripts and configure runs, see configure's option --config-cache.
+# It is not useful on other systems. If it contains results you don't
+# want to keep, you may remove or edit it.
+#
+# config.status only pays attention to the cache file if you give it
+# the --recheck option to rerun configure.
+#
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
+# following values.
+
+_ACEOF
+
+# The following way of writing the cache mishandles newlines in values,
+# but we know of no workaround that is simple, portable, and efficient.
+# So, we kill variables containing newlines.
+# Ultrix sh set writes to stderr and can't be redirected directly,
+# and sets the high bit in the cache file unless we assign to the vars.
+(
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) { eval $ac_var=; unset $ac_var;} ;;
+ esac ;;
+ esac
+ done
+
+ (set) 2>&1 |
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ # `set' does not quote correctly, so add quotes: double-quote
+ # substitution turns \\\\ into \\, and sed turns \\ into \.
+ sed -n \
+ "s/'/'\\\\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
+ ;; #(
+ *)
+ # `set' quotes correctly as required by POSIX, so do not add quotes.
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+) |
+ sed '
+ /^ac_cv_env_/b end
+ t clear
+ :clear
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
+ t end
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
+ :end' >>confcache
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
+ if test -w "$cache_file"; then
+ if test "x$cache_file" != "x/dev/null"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
+$as_echo "$as_me: updating cache $cache_file" >&6;}
+ if test ! -f "$cache_file" || test -h "$cache_file"; then
+ cat confcache >"$cache_file"
+ else
+ case $cache_file in #(
+ */* | ?:*)
+ mv -f confcache "$cache_file"$$ &&
+ mv -f "$cache_file"$$ "$cache_file" ;; #(
+ *)
+ mv -f confcache "$cache_file" ;;
+ esac
+ fi
+ fi
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
+ fi
+fi
+rm -f confcache
+
+test "x$prefix" = xNONE && prefix=$ac_default_prefix
+# Let make expand exec_prefix.
+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
+
+DEFS=-DHAVE_CONFIG_H
+
+ac_libobjs=
+ac_ltlibobjs=
+U=
+for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
+ # 1. Remove the extension, and $U if already installed.
+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
+ # will be set to the directory where LIBOBJS objects are built.
+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
+done
+LIBOBJS=$ac_libobjs
+
+LTLIBOBJS=$ac_ltlibobjs
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
+$as_echo_n "checking that generated files are newer than configure... " >&6; }
+ if test -n "$am_sleep_pid"; then
+ # Hide warnings about reused PIDs.
+ wait $am_sleep_pid 2>/dev/null
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
+$as_echo "done" >&6; }
+ if test -n "$EXEEXT"; then
+ am__EXEEXT_TRUE=
+ am__EXEEXT_FALSE='#'
+else
+ am__EXEEXT_TRUE='#'
+ am__EXEEXT_FALSE=
+fi
+
+if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
+ as_fn_error $? "conditional \"AMDEP\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
+ as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
+ as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+
+: "${CONFIG_STATUS=./config.status}"
+ac_write_fail=0
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
+as_write_fail=0
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
+#! $SHELL
+# Generated by $as_me.
+# Run this file to recreate the current configuration.
+# Compiler output produced by configure, useful for debugging
+# configure, is in config.log if it exists.
+
+debug=false
+ac_cs_recheck=false
+ac_cs_silent=false
+
+SHELL=\${CONFIG_SHELL-$SHELL}
+export SHELL
+_ASEOF
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
+## -------------------- ##
+## M4sh Initialization. ##
+## -------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in #(
+ *posix*) :
+ set -o posix ;; #(
+ *) :
+ ;;
+esac
+fi
+
+
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='print -r --'
+ as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+else
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+ as_echo_n='/usr/ucb/echo -n'
+ else
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+ as_echo_n_body='eval
+ arg=$1;
+ case $arg in #(
+ *"$as_nl"*)
+ expr "X$arg" : "X\\(.*\\)$as_nl";
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+ esac;
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+ '
+ export as_echo_n_body
+ as_echo_n='sh -c $as_echo_n_body as_echo'
+ fi
+ export as_echo_body
+ as_echo='sh -c $as_echo_body as_echo'
+fi
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+ PATH_SEPARATOR=';'
+ }
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" "" $as_nl"
+
+# Find who we are. Look in the path if we contain no directory separator.
+as_myself=
+case $0 in #((
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+ as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ exit 1
+fi
+
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there. '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
+# ----------------------------------------
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
+# script with STATUS, using 1 if that was 0.
+as_fn_error ()
+{
+ as_status=$1; test $as_status -eq 0 && as_status=1
+ if test "$4"; then
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+ fi
+ $as_echo "$as_me: error: $2" >&2
+ as_fn_exit $as_status
+} # as_fn_error
+
+
+# as_fn_set_status STATUS
+# -----------------------
+# Set $? to STATUS, without forking.
+as_fn_set_status ()
+{
+ return $1
+} # as_fn_set_status
+
+# as_fn_exit STATUS
+# -----------------
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
+as_fn_exit ()
+{
+ set +e
+ as_fn_set_status $1
+ exit $1
+} # as_fn_exit
+
+# as_fn_unset VAR
+# ---------------
+# Portably unset VAR.
+as_fn_unset ()
+{
+ { eval $1=; unset $1;}
+}
+as_unset=as_fn_unset
+# as_fn_append VAR VALUE
+# ----------------------
+# Append the text in VALUE to the end of the definition contained in VAR. Take
+# advantage of any shell optimizations that allow amortized linear growth over
+# repeated appends, instead of the typical quadratic growth present in naive
+# implementations.
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
+ eval 'as_fn_append ()
+ {
+ eval $1+=\$2
+ }'
+else
+ as_fn_append ()
+ {
+ eval $1=\$$1\$2
+ }
+fi # as_fn_append
+
+# as_fn_arith ARG...
+# ------------------
+# Perform arithmetic evaluation on the ARGs, and store the result in the
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
+# must be portable across $(()) and expr.
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
+ eval 'as_fn_arith ()
+ {
+ as_val=$(( $* ))
+ }'
+else
+ as_fn_arith ()
+ {
+ as_val=`expr "$@" || test $? -eq 1`
+ }
+fi # as_fn_arith
+
+
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
+
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in #(((((
+-n*)
+ case `echo 'xy\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+ xy) ECHO_C='\c';;
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
+ ECHO_T=' ';;
+ esac;;
+*)
+ ECHO_N='-n';;
+esac
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+else
+ rm -f conf$$.dir
+ mkdir conf$$.dir 2>/dev/null
+fi
+if (echo >conf$$.file) 2>/dev/null; then
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s='ln -s'
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+ # In both cases, we have to default to `cp -pR'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+ as_ln_s='cp -pR'
+ elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+ else
+ as_ln_s='cp -pR'
+ fi
+else
+ as_ln_s='cp -pR'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+
+# as_fn_mkdir_p
+# -------------
+# Create "$as_dir" as a directory, including parents if necessary.
+as_fn_mkdir_p ()
+{
+
+ case $as_dir in #(
+ -*) as_dir=./$as_dir;;
+ esac
+ test -d "$as_dir" || eval $as_mkdir_p || {
+ as_dirs=
+ while :; do
+ case $as_dir in #(
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+ *) as_qdir=$as_dir;;
+ esac
+ as_dirs="'$as_qdir' $as_dirs"
+ as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ test -d "$as_dir" && break
+ done
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+
+
+} # as_fn_mkdir_p
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p='mkdir -p "$as_dir"'
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+
+# as_fn_executable_p FILE
+# -----------------------
+# Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+ test -f "$1" && test -x "$1"
+} # as_fn_executable_p
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+
+exec 6>&1
+## ----------------------------------- ##
+## Main body of $CONFIG_STATUS script. ##
+## ----------------------------------- ##
+_ASEOF
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# Save the log message, to keep $0 and so on meaningful, and to
+# report actual input values of CONFIG_FILES etc. instead of their
+# values after options handling.
+ac_log="
+This file was extended by r2bib $as_me 2015.12.07, which was
+generated by GNU Autoconf 2.69. Invocation command line was
+
+ CONFIG_FILES = $CONFIG_FILES
+ CONFIG_HEADERS = $CONFIG_HEADERS
+ CONFIG_LINKS = $CONFIG_LINKS
+ CONFIG_COMMANDS = $CONFIG_COMMANDS
+ $ $0 $@
+
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
+"
+
+_ACEOF
+
+case $ac_config_files in *"
+"*) set x $ac_config_files; shift; ac_config_files=$*;;
+esac
+
+case $ac_config_headers in *"
+"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
+esac
+
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+# Files that config.status was made for.
+config_files="$ac_config_files"
+config_headers="$ac_config_headers"
+config_commands="$ac_config_commands"
+
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+ac_cs_usage="\
+\`$as_me' instantiates files and other configuration actions
+from templates according to the current configuration. Unless the files
+and actions are specified as TAGs, all are instantiated by default.
+
+Usage: $0 [OPTION]... [TAG]...
+
+ -h, --help print this help, then exit
+ -V, --version print version number and configuration settings, then exit
+ --config print configuration, then exit
+ -q, --quiet, --silent
+ do not print progress messages
+ -d, --debug don't remove temporary files
+ --recheck update $as_me by reconfiguring in the same conditions
+ --file=FILE[:TEMPLATE]
+ instantiate the configuration file FILE
+ --header=FILE[:TEMPLATE]
+ instantiate the configuration header FILE
+
+Configuration files:
+$config_files
+
+Configuration headers:
+$config_headers
+
+Configuration commands:
+$config_commands
+
+Report bugs to <mathar@mpia.de>.
+r2bib home page: <http://www.ctan.org/tex-archive/biblio/bibtex/utils/r2bib/>."
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
+ac_cs_version="\\
+r2bib config.status 2015.12.07
+configured by $0, generated by GNU Autoconf 2.69,
+ with options \\"\$ac_cs_config\\"
+
+Copyright (C) 2012 Free Software Foundation, Inc.
+This config.status script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it."
+
+ac_pwd='$ac_pwd'
+srcdir='$srcdir'
+INSTALL='$INSTALL'
+MKDIR_P='$MKDIR_P'
+AWK='$AWK'
+test -n "\$AWK" || AWK=awk
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# The default lists apply if the user does not specify any file.
+ac_need_defaults=:
+while test $# != 0
+do
+ case $1 in
+ --*=?*)
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
+ ac_shift=:
+ ;;
+ --*=)
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
+ ac_optarg=
+ ac_shift=:
+ ;;
+ *)
+ ac_option=$1
+ ac_optarg=$2
+ ac_shift=shift
+ ;;
+ esac
+
+ case $ac_option in
+ # Handling of the options.
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+ ac_cs_recheck=: ;;
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
+ $as_echo "$ac_cs_version"; exit ;;
+ --config | --confi | --conf | --con | --co | --c )
+ $as_echo "$ac_cs_config"; exit ;;
+ --debug | --debu | --deb | --de | --d | -d )
+ debug=: ;;
+ --file | --fil | --fi | --f )
+ $ac_shift
+ case $ac_optarg in
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ '') as_fn_error $? "missing file argument" ;;
+ esac
+ as_fn_append CONFIG_FILES " '$ac_optarg'"
+ ac_need_defaults=false;;
+ --header | --heade | --head | --hea )
+ $ac_shift
+ case $ac_optarg in
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ as_fn_append CONFIG_HEADERS " '$ac_optarg'"
+ ac_need_defaults=false;;
+ --he | --h)
+ # Conflict between --help and --header
+ as_fn_error $? "ambiguous option: \`$1'
+Try \`$0 --help' for more information.";;
+ --help | --hel | -h )
+ $as_echo "$ac_cs_usage"; exit ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil | --si | --s)
+ ac_cs_silent=: ;;
+
+ # This is an error.
+ -*) as_fn_error $? "unrecognized option: \`$1'
+Try \`$0 --help' for more information." ;;
+
+ *) as_fn_append ac_config_targets " $1"
+ ac_need_defaults=false ;;
+
+ esac
+ shift
+done
+
+ac_configure_extra_args=
+
+if $ac_cs_silent; then
+ exec 6>/dev/null
+ ac_configure_extra_args="$ac_configure_extra_args --silent"
+fi
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+if \$ac_cs_recheck; then
+ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
+ shift
+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
+ CONFIG_SHELL='$SHELL'
+ export CONFIG_SHELL
+ exec "\$@"
+fi
+
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+exec 5>>config.log
+{
+ echo
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
+## Running $as_me. ##
+_ASBOX
+ $as_echo "$ac_log"
+} >&5
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+#
+# INIT-COMMANDS
+#
+AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
+
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+
+# Handling of arguments.
+for ac_config_target in $ac_config_targets
+do
+ case $ac_config_target in
+ "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
+ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+
+ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
+ esac
+done
+
+
+# If the user did not use the arguments to specify the items to instantiate,
+# then the envvar interface is used. Set only those that are not.
+# We use the long form for the default assignment because of an extremely
+# bizarre bug on SunOS 4.1.3.
+if $ac_need_defaults; then
+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
+ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
+fi
+
+# Have a temporary directory for convenience. Make it in the build tree
+# simply because there is no reason against having it here, and in addition,
+# creating and moving files from /tmp can sometimes cause problems.
+# Hook for its removal unless debugging.
+# Note that there is a small window in which the directory will not be cleaned:
+# after its creation but before its name has been assigned to `$tmp'.
+$debug ||
+{
+ tmp= ac_tmp=
+ trap 'exit_status=$?
+ : "${ac_tmp:=$tmp}"
+ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
+' 0
+ trap 'as_fn_exit 1' 1 2 13 15
+}
+# Create a (secure) tmp directory for tmp files.
+
+{
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
+ test -d "$tmp"
+} ||
+{
+ tmp=./conf$$-$RANDOM
+ (umask 077 && mkdir "$tmp")
+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
+ac_tmp=$tmp
+
+# Set up the scripts for CONFIG_FILES section.
+# No need to generate them if there are no CONFIG_FILES.
+# This happens for instance with `./config.status config.h'.
+if test -n "$CONFIG_FILES"; then
+
+
+ac_cr=`echo X | tr X '\015'`
+# On cygwin, bash can eat \r inside `` if the user requested igncr.
+# But we know of no other shell where ac_cr would be empty at this
+# point, so we can use a bashism as a fallback.
+if test "x$ac_cr" = x; then
+ eval ac_cr=\$\'\\r\'
+fi
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
+ ac_cs_awk_cr='\\r'
+else
+ ac_cs_awk_cr=$ac_cr
+fi
+
+echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
+_ACEOF
+
+
+{
+ echo "cat >conf$$subs.awk <<_ACEOF" &&
+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
+ echo "_ACEOF"
+} >conf$$subs.sh ||
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
+ac_delim='%!_!# '
+for ac_last_try in false false false false false :; do
+ . ./conf$$subs.sh ||
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+
+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
+ if test $ac_delim_n = $ac_delim_num; then
+ break
+ elif $ac_last_try; then
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ else
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
+ fi
+done
+rm -f conf$$subs.sh
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
+_ACEOF
+sed -n '
+h
+s/^/S["/; s/!.*/"]=/
+p
+g
+s/^[^!]*!//
+:repl
+t repl
+s/'"$ac_delim"'$//
+t delim
+:nl
+h
+s/\(.\{148\}\)..*/\1/
+t more1
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
+p
+n
+b repl
+:more1
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
+p
+g
+s/.\{148\}//
+t nl
+:delim
+h
+s/\(.\{148\}\)..*/\1/
+t more2
+s/["\\]/\\&/g; s/^/"/; s/$/"/
+p
+b
+:more2
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
+p
+g
+s/.\{148\}//
+t delim
+' <conf$$subs.awk | sed '
+/^[^""]/{
+ N
+ s/\n//
+}
+' >>$CONFIG_STATUS || ac_write_fail=1
+rm -f conf$$subs.awk
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+_ACAWK
+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
+ for (key in S) S_is_set[key] = 1
+ FS = ""
+
+}
+{
+ line = $ 0
+ nfields = split(line, field, "@")
+ substed = 0
+ len = length(field[1])
+ for (i = 2; i < nfields; i++) {
+ key = field[i]
+ keylen = length(key)
+ if (S_is_set[key]) {
+ value = S[key]
+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
+ len += length(value) + length(field[++i])
+ substed = 1
+ } else
+ len += 1 + keylen
+ }
+
+ print line
+}
+
+_ACAWK
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
+else
+ cat
+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
+ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
+_ACEOF
+
+# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
+# trailing colons and then remove the whole line if VPATH becomes empty
+# (actually we leave an empty line to preserve line numbers).
+if test "x$srcdir" = x.; then
+ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
+h
+s///
+s/^/:/
+s/[ ]*$/:/
+s/:\$(srcdir):/:/g
+s/:\${srcdir}:/:/g
+s/:@srcdir@:/:/g
+s/^:*//
+s/:*$//
+x
+s/\(=[ ]*\).*/\1/
+G
+s/\n//
+s/^[^=]*=[ ]*$//
+}'
+fi
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+fi # test -n "$CONFIG_FILES"
+
+# Set up the scripts for CONFIG_HEADERS section.
+# No need to generate them if there are no CONFIG_HEADERS.
+# This happens for instance with `./config.status Makefile'.
+if test -n "$CONFIG_HEADERS"; then
+cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
+BEGIN {
+_ACEOF
+
+# Transform confdefs.h into an awk script `defines.awk', embedded as
+# here-document in config.status, that substitutes the proper values into
+# config.h.in to produce config.h.
+
+# Create a delimiter string that does not exist in confdefs.h, to ease
+# handling of long lines.
+ac_delim='%!_!# '
+for ac_last_try in false false :; do
+ ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
+ if test -z "$ac_tt"; then
+ break
+ elif $ac_last_try; then
+ as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
+ else
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
+ fi
+done
+
+# For the awk script, D is an array of macro values keyed by name,
+# likewise P contains macro parameters if any. Preserve backslash
+# newline sequences.
+
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
+sed -n '
+s/.\{148\}/&'"$ac_delim"'/g
+t rset
+:rset
+s/^[ ]*#[ ]*define[ ][ ]*/ /
+t def
+d
+:def
+s/\\$//
+t bsnl
+s/["\\]/\\&/g
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
+D["\1"]=" \3"/p
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
+d
+:bsnl
+s/["\\]/\\&/g
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
+D["\1"]=" \3\\\\\\n"\\/p
+t cont
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
+t cont
+d
+:cont
+n
+s/.\{148\}/&'"$ac_delim"'/g
+t clear
+:clear
+s/\\$//
+t bsnlc
+s/["\\]/\\&/g; s/^/"/; s/$/"/p
+d
+:bsnlc
+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
+b cont
+' <confdefs.h | sed '
+s/'"$ac_delim"'/"\\\
+"/g' >>$CONFIG_STATUS || ac_write_fail=1
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ for (key in D) D_is_set[key] = 1
+ FS = ""
+}
+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
+ line = \$ 0
+ split(line, arg, " ")
+ if (arg[1] == "#") {
+ defundef = arg[2]
+ mac1 = arg[3]
+ } else {
+ defundef = substr(arg[1], 2)
+ mac1 = arg[2]
+ }
+ split(mac1, mac2, "(") #)
+ macro = mac2[1]
+ prefix = substr(line, 1, index(line, defundef) - 1)
+ if (D_is_set[macro]) {
+ # Preserve the white space surrounding the "#".
+ print prefix "define", macro P[macro] D[macro]
+ next
+ } else {
+ # Replace #undef with comments. This is necessary, for example,
+ # in the case of _POSIX_SOURCE, which is predefined and required
+ # on some systems where configure will not decide to define it.
+ if (defundef == "undef") {
+ print "/*", prefix defundef, macro, "*/"
+ next
+ }
+ }
+}
+{ print }
+_ACAWK
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
+fi # test -n "$CONFIG_HEADERS"
+
+
+eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
+shift
+for ac_tag
+do
+ case $ac_tag in
+ :[FHLC]) ac_mode=$ac_tag; continue;;
+ esac
+ case $ac_mode$ac_tag in
+ :[FHL]*:*);;
+ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
+ :[FH]-) ac_tag=-:-;;
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
+ esac
+ ac_save_IFS=$IFS
+ IFS=:
+ set x $ac_tag
+ IFS=$ac_save_IFS
+ shift
+ ac_file=$1
+ shift
+
+ case $ac_mode in
+ :L) ac_source=$1;;
+ :[FH])
+ ac_file_inputs=
+ for ac_f
+ do
+ case $ac_f in
+ -) ac_f="$ac_tmp/stdin";;
+ *) # Look for the file first in the build tree, then in the source tree
+ # (if the path is not absolute). The absolute path cannot be DOS-style,
+ # because $ac_f cannot contain `:'.
+ test -f "$ac_f" ||
+ case $ac_f in
+ [\\/$]*) false;;
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
+ esac ||
+ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
+ esac
+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
+ as_fn_append ac_file_inputs " '$ac_f'"
+ done
+
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
+ # use $as_me), people would be surprised to read:
+ # /* config.h. Generated by config.status. */
+ configure_input='Generated from '`
+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
+ `' by configure.'
+ if test x"$ac_file" != x-; then
+ configure_input="$ac_file. $configure_input"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
+$as_echo "$as_me: creating $ac_file" >&6;}
+ fi
+ # Neutralize special characters interpreted by sed in replacement strings.
+ case $configure_input in #(
+ *\&* | *\|* | *\\* )
+ ac_sed_conf_input=`$as_echo "$configure_input" |
+ sed 's/[\\\\&|]/\\\\&/g'`;; #(
+ *) ac_sed_conf_input=$configure_input;;
+ esac
+
+ case $ac_tag in
+ *:-:* | *:-) cat >"$ac_tmp/stdin" \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
+ esac
+ ;;
+ esac
+
+ ac_dir=`$as_dirname -- "$ac_file" ||
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$ac_file" : 'X\(//\)[^/]' \| \
+ X"$ac_file" : 'X\(//\)$' \| \
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$ac_file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ as_dir="$ac_dir"; as_fn_mkdir_p
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+
+ case $ac_mode in
+ :F)
+ #
+ # CONFIG_FILE
+ #
+
+ case $INSTALL in
+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
+ esac
+ ac_MKDIR_P=$MKDIR_P
+ case $MKDIR_P in
+ [\\/$]* | ?:[\\/]* ) ;;
+ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
+ esac
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# If the template does not know about datarootdir, expand it.
+# FIXME: This hack should be removed a few years after 2.60.
+ac_datarootdir_hack=; ac_datarootdir_seen=
+ac_sed_dataroot='
+/datarootdir/ {
+ p
+ q
+}
+/@datadir@/p
+/@docdir@/p
+/@infodir@/p
+/@localedir@/p
+/@mandir@/p'
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
+*datarootdir*) ac_datarootdir_seen=yes;;
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ ac_datarootdir_hack='
+ s&@datadir@&$datadir&g
+ s&@docdir@&$docdir&g
+ s&@infodir@&$infodir&g
+ s&@localedir@&$localedir&g
+ s&@mandir@&$mandir&g
+ s&\\\${datarootdir}&$datarootdir&g' ;;
+esac
+_ACEOF
+
+# Neutralize VPATH when `$srcdir' = `.'.
+# Shell code in configure.ac might set extrasub.
+# FIXME: do we really want to maintain this feature?
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_sed_extra="$ac_vpsub
+$extrasub
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+:t
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
+s|@configure_input@|$ac_sed_conf_input|;t t
+s&@top_builddir@&$ac_top_builddir_sub&;t t
+s&@top_build_prefix@&$ac_top_build_prefix&;t t
+s&@srcdir@&$ac_srcdir&;t t
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
+s&@top_srcdir@&$ac_top_srcdir&;t t
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
+s&@builddir@&$ac_builddir&;t t
+s&@abs_builddir@&$ac_abs_builddir&;t t
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
+s&@INSTALL@&$ac_INSTALL&;t t
+s&@MKDIR_P@&$ac_MKDIR_P&;t t
+$ac_datarootdir_hack
+"
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
+ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
+ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
+ "$ac_tmp/out"`; test -z "$ac_out"; } &&
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined. Please make sure it is defined" >&5
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined. Please make sure it is defined" >&2;}
+
+ rm -f "$ac_tmp/stdin"
+ case $ac_file in
+ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
+ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
+ esac \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ ;;
+ :H)
+ #
+ # CONFIG_HEADER
+ #
+ if test x"$ac_file" != x-; then
+ {
+ $as_echo "/* $configure_input */" \
+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
+ } >"$ac_tmp/config.h" \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
+$as_echo "$as_me: $ac_file is unchanged" >&6;}
+ else
+ rm -f "$ac_file"
+ mv "$ac_tmp/config.h" "$ac_file" \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ fi
+ else
+ $as_echo "/* $configure_input */" \
+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
+ || as_fn_error $? "could not create -" "$LINENO" 5
+ fi
+# Compute "$ac_file"'s index in $config_headers.
+_am_arg="$ac_file"
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+ case $_am_header in
+ $_am_arg | $_am_arg:* )
+ break ;;
+ * )
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+ esac
+done
+echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
+$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$_am_arg" : 'X\(//\)[^/]' \| \
+ X"$_am_arg" : 'X\(//\)$' \| \
+ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$_am_arg" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`/stamp-h$_am_stamp_count
+ ;;
+
+ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
+$as_echo "$as_me: executing $ac_file commands" >&6;}
+ ;;
+ esac
+
+
+ case $ac_file$ac_mode in
+ "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
+ # Older Autoconf quotes --file arguments for eval, but not when files
+ # are listed without --file. Let's play safe and only enable the eval
+ # if we detect the quoting.
+ case $CONFIG_FILES in
+ *\'*) eval set x "$CONFIG_FILES" ;;
+ *) set x $CONFIG_FILES ;;
+ esac
+ shift
+ for mf
+ do
+ # Strip MF so we end up with the name of the file.
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
+ # Check whether this is an Automake generated Makefile or not.
+ # We used to match only the files named 'Makefile.in', but
+ # some people rename them; so instead we look at the file content.
+ # Grep'ing the first line is not enough: some people post-process
+ # each Makefile.in and add a new line on top of each file to say so.
+ # Grep'ing the whole file is not good either: AIX grep has a line
+ # limit of 2048, but all sed's we know have understand at least 4000.
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
+ dirpart=`$as_dirname -- "$mf" ||
+$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$mf" : 'X\(//\)[^/]' \| \
+ X"$mf" : 'X\(//\)$' \| \
+ X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$mf" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ else
+ continue
+ fi
+ # Extract the definition of DEPDIR, am__include, and am__quote
+ # from the Makefile without running 'make'.
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
+ test -z "$DEPDIR" && continue
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
+ test -z "$am__include" && continue
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
+ # Find all dependency output files, they are included files with
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
+ # simplest approach to changing $(DEPDIR) to its actual value in the
+ # expansion.
+ for file in `sed -n "
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
+ # Make sure the directory exists.
+ test -f "$dirpart/$file" && continue
+ fdir=`$as_dirname -- "$file" ||
+$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$file" : 'X\(//\)[^/]' \| \
+ X"$file" : 'X\(//\)$' \| \
+ X"$file" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ as_dir=$dirpart/$fdir; as_fn_mkdir_p
+ # echo "creating $dirpart/$file"
+ echo '# dummy' > "$dirpart/$file"
+ done
+ done
+}
+ ;;
+
+ esac
+done # for ac_tag
+
+
+as_fn_exit 0
+_ACEOF
+ac_clean_files=$ac_clean_files_save
+
+test $ac_write_fail = 0 ||
+ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
+
+
+# configure is writing to config.log, and then calls config.status.
+# config.status does its own redirection, appending to config.log.
+# Unfortunately, on DOS this fails, as config.log is still kept open
+# by configure, so config.status won't be able to write to it; its
+# output is simply discarded. So we exec the FD to /dev/null,
+# effectively closing config.log, so it can be properly (re)opened and
+# appended to by config.status. When coming back to configure, we
+# need to make the FD available again.
+if test "$no_create" != yes; then
+ ac_cs_success=:
+ ac_config_status_args=
+ test "$silent" = yes &&
+ ac_config_status_args="$ac_config_status_args --quiet"
+ exec 5>/dev/null
+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
+ exec 5>>config.log
+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
+ # would make configure fail if this is the last instruction.
+ $ac_cs_success || as_fn_exit 1
+fi
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
+fi
+
+
diff --git a/biblio/bibtex/utils/r2bib/configure.ac b/biblio/bibtex/utils/r2bib/configure.ac
new file mode 100644
index 0000000000..84e5a8cb89
--- /dev/null
+++ b/biblio/bibtex/utils/r2bib/configure.ac
@@ -0,0 +1,24 @@
+# -*- Autoconf -*-
+# Process this file with autoconf to produce a configure script.
+
+# $Header:$
+
+AC_PREREQ([2.68])
+AC_INIT([r2bib], [2015.12.07], [mathar@mpia.de],[r2bib],[http://www.ctan.org/tex-archive/biblio/bibtex/utils/r2bib/])
+AC_CONFIG_SRCDIR([r2bib.c])
+AM_INIT_AUTOMAKE([no-define foreign subdir-objects])
+AC_CONFIG_HEADERS([config.h])
+
+AC_PROG_CXX
+
+AC_PROG_CC
+# AC_PROG_CPP
+AC_PROG_INSTALL
+AM_PROG_LEX
+
+AC_CHECK_HEADERS([stdlib.h ctype.h stdio.h unistd.h time.h string.h])
+
+AC_CONFIG_FILES([Makefile])
+
+AC_OUTPUT
+
diff --git a/biblio/bibtex/utils/r2bib/depcomp b/biblio/bibtex/utils/r2bib/depcomp
new file mode 100755
index 0000000000..4ebd5b3a2f
--- /dev/null
+++ b/biblio/bibtex/utils/r2bib/depcomp
@@ -0,0 +1,791 @@
+#! /bin/sh
+# depcomp - compile a program generating dependencies as side-effects
+
+scriptversion=2013-05-30.07; # UTC
+
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
+
+case $1 in
+ '')
+ echo "$0: No command. Try '$0 --help' for more information." 1>&2
+ exit 1;
+ ;;
+ -h | --h*)
+ cat <<\EOF
+Usage: depcomp [--help] [--version] PROGRAM [ARGS]
+
+Run PROGRAMS ARGS to compile a file, generating dependencies
+as side-effects.
+
+Environment variables:
+ depmode Dependency tracking mode.
+ source Source file read by 'PROGRAMS ARGS'.
+ object Object file output by 'PROGRAMS ARGS'.
+ DEPDIR directory where to store dependencies.
+ depfile Dependency file to output.
+ tmpdepfile Temporary file to use when outputting dependencies.
+ libtool Whether libtool is used (yes/no).
+
+Report bugs to <bug-automake@gnu.org>.
+EOF
+ exit $?
+ ;;
+ -v | --v*)
+ echo "depcomp $scriptversion"
+ exit $?
+ ;;
+esac
+
+# Get the directory component of the given path, and save it in the
+# global variables '$dir'. Note that this directory component will
+# be either empty or ending with a '/' character. This is deliberate.
+set_dir_from ()
+{
+ case $1 in
+ */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
+ *) dir=;;
+ esac
+}
+
+# Get the suffix-stripped basename of the given path, and save it the
+# global variable '$base'.
+set_base_from ()
+{
+ base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'`
+}
+
+# If no dependency file was actually created by the compiler invocation,
+# we still have to create a dummy depfile, to avoid errors with the
+# Makefile "include basename.Plo" scheme.
+make_dummy_depfile ()
+{
+ echo "#dummy" > "$depfile"
+}
+
+# Factor out some common post-processing of the generated depfile.
+# Requires the auxiliary global variable '$tmpdepfile' to be set.
+aix_post_process_depfile ()
+{
+ # If the compiler actually managed to produce a dependency file,
+ # post-process it.
+ if test -f "$tmpdepfile"; then
+ # Each line is of the form 'foo.o: dependency.h'.
+ # Do two passes, one to just change these to
+ # $object: dependency.h
+ # and one to simply output
+ # dependency.h:
+ # which is needed to avoid the deleted-header problem.
+ { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile"
+ sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile"
+ } > "$depfile"
+ rm -f "$tmpdepfile"
+ else
+ make_dummy_depfile
+ fi
+}
+
+# A tabulation character.
+tab=' '
+# A newline character.
+nl='
+'
+# Character ranges might be problematic outside the C locale.
+# These definitions help.
+upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ
+lower=abcdefghijklmnopqrstuvwxyz
+digits=0123456789
+alpha=${upper}${lower}
+
+if test -z "$depmode" || test -z "$source" || test -z "$object"; then
+ echo "depcomp: Variables source, object and depmode must be set" 1>&2
+ exit 1
+fi
+
+# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
+depfile=${depfile-`echo "$object" |
+ sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
+tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
+
+rm -f "$tmpdepfile"
+
+# Avoid interferences from the environment.
+gccflag= dashmflag=
+
+# Some modes work just like other modes, but use different flags. We
+# parameterize here, but still list the modes in the big case below,
+# to make depend.m4 easier to write. Note that we *cannot* use a case
+# here, because this file can only contain one case statement.
+if test "$depmode" = hp; then
+ # HP compiler uses -M and no extra arg.
+ gccflag=-M
+ depmode=gcc
+fi
+
+if test "$depmode" = dashXmstdout; then
+ # This is just like dashmstdout with a different argument.
+ dashmflag=-xM
+ depmode=dashmstdout
+fi
+
+cygpath_u="cygpath -u -f -"
+if test "$depmode" = msvcmsys; then
+ # This is just like msvisualcpp but w/o cygpath translation.
+ # Just convert the backslash-escaped backslashes to single forward
+ # slashes to satisfy depend.m4
+ cygpath_u='sed s,\\\\,/,g'
+ depmode=msvisualcpp
+fi
+
+if test "$depmode" = msvc7msys; then
+ # This is just like msvc7 but w/o cygpath translation.
+ # Just convert the backslash-escaped backslashes to single forward
+ # slashes to satisfy depend.m4
+ cygpath_u='sed s,\\\\,/,g'
+ depmode=msvc7
+fi
+
+if test "$depmode" = xlc; then
+ # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information.
+ gccflag=-qmakedep=gcc,-MF
+ depmode=gcc
+fi
+
+case "$depmode" in
+gcc3)
+## gcc 3 implements dependency tracking that does exactly what
+## we want. Yay! Note: for some reason libtool 1.4 doesn't like
+## it if -MD -MP comes after the -MF stuff. Hmm.
+## Unfortunately, FreeBSD c89 acceptance of flags depends upon
+## the command line argument order; so add the flags where they
+## appear in depend2.am. Note that the slowdown incurred here
+## affects only configure: in makefiles, %FASTDEP% shortcuts this.
+ for arg
+ do
+ case $arg in
+ -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
+ *) set fnord "$@" "$arg" ;;
+ esac
+ shift # fnord
+ shift # $arg
+ done
+ "$@"
+ stat=$?
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ mv "$tmpdepfile" "$depfile"
+ ;;
+
+gcc)
+## Note that this doesn't just cater to obsosete pre-3.x GCC compilers.
+## but also to in-use compilers like IMB xlc/xlC and the HP C compiler.
+## (see the conditional assignment to $gccflag above).
+## There are various ways to get dependency output from gcc. Here's
+## why we pick this rather obscure method:
+## - Don't want to use -MD because we'd like the dependencies to end
+## up in a subdir. Having to rename by hand is ugly.
+## (We might end up doing this anyway to support other compilers.)
+## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
+## -MM, not -M (despite what the docs say). Also, it might not be
+## supported by the other compilers which use the 'gcc' depmode.
+## - Using -M directly means running the compiler twice (even worse
+## than renaming).
+ if test -z "$gccflag"; then
+ gccflag=-MD,
+ fi
+ "$@" -Wp,"$gccflag$tmpdepfile"
+ stat=$?
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ rm -f "$depfile"
+ echo "$object : \\" > "$depfile"
+ # The second -e expression handles DOS-style file names with drive
+ # letters.
+ sed -e 's/^[^:]*: / /' \
+ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
+## This next piece of magic avoids the "deleted header file" problem.
+## The problem is that when a header file which appears in a .P file
+## is deleted, the dependency causes make to die (because there is
+## typically no way to rebuild the header). We avoid this by adding
+## dummy dependencies for each header file. Too bad gcc doesn't do
+## this for us directly.
+## Some versions of gcc put a space before the ':'. On the theory
+## that the space means something, we add a space to the output as
+## well. hp depmode also adds that space, but also prefixes the VPATH
+## to the object. Take care to not repeat it in the output.
+## Some versions of the HPUX 10.20 sed can't process this invocation
+## correctly. Breaking it into two sed invocations is a workaround.
+ tr ' ' "$nl" < "$tmpdepfile" \
+ | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
+ | sed -e 's/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+hp)
+ # This case exists only to let depend.m4 do its work. It works by
+ # looking at the text of this script. This case will never be run,
+ # since it is checked for above.
+ exit 1
+ ;;
+
+sgi)
+ if test "$libtool" = yes; then
+ "$@" "-Wp,-MDupdate,$tmpdepfile"
+ else
+ "$@" -MDupdate "$tmpdepfile"
+ fi
+ stat=$?
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ rm -f "$depfile"
+
+ if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
+ echo "$object : \\" > "$depfile"
+ # Clip off the initial element (the dependent). Don't try to be
+ # clever and replace this with sed code, as IRIX sed won't handle
+ # lines with more than a fixed number of characters (4096 in
+ # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
+ # the IRIX cc adds comments like '#:fec' to the end of the
+ # dependency line.
+ tr ' ' "$nl" < "$tmpdepfile" \
+ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \
+ | tr "$nl" ' ' >> "$depfile"
+ echo >> "$depfile"
+ # The second pass generates a dummy entry for each header file.
+ tr ' ' "$nl" < "$tmpdepfile" \
+ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
+ >> "$depfile"
+ else
+ make_dummy_depfile
+ fi
+ rm -f "$tmpdepfile"
+ ;;
+
+xlc)
+ # This case exists only to let depend.m4 do its work. It works by
+ # looking at the text of this script. This case will never be run,
+ # since it is checked for above.
+ exit 1
+ ;;
+
+aix)
+ # The C for AIX Compiler uses -M and outputs the dependencies
+ # in a .u file. In older versions, this file always lives in the
+ # current directory. Also, the AIX compiler puts '$object:' at the
+ # start of each line; $object doesn't have directory information.
+ # Version 6 uses the directory in both cases.
+ set_dir_from "$object"
+ set_base_from "$object"
+ if test "$libtool" = yes; then
+ tmpdepfile1=$dir$base.u
+ tmpdepfile2=$base.u
+ tmpdepfile3=$dir.libs/$base.u
+ "$@" -Wc,-M
+ else
+ tmpdepfile1=$dir$base.u
+ tmpdepfile2=$dir$base.u
+ tmpdepfile3=$dir$base.u
+ "$@" -M
+ fi
+ stat=$?
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
+ exit $stat
+ fi
+
+ for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
+ do
+ test -f "$tmpdepfile" && break
+ done
+ aix_post_process_depfile
+ ;;
+
+tcc)
+ # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26
+ # FIXME: That version still under development at the moment of writing.
+ # Make that this statement remains true also for stable, released
+ # versions.
+ # It will wrap lines (doesn't matter whether long or short) with a
+ # trailing '\', as in:
+ #
+ # foo.o : \
+ # foo.c \
+ # foo.h \
+ #
+ # It will put a trailing '\' even on the last line, and will use leading
+ # spaces rather than leading tabs (at least since its commit 0394caf7
+ # "Emit spaces for -MD").
+ "$@" -MD -MF "$tmpdepfile"
+ stat=$?
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ rm -f "$depfile"
+ # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'.
+ # We have to change lines of the first kind to '$object: \'.
+ sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile"
+ # And for each line of the second kind, we have to emit a 'dep.h:'
+ # dummy dependency, to avoid the deleted-header problem.
+ sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+## The order of this option in the case statement is important, since the
+## shell code in configure will try each of these formats in the order
+## listed in this file. A plain '-MD' option would be understood by many
+## compilers, so we must ensure this comes after the gcc and icc options.
+pgcc)
+ # Portland's C compiler understands '-MD'.
+ # Will always output deps to 'file.d' where file is the root name of the
+ # source file under compilation, even if file resides in a subdirectory.
+ # The object file name does not affect the name of the '.d' file.
+ # pgcc 10.2 will output
+ # foo.o: sub/foo.c sub/foo.h
+ # and will wrap long lines using '\' :
+ # foo.o: sub/foo.c ... \
+ # sub/foo.h ... \
+ # ...
+ set_dir_from "$object"
+ # Use the source, not the object, to determine the base name, since
+ # that's sadly what pgcc will do too.
+ set_base_from "$source"
+ tmpdepfile=$base.d
+
+ # For projects that build the same source file twice into different object
+ # files, the pgcc approach of using the *source* file root name can cause
+ # problems in parallel builds. Use a locking strategy to avoid stomping on
+ # the same $tmpdepfile.
+ lockdir=$base.d-lock
+ trap "
+ echo '$0: caught signal, cleaning up...' >&2
+ rmdir '$lockdir'
+ exit 1
+ " 1 2 13 15
+ numtries=100
+ i=$numtries
+ while test $i -gt 0; do
+ # mkdir is a portable test-and-set.
+ if mkdir "$lockdir" 2>/dev/null; then
+ # This process acquired the lock.
+ "$@" -MD
+ stat=$?
+ # Release the lock.
+ rmdir "$lockdir"
+ break
+ else
+ # If the lock is being held by a different process, wait
+ # until the winning process is done or we timeout.
+ while test -d "$lockdir" && test $i -gt 0; do
+ sleep 1
+ i=`expr $i - 1`
+ done
+ fi
+ i=`expr $i - 1`
+ done
+ trap - 1 2 13 15
+ if test $i -le 0; then
+ echo "$0: failed to acquire lock after $numtries attempts" >&2
+ echo "$0: check lockdir '$lockdir'" >&2
+ exit 1
+ fi
+
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ rm -f "$depfile"
+ # Each line is of the form `foo.o: dependent.h',
+ # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
+ # Do two passes, one to just change these to
+ # `$object: dependent.h' and one to simply `dependent.h:'.
+ sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
+ # Some versions of the HPUX 10.20 sed can't process this invocation
+ # correctly. Breaking it into two sed invocations is a workaround.
+ sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \
+ | sed -e 's/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+hp2)
+ # The "hp" stanza above does not work with aCC (C++) and HP's ia64
+ # compilers, which have integrated preprocessors. The correct option
+ # to use with these is +Maked; it writes dependencies to a file named
+ # 'foo.d', which lands next to the object file, wherever that
+ # happens to be.
+ # Much of this is similar to the tru64 case; see comments there.
+ set_dir_from "$object"
+ set_base_from "$object"
+ if test "$libtool" = yes; then
+ tmpdepfile1=$dir$base.d
+ tmpdepfile2=$dir.libs/$base.d
+ "$@" -Wc,+Maked
+ else
+ tmpdepfile1=$dir$base.d
+ tmpdepfile2=$dir$base.d
+ "$@" +Maked
+ fi
+ stat=$?
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile1" "$tmpdepfile2"
+ exit $stat
+ fi
+
+ for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
+ do
+ test -f "$tmpdepfile" && break
+ done
+ if test -f "$tmpdepfile"; then
+ sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile"
+ # Add 'dependent.h:' lines.
+ sed -ne '2,${
+ s/^ *//
+ s/ \\*$//
+ s/$/:/
+ p
+ }' "$tmpdepfile" >> "$depfile"
+ else
+ make_dummy_depfile
+ fi
+ rm -f "$tmpdepfile" "$tmpdepfile2"
+ ;;
+
+tru64)
+ # The Tru64 compiler uses -MD to generate dependencies as a side
+ # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'.
+ # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
+ # dependencies in 'foo.d' instead, so we check for that too.
+ # Subdirectories are respected.
+ set_dir_from "$object"
+ set_base_from "$object"
+
+ if test "$libtool" = yes; then
+ # Libtool generates 2 separate objects for the 2 libraries. These
+ # two compilations output dependencies in $dir.libs/$base.o.d and
+ # in $dir$base.o.d. We have to check for both files, because
+ # one of the two compilations can be disabled. We should prefer
+ # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
+ # automatically cleaned when .libs/ is deleted, while ignoring
+ # the former would cause a distcleancheck panic.
+ tmpdepfile1=$dir$base.o.d # libtool 1.5
+ tmpdepfile2=$dir.libs/$base.o.d # Likewise.
+ tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504
+ "$@" -Wc,-MD
+ else
+ tmpdepfile1=$dir$base.d
+ tmpdepfile2=$dir$base.d
+ tmpdepfile3=$dir$base.d
+ "$@" -MD
+ fi
+
+ stat=$?
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
+ exit $stat
+ fi
+
+ for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
+ do
+ test -f "$tmpdepfile" && break
+ done
+ # Same post-processing that is required for AIX mode.
+ aix_post_process_depfile
+ ;;
+
+msvc7)
+ if test "$libtool" = yes; then
+ showIncludes=-Wc,-showIncludes
+ else
+ showIncludes=-showIncludes
+ fi
+ "$@" $showIncludes > "$tmpdepfile"
+ stat=$?
+ grep -v '^Note: including file: ' "$tmpdepfile"
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ rm -f "$depfile"
+ echo "$object : \\" > "$depfile"
+ # The first sed program below extracts the file names and escapes
+ # backslashes for cygpath. The second sed program outputs the file
+ # name when reading, but also accumulates all include files in the
+ # hold buffer in order to output them again at the end. This only
+ # works with sed implementations that can handle large buffers.
+ sed < "$tmpdepfile" -n '
+/^Note: including file: *\(.*\)/ {
+ s//\1/
+ s/\\/\\\\/g
+ p
+}' | $cygpath_u | sort -u | sed -n '
+s/ /\\ /g
+s/\(.*\)/'"$tab"'\1 \\/p
+s/.\(.*\) \\/\1:/
+H
+$ {
+ s/.*/'"$tab"'/
+ G
+ p
+}' >> "$depfile"
+ echo >> "$depfile" # make sure the fragment doesn't end with a backslash
+ rm -f "$tmpdepfile"
+ ;;
+
+msvc7msys)
+ # This case exists only to let depend.m4 do its work. It works by
+ # looking at the text of this script. This case will never be run,
+ # since it is checked for above.
+ exit 1
+ ;;
+
+#nosideeffect)
+ # This comment above is used by automake to tell side-effect
+ # dependency tracking mechanisms from slower ones.
+
+dashmstdout)
+ # Important note: in order to support this mode, a compiler *must*
+ # always write the preprocessed file to stdout, regardless of -o.
+ "$@" || exit $?
+
+ # Remove the call to Libtool.
+ if test "$libtool" = yes; then
+ while test "X$1" != 'X--mode=compile'; do
+ shift
+ done
+ shift
+ fi
+
+ # Remove '-o $object'.
+ IFS=" "
+ for arg
+ do
+ case $arg in
+ -o)
+ shift
+ ;;
+ $object)
+ shift
+ ;;
+ *)
+ set fnord "$@" "$arg"
+ shift # fnord
+ shift # $arg
+ ;;
+ esac
+ done
+
+ test -z "$dashmflag" && dashmflag=-M
+ # Require at least two characters before searching for ':'
+ # in the target name. This is to cope with DOS-style filenames:
+ # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise.
+ "$@" $dashmflag |
+ sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile"
+ rm -f "$depfile"
+ cat < "$tmpdepfile" > "$depfile"
+ # Some versions of the HPUX 10.20 sed can't process this sed invocation
+ # correctly. Breaking it into two sed invocations is a workaround.
+ tr ' ' "$nl" < "$tmpdepfile" \
+ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
+ | sed -e 's/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+dashXmstdout)
+ # This case only exists to satisfy depend.m4. It is never actually
+ # run, as this mode is specially recognized in the preamble.
+ exit 1
+ ;;
+
+makedepend)
+ "$@" || exit $?
+ # Remove any Libtool call
+ if test "$libtool" = yes; then
+ while test "X$1" != 'X--mode=compile'; do
+ shift
+ done
+ shift
+ fi
+ # X makedepend
+ shift
+ cleared=no eat=no
+ for arg
+ do
+ case $cleared in
+ no)
+ set ""; shift
+ cleared=yes ;;
+ esac
+ if test $eat = yes; then
+ eat=no
+ continue
+ fi
+ case "$arg" in
+ -D*|-I*)
+ set fnord "$@" "$arg"; shift ;;
+ # Strip any option that makedepend may not understand. Remove
+ # the object too, otherwise makedepend will parse it as a source file.
+ -arch)
+ eat=yes ;;
+ -*|$object)
+ ;;
+ *)
+ set fnord "$@" "$arg"; shift ;;
+ esac
+ done
+ obj_suffix=`echo "$object" | sed 's/^.*\././'`
+ touch "$tmpdepfile"
+ ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
+ rm -f "$depfile"
+ # makedepend may prepend the VPATH from the source file name to the object.
+ # No need to regex-escape $object, excess matching of '.' is harmless.
+ sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
+ # Some versions of the HPUX 10.20 sed can't process the last invocation
+ # correctly. Breaking it into two sed invocations is a workaround.
+ sed '1,2d' "$tmpdepfile" \
+ | tr ' ' "$nl" \
+ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
+ | sed -e 's/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile" "$tmpdepfile".bak
+ ;;
+
+cpp)
+ # Important note: in order to support this mode, a compiler *must*
+ # always write the preprocessed file to stdout.
+ "$@" || exit $?
+
+ # Remove the call to Libtool.
+ if test "$libtool" = yes; then
+ while test "X$1" != 'X--mode=compile'; do
+ shift
+ done
+ shift
+ fi
+
+ # Remove '-o $object'.
+ IFS=" "
+ for arg
+ do
+ case $arg in
+ -o)
+ shift
+ ;;
+ $object)
+ shift
+ ;;
+ *)
+ set fnord "$@" "$arg"
+ shift # fnord
+ shift # $arg
+ ;;
+ esac
+ done
+
+ "$@" -E \
+ | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
+ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
+ | sed '$ s: \\$::' > "$tmpdepfile"
+ rm -f "$depfile"
+ echo "$object : \\" > "$depfile"
+ cat < "$tmpdepfile" >> "$depfile"
+ sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+msvisualcpp)
+ # Important note: in order to support this mode, a compiler *must*
+ # always write the preprocessed file to stdout.
+ "$@" || exit $?
+
+ # Remove the call to Libtool.
+ if test "$libtool" = yes; then
+ while test "X$1" != 'X--mode=compile'; do
+ shift
+ done
+ shift
+ fi
+
+ IFS=" "
+ for arg
+ do
+ case "$arg" in
+ -o)
+ shift
+ ;;
+ $object)
+ shift
+ ;;
+ "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
+ set fnord "$@"
+ shift
+ shift
+ ;;
+ *)
+ set fnord "$@" "$arg"
+ shift
+ shift
+ ;;
+ esac
+ done
+ "$@" -E 2>/dev/null |
+ sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
+ rm -f "$depfile"
+ echo "$object : \\" > "$depfile"
+ sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile"
+ echo "$tab" >> "$depfile"
+ sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+msvcmsys)
+ # This case exists only to let depend.m4 do its work. It works by
+ # looking at the text of this script. This case will never be run,
+ # since it is checked for above.
+ exit 1
+ ;;
+
+none)
+ exec "$@"
+ ;;
+
+*)
+ echo "Unknown depmode $depmode" 1>&2
+ exit 1
+ ;;
+esac
+
+exit 0
+
+# Local Variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
diff --git a/biblio/bibtex/utils/r2bib/dosToTex.1 b/biblio/bibtex/utils/r2bib/dosToTex.1
new file mode 100644
index 0000000000..3863557f8a
--- /dev/null
+++ b/biblio/bibtex/utils/r2bib/dosToTex.1
@@ -0,0 +1,54 @@
+.TH "dosToTex" 1 "Mon Dec 7 2015" "Version 2015-12-07" "r2bib" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+dosToTex \- convert an 8bit input stream to TeX coding
+.PP
+.SH "\&.SH SYNOPSIS "
+.PP
+.PP
+dosToTex [-1 | -u]
+.PP
+dosToTex [-h]
+.PP
+.SH "OPTIONS "
+.PP
+.PP
+-1 interpret input as cp1252 (Windows) encoding
+.PP
+-u interpret input as US ASCII encoding
+.PP
+-h print a usage summary and exit
+.PP
+.SH "DESCRIPTION "
+.PP
+.PP
+\fIdosToTex\fP reads the standard input and converts some 8bit bytes to the TeX (LaTeX) equivalent sequences on standard output\&. If neither the option -1 nor the option -u is used, the encoding in the input sequence is supposed to follow the ANSI standard as described in the EndNote 8 reference manuals\&.
+.PP
+.SH "CAUTION "
+.PP
+.PP
+\fIdosToTex\fP should not be used in conjunction with EndNote X2 or later, since the encoding standard has become Unicode, which is not supported by \fIdosToTex\fP\&. With respect to EndNote, the program is now superfluous\&.
+.PP
+.SH "EXAMPLES "
+.PP
+.PP
+dosToTex -h
+.PP
+dosToTex < dosinfile\&.asc > outfile\&.tex
+.PP
+dosToTex -1 < windowsf\&.txt > outfile\&.tex
+.PP
+dos2unix < windowsf\&.txt | dosToTex -1 > outfile\&.tex
+.PP
+cat windowsf1\&.txt windosf2\&.txt windosf3\&.txt | dosToTex > outfile\&.tex
+.PP
+.SH "SEE ALSO "
+.PP
+.PP
+dos2unix(1) dos2tex(1) recode(1)
+.PP
+.SH "AUTHOR "
+.PP
+.PP
+Richard J\&. Mathar, http://www.mpia.de/~mathar
diff --git a/biblio/bibtex/utils/r2bib/dosToTex.c b/biblio/bibtex/utils/r2bib/dosToTex.c
new file mode 100644
index 0000000000..ff20068709
--- /dev/null
+++ b/biblio/bibtex/utils/r2bib/dosToTex.c
@@ -0,0 +1,463 @@
+/******************************************
+dosToTex - converts 8bit encodings to (La)TeX
+ multibyte escape sequences.
+
+usage:
+
+dosToTex [ -1 | -u ] < inputfile.dos > outputfile.tex
+dosToTex -h
+
+Switches:
+-1 : assume that the input file has been encoded in the cp1252
+ (Windows) character set
+-u : assume that the input file has been encoded in the "US ASCII"
+ (EndNote terminology) character set
+-h : print a help line
+neither -1 nor -u: assume that the input file has been encoded in
+ the ANSI (EndNote terminology) character set
+
+Note that it does NOT convert line feeds etc as does dos2unix; therefore
+piping in addition through dos2unix may be useful:
+
+dosToTex [ -1 | -u ] < inputfile.dos | dos2unix > outputfile.tex
+dosToTex [ -1 | -u ] < inputfile.dos | sed 's/\r//' > outputfile.tex
+
+As a more versatile alternative, one might combine the converter 'recode' with
+the use of
+ \usepackage{latin1}[inputenc]
+in the LaTeX source: http://recode.progiciels-bpi.ca/
+ http://directory.fsf.org/recode.html
+
+See also
+ http://www.cs.uu.nl/wais/html/na-dir/internationalization/font-faq.html
+ http://wwwvms.mppmu.mpg.de/FAQ/iso-charset.faq
+ http://budling.nytud.hu/~szigetva/etcetera/Hungarian/converters/dos2tex
+ http://www.ctan.org/tex-archive/support/xtexshell/tfc.cc
+ http://billposer.org/Software/uni2ascii.html
+
+Richard J. Mathar, http://www.mpia.de/~mathar
+Dec 07, 2015
+*****************************************/
+#include "config.h"
+
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+
+#ifdef HAVE_STDIO_H
+#include <stdio.h>
+#endif
+
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
+void usage(char *argv0)
+{
+ printf("usage: %s ; # decode EndNote\n",argv0) ;
+ printf("\t %s -1 ; # decode the CP1252 Windows character set\n",argv0) ;
+ printf("\t %s -u ; # decode US ASCII\n",argv0) ;
+ printf("\t %s -h ; # help: print these usage lines here\n",argv0) ;
+ printf("Reads from the standard input, writes to the standard output.\n") ;
+}
+
+int main(int argc, char *argv[])
+{
+ int c ;
+ char oc ;
+ int useendnote = 1 , /* according to page 108 of the EndNote 7 Manual, default */
+ useUs = 0 , /* US ASCII according to the table on p 109 of the EndNote 7 manual */
+ usecpc1252 = 0 ; /* according to http://czyborra.com/charsets/cp1252.gif */
+ while ( (oc=getopt(argc,argv,"1hu")) != -1 )
+ {
+ switch(oc)
+ {
+ case '1' :
+ usecpc1252 = 1 ;
+ useendnote = 0 ;
+ break ;
+ case 'u' :
+ useUs = 1 ;
+ useendnote = 0 ;
+ break ;
+ case 'h' :
+ usage(argv[0]) ;
+ return 0 ;
+ case '?' :
+ fprintf(stderr,"Invalid command line option %c\n",oc) ;
+ usage(argv[0]) ;
+ break ;
+ }
+ }
+
+ /* start at 0x80, end at 0xff, according to http://czyborra.com/charsets/cp1252.gif */
+ char *cpc1252[] = {
+ NULL,
+ NULL,
+ ",",
+ "$f$",
+ "``",
+ "$\\ldots$",
+ "\\dag ",
+ "\\ddag ",
+ "\\symbol{94}",
+ NULL,
+ "\\v{S}",
+ "<",
+ "{\\OE}",
+ NULL,
+ "\\v{Z}",
+ NULL,
+ NULL,
+ "'",
+ "'",
+ "``",
+ "''",
+ NULL,
+ "-",
+ "--",
+ "\\symbol{126}",
+ NULL,
+ "\\v{s}",
+ ">",
+ "{\\oe}",
+ NULL,
+ "\\v{z}",
+ "{\\\"Y}",
+ NULL,
+ "!'",
+ NULL,
+ "\\pounds ",
+ NULL,
+ NULL,
+ "$\\mid$",
+ "\\S ",
+ "\\symbol{127}",
+ "\\copyright ",
+ NULL,
+ "$\\ll$",
+ "$\\neg$",
+ NULL,
+ NULL,
+ "\\symbol{22}",
+ "$^0$",
+ "$\\pm$",
+ "$^2$",
+ "$^3$",
+ "'",
+ "$\\mu$",
+ "\\P ",
+ "$\\cdot$",
+ NULL,
+ "$^1$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NULL,
+ "--",
+ "\\symbol{126}",
+ NULL,
+ NULL,
+ NULL,
+ "{\\oe}",
+ NULL,
+ NULL,
+ "{\\\"Y}",
+ NULL,
+ "!`",
+ NULL,
+ "\\pounds ",
+ NULL,
+ NULL,
+ "$\\mid$",
+ "\\S ",
+ "\\symbol{127}",
+ "\\copyright ",
+ NULL,
+ "$\\ll$",
+ "$\\neg$",
+ NULL,
+ NULL,
+ "\\symbol{22}",
+ "\\symbol{23}",
+ "$\\pm$",
+ "$^2$",
+ NULL,
+ "'",
+ "$\\mu$",
+ "\\P ",
+ "$\\cdot$",
+ NULL,
+ "$^1$",
+ "$^0$",
+ "$\\gg$",
+ "1/4","1/2","3/4",
+ "?`",
+ "\\`A",
+ "\\'A",
+ "\\^A",
+ "\\~A",
+ "{\\\"A}",
+ "{\\AA}",
+ "{\\AE}",
+ "\\c{C}",
+ "\\`E",
+ "\\'E",
+ "\\^E",
+ "{\\\"E}",
+ "\\`I",
+ "\\'I",
+ "\\^I",
+ "{\\\"I}",
+ NULL,
+ "\\~N",
+ "\\`O",
+ "\\'O",
+ "\\^O",
+ "\\~O",
+ "{\\\"O}",
+ "$\\times$",
+ "{\\O}",
+ "\\`U",
+ "\\'U",
+ "\\^U",
+ "{\\\"U}",
+ "\\'Y",
+ NULL,
+ "\\ss ",
+ "\\`a",
+ "\\'a",
+ "\\^a",
+ "\\~a",
+ "{\\\"a}",
+ "{\\aa}",
+ "{\\ae}",
+ "\\c{c}",
+ "\\`e",
+ "\\'e",
+ "\\^e",
+ "{\\\"e}",
+ "\\`{\\i}",
+ "\\'{\\i}",
+ "\\^{\\i}",
+ "{\\\"{\\i}}",
+ NULL,
+ "\\~n",
+ "\\`o",
+ "\\'o",
+ "\\^o",
+ "\\~o",
+ "{\\\"o}",
+ "$\\div$",
+ "{\\o}",
+ "\\`u",
+ "\\'u",
+ "\\^u",
+ "{\\\"u}",
+ "\\'y",
+ NULL,
+ "{\\\"y}"
+ } ;
+ /* starts at 128, ends at 165 */
+ char *usasc[] = {
+ "\\c{C}",
+ "{\\\"u}",
+ "\\'e",
+ "\\^a",
+ "{\\\"a}",
+ "\\`a",
+ "{\\aa}",
+ "\\c{c}",
+ "\\^e",
+ "{\\\"e}",
+ "\\`e",
+ "{\\\"{\\i}}",
+ "\\^{\\i}",
+ "\\`{\\i}",
+ "{\\\"A}",
+ "{\\AA}",
+ "\\'E",
+ "{\\ae}",
+ "{\\AE}",
+ "\\^o",
+ "{\\\"o}",
+ "\\`o",
+ "\\^u",
+ "\\`u",
+ "{\\\"y}",
+ "{\\\"O}",
+ "{\\\"U}",
+ NULL,
+ "\\pounds ",NULL,
+ "P",
+ "$f$",
+ "\\'a",
+ "\\'{\\i}",
+ "\\'o",
+ "\\'u",
+ "\\~n",
+ "\\~N",NULL,NULL,
+ "?'",
+ "\\_",
+ "$\\neg$",
+ "1/2",
+ "1/4",
+ "!'",
+ "$\\ll$",
+ "$\\gg$"
+ /*
+ case 225 :
+ "\\ss ",
+ case 246 :
+ "$\\div$",
+ */
+ } ;
+
+ if ( usecpc1252)
+ {
+ while( (c=getchar()) != EOF)
+ {
+ if( c >= 0x80 && c <= 0xff) /* in the table ? */
+ if ( cpc1252[c-0x80] )
+ printf("%s",cpc1252[c-0x80]) ;
+ else
+ putchar(c) ;
+ else
+ putchar(c) ;
+ }
+ }
+ else if ( useendnote)
+ {
+ while( (c=getchar()) != EOF)
+ {
+ if( c >= 128 && c <= 255) /* in the table ? */
+ {
+ if ( endn[c-128] )
+ printf("%s",endn[c-128]) ;
+ else
+ putchar(c) ;
+ }
+ else
+ putchar(c) ;
+ }
+ }
+ else if ( useUs)
+ {
+ while( (c=getchar()) != EOF)
+ {
+ if( c >= 128 && c <= 175) /* in the table ? */
+ if ( usasc[c-128] )
+ printf("%s",usasc[c-128]) ;
+ else
+ putchar(c) ;
+ else if ( c == 179)
+ printf("$^3$") ;
+ else if ( c == 225)
+ printf("\\ss ") ;
+ else if ( c == 227)
+ printf("\\P ") ;
+ else if ( c == 230)
+ printf("$\\mu$") ;
+ else if ( c == 241)
+ printf("$\\pm$") ;
+ else if ( c == 246)
+ printf("$\\div$") ;
+ else if ( c == 253)
+ printf("$^2$") ;
+ else
+ putchar(c) ;
+ }
+ }
+ return 0 ;
+}
diff --git a/biblio/bibtex/utils/r2bib/install-sh b/biblio/bibtex/utils/r2bib/install-sh
new file mode 100755
index 0000000000..377bb8687f
--- /dev/null
+++ b/biblio/bibtex/utils/r2bib/install-sh
@@ -0,0 +1,527 @@
+#!/bin/sh
+# install - install a program, script, or datafile
+
+scriptversion=2011-11-20.07; # UTC
+
+# This originates from X11R5 (mit/util/scripts/install.sh), which was
+# later released in X11R6 (xc/config/util/install.sh) with the
+# following copyright and license.
+#
+# Copyright (C) 1994 X Consortium
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to
+# deal in the Software without restriction, including without limitation the
+# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+# sell copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in
+# all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
+# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+#
+# Except as contained in this notice, the name of the X Consortium shall not
+# be used in advertising or otherwise to promote the sale, use or other deal-
+# ings in this Software without prior written authorization from the X Consor-
+# tium.
+#
+#
+# FSF changes to this file are in the public domain.
+#
+# Calling this script install-sh is preferred over install.sh, to prevent
+# 'make' implicit rules from creating a file called install from it
+# when there is no Makefile.
+#
+# This script is compatible with the BSD install script, but was written
+# from scratch.
+
+nl='
+'
+IFS=" "" $nl"
+
+# set DOITPROG to echo to test this script
+
+# Don't use :- since 4.3BSD and earlier shells don't like it.
+doit=${DOITPROG-}
+if test -z "$doit"; then
+ doit_exec=exec
+else
+ doit_exec=$doit
+fi
+
+# Put in absolute file names if you don't have them in your path;
+# or use environment vars.
+
+chgrpprog=${CHGRPPROG-chgrp}
+chmodprog=${CHMODPROG-chmod}
+chownprog=${CHOWNPROG-chown}
+cmpprog=${CMPPROG-cmp}
+cpprog=${CPPROG-cp}
+mkdirprog=${MKDIRPROG-mkdir}
+mvprog=${MVPROG-mv}
+rmprog=${RMPROG-rm}
+stripprog=${STRIPPROG-strip}
+
+posix_glob='?'
+initialize_posix_glob='
+ test "$posix_glob" != "?" || {
+ if (set -f) 2>/dev/null; then
+ posix_glob=
+ else
+ posix_glob=:
+ fi
+ }
+'
+
+posix_mkdir=
+
+# Desired mode of installed file.
+mode=0755
+
+chgrpcmd=
+chmodcmd=$chmodprog
+chowncmd=
+mvcmd=$mvprog
+rmcmd="$rmprog -f"
+stripcmd=
+
+src=
+dst=
+dir_arg=
+dst_arg=
+
+copy_on_change=false
+no_target_directory=
+
+usage="\
+Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
+ or: $0 [OPTION]... SRCFILES... DIRECTORY
+ or: $0 [OPTION]... -t DIRECTORY SRCFILES...
+ or: $0 [OPTION]... -d DIRECTORIES...
+
+In the 1st form, copy SRCFILE to DSTFILE.
+In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
+In the 4th, create DIRECTORIES.
+
+Options:
+ --help display this help and exit.
+ --version display version info and exit.
+
+ -c (ignored)
+ -C install only if different (preserve the last data modification time)
+ -d create directories instead of installing files.
+ -g GROUP $chgrpprog installed files to GROUP.
+ -m MODE $chmodprog installed files to MODE.
+ -o USER $chownprog installed files to USER.
+ -s $stripprog installed files.
+ -t DIRECTORY install into DIRECTORY.
+ -T report an error if DSTFILE is a directory.
+
+Environment variables override the default commands:
+ CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
+ RMPROG STRIPPROG
+"
+
+while test $# -ne 0; do
+ case $1 in
+ -c) ;;
+
+ -C) copy_on_change=true;;
+
+ -d) dir_arg=true;;
+
+ -g) chgrpcmd="$chgrpprog $2"
+ shift;;
+
+ --help) echo "$usage"; exit $?;;
+
+ -m) mode=$2
+ case $mode in
+ *' '* | *' '* | *'
+'* | *'*'* | *'?'* | *'['*)
+ echo "$0: invalid mode: $mode" >&2
+ exit 1;;
+ esac
+ shift;;
+
+ -o) chowncmd="$chownprog $2"
+ shift;;
+
+ -s) stripcmd=$stripprog;;
+
+ -t) dst_arg=$2
+ # Protect names problematic for 'test' and other utilities.
+ case $dst_arg in
+ -* | [=\(\)!]) dst_arg=./$dst_arg;;
+ esac
+ shift;;
+
+ -T) no_target_directory=true;;
+
+ --version) echo "$0 $scriptversion"; exit $?;;
+
+ --) shift
+ break;;
+
+ -*) echo "$0: invalid option: $1" >&2
+ exit 1;;
+
+ *) break;;
+ esac
+ shift
+done
+
+if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
+ # When -d is used, all remaining arguments are directories to create.
+ # When -t is used, the destination is already specified.
+ # Otherwise, the last argument is the destination. Remove it from $@.
+ for arg
+ do
+ if test -n "$dst_arg"; then
+ # $@ is not empty: it contains at least $arg.
+ set fnord "$@" "$dst_arg"
+ shift # fnord
+ fi
+ shift # arg
+ dst_arg=$arg
+ # Protect names problematic for 'test' and other utilities.
+ case $dst_arg in
+ -* | [=\(\)!]) dst_arg=./$dst_arg;;
+ esac
+ done
+fi
+
+if test $# -eq 0; then
+ if test -z "$dir_arg"; then
+ echo "$0: no input file specified." >&2
+ exit 1
+ fi
+ # It's OK to call 'install-sh -d' without argument.
+ # This can happen when creating conditional directories.
+ exit 0
+fi
+
+if test -z "$dir_arg"; then
+ do_exit='(exit $ret); exit $ret'
+ trap "ret=129; $do_exit" 1
+ trap "ret=130; $do_exit" 2
+ trap "ret=141; $do_exit" 13
+ trap "ret=143; $do_exit" 15
+
+ # Set umask so as not to create temps with too-generous modes.
+ # However, 'strip' requires both read and write access to temps.
+ case $mode in
+ # Optimize common cases.
+ *644) cp_umask=133;;
+ *755) cp_umask=22;;
+
+ *[0-7])
+ if test -z "$stripcmd"; then
+ u_plus_rw=
+ else
+ u_plus_rw='% 200'
+ fi
+ cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
+ *)
+ if test -z "$stripcmd"; then
+ u_plus_rw=
+ else
+ u_plus_rw=,u+rw
+ fi
+ cp_umask=$mode$u_plus_rw;;
+ esac
+fi
+
+for src
+do
+ # Protect names problematic for 'test' and other utilities.
+ case $src in
+ -* | [=\(\)!]) src=./$src;;
+ esac
+
+ if test -n "$dir_arg"; then
+ dst=$src
+ dstdir=$dst
+ test -d "$dstdir"
+ dstdir_status=$?
+ else
+
+ # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
+ # might cause directories to be created, which would be especially bad
+ # if $src (and thus $dsttmp) contains '*'.
+ if test ! -f "$src" && test ! -d "$src"; then
+ echo "$0: $src does not exist." >&2
+ exit 1
+ fi
+
+ if test -z "$dst_arg"; then
+ echo "$0: no destination specified." >&2
+ exit 1
+ fi
+ dst=$dst_arg
+
+ # If destination is a directory, append the input filename; won't work
+ # if double slashes aren't ignored.
+ if test -d "$dst"; then
+ if test -n "$no_target_directory"; then
+ echo "$0: $dst_arg: Is a directory" >&2
+ exit 1
+ fi
+ dstdir=$dst
+ dst=$dstdir/`basename "$src"`
+ dstdir_status=0
+ else
+ # Prefer dirname, but fall back on a substitute if dirname fails.
+ dstdir=`
+ (dirname "$dst") 2>/dev/null ||
+ expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$dst" : 'X\(//\)[^/]' \| \
+ X"$dst" : 'X\(//\)$' \| \
+ X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
+ echo X"$dst" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'
+ `
+
+ test -d "$dstdir"
+ dstdir_status=$?
+ fi
+ fi
+
+ obsolete_mkdir_used=false
+
+ if test $dstdir_status != 0; then
+ case $posix_mkdir in
+ '')
+ # Create intermediate dirs using mode 755 as modified by the umask.
+ # This is like FreeBSD 'install' as of 1997-10-28.
+ umask=`umask`
+ case $stripcmd.$umask in
+ # Optimize common cases.
+ *[2367][2367]) mkdir_umask=$umask;;
+ .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
+
+ *[0-7])
+ mkdir_umask=`expr $umask + 22 \
+ - $umask % 100 % 40 + $umask % 20 \
+ - $umask % 10 % 4 + $umask % 2
+ `;;
+ *) mkdir_umask=$umask,go-w;;
+ esac
+
+ # With -d, create the new directory with the user-specified mode.
+ # Otherwise, rely on $mkdir_umask.
+ if test -n "$dir_arg"; then
+ mkdir_mode=-m$mode
+ else
+ mkdir_mode=
+ fi
+
+ posix_mkdir=false
+ case $umask in
+ *[123567][0-7][0-7])
+ # POSIX mkdir -p sets u+wx bits regardless of umask, which
+ # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
+ ;;
+ *)
+ tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
+ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
+
+ if (umask $mkdir_umask &&
+ exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
+ then
+ if test -z "$dir_arg" || {
+ # Check for POSIX incompatibilities with -m.
+ # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
+ # other-writable bit of parent directory when it shouldn't.
+ # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
+ ls_ld_tmpdir=`ls -ld "$tmpdir"`
+ case $ls_ld_tmpdir in
+ d????-?r-*) different_mode=700;;
+ d????-?--*) different_mode=755;;
+ *) false;;
+ esac &&
+ $mkdirprog -m$different_mode -p -- "$tmpdir" && {
+ ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
+ test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
+ }
+ }
+ then posix_mkdir=:
+ fi
+ rmdir "$tmpdir/d" "$tmpdir"
+ else
+ # Remove any dirs left behind by ancient mkdir implementations.
+ rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
+ fi
+ trap '' 0;;
+ esac;;
+ esac
+
+ if
+ $posix_mkdir && (
+ umask $mkdir_umask &&
+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
+ )
+ then :
+ else
+
+ # The umask is ridiculous, or mkdir does not conform to POSIX,
+ # or it failed possibly due to a race condition. Create the
+ # directory the slow way, step by step, checking for races as we go.
+
+ case $dstdir in
+ /*) prefix='/';;
+ [-=\(\)!]*) prefix='./';;
+ *) prefix='';;
+ esac
+
+ eval "$initialize_posix_glob"
+
+ oIFS=$IFS
+ IFS=/
+ $posix_glob set -f
+ set fnord $dstdir
+ shift
+ $posix_glob set +f
+ IFS=$oIFS
+
+ prefixes=
+
+ for d
+ do
+ test X"$d" = X && continue
+
+ prefix=$prefix$d
+ if test -d "$prefix"; then
+ prefixes=
+ else
+ if $posix_mkdir; then
+ (umask=$mkdir_umask &&
+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
+ # Don't fail if two instances are running concurrently.
+ test -d "$prefix" || exit 1
+ else
+ case $prefix in
+ *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
+ *) qprefix=$prefix;;
+ esac
+ prefixes="$prefixes '$qprefix'"
+ fi
+ fi
+ prefix=$prefix/
+ done
+
+ if test -n "$prefixes"; then
+ # Don't fail if two instances are running concurrently.
+ (umask $mkdir_umask &&
+ eval "\$doit_exec \$mkdirprog $prefixes") ||
+ test -d "$dstdir" || exit 1
+ obsolete_mkdir_used=true
+ fi
+ fi
+ fi
+
+ if test -n "$dir_arg"; then
+ { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
+ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
+ { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
+ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
+ else
+
+ # Make a couple of temp file names in the proper directory.
+ dsttmp=$dstdir/_inst.$$_
+ rmtmp=$dstdir/_rm.$$_
+
+ # Trap to clean up those temp files at exit.
+ trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
+
+ # Copy the file name to the temp name.
+ (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
+
+ # and set any options; do chmod last to preserve setuid bits.
+ #
+ # If any of these fail, we abort the whole thing. If we want to
+ # ignore errors from any of these, just make sure not to ignore
+ # errors from the above "$doit $cpprog $src $dsttmp" command.
+ #
+ { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
+ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
+ { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
+ { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
+
+ # If -C, don't bother to copy if it wouldn't change the file.
+ if $copy_on_change &&
+ old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
+ new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
+
+ eval "$initialize_posix_glob" &&
+ $posix_glob set -f &&
+ set X $old && old=:$2:$4:$5:$6 &&
+ set X $new && new=:$2:$4:$5:$6 &&
+ $posix_glob set +f &&
+
+ test "$old" = "$new" &&
+ $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
+ then
+ rm -f "$dsttmp"
+ else
+ # Rename the file to the real destination.
+ $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
+
+ # The rename failed, perhaps because mv can't rename something else
+ # to itself, or perhaps because mv is so ancient that it does not
+ # support -f.
+ {
+ # Now remove or move aside any old file at destination location.
+ # We try this two ways since rm can't unlink itself on some
+ # systems and the destination file might be busy for other
+ # reasons. In this case, the final cleanup might fail but the new
+ # file should still install successfully.
+ {
+ test ! -f "$dst" ||
+ $doit $rmcmd -f "$dst" 2>/dev/null ||
+ { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
+ { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
+ } ||
+ { echo "$0: cannot unlink or rename $dst" >&2
+ (exit 1); exit 1
+ }
+ } &&
+
+ # Now rename the file to the real destination.
+ $doit $mvcmd "$dsttmp" "$dst"
+ }
+ fi || exit 1
+
+ trap '' 0
+ fi
+done
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
diff --git a/biblio/bibtex/utils/r2bib/missing b/biblio/bibtex/utils/r2bib/missing
new file mode 100755
index 0000000000..cdea514931
--- /dev/null
+++ b/biblio/bibtex/utils/r2bib/missing
@@ -0,0 +1,215 @@
+#! /bin/sh
+# Common wrapper for a few potentially missing GNU programs.
+
+scriptversion=2012-06-26.16; # UTC
+
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
+# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+if test $# -eq 0; then
+ echo 1>&2 "Try '$0 --help' for more information"
+ exit 1
+fi
+
+case $1 in
+
+ --is-lightweight)
+ # Used by our autoconf macros to check whether the available missing
+ # script is modern enough.
+ exit 0
+ ;;
+
+ --run)
+ # Back-compat with the calling convention used by older automake.
+ shift
+ ;;
+
+ -h|--h|--he|--hel|--help)
+ echo "\
+$0 [OPTION]... PROGRAM [ARGUMENT]...
+
+Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due
+to PROGRAM being missing or too old.
+
+Options:
+ -h, --help display this help and exit
+ -v, --version output version information and exit
+
+Supported PROGRAM values:
+ aclocal autoconf autoheader autom4te automake makeinfo
+ bison yacc flex lex help2man
+
+Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
+'g' are ignored when checking the name.
+
+Send bug reports to <bug-automake@gnu.org>."
+ exit $?
+ ;;
+
+ -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
+ echo "missing $scriptversion (GNU Automake)"
+ exit $?
+ ;;
+
+ -*)
+ echo 1>&2 "$0: unknown '$1' option"
+ echo 1>&2 "Try '$0 --help' for more information"
+ exit 1
+ ;;
+
+esac
+
+# Run the given program, remember its exit status.
+"$@"; st=$?
+
+# If it succeeded, we are done.
+test $st -eq 0 && exit 0
+
+# Also exit now if we it failed (or wasn't found), and '--version' was
+# passed; such an option is passed most likely to detect whether the
+# program is present and works.
+case $2 in --version|--help) exit $st;; esac
+
+# Exit code 63 means version mismatch. This often happens when the user
+# tries to use an ancient version of a tool on a file that requires a
+# minimum version.
+if test $st -eq 63; then
+ msg="probably too old"
+elif test $st -eq 127; then
+ # Program was missing.
+ msg="missing on your system"
+else
+ # Program was found and executed, but failed. Give up.
+ exit $st
+fi
+
+perl_URL=http://www.perl.org/
+flex_URL=http://flex.sourceforge.net/
+gnu_software_URL=http://www.gnu.org/software
+
+program_details ()
+{
+ case $1 in
+ aclocal|automake)
+ echo "The '$1' program is part of the GNU Automake package:"
+ echo "<$gnu_software_URL/automake>"
+ echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
+ echo "<$gnu_software_URL/autoconf>"
+ echo "<$gnu_software_URL/m4/>"
+ echo "<$perl_URL>"
+ ;;
+ autoconf|autom4te|autoheader)
+ echo "The '$1' program is part of the GNU Autoconf package:"
+ echo "<$gnu_software_URL/autoconf/>"
+ echo "It also requires GNU m4 and Perl in order to run:"
+ echo "<$gnu_software_URL/m4/>"
+ echo "<$perl_URL>"
+ ;;
+ esac
+}
+
+give_advice ()
+{
+ # Normalize program name to check for.
+ normalized_program=`echo "$1" | sed '
+ s/^gnu-//; t
+ s/^gnu//; t
+ s/^g//; t'`
+
+ printf '%s\n' "'$1' is $msg."
+
+ configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
+ case $normalized_program in
+ autoconf*)
+ echo "You should only need it if you modified 'configure.ac',"
+ echo "or m4 files included by it."
+ program_details 'autoconf'
+ ;;
+ autoheader*)
+ echo "You should only need it if you modified 'acconfig.h' or"
+ echo "$configure_deps."
+ program_details 'autoheader'
+ ;;
+ automake*)
+ echo "You should only need it if you modified 'Makefile.am' or"
+ echo "$configure_deps."
+ program_details 'automake'
+ ;;
+ aclocal*)
+ echo "You should only need it if you modified 'acinclude.m4' or"
+ echo "$configure_deps."
+ program_details 'aclocal'
+ ;;
+ autom4te*)
+ echo "You might have modified some maintainer files that require"
+ echo "the 'automa4te' program to be rebuilt."
+ program_details 'autom4te'
+ ;;
+ bison*|yacc*)
+ echo "You should only need it if you modified a '.y' file."
+ echo "You may want to install the GNU Bison package:"
+ echo "<$gnu_software_URL/bison/>"
+ ;;
+ lex*|flex*)
+ echo "You should only need it if you modified a '.l' file."
+ echo "You may want to install the Fast Lexical Analyzer package:"
+ echo "<$flex_URL>"
+ ;;
+ help2man*)
+ echo "You should only need it if you modified a dependency" \
+ "of a man page."
+ echo "You may want to install the GNU Help2man package:"
+ echo "<$gnu_software_URL/help2man/>"
+ ;;
+ makeinfo*)
+ echo "You should only need it if you modified a '.texi' file, or"
+ echo "any other file indirectly affecting the aspect of the manual."
+ echo "You might want to install the Texinfo package:"
+ echo "<$gnu_software_URL/texinfo/>"
+ echo "The spurious makeinfo call might also be the consequence of"
+ echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might"
+ echo "want to install GNU make:"
+ echo "<$gnu_software_URL/make/>"
+ ;;
+ *)
+ echo "You might have modified some files without having the proper"
+ echo "tools for further handling them. Check the 'README' file, it"
+ echo "often tells you about the needed prerequisites for installing"
+ echo "this package. You may also peek at any GNU archive site, in"
+ echo "case some other package contains this missing '$1' program."
+ ;;
+ esac
+}
+
+give_advice "$1" | sed -e '1s/^/WARNING: /' \
+ -e '2,$s/^/ /' >&2
+
+# Propagate the correct exit status (expected to be 127 for a program
+# not found, 63 for a program that failed due to version mismatch).
+exit $st
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
diff --git a/biblio/bibtex/utils/r2bib/r2bib.1 b/biblio/bibtex/utils/r2bib/r2bib.1
new file mode 100644
index 0000000000..233d6f516a
--- /dev/null
+++ b/biblio/bibtex/utils/r2bib/r2bib.1
@@ -0,0 +1,49 @@
+.TH "r2bib" 1 "Mon Dec 7 2015" "Version 2015-12-07" "r2bib" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+r2bib \-
+.IP "\(bu" 2
+convert refer input to BibTex \&.bib files
+.PP
+.PP
+.SH "SYNOPSIS "
+.PP
+.PP
+\fIr2bib\fP \fIfile\fP \&.\&.\&.
+.PP
+.SH "DESCRIPTION "
+.PP
+.PP
+\fIr2bib\fP reads the \fIfiles\fP and produces a \fIbibtex\fP reference list (a \&.bib file) on the standard output\&. If no files are given, r2bib reads standard input\&.
+.PP
+Since \fIrefer\fP files are inherently unstructured (compared to \fIbibtex\fP ) \fIr2bib\fP only does a passable job\&. In particular \fIrefer\fP doesn't require a keyword, while \fIbibtex\fP does\&. The heuristic that \fIr2bib\fP uses for cooking up a keyword, in order of precedence, is:
+.PP
+.IP "\(bu" 2
+Use the keyword entry (%K) if it's only one word\&.
+.IP "\(bu" 2
+Use the label entry (%L) if it's only one word\&.
+.IP "\(bu" 2
+Otherwise just use the string 'keyN' where N is the count of this bibliographic entry in the refer file(s)\&.
+.PP
+.PP
+To determine the type of reference that the \fIrefer\fP entry is, \fIr2bib\fP has to do some 'calculated guessing'\&. The heuristic used here (again, in order of precedence) is:
+.PP
+.IP "\(bu" 2
+If it has a journal entry (%J) then it's considered to be an @article\&.
+.IP "\(bu" 2
+If it has a report entry (%R) then it's considered to be a @techreport\&.
+.IP "\(bu" 2
+If it has a issuer entry (%I) then it's considered to be a @book\&.
+.IP "\(bu" 2
+Otherwise it's considered to be a @misc\&.
+.PP
+.PP
+Quite often \fIr2bib\fP will misguess and you will need to edit (by hand) the resulting \&.bib file\&.
+.PP
+Any fields that \fIr2bib\fP doesn't know about it will ignore (and complain about on stderr)\&.
+.PP
+.SH "AUTHOR "
+.PP
+.PP
+Rusty Wright, Center For Music Experiment, University of California San Diego\&.
diff --git a/biblio/bibtex/utils/r2bib/r2bib.c b/biblio/bibtex/utils/r2bib/r2bib.c
new file mode 100644
index 0000000000..b577c75402
--- /dev/null
+++ b/biblio/bibtex/utils/r2bib/r2bib.c
@@ -0,0 +1,334 @@
+/* http://www.ctan.org/tex-archive/biblio/bibtex/utils/r2bib/ */
+# include <ctype.h>
+# include <stdio.h>
+# include <stdlib.h>
+# include <string.h>
+
+struct rb {
+ char rb_kl; /* refer key letter */
+ char * rb_kw; /* bibtex string */
+ char rb_emit; /* don't print data if 0 */
+ char * rb_data; /* refer data */
+};
+
+struct rb rb[] = {
+ { 'A', "author", 1, NULL },
+ { 'B', "booktitle", 1, NULL },
+ { 'C', "address", 1, NULL },
+ { 'D', "year", 1, NULL }, /* mismatch */
+ { 'E', "editor", 1, NULL },
+/* { 'H', "commentary1", 1, NULL },*/
+ { 'I', "publisher", 1, NULL },
+ { 'J', "journal", 1, NULL },
+ { 'K', "note", 1, NULL }, /* mismatch */
+ { 'L', "label", 0, NULL }, /* use as bibtex key */
+ { 'N', "number", 1, NULL },
+/* { 'O', "commentary2", 1, NULL },*/
+ { 'P', "pages", 1, NULL },
+ { 'Q', "institution", 1, NULL },
+ { 'R', "report", 0, NULL },
+ { 'S', "series", 1, NULL },
+ { 'T', "title", 1, NULL },
+ { 'V', "volume", 1, NULL },
+/* { 'X', "abstract", 1, NULL },*/
+ { 0, 0, 0, 0 }
+};
+
+struct bmap {
+ char bm_kl;
+ char *bm_entry;
+};
+
+/*
+ * entries are in order of precedence.
+ * any entry with a 'J' field must be
+ * an article, but anthing with an 'I'
+ * field doesn't have to be a book (if
+ * an entry has both 'J' and 'I' it is
+ * considered to be an article).
+ */
+struct bmap bmap[] = {
+ { 'J', "article" },
+ { 'R', "techreport" },
+ { 'I', "book" },
+ { 0, 0 }
+};
+
+void dumprb() {
+ register struct rb *trb;
+ register struct bmap *bm;
+ static int key;
+ char *bibkey;
+ char *cp;
+ int first;
+
+ /*
+ * first, figure out what type of entry this
+ * is.
+ */
+ for (bm = &bmap[0]; bm->bm_kl != 0; bm++) {
+ for (trb = &rb[0]; trb->rb_kl != 0; trb++) {
+ if ((trb->rb_kl == bm->bm_kl) && (trb->rb_data != NULL)) {
+ printf("@%s{", bm->bm_entry);
+ goto out;
+ }
+ }
+ }
+out:
+ if (bm->bm_kl == 0)
+ printf("@misc{");
+
+ /*
+ * in order of precedence; how to determine the
+ * bibtex key:
+ * 1. use keyword (%K) if only one word.
+ * 2. use refer label (%L).
+ * 3. otherwise just use the string "keyN" where N
+ * is the count of this bibliographic entry in
+ * the refer file.
+ */
+ key++;
+ for (trb = &rb[0]; trb->rb_kl != 0; trb++) {
+ if ((trb->rb_kl == 'K') && (trb->rb_data != NULL)) {
+ for (cp = trb->rb_data; *cp ; cp++) {
+ if (isspace(*cp))
+ break;
+ }
+
+ /* ran to end of string? */
+ if (*cp == 0) {
+ printf("%s,\n", trb->rb_data);
+
+ /* if used here then free & zero it */
+ (void) free(trb->rb_data);
+ trb->rb_data = NULL;
+ break;
+ }
+ }
+
+ if ((trb->rb_kl == 'L') && (trb->rb_data != NULL)) {
+ for (cp = trb->rb_data; *cp ; cp++) {
+ if (isspace(*cp))
+ break;
+ }
+
+ /* ran to end of string? */
+ if (*cp == 0) {
+ printf("%s,\n", trb->rb_data);
+ break;
+ }
+ }
+ }
+
+ /* nothing reasonable to use, punt */
+ if (trb->rb_kl == 0)
+ printf("key%d,\n", key);
+
+ first = 1;
+
+ for (trb = &rb[0]; trb->rb_kl != 0; trb++) {
+ if (trb->rb_data == NULL)
+ continue;
+
+ if (trb->rb_emit != 0) {
+ /*
+ * clank,
+ * this is so that things will line up.
+ */
+ if (strlen(trb->rb_kw) < 6)
+ cp = "\t\t";
+ else
+ cp = "\t";
+
+ if (! first)
+ printf(",\n");
+
+ printf("\t%s =%s\"%s\"", trb->rb_kw, cp, trb->rb_data);
+ first = 0;
+ }
+
+ (void) free(trb->rb_data);
+ trb->rb_data = NULL;
+ }
+
+ printf("\n}\n\n");
+}
+
+void stuffrb(struct rb *lrb, char *cp)
+{
+ extern char *andfix();
+ extern char *sanz();
+
+ /* empty data field */
+ if ((cp = sanz(cp)) == NULL)
+ return;
+
+ if (lrb->rb_kl == 'A')
+ cp = andfix(cp);
+
+ if (lrb->rb_data == NULL) {
+ if ((lrb->rb_data = malloc(strlen(cp) + 1)) == NULL) {
+ perror("malloc");
+ exit(1);
+ }
+
+ strcpy(lrb->rb_data, cp);
+ }
+ else {
+ char *conj;
+
+ if (lrb->rb_kl == 'A')
+ conj = " and ";
+ else
+ conj = " ";
+
+ if ((lrb->rb_data = realloc(lrb->rb_data, strlen(lrb->rb_data) + strlen(cp) + strlen(conj) + 1)) == NULL) {
+ perror("realloc");
+ exit(1);
+ }
+
+ strcat(lrb->rb_data, conj);
+ strcat(lrb->rb_data, cp);
+ }
+}
+
+int r2bib(char * file, FILE * fid)
+{
+ extern char *sanz();
+ register char *cp;
+ struct rb *lrb; /* last rb stored into */
+ int line;
+ char buf[BUFSIZ];
+ int err;
+
+ lrb = NULL;
+ err = 0;
+ line = 0;
+
+ while (fgets(buf, sizeof(buf), fid) != NULL) {
+ line++;
+
+ if ((cp = sanz(buf)) == NULL) {
+ if (lrb != NULL) {
+ dumprb();
+ lrb = NULL;
+ }
+ continue;
+ }
+
+ /*
+ * if the first letter is a % then it's the
+ * a new record, otherwise it's a continuation
+ * of the previous one.
+ */
+ if (cp[0] == '%') {
+ for (lrb = &rb[0]; lrb->rb_kl != 0; lrb++) {
+ if (lrb->rb_kl == cp[1]) {
+ stuffrb(lrb, &cp[2]);
+ break;
+ }
+ }
+ if (lrb->rb_kl == 0) {
+ fprintf(stderr, "r2b: %s: line %d: unknown key letter %c, ignoring\n", file, line, cp[1]);
+ err = 1;
+ }
+ }
+ else {
+ if (lrb == NULL) {
+ fprintf(stderr, "r2b: %s: line %d: bad format, ignoring\n", file, line);
+ err = 1;
+ continue;
+ }
+
+ stuffrb(lrb, &cp[0]);
+ }
+ }
+
+ if (lrb != NULL)
+ dumprb();
+
+ return(err);
+}
+
+int main(int argc, char *argv[])
+{
+ register FILE *fid;
+ register int i;
+ int err;
+
+ err = 0;
+
+ if (argc > 1) {
+ for (i = 1; i < argc; i++) {
+ if ((fid = fopen(argv[i], "r")) == NULL) {
+ fprintf(stderr, "fopen: ");
+ perror(argv[i]);
+ continue;
+ }
+ err += r2bib(argv[i], fid);
+ }
+ }
+ else
+ err += r2bib("stdin", stdin);
+
+ if (err)
+ exit(1);
+
+ exit(0);
+}
+
+/*
+ */
+char * andfix(char *string)
+{
+ register char *tmp;
+ register char *cp;
+
+ tmp = string;
+
+ for (cp = string; *cp ; cp++) {
+ if (strncmp(cp, " and ", 5) == 0) {
+ /*
+ * +2 for the curly braces around "{and}",
+ * +1 for the null at the end.
+ */
+ if ((tmp = malloc(strlen(string) + 2 + 1)) == NULL) {
+ perror("malloc");
+ exit(1);
+ }
+
+ strncpy(tmp, string, cp - string);
+ tmp[cp - string] = 0; /* strncpy doesn't */
+ strcat(tmp, " {and} ");
+ strcat(tmp, cp + 5);
+ }
+ }
+
+ return(tmp);
+}
+
+char * sanz(char *bp)
+{
+ register char *cp;
+
+ cp = &bp[strlen(bp) - 1];
+
+ /*
+ * back up over any spaces chars
+ */
+ while (isspace(*cp) && (cp >= bp))
+ cp--;
+
+ if (cp < bp)
+ return(NULL); /* empty line */
+
+ *++cp = 0;
+
+ while (isspace(*bp) && (bp < cp))
+ bp++;
+
+ if (cp == bp)
+ return(NULL); /* empty line */
+
+ return(bp);
+}
diff --git a/biblio/bibtex/utils/r2bib/risDateAdj.cc b/biblio/bibtex/utils/r2bib/risDateAdj.cc
new file mode 100644
index 0000000000..d21207b46f
--- /dev/null
+++ b/biblio/bibtex/utils/r2bib/risDateAdj.cc
@@ -0,0 +1,1960 @@
+
+#line 3 "risDateAdj.cc"
+
+#define YY_INT_ALIGNED short int
+
+/* A lexical scanner generated by flex */
+
+#define FLEX_SCANNER
+#define YY_FLEX_MAJOR_VERSION 2
+#define YY_FLEX_MINOR_VERSION 5
+#define YY_FLEX_SUBMINOR_VERSION 37
+#if YY_FLEX_SUBMINOR_VERSION > 0
+#define FLEX_BETA
+#endif
+
+/* First, we deal with platform-specific or compiler-specific issues. */
+
+/* begin standard C headers. */
+#include <stdio.h>
+#include <string.h>
+#include <errno.h>
+#include <stdlib.h>
+
+/* end standard C headers. */
+
+/* flex integer type definitions */
+
+#ifndef FLEXINT_H
+#define FLEXINT_H
+
+/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
+
+#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
+
+/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
+ * if you want the limit (max/min) macros for int types.
+ */
+#ifndef __STDC_LIMIT_MACROS
+#define __STDC_LIMIT_MACROS 1
+#endif
+
+#include <inttypes.h>
+typedef int8_t flex_int8_t;
+typedef uint8_t flex_uint8_t;
+typedef int16_t flex_int16_t;
+typedef uint16_t flex_uint16_t;
+typedef int32_t flex_int32_t;
+typedef uint32_t flex_uint32_t;
+#else
+typedef signed char flex_int8_t;
+typedef short int flex_int16_t;
+typedef int flex_int32_t;
+typedef unsigned char flex_uint8_t;
+typedef unsigned short int flex_uint16_t;
+typedef unsigned int flex_uint32_t;
+
+/* Limits of integral types. */
+#ifndef INT8_MIN
+#define INT8_MIN (-128)
+#endif
+#ifndef INT16_MIN
+#define INT16_MIN (-32767-1)
+#endif
+#ifndef INT32_MIN
+#define INT32_MIN (-2147483647-1)
+#endif
+#ifndef INT8_MAX
+#define INT8_MAX (127)
+#endif
+#ifndef INT16_MAX
+#define INT16_MAX (32767)
+#endif
+#ifndef INT32_MAX
+#define INT32_MAX (2147483647)
+#endif
+#ifndef UINT8_MAX
+#define UINT8_MAX (255U)
+#endif
+#ifndef UINT16_MAX
+#define UINT16_MAX (65535U)
+#endif
+#ifndef UINT32_MAX
+#define UINT32_MAX (4294967295U)
+#endif
+
+#endif /* ! C99 */
+
+#endif /* ! FLEXINT_H */
+
+#ifdef __cplusplus
+
+/* The "const" storage-class-modifier is valid. */
+#define YY_USE_CONST
+
+#else /* ! __cplusplus */
+
+/* C99 requires __STDC__ to be defined as 1. */
+#if defined (__STDC__)
+
+#define YY_USE_CONST
+
+#endif /* defined (__STDC__) */
+#endif /* ! __cplusplus */
+
+#ifdef YY_USE_CONST
+#define yyconst const
+#else
+#define yyconst
+#endif
+
+/* Returned upon end-of-file. */
+#define YY_NULL 0
+
+/* Promotes a possibly negative, possibly signed char to an unsigned
+ * integer for use as an array index. If the signed char is negative,
+ * we want to instead treat it as an 8-bit unsigned char, hence the
+ * double cast.
+ */
+#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
+
+/* Enter a start condition. This macro really ought to take a parameter,
+ * but we do it the disgusting crufty way forced on us by the ()-less
+ * definition of BEGIN.
+ */
+#define BEGIN (yy_start) = 1 + 2 *
+
+/* Translate the current start state into a value that can be later handed
+ * to BEGIN to return to the state. The YYSTATE alias is for lex
+ * compatibility.
+ */
+#define YY_START (((yy_start) - 1) / 2)
+#define YYSTATE YY_START
+
+/* Action number for EOF rule of a given start state. */
+#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
+
+/* Special action meaning "start processing a new file". */
+#define YY_NEW_FILE yyrestart(yyin )
+
+#define YY_END_OF_BUFFER_CHAR 0
+
+/* Size of default input buffer. */
+#ifndef YY_BUF_SIZE
+#define YY_BUF_SIZE 16384
+#endif
+
+/* The state buf must be large enough to hold one state per character in the main buffer.
+ */
+#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
+
+#ifndef YY_TYPEDEF_YY_BUFFER_STATE
+#define YY_TYPEDEF_YY_BUFFER_STATE
+typedef struct yy_buffer_state *YY_BUFFER_STATE;
+#endif
+
+#ifndef YY_TYPEDEF_YY_SIZE_T
+#define YY_TYPEDEF_YY_SIZE_T
+typedef size_t yy_size_t;
+#endif
+
+extern yy_size_t yyleng;
+
+extern FILE *yyin, *yyout;
+
+#define EOB_ACT_CONTINUE_SCAN 0
+#define EOB_ACT_END_OF_FILE 1
+#define EOB_ACT_LAST_MATCH 2
+
+ #define YY_LESS_LINENO(n)
+
+/* Return all but the first "n" matched characters back to the input stream. */
+#define yyless(n) \
+ do \
+ { \
+ /* Undo effects of setting up yytext. */ \
+ int yyless_macro_arg = (n); \
+ YY_LESS_LINENO(yyless_macro_arg);\
+ *yy_cp = (yy_hold_char); \
+ YY_RESTORE_YY_MORE_OFFSET \
+ (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
+ YY_DO_BEFORE_ACTION; /* set up yytext again */ \
+ } \
+ while ( 0 )
+
+#define unput(c) yyunput( c, (yytext_ptr) )
+
+#ifndef YY_STRUCT_YY_BUFFER_STATE
+#define YY_STRUCT_YY_BUFFER_STATE
+struct yy_buffer_state
+ {
+ FILE *yy_input_file;
+
+ char *yy_ch_buf; /* input buffer */
+ char *yy_buf_pos; /* current position in input buffer */
+
+ /* Size of input buffer in bytes, not including room for EOB
+ * characters.
+ */
+ yy_size_t yy_buf_size;
+
+ /* Number of characters read into yy_ch_buf, not including EOB
+ * characters.
+ */
+ yy_size_t yy_n_chars;
+
+ /* Whether we "own" the buffer - i.e., we know we created it,
+ * and can realloc() it to grow it, and should free() it to
+ * delete it.
+ */
+ int yy_is_our_buffer;
+
+ /* Whether this is an "interactive" input source; if so, and
+ * if we're using stdio for input, then we want to use getc()
+ * instead of fread(), to make sure we stop fetching input after
+ * each newline.
+ */
+ int yy_is_interactive;
+
+ /* Whether we're considered to be at the beginning of a line.
+ * If so, '^' rules will be active on the next match, otherwise
+ * not.
+ */
+ int yy_at_bol;
+
+ int yy_bs_lineno; /**< The line count. */
+ int yy_bs_column; /**< The column count. */
+
+ /* Whether to try to fill the input buffer when we reach the
+ * end of it.
+ */
+ int yy_fill_buffer;
+
+ int yy_buffer_status;
+
+#define YY_BUFFER_NEW 0
+#define YY_BUFFER_NORMAL 1
+ /* When an EOF's been seen but there's still some text to process
+ * then we mark the buffer as YY_EOF_PENDING, to indicate that we
+ * shouldn't try reading from the input source any more. We might
+ * still have a bunch of tokens to match, though, because of
+ * possible backing-up.
+ *
+ * When we actually see the EOF, we change the status to "new"
+ * (via yyrestart()), so that the user can continue scanning by
+ * just pointing yyin at a new input file.
+ */
+#define YY_BUFFER_EOF_PENDING 2
+
+ };
+#endif /* !YY_STRUCT_YY_BUFFER_STATE */
+
+/* Stack of input buffers. */
+static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
+static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
+static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
+
+/* We provide macros for accessing buffer states in case in the
+ * future we want to put the buffer states in a more general
+ * "scanner state".
+ *
+ * Returns the top of the stack, or NULL.
+ */
+#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
+ ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
+ : NULL)
+
+/* Same as previous macro, but useful when we know that the buffer stack is not
+ * NULL or when we need an lvalue. For internal use only.
+ */
+#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
+
+/* yy_hold_char holds the character lost when yytext is formed. */
+static char yy_hold_char;
+static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */
+yy_size_t yyleng;
+
+/* Points to current character in buffer. */
+static char *yy_c_buf_p = (char *) 0;
+static int yy_init = 0; /* whether we need to initialize */
+static int yy_start = 0; /* start state number */
+
+/* Flag which is used to allow yywrap()'s to do buffer switches
+ * instead of setting up a fresh yyin. A bit of a hack ...
+ */
+static int yy_did_buffer_switch_on_eof;
+
+void yyrestart (FILE *input_file );
+void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
+YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
+void yy_delete_buffer (YY_BUFFER_STATE b );
+void yy_flush_buffer (YY_BUFFER_STATE b );
+void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
+void yypop_buffer_state (void );
+
+static void yyensure_buffer_stack (void );
+static void yy_load_buffer_state (void );
+static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
+
+#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
+
+YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
+YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
+YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len );
+
+void *yyalloc (yy_size_t );
+void *yyrealloc (void *,yy_size_t );
+void yyfree (void * );
+
+#define yy_new_buffer yy_create_buffer
+
+#define yy_set_interactive(is_interactive) \
+ { \
+ if ( ! YY_CURRENT_BUFFER ){ \
+ yyensure_buffer_stack (); \
+ YY_CURRENT_BUFFER_LVALUE = \
+ yy_create_buffer(yyin,YY_BUF_SIZE ); \
+ } \
+ YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
+ }
+
+#define yy_set_bol(at_bol) \
+ { \
+ if ( ! YY_CURRENT_BUFFER ){\
+ yyensure_buffer_stack (); \
+ YY_CURRENT_BUFFER_LVALUE = \
+ yy_create_buffer(yyin,YY_BUF_SIZE ); \
+ } \
+ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
+ }
+
+#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
+
+/* Begin user sect3 */
+
+#define yywrap() 1
+#define YY_SKIP_YYWRAP
+
+typedef unsigned char YY_CHAR;
+
+FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
+
+typedef int yy_state_type;
+
+extern int yylineno;
+
+int yylineno = 1;
+
+extern char *yytext;
+#define yytext_ptr yytext
+
+static yy_state_type yy_get_previous_state (void );
+static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
+static int yy_get_next_buffer (void );
+static void yy_fatal_error (yyconst char msg[] );
+
+/* Done after the current pattern has been matched and before the
+ * corresponding action - sets up yytext.
+ */
+#define YY_DO_BEFORE_ACTION \
+ (yytext_ptr) = yy_bp; \
+ yyleng = (size_t) (yy_cp - yy_bp); \
+ (yy_hold_char) = *yy_cp; \
+ *yy_cp = '\0'; \
+ (yy_c_buf_p) = yy_cp;
+
+#define YY_NUM_RULES 5
+#define YY_END_OF_BUFFER 6
+/* This struct is not used in this scanner,
+ but its presence is necessary. */
+struct yy_trans_info
+ {
+ flex_int32_t yy_verify;
+ flex_int32_t yy_nxt;
+ };
+static yyconst flex_int16_t yy_accept[63] =
+ { 0,
+ 0, 0, 6, 5, 5, 5, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0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_t yy_meta[35] =
+ { 0,
+ 1, 1, 2, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1
+ } ;
+
+static yyconst flex_int16_t yy_base[66] =
+ { 0,
+ 0, 1, 111, 112, 90, 0, 104, 103, 102, 101,
+ 100, 99, 97, 96, 95, 95, 94, 93, 14, 3,
+ 3, 73, 72, 13, 74, 66, 70, 68, 6, 61,
+ 65, 66, 66, 60, 10, 8, 53, 35, 36, 31,
+ 0, 44, 41, 0, 112, 40, 44, 47, 112, 50,
+ 59, 11, 68, 112, 5, 72, 70, 73, 0, 4,
+ 112, 112, 83, 5, 0
+ } ;
+
+static yyconst flex_int16_t yy_def[66] =
+ { 0,
+ 63, 63, 62, 62, 62, 62, 62, 62, 62, 62,
+ 62, 62, 62, 62, 62, 62, 62, 62, 62, 62,
+ 62, 62, 62, 62, 62, 62, 62, 62, 62, 62,
+ 62, 62, 62, 62, 62, 62, 62, 62, 62, 62,
+ 64, 62, 64, 62, 62, 62, 62, 62, 62, 62,
+ 62, 62, 62, 62, 62, 62, 62, 62, 65, 65,
+ 62, 0, 62, 62, 62
+ } ;
+
+static yyconst flex_int16_t yy_nxt[147] =
+ { 0,
+ 60, 44, 45, 46, 44, 43, 61, 54, 8, 9,
+ 29, 29, 29, 40, 40, 40, 57, 5, 5, 6,
+ 6, 20, 20, 20, 21, 22, 23, 24, 25, 26,
+ 27, 30, 28, 34, 31, 41, 41, 41, 42, 42,
+ 42, 41, 45, 49, 35, 44, 45, 46, 44, 47,
+ 48, 50, 50, 50, 51, 51, 51, 52, 52, 52,
+ 53, 54, 55, 53, 41, 41, 56, 56, 56, 53,
+ 54, 55, 53, 53, 54, 55, 53, 58, 58, 58,
+ 59, 59, 59, 4, 4, 41, 41, 41, 41, 41,
+ 41, 39, 38, 37, 36, 33, 32, 19, 19, 19,
+
+ 18, 17, 16, 15, 14, 13, 12, 11, 10, 7,
+ 62, 3, 62, 62, 62, 62, 62, 62, 62, 62,
+ 62, 62, 62, 62, 62, 62, 62, 62, 62, 62,
+ 62, 62, 62, 62, 62, 62, 62, 62, 62, 62,
+ 62, 62, 62, 62, 62, 62
+ } ;
+
+static yyconst flex_int16_t yy_chk[147] =
+ { 0,
+ 65, 44, 44, 44, 44, 64, 60, 55, 6, 6,
+ 20, 20, 20, 29, 29, 29, 52, 1, 2, 1,
+ 2, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 21, 19, 24, 21, 35, 35, 36, 40, 40,
+ 40, 36, 46, 43, 24, 42, 42, 42, 42, 42,
+ 42, 47, 47, 47, 48, 48, 48, 50, 50, 50,
+ 51, 51, 51, 51, 39, 38, 51, 51, 51, 53,
+ 53, 53, 53, 56, 56, 56, 56, 57, 57, 57,
+ 58, 58, 58, 63, 63, 37, 34, 33, 32, 31,
+ 30, 28, 27, 26, 25, 23, 22, 18, 17, 16,
+
+ 15, 14, 13, 12, 11, 10, 9, 8, 7, 5,
+ 3, 62, 62, 62, 62, 62, 62, 62, 62, 62,
+ 62, 62, 62, 62, 62, 62, 62, 62, 62, 62,
+ 62, 62, 62, 62, 62, 62, 62, 62, 62, 62,
+ 62, 62, 62, 62, 62, 62
+ } ;
+
+static yy_state_type yy_last_accepting_state;
+static char *yy_last_accepting_cpos;
+
+extern int yy_flex_debug;
+int yy_flex_debug = 0;
+
+/* The intent behind this definition is that it'll catch
+ * any uses of REJECT which flex missed.
+ */
+#define REJECT reject_used_but_not_detected
+#define yymore() yymore_used_but_not_detected
+#define YY_MORE_ADJ 0
+#define YY_RESTORE_YY_MORE_OFFSET
+char *yytext;
+#line 1 "risDateAdj.ll"
+/* This is a lex(1) file, see http://dinosaur.compilertools.net/
+* or http://en.wikipedia.org/wiki/Lex_programming_tool .
+*
+* Compilation on UNIX systems is done by
+* make risDateAdj
+* On other systems one may need to call lex or flex and cc explicitly:
+* lex -8 -o risDateAdj.c risDateAdj.l
+* cc [-std=gnu99] [-s] [-O] -o risDateAdj risDateAdj.c -ll
+*
+* The executable works as a filter and patches the Y1, Y2 and PY fields of RIS
+* files (the standard input) from a
+* Apr., YYYY
+* type produced for example by JSTOR or a
+* YYYY-MM-DD
+* or a
+* YYYY
+* or a
+* YYYY/DD
+* type to the standard defined in http://www.refman.com/support/risformat_intro.asp .
+*
+* TODO:
+* ingentaconnect produces lines PY -- ///January 2009
+* which also fall into the category of faulty but recoverable inputs.
+* And this ought also be implemented.
+* Richard J. Mathar, 2009-02-11
+*/
+#line 30 "risDateAdj.ll"
+#include <strings.h>
+#include <sys/types.h>
+#include <regex.h>
+
+#define Y1PATCH_PMAT_SIZ 7
+
+regex_t preg1,
+ preg2 ,
+ preg3 ,
+ preg4 ;
+regmatch_t pmat[Y1PATCH_PMAT_SIZ] ;
+
+/* Fit monam month to integer in the range 1 to 12.
+* @return Return a number from 1 to 12 if the month is recognized, 0 if not.
+*/
+int name2Month(const char *monam)
+{
+ static const char *jan2dec[] = {"jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"} ;
+ for(int i=0; i < 12 ; i++)
+ if( strncasecmp(monam,jan2dec[i],3) == 0 )
+ return i+1 ;
+ return 0 ;
+}
+
+/* Generate a line YYY/MM/DD/otherinfo line on output.
+* @param tagline the original line, including the tag and the <CR></LF>
+*/
+void y1patch(const char *yytext)
+{
+ /* the original tag including the mandatory white space copied thru
+ */
+ fprintf(yyout,"%.6s",yytext) ;
+
+ if( regexec(&preg2,yytext+6,0,0,0) == 0 )
+ {
+ /* The ISO case. Replace dashes by slashes
+ */
+ fprintf(yyout,"%.4s/%.2s/%.2s/ %s",yytext+6,yytext+11,yytext+14,yytext+17) ;
+ }
+ else if( regexec(&preg1,yytext+6,Y1PATCH_PMAT_SIZ,pmat,0) == 0 )
+ {
+ /* pmat[0] all, pmat[1] the mont, pmat[2] any intermediate dots and blanks, pmat[3] the year.
+ */
+ int mon = name2Month(yytext+6) ;
+ int yr = atoi(yytext+6+pmat[3].rm_so) ;
+ if ( mon )
+ fprintf(yyout,"%d/%02d// ",yr,mon) ;
+ else
+ fprintf(yyout,"%d/// ",yr) ;
+
+ /* the original pattern plus any <CR><NL>
+ */
+ fprintf(yyout,"%s",yytext+6) ;
+ }
+ else if( regexec(&preg3,yytext+6,Y1PATCH_PMAT_SIZ,pmat,0) == 0 )
+ {
+ /* pmat[0] all, pmat[1] the mont, pmat[2] the date, pmat[3] the year.
+ */
+ int mon = name2Month(yytext+6) ;
+ int dat = atoi(yytext+6+pmat[2].rm_so) ;
+ int yr = atoi(yytext+6+pmat[3].rm_so) ;
+ if ( mon )
+ fprintf(yyout,"%d/%02d/%02d/ ",yr,mon,dat) ;
+ else
+ fprintf(yyout,"%d//%02d/ ",yr,dat) ;
+
+ /* the original pattern plus any <CR><NL>
+ */
+ fprintf(yyout,"%s",yytext+6) ;
+ }
+ else if( regexec(&preg4,yytext+6,Y1PATCH_PMAT_SIZ,pmat,0) == 0 )
+ {
+ int yr = atoi(yytext+6) ;
+ if ( pmat[1].rm_so >=0 )
+ {
+ int mon = atoi(yytext+6+pmat[1].rm_so+1) ;
+ fprintf(yyout,"%d/%02d//",yr,mon) ;
+ }
+ else
+ fprintf(yyout,"%d///",yr) ;
+
+ /* the original <CR><NL>
+ */
+ fprintf(yyout,"%s",yytext+6+pmat[0].rm_eo) ;
+ }
+ else
+ /* give up and copy through
+ */
+ fprintf(yyout,"%s",yytext+6) ;
+
+}
+#undef Y1PATCH_PMAT_SIZ
+
+/* the scanner ought be compiled with the "-i" flag to
+* trigger also on the various upper/lowercase variants of these patterns
+*/
+#line 627 "risDateAdj.cc"
+
+#define INITIAL 0
+
+#ifndef YY_NO_UNISTD_H
+/* Special case for "unistd.h", since it is non-ANSI. We include it way
+ * down here because we want the user's section 1 to have been scanned first.
+ * The user has a chance to override it with an option.
+ */
+#include <unistd.h>
+#endif
+
+#ifndef YY_EXTRA_TYPE
+#define YY_EXTRA_TYPE void *
+#endif
+
+static int yy_init_globals (void );
+
+/* Accessor methods to globals.
+ These are made visible to non-reentrant scanners for convenience. */
+
+int yylex_destroy (void );
+
+int yyget_debug (void );
+
+void yyset_debug (int debug_flag );
+
+YY_EXTRA_TYPE yyget_extra (void );
+
+void yyset_extra (YY_EXTRA_TYPE user_defined );
+
+FILE *yyget_in (void );
+
+void yyset_in (FILE * in_str );
+
+FILE *yyget_out (void );
+
+void yyset_out (FILE * out_str );
+
+yy_size_t yyget_leng (void );
+
+char *yyget_text (void );
+
+int yyget_lineno (void );
+
+void yyset_lineno (int line_number );
+
+/* Macros after this point can all be overridden by user definitions in
+ * section 1.
+ */
+
+#ifndef YY_SKIP_YYWRAP
+#ifdef __cplusplus
+extern "C" int yywrap (void );
+#else
+extern int yywrap (void );
+#endif
+#endif
+
+ static void yyunput (int c,char *buf_ptr );
+
+#ifndef yytext_ptr
+static void yy_flex_strncpy (char *,yyconst char *,int );
+#endif
+
+#ifdef YY_NEED_STRLEN
+static int yy_flex_strlen (yyconst char * );
+#endif
+
+#ifndef YY_NO_INPUT
+
+#ifdef __cplusplus
+static int yyinput (void );
+#else
+static int input (void );
+#endif
+
+#endif
+
+/* Amount of stuff to slurp up with each read. */
+#ifndef YY_READ_BUF_SIZE
+#define YY_READ_BUF_SIZE 8192
+#endif
+
+/* Copy whatever the last rule matched to the standard output. */
+#ifndef ECHO
+/* This used to be an fputs(), but since the string might contain NUL's,
+ * we now use fwrite().
+ */
+#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
+#endif
+
+/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
+ * is returned in "result".
+ */
+#ifndef YY_INPUT
+#define YY_INPUT(buf,result,max_size) \
+ if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
+ { \
+ int c = '*'; \
+ size_t n; \
+ for ( n = 0; n < max_size && \
+ (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
+ buf[n] = (char) c; \
+ if ( c == '\n' ) \
+ buf[n++] = (char) c; \
+ if ( c == EOF && ferror( yyin ) ) \
+ YY_FATAL_ERROR( "input in flex scanner failed" ); \
+ result = n; \
+ } \
+ else \
+ { \
+ errno=0; \
+ while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
+ { \
+ if( errno != EINTR) \
+ { \
+ YY_FATAL_ERROR( "input in flex scanner failed" ); \
+ break; \
+ } \
+ errno=0; \
+ clearerr(yyin); \
+ } \
+ }\
+\
+
+#endif
+
+/* No semi-colon after return; correct usage is to write "yyterminate();" -
+ * we don't want an extra ';' after the "return" because that will cause
+ * some compilers to complain about unreachable statements.
+ */
+#ifndef yyterminate
+#define yyterminate() return YY_NULL
+#endif
+
+/* Number of entries by which start-condition stack grows. */
+#ifndef YY_START_STACK_INCR
+#define YY_START_STACK_INCR 25
+#endif
+
+/* Report a fatal error. */
+#ifndef YY_FATAL_ERROR
+#define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
+#endif
+
+/* end tables serialization structures and prototypes */
+
+/* Default declaration of generated scanner - a define so the user can
+ * easily add parameters.
+ */
+#ifndef YY_DECL
+#define YY_DECL_IS_OURS 1
+
+extern int yylex (void);
+
+#define YY_DECL int yylex (void)
+#endif /* !YY_DECL */
+
+/* Code executed at the beginning of each rule, after yytext and yyleng
+ * have been set up.
+ */
+#ifndef YY_USER_ACTION
+#define YY_USER_ACTION
+#endif
+
+/* Code executed at the end of each rule. */
+#ifndef YY_BREAK
+#define YY_BREAK break;
+#endif
+
+#define YY_RULE_SETUP \
+ YY_USER_ACTION
+
+/** The main scanner function which does all the work.
+ */
+YY_DECL
+{
+ register yy_state_type yy_current_state;
+ register char *yy_cp, *yy_bp;
+ register int yy_act;
+
+#line 133 "risDateAdj.ll"
+
+
+ /* Lines which look correct are copied trough as they are.
+ * This means they contain no 3-letter mont acronyms as substrings.
+ */
+
+ /* If the tag is immediately followed by one of the TLA (three-letter
+ * acronyms above), or looks like an ISO date we try conversion.
+ */
+#line 819 "risDateAdj.cc"
+
+ if ( !(yy_init) )
+ {
+ (yy_init) = 1;
+
+#ifdef YY_USER_INIT
+ YY_USER_INIT;
+#endif
+
+ if ( ! (yy_start) )
+ (yy_start) = 1; /* first start state */
+
+ if ( ! yyin )
+ yyin = stdin;
+
+ if ( ! yyout )
+ yyout = stdout;
+
+ if ( ! YY_CURRENT_BUFFER ) {
+ yyensure_buffer_stack ();
+ YY_CURRENT_BUFFER_LVALUE =
+ yy_create_buffer(yyin,YY_BUF_SIZE );
+ }
+
+ yy_load_buffer_state( );
+ }
+
+ while ( 1 ) /* loops until end-of-file is reached */
+ {
+ yy_cp = (yy_c_buf_p);
+
+ /* Support of yytext. */
+ *yy_cp = (yy_hold_char);
+
+ /* yy_bp points to the position in yy_ch_buf of the start of
+ * the current run.
+ */
+ yy_bp = yy_cp;
+
+ yy_current_state = (yy_start);
+yy_match:
+ do
+ {
+ register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
+ if ( yy_accept[yy_current_state] )
+ {
+ (yy_last_accepting_state) = yy_current_state;
+ (yy_last_accepting_cpos) = yy_cp;
+ }
+ while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
+ {
+ yy_current_state = (int) yy_def[yy_current_state];
+ if ( yy_current_state >= 63 )
+ yy_c = yy_meta[(unsigned int) yy_c];
+ }
+ yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
+ ++yy_cp;
+ }
+ while ( yy_base[yy_current_state] != 112 );
+
+yy_find_action:
+ yy_act = yy_accept[yy_current_state];
+ if ( yy_act == 0 )
+ { /* have to back up */
+ yy_cp = (yy_last_accepting_cpos);
+ yy_current_state = (yy_last_accepting_state);
+ yy_act = yy_accept[yy_current_state];
+ }
+
+ YY_DO_BEFORE_ACTION;
+
+do_action: /* This label is used only to access EOF actions. */
+
+ switch ( yy_act )
+ { /* beginning of action switch */
+ case 0: /* must back up */
+ /* undo the effects of YY_DO_BEFORE_ACTION */
+ *yy_cp = (yy_hold_char);
+ yy_cp = (yy_last_accepting_cpos);
+ yy_current_state = (yy_last_accepting_state);
+ goto yy_find_action;
+
+case 1:
+/* rule 1 can match eol */
+#line 143 "risDateAdj.ll"
+case 2:
+/* rule 2 can match eol */
+#line 144 "risDateAdj.ll"
+case 3:
+/* rule 3 can match eol */
+#line 145 "risDateAdj.ll"
+case 4:
+/* rule 4 can match eol */
+YY_RULE_SETUP
+#line 145 "risDateAdj.ll"
+{
+
+ /* debugging
+ * printf("%d\n",__LINE__) ;
+ */
+ y1patch(yytext) ;
+ }
+ YY_BREAK
+case 5:
+YY_RULE_SETUP
+#line 154 "risDateAdj.ll"
+ECHO;
+ YY_BREAK
+#line 928 "risDateAdj.cc"
+case YY_STATE_EOF(INITIAL):
+ yyterminate();
+
+ case YY_END_OF_BUFFER:
+ {
+ /* Amount of text matched not including the EOB char. */
+ int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
+
+ /* Undo the effects of YY_DO_BEFORE_ACTION. */
+ *yy_cp = (yy_hold_char);
+ YY_RESTORE_YY_MORE_OFFSET
+
+ if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
+ {
+ /* We're scanning a new file or input source. It's
+ * possible that this happened because the user
+ * just pointed yyin at a new source and called
+ * yylex(). If so, then we have to assure
+ * consistency between YY_CURRENT_BUFFER and our
+ * globals. Here is the right place to do so, because
+ * this is the first action (other than possibly a
+ * back-up) that will match for the new input source.
+ */
+ (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
+ YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
+ YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
+ }
+
+ /* Note that here we test for yy_c_buf_p "<=" to the position
+ * of the first EOB in the buffer, since yy_c_buf_p will
+ * already have been incremented past the NUL character
+ * (since all states make transitions on EOB to the
+ * end-of-buffer state). Contrast this with the test
+ * in input().
+ */
+ if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
+ { /* This was really a NUL. */
+ yy_state_type yy_next_state;
+
+ (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
+
+ yy_current_state = yy_get_previous_state( );
+
+ /* Okay, we're now positioned to make the NUL
+ * transition. We couldn't have
+ * yy_get_previous_state() go ahead and do it
+ * for us because it doesn't know how to deal
+ * with the possibility of jamming (and we don't
+ * want to build jamming into it because then it
+ * will run more slowly).
+ */
+
+ yy_next_state = yy_try_NUL_trans( yy_current_state );
+
+ yy_bp = (yytext_ptr) + YY_MORE_ADJ;
+
+ if ( yy_next_state )
+ {
+ /* Consume the NUL. */
+ yy_cp = ++(yy_c_buf_p);
+ yy_current_state = yy_next_state;
+ goto yy_match;
+ }
+
+ else
+ {
+ yy_cp = (yy_c_buf_p);
+ goto yy_find_action;
+ }
+ }
+
+ else switch ( yy_get_next_buffer( ) )
+ {
+ case EOB_ACT_END_OF_FILE:
+ {
+ (yy_did_buffer_switch_on_eof) = 0;
+
+ if ( yywrap( ) )
+ {
+ /* Note: because we've taken care in
+ * yy_get_next_buffer() to have set up
+ * yytext, we can now set up
+ * yy_c_buf_p so that if some total
+ * hoser (like flex itself) wants to
+ * call the scanner after we return the
+ * YY_NULL, it'll still work - another
+ * YY_NULL will get returned.
+ */
+ (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
+
+ yy_act = YY_STATE_EOF(YY_START);
+ goto do_action;
+ }
+
+ else
+ {
+ if ( ! (yy_did_buffer_switch_on_eof) )
+ YY_NEW_FILE;
+ }
+ break;
+ }
+
+ case EOB_ACT_CONTINUE_SCAN:
+ (yy_c_buf_p) =
+ (yytext_ptr) + yy_amount_of_matched_text;
+
+ yy_current_state = yy_get_previous_state( );
+
+ yy_cp = (yy_c_buf_p);
+ yy_bp = (yytext_ptr) + YY_MORE_ADJ;
+ goto yy_match;
+
+ case EOB_ACT_LAST_MATCH:
+ (yy_c_buf_p) =
+ &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
+
+ yy_current_state = yy_get_previous_state( );
+
+ yy_cp = (yy_c_buf_p);
+ yy_bp = (yytext_ptr) + YY_MORE_ADJ;
+ goto yy_find_action;
+ }
+ break;
+ }
+
+ default:
+ YY_FATAL_ERROR(
+ "fatal flex scanner internal error--no action found" );
+ } /* end of action switch */
+ } /* end of scanning one token */
+} /* end of yylex */
+
+/* yy_get_next_buffer - try to read in a new buffer
+ *
+ * Returns a code representing an action:
+ * EOB_ACT_LAST_MATCH -
+ * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
+ * EOB_ACT_END_OF_FILE - end of file
+ */
+static int yy_get_next_buffer (void)
+{
+ register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
+ register char *source = (yytext_ptr);
+ register int number_to_move, i;
+ int ret_val;
+
+ if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
+ YY_FATAL_ERROR(
+ "fatal flex scanner internal error--end of buffer missed" );
+
+ if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
+ { /* Don't try to fill the buffer, so this is an EOF. */
+ if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
+ {
+ /* We matched a single character, the EOB, so
+ * treat this as a final EOF.
+ */
+ return EOB_ACT_END_OF_FILE;
+ }
+
+ else
+ {
+ /* We matched some text prior to the EOB, first
+ * process it.
+ */
+ return EOB_ACT_LAST_MATCH;
+ }
+ }
+
+ /* Try to read more data. */
+
+ /* First move last chars to start of buffer. */
+ number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
+
+ for ( i = 0; i < number_to_move; ++i )
+ *(dest++) = *(source++);
+
+ if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
+ /* don't do the read, it's not guaranteed to return an EOF,
+ * just force an EOF
+ */
+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
+
+ else
+ {
+ yy_size_t num_to_read =
+ YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
+
+ while ( num_to_read <= 0 )
+ { /* Not enough room in the buffer - grow it. */
+
+ /* just a shorter name for the current buffer */
+ YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE;
+
+ int yy_c_buf_p_offset =
+ (int) ((yy_c_buf_p) - b->yy_ch_buf);
+
+ if ( b->yy_is_our_buffer )
+ {
+ yy_size_t new_size = b->yy_buf_size * 2;
+
+ if ( new_size <= 0 )
+ b->yy_buf_size += b->yy_buf_size / 8;
+ else
+ b->yy_buf_size *= 2;
+
+ b->yy_ch_buf = (char *)
+ /* Include room in for 2 EOB chars. */
+ yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 );
+ }
+ else
+ /* Can't grow it, we don't own it. */
+ b->yy_ch_buf = 0;
+
+ if ( ! b->yy_ch_buf )
+ YY_FATAL_ERROR(
+ "fatal error - scanner input buffer overflow" );
+
+ (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset];
+
+ num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
+ number_to_move - 1;
+
+ }
+
+ if ( num_to_read > YY_READ_BUF_SIZE )
+ num_to_read = YY_READ_BUF_SIZE;
+
+ /* Read in more data. */
+ YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
+ (yy_n_chars), num_to_read );
+
+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
+ }
+
+ if ( (yy_n_chars) == 0 )
+ {
+ if ( number_to_move == YY_MORE_ADJ )
+ {
+ ret_val = EOB_ACT_END_OF_FILE;
+ yyrestart(yyin );
+ }
+
+ else
+ {
+ ret_val = EOB_ACT_LAST_MATCH;
+ YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
+ YY_BUFFER_EOF_PENDING;
+ }
+ }
+
+ else
+ ret_val = EOB_ACT_CONTINUE_SCAN;
+
+ if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
+ /* Extend the array by 50%, plus the number we really need. */
+ yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
+ YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
+ if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
+ YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
+ }
+
+ (yy_n_chars) += number_to_move;
+ YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
+ YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
+
+ (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
+
+ return ret_val;
+}
+
+/* yy_get_previous_state - get the state just before the EOB char was reached */
+
+ static yy_state_type yy_get_previous_state (void)
+{
+ register yy_state_type yy_current_state;
+ register char *yy_cp;
+
+ yy_current_state = (yy_start);
+
+ for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
+ {
+ register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
+ if ( yy_accept[yy_current_state] )
+ {
+ (yy_last_accepting_state) = yy_current_state;
+ (yy_last_accepting_cpos) = yy_cp;
+ }
+ while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
+ {
+ yy_current_state = (int) yy_def[yy_current_state];
+ if ( yy_current_state >= 63 )
+ yy_c = yy_meta[(unsigned int) yy_c];
+ }
+ yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
+ }
+
+ return yy_current_state;
+}
+
+/* yy_try_NUL_trans - try to make a transition on the NUL character
+ *
+ * synopsis
+ * next_state = yy_try_NUL_trans( current_state );
+ */
+ static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
+{
+ register int yy_is_jam;
+ register char *yy_cp = (yy_c_buf_p);
+
+ register YY_CHAR yy_c = 1;
+ if ( yy_accept[yy_current_state] )
+ {
+ (yy_last_accepting_state) = yy_current_state;
+ (yy_last_accepting_cpos) = yy_cp;
+ }
+ while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
+ {
+ yy_current_state = (int) yy_def[yy_current_state];
+ if ( yy_current_state >= 63 )
+ yy_c = yy_meta[(unsigned int) yy_c];
+ }
+ yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
+ yy_is_jam = (yy_current_state == 62);
+
+ return yy_is_jam ? 0 : yy_current_state;
+}
+
+ static void yyunput (int c, register char * yy_bp )
+{
+ register char *yy_cp;
+
+ yy_cp = (yy_c_buf_p);
+
+ /* undo effects of setting up yytext */
+ *yy_cp = (yy_hold_char);
+
+ if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
+ { /* need to shift things up to make room */
+ /* +2 for EOB chars. */
+ register yy_size_t number_to_move = (yy_n_chars) + 2;
+ register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
+ YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
+ register char *source =
+ &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
+
+ while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
+ *--dest = *--source;
+
+ yy_cp += (int) (dest - source);
+ yy_bp += (int) (dest - source);
+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
+ (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
+
+ if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
+ YY_FATAL_ERROR( "flex scanner push-back overflow" );
+ }
+
+ *--yy_cp = (char) c;
+
+ (yytext_ptr) = yy_bp;
+ (yy_hold_char) = *yy_cp;
+ (yy_c_buf_p) = yy_cp;
+}
+
+#ifndef YY_NO_INPUT
+#ifdef __cplusplus
+ static int yyinput (void)
+#else
+ static int input (void)
+#endif
+
+{
+ int c;
+
+ *(yy_c_buf_p) = (yy_hold_char);
+
+ if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
+ {
+ /* yy_c_buf_p now points to the character we want to return.
+ * If this occurs *before* the EOB characters, then it's a
+ * valid NUL; if not, then we've hit the end of the buffer.
+ */
+ if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
+ /* This was really a NUL. */
+ *(yy_c_buf_p) = '\0';
+
+ else
+ { /* need more input */
+ yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
+ ++(yy_c_buf_p);
+
+ switch ( yy_get_next_buffer( ) )
+ {
+ case EOB_ACT_LAST_MATCH:
+ /* This happens because yy_g_n_b()
+ * sees that we've accumulated a
+ * token and flags that we need to
+ * try matching the token before
+ * proceeding. But for input(),
+ * there's no matching to consider.
+ * So convert the EOB_ACT_LAST_MATCH
+ * to EOB_ACT_END_OF_FILE.
+ */
+
+ /* Reset buffer status. */
+ yyrestart(yyin );
+
+ /*FALLTHROUGH*/
+
+ case EOB_ACT_END_OF_FILE:
+ {
+ if ( yywrap( ) )
+ return EOF;
+
+ if ( ! (yy_did_buffer_switch_on_eof) )
+ YY_NEW_FILE;
+#ifdef __cplusplus
+ return yyinput();
+#else
+ return input();
+#endif
+ }
+
+ case EOB_ACT_CONTINUE_SCAN:
+ (yy_c_buf_p) = (yytext_ptr) + offset;
+ break;
+ }
+ }
+ }
+
+ c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
+ *(yy_c_buf_p) = '\0'; /* preserve yytext */
+ (yy_hold_char) = *++(yy_c_buf_p);
+
+ return c;
+}
+#endif /* ifndef YY_NO_INPUT */
+
+/** Immediately switch to a different input stream.
+ * @param input_file A readable stream.
+ *
+ * @note This function does not reset the start condition to @c INITIAL .
+ */
+ void yyrestart (FILE * input_file )
+{
+
+ if ( ! YY_CURRENT_BUFFER ){
+ yyensure_buffer_stack ();
+ YY_CURRENT_BUFFER_LVALUE =
+ yy_create_buffer(yyin,YY_BUF_SIZE );
+ }
+
+ yy_init_buffer(YY_CURRENT_BUFFER,input_file );
+ yy_load_buffer_state( );
+}
+
+/** Switch to a different input buffer.
+ * @param new_buffer The new input buffer.
+ *
+ */
+ void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
+{
+
+ /* TODO. We should be able to replace this entire function body
+ * with
+ * yypop_buffer_state();
+ * yypush_buffer_state(new_buffer);
+ */
+ yyensure_buffer_stack ();
+ if ( YY_CURRENT_BUFFER == new_buffer )
+ return;
+
+ if ( YY_CURRENT_BUFFER )
+ {
+ /* Flush out information for old buffer. */
+ *(yy_c_buf_p) = (yy_hold_char);
+ YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
+ }
+
+ YY_CURRENT_BUFFER_LVALUE = new_buffer;
+ yy_load_buffer_state( );
+
+ /* We don't actually know whether we did this switch during
+ * EOF (yywrap()) processing, but the only time this flag
+ * is looked at is after yywrap() is called, so it's safe
+ * to go ahead and always set it.
+ */
+ (yy_did_buffer_switch_on_eof) = 1;
+}
+
+static void yy_load_buffer_state (void)
+{
+ (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
+ (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
+ yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
+ (yy_hold_char) = *(yy_c_buf_p);
+}
+
+/** Allocate and initialize an input buffer state.
+ * @param file A readable stream.
+ * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
+ *
+ * @return the allocated buffer state.
+ */
+ YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
+{
+ YY_BUFFER_STATE b;
+
+ b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
+ if ( ! b )
+ YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
+
+ b->yy_buf_size = size;
+
+ /* yy_ch_buf has to be 2 characters longer than the size given because
+ * we need to put in 2 end-of-buffer characters.
+ */
+ b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
+ if ( ! b->yy_ch_buf )
+ YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
+
+ b->yy_is_our_buffer = 1;
+
+ yy_init_buffer(b,file );
+
+ return b;
+}
+
+/** Destroy the buffer.
+ * @param b a buffer created with yy_create_buffer()
+ *
+ */
+ void yy_delete_buffer (YY_BUFFER_STATE b )
+{
+
+ if ( ! b )
+ return;
+
+ if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
+ YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
+
+ if ( b->yy_is_our_buffer )
+ yyfree((void *) b->yy_ch_buf );
+
+ yyfree((void *) b );
+}
+
+/* Initializes or reinitializes a buffer.
+ * This function is sometimes called more than once on the same buffer,
+ * such as during a yyrestart() or at EOF.
+ */
+ static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
+
+{
+ int oerrno = errno;
+
+ yy_flush_buffer(b );
+
+ b->yy_input_file = file;
+ b->yy_fill_buffer = 1;
+
+ /* If b is the current buffer, then yy_init_buffer was _probably_
+ * called from yyrestart() or through yy_get_next_buffer.
+ * In that case, we don't want to reset the lineno or column.
+ */
+ if (b != YY_CURRENT_BUFFER){
+ b->yy_bs_lineno = 1;
+ b->yy_bs_column = 0;
+ }
+
+ b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
+
+ errno = oerrno;
+}
+
+/** Discard all buffered characters. On the next scan, YY_INPUT will be called.
+ * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
+ *
+ */
+ void yy_flush_buffer (YY_BUFFER_STATE b )
+{
+ if ( ! b )
+ return;
+
+ b->yy_n_chars = 0;
+
+ /* We always need two end-of-buffer characters. The first causes
+ * a transition to the end-of-buffer state. The second causes
+ * a jam in that state.
+ */
+ b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
+ b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
+
+ b->yy_buf_pos = &b->yy_ch_buf[0];
+
+ b->yy_at_bol = 1;
+ b->yy_buffer_status = YY_BUFFER_NEW;
+
+ if ( b == YY_CURRENT_BUFFER )
+ yy_load_buffer_state( );
+}
+
+/** Pushes the new state onto the stack. The new state becomes
+ * the current state. This function will allocate the stack
+ * if necessary.
+ * @param new_buffer The new state.
+ *
+ */
+void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
+{
+ if (new_buffer == NULL)
+ return;
+
+ yyensure_buffer_stack();
+
+ /* This block is copied from yy_switch_to_buffer. */
+ if ( YY_CURRENT_BUFFER )
+ {
+ /* Flush out information for old buffer. */
+ *(yy_c_buf_p) = (yy_hold_char);
+ YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
+ }
+
+ /* Only push if top exists. Otherwise, replace top. */
+ if (YY_CURRENT_BUFFER)
+ (yy_buffer_stack_top)++;
+ YY_CURRENT_BUFFER_LVALUE = new_buffer;
+
+ /* copied from yy_switch_to_buffer. */
+ yy_load_buffer_state( );
+ (yy_did_buffer_switch_on_eof) = 1;
+}
+
+/** Removes and deletes the top of the stack, if present.
+ * The next element becomes the new top.
+ *
+ */
+void yypop_buffer_state (void)
+{
+ if (!YY_CURRENT_BUFFER)
+ return;
+
+ yy_delete_buffer(YY_CURRENT_BUFFER );
+ YY_CURRENT_BUFFER_LVALUE = NULL;
+ if ((yy_buffer_stack_top) > 0)
+ --(yy_buffer_stack_top);
+
+ if (YY_CURRENT_BUFFER) {
+ yy_load_buffer_state( );
+ (yy_did_buffer_switch_on_eof) = 1;
+ }
+}
+
+/* Allocates the stack if it does not exist.
+ * Guarantees space for at least one push.
+ */
+static void yyensure_buffer_stack (void)
+{
+ yy_size_t num_to_alloc;
+
+ if (!(yy_buffer_stack)) {
+
+ /* First allocation is just for 2 elements, since we don't know if this
+ * scanner will even need a stack. We use 2 instead of 1 to avoid an
+ * immediate realloc on the next call.
+ */
+ num_to_alloc = 1;
+ (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
+ (num_to_alloc * sizeof(struct yy_buffer_state*)
+ );
+ if ( ! (yy_buffer_stack) )
+ YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
+
+ memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
+
+ (yy_buffer_stack_max) = num_to_alloc;
+ (yy_buffer_stack_top) = 0;
+ return;
+ }
+
+ if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
+
+ /* Increase the buffer to prepare for a possible push. */
+ int grow_size = 8 /* arbitrary grow size */;
+
+ num_to_alloc = (yy_buffer_stack_max) + grow_size;
+ (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
+ ((yy_buffer_stack),
+ num_to_alloc * sizeof(struct yy_buffer_state*)
+ );
+ if ( ! (yy_buffer_stack) )
+ YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
+
+ /* zero only the new slots.*/
+ memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
+ (yy_buffer_stack_max) = num_to_alloc;
+ }
+}
+
+/** Setup the input buffer state to scan directly from a user-specified character buffer.
+ * @param base the character buffer
+ * @param size the size in bytes of the character buffer
+ *
+ * @return the newly allocated buffer state object.
+ */
+YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
+{
+ YY_BUFFER_STATE b;
+
+ if ( size < 2 ||
+ base[size-2] != YY_END_OF_BUFFER_CHAR ||
+ base[size-1] != YY_END_OF_BUFFER_CHAR )
+ /* They forgot to leave room for the EOB's. */
+ return 0;
+
+ b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
+ if ( ! b )
+ YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
+
+ b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
+ b->yy_buf_pos = b->yy_ch_buf = base;
+ b->yy_is_our_buffer = 0;
+ b->yy_input_file = 0;
+ b->yy_n_chars = b->yy_buf_size;
+ b->yy_is_interactive = 0;
+ b->yy_at_bol = 1;
+ b->yy_fill_buffer = 0;
+ b->yy_buffer_status = YY_BUFFER_NEW;
+
+ yy_switch_to_buffer(b );
+
+ return b;
+}
+
+/** Setup the input buffer state to scan a string. The next call to yylex() will
+ * scan from a @e copy of @a str.
+ * @param yystr a NUL-terminated string to scan
+ *
+ * @return the newly allocated buffer state object.
+ * @note If you want to scan bytes that may contain NUL values, then use
+ * yy_scan_bytes() instead.
+ */
+YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
+{
+
+ return yy_scan_bytes(yystr,strlen(yystr) );
+}
+
+/** Setup the input buffer state to scan the given bytes. The next call to yylex() will
+ * scan from a @e copy of @a bytes.
+ * @param yybytes the byte buffer to scan
+ * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
+ *
+ * @return the newly allocated buffer state object.
+ */
+YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len )
+{
+ YY_BUFFER_STATE b;
+ char *buf;
+ yy_size_t n;
+ int i;
+
+ /* Get memory for full buffer, including space for trailing EOB's. */
+ n = _yybytes_len + 2;
+ buf = (char *) yyalloc(n );
+ if ( ! buf )
+ YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
+
+ for ( i = 0; i < _yybytes_len; ++i )
+ buf[i] = yybytes[i];
+
+ buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
+
+ b = yy_scan_buffer(buf,n );
+ if ( ! b )
+ YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
+
+ /* It's okay to grow etc. this buffer, and we should throw it
+ * away when we're done.
+ */
+ b->yy_is_our_buffer = 1;
+
+ return b;
+}
+
+#ifndef YY_EXIT_FAILURE
+#define YY_EXIT_FAILURE 2
+#endif
+
+static void yy_fatal_error (yyconst char* msg )
+{
+ (void) fprintf( stderr, "%s\n", msg );
+ exit( YY_EXIT_FAILURE );
+}
+
+/* Redefine yyless() so it works in section 3 code. */
+
+#undef yyless
+#define yyless(n) \
+ do \
+ { \
+ /* Undo effects of setting up yytext. */ \
+ int yyless_macro_arg = (n); \
+ YY_LESS_LINENO(yyless_macro_arg);\
+ yytext[yyleng] = (yy_hold_char); \
+ (yy_c_buf_p) = yytext + yyless_macro_arg; \
+ (yy_hold_char) = *(yy_c_buf_p); \
+ *(yy_c_buf_p) = '\0'; \
+ yyleng = yyless_macro_arg; \
+ } \
+ while ( 0 )
+
+/* Accessor methods (get/set functions) to struct members. */
+
+/** Get the current line number.
+ *
+ */
+int yyget_lineno (void)
+{
+
+ return yylineno;
+}
+
+/** Get the input stream.
+ *
+ */
+FILE *yyget_in (void)
+{
+ return yyin;
+}
+
+/** Get the output stream.
+ *
+ */
+FILE *yyget_out (void)
+{
+ return yyout;
+}
+
+/** Get the length of the current token.
+ *
+ */
+yy_size_t yyget_leng (void)
+{
+ return yyleng;
+}
+
+/** Get the current token.
+ *
+ */
+
+char *yyget_text (void)
+{
+ return yytext;
+}
+
+/** Set the current line number.
+ * @param line_number
+ *
+ */
+void yyset_lineno (int line_number )
+{
+
+ yylineno = line_number;
+}
+
+/** Set the input stream. This does not discard the current
+ * input buffer.
+ * @param in_str A readable stream.
+ *
+ * @see yy_switch_to_buffer
+ */
+void yyset_in (FILE * in_str )
+{
+ yyin = in_str ;
+}
+
+void yyset_out (FILE * out_str )
+{
+ yyout = out_str ;
+}
+
+int yyget_debug (void)
+{
+ return yy_flex_debug;
+}
+
+void yyset_debug (int bdebug )
+{
+ yy_flex_debug = bdebug ;
+}
+
+static int yy_init_globals (void)
+{
+ /* Initialization is the same as for the non-reentrant scanner.
+ * This function is called from yylex_destroy(), so don't allocate here.
+ */
+
+ (yy_buffer_stack) = 0;
+ (yy_buffer_stack_top) = 0;
+ (yy_buffer_stack_max) = 0;
+ (yy_c_buf_p) = (char *) 0;
+ (yy_init) = 0;
+ (yy_start) = 0;
+
+/* Defined in main.c */
+#ifdef YY_STDINIT
+ yyin = stdin;
+ yyout = stdout;
+#else
+ yyin = (FILE *) 0;
+ yyout = (FILE *) 0;
+#endif
+
+ /* For future reference: Set errno on error, since we are called by
+ * yylex_init()
+ */
+ return 0;
+}
+
+/* yylex_destroy is for both reentrant and non-reentrant scanners. */
+int yylex_destroy (void)
+{
+
+ /* Pop the buffer stack, destroying each element. */
+ while(YY_CURRENT_BUFFER){
+ yy_delete_buffer(YY_CURRENT_BUFFER );
+ YY_CURRENT_BUFFER_LVALUE = NULL;
+ yypop_buffer_state();
+ }
+
+ /* Destroy the stack itself. */
+ yyfree((yy_buffer_stack) );
+ (yy_buffer_stack) = NULL;
+
+ /* Reset the globals. This is important in a non-reentrant scanner so the next time
+ * yylex() is called, initialization will occur. */
+ yy_init_globals( );
+
+ return 0;
+}
+
+/*
+ * Internal utility routines.
+ */
+
+#ifndef yytext_ptr
+static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
+{
+ register int i;
+ for ( i = 0; i < n; ++i )
+ s1[i] = s2[i];
+}
+#endif
+
+#ifdef YY_NEED_STRLEN
+static int yy_flex_strlen (yyconst char * s )
+{
+ register int n;
+ for ( n = 0; s[n]; ++n )
+ ;
+
+ return n;
+}
+#endif
+
+void *yyalloc (yy_size_t size )
+{
+ return (void *) malloc( size );
+}
+
+void *yyrealloc (void * ptr, yy_size_t size )
+{
+ /* The cast to (char *) in the following accommodates both
+ * implementations that use char* generic pointers, and those
+ * that use void* generic pointers. It works with the latter
+ * because both ANSI C and C++ allow castless assignment from
+ * any pointer type to void*, and deal with argument conversions
+ * as though doing an assignment.
+ */
+ return (void *) realloc( (char *) ptr, size );
+}
+
+void yyfree (void * ptr )
+{
+ free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
+}
+
+#define YYTABLES_NAME "yytables"
+
+#line 154 "risDateAdj.ll"
+
+
+int main(int argc, char *argv[])
+{
+ /* preg1: at least three characters (matching months supposedly)
+ * followed by any comma, dot and white space, and the year
+ */
+ int stat =regcomp(&preg1,
+ "\\([[:alpha:]]\\{3,\\}\\)\\([[:space:],\\./]*\\)\\([[:digit:]]\\{4\\}\\)\\(.*\\)", REG_ICASE) ;
+ if ( stat )
+ fprintf(stderr,"line %d - Internal error %d\n",__LINE__,stat) ;
+
+ /* preg2: the ISO YYYY-MM-DD format
+ */
+ stat =regcomp(&preg2, "[[:digit:]]\\{4\\}-[[:digit:]]\\{2\\}-[[:digit:]]\\{2\\}.*", REG_ICASE) ;
+ if ( stat )
+ fprintf(stderr,"line %d - Internal error %d\n",__LINE__,stat) ;
+
+ /* preg3: the fullmontname 1-or-2digit-date, 4-digityear
+ */
+ stat =regcomp(&preg3,
+ "\\([[:alpha:]]\\{3,\\}\\) \\([[:digit:]]\\{1,2\\}\\)[ ,]*\\([[:digit:]]\\{4\\}\\).*", REG_ICASE) ;
+ if ( stat )
+ fprintf(stderr,"line %d - Internal error %d\n",__LINE__,stat) ;
+
+ /* preg4: a sole 4-digit year, optionally with a slash and 2-digit month
+ */
+ stat =regcomp(&preg4, "[[:digit:]]{4}(/[[:digit:]]{1,2})?[[:blank:]]*", REG_ICASE|REG_EXTENDED) ;
+ if ( stat )
+ fprintf(stderr,"line %d - Internal error %d\n",__LINE__,stat) ;
+
+ yylex() ;
+ regfree(& preg4) ;
+ regfree(& preg3) ;
+ regfree(& preg2) ;
+ regfree(& preg1) ;
+ return 0 ;
+}
+
diff --git a/biblio/bibtex/utils/r2bib/risDateAdj.ll b/biblio/bibtex/utils/r2bib/risDateAdj.ll
new file mode 100644
index 0000000000..5bef2c8f5f
--- /dev/null
+++ b/biblio/bibtex/utils/r2bib/risDateAdj.ll
@@ -0,0 +1,190 @@
+ /* This is a lex(1) file, see http://dinosaur.compilertools.net/
+ * or http://en.wikipedia.org/wiki/Lex_programming_tool .
+ *
+ * Compilation on UNIX systems is done by
+ * make risDateAdj
+ * On other systems one may need to call lex or flex and cc explicitly:
+ * lex -8 -o risDateAdj.c risDateAdj.l
+ * cc [-std=gnu99] [-s] [-O] -o risDateAdj risDateAdj.c -ll
+ *
+ * The executable works as a filter and patches the Y1, Y2 and PY fields of RIS
+ * files (the standard input) from a
+ * Apr., YYYY
+ * type produced for example by JSTOR or a
+ * YYYY-MM-DD
+ * or a
+ * YYYY
+ * or a
+ * YYYY/DD
+ * type to the standard defined in http://www.refman.com/support/risformat_intro.asp .
+ *
+ * TODO:
+ * ingentaconnect produces lines PY -- ///January 2009
+ * which also fall into the category of faulty but recoverable inputs.
+ * And this ought also be implemented.
+ * Richard J. Mathar, 2009-02-11
+ */
+%option noyywrap
+
+%{
+#include <strings.h>
+#include <sys/types.h>
+#include <regex.h>
+
+#define Y1PATCH_PMAT_SIZ 7
+
+regex_t preg1,
+ preg2 ,
+ preg3 ,
+ preg4 ;
+regmatch_t pmat[Y1PATCH_PMAT_SIZ] ;
+
+/* Fit monam month to integer in the range 1 to 12.
+* @return Return a number from 1 to 12 if the month is recognized, 0 if not.
+*/
+int name2Month(const char *monam)
+{
+ static const char *jan2dec[] = {"jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"} ;
+ for(int i=0; i < 12 ; i++)
+ if( strncasecmp(monam,jan2dec[i],3) == 0 )
+ return i+1 ;
+ return 0 ;
+}
+
+/* Generate a line YYY/MM/DD/otherinfo line on output.
+* @param tagline the original line, including the tag and the <CR></LF>
+*/
+void y1patch(const char *yytext)
+{
+ /* the original tag including the mandatory white space copied thru
+ */
+ fprintf(yyout,"%.6s",yytext) ;
+
+ if( regexec(&preg2,yytext+6,0,0,0) == 0 )
+ {
+ /* The ISO case. Replace dashes by slashes
+ */
+ fprintf(yyout,"%.4s/%.2s/%.2s/ %s",yytext+6,yytext+11,yytext+14,yytext+17) ;
+ }
+ else if( regexec(&preg1,yytext+6,Y1PATCH_PMAT_SIZ,pmat,0) == 0 )
+ {
+ /* pmat[0] all, pmat[1] the mont, pmat[2] any intermediate dots and blanks, pmat[3] the year.
+ */
+ int mon = name2Month(yytext+6) ;
+ int yr = atoi(yytext+6+pmat[3].rm_so) ;
+ if ( mon )
+ fprintf(yyout,"%d/%02d// ",yr,mon) ;
+ else
+ fprintf(yyout,"%d/// ",yr) ;
+
+ /* the original pattern plus any <CR><NL>
+ */
+ fprintf(yyout,"%s",yytext+6) ;
+ }
+ else if( regexec(&preg3,yytext+6,Y1PATCH_PMAT_SIZ,pmat,0) == 0 )
+ {
+ /* pmat[0] all, pmat[1] the mont, pmat[2] the date, pmat[3] the year.
+ */
+ int mon = name2Month(yytext+6) ;
+ int dat = atoi(yytext+6+pmat[2].rm_so) ;
+ int yr = atoi(yytext+6+pmat[3].rm_so) ;
+ if ( mon )
+ fprintf(yyout,"%d/%02d/%02d/ ",yr,mon,dat) ;
+ else
+ fprintf(yyout,"%d//%02d/ ",yr,dat) ;
+
+ /* the original pattern plus any <CR><NL>
+ */
+ fprintf(yyout,"%s",yytext+6) ;
+ }
+ else if( regexec(&preg4,yytext+6,Y1PATCH_PMAT_SIZ,pmat,0) == 0 )
+ {
+ int yr = atoi(yytext+6) ;
+ if ( pmat[1].rm_so >=0 )
+ {
+ int mon = atoi(yytext+6+pmat[1].rm_so+1) ;
+ fprintf(yyout,"%d/%02d//",yr,mon) ;
+ }
+ else
+ fprintf(yyout,"%d///",yr) ;
+
+ /* the original <CR><NL>
+ */
+ fprintf(yyout,"%s",yytext+6+pmat[0].rm_eo) ;
+ }
+ else
+ /* give up and copy through
+ */
+ fprintf(yyout,"%s",yytext+6) ;
+
+}
+#undef Y1PATCH_PMAT_SIZ
+
+%}
+
+RISTAG "Y1 - "|"PY - "|"Y2 - "
+DIGIT [0-9]
+
+ /* the scanner ought be compiled with the "-i" flag to
+ * trigger also on the various upper/lowercase variants of these patterns
+ */
+MONTH "Jan"|"Feb"|"Mar"|"Apr"|"May"|"Jun"|"Jul"|"Aug"|"Sep"|"Oct"|"Nov"|"Dec"
+
+%%
+
+ /* Lines which look correct are copied trough as they are.
+ * This means they contain no 3-letter mont acronyms as substrings.
+ */
+
+ /* If the tag is immediately followed by one of the TLA (three-letter
+ * acronyms above), or looks like an ISO date we try conversion.
+ */
+{RISTAG}{MONTH}.+\n |
+{RISTAG}{DIGIT}{4}[[:blank:]]*\r?\n |
+{RISTAG}{DIGIT}{4}\/{DIGIT}{1,2}[[:blank:]]*\r?\n |
+{RISTAG}{DIGIT}{4}-{DIGIT}{2}-{DIGIT}{2}.+\n {
+
+ /* debugging
+ * printf("%d\n",__LINE__) ;
+ */
+ y1patch(yytext) ;
+ }
+
+
+%%
+int main(int argc, char *argv[])
+{
+ /* preg1: at least three characters (matching months supposedly)
+ * followed by any comma, dot and white space, and the year
+ */
+ int stat =regcomp(&preg1,
+ "\\([[:alpha:]]\\{3,\\}\\)\\([[:space:],\\./]*\\)\\([[:digit:]]\\{4\\}\\)\\(.*\\)", REG_ICASE) ;
+ if ( stat )
+ fprintf(stderr,"line %d - Internal error %d\n",__LINE__,stat) ;
+
+ /* preg2: the ISO YYYY-MM-DD format
+ */
+ stat =regcomp(&preg2, "[[:digit:]]\\{4\\}-[[:digit:]]\\{2\\}-[[:digit:]]\\{2\\}.*", REG_ICASE) ;
+ if ( stat )
+ fprintf(stderr,"line %d - Internal error %d\n",__LINE__,stat) ;
+
+ /* preg3: the fullmontname 1-or-2digit-date, 4-digityear
+ */
+ stat =regcomp(&preg3,
+ "\\([[:alpha:]]\\{3,\\}\\) \\([[:digit:]]\\{1,2\\}\\)[ ,]*\\([[:digit:]]\\{4\\}\\).*", REG_ICASE) ;
+ if ( stat )
+ fprintf(stderr,"line %d - Internal error %d\n",__LINE__,stat) ;
+
+ /* preg4: a sole 4-digit year, optionally with a slash and 2-digit month
+ */
+ stat =regcomp(&preg4, "[[:digit:]]{4}(/[[:digit:]]{1,2})?[[:blank:]]*", REG_ICASE|REG_EXTENDED) ;
+ if ( stat )
+ fprintf(stderr,"line %d - Internal error %d\n",__LINE__,stat) ;
+
+ yylex() ;
+ regfree(& preg4) ;
+ regfree(& preg3) ;
+ regfree(& preg2) ;
+ regfree(& preg1) ;
+ return 0 ;
+}
diff --git a/biblio/bibtex/utils/r2bib/wileyEndNoteFilt.1 b/biblio/bibtex/utils/r2bib/wileyEndNoteFilt.1
new file mode 100644
index 0000000000..e69d1f26cb
--- /dev/null
+++ b/biblio/bibtex/utils/r2bib/wileyEndNoteFilt.1
@@ -0,0 +1,54 @@
+.TH "wileyEndNoteFilt" 1 "Mon Dec 7 2015" "Version 2015-12-07" "r2bib" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+wileyEndNoteFilt \- convert Wiley's EndNote author tags to the standard
+.PP
+.SH "SYNOPSIS "
+.PP
+.PP
+\fIwileyEndNoteFilt\fP
+.PP
+.SH "OPTIONS "
+.PP
+.PP
+none
+.PP
+.SH "DESCRIPTION "
+.PP
+.PP
+\fIwileyEndNoteFilt\fP interprets the standard input as an EndNote bibligraphy file and rewrites lines with %A and %E tags if they contain at least one author and if each author is followed by a comma\&. Basically the format
+.PP
+%A firstinit firstM\&. firstAfam, sendinit secondM\&. secondM2\&. secondAfam,
+.PP
+is dispersed into lines
+.PP
+%A firstAfam, firstinit firstM\&.
+.PP
+%A secondAfam, sendinit secondM\&. secondM2\&.
+.PP
+with only one person per tag, regrouping first names and middle names relative to family names\&.
+.PP
+Need of this type of filter arises with EndNote files produced by Wiley's web interfaces\&. The obvious problem with the plain format which shows all authors in the natural language format is that fillers of two kinds, namely the roman numbers and 'Jr\&.' and 'Sr\&.' tags on one hand and any qualifiers like 'de' and 'van' particularly frequent in languages like Dutch on the other, cannot easily be dispatched into the standard format, which is first-names-and-initials, de-von-van-dos-etc last-name, Jr-Sr-numerals\&. In addition, it is not obvious (to European readers) whether Chinese names have already been swapped once or are in the traditional format\&.
+.PP
+Keeping this in mind, this filter ought only be run if the input is of the aforementioned comma-delimited format, but not if it originates from multiple sources of mixed author-editor styles\&. In addition, the EndNote import filter provided on the Wiley web page is certainly to be favoured if the data are imported into the native EndNote\&.
+.PP
+.SH "EXAMPLES "
+.PP
+.PP
+cat foo*\&.enw | wileyEndNoteFilt > bar\&.end
+.PP
+.SH "CAUTION "
+.PP
+.PP
+An attempt is made to swap first and family names on the fly\&. Generally, the last string of the name is interpreted as the family name\&. If the name contains strings like ' von ' or ' dos ', they are classified as modifiers which are frequent in Dutch, German, Spanish and Italian compound names, and these are also attributed to the family name\&. The source code contains a hard-coded list of these initialiasers; this may certainly fail in some cases\&.
+.PP
+.SH "BUGS "
+.PP
+.PP
+The filter will stumble if some names contain HTML-components which use commas\&. No such cases exist in the character entity references in HTML 4\&.0, so this seems not to be an issue\&.
+.PP
+.SH "AUTHOR "
+.PP
+.PP
+Richard J\&. Mathar, http://www.mpia.de/~mathar
diff --git a/biblio/bibtex/utils/r2bib/wileyEndNoteFilt.cc b/biblio/bibtex/utils/r2bib/wileyEndNoteFilt.cc
new file mode 100644
index 0000000000..ac7397eefb
--- /dev/null
+++ b/biblio/bibtex/utils/r2bib/wileyEndNoteFilt.cc
@@ -0,0 +1,2075 @@
+
+#line 3 "wileyEndNoteFilt.cc"
+
+#define YY_INT_ALIGNED short int
+
+/* A lexical scanner generated by flex */
+
+#define FLEX_SCANNER
+#define YY_FLEX_MAJOR_VERSION 2
+#define YY_FLEX_MINOR_VERSION 5
+#define YY_FLEX_SUBMINOR_VERSION 37
+#if YY_FLEX_SUBMINOR_VERSION > 0
+#define FLEX_BETA
+#endif
+
+/* First, we deal with platform-specific or compiler-specific issues. */
+
+/* begin standard C headers. */
+#include <stdio.h>
+#include <string.h>
+#include <errno.h>
+#include <stdlib.h>
+
+/* end standard C headers. */
+
+/* flex integer type definitions */
+
+#ifndef FLEXINT_H
+#define FLEXINT_H
+
+/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
+
+#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
+
+/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
+ * if you want the limit (max/min) macros for int types.
+ */
+#ifndef __STDC_LIMIT_MACROS
+#define __STDC_LIMIT_MACROS 1
+#endif
+
+#include <inttypes.h>
+typedef int8_t flex_int8_t;
+typedef uint8_t flex_uint8_t;
+typedef int16_t flex_int16_t;
+typedef uint16_t flex_uint16_t;
+typedef int32_t flex_int32_t;
+typedef uint32_t flex_uint32_t;
+#else
+typedef signed char flex_int8_t;
+typedef short int flex_int16_t;
+typedef int flex_int32_t;
+typedef unsigned char flex_uint8_t;
+typedef unsigned short int flex_uint16_t;
+typedef unsigned int flex_uint32_t;
+
+/* Limits of integral types. */
+#ifndef INT8_MIN
+#define INT8_MIN (-128)
+#endif
+#ifndef INT16_MIN
+#define INT16_MIN (-32767-1)
+#endif
+#ifndef INT32_MIN
+#define INT32_MIN (-2147483647-1)
+#endif
+#ifndef INT8_MAX
+#define INT8_MAX (127)
+#endif
+#ifndef INT16_MAX
+#define INT16_MAX (32767)
+#endif
+#ifndef INT32_MAX
+#define INT32_MAX (2147483647)
+#endif
+#ifndef UINT8_MAX
+#define UINT8_MAX (255U)
+#endif
+#ifndef UINT16_MAX
+#define UINT16_MAX (65535U)
+#endif
+#ifndef UINT32_MAX
+#define UINT32_MAX (4294967295U)
+#endif
+
+#endif /* ! C99 */
+
+#endif /* ! FLEXINT_H */
+
+#ifdef __cplusplus
+
+/* The "const" storage-class-modifier is valid. */
+#define YY_USE_CONST
+
+#else /* ! __cplusplus */
+
+/* C99 requires __STDC__ to be defined as 1. */
+#if defined (__STDC__)
+
+#define YY_USE_CONST
+
+#endif /* defined (__STDC__) */
+#endif /* ! __cplusplus */
+
+#ifdef YY_USE_CONST
+#define yyconst const
+#else
+#define yyconst
+#endif
+
+/* Returned upon end-of-file. */
+#define YY_NULL 0
+
+/* Promotes a possibly negative, possibly signed char to an unsigned
+ * integer for use as an array index. If the signed char is negative,
+ * we want to instead treat it as an 8-bit unsigned char, hence the
+ * double cast.
+ */
+#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
+
+/* Enter a start condition. This macro really ought to take a parameter,
+ * but we do it the disgusting crufty way forced on us by the ()-less
+ * definition of BEGIN.
+ */
+#define BEGIN (yy_start) = 1 + 2 *
+
+/* Translate the current start state into a value that can be later handed
+ * to BEGIN to return to the state. The YYSTATE alias is for lex
+ * compatibility.
+ */
+#define YY_START (((yy_start) - 1) / 2)
+#define YYSTATE YY_START
+
+/* Action number for EOF rule of a given start state. */
+#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
+
+/* Special action meaning "start processing a new file". */
+#define YY_NEW_FILE yyrestart(yyin )
+
+#define YY_END_OF_BUFFER_CHAR 0
+
+/* Size of default input buffer. */
+#ifndef YY_BUF_SIZE
+#define YY_BUF_SIZE 16384
+#endif
+
+/* The state buf must be large enough to hold one state per character in the main buffer.
+ */
+#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
+
+#ifndef YY_TYPEDEF_YY_BUFFER_STATE
+#define YY_TYPEDEF_YY_BUFFER_STATE
+typedef struct yy_buffer_state *YY_BUFFER_STATE;
+#endif
+
+#ifndef YY_TYPEDEF_YY_SIZE_T
+#define YY_TYPEDEF_YY_SIZE_T
+typedef size_t yy_size_t;
+#endif
+
+extern yy_size_t yyleng;
+
+extern FILE *yyin, *yyout;
+
+#define EOB_ACT_CONTINUE_SCAN 0
+#define EOB_ACT_END_OF_FILE 1
+#define EOB_ACT_LAST_MATCH 2
+
+ #define YY_LESS_LINENO(n)
+
+/* Return all but the first "n" matched characters back to the input stream. */
+#define yyless(n) \
+ do \
+ { \
+ /* Undo effects of setting up yytext. */ \
+ int yyless_macro_arg = (n); \
+ YY_LESS_LINENO(yyless_macro_arg);\
+ *yy_cp = (yy_hold_char); \
+ YY_RESTORE_YY_MORE_OFFSET \
+ (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
+ YY_DO_BEFORE_ACTION; /* set up yytext again */ \
+ } \
+ while ( 0 )
+
+#define unput(c) yyunput( c, (yytext_ptr) )
+
+#ifndef YY_STRUCT_YY_BUFFER_STATE
+#define YY_STRUCT_YY_BUFFER_STATE
+struct yy_buffer_state
+ {
+ FILE *yy_input_file;
+
+ char *yy_ch_buf; /* input buffer */
+ char *yy_buf_pos; /* current position in input buffer */
+
+ /* Size of input buffer in bytes, not including room for EOB
+ * characters.
+ */
+ yy_size_t yy_buf_size;
+
+ /* Number of characters read into yy_ch_buf, not including EOB
+ * characters.
+ */
+ yy_size_t yy_n_chars;
+
+ /* Whether we "own" the buffer - i.e., we know we created it,
+ * and can realloc() it to grow it, and should free() it to
+ * delete it.
+ */
+ int yy_is_our_buffer;
+
+ /* Whether this is an "interactive" input source; if so, and
+ * if we're using stdio for input, then we want to use getc()
+ * instead of fread(), to make sure we stop fetching input after
+ * each newline.
+ */
+ int yy_is_interactive;
+
+ /* Whether we're considered to be at the beginning of a line.
+ * If so, '^' rules will be active on the next match, otherwise
+ * not.
+ */
+ int yy_at_bol;
+
+ int yy_bs_lineno; /**< The line count. */
+ int yy_bs_column; /**< The column count. */
+
+ /* Whether to try to fill the input buffer when we reach the
+ * end of it.
+ */
+ int yy_fill_buffer;
+
+ int yy_buffer_status;
+
+#define YY_BUFFER_NEW 0
+#define YY_BUFFER_NORMAL 1
+ /* When an EOF's been seen but there's still some text to process
+ * then we mark the buffer as YY_EOF_PENDING, to indicate that we
+ * shouldn't try reading from the input source any more. We might
+ * still have a bunch of tokens to match, though, because of
+ * possible backing-up.
+ *
+ * When we actually see the EOF, we change the status to "new"
+ * (via yyrestart()), so that the user can continue scanning by
+ * just pointing yyin at a new input file.
+ */
+#define YY_BUFFER_EOF_PENDING 2
+
+ };
+#endif /* !YY_STRUCT_YY_BUFFER_STATE */
+
+/* Stack of input buffers. */
+static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
+static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
+static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
+
+/* We provide macros for accessing buffer states in case in the
+ * future we want to put the buffer states in a more general
+ * "scanner state".
+ *
+ * Returns the top of the stack, or NULL.
+ */
+#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
+ ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
+ : NULL)
+
+/* Same as previous macro, but useful when we know that the buffer stack is not
+ * NULL or when we need an lvalue. For internal use only.
+ */
+#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
+
+/* yy_hold_char holds the character lost when yytext is formed. */
+static char yy_hold_char;
+static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */
+yy_size_t yyleng;
+
+/* Points to current character in buffer. */
+static char *yy_c_buf_p = (char *) 0;
+static int yy_init = 0; /* whether we need to initialize */
+static int yy_start = 0; /* start state number */
+
+/* Flag which is used to allow yywrap()'s to do buffer switches
+ * instead of setting up a fresh yyin. A bit of a hack ...
+ */
+static int yy_did_buffer_switch_on_eof;
+
+void yyrestart (FILE *input_file );
+void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
+YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
+void yy_delete_buffer (YY_BUFFER_STATE b );
+void yy_flush_buffer (YY_BUFFER_STATE b );
+void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
+void yypop_buffer_state (void );
+
+static void yyensure_buffer_stack (void );
+static void yy_load_buffer_state (void );
+static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
+
+#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
+
+YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
+YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
+YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len );
+
+void *yyalloc (yy_size_t );
+void *yyrealloc (void *,yy_size_t );
+void yyfree (void * );
+
+#define yy_new_buffer yy_create_buffer
+
+#define yy_set_interactive(is_interactive) \
+ { \
+ if ( ! YY_CURRENT_BUFFER ){ \
+ yyensure_buffer_stack (); \
+ YY_CURRENT_BUFFER_LVALUE = \
+ yy_create_buffer(yyin,YY_BUF_SIZE ); \
+ } \
+ YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
+ }
+
+#define yy_set_bol(at_bol) \
+ { \
+ if ( ! YY_CURRENT_BUFFER ){\
+ yyensure_buffer_stack (); \
+ YY_CURRENT_BUFFER_LVALUE = \
+ yy_create_buffer(yyin,YY_BUF_SIZE ); \
+ } \
+ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
+ }
+
+#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
+
+/* Begin user sect3 */
+
+#define yywrap() 1
+#define YY_SKIP_YYWRAP
+
+typedef unsigned char YY_CHAR;
+
+FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
+
+typedef int yy_state_type;
+
+extern int yylineno;
+
+int yylineno = 1;
+
+extern char *yytext;
+#define yytext_ptr yytext
+
+static yy_state_type yy_get_previous_state (void );
+static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
+static int yy_get_next_buffer (void );
+static void yy_fatal_error (yyconst char msg[] );
+
+/* Done after the current pattern has been matched and before the
+ * corresponding action - sets up yytext.
+ */
+#define YY_DO_BEFORE_ACTION \
+ (yytext_ptr) = yy_bp; \
+ yyleng = (size_t) (yy_cp - yy_bp); \
+ (yy_hold_char) = *yy_cp; \
+ *yy_cp = '\0'; \
+ (yy_c_buf_p) = yy_cp;
+
+#define YY_NUM_RULES 5
+#define YY_END_OF_BUFFER 6
+/* This struct is not used in this scanner,
+ but its presence is necessary. */
+struct yy_trans_info
+ {
+ flex_int32_t yy_verify;
+ flex_int32_t yy_nxt;
+ };
+static yyconst flex_int16_t yy_acc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 { 0,
+ 1, 2, 1, 1, 1, 1, 1, 1, 1
+ } ;
+
+static yyconst flex_int16_t yy_base[35] =
+ { 0,
+ 0, 5, 29, 30, 6, 10, 25, 24, 23, 22,
+ 0, 0, 21, 20, 20, 19, 15, 7, 30, 30,
+ 8, 7, 0, 0, 5, 4, 30, 30, 30, 17,
+ 4, 2, 1, 0
+ } ;
+
+static yyconst flex_int16_t yy_def[35] =
+ { 0,
+ 30, 30, 29, 29, 29, 29, 29, 29, 29, 29,
+ 31, 32, 29, 29, 31, 32, 29, 29, 29, 29,
+ 29, 29, 33, 34, 33, 34, 29, 29, 0, 29,
+ 29, 29, 29, 29
+ } ;
+
+static yyconst flex_int16_t yy_nxt[40] =
+ { 0,
+ 26, 25, 16, 5, 15, 28, 27, 6, 5, 24,
+ 23, 22, 6, 7, 8, 9, 10, 4, 4, 21,
+ 20, 19, 18, 17, 14, 13, 12, 11, 29, 3,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29
+ } ;
+
+static yyconst flex_int16_t yy_chk[40] =
+ { 0,
+ 34, 33, 32, 1, 31, 26, 25, 1, 2, 22,
+ 21, 18, 2, 5, 5, 6, 6, 30, 30, 17,
+ 16, 15, 14, 13, 10, 9, 8, 7, 3, 29,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29
+ } ;
+
+static yy_state_type yy_last_accepting_state;
+static char *yy_last_accepting_cpos;
+
+extern int yy_flex_debug;
+int yy_flex_debug = 0;
+
+/* The intent behind this definition is that it'll catch
+ * any uses of REJECT which flex missed.
+ */
+#define REJECT reject_used_but_not_detected
+#define yymore() yymore_used_but_not_detected
+#define YY_MORE_ADJ 0
+#define YY_RESTORE_YY_MORE_OFFSET
+char *yytext;
+#line 1 "wileyEndNoteFilt.ll"
+/* This is a lex(1) file, see http://dinosaur.compilertools.net/
+* or http://en.wikipedia.org/wiki/Lex_programming_tool .
+*
+* Compilation on UNIX systems is done by
+* make wileyEndNoteFilt
+* On other systems one may need to call lex or flex and cc explicitly:
+* lex -8 -o wileyEndNoteFilt.c wileyEndNoteFilt.l
+* cc [-s] [-O] [-D MSDOS] [-D WILEYENDNOTERIS] -o wileyEndNoteFilt wileyEndNoteFilt.c -ll
+*
+* Definition of the macro MSDOS means that the output is rewritten
+* with CR+LF line terminators (which alternatively can be achieved
+* by the standard unix2dos(1)).
+*
+* Definition of the macro WILEYENDNOTERIS means that the RIS type tags
+* "A1 - " and "A2 - " are handled supposing that there is only
+* one name per line and swapping first and last names.
+*
+* The executable works as a filter and converts author names produced
+* by downloading EndNote files from Wiley's web pages such that they become
+* standardized. This means: the initials (first names) and last names of authors
+* are swapped and separated by a comma on output, and multiple
+* authors become separate lines.
+*
+* Use examples:
+* cat *.enw | wileyEndNoteFilt
+* cat *.enw | recode h1..h4 | wileyEndNoteFilt > tmp.end ; end2xml tmp.end > tmp.xml
+*
+* Notes:
+* The filter changes lines of the %A or %E tag containing at least one author.
+* This means (i) the author list is only parsed until a line feed, so author
+* lists continued on lines that do not start with another tag will remain
+* incomplete
+* (ii) a tag followed by no author is copied through unchanged.
+*
+* Richard J. Mathar, 2010-01-21
+*/
+#line 40 "wileyEndNoteFilt.ll"
+#include <string.h>
+#include <stdlib.h>
+
+/* remove trailing carriage return and line feeds from inp
+* (this string may be changed on output).
+*/
+void trimlf(char *inp)
+{
+ /* point to the last non-0 character */
+ char *c = inp+strlen(inp)-1 ;
+ while ( *c == '\n' || *c == '\r' )
+ *c-- = '\0' ;
+}
+
+/* remove blanks at the start and/or end of inp
+* (this string may be changed on output).
+*/
+void trim(char *inp)
+{
+ /* point to the last non-0 character */
+ char *c = inp+strlen(inp)-1 ;
+ while ( *c == ' ')
+ *c-- = '\0' ;
+
+ while( *inp == ' ')
+ memmove(inp,inp+1,strlen(inp)) ;
+}
+
+#define WILEYENDNOTEFILT_MAX_AUTH 2048
+#define WILEYENDNOTEFILT_MAX_TRAIL 32
+
+/* Handle a single name without any separator
+* @param inp A string of the form "firstname middle-name lastname".
+*/
+void revStr1(char *inp, const char *tag)
+{
+
+ /* Search for the last blank, usually right before the last name.
+ * This does not yet handle cases like Marvin D. den Anker
+ * with composite last names, or Henry Ford II with roman numbers like I
+ * or II following...
+ */
+ char * lastbl=strrchr(inp,' ') ;
+
+ if ( lastbl != inp )
+ {
+ /* the revised string: lastname, firstinitls[, trail]; */
+ char resul[WILEYENDNOTEFILT_MAX_AUTH] ;
+
+ /* a trailing portion like Jr., II etc. German cases like Dr. Werner von Braun, where "Dr." is
+ * part of the trialing portion but syntactically in front of the first name are not handled
+ * correctly. Similarly "Pope Paul Benedict" will yield strange results.
+ * We also assume that the roman numerals are not followed by dots.
+ */
+ char trail[WILEYENDNOTEFILT_MAX_TRAIL] ;
+
+ int lastl ;
+
+ memset(trail,'\0',WILEYENDNOTEFILT_MAX_TRAIL) ;
+
+ /* back up if this is a composite name followed by Jr., Sr. or a dotless Roman numeral from I to VII */
+ if ( strcmp(lastbl," I")==0 || strcmp(lastbl," II")==0 || strcmp(lastbl," III")==0 || strcmp(lastbl," Jr.")==0
+ || strcmp(lastbl," IV")==0 || strcmp(lastbl," V")==0 || strcmp(lastbl," VI")==0 || strcmp(lastbl," VII")==0
+ || strcmp(lastbl," Sr.")==0
+ )
+ {
+ /* copy the trailing piece over and chop it off the original string
+ */
+ sprintf(trail,",%s",lastbl) ;
+ *lastbl = '\0' ;
+ lastbl=strrchr(inp,' ') ;
+ }
+
+ /* Start of the surname. Derived names of Spanish, Dutch or German origin. Does not catch the German
+ * "Graefin" or similar titles which use diacritical vocals.
+ * Start with the longest matches (that is: catch the "Baron" in "Baron von Munchhausen", not the "von").
+ */
+ char * surn= strstr(inp," Baron ") ; /* triggers also Baron von Munchhausen, for example */
+ if ( surn == NULL)
+ surn= strstr(inp," Duke ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," Earl ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," Graf ") ; /* triggers also "Graf von", "Graf zu" etc */
+ if ( surn == NULL)
+ surn= strstr(inp," Gr\344fin ") ; /* assume U+00E4 for the diaresis in UTF-8 */
+ if ( surn == NULL)
+ surn= strstr(inp," Herzog ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," v. d. ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," von ") ; /* triggers also on "von der" */
+ if ( surn == NULL)
+ surn= strstr(inp," Von ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," van ") ; /* triggers also "van den", "van der", "van de" */
+ if ( surn == NULL)
+ surn= strstr(inp," Van ") ; /* Van Morrisson is intepreted as a last name */
+ if ( surn == NULL)
+ surn= strstr(inp," da ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," Da ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," de ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," De ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," du ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," Du ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," do ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," Do ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," della ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," Della ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," le ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," Le ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," dos ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," Dos ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," ter ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," Ter ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," ten ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," Ten ") ;
+ /* the cases "e" and "i" are handled unsafely here:
+ * probably another component of the family name
+ * precedes these */
+ if ( surn == NULL)
+ surn= strstr(inp," e ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," E ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," i ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," de ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," De ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," den ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," Den ") ;
+
+ /* if no such modifier is found: assume the last name starts at the last blank */
+ if ( surn == NULL)
+ surn= lastbl ;
+
+ lastl= strlen(inp)-(surn-inp)-1 ;
+ memset(resul,'\0',WILEYENDNOTEFILT_MAX_AUTH) ;
+ strncpy(resul,surn+1,lastl) ;
+
+ if ( surn != inp)
+ {
+ /* output separator comma: lastname, firstname. Firstname starts with a blank. */
+ strcat(resul,",") ;
+#ifdef WILEYENDNOTEFILT_RIS
+ strcat(resul," ") ;
+#endif
+ strncat(resul,inp,surn-inp) ;
+ }
+
+ /* if there is a trailing portion append. Usually this is
+ * just '\0' and appending does not hurt.
+ */
+ strcat(resul,trail) ;
+
+ trim(resul) ;
+#ifdef MSDOS
+ fprintf(yyout,"%s %s\r\n",tag,resul) ;
+#else
+ fprintf(yyout,"%s %s\n",tag,resul) ;
+#endif
+ }
+ else
+ /* If there is no blank, this is probably a single last name, which we copy as is
+ * (without comma) to stdout.
+ */
+#ifdef MSDOS
+ fprintf(yyout,"%s%s\r\n",tag,inp) ;
+#else
+ fprintf(yyout,"%s%s\n",tag,inp) ;
+#endif
+}
+#undef WILEYENDNOTEFILT_MAX_AUTH
+#undef WILEYENDNOTEFILT_MAX_TRAIL
+
+/** Split the line (without the starting "%A " or "%E " EndNote tag) into
+* the individual authors (which are each followed by a comma).
+* @param inp A string of the form "first-author, second-author, last-author,"
+* or "first-author, second-author, last-author" or "first-author".
+* @param tag The "%A" or "%E"
+*/
+void revStr(const char *inp, const char *tag)
+{
+ /* strtok(3) modifies 'inp', so we construct a temporary copy.
+ */
+ char *inpsave = (char *) malloc((strlen(inp)+1)*sizeof(char)) ;
+ char *tok ;
+ char *tokreent ;
+
+ strcpy(inpsave,inp) ;
+ trimlf(inpsave) ;
+ /* Loop over all terminating separators (=commas) */
+ tok = inpsave ;
+
+#ifdef WILEYENDNOTEFILT_RIS
+ trim(tok) ;
+ revStr1(tok,tag) ;
+#else
+
+
+ tok = strtok_r(inpsave,",",&tokreent) ;
+ while(tok)
+ {
+
+ /* skip leading white space in author names
+ while(*tok == ' ')
+ tok++ ;
+ */
+
+ /* pass the "firstinit secndinit lastname" to the subroutine
+ * without the comma separator.
+ */
+ revStr1(tok,tag) ;
+ tok = strtok_r(NULL,",",&tokreent) ;
+ }
+#endif
+ free(inpsave) ;
+}
+#line 742 "wileyEndNoteFilt.cc"
+
+#define INITIAL 0
+
+#ifndef YY_NO_UNISTD_H
+/* Special case for "unistd.h", since it is non-ANSI. We include it way
+ * down here because we want the user's section 1 to have been scanned first.
+ * The user has a chance to override it with an option.
+ */
+#include <unistd.h>
+#endif
+
+#ifndef YY_EXTRA_TYPE
+#define YY_EXTRA_TYPE void *
+#endif
+
+static int yy_init_globals (void );
+
+/* Accessor methods to globals.
+ These are made visible to non-reentrant scanners for convenience. */
+
+int yylex_destroy (void );
+
+int yyget_debug (void );
+
+void yyset_debug (int debug_flag );
+
+YY_EXTRA_TYPE yyget_extra (void );
+
+void yyset_extra (YY_EXTRA_TYPE user_defined );
+
+FILE *yyget_in (void );
+
+void yyset_in (FILE * in_str );
+
+FILE *yyget_out (void );
+
+void yyset_out (FILE * out_str );
+
+yy_size_t yyget_leng (void );
+
+char *yyget_text (void );
+
+int yyget_lineno (void );
+
+void yyset_lineno (int line_number );
+
+/* Macros after this point can all be overridden by user definitions in
+ * section 1.
+ */
+
+#ifndef YY_SKIP_YYWRAP
+#ifdef __cplusplus
+extern "C" int yywrap (void );
+#else
+extern int yywrap (void );
+#endif
+#endif
+
+ static void yyunput (int c,char *buf_ptr );
+
+#ifndef yytext_ptr
+static void yy_flex_strncpy (char *,yyconst char *,int );
+#endif
+
+#ifdef YY_NEED_STRLEN
+static int yy_flex_strlen (yyconst char * );
+#endif
+
+#ifndef YY_NO_INPUT
+
+#ifdef __cplusplus
+static int yyinput (void );
+#else
+static int input (void );
+#endif
+
+#endif
+
+/* Amount of stuff to slurp up with each read. */
+#ifndef YY_READ_BUF_SIZE
+#define YY_READ_BUF_SIZE 8192
+#endif
+
+/* Copy whatever the last rule matched to the standard output. */
+#ifndef ECHO
+/* This used to be an fputs(), but since the string might contain NUL's,
+ * we now use fwrite().
+ */
+#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
+#endif
+
+/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
+ * is returned in "result".
+ */
+#ifndef YY_INPUT
+#define YY_INPUT(buf,result,max_size) \
+ if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
+ { \
+ int c = '*'; \
+ size_t n; \
+ for ( n = 0; n < max_size && \
+ (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
+ buf[n] = (char) c; \
+ if ( c == '\n' ) \
+ buf[n++] = (char) c; \
+ if ( c == EOF && ferror( yyin ) ) \
+ YY_FATAL_ERROR( "input in flex scanner failed" ); \
+ result = n; \
+ } \
+ else \
+ { \
+ errno=0; \
+ while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
+ { \
+ if( errno != EINTR) \
+ { \
+ YY_FATAL_ERROR( "input in flex scanner failed" ); \
+ break; \
+ } \
+ errno=0; \
+ clearerr(yyin); \
+ } \
+ }\
+\
+
+#endif
+
+/* No semi-colon after return; correct usage is to write "yyterminate();" -
+ * we don't want an extra ';' after the "return" because that will cause
+ * some compilers to complain about unreachable statements.
+ */
+#ifndef yyterminate
+#define yyterminate() return YY_NULL
+#endif
+
+/* Number of entries by which start-condition stack grows. */
+#ifndef YY_START_STACK_INCR
+#define YY_START_STACK_INCR 25
+#endif
+
+/* Report a fatal error. */
+#ifndef YY_FATAL_ERROR
+#define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
+#endif
+
+/* end tables serialization structures and prototypes */
+
+/* Default declaration of generated scanner - a define so the user can
+ * easily add parameters.
+ */
+#ifndef YY_DECL
+#define YY_DECL_IS_OURS 1
+
+extern int yylex (void);
+
+#define YY_DECL int yylex (void)
+#endif /* !YY_DECL */
+
+/* Code executed at the beginning of each rule, after yytext and yyleng
+ * have been set up.
+ */
+#ifndef YY_USER_ACTION
+#define YY_USER_ACTION
+#endif
+
+/* Code executed at the end of each rule. */
+#ifndef YY_BREAK
+#define YY_BREAK break;
+#endif
+
+#define YY_RULE_SETUP \
+ YY_USER_ACTION
+
+/** The main scanner function which does all the work.
+ */
+YY_DECL
+{
+ register yy_state_type yy_current_state;
+ register char *yy_cp, *yy_bp;
+ register int yy_act;
+
+#line 284 "wileyEndNoteFilt.ll"
+
+#line 926 "wileyEndNoteFilt.cc"
+
+ if ( !(yy_init) )
+ {
+ (yy_init) = 1;
+
+#ifdef YY_USER_INIT
+ YY_USER_INIT;
+#endif
+
+ if ( ! (yy_start) )
+ (yy_start) = 1; /* first start state */
+
+ if ( ! yyin )
+ yyin = stdin;
+
+ if ( ! yyout )
+ yyout = stdout;
+
+ if ( ! YY_CURRENT_BUFFER ) {
+ yyensure_buffer_stack ();
+ YY_CURRENT_BUFFER_LVALUE =
+ yy_create_buffer(yyin,YY_BUF_SIZE );
+ }
+
+ yy_load_buffer_state( );
+ }
+
+ while ( 1 ) /* loops until end-of-file is reached */
+ {
+ yy_cp = (yy_c_buf_p);
+
+ /* Support of yytext. */
+ *yy_cp = (yy_hold_char);
+
+ /* yy_bp points to the position in yy_ch_buf of the start of
+ * the current run.
+ */
+ yy_bp = yy_cp;
+
+ yy_current_state = (yy_start);
+yy_match:
+ do
+ {
+ register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
+ if ( yy_accept[yy_current_state] )
+ {
+ (yy_last_accepting_state) = yy_current_state;
+ (yy_last_accepting_cpos) = yy_cp;
+ }
+ while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
+ {
+ yy_current_state = (int) yy_def[yy_current_state];
+ if ( yy_current_state >= 30 )
+ yy_c = yy_meta[(unsigned int) yy_c];
+ }
+ yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
+ ++yy_cp;
+ }
+ while ( yy_base[yy_current_state] != 30 );
+
+yy_find_action:
+ yy_act = yy_accept[yy_current_state];
+ if ( yy_act == 0 )
+ { /* have to back up */
+ yy_cp = (yy_last_accepting_cpos);
+ yy_current_state = (yy_last_accepting_state);
+ yy_act = yy_accept[yy_current_state];
+ }
+
+ YY_DO_BEFORE_ACTION;
+
+do_action: /* This label is used only to access EOF actions. */
+
+ switch ( yy_act )
+ { /* beginning of action switch */
+ case 0: /* must back up */
+ /* undo the effects of YY_DO_BEFORE_ACTION */
+ *yy_cp = (yy_hold_char);
+ yy_cp = (yy_last_accepting_cpos);
+ yy_current_state = (yy_last_accepting_state);
+ goto yy_find_action;
+
+case 1:
+/* rule 1 can match eol */
+YY_RULE_SETUP
+#line 285 "wileyEndNoteFilt.ll"
+{
+
+ /* if this is a tag followed by one or more authors, push the list
+ * of authors, including the LF, the initial blank after the tag and all commas, to revStr().
+ */
+ revStr(yytext+2,"%A") ;
+ }
+ YY_BREAK
+case 2:
+/* rule 2 can match eol */
+YY_RULE_SETUP
+#line 292 "wileyEndNoteFilt.ll"
+{
+
+#ifdef WILEYENDNOTEFILT_RIS
+ /* if this is a tag followed by one or more authors, push the list
+ * of authors, including the LF, the initial blank after the tag and all commas, to revStr().
+ */
+ revStr(yytext+5,"A1 -") ;
+#else
+ fprintf(yyout,"%s",yytext) ;
+#endif
+ }
+ YY_BREAK
+case 3:
+/* rule 3 can match eol */
+YY_RULE_SETUP
+#line 304 "wileyEndNoteFilt.ll"
+{
+
+ /* Same as above for the list of editors.
+ */
+ revStr(yytext+2,"%E") ;
+ }
+ YY_BREAK
+case 4:
+/* rule 4 can match eol */
+YY_RULE_SETUP
+#line 311 "wileyEndNoteFilt.ll"
+{
+
+#ifdef WILEYENDNOTEFILT_RIS
+ /* Same as above for the list of editors.
+ */
+ revStr(yytext+5,"A2 -") ;
+#else
+ fprintf(yyout,"%s",yytext) ;
+#endif
+ }
+ YY_BREAK
+case 5:
+YY_RULE_SETUP
+#line 321 "wileyEndNoteFilt.ll"
+ECHO;
+ YY_BREAK
+#line 1068 "wileyEndNoteFilt.cc"
+case YY_STATE_EOF(INITIAL):
+ yyterminate();
+
+ case YY_END_OF_BUFFER:
+ {
+ /* Amount of text matched not including the EOB char. */
+ int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
+
+ /* Undo the effects of YY_DO_BEFORE_ACTION. */
+ *yy_cp = (yy_hold_char);
+ YY_RESTORE_YY_MORE_OFFSET
+
+ if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
+ {
+ /* We're scanning a new file or input source. It's
+ * possible that this happened because the user
+ * just pointed yyin at a new source and called
+ * yylex(). If so, then we have to assure
+ * consistency between YY_CURRENT_BUFFER and our
+ * globals. Here is the right place to do so, because
+ * this is the first action (other than possibly a
+ * back-up) that will match for the new input source.
+ */
+ (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
+ YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
+ YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
+ }
+
+ /* Note that here we test for yy_c_buf_p "<=" to the position
+ * of the first EOB in the buffer, since yy_c_buf_p will
+ * already have been incremented past the NUL character
+ * (since all states make transitions on EOB to the
+ * end-of-buffer state). Contrast this with the test
+ * in input().
+ */
+ if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
+ { /* This was really a NUL. */
+ yy_state_type yy_next_state;
+
+ (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
+
+ yy_current_state = yy_get_previous_state( );
+
+ /* Okay, we're now positioned to make the NUL
+ * transition. We couldn't have
+ * yy_get_previous_state() go ahead and do it
+ * for us because it doesn't know how to deal
+ * with the possibility of jamming (and we don't
+ * want to build jamming into it because then it
+ * will run more slowly).
+ */
+
+ yy_next_state = yy_try_NUL_trans( yy_current_state );
+
+ yy_bp = (yytext_ptr) + YY_MORE_ADJ;
+
+ if ( yy_next_state )
+ {
+ /* Consume the NUL. */
+ yy_cp = ++(yy_c_buf_p);
+ yy_current_state = yy_next_state;
+ goto yy_match;
+ }
+
+ else
+ {
+ yy_cp = (yy_c_buf_p);
+ goto yy_find_action;
+ }
+ }
+
+ else switch ( yy_get_next_buffer( ) )
+ {
+ case EOB_ACT_END_OF_FILE:
+ {
+ (yy_did_buffer_switch_on_eof) = 0;
+
+ if ( yywrap( ) )
+ {
+ /* Note: because we've taken care in
+ * yy_get_next_buffer() to have set up
+ * yytext, we can now set up
+ * yy_c_buf_p so that if some total
+ * hoser (like flex itself) wants to
+ * call the scanner after we return the
+ * YY_NULL, it'll still work - another
+ * YY_NULL will get returned.
+ */
+ (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
+
+ yy_act = YY_STATE_EOF(YY_START);
+ goto do_action;
+ }
+
+ else
+ {
+ if ( ! (yy_did_buffer_switch_on_eof) )
+ YY_NEW_FILE;
+ }
+ break;
+ }
+
+ case EOB_ACT_CONTINUE_SCAN:
+ (yy_c_buf_p) =
+ (yytext_ptr) + yy_amount_of_matched_text;
+
+ yy_current_state = yy_get_previous_state( );
+
+ yy_cp = (yy_c_buf_p);
+ yy_bp = (yytext_ptr) + YY_MORE_ADJ;
+ goto yy_match;
+
+ case EOB_ACT_LAST_MATCH:
+ (yy_c_buf_p) =
+ &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
+
+ yy_current_state = yy_get_previous_state( );
+
+ yy_cp = (yy_c_buf_p);
+ yy_bp = (yytext_ptr) + YY_MORE_ADJ;
+ goto yy_find_action;
+ }
+ break;
+ }
+
+ default:
+ YY_FATAL_ERROR(
+ "fatal flex scanner internal error--no action found" );
+ } /* end of action switch */
+ } /* end of scanning one token */
+} /* end of yylex */
+
+/* yy_get_next_buffer - try to read in a new buffer
+ *
+ * Returns a code representing an action:
+ * EOB_ACT_LAST_MATCH -
+ * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
+ * EOB_ACT_END_OF_FILE - end of file
+ */
+static int yy_get_next_buffer (void)
+{
+ register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
+ register char *source = (yytext_ptr);
+ register int number_to_move, i;
+ int ret_val;
+
+ if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
+ YY_FATAL_ERROR(
+ "fatal flex scanner internal error--end of buffer missed" );
+
+ if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
+ { /* Don't try to fill the buffer, so this is an EOF. */
+ if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
+ {
+ /* We matched a single character, the EOB, so
+ * treat this as a final EOF.
+ */
+ return EOB_ACT_END_OF_FILE;
+ }
+
+ else
+ {
+ /* We matched some text prior to the EOB, first
+ * process it.
+ */
+ return EOB_ACT_LAST_MATCH;
+ }
+ }
+
+ /* Try to read more data. */
+
+ /* First move last chars to start of buffer. */
+ number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
+
+ for ( i = 0; i < number_to_move; ++i )
+ *(dest++) = *(source++);
+
+ if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
+ /* don't do the read, it's not guaranteed to return an EOF,
+ * just force an EOF
+ */
+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
+
+ else
+ {
+ yy_size_t num_to_read =
+ YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
+
+ while ( num_to_read <= 0 )
+ { /* Not enough room in the buffer - grow it. */
+
+ /* just a shorter name for the current buffer */
+ YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE;
+
+ int yy_c_buf_p_offset =
+ (int) ((yy_c_buf_p) - b->yy_ch_buf);
+
+ if ( b->yy_is_our_buffer )
+ {
+ yy_size_t new_size = b->yy_buf_size * 2;
+
+ if ( new_size <= 0 )
+ b->yy_buf_size += b->yy_buf_size / 8;
+ else
+ b->yy_buf_size *= 2;
+
+ b->yy_ch_buf = (char *)
+ /* Include room in for 2 EOB chars. */
+ yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 );
+ }
+ else
+ /* Can't grow it, we don't own it. */
+ b->yy_ch_buf = 0;
+
+ if ( ! b->yy_ch_buf )
+ YY_FATAL_ERROR(
+ "fatal error - scanner input buffer overflow" );
+
+ (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset];
+
+ num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
+ number_to_move - 1;
+
+ }
+
+ if ( num_to_read > YY_READ_BUF_SIZE )
+ num_to_read = YY_READ_BUF_SIZE;
+
+ /* Read in more data. */
+ YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
+ (yy_n_chars), num_to_read );
+
+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
+ }
+
+ if ( (yy_n_chars) == 0 )
+ {
+ if ( number_to_move == YY_MORE_ADJ )
+ {
+ ret_val = EOB_ACT_END_OF_FILE;
+ yyrestart(yyin );
+ }
+
+ else
+ {
+ ret_val = EOB_ACT_LAST_MATCH;
+ YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
+ YY_BUFFER_EOF_PENDING;
+ }
+ }
+
+ else
+ ret_val = EOB_ACT_CONTINUE_SCAN;
+
+ if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
+ /* Extend the array by 50%, plus the number we really need. */
+ yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
+ YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
+ if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
+ YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
+ }
+
+ (yy_n_chars) += number_to_move;
+ YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
+ YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
+
+ (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
+
+ return ret_val;
+}
+
+/* yy_get_previous_state - get the state just before the EOB char was reached */
+
+ static yy_state_type yy_get_previous_state (void)
+{
+ register yy_state_type yy_current_state;
+ register char *yy_cp;
+
+ yy_current_state = (yy_start);
+
+ for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
+ {
+ register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
+ if ( yy_accept[yy_current_state] )
+ {
+ (yy_last_accepting_state) = yy_current_state;
+ (yy_last_accepting_cpos) = yy_cp;
+ }
+ while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
+ {
+ yy_current_state = (int) yy_def[yy_current_state];
+ if ( yy_current_state >= 30 )
+ yy_c = yy_meta[(unsigned int) yy_c];
+ }
+ yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
+ }
+
+ return yy_current_state;
+}
+
+/* yy_try_NUL_trans - try to make a transition on the NUL character
+ *
+ * synopsis
+ * next_state = yy_try_NUL_trans( current_state );
+ */
+ static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
+{
+ register int yy_is_jam;
+ register char *yy_cp = (yy_c_buf_p);
+
+ register YY_CHAR yy_c = 1;
+ if ( yy_accept[yy_current_state] )
+ {
+ (yy_last_accepting_state) = yy_current_state;
+ (yy_last_accepting_cpos) = yy_cp;
+ }
+ while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
+ {
+ yy_current_state = (int) yy_def[yy_current_state];
+ if ( yy_current_state >= 30 )
+ yy_c = yy_meta[(unsigned int) yy_c];
+ }
+ yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
+ yy_is_jam = (yy_current_state == 29);
+
+ return yy_is_jam ? 0 : yy_current_state;
+}
+
+ static void yyunput (int c, register char * yy_bp )
+{
+ register char *yy_cp;
+
+ yy_cp = (yy_c_buf_p);
+
+ /* undo effects of setting up yytext */
+ *yy_cp = (yy_hold_char);
+
+ if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
+ { /* need to shift things up to make room */
+ /* +2 for EOB chars. */
+ register yy_size_t number_to_move = (yy_n_chars) + 2;
+ register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
+ YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
+ register char *source =
+ &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
+
+ while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
+ *--dest = *--source;
+
+ yy_cp += (int) (dest - source);
+ yy_bp += (int) (dest - source);
+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
+ (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
+
+ if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
+ YY_FATAL_ERROR( "flex scanner push-back overflow" );
+ }
+
+ *--yy_cp = (char) c;
+
+ (yytext_ptr) = yy_bp;
+ (yy_hold_char) = *yy_cp;
+ (yy_c_buf_p) = yy_cp;
+}
+
+#ifndef YY_NO_INPUT
+#ifdef __cplusplus
+ static int yyinput (void)
+#else
+ static int input (void)
+#endif
+
+{
+ int c;
+
+ *(yy_c_buf_p) = (yy_hold_char);
+
+ if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
+ {
+ /* yy_c_buf_p now points to the character we want to return.
+ * If this occurs *before* the EOB characters, then it's a
+ * valid NUL; if not, then we've hit the end of the buffer.
+ */
+ if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
+ /* This was really a NUL. */
+ *(yy_c_buf_p) = '\0';
+
+ else
+ { /* need more input */
+ yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
+ ++(yy_c_buf_p);
+
+ switch ( yy_get_next_buffer( ) )
+ {
+ case EOB_ACT_LAST_MATCH:
+ /* This happens because yy_g_n_b()
+ * sees that we've accumulated a
+ * token and flags that we need to
+ * try matching the token before
+ * proceeding. But for input(),
+ * there's no matching to consider.
+ * So convert the EOB_ACT_LAST_MATCH
+ * to EOB_ACT_END_OF_FILE.
+ */
+
+ /* Reset buffer status. */
+ yyrestart(yyin );
+
+ /*FALLTHROUGH*/
+
+ case EOB_ACT_END_OF_FILE:
+ {
+ if ( yywrap( ) )
+ return EOF;
+
+ if ( ! (yy_did_buffer_switch_on_eof) )
+ YY_NEW_FILE;
+#ifdef __cplusplus
+ return yyinput();
+#else
+ return input();
+#endif
+ }
+
+ case EOB_ACT_CONTINUE_SCAN:
+ (yy_c_buf_p) = (yytext_ptr) + offset;
+ break;
+ }
+ }
+ }
+
+ c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
+ *(yy_c_buf_p) = '\0'; /* preserve yytext */
+ (yy_hold_char) = *++(yy_c_buf_p);
+
+ return c;
+}
+#endif /* ifndef YY_NO_INPUT */
+
+/** Immediately switch to a different input stream.
+ * @param input_file A readable stream.
+ *
+ * @note This function does not reset the start condition to @c INITIAL .
+ */
+ void yyrestart (FILE * input_file )
+{
+
+ if ( ! YY_CURRENT_BUFFER ){
+ yyensure_buffer_stack ();
+ YY_CURRENT_BUFFER_LVALUE =
+ yy_create_buffer(yyin,YY_BUF_SIZE );
+ }
+
+ yy_init_buffer(YY_CURRENT_BUFFER,input_file );
+ yy_load_buffer_state( );
+}
+
+/** Switch to a different input buffer.
+ * @param new_buffer The new input buffer.
+ *
+ */
+ void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
+{
+
+ /* TODO. We should be able to replace this entire function body
+ * with
+ * yypop_buffer_state();
+ * yypush_buffer_state(new_buffer);
+ */
+ yyensure_buffer_stack ();
+ if ( YY_CURRENT_BUFFER == new_buffer )
+ return;
+
+ if ( YY_CURRENT_BUFFER )
+ {
+ /* Flush out information for old buffer. */
+ *(yy_c_buf_p) = (yy_hold_char);
+ YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
+ }
+
+ YY_CURRENT_BUFFER_LVALUE = new_buffer;
+ yy_load_buffer_state( );
+
+ /* We don't actually know whether we did this switch during
+ * EOF (yywrap()) processing, but the only time this flag
+ * is looked at is after yywrap() is called, so it's safe
+ * to go ahead and always set it.
+ */
+ (yy_did_buffer_switch_on_eof) = 1;
+}
+
+static void yy_load_buffer_state (void)
+{
+ (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
+ (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
+ yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
+ (yy_hold_char) = *(yy_c_buf_p);
+}
+
+/** Allocate and initialize an input buffer state.
+ * @param file A readable stream.
+ * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
+ *
+ * @return the allocated buffer state.
+ */
+ YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
+{
+ YY_BUFFER_STATE b;
+
+ b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
+ if ( ! b )
+ YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
+
+ b->yy_buf_size = size;
+
+ /* yy_ch_buf has to be 2 characters longer than the size given because
+ * we need to put in 2 end-of-buffer characters.
+ */
+ b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
+ if ( ! b->yy_ch_buf )
+ YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
+
+ b->yy_is_our_buffer = 1;
+
+ yy_init_buffer(b,file );
+
+ return b;
+}
+
+/** Destroy the buffer.
+ * @param b a buffer created with yy_create_buffer()
+ *
+ */
+ void yy_delete_buffer (YY_BUFFER_STATE b )
+{
+
+ if ( ! b )
+ return;
+
+ if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
+ YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
+
+ if ( b->yy_is_our_buffer )
+ yyfree((void *) b->yy_ch_buf );
+
+ yyfree((void *) b );
+}
+
+/* Initializes or reinitializes a buffer.
+ * This function is sometimes called more than once on the same buffer,
+ * such as during a yyrestart() or at EOF.
+ */
+ static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
+
+{
+ int oerrno = errno;
+
+ yy_flush_buffer(b );
+
+ b->yy_input_file = file;
+ b->yy_fill_buffer = 1;
+
+ /* If b is the current buffer, then yy_init_buffer was _probably_
+ * called from yyrestart() or through yy_get_next_buffer.
+ * In that case, we don't want to reset the lineno or column.
+ */
+ if (b != YY_CURRENT_BUFFER){
+ b->yy_bs_lineno = 1;
+ b->yy_bs_column = 0;
+ }
+
+ b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
+
+ errno = oerrno;
+}
+
+/** Discard all buffered characters. On the next scan, YY_INPUT will be called.
+ * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
+ *
+ */
+ void yy_flush_buffer (YY_BUFFER_STATE b )
+{
+ if ( ! b )
+ return;
+
+ b->yy_n_chars = 0;
+
+ /* We always need two end-of-buffer characters. The first causes
+ * a transition to the end-of-buffer state. The second causes
+ * a jam in that state.
+ */
+ b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
+ b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
+
+ b->yy_buf_pos = &b->yy_ch_buf[0];
+
+ b->yy_at_bol = 1;
+ b->yy_buffer_status = YY_BUFFER_NEW;
+
+ if ( b == YY_CURRENT_BUFFER )
+ yy_load_buffer_state( );
+}
+
+/** Pushes the new state onto the stack. The new state becomes
+ * the current state. This function will allocate the stack
+ * if necessary.
+ * @param new_buffer The new state.
+ *
+ */
+void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
+{
+ if (new_buffer == NULL)
+ return;
+
+ yyensure_buffer_stack();
+
+ /* This block is copied from yy_switch_to_buffer. */
+ if ( YY_CURRENT_BUFFER )
+ {
+ /* Flush out information for old buffer. */
+ *(yy_c_buf_p) = (yy_hold_char);
+ YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
+ }
+
+ /* Only push if top exists. Otherwise, replace top. */
+ if (YY_CURRENT_BUFFER)
+ (yy_buffer_stack_top)++;
+ YY_CURRENT_BUFFER_LVALUE = new_buffer;
+
+ /* copied from yy_switch_to_buffer. */
+ yy_load_buffer_state( );
+ (yy_did_buffer_switch_on_eof) = 1;
+}
+
+/** Removes and deletes the top of the stack, if present.
+ * The next element becomes the new top.
+ *
+ */
+void yypop_buffer_state (void)
+{
+ if (!YY_CURRENT_BUFFER)
+ return;
+
+ yy_delete_buffer(YY_CURRENT_BUFFER );
+ YY_CURRENT_BUFFER_LVALUE = NULL;
+ if ((yy_buffer_stack_top) > 0)
+ --(yy_buffer_stack_top);
+
+ if (YY_CURRENT_BUFFER) {
+ yy_load_buffer_state( );
+ (yy_did_buffer_switch_on_eof) = 1;
+ }
+}
+
+/* Allocates the stack if it does not exist.
+ * Guarantees space for at least one push.
+ */
+static void yyensure_buffer_stack (void)
+{
+ yy_size_t num_to_alloc;
+
+ if (!(yy_buffer_stack)) {
+
+ /* First allocation is just for 2 elements, since we don't know if this
+ * scanner will even need a stack. We use 2 instead of 1 to avoid an
+ * immediate realloc on the next call.
+ */
+ num_to_alloc = 1;
+ (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
+ (num_to_alloc * sizeof(struct yy_buffer_state*)
+ );
+ if ( ! (yy_buffer_stack) )
+ YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
+
+ memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
+
+ (yy_buffer_stack_max) = num_to_alloc;
+ (yy_buffer_stack_top) = 0;
+ return;
+ }
+
+ if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
+
+ /* Increase the buffer to prepare for a possible push. */
+ int grow_size = 8 /* arbitrary grow size */;
+
+ num_to_alloc = (yy_buffer_stack_max) + grow_size;
+ (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
+ ((yy_buffer_stack),
+ num_to_alloc * sizeof(struct yy_buffer_state*)
+ );
+ if ( ! (yy_buffer_stack) )
+ YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
+
+ /* zero only the new slots.*/
+ memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
+ (yy_buffer_stack_max) = num_to_alloc;
+ }
+}
+
+/** Setup the input buffer state to scan directly from a user-specified character buffer.
+ * @param base the character buffer
+ * @param size the size in bytes of the character buffer
+ *
+ * @return the newly allocated buffer state object.
+ */
+YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
+{
+ YY_BUFFER_STATE b;
+
+ if ( size < 2 ||
+ base[size-2] != YY_END_OF_BUFFER_CHAR ||
+ base[size-1] != YY_END_OF_BUFFER_CHAR )
+ /* They forgot to leave room for the EOB's. */
+ return 0;
+
+ b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
+ if ( ! b )
+ YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
+
+ b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
+ b->yy_buf_pos = b->yy_ch_buf = base;
+ b->yy_is_our_buffer = 0;
+ b->yy_input_file = 0;
+ b->yy_n_chars = b->yy_buf_size;
+ b->yy_is_interactive = 0;
+ b->yy_at_bol = 1;
+ b->yy_fill_buffer = 0;
+ b->yy_buffer_status = YY_BUFFER_NEW;
+
+ yy_switch_to_buffer(b );
+
+ return b;
+}
+
+/** Setup the input buffer state to scan a string. The next call to yylex() will
+ * scan from a @e copy of @a str.
+ * @param yystr a NUL-terminated string to scan
+ *
+ * @return the newly allocated buffer state object.
+ * @note If you want to scan bytes that may contain NUL values, then use
+ * yy_scan_bytes() instead.
+ */
+YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
+{
+
+ return yy_scan_bytes(yystr,strlen(yystr) );
+}
+
+/** Setup the input buffer state to scan the given bytes. The next call to yylex() will
+ * scan from a @e copy of @a bytes.
+ * @param yybytes the byte buffer to scan
+ * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
+ *
+ * @return the newly allocated buffer state object.
+ */
+YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len )
+{
+ YY_BUFFER_STATE b;
+ char *buf;
+ yy_size_t n;
+ int i;
+
+ /* Get memory for full buffer, including space for trailing EOB's. */
+ n = _yybytes_len + 2;
+ buf = (char *) yyalloc(n );
+ if ( ! buf )
+ YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
+
+ for ( i = 0; i < _yybytes_len; ++i )
+ buf[i] = yybytes[i];
+
+ buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
+
+ b = yy_scan_buffer(buf,n );
+ if ( ! b )
+ YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
+
+ /* It's okay to grow etc. this buffer, and we should throw it
+ * away when we're done.
+ */
+ b->yy_is_our_buffer = 1;
+
+ return b;
+}
+
+#ifndef YY_EXIT_FAILURE
+#define YY_EXIT_FAILURE 2
+#endif
+
+static void yy_fatal_error (yyconst char* msg )
+{
+ (void) fprintf( stderr, "%s\n", msg );
+ exit( YY_EXIT_FAILURE );
+}
+
+/* Redefine yyless() so it works in section 3 code. */
+
+#undef yyless
+#define yyless(n) \
+ do \
+ { \
+ /* Undo effects of setting up yytext. */ \
+ int yyless_macro_arg = (n); \
+ YY_LESS_LINENO(yyless_macro_arg);\
+ yytext[yyleng] = (yy_hold_char); \
+ (yy_c_buf_p) = yytext + yyless_macro_arg; \
+ (yy_hold_char) = *(yy_c_buf_p); \
+ *(yy_c_buf_p) = '\0'; \
+ yyleng = yyless_macro_arg; \
+ } \
+ while ( 0 )
+
+/* Accessor methods (get/set functions) to struct members. */
+
+/** Get the current line number.
+ *
+ */
+int yyget_lineno (void)
+{
+
+ return yylineno;
+}
+
+/** Get the input stream.
+ *
+ */
+FILE *yyget_in (void)
+{
+ return yyin;
+}
+
+/** Get the output stream.
+ *
+ */
+FILE *yyget_out (void)
+{
+ return yyout;
+}
+
+/** Get the length of the current token.
+ *
+ */
+yy_size_t yyget_leng (void)
+{
+ return yyleng;
+}
+
+/** Get the current token.
+ *
+ */
+
+char *yyget_text (void)
+{
+ return yytext;
+}
+
+/** Set the current line number.
+ * @param line_number
+ *
+ */
+void yyset_lineno (int line_number )
+{
+
+ yylineno = line_number;
+}
+
+/** Set the input stream. This does not discard the current
+ * input buffer.
+ * @param in_str A readable stream.
+ *
+ * @see yy_switch_to_buffer
+ */
+void yyset_in (FILE * in_str )
+{
+ yyin = in_str ;
+}
+
+void yyset_out (FILE * out_str )
+{
+ yyout = out_str ;
+}
+
+int yyget_debug (void)
+{
+ return yy_flex_debug;
+}
+
+void yyset_debug (int bdebug )
+{
+ yy_flex_debug = bdebug ;
+}
+
+static int yy_init_globals (void)
+{
+ /* Initialization is the same as for the non-reentrant scanner.
+ * This function is called from yylex_destroy(), so don't allocate here.
+ */
+
+ (yy_buffer_stack) = 0;
+ (yy_buffer_stack_top) = 0;
+ (yy_buffer_stack_max) = 0;
+ (yy_c_buf_p) = (char *) 0;
+ (yy_init) = 0;
+ (yy_start) = 0;
+
+/* Defined in main.c */
+#ifdef YY_STDINIT
+ yyin = stdin;
+ yyout = stdout;
+#else
+ yyin = (FILE *) 0;
+ yyout = (FILE *) 0;
+#endif
+
+ /* For future reference: Set errno on error, since we are called by
+ * yylex_init()
+ */
+ return 0;
+}
+
+/* yylex_destroy is for both reentrant and non-reentrant scanners. */
+int yylex_destroy (void)
+{
+
+ /* Pop the buffer stack, destroying each element. */
+ while(YY_CURRENT_BUFFER){
+ yy_delete_buffer(YY_CURRENT_BUFFER );
+ YY_CURRENT_BUFFER_LVALUE = NULL;
+ yypop_buffer_state();
+ }
+
+ /* Destroy the stack itself. */
+ yyfree((yy_buffer_stack) );
+ (yy_buffer_stack) = NULL;
+
+ /* Reset the globals. This is important in a non-reentrant scanner so the next time
+ * yylex() is called, initialization will occur. */
+ yy_init_globals( );
+
+ return 0;
+}
+
+/*
+ * Internal utility routines.
+ */
+
+#ifndef yytext_ptr
+static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
+{
+ register int i;
+ for ( i = 0; i < n; ++i )
+ s1[i] = s2[i];
+}
+#endif
+
+#ifdef YY_NEED_STRLEN
+static int yy_flex_strlen (yyconst char * s )
+{
+ register int n;
+ for ( n = 0; s[n]; ++n )
+ ;
+
+ return n;
+}
+#endif
+
+void *yyalloc (yy_size_t size )
+{
+ return (void *) malloc( size );
+}
+
+void *yyrealloc (void * ptr, yy_size_t size )
+{
+ /* The cast to (char *) in the following accommodates both
+ * implementations that use char* generic pointers, and those
+ * that use void* generic pointers. It works with the latter
+ * because both ANSI C and C++ allow castless assignment from
+ * any pointer type to void*, and deal with argument conversions
+ * as though doing an assignment.
+ */
+ return (void *) realloc( (char *) ptr, size );
+}
+
+void yyfree (void * ptr )
+{
+ free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
+}
+
+#define YYTABLES_NAME "yytables"
+
+#line 321 "wileyEndNoteFilt.ll"
+
+
+
+int main(int argc, char *argv[])
+{
+ ++argv, --argc; /* Skip over program name. */
+ if (argc > 0)
+ yyin = fopen(argv[0], "r");
+ else
+ yyin = stdin;
+ yylex();
+ return 0 ;
+}
+
diff --git a/biblio/bibtex/utils/r2bib/wileyEndNoteFilt.ll b/biblio/bibtex/utils/r2bib/wileyEndNoteFilt.ll
new file mode 100644
index 0000000000..7ebcf5ec6a
--- /dev/null
+++ b/biblio/bibtex/utils/r2bib/wileyEndNoteFilt.ll
@@ -0,0 +1,332 @@
+ /* This is a lex(1) file, see http://dinosaur.compilertools.net/
+ * or http://en.wikipedia.org/wiki/Lex_programming_tool .
+ *
+ * Compilation on UNIX systems is done by
+ * make wileyEndNoteFilt
+ * On other systems one may need to call lex or flex and cc explicitly:
+ * lex -8 -o wileyEndNoteFilt.c wileyEndNoteFilt.l
+ * cc [-s] [-O] [-D MSDOS] [-D WILEYENDNOTERIS] -o wileyEndNoteFilt wileyEndNoteFilt.c -ll
+ *
+ * Definition of the macro MSDOS means that the output is rewritten
+ * with CR+LF line terminators (which alternatively can be achieved
+ * by the standard unix2dos(1)).
+ *
+ * Definition of the macro WILEYENDNOTERIS means that the RIS type tags
+ * "A1 - " and "A2 - " are handled supposing that there is only
+ * one name per line and swapping first and last names.
+ *
+ * The executable works as a filter and converts author names produced
+ * by downloading EndNote files from Wiley's web pages such that they become
+ * standardized. This means: the initials (first names) and last names of authors
+ * are swapped and separated by a comma on output, and multiple
+ * authors become separate lines.
+ *
+ * Use examples:
+ * cat *.enw | wileyEndNoteFilt
+ * cat *.enw | recode h1..h4 | wileyEndNoteFilt > tmp.end ; end2xml tmp.end > tmp.xml
+ *
+ * Notes:
+ * The filter changes lines of the %A or %E tag containing at least one author.
+ * This means (i) the author list is only parsed until a line feed, so author
+ * lists continued on lines that do not start with another tag will remain
+ * incomplete
+ * (ii) a tag followed by no author is copied through unchanged.
+ *
+ * Richard J. Mathar, 2010-01-21
+ */
+%option noyywrap
+
+%{
+#include <string.h>
+#include <stdlib.h>
+
+/* remove trailing carriage return and line feeds from inp
+* (this string may be changed on output).
+*/
+void trimlf(char *inp)
+{
+ /* point to the last non-0 character */
+ char *c = inp+strlen(inp)-1 ;
+ while ( *c == '\n' || *c == '\r' )
+ *c-- = '\0' ;
+}
+
+/* remove blanks at the start and/or end of inp
+* (this string may be changed on output).
+*/
+void trim(char *inp)
+{
+ /* point to the last non-0 character */
+ char *c = inp+strlen(inp)-1 ;
+ while ( *c == ' ')
+ *c-- = '\0' ;
+
+ while( *inp == ' ')
+ memmove(inp,inp+1,strlen(inp)) ;
+}
+
+#define WILEYENDNOTEFILT_MAX_AUTH 2048
+#define WILEYENDNOTEFILT_MAX_TRAIL 32
+
+/* Handle a single name without any separator
+* @param inp A string of the form "firstname middle-name lastname".
+*/
+void revStr1(char *inp, const char *tag)
+{
+
+ /* Search for the last blank, usually right before the last name.
+ * This does not yet handle cases like Marvin D. den Anker
+ * with composite last names, or Henry Ford II with roman numbers like I
+ * or II following...
+ */
+ char * lastbl=strrchr(inp,' ') ;
+
+ if ( lastbl != inp )
+ {
+ /* the revised string: lastname, firstinitls[, trail]; */
+ char resul[WILEYENDNOTEFILT_MAX_AUTH] ;
+
+ /* a trailing portion like Jr., II etc. German cases like Dr. Werner von Braun, where "Dr." is
+ * part of the trialing portion but syntactically in front of the first name are not handled
+ * correctly. Similarly "Pope Paul Benedict" will yield strange results.
+ * We also assume that the roman numerals are not followed by dots.
+ */
+ char trail[WILEYENDNOTEFILT_MAX_TRAIL] ;
+
+ int lastl ;
+
+ memset(trail,'\0',WILEYENDNOTEFILT_MAX_TRAIL) ;
+
+ /* back up if this is a composite name followed by Jr., Sr. or a dotless Roman numeral from I to VII */
+ if ( strcmp(lastbl," I")==0 || strcmp(lastbl," II")==0 || strcmp(lastbl," III")==0 || strcmp(lastbl," Jr.")==0
+ || strcmp(lastbl," IV")==0 || strcmp(lastbl," V")==0 || strcmp(lastbl," VI")==0 || strcmp(lastbl," VII")==0
+ || strcmp(lastbl," Sr.")==0
+ )
+ {
+ /* copy the trailing piece over and chop it off the original string
+ */
+ sprintf(trail,",%s",lastbl) ;
+ *lastbl = '\0' ;
+ lastbl=strrchr(inp,' ') ;
+ }
+
+ /* Start of the surname. Derived names of Spanish, Dutch or German origin. Does not catch the German
+ * "Graefin" or similar titles which use diacritical vocals.
+ * Start with the longest matches (that is: catch the "Baron" in "Baron von Munchhausen", not the "von").
+ */
+ char * surn= strstr(inp," Baron ") ; /* triggers also Baron von Munchhausen, for example */
+ if ( surn == NULL)
+ surn= strstr(inp," Duke ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," Earl ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," Graf ") ; /* triggers also "Graf von", "Graf zu" etc */
+ if ( surn == NULL)
+ surn= strstr(inp," Gr\344fin ") ; /* assume U+00E4 for the diaresis in UTF-8 */
+ if ( surn == NULL)
+ surn= strstr(inp," Herzog ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," v. d. ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," von ") ; /* triggers also on "von der" */
+ if ( surn == NULL)
+ surn= strstr(inp," Von ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," van ") ; /* triggers also "van den", "van der", "van de" */
+ if ( surn == NULL)
+ surn= strstr(inp," Van ") ; /* Van Morrisson is intepreted as a last name */
+ if ( surn == NULL)
+ surn= strstr(inp," da ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," Da ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," de ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," De ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," du ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," Du ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," do ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," Do ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," della ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," Della ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," le ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," Le ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," dos ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," Dos ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," ter ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," Ter ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," ten ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," Ten ") ;
+ /* the cases "e" and "i" are handled unsafely here:
+ * probably another component of the family name
+ * precedes these */
+ if ( surn == NULL)
+ surn= strstr(inp," e ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," E ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," i ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," de ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," De ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," den ") ;
+ if ( surn == NULL)
+ surn= strstr(inp," Den ") ;
+
+ /* if no such modifier is found: assume the last name starts at the last blank */
+ if ( surn == NULL)
+ surn= lastbl ;
+
+ lastl= strlen(inp)-(surn-inp)-1 ;
+ memset(resul,'\0',WILEYENDNOTEFILT_MAX_AUTH) ;
+ strncpy(resul,surn+1,lastl) ;
+
+ if ( surn != inp)
+ {
+ /* output separator comma: lastname, firstname. Firstname starts with a blank. */
+ strcat(resul,",") ;
+#ifdef WILEYENDNOTEFILT_RIS
+ strcat(resul," ") ;
+#endif
+ strncat(resul,inp,surn-inp) ;
+ }
+
+ /* if there is a trailing portion append. Usually this is
+ * just '\0' and appending does not hurt.
+ */
+ strcat(resul,trail) ;
+
+ trim(resul) ;
+#ifdef MSDOS
+ fprintf(yyout,"%s %s\r\n",tag,resul) ;
+#else
+ fprintf(yyout,"%s %s\n",tag,resul) ;
+#endif
+ }
+ else
+ /* If there is no blank, this is probably a single last name, which we copy as is
+ * (without comma) to stdout.
+ */
+#ifdef MSDOS
+ fprintf(yyout,"%s%s\r\n",tag,inp) ;
+#else
+ fprintf(yyout,"%s%s\n",tag,inp) ;
+#endif
+}
+#undef WILEYENDNOTEFILT_MAX_AUTH
+#undef WILEYENDNOTEFILT_MAX_TRAIL
+
+/** Split the line (without the starting "%A " or "%E " EndNote tag) into
+* the individual authors (which are each followed by a comma).
+* @param inp A string of the form "first-author, second-author, last-author,"
+* or "first-author, second-author, last-author" or "first-author".
+* @param tag The "%A" or "%E"
+*/
+void revStr(const char *inp, const char *tag)
+{
+ /* strtok(3) modifies 'inp', so we construct a temporary copy.
+ */
+ char *inpsave = (char *) malloc((strlen(inp)+1)*sizeof(char)) ;
+ char *tok ;
+ char *tokreent ;
+
+ strcpy(inpsave,inp) ;
+ trimlf(inpsave) ;
+ /* Loop over all terminating separators (=commas) */
+ tok = inpsave ;
+
+#ifdef WILEYENDNOTEFILT_RIS
+ trim(tok) ;
+ revStr1(tok,tag) ;
+#else
+
+
+ tok = strtok_r(inpsave,",",&tokreent) ;
+ while(tok)
+ {
+
+ /* skip leading white space in author names
+ while(*tok == ' ')
+ tok++ ;
+ */
+
+ /* pass the "firstinit secndinit lastname" to the subroutine
+ * without the comma separator.
+ */
+ revStr1(tok,tag) ;
+ tok = strtok_r(NULL,",",&tokreent) ;
+ }
+#endif
+ free(inpsave) ;
+}
+%}
+
+TAGA "%A "
+TAGARIS "A1 - "
+TAGE "%E "
+TAGERIS "A2 - "
+%%
+{TAGA}.+\n {
+
+ /* if this is a tag followed by one or more authors, push the list
+ * of authors, including the LF, the initial blank after the tag and all commas, to revStr().
+ */
+ revStr(yytext+2,"%A") ;
+ }
+{TAGARIS}.+\n {
+
+#ifdef WILEYENDNOTEFILT_RIS
+ /* if this is a tag followed by one or more authors, push the list
+ * of authors, including the LF, the initial blank after the tag and all commas, to revStr().
+ */
+ revStr(yytext+5,"A1 -") ;
+#else
+ fprintf(yyout,"%s",yytext) ;
+#endif
+ }
+
+{TAGE}.+\n {
+
+ /* Same as above for the list of editors.
+ */
+ revStr(yytext+2,"%E") ;
+ }
+
+{TAGERIS}.+\n {
+
+#ifdef WILEYENDNOTEFILT_RIS
+ /* Same as above for the list of editors.
+ */
+ revStr(yytext+5,"A2 -") ;
+#else
+ fprintf(yyout,"%s",yytext) ;
+#endif
+ }
+%%
+
+int main(int argc, char *argv[])
+{
+ ++argv, --argc; /* Skip over program name. */
+ if (argc > 0)
+ yyin = fopen(argv[0], "r");
+ else
+ yyin = stdin;
+ yylex();
+ return 0 ;
+}
diff --git a/biblio/bibtex/utils/r2bib/ylwrap b/biblio/bibtex/utils/r2bib/ylwrap
new file mode 100755
index 0000000000..1c4d77612c
--- /dev/null
+++ b/biblio/bibtex/utils/r2bib/ylwrap
@@ -0,0 +1,249 @@
+#! /bin/sh
+# ylwrap - wrapper for lex/yacc invocations.
+
+scriptversion=2012-12-21.17; # UTC
+
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
+#
+# Written by Tom Tromey <tromey@cygnus.com>.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# This file is maintained in Automake, please report
+# bugs to <bug-automake@gnu.org> or send patches to
+# <automake-patches@gnu.org>.
+
+get_dirname ()
+{
+ case $1 in
+ */*|*\\*) printf '%s\n' "$1" | sed -e 's|\([\\/]\)[^\\/]*$|\1|';;
+ # Otherwise, we want the empty string (not ".").
+ esac
+}
+
+# guard FILE
+# ----------
+# The CPP macro used to guard inclusion of FILE.
+guard()
+{
+ printf '%s\n' "$1" \
+ | sed \
+ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \
+ -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g' \
+ -e 's/__*/_/g'
+}
+
+# quote_for_sed [STRING]
+# ----------------------
+# Return STRING (or stdin) quoted to be used as a sed pattern.
+quote_for_sed ()
+{
+ case $# in
+ 0) cat;;
+ 1) printf '%s\n' "$1";;
+ esac \
+ | sed -e 's|[][\\.*]|\\&|g'
+}
+
+case "$1" in
+ '')
+ echo "$0: No files given. Try '$0 --help' for more information." 1>&2
+ exit 1
+ ;;
+ --basedir)
+ basedir=$2
+ shift 2
+ ;;
+ -h|--h*)
+ cat <<\EOF
+Usage: ylwrap [--help|--version] INPUT [OUTPUT DESIRED]... -- PROGRAM [ARGS]...
+
+Wrapper for lex/yacc invocations, renaming files as desired.
+
+ INPUT is the input file
+ OUTPUT is one file PROG generates
+ DESIRED is the file we actually want instead of OUTPUT
+ PROGRAM is program to run
+ ARGS are passed to PROG
+
+Any number of OUTPUT,DESIRED pairs may be used.
+
+Report bugs to <bug-automake@gnu.org>.
+EOF
+ exit $?
+ ;;
+ -v|--v*)
+ echo "ylwrap $scriptversion"
+ exit $?
+ ;;
+esac
+
+
+# The input.
+input="$1"
+shift
+# We'll later need for a correct munging of "#line" directives.
+input_sub_rx=`get_dirname "$input" | quote_for_sed`
+case "$input" in
+ [\\/]* | ?:[\\/]*)
+ # Absolute path; do nothing.
+ ;;
+ *)
+ # Relative path. Make it absolute.
+ input="`pwd`/$input"
+ ;;
+esac
+input_rx=`get_dirname "$input" | quote_for_sed`
+
+# Since DOS filename conventions don't allow two dots,
+# the DOS version of Bison writes out y_tab.c instead of y.tab.c
+# and y_tab.h instead of y.tab.h. Test to see if this is the case.
+y_tab_nodot=false
+if test -f y_tab.c || test -f y_tab.h; then
+ y_tab_nodot=true
+fi
+
+# The parser itself, the first file, is the destination of the .y.c
+# rule in the Makefile.
+parser=$1
+
+# A sed program to s/FROM/TO/g for all the FROM/TO so that, for
+# instance, we rename #include "y.tab.h" into #include "parse.h"
+# during the conversion from y.tab.c to parse.c.
+sed_fix_filenames=
+
+# Also rename header guards, as Bison 2.7 for instance uses its header
+# guard in its implementation file.
+sed_fix_header_guards=
+
+while test "$#" -ne 0; do
+ if test "$1" = "--"; then
+ shift
+ break
+ fi
+ from=$1
+ # Handle y_tab.c and y_tab.h output by DOS
+ if $y_tab_nodot; then
+ case $from in
+ "y.tab.c") from=y_tab.c;;
+ "y.tab.h") from=y_tab.h;;
+ esac
+ fi
+ shift
+ to=$1
+ shift
+ sed_fix_filenames="${sed_fix_filenames}s|"`quote_for_sed "$from"`"|$to|g;"
+ sed_fix_header_guards="${sed_fix_header_guards}s|"`guard "$from"`"|"`guard "$to"`"|g;"
+done
+
+# The program to run.
+prog="$1"
+shift
+# Make any relative path in $prog absolute.
+case "$prog" in
+ [\\/]* | ?:[\\/]*) ;;
+ *[\\/]*) prog="`pwd`/$prog" ;;
+esac
+
+# FIXME: add hostname here for parallel makes that run commands on
+# other machines. But that might take us over the 14-char limit.
+dirname=ylwrap$$
+do_exit="cd '`pwd`' && rm -rf $dirname > /dev/null 2>&1;"' (exit $ret); exit $ret'
+trap "ret=129; $do_exit" 1
+trap "ret=130; $do_exit" 2
+trap "ret=141; $do_exit" 13
+trap "ret=143; $do_exit" 15
+mkdir $dirname || exit 1
+
+cd $dirname
+
+case $# in
+ 0) "$prog" "$input" ;;
+ *) "$prog" "$@" "$input" ;;
+esac
+ret=$?
+
+if test $ret -eq 0; then
+ for from in *
+ do
+ to=`printf '%s\n' "$from" | sed "$sed_fix_filenames"`
+ if test -f "$from"; then
+ # If $2 is an absolute path name, then just use that,
+ # otherwise prepend '../'.
+ case $to in
+ [\\/]* | ?:[\\/]*) target=$to;;
+ *) target="../$to";;
+ esac
+
+ # Do not overwrite unchanged header files to avoid useless
+ # recompilations. Always update the parser itself: it is the
+ # destination of the .y.c rule in the Makefile. Divert the
+ # output of all other files to a temporary file so we can
+ # compare them to existing versions.
+ if test $from != $parser; then
+ realtarget="$target"
+ target=tmp-`printf '%s\n' "$target" | sed 's|.*[\\/]||g'`
+ fi
+
+ # Munge "#line" or "#" directives. Don't let the resulting
+ # debug information point at an absolute srcdir. Use the real
+ # output file name, not yy.lex.c for instance. Adjust the
+ # include guards too.
+ sed -e "/^#/!b" \
+ -e "s|$input_rx|$input_sub_rx|" \
+ -e "$sed_fix_filenames" \
+ -e "$sed_fix_header_guards" \
+ "$from" >"$target" || ret=$?
+
+ # Check whether files must be updated.
+ if test "$from" != "$parser"; then
+ if test -f "$realtarget" && cmp -s "$realtarget" "$target"; then
+ echo "$to is unchanged"
+ rm -f "$target"
+ else
+ echo "updating $to"
+ mv -f "$target" "$realtarget"
+ fi
+ fi
+ else
+ # A missing file is only an error for the parser. This is a
+ # blatant hack to let us support using "yacc -d". If -d is not
+ # specified, don't fail when the header file is "missing".
+ if test "$from" = "$parser"; then
+ ret=1
+ fi
+ fi
+ done
+fi
+
+# Remove the directory.
+cd ..
+rm -rf $dirname
+
+exit $ret
+
+# Local Variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
diff --git a/biblio/bibtex/utils/refer-tools/ref2bib.shar b/biblio/bibtex/utils/refer-tools/ref2bib.shar
new file mode 100644
index 0000000000..be28884237
--- /dev/null
+++ b/biblio/bibtex/utils/refer-tools/ref2bib.shar
@@ -0,0 +1,1838 @@
+#! /bin/sh
+# FROM pmaresch@hawk.ulowell.edu
+# This is a shell archive. Remove anything before this line, then unpack
+# it by saving it into a file and typing "sh file". To overwrite existing
+# files, type "sh file -c". You can also feed this as standard input via
+# unshar, or by typing "sh <file", e.g.. If this archive is complete, you
+# will see the following message at the end:
+# "End of shell archive."
+# Contents: makekeys makekeys.awk ref2bib ref2bib.awk ref2bib.dat
+# ref2bib.sed ref2bib.sh
+# Wrapped by pmaresch@hewey on Tue Jul 3 10:40:43 1990
+PATH=/bin:/usr/bin:/usr/ucb ; export PATH
+if test -f makekeys -a "${1}" != "-c" ; then
+ echo shar: Will not over-write existing file \"makekeys\"
+else
+echo shar: Extracting \"makekeys\" \(198 characters\)
+sed "s/^X//" >makekeys <<'END_OF_makekeys'
+X#!/bin/sh
+X# The shell script invokes AWK(1) to build keys from a BibTeX source file.
+X# The genereation of keys can be altered by changing the
+X# values of some awk variables
+X#
+Xawk -f makekeys.awk $*
+END_OF_makekeys
+if test 198 -ne `wc -c <makekeys`; then
+ echo shar: \"makekeys\" unpacked with wrong size!
+fi
+chmod +x makekeys
+# end of overwriting check
+fi
+if test -f makekeys.awk -a "${1}" != "-c" ; then
+ echo shar: Will not over-write existing file \"makekeys.awk\"
+else
+echo shar: Extracting \"makekeys.awk\" \(4029 characters\)
+sed "s/^X//" >makekeys.awk <<'END_OF_makekeys.awk'
+X#
+X# makekeys
+X#
+X# AWK(1) source file to build a key according the information
+X# in the 'author' or 'organization' fields.
+X# Pierre Mareschal (c) 1989
+X# Original from:
+X# Ref2bib(1L) - A Refer(1) to BibTeX(1L) converter
+X#
+XBEGIN{
+X for(i=1;i<=27;i++)
+X addkey[i] = substr("abcdefghijklmnopqrstuvwxyz",i,1);
+X lkey = 4; # number of characters used from authors to make key
+X maxauthor = 1; # maximum number of authors to use in constructing key
+X rx = 1; # current entry
+X firstnamefirst=1; # true="First Lastname", false ="Lastname First"
+X quote=1; # Field separator is either " or {
+X usedate=1; # use date in key
+X check=0; # debug mode
+X}
+X
+X/^@/ {
+X done=$0
+X split($0,type,"{")
+X}
+X
+X/[yY][eE][aA][rR]/ {
+X entry[lines] = $0
+X lines++
+X D ++;
+X if(D > 1) {
+X err=1
+X print "Two dates: Reference " rx > "makekeys.errs"
+X print date > "makekeys.errs"
+X }
+X split($0,db,"\"")
+X if((db[2]<1900)||(db[2]>=2000)) {
+X split($0,db,"{")
+X if((db[2]<1900)||(db[2]>=2000)) {
+X split($0,db,"=")
+X if((db[2]<1900)||(db[2]>=2000)) {
+X err=1
+X print "Date error? : Reference " rx > "makekeys.errs"
+X }
+X }
+X }
+X date = substr(db[2], 0, 4)
+X next
+X}
+X
+X/[aA][uU][tT][hH][oO][rR]/ {
+X entry[lines] = $0
+X lines++
+X if (A==0) keys="";
+X A ++;
+X if(A > maxauthor) next
+X
+X i = 1
+X if(quote==1) {
+X split($0,tmp,"\""); split(tmp[2],tmp2,"\""); split(tmp2[1],names)
+X } else {
+X split($0,tmp,"{"); split(tmp[2],tmp2,"}"); split(tmp2[1],names)
+X }
+X while(names[i] != "") {
+X if(firstnamefirst == 1) {
+X while( (names[i] != "and") && (names[i] != "")) i++
+X lastname=names[i-1]
+X } else {
+X lastname=names[i]
+X while( (names[i] != "and") && (names[i] != "")) i++
+X }
+X i++
+X ic = 0
+X lc = 1
+X while(ic < lkey && lc <= length(lastname) ) {
+X kc = substr(lastname, lc, 1)
+X if ( kc ~ /[a-zA-Z]/ ) {
+X keys = keys kc
+X ic++
+X if(ic==lkey) break
+X } else if ( kc == "\\" ) {
+X lc ++;
+X }
+X lc ++;
+X }
+X A ++;
+X if(A > maxauthor) next
+X }
+X next
+X}
+X
+X
+X/[oO][rR][gG][aA][nN][iI][sSzZ][aA][tT][iI][oO][nN]/ {
+X entry[lines] = $0
+X lines++
+X if (O==0) okeys="";
+X O ++;
+X if(O > maxauthor) next
+X
+X i = 1
+X if(quote==1) {
+X split($0,tmp,"\""); split(tmp[2],tmp2,"\""); split(tmp2[1],names)
+X } else {
+X split($0,tmp,"{"); split(tmp[2],tmp2,"}"); split(tmp2[1],names)
+X }
+X while(names[i] != "") {
+X if(firstnamefirst == 1) {
+X while( (names[i] != "and") && (names[i] != "")) i++
+X lastname=names[i-1]
+X } else {
+X lastname=names[i]
+X while( (names[i] != "and") && (names[i] != "")) i++
+X }
+X i++
+X ic = 0
+X lc = 1
+X while(ic < lkey && lc <= length(lastname) ) {
+X kc = substr(lastname, lc, 1)
+X if ( kc ~ /[a-zA-Z]/ ) {
+X okeys = okeys kc
+X ic++
+X if(ic==lkey) break
+X } else if ( kc == "\\" ) {
+X lc ++;
+X }
+X lc ++;
+X }
+X O ++;
+X if(O > maxauthor) next
+X }
+X next
+X}
+X
+X!/^@/ {
+X entry[lines] = $0
+X lines++
+X}
+X
+X/^$/ {
+X if( lines > 1 ) {
+X ndate = split(date,df)
+X if ( ndate > 2) print " Funny date " date > "makekeys.errs"
+X if (ndate == 1 ) {
+X df[2] = df[1]
+X df[1] = ""
+X }
+X if((keys == "") && (okeys != "")) keys = okeys
+X if(keys == "") keys = "ANON"
+X if(usedate == 1) {
+X keys = keys substr(df[2],3,2)
+X }
+X if(keyused[keys] >=1) {
+X key_suffix = keyused[keys]++;
+X keys = keys addkey[key_suffix];
+X } else {
+X keyused[keys] = 1
+X }
+X if(check==1) print done
+X printf "%s{%s,\n",type[1],keys
+X for(line = 1; line < lines; line++) {
+X print entry[line];
+X }
+X keys=""
+X okeys=""
+X type[1]=""
+X A=0
+X D=0
+X lines=1
+X rx++
+X }
+X}
+X
+XEND { if( lines > 1 ) {
+X ndate = split(date,df)
+X if ( ndate > 2) print " Funny date " date > "makekeys.errs"
+X if (ndate == 1 ) {
+X df[2] = df[1]
+X df[1] = ""
+X }
+X if((keys == "") && (okeys != "")) keys = okeys
+X if(keys == "") keys = "ANON"
+X if(usedate == 1) {
+X keys = keys substr(df[2],3,2)
+X }
+X if(keyused[keys] >=1) {
+X key_suffix = keyused[keys]++;
+X keys = keys addkey[key_suffix];
+X } else {
+X keyused[keys] = 1
+X }
+X if(check==1) print done
+X printf "%s{%s,\n",type[1],keys
+X for(line = 1; line < lines; line++) {
+X print entry[line];
+X }
+X keys=""
+X okeys=""
+X type[1]=""
+X A=0
+X D=0
+X lines=1
+X rx++
+X }
+X}
+END_OF_makekeys.awk
+if test 4029 -ne `wc -c <makekeys.awk`; then
+ echo shar: \"makekeys.awk\" unpacked with wrong size!
+fi
+# end of overwriting check
+fi
+if test -f ref2bib -a "${1}" != "-c" ; then
+ echo shar: Will not over-write existing file \"ref2bib\"
+else
+echo shar: Extracting \"ref2bib\" \(328 characters\)
+sed "s/^X//" >ref2bib <<'END_OF_ref2bib'
+X#!/bin/sh
+X# shell script to convert refer (or bib) databases to BiBTeX format
+X# reads its arguments (or standard input)
+X# and writes the BibTeX to standard output
+X# errors etc. in ref2bib.errs
+X# The gnereation of keys can be altered by changing the
+X# values of some awk variables
+X#
+Xsed -f ref2bib.sed $* | awk -f ref2bib.awk
+END_OF_ref2bib
+if test 328 -ne `wc -c <ref2bib`; then
+ echo shar: \"ref2bib\" unpacked with wrong size!
+fi
+chmod +x ref2bib
+# end of overwriting check
+fi
+if test -f ref2bib.awk -a "${1}" != "-c" ; then
+ echo shar: Will not over-write existing file \"ref2bib.awk\"
+else
+echo shar: Extracting \"ref2bib.awk\" \(13137 characters\)
+sed "s/^X//" >ref2bib.awk <<'END_OF_ref2bib.awk'
+X#
+X# awk script to convert refer (or bib) format databases
+X# to BiBTeX format.
+X#
+X# written by Peter King, Heriot-Watt University
+X# use freely, but dont claim that you wrote it
+X#
+X# Generates keys using authors names and year (see %A entry )
+X#
+X# You may wish to alter treatment of key fields that are ignored
+X# such as %U %W %Y %K etc.
+X#
+X# regular expressions should be sorted according to frequency
+X# so that minimal tests are made
+X# From tests in a local data base the order given appears quite good
+X# 2883 %A
+X# 1813 blank lines
+X# 1774 %T
+X# 1764 %D
+X# 1505 %P
+X# 1347 %J
+X# 1331 %V
+X# 1201 %N
+X# 773 .. continuation lines
+X# 501 %C
+X# 424 %I
+X# 192 %B
+X# 187 %E
+X# 92 %S
+X# 89 %R
+X# 33 %X
+X# 30 %K
+X# 16 %O
+X# 12 %any other % lines
+X#
+XBEGIN {
+X for(i=1;i<=27;i++)
+X addkey[i] = substr(" abcdefghijklmnopqrstuvwxyz",i,1);
+X lkey = 3; # number of characters used from authors to make key
+X maxauthor = 3; # maximum number of authors to use in
+X # constructing key
+X rx = 1
+X }
+X
+X/\\[*u0]/ || /\\d[^{]/|| /\\s[^s]/ {
+X err = 1
+X print "Non translated \\ symbol : Reference " rx > "ref2bib.errs"
+X print $0 > "ref2bib.errs"
+X }
+X
+X/^%A/ {
+X if (A==0) keys="";
+X A ++; lastx = "A";
+X authors[A] = substr($0,4)
+X if(A> maxauthor) next
+X ic = 0
+X lc = 1
+X while(ic < lkey && lc <= length($NF) ){
+X kc = substr( $NF, lc, 1)
+X if ( kc ~ /[a-zA-Z]/ ){
+X keys = keys kc
+X ic++
+X if(ic==lkey) next
+X }
+X else if ( kc == "\\" ) lc ++;
+X lc ++;
+X }
+X next
+X }
+X
+X/^$/ {
+X if(NR==pr+1){
+X }
+X else {
+X refs ++
+X # if FILENAME != prevname then new file
+X acnt[A]++;if(A>MaxA)MaxA=A;
+X if(T==0)print "No title : Reference "refs" "keys > "ref2bib.errs"
+X if(A==0)print "No author : Reference "refs" "keys > "ref2bib.errs"
+X if(D==0)print "No date : Reference "refs" "keys > "ref2bib.errs"
+X if( (!T)||(!A)||(!D))err=1;
+X # classify the reference
+X if(J){
+X #journal or conference
+X if(B||E||R)print "Journal & book?: Reference "refs" "keys > "ref2bib.errs"
+X if(C||I) {conf++
+X type = "INPROCEEDINGS"
+X }
+X else{
+X jour ++;
+X type = "ARTICLE"
+X }
+X if(!P) print "No page nos.? : Reference "refs" "keys > "ref2bib.errs"
+X if( B||E||R||(!P))err=1
+X if(err){
+X print "Journal reference in error" > "ref2bib.errs"
+X }
+X }
+X else
+X if(B){
+X # article in book
+X type = "INCOLLECTION"
+X bookart++
+X if(N||R||(!E)||(!I)||(!C)||(!P)||(V&&(!S)))err=1
+X if(!E) print "No editor? Reference "refs" " keys > "ref2bib.errs"
+X if(!I) print "No publisher? Reference "refs" " keys > "ref2bib.errs"
+X if(!C) print "No city? Reference "refs" " keys > "ref2bib.errs"
+X if(!P) print "No page nos.? Reference "refs" " keys > "ref2bib.errs"
+X if(V&&(!S))print "Volume but no Series Reference "refs" " keys > "ref2bib.errs"
+X if(N)print "Issue no.? Reference "refs" " keys > "ref2bib.errs"
+X if(R)print "Report? Reference "refs" " keys > "ref2bib.errs"
+X if(err){
+X print "Book reference in error" > "ref2bib.errs"
+X }
+X }
+X else if(R){
+X #report
+X type = "TECHREPORT"
+X reps++
+X if(E||N)err=1
+X if(N)print "Issue no.? Reference "refs" " keys > "ref2bib.errs"
+X if(E) print "Editor? Reference "refs" " keys > "ref2bib.errs"
+X if(err){
+X print "Report reference in error" > "ref2bib.errs"
+X }
+X }
+X else if(I){
+X wholebook ++
+X type = "BOOK"
+X # book
+X if(N||R||E||(!C)||(V&&(!S)))err=1
+X if(!C) print "No city? Reference "refs" " keys > "ref2bib.errs"
+X if(N)print "Issue no.? Reference "refs" " keys > "ref2bib.errs"
+X if(E)print "Editor? Reference "refs" " keys > "ref2bib.errs"
+X if(V&&(!S))print "Volume but no Series Reference "refs" " keys > "ref2bib.errs"
+X if(err){
+X print "Book reference in error" > "ref2bib.errs"
+X }
+X }
+X else {
+X unclass ++
+X type = "MISC"
+X err=1
+X print "Unclassified reference in error" > "ref2bib.errs"
+X }
+X
+X # generate date
+X ndate = split(date,df)
+X if ( ndate > 2) print " Funny date " date > "ref2bib.errs"
+X if (ndate == 1 ) { df[2] = df[1]; df[1] = ""; }
+X
+X
+X # generate key
+X if(keys == "") keys = "ANON"
+X keys = keys substr(df[2],3,2)
+X if(keyused[keys] >=1) {
+X key_suffix = keyused[keys]++;
+X keys = keys addkey[key_suffix];
+X }
+X else keyused[keys] = 1
+X if (err) {
+X print "Key: " keys > "ref2bib.errs"
+X if(A) for (i=1;i<=A;i++)
+X print "%A " authors[i] > "ref2bib.errs"
+X if(T) print "%T " title > "ref2bib.errs"
+X if(J) print "%J "journal > "ref2bib.errs"
+X if(B) print "%B "book > "ref2bib.errs"
+X if(V) print "%V "volume > "ref2bib.errs"
+X if(N) print "%N "number > "ref2bib.errs"
+X if(I) print "%I "publisher > "ref2bib.errs"
+X if(C) print "%C "city > "ref2bib.errs"
+X if(E) for (i=1;i<=E;i++)print "%E "editor[i] > "ref2bib.errs"
+X if(S) print "%S "series > "ref2bib.errs"
+X if(P) print "%P "pages > "ref2bib.errs"
+X if(R) print "%R "report > "ref2bib.errs"
+X if(D) print "%D "date > "ref2bib.errs"
+X if(O) print "%O "other > "ref2bib.errs"
+X print "" > "ref2bib.errs"
+X }
+X
+X if(T){
+X twc = split(title,z)
+X title = z[1]; lt = length(z[1]);
+X for(i=2;i<=twc;i++) {
+X if(lt +length(z[i]) >= 55) {sc = "\n\t\t";lt = 0;}
+X else sc = " ";
+X title = title sc z[i]
+X lt += length(z[i]) + 1
+X }
+X }
+X if(O){
+X twc = split(other,z)
+X other = z[1]; lt = length(z[1]);
+X for(i=2;i<=twc;i++) {
+X if(lt + length(z[i]) >= 55) {sc = "\n\t\t";lt = 0;}
+X else sc = " ";
+X other = other sc z[i]
+X lt += length(z[i]) + 1
+X }
+X }
+X if(X){
+X twc = split(abstr,z)
+X abstr = z[1]; lt = length(z[1]);
+X for(i=2;i<=twc;i++) {
+X if(lt + length(z[i]) >= 55) {sc = "\n\t\t";lt = 0;}
+X else sc = " ";
+X abstr = abstr sc z[i]
+X lt += length(z[i]) + 1
+X }
+X }
+X
+X printf "@%s{%s",type,keys
+X if(A) {
+X printf ",\n\tauthor={%s",authors[1]
+X for(i=2;i<=A;i++) printf " and %s",authors[i]
+X printf "}"
+X }
+X if(T) printf ",\n\ttitle={%s}",title
+X if(B) printf ",\n\tbooktitle={%s}",book
+X if(E) {
+X printf ",\n\teditor={%s",editor[1]
+X for(i=2;i<=E;i++) printf " and\n\t\t%s",editor[i]
+X printf "}"
+X }
+X if(I) printf ",\n\tpublisher={%s}",publisher
+X if(C) printf ",\n\taddress={%s}",city
+X if(J) { # substitute the journal abbreviations from the standard styles
+X journal = "{ " journal "}"
+X # {acmcs} {"ACM Computing Surveys"}
+X if ( journal ~ /Comp.* Sur/ ) journal = "acmcs"
+X # {acta} {"Acta Informatica"}
+X if ( journal ~ /Acta Inf/ ) journal = "acta"
+X # {cacm} {"Communications of the ACM"}
+X if ( journal ~ /Com.* ACM/ ) journal = "cacm"
+X if ( journal ~ /CACM/ ) journal = "cacm"
+X # {ibmjrd} {"IBM Journal of Research and Development"}
+X if ( journal ~ /IBM J.*R.*D/ ) journal = "ibmjrd"
+X # {ibmsj} {"IBM Systems Journal"}
+X if ( journal ~ /IBM Sy.*J/ ) journal = "ibmsj"
+X # {ieeese} {"IEEE Transactions on Software Engineering"}
+X if ( journal ~ /IEEE Tran.*Soft.*Eng/ ) journal = "ieeese"
+X # {ieeetc} {"IEEE Transactions on Computers"}
+X if ( journal ~ /IEEE Tran.*Computers/ ) journal = "ieeetc"
+X # {ieeetcad}
+X if ( journal ~ /IEEE Tran.*Comp.*Desig/ ) journal = "ieeetcad"
+X # {ipl} {"Information Processing Letters"}
+X if ( journal ~ /Inf.*Proc.*Lett/ ) journal = "ipl"
+X # {jacm} {"Journal of the ACM"}
+X if ( journal ~ /Jou.* ACM/ ) journal = "jacm"
+X if ( journal ~ /JACM/ ) journal = "jacm"
+X # {jcss} {"Journal of Computer and System Sciences"}
+X if ( journal ~ /J.*Comp.*Sys.*Sc/ ) journal = "jcss"
+X # {scp} {"Science of Computer Programming"}
+X if ( journal ~ /Sc.*Comp.*Prog/ ) journal = "scp"
+X # {sicomp} {"SIAM Journal on Computing"}
+X if ( journal ~ /SIAM .*Comp/ ) journal = "sicomp"
+X # {tocs} {"ACM Transactions on Computer Systems"}
+X if ( journal ~ /ACM Tran.*Comp.*Sys/ ) journal = "tocs"
+X # {tods} {"ACM Transactions on Database Systems"}
+X if ( journal ~ /ACM Tran.*Data.*Sys/ ) journal = "tods"
+X # {tog} {"ACM Transactions on Graphics"}
+X if ( journal ~ /ACM Tran.*Grap/ ) journal = "tog"
+X # {toms} {"ACM Transactions on Mathematical Software"}
+X if ( journal ~ /ACM Tran.*Math.*Soft/ ) journal = "toms"
+X # {toois} {"ACM Transactions on Office Information Systems"}
+X if ( journal ~ /ACM Tran.*Off.*Inf.*Sys/ ) journal = "toois"
+X # {toplas} {"ACM Transactions on Programming Languages and Systems"}
+X if ( journal ~ /ACM Tran.*Prog.*Lan.*Sys/ ) journal = "toplas"
+X # {tcs} {"Theoretical Computer Science"}
+X if ( journal ~ /Th.*Comp.*Sci/ ) journal = "tcs"
+X
+X printf ",\n\tjournal=%s",journal
+X }
+X if(V) printf ",\n\tvolume={%s}",volume
+X if(N) printf ",\n\tnumber={%s}",number
+X if(P) printf ",\n\tpages={%s}",pages
+X if(O) printf ",\n\tnote={%s}",other
+X if(R) printf ",\n\tnumber={%s}",report
+X if(S) printf ",\n\tseries={%s}",series
+X if(df[1] != "")
+X printf ",\n\tmonth={%s}",df[1]
+X if(D) printf ",\n\tyear={%s}",df[2]
+X if(X) printf ",\n\tannote={%s}",abstr
+X if(L) printf ",\n\tkey={%s}",label
+X printf "\n}\n\n"
+X
+X A=0;B=0;C=0;D=0;E=0;F=0;G=0;H=0;I=0;J=0;
+X K=0;L=0;M=0;N=0;O=0;P=0;Q=0;R=0;S=0;T=0;
+X U=0;V=0;W=0;X=0;Y=0;Z=0;
+X type = ""
+X book=""
+X title = ""
+X volume = ""
+X city = ""
+X date = ""
+X publisher = ""
+X journal = ""
+X number = ""
+X other = ""
+X page = ""
+X report = ""
+X series = ""
+X toterr +=err
+X rx++
+X }
+X err = 0
+X pr = NR
+X next
+X }
+X
+X/^%T/ {
+X T ++; lastx = "T"
+X if(T>1){err=1
+X print "Two titles: Reference " rx > "ref2bib.errs"
+X print title > "ref2bib.errs"
+X }
+X title = substr($0,4)
+X next
+X }
+X
+X/^%D/ {
+X D ++; lastx = "D"
+X if(D>1){err=1
+X print "Two dates: Reference " rx > "ref2bib.errs"
+X print date > "ref2bib.errs"
+X }
+X if(($NF<1900)||($NF>=2000)){err=1
+X print "Date error? : Reference " rx > "ref2bib.errs"
+X }
+X date = substr($0,4);
+X next
+X }
+X
+X/^%P/ {
+X P ++; lastx = "P"
+X if(P>1){err=1
+X print "Two page nos? : Reference " rx > "ref2bib.errs"
+X print pages > "ref2bib.errs"
+X }
+X pages = substr($0,4)
+X next
+X }
+X
+X/^%J/ {
+X J ++; lastx = "J"
+X if(J>1){err=1
+X print "Two journals: Reference " rx > "ref2bib.errs"
+X print journal > "ref2bib.errs"
+X }
+X journal = substr($0,4)
+X next
+X }
+X
+X/^%V/ {
+X V ++; lastx = "V"
+X if(V>1){err=1
+X print "Two volumes: Reference " rx > "ref2bib.errs"
+X print volume > "ref2bib.errs"
+X }
+X volume = substr($0,4)
+X next
+X }
+X
+X/^%N/ {
+X N ++; lastx = "N"
+X if(N>1){err=1
+X print "Two issue numbers: Reference " rx > "ref2bib.errs"
+X print number > "ref2bib.errs"
+X }
+X number = substr($0,4)
+X next
+X }
+X
+X/^[^%]/ {
+X if( lastx == "A") authors[A] = authors[A] " " $0
+X if( lastx == "B") book = book " " $0
+X if( lastx == "C") city = city " " $0
+X if( lastx == "D") date = date " " $0
+X if( lastx == "E") editor[E] = editor[E] " " $0
+X if( lastx == "I") publisher = publisher " " $0
+X if( lastx == "J") journal = journal " " $0
+X if( lastx == "L") label = label " " $0
+X if( lastx == "N") number = number " " $0
+X if( lastx == "O") other = other " " $0
+X if( lastx == "P") pages = pages " " $0
+X if( lastx == "R") report = report " " $0
+X if( lastx == "S") series = series " " $0
+X if( lastx == "T") title = title " " $0
+X if( lastx == "V") volume = volume " " $0
+X if( lastx == "X") abstr = abstr " " $0
+X next
+X }
+X
+X/^%C/ {
+X C ++; lastx = "C"
+X if(C>1){err=1
+X print "Two cities: Reference " rx > "ref2bib.errs"
+X print city > "ref2bib.errs"
+X print " 2 cities " FILENAME, pr+1, NR > "ref2bib.errs"
+X }
+X city = substr($0,4)
+X next
+X }
+X
+X/^%I/ {
+X I ++; lastx = "I"
+X if(I>1){err=1
+X print "Two publishers: Reference " rx > "ref2bib.errs"
+X print publisher > "ref2bib.errs"
+X }
+X publisher = substr($0,4)
+X next
+X }
+X
+X/^%B/ {
+X B ++; lastx = "B"
+X if(B>1){err=1
+X print "Two books: Reference " rx > "ref2bib.errs"
+X print book > "ref2bib.errs"
+X }
+X book = substr($0,4)
+X next
+X }
+X
+X/^%E/ { # this really deals with 'bib' format
+X # refer only allows one %E fielsd, so we ought to
+X # split it somehow
+X E ++; lastx = "E"
+X editor[E] = substr($0,4)
+X next
+X }
+X
+X/^%[^ABCDEIJKLNOPRSTVX]/ {
+X F ++; lastx = "F"; # should not get these
+X print "Unexpected flag: Reference " rx > "ref2bib.errs"
+X print $0 > "ref2bib.errs"
+X err = 1
+X next
+X }
+X
+X/^%O/ {
+X O ++; lastx = "O"
+X if(O>1){err=1
+X print "Two others: Reference " rx > "ref2bib.errs"
+X print other > "ref2bib.errs"
+X }
+X other = substr($0,4)
+X next
+X }
+X
+X/^%S/ {
+X S ++; lastx = "S"
+X if(S>1){err=1
+X print "Two series: Reference " rx > "ref2bib.errs"
+X print series > "ref2bib.errs"
+X }
+X series = substr($0,4)
+X next
+X }
+X
+X/^%R/ {
+X R ++; lastx = "R"
+X if(R>1){err=1
+X print "Two reports: Reference " rx > "ref2bib.errs"
+X print report > "ref2bib.errs"
+X }
+X report = substr($0,4)
+X next
+X }
+X
+X/^%X/ {
+X X ++; lastx = "X"
+X abstr = substr($0,4)
+X if(X>1){err=1
+X print "Two abstracts: Reference " rx > "ref2bib.errs"
+X }
+X next
+X }
+X
+X/^%K/ {
+X lastx = "K"
+X next
+X }
+XEND {
+X print refs " references" > "ref2bib.errs"
+X if(toterr) print toterr " erroneous" > "ref2bib.errs"
+X if(conf) print conf " conference papers" > "ref2bib.errs"
+X if(jour) print jour " journal articles" > "ref2bib.errs"
+X if(wholebook) print wholebook " books" > "ref2bib.errs"
+X if(totB) print totB " book articles" > "ref2bib.errs"
+X if(reps) print reps " reports" > "ref2bib.errs"
+X if(unclass) print unclass " Unclassified" > "ref2bib.errs"
+X if(totO) print totO " have additional information." > "ref2bib.errs"
+X if(totK) print totK " have additional keywords." > "ref2bib.errs"
+X if(totX) print totX " have abstracts/commentaries." > "ref2bib.errs"
+X print totA " authors" > "ref2bib.errs"
+X for(i=0;i<=MaxA;i++)if(acnt[i]){
+X print i, " authors ", acnt[i] > "ref2bib.errs"
+X av += i*acnt[i]
+X }
+X print "Average ", av/refs > "ref2bib.errs"
+X print totT " titles" > "ref2bib.errs"
+X print "Key frequencies" > "ref2bib.errs"
+X for(k in keyused) print k, keyused[k] > "ref2bib.errs"
+X
+X }
+END_OF_ref2bib.awk
+if test 13137 -ne `wc -c <ref2bib.awk`; then
+ echo shar: \"ref2bib.awk\" unpacked with wrong size!
+fi
+# end of overwriting check
+fi
+if test -f ref2bib.dat -a "${1}" != "-c" ; then
+ echo shar: Will not over-write existing file \"ref2bib.dat\"
+else
+echo shar: Extracting \"ref2bib.dat\" \(2302 characters\)
+sed "s/^X//" >ref2bib.dat <<'END_OF_ref2bib.dat'
+X%A Larry Rowe
+X%T Report on the 1989 Software CAD Databases Workshop
+X%I Computer Science Division-EECS, U.C. Berkeley
+X%D March 1989
+X%J To be Published
+X%K scad report
+X
+X%A Bienvenido Velez
+X%T Data Base Representations For Programs
+X%D November 1988
+X%C University of California, Berkeley
+X%R MS Report
+X%K C program database
+X
+X%A Philip A. Bernstein
+X%T Database System Support for Software Engineering -- An Extende
+Xd Abstract --
+X%D 1987
+X
+X%A James R. Larus
+X%T An Interactive Program Analysis System For Franz Lisp
+X%D October 1982
+X%C University of California, Berkeley
+X%R MS Report
+X%K lisp database program analysis
+X
+X%A Margaret H. Butler
+X%T Persistent LISP: Storing Interobject References in a Database
+X%D November 1987
+X%C University of California, Berkeley
+X%R Report No. UCB CSD 88-401, PhD Thesis
+X%K persistent lisp database
+X
+X%A Scott E. Hudson
+X%A Roger King
+X%T Object-Oriented Database Support for Software Development Envi
+Xronments
+X%J Proceedings of ACM SIGMOD 1987 Annual Conference
+X%D May, 1987
+X%C San Francisco, California
+X
+X%A Mark Bigger
+X%T A Database Model for Software Development Environments
+X%D 1986
+X%K UCLA Eng-Math, LD791.8 C6 B482
+X
+X%A Mark Linton
+X%T Queries and Views of Programs Using a Relational Database Syst
+Xem
+X%R PhD Thesis
+X%D December 1983
+X%C University of California, Berkeley
+X%K omega programs relations
+X
+X%A Michael Powell
+X%T Database Support For Programming Environments
+X%J Proceedings Eng. Design Applications of ACM-IEEE Data Base Wee
+Xk
+X%C San Jose, Ca.
+X%D May 1983.
+X%A Mark Linton
+X%T Implementing Relational Views of Programs
+X%J Proc of the ACM SIGSOFT-SIGPLAN software engineering symposium
+X on practical software development environments.
+X%C Pittsburgh, Penn
+X%D April 1984
+X%K relational views programs
+X
+X%A R. Snodgrass
+X%T Monitoring a Software Development Environment: a Relational Ap
+Xproach
+X%J Proc. of the ACM SIGSOFT-SIGPLAN Software Engineering Symposiu
+Xm on
+XPractical Software Development Environments.
+X%C Pittsburgh, Penn
+X%D April 1984
+X%K monitoring environment relational
+X
+X%A S. Horwitz
+X%A T. Teitelbaum
+X%T Relations and Attributes: A Symbiotic Basis for Editing Enviro
+Xnments
+X%J Proc. of the ACM SIGSOFT-SIGPLAN Software Engineering Symposiu
+Xm On Practical Software Development Environments.
+X%C Pittsburgh, Penn
+X%D April 1984
+X%K relations attributed grammars environments
+END_OF_ref2bib.dat
+if test 2302 -ne `wc -c <ref2bib.dat`; then
+ echo shar: \"ref2bib.dat\" unpacked with wrong size!
+fi
+# end of overwriting check
+fi
+if test -f ref2bib.sed -a "${1}" != "-c" ; then
+ echo shar: Will not over-write existing file \"ref2bib.sed\"
+else
+echo shar: Extracting \"ref2bib.sed\" \(4389 characters\)
+sed "s/^X//" >ref2bib.sed <<'END_OF_ref2bib.sed'
+X#
+X# sed script to do some of the ref to bib database conversion
+X#
+X# written by Peter King, Heriot-Watt University
+X# You may do anything you like with this code
+X# EXCEPT claim that you wrote it
+X#
+X# First alter the TeX special characters
+Xs/\(.\)%/\1\\%/g
+Xs/&/\\&/g
+Xs/\$/\\$/g
+Xs/#/\\#/g
+Xs/_/\\_/g
+Xs/{/\\{/g
+Xs/}/\\}/g
+X# convert the special characters and accents from troff to BibTeX
+X# assumes the accents are those of the Berkeley -ms with .AM
+X#
+X/\\/s/\(.\)\\\\*\*'/{\\'\1}/g
+X/\\/s/\(.\)\\\\*\*`/{\\`\1}/g
+X/\\/s/\(.\)\\\\*\*^/{\\^\1}/g
+X/\\/s/\(.\)\\\\*\*:/{\\"\1}/g
+X/\\/s/\(.\)\\\\*\*~/{\\~\1}/g
+X/\\/s/\(.\)\\\\*\*_/{\\=\1}/g
+X/\\/s/\([oO]\)\\\\*\*\//{\\\1}/g
+X/\\/s/\([aA]\)\\\\*\*o/{\\\1\1}/g
+X/\\/s/\(.\)\\\\*\*,/{\\c{\1}}/g
+X/\\/s/\(.\)\\\\*\*v/{\\v{\1}}/g
+X/\\/s/\(.\)\\\\*\*"/{\\H{\1}}/g
+X/\\/s/\(.\)\\\\*\*\./{\\d{\1}}/g
+X/\\/s/\\\\*\*8/{\\ss}/g
+X/\\/s/\\\\*\*(P\([lL]\)/{\\\1}/g
+X/\\/s/\\\\*\*(\([oO]\)\//{\\\1}/g
+X# quotes
+X/\\/s/\\\\*\*Q/``/g
+X/\\/s/\\\\*\*U/''/g
+X/\\/s/\\\\*\*-/---/g
+X# \0 as space between surname de\0Souza etc.
+X/\\/s/\\\\*0\([a-z]*\)\\\\*0/\\0\1 /g
+X/\\/s/ \([a-z]*\)\\\\*0/ \1 /g
+X# but trap the ones that start with a capital letter and convert them to
+X# ties
+X/\\/s/\\\\*0/~/g
+X#
+X# now deal with special characters and Greek
+X/\\/s/\\\\*(em/---/g
+X/\\/s/\\\\*(if/$\\infty$/g
+X/\\/s/\\\\*(\*a/$\\alpha$/g
+X/\\/s/\\\\*(\*b/$\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+X/\\/s/\\\\*(\*S/$\\Sigma$/g
+X/\\/s/\\\\*(\*T/T/g
+X/\\/s/\\\\*(\*U/$\\Upsilon$/g
+X/\\/s/\\\\*(\*F/$\\Phi$/g
+X/\\/s/\\\\*(\*X/X/g
+X/\\/s/\\\\*(\*Q/$\\Psi$/g
+X/\\/s/\\\\*(\*W/$\\Omega$/g
+X# Now trap title words that must be capitalised
+X/^%[^T]/b
+X#
+X# first all words that are all capitals (at least two consecutive)
+X# we need the slashes to allow for M/M/1 queues
+Xs;[A-Z][A-Z/][A-Z/0-9]*;{&};g
+X#
+X# then some proper names
+X# first some mathematicians
+X# (for some I've added the Pattern [^ -]* toe the end to get Markov,
+X# Markovian, etc.
+Xs/Abel/{&}/g
+Xs/Bernoulli/{&}/g
+Xs/Bessel/{&}/g
+Xs/Beta/{&}/g
+Xs/Borel/{&}/g
+Xs/Cauchy/{&}/g
+Xs/Church/{&}/g
+Xs/Rosser/{&}/g
+Xs/Dedekind/{&}/g
+Xs/Descartes/{&}/g
+Xs/Dirichlet/{&}/g
+Xs/Euclid[^ -,;]*/{&}/g
+Xs/Euler/{&}/g
+Xs/Fibonacci/{&}/g
+Xs/Fermat/{&}/g
+Xs/Fourier/{&}/g
+Xs/Fresnel/{&}/g
+Xs/Frobenius/{&}/g
+Xs/Perron/{&}/g
+Xs/Gamma/{&}/g
+Xs/Gauss[^ -,;]*/{&}/g
+Xs/Hilbert/{&}/g
+Xs/Horner/{&}/g
+Xs/Holder/{&}/g
+Xs/Jacobi[^ -,;]*/{&}/g
+Xs/Jensen/{&}/g
+Xs/Markov[^ -,;]*/{&}/g
+Xs/Arnoldi/{&}/g
+Xs/Laplace/{&}/g
+Xs/Laguerre/{&}/g
+Xs/Lagrange/{&}/g
+Xs/Legendre/{&}/g
+Xs/Leibnitz/{&}/g
+Xs/Rayleigh/{&}/g
+Xs/Ritz/{&}/g
+Xs/Riemann/{&}/g
+X# this is really Rouche (acute accent) , but the accent processing will disrupt it
+Xs/Rouch/{&}/g
+Xs/Stieltjes/{&}/g
+Xs/Stiener/{&}/g
+Xs/Schwarz/{&}/g
+Xs/Weibull/{&}/g
+Xs/Wald/{&}/g
+Xs/Kronecker/{&}/g
+Xs/Diophantine/{&}/g
+Xs/Delbrouck/{&}/g
+Xs/Bayes[^ -,;]*/{&}/g
+Xs/Jackson/{&}/g
+Xs/Newhall/{&}/g
+Xs/Turing/{&}/g
+Xs/Norton/{&}/g
+Xs/Petri/{&}/g
+Xs/Wilkinson/{&}/g
+Xs/Skinner/{&}/g
+Xs/Schafer/{&}/g
+Xs/Dempster/{&}/g
+Xs/Runge/{&}/g
+Xs/Kutta/{&}/g
+Xs/Pollaczek/{&}/g
+Xs/Khinchin/{&}/g
+Xs/Palm/{&}/g
+Xs/Erlang/{&}/g
+Xs/Engset/{&}/g
+Xs/Little's/{&}/g
+Xs/Kosten/{&}/g
+Xs/Gittins/{&}/g
+Xs/Feller/{&}/g
+Xs/Cox/{&}/g
+Xs/Poisson/{&}/g
+Xs/Chapman/{&}/g
+Xs/Kolmogorov/{&}/g
+Xs/Smirnov/{&}/g
+Xs/Weiner/{&}/g
+Xs/Hopf/{&}/g
+Xs/Stirling/{&}/g
+X
+X# computing
+Xs/Buzen/{&}/g
+Xs/Gordon/{&}/g
+Xs/Newell/{&}/g
+Xs/Lemoine/{&}/g
+Xs/Pierce/{&}/g
+Xs/Harrison/{&}/g
+Xs/Cambridge/{&}/g
+Xs/Ethernet/{&}/g
+Xs/Aloha/{&}/g
+X
+X# coding theory
+Xs/Hamming/{&}/g
+Xs/Huffman/{&}/g
+Xs/Reed/{&}/g
+Xs/Shannon/{&}/g
+Xs/Solomon/{&}/g
+Xs/Viterbi/{&}/g
+END_OF_ref2bib.sed
+if test 4389 -ne `wc -c <ref2bib.sed`; then
+ echo shar: \"ref2bib.sed\" unpacked with wrong size!
+fi
+# end of overwriting check
+fi
+if test -f ref2bib.sh -a "${1}" != "-c" ; then
+ echo shar: Will not over-write existing file \"ref2bib.sh\"
+else
+echo shar: Extracting \"ref2bib.sh\" \(18299 characters\)
+sed "s/^X//" >ref2bib.sh <<'END_OF_ref2bib.sh'
+X#!/bin/sh
+X#
+X# shell script to convert refer (or bib) databases to BiBTeX format
+X#
+X# reads its arguments (or standard input)
+X# and writes the BibTeX to standard output
+X#
+X# the in-line files ref2b*.{sed,awk} do not change, and could be
+X# stored in a library somewhere. The sed script can actually be
+X# given as an argument in ' ' quotes provided the ' in the
+X# file are replaced with '\'' !!
+X# the awk script is too large for this treatment.
+X#
+X# The gnereation of keys can be altered by changing the
+X# values of some awk variables
+X#
+X# errors etc. in ref2bib.errs
+X#
+Xcat << 'ZZ' >ref2b$$.sed
+X#
+X# sed script to do some of the ref to bib database conversion
+X#
+X# written by Peter King, Heriot-Watt University
+X# You may do anything you like with this code
+X# EXCEPT claim that you wrote it
+X#
+X# First alter the TeX special characters
+Xs/\(.\)%/\1\\%/g
+Xs/&/\\&/g
+Xs/\$/\\$/g
+Xs/#/\\#/g
+Xs/_/\\_/g
+Xs/{/\\{/g
+Xs/}/\\}/g
+X# convert the special characters and accents from troff to BibTeX
+X# assumes the accents are those of the Berkeley -ms with .AM
+X#
+X/\\/s/\(.\)\\\\*\*'/{\\'\1}/g
+X/\\/s/\(.\)\\\\*\*`/{\\`\1}/g
+X/\\/s/\(.\)\\\\*\*^/{\\^\1}/g
+X/\\/s/\(.\)\\\\*\*:/{\\"\1}/g
+X/\\/s/\(.\)\\\\*\*~/{\\~\1}/g
+X/\\/s/\(.\)\\\\*\*_/{\\=\1}/g
+X/\\/s/\([oO]\)\\\\*\*\//{\\\1}/g
+X/\\/s/\([aA]\)\\\\*\*o/{\\\1\1}/g
+X/\\/s/\(.\)\\\\*\*,/{\\c{\1}}/g
+X/\\/s/\(.\)\\\\*\*v/{\\v{\1}}/g
+X/\\/s/\(.\)\\\\*\*"/{\\H{\1}}/g
+X/\\/s/\(.\)\\\\*\*\./{\\d{\1}}/g
+X/\\/s/\\\\*\*8/{\\ss}/g
+X/\\/s/\\\\*\*(P\([lL]\)/{\\\1}/g
+X/\\/s/\\\\*\*(\([oO]\)\//{\\\1}/g
+X# quotes
+X/\\/s/\\\\*\*Q/``/g
+X/\\/s/\\\\*\*U/''/g
+X/\\/s/\\\\*\*-/---/g
+X# \0 as space between surname de\0Souza etc.
+X/\\/s/\\\\*0\([a-z]*\)\\\\*0/\\0\1 /g
+X/\\/s/ \([a-z]*\)\\\\*0/ \1 /g
+X# but trap the ones that start with a capital letter and convert them to
+X# ties
+X/\\/s/\\\\*0/~/g
+X#
+X# now deal with special characters and Greek
+X/\\/s/\\\\*(em/---/g
+X/\\/s/\\\\*(if/$\\infty$/g
+X/\\/s/\\\\*(\*a/$\\alpha$/g
+X/\\/s/\\\\*(\*b/$\\beta$/g
+X/\\/s/\\\\*(\*g/$\\gamma$/g
+X/\\/s/\\\\*(\*d/$\\delta$/g
+X/\\/s/\\\\*(\*e/$\\epsilon$/g
+X/\\/s/\\\\*(\*z/$\\zeta$/g
+X/\\/s/\\\\*(\*y/$\\eta$/g
+X/\\/s/\\\\*(\*h/$\\theta$/g
+X/\\/s/\\\\*(\*i/$\\iota$/g
+X/\\/s/\\\\*(\*k/$\\kappa$/g
+X/\\/s/\\\\*(\*l/$\\lambda$/g
+X/\\/s/\\\\*(\*m/$\\mu$/g
+X/\\/s/\\\\*(\*n/$\\nu$/g
+X/\\/s/\\\\*(\*c/$\\xi$/g
+X/\\/s/\\\\*(\*o/$o$/g
+X/\\/s/\\\\*(\*p/$\\pi$/g
+X/\\/s/\\\\*(\*r/$\\rho$/g
+X/\\/s/\\\\*(\*s/$\\sigma$/g
+X/\\/s/\\\\*(\*t/$\\tau$/g
+X/\\/s/\\\\*(\*u/$\\upsilon$/g
+X/\\/s/\\\\*(\*f/$\\phi$/g
+X/\\/s/\\\\*(\*x/$\\chi$/g
+X/\\/s/\\\\*(\*q/$\\psi$/g
+X/\\/s/\\\\*(\*w/$\\omega$/g
+X/\\/s/\\\\*(\*A/A/g
+X/\\/s/\\\\*(\*B/B/g
+X/\\/s/\\\\*(\*G/$\\Gamma$/g
+X/\\/s/\\\\*(\*D/$\\Delta$/g
+X/\\/s/\\\\*(\*E/E/g
+X/\\/s/\\\\*(\*Z/Z/g
+X/\\/s/\\\\*(\*Y/H/g
+X/\\/s/\\\\*(\*H/$\\Theta$/g
+X/\\/s/\\\\*(\*I/I/g
+X/\\/s/\\\\*(\*K/K/g
+X/\\/s/\\\\*(\*L/$\\Lambda$/g
+X/\\/s/\\\\*(\*M/M/g
+X/\\/s/\\\\*(\*N/N/g
+X/\\/s/\\\\*(\*C/$\\Xi$/g
+X/\\/s/\\\\*(\*O/$O$/g
+X/\\/s/\\\\*(\*P/$\\Pi$/g
+X/\\/s/\\\\*(\*R/P/g
+X/\\/s/\\\\*(\*S/$\\Sigma$/g
+X/\\/s/\\\\*(\*T/T/g
+X/\\/s/\\\\*(\*U/$\\Upsilon$/g
+X/\\/s/\\\\*(\*F/$\\Phi$/g
+X/\\/s/\\\\*(\*X/X/g
+X/\\/s/\\\\*(\*Q/$\\Psi$/g
+X/\\/s/\\\\*(\*W/$\\Omega$/g
+X# Now trap title words that must be capitalised
+X/^%[^T]/b
+X#
+X# first all words that are all capitals (at least two consecutive)
+X# we need the slashes to allow for M/M/1 queues
+Xs;[A-Z][A-Z/][A-Z/0-9]*;{&};g
+X#
+X# then some proper names
+X# first some mathematicians
+X# (for some I've added the Pattern [^ -]* toe the end to get Markov,
+X# Markovian, etc.
+Xs/Abel/{&}/g
+Xs/Bernoulli/{&}/g
+Xs/Bessel/{&}/g
+Xs/Beta/{&}/g
+Xs/Borel/{&}/g
+Xs/Cauchy/{&}/g
+Xs/Church/{&}/g
+Xs/Rosser/{&}/g
+Xs/Dedekind/{&}/g
+Xs/Descartes/{&}/g
+Xs/Dirichlet/{&}/g
+Xs/Euclid[^ -,;]*/{&}/g
+Xs/Euler/{&}/g
+Xs/Fibonacci/{&}/g
+Xs/Fermat/{&}/g
+Xs/Fourier/{&}/g
+Xs/Fresnel/{&}/g
+Xs/Frobenius/{&}/g
+Xs/Perron/{&}/g
+Xs/Gamma/{&}/g
+Xs/Gauss[^ -,;]*/{&}/g
+Xs/Hilbert/{&}/g
+Xs/Horner/{&}/g
+Xs/Holder/{&}/g
+Xs/Jacobi[^ -,;]*/{&}/g
+Xs/Jensen/{&}/g
+Xs/Markov[^ -,;]*/{&}/g
+Xs/Arnoldi/{&}/g
+Xs/Laplace/{&}/g
+Xs/Laguerre/{&}/g
+Xs/Lagrange/{&}/g
+Xs/Legendre/{&}/g
+Xs/Leibnitz/{&}/g
+Xs/Rayleigh/{&}/g
+Xs/Ritz/{&}/g
+Xs/Riemann/{&}/g
+X# this is really Rouche (acute accent) , but the accent processing will disrupt it
+Xs/Rouch/{&}/g
+Xs/Stieltjes/{&}/g
+Xs/Stiener/{&}/g
+Xs/Schwarz/{&}/g
+Xs/Weibull/{&}/g
+Xs/Wald/{&}/g
+Xs/Kronecker/{&}/g
+Xs/Diophantine/{&}/g
+Xs/Delbrouck/{&}/g
+Xs/Bayes[^ -,;]*/{&}/g
+Xs/Jackson/{&}/g
+Xs/Newhall/{&}/g
+Xs/Turing/{&}/g
+Xs/Norton/{&}/g
+Xs/Petri/{&}/g
+Xs/Wilkinson/{&}/g
+Xs/Skinner/{&}/g
+Xs/Schafer/{&}/g
+Xs/Dempster/{&}/g
+Xs/Runge/{&}/g
+Xs/Kutta/{&}/g
+Xs/Pollaczek/{&}/g
+Xs/Khinchin/{&}/g
+Xs/Palm/{&}/g
+Xs/Erlang/{&}/g
+Xs/Engset/{&}/g
+Xs/Little's/{&}/g
+Xs/Kosten/{&}/g
+Xs/Gittins/{&}/g
+Xs/Feller/{&}/g
+Xs/Cox/{&}/g
+Xs/Poisson/{&}/g
+Xs/Chapman/{&}/g
+Xs/Kolmogorov/{&}/g
+Xs/Smirnov/{&}/g
+Xs/Weiner/{&}/g
+Xs/Hopf/{&}/g
+Xs/Stirling/{&}/g
+X
+X# computing
+Xs/Buzen/{&}/g
+Xs/Gordon/{&}/g
+Xs/Newell/{&}/g
+Xs/Lemoine/{&}/g
+Xs/Pierce/{&}/g
+Xs/Harrison/{&}/g
+Xs/Cambridge/{&}/g
+Xs/Ethernet/{&}/g
+Xs/Aloha/{&}/g
+X
+X# coding theory
+Xs/Hamming/{&}/g
+Xs/Huffman/{&}/g
+Xs/Reed/{&}/g
+Xs/Shannon/{&}/g
+Xs/Solomon/{&}/g
+Xs/Viterbi/{&}/g
+XZZ
+Xcat << 'ZZ' > ref2b$$.awk
+X#
+X# awk script to convert refer (or bib) format databases
+X# to BiBTeX format.
+X#
+X# written by Peter King, Heriot-Watt University
+X# use freely, but dont claim that you wrote it
+X#
+X# Generates keys using authors names and year (see %A entry )
+X#
+X# You may wish to alter treatment of key fields that are ignored
+X# such as %U %W %Y %K etc.
+X#
+X# regular expressions should be sorted according to frequency
+X# so that minimal tests are made
+X# From tests in a local data base the order given appears quite good
+X# 2883 %A
+X# 1813 blank lines
+X# 1774 %T
+X# 1764 %D
+X# 1505 %P
+X# 1347 %J
+X# 1331 %V
+X# 1201 %N
+X# 773 .. continuation lines
+X# 501 %C
+X# 424 %I
+X# 192 %B
+X# 187 %E
+X# 92 %S
+X# 89 %R
+X# 33 %X
+X# 30 %K
+X# 16 %O
+X# 12 %any other % lines
+X#
+XBEGIN {
+X for(i=1;i<=27;i++)
+X addkey[i] = substr(" abcdefghijklmnopqrstuvwxyz",i,1);
+X lkey = 3; # number of characters used from authors to make key
+X maxauthor = 3; # maximum number of authors to use in
+X # constructing key
+X rx = 1
+X }
+X
+X/\\[*u0]/ || /\\d[^{]/|| /\\s[^s]/ {
+X err = 1
+X print "Non translated \\ symbol : Reference " rx > "ref2bib.errs"
+X print $0 > "ref2bib.errs"
+X }
+X
+X/^%A/ {
+X if (A==0) keys="";
+X A ++; lastx = "A";
+X authors[A] = substr($0,4)
+X if(A> maxauthor) next
+X ic = 0
+X lc = 1
+X while(ic < lkey && lc <= length($NF) ){
+X kc = substr( $NF, lc, 1)
+X if ( kc ~ /[a-zA-Z]/ ){
+X keys = keys kc
+X ic++
+X if(ic==lkey) next
+X }
+X else if ( kc == "\\" ) lc ++;
+X lc ++;
+X }
+X next
+X }
+X
+X/^$/ {
+X if(NR==pr+1){
+X }
+X else {
+X refs ++
+X # if FILENAME != prevname then new file
+X acnt[A]++;if(A>MaxA)MaxA=A;
+X if(T==0)print "No title : Reference "refs" "keys > "ref2bib.errs"
+X if(A==0)print "No author : Reference "refs" "keys > "ref2bib.errs"
+X if(D==0)print "No date : Reference "refs" "keys > "ref2bib.errs"
+X if( (!T)||(!A)||(!D))err=1;
+X # classify the reference
+X if(J){
+X #journal or conference
+X if(B||E||R)print "Journal & book?: Reference "refs" "keys > "ref2bib.errs"
+X if(C||I) {conf++
+X type = "Inproceedings"
+X }
+X else{
+X jour ++;
+X type = "Article"
+X }
+X if(!P) print "No page nos.? : Reference "refs" "keys > "ref2bib.errs"
+X if( B||E||R||(!P))err=1
+X if(err){
+X print "Journal reference in error" > "ref2bib.errs"
+X }
+X }
+X else
+X if(B){
+X # article in book
+X type = "Incollection"
+X bookart++
+X if(N||R||(!E)||(!I)||(!C)||(!P)||(V&&(!S)))err=1
+X if(!E) print "No editor? Reference "refs" " keys > "ref2bib.errs"
+X if(!I) print "No publisher? Reference "refs" " keys > "ref2bib.errs"
+X if(!C) print "No city? Reference "refs" " keys > "ref2bib.errs"
+X if(!P) print "No page nos.? Reference "refs" " keys > "ref2bib.errs"
+X if(V&&(!S))print "Volume but no Series Reference "refs" " keys > "ref2bib.errs"
+X if(N)print "Issue no.? Reference "refs" " keys > "ref2bib.errs"
+X if(R)print "Report? Reference "refs" " keys > "ref2bib.errs"
+X if(err){
+X print "Book reference in error" > "ref2bib.errs"
+X }
+X }
+X else if(R){
+X #report
+X type = "Techreport"
+X reps++
+X if(E||N)err=1
+X if(N)print "Issue no.? Reference "refs" " keys > "ref2bib.errs"
+X if(E) print "Editor? Reference "refs" " keys > "ref2bib.errs"
+X if(err){
+X print "Report reference in error" > "ref2bib.errs"
+X }
+X }
+X else if(I){
+X wholebook ++
+X type = "Book"
+X # book
+X if(N||R||E||(!C)||(V&&(!S)))err=1
+X if(!C) print "No city? Reference "refs" " keys > "ref2bib.errs"
+X if(N)print "Issue no.? Reference "refs" " keys > "ref2bib.errs"
+X if(E)print "Editor? Reference "refs" " keys > "ref2bib.errs"
+X if(V&&(!S))print "Volume but no Series Reference "refs" " keys > "ref2bib.errs"
+X if(err){
+X print "Book reference in error" > "ref2bib.errs"
+X }
+X }
+X else {
+X unclass ++
+X type = "Misc"
+X err=1
+X print "Unclassified reference in error" > "ref2bib.errs"
+X }
+X
+X # generate date
+X ndate = split(date,df)
+X if ( ndate > 2) print " Funny date " date > "ref2bib.errs"
+X if (ndate == 1 ) { df[2] = df[1]; df[1] = ""; }
+X
+X
+X # generate key
+X if(keys == "") keys = "ANON"
+X keys = keys substr(df[2],3,2)
+X if(keyused[keys] >=1) {
+X key_suffix = keyused[keys]++;
+X keys = keys addkey[key_suffix];
+X }
+X else keyused[keys] = 1
+X if (err) {
+X print "Key: " keys > "ref2bib.errs"
+X if(A) for (i=1;i<=A;i++)
+X print "%A " authors[i] > "ref2bib.errs"
+X if(T) print "%T " title > "ref2bib.errs"
+X if(J) print "%J "journal > "ref2bib.errs"
+X if(B) print "%B "book > "ref2bib.errs"
+X if(V) print "%V "volume > "ref2bib.errs"
+X if(N) print "%N "number > "ref2bib.errs"
+X if(I) print "%I "publisher > "ref2bib.errs"
+X if(C) print "%C "city > "ref2bib.errs"
+X if(E) for (i=1;i<=E;i++)print "%E "editor[i] > "ref2bib.errs"
+X if(S) print "%S "series > "ref2bib.errs"
+X if(P) print "%P "pages > "ref2bib.errs"
+X if(R) print "%R "report > "ref2bib.errs"
+X if(D) print "%D "date > "ref2bib.errs"
+X if(O) print "%O "other > "ref2bib.errs"
+X print "" > "ref2bib.errs"
+X }
+X
+X if(T){
+X twc = split(title,z)
+X title = z[1]; lt = length(z[1]);
+X for(i=2;i<=twc;i++) {
+X if(lt +length(z[i]) >= 55) {sc = "\n\t\t";lt = 0;}
+X else sc = " ";
+X title = title sc z[i]
+X lt += length(z[i]) + 1
+X }
+X }
+X if(O){
+X twc = split(other,z)
+X other = z[1]; lt = length(z[1]);
+X for(i=2;i<=twc;i++) {
+X if(lt + length(z[i]) >= 55) {sc = "\n\t\t";lt = 0;}
+X else sc = " ";
+X other = other sc z[i]
+X lt += length(z[i]) + 1
+X }
+X }
+X if(X){
+X twc = split(abstr,z)
+X abstr = z[1]; lt = length(z[1]);
+X for(i=2;i<=twc;i++) {
+X if(lt + length(z[i]) >= 55) {sc = "\n\t\t";lt = 0;}
+X else sc = " ";
+X abstr = abstr sc z[i]
+X lt += length(z[i]) + 1
+X }
+X }
+X
+X printf "@%s{\t%s",type,keys
+X if(A) {
+X printf ",\n\tAuthor = { %s",authors[1]
+X for(i=2;i<=A;i++) printf " and\n\t\t%s",authors[i]
+X printf " }"
+X }
+X if(T) printf ",\n\tTitle = { %s }",title
+X if(B) printf ",\n\tBooktitle = { %s }",book
+X if(E) {
+X printf ",\n\tEditor = { %s",editor[1]
+X for(i=2;i<=E;i++) printf " and\n\t\t%s",editor[i]
+X printf " }"
+X }
+X if(I) printf ",\n\tPublisher = { %s }",publisher
+X if(C) printf ",\n\tAddress = { %s }",city
+X if(J) { # substitute the journal abbreviations from the standard styles
+X journal = "{ " journal " }"
+X # {acmcs} {"ACM Computing Surveys"}
+X if ( journal ~ /Comp.* Sur/ ) journal = "acmcs"
+X # {acta} {"Acta Informatica"}
+X if ( journal ~ /Acta Inf/ ) journal = "acta"
+X # {cacm} {"Communications of the ACM"}
+X if ( journal ~ /Com.* ACM/ ) journal = "cacm"
+X if ( journal ~ /CACM/ ) journal = "cacm"
+X # {ibmjrd} {"IBM Journal of Research and Development"}
+X if ( journal ~ /IBM J.*R.*D/ ) journal = "ibmjrd"
+X # {ibmsj} {"IBM Systems Journal"}
+X if ( journal ~ /IBM Sy.*J/ ) journal = "ibmsj"
+X # {ieeese} {"IEEE Transactions on Software Engineering"}
+X if ( journal ~ /IEEE Tran.*Soft.*Eng/ ) journal = "ieeese"
+X # {ieeetc} {"IEEE Transactions on Computers"}
+X if ( journal ~ /IEEE Tran.*Computers/ ) journal = "ieeetc"
+X # {ieeetcad}
+X if ( journal ~ /IEEE Tran.*Comp.*Desig/ ) journal = "ieeetcad"
+X # {ipl} {"Information Processing Letters"}
+X if ( journal ~ /Inf.*Proc.*Lett/ ) journal = "ipl"
+X # {jacm} {"Journal of the ACM"}
+X if ( journal ~ /Jou.* ACM/ ) journal = "jacm"
+X if ( journal ~ /JACM/ ) journal = "jacm"
+X # {jcss} {"Journal of Computer and System Sciences"}
+X if ( journal ~ /J.*Comp.*Sys.*Sc/ ) journal = "jcss"
+X # {scp} {"Science of Computer Programming"}
+X if ( journal ~ /Sc.*Comp.*Prog/ ) journal = "scp"
+X # {sicomp} {"SIAM Journal on Computing"}
+X if ( journal ~ /SIAM .*Comp/ ) journal = "sicomp"
+X # {tocs} {"ACM Transactions on Computer Systems"}
+X if ( journal ~ /ACM Tran.*Comp.*Sys/ ) journal = "tocs"
+X # {tods} {"ACM Transactions on Database Systems"}
+X if ( journal ~ /ACM Tran.*Data.*Sys/ ) journal = "tods"
+X # {tog} {"ACM Transactions on Graphics"}
+X if ( journal ~ /ACM Tran.*Grap/ ) journal = "tog"
+X # {toms} {"ACM Transactions on Mathematical Software"}
+X if ( journal ~ /ACM Tran.*Math.*Soft/ ) journal = "toms"
+X # {toois} {"ACM Transactions on Office Information Systems"}
+X if ( journal ~ /ACM Tran.*Off.*Inf.*Sys/ ) journal = "toois"
+X # {toplas} {"ACM Transactions on Programming Languages and Systems"}
+X if ( journal ~ /ACM Tran.*Prog.*Lan.*Sys/ ) journal = "toplas"
+X # {tcs} {"Theoretical Computer Science"}
+X if ( journal ~ /Th.*Comp.*Sci/ ) journal = "tcs"
+X
+X printf ",\n\tJournal = %s",journal
+X }
+X if(V) printf ",\n\tVolume = { %s }",volume
+X if(N) printf ",\n\tNumber = { %s }",number
+X if(P) printf ",\n\tPages = { %s }",pages
+X if(O) printf ",\n\tNote = { %s }",other
+X if(R) printf ",\n\tNumber = { %s }",report
+X if(S) printf ",\n\tSeries = { %s }",series
+X if(df[1] != "")
+X printf ",\n\tMonth = { %s }",df[1]
+X if(D) printf ",\n\tYear = { %s }",df[2]
+X if(X) printf ",\n\tAnnote = { %s }",abstr
+X if(L) printf ",\n\tKey = { %s }",label
+X printf "\t}\n\n"
+X
+X A=0;B=0;C=0;D=0;E=0;F=0;G=0;H=0;I=0;J=0;
+X K=0;L=0;M=0;N=0;O=0;P=0;Q=0;R=0;S=0;T=0;
+X U=0;V=0;W=0;X=0;Y=0;Z=0;
+X type = ""
+X book=""
+X title = ""
+X volume = ""
+X city = ""
+X date = ""
+X publisher = ""
+X journal = ""
+X number = ""
+X other = ""
+X page = ""
+X report = ""
+X series = ""
+X toterr +=err
+X rx++
+X }
+X err = 0
+X pr = NR
+X next
+X }
+X
+X/^%T/ {
+X T ++; lastx = "T"
+X if(T>1){err=1
+X print "Two titles: Reference " rx > "ref2bib.errs"
+X print title > "ref2bib.errs"
+X }
+X title = substr($0,4)
+X next
+X }
+X
+X/^%D/ {
+X D ++; lastx = "D"
+X if(D>1){err=1
+X print "Two dates: Reference " rx > "ref2bib.errs"
+X print date > "ref2bib.errs"
+X }
+X if(($NF<1900)||($NF>=2000)){err=1
+X print "Date error? : Reference " rx > "ref2bib.errs"
+X }
+X date = substr($0,4);
+X next
+X }
+X
+X/^%P/ {
+X P ++; lastx = "P"
+X if(P>1){err=1
+X print "Two page nos? : Reference " rx > "ref2bib.errs"
+X print pages > "ref2bib.errs"
+X }
+X pages = substr($0,4)
+X next
+X }
+X
+X/^%J/ {
+X J ++; lastx = "J"
+X if(J>1){err=1
+X print "Two journals: Reference " rx > "ref2bib.errs"
+X print journal > "ref2bib.errs"
+X }
+X journal = substr($0,4)
+X next
+X }
+X
+X/^%V/ {
+X V ++; lastx = "V"
+X if(V>1){err=1
+X print "Two volumes: Reference " rx > "ref2bib.errs"
+X print volume > "ref2bib.errs"
+X }
+X volume = substr($0,4)
+X next
+X }
+X
+X/^%N/ {
+X N ++; lastx = "N"
+X if(N>1){err=1
+X print "Two issue numbers: Reference " rx > "ref2bib.errs"
+X print number > "ref2bib.errs"
+X }
+X number = substr($0,4)
+X next
+X }
+X
+X/^[^%]/ {
+X if( lastx == "A") authors[A] = authors[A] " " $0
+X if( lastx == "B") book = book " " $0
+X if( lastx == "C") city = city " " $0
+X if( lastx == "D") date = date " " $0
+X if( lastx == "E") editor[E] = editor[E] " " $0
+X if( lastx == "I") publisher = publisher " " $0
+X if( lastx == "J") journal = journal " " $0
+X if( lastx == "L") label = label " " $0
+X if( lastx == "N") number = number " " $0
+X if( lastx == "O") other = other " " $0
+X if( lastx == "P") pages = pages " " $0
+X if( lastx == "R") report = report " " $0
+X if( lastx == "S") series = series " " $0
+X if( lastx == "T") title = title " " $0
+X if( lastx == "V") volume = volume " " $0
+X if( lastx == "X") abstr = abstr " " $0
+X next
+X }
+X
+X/^%C/ {
+X C ++; lastx = "C"
+X if(C>1){err=1
+X print "Two cities: Reference " rx > "ref2bib.errs"
+X print city > "ref2bib.errs"
+X print " 2 cities " FILENAME, pr+1, NR > "ref2bib.errs"
+X }
+X city = substr($0,4)
+X next
+X }
+X
+X/^%I/ {
+X I ++; lastx = "I"
+X if(I>1){err=1
+X print "Two publishers: Reference " rx > "ref2bib.errs"
+X print publisher > "ref2bib.errs"
+X }
+X publisher = substr($0,4)
+X next
+X }
+X
+X/^%B/ {
+X B ++; lastx = "B"
+X if(B>1){err=1
+X print "Two books: Reference " rx > "ref2bib.errs"
+X print book > "ref2bib.errs"
+X }
+X book = substr($0,4)
+X next
+X }
+X
+X/^%E/ { # this really deals with 'bib' format
+X # refer only allows one %E fielsd, so we ought to
+X # split it somehow
+X E ++; lastx = "E"
+X editor[E] = substr($0,4)
+X next
+X }
+X
+X/^%[^ABCDEIJKLNOPRSTVX]/ {
+X F ++; lastx = "F"; # should not get these
+X print "Unexpected flag: Reference " rx > "ref2bib.errs"
+X print $0 > "ref2bib.errs"
+X err = 1
+X next
+X }
+X
+X/^%O/ {
+X O ++; lastx = "O"
+X if(O>1){err=1
+X print "Two others: Reference " rx > "ref2bib.errs"
+X print other > "ref2bib.errs"
+X }
+X other = substr($0,4)
+X next
+X }
+X
+X/^%S/ {
+X S ++; lastx = "S"
+X if(S>1){err=1
+X print "Two series: Reference " rx > "ref2bib.errs"
+X print series > "ref2bib.errs"
+X }
+X series = substr($0,4)
+X next
+X }
+X
+X/^%R/ {
+X R ++; lastx = "R"
+X if(R>1){err=1
+X print "Two reports: Reference " rx > "ref2bib.errs"
+X print report > "ref2bib.errs"
+X }
+X report = substr($0,4)
+X next
+X }
+X
+X/^%X/ {
+X X ++; lastx = "X"
+X abstr = substr($0,4)
+X if(X>1){err=1
+X print "Two abstracts: Reference " rx > "ref2bib.errs"
+X }
+X next
+X }
+X
+X/^%K/ {
+X lastx = "K"
+X next
+X }
+XEND {
+X print refs " references" > "ref2bib.errs"
+X if(toterr) print toterr " erroneous" > "ref2bib.errs"
+X if(conf) print conf " conference papers" > "ref2bib.errs"
+X if(jour) print jour " journal articles" > "ref2bib.errs"
+X if(wholebook) print wholebook " books" > "ref2bib.errs"
+X if(totB) print totB " book articles" > "ref2bib.errs"
+X if(reps) print reps " reports" > "ref2bib.errs"
+X if(unclass) print unclass " Unclassified" > "ref2bib.errs"
+X if(totO) print totO " have additional information." > "ref2bib.errs"
+X if(totK) print totK " have additional keywords." > "ref2bib.errs"
+X if(totX) print totX " have abstracts/commentaries." > "ref2bib.errs"
+X print totA " authors" > "ref2bib.errs"
+X for(i=0;i<=MaxA;i++)if(acnt[i]){
+X print i, " authors ", acnt[i] > "ref2bib.errs"
+X av += i*acnt[i]
+X }
+X print "Average ", av/refs > "ref2bib.errs"
+X print totT " titles" > "ref2bib.errs"
+X print "Key frequencies" > "ref2bib.errs"
+X for(k in keyused) print k, keyused[k] > "ref2bib.errs"
+X
+X }
+XZZ
+Xsed -f ref2b$$.sed $* | awk -f ref2b$$.awk
+Xrm -f ref2b$$.sed ref2b$$.awk
+Xexit
+END_OF_ref2bib.sh
+if test 18299 -ne `wc -c <ref2bib.sh`; then
+ echo shar: \"ref2bib.sh\" unpacked with wrong size!
+fi
+chmod +x ref2bib.sh
+# end of overwriting check
+fi
+echo shar: End of shell archive.
+exit 0
+
diff --git a/biblio/bibtex/utils/refer-tools/refer-to-bibtex.el b/biblio/bibtex/utils/refer-tools/refer-to-bibtex.el
new file mode 100644
index 0000000000..ba9893df40
--- /dev/null
+++ b/biblio/bibtex/utils/refer-tools/refer-to-bibtex.el
@@ -0,0 +1,575 @@
+;From michael@uni-paderborn.de Thu Jul 12 07:25:01 1990
+;Return-Path: <michael@uni-paderborn.de>
+;Received: from mcsun.EU.net by life.ai.mit.edu (4.1/AI-4.10) id AA23180; Thu, 12 Jul 90 07:24:37 EDT
+;Received: by mcsun.EU.net with SMTP; Thu, 12 Jul 90 13:24:18 +0200 (MET)
+;Received: from athene.uni-paderborn.de
+; by unido.informatik.uni-dortmund.de with SMTP via EUnet (UNIDO-2.0.1.q) via EUnet
+; for wheaties.ai.mit.edu
+; id AK07977; Thu, 12 Jul 90 10:58:24 +0100
+;Received: by athene.uni-paderborn.de; Thu, 12 Jul 90 10:55:58 +0200 (PB-3.13)
+;Date: Thu, 12 Jul 90 10:55:58 +0200
+;From: Michael Schmidt <michael@uni-paderborn.de>
+;Message-Id: <9007120855.AA04022@athene.uni-paderborn.de>
+;To: tmb@wheaties.ai.mit.edu (Thomas M. Breuel)
+;Subject: Re: BibTex <-> Tib/Refer converter wanted
+;Newsgroups: comp.text.tex,comp.text
+;In-Reply-To: Your message of 30 Jun 90 00:08:58 GMT in comp.text.tex,comp.text
+;Organization: Replace me with your organization
+;Status: R
+;
+;In article <9290@life.ai.mit.edu> you write:
+;>I am looking for a converter to convert BibTex bibliography files
+;>to Tib/Refer files and vice versa.
+;
+;What about a little emacs miracle (GNU, of course).
+;
+; Michael
+;
+;--
+; LAST EDIT: Thu Jan 12 22:47:18 1989 by Michael Schmidt (schmidt)
+;; refer-to-bibtex.el
+;; Convert refer-style bibliographic entries to ones usable by latex bib
+;; copyright 1988 Henry Kautz
+;;
+;; Use: from a buffer containing the refer-style bibliography,
+;; M-x r2b-convert-buffer
+;; Program will prompt for an output buffer name, and will log
+;; warnings during the conversion process in the buffer *Log*.
+
+(provide 'refer-to-bibtex)
+;**********************************************************
+; User Parameters
+
+(defvar r2b-trace-on nil "*trace conversion")
+
+(defvar r2b-journal-abbrevs
+ '( ("aij" "{Artificial Intelligence}")
+ )
+ "Abbreviation list for journal names.
+If the car of an element matches the data exactly, it is replaced by
+the cadr when output. Braces must be included if replacement is a
+{string}, but not if replacement is a bibtex abbreviation. The cadr
+may be eliminated if is exactly the same as the car.")
+
+(defvar r2b-booktitle-abbrevs
+ '( ("mi" "{Machine Intelligence}")
+ ("aaai88" "{Proceedings of AAAI-88}")
+ ("ijcai88")
+ )
+ "Abbreviation list for book and proceedings names. If the car of
+an element matches the data exactly, it is replaced by the cadr when
+output. Braces must be included if replacement is a {string}, but not
+if replacement is a bibtex abbreviation. The cadr may be eliminated
+if is exactly the same as the car.
+ For example, the default value means that aaai88 is expanded
+to ordinary test, but ijcai88 is treated as a bibtex macro.")
+
+(defvar r2b-proceedings-list
+ '(("ijcai88"))
+ "Assoc list of books or journals which are really conference proceedings,
+but whose name and whose abbrev expansion (as defined in r2b-journal-abbrevs
+and r2b-booktitle-abbrevs) does not contain the words 'conference' or
+'proceeding'. (Those cases are handled automatically.)
+The entry must match the given data exactly.")
+
+(defvar r2b-stop-words
+ "A\\|The\\|Some\\|\\An"
+ "Words not considered to use to build the citation key")
+
+;**********************************************************
+; Utility Functions
+
+(setq capitalize-title-stop-words
+ (concat
+ "\\(the\\|and\\|of\\|is\\|a\\|an\\|of\\|for\\|in\\|to\\|in\\|on\\|at\\|"
+ "by\\|with\\|that\\|its\\)\\b"))
+
+(defun capitalize-title-region (begin end)
+ "Like capitalize-region, but don't capitalize stop words, except the first"
+ (interactive "r")
+ (let ((case-fold-search t))
+ (save-restriction
+ (narrow-to-region begin end)
+ (goto-char (point-min))
+ (capitalize-word 1)
+ (while (re-search-forward "\\<" nil t)
+ (if (looking-at capitalize-title-stop-words)
+ (downcase-word 1)
+ (if (let ((case-fold-search nil)) (looking-at ".[A-Z]"))
+ (forward-word 1)
+ (capitalize-word 1)))
+ )
+ )))
+
+(defun capitalize-title (s)
+ "Like capitalize, but don't capitalize stop words, except the first"
+ (save-excursion
+ (set-buffer (get-buffer-create "$$$Scratch$$$"))
+ (erase-buffer)
+ (insert s)
+ (capitalize-title-region (point-min) (point-max))
+ (buffer-string)))
+
+;*********************************************************
+(defun r2b-reset ()
+ "unbind defvars, for debugging"
+ (interactive)
+ (makunbound 'r2b-journal-abbrevs)
+ (makunbound 'r2b-booktitle-abbrevs)
+ (makunbound 'r2b-proceedings-list)
+ (makunbound 'r2b-stop-words)
+ (makunbound 'r2b-stop-regexp)
+ )
+
+(defvar r2b-stop-regexp
+ (concat "\\(\\(" r2b-stop-words "\\|\\)\\b\\)[ \t\n]*\\([A-Z0-9]+\\)"))
+
+
+(defun r2b-trace (&rest args)
+ (if r2b-trace-on
+ (progn
+ (apply (function message) args)
+ (sit-for 0)
+ )))
+
+(defun r2b-match (exp)
+ "returns string matched in current buffer"
+ (buffer-substring (match-beginning exp) (match-end exp)))
+
+(defvar r2b-out-buf-name "*Out*" "*output from refer-to-bibtex" )
+(defvar r2b-log-name "*Log*" "*logs errors from refer-to-bibtex" )
+(defvar r2b-in-buf nil)
+(defvar r2b-out-buf nil)
+(defvar r2b-log nil)
+
+(defvar r2b-error-found nil)
+
+(setq r2b-variables '(
+ r2b-error-found
+ r2bv-author
+ r2bv-primary-author
+ r2bv-date
+ r2bv-year
+ r2bv-decade
+ r2bv-month
+ r2bv-title
+ r2bv-title-first-word
+ r2bv-editor
+ r2bv-annote
+ r2bv-tr
+ r2bv-address
+ r2bv-institution
+ r2bv-keywords
+ r2bv-booktitle
+ r2bv-journal
+ r2bv-volume
+ r2bv-number
+ r2bv-pages
+ r2bv-booktitle
+ r2bv-kn
+ r2bv-publisher
+ r2bv-school
+ r2bv-type
+ r2bv-where
+ r2bv-note
+ ))
+
+(defun r2b-clear-variables ()
+ "set all global vars used by r2b to nil"
+ (let ((vars r2b-variables))
+ (while vars
+ (set (car vars) nil)
+ (setq vars (cdr vars)))
+ ))
+
+(defun r2b-warning (&rest args)
+ (setq r2b-error-found t)
+ (princ (apply (function format) args) r2b-log)
+ (princ "\n" r2b-log))
+
+(defun r2b-get-field (var field &optional unique required)
+ "Set VAR to string value of FIELD, if any. If none, VAR is set to nil.
+If multiple fields appear, then separate values with the '\\nand\\t\\t',
+unless UNIQUE is non-nil, in which case log error and return first value.
+Trim off leading blanks and tabs on first line, and
+trailing blanks and tabs of every line.
+Returns value of var."
+ (let (item val (not-past-end t))
+ (r2b-trace "snarfing %s" field)
+ (goto-char (point-min))
+ (while (and not-past-end
+ (re-search-forward
+ (concat "^" field "\\b[ \t]*\\(.*\\)") nil t))
+ (setq item (r2b-match 1))
+ (while (and (setq not-past-end (zerop (forward-line 1)))
+ (not (looking-at "[ \t]*$\\|%")))
+ (looking-at "\\(.*[^ \t\n]\\)[ \t]*$")
+ (setq item (concat item "\n" (r2b-match 1)))
+ )
+ (if (null val)
+ (setq val item)
+ (if unique
+ (r2b-warning "*Illegal multiple field %s %s" field item)
+ (setq val (concat val "\n\t\tand " item))
+ )
+ )
+ )
+ (if (and (null val) required)
+ (r2b-warning "*Missing field %s" field))
+ (set var val)
+ ))
+
+(defun r2b-set-match (var n regexp string )
+ "set VAR to the Nth subpattern in REGEXP matched by STRING, or nil if none"
+ (set var
+ (if (and (stringp string) (string-match regexp string))
+ (substring string (match-beginning n) (match-end n))
+ nil)
+ )
+ )
+
+(defvar r2b-month-abbrevs
+ '(("jan") ("feb") ("mar") ("apr") ("may") ("jun") ("jul") ("aug")
+ ("sep") ("oct") ("nov") ("dec")))
+
+(defun r2b-convert-month ()
+ "Try to convert r2bv-month to a standard 3 letter name"
+ (if r2bv-month
+ (let ((months r2b-month-abbrevs))
+ (if (string-match "[^0-9]" r2bv-month)
+ (progn
+ (while (and months (not (string-match (car (car months))
+ r2bv-month)))
+ (setq months (cdr months)))
+ (if months
+ (setq r2bv-month (car (car months)))))
+ (progn
+ (setq months (car (read-from-string r2bv-month)))
+ (if (and (numberp months)
+ (> months 0)
+ (< months 13))
+ (setq r2bv-month (car (nth months r2b-month-abbrevs)))
+ (progn
+ (r2b-warning "* Ridiculous month")
+ (setq r2bv-month nil))
+ ))
+ ))
+ )
+ )
+
+(defun r2b-snarf-input ()
+ "parse buffer into global variables"
+ (let ((case-fold-search t))
+ (r2b-trace "snarfing...")
+ (sit-for 0)
+ (set-buffer r2b-in-buf)
+ (goto-char (point-min))
+ (princ " " r2b-log)
+ (princ (buffer-substring (point) (progn (end-of-line) (point))) r2b-log)
+ (terpri r2b-log)
+
+ (r2b-get-field 'r2bv-author "%A" nil t)
+ (r2b-set-match 'r2bv-primary-author 1
+ "\\b\\(\\w+\\)[ \t]*\\($\\|,\\)" r2bv-author)
+
+ (r2b-get-field 'r2bv-date "%D" t t)
+ (r2b-set-match 'r2bv-year 0 "[12][0-9][0-9][0-9]" r2bv-date)
+ (and (null r2bv-year)
+ (r2b-set-match 'r2bv-year 1 "[^0-9]\\([0-9][0-9]\\)$" r2bv-date)
+ (setq r2bv-year (concat "19" r2bv-year)))
+ (r2b-set-match 'r2bv-decade 1 "..\\(..\\)" r2bv-year)
+ (r2b-set-match 'r2bv-month 0
+ "[0-9]+/\\|[a-zA-Z]+" r2bv-date)
+ (if (and (stringp r2bv-month) (string-match "\\(.*\\)/$" r2bv-month))
+ (setq r2bv-month (substring r2bv-month 0 (match-end 1))))
+ (r2b-convert-month)
+
+ (r2b-get-field 'r2bv-title "%T" t t)
+ (r2b-require 'r2bv-title)
+ (setq r2bv-title (capitalize-title r2bv-title))
+ (r2b-set-match 'r2bv-title-first-word 3
+ r2b-stop-regexp
+ r2bv-title)
+
+
+ (r2b-get-field 'r2bv-editor "%E")
+ (r2b-get-field 'r2bv-annote "%X" t )
+ (r2b-get-field 'r2bv-tr "%R" t)
+ (r2b-get-field 'r2bv-address "%C" t)
+ (r2b-get-field 'r2bv-institution "%I" t)
+ (r2b-get-field 'r2bv-keywords "%K")
+ (r2b-get-field 'r2bv-booktitle "%B" t)
+ (r2b-get-field 'r2bv-journal "%J" t)
+ (r2b-get-field 'r2bv-volume "%V" t)
+ (r2b-get-field 'r2bv-number "%N" t)
+ (r2b-get-field 'r2bv-pages "%P" t)
+ (r2b-get-field 'r2bv-where "%W" t)
+ )
+ )
+
+
+(defun r2b-put-field (field data &optional abbrevs)
+ "print bibtex FIELD = {DATA} if DATA not null; precede
+with a comma and newline; if ABBREVS list is given, then
+try to replace the {DATA} with an abbreviation"
+ (if data
+ (let (match nodelim multi-line)
+ (if (and abbrevs (setq match (assoc data abbrevs)))
+ (progn
+ (if (null (cdr match))
+ (setq data (car match))
+ (setq data (car (cdr match))))
+ (setq nodelim t)))
+ (if (and (not (equal data ""))
+ (not (string-match "[^0-9]" data)))
+ (setq nodelim t))
+ (princ ", \n ")
+ (princ field)
+ (princ " =\t")
+ (if (not nodelim) (princ "{"))
+ (string-match ".*" data)
+ (if (> (match-end 0) 59)
+ (princ "\n"))
+ (princ data)
+ (if (not nodelim) (princ "}"))
+ )
+ ))
+
+
+(defun r2b-require (vars)
+ "If any of VARS is null, set to empty string and log error"
+ (cond
+ ((null vars))
+ ((listp vars) (r2b-require (car vars)) (r2b-require (cdr vars)))
+ (t
+ (if (null (symbol-value vars))
+ (progn
+ (r2b-warning "*Missing value for field %s" vars)
+ (set vars "")
+ )))
+ )
+ )
+
+
+(defmacro moveq (new old)
+ "set NEW to OLD and set OLD to nil"
+ (list 'progn (list 'setq new old) (list 'setq old 'nil)))
+
+(defun r2b-barf-output ()
+ "generate bibtex based on global variables"
+ (let ((standard-output r2b-out-buf) (case-fold-search t) match)
+
+ (r2b-trace "...barfing")
+ (sit-for 0)
+ (set-buffer r2b-out-buf)
+
+ (setq r2bv-kn (concat r2bv-primary-author r2bv-decade
+ r2bv-title-first-word))
+
+ (setq r2bv-entry-kind
+ (cond
+ ((and r2bv-journal
+ (or
+ (string-match "proceeding\\|conference" r2bv-journal)
+ (assoc r2bv-journal r2b-proceedings-list)
+ (and
+ (setq match (assoc r2bv-journal r2b-booktitle-abbrevs))
+ (string-match "proceeding\\|conference"
+ (car (cdr (match)))))))
+ (moveq r2bv-booktitle r2bv-journal)
+ (moveq r2bv-publisher r2bv-institution)
+ 'inproceedings)
+ ((and r2bv-booktitle
+ (or
+ (string-match "proceeding\\|conference" r2bv-booktitle)
+ (assoc r2bv-booktitle r2b-proceedings-list)
+ (and
+ (setq match (assoc r2bv-booktitle
+ r2b-booktitle-abbrevs))
+ (string-match "proceeding\\|conference"
+ (car (cdr (match)))))))
+ (moveq r2bv-publisher r2bv-institution)
+ 'inproceedings)
+ ((and r2bv-tr (string-match "phd" r2bv-tr))
+ (moveq r2bv-school r2bv-institution)
+ (r2b-require 'r2bv-school )
+ 'phdthesis)
+ ((and r2bv-tr (string-match "master" r2bv-tr))
+ (moveq r2bv-school r2bv-institution)
+ (r2b-require 'r2bv-school )
+ 'mastersthesis)
+ ((and r2bv-tr (string-match "draft\\|unpublish" r2bv-tr))
+ (moveq r2bv-note r2bv-institution)
+ 'unpublished)
+ (r2bv-journal
+ 'article)
+ (r2bv-booktitle
+ (moveq r2bv-publisher r2bv-institution)
+ (r2b-require 'r2bv-publisher)
+ 'incollection)
+ (r2bv-tr
+ (r2b-require 'r2bv-institution)
+ (if (string-match "\\(.+\\)[ /t/n]+\\([^ /t/n]\\)+$"
+ r2bv-tr)
+ (progn
+ (setq r2bv-type (substring r2bv-tr 0 (match-end 1)))
+ (setq r2bv-number (substring r2bv-tr
+ (match-beginning 2)))
+ (setq r2bv-tr nil))
+ (moveq r2bv-number r2bv-tr))
+ 'techreport)
+ (r2bv-institution
+ (moveq r2bv-publisher r2bv-institution)
+ (r2b-require 'r2bv-publisher)
+ 'book)
+ (t
+ 'misc)
+ ))
+
+ (r2b-require '(r2bv-author r2bv-title r2bv-year))
+
+ (if r2b-error-found
+ (princ "\n% Warning -- Errors During Conversion Next Entry\n"))
+
+ (princ "\n@")
+ (princ r2bv-entry-kind)
+ (princ "( ")
+ (princ r2bv-kn)
+
+ (r2b-put-field "author" r2bv-author )
+ (r2b-put-field "title" r2bv-title )
+ (r2b-put-field "year" r2bv-year )
+
+ (r2b-put-field "month" r2bv-month r2b-month-abbrevs)
+ (r2b-put-field "journal" r2bv-journal r2b-journal-abbrevs)
+ (r2b-put-field "volume" r2bv-volume)
+ (r2b-put-field "number" r2bv-number)
+ (r2b-put-field "type" r2bv-type)
+ (r2b-put-field "booktitle" r2bv-booktitle r2b-booktitle-abbrevs)
+ (r2b-put-field "editor" r2bv-editor)
+ (r2b-put-field "publisher" r2bv-publisher)
+ (r2b-put-field "institution" r2bv-institution)
+ (r2b-put-field "school" r2bv-school)
+ (r2b-put-field "pages" r2bv-pages)
+ (r2b-put-field "address" r2bv-address)
+ (r2b-put-field "note" r2bv-note)
+ (r2b-put-field "keywords" r2bv-keywords)
+ (r2b-put-field "where" r2bv-where)
+ (r2b-put-field "annote" r2bv-annote)
+
+ (princ " )\n")
+ )
+ )
+
+
+(defun r2b-convert-record (output-name)
+ "transform current bib entry and append to buffer OUTPUT"
+ (interactive
+ (list (read-string "Output to buffer: " r2b-out-buf-name)))
+ (let (rec-end rec-begin not-done)
+ (setq r2b-out-buf-name output-name)
+ (setq r2b-out-buf (get-buffer-create output-name))
+ (setq r2b-in-buf (current-buffer))
+ (set-buffer r2b-out-buf)
+ (goto-char (point-max))
+ (setq r2b-log (get-buffer-create r2b-log-name))
+ (set-buffer r2b-log)
+ (goto-char (point-max))
+ (set-buffer r2b-in-buf)
+ (setq not-done (re-search-forward "[^ \t\n]" nil t))
+ (if not-done
+ (progn
+ (re-search-backward "^[ \t]*$" nil 2)
+ (re-search-forward "^%")
+ (beginning-of-line nil)
+ (setq rec-begin (point))
+ (re-search-forward "^[ \t]*$" nil 2)
+ (setq rec-end (point))
+ (narrow-to-region rec-begin rec-end)
+ (r2b-clear-variables)
+ (r2b-snarf-input)
+ (r2b-barf-output)
+ (set-buffer r2b-in-buf)
+ (widen)
+ (goto-char rec-end)
+ t)
+ nil
+ )
+ ))
+
+
+(defun r2b-convert-buffer (output-name)
+ "transform current buffer and append to buffer OUTPUT"
+ (interactive
+ (list (read-string "Output to buffer: " r2b-out-buf-name)))
+ (save-excursion
+ (setq r2b-log (get-buffer-create r2b-log-name))
+ (set-buffer r2b-log)
+ (erase-buffer))
+ (widen)
+ (goto-char (point-min))
+ (message "Working, please be patient...")
+ (sit-for 0)
+ (while (r2b-convert-record output-name) t)
+ (message "Done, results in %s, errors in %s"
+ r2b-out-buf-name r2b-log-name)
+ )
+
+(defvar r2b-load-quietly nil "*Don't print help message when loaded")
+
+(defvar r2b-help-message
+" Refer to Bibtex Bibliography Conversion
+
+A refer-style database is of the form:
+
+%A Joe Blow
+%T Great Thoughts I've Thought
+%D 1977
+etc.
+
+This utility converts these kind of databases to bibtex form, for
+users of TeX and LaTex. Instructions:
+1. Visit the file containing the refer-style database.
+2. The command
+ M-x r2b-convert-buffer
+ converts the entire buffer, appending it's output by default in a
+ buffer named *Out*, and logging progress and errors in a buffer
+ named *Log*. The original file is never modified.
+ Note that results are appended to *Out*, so if that buffer
+ buffer already exists and contains material you don't want to
+ save, you should kill it first.
+3. Switch to the buffer *Out* and save it as a named file.
+4. To convert a single refer-style entry, simply position the cursor
+ at the entry and enter
+ M-x r2b-convert-record
+ Again output is appended to *Out* and errors are logged in *Log*.
+
+This utility is very robust and pretty smart about determining the
+type of the entry. It includes facilities for expanding refer macros
+to text, or substituting bibtex macros. See the source file,
+ refer-to-bibtex.el
+for information on how to customize the conversion process.
+
+If you don't want to see this help message when you load this utility,
+then include the following line in your .emacs file:
+ (setq r2b-load-quietly t)
+
+Please send bug reports and suggestions to
+ Henry Kautz
+ allegra!kautz
+ kautz@allegra.att.com")
+
+
+(defun r2b-help ()
+ "print help message"
+ (interactive)
+ (with-output-to-temp-buffer "*Help*"
+ (princ r2b-help-message)))
+
+(if (not r2b-load-quietly)
+ (r2b-help))
+
+(message "r2b loaded")
+--
+ Michael
+
diff --git a/biblio/bibtex/utils/refer-tools/refer.bst b/biblio/bibtex/utils/refer-tools/refer.bst
new file mode 100644
index 0000000000..8b7fe4b634
--- /dev/null
+++ b/biblio/bibtex/utils/refer-tools/refer.bst
@@ -0,0 +1,387 @@
+%From @mitvma.mit.edu:cjmchale@cs.tcd.ie Mon Jul 2 19:48:31 1990
+%Return-Path: <@mitvma.mit.edu:cjmchale@cs.tcd.ie>
+%Received: from mitvma.mit.edu by life.ai.mit.edu (4.1/AI-4.10) id AA07748; Mon, 2 Jul 90 19:48:24 EDT
+%Received: from MITVMA.MIT.EDU by mitvma.mit.edu (IBM VM SMTP R1.2.1MX) with BSMTP id 4555; Mon, 02 Jul 90 19:47:32 EDT
+%Received: from IRLEARN.UCD.IE by MITVMA.MIT.EDU (Mailer R2.05) with BSMTP id
+% 0199; Mon, 02 Jul 90 19:47:23 EDT
+%Received: from ccvax.ucd.ie by IRLEARN.UCD.IE (Mailer R2.03B) with BSMTP id
+% 2688; Mon, 02 Jul 90 14:45:10 GMT
+%Received: from cs.tcd.ie by ccvax.ucd.ie; Mon, 2 Jul 90 14:38 GMT
+%Received: from csaran.cs.tcd.ie by cs.tcd.ie; Mon, 2 Jul 90 14:42 GMT
+%Date: Mon, 2 Jul 90 14:39:44 BST
+%From: cjmchale%cs.tcd.ie@mitvma.mit.edu
+%Subject: Re: BibTex <-> Tib/Refer converter wanted
+%Sender: cjmchale%cs.tcd.ie@mitvma.mit.edu
+%To: tmb@wheaties.ai.mit.edu
+%Newsgroups: comp.text.tex,comp.text
+%In-Reply-To: <9290@life.ai.mit.edu>
+%Organization: DSG, Dept. of Comp.Sc., Trinity College, Dublin, Ireland.
+%Message-Id: <9007021439.aa02454@csaran.cs.tcd.ie>
+%Status: R
+%
+%In article <9290@life.ai.mit.edu> you write:
+%>I am looking for a converter to convert BibTex bibliography files
+%>to Tib/Refer files and vice versa. Even if you have just a
+%>shell script that isn't completely general, that would be fine.
+%>
+%> Thanks, Thomas.
+%>
+%>PS: thanks to everyone who responded to my question about refer-style
+%>bibliography processors. The answer was to get Tib from ENEEVAX.UMD.EDU.
+%
+%You may not be aware of this but BibTeX is actually a (special
+%purpose) programming language! The source code file for a BibTeX
+%program is the bibliography style file (".bst"). BibTeX reads in the
+%bibtex entries and the code in the ".bst" file munges them about and
+%usually writes LaTeX code out. However, if you learn how to program
+%BibTeX (as the local guru for its manual---it's only about 10 or 20
+%pages long) then you could write your own custom ".bst" files that
+%will do exactly what you want them to. In particular, instead of
+%writing out LaTeX style code it could write out "Hello World" or even
+%generate a file that looks quite like a refer style file.
+%
+%It would be difficult to get such a ".bst" file to convert TeX
+%commands (which might be imbedded in the bib entries) to refer
+%commands but the actual changing of "author=..." to %A ... is trivial
+%(for the most part; there are a few mismatches between the fields that
+%BibTeX and refer use).
+%
+%Anyway, I've written such a ".bst" file and a UNIX "sh" shell script
+%to automate the process. I've included them below.
+%
+%------------------- Start of file "refer.bst" ---------------------
+%
+% 8/4/'90
+% Hacked together by Ciaran McHale (cjmchale@cs.tcd.ie) to translate
+% BibTeX bibliographies into refer format
+% Based on a bib style file by Kannan Varadhan
+%
+
+
+ENTRY
+ { % entry fields
+ abstract % non standard
+ address
+ annote % non standard
+ author
+ booktitle
+ chapter
+ edition
+ editor
+ howpublished
+ institution
+ journal
+ key
+ keywords % non standard
+ month
+ note
+ number
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ }
+ {} % no integer entry variables
+ { label extra.label sort.label } % label entry variables
+
+
+STRINGS { s t a.name }
+
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {handle.names}
+{ 't := % type e.g. "A" for authors, "E" for editors
+ 's := % the string containing the names
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+
+ { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 'a.name :=
+
+ a.name "others" =
+ 'skip$ % don't print out "%A others"
+ { "%" t * " " * a.name * write$ newline$ }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+
+
+MACRO {jan} {"January"}
+
+MACRO {feb} {"February"}
+
+MACRO {mar} {"March"}
+
+MACRO {apr} {"April"}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"June"}
+
+MACRO {jul} {"July"}
+
+MACRO {aug} {"August"}
+
+MACRO {sep} {"September"}
+
+MACRO {oct} {"October"}
+
+MACRO {nov} {"November"}
+
+MACRO {dec} {"December"}
+
+
+
+
+
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+
+
+
+
+STRINGS { is.digit.tmp }
+
+FUNCTION {is.digit}
+
+{
+ 'is.digit.tmp :=
+ is.digit.tmp "0" =
+ is.digit.tmp "1" = or
+ is.digit.tmp "2" = or
+ is.digit.tmp "3" = or
+ is.digit.tmp "4" = or
+ is.digit.tmp "5" = or
+ is.digit.tmp "6" = or
+ is.digit.tmp "7" = or
+ is.digit.tmp "8" = or
+ is.digit.tmp "9" = or
+}
+
+FUNCTION {handle.maybe.empty}
+{
+ 't :=
+ duplicate$
+ empty$
+ 'pop$
+ { "%" t * " " * swap$ * write$ newline$ }
+ if$
+}
+
+FUNCTION {translate}
+{
+ newline$ % get a blank line between each entry
+
+ title "T" handle.maybe.empty
+ booktitle "B" handle.maybe.empty
+
+ % there may be multiple authors so handle it differently
+ author empty$
+ { " empty author in " cite$ * warning$ }
+ { author "A" handle.names }
+ if$
+ editor "E" handle.maybe.empty
+ journal "J" handle.maybe.empty
+ keywords "K" handle.maybe.empty
+ cite$ "L" handle.maybe.empty
+ volume "V" handle.maybe.empty
+ abstract "X" handle.maybe.empty
+
+ % The date, if present may be just the year or both the month and year
+ % or might even be just the month
+ month empty$ year empty$ and
+ 'skip$ % no date of publication so nothing to do
+ {
+ month empty$ % I'm using the if statement because I'm not
+ { "" } % sure that--- month " " year * --- would work.
+ { month " " * } % (The manual doesn't mention anything about
+ if$ % this so I'm playing safe)
+ year empty$
+ { "" }
+ { year }
+ if$
+ *
+ "D" handle.maybe.empty
+ }
+ if$
+ pages "P" handle.maybe.empty
+ note "O" handle.maybe.empty
+ number "N" handle.maybe.empty
+ series "S" handle.maybe.empty
+ annote "Y" handle.maybe.empty
+ address "C" handle.maybe.empty
+
+}
+
+
+FUNCTION {article} { translate }
+FUNCTION {book} { translate }
+FUNCTION {booklet} { translate }
+FUNCTION {inbook} { translate }
+FUNCTION {incollection} { translate }
+FUNCTION {inproceedings} { translate }
+FUNCTION {manual} { translate }
+FUNCTION {mastersthesis} { translate }
+FUNCTION {misc} { translate }
+FUNCTION {phdthesis} { translate }
+FUNCTION {proceedings} { translate }
+FUNCTION {techreport} { translate }
+FUNCTION {unpublished} { translate }
+FUNCTION {default.type} { translate }
+
+
+READ
+
+ITERATE {call.type$}
+------------------- End of file "refer.bst" ---------------------
+
+------------------- Start of file "bib2refer" ---------------------
+#! /bin/sh
+# Written by Ciaran McHale (cjmchale@cs.tcd.ie) 8/4/'90
+
+FN=`basename $0`
+
+case $# in
+0) echo "Usage: $FN <filename> [<filename>*]" ; exit 1 ;;
+esac
+
+#
+# This shell script uses bibtex and a custom made bibliography style file
+# to translate BibTeX bibliographies into refer format. It is based on
+# another shell script written by Eamonn McManus, Alan Judge and Ciaran McHale.
+#
+STYLE=refer # BibTeX-to-refer style file
+
+FILE=tmp
+RESULT=${FN}.out
+BIBFILE=${FILE}.bib
+
+# clean up if interrupted
+trap 'rm ${FILE}.bbl ${FILE}.aux ${FILE}.blg ; exit 1' 1 2 3 15
+
+> ${FILE}.bbl # truncate the files
+> ${FILE}.aux
+> ${FILE}.blg
+
+#
+#Hand craft the .aux file
+#
+BIBRECD=""
+for i
+do
+ file="`echo $i | sed 's/.bib//'`"
+ BIBRECD="${BIBRECD},${file}"
+done
+BIBRECD="`echo $BIBRECD | sed 's/^,//'`" # remove 1st " "
+
+echo "\bibstyle{$STYLE}" >> ${FILE}.aux
+echo "\bibdata{$BIBRECD}" >> ${FILE}.aux
+
+# Read all the files (command line arguments) and use them to write
+# the necessary info into the .aux file.
+for i
+do
+ file="`echo $i | sed 's/.bib//'`"
+ bibfile=${file}.bib
+ echo FILE $bibfile has `egrep '^@' $bibfile | wc -l` records
+ # create the .aux file with \citation commands in it
+ sed -n 's/^@.*[{(][ ]*\(.*\)/\\citation {\1}/p' $bibfile |
+ sed 's/[, ]//g' >>${FILE}.aux
+
+done
+
+bibtex $FILE
+cp ${FILE}.bbl ${RESULT}
+
+echo; echo ${FN}: output in ${RESULT}; echo
+
+# Cleanup...
+rm ${FILE}.bbl ${FILE}.aux ${FILE}.blg
+
+exit 0
+------------------- End of file "bib2refer" ---------------------
+
+
+This was written as a quick hack and I haven't tested it thoroughly so
+if you see any problems then be prepared to get out the BibTeX
+programming manual and change a line or two (hopefully that won't be
+necessary).
+
+
+Ciaran.
+--
+Ciaran McHale
+Department of Computer Science, Trinity College, Dublin 2, Ireland.
+Telephone: +353-1-772941 ext 1538 FAX: +353-1-772204 Telex: 93782 TCD EI
+email: cjmchale@cs.tcd.ie or cjmchale%cs.tcd.ie@cunyvm.cuny.edu
+ My opinions and bad language do not represent Trinity
+
diff --git a/biblio/bibtex/utils/refer-tools/refer2bibtex-0.9.4.pl b/biblio/bibtex/utils/refer-tools/refer2bibtex-0.9.4.pl
new file mode 100644
index 0000000000..89f88352d3
--- /dev/null
+++ b/biblio/bibtex/utils/refer-tools/refer2bibtex-0.9.4.pl
@@ -0,0 +1,1745 @@
+#
+# r2b : convert a refer database to a BiBTeX database
+# Copyright 1992-1994 by Dana Jacobsen (dana@acm.org)
+# 2000-2002 changes and extensions by Frank Roth (roth@gfz-potsdam.de) and
+# Hartmut Palm (palm@gfz-potsdam.de)
+#
+#version = "0.1.1";# 17 Apr 92 jacobsd Wrote original version
+#version = "0.2.0";# 20 Apr 92 jacobsd Added tib support
+#version = "0.3.0";# 21 Apr 92 jacobsd Rewrote heuristics
+#version = "0.4.0";# 22 Apr 92 jacobsd Revamped the rofftotex stuff
+#version = "0.5.2";# 24 Apr 92 jacobsd some cleanup
+#version = "0.6.0";# 25 Apr 92 jacobsd understands names
+#version = "0.6.1";# 26 Apr 92 jacobsd cleanup
+#version = "0.6.2";# 27 Apr 92 jacobsd added support for a few more fields
+#version = "0.6.3";# 27 Apr 92 jacobsd little more tib support
+#version = "0.6.4";# 27 Apr 92 jacobsd added Roman-8 chars and more options
+#version = "0.6.5";# 27 Apr 92 jacobsd integrated error routine
+#version = "0.7.0";# 2 May 92 jacobsd added groff chars and fixed bugs
+#version = "0.7.1";# 2 May 92 jacobsd fixed a few more things
+#version = "0.7.2";# 10 Aug 92 jacobsd changed key generation
+#version = "0.7.3";# 16 Aug 92 jacobsd added ISBN, 2 overstrikes, -q
+#version = "0.7.4";# 19 Aug 92 jacobsd overstrike, changes for proceedings
+#version = "0.7.5";# 20 Aug 92 jacobsd efficiency moves, month abbrevs
+#version = "0.7.6";# 29 Aug 92 jacobsd added eqn flag
+#version = "0.7.7";# 2 Sep 92 jacobsd changed name, edition, report parsing
+#version = "0.8.0";# 4 Sep 92 jacobsd added date and option field to header
+#version = "0.8.1";# 7 Sep 92 jacobsd added ibm option, corrected ms macros
+#version = "0.8.2";# 5 Oct 92 jacobsd fixed -ms/-mm macro confusion (again)
+#version = "0.8.3";# 5 Oct 92 jacobsd parsedate, edition, movements
+#version = "0.8.4";# 8 Oct 92 jacobsd added \s point size changing
+#version = "0.8.5";# 14 May 93 jacobsd literals, parsename, font changing
+#version = "0.9.0";# 20 May 93 jacobsd
+#version = "0.9.1";# 20 May 93 jacobsd revamped refer input section
+#version = "0.9.2";# 22 Oct 94 jacobsd Changed to work with perl 5.000
+#version = "0.9.3";# 23 Dec 94 jacobsd Fixed {} caps problem with Perl 5.
+$version = "0.9.4";# 08 Jul 02 roth&palm added several features/spec.chars.
+#
+# todo: final debugging for release
+#
+# All bug-fixes, suggestions, flames, and compliments gladly accepted.
+#
+
+# These are site selected.
+#
+$maxflength = 2950; # Bibtex doesn't want lines longer than this.
+$maxllength = 14; # maximum length of the text in a label (plus decade)
+$prcontents = 0; # print the contents (%Y) field.
+
+# These are the program defaults that can be changed by command line options.
+#
+$roffconv = 1; # -n : no roff-to-tex conversion
+$ibmconv = 0; # -ibm : convert ibm graphics characters
+$nowarnings = 0; # -q : don't print warnings
+$tibfmt = 0; # -tib : tib bibliography format
+$overstrike = 0; # -overstrike : allow \:o = \(:o. European troff??
+$handleeqn = 0; # -eqn : handle some eqn @@ delimited constructs
+$ignorelabel= 0; # -ignorelabel: don't use L field for citekey
+$deroffonly = 0; # -deroff-only
+$protectTeX = 1; # -noprotect : don't protect TeX special characters
+$nameconv = 1; # -noname-conv
+$revauthor = 0; # -reverse-author
+$capprotect = 1; # -nocap-protect = 0. -cap-protect = 2.
+$accedina = 0; # -acceditorina = 1: accept editor(s) in %A field(s)
+# added in version 0.9.4
+
+$convertcommand = '';
+$toterrors = 0;
+
+while (@ARGV) {
+ $_ = shift @ARGV;
+ $convertcommand .= ' ' . $_;
+ /^--$/ && do { push(@files, @ARGV); undef @ARGV; next; };
+ /^-n$/ && do { $roffconv = 0; next; };
+ /^-ibm/ && do { $ibmconv = 1; next; };
+ /^-q$/ && do { $nowarnings = 1; next; };
+ /^-qq$/ && do { $nowarnings = 2; next; }; # this turns off ALL messages
+ /^-tib/ && do { $tibfmt = 1; next; };
+ /^-ove/ && do { $overstrike = 1; next; };
+ /^-eqn/ && do { $handleeqn = 1; next; };
+ /^-der/ && do { $deroffonly = 1; next; };
+ /^-non/ && do { $nameconv = 0; next; };
+ /^-rev/ && do { $revauthor = 1; next; };
+ /^-noc/ && do { $capprotect = 0; next; };
+ /^-cap/ && do { $capprotect = 2; next; };
+ /^-ign/ && do { $ignorelabel = 1; next; };
+ /^-nop/ && do { $protectTeX = 0; next; };
+ /^-acc/ && do { $accedina = 1; next; }; # added in version 0.9.4
+ push (@files, $_);
+}
+
+if ($#files == -1) {
+ push (@files, "-");
+}
+
+print "%\n";
+print "% converted from ", ($tibfmt ? "tib" : "refer");
+print " format by refer-to-bibtex $version";
+@tarr = localtime(time);
+# convert month from numeric to textual
+$tarrmon = (Jan, Feb, Mar, Apr, May, Jun, Jul, Aug,
+ Sep, Oct, Nov, Dec)[$tarr[4]];
+# add a leading 0 if the minute is only 1 digit.
+$tarr[1] = '0' . $tarr[1] if length($tarr[1]) == 1;
+# print date in format "21:09, 4 Sep 92"
+$tarr[5]+=1900; # changed in version 0.9.4
+print " -- $tarr[2]:$tarr[1], $tarr[3] $tarrmon $tarr[5]\n";
+# print the command line as they entered it, so we know special options
+print "% r2b$convertcommand\n";
+print "%\n\n";
+
+# These are the accepted refer codes.
+#
+# let 0 be a valid identifier, but we ignore it. EndNote Plus puts it
+# out as a type identifier, but it's often wrong. We'll figure it out.
+# Organized these in likelihood order and get some speed improvement.
+# A: 21%, DT: 11.3%, P: 10%, K: 8.7%, V: 7.1%, J: 6.3%, ICB: 4.0%
+%allidents = ('A', ' and ', 'E', ' and ', 'Q', ' and ',
+ 'X', "\n\n",
+ 'D', ' ', 'T', ' ', 'P', ' ', 'K', ' ', 'V', ' ',
+ 'J', ' ', 'I', ' ', 'C', ' ', 'B', ' ', 'N', ' ',
+ 'S', ' ', 'L', ' ', 'R', ' ', 'O', ' ', '*', ' ',
+ 'H', ' ', 'G', ' ', 'Y', ' ', 'M', ' ', 'U', ' ',
+ 'Z', ' ', 'l', ' ', '$',
+ '0', ' ',
+ );
+
+# These are the fields that are required to be present for each BibTeX
+# type. They will generate a syntax warning if they are not present.
+# AE means A or E, BT means B or T.
+%reqfields = ('article', "A:T:J:Yr",
+ 'book', "AE:T:I:Yr",
+ 'incollection', "A:T:B:I:Yr",
+ 'inproceedings', "A:T:B:Yr",
+ 'mastersthesis', "A:T:Sch:Yr",
+ 'phdthesis', "A:T:Sch:Yr",
+ 'proceedings', "BT:Yr",
+ 'techreport', "A:T:Ins:Yr",
+ 'unpublished', "A:T:O",
+ );
+
+
+foreach $infile (@files) {
+ open (IN, $infile) || ((warn "Can't open $infile: $!\n"), next);
+ $linenum = 0;
+ $lastfield = 0;
+ $errors = 0;
+
+ if ($deroffonly) {
+ while (<IN>) {
+ $linenum++;
+ $_ = &doibmtoroff($_) if $ibmconv;
+ $_ = &dorofftotex($_) if $roffconv;
+ print $_;
+ }
+ next;
+ }
+
+ while (<IN>) {
+ $linenum++;
+
+ if (/^%(.)\s*(.*)$/) {
+ $field = $1;
+ $rest = $2;
+ $lastfield = 0;
+
+ # A '#' as the first character of text is taken to be a comment.
+ next if ($rest =~ /^#/);
+
+ # Convert 'o' and 'r' to O. These are some of tib's translated fields,
+ # as well as typos, where they really meant O.
+ $field =~ s/[or]/O/;
+
+ # Abstracts, contents, and comments seem to be non-standard. I have
+ # assumed %X for abstract and %Y for contents.
+ # Refer, tib, and bib seem to have their own styles, and usually
+ # people add on fields anyway. This is reaching the limits of what I
+ # can handle even by hand-translating.
+ $lastfield = $field;
+
+ # A '%' as the field is taken to be a comment.
+ next if ($field eq '%');
+ # HEY! check this: '\' or '\\' ?
+ if ($field eq '\\') {
+ print q/@preamble{ "/, substr($_, 1), qq/" }\n/;
+ next;
+ }
+
+ if (defined $allidents{$field}) {
+ $entry{$field} = join($allidents{$field}, $entry{$field}, $rest);
+ } else {
+ &anerror("Unknown field identifier: $_");
+ }
+ } else {
+ if ( /^\s*$/ ) {
+ &doentry() if $lastfield;
+ %entry = ();
+ $lastfield = '';
+ } else {
+ chop;
+ if ( $lastfield) {
+ if ( $lastfield =~ /X|Y/) {
+ $entry{$lastfield} .= "\n" . $_;
+ } else {
+ $entry{$lastfield} .= " " . $_;
+ }
+ } else {
+ print STDERR "line $linenum:";
+ print STDERR "Line without field identifier: \n$_\n";
+ $errors++;
+ }
+ }
+ }
+
+ }
+
+ if (%entry) {
+ &doentry();
+ }
+
+ foreach $type (sort keys(%number)) {
+ ($nowarnings < 2) && printf STDERR "%5d %s\n", $number{$type}, $type;
+ $totalentries += $number{$type};
+ }
+
+ if ($nowarnings < 2) {
+ print STDERR "$totalentries entries, ";
+ $errors == 0 ? print STDERR "no error" : print STDERR "$errors error";
+ $errors == 1 ? print STDERR "\n" : print STDERR "s\n";
+ }
+ $toterrors += $errors;
+}
+
+exit $toterrors;
+
+
+
+
+##########################################
+#
+sub doentry {
+
+# do some processing on each field
+
+ foreach $field (keys(%entry)) {
+ $entry{$field} =~ s/^\s+//;
+ $entry{$field} =~ s/\s+$//;
+
+ $entry{$field} = &doibmtoroff($entry{$field}) if $ibmconv;
+ $entry{$field} = &dorofftotex($entry{$field}) if $roffconv;;
+
+ if (length($entry{$field}) > $maxflength) {
+ $entry{$field} = substr($entry{$field}, 0, $maxflength-3);
+ $entry{$field} .= "...";
+ &anerror("field %$field longer than $maxflength characters.");
+ }
+ #$entry{$field} =~ s/(^|[^\\])~/$1\\ /g; # ties (~) to literal space (\ )
+ }
+
+
+# Because the refer format does not have fields set aside for such things
+# as edition, ISBN, ISSN, look for them in other fields. Also, some people
+# often put things like pages, techreport, and other information in the
+# wrong field. Once again, look for them and move them to the correct one.
+
+ # Look for Thesis or Dissertation in O and move to R
+ if ($entry{O}) {
+ $_ = $entry{O};
+ if ( (!$entry{R}) && ( (/thesis/i) || /dissert/i) ) {
+ $entry{R} = $entry{O};
+ delete $entry{O};
+ }
+ }
+
+ # Look for "Tech* Rep*" in S and move to R
+ if ( ($entry{S} =~ /tech\w*\s+rep\w*/i) && (!$entry{R}) ) {
+ $entry{R} = $entry{S};
+ delete $entry{S};
+ }
+
+ # Look for "* No. *" in V and move to N
+ if (($entry{V} =~ /(\d+)\s+(no\.?|numb?e?r?\.?)\s+(\d+)/i) && (!$entry{N})){
+ $entry{N} = $3;
+ $entry{V} =~ s/(\d+)\s+(no\.?|numb?e?r?\.?)\s+(\d+)/$1/i;
+ }
+
+ # Look for "* Edition" in some fields and move to Ed field
+ foreach $field (V,S,R,T,O,B) {
+ if ($entry{$field} =~ /([\w\d]+)\s+edition/i) {
+ $entry{Ed} = $1;
+ $entry{$field} =~ s/\s*[-,;(]?\s*([\w\d]+)\s+edition\s*[),;]?\s*//i;
+ if ($entry{$field} =~ /^\s*$/) {
+ delete $entry{$field};
+ }
+ last;
+ }
+ }
+
+ # Look for ISBN/ISSN # in some fields and move to ISBN/ISSN
+ foreach $field (G,O) {
+ if ($entry{$field} =~ /IS[BS]N/) {
+ $entry{$field} =~ s/\\ /~/g;
+ if ($entry{$field} =~ /ISBN\s*:?\s*(\d\S*)/i) {
+ $entry{ISBN} = $1;
+ $entry{ISBN} =~ s/[;.,]$//g;
+ $entry{ISBN} =~ s/~/-/g;
+ $entry{$field} =~ s/\s*[,;]?\s*ISBN\s*:?\s*(\d\S*)\s*[,;]?//i;
+ }
+ if ($entry{$field} =~ /ISSN\s*:?\s*(\d\S*)/i) {
+ $entry{ISSN} = $1;
+ $entry{ISSN} =~ s/[;.,]$//g;
+ $entry{ISSN} =~ s/~/-/g;
+ $entry{$field} =~ s/\s*[,;]?\s*ISSN\s*:?\s*(\d\S*)\s*[,;]?//i;
+ }
+ $entry{$field} =~ s/(^|[^\\])~/$1\\ /g;
+ }
+ }
+
+ # look for pp or pages in O and move to P
+ if ( (!$entry{P}) && ($entry{O} =~ /[XIVxiv]*\+?(\d+)\s*(pp\.?|pages),?/i) ) {
+ $entry{P} = $1;
+ $entry{O} =~ s/\s*[,;]?\s*[XIVxiv]*\+?(\d+)\s*(pp\.?|pages),?\s*//i;
+ }
+
+ # look for date in B if there is no D field
+ if ( (!$entry{D}) && ($entry{B}) ) {
+ if ($entry{B} =~ /\b(\d\d\d\d)\b/) {
+ $entry{D} = $1;
+ } elsif ($entry{B} =~ /'(\d\d)\b/) {
+ $entry{D} = $1;
+ }
+ }
+
+ # pick out reptype and repnumber
+# undef ($reptype, $repnumber);
+ undef $reptype; # new in 0.9.4
+ undef $repnumber; # new in 0.9.4
+ if ($entry{R}) {
+ ($reptype, $repnumber) = $entry{R} =~ /(.+)\s+(\S+)$/;
+ if ($repnumber !~ /\d/) {
+ $reptype = $entry{R};
+ undef $repnumber;
+ }
+
+# As %R fields (as me, F. Roth use them) may contain more than 'report',
+# 'thesis' etc., when e.g. a part of the 'US Natl. Rep. to the IUGG' is
+# referenced we extended cap-protection to these fields.
+# type fields: cap-protect = 0, leave them alone.
+# cap-protect = 1, protect multi-cap sequences, and singles.
+# (default)
+# cap-protect = 2, protect all capitals.
+ if ($capprotect == 1) { # new in 0.9.4
+ 1 while $reptype =~ # new in 0.9.4
+ s/([^{\\\w]|^)([A-Z]+)([^\{\}\\\w]|$)/$1\{$2\}$3/g; #new in 0.9.4
+ $reptype =~ s/^\{([A-Z])\}/$1/; # new in 0.9.4
+ } elsif ($capprotect == 2) { # new in 0.9.4
+ $reptype =~ s/(\\=[A-Z]+)/{$1}/g; # new in 0.9.4
+ $reptype =~ s/(\\?[A-Z]+)/{$1}/g; # new in 0.9.4
+ } # new in 0.9.4
+ }
+
+# titles: cap-protect = 0, leave them alone.
+# cap-protect = 1, protect multi-cap sequences, and singles. (default)
+# cap-protect = 2, protect all capitals.
+ if ($entry{T}) {
+ if ($capprotect == 1) {
+ 1 while $entry{T} =~
+ s/([^{\\\w]|^)([A-Z]+)([^\{\}\\\w]|$)/$1\{$2\}$3/g;
+ $entry{T} =~ s/^\{([A-Z])\}/$1/;
+ } elsif ($capprotect == 2) {
+# $entry{T} =~ s/(\\[A-Z]+)/{$1}/g; # off in 0.9.4
+ $entry{T} =~ s/(\\=[A-Z]+)/{$1}/g; # new in 0.9.4
+ $entry{T} =~ s/(\\?[A-Z]+)/{$1}/g; # new in 0.9.4
+ }
+ }
+
+ # set date fields
+
+ &parsedate();
+
+ # convert names to BiBTeX format as best we can
+ if ($entry{A}) {
+ $entry{Key_A} = &parsename($entry{A}, A);
+ $entry{A} = $fname;
+ $aeditors = $editors;
+ $acauthor = $corpauthors;
+ }
+ if ($entry{E}) {
+ $entry{Key_E} = &parsename($entry{E}, E);
+ $entry{E} = $fname;
+ } elsif ($aeditors) {
+ $entry{E} = $entry{A};
+ $entry{Key_E} = $entry{Key_A};
+ delete $entry{Key_A};
+ delete $entry{A};
+ }
+ if ($entry{Q} || $entry{I}) {
+ if ($entry{Q}) {
+ $entry{Q} =~ s/^and //;
+ $entry{Q} =~ s/\s+/ /g;
+ ($entry{Key_Q}) = split(/[\s~]/, $entry{Q});
+ } else {
+ ($entry{Key_I}) = split(/[\s~]/, $entry{I});
+ }
+ if ($acauthor) {
+ ($entry{Key_A}) = split(/[\s~]/, $entry{A});
+ $entry{Key_A} =~ s/^{([^}]*)}?.*$/$1/;
+ }
+ } elsif ($acauthor) {
+ $entry{Q} = $entry{A};
+ ($entry{Key_Q}) = split(/[\s~]/, $entry{Q});
+ $entry{Key_Q} =~ s/^{([^}]*)}?.*$/$1/;
+ delete $entry{Key_A};
+ delete $entry{A};
+ }
+
+ # set or generate key
+ &genkey();
+
+ # determine the Entry Type
+ # This is where the heuristics really come into play. We need to examine
+ # what fields we were given, and occasionally the field contents, to
+ # determine what type of entry this is.
+
+ if ($entry{J} && !$entry{B}) {
+ $type = 'article';
+ $_ = $entry{J};
+ if (/^proc\w*\.\s/i || /proceeding/i || /proc[.]?\s+of\s/i ||
+ /conference/i || /symposium/i || /workshop/i ) {
+ $type = 'inproceedings';
+ $entry{B} = $entry{J};
+ if ($entry{N}) { # These should be %B Proc, %J Journal, but do anyway.
+ # Hope they did "proceedings of ..., published as ..."
+ if (/^(.*)published\s+(in|as)\s+(.*)$/i) {
+ $entry{B} = $1;
+ $entry{J} = $3;
+ $entry{B} =~ s/,?\s*$//;
+ }
+ $entry{O} .= "Published as $entry{J}";
+ if ($entry{V}) { $entry{O} .= ", volume $entry{V}"; }
+ if ($entry{N}) { $entry{O} .= ", number $entry{N}"; }
+ delete $entry{V};
+ delete $entry{N};
+ }
+ delete $entry{J};
+ }
+ } elsif ($entry{B}) {
+ $type = '';
+ if ($entry{T}) {
+ $type .= 'in';
+ }
+ $_ = $entry{B};
+ if (/^proc\w*\.\s/i || /proceeding/i || /conference/i || /workshop/i) {
+ $type .= 'proceedings';
+ } else {
+ $type .= 'collection';
+ }
+ if ($entry{J}) {
+ $entry{O} .= "Published as $entry{J}";
+ if ($entry{V}) { $entry{O} .= ", volume $entry{V}"; }
+ if ($entry{N}) { $entry{O} .= ", number $entry{N}"; }
+ delete $entry{J};
+ delete $entry{V};
+ delete $entry{N};
+ }
+ } elsif ($entry{R}) {
+ $type = 'techreport';
+ $_ = $reptype;
+ s/^{\\[rbi][mft] //g; # just in case someone changed the font
+ tr/A-Za-z//cd; # only A-z are left
+ if (/^phd/i) {
+ $type = 'phdthesis';
+# $reptype = "Ph.{D}. Thesis"; # will print as Ph.D. thesis !
+ $reptype = "Ph.{D}. {T}hesis"; # T in braces in version 0.9.4
+ }
+ if (/^diploma/i) {
+ $type = 'phdthesis';
+# $reptype = "Diploma Thesis";
+ $reptype = "Diploma {T}hesis"; # T in braces in version 0.9.4
+ }
+ if (/^master/i || /^m[as]thes/i) {
+ $type = 'mastersthesis';
+# $reptype = "Master's Thesis";
+ $reptype = "Master's {T}hesis"; # T in braces in version 0.9.4
+ }
+ if (/^phd/i || /^master/i || /^m[as]thes/i || /^diploma/i) {
+ if ($entry{R} =~ /thesis/i) {
+ ($repnumber) = $entry{R} =~ /thesis\W*(.*)$/i;
+ }
+ if ($entry{R} =~ /dissert/i) {
+ $reptype =~ s/Thesis/Dissertation/;
+ ($repnumber) = $entry{R} =~ /dissert\w*\W*(.*)$/i;
+ }
+ }
+ /^draft/i && ($type = 'unpublished');
+ /^unpublish/i && ($type = 'unpublished');
+
+ if (!$entry{N}) {
+ $entry{N} = $repnumber;
+ }
+ $entry{Type} = $reptype;
+ undef $reptype;
+ undef $repnumber;
+ if ( (!$entry{Q}) && ($entry{I}) ) {
+ $entry{Q} = $entry{I};
+ $iinq = 1; # new in 0.9.4
+ delete $entry{I};
+ } else { # new in 0.9.4
+ $entry{Ins} = $entry{I}; # new in 0.9.4
+ }
+ } elsif ($entry{I}) {
+ $type = 'book';
+ } else {
+ $type = 'misc';
+ }
+
+ # BibTeX has no collection type, sigh. We change 'collection' to 'book'.
+ if ($type eq 'collection') {
+ $type = 'book';
+ }
+
+ $number{$type}++;
+
+ if ( ($entry{Q}) && ($entry{A}) && ($iinq == 0) ) { # added in 0.9.4
+ &anerror("%Warning: Corp. author (%Q) and person as author (%A)."); # -"-
+ $qina = 1; # -"-
+ if ($lina == 1) { # -"-
+ $entry{A} = $entry{A} . " and {" . $entry{Q} . "}"; # to cover mixed %A %Q
+ $lina = 0; # -"-
+ } else { # -"-
+ $entry{A} = "{" . $entry{Q} . "} and " . $entry{A}; # to cover mixed %Q %A
+ $linq = 0; # -"-
+ }
+ }
+ # if we have an institution but no author, the Inst. is the author
+ if ( ($entry{Q}) && (!$entry{A}) ) {
+ $entry{A} = "{" . $entry{Q} . "}";
+ }
+
+ # if there is no address, but a "header" field, assume H stands for "held in"
+ if ( ($entry{H}) && (!$entry{C}) ) {
+ $entry{C} = $entry{H};
+ delete $entry{H};
+ }
+ # set institution to be the corporate author unless it's Anonymous
+ if ($entry{Q} !~ /^anon\.?\w*$/i) {
+ if ($qina == 0 && $iinq == 1) { # added in version 0.9.4
+ $entry{Ins} = $entry{Q};
+ $iinq = 0; # added in version 0.9.4
+ } # added in version 0.9.4
+ $qina = 0; # added in version 0.9.4
+ }
+ # if we have a reptype and number, but no "Type" entry, move to other.
+ if ($reptype) {
+ $entry{O} .= $entry{R};
+ delete $entry{R};
+ }
+
+
+ # Change things around for some types
+ if ( ($type eq 'mastersthesis') || ($type eq 'phdthesis') ) {
+ $entry{Sch} = $entry{Ins};
+ delete $entry{Ins};
+ } elsif ($type eq 'unpublished') {
+ $entry{O} .= $entry{Ins};
+ delete $entry{Ins};
+ }
+
+ # Check for required fields
+ foreach $field ( split(/:/, $reqfields{$type}) ) {
+ if ($field eq AE) {
+ $entry{A} || $entry{E} ||
+ &anerror("Missing A and E (Author and Editor) fields.");
+ } elsif ($field eq BT) {
+ $entry{B} || $entry{T} || &anerror("Missing T (Title) field.");
+ } else {
+ $entry{$field} || &anerror("Missing $field field.");
+ }
+ }
+
+ # set up the entry output string
+
+ $ent = '';
+ $ent .= "\@$type\{$key,\n";
+
+ if ($entry{Key}) { $ent .= " key = \{$entry{Key}\},\n"; }
+ if ($entry{A}) { $ent .= " author = \{$entry{A}\},\n"; }
+ if ($entry{E}) { $ent .= " editor = \{$entry{E}\},\n"; }
+ if ($entry{'T'}) { $ent .= " title = \{$entry{'T'}\},\n"; }
+ if ($entry{B}) {
+ if ($entry{T}) {
+ $ent .= " booktitle = \{$entry{B}\},\n";
+ } else {
+ $ent .= " title = \{$entry{B}\},\n";
+ } }
+ if ($entry{Ins}) { $ent .= " institution = \{$entry{Ins}\},\n"; }
+ if ($entry{Sch}) { $ent .= " school = \{$entry{Sch}\},\n"; }
+ if ($entry{J}) { $ent .= " journal = \{$entry{J}\},\n"; }
+ if ($entry{Type}){ $ent .= " type = \{$entry{Type}\},\n"; }
+ if ($entry{S}) { $ent .= " series = \{$entry{S}\},\n"; }
+ if ($entry{V}) { $ent .= " volume = \{$entry{V}\},\n"; }
+ if ($entry{N}) { $ent .= " number = \{$entry{N}\},\n"; }
+ if ($entry{Ed}) { $ent .= " edition = \{$entry{Ed}\},\n"; }
+ if ($entry{P}) { $ent .= " pages = \{$entry{P}\},\n"; }
+ if ($entry{I}) { $ent .= " publisher = \{$entry{I}\},\n"; }
+ if ($entry{C}) { $ent .= " address = \{$entry{C}\},\n"; }
+ # since we allow abbrevs for month, don't print {}s
+ if ($entry{Mo}) { $ent .= " month = $entry{Mo},\n"; }
+ if ($entry{Yr}) { $ent .= " year = \{$entry{Yr}\},\n"; }
+ if ($entry{'$'}) { $ent .= " price = \{$entry{'$'}\},\n"; }
+ if ($entry{'*'}) { $ent .= " copyright = \{$entry{'*'}\},\n"; }
+# if ($entry{K}) { $ent .= " keywords = \{$entry{K}\},\n"; }
+ if ($entry{K}) { $ent .= " keywords = \{$entry{K}\},\n"; # added in 0.9.4
+ $extname = ''; } # - " -
+ if ($entry{M}) { $ent .= " mrnumber = \{$entry{M}\},\n"; }
+ if ($entry{'l'}) { $ent .= " language = \{$entry{'l'}\},\n"; }
+ if ($entry{U}) { $ent .= " annote = \{$entry{U}\},\n"; }
+ if ($entry{ISBN}){ $ent .= " ISBN = \{$entry{ISBN}\},\n"; }
+ if ($entry{ISSN}){ $ent .= " ISSN = \{$entry{ISSN}\},\n"; }
+ if ($entry{X}) { $ent .= " abstract = \{$entry{X}\},\n"; }
+ if ($entry{G}) { $ent .= " note = \{$entry{G}\},\n"; }
+ if ($entry{H}) { $ent .= " note = \{$entry{H}\},\n"; }
+ if ($entry{O}) { $ent .= " note = \{$entry{O}\},\n"; }
+ if ($entry{Z}) { $ent .= " note = \{$entry{Z}\},\n"; }
+ if ($entry{Y}) { if (!$prcontents) { $entry{Y} = "(not listed)"; }
+ $ent .= " contents = \{$entry{Y}\},\n"; }
+
+ substr($ent, -2, 1) = '';
+ $ent .= "\}\n\n";
+
+ &printerrors();
+ print $ent;
+}
+
+##########################################
+#
+# date looks like month dec year
+# -------------------------------- ------------------- -- ---------------
+# 1984 84 1984
+# 1974-1975 74 1974-1975
+# August 1984 aug 84 1984
+# May 1984 May 1984 may 84 1984
+# 1976 November nov 76 1976
+# 1976 November 1976 nov 76 1976
+# 21 August 1984 {21 August} 84 1984
+# August 18-21, 1984 {August 18-21} 84 1984
+# 18-21 August 1991 {18-21 August} 91 1991
+# July 31-August 4, 1984 1984 {July 31-August 4} 84 1984
+# July-August 1980 {July-August} 80 1980
+# February 1984 (revised May 1991) feb 84 1984
+# Winter 1990 {Winter} 90 1990
+# 1988 (in press) 88 1988 (in press)
+# to appear ?? to appear
+#
+sub parsedate {
+ local($date) = $entry{D};
+
+# These were done earlier for each field
+# $date =~ s/^\s+//;
+# $date =~ s/\s+$//;
+ $date =~ s/(\S+)\s+(\d+)\s+\1\s+\2/$1 $2/; # handle duplicate dates
+ $date =~ s/^\s*(\d\d\d+)\s+(\S+)/$2 $1/; # handle 1976 November
+ while ($date =~ /\s*[(]?((\d\d\d\d[-\/])?\d\d\d\d)[).]?\s*(\(.*\))?$/) {
+ $entry{Yr} = $1;
+ $date =~ s/,?\s*[(]?(\d\d\d\d[-\/])?\d\d\d\d[).]?\s*(\(.*\))?$//;
+ }
+# $entry{YrKey} = $entry{Yr} ? $entry{Yr} : "????";
+ if ($entry{Yr}) {
+ $entry{YrKey} = $entry{Yr};
+ } elsif ($date =~ /(\d\d\d\d)/) {
+ $entry{YrKey} = $1;
+ } else {
+ $entry{YrKey} = "????";
+ }
+ $entry{Decade} = substr($entry{YrKey}, 2, 2);
+ return unless length($date);
+
+ $_ = $date;
+ if (!/[-\d]/) {
+ /^jan/i && do { $entry{Mo} = "jan"; };
+ /^feb/i && do { $entry{Mo} = "feb"; };
+ /^mar/i && do { $entry{Mo} = "mar"; };
+ /^apr/i && do { $entry{Mo} = "apr"; };
+ /^may/i && do { $entry{Mo} = "may"; };
+ /^jun/i && do { $entry{Mo} = "jun"; };
+ /^jul/i && do { $entry{Mo} = "jul"; };
+ /^aug/i && do { $entry{Mo} = "aug"; };
+ /^sep/i && do { $entry{Mo} = "sep"; };
+ /^oct/i && do { $entry{Mo} = "oct"; };
+ /^nov/i && do { $entry{Mo} = "nov"; };
+ /^dec/i && do { $entry{Mo} = "dec"; };
+ }
+
+ if (!$entry{Mo}) {
+ if (!$entry{Yr}) {
+ $entry{Yr} = $entry{D};
+ }
+ else {
+ $entry{Mo} = '{' . $date . '}';
+ }
+ }
+ $entry{Decade} = substr($entry{YrKey}, 2, 2);
+}
+
+##########################################
+# key is Author's last name followed by last 2 digits of year.
+# in corporate author's case, key is first word and first 2 digits.
+# order is L, A, Q, E, I, "Anonymous"
+# In case of conflict, ascending letters are added to the end
+# Perl knows that "z"+1 == "aa" and "az"+1 == "ba". Uskomatonta!
+#
+# BiBTeX's cite keys are case-INsensitive. We want to keep the
+# pretty looking capitalization though, so we modify key and lkey.
+# We now check Label fields for duplicate keys
+sub genkey {
+ local($noadd) = @_;
+ local($name, $lenkey);
+ local($keysav); # added in version 0.9.4
+
+ if ($entry{L} && (!$ignorelabel) ) {
+ $key = $entry{L};
+ } else {
+ $name = $entry{Key_A} || $entry{Key_Q} || $entry{Key_E}
+ || $entry{Key_I} || $noadd || "Anonymous";
+
+ $name = substr($name,0,$maxllength);
+ $key = $name . $entry{Decade};
+ }
+
+ $key =~ s/,//g;
+ $keysav=$key; # added in version 0.9.4
+ $key =~ s/\\ae/ae/g; # added in version 0.9.4
+ $key =~ s/\\AE/Ae/g; # added in version 0.9.4
+ $key =~ s/\\oe/oe/g; # added in version 0.9.4
+ $key =~ s/\\OE/Oe/g; # added in version 0.9.4
+ $key =~ s/\\[acduv]//g; # added in version 0.9.4
+ $key =~ s/\\ecr\\symbol\{157\}/I/g; # added in version 0.9.4
+ $key =~ s/\\ecr\\symbol\{208\}/D/g; # added in version 0.9.4
+ $key =~ s/\\ecr\\symbol\{240\}/d/g; # added in version 0.9.4
+ $key =~ s/\\ecr\\symbol\{222\}/Th/g; # added in version 0.9.4
+ $key =~ s/\\ecr\\symbol\{254\}/th/g; # added in version 0.9.4
+ $key =~ s/\\"([AOUaou])/$1e/g; # added in version 0.9.4
+ $key =~ s/[\s\{\}]//g; # added in version 0.9.4
+ $key =~ tr/A-Za-z0-9\/\-//cd; # added in version 0.9.4
+ if ($key ne $keysav) {$extname = ' ' . $key;} # added in version 0.9.4
+ $lenkey = length($key);
+ $lkey = $key;
+ $lkey =~ tr/A-Z/a-z/; # citekeys are case-insensitive
+
+ if ($allkeys{$lkey}) {
+ $key .= 'a';
+ $lkey = $key;
+ $lkey =~ tr/A-Z/a-z/;
+ while ($allkeys{$lkey}) {
+ substr($key,$lenkey)++; # increment all chars past Decade
+ $lkey = $key;
+ $lkey =~ tr/A-Z/a-z/;
+ }
+ }
+
+ if (!$noadd) {
+ $allkeys{$lkey} = $key;
+ if ($name eq "Anonymous") {
+ $entry{Key} = $key;
+ }
+ }
+ $key;
+}
+
+
+##########################################
+# parsename parses names into BiBTeX format
+#
+# This uses heuristics to parse a name into First, von, Last, and Jr
+# parts. It handles multiple names (John doe, jane doe) on a line.
+# It does not handle names in "last, first" format.
+# it returns a key (last name of author or editor, first name of corp).
+# It sets $fname to the full bibtex name.
+# It sets $editors or $corpauthors if it thinks the name is one.
+#
+sub parsename {
+ local($allnames, $ntype) = @_;
+ local($firstn, $vonn, $lastn, $jrn);
+ local(@names, $keyn, $oname, $nname, $rest);
+
+ $editors = $corpauthors = "";
+
+ # handle unpaddable spaces (\ ) in names as if they were ties (\0)
+ $allnames =~ s/\\ /~/g; # the ties (~) get converted back later.
+ $allnames =~ s/\s+/ /g;
+ $allnames =~ s/^and //;
+ $allnames =~ s/^and$//;
+
+ if ( ($allnames !~ /\s/) && ($allnames !~ /anonymous/i) ){
+ $corpauthors = 1;
+ }
+ @names = split(/ and /, $allnames);
+ if (!$nameconv) {
+ $fname = $allnames;
+ $_ = shift @names;
+ # if we're leaving names alone, they're probably already in "Last, First"
+ # format, so use the first part of the name as the key.
+ ($name) = /^\s*(\S*)/;
+ # ($name) = /(\S*)\s*$/;
+ $name =~ tr/A-Za-z0-9\/\-//cd;
+ return $name;
+ }
+ $fname = "";
+ while (@names) {
+ $oname = $name = shift @names;
+ $firstn = $vonn = $lastn = '';
+
+ if ( $revauthor && ($ntype eq A) && ($name =~ /,/) ) {
+ $jrn = "";
+ if ($name =~ s/[,\s]+([sj]r\.?|I+)\s*$//i) {
+ $jrn = ", " . $1;
+ }
+ $name =~ s/^(.*)\s*,\s*(.*)/$2 $1$jrn/g;
+ }
+ $jrn = "";
+
+# $name =~ s/[\s~]+([sj]r\.?|\(?edi?t?o?r?s?\.?\)?|I+)(,|$)/, $1/i;
+ $name =~ s/[\s~]+([sj]r\.?|\(?edi?t?o?r?s?\.?\)?|\(?he?ra?u?sge?b?e?r?\.?\)|I+)(,|$)/, $1/i; # extended in version 0.9.4
+ $name =~ s/,,/,/g;
+ ($nname, $jrn) = split(/,[^~]/, $name, 2);
+# print "name: $name -> $nname : $jrn\n";
+ $nname =~ s/\s+$//;
+ $jrn =~ s/^[\s~]+//;
+ $jrn =~ s/,$//;
+ if ($jrn =~ /\s/) {
+# ($jrn, $rest) = $jrn =~ /([sj]r\.?|\(?edi?t?o?r?s?\.?\)?|I+)?,?\s*(.*)$/i;
+ ($jrn, $rest) = $jrn =~ /([sj]r\.?|\(?edi?t?o?r?s?\.?\)?|\(?he?ra?u?sge?b?e?r?\.?\)|I+)?,?\s*(.*)$/i; # extended in version 0.9.4
+ unshift(@names, $rest);
+ }
+ $jrn =~ s/([^\\])~/$1 /g;
+ ($firstn) = $nname =~ /^((\S* )*)/;
+ $nname = substr($nname, length($firstn));
+ $lastn = $nname;
+ $lastn =~ s/([^\\])~/$1 /g;
+ $firstn =~ s/([^\\])~/$1 /g;
+ while ($firstn =~ / ([a-z]+ )$/) {
+ $rest = $1;
+ $vonn = $rest . $vonn;
+ $firstn = substr($firstn, 0, length($firstn) - length($rest));
+ }
+ while ($lastn =~ /^([a-z]+ )/) {
+ $rest = $1;
+ $vonn .= $rest;
+ $lastn = substr($lastn, length($rest));
+ }
+
+ if ($jrn) {
+ if ($jrn =~ /^(et\.?\s*al\.?)|(others)$/i) {
+ undef $jrn;
+ unshift(@names, "others");
+ }
+# BibTeX suppresses Editors in the output, if the publication type is an
+# 'article' or 'techreport'. This does not always fit. Therefore the
+# following was added in version 0.9.4:
+ if (!$accedina || (!$entry{J}) && (!$entry{R}) ) {
+ if ($jrn =~ /^[(]?edi?t?o?r?s?[\.]?[)]?$/i) {
+ undef $jrn;
+ $editors = 1;
+ }
+ if ($jrn =~ /^[(]?he?ra?u?sge?b?e?r?[\.]?[)]?$/i) { # added in 0.9.4
+ $editors = 1; # - " -
+ } # - " -
+ } # - " -
+ if ($jrn =~ /^inc[\.]?$/i) {
+ $lastn .= ", " . $jrn;
+ undef $jrn;
+ $corpauthors = 1;
+ }
+ }
+ if ($lastn =~ /^(et\s*al)|(others)$/i) {
+ $lastn = "others";
+ }
+ if ($lastn =~ /\s/) {
+ $lastn = "{" . $lastn . "}";
+ }
+
+ if (!$keyn) {
+ if ($corpauthors) {
+ ($keyn) = $lastn =~ /^(\S+)/;
+ } else {
+ ($keyn) = $lastn; # =~ /(\S+)$/; # if you want last of Last
+ }
+ }
+
+ if ($jrn) {
+ $fname .= " and " . $vonn . $lastn . ", " . $jrn . ", " . $firstn;
+ } else {
+ $fname .= " and " . $firstn . $vonn . $lastn;
+ }
+ }
+ $fname =~ s/^ and\s+//;
+ $fname =~ s/\s+$//;
+ $fname =~ s/\s+/ /g;
+ if ($ntype eq A) {
+ if ($corpauthors) {
+ &anerror("Corporate Author (%Q) in %A.");
+ } elsif ($editors) {
+ &anerror("Editors (%E) in %A.");
+ }
+ } elsif ($ntype eq Q) {
+ if ($editors) {
+ &anerror("Editors (%E) in %Q.");
+ }
+ } elsif ($ntype eq E) {
+ if ($corpauthors && (!$entry{A})) {
+ &anerror("Corporate Author (%Q) in %E.");
+ }
+ }
+ $keyn;
+}
+
+
+
+
+##########################################
+# stores error information until it gets printed
+#
+# This allows us to fully process the entry so we can print out
+# valid key information without having to go through ugly gyrations.
+#
+sub anerror {
+ local($err) = @_;
+
+ push(@errorstring, $err);
+ $errors++;
+}
+
+
+
+##########################################
+# prints out stored error information
+#
+sub printerrors {
+ local($klen, $errst);
+
+ if (@errorstring && (!$nowarnings)) {
+ $klen = $maxllength; # a little short, but most labels aren't this long
+ foreach $_ (@errorstring) {
+ $errst .= sprintf("%-${klen}s (%5d): %s\n", $key, $errline, $_);
+ }
+ print STDERR $errst;
+ }
+ undef @errorstring;
+ $errline = $linenum+1;
+}
+
+
+
+##########################################
+# converts *roff characters to TeX characters
+#
+# If anyone has any corrections or additions, I'd be happy to see them.
+#
+# Is there a better way to do this? (i.e. eval)
+#
+sub dorofftotex {
+ local($_) = @_;
+ local($fbraces, $nchanges);
+
+ study; # presumably this will help us.
+
+ # tib: refer format, TeX formatting.
+ # This should probably be set up to read a configuration file into
+ # a variable then use eval. If there is such a beast as a "detibify"
+ # program, then this won't be necessary.
+ if ($tibfmt) {
+ 1 while s#\\egroup(.*)\\bgroup#{\\Reffont $1}#g;
+ s/\\Citefont//g;
+ s/\\ACitefont//g;
+ s/\\Authfont//g;
+ s/\\Titlefont//g;
+ s/\\Tomefont/\\sl/g;
+ s/\\Volfont//g;
+ s/\\Flagfont//g;
+ s/\\Reffont/\\rm/g;
+ s/\\Smallcapsfont/\\sevenrm/g;
+ s/\\Flagstyle//g; # This should be smarter
+
+ if (/\|/) {
+ s/\|JAN\|/January/g; # yes, the parsedate routine can handle
+ s/\|FEB\|/February/g; # these most of the time, but sometimes
+ s/\|MAR\|/March/g; # they're put in the middle of non-date
+ s/\|APR\|/April/g; # strings, so we'd better convert them.
+ s/\|MAY\|/May/g;
+ s/\|JUN\|/June/g;
+ s/\|JUL\|/July/g;
+ s/\|AUG\|/August/g;
+ s/\|SEP\|/September/g;
+ s/\|OCT\|/October/g;
+ s/\|NOV\|/November/g;
+ s/\|DEC\|/December/g;
+
+ # My example of tib format is AGbib from INRIA, so this is set up to
+ # handle the common cases for that bibliography.
+
+ s/\|UNIV\|/University/g;
+ s/\|DEPT\|/Department/g;
+ s/\|DCS\|/Department of Computer Science/g;
+ s/\|PCS\|/Progr. and Computer Science/g;
+ s/\|CSD\|/Computer Science Department/g;
+ s/\|TR\|/Technical Report/g;
+
+ s/\|COMPJ\|/The Computer Journal/g;
+ s/\|JACM\|/Journal of the ACM/g;
+ s/\|CACM\|/Communications of the ACM/g;
+ s/\|SGPLN\|/Sigplan Notices/g;
+ s/\|SIAJC1\|/SIAM Journal on Computing/g;
+ s/\|ACTAI2\|/Acta Informatica/g;
+ s/\|IEETS1\|/IEEE Transactions on Software Engineering/g;
+ s/\|INFPL2\|/Information Processing Letters/g;
+ if (s/\|LNCS\|/Lecture Notes in Computer Science/g) {
+ $entry{I} .= " " . "Springer-Verlag";
+ $entry{C} .= " " . "New York--Heidelberg--Berlin"; }
+ if (s/\|IFBSV\|/Inf. Fachb./g) {
+ $entry{I} .= " " . "Springer-Verlag";
+ $entry{C} .= " " . "New York--Heidelberg--Berlin"; }
+ s/\|SCICP\|/Science of Computer Programming/g;
+ s/\|SP&E\|/Software---Practice and Experience/g;
+ s/\|POPL\|/ACM Symp. on Principles of Progr. Languages/g;
+ s/\|TOPLAS\|/ACM Trans. Progr. Languages and Systems/g;
+
+ if (s/\|Addison\|/Addison Wesley/g) {
+ $entry{C} .= " " . "Reading, MA"; }
+ if (s/\|PrHall\|/Prentice Hall/g) {
+ $entry{C} .= " " . "Englewood Cliffs, NJ"; }
+ if (s/\|NHoll\|/North-Holland/g) {
+ $entry{C} .= " " . "Amsterdam"; }
+ if (s/\|Cambridge\|/Cambridge University Press/g) {
+ $entry{C} .= " " . "New York"; }
+ if (s/\|Springer\|/Springer-Verlag/g) {
+ $entry{C} .= " " . "New York--Heidelberg--Berlin"; }
+
+ s/\|TWEINF\|/Onderafdeling der Informatica, Tech. Hogeschool Twente/g;
+ s/\|TUMINF\|/Institut f{\"u}r Informatik, Tech. University M{\"u}nchen/g;
+ s/\|HELDCS\|/Department of Computer Science, University of Helsinki/g;
+ if (s/\|IBMTJW\|/IBM T.J. Watson Research Center/g) {
+ $entry{C} .= " " . "Yorktown Heights, NY"; }
+ if (s/\|INRIA\|/INRIA/g) {
+ $entry{C} .= " " . "Rocquencourt"; }
+ if (s/\|IRIAL\|/IRIA-Laboria/g) {
+ $entry{C} .= " " . "Rocquencourt"; }
+ $entry{C} =~ s/^\s+//;
+ $entry{I} =~ s/^\s+//;
+ }
+ return $_;
+ }
+
+ s#_#_U#g; # _ will be the escape character
+
+ # don't do troff character conversion if there aren't any backslashes
+ # in the string. Hopefully this will save a little work.
+ if (/\\/) {
+
+ # to make commands, we need command characters, but we don't want
+ # any of the command characters that they use to be passed through
+ # or we'll end up with invalid input. So, _ is the escape character.
+
+ # _U is _
+ # _B is a backslash
+ # _I is a literal backslash
+ # _S is a space
+ # _C is {\
+ # _L is {
+ # _R is }
+ # _l is <
+ # _g is >
+ # _T is ~
+ # _A is ^
+ # _D is $
+ # _M is $\
+ # _V is |
+ # _E is ${}^
+ # _H is \hbox{
+ # _h is \leavevmode
+ # _c is a special continuation character for long lines
+
+ # I'm not sure I quite get this -- refer strips off one \ for most
+ # characters it seems. But other times it doesn't. Argh! I'll
+ # go ahead and replace \\ with \ to handle this. It shouldn't ever
+ # come up that this is bad since \e and \(rs are a real backslashes.
+
+ s#\\\\#\\#g; # \\ -> \
+
+ # font changes
+ # if one uses \fP, everything is fine -- otherwise we need to get complex
+ $fbraces = 0;
+ $fbraces += s#\\f[1R]#_Crm_S#g; # \f1 -> {\rm
+ $fbraces += s#\\f[2I]#_Cit_S#g; # \f2 -> {\it
+ $fbraces += s#\\f[3B]#_Cbf_S#g; # \f3 -> {\bf
+ $fbraces -= s#\\fP#_R#g; # \fP -> }
+ while ($fbraces) { # too many {'s
+ if ($fbraces < 0) {
+ $nchanges = s#_R##;
+ &anerror("Used \\fP with no previous font.");
+ $fbraces += $nchanges;
+ } else { # Changed newline matching because 4.019 had problems
+# $nchanges = s#(_Cit_S)([\s\S]*)_Crm_S#$1$2_R#;
+ $nchanges = s#(_Cit_S)((.|\n)*)_Crm_S#$1$2_R#;
+ if (!$nchanges)
+ { $nchanges = s#(_Cbf_S)([\s\S]*)_Crm_S#$1$2_R#; }
+ if (!$nchanges)
+ { $nchanges = s#(_C\w\w_S)([\s\S]*)_C\w\w_S#$1$2_R#; }
+ if (!$nchanges) {
+ $_ .= "_R"; # couldn't get it, so stick a } on
+ $fbraces--;
+ &anerror("Problems with font changing. Suggest using \\fP.");
+ }
+ $fbraces -= ($nchanges * 2);
+ }
+ }
+
+ # point size changes
+ # first, U\s-2NIX\s0 -> {\sc Unix}
+ s/\b([A-Z])\\s-[12]([A-Z]+)\\s0/_Csc_S$1\L$2\E_R/g;
+ # very similar to font changes. If \s0 is used, everything is fine.
+ $fbraces = 0;
+ $fbraces += s#\\s-1#_Csmall_S#g; # \s-1 -> {\small
+ $fbraces += s#\\s-2#_Cfootnotesize_S#g; # \s-2 -> {\footnotesize
+ $fbraces += s#\\s-3#_Cscriptsize_S#g; # \s-3 -> {\scriptsize
+ $fbraces += s#\\s-4#_Ctiny_S#g; # \s-4 -> {\tiny
+ $fbraces += s#\\s+1#_Clarge_S#g; # \s+1 -> {\large
+ $fbraces += s#\\s+2#_CLarge_S#g; # \s+2 -> {\Large
+ $fbraces += s#\\s+3#_CLARGE_S#g; # \s+3 -> {\LARGE
+ $fbraces += s#\\s+4#_Chuge_S#g; # \s+4 -> {\huge
+ $fbraces -= s#\\s0#_R#g; # \s0 -> }
+ while ($fbraces) { # too many {'s
+ if ($fbraces < 0) {
+ $nchanges = s#_R##;
+ &anerror("Used \\s0 with no previous point size change.");
+ $fbraces += $nchanges;
+ } else {
+ $nchanges = s#(_Csmall_S)(.*)_Clarge_S#$1$2_R#;
+ if (!$nchanges)
+ { $nchanges = s#(_Cfootnotesize_S)(.*)_CLarge_S#$1$2_R#; }
+ if (!$nchanges)
+ { $nchanges = s#(_Cscriptsize_S)(.*)_CLARGE_S#$1$2_R#; }
+ if (!$nchanges)
+ { $nchanges = s#(_Clarge_S)(.*)_Csmall_S#$1$2_R#; }
+ if (!$nchanges)
+ { $nchanges = s#(_CLarge_S)(.*)_Cfootnotesize_S#$1$2_R#; }
+ if (!$nchanges)
+ { $nchanges = s#(_CLARGE_S)(.*)_Cscriptsize_S#$1$2_R#; }
+ if (!$nchanges) {
+ $_ .= "_R"; # last resort. Add an }.
+ $fbraces--;
+ &anerror("Problems with point size changing. Suggest using \\s0.");
+ }
+ $fbraces -= ($nchanges * 2);
+ }
+ }
+
+
+ # other troff special characters
+ # some of these aren't available as standard TeX, so I made up replacements.
+ # Perhaps they should be def'ed in a preamble and used that way, but I
+ # doubt most files use \(rg, \(ct, and such, so why waste resources.
+ # If you're really concerned about eth, thorn, yogh, or ogonek, go get
+ # the cmoer fonts -- they do the characters right.
+
+ # grab some common overstrikes made by people who don't have a real
+ # troff manual or implementation.
+
+ s#\\o'(\w)\\\(aa'#_C'$1_R#g; # \o'e\(aa' -> {\'e}
+ s#\\o'(\w)\\\(ga'#_C`$1_R#g; # \o'e\(ga' -> {\`e}
+
+ # Lots of bibliographies from Europe use \:o to mean \(o:, etc. Both
+ # Elan troff and groff don't know what this means, so I don't do the
+ # conversion by default. Use '-overstrike' to get this behaviour.
+
+ if ($overstrike) {
+ s#\\([:`'^~,v/o])([AEIOUYaeiouyNnCcSs])#\\\($2$1#g;
+ }
+
+ s#\\\(bu#_Mbullet_D#g; # \(bu -> $\bullet$
+ s#\\\(ci#_Mbigcirc_D#g; # \(ci -> $\bigcirc$
+ s#\\\(sq#_MBox_D#g; # \(sq -> $\Box$
+ s#\\\(ct#_h_Brm_Brlap/c_R#g; # \(ct -> \hbox{\rm\rlap/c}
+ s#\\\(rg#_h_Braise.6em_H_Booalign_L_L_Bmathhexbox20D_R_Bcrcr\n_Bhfil_Braise.07ex_Hr_R_Bhfil_R_R_R#g;
+ s#\\\(co#_h_Braise.6em_H_Bcopyright_R_R#g;
+ s#\\\(lh#_MLongleftarrow_D#g; # \(lh -> $\Longleftarrow$ #wrong!
+ s#\\\(rh#_MLongrightarrow_D#g; # \(rh -> $\Longrightarrow$
+ s#\\\(dg#_Bdag #g; # \(dg -> \dag
+ s#\\\(dd#_Bddag #g; # \(dd -> \ddag
+ s#\\\(sc#_BS #g; # \(sc -> \S
+ s#\\\(br#_D_V_D#g; # \(br -> $|$
+ s#\\\(fm#_E_Bprime_D#g; # \(fm -> ${}^\prime$
+ s#\\\(de#_E_Bcirc_D#g; # \(de -> ${}^\circ$
+ s#\\\(em#--#g; # \(em -> --
+ s#\\\(hy#-#g; # \(hy -> -
+ s#\\\(ru#_Cvrule width1.2ex height0.1ex depth0ex_R#g;
+ s#\\\(ul#_Cvrule width1.2ex height-.3ex depth.4ex_R#g;
+ s#\\\-#---#g; # \- -> --
+ s#\\\(aa#_C'_L _R_R#g; # \(aa -> {\'{ }}
+ s#\\'#_C'_L _R_R#g; # \' -> {\'{ }}
+ s#\\\(ga#_C`_L _R_R#g; # \(ga -> {\`{ }}
+ s#\\`#_C`_L _R_R#g; # \` -> {\`{ }}
+ s#\\\(sl#/#g; # \(sl -> /
+ s#\\e#_I#g; # \e -> $\backslash$
+ s#\\0#_T#g; # \0 -> ~
+ s#\\ #_B #g; # '\ ' -> '\ '
+ s#\\\^#_D_B,_D#g; # \^ -> $\,$
+ s#\\\|#_D_B:_D#g; # \| -> $\:$
+ s#\\\(fi#fi#g; # \(fi -> fi
+ s#\\\(fl#fl#g; # \(fl -> fl
+ s#\\\(ff#ff#g; # \(ff -> ff
+ s#\\\(Fi#ffi#g; # \(Fi -> ffi
+ s#\\\(Fl#ffl#g; # \(Fl -> ffl
+
+ s#\\\(pl#_D+_D#g; # \(pl -> $+$
+ s#\\\(mi#_D-_D#g; # \(mi -> $-$
+ s#\\\(mu#_Mtimes_D#g; # \(mu -> $\times$
+ s#\\\(di#_Mdiv_D#g; # \(di -> $\div$
+ s#\\\(\+\-#_Mpm_D#g; # \(+- -> $\pm$
+ s#\\\(no#_Mneg_D#g; # \(no -> $\neg$
+ s#\\\(\*\*#_Mast_D#g; # \(** -> $\ast$
+ s#\\\(eq#_D=_D#g; # \(eq -> $=$
+ s#\\\(>=#_Mgeq_D#g; # \(>= -> $\geq$
+ s#\\\(<=#_Mleq_D#g; # \(<= -> $\leq$
+ s#\\\(==#_Mequiv_D#g; # \(== -> $\equiv$
+ s#\\\(~=#_Msimeq_D#g; # \(~= -> $\simeq$
+ s#\\\(ap#_Msim_D#g; # \(ap -> $\sim$
+ s#\\\(!e#_Mneq_D#g; # \(!e -> $\neq$
+ s#\\\(\->#_Mrightarrow_D#g; # \(-> -> $\rightarrow$
+ s#\\\(<\-#_Mleftarrow_D#g; # \(<- -> $\leftarrow$
+ s#\\\(ua#_Muparrow_D#g; # \(ua -> $\uparrow$
+ s#\\\(da#_Mdownarrow_D#g; # \(da -> $\downarrow$
+ s#\\\(cu#_Mcup_D#g; # \(cu -> $\cup$
+ s#\\\(ca#_Mcap_D#g; # \(ca -> $\cap$
+ s#\\\(sb#_Msubset_D#g; # \(sb -> $\subset$
+ s#\\\(sp#_Msupset_D#g; # \(sp -> $\supset$
+ s#\\\(ib#_Msubseteq_D#g; # \(ib -> $\subseteq$
+ s#\\\(ip#_Msupseteq_D#g; # \(ip -> $\supseteq$
+ s#\\\(if#_Minfty_D#g; # \(if -> $\infty$
+ s#\\\(es#_Memptyset_D#g; # \(es -> $\emptyset$
+ s#\\\(is#_Mint_D#g; # \(is -> $\int$
+ s#\\\(pd#_Mpartial_D#g; # \(pd -> $\partial$
+ s#\\\(sr#_Msurd_D#g; # \(sr -> $\surd$
+ s#\\\(gr#_Mnabla_D#g; # \(gr -> $\nabla$
+ s#\\\(pt#_Mpropto_D#g; # \(pt -> $\propto$
+ s#\\\(mo#_Min_D#g; # \(mo -> $\in$
+ s#\\\(or#_Mmid_D#g; # \(or -> $\mid$
+ s#\\\((\d)(\d)#_D$1_Bover$2_D#g; # \(14 -> $1\over4$
+
+ s#\\\(m\.#_Mcdot_D#g; # \(m. -> $\cdot$
+ s#\\\(!s#_Mnot_Bsubset_D#g; # \(!s -> $\not\subset$
+ s#\\\(an#_Mwedge_D#g; # \(an -> $\wedge$
+ s#\\\(lo#_Mvee_D#g; # \(lo -> $\vee$
+ s#\\\(tf#_D_H._R_Braise.9ex_H._R_H._R_D#g;# \(tf -> .:.
+ s#\\\(cm#_Mni_D#g; # \(cm -> $\ni$
+ s#\\\(fa#_Mforall_D#g; # \(fa -> $\forall$
+ s#\\\(te#_Mexists_D#g; # \(te -> $\exists$
+ s#\\\(!m#_Mnotin_D#g; # \(!m -> $\notin$
+ s#\\\(a\+#_Moplus_D#g; # \(a+ -> $\oplus$
+ s#\\\(ax#_Motimes_D#g; # \(ax -> $\otimes$
+ s#\\\(ag#_Mangle_D#g; # \(ag -> $\angle$
+ s#\\\(rn#_Moverline_L _R_D#g; # \(rn -> $\overline{ }$
+ s#\\\(<<#_Mll_D#g; # \(<< -> $\ll$
+ s#\\\(>>#_Mgg_D#g; # \(>> -> $\gg$
+ s#\\\(<>#_Mleftrightarrow_D#g; # \(<> -> $\leftrightarrow$
+ s#\\\(//#_D/_D#g; # \(// -> $/$
+ s#\\\(L<#_Mlangle_D#g; # \(L< -> $\langle$
+ s#\\\(R>#_Mrangle_D#g; # \(R> -> $\rangle$
+ s#\\\(dm#_Mdiamond_D#g; # \(dm -> $\diamond$
+ s#\\\(lt#_Mlbrace_D#g; # \(lt -> $\lbrace$
+ s#\\\(rt#_Mrbrace_D#g; # \(rt -> $\rbrace$
+ s#\\\(lb#_Mlfloor_D#g; # \(lb -> $\lfloor$
+ s#\\\(rt#_Mrfloor_D#g; # \(rt -> $\rfloor$
+ s#\\\(lk#_Mlbrace_D#g; # \(lk -> $\lbrace$
+ s#\\\(rk#_Mrbrace_D#g; # \(rk -> $\rbrace$
+ s#\\\(lf#_Mlfloor_D#g; # \(lf -> $\lfloor$
+ s#\\\(rf#_Mrfloor_D#g; # \(rf -> $\rfloor$
+ s#\\\(lc#_Mlceil_D#g; # \(lc -> $\lceil$
+ s#\\\(rc#_Mrceil_D#g; # \(rc -> $\rceil$
+
+ s#\\\(bv#_Cmbox_Cboldmath_Mmid_D_R_R#g; # \(bv -> {\mbox{\boldmath$\mid$}}
+ s#\\\(bx#_Cvrule width.5em height.6em depth-.1em_R#g;
+ s#\\\(cf#^#g; # \(cf -> ^
+ s#\\\(al#_Maleph_D#g; # \(al -> $\aleph$
+ s#\\\(If#_MIm_D#g; # \(If -> $\Im$
+ s#\\\(Rf#_MRe_D#g; # \(Rf -> $\Re$
+ s#\\\(ws#_Mwp_D#g; # \(ws -> $\wp$
+ s#\\\(mt#_E_Bprime_D#g; # \(mt -> ${}^\prime$
+ s#\\\(sd#_E_L_Bprime_B!_Bprime_R_D#g; # \(sd -> ${}^{\prime\!\prime}$
+ s#\\\(pa#_BP#g; # \(pa -> \P
+ s#\\\(Cc#_Mclubsuit_D#g; # \(Cc -> $\clubsuit$
+ s#\\\(Cd#_Mdiamondsuit_D#g; # \(Cd -> $\diamondsuit$
+ s#\\\(Ch#_Mheartsuit_D#g; # \(Ch -> $\heartsuit$
+ s#\\\(Cs#_Mspadesuit_D#g; # \(Cs -> $\spadesuit$
+ s#\\\(bt#_Mperp_D#g; # \(bt -> $\perp$
+ s#\\\(<:#_MLeftarrow_D#g; # \(<: -> $\Leftarrow$
+ s#\\\(:>#_MRightarrow_D#g; # \(:> -> $\Rightarrow$
+ s#\\\(io#_MLeftrightarrow_D#g; # \(io -> $\Leftrightarrow$
+ s#\\\(u=#_MUparrow_D#g; # \(u= -> $\Uparrow$
+ s#\\\(d=#_MDownarrow_D#g; # \(d= -> $\Downarrow$
+ s#\\\(r1#_Mrightleftharpoons_D#g; # \(r1 -> $\rightleftharpoons$
+ s#\\\(r2#_Mleftharpoondown_D#g; # \(r2 -> $\leftharpoondown$
+ s#\\\(cr#_Mhookleftarrow_D#g; # \(cr -> $\hookleftarrow$
+ s#\\\(AL#_M_D#g; # \(AL ->
+ s#\\\(DL#_M_D#g; # \(DL ->
+
+ s#\\\(\*a#_Malpha_D#g; # \(*a -> $\alpha$
+ s#\\\(\*b#_Mbeta_D#g; # \(*b -> $\beta$
+ s#\\\(\*c#_Mxi_D#g; # \(*c -> $\xi$
+ s#\\\(\*d#_Mdelta_D#g; # \(*d -> $\delta$
+ s#\\\(\*e#_Mvarepsilon_D#g; # \(*e -> $\varepsilon$
+ s#\\\(\*f#_Mphi_D#g; # \(*f -> $\phi$
+ s#\\\(\*g#_Mgamma_D#g; # \(*g -> $\gamma$
+ s#\\\(\*h#_Mtheta_D#g; # \(*h -> $\theta$
+ s#\\\(\*([ij])\\\*(['`])#_C$2_B$1_R#g; # \\(*i\\*' -> {\'\i} new 0.9.4
+ s#\\\(\*i#_Miota_D#g; # \(*i -> $\iota$
+ s#\\\(\*k#_Mkappa_D#g; # \(*k -> $\kappa$
+ s#\\\(\*l#_Mlambda_D#g; # \(*l -> $\lambda$
+ s#\\\(\*m#_Mmu_D#g; # \(*m -> $\mu$
+ s#\\\(\*n#_Mnu_D#g; # \(*n -> $\nu$
+ s#\\\(\*o#_Do_D#g; # \(*o -> $o$
+ s#\\\(\*p#_Mpi_D#g; # \(*p -> $\pi$
+ s#\\\(\*q#_Mpsi_D#g; # \(*q -> $\psi$
+ s#\\\(\*r#_Mrho_D#g; # \(*r -> $\rho$
+ s#\\\(\*s#_Msigma_D#g; # \(*s -> $\sigma$
+ s#\\\(\*t#_Mtau_D#g; # \(*t -> $\tau$
+ s#\\\(\*u#_Mupsilon_D#g; # \(*u -> $\upsilon$
+ s#\\\(\*w#_Momega_D#g; # \(*w -> $\omega$
+ s#\\\(\*x#_Mchi_D#g; # \(*x -> $\chi$
+ s#\\\(\*y#_Meta_D#g; # \(*y -> $\eta$
+ s#\\\(\*z#_Mzeta_D#g; # \(*z -> $\zeta$
+ s#\\\(ts#_Mvarsigma_D#g; # \(ts -> $\varsigma$
+ s#\\\(\*C#_MXi_D#g; # \(*C -> $\Xi$
+ s#\\\(\*D#_MDelta_D#g; # \(*D -> $\Delta$
+ s#\\\(\*F#_MPhi_D#g; # \(*F -> $\Phi$
+ s#\\\(\*G#_MGamma_D#g; # \(*G -> $\Gamma$
+ s#\\\(\*H#_MTheta_D#g; # \(*H -> $\Theta$
+ s#\\\(\*L#_MLambda_D#g; # \(*L -> $\Lambda$
+ s#\\\(\*P#_MPi_D#g; # \(*P -> $\Pi$
+ s#\\\(\*Q#_MPsi_D#g; # \(*Q -> $\Psi$
+ s#\\\(\*R#_Crm_SP_R#g; # \(*R -> {\rm P}
+ s#\\\(\*S#_MSigma_D#g; # \(*S -> $\Sigma$
+ s#\\\(\*U#_Crm_SY_R#g; # \(*U -> {\rm Y}
+ s#\\\(\*W#_MOmega_D#g; # \(*W -> $\Omega$
+ s#\\\(\*Y#_Crm_SH_R#g; # \(*Y -> {\rm H}
+ s#\\\(\*(\w)#_Crm_S$1_R#g; # \(*_ -> {\rm _}
+
+ # from the -mm macros
+
+ s#\\\*\(Tm#_E_Crm_Buppercase_LTM_R_R_D#g;# \*(Tm -> ${}^{\rm\uppercase{TM}}$
+
+ # I am SO disgusted with troff. It seems that unless the -ms option is
+ # given, all accents are done in the -mm way e\*'. In fact, when the
+ # -ms option is given, only the original 7 accents are done postfix.
+
+ # (ij) changed to ([ij]) in version 0.9.4
+ #
+# s#(ij)\\\*(['`])#_C$1_B$2_R#g; # i\*' -> {\'\i}
+ s#([ij])\\\*(['`])#_C$2_B$1_R#g; # i\*' -> {\'\i}
+# s#(ij)\\\*:#_C"_B$1_R#g; # i\*: -> {\"\i}
+ s#([ij])\\\*:#_C"_B$1_R#g; # i\*: -> {\"\i}
+# s#(ij)\\\*\^#_C_A_B$1_R#g; # i\*^ -> {\^\i}
+ s#([ij])\\\*\^#_C_A_B$1_R#g; # i\*^ -> {\^\i}
+#
+ s#(\w)\\\*(['`])#_C$2$1_R#g; # e\*' -> {\'e}
+ s#(\w)\\\*\^#_C_A$1_R#g; # e\*^ -> {\^e}
+ s#(\w)\\\*~#_C_T$1_R#g; # e\*~ -> {\~e}
+ s#(\w)\\\*:#_C"$1_R#g; # e\*: -> {\"e}
+ s#(\w)\\\*;#_C"$1_R#g; # U\*; -> {\"U}
+ s#(\w)\\\*,#_Cc_L$1_R_R#g; # e\*, -> {\c{e}}
+#
+# added but suspended as they are old versions:
+# s#\\\*\(D-#_Cecr_Bsymbol_L208_R_R#g; # \*(D- -> {\ecr\symbol{208}} in 0.9.4
+# s#\\\*\(d-#_Cecr_Bsymbol_L240_R_R#g; # \*(d- -> {\ecr\symbol{240}} in 0.9.4
+# s#\\\*\(Th#_Cecr_Bsymbol_L222_R_R#g; # \*(Th -> {\ecr\symbol{222}} in 0.9.4
+# s#\\\*\(th#_Cecr_Bsymbol_L254_R_R#g; # \*(th -> {\ecr\symbol{254}} in 0.9.4
+#
+# new TC fonts [T1] allow \DH, \dh, \TH, \th in BibTeX !!! new in 0.9.4
+ s#\\\*\(D-#_CDH_R#g; # \*(D- -> {\DH} new in 0.9.4
+ s#\\\*\(d-#_Cdh_R#g; # \*(d- -> {\dh} new in 0.9.4
+ s#\\\*\(Th#_CTH_R#g; # \*(Th -> {\TH} new in 0.9.4
+ s#\\\*\(th#_Cth_R#g; # \*(th -> {\th} new in 0.9.4
+ s#u\\\*o#_Cecr_Bsymbol_L183_R_R#g; # u\*o -> {\ecr\symbol{183}} " in 0.9.4
+
+ # from the Berkeley -ms macros
+
+ s#\\\*\-#--#g; # \*- -> --
+ s#\\\*Q#``#g; # \*Q -> ``
+ s#\\\*U#''#g; # \*U -> ''
+ s#\\\*\(BU#_Mbullet_D#g; # \*(BU -> $\bullet$
+ s#\\\*\(EM#--#g; # \*(EM -> --
+
+ # changed in 0.8.1, from e\*' to \*'e.
+ # These only get used if the above fail (which they don't).
+ # An '-ms' option? What a hack..
+
+ s#\\\*(['`])(ij)#_C$2_B$1_R#g; # \*'i -> {\'\i}
+ s#\\\*:(ij)#_C"_B$1_R#g; # \*:i -> {\"\i}
+ s#\\\*\^(ij)#_C_A_B$1_R#g; # \*^i -> {\^\i}
+ s#\\\*(['`])(\w)#_C$1$2_R#g; # \*'e -> {\'e}
+ s#\\\*\^(\w)#_C_A$1_R#g; # \*^e -> {\^e}
+ s#\\\*~(\w)#_C_T$1_R#g; # \*~e -> {\~e}
+ s#\\\*C(\w)#_Cv_L$1_R_R#g; # \*Cc -> {\v{c}}
+ s#\\\*,(\w)#_Cc_L$1_R_R#g; # \*,e -> {\c{e}}
+ s#\\\*:(\w)#_C"$1_R#g; # \*:e -> {\"e}
+
+ s#(\w)\\\*v#_Cv_L$1_R_R#g; # c\*v -> {\v{c}}
+ s#(\w)\\\*_U#_C=$1_R#g; # e\*_ -> {\=e}
+ s#([Oo])\\\*/#_C$1_R#g; # o\*/ -> {\o}
+ s#([Ll])\\\*/#_C$1_R#g; # L\\*/ -> {\L} new in 0.9.4
+ s#(\w)\\\*\.#_Cd_L$1_R_R#g; # e\*. -> {\d{e}}
+ s#([Aa])\\\*o#_C$1$1_R#g; # a\*o -> {\aa}
+
+ s#\\\(-D#_CDH_R#g; # \*(D- -> {\DH} new in 0.9.4
+ s#\\\(Sd#_Cdh_R#g; # \*(d- -> {\dh} new in 0.9.4
+ s#\\\(TP#_CTH_R#g; # \*(Th -> {\TH} new in 0.9.4
+ s#\\\(Tp#_Cth_R#g; # \*(th -> {\th} new in 0.9.4
+ s#\\\(ID#_Cecr_Bsymbol_L157_R_R#g; # \*(IDot -> {\ecr\symbol{157}} " 0.9.4
+
+ s#\\\*([!?])#$1`#g; # \*? -> ?`
+ s#\\s-[123]\\\*8\\s0#_Css_R#g; # \*8 -> {\ss} new in 0.9.4
+ s#\\\*8#_Css_R#g; # \*8 -> {\ss}
+ s#\\\*3#_h_Blower.5ex_H3_R_R#g; # \*3 -> \hbox{\lower.5ex 3}
+ s#\\\*\(Th#_hI_Bhskip-.6ex_Braise.5ex_H_Mscriptscriptstyle_Bsupset_D_R_R#g;
+ s#\\\*\(th#_h_Clower.3ex_H_Blarge l_R_R_Bhskip-.52ex o_R#g;
+ s#\\\*D\-#_h_Booalign_L_LD_R_Bcrcr\n_Bhskip.2ex_Braise.25ex_H-_R_Bhfil_R_R#g;
+ s#\\\*d\-#_h_Booalign_L_Mpartial_D_Bcrcr\n_Bhskip.55ex_Braise.7ex_H-_R_Bhfil_R_R#g;
+ s#\\\*\(([AO])e#_C$1E_R#g; # \*(Ae -> {\AE}
+ s#\\\*\(([ao])e#_C$1e_R#g; # \*(ae -> {\ae}
+ s#\\\*q#_Cc_Lo_R_R#g; # \*q -> {\c{o}} # wrong
+
+ # International (Roman-8) symbols
+
+ s#\\\(\.\.#_C"_B _R#g; # \(.. -> {\"\ }
+ s#\\\(([AEIOUYaeouy]):#_C"$1_R#g; # \(A: -> {\"A} Umlaute
+ s#\\\(([AEIOUaceouy])'#_C'$1_R#g; # \(A' -> {\'A}
+ s#\\\(([AEIOUaeouy])`#_C`$1_R#g; # \(A` -> {\`A}
+ s#\\\(([AEIOUaeouy])\^#_C_A$1_R#g; # \(A^ -> {\^A}
+ s#\\\(i:#_C"_Bi_R#g; # \(i: -> {\"\i}
+ s#\\\(i(['`])#_C$1_Bi_R#g; # \(i' -> {\'\i}
+ s#\\\(i\^#_C_A_Bi_R#g; # \(i^ -> {\^\i}
+ s#\\\(([ANOano])~#_C_T$1_R#g; # \(A~ -> {\~A}
+ s#\\\(([CcOo]),#_Cc_L$1_R_R#g; # \(c, -> {\c{c}}
+ s#\\\(([Ss])v#_Cv_L$1_R_R#g; # \(sv -> {\v{s}}
+ s#\\\(([Oo])/#_C$1_R#g; # \(O/ -> {\O}
+ s#\\\(ss#_Css_R#g; # \(ss -> {\ss}
+ s#\\\(L\-#_Cpounds_R#g; # \(L- -> {\pounds}
+ s#\\\(L=#_Cpounds_R#g; # \(L= -> {\pounds} # (Wrong!)
+ s#\\\(Y=#_h_Brm_Brlap=Y_R#g; # \(Y= -> \hbox{\rm\rlap=Y}
+ s#\\\(I([!?])#$1`#g; # \I! -> !`
+ s#\\\((AE|ae|OE|oe)#_C$1_R#g; # \(AE -> {\AE}
+ s#\\\(([Aa])o#_C$1$1_R#g; # \(Ao -> {\AA}
+ s#\\\(TH#_hI_Bhskip-.6ex_Braise.5ex_H_Mscriptscriptstyle_Bsupset_D_R_R#g;
+ s#\\\(th#_h_Clower.3ex_H_Blarge l_R_R_Bhskip-.52ex o_R#g;
+ s#\\\(D\-#_h_Booalign_L_LD_R_Bcrcr\n_Bhskip.2ex_Braise.25ex_H-_R_Bhfil_R_R#g;
+ s#\\\(d\-#_h_Booalign_L_Mpartial_D_Bcrcr\n_Bhskip.55ex_Braise.7ex_H-_R_Bhfil_R_R#g;
+ s#\\\(([ao])_U#_E_Cb_Cscriptsize $1_R_R_D#g;
+
+ # The "Scandinavian currency sign" is made with a bold \circ rlap'ed
+ # with 8 .'s. Big, long, and ugly, but the result is not too bad.
+
+ s#\\\(ox#_h_Booalign_Cmbox_Cboldmath_Mcirc_D_R_Bcrcr\n_Bhskip-.04ex_Braise.78ex_H._R_Bhfil_Bcrcr\n_Bhskip-.04ex_Braise.08ex_H._R_Bhfil_Bcrcr\n_c#g;
+ s#_c#_Bhskip.7ex_Braise.78ex_H._R_Bhfil_Bcrcr\n_Bhskip.7ex_Braise.08ex_H._R_Bhfil_Bcrcr\n_c#g;
+ s#_c#_Bhskip-.14ex_Braise.89ex_H._R_Bhfil_Bcrcr\n_Bhskip-.14ex_Braise-.02ex_H._R_Bhfil_Bcrcr\n_c#g;
+ s#_c#_Bhskip.8ex_Braise.89ex_H._R_Bhfil_Bcrcr\n_Bhskip.8ex_Braise-.02ex_H._R_Bhfil_Bcrcr\n_R_R#g;
+
+ # All the symbols from groff chars.tr that aren't listed above.
+ # What the heck is this?? not only is a\*: an a umlaut, but so is
+ # \(a: and also \(:a ! God, I wish troff would get it together!
+ # Oh, some people ignore all this and use \o to overlap it themselves!
+ # \(ao is Ao in Roman-8, and an o in groff.
+ # \(Cs is Cards Spades in Roman-8 and Currency Scandanavian in groff.
+ # How do I know which they meant??
+
+ s#\\\(bs##g; # \(bs -> (not implemented)
+ s#\\\(%0#_h%_Bhskip-.16ex_Blower.15ex_H_Bscriptsize 0_R_R#g;
+ s#\\\(f/#/#g; # \(f/ -> /
+ s#\\\(ha#_h_Braise.3em_H_Mscriptstyle_Bwedge_D_R_R#g;
+ s#\\\(ti#_Msim_D#g; # \(ti -> $\sim$
+ s#\\\(\-D#_h_Booalign_L_LD_R_Bcrcr\n_Bhskip.2ex_Braise.25ex_H-_R_Bhfil_R_R#g;
+ s#\\\(Sd#_h_Booalign_L_Mpartial_D_Bcrcr\n_Bhskip.8ex_Braise.7ex_H-_R_Bhfil_R_R#g;
+ s#\\\(TP#_hI_Bhskip-.6ex_Braise.5ex_H_Mscriptscriptstyle_Bsupset_D_R_R#g;
+ s#\\\(Tp#_h_Clower.3ex_H_Blarge l_R_R_Bhskip-.52ex o_R#g;
+ s#\\\(IJ#_LI_Bhskip-.2ex J_R#g; # \(IJ -> {I\hskip-.2ex J}
+ s#\\\(ij#_Li_Bhskip-.2ex j_R#g; # \(ij -> {i\hskip-.2ex j}
+ s#\\\('([ACEIOUaceou])#_C'$1_R#g; # \('A -> {\'A}
+ s#\\\(:([AEIOUYaeouy])#_C"$1_R#g; # \(:A -> {\"A} Umlaute
+ s#\\\(\^([AEIOUaeou])#_C_A$1_R#g; # \(^A -> {\^A}
+ s#\\\(`([AEIOUaeou])#_C`$1_R#g; # \(`A -> {\`A}
+ s#\\\((['`])i#_C$1_Bi_R#g; # \('i -> {\'\i}
+ s#\\\(\^i#_C_A_Bi_R#g; # \(^i -> {\^\i}
+ s#\\\(:i#_C"_Bi_R#g; # \(:i -> {\"\i}
+ s#\\\(~([ANOano])#_C_T$1_R#g; # \(~A -> {\~A}
+ s#\\\(v([CcgSsZz])#_Cv_L$1_R_R#g; # \(vs -> {\v{s}} + g in 0.9.4
+ s#\\\(,([CcSst])#_Cc_L$1_R_R#g; # \(,c -> {\c{c}} + Sst in 0.9.4
+ s#\\\(/([OoLl])#_C$1_R#g; # \(/O -> {\O}
+ s#\\\(o([Aa])#_C$1$1_R#g; # \(oA -> {\AA}
+ s#\\\(a"#_CH_L _R_R#g; # \(a" -> {\H{ }}
+# s#\\\(a\-#_C=_L _R_R#g; # \(a- -> {\={ }} new in 0.9.4:
+ s#([A-Za-z])\\\(a\-#_Mbar_L$1_R_D#g; # {[a-z]}\(a- -> $\bar{.}$
+ s#\\\(a\.#_C._L _R_R#g; # \(a. -> {\.{ }}
+ s#\\\(a\^#_C_A_L _R_R#g; # \(a^ -> {\^{ }}
+ s#\\\(ab#_Cu_L _R_R#g; # \(ab -> {\u{ }}
+# s#\\\(ac#_Cc_L _R_R#g; # \(ac -> {\c{ }} new in 0.9.4:
+ s#([Ss])\\\(ac#_Cc_L$1_R_R#g; # \(,S -> {\c{[Ss]}}
+ s#\\\(ad#_C"_L _R_R#g; # \(ad -> {\"{ }}
+# s#\\\(ah#_Cv_L _R_R#g; # \(ah -> {\v{ }} new in 0.9.4:
+ s#(\w)\\\(ah#_Cv_L$1_R_R#g; # .\(ah -> {\v{.}}
+ s#\\\(a~#_C_T_L _R_R#g; # \(a~ -> {\~{ }}
+ s#\\\(ho#_Cc_L _R_R#g; # \(ho -> {\c{ }} # (wrong!)
+ s#\\\(\.([ij])#_C$1_R#g; # \(.i -> {\i}
+ s#\\\(Do#\$#g; # \(Do -> $
+ s#\\\(Po#_Cpounds_R#g; # \(Po -> {\pounds}
+ s#\\\(Ye#_h_Brm_Brlap=Y_R#g; # \(Ye -> \hbox{\rm\rlap=Y}
+ s#\\\(Fo#_Mscriptscriptstyle_Bll_D#g; # \(Fo -> $\scriptscriptstyle\ll$
+ s#\\\(Fc#_Mscriptscriptstyle_Bgg_D#g; # \(Fc -> $\scriptscriptstyle\gg$
+ s#\\\(fo#_Mscriptscriptstyle_l_D#g; # \(fo -> $\scriptscriptstyle<$
+ s#\\\(fc#_Mscriptscriptstyle_g_D#g; # \(fc -> $\scriptscriptstyle>$
+ s#\\\(r([!?])#$1`#g; # \(r! -> !`
+ s#\\\(OK#_Cmbox_Cboldmath_Msurd_D_R_R#g; # \(OK ->{\mbox{\boldmath$\surd$}}
+ s#\\\(Of#_E_Cb_Cscriptsize a_R_R_D#g; # \(Of -> ${}^{\scriptsize a}}$
+ s#\\\(Om#_E_Cb_Cscriptsize o_R_R_D#g; # \(Om -> ${}^{\scriptsize o}}$
+ s#\\\(S(\d)#_E$1_D#g; # \(S1 -> ${}^1$
+ s#\\\(lA#_MLeftarrow_D#g; # \(lA -> $\Leftarrow$
+ s#\\\(rA#_MRightarrow_D#g; # \(rA -> $\Rightarrow$
+ s#\\\(hA#_MLeftrightarrow_D#g; # \(hA -> $\Leftrightarrow$
+ s#\\\(dA#_MDownarrow_D#g; # \(dA -> $\Downarrow$
+ s#\\\(uA#_MUparrow_D#g; # \(uA -> $\Uparrow$
+ s#\\\(vA#_MUpdownarrow_D#g; # \(vA -> $\Updownarrow$
+ s#\\\(va#_Mupdownarrow_D#g; # \(va -> $\updownarrow$
+ s#\\\(ba#_Chskip.4ex_Bvrule width.2ex height1.7ex depth0ex_R#g;
+ s#\\\(bb#_h_Bhskip.4ex_H_Booalign_Cvrule width.2ex height.5ex depth.4ex_Bcrcr\n_Bhfil_Braise.8ex_H_Bvrule width.2ex height.9ex depth0ex_R_Bhfil_R_R_R#g;
+ s#\\\(tm#_E_Crm_Buppercase_LTM_R_R_D#g; # \(tm -> ${}^{\rm\uppercase{TM}}$
+ s#\\\(ps#_BP#g; # \(ps -> \P
+ s#\\\(en#-#g; # \(en -> -
+ s#\\\(lB#_L_R[#g; # \(lB -> {}[
+ s#\\\(rB#]#g; # \(rB -> ]
+ s#\\\(lC#{#g; # \(lC -> {
+ s#\\\(rC#}#g; # \(rC -> }
+ s#\\\(la#_Mlangle_D#g; # \(la -> $\langle$
+ s#\\\(ra#_Mrangle_D#g; # \(ra -> $\rangle$
+ s#\\\(lq#``#g; # \(lq -> ``
+ s#\\\(rq#''#g; # \(rq -> ''
+ s#\\\(oq#`#g; # \(oq -> `
+ s#\\\(at#@#g; # \(at -> @
+ s#\\\(sh#\##g; # \(sh -> #
+ s#\\\(rs#_I#g; # \(rs -> $\backslash$
+ s#\\\(3d#_D_H._R_Braise.9ex_H._R_H._R_D#g;# \(3d -> .:.
+ s#\\\(~~#_Mapprox_D#g; # \(~~ -> $\approx$
+ s#\\\(!=#_Mneq_D#g; # \(!= -> $\neq$
+ s#\\\(=~#_Mcong_D#g; # \(=~ -> $\cong$
+ s#\\\(AN#_Mwedge_D#g; # \(AN -> $\wedge$
+ s#\\\(OR#_Mvee_D#g; # \(OR -> $\vee$
+ s#\\\(Ah#_Maleph_D#g; # \(Ah -> $\aleph$
+ s#\\\(Im#_MIm_D#g; # \(Im -> $\Im$
+ s#\\\(Re#_MRe_D#g; # \(Re -> $\Re$
+ s#\\\(md#_Mcdot_D#g; # \(md -> $\cdot$
+ s#\\\(nm#_Mnotin_D#g; # \(nm -> $\notin$
+ s#\\\(pp#_Mperp_D#g; # \(pp -> $\perp$
+ s#\\\(c\*#_Motimes_D#g; # \(c* -> $\otimes$
+ s#\\\(c\+#_Moplus_D#g; # \(c+ -> $\oplus$
+ s#\\\(\-h#_Mhbar_D#g; # \(-h -> $\hbar$
+ s#\\\(CL#_Mclubsuit_D#g; # \(CL -> $\clubsuit$
+ s#\\\(SP#_Mspadesuit_D#g; # \(SP -> $\spadesuit$
+ s#\\\(HE#_Mheartsuit_D#g; # \(HE -> $\heartsuit$
+ s#\\\(DI#_Mdiamondsuit_D#g; # \(DI -> $\diamondsuit$
+ s#\\\(CR#_Mhookleftarrow_D#g; # \(CR -> $\hookleftarrow$
+ s#\\\(st#_Mni_D#g; # \(st -> $\ni$
+ s#\\\(/_U#_Mangle_D#g; # \(/_ -> $\angle$
+ s#\\\(\-\+#_Mmp_D#g; # \(-+ -> $\mp$
+ s#\\\(nc#_Mnot_Bsupset_D#g; # \(nc -> $\not\supset$
+ s#\\\(ne#_Mnot_Bequiv_D#g; # \(ne -> $\not\equiv$
+
+
+ # misc
+
+ s#\\u([^\\]*)\\d#_Braisebox_L1ex_R_L$1_R#g;
+ s#\\d([^\\]*)\\u#_Braisebox_L-1ex_R_L$1_R#g;
+ s#\\z(.)#_Brlap_L$1_R#g; # \z|_ -> L
+ s#\\\*\(mm#mm#g; # \*(mm -> mm
+
+ s#\\&##g; # \& ->
+
+ } # done with troff special chars
+
+ # finally, do eqn processing if they asked for it.
+ #
+ # This is very crude, and handles only the very simple eqn constructs.
+ # We should have some support for reading in eqn definitions rather
+ # than hard-coding some.
+ #
+ if ($handleeqn) {
+ local ($oldline);
+ # print STDERR "\nfrom: $_\n" if /@.*@/;
+ # replace @blah $\foo$ bar@ with @blah \foo bar@
+ 1 while s/\@([^@]* su[bp] [^@]*)_M([^@]*)_D([^@]*)\@/\@$1_B$2$3\@/g;
+ 1 while s/\@([^@]*)_M([^@]*)_D([^@]* su[bp] [^@]*)\@/\@$1_B$2$3\@/g;
+ while (/\@.*\@/) {
+ $oldline = $_;
+ s/\@\s*roman\s+([^\@]*)\@/\@$1\@/g;
+ s/\@\s*{\s*([^\s@]+)\s*sub\s+([^\s@]+)\s*}\s*sup\s+([^\s@]+)\s*([^@]*)\@/_L_D_Crm_S$1_R__L$2_R_A_L$3_R_D_R\@$4\@/g;
+ s/\@\s*([^\s@]+)\s*sub\s+([^\s@]+)\s*([^@]*)@/_L_D_Crm_S$1_R__L$2_R_D_R\@$3\@/g;
+ s/\@\s*([^\s@]+)\s*sup\s+([^\s@]+)\s*([^@]*)@/_L_D_Crm_S$1_R_A_L$2_R_D_R\@$3\@/g;
+ s/_L_D_Crm_S""_R/_L_D_L_R/g; # handle @ "" sub 18 @
+ s/\@mu\@/_Mmu_D/g;
+ s/\@angstrom\@/_CAA_R/g;
+ s/\@co2\@/\@CO sub 2\@/g;
+ s/\@no2\@/\@NO sub 2\@/g;
+ s/\@nox\@/\@NO sub x\@/g;
+ s/\@n2\@/\@N sub 2\@/g;
+ s/\@so2\@/\@SO sub 2\@/g;
+ s/\@so4\@/\@{SO sub 4} sup 2-\@/g;
+ s/\@no3\@/\@{NO sub 3} sup -\@/g;
+ s/\@hno3\@/\@HNO sub 3\@/g;
+ if ($oldline eq $_) {
+ s/\@\s*([^\s@]+)\s*([^@]*)\@/_L$1_R\@$2\@/g;
+ }
+ s/\@\s*\@//g;
+ # print STDERR " to: $_\n";
+ }
+ }
+
+ # protect TeX characters
+ if ($protectTeX) {
+ s/\\/_I/g;
+ s/#/\\#/g;
+ s/\$/\\\$/g;
+ s/%/\\%/g;
+ s/&/\\&/g;
+ s/{/_D\\lbrace_D/g;
+ s/}/_D\\rbrace_D/g;
+ s/\|/\$|\$/g;
+ s/</\$<\$/g;
+ s/>/\$>\$/g;
+ s/\^/\\^{}/g;
+ s/~/\\~{}/g;
+ }
+
+ # now convert our escaped characters back to their real selves
+ s/_B/\\/g;
+ s/_I/\$\\backslash\$/g;
+ s/_C/{\\/g;
+ s/_S/ /g;
+ s/_L/{/g;
+ s/_R/}/g;
+ s/_l/</g;
+ s/_g/>/g;
+ s/_T/~/g;
+ s/_A/^/g;
+ s/_D/\$/g;
+ s/_M/\$\\/g;
+ s/_V/|/g;
+ s/_E/\${}^/g;
+ s/_H/\\hbox{/g;
+ s/_h/\\leavevmode\n\\hbox{/g;
+ s/_U/\\_/g;
+ s/\n\n/\\par\n/g; # this is for fields that want paragraphs
+ $_;
+}
+
+##########################################
+# This converts IBMish control character combinations into troff
+# This is new and mostly untested.
+# Why troff? We convert ibm to troff, then troff to TeX. That
+# way people can use this program to convert refer w/controls into
+# plain refer. Or they can get the full blown refer->TeX.
+#
+# refer(c) -> refer r2b -n -der -ibm
+# refer(c) -> TeX r2b -ibm
+# refer(c) -> tib r2b -der -ibm
+#
+sub doibmtoroff {
+ local($_) = @_;
+
+ if (/[\200-\376]/) {
+ # use the -ms i\*' for accents, as all troff's can handle that.
+ # I'd rather use \('i, but that works for groff, while eroff wants \(i'
+
+ s/[\200]/C\\*,/g;
+ s/[\201]/u\\*:/g;
+ s/[\202]/e\\*'/g;
+ s/[\203]/a\\*^/g;
+ s/[\204]/a\\*:/g;
+ s/[\205]/a\\*`/g;
+ s/[\206]/a\\*o/g;
+ s/[\207]/c\\*,/g;
+ s/[\210]/e\\*^/g;
+ s/[\211]/e\\*:/g;
+ s/[\212]/e\\*`/g;
+ s/[\213]/i\\*:/g;
+ s/[\214]/i\\*^/g;
+ s/[\215]/i\\*`/g;
+ s/[\216]/A\\*:/g;
+ s/[\217]/A\\*o/g;
+ s/[\220]/E\\*'/g;
+ s/[\221]//g; # Can't make out what this is supposed to be.
+ s/[\222]//g; # Ditto
+ s/[\223]/o\\*^/g;
+ s/[\224]/o\\*:/g;
+ s/[\225]/o\\*`/g;
+ s/[\226]/u\\*^/g;
+ s/[\227]/u\\*`/g;
+ s/[\230]/y\\*:/g;
+ s/[\231]/o\\*:/g;
+ s/[\232]/u\\*:/g;
+ s/[\233]/\\\(ct/g;
+ s/[\234]/\\\(L-/g;
+ s/[\235]/\\\(Y=/g;
+ s/[\236]//g; # should handle this
+ s/[\237]//g; # and this
+ s/[\240]/a\\*'/g;
+ s/[\241]/i\\*'/g;
+ s/[\242]/o\\*'/g;
+ s/[\243]/u\\*'/g;
+ s/[\244]/n\\*~/g;
+ s/[\245]/N\\*~/g;
+ s/[\246]/\\\(a_/g;
+ s/[\247]/\\\(o_/g;
+
+ s/[\250]/\\*?/g;
+ s/[\251]//g;
+ s/[\252]/\\\(no/g;
+ s/[\253]/\\\(12/g;
+ s/[\254]/\\\(14/g;
+ s/[\255]/\\*!/g;
+ s/[\256]/\\\(<</g;
+ s/[\257]/\\\(>>/g;
+
+ s/[\360]/\\\(==/g;
+ s/[\361]/\\\(+-/g;
+ s/[\362]/\\\(>=/g;
+ s/[\363]/\\\(<=/g;
+ s/[\364]//g;
+ s/[\365]//g;
+ s/[\366]/\\\(di/g;
+ s/[\367]/\\\(~~/g;
+
+ s/[\373]/\\\(sr/g;
+
+ # I'm taking a guess that \376 is supposed to be the R set.
+ s/[\376]/\\\(Re/g;
+ }
+
+ $_;
+}
+
+
diff --git a/biblio/bibtex/utils/refer-tools/tex2refer b/biblio/bibtex/utils/refer-tools/tex2refer
new file mode 100644
index 0000000000..e75311e181
--- /dev/null
+++ b/biblio/bibtex/utils/refer-tools/tex2refer
@@ -0,0 +1,151 @@
+Article 2347 of comp.text.tex:
+Path: ai-lab!snorkelwacker!usc!wuarchive!uunet!mcsun!unido!tub!fauern!fauern!immd2.informatik.uni-erlangen.de!fritzke
+From: fritzke@immd2.informatik.uni-erlangen.de (B. Fritzke)
+Newsgroups: comp.text.tex
+Subject: BIBTEX to REFER conversion program (here it is)
+Message-ID: <3065@medusa.informatik.uni-erlangen.de>
+Date: 13 Aug 90 11:13:07 GMT
+Organization: Universitaet Erlangen, CS-Dep. IMMD II
+Lines: 139
+
+Recently I posted a request for a program to convert bibliographic
+references in the bibtex format to the refer format.
+
+Beneath a lot of 'me too!'-messages I got an answer with an
+awk script, that could do part of the job. After some iterations
+of improvement there now exist a pretty good version, that fits
+at least my needs.
+
+Because many people seem to be interested in the program, I post it
+to this newsgroup.
+
+How to make it run:
+ 1. put the stuff after the cut-line in a file called tex2refer (or t2r or so)
+ 2. Make that file executable by typing
+ chmod u+x tex2refer
+ on your Unix system
+
+Bernd Fritzke
+
+Bernd Fritzke ------> e-mail: fritzke@immd2.informatik.uni-erlangen.de
+University of Erlangen, CS IMMD II, Martensstr. 3, 8520 Erlangen (FRG)
+
+--------------------------------- cut here -----------------------------------
+#! /bin/sh
+#
+# tex2refer - converts bibtex entries to refer entries
+#
+# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+# This software comes on a 'as is'-basis.
+# No guarantee for the correctness is given and no 'service' is provided
+# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+#
+# This program (an awk skript) converts bibliographic references from the
+# bibtex-format to the refer-format.
+# it reads from stdin and writes to stdout:
+#
+# usage: tex2refer < file.bib > file.refer
+#
+# Be aware, that some information is neccessarily lost, because
+#
+# * several bibtex field names are mapped to the same refer filed name
+# e.g. publisher, organization and school are all mapped to %I
+# * refer doesn't support types for references (like @inproceedings, @article)
+# (therefore the inverse mapping refer2tex is mostly based on heuristics)
+#
+# In this program are only the more important (I.M.H.O.) field names covered.
+# If tex2refer encounters unknown field names, it will ignore them but store their
+# names in a list, which is displayed after the conversion process.
+#
+# With this list the program can easily be extended by adding entries to the
+# associative array 'refer'
+#
+#
+# Thanks to Lee, who provided the main part of the program and added
+# some useful comments for readability
+#
+# Bernd Fritzke (fritzke@immd2.informatik.uni-erlangen.de)
+# August 1990
+#
+
+gawk ' #gnu awk, but works probably also with other versions
+BEGIN {
+ FS = " "
+ refer["author"] = "%A"
+ refer["AUTHOR"] = "%A"
+ refer["address"] = "%C"
+ refer["ADDRESS"] = "%C"
+ refer["year"] = "%D"
+ refer["YEAR"] = "%D"
+ refer["publisher"] = "%I"
+ refer["PUBLISHER"] = "%I"
+ refer["journal"] = "%J"
+ refer["JOURNAL"] = "%J"
+ refer["keywords"] = "%K"
+ refer["KEYWORDS"] = "%K"
+ refer["pages"] = "%P"
+ refer["PAGES"] = "%P"
+ refer["title"] = "%T"
+ refer["TITLE"] = "%T"
+ refer["volume"] = "%V"
+ refer["VOLUME"] = "%V"
+ refer["city"] = "%C"
+ refer["CITY"] = "%C"
+ refer["booktitle"] = "%B"
+ refer["BOOKTITLE"] = "%B"
+ refer["note"] = "%o"
+ refer["NOTE"] = "%o"
+ refer["organization"] = "%I"
+ refer["ORGANIZATION"] = "%I"
+ refer["school"] = "%I"
+ refer["SCHOOL"] = "%I"
+}
+
+/^@/ {next} # reference type (not supported by refer) next line
+# ---> "next" makes awk goto the start of the awk script & read the next
+# line of input, so here it is making it ignore lines starting
+# with an @ sign.
+
+# ensure that an = signs is surrounded by space:
+/\=/ { # "=" must be preceeded by `\` , also in line below
+ gsub(/\=/, " & ") # this may cause NF to be updated...
+ # Warning -- do not put single quotes in comments! This does not
+ # work reliably in a shell script.
+}
+
+($1 in refer && $2 == "=") { # Begin of a bibtex field definition
+ gsub(/[{}]/, "") # deleting curly brackets
+ gsub(/,$/, "") # deleting commas at end of line
+ printf "%s ", refer[$1]
+ for (i = 3; i <= NF; i++) { # Loop over the keywords ($2 is "=")
+ printf " %s", $i # and print them
+ }
+ printf "\n" # newline on the end of the refer entry
+}
+
+(!($1 in refer) && $2 == "=") { #collect unknown keywords
+ unknown[$1] = 1
+ next
+}
+
+/[^ ]/ {
+ if ($2 != "=") { # This is not a first line of an entry
+ # In this case, we are dealing with a continuation line.
+ gsub(/[{}]/, "") # deleting curly braces
+ gsub(/,$/, "") # deleting commas at end of line
+ printf " "
+ for (i = 1; i <= NF; i++) { # Loop over all the keywords
+ printf " %s", $i # and print them
+ }
+ printf "\n" # newline on the end of the refer entry
+ }
+}
+
+END {
+ for (a in unknown) {
+ print "------- unknown keyword: " a
+ }
+}
+' ${@+"$@"}
+
+
diff --git a/biblio/bibtex/utils/refer-tools/tib-to-bibtex.shar b/biblio/bibtex/utils/refer-tools/tib-to-bibtex.shar
new file mode 100644
index 0000000000..c03f44f144
--- /dev/null
+++ b/biblio/bibtex/utils/refer-tools/tib-to-bibtex.shar
@@ -0,0 +1,420 @@
+#! /bin/sh
+# This is a shell archive. Remove anything before this line, then unpack
+# it by saving it into a file and typing "sh file". To overwrite existing
+# files, type "sh file -c". You can also feed this as standard input via
+# unshar, or by typing "sh <file", e.g.. If this archive is complete, you
+# will see the following message at the end:
+# "End of shell archive."
+# Contents: ttb.c ttb.1
+# Wrapped by sk@sun4 on Tue Jul 3 16:41:38 1990
+PATH=/bin:/usr/bin:/usr/ucb ; export PATH
+if test -f ttb.c -a "${1}" != "-c" ; then
+ echo shar: Will not over-write existing file \"ttb.c\"
+else
+echo shar: Extracting \"ttb.c\" \(6982 characters\)
+sed "s/^X//" >ttb.c <<'END_OF_ttb.c'
+X#define about "tibtobib 0.3, 1989 by uf"
+X
+X#include <stdio.h>
+X#include <ctype.h>
+X
+X#define maxlines 50
+X#define linelen 256
+X#define ntypes 8
+X#define ntags 18
+X
+X#define article 0
+X#define conference 1
+X#define inbook 2
+X#define mastersthesis 3
+X#define phdthesis 4
+X#define techreport 5
+X#define book 6
+X#define misc 7
+X
+X#define HELP 0
+X#define NOREF 10
+X#define NOBIB 11
+X#define BIGITEM 12
+X#define NOCONT1 13
+X#define NOCONT2 14
+X#define BIGLINE 15
+X#define BADTAG 16
+X#define MEMFULL 17
+X
+Xchar RCSHeader[]="$Header: /home/tex/local/ttb.c,v 1.3 90/02/15 14:55:30 sk Rel $";
+X
+Xstatic char *inputtype[]={"ARTICLE","CONFERENCE","INBOOK","MASTERSTHESIS",
+X "PHDTHESIS","TECHREPORT","BOOK","MISC"},
+X *recordtype[]={"AUTHOR","BOOKTITLE","ADDRESS","YEAR","EDITOR",
+X "PUBLISHER","JOURNAL","KEY","NUMBER","NOTE","PAGES",
+X "TYPE","SERIES","TITLE","VOLUME","COMMENT","ANNOTE",
+X "ABSTRACT"},
+X allowedtag[]={'A','B','C','D','E','I','J','K','N','O','P','R','S','T','V',
+X '%','x','X'},
+X organization[]="ORGANIZATION";
+X
+X
+Xchar *item[maxlines],buffer[maxlines*linelen],
+X reffile[linelen],bibfile[linelen];
+Xint curline=0,type,ilines;
+X
+XFILE *ref,*bib,*fopen();
+X
+Xmain(argc,argv)
+Xint argc;
+Xchar **argv;
+X{ int notready;
+X
+X if (argc != 2) {
+X fprintf(stderr,"%s, usage: ttb <filename>\n",about);
+X exit(HELP);
+X }
+X
+X strcpy(reffile,argv[1]);
+X if ((ref=fopen(reffile,"r")) == NULL) {
+X sprintf(reffile,"%s.ref",argv[1]);
+X if ((ref=fopen(reffile,"r")) == NULL) {
+X fprintf(stderr,"ttb: can open neither %s nor %s\n",argv[1],reffile);
+X exit(NOREF);
+X }
+X }
+X
+X if (!strcmp(argv[1]+strlen(argv[1])-4,".ref"))
+X argv[1][strlen(argv[1])-4]='\0';
+X sprintf(bibfile,"%s.bib",argv[1]);
+X if ((bib=fopen(bibfile,"w")) == NULL) {
+X fprintf(stderr,"ttb: can't open %s\n",bibfile);
+X exit(NOBIB);
+X }
+X
+X /* main loop */
+X
+X do {
+X notready=getitem();
+X type=classifyitem();
+X /* printitem(); */
+X putitem();
+X }
+X while(notready);
+X
+X /* exit */
+X
+X fclose(ref);
+X fclose(bib);
+X}
+X
+X
+Xgetitem()
+X{ char firstchar,secondchar;
+X int i,j,k,ok,ilm1,space,used,ignored=0;
+X
+X ilines = 0;
+X space = maxlines*linelen-1;
+X *item = buffer;
+X
+X while(!feof(ref)) {
+X
+X if (space<=0) {
+X fprintf(stderr,"ttb: %s, %d: buffer space exhausted\n",reffile,curline);
+X exit(MEMFULL);
+X }
+X
+X fgets(item[ilines++],space,ref);
+X ilm1 = ilines-1;
+X for (k=strlen(item[ilm1])-1; k>-1 && isspace(item[ilm1][k]); item[ilm1][k--]=0)
+X ;
+X /* printf("%s\n",item[ilm1]); */
+X curline++;
+X
+X if (ilines>maxlines) {
+X fprintf(stderr,"ttb: %s, line %d: too many lines for this item, line ignored\n",reffile,curline);
+X ilines--;
+X continue;
+X }
+X
+X if (strlen(item[ilm1]) == 0) { /* blank line */
+X ilines--;
+X ignored=0;
+X break;
+X }
+X
+X if ((firstchar=item[ilm1][0]) != '%') { /* continuation line */
+X if (ilines == 1) {
+X fprintf(stderr,"ttb: %s, line %d: leading continuation line ignored\n",reffile,curline);
+X ilines--;
+X continue;
+X }
+X if (ignored) {
+X fprintf(stderr,"ttb: %s, line %d: continuation line ignored\n",reffile,curline);
+X ilines--;
+X continue;
+X }
+X
+X ilines--;
+X *(item[ilines]-1) = '\n';
+X used = strlen(item[ilines])+1;
+X item[ilines] += used;
+X continue;
+X }
+X
+X secondchar = item[ilm1][1];
+X ok = 0;
+X for (i=0; i<ntags; i++)
+X if (secondchar == allowedtag[i]) {
+X ok = -1;
+X break;
+X }
+X
+X if (!ok) {
+X fprintf(stderr,"ttb: %s, line %d: field tag %c not allowed, line ignored\n",reffile,curline,secondchar);
+X ignored = -1;
+X ilines--;
+X continue;
+X }
+X
+X ignored = 0;
+X space -= (used = strlen(item[ilm1])+1);
+X item[ilines] = item[ilm1]+used;
+X }
+X
+X return(!feof(ref));
+X}
+X
+X
+Xint classifyitem()
+X{ int p,type;
+X
+X if (test('J') && test('V'))
+X type = article;
+X else
+X if (test('B'))
+X type = inbook;
+X else
+X if (p=test('R'))
+X if (index(item[p-1],"thesis"))
+X if (index(item[p-1],"master"))
+X type = mastersthesis;
+X else
+X type = phdthesis;
+X else
+X type = techreport;
+X else
+X if (test('I'))
+X type = book;
+X else
+X type = conference;
+X
+X return(type);
+X}
+X
+X
+Xindex(s,t)
+Xchar s[],t[];
+X{ int i,j,k;
+X
+X for (i=0; s[i]; i++) {
+X for (j=i,k=0; t[k] && tolower(s[j])==tolower(t[k]); j++,k++)
+X ;
+X if (t[k] == 0)
+X return(i+1);
+X }
+X
+X return(0);
+X}
+X
+X
+Xint test(c)
+Xchar c;
+X{ int i;
+X
+X for (i=0; i<ilines; i++)
+X if (item[i][1] == c)
+X return(i+1);
+X
+X return(0);
+X}
+X
+X
+Xputitem()
+X{ char author[linelen],year[linelen],page[linelen],record[linelen],
+X editor[linelen],secondchar;
+X int i,j,k,p,first;
+X
+X if (p=test('A')) {
+X if ((i = index(item[p-1],",")) > 4) {
+X strcpy(author,item[p-1]+3);
+X author[i-4]=0;
+X }
+X else {
+X for (k=strlen(item[p-1]); k>2 && item[p-1][k] != ' ' && item[p-1][k] != '.'; k--)
+X ;
+X strcpy(author,item[p-1]+k+1);
+X }
+X }
+X else
+X strcpy(author,"Mr.X");
+X
+X if (p=test('D'))
+X strcpy(year,item[p-1]+strlen(item[p-1])-2);
+X else
+X strcpy(year,"??");
+X
+X if (p=test('P')) {
+X for (i=3; i<strlen(item[p-1]) && (isalpha(item[p-1][i]) && i==3 || isdigit(item[p-1][i])); page[i-3]=item[p-1][i], i++)
+X ;
+X page[i-3]=0;
+X }
+X else
+X strcpy(page,"0");
+X
+X if (p=test('K')) /* user provides keyword */
+X fprintf(bib,"@%s{%s%c\n",inputtype[type],item[p-1]+3,ilines>0 ? ',' : ' ');
+X else
+X fprintf(bib,"@%s{%s%s:%s%c\n",inputtype[type],author,year,page,ilines>0 ? ',' : ' ');
+X
+X /* special cases: several authors, editors */
+X
+X first = !0;
+X strcpy(author,"");
+X if (test('A')) {
+X for (i=0; i<ilines; i++) {
+X if (item[i][1] == 'A') {
+X if (first)
+X first = 0;
+X else
+X strcat(author," and ");
+X strcat(author,item[i]+3);
+X }
+X }
+X fprintf(bib," %s = {%s}%c\n",recordtype[0],author,item[ilines-1][1] != 'A' ? ',' : ' ');
+X }
+X
+X first = !0;
+X strcpy(editor,"");
+X if (test('E')) {
+X for (i=0; i<ilines; i++) {
+X if (item[i][1] == 'E') {
+X if (first)
+X first = 0;
+X else
+X strcat(editor," and ");
+X strcat(editor,item[i]+3);
+X }
+X }
+X fprintf(bib," %s = {%s}%c\n",recordtype[4],editor,item[ilines-1][1] != 'E' ? ',' : ' ');
+X }
+X
+X /* all other fields */
+X
+X for (i=0; i<ilines; i++) {
+X secondchar = item[i][1];
+X if (secondchar == 'A' || secondchar == 'E')
+X continue;
+X
+X /* special case: %J in a conference */
+X
+X if (secondchar == 'J' && type == conference)
+X strcpy(record,organization);
+X
+X /* all other cases */
+X
+X else
+X for (j=0; j<ntags; j++)
+X if (secondchar == allowedtag[j]) {
+X strcpy(record,recordtype[j]);
+X break;
+X }
+X
+X fprintf(bib," %s = {%s}%c\n",record,item[i]+3,i<ilines-1 ? ',' : ' ');
+X }
+X
+X fprintf(bib,"}\n\n");
+X}
+X
+Xoption(argc,argv,c)
+Xchar **argv,c;
+Xint argc;
+X{ int i,j;
+X
+X for (i=1; i<argc; i++)
+X if (argv[i][0] == '-')
+X for (j=1; j<strlen(argv[i]); j++)
+X if (argv[i][j] == c)
+X return(i);
+X return(0);
+X}
+X
+Xprintitem()
+X{ int i;
+X
+X for (i=0; i<ilines; i++)
+X printf("%s\n",item[i]);
+X printf("\nitem consisting of %d lines, type = %d\n\n",ilines,type);
+X}
+X
+END_OF_ttb.c
+if test 6982 -ne `wc -c <ttb.c`; then
+ echo shar: \"ttb.c\" unpacked with wrong size!
+fi
+# end of overwriting check
+fi
+if test -f ttb.1 -a "${1}" != "-c" ; then
+ echo shar: Will not over-write existing file \"ttb.1\"
+else
+echo shar: Extracting \"ttb.1\" \(727 characters\)
+sed "s/^X//" >ttb.1 <<'END_OF_ttb.1'
+X.TH TTB 1 "15-Feb-1990"
+X.SH NAME
+Xttb - tib to bibtex bibliography converter
+X
+X.SH SYNOPSIS
+X.B ttb
+X.IB file [.ref]
+X
+X.SH DESCRIPTION
+X.B ttb
+Xtakes as input a bibliography in tib format (see
+X.BR tib(5) )
+Xand produces an equivalent bibliography for use with
+X.BR bibtex(1)
+Xin
+X.IB file .bib.
+X.PP
+XIf a
+X.B %K
+Xfield is present in the
+X.B .ref
+Xfile, it is used as
+X.I key
+Xfor a LaTeX \\cite command.
+XOtherwise the
+X.I key
+Xis made up from the author, year and page of the reference like this:
+X.I author year
+X.B :
+X.I page
+X.SH FILES
+X.TP 16
+X~tex/local
+Xsource directory for ttb
+X.SH VERSION
+Xttb.c,v 1.3
+X.PP
+XTo find out what version you are using, type
+X.IP
+X.B ident `which ttb`
+X.SH "SEE ALSO"
+X.B tib(1,5,7), bibtex(1)
+X
+X.SH AUTHOR
+XUlrich Fastenrath
+END_OF_ttb.1
+if test 727 -ne `wc -c <ttb.1`; then
+ echo shar: \"ttb.1\" unpacked with wrong size!
+fi
+# end of overwriting check
+fi
+echo shar: End of shell archive.
+exit 0
+
diff --git a/biblio/bibtex/utils/tex2bib/README b/biblio/bibtex/utils/tex2bib/README
new file mode 100644
index 0000000000..b60ab81e23
--- /dev/null
+++ b/biblio/bibtex/utils/tex2bib/README
@@ -0,0 +1,74 @@
+ tex2bib
+ Input a TeX document containing \bibitems, translate these
+ to BibTeX format
+
+ Usage:
+ tex2bib [-k][-i infile] [-o outfile]
+ -k: regenerate keys
+ if infile not given, reads from stdin
+ if outfile not given, prints to stdout
+
+ The entire tex document is scanned for \bibitems, ending when
+ the string '\end{thebibliography}' is read.
+
+ Assumes that bibitems are formatted as follows:
+ -- {key}author(s), (date) at the beginning
+ -- titles of books or names of journals: {\em title}
+ -- article titles: after date, `` '' quotes optional
+ -- volume, pages: {\it vol}, nnn-nnn.
+ -- publisher/address: address:publisher
+
+ All text in the bibitem which cannot be parsed is included
+ in a note = { } field
+
+ Examples of a book, article, inproceedings:
+
+ \bibitem{Bertin83}Bertin, J. (1983),
+ {\em Semiology of Graphics} (trans. W. Berg). Madison, WI:
+ University of Wisconsin Press.
+
+ \bibitem{Bickel75}Bickel, P. J., Hammel, J. W. and O'Connell, J. W.
+ (1975).
+ Sex bias in graduate admissions: data from Berkeley. {\em
+ Science}, {\it 187}, 398-403.
+
+ \bibitem{Farebrother87}Farebrother, R. W. (1987),
+ ``Mechanical representations of the ${L}_1$ and ${L}_2$ estimation
+ problems'', In Y. Dodge (ed.) {\em Statistical data analysis
+ based on the L1 norm and related methods}, Amsterdam:
+ North-Holland., 455-464.
+
+
+ These are output as:
+
+ @Book{ Bertin:83,
+ author = {J. Bertin},
+ year = 1983,
+ title = {Semiology of Graphics},
+ publisher = {University of Wisconsin Press},
+ address = {Madison, WI},
+ note = {(trans. W. Berg).}
+ }
+ @Article{ Bickel:75,
+ author = {Bickel, P. J. and Hammel, J. W. and O'Connell, J. W.},
+ year = 1975,
+ title = {Sex Bias in Graduate Admissions: Data from Berkeley},
+ journal = {Science},
+ volume = 187,
+ pages = {398-403}
+ }
+ @InCollection{ Farebrother:87,
+ author = {R. W. Farebrother},
+ year = 1987,
+ title = {Mechanical Representations of the ${L}_1$ and ${L}_2$ Estimation Problems},
+ booktitle = {Statistical Data Analysis Based on the L1 Norm and Related Methods},
+ editor = {Y. Dodge},
+ publisher = {North-Holland},
+ address = {Amsterdam},
+ pages = {455-464}
+
+ Text in a bibitem is removed from the bibitem as it is assigned to
+ bibtex fields. Any text remaining is assigned to a note={ } field
+ at the end. Since the parsing is heuristic, some manual fixup work
+ can be expected at the end.
+
diff --git a/biblio/bibtex/utils/tex2bib/tex2bib b/biblio/bibtex/utils/tex2bib/tex2bib
new file mode 100644
index 0000000000..6631db3698
--- /dev/null
+++ b/biblio/bibtex/utils/tex2bib/tex2bib
@@ -0,0 +1,448 @@
+#! /usr/local/bin/perl
+
+$Script = 'tex2bib';
+$Version=0.97; # 22 Feb 2006 10:50:35
+$Author='Michael Friendly (friendly@yorku.ca)';
+
+# Copyright (c) 1997 Michael Friendly
+#
+# License:
+# This is free software subject to copyright, released according to the
+# BSD style license. It may be freely used, modified and distributed.
+# See: http://www.ctan.org/tex-archive/help/Catalogue/licenses.bsd.html
+# for details and further information.
+
+# tex2bib
+# Input a TeX document containing \bibitems, translate these
+# to BibTeX format
+#
+# Usage:
+# tex2bib [-k][-i infile] [-o outfile]
+# -k: regenerate keys
+# if infile not given, reads from stdin
+# if outfile not given, prints to stdout
+
+# The entire tex document is scanned for \bibitems, ending when
+# the string '\end{thebibliography}' is read.
+
+# Assumes that bibitems are formatted as follows:
+# -- {key}author(s), (date) at the beginning
+# -- titles of books or names of journals: {\em title}
+# -- article titles: after date, `` '' quotes optional
+# -- volume, pages: {\it vol}, nnn-nnn.
+# -- publisher/address: address:publisher
+#
+# All text in the bibitem which cannot be parsed is included
+# in a note = { } field
+#
+# Changes
+# 0.96 1998/06/22 Allow \bibitem keys to contain [\w:-]
+# 0.97 2006/02/21 Added BSD license
+#################################################################
+# Examples of a book, article, inproceedings:
+
+#\bibitem{Bertin83}Bertin, J. (1983),
+# {\em Semiology of Graphics} (trans. W. Berg). Madison, WI:
+# University of Wisconsin Press.
+#
+#\bibitem{Bickel75}Bickel, P. J., Hammel, J. W. and O'Connell, J. W.
+# (1975).
+# Sex bias in graduate admissions: data from Berkeley. {\em
+# Science}, {\it 187}, 398-403.
+#
+#\bibitem{Farebrother87}Farebrother, R. W. (1987),
+# ``Mechanical representations of the ${L}_1$ and ${L}_2$ estimation
+# problems'', In Y. Dodge (ed.) {\em Statistical data analysis
+# based on the L1 norm and related methods}, Amsterdam:
+# North-Holland., 455-464.
+
+
+# These are output as:
+
+#@Book{ Bertin:83,
+# author = {J. Bertin},
+# year = 1983,
+# title = {Semiology of Graphics},
+# publisher = {University of Wisconsin Press},
+# address = {Madison, WI},
+# note = {(trans. W. Berg).}
+#}
+#@Article{ Bickel:75,
+# author = {Bickel, P. J. and Hammel, J. W. and O'Connell, J. W.},
+# year = 1975,
+# title = {Sex Bias in Graduate Admissions: Data from Berkeley},
+# journal = {Science},
+# volume = 187,
+# pages = {398-403}
+#}
+#@InCollection{ Farebrother:87,
+# author = {R. W. Farebrother},
+# year = 1987,
+# title = {Mechanical Representations of the ${L}_1$ and ${L}_2$ Estimation Problems},
+# booktitle = {Statistical Data Analysis Based on the L1 Norm and Related Methods},
+# editor = {Y. Dodge},
+# publisher = {North-Holland},
+# address = {Amsterdam},
+# pages = {455-464}
+
+# Text in a bibitem is removed from the bibitem as it is assigned to
+# bibtex fields. Any text remaining is assigned to a note={ } field
+# at the end. Since the parsing is heuristic, some manual fixup work
+# can be expected at the end.
+
+#################################################################
+
+require 'getopt.pl' ;
+
+ Getopt("oikdrt:"); # ARGV now contains [inputfile] and
+ # $opt_o, $opt_i might be set.
+
+ $default_type = $opt_t || 'Article';
+
+ open(STDIN, "<$opt_i") or die "-i $opt_i: can't open.\n" if $opt_i ;
+ open(STDOUT, ">$opt_o") or die "-o $opt_o: can't create.\n" if $opt_o ;
+
+####################### Process input files ####################
+$bibs=0;
+while (<>)
+{
+ /^\s*\\end\{thebibliography/ && last;
+ if (/\\bibitem\s*\{([\w\d:-]+)\}/) {
+ $bibs++;
+ $key = $1;
+# print STDERR "$bibs key: $key\n";
+ }
+ # skip if we're still reading tex text (no bibitems encountered)
+ next unless $bibs;
+ chomp;
+ s/^\s*/ /;
+ $lines .= $_;
+}
+
+# All lines containing \bibitems have been read into the $lines string.
+# Now, split into separate items
+
+@items = split(/\\bibitem\s*/, $lines);
+print STDERR "items has ", scalar(@items), " items\n";
+
+@months = qw(january february march april may jun july august september
+ october november december);
+$month_pat = join('|', @months);
+
+foreach (@months) {
+ $month_abbrv{$_} = substr($_, 0,3);
+}
+
+$ordinal = 'first|second|third|fourth|1st\.?|2nd\.?|3rd\.?|4th\.?';
+
+# title words to ignore for casing;
+foreach ( qw(a about an and by for from in of on the to von with) ) {
+ $ignore_case{$_} = 1;
+}
+
+$outitems =0;
+%keys_seen = {};
+
+foreach $i (0..$#items) {
+ undef $title;
+ undef $pages;
+ undef $journal;
+ undef $volume;
+ undef $number;
+ undef $booktitle;
+ undef $editor;
+ undef $edition;
+ undef $month;
+ undef $publisher;
+ undef $address;
+ undef $chapter;
+ undef $rest;
+
+ print "$items[$i]\n" if $opt_d;
+ # assume each entry starts with
+ # {key}Author, F.I. etc (date[a-z]?)
+# $items[$i] =~ /^\{([^}]+)\}([^\(]*)\((\d{4})[a-z]?\)[,.]?\s*/;
+# ($key, $authors, $date) = ($1, $2, $3);
+ $items[$i] =~ /^\{([^}]+)\}\s*/;
+ $key = $1;
+# print "key: $key\n";
+ $rest = $';
+
+ $rest =~ /\((\d{4})[a-z]?\)[,.]?\s*/ &&
+ do {
+ $authors = $`;
+ $date = $1;
+ $rest = $';
+ };
+
+ unless (defined($key)) {
+ print STDERR "Skipping: $authors, $date in \n$items[$i]\n";
+ next;
+ }
+
+
+ $rest =~ s/^[.,]?\s+//;
+ $rest =~ s/\s+$//;
+
+# print "key: $key\n";
+# $key =~ m/(['A-Za-z]+)([^:]*)/ &&
+# do { $key = "$1:$2"; };
+# print "key: $key\n";
+
+ &parse_authors;
+
+ $orig_key = $key;
+ $key = &generate_key if $opt_k or $keys_seen{$key};
+
+ # if the $key has already been seen, make a new, unique one
+ if ($keys_seen{$key}) {
+ foreach $suffix (('b'..'z')) {
+ $try = $key . $suffix;
+# print STDERR "Seen $key ... trying $try\n";
+ unless ($keys_seen{$try}) {$key = $try; last; };
+ }
+ print STDERR "New unique key generated: $key (was $orig_key)\n"
+ unless $key eq $orig_key;
+ }
+ $keys_seen{$key}++;
+
+ # assume it's an article at first
+ $type = '@' . $default_type;
+
+ if ($rest =~ /^\{\\em\s+/) {
+ #tech report or book
+ $type = '@Book';
+ $rest =~ m/^\{\\em\s+(['\w ,?:]+)\}[., ]*/;
+ $title = $1;
+ $rest = $';
+ &parse_edition;
+ &parse_publish;
+
+ $rest =~ m/\sreport(s?)[,]?\s*/i &&
+ do {
+ $type ='@TechReport';
+ $rest = $` . $';
+ &parse_report_number;
+ };
+ }
+
+ else {
+ #does it begin with quoted title?
+ if ($rest =~ /^``/){
+ $rest =~ m/^``([^`]+)''[., ]*/;
+ $title = $1;
+ $rest = $';
+ }
+ else {
+ $rest =~ m#^(['\{\}\w\d,\(\)\\ :\?/-]+)[. ]*#;
+ $title = $1;
+ $rest = $';
+ }
+ $rest =~ s/^[,\s]+//;
+
+ if ($rest =~ /^\{\\em\s+/) {
+ $rest =~ m/^\{\\em\s+([\w\\& ,'-?]+)\}[., ]*/;
+ $journal = $1;
+ $rest = $';
+ }
+ # parse {\it volume (number)}
+ &parse_volume;
+
+ $rest =~ m/,?\s*(\d{1,4}--?\d{1,4})[.,]?\s*/ &&
+ do {
+ $pages = $1;
+ $rest = $`. $';
+ $pages =~ s/(\d)-(\d)/$1--$2/;
+ };
+
+ $rest =~ m/\(($month_pat)\)/i &&
+ do {
+ ($month = $1) =~ tr/A-Z/a-z/;
+ $month = $month_abbrv{$month};
+ $rest = $` . $';
+ };
+
+ $rest =~ m/(technical|tech\.)\s+report[,.]?/i &&
+ do {
+ $type ='@TechReport';
+ $rest = $` . $';
+ &parse_report_number;
+ };
+
+ $rest =~ m/^In\s+/i &&
+ do {
+ $rest = $';
+ $type ='@InCollection'; # maybe, proceedings
+ $rest =~ m/\{\\em\s+([\w ,':!?]+)\}[., ]*/ &&
+ do {
+ $booktitle = $1;
+ $rest = $` . $';
+ $type = '@InProceedings' if $booktitle =~ m/proceedings/i;
+ };
+ $rest =~ m/([\w., ]+)\s+\(eds?\.\)[,.]?\s*/i &&
+ do {
+ $editor = $1;
+ $rest = $` . $';
+ };
+ $rest =~ m/Chapter\s+(\d+)[.,]?\s*/i &&
+ do {
+ $chapter = $1;
+ $rest = $` . $';
+ };
+
+ &parse_edition;
+ &parse_publish;
+ };
+
+ $rest =~ m/proceedings/i &&
+ do {
+ $type = '@InProceedings';
+# print "$items[$i]\n";
+ };
+ }
+
+ $rest =~ s/^\s+//;
+ $rest =~ s/$date([,]?)//;
+
+ $title = &case_title($title);
+ $booktitle = &case_title($booktitle) if $booktitle;
+
+ print "$type\{$key";
+ print ",\n author\t= {$authors}";
+ print ",\n year\t= $date";
+ print ",\n title\t= {$title}" if $title;
+ print ",\n booktitle\t= {$booktitle}" if $booktitle;
+ print ",\n edition\t= {$edition}" if $edition;
+ print ",\n editor\t= {$editor}" if $editor;
+ print ",\n publisher\t= {$publisher}" if $publisher;
+ print ",\n address\t= {$address}" if $address;
+ print ",\n journal\t= {$journal}" if $journal;
+ print ",\n volume\t= $volume" if $volume;
+ print ",\n month\t= $month" if $month;
+ print ",\n number\t= $number" if $number;
+ print ",\n pages\t= {$pages}" if $pages;
+ print ",\n chapter\t= {$chapter}" if $chapter;
+ print ",\n note\t= {$rest}" if $rest;
+ print "\n\}\n";
+ $outitems++;
+}
+print STDERR "$outitems items processed\n";
+exit;
+
+########################### subroutines #############################
+
+# separate multiple authors with 'and'
+sub parse_authors {
+ # fix authors field
+ $authors =~ s/\s+$//;
+ $authors =~ s/\\&/and/;
+ $authors =~ s/([A-Z])\.([A-Z])\./$1. $2./g;
+ $authors =~ s/ ([A-Z])\.,\s+(?!Jr.)/ $1. and /g;
+ $authors =~ s/ and and / and /;
+# $authors =~ s/Friendly, M./Friendly, Michael/;
+ $authors =~ s/M. Friendly/Friendly, M./;
+ local($commas) = ($authors =~ tr/,/,/);
+ if ($opt_r && $commas == 1) {
+ @auth = split(/, /, $authors);
+ $authors = join(' ',reverse(@auth));
+ }
+
+}
+
+# extract last names of authors into @auth array
+sub split_authors {
+ @auth = split(/ and /, $authors);
+ @auth =~ grep(s/, .*$//g,@auth); # strip trailing initials
+ @auth =~ grep(s/^([A-Z]\.\s*)+//g,@auth);
+# @auth =~ grep(s/^[a-z ]+//,@auth); # strip any name prefixes
+
+ foreach $i (0..$#auth) {
+ @n = split(/ /, $auth[$i]);
+ $auth[$i] = pop(@n); # strip anything before lastname
+ $auth[$i] =~ s/[^\w]//g; # remove non-word chars
+ }
+
+# print STDERR "Authors: $authors --> ",
+ join('|',@auth),"\n" if scalar(@auth) > 1;
+
+}
+
+sub parse_volume {
+ $rest =~ m/,?\s*\{\\it\s+([A-Za-z \d()]+)\s*\}[.,]?/ &&
+ do {
+ $volume = $1;
+ $rest = $`. $';
+ $volume =~ m/\(([ \w]+)\)/ &&
+ do {
+ $volume = $`;
+ $number = $1;
+ };
+ $volume = "{$volume}" unless $volume =~ m/^\d*$/;
+ $number = "\{$number\}" unless $number =~ m/^\d*$/;
+ };
+
+}
+
+# find publisher and address in book/inproceedings items
+# assume the format is address:publisher
+sub parse_publish {
+ local($before, $after);
+ $rest =~ m#:\s*([\w-\\/& ]+)[.]?# &&
+ do {
+ $publisher = $1;
+ ($before, $after) = ($`, $');
+ $before =~ m/([\w, ]+)$/ &&
+ do {
+ $address = $1;
+ $before = $`;
+ $address =~ s/^\s+//;
+ };
+ $rest = $before . $after;
+ };
+}
+
+sub parse_report_number {
+ $rest =~ m/\s*(no\.|number)\s+(\d+)[,.]?\s*/i &&
+ do {
+ $number = $2;
+ $rest = $` . $';
+ }
+}
+
+sub parse_edition {
+ $rest =~ m/\(?($ordinal).*(edition|ed\.)\)?\.?\s*/i &&
+ do {
+ $edition = $1;
+ $rest = $` . $';
+ }
+}
+
+# Initial-caps for all non-ignored words
+sub case_title {
+ local($t) = @_;
+ local(@words) = split(/\s+/, $t);
+ local($w) =0;
+ local($colon);
+ foreach (@words) {
+ $w++;
+ next if /^[A-Z]/;
+ unless ($colon) {next if $ignore_case{$_}};
+ s/^([a-z])/\u$1/;
+ $colon = tr/:/:/;
+ }
+ join(' ', @words);
+}
+
+sub generate_key {
+ local($yr, $key);
+ ($yr = $date) =~ s/^1\d//;
+ &split_authors;
+ if (scalar(@auth) < 3) {
+ $key = join('', @auth, ':', $yr);
+ }
+ else {
+ $key = join('', $auth[0], '-etal:', $yr);
+ }
+# print STDERR "New key: $key (", join('|', @auth), ": $date)\n";
+ $key;
+}
diff --git a/biblio/bibtex/utils/text2bib/INSTALL b/biblio/bibtex/utils/text2bib/INSTALL
new file mode 100644
index 0000000000..d8210d48fb
--- /dev/null
+++ b/biblio/bibtex/utils/text2bib/INSTALL
@@ -0,0 +1,44 @@
+
+Installation instructions for text2bib PHP script
+=================================================
+
+Note
+----
+This software is supplied without any warranty whatsoever. In particular, it is not guaranteed to be free of security
+holes. If you make the software available to third parties via a webserver, you are liable for any damage to the server
+caused by those third parties.
+
+Files
+-----
+README
+INSTALL (this file)
+COPYING (GPL license)
+Convert.inc.php (defines bibtex object and conversion class, containing the method convertToBibtex, which does the main work, and formBibtex, which creates the bibtex file (and several auxiliary methods))
+
+How to install
+--------------
+Put the files in a directory.
+
+Create a PHP file containing the following text:
+
+-----------------%<---------------------
+include("Convert.inc.php");
+
+// Following lines are examples. See Convert.inc.php for all possibilities.
+$labelStyle = 'short';
+$overrideLabels = true;
+$lineEndings = 'w';
+$verbose = 1;
+$debug = 0;
+$itemSeparator = 'cr';
+$percentComment = 1;
+
+$convert = new Convert($labelStyle, $overrideLabels, $lineEndings, $verbose, $debug, $itemSeparator, $percentComment);
+$items = $convert->convertToBibtex($filename);
+$outputstring = $convert->formBibtex($items);
+-----------------%<---------------------
+
+Finally, display $outputstring in some way, or write it to a file.
+
+Martin J. Osborne
+2007-12-21
diff --git a/biblio/bibtex/utils/text2bib/README b/biblio/bibtex/utils/text2bib/README
new file mode 100644
index 0000000000..b00b3de995
--- /dev/null
+++ b/biblio/bibtex/utils/text2bib/README
@@ -0,0 +1,21 @@
+
+text2bib is a PHP script for converting references to BibTeX format. It aims to convert accurately references in any
+reasonable format. Here are three examples of references that it converts correctly:
+
+Arrow, K. J., L. Hurwicz, and H. Uzawa (1961), "Constraint qualifications in maximization problems," Naval Research
+Logistics Quarterly 8, 175-191.
+
+Arrow, K. J., L. Hurwicz, and H. Uzawa [1961], ``Constraint qualifications in maximization problems,'' {\it Naval Research
+Logistics Quarterly}, 8(2), 175-191.
+
+Arrow, K. J., L. Hurwicz, \& H. Uzawa. Constraint qualifications in maximization problems. \textit{Naval Research
+Logistics Quarterly}, 8(2): 175--191. 1961.
+
+The script is freely available, under the GPL license (see the file COPYING). It may currently be used via the web at
+http://theory.economics.utoronto.ca/text2bib
+where some more details of its operation are available.
+
+The file INSTALL gives instructions on how to install the script on a server.
+
+Martin J. Osborne
+2007-12-20
diff --git a/biblio/bibtex/utils/text2bib/docs/COPYING b/biblio/bibtex/utils/text2bib/docs/COPYING
new file mode 100644
index 0000000000..05da56c4f2
--- /dev/null
+++ b/biblio/bibtex/utils/text2bib/docs/COPYING
@@ -0,0 +1,123 @@
+GNU GENERAL PUBLIC LICENSE
+Version 2, June 1991
+
+Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+Everyone is permitted to copy and distribute verbatim copies
+of this license document, but changing it is not allowed.
+
+Preamble
+
+The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too.
+
+When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.
+
+To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.
+
+For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
+
+We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.
+
+Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.
+
+Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.
+
+The precise terms and conditions for copying, distribution and modification follow.
+
+GNU GENERAL PUBLIC LICENSE
+TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.
+
+1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
+
+2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
+
+a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.
+
+b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
+
+c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
+
+3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:
+
+a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
+
+b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
+
+c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
+
+If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
+
+4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
+
+5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.
+
+6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.
+
+7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.
+
+It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
+
+This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
+
+8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
+
+9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.
+
+10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
+
+NO WARRANTY
+
+11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+END OF TERMS AND CONDITIONS
+
+How to Apply These Terms to Your New Programs
+
+If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
+To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.
+
+[one line to give the program's name and a brief idea of what it does.] Copyright (C) [year] [name of author]
+
+This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
+
+This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this when it starts in an interactive mode:
+
+Gnomovision version 69, Copyright (C) year name of author
+Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+This is free software, and you are welcome to redistribute it
+under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names:
+
+Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker.
+[signature of Ty Coon], 1 April 1989
+Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License.
diff --git a/biblio/bibtex/utils/tkbibtex/tkbibtex b/biblio/bibtex/utils/tkbibtex/tkbibtex
new file mode 100644
index 0000000000..83e9687dc8
--- /dev/null
+++ b/biblio/bibtex/utils/tkbibtex/tkbibtex
@@ -0,0 +1,2337 @@
+#! /bin/sh
+# the next line restarts using wish \
+exec wish $0 ${1+"$@"}
+
+#---------------------------------------------------------------------------
+# tkbibtex - a BibTeX file browser
+# Copyright (c) 1997 Peter Corke pic@cat.csiro.au
+# with major modifications by Guenter Milde (G.Milde@physik.tu-dresden.de)
+#
+# Needs Tcl/Tk version 8.0 or later
+#
+# tkbibtex home page at
+# http://www.cat.csiro.au/cmst/staff/pic/tkbibtex.html
+#
+# This is RELEASE 8 July 2000
+#
+set release 9
+#
+#---------------------------------------------------------------------------
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#---------------------------------------------------------------------------
+# Contributors:
+# Guenter Milde (G.Milde@physik.tu-dresden.de)
+# John Fulton <John.Fulton@iname.com>
+# Thomas Henlich <henlich@mmers1.mw.tu-dresden.de>
+#
+# COMMAND LINE SWITCHES:
+# ~~~~~~~~~~~~~~~~~~~~~
+set usage {Usage: tkbibtex [switches] [bibfile]
+
+ A browser/editor for BibTeX format bibliografy files
+
+ * General switches:
+
+ SWITCH ARG DESCRIPTION
+ TYPE
+
+ -debug int 0 = none, 1=moderate, 2=lots, ...
+ -lyx string name of pipe to connect to LyX with
+
+ * For non-interactive searching mode (entered if any of these switches given)
+
+ -search string search string (defaults to all)
+ -type string reference type to search (defaults to all)
+ -field string field to search (defaults to all)
+ -ys int starting year (inclusive) (defaults to 0)
+ -ye int ending year (inclusive) (defaults to 9999)
+ -last int ending year is this year, starting year is specified
+ number of years earlier
+ -exact case sensitive search
+ -case case sensitive search
+by default will list the BibTeX source of the matching entries to stdout, but
+
+ -count will output number of matches only, not BibTeX source
+ -list will display a one line summary (key, type, title)
+ per match
+
+Copyright (c) Peter Corke 1997-2000
+
+ }
+
+## user alterable inits, you may set/override these also in a file ~/.tkbibtexrc
+
+# default for ignore case check button in search window
+set search_ignore_case 1
+# which fields shall have a folding multiple line entry?
+set bigfields "annote title abstract"
+# number of lines in big fields
+set title_lines_big 4
+set annote_lines_big 10
+set abstract_lines_big 10
+set delete_confirm true
+
+# cite_grouping, controls how a list of references is pushed to LyX
+# false [ref1][ref2][ref3]
+# true [ref1,ref2,ref3]
+set cite_grouping true
+
+# citekey_lower, controls whether all cite keys are made lower case. bibtex
+# ignores case, so this is useful to detect duplicates.
+set citekey_lower false
+# name of strings file, searched for along BIBPATH
+set strfile "strings.bib"
+# initial height of references (main) window (in chars)
+set refs_height 30
+# initial width of references window (in chars)
+set refs_width 30
+# initial width of entries in browse window (in chars)
+set entrywidth 75
+# maximal number of backup copies: 0 = no backups, -1 unlimited
+set backup_max 9
+# default for new entries
+set reftype_default "article"
+
+# load user's init file if it exists
+if {[file exists "~/.tkbibtexrc"]} {
+ source "~/.tkbibtexrc"
+}
+
+
+# get BIBPATH environment variable if it exists
+if {[info exists env(BIBPATH)]} {
+ set bibpath $env(BIBPATH)
+ set bibpathlist [split $bibpath :]
+} else {
+ set bibpathlist ""
+}
+
+## initializations, modify with caution
+set curkey "" ;# keyword of the entry shown in the .browse window
+ # or "" if there is no .browse window
+set debug 0 ;# verbosity level 0,...,3 for debugging
+set bibchanged 0
+trace variable bibchanged w bibchange_proc
+set citelist ""
+set window_state ""
+set curreftype ""
+set fname "<noname>"
+set global_print_cmd "|lpr"
+
+foreach i $bigfields {set ${i}_big 0} ;# big_lentries folded to one line
+
+# initial values of command params that may be set by command line switches
+set arg_ys 0
+set arg_ye 9999
+set arg_search 9999
+set arg_reftype "All"
+set arg_field "All"
+set arg_search ".*"
+set arg_ignorecase 1
+set arg_count 0
+set command_line_mode 0
+set LyXpipe $env(HOME)/.lyxpipe
+
+# global bindings
+bind Button <Up> {tkTabToWindow [tk_focusPrev %W]}
+bind Button <Down> {tkTabToWindow [tk_focusNext %W]}
+bind Button <Left> {tkTabToWindow [tk_focusPrev %W]}
+bind Button <Right> {tkTabToWindow [tk_focusNext %W]}
+
+bind all <F1> {briefhelp Keys}
+bind all <Control-d> {edit_item duplicate}
+bind all <Control-r> {edit_item rename}
+bind all <Control-n> {edit_item new}
+bind all <Control-f> {finditem}
+bind all <Control-q> {quit}
+bind all <Control-s> {savebib}
+bind all <F2> {savebib}
+bind all <Shift-F2> {saveasbib}
+bind all <F3> {openbib}
+bind all <Shift-F3> {closebib}
+
+
+#---------------------------- DEFINES -------------------------------------
+# define BibTeX reference types and fields, see btxdoc.[tex/bib] for
+# documentation
+
+# common month names for the month menu
+set months {jan feb mar apr may jun jul aug sep oct nov dec}
+
+#---------------------------------------------------------------------
+# The following lists tailor the operation of tkbibtex.
+# 1. to add a new reference type, say a BIGBOOK type, add the name (in l.c.)
+# to the list "alltypes"
+# 2. to add a new field place the name in the lists "allfields" and:
+# 3. to make it mandatory for a type add that field name to the
+# list req(reftype).
+# 4. to make it optional for a type add that field name to the
+# list opt(reftype).
+# 5. to make it an additional field (for all types) add that field name
+# to the list ign (ignored fields)
+#---------------------------------------------------------------------
+
+# list of all fields
+set allfields {address author booktitle chapter edition \
+ editor howpublished institution journal month number \
+ organization pages publisher school series title type volume \
+ year note code url crossref annote abstract}
+
+# list of all reference types
+set alltypes {article book booklet inbook incollection \
+ inproceedings manual mastersthesis misc phdthesis proceedings \
+ techreport unpublished}
+
+# list of additional fields, ignored by the standard BibTeX styles
+set ign {crossref code url annote abstract}
+
+# lists of required and optional fields for each reference type
+set req(article) {author title journal year}
+set opt(article) {volume number pages month note}
+
+set req(book) {author title publisher year};# requires author OR editor
+set opt(book) {editor volume number series address edition month note}
+
+set req(booklet) {title}
+set opt(booklet) {author howpublished address month year note}
+
+set req(inbook) {author title chapter pages publisher year}
+ #(requires author or editor)
+set opt(inbook) {editor volume series address edition month note}
+
+set req(incollection) {author title booktitle publisher year}
+set opt(incollection) {editor volume number series type chapter \
+ pages address edition month note}
+
+set req(inproceedings) {author title booktitle year}
+set opt(inproceedings) {editor pages organization publisher address month note}
+
+set req(manual) {title}
+set opt(manual) {author organization address edition month year note}
+
+set req(misc) {}
+set opt(misc) {title author howpublished month year note}
+
+set req(mastersthesis) {author title school year}
+set opt(mastersthesis) {address month note}
+
+set req(phdthesis) {author title school year}
+set opt(phdthesis) {address month note}
+
+set req(proceedings) {title year}
+set opt(proceedings) {editor publisher organization address month note}
+
+set req(techreport) {author title institution year}
+set opt(techreport) {type number address month note}
+
+set req(unpublished) {author title note}
+set opt(unpublished) {month year}
+
+#-------------------------- Datastructures -----------------------------
+#
+# Datastructures are somewhat limited in Tcl. The two main ones are:
+#
+# citelist a list of all citations in the order they
+# are displayed in the main listbox
+# REFLIST an array in which the first index is the citation key,
+# and the second index is the field. Thus
+# REFLIST(Corke87b,type) = "article"
+# REFLIST(Corke87b,title) = "Yet another paper about..."
+#
+
+#----------------------- BibTeX format file i/o -----------------------------
+
+# return full path name for specified file along BIBPATH
+proc find_on_path {fname} {
+ global bibpathlist
+
+ if {[file exists $fname]} {
+ return $fname
+ }
+
+ foreach p $bibpathlist {
+ if {[file exists $p/$fname]} {
+ set fname $p/$fname
+ return $fname
+ }
+ }
+ return {}
+}
+
+#
+# parse the BibTeX format file and update the multidimensional array REFLIST.
+#
+proc bibparse {fname} {
+ global citelist errmsg
+
+ showmsg "loading $fname"
+ . config -cursor watch
+ trace vdelete REFLIST w REFLISTchange_proc
+ set dupcount [bibparse_f $fname]
+ trace variable REFLIST w REFLISTchange_proc
+ set REFLIST_update 0
+ update_citelistbox
+
+ . config -cursor ""
+ set count [llength $citelist]
+ if {$dupcount == 0} {
+ showmsg "$count records"
+ } else {
+ showmsg "$count records ($dupcount duplicates)"
+ }
+ testoutput 1 "$count records ($dupcount duplicates)"
+ if {$errmsg != ""} {
+ tk_messageBox -icon warning -type ok -message $errmsg
+ set errmsg ""
+ }
+
+}
+
+# -------- new parsing-algorithm by GM (rparse.tcl) --------------
+
+set preamblelist ""
+set errmsg ""
+
+# core file parser
+
+proc bibparse_f {fname} {
+
+ global errmsg
+
+ set f [open $fname r]
+
+ testoutput 1 "loading $fname"
+ showmsg "loading $fname"
+
+ set buffer [read $f]
+ close $f
+
+ testoutput 1 "parsing $fname"
+ showmsg "parsing $fname"
+
+ return [bibparse_s $buffer]
+}
+
+proc bibparse_s {buffer} {
+ # transform, to get a string that can be parsed by tcl-routines:
+
+ # We have to cheat to get tcl parsing a bibtex file: BibTeX uses special
+ # characters to separate entries and fields. But inside a {string}
+ # or a "string" they are escaped. This escaping is not regarded by "split"
+ # or "regexp", but it is implemented in Tcl's list functions,
+ # however assuming a space as separating character
+
+ # 1. escape backslashes (to prevent substitution of LaTeX-commands as
+ # there is one round of backslash substitution when the list element is not
+ # enclosed in braces) and quote whitespace
+
+ set new_entry 0
+ set count 0
+ set dupcount 0
+ set catch_msg ""
+
+ regsub -all {\\} $buffer {\\\\} buffer
+ regsub -all "\[\t\n ]+" $buffer {\ } buffer
+
+ # 2. put in additional whitespace where we want a separation
+ # '@' separates entries, ',' separates fields,
+ # 3. braces and quotes must be surrounded by whitespace,
+ # otherwise list commands will produce errors
+
+ regsub -all "\[@\{,]" $buffer { &} buffer
+ regsub -all "\[\}]" $buffer {& } buffer
+ regsub -all {"} $buffer { & } buffer ;# comment " only for syntax color
+
+ testoutput 3 $buffer
+
+ # now look at the entries
+ foreach element $buffer {
+
+ testoutput 3 "<$element>"
+
+ # the first element after a reftype contains the fields
+ if {$new_entry} {
+ parse_fields $element $reftype
+ if {$catch_msg != ""} {
+ append errmsg "$catch_msg \n\
+ The following record could not be parsed:\n \
+ <[ruecktrafo $element]> \n\n\
+ You might have to fix your *.bib file! \
+ (probabely use of \"quotes\" \
+ to enclose fields with umlauts) \n\n"
+ }
+ set new_entry 0
+ set catch_msg ""
+ continue
+ }
+ # look for reftype
+ if [regexp {^@([a-zA-Z]+) ?(\(?)} $element match reftype parantheses] {
+ set reftype [string tolower $reftype]
+ incr count
+ if {$count%10 == 0} { # show progress every tenth parsed entry
+ showmsg "parsing: $count records"
+ }
+ testoutput 1 "\nNew entry:"
+ if {$parantheses == "("} {
+ append errmsg "cannot handle entry in parantheses (yet): $element\n"
+ # Baustelle
+ # diese Klausel kann weg, wenn Klammern richtig behandelt werden
+ } else {
+ set new_entry 1
+ }
+ continue
+ }
+ # somethig else: warn user, as this will not be written back to file
+ testoutput 2 "ignored: <$element>"
+ if [regexp {[a-zA-Z]+} $element] {
+ append errmsg "ignored text: [ruecktrafo $element]\n"
+ }
+ }
+ return $dupcount
+}
+
+
+proc parse_fields {fields reftype} {
+
+ global preamblelist strlist citelist REFLIST errmsg citekey_lower
+ upvar dupcount dupcount
+ upvar catch_msg catch_msg
+ set pre_types {preamble string comment}
+ set fieldtext 0
+ set macro ""
+
+ testoutput 3 $fields
+
+ # store preambles, strings and comments to write them back
+ # when saving the file
+ if {[lsearch $pre_types $reftype] >= 0 } {
+ lappend preamblelist "@$reftype \{[ruecktrafo $fields]\}"
+ testoutput 1 "pre-stuff: [lindex $preamblelist end]"
+ if {$reftype == "string"} {
+ # strings will be parsed and put to the stringlist although
+ set keyw "" ;# a string definiton has no keyword
+ } else {
+ return
+ }
+ }
+
+ # process the fields
+ # use catch, as the list might contain syntactic errors
+ catch {
+ foreach item $fields {
+ testoutput 2 "<$item>"
+
+ # first field is keyword (except for strings)
+ if {![info exists keyw]} {
+ set keyw [string trim $item]
+ if {$citekey_lower} {
+ set keyw [string tolower $keyw]
+ }
+ # put in the Reflist
+ set REFLIST($keyw,reftype) $reftype
+ # if not already in the citelist, append it
+ if {[lsearch -exact $citelist $keyw] < 0} {
+ lappend citelist $keyw
+ } else {
+ # Baustelle: fragen: rename overwrite skip?
+ set r [tk_dialog .duplicate {Duplicate!} \
+ "Cite key <$keyw> already exists" \
+ warning 0 {Skip} {Overwrite}]
+ switch $r {
+ 0 {incr dupcount; return}
+ 1 {incr dupcount}
+ }
+ }
+ testoutput 1 "$reftype $keyw"
+ continue
+ }
+
+ # item is <"text"> or <{text}>
+ if {$fieldtext} {
+ set REFLIST($keyw,$fieldname) [ruecktrafo $item]
+ set fieldtext 0
+ testoutput 1 " $fieldname $REFLIST($keyw,$fieldname)"
+ continue
+ }
+
+ # count for concatenations
+ if [info exists concat] {
+ testoutput 3 "concat = <$concat>"
+ append REFLIST($keyw,$fieldname) "\{[ruecktrafo $item]\}"
+ unset concat
+ testoutput 1 " $fieldname $REFLIST($keyw,$fieldname)"
+ continue
+ }
+
+ # item of the form <?,?fieldname = ?macro? ?#?>
+ if [regexp {^,? ?([^ ]+) ?= ?(.*)} \
+ $item match fieldname macro] {
+ set fieldname [string tolower $fieldname]
+ if {$macro != ""} {
+ if [regexp {# ?$} $macro] {
+ set concat "#"
+ }
+ set REFLIST($keyw,$fieldname) "# $macro"
+ testoutput 1 " $fieldname $REFLIST($keyw,$fieldname)"
+ set macro ""
+ } else {
+ set fieldtext 1
+ }
+ continue
+ }
+ # concatenations < # ?macro? ?#?>
+ if [regexp {^ ?(#.*)} $item match concat] {
+ # if the first part is not a macro, put braces around
+ if {![regexp {^#} $REFLIST($keyw,$fieldname)]} {
+ set REFLIST($keyw,$fieldname) "#\{$REFLIST($keyw,$fieldname)\}"
+ }
+ append REFLIST($keyw,$fieldname) " $concat"
+ testoutput 1 " $fieldname $REFLIST($keyw,$fieldname)"
+ if {![regexp {# ?$} $concat]} {
+ unset concat
+ }
+ continue
+ }
+
+ if {![regexp {^ *,? *$} $item]} {
+ append errmsg "cannot parse <$item> \n"
+ }
+
+ } ;# ende {foreach {$fields}}...
+ } catch_msg;# ende catch {foreach ....}
+
+ if {$reftype == "string"} {
+ set strlist($fieldname) $REFLIST($keyw,$fieldname)
+ unset REFLIST($keyw,$fieldname)
+ }
+ if [info exists keyw] {unset keyw}
+}
+# ende proc parse fields
+
+
+proc ruecktrafo {string} {
+ # 1. change back spaces
+ regsub -all "(\}) " $string {\1} string
+ regsub -all " (\[@\{,])" $string {\1} string
+ regsub -all { (") } $string {\1} string ;# "only for syntax color
+
+ # Test what kind of string it is:
+ # if it was in quotes, it will have spaces around -> remove
+ # if the string was in braces -> dequote it
+ if {[regsub {^ (.*) $} $string {\1} string] == 0} {
+ regsub -all {(\\)?\\} $string {\1} string
+ }
+ return $string
+}
+
+# --------- end of stuff for the new parsing algorithm by GM ---------
+
+proc update_citelistbox {} {
+ global citelist
+
+ # cream the old listbox contents
+ .refs.list delete 0 end
+
+ # now reinsert all items in citelist order
+ foreach key $citelist {
+ .refs.list insert end $key
+ }
+}
+
+proc append_to_citelist {newkey} {
+ global bibchanged citelist
+
+ .refs.list insert end $newkey
+ lappend citelist $newkey
+ # note that we've updated the bib
+ incr bibchanged
+}
+
+
+# writebib package
+#
+# writebib citelist filename
+#
+# writes specified citations to the given filename
+#
+# writebib2str citelist
+#
+# writes specified citations to the global buffer writebib_str
+# and also returns this string
+#
+
+proc writebib {citelist fname} {
+ global debug
+
+ showmsg "writing $fname"
+ if {$debug} {
+ puts "writing $fname"
+ }
+ . config -cursor watch
+ set f [open $fname w]
+
+ writebib2 $citelist fwrite $f
+ close $f
+
+ . config -cursor ""
+ showmsg "[llength $citelist] entries written"
+}
+
+proc writebib2str {citelist} {
+ global writebib_str
+
+ set writebib_str ""
+ writebib2 $citelist swrite 0
+
+ return $writebib_str
+}
+
+proc writebib2 {citelist wproc arg} {
+ global REFLIST
+
+ foreach k $citelist {
+ set rt $REFLIST($k,reftype)
+ $wproc $arg "@$rt\{$k"
+
+ set res [array get REFLIST "$k,*"]
+ # now have a list comprising pairs of list elements; the REFLIST
+ # subscript then the value
+ set nfound 0
+
+ foreach {key val} $res {
+ regexp {,([a-z]+)} $key matchall lastkey
+ if {($lastkey != "reftype") && ($val != "")} {
+ testoutput 1 "<$key $val$>"
+ $wproc $arg ",\n"
+ if {[regexp ^# $val]} {
+ set val [string trimleft $val "#"]
+ $wproc $arg " $lastkey = $val"
+ } else {
+ $wproc $arg " $lastkey = \{$val\}"
+ }
+ }
+ }
+ # put end of record brace
+ $wproc $arg "\n\}\n\n"
+ }
+}
+
+proc fwrite {f str} {
+ puts -nonewline $f $str
+}
+
+proc swrite {f str} {
+ global writebib_str
+
+ append writebib_str $str
+}
+
+
+#----------------------- BROWSE WINDOW -----------------------------------
+
+# create the data entry window (.browse) with reftype menu and navigation bar
+# (the fields will be inserted by set_browsebox)
+proc create_browse {} {
+ global alltypes curreftype reftype_default
+
+ toplevel .browse
+ build_stringmenu
+ bind .browse <Destroy> {
+ if {"%W" == ".browse"} {
+ set curkey ""
+ trace vdelete curreftype w reftypechange_proc
+ }
+ }
+ bind .browse <Unmap> {wm_statechange %W}
+ bind .browse <Map> {wm_statechange %W}
+ # Reference type is a menu button whose current label shows the
+ # reference type. Clicking brings up a radiobutton menu that allows
+ # the type to change, and the browse box will reconfigure appropriately
+ frame .browse.reftype
+ label .browse.reftype.l -text "Reference type:" -width 15 -anchor e
+ menubutton .browse.reftype.m -menu .browse.reftype.m.menu -width 20 \
+ -relief raised -anchor w -text $reftype_default
+ menu .browse.reftype.m.menu
+ foreach i $alltypes {
+ .browse.reftype.m.menu add radiobutton -label $i -variable curreftype \
+ -value $i
+ }
+ pack .browse.reftype.l .browse.reftype.m -side left -anchor w
+ pack .browse.reftype -expand 1 -anchor w
+
+ # look for changes in the global curreftype
+ trace variable curreftype w reftypechange_proc
+
+ # a bottom line with helpful buttons:
+ frame .browse.navigate
+ button .browse.navigate.first -text {|< First} -underline 4\
+ -command {browseitem first .refs.list}
+ button .browse.navigate.prev -text {< Previous} -underline 3\
+ -command {browseitem previous .refs.list}
+ button .browse.navigate.next -text {Next >} -underline 0\
+ -command {browseitem next .refs.list}
+ button .browse.navigate.last -text {Last >|} -underline 0\
+ -command {browseitem last .refs.list}
+ button .browse.navigate.close -text Close -width 10 -underline 0\
+ -command {destroy .browse}
+ button .browse.navigate.help -text Help -width 10 -underline 0\
+ -command {briefhelp Browse}
+ pack .browse.navigate.first .browse.navigate.prev .browse.navigate.next\
+ .browse.navigate.last -side left -fill x -expand 1
+ pack .browse.navigate.help .browse.navigate.close -side right
+ pack .browse.navigate -side bottom -fill x
+ bind .browse.navigate 1 {focus .browse.navigate}
+
+ # bind the Alt + underlined keys
+ bind .browse <Alt-Key-f> {browseitem first .refs.list; break}
+ bind .browse <Alt-Key-p> {browseitem previous .refs.list; break}
+ bind .browse <Alt-Key-n> {browseitem next .refs.list; break}
+ bind .browse <Alt-Key-l> {browseitem last .refs.list; break}
+ bind .browse <Alt-Key-c> {destroy .browse; break}
+ bind .browse <Alt-Key-h> {briefhelp Browse; break}
+}
+
+
+# browse the specified cite key, optional arg "-focus" controls
+# whether the first item of .browse is focused on
+proc browse {name args} {
+ global REFLIST allfields curkey curreftype curfields \
+ bibchanged debug bigfields fname
+
+ # ignore stupid keys
+ # if {$name == ""} {return} ;# does this happen?
+
+ # unset empty array elements of last browsed entry
+ if {$curkey != ""} {
+ trace vdelete REFLIST w REFLISTchange_proc
+ foreach el [array names REFLIST $curkey,*] {
+ if {$REFLIST($el) == ""} {unset REFLIST($el)}
+ }
+ trace vdelete REFLIST w REFLISTchange_proc
+ }
+
+ # set curkey to new value
+ set curkey $name
+
+ # create browse window if need be and add the labeled entries for curreftype
+ if {[winfo exists .browse] == 0} {
+ create_browse
+ set_browsebox $REFLIST($name,reftype)
+ }
+
+ # configure the browse box with fields for this entry
+ if {$curreftype != $REFLIST($name,reftype)} {
+ # update curreftype: this calls set_browsebox and a rerun of browse
+ # via trace/curreftypechange_proc
+ set curreftype $REFLIST($name,reftype)
+ return
+ } else {
+ # delete non canonical fields (not predefined for this reference type)
+ foreach i [lrange [pack slaves .browse] 2 end] {
+ if [regexp {sep} $i] {continue}
+ if {[lsearch $curfields [string range $i 8 end]] < 0} {destroy $i}
+ }
+ }
+ # add nan canonical fields (not predefined but present in REFLIST)
+ foreach el [array names REFLIST $name,*] {
+ if [regexp {,([a-z]+)} $el matchall fieldname] {
+ if {$fieldname == "reftype"} {continue}
+ if {[lsearch $curfields $fieldname] < 0} {
+ lentry $fieldname
+ }
+ }
+ }
+
+ # attach the entry to the browse box by textvariables,
+ # do special actions for big_lentry boxes
+ foreach entry [lrange [pack slaves .browse] 2 end] {
+ if [regexp {sep} $entry] {continue}
+ set field [string range $entry 8 end]
+ if {[lsearch $bigfields $field] >= 0} {
+ .browse.$field.e delete 1.0 end
+ if [info exists REFLIST($name,$field)] {
+ .browse.$field.e insert 1.0 $REFLIST($name,$field)
+ }
+ } else {
+ trace vdelete REFLIST w REFLISTchange_proc
+ set in_reflist [info exists REFLIST($name,$field)]
+ # now link entry box to data using textvariable
+ .browse.$field.e config -textvariable REFLIST($name,$field)
+ if {!$in_reflist} {
+ .browse.$field.e delete 0 end
+ }
+ trace variable REFLIST w REFLISTchange_proc
+ }
+ }
+
+ # put cite key into the titlebar
+ wm title .browse "\[$fname\] $name"
+
+ # set focus to first entry if called with option -focus
+ # -force, as this is another toplevel window
+ if { [lindex $args 0] == "-focus"} {
+ focus -force .browse.[lindex $curfields 0].e
+ }
+}
+
+# configure the browse window fields for specified reference type
+proc set_browsebox {reftype} {
+ global req opt ign
+
+ # clear all old fields, (0st and 1st slave are reftype and navigate)
+ foreach i [lrange [pack slaves .browse] 2 end] {
+ # pack forget $i ;
+ # we better destroy and make anew, as this keeps the
+ # right order for keybord traversal
+ destroy $i
+ }
+
+ # add the new fields in right order, separate types with black lines
+ foreach i $req($reftype) {
+ lentry $i
+ }
+ frame .browse.sep1 -height 3 -background black
+ pack .browse.sep1 -fill x -expand 1
+
+ foreach i $opt($reftype) {
+ lentry $i
+ }
+ frame .browse.sep2 -height 3 -background black
+ pack .browse.sep2 -fill x -expand 1
+
+ foreach i $ign {
+ lentry $i
+ }
+
+}
+
+# create a labelled entry box, a frame holding a label and an entry
+# (with multiple lines if name is mentionend in global $bigfields)
+proc lentry {name} {
+ global bigfields entrywidth months
+
+ if {[winfo exists .browse.$name] == 0} {
+ frame .browse.$name
+ if {[lsearch $bigfields $name] >= 0} {
+ button .browse.$name.l -text "[string toupper $name]:" -width 14 \
+ -anchor e -default disabled -bd 1 -padx 2 -pady 0 \
+ -highlightthickness 0 -takefocus 0 -command "fold_button {$name}"
+ text .browse.$name.e -yscrollcommand ".browse.$name.s set" -height 1 \
+ -width 20
+ bind .browse.$name.e <KeyRelease> "update_biglentry $name"
+ bind .browse.$name.e <ButtonRelease> "update_biglentry $name"
+ bind .browse.$name.e <Tab> {tkTabToWindow [tk_focusNext %W]; break}
+ bind .browse.$name.e <Shift-Tab> {
+ tkTabToWindow [tk_focusPrev %W]; break}
+ bind .browse.$name.e <Up> {tkTextfieldUp %W}
+ bind .browse.$name.e <Down> {tkTextfieldDown %W}
+ # scrollbar will be displayed by proc fold_button if entry unfolded
+ scrollbar .browse.$name.s -takefocus 0 -command ".browse.$name.e yview"
+ } else {
+ label .browse.$name.l -text "[string toupper $name]:" \
+ -width 15 -anchor e
+ entry .browse.$name.e -width $entrywidth -insertofftime 0
+ bind .browse.$name.e <Up> {tkTabToWindow [tk_focusPrev %W]}
+ bind .browse.$name.e <Down> {tkTabToWindow [tk_focusNext %W]}
+ bind .browse.$name.e <Return> {tkTabToWindow [tk_focusNext %W]}
+ }
+ pack .browse.$name.l -side left
+ pack .browse.$name.e -side left -fill x -expand 1
+ }
+ pack .browse.$name -fill x -expand 1
+
+ # some special cases
+ switch $name {
+ month {
+ # bind right mouse button to string popup menu
+ menu .browse.month.menu
+ foreach i $months {
+ .browse.month.menu add radiobutton -label $i -value #$i \
+ -command "month_menu_proc $i"
+ }
+ bind .browse.$name.e <Button-3> "month_popup %W %X %Y"
+ }
+ crossref {
+ bind .browse.$name.e <Button-3> "crossrefGoto %W"
+ }
+ default {
+ # bind right mouse button to string popup menu
+ bind .browse.$name.e <Button-3> "string_popup %W %X %Y"
+ }
+ }
+
+}
+
+proc crossrefGoto {w} {
+ set newkey [$w get]
+ puts "going to $newkey"
+ browse $newkey
+}
+
+proc fold_button {name} {
+ global ${name}_big ${name}_lines_big
+
+ if [set ${name}_big] {
+ .browse.$name.e config -height 1 -wrap none
+ pack forget .browse.$name.s
+ set ${name}_big 0
+ } else {
+ .browse.$name.e config -height [set ${name}_lines_big] -wrap word
+ pack .browse.$name.s -side right -fill y
+ set ${name}_big 1
+ }
+}
+
+# if cursor is on first line: move to previous window,
+# otherwise the default binding works (move up one line)
+# to be bound to <Key-Up> in a textfield inside a formular
+proc tkTextfieldUp {w} {
+ if {[$w index insert] == [tkTextUpDownLine $w -1]} {
+ tkTabToWindow [tk_focusPrev $w]
+ return break
+ }
+}
+
+# if cursor is on last line: move to next window,
+# otherwise the default binding works (move down one line)
+# to be bound to <Key-Down> in a textfield inside a formular
+proc tkTextfieldDown {w} {
+ if {[$w index insert] == [tkTextUpDownLine $w 1]} {
+ tkTabToWindow [tk_focusNext $w]
+ return break
+ }
+}
+
+
+#invoked on right mouse button click in a month lentry box
+proc month_popup {w x y} {
+ global month_select
+
+puts "<$x $y>"
+ # pop-up the string menu
+ tk_popup .browse.month.menu $x $y
+ tkwait variable month_select
+ $w insert insert $month_select
+}
+
+proc month_menu_proc {which} {
+ global month_select
+
+puts "in month_menu_proc which = $which"
+ set month_select "#$which"
+}
+
+
+#invoked on right mouse button click in a lentry box
+proc string_popup {w x y} {
+ global string_select
+
+ # pop-up the string menu
+ tk_popup .browse.strmenu $x $y
+ tkwait variable string_select
+ $w insert insert $string_select
+
+ # patch by Thomas Henlich henlich@mmers1.mw.tu-dresden.de
+ set string_select ""
+}
+
+proc strmenu_proc {which} {
+ global string_select
+
+ set string_select "#$which"
+}
+
+proc build_stringmenu {} {
+ global strlist
+
+ menu .browse.strmenu
+ foreach i [array names strlist] {
+ .browse.strmenu add command -label $strlist($i) -command "strmenu_proc $i"
+ }
+}
+
+# if global variable curreftype has changed:
+# invoke set_browsebox() and update REFLIST
+proc reftypechange_proc {name el op} {
+ global curreftype curkey REFLIST debug curfields req opt ign
+
+ set curfields [concat $req($curreftype) $opt($curreftype) $ign]
+ .browse.reftype.m config -text $curreftype
+ if {$REFLIST($curkey,reftype) != $curreftype} {
+ set REFLIST($curkey,reftype) $curreftype
+ }
+ set_browsebox $curreftype
+ browse $curkey
+ testoutput 1 "reftype changing to $curreftype"
+}
+
+# as we cannot bind a textvariable to a text (only to an entry)
+# make sure that the big fields displayed in the browse box are updated
+# in the REFLIST.
+# bound to <KeyRelease>, <ButtonRelease>
+proc update_biglentry {fieldname} {
+ global REFLIST curkey bibchanged
+ set fieldtext [.browse.$fieldname.e get "1.0" end-1c]
+ if {[info exists REFLIST($curkey,$fieldname)]} {
+ # if fieldtext prev existed & has changed
+ if {$fieldtext != $REFLIST($curkey,$fieldname)} {
+ set REFLIST($curkey,$fieldname) $fieldtext
+# incr bibchanged # done by trace on REFLIST
+ }
+ } else {
+ # no fieldtext in REFLIST, check if now finite
+ if {$fieldtext != ""} {
+ set REFLIST($curkey,$fieldname) $fieldtext
+# incr bibchanged
+ }
+ }
+}
+
+# if the bib data has changed flag that in the main title bar
+proc REFLISTchange_proc {name el op} {
+ global bibchanged
+
+ incr bibchanged
+ #puts stdout "REFLIST $el changed, $bibchanged"
+}
+
+#
+# if any widget changes the bibliography in any way it increments the global
+# bibchanged. This trace handler then takes the necessary action
+#
+proc bibchange_proc {name el op} {
+ global bibchanged fname
+
+ if {$bibchanged == 0} {
+ wm title . [file tail $fname]
+ } elseif {$bibchanged == 1} {
+ wm title . "[file tail $fname] (mod)"
+ }
+ # clear the search window listbox
+ if {[winfo exists .find]} {
+ .find.list.lb delete 0 end
+ }
+}
+
+#----------------------- SEARCH WINDOW -----------------------------------
+
+# invoked to do the actual search
+proc searchbib {} {
+ global find_field searchstring citelist REFLIST search_ignore_case
+ global find_reftype find_startyear find_endyear
+
+ . config -cursor watch
+
+ # clear out the old entries in the results listbox
+ .find.list.lb delete 0 end
+ .find.m configure -text ""
+
+ set found [do_search $searchstring $find_reftype $find_field $find_startyear $find_endyear $search_ignore_case]
+ foreach f $found {
+ .find.list.lb insert end $f
+ }
+
+ # display how many hits
+ set nfound [llength $found]
+ .find.m configure -text [format "%d match(es) found" $nfound]
+
+ # put selection on first line of list box for next/prev buttons
+ .find.list.lb selection set 0
+ focus .find.list.lb
+
+ . config -cursor ""
+
+}
+
+proc do_search {searchstring find_reftype find_field find_startyear find_endyear search_ignore_case} {
+ global REFLIST citelist debug
+
+ # convert search field to upper case and extract relevant (or all) fields
+ if {$find_field != "All"} {
+ set el $find_field
+ }
+ if {$search_ignore_case} {
+ set search {regexp -nocase}
+ } else {
+ set search {regexp}
+ }
+
+ if {$debug} {
+ puts "startyear: $find_startyear"
+ puts "endyear: $find_endyear"
+ puts "reftype: $find_reftype"
+ puts "fieldtype: $find_field"
+ puts "search : $searchstring"
+ puts "LC test: $search"
+ }
+
+
+ # now we have a list comprising pairs of list elements:
+ # eg. { Corke96a,TITLE "blah blah blah" }
+ set found {}
+
+ foreach ref $citelist {
+ # screen for reference type (which can be a regexp)
+ if {$find_reftype != "All"} {
+ if {[regexp -nocase $find_reftype $REFLIST($ref,reftype) mv] == 0} {
+ continue;
+ }
+ if {$mv != $REFLIST($ref,reftype)} {
+ continue
+ }
+ }
+
+ # screen for year if its specified
+ if {($find_startyear != "") || ($find_endyear != "")} {
+ if {[info exists REFLIST($ref,year)]} {
+ set year $REFLIST($ref,year)
+ if {($find_endyear != "") && ($year > $find_endyear)} {
+ continue
+ }
+ if {($find_startyear != "") && ($year < $find_startyear)} {
+ continue
+ }
+ }
+ }
+
+ # now check particular field
+ if {$find_field == "All"} {
+ set res [array get REFLIST "$ref,*"]
+ foreach {key val} $res {
+ if {[eval $search $searchstring {$val}]} {
+ #found substring
+ lappend found $ref
+ break
+ }
+ }
+ } else {
+ if {![info exists REFLIST($ref,$el)]} {
+ continue
+ }
+ set w $REFLIST($ref,$el)
+ testoutput 1 "$w"
+ if {[eval $search $searchstring {$w}]} {
+ #found substring
+ lappend found $ref
+ }
+ }
+ }
+ return $found
+}
+
+# create the find/search box
+proc create_find {} {
+ global allfields alltypes find_field searchstring search_ignore_case
+ global find_reftype find_startyear find_endyear
+
+ toplevel .find
+ bind .find <Destroy> {
+ destroy .find
+ trace vdelete find_field w find_fieldchange_proc
+ trace vdelete find_reftype w find_reftypechange_proc
+ }
+ bind .find <Unmap> {wm_statechange %W}
+ bind .find <Map> {wm_statechange %W}
+ #explaining Header
+ wm title .find "find entries using regular expressions"
+
+ ######################################################################
+ # create the search entry boxes
+ # search string
+ # year range
+ # reference type
+
+ ######################################################################
+ # search string and ignore case button
+ frame .find.str
+ label .find.str.l -text "Search for:" -width 12 -anchor e -borderwidth 1
+ entry .find.str.e -textvariable searchstring
+ bind .find.str.e <Return> {searchbib}
+ checkbutton .find.str.c -variable search_ignore_case -text "Ignore case"
+ pack .find.str.l -side left
+ pack .find.str.e -fill x -expand 1 -side left
+ pack .find.str.c -expand 1 -side left
+ pack .find.str -fill x -expand 1 -pady 2m
+
+ ######################################################################
+ # create a menu button for search type
+ frame .find.field
+ label .find.field.l -text "Field:" -width 12 -anchor e
+ trace vdelete find_reftype w find_reftypechange_proc;# just in case still traced
+ set find_field All
+
+ menubutton .find.field.mb -menu .find.field.mb.menu -relief raised\
+ -text $find_field
+
+ menu .find.field.mb.menu
+ .find.field.mb.menu add radiobutton -label All -variable find_field -value All
+ foreach i $allfields {
+ .find.field.mb.menu add radiobutton -label $i -variable find_field -value $i
+ }
+ trace variable find_field w find_fieldchange_proc
+
+ pack .find.field.l -side left
+ pack .find.field.mb -fill x
+ pack .find.field -fill x
+
+ ######################################################################
+ # create a menu button for all reference types + All
+ set find_reftype All
+ frame .find.reftype
+ label .find.reftype.l -text "Ref Type:" -width 12 -anchor e
+
+ menubutton .find.reftype.mb -menu .find.reftype.mb.menu -relief raised -text $find_reftype
+ menu .find.reftype.mb.menu
+ .find.reftype.mb.menu add radiobutton -label All -variable find_reftype -value All
+ foreach i $alltypes {
+ .find.reftype.mb.menu add radiobutton -label $i -variable find_reftype -value $i
+ }
+ trace variable find_reftype w find_reftypechange_proc
+ pack .find.reftype.l -side left -fill x
+ pack .find.reftype.mb -fill x -expand 1
+ pack .find.reftype -fill x -expand 1
+
+
+ ######################################################################
+ frame .find.years
+ label .find.years.l -text "Years:" -width 12 -anchor e
+ pack .find.years.l -side left
+ entry .find.years.start -textvariable find_startyear
+ entry .find.years.end -textvariable find_endyear
+ pack .find.years.l .find.years.start .find.years.end -side left -fill x -expand 1
+ pack .find.years -expand 1
+
+ ######################################################################
+ # the search list box
+ frame .find.list
+ listbox .find.list.lb -yscrollcommand ".find.list.sb set" -selectmode extended
+ scrollbar .find.list.sb -command ".find.list.lb yview"
+ pack .find.list.sb -side right -fill y
+ pack .find.list.lb -side left -fill x -expand 1
+ pack .find.list -fill x -expand 1
+
+ bind .find.list.lb <Double-Button-1> { browse [selection_get -first] -focus}
+ bind .find.list.lb <Return> {browse [selection_get -first] -focus}
+
+ # next/prev buttons. Get current selection index and incr/decr.
+ bind .find <Down> {browseitem next .find.list.lb}
+ bind .find <Up> {browseitem previous .find.list.lb}
+ bind .find <Control-a> {allitems .find.list.lb}
+
+ ######################################################################
+ # frame .find.search
+ button .find.search -text "Search" -command searchbib
+ pack .find.search -side left -expand 1 -fill x
+ # pack .find.search -expand 1 -fill x
+
+ # message box
+ message .find.m -justify left -width 5c
+ pack .find.m -side left -fill x -expand 1
+
+ # the quit button
+ button .find.help -text "Help" -command {briefhelp Find}
+ button .find.dismiss -text "Dismiss" -command {destroy .find}
+ pack .find.dismiss .find.help -side right -anchor e -fill x
+}
+
+
+# whenever find_field changes, relabel the menu button
+proc find_fieldchange_proc {name el op} {
+ global find_field
+
+ .find.field.mb config -text $find_field
+}
+
+# whenever find_reftype changes, relabel the menu button
+proc find_reftypechange_proc {name el op} {
+ global find_reftype
+
+ .find.reftype.mb config -text $find_reftype
+}
+
+
+#----------------------- MAIN WINDOW -------------------------------------
+
+#---------- File menu -------------------
+
+# save to a new file
+proc saveasbib {} {
+ global fname
+ set fname [tk_getSaveFile -defaultextension .bib]
+ if {$fname == ""} return
+ testoutput 1 "saveasbib to $fname"
+ savebib
+}
+
+# save selected entries
+proc save_selected {} {
+ global fname
+ set selected_records [selection_get]
+ if {$selected_records == ""} {return}
+ set old_fname $fname
+ set fname [tk_getSaveFile -defaultextension .bib]
+ testoutput 1 "save <$selected_records> to $fname"
+ savebib $selected_records
+ set fname $old_fname
+ wm title . [file tail $fname]
+}
+
+# save bibliografy, if args != "": save only these selected records
+proc savebib {args} {
+ global fname bibchanged citelist backup_max
+
+ testoutput 1 "savebib to $fname"
+
+ if {($fname == "") || ($fname == "<noname>")} {
+ saveasbib
+ return ;# otherwise we would have an infinite recursion
+ }
+
+ if {[file exists $fname] && $backup_max != 0} {
+ # we don't want to overwrite an existing file, make a backup
+ # as does bibcard to a file named bibfile.bib.~VERSION~
+ # on *DOS call the backup *.bi~
+ # if $backup_max > 0, make not more than $backup_max backups
+
+ set s {}
+ # find all existing backups
+ catch {set s [glob $fname.~*]}
+
+ # find the highest to date
+ set max 0
+ foreach i $s {
+ regexp {([1-9]+)~} $i matchall vers
+ if {$vers > $max} {
+ set max $vers
+ }
+ }
+ # ours is the next one in sequence
+ incr max
+ # if backup_max > 0, make not more than $backup_max backups
+ if {$backup_max && $max > $backup_max} {
+ # rotate: discard oldest backup
+ set max 1
+ while {$max < $backup_max} {
+ set prev $max
+ incr max
+ puts $max
+ catch {file rename -force $fname.~$max~ $fname.~$prev~}
+ }
+ }
+ puts $max
+ # rename the bibliography file to the backup name
+ # give a second try if we are an a 8.3 file system (DOS)
+ if [catch {file rename -force $fname $fname.~$max~} info] {
+ testoutput 3 "catch returns <$info>"
+ file rename -force $fname "[file rootname $fname].bi~"
+ }
+ }
+ # write the new data
+ if {$args != ""} {
+ eval writebib $args $fname; # eval: otherwise $args is just one word
+ } else {
+ writebib $citelist $fname
+ }
+ set bibchanged 0
+}
+
+# fetch the selected items: if args == -first -> just the first selection
+proc selection_get {args} {
+
+ set owner [selection own]
+ if {($owner != ".refs.list") && ($owner != ".find.list.lb")} {
+ tk_dialog .d {Error} "Selection must be in main reference or find list window" {} -1 OK
+ return "";
+ }
+ set stat [catch {selection get} str]
+ if {$stat > 0} {
+ tk_dialog .d {No selection} {No bibliography item was selected} {} 0 OK
+ set str ""
+ }
+ # test, whether we want only one item
+ if { [lindex $args 0] == "-first"} {
+ set str [lindex $str 0]
+ }
+ return $str
+}
+
+proc quit {} {
+ check_save
+
+ exit
+}
+
+proc check_save {} {
+ global bibchanged fname debug curkey
+
+ if {$bibchanged > 0} {
+ set r [tk_dialog .save {Bibliography modified} \
+ "Bibliography $fname has been modified since last time it was saved.
+ Do you want to save it before exiting the application?" \
+ warning 0 {Save File} {Discard Changes}]
+ if {$debug} {
+ puts "check_save returns $r"
+ }
+ switch $r {
+ 0 {savebib}
+ 1 {return}
+ }
+ }
+}
+
+
+proc openbib {} {
+ global fname
+
+ # first close the current bib
+ closebib
+
+ set types {
+ {{Bib Files} {.bib} }
+ {{All Files} * }
+ }
+ set fname [tk_getOpenFile -filetypes $types]
+
+ if {$fname != ""} {
+ # Open the file ...
+ bibparse $fname
+
+ wm title . [file tail $fname]
+ }
+}
+
+proc mergebib {} {
+ global fname
+
+ set types {
+ {{Bib Files} {.bib} }
+ {{All Files} * }
+ }
+ set fname [tk_getOpenFile -filetypes $types]
+
+ if {$fname != ""} {
+ # Open the file ...
+ bibparse $fname
+ }
+}
+
+proc closebib {} {
+
+ global REFLIST citelist fname bibchanged
+
+ # if the current bib has changed, ask whether write it to disk
+ check_save
+
+ # clear the internal database
+ if {[info exists REFLIST]} {
+ unset REFLIST
+ }
+ set citelist {}
+ .refs.list delete 0 end
+ set fname "<noname>"
+ set bibchanged 0
+
+ wm title . " "
+
+ # close the browse box
+ if {[winfo exists .browse]} {
+ destroy .browse
+ }
+
+}
+
+#---------- Edit menu -------------------
+
+#GM, 30.1. a new function edit_item with subfunctions for
+# new, duplicate, delete, rename, crossref
+proc edit_item {what} {
+ global citelist REFLIST bibchanged reftype_default delete_confirm
+
+ if {$what != "delete"} {
+ if {$what != "new"} {
+ # not new or delete, is duplicate, rename, crossref
+ # get the citekey for current entry
+ set oldcitekey [selection_get -first]
+ if {$oldcitekey == ""} {return}
+ }
+ # prompt for new cite key
+ set newcitekey [getnewcitekey]
+ if {$newcitekey == ""} {return}
+ } else {
+ # for deletion: get the citekey for all selected entries
+ set oldcitekey [selection_get]
+ if {$delete_confirm} {
+ if [tk_dialog .d {Warning} "Delete:\n$oldcitekey?" {} 0 "Yes" "No"] {
+ return
+ }
+ }
+ destroy .browse
+ }
+
+ if {$what == "new"} {
+ # set to default reftype
+ set REFLIST($newcitekey,reftype) $reftype_default
+ }
+
+ if {$what == "crossref"} {
+ set REFLIST($newcitekey,reftype) $REFLIST($oldcitekey,reftype)
+ set REFLIST($newcitekey,crossref) $oldcitekey
+ }
+
+ if {$what == "duplicate" || $what == "rename"} {
+ # copy fields from old to new
+ testoutput 1 "copying $oldcitekey to $newcitekey"
+ foreach el [array names REFLIST $oldcitekey,*] {
+ regexp {,([a-z]+)} $el matchall fieldname
+ testoutput 2 "<$fieldname> = <$REFLIST($oldcitekey,$fieldname)>"
+ set REFLIST($newcitekey,$fieldname) $REFLIST($oldcitekey,$fieldname)
+ }
+ }
+
+ if {$what == "rename" || $what == "delete"} {
+ foreach ditem $oldcitekey {
+ testoutput 1 "deleting item $ditem"
+ # unset the old array elements
+ foreach el [array names REFLIST $oldcitekey,*] {
+ regexp {,([a-z]+)} $el matchall fieldname
+ unset REFLIST($oldcitekey,$fieldname)
+ }
+ # now take them out of the citelist
+ set i [lsearch -exact $citelist $ditem]
+ set citelist [lreplace $citelist $i $i]
+ # update the listbox in the main window
+ update_citelistbox
+ }
+ }
+ # note that we've updated the bib
+ incr bibchanged
+
+ if {$what != "delete"} {
+ append_to_citelist $newcitekey
+ .refs.list selection clear 0 end
+ .refs.list selection set end
+ browse $newcitekey -focus
+ }
+}
+# end of edit_item {what}
+
+# push the currently selected bib entry to LyX
+proc pushitem {} {
+ global REFLIST citelist bibchanged cite_grouping
+
+ # get the citekey for current entry
+ set items [selection_get]
+ if {$items == ""} {
+ tk_dialog .d {No selection} {No bibliography item was selected} {} -1 OK
+ return
+ }
+
+ if {$cite_grouping} {
+ LyX_insertcite [join $items ,]
+ } else {
+ foreach item $items {
+ LyX_insertcite $item
+ }
+ }
+}
+
+# navigate, show (which = first|previous|next|last) item in browse box
+proc browseitem {which widget} {
+ set curline [$widget curselection]
+ set lastline [expr [$widget index end] -1]
+ # clear all selections (may be more than one)
+ $widget selection clear 0 end
+ # deal with 0 or multiple
+ if {[llength $curline] == 0} {set curline 0}
+ if {[llength $curline] > 1} {set curline [lindex $curline 0]}
+ switch $which {
+ first {set curline 0}
+ previous {if {$curline > 0} {incr curline -1}}
+ next {if {$curline < $lastline} {incr curline}}
+ last {set curline $lastline}
+ }
+ $widget selection set $curline
+ $widget see $curline
+ browse [selection_get]
+}
+
+# select all items
+proc allitems {widget} {
+ $widget selection set 0 end
+}
+
+# bring up the find/search window which then does its own thing
+proc finditem {} {
+ # create search window if need be
+ if {[winfo exists .find] == 0} {
+ create_find
+ }
+ focus .find.str.e
+}
+
+# selection handler for PRIMARY requests
+#
+# assume the string is in writebib_str, return the amount requested in
+# the selection request.
+proc selection_handler {offs maxb} {
+ global writebib_str debug
+
+ if {$debug} {
+ puts "selection_hander invoked: $offs $maxb"
+ }
+ set s [string range $writebib_str $offs [expr $offs+$maxb-1]]
+ #puts "s: $s"
+ return $s
+}
+
+proc selection_lost {} {
+ #puts "selection lost"
+}
+
+
+proc copyitem_to_paste {} {
+ # format the item into a string
+ set cl [selection_get]
+ writebib2str $cl
+ # put the string to the PRIMARY selection
+ # grab the PRIMARY selection
+ selection own -command selection_lost -selection PRIMARY .
+ # create a handler for PRIMARY selection requests
+ selection handle -selection PRIMARY -type STRING . selection_handler
+}
+
+# paste the current paste buffer into the bib
+proc pasteitem {} {
+ global bibchanged
+
+ # get the paste buffer
+ set s [selection get -selection PRIMARY]
+
+ # parse it
+ if {[catch {set dup [bibparse_s $s]}] != 0} {
+ tk_dialog .d {Error} "Syntax error with pasted data\nPerhaps not BibTeX data?\nIgnoring it." {} -1 OK
+ } else {
+ # put it in the bib
+ set REFLIST_update 0
+ update_citelistbox
+ puts "$dup duplicates loaded"
+
+ incr bibchanged
+ }
+}
+
+proc not_implemented {func} {
+ tk_dialog .d {Unimplemented} "Feature $func is not yet implmented" {} -1 OK
+}
+
+# prompt for a new cite key
+proc getnewcitekey {} {
+ global citelist newcitekey
+ set answer 1; # tkdialog returns 1 for "Retry"
+
+ # popup a box and get the new cite key
+ toplevel .newcitekey
+ label .newcitekey.l -text "New cite key:"
+ entry .newcitekey.e
+ pack .newcitekey.l .newcitekey.e -side left
+
+ # grab focus
+ focus .newcitekey.e
+
+ # wait for <Return> at end of line
+ bind .newcitekey <Return> {set newcitekey [.newcitekey.e get]}
+
+ while {$answer } {
+ tkwait variable newcitekey
+ # check if it exists, if so: browse it and give a warning
+ if {[lsearch $citelist $newcitekey] < 0} {
+ break
+ } else {
+ testoutput 1 "citekey exists"
+ set answer [tk_dialog .d {Warning} \
+ "cite key already exists" {} 1 "Abort" "Retry" "Browse"]
+ testoutput 3 "tkdialog returns $answer"
+ if {$answer == 0} {set newcitekey ""}
+ if {$answer == 2} {browse $newcitekey; set newcitekey ""; break}
+ }
+ }
+ # clean up
+ destroy .newcitekey
+
+ return $newcitekey
+}
+
+# put into a message window, so we can compare two entries or
+# copy and paste stuff to a different entry, in the long run the possibility
+# to have two browse windows might be better
+proc displayitem {} {
+
+ global REFLIST citelist
+
+ # format entry for display
+ set citekey [selection_get]
+ append itemstring "$REFLIST($citekey,reftype): $citekey\n"
+ foreach i [array names REFLIST $citekey,*] {
+ if {$REFLIST($i) != ""} {
+ set j [string first "," $i]
+ incr j
+ append itemstring "[string range $i $j end] = $REFLIST($i)\n"
+ }
+ }
+ # set up a window
+ toplevel .displayitem
+ frame .displayitem.f
+ text .displayitem.f.t -width 80 -height 30 -wrap word \
+ -yscrollcommand ".displayitem.f.scroll set"
+ scrollbar .displayitem.f.scroll -command ".displayitem.f.t yview"
+ button .displayitem.b -text "OK" -command "destroy .displayitem"
+ pack .displayitem.f.t -side left -fill x -expand 1
+ pack .displayitem.f.scroll -side right -fill y -expand 1
+ pack .displayitem.f
+ pack .displayitem.b -side bottom -anchor s
+
+ bind .displayitem q {destroy .displayitem}
+ bind .displayitem <Return> {destroy .displayitem}
+ wm title .displayitem "Show item"
+ # insert itemtext
+
+ .displayitem.f.t configure -state normal
+ .displayitem.f.t delete 0.0 end
+ .displayitem.f.t insert end $itemstring
+ .displayitem.f.t configure -state disabled
+
+}
+
+# for diagnostics, list current fields to stdout (bound to key 's')
+proc showitem {} {
+ global REFLIST citelist
+
+ puts ""
+ set oldcitekey [selection_get]
+ foreach i [array names REFLIST $oldcitekey,*] {
+ if {$REFLIST($i) != ""} {
+ puts stdout "($i) = $REFLIST($i)"
+ }
+ }
+}
+
+proc sortitems {} {
+ global citelist
+
+ set citelist [lsort $citelist]
+
+ update_citelistbox
+}
+
+# 18/5/2000 John Fulton <John.Fulton@iname.com>
+proc printitem {} {
+# memory of last print command entered
+ global global_print_cmd
+
+
+ # local print command
+ set printcmd ""
+
+ # popup a box and get a different print command
+ toplevel .printcmd
+ label .printcmd.l -text "Print command:"
+ entry .printcmd.e -textvariable global_print_cmd
+
+ button .printcmd.print -text "Print" -command {
+ # get the item to print
+ set s [selection get -selection PRIMARY]
+ puts $s
+
+ # print the entry
+ writebib $s $global_print_cmd
+
+ # clean up
+ destroy .printcmd
+ }
+ button .printcmd.cancel -text "Cancel" -command {
+ # clean up
+ destroy .printcmd
+ }
+ pack .printcmd.l -side left
+ pack .printcmd.e -side left
+ pack .printcmd.print -ipadx 2 -side left
+ pack .printcmd.cancel -side left
+
+ # grab focus
+ set oldFocus [focus]
+ focus .printcmd.e
+
+ # wait for <Return> at end of line
+ tkwait window .printcmd
+ focus $oldFocus
+}
+
+
+#---------- Help menu -------------------
+proc abouttkbibtex {} {
+ global release
+ toplevel .about
+
+ set aboutstr "tkbibtex
+
+ A portable browser/editor for BibTeX format bibliographies.
+
+ by Peter Corke 1/97 (pic@cat.csiro.au)
+ major modifications by G. Milde (g.milde@physik.tu-dresden.de)
+ Release $release"
+ message .about.m -width 40c -text $aboutstr
+
+ button .about.www -text "Goto home page" -command {
+ exec netscape -remote openURL(http://www.cat.csiro.au/dmt/programs/autom/pic/tkbibtex.html)
+ }
+
+ button .about.b -text "OK" -command "destroy .about"
+ pack .about.m .about.www .about.b
+ wm title .about "About tkbibtex"
+}
+
+proc briefhelp {topic} {
+ global usage
+
+ set helptopics {Usage Keys Menus Browse Find}
+
+ set helpstr(Usage) $usage
+
+ set helpstr(Keys) \
+"Key bindings in main window:
+
+ Selection:
+ <Mouseclick> select entry
+ <Shift-Mouseclick> select a block of entries
+ <Crtl-Mouseclick> select multiple entries
+ <Ctrl-A> Select all Items
+
+ On the selected entry:
+ <Enter> Browse entry (show in browse window for editing)
+ <DoubleMouseclick> Browse entry
+ <Up> Browse next entry
+ <Down> Browse previous entry
+
+ u Duplicate entry (Edit|Duplicate-entry)
+ s Show entry (no editing)
+ c Push citation to LyX
+ <Del> Delete entry (Edit|Delete)
+ ^C Copy item to paste buffer (Edit|Copy)
+ ^V Paste from buffer (Edit|Paste)
+
+ Misc.:
+ f Find entry (Edit|Find)
+ n Create new bib entry (Edit|New-entry)
+ q Quit
+
+Keybindings in Browse window:
+
+ <Tab> or <Down> Next field
+ <Enter> Next field (in one-line fields)
+ <Shift Tab> or <Up> Previous field
+ <Alt> + Underlined invoces Menus and Buttons"
+
+
+ set helpstr(Menus) "Tkbibtex Menus
+
+File menu:
+ Open Open a file via browser window
+ Merge Merge a file via browser window (records with same
+ Citekey will overwrite those already loaded)
+ SaveAs... Save data to a different file
+ Save Save data
+ Save Selected Save selected entries
+ Close Close the file (save if needed)
+ Exit Exit program (save if needed)
+
+ for Close and Exit a prompt box will be issued if the bibliography
+ has been modified but not yet saved. When the file is written the
+ previous version is saved with a unique appended number.
+
+Edit menu:
+ New entry Create a new BibTeX entry
+ Duplicate entry Duplicate the current selection but assign new citekey
+ Crossref entry Create a new citation with cross reference to the current selection
+ Find entry Invoke the search window
+ Delete entry Delete the selected entries from the database
+ Copy to buffer Copy selected entries to PRIMARY cut buffer, can be
+ pasted into other applications.
+ Insert to LyX Push citation to Lyx
+ Show entry Show entry in a message window (no editing)
+ Sort Sort keys alphabetically
+ Print Print bib items"
+
+ set helpstr(Find) "Search/find window:
+
+ * Find all entries containing the searchstring in specified field
+ * Seachstring is a regular expression: .*?()[]\ have special meanings
+ * Either start year or end year or both may be specified.
+ * The entries found are displayed in a list which can be browsed by the
+ same key bindings as in the main window:
+
+ Selection:
+ <Mouseclick> select entry
+ <Shift-Mouseclick> select a block of entries
+ <Crtl-Mouseclick> select multiple entries
+ <Ctrl-A> Select all Items
+
+ On the selected entry:
+ <Enter> Browse entry (show in browse window for editing)
+ <Double-Mouseclick> Browse entry
+ <Up> Browse next entry
+ <Down> Browse previous entry"
+
+
+ set helpstr(Browse) "Browse box:
+
+* The browse box shows all fields for the specified entry,
+ allowing for editing
+
+ ! BibTeX distinguishes between
+ - normal fieldtext (enclosed in brackets or double quotes),
+ - numbers (may be enclosed or not) and
+ - strings (words beginning with a character, not enclosed).
+
+ -> Normal text entries will become enclosed in brackets.
+ -> If an entry shall be written to the file as is, precede it with
+ a hash (e.g. month strings -> #jan - #dec).
+
+* The reftype button brings up a menu of reference types to choose from
+
+* Black lines seperate the three different types of field BibTeX knows
+ about:
+ Required fields (have to be present to get a well formed citation)
+ Optional fields (not necessary but show up in the citation if present)
+ Additional fields (ignored by the standard BibTeX styles
+ but may contain usefull information)
+
+* Some fields are foldable multiple line entries that unfold if the label
+ button is clicked on.
+
+* Right clicking in an entry box brings up either:
+ * a menu of standard monthnames (if a month entry)
+ * jump to the citation that is cross-referenced (if a crossref entry)
+ * a menu of string items (if there are any defined) which will
+ be inserted.
+
+* Keybindings:
+ <Tab> or <Down> Next field
+ <Enter> Next field (in one-line fields)
+ <Shift Tab> or <Up> Previous field
+ <Alt> + Underlined invoces Buttons"
+
+
+ # set up the help window
+ # (show help in a text widget, so we can incorporate hypertext tags later)
+ if {![winfo exists .briefhelp]} {
+ toplevel .briefhelp
+
+ frame .briefhelp.m
+ label .briefhelp.m.l -text "Topics:"
+ pack .briefhelp.m
+ pack .briefhelp.m.l -side left
+ foreach top $helptopics {
+ button .briefhelp.m.[string tolower $top] -text $top -underline 0 \
+ -command "briefhelp $top"
+ pack .briefhelp.m.[string tolower $top] -side left
+
+ bind .briefhelp <Alt-Key-[string index [string tolower $top] 0]> \
+ "briefhelp $top; break"
+ }
+ #.briefhelp configure -menu .briefhelp.m does not work as desired
+
+
+ frame .briefhelp.f
+ text .briefhelp.f.t -width 80 -height 20 \
+ -yscrollcommand ".briefhelp.f.scroll set"
+ scrollbar .briefhelp.f.scroll -command ".briefhelp.f.t yview"
+ button .briefhelp.b -text "OK" -command "destroy .briefhelp"
+ pack .briefhelp.f.t -side left -fill x -expand 1
+ pack .briefhelp.f.scroll -side right -fill y -expand 1
+ pack .briefhelp.f
+ pack .briefhelp.b -side bottom -anchor s
+
+ bind .briefhelp q {destroy .briefhelp}
+ bind .briefhelp <Escape> {destroy .briefhelp}
+ wm title .briefhelp "Tkbibtex Help"
+ } else {
+ foreach top $helptopics {
+ .briefhelp.m.[string tolower $top] configure -state normal
+ }
+ }
+ # make the topics button active
+ .briefhelp.m.[string tolower $topic] configure -state active
+
+ # insert the topic
+
+ .briefhelp.f.t configure -state normal
+ .briefhelp.f.t delete 0.0 end
+ .briefhelp.f.t insert end $helpstr($topic)
+ .briefhelp.f.t configure -state disabled
+
+}
+
+# handle changes to iconify/deiconify state, make all windows adopt the same
+# state.
+proc wm_statechange {w} {
+ global window_state
+
+ # check if window state has changed
+ set toplevel [winfo toplevel $w]
+ if {[wm state $toplevel] != $window_state} {
+ #puts "window state changed $window_state"
+ set window_state [wm state .]
+ if {[wm state $toplevel] == "normal"} {
+ # unminimize all windows
+ wm deiconify .
+ if {[winfo exists .find]} {
+ wm deiconify .find
+ }
+ if {[winfo exists .browse]} {
+ wm deiconify .browse
+ }
+ } elseif {[wm state $toplevel] == "iconic"} {
+ # minimize all windows
+ wm iconify .
+ if {[winfo exists .find]} {
+ wm iconify .find
+ }
+ if {[winfo exists .browse]} {
+ wm iconify .browse
+ }
+ }
+ }
+}
+#---------- create the main window ------------------
+proc create_main {} {
+ global alltypes refs_height refs_width
+
+
+# # create the menu bar
+ menu .mbar -tearoff 0
+ .mbar add cascade -label "File" -menu .mbar.file -underline 0
+ .mbar add cascade -label "Edit" -menu .mbar.edit -underline 0
+ .mbar add cascade -label "Help" -menu .mbar.help -underline 0
+
+# declare the menu to the main window
+ . configure -menu .mbar
+
+ # create the File menu
+ menu .mbar.file
+# .mbar.file add command -label "New" -underline 0 -command closebib
+# this might beocme usefull if we can open multiple files...
+ .mbar.file add command -label "Open" -underline 0 \
+ -accelerator F3 -command openbib
+ .mbar.file add command -label "Merge" -underline 0 -command mergebib
+ .mbar.file add command -label "SaveAs" -underline 4 \
+ -accelerator Shift-F2 -command saveasbib
+ .mbar.file add command -label "Save" -underline 0 \
+ -accelerator "^S / F2" -command savebib
+ .mbar.file add command -label "Save Selected" -underline 7 \
+ -command {save_selected}
+ .mbar.file add command -label "Print Selected ..." -underline 0 \
+ -accelerator P -command printitem
+ .mbar.file add command -label "Close" -underline 0 \
+ -accelerator Shift-F3 -command closebib
+ .mbar.file add command -label "Exit" -underline 0 \
+ -accelerator ^Q -command quit
+
+ # create the edit menu
+ menu .mbar.edit
+ .mbar.edit add command -label "New entry" -underline 0 \
+ -accelerator N -command {edit_item new}
+ .mbar.edit add command -label "Duplicate entry" -underline 1 \
+ -accelerator U -command {edit_item duplicate}
+ .mbar.edit add command -label "Cross-reference entry" \
+ -accelerator X -command {edit_item crossref}
+ .mbar.edit add command -label "Find entry ..." -underline 0 \
+ -accelerator F -command finditem
+ .mbar.edit add command -label "Rename entry" -underline 0 \
+ -accelerator R -command {edit_item rename}
+ .mbar.edit add command -label "Delete entry" -underline 0 \
+ -accelerator <Del> -command {edit_item delete}
+ .mbar.edit add command -label "Push to LyX" -underline 0 \
+ -accelerator c -command pushitem
+ .mbar.edit add command -label "Copy to buffer" -underline 0 \
+ -accelerator ^C -command copyitem_to_paste
+ .mbar.edit add command -label "Paste buffer" -underline 0 \
+ -accelerator ^V -command pasteitem
+ # for diagnostics, list current fields
+ .mbar.edit add command -label "Show entry" -underline 0 \
+ -accelerator S -command displayitem
+ .mbar.edit add command -label "Sort" -underline 1 -command sortitems
+
+ # create the help menu
+ menu .mbar.help
+ .mbar.help add command -label "Brief help" -underline 0 \
+ -accelerator <F1> -command {briefhelp Keys}
+ .mbar.help add command -label "About tkbibtex" -underline 0 \
+ -command abouttkbibtex
+
+ menubutton .new -relief raised -text "New" -menu .new.menu
+ menu .mbar.edit.new
+ foreach i $alltypes {
+ .mbar.edit.new add command -label $i -command "new_item $i"
+ }
+
+ # now the message window
+ message .m -relief groove -width 30c -justify left -anchor w
+ pack .m -fill x -expand 1
+
+ # then the scrolling list of citations
+ frame .refs
+ listbox .refs.list -height $refs_height -width $refs_width\
+ -yscrollcommand ".refs.scroll set" -selectmode extended
+ scrollbar .refs.scroll -command ".refs.list yview"
+
+ pack .refs.list -side left -fill x -fill both -expand true
+ pack .refs.scroll -side right -fill y
+ pack .refs -side bottom -expand true -fill both
+
+ # double click on the cite key to display it in browse box
+ bind .refs.list <Double-Button-1> {browse [selection_get -first] -focus}
+ bind . <Return> {browse [selection_get -first] -focus}
+ bind . <Down> {browseitem next .refs.list}
+ bind . <Up> {browseitem previous .refs.list}
+
+ # some helpful keyboard bindings
+ bind Button <Key-Return> "tkButtonInvoke %W"; # Enter invokes Buttons
+ bind . c {pushitem}
+ bind . u {edit_item duplicate}
+ bind . f {finditem}
+ bind . <Alt-f> { }; # dummy entry to enable Menu shortcut
+ bind . n {edit_item new}
+ bind . p {printitem}
+ bind . <Control-q> {quit}
+ bind . q {quit}
+ bind . r {edit_item rename}
+ bind . s {displayitem}
+ bind . <Control-c> copyitem_to_paste
+# bind . <Control-Key-Insert> copyitem_to_paste
+# this binding does prevent copyitem_to_paste from working! (Why?)
+ bind . <Control-v> pasteitem
+# bind . <Shift-Key-Insert> pasteitem
+# this binding does prevent pasteitem from working! (Why?)
+ bind . <Control-a> {allitems .refs.list}
+ bind . <Delete> {edit_item delete}
+ bind . <Unmap> {wm_statechange %W}
+ bind . <Map> {wm_statechange %W}
+ wm protocol . WM_DELETE_WINDOW quit
+ wm protocol . WM_SAVE_YOURSELF quit
+}
+
+# show one line status messages in the main window
+proc showmsg {m} {
+ global interactive_mode
+
+ if {$interactive_mode} {
+ .m config -text $m
+ update idletasks
+ }
+}
+
+#---------------------- LyX support -----------------------
+
+# Interface to Lyx based on development/LyXserver/sampleclient.tcl
+# =========================================================================
+# File: sampleclient.tcl, chb, Sun 05.11.1995 (19:24)
+# sampleclient.tcl,v 1.1.1.1 1996/08/19 14:39:38 larsbj Exp
+# This file contains examples for communicating to LyX via the
+# LyXserver interface. It contains a panel of shortcuts to
+# demonstrate how users can define their own macros. It also shows
+# how new commands can be built into LyX using the 'notify' mechanism.
+# =========================================================================
+
+
+# --- 1. check cmdargs (pipename) -----------------------------------------
+
+set LyXChan -1
+
+proc LyX_connect {} {
+ global LyXpipe LyXChan
+
+ set inpipe $LyXpipe.in
+
+ if { [file exists $inpipe] } {
+ if { "[file type $inpipe]" != "fifo" } {
+ tk_dialog .d {LyX connection} "LyXpipe <$inpipe> is not a pipe!" {} -1 OK
+ }
+ puts "Connecting to LyX via $LyXpipe.in"
+ set LyXChan [open $inpipe {WRONLY NONBLOCK}]
+puts "<LyxChan $LyXChan>"
+ } else {
+ tk_dialog .d {LyX connection} "No LyXpipe ($LyXpipe.*) exists\nCheck your .LyXrc file" {} -1 OK
+ }
+
+}
+
+# ---
+# Format for communication:
+#
+# client->LyX: "LYXCMD:<client>:<command>:<argument>" >$inpipe
+# LyX->client (answer): "INFO:<client>:<command>:<data>" <$outpipe
+# LyX->client (notify): "NOTIFY:<key-sequence>" <$outpipe
+# (notifies are asynchroneous and are handled by 'outputhandler'
+# above)
+# ---
+
+proc LyX_insertcite {cite} {
+ global LyXChan
+
+ # open the pipe each time, in case LyX crashes...
+ LyX_connect
+ puts "sending citation $cite to LyX"
+ puts $LyXChan "LYXCMD:sampleclient:citation-insert:$cite"
+ close $LyXChan
+}
+
+#---------------------- Auxilliary functions -----------------------------
+
+# Put a text on stdout, if the global var debug is >= debug_level
+proc testoutput {debug_level text} {
+ global debug
+ if {$debug >= $debug_level} {puts stdout $text}
+}
+
+proc show_usage {} {
+ global usage
+ puts stdout $usage
+ exit
+}
+
+
+#------------------------------ MAIN BODY ----------------------------
+
+#warn about wrong version
+if {[info tclversion] < 8} {
+ puts stdout "tkbibtex needs Tcl/Tk version 8.0 or later"
+}
+
+# handle command line switches
+while {[llength $argv] > 0} {
+ if {$debug} {
+ puts [lindex $argv 0]
+ }
+ switch -regexp -- [lindex $argv 0] {
+ ^-debug { set debug [lindex $argv 1]; \
+ set argv [lrange $argv 2 end] ; \
+ }
+ ^-ys { set arg_ys [lindex $argv 1]; \
+ set argv [lrange $argv 2 end]; \
+ incr command_line_mode
+ }
+ ^-ye { set arg_ye [lindex $argv 1]; \
+ set argv [lrange $argv 2 end]; \
+ incr command_line_mode
+ }
+ ^-last { set t [clock seconds]; \
+ set arg_ye [clock format $t -format %Y]; \
+ set arg_ys [expr $arg_ye-[lindex $argv 1]]; \
+ set argv [lrange $argv 2 end]; \
+ incr command_line_mode
+ }
+ ^-type { set arg_reftype [lindex $argv 1]; \
+ set argv [lrange $argv 2 end]; \
+ incr command_line_mode
+ }
+ ^-field { set arg_field [lindex $argv 1]; \
+ set argv [lrange $argv 2 end]; \
+ incr command_line_mode
+ }
+ ^-search { set arg_search [lindex $argv 1]; \
+ set argv [lrange $argv 2 end]; \
+ incr command_line_mode
+ }
+ ^-exact -
+ ^-case { set arg_ignorecase 0; \
+ set argv [lrange $argv 1 end]; \
+ incr command_line_mode
+ }
+ ^-count { set arg_count 1; \
+ set argv [lrange $argv 1 end]; \
+ incr command_line_mode
+ }
+ ^-l -
+ ^-list { set arg_list 1; \
+ set argv [lrange $argv 1 end]; \
+ incr command_line_mode
+ }
+
+ ^-lyx { set LyXpipe [lindex $argv 1]; \
+ set argv [lrange $argv 2 end]; \
+ }
+ ^-help -
+ ^-.* { show_usage}
+ default {break}
+ }
+}
+
+
+if {$command_line_mode} {
+ # COMMAND LINE MODE, NO DISPLAY
+ set interactive_mode false
+
+ # read string file if it exists
+ set strfname [find_on_path $strfile]
+ if {$strfname != {}} {
+ bibparse_f $strfname
+ }
+
+# load the specified bibtex files if they exist
+ foreach f $argv {
+ set fp [find_on_path $f]
+ if {$fp != {}} {
+ bibparse_f $fp
+ }
+ }
+
+ set found [do_search $arg_search $arg_reftype $arg_field $arg_ys \
+ $arg_ye $arg_ignorecase]
+ if {$arg_count} {
+ puts stdout [llength $found]
+ } else {
+ puts stdout [writebib2str $found]
+ }
+ exit 0
+} else {
+ # INTERACTIVE MODE
+
+ set interactive_mode true
+ # create the main window
+ create_main
+
+ update idletasks
+
+ # read string file if it exists
+ set strfname [find_on_path $strfile]
+ if {$strfname != {}} {
+ bibparse $strfname
+ }
+
+ # load the specified bibtex files if they exist
+ foreach f $argv {
+ set fname $f
+ set fp [find_on_path $f]
+ if {$fp != {}} {
+ bibparse_f $fp
+ }
+ update_citelistbox
+ }
+
+ # unset global filename if more than one input file
+ if {[llength $argv] > 1} {
+ set fname "<noname>"
+ }
+
+ wm title . $fname
+
+ showmsg ""
+}
diff --git a/biblio/bibtex/utils/tkbibtex/tkbibtex.1 b/biblio/bibtex/utils/tkbibtex/tkbibtex.1
new file mode 100644
index 0000000000..f1c53bbefd
--- /dev/null
+++ b/biblio/bibtex/utils/tkbibtex/tkbibtex.1
@@ -0,0 +1,151 @@
+.TH TKBIBTEX 1 "17 March 2000"
+.UC 4
+.SH NAME
+tkbibtex \- portable BibTeX editor and browser
+.SH SYNOPSIS
+.br
+.I tkbibtex
+[bibfile]
+.SH DESCRIPTION
+.I tkbibtex
+is a portable editor and browser for BibTeX format file. It is written in
+Tcl/Tk and runs under Unix or Windows based wish interpreters.
+It is inspired by, or modeled on, an old OpenWindows application called bibcard.
+It also has a non-GUI command line mode which is useful for generating
+publication lists.
+.P
+.I tkbibtex
+supports 3 different windows. The first is a scrolling list of cite keys
+which has a toolbar with File, Edit and Help menus.
+The bibtex file can be given on the command line (it will be searched for along
+the path given by the BIBPATH envariable), or opened via the File/Open
+command.
+The current bib file name is shown in the title bar, as well as the modification
+status.
+Double clicking on an entry brings up the selected citation in the
+browser window. The up and down arrow keys can also be used to move up and down the citation list.
+.P
+The browser window shows all the fields associated with the selected entry
+and its title bar shows the citation key.
+The fields shown depend on the citation type which can be changed by the
+reference type menu button.
+Required fields have a bold label while optional fields have an italic label.
+String values are preceeded by a hash.
+.P
+The search window provides a wide variety of searching modes. The search
+can cover all fields or be limited to a specific field.
+The search can be further
+constrained by reference type and year range by specifying either or both
+a starting and ending (inclusive) year.
+A list of matching cite keys is listed in this window, and once again
+double clicking or up/down arrow keys can be used to browse this list using
+the browser window.
+
+.SH Features
+The following are features I think are particularly cute.
+.P
+* In the browser window you can right-click in a field and it will bring up
+a menu of string constants. I normally define strings for journal names.
+The name of the bibtex string file that is used to build the menu can
+be set in the
+.I .tkbibtexrc
+file (eg. set strfile strings.bib). It is searched for along the BIBPATH.
+.P
+* The browser window has an `Annote' button which expands the annotation
+window. This scrolling text entry box allows for an arbitrary amount of
+freeform text to be stored
+in the bibtex file in the ANNOTE field. This is useful for storing commentary
+or reviews of papers read. This material does not appear in the bibliography
+with any of the normal reference styles.
+.P
+* Multiple selection is enabled in the main and search window citation lists.
+.P
+* Edit/Copy copies the actual
+bibtex source of selected citations to the clipboard.
+.P
+* Edit/Paste pastes
+bibtex source into the bibliography.
+.P
+* Single-key shortcuts exist for most menu functions, see Help for details.
+.P
+* Every time tkbibtex writes an output file it copies the existing bib file to
+a unique name. These build up over time and should be periodically culled.
+
+.SH NON-GUI MODE
+tkbibtex
+also has a command line mode
+.P
+.I tkbibtex
+[switches] [bibfile]
+.P
+which can be used to select entries from the
+.I bibfile
+according to various filtering options.
+.TP 5
+.I \-type string
+apply search only to refernces of the specified type, ie.
+.I article
+or
+.I inproceedings.
+This can also be a regexp, eg.
+.I article!inproceedings
+.TP 5
+.I \-field string
+apply search only to the specified field.
+.TP 5
+.I \-search string
+filter out all citations that match this string
+.TP 5
+.I \-ys year
+filter out articles with year greater than or equal to that specified (default 0)
+.TP 5
+.I \-ye year
+filter out articles with year less than or equal to that specified (default 9999)
+.TP 5
+.I \-last nyears
+filter out articles whose year falls within the last
+.I nyears
+.TP 5
+.I \-exact
+make all searches case sensitive
+.TP 5
+.I \-count
+instead of outputting BibTeX entries to stdout, just count the matching
+references.
+.TP 5
+.I \-list
+instead of outputting BibTeX entries to stdout, provide a one
+line summary of the form "key (type): title".
+
+.P
+For example, to count the number of journal papers jointly authored
+with Foo before 1997, we could use the command line
+.P
+.NF
+% tkbibtex -count -ye 1997 -field author -search Foo publist.bib
+.FI
+
+
+.SH FILES
+At startup a file called
+.I .tkbibtexrc
+in the user's home directory is sourced if it exists.
+
+.SH ENVIRONMENT
+.I BIBPATH
+is a colon separated list of directories which will be searched for named
+bib files.
+
+.SH SEE\ ALSO
+bibtex, latex, tcl, tk
+
+.SH BUGS
+The parser for the bibtex file format is simple minded and expects each
+record to occupy a single line, ending with a "}" or "},". The last line
+of each group must be a close brace on a line by itself.
+This means that old, existing, bib files may need some manual editing
+before they will work with tkbibtex.
+.SH AUTHOR
+P.I. Corke
+.br
+pic@cat.csiro.au
diff --git a/biblio/bibtex/utils/xbibfile/INSTALL b/biblio/bibtex/utils/xbibfile/INSTALL
new file mode 100644
index 0000000000..686510de39
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/INSTALL
@@ -0,0 +1,11 @@
+Oh, maybe a few words about installation are in order.
+
+To compile and link the 'xbibfile' executable, you will need a C compiler and
+libraries, together with a GTK version 2.0 or greater graphics library.
+Basically one executable will be generated that can be stored where ever you
+desire. Because there are a number of sources files involved, a 'Makefile' is
+provided. Thus on a Unix or Linux system:
+ make
+ ./xbibfile &
+and you are away.
+
diff --git a/biblio/bibtex/utils/xbibfile/Makefile b/biblio/bibtex/utils/xbibfile/Makefile
new file mode 100644
index 0000000000..7c459e7cc3
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/Makefile
@@ -0,0 +1,106 @@
+CC = gcc
+OBJ = xbibfile.o cleanup.o selecting.o filing.o linking.o error.o\
+ article.o book.o booklet.o conference.o inbook.o incol.o \
+ inproc.o manual.o masters.o misc.o phd.o proceedings.o \
+ techreport.o unpublished.o \
+ probes.o listall.o listword.o listauthors.o listwriter.o listyears.o \
+ listpubyear.o listref.o listuplinks.o
+
+xbibfile: $(OBJ)
+ $(CC) $(OBJ) -o xbibfile `pkg-config --libs gtk+-2.0`
+
+xbibfile.o: xbibfile.c xbibfile.h
+ $(CC) `pkg-config --cflags gtk+-2.0` -c xbibfile.c -o xbibfile.o
+
+filing.o: filing.c
+ $(CC) -c filing.c -o filing.o `pkg-config --cflags gtk+-2.0`
+
+selecting.o: selecting.c
+ $(CC) -c selecting.c -o selecting.o `pkg-config --cflags gtk+-2.0`
+
+cleanup.o: cleanup.c
+ $(CC) -c cleanup.c -o cleanup.o `pkg-config --cflags gtk+-2.0`
+
+article.o: article.c xbibfile.h
+ $(CC) -c article.c -o article.o `pkg-config --cflags gtk+-2.0`
+
+book.o: book.c xbibfile.h
+ $(CC) -c book.c -o book.o `pkg-config --cflags gtk+-2.0`
+
+inproc.o: inproc.c xbibfile.h
+ $(CC) -c inproc.c -o inproc.o `pkg-config --cflags gtk+-2.0`
+
+phd.o: phd.c xbibfile.h
+ $(CC) -c phd.c -o phd.o `pkg-config --cflags gtk+-2.0`
+
+masters.o: masters.c xbibfile.h
+ $(CC) -c masters.c -o masters.o `pkg-config --cflags gtk+-2.0`
+
+incol.o: incol.c xbibfile.h
+ $(CC) -c incol.c -o incol.o `pkg-config --cflags gtk+-2.0`
+
+booklet.o: booklet.c xbibfile.h
+ $(CC) -c booklet.c -o booklet.o `pkg-config --cflags gtk+-2.0`
+
+conference.o: conference.c xbibfile.h
+ $(CC) -c conference.c -o conference.o `pkg-config --cflags gtk+-2.0`
+
+inbook.o: inbook.c xbibfile.h
+ $(CC) -c inbook.c -o inbook.o `pkg-config --cflags gtk+-2.0`
+
+unpublished.o: unpublished.c xbibfile.h
+ $(CC) -c unpublished.c -o unpublished.o `pkg-config --cflags gtk+-2.0`
+
+manual.o: manual.c xbibfile.h
+ $(CC) -c manual.c -o manual.o `pkg-config --cflags gtk+-2.0`
+
+misc.o: misc.c xbibfile.h
+ $(CC) -c misc.c -o misc.o `pkg-config --cflags gtk+-2.0`
+
+proceedings.o: proceedings.c xbibfile.h
+ $(CC) -c proceedings.c -o proceedings.o `pkg-config --cflags gtk+-2.0`
+
+techreport.o: techreport.c xbibfile.h
+ $(CC) -c techreport.c -o techreport.o `pkg-config --cflags gtk+-2.0`
+
+linking.o: linking.c xbibfile.h
+ $(CC) -c linking.c -o linking.o `pkg-config --cflags gtk+-2.0`
+
+error.o: error.c
+ $(CC) -c error.c -o error.o `pkg-config --cflags gtk+-2.0`
+
+probes.o: probes.c
+ $(CC) -c probes.c -o probes.o `pkg-config --cflags gtk+-2.0`
+
+listall.o: listall.c
+ $(CC) -c listall.c -o listall.o `pkg-config --cflags gtk+-2.0`
+
+listword.o: listword.c
+ $(CC) -c listword.c -o listword.o `pkg-config --cflags gtk+-2.0`
+
+listauthors.o: listauthors.c
+ $(CC) -c listauthors.c -o listauthors.o `pkg-config --cflags gtk+-2.0`
+
+listwriter.o: listwriter.c
+ $(CC) -c listwriter.c -o listwriter.o `pkg-config --cflags gtk+-2.0`
+
+listyears.o: listyears.c
+ $(CC) -c listyears.c -o listyears.o `pkg-config --cflags gtk+-2.0`
+
+listpubyear.o: listpubyear.c
+ $(CC) -c listpubyear.c -o listpubyear.o `pkg-config --cflags gtk+-2.0`
+
+listref.o: listref.c
+ $(CC) -c listref.c -o listref.o `pkg-config --cflags gtk+-2.0`
+
+listuplinks.o: listuplinks.c
+ $(CC) -c listuplinks.c -o listuplinks.o `pkg-config --cflags gtk+-2.0`
+
+
+clean:
+ rm -f *.o xbibfile
+
+
+
+
+
diff --git a/biblio/bibtex/utils/xbibfile/README b/biblio/bibtex/utils/xbibfile/README
new file mode 100644
index 0000000000..42b332c011
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/README
@@ -0,0 +1,69 @@
+Xbibfile is an interactive program to assist in preparing and using your BibTeX
+references.
+
+Xbibfile is designed to work in the X Window environment. It is written in
+standard C (well, GNU GCC) and uses the public domain GTK+ graphics package (see
+URL www.gtk.org). Because of the activity of porting GTK+ to the Windows
+environment, the success in that effort will enable Xbibfile to operate in that
+environment in the future. All development work has been done under Linux.
+
+Xbibfile has been under my development and use for over four years now. It
+arose out of my realisation early in my PhD candidature in the School of
+Information Technology at Murdoch University that I needed software to handle my
+research references. The closes that I could find on CTAN that fulfilled my
+requirements was XbibTeX by Nicolas Kelly and Christian Bischof. But I would
+need to make changes. That I judged to be too difficult and thought writing my
+own would be a fruitful way to go. Initially the windows for creating the
+various reference types was the total of Xbibfile. The addition of windows to
+search for references by author name, publication date, from word used in the
+summary of the reference, etc. were only recently added. When those additions
+were made, the human interface was also revised thanks to suggestions from
+members of the School. May be now the program is fit for wider use.
+
+This package consists, when compiled, of one executable "Xbibfile" and three
+Perl scripts. The main thrust is Xbibfile but the Perl scripts are a useful
+leftovers from an earlier version of the executable. Their function is now
+performed withing Xbibfile. However, if such results are wanted for routing to
+a printer, then the Perl scripts become necessary.
+
+A primitive Makefile is included in this distribution to compile Xbibfile.
+Initial development work was done using Gtk version 1.2.10. In version 0.7 of
+Xbibfile, the conversion to GTK+ 2.0 was undertaken in an attempt use the
+library procedures recommended in the documentation that accompanied that later
+release. A major part of the Xbibfile upgrade was the modification of the
+manner of accessing the GTK library in the Makefile.
+
+At this stage of the development there is no documentation. Yes, I know, that
+is unforgivable. But my interest has been in creating the software to fulfil my
+needs. Hopefully the documentation will follow in future releases of this
+package.
+
+Initial versions of the GTK+ package implemented a subset of the Emacs
+keystrokes when the user entered data. However, the widgets on which they
+operated are now recommended not for use. Thus the editing facilities available
+to assist user data entry are primitive. This is particularly noticed in the
+screen field used for entering your summaries of the referennce. It is these
+summaries that are used in the "word search" provided under Xbibfile. If you
+need to make changes to the BibTeX file after it has be saved under Xbibfile,
+then your favourate text editor must be used.
+
+There are a number of error screens that can appear. When these occur, click
+somewhere in that error window and the window will disappear. Each such error
+window is implemented as a window compose of a button only; to clear the window
+you click the button.
+
+As with most open source software, you use this software at your own risk. This
+software has, however, worked successfully for me. I would appreciate it if you
+could drop me a line indicating if you find this software useful.
+
+This software is released under the conditions of the LaTeX Project Public
+License.
+
+Enjoy.
+
++-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=
+Ross Maloney | email: rmaloney@murdoch.edu.au
+School of Information Technology |
+Murdoch University |
+Perth, W.A., Australia | A graduate student aiming to understand
++-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=
diff --git a/biblio/bibtex/utils/xbibfile/article.c b/biblio/bibtex/utils/xbibfile/article.c
new file mode 100644
index 0000000000..fdcdd2dfb8
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/article.c
@@ -0,0 +1,476 @@
+/* This file is a part of XBibFile - a system for handling BibTeX references
+ *
+ * Author: Ross Maloney
+ * Date: October 1999
+ * Modified: January 2002
+ *
+ */
+
+#include <stdio.h>
+#include <gtk/gtk.h>
+
+#include "xbibfile.h"
+
+/* This file contains procedures that handle the BibTeX article style */
+
+
+GtkWidget *labelX, *dataX;
+GtkWidget *label0, *data0;
+GtkWidget *label2, *data2;
+GtkWidget *label3, *data3;
+GtkWidget *label10, *data10;
+GtkWidget *label12, *data12;
+GtkWidget *label13, *data13, *textscroll;
+GtkWidget *label14, *data14;
+GtkWidget *label16, *data16;
+GtkWidget *label20, *data20;
+GtkWidget *label22, *data22;
+GtkWidget *label23, *data23;
+GtkWidget *label24, *data24;
+GtkWidget *label30, *data30;
+GtkWidget *label31, *data31;
+GtkWidget *label32, *data32;
+GtkTextBuffer *text13;
+GtkTextIter start, end;
+PangoFontDescription *font_desc;
+
+
+/* input text fields and labels used BibTeX format windows handled in
+ * this file */
+
+
+
+
+/* The procedure to save the article style */
+
+void save_article(GtkWidget *widget)
+{
+ extern int format;
+ extern int length[];
+ extern char slate[][];
+ extern int lengthX;
+ extern char slateX[];
+ extern char slate3[];
+ extern char slate10[];
+ extern char slate12[];
+ extern char slate13[];
+ extern char slate14[];
+ extern char slate16[];
+ extern char slate20[];
+ extern char slate22[];
+ extern char slate24[];
+ extern char slate23[];
+ extern char slate30[];
+ extern char slate31[];
+ extern char slate32[];
+ extern void error(); /* defined in file error.c */
+ extern FILE *finput; /* defined in file xbibfile.c */
+ extern void close_window(); /* defined in file cleanup.c */
+
+ if (format != 1) {
+ error(widget, GINT_TO_POINTER(5));
+ return;
+ }
+ strcpy(slateX, gtk_entry_get_text(GTK_ENTRY(dataX)));
+ lengthX = strlen(slateX);
+ strcpy(slate3, gtk_entry_get_text(GTK_ENTRY(data3)));
+ length[3] = strlen(slate3);
+ strcpy(slate10, gtk_entry_get_text(GTK_ENTRY(data10)));
+ length[10] = strlen(slate10);
+ strcpy(slate20, gtk_entry_get_text(GTK_ENTRY(data20)));
+ length[20] = strlen(slate20);
+ strcpy(slate24, gtk_entry_get_text(GTK_ENTRY(data24)));
+ length[24] = strlen(slate24);
+ if (!(length[3] && length[20] && length[10] && length[24] && lengthX)) {
+ error(widget, GINT_TO_POINTER(3));
+ return;
+ }
+ if (!finput) {
+ error(widget, GINT_TO_POINTER(8));
+ return;
+ }
+ /* finput = stdout; */
+ fprintf(finput, "\n@ARTICLE{%s,\n", slateX);
+ fprintf(finput, " author = {%s},\n", slate3);
+ fprintf(finput, " title = {%s},\n", slate20);
+ fprintf(finput, " journal = {%s},\n", slate10);
+ fprintf(finput, " year = {%s}", slate24);
+ if (length[23])
+ fprintf(finput, ",\n volume = {%s}", slate23);
+ if (length[14])
+ fprintf(finput, ",\n number = {%s}", slate14);
+ if (length[16])
+ fprintf(finput, ",\n pages = {%s}", slate16);
+ if (length[12])
+ fprintf(finput, ",\n month = {%s}", slate12);
+ if (length[22])
+ fprintf(finput, ",\n URL = {%s}", slate22);
+ if (length[2])
+ fprintf(finput, ",\n note = {%s}", slate22);
+ if (length[13])
+ fprintf(finput, ",\n annote = {%s}", slate13);
+ if (length[30])
+ fprintf(finput, ",\n uplink = {%s}", slate30);
+ if (length[31])
+ fprintf(finput, ",\n crosslink = {%s}", slate31);
+ if (length[32])
+ fprintf(finput, ",\n externlink = {%s}", slate32);
+ fprintf(finput, " }\n");
+ /* indicate that the reference is saved */
+ format = 0;
+ length[2] = 0;
+ length[23] = 0;
+ length[13] = 0;
+ length[14] = 0;
+ length[16] = 0;
+ length[12] = 0;
+ length[22] = 0;
+ length[30] = 0;
+ length[31] = 0;
+ length[32] = 0;
+ close_window(widget); /* remove this reference window */
+}
+
+
+/* Save the article optional fields for subsequent saving */
+
+void save_artoptions(GtkWidget *widget)
+{
+ extern void close_window();
+ extern int length[];
+ extern char slate2[];
+ extern char slate12[];
+ extern char slate22[];
+ extern char slate13[];
+ extern char slate14[];
+ extern char slate16[];
+ extern char slate23[];
+ char *text_in_field;
+ int count;
+
+ strcpy(slate23, gtk_entry_get_text(GTK_ENTRY(data23)));
+ length[23] = strlen(slate23);
+ strcpy(slate14, gtk_entry_get_text(GTK_ENTRY(data14)));
+ length[14] = strlen(slate14);
+ strcpy(slate16, gtk_entry_get_text(GTK_ENTRY(data16)));
+ length[16] = strlen(slate16);
+ strcpy(slate12, gtk_entry_get_text(GTK_ENTRY(data12)));
+ length[12] = strlen(slate12);
+ strcpy(slate22, gtk_entry_get_text(GTK_ENTRY(data22)));
+ length[22] = strlen(slate22);
+ strcpy(slate2, gtk_entry_get_text(GTK_ENTRY(data2)));
+ length[2] = strlen(slate2);
+ count = gtk_text_buffer_get_char_count(text13);
+ gtk_text_buffer_get_iter_at_offset(text13, &end, count);
+ gtk_text_buffer_get_iter_at_offset(text13, &start, 0);
+ strcpy(slate13, gtk_text_buffer_get_text(text13, &start, &end, FALSE));
+ length[13] = count;
+ close_window(widget);
+}
+
+
+
+
+/* Close the option entry window, but first delete the entries */
+
+void close_artoptions(GtkWidget *widget)
+{
+ extern void close_window();
+ extern int length[];
+
+ length[2] = 0;
+ length[23] = 0;
+ length[14] = 0;
+ length[16] = 0;
+ length[12] = 0;
+ length[22] = 0;
+ length[13] = 0;
+ close_window(widget);
+}
+
+
+/* The procedure to put the optional article style fields on the screen */
+
+void artoptions(GtkWidget *widget)
+{
+ extern int format;
+ GtkTooltips *tooltips;
+ GtkWidget *window;
+ GtkWidget *decoration;
+ GtkWidget *totalPane;
+ GtkWidget *field0;
+ GtkWidget *field1;
+ GtkWidget *field2;
+ GtkWidget *field3;
+ GtkWidget *field4;
+ GtkWidget *field5;
+ GtkWidget *field6;
+ GtkWidget *key0;
+ GtkWidget *key1;
+
+ void close_artoptions();
+ void save_artoptions();
+
+ if (format == 0) {
+ error (widget, GINT_TO_POINTER(6));
+ return;
+ }
+
+ /* create the tooltip help feature */
+
+ tooltips = gtk_tooltips_new();
+
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile create");
+ gtk_widget_set_usize(GTK_WIDGET(window), 400, 570);
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ decoration = gtk_frame_new("Optional article fields");
+ gtk_container_add(GTK_CONTAINER(window), decoration);
+ totalPane = gtk_vbox_new(FALSE, 5);
+ gtk_container_add(GTK_CONTAINER(decoration), totalPane);
+
+ /* put the text fields in place */
+ field1 = gtk_hbox_new(FALSE, 0);
+ data23 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data23), TINY);
+ label23 = gtk_label_new("Volume:");
+ gtk_widget_set_usize(GTK_WIDGET(label23), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field1), label23, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field1), data23, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field1, FALSE, TRUE, 10);
+
+ field2 = gtk_hbox_new(FALSE, 0);
+ data14 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data14),TINY);
+ label14 = gtk_label_new("Number:");
+ gtk_widget_set_usize(GTK_WIDGET(label14), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field2), label14, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field2), data14, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field2, FALSE, TRUE, 2);
+
+ field3 = gtk_hbox_new(FALSE, 0);
+ data16 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data16), LARGE);
+ label16 = gtk_label_new("Pages:");
+ gtk_widget_set_usize(GTK_WIDGET(label16), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field3), label16, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field3), data16, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field3, FALSE, TRUE, 2);
+
+ field4 = gtk_hbox_new(FALSE, 0);
+ data12 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data14), TINY);
+ label12 = gtk_label_new("Month:");
+ gtk_widget_set_usize(GTK_WIDGET(label12), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field4), label12, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field4), data12, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field4, FALSE, TRUE, 2);
+
+ field5 = gtk_hbox_new(FALSE, 0);
+ data22 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data22), LARGE);
+ label22 = gtk_label_new("URL:");
+ gtk_widget_set_usize(GTK_WIDGET(label22), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field5), label22, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field5), data22, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field5, FALSE, TRUE, 2);
+
+ field6 = gtk_hbox_new(FALSE, 0);
+ data2 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data2), LARGE);
+ label2 = gtk_label_new("note:");
+ gtk_widget_set_usize(GTK_WIDGET(label2), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field6), label2, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field6), data2, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field6, FALSE, TRUE, 2);
+
+ text13 = gtk_text_buffer_new(NULL);
+ data13 = gtk_text_view_new_with_buffer(text13);
+ textscroll = gtk_scrolled_window_new(NULL, NULL);
+ font_desc = pango_font_description_from_string("Sans 12");
+ gtk_widget_modify_font(data13, font_desc);
+ gtk_container_add(GTK_CONTAINER(textscroll), data13);
+ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(textscroll),
+ GTK_POLICY_AUTOMATIC,
+ GTK_POLICY_AUTOMATIC);
+ gtk_widget_set_usize(GTK_WIDGET(data13), 30, 250);
+ label13 = gtk_label_new("Annotation:");
+ gtk_box_pack_start(GTK_BOX(totalPane), label13, FALSE, TRUE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), textscroll, FALSE, TRUE, 2);
+
+ /* finally, put the cancel button in place */
+ field0 = gtk_hbox_new(FALSE, 0);
+ key0 = gtk_button_new_with_label("CANCEL");
+ gtk_widget_set_usize(GTK_WIDGET(key0), 90, -1);
+ g_signal_connect(GTK_OBJECT(key0), "clicked",
+ G_CALLBACK(close_artoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key0,
+ "Discard the contents of this window", NULL);
+ gtk_box_pack_end(GTK_BOX(field0), key0, FALSE, FALSE, 10);
+ key1 = gtk_button_new_with_label("Save");
+ gtk_widget_set_usize(GTK_WIDGET(key1), 90, -1);
+ g_signal_connect(GTK_OBJECT(key1), "clicked",
+ G_CALLBACK(save_artoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key1,
+ "Store the contents of this window", NULL);
+ gtk_box_pack_end(GTK_BOX(field0), key1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field0, FALSE, TRUE, 10);
+
+ /* put the composite window on the screen */
+ gtk_widget_show_all(window);
+}
+
+
+
+/* The procedure to put the basic article style on the screen */
+
+void article(GtkWidget *widget)
+{
+ GtkTooltips *tooltips;
+ GtkWidget *window;
+ GtkWidget *decoration;
+ GtkWidget *totalPane;
+ GtkWidget *opDecoration;
+ GtkWidget *field0;
+ GtkWidget *field1;
+ GtkWidget *option;
+ GtkWidget *controls;
+ GtkWidget *key1;
+ GtkWidget *key2;
+ GtkWidget *key3;
+ GtkWidget *key4;
+ GtkWidget *field2;
+ GtkWidget *field3;
+ GtkWidget *field4;
+ GtkWidget *field5;
+ extern int format;
+ extern char slate0[];
+
+ extern void linkwindow();
+ extern void closure_check(); /* defined in file cleanup.c */
+ extern void close_window(); /* defined in file cleanup.c */
+ void artoption(GtkWidget *);
+
+ /* create the tooltip help feature */
+
+ tooltips = gtk_tooltips_new();
+
+
+ format = 1; /* indicate processing of an ARTICLE */
+
+ /* create the wondow and its top panel */
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile create");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ decoration = gtk_frame_new("Article type - required fields");
+ gtk_widget_set_usize(GTK_WIDGET(window), 450, 330);
+ gtk_container_add(GTK_CONTAINER(window), decoration);
+ totalPane = gtk_vbox_new(FALSE, 5);
+ gtk_container_add(GTK_CONTAINER(decoration), totalPane);
+
+ field1 = gtk_hbox_new(FALSE,0);
+ dataX = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(dataX), SMALL);
+ gtk_widget_set_usize(GTK_WIDGET(dataX), 345, -1);
+ labelX = gtk_label_new("Tag/s:");
+ gtk_widget_set_usize(GTK_WIDGET(labelX), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field1), labelX, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field1), dataX, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field1, FALSE, TRUE, 10);
+
+ field0 = gtk_hbox_new(FALSE, 0);
+ data0 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data0), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data0), 345, -1);
+ label0 = gtk_label_new("File used:");
+ gtk_widget_set_usize(GTK_WIDGET(label0), 65, -1);
+ gtk_entry_set_text(GTK_ENTRY(data0), slate0);
+ gtk_box_pack_start(GTK_BOX(field0), label0, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field0), data0, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field0, FALSE, TRUE, 2);
+
+ /* position the remaining field entries */
+ field2 = gtk_hbox_new(FALSE, 0);
+ data3 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data3), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data3), 345, -1);
+ label3 = gtk_label_new("Authors/s:");
+ gtk_widget_set_usize(GTK_WIDGET(label3), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field2), label3, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field2), data3, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field2, FALSE, TRUE, 8);
+
+ field3 = gtk_hbox_new(FALSE, 0);
+ data20 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data20), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data20), 345, -1);
+ label20 = gtk_label_new("Title:");
+ gtk_widget_set_usize(GTK_WIDGET(label20), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field3), label20, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field3), data20, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field3, FALSE, TRUE, 2);
+
+ field4 = gtk_hbox_new(FALSE, 0);
+ data10 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data10), SMALL);
+ gtk_widget_set_usize(GTK_WIDGET(data10), 345, -1);
+ label10 = gtk_label_new("Journal:");
+ gtk_widget_set_usize(GTK_WIDGET(label10), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field4), label10, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field4), data10, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field4, FALSE, TRUE, 2);
+
+ field5 = gtk_hbox_new(FALSE, 0);
+ data24 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data24), TINY);
+ gtk_widget_set_usize(GTK_WIDGET(data24), 200, -1);
+ label24 = gtk_label_new("Year:");
+ gtk_widget_set_usize(GTK_WIDGET(label24), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field5), label24, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field5), data24, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field5, FALSE, TRUE, 2);
+
+ /* put the control keys on to the window */
+ option = gtk_hbox_new(FALSE, 0);
+ key2 = gtk_button_new_with_label("Optional fields");
+ gtk_widget_set_usize(GTK_WIDGET(key2), 130, -1);
+ g_signal_connect(GTK_OBJECT(key2), "clicked",
+ G_CALLBACK(artoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key2,
+ "Click here to get window containing remaining Article fields",
+ NULL);
+ gtk_box_pack_start(GTK_BOX(option), key2, FALSE, FALSE, 10);
+ controls = gtk_hbox_new(FALSE, 0);
+ key1 = gtk_button_new_with_label("Save");
+ gtk_widget_set_usize(GTK_WIDGET(key1), 90, -1);
+ g_signal_connect(GTK_OBJECT(key1), "clicked",
+ G_CALLBACK(save_article), NULL);
+ gtk_tooltips_set_tip(tooltips, key1,
+ "Store this Article reference in database", NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key1, FALSE, FALSE, 30);
+ key3 = gtk_button_new_with_label("Cancel");
+ gtk_widget_set_usize(GTK_WIDGET(key3), 90, -1);
+ g_signal_connect(GTK_OBJECT(key3), "clicked",
+ G_CALLBACK(closure_check), NULL);
+ gtk_tooltips_set_tip(tooltips, key3,
+ "Discard this Article entry", NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key3, FALSE, FALSE, 30);
+ key4 = gtk_button_new_with_label("Linking");
+ gtk_widget_set_usize(GTK_WIDGET(key4), 90, -1);
+ g_signal_connect(GTK_OBJECT(key4), "clicked",
+ G_CALLBACK(linkwindow), NULL);
+ gtk_tooltips_set_tip(tooltips, key4,
+ "Click here for window to create links for this Article",
+ NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key4, FALSE, FALSE, 30);
+ gtk_box_pack_start(GTK_BOX(totalPane), option, FALSE, TRUE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), controls, FALSE, TRUE, 10);
+
+
+ format = 1;
+
+ /* make the composite visible on screen */
+ gtk_widget_show_all(window);
+}
+
+
diff --git a/biblio/bibtex/utils/xbibfile/book.c b/biblio/bibtex/utils/xbibfile/book.c
new file mode 100644
index 0000000000..6fe2358d31
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/book.c
@@ -0,0 +1,522 @@
+/* This file is a part of XBibFile - a system for handling BibTeX references
+ *
+ * Author: Ross Maloney
+ * Date: October 1999
+ * Modified: January 2002
+ *
+ */
+
+#include <stdio.h>
+#include <gtk/gtk.h>
+
+#include "xbibfile.h"
+
+/* This file is a modified copy of article.c so that it handles the
+ * book BibTeX reference style */
+
+
+GtkWidget *labelX, *dataX;
+GtkWidget *label0, *data0;
+GtkWidget *label1, *data1;
+GtkWidget *label2, *data2;
+GtkWidget *label3, *data3;
+GtkWidget *label6, *data6;
+GtkWidget *label7, *data7;
+GtkWidget *label12, *data12;
+GtkWidget *label13, *data13, *textscroll;
+GtkWidget *label14, *data14;
+GtkWidget *label17, *data17;
+GtkWidget *label19, *data19;
+GtkWidget *label20, *data20;
+GtkWidget *label22, *data22;
+GtkWidget *label24, *data24;
+GtkWidget *label23, *data23;
+GtkWidget *label24, *data24;
+GtkWidget *label30, *data30;
+GtkWidget *label31, *data31;
+GtkWidget *label32, *data32;
+GtkTextBuffer *text13;
+GtkTextIter start, end;
+PangoFontDescription *font_desc;
+
+
+
+
+/* The procedure to save the book style */
+
+void save_book(GtkWidget *widget)
+{
+ extern int format;
+ extern int length[];
+ extern char slate[][];
+ extern int lengthX;
+ extern char slateX[];
+ extern char slate1[];
+ extern char slate2[];
+ extern char slate3[];
+ extern char slate6[];
+ extern char slate7[];
+ extern char slate12[];
+ extern char slate13[];
+ extern char slate14[];
+ extern char slate17[];
+ extern char slate19[];
+ extern char slate20[];
+ extern char slate23[];
+ extern char slate22[];
+ extern char slate24[];
+ extern char slate30[];
+ extern char slate31[];
+ extern char slate32[];
+ extern void error(); /* defined in file error.c */
+ extern FILE *finput; /* defined in file xbibfile.c */
+ extern void close_window(); /* defined in file cleanup.c */
+
+ if (format != 2) {
+ error(widget, GINT_TO_POINTER(5));
+ return;
+ }
+ strcpy(slateX, gtk_entry_get_text(GTK_ENTRY(dataX)));
+ lengthX = strlen(slateX);
+ strcpy(slate3, gtk_entry_get_text(GTK_ENTRY(data3)));
+ length[3] = strlen(slate3);
+ strcpy(slate7, gtk_entry_get_text(GTK_ENTRY(data7)));
+ length[7] = strlen(slate7);
+ strcpy(slate20, gtk_entry_get_text(GTK_ENTRY(data20)));
+ length[20] = strlen(slate20);
+ strcpy(slate17, gtk_entry_get_text(GTK_ENTRY(data17)));
+ length[17] = strlen(slate17);
+ strcpy(slate24, gtk_entry_get_text(GTK_ENTRY(data24)));
+ length[24] = strlen(slate24);
+ if (!((length[3] || length[7])
+ && length[20] && length[17] && length[24] && lengthX)) {
+ error(widget, GINT_TO_POINTER(3));
+ return;
+ }
+ if (!finput) {
+ error(widget, GINT_TO_POINTER(8));
+ return;
+ }
+ /* finput = stdout; */
+ fprintf(finput, "\n@BOOK{%s,\n", slateX);
+ if (length[3]) fprintf(finput, " author = {%s},\n", slate3);
+ if (length[7]) fprintf(finput, " editor = {%s},\n", slate7);
+ fprintf(finput, " title = {%s},\n", slate20);
+ fprintf(finput, " publisher = {%s},\n", slate17);
+ fprintf(finput, " year = {%s}", slate24);
+ if (length[23])
+ fprintf(finput, ",\n volume = {%s}", slate23);
+ if (length[14])
+ fprintf(finput, ",\n number = {%s}", slate14);
+ if (length[19])
+ fprintf(finput, ",\n series = {%s}", slate19);
+ if (length[1])
+ fprintf(finput, ",\n address = {%s}", slate1);
+ if (length[6])
+ fprintf(finput, ",\n edition = {%s}", slate6);
+ if (length[12])
+ fprintf(finput, ",\n month = {%s}", slate12);
+ if (length[22])
+ fprintf(finput, ",\n URL = {%s}", slate22);
+ if (length[2])
+ fprintf(finput, ",\n note = {%s}", slate2);
+ if (length[13])
+ fprintf(finput, ",\n annote = {%s}", slate13);
+ if (length[30])
+ fprintf(finput, ",\n uplink = {%s}", slate30);
+ if (length[31])
+ fprintf(finput, ",\n crosslink = {%s}", slate31);
+ if (length[32])
+ fprintf(finput, ",\n externlink = {%s}", slate32);
+ fprintf(finput, " }\n");
+ /* indicate that the reference is saved */
+ format = 0;
+ length[1] = 0;
+ length[2] = 0;
+ length[6] = 0;
+ length[12] = 0;
+ length[13] = 0;
+ length[14] = 0;
+ length[19] = 0;
+ length[22] = 0;
+ length[23] = 0;
+ length[30] = 0;
+ length[31] = 0;
+ length[32] = 0;
+ close_window(widget); /* remove this reference window */
+}
+
+
+/* Save the book optional fields for subsequent saving */
+
+void save_bookoptions(GtkWidget *widget)
+{
+ extern void close_window();
+ extern int length[];
+ extern char slate1[];
+ extern char slate2[];
+ extern char slate6[];
+ extern char slate12[];
+ extern char slate13[];
+ extern char slate14[];
+ extern char slate19[];
+ extern char slate22[];
+ extern char slate23[];
+ char *text_in_field;
+ int count;
+
+ strcpy(slate1, gtk_entry_get_text(GTK_ENTRY(data1)));
+ length[1] = strlen(slate1);
+ strcpy(slate6, gtk_entry_get_text(GTK_ENTRY(data6)));
+ length[6] = strlen(slate6);
+ strcpy(slate12, gtk_entry_get_text(GTK_ENTRY(data12)));
+ length[12] = strlen(slate12);
+ strcpy(slate14, gtk_entry_get_text(GTK_ENTRY(data14)));
+ length[14] = strlen(slate14);
+ strcpy(slate19, gtk_entry_get_text(GTK_ENTRY(data19)));
+ length[19] = strlen(slate19);
+ strcpy(slate23, gtk_entry_get_text(GTK_ENTRY(data23)));
+ length[23] = strlen(slate23);
+ strcpy(slate22, gtk_entry_get_text(GTK_ENTRY(data22)));
+ length[22] = strlen(slate22);
+ strcpy(slate2, gtk_entry_get_text(GTK_ENTRY(data2)));
+ length[2] = strlen(slate2);
+ count = gtk_text_buffer_get_char_count(text13);
+ gtk_text_buffer_get_iter_at_offset(text13, &end, count);
+ gtk_text_buffer_get_iter_at_offset(text13, &start, 0);
+ strcpy(slate13, gtk_text_buffer_get_text(text13, &start, &end, FALSE));
+ length[13] = count;
+
+ close_window(widget);
+}
+
+
+
+
+/* Close the option entry window, but first delete the entries */
+
+void close_bookoptions(GtkWidget *widget)
+{
+ extern void close_window();
+ extern int length[];
+
+ length[23] = 0;
+ length[22] = 0;
+ length[19] = 0;
+ length[14] = 0;
+ length[13] = 0;
+ length[12] = 0;
+ length[6] = 0;
+ length[2] = 0;
+ length[1] = 0;
+ close_window(widget);
+}
+
+
+/* The procedure to put the optional book style fields on the screen */
+
+void bookoptions(GtkWidget *widget)
+{
+ extern int format;
+ GtkTooltips *tooltips;
+ GtkWidget *window;
+ GtkWidget *decoration;
+ GtkWidget *totalPane;
+ GtkWidget *field0;
+ GtkWidget *field1;
+ GtkWidget *field2;
+ GtkWidget *field3;
+ GtkWidget *field4;
+ GtkWidget *field5;
+ GtkWidget *field6;
+ GtkWidget *field7;
+ GtkWidget *field8;
+ GtkWidget *key0;
+ GtkWidget *key1;
+
+ void close_bookoptions();
+ void save_bookoptions();
+
+ if (format == 0) {
+ error (widget, GINT_TO_POINTER(6));
+ return;
+ }
+
+ /* create the tooltip help feature */
+
+ tooltips = gtk_tooltips_new();
+
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile create");
+ gtk_widget_set_usize(GTK_WIDGET(window), 400, 635);
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ decoration = gtk_frame_new("Optional book fields");
+ gtk_container_add(GTK_CONTAINER(window), decoration);
+ totalPane = gtk_vbox_new(FALSE, 5);
+ gtk_container_add(GTK_CONTAINER(decoration), totalPane);
+
+ /* put the text fields in place */
+ field1 = gtk_hbox_new(FALSE, 0);
+ data23 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data23), TINY);
+ label23 = gtk_label_new("|| Volume:");
+ gtk_widget_set_usize(GTK_WIDGET(label23), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field1), label23, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field1), data23, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field1, FALSE, TRUE, 10);
+
+ field2 = gtk_hbox_new(FALSE, 0);
+ data14 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data14), TINY);
+ label14 = gtk_label_new("|| Number:");
+ gtk_widget_set_usize(GTK_WIDGET(label14), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field2), label14, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field2), data14, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field2, FALSE, TRUE, 2);
+
+ field3 = gtk_hbox_new(FALSE, 0);
+ data19 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data19), SMALL);
+ label19 = gtk_label_new("Series:");
+ gtk_widget_set_usize(GTK_WIDGET(label19), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field3), label19, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field3), data19, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field3, FALSE, TRUE, 2);
+
+ field4 = gtk_hbox_new(FALSE, 0);
+ data1 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data1), LARGE);
+ label1 = gtk_label_new("Address:");
+ gtk_widget_set_usize(GTK_WIDGET(label1), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field4), label1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field4), data1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field4, FALSE, TRUE, 2);
+
+ field5 = gtk_hbox_new(FALSE, 0);
+ data6 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data6), SMALL);
+ label6 = gtk_label_new("Edition:");
+ gtk_widget_set_usize(GTK_WIDGET(label6), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field5), label6, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field5), data6, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field5, FALSE, TRUE, 2);
+
+ field6 = gtk_hbox_new(FALSE, 0);
+ data12 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data12), TINY);
+ label12 = gtk_label_new("Month:");
+ gtk_widget_set_usize(GTK_WIDGET(label12), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field6), label12, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field6), data12, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field6, FALSE, TRUE, 2);
+
+ field7 = gtk_hbox_new(FALSE, 0);
+ data22 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data22), LARGE);
+ label22 = gtk_label_new("URL:");
+ gtk_widget_set_usize(GTK_WIDGET(label22), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field7), label22, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field7), data22, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field7, FALSE, TRUE, 2);
+
+ field8 = gtk_hbox_new(FALSE, 0);
+ data2 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data2), LARGE);
+ label2 = gtk_label_new("note:");
+ gtk_widget_set_usize(GTK_WIDGET(label2), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field8), label2, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field8), data2, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field8, FALSE, TRUE, 2);
+
+ text13 = gtk_text_buffer_new(NULL);
+ data13 = gtk_text_view_new_with_buffer(text13);
+ textscroll = gtk_scrolled_window_new(NULL, NULL);
+ font_desc = pango_font_description_from_string("Sans 12");
+ gtk_widget_modify_font(data13, font_desc);
+ gtk_container_add(GTK_CONTAINER(textscroll), data13);
+ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(textscroll),
+ GTK_POLICY_AUTOMATIC,
+ GTK_POLICY_AUTOMATIC);
+ gtk_widget_set_usize(GTK_WIDGET(data13), 30, 250);
+ label13 = gtk_label_new("Annotation:");
+ gtk_box_pack_start(GTK_BOX(totalPane), label13, FALSE, TRUE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), textscroll, FALSE, TRUE, 2);
+
+ /* finally, put the cancel button in place */
+ field0 = gtk_hbox_new(FALSE, 0);
+ key0 = gtk_button_new_with_label("CANCEL");
+ gtk_widget_set_usize(GTK_WIDGET(key0), 90, -1);
+ g_signal_connect(GTK_OBJECT(key0), "clicked",
+ G_CALLBACK(close_bookoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key0,
+ "Discard the contents of this window", NULL);
+ gtk_box_pack_end(GTK_BOX(field0), key0, FALSE, FALSE, 10);
+ key1 = gtk_button_new_with_label("Save");
+ gtk_widget_set_usize(GTK_WIDGET(key1), 90, -1);
+ g_signal_connect(GTK_OBJECT(key1), "clicked",
+ G_CALLBACK(save_bookoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key1,
+ "Store the contents of this window", NULL);
+ gtk_box_pack_end(GTK_BOX(field0), key1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field0, FALSE, TRUE, 10);
+
+ /* put the composite window on the screen */
+ gtk_widget_show_all(window);
+}
+
+
+
+/* The procedure to put the basic book style on the screen */
+
+void book(GtkWidget *widget)
+{
+ GtkTooltips *tooltips;
+ GtkWidget *window;
+ GtkWidget *decoration;
+ GtkWidget *totalPane;
+ GtkWidget *opDecoration;
+ GtkWidget *field0;
+ GtkWidget *field1;
+ GtkWidget *option;
+ GtkWidget *controls;
+ GtkWidget *key1;
+ GtkWidget *key2;
+ GtkWidget *key3;
+ GtkWidget *key4;
+ GtkWidget *field2;
+ GtkWidget *field3;
+ GtkWidget *field4;
+ GtkWidget *field5;
+ GtkWidget *field6;
+ extern int format;
+ extern char slate0[];
+
+ extern void linkwindow();
+ extern void closure_check(); /* defined in file cleanup.c */
+ extern void close_window(); /* defined in file cleanup.c */
+ void bookoptions();
+
+ /* create the tooltip help feature */
+
+ tooltips = gtk_tooltips_new();
+
+ format = 2; /* indicate processing of an BOOK */
+
+ /* create the wondow and its top panel */
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile create");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ decoration = gtk_frame_new("Book type - required fields");
+ gtk_widget_set_usize(GTK_WIDGET(window), 450, 355);
+ gtk_container_add(GTK_CONTAINER(window), decoration);
+ totalPane = gtk_vbox_new(FALSE, 5);
+ gtk_container_add(GTK_CONTAINER(decoration), totalPane);
+
+ field1 = gtk_hbox_new(FALSE,0);
+ dataX = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(dataX), SMALL);
+ gtk_widget_set_usize(GTK_WIDGET(dataX), 345, -1);
+ labelX = gtk_label_new("Tag/s:");
+ gtk_widget_set_usize(GTK_WIDGET(labelX), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field1), labelX, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field1), dataX, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field1, FALSE, TRUE, 10);
+
+ field0 = gtk_hbox_new(FALSE, 0);
+ data0 = gtk_entry_new_with_max_length(LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data0), 345, -1);
+ label0 = gtk_label_new("File used:");
+ gtk_widget_set_usize(GTK_WIDGET(label0), 65, -1);
+ gtk_entry_set_text(GTK_ENTRY(data0), slate0);
+ gtk_box_pack_start(GTK_BOX(field0), label0, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field0), data0, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field0, FALSE, TRUE, 2);
+
+ /* position the remaining field entries */
+ field2 = gtk_hbox_new(FALSE, 0);
+ data3 = gtk_entry_new_with_max_length(LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data3), 345, -1);
+ label3 = gtk_label_new("|| Authors/s:");
+ gtk_widget_set_usize(GTK_WIDGET(label3), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field2), label3, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field2), data3, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field2, FALSE, TRUE, 2);
+
+ field3 = gtk_hbox_new(FALSE, 0);
+ data7 = gtk_entry_new_with_max_length(LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data7), 345, -1);
+ label7 = gtk_label_new("|| Editors/s:");
+ gtk_widget_set_usize(GTK_WIDGET(label7), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field3), label7, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field3), data7, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field3, FALSE, TRUE, 2);
+
+ field4 = gtk_hbox_new(FALSE, 0);
+ data20 = gtk_entry_new_with_max_length(LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data20), 345, -1);
+ label20 = gtk_label_new("Title:");
+ gtk_widget_set_usize(GTK_WIDGET(label20), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field4), label20, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field4), data20, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field4, FALSE, TRUE, 2);
+
+ field5 = gtk_hbox_new(FALSE, 0);
+ data17 = gtk_entry_new_with_max_length(LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data17), 345, -1);
+ label17 = gtk_label_new("Publisher:");
+ gtk_widget_set_usize(GTK_WIDGET(label17), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field5), label17, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field5), data17, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field5, FALSE, TRUE, 2);
+
+ field6 = gtk_hbox_new(FALSE, 0);
+ data24 = gtk_entry_new_with_max_length(SMALL);
+ gtk_widget_set_usize(GTK_WIDGET(data24), 200, -1);
+ label24 = gtk_label_new("Year:");
+ gtk_widget_set_usize(GTK_WIDGET(label24), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field6), label24, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field6), data24, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field6, FALSE, TRUE, 2);
+
+ /* put the control keys on to the window */
+ option = gtk_hbox_new(FALSE, 0);
+ key2 = gtk_button_new_with_label("Optional fields");
+ gtk_widget_set_usize(GTK_WIDGET(key2), 130, -1);
+ g_signal_connect(GTK_OBJECT(key2), "clicked",
+ G_CALLBACK(bookoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key2,
+ "Click here to get window containing remaining Book fields",
+ NULL);
+ gtk_box_pack_start(GTK_BOX(option), key2, FALSE, FALSE, 10);
+ controls = gtk_hbox_new(FALSE, 0);
+ key1 = gtk_button_new_with_label("Save");
+ gtk_widget_set_usize(GTK_WIDGET(key1), 90, -1);
+ g_signal_connect(GTK_OBJECT(key1), "clicked",
+ G_CALLBACK(save_book), NULL);
+ gtk_tooltips_set_tip(tooltips, key1,
+ "Store this Book reference in database", NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key1, FALSE, FALSE, 30);
+ key3 = gtk_button_new_with_label("Cancel");
+ gtk_widget_set_usize(GTK_WIDGET(key3), 90, -1);
+ g_signal_connect(GTK_OBJECT(key3), "clicked",
+ G_CALLBACK(closure_check), NULL);
+ gtk_tooltips_set_tip(tooltips, key3,
+ "Discard this Book entry", NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key3, FALSE, FALSE, 30);
+ key4 = gtk_button_new_with_label("Linking");
+ gtk_widget_set_usize(GTK_WIDGET(key4), 90, -1);
+ g_signal_connect(GTK_OBJECT(key4), "clicked",
+ G_CALLBACK(linkwindow), NULL);
+ gtk_tooltips_set_tip(tooltips, key4,
+ "Click here for window to create links for this Book",
+ NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key4, FALSE, FALSE, 30);
+ gtk_box_pack_start(GTK_BOX(totalPane), option, FALSE, TRUE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), controls, FALSE, TRUE, 10);
+
+
+ format = 2;
+
+ /* make the composite visible on screen */
+ gtk_widget_show_all(window);
+}
diff --git a/biblio/bibtex/utils/xbibfile/booklet.c b/biblio/bibtex/utils/xbibfile/booklet.c
new file mode 100644
index 0000000000..f7d48b1cd6
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/booklet.c
@@ -0,0 +1,444 @@
+/* This file is a part of XBibFile - a system for handling BibTeX references
+ *
+ * Author: Ross Maloney
+ * Date: October 1999
+ * Modified: January 2002
+ *
+ */
+
+#include <stdio.h>
+#include <gtk/gtk.h>
+
+#include "xbibfile.h"
+
+/* This file is a modified copy of phd.c so that it handles the
+ * Booklet BibTeX reference style */
+
+
+GtkWidget *labelX, *dataX;
+GtkWidget *label0, *data0;
+GtkWidget *label1, *data1;
+GtkWidget *label2, *data2;
+GtkWidget *label3, *data3;
+GtkWidget *label8, *data8;
+GtkWidget *label12, *data12;
+GtkWidget *label13, *data13, *textscroll;
+GtkWidget *label20, *data20;
+GtkWidget *label22, *data22;
+GtkWidget *label24, *data24;
+GtkWidget *label30, *data30;
+GtkWidget *label31, *data31;
+GtkWidget *label32, *data32;
+GtkTextBuffer *text13;
+GtkTextIter start, end;
+PangoFontDescription *font_desc;
+
+
+
+
+/* The procedure to save the Booklet thesis style */
+
+void save_booklet(GtkWidget *widget)
+{
+ extern int format;
+ extern int length[];
+ extern char slate[][];
+ extern int lengthX;
+ extern char slateX[];
+ extern char slate1[];
+ extern char slate3[];
+ extern char slate2[];
+ extern char slate8[];
+ extern char slate12[];
+ extern char slate13[];
+ extern char slate20[];
+ extern char slate22[];
+ extern char slate24[];
+ extern char slate30[];
+ extern char slate31[];
+ extern char slate32[];
+ extern void error(); /* defined in file error.c */
+ extern FILE *finput; /* defined in file xbibfile.c */
+ extern void close_window(); /* defined in file cleanup.c */
+
+ if (format != 3) {
+ error(widget, GINT_TO_POINTER(5));
+ return;
+ }
+ strcpy(slateX, gtk_entry_get_text(GTK_ENTRY(dataX)));
+ lengthX = strlen(slateX);
+ strcpy(slate20, gtk_entry_get_text(GTK_ENTRY(data20)));
+ length[20] = strlen(slate20);
+ if (!(length[20] && lengthX)) {
+ error(widget, GINT_TO_POINTER(3));
+ return;
+ }
+ if (!finput) {
+ error(widget, GINT_TO_POINTER(8));
+ return;
+ }
+ /* finput = stdout; */
+ fprintf(finput, "\n@BOOKLET{%s,\n", slateX);
+ fprintf(finput, " title = {%s}", slate20);
+ if (length[3])
+ fprintf(finput, ",\n author = {%s}", slate3);
+ if (length[8])
+ fprintf(finput, ",\n howpublished = {%s}", slate8);
+ if (length[1])
+ fprintf(finput, ",\n address = {%s}", slate1);
+ if (length[12])
+ fprintf(finput, ",\n month = {%s}", slate12);
+ if (length[24])
+ fprintf(finput, ",\n year = {%s}", slate24);
+ if (length[22])
+ fprintf(finput, ",\n URL = {%s}", slate22);
+ if (length[2])
+ fprintf(finput, ",\n note = {%s}", slate2);
+ if (length[13])
+ fprintf(finput, ",\n annote = {%s}", slate13);
+ if (length[30])
+ fprintf(finput, ",\n uplink = {%s}", slate30);
+ if (length[31])
+ fprintf(finput, ",\n crosslink = {%s}", slate31);
+ if (length[32])
+ fprintf(finput, ",\n externlink = {%s}", slate32);
+ fprintf(finput, " }\n");
+ /* indicate that the reference is saved */
+ format = 0;
+ length[1] = 0;
+ length[2] = 0;
+ length[3] = 0;
+ length[8] = 0;
+ length[12] = 0;
+ length[13] = 0;
+ length[22] = 0;
+ length[24] = 0;
+ length[30] = 0;
+ length[31] = 0;
+ length[32] = 0;
+ close_window(widget); /* remove this reference window */
+}
+
+
+/* Save the Booklet optional fields for subsequent saving */
+
+void save_bookletoptions(GtkWidget *widget)
+{
+ extern void close_window();
+ extern int length[];
+ extern char slate1[];
+ extern char slate2[];
+ extern char slate3[];
+ extern char slate8[];
+ extern char slate12[];
+ extern char slate13[];
+ extern char slate22[];
+ extern char slate24[];
+ char *text_in_field;
+ int count;
+
+ strcpy(slate1, gtk_entry_get_text(GTK_ENTRY(data1)));
+ length[1] = strlen(slate1);
+ strcpy(slate3, gtk_entry_get_text(GTK_ENTRY(data3)));
+ length[3] = strlen(slate3);
+ strcpy(slate8, gtk_entry_get_text(GTK_ENTRY(data8)));
+ length[8] = strlen(slate8);
+ strcpy(slate12, gtk_entry_get_text(GTK_ENTRY(data12)));
+ length[12] = strlen(slate12);
+ count = gtk_text_buffer_get_char_count(text13);
+ gtk_text_buffer_get_iter_at_offset(text13, &end, count);
+ gtk_text_buffer_get_iter_at_offset(text13, &start, 0);
+ strcpy(slate13, gtk_text_buffer_get_text(text13, &start, &end, FALSE));
+ length[13] = count;
+ strcpy(slate24, gtk_entry_get_text(GTK_ENTRY(data24)));
+ length[24] = strlen(slate24);
+ strcpy(slate22, gtk_entry_get_text(GTK_ENTRY(data22)));
+ length[22] = strlen(slate22);
+ strcpy(slate2, gtk_entry_get_text(GTK_ENTRY(data2)));
+ length[2] = strlen(slate2);
+ close_window(widget);
+}
+
+
+
+
+/* Close the option entry window, but first delete the entries */
+
+void close_bookletoptions(GtkWidget *widget)
+{
+ extern void close_window();
+ extern int length[];
+
+ length[1] = 0;
+ length[2] = 0;
+ length[3] = 0;
+ length[8] = 0;
+ length[12] = 0;
+ length[13] = 0;
+ length[22] = 0;
+ length[24] = 0;
+ close_window(widget);
+}
+
+
+/* The procedure to put the optional Booklet style fields on the screen */
+
+void bookletoptions(GtkWidget *widget)
+{
+ extern int format;
+ GtkTooltips *tooltips;
+ GtkWidget *window;
+ GtkWidget *decoration;
+ GtkWidget *totalPane;
+ GtkWidget *field0;
+ GtkWidget *field1;
+ GtkWidget *field2;
+ GtkWidget *field3;
+ GtkWidget *field4;
+ GtkWidget *field5;
+ GtkWidget *field6;
+ GtkWidget *field7;
+ GtkWidget *key0;
+ GtkWidget *key1;
+
+ void close_bookletoptions();
+ void save_bookletoptions();
+
+ if (format == 0) {
+ error (widget, GINT_TO_POINTER(6));
+ return;
+ }
+
+ /* create the tooltip help feature */
+
+ tooltips = gtk_tooltips_new();
+
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile create");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ gtk_widget_set_usize(GTK_WIDGET(window), 400, 605);
+ decoration = gtk_frame_new("Optional Booklet fields");
+ gtk_container_add(GTK_CONTAINER(window), decoration);
+ totalPane = gtk_vbox_new(FALSE, 5);
+ gtk_container_add(GTK_CONTAINER(decoration), totalPane);
+
+ /* put the text fields in place */
+ field1 = gtk_hbox_new(FALSE, 0);
+ data3 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data3), LARGE);
+ label3 = gtk_label_new("Author/s:");
+ gtk_widget_set_usize(GTK_WIDGET(label3), 85, -1);
+ gtk_box_pack_start(GTK_BOX(field1), label3, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field1), data3, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field1, FALSE, TRUE, 10);
+
+ field2 = gtk_hbox_new(FALSE, 0);
+ data8 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data8), SMALL);
+ label8 = gtk_label_new("Howpublished:");
+ gtk_widget_set_usize(GTK_WIDGET(label8), 85, -1);
+ gtk_box_pack_start(GTK_BOX(field2), label8, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field2), data8, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field2, FALSE, TRUE, 2);
+
+ field3 = gtk_hbox_new(FALSE, 0);
+ data1 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data1), LARGE);
+ label1 = gtk_label_new("Address:");
+ gtk_widget_set_usize(GTK_WIDGET(label1), 85, -1);
+ gtk_box_pack_start(GTK_BOX(field3), label1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field3), data1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field3, FALSE, TRUE, 2);
+
+ field4 = gtk_hbox_new(FALSE, 0);
+ data12 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data12), TINY);
+ label12 = gtk_label_new("Month:");
+ gtk_widget_set_usize(GTK_WIDGET(label12), 85, -1);
+ gtk_box_pack_start(GTK_BOX(field4), label12, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field4), data12, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field4, FALSE, TRUE, 2);
+
+ field5 = gtk_hbox_new(FALSE, 0);
+ data24 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data24), TINY);
+ label24 = gtk_label_new("Year:");
+ gtk_widget_set_usize(GTK_WIDGET(label24), 85, -1);
+ gtk_box_pack_start(GTK_BOX(field5), label24, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field5), data24, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field5, FALSE, TRUE, 2);
+
+ field6 = gtk_hbox_new(FALSE, 0);
+ data22 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data22), LARGE);
+ label22 = gtk_label_new("URL:");
+ gtk_widget_set_usize(GTK_WIDGET(label22), 85, -1);
+ gtk_box_pack_start(GTK_BOX(field6), label22, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field6), data22, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field6, FALSE, TRUE, 2);
+
+ field7 = gtk_hbox_new(FALSE, 0);
+ data2 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data2), LARGE);
+ label2 = gtk_label_new("note:");
+ gtk_widget_set_usize(GTK_WIDGET(label2), 85, -1);
+ gtk_box_pack_start(GTK_BOX(field7), label2, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field7), data2, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field7, FALSE, TRUE, 2);
+
+ text13 = gtk_text_buffer_new(NULL);
+ data13 = gtk_text_view_new_with_buffer(text13);
+ textscroll = gtk_scrolled_window_new(NULL, NULL);
+ font_desc = pango_font_description_from_string("Sans 12");
+ gtk_widget_modify_font(data13, font_desc);
+ gtk_container_add(GTK_CONTAINER(textscroll), data13);
+ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(textscroll),
+ GTK_POLICY_AUTOMATIC,
+ GTK_POLICY_AUTOMATIC);
+ gtk_widget_set_usize(GTK_WIDGET(data13), 30, 250);
+ label13 = gtk_label_new("Annotation:");
+ gtk_box_pack_start(GTK_BOX(totalPane), label13, FALSE, TRUE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), textscroll, FALSE, TRUE, 2);
+
+ /* finally, put the cancel button in place */
+ field0 = gtk_hbox_new(FALSE, 0);
+ key0 = gtk_button_new_with_label("CANCEL");
+ gtk_widget_set_usize(GTK_WIDGET(key0), 90, -1);
+ g_signal_connect(GTK_OBJECT(key0), "clicked",
+ G_CALLBACK(close_bookletoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key0,
+ "Discard the contents of this window", NULL);
+ gtk_box_pack_end(GTK_BOX(field0), key0, FALSE, FALSE, 10);
+ key1 = gtk_button_new_with_label("Save");
+ gtk_widget_set_usize(GTK_WIDGET(key1), 90, -1);
+ g_signal_connect(GTK_OBJECT(key1), "clicked",
+ G_CALLBACK(save_bookletoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key1,
+ "Store the contents of this window", NULL);
+ gtk_box_pack_end(GTK_BOX(field0), key1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field0, FALSE, TRUE, 10);
+
+ /* put the composite window on the screen */
+ gtk_widget_show_all(window);
+}
+
+
+
+/* The procedure to put the basic Booklet style on the screen */
+
+void booklet(GtkWidget *widget)
+{
+ GtkTooltips *tooltips;
+ GtkWidget *window;
+ GtkWidget *decoration;
+ GtkWidget *totalPane;
+ GtkWidget *opDecoration;
+ GtkWidget *field0;
+ GtkWidget *field1;
+ GtkWidget *option;
+ GtkWidget *controls;
+ GtkWidget *key1;
+ GtkWidget *key2;
+ GtkWidget *key3;
+ GtkWidget *key4;
+ GtkWidget *field2;
+ extern int format;
+ extern char slate0[];
+
+ extern void linkwindow();
+ extern void closure_check(); /* defined in file cleanup.c */
+ extern void close_window(); /* defined in file cleanup.c */
+ void bookletoptions();
+ void save_booklet();
+
+ /* create the tooltip help feature */
+
+ tooltips = gtk_tooltips_new();
+
+ format = 3; /* indicate processing of an BOOKLET */
+
+ /* create the wondow and its top panel */
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile create");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ gtk_widget_set_usize(GTK_WIDGET(window), 450, 230);
+ decoration = gtk_frame_new("Booklet type - required fields");
+ gtk_container_add(GTK_CONTAINER(window), decoration);
+ totalPane = gtk_vbox_new(FALSE, 5);
+ gtk_container_add(GTK_CONTAINER(decoration), totalPane);
+
+ field1 = gtk_hbox_new(FALSE,0);
+ dataX = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(dataX), SMALL);
+ gtk_widget_set_usize(GTK_WIDGET(dataX), 345, -1);
+ labelX = gtk_label_new("Tags/s:");
+ gtk_widget_set_usize(GTK_WIDGET(labelX), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field1), labelX, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field1), dataX, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field1, FALSE, TRUE, 10);
+
+ field0 = gtk_hbox_new(FALSE, 0);
+ data0 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data0), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data0), 345, -1);
+ label0 = gtk_label_new("File used:");
+ gtk_widget_set_usize(GTK_WIDGET(label0), 65, -1);
+ gtk_entry_set_text(GTK_ENTRY(data0), slate0);
+ gtk_box_pack_start(GTK_BOX(field0), label0, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field0), data0, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field0, FALSE, TRUE, 2);
+
+ /* position the remaining field entries */
+ field2 = gtk_hbox_new(FALSE, 0);
+ data20 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data20), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data20), 345, -1);
+ label20 = gtk_label_new("Title:");
+ gtk_widget_set_usize(GTK_WIDGET(label20), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field2), label20, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field2), data20, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field2, FALSE, TRUE, 2);
+
+ /* put the control keys on to the window */
+ option = gtk_hbox_new(FALSE, 0);
+ key2 = gtk_button_new_with_label("Optional fields");
+ gtk_widget_set_usize(GTK_WIDGET(key2), 130, -1);
+ g_signal_connect(GTK_OBJECT(key2), "clicked",
+ G_CALLBACK(bookletoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key2,
+ "Click here to get window containing remaining Booklet fields",
+ NULL);
+ gtk_box_pack_start(GTK_BOX(option), key2, FALSE, FALSE, 10);
+ controls = gtk_hbox_new(FALSE, 0);
+ key1 = gtk_button_new_with_label("Save");
+ gtk_widget_set_usize(GTK_WIDGET(key1), 90, -1);
+ g_signal_connect(GTK_OBJECT(key1), "clicked",
+ G_CALLBACK(save_booklet), NULL);
+ gtk_tooltips_set_tip(tooltips, key1,
+ "Store this Booklet reference in database", NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key1, FALSE, FALSE, 30);
+ key3 = gtk_button_new_with_label("Cancel");
+ gtk_widget_set_usize(GTK_WIDGET(key3), 90, -1);
+ g_signal_connect(GTK_OBJECT(key3), "clicked",
+ G_CALLBACK(closure_check), NULL);
+ gtk_tooltips_set_tip(tooltips, key3,
+ "Discard this Booklet entry", NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key3, FALSE, FALSE, 30);
+ key4 = gtk_button_new_with_label("Linking");
+ gtk_widget_set_usize(GTK_WIDGET(key4), 90, -1);
+ g_signal_connect(GTK_OBJECT(key4), "clicked",
+ G_CALLBACK(linkwindow), NULL);
+ gtk_tooltips_set_tip(tooltips, key4,
+ "Click here for window to create links for this Booklet",
+ NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key4, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), option, FALSE, TRUE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), controls, FALSE, TRUE, 10);
+
+ format = 3;
+
+ /* make the composite visible on screen */
+ gtk_widget_show_all(window);
+}
+
+
diff --git a/biblio/bibtex/utils/xbibfile/cleanup.c b/biblio/bibtex/utils/xbibfile/cleanup.c
new file mode 100644
index 0000000000..645c8f24c5
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/cleanup.c
@@ -0,0 +1,100 @@
+/* This file is a part of XBibFile - a system for handling BibTeX references
+ *
+ * Author: Ross Maloney
+ * Date: October 1999
+ * Modified: January 2002
+ *
+ */
+
+#include <gtk/gtk.h>
+
+
+/* This file contains those procedures called to perform cleaning operations
+ * during the operation of the XBibFile code */
+
+
+
+/* This procedure is called to close the current window */
+
+void close_window(GtkWidget *widget)
+{
+ GtkWidget *parent;
+
+ parent = gtk_widget_get_ancestor(widget, GTK_TYPE_WINDOW);
+ gtk_widget_destroy(parent);
+}
+
+
+/* This procedure exits the program */
+
+void byebye(GtkWidget *widget)
+{
+ gtk_main_quit();
+}
+
+
+/* This procedure is called to close the entry being made */
+
+void go_ahead(GtkWidget *widget, GtkWidget *window)
+{
+ extern int format;
+
+ close_window(window);
+ close_window(widget);
+ format = 0;
+}
+
+void cancel(GtkWidget *widget)
+{
+ close_window(widget);
+}
+
+/* A dialogue to confirm cancellation request */
+
+int closure_check(GtkWidget *widget)
+{
+ GtkTooltips *tooltips;
+ GtkWidget *window;
+ GtkWidget *decoration;
+ GtkWidget *totalPane;
+ GtkWidget *field0;
+ GtkWidget *key0;
+ GtkWidget *key1;
+ GtkWidget *label;
+ void cancel();
+ void go_ahead();
+
+ /* create the tooltip help feature */
+
+ tooltips = gtk_tooltips_new();
+
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile security");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ decoration = gtk_frame_new("Checking request");
+ gtk_widget_set_usize(GTK_WIDGET(window), 232, 100);
+ gtk_container_add(GTK_CONTAINER(window), decoration);
+ totalPane = gtk_vbox_new(FALSE, 5);
+ gtk_container_add(GTK_CONTAINER(decoration), totalPane);
+ label = gtk_label_new("Confirm CLOSE request");
+ gtk_box_pack_start(GTK_BOX(totalPane), label, FALSE, FALSE, 10);
+
+ field0 = gtk_hbox_new(FALSE, 5);
+ key1 = gtk_button_new_with_label("Go Ahead");
+ gtk_widget_set_usize(GTK_WIDGET(key1), 90, -1);
+ g_signal_connect(GTK_OBJECT(key1), "clicked",
+ G_CALLBACK(go_ahead), widget);
+ gtk_tooltips_set_tip(tooltips, key1,
+ "Perform the CLOSE request", NULL);
+ gtk_box_pack_start(GTK_BOX(field0), key1, FALSE, FALSE, 10);
+ key0 = gtk_button_new_with_label("Cancel");
+ gtk_widget_set_usize(GTK_WIDGET(key0), 90, -1);
+ g_signal_connect(GTK_OBJECT(key0), "clicked",
+ G_CALLBACK(cancel), NULL);
+ gtk_tooltips_set_tip(tooltips, key0,
+ "Abort/Don't Do this request", NULL);
+ gtk_box_pack_start(GTK_BOX(field0), key0, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field0, FALSE, TRUE, 10);
+
+ gtk_widget_show_all(window);
+}
diff --git a/biblio/bibtex/utils/xbibfile/conference.c b/biblio/bibtex/utils/xbibfile/conference.c
new file mode 100644
index 0000000000..42cb374424
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/conference.c
@@ -0,0 +1,569 @@
+/* This file is a part of XBibFile - a system for handling BibTeX references
+ *
+ * Author: Ross Maloney
+ * Date: October 1999
+ * Modified: January 2002
+ *
+ */
+
+#include <stdio.h>
+#include <gtk/gtk.h>
+
+#include "xbibfile.h"
+
+/* This file is a modified copy of inproc.c so that it handles the
+ * conference BibTeX reference style */
+
+
+GtkWidget *labelX, *dataX;
+GtkWidget *label0, *data0;
+GtkWidget *label1, *data1;
+GtkWidget *label2, *data2;
+GtkWidget *label3, *data3;
+GtkWidget *label4, *data4;
+GtkWidget *label7, *data7;
+GtkWidget *label12, *data12;
+GtkWidget *label13, *data13, *textscroll;
+GtkWidget *label14, *data14;
+GtkWidget *label15, *data15;
+GtkWidget *label16, *data16;
+GtkWidget *label17, *data17;
+GtkWidget *label19, *data19;
+GtkWidget *label20, *data20;
+GtkWidget *label22, *data22;
+GtkWidget *label23, *data23;
+GtkWidget *label24, *data24;
+GtkWidget *label30, *data30;
+GtkWidget *label31, *data31;
+GtkWidget *label32, *data32;
+GtkTextBuffer *text13;
+GtkTextIter start, end;
+PangoFontDescription *font_desc;
+
+
+
+
+/* The procedure to save the conference style */
+
+void save_conference(GtkWidget *widget)
+{
+ extern int format;
+ extern int length[];
+ extern char slate[][];
+ extern int lengthX;
+ extern char slateX[];
+ extern char slate1[];
+ extern char slate2[];
+ extern char slate3[];
+ extern char slate4[];
+ extern char slate7[];
+ extern char slate12[];
+ extern char slate13[];
+ extern char slate14[];
+ extern char slate15[];
+ extern char slate16[];
+ extern char slate17[];
+ extern char slate19[];
+ extern char slate20[];
+ extern char slate22[];
+ extern char slate23[];
+ extern char slate24[];
+ extern char slate30[];
+ extern char slate31[];
+ extern char slate32[];
+ extern void error(); /* defined in file error.c */
+ extern FILE *finput; /* defined in file xbibfile.c */
+ extern void close_window(); /* defined in file cleanup.c */
+
+ if (format != 4) {
+ error(widget, GINT_TO_POINTER(5));
+ return;
+ }
+ strcpy(slateX, gtk_entry_get_text(GTK_ENTRY(dataX)));
+ lengthX = strlen(slateX);
+ strcpy(slate3, gtk_entry_get_text(GTK_ENTRY(data3)));
+ length[3] = strlen(slate3);
+ strcpy(slate4, gtk_entry_get_text(GTK_ENTRY(data4)));
+ length[4] = strlen(slate4);
+ strcpy(slate20, gtk_entry_get_text(GTK_ENTRY(data20)));
+ length[20] = strlen(slate20);
+ strcpy(slate24, gtk_entry_get_text(GTK_ENTRY(data24)));
+ length[24] = strlen(slate24);
+ if (!(length[3] && length[4] && length[20] && length[24] && lengthX)) {
+ error(widget, GINT_TO_POINTER(3));
+ return;
+ }
+ if (!finput) {
+ error(widget, GINT_TO_POINTER(8));
+ return;
+ }
+ /* finput = stdout; */
+ fprintf(finput, "\n@CONFERENCE{%s,\n", slateX);
+ fprintf(finput, " author = {%s},\n", slate3);
+ fprintf(finput, " title = {%s},\n", slate20);
+ fprintf(finput, " booktitle = {%s},\n", slate4);
+ fprintf(finput, " year = {%s}", slate24);
+ if (length[7])
+ fprintf(finput, ",\n editor = {%s}", slate7);
+ if (length[23])
+ fprintf(finput, ",\n volume = {%s}", slate23);
+ if (length[14])
+ fprintf(finput, ",\n number = {%s}", slate14);
+ if (length[19])
+ fprintf(finput, ",\n series = {%s}", slate19);
+ if (length[16])
+ fprintf(finput, ",\n pages = {%s}", slate16);
+ if (length[1])
+ fprintf(finput, ",\n address = {%s}", slate1);
+ if (length[12])
+ fprintf(finput, ",\n month = {%s}", slate12);
+ if (length[15])
+ fprintf(finput, ",\n organization = {%s}", slate15);
+ if (length[17])
+ fprintf(finput, ",\n publisher = {%s}", slate17);
+ if (length[22])
+ fprintf(finput, ",\n URL = {%s}", slate22);
+ if (length[2])
+ fprintf(finput, ",\n note = {%s}", slate2);
+ if (length[13])
+ fprintf(finput, ",\n annote = {%s}", slate13);
+ if (length[30])
+ fprintf(finput, ",\n uplink = {%s}", slate30);
+ if (length[31])
+ fprintf(finput, ",\n crosslink = {%s}", slate31);
+ if (length[32])
+ fprintf(finput, ",\n externlink = {%s}", slate32);
+ fprintf(finput, " }\n");
+ /* indicate that the reference is saved */
+ format = 0;
+ length[1] = 0;
+ length[2] = 0;
+ length[7] = 0;
+ length[12] = 0;
+ length[13] = 0;
+ length[14] = 0;
+ length[15] = 0;
+ length[16] = 0;
+ length[17] = 0;
+ length[19] = 0;
+ length[22] = 0;
+ length[23] = 0;
+ length[30] = 0;
+ length[31] = 0;
+ length[32] = 0;
+ close_window(widget); /* remove this reference window */
+}
+
+
+/* Save the conference optional fields for subsequent saving */
+
+void save_confoptions(GtkWidget *widget)
+{
+ extern void close_window();
+ extern int length[];
+ extern char slate1[];
+ extern char slate2[];
+ extern char slate7[];
+ extern char slate12[];
+ extern char slate13[];
+ extern char slate14[];
+ extern char slate15[];
+ extern char slate16[];
+ extern char slate17[];
+ extern char slate19[];
+ extern char slate22[];
+ extern char slate23[];
+ char *text_in_field;
+ int count;
+
+ strcpy(slate1, gtk_entry_get_text(GTK_ENTRY(data1)));
+ length[1] = strlen(slate1);
+ strcpy(slate7, gtk_entry_get_text(GTK_ENTRY(data7)));
+ length[7] = strlen(slate7);
+ strcpy(slate12, gtk_entry_get_text(GTK_ENTRY(data12)));
+ length[12] = strlen(slate12);
+ strcpy(slate14, gtk_entry_get_text(GTK_ENTRY(data14)));
+ length[14] = strlen(slate14);
+ strcpy(slate15, gtk_entry_get_text(GTK_ENTRY(data15)));
+ length[15] = strlen(slate15);
+ strcpy(slate16, gtk_entry_get_text(GTK_ENTRY(data16)));
+ length[16] = strlen(slate16);
+ strcpy(slate17, gtk_entry_get_text(GTK_ENTRY(data17)));
+ length[17] = strlen(slate17);
+ strcpy(slate19, gtk_entry_get_text(GTK_ENTRY(data19)));
+ length[19] = strlen(slate19);
+ strcpy(slate23, gtk_entry_get_text(GTK_ENTRY(data23)));
+ length[23] = strlen(slate23);
+ strcpy(slate22, gtk_entry_get_text(GTK_ENTRY(data22)));
+ length[22] = strlen(slate22);
+ strcpy(slate2, gtk_entry_get_text(GTK_ENTRY(data2)));
+ length[2] = strlen(slate2);
+ count = gtk_text_buffer_get_char_count(text13);
+ gtk_text_buffer_get_iter_at_offset(text13, &end, count);
+ gtk_text_buffer_get_iter_at_offset(text13, &start, 0);
+ strcpy(slate13, gtk_text_buffer_get_text(text13, &start, &end, FALSE));
+ length[13] = count;
+
+ close_window(widget);
+}
+
+
+
+
+/* Close the option entry window, but first delete the entries */
+
+void close_confoptions(GtkWidget *widget)
+{
+ extern void close_window();
+ extern int length[];
+
+ length[23] = 0;
+ length[22] = 0;
+ length[19] = 0;
+ length[17] = 0;
+ length[16] = 0;
+ length[15] = 0;
+ length[14] = 0;
+ length[13] = 0;
+ length[12] = 0;
+ length[7] = 0;
+ length[2] = 0;
+ length[1] = 0;
+ close_window(widget);
+}
+
+
+/* The procedure to put the optional conference style fields
+ * on the screen */
+
+void confoptions(GtkWidget *widget)
+{
+ extern int format;
+ GtkTooltips *tooltips;
+ GtkWidget *window;
+ GtkWidget *decoration;
+ GtkWidget *totalPane;
+ GtkWidget *field0;
+ GtkWidget *field1;
+ GtkWidget *field2;
+ GtkWidget *field3;
+ GtkWidget *field4;
+ GtkWidget *field5;
+ GtkWidget *field6;
+ GtkWidget *field7;
+ GtkWidget *field8;
+ GtkWidget *field9;
+ GtkWidget *field10;
+ GtkWidget *field11;
+ GtkWidget *key0;
+ GtkWidget *key1;
+
+ void close_confoptions();
+ void save_confoptions();
+
+ if (format == 0) {
+ error (widget, GINT_TO_POINTER(6));
+ return;
+ }
+
+ /* create the tooltip help feature */
+
+ tooltips = gtk_tooltips_new();
+
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile create");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ gtk_widget_set_usize(GTK_WIDGET(window), 400, 730);
+ decoration = gtk_frame_new("Optional Conference fields");
+ gtk_container_add(GTK_CONTAINER(window), decoration);
+ totalPane = gtk_vbox_new(FALSE, 5);
+ gtk_container_add(GTK_CONTAINER(decoration), totalPane);
+
+ /* put the text fields in place */
+ field1 = gtk_hbox_new(FALSE, 0);
+ data7 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data7), LARGE);
+ label7 = gtk_label_new("Editor/s:");
+ gtk_widget_set_usize(GTK_WIDGET(label7), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field1), label7, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field1), data7, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field1, FALSE, TRUE, 10);
+
+ field2 = gtk_hbox_new(FALSE, 0);
+ data23 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data23), TINY);
+ label23 = gtk_label_new("|| Volume:");
+ gtk_widget_set_usize(GTK_WIDGET(label23), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field2), label23, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field2), data23, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field2, FALSE, TRUE, 2);
+
+ field3 = gtk_hbox_new(FALSE, 0);
+ data14 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data14), TINY);
+ label14 = gtk_label_new("|| Number:");
+ gtk_widget_set_usize(GTK_WIDGET(label14), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field3), label14, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field3), data14, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field3, FALSE, TRUE, 2);
+
+ field4 = gtk_hbox_new(FALSE, 0);
+ data19 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data19), SMALL);
+ label19 = gtk_label_new("Series:");
+ gtk_widget_set_usize(GTK_WIDGET(label19), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field4), label19, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field4), data19, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field4, FALSE, TRUE, 2);
+
+ field5 = gtk_hbox_new(FALSE, 0);
+ data16 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data16), LARGE);
+ label16 = gtk_label_new("Pages:");
+ gtk_widget_set_usize(GTK_WIDGET(label16), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field5), label16, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field5), data16, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field5, FALSE, TRUE, 2);
+
+ field6 = gtk_hbox_new(FALSE, 0);
+ data1 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data1), LARGE);
+ label1 = gtk_label_new("Address:");
+ gtk_widget_set_usize(GTK_WIDGET(label1), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field6), label1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field6), data1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field6, FALSE, TRUE, 2);
+
+ field7 = gtk_hbox_new(FALSE, 0);
+ data12 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data12), TINY);
+ label12 = gtk_label_new("Month:");
+ gtk_widget_set_usize(GTK_WIDGET(label12), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field7), label12, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field7), data12, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field7, FALSE, TRUE, 2);
+
+ field8 = gtk_hbox_new(FALSE, 0);
+ data15 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data15), LARGE);
+ label15 = gtk_label_new("Organization:");
+ gtk_widget_set_usize(GTK_WIDGET(label15), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field8), label15, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field8), data15, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field8, FALSE, TRUE, 2);
+
+ field9 = gtk_hbox_new(FALSE, 0);
+ data17 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data17), LARGE);
+ label17 = gtk_label_new("Publisher:");
+ gtk_widget_set_usize(GTK_WIDGET(label17), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field9), label17, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field9), data17, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field9, FALSE, TRUE, 2);
+
+ field10 = gtk_hbox_new(FALSE, 0);
+ data22 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data22), LARGE);
+ label22 = gtk_label_new("URL:");
+ gtk_widget_set_usize(GTK_WIDGET(label22), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field10), label22, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field10), data22, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field10, FALSE, TRUE, 2);
+
+ field11 = gtk_hbox_new(FALSE, 0);
+ data2 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data2), LARGE);
+ label2 = gtk_label_new("note:");
+ gtk_widget_set_usize(GTK_WIDGET(label2), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field11), label2, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field11), data2, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field11, FALSE, TRUE, 2);
+
+ text13 = gtk_text_buffer_new(NULL);
+ data13 = gtk_text_view_new_with_buffer(text13);
+ textscroll = gtk_scrolled_window_new(NULL, NULL);
+ font_desc = pango_font_description_from_string("Sans 12");
+ gtk_widget_modify_font(data13, font_desc);
+ gtk_container_add(GTK_CONTAINER(textscroll), data13);
+ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(textscroll),
+ GTK_POLICY_AUTOMATIC,
+ GTK_POLICY_AUTOMATIC);
+ gtk_widget_set_usize(GTK_WIDGET(data13), 30, 250);
+ label13 = gtk_label_new("Annotes:");
+ gtk_box_pack_start(GTK_BOX(totalPane), label13, FALSE, TRUE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), textscroll, FALSE, TRUE, 2);
+
+ /* finally, put the cancel button in place */
+ field0 = gtk_hbox_new(FALSE, 0);
+ key0 = gtk_button_new_with_label("CANCEL");
+ gtk_widget_set_usize(GTK_WIDGET(key0), 90, -1);
+ g_signal_connect(GTK_OBJECT(key0), "clicked",
+ G_CALLBACK(close_confoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key0,
+ "Discard the contents of this window", NULL);
+ gtk_box_pack_end(GTK_BOX(field0), key0, FALSE, FALSE, 10);
+ key1 = gtk_button_new_with_label("Save");
+ gtk_widget_set_usize(GTK_WIDGET(key1), 90, -1);
+ g_signal_connect(GTK_OBJECT(key1), "clicked",
+ G_CALLBACK(save_confoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key1,
+ "Store the contents of this window", NULL);
+ gtk_box_pack_end(GTK_BOX(field0), key1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field0, FALSE, TRUE, 10);
+
+ /* put the composite window on the screen */
+ gtk_widget_show_all(window);
+}
+
+
+
+/* The procedure to put the basic conference style on the screen */
+
+void conference(GtkWidget *widget)
+{
+ GtkTooltips *tooltips;
+ GtkWidget *window;
+ GtkWidget *decoration;
+ GtkWidget *totalPane;
+ GtkWidget *opDecoration;
+ GtkWidget *field0;
+ GtkWidget *field1;
+ GtkWidget *option;
+ GtkWidget *controls;
+ GtkWidget *key1;
+ GtkWidget *key2;
+ GtkWidget *key3;
+ GtkWidget *key4;
+ GtkWidget *field2;
+ GtkWidget *field3;
+ GtkWidget *field4;
+ GtkWidget *field5;
+ extern int format;
+ extern char slate0[];
+
+ extern void linkwindow();
+ extern void closure_check(); /* defined in file cleanup.c */
+ extern void close_window(); /* defined in file cleanup.c */
+ void confoptions();
+ void save_conference();
+
+ /* create the tooltip help feature */
+
+ tooltips = gtk_tooltips_new();
+
+ format = 4; /* indicate processing of an CONFERENCE */
+
+ /* create the wondow and its top panel */
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile create");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ decoration = gtk_frame_new("Conference type - required fields");
+ gtk_widget_set_usize(GTK_WIDGET(window), 450, 325);
+ gtk_container_add(GTK_CONTAINER(window), decoration);
+ totalPane = gtk_vbox_new(FALSE, 5);
+ gtk_container_add(GTK_CONTAINER(decoration), totalPane);
+
+ field1 = gtk_hbox_new(FALSE,0);
+ dataX = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(dataX), SMALL);
+ gtk_widget_set_usize(GTK_WIDGET(dataX), 345, -1);
+ labelX = gtk_label_new("Tag/s:");
+ gtk_widget_set_usize(GTK_WIDGET(labelX), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field1), labelX, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field1), dataX, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field1, FALSE, TRUE, 10);
+
+ field0 = gtk_hbox_new(FALSE, 0);
+ data0 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data0), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data0), 345, -1);
+ label0 = gtk_label_new("File used:");
+ gtk_widget_set_usize(GTK_WIDGET(label0), 65, -1);
+ gtk_entry_set_text(GTK_ENTRY(data0), slate0);
+ gtk_box_pack_start(GTK_BOX(field0), label0, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field0), data0, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field0, FALSE, TRUE, 2);
+
+ /* position the remaining field entries */
+ field2 = gtk_hbox_new(FALSE, 0);
+ data3 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data3), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data3), 345, -1);
+ label3 = gtk_label_new("Authors/s:");
+ gtk_widget_set_usize(GTK_WIDGET(label3), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field2), label3, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field2), data3, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field2, FALSE, TRUE, 2);
+
+ field3 = gtk_hbox_new(FALSE, 0);
+ data20 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data20), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data20), 345, -1);
+ label20 = gtk_label_new("Title:");
+ gtk_widget_set_usize(GTK_WIDGET(label20), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field3), label20, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field3), data20, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field3, FALSE, TRUE, 2);
+
+ field4 = gtk_hbox_new(FALSE, 0);
+ data4 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data4), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data4), 345, -1);
+ label4 = gtk_label_new("BookTitle:");
+ gtk_widget_set_usize(GTK_WIDGET(label4), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field4), label4, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field4), data4, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field4, FALSE, TRUE, 2);
+
+ field5 = gtk_hbox_new(FALSE, 0);
+ data24 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data24), TINY);
+ gtk_widget_set_usize(GTK_WIDGET(data24), 200, -1);
+ label24 = gtk_label_new("Year:");
+ gtk_widget_set_usize(GTK_WIDGET(label24), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field5), label24, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field5), data24, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field5, FALSE, TRUE, 2);
+
+ /* put the control keys on to the window */
+ option = gtk_hbox_new(FALSE, 0);
+ key2 = gtk_button_new_with_label("Optional fields");
+ gtk_widget_set_usize(GTK_WIDGET(key2), 130, -1);
+ g_signal_connect(GTK_OBJECT(key2), "clicked",
+ G_CALLBACK(confoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key2,
+ "Click here to get window containing remaining Conference fields",
+ NULL);
+ gtk_box_pack_start(GTK_BOX(option), key2, FALSE, FALSE, 10);
+ controls = gtk_hbox_new(FALSE, 0);
+ key1 = gtk_button_new_with_label("Save");
+ gtk_widget_set_usize(GTK_WIDGET(key1), 90, -1);
+ g_signal_connect(GTK_OBJECT(key1), "clicked",
+ G_CALLBACK(save_conference), NULL);
+ gtk_tooltips_set_tip(tooltips, key1,
+ "Store this Conference reference in database", NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key1, FALSE, FALSE, 30);
+ key3 = gtk_button_new_with_label("Cancel");
+ gtk_widget_set_usize(GTK_WIDGET(key3), 90, -1);
+ g_signal_connect(GTK_OBJECT(key3), "clicked",
+ G_CALLBACK(closure_check), NULL);
+ gtk_tooltips_set_tip(tooltips, key3,
+ "Discard this Conference entry", NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key3, FALSE, FALSE, 30);
+ key4 = gtk_button_new_with_label("Linking");
+ gtk_widget_set_usize(GTK_WIDGET(key4), 90, -1);
+ g_signal_connect(GTK_OBJECT(key4), "clicked",
+ G_CALLBACK(linkwindow), NULL);
+ gtk_tooltips_set_tip(tooltips, key4,
+ "Click here for window to create links for this Conference",
+ NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key4, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), option, FALSE, TRUE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), controls, FALSE, TRUE, 10);
+
+
+ format = 4;
+
+ /* make the composite visible on screen */
+ gtk_widget_show_all(window);
+}
diff --git a/biblio/bibtex/utils/xbibfile/count.pl b/biblio/bibtex/utils/xbibfile/count.pl
new file mode 100644
index 0000000000..fe64209197
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/count.pl
@@ -0,0 +1,14 @@
+#!/usr/bin/perl
+#
+# this script counts the number of references (@) in a file
+#
+# This script is part of the XBibFile software package.
+# Writer: Ross Maloney
+# Date: August 2000
+#
+while ( <> ) {
+ if ( /@/ ) {
+ $count++;
+ }
+}
+print "number of references = $count\n";
diff --git a/biblio/bibtex/utils/xbibfile/default.bib b/biblio/bibtex/utils/xbibfile/default.bib
new file mode 100644
index 0000000000..539f9ae772
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/default.bib
@@ -0,0 +1,99 @@
+
+@ARTICLE{ross,
+ author = {Maloney},
+ title = {my greatest thoughts},
+ journal = {hi hopes},
+ year = {1999},
+ volume = {12},
+ number = {4},
+ pages = {56-90},
+ month = {may},
+ note = {fdertg.},
+ uplink = {ummy},
+ crosslink = {freinds, family},
+ externlink = {summary.txt} }
+
+@ARTICLE{a,
+ author = {b},
+ title = {c},
+ journal = {d},
+ year = {e},
+ volume = {f},
+ number = {g},
+ pages = {h},
+ month = {g},
+ note = {jklo},
+ uplink = {x},
+ crosslink = {y},
+ externlink = {q} }
+
+@ARTICLE{ross2,
+ author = {Maloney, Ross},
+ title = {further thoughts},
+ journal = {hi hopes},
+ year = {2000},
+ volume = {3},
+ number = {4},
+ pages = {12-90},
+ month = {may},
+ note = {defrgth.},
+ uplink = {mummy},
+ crosslink = {daddy, friends},
+ externlink = {summary.txt} }
+
+@ARTICLE{xx,
+ author = {yy},
+ title = {zz},
+ journal = {xx},
+ year = {fg} }
+
+@ARTICLE{df,
+ author = {fg},
+ title = {hj},
+ journal = {fg},
+ year = {fg} }
+
+@ARTICLE{d,
+ author = {f},
+ title = {g},
+ journal = {h},
+ year = {j},
+ volume = {d},
+ number = {f},
+ pages = {g},
+ month = {e},
+ note = {dfg},
+ uplink = {d},
+ crosslink = {f},
+ externlink = {g} }
+
+@ARTICLE{ross,
+ author = {ff},
+ title = {xx},
+ journal = {ghj},
+ year = {1990},
+ uplink = {dfg},
+ crosslink = {zxc bn},
+ externlink = {def nkl} }
+
+@INPROCEEDINGS{adc:2000,
+ author = {me},
+ title = {mine},
+ booktitle = {fgt},
+ year = {2000},
+ pages = {34--67},
+ address = {My Place},
+ organization = {Org One} }
+
+@INPROCEEDINGS{xyz:2000,
+ author = {me and mine},
+ title = {my paper},
+ booktitle = {paapers},
+ year = {2000},
+ series = {dd},
+ pages = {56--90},
+ month = {June},
+ publisher = {dfg},
+ annote = {This is a second silly test of the annotation capacity of the
+InProceedings entry field.
+} }
diff --git a/biblio/bibtex/utils/xbibfile/error.c b/biblio/bibtex/utils/xbibfile/error.c
new file mode 100644
index 0000000000..fec888f1b0
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/error.c
@@ -0,0 +1,72 @@
+/* This file is a part of XBibFile - a system for handling BibTeX references
+ *
+ * Author: Ross Maloney
+ * Date: October 1999
+ * Modified: January 2002
+ *
+ */
+
+#include <gtk/gtk.h>
+
+extern void close_window(); /* defined in file cleanup.c */
+
+/* This file contains the error handling routines. */
+
+/* The error types are:
+ * 1 entries not saved
+ * 2 last entry not saved
+ * 3 all required fields not supplied
+ * 4 requested function not implemented
+ * 5 this reference has been saved already
+ * 6 I am sorry, but you have already saved this entry
+ * 7 cannot open that file
+ * 8 currently there is no file selected
+ * 9 format in the current BibTeX file selected */
+
+void error(GtkWidget *widget,
+ GtkWidget *type)
+{
+ GtkWidget *window;
+ GtkWidget *button;
+ GtkWidget *label;
+ char bell = '\007'; /* ASCII code for a bell */
+
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile security");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
+ button = gtk_button_new();
+ gtk_widget_set_usize(GTK_WIDGET(button), 250, 100);
+ g_signal_connect(GTK_OBJECT(button), "clicked",
+ G_CALLBACK(close_window), NULL);
+ gtk_container_add(GTK_CONTAINER(window), button);
+ switch (GPOINTER_TO_INT(type)) {
+ case 1: label = gtk_label_new("Entries not saved");
+ break;
+ case 2: label = gtk_label_new("Last entry not saved");
+ break;
+ case 3: label = gtk_label_new("All required fields not supplied");
+ break;
+ case 4: label = gtk_label_new("Requested function not implemented");
+ break;
+ case 5: label = gtk_label_new("This reference has been saved already");
+ break;
+ case 6: label = gtk_label_new("I am sorry,\n but you have already saved this entry");
+ break;
+ case 7: label = gtk_label_new("Cannot open that file for appending");
+ break;
+ case 8: label = gtk_label_new("Currently there is no file selected");
+ break;
+ case 9: label = gtk_label_new("Error detected in BibTeX file\n while processing it");
+ break;
+ default: label = gtk_label_new("Impossible error (ERROR)");
+ }
+ gtk_container_add(GTK_CONTAINER(button), label);
+
+ /* put the window on the screen */
+ gtk_widget_show_all(window);
+ g_print("%c", bell);
+}
+
+
+
+
diff --git a/biblio/bibtex/utils/xbibfile/filing.c b/biblio/bibtex/utils/xbibfile/filing.c
new file mode 100644
index 0000000000..5d290667bf
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/filing.c
@@ -0,0 +1,146 @@
+/* This file is a part of XBibFile - a system for handling BibTeX references
+ *
+ * Author: Ross Maloney
+ * Date: October 1999
+ * Modified: January 2001
+ * Renamed, reformed, and reworked: January 2002
+ *
+ */
+
+#include <stdio.h>
+#include <gtk/gtk.h>
+
+/* This procedure get the name of the file that will be processed for
+ * cross reference information. */
+
+void ref_file(GtkWidget *widget, GtkFileSelection *ref)
+{
+ extern char slate40[];
+ extern int length[];
+ extern FILE *refFile;
+ extern void error();
+
+ if (refFile) {
+ g_print("The cross-file is currently open, I will shut it\n");
+ fclose(refFile);
+ refFile = 0;
+ }
+ strcpy(slate40, gtk_file_selection_get_filename(GTK_FILE_SELECTION(ref)));
+ length[40] = strlen(slate40);
+ refFile = fopen(slate40, "r");
+ if (!refFile) {
+ error(widget, 7);
+ return;
+ }
+}
+
+/* This procedure is very similar to the procedure new_filename().
+ * However, this procedure is designed to be called when the reference file
+ * is to be searched. It puts the selected filename in to a location
+ * from which other parts of the program can access it, and
+ * opens it, then calls the reference search tools. */
+
+void existing_filename(GtkWidget * widget, GtkFileSelection *new)
+{
+ extern char slate0[];
+ extern int length[];
+ extern FILE *refFile; /* defined in file xbibfile.c */
+ extern void error();
+ extern void explore_tools(); /* contained in explore.c */
+
+ if (refFile) {
+ g_print("A file is currently open, I will shut it\n");
+ fclose(refFile);
+ refFile = 0;
+ }
+ strcpy(slate0, gtk_file_selection_get_filename(GTK_FILE_SELECTION(new)));
+ length[0] = strlen(slate0);
+ refFile = fopen(slate0, "r");
+ if (!refFile) {
+ error(widget, 7);
+ return;
+ }
+ probe_menu(widget);
+}
+
+
+/* This procedure allows the user to select the file for exploring the
+ * reference information already stored in it */
+
+void ref_select(GtkWidget *widget)
+{
+ GtkWidget *crossFile;
+
+ crossFile = gtk_file_selection_new("BibTeX database to review");
+ gtk_file_selection_hide_fileop_buttons(GTK_FILE_SELECTION(crossFile));
+
+ gtk_file_selection_set_filename(GTK_FILE_SELECTION(crossFile),
+ "penguin.bib");
+ g_signal_connect(GTK_OBJECT(
+ GTK_FILE_SELECTION(crossFile)->ok_button),
+ "clicked", G_CALLBACK(existing_filename), crossFile);
+ g_signal_connect_swapped(GTK_OBJECT(
+ GTK_FILE_SELECTION(crossFile)->cancel_button),
+ "clicked", G_CALLBACK(gtk_widget_destroy),
+ (gpointer) crossFile);
+
+ gtk_widget_show(crossFile);
+}
+
+
+
+/* This procedure puts the selected filename in to a location
+ * from which other parts of the program can access it, and
+ * opens it, then calls the reference creation menu. */
+
+void new_filename(GtkWidget * widget, GtkFileSelection *new)
+{
+ extern char slate0[];
+ extern int length[];
+ extern FILE *finput;
+ extern void error();
+ extern void available(); /* contained in selecting.c */
+
+ if (finput) {
+ g_print("A file is currently open, I will shut it\n");
+ fclose(finput);
+ finput = 0;
+ }
+ strcpy(slate0, gtk_file_selection_get_filename(GTK_FILE_SELECTION(new)));
+ length[0] = strlen(slate0);
+ finput = fopen(slate0, "a");
+ if (!finput) {
+ error(widget, 7);
+ return;
+ }
+ available(widget);
+}
+
+
+/* This procedure allows the user to select the file into which
+ * the references are to be written */
+
+void file_select(GtkWidget *widget)
+{
+ GtkWidget *inputFile;
+
+
+ inputFile = gtk_file_selection_new("BibTeX database to append");
+
+ gtk_file_selection_hide_fileop_buttons(GTK_FILE_SELECTION(inputFile));
+ gtk_file_selection_set_filename(GTK_FILE_SELECTION(inputFile),
+ "penguin.bib");
+ g_signal_connect(GTK_OBJECT(
+ GTK_FILE_SELECTION(inputFile)->ok_button),
+ "clicked", G_CALLBACK(new_filename), inputFile);
+ g_signal_connect_swapped(GTK_OBJECT(
+ GTK_FILE_SELECTION(inputFile)->cancel_button),
+ "clicked", G_CALLBACK(gtk_widget_destroy),
+ (gpointer) inputFile);
+// g_signal_connect_swapped(GTK_OBJECT(
+// GTK_FILE_SELECTION(inputFile)->ok_button),
+// "clicked", G_CALLBACK(gtk_widget_destroy),
+// (gpointer) inputFile);
+
+ gtk_widget_show(inputFile);
+}
diff --git a/biblio/bibtex/utils/xbibfile/historical.note b/biblio/bibtex/utils/xbibfile/historical.note
new file mode 100644
index 0000000000..5629b778b8
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/historical.note
@@ -0,0 +1,105 @@
+XBibFile grew out of an early need in my research. I needed some
+technique to handle my research references.
+
+The School of Information Technology where I was doing my research, at
+that time was promoting the use of EndNotes for handling for referencing.
+However, EndNotes was a Windows application and not available on Unix, or
+specifically, Linux. Because of my background in Commputer Science, I
+had made a decision early in my research to use Linux as my research
+environment, using LaTeX (and possibly TeX) as my typesetting tools.
+Linux had the attributes of being available at the "right price" on both
+Intel and Digital Alpha hardware architectures which I would be using,
+was stable in operation, and contained the broad suite of tools
+available under the Open Source policy. BibTeX was to be the format
+in which my references were to be recorded and processed. Although the
+EndNotes format could be converted into BibTeX format, running a
+Windows environment for EndNotes and a Linux environment for every
+thing else appeared a little strange.
+
+The problem was that CTAN appeared not to has a program that could
+provide the support I required for my reference making and handling.
+What I required was:
+ . a method of inputting the references that presenced both the
+ required and optional fields for any of the reference types
+ handled by BibTeX;
+ . a mechanism of cross-linking references so that I could keep
+ track of the route by which that reference had been arrived,
+ e.g. this reference appears in the reference list of another
+ reference in my bibliography;
+ . a graphical means of inserting and removing cross-links between
+ references;
+ . a means of following those cross-links -- clicking on the
+ appropriate link field would bring-up a window appropriate for
+ that reference, or if already on the screen, bringing it to the
+ top;
+ . enabled the linking into each reference, the address of files which
+ were related e.g. the path and name of a text file that
+ contained a summary of the paper but was prepared independent of
+ XBibFile i.e. in addition to any notes that were recorded in the
+ "annote" field of the BibTeX recoord.
+All this was to be accomplished using the BibTeX .bib file without
+compromising its direct use with the BibTeX program.
+
+I gave myself a week to write the program to accomplish the above
+requirements or at least to demonstrate that the concept was
+achievable. The week was from Sunday 26 September 1999 until Sunday 3
+October. During that week I had no tutoring commitments and my two
+thesis supervisors were absent so I would have few obstacles to my
+progress. As a first step, this README file was prepared so that I
+could keep track of what I was trying to accomplish. As the week
+continued, additions were made to this README.
+
+I looked at a number of programs available from CTAN but none quite
+filled my requirements. XBibTeX by Nicolas J. Kelly and Christian
+H. Bischof provided the required BibTeX entry creation mechanism.
+However, I experienced problems with the operation of the program:
+with no warning the program would core-dump when saving an entry,
+loosing all the work invested in that entry. Whether that behaviour
+was due to my use of X11 R6 as opposed to the source codes stated
+need for X11 R4, I remain uncertain. But since XBibTeX only handled a
+part of my requirements, I determined that resolving that problem was not
+good use of my time. I tried BibView by Holger Martin, Peter Urban,
+and Armin Liebl but could not get it to compile. Gerd Neugebauer's
+BibTool provided manipulation capabilities for a BibTeX database which
+offered promise, but first the database had to be created.
+
+The first question was how to implement the project. My initial
+thinking was to embed my requirements somehow inside a Web browser
+because browsers have the required address linking capabilities
+already built-in. However, I anticipated difficulties with that
+approach in generating the BibTeX database entries and placing them on
+disk. The alternative was to write in C with a X toolkit. Of the
+toolkits available to me, the GIMP Toolkit (GTK+) looked the most
+promising and also I wanted to get some experience in programming with
+it. My interest in GTK+ occurred after reading the documentation that
+accompanied version 1.0. However, that documentation contained many
+gaps in the information. With Red Hat Linux 6.0 came version 1.2.1 of
+GTK+ and that resolved may of those perceived shortcomings. The
+writing of XBibFile was accompanied by my learning to program with the
+GTK+.
+
+The development environment used was a Toshiba Satellite 4060XCDT
+laptop computer with a 14.1" colour display and 64MB of memory. On
+that hardware, Red Hat Linux 6.0 was run which consisted of a 2.2.5
+Linux kernel with egcs version 1.1.2, and GTK+ version 1.2.1.
+
+During that first week, the majority of time was taken up in learning
+to use the GTK toolkit. First the latest version (1.2.5) available on
+the Internet was downloaded. It was hoped that the developers of the
+package would have improved the state of ddocumentation included in
+earlier distributions. That was not the case. To supplement the
+documentation, the examples included in the distribution allowed a
+level of understanding to be obtained. By the afternoon of Friday,
+enough of an understanding of GTK had been obtained to enable work on
+XBibFile to commence.
+
+It took 10 days of fairly intensive work to get the first stage of the
+program completed. By that time, a reference could be created and
+stored. Work then ceased. Upon using BibTeX for another project, I
+realised that the NOTE entry was incorrect. That entry was ment for
+introducing annotation with each reference but was not supposed to be
+included when a reference list was generated via BibTeX. Kopka and
+Daly[1999] indicate that such a field should be titled ANNOTE. Also
+Kopka and Daly[1999] indicate that the NOTE field was required in an
+entry of type UNPUBLISHED; it was optional in all others. ANNOTE was
+adopted in XBibFile as it appeared to be more appropriate.
diff --git a/biblio/bibtex/utils/xbibfile/inbook.c b/biblio/bibtex/utils/xbibfile/inbook.c
new file mode 100644
index 0000000000..f9cccf1d5c
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/inbook.c
@@ -0,0 +1,581 @@
+/* This file is a part of XBibFile - a system for handling BibTeX references
+ *
+ * Author: Ross Maloney
+ * Date: October 1999
+ * Modified: January 2002
+ *
+ */
+
+#include <stdio.h>
+#include <gtk/gtk.h>
+
+#include "xbibfile.h"
+
+/* This file is a modified copy of book.c so that it handles the
+ * inbook BibTeX reference style */
+
+
+GtkWidget *labelX, *dataX;
+GtkWidget *label0, *data0;
+GtkWidget *label1, *data1;
+GtkWidget *label2, *data2;
+GtkWidget *label3, *data3;
+GtkWidget *label5, *data5;
+GtkWidget *label6, *data6;
+GtkWidget *label7, *data7;
+GtkWidget *label12, *data12;
+GtkWidget *label13, *data13, *textscroll;
+GtkWidget *label14, *data14;
+GtkWidget *label16, *data16;
+GtkWidget *label17, *data17;
+GtkWidget *label19, *data19;
+GtkWidget *label20, *data20;
+GtkWidget *label21, *data21;
+GtkWidget *label22, *data22;
+GtkWidget *label23, *data23;
+GtkWidget *label24, *data24;
+GtkWidget *label30, *data30;
+GtkWidget *label31, *data31;
+GtkWidget *label32, *data32;
+GtkTextBuffer *text13;
+GtkTextIter start, end;
+PangoFontDescription *font_desc;
+
+
+
+
+/* The procedure to insave the book style */
+
+void save_inbook(GtkWidget *widget)
+{
+ extern int format;
+ extern int length[];
+ extern char slate[][];
+ extern int lengthX;
+ extern char slateX[];
+ extern char slate1[];
+ extern char slate2[];
+ extern char slate3[];
+ extern char slate5[];
+ extern char slate6[];
+ extern char slate7[];
+ extern char slate12[];
+ extern char slate13[];
+ extern char slate14[];
+ extern char slate16[];
+ extern char slate17[];
+ extern char slate19[];
+ extern char slate20[];
+ extern char slate21[];
+ extern char slate22[];
+ extern char slate23[];
+ extern char slate24[];
+ extern char slate30[];
+ extern char slate31[];
+ extern char slate32[];
+ extern void error(); /* defined in file error.c */
+ extern FILE *finput; /* defined in file xbibfile.c */
+ extern void close_window(); /* defined in file cleanup.c */
+
+ if (format != 5) {
+ error(widget, GINT_TO_POINTER(5));
+ return;
+ }
+ strcpy(slateX, gtk_entry_get_text(GTK_ENTRY(dataX)));
+ lengthX = strlen(slateX);
+ strcpy(slate3, gtk_entry_get_text(GTK_ENTRY(data3)));
+ length[3] = strlen(slate3);
+ strcpy(slate5, gtk_entry_get_text(GTK_ENTRY(data5)));
+ length[5] = strlen(slate5);
+ strcpy(slate7, gtk_entry_get_text(GTK_ENTRY(data7)));
+ length[7] = strlen(slate7);
+ strcpy(slate16, gtk_entry_get_text(GTK_ENTRY(data16)));
+ length[16] = strlen(slate16);
+ strcpy(slate17, gtk_entry_get_text(GTK_ENTRY(data17)));
+ length[17] = strlen(slate17);
+ strcpy(slate20, gtk_entry_get_text(GTK_ENTRY(data20)));
+ length[20] = strlen(slate20);
+ strcpy(slate24, gtk_entry_get_text(GTK_ENTRY(data24)));
+ length[24] = strlen(slate24);
+ if (!((length[3] || length[7]) && length[20] && length[5]
+ && length[16] && length[17] && length[24] && lengthX)) {
+ error(widget, GINT_TO_POINTER(3));
+ return;
+ }
+ if (!finput) {
+ error(widget, GINT_TO_POINTER(8));
+ return;
+ }
+ /* finput = stdout; */
+ fprintf(finput, "\n@INBOOK{%s,\n", slateX);
+ if (length[3]) fprintf(finput, " author = {%s},\n", slate3);
+ if (length[7]) fprintf(finput, " editor = {%s},\n", slate7);
+ fprintf(finput, " title = {%s},\n", slate20);
+ if (length[5]) fprintf(finput, " chapter = {%s},\n", slate5);
+ if (length[16]) fprintf(finput, " pages = {%s},\n", slate16);
+ fprintf(finput, " publisher = {%s},\n", slate17);
+ fprintf(finput, " year = {%s}", slate24);
+ if (length[23])
+ fprintf(finput, ",\n volume = {%s}", slate23);
+ if (length[14])
+ fprintf(finput, ",\n number = {%s}", slate14);
+ if (length[19])
+ fprintf(finput, ",\n series = {%s}", slate19);
+ if (length[21])
+ fprintf(finput, ",\n type = {%s}", slate21);
+ if (length[1])
+ fprintf(finput, ",\n address = {%s}", slate1);
+ if (length[6])
+ fprintf(finput, ",\n edition = {%s}", slate6);
+ if (length[12])
+ fprintf(finput, ",\n month = {%s}", slate12);
+ if (length[22])
+ fprintf(finput, ",\n URL = {%s}", slate22);
+ if (length[2])
+ fprintf(finput, ",\n note = {%s}", slate2);
+ if (length[13])
+ fprintf(finput, ",\n annote = {%s}", slate13);
+ if (length[30])
+ fprintf(finput, ",\n uplink = {%s}", slate30);
+ if (length[31])
+ fprintf(finput, ",\n crosslink = {%s}", slate31);
+ if (length[32])
+ fprintf(finput, ",\n externlink = {%s}", slate32);
+ fprintf(finput, " }\n");
+ /* indicate that the reference is saved */
+ format = 0;
+ length[1] = 0;
+ length[2] = 0;
+ length[6] = 0;
+ length[12] = 0;
+ length[13] = 0;
+ length[14] = 0;
+ length[19] = 0;
+ length[21] = 0;
+ length[22] = 0;
+ length[23] = 0;
+ length[30] = 0;
+ length[31] = 0;
+ length[32] = 0;
+ close_window(widget); /* remove this reference window */
+}
+
+
+/* Save the inbook optional fields for subsequent saving */
+
+void save_inbookoptions(GtkWidget *widget)
+{
+ extern void close_window();
+ extern int length[];
+ extern char slate1[];
+ extern char slate2[];
+ extern char slate6[];
+ extern char slate12[];
+ extern char slate13[];
+ extern char slate14[];
+ extern char slate19[];
+ extern char slate21[];
+ extern char slate22[];
+ extern char slate23[];
+ char *text_in_field;
+ int count;
+
+ strcpy(slate1, gtk_entry_get_text(GTK_ENTRY(data1)));
+ length[1] = strlen(slate1);
+ strcpy(slate6, gtk_entry_get_text(GTK_ENTRY(data6)));
+ length[6] = strlen(slate6);
+ strcpy(slate12, gtk_entry_get_text(GTK_ENTRY(data12)));
+ length[12] = strlen(slate12);
+ strcpy(slate14, gtk_entry_get_text(GTK_ENTRY(data14)));
+ length[14] = strlen(slate14);
+ strcpy(slate19, gtk_entry_get_text(GTK_ENTRY(data19)));
+ length[19] = strlen(slate19);
+ strcpy(slate21, gtk_entry_get_text(GTK_ENTRY(data21)));
+ length[21] = strlen(slate21);
+ strcpy(slate23, gtk_entry_get_text(GTK_ENTRY(data23)));
+ length[23] = strlen(slate23);
+ strcpy(slate22, gtk_entry_get_text(GTK_ENTRY(data22)));
+ length[22] = strlen(slate22);
+ strcpy(slate2, gtk_entry_get_text(GTK_ENTRY(data2)));
+ length[2] = strlen(slate2);
+ count = gtk_text_buffer_get_char_count(text13);
+ gtk_text_buffer_get_iter_at_offset(text13, &end, count);
+ gtk_text_buffer_get_iter_at_offset(text13, &start, 0);
+ strcpy(slate13, gtk_text_buffer_get_text(text13, &start, &end, FALSE));
+ length[13] = count;
+
+ close_window(widget);
+}
+
+
+
+
+/* Close the option entry window, but first delete the entries */
+
+void close_inbookoptions(GtkWidget *widget)
+{
+ extern void close_window();
+ extern int length[];
+
+ length[23] = 0;
+ length[22] = 0;
+ length[21] = 0;
+ length[19] = 0;
+ length[14] = 0;
+ length[13] = 0;
+ length[12] = 0;
+ length[6] = 0;
+ length[2] = 0;
+ length[1] = 0;
+ close_window(widget);
+}
+
+
+/* The procedure to put the optional inbook style fields on the screen */
+
+void inbookoptions(GtkWidget *widget)
+{
+ extern int format;
+ GtkTooltips *tooltips;
+ GtkWidget *window;
+ GtkWidget *decoration;
+ GtkWidget *totalPane;
+ GtkWidget *field0;
+ GtkWidget *field1;
+ GtkWidget *field2;
+ GtkWidget *field3;
+ GtkWidget *field4;
+ GtkWidget *field5;
+ GtkWidget *field6;
+ GtkWidget *field7;
+ GtkWidget *field8;
+ GtkWidget *field9;
+ GtkWidget *key0;
+ GtkWidget *key1;
+
+ void close_inbookoptions();
+ void save_inbookoptions();
+
+ if (format == 0) {
+ error (widget, GINT_TO_POINTER(6));
+ return;
+ }
+
+ /* create the tooltip help feature */
+
+ tooltips = gtk_tooltips_new();
+
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile create");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ gtk_widget_set_usize(GTK_WIDGET(window), 400, 665);
+ decoration = gtk_frame_new("Optional Inbook fields");
+ gtk_container_add(GTK_CONTAINER(window), decoration);
+ totalPane = gtk_vbox_new(FALSE, 5);
+ gtk_container_add(GTK_CONTAINER(decoration), totalPane);
+
+ /* put the text fields in place */
+ field1 = gtk_hbox_new(FALSE, 0);
+ data23 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data23), TINY);
+ label23 = gtk_label_new("|| Volume:");
+ gtk_widget_set_usize(GTK_WIDGET(label23), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field1), label23, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field1), data23, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field1, FALSE, TRUE, 10);
+
+ field2 = gtk_hbox_new(FALSE, 0);
+ data14 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data14), TINY);
+ label14 = gtk_label_new("|| Number:");
+ gtk_widget_set_usize(GTK_WIDGET(label14), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field2), label14, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field2), data14, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field2, FALSE, TRUE, 2);
+
+ field3 = gtk_hbox_new(FALSE, 0);
+ data19 =gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data19), SMALL);
+ label19 = gtk_label_new("Series:");
+ gtk_widget_set_usize(GTK_WIDGET(label19), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field3), label19, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field3), data19, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field3, FALSE, TRUE, 2);
+
+ field4 = gtk_hbox_new(FALSE, 0);
+ data21 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data21), TINY);
+ label21 = gtk_label_new("Type:");
+ gtk_widget_set_usize(GTK_WIDGET(label21), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field4), label21, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field4), data21, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field4, FALSE, TRUE, 2);
+
+ field5 = gtk_hbox_new(FALSE, 0);
+ data1 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data1), LARGE);
+ label1 = gtk_label_new("Address:");
+ gtk_widget_set_usize(GTK_WIDGET(label1), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field5), label1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field5), data1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field5, FALSE, TRUE, 2);
+
+ field6 = gtk_hbox_new(FALSE, 0);
+ data6 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data6), SMALL);
+ label6 = gtk_label_new("Edition:");
+ gtk_widget_set_usize(GTK_WIDGET(label6), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field6), label6, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field6), data6, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field6, FALSE, TRUE, 2);
+
+ field7 = gtk_hbox_new(FALSE, 0);
+ data12 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data12), TINY);
+ label12 = gtk_label_new("Month:");
+ gtk_widget_set_usize(GTK_WIDGET(label12), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field7), label12, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field7), data12, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field7, FALSE, TRUE, 2);
+
+ field8 = gtk_hbox_new(FALSE, 0);
+ data22 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data22), LARGE);
+ label22 = gtk_label_new("URL:");
+ gtk_widget_set_usize(GTK_WIDGET(label22), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field8), label22, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field8), data22, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field8, FALSE, TRUE, 2);
+
+ field9 = gtk_hbox_new(FALSE, 0);
+ data2 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data2), LARGE);
+ label2 = gtk_label_new("note:");
+ gtk_widget_set_usize(GTK_WIDGET(label2), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field9), label2, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field9), data2, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field9, FALSE, TRUE, 2);
+
+ text13 = gtk_text_buffer_new(NULL);
+ data13 = gtk_text_view_new_with_buffer(text13);
+ textscroll = gtk_scrolled_window_new(NULL, NULL);
+ font_desc = pango_font_description_from_string("Sans 12");
+ gtk_widget_modify_font(data13, font_desc);
+ gtk_container_add(GTK_CONTAINER(textscroll), data13);
+ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(textscroll),
+ GTK_POLICY_AUTOMATIC,
+ GTK_POLICY_AUTOMATIC);
+ gtk_widget_set_usize(GTK_WIDGET(data13), 30, 250);
+ label13 = gtk_label_new("Annotation:");
+ gtk_box_pack_start(GTK_BOX(totalPane), label13, FALSE, TRUE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), textscroll, FALSE, TRUE, 2);
+
+ /* finally, put the cancel button in place */
+ field0 = gtk_hbox_new(FALSE, 0);
+ key0 = gtk_button_new_with_label("CANCEL");
+ gtk_widget_set_usize(GTK_WIDGET(key0), 90, -1);
+ g_signal_connect(GTK_OBJECT(key0), "clicked",
+ G_CALLBACK(close_inbookoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key0,
+ "Discard the contents of this window", NULL);
+ gtk_box_pack_end(GTK_BOX(field0), key0, FALSE, FALSE, 10);
+ key1 = gtk_button_new_with_label("Save");
+ gtk_widget_set_usize(GTK_WIDGET(key1), 90, -1);
+ g_signal_connect(GTK_OBJECT(key1), "clicked",
+ G_CALLBACK(save_inbookoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key1,
+ "Store the contents of this window", NULL);
+ gtk_box_pack_end(GTK_BOX(field0), key1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field0, FALSE, TRUE, 10);
+
+ /* put the composite window on the screen */
+ gtk_widget_show_all(window);
+}
+
+
+
+/* The procedure to put the basic inbook style on the screen */
+
+void inbook(GtkWidget *widget)
+{
+ GtkTooltips *tooltips;
+ GtkWidget *window;
+ GtkWidget *decoration;
+ GtkWidget *totalPane;
+ GtkWidget *opDecoration;
+ GtkWidget *field0;
+ GtkWidget *field1;
+ GtkWidget *option;
+ GtkWidget *controls;
+ GtkWidget *key1;
+ GtkWidget *key2;
+ GtkWidget *key3;
+ GtkWidget *key4;
+ GtkWidget *field2;
+ GtkWidget *field3;
+ GtkWidget *field4;
+ GtkWidget *field5;
+ GtkWidget *field6;
+ GtkWidget *field7;
+ GtkWidget *field8;
+ extern int format;
+ extern char slate0[];
+
+ extern void linkwindow();
+ extern void closure_check(); /* defined in file cleanup.c */
+ extern void close_window(); /* defined in file cleanup.c */
+ void inbookoptions();
+
+ /* create the tooltip help feature */
+
+ tooltips = gtk_tooltips_new();
+
+
+ format = 5; /* indicate processing of an INBOOK */
+
+ /* create the wondow and its top panel */
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile create");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ decoration = gtk_frame_new("InBook type - required fields");
+ gtk_widget_set_usize(GTK_WIDGET(window), 450, 415);
+ gtk_container_add(GTK_CONTAINER(window), decoration);
+ totalPane = gtk_vbox_new(FALSE, 5);
+ gtk_container_add(GTK_CONTAINER(decoration), totalPane);
+
+ field1 = gtk_hbox_new(FALSE,0);
+ dataX = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(dataX), SMALL);
+ gtk_widget_set_usize(GTK_WIDGET(dataX), 345, -1);
+ labelX = gtk_label_new("Tag/s:");
+ gtk_widget_set_usize(GTK_WIDGET(labelX), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field1), labelX, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field1), dataX, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field1, FALSE, TRUE, 10);
+
+ field0 = gtk_hbox_new(FALSE, 0);
+ data0 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data0), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data0), 345, -1);
+ label0 = gtk_label_new("File used:");
+ gtk_widget_set_usize(GTK_WIDGET(label0), 65, -1);
+ gtk_entry_set_text(GTK_ENTRY(data0), slate0);
+ gtk_box_pack_start(GTK_BOX(field0), label0, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field0), data0, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field0, FALSE, TRUE, 2);
+
+ /* position the remaining field entries */
+ field2 = gtk_hbox_new(FALSE, 0);
+ data3 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data3), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data3), 345, -1);
+ label3 = gtk_label_new("|| Authors/s:");
+ gtk_widget_set_usize(GTK_WIDGET(label3), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field2), label3, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field2), data3, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field2, FALSE, TRUE, 2);
+
+ field3 = gtk_hbox_new(FALSE, 0);
+ data7 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data7), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data7), 345, -1);
+ label7 = gtk_label_new("|| Editors/s:");
+ gtk_widget_set_usize(GTK_WIDGET(label7), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field3), label7, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field3), data7, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field3, FALSE, TRUE, 2);
+
+ field4 = gtk_hbox_new(FALSE, 0);
+ data20 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data20), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data20), 345, -1);
+ label20 = gtk_label_new("Title:");
+ gtk_widget_set_usize(GTK_WIDGET(label20), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field4), label20, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field4), data20, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field4, FALSE, TRUE, 2);
+
+ field5 = gtk_hbox_new(FALSE, 0);
+ data5 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data5), TINY);
+ gtk_widget_set_usize(GTK_WIDGET(data5), 345, -1);
+ label5 = gtk_label_new("|| Chapter:");
+ gtk_widget_set_usize(GTK_WIDGET(label5), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field5), label5, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field5), data5, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field5, FALSE, TRUE, 2);
+
+ field6 = gtk_hbox_new(FALSE, 0);
+ data16 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data16), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data16), 345, -1);
+ label16 = gtk_label_new("|| Pages:");
+ gtk_widget_set_usize(GTK_WIDGET(label16), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field6), label16, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field6), data16, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field6, FALSE, TRUE, 2);
+
+ field7 = gtk_hbox_new(FALSE, 0);
+ data17 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data17), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data17), 345, -1);
+ label17 = gtk_label_new("Publisher:");
+ gtk_widget_set_usize(GTK_WIDGET(label17), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field7), label17, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field7), data17, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field7, FALSE, TRUE, 2);
+
+ field8 = gtk_hbox_new(FALSE, 0);
+ data24 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data24), TINY);
+ gtk_widget_set_usize(GTK_WIDGET(data24), 200, -1);
+ label24 = gtk_label_new("Year:");
+ gtk_widget_set_usize(GTK_WIDGET(label24), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field8), label24, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field8), data24, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field8, FALSE, TRUE, 2);
+
+ /* put the control keys on to the window */
+ option = gtk_hbox_new(FALSE, 0);
+ key2 = gtk_button_new_with_label("Optional fields");
+ gtk_widget_set_usize(GTK_WIDGET(key2), 130, -1);
+ g_signal_connect(GTK_OBJECT(key2), "clicked",
+ G_CALLBACK(inbookoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key2,
+ "Click here to get window containing remaining Inbook fields",
+ NULL);
+ gtk_box_pack_start(GTK_BOX(option), key2, FALSE, FALSE, 10);
+ controls = gtk_hbox_new(FALSE, 0);
+ key1 = gtk_button_new_with_label("Save");
+ gtk_widget_set_usize(GTK_WIDGET(key1), 90, -1);
+ g_signal_connect(GTK_OBJECT(key1), "clicked",
+ G_CALLBACK(save_inbook), NULL);
+ gtk_tooltips_set_tip(tooltips, key1,
+ "Store this Inbook reference in database", NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key1, FALSE, FALSE, 30);
+ key3 = gtk_button_new_with_label("Cancel");
+ gtk_widget_set_usize(GTK_WIDGET(key3), 90, -1);
+ g_signal_connect(GTK_OBJECT(key3), "clicked",
+ G_CALLBACK(closure_check), NULL);
+ gtk_tooltips_set_tip(tooltips, key3,
+ "Discard this Inbook entry", NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key3, FALSE, FALSE, 30);
+ key4 = gtk_button_new_with_label("Linking");
+ gtk_widget_set_usize(GTK_WIDGET(key4), 90, -1);
+ g_signal_connect(GTK_OBJECT(key4), "clicked",
+ G_CALLBACK(linkwindow), NULL);
+ gtk_tooltips_set_tip(tooltips, key4,
+ "Click here for window to create links for this Inbook",
+ NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key4, FALSE, FALSE, 30);
+ gtk_box_pack_start(GTK_BOX(totalPane), option, FALSE, TRUE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), controls, FALSE, TRUE, 10);
+
+
+ format = 5;
+
+ /* make the composite visible on screen */
+ gtk_widget_show_all(window);
+}
+
+
diff --git a/biblio/bibtex/utils/xbibfile/incol.c b/biblio/bibtex/utils/xbibfile/incol.c
new file mode 100644
index 0000000000..770e095c81
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/incol.c
@@ -0,0 +1,605 @@
+/* This file is a part of XBibFile - a system for handling BibTeX references
+ *
+ * Author: Ross Maloney
+ * Date: October 1999
+ * Modified: January 2002
+ *
+ */
+
+#include <stdio.h>
+#include <gtk/gtk.h>
+
+#include "xbibfile.h"
+
+/* This file is a modified copy of inproc.c so that it handles the
+ * incollection BibTeX reference style */
+
+
+GtkWidget *labelX, *dataX;
+GtkWidget *label0, *data0;
+GtkWidget *label1, *data1;
+GtkWidget *label2, *data2;
+GtkWidget *label3, *data3;
+GtkWidget *label4, *data4;
+GtkWidget *label5, *data5;
+GtkWidget *label6, *data6;
+GtkWidget *label7, *data7;
+GtkWidget *label12, *data12;
+GtkWidget *label13, *data13, *textscroll;
+GtkWidget *label14, *data14;
+GtkWidget *label16, *data16;
+GtkWidget *label17, *data17;
+GtkWidget *label19, *data19;
+GtkWidget *label20, *data20;
+GtkWidget *label21, *data21;
+GtkWidget *label22, *data22;
+GtkWidget *label23, *data23;
+GtkWidget *label24, *data24;
+GtkWidget *label30, *data30;
+GtkWidget *label31, *data31;
+GtkWidget *label32, *data32;
+GtkTextBuffer *text13;
+GtkTextIter start, end;
+PangoFontDescription *font_desc;
+
+
+
+
+/* The procedure to save the incollection style */
+
+void save_incol(GtkWidget *widget)
+{
+ extern int format;
+ extern int length[];
+ extern char slate[][];
+ extern int lengthX;
+ extern char slateX[];
+ extern char slate1[];
+ extern char slate2[];
+ extern char slate3[];
+ extern char slate4[];
+ extern char slate5[];
+ extern char slate6[];
+ extern char slate7[];
+ extern char slate12[];
+ extern char slate13[];
+ extern char slate14[];
+ extern char slate16[];
+ extern char slate17[];
+ extern char slate19[];
+ extern char slate20[];
+ extern char slate21[];
+ extern char slate22[];
+ extern char slate23[];
+ extern char slate24[];
+ extern char slate30[];
+ extern char slate31[];
+ extern char slate32[];
+ extern void error(); /* defined in file error.c */
+ extern FILE *finput; /* defined in file xbibfile.c */
+ extern void close_window(); /* defined in file cleanup.c */
+
+ if (format != 6) {
+ error(widget, GINT_TO_POINTER(5));
+ return;
+ }
+ strcpy(slateX, gtk_entry_get_text(GTK_ENTRY(dataX)));
+ lengthX = strlen(slateX);
+ strcpy(slate3, gtk_entry_get_text(GTK_ENTRY(data3)));
+ length[3] = strlen(slate3);
+ strcpy(slate4, gtk_entry_get_text(GTK_ENTRY(data4)));
+ length[4] = strlen(slate4);
+ strcpy(slate17, gtk_entry_get_text(GTK_ENTRY(data17)));
+ length[17] = strlen(slate17);
+ strcpy(slate20, gtk_entry_get_text(GTK_ENTRY(data20)));
+ length[20] = strlen(slate20);
+ strcpy(slate24, gtk_entry_get_text(GTK_ENTRY(data24)));
+ length[24] = strlen(slate24);
+ if (!(length[3] && length[4] && length[17] && length[20] && length[24]
+ && lengthX)) {
+ error(widget, GINT_TO_POINTER(3));
+ return;
+ }
+ if (!finput) {
+ error(widget, GINT_TO_POINTER(8));
+ return;
+ }
+ /* finput = stdout; */
+ fprintf(finput, "\n@INCOLLECTION{%s,\n", slateX);
+ fprintf(finput, " author = {%s},\n", slate3);
+ fprintf(finput, " title = {%s},\n", slate20);
+ fprintf(finput, " booktitle = {%s},\n", slate4);
+ fprintf(finput, " publisher = {%s},\n", slate17);
+ fprintf(finput, " year = {%s}", slate24);
+ if (length[7])
+ fprintf(finput, ",\n editor = {%s}", slate7);
+ if (length[23])
+ fprintf(finput, ",\n volume = {%s}", slate23);
+ if (length[14])
+ fprintf(finput, ",\n number = {%s}", slate14);
+ if (length[19])
+ fprintf(finput, ",\n series = {%s}", slate19);
+ if (length[21])
+ fprintf(finput, ",\n type = {%s}", slate21);
+ if (length[5])
+ fprintf(finput, ",\n chapter = {%s}", slate5);
+ if (length[16])
+ fprintf(finput, ",\n pages = {%s}", slate16);
+ if (length[1])
+ fprintf(finput, ",\n address = {%s}", slate1);
+ if (length[6])
+ fprintf(finput, ",\n edition = {%s}", slate6);
+ if (length[12])
+ fprintf(finput, ",\n month = {%s}", slate12);
+ if (length[22])
+ fprintf(finput, ",\n URL = {%s}", slate22);
+ if (length[2])
+ fprintf(finput, ",\n note = {%s}", slate2);
+ if (length[13])
+ fprintf(finput, ",\n annote = {%s}", slate13);
+ if (length[30])
+ fprintf(finput, ",\n uplink = {%s}", slate30);
+ if (length[31])
+ fprintf(finput, ",\n crosslink = {%s}", slate31);
+ if (length[32])
+ fprintf(finput, ",\n externlink = {%s}", slate32);
+ fprintf(finput, " }\n");
+ /* indicate that the reference is saved */
+ format = 0;
+ length[1] = 0;
+ length[2] = 0;
+ length[5] = 0;
+ length[6] = 0;
+ length[7] = 0;
+ length[12] = 0;
+ length[13] = 0;
+ length[14] = 0;
+ length[16] = 0;
+ length[19] = 0;
+ length[21] = 0;
+ length[22] = 0;
+ length[23] = 0;
+ length[30] = 0;
+ length[31] = 0;
+ length[32] = 0;
+ close_window(widget); /* remove this reference window */
+}
+
+
+/* Save the incollection optional fields for subsequent saving */
+
+void save_incoloptions(GtkWidget *widget)
+{
+ extern void close_window();
+ extern int length[];
+ extern char slate1[];
+ extern char slate2[];
+ extern char slate5[];
+ extern char slate6[];
+ extern char slate7[];
+ extern char slate12[];
+ extern char slate13[];
+ extern char slate14[];
+ extern char slate16[];
+ extern char slate19[];
+ extern char slate21[];
+ extern char slate22[];
+ extern char slate23[];
+ char *text_in_field;
+ int count;
+
+ strcpy(slate1, gtk_entry_get_text(GTK_ENTRY(data1)));
+ length[1] = strlen(slate1);
+ strcpy(slate5, gtk_entry_get_text(GTK_ENTRY(data5)));
+ length[5] = strlen(slate5);
+ strcpy(slate6, gtk_entry_get_text(GTK_ENTRY(data6)));
+ length[6] = strlen(slate6);
+ strcpy(slate7, gtk_entry_get_text(GTK_ENTRY(data7)));
+ length[7] = strlen(slate7);
+ strcpy(slate12, gtk_entry_get_text(GTK_ENTRY(data12)));
+ length[12] = strlen(slate12);
+ strcpy(slate14, gtk_entry_get_text(GTK_ENTRY(data14)));
+ length[14] = strlen(slate14);
+ strcpy(slate16, gtk_entry_get_text(GTK_ENTRY(data16)));
+ length[16] = strlen(slate16);
+ strcpy(slate19, gtk_entry_get_text(GTK_ENTRY(data19)));
+ length[19] = strlen(slate19);
+ strcpy(slate21, gtk_entry_get_text(GTK_ENTRY(data21)));
+ length[21] = strlen(slate21);
+ strcpy(slate23, gtk_entry_get_text(GTK_ENTRY(data23)));
+ length[23] = strlen(slate23);
+ strcpy(slate22, gtk_entry_get_text(GTK_ENTRY(data22)));
+ length[22] = strlen(slate22);
+ strcpy(slate2, gtk_entry_get_text(GTK_ENTRY(data2)));
+ length[2] = strlen(slate2);
+ count = gtk_text_buffer_get_char_count(text13);
+ gtk_text_buffer_get_iter_at_offset(text13, &end, count);
+ gtk_text_buffer_get_iter_at_offset(text13, &start, 0);
+ strcpy(slate13, gtk_text_buffer_get_text(text13, &start, &end, FALSE));
+ length[13] = count;
+
+ close_window(widget);
+}
+
+
+
+
+/* Close the option entry window, but first delete the entries */
+
+void close_incoloptions(GtkWidget *widget)
+{
+ extern void close_window();
+ extern int length[];
+
+ length[23] = 0;
+ length[22] = 0;
+ length[21] = 0;
+ length[19] = 0;
+ length[16] = 0;
+ length[14] = 0;
+ length[13] = 0;
+ length[12] = 0;
+ length[7] = 0;
+ length[6] = 0;
+ length[5] = 0;
+ length[2] = 0;
+ length[1] = 0;
+ close_window(widget);
+}
+
+
+/* The procedure to put the optional incollection style fields
+ * on the screen */
+
+void incoloptions(GtkWidget *widget)
+{
+ extern int format;
+ GtkTooltips *tooltips;
+ GtkWidget *window;
+ GtkWidget *decoration;
+ GtkWidget *totalPane;
+ GtkWidget *field0;
+ GtkWidget *field1;
+ GtkWidget *field2;
+ GtkWidget *field3;
+ GtkWidget *field4;
+ GtkWidget *field5;
+ GtkWidget *field6;
+ GtkWidget *field7;
+ GtkWidget *field8;
+ GtkWidget *field9;
+ GtkWidget *field10;
+ GtkWidget *field11;
+ GtkWidget *field12;
+ GtkWidget *key0;
+ GtkWidget *key1;
+
+ void close_incoloptions();
+ void save_incoloptions();
+
+ if (format == 0) {
+ error (widget, GINT_TO_POINTER(6));
+ return;
+ }
+
+ /* create the tooltip help feature */
+
+ tooltips = gtk_tooltips_new();
+
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile create");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ gtk_widget_set_usize(GTK_WIDGET(window), 400, 760);
+ decoration = gtk_frame_new("Optional InCollection fields");
+ gtk_container_add(GTK_CONTAINER(window), decoration);
+ totalPane = gtk_vbox_new(FALSE, 5);
+ gtk_container_add(GTK_CONTAINER(decoration), totalPane);
+
+ /* put the text fields in place */
+ field1 = gtk_hbox_new(FALSE, 0);
+ data7 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data7), LARGE);
+ label7 = gtk_label_new("Editor/s:");
+ gtk_widget_set_usize(GTK_WIDGET(label7), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field1), label7, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field1), data7, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field1, FALSE, TRUE, 10);
+
+ field2 = gtk_hbox_new(FALSE, 0);
+ data23 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data23), TINY);
+ label23 = gtk_label_new("|| Volume:");
+ gtk_widget_set_usize(GTK_WIDGET(label23), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field2), label23, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field2), data23, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field2, FALSE, TRUE, 2);
+
+ field3 = gtk_hbox_new(FALSE, 0);
+ data14 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data14), TINY);
+ label14 = gtk_label_new("|| Number:");
+ gtk_widget_set_usize(GTK_WIDGET(label14), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field3), label14, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field3), data14, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field3, FALSE, TRUE, 2);
+
+ field4 = gtk_hbox_new(FALSE, 0);
+ data19 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data19), SMALL);
+ label19 = gtk_label_new("Series:");
+ gtk_widget_set_usize(GTK_WIDGET(label19), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field4), label19, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field4), data19, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field4, FALSE, TRUE, 2);
+
+ field5 = gtk_hbox_new(FALSE, 0);
+ data21 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data21), TINY);
+ label21 = gtk_label_new("Type:");
+ gtk_widget_set_usize(GTK_WIDGET(label21), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field5), label21, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field5), data21, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field5, FALSE, TRUE, 2);
+
+ field6 = gtk_hbox_new(FALSE, 0);
+ data5 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data5), TINY);
+ label5 = gtk_label_new("Chapter:");
+ gtk_widget_set_usize(GTK_WIDGET(label5), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field6), label5, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field6), data5, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field6, FALSE, TRUE, 2);
+
+ field7 = gtk_hbox_new(FALSE, 0);
+ data16 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data16), LARGE);
+ label16 = gtk_label_new("Pages:");
+ gtk_widget_set_usize(GTK_WIDGET(label16), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field7), label16, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field7), data16, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field7, FALSE, TRUE, 2);
+
+ field8 = gtk_hbox_new(FALSE, 0);
+ data1 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data1), LARGE);
+ label1 = gtk_label_new("Address:");
+ gtk_widget_set_usize(GTK_WIDGET(label1), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field8), label1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field8), data1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field8, FALSE, TRUE, 2);
+
+ field9 = gtk_hbox_new(FALSE, 0);
+ data6 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data6), SMALL);
+ label6 = gtk_label_new("Edition:");
+ gtk_widget_set_usize(GTK_WIDGET(label6), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field9), label6, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field9), data6, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field9, FALSE, TRUE, 2);
+
+ field10 = gtk_hbox_new(FALSE, 0);
+ data12 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data12), TINY);
+ label12 = gtk_label_new("Month:");
+ gtk_widget_set_usize(GTK_WIDGET(label12), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field10), label12, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field10), data12, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field10, FALSE, TRUE, 2);
+
+ field11 = gtk_hbox_new(FALSE, 0);
+ data22 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data22), LARGE);
+ label22 = gtk_label_new("URL:");
+ gtk_widget_set_usize(GTK_WIDGET(label22), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field11), label22, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field11), data22, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field11, FALSE, TRUE, 2);
+
+ field12 = gtk_hbox_new(FALSE, 0);
+ data2 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data2), LARGE);
+ label2 = gtk_label_new("note:");
+ gtk_widget_set_usize(GTK_WIDGET(label2), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field12), label2, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field12), data2, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field12, FALSE, TRUE, 2);
+
+ text13 = gtk_text_buffer_new(NULL);
+ data13 = gtk_text_view_new_with_buffer(text13);
+ textscroll = gtk_scrolled_window_new(NULL, NULL);
+ font_desc = pango_font_description_from_string("Sans 12");
+ gtk_widget_modify_font(data13, font_desc);
+ gtk_container_add(GTK_CONTAINER(textscroll), data13);
+ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(textscroll),
+ GTK_POLICY_AUTOMATIC,
+ GTK_POLICY_AUTOMATIC);
+ gtk_widget_set_usize(GTK_WIDGET(data13), 30, 250);
+ label13 = gtk_label_new("Annotation:");
+ gtk_box_pack_start(GTK_BOX(totalPane), label13, FALSE, TRUE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), textscroll, FALSE, TRUE, 2);
+
+ /* finally, put the cancel button in place */
+ field0 = gtk_hbox_new(FALSE, 0);
+ key0 = gtk_button_new_with_label("CANCEL");
+ gtk_widget_set_usize(GTK_WIDGET(key0), 90, -1);
+ g_signal_connect(GTK_OBJECT(key0), "clicked",
+ G_CALLBACK(close_incoloptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key0,
+ "Discard the contents of this window", NULL);
+ gtk_box_pack_end(GTK_BOX(field0), key0, FALSE, FALSE, 10);
+ key1 = gtk_button_new_with_label("Save");
+ gtk_widget_set_usize(GTK_WIDGET(key1), 90, -1);
+ g_signal_connect(GTK_OBJECT(key1), "clicked",
+ G_CALLBACK(save_incoloptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key1,
+ "Store the contents of this window", NULL);
+ gtk_box_pack_end(GTK_BOX(field0), key1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field0, FALSE, TRUE, 10);
+
+ /* put the composite window on the screen */
+ gtk_widget_show_all(window);
+}
+
+
+
+/* The procedure to put the basic incollection style on the screen */
+
+void incol(GtkWidget *widget)
+{
+ GtkTooltips *tooltips;
+ GtkWidget *window;
+ GtkWidget *decoration;
+ GtkWidget *totalPane;
+ GtkWidget *opDecoration;
+ GtkWidget *field0;
+ GtkWidget *field1;
+ GtkWidget *option;
+ GtkWidget *controls;
+ GtkWidget *key1;
+ GtkWidget *key2;
+ GtkWidget *key3;
+ GtkWidget *key4;
+ GtkWidget *field2;
+ GtkWidget *field3;
+ GtkWidget *field4;
+ GtkWidget *field5;
+ GtkWidget *field6;
+ extern int format;
+ extern char slate0[];
+
+ extern void linkwindow();
+ extern void closure_check(); /* defined in file cleanup.c */
+ extern void close_window(); /* defined in file cleanup.c */
+ void incoloptions();
+ void save_incol();
+
+ /* create the tooltip help feature */
+
+ tooltips = gtk_tooltips_new();
+
+ format = 6; /* indicate processing of an INCOLLECTION */
+
+ /* create the wondow and its top panel */
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile create");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ decoration = gtk_frame_new("InCollection type - required fields");
+ gtk_widget_set_usize(GTK_WIDGET(window), 450, 355);
+ gtk_container_add(GTK_CONTAINER(window), decoration);
+ totalPane = gtk_vbox_new(FALSE, 5);
+ gtk_container_add(GTK_CONTAINER(decoration), totalPane);
+
+ field1 = gtk_hbox_new(FALSE,0);
+ dataX = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(dataX), SMALL);
+ gtk_widget_set_usize(GTK_WIDGET(dataX), 345, -1);
+ labelX = gtk_label_new("Tag/s:");
+ gtk_widget_set_usize(GTK_WIDGET(labelX), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field1), labelX, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field1), dataX, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field1, FALSE, TRUE, 10);
+
+ field0 = gtk_hbox_new(FALSE, 0);
+ data0 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data0), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data0), 345, -1);
+ label0 = gtk_label_new("File used:");
+ gtk_widget_set_usize(GTK_WIDGET(label0), 65, -1);
+ gtk_entry_set_text(GTK_ENTRY(data0), slate0);
+ gtk_box_pack_start(GTK_BOX(field0), label0, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field0), data0, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field0, FALSE, TRUE, 2);
+
+ /* position the remaining field entries */
+ field2 = gtk_hbox_new(FALSE, 0);
+ data3 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data3), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data3), 345, -1);
+ label3 = gtk_label_new("Authors/s:");
+ gtk_widget_set_usize(GTK_WIDGET(label3), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field2), label3, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field2), data3, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field2, FALSE, TRUE, 2);
+
+ field3 = gtk_hbox_new(FALSE, 0);
+ data20 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data20), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data20), 345, -1);
+ label20 = gtk_label_new("Title:");
+ gtk_widget_set_usize(GTK_WIDGET(label20), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field3), label20, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field3), data20, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field3, FALSE, TRUE, 2);
+
+ field4 = gtk_hbox_new(FALSE, 0);
+ data4 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data4), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data4), 345, -1);
+ label4 = gtk_label_new("BookTitle:");
+ gtk_widget_set_usize(GTK_WIDGET(label4), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field4), label4, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field4), data4, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field4, FALSE, TRUE, 2);
+
+ field5 = gtk_hbox_new(FALSE, 0);
+ data17 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data17), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data4), 345, -1);
+ label17 = gtk_label_new("Publisher:");
+ gtk_widget_set_usize(GTK_WIDGET(label17), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field5), label17, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field5), data17, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field5, FALSE, TRUE, 2);
+
+ field6 = gtk_hbox_new(FALSE, 0);
+ data24 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data24), TINY);
+ gtk_widget_set_usize(GTK_WIDGET(data24), 200, -1);
+ label24 = gtk_label_new("Year:");
+ gtk_widget_set_usize(GTK_WIDGET(label24), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field6), label24, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field6), data24, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field6, FALSE, TRUE, 2);
+
+ /* put the control keys on to the window */
+ option = gtk_hbox_new(FALSE, 0);
+ key2 = gtk_button_new_with_label("Optional fields");
+ gtk_widget_set_usize(GTK_WIDGET(key2), 130, -1);
+ g_signal_connect(GTK_OBJECT(key2), "clicked",
+ G_CALLBACK(incoloptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key2,
+ "Click here to get window containing remaining Incollection fields",
+ NULL);
+ gtk_box_pack_start(GTK_BOX(option), key2, FALSE, FALSE, 10);
+ controls = gtk_hbox_new(FALSE, 0);
+ key1 = gtk_button_new_with_label("Save");
+ gtk_widget_set_usize(GTK_WIDGET(key1), 90, -1);
+ g_signal_connect(GTK_OBJECT(key1), "clicked",
+ G_CALLBACK(save_incol), NULL);
+ gtk_tooltips_set_tip(tooltips, key1,
+ "Store this Incollection reference in database", NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key1, FALSE, FALSE, 30);
+ key3 = gtk_button_new_with_label("Cancel");
+ gtk_widget_set_usize(GTK_WIDGET(key3), 90, -1);
+ g_signal_connect(GTK_OBJECT(key3), "clicked",
+ G_CALLBACK(closure_check), NULL);
+ gtk_tooltips_set_tip(tooltips, key3,
+ "Discard this Incollection entry", NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key3, FALSE, FALSE, 30);
+ key4 = gtk_button_new_with_label("Linking");
+ gtk_widget_set_usize(GTK_WIDGET(key4), 90, -1);
+ g_signal_connect(GTK_OBJECT(key4), "clicked",
+ G_CALLBACK(linkwindow), NULL);
+ gtk_tooltips_set_tip(tooltips, key4,
+ "Click here for window to create links for this Incollection",
+ NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key4, FALSE, FALSE, 30);
+ gtk_box_pack_start(GTK_BOX(totalPane), option, FALSE, TRUE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), controls, FALSE, TRUE, 10);
+
+
+ format = 6;
+
+ /* make the composite visible on screen */
+ gtk_widget_show_all(window);
+}
diff --git a/biblio/bibtex/utils/xbibfile/inproc.c b/biblio/bibtex/utils/xbibfile/inproc.c
new file mode 100644
index 0000000000..814ea35f1a
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/inproc.c
@@ -0,0 +1,571 @@
+/* This file is a part of XBibFile - a system for handling BibTeX references
+ *
+ * Author: Ross Maloney
+ * Date: October 1999
+ * Modified: January 2002
+ *
+ */
+
+#include <stdio.h>
+#include <gtk/gtk.h>
+
+#include "xbibfile.h"
+
+/* This file is a modified copy of article.c so that it handles the
+ * inproceedings BibTeX reference style */
+
+
+GtkWidget *labelX, *dataX;
+GtkWidget *label0, *data0;
+GtkWidget *label1, *data1;
+GtkWidget *label2, *data2;
+GtkWidget *label3, *data3;
+GtkWidget *label4, *data4;
+GtkWidget *label7, *data7;
+GtkWidget *label12, *data12;
+GtkWidget *label13, *data13, *textscroll;
+GtkWidget *label14, *data14;
+GtkWidget *label15, *data15;
+GtkWidget *label16, *data16;
+GtkWidget *label17, *data17;
+GtkWidget *label19, *data19;
+GtkWidget *label20, *data20;
+GtkWidget *label22, *data22;
+GtkWidget *label23, *data23;
+GtkWidget *label24, *data24;
+GtkWidget *label30, *data30;
+GtkWidget *label31, *data31;
+GtkWidget *label32, *data32;
+GtkTextBuffer *text13;
+GtkTextIter start, end;
+PangoFontDescription *font_desc;
+
+
+
+
+/* The procedure to save the inproceedings style */
+
+void save_inproc(GtkWidget *widget)
+{
+ extern int format;
+ extern int length[];
+ extern char slate[][];
+ extern int lengthX;
+ extern char slateX[];
+ extern char slate1[];
+ extern char slate2[];
+ extern char slate3[];
+ extern char slate4[];
+ extern char slate7[];
+ extern char slate12[];
+ extern char slate13[];
+ extern char slate14[];
+ extern char slate15[];
+ extern char slate16[];
+ extern char slate17[];
+ extern char slate19[];
+ extern char slate20[];
+ extern char slate22[];
+ extern char slate23[];
+ extern char slate24[];
+ extern char slate30[];
+ extern char slate31[];
+ extern char slate32[];
+ extern void error(); /* defined in file error.c */
+ extern FILE *finput; /* defined in file xbibfile.c */
+ extern void close_window(); /* defined in file cleanup.c */
+
+ if (format != 7) {
+ error(widget, GINT_TO_POINTER(5));
+ return;
+ }
+ strcpy(slateX, gtk_entry_get_text(GTK_ENTRY(dataX)));
+ lengthX = strlen(slateX);
+ strcpy(slate3, gtk_entry_get_text(GTK_ENTRY(data3)));
+ length[3] = strlen(slate3);
+ strcpy(slate4, gtk_entry_get_text(GTK_ENTRY(data4)));
+ length[4] = strlen(slate4);
+ strcpy(slate20, gtk_entry_get_text(GTK_ENTRY(data20)));
+ length[20] = strlen(slate20);
+ strcpy(slate24, gtk_entry_get_text(GTK_ENTRY(data24)));
+ length[24] = strlen(slate24);
+ if (!(length[3] && length[4] && length[20] && length[24] && lengthX)) {
+ error(widget, GINT_TO_POINTER(3));
+ return;
+ }
+ if (!finput) {
+ error(widget, GINT_TO_POINTER(8));
+ return;
+ }
+ /* finput = stdout; */
+ fprintf(finput, "\n@INPROCEEDINGS{%s,\n", slateX);
+ fprintf(finput, " author = {%s},\n", slate3);
+ fprintf(finput, " title = {%s},\n", slate20);
+ fprintf(finput, " booktitle = {%s},\n", slate4);
+ fprintf(finput, " year = {%s}", slate24);
+ if (length[7])
+ fprintf(finput, ",\n editor = {%s}", slate7);
+ if (length[23])
+ fprintf(finput, ",\n volume = {%s}", slate23);
+ if (length[14])
+ fprintf(finput, ",\n number = {%s}", slate14);
+ if (length[19])
+ fprintf(finput, ",\n series = {%s}", slate19);
+ if (length[16])
+ fprintf(finput, ",\n pages = {%s}", slate16);
+ if (length[1])
+ fprintf(finput, ",\n address = {%s}", slate1);
+ if (length[12])
+ fprintf(finput, ",\n month = {%s}", slate12);
+ if (length[15])
+ fprintf(finput, ",\n organization = {%s}", slate15);
+ if (length[17])
+ fprintf(finput, ",\n publisher = {%s}", slate17);
+ if (length[22])
+ fprintf(finput, ",\n URL = {%s}", slate22);
+ if (length[2])
+ fprintf(finput, ",\n note = {%s}", slate2);
+ if (length[13])
+ fprintf(finput, ",\n annote = {%s}", slate13);
+ if (length[30])
+ fprintf(finput, ",\n uplink = {%s}", slate30);
+ if (length[31])
+ fprintf(finput, ",\n crosslink = {%s}", slate31);
+ if (length[32])
+ fprintf(finput, ",\n externlink = {%s}", slate32);
+ fprintf(finput, " }\n");
+ /* indicate that the reference is saved */
+ format = 0;
+ length[1] = 0;
+ length[2] = 0;
+ length[7] = 0;
+ length[12] = 0;
+ length[13] = 0;
+ length[14] = 0;
+ length[15] = 0;
+ length[16] = 0;
+ length[17] = 0;
+ length[19] = 0;
+ length[22] = 0;
+ length[23] = 0;
+ length[30] = 0;
+ length[31] = 0;
+ length[32] = 0;
+ close_window(widget); /* remove this reference window */
+}
+
+
+/* Save the inproceedings optional fields for subsequent saving */
+
+void save_inprocoptions(GtkWidget *widget)
+{
+ extern void close_window();
+ extern int length[];
+ extern char slate1[];
+ extern char slate2[];
+ extern char slate7[];
+ extern char slate12[];
+ extern char slate13[];
+ extern char slate14[];
+ extern char slate15[];
+ extern char slate16[];
+ extern char slate17[];
+ extern char slate19[];
+ extern char slate22[];
+ extern char slate23[];
+ char *text_in_field;
+ int count;
+
+ strcpy(slate1, gtk_entry_get_text(GTK_ENTRY(data1)));
+ length[1] = strlen(slate1);
+ strcpy(slate7, gtk_entry_get_text(GTK_ENTRY(data7)));
+ length[7] = strlen(slate7);
+ strcpy(slate12, gtk_entry_get_text(GTK_ENTRY(data12)));
+ length[12] = strlen(slate12);
+ strcpy(slate14, gtk_entry_get_text(GTK_ENTRY(data14)));
+ length[14] = strlen(slate14);
+ strcpy(slate15, gtk_entry_get_text(GTK_ENTRY(data15)));
+ length[15] = strlen(slate15);
+ strcpy(slate16, gtk_entry_get_text(GTK_ENTRY(data16)));
+ length[16] = strlen(slate16);
+ strcpy(slate17, gtk_entry_get_text(GTK_ENTRY(data17)));
+ length[17] = strlen(slate17);
+ strcpy(slate19, gtk_entry_get_text(GTK_ENTRY(data19)));
+ length[19] = strlen(slate19);
+ strcpy(slate23, gtk_entry_get_text(GTK_ENTRY(data23)));
+ length[23] = strlen(slate23);
+ strcpy(slate22, gtk_entry_get_text(GTK_ENTRY(data22)));
+ length[22] = strlen(slate22);
+ strcpy(slate2, gtk_entry_get_text(GTK_ENTRY(data2)));
+ length[2] = strlen(slate2);
+ count = gtk_text_buffer_get_char_count(text13);
+ gtk_text_buffer_get_iter_at_offset(text13, &end, count);
+ gtk_text_buffer_get_iter_at_offset(text13, &start, 0);
+ strcpy(slate13, gtk_text_buffer_get_text(text13, &start, &end, FALSE));
+ length[13] = count;
+
+ close_window(widget);
+}
+
+
+
+
+/* Close the option entry window, but first delete the entries */
+
+void close_inprocoptions(GtkWidget *widget)
+{
+ extern void close_window();
+ extern int length[];
+
+ length[23] = 0;
+ length[22] = 0;
+ length[19] = 0;
+ length[17] = 0;
+ length[16] = 0;
+ length[15] = 0;
+ length[14] = 0;
+ length[13] = 0;
+ length[12] = 0;
+ length[7] = 0;
+ length[2] = 0;
+ length[1] = 0;
+ close_window(widget);
+}
+
+
+/* The procedure to put the optional inproceedings style fields
+ * on the screen */
+
+void inprocoptions(GtkWidget *widget)
+{
+ extern int format;
+ GtkTooltips *tooltips;
+ GtkWidget *window;
+ GtkWidget *decoration;
+ GtkWidget *totalPane;
+ GtkWidget *field0;
+ GtkWidget *field1;
+ GtkWidget *field2;
+ GtkWidget *field3;
+ GtkWidget *field4;
+ GtkWidget *field5;
+ GtkWidget *field6;
+ GtkWidget *field7;
+ GtkWidget *field8;
+ GtkWidget *field9;
+ GtkWidget *field10;
+ GtkWidget *field11;
+ GtkWidget *key0;
+ GtkWidget *key1;
+
+ void close_inprocoptions();
+ void save_inprocoptions();
+
+ if (format == 0) {
+ error (widget, GINT_TO_POINTER(6));
+ return;
+ }
+
+ /* create the tooltip help feature */
+
+ tooltips = gtk_tooltips_new();
+
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile create");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ gtk_widget_set_usize(GTK_WIDGET(window), 400, 730);
+ decoration = gtk_frame_new("Optional InProceedings fields");
+ gtk_container_add(GTK_CONTAINER(window), decoration);
+ totalPane = gtk_vbox_new(FALSE, 5);
+ gtk_container_add(GTK_CONTAINER(decoration), totalPane);
+
+ /* put the text fields in place */
+ field1 = gtk_hbox_new(FALSE, 0);
+ data7 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data7), LARGE);
+ label7 = gtk_label_new("Editor/s:");
+ gtk_widget_set_usize(GTK_WIDGET(label7), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field1), label7, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field1), data7, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field1, FALSE, TRUE, 10);
+
+ field2 = gtk_hbox_new(FALSE, 0);
+ data23 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data23), TINY);
+ label23 = gtk_label_new("|| Volume:");
+ gtk_widget_set_usize(GTK_WIDGET(label23), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field2), label23, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field2), data23, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field2, FALSE, TRUE, 2);
+
+ field3 = gtk_hbox_new(FALSE, 0);
+ data14 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data14), TINY);
+ label14 = gtk_label_new("|| Number:");
+ gtk_widget_set_usize(GTK_WIDGET(label14), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field3), label14, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field3), data14, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field3, FALSE, TRUE, 2);
+
+ field4 = gtk_hbox_new(FALSE, 0);
+ data19 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data19), SMALL);
+ label19 = gtk_label_new("Series:");
+ gtk_widget_set_usize(GTK_WIDGET(label19), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field4), label19, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field4), data19, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field4, FALSE, TRUE, 2);
+
+ field5 = gtk_hbox_new(FALSE, 0);
+ data16 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data16), LARGE);
+ label16 = gtk_label_new("Pages:");
+ gtk_widget_set_usize(GTK_WIDGET(label16), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field5), label16, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field5), data16, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field5, FALSE, TRUE, 2);
+
+ field6 = gtk_hbox_new(FALSE, 0);
+ data1 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data1), LARGE);
+ label1 = gtk_label_new("Address:");
+ gtk_widget_set_usize(GTK_WIDGET(label1), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field6), label1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field6), data1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field6, FALSE, TRUE, 2);
+
+ field7 = gtk_hbox_new(FALSE, 0);
+ data12 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data12), TINY);
+ label12 = gtk_label_new("Month:");
+ gtk_widget_set_usize(GTK_WIDGET(label12), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field7), label12, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field7), data12, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field7, FALSE, TRUE, 2);
+
+ field8 = gtk_hbox_new(FALSE, 0);
+ data15 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data15), LARGE);
+ label15 = gtk_label_new("Organization:");
+ gtk_widget_set_usize(GTK_WIDGET(label15), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field8), label15, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field8), data15, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field8, FALSE, TRUE, 2);
+
+ field9 = gtk_hbox_new(FALSE, 0);
+ data17 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data17), LARGE);
+ label17 = gtk_label_new("Publisher:");
+ gtk_widget_set_usize(GTK_WIDGET(label17), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field9), label17, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field9), data17, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field9, FALSE, TRUE, 2);
+
+ field10 = gtk_hbox_new(FALSE, 0);
+ data22 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data22), LARGE);
+ label22 = gtk_label_new("URL:");
+ gtk_widget_set_usize(GTK_WIDGET(label22), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field10), label22, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field10), data22, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field10, FALSE, TRUE, 2);
+
+ field11 = gtk_hbox_new(FALSE, 0);
+ data2 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data2), LARGE);
+ label2 = gtk_label_new("note:");
+ gtk_widget_set_usize(GTK_WIDGET(label2), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field11), label2, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field11), data2, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field11, FALSE, TRUE, 2);
+
+ text13 = gtk_text_buffer_new(NULL);
+ data13 = gtk_text_view_new_with_buffer(text13);
+ textscroll = gtk_scrolled_window_new(NULL, NULL);
+ font_desc = pango_font_description_from_string("Sans 12");
+ gtk_widget_modify_font(data13, font_desc);
+ gtk_container_add(GTK_CONTAINER(textscroll), data13);
+ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(textscroll),
+ GTK_POLICY_AUTOMATIC,
+ GTK_POLICY_AUTOMATIC);
+ gtk_widget_set_usize(GTK_WIDGET(data13), 30, 250);
+ label13 = gtk_label_new("Annotation:");
+ gtk_box_pack_start(GTK_BOX(totalPane), label13, FALSE, TRUE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), textscroll, FALSE, TRUE, 2);
+
+ /* finally, put the cancel button in place */
+ field0 = gtk_hbox_new(FALSE, 0);
+ key0 = gtk_button_new_with_label("CANCEL");
+ gtk_widget_set_usize(GTK_WIDGET(key0), 90, -1);
+ g_signal_connect(GTK_OBJECT(key0), "clicked",
+ G_CALLBACK(close_inprocoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key0,
+ "Discard the contents of this window", NULL);
+ gtk_box_pack_end(GTK_BOX(field0), key0, FALSE, FALSE, 10);
+ key1 = gtk_button_new_with_label("Save");
+ gtk_widget_set_usize(GTK_WIDGET(key1), 90, -1);
+ g_signal_connect(GTK_OBJECT(key1), "clicked",
+ G_CALLBACK(save_inprocoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key1,
+ "Store the contents of this window", NULL);
+ gtk_box_pack_end(GTK_BOX(field0), key1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field0, FALSE, TRUE, 10);
+
+ /* put the composite window on the screen */
+ gtk_widget_show_all(window);
+}
+
+
+
+/* The procedure to put the basic inproceedings style on the screen */
+
+void inproc(GtkWidget *widget)
+{
+ GtkTooltips *tooltips;
+ GtkWidget *window;
+ GtkWidget *decoration;
+ GtkWidget *totalPane;
+ GtkWidget *opDecoration;
+ GtkWidget *field0;
+ GtkWidget *field1;
+ GtkWidget *option;
+ GtkWidget *controls;
+ GtkWidget *key1;
+ GtkWidget *key2;
+ GtkWidget *key3;
+ GtkWidget *key4;
+ GtkWidget *field2;
+ GtkWidget *field3;
+ GtkWidget *field4;
+ GtkWidget *field5;
+ extern int format;
+ extern char slate0[];
+
+ extern void linkwindow();
+ extern void closure_check(); /* defined in file cleanup.c */
+ extern void close_window(); /* defined in file cleanup.c */
+ void inprocoptions();
+ void save_inproc();
+
+ /* create the tooltip help feature */
+
+ tooltips = gtk_tooltips_new();
+
+ format = 7; /* indicate processing of an INPROCEEDINGS */
+
+ /* create the wondow and its top panel */
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile create");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ decoration = gtk_frame_new("InProceedings type - required fields");
+ gtk_widget_set_usize(GTK_WIDGET(window), 450, 320);
+ gtk_container_add(GTK_CONTAINER(window), decoration);
+ totalPane = gtk_vbox_new(FALSE, 5);
+ gtk_container_add(GTK_CONTAINER(decoration), totalPane);
+
+ field1 = gtk_hbox_new(FALSE,0);
+ dataX = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(dataX), SMALL);
+ gtk_widget_set_usize(GTK_WIDGET(dataX), 345, -1);
+ labelX = gtk_label_new("Tag/s:");
+ gtk_widget_set_usize(GTK_WIDGET(labelX), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field1), labelX, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field1), dataX, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field1, FALSE, TRUE, 10);
+
+ field0 = gtk_hbox_new(FALSE, 0);
+ data0 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data0), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data0), 345, -1);
+ label0 = gtk_label_new("File used:");
+ gtk_widget_set_usize(GTK_WIDGET(label0), 65, -1);
+ gtk_entry_set_text(GTK_ENTRY(data0), slate0);
+ gtk_box_pack_start(GTK_BOX(field0), label0, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field0), data0, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field0, FALSE, TRUE, 2);
+
+ /* position the remaining field entries */
+ field2 = gtk_hbox_new(FALSE, 0);
+ data3 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data3), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data3), 345, -1);
+ label3 = gtk_label_new("Authors/s:");
+ gtk_widget_set_usize(GTK_WIDGET(label3), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field2), label3, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field2), data3, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field2, FALSE, TRUE, 2);
+
+ field3 = gtk_hbox_new(FALSE, 0);
+ data20 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data20), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data20), 345, -1);
+ label20 = gtk_label_new("Title:");
+ gtk_widget_set_usize(GTK_WIDGET(label20), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field3), label20, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field3), data20, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field3, FALSE, TRUE, 2);
+
+ field4 = gtk_hbox_new(FALSE, 0);
+ data4 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data4), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data4), 345, -1);
+ label4 = gtk_label_new("BookTitle:");
+ gtk_widget_set_usize(GTK_WIDGET(label4), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field4), label4, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field4), data4, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field4, FALSE, TRUE, 2);
+
+ field5 = gtk_hbox_new(FALSE, 0);
+ data24 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data24), TINY);
+ gtk_widget_set_usize(GTK_WIDGET(data24), 200, -1);
+ label24 = gtk_label_new("Year:");
+ gtk_widget_set_usize(GTK_WIDGET(label24), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field5), label24, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field5), data24, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field5, FALSE, TRUE, 2);
+
+ /* put the control keys on to the window */
+ option = gtk_hbox_new(FALSE, 0);
+ key2 = gtk_button_new_with_label("Optional fields");
+ gtk_widget_set_usize(GTK_WIDGET(key2), 130, -1);
+ g_signal_connect(GTK_OBJECT(key2), "clicked",
+ G_CALLBACK(inprocoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key2,
+ "Click here to get window containing remaining Inproceedings fields",
+ NULL);
+ gtk_box_pack_start(GTK_BOX(option), key2, FALSE, FALSE, 10);
+ controls = gtk_hbox_new(FALSE, 0);
+ key1 = gtk_button_new_with_label("Save");
+ gtk_widget_set_usize(GTK_WIDGET(key1), 90, -1);
+ g_signal_connect(GTK_OBJECT(key1), "clicked",
+ G_CALLBACK(save_inproc), NULL);
+ gtk_tooltips_set_tip(tooltips, key1,
+ "Store this Inproceedings reference in database", NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key1, FALSE, FALSE, 30);
+ key3 = gtk_button_new_with_label("Cancel");
+ gtk_widget_set_usize(GTK_WIDGET(key3), 90, -1);
+ g_signal_connect(GTK_OBJECT(key3), "clicked",
+ G_CALLBACK(closure_check), NULL);
+ gtk_tooltips_set_tip(tooltips, key3,
+ "Discard this Inproceedings entry", NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key3, FALSE, FALSE, 30);
+ key4 = gtk_button_new_with_label("Linking");
+ gtk_widget_set_usize(GTK_WIDGET(key4), 90, -1);
+ g_signal_connect(GTK_OBJECT(key4), "clicked",
+ G_CALLBACK(linkwindow), NULL);
+ gtk_tooltips_set_tip(tooltips, key4,
+ "Click here for window to create links for this Inproceedings",
+ NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key4, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), option, FALSE, TRUE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), controls, FALSE, TRUE, 10);
+
+
+ format = 7;
+
+ /* make the composite visible on screen */
+ gtk_widget_show_all(window);
+}
+
+
diff --git a/biblio/bibtex/utils/xbibfile/linking.c b/biblio/bibtex/utils/xbibfile/linking.c
new file mode 100644
index 0000000000..35064b23a6
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/linking.c
@@ -0,0 +1,140 @@
+/* This file is a part of XBibFile - a system for handling BibTeX references
+ *
+ * Author: Ross Maloney
+ * Date: October 1999
+ *
+ */
+
+#include <gtk/gtk.h>
+
+#include "xbibfile.h"
+
+
+
+/* input text fields and labels used BibTeX format windows handled in
+ * this file */
+
+GtkWidget *label30, *data30;
+GtkWidget *label31, *data31;
+GtkWidget *label32, *data32;
+
+/* Procedure to cancel the linking window and remove links */
+
+void cancel_linking(GtkWidget *widget)
+{
+ extern int length[];
+ extern close_window();
+
+ length[30] = 0;
+ length[31] = 0;
+ length[32] = 0;
+ close_window(widget);
+}
+
+
+
+/* Procedure to take data from the linking window */
+
+void save_linking(GtkWidget *widget)
+{
+ extern void close_window(); /* defined in file cleanup.c */
+ extern int length[];
+ extern char slate30[];
+ extern char slate31[];
+ extern char slate32[];
+
+ strcpy(slate30, gtk_entry_get_text(GTK_ENTRY(data30)));
+ length[30] = strlen(slate30);
+ strcpy(slate31, gtk_entry_get_text(GTK_ENTRY(data31)));
+ length[31] = strlen(slate31);
+ strcpy(slate32, gtk_entry_get_text(GTK_ENTRY(data32)));
+ length[32] = strlen(slate32);
+ close_window(widget);
+}
+
+
+/* Procedure to put window on screen for the common linking process */
+
+void linkwindow(widget)
+{
+ GtkTooltips *tooltips;
+ GtkWidget *window;
+ GtkWidget *decoration;
+ GtkWidget *totalPane;
+ GtkWidget *field0;
+ GtkWidget *key0;
+ GtkWidget *key1;
+ GtkWidget *field1;
+ GtkWidget *field2;
+ GtkWidget *field3;
+ extern int format;
+
+ if (format == 0) {
+ error (widget, GINT_TO_POINTER(6));
+ return;
+ }
+
+ /* create the tooltip help feature */
+
+ tooltips = gtk_tooltips_new();
+
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile create");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ gtk_widget_set_usize(GTK_WIDGET(window), 400, 170);
+ decoration = gtk_frame_new("Linking Labels");
+ gtk_container_add(GTK_CONTAINER(window), decoration);
+ totalPane = gtk_vbox_new(FALSE, 5);
+ gtk_container_add(GTK_CONTAINER(decoration), totalPane);
+
+ field1 = gtk_hbox_new(FALSE, 0);
+ label30 = gtk_label_new("Up link:");
+ gtk_widget_set_usize(GTK_WIDGET(label30), 60, -1);
+ gtk_box_pack_start(GTK_BOX(field1), label30, FALSE, FALSE, 10);
+ data30 = gtk_entry_new_with_max_length(LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data30), 300, -1);
+ gtk_box_pack_start(GTK_BOX(field1), data30, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field1, FALSE, TRUE, 10);
+
+ field2 = gtk_hbox_new(FALSE, 0);
+ label31 = gtk_label_new("Cross link:");
+ gtk_widget_set_usize(GTK_WIDGET(label31), 60, -1);
+ gtk_box_pack_start(GTK_BOX(field2), label31, FALSE, FALSE, 10);
+ data31 = gtk_entry_new_with_max_length(LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data31), 300, -1);
+ gtk_box_pack_start(GTK_BOX(field2), data31, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field2, FALSE, TRUE, 0);
+
+ field3 = gtk_hbox_new(FALSE, 0);
+ label32 = gtk_label_new("Externals:");
+ gtk_widget_set_usize(GTK_WIDGET(label32), 60, -1);
+ gtk_box_pack_start(GTK_BOX(field3), label32, FALSE, FALSE, 10);
+ data32 = gtk_entry_new_with_max_length(LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data32), 300, -1);
+ gtk_box_pack_start(GTK_BOX(field3), data32, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field3, FALSE, TRUE, 10);
+
+ /* finally, put the cancel and save buttons
+ * in the window */
+ field0 = gtk_hbox_new(FALSE, 0);
+ key0 = gtk_button_new_with_label("CANCEL");
+ gtk_widget_set_usize(GTK_WIDGET(key0), 90, -1);
+ g_signal_connect(GTK_OBJECT(key0), "clicked",
+ G_CALLBACK(cancel_linking), NULL);
+ gtk_tooltips_set_tip(tooltips, key0,
+ "Discard the contents of this window", NULL);
+ gtk_box_pack_end(GTK_BOX(field0), key0, FALSE, FALSE, 10);
+ key1 = gtk_button_new_with_label("Save");
+ gtk_widget_set_usize(GTK_WIDGET(key1), 90, -1);
+ g_signal_connect(GTK_OBJECT(key1), "clicked",
+ G_CALLBACK(save_linking), NULL);
+ gtk_tooltips_set_tip(tooltips, key1,
+ "Store the contents of this window", NULL);
+ gtk_box_pack_end(GTK_BOX(field0), key1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field0, FALSE, TRUE, 0);
+
+ /* make the composite window visible on the screen */
+ gtk_widget_show_all(window);
+}
+
+
diff --git a/biblio/bibtex/utils/xbibfile/listall.c b/biblio/bibtex/utils/xbibfile/listall.c
new file mode 100644
index 0000000000..2820a69ad6
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/listall.c
@@ -0,0 +1,177 @@
+/* This file is a part of XBibFile - a system for handling BibTeX references
+ *
+ * Author: Ross Maloney
+ * Date: January 2002
+ *
+ */
+
+#include <stdio.h>
+#include <string.h>
+#include <gtk/gtk.h>
+
+GtkWidget *summary;
+GtkWidget *text, *textblock, *scrollblock;
+GtkTextBuffer *textpad;
+GtkTextIter iter;
+
+extern FILE *refFile; /* defined in xbibfile.c */
+
+void all(GtkWidget *widget)
+{
+ GtkTooltips *tooltips;
+ GtkWidget *window, *panel, *description, *controls;
+ GtkWidget *key0, *key1;
+
+ extern void close_window(GtkWidget *); /* defined in file cleanup.c */
+ extern void error(); /* defined in file error.c */
+ void put_refs_inplace(GtkWidget *);
+
+ tooltips = gtk_tooltips_new();
+
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile inspect");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ gtk_window_set_default_size(GTK_WINDOW(window), 500, 500);
+ panel = gtk_vbox_new(FALSE, 0);
+ gtk_container_add(GTK_CONTAINER(window), panel);
+ description = gtk_label_new("References found in the database");
+ gtk_box_pack_start(GTK_BOX(panel), description, FALSE, TRUE, 10);
+
+ /* create the text display part of the window */
+ textblock = gtk_scrolled_window_new(NULL, NULL);
+ textpad = gtk_text_buffer_new(NULL);
+ text = gtk_text_view_new_with_buffer(textpad);
+ gtk_container_add(GTK_CONTAINER(textblock), text);
+ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(textblock),
+ GTK_POLICY_AUTOMATIC,
+ GTK_POLICY_AUTOMATIC);
+ gtk_box_pack_start_defaults(GTK_BOX(panel), textblock);
+
+ /* put the window control buttons in place */
+ controls = gtk_hbox_new(FALSE, 0);
+ key0 = gtk_button_new_with_label("CANCEL");
+ gtk_widget_set_usize(GTK_WIDGET(key0), 90, -1);
+ g_signal_connect(GTK_OBJECT(key0), "clicked",
+ G_CALLBACK(close_window), NULL);
+ gtk_tooltips_set_tip(tooltips, key0,
+ "Finish this reference probe", NULL);
+ gtk_box_pack_end(GTK_BOX(controls), key0, FALSE, FALSE, 10);
+
+ /* and put the summary line in place */
+ summary = gtk_entry_new();
+ gtk_editable_set_editable(GTK_EDITABLE(summary), FALSE);
+ gtk_widget_set_usize(GTK_WIDGET(summary), 150, 20);
+ gtk_box_pack_start(GTK_BOX(controls), summary, FALSE, FALSE, 10);
+ gtk_box_pack_end(GTK_BOX(panel), controls, FALSE, TRUE, 10);
+
+ /* now put the 'style' for the text output */
+ gtk_text_buffer_create_tag(textpad, "blackface",
+ "foreground", "black", NULL);
+ gtk_text_buffer_create_tag(textpad, "emphasis",
+ "foreground", "red", NULL);
+ gtk_text_buffer_create_tag(textpad, "point",
+ "size", 11 * PANGO_SCALE, NULL);
+ gtk_text_buffer_create_tag(textpad, "font",
+ "style", PANGO_STYLE_NORMAL, NULL);
+
+ /* put the required text into the window */
+ put_refs_inplace(widget);
+
+ /* put the composite window on the screen */
+ gtk_widget_show_all(window);
+}
+
+/* This procedure performs the required searching and returns its results
+ * in the text window create in the all() procedure
+ */
+
+void put_refs_inplace(GtkWidget *widget)
+{
+ int i, count;
+ char *start, *end;
+ char holder[200], temp[100], report[30];
+
+ rewind(refFile);
+ gtk_text_buffer_get_iter_at_offset(textpad, &iter, 0);
+ i = 0;
+ count = 0;
+ while ( ( holder[i] = getc(refFile) ) != EOF ) {
+ if ( holder[i] == '\n' ) {
+ if ( holder[0] == '@' ) {
+ if ( strstr( holder, "ARTICLE") )
+ strcpy(temp, "Article ");
+ if ( strstr( holder, "BOOK") )
+ strcpy(temp, "Book ");
+ if ( strstr( holder, "BOOKLET") )
+ strcpy(temp, "Booklet ");
+ if ( strstr( holder, "CONFERENCE") )
+ strcpy(temp, "Conference ");
+ if ( strstr( holder, "INBOOK") )
+ strcpy(temp, "inBook ");
+ if ( strstr( holder, "INCOLLECTION") )
+ strcpy(temp, "Incollection ");
+ if ( strstr( holder, "INPROCEEDINGS") )
+ strcpy(temp, "inProceedings ");
+ if ( strstr( holder, "MANUAL") )
+ strcpy(temp, "Manual ");
+ if ( strstr( holder, "MASTERSTHESIS") )
+ strcpy(temp, "Masters ");
+ if ( strstr( holder, "MISC") )
+ strcpy(temp, "Misc ");
+ if ( strstr( holder, "PHDTHESIS") )
+ strcpy(temp, "PhD Thesis ");
+ if ( strstr( holder, "PROCEEDINGS") )
+ strcpy(temp, "Proceedngs ");
+ if ( strstr( holder, "TECHREPORT") )
+ strcpy(temp, "Tech Report ");
+ if ( strstr( holder, "UNPUBLISHED") )
+ strcpy(temp, "Unpublished ");
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ temp, -1,
+ "blackface", "point", "font", NULL);
+ if ( start = strstr( holder, "{" ) )
+ if ( end = strstr( holder, "," ) ) {
+ *end = ' ';
+ end++;
+ *end = ' ';
+ end++;
+ *end = '\0';
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ start+1, -1,
+ "emphasis", "point", "font", NULL);
+ }
+ else {
+ error(widget, GINT_TO_POINTER(9));
+ g_print("Format error in this BibTeX file - no ending ,");
+ }
+ else {
+ error(widget, GINT_TO_POINTER(9));
+ g_print("Format error in this BibTeX file - no {");
+ }
+ count++;
+ }
+ i = 0;
+ if ( start = strstr( holder, " title = {" ) )
+ if ( end = strstr( holder, "}," ) ) {
+ if ( (end - start) > 60 )
+ end = start + 60;
+ *end = '\n';
+ end++;
+ *end = '\0';
+ start += 10;
+ *start = ' ';
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ start, -1,
+ "blackface", "point", "font", NULL);
+ }
+ else {
+ error(widget, GINT_TO_POINTER(9));
+ g_print("Format error in this BibTeX file - no ending ,}");
+ }
+ }
+ else
+ i++;
+ }
+ sprintf(report, "%d references displayed", count);
+ gtk_entry_set_text(GTK_ENTRY(summary), report);
+}
diff --git a/biblio/bibtex/utils/xbibfile/listauthors.c b/biblio/bibtex/utils/xbibfile/listauthors.c
new file mode 100644
index 0000000000..b212ad4312
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/listauthors.c
@@ -0,0 +1,204 @@
+/* This file is a part of XBibFile - a system for handling BibTeX references
+ *
+ * Author: Ross Maloney
+ * Date: January 2002
+ *
+ */
+
+#include <stdio.h>
+#include <string.h>
+#include <gtk/gtk.h>
+
+
+GdkColor search, show;
+GtkWidget *searchlabel, *searchword;
+GtkWidget *text, *textblock, *scrollblock;
+GtkWidget *summary;
+GtkTextBuffer *textpad;
+GtkTextIter iter;
+
+char holder[200], temp[200], report[30], seek[100];
+char type[20], tag[30], title[100];
+
+void allauthors(GtkWidget *widget)
+{
+ GtkTooltips *tooltips;
+ GtkWidget *window, *panel, *description, *selector, *controls;
+ GtkWidget *key0, *key1;
+
+ extern void close_window(GtkWidget *); /* defined in file cleanup.c */
+ void put_all_authors();
+
+ tooltips = gtk_tooltips_new();
+
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile inspect");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ gtk_window_set_default_size(GTK_WINDOW(window), 500, 470);
+ panel = gtk_vbox_new(FALSE, 0);
+ gtk_container_add(GTK_CONTAINER(window), panel);
+ description = gtk_label_new("All author fields in database");
+ gtk_box_pack_start(GTK_BOX(panel), description, FALSE, TRUE, 10);
+
+ /* create the text display part of the window */
+ textblock = gtk_scrolled_window_new(NULL, NULL);
+ textpad = gtk_text_buffer_new(NULL);
+ text = gtk_text_view_new_with_buffer(textpad);
+ gtk_container_add(GTK_CONTAINER(textblock), text);
+ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(textblock),
+ GTK_POLICY_AUTOMATIC,
+ GTK_POLICY_AUTOMATIC);
+ gtk_box_pack_start_defaults(GTK_BOX(panel), textblock);
+
+ /* put the window control buttons in place */
+ controls = gtk_hbox_new(FALSE, 0);
+ key0 = gtk_button_new_with_label("CANCEL");
+ gtk_widget_set_usize(GTK_WIDGET(key0), 90, -1);
+ g_signal_connect(GTK_OBJECT(key0), "clicked",
+ G_CALLBACK(close_window), NULL);
+ gtk_tooltips_set_tip(tooltips, key0,
+ "Finish this reference probe", NULL);
+ gtk_box_pack_end(GTK_BOX(controls), key0, FALSE, FALSE, 10);
+ /* and put the summary line in place */
+ summary = gtk_entry_new();
+ gtk_editable_set_editable(GTK_EDITABLE(summary), FALSE);
+ gtk_widget_set_usize(GTK_WIDGET(summary), 150, 20);
+ gtk_box_pack_start(GTK_BOX(controls), summary, FALSE, FALSE, 10);
+ gtk_box_pack_end(GTK_BOX(panel), controls, FALSE, TRUE, 20);
+
+ /* now put the 'style' for the text output */
+ gtk_text_buffer_create_tag(textpad, "blackface",
+ "foreground", "black", NULL);
+ gtk_text_buffer_create_tag(textpad, "emphasis",
+ "foreground", "red", NULL);
+ gtk_text_buffer_create_tag(textpad, "trigger",
+ "foreground", "green", NULL);
+ gtk_text_buffer_create_tag(textpad, "point",
+ "size", 11 * PANGO_SCALE, NULL);
+ gtk_text_buffer_create_tag(textpad, "font",
+ "style", PANGO_STYLE_NORMAL, NULL);
+
+ put_all_authors(widget);
+
+ /* put the composite window on the screen */
+ gtk_widget_show_all(window);
+}
+
+
+
+/* This procedure performs the searching of the BibTeX database and returns
+ * its results to the text window created in the procedure word() above
+ */
+
+void put_all_authors(GtkWidget *widget)
+{
+ int i, count, length;
+ char *start, *end;
+
+ extern void error(); /* defined in file error.c */
+ extern FILE *refFile; /* defined in xbibfile.c */
+
+
+ i = 0;
+ count = 0;
+ rewind(refFile);
+ gtk_text_buffer_get_iter_at_offset(textpad, &iter, 0);
+ while ( ( holder[i] = getc(refFile) ) != EOF ) {
+ if ( holder[i] == '\n' ) {
+ holder[i+1] = '\0';
+ i = 0;
+ if ( holder[0] == '@' ) {
+ if ( strstr( holder, "ARTICLE") )
+ strcpy(temp, "Article ");
+ if ( strstr( holder, "BOOK") )
+ strcpy(temp, "Book ");
+ if ( strstr( holder, "BOOKLET") )
+ strcpy(temp, "Booklet ");
+ if ( strstr( holder, "CONFERENCE") )
+ strcpy(temp, "Conference ");
+ if ( strstr( holder, "INBOOK") )
+ strcpy(temp, "inBook ");
+ if ( strstr( holder, "INCOLLECTION") )
+ strcpy(temp, "Incollection ");
+ if ( strstr( holder, "INPROCEEDINGS") )
+ strcpy(temp, "inProceedings ");
+ if ( strstr( holder, "MANUAL") )
+ strcpy(temp, "Manual ");
+ if ( strstr( holder, "MASTERSTHESIS") )
+ strcpy(temp, "Masters ");
+ if ( strstr( holder, "MISC") )
+ strcpy(temp, "Misc ");
+ if ( strstr( holder, "PHDTHESIS") )
+ strcpy(temp, "PhD Thesis ");
+ if ( strstr( holder, "PROCEEDINGS") )
+ strcpy(temp, "Proceedings ");
+ if ( strstr( holder, "TECHREPORT") )
+ strcpy(temp, "Tech Rerort ");
+ if ( strstr( holder, "UNPUBLISHED") )
+ strcpy(temp, "Unpublished ");
+ strcpy(type, temp);
+ if ( start = strstr( holder, "{" ) )
+ if ( end = strstr( holder, "," ) ) {
+ *end = ' ';
+ end++;
+ *end = ' ';
+ end++;
+ *end = '\0';
+ strcpy(tag, start+1);
+ }
+ else {
+ error(widget, GINT_TO_POINTER(9));
+ g_print("Format error in this BibTeX file - no ending ,");
+ }
+ else {
+ error(widget, GINT_TO_POINTER(9));
+ g_print("Format error in this BibTeX file - no {");
+ }
+ }
+ /* if the line starts with 'author = {' */
+ if ( start = strstr(holder, " author = {") ) {
+ end = strstr(holder, "}");
+ *end = '\n';
+ end++;
+ *end = '\0';
+ strcpy(temp, start+12);
+ }
+ /* if the line starts with 'title = {' */
+ if ( start = strstr( holder, " title = {" ) ) {
+ if ( end = strstr( holder, "}," ) ) {
+ if ( (end - start) > 60 )
+ end = start + 60;
+ *end = '\n';
+ end++;
+ *end = '\0';
+ start += 11;
+ strcpy(title, start);
+ }
+ else {
+ error(widget, GINT_TO_POINTER(9));
+ g_print("Format error in this BibTeX file - no ending ,}");
+ }
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ type, -1,
+ "blackface", "point", "font", NULL);
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ tag, -1,
+ "emphasis", "point", "font", NULL);
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ title, -1,
+ "blackface", "point", "font", NULL);
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ " ", -1,
+ "blackface", "point", "font", NULL);
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ temp, -1,
+ "trigger", "point", "font", NULL);
+ count++;
+ }
+ }
+ else
+ i++;
+ }
+ sprintf(report, "%d references displayed", count);
+ gtk_entry_set_text(GTK_ENTRY(summary), report);
+}
diff --git a/biblio/bibtex/utils/xbibfile/listpubyear.c b/biblio/bibtex/utils/xbibfile/listpubyear.c
new file mode 100644
index 0000000000..4a66baf691
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/listpubyear.c
@@ -0,0 +1,214 @@
+/* This file is a part of XBibFile - a system for handling BibTeX references
+ *
+ * Author: Ross Maloney
+ * Date: January 2002
+ *
+ */
+
+#include <stdio.h>
+#include <string.h>
+#include <gtk/gtk.h>
+
+
+GtkWidget *searchlabel, *searchword;
+GtkWidget *text, *textblock, *scrollblock;
+GtkWidget *summary;
+GtkTextBuffer *textpad;
+GtkTextIter iter;
+
+char holder[200], temp[200], report[30], seek[100];
+char type[20], tag[30], title[100];
+
+void find_year(GtkWidget *widget)
+{
+ GtkTooltips *tooltips;
+ GtkWidget *window, *panel, *description, *selector, *controls;
+ GtkWidget *key0, *key1, *key3;
+
+ extern void close_window(GtkWidget *); /* defined in file cleanup.c */
+ void put_text_pubyear();
+
+ tooltips = gtk_tooltips_new();
+
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile inspect");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ gtk_window_set_default_size(GTK_WINDOW(window), 500, 510);
+ panel = gtk_vbox_new(FALSE, 0);
+ gtk_container_add(GTK_CONTAINER(window), panel);
+ description = gtk_label_new("References found in the database containing specified publication year");
+ gtk_box_pack_start(GTK_BOX(panel), description, FALSE, TRUE, 10);
+ selector = gtk_hbox_new(FALSE, 0);
+ searchlabel = gtk_label_new("Year to find:");
+ gtk_box_pack_start(GTK_BOX(selector), searchlabel, FALSE, TRUE, 10);
+ searchword = gtk_entry_new_with_max_length(100);
+ gtk_box_pack_start(GTK_BOX(selector), searchword, FALSE, TRUE, 10);
+ g_signal_connect(GTK_OBJECT(searchword), "activate",
+ G_CALLBACK(put_text_pubyear), NULL);
+ key3 = gtk_button_new_with_label("Execute");
+ gtk_widget_set_usize(GTK_WIDGET(key3), 90, -1);
+ g_signal_connect(GTK_OBJECT(key3), "clicked",
+ G_CALLBACK(put_text_pubyear), NULL);
+ gtk_tooltips_set_tip(tooltips, key3,
+ "Execute search with this new word", NULL);
+ gtk_box_pack_end(GTK_BOX(selector), key3, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(panel), selector, FALSE, TRUE, 10);
+
+ /* create the text display part of the window */
+ textblock = gtk_scrolled_window_new(NULL, NULL);
+ textpad = gtk_text_buffer_new(NULL);
+ text = gtk_text_view_new_with_buffer(textpad);
+ gtk_container_add(GTK_CONTAINER(textblock), text);
+ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(textblock),
+ GTK_POLICY_AUTOMATIC,
+ GTK_POLICY_AUTOMATIC);
+ gtk_box_pack_start_defaults(GTK_BOX(panel), textblock);
+
+ /* put the window control buttons in place */
+ controls = gtk_hbox_new(FALSE, 0);
+ key0 = gtk_button_new_with_label("CANCEL");
+ gtk_widget_set_usize(GTK_WIDGET(key0), 90, -1);
+ g_signal_connect(GTK_OBJECT(key0), "clicked",
+ G_CALLBACK(close_window), NULL);
+ gtk_tooltips_set_tip(tooltips, key0,
+ "Finish this reference probe", NULL);
+ gtk_box_pack_end(GTK_BOX(controls), key0, FALSE, FALSE, 10);
+ /* and put the summary line in place */
+ summary = gtk_entry_new();
+ gtk_editable_set_editable(GTK_EDITABLE(summary), FALSE);
+ gtk_widget_set_usize(GTK_WIDGET(summary), 150, 20);
+ gtk_box_pack_start(GTK_BOX(controls), summary, FALSE, FALSE, 10);
+ gtk_box_pack_end(GTK_BOX(panel), controls, FALSE, TRUE, 10);
+
+ /* now put the 'style' for the text output */
+ gtk_text_buffer_create_tag(textpad, "blackface",
+ "foreground", "black", NULL);
+ gtk_text_buffer_create_tag(textpad, "emphasis",
+ "foreground", "red", NULL);
+ gtk_text_buffer_create_tag(textpad, "target",
+ "foreground", "green", NULL);
+ gtk_text_buffer_create_tag(textpad, "point",
+ "size", 11 * PANGO_SCALE, NULL);
+ gtk_text_buffer_create_tag(textpad, "font",
+ "style", PANGO_STYLE_NORMAL, NULL);
+
+ /* put the composite window on the screen */
+ gtk_widget_show_all(window);
+}
+
+
+
+/* This procedure performs the searching of the BibTeX database and returns
+ * its results to the text window created in the procedure find_year() above
+ */
+
+void put_text_pubyear(GtkWidget *widget)
+{
+ int i, count, start_flag, print_flag, length;
+ char *start, *end;
+
+ extern void error(); /* defined in file error.c */
+ extern FILE *refFile; /* defined in xbibfile.c */
+
+ strcpy(seek, gtk_editable_get_chars(GTK_EDITABLE(searchword), 0, -1));
+
+ i = 0;
+ count = 0;
+ rewind(refFile);
+ gtk_text_buffer_get_iter_at_offset(textpad, &iter, 0);
+ while ( ( holder[i] = getc(refFile) ) != EOF ) {
+ if ( holder[i] == '\n' ) {
+ holder[i+1] = '\0';
+ i = 0;
+ if ( holder[0] == '@' ) {
+ print_flag = 0;
+ if ( strstr( holder, "ARTICLE") )
+ strcpy(temp, "Article ");
+ if ( strstr( holder, "BOOK") )
+ strcpy(temp, "Book ");
+ if ( strstr( holder, "BOOKLET") )
+ strcpy(temp, "Booklet ");
+ if ( strstr( holder, "CONFERENCE") )
+ strcpy(temp, "Conference ");
+ if ( strstr( holder, "INBOOK") )
+ strcpy(temp, "inBook ");
+ if ( strstr( holder, "INCOLLECTION") )
+ strcpy(temp, "Incollection ");
+ if ( strstr( holder, "INPROCEEDINGS") )
+ strcpy(temp, "inProceedings ");
+ if ( strstr( holder, "MANUAL") )
+ strcpy(temp, "Manual ");
+ if ( strstr( holder, "MASTERSTHESIS") )
+ strcpy(temp, "Masters ");
+ if ( strstr( holder, "MISC") )
+ strcpy(temp, "Misc ");
+ if ( strstr( holder, "PHDTHESIS") )
+ strcpy(temp, "PhD Thesis ");
+ if ( strstr( holder, "PROCEEDINGS") )
+ strcpy(temp, "Proceedings ");
+ if ( strstr( holder, "TECHREPORT") )
+ strcpy(temp, "Tech Rerort ");
+ if ( strstr( holder, "UNPUBLISHED") )
+ strcpy(temp, "Unpublished ");
+ strcpy(type, temp);
+ if ( start = strstr( holder, "{" ) )
+ if ( end = strstr( holder, "," ) ) {
+ *end = ' ';
+ end++;
+ *end = ' ';
+ end++;
+ *end = '\0';
+ strcpy(tag, start+1);
+ }
+ else {
+ error(widget, GINT_TO_POINTER(9));
+ g_print("Format error in this BibTeX file - no ending ,");
+ }
+ else {
+ error(widget, GINT_TO_POINTER(9));
+ g_print("Format error in this BibTeX file - no {");
+ }
+ }
+ /* if the line starts with 'year = {' */
+ if ( start = strstr(holder, " year = {") ) {
+ end = strstr(holder, "}");
+ *end = '\n';
+ end++;
+ *end = '\0';
+ strcpy(temp, start+10);
+ if ( strstr(holder, seek) ) {
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ type, -1,
+ "blackface", "point", "font", NULL);
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ tag, -1,
+ "emphasis", "point", "font", NULL);
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ title, -1,
+ "blackface", "point", "font", NULL);
+ count++;
+ }
+ }
+ /* if the line starts with 'title = {' */
+ if ( start = strstr( holder, " title = {" ) ) {
+ if ( end = strstr( holder, "}," ) ) {
+ if ( (end - start) > 60 )
+ end = start + 60;
+ *end = '\n';
+ end++;
+ *end = '\0';
+ start += 11;
+ strcpy(title, start);
+ }
+ else {
+ error(widget, GINT_TO_POINTER(9));
+ g_print("Format error in this BibTeX file - no ending ,}");
+ }
+ }
+ }
+ else
+ i++;
+ }
+ sprintf(report, "%d references displayed", count);
+ gtk_entry_set_text(GTK_ENTRY(summary), report);
+}
diff --git a/biblio/bibtex/utils/xbibfile/listref.c b/biblio/bibtex/utils/xbibfile/listref.c
new file mode 100644
index 0000000000..947c4c254a
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/listref.c
@@ -0,0 +1,156 @@
+/* This file is a part of XBibFile - a system for handling BibTeX references
+ *
+ * Author: Ross Maloney
+ * Date: January 2002
+ *
+ */
+
+#include <stdio.h>
+#include <string.h>
+#include <gtk/gtk.h>
+
+
+GtkWidget *searchlabel, *searchword;
+GtkWidget *text, *textblock, *vscroll;
+GtkWidget *summary;
+GtkTextBuffer *textpad;
+GtkTextIter iter;
+
+char holder[200], temp[200], report[30], seek[100];
+char type[20], tag[30], title[100];
+
+void viewref(GtkWidget *widget)
+{
+ GtkTooltips *tooltips;
+ GtkWidget *window, *panel, *description, *selector, *controls;
+ GtkWidget *key0, *key1, *key3;
+
+ extern void close_window(GtkWidget *); /* defined in file cleanup.c */
+ void put_text_ref();
+
+ tooltips = gtk_tooltips_new();
+
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile inspect");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ gtk_window_set_default_size(GTK_WINDOW(window), 550, 510);
+ panel = gtk_vbox_new(FALSE, 0);
+ gtk_container_add(GTK_CONTAINER(window), panel);
+ description = gtk_label_new("References found in the database containing specified tag");
+ gtk_box_pack_start(GTK_BOX(panel), description, FALSE, TRUE, 10);
+ selector = gtk_hbox_new(FALSE, 0);
+ searchlabel = gtk_label_new("Tag to find:");
+ gtk_box_pack_start(GTK_BOX(selector), searchlabel, FALSE, TRUE, 10);
+ searchword = gtk_entry_new_with_max_length(100);
+ gtk_box_pack_start(GTK_BOX(selector), searchword, FALSE, TRUE, 10);
+ g_signal_connect(GTK_OBJECT(searchword), "activate",
+ G_CALLBACK(put_text_ref), NULL);
+ key3 = gtk_button_new_with_label("Execute");
+ gtk_widget_set_usize(GTK_WIDGET(key3), 90, -1);
+ g_signal_connect(GTK_OBJECT(key3), "clicked",
+ G_CALLBACK(put_text_ref), NULL);
+ gtk_tooltips_set_tip(tooltips, key3,
+ "Execute search with this new word", NULL);
+ gtk_box_pack_end(GTK_BOX(selector), key3, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(panel), selector, FALSE, TRUE, 10);
+
+ /* create the text display part of the window */
+ textblock = gtk_scrolled_window_new(NULL, NULL);
+ textpad = gtk_text_buffer_new(NULL);
+ text = gtk_text_view_new_with_buffer(textpad);
+ gtk_container_add(GTK_CONTAINER(textblock), text);
+ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(textblock),
+ GTK_POLICY_AUTOMATIC,
+ GTK_POLICY_AUTOMATIC);
+ gtk_box_pack_start_defaults(GTK_BOX(panel), textblock);
+
+ /* put the window control buttons in place */
+ controls = gtk_hbox_new(FALSE, 0);
+ key0 = gtk_button_new_with_label("CANCEL");
+ gtk_widget_set_usize(GTK_WIDGET(key0), 90, -1);
+ g_signal_connect(GTK_OBJECT(key0), "clicked",
+ G_CALLBACK(close_window), NULL);
+ gtk_tooltips_set_tip(tooltips, key0,
+ "Finish this reference probe", NULL);
+ gtk_box_pack_end(GTK_BOX(controls), key0, FALSE, FALSE, 10);
+ /* and put the summary line in place */
+ summary = gtk_entry_new();
+ gtk_editable_set_editable(GTK_EDITABLE(summary), FALSE);
+ gtk_widget_set_usize(GTK_WIDGET(summary), 150, 20);
+ gtk_box_pack_start(GTK_BOX(controls), summary, FALSE, FALSE, 10);
+ gtk_box_pack_end(GTK_BOX(panel), controls, FALSE, TRUE, 10);
+
+ /* now put the 'style' for the text output */
+ gtk_text_buffer_create_tag(textpad, "blackface",
+ "foreground", "black", NULL);
+ gtk_text_buffer_create_tag(textpad, "emphasis",
+ "foreground", "red", NULL);
+ gtk_text_buffer_create_tag(textpad, "target",
+ "foreground", "green", NULL);
+ gtk_text_buffer_create_tag(textpad, "point",
+ "size", 11 * PANGO_SCALE, NULL);
+ gtk_text_buffer_create_tag(textpad, "font",
+ "style", PANGO_STYLE_NORMAL, NULL);
+
+ /* put the composite window on the screen */
+ gtk_widget_show_all(window);
+}
+
+
+
+/* This procedure performs the searching of the BibTeX database and returns
+ * its results to the text window created in the procedure viewref() above
+ */
+
+void put_text_ref(GtkWidget *widget)
+{
+ int i, count, print_flag, length;
+ char *start;
+
+ extern void error(); /* defined in file error.c */
+ extern FILE *refFile; /* defined in xbibfile.c */
+
+ strcpy(seek, gtk_entry_get_text(GTK_ENTRY(searchword)));
+
+ i = 0;
+ count = 0;
+ rewind(refFile);
+ gtk_text_buffer_get_iter_at_offset(textpad, &iter, 0);
+ while ( ( holder[i] = getc(refFile) ) != EOF ) {
+ if ( holder[i] == '\n' ) {
+ holder[i+1] = '\0';
+ i = 0;
+ if ( holder[0] == '@' ) {
+ print_flag = 0;
+ if ( start = strstr(holder, seek) ) {
+ *start = '\0';
+ length = strlen(seek);
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ holder, -1,
+ "blackface", "point", "font", NULL);
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ seek, -1,
+ "emphasis", "point", "font", NULL);
+ start += length;
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ start, -1,
+ "blackface", "point", "font", NULL);
+ count++;
+ print_flag = 1;
+ }
+ }
+ else
+ if ( print_flag )
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ holder, -1,
+ "blackface", "point", "font", NULL);
+/* gtk_text_insert(GTK_TEXT(text), text->style->font,
+ NULL, NULL,
+ holder, -1); */
+ }
+ else
+ i++;
+ }
+ sprintf(report, "%d references displayed", count);
+ gtk_entry_set_text(GTK_ENTRY(summary), report);
+}
diff --git a/biblio/bibtex/utils/xbibfile/listuplinks.c b/biblio/bibtex/utils/xbibfile/listuplinks.c
new file mode 100644
index 0000000000..d5f1891a53
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/listuplinks.c
@@ -0,0 +1,189 @@
+/* This file is a part of XBibFile - a system for handling BibTeX references
+ *
+ * Author: Ross Maloney
+ * Date: January 2002
+ *
+ */
+
+#include <stdio.h>
+#include <string.h>
+#include <gtk/gtk.h>
+
+#define SIZE 20
+
+
+GtkWidget *searchlabel, *searchword;
+GtkWidget *text, *textblock, *scrollblock;
+GtkWidget *summary;
+GtkTextBuffer *textpad;
+GtkTextIter iter;
+
+char holder[200], temp[200], report[30], seek[100];
+char type[20], tag[30], title[100];
+
+void alluplinks(GtkWidget *widget)
+{
+ GtkTooltips *tooltips;
+ GtkWidget *window, *panel, *description, *selector, *controls;
+ GtkWidget *key0, *key1;
+
+ extern void close_window(GtkWidget *); /* defined in file cleanup.c */
+ void put_all_uplinks();
+
+ tooltips = gtk_tooltips_new();
+
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile inspect");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ gtk_window_set_default_size(GTK_WINDOW(window), 300, 470);
+ panel = gtk_vbox_new(FALSE, 0);
+ gtk_container_add(GTK_CONTAINER(window), panel);
+ description = gtk_label_new("All dependency fields in database");
+ gtk_box_pack_start(GTK_BOX(panel), description, FALSE, TRUE, 10);
+
+ /* create the text display part of the window */
+ textblock = gtk_scrolled_window_new(NULL, NULL);
+ textpad = gtk_text_buffer_new(NULL);
+ text = gtk_text_view_new_with_buffer(textpad);
+ gtk_container_add(GTK_CONTAINER(textblock), text);
+ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(textblock),
+ GTK_POLICY_AUTOMATIC,
+ GTK_POLICY_AUTOMATIC);
+ gtk_box_pack_start_defaults(GTK_BOX(panel), textblock);
+
+ /* put the window control buttons in place */
+ controls = gtk_hbox_new(FALSE, 0);
+ key0 = gtk_button_new_with_label("CANCEL");
+ gtk_widget_set_usize(GTK_WIDGET(key0), 90, -1);
+ g_signal_connect(GTK_OBJECT(key0), "clicked",
+ G_CALLBACK(close_window), NULL);
+ gtk_tooltips_set_tip(tooltips, key0,
+ "Finish this reference probe", NULL);
+ gtk_box_pack_end(GTK_BOX(controls), key0, FALSE, FALSE, 10);
+ /* and put the summary line in place */
+ summary = gtk_entry_new();
+ gtk_editable_set_editable(GTK_EDITABLE(summary), FALSE);
+ gtk_widget_set_usize(GTK_WIDGET(summary), 150, 20);
+ gtk_box_pack_start(GTK_BOX(controls), summary, FALSE, FALSE, 10);
+ gtk_box_pack_end(GTK_BOX(panel), controls, FALSE, TRUE, 20);
+
+ /* now put the 'style' for the text output */
+ gtk_text_buffer_create_tag(textpad, "blackface",
+ "foreground", "black", NULL);
+ gtk_text_buffer_create_tag(textpad, "emphasis",
+ "foreground", "red", NULL);
+ gtk_text_buffer_create_tag(textpad, "target",
+ "foreground", "green", NULL);
+ gtk_text_buffer_create_tag(textpad, "point",
+ "size", 11 * PANGO_SCALE, NULL);
+ gtk_text_buffer_create_tag(textpad, "font",
+ "style", PANGO_STYLE_NORMAL, NULL);
+
+ put_all_uplinks(widget);
+
+ /* put the composite window on the screen */
+ gtk_widget_show_all(window);
+}
+
+
+
+/* This procedure performs the searching of the BibTeX database and returns
+ * its results to the text window created in the procedure alluplinks() above
+ */
+
+void put_all_uplinks(GtkWidget *widget)
+{
+ int i, count, flag, k, pass;
+ char *start, *end;
+ struct tag_list {
+ char item[90];
+ int total;
+ };
+ struct tag_list links[20];
+
+ extern void error(); /* defined in file error.c */
+ extern FILE *refFile; /* defined in xbibfile.c */
+
+
+ /* first, find all the uplink fields present */
+ i = 0;
+ count = 0;
+ rewind(refFile);
+ gtk_text_buffer_get_iter_at_offset(textpad, &iter, 0);
+ while ( ( holder[i] = getc(refFile) ) != EOF ) {
+ if ( holder[i] == '\n' ) {
+ holder[i+1] = '\0';
+ i = 0;
+ /* if the line starts with 'uplink = {' */
+ if ( start = strstr(holder, " uplink = {") ) {
+ end = strstr(holder, "}");
+ *end = '\0';
+ /* find where this uplink is to be stored */
+ flag = 0;
+ for (k=0; k<count; k++)
+ if ( strstr(links[k].item, start+12) ) {
+ links[k].total++;
+ flag = 1;
+ }
+ if ( !flag ) {
+ strcpy(links[count].item, start+12);
+ links[count].total = 1;
+ count++;
+ }
+ }
+ }
+ i++;
+ }
+ /* display all the uplanks and their sources */
+ for (k=0; k<count; k++) {
+ i = 0;
+ rewind(refFile);
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ links[k].item, -1,
+ "emphasis", "point", "font", NULL);
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ "\n", -1,
+ "blackface", "point", "font", NULL);
+ while ( ( holder[i] = getc(refFile) ) != EOF ) {
+ if ( holder[i] == '\n' ) {
+ holder[i+1] = '\0';
+ i = 0;
+ /* if the line starts with '@' */
+ if ( holder[1] == '@' )
+ if ( start = strstr(holder, "{") )
+ if ( end = strstr(holder, ",") ) {
+ *end = '\0';
+ strcpy(tag, start+1);
+ }
+ else {
+ error(widget, GINT_TO_POINTER(9));
+ g_print("Format error found in BibTeX file - no terminating ,");
+ }
+ else {
+ error(widget, GINT_TO_POINTER(9));
+ g_print("Format error found in BibTeX file - no { after @");
+ }
+ /* if the line starts with 'uplink = {' */
+ if ( start = strstr(holder, " uplink = {") ) {
+ end = strstr(holder, "}");
+ *end = '\0';
+ strcpy(temp, start+12);
+ if ( strstr(links[k].item, start+12) ) {
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ " ", -1,
+ "blackface", "point", "font", NULL);
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ tag, -1,
+ "blackface", "point", "font", NULL);
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ "\n", -1,
+ "blackface", "point", "font", NULL);
+ }
+ }
+ }
+ i++;
+ }
+ }
+ sprintf(report, "%d link chains found", count);
+ gtk_entry_set_text(GTK_ENTRY(summary), report);
+}
diff --git a/biblio/bibtex/utils/xbibfile/listword.c b/biblio/bibtex/utils/xbibfile/listword.c
new file mode 100644
index 0000000000..e5fb87583a
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/listword.c
@@ -0,0 +1,239 @@
+/* This file is a part of XBibFile - a system for handling BibTeX references
+ *
+ * Author: Ross Maloney
+ * Date: January 2002
+ *
+ */
+
+#include <stdio.h>
+#include <string.h>
+#include <gtk/gtk.h>
+
+
+GtkWidget *searchlabel, *searchword;
+GtkWidget *text, *textblock, *scrollblock;
+GtkWidget *summary;
+GtkTextBuffer *textpad;
+GtkTextIter iter;
+
+char holder[200], temp[200], report[30], seek[100];
+char type[20], tag[30], title[100];
+
+void word(GtkWidget *widget)
+{
+ GtkTooltips *tooltips;
+ GtkWidget *window, *panel, *description, *selector, *controls;
+ GtkWidget *key0, *key1, *key3;
+
+ extern void close_window(GtkWidget *); /* defined in file cleanup.c */
+ void put_text_inplace();
+
+ tooltips = gtk_tooltips_new();
+
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile inspect");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ gtk_window_set_default_size(GTK_WINDOW(window), 500, 510);
+ panel = gtk_vbox_new(FALSE, 0);
+ gtk_container_add(GTK_CONTAINER(window), panel);
+ description = gtk_label_new("References found in the database containing search word");
+ gtk_box_pack_start(GTK_BOX(panel), description, FALSE, TRUE, 10);
+ selector = gtk_hbox_new(FALSE, 0);
+ searchlabel = gtk_label_new("Word to find:");
+ gtk_box_pack_start(GTK_BOX(selector), searchlabel, FALSE, TRUE, 10);
+ searchword = gtk_entry_new_with_max_length(100);
+ gtk_box_pack_start(GTK_BOX(selector), searchword, FALSE, TRUE, 10);
+ g_signal_connect(GTK_OBJECT(searchword), "activate",
+ G_CALLBACK(put_text_inplace), NULL);
+ key3 = gtk_button_new_with_label("Execute");
+ gtk_widget_set_usize(GTK_WIDGET(key3), 90, -1);
+ g_signal_connect(GTK_OBJECT(key3), "clicked",
+ G_CALLBACK(put_text_inplace), NULL);
+ gtk_tooltips_set_tip(tooltips, key3,
+ "Execute search with this new word", NULL);
+ gtk_box_pack_end(GTK_BOX(selector), key3, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(panel), selector, FALSE, TRUE, 10);
+
+ /* create the text display part of the window */
+ textblock = gtk_scrolled_window_new(NULL, NULL);
+ textpad = gtk_text_buffer_new(NULL);
+ text = gtk_text_view_new_with_buffer(textpad);
+ gtk_container_add(GTK_CONTAINER(textblock), text);
+ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(textblock),
+ GTK_POLICY_AUTOMATIC,
+ GTK_POLICY_AUTOMATIC);
+ gtk_box_pack_start_defaults(GTK_BOX(panel), textblock);
+
+ /* put the window control buttons in place */
+ controls = gtk_hbox_new(FALSE, 0);
+ key0 = gtk_button_new_with_label("CANCEL");
+ gtk_widget_set_usize(GTK_WIDGET(key0), 90, -1);
+ g_signal_connect(GTK_OBJECT(key0), "clicked",
+ G_CALLBACK(close_window), NULL);
+ gtk_tooltips_set_tip(tooltips, key0,
+ "Finish this reference probe", NULL);
+ gtk_box_pack_end(GTK_BOX(controls), key0, FALSE, FALSE, 10);
+ /* and put the summary line in place */
+ summary = gtk_entry_new();
+ gtk_editable_set_editable(GTK_EDITABLE(summary), FALSE);
+ gtk_widget_set_usize(GTK_WIDGET(summary), 150, 20);
+ gtk_box_pack_start(GTK_BOX(controls), summary, FALSE, FALSE, 10);
+ gtk_box_pack_end(GTK_BOX(panel), controls, FALSE, TRUE, 10);
+
+ /* now put the 'style' for the text output */
+ gtk_text_buffer_create_tag(textpad, "blackface",
+ "foreground", "black", NULL);
+ gtk_text_buffer_create_tag(textpad, "emphasis",
+ "foreground", "red", NULL);
+ gtk_text_buffer_create_tag(textpad, "target",
+ "foreground", "green", NULL);
+ gtk_text_buffer_create_tag(textpad, "point",
+ "size", 11 * PANGO_SCALE, NULL);
+ gtk_text_buffer_create_tag(textpad, "font",
+ "style", PANGO_STYLE_NORMAL, NULL);
+
+ /* put the composite window on the screen */
+ gtk_widget_show_all(window);
+}
+
+
+
+/* This procedure performs the searching of the BibTeX database and returns
+ * its results to the text window created in the procedure word() above
+ */
+
+void put_text_inplace(GtkWidget *widget)
+{
+ int i, count, start_flag, print_flag, length;
+ char *start, *end;
+
+ extern void error(); /* defined in file error.c */
+ extern FILE *refFile; /* defined in xbibfile.c */
+
+ strcpy(seek, gtk_entry_get_text(GTK_ENTRY(searchword)));
+
+ i = 0;
+ count = 0;
+ rewind(refFile);
+ gtk_text_buffer_get_iter_at_offset(textpad, &iter, 0);
+ while ( ( holder[i] = getc(refFile) ) != EOF ) {
+ if ( holder[i] == '\n' ) {
+ holder[i+1] = '\0';
+ i = 0;
+ if ( holder[0] == '@' ) {
+ start_flag = 0;
+ print_flag = 0;
+ if ( strstr( holder, "ARTICLE") )
+ strcpy(temp, "Article ");
+ if ( strstr( holder, "BOOK") )
+ strcpy(temp, "Book ");
+ if ( strstr( holder, "BOOKLET") )
+ strcpy(temp, "Booklet ");
+ if ( strstr( holder, "CONFERENCE") )
+ strcpy(temp, "Conference ");
+ if ( strstr( holder, "INBOOK") )
+ strcpy(temp, "inBook ");
+ if ( strstr( holder, "INCOLLECTION") )
+ strcpy(temp, "Incollection ");
+ if ( strstr( holder, "INPROCEEDINGS") )
+ strcpy(temp, "inProceedings ");
+ if ( strstr( holder, "MANUAL") )
+ strcpy(temp, "Manual ");
+ if ( strstr( holder, "MASTERSTHESIS") )
+ strcpy(temp, "Masters ");
+ if ( strstr( holder, "MISC") )
+ strcpy(temp, "Misc ");
+ if ( strstr( holder, "PHDTHESIS") )
+ strcpy(temp, "PhD Thesis ");
+ if ( strstr( holder, "PROCEEDINGS") )
+ strcpy(temp, "Proceedings ");
+ if ( strstr( holder, "TECHREPORT") )
+ strcpy(temp, "Tech Rerort ");
+ if ( strstr( holder, "UNPUBLISHED") )
+ strcpy(temp, "Unpublished ");
+ strcpy(type, temp);
+ if ( start = strstr( holder, "{" ) )
+ if ( end = strstr( holder, "," ) ) {
+ *end = ' ';
+ end++;
+ *end = ' ';
+ end++;
+ *end = '\0';
+ strcpy(tag, start+1);
+ }
+ else {
+ error(widget, GINT_TO_POINTER(9));
+ g_print("Format error in this BibTeX file - no ending ,");
+ }
+ else {
+ error(widget, GINT_TO_POINTER(9));
+ g_print("Format error in this BibTeX file - no {");
+ }
+ }
+ /* if the line starts with 'title = {' */
+ if ( start = strstr( holder, " title = {" ) )
+ if ( end = strstr( holder, "}," ) ) {
+ if ( (end - start) > 60 )
+ end = start + 60;
+ *end = '\n';
+ end++;
+ *end = '\0';
+ start += 11;
+ strcpy(title, start);
+ }
+ else {
+ error(widget, GINT_TO_POINTER(9));
+ g_print("Format error in this BibTeX file - no ending ,}");
+ }
+ /* if the line starts with 'annote = {' */
+ strcpy(temp, holder);
+ if ( start = strstr(temp, " annote = {") ) {
+ start_flag = 1;
+ strcpy(temp, start+12);
+ }
+ /* if the line contains the terminator '} }' */
+ if ( start_flag ) {
+ if ( start = strstr(temp, seek) ) {
+ if ( !print_flag ) {
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ type, -1,
+ "blackface", "point", "font", NULL);
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ tag, -1,
+ "emphasis", "point", "font", NULL);
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ title, -1,
+ "blackface", "point", "font", NULL);
+ print_flag = 1;
+ count++;
+ }
+ *start = '\0';
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ " ", -1,
+ "blackface", "point", "font", NULL);
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ temp, -1,
+ "blackface", "point", "font", NULL);
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ seek, -1,
+ "target", "point", "font", NULL);
+ length = strlen(seek);
+ start += length;
+ if ( end = strstr(start, "} }") ) {
+ *end = '\0';
+ end++;
+ *end = '\n';
+ start_flag = 0;
+ }
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ start, -1,
+ "blackface", "point", "font", NULL);
+ }
+ }
+ }
+ else
+ i++;
+ }
+ sprintf(report, "%d references displayed", count);
+ gtk_entry_set_text(GTK_ENTRY(summary), report);
+}
diff --git a/biblio/bibtex/utils/xbibfile/listwriter.c b/biblio/bibtex/utils/xbibfile/listwriter.c
new file mode 100644
index 0000000000..bab5d793ac
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/listwriter.c
@@ -0,0 +1,234 @@
+/* This file is a part of XBibFile - a system for handling BibTeX references
+ *
+ * Author: Ross Maloney
+ * Date: January 2002
+ *
+ */
+
+#include <stdio.h>
+#include <string.h>
+#include <gtk/gtk.h>
+
+
+GtkWidget *searchlabel, *searchword;
+GtkWidget *text, *textblock, *scrollblock;
+GtkWidget *summary;
+GtkTextBuffer *textpad;
+GtkTextIter iter;
+
+char holder[200], temp[200], report[30], seek[100];
+char type[20], tag[30], title[100];
+
+void find_author(GtkWidget *widget)
+{
+ GtkTooltips *tooltips;
+ GtkWidget *window, *panel, *description, *selector, *controls;
+ GtkWidget *key0, *key1, *key3;
+ GtkEditable *summarypad;
+
+ extern void close_window(GtkWidget *); /* defined in file cleanup.c */
+ void put_text_author();
+
+ tooltips = gtk_tooltips_new();
+
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile inspect");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ gtk_window_set_default_size(GTK_WINDOW(window), 500, 510);
+ panel = gtk_vbox_new(FALSE, 0);
+ gtk_container_add(GTK_CONTAINER(window), panel);
+ description = gtk_label_new("References found in the database containing specified author");
+ gtk_box_pack_start(GTK_BOX(panel), description, FALSE, TRUE, 10);
+ selector = gtk_hbox_new(FALSE, 0);
+ searchlabel = gtk_label_new("Author to find:");
+ gtk_box_pack_start(GTK_BOX(selector), searchlabel, FALSE, TRUE, 10);
+ searchword = gtk_entry_new_with_max_length(100);
+ gtk_box_pack_start(GTK_BOX(selector), searchword, FALSE, TRUE, 10);
+ g_signal_connect(GTK_OBJECT(searchword), "activate",
+ G_CALLBACK(put_text_author), NULL);
+ key3 = gtk_button_new_with_label("Execute");
+ gtk_widget_set_usize(GTK_WIDGET(key3), 90, -1);
+ g_signal_connect(GTK_OBJECT(key3), "clicked",
+ G_CALLBACK(put_text_author), NULL);
+ gtk_tooltips_set_tip(tooltips, key3,
+ "Execute search with this new word", NULL);
+ gtk_box_pack_end(GTK_BOX(selector), key3, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(panel), selector, FALSE, TRUE, 10);
+
+ /* create the text display part of the window */
+ textblock = gtk_scrolled_window_new(NULL, NULL);
+ textpad = gtk_text_buffer_new(NULL);
+ text = gtk_text_view_new_with_buffer(textpad);
+ gtk_container_add(GTK_CONTAINER(textblock), text);
+ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(textblock),
+ GTK_POLICY_AUTOMATIC,
+ GTK_POLICY_AUTOMATIC);
+ gtk_box_pack_start_defaults(GTK_BOX(panel), textblock);
+
+ /* put the window control buttons in place */
+ controls = gtk_hbox_new(FALSE, 0);
+ key0 = gtk_button_new_with_label("CANCEL");
+ gtk_widget_set_usize(GTK_WIDGET(key0), 90, -1);
+ g_signal_connect(GTK_OBJECT(key0), "clicked",
+ G_CALLBACK(close_window), NULL);
+ gtk_tooltips_set_tip(tooltips, key0,
+ "Finish this reference probe", NULL);
+ gtk_box_pack_end(GTK_BOX(controls), key0, FALSE, FALSE, 10);
+ /* and put the summary line in place */
+ summary = gtk_entry_new();
+ gtk_editable_set_editable(GTK_EDITABLE(summary), FALSE);
+ gtk_widget_set_usize(GTK_WIDGET(summary), 150, 20);
+ gtk_box_pack_start(GTK_BOX(controls), summary, FALSE, FALSE, 10);
+ gtk_box_pack_end(GTK_BOX(panel), controls, FALSE, TRUE, 10);
+
+ /* now put the 'style' for the text output */
+ gtk_text_buffer_create_tag(textpad, "blackface",
+ "foreground", "black", NULL);
+ gtk_text_buffer_create_tag(textpad, "emphasis",
+ "foreground", "red", NULL);
+ gtk_text_buffer_create_tag(textpad, "target",
+ "foreground", "green", NULL);
+ gtk_text_buffer_create_tag(textpad, "point",
+ "size", 11 * PANGO_SCALE, NULL);
+ gtk_text_buffer_create_tag(textpad, "font",
+ "style", PANGO_STYLE_NORMAL, NULL);
+
+ /* put the composite window on the screen */
+ gtk_widget_show_all(window);
+}
+
+
+
+/* This procedure performs the searching of the BibTeX database and returns
+ * its results to the text window created in the procedure find_author() above
+ */
+
+void put_text_author(GtkWidget *widget)
+{
+ int i, count, start_flag, print_flag, length;
+ char *start, *end;
+
+ extern void error(); /* defined in file error.c */
+ extern FILE *refFile; /* defined in xbibfile.c */
+
+ strcpy(seek, gtk_editable_get_chars(GTK_EDITABLE(searchword), 0, -1));
+
+ i = 0;
+ count = 0;
+ rewind(refFile);
+ gtk_text_buffer_get_iter_at_offset(textpad, &iter, 0);
+ while ( ( holder[i] = getc(refFile) ) != EOF ) {
+ if ( holder[i] == '\n' ) {
+ holder[i+1] = '\0';
+ i = 0;
+ if ( holder[0] == '@' ) {
+ print_flag = 0;
+ if ( strstr( holder, "ARTICLE") )
+ strcpy(temp, "Article ");
+ if ( strstr( holder, "BOOK") )
+ strcpy(temp, "Book ");
+ if ( strstr( holder, "BOOKLET") )
+ strcpy(temp, "Booklet ");
+ if ( strstr( holder, "CONFERENCE") )
+ strcpy(temp, "Conference ");
+ if ( strstr( holder, "INBOOK") )
+ strcpy(temp, "inBook ");
+ if ( strstr( holder, "INCOLLECTION") )
+ strcpy(temp, "Incollection ");
+ if ( strstr( holder, "INPROCEEDINGS") )
+ strcpy(temp, "inProceedings ");
+ if ( strstr( holder, "MANUAL") )
+ strcpy(temp, "Manual ");
+ if ( strstr( holder, "MASTERSTHESIS") )
+ strcpy(temp, "Masters ");
+ if ( strstr( holder, "MISC") )
+ strcpy(temp, "Misc ");
+ if ( strstr( holder, "PHDTHESIS") )
+ strcpy(temp, "PhD Thesis ");
+ if ( strstr( holder, "PROCEEDINGS") )
+ strcpy(temp, "Proceedings ");
+ if ( strstr( holder, "TECHREPORT") )
+ strcpy(temp, "Tech Rerort ");
+ if ( strstr( holder, "UNPUBLISHED") )
+ strcpy(temp, "Unpublished ");
+ strcpy(type, temp);
+ if ( start = strstr( holder, "{" ) )
+ if ( end = strstr( holder, "," ) ) {
+ *end = ' ';
+ end++;
+ *end = ' ';
+ end++;
+ *end = '\0';
+ strcpy(tag, start+1);
+ }
+ else {
+ error(widget, GINT_TO_POINTER(9));
+ g_print("Format error in this BibTeX file - no ending ,");
+ }
+ else {
+ error(widget, GINT_TO_POINTER(9));
+ g_print("Format error in this BibTeX file - no {");
+ }
+ }
+ /* if the line starts with 'author = {' */
+ if ( start = strstr(holder, " author = {") ) {
+ end = strstr(holder, "}");
+ *end = '\n';
+ end++;
+ *end = '\0';
+ strcpy(temp, start+12);
+ if ( strstr(temp, seek) )
+ print_flag = 1;
+ }
+ /* if the line starts with 'title = {' */
+ if ( start = strstr( holder, " title = {" ) ) {
+ if ( end = strstr( holder, "}," ) ) {
+ if ( (end - start) > 60 )
+ end = start + 60;
+ *end = '\n';
+ end++;
+ *end = '\0';
+ start += 11;
+ strcpy(title, start);
+ }
+ else {
+ error(widget, GINT_TO_POINTER(9));
+ g_print("Format error in this BibTeX file - no ending ,}");
+ }
+ if ( print_flag ) {
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ type, -1,
+ "blackface", "point", "font", NULL);
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ tag, -1,
+ "emphasis", "point", "font", NULL);
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ title, -1,
+ "blackface", "point", "font", NULL);
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ " ", -1,
+ "blackface", "point", "font", NULL);
+ start = strstr(temp, seek);
+ *start = '\0';
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ temp, -1,
+ "blackface", "point", "font", NULL);
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ seek, -1,
+ "target", "point", "font", NULL);
+ length = strlen(seek);
+ start += length;
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ start, -1,
+ "blackface", "point", "font", NULL);
+ count++;
+ print_flag = 0;
+ }
+ }
+ }
+ else
+ i++;
+ }
+ sprintf(report, "%d references displayed", count);
+ gtk_entry_set_text(GTK_ENTRY(summary), report);
+}
diff --git a/biblio/bibtex/utils/xbibfile/listyears.c b/biblio/bibtex/utils/xbibfile/listyears.c
new file mode 100644
index 0000000000..2b1f79a060
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/listyears.c
@@ -0,0 +1,203 @@
+/* This file is a part of XBibFile - a system for handling BibTeX references
+ *
+ * Author: Ross Maloney
+ * Date: January 2002
+ *
+ */
+
+#include <stdio.h>
+#include <string.h>
+#include <gtk/gtk.h>
+
+
+GtkWidget *searchlabel, *searchword;
+GtkWidget *text, *textblock, *scrollblock;
+GtkWidget *summary;
+GtkTextBuffer *textpad;
+GtkTextIter iter;
+
+char holder[200], temp[200], report[30], seek[100];
+char type[20], tag[30], title[100];
+
+void allyears(GtkWidget *widget)
+{
+ GtkTooltips *tooltips;
+ GtkWidget *window, *panel, *description, *selector, *controls;
+ GtkWidget *key0, *key1;
+
+ extern void close_window(GtkWidget *); /* defined in file cleanup.c */
+ void put_all_years();
+
+ tooltips = gtk_tooltips_new();
+
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile inspect");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ gtk_window_set_default_size(GTK_WINDOW(window), 500, 470);
+ panel = gtk_vbox_new(FALSE, 0);
+ gtk_container_add(GTK_CONTAINER(window), panel);
+ description = gtk_label_new("All publication date fields in database");
+ gtk_box_pack_start(GTK_BOX(panel), description, FALSE, TRUE, 10);
+
+ /* create the text display part of the window */
+ textblock = gtk_scrolled_window_new(NULL, NULL);
+ textpad = gtk_text_buffer_new(NULL);
+ text = gtk_text_view_new_with_buffer(textpad);
+ gtk_container_add(GTK_CONTAINER(textblock), text);
+ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(textblock),
+ GTK_POLICY_AUTOMATIC,
+ GTK_POLICY_AUTOMATIC);
+ gtk_box_pack_start_defaults(GTK_BOX(panel), textblock);
+
+ /* put the window control buttons in place */
+ controls = gtk_hbox_new(FALSE, 0);
+ key0 = gtk_button_new_with_label("CANCEL");
+ gtk_widget_set_usize(GTK_WIDGET(key0), 90, -1);
+ g_signal_connect(GTK_OBJECT(key0), "clicked",
+ G_CALLBACK(close_window), NULL);
+ gtk_tooltips_set_tip(tooltips, key0,
+ "Finish this reference probe", NULL);
+ gtk_box_pack_end(GTK_BOX(controls), key0, FALSE, FALSE, 10);
+ /* and put the summary line in place */
+ summary = gtk_entry_new();
+ gtk_editable_set_editable(GTK_EDITABLE(summary), FALSE);
+ gtk_widget_set_usize(GTK_WIDGET(summary), 150, 20);
+ gtk_box_pack_start(GTK_BOX(controls), summary, FALSE, FALSE, 10);
+ gtk_box_pack_end(GTK_BOX(panel), controls, FALSE, TRUE, 20);
+
+ /* now put the 'style' for the text output */
+ gtk_text_buffer_create_tag(textpad, "blackface",
+ "foreground", "black", NULL);
+ gtk_text_buffer_create_tag(textpad, "emphasis",
+ "foreground", "red", NULL);
+ gtk_text_buffer_create_tag(textpad, "target",
+ "foreground", "green", NULL);
+ gtk_text_buffer_create_tag(textpad, "point",
+ "size", 11 * PANGO_SCALE, NULL);
+ gtk_text_buffer_create_tag(textpad, "font",
+ "style", PANGO_STYLE_NORMAL, NULL);
+
+ put_all_years(widget);
+
+ /* put the composite window on the screen */
+ gtk_widget_show_all(window);
+}
+
+
+
+/* This procedure performs the searching of the BibTeX database and returns
+ * its results to the text window created in the procedure allyears() above
+ */
+
+void put_all_years(GtkWidget *widget)
+{
+ int i, count, length;
+ char *start, *end;
+
+ extern void error(); /* defined in file error.c */
+ extern FILE *refFile; /* defined in xbibfile.c */
+
+
+ i = 0;
+ count = 0;
+ rewind(refFile);
+ gtk_text_buffer_get_iter_at_offset(textpad, &iter, 0);
+ while ( ( holder[i] = getc(refFile) ) != EOF ) {
+ if ( holder[i] == '\n' ) {
+ holder[i+1] = '\0';
+ i = 0;
+ if ( holder[0] == '@' ) {
+ if ( strstr( holder, "ARTICLE") )
+ strcpy(temp, "Article ");
+ if ( strstr( holder, "BOOK") )
+ strcpy(temp, "Book ");
+ if ( strstr( holder, "BOOKLET") )
+ strcpy(temp, "Booklet ");
+ if ( strstr( holder, "CONFERENCE") )
+ strcpy(temp, "Conference ");
+ if ( strstr( holder, "INBOOK") )
+ strcpy(temp, "inBook ");
+ if ( strstr( holder, "INCOLLECTION") )
+ strcpy(temp, "Incollection ");
+ if ( strstr( holder, "INPROCEEDINGS") )
+ strcpy(temp, "inProceedings ");
+ if ( strstr( holder, "MANUAL") )
+ strcpy(temp, "Manual ");
+ if ( strstr( holder, "MASTERSTHESIS") )
+ strcpy(temp, "Masters ");
+ if ( strstr( holder, "MISC") )
+ strcpy(temp, "Misc ");
+ if ( strstr( holder, "PHDTHESIS") )
+ strcpy(temp, "PhD Thesis ");
+ if ( strstr( holder, "PROCEEDINGS") )
+ strcpy(temp, "Proceedings ");
+ if ( strstr( holder, "TECHREPORT") )
+ strcpy(temp, "Tech Rerort ");
+ if ( strstr( holder, "UNPUBLISHED") )
+ strcpy(temp, "Unpublished ");
+ strcpy(type, temp);
+ if ( start = strstr( holder, "{" ) )
+ if ( end = strstr( holder, "," ) ) {
+ *end = ' ';
+ end++;
+ *end = ' ';
+ end++;
+ *end = '\0';
+ strcpy(tag, start+1);
+ }
+ else {
+ error(widget, GINT_TO_POINTER(9));
+ g_print("Format error in this BibTeX file - no ending ,");
+ }
+ else {
+ error(widget, GINT_TO_POINTER(9));
+ g_print("Format error in this BibTeX file - no {");
+ }
+ }
+ /* if the line starts with 'year = {' */
+ if ( start = strstr(holder, " year = {") ) {
+ end = strstr(holder, "}");
+ *end = '\n';
+ end++;
+ *end = '\0';
+ strcpy(temp, start+10);
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ type, -1,
+ "blackface", "point", "font", NULL);
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ tag, -1,
+ "emphasis", "point", "font", NULL);
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ title, -1,
+ "blackface", "point", "font", NULL);
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ " ", -1,
+ "blackface", "point", "font", NULL);
+ gtk_text_buffer_insert_with_tags_by_name(textpad, &iter,
+ temp, -1,
+ "target", "point", "font", NULL);
+ count++;
+ }
+ /* if the line starts with 'title = {' */
+ if ( start = strstr( holder, " title = {" ) ) {
+ if ( end = strstr( holder, "}," ) ) {
+ if ( (end - start) > 60 )
+ end = start + 60;
+ *end = '\n';
+ end++;
+ *end = '\0';
+ start += 11;
+ strcpy(title, start);
+ }
+ else {
+ error(widget, GINT_TO_POINTER(9));
+ g_print("Format error in this BibTeX file - no ending ,}");
+ }
+ }
+ }
+ else
+ i++;
+ }
+ sprintf(report, "%d references displayed", count);
+ gtk_entry_set_text(GTK_ENTRY(summary), report);
+}
diff --git a/biblio/bibtex/utils/xbibfile/manual.c b/biblio/bibtex/utils/xbibfile/manual.c
new file mode 100644
index 0000000000..f946d885dc
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/manual.c
@@ -0,0 +1,457 @@
+/* This file is a part of XBibFile - a system for handling BibTeX references
+ *
+ * Author: Ross Maloney
+ * Date: October 1999
+ * Modified: January 2002
+ *
+ */
+
+#include <stdio.h>
+#include <gtk/gtk.h>
+
+#include "xbibfile.h"
+
+/* This file is a modified copy of phd.c so that it handles the
+ * Manual BibTeX reference style */
+
+
+GtkWidget *labelX, *dataX;
+GtkWidget *label0, *data0;
+GtkWidget *label1, *data1;
+GtkWidget *label2, *data2;
+GtkWidget *label3, *data3;
+GtkWidget *label6, *data6;
+GtkWidget *label12, *data12;
+GtkWidget *label13, *data13, *textscroll;
+GtkWidget *label15, *data15;
+GtkWidget *label20, *data20;
+GtkWidget *label22, *data22;
+GtkWidget *label24, *data24;
+GtkWidget *label30, *data30;
+GtkWidget *label31, *data31;
+GtkWidget *label32, *data32;
+GtkTextBuffer *text13;
+GtkTextIter start, end;
+PangoFontDescription *font_desc;
+
+
+
+
+/* The procedure to save the Manual style */
+
+void save_manual(GtkWidget *widget)
+{
+ extern int format;
+ extern int length[];
+ extern char slate[][];
+ extern int lengthX;
+ extern char slateX[];
+ extern char slate1[];
+ extern char slate2[];
+ extern char slate3[];
+ extern char slate6[];
+ extern char slate12[];
+ extern char slate13[];
+ extern char slate15[];
+ extern char slate20[];
+ extern char slate22[];
+ extern char slate24[];
+ extern char slate30[];
+ extern char slate31[];
+ extern char slate32[];
+ extern void error(); /* defined in file error.c */
+ extern FILE *finput; /* defined in file xbibfile.c */
+ extern void close_window(); /* defined in file cleanup.c */
+
+ if (format != 8) {
+ error(widget, GINT_TO_POINTER(5));
+ return;
+ }
+ strcpy(slateX, gtk_entry_get_text(GTK_ENTRY(dataX)));
+ lengthX = strlen(slateX);
+ strcpy(slate20, gtk_entry_get_text(GTK_ENTRY(data20)));
+ length[20] = strlen(slate20);
+ if (!length[20] && lengthX) {
+ error(widget, GINT_TO_POINTER(3));
+ return;
+ }
+ if (!finput) {
+ error(widget, GINT_TO_POINTER(8));
+ return;
+ }
+ /* finput = stdout; */
+ fprintf(finput, "\n@MANUAL{%s,\n", slateX);
+ fprintf(finput, " title = {%s}", slate20);
+ if (length[3])
+ fprintf(finput, ",\n author = {%s}", slate3);
+ if (length[15])
+ fprintf(finput, ",\n organization = {%s}", slate15);
+ if (length[1])
+ fprintf(finput, ",\n address = {%s}", slate1);
+ if (length[6])
+ fprintf(finput, ",\n edition = {%s}", slate6);
+ if (length[12])
+ fprintf(finput, ",\n month = {%s}", slate12);
+ if (length[24])
+ fprintf(finput, ",\n year = {%s}", slate24);
+ if (length[22])
+ fprintf(finput, ",\n URL = {%s}", slate22);
+ if (length[2])
+ fprintf(finput, ",\n note = {%s}", slate2);
+ if (length[13])
+ fprintf(finput, ",\n annote = {%s}", slate13);
+ if (length[30])
+ fprintf(finput, ",\n uplink = {%s}", slate30);
+ if (length[31])
+ fprintf(finput, ",\n crosslink = {%s}", slate31);
+ if (length[32])
+ fprintf(finput, ",\n externlink = {%s}", slate32);
+ fprintf(finput, " }\n");
+ /* indicate that the reference is saved */
+ format = 0;
+ length[1] = 0;
+ length[2] = 0;
+ length[3] = 0;
+ length[6] = 0;
+ length[12] = 0;
+ length[13] = 0;
+ length[15] = 0;
+ length[20] = 0;
+ length[22] = 0;
+ length[24] = 0;
+ length[30] = 0;
+ length[31] = 0;
+ length[32] = 0;
+ close_window(widget); /* remove this reference window */
+}
+
+
+/* Save the Manual optional fields for subsequent saving */
+
+void save_manualoptions(GtkWidget *widget)
+{
+ extern void close_window();
+ extern int length[];
+ extern char slate1[];
+ extern char slate2[];
+ extern char slate3[];
+ extern char slate6[];
+ extern char slate12[];
+ extern char slate13[];
+ extern char slate15[];
+ extern char slate22[];
+ extern char slate24[];
+ char *text_in_field;
+ int count;
+
+ strcpy(slate1, gtk_entry_get_text(GTK_ENTRY(data1)));
+ length[1] = strlen(slate1);
+ strcpy(slate3, gtk_entry_get_text(GTK_ENTRY(data3)));
+ length[3] = strlen(slate3);
+ strcpy(slate6, gtk_entry_get_text(GTK_ENTRY(data6)));
+ length[6] = strlen(slate6);
+ strcpy(slate12, gtk_entry_get_text(GTK_ENTRY(data12)));
+ length[12] = strlen(slate12);
+ count = gtk_text_buffer_get_char_count(text13);
+ gtk_text_buffer_get_iter_at_offset(text13, &end, count);
+ gtk_text_buffer_get_iter_at_offset(text13, &start, 0);
+ strcpy(slate13, gtk_text_buffer_get_text(text13, &start, &end, FALSE));
+ length[13] = count;
+ strcpy(slate15, gtk_entry_get_text(GTK_ENTRY(data15)));
+ length[15] = strlen(slate15);
+ strcpy(slate22, gtk_entry_get_text(GTK_ENTRY(data22)));
+ length[22] = strlen(slate22);
+ strcpy(slate2, gtk_entry_get_text(GTK_ENTRY(data2)));
+ length[2] = strlen(slate2);
+ strcpy(slate24, gtk_entry_get_text(GTK_ENTRY(data24)));
+ length[24] = strlen(slate24);
+ close_window(widget);
+}
+
+
+
+
+/* Close the option entry window, but first delete the entries */
+
+void close_manualoptions(GtkWidget *widget)
+{
+ extern void close_window();
+ extern int length[];
+
+ length[1] = 0;
+ length[2] = 0;
+ length[3] = 0;
+ length[6] = 0;
+ length[12] = 0;
+ length[13] = 0;
+ length[15] = 0;
+ length[22] = 0;
+ length[24] = 0;
+ close_window(widget);
+}
+
+
+/* The procedure to put the optional Manual style fields on the screen */
+
+void manualoptions(GtkWidget *widget)
+{
+ extern int format;
+ GtkTooltips *tooltips;
+ GtkWidget *window;
+ GtkWidget *decoration;
+ GtkWidget *totalPane;
+ GtkWidget *field0;
+ GtkWidget *field1;
+ GtkWidget *field2;
+ GtkWidget *field3;
+ GtkWidget *field4;
+ GtkWidget *field5;
+ GtkWidget *field6;
+ GtkWidget *field7;
+ GtkWidget *field8;
+ GtkWidget *key0;
+ GtkWidget *key1;
+
+ void close_mamualoptions();
+ void save_manualoptions();
+
+ if (format == 0) {
+ error (widget, GINT_TO_POINTER(6));
+ return;
+ }
+
+ /* create the tooltip help feature */
+
+ tooltips = gtk_tooltips_new();
+
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile create");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ gtk_widget_set_usize(GTK_WIDGET(window), 400, 635);
+ decoration = gtk_frame_new("Optional Manual fields");
+ gtk_container_add(GTK_CONTAINER(window), decoration);
+ totalPane = gtk_vbox_new(FALSE, 5);
+ gtk_container_add(GTK_CONTAINER(decoration), totalPane);
+
+ /* put the text fields in place */
+ field1 = gtk_hbox_new(FALSE, 0);
+ data3 = gtk_entry_new_with_max_length(LARGE);
+ label3 = gtk_label_new("Author:");
+ gtk_widget_set_usize(GTK_WIDGET(label3), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field1), label3, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field1), data3, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field1, FALSE, TRUE, 10);
+
+ field2 = gtk_hbox_new(FALSE, 0);
+ data15 = gtk_entry_new_with_max_length(LARGE);
+ label15 = gtk_label_new("Organization:");
+ gtk_widget_set_usize(GTK_WIDGET(label15), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field2), label15, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field2), data15, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field2, FALSE, TRUE, 2);
+
+ field3 = gtk_hbox_new(FALSE, 0);
+ data1 = gtk_entry_new_with_max_length(LARGE);
+ label1 = gtk_label_new("Address:");
+ gtk_widget_set_usize(GTK_WIDGET(label1), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field3), label1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field3), data1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field3, FALSE, TRUE, 2);
+
+ field4 = gtk_hbox_new(FALSE, 0);
+ data6 = gtk_entry_new_with_max_length(SMALL);
+ label6 = gtk_label_new("Edition:");
+ gtk_widget_set_usize(GTK_WIDGET(label6), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field4), label6, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field4), data6, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field4, FALSE, TRUE, 2);
+
+ field5 = gtk_hbox_new(FALSE, 0);
+ data12 = gtk_entry_new_with_max_length(TINY);
+ label12 = gtk_label_new("Month:");
+ gtk_widget_set_usize(GTK_WIDGET(label12), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field5), label12, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field5), data12, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field5, FALSE, TRUE, 2);
+
+ field6 = gtk_hbox_new(FALSE, 0);
+ data24 = gtk_entry_new_with_max_length(TINY);
+ label24 = gtk_label_new("Year:");
+ gtk_widget_set_usize(GTK_WIDGET(label24), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field6), label24, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field6), data24, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field6, FALSE, TRUE, 2);
+
+ field7 = gtk_hbox_new(FALSE, 0);
+ data22 = gtk_entry_new_with_max_length(LARGE);
+ label22 = gtk_label_new("URL:");
+ gtk_widget_set_usize(GTK_WIDGET(label22), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field7), label22, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field7), data22, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field7, FALSE, TRUE, 2);
+
+ field8 = gtk_hbox_new(FALSE, 0);
+ data2 = gtk_entry_new_with_max_length(LARGE);
+ label2 = gtk_label_new("note:");
+ gtk_widget_set_usize(GTK_WIDGET(label2), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field8), label2, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field8), data2, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field8, FALSE, TRUE, 2);
+
+ text13 = gtk_text_buffer_new(NULL);
+ data13 = gtk_text_view_new_with_buffer(text13);
+ textscroll = gtk_scrolled_window_new(NULL, NULL);
+ font_desc = pango_font_description_from_string("Sans 12");
+ gtk_widget_modify_font(data13, font_desc);
+ gtk_container_add(GTK_CONTAINER(textscroll), data13);
+ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(textscroll),
+ GTK_POLICY_AUTOMATIC,
+ GTK_POLICY_AUTOMATIC);
+ gtk_widget_set_usize(GTK_WIDGET(data13), 30, 250);
+ label13 = gtk_label_new("Annotation:");
+ gtk_box_pack_start(GTK_BOX(totalPane), label13, FALSE, TRUE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), textscroll, FALSE, TRUE, 2);
+
+ /* finally, put the cancel button in place */
+ field0 = gtk_hbox_new(FALSE, 0);
+ key0 = gtk_button_new_with_label("CANCEL");
+ gtk_widget_set_usize(GTK_WIDGET(key0), 90, -1);
+ g_signal_connect(GTK_OBJECT(key0), "clicked",
+ G_CALLBACK(close_manualoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key0,
+ "Discard the contents of this window", NULL);
+ gtk_box_pack_end(GTK_BOX(field0), key0, FALSE, FALSE, 10);
+ key1 = gtk_button_new_with_label("Save");
+ gtk_widget_set_usize(GTK_WIDGET(key1), 90, -1);
+ g_signal_connect(GTK_OBJECT(key1), "clicked",
+ G_CALLBACK(save_manualoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key1,
+ "Store the contents of this window", NULL);
+ gtk_box_pack_end(GTK_BOX(field0), key1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field0, FALSE, TRUE, 10);
+
+ /* put the composite window on the screen */
+ gtk_widget_show_all(window);
+}
+
+
+
+/* The procedure to put the basic Manual style on the screen */
+
+void manual(GtkWidget *widget)
+{
+ GtkTooltips *tooltips;
+ GtkWidget *window;
+ GtkWidget *decoration;
+ GtkWidget *totalPane;
+ GtkWidget *opDecoration;
+ GtkWidget *field0;
+ GtkWidget *field1;
+ GtkWidget *option;
+ GtkWidget *controls;
+ GtkWidget *key1;
+ GtkWidget *key2;
+ GtkWidget *key3;
+ GtkWidget *key4;
+ GtkWidget *field2;
+ GtkWidget *field3;
+ GtkWidget *field4;
+ GtkWidget *field5;
+ extern int format;
+ extern char slate0[];
+
+ extern void linkwindow();
+ extern void closure_check(); /* defined in file cleanup.c */
+ extern void close_window(); /* defined in file cleanup.c */
+ void manualoptions();
+ void save_manual();
+
+ /* create the tooltip help feature */
+
+ tooltips = gtk_tooltips_new();
+
+ format = 8; /* indicate processing of a MANUAL */
+
+ /* create the wondow and its top panel */
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile create");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ decoration = gtk_frame_new("Manual type - required field");
+ gtk_widget_set_usize(GTK_WIDGET(window), 450, 235);
+ gtk_container_add(GTK_CONTAINER(window), decoration);
+ totalPane = gtk_vbox_new(FALSE, 5);
+ gtk_container_add(GTK_CONTAINER(decoration), totalPane);
+
+ field1 = gtk_hbox_new(FALSE,0);
+ dataX = gtk_entry_new_with_max_length(SMALL);
+ gtk_widget_set_usize(GTK_WIDGET(dataX), 345, -1);
+ labelX = gtk_label_new("Tag/s:");
+ gtk_widget_set_usize(GTK_WIDGET(labelX), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field1), labelX, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field1), dataX, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field1, FALSE, TRUE, 10);
+
+ field0 = gtk_hbox_new(FALSE, 0);
+ data0 = gtk_entry_new_with_max_length(LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data0), 345, -1);
+ label0 = gtk_label_new("File used:");
+ gtk_widget_set_usize(GTK_WIDGET(label0), 65, -1);
+ gtk_entry_set_text(GTK_ENTRY(data0), slate0);
+ gtk_box_pack_start(GTK_BOX(field0), label0, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field0), data0, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field0, FALSE, TRUE, 2);
+
+ /* position the remaining field entries */
+ field2 = gtk_hbox_new(FALSE, 0);
+ data20 = gtk_entry_new_with_max_length(LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data20), 345, -1);
+ label20 = gtk_label_new("Title:");
+ gtk_widget_set_usize(GTK_WIDGET(label20), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field2), label20, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field2), data20, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field2, FALSE, TRUE, 8);
+
+ /* put the control keys on to the window */
+ option = gtk_hbox_new(FALSE, 0);
+ key2 = gtk_button_new_with_label("Optional fields");
+ gtk_widget_set_usize(GTK_WIDGET(key2), 130, -1);
+ g_signal_connect(GTK_OBJECT(key2), "clicked",
+ G_CALLBACK(manualoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key2,
+ "Click here to get window containing remaining Manual fields",
+ NULL);
+ gtk_box_pack_start(GTK_BOX(option), key2, FALSE, FALSE, 10);
+ controls = gtk_hbox_new(FALSE, 0);
+ key1 = gtk_button_new_with_label("Save");
+ gtk_widget_set_usize(GTK_WIDGET(key1), 90, -1);
+ g_signal_connect(GTK_OBJECT(key1), "clicked",
+ G_CALLBACK(save_manual), NULL);
+ gtk_tooltips_set_tip(tooltips, key1,
+ "Store this Manual reference in database", NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key1, FALSE, FALSE, 30);
+ key3 = gtk_button_new_with_label("Cancel");
+ gtk_widget_set_usize(GTK_WIDGET(key3), 90, -1);
+ g_signal_connect(GTK_OBJECT(key3), "clicked",
+ G_CALLBACK(closure_check), NULL);
+ gtk_tooltips_set_tip(tooltips, key3,
+ "Discard this Manual entry", NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key3, FALSE, FALSE, 30);
+ key4 = gtk_button_new_with_label("Linking");
+ gtk_widget_set_usize(GTK_WIDGET(key4), 90, -1);
+ g_signal_connect(GTK_OBJECT(key4), "clicked",
+ G_CALLBACK(linkwindow), NULL);
+ gtk_tooltips_set_tip(tooltips, key4,
+ "Click here for window to create links for this Manual",
+ NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key4, FALSE, FALSE, 30);
+ gtk_box_pack_start(GTK_BOX(totalPane), option, FALSE, TRUE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), controls, FALSE, TRUE, 10);
+
+
+ format = 8;
+
+ /* make the composite visible on screen */
+ gtk_widget_show_all(window);
+}
+
+
diff --git a/biblio/bibtex/utils/xbibfile/masters.c b/biblio/bibtex/utils/xbibfile/masters.c
new file mode 100644
index 0000000000..eaefc2dc74
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/masters.c
@@ -0,0 +1,456 @@
+/* This file is a part of XBibFile - a system for handling BibTeX references
+ *
+ * Author: Ross Maloney
+ * Date: October 1999
+ * Modified: january 2002
+ *
+ */
+
+#include <stdio.h>
+#include <gtk/gtk.h>
+
+#include "xbibfile.h"
+
+/* This file is a modified copy of phd.c so that it handles the
+ * Masters thesis BibTeX reference style */
+
+
+GtkWidget *labelX, *dataX;
+GtkWidget *label0, *data0;
+GtkWidget *label1, *data1;
+GtkWidget *label2, *data2;
+GtkWidget *label3, *data3;
+GtkWidget *label12, *data12;
+GtkWidget *label13, *data13, *textscroll;
+GtkWidget *label18, *data18;
+GtkWidget *label20, *data20;
+GtkWidget *label21, *data21;
+GtkWidget *label22, *data22;
+GtkWidget *label24, *data24;
+GtkWidget *label30, *data30;
+GtkWidget *label31, *data31;
+GtkWidget *label32, *data32;
+GtkTextBuffer *text13;
+GtkTextIter start, end;
+PangoFontDescription *font_desc;
+
+
+
+
+/* The procedure to save the Masters thesis style */
+
+void save_masters(GtkWidget *widget)
+{
+ extern int format;
+ extern int length[];
+ extern char slate[][];
+ extern int lengthX;
+ extern char slateX[];
+ extern char slate1[];
+ extern char slate2[];
+ extern char slate3[];
+ extern char slate12[];
+ extern char slate13[];
+ extern char slate18[];
+ extern char slate20[];
+ extern char slate21[];
+ extern char slate22[];
+ extern char slate24[];
+ extern char slate30[];
+ extern char slate31[];
+ extern char slate32[];
+ extern void error(); /* defined in file error.c */
+ extern FILE *finput; /* defined in file xbibfile.c */
+ extern void close_window(); /* defined in file cleanup.c */
+
+ if (format != 9) {
+ error(widget, GINT_TO_POINTER(5));
+ return;
+ }
+ strcpy(slateX, gtk_entry_get_text(GTK_ENTRY(dataX)));
+ lengthX = strlen(slateX);
+ strcpy(slate3, gtk_entry_get_text(GTK_ENTRY(data3)));
+ length[3] = strlen(slate3);
+ strcpy(slate18, gtk_entry_get_text(GTK_ENTRY(data18)));
+ length[18] = strlen(slate18);
+ strcpy(slate20, gtk_entry_get_text(GTK_ENTRY(data20)));
+ length[20] = strlen(slate20);
+ strcpy(slate24, gtk_entry_get_text(GTK_ENTRY(data24)));
+ length[24] = strlen(slate24);
+ if (!(length[3] && length[18] && length[20] && length[24] && lengthX)) {
+ error(widget, GINT_TO_POINTER(3));
+ return;
+ }
+ if (!finput) {
+ error(widget, GINT_TO_POINTER(8));
+ return;
+ }
+ /* finput = stdout; */
+ fprintf(finput, "\n@MASTERSTHESIS{%s,\n", slateX);
+ fprintf(finput, " author = {%s},\n", slate3);
+ fprintf(finput, " title = {%s},\n", slate20);
+ fprintf(finput, " school = {%s},\n", slate18);
+ fprintf(finput, " year = {%s}", slate24);
+ if (length[21])
+ fprintf(finput, ",\n type = {%s}", slate21);
+ if (length[1])
+ fprintf(finput, ",\n address = {%s}", slate1);
+ if (length[12])
+ fprintf(finput, ",\n month = {%s}", slate12);
+ if (length[22])
+ fprintf(finput, ",\n URL = {%s}", slate22);
+ if (length[2])
+ fprintf(finput, ",\n note = {%s}", slate2);
+ if (length[13])
+ fprintf(finput, ",\n annote = {%s}", slate13);
+ if (length[30])
+ fprintf(finput, ",\n uplink = {%s}", slate30);
+ if (length[31])
+ fprintf(finput, ",\n crosslink = {%s}", slate31);
+ if (length[32])
+ fprintf(finput, ",\n externlink = {%s}", slate32);
+ fprintf(finput, " }\n");
+ /* indicate that the reference is saved */
+ format = 0;
+ length[1] = 0;
+ length[2] = 0;
+ length[12] = 0;
+ length[13] = 0;
+ length[21] = 0;
+ length[22] = 0;
+ length[30] = 0;
+ length[31] = 0;
+ length[32] = 0;
+ close_window(widget); /* remove this reference window */
+}
+
+
+/* Save the Masters thesis optional fields for subsequent saving */
+
+void save_mastersoptions(GtkWidget *widget)
+{
+ extern void close_window();
+ extern int length[];
+ extern char slate1[];
+ extern char slate2[];
+ extern char slate12[];
+ extern char slate13[];
+ extern char slate21[];
+ extern char slate22[];
+ char *text_in_field;
+ int count;
+
+ strcpy(slate1, gtk_entry_get_text(GTK_ENTRY(data1)));
+ length[1] = strlen(slate1);
+ strcpy(slate12, gtk_entry_get_text(GTK_ENTRY(data12)));
+ length[12] = strlen(slate12);
+ count = gtk_text_buffer_get_char_count(text13);
+ gtk_text_buffer_get_iter_at_offset(text13, &end, count);
+ gtk_text_buffer_get_iter_at_offset(text13, &start, 0);
+ strcpy(slate13, gtk_text_buffer_get_text(text13, &start, &end, FALSE));
+ length[13] = count;
+ strcpy(slate21, gtk_entry_get_text(GTK_ENTRY(data21)));
+ length[21] = strlen(slate21);
+ strcpy(slate22, gtk_entry_get_text(GTK_ENTRY(data22)));
+ length[22] = strlen(slate22);
+ strcpy(slate2, gtk_entry_get_text(GTK_ENTRY(data2)));
+ length[2] = strlen(slate2);
+ close_window(widget);
+}
+
+
+
+
+/* Close the option entry window, but first delete the entries */
+
+void close_mastersoptions(GtkWidget *widget)
+{
+ extern void close_window();
+ extern int length[];
+
+ length[1] = 0;
+ length[2] = 0;
+ length[12] = 0;
+ length[13] = 0;
+ length[21] = 0;
+ length[22] = 0;
+ close_window(widget);
+}
+
+
+/* The procedure to put the optional Masters thesis style field
+ * on the screen */
+
+void mastersoptions(GtkWidget *widget)
+{
+ extern int format;
+ GtkTooltips *tooltips;
+ GtkWidget *window;
+ GtkWidget *decoration;
+ GtkWidget *totalPane;
+ GtkWidget *field0;
+ GtkWidget *field1;
+ GtkWidget *field2;
+ GtkWidget *field3;
+ GtkWidget *field4;
+ GtkWidget *field5;
+ GtkWidget *key0;
+ GtkWidget *key1;
+
+ void close_mastersoptions();
+ void save_mastersoptions();
+
+ if (format == 0) {
+ error (widget, GINT_TO_POINTER(6));
+ return;
+ }
+
+ /* create the tooltip help feature */
+
+ tooltips = gtk_tooltips_new();
+
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile create");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ gtk_widget_set_usize(GTK_WIDGET(window), 400, 540);
+ decoration = gtk_frame_new("Optional Masters thesis fields");
+ gtk_container_add(GTK_CONTAINER(window), decoration);
+ totalPane = gtk_vbox_new(FALSE, 5);
+ gtk_container_add(GTK_CONTAINER(decoration), totalPane);
+
+ /* put the text fields in place */
+ field1 = gtk_hbox_new(FALSE, 0);
+ data21 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data21), TINY);
+ label21 = gtk_label_new("Type:");
+ gtk_widget_set_usize(GTK_WIDGET(label21), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field1), label21, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field1), data21, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field1, FALSE, TRUE, 10);
+
+ field2 = gtk_hbox_new(FALSE, 0);
+ data1 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data1), LARGE);
+ label1 = gtk_label_new("Address:");
+ gtk_widget_set_usize(GTK_WIDGET(label1), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field2), label1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field2), data1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field2, FALSE, TRUE, 2);
+
+ field3 = gtk_hbox_new(FALSE, 0);
+ data12 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data12), TINY);
+ label12 = gtk_label_new("Month:");
+ gtk_widget_set_usize(GTK_WIDGET(label12), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field3), label12, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field3), data12, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field3, FALSE, TRUE, 2);
+
+ field4 = gtk_hbox_new(FALSE, 0);
+ data22 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data22), LARGE);
+ label22 = gtk_label_new("URL:");
+ gtk_widget_set_usize(GTK_WIDGET(label22), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field4), label22, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field4), data22, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field4, FALSE, TRUE, 2);
+
+ field5 = gtk_hbox_new(FALSE, 0);
+ data2 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data2), LARGE);
+ label2 = gtk_label_new("note:");
+ gtk_widget_set_usize(GTK_WIDGET(label2), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field5), label2, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field5), data2, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field5, FALSE, TRUE, 2);
+
+ text13 = gtk_text_buffer_new(NULL);
+ data13 = gtk_text_view_new_with_buffer(text13);
+ textscroll = gtk_scrolled_window_new(NULL, NULL);
+ font_desc = pango_font_description_from_string("Sans 12");
+ gtk_widget_modify_font(data13, font_desc);
+ gtk_container_add(GTK_CONTAINER(textscroll), data13);
+ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(textscroll),
+ GTK_POLICY_AUTOMATIC,
+ GTK_POLICY_AUTOMATIC);
+ gtk_widget_set_usize(GTK_WIDGET(data13), 30, 250);
+ label13 = gtk_label_new("Annotation:");
+ gtk_box_pack_start(GTK_BOX(totalPane), label13, FALSE, TRUE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), textscroll, FALSE, TRUE, 2);
+
+ /* finally, put the cancel button in place */
+ field0 = gtk_hbox_new(FALSE, 0);
+ key0 = gtk_button_new_with_label("CANCEL");
+ gtk_widget_set_usize(GTK_WIDGET(key0), 90, -1);
+ g_signal_connect(GTK_OBJECT(key0), "clicked",
+ G_CALLBACK(close_mastersoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key0,
+ "Discard the contents of this window", NULL);
+ gtk_box_pack_end(GTK_BOX(field0), key0, FALSE, FALSE, 10);
+ key1 = gtk_button_new_with_label("Save");
+ gtk_widget_set_usize(GTK_WIDGET(key1), 90, -1);
+ g_signal_connect(GTK_OBJECT(key1), "clicked",
+ G_CALLBACK(save_mastersoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key1,
+ "Store the contents of this window", NULL);
+ gtk_box_pack_end(GTK_BOX(field0), key1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field0, FALSE, TRUE, 10);
+
+ /* put the composite window on the screen */
+ gtk_widget_show_all(window);
+}
+
+
+
+/* The procedure to put the basic Masters thesis style on the screen */
+
+void masters(GtkWidget *widget)
+{
+ GtkTooltips *tooltips;
+ GtkWidget *window;
+ GtkWidget *decoration;
+ GtkWidget *totalPane;
+ GtkWidget *opDecoration;
+ GtkWidget *field0;
+ GtkWidget *field1;
+ GtkWidget *option;
+ GtkWidget *controls;
+ GtkWidget *key1;
+ GtkWidget *key2;
+ GtkWidget *key3;
+ GtkWidget *key4;
+ GtkWidget *field2;
+ GtkWidget *field3;
+ GtkWidget *field4;
+ GtkWidget *field5;
+ extern int format;
+ extern char slate0[];
+
+ extern void linkwindow();
+ extern void closure_check(); /* defined in file cleanup.c */
+ extern void close_window(); /* defined in file cleanup.c */
+ void mastersoptions();
+ void save_masters();
+
+ /* create the tooltip help feature */
+
+ tooltips = gtk_tooltips_new();
+
+ format = 9; /* indicate processing of an MASTERS THESIS */
+
+ /* create the wondow and its top panel */
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile create");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ decoration = gtk_frame_new("Masters thesis type - required fields");
+ gtk_widget_set_usize(GTK_WIDGET(window), 450, 330);
+ gtk_container_add(GTK_CONTAINER(window), decoration);
+ totalPane = gtk_vbox_new(FALSE, 5);
+ gtk_container_add(GTK_CONTAINER(decoration), totalPane);
+
+ field1 = gtk_hbox_new(FALSE,0);
+ dataX = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(dataX), SMALL);
+ gtk_widget_set_usize(GTK_WIDGET(dataX), 345, -1);
+ labelX = gtk_label_new("Tag/s:");
+ gtk_widget_set_usize(GTK_WIDGET(labelX), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field1), labelX, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field1), dataX, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field1, FALSE, TRUE, 10);
+
+ field0 = gtk_hbox_new(FALSE, 0);
+ data0 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data0), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data0), 345, -1);
+ label0 = gtk_label_new("File used:");
+ gtk_widget_set_usize(GTK_WIDGET(label0), 65, -1);
+ gtk_entry_set_text(GTK_ENTRY(data0), slate0);
+ gtk_box_pack_start(GTK_BOX(field0), label0, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field0), data0, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field0, FALSE, TRUE, 2);
+
+ /* position the remaining field entries */
+ field2 = gtk_hbox_new(FALSE, 0);
+ data3 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data3), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data3), 345, -1);
+ label3 = gtk_label_new("Author/s:");
+ gtk_widget_set_usize(GTK_WIDGET(label3), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field2), label3, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field2), data3, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field2, FALSE, TRUE, 2);
+
+ field3 = gtk_hbox_new(FALSE, 0);
+ data20 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data20), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data20), 345, -1);
+ label20 = gtk_label_new("Title:");
+ gtk_widget_set_usize(GTK_WIDGET(label20), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field3), label20, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field3), data20, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field3, FALSE, TRUE, 2);
+
+ field4 = gtk_hbox_new(FALSE, 0);
+ data18 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data18), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data18), 345, -1);
+ label18 = gtk_label_new("School:");
+ gtk_widget_set_usize(GTK_WIDGET(label18), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field4), label18, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field4), data18, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field4, FALSE, TRUE, 2);
+
+ field5 = gtk_hbox_new(FALSE, 0);
+ data24 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data24), TINY);
+ gtk_widget_set_usize(GTK_WIDGET(data24), 200, -1);
+ label24 = gtk_label_new("Year:");
+ gtk_widget_set_usize(GTK_WIDGET(label24), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field5), label24, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field5), data24, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field5, FALSE, TRUE, 2);
+
+ /* put the control keys on to the window */
+ option = gtk_hbox_new(FALSE, 0);
+ key2 = gtk_button_new_with_label("Optional fields");
+ gtk_widget_set_usize(GTK_WIDGET(key2), 130, -1);
+ g_signal_connect(GTK_OBJECT(key2), "clicked",
+ G_CALLBACK(mastersoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key2,
+ "Click here to get window containing remaining Masters fields",
+ NULL);
+ gtk_box_pack_start(GTK_BOX(option), key2, FALSE, FALSE, 10);
+ controls = gtk_hbox_new(FALSE, 0);
+ key1 = gtk_button_new_with_label("Save");
+ gtk_widget_set_usize(GTK_WIDGET(key1), 90, -1);
+ g_signal_connect(GTK_OBJECT(key1), "clicked",
+ G_CALLBACK(save_masters), NULL);
+ gtk_tooltips_set_tip(tooltips, key1,
+ "Store this Masters reference in database", NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key1, FALSE, FALSE, 30);
+ key3 = gtk_button_new_with_label("Cancel");
+ gtk_widget_set_usize(GTK_WIDGET(key3), 90, -1);
+ g_signal_connect(GTK_OBJECT(key3), "clicked",
+ G_CALLBACK(closure_check), NULL);
+ gtk_tooltips_set_tip(tooltips, key3,
+ "Discard this Masters entry", NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key3, FALSE, FALSE, 30);
+ key4 = gtk_button_new_with_label("Linking");
+ gtk_widget_set_usize(GTK_WIDGET(key4), 90, -1);
+ g_signal_connect(GTK_OBJECT(key4), "clicked",
+ G_CALLBACK(linkwindow), NULL);
+ gtk_tooltips_set_tip(tooltips, key4,
+ "Click here for window to create links for this Masters",
+ NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key4, FALSE, FALSE, 30);
+ gtk_box_pack_start(GTK_BOX(totalPane), option, FALSE, TRUE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), controls, FALSE, TRUE, 10);
+
+
+ format = 9;
+
+ /* make the composite visible on screen */
+ gtk_widget_show_all(window);
+}
+
+
diff --git a/biblio/bibtex/utils/xbibfile/misc.c b/biblio/bibtex/utils/xbibfile/misc.c
new file mode 100644
index 0000000000..8423c479b7
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/misc.c
@@ -0,0 +1,432 @@
+/* This file is a part of XBibFile - a system for handling BibTeX references
+ *
+ * Author: Ross Maloney
+ * Date: October 1999
+ * Modified: January 2002
+ *
+ */
+
+#include <stdio.h>
+#include <gtk/gtk.h>
+
+#include "xbibfile.h"
+
+/* This file is a modified copy of manual.c so that it handles the
+ * Misc BibTeX reference style */
+
+
+GtkWidget *labelX, *dataX;
+GtkWidget *label0, *data0;
+GtkWidget *label2, *data2;
+GtkWidget *label3, *data3;
+GtkWidget *label8, *data8;
+GtkWidget *label12, *data12;
+GtkWidget *label13, *data13, *textscroll;
+GtkWidget *label20, *data20;
+GtkWidget *label22, *data22;
+GtkWidget *label24, *data24;
+GtkWidget *label30, *data30;
+GtkWidget *label31, *data31;
+GtkWidget *label32, *data32;
+GtkTextBuffer *text13;
+GtkTextIter start, end;
+PangoFontDescription *font_desc;
+
+
+
+
+/* The procedure to save the Misc style */
+
+void save_misc(GtkWidget *widget)
+{
+ extern int format;
+ extern int length[];
+ extern char slate[][];
+ extern int lengthX;
+ extern char slateX[];
+ extern char slate2[];
+ extern char slate3[];
+ extern char slate8[];
+ extern char slate12[];
+ extern char slate13[];
+ extern char slate20[];
+ extern char slate22[];
+ extern char slate24[];
+ extern char slate30[];
+ extern char slate31[];
+ extern char slate32[];
+ extern void error(); /* defined in file error.c */
+ extern FILE *finput; /* defined in file xbibfile.c */
+ extern void close_window(); /* defined in file cleanup.c */
+
+ if (format != 10) {
+ error(widget, GINT_TO_POINTER(5));
+ return;
+ }
+ strcpy(slateX, gtk_entry_get_text(GTK_ENTRY(dataX)));
+ lengthX = strlen(slateX);
+ if (!lengthX) {
+ error(widget, GINT_TO_POINTER(3));
+ return;
+ }
+ if (!finput) {
+ error(widget, GINT_TO_POINTER(8));
+ return;
+ }
+ /* finput = stdout; */
+ fprintf(finput, "\n@MISC{%s", slateX);
+ if (length[3])
+ fprintf(finput, ",\n author = {%s}", slate3);
+ if (length[20])
+ fprintf(finput, ",\n title = {%s}", slate20);
+ if (length[8])
+ fprintf(finput, ",\n howpublished = {%s}", slate8);
+ if (length[12])
+ fprintf(finput, ",\n month = {%s}", slate12);
+ if (length[24])
+ fprintf(finput, ",\n year = {%s}", slate24);
+ if (length[22])
+ fprintf(finput, ",\n URL = {%s}", slate22);
+ if (length[2])
+ fprintf(finput, ",\n note = {%s}", slate2);
+ if (length[13])
+ fprintf(finput, ",\n annote = {%s}", slate13);
+ if (length[30])
+ fprintf(finput, ",\n uplink = {%s}", slate30);
+ if (length[31])
+ fprintf(finput, ",\n crosslink = {%s}", slate31);
+ if (length[32])
+ fprintf(finput, ",\n externlink = {%s}", slate32);
+ fprintf(finput, " }\n");
+ /* indicate that the reference is saved */
+ format = 0;
+ length[2] = 0;
+ length[3] = 0;
+ length[8] = 0;
+ length[12] = 0;
+ length[13] = 0;
+ length[20] = 0;
+ length[22] = 0;
+ length[24] = 0;
+ length[30] = 0;
+ length[31] = 0;
+ length[32] = 0;
+ close_window(widget); /* remove this reference window */
+}
+
+
+/* Save the Misc optional fields for subsequent saving */
+
+void save_miscoptions(GtkWidget *widget)
+{
+ extern void close_window();
+ extern int length[];
+ extern char slate2[];
+ extern char slate3[];
+ extern char slate8[];
+ extern char slate12[];
+ extern char slate13[];
+ extern char slate20[];
+ extern char slate22[];
+ extern char slate24[];
+ char *text_in_field;
+ int count;
+
+ strcpy(slate3, gtk_entry_get_text(GTK_ENTRY(data3)));
+ length[3] = strlen(slate3);
+ strcpy(slate8, gtk_entry_get_text(GTK_ENTRY(data8)));
+ length[8] = strlen(slate8);
+ strcpy(slate12, gtk_entry_get_text(GTK_ENTRY(data12)));
+ length[12] = strlen(slate12);
+ count = gtk_text_buffer_get_char_count(text13);
+ gtk_text_buffer_get_iter_at_offset(text13, &end, count);
+ gtk_text_buffer_get_iter_at_offset(text13, &start, 0);
+ strcpy(slate13, gtk_text_buffer_get_text(text13, &start, &end, FALSE));
+ length[13] = count;
+ strcpy(slate20, gtk_entry_get_text(GTK_ENTRY(data20)));
+ length[20] = strlen(slate20);
+ strcpy(slate22, gtk_entry_get_text(GTK_ENTRY(data22)));
+ length[22] = strlen(slate22);
+ strcpy(slate2, gtk_entry_get_text(GTK_ENTRY(data2)));
+ length[2] = strlen(slate2);
+ strcpy(slate24, gtk_entry_get_text(GTK_ENTRY(data24)));
+ length[24] = strlen(slate24);
+ close_window(widget);
+}
+
+
+
+
+/* Close the option entry window, but first delete the entries */
+
+void close_miscoptions(GtkWidget *widget)
+{
+ extern void close_window();
+ extern int length[];
+
+ length[2] = 0;
+ length[3] = 0;
+ length[8] = 0;
+ length[12] = 0;
+ length[13] = 0;
+ length[20] = 0;
+ length[22] = 0;
+ length[24] = 0;
+ close_window(widget);
+}
+
+
+/* The procedure to put the optional Misc style fields on the screen */
+
+void miscoptions(GtkWidget *widget)
+{
+ extern int format;
+ GtkTooltips *tooltips;
+ GtkWidget *window;
+ GtkWidget *decoration;
+ GtkWidget *totalPane;
+ GtkWidget *field0;
+ GtkWidget *field1;
+ GtkWidget *field2;
+ GtkWidget *field3;
+ GtkWidget *field4;
+ GtkWidget *field5;
+ GtkWidget *field6;
+ GtkWidget *field7;
+ GtkWidget *key0;
+ GtkWidget *key1;
+
+ void close_mamualoptions();
+ void save_miscoptions();
+
+ if (format == 0) {
+ error (widget, GINT_TO_POINTER(6));
+ return;
+ }
+
+ /* create the tooltip help feature */
+
+ tooltips = gtk_tooltips_new();
+
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile create");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ gtk_widget_set_usize(GTK_WIDGET(window), 400, 605);
+ decoration = gtk_frame_new("Optional Misc fields");
+ gtk_container_add(GTK_CONTAINER(window), decoration);
+ totalPane = gtk_vbox_new(FALSE, 5);
+ gtk_container_add(GTK_CONTAINER(decoration), totalPane);
+
+ /* put the text fields in place */
+ field1 = gtk_hbox_new(FALSE, 0);
+ data3 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data3), LARGE);
+ label3 = gtk_label_new("Author/s:");
+ gtk_widget_set_usize(GTK_WIDGET(label3), 80, -1);
+ gtk_box_pack_start(GTK_BOX(field1), label3, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field1), data3, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field1, FALSE, TRUE, 10);
+
+ field2 = gtk_hbox_new(FALSE, 0);
+ data20 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data20), LARGE);
+ label20 = gtk_label_new("Title:");
+ gtk_widget_set_usize(GTK_WIDGET(label20), 80, -1);
+ gtk_box_pack_start(GTK_BOX(field2), label20, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field2), data20, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field2, FALSE, TRUE, 2);
+
+ field3 = gtk_hbox_new(FALSE, 0);
+ data8 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data8), SMALL);
+ label8 = gtk_label_new("Howpublished:");
+ gtk_widget_set_usize(GTK_WIDGET(label8), 80, -1);
+ gtk_box_pack_start(GTK_BOX(field3), label8, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field3), data8, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field3, FALSE, TRUE, 2);
+
+ field4 = gtk_hbox_new(FALSE, 0);
+ data12 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data12), TINY);
+ label12 = gtk_label_new("Month:");
+ gtk_widget_set_usize(GTK_WIDGET(label12), 80, -1);
+ gtk_box_pack_start(GTK_BOX(field4), label12, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field4), data12, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field4, FALSE, TRUE, 2);
+
+ field5 = gtk_hbox_new(FALSE, 0);
+ data24 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data24), TINY);
+ label24 = gtk_label_new("Year:");
+ gtk_widget_set_usize(GTK_WIDGET(label24), 80, -1);
+ gtk_box_pack_start(GTK_BOX(field5), label24, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field5), data24, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field5, FALSE, TRUE, 2);
+
+ field6 = gtk_hbox_new(FALSE, 0);
+ data22 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data22), LARGE);
+ label22 = gtk_label_new("URL:");
+ gtk_widget_set_usize(GTK_WIDGET(label22), 80, -1);
+ gtk_box_pack_start(GTK_BOX(field6), label22, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field6), data22, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field6, FALSE, TRUE, 2);
+
+ field7 = gtk_hbox_new(FALSE, 0);
+ data2 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data2), LARGE);
+ label2 = gtk_label_new("note:");
+ gtk_widget_set_usize(GTK_WIDGET(label2), 80, -1);
+ gtk_box_pack_start(GTK_BOX(field7), label2, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field7), data2, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field7, FALSE, TRUE, 2);
+
+ text13 = gtk_text_buffer_new(NULL);
+ data13 = gtk_text_view_new_with_buffer(text13);
+ textscroll = gtk_scrolled_window_new(NULL, NULL);
+ font_desc = pango_font_description_from_string("Sans 12");
+ gtk_widget_modify_font(data13, font_desc);
+ gtk_container_add(GTK_CONTAINER(textscroll), data13);
+ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(textscroll),
+ GTK_POLICY_AUTOMATIC,
+ GTK_POLICY_AUTOMATIC);
+ gtk_widget_set_usize(GTK_WIDGET(data13), 30, 250);
+ label13 = gtk_label_new("Annotation:");
+ gtk_box_pack_start(GTK_BOX(totalPane), label13, FALSE, TRUE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), textscroll, FALSE, TRUE, 2);
+
+ /* finally, put the cancel button in place */
+ field0 = gtk_hbox_new(FALSE, 0);
+ key0 = gtk_button_new_with_label("CANCEL");
+ gtk_widget_set_usize(GTK_WIDGET(key0), 90, -1);
+ g_signal_connect(GTK_OBJECT(key0), "clicked",
+ G_CALLBACK(close_miscoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key0,
+ "Discard the contents of this window", NULL);
+ gtk_box_pack_end(GTK_BOX(field0), key0, FALSE, FALSE, 10);
+ key1 = gtk_button_new_with_label("Save");
+ gtk_widget_set_usize(GTK_WIDGET(key1), 90, -1);
+ g_signal_connect(GTK_OBJECT(key1), "clicked",
+ G_CALLBACK(save_miscoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key1,
+ "Store the contents of this window", NULL);
+ gtk_box_pack_end(GTK_BOX(field0), key1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field0, FALSE, TRUE, 10);
+
+ /* put the composite window on the screen */
+ gtk_widget_show_all(window);
+}
+
+
+
+/* The procedure to put the basic Misc style on the screen */
+
+void misc(GtkWidget *widget)
+{
+ GtkTooltips *tooltips;
+ GtkWidget *window;
+ GtkWidget *decoration;
+ GtkWidget *totalPane;
+ GtkWidget *opDecoration;
+ GtkWidget *field0;
+ GtkWidget *field1;
+ GtkWidget *option;
+ GtkWidget *controls;
+ GtkWidget *key1;
+ GtkWidget *key2;
+ GtkWidget *key3;
+ GtkWidget *key4;
+ GtkWidget *field2;
+ GtkWidget *field3;
+ GtkWidget *field4;
+ GtkWidget *field5;
+ extern int format;
+ extern char slate0[];
+
+ extern void linkwindow();
+ extern void closure_check(); /* defined in file cleanup.c */
+ extern void close_window(); /* defined in file cleanup.c */
+ void miscoptions();
+ void save_misc();
+
+ /* create the tooltip help feature */
+
+ tooltips = gtk_tooltips_new();
+
+ format = 10; /* indicate processing of a MISC */
+
+ /* create the wondow and its top panel */
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile create");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ decoration = gtk_frame_new("Misc type - required fields");
+ gtk_widget_set_usize(GTK_WIDGET(decoration), 450, 195);
+ gtk_container_add(GTK_CONTAINER(window), decoration);
+ totalPane = gtk_vbox_new(FALSE, 5);
+ gtk_container_add(GTK_CONTAINER(decoration), totalPane);
+
+ field1 = gtk_hbox_new(FALSE,0);
+ dataX = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(dataX), SMALL);
+ gtk_widget_set_usize(GTK_WIDGET(dataX), 345, -1);
+ labelX = gtk_label_new("Tag/s:");
+ gtk_widget_set_usize(GTK_WIDGET(labelX), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field1), labelX, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field1), dataX, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field1, FALSE, TRUE, 10);
+
+ field0 = gtk_hbox_new(FALSE, 0);
+ data0 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data0), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data0), 345, -1);
+ label0 = gtk_label_new("File used:");
+ gtk_widget_set_usize(GTK_WIDGET(label0), 65, -1);
+ gtk_entry_set_text(GTK_ENTRY(data0), slate0);
+ gtk_box_pack_start(GTK_BOX(field0), label0, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field0), data0, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field0, FALSE, TRUE, 2);
+
+ /* put the control keys on to the window */
+ option = gtk_hbox_new(FALSE, 0);
+ key2 = gtk_button_new_with_label("Optional fields");
+ gtk_widget_set_usize(GTK_WIDGET(key2), 130, -1);
+ g_signal_connect(GTK_OBJECT(key2), "clicked",
+ G_CALLBACK(miscoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key2,
+ "Click here to get window containing remaining Miscellaneous fields",
+ NULL);
+ gtk_box_pack_start(GTK_BOX(option), key2, FALSE, FALSE, 10);
+ controls = gtk_hbox_new(FALSE, 0);
+ key1 = gtk_button_new_with_label("Save");
+ gtk_widget_set_usize(GTK_WIDGET(key1), 90, -1);
+ g_signal_connect(GTK_OBJECT(key1), "clicked",
+ G_CALLBACK(save_misc), NULL);
+ gtk_tooltips_set_tip(tooltips, key1,
+ "Store this Miscellaneous reference in database", NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key1, FALSE, FALSE, 30);
+ key3 = gtk_button_new_with_label("Cancel");
+ gtk_widget_set_usize(GTK_WIDGET(key3), 90, -1);
+ g_signal_connect(GTK_OBJECT(key3), "clicked",
+ G_CALLBACK(closure_check), NULL);
+ gtk_tooltips_set_tip(tooltips, key3,
+ "Discard this Miscellaneous entry", NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key3, FALSE, FALSE, 30);
+ key4 = gtk_button_new_with_label("Linking");
+ gtk_widget_set_usize(GTK_WIDGET(key4), 90, -1);
+ g_signal_connect(GTK_OBJECT(key4), "clicked",
+ G_CALLBACK(linkwindow), NULL);
+ gtk_tooltips_set_tip(tooltips, key4,
+ "Click here for window to create links for this Miscellaneous",
+ NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key4, FALSE, FALSE, 30);
+ gtk_box_pack_start(GTK_BOX(totalPane), option, FALSE, TRUE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), controls, FALSE, TRUE, 10);
+
+
+ format = 10;
+
+ /* make the composite visible on screen */
+ gtk_widget_show_all(window);
+}
+
+
diff --git a/biblio/bibtex/utils/xbibfile/penguin.bib b/biblio/bibtex/utils/xbibfile/penguin.bib
new file mode 100644
index 0000000000..4c780f47a7
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/penguin.bib
@@ -0,0 +1,75 @@
+
+@INCOLLECTION{blar:2000,
+ author = {Tony Blar},
+ title = {The Importance of being Tony},
+ booktitle = {My Life in a Nut Shell},
+ publisher = {British Truth Commission},
+ year = {2000},
+ editor = {Tony by himself},
+ series = {derf},
+ type = {report},
+ chapter = {3},
+ month = {March},
+ annote = {xxx} }
+
+@CONFERENCE{aa,
+ author = {bb},
+ title = {cc},
+ booktitle = {dd},
+ year = {ee},
+ editor = {ff},
+ volume = {gg},
+ number = {hh},
+ series = {ii},
+ pages = {jj},
+ address = {kk},
+ month = {ll},
+ organization = {mm},
+ publisher = {nn},
+ URL = {oo},
+ note = {pp},
+ annote = {qqrr} }
+
+@MASTERSTHESIS{aa,
+ author = {bb},
+ title = {cc},
+ school = {dd},
+ year = {ee},
+ type = {ff},
+ address = {gg},
+ month = {hh},
+ URL = {ii},
+ note = {jj},
+ annote = {kkll} }
+
+@ARTICLE{mary:2000,
+ author = {Mary Lamb},
+ title = {Caring for the Australian Economy},
+ journal = {Believe it on Not},
+ year = {2000},
+ volume = {21},
+ number = {3},
+ pages = {45--70},
+ month = {June},
+ annote = {Mary had a little lamb
+Her father shot it dead
+Now Mary takes the lamb to school
+Between two hunks of bread} }
+
+@UNPUBLISHED{mine:2000,
+ author = {me},
+ title = {another test},
+ note = {xyz},
+ month = {December},
+ year = {2000},
+ URL = {xx},
+ annote = {Go on, who is a silly boy!} }
+
+@UNPUBLISHED{other:2000,
+ author = {someone else},
+ title = {just another test},
+ note = {nothing},
+ month = {December},
+ year = {2000},
+ URL = {xx},
+ annote = {xx xx} }
diff --git a/biblio/bibtex/utils/xbibfile/phd.c b/biblio/bibtex/utils/xbibfile/phd.c
new file mode 100644
index 0000000000..3a37c8636b
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/phd.c
@@ -0,0 +1,455 @@
+/* This file is a part of XBibFile - a system for handling BibTeX references
+ *
+ * Author: Ross Maloney
+ * Date: October 1999
+ * Modified: January 2002
+ *
+ */
+
+#include <stdio.h>
+#include <gtk/gtk.h>
+
+#include "xbibfile.h"
+
+/* This file is a modified copy of article.c so that it handles the
+ * PhD thesis BibTeX reference style */
+
+
+GtkWidget *labelX, *dataX;
+GtkWidget *label0, *data0;
+GtkWidget *label1, *data1;
+GtkWidget *label2, *data2;
+GtkWidget *label3, *data3;
+GtkWidget *label12, *data12;
+GtkWidget *label13, *data13, *textscroll;
+GtkWidget *label18, *data18;
+GtkWidget *label20, *data20;
+GtkWidget *label21, *data21;
+GtkWidget *label22, *data22;
+GtkWidget *label24, *data24;
+GtkWidget *label30, *data30;
+GtkWidget *label31, *data31;
+GtkWidget *label32, *data32;
+GtkTextBuffer *text13;
+GtkTextIter start, end;
+PangoFontDescription *font_desc;
+
+
+
+
+/* The procedure to save the PhD thesis style */
+
+void save_phd(GtkWidget *widget)
+{
+ extern int format;
+ extern int length[];
+ extern char slate[][];
+ extern int lengthX;
+ extern char slateX[];
+ extern char slate1[];
+ extern char slate2[];
+ extern char slate3[];
+ extern char slate12[];
+ extern char slate13[];
+ extern char slate18[];
+ extern char slate20[];
+ extern char slate21[];
+ extern char slate22[];
+ extern char slate24[];
+ extern char slate30[];
+ extern char slate31[];
+ extern char slate32[];
+ extern void error(); /* defined in file error.c */
+ extern FILE *finput; /* defined in file xbibfile.c */
+ extern void close_window(); /* defined in file cleanup.c */
+
+ if (format != 11) {
+ error(widget, GINT_TO_POINTER(5));
+ return;
+ }
+ strcpy(slateX, gtk_entry_get_text(GTK_ENTRY(dataX)));
+ lengthX = strlen(slateX);
+ strcpy(slate3, gtk_entry_get_text(GTK_ENTRY(data3)));
+ length[3] = strlen(slate3);
+ strcpy(slate18, gtk_entry_get_text(GTK_ENTRY(data18)));
+ length[18] = strlen(slate18);
+ strcpy(slate20, gtk_entry_get_text(GTK_ENTRY(data20)));
+ length[20] = strlen(slate20);
+ strcpy(slate24, gtk_entry_get_text(GTK_ENTRY(data24)));
+ length[24] = strlen(slate24);
+ if (!(length[3] && length[18] && length[20] && length[24] && lengthX)) {
+ error(widget, GINT_TO_POINTER(3));
+ return;
+ }
+ if (!finput) {
+ error(widget, GINT_TO_POINTER(8));
+ return;
+ }
+ /* finput = stdout; */
+ fprintf(finput, "\n@PHDTHESIS{%s,\n", slateX);
+ fprintf(finput, " author = {%s},\n", slate3);
+ fprintf(finput, " title = {%s},\n", slate20);
+ fprintf(finput, " school = {%s},\n", slate18);
+ fprintf(finput, " year = {%s}", slate24);
+ if (length[21])
+ fprintf(finput, ",\n type = {%s}", slate21);
+ if (length[1])
+ fprintf(finput, ",\n address = {%s}", slate1);
+ if (length[12])
+ fprintf(finput, ",\n month = {%s}", slate12);
+ if (length[22])
+ fprintf(finput, ",\n URL = {%s}", slate22);
+ if (length[2])
+ fprintf(finput, ",\n note = {%s}", slate2);
+ if (length[13])
+ fprintf(finput, ",\n annote = {%s}", slate13);
+ if (length[30])
+ fprintf(finput, ",\n uplink = {%s}", slate30);
+ if (length[31])
+ fprintf(finput, ",\n crosslink = {%s}", slate31);
+ if (length[32])
+ fprintf(finput, ",\n externlink = {%s}", slate32);
+ fprintf(finput, " }\n");
+ /* indicate that the reference is saved */
+ format = 0;
+ length[1] = 0;
+ length[2] = 0;
+ length[12] = 0;
+ length[13] = 0;
+ length[21] = 0;
+ length[22] = 0;
+ length[30] = 0;
+ length[31] = 0;
+ length[32] = 0;
+ close_window(widget); /* remove this reference window */
+}
+
+
+/* Save the PhD thesis optional fields for subsequent saving */
+
+void save_phdoptions(GtkWidget *widget)
+{
+ extern void close_window();
+ extern int length[];
+ extern char slate1[];
+ extern char slate2[];
+ extern char slate12[];
+ extern char slate13[];
+ extern char slate21[];
+ extern char slate22[];
+ char *text_in_field;
+ int count;
+
+ strcpy(slate1, gtk_entry_get_text(GTK_ENTRY(data1)));
+ length[1] = strlen(slate1);
+ strcpy(slate12, gtk_entry_get_text(GTK_ENTRY(data12)));
+ length[12] = strlen(slate12);
+ count = gtk_text_buffer_get_char_count(text13);
+ gtk_text_buffer_get_iter_at_offset(text13, &end, count);
+ gtk_text_buffer_get_iter_at_offset(text13, &start, 0);
+ strcpy(slate13, gtk_text_buffer_get_text(text13, &start, &end, FALSE));
+ length[13] = count;
+ strcpy(slate21, gtk_entry_get_text(GTK_ENTRY(data21)));
+ length[21] = strlen(slate21);
+ strcpy(slate22, gtk_entry_get_text(GTK_ENTRY(data22)));
+ length[22] = strlen(slate22);
+ strcpy(slate2, gtk_entry_get_text(GTK_ENTRY(data2)));
+ length[2] = strlen(slate2);
+ close_window(widget);
+}
+
+
+
+
+/* Close the option entry window, but first delete the entries */
+
+void close_phdoptions(GtkWidget *widget)
+{
+ extern void close_window();
+ extern int length[];
+
+ length[1] = 0;
+ length[2] = 0;
+ length[12] = 0;
+ length[13] = 0;
+ length[21] = 0;
+ length[22] = 0;
+ close_window(widget);
+}
+
+
+/* The procedure to put the optional PhD thesis style fields on the screen */
+
+void phdoptions(GtkWidget *widget)
+{
+ extern int format;
+ GtkTooltips *tooltips;
+ GtkWidget *window;
+ GtkWidget *decoration;
+ GtkWidget *totalPane;
+ GtkWidget *field0;
+ GtkWidget *field1;
+ GtkWidget *field2;
+ GtkWidget *field3;
+ GtkWidget *field4;
+ GtkWidget *field5;
+ GtkWidget *key0;
+ GtkWidget *key1;
+
+ void close_phdoptions();
+ void save_phdoptions();
+
+ if (format == 0) {
+ error (widget, GINT_TO_POINTER(6));
+ return;
+ }
+
+ /* create the tooltip help feature */
+
+ tooltips = gtk_tooltips_new();
+
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile create");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ gtk_widget_set_usize(GTK_WIDGET(window), 400, 540);
+ decoration = gtk_frame_new("Optional PhD thesis fields");
+ gtk_container_add(GTK_CONTAINER(window), decoration);
+ totalPane = gtk_vbox_new(FALSE, 5);
+ gtk_container_add(GTK_CONTAINER(decoration), totalPane);
+
+ /* put the text fields in place */
+ field1 = gtk_hbox_new(FALSE, 0);
+ data21 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data21), TINY);
+ label21 = gtk_label_new("Type:");
+ gtk_widget_set_usize(GTK_WIDGET(label21), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field1), label21, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field1), data21, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field1, FALSE, TRUE, 10);
+
+ field2 = gtk_hbox_new(FALSE, 0);
+ data1 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data1), LARGE);
+ label1 = gtk_label_new("Address:");
+ gtk_widget_set_usize(GTK_WIDGET(label1), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field2), label1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field2), data1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field2, FALSE, TRUE, 2);
+
+ field3 = gtk_hbox_new(FALSE, 0);
+ data12 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data12), TINY);
+ label12 = gtk_label_new("Month:");
+ gtk_widget_set_usize(GTK_WIDGET(label12), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field3), label12, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field3), data12, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field3, FALSE, TRUE, 2);
+
+ field4 = gtk_hbox_new(FALSE, 0);
+ data22 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data22), LARGE);
+ label22 = gtk_label_new("URL:");
+ gtk_widget_set_usize(GTK_WIDGET(label22), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field4), label22, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field4), data22, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field4, FALSE, TRUE, 2);
+
+ field5 = gtk_hbox_new(FALSE, 0);
+ data2 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data2), LARGE);
+ label2 = gtk_label_new("note:");
+ gtk_widget_set_usize(GTK_WIDGET(label2), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field5), label2, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field5), data2, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field5, FALSE, TRUE, 2);
+
+ text13 = gtk_text_buffer_new(NULL);
+ data13 = gtk_text_view_new_with_buffer(text13);
+ textscroll = gtk_scrolled_window_new(NULL, NULL);
+ font_desc = pango_font_description_from_string("Sans 12");
+ gtk_widget_modify_font(data13, font_desc);
+ gtk_container_add(GTK_CONTAINER(textscroll), data13);
+ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(textscroll),
+ GTK_POLICY_AUTOMATIC,
+ GTK_POLICY_AUTOMATIC);
+ gtk_widget_set_usize(GTK_WIDGET(data13), 30, 250);
+ label13 = gtk_label_new("Annotation:");
+ gtk_box_pack_start(GTK_BOX(totalPane), label13, FALSE, TRUE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), textscroll, FALSE, TRUE, 2);
+
+ /* finally, put the cancel button in place */
+ field0 = gtk_hbox_new(FALSE, 0);
+ key0 = gtk_button_new_with_label("CANCEL");
+ gtk_widget_set_usize(GTK_WIDGET(key0), 90, -1);
+ g_signal_connect(GTK_OBJECT(key0), "clicked",
+ G_CALLBACK(close_phdoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key0,
+ "Discard the contents of this window", NULL);
+ gtk_box_pack_end(GTK_BOX(field0), key0, FALSE, FALSE, 10);
+ key1 = gtk_button_new_with_label("Save");
+ gtk_widget_set_usize(GTK_WIDGET(key0), 90, -1);
+ g_signal_connect(GTK_OBJECT(key1), "clicked",
+ G_CALLBACK(save_phdoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key1,
+ "Store the contents of this window", NULL);
+ gtk_box_pack_end(GTK_BOX(field0), key1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field0, FALSE, TRUE, 10);
+
+ /* put the composite window on the screen */
+ gtk_widget_show_all(window);
+}
+
+
+
+/* The procedure to put the basic PhD thesis style on the screen */
+
+void phd(GtkWidget *widget)
+{
+ GtkTooltips *tooltips;
+ GtkWidget *window;
+ GtkWidget *decoration;
+ GtkWidget *totalPane;
+ GtkWidget *opDecoration;
+ GtkWidget *field0;
+ GtkWidget *field1;
+ GtkWidget *option;
+ GtkWidget *controls;
+ GtkWidget *key1;
+ GtkWidget *key2;
+ GtkWidget *key3;
+ GtkWidget *key4;
+ GtkWidget *field2;
+ GtkWidget *field3;
+ GtkWidget *field4;
+ GtkWidget *field5;
+ extern int format;
+ extern char slate0[];
+
+ extern void linkwindow();
+ extern void closure_check(); /* defined in file cleanup.c */
+ extern void close_window(); /* defined in file cleanup.c */
+ void phdoptions();
+ void save_phd();
+
+ /* create the tooltip help feature */
+
+ tooltips = gtk_tooltips_new();
+
+ format = 11; /* indicate processing of a PhD THESIS */
+
+ /* create the wondow and its top panel */
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile create");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ decoration = gtk_frame_new("PhD thesis type - required fields");
+ gtk_widget_set_usize(GTK_WIDGET(decoration), 450, 325);
+ gtk_container_add(GTK_CONTAINER(window), decoration);
+ totalPane = gtk_vbox_new(FALSE, 5);
+ gtk_container_add(GTK_CONTAINER(decoration), totalPane);
+
+ field1 = gtk_hbox_new(FALSE,0);
+ dataX = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(dataX), SMALL);
+ gtk_widget_set_usize(GTK_WIDGET(dataX), 345, -1);
+ labelX = gtk_label_new("Tag/s:");
+ gtk_widget_set_usize(GTK_WIDGET(labelX), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field1), labelX, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field1), dataX, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field1, FALSE, TRUE, 10);
+
+ field0 = gtk_hbox_new(FALSE, 0);
+ data0 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data0), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data0), 345, -1);
+ label0 = gtk_label_new("File used:");
+ gtk_widget_set_usize(GTK_WIDGET(label0), 65, -1);
+ gtk_entry_set_text(GTK_ENTRY(data0), slate0);
+ gtk_box_pack_start(GTK_BOX(field0), label0, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field0), data0, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field0, FALSE, TRUE, 2);
+
+ /* position the remaining field entries */
+ field2 = gtk_hbox_new(FALSE, 0);
+ data3 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data3), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data3), 345, -1);
+ label3 = gtk_label_new("Author/s:");
+ gtk_widget_set_usize(GTK_WIDGET(label3), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field2), label3, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field2), data3, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field2, FALSE, TRUE, 2);
+
+ field3 = gtk_hbox_new(FALSE, 0);
+ data20 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data20), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data20), 345, -1);
+ label20 = gtk_label_new("Title:");
+ gtk_widget_set_usize(GTK_WIDGET(label20), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field3), label20, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field3), data20, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field3, FALSE, TRUE, 2);
+
+ field4 = gtk_hbox_new(FALSE, 0);
+ data18 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data18), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data18), 345, -1);
+ label18 = gtk_label_new("School:");
+ gtk_widget_set_usize(GTK_WIDGET(label18), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field4), label18, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field4), data18, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field4, FALSE, TRUE, 2);
+
+ field5 = gtk_hbox_new(FALSE, 0);
+ data24 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data24), TINY);
+ gtk_widget_set_usize(GTK_WIDGET(data24), 200, -1);
+ label24 = gtk_label_new("Year:");
+ gtk_widget_set_usize(GTK_WIDGET(label24), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field5), label24, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field5), data24, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field5, FALSE, TRUE, 2);
+
+ /* put the control keys on to the window */
+ option = gtk_hbox_new(FALSE, 0);
+ key2 = gtk_button_new_with_label("Optional fields");
+ gtk_widget_set_usize(GTK_WIDGET(key2), 130, -1);
+ g_signal_connect(GTK_OBJECT(key2), "clicked",
+ G_CALLBACK(phdoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key2,
+ "Click here to get window containing remaining PhD fields",
+ NULL);
+ gtk_box_pack_start(GTK_BOX(option), key2, FALSE, FALSE, 10);
+ controls = gtk_hbox_new(FALSE, 0);
+ key1 = gtk_button_new_with_label("Save");
+ gtk_widget_set_usize(GTK_WIDGET(key1), 90, -1);
+ g_signal_connect(GTK_OBJECT(key1), "clicked",
+ G_CALLBACK(save_phd), NULL);
+ gtk_tooltips_set_tip(tooltips, key1,
+ "Store this PhD reference in database", NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key1, FALSE, FALSE, 30);
+ key3 = gtk_button_new_with_label("Cancel");
+ gtk_widget_set_usize(GTK_WIDGET(key3), 90, -1);
+ g_signal_connect(GTK_OBJECT(key3), "clicked",
+ G_CALLBACK(closure_check), NULL);
+ gtk_tooltips_set_tip(tooltips, key3,
+ "Discard this PhD entry", NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key3, FALSE, FALSE, 30);
+ key4 = gtk_button_new_with_label("Linking");
+ gtk_widget_set_usize(GTK_WIDGET(key4), 90, -1);
+ g_signal_connect(GTK_OBJECT(key4), "clicked",
+ G_CALLBACK(linkwindow), NULL);
+ gtk_tooltips_set_tip(tooltips, key4,
+ "Click here for window to create links for this PhD",
+ NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key4, FALSE, FALSE, 30);
+ gtk_box_pack_start(GTK_BOX(totalPane), option, FALSE, TRUE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), controls, FALSE, TRUE, 10);
+
+
+ format = 11;
+
+ /* make the composite visible on screen */
+ gtk_widget_show_all(window);
+}
+
+
diff --git a/biblio/bibtex/utils/xbibfile/probes.c b/biblio/bibtex/utils/xbibfile/probes.c
new file mode 100644
index 0000000000..fb5babfa4d
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/probes.c
@@ -0,0 +1,163 @@
+/* This file is a part of XBibFile - a system for handling BibTeX references
+ *
+ * Author: Ross Maloney
+ * Date: January 2002
+ *
+ */
+
+#include <gtk/gtk.h>
+
+
+//extern int format;
+
+
+/* This procedure produces a window allowing selection of the
+ * procedures for exploring the reference database */
+
+void probe_menu(GtkWidget *widget)
+{
+ GtkTooltips *tooltips;
+ GtkWidget *window, *panel, *description, *selectionKeypad, *finish;
+ GtkWidget *separator, *keycentre;
+ GtkWidget *allkey, *allauthorkey, *allyearkey;
+ GtkWidget *wordkey, *authorkey, *yearkey, *refkey, *uplinkkey;
+ GtkWidget *journalkey, *typekey, *future3;
+ GtkWidget *spacer1key, *spacer2key;
+
+ extern void close_window(); /* defined in file cleanup.c */
+ extern void all(); /* defined in file listall.c */
+ extern void word(); /* defined in file listword.c */
+ extern void allyears(); /* defined in file listyears.c */
+ extern void allauthors(); /* defined in file listauthors.c */
+ extern void find_author(); /* defined in file listwriter.c */
+ extern void find_year(); /* defined in file listpubyear.c */
+ extern void viewref(); /* defined in file listref.c */
+ extern void alluplinks(); /* defined in file listuplinks.c */
+
+
+ /* create the tooltip help feature */
+
+ tooltips = gtk_tooltips_new();
+
+ /* form the outline of the window */
+
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile select");
+ gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ gtk_window_set_default_size(GTK_WINDOW(window), 420, 160);
+ panel = gtk_vbox_new(FALSE, 10);
+ gtk_container_add(GTK_CONTAINER(window), panel);
+ gtk_container_set_border_width(GTK_CONTAINER(window), 10);
+ description = gtk_label_new("Select a reference database probe");
+ gtk_box_pack_start_defaults(GTK_BOX(panel), description);
+ selectionKeypad = gtk_table_new(5, 4, TRUE);
+ gtk_widget_set_usize(GTK_WIDGET(selectionKeypad), 390, 180);
+ gtk_box_pack_start_defaults(GTK_BOX(panel), selectionKeypad);
+ separator = gtk_hseparator_new();
+ gtk_box_pack_start_defaults(GTK_BOX(panel), separator);
+ keycentre = gtk_table_new(1, 3, TRUE);
+ gtk_box_pack_start_defaults(GTK_BOX(panel), keycentre);
+ finish = gtk_button_new_with_label("Cancel");
+ gtk_widget_set_usize(GTK_WIDGET(keycentre), 390, 30);
+ g_signal_connect(GTK_OBJECT(finish), "clicked",
+ G_CALLBACK(close_window), NULL);
+ gtk_table_attach_defaults(GTK_TABLE(keycentre), finish, 1, 2, 0, 1);
+ gtk_tooltips_set_tip(tooltips, finish,
+ "Finished inspecting that reference database", NULL);
+
+ /* connect the List all references present process */
+ allkey = gtk_button_new_with_label("List all");
+ gtk_table_attach_defaults(GTK_TABLE(selectionKeypad),
+ allkey, 0, 1, 0 ,1);
+ g_signal_connect(GTK_OBJECT(allkey), "clicked",
+ G_CALLBACK(all), NULL);
+ gtk_tooltips_set_tip(tooltips, allkey,
+ "Show all ref_type/tag/title fields", NULL);
+
+ /* List the authors of all references present */
+ allauthorkey = gtk_button_new_with_label("List all authors");
+ gtk_table_attach_defaults(GTK_TABLE(selectionKeypad),
+ allauthorkey, 0, 1, 1 ,2);
+ g_signal_connect(GTK_OBJECT(allauthorkey), "clicked",
+ G_CALLBACK(allauthors), NULL);
+ gtk_tooltips_set_tip(tooltips, allauthorkey,
+ "Show ref_type/tag/title tag fields for all author fields in database", NULL);
+
+ /* List the publication year of all references present */
+ allyearkey = gtk_button_new_with_label("List all years");
+ gtk_table_attach_defaults(GTK_TABLE(selectionKeypad),
+ allyearkey, 0, 1, 2 ,3);
+ g_signal_connect(GTK_OBJECT(allyearkey), "clicked",
+ G_CALLBACK(allyears), NULL);
+ gtk_tooltips_set_tip(tooltips, allyearkey,
+ "Show ref_type/tag/title fields for all publication fields in database", NULL);
+
+ /* connect the List references by word present */
+ wordkey = gtk_button_new_with_label("List by word");
+ gtk_table_attach_defaults(GTK_TABLE(selectionKeypad),
+ wordkey, 1, 2, 0 ,1);
+ g_signal_connect(GTK_OBJECT(wordkey), "clicked",
+ G_CALLBACK(word), NULL);
+ gtk_tooltips_set_tip(tooltips, wordkey,
+ "Show ref_type/tag/title fields corresponding to matches of specified word", NULL);
+
+ /* connect the List references by specified author */
+ authorkey = gtk_button_new_with_label("List by author");
+ gtk_table_attach_defaults(GTK_TABLE(selectionKeypad),
+ authorkey, 1, 2, 1 ,2);
+ g_signal_connect(GTK_OBJECT(authorkey), "clicked",
+ G_CALLBACK(find_author), NULL);
+ gtk_tooltips_set_tip(tooltips, authorkey,
+ "Show ref_type/tag/title fields corresponding to specified author", NULL);
+
+
+ /* connect the List references by year of publication */
+ yearkey = gtk_button_new_with_label("List by year");
+ gtk_table_attach_defaults(GTK_TABLE(selectionKeypad),
+ yearkey, 1, 2, 2 ,3);
+ g_signal_connect(GTK_OBJECT(yearkey), "clicked",
+ G_CALLBACK(find_year), NULL);
+ gtk_tooltips_set_tip(tooltips, yearkey,
+ "Show ref_type/tag/title fields for a specified year",
+ NULL);
+
+ /* connect the List references by publishing journal */
+ journalkey = gtk_button_new_with_label("FUTURE 1");
+ gtk_table_attach_defaults(GTK_TABLE(selectionKeypad),
+ journalkey, 1, 2, 3 ,4);
+ gtk_tooltips_set_tip(tooltips, journalkey,
+ "Not currently used", NULL);
+
+ /* connect the List references by reference type */
+ typekey = gtk_button_new_with_label("FUTURE 2");
+ gtk_table_attach_defaults(GTK_TABLE(selectionKeypad),
+ typekey, 1, 2, 4 ,5);
+ gtk_tooltips_set_tip(tooltips, typekey,
+ "Not currently used", NULL);
+ future3 = gtk_button_new_with_label("FUTURE 3");
+ gtk_table_attach_defaults(GTK_TABLE(selectionKeypad),
+ future3, 1, 2, 5 ,6);
+ gtk_tooltips_set_tip(tooltips, future3,
+ "Not currently used", NULL);
+
+ /* connect the List references uplinks given */
+ uplinkkey = gtk_button_new_with_label("List by uplink");
+ gtk_table_attach_defaults(GTK_TABLE(selectionKeypad),
+ uplinkkey, 2, 3, 0 ,1);
+ g_signal_connect(GTK_OBJECT(uplinkkey), "clicked",
+ G_CALLBACK(alluplinks), NULL);
+ gtk_tooltips_set_tip(tooltips, uplinkkey,
+ "List reference citations via 'uplink' mechanism", NULL);
+
+ /* find the whole reference via its tag */
+ refkey = gtk_button_new_with_label("View Reference");
+ gtk_table_attach_defaults(GTK_TABLE(selectionKeypad),
+ refkey, 3, 4, 0 ,1);
+ g_signal_connect(GTK_OBJECT(refkey), "clicked",
+ G_CALLBACK(viewref), NULL);
+ gtk_tooltips_set_tip(tooltips, refkey,
+ "View whole reference accessed via its tag", NULL);
+
+ /* make the composite window visible on the screen */
+ gtk_widget_show_all(window);
+}
diff --git a/biblio/bibtex/utils/xbibfile/proceedings.c b/biblio/bibtex/utils/xbibfile/proceedings.c
new file mode 100644
index 0000000000..1b99112e7f
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/proceedings.c
@@ -0,0 +1,523 @@
+/* This file is a part of XBibFile - a system for handling BibTeX references
+ *
+ * Author: Ross Maloney
+ * Date: October 1999
+ * Modified: January 2002
+ *
+ */
+
+#include <stdio.h>
+#include <gtk/gtk.h>
+
+#include "xbibfile.h"
+
+/* This file is a modified copy of inproc.c so that it handles the
+ * proceedings BibTeX reference style */
+
+
+GtkWidget *labelX, *dataX;
+GtkWidget *label0, *data0;
+GtkWidget *label1, *data1;
+GtkWidget *label2, *data2;
+GtkWidget *label7, *data7;
+GtkWidget *label12, *data12;
+GtkWidget *label13, *data13, *textscroll;
+GtkWidget *label14, *data14;
+GtkWidget *label15, *data15;
+GtkWidget *label17, *data17;
+GtkWidget *label19, *data19;
+GtkWidget *label20, *data20;
+GtkWidget *label22, *data22;
+GtkWidget *label23, *data23;
+GtkWidget *label24, *data24;
+GtkWidget *label30, *data30;
+GtkWidget *label31, *data31;
+GtkWidget *label32, *data32;
+GtkTextBuffer *text13;
+GtkTextIter start, end;
+PangoFontDescription *font_desc;
+
+
+
+
+/* The procedure to save the proceedings style */
+
+void save_proceedings(GtkWidget *widget)
+{
+ extern int format;
+ extern int length[];
+ extern char slate[][];
+ extern int lengthX;
+ extern char slateX[];
+ extern char slate1[];
+ extern char slate2[];
+ extern char slate7[];
+ extern char slate12[];
+ extern char slate13[];
+ extern char slate14[];
+ extern char slate15[];
+ extern char slate17[];
+ extern char slate19[];
+ extern char slate20[];
+ extern char slate22[];
+ extern char slate23[];
+ extern char slate24[];
+ extern char slate30[];
+ extern char slate31[];
+ extern char slate32[];
+ extern void error(); /* defined in file error.c */
+ extern FILE *finput; /* defined in file xbibfile.c */
+ extern void close_window(); /* defined in file cleanup.c */
+
+ if (format != 12) {
+ error(widget, GINT_TO_POINTER(5));
+ return;
+ }
+ strcpy(slateX, gtk_entry_get_text(GTK_ENTRY(dataX)));
+ lengthX = strlen(slateX);
+ strcpy(slate20, gtk_entry_get_text(GTK_ENTRY(data20)));
+ length[20] = strlen(slate20);
+ strcpy(slate24, gtk_entry_get_text(GTK_ENTRY(data24)));
+ length[24] = strlen(slate24);
+ if (!(length[20] && length[24] && lengthX)) {
+ error(widget, GINT_TO_POINTER(3));
+ return;
+ }
+ if (!finput) {
+ error(widget, GINT_TO_POINTER(8));
+ return;
+ }
+ /* finput = stdout; */
+ fprintf(finput, "\n@PROCEEDINGS{%s,\n", slateX);
+ fprintf(finput, " title = {%s},\n", slate20);
+ fprintf(finput, " year = {%s}", slate24);
+ if (length[7])
+ fprintf(finput, ",\n editor = {%s}", slate7);
+ if (length[23])
+ fprintf(finput, ",\n volume = {%s}", slate23);
+ if (length[14])
+ fprintf(finput, ",\n number = {%s}", slate14);
+ if (length[19])
+ fprintf(finput, ",\n series = {%s}", slate19);
+ if (length[1])
+ fprintf(finput, ",\n address = {%s}", slate1);
+ if (length[12])
+ fprintf(finput, ",\n month = {%s}", slate12);
+ if (length[15])
+ fprintf(finput, ",\n organization = {%s}", slate15);
+ if (length[17])
+ fprintf(finput, ",\n publisher = {%s}", slate17);
+ if (length[22])
+ fprintf(finput, ",\n URL = {%s}", slate22);
+ if (length[2])
+ fprintf(finput, ",\n note = {%s}", slate2);
+ if (length[13])
+ fprintf(finput, ",\n annote = {%s}", slate13);
+ if (length[30])
+ fprintf(finput, ",\n uplink = {%s}", slate30);
+ if (length[31])
+ fprintf(finput, ",\n crosslink = {%s}", slate31);
+ if (length[32])
+ fprintf(finput, ",\n externlink = {%s}", slate32);
+ fprintf(finput, " }\n");
+ /* indicate that the reference is saved */
+ format = 0;
+ length[1] = 0;
+ length[2] = 0;
+ length[7] = 0;
+ length[12] = 0;
+ length[13] = 0;
+ length[14] = 0;
+ length[15] = 0;
+ length[17] = 0;
+ length[19] = 0;
+ length[22] = 0;
+ length[23] = 0;
+ length[30] = 0;
+ length[31] = 0;
+ length[32] = 0;
+ close_window(widget); /* remove this reference window */
+}
+
+
+/* Save the proceedings optional fields for subsequent saving */
+
+void save_procoptions(GtkWidget *widget)
+{
+ extern void close_window();
+ extern int length[];
+ extern char slate1[];
+ extern char slate2[];
+ extern char slate7[];
+ extern char slate12[];
+ extern char slate13[];
+ extern char slate14[];
+ extern char slate15[];
+ extern char slate16[];
+ extern char slate17[];
+ extern char slate19[];
+ extern char slate22[];
+ extern char slate23[];
+ char *text_in_field;
+ int count;
+
+ strcpy(slate1, gtk_entry_get_text(GTK_ENTRY(data1)));
+ length[1] = strlen(slate1);
+ strcpy(slate7, gtk_entry_get_text(GTK_ENTRY(data7)));
+ length[7] = strlen(slate7);
+ strcpy(slate12, gtk_entry_get_text(GTK_ENTRY(data12)));
+ length[12] = strlen(slate12);
+ strcpy(slate14, gtk_entry_get_text(GTK_ENTRY(data14)));
+ length[14] = strlen(slate14);
+ strcpy(slate15, gtk_entry_get_text(GTK_ENTRY(data15)));
+ length[15] = strlen(slate15);
+ strcpy(slate17, gtk_entry_get_text(GTK_ENTRY(data17)));
+ length[17] = strlen(slate17);
+ strcpy(slate19, gtk_entry_get_text(GTK_ENTRY(data19)));
+ length[19] = strlen(slate19);
+ strcpy(slate22, gtk_entry_get_text(GTK_ENTRY(data22)));
+ length[22] = strlen(slate22);
+ strcpy(slate23, gtk_entry_get_text(GTK_ENTRY(data23)));
+ length[23] = strlen(slate23);
+ strcpy(slate2, gtk_entry_get_text(GTK_ENTRY(data2)));
+ length[2] = strlen(slate2);
+ count = gtk_text_buffer_get_char_count(text13);
+ gtk_text_buffer_get_iter_at_offset(text13, &end, count);
+ gtk_text_buffer_get_iter_at_offset(text13, &start, 0);
+ strcpy(slate13, gtk_text_buffer_get_text(text13, &start, &end, FALSE));
+ length[13] = count;
+
+ close_window(widget);
+}
+
+
+
+
+/* Close the option entry window, but first delete the entries */
+
+void close_procoptions(GtkWidget *widget)
+{
+ extern void close_window();
+ extern int length[];
+
+ length[23] = 0;
+ length[22] = 0;
+ length[19] = 0;
+ length[17] = 0;
+ length[15] = 0;
+ length[14] = 0;
+ length[13] = 0;
+ length[12] = 0;
+ length[7] = 0;
+ length[2] = 0;
+ length[1] = 0;
+ close_window(widget);
+}
+
+
+/* The procedure to put the optional proceedings style fields
+ * on the screen */
+
+void procoptions(GtkWidget *widget)
+{
+ extern int format;
+ GtkTooltips *tooltips;
+ GtkWidget *window;
+ GtkWidget *decoration;
+ GtkWidget *totalPane;
+ GtkWidget *field0;
+ GtkWidget *field1;
+ GtkWidget *field2;
+ GtkWidget *field3;
+ GtkWidget *field4;
+ GtkWidget *field5;
+ GtkWidget *field6;
+ GtkWidget *field7;
+ GtkWidget *field8;
+ GtkWidget *field9;
+ GtkWidget *field10;
+ GtkWidget *key0;
+ GtkWidget *key1;
+
+ void close_procoptions();
+ void save_procoptions();
+
+ if (format == 0) {
+ error (widget, GINT_TO_POINTER(6));
+ return;
+ }
+
+ /* create the tooltip help feature */
+
+ tooltips = gtk_tooltips_new();
+
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile create");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ gtk_widget_set_usize(GTK_WIDGET(window), 400, 700);
+ decoration = gtk_frame_new("Optional Proceedings fields");
+ gtk_container_add(GTK_CONTAINER(window), decoration);
+ totalPane = gtk_vbox_new(FALSE, 5);
+ gtk_container_add(GTK_CONTAINER(decoration), totalPane);
+
+ /* put the text fields in place */
+ field1 = gtk_hbox_new(FALSE, 0);
+ data7 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data7), LARGE);
+ label7 = gtk_label_new("Editor/s:");
+ gtk_widget_set_usize(GTK_WIDGET(label7), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field1), label7, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field1), data7, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field1, FALSE, TRUE, 10);
+
+ field2 = gtk_hbox_new(FALSE, 0);
+ data23 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data23), TINY);
+ label23 = gtk_label_new("|| Volume:");
+ gtk_widget_set_usize(GTK_WIDGET(label23), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field2), label23, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field2), data23, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field2, FALSE, TRUE, 2);
+
+ field3 = gtk_hbox_new(FALSE, 0);
+ data14 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data14), TINY);
+ label14 = gtk_label_new("|| Number:");
+ gtk_widget_set_usize(GTK_WIDGET(label14), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field3), label14, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field3), data14, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field3, FALSE, TRUE, 2);
+
+ field4 = gtk_hbox_new(FALSE, 0);
+ data19 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data19), SMALL);
+ label19 = gtk_label_new("Series:");
+ gtk_widget_set_usize(GTK_WIDGET(label19), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field4), label19, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field4), data19, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field4, FALSE, TRUE, 2);
+
+ field5 = gtk_hbox_new(FALSE, 0);
+ data1 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data1), LARGE);
+ label1 = gtk_label_new("Address:");
+ gtk_widget_set_usize(GTK_WIDGET(label1), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field5), label1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field5), data1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field5, FALSE, TRUE, 2);
+
+ field6 = gtk_hbox_new(FALSE, 0);
+ data12 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data12), TINY);
+ label12 = gtk_label_new("Month:");
+ gtk_widget_set_usize(GTK_WIDGET(label12), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field6), label12, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field6), data12, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field6, FALSE, TRUE, 2);
+
+ field7 = gtk_hbox_new(FALSE, 0);
+ data15 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data15), LARGE);
+ label15 = gtk_label_new("Organization:");
+ gtk_widget_set_usize(GTK_WIDGET(label15), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field7), label15, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field7), data15, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field7, FALSE, TRUE, 2);
+
+ field8 = gtk_hbox_new(FALSE, 0);
+ data17 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data17), LARGE);
+ label17 = gtk_label_new("Publisher:");
+ gtk_widget_set_usize(GTK_WIDGET(label17), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field8), label17, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field8), data17, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field8, FALSE, TRUE, 2);
+
+ field9 = gtk_hbox_new(FALSE, 0);
+ data22 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data22), LARGE);
+ label22 = gtk_label_new("URL:");
+ gtk_widget_set_usize(GTK_WIDGET(label22), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field9), label22, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field9), data22, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field9, FALSE, TRUE, 2);
+
+ field10 = gtk_hbox_new(FALSE, 0);
+ data2 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data2), LARGE);
+ label2 = gtk_label_new("note:");
+ gtk_widget_set_usize(GTK_WIDGET(label2), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field10), label2, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field10), data2, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field10, FALSE, TRUE, 2);
+
+ text13 = gtk_text_buffer_new(NULL);
+ data13 = gtk_text_view_new_with_buffer(text13);
+ textscroll = gtk_scrolled_window_new(NULL, NULL);
+ font_desc = pango_font_description_from_string("Sans 12");
+ gtk_widget_modify_font(data13, font_desc);
+ gtk_container_add(GTK_CONTAINER(textscroll), data13);
+ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(textscroll),
+ GTK_POLICY_AUTOMATIC,
+ GTK_POLICY_AUTOMATIC);
+ gtk_widget_set_usize(GTK_WIDGET(data13), 30, 250);
+ label13 = gtk_label_new("Annotation:");
+ gtk_box_pack_start(GTK_BOX(totalPane), label13, FALSE, TRUE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), textscroll, FALSE, TRUE, 2);
+
+ /* finally, put the cancel button in place */
+ field0 = gtk_hbox_new(FALSE, 0);
+ key0 = gtk_button_new_with_label("CANCEL");
+ gtk_widget_set_usize(GTK_WIDGET(key0), 90, -1);
+ g_signal_connect(GTK_OBJECT(key0), "clicked",
+ G_CALLBACK(close_procoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key0,
+ "Discard the contents of this window", NULL);
+ gtk_box_pack_end(GTK_BOX(field0), key0, FALSE, FALSE, 10);
+ key1 = gtk_button_new_with_label("Save");
+ gtk_widget_set_usize(GTK_WIDGET(key0), 90, -1);
+ g_signal_connect(GTK_OBJECT(key1), "clicked",
+ G_CALLBACK(save_procoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key1,
+ "Store the contents of this window", NULL);
+ gtk_box_pack_end(GTK_BOX(field0), key1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field0, FALSE, TRUE, 10);
+
+ /* put the composite window on the screen */
+ gtk_widget_show_all(window);
+}
+
+
+
+/* The procedure to put the basic proceedings style on the screen */
+
+void proceedings(GtkWidget *widget)
+{
+ GtkTooltips *tooltips;
+ GtkWidget *window;
+ GtkWidget *decoration;
+ GtkWidget *totalPane;
+ GtkWidget *opDecoration;
+ GtkWidget *field0;
+ GtkWidget *field1;
+ GtkWidget *option;
+ GtkWidget *controls;
+ GtkWidget *key1;
+ GtkWidget *key2;
+ GtkWidget *key3;
+ GtkWidget *key4;
+ GtkWidget *field2;
+ GtkWidget *field3;
+ GtkWidget *field4;
+ GtkWidget *field5;
+ extern int format;
+ extern char slate0[];
+
+ extern void linkwindow();
+ extern void closure_check(); /* defined in file cleanup.c */
+ extern void close_window(); /* defined in file cleanup.c */
+ void procoptions();
+ void save_proceedings();
+
+ /* create the tooltip help feature */
+
+ tooltips = gtk_tooltips_new();
+
+ format = 12; /* indicate processing of an PROCEEDINGS */
+
+ /* create the wondow and its top panel */
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile create");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ decoration = gtk_frame_new("Proceedings type - required fields");
+ gtk_widget_set_usize(GTK_WIDGET(window), 450, 268);
+ gtk_container_add(GTK_CONTAINER(window), decoration);
+ totalPane = gtk_vbox_new(FALSE, 5);
+ gtk_container_add(GTK_CONTAINER(decoration), totalPane);
+
+ field1 = gtk_hbox_new(FALSE,0);
+ dataX = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(dataX), SMALL);
+ gtk_widget_set_usize(GTK_WIDGET(dataX), 345, -1);
+ labelX = gtk_label_new("Tag/s:");
+ gtk_widget_set_usize(GTK_WIDGET(labelX), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field1), labelX, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field1), dataX, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field1, FALSE, TRUE, 10);
+
+ field0 = gtk_hbox_new(FALSE, 0);
+ data0 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data0), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data0), 345, -1);
+ label0 = gtk_label_new("File used:");
+ gtk_widget_set_usize(GTK_WIDGET(label0), 65, -1);
+ gtk_entry_set_text(GTK_ENTRY(data0), slate0);
+ gtk_box_pack_start(GTK_BOX(field0), label0, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field0), data0, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field0, FALSE, TRUE, 8);
+
+ /* position the remaining field entries */
+ field2 = gtk_hbox_new(FALSE, 0);
+ data20 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data20), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data20), 345, -1);
+ label20 = gtk_label_new("Title:");
+ gtk_widget_set_usize(GTK_WIDGET(label20), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field2), label20, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field2), data20, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field2, FALSE, TRUE, 2);
+
+ field3 = gtk_hbox_new(FALSE, 0);
+ data24 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data24), TINY);
+ gtk_widget_set_usize(GTK_WIDGET(data24), 200, -1);
+ label24 = gtk_label_new("Year:");
+ gtk_widget_set_usize(GTK_WIDGET(label24), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field3), label24, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field3), data24, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field3, FALSE, TRUE, 2);
+
+ /* put the control keys on to the window */
+ option = gtk_hbox_new(FALSE, 0);
+ key2 = gtk_button_new_with_label("Optional fields");
+ gtk_widget_set_usize(GTK_WIDGET(key2), 130, -1);
+ g_signal_connect(GTK_OBJECT(key2), "clicked",
+ G_CALLBACK(procoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key2,
+ "Click here to get window containing remaining Proceedings fields",
+ NULL);
+ gtk_box_pack_start(GTK_BOX(option), key2, FALSE, FALSE, 10);
+ controls = gtk_hbox_new(FALSE, 0);
+ key1 = gtk_button_new_with_label("Save");
+ gtk_widget_set_usize(GTK_WIDGET(key1), 90, -1);
+ g_signal_connect(GTK_OBJECT(key1), "clicked",
+ G_CALLBACK(save_proceedings), NULL);
+ gtk_tooltips_set_tip(tooltips, key1,
+ "Store this Proceedings reference in database", NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key1, FALSE, FALSE, 30);
+ key3 = gtk_button_new_with_label("Cancel");
+ gtk_widget_set_usize(GTK_WIDGET(key3), 90, -1);
+ g_signal_connect(GTK_OBJECT(key3), "clicked",
+ G_CALLBACK(closure_check), NULL);
+ gtk_tooltips_set_tip(tooltips, key3,
+ "Discard this Proceedings entry", NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key3, FALSE, FALSE, 30);
+ key4 = gtk_button_new_with_label("Linking");
+ gtk_widget_set_usize(GTK_WIDGET(key4), 90, -1);
+ g_signal_connect(GTK_OBJECT(key4), "clicked",
+ G_CALLBACK(linkwindow), NULL);
+ gtk_tooltips_set_tip(tooltips, key4,
+ "Click here for window to create links for this Proceedings",
+ NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key4, FALSE, FALSE, 30);
+ gtk_box_pack_start(GTK_BOX(totalPane), option, FALSE, TRUE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), controls, FALSE, TRUE, 10);
+
+
+ format = 12;
+
+ /* make the composite visible on screen */
+ gtk_widget_show_all(window);
+}
+
+
diff --git a/biblio/bibtex/utils/xbibfile/ramblings.txt b/biblio/bibtex/utils/xbibfile/ramblings.txt
new file mode 100644
index 0000000000..de2060b3b6
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/ramblings.txt
@@ -0,0 +1,15 @@
+At the outset of my PhD studies the importance of handling reference
+material was clear. Systems such as BibTeX would automatically
+prepare the entries for a paper's reference section from the citations
+included in the paper's text. But to provide links between those
+references, for historic, logical, or theme reasons required some
+other method of handling this reference material.
+
+Looking on the Internet showed no available software of the type
+required. I asked a question on the comp.text.tex usenet newsgroup in
+regard to how others had addressed this problem, but received no
+replies. My conclusion was that to get such software I would have to
+write it. That software available only fulfilled paprt of my
+requirements. In the case of XBibTeX, the software was unstable, and
+crashed without warning, resulting in loss of information entered
+using it. BibTool offered good promise, but it was not GUI orientated.
diff --git a/biblio/bibtex/utils/xbibfile/searchrefs.pl b/biblio/bibtex/utils/xbibfile/searchrefs.pl
new file mode 100644
index 0000000000..72d2417ab0
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/searchrefs.pl
@@ -0,0 +1,47 @@
+#!/usr/bin/perl
+#
+# Script to print the key, the reference type, and the first part of the
+# title of ALL references in n BiBTeX database matching a given search
+# string.
+#
+#
+# This script is part of the XBibFile software package.
+# Writer: Ross Maloney
+# Date: August 2000
+#
+
+$count = 0;
+while ( <> ) {
+ chomp;
+ if ( /@/ ) {
+ $type = 'x';
+ $ptr_flag = 0;
+ $note_flag = 0;
+ if ( /\@ARTICLE/ ) { $type = 'A' } ;
+ if ( /\@BOOK/ ) { $type = 'B' } ;
+ if ( /\@INCOLLECTION/ ) { $type = 'C' } ;
+ if ( /\@INPROCEEDINGS/ ) { $type = 'P' } ;
+ if ( /\@PHDTHESIS/ ) { $type = 'T' } ;
+ @reftype = split(/{/, $_);
+ $reftype[1] =~ s/,//;
+ }
+ elsif ( /^ +title = \{/ ) {
+ @fields = split(/{/, $_);
+ $fields[1] =~ s/},//;
+ }
+ elsif ( /^ +annote = \{/ ) {
+ $note_flag = 1;
+ }
+ if ( $note_flag ) {
+ if ( /poem/i ) { # check for test string being present
+ if ( $ptr_flag == 0 ) {
+ $count++ ;
+ printf "\n%s %s", $type, $reftype[1];
+ printf "\t%s", substr($fields[1], 0, 50) ;
+ $ptr_flag = 1;
+ }
+ printf "\n* %s", $_;
+ }
+ }
+}
+print "\nnumber of references = $count\n" ;
diff --git a/biblio/bibtex/utils/xbibfile/selecting.c b/biblio/bibtex/utils/xbibfile/selecting.c
new file mode 100644
index 0000000000..6a77ec339d
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/selecting.c
@@ -0,0 +1,208 @@
+/* This file is a part of XBibFile - a system for handling BibTeX references
+ *
+ * Author: Ross Maloney
+ * Date: October 1999
+ * Renamed, reformed, and reworked: January 2002
+ *
+ */
+
+#include <gtk/gtk.h>
+
+
+//extern void close_window(); /* contained in cleanup.c */
+//extern void article(); /* contained in article.c */
+//extern void book(); /* contained in book.c */
+//extern void linkwindow();
+//extern int format;
+
+
+/* This procedure produces a window allowing selection of the
+ * 14 BibTeX reference formats */
+
+void available(GtkWidget *widget)
+{
+ GtkTooltips *tooltips;
+ GtkWidget *window, *panel, *description, *selectionKeypad, *separ, *finish;
+ GtkWidget *artkey, *bookkey;
+ GtkWidget *bookletkey, *confkey;
+ GtkWidget *inbookkey, *incolkey;
+ GtkWidget *inprockey, *mankey;
+ GtkWidget *masterskey, *misckey;
+ GtkWidget *procedkey, *phdkey;
+ GtkWidget *techkey, *unpubkey;
+
+ extern void article();
+ extern void book();
+ extern void inproc();
+ extern void phd();
+ extern void masters();
+ extern void incol();
+ extern void booklet(); /* contained in file booklet.c */
+ extern void conference(); /* contained in file conference.c */
+ extern void inbook(); /* contained in file inbook.c */
+ extern void unpublished(); /* contained in file unpublished.c */
+ extern void manual(); /* contained in file manual.c */
+ extern void misc(); /* contained in file misc.c */
+ extern void proceedings(); /* contained in file proceedings.c */
+ extern void techreport(); /* contained in file techreport.c */
+ extern void close_window(GtkWidget); /* contained in file cleanup.c */
+
+
+ /* create the tooltip help feature */
+
+ tooltips = gtk_tooltips_new();
+
+ /* form the outline of the window */
+
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile select");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ gtk_window_set_default_size(GTK_WINDOW(window), 250, 300);
+ panel = gtk_vbox_new(FALSE, 10);
+ description = gtk_label_new("Select a reference type");
+ gtk_box_pack_start_defaults(GTK_BOX(panel), description);
+ selectionKeypad = gtk_table_new(7, 2, TRUE);
+ gtk_widget_set_usize(GTK_WIDGET(selectionKeypad), 230, 210);
+ gtk_container_add(GTK_CONTAINER(window), panel);
+ gtk_container_set_border_width(GTK_CONTAINER(window), 10);
+ gtk_box_pack_start_defaults(GTK_BOX(panel), selectionKeypad);
+ separ = gtk_hseparator_new();
+ gtk_box_pack_start_defaults(GTK_BOX(panel), separ);
+ finish = gtk_button_new_with_label("Cancel");
+ gtk_widget_set_usize(GTK_WIDGET(finish), 130, 30);
+ g_signal_connect(GTK_OBJECT(finish), "clicked",
+ G_CALLBACK(close_window), NULL);
+ gtk_box_pack_start_defaults(GTK_BOX(panel), finish);
+ gtk_tooltips_set_tip(tooltips, finish,
+ "Finished inserting into this reference database", NULL);
+
+ /* connect the Article reference type */
+ artkey = gtk_button_new_with_label("Article");
+ gtk_table_attach_defaults(GTK_TABLE(selectionKeypad),
+ artkey, 0, 1, 0 ,1);
+ g_signal_connect(GTK_OBJECT(artkey), "clicked",
+ G_CALLBACK(article), NULL);
+ gtk_tooltips_set_tip(tooltips, artkey,
+ "Make an Article reference", NULL);
+
+ /* connect the Book reference type */
+ bookkey = gtk_button_new_with_label("Book");
+ gtk_table_attach_defaults(GTK_TABLE(selectionKeypad),
+ bookkey, 0, 1, 1 ,2);
+ g_signal_connect(GTK_OBJECT(bookkey), "clicked",
+ G_CALLBACK(book), NULL);
+ gtk_tooltips_set_tip(tooltips, bookkey,
+ "Make a Book reference", NULL);
+
+ /* connect the Booklet reference type */
+ bookletkey = gtk_button_new_with_label("Booklet");
+ gtk_table_attach_defaults(GTK_TABLE(selectionKeypad),
+ bookletkey, 0, 1, 2 ,3);
+ g_signal_connect(GTK_OBJECT(bookletkey), "clicked",
+ G_CALLBACK(booklet), NULL);
+ gtk_tooltips_set_tip(tooltips, bookletkey,
+ "Make a Booklet reference", NULL);
+
+ /* connect the Conference reference type */
+ confkey = gtk_button_new_with_label("Conference");
+ gtk_table_attach_defaults(GTK_TABLE(selectionKeypad),
+ confkey, 0, 1, 3 ,4);
+ g_signal_connect(GTK_OBJECT(confkey), "clicked",
+ G_CALLBACK(conference), NULL);
+ gtk_tooltips_set_tip(tooltips, confkey,
+ "Make a reference to a Conference", NULL);
+
+ /* connect the InBook reference type */
+ inbookkey = gtk_button_new_with_label("In Book");
+ gtk_table_attach_defaults(GTK_TABLE(selectionKeypad),
+ inbookkey, 0, 1, 4 ,5);
+ g_signal_connect(GTK_OBJECT(inbookkey), "clicked",
+ G_CALLBACK(inbook), NULL);
+ gtk_tooltips_set_tip(tooltips, inbookkey,
+ "Make an In Book reference", NULL);
+
+ /* connect the InCollection reference type */
+ incolkey = gtk_button_new_with_label("In Collection");
+ gtk_table_attach_defaults(GTK_TABLE(selectionKeypad),
+ incolkey, 0, 1, 5 ,6);
+ g_signal_connect(GTK_OBJECT(incolkey), "clicked",
+ G_CALLBACK(incol), NULL);
+ gtk_tooltips_set_tip(tooltips, incolkey,
+ "Make an In Collection reference", NULL);
+
+ /* connect the InProceedings reference type */
+ inprockey = gtk_button_new_with_label("In Proceedings");
+ gtk_table_attach_defaults(GTK_TABLE(selectionKeypad),
+ inprockey, 0, 1, 6 ,7);
+ g_signal_connect(GTK_OBJECT(inprockey), "clicked",
+ G_CALLBACK(inproc), NULL);
+ gtk_tooltips_set_tip(tooltips, inprockey,
+ "Make an In Proceedings reference", NULL);
+
+ /* connect the Manual reference type */
+ mankey = gtk_button_new_with_label("Manual");
+ gtk_table_attach_defaults(GTK_TABLE(selectionKeypad),
+ mankey, 1, 2, 0 ,1);
+ g_signal_connect(GTK_OBJECT(mankey), "clicked",
+ G_CALLBACK(manual), NULL);
+ gtk_tooltips_set_tip(tooltips, mankey,
+ "Make a reference to a Manual", NULL);
+
+ /* connect the Masters reference type */
+ masterskey = gtk_button_new_with_label("Masters thesis");
+ gtk_table_attach_defaults(GTK_TABLE(selectionKeypad),
+ masterskey, 1, 2, 1 ,2);
+ g_signal_connect(GTK_OBJECT(masterskey), "clicked",
+ G_CALLBACK(masters), NULL);
+ gtk_tooltips_set_tip(tooltips, masterskey,
+ "Make a reference to a Masters thesis", NULL);
+
+ /* connect the Misc reference type */
+ misckey = gtk_button_new_with_label("Misc");
+ gtk_table_attach_defaults(GTK_TABLE(selectionKeypad),
+ misckey, 1, 2, 2 ,3);
+ g_signal_connect(GTK_OBJECT(misckey), "clicked",
+ G_CALLBACK(misc), NULL);
+ gtk_tooltips_set_tip(tooltips, misckey,
+ "Make a reference to a Miscellaneous type document", NULL);
+
+ /* connect the PhDthesis reference type */
+ phdkey = gtk_button_new_with_label("PhD thesis");
+ gtk_table_attach_defaults(GTK_TABLE(selectionKeypad),
+ phdkey, 1, 2, 3 ,4);
+ g_signal_connect(GTK_OBJECT(phdkey), "clicked",
+ G_CALLBACK(phd), NULL);
+ gtk_tooltips_set_tip(tooltips, phdkey,
+ "Make a reference to a PhD thesis", NULL);
+
+ /* connect the Proceedings reference type */
+ procedkey = gtk_button_new_with_label("Proceedings");
+ gtk_table_attach_defaults(GTK_TABLE(selectionKeypad),
+ procedkey, 1, 2, 4 ,5);
+ g_signal_connect(GTK_OBJECT(procedkey), "clicked",
+ G_CALLBACK(proceedings), NULL);
+ gtk_tooltips_set_tip(tooltips, procedkey,
+ "Make a reference to a Proceedings", NULL);
+
+ /* connect the TechReport reference type */
+ techkey = gtk_button_new_with_label("Tech Report");
+ gtk_table_attach_defaults(GTK_TABLE(selectionKeypad),
+ techkey, 1, 2, 5 ,6);
+ g_signal_connect(GTK_OBJECT(techkey), "clicked",
+ G_CALLBACK(techreport), NULL);
+ gtk_tooltips_set_tip(tooltips, techkey,
+ "Make a reference to a Technical Report", NULL);
+
+ /* connect the Unpublished reference type */
+ unpubkey = gtk_button_new_with_label("Unpublished");
+ gtk_table_attach_defaults(GTK_TABLE(selectionKeypad),
+ unpubkey, 1, 2, 6 ,7);
+ g_signal_connect(GTK_OBJECT(unpubkey), "clicked",
+ G_CALLBACK(unpublished), NULL);
+ gtk_tooltips_set_tip(tooltips, unpubkey,
+ "Make a reference to an Unpublished document", NULL);
+
+
+ /* make the composite window visible on the screen */
+ gtk_widget_show_all(window);
+}
diff --git a/biblio/bibtex/utils/xbibfile/showrefs.pl b/biblio/bibtex/utils/xbibfile/showrefs.pl
new file mode 100644
index 0000000000..ea1c03ab8f
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/showrefs.pl
@@ -0,0 +1,33 @@
+#!/usr/bin/perl
+#
+# Script to print the key, the reference type, and the first part of the
+# title of ALL the references in a BiBTeX database.
+#
+#
+# This script is part of the XBibFile software package.
+# Writer: Ross Maloney
+# Date: August 2000
+#
+
+while ( <> ) {
+ chomp;
+ if ( /@/ ) {
+ $count++ ;
+ $type = 'x';
+ if ( /\@ARTICLE/ ) { $type = 'A' } ;
+ if ( /\@BOOK/ ) { $type = 'B' } ;
+ if ( /\@INCOLLECTION/ ) { $type = 'C' } ;
+ if ( /\@INPROCEEDINGS/ ) { $type = 'P' } ;
+ if ( /\@PHDTHESIS/ ) { $type = 'T' } ;
+ @fields = split(/{/, $_);
+ $fields[1] =~ s/,//;
+ printf "\n%s %s", $type, $fields[1];
+ }
+ else { if ( /^ +title = \{/ ) {
+ @fields = split(/{/, $_);
+ $fields[1] =~ s/},//;
+ printf "\t%s", substr($fields[1], 0, 50) ;
+ }
+ }
+}
+print "\nnumber of references = $count\n" ;
diff --git a/biblio/bibtex/utils/xbibfile/techreport.c b/biblio/bibtex/utils/xbibfile/techreport.c
new file mode 100644
index 0000000000..95ee47aca1
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/techreport.c
@@ -0,0 +1,475 @@
+/* This file is a part of XBibFile - a system for handling BibTeX references
+ *
+ * Author: Ross Maloney
+ * Date: October 1999
+ * Modified: January 2002
+ *
+ */
+
+#include <stdio.h>
+#include <gtk/gtk.h>
+
+#include "xbibfile.h"
+
+/* This file is a modified copy of phd.c so that it handles the
+ * Technical Report BibTeX reference style */
+
+
+GtkWidget *labelX, *dataX;
+GtkWidget *label0, *data0;
+GtkWidget *label1, *data1;
+GtkWidget *label2, *data2;
+GtkWidget *label3, *data3;
+GtkWidget *label9, *data9;
+GtkWidget *label12, *data12;
+GtkWidget *label13, *data13, *textscroll;
+GtkWidget *label14, *data14;
+GtkWidget *label20, *data20;
+GtkWidget *label21, *data21;
+GtkWidget *label22, *data22;
+GtkWidget *label24, *data24;
+GtkWidget *label30, *data30;
+GtkWidget *label31, *data31;
+GtkWidget *label32, *data32;
+GtkTextBuffer *text13;
+GtkTextIter start, end;
+PangoFontDescription *font_desc;
+
+
+
+
+/* The procedure to save the Technical Reporot style */
+
+void save_techreport(GtkWidget *widget)
+{
+ extern int format;
+ extern int length[];
+ extern char slate[][];
+ extern int lengthX;
+ extern char slateX[];
+ extern char slate1[];
+ extern char slate2[];
+ extern char slate3[];
+ extern char slate9[];
+ extern char slate12[];
+ extern char slate13[];
+ extern char slate14[];
+ extern char slate20[];
+ extern char slate21[];
+ extern char slate22[];
+ extern char slate24[];
+ extern char slate30[];
+ extern char slate31[];
+ extern char slate32[];
+ extern void error(); /* defined in file error.c */
+ extern FILE *finput; /* defined in file xbibfile.c */
+ extern void close_window(); /* defined in file cleanup.c */
+
+ if (format != 13) {
+ error(widget, GINT_TO_POINTER(5));
+ return;
+ }
+ strcpy(slateX, gtk_entry_get_text(GTK_ENTRY(dataX)));
+ lengthX = strlen(slateX);
+ strcpy(slate3, gtk_entry_get_text(GTK_ENTRY(data3)));
+ length[3] = strlen(slate3);
+ strcpy(slate9, gtk_entry_get_text(GTK_ENTRY(data9)));
+ length[9] = strlen(slate9);
+ strcpy(slate20, gtk_entry_get_text(GTK_ENTRY(data20)));
+ length[20] = strlen(slate20);
+ strcpy(slate24, gtk_entry_get_text(GTK_ENTRY(data24)));
+ length[24] = strlen(slate24);
+ if (!(length[3] && length[9] && length[20] && length[24] && lengthX)) {
+ error(widget, GINT_TO_POINTER(3));
+ return;
+ }
+ if (!finput) {
+ error(widget, GINT_TO_POINTER(8));
+ return;
+ }
+ /* finput = stdout; */
+ fprintf(finput, "\n@TECHREPORT{%s,\n", slateX);
+ fprintf(finput, " author = {%s},\n", slate3);
+ fprintf(finput, " title = {%s},\n", slate20);
+ fprintf(finput, " institution = {%s},\n", slate9);
+ fprintf(finput, " year = {%s}", slate24);
+ if (length[21])
+ fprintf(finput, ",\n type = {%s}", slate21);
+ if (length[14])
+ fprintf(finput, ",\n number = {%s}", slate14);
+ if (length[1])
+ fprintf(finput, ",\n address = {%s}", slate1);
+ if (length[12])
+ fprintf(finput, ",\n month = {%s}", slate12);
+ if (length[22])
+ fprintf(finput, ",\n URL = {%s}", slate22);
+ if (length[2])
+ fprintf(finput, ",\n note = {%s}", slate2);
+ if (length[13])
+ fprintf(finput, ",\n annote = {%s}", slate13);
+ if (length[30])
+ fprintf(finput, ",\n uplink = {%s}", slate30);
+ if (length[31])
+ fprintf(finput, ",\n crosslink = {%s}", slate31);
+ if (length[32])
+ fprintf(finput, ",\n externlink = {%s}", slate32);
+ fprintf(finput, " }\n");
+ /* indicate that the reference is saved */
+ format = 0;
+ length[1] = 0;
+ length[2] = 0;
+ length[12] = 0;
+ length[13] = 0;
+ length[14] = 0;
+ length[21] = 0;
+ length[22] = 0;
+ length[30] = 0;
+ length[31] = 0;
+ length[32] = 0;
+ close_window(widget); /* remove this reference window */
+}
+
+
+/* Save the Technical Report optional fields for subsequent saving */
+
+void save_techoptions(GtkWidget *widget)
+{
+ extern void close_window();
+ extern int length[];
+ extern char slate1[];
+ extern char slate2[];
+ extern char slate12[];
+ extern char slate13[];
+ extern char slate14[];
+ extern char slate21[];
+ extern char slate22[];
+ char *text_in_field;
+ int count;
+
+ strcpy(slate1, gtk_entry_get_text(GTK_ENTRY(data1)));
+ length[1] = strlen(slate1);
+ strcpy(slate12, gtk_entry_get_text(GTK_ENTRY(data12)));
+ length[12] = strlen(slate12);
+ count = gtk_text_buffer_get_char_count(text13);
+ gtk_text_buffer_get_iter_at_offset(text13, &end, count);
+ gtk_text_buffer_get_iter_at_offset(text13, &start, 0);
+ strcpy(slate13, gtk_text_buffer_get_text(text13, &start, &end, FALSE));
+ length[13] = count;
+ strcpy(slate14, gtk_entry_get_text(GTK_ENTRY(data14)));
+ length[14] = strlen(slate14);
+ strcpy(slate21, gtk_entry_get_text(GTK_ENTRY(data21)));
+ length[21] = strlen(slate21);
+ strcpy(slate22, gtk_entry_get_text(GTK_ENTRY(data22)));
+ length[22] = strlen(slate22);
+ strcpy(slate2, gtk_entry_get_text(GTK_ENTRY(data2)));
+ length[2] = strlen(slate2);
+ close_window(widget);
+}
+
+
+
+
+/* Close the option entry window, but first delete the entries */
+
+void close_techoptions(GtkWidget *widget)
+{
+ extern void close_window();
+ extern int length[];
+
+ length[1] = 0;
+ length[2] = 0;
+ length[12] = 0;
+ length[13] = 0;
+ length[14] = 0;
+ length[21] = 0;
+ length[22] = 0;
+ close_window(widget);
+}
+
+
+/* The procedure to put the optional Technical Report style
+ * fields on the screen */
+
+void techoptions(GtkWidget *widget)
+{
+ extern int format;
+ GtkTooltips *tooltips;
+ GtkWidget *window;
+ GtkWidget *decoration;
+ GtkWidget *totalPane;
+ GtkWidget *field0;
+ GtkWidget *field1;
+ GtkWidget *field2;
+ GtkWidget *field3;
+ GtkWidget *field4;
+ GtkWidget *field5;
+ GtkWidget *field6;
+ GtkWidget *key0;
+ GtkWidget *key1;
+
+ void close_techoptions();
+ void save_techoptions();
+
+ if (format == 0) {
+ error (widget, GINT_TO_POINTER(6));
+ return;
+ }
+
+ /* create the tooltip help feature */
+
+ tooltips = gtk_tooltips_new();
+
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile create");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ gtk_widget_set_usize(GTK_WIDGET(window), 400, 570);
+ decoration = gtk_frame_new("Optional Technical Report fields");
+ gtk_container_add(GTK_CONTAINER(window), decoration);
+ totalPane = gtk_vbox_new(FALSE, 5);
+ gtk_container_add(GTK_CONTAINER(decoration), totalPane);
+
+ /* put the text fields in place */
+ field1 = gtk_hbox_new(FALSE, 0);
+ data21 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data21), TINY);
+ label21 = gtk_label_new("Type:");
+ gtk_widget_set_usize(GTK_WIDGET(label21), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field1), label21, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field1), data21, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field1, FALSE, TRUE, 10);
+
+ field2 = gtk_hbox_new(FALSE, 0);
+ data14 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data14), TINY);
+ label14 = gtk_label_new("Number:");
+ gtk_widget_set_usize(GTK_WIDGET(label14), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field2), label14, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field2), data14, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field2, FALSE, TRUE, 2);
+
+ field3 = gtk_hbox_new(FALSE, 0);
+ data1 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data1), LARGE);
+ label1 = gtk_label_new("Address:");
+ gtk_widget_set_usize(GTK_WIDGET(label1), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field3), label1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field3), data1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field3, FALSE, TRUE, 2);
+
+ field4 = gtk_hbox_new(FALSE, 0);
+ data12 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data12), TINY);
+ label12 = gtk_label_new("Month:");
+ gtk_widget_set_usize(GTK_WIDGET(label12), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field4), label12, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field4), data12, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field4, FALSE, TRUE, 2);
+
+ field5 = gtk_hbox_new(FALSE, 0);
+ data22 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data22), LARGE);
+ label22 = gtk_label_new("URL:");
+ gtk_widget_set_usize(GTK_WIDGET(label22), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field5), label22, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field5), data22, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field5, FALSE, TRUE, 2);
+
+ field6 = gtk_hbox_new(FALSE, 0);
+ data2 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data2), LARGE);
+ label2 = gtk_label_new("note:");
+ gtk_widget_set_usize(GTK_WIDGET(label2), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field6), label2, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field6), data2, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field6, FALSE, TRUE, 2);
+
+ text13 = gtk_text_buffer_new(NULL);
+ data13 = gtk_text_view_new_with_buffer(text13);
+ textscroll = gtk_scrolled_window_new(NULL, NULL);
+ font_desc = pango_font_description_from_string("Sans 12");
+ gtk_widget_modify_font(data13, font_desc);
+ gtk_container_add(GTK_CONTAINER(textscroll), data13);
+ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(textscroll),
+ GTK_POLICY_AUTOMATIC,
+ GTK_POLICY_AUTOMATIC);
+ gtk_widget_set_usize(GTK_WIDGET(data13), 30, 250);
+ label13 = gtk_label_new("Annotation:");
+ gtk_box_pack_start(GTK_BOX(totalPane), label13, FALSE, TRUE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), textscroll, FALSE, TRUE, 2);
+
+ /* finally, put the cancel button in place */
+ field0 = gtk_hbox_new(FALSE, 0);
+ key0 = gtk_button_new_with_label("CANCEL");
+ gtk_widget_set_usize(GTK_WIDGET(key0), 90, -1);
+ g_signal_connect(GTK_OBJECT(key0), "clicked",
+ G_CALLBACK(close_techoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key0,
+ "Discard the contents of this window", NULL);
+ gtk_box_pack_end(GTK_BOX(field0), key0, FALSE, FALSE, 10);
+ key1 = gtk_button_new_with_label("Save");
+ gtk_widget_set_usize(GTK_WIDGET(key1), 90, -1);
+ g_signal_connect(GTK_OBJECT(key1), "clicked",
+ G_CALLBACK(save_techoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key1,
+ "Store the contents of this window", NULL);
+ gtk_box_pack_end(GTK_BOX(field0), key1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field0, FALSE, TRUE, 10);
+
+ /* put the composite window on the screen */
+ gtk_widget_show_all(window);
+}
+
+
+
+/* The procedure to put the basic Technical Report style on the screen */
+
+void techreport(GtkWidget *widget)
+{
+ GtkTooltips *tooltips;
+ GtkWidget *window;
+ GtkWidget *decoration;
+ GtkWidget *totalPane;
+ GtkWidget *opDecoration;
+ GtkWidget *field0;
+ GtkWidget *field1;
+ GtkWidget *option;
+ GtkWidget *controls;
+ GtkWidget *key1;
+ GtkWidget *key2;
+ GtkWidget *key3;
+ GtkWidget *key4;
+ GtkWidget *field2;
+ GtkWidget *field3;
+ GtkWidget *field4;
+ GtkWidget *field5;
+ extern int format;
+ extern char slate0[];
+
+ extern void linkwindow();
+ extern void closure_check(); /* defined in file cleanup.c */
+ extern void close_window(); /* defined in file cleanup.c */
+ void techoptions();
+ void save_techreport();
+
+ /* create the tooltip help feature */
+
+ tooltips = gtk_tooltips_new();
+
+ format = 13; /* indicate processing of a TECHREPORT */
+
+ /* create the wondow and its top panel */
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile create");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ decoration = gtk_frame_new("Technical Report type - required fields");
+ gtk_widget_set_usize(GTK_WIDGET(window), 450, 325);
+ gtk_container_add(GTK_CONTAINER(window), decoration);
+ totalPane = gtk_vbox_new(FALSE, 5);
+ gtk_container_add(GTK_CONTAINER(decoration), totalPane);
+
+ field1 = gtk_hbox_new(FALSE,0);
+ dataX = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(dataX), SMALL);
+ gtk_widget_set_usize(GTK_WIDGET(dataX), 345, -1);
+ labelX = gtk_label_new("Tag/s:");
+ gtk_widget_set_usize(GTK_WIDGET(labelX), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field1), labelX, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field1), dataX, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field1, FALSE, TRUE, 10);
+
+ field0 = gtk_hbox_new(FALSE, 0);
+ data0 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data0), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data0), 345, -1);
+ label0 = gtk_label_new("File used:");
+ gtk_widget_set_usize(GTK_WIDGET(label0), 65, -1);
+ gtk_entry_set_text(GTK_ENTRY(data0), slate0);
+ gtk_box_pack_start(GTK_BOX(field0), label0, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field0), data0, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field0, FALSE, TRUE, 2);
+
+ /* position the remaining field entries */
+ field2 = gtk_hbox_new(FALSE, 0);
+ data3 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data3), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data3), 345, -1);
+ label3 = gtk_label_new("Author/s:");
+ gtk_widget_set_usize(GTK_WIDGET(label3), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field2), label3, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field2), data3, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field2, FALSE, TRUE, 8);
+
+ field3 = gtk_hbox_new(FALSE, 0);
+ data20 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data20), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data20), 345, -1);
+ label20 = gtk_label_new("Title:");
+ gtk_widget_set_usize(GTK_WIDGET(label20), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field3), label20, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field3), data20, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field3, FALSE, TRUE, 2);
+
+ field4 = gtk_hbox_new(FALSE, 0);
+ data9 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data9), SMALL);
+ gtk_widget_set_usize(GTK_WIDGET(data9), 345, -1);
+ label9 = gtk_label_new("Institution:");
+ gtk_widget_set_usize(GTK_WIDGET(label9), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field4), label9, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field4), data9, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field4, FALSE, TRUE, 2);
+
+ field5 = gtk_hbox_new(FALSE, 0);
+ data24 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data24), TINY);
+ gtk_widget_set_usize(GTK_WIDGET(data24), 200, -1);
+ label24 = gtk_label_new("Year:");
+ gtk_widget_set_usize(GTK_WIDGET(label24), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field5), label24, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field5), data24, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field5, FALSE, TRUE, 2);
+
+ /* put the control keys on to the window */
+ option = gtk_hbox_new(FALSE, 0);
+ key2 = gtk_button_new_with_label("Optional fields");
+ gtk_widget_set_usize(GTK_WIDGET(key2), 130, -1);
+ g_signal_connect(GTK_OBJECT(key2), "clicked",
+ G_CALLBACK(techoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key2,
+ "Click here to get window containing remaining Tech Report fields",
+ NULL);
+ gtk_box_pack_start(GTK_BOX(option), key2, FALSE, FALSE, 10);
+ controls = gtk_hbox_new(FALSE, 0);
+ key1 = gtk_button_new_with_label("Save");
+ gtk_widget_set_usize(GTK_WIDGET(key1), 90, -1);
+ g_signal_connect(GTK_OBJECT(key1), "clicked",
+ G_CALLBACK(save_techreport), NULL);
+ gtk_tooltips_set_tip(tooltips, key1,
+ "Store this Tech Report reference in database", NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key1, FALSE, FALSE, 30);
+ key3 = gtk_button_new_with_label("Cancel");
+ gtk_widget_set_usize(GTK_WIDGET(key3), 90, -1);
+ g_signal_connect(GTK_OBJECT(key3), "clicked",
+ G_CALLBACK(closure_check), NULL);
+ gtk_tooltips_set_tip(tooltips, key3,
+ "Discard this Tech Report entry", NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key3, FALSE, FALSE, 30);
+ key4 = gtk_button_new_with_label("Linking");
+ gtk_widget_set_usize(GTK_WIDGET(key4), 90, -1);
+ g_signal_connect(GTK_OBJECT(key4), "clicked",
+ G_CALLBACK(linkwindow), NULL);
+ gtk_tooltips_set_tip(tooltips, key4,
+ "Click here for window to create links for this Tech Report",
+ NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key4, FALSE, FALSE, 30);
+ gtk_box_pack_start(GTK_BOX(totalPane), option, FALSE, TRUE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), controls, FALSE, TRUE, 10);
+
+
+ format = 13;
+
+ /* make the composite visible on screen */
+ gtk_widget_show_all(window);
+}
+
+
diff --git a/biblio/bibtex/utils/xbibfile/unpublished.c b/biblio/bibtex/utils/xbibfile/unpublished.c
new file mode 100644
index 0000000000..f8007e97c3
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/unpublished.c
@@ -0,0 +1,403 @@
+/* This file is a part of XBibFile - a system for handling BibTeX references
+ *
+ * Author: Ross Maloney
+ * Date: October 1999
+ * Modified: January 2002
+ *
+ */
+
+#include <stdio.h>
+#include <gtk/gtk.h>
+
+#include "xbibfile.h"
+
+/* This file is a modified copy of phd.c so that it handles the
+ * Unpublished BibTeX reference style */
+
+
+GtkWidget *labelX, *dataX;
+GtkWidget *label0, *data0;
+GtkWidget *label2, *data2;
+GtkWidget *label3, *data3;
+GtkWidget *label12, *data12;
+GtkWidget *label13, *data13, *textscroll;
+GtkWidget *label20, *data20;
+GtkWidget *label22, *data22;
+GtkWidget *label24, *data24;
+GtkWidget *label30, *data30;
+GtkWidget *label31, *data31;
+GtkWidget *label32, *data32;
+GtkTextBuffer *text13;
+GtkTextIter start, end;
+PangoFontDescription *font_desc;
+
+
+
+
+/* The procedure to save the Unpublished style */
+
+void save_unpublished(GtkWidget *widget)
+{
+ extern int format;
+ extern int length[];
+ extern char slate[][];
+ extern int lengthX;
+ extern char slateX[];
+ extern char slate2[];
+ extern char slate3[];
+ extern char slate12[];
+ extern char slate13[];
+ extern char slate20[];
+ extern char slate22[];
+ extern char slate24[];
+ extern char slate30[];
+ extern char slate31[];
+ extern char slate32[];
+ extern void error(); /* defined in file error.c */
+ extern FILE *finput; /* defined in file xbibfile.c */
+ extern void close_window(); /* defined in file cleanup.c */
+
+ if (format != 14) {
+ error(widget, GINT_TO_POINTER(5));
+ return;
+ }
+ strcpy(slateX, gtk_entry_get_text(GTK_ENTRY(dataX)));
+ lengthX = strlen(slateX);
+ strcpy(slate3, gtk_entry_get_text(GTK_ENTRY(data3)));
+ length[3] = strlen(slate3);
+ strcpy(slate2, gtk_entry_get_text(GTK_ENTRY(data2)));
+ length[2] = strlen(slate2);
+ strcpy(slate20, gtk_entry_get_text(GTK_ENTRY(data20)));
+ length[20] = strlen(slate20);
+ if (!(length[3] && length[2] && length[20] && lengthX)) {
+ error(widget, GINT_TO_POINTER(3));
+ return;
+ }
+ if (!finput) {
+ error(widget, GINT_TO_POINTER(8));
+ return;
+ }
+ /* finput = stdout; */
+ fprintf(finput, "\n@UNPUBLISHED{%s,\n", slateX);
+ fprintf(finput, " author = {%s},\n", slate3);
+ fprintf(finput, " title = {%s},\n", slate20);
+ fprintf(finput, " note = {%s}", slate2);
+ if (length[12])
+ fprintf(finput, ",\n month = {%s}", slate12);
+ if (length[24])
+ fprintf(finput, ",\n year = {%s}", slate24);
+ if (length[22])
+ fprintf(finput, ",\n URL = {%s}", slate22);
+ if (length[13])
+ fprintf(finput, ",\n annote = {%s}", slate13);
+ if (length[30])
+ fprintf(finput, ",\n uplink = {%s}", slate30);
+ if (length[31])
+ fprintf(finput, ",\n crosslink = {%s}", slate31);
+ if (length[32])
+ fprintf(finput, ",\n externlink = {%s}", slate32);
+ fprintf(finput, " }\n");
+ /* indicate that the reference is saved */
+ format = 0;
+ length[2] = 0;
+ length[3] = 0;
+ length[12] = 0;
+ length[13] = 0;
+ length[20] = 0;
+ length[22] = 0;
+ length[24] = 0;
+ length[30] = 0;
+ length[31] = 0;
+ length[32] = 0;
+ close_window(widget); /* remove this reference window */
+}
+
+
+/* Save the Unpublished optional fields for subsequent saving */
+
+void save_unpublishedoptions(GtkWidget *widget)
+{
+ extern void close_window();
+ extern int length[];
+ extern char slate12[];
+ extern char slate22[];
+ extern char slate24[];
+ extern char slate13[];
+ char *text_in_field;
+ int count;
+
+ strcpy(slate12, gtk_entry_get_text(GTK_ENTRY(data12)));
+ length[12] = strlen(slate12);
+ strcpy(slate24, gtk_entry_get_text(GTK_ENTRY(data24)));
+ length[24] = strlen(slate24);
+ strcpy(slate22, gtk_entry_get_text(GTK_ENTRY(data22)));
+ length[22] = strlen(slate22);
+ count = gtk_text_buffer_get_char_count(text13);
+ gtk_text_buffer_get_iter_at_offset(text13, &end, count);
+ gtk_text_buffer_get_iter_at_offset(text13, &start, 0);
+ strcpy(slate13, gtk_text_buffer_get_text(text13, &start, &end, FALSE));
+ length[13] = count;
+ close_window(widget);
+}
+
+
+
+
+/* Close the option entry window, but first delete the entries */
+
+void close_unpublishedoptions(GtkWidget *widget)
+{
+ extern void close_window();
+ extern int length[];
+
+ length[12] = 0;
+ length[22] = 0;
+ length[24] = 0;
+ length[13] = 0;
+ close_window(widget);
+}
+
+
+/* The procedure to put the optional Unpublished style fields on the screen */
+
+void unpublishedoptions(GtkWidget *widget)
+{
+ extern int format;
+ GtkTooltips *tooltips;
+ GtkWidget *window;
+ GtkWidget *decoration;
+ GtkWidget *totalPane;
+ GtkWidget *field0;
+ GtkWidget *field1;
+ GtkWidget *field2;
+ GtkWidget *field3;
+ GtkWidget *key0;
+ GtkWidget *key1;
+
+ void close_unpublishedoptions();
+ void save_unpublishedoptions();
+
+ if (format == 0) {
+ error (widget, GINT_TO_POINTER(6));
+ return;
+ }
+
+ /* create the tooltip help feature */
+
+ tooltips = gtk_tooltips_new();
+
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile create");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ gtk_widget_set_usize(GTK_WIDGET(window), 400, 480);
+ decoration = gtk_frame_new("Optional Unpublished fields");
+ gtk_container_add(GTK_CONTAINER(window), decoration);
+ totalPane = gtk_vbox_new(FALSE, 5);
+ gtk_container_add(GTK_CONTAINER(decoration), totalPane);
+
+ /* put the text fields in place */
+ field1 = gtk_hbox_new(FALSE, 0);
+ data12 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data12), TINY);
+ label12 = gtk_label_new("Month:");
+ gtk_widget_set_usize(GTK_WIDGET(label12), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field1), label12, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field1), data12, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field1, FALSE, TRUE, 10);
+
+ field2 = gtk_hbox_new(FALSE, 0);
+ data24 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data24), TINY);
+ label24 = gtk_label_new("Year:");
+ gtk_widget_set_usize(GTK_WIDGET(label24), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field2), label24, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field2), data24, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field2, FALSE, TRUE, 2);
+
+ field3 = gtk_hbox_new(FALSE, 0);
+ data22 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data22), LARGE);
+ label22 = gtk_label_new("URL:");
+ gtk_widget_set_usize(GTK_WIDGET(label22), 75, -1);
+ gtk_box_pack_start(GTK_BOX(field3), label22, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field3), data22, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field3, FALSE, TRUE, 2);
+
+ text13 = gtk_text_buffer_new(NULL);
+ data13 = gtk_text_view_new_with_buffer(text13);
+ textscroll = gtk_scrolled_window_new(NULL, NULL);
+ font_desc = pango_font_description_from_string("Sans 12");
+ gtk_widget_modify_font(data13, font_desc);
+ gtk_container_add(GTK_CONTAINER(textscroll), data13);
+ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(textscroll),
+ GTK_POLICY_AUTOMATIC,
+ GTK_POLICY_AUTOMATIC);
+ gtk_widget_set_usize(GTK_WIDGET(data13), 30, 250);
+ label13 = gtk_label_new("Annotation:");
+ gtk_box_pack_start(GTK_BOX(totalPane), label13, FALSE, TRUE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), textscroll, FALSE, TRUE, 2);
+
+ /* finally, put the cancel button in place */
+ field0 = gtk_hbox_new(FALSE, 0);
+ key0 = gtk_button_new_with_label("CANCEL");
+ gtk_widget_set_usize(GTK_WIDGET(key0), 90, -1);
+ g_signal_connect(GTK_OBJECT(key0), "clicked",
+ G_CALLBACK(close_unpublishedoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key0,
+ "Discard the contents of this window", NULL);
+ gtk_box_pack_end(GTK_BOX(field0), key0, FALSE, FALSE, 10);
+ key1 = gtk_button_new_with_label("Save");
+ gtk_widget_set_usize(GTK_WIDGET(key1), 90, -1);
+ g_signal_connect(GTK_OBJECT(key1), "clicked",
+ G_CALLBACK(save_unpublishedoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key1,
+ "Store the contents of this window", NULL);
+ gtk_box_pack_end(GTK_BOX(field0), key1, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field0, FALSE, TRUE, 10);
+
+
+ /* put the composite window on the screen */
+ gtk_widget_show_all(window);
+}
+
+
+
+/* The procedure to put the basic Unpublished style on the screen */
+
+void unpublished(GtkWidget *widget)
+{
+ GtkTooltips *tooltips;
+ GtkWidget *window;
+ GtkWidget *decoration;
+ GtkWidget *totalPane;
+ GtkWidget *opDecoration;
+ GtkWidget *field0;
+ GtkWidget *field1;
+ GtkWidget *option;
+ GtkWidget *controls;
+ GtkWidget *key1;
+ GtkWidget *key2;
+ GtkWidget *key3;
+ GtkWidget *key4;
+ GtkWidget *field2;
+ GtkWidget *field3;
+ GtkWidget *field4;
+ extern int format;
+ extern char slate0[];
+
+ extern void linkwindow();
+ extern void closure_check(); /* defined in file cleanup.c */
+ extern void close_window(); /* defined in file cleanup.c */
+ void unpublishedoptions();
+ void save_unpublished();
+
+ /* create the tooltip help feature */
+
+ tooltips = gtk_tooltips_new();
+
+ format = 14; /* indicate processing of UNPUBLISHED */
+
+ /* create the wondow and its top panel */
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), "XBibFile create");
+ gtk_window_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
+ decoration = gtk_frame_new("Unpublished type required fields");
+ gtk_widget_set_usize(GTK_WIDGET(window), 450, 300);
+ gtk_container_add(GTK_CONTAINER(window), decoration);
+ totalPane = gtk_vbox_new(FALSE, 5);
+ gtk_container_add(GTK_CONTAINER(decoration), totalPane);
+
+ field1 = gtk_hbox_new(FALSE,0);
+ dataX = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(dataX), SMALL);
+ gtk_widget_set_usize(GTK_WIDGET(dataX), 345, -1);
+ labelX = gtk_label_new("Tag/s:");
+ gtk_widget_set_usize(GTK_WIDGET(labelX), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field1), labelX, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field1), dataX, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field1, FALSE, TRUE, 10);
+
+ field0 = gtk_hbox_new(FALSE, 0);
+ data0 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data0), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data0), 345, -1);
+ label0 = gtk_label_new("File used:");
+ gtk_widget_set_usize(GTK_WIDGET(label0), 65, -1);
+ gtk_entry_set_text(GTK_ENTRY(data0), slate0);
+ gtk_box_pack_start(GTK_BOX(field0), label0, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field0), data0, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field0, FALSE, TRUE, 2);
+
+ /* position the remaining field entries */
+ field2 = gtk_hbox_new(FALSE, 0);
+ data3 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data3), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data3), 345, -1);
+ label3 = gtk_label_new("Author/s:");
+ gtk_widget_set_usize(GTK_WIDGET(label3), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field2), label3, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field2), data3, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field2, FALSE, TRUE, 8);
+
+ field3 = gtk_hbox_new(FALSE, 0);
+ data20 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data20), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data20), 345, -1);
+ label20 = gtk_label_new("Title:");
+ gtk_widget_set_usize(GTK_WIDGET(label20), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field3), label20, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field3), data20, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field3, FALSE, TRUE, 2);
+
+ field4 = gtk_hbox_new(FALSE, 0);
+ data2 = gtk_entry_new();
+ gtk_entry_set_max_length(GTK_ENTRY(data2), LARGE);
+ gtk_widget_set_usize(GTK_WIDGET(data2), 345, -1);
+ label2 = gtk_label_new("Note:");
+ gtk_widget_set_usize(GTK_WIDGET(label2), 65, -1);
+ gtk_box_pack_start(GTK_BOX(field4), label2, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(field4), data2, FALSE, FALSE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), field4, FALSE, TRUE, 2);
+
+ /* put the control keys on to the window */
+ option = gtk_hbox_new(FALSE, 0);
+ key2 = gtk_button_new_with_label("Optional fields");
+ gtk_widget_set_usize(GTK_WIDGET(key2), 130, -1);
+ g_signal_connect(GTK_OBJECT(key2), "clicked",
+ G_CALLBACK(unpublishedoptions), NULL);
+ gtk_tooltips_set_tip(tooltips, key2,
+ "Click here to get window containing remaining fields for Unpublished",
+ NULL);
+ gtk_box_pack_start(GTK_BOX(option), key2, FALSE, FALSE, 10);
+ controls = gtk_hbox_new(FALSE, 0);
+ key1 = gtk_button_new_with_label("Save");
+ gtk_widget_set_usize(GTK_WIDGET(key1), 90, -1);
+ g_signal_connect(GTK_OBJECT(key1), "clicked",
+ G_CALLBACK(save_unpublished), NULL);
+ gtk_tooltips_set_tip(tooltips, key1,
+ "Store this Unpublished reference in database", NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key1, FALSE, FALSE, 30);
+ key3 = gtk_button_new_with_label("Cancel");
+ gtk_widget_set_usize(GTK_WIDGET(key3), 90, -1);
+ g_signal_connect(GTK_OBJECT(key3), "clicked",
+ G_CALLBACK(closure_check), NULL);
+ gtk_tooltips_set_tip(tooltips, key3,
+ "Discard this Unpublished entry", NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key3, FALSE, FALSE, 30);
+ key4 = gtk_button_new_with_label("Linking");
+ gtk_widget_set_usize(GTK_WIDGET(key4), 90, -1);
+ g_signal_connect(GTK_OBJECT(key4), "clicked",
+ G_CALLBACK(linkwindow), NULL);
+ gtk_tooltips_set_tip(tooltips, key4,
+ "Click here for window to create links for this Unpublished reference",
+ NULL);
+ gtk_box_pack_start(GTK_BOX(controls), key4, FALSE, FALSE, 30);
+ gtk_box_pack_start(GTK_BOX(totalPane), option, FALSE, TRUE, 10);
+ gtk_box_pack_start(GTK_BOX(totalPane), controls, FALSE, TRUE, 10);
+
+
+ format = 14;
+
+ /* make the composite visible on screen */
+ gtk_widget_show_all(window);
+}
diff --git a/biblio/bibtex/utils/xbibfile/xbibfile.c b/biblio/bibtex/utils/xbibfile/xbibfile.c
new file mode 100644
index 0000000000..3c755a923f
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/xbibfile.c
@@ -0,0 +1,165 @@
+/* This file is a part of XBibFile - a system for handling BibTeX references
+ *
+ * Author: Ross Maloney
+ * Date: October 1999
+ * Renamed and reworked: January 2002
+ *
+ */
+
+/* History
+ *
+ * Version Date
+ * 0.1 October 1999 Initial release with Join and Lookup
+ * outputing to the console terminal window.
+ * 0.2 December 1999 In an attempt to solve the limited fields
+ * for some data entry, the code for assigning
+ * field-lengths was generalised.
+ * 0.3 May 2000 Added the URL field to reference type fields
+ * and error corrections
+ * 0.4 July 2000 Added the note field and commented out the
+ * actions of the Join and Lookup buttons
+ * 0.5 December 2000 Replace gtk_widget_show() with
+ * gtk_widget_show_all(), and add tooltips for
+ * help
+ * 0.6 January 2002 Major revision of software layout and computer
+ * graphics/human interface
+ * 0.7 November 2002 Upgrade the Gtk routines used internally in the
+ * source code from version 1.2 to 2.0
+ */
+
+/* This file initiates XBibFile */
+
+#include <stdio.h>
+#include <gtk/gtk.h>
+
+#include "xbibfile.h"
+
+
+/* These memory locations contain the input text fields and labels
+ * used by all the windows that enter the various BibTeX reference
+ * types. */
+
+int format; /* the BibTeX format being currently used */
+FILE *finput;
+FILE *refFile;
+char slateX[SMALL]; /* search key */
+int lengthX;
+int length[40]; /* length of strings entered via windows */
+char slate0[LARGE]; /* file currently being used for receiving */
+char slate1[LARGE]; /* address */
+char slate2[LARGE]; /* note */
+char slate3[LARGE]; /* author */
+char slate4[LARGE]; /* booktitle */
+char slate5[TINY]; /* chapter */
+char slate6[SMALL]; /* edition */
+char slate7[LARGE]; /* editor */
+char slate8[SMALL]; /* howpublished */
+char slate9[SMALL]; /* institution */
+char slate10[SMALL]; /* journal */
+char slate11[SMALL]; /* key */
+char slate12[TINY]; /* month */
+char slate13[HUGE]; /* annote */
+char slate14[SMALL]; /* number */
+char slate15[LARGE]; /* organization */
+char slate16[LARGE]; /* pages */
+char slate17[LARGE]; /* publisher */
+char slate18[LARGE]; /* school */
+char slate19[SMALL]; /* series */
+char slate20[LARGE]; /* title */
+char slate21[TINY]; /* type */
+char slate22[LARGE]; /* URL */
+char slate23[TINY]; /* volume */
+char slate24[TINY]; /* year */
+char slate30[LARGE]; /* Up Link */
+char slate31[LARGE]; /* Cross Link */
+char slate32[LARGE]; /* External Link */
+char slate40[LARGE]; /* name of file for cross-reference forming */
+GtkWidget *root; /* the widget that is the root of the current
+ * tree */
+
+
+int main(int argc, char *argv[])
+{
+ GtkTooltips *tooltips;
+ GtkWidget *top, *panel, *buttonBox, *buttonFrame;
+ GtkWidget *button1, *button2, *button3;
+ GtkWidget *description1, *description2, *separator;
+ int i;
+ extern byebye(GtkWidget); /* in cleanup.c */
+ extern file_select(GtkWidget); /* in file filing.c */
+ extern ref_select(GtkWidget *); /* in file filing.c */
+
+
+ format = 0; /* indicate start condition */
+ strcpy(slate0, "GO BACK and SELECT a FILE");
+ strcpy(slate40, "GO BACK and SELECT a REF FILE");
+ length[0] = strlen(slate0);
+ length[40] = strlen(slate40);
+ finput = 0;
+ refFile = 0;
+
+ /* initialise the string storage areas */
+ for (i=0; i<40; i++) {
+ length[i] = 0;
+ }
+ lengthX = 0;
+/* slateX = 1; */
+
+ /* create the initial window panel for the program */
+ gtk_init(&argc, &argv);
+
+ /* create the tooltip help feature */
+ tooltips = gtk_tooltips_new();
+
+ top = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(top), "XBibFile 0.7");
+ gtk_window_set_default_size(GTK_WINDOW(top), 150, 250);
+ panel = gtk_vbox_new(FALSE, 10);
+ gtk_container_add(GTK_CONTAINER(top), panel);
+ gtk_container_set_border_width(GTK_CONTAINER(top), 10);
+ description1 = gtk_label_new("Build and handle the \nBibTeX database");
+ gtk_box_pack_start_defaults(GTK_BOX(panel), description1);
+ description2 = gtk_label_new("\nVersion 0.7.1\n");
+ gtk_box_pack_start_defaults(GTK_BOX(panel), description2);
+ buttonBox = gtk_vbox_new(FALSE, 10);
+ gtk_widget_set_usize(GTK_WIDGET(buttonBox), 140, 130);
+ gtk_box_pack_start_defaults(GTK_BOX(panel), buttonBox);
+
+ button1 = gtk_button_new_with_label("Create New");
+ gtk_widget_set_usize(GTK_WIDGET(button1), 100, 30);
+ g_signal_connect(GTK_OBJECT(button1), "button-press-event",
+ G_CALLBACK(file_select), NULL);
+ gtk_tooltips_set_tip(tooltips, button1,
+ "Create a new BibTeX database entry", NULL);
+
+ gtk_box_pack_start_defaults(GTK_BOX(buttonBox), button1);
+
+ button2 = gtk_button_new_with_label("Find Reference");
+ gtk_widget_set_usize(GTK_WIDGET(button2), 100, 30);
+ g_signal_connect(GTK_OBJECT(button2), "button-press-event",
+ G_CALLBACK(ref_select), NULL);
+ gtk_tooltips_set_tip(tooltips, button2,
+ "Search database for an existing reference", NULL);
+ gtk_box_pack_start_defaults(GTK_BOX(buttonBox), button2);
+
+ separator = gtk_hseparator_new();
+ gtk_box_pack_start_defaults(GTK_BOX(buttonBox), separator);
+
+ button3 = gtk_button_new_with_label("exit");
+ gtk_widget_set_usize(GTK_WIDGET(button3), 100, 30);
+ g_signal_connect(GTK_OBJECT(button3), "button-press-event",
+ G_CALLBACK(byebye), NULL);
+ gtk_tooltips_set_tip(tooltips, button3,
+ "Exit this program", NULL);
+ gtk_box_pack_start_defaults(GTK_BOX(buttonBox), button3);
+
+ /* make this composite window visible on the screen */
+
+ gtk_widget_show_all(top);
+
+ /* process all signals associated with this application */
+ gtk_main();
+
+ /* The End */
+ return(0);
+}
diff --git a/biblio/bibtex/utils/xbibfile/xbibfile.h b/biblio/bibtex/utils/xbibfile/xbibfile.h
new file mode 100644
index 0000000000..acfb7968bc
--- /dev/null
+++ b/biblio/bibtex/utils/xbibfile/xbibfile.h
@@ -0,0 +1,18 @@
+/* This file is a part of XBibFile - a system for handling BibTeX references
+ *
+ * Author: Ross Maloney
+ * Date: October 1999
+ *
+ */
+
+/* Definitions of the lengths of data fields used */
+
+#define TINY 50
+#define SMALL 100
+#define LARGE 200
+#define HUGE 2200
+
+#define NO_SPACING 0
+#define NO_PADDING 0
+#define FILL_YES TRUE
+#define EXPAND_YES TRUE
diff --git a/biblio/bibtex/utils/xbibtex/README b/biblio/bibtex/utils/xbibtex/README
new file mode 100644
index 0000000000..1b73ffcd4c
--- /dev/null
+++ b/biblio/bibtex/utils/xbibtex/README
@@ -0,0 +1,22 @@
+This directory contains the xbibtex, bibsearch, and bibprocess
+utilities for bibtex.
+
+The xbibtex utility provides an X Window interface for inserting
+entries into a bibliography database in bibtex format. xbibtex
+provides a template of the required and optional fields for each entry
+type defined by \bibtex. In addition, xbibtex accommodates two
+additional entries named ``keyword'' and ``annote'' for maintaining an
+annotated bibliography. The user enters the information to be stored
+in the database; xbibtex automatically inserts the entry in the
+bibliography file in a format that conforms to bibtex's
+specifications. bibprocess allows one to merge the contents of
+user-defined fields into a .bbl file produced by bibtex; bibsearch
+allows one to retrieve the latex key of publications that contain
+user-specified keywords.
+
+Nicholas J. Kelly Christian H. Bischof
+nkelly@nis.naitc.com bischof@mcs.anl.gov
+Nielsen Advanced Technology Ctr. Mathematics and Computer Science Div.
+Bannockburn Lake Office Plaza Argonne National Laboratory
+2201 Wauckegan Rd., Ste. S-200 9700 S. Cass Ave.
+Bannockburn, IL 60015 Argonne, IL 60439-4801
diff --git a/biblio/bibtex/utils/xbibtex/bibutils.shar.gz b/biblio/bibtex/utils/xbibtex/bibutils.shar.gz
new file mode 100644
index 0000000000..73f6a5fe5e
--- /dev/null
+++ b/biblio/bibtex/utils/xbibtex/bibutils.shar.gz
Binary files differ
diff --git a/biblio/bibtex/utils/xbibtex/man.shar.gz b/biblio/bibtex/utils/xbibtex/man.shar.gz
new file mode 100644
index 0000000000..aba35c5001
--- /dev/null
+++ b/biblio/bibtex/utils/xbibtex/man.shar.gz
Binary files differ
diff --git a/biblio/bibtex/utils/xbibtex/userguide.ps b/biblio/bibtex/utils/xbibtex/userguide.ps
new file mode 100644
index 0000000000..1249d88c53
--- /dev/null
+++ b/biblio/bibtex/utils/xbibtex/userguide.ps
@@ -0,0 +1,4322 @@
+%!PS-Adobe-2.0
+%%Creator: dvips, version 5.4 (C) 1986-90 Radical Eye Software
+%%Title: paper.dvi
+%%Pages: 14 1
+%%BoundingBox: 0 0 612 792
+%%EndComments
+%%BeginProcSet: tex.pro
+/TeXDict 200 dict def TeXDict begin /N /def load def /B{bind def}N /S /exch
+load def /X{S N}B /TR /translate load N /isls false N /vsize 10 N /@rigin{
+isls{[0 1 -1 0 0 0]concat}if 72 Resolution div 72 VResolution div neg scale
+Resolution VResolution vsize neg mul TR}B /@letter{/vsize 10 N}B /@landscape{
+/isls true N /vsize -1 N}B /@a4{/vsize 10.6929133858 N}B /@a3{/vsize 15.5531 N
+}B /@ledger{/vsize 16 N}B /@legal{/vsize 13 N}B /@manualfeed{statusdict
+/manualfeed true put}B /@copies{/#copies X}B /FMat[1 0 0 -1 0 0]N /FBB[0 0 0 0
+]N /df{/sf 1 N /fntrx FMat N df-tail}B /dfs{div /sf X /fntrx[sf 0 0 sf neg 0 0
+]N df-tail}B /df-tail{/nn 8 dict N nn begin /FontType 3 N /FontMatrix fntrx N
+/FontBBox FBB N string /base X array /BitMaps X /BuildChar{CharBuilder}N
+/Encoding IE N end dup{/foo setfont}2 array copy cvx N load 0 nn put /ctr 0 N[
+}B /E{pop nn dup definefont setfont}B /ch-image{ch-data dup type /stringtype
+ne{ctr get /ctr ctr 1 add N}if}B /ch-width{ch-data dup length 5 sub get}B
+/ch-height{ch-data dup length 4 sub get}B /ch-xoff{128 ch-data dup length 3
+sub get sub}B /ch-yoff{ch-data dup length 2 sub get 127 sub}B /ch-dx{ch-data
+dup length 1 sub get}B /ctr 0 N /CharBuilder{save 3 1 roll S dup /base get 2
+index get S /BitMaps get S get /ch-data X pop /ctr 0 N ch-dx 0 ch-xoff ch-yoff
+ch-height sub ch-xoff ch-width add ch-yoff setcachedevice ch-width ch-height
+true[1 0 0 -1 -.1 ch-xoff sub ch-yoff .1 add]{ch-image}imagemask restore}B /D{
+/cc X dup type /stringtype ne{]}if nn /base get cc ctr put nn /BitMaps get S
+ctr S sf 1 ne{dup dup length 1 sub dup 2 index S get sf div put}if put /ctr
+ctr 1 add N}B /I{cc 1 add D}B /bop{userdict /bop-hook known{bop-hook}if /SI
+save N @rigin 0 0 moveto}B /eop{clear SI restore showpage userdict /eop-hook
+known{eop-hook}if}B /@start{userdict /start-hook known{start-hook}if
+/VResolution X /Resolution X 1000 div /DVImag X /IE 256 array N 0 1 255{IE S 1
+string dup 0 3 index put cvn put}for}B /p /show load N /RMat[1 0 0 -1 0 0]N
+/BDot 8 string N /v{/ruley X /rulex X V}B /V{gsave TR -.1 -.1 TR rulex ruley
+scale 1 1 false RMat{BDot}imagemask grestore}B /a{moveto}B /delta 0 N /tail{
+dup /delta X 0 rmoveto}B /M{S p delta add tail}B /b{S p tail}B /c{-4 M}B /d{
+-3 M}B /e{-2 M}B /f{-1 M}B /g{0 M}B /h{1 M}B /i{2 M}B /j{3 M}B /k{4 M}B /l{p
+-4 w}B /m{p -3 w}B /n{p -2 w}B /o{p -1 w}B /q{p 1 w}B /r{p 2 w}B /s{p 3 w}B /t
+{p 4 w}B /w{0 rmoveto}B /x{0 S rmoveto}B /y{3 2 roll p a}B /bos{/SS save N}B
+/eos{clear SS restore}B end
+%%EndProcSet
+%%BeginProcSet: special.pro
+TeXDict begin /SDict 200 dict N SDict begin /@SpecialDefaults{/hs 612 N /vs
+792 N /ho 0 N /vo 0 N /hsc 1 N /vsc 1 N /ang 0 N /CLIP false N /BBcalc false N
+/p 3 def}B /@scaleunit 100 N /@hscale{@scaleunit div /hsc X}B /@vscale{
+@scaleunit div /vsc X}B /@hsize{/hs X /CLIP true N}B /@vsize{/vs X /CLIP true
+N}B /@hoffset{/ho X}B /@voffset{/vo X}B /@angle{/ang X}B /@rwi{10 div /rwi X}
+B /@llx{/llx X}B /@lly{/lly X}B /@urx{/urx X}B /@ury{/ury X /BBcalc true N}B
+/magscale true def end /@MacSetUp{userdict /md known{userdict /md get type
+/dicttype eq{md begin /letter{}N /note{}N /legal{}N /od{txpose 1 0 mtx
+defaultmatrix dtransform S atan/pa X newpath clippath mark{transform{
+itransform moveto}}{transform{itransform lineto}}{6 -2 roll transform 6 -2
+roll transform 6 -2 roll transform{itransform 6 2 roll itransform 6 2 roll
+itransform 6 2 roll curveto}}{{closepath}}pathforall newpath counttomark array
+astore /gc xdf pop ct 39 0 put 10 fz 0 fs 2 F/|______Courier fnt invertflag{
+PaintBlack}if}N /txpose{pxs pys scale ppr aload pop por{noflips{pop S neg S TR
+pop 1 -1 scale}if xflip yflip and{pop S neg S TR 180 rotate 1 -1 scale ppr 3
+get ppr 1 get neg sub neg ppr 2 get ppr 0 get neg sub neg TR}if xflip yflip
+not and{pop S neg S TR pop 180 rotate ppr 3 get ppr 1 get neg sub neg 0 TR}if
+yflip xflip not and{ppr 1 get neg ppr 0 get neg TR}if}{noflips{TR pop pop 270
+rotate 1 -1 scale}if xflip yflip and{TR pop pop 90 rotate 1 -1 scale ppr 3 get
+ppr 1 get neg sub neg ppr 2 get ppr 0 get neg sub neg TR}if xflip yflip not
+and{TR pop pop 90 rotate ppr 3 get ppr 1 get neg sub neg 0 TR}if yflip xflip
+not and{TR pop pop 270 rotate ppr 2 get ppr 0 get neg sub neg 0 S TR}if}
+ifelse scaleby96{ppr aload pop 4 -1 roll add 2 div 3 1 roll add 2 div 2 copy
+TR .96 dup scale neg S neg S TR}if}N /cp{pop pop showpage pm restore}N end}if}
+if}N /normalscale{Resolution 72 div VResolution 72 div neg scale magscale{
+DVImag dup scale}if}N /psfts{S 65536 div N}N /startTexFig{/psf$SavedState save
+N userdict maxlength dict begin /magscale false def normalscale currentpoint
+TR /psf$ury psfts /psf$urx psfts /psf$lly psfts /psf$llx psfts /psf$y psfts
+/psf$x psfts currentpoint /psf$cy X /psf$cx X /psf$sx psf$x psf$urx psf$llx
+sub div N /psf$sy psf$y psf$ury psf$lly sub div N psf$sx psf$sy scale psf$cx
+psf$sx div psf$llx sub psf$cy psf$sy div psf$ury sub TR /showpage{}N
+/erasepage{}N /copypage{}N @MacSetUp}N /doclip{psf$llx psf$lly psf$urx psf$ury
+currentpoint 6 2 roll newpath 4 copy 4 2 roll moveto 6 -1 roll S lineto S
+lineto S lineto closepath clip newpath moveto}N /endTexFig{end psf$SavedState
+restore}N /@beginspecial{SDict begin /SpecialSave save N gsave normalscale
+currentpoint TR @SpecialDefaults}B /@setspecial{CLIP{newpath 0 0 moveto hs 0
+rlineto 0 vs rlineto hs neg 0 rlineto closepath clip}{initclip}ifelse ho vo TR
+hsc vsc scale ang rotate BBcalc{rwi urx llx sub div dup scale llx neg lly neg
+TR}if /showpage{}N /erasepage{}N /copypage{}N newpath}B /@endspecial{grestore
+clear SpecialSave restore end}B /@defspecial{SDict begin}B /@fedspecial{end}B
+/li{lineto}B /rl{rlineto}B /rc{rcurveto}B /np{/SaveX currentpoint /SaveY X N 1
+setlinecap newpath}B /st{stroke SaveX SaveY moveto}B /fil{fill SaveX SaveY
+moveto}B /ellipse{/endangle X /startangle X /yrad X /xrad X /savematrix matrix
+currentmatrix N TR xrad yrad scale 0 0 1 startangle endangle arc savematrix
+setmatrix}B end
+%%EndProcSet
+TeXDict begin 1000 300 300 @start /Fa 60 122 df<00FC000182000703000607000E0200
+0E00000E00000E00000E00000E0000FFFF000E07000E07000E07000E07000E07000E07000E0700
+0E07000E07000E07000E07000E07000E07000E07007F0FE0131A809915>12
+D<60F0F0F0F0F0F060606060606060606060200000000060F0F060041A7D990B>33
+D<60C0F1E0F9F068D0081008100810102010202040C1800C0B7F9913>I<01C000000320000006
+1000000E1000000E1000000E1000000E1000000E2000000E4000000E40000007807F8007001E00
+07000800078010000B80100013C0200031C0200060E04000E0F08000E0788000E0390000E01E00
+80E00E0080700F01003873C3000F807C00191A7E991E>38 D<00800100020004000C0008001800
+3000300030006000600060006000E000E000E000E000E000E000E000E000E000E0006000600060
+006000300030003000180008000C00040002000100008009267D9B0F>40
+D<8000400020001000180008000C00060006000600030003000300030003800380038003800380
+0380038003800380038003000300030003000600060006000C0008001800100020004000800009
+267E9B0F>I<60F0F07010101020204080040B7D830B>44 D<FFC0FFC00A0280880D>I<60F0F060
+04047D830B>I<0004000C00180018001800300030003000600060006000C000C000C001800180
+01800300030003000600060006000C000C000C00180018001800300030003000600060006000C0
+00C0000E257E9B13>I<60F0F060000000000000000060F0F06004107D8F0B>58
+D<000C0000000C0000000C0000001E0000001E0000003F00000027000000270000004380000043
+8000004380000081C0000081C0000081C0000100E0000100E00001FFE000020070000200700006
+007800040038000400380008001C0008001C001C001E00FF00FFC01A1A7F991D>65
+D<FFFF000E01C00E00E00E00700E00780E00780E00780E00780E00780E00F00E00E00E03C00FFF
+800E01E00E00700E00780E003C0E003C0E003C0E003C0E003C0E00380E00780E00F00E01E0FFFF
+80161A7E991B>I<003F0201C0C603002E0E001E1C000E1C0006380006780002700002700002F0
+0000F00000F00000F00000F00000F000007000027000027800023800041C00041C00080E000803
+003001C0C0003F00171A7E991C>I<FFFF000E01C00E00E00E00300E00380E001C0E001C0E000E
+0E000E0E000F0E000F0E000F0E000F0E000F0E000F0E000F0E000F0E000E0E000E0E001E0E001C
+0E00380E00380E00700E01C0FFFF00181A7E991D>I<FFFFF00E00700E00300E00100E00180E00
+080E00080E00080E04000E04000E04000E0C000FFC000E0C000E04000E04000E04000E00040E00
+040E00080E00080E00080E00180E00380E0070FFFFF0161A7E991A>I<FFFFE00E00E00E00600E
+00200E00300E00100E00100E00100E04000E04000E04000E0C000FFC000E0C000E04000E04000E
+04000E00000E00000E00000E00000E00000E00000E00000E0000FFF000141A7E9919>I<003F02
+0001C0C60003002E000E001E001C000E001C00060038000600780002007000020070000200F000
+0000F0000000F0000000F0000000F0000000F001FFC070000E0070000E0078000E0038000E001C
+000E001C000E000E000E000300160001C06600003F82001A1A7E991E>I<FFE7FF0E00700E0070
+0E00700E00700E00700E00700E00700E00700E00700E00700E00700FFFF00E00700E00700E0070
+0E00700E00700E00700E00700E00700E00700E00700E00700E0070FFE7FF181A7E991D>I<FFE0
+0E000E000E000E000E000E000E000E000E000E000E000E000E000E000E000E000E000E000E000E
+000E000E000E000E00FFE00B1A7F990E>I<FFE07F800E001E000E0018000E0010000E0020000E
+0040000E0080000E0100000E0200000E0400000E0800000E1C00000E2E00000E4E00000E870000
+0F0380000E0380000E01C0000E00E0000E00E0000E0070000E0070000E0038000E001C000E003E
+00FFE0FF80191A7E991E>75 D<FFF0000E00000E00000E00000E00000E00000E00000E00000E00
+000E00000E00000E00000E00000E00000E00000E00000E00000E00200E00200E00200E00600E00
+400E00400E00C00E03C0FFFFC0131A7E9918>I<FF0003FC0F0003C00F0003C00B8005C00B8005
+C00B8005C009C009C009C009C009C009C008E011C008E011C008E011C0087021C0087021C00838
+41C0083841C0083841C0081C81C0081C81C0081C81C0080F01C0080F01C0080F01C0080601C01C
+0601C0FF861FFC1E1A7E9923>I<FE01FF0F00380F00100B80100B801009C01008E01008E01008
+7010087010083810081C10081C10080E10080E100807100803900803900801D00801D00800F008
+00700800700800301C0030FF8010181A7E991D>I<007F000001C1C000070070000E0038001C00
+1C003C001E0038000E0078000F0070000700F0000780F0000780F0000780F0000780F0000780F0
+000780F0000780F000078078000F0078000F0038000E003C001E001C001C000E00380007007000
+01C1C000007F0000191A7E991E>I<FFFF000E03C00E00E00E00700E00700E00780E00780E0078
+0E00780E00700E00700E00E00E03C00FFF000E00000E00000E00000E00000E00000E00000E0000
+0E00000E00000E00000E0000FFE000151A7E991A>I<FFFC00000E0780000E01C0000E00E0000E
+00F0000E00F0000E00F0000E00F0000E00F0000E00E0000E01C0000E0780000FFC00000E060000
+0E0300000E0180000E01C0000E01C0000E01C0000E01E0000E01E0000E01E0000E01E0800E00F0
+800E007100FFE03E00191A7E991C>82 D<0FC21836200E6006C006C002C002C002E00070007E00
+3FE01FF807FC003E000E00070003800380038003C002C006E004D81887E0101A7E9915>I<7FFF
+FF00701C0700401C0100401C0100C01C0180801C0080801C0080801C0080001C0000001C000000
+1C0000001C0000001C0000001C0000001C0000001C0000001C0000001C0000001C0000001C0000
+001C0000001C0000001C0000001C0000001C000003FFE000191A7F991C>I<FFE1FF0E00380E00
+100E00100E00100E00100E00100E00100E00100E00100E00100E00100E00100E00100E00100E00
+100E00100E00100E00100E001006002007002003004001804000C180003E00181A7E991D>I<FF
+83FF0FF03C007801C01C007800801C007800800E007801000E007801000E009C010007009C0200
+07009C020007010E020007010E020003810E04000382070400038207040001C207080001C40388
+0001C403880000E403900000E403900000E801D000007801E000007801E000007000E000007000
+E000003000C0000020004000241A7F9927>87 D<7FC0FF000F003C000700300007802000038060
+0001C0400001E0800000E1800000710000007A0000003C0000001C0000001E0000001E00000017
+000000278000004380000041C0000081E0000100E0000100700002007800040038000C001C001E
+003E00FF80FFC01A1A7F991D>I<FF801FE01E0007000E0006000F000400070008000780080003
+C0100001C0300001E0200000F04000007040000078800000388000001D0000001F0000000E0000
+000E0000000E0000000E0000000E0000000E0000000E0000000E0000000E0000000E000000FFE0
+001B1A7F991D>I<FEFEC0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0
+C0C0C0C0FEFE07257D9B0B>91 D<1830204040804080810081008100B160F9F078F030600C0B7B
+9913>I<FEFE060606060606060606060606060606060606060606060606060606060606060606
+FEFE0725809B0B>I<3F8070C070E020700070007007F01C7030707070E070E071E071E0F171FB
+1E3C10107E8F13>97 D<FC00001C00001C00001C00001C00001C00001C00001C00001C00001C00
+001CF8001F0E001E07001C03801C01801C01C01C01C01C01C01C01C01C01C01C01C01C03801C03
+001E07001B0C0010F000121A7F9915>I<07F80C1C381C30087000E000E000E000E000E000E000
+7000300438080C1807E00E107F8F11>I<007E00000E00000E00000E00000E00000E00000E0000
+0E00000E00000E0003CE000C3E00380E00300E00700E00E00E00E00E00E00E00E00E00E00E00E0
+0E00600E00700E00381E001C2E0007CFC0121A7F9915>I<07C01C3030187018600CE00CFFFCE0
+00E000E000E0006000300438080C1807E00E107F8F11>I<01F0031807380E100E000E000E000E
+000E000E00FFC00E000E000E000E000E000E000E000E000E000E000E000E000E000E007FE00D1A
+80990C>I<0FCE187330307038703870387038303018602FC02000600070003FF03FFC1FFE600F
+C003C003C003C0036006381C07E010187F8F13>I<FC00001C00001C00001C00001C00001C0000
+1C00001C00001C00001C00001CF8001D0C001E0E001E0E001C0E001C0E001C0E001C0E001C0E00
+1C0E001C0E001C0E001C0E001C0E001C0E00FF9FC0121A7F9915>I<18003C003C001800000000
+000000000000000000FC001C001C001C001C001C001C001C001C001C001C001C001C001C001C00
+FF80091A80990A>I<FC00001C00001C00001C00001C00001C00001C00001C00001C00001C0000
+1C3F801C1E001C18001C10001C20001C40001DC0001FE0001CE0001C70001C78001C38001C1C00
+1C1E001C1F00FF3FC0121A7F9914>107 D<FC001C001C001C001C001C001C001C001C001C001C
+001C001C001C001C001C001C001C001C001C001C001C001C001C001C00FF80091A80990A>I<FC
+7C1F001D8E63801E0781C01E0781C01C0701C01C0701C01C0701C01C0701C01C0701C01C0701C0
+1C0701C01C0701C01C0701C01C0701C01C0701C0FF9FE7F81D107F8F20>I<FCF8001D0C001E0E
+001E0E001C0E001C0E001C0E001C0E001C0E001C0E001C0E001C0E001C0E001C0E001C0E00FF9F
+C012107F8F15>I<07E01C38300C700E6006E007E007E007E007E007E0076006700E381C1C3807
+E010107F8F13>I<FCF8001F0E001E07001C03801C03801C01C01C01C01C01C01C01C01C01C01C
+01C01C03801C03001E07001F0C001CF0001C00001C00001C00001C00001C00001C0000FF800012
+177F8F15>I<03C2000C2600381E00300E00700E00E00E00E00E00E00E00E00E00E00E00E00E00
+700E00700E00381E001C2E0007CE00000E00000E00000E00000E00000E00000E00007FC012177F
+8F14>I<FCE01D701E701E201C001C001C001C001C001C001C001C001C001C001C00FFC00C107F
+8F0F>I<1F2060E04020C020C020F0007F003FC01FE000F080708030C030C020F0408F800C107F
+8F0F>I<0400040004000C000C001C003C00FFC01C001C001C001C001C001C001C001C001C201C
+201C201C201C200E4003800B177F960F>I<FC7E001C0E001C0E001C0E001C0E001C0E001C0E00
+1C0E001C0E001C0E001C0E001C0E001C0E001C1E000C2E0007CFC012107F8F15>I<FF1F803C06
+001C04001C04001E0C000E08000E080007100007100007900003A00003A00001C00001C00001C0
+0000800011107F8F14>I<FF3F9F803C0E0700380E06001C1604001C1704001E170C000E230800
+0E2388000F239800074190000741D00003C1E0000380E0000380E0000180C0000100400019107F
+8F1C>I<FF3F803C1C001C18000E100007200007600003C00001C00001E00003E0000270000438
+00083800181C00381E00FC3FC012107F8F14>I<FF1F803C06001C04001C04001E0C000E08000E
+080007100007100007900003A00003A00001C00001C00001C000008000008000010000010000E1
+0000E20000E4000078000011177F8F14>I E /Fb 1 98 df<01E3000717000C0F00180F00380E
+00300E00700E00700E00E01C00E01C00E01C00E01C00E03880E03880E038806078803199001E0E
+0011127E9116>97 D E /Fc 15 121 df<3078F06005047C830C>46 D<000F8200706200C01603
+801E07000C0E000C1C000C18000C380008300008700000700000E00000E00000E00000E00000E0
+0020E00020E00020E000406000406000803001001006000C180003E000171A7A991B>67
+D<007E007E00C000C000C000C00180018001800180030003000300030006000600060006000C00
+0C000C000C00180018001800180030003000300030006000600060006000C000FC00FC000F257E
+9B0C>91 D<007E007E000C000C000C000C00180018001800180030003000300030006000600060
+006000C000C000C000C00180018001800180030003000300030006000600060006000C00FC00FC
+000F25819B0C>93 D<03CC0E2E181C381C301C701CE038E038E038E038C072C072C07260F26134
+1E180F107C8F14>97 D<7E000E000E000E001C001C001C001C00380038003BC03C307830701870
+187018E038E038E038E038C070C060C0E060C063801E000D1A7C9912>I<01F006080C18183830
+1070006000E000E000E000E000E008E010602030C01F000D107C8F12>I<001F80000380000380
+000380000700000700000700000700000E00000E0003CE000E2E00181C00381C00301C00701C00
+E03800E03800E03800E03800C07200C07200C0720060F2006134001E1800111A7C9914>I<01E0
+06181C08380870087010FFE0E000E000E000E000E0086010602030C01F000D107C8F12>I<0307
+06000000000000384C4E8E9C9C1C3838707272E2E4643808197C980C>105
+D<1F8003800380038007000700070007000E000E000E0E0E131C271C431C801F003C003F8039C0
+38E070E270E270E270E4E0646038101A7E9912>107 D<3F0707070E0E0E0E1C1C1C1C38383838
+70707070E4E4E4E46830081A7D990A>I<307C005986009E07009E07009C07009C0700380E0038
+0E00380E00381C00701C80701C80703880703900E01900600E0011107C8F16>110
+D<030F000590C009E0C009C06009C06009C0600380E00380E00380E00380E00701C00701800703
+800703000E8E000E78000E00000E00001C00001C00001C00001C0000FF00001317808F14>112
+D<078F0008D18010F38020E18020E00020E00001C00001C00001C00001C000038200038200C382
+00E78400C5880078F00011107E8F12>120 D E /Fd 52 126 df<60F0F0F0F0F0F0F0F0F0F0F0
+F0F0600000000060F0F0600417789614>33 D<C060E0E0E0E0E0E0E0E0C060C060C060C060C060
+40400B0B7C9614>I<00C001C0030006000C001C0038003000700070006000E000E000E000E000
+E000E000E000600070007000300038001C000C000600030001C000C00A1D7A9914>40
+D<8000C0006000300018001C000E00060007000700030003800380038003800380038003800300
+0700070006000E001C00180030006000C0008000091D7C9914>I<70F8FCFC7C0C1830E0C0060A
+798414>44 D<FFFEFFFEFFFE0F037E8C14>I<70F8F8F8700505798414>I<0300030007000F003F
+00F7004700070007000700070007000700070007000700070007000700070007007FF07FF00C17
+7C9614>49 D<0FC01FF03838701C701C201C001C001C0038007007E007F00038001C000E000E40
+0EE00EE00E701C78383FF00FC00F177E9614>51 D<00780000F80001B80001B800033800033800
+0638000E38000C38001C3800383800303800703800E03800FFFF80FFFF80003800003800003800
+00380000380001FF0001FF0011177F9614>I<E000FFFEFFFEE01CE0380030007000E000C001C0
+01800380038007000700070007000E000E000E000E000E000E0004000F187E9714>55
+D<0FE03FF8783C701CE00EE00EE00EE00E701C1EF003801FF03838701CE00EE00EE00EE00EF01E
+701C38381FF007C00F177E9614>I<07C01FE038307038601CE01CE00CE00EE00E601E701E383E
+1FEE07CE000E001C001C001C7038707070E03FC01F000F177E9614>I<70F8F8F8700000000000
+0070F8F8F8700510798F14>I<FFFF80FFFF807FFF800000000000000000007FFF80FFFF80FFFF
+8011097F8F14>61 D<01E007F00E38181C38FC71FC739E739EE70EE70EE70EE70EE70EE70EE70E
+739C739C71F838F018060E1E07F801F00F177E9614>64 D<FFF0FFFC381E380E38073807380738
+07380E381E3FFC3FFC381E380E38073807380738073807380E381EFFFCFFF810177F9614>66
+D<03C60FFE1C3E181E381E700E700E600EE000E000E000E000E000E000E000600E700E700E380C
+181C1C380FF003C00F177E9614>I<FFE000FFF800383C00381E00380E00380700380700380700
+380380380380380380380380380380380380380380380380380700380700380E00381E00383C00
+FFF800FFE00011177F9614>I<FE3F80FE3F80380E00380E00380E00380E00380E00380E00380E
+00380E003FFE003FFE00380E00380E00380E00380E00380E00380E00380E00380E00380E00FE3F
+80FE3F8011177F9614>72 D<FFF8FFF80700070007000700070007000700070007000700070007
+000700070007000700070007000700FFF8FFF80D177D9614>I<FFF0FFFC381E380E3807380738
+0738073807380E381E3FFC3FF038003800380038003800380038003800FE00FE0010177F9614>
+80 D<FFE000FFF800383C00381C00380E00380E00380E00380E00381C00383C003FF8003FF000
+383800381C00381C00381C00381C00381C00381C80381DC0381DC0FE0F80FE070012177F9614>
+82 D<0FCC1FFC307C603CE01CE01CE01CE00070007E003FE00FF001F8001C001E000E600EE00E
+E00EF01CF838FFF0C7E00F177E9614>I<FE0FE0FE0FE038038038038038038038038038038038
+03803803803803803803803803803803803803803803803803803803803803801C07001C07000E
+0E0007FC0001F0001317809614>85 D<FC1F80FC1F807007007007007007007007007007007007
+0030060031C6003BEE003BEE003B6E003B6E003B6E003B6E003B6E001B6C001B6C001A2C001E3C
+001E3C001E3C0011177F9614>87 D<C000E000E00070007000380038001C001C000E000E000700
+070003800380038001C001C000E000E00070007000380038001C001C000E000E00060F1D7E9914
+>92 D<1FC0007FF000707800201800001C00001C0007FC001FFC003C1C00701C00E01C00E01C00
+E01C00707C003FFF800F8F8011107E8F14>97 D<FC0000FC00001C00001C00001C00001C00001C
+00001CF8001DFE001F07001E03001C03801C01C01C01C01C01C01C01C01C01C01C01C01C03801E
+03001F0E001DFC000CF8001217809614>I<03F80FFC1C1C380870006000E000E000E000E00060
+007000380E1C1E0FFC03F00F107E8F14>I<007E00007E00000E00000E00000E00000E00000E00
+07CE000FFE001C3E00301E00700E00E00E00E00E00E00E00E00E00E00E00E00E00700E00301E00
+383E001FEFC007CFC012177F9614>I<07E00FF01C38301C700CE00EE00EFFFEFFFEE000600070
+00380E1C1E0FFC03F00F107E8F14>I<007C00FE01CE03840380038003807FFEFFFE0380038003
+800380038003800380038003800380038003807FFC7FFC0F177F9614>I<07CF001FFF80383B80
+301800701C00701C00701C003018003838003FF00037C0007000007000003FF8001FFC003FFE00
+700F00E00380E00380E00380E003807007003C1E001FFC0007F00011197F8F14>I<FC0000FC00
+001C00001C00001C00001C00001C00001C78001DFE001F86001E07001C07001C07001C07001C07
+001C07001C07001C07001C07001C07001C0700FF8FE0FF8FE01317809614>I<03000780078003
+0000000000000000007F807F80038003800380038003800380038003800380038003800380FFFC
+FFFC0E187D9714>I<006000F000F0006000000000000000001FF01FF000700070007000700070
+007000700070007000700070007000700070007000700070007040E0E0C07F803F000C207E9714
+>I<FC0000FC00001C00001C00001C00001C00001C00001DFF801DFF801C3C001C78001CF0001D
+E0001FC0001FC0001FE0001EF0001C70001C38001C38001C1C00FE3F80FE3F8011177F9614>I<
+FF80FF800380038003800380038003800380038003800380038003800380038003800380038003
+800380FFFEFFFE0F177E9614>I<FB8E00FFDF003CF3803CF38038E38038E38038E38038E38038
+E38038E38038E38038E38038E38038E380FEFBE0FE79E01310808F14>I<FC7800FDFE001F8600
+1E07001C07001C07001C07001C07001C07001C07001C07001C07001C07001C0700FF8FE0FF8FE0
+1310808F14>I<07C01FF03C78701C701CE00EE00EE00EE00EE00EE00E701C783C3C781FF007C0
+0F107E8F14>I<FCF800FDFE001F07001E03001C03801C01C01C01C01C01C01C01C01C01C01C01
+C01C03801E03001F0E001DFC001CF8001C00001C00001C00001C00001C00001C0000FF8000FF80
+001218808F14>I<FE1F00FE7F800EE3800F81000F00000F00000E00000E00000E00000E00000E
+00000E00000E00000E0000FFF000FFF00011107F8F14>114 D<0FD83FF86038C038C038F0007F
+803FF007F8001C6006E006F006F81CFFF8CFE00F107E8F14>I<030007000700070007007FFCFF
+FC07000700070007000700070007000700070E070E070E070C03FC00F00F157F9414>I<FC3F00
+FC3F001C07001C07001C07001C07001C07001C07001C07001C07001C07001C07001C07001C1F00
+0FFFE003E7E01310808F14>I<FE3F80FE3F801C1C001C1C001C1C001C1C000E38000E38000E38
+0006300007700007700007700003E00003E00003E00011107F8F14>I<FF7F80FF7F80380E0038
+0E00380E00380E0039CE0039CE0019CC001B6C001B6C001A6C001A6C001E7C000E78000E780011
+107F8F14>I<FE3F80FE3F801C1C001C1C001C1C000E1C000E38000E3800073800073000073000
+03700003700001E00001E00001E00001C00001C00001C0000380007380007700007E00003C0000
+11187F8F14>121 D<003E00FE01E003800380038003800380038003800380038003807F00FE00
+7F00038003800380038003800380038003800380038001E000FE003E0F1D7E9914>123
+D<7800FE000F00038003800380038003800380038003800380038001FC00FE01FC038003800380
+03800380038003800380038003800F00FE0078000F1D7E9914>125 D E
+/Fe 1 98 df<00200000700000700000700000B80000B80000B800011C00011C00011C00020E00
+020E0004070004070007FF000803800803800803801801C03803C0FE0FF815157F9419>97
+D E /Ff 45 124 df<183C3C3C0404080810204080060C779C0D>39 D<18387838080810102040
+4080050C7D830D>44 D<3078F06005047C830D>46 D<00020006000C001C007C039C0038003800
+380038007000700070007000E000E000E000E001C001C001C001C003800380038003800780FFF0
+0F1C7C9B15>49 D<0001800001C0000380000380000380000300000700000700000600000E0000
+0C00001C0000180000180000300000300000600000400000C600018E00010E00020E00061C000C
+1C00181C003F1C0040F800803F0000380000380000700000700000700000700000E00000600012
+247E9B15>52 D<0000180000001800000038000000380000007800000078000000B8000001B800
+000138000002380000023C0000041C0000041C0000081C0000181C0000101C0000201C0000201C
+00007FFC0000401C0000801C0001801C0001001C0002001C0002001C0004000E000C000E001C00
+1E00FF00FFC01A1D7E9C1F>65 D<01FFFE00003C0780003803C0003801C0003801C0003801C000
+7001C0007003C0007003C00070078000E0070000E00E0000E03C0000FFF80001C01C0001C00E00
+01C00F0001C00F0003800F0003800F0003800F0003800F0007001E0007001C0007003C00070078
+000E01E000FFFF80001A1C7D9B1D>I<0003F020001E0C60003002E000E003C001C001C0038001
+C0070000C00E0000801E0000801C0000803C0000803C000000780000007800000078000000F000
+0000F0000000F0000000F0000000F0000400F0000400F0000400F0000800700008007000100038
+002000180040000C0180000706000001F800001B1E7A9C1E>I<0003F020001E0C60003002E000
+E003C001C001C0038001C0070000C00E0000801E0000801C0000803C0000803C00000078000000
+7800000078000000F0000000F0000000F001FFC0F0001E00F0001C00F0001C00F0001C00F0001C
+00700038007000380038003800180078000C0090000707100001F800001B1E7A9C20>71
+D<01FFC0003C0000380000380000380000380000700000700000700000700000E00000E00000E0
+0000E00001C00001C00001C00001C0000380000380000380000380000700000700000700000700
+000F0000FFE000121C7E9B10>73 D<01FFE0003C00003800003800003800003800007000007000
+00700000700000E00000E00000E00000E00001C00001C00001C00001C000038008038008038008
+0380100700100700300700600700E00E03C0FFFFC0151C7D9B1A>76 D<01FE0007F8003E000780
+002E000F00002E001700002E001700002E002700004E002E00004E004E00004E004E00004E008E
+00008E011C00008E011C00008E021C00008E021C00010704380001070438000107083800010710
+38000207107000020720700002072070000207407000040740E000040780E000040700E0000C07
+00E0001C0601E000FF861FFC00251C7D9B25>I<0007F000001C1C0000700E0000E0070001C003
+8003800380070003800E0003C01E0003C01C0003C03C0003C03C0003C0780003C0780003C07800
+03C0F0000780F0000780F0000780F0000F00F0000F00F0000E00F0001E00F0003C007000380070
+0070007800E0003801C0001C0380000E0E000003F800001A1E7A9C20>79
+D<0007F000001C1C0000700E0000E0070001C0078003800380070003800E0003C01E0003C01C00
+03C03C0003C03C0003C0780003C0780003C0780003C0F0000780F0000780F0000780F0000F00F0
+000F00F0000E00F0001E00F0001C0070783800708070007104E0003905C0001D0780000F0E0400
+03FE040000060C0000060800000E1800000FF0000007F0000007E000000380001A257A9C20>81
+D<01FFF800003C0E00003807000038038000380380003803800070078000700780007007800070
+0F0000E00E0000E01C0000E0700000FFC00001C0C00001C0600001C0700001C070000380700003
+80700003807000038070000700F0000700F0400700F0400700F0800F007880FFE0790000001E00
+1A1D7D9B1E>I<000F8400304C00403C0080180100180300180300180600100600100600000700
+0007000003E00003FC0001FF00007F800007C00001C00001C00000C00000C02000C02000C06001
+80600180600300600200F00400CC180083E000161E7D9C17>I<1FFFFFC01C0701C0300E00C020
+0E0080600E0080400E0080401C0080801C0080801C0080001C0000003800000038000000380000
+003800000070000000700000007000000070000000E0000000E0000000E0000000E0000001C000
+0001C0000001C0000001C0000003C000007FFE00001A1C799B1E>I<7FF0FF800F001C000E0018
+000E0010000E0010000E0010001C0020001C0020001C0020001C00200038004000380040003800
+40003800400070008000700080007000800070008000E0010000E0010000E0010000E0020000E0
+020000E0040000E00400006008000030300000104000000F800000191D779B1F>I<FF803FC01C
+000F001C0004001C0008001C0008001C0010001C0010001C0020001C0040001C0040001E008000
+0E0080000E0100000E0200000E0200000E0400000E0400000E0800000E1800000E1000000E2000
+00072000000740000007C0000007800000070000000700000006000000060000001A1D779B1F>
+I<FF83FF0FF03C007001C038007001803800F001003800F0020038017002003801700400380270
+040038027008001C047008001C047010001C087010001C087020001C107020001C107040001C20
+7040001C207080001C407180001C407100001C807200001D807200001D007400001E007400001E
+007800001C007800001C00700000180070000018006000001000600000241D779B29>I<01FF81
+FE001E00F0001C0060001E0080000E0180000E0100000F02000007040000070800000790000003
+A0000003C0000001C0000001C0000001E0000002E0000004E0000008F000001070000020700000
+6038000040380000803C0001001C0002001C0006001E001E001E00FF80FFC01F1C7E9B1F>I<03
+CC063C0C3C181C3838303870387038E070E070E070E070E0E2C0E2C0E261E462643C380F127B91
+15>97 D<3F00070007000E000E000E000E001C001C001C001C0039C03E60383038307038703870
+387038E070E070E070E060E0E0C0C0C1C0618063003C000D1D7B9C13>I<01F007080C08181C38
+38300070007000E000E000E000E000E000E008E010602030C01F000E127B9113>I<001F800003
+80000380000700000700000700000700000E00000E00000E00000E0003DC00063C000C3C00181C
+00383800303800703800703800E07000E07000E07000E07000E0E200C0E200C0E20061E4006264
+003C3800111D7B9C15>I<01E007100C1018083810701070607F80E000E000E000E000E000E008
+6010602030C01F000D127B9113>I<0003C0000670000C70001C60001C00001C00003800003800
+00380000380000380003FF8000700000700000700000700000700000E00000E00000E00000E000
+00E00001C00001C00001C00001C00001C000038000038000038000030000030000070000C60000
+E60000CC00007800001425819C0D>I<00F3018F030F06070E0E0C0E1C0E1C0E381C381C381C38
+1C383830383038187818F00F700070007000E000E0C0C0E1C0C3007E00101A7D9113>I<0FC000
+01C00001C0000380000380000380000380000700000700000700000700000E78000E8C000F0E00
+0E0E001C0E001C0E001C0E001C0E00381C00381C00381C00383800703880703880707080707100
+E03200601C00111D7D9C15>I<01800380010000000000000000000000000000001C0026004700
+47008E008E000E001C001C001C0038003800710071007100720072003C00091C7C9B0D>I<0FC0
+0001C00001C0000380000380000380000380000700000700000700000700000E0F000E11000E23
+800E43801C83001C80001D00001E00003F800039C00038E00038E00070E20070E20070E20070E4
+00E06400603800111D7D9C13>107 D<1F800380038007000700070007000E000E000E000E001C
+001C001C001C0038003800380038007000700070007000E400E400E400E40068003800091D7C9C
+0B>I<3C1E0780266318C04683A0E04703C0E08E0380E08E0380E00E0380E00E0380E01C0701C0
+1C0701C01C0701C01C070380380E0388380E0388380E0708380E0710701C0320300C01C01D127C
+9122>I<3C3C002646004687004707008E07008E07000E07000E07001C0E001C0E001C0E001C1C
+00381C40381C40383840383880701900300E0012127C9117>I<01E007180C0C180C380C300E70
+0E700EE01CE01CE01CE018E038E030E06060C031801E000F127B9115>I<07870004D98008E0C0
+08E0C011C0E011C0E001C0E001C0E00381C00381C00381C0038180070380070300070700070600
+0E8C000E70000E00000E00001C00001C00001C00001C00003C0000FF8000131A7F9115>I<3C3C
+26C2468747078E068E000E000E001C001C001C001C0038003800380038007000300010127C9112
+>114 D<01F006080C080C1C18181C001F001FC00FF007F0007800386030E030C030806060C01F
+000E127D9111>I<00C001C001C001C00380038003800380FFE00700070007000E000E000E000E
+001C001C001C001C00384038403840388019000E000B1A7D990E>I<1E03002707004707004707
+00870E00870E000E0E000E0E001C1C001C1C001C1C001C1C003838803838801838801839001C59
+00078E0011127C9116>I<1E06270E470E4706870287020E020E021C041C041C041C0818083808
+181018200C4007800F127C9113>I<1E01832703874703874703838707018707010E07010E0701
+1C0E021C0E021C0E021C0E04180C04181C04181C081C1C100C263007C3C018127C911C>I<1E03
+270747074707870E870E0E0E0E0E1C1C1C1C1C1C1C1C38383838183818381C7007F00070007000
+E0E0C0E1C0818047003C00101A7C9114>121 D<038207C20FEC08381008001000200040008001
+000200040008081008383067F043E081C00F127D9111>I<FFFFC012017C8B15>I
+E /Fg 2 122 df<0C000C008C40EDC07F800C007F80EDC08C400C000C000A0B7D8B10>3
+D<1818181818FFFF18181818181818181818181818181808167D900E>121
+D E /Fh 2 16 df<FFFFFF80FFFFFF8019027D8A20>0 D<03C00FF01FF83FFC7FFE7FFEFFFFFF
+FFFFFFFFFF7FFE7FFE3FFC1FF80FF003C010107E9115>15 D E /Fi 60
+122 df<003FC00001F0300003C0380007C07C000F807C000F807C000F8038000F8000000F8000
+000F8000000F800000FFFFFC00FFFFFC000F807C000F807C000F807C000F807C000F807C000F80
+7C000F807C000F807C000F807C000F807C000F807C000F807C000F807C000F807C007FE1FF807F
+E1FF80191D809C1B>12 D<78FCFCFEFE7A0202040408083040070E7D850D>44
+D<78FCFCFCFC7806067D850D>46 D<000180000380000380000700000700000700000E00000E00
+001C00001C00001C0000380000380000380000700000700000E00000E00000E00001C00001C000
+01C0000380000380000380000700000700000E00000E00000E00001C00001C00001C0000380000
+380000700000700000700000E00000E00000C0000011297D9E18>I<03F8000F1E001C07003C07
+803803807803C07803C07803C0F803E0F803E0F803E0F803E0F803E0F803E0F803E0F803E0F803
+E0F803E0F803E0F803E07803C07803C03803803C07801C07000F1E0003F800131B7E9A18>I<00
+600001E0000FE000FFE000F3E00003E00003E00003E00003E00003E00003E00003E00003E00003
+E00003E00003E00003E00003E00003E00003E00003E00003E00003E00003E00003E0007FFF807F
+FF80111B7D9A18>I<07F8001FFE00383F80780FC0FC07C0FC07E0FC03E0FC03E07803E00007E0
+0007C00007C0000F80001F00001E0000380000700000E0000180600300600600600800E01FFFC0
+3FFFC07FFFC0FFFFC0FFFFC0131B7E9A18>I<03F8001FFE003C1F003C0F807C07C07E07C07C07
+C03807C0000F80000F80001E00003C0003F800001E00000F800007C00007C00007E03007E07807
+E0FC07E0FC07E0FC07C0780F80781F001FFE0007F800131B7E9A18>I<00018000038000078000
+0F80001F80003F80006F8000CF80008F80018F80030F80060F800C0F80180F80300F80600F80C0
+0F80FFFFF8FFFFF8000F80000F80000F80000F80000F80000F8001FFF801FFF8151B7F9A18>I<
+1801801FFF001FFE001FFC001FF8001FC00018000018000018000018000019F8001E0E00180F80
+1007800007C00007E00007E00007E07807E0F807E0F807E0F807C0F007C0600F80381F001FFE00
+07F000131B7E9A18>I<007E0003FF000781800F03C01E07C03C07C03C0380780000780000F800
+00F8F800FB0E00FA0780FC0380FC03C0F803E0F803E0F803E0F803E07803E07803E07803C03C03
+C03C07801E0F0007FE0003F800131B7E9A18>I<6000007FFFE07FFFE07FFFC07FFF807FFF80E0
+0300C00600C00C00C0180000300000300000600000E00000E00001E00001C00003C00003C00003
+C00003C00007C00007C00007C00007C00007C00007C000038000131C7D9B18>I<03F8000FFE00
+1E0F803807803803C07803C07803C07E03C07F83807FC7003FFE001FFC000FFE0007FF801DFF80
+387FC0781FE0F007E0F003E0F001E0F001E0F001E07801C07803803E07801FFE0003F800131B7E
+9A18>I<03F8000FFE001E0F003C07807807807803C0F803C0F803C0F803E0F803E0F803E0F803
+E07807E03807E03C0BE00E1BE003E3E00003E00003C00003C03807C07C07807C0700780F00383C
+001FF8000FE000131B7E9A18>I<78FCFCFCFC7800000000000078FCFCFCFC7806127D910D>I<00
+038000000380000007C0000007C0000007C000000FE000000FE000001FF000001BF000001BF000
+0031F8000031F8000061FC000060FC0000E0FE0000C07E0000C07E0001803F0001FFFF0003FFFF
+8003001F8003001F8006000FC006000FC00E000FE00C0007E0FFC07FFEFFC07FFE1F1C7E9B24>
+65 D<FFFFF800FFFFFF000FC01F800FC00FC00FC007C00FC007E00FC007E00FC007E00FC007E0
+0FC007E00FC007C00FC00F800FC03F000FFFFE000FC00F800FC007C00FC007E00FC003E00FC003
+F00FC003F00FC003F00FC003F00FC003F00FC007E00FC007E00FC01FC0FFFFFF00FFFFFC001C1C
+7E9B22>I<001FE02000FFF8E003F80FE007C003E00F8001E01F0000E03E0000E03E0000607E00
+00607C000060FC000000FC000000FC000000FC000000FC000000FC000000FC000000FC0000007C
+0000607E0000603E0000603E0000C01F0000C00F80018007C0030003F80E0000FFFC00001FE000
+1B1C7D9B22>I<FFFFF800FFFFFF000FC01FC00FC007E00FC001F00FC001F80FC000F80FC000FC
+0FC0007C0FC0007C0FC0007E0FC0007E0FC0007E0FC0007E0FC0007E0FC0007E0FC0007E0FC000
+7E0FC0007C0FC0007C0FC0007C0FC000F80FC000F80FC001F00FC007E00FC01FC0FFFFFF00FFFF
+F8001F1C7E9B25>I<FFFFFF00FFFFFF000FC01F000FC007000FC003000FC003800FC003800FC1
+81800FC181800FC181800FC180000FC380000FFF80000FFF80000FC380000FC180000FC180000F
+C180600FC180600FC000E00FC000C00FC000C00FC001C00FC001C00FC003C00FC00F80FFFFFF80
+FFFFFF801B1C7E9B1F>I<FFFFFF00FFFFFF000FC01F000FC007000FC003000FC003800FC00380
+0FC001800FC181800FC181800FC180000FC180000FC380000FFF80000FFF80000FC380000FC180
+000FC180000FC180000FC180000FC000000FC000000FC000000FC000000FC000000FC00000FFFF
+0000FFFF0000191C7E9B1E>I<000FF008007FFE3801FC07F807E001F80F8000781F0000783F00
+00383E0000387E0000187C000018FC000000FC000000FC000000FC000000FC000000FC000000FC
+007FFFFC007FFF7C0001F87E0001F83E0001F83F0001F81F0001F80F8001F807E001F801FC07F8
+007FFE78000FF818201C7D9B26>I<FFFC3FFFFFFC3FFF0FC003F00FC003F00FC003F00FC003F0
+0FC003F00FC003F00FC003F00FC003F00FC003F00FC003F00FFFFFF00FFFFFF00FC003F00FC003
+F00FC003F00FC003F00FC003F00FC003F00FC003F00FC003F00FC003F00FC003F00FC003F00FC0
+03F0FFFC3FFFFFFC3FFF201C7E9B25>I<FFFFFFFF07E007E007E007E007E007E007E007E007E0
+07E007E007E007E007E007E007E007E007E007E007E007E007E007E007E0FFFFFFFF101C7F9B12
+>I<FFFC07FFFFFC07FF0FC000E00FC001C00FC003800FC006000FC00C000FC038000FC070000F
+C0E0000FC1C0000FC3C0000FC7E0000FCFE0000FFBF0000FF3F8000FE1F8000FC0FC000FC0FE00
+0FC07E000FC03F000FC01F800FC01FC00FC00FC00FC007E00FC007F0FFFC3FFFFFFC3FFF201C7E
+9B25>75 D<FFFF00FFFF000FC0000FC0000FC0000FC0000FC0000FC0000FC0000FC0000FC0000F
+C0000FC0000FC0000FC0000FC0000FC0000FC0030FC0030FC0030FC0070FC0070FC0060FC00E0F
+C01E0FC07EFFFFFEFFFFFE181C7E9B1D>I<FFC00003FFFFE00007FF0FE00007F00DF0000DF00D
+F0000DF00DF0000DF00CF80019F00CF80019F00C7C0031F00C7C0031F00C3E0061F00C3E0061F0
+0C1F00C1F00C1F00C1F00C1F00C1F00C0F8181F00C0F8181F00C07C301F00C07C301F00C03E601
+F00C03E601F00C01FC01F00C01FC01F00C01FC01F00C00F801F00C00F801F0FFC0701FFFFFC070
+1FFF281C7E9B2D>I<003FE00001F07C0003C01E000F800F801F0007C01E0003C03E0003E07E00
+03F07C0001F07C0001F0FC0001F8FC0001F8FC0001F8FC0001F8FC0001F8FC0001F8FC0001F8FC
+0001F87C0001F07E0003F07E0003F03E0003E03F0007E01F0007C00F800F8003C01E0001F07C00
+003FE0001D1C7D9B24>79 D<FFFFF800FFFFFE000FC03F800FC00F800FC007C00FC007E00FC007
+E00FC007E00FC007E00FC007E00FC007C00FC007C00FC00F800FC03F000FFFFC000FC000000FC0
+00000FC000000FC000000FC000000FC000000FC000000FC000000FC000000FC000000FC00000FF
+FC0000FFFC00001B1C7E9B21>I<003FE00001F07C0003C01E000F800F801F0007C01F0007C03E
+0003E07E0003F07C0001F07C0001F0FC0001F8FC0001F8FC0001F8FC0001F8FC0001F8FC0001F8
+FC0001F8FC0001F87C0001F07C0001F07E0003F03E0003E03E0703E01F08C7C00F906F8003D07E
+0001F87C00003FF8080000380800003C1800003FF800001FF800001FF000000FF0000007E00000
+03C01D247D9B24>I<FFFFF00000FFFFFE00000FC03F00000FC00F80000FC007C0000FC007E000
+0FC007E0000FC007E0000FC007E0000FC007E0000FC007C0000FC00F80000FC03E00000FFFF000
+000FC07C00000FC03E00000FC03F00000FC01F80000FC01F80000FC01F80000FC01F80000FC01F
+80000FC01F80000FC01F81800FC01F81800FC00FC180FFFC07C300FFFC01FE00211C7E9B24>I<
+07F8201FFEE03C07E07801E07000E0F000E0F00060F00060F80000FE0000FFE0007FFE003FFF00
+3FFF800FFFC007FFE0007FE00003F00001F00000F0C000F0C000F0C000E0E000E0F001C0FC03C0
+EFFF0083FC00141C7D9B1B>I<7FFFFFE07FFFFFE0781F81E0701F80E0601F8060E01F8070C01F
+8030C01F8030C01F8030C01F8030001F8000001F8000001F8000001F8000001F8000001F800000
+1F8000001F8000001F8000001F8000001F8000001F8000001F8000001F8000001F8000001F8000
+07FFFE0007FFFE001C1C7E9B21>I<FFFC03FFFFFC03FF0FC000300FC000300FC000300FC00030
+0FC000300FC000300FC000300FC000300FC000300FC000300FC000300FC000300FC000300FC000
+300FC000300FC000300FC000300FC000300FC0003007C0003007C0006003E000E001F001C000FC
+0780007FFE00000FF800201C7E9B25>I<FFFC7FFE0FFCFFFC7FFE0FFC0FC007E000C00FC007F0
+00C00FE003F001C007E003F0018007E007F8018003F007F8030003F007F8030003F80CFC070001
+F80CFC060001F81CFE060001FC187E0E0000FC187E0C0000FC387F0C00007E303F1800007E303F
+1800007F601FB800003F601FB000003FE01FF000003FC00FF000001FC00FE000001FC00FE00000
+0F8007C000000F8007C000000F0003C0000007000380000007000380002E1C7F9B31>87
+D<7FFE1FFE007FFE1FFE0007F001800003F803800001FC07000000FC06000000FE0C0000007F1C
+0000003F380000003FB00000001FE00000000FE00000000FE000000007F000000003F800000007
+F80000000FFC0000000CFE000000187E000000387F000000703F800000601F800000C01FC00001
+C00FE000018007F000030007F000FFF03FFF80FFF03FFF80211C7F9B24>I<0FF8001C1E003E0F
+803E07803E07C01C07C00007C0007FC007E7C01F07C03C07C07C07C0F807C0F807C0F807C0780B
+C03E13F80FE1F815127F9117>97 D<FF0000FF00001F00001F00001F00001F00001F00001F0000
+1F00001F00001F00001F3F801FE1E01F80701F00781F003C1F003C1F003E1F003E1F003E1F003E
+1F003E1F003E1F003C1F003C1F00781F80701EC1E01C3F00171D7F9C1B>I<03FC000E0E001C1F
+003C1F00781F00780E00F80000F80000F80000F80000F80000F800007800007801803C01801C03
+000E0E0003F80011127E9115>I<000FF0000FF00001F00001F00001F00001F00001F00001F000
+01F00001F00001F001F9F00F07F01C03F03C01F07801F07801F0F801F0F801F0F801F0F801F0F8
+01F0F801F07801F07801F03C01F01C03F00F0FFE03F9FE171D7E9C1B>I<01FC000F07001C0380
+3C01C07801C07801E0F801E0F801E0FFFFE0F80000F80000F800007800007C00603C00601E00C0
+0F038001FC0013127F9116>I<007F0001E38003C7C00787C00F87C00F83800F80000F80000F80
+000F80000F8000FFF800FFF8000F80000F80000F80000F80000F80000F80000F80000F80000F80
+000F80000F80000F80000F80000F80007FF8007FF800121D809C0F>I<03F8F00E0F381E0F381C
+07303C07803C07803C07803C07801C07001E0F000E0E001BF8001000001800001800001FFF001F
+FFC00FFFE01FFFF07801F8F00078F00078F000787000707800F01E03C007FF00151B7F9118>I<
+FF0000FF00001F00001F00001F00001F00001F00001F00001F00001F00001F00001F0FC01F31E0
+1F40F01F80F81F80F81F00F81F00F81F00F81F00F81F00F81F00F81F00F81F00F81F00F81F00F8
+1F00F8FFE7FFFFE7FF181D7F9C1B>I<1E003F003F003F003F001E000000000000000000000000
+00FF00FF001F001F001F001F001F001F001F001F001F001F001F001F001F001F00FFE0FFE00B1E
+7F9D0E>I<FF0000FF00001F00001F00001F00001F00001F00001F00001F00001F00001F00001F
+0FF81F0FF81F03801F07001F0C001F18001F70001FF8001FFC001FBC001F3E001F1F001F0F001F
+0F801F07C01F03E0FFC7FCFFC7FC161D7F9C19>107 D<FF00FF001F001F001F001F001F001F00
+1F001F001F001F001F001F001F001F001F001F001F001F001F001F001F001F001F001F001F00FF
+E0FFE00B1D7F9C0E>I<FF0FC07E00FF31E18F001F40F207801F80FC07C01F80FC07C01F00F807
+C01F00F807C01F00F807C01F00F807C01F00F807C01F00F807C01F00F807C01F00F807C01F00F8
+07C01F00F807C01F00F807C0FFE7FF3FF8FFE7FF3FF825127F9128>I<FF0FC0FF31E01F40F01F
+80F81F80F81F00F81F00F81F00F81F00F81F00F81F00F81F00F81F00F81F00F81F00F81F00F8FF
+E7FFFFE7FF18127F911B>I<01FC000F07801C01C03C01E07800F07800F0F800F8F800F8F800F8
+F800F8F800F8F800F87800F07800F03C01E01E03C00F078001FC0015127F9118>I<FF3F80FFE1
+E01F80F01F00781F007C1F003C1F003E1F003E1F003E1F003E1F003E1F003E1F003C1F007C1F00
+781F80F01FC1E01F3F001F00001F00001F00001F00001F00001F0000FFE000FFE000171A7F911B
+>I<03F0600F0CE01E07E03C03E07C03E07803E0F803E0F803E0F803E0F803E0F803E0F803E078
+03E07C03E03C03E01C07E00E0FE003F3E00003E00003E00003E00003E00003E00003E0001FFC00
+1FFC161A7E9119>I<FE3E00FE47001E8F801E8F801E8F801F07001F00001F00001F00001F0000
+1F00001F00001F00001F00001F00001F0000FFF000FFF00011127F9114>I<1FD830786018E018
+E018F000FF807FE07FF01FF807FC007CC01CC01CE01CE018F830CFC00E127E9113>I<03000300
+03000300070007000F000F003FFCFFFC1F001F001F001F001F001F001F001F001F001F0C1F0C1F
+0C1F0C0F08079803F00E1A7F9913>I<FF07F8FF07F81F00F81F00F81F00F81F00F81F00F81F00
+F81F00F81F00F81F00F81F00F81F00F81F00F81F01F80F01F80786FF01F8FF18127F911B>I<FF
+C1FCFFC1FC1F00601F80E00F80C00FC0C007C18007C18003E30003E30001F60001F60001FE0000
+FC0000FC0000780000780000300016127F9119>I<FF8FF8FEFF8FF8FE1F03E0301F03E0301F83
+E0700F83F0600F86F06007C6F0C007CEF8C007EC79C003EC7D8003F83D8001F83F0001F83F0001
+F01F0000F01E0000E00E0000E00E001F127F9122>I<FFC7FCFFC7FC1F81800F838007C70003EE
+0001FC0001F80000F800007C0000FE0001DF00039F00070F800607C00C03E0FF07FCFF07FC1612
+7F9119>I<FFC1FCFFC1FC1F00601F80E00F80C00FC0C007C18007C18003E30003E30001F70001
+F60000FE0000FC0000FC00007800007800003000003000007000706000F86000F8C000F9800073
+00003E0000161A7F9119>I E /Fj 1 98 df<00800001C00001C00001C0000260000260000260
+000430000430000C18000818000FF800100C00100C00100C00300E00F81F8011117F9014>97
+D E /Fk 59 123 df<00FC000782000E07001C07001C02001C00001C00001C00001C0000FFFF00
+1C07001C07001C07001C07001C07001C07001C07001C07001C07001C07001C07001C0700FF1FE0
+1317809614>12 D<00FC7E000703C1000E0783801C0703801C0701001C0700001C0700001C0700
+001C070000FFFFFF801C0703801C0703801C0703801C0703801C0703801C0703801C0703801C07
+03801C0703801C0703801C0703801C070380FF1FCFF01C1780961D>14 D<60C0F1E0F1E070E010
+20102020402040408040800B0A7F9612>34 D<60F0F070101020204040040A7D960A>39
+D<60F0F070101020204040040A7D830A>44 D<FF80FF80090280870C>I<60F0F06004047D830A>
+I<07C018303018701C600C600CE00EE00EE00EE00EE00EE00EE00EE00EE00E600C600C701C3018
+1C7007C00F157F9412>48 D<03000700FF00070007000700070007000700070007000700070007
+000700070007000700070007007FF00C157E9412>I<0F8030E040708030C038E0384038003800
+700070006000C00180030006000C08080810183FF07FF0FFF00D157E9412>I<0FE03030601870
+1C701C001C00180038006007E000300018000C000E000EE00EE00EC00C401830300FE00F157F94
+12>I<20303FE03FC0240020002000200020002F8030E020700030003800384038E038E0388030
+406020C01F000D157E9412>53 D<01F00608080C181C301C70006000E000E3E0EC30F018F00CE0
+0EE00EE00E600E600E300C3018183007C00F157F9412>I<07E018302018600C600C700C78183E
+101F600FC00FF018F8607C601EC00EC006C006C004600C38300FE00F157F9412>56
+D<07C0183030186018E00CE00CE00EE00EE00E601E301E186E0F8E000E000C001C701870186030
+20C01F800F157F9412>I<60F0F06000000000000060F0F07010102020404004147D8D0A>59
+D<001000003800003800003800005C00005C00005C00008E00008E00008E000107000107000307
+8002038002038007FFC00401C00401C00800E00800E01800E03800F0FE03FE17177F961A>65
+D<FFFE001C03801C00E01C00601C00701C00701C00701C00701C00E01C01C01FFF801FFFC01C00
+E01C00701C00301C00381C00381C00381C00381C00701C00E01C01C0FFFF0015177F9619>I<00
+FC100383300E00B01C0070380030300030700010600010E00010E00000E00000E00000E00000E0
+0000E000106000107000103000203800201C00400E008003830000FC0014177E9619>I<FFFF00
+1C01C01C00E01C00301C00381C00181C001C1C000C1C000E1C000E1C000E1C000E1C000E1C000E
+1C000E1C000C1C001C1C001C1C00381C00301C00601C01C0FFFF0017177F961B>I<FFFFE01C00
+E01C00601C00201C00101C00101C00101C04001C04001C04001C0C001FFC001C0C001C04001C04
+081C04081C00081C00181C00101C00101C00301C00F0FFFFF015177F9618>I<FFE00E000E000E
+000E000E000E000E000E000E000E000E000E000E000E000E000E000E000E000E000E000E00FFE0
+0B177F960D>73 D<FF80FE1C00781C00601C00401C00801C01001C06001C08001C10001C38001C
+78001C9C001D0E001E0E001C07001C03801C01C01C01C01C00E01C00701C00781C007CFF80FF18
+177F961B>75 D<FFC0001C00001C00001C00001C00001C00001C00001C00001C00001C00001C00
+001C00001C00001C00001C00201C00201C00201C00601C00601C00401C00C01C03C0FFFFC01317
+7F9616>I<FE0003F81E0003C0170005C0170005C0170005C0138009C0138009C011C011C011C0
+11C011C011C010E021C010E021C0107041C0107041C0107041C0103881C0103881C0101D01C010
+1D01C0100E01C0100E01C0380E01C0FE040FF81D177F9620>I<FC00FE1E00381F001017001013
+801011C01011C01010E010107010103810103810101C10100E10100F101007101003901001D010
+01D01000F0100070100030380030FE001017177F961A>I<00FC000303000E01C01C00E0380070
+300030700038600018E0001CE0001CE0001CE0001CE0001CE0001CE0001C700038700038300030
+3800701C00E00E01C003030000FC0016177E961B>I<FFFE001C03801C00C01C00601C00701C00
+701C00701C00701C00601C00C01C03801FFE001C00001C00001C00001C00001C00001C00001C00
+001C00001C00001C0000FF800014177F9618>I<FFFC001C03801C00C01C00E01C00701C00701C
+00701C00701C00E01C00C01C03801FFE001C07801C01C01C00E01C00E01C00E01C00E01C00E01C
+00E11C00E11C0072FF803C18177F961A>82 D<0FC4302C601C400CC004C004C004E00070007F00
+3FE00FF801FC001C000E0006800680068006C004E008D81087E00F177E9614>I<7FFFF8603818
+403808403808803804803804803804003800003800003800003800003800003800003800003800
+00380000380000380000380000380000380000380007FFC016177F9619>I<FF80FE1C00381C00
+101C00101C00101C00101C00101C00101C00101C00101C00101C00101C00101C00101C00101C00
+101C00101C00100E0020060020030040018180007E0017177F961A>I<FF07FC3F803C01E00E00
+1C00E004001C00E004001C017004000E017008000E017008000E02380800070238100007023810
+0007041C100003841C200003841C200003880E200001C80E400001C80E400001D80F400000F007
+800000F007800000F007800000600300000060030000006003000021177F9624>87
+D<FF83FC1F01E00E008007008007810003820001C20001E40000E800007800007800003800007C
+00005E00008E000187000107800203800601C00401E00C00E01C00F0FF03FE17177F961A>I<20
+4020404080408081008100E1C0F1E0F1E060C00B0A7B9612>92 D<1FC0386038301038003803F8
+1E3830387038E039E039E07970FF1F1E100E7F8D12>97 D<FC00001C00001C00001C00001C0000
+1C00001C00001C00001C00001CF8001F06001C03001C03801C01801C01C01C01C01C01C01C01C0
+1C01801C03801C03001B0E0010F8001217809614>I<07F01838303870106000E000E000E000E0
+00600070083008183007C00D0E7F8D10>I<007E00000E00000E00000E00000E00000E00000E00
+000E00000E0007CE001C3E00300E00700E00600E00E00E00E00E00E00E00E00E00600E00700E00
+301E00182E0007CFC012177F9614>I<0FC0186030307038E018FFF8E000E000E0006000700830
+10183007C00D0E7F8D10>I<03E006700E701C201C001C001C001C001C00FF801C001C001C001C
+001C001C001C001C001C001C001C001C00FF800C1780960B>I<0F9E18E3306070707070707030
+6018C02F80200060003FE03FF83FFC600EC006C006C006600C38380FE010157F8D12>I<FC0000
+1C00001C00001C00001C00001C00001C00001C00001C00001C7C001D8E001E07001C07001C0700
+1C07001C07001C07001C07001C07001C07001C07001C0700FF9FE01317809614>I<183C3C1800
+000000007C1C1C1C1C1C1C1C1C1C1C1C1CFF081780960A>I<FC00001C00001C00001C00001C00
+001C00001C00001C00001C00001C3F801C1C001C18001C20001C40001CC0001FE0001CF0001C70
+001C78001C3C001C1E001C1E00FF3FC01217809613>107 D<FC001C001C001C001C001C001C00
+1C001C001C001C001C001C001C001C001C001C001C001C001C001C001C00FF80091780960A>I<
+FC7C1F001D8E63801E0781C01C0701C01C0701C01C0701C01C0701C01C0701C01C0701C01C0701
+C01C0701C01C0701C01C0701C0FF9FE7F81D0E808D1E>I<FC7C001D8E001E07001C07001C0700
+1C07001C07001C07001C07001C07001C07001C07001C0700FF9FE0130E808D14>I<07C0183030
+18600C600CE00EE00EE00EE00EE00E701C3018183007C00F0E7F8D12>I<FCF8001F0E001C0300
+1C03801C01801C01C01C01C01C01C01C01C01C01801C03801C07001F0E001CF8001C00001C0000
+1C00001C00001C0000FF80001214808D14>I<07C2001C2600381E00700E00600E00E00E00E00E
+00E00E00E00E00600E00700E00301E001C2E0007CE00000E00000E00000E00000E00000E00007F
+C012147F8D13>I<FCF01D381E381C101C001C001C001C001C001C001C001C001C00FF800D0E80
+8D0E>I<1F4060C0C040C040E000FF007F801FC001E080608060C060E0C09F000B0E7F8D0E>I<08
+0008000800180018003800FF80380038003800380038003800380038403840384038401C800F00
+0A147F930E>I<FC3F001C07001C07001C07001C07001C07001C07001C07001C07001C07001C07
+001C0F000E170003E7E0130E808D14>I<FE1F3C0E3C0C1C081C080E100E100720072003C003C0
+03C001800180100E7F8D13>I<FCFE7C3838383838101C3C201C3C201C4C200E4E400E4E400E86
+40078780078780070380030300030300160E7F8D19>I<FE1F3C0E3C0C1C081C080E100E100720
+072003C003C003C00180018001000100E200E200A400780010147F8D13>121
+D<FFF0C0E080E081C08380878007000E001E081C08381870107030FFF00D0E7F8D10>I
+E /Fl 13 117 df<70F8F8F87005057D840B>46 D<00060000000F0000000F0000001F8000001F
+8000001F80000037C0000037C0000063E0000063E00000E3F00000C1F00000C1F0000180F80001
+80F80003FFFC0003FFFC0007007E0006003E000E003F000C001F00FF80FFF0FF80FFF01C177F96
+1F>65 D<0FE0003838003C1C003C1E00181E00001E0000FE000F9E003C1E00781E00F01E00F01E
+00F01E00786FC01F87C0120F7F8E14>97 D<FC0000FC00003C00003C00003C00003C00003C0000
+3C00003DFC003F07003C03803C03C03C01C03C01E03C01E03C01E03C01E03C01E03C01C03C03C0
+3C03803B0F0031F80013177E9617>I<07F01C1C383C783C7018F000F000F000F000F000700078
+0038061C0C07F80F0F7F8E12>I<07F01C18380C78067007F007F007FFFFF000F0007000780038
+031E0603FC100F7F8E13>101 D<FC0000FC00003C00003C00003C00003C00003C00003C00003C
+7C003D8E003E0F003E0F003C0F003C0F003C0F003C0F003C0F003C0F003C0F003C0F003C0F00FF
+3FC0FF3FC012177E9617>104 D<387C7C7C3800000000FCFC3C3C3C3C3C3C3C3C3C3C3CFFFF08
+187F970B>I<07F0001C1C00380E00700700700700F00780F00780F00780F00780F00780700700
+700700380E001C1C0007F000110F7F8E14>111 D<FDFC00FF0F003C03803C03C03C01C03C01E0
+3C01E03C01E03C01E03C01E03C01C03C03C03C07803F0F003DF8003C00003C00003C00003C0000
+FF0000FF000013157E8E17>I<F8E0F9383A783A783C303C003C003C003C003C003C003C003C00
+FF80FF800D0F7E8E11>114 D<1FF060704030C030E000FF007FE03FF00FF80078C018C018E010
+F020CFC00D0F7F8E10>I<0600060006000E000E001E003FE0FFE01E001E001E001E001E001E00
+1E001E301E301E301E300E2007C00C157F9410>I E /Fm 81 125 df<007E1F0001C1B1800303
+E3C00703C3C00E03C1800E01C0000E01C0000E01C0000E01C0000E01C0000E01C000FFFFFC000E
+01C0000E01C0000E01C0000E01C0000E01C0000E01C0000E01C0000E01C0000E01C0000E01C000
+0E01C0000E01C0000E01C0000E01C0000E01C0000E01C0007F87FC001A1D809C18>11
+D<007E0001C1800301800703C00E03C00E01800E00000E00000E00000E00000E0000FFFFC00E01
+C00E01C00E01C00E01C00E01C00E01C00E01C00E01C00E01C00E01C00E01C00E01C00E01C00E01
+C00E01C00E01C07F87F8151D809C17>I<007FC001C1C00303C00703C00E01C00E01C00E01C00E
+01C00E01C00E01C00E01C0FFFFC00E01C00E01C00E01C00E01C00E01C00E01C00E01C00E01C00E
+01C00E01C00E01C00E01C00E01C00E01C00E01C00E01C07FCFF8151D809C17>I<60F0F0F0F0F0
+F0F060606060606060606060606060000000000060F0F060041E7C9D0C>33
+D<6060F0F0F8F86868080808080808101010102020404080800D0C7F9C15>I<00030180000301
+80000301800006030000060300000603000006030000060300000C0600000C0600000C0600000C
+060000180C007FFFFFF8FFFFFFFC00301800003018000030180000301800006030000060300000
+60300000603000FFFFFFFC7FFFFFF800C060000180C0000180C0000180C0000180C00003018000
+0301800003018000030180000603000006030000060300001E257E9C23>I<60F0F86808080810
+10204080050C7C9C0C>39 D<004000800100020006000C000C0018001800300030007000600060
+006000E000E000E000E000E000E000E000E000E000E000E000E000600060006000700030003000
+180018000C000C00060002000100008000400A2A7D9E10>I<800040002000100018000C000C00
+0600060003000300038001800180018001C001C001C001C001C001C001C001C001C001C001C001
+C0018001800180038003000300060006000C000C00180010002000400080000A2A7E9E10>I<60
+F0F0701010101020204080040C7C830C>44 D<FFE0FFE00B0280890E>I<60F0F06004047C830C>
+I<00010003000600060006000C000C000C0018001800180030003000300060006000C000C000C0
+018001800180030003000300060006000C000C000C001800180018003000300030006000600060
+00C000C00010297E9E15>I<03C00C301818300C300C700E60066006E007E007E007E007E007E0
+07E007E007E007E007E007E007E00760066006700E300C300C18180C3007E0101D7E9B15>I<03
+0007003F00C7000700070007000700070007000700070007000700070007000700070007000700
+0700070007000700070007000F80FFF80D1C7C9B15>I<07C01830201C400C400EF00FF80FF807
+F8077007000F000E000E001C001C00380070006000C00180030006010C01180110023FFE7FFEFF
+FE101C7E9B15>I<07E01830201C201C781E780E781E381E001C001C00180030006007E0003000
+1C001C000E000F000F700FF80FF80FF80FF00E401C201C183007E0101D7E9B15>I<000C00000C
+00001C00003C00003C00005C0000DC00009C00011C00031C00021C00041C000C1C00081C00101C
+00301C00201C00401C00C01C00FFFFC0001C00001C00001C00001C00001C00001C00001C0001FF
+C0121C7F9B15>I<300C3FF83FF03FC020002000200020002000200023E024302818301C200E00
+0E000F000F000F600FF00FF00FF00F800E401E401C2038187007C0101D7E9B15>I<00F0030C06
+040C0E181E301E300C700070006000E3E0E430E818F00CF00EE006E007E007E007E007E0076007
+60077006300E300C18180C3003E0101D7E9B15>I<4000007FFF807FFF007FFF00400200800400
+80040080080000100000100000200000600000400000C00000C00001C000018000018000038000
+038000038000038000078000078000078000078000078000078000030000111D7E9B15>I<03E0
+0C301008200C20066006600660067006780C3E083FB01FE007F007F818FC307E601E600FC007C0
+03C003C003C00360026004300C1C1007E0101D7E9B15>I<03C00C301818300C700C600EE006E0
+06E007E007E007E007E0076007700F300F18170C2707C700060006000E300C780C781870102030
+30C00F80101D7E9B15>I<60F0F0600000000000000000000060F0F06004127C910C>I<60F0F060
+0000000000000000000060F0F0701010101020204080041A7C910C>I<00060000000600000006
+0000000F0000000F0000000F00000017800000178000001780000023C0000023C0000023C00000
+41E0000041E0000041E0000080F0000080F0000180F8000100780001FFF80003007C0002003C00
+02003C0006003E0004001E0004001E000C001F001E001F00FF80FFF01C1D7F9C1F>65
+D<FFFFC00F00F00F00380F003C0F001C0F001E0F001E0F001E0F001E0F001C0F003C0F00780F01
+F00FFFE00F00780F003C0F001E0F000E0F000F0F000F0F000F0F000F0F000F0F001E0F001E0F00
+3C0F0078FFFFE0181C7E9B1D>I<001F808000E0618001801980070007800E0003801C0003801C
+00018038000180780000807800008070000080F0000000F0000000F0000000F0000000F0000000
+F0000000F0000000F0000000700000807800008078000080380000801C0001001C0001000E0002
+00070004000180080000E03000001FC000191E7E9C1E>I<FFFFC0000F00F0000F003C000F000E
+000F0007000F0007000F0003800F0003C00F0001C00F0001C00F0001E00F0001E00F0001E00F00
+01E00F0001E00F0001E00F0001E00F0001E00F0001C00F0001C00F0003C00F0003800F0007800F
+0007000F000E000F001C000F007000FFFFC0001B1C7E9B20>I<FFFFFC0F003C0F000C0F00040F
+00040F00060F00020F00020F02020F02000F02000F02000F06000FFE000F06000F02000F02000F
+02000F02010F00010F00020F00020F00020F00060F00060F000C0F003CFFFFFC181C7E9B1C>I<
+FFFFF80F00780F00180F00080F00080F000C0F00040F00040F02040F02000F02000F02000F0600
+0FFE000F06000F02000F02000F02000F02000F00000F00000F00000F00000F00000F00000F0000
+0F8000FFF800161C7E9B1B>I<001F808000E0618001801980070007800E0003801C0003801C00
+018038000180780000807800008070000080F0000000F0000000F0000000F0000000F0000000F0
+000000F000FFF0F0000F80700007807800078078000780380007801C0007801C0007800E000780
+07000B800180118000E06080001F80001C1E7E9C21>I<FFF3FFC00F003C000F003C000F003C00
+0F003C000F003C000F003C000F003C000F003C000F003C000F003C000F003C000F003C000FFFFC
+000F003C000F003C000F003C000F003C000F003C000F003C000F003C000F003C000F003C000F00
+3C000F003C000F003C000F003C00FFF3FFC01A1C7E9B1F>I<FFF00F000F000F000F000F000F00
+0F000F000F000F000F000F000F000F000F000F000F000F000F000F000F000F000F000F000F000F
+00FFF00C1C7F9B0F>I<1FFF00F800780078007800780078007800780078007800780078007800
+780078007800780078007800787078F878F878F878F0F040E021C01F00101D7F9B15>I<FFF03F
+E00F000F000F000C000F0008000F0010000F0020000F0040000F0080000F0100000F0200000F04
+00000F0E00000F1F00000F2F00000F2780000F4780000F83C0000F01E0000F01E0000F00F0000F
+00F8000F0078000F003C000F003C000F001E000F001F000F001F80FFF07FF01C1C7E9B20>I<FF
+F8000F80000F00000F00000F00000F00000F00000F00000F00000F00000F00000F00000F00000F
+00000F00000F00000F00000F00000F00080F00080F00080F00180F00180F00100F00300F00700F
+01F0FFFFF0151C7E9B1A>I<FF8000FF800F8000F8000F8000F8000BC00178000BC00178000BC0
+01780009E002780009E002780008F004780008F004780008F00478000878087800087808780008
+78087800083C107800083C107800083C107800081E207800081E207800081E207800080F407800
+080F40780008078078000807807800080780780008030078001C03007800FF8307FF80211C7E9B
+26>I<FF007FC00F800E000F8004000BC0040009E0040009E0040008F0040008F8040008780400
+083C0400083C0400081E0400080F0400080F0400080784000807C4000803C4000801E4000801E4
+000800F40008007C0008007C0008003C0008003C0008001C0008000C001C000C00FF8004001A1C
+7E9B1F>I<003F800000E0E0000380380007001C000E000E001C0007003C000780380003807800
+03C0780003C0700001C0F00001E0F00001E0F00001E0F00001E0F00001E0F00001E0F00001E0F0
+0001E0700001C0780003C0780003C0380003803C0007801C0007000E000E0007001C0003803800
+00E0E000003F80001B1E7E9C20>I<FFFF800F00E00F00780F003C0F001C0F001E0F001E0F001E
+0F001E0F001E0F001C0F003C0F00780F00E00FFF800F00000F00000F00000F00000F00000F0000
+0F00000F00000F00000F00000F00000F0000FFF000171C7E9B1C>I<003F800000E0E000038038
+0007001C000E000E001C0007003C00078038000380780003C0780003C0700001C0F00001E0F000
+01E0F00001E0F00001E0F00001E0F00001E0F00001E0F00001E0700001C0780003C0780003C038
+0003803C0E07801C1107000E208E0007205C0003A0780000F0E020003FE0200000602000003060
+000038E000003FC000003FC000001F8000000F001B257E9C20>I<FFFF00000F01E0000F007800
+0F003C000F001C000F001E000F001E000F001E000F001E000F001C000F003C000F0078000F01E0
+000FFF00000F03C0000F00E0000F00F0000F0078000F0078000F0078000F0078000F0078000F00
+78000F0078100F0078100F0038100F003C20FFF01C20000007C01C1D7E9B1F>I<07E0801C1980
+300580700380600180E00180E00080E00080E00080F00000F800007C00007FC0003FF8001FFE00
+07FF0000FF80000F800007C00003C00001C08001C08001C08001C0C00180C00180E00300D00200
+CC0C0083F800121E7E9C17>I<7FFFFFC0700F01C0600F00C0400F0040400F0040C00F0020800F
+0020800F0020800F0020000F0000000F0000000F0000000F0000000F0000000F0000000F000000
+0F0000000F0000000F0000000F0000000F0000000F0000000F0000000F0000000F0000000F0000
+001F800003FFFC001B1C7F9B1E>I<FFF07FC00F000E000F0004000F0004000F0004000F000400
+0F0004000F0004000F0004000F0004000F0004000F0004000F0004000F0004000F0004000F0004
+000F0004000F0004000F0004000F0004000F0004000F0004000700080007800800038010000180
+100000C020000070C000001F00001A1D7E9B1F>I<FFE00FF01F0003C00F0001800F0001000F80
+0300078002000780020003C0040003C0040003C0040001E0080001E0080001F0080000F0100000
+F0100000F830000078200000782000003C4000003C4000003C4000001E8000001E8000001F8000
+000F0000000F00000006000000060000000600001C1D7F9B1F>I<FFE0FFE0FF1F001F003C1E00
+1E00180F001F00100F001F00100F001F001007801F00200780278020078027802003C027804003
+C043C04003C043C04003E043C04001E081E08001E081E08001E081E08000F100F10000F100F100
+00F100F100007900FA00007A007A00007A007A00003E007C00003C003C00003C003C00003C003C
+00001800180000180018000018001800281D7F9B2B>I<7FF0FFC00FC03E000780180003C01800
+03E0100001E0200001F0600000F0400000788000007D8000003D0000001E0000001F0000000F00
+00000F8000000F80000013C0000023E0000021E0000041F00000C0F8000080780001007C000300
+3C0002001E0006001F001F003F80FFC0FFF01C1C7F9B1F>I<FFF007FC0F8001E00780008007C0
+018003C0010003E0020001F0020000F0040000F8040000780800007C1800003C1000001E200000
+1F2000000F4000000FC00000078000000780000007800000078000000780000007800000078000
+00078000000780000007800000078000007FF8001E1C809B1F>I<FEFEC0C0C0C0C0C0C0C0C0C0
+C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0FEFE07297C9E0C>91
+D<08081010202040404040808080808080B0B0F8F8787830300D0C7A9C15>I<FEFE0606060606
+0606060606060606060606060606060606060606060606060606060606060606FEFE0729809E0C
+>I<1FC000307000783800781C00301C00001C00001C0001FC000F1C00381C00701C00601C00E0
+1C40E01C40E01C40603C40304E801F870012127E9115>97 D<FC00001C00001C00001C00001C00
+001C00001C00001C00001C00001C00001C00001C7C001D86001E03001C01801C01C01C00C01C00
+E01C00E01C00E01C00E01C00E01C00E01C00C01C01C01C01801E030019060010F800131D7F9C17
+>I<07E00C301878307870306000E000E000E000E000E000E00060007004300418080C3007C00E
+127E9112>I<003F00000700000700000700000700000700000700000700000700000700000700
+03E7000C1700180F00300700700700600700E00700E00700E00700E00700E00700E00700600700
+700700300700180F000C370007C7E0131D7E9C17>I<03E00C301818300C700E6006E006FFFEE0
+00E000E000E00060007002300218040C1803E00F127F9112>I<00F8018C071E061E0E0C0E000E
+000E000E000E000E00FFE00E000E000E000E000E000E000E000E000E000E000E000E000E000E00
+0E000E007FE00F1D809C0D>I<00038003C4C00C38C01C3880181800381C00381C00381C00381C
+001818001C38000C300013C0001000003000001800001FF8001FFF001FFF803003806001C0C000
+C0C000C0C000C06001803003001C0E0007F800121C7F9215>I<FC00001C00001C00001C00001C
+00001C00001C00001C00001C00001C00001C00001C7C001C87001D03001E03801C03801C03801C
+03801C03801C03801C03801C03801C03801C03801C03801C03801C03801C0380FF9FF0141D7F9C
+17>I<18003C003C0018000000000000000000000000000000FC001C001C001C001C001C001C00
+1C001C001C001C001C001C001C001C001C001C00FF80091D7F9C0C>I<00C001E001E000C00000
+0000000000000000000000000FE000E000E000E000E000E000E000E000E000E000E000E000E000
+E000E000E000E000E000E000E000E060E0F0C0F1C061803E000B25839C0D>I<FC00001C00001C
+00001C00001C00001C00001C00001C00001C00001C00001C00001C3FC01C0F001C0C001C08001C
+10001C20001C40001CE0001DE0001E70001C78001C38001C3C001C1C001C0E001C0F001C0F80FF
+9FE0131D7F9C16>I<FC001C001C001C001C001C001C001C001C001C001C001C001C001C001C00
+1C001C001C001C001C001C001C001C001C001C001C001C001C00FF80091D7F9C0C>I<FC7E07E0
+001C838838001D019018001E01E01C001C01C01C001C01C01C001C01C01C001C01C01C001C01C0
+1C001C01C01C001C01C01C001C01C01C001C01C01C001C01C01C001C01C01C001C01C01C001C01
+C01C00FF8FF8FF8021127F9124>I<FC7C001C87001D03001E03801C03801C03801C03801C0380
+1C03801C03801C03801C03801C03801C03801C03801C03801C0380FF9FF014127F9117>I<03F0
+000E1C00180600300300700380600180E001C0E001C0E001C0E001C0E001C0E001C06001807003
+803003001806000E1C0003F00012127F9115>I<FC7C001D86001E03001C01801C01C01C00C01C
+00E01C00E01C00E01C00E01C00E01C00E01C01C01C01C01C01801E03001D06001CF8001C00001C
+00001C00001C00001C00001C00001C0000FF8000131A7F9117>I<03C1000C3300180B00300F00
+700700700700E00700E00700E00700E00700E00700E00700600700700700300F00180F000C3700
+07C700000700000700000700000700000700000700000700003FE0131A7E9116>I<FCE01D301E
+781E781C301C001C001C001C001C001C001C001C001C001C001C001C00FFC00D127F9110>I<1F
+9030704030C010C010E010F8007F803FE00FF000F880388018C018C018E010D0608FC00D127F91
+10>I<04000400040004000C000C001C003C00FFE01C001C001C001C001C001C001C001C001C00
+1C101C101C101C101C100C100E2003C00C1A7F9910>I<FC1F801C03801C03801C03801C03801C
+03801C03801C03801C03801C03801C03801C03801C03801C03801C07800C07800E1B8003E3F014
+127F9117>I<FF07E03C03801C01001C01000E02000E0200070400070400070400038800038800
+03D80001D00001D00000E00000E00000E00000400013127F9116>I<FF3FCFE03C0F03801C0701
+801C0701001C0B01000E0B82000E0B82000E1182000711C4000711C4000720C40003A0E80003A0
+E80003C0680001C0700001C0700001803000008020001B127F911E>I<7F8FF00F03800F030007
+020003840001C80001D80000F00000700000780000F800009C00010E00020E000607000403801E
+07C0FF0FF81512809116>I<FF07E03C03801C01001C01000E02000E0200070400070400070400
+03880003880003D80001D00001D00000E00000E00000E000004000004000008000008000F08000
+F10000F300006600003C0000131A7F9116>I<7FFC70386038407040F040E041C003C003800700
+0F040E041C043C0C380870087038FFF80E127F9112>I<FFFFF01401808B15>I<FFFFFFFFFF8029
+01808B2A>I E /Fn 40 127 df<E038F078F078F078F078F078F078F078E038E03860300D0B7C
+9816>34 D<FFFF80FFFF80FFFF8011037E8D16>45 D<70F8F8F8700505788416>I<E00000FFFF
+80FFFF80FFFF80E00F00E01E00001C0000380000780000700000E00000E00001C00001C00001C0
+00038000038000038000038000070000070000070000070000070000070000070000111A7E9916
+>55 D<07F0001FFC003FFE007C1F00F00780E00380E00380E003807007007C1F001FFC0007F000
+1FFC003C1E00700700F00780E00380E00380E00380F007807007007C1F003FFE001FFC0007F000
+11197E9816>I<70F8F8F870000000000000000070F8F8F8700512789116>58
+D<000180000780001F80003E0000F80001F00007C0000F80003E0000FC0000F00000FC00003E00
+000F800007C00001F00000F800003E00001F8000078000018011157E9616>60
+D<7FFF00FFFF80FFFF80000000000000000000000000000000FFFF80FFFF807FFF00110B7E9116
+>I<C00000F00000FC00003E00000F800007C00001F00000F800003E00001F80000780001F8000
+3E0000F80001F00007C0000F80003E0000FC0000F00000C0000011157E9616>I<00F80003FC00
+07FE000F07001C3F80387F8078FF8071C3C071C3C0E381C0E381C0E381C0E381C0E381C0E381C0
+E381C071C38071C38078FF00387E001C3C000F03C007FFC003FF0000FC0012197E9816>64
+D<7FE000FFF8007FFC001C1E001C0F001C07001C07001C07001C07001C0F001C1E001FFC001FF8
+001FFC001C1C001C0E001C0E001C0E001C0E001C0E201C0E701C0E707F07E0FF87E07F03C01419
+7F9816>82 D<FFF0FFF0FFF0E000E000E000E000E000E000E000E000E000E000E000E000E000E0
+00E000E000E000E000E000E000E000E000E000E000E000E000FFF0FFF0FFF00C20789C16>91
+D<C00000E00000E000007000007000003800003800001C00001C00000E00000E00000700000700
+0003800003800001C00001C00000E00000E000007000007000003800003800001C00001C00000E
+00000E0000070000070000038000038000018011207E9C16>I<FFF0FFF0FFF000700070007000
+700070007000700070007000700070007000700070007000700070007000700070007000700070
+007000700070FFF0FFF0FFF00C207F9C16>I<1FE0003FF0007FF800783C00300E00000E00000E
+0003FE001FFE003E0E00700E00E00E00E00E00E00E00783E007FFFE03FE7E00F83E013127E9116
+>97 D<7E0000FE00007E00000E00000E00000E00000E00000E3E000EFF000FFF800F83C00F00E0
+0E00E00E00700E00700E00700E00700E00700E00700E00E00F01E00F83C00FFF800EFF00063C00
+1419809816>I<03F80FFC1FFE3C1E780C7000E000E000E000E000E000F000700778073E0E1FFC
+0FF803F010127D9116>I<003F00007F00003F0000070000070000070000070003C7000FF7001F
+FF003C1F00780F00700700E00700E00700E00700E00700E00700E00700700F00700F003C1F001F
+FFE00FE7F007C7E014197F9816>I<03E00FF81FFC3C1E780E7007E007FFFFFFFFFFFFE000E000
+700778073C0F1FFE0FFC03F010127D9116>I<001F00007F8000FF8001E78001C30001C00001C0
+007FFF00FFFF00FFFF0001C00001C00001C00001C00001C00001C00001C00001C00001C00001C0
+0001C00001C0003FFE007FFF003FFE0011197F9816>I<03E3C007F7E00FFFE01C1CC0380E0038
+0E00380E00380E00380E001C1C000FF8001FF0001BE0003800001800001FFC001FFF003FFF8078
+03C0E000E0E000E0E000E0E000E07001C07C07C03FFF800FFE0003F800131C7F9116>I<7E0000
+FE00007E00000E00000E00000E00000E00000E3C000EFE000FFF000F87800F03800E03800E0380
+0E03800E03800E03800E03800E03800E03800E03800E03807FC7F0FFE7F87FC7F01519809816>
+I<018003C003C0018000000000000000007FC07FC07FC001C001C001C001C001C001C001C001C0
+01C001C001C001C07FFFFFFF7FFF101A7D9916>I<7E0000FE00007E00000E00000E00000E0000
+0E00000E7FE00E7FE00E7FE00E0F000E1E000E3C000E78000EF0000FF0000FF8000FBC000F1E00
+0E0E000E07000E07807F87F0FFCFF07F87F01419809816>107 D<FFC000FFC000FFC00001C000
+01C00001C00001C00001C00001C00001C00001C00001C00001C00001C00001C00001C00001C000
+01C00001C00001C00001C00001C000FFFF80FFFF80FFFF8011197E9816>I<F9C380FFEFC0FFFF
+E03C78E03C78E03870E03870E03870E03870E03870E03870E03870E03870E03870E03870E0FE7C
+F8FE7CF8FE3C781512809116>I<7E3C00FEFE007FFF000F87800F03800E03800E03800E03800E
+03800E03800E03800E03800E03800E03800E03807FC7F0FFE7F87FC7F01512809116>I<03E000
+0FF8001FFC003C1E00780F00700700E00380E00380E00380E00380E00380F00780700700780F00
+3C1E001FFC000FF80003E00011127E9116>I<7E3E00FEFF007FFF800F83C00F00E00E00E00E00
+700E00700E00700E00700E00700E00700E00E00F01E00F83C00FFF800EFF000E3C000E00000E00
+000E00000E00000E00000E00007FC000FFE0007FC000141B809116>I<FF0FC0FF3FE0FF7FE007
+F04007C000078000078000070000070000070000070000070000070000070000070000FFFC00FF
+FC00FFFC0013127F9116>114 D<0FEC3FFC7FFCF03CE01CE01C70007F801FF007F8003C600EE0
+0EF00EF81EFFFCFFF8C7E00F127D9116>I<0300000700000700000700000700007FFF00FFFF00
+FFFF00070000070000070000070000070000070000070000070100070380070380070380078700
+03FE0001FC0000F80011177F9616>I<7E1F80FE3F807E1F800E03800E03800E03800E03800E03
+800E03800E03800E03800E03800E03800E03800E0F800FFFF007FBF803E3F01512809116>I<7F
+1FC0FF1FE07F1FC01C07001E0F000E0E000E0E000E0E00071C00071C00071C00071C0003B80003
+B80003B80001F00001F00000E00013127F9116>I<FF1FE0FFBFE0FF1FE0380380380380380380
+38038038E38019F30019F30019B3001DB7001DB7001DB7001DB7000F1E000F1E000F1E0013127F
+9116>I<7F1FC07F3FC07F1FC00F1C00073C0003B80003F00001F00000E00001E00001F00003B8
+00073C00071C000E0E007F1FC0FF3FE07F1FC013127F9116>I<7F1FC0FF9FE07F1FC01C07000E
+07000E0E000E0E00070E00071C00071C00039C00039C0003980001B80001B80000F00000F00000
+F00000E00000E00000E00001C00079C0007BC0007F80003F00003C0000131B7F9116>I<001F80
+007F8000FF8001E00001C00001C00001C00001C00001C00001C00001C00001C00001C00003C000
+7F8000FF0000FF00007F800003C00001C00001C00001C00001C00001C00001C00001C00001C000
+01C00001E00000FF80007F80001F8011207E9C16>123 D<7C0000FF0000FF800003C00001C000
+01C00001C00001C00001C00001C00001C00001C00001C00001E00000FF00007F80007F8000FF00
+01E00001C00001C00001C00001C00001C00001C00001C00001C00001C00003C000FF8000FF0000
+7C000011207E9C16>125 D<1C303F78FFF8F7E061C00D057C9816>I E /Fo
+2 122 df<020002000200C218F2783AE00F800F803AE0F278C2180200020002000D0E7E8E12>3
+D<06000600060006000600060006000600FFF0FFF0060006000600060006000600060006000600
+06000600060006000600060006000600060006000C1D7E9611>121 D E
+/Fp 21 122 df<387CFEFEFE7C3807077C8610>46 D<FFFFFF8000FFFFFFE00007F001F80007F0
+00FC0007F0007E0007F0007E0007F0007F0007F0007F0007F0007F0007F0007F0007F0007F0007
+F0007E0007F000FE0007F000FC0007F003F80007FFFFF00007FFFFF00007F001FC0007F0007E00
+07F0003F0007F0003F8007F0001F8007F0001FC007F0001FC007F0001FC007F0001FC007F0001F
+C007F0001FC007F0003F8007F0003F8007F0007F0007F001FE00FFFFFFF800FFFFFFC00022227E
+A128>66 D<0003FE0080001FFF818000FF01E38001F8003F8003E0001F8007C0000F800F800007
+801F800007803F000003803F000003807F000001807E000001807E00000180FE00000000FE0000
+0000FE00000000FE00000000FE00000000FE00000000FE00000000FE000000007E000000007E00
+0001807F000001803F000001803F000003801F800003000F8000030007C000060003F0000C0001
+F800380000FF00F000001FFFC0000003FE000021227DA128>I<FFFF83FFFEFFFF83FFFE07F000
+1FC007F0001FC007F0001FC007F0001FC007F0001FC007F0001FC007F0001FC007F0001FC007F0
+001FC007F0001FC007F0001FC007F0001FC007F0001FC007FFFFFFC007FFFFFFC007F0001FC007
+F0001FC007F0001FC007F0001FC007F0001FC007F0001FC007F0001FC007F0001FC007F0001FC0
+07F0001FC007F0001FC007F0001FC007F0001FC007F0001FC007F0001FC0FFFF83FFFEFFFF83FF
+FE27227EA12C>72 D<03FFFF03FFFF0007F00007F00007F00007F00007F00007F00007F00007F0
+0007F00007F00007F00007F00007F00007F00007F00007F00007F00007F00007F00007F00007F0
+0007F01807F07E07F0FF07F0FF07F0FF07F0FF07E07E0FE07C1FC01FFF0007F80018227FA11D>
+74 D<FFFF803FFCFFFF803FFC07F000038007F000070007F0000E0007F000180007F000300007
+F000E00007F001C00007F003800007F007000007F00E000007F018000007F038000007F0FC0000
+07F1FE000007F3FE000007F77F000007FE7F800007F83F800007F01FC00007F01FE00007F00FE0
+0007F007F00007F007F80007F003F80007F001FC0007F001FE0007F000FF0007F0007F0007F000
+7F8007F0003FC0FFFF83FFFCFFFF83FFFC26227EA12C>I<FFF8001FFEFFFC001FFE07FC0000C0
+07FE0000C006FF0000C0067F8000C0063FC000C0061FE000C0060FE000C0060FF000C00607F800
+C00603FC00C00601FE00C00600FE00C00600FF00C006007F80C006003FC0C006001FE0C006000F
+F0C0060007F0C0060007F8C0060003FCC0060001FEC0060000FFC00600007FC00600007FC00600
+003FC00600001FC00600000FC006000007C006000003C006000003C0FFF00001C0FFF00000C027
+227EA12C>78 D<07FC001FFF803F07C03F03E03F01E03F01F01E01F00001F00001F0003FF003FD
+F01FC1F03F01F07E01F0FC01F0FC01F0FC01F0FC01F07E02F07E0CF81FF87F07E03F18167E951B
+>97 D<00FF8007FFE00F83F01F03F03E03F07E03F07C01E07C0000FC0000FC0000FC0000FC0000
+FC0000FC00007C00007E00007E00003E00301F00600FC0E007FF8000FE0014167E9519>99
+D<00FE0007FF800F87C01E01E03E01F07C00F07C00F8FC00F8FC00F8FFFFF8FFFFF8FC0000FC00
+00FC00007C00007C00007E00003E00181F00300FC07003FFC000FF0015167E951A>101
+D<003F8000FFC001E3E003C7E007C7E00F87E00F83C00F80000F80000F80000F80000F80000F80
+00FFFC00FFFC000F80000F80000F80000F80000F80000F80000F80000F80000F80000F80000F80
+000F80000F80000F80000F80000F80000F80000F80007FF8007FF80013237FA211>I<FF000000
+FF0000001F0000001F0000001F0000001F0000001F0000001F0000001F0000001F0000001F0000
+001F0000001F0000001F07E0001F1FF8001F307C001F403C001F803E001F803E001F003E001F00
+3E001F003E001F003E001F003E001F003E001F003E001F003E001F003E001F003E001F003E001F
+003E001F003E001F003E00FFE1FFC0FFE1FFC01A237EA21F>104 D<1C003E007F007F007F003E
+001C000000000000000000000000000000FF00FF001F001F001F001F001F001F001F001F001F00
+1F001F001F001F001F001F001F001F001F00FFE0FFE00B247EA310>I<FF000000FF0000001F00
+00001F0000001F0000001F0000001F0000001F0000001F0000001F0000001F0000001F0000001F
+0000001F00FF801F00FF801F0038001F0060001F01C0001F0380001F0700001F0E00001F1C0000
+1F7E00001FFF00001FCF00001F0F80001F07C0001F03E0001F01E0001F01F0001F00F8001F007C
+001F003C00FFE0FFC0FFE0FFC01A237EA21E>107 D<FF00FF001F001F001F001F001F001F001F
+001F001F001F001F001F001F001F001F001F001F001F001F001F001F001F001F001F001F001F00
+1F001F001F001F001F00FFE0FFE00B237EA210>I<FF07E000FF1FF8001F307C001F403C001F80
+3E001F803E001F003E001F003E001F003E001F003E001F003E001F003E001F003E001F003E001F
+003E001F003E001F003E001F003E001F003E001F003E00FFE1FFC0FFE1FFC01A167E951F>110
+D<00FE0007FFC00F83E01E00F03E00F87C007C7C007C7C007CFC007EFC007EFC007EFC007EFC00
+7EFC007EFC007E7C007C7C007C3E00F81F01F00F83E007FFC000FE0017167E951C>I<FE1F00FE
+3FC01E67E01EC7E01E87E01E87E01F83C01F00001F00001F00001F00001F00001F00001F00001F
+00001F00001F00001F00001F00001F0000FFF000FFF00013167E9517>114
+D<0FF3003FFF00781F00600700E00300E00300F00300FC00007FE0007FF8003FFE000FFF0001FF
+00000F80C00780C00380E00380E00380F00700FC0E00EFFC00C7F00011167E9516>I<01800001
+80000180000180000380000380000780000780000F80003F8000FFFF00FFFF000F80000F80000F
+80000F80000F80000F80000F80000F80000F80000F80000F80000F81800F81800F81800F81800F
+81800F830007C30003FE0000F80011207F9F16>I<FFE01FE0FFE01FE00F8006000F8006000FC0
+0E0007C00C0007E01C0003E0180003E0180001F0300001F0300000F8600000F86000007CC00000
+7CC000007FC000003F8000003F8000001F0000001F0000000E0000000E0000000C0000000C0000
+0018000078180000FC380000FC300000FC60000069C000007F8000001F0000001B207F951E>
+121 D E /Fq 8 116 df<FFFFFFFFFFF0FFFFFFFFFFF0FFFFFFFFFFF000FFC0003FF000FFC000
+07F800FFC00003F800FFC00000F800FFC00000F800FFC000007800FFC000007800FFC000003800
+FFC000003800FFC000003800FFC000001C00FFC000001C00FFC007001C00FFC007001C00FFC007
+000000FFC007000000FFC007000000FFC00F000000FFC01F000000FFC03F000000FFFFFF000000
+FFFFFF000000FFFFFF000000FFC03F000000FFC01F000000FFC00F000000FFC007000000FFC007
+000000FFC007000000FFC007000000FFC007000000FFC000000000FFC000000000FFC000000000
+FFC000000000FFC000000000FFC000000000FFC000000000FFC000000000FFC000000000FFC000
+000000FFC000000000FFC0000000FFFFFFF00000FFFFFFF00000FFFFFFF000002E317EB034>70
+D<007FF8000003FFFF000007FFFFC0000FE01FE0001FF007F0001FF003F8001FF003FC001FF001
+FE000FE001FE0007C001FE00010001FE00000001FE00000001FE000001FFFE00003FFFFE0001FF
+F1FE0007FE01FE000FF001FE001FC001FE003F8001FE007F8001FE00FF0001FE00FF0001FE00FF
+0001FE00FF0001FE00FF0003FE007F8003FE007FC00EFE003FF03CFF000FFFF87FF807FFF03FF8
+00FF800FF825207E9F28>97 D<00000007E0000003FFE0000003FFE0000003FFE00000003FE000
+00001FE00000001FE00000001FE00000001FE00000001FE00000001FE00000001FE00000001FE0
+0000001FE00000001FE00000001FE00000001FE00000001FE0000FF81FE0007FFF1FE001FFFFDF
+E003FE03FFE007F800FFE00FE0003FE01FE0001FE03FC0001FE03FC0001FE07F80001FE07F8000
+1FE07F80001FE0FF80001FE0FF80001FE0FF80001FE0FF80001FE0FF80001FE0FF80001FE0FF80
+001FE0FF80001FE07F80001FE07F80001FE07F80001FE03FC0001FE03FC0001FE01FC0003FE00F
+E0007FE007F001FFE003FC07DFF001FFFF9FFF007FFE1FFF000FF01FFF28327DB12E>100
+D<0007FC0000003FFF800000FFFFE00003FC07F00007F801F8000FE000FC001FE0007E003FC000
+7E003FC0003F007FC0003F007F80003F007F80003F80FF80003F80FF80003F80FFFFFFFF80FFFF
+FFFF80FFFFFFFF80FF80000000FF80000000FF800000007F800000007F800000003FC00000003F
+C00003801FC00003801FE00007800FF0000F0007F8001E0003FE00FC0000FFFFF800003FFFE000
+0003FF000021207E9F26>I<01C00007F0000FF8000FF8001FFC001FFC001FFC000FF8000FF800
+07F00001C00000000000000000000000000000000000000000000000000001F800FFF800FFF800
+FFF8000FF80007F80007F80007F80007F80007F80007F80007F80007F80007F80007F80007F800
+07F80007F80007F80007F80007F80007F80007F80007F80007F80007F80007F80007F80007F800
+FFFF80FFFF80FFFF8011337DB217>105 D<03F007F80000FFF03FFF0000FFF07FFF8000FFF0F0
+3FC0000FF1C01FE00007F3000FE00007F6000FF00007FE000FF00007FC000FF00007FC000FF000
+07F8000FF00007F8000FF00007F8000FF00007F8000FF00007F8000FF00007F8000FF00007F800
+0FF00007F8000FF00007F8000FF00007F8000FF00007F8000FF00007F8000FF00007F8000FF000
+07F8000FF00007F8000FF00007F8000FF00007F8000FF00007F8000FF00007F8000FF000FFFFC1
+FFFF80FFFFC1FFFF80FFFFC1FFFF8029207D9F2E>110 D<03F03F00FFF07FC0FFF1FFE0FFF3C7
+F00FF38FF807F70FF807F60FF807FE0FF807FC07F007FC03E007FC008007F8000007F8000007F8
+000007F8000007F8000007F8000007F8000007F8000007F8000007F8000007F8000007F8000007
+F8000007F8000007F8000007F8000007F8000007F80000FFFFE000FFFFE000FFFFE0001D207E9F
+22>114 D<00FF870007FFEF001FFFFF003F007F003C001F0078000F00F8000700F8000700F800
+0700FC000700FF000000FFF800007FFFC0003FFFF0003FFFFC000FFFFE0007FFFF0001FFFF8000
+1FFF800000FFC000001FC060000FC0E00007C0E00007C0F00007C0F8000780F8000F80FE000F00
+FF803E00FFFFFC00F3FFF800C07FC0001A207D9F21>I E /Fr 6 106 df<FFFFFFFFFFFFE00000
+FFFFFFFFFFFFFE0000FFFFFFFFFFFFFFC000FFFFFFFFFFFFFFF000FFFFFFFFFFFFFFF800001FFF
+800001FFFE00001FFF8000007FFF00001FFF8000003FFF80001FFF8000001FFFC0001FFF800000
+0FFFC0001FFF80000007FFE0001FFF80000007FFF0001FFF80000007FFF0001FFF80000003FFF0
+001FFF80000003FFF8001FFF80000003FFF8001FFF80000003FFF8001FFF80000003FFF8001FFF
+80000003FFF8001FFF80000003FFF8001FFF80000003FFF8001FFF80000003FFF8001FFF800000
+03FFF0001FFF80000007FFF0001FFF80000007FFE0001FFF8000000FFFE0001FFF8000000FFFC0
+001FFF8000001FFF80001FFF8000003FFF00001FFF8000007FFE00001FFF800001FFFC00001FFF
+800007FFF000001FFFFFFFFFFFC000001FFFFFFFFFFE0000001FFFFFFFFFFF8000001FFFFFFFFF
+FFF000001FFF800000FFFC00001FFF8000003FFF00001FFF8000000FFFC0001FFF80000007FFE0
+001FFF80000003FFF0001FFF80000003FFF8001FFF80000001FFF8001FFF80000001FFFC001FFF
+80000000FFFC001FFF80000000FFFE001FFF80000000FFFE001FFF80000000FFFE001FFF800000
+00FFFF001FFF800000007FFF001FFF800000007FFF001FFF800000007FFF001FFF800000007FFF
+001FFF80000000FFFF001FFF80000000FFFF001FFF80000000FFFF001FFF80000000FFFE001FFF
+80000000FFFE001FFF80000001FFFE001FFF80000001FFFC001FFF80000003FFFC001FFF800000
+07FFF8001FFF80000007FFF0001FFF8000001FFFE0001FFF8000003FFFE0001FFF800001FFFF80
+FFFFFFFFFFFFFFFF00FFFFFFFFFFFFFFFC00FFFFFFFFFFFFFFF000FFFFFFFFFFFFFFC000FFFFFF
+FFFFFFF8000048477CC654>66 D<FFFFFFFFFFFFFFFE00FFFFFFFFFFFFFFFE00FFFFFFFFFFFFFF
+FE00FFFFFFFFFFFFFFFE00FFFFFFFFFFFFFFFF00001FFFC00001FFFF00001FFFC000001FFF0000
+1FFFC0000007FF00001FFFC0000003FF00001FFFC0000000FF00001FFFC00000007F00001FFFC0
+0000007F00001FFFC00000003F00001FFFC00000003F80001FFFC00000001F80001FFFC0000000
+1F80001FFFC00000001F80001FFFC00000000F80001FFFC00000000F80001FFFC0007C000F8000
+1FFFC0007C000F80001FFFC0007C0007C0001FFFC0007C0007C0001FFFC0007C0007C0001FFFC0
+007C0007C0001FFFC000FC000000001FFFC000FC000000001FFFC000FC000000001FFFC001FC00
+0000001FFFC003FC000000001FFFC01FFC000000001FFFFFFFFC000000001FFFFFFFFC00000000
+1FFFFFFFFC000000001FFFFFFFFC000000001FFFFFFFFC000000001FFFC01FFC000000001FFFC0
+03FC000000001FFFC001FC000000001FFFC000FC000000001FFFC000FC000000001FFFC000FC00
+0000001FFFC0007C00007C001FFFC0007C00007C001FFFC0007C00007C001FFFC0007C0000F800
+1FFFC0007C0000F8001FFFC0007C0000F8001FFFC000000000F8001FFFC000000001F8001FFFC0
+00000001F0001FFFC000000001F0001FFFC000000001F0001FFFC000000003F0001FFFC0000000
+03F0001FFFC000000007F0001FFFC000000007E0001FFFC00000000FE0001FFFC00000001FE000
+1FFFC00000003FE0001FFFC00000007FE0001FFFC0000000FFE0001FFFC0000003FFC0001FFFC0
+00000FFFC0001FFFC00000FFFFC0FFFFFFFFFFFFFFFFC0FFFFFFFFFFFFFFFFC0FFFFFFFFFFFFFF
+FF80FFFFFFFFFFFFFFFF80FFFFFFFFFFFFFFFF8046467CC54E>69 D<3FFFFFFFFFFFFFFFFF003F
+FFFFFFFFFFFFFFFF003FFFFFFFFFFFFFFFFF003FFFFFFFFFFFFFFFFF003FFFFFFFFFFFFFFFFF00
+3FFF0003FFF8003FFF007FF80003FFF80007FF807FE00003FFF80001FF807FC00003FFF80000FF
+807F800003FFF800007F807F000003FFF800003F807F000003FFF800003F807E000003FFF80000
+1F807E000003FFF800001F807E000003FFF800000F807C000003FFF800000F807C000003FFF800
+000F807C000003FFF800000F807C000003FFF800000F80FC000003FFF800000FC0F8000003FFF8
+000007C0F8000003FFF8000007C0F8000003FFF8000007C0F8000003FFF8000007C0F8000003FF
+F8000007C000000003FFF80000000000000003FFF80000000000000003FFF80000000000000003
+FFF80000000000000003FFF80000000000000003FFF80000000000000003FFF800000000000000
+03FFF80000000000000003FFF80000000000000003FFF80000000000000003FFF8000000000000
+0003FFF80000000000000003FFF80000000000000003FFF80000000000000003FFF80000000000
+000003FFF80000000000000003FFF80000000000000003FFF80000000000000003FFF800000000
+00000003FFF80000000000000003FFF80000000000000003FFF80000000000000003FFF8000000
+0000000003FFF80000000000000003FFF80000000000000003FFF80000000000000003FFF80000
+000000000003FFF80000000000000003FFF80000000000000003FFF80000000000000003FFF800
+00000000000003FFF80000000000000003FFF80000000000000003FFF80000000000000003FFF8
+0000000000000003FFF80000000000000003FFF80000000000000003FFF80000000000000003FF
+F80000000000000003FFF8000000000003FFFFFFFFFFF800000003FFFFFFFFFFF800000003FFFF
+FFFFFFF800000003FFFFFFFFFFF800000003FFFFFFFFFFF800004A467CC553>84
+D<7FFFFFFFF801FFFFFFF0007FFFFFFFF801FFFFFFF0007FFFFFFFF801FFFFFFF0007FFFFFFFF8
+01FFFFFFF0007FFFFFFFF801FFFFFFF000000FFFF8000003FF800000000FFFF80000007E000000
+0007FFFC000000FC0000000003FFFE000001F80000000003FFFE000003F80000000001FFFF0000
+03F00000000000FFFF800007E000000000007FFFC0000FC000000000007FFFC0001FC000000000
+003FFFE0001F8000000000001FFFF0003F0000000000001FFFF0007E0000000000000FFFF800FE
+00000000000007FFFC00FC00000000000003FFFC01F800000000000003FFFE03F0000000000000
+01FFFF07F000000000000000FFFF87E000000000000000FFFF8FC0000000000000007FFFDF8000
+0000000000003FFFFF80000000000000003FFFFF00000000000000001FFFFE0000000000000000
+0FFFFC000000000000000007FFFC000000000000000007FFFC000000000000000003FFFE000000
+000000000001FFFF000000000000000001FFFF000000000000000000FFFF800000000000000000
+7FFFC000000000000000003FFFE000000000000000007FFFE000000000000000007FFFF0000000
+0000000000FFFFF80000000000000001FFFFF80000000000000003FFFFFC0000000000000003F3
+FFFE0000000000000007E1FFFE000000000000000FC1FFFF000000000000001FC0FFFF80000000
+0000001F807FFFC00000000000003F007FFFC00000000000007E003FFFE0000000000000FE001F
+FFF0000000000000FC001FFFF0000000000001F8000FFFF8000000000003F00007FFFC00000000
+0007F00003FFFE000000000007E00003FFFE00000000000FC00001FFFF00000000001F800000FF
+FF80000000003F800000FFFF80000000003F0000007FFFC0000000007E0000003FFFE000000000
+FC0000001FFFF000000001FC0000001FFFF000000001F80000000FFFF800000003F000000007FF
+FC00000007E000000007FFFC0000001FFC00000003FFFE0000FFFFFFF80003FFFFFFFF80FFFFFF
+F80003FFFFFFFF80FFFFFFF80003FFFFFFFF80FFFFFFF80003FFFFFFFF80FFFFFFF80003FFFFFF
+FF8051477CC65A>88 D<007FC00000000000FFFFC00000000000FFFFC00000000000FFFFC00000
+000000FFFFC00000000000FFFFC0000000000003FFC0000000000001FFC0000000000001FFC000
+0000000001FFC0000000000001FFC0000000000001FFC0000000000001FFC0000000000001FFC0
+000000000001FFC0000000000001FFC0000000000001FFC0000000000001FFC0000000000001FF
+C0000000000001FFC0000000000001FFC0000000000001FFC0000000000001FFC0000000000001
+FFC0000000000001FFC0000000000001FFC0000000000001FFC00FFC00000001FFC07FFFC00000
+01FFC3FFFFF0000001FFCFFFFFFC000001FFDFF00FFF000001FFFF8003FF800001FFFE0001FFC0
+0001FFF800007FE00001FFF000007FF00001FFE000003FF80001FFE000001FFC0001FFE000001F
+FC0001FFE000001FFE0001FFE000001FFE0001FFE000000FFF0001FFE000000FFF0001FFE00000
+0FFF0001FFE000000FFF0001FFE000000FFF8001FFE000000FFF8001FFE000000FFF8001FFE000
+000FFF8001FFE000000FFF8001FFE000000FFF8001FFE000000FFF8001FFE000000FFF8001FFE0
+00000FFF8001FFE000000FFF8001FFE000000FFF0001FFE000000FFF0001FFE000000FFF0001FF
+E000001FFE0001FFE000001FFE0001FFE000001FFC0001FFE000001FFC0001FFE000003FF80001
+FFF000003FF80001FFF800007FF00001FFFC0000FFE00001FFFE0001FFC00001FFBF0007FF8000
+01FF1FE01FFE000001FE0FFFFFFC000001FC03FFFFF0000001F800FFFF80000001F0001FF80000
+0039487CC742>98 D<00FC0001FE0003FF0007FF800FFFC01FFFE01FFFE01FFFE01FFFE01FFFE0
+1FFFE00FFFC007FF8003FF0001FE0000FC00000000000000000000000000000000000000000000
+000000000000000000000000007FC0FFFFC0FFFFC0FFFFC0FFFFC0FFFFC003FFC001FFC001FFC0
+01FFC001FFC001FFC001FFC001FFC001FFC001FFC001FFC001FFC001FFC001FFC001FFC001FFC0
+01FFC001FFC001FFC001FFC001FFC001FFC001FFC001FFC001FFC001FFC001FFC001FFC001FFC0
+01FFC001FFC001FFC001FFC001FFC001FFC0FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF18497CC820>
+105 D E end
+%%EndProlog
+%%BeginSetup
+%%Feature: *Resolution 300
+TeXDict begin @letter /letter where {pop letter} if
+%%EndSetup
+%%Page: 1 1
+bop 730 337 a Fr(XBibT)1065 360 y(E)1130 337 y(X)763 450 y
+Fq(and)28 b(F)-7 b(riends)757 618 y Fp(Nic)n(k)n(olas)19 b(J.)f(Kelly)1175
+600 y Fo(\003)735 667 y Fn(kilroy@naitc.naitc.)o(com)715 746
+y Fp(Christian)h(H.)f(Bisc)n(hof)1217 728 y Fo(y)768 795 y
+Fn(bischof@mcs.anl.g)o(ov)566 892 y Fm(Mathematics)13 b(and)h(Computer)f
+(Science)i(Division)705 942 y(Argonne)f(National)f(Lab)q(oratory)711
+992 y(Argonne,)h(Illinois)26 b(60439-4801)739 1101 y(Preprin)o(t)15
+b(MCS{P193{1190)135 1203 y Fl(Abstract.)h Fk(The)8 b(XBibT)488
+1210 y(E)508 1203 y(X)i(utilit)o(y)c(pro)o(vides)h(an)h(X)h(Windo)o(w)f(in)o
+(terface)e(for)i(inserting)f(en)o(tries)g(in)o(to)g(a)i(bibliograph)n(y)d
+(database)75 1243 y(in)12 b(BibT)191 1250 y(E)211 1243 y(X)h(format.)18
+b(XBibT)483 1250 y(E)503 1243 y(X)13 b(pro)o(vides)e(a)i(template)d(of)i(the)
+g(required)f(and)h(optional)e(\014elds)i(for)g(eac)o(h)g(en)o(try)f(t)o(yp)q
+(e)h(de\014ned)f(b)o(y)75 1282 y(BibT)149 1289 y(E)169 1282
+y(X.)f(In)f(addition,)f(XBibT)505 1289 y(E)525 1282 y(X)j(accommo)q(d)o(ate)o
+(s)d(t)o(w)o(o)i(additional)d(en)o(tries)h(named)g(\\k)o(eyw)o(ord")g(and)h
+(\\annote")e(for)j(main)o(tainin)o(g)75 1321 y(an)j(annotated)e(bibliograph)o
+(y)m(.)19 b(The)14 b(user)f(en)o(ters)g(the)g(information)e(to)i(b)q(e)h
+(stored)e(in)i(the)f(database;)g(XBibT)1604 1328 y(E)1624 1321
+y(X)h(automaticall)o(y)75 1361 y(inserts)f(the)h(en)o(try)f(in)h(the)g
+(bibliograph)n(y)e(\014le)i(in)g(a)g(format)f(that)g(conforms)f(to)i(BibT)
+1270 1368 y(E)1290 1361 y(X's)h(sp)q(eci\014cation)o(s.)21
+b(W)m(e)15 b(also)f(in)o(tro)q(duce)75 1400 y(t)o(w)o(o)g(related)e
+(utilities,)g Fl(bibpro)q(cess)h Fk(and)g Fl(bibsearc)o(h)p
+Fk(.)21 b(The)14 b(\014rst)f(allo)o(ws)g(one)g(to)g(merge)g(the)g(con)o(ten)o
+(ts)e(of)j(user-de\014ned)c(\014elds)75 1440 y(in)o(to)k(a)g(.bbl)g(\014le)g
+(pro)q(duced)e(b)o(y)i(BibT)599 1447 y(E)618 1440 y(X;)h(the)f(second)f(allo)
+o(ws)h(one)g(to)g(retriev)o(e)f(the)h(L)1276 1436 y Fj(a)1291
+1440 y Fk(T)1310 1450 y(E)1330 1440 y(X)h(k)o(ey)f(of)h(publicatio)o(ns)d
+(that)h(con)o(tain)75 1479 y(user-sp)q(eci\014ed)8 b(k)o(eyw)o(ords.)15
+b(This)d(rep)q(ort)f(con)o(tains)e(a)j(users)f(guide)g(as)g(w)o(ell)h(as)g
+(installation)d(and)i(customizatio)o(n)e(instructions)g(for)75
+1519 y(XBibT)175 1526 y(E)195 1519 y(X,)j Fl(bibpro)q(cess)p
+Fk(,)f(and)f Fl(bibsearc)o(h)p Fk(.)75 1665 y Fi(1)48 b(An)15
+b(Example)g(of)h(Ho)o(w)g(to)f(Use)h(XBibT)875 1674 y(E)899
+1665 y(X)137 1744 y Fm(BibT)224 1753 y(E)247 1744 y(X)11 b(is)f(a)g
+(bibliographical)e(database)i(utilit)o(y)f(describ)q(ed)j(in)e([2)o(].)16
+b(While)10 b(BibT)1428 1753 y(E)1451 1744 y(X)g(pro)o(vides)h(a)f(con)o(v)o
+(enien)o(t)75 1794 y(mec)o(hanism)h(for)i(storing)g(and)g(retrieving)g
+(bibliographic)f(records,)i(it)f(lac)o(ks)g(a)g(con)o(v)o(enien)o(t)g(means)g
+(for)f(en)o(tering)75 1844 y(new)20 b(items.)32 b(The)20 b(user)g(can)f
+(easily)g(mak)o(e)f(mistak)o(es|for)f(example,)i(forgetting)f(the)i(required)
+g(\014elds,)g(the)75 1894 y(double)14 b(quotes,)g(or)g(the)g(commas)e
+(surrounding)i(the)g(information)d(in)i(an)h(en)o(try)m(.)137
+1945 y(XBibT)255 1954 y(E)279 1945 y(X)27 b(minimi)o(zes)12
+b(these)k(errors)f(b)o(y)137 2032 y Fh(\017)21 b Fm(displa)o(ying)12
+b(a)i(template)f(with)g(all)g(the)h(\014elds)h(de\014ned)g(for)e(a)h
+(particular)f(t)o(yp)q(e)i(of)e(bibliographic)f(en)o(try)m(,)137
+2122 y Fh(\017)21 b Fm(making)11 b(sure)k(that)f(information)d(for)j
+(required)g(\014elds)h(is)f(indeed)g(pro)o(vided,)f(and)137
+2211 y Fh(\017)21 b Fm(storing)13 b(the)i(information)c(in)i(a)h(format)e
+(that)i(is)g(guaran)o(teed)g(to)g(b)q(e)g(syn)o(tactially)f(correct.)p
+75 2252 720 2 v 121 2278 a Fg(\003)139 2290 y Fk(P)o(articipan)o(t)c(in)k
+(the)e(Spring)g(1990)g(Science)g(and)h(Engineering)d(Researc)o(h)i(Semester)f
+(Program)h(at)h(Argonne.)17 b(This)c(program)75 2329 y(is)h(co)q(ordinated)d
+(b)o(y)j(the)g(Division)e(of)i(Educational)e(Programs.)22 b(Kelly's)13
+b(curren)o(t)g(address)f(is)j(Nielsen)e(Adv)n(anced)g(Informatio)o(n)75
+2369 y(T)m(ec)o(hnology)c(Cen)o(ter,)i(Banno)q(c)o(kbur)o(n)e(Lak)o(e)i
+(O\016ce)h(Plaza,)e(2201)g(W)m(auk)o(egan)g(Rd.,)h(Ste.)j(S-200,)c(Banno)q(c)
+o(kburn)o(,)f(IL)i(60015.)122 2398 y Fg(y)139 2410 y Fk(The)e(w)o(ork)h(of)g
+(this)f(author)f(w)o(as)i(supp)q(orted)d(b)o(y)j(the)f(Applied)g
+(Mathematical)e(Sciences)g(subprogram)g(of)j(the)f(O\016ce)h(of)g(Energy)75
+2449 y(Researc)o(h,)f(U.)j(S.)g(Departmen)o(t)c(of)j(Energy)m(,)f(under)g
+(Con)o(tract)g(W-31-109-Eng-38)o(.)p eop
+%%Page: 2 2
+bop 566 266 a
+ 12903577 7458719 7038648 18484674 33219788 33614479 startTexFig
+566 266 a
+%%BeginDocument: application.ps
+
+/bitdump % stk: width, height, iscale
+{
+ % read arguments
+ /iscale exch def
+ /height exch def
+ /width exch def
+
+ % scale appropriately
+ width iscale mul height iscale mul scale
+
+ % allocate space for one scanline of input
+ /picstr % picstr holds one scan line
+ width 7 add 8 idiv % width of image in bytes = ceiling(width/8)
+ string
+ def
+
+ % read and dump the image
+ width height 1 [width 0 0 height neg 0 height]
+ { currentfile picstr readhexstring pop }
+ image
+} def
+72 300 div dup scale
+450 1172 translate
+330 191 5 bitdump
+000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+800000000000000000000000000000000000000000000000000000000000000000000000000000000000
+000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+800000000000000000000000000000000000000000000000000000000000000000000000000000000000
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+8ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0fffffffffffffffffffeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabfffffc00
+8e000fffffffffffffffd5555555555555555555555555555555555555555555555555555557fc001c00
+0effefffe3f23fffffffeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabfddddc00
+8e8faffff3f33fbfffffd5555555555555555555555555555555555555555555555555555557fddddc00
+0ec76ffff3ff3f3fffffeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabfddddc00
+8ec6eff11063061c623fd5555555555555555555555555555555555555555555555555555557fc1ddc00
+0ee2eff93333333b327feaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabfdfddc00
+8ef5effc7333333338ffd5555555555555555555555555555555555555555555555555555557fdfddc00
+0ee8effc7333333038ffeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabfdfddc00
+8ed8effc73333323f8ffd5555555555555555555555555555555555555555555555555555557fc01dc00
+0edc6ff933333311b27feaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabfdffdc00
+8ebe2ff114614798623fd5555555555555555555555555555555555555555555555555555557fdffdc00
+0effefffffffffffffffeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabfdffdc00
+8e000fffffffffffffffd5555555555555555555555555555555555555555555555555555557fc001c00
+0fffffffffffffffffffeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabfffffc00
+8ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+800000000000000000000000000000000000000000000000000000000000000000000000000000000000
+000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+800000000000000000000000000000000000000000000000000000000000000000000000000000000000
+000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+8ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+8ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+8ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+8ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+8ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+8ffc000000000000000000000000000000000000000000000000000000000000000000000000000ffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+8ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+8ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+8ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+8ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+8ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+8ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+8ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+8ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+8ffdfffffffffffffffffffffffffee87fbe0feeffffffffffffffffffffffffffffffffffffffeffc00
+0ffdfffffffffffffffffffffffffeedbbbfbfeeffffffffffffffffffffffffffffffffffffffeffc00
+8ffdffffffffffffffffffffffffff5dbfbfbff5ffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffff5db387bc75ffffffffffffffffffffffffffffffffffffffeffc00
+8ffdffffffffffffffffffffffffffbc7bbbbbbbffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffff5dbbbbb835ffffffffffffffffffffffffffffffffffffffeffc00
+8ffdffffffffffffffffffffffffff5dbbbbbbf5ffffffffffffffffffffffffffffffffffffffeffc00
+0ffdfffffffffffffffffffffffffeedbbbbbbaeffffffffffffffffffffffffffffffffffffffeffc00
+8ffdfffffffffffffffffffffffffee87187bc6effffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+8ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+8ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+8ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+8ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+8ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+8ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+8ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+8ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+8ffdffffeefeeffffbfffffffff3ffffffffffffe7fffffffffffffcffffffffffffffffffffffeffc00
+0ffdffffeefeeefffbfffffffffbeffff7efffffdbfffffffffbfffeffdfbfffffffffffffffffeffc00
+8ffdfffff5feeffffbfffffffffbfffff7ffffffdffffffffffffffeffdfffffffffffffffffffeffc00
+0ffdfffff5feece9c31bbfc6187bcf1c61cf1a7fdf1a7f971a7386eef1873a71ffffffffffffffeffc00
+8ffdfffffb82aee6baebbffaebbbeeefb7eee9bf86e9bfabe9bbbaeefedfb9aeffffffffffffffeffc00
+0ffdfffff5feaeeebaeabfc2ebbbeefc37eeebbfdeebffab0bbbbaeef0dfbbaeffffffffffffffeffc00
+8ffdfffff5feaeeebaeabfbaebbbeefbb7eeebbfdeebffaaebbbbaeeeedfbbaeffffffffffffffeffc00
+0ffdffffeefe4eeebaeabfba187beeebb6eeebbfdeebffaaebbb86ceeedbbbb0ffffffffffffffeffc00
+8ffdffffeefeec6ec31d7fc2fbf1c71c39c71bbfdf1bffbb0bb1bf2c70e71bbeffffffffffffffeffc00
+0ffdfffffffffffffffffffefbffffffffffffffffffffffffffbfffffffffeeffffffffffffffeffc00
+8ffdfffffffffffffffffffefbffffffffffffffffffffffffffbffffffffff1ffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+8ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdfffffffffbfffe1fef83fbbfbffbf3fffffffffbffffeffffeffffffffffffffffffffffffeffc00
+8ffdffffffff7bffff6eefeffbbfbfbbfbeffffffffbffffeff7feffffffffffffffffffffffffeffc00
+0ffdffffffff7bffff6fefeffd7fbffbfbfffffffffbffffeff7feffffffffffffffffffffffffeffc00
+8ffdfffffffe1a71ff6ce1ef1d7f87387bcf1c69c61a6eff0c61c61c71c7ffffffffffffffffffeffc00
+0ffdffffffff79aeff1eeeeeeeffbbbbbbeeeba6fae9aefeefb7faefaebbffffffffffffffffffeffc00
+8ffdffffffff7ba0ff6eeeee0d7fbbbbbbeeebafc2ebaefeec37c2ec3383ffffffffffffffffffeffc00
+0ffdffffffff7bafff6eeeeefd7fbbbbbbeeebafbaebacfeebb7baebbdbfffffffffffffffffffeffc00
+8ffdffffffff6baeff6eeeeeebbfbbbbbbeeec2fba1bb2feebb6baebaebbbfffffffffffffffffeffc00
+0ffdffffffff9bb1fe1c61ef1bbf871871c71fafc2fbbeff0c39c21c31c71fffffffffffffffffeffc00
+8ffdfffffffffffffffffffffffffffffffffbbffeffeeffffffffffffffbfffffffffffffffffeffc00
+0ffdfffffffffffffffffffffffffffffffffc7ffefff1ffffffffffffffffffffffffffffffffeffc00
+8ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+8ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+8ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+8ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+8ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+8ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+8ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffc000000000000000000000000000000000000000000000000000000000000000000000000000ffc00
+8ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+8ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+8ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+8ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+8ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+8fffc00000000001ffff0000001ffff000000000000000000007fffc0000000000000007fffffffffc00
+0fff1ffffffffffc7ffc7fffffc7ffc7fffffffffffffffffff1fff1fffffffffffffff1fffffffffc00
+8ffe7fffffffffff3ff9fffffff3ff9ffffffffffffffffffffcffe7fffffffffffffffcfffffffffc00
+0ffeffffffffffffbffbfffffffbffbffffffffffffffffffffeffeffffffffffffffffefffffffffc00
+8ffcffffffffffffbff3fffffffbff3ffffffffffffffffffffeffcffffffffffffffffefffffffffc00
+0ffdfbffffffcfffbff787ffeffbff7c7fffffffffffbffffffeffde0fffbffffffffffefffffffffc00
+8ffdf5ff7effefffbff7dbffeffbff7effffffffffffbbfffffeffdfbfffbffffffffdfefffffffffc00
+0ffdeeff7fffefffbff7dbffeffbff7effffffffffffbffffffeffdfbfffbffffffffdfefffffffffc00
+8ffdeea61cf1ef1fbff7db1c6dfbff7ee9869c71c71c33a71c7effdfbc71a69c61c6987efffffffffc00
+0ffdee9b7eeeeeefbff7c6ebabfbff7ee6ba6baebaebbb9aebbeffdfbbae9a6baeba6dfefffffffffc00
+8ffde0bf7eefee0fbff7daeba7fbff7eeebafbaf820bbbbaecfeffdfb82fbaf82ebafdfefffffffffc00
+0ffdeebf7eefeeffbff7daebabfbff7eeebafbafbefbbbbaef7effdfbbefbafbeebafdfefffffffffc00
+8ffdeebf6eeeeeefbff7daebadfbff7eee86fbaebaebbbbb0bbeffdfbbaebafba1bafdbefffffffffc00
+0ffdeebf9c71c71fbff7871c6efbff7c6ebefc71c71c31bbec7effdfbc71bafc6fc6fe7efffffffffc00
+8ffdffffffffffffbff7fffffffbff7fffbffffffffffffeeffeffdfffffffffeffffffefffffffffc00
+0ffcffffffffffffbff3fffffffbff3fffbfffffffffffff1ffeffcfffffffffeffffffefffffffffc00
+8ffeffffffffffffbffbfffffffbffbffffffffffffffffffffeffeffffffffffffffffefffffffffc00
+0ffe7fffffffffff3ff9fffffff3ff9ffffffffffffffffffffcffe7fffffffffffffffcfffffffffc00
+8fff0000000000007ffc00000007ffc000000000000000000001fff00000000000000001fffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+8ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+8ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+8ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+8ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+8ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0fffc0000000007fffc00000000000001ffff0000001fffffffffffffffffffffffffffffffffffffc00
+8fff1fffffffff1fff1fffffffffffffc7ffc7fffffc7ffffffffffffffffffffffffffffffffffffc00
+0ffe7fffffffffcffe7ffffffffffffff3ff9fffffff3ffffffffffffffffffffffffffffffffffffc00
+8ffeffffffffffeffefffffffffffffffbffbfffffffbffffffffffffffffffffffffffffffffffffc00
+0ffcffffffffffeffcfffffffffffffffbff3fffffffbffffffffffffffffffffffffffffffffffffc00
+8ffdf1feffffffeffdf1cfffe1fffffefbff7c6ec60fbffffffffffffffffffffffffffffffffffffc00
+0ffdeedeffffffeffdeeefbff6fffffefbff7baeefbfbffffffffffffffffffffffffffffffffffffc00
+8ffdeedeffffffeffdefeffff6fffffefbff7baeefbfbffffffffffffffffffffffffffffffffffffc00
+0ffdee869c69c7effdefef3876c71a70fbff7baeefbfbffffffffffffffffffffffffffffffffffffc00
+8ffdeede6ba6bbeffdefefbbb1bbe9aefbff7baeefbfbffffffffffffffffffffffffffffffffffffc00
+0ffdeedee82fcfeffdefefbbb6bb0beefbff7baeefbfbffffffffffffffffffffffffffffffffffffc00
+8ffdeedeebeff7effdefefbbb6baebeefbff7baeefbfbffffffffffffffffffffffffffffffffffffc00
+0ffdeedaebafbbeffdeeefb876baebeefbff7aaeefbfbffffffffffffffffffffffffffffffffffffc00
+8ffdf1e6ec6fc7effdf1c71be1c70bf0fbff7c71c7bfbffffffffffffffffffffffffffffffffffffc00
+0ffdffffffffffeffdfffffbfffffffffbff7fbfffffbffffffffffffffffffffffffffffffffffffc00
+8ffcffffffffffeffcfffffbfffffffffbff3fffffffbffffffffffffffffffffffffffffffffffffc00
+0ffeffffffffffeffefffffffffffffffbffbfffffffbffffffffffffffffffffffffffffffffffffc00
+8ffe7fffffffffcffe7ffffffffffffff3ff9fffffff3ffffffffffffffffffffffffffffffffffffc00
+0fff00000000001fff0000000000000007ffc00000007ffffffffffffffffffffffffffffffffffffc00
+8ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+8ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+8ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+8ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+8ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+800000000000000000000000000000000000000000000000000000000000000000000000000000000000
+000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+800000000000000000000000000000000000000000000000000000000000000000000000000000000000
+000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+
+showpage
+%%EndDocument
+ 566 266 a
+ endTexFig
+697 829 a Fm(Figure)14 b(1:)j(Application)c(Windo)o(w)137 973
+y(T)m(o)k(demonstrate)h(the)h(con)o(v)o(enience)g(pro)o(vided)f(b)o(y)f
+(XBibT)1105 982 y(E)1128 973 y(X,)h(let)g(us)g(go)g(through)f(an)h(example.)
+29 b(W)m(e'll)75 1022 y(assume)13 b(that)h(XBibT)426 1031 y(E)449
+1022 y(X)g(has)g(b)q(een)h(prop)q(erly)f(installed)f(\(see)i(Section)f(4\).)k
+(Start)c(it)f(up)h(b)o(y)f(t)o(yping)g(\\xbibtex.")137 1078
+y(The)j Fi(Application)e(Windo)o(w)h Fm(in)g(Figure)h(1)f(will)f(app)q(ear.)
+24 b(This)15 b(windo)o(w)g(con)o(tains)g(a)h(men)o(u)e(of)h(options)75
+1127 y(whic)o(h)f(the)g(user)h(ma)o(y)d(select)j(b)o(y)f(pressing)h(the)f
+(left)g(mouse)f(button)h(o)o(v)o(er)g(the)g(appropriate)g(option.)137
+1183 y(The)j Ff(A)o(rticle)p Fm(,)f Ff(Bo)n(ok)p Fm(,)h Ff(Inpr)n(o)n(c)n(e)n
+(e)n(dings)p Fm(,)g(and)g Ff(T)m(e)n(chr)n(ep)n(ort)e Fm(buttons)i(are)g
+(bibliograph)o(y)e(en)o(try)i(t)o(yp)q(es)h(de\014ned)75 1232
+y(b)o(y)e(BibT)222 1241 y(E)245 1232 y(X.)g(A)h(men)o(u)e(con)o(taining)h
+(the)h(other)g(\(in)f(our)g(exp)q(erience,)j(less)e(common\))d(en)o(try)j(t)o
+(yp)q(es)g(kno)o(wn)f(to)75 1282 y(XBibT)193 1291 y(E)216 1282
+y(X)e(p)q(ops)g(up)g(when)h(the)f(user)h(presses)h(the)f Ff(Others)e
+Fm(button.)137 1337 y(Let)e(us)h(assume)e(that)h(y)o(ou)f(wish)g(to)h(en)o
+(ter)h(an)e(article)h(in)o(to)f(y)o(our)h(bibliograph)o(y)d(database.)18
+b(Press)12 b(the)f Ff(A)o(rticle)75 1387 y Fm(button.)18 b(The)13
+b(Article)h Fi(En)o(try)g(Windo)o(w)e Fm(displa)o(y)o(ed)g(in)h(Figure)g(2)g
+(will)e(p)q(op)i(up,)g(but)h(with)e(empt)o(y)g(text)i(\014elds.)75
+1437 y(Y)m(ou)g(ma)o(y)f(notice)i(that)g(all)e(of)h(the)h(buttons)h(in)e(the)
+h Fi(Application)e(Windo)o(w)g Fm(ha)o(v)o(e)i(b)q(een)h(gra)o(y)o(ed)e
+(except)i(for)75 1487 y(the)e Ff(ClipBo)n(ar)n(d)26 b Fm(button.)19
+b(This)13 b(\\grey-out")g(protects)i(y)o(ou)e(from)f(exiting)h(the)h
+(application)e(while)h(en)o(tering)h(an)75 1537 y(en)o(try)m(.)k(\(The)d
+Ff(ClipBo)n(ar)n(d)27 b Fm(is)13 b(discussed)j(in)d(Section)i(2.\))137
+1592 y(There)j(are)e(t)o(w)o(o)g(kinds)g(of)f(\014elds:)23
+b(\\required")17 b(and)f(\\optional")e(\014elds.)25 b(The)17
+b(\\required")g(\014elds)f(m)o(ust)f(b)q(e)75 1642 y(\014lled)10
+b(in)h(for)f(XBibT)397 1650 y(E)420 1642 y(X)h(not)g(to)g(complain.)j(F)m(or)
+d(example,)e(let)i(us)h(assume)e(that)h(the)g(author)g(is)g(Ronald)e(Reagan;)
+75 1691 y(the)14 b(title)f(of)f(the)i(article)f(is)h(\\It)f(nev)o(er)h(rains)
+f(in)g(Southern)h(California";)c(the)k(date)g(of)e(publication)g(is)h(1987;)f
+(the)75 1741 y(page)f(range)h(is)f(33{44;)g(and)g(the)h(v)o(olume,)e(issue,)i
+(and)f(journal)g(title)g(are)h(V)m(ol.)k(1,)11 b(No.)17 b(3,)11
+b Ff(Sunny)j(Side)f(Up.)k Fm(Then)75 1791 y(y)o(ou)12 b(w)o(ould)f(en)o(ter)j
+(the)e(text)h(as)g(displa)o(y)o(ed)e(in)h(Figure)g(2.)17 b(Note)c(that)f(y)o
+(ou)g(do)g(not)g(t)o(yp)q(e)h(the)g(double)f(quotes)h(that)75
+1841 y(surround)i(information)c(in)i(BibT)611 1850 y(E)634
+1841 y(X)h(en)o(tries.)19 b(XBibT)946 1850 y(E)970 1841 y(X)14
+b(will)e(automatically)f(generate)k(those.)137 1896 y(In)j(addition,)e(y)o
+(ou)h(no)o(w)g(m)o(ust)g(sp)q(ecify)h(a)f(\\k)o(ey";)h(w)o(e'll)f(en)o(ter)h
+(\\Ronnie87.")27 b(Y)m(ou)17 b(also)g(ha)o(v)o(e)g(to)g(sp)q(ecify)75
+1946 y(a)h(directory)g(where)i(y)o(our)d(database)i(\(.bib\))e(\014les)i(are)
+f(k)o(ept.)31 b(The)18 b(path)g(can)g(b)q(e)h(an)f(absolute)g(path)g(or)g
+(can)75 1996 y(b)q(e)f(relativ)o(e)f(to)g(the)h(directory)g(from)e(whic)o(h)h
+(XBibT)930 2004 y(E)953 1996 y(X)g(w)o(as)h(started.)26 b(The)17
+b(path)f(en)o(tered)i(is)e(not)g(expanded)75 2045 y(b)o(y)f(the)i(shell,)e
+(so)h(the)g(tilde)f(\()p Fn(~)p Fm(\))h(notation)f(do)q(es)h(not)g(w)o(ork,)f
+(for)g(example,)g(to)g(sp)q(ecify)h(y)o(our)g(home)e(directory)m(.)75
+2095 y(Since)i(database)f(\014les)g(are)h(usually)e(k)o(ept)i(in)e(one)h
+(directory)m(,)h(y)o(ou)e(can)i(set)g(the)f(en)o(vironmen)o(t)f(v)n(ariable)g
+(XBIB-)75 2145 y(TEX)p 166 2145 13 2 v 15 w(D)o(A)m(T)m(ABASE)p
+409 2145 V 15 w(P)m(A)m(TH)e(to)g(sp)q(ecify)h(this)g(path)f(so)g(it)g(need)i
+(not)e(b)q(e)h(reen)o(tered)i(ev)o(ery)e(time)e(\(see)j(Section)f(2\).)137
+2200 y(When)i(all)e(the)j(information)11 b(has)k(b)q(een)h(en)o(tered,)g
+(press)g(the)f Ff(Save)g Fm(button.)21 b(The)15 b Fi(Article)f(Windo)o(w)f
+Fm(will)75 2250 y(disapp)q(ear,)f(and)f(the)h Fi(Con\014rmation)f(Windo)o(w)f
+Fm(\(see)j(Figure)e(3\))h(will)e(app)q(ear)h(since)i(the)f(database)g(\014le)
+f Fn(r.bib)75 2300 y Fm(do)q(es)h(not)f(y)o(et)h(exist.)18
+b(Up)q(on)11 b(con\014rmation,)f(the)i Fi(Message)h(Windo)o(w)d
+Fm(\(see)i(Figure)g(4\))f(will)f(b)q(e)i(displa)o(y)o(ed.)17
+b(The)75 2350 y Fi(Message)e(Windo)o(w)c Fm(iden)o(ti\014es)j(the)g(k)o(ey)f
+(that)g(y)o(ou)f(should)h(use)h(from)d(no)o(w)i(on)g(in)g(a)f(L)1468
+2345 y Fe(a)1487 2350 y Fm(T)1510 2362 y(E)1534 2350 y(X)h
+Fn(\\cite)f Fm(command)75 2399 y(to)e(refer)i(to)e(this)g(en)o(try)m(.)17
+b(Y)m(ou)10 b(will)f(notice)h(that)h(the)g(L)900 2394 y Fe(a)919
+2399 y Fm(T)942 2412 y(E)965 2399 y(X)f(k)o(ey)h(is)f(not)g(the)h(same)f(as)g
+(the)h(XBibT)1588 2408 y(E)1611 2399 y(X)g(k)o(ey)f(that)g(y)o(ou)75
+2449 y(en)o(tered|the)17 b(L)333 2444 y Fe(a)352 2449 y Fm(T)375
+2462 y(E)399 2449 y(X)e(k)o(ey)h(is)f(the)h(XBibT)756 2458
+y(E)779 2449 y(X)g(k)o(ey)f(with)g(an)g(\\)p Ff(a)p Fm(")g(app)q(ended)i(to)e
+(it.)22 b(XBibT)1557 2458 y(E)1581 2449 y(X)15 b(automatically)965
+2574 y(2)p eop
+%%Page: 3 3
+bop 488 325 a
+ 15383599 20511477 7564902 9472573 32561971 42560798 startTexFig
+488 325 a
+%%BeginDocument: article.ps
+
+/bitdump % stk: width, height, iscale
+{
+ % read arguments
+ /iscale exch def
+ /height exch def
+ /width exch def
+
+ % scale appropriately
+ width iscale mul height iscale mul scale
+
+ % allocate space for one scanline of input
+ /picstr % picstr holds one scan line
+ width 7 add 8 idiv % width of image in bytes = ceiling(width/8)
+ string
+ def
+
+ % read and dump the image
+ width height 1 [width 0 0 height neg 0 height]
+ { currentfile picstr readhexstring pop }
+ image
+} def
+72 300 div dup scale
+483 604 translate
+528 697 3 bitdump
+000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fffffffffffffffffffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaffffff0
+0e000fffffffffffffff555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555ff00070
+0effefff3fffcff1ffffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaff77770
+0e8fafff3ffdcff9ffff555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555ff77770
+0ec76ffe1ff9fff9ffffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaff77770
+0ec6effe9c808e39e3ff555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555ff07770
+0ee2effcce49cd99d9ffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaff7f770
+0ef5effdce79c99999ff555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555ff7f770
+0ee8effc0e79c9f981ffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaff7f770
+0ed8eff9e67949f99fff555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555ff00770
+0edc6ffbe678c8d98dffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaff7ff70
+0ebe2ff1c03c8430c3ff555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555ff7ff70
+0effefffffffffffffffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaff7ff70
+0e000fffffffffffffff555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555ff00070
+0fffffffffffffffffffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001ffffffffffffff0
+0ffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff0
+0ffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff0
+0ffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff0
+0fffddfffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff0
+0fffddfffffffffd87fffffffc60ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff0
+0fffdbfffdfffffdbbffffeffbbeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff0
+0fffd78dd8fffffdbbfffffffbbdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff0
+0fffcf75ddfffffdbb1a69cf1bbdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff0
+0fffd705dffffffd86e9a6eeec7bffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff0
+0fffdb7d9ffffffdaeebaeee0bbbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff0
+0fffdd765dfffffdb6ebaeeefbb7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff0
+0fffdd8fd8fffffdbaebaeeeebb7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff0
+0ffffffdddfffffdbb1baec71c77ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff0
+0ffffffe3ffffffdffffffffffff3fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff0
+0ffffffffffffffdfffffffffffe1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff0
+0ffffffffffffffdfffffffffffccfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff0
+0ffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff0
+0ffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff0
+0ffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff0
+0ffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff0
+0ffffffffffffffc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001ffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fffffffffffffffffffffffc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003ffffffffff0
+0fffffffffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffffffffff0
+0fffffffffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffffffffff0
+0fffffffffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffffffffff0
+0fffc3ffffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffffffffff0
+0fffeddfffffbfffffffffffdfaeffffbfffffefffeffffffbffc7ebfffffbffe7efffffebffbfffffffffffffffffffffffffffffffffffffffffffbffffffffff0
+0fffedffffffbfffffdfffffdfa6ff7fbfffffefffeffffffbffbbebfbfffbffdbedffffebfbbf7fffffffffffffffffffffffffffffffffffffffffbffffffffff0
+0fffed9d38e30e34dd8fffffdf66ff7f7fffffefffdffffffbffbbdbfffffbffdfddffffdbffbf7fffffffffffffffffffffffffffffffffffffffffbffffffffff0
+0fffeddcd75dbdd35ddfffffdf6ac61f71871a6dbbdc61c69b6efbd873c71a71dfd871bbd873861c6effffffffffffffffffffffffffffffffffffffbffffffffff0
+0fffedddf05fbdd7ddffffffdeeabb7eeebbe9abbbbbaefa6aeef7bbbbbae9ae87bdeed7bbbbbb7bb5ffffffffffffffffffffffffffffffffffffffbffffffffff0
+0fffedddf7dfbdd7d9ffffffddec837df3bb0be7bb7ceec2f9eeef7bbbcefbaedf7de0ef7bbbbb783bffffffffffffffffffffffffffffffffffffffbffffffffff0
+0fffedddf75db5d7e5dfffffddecbf7dfdbaebebb37f6ebafaecdf7bbbf6fbaedf7defef7bbbbb7bfbffffffffffffffffffffffffffffffffffffffbffffffffff0
+0fffc38df8e3ce37fd8fffffdbeebb6bee86ebedcafba1bafb72befbbbbaebaedefdaed6fbbbbb6bb5ffffffffffffffffffffffffffffffffffffffbffffffffff0
+0fffffffffffffffdddfffffdbeec79bf1bf0beefafc6fc2fbbe82f871c71bb1defe71baf871879c6effffffffffffffffffffffffffffffffffffffbffffffffff0
+0fffffffffffffffe3ffffffd3ffffffffbfffffbbffefffffeeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffffffffff0
+0fffffffffffffffffffffffc1ffffffffbfffffc7ffeffffff1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffffffffff0
+0fffffffffffffffffffffffccffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffffffffff0
+0fffffffffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffffffffff0
+0fffffffffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffffffffff0
+0fffffffffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffffffffff0
+0fffffffffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffffffffff0
+0fffffffffffffffffffffffc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003ffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fffc00000001ffff000000007fffc0000007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fff1fffffffc7ffc7fffffff1fff1ffffff1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffe7ffffffff3ff9ffffffffcffe7ffffffcffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffefffffffffbffbffffffffeffefffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffcfffffffffbff3ffffffffeffcfffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffdf1cffffffbff7eeffffffeffdf1fffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffdeeeffffffbff7d6ffffdfeffdeefffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffdefeffffffbff7baffffdfeffdeffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffdefef1c69fbff7ba1c6987effdefc6ec7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffdefeeefa6fbff7baeba6dfeffdf1faebbeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffdefee0c2ffbff782ebafdfeffdfec2e83effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffdefeefbaffbff7baebafdfeffdfebb5bfeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffdeeeeebaffbff7baebafdbeffdeebb5bbeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffdf1c71c2ffbff7ba1c6fe7effdf1c3bc7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffdfffffffffbff7ffffffffeffdfffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffcfffffffffbff3ffffffffeffcfffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffefffffffffbffbffffffffeffefffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffe7ffffffff3ff9ffffffffcffe7ffffffcffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fff0000000007ffc000000001fff00000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fffffffffffffffffffffffffff0ffffffffffdfc3fdf9fffffffffdffff07ffe7f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fffffffffffffffffffffffffff77ffffdffffdfedddfdf7fffffffdffff7f7ff7f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fffffffffffffffffffffffffff77fffffffffdfedfdfdfffffffffdffff7ffff7f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fffffffffffffffffffffffffff76385d9d38e1fed9c3de78e34e30d377f7e78f7863fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fffffffffffffffffffffffffff0dd75ddcd75dfe3ddddf775d37d74d77f0f777775dfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fffffffffffffffffffffffffff5c175dddf05dfedddddf775d7e175d77f7f7077767fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fffffffffffffffffffffffffff6df75dddf7ddfedddddf775d7dd75d67f7f77f777bfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fffffffffffffffffffffffffff75d859ddf75dfedddddf77617dd0dd97f7f777775dfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fffffffffffffffffffffffffff763f658df8e1fc38c38e38fd7e17ddf7f7e38e3863fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fffffffffffffffffffffffffffffff7fffffffffffffffffddfff7ff77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fffffffffffffffffffffffffffffff7fffffffffffffffffe3fff7ff8ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fffffffffffffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003ffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0ffff7fff7ffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffebfef7ffffffffff61fffff3fbf87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffddfef7ffff7fffff6efffffbfbfbbfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffdd7434e34e3fffff6efffffbfbfbbfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffdd76f35d377fffff6ec69c7bc3fbb1c71c69ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffc176f75d7fffffff61ba6fbbbbf86efaefa6ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffdd76f75d7fffffff6bbaec3bbbfae0c2ec2effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffdd66d75d7f7fffff6dbaebbbbbfb6fbaebaeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffdd9737637e3fffff6ebaebbbbbfbaebb0baeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffff7fffff6ec6ec31c3fbb1c3ec2effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7ffffffffffffffeefff3fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffff1ffe1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7ffffffffffffffffffccfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003ffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fffffffffffffffffc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001ffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffc1fff9ffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0ffff7defdffffffffdc7fffffffffffffffffffffffffc7ffffbfffffff1ff3ff9fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0ffff7fefdffdfffffdef7ffffffffffffffbfffffbfffbbfff7bffffffeeffbef6fffffbfffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0ffff79c3de38fffffdef7ffffffffffffffffffffffffbffff7bffffffefffbff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0ffff7defddddfffffdee1fe9c6ec69fe9c73a71ff3a7fbf1ba1a71a69fefc7bcf7c69a73c7fffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0ffff7defdc1ffffffdef7fe6baeba6fe6fbb9aeffb9bfc6ebb79ae9a6feffbbee1ba69bbfbfffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0ffff7defddfffffffdef7fee82e82ffefc3bbb3ffbbbffaebb7ba0beefefc3bef7bafbbbc3fffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0ffff7dedddddfffffdef7feebf5beffefbbbbbdffbbbffaebb7bafbeefefbbbef7bafbbbbbfffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0ffff78f38e38fffffdef6feebb5baffefbbbbaeffbbbfbaeb36baebeefeebbbef7bafbbbbbfffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffdfffffdc79feec7bc6ffefc31bb1ff1bbfc71cb9bb1beeff1c31c77c6fbb1c3fffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffcfffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffff87ffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffff33ffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001ffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007ffff0
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffff1fffffffe7ffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffffbffffffff7ffffffdc7fffffffc7ffbffeeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffffbffffffff7dfffffdbbfffffffbbbfbffeeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffffb8dd4d38f78fffffdbffffffffbfffbffeeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffffb75d34df77dfffffdbeea69bbfbf3c31fee87ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffffb75d7dd877ffffffdc6e9a6bbfc7bbaefeebbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffffb75d7dd777ffffffdfaebaebbffbbba0feebbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0fffdb7597dd777dfffffdfaebaeb3ffbbbaffeebbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0fffe78e57dd8638fffffdbacbaecbfbbbbaefee87ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffffffffffffffdfffffdc72baefbfc71c31ff1bfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffffffffffffffffffffdffffffbbffffffffffbcffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffffffffffffffffffffdffffffc7ffffffffffb87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffffffffffffffffffffdfffffffffffffffffff33fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff0
+0ffffffffffffffffffffc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007ffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0fffddfffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0fffddfffffffffff7bc7183ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0fffebfffff7fffff73baefbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0fffeb8e34e3fffff6bbaef7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffff777d377fffff7bbaef7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffff70617fffffff7bc31efffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffff77dd7fffffff7bfaeefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffff775d7f7fffff7bfaedfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffff78e17e3fffff7bbaedfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffff7fffff60c71dfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7fffffcffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7fffff87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7fffff33fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fffffffffffffffffffffffffff8fffffffffe7fc3fdf9fffffffffdffff07ffe7f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fffffffffffffffffffffffffff77fbf7fffff7fedddfdf7fffffffdffff7f7ff7f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fffffffffffffffffffffffffff77fbfffffff7fedfdfdfffffffffdffff7ffff7f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fffffffffffffffffffffffffff7430e78d38f7fed9c3de78e34e30d377f7e78f7863fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fffffffffffffffffffffffffff75dbf774df77fe3ddddf775d37d74d77f0f777775dfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fffffffffffffffffffffffffff75dbf775d877fedddddf775d7e175d77f7f7077767fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fffffffffffffffffffffffffff75dbf775d777fedddddf775d7dd75d67f7f77f777bfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fffffffffffffffffffffffffff743b7775d777fedddddf77617dd0dd97f7f777775dfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fffffffffffffffffffffffffff8dfce38dd863fc38c38e38fd7e17ddf7f7e38e3863fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffdffffffffffffffffffffddfff7ff77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffdffffffffffffffffffffe3fff7ff8ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fffffffffffffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003ffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffddfe7fffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffddff7fffffffffff7bffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffddff7fffff7fffff73ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffdd8f774b8e3fffff6bffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffeb777755777fffff7bffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffeb77775507ffffff7bffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffeb7777557fffffff7bffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0ffff7777655777fffff7bffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0ffff78e395d8e3fffff7bffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffff7fffff60ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7f3fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7e1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7ccfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003ffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fffffffffffffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003ffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffddfff7ffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffcdfff7ffffffffff60ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffcdfff7ffff7fffff7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffd574b0e34e3fffff7dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffd575575d377fffff7bffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffd97557417fffffff71ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffd975575f7fffffff7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffdd65575d7f7fffff7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffdd95d0e37e3fffff6effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffff7fffff71ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7f3fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7e1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7ccfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff0
+0fffffffffffffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003ffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fffffffffffffffffc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001ffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffc3ffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffddffffffffffffd820ffdf7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffddffffffdfffffdfbeffdf7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffdd8e38e38fffffdf7dff9e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffc3f5d75ddfffffdefbff5d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffdf85d067ffffffdc71835d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffdf75d7fbffffffdfbefedb7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffdf76175ddfffffdfbefe083fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffdf87d8e38fffffdbaeffdf7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0ffffffddfffdfffffdc71ffdf7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0ffffffe3fffffffffdfffffffcfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffff87ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffff33ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001ffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fffffffffffffffffc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001ffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffddffffdfffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffddfffbdfffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffc9fffbdfdfffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffd58d30d38fffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffd574dbcddfffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffdd75dbddffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffdd75dbddffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffdd75db5ddfffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffdd8ddcdd8fffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffdfffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffd3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffc1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffccffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff0
+0fffffffffffffffffc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001ffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0fffddfffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0fffcdfefffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0fffcdfefff7fffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0fffd58c38e3fffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0fffd576f777fffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0fffd976f07ffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0fffd976f7fffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0fffdd76d777fffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0fffdd8f38e3fffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffff7fffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff4ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff33fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff0
+0ffffffffffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fffc0000000000007fffc0000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fff1ffffffffffff1fff1fffffffff1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffe7ffffffffffffcffe7fffffffffcfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffefffffffffffffeffeffffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffcfffffffffffffeffcffffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffdeeffffffffeffeffdfbffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffdeeffffffffeffeffdf5fffff7ffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffdedffffffffeffeffdeefffff7ffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffdebc6ebb1a70c7effdeea69c61c7efffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffde7baebae9aebbeffdee9a6bb7bbefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffdeb82eaaebeecfeffde0baebb783efffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffdedbecaaebeef7effdeebaebb7bfefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffdeebb2aaebeebbeffdeebaebb6bbefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffdeec7ed71bf0c7effdeebaec79c7efffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffdfffeeffffffffeffdffffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffcffff1ffffffffeffcffffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffefffffffffffffeffeffffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffe7ffffffffffffcffe7fffffffffcfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0fff00000000000001fff00000000001fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0
+000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+
+showpage
+%%EndDocument
+ 488 325 a
+ endTexFig
+621 1716 a Fm(Figure)14 b(2:)k(En)o(try)c(Windo)o(w)f(for)h(an)f
+Ff(A)o(rticle)378 1877 y
+ 18861221 6526379 7564902 21707980 32693534 30391173 startTexFig
+378 1877 a
+%%BeginDocument: confirmation.ps
+
+/bitdump % stk: width, height, iscale
+{
+ % read arguments
+ /iscale exch def
+ /height exch def
+ /width exch def
+
+ % scale appropriately
+ width iscale mul height iscale mul scale
+
+ % allocate space for one scanline of input
+ /picstr % picstr holds one scan line
+ width 7 add 8 idiv % width of image in bytes = ceiling(width/8)
+ string
+ def
+
+ % read and dump the image
+ width height 1 [width 0 0 height neg 0 height]
+ { currentfile picstr readhexstring pop }
+ image
+} def
+72 300 div dup scale
+480 1377 translate
+530 182 3 bitdump
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0fffffffffffffffffffffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabfffffc00
+0e000fffffffffffffffff55555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555557fc001c00
+0effeffe17fffe27ffffffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabfddddc00
+0e8faffce7fffca7ffffff55555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555557fddddc00
+0ec76ff9f7fffcffffffffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabfddddc00
+0ec6eff9f61898448133ff55555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555557fc1ddc00
+0ee2eff9fccc4ce64889ffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabfdfddc00
+0ef5eff9fccccce67999ff55555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555557fdfddc00
+0ee8eff9fccccce67999ffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabfdfddc00
+0ed8eff9f4cccce67999ff55555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555557fc01dc00
+0edc6ffce4cccce67999ffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabfdffdc00
+0ebe2ffe0e18c0403088ff55555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555557fdffdc00
+0effefffffffffffffffffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabfdffdc00
+0e000fffffffffffffffff55555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555557fc001c00
+0fffffffffffffffffffffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabfffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffbbb86ec6ec7bffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffbb5ba6ee6bbbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffbaeba6ee6bfbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffbaebaaeeabfbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffaae86aeeabfbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffaa0aeceecb3bffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffaaeb6ceecbbbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffff92ebaeeeebbfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffbaebaec6ec7bffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdfffc7fff3fbfffffffe7fffeffeffffefffffffe7fcfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdfffbbfffbfbffffdffdbbffeffeff7fefffffffdbbefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdfffbffffbfbffffdffdffffeffeff7fefffffffdffeffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdfffbf1bbbc3fa7187fdf3a70ff0c61c61c71c7fdf3ef1c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdfffbeebbbbbf9aedff87b9aefeefb7faefaebbf87beeeeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdfffbeebbbbbfbaedffdfbbaefeec37c2ec3383fdfbee0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdfffbeebbbbbfbaedffdfbbaefeebb7baebbdbffdfbeeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdfffbaeb3bbbfbaedbfdfbbaefeebb6baebaebbfdfbeeeeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdfffc71cb1c3fbb1e7fdf1bb0ff0c39c21c31c7fdf1c71c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdfffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdfffffebbfffeffffffbfffbfffffefff1fafffffefff9fbfffffaffeffffffefffbffbffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdfffffe9bfdfeffffffbfffbfffffeffeefafefffefff6fb7ffffafeefdffffefffbfbbffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdfffffd9bfdfdffffffbfff7fffffeffeef6fffffefff7f77ffff6ffefdffffdfffbffbffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdfffffdab187dc61c69b6ef71871a6dbbef61cf1c69c77f61c6ef61ce1871bbda7f87387fffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdfffffbaaedfbbaefa6aeeeeebbe9abbbdeeeeeeba6ba1ef7bb5eeeeeedeed7b9bfbbbbbfffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdfffff7b20df7ceec2f9eedf3bb0be7bbbdeeef3beebb7df783bdeeeeede0ef7bffbbbbbfffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdfffff7b2fdf7f6ebafaecdfdbaebebb37deeefdbeebb7df7bfbdeeeeedefef7bffbbbbbfffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffefbaedafba1bafb72bee86ebedcafbeeeeebaebb7bf6bb5beeeeedaed6fbfbbbbbbfffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffefbb1e6fc6fc2fbbebf1bf0beefa0be1c71c6ec77bf9c6ebe1c61e71bafbf187187fffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdfffffffffffffefffffeefffbfffffbbfffffffffffffffffffffffffffffffffbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdfffffffffffffeffffff1fffbfffffc7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdfffbbfff3fbfffffffcffbfffffbffffeffffefffffffe7fcffffffffbfffffffffffffec7ffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdfffbbfffbfbfffffffefbbffff7bffffeff7fefffffffdbbeffff7fffbffffffffff7ffebbffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdfffbbfffbfbfffffffeffbffff7bffffeff7fefffffffdffeffff7fffbffffffffff7ffebbffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdfffbb1bbbc3fbb1bbfef3b71fe1a71ff0c61c61c71c7fdf3ef1fe1c7f871ff1a71c61c70fbffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdfffaaebbbbbfbaebbfefbaeeff79aefeefb7faefaebbf87beeeff7bbfbaefee9aefb7baef7ffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdfffaaebbbbbfbaebbfefb9e0ff7ba0feec37c2ec3383fdfbee0ff7bbfba0fefbe0c3782eefffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdfffaaebbbbbfb2ebbfefbaefff7baffeebb7baebbdbffdfbeefff7bbfbaffefbefbb7beeefffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdfff92eb3bbbfcaeb3fefbb6eff6baefeebb6baebaebbfdfbeeeff6bbfbaefeebeebb6baeffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdfffbb1cb1c3ffb1cbfc71bb1ff9bb1ff0c39c21c31c7fdf1c71ff9c7f871ff1bf1c39c70efffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffbbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffc7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffc00
+0ffc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0fffc00000000001ffff0000000001fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0fff1ffffffffffc7ffc7ffffffffc7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffe7fffffffffff3ff9ffffffffff3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffeffffffffffffbffbffffffffffbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffcffffffffffffbff3ffffffffffbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffdf1fffe7fffffbff7c7ffffff3fbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffdeefffdbbffffbff7bbffffffbfbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffdeffffdffffffbff7bfffffffbfbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffdefc69df3a65fbff7bf1a71c7bfbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffdefba687b9aafbff7bfe9aebbbfbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffdefbaedfbbeafbff7bf0baf83bfbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffdefbaedfbbeafbff7beebafbfbfbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffdeebaedfbbeafbff7baebaebbbfbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffdf1c6edf1beefbff7c70bb1c71fbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffdffffffffffffbff7ffffffffffbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffcffffffffffffbff3ffffffffffbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffeffffffffffffbffbffffffffffbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffe7fffffffffff3ff9ffffffffff3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0fff0000000000007ffc00000000007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+
+showpage
+%%EndDocument
+ 378 1877 a
+ endTexFig
+640 2381 a Fm(Figure)h(3:)j(The)e(Con\014rmation)c(Windo)o(w)965
+2574 y(3)p eop
+%%Page: 4 4
+bop 279 266 a
+ 21984564 5594039 5657231 22365798 34666987 29733355 startTexFig
+279 266 a
+%%BeginDocument: msgsaved.ps
+
+/bitdump % stk: width, height, iscale
+{
+ % read arguments
+ /iscale exch def
+ /height exch def
+ /width exch def
+
+ % scale appropriately
+ width iscale mul height iscale mul scale
+
+ % allocate space for one scanline of input
+ /picstr % picstr holds one scan line
+ width 7 add 8 idiv % width of image in bytes = ceiling(width/8)
+ string
+ def
+
+ % read and dump the image
+ width height 1 [width 0 0 height neg 0 height]
+ { currentfile picstr readhexstring pop }
+ image
+} def
+72 300 div dup scale
+360 1417 translate
+610 155 3 bitdump
+0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07ffffffffffffffffffffffffffffffffffffffffffffffffffffffbfffffee87186082efee831c7bc60fffc7fffffefffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07ffffffffffffffffffffffffffffffffffffffffffffffffffffff7befffeedbbdbbbeefeebeebb5bafff5bbfffbef7ffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffeeaabfff5dbbdbbbf5fe4befbeebefff5bfffeaabbffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffde083fff5dbbdbbbf5feabefbeebeffe0bfffe083dffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffbf1c7fffbc7bc7b87bfea871c6ebe1ff587fff1c7effffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffde083fff5dbbdbbbf5feebfefa0b2ffe0bbffe083dffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffeeaabfff5dbbdbbbf5feebfefaebafff5bbffeaabbffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07ffffffffffffffffffffffffffffffffffffffffffffffffffffff7befffeedbbdbbbeefeebeebaebafff5bbfffbef7ffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07ffffffffffffffffffffffffffffffffffffffffffffffffffffffbfffffee87187b82efee831c6ec60fffc7fffffefffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffe1fefcfffffffffeffff83fffffffc7fe7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07ffffffffffffffffffffffffffff6eefefbfffffffeffffbffdfffffeffdbffffff7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07ffffffffffffffffffffffffffff6fefefffffffffeffffbffdfffffeffdfffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07ffffffffffffffffffffffffffff6ce1ef3c71a71869bbfbe9869bbfee9df1a65c61cf1a7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07ffffffffffffffffffffffffffff1eeeefbbae9beba6bbf866de6bbfee686e9aafb7eee9bffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07ffffffffffffffffffffffffffff6eeeefbbaebf0baebbfbeedefbbfeeedeebeac37eeebbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07ffffffffffffffffffffffffffff6eeeefbbaebeebaeb3fbeedefb3feeedeebeabb7eeebbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07ffffffffffffffffffffffffffff6eeeefbbb0bee86ecbfbeedafcbfeeedeebeabb6eeebbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffe1c61c71c7ebf0beefbf82ee6ffbfc6edf1beec39c71bbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07ffffffffffffffffffffffffffffffffffffeefffbffbbfffffffbbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffff1fffbffc7fffffffc7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07ffffffffffffffffffffffffffffffe0ffffffffffffffffffff5ffffffff3ff5ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffbffffffffffffffffffff5fffdfbffbff5ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffbfffffbffffffffffffff5fffdffffbff5ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffbba1c71fffffffffffffffc69873c7bc7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffbbaebbbffffffffffffffffa6dfbbbbbbfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffbbae83ffffffffffffffffc2fdfbbfb83fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffbb2ebfffffffffffffffffbafdfbbfbbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffbca1bbbfffffffffffffffbafdbbbbbbbfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffbfafc71fffffffffffffffc2fe71c71c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07ffffffffffffffffffffffffffffffffbafffbfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07ffffffffffffffffffffffffffffffffc6fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07ffffffffffffffffffffffffffffffeeffffffffffffffffffff587fffffffc60ff5fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07ffffffffffffffffffffffffffffffeeffffffffffffffffffff5bbffffeffbbeff5fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07ffffffffffffffffffffffffffffffedfffeffffffffffffffff5bbfffffffbbdff5fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07ffffffffffffffffffffffffffffffebc6ec7ffffffffffffffffbb1a69cf1bbdc7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07ffffffffffffffffffffffffffffffe7baeefffffffffffffffff86e9a6eeec7bfbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07ffffffffffffffffffffffffffffffeb82effffffffffffffffffaeebaeee0bbbc3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07ffffffffffffffffffffffffffffffedbecffffffffffffffffffb6ebaeeefbb7bbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07ffffffffffffffffffffffffffffffeebb2efffffffffffffffffbaebaeeeebb7bbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07ffffffffffffffffffffffffffffffeec7ec7ffffffffffffffffbb1baec71c77c3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffeeefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07ffffffffffffffffffffffffffffffffff1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07ffffffffffffffffffffffffffffffe187f83fcfffeeffffffff5faeffffbfffffefffeffffffbffc7ebfffffbffe7efffffebffbffffffbffeffefd7ffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffff6dbfbfbefffe6ffffffff5fa6ff7fbfffffefffeffffffbffbbebfbfffbffdbedffffebfbbf7ffffbffefeefd7ffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffff6dbfbffefffe6fffffbff5f66ff7f7fffffefffdffffffbffbbdbfffffbffdfddffffdbffbf7ffff7ffeffefd7ffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffff6dbfbf3ef1feac65c71ffff6ac61f71871a6dbbdc61c69b6efbd873c71a71dfd871bbd873861c6ef69fe1ce1ffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffff6c7f87beeefeafaabbbfffeeabb7eeebbe9abbbbbaefa6aeef7bbbbbae9ae87bdeed7bbbbbb7bb5ee6feeeeeffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffff6dbfbfbee0fecc2a83ffffdec837df3bb0be7bb7ceec2f9eeef7bbbcefbaedf7de0ef7bbbbb783bdeffeeeeeffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffff6dbfbfbeeffecbaabfffffdecbf7dfdbaebebb37f6ebafaecdf7bbbf6fbaedf7defef7bbbbb7bfbdeffeeeeeffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffff6dbfbfbeeefeebaabbbfffbeebb6bee86ebedcafba1bafb72befbbbbaebaedefdaed6fbbbbb6bb5befeeeeeeffffffffffffffffffffffffffffff800
+07ffffffffffffffffffffffffffffffe187fbf1c71feec2ec71fffbeec79bf1bf0beefafc6fc2fbbe82f871c71bb1defe71baf871879c6ebefc61c61ffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffbffffffffffffbfffffbbffefffffeefffffffffffffffffffffffffffffffffefffffffffffffffffffffffffffffffffff800
+07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbfffffc7ffeffffff1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffe1fffffffffffffefffffffffffefff3fffffffffffffbfffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffeefffffffffffffefff7dffffffefefbfffefffffefffbffffdffffeeffffbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffeefffffffffffffefff7dffffffefffbfffffffffffffbffffdffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffeea71c71ff1a6efe1ba1871a7fba9cfbc7fce9feece9c31bbf871ff0cf1973c71fe5c71c71c71fffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffe19aebaeffe9aefeebb7dee9bfba6efbbbfee6feeee6baebbfdeefeeeeeabbbaefeabaebbebaefffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffefbe0cf3ff0baefeebb7deebbfaaeefb83feeefeaeeebaeabfdeefeeef3abbcf3fea833cf0ba0fffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffefbeff7dfeebacfeebb7deebbfaaeefbbffeeefeaeeebaeabfdeefeeefdabbf7dfeabfdf6ebaffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffefbeebaefeebb2feeb36daebbfaaeefbbbfeeefeaeeebaeabfdaefeeeeeabbbaefeabaebaec2eefbefffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffefbf1c71ff0bbefe1cb9e71bbfd6ec71c7fc6eff5c6ec31d7fe71ff0c71bb1c71feec71c70fb1c71c7ffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffeeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbbfefbefffffffffffffffffffffffffffffffffffffffff800
+07ffffffffffffffffffffffffffffffffffffffff1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc7ffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+
+showpage
+%%EndDocument
+ 279 266 a
+ endTexFig
+633 711 a Fm(Figure)14 b(4:)j(A)d(Sample)f(Message)i(Windo)o(w)75
+843 y(indexes)g(en)o(tries)g(b)o(y)e(app)q(ending)h(a)g(lo)o(w)o(er-case)g
+(letter.)19 b(This)14 b(pro)q(cedure)i(allo)o(ws)c(for)i(m)o(ultiple)d(en)o
+(tries)k(to)f(ha)o(v)o(e)75 893 y(the)h(same)e(XBibT)369 902
+y(E)393 893 y(Xk)o(ey)m(,)g(but)i(has)f(the)h(restriction)h(that)e(y)o(ou)g
+(can)h(create)g(only)f(t)o(w)o(en)o(t)o(y-six)g(en)o(tries)h(with)f(the)75
+943 y(same)e(\\base")g(XBibT)428 952 y(E)452 943 y(X)g(k)o(ey)m(.)18
+b(The)13 b Fi(Message)h(Windo)o(w)d Fm(also)h(sho)o(ws)h(y)o(ou)f(in)g(whic)o
+(h)h(\014le)g(the)g(new)g(en)o(try)g(w)o(as)75 993 y(stored.)25
+b(The)16 b(database)h(\014le)e(name)g(is)h(determined)g(b)o(y)f(the)i
+(\014rst)g(c)o(haracter)g(of)e(the)i(XBibT)1574 1002 y(E)1597
+993 y(X)f(k)o(ey)g(with)f(the)75 1043 y(\\.bib")e(extension)h(app)q(ended.)
+137 1092 y(No)o(w)19 b(let)g(us)h(rep)q(eat)g(the)g(same)e(pro)q(cedure,)k
+(except)f(this)e(time)f(w)o(e'll)g(en)o(ter)i(a)f(b)q(o)q(ok,)h(sa)o(y)f
+(\\Hollyw)o(o)q(o)q(d)75 1142 y(Dreams,")c(again)h(b)o(y)g(Ronald)f(Reagan,)h
+(published)g(b)o(y)g(Bev)o(erley)i(Hills)e(Press)i(in)e(1987.)24
+b(After)17 b(op)q(ening)f(the)75 1192 y(\\b)q(o)q(ok")f(template)h(b)o(y)g
+(pressing)h(the)f(\\b)q(o)q(ok")g(button)g(in)g(the)h Fi(Applicati)o(ons)e
+(Windo)o(w)p Fm(,)g(w)o(e)h(en)o(ter)i(the)f(in-)75 1242 y(formation)d(as)i
+(sho)o(wn)g(in)g(Figure)g(5.)25 b(Note)17 b(that)f(w)o(e)g(en)o(tered)i(the)f
+(same)e(XBibT)1396 1251 y(E)1420 1242 y(X)h(k)o(ey)g(as)h(b)q(efore,)g
+(namely)m(,)75 1292 y(\\Ronnie87.")f(Since)e(there)g(is)f(already)g(an)f(en)o
+(try)i(that)f(used)h(the)g(same)e(XBibT)1354 1301 y(E)1377
+1292 y(X)h(k)o(ey)g(\(and)g(w)o(as)g(stored)h(with)75 1342
+y(the)g(L)157 1337 y Fe(a)176 1342 y Fm(T)199 1354 y(E)222
+1342 y(X)g(k)o(ey)f(\\Ronnie87a"\),)e(the)j(new)g(en)o(try)g(will)e(b)q(e)i
+(assigned)f(the)h(L)1256 1337 y Fe(a)1275 1342 y Fm(T)1298
+1354 y(E)1321 1342 y(X)g(k)o(ey)f(\\Ronnie87b.")k(Also)c(note)75
+1391 y(that)h(w)o(e)f(en)o(tered)j Fn("elpresidente)10 b Fm(in)k(the)g
+(author)f(\014eld.)18 b(If)13 b(an)h(en)o(try)g(starts)g(with)g(a)f(leading)g
+(quote)g(and)h(has)75 1441 y(no)h(spaces,)h(newlines,)f(or)f(tabs)h(in)g(it,)
+f(it)g(will)g(b)q(e)h(sa)o(v)o(ed)g(without)g(quotes)g(surrounding)g(it.)21
+b(Therefore,)15 b(if)f(y)o(ou)75 1491 y(ha)o(v)o(e)g(a)f(declaration)h(lik)o
+(e)75 1541 y Fn(@string{elpreside)o(nte)19 b(=)i("Ronald)g(Reagan"})75
+1591 y Fm(,)13 b(then)h(this)f(en)o(try)h(will)e(b)q(e)i(expanded)g
+(correctly)h(b)o(y)e(BibT)1017 1600 y(E)1040 1591 y(X.)g(The)h(W)-5
+b(ARNING!)12 b(message)h(at)h(the)g(b)q(ottom)e(of)75 1640
+y(the)k(template)f(tells)h(y)o(ou)f(that)g(if)g(y)o(ou)g(ha)o(v)o(e)h(an)f
+(editor,)h(but)g(no)f(author)h(\014eld)g(\(BibT)1463 1649 y(E)1486
+1640 y(X)g(requires)g(one)g(of)f(the)75 1690 y(t)o(w)o(o\),)f(y)o(ou'll)e(ha)
+o(v)o(e)j(to)f(edit)h(the)g(.bib)e(\014le)i(b)o(y)f(hand)g(after)h(storing)g
+(this)f(en)o(try)m(,)g(since)i(XBibT)1570 1699 y(E)1593 1690
+y(X)e(assumes)h(that)75 1740 y(the)f(\\author")g(\014eld)g(has)g(b)q(een)h
+(en)o(tered.)137 1790 y(No)o(w)j(go)f(ahead)h(and)f(press)j(the)e(\\annote")f
+(button.)30 b(Another)19 b(windo)o(w)e(p)q(ops)h(up)g(in)o(to)f(whic)o(h)g(y)
+o(ou)h(can)75 1840 y(en)o(ter)f(information)12 b(that)k(will)e(b)q(e)i
+(stored)h(as)f(an)f(additional)f(en)o(try)i(lab)q(eled)f(\\annote".)23
+b(BibT)1614 1849 y(E)1637 1840 y(X)16 b(will)e(ignore)75 1889
+y(this)e(en)o(try)h(since)g(it)f(is)g(not)h(one)f(of)g(those)h(that)f(BibT)
+916 1898 y(E)939 1889 y(X)h(kno)o(ws)f(ab)q(out.)17 b(\(The)c(\\bibpro)q
+(cess")g(utilit)o(y)e(describ)q(ed)75 1939 y(in)i(Section)i(3)e(will)g(allo)o
+(w)f(y)o(ou)h(to)h(merge)f(this)h(information)d(with)j(output)g(generated)h
+(b)o(y)f(standard)g(BibT)1784 1948 y(E)1807 1939 y(X.)137 1989
+y(After)j(y)o(ou)f(ha)o(v)o(e)h(sa)o(v)o(ed)g(this)f(en)o(try)m(,)h(the)g
+(con)o(ten)o(ts)h(of)e(the)h(BibT)1198 1998 y(E)1221 1989 y(X)f(database)h
+(\014le)g(will)e(lo)q(ok)g(as)i(follo)o(ws,)75 2039 y(assuming)12
+b(that)h(the)h(\014le)f(\\r.bib")f(did)h(not)g(exist)g(or)g(w)o(as)h(empt)o
+(y)e(b)q(efore,)h(and)g(that)h(y)o(ou)e(en)o(tered)j(\\What)e(great)75
+2089 y(stu\013")h(in)g(the)g(\\annote")g(windo)o(w.)75 2175
+y Fd(@article{R)o(on)o(nie)o(87)o(a,)114 2221 y(author)k(=)h("Ronald)e
+(Reagan",)114 2267 y(title)h(=)h("It)g(never)e(rains)h(in)h(Southern)d
+(California)o(",)114 2312 y(journal)h(=)i("Sunny)f(Side)g(Up",)114
+2358 y(year)g(=)i("1987",)114 2403 y(volume)e(=)h("1",)114
+2449 y(number)f(=)h("3",)965 2574 y Fm(4)p eop
+%%Page: 5 5
+bop 491 540 a
+ 15271722 24240837 7564902 6446612 32561971 45652541 startTexFig
+491 540 a
+%%BeginDocument: book.ps
+
+/bitdump % stk: width, height, iscale
+{
+ % read arguments
+ /iscale exch def
+ /height exch def
+ /width exch def
+
+ % scale appropriately
+ width iscale mul height iscale mul scale
+
+ % allocate space for one scanline of input
+ /picstr % picstr holds one scan line
+ width 7 add 8 idiv % width of image in bytes = ceiling(width/8)
+ string
+ def
+
+ % read and dump the image
+ width height 1 [width 0 0 height neg 0 height]
+ { currentfile picstr readhexstring pop }
+ image
+} def
+72 300 div dup scale
+481 411 translate
+529 826 3 bitdump
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaffffff800
+0e000ffffffffffff5555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555557f8003800
+0effeff80ffff1fffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaffbbbb800
+0e8faffce7fff9fff5555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555557fbbbb800
+0ec76ffce7fff9fffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaffbbbb800
+0ec6effce61c391ff5555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555557f83bb800
+0ee2effc0cc999bffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaffbfbb800
+0ef5effce4c9997ff5555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555557fbfbb800
+0ee8effce4c9987ffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaffbfbb800
+0ed8effce4c9993ff5555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555557f803b800
+0edc6ffce4c9999ffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaffbffb800
+0ebe2ff80e1c318ff5555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555557fbffb800
+0effeffffffffffffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaffbffb800
+0e000ffffffffffff5555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555557f8003800
+0ffffffffffffffffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001ffffffffffffff800
+0ffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff800
+0ffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff800
+0ffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff800
+0fffddfffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff800
+0fffddfffffffffd87fffffffc60ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff800
+0fffdbfffdfffffdbbffffeffbbeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff800
+0fffd78dd8fffffdbbfffffffbbdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff800
+0fffcf75ddfffffdbb1a69cf1bbdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff800
+0fffd705dffffffd86e9a6eeec7bffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff800
+0fffdb7d9ffffffdaeebaeee0bbbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff800
+0fffdd765dfffffdb6ebaeeefbb7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff800
+0fffdd8fd8fffffdbaebaeeeebb7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff800
+0ffffffdddfffffdbb1baec71c77ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff800
+0ffffffe3ffffffdffffffffffff3fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff800
+0ffffffffffffffdfffffffffffe1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff800
+0ffffffffffffffdfffffffffffccfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff800
+0ffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff800
+0ffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff800
+0ffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff800
+0ffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffffffffffffff800
+0ffffffffffffffc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001ffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003ffffffffff800
+0fffffffffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffffffffff800
+0fffffffffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffffffffff800
+0fffffffffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffffffffff800
+0fffc3ffffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffffffffff800
+0fffeddfffffbfffffffffffdfaeffffbfffffefffeffffffbffc7ebfffffbffe7efffffebffbffffffbffffffffffffffffffffffffffffffffffffbffffffffff800
+0fffedffffffbfffffdfffffdfa6ff7fbfffffefffeffffffbffbbebfbfffbffdbedffffebfbbf7ffffbffffffffffffffffffffffffffffffffffffbffffffffff800
+0fffed9d38e30e34dd8fffffdf66ff7f7fffffefffdffffffbffbbdbfffffbffdfddffffdbffbf7ffff7ffffffffffffffffffffffffffffffffffffbffffffffff800
+0fffeddcd75dbdd35ddfffffdf6ac61f71871a6dbbdc61c69b6efbd873c71a71dfd871bbd873861c6ef7ffffffffffffffffffffffffffffffffffffbffffffffff800
+0fffedddf05fbdd7ddffffffdeeabb7eeebbe9abbbbbaefa6aeef7bbbbbae9ae87bdeed7bbbbbb7bb5efffffffffffffffffffffffffffffffffffffbffffffffff800
+0fffedddf7dfbdd7d9ffffffddec837df3bb0be7bb7ceec2f9eeef7bbbcefbaedf7de0ef7bbbbb783bdfffffffffffffffffffffffffffffffffffffbffffffffff800
+0fffedddf75db5d7e5dfffffddecbf7dfdbaebebb37f6ebafaecdf7bbbf6fbaedf7defef7bbbbb7bfbdfffffffffffffffffffffffffffffffffffffbffffffffff800
+0fffc38df8e3ce37fd8fffffdbeebb6bee86ebedcafba1bafb72befbbbbaebaedefdaed6fbbbbb6bb5bfffffffffffffffffffffffffffffffffffffbffffffffff800
+0fffffffffffffffdddfffffdbeec79bf1bf0beefafc6fc2fbbe82f871c71bb1defe71baf871879c6ebfffffffffffffffffffffffffffffffffffffbffffffffff800
+0fffffffffffffffe3ffffffd3ffffffffbfffffbbffefffffeeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffffffffff800
+0fffffffffffffffffffffffc1ffffffffbfffffc7ffeffffff1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffffffffff800
+0fffffffffffffffffffffffccffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffffffffff800
+0fffffffffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffffffffff800
+0fffffffffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffffffffff800
+0fffffffffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffffffffff800
+0fffffffffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffffffffff800
+0fffffffffffffffffffffffc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003ffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fffc00000001ffff000000007fffc0000007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fff1fffffffc7ffc7fffffff1fff1ffffff1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffe7ffffffff3ff9ffffffffcffe7ffffffcffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffefffffffffbffbffffffffeffefffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffcfffffffffbff3ffffffffeffcfffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffdf1cffffffbff7eeffffffeffdf1fffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffdeeeffffffbff7d6ffffdfeffdeefffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffdefeffffffbff7baffffdfeffdeffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffdefef1c69fbff7ba1c6987effdefc6ec7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffdefeeefa6fbff7baeba6dfeffdf1faebbeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffdefee0c2ffbff782ebafdfeffdfec2e83effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffdefeefbaffbff7baebafdfeffdfebb5bfeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffdeeeeebaffbff7baebafdbeffdeebb5bbeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffdf1c71c2ffbff7ba1c6fe7effdf1c3bc7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffdfffffffffbff7ffffffffeffdfffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffcfffffffffbff3ffffffffeffcfffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffefffffffffbffbffffffffeffefffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffe7ffffffff3ff9ffffffffcffe7ffffffcffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fff0000000007ffc000000001fff00000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffff0ffffffffffdfc3fdf9fffffffffdffff07ffe7f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffff77ffffdffffdfedddfdf7fffffffdffff7f7ff7f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffff77fffffffffdfedfdfdfffffffffdffff7ffff7f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffff76385d9d38e1fed9c3de78e34e30d377f7e78f7863fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffff0dd75ddcd75dfe3ddddf775d37d74d77f0f777775dfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffff5c175dddf05dfedddddf775d7e175d77f7f7077767fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffff6df75dddf7ddfedddddf775d7dd75d67f7f77f777bfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffff75d859ddf75dfedddddf77617dd0dd97f7f777775dfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffff763f658df8e1fc38c38e38fd7e17ddf7f7e38e3863fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffffffff7fffffffffffffffffddfff7ff77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffffffff7fffffffffffffffffe3fff7ff8ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003ffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0ffff7fff7ffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffebfef7ffffffffff75ff3ffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffddfef7ffff7fffff75ffbffffffefefffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffdd7434e34e3fffff75ffbffffffffefffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffdd76f35d377fffff7fc7b869c71cf0c69871ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffc176f75d7fffffff7fbbbba6baeeeeba6deeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffdd76f75d7fffffff7f83bbaf833eee82ede0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffdd66d75d7f7fffff7fbfbbafbfdeeebeedefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffdd9737637e3fffff7fbbb86fbaeeeebaedaeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffff7fffff7fc71befc71c70c6ee71ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7ffffbffffffffffffff3fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7ffffbfffffffffffffe1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7ffffffffffffffffffccfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003ffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001ffff800
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffc1fff9ffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0ffff7defdffffffffdbbfcf3fffffffbf87ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0ffff7fefdffdfffffdbbfefbfffffffbfdbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0ffff79c3de38fffffdbbfefbfffffffbfdbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0ffff7defddddfffffdbb1efbbaec71c3fda9c71971fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0ffff7defdc1ffffffd82eefbbaebaebbfda6bbeaaefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0ffff7defddfffffffdbaeefbbaabaebbfdaf830ab3fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0ffff7dedddddfffffdbaeefbb2abaebbfdafbeeabdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0ffff78f38e38fffffdbaeefbcaabaebbfdafbaeaaefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffdfffffdbb1c71fb5c71c3f86fc70bb1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffdffffffbbffffffffffffffff3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffdffffffc7fffffffffffffffe1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffdfffffffffffffffffffffffccffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001ffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001fffff800
+0fffffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffc3fdf9fffdffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffddfdfdf7fdffffffffffd87ffffff3ffffeeff3cfffe1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffddfdfdfffdffffdfffffddbffffffbffffeeefbefffeeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffdd743de78d38d38fffffddbffffffbffffeeffbefffeeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffc375ddf774d74ddfffffddb1bb1a7bc6efeecfbef1feea71c71ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffdf75ddf79dd05fffffffdc6ebae9bbbaefe0efbeeefe19aebaeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffdf75ddf7edd7dfffffffdda0ba0bfb82efeeefbef3fefbe0cf3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffdf65ddf775d75fdfffffddafd6fbfbbecfeeefbefdfefbeff7dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffdf9438e38dd8df8fffffddaed6ebfbbb2feeefbeeefefbeebaeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffffffffffffffffdfffffd871ef1bf1c7efeec71c71fefbf1c71ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffffffffffffffffffffffdffffffffffeeffffffffffffffffff3fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffffffffffffffffffffffdfffffffffff1fffffffffffffffffe1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffffffffffffffffffffffdfffffffffffffffffffffffffffffccfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff800
+0fffffffffffffffffffffffc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001fffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0fffddfffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0fffddfffffffffff7bc7183ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0fffebfffff7fffff73baefbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0fffeb8e34e3fffff6bbaef7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffff777d377fffff7bbaef7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffff70617fffffff7bc31efffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffff77dd7fffffff7bfaeefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffff775d7f7fffff7bfaedfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffff78e17e3fffff7bbaedfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffff7fffff60c71dfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7fffffcffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7fffff87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7fffff33fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffff8fffffffffe7fc3fdf9fffffffffdffff07ffe7f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffff77fbf7fffff7fedddfdf7fffffffdffff7f7ff7f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffff77fbfffffff7fedfdfdfffffffffdffff7ffff7f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffff7430e78d38f7fed9c3de78e34e30d377f7e78f7863fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffff75dbf774df77fe3ddddf775d37d74d77f0f777775dfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffff75dbf775d877fedddddf775d7e175d77f7f7077767fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffff75dbf775d777fedddddf775d7dd75d67f7f77f777bfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffff743b7775d777fedddddf77617dd0dd97f7f777775dfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffff8dfce38dd863fc38c38e38fd7e17ddf7f7e38e3863fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffdffffffffffffffffffffddfff7ff77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffdffffffffffffffffffffe3fff7ff8ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003ffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffddfe7fffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffddff7fffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffddff7fffff7fffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffdd8f774b8e3fffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffeb777755777fffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffeb77775507ffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffeb7777557fffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0ffff7777655777fffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0ffff78e395d8e3fffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffff7fffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff4fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff33ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003ffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003ffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffe3ffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffddfffdffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffdfffffffff7fffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffdf8d39e38e3fffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffe374dddd777fffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0ffffd05fdc19fffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0ffffd7dfddfefffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffdd75fddd777fffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffe38df8e38e3fffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffff7fffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff4fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff33ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbffff800
+0fffffffffffffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003ffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007ffff800
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0ffff7f7dffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0fffebf7dffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0fffddf7dffffffdfffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0fffdd8614e38e38fffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0fffdd75d35d75ddfffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0fffc175d7c19e7ffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0fffdd75d7dfefbffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0fffdd75d7dd75ddfffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0fffdd8617e38e38fffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0ffffffffffffffdfffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0ffffffffffffffffffffd3fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0ffffffffffffffffffffc1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0ffffffffffffffffffffccfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0ffffffffffffffffffffc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007ffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007ffff800
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0fffc1f7fffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0fffdff77bf7fffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0fffdff7fbfffffdfffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0fffdf8670e78d38fffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0fffc3777bf774ddfffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0fffdf777bf775dffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0fffdf777bf775dffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0fffdf777b7775ddfffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0fffc1863ce38dd8fffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0ffffffffffffffdfffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0ffffffffffffffffffffd3fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0ffffffffffffffffffffc1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0ffffffffffffffffffffccfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0ffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7ffff800
+0ffffffffffffffffffffc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007ffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001ffff800
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffddffffdfffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffddfffbdfffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffc9fffbdfdfffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffd58d30d38fffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffd574dbcddfffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffdd75dbddffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffdd75dbddffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffdd75db5ddfffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffdd8ddcdd8fffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffdfffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffd3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffc1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffccffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdffff800
+0fffffffffffffffffc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001ffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0fffddfffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0fffcdfefffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0fffcdfefff7fffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0fffd58c38e3fffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0fffd576f777fffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0fffd976f07ffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0fffd976f7fffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0fffdd76d777fffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0fffdd8f38e3fffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffff7fffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff4ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff33fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff800
+0ffffffffffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fffc0000000000007fffc0000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fff1ffffffffffff1fff1fffffffff1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffe7ffffffffffffcffe7fffffffffcfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffefffffffffffffeffeffffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffcfffffffffffffeffcffffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffdeeffffffffeffeffdfbffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffdeeffffffffeffeffdf5fffff7ffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffdedffffffffeffeffdeefffff7ffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffdebc6ebb1a70c7effdeea69c61c7efffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffde7baebae9aebbeffdee9a6bb7bbefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffdeb82eaaebeecfeffde0baebb783efffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffdedbecaaebeef7effdeebaebb7bfefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffdeebb2aaebeebbeffdeebaebb6bbefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffdeec7ed71bf0c7effdeebaec79c7efffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffdfffeeffffffffeffdffffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffcffff1ffffffffeffcffffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffefffffffffffffeffeffffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffe7ffffffffffffcffe7fffffffffcfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fff00000000000001fff00000000001fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffbbb86ec6ec7bfffbbfffffffffeffffffffeffffffffffffffefffffffbfffffffffffeffffbfffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffbb5ba6ee6bbbfffbbfffffffffeff7fffffeef7fffff7fffffefffffffbbffffffffffefff7bfffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffbaeba6ee6bfbfff93fffffffffeff7fffffeff7fffff7fffffefffffffbfffffffffffefff7bfffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffbaebaaeeabfbfffab1bbfa71c70fe1c7fc70ce1ff1a61a6eff0c61c69c33a71ff1a7fba9c61a71a7fffffffffffffffffffffffff800
+0fffffffffffffffffffffffffaae86aeeabfbfffabebbf9aebaeff7bbfbaeef7fee9b79aefeebaeba6bbb9aefee9bfba6bb79ae9bfffffffffffffffffffffffff800
+0fffffffffffffffffffffffffaa0aeceecb3bfffbb0bbfba082eff7bbf82eef7fe0bb7beefee82e82ebbbbaefeebbfaae837ba0bffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffaaeb6ceecbbbfffbaeb3fbafbeeff7bbfbeeef7fefbb7becfeebeebeebbbbaefeebbfaaebf7bafbffffffffffffffffffffffffff800
+0fffffffffffffffffffffffff92ebaeeeebbffffbaecbfbaebaeff6bbfbaeef6feebb6bf2feeba1baebbbbb0feebbfaaebb6baebffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffbaebaec6ec7bfffbb0fbfbb1c70ff9c7fc70c79ff1bb9bfeff0c6fc6ec31bbeff1bbfd6ec79bb1bffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffffffffffffffffffffbbffffffffffffffffffffffffffeeffffeffffffffeeffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffffffffffffffffffffc7fffffffffffffffffffffffffff1ffffefffffffff1ffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffffffffffffffff9fffcfefffffffffffffeffffff5efffeffffd7fc61ff583effffffd7ffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffff7ff6effefefffffffffdfffeffffff5d7fdeffffd7fbaeff5bfeef7fffd7ffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffff7ff7fffefefffffffffdfffefffbff5bbfdeffffd7fbaeff5bfeff7fffd7ffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffbb1bbfbb1a61ff7cf1ef0fe9c65c7f871fe1c71fffbae869c69fffbaefffbf0ce1c69ffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffbaebbfbbe9b7fe1eeeeeefe6faabbfdeefeebbbfffbaede6ba6fffba1fff86eef7ba6ffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffbaebbfab0bb7ff7ee0eeefeec2a83fdeefee83ffff82edeebaffffbabfffbeeef7bafffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffb2ebbfaaebb7ff7eefeeefeebaabffdeefeebfffffbaedeebaffffbadfffbeeef7bafffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffcaeb3faaebb6ff7eeeeeefeebaabbfdaefeebbbfffbacdaebaffffbaefffbeeef6bafffbfffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffb1cbfd70bb9ff7c71c70feec2ec7fe71fe1c71fffbb2e6ec6ffffc6efff830c79c6fff1fffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffbbffffffffffffffffffffffffffffffffffffbffffffffffffffffffffffffffffffffbfffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffc7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffbbfcf3fffffffffffffffff3cfffffffffffe7fff3fbffffff5efffeffffd7fffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffbbbefbfffff7fffff7effffbefffffffffffdbbffbfbffffff5d7fdeffffd7fffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffbbfefbfffff7fffff7fffffbefffffffffffdffffbfbffffff5bbfdeffffd7fffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffbb3efbff1ba1c65c61cf1c7beeeff1c6ec7fdf3c7bc3fc71fffbae869c69fffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffabbefbffebb7baafb7eeefbbeeefeefaebbf87bbbbbbffaefffbaede6ba6fffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffabbefbff0bb7baac37eefc3beeeff3c2e83fdfb83bbbfc33fff82edeebaffffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffabbefbfeebb7baabb7eefbbbeecffdbb5bffdfbbfbbbfbbdfffbaedeebaffffffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffff93befbfeeb36baabb6eeebbbef2feebb5bbfdfbbbbbbfbaefffbacdaebafffbffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffbb1c71ff0cb9c6ec39c71c31c7eff1c3bc7fdf1c71c3fc31fffbb2e6ec6fff1ffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffeefffffffffffffffffffffffffffffffffffbffffffffffffffffffffffffffffffffffffffffff800
+0fffffffffffffffffffffffffffffffffffffffffffffffffff1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff800
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+
+showpage
+%%EndDocument
+ 491 540 a
+ endTexFig
+650 2167 a Fm(Figure)14 b(5:)k(En)o(try)c(Windo)o(w)f(for)g(a)h
+Ff(b)n(o)n(ok)p Fm(.)965 2574 y(5)p eop
+%%Page: 6 6
+bop 277 266 a
+ 22040503 3729359 5657231 23549870 34864332 28483502 startTexFig
+277 266 a
+%%BeginDocument: error.ps
+
+/bitdump % stk: width, height, iscale
+{
+ % read arguments
+ /iscale exch def
+ /height exch def
+ /width exch def
+
+ % scale appropriately
+ width iscale mul height iscale mul scale
+
+ % allocate space for one scanline of input
+ /picstr % picstr holds one scan line
+ width 7 add 8 idiv % width of image in bytes = ceiling(width/8)
+ string
+ def
+
+ % read and dump the image
+ width height 1 [width 0 0 height neg 0 height]
+ { currentfile picstr readhexstring pop }
+ image
+} def
+72 300 div dup scale
+360 1495 translate
+610 103 3 bitdump
+0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffbfffffee87186082efee831c7bc60fff83fffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffff7befffeedbbdbbbeefeebeebb5bafff5fbfffbef7fffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7ffffffffffffffffffffffffffffffffffffffffffffffffffffffeeaabfff5dbbdbbbf5fe4befbeebefff5f7ffeaabbfffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7ffffffffffffffffffffffffffffffffffffffffffffffffffffffde083fff5dbbdbbbf5feabefbeebeffe0efffe083dfffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7ffffffffffffffffffffffffffffffffffffffffffffffffffffffbf1c7fffbc7bc7b87bfea871c6ebe1ff5c7fff1c7efffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7ffffffffffffffffffffffffffffffffffffffffffffffffffffffde083fff5dbbdbbbf5feebfefa0b2ffe0fbffe083dfffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7ffffffffffffffffffffffffffffffffffffffffffffffffffffffeeaabfff5dbbdbbbf5feebfefaebafff5fbffeaabbfffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffff7befffeedbbdbbbeefeebeebaebafff5bbfffbef7fffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffbfffffee87187b82efee831c6ec60fffc7fffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7ffffffffffffffffffffffffffffffffffe0861c61effff1fffffffffffffffffffffffffffffffeffefcfffffffffefffffbffffbfffffffffffffffffffffffffffffffffffffffffffff80
+7ffffffffffffffffffffffffffffffffffefbaebaeefffeeffffffff7ffffffffffffdfffffdfffefeefefbfffffffefffffbfdffbfffffffffffffffffffffffffffffffffffffffffffff80
+7ffffffffffffffffffffffffffffffffffefbaebaeefffefffffffff7ffffffffffffdfffffdfffeffefefffffffffefffffbfdffbfffffffffffffffffffffffffffffffffffffffffffff80
+7ffffffffffffffffffffffffffffffffffefbaebaeefffefc69fe9c61ff1c6ec7fc69869bbf871fe1ce1ef3c71a71869bbfc31871871c71ffffffffffffffffffffffffffffffffffffffff80
+7ffffffffffffffffffffffffffffffffffe1861ba1efffeffa6fe6bb7feefaebbfba6de6bbfdeefeeeeeefbbae9beba6bbfbbedfebbebaeffffffffffffffffffffffffffffffffffffffff80
+7ffffffffffffffffffffffffffffffffffefaebbabefffefc2efeebb7ff3c2e83f82edefbbfdeefeeeeeefbbaebf0baebbfbb0df0bb0ce0ffffffffffffffffffffffffffffffffffffffff80
+7ffffffffffffffffffffffffffffffffffefb6dbadefffefbaefeebb7ffdbb5bffbeedefb3fdeefeeeeeefbbaebeebaeb3fbaedeebaef6fffffffffffffffffffffffffffffffffffffffff80
+7ffffffffffffffffffffffffffffffffffefbaebaeffffeebaefeebb6feebb5bbfbaedafcbfdaefeeeeeefbbb0bee86ecbfbaedaebaebaeefffffffffffffffffffffffffffffffffffffff80
+7ffffffffffffffffffffffffffffffffffe0baec6eeffff1c2efeec79ff1c3bc7fc6ee6ffbfe71fe1c61c71c7ebf0beefbfc30e70870c71c7ffffffffffffffffffffffffffffffffffffff80
+7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbbffffffffffffffeefffbffbbfffffffffffffefffffffffffffffffffffffffffffffffffffff80
+7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc7fffffffffffffff1fffbffc7fffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7ffffffffffffffffffffffffffffffffffe1fffffffffffffefffffffffffefff3fffffffffffffbfffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7ffffffffffffffffffffffffffffffffffeefffffffffffffefff7dffffffefefbfffefffffefffbffffdffffeeffffbfffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7ffffffffffffffffffffffffffffffffffeefffffffffffffefff7dffffffefffbfffffffffffffbffffdffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7ffffffffffffffffffffffffffffffffffeea71c71ff1a6efe1ba1871a7fba9cfbc7fce9feece9c31bbf871ff0cf1973c71fe5c71c71c71ffffffffffffffffffffffffffffffffffffffff80
+7ffffffffffffffffffffffffffffffffffe19aebaeffe9aefeebb7dee9bfba6efbbbfee6feeee6baebbfdeefeeeeeabbbaefeabaebbebaeffffffffffffffffffffffffffffffffffffffff80
+7ffffffffffffffffffffffffffffffffffefbe0cf3ff0baefeebb7deebbfaaeefb83feeefeaeeebaeabfdeefeeef3abbcf3fea833cf0ba0ffffffffffffffffffffffffffffffffffffffff80
+7ffffffffffffffffffffffffffffffffffefbeff7dfeebacfeebb7deebbfaaeefbbffeeefeaeeebaeabfdeefeeefdabbf7dfeabfdf6ebafffffffffffffffffffffffffffffffffffffffff80
+7ffffffffffffffffffffffffffffffffffefbeebaefeebb2feeb36daebbfaaeefbbbfeeefeaeeebaeabfdaefeeeeeabbbaefeabaebaec2eefbeffffffffffffffffffffffffffffffffffff80
+7ffffffffffffffffffffffffffffffffffefbf1c71ff0bbefe1cb9e71bbfd6ec71c7fc6eff5c6ec31d7fe71ff0c71bb1c71feec71c70fb1c71c7fffffffffffffffffffffffffffffffffff80
+7ffffffffffffffffffffffffffffffffffffffffffffffeeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbbfefbeffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffff1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc7fffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+
+showpage
+%%EndDocument
+ 277 266 a
+ endTexFig
+688 593 a Fm(Figure)14 b(6:)j(Sample)c(error)i(message)114
+726 y Fd(pages)j(=)h("33--44")114 772 y(})75 863 y(@book{Ronn)o(ie)o(87b)o(,)
+114 909 y(author)f(=)h(elpreside)o(nte)o(,)114 955 y(title)f(=)h("Hollywood)d
+(Dreams",)114 1000 y(publisher)g(=)k("Beverley)c(Hills)h(Press",)114
+1046 y(year)h(=)i("1987",)114 1092 y(annote)e(=)h("What)e(great)h(stuff!")114
+1137 y(})137 1275 y Fm(T)m(o)13 b(exit)h(XBibT)398 1284 y(E)422
+1275 y(X,)f(no)o(w)g(press)j(the)e Ff(Quit)g Fm(button.)75
+1385 y Fi(2)48 b(More)15 b(Detail)137 1462 y Fm(The)c(example)f(in)g(the)h
+(preceding)g(section)h(pro)o(vided)e(a)g(\015a)o(v)o(or)g(of)g(the)i
+(functionalit)o(y)d(that)h(XBibT)1677 1471 y(E)1700 1462 y(X)h(a\013ords.)75
+1512 y(In)j(summary)m(,)c(XBibT)434 1521 y(E)458 1512 y(X)k(has)g(the)g
+(follo)o(wing)d(features:)137 1596 y Fh(\017)21 b Fm(Automatically)15
+b(pro)o(vides)j(a)g(template)f(of)h(the)h(required)g(and)f(optional)e
+(\014elds)j(asso)q(ciated)g(with)e(eac)o(h)179 1646 y(en)o(try)d(t)o(yp)q(e)h
+(as)f(de\014ned)h(b)o(y)e(BibT)719 1654 y(E)742 1646 y(X.)137
+1730 y Fh(\017)21 b Fm(Ensures)15 b(that)f(the)h(required)g(\014elds)f(of)f
+(a)h(sp)q(eci\014c)h(en)o(try)g(are)f(\014lled.)137 1814 y
+Fh(\017)21 b Fm(Pro)q(duces)15 b(a)f(unique)g(L)539 1809 y
+Fe(a)558 1814 y Fm(T)581 1826 y(E)604 1814 y(X)g(k)o(ey)g(b)o(y)g(whic)o(h)g
+(en)o(tries)h(are)f(referenced.)137 1898 y Fh(\017)21 b Fm(Automatically)11
+b(inserts)k(en)o(tries)g(in)e(alphab)q(etical)g(order)i(in)o(to)e(the)i
+(database.)137 1982 y Fh(\017)21 b Fm(Pro)o(vides)d(a)f(clipb)q(oard)h(that)f
+(can)h(b)q(e)h(initialized)d(to)h(displa)o(y)g(a)h(sp)q(eci\014ed)h(\014le.)
+29 b(This)18 b(feature)g(can)g(b)q(e)179 2032 y(useful)c(for)f(displa)o(ying)
+g(an)g(abbreviations)h(\014le)g(from)e(whic)o(h)h(to)h(cut)h(and)e(paste.)137
+2116 y Fh(\017)21 b Fm(Pro)o(vides)10 b(t)o(w)o(o)e(new)i(\014elds,)g
+(\\annote")f(and)h(\\k)o(eyw)o(ords,")f(that)h(are)f(useful)h(for)f(main)o
+(taining)d(an)j(annotated)179 2166 y(bibliograph)o(y)m(.)137
+2250 y(Before)17 b(discussing)f(XBibT)583 2259 y(E)607 2250
+y(X's)f(default)h(settings,)g(en)o(vironmen)o(t)f(v)n(ariables,)g(X)h(windo)o
+(w)f(resources,)j(and)75 2300 y(input)f(restrictions,)i(let)e(use)h(sa)o(y)f
+(a)g(few)g(w)o(ords)g(ab)q(out)h(XBibT)1112 2309 y(E)1135 2300
+y(X's)f(messages.)28 b(W)m(e'v)o(e)16 b(already)h(sho)o(wn)g(the)75
+2350 y(con\014rmation)11 b(message)i(that)g(is)g(displa)o(y)o(ed)g(when)g(an)
+g(application)f(is)h(sa)o(v)o(ed.)18 b(Figure)13 b(6)g(sho)o(ws)g(a)g(sample)
+f(error)75 2399 y(message)h(when)g(not)g(enough)g(information)d(is)j(pro)o
+(vided.)18 b(When)13 b(suc)o(h)g(a)g(message)g(is)g(displa)o(y)o(ed,)f
+(access)j(to)d(the)75 2449 y(rest)k(of)d(the)i(application)e(is)i(susp)q
+(ended.)21 b(This)14 b(pause)i(allo)o(ws)d(y)o(ou)h(to)g(read)h(the)g
+(message)f(and)g(determine)g(the)965 2574 y(6)p eop
+%%Page: 7 7
+bop 275 266 a
+ 22096444 5594039 5591449 22365798 34732769 29733355 startTexFig
+275 266 a
+%%BeginDocument: clipboard.ps
+
+/bitdump % stk: width, height, iscale
+{
+ % read arguments
+ /iscale exch def
+ /height exch def
+ /width exch def
+
+ % scale appropriately
+ width iscale mul height iscale mul scale
+
+ % allocate space for one scanline of input
+ /picstr % picstr holds one scan line
+ width 7 add 8 idiv % width of image in bytes = ceiling(width/8)
+ string
+ def
+
+ % read and dump the image
+ width height 1 [width 0 0 height neg 0 height]
+ { currentfile picstr readhexstring pop }
+ image
+} def
+72 300 div dup scale
+355 1419 translate
+613 154 3 bitdump
+0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0ffffffffffffffffffffffffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaffffff80
+0e000ffffffffffffffffffff55555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555557f800380
+0effeffe1473ff01ffffff1ffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaffbbbb80
+0e8faffce673ff9cffffff9ff55555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555557fbbbb80
+0ec76ff9f67fff9cffffff9ffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaffbbbb80
+0ec6eff9f662279cc386441ff55555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555557f83bb80
+0ee2eff9fe7313819933219ffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaffbfbb80
+0ef5eff9fe73339c99f3399ff55555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555557fbfbb80
+0ee8eff9fe73339c9983399ffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaffbfbb80
+0ed8eff9f673339c9933399ff55555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555557f803b80
+0edc6ffce673339c9933399ffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaffbffb80
+0ebe2ffe0c210701c3881c4ff55555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555557fbffb80
+0effefffffff3ffffffffffffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaffbffb80
+0e000fffffff3ffffffffffff55555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555557f800380
+0ffffffffffe1ffffffffffffaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaffffff80
+0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0ffc0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fff80
+0ffdfffbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffb8ffffffffff9fff9fffffffffffaf7ffffffffffddfffffffff9ff7ff7ffffffffffffff77ffdfffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffb77fbffdffff7fffdfffffffffffaebffffffffffcdfefdfffffdff7ff7fffffbffffffff77fbdfffffefdfffffffff7fffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffb77fbfffffff7fffdfffffffffffaddffffffffffcdfefffffffdff7ff7fffffbffffffff27fbdfffffefffffffffff7fffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffb6630d39d38f78d3dffffffff07ffdd4e38d34e3fd58c39e34e3dff7e30e34e30e34ddfff5630d38cb8c39e38ff8d387fffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffb55dbcddcd74ff4ddffffffffffffdd35d74d35dfd5f6fddd37ddff7fd75d37dbdd35dfff57dbcd755f6fddd77ff4d77fffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffb567bdfddd77785ddffffffffffffc17dd75d741fd986fddd761dff7e175d7e1bdd7ddfff761bdd05586fddf9ff85d77fffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffb4fbbdfddd77775ddffffffff07ffdd7dd75d75ffd976fddd75ddff7dd75d7ddbdd7d9fff75dbdd7d576fddfeff75d77fffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffb7ddb5fddd87775ddffffffffffffdd7e175d75dfdd76dddd75ddff7dd75d7ddb5d7e5cff75db5d75576dddd77f75d77fffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffb863cdf8ddf7985d8ffffffffffffdd7fd8dd763fdd8738e37618ff0610e37e1ce37fddff761cdd8dd8738e38ff85d87fffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbfffffffff77ffffffffffffffffffffddffffffffffffffffffffffffffffffffffddbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbfffffffff8fffffffffffffffffffffe3ffffffffffffffffffffffffffffffffffe3fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffd555bffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdaaabffffffffffff8ffffffffffffe3ffffffffffc3ffffffffffeb3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffd555bffffffffffff77fffffefffffddff7fffffffeddffdffdfffebdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdaaabffffffffffff7ffffffefffffdfffffffffffedffffffffffebdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffd555bffffffffffff7e32c37438d3fdf8e78d38e3fed9dd9e39e34ffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdaaabffffffffffff7dd55d76f74dfe377774d75dfedddddddddd37fe7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffd555bffffffffffff7dd55d76f05fffd7f705d7c1feddddde7ddd77fdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbffffffffffff7dd55d76f7dfffd7f77dd7dffeddebdfbddd77fdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbffffffffffff75d54366d75ffdd77775d75dfeddebdddddd77fdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbffffffffffff8e375f9738dffe38e38dd8e3fc38f78e38e377f3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffb8ffffffffff9fffffdffffffffffffaddfffffffffffffffff3fe39e7fffffffffffffddfdfffffff8dfffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffb77fbffdffff7fffffdffffffffffffaddff7ffffffdefffffedff7df7dffff7ffffeffddfdfffffff75fffffffdfffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffb77fbfffffff7fffffdffffffffffffaddffffffffffefffffefff7df7ffffffffffeffddfdfffffff7dfffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffb6630d39d38f78e34e1fffffffff07ffdd4e77634e39c377f8efff7df79d38e78ff8c3fdd4c38d38ff7d38cb0e39e34ffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffb55dbcddcd74f75d35dfffffffffffffdd37775d35ddef77f743ff7df7dcd77777ff6ffdd35df4df417cdf5577dddd37fffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffb567bdfddd7777e77ddfffffffffffffdd7777417e7def77f76fff7df7ddd7779ff86ffdd7dd85d87f7dd855761ddd77fffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffb4fbbdfddd7777fb7ddfffffffff07ffdd777adf7fbdef67f76fff7df7ddd777eff76ffdd7dd75d77f7dd75575dddd77fffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffb7ddb5fddd87775d7ddfffffffffffffdd777add7ddded97f76fff7df7ddd77777f76dfdd7dd75d77f75d7550ddde1773ffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffb863cdf8ddf798e37e1fffffffffffffe3763de37e38f3f7f8effe38e38dd8e38ff873fe37c385d87f8dd85d7e18fd777ffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbfffffffff77ffffffffffffffffffffffffffffffffff77ffffffffffffffffffffffffffffffffffffffff7fffddfefffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbfffffffff8fffffffffffffffffffffffffffffffffff8fffffffffffffffffffffffffffffffffffffffff7fffe3fffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbffffffffffff8ffffffffff3ffffe3fffffffffffffffffffff0fffffffffdffffffdfc3ffffe7fffffffffacfffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbffffffffffff77ffefffffedffffddfffffffffffffefdfffff77ffffffffdffffffdfedfffff7fffffffefaf7ffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbffffffffffff7fffefffffefffffdffffffffffffffefffffff77ffffffffdffffffdfedfffff7fffffffefaf7ffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbffffffffffff7e34c38d3fef8d3fdf7438d38e32c37439d38ff7638e38d38d3fe34e1fed8dd8f78c32e34c3ff7ffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbffffffffffff7dd36f74dfc374dfe375d74d75d55d76fdcd77f0dd75df4d74dffd35dfed75d77775d55d36fff9ffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbffffffffffff7c176f05ffef75fffd75d05f7dd55d76fddd77f5c19c185f7ddfe175dfed05d07775d54176fff7ffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbffffffffffff7df76f7dffef75fffd75d7df7dd55d76fddd77f6dfedf75f7ddfdd75dfed7eb7f775d55f76fff7ffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbffffffffffff75d76d75ffef75ffdd64375f75d54366dddd87f75d75d75f75dfdd75dfed76b77774355d76dff7ffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbffffffffffff8e37738dffef8dffe395f8df8e375f9738ddf7f7638e385f8ddfe1761fc38f78e38df763773fcfffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbfffffffffffffffffffffffffffffffdffffffffdfffffff77fffffffffffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbfffffffffffffffffffffffffffffffdffffffffdfffffff8ffffffffffffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffb8ffffffffff9fff9fffffffffffaddfe7fff77ffffffffffffffff0fffffffffffffffffcff8ffffffffffffe3fffffffffacfffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffb77fbffdffff7fffdfffffffffffaddff7fff77fdfffffff7bfffffb7fffffefffffeffffb7f77fffffefffffddff7ffffffaf7ffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffb77fbfffffff7fffdfffffffffffaebff7fff77ffffffffffbfffffb7fffffefffffeffffbff7ffffffefffffdffffffffffaf7ffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffb6630d39d38f7763de3ffffff07ffeb8f78ff7539dd8d38e70ddfffb630e34c32e34c3fe3bff7e32c37438d3fdf8e78d38e3ff7ffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffb55dbcddcd74f77ddddfffffffffff7f7777f74dddd74d777bddfffb5d77d36f55d36ffdd0ff7dd55d76f74dfe377774d75dff9ffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffb567bdfddd777761dc1fffffffffff787707f75dddd05f9f7bddfffb417617ef54176ffddbff7dd55d76f05fffd7f705d7c1ff7ffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffb4fbbdfddd77765dddfffffff07fff77777ff75ddeb7dfef7bd9fffb5f75d7ef55f76ffddbff7dd55d76f7dfffd7f77dd7dfff7ffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffb7ddb5fddd87795ddddfffffffffff777777f75ddeb75f777b65cffb5d0dd7ed55d76dfddbff75d54366d75ffdd77775d75dff7ffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffb863cdf8ddf79f618e3fffffffffff78638ff8dd8f78df8e3cfddff0e37e17f3763773fe3bff8e375f9738dffe38e38dd8e3fcfffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbfffffffff77f77fffffffffffffffffffffffffffffffffffddbfffff7fffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbfffffffff8ff8ffffffffffffffffffffffffffffffffffffe3ffffff7fffffffffffffffffffffdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffdfffbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffefff80
+0ffc0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fff80
+0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0fffc0000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0fff1fffffffff1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0ffe7fffffffffcfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0ffeffffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0ffcffffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0ffdf1ffffffcfefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0ffdeeffffffefefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0ffdefffffffefefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0ffdefc69c71efefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0ffdeffa6baeefefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0ffdefc2ebe0efefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0ffdefbaebefefefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0ffdeebaebaeefefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0ffdf1c2ec71c7efffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0ffdffffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0ffcffffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0ffeffffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0ffe7fffffffffcfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0fff00000000001fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80
+0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+
+showpage
+%%EndDocument
+ 275 266 a
+ endTexFig
+712 711 a Fm(Figure)14 b(7:)j(Clipb)q(oard)c(Windo)o(w)75 841
+y(action)k(to)g(b)q(e)h(tak)o(en.)28 b(Once)19 b(y)o(ou)d(ha)o(v)o(e)h(read)h
+(the)g(message,)f(y)o(ou)g(can)h(eliminate)d(it)i(b)o(y)g(placing)f(the)i
+(cursor)75 891 y(within)13 b(the)h Fi(Message)h(Windo)o(w)d
+Fm(and)h(pressing)h(an)o(y)f(mouse)g(button.)18 b(The)c(App)q(endix)g(con)o
+(tains)f(a)g(listing)g(of)75 940 y(all)g(of)g(XBibT)298 949
+y(E)321 940 y(X's)h(messages;)g(w)o(e)g(will)e(refer)j(to)f(messages)g(b)o(y)
+f(the)i(n)o(um)o(b)q(ers)e(listed)h(there.)75 1028 y Fi(Bac)o(kup)h(File)g
+(Directory:)j Fm(The)f(\014rst)g(and)e(most)g(imp)q(ortan)o(t)f(thing)i(to)f
+(do)h(b)q(efore)h(starting)f(up)g(XBibT)1821 1037 y(E)1844
+1028 y(X)179 1077 y(is)g(to)f(mak)o(e)g(sure)i(that)f(there)h(is)f(a)g
+(directory)h(for)e(XBibT)1119 1086 y(E)1142 1077 y(X)i(to)e(store)i(its)f
+(temp)q(orary)g(\014les)g(in)o(to.)24 b(The)179 1127 y(default)14
+b(directory)h(is)g(\\/tmp.")i(If)e(this)f(directory)h(do)q(es)h(not)e(exist,)
+h(Message)g(#8)f(will)f(b)q(e)i(displa)o(y)o(ed)f(at)179 1177
+y(the)j(startup)h(of)f(the)g(application.)26 b(Y)m(ou)17 b(should)f(exit)h
+(XBibT)1193 1186 y(E)1217 1177 y(X)g(and)g(set)h(the)f(en)o(vironmen)o(t)f(v)
+n(ariable)179 1227 y(XBIBTEX)p 374 1227 13 2 v 16 w(BA)o(CKUP)p
+570 1227 V 16 w(P)m(A)m(TH)d(to)h(a)g(directory)g(to)g(whic)o(h)g(y)o(ou)f
+(ha)o(v)o(e)h(write)g(access.)179 1292 y(If)c(y)o(our)f(database)i(ev)o(er)g
+(b)q(ecomes)f(corrupted)i(b)q(ecause)g(of)d(a)h(system)g(sh)o(utdo)o(wn)g
+(while)g(y)o(ou)f(are)i(mo)q(difying)179 1342 y(the)16 b(\014le,)f(y)o(ou)g
+(can)h(go)f(to)g(the)h(bac)o(kup)f(directory)i(to)e(retriev)o(e)i(the)f(v)o
+(ersion)f(since)h(y)o(our)g(last)f(sa)o(v)o(e.)23 b(The)179
+1392 y(bac)o(kup)14 b(\014le)g(name)e(is)i Fc(xbib[pid].bk)o(p)c
+Fm(,)j(where)i Ff(pid)f Fm(is)g(the)g(pro)q(cess)i(ID)e(of)f(this)h(XBibT)
+1539 1401 y(E)1562 1392 y(X)g(application.)75 1474 y Fi(Database)h(P)o(ath)f
+(and)i(Files:)j Fm(Once)g(y)o(ou)f(ha)o(v)o(e)g(decided)h(where)g(y)o(our)f
+(database)h(\014le\(s\))g(will)d(b)q(e)j(lo)q(cated,)179 1523
+y(y)o(ou)12 b(ma)o(y)f(wish)i(to)g(set)h(the)g(en)o(vironmen)o(t)e(v)n
+(ariable)g(XBIBTEX)p 1212 1523 V 16 w(D)o(A)m(T)m(ABASE)p 1456
+1523 V 15 w(P)m(A)m(THto)g(this)h(directory)179 1573 y(path.)19
+b(This)14 b(step)h(will)e(sa)o(v)o(e)i(y)o(ou)e(the)i(time)e(of)h(t)o(yping)f
+(the)i(database)g(path)f(for)g(ev)o(ery)h(en)o(try)m(.)k(The)c(path)179
+1623 y(can)g(b)q(e)h(sp)q(eci\014ed)h(either)g(as)e(an)g(absolute)h(path)f
+(or)h(as)f(a)g(path)h(relativ)o(e)f(to)g(the)h(directory)g(from)e(whic)o(h)
+179 1673 y(XBibT)297 1682 y(E)320 1673 y(X)g(is)g(started)h(up.)179
+1738 y(BibT)266 1747 y(E)289 1738 y(X)d(requires)i(that)e(bibliograph)o(y)f
+(database)h(\014les)h(ha)o(v)o(e)f(the)h(\\.bib")e(extension.)18
+b(XBibT)1671 1747 y(E)1694 1738 y(X)13 b(extends)179 1788 y(this)i(b)o(y)f
+(splitting)g(the)h(database)g(\014le)g(in)o(to)f(t)o(w)o(en)o(t)o(y-six)h
+(\014les)g(\(a.bib)e(through)i(z.bib\).)21 b(F)m(or)14 b(instance,)h(all)179
+1838 y(en)o(tries)f(with)f(k)o(eys)g(b)q(eginning)g(with)f(\\)p
+Ff(b)p Fm(")h(will)f(b)q(e)h(placed)h(in)e(the)i(\014le)f(\\b.bib".)k(In)c
+(addition,)e(en)o(tries)k(are)179 1888 y(stored)g(alphab)q(etically)d(in)i
+(eac)o(h)g(\014le.)179 1953 y(If)d(y)o(ou)g(do)h(not)f(ha)o(v)o(e)h(write)f
+(access)j(to)d(the)i(directory)f(or)g(database)f(\014le,)h(XBibT)1445
+1962 y(E)1468 1953 y(X)g(will)e(displa)o(y)h(Message)179 2003
+y(#17)k(or)i(Message)h(#18)d(resp)q(ectiv)o(ely)m(.)27 b(If)17
+b(the)g(directory)g(path)g(do)q(es)g(not)f(exist,)i(Message)f(#5)f(will)f(b)q
+(e)179 2053 y(displa)o(y)o(ed.)75 2134 y Fi(ClipBoard:)k Fm(If)d(y)o(ou)g
+(wish)h(to)g(mak)o(e)e(the)i(ClipBoard)f(op)q(erational,)g(y)o(ou)h(m)o(ust)e
+(set)j(the)f(en)o(vironmen)o(t)f(v)n(ari-)179 2184 y(able)c(XBIBTEX)p
+460 2184 V 16 w(CLIPBO)o(ARD.)g(By)h(setting)g(XBIBTEX)p 1145
+2184 V 17 w(CLIPBO)o(ARD)f(to)h(the)g(name)e(of)h(a)g(\014le)h(that)179
+2234 y(con)o(tains)h(frequen)o(tly)h(used)h(information,)c(y)o(ou)i(can)h(p)q
+(op)f(up)h(\(b)o(y)g(pressing)g(the)h Ff(ClipBo)n(ar)n(d)28
+b Fm(button\),)15 b(a)179 2284 y(read-only)g(windo)o(w)g(con)o(taining)g(the)
+h(information)d(stored)k(in)f(this)f(\014le,)h(and)g(cut-and-paste)h(from)d
+(this)179 2334 y(windo)o(w)f(in)o(to)g(others.)19 b(A)14 b(sample)f
+Fi(ClipBoard)g(Windo)o(w)g Fm(is)g(sho)o(wn)h(in)g(Figure)g(7.)179
+2399 y(If)h(XBIBTEX)p 417 2399 V 17 w(CLIPBO)o(ARD)h(has)g(not)f(b)q(een)i
+(set,)g(XBibT)1149 2408 y(E)1173 2399 y(X)f(will)e(displa)o(y)h(Message)i
+(#12)e(when)h(y)o(ou)179 2449 y(press)j(the)g Ff(ClipBo)n(ar)n(d)36
+b Fm(button.)31 b(If)18 b(this)g(en)o(vironmen)o(t)f(v)n(ariable)g(has)h(an)g
+(in)o(v)n(alid)e(path)i(or)h(\014lename,)965 2574 y(7)p eop
+%%Page: 8 8
+bop 179 307 a Fm(Message)15 b(#9)e(will)f(b)q(e)j(displa)o(y)o(ed.)i(When)d
+(the)h(clipb)q(oard)e(\014le)h(is)f(displa)o(y)o(ed,)g(the)i
+Ff(ClipBo)n(ar)n(d)27 b Fm(button,)13 b(is)179 357 y(gra)o(y)o(ed)i(to)g(mak)
+o(e)f(it)g(inop)q(erativ)o(e.)22 b(That)15 b(is,)g(y)o(ou)g(can)g(displa)o(y)
+f(only)h(one)g Fi(ClipBoard)g(Windo)o(w)f Fm(at)h(a)179 407
+y(time.)75 496 y Fi(Application)d(Resources:)20 b Fm(Y)m(ou)9
+b(ma)o(y)e(wish)j(to)f(load)f(the)j(resources)g(\014le)f(\\.xbibrc")f(to)g
+(the)h(resource)i(database)179 545 y(using)i(the)h(command)d(\\xrdb)j(-merge)
+f(.xbibrc.")19 b(This)c(will)e(giv)o(e)h(y)o(our)h(application)e(color)h
+(\(if)g(y)o(ou)g(ha)o(v)o(e)179 595 y(a)f(color)h(monitor\).)75
+684 y Fi(Clear/Ab)q(ort)g(Buttons:)19 b Fm(Practically)c(all)g(text)h(for)g
+(an)f(en)o(try)h(can)g(b)q(e)h(lost)e(b)o(y)h(pressing)g(either)h(the)f
+Ff(Cle)n(ar)179 734 y Fm(or)d(the)i Ff(A)o(b)n(ort)d Fm(buttons,)i(so)g
+(caution)f(m)o(ust)g(b)q(e)h(tak)o(en.)k(The)c Ff(Cle)n(ar)f
+Fm(button)h(clears)g(all)e(text)i(\014elds)h(except)179 784
+y(the)f(directory)h(and)f(k)o(ey)g(\014eld.)19 b(The)14 b Ff(A)o(b)n(ort)f
+Fm(button)i(p)q(ops)f(do)o(wn)g(the)g Fi(En)o(try)h(Windo)o(w)e
+Fm(\(e.g.,)g Fi(Article)179 834 y(Windo)o(w)p Fm(\),)f(in)h(e\013ect)j
+(killing)c(all)g(text)j(en)o(tered)g(in)f(text)g(\014elds.)75
+923 y Fi(Key:)22 b Fm(A)15 b(v)n(alid)g(XBibT)461 931 y(E)484
+923 y(X)h(k)o(ey)g(m)o(ust)f(b)q(egin)g(with)h(a)f(letter)i(\()p
+Fb(a)p Fh(\000)p Fm(z\).)25 b(If)15 b(this)h(is)g(not)g(the)g(case,)h
+(Message)g(#10)179 972 y(or)d(Message)i(#11)d(will)g(b)q(e)i(displa)o(y)o
+(ed.)j(The)d(k)o(ey)f(ma)o(y)f(b)q(e)i(en)o(tered)h(in)e(upp)q(ercase)i(or)e
+(lo)o(w)o(ercase)h(letters;)179 1022 y(but)f(when)h(it)e(is)h(sa)o(v)o(ed,)g
+(the)h(\014rst)g(c)o(haracter)g(is)f(con)o(v)o(erted)i(to)e(upp)q(er)h(case)g
+(and)f(the)g(remaining)e(ones)j(to)179 1072 y(lo)o(w)o(er)e(case.)179
+1141 y(XBibT)297 1150 y(E)320 1141 y(X)k(app)q(ends)h(an)f(index)h(letter)g
+(from)d Ff(a)j Fm(through)f Ff(z)g Fm(to)g(ev)o(ery)h(XBibT)1444
+1150 y(E)1467 1141 y(X)g(k)o(ey)f(to)g(generate)h(the)179 1191
+y(L)190 1186 y Fe(a)209 1191 y Fm(T)232 1204 y(E)255 1191 y(X)c(k)o(ey)m(.)j
+(This)c(w)o(a)o(y)g(y)o(ou)g(ma)o(y)f(use)i(the)g(same)f(XBibT)1097
+1200 y(E)1120 1191 y(X)g(k)o(ey)h(more)e(than)i(once,)f(and)h(XBibT)1743
+1200 y(E)1766 1191 y(X)f(will)179 1241 y(generate)k(di\013eren)o(t)g(L)524
+1236 y Fe(a)543 1241 y Fm(T)566 1253 y(E)590 1241 y(X)f(k)o(eys.)26
+b(This)16 b(metho)q(d)f(do)q(es)i(ha)o(v)o(e)f(the)h(restriction)g(that)f(y)o
+(ou)g(cannot)g(reuse)179 1291 y(an)o(y)d(giv)o(en)h(XBibT)484
+1300 y(E)507 1291 y(X)g(k)o(ey)g(more)f(than)h(t)o(w)o(en)o(t)o(y-six)f
+(times.)75 1380 y Fi(Required)h Ff(vs)i Fi(Optional)d(Fields:)18
+b Fm(Required)e(\014elds)f(are)h(those)g(that)f(m)o(ust)f(con)o(tain)h(text)h
+(for)f(XBibT)1769 1389 y(E)1792 1380 y(X)g(to)179 1429 y(sa)o(v)o(e)g(an)f
+(en)o(try)h(to)g(the)g(BibT)647 1438 y(E)670 1429 y(X)g(database.)21
+b(If)14 b(y)o(ou)g(fail)f(to)i(en)o(ter)h(text)f(in)o(to)f(these)i(\014elds,)
+f(Message)h(#1)179 1479 y(will)c(b)q(e)j(displa)o(y)o(ed.)179
+1549 y(T)m(o)h(simplify)e(programmi)o(ng)g(for)j(less)g(frequen)o(tly)g(used)
+h(en)o(tries,)g(w)o(e)f(ha)o(v)o(e)g(made)f(the)h(follo)o(wing)e(\014elds)179
+1598 y(mandatory)m(,)c(ev)o(en)k(though)e(they)i(are)f(optional)e(in)i(BibT)
+1093 1607 y(E)1116 1598 y(X:)p 504 1664 752 4 v 502 1714 4
+50 v 577 1699 a Fi(En)o(try)h(T)o(yp)q(e)p 891 1714 V 891 1714
+V 146 w(T)l(ext)h(Field)p 1254 1714 V 504 1717 752 4 v 502
+1767 4 50 v 545 1752 a Fm(Bo)q(oklet)p 891 1767 V 249 w(Author)p
+1254 1767 V 502 1817 V 891 1817 V 934 1802 a(Y)m(ear)p 1254
+1817 V 504 1820 752 4 v 502 1870 4 50 v 545 1855 a(Man)o(ual)p
+891 1870 V 252 w(Y)m(ear)p 1254 1870 V 504 1873 752 4 v 502
+1923 4 50 v 545 1908 a(Misc)p 891 1923 V 305 w(Title)p 1254
+1923 V 504 1926 752 4 v 502 1976 4 50 v 545 1961 a(Unpublished)p
+891 1976 V 162 w(Y)m(ear)p 1254 1976 V 504 1979 752 4 v 179
+2061 a(In)c(the)h(Bo)q(ok)f(and)g(In)o(b)q(o)q(ok)g(en)o(try)h(t)o(yp)q(es,)g
+(BibT)936 2070 y(E)959 2061 y(X)f(requires)h(either)g(an)f(\\Author")h(or)f
+(an)g(\\Editor")f(\014eld.)179 2111 y(XBibT)297 2120 y(E)320
+2111 y(X)k(allo)o(ws)f(y)o(ou)h(to)g(sp)q(ecify)h(an)f(author;)g(if)g(y)o(ou)
+g(wish)g(to)g(store)h(an)f(editor,)g(y)o(ou)g(should)g(store)h(it)179
+2161 y(as)h(author)h(and)f(then)h(edit)g(the)g(BibT)802 2170
+y(E)825 2161 y(X)g(database)f(\014le)h(generated)h(b)o(y)e(XBibT)1493
+2170 y(E)1516 2161 y(X.)g(Similarly)l(,)e(in)i(the)179 2211
+y(In)o(b)q(o)q(ok)c(en)o(try)h(t)o(yp)q(e,)f(BibT)617 2220
+y(E)640 2211 y(X)g(pro)o(vides)h(the)g(option)e(of)h(\\Chapter")g(and/or)g
+(\\P)o(ages")g(\014eld)g(t)o(yp)q(e.)19 b(Here)179 2261 y(XBibT)297
+2270 y(E)320 2261 y(X)14 b(pro)o(vides)g(for)g(\\Chapter"only)m(.)75
+2350 y Fi(Quotes:)20 b Fm(Double)13 b(quotes)j(en)o(tered)g(in)e(a)g(text)h
+(\014eld)f(are)h(remo)o(v)o(ed)f(unless)h(they)g(app)q(ear)f(at)h(the)g(b)q
+(eginning)f(of)179 2399 y(the)h(text,)f(in)g(whic)o(h)h(case)g(they)g
+(signify)e(that)i(the)g(text)g(is)f(to)g(b)q(e)h(written)g(to)f(the)h
+(database)g(\014le)f Ff(without)179 2449 y Fm(double)h(quotes)g(around)g(it.)
+21 b(Suc)o(h)15 b(a)g(\014eld)g(ma)o(y)e(not)i(con)o(tain)f(an)o(y)h(spaces,)
+h(tabs,)f(or)g(newlines;)g(it)g(m)o(ust)965 2574 y(8)p eop
+%%Page: 9 9
+bop 179 307 a Fm(b)q(e)17 b(a)f(constan)o(t)h(string)f(of)g(c)o(haracters.)27
+b(If)17 b(y)o(ou)e(violate)h(these)i(rules,)f(Message)g(#13)f(or)g(Message)i
+(#14)179 357 y(will)12 b(b)q(e)j(displa)o(y)o(ed.)75 446 y
+Fi(Keyw)o(ords)g(and)h(Annote)e(Fields:)19 b Fm(XBibT)835 454
+y(E)858 446 y(X)14 b(pro)o(vides)g(the)h Ff(keywor)n(ds)e Fm(and)h
+Ff(annote)h Fm(\014elds)f(for)g(the)g(main-)179 495 y(tenance)h(of)e(an)h
+(annotated)g(bibliograph)o(y)e(database.)18 b(Dep)q(ending)c(on)g(the)h
+(\014eld)e(selected,)j(an)d(item)179 545 y Fn(keywords)20 b(=)i
+("<information)d(you)i(entered>")179 595 y Fm(or)179 645 y
+Fn(annote)f(=)i("<information)d(you)43 b(entered>")179 695
+y Fm(is)12 b(added)i(to)e(the)i(bibliograph)o(y)d(en)o(try)m(.)17
+b(If)c(an)f(\\annote")h(or)g(\\k)o(eyw)o(ords")f(windo)o(w)g(w)o(as)h(op)q
+(ened,)h(it)e(m)o(ust)179 744 y(either)j(b)q(e)f(cancelled)h(or)e(b)q(e)i
+(nonempt)o(y)m(.)h(Otherwise)g(Message)f(#1)e(will)f(b)q(e)j(displa)o(y)o
+(ed.)75 860 y Fi(3)48 b(bibpro)q(cess)13 b(and)i(bibsearc)o(h)137
+939 y Fm(In)f(this)g(section)h(w)o(e)f(describ)q(e)h(t)o(w)o(o)f(related)g
+(utilities:)96 1026 y Fi(bibpro)q(cess)p Fm(:)h(whic)o(h)e(allo)o(ws)e(y)o
+(ou)i(to)g(merge)f(the)i(con)o(text)g(of)e(additional)g(\014elds)h(added)g
+(to)g(.bib)g(\014les)g(in)o(to)f(the)179 1076 y(.bbl)h(\014les)h(pro)q(duced)
+h(b)o(y)f(BibT)671 1085 y(E)694 1076 y(X,)f(and)96 1164 y Fi(bibsearc)o(h)p
+Fm(:)19 b(whic)o(h)c(allo)o(ws)g(y)o(ou)g(to)h(searc)o(h)h(for)e(the)h(L)982
+1159 y Fe(a)1001 1164 y Fm(T)1024 1177 y(E)1048 1164 y(X)g(k)o(eys)g(of)f
+(bibliograph)o(y)f(en)o(tries)j(con)o(taining)d(the)179 1214
+y(desired)h(information.)75 1329 y Fi(3.1)48 b(bibpro)q(cess)137
+1409 y Fm(By)18 b(no)o(w,)g(y)o(ou)f(ma)o(y)f(b)q(e)j(w)o(ondering)e(ho)o(w)g
+(to)h(merge)f(the)i(information)14 b(pro)o(vided)k(in)f(the)i(\\annote")e
+(and)75 1458 y(\\k)o(eyw)o(ords")d(\014elds)h(in)o(to)e(the)i(output)g
+(created)h(b)o(y)e(BibT)988 1467 y(E)1011 1458 y(X.)g(As)g(w)o(e)h(men)o
+(tioned)e(b)q(efore,)i(BibT)1617 1467 y(E)1640 1458 y(X)f(will)f(ignore)75
+1508 y(these)i(t)o(w)o(o)f(\014elds.)137 1559 y(Consider)k(the)g(output)g
+(pro)q(duced)g(b)o(y)f(BibT)861 1568 y(E)885 1559 y(X)g(when)h(w)o(e)g(cite)f
+(\\Ronnie87a")f(and)h(\\Ronnie87b.")27 b(\(F)m(or)75 1609 y(future)14
+b(reference,)i(assume)e(that)g(it)f(w)o(as)h(written)g(to)g
+Fn(test.bbl)p Fm(.\))75 1703 y Fd(\\begin{the)o(bi)o(bli)o(og)o(rap)o(hy})o
+({1)o(})75 1795 y(\\bibitem{R)o(on)o(nie)o(87)o(b})75 1840
+y(Ronald)j(Reagan.)75 1886 y(\\newblock)f({\\em)i(Hollywood)e(Dreams}.)75
+1932 y(\\newblock)g(Beverley)h(Hills)g(Press,)h(1987.)75 2023
+y(\\bibitem{R)o(on)o(nie)o(87)o(a})75 2069 y(Ronald)f(Reagan.)75
+2114 y(\\newblock)f(It)j(never)f(rains)f(in)i(southern)e(californi)o(a.)75
+2160 y(\\newblock)f({\\em)i(Sunny)g(Side)g(Up},)g(1\(3\):33--4)o(4,)e(1987.)
+75 2251 y(\\end{thebi)o(bl)o(iog)o(ra)o(phy)o(})137 2348 y
+Fm(Since)e(\\annote")f(is)g(a)f(k)o(eyw)o(ord)h(that)h(is)f(not)g(kno)o(wn)f
+(to)h(BibT)1130 2357 y(E)1153 2348 y(X,)g(the)h(information)c(in)i(the)i
+(\\annote")f(\014eld)75 2398 y(\(i.e.,)g(\\what)g(great)h(stu\013)s(!"\))19
+b(w)o(as)14 b(ignored.)137 2449 y(The)h Fi(bibpro)q(cess)c
+Fm(utilit)o(y)h(allo)o(ws)h(y)o(ou)g(to)h(merge)f(this)h(information)d(in)o
+(to)j(the)g(.bbl)f(\014le.)18 b(Its)c(syn)o(tax)g(is)965 2574
+y(9)p eop
+%%Page: 10 10
+bop 75 307 a Fn(bibprocess)20 b(<bibfile>)g([)h(<bibfile>)f(...)h(])h
+(<bblfile>)315 357 y(-f)f(<formatfile>)315 407 y(-k)g(<keyword>)f([)i(-k)f
+(<keyword>)f(...)h(])315 457 y([)g(-o)h(<outputfile>)d(])137
+536 y Fm(Giv)o(en)11 b(a)h Fn(<bblfile>)d Fm(\()j(a)f(\014le)h(with)f(a)g
+(.bbl)g(extension)i(\))e(pro)q(duced)i(b)o(y)f(BibT)1356 545
+y(E)1379 536 y(X)f(from)f(a)i(set)g(of)f Fn(<bibfiles>)75 586
+y Fm(\(\014les)i(with)g(a)g(.bib)f(extension)i(\),)e Fi(bibpro)q(cess)f
+Fm(app)q(ends)j(the)f(con)o(ten)o(ts)h(of)f(the)g(\014elds)h(sp)q(eci\014ed)g
+(b)o(y)f Fn(<keyword>)75 636 y Fm(to)g(the)g(corresp)q(onding)h(en)o(tries)g
+(in)f Fn(<bblfile>)p Fm(.)j(The)d(output)g(is)g(written)g(to)g
+Fn(<outputfile>)e Fm(if)h(the)h Fn(-o)g Fm(option)75 686 y(is)h(presen)o(t,)h
+(and)f(to)f Fn(stdout)g Fm(otherwise.)19 b(The)14 b Fn(<formatfile>)e
+Fm(sp)q(eci\014es)j(ho)o(w)f(the)g(new)h(information)c(is)j(to)f(b)q(e)75
+735 y(formatted.)137 785 y(Again,)d(things)g(are)g(easiest)h(to)f(understand)
+h(with)e(an)h(example.)16 b(Assume)10 b(that)g(w)o(e)g(wish)g(to)f(merge)h
+(the)g(\\k)o(ey-)75 835 y(w)o(ords")j(and)f(\\annote")h(information)d(that)j
+(XBibT)901 844 y(E)924 835 y(X)g(allo)o(w)o(ed)e(us)i(to)g(sp)q(ecify)m(.)18
+b(The)13 b(original)e(BibT)1686 844 y(E)1709 835 y(X)i(output)75
+885 y(is)d(in)f Fn(test.bbl)p Fm(,)g(the)h(bibliograph)o(y)e(\014le)i(w)o(as)
+g Fn(r.bib)p Fm(,)f(and)g(the)i(merged)e(output)h(should)g(go)f(to)h
+Fn(testmerged.bbl)75 935 y Fm(\(sa)o(y\).)18 b(W)m(e)c(issue)g(the)h(command)
+75 1014 y Fn(bibprocess)20 b(r.bib)g(test.bbl)h(-f)g(merge.fmt)f(-k)h
+(keywords)f(-k)i(annote)315 1064 y(-o)f(testmerged.bbl)75 1144
+y Fm(The)14 b(\014le)g Fn(merge.fmt)e Fm(con)o(tains)i(the)g(follo)o(wing)e
+(information:)75 1223 y Fn(annote)75 1273 y(before:)20 b(@\\newblock)g
+({{\\bf)h(annote:})f(@)75 1323 y(after:)h(@}@)75 1422 y(keywords)75
+1472 y(before:)f(@\\newblock)g({{\\bf)h(keywords:})f(@)75 1522
+y(after:)h(@}@)75 1597 y Fm(W)m(e)d(see)h(that)f(w)o(e)h(ha)o(v)o(e)f(an)g
+(en)o(try)h(for)f(eac)o(h)g(k)o(eyw)o(ord)g(that)h(is)f(to)g(b)q(e)h(merged,)
+f(and)g(for)g(eac)o(h)h(k)o(eyw)o(ord)f(w)o(e)75 1643 y(sp)q(ecify)c(what)g
+(string)g(to)g(place)g Ff(b)n(efor)n(e)f Fm(and)h Ff(after)f
+Fm(the)i(information)c(to)i(b)q(e)i(merged.)j(The)c(\\at")f(sign)h
+Fn(@)f Fm(is)h(used)75 1689 y(as)j(a)h(delimiter,)e(the)i(en)o(tries)g(m)o
+(ust)e(b)q(e)i(separated)h(b)o(y)e(blank)g(lines,)h(and)f(the)h
+Fn(<keywords>)d Fm(\(\\annote")i(and)75 1734 y(\\k)o(eyw)o(ords")g(in)g(our)h
+(example\))e(m)o(ust)g(b)q(e)i(sp)q(eci\014ed)h(with)e(lo)o(w)o(er-case)h(c)o
+(haracters.)31 b Fn(testmerged.bbl)14 b Fm(then)75 1780 y(con)o(tains)g(the)g
+(follo)o(wing)e(information:)75 1856 y Fd(\\begin{the)o(bi)o(bli)o(og)o(rap)o
+(hy})o({1)o(})75 1947 y(\\bibitem{R)o(on)o(nie)o(87)o(b})75
+1993 y(Ronald)17 b(Reagan.)75 2038 y(\\newblock)f({\\em)i(Hollywood)e
+(Dreams}.)75 2084 y(\\newblock)g(Beverley)h(Hills)g(Press,)h(1987.)75
+2130 y(\\newblock)e({{\\bf)i(annote:})e(What)i(great)g(stuff!})75
+2221 y(\\bibitem{R)o(on)o(nie)o(87)o(a})75 2267 y(Ronald)f(Reagan.)75
+2312 y(\\newblock)f(It)j(never)f(rains)f(in)i(southern)e(californi)o(a.)75
+2358 y(\\newblock)f({\\em)i(Sunny)g(Side)g(Up},)g(1\(3\):33--4)o(4,)e(1987.)
+75 2449 y(\\end{thebi)o(bl)o(iog)o(ra)o(phy)o(})954 2574 y
+Fm(10)p eop
+%%Page: 11 11
+bop 137 307 a Fm(W)m(e)16 b(see)i(that)e(the)h(\\annote")f(information)d(has)
+j(b)q(een)i(app)q(ended)f(to)f(the)h(\\Ronnie87a")d(en)o(try)j(using)f(the)75
+357 y(format)c(sp)q(eci\014ed)k(in)d Fn(merge.fmt)p Fm(.)k(There)e(w)o(as)f
+(no)f(\\k)o(eyw)o(ords")h(information,)d(so)j(no)f(\014elds)i(w)o(ere)g
+(created)g(for)75 407 y(it.)137 457 y(Using)g Fi(bibpro)q(cess)20
+b Fm(y)o(ou)15 b(can)h(th)o(us)f(augmen)o(t)f(the)i(functionalit)o(y)e(of)h
+(BibT)1371 466 y(E)1394 457 y(X)g(and)g(augmen)o(t)f(its)i(output)75
+507 y(with)e(an)o(y)f(n)o(um)o(b)q(er)g(of)g(user-de\014ned)j(\014elds.)75
+616 y Fi(3.2)48 b(bibsearc)o(h)137 693 y Fm(The)15 b(syn)o(tax)e(of)h
+Fi(bibsearc)o(h)d Fm(is)j(as)g(follo)o(ws:)75 776 y Fn(bibsearch)20
+b(<bibfile>)g(-k)h(<keyword>)f([-k)h(<keyword>])293 826 y([-o)g
+(<outputfile>])e(-s)j(<searchword>)75 910 y Fi(bibsearc)o(h)16
+b Fm(searc)o(hes)22 b(the)e Fn(title)e Fm(\014eld)h(and)g(the)h(\014elds)g
+(sp)q(eci\014ed)g(b)o(y)g Fn(<keyword>)d Fm(in)i(a)g(bibliograph)o(y)e
+(\014le)75 960 y Fn(<bibfile>)f Fm(for)i(an)g(o)q(ccurrence)j(of)c
+Fn(<searchword>)f Fm(and)i(prin)o(ts)g(the)h(L)1256 955 y Fe(a)1275
+960 y Fm(T)1298 972 y(E)1321 960 y(X)f(k)o(eys)h(of)e(all)g(en)o(tries)i
+(either)g(to)75 1009 y Fn(<outputfile>)11 b Fm(or)j Fn(stdout)p
+Fm(.)j(F)m(or)c(example,)75 1093 y Fn(bibsearch)20 b(r.bib)h(-k)g(annote)g
+(-s)g("great)g(stuff")75 1177 y Fm(will)12 b(pro)q(duce)75
+1261 y Fn(Ronnie87b)75 1344 y Fm(on)i(the)h(standard)g(output.)k(Note)c(that)
+f(one)h(m)o(ust)e(enclose)j(the)f(searc)o(h)g(string)f(in)g(quotes)h(if)f(it)
+g(con)o(tains)g(more)75 1394 y(than)g(one)g(w)o(ord.)137 1444
+y(In)20 b(summary)m(,)e Fi(bibsearc)o(h)f Fm(is)j(useful)g(for)f(retrieving)i
+(citations)e(con)o(taining)g(information)e(on)i(sp)q(eci\014ed)75
+1494 y(w)o(ords|in)13 b(particular,)g(if)g(one)i(main)o(tains)c(a)j(\\k)o
+(eyw)o(ords")f(en)o(try)i(in)e(the)i(BibT)1350 1503 y(E)1373
+1494 y(X)f(database.)75 1603 y Fi(4)48 b(Installati)o(on)13
+b(Guide)137 1680 y Fm(This)h(section)h(describ)q(es)h(ho)o(w)d(to)h(install)f
+(XBibT)928 1689 y(E)951 1680 y(X,)g Fi(bibpro)q(cess,)f Fm(and)i
+Fi(bibsearc)o(h.)75 1789 y(4.1)48 b(XBibT)320 1798 y(E)344
+1789 y(X)16 b(Installation)137 1866 y Fm(Belo)o(w)e(is)g(a)f(list)h(of)f
+(\014les)h(needed)i(for)d(XBibT)856 1875 y(E)880 1866 y(X)g(:)p
+255 1953 1154 4 v 253 2002 4 50 v 297 1988 a(Mak)o(e\014le:)p
+622 2002 V 206 w(mak)o(e.xbibtex)p 1407 2002 V 255 2006 1154
+4 v 253 2056 4 50 v 297 2041 a(X-Resource)i(\014le:)p 622 2056
+V 83 w(.xbibrc)p 1407 2056 V 255 2059 1154 4 v 253 2109 4 50
+v 297 2094 a(C-Header)g(\014le:)p 622 2109 V 118 w(xbibtex.h)p
+1407 2109 V 255 2112 1154 4 v 253 2162 4 50 v 297 2147 a(C-Source)g(\014les:)
+p 622 2162 V 110 w(xbibtex.c)159 b(lev)o(els.c)83 b(con\014rm.c)p
+1407 2162 V 253 2212 V 622 2212 V 666 2197 a(\014eld.c)219
+b(en)o(try)m(.c)89 b(opt.c)p 1407 2212 V 253 2261 V 622 2261
+V 666 2247 a(sa)o(v)o(e.c)p 1407 2261 V 255 2265 1154 4 v 137
+2357 a(F)m(or)14 b(XBibT)330 2366 y(E)353 2357 y(X)g(to)g(compile)e(and)i
+(execute)h(prop)q(erly)m(,)f(y)o(ou)f(m)o(ust)g(c)o(hec)o(k)i(that)137
+2449 y Fh(\017)21 b Fm(y)o(ou)13 b(are)h(running)g(X11)g(release)h(4;)954
+2574 y(11)p eop
+%%Page: 12 12
+bop 137 307 a Fh(\017)21 b Fm(y)o(ou)13 b(ha)o(v)o(e)h(access)i(to)d(the)i
+(X-T)m(o)q(olkit)d(library)h(\(see)i([1]\);)137 396 y Fh(\017)21
+b Fm(y)o(ou)13 b(ha)o(v)o(e)h(the)g(X-A)o(thena)h(Widget)e(Set)i(\(see)g([3)o
+(]\);)137 484 y Fh(\017)21 b Fm(the)14 b(mak)o(e\014le,)e(header)j(\014le,)f
+(and)f(all)g(source)i(\014les)f(are)h(con)o(tained)f(in)f(the)h(same)g
+(directory;)137 572 y Fh(\017)21 b Fm(the)14 b(macro)f(X)p
+408 572 13 2 v 15 w(DIR)g(in)h(\\mak)o(e\014le")d(is)j(set)h(to)f(the)g
+(directory)h(where)g(X)f(stores)h(its)f(header)h(\014les;)f(and)137
+661 y Fh(\017)21 b Fm(y)o(ou)13 b(ha)o(v)o(e)h(access)i(to)d(the)i(libX11,)d
+(libXt,)h(libXa)o(w,)f(libXm)o(u,)f(and)j(libXext)f(libraries.)75
+758 y(If)h(these)h(conditions)e(are)i(satis\014ed,)f(t)o(yping)75
+846 y Fn(make)21 b(-f)g(make.xbibtex)75 933 y Fm(will)12 b(create)k
+(\\xbibtex")d(in)h(the)g(curren)o(t)h(directory)m(.)75 1048
+y Fi(4.2)48 b(bibpro)q(cess)13 b(and)i(bibsearc)o(h)e(Installation)137
+1127 y Fm(Belo)o(w)h(is)g(a)f(list)h(of)f(the)i(\014les)f(needed)h(for)f
+Fi(bibpro)q(cess)d Fm(and)j Fi(bibsearc)o(h)p Fm(:)p 255 1174
+1160 4 v 253 1224 4 50 v 297 1209 a(Mak)o(e\014le:)p 595 1224
+V 179 w(mak)o(e.bibutils)p 1413 1224 V 255 1227 1160 4 v 253
+1277 4 50 v 297 1262 a(C-Header)h(\014le:)p 595 1277 V 91 w(globalbib.h)p
+1413 1277 V 255 1280 1160 4 v 253 1330 4 50 v 297 1315 a(C-Source)g(\014les:)
+p 595 1330 V 83 w(bibpro)q(cess.c)108 b(bibsearc)o(h.c)p 1413
+1330 V 253 1380 V 595 1380 V 639 1365 a(hash.c)212 b(init.c)190
+b(input.c)p 1413 1380 V 253 1430 V 595 1430 V 639 1415 a(parse.c)201
+b(sa)o(v)o(e.c)p 1413 1430 V 255 1433 1160 4 v 137 1526 a(T)m(o)13
+b(compile)g Fi(bibsearc)o(h)e Fm(and)i Fi(bibpro)q(cess)f Fm(in)h(the)i
+(curren)o(t)g(directo)o(y)m(,)e(issue)i(the)f(command)75 1615
+y Fn(make)21 b(-f)g(make.bibutils)e(<target>)75 1702 y Fm(where)e
+Fn(<target>)d Fm(is)h(either)i Fn(bibsearch)d Fm(or)i Fn(bibprocess)p
+Fm(,)d(or)j(missing,)e(in)h(whic)o(h)h(case)g(b)q(oth)g(programs)f(are)75
+1752 y(compiled.)75 1867 y Fi(Ac)o(kno)o(wledgmen)o(ts)137
+1946 y Fm(W)m(e)f(thank)g(Bill)e(Gropp)i(and)g(Rem)o(y)e(Ev)n(ard)i(for)f
+(their)h(friendly)g(help)g(with)f(X)h(Windo)o(ws)f(programming.)75
+2061 y Fi(App)q(endix:)19 b(XBibT)449 2070 y(E)474 2061 y(X)d(Messages)137
+2140 y Fm(Eac)o(h)d(message)f(has)h(a)f(sev)o(erit)o(y)h(lev)o(el)f(asso)q
+(ciated)h(with)f(it)g(indicating)g(the)h(seriousness)h(of)e(the)h
+(information)75 2190 y(rep)q(orted.)20 b(A)14 b(summary)d(is)j(giv)o(en)f(in)
+g(T)m(able)h(A-1.)137 2241 y(T)m(able)f(A-1:)18 b Fi(Message)e(Sev)o(erit)o
+(y)d(Lev)o(els)i(and)g(Their)f(In)o(terpretati)o(on)75 2338
+y(1)21 b Fm(ADD)p 217 2338 13 2 v 14 w(REQ)p 322 2338 V 15
+w(MSG)14 b(\(Sev)o(erit)o(y)g(Lev)o(el)g(3\))179 2388 y Fa(ERR)o(OR!)26
+b(T)m(ext)12 b(not)i(en)o(tered)f(in)h([\014eld)g(name])f(\014eld.)179
+2449 y(Either)h(en)o(ter)f(text)g(to)g(this)h(\014eld)g(or)f(eliminate)i
+(this)f(\014eld)g(with)g(the)f Fc(Canc)n(el)f Fa(button.)954
+2574 y Fm(12)p eop
+%%Page: 13 13
+bop 75 269 1314 4 v 73 319 4 50 v 117 304 a Fm(Sev)o(erit)o(y)14
+b(Lev)o(el)p 411 319 V 83 w(In)o(terpretation)p 1387 319 V
+75 322 1314 4 v 73 372 4 50 v 233 357 a(1)p 411 372 V 200 w(Information|)d
+(no)i(action)h(required)p 1387 372 V 75 375 1314 4 v 73 425
+4 50 v 233 410 a(2)p 411 425 V 200 w(P)o(ossible)g(mo)q(di\014cations)e(in)h
+(BibT)1003 419 y(E)1027 410 y(X)g(\014le)h(needed)p 1387 425
+V 75 428 1314 4 v 73 478 4 50 v 233 463 a(3)p 411 478 V 200
+w(Required)g(information)d(for)j(sa)o(ving)f(an)g(en)o(try)i(missing)p
+1387 478 V 75 482 1314 4 v 73 531 4 50 v 233 516 a(5)p 411
+531 V 200 w(XBibT)572 525 y(E)595 516 y(X)f(error)p 1387 531
+V 75 535 1314 4 v 75 655 a Fi(2)21 b Fm(A)o(UT)p 213 655 13
+2 v 15 w(EDI)p 303 655 V 15 w(MSG)13 b(\(Sev)o(erit)o(y)h(Lev)o(el)g(2\))179
+705 y Fa(W)l(ARNING!)25 b(Ma)o(y)13 b(need)h(to)f(edit)h(en)o(try)f(dep)q
+(ending)j(on)d(whether)179 755 y(y)o(ou)g(w)o(an)o(t)g(\014eld)h(name)g(to)f
+(b)q(e)g(\\Author")h(or)f(\\Editor.")179 805 y(Will)i(automatically)h(sa)o(v)
+o(e)e(\014eld)g(as)f(\\Author.")75 886 y Fi(3)21 b Fm(CANT)p
+244 886 V 15 w(SA)-5 b(VE)p 367 886 V 16 w(MSG)13 b(\(Sev)o(erit)o(y)i(Lev)o
+(el)f(3\))179 935 y Fa(ERR)o(OR!)26 b(Cannot)13 b(sa)o(v)o(e)h(en)o(try)f(to)
+g(bibliograp)q(h)o(y)j(database.)75 1066 y Fi(4)21 b Fm(CHA)p
+214 1066 V 15 w(P)m(A)o(G)p 317 1066 V 14 w(MSG)14 b(\(Sev)o(erit)o(y)g(Lev)o
+(el)g(2\))179 1116 y Fa(W)l(ARNING!)25 b(Ma)o(y)13 b(need)h(to)f(edit)h(en)o
+(try)f(dep)q(ending)j(on)d(whether)179 1166 y(y)o(ou)g(wish)h(the)f(\014eld)h
+(name)g(to)f(b)q(e)g(\\Chapter")h(and/or)g(\\P)o(ages.")179
+1216 y(Will)h(automatically)h(sa)o(v)o(e)e(\014eld)g(as)f(\\Chapter.")75
+1297 y Fi(5)21 b Fm(DIR)p 200 1297 V 14 w(EXIST)p 341 1297
+V 15 w(MSG)14 b(\(Sev)o(erit)o(y)g(Lev)o(el)g(3\))179 1347
+y Fa(ERR)o(OR!)26 b(Could)14 b(not)f(\014nd)h(Directory)g(\\[path].")75
+1428 y Fi(6)21 b Fm(ENTR)m(Y)p 270 1428 V 14 w(INF)o(O)p 388
+1428 V 15 w(MSG)14 b(\(Sev)o(erit)o(y)g(Lev)o(el)g(1\))179
+1477 y Fa(Bibliography)i(En)o(try)d(Information)208 1527 y(T)o(yp)q(e:)193
+b(\\[en)o(try)14 b(t)o(yp)q(e]")208 1577 y(Key:)211 b(\\[reference)13
+b(k)o(ey]")208 1627 y(DB)h(File)g(Name:)24 b(\\[database)14
+b(path)f(&)g(\014le)h(name]")75 1708 y Fi(7)21 b Fm(GET)p 213
+1708 V 14 w(LEV)p 312 1708 V 16 w(MSG)13 b(\(Sev)o(erit)o(y)i(Lev)o(el)f(5\))
+179 1758 y Fa(Program)f(ERR)o(OR!)179 1808 y(Chec)o(k)g(all)h(calls)h(to)e
+(function)h(GetWidget)p 815 1808 12 2 v 16 w(from)p 909 1808
+V 14 w(Lev)o(el\(\).)179 1857 y(T)m(rying)g(to)f(access)g(widget)h(from)f(in)
+o(v)n(alid)i(lev)o(el.)75 1938 y Fi(8)21 b Fm(INV)p 199 1938
+13 2 v 15 w(BKP)m(A)m(TH)p 389 1938 V 15 w(MSG)14 b(\(Sev)o(erit)o(y)g(Lev)o
+(el)g(5\))179 1988 y Fa(The)f(en)o(vironmen)o(t)i(v)n(ariable)g(\\XBIBTEX)p
+824 1988 12 2 v 13 w(BA)o(CKUP)p 1005 1988 V 14 w(P)m(A)m(TH")d(w)o(as)h(set)
+f(to)h(an)h(in)o(v)n(alid)h(path.)179 2038 y(Exit)f(XBibT)m(eX)f(and)g(set)g
+(XBIBTEX)p 751 2038 V 14 w(BA)o(CKUP)p 933 2038 V 13 w(P)m(A)m(TH)f(to)h(a)g
+(v)n(alid)i(path.)75 2119 y Fi(9)21 b Fm(INV)p 199 2119 13
+2 v 15 w(CLIPFILE)p 409 2119 V 15 w(MSG)14 b(\(Sev)o(erit)o(y)g(Lev)o(el)g
+(2\))179 2169 y Fa(Cannot)f(access)h(the)f(\014le)h(sp)q(eci\014ed)h(b)o(y)e
+(the)g(en)o(vironmen)o(t)179 2219 y(v)n(ariable)i(\\XBIBTEX)p
+524 2219 12 2 v 14 w(CLIPBO)o(ARD".)179 2268 y(The)e(\\ClipBoard")i(button)f
+(will)h(b)q(e)e(disabled.)75 2350 y Fi(10)20 b Fm(KEY)p 236
+2350 13 2 v 16 w(FMT)p 347 2350 V 15 w(MSG)14 b(\(Sev)o(erit)o(y)g(Lev)o(el)g
+(3\))179 2399 y Fa(The)f(k)o(ey)g(\\[Key]")g(is)g(incorrectly)j(formatted.)
+179 2449 y(The)d(\014rst)g(c)o(haracter)h(m)o(ust)f(b)q(e)g(a)g(letter.)954
+2574 y Fm(13)p eop
+%%Page: 14 14
+bop 75 307 a Fi(11)20 b Fm(KEY)p 236 307 13 2 v 16 w(REQ)p
+343 307 V 15 w(MSG)14 b(\(Sev)o(erit)o(y)g(Lev)o(el)g(3\))179
+357 y Fa(ERR)o(OR!)26 b(No)13 b(k)o(ey)g(en)o(tered!)k(En)o(ter)d(a)f(v)n
+(alid)h(k)o(ey)m(,)f(and)h(re-sa)o(v)o(e.)75 440 y Fi(12)20
+b Fm(NO)p 208 440 V 16 w(CLIPENV)p 413 440 V 15 w(MSG)14 b(\(Sev)o(erit)o(y)g
+(Lev)o(el)g(2\))179 490 y Fa(The)f(en)o(vironmen)o(t)i(v)n(ariable:)k
+(\\XBIBTEX)p 839 490 12 2 v 13 w(CLIPBO)o(ARD")13 b(has)h(not)f(b)q(een)h
+(set.)179 540 y(The)f(\\ClipBoard")i(button)f(will)h(b)q(e)e(disabled.)75
+623 y Fi(13)20 b Fm(QUOTE)p 298 623 13 2 v 16 w(FMT)p 409 623
+V 15 w(MSG)14 b(\(Sev)o(erit)o(y)g(Lev)o(el)g(3\))179 672 y
+Fa(T)m(ext)e(\014eld)j(\\[\014eld)f(name]")f(is)h(not)f(in)h(correct)f
+(format)g(for)f(an)i(abbreviation.)75 756 y Fi(14)20 b Fm(RM)p
+214 756 V 15 w(QUOTES)p 405 756 V 16 w(MSG)14 b(\(Sev)o(erit)o(y)g(Lev)o(el)g
+(1\))179 805 y Fa([n)o(um)f(of)s(])f(double)j(quote\(s\))f(remo)o(v)o(ed)f
+(from)g(En)o(try)g(\014eld)i(\\[\014eld)f(name].")75 888 y
+Fi(15)20 b Fm(STORE)p 289 888 V 16 w(LEV)p 390 888 V 15 w(MSG)13
+b(\(Sev)o(erit)o(y)i(Lev)o(el)f(5\))179 938 y Fa(Program)f(ERR)o(OR!)179
+988 y(Chec)o(k)g(all)h(calls)h(to)e(the)g(function)h(StoreWidget)p
+906 988 12 2 v 16 w(to)p 956 988 V 14 w(Lev)o(el\(\).)179 1038
+y(T)m(rying)g(to)f(store)g(widget)g(to)g(in)o(v)n(alid)j(lev)o(el.)75
+1121 y Fi(16)k Fm(TXT)p 236 1121 13 2 v 16 w(REQ)p 343 1121
+V 15 w(MSG)13 b(\(Sev)o(erit)o(y)h(Lev)o(el)g(3\))179 1171
+y Fa(ERR)o(OR!)26 b(T)m(ext)12 b(not)i(en)o(tered)f(in)h(\\[\014eld)g(name]")
+f(\014eld.)75 1254 y Fi(17)20 b Fm(WR)m(T)p 246 1254 V 14 w(FILE)p
+356 1254 V 15 w(MSG)14 b(\(Sev)o(erit)o(y)g(Lev)o(el)g(3\))179
+1303 y Fa(Y)m(ou)f(do)g(not)g(ha)o(v)o(e)h(write)f(access)h(to)e(\014le)179
+1353 y(\\[\014le)i(name].")75 1436 y Fi(18)20 b Fm(WR)m(T)p
+246 1436 V 14 w(P)m(A)m(TH)p 374 1436 V 15 w(MSG)13 b(\(Sev)o(erit)o(y)i(Lev)
+o(el)f(3\))179 1486 y Fa(Y)m(ou)f(do)g(not)g(ha)o(v)o(e)h(write)f(access)h
+(to)e(directory)179 1536 y(\\[path)h(name].")75 1619 y Fi(19)20
+b Fm(default)14 b(\(Sev)o(erit)o(y)g(Lev)o(el)g(5\))179 1669
+y Fa(Program)f(ERR)o(OR!)179 1719 y(Chec)o(k)g(all)h(calls)h(to)e(function)h
+(P)o(opup)p 739 1719 12 2 v 15 w(Messageshell\(\).)179 1768
+y(Unkno)o(wn)f(error)h(t)o(yp)q(e)f(passed)h(to)f(function.)75
+1876 y Fi(References)75 1953 y Fm([1])20 b(Jo)q(el)11 b(McCormac)o(k,)f(P)o
+(aul)h(Asen)o(te,)h(and)f(Ralph)f(R.)g(Swic)o(k,)h Ff(X)h(T)m(o)n(olkit)g
+(Intrinsics)f({)i(C)f(L)n(anguage)i(Interfac)n(e,)140 2003
+y(X)g(Window)i(System,)f(X)f(V)m(ersion)h(11,)g(R)n(ele)n(ase)g(4)p
+Fm(,)e(Decem)o(b)q(er)h(1989.)75 2086 y([2])20 b(Leslie)d(Lamp)q(ort,)f(L)458
+2081 y Fe(a)477 2086 y Fm(T)500 2098 y(E)523 2086 y(X)i Ff(User's)f(Guide)h
+(and)h(R)n(efer)n(enc)n(e)e(Manual)p Fm(,)h(Addison-W)m(esley)m(,)f(Reading,)
+f(Mass.,)140 2136 y(1986.)75 2219 y([3])k(Chris)c(D.)f(P)o(eterson,)j
+Ff(A)o(thena)f(Widget)g(Set)g({)g(C)g(L)n(anguage)h(Interfac)n(e,)e(X)h
+(Window)g(System,)h(X)e(V)m(ersion)140 2268 y(11,)f(R)n(ele)n(ase)g(4)p
+Fm(,)e(Decem)o(b)q(er)h(1989.)954 2574 y(14)p eop
+%%Trailer
+end
+userdict /end-hook known{end-hook}if
+%%EOF
diff --git a/biblio/bibtex/utils/xbibtex/xbibtex.shar.gz b/biblio/bibtex/utils/xbibtex/xbibtex.shar.gz
new file mode 100644
index 0000000000..3f48b71716
--- /dev/null
+++ b/biblio/bibtex/utils/xbibtex/xbibtex.shar.gz
Binary files differ
diff --git a/biblio/bibtex/vms/00read_bibtex.vms b/biblio/bibtex/vms/00read_bibtex.vms
new file mode 100644
index 0000000000..c76c19e048
--- /dev/null
+++ b/biblio/bibtex/vms/00read_bibtex.vms
@@ -0,0 +1,33 @@
+*** File == 00READ_BIBTEX.VMS == *** 06-July-1995
+
+This directory contains files that port BibTeX to OpenVMS:
+
+ bibtex.vms-changes Change file to BibTeX 0.99c for VMS
+
+ bibtex_cli.cld DCL command interface definition,
+ version to be compiled into the executable
+
+ bibtex.cld DCL command interface definition,
+ version for inclusion in command table.
+
+ bibtex.rnh Runoff source of VMS Help entry for BibTeX
+
+ make_bibtex.com Command procedure to tangle, compile, and link BibTeX
+ You need a working Tangle and the {DEC|VAX} Pascal
+ compiler to run this procedure.
+
+ link_bibtex.com Command procedure to relink BibTeX, required
+ prerequisites are the BIBTEX.{VAX|AXP}_OBJ
+ suitable for your system, and the BIBTEX_CLI.CLD
+ source file.
+
+The contents of this directory are copied from the VMS port BibTeX source
+archive, currently located in "/tex_archive/systems/vms/src/bibtex.zip".
+These files may not be up to date. If in doubt, please check the vms/
+branch in the "tex_archive/systems/" directory tree; there is the primary
+location of VMS specific stuff.
+
+Christian Spieler
+<spieler@linac.ikp.physik.th-darmstadt.de>
+
+*** End of == 00READ_BIBTEX.VMS == ***
diff --git a/biblio/bibtex/vms/bibtex.cld b/biblio/bibtex/vms/bibtex.cld
new file mode 100644
index 0000000000..d7d890b5f7
--- /dev/null
+++ b/biblio/bibtex/vms/bibtex.cld
@@ -0,0 +1,27 @@
+! CLD file for BibTeX.
+! (HMC Implementation 8-June-1990)
+! Don Hosek
+module bibtex_cli
+define verb BIBTEX
+image TEX_EXE:BIBTEX.EXE
+ parameter p1,label=filespec,prompt="Input file",value(type=$infile)
+ qualifier STATS, ! default is /NOSTATS
+ negatable,
+ placement=global
+ qualifier TRACE, ! default is /NOTRACE
+ negatable,
+ placement=global
+ qualifier BSTINPUTS,
+ placement=global,
+ default,
+ nonnegatable,
+ value(default="TEX_BST:")
+ qualifier BIBINPUTS,
+ placement=global,
+ default,
+ nonnegatable,
+ value(default="TEX_BIB:")
+ qualifier MIN_CROSSREFS,
+ placement=global,
+ nonnegatable,
+ value(required, type=$number)
diff --git a/biblio/bibtex/vms/bibtex.rnh b/biblio/bibtex/vms/bibtex.rnh
new file mode 100644
index 0000000000..c8cb137ccd
--- /dev/null
+++ b/biblio/bibtex/vms/bibtex.rnh
@@ -0,0 +1,833 @@
+.!
+.! This is a RUNOFF source file that produces part of a VMS-style HELP
+.! library for the August DECUS TeX Collection. To build the library,
+.! execute MAKE_TEX_HLB.COM.
+.!
+.! Stuff I mean to fill in is marked with ???
+.! Stuff that needs work in the Collection is marked with ".!" in column 1,
+.! except for this comment.
+.!
+.NO PAGING
+.NO FLAGS ALL
+.LEFT MARGIN 1
+.RIGHT MARGIN 70
+
+.INDENT -1
+1 BIBTEX
+.INDENT 5
+Invokes the BibTeX utility to compile a bibliography file for LaTeX.
+Full details can be found in "LaTeX: A Document Preparation System" by
+Leslie Lamport.
+.SKIP
+Format:
+.SKIP
+.INDENT +3
+BIBTEX top_level_aux_file
+.SKIP
+Documentation for BibTeX can be found in TEX_ROOT:[DOC.BIBTEX].
+The vast majority of this help entry was taken from the original BibTeX
+documentation. This documentation has since become Appendix B of
+"LaTeX: A Document Preparation System".
+.INDENT -1
+2 Parameters
+.INDENT -1
+top_level_aux_file
+.SKIP
+Specifies the name of the .AUX file to be processed by BibTeX. This file
+specification MUST NOT include an extension (file type). BibTeX assumes
+the extension .AUX as produced by the LaTeX macro package.
+.SKIP
+The file name given is used by BibTeX to construct the output file
+names for the log file (.BLG) and references list (.BBL). The output
+files are written to the location where the top level .AUX input file
+was found.
+.SKIP
+.INDENT -1
+2 Bibliography_file
+.BREAK
+A bibliography database file may contains two types of entry - an
+abbreviation definition or a reference entry for citation.
+.INDENT -1
+3 @STRING_command
+.INDENT 5
+The @STRING command is used to define abbreviations for use by BibTeX
+within the bibliography database file. The command
+.SKIP
+.INDENT +3
+@string{jgg1 = "Journal of Gnats and Gnus, Series~1"}
+.SKIP
+defines 'jgg1' to be the abbreviation for the string "Journal of Gnats
+and Gnus, Series~1". Parentheses can be used in place of the outermost
+braces in the @string command, and braces can be used instead of the
+quotation marks. The text must have matching braces.
+.SKIP
+The case of letters is ignored in an abbreviation as well as in the
+command name @string, so the command above could have been written:
+.SKIP
+.INDENT +3
+@STRING{JgG1 = "Journal of Gnats and Gnus, Series~1"}
+.SKIP
+A @string command can appear anywhere before or between entries in a
+bibliography database file. However, it must come before any use of
+the abbreviation, so a sensible place for @string commands is at the
+beginning of the file. A @string command in the bibliography database
+file takes precedence over a definition made by the bibliography
+style, so it can be used to change the definition of an abbreviation
+such as 'Feb'.
+.INDENT -1
+3 Entry_format
+.INDENT 5
+A bibliography database file contains a series of reference entries
+like the following:
+.SKIP
+.LITERAL
+ @BOOK{kn:gnus,
+ AUTHOR = "Donald E. Knudson",
+ TITLE = "1966 World Gnus Almanac",
+ PUBLISHER = {Permafrost Press},
+ ADDRESS = {Novisibirsk} }
+.END LITERAL
+.SKIP
+The @BOOK states that this is an entry of type book. various entry
+types are described below. The 'kn:gnus' is the citation key, as it
+appears in the argument of a \cite command referring to the entry.
+.SKIP
+This entry has four fields, named AUTHOR, TITLE, PUBLISHER and
+ADDRESS. The meanings of these and other fields are described below. A
+field consists of the name, an '=' character with optional space
+around it, followed by its text. The text of a field is a string of
+characters, with no unmatched braces, surrounded by either a pair of
+braces or a pair of '"' characters . Entry fields are separated from
+one another, and from the citation key, by commas. A comma may have
+optional space around it.
+.SKIP
+The outermost braces that surround the entire entry may be replaced by
+parentheses. As in TeX input files, an end-of-line character counts as
+a space and one space is equivalent to many spaces. Unlike TeX, BibTeX
+ignores the case of letters in the entry type, citation key and field
+names. The above entry could have been typed as follows:
+.SKIP
+.LITERAL
+ @BOOK(kn:gnus, author = {Donald E. Knudson},
+ TITLE = "1966 World Gnus
+ Almanac",
+ PUBLISHER = {Permafrost Press},
+ ADDRESS = {Novisibirsk} )
+.END LITERAL
+.SKIP
+However, the case of letters does matter to LaTeX, so the citation key
+should appear exactly the same in all \cite commands in the LaTeX
+input file.
+.SKIP
+The quotes or braces can be omitted around text consisting entirely of
+numerals. the following two fields are equivalent:
+.SKIP
+.LITERAL
+ Volume = "27" Volume = 27
+.END LITERAL
+.INDENT -1
+3 Entry_types
+.BREAK
+When entering a reference in the bibliography database, the first
+thing to decide is what type of entry it is. No fixed classification
+scheme can be complete, but BibTeX provides enough entry types to
+handle almost any reference reasonably well.
+.SKIP
+References to different types of publications contain different
+information; a reference to a journal might include the volume and
+number of the journal, which is usually not meaningful for a book.
+Therefore, database entries of different types have different fields.
+for each entry type, the fields are divided into three classes:
+.SKIP
+.LITERAL
+o Required
+ omitting the field will produce an error message and may
+ result in a badly formatted bibliography entry. If the
+ required information is not meaningful, you are using
+ the wrong entry type.
+o Optional
+ the field's information will be used if present, but can
+ be omitted without causing any formatting problems. A
+ reference should contain any available information that
+ might help the reader, so you should include the optional
+ field if it is applicable.
+o Ignored
+ the field is ignored. BibTeX ignores any field that is
+ not required or optional, so you can include any fields
+ you want in a bibliography entry. It's often a good idea
+ to put all relevant information about a reference in its
+ bibliography entry - even information that may never
+ appear in the bibliography. For example, if you want to
+ keep an abstract of a paper in a computer file, put it in
+ an 'abstract' field in the paper's bibliography entry.
+ The bibliography database file is likely to be as good a
+ place as any for the abstract, and it is possible to
+ design a bibliography style for printing selected
+ abstracts.
+.END LITERAL
+.INDENT -1
+4 article_entry
+.INDENT 5
+An article from a journal or magazine.
+.SKIP
+.LITERAL
+Format: @ARTICLE{citation_key,
+ required_fields [, optional_fields] }
+.END LITERAL
+.SKIP
+Required fields: author, title, journal, year
+.BREAK
+Optional fields: volume, number, pages, month, note, key
+.INDENT -1
+4 book_entry
+.INDENT 5
+A book with an explicit publisher.
+.SKIP
+.LITERAL
+Format: @BOOK{citation_key,
+ required_fields [, optional_fields] }
+.END LITERAL
+.SKIP
+Required fields: author or editor, title, publisher, year
+.BREAK
+Optional fields: volume, series, address, edition, month, note, key
+.INDENT -1
+4 booklet_entry
+.INDENT 5
+A work that is printed and bound, but without a named publisher
+or sponsoring institution.
+.SKIP
+.LITERAL
+Format: @BOOKLET{citation_key,
+ required_fields [, optional_fields] }
+.END LITERAL
+.SKIP
+Required fields: title
+.BREAK
+Optional fields: author, howpublished, address, month, year, note, key
+.INDENT -1
+4 conference_entry
+.INDENT 5
+An article in the proceedings of a conference. This entry is identical
+to the 'inproceedings' entry and is included for compatibility with
+another text formatting system.
+.SKIP
+.LITERAL
+Format: @CONFERENCE{citation_key,
+ required_fields [, optional_fields] }
+.END LITERAL
+.SKIP
+Required fields: author, title, booktitle, year
+.BREAK
+Optional fields: editor, pages, organization, publisher, address,
+ month, note, key
+.INDENT -1
+4 inbook_entry
+.INDENT 5
+A part of a book, which may be a chapter and/or a range of pages.
+.SKIP
+.LITERAL
+Format: @INBOOK{citation_key,
+ required_fields [, optional_fields] }
+.END LITERAL
+.SKIP
+Required fields: author or editor, title, chapter and/or pages,
+ publisher, year
+.BREAK
+Optional fields: volume, series, address, edition, month, note, key
+.INDENT -1
+4 incollection_entry
+.INDENT 5
+A part of a book with its own title.
+.SKIP
+.LITERAL
+Format: @INCOLLECTION{citation_key,
+ required_fields [, optional_fields] }
+.END LITERAL
+.SKIP
+Required fields: author, title, booktitle, year
+.BREAK
+Optional fields: editor, pages, organization, publisher, address,
+ month, note, key
+.INDENT -1
+4 inproceedings_entry
+.INDENT 5
+An article in the proceedings of a conference.
+.SKIP
+.LITERAL
+Format: @INPROCEEDINGS{citation_key,
+ required_fields [, optional_fields] }
+.END LITERAL
+.SKIP
+Required fields: author, title, booktitle, year
+.BREAK
+Optional fields: editor, pages, organization, publisher, address,
+ month, note, key
+.INDENT -1
+4 manual_entry
+.INDENT 5
+Technical documentation.
+.SKIP
+.LITERAL
+Format: @MANUAL{citation_key,
+ required_fields [, optional_fields] }
+.END LITERAL
+.SKIP
+Required fields: title
+.BREAK
+Optional fields: author, organization, address, edition, month,
+ year, note, key
+.INDENT -1
+4 mastersthesis_entry
+.INDENT 5
+A Master's thesis.
+.SKIP
+.LITERAL
+Format: @MASTERSTHESIS{citation_key,
+ required_fields [, optional_fields] }
+.END LITERAL
+.SKIP
+Required fields: author, title, school, year
+.BREAK
+Optional fields: address, month, note, key
+.INDENT -1
+4 misc_entry
+.INDENT 5
+Use this type when nothing else seems appropriate.
+.SKIP
+.LITERAL
+Format: @MISC{citation_key,
+ required_fields [, optional_fields] }
+.END LITERAL
+.SKIP
+Required fields: none
+.BREAK
+Optional fields: author, title, howpublished, month, year, note, key
+.INDENT -1
+4 phdthesis_entry
+.INDENT 5
+A PhD thesis.
+.SKIP
+.LITERAL
+Format: @PHDTHESIS{citation_key,
+ required_fields [, optional_fields] }
+.END LITERAL
+.SKIP
+Required fields: author, title, school, year
+.BREAK
+Optional fields: address, month, note, key
+.INDENT -1
+4 proceedings_entry
+.INDENT 5
+The proceedings of a conference.
+.SKIP
+.LITERAL
+Format: @PROCEEDINGS{citation_key,
+ required_fields [, optional_fields] }
+.END LITERAL
+.SKIP
+Required fields: title, year
+.BREAK
+Optional fields: editor, publisher, organization, address, month, note,
+ key
+.INDENT -1
+4 techreport_entry
+.INDENT 5
+A report published by a school or other institution, usually numbered
+within a series.
+.SKIP
+.LITERAL
+Format: @TECHREPORT{citation_key,
+ required_fields [, optional_fields] }
+.END LITERAL
+.SKIP
+Required fields: author, title, institution, year
+.BREAK
+Optional fields: type, number, address, month, note, key
+.INDENT -1
+4 unpublished_entry
+.INDENT 5
+A document with an author and title, but not formally published.
+.SKIP
+.LITERAL
+Format: @UNPUBLISHED{citation_key,
+ required_fields [, optional_fields] }
+
+.END LITERAL
+.SKIP
+Required fields: author, title, note
+.BREAK
+Optional fields: month, year, key
+.INDENT -1
+3 Field_text
+.SKIP
+The text of the field is enclosed in braces or double quote characters.
+A part of the text is said to be enclosed in braces if it lies inside
+a matching pair of braces other than the ones enclosing the entire
+entry or the entire field text.
+.INDENT -1
+4 Names
+.INDENT 5
+The text of an author or editor field represents a list of names. The
+bibliography style determines the format in which the name is printed:
+whether the first name or last name appears first, if the full first
+name or just the first initial is used, etc. The bibliography file
+entry simply tells BibTeX what the name is.
+.SKIP
+You should type an author's complete name and let the bibliography
+style decide what to abbreviate. (But an author's complete name may be
+"Donald~E. Knuth" or even "J.~P.~Morgan"; you should type it the way
+the author would like it to appear, if that's known.)
+.SKIP
+Most names can be entered in the obvious way, either with or without a
+comma, as in the following examples.
+.SKIP
+.LITERAL
+ "John Paul Jones" "Jones, John Paul"
+ "Ludwig von Beethoven" "von Beethoven, Ludwig"
+.END LITERAL
+.SKIP
+Some people have multiple last names - for example, Per Brinch
+Hansen's last name is Brinch~Hansen. His name should be typed with a
+comma:
+.SKIP
+.LITERAL
+ "Brinch Hansen, Per"
+.END LITERAL
+.SKIP
+To understand why, you must understand how BibTeX handles names (for
+what follows, a "name" corresponds to a person).
+.SKIP
+Each name consists of four parts: First, von, Last, and~Jr; each part
+consists of a (possibly empty) list of name-tokens. For example the
+First part of Per Brinch~Hansen's name has the single token "Per"; the
+Last part has two, "Brinch" and "Hansen"; and the von and Jr parts are
+empty. If you had typed
+.SKIP
+.LITERAL
+ "Per Brinch Hansen"
+.END LITERAL
+.SKIP
+instead, BibTeX would erroneously think "Brinch" were a First-part
+token, just as "Paul" is a First-part token in "John~Paul Jones".
+.SKIP
+Here's another example:
+.SKIP
+.LITERAL
+ "Charles Louis Xavier Joseph de la Vallee Poussin"
+.END LITERAL
+.SKIP
+This name has four tokens in the First part, two in the von, and two
+in the Last. Here BibTeX knows where one part ends and the other
+begins because the tokens in the von part begin with lower-case
+letters.
+.SKIP
+If you want BibTeX to consider something a single token, enclose it in
+braces. You should do this, for example, if a comma is part of a name:
+.SKIP
+.LITERAL
+ "{Barnes and Noble, Inc.}"
+ "{Barnes and} {Noble, Inc.}"
+ "{Barnes} {and} {Noble,} {Inc.}"
+.END LITERAL
+.SKIP
+The braces surrounding the comma keep "Inc." from being interpreted as
+a First token; this name has only a Last part, with either one, two,
+or four tokens (there must be a space separating the tokens in the
+second and third forms). Probably the second form is slightly more
+meaningful, but don't lose sleep over this since only rarely will an
+institution be an author or editor.
+.SKIP
+So the two names
+.SKIP
+.LITERAL
+ "von Beethoven, Ludwig" "{von Beethoven}, Ludwig"
+.END LITERAL
+.SKIP
+are considered by BibTeX to be different names. In the first,
+"Beethoven" is the Last part and "von" is the von part; in the second,
+which in this case happens to be incorrect, the Last part has a single
+token and there's no von part. The bibliography style will probably
+print both the same, but it may alphabetize and label them
+differently.
+.SKIP
+"Juniors" pose a special problem. Most people having "Jr." in their
+name precede it with a comma. Such a name should be entered as
+follows:
+.SKIP
+.LITERAL
+ "Ford, Jr., Henry"
+.END LITERAL
+.SKIP
+However, a few people do not use a comma. They are handled by
+considering the "Jr." to be part of the last Last token:
+.SKIP
+.LITERAL
+ "{Steele Jr.}, Guy L." "Guy L. {Steele Jr.}"
+.END LITERAL
+.SKIP
+This name has no Jr part.
+.SKIP
+To summarize, you may type a name in one of three forms:
+.SKIP
+.LITERAL
+ "First von Last"
+ "von Last, First"
+ "von Last, Jr, First"
+.END LITERAL
+.SKIP
+You may almost always use the first form; you shouldn't if either
+there's a Jr part or the Last part has multiple tokens but there's no
+von part.
+.SKIP
+If there are multiple authors or editors, their names must be
+separated by the word "and", surrounded by spaces, not enclosed in
+braces:
+.SKIP
+.LITERAL
+ AUTHOR = "Ralph Alpher and Bethe, Hans and George Gamow"
+.END LITERAL
+.SKIP
+Since BibTeX interprets commas as separating parts of a name and "and"
+as separating names themselves, this example has three coauthors:
+Ralph Alpher, Hans Bethe, and George Gamow. If the word "and" appears
+as part of a name, it must be enclosed in braces, as in the example of
+"Barnes and Noble,~Inc." given above. If you have too many names to
+list in a field, you can end the list with "and others"; the standard
+styles appropriately append an "et al."
+.SKIP
+BibTeX's rules are actually a bit more complicated than indicated
+here, but this description will suffice for most names.
+.INDENT -1
+4 Titles
+.INDENT 5
+The bibliography style determines whether or not a title is
+capitalized; the titles of books usually are, the title of articles
+usually are not. You type a title the way it should appear if it is
+capitalized (you should capitalize everything but articles and
+unstressed conjunctions and prepositions, and even these should be
+capitalized as the first word or the first after a colon):
+.SKIP
+.LITERAL
+ TITLE = "The Agony and the Ecstasy"
+.END LITERAL
+.SKIP
+BibTeX will change uppercase letters to lowercase if appropriate.
+Uppercase letters that should not be changed are enclosed in braces.
+The following two titles are equivalent; the "A" of "Africa" will not
+be made lowercase.
+.SKIP
+.LITERAL
+ "The Gnats and Gnus of {Africa}"
+ "The Gnats and Gnus of {A}frica"
+.END LITERAL
+.INDENT -1
+4 Abbreviations
+.INDENT 5
+Instead of an ordinary text string, the text of a field can be
+replaced by an abbreviation for it. An abbreviation is a string of
+characters that starts with a letter and does not contain a space or
+any of the following ten characters:
+.SKIP
+.LITERAL
+ " # % ' ( ) , = { }
+.END LITERAL
+.SKIP
+The abbreviation is typed in place of the text field, with no braces or
+quotation marks. If 'jgg1' is an abbreviation for
+.SKIP
+.LITERAL
+ Journal of Gnats and Gnus, Series~1
+.END LITERAL
+.SKIP
+then the following are equivalent:
+.SKIP
+.LITERAL
+ JOURNAL = jgg1
+ JOURNAL = "Journal of Gnats and Gnus, Series~1"
+.END LITERAL
+.SKIP
+Some abbreviations are predefined by the bibliography style. These
+always include the usual 3 letter abbreviations for the month: jan,
+feb, mar etc.
+.SKIP
+Bibliography styles usually contain abbreviations for the names of
+commonly referenced journals. Consult the Local Guide for a list of
+the predefined abbreviations for the bibliography styles available.
+.SKIP
+You can define your own abbreviations by using BibTeX's @STRING command.
+.INDENT -1
+3 Field_types
+.INDENT 5
+Below is a list of all fields recognized by the standard bibliography
+styles. An entry can also contain other fields, which are ignored by
+those styles.
+.INDENT -1
+4 address_field
+.INDENT 5
+Publisher's address. For major publishing houses, just the city is
+given. For small publishers, you can help the reader by giving the
+complete address.
+.SKIP
+.LITERAL
+Format: ADDRESS = field_text
+.END LITERAL
+.INDENT -1
+4 annote_field
+.INDENT 5
+An annotation, used only for annotated bibliography styles (which are
+not among the standard ones).
+.SKIP
+.LITERAL
+Format: ANNOTE = field_text
+.END LITERAL
+.INDENT -1
+4 author_field
+.INDENT 5
+The name(s) of the author(s).
+.SKIP
+.LITERAL
+Format: AUTHOR = field_text
+.END LITERAL
+.INDENT -1
+4 booktitle_field
+.INDENT 5
+Title of a book, part of which is being cited.
+.SKIP
+.LITERAL
+Format: BOOKTITLE = field_text
+.END LITERAL
+.INDENT -1
+4 chapter_field
+.INDENT 5
+A chapter number.
+.SKIP
+.LITERAL
+Format: CHAPTER = field_text
+.END LITERAL
+.INDENT -1
+4 edition_field
+.INDENT 5
+The edition of a book - for example, "second".
+.SKIP
+.LITERAL
+Format: EDITION = field_text
+.END LITERAL
+.INDENT -1
+4 editor_field
+.INDENT 5
+Name(s) of editor(s). If there is also an "author" field, then the
+"editor" field gives the editor of the book or collection in which the
+reference appears.
+.SKIP
+.LITERAL
+Format: EDITOR = field_text
+.END LITERAL
+.INDENT -1
+4 howpublished_field
+.INDENT 5
+How something strange has been published.
+.SKIP
+.LITERAL
+Format: HOWPUBLISHED = field_text
+.END LITERAL
+.INDENT -1
+4 institution_field
+.INDENT 5
+The institution that published the work.
+.SKIP
+.LITERAL
+Format: INSTITUTION = field_text
+.END LITERAL
+.INDENT -1
+4 journal_field
+.INDENT 5
+A journal name. Abbreviations are provided for many journals; see the
+Local Guide.
+.SKIP
+.LITERAL
+Format: JOURNAL = field_text
+.END LITERAL
+.INDENT -1
+4 key_field
+.INDENT 5
+Used for alphabetizing and creating a label when the "author" and
+"editor" fields are missing. This field should not be confused with
+the citation key that appears in the \cite command and at the
+beginning of the entry.
+.SKIP
+.LITERAL
+Format: KEY = field_text
+.END LITERAL
+.INDENT -1
+4 month_field
+.INDENT 5
+The month in which the work was published or, for an unpublished work,
+in which it was written.
+.SKIP
+.LITERAL
+Format: MONTH = field_text
+.END LITERAL
+.INDENT -1
+4 note_field
+.INDENT 5
+Any additional information that can help the reader.
+.SKIP
+.LITERAL
+Format: NOTE = field_text
+.END LITERAL
+.INDENT -1
+4 number_field
+.INDENT 5
+The number of a journal, magazine, or technical report. An issue of a
+journal or magazine is usually identified by its volume and number;
+the organization that issues a technical report usually gives it a
+number.
+.SKIP
+.LITERAL
+Format: NUMBER = field_text
+.END LITERAL
+.INDENT -1
+4 organization_field
+.INDENT 5
+The organization sponsoring a conference.
+.SKIP
+.LITERAL
+Format: ORGANIZATION = field_text
+.END LITERAL
+.INDENT -1
+4 pages_field
+.INDENT 5
+A page number or range of numbers such as "42--111"; you may also have
+several of these, separating them with commas: "7,41,73--97". The
+standard styles convert a single dash to a double.
+.SKIP
+.LITERAL
+Format: PAGES = field_text
+.END LITERAL
+.INDENT -1
+4 publisher_field
+.INDENT 5
+The publisher's name.
+.SKIP
+.LITERAL
+Format: PUBLISHER = field_text
+.END LITERAL
+.INDENT -1
+4 school_field
+.INDENT 5
+The name of the school where a thesis was written.
+.SKIP
+.LITERAL
+Format: SCHOOL = field_text
+.END LITERAL
+.INDENT -1
+4 series_field
+.INDENT 5
+The name of a series or set of books. When citing an entire book, the
+the "title" field gives its title and an optional "series" field gives
+the name of a series in which the book is published.
+.SKIP
+.LITERAL
+Format: SERIES = field_text
+.END LITERAL
+.INDENT -1
+4 title_field
+.INDENT 5
+The work's title.
+.SKIP
+.LITERAL
+Format: TITLE = field_text
+.END LITERAL
+.INDENT -1
+4 type_field
+.INDENT 5
+The type of a technical report - for example, "Research Note".
+.SKIP
+.LITERAL
+Format: TYPE = field_text
+.END LITERAL
+.INDENT -1
+4 volume_field
+.INDENT 5
+The volume of a journal or multivolume book work.
+.SKIP
+.LITERAL
+Format: VOLUME = field_text
+.END LITERAL
+.INDENT -1
+4 year_field
+.INDENT 5
+The year of publication or, for an unpublished work, the year it was
+written. This field's text should contain only numerals.
+.SKIP
+.LITERAL
+Format: YEAR = field_text
+.END LITERAL
+.SKIP
+
+.INDENT -1
+2 Qualifiers
+.INDENT -1
+/BIBINPUTS
+.SKIP
+ /BIBINPUTS=(logical_name:)
+.SKIP
+Specifies a logical name that equates to a search list of directories
+containing bibliographic database files. The search procedure BibTeX uses
+to locate .BIB database files is to first search your default directory
+and then scan the directory search list specified by the /BIBINPUTS option.
+.SKIP
+Default is /BIBINPUTS=(TEX_BIB:); BibTeX looks in the directories associated
+with the logical name TEX_BIB.
+.SKIP
+
+.INDENT -1
+/BSTINPUTS
+.SKIP
+ /BSTINPUTS=(logical_name:)
+.SKIP
+Specifies a logical name that equates to a search list of directories
+containing BibTeX style (.BST) files. The search procedure BibTeX uses
+to locate .BST style files is to first search your default directory
+and then scan the directory search list specified by the /BSTINPUTS option.
+.SKIP
+Default is /BSTINPUTS=(TEX_BST:); BibTeX looks in the directories associated
+with the logical name TEX_BST.
+.SKIP
+
+.INDENT -1
+/MIN_CROSSREFS
+.SKIP
+ /MIN_CROSSREFS=(positive integer number)
+.SKIP
+BibTeX allows to include database entries in the reference list that
+have been cited `indirectly' through cross references from directly
+cited database entries. The /MIN_CROSSREFS qualifier allows to specify
+how many times this cross referencing has to occur at minimum for an
+entry not been explicitely cited to enable the indirect inclusion in
+the reference list.
+.SKIP
+The default value for /MIN_CROSSREFS is 2.
+.SKIP
+
+.INDENT -1
+/STATS
+.SKIP
+ /STATS
+.break
+ /NOSTATS [D]
+.SKIP
+This qualifier is used while debugging .BST files to determine BIBTEX memory
+usage.
+.SKIP
+
+.INDENT -1
+/TRACE
+.SKIP
+ /TRACE
+.break
+ /NOTRACE [D]
+.SKIP
+This qualifier is used while debugging .BST files to follow program flow.
+.SKIP
diff --git a/biblio/bibtex/vms/bibtex.vms-changes b/biblio/bibtex/vms/bibtex.vms-changes
new file mode 100644
index 0000000000..1605d07202
--- /dev/null
+++ b/biblio/bibtex/vms/bibtex.vms-changes
@@ -0,0 +1,1284 @@
+This change file is for the OpenVMS version of BibTeX
+Copyright 1990 Don Hosek
+DO NOT MODIFY THIS FILE. If you must make changes, use a different name
+and alter the banner string so that it no longer has PD VMS in it.
+
+--Character Reference-------------------------------------------------
+ Upper case letters: ABCDEFGHIJKLMNOPQRSTUVWXYZ
+ Lower case letters: abcdefghijklmnopqrstuvwxyz
+ Digits: 0123456789
+ Square, curly, angle braces, parentheses: [] {} <> ()
+ Backslash, slash, vertical bar: \ / |
+ Punctuation: . ? ! , : ;
+ Underscore, hyphen, equals sign: _ - =
+ Quotes--right left double: ' ` "
+ "at", "number" "dollar", "percent", "and": @ # $ % &
+ "hat", "star", "plus", "tilde": ^ * + ~
+-----------------------------------------------------------------------
+
+
+12-Feb-88 Modified for Version .99b by Jerry Leichter (1.0)
+15-Apr-88 Modified for Version .99c by Jerry Leichter
+27-May-88 Fixed some spelling errors and typos that showed up when the code
+ was woven. Added support for specifying the file name on the
+ command line. Nelson Beebe. (1.1)
+ 2-Dec-88 Got rid of all of the tabs so that it not only matches our copy of
+ the WEB, but so that it can be stored readily on a non-ascii machine
+ or be sent via e-mail with little fear of corruption. The beginning
+ of the so-called "HMC implementation." Don Hosek. (1.2)
+ 3-Dec-88 Fixed error on text_char definitions. Don Hosek. (1.3)
+ 5-Dec thru
+ 8-Dec-88 Modified program to be called through the CLI. The qualifiers
+ /STAT, and /TRACE are added. Changed Vax to VAX because it bugged
+ Heather. Removed <CR><LF> line endings because they shouldn't have
+ been there. All debug..gubed stuff is removed because it's not used
+ very much and is better dealt with using VMS's debugger facility. -dh
+ (1.4)
+10-NOV-89 Mostly cosmetic changes to the change file including modification of
+ the format of the banner line and inclusion of the CLD file in this
+ file. Note that tabs in the master file have been globally replaced
+ with two spaces (which is the standard practice with the other
+ TeXware). -dh (1.5)
+27-MAY-90 Added character reference table; fixed problem with WEAVE 4.1 and
+ this program; added mising \def of \pascal; got values for TeX
+ and Bib input paths from /TEXINPUTS and /BIBINPUTS qualifiers. -dh
+ (1.6)
+ 8-JUN-90 Minor change to CLD file since BIBINPUTS should be set to TEX_BIB
+ by default. (1.6a)
+28-Apr-91 Fixed bug in behaviour of BIBINPUTS that had been lurking about
+ but never fixed. Reported with fix by Tony McGrath (1.6b)
+09-Feb-94 Christian Spieler (SPC): Adapted change file for OpenVMS(AXP). The
+ calling interface for the external CLI support routines has been
+ modified according to the implementation in VMS TeX and VMS MF.
+26-Nov-94 Christian Spieler (SPC):
+ Removed \pascal defininition, \PASCAL is used consistently.
+ New features:
+ - Revised the command line handling: Added the ability to
+ parse the command line internally, when invoked as a foreign
+ command.
+ - Apply wildcard expansion to all input file specifications.
+ This allows to use wildcards in the /TEXINPUTS and /BIBINPUTS
+ search lists, and implements the "subdirectory searching"
+ facility, as recommended by the TDS (standard TeX Directory
+ Structure) proposal.
+ - Incremented version number to [PD VMS 1.7]
+29-Nov-94 Christian Spieler (SPC): Take care of possible directory part
+ in file specification on the command line. (Do not recognize '.'s
+ before a trailing ']'.)
+25-Mar-95 Christian Spieler (SPC) [PD VMS 1.8]:
+ - Changed the `internal char' type |ASCII_code| to support 8-bit
+ numbers, to match the change `TeX 2.x -> TeX 3.x'.
+ - Increased the size of various array limits.
+28-Mar-95 Christian Spieler (SPC) [PD VMS 1.8]:
+ - Allow modification of |min_crossrefs| constant at runtime.
+ (Change was inspired by the Web2C port of BibTeX.)
+ - Change name of /TEXINPUTS qualifier into /BSTINPUTS.
+
+------BIBTEX.CLD---------------------------------------------------------------
+! CLD file for BibTeX.
+! (HMC Implementation 8-June-1990)
+! Don Hosek
+module bibtex_cli
+define verb BIBTEX
+image TEX_EXE:BIBTEX.EXE
+ parameter p1,label=filespec,prompt="Input file",value(type=$infile)
+ qualifier STATS, ! default is /NOSTATS
+ negatable,
+ placement=global
+ qualifier TRACE, ! default is /NOTRACE
+ negatable,
+ placement=global
+ qualifier BSTINPUTS,
+ placement=global,
+ default,
+ nonnegatable,
+ value(default="TEX_BST:")
+ qualifier BIBINPUTS,
+ placement=global,
+ default,
+ nonnegatable,
+ value(default="TEX_BIB:")
+ qualifier MIN_CROSSREFS,
+ placement=global,
+ nonnegatable,
+ value(required, type=$number)
+------end of BIBTEX.CLD--------------------------------------------------------
+
+{Section 0}
+<<<<<Following change to limbo material provided by BNB@COM.AMS.MATH>>>>>
+@x [0] (AMS) Avoid dropped E in identifiers other than TeX
+\def\drop{\kern-.1667em\lower.5ex\hbox{E}\kern-.125em} % middle of TeX
+\catcode`E=13 \uppercase{\def E{e}}
+\def\\#1{\hbox{\let E=\drop\it#1\/\kern.05em}} % italic type for identifiers
+@y
+\def\drop{\kern-.1667em\lower.5ex\hbox{E}\kern-.125em} % middle of TeX
+\def\cape#1{\if X#1\drop\else E\fi#1} % other E's in identifiers
+\begingroup
+\catcode`E=13 \uppercase{\gdef E{e}}
+\gdef\\#1{\hbox{\catcode`E=13 \let E=\cape
+ \it#1\/\kern.05em}} % italic type for identifiers
+\endgroup
+@z
+
+{Section 0}
+@x
+\def\title{\BibTeX\ }
+@y
+\let\maybe=\iffalse
+\maybe
+\def\title{\BibTeX\ for OpenVMS; 25th Mar 1995}
+\else
+\def\title{\BibTeX\ changes for OpenVMS; 25th Mar 1995}
+\fi
+@z
+
+{Section 1}
+@x
+The |banner| string defined here should be changed whenever \BibTeX\
+gets modified.
+
+@d banner=='This is BibTeX, Version 0.99c' {printed when the program starts}
+@y
+The HMC implementation is based on work done by Nelson H.F.\ Beebe, Jerry
+Leichter, and an anonymous progenitor. From Beebe's version, numerous changes
+were made to the OpenVMS version by Don Hosek at Harvey Mudd College for
+assorted enhancements, the most significant of which is the insertion of code
+to make \BibTeX\ a DCL verb.
+
+@d banner=='This is BibTeX, Version 0.99c [PD VMS 1.8]'
+@z
+
+{Section 2}
+@x
+Terminal output goes to the file |term_out|, while terminal input
+comes from |term_in|. On our system, these (system-dependent) files
+are already opened at the beginning of the program, and have the same
+real name.
+
+@d term_out == tty
+@d term_in == tty
+@y
+Terminal output goes to the file |term_out|, while terminal input
+comes from |term_in|. On our OpenVMS, these (system-dependent) files
+are already opened at the beginning of the program.
+
+@d term_out == output
+@d term_in == input
+@z
+
+{Section 4}
+@x
+@^debugging@>
+@^statistics@>
+Some of the code below is intended to be used only when diagnosing the
+strange behavior that sometimes occurs when \BibTeX\ is being
+installed or when system wizards are fooling around with \BibTeX\
+without quite knowing what they are doing. Such code will not normally
+be compiled; it is delimited by the codewords
+`$|debug|\ldots|gubed|$', with apologies to people who wish to
+preserve the purity of English. Similarly, there is some conditional
+code delimited by `$|stat|\ldots|tats|$' that is intended only for use
+when statistics are to be kept about \BibTeX's memory/cpu usage,
+and there is conditional code delimited by `$|trace|\ldots|ecart|$'
+that is intended to be a trace facility for use mainly when debugging
+\.{.bst} files.
+
+@d debug == @{ { remove the `|@{|' when debugging }
+@d gubed == @t@>@} { remove the `|@}|' when debugging }
+@f debug == begin
+@f gubed == end
+@#
+@d stat == @{ { remove the `|@{|' when keeping statistics }
+@d tats == @t@>@} { remove the `|@}|' when keeping statistics }
+@f stat == begin
+@f tats == end
+@#
+@d trace == @{ { remove the `|@{|' when in |trace| mode }
+@d ecart == @t@>@} { remove the `|@}|' when in |trace| mode }
+@f trace == begin
+@f ecart == end
+@y
+@^debugging@>
+@^statistics@>
+Some of the code below is intended to be used only when diagnosing the
+strange behavior that sometimes occurs system wizards are fooling around with
+\BibTeX\
+without quite knowing what they are doing. There is some conditional
+code delimited by `$|stat|\ldots|tats|$' that is intended only for use
+when statistics are to be kept about \BibTeX's memory/cpu usage
+selected by the qualifier \.{/STATS},
+and there is conditional code delimited by `$|trace|\ldots|ecart|$'
+that is intended to be a trace facility for use mainly when debugging
+\.{.bst} files selected by the qualifier \.{/TRACE}. Since the debugging code
+simply referred to some in-line compiler switches, it's been removed entirely.
+
+@d stat == if stat_flag then begin
+@d tats == end;
+@f stat == begin
+@f tats == end
+@#
+@d trace == if trace_flag then begin
+@d ecart == end;
+@f trace == begin
+@f ecart == end
+@<Globals in the outer block@>=
+@!stat_flag, @!trace_flag: boolean;
+@z
+
+{Section 5}
+@x
+We assume that |case| statements may include a
+default case that applies if no matching label is found,
+since most \PASCAL\ compilers have plugged this hole in the language by
+incorporating some sort of default mechanism. For example, the \ph\
+compiler allows `|others|:' as a default label, and other \PASCAL s allow
+syntaxes like `\ignorespaces|else|\unskip' or `\\{otherwise}' or
+`\\{otherwise}:', etc. The definitions of |othercases| and |endcases|
+should be changed to agree with local conventions. Note that no semicolon
+appears before |endcases| in this program, so the definition of |endcases|
+should include a semicolon if the compiler wants one. (Of course, if no
+default mechanism is available, the |case| statements of \BibTeX\ will have
+to be laboriously extended by listing all remaining cases. People who are
+stuck with such \PASCAL s have in fact done this, successfully but not
+happily!)
+
+@d othercases == others: {default for cases not listed explicitly}
+@d endcases == @+end {follows the default case in an extended |case| statement}
+@f othercases == else
+@f endcases == end
+@y
+We assume that |case| statements may include a
+default case that applies if no matching label is found, in VAX Pascal, this
+is done using \\{otherwise}.
+
+@d othercases == otherwise {default for cases not listed explicitly}
+@d endcases == @+end {follows the default case in an extended |case| statement}
+@f othercases == else
+@f endcases == end
+@z
+
+{Section 10}
+@x
+program BibTEX; {all files are opened dynamically}
+@y
+program BibTEX(input,output); {all files are opened dynamically}
+@z
+
+{Section 11}
+<<<<<Modified 29-NOV-1994 by SPC : added more VAX specific strings>>>>>
+@x
+@<Compiler directives@>=
+@{@&$C-,A+,D-@} {no range check, catch arithmetic overflow, no debug overhead}
+@!debug @{@&$C+,D+@}@+ gubed {but turn everything on when debugging}
+@y
+On OpenVMS, there are no compiler directives that can be introduced in this
+way, but we take this opportunity to include a few system-dependent goodies.
+
+@d VAX_text==@= text @>
+@d VAX_new==@= new @>
+@d VAX_none==@= none @>
+@d VAX_byte==@= byte @>
+@d VAX_word==@= word @>
+@d VAX_error==@= error @>
+@d VAX_length==@= length @>
+@d VAX_syi_sid==@= syi$_sid @>
+@d VAX_continue==@= continue @>
+@d VAX_ignore_error==VAX_error:=VAX_continue
+@d VAX_disposition==@= disposition @>
+@d VAX_delete==@= delete @>
+@d VAX_save==@= save @>
+@d VAX_dispositon_delete==@=disposition:=delete@>
+@d VAX_disposition_save==@=disposition:=save@>
+@d VAX_user_action==@=user_action@>
+@d VAX_external==@= external @>
+@d VAX_asynchronous==@= asynchronous@>
+@d VAX_readonly==@= readonly @>
+@d VAX_unsafe==@= unsafe @>
+@d VAX_volatile==@= volatile @>
+@d VAX_class_s==@= CLASS_S @>
+@d VAX_aligned==@= aligned @>
+@d VAX_unsigned==@= unsigned @>
+@d VAX_carriage_control==@= carriage_control @>
+@d VAX_io_setmode==@= io$_setmode @>
+@d VAX_iom_ctrlcast==@= io$m_ctrlcast @>
+@d VAX_immed==@= %immed @>
+@d VAX_descr==@= %descr @>
+@d VAX_stdescr==@= %stdescr @>
+@d VAX_ref==@= %ref @>
+@d VAX_qiow==@= $qiow @>
+@d VAX_assign==@= $assign @>
+@d VAX_numtim==@= $numtim @>
+@d VAX_getsyi==@= $getsyi @>
+@d VAX_lib_get_foreign==@= lib$get_foreign @>
+@d VAX_lib_sig_to_ret==@= lib$sig_to_ret @>
+@d VAX_establish==@= establish @>
+@d VAX_status==@= status @>
+@#
+@d VAX_address_of==@= iaddress@>
+@#
+@d VAX_varying_length==@=length @>
+@d VAX_varying_body==@=body@>
+@#
+@d VAX_trnlog==@= $trnlog @>
+@d VAX_ss_normal==@= ss$_normal @>
+@d VAX_CLI__absent==@= CLI$_ABSENT @>
+@d VAX_CLI__comma==@= CLI$_COMMA @>
+@d VAX_CLI__concat==@= CLI$_CONCAT @>
+@d VAX_CLI__defaulted==@= CLI$_DEFAULTED @>
+@d VAX_CLI__locneg==@= CLI$_LOCNEG @>
+@d VAX_CLI__locpres==@= CLI$_LOCPRES @>
+@d VAX_CLI__negated==@= CLI$_NEGATED @>
+@d VAX_CLI__present==@= CLI$_PRESENT @>
+@d VAX_cli_get_value==@= CLI$GET_VALUE @>
+@d VAX_cli_present==@= CLI$PRESENT @>
+@d VAX_cli_dcl_parse==@= CLI$DCL_PARSE @>
+@#
+@f extern==forward
+@f varying==array
+@f VAX_unsigned==integer
+@f unsigned==integer
+
+@<Compiler directives@>=
+@= [inherit('SYS$Library:Starlet')] @>
+@z
+
+{Section 13}
+<<<<<Modified 26-NOV-1994 by SPC : added CLI table initialization>>>>>
+@x
+procedure initialize;
+var @<Local variables for initialization@>
+begin
+@<Check the ``constant'' values for consistency@>;
+if (bad > 0) then
+ begin
+ write_ln (term_out,bad:0,' is a bad bad');
+ goto exit_program;
+ end;
+@<Set initial values of key variables@>;
+pre_def_certain_strings;@/
+get_the_top_level_aux_file_name;
+end;
+@y
+procedure initialize;
+var @<Local variables for initialization@>
+begin
+if not odd(init_cli(BIBTEX_CLD_table,'BIBT','BIBINPUTS')) then
+ begin
+ write_ln('Ouch---access to DCL command line interface has failed!');
+ goto exit_program;
+ end;
+@<Check the ``constant'' values for consistency@>;
+if (bad > 0) then
+ begin
+ write_ln (term_out,bad:0,' is a bad bad');
+ goto exit_program;
+ end;
+@<Read the values of the command line flags@>@;
+@<Set initial values of key variables@>;
+pre_def_certain_strings;@/
+get_the_top_level_aux_file_name;
+end;
+@z
+
+{Section 14}
+<<<<< Changed 05-FEB-1994 by SPC
+ removed constant definitions for CLI return values. >>>>>
+<<<<< Modified 25-MAR-1995 by SPC :
+ enlarged some parameters:
+ |buf_size| : 1000 -> 2000
+ |max_bib_files| : 20 -> 30
+ |pool_size| : 65000 -> 200000
+ |max_strings| : 4000 -> 6000
+ |max_cites| : 750 -> 1000
+ |wiz_fn_space| : 3000 -> 5000
+ |max_ent_int| : 3000 -> 5000
+ |max_ent_strs| : 3000 -> 4000
+ |max_fields| : 17250 -> 23000 >>>>>
+<<<<< Modified 27-MAR-1995 by SPC : |min_crossrefs is now a variable. >>>>>
+@x
+These parameters can be changed at compile time to extend or reduce
+\BibTeX's capacity. They are set to accommodate about 750 cites when
+used with the standard styles, although |pool_size| is usually the
+first limitation to be a problem, often when there are 500 cites.
+
+@<Constants in the outer block@>=
+@!buf_size=1000; {maximum number of characters in an input line (or string)}
+@!min_print_line=3; {minimum \.{.bbl} line length: must be |>=3|}
+@!max_print_line=79; {the maximum: must be |>min_print_line| and |<buf_size|}
+@!aux_stack_size=20; {maximum number of simultaneous open \.{.aux} files}
+@!max_bib_files=20; {maximum number of \.{.bib} files allowed}
+@!pool_size=65000; {maximum number of characters in strings}
+@!max_strings=4000; {maximum number of strings, including pre-defined;
+ must be |<=hash_size|}
+@!max_cites=750; {maximum number of distinct cite keys; must be
+ |<=max_strings|}
+@!min_crossrefs=2; {minimum number of cross-refs required for automatic
+ |cite_list| inclusion}
+@!wiz_fn_space=3000; {maximum amount of |wiz_defined|-function space}
+@!single_fn_space=100; {maximum amount for a single |wiz_defined|-function}
+@!max_ent_ints=3000; {maximum number of |int_entry_var|s
+ (entries $\times$ |int_entry_var|s)}
+@!max_ent_strs=3000; {maximum number of |str_entry_var|s
+ (entries $\times$ |str_entry_var|s)}
+@!ent_str_size=100; {maximum size of a |str_entry_var|; must be |<=buf_size|}
+@!glob_str_size=1000; {maximum size of a |str_global_var|;
+ must be |<=buf_size|}
+@!max_fields=17250; {maximum number of fields (entries $\times$ fields,
+ about |23*max_cites| for consistency)}
+@!lit_stk_size=100; {maximum number of literal functions on the stack}
+@y
+These parameters can be changed at compile time to extend or reduce
+\BibTeX's capacity. Their settings have been adjusted to accommodate
+about 1000 cites when used with the standard styles. With the original
+(unchanged) settings, the |pool_size| limit was usually reached first;
+therefore, |pool_size| has been extended most drastically.
+
+@<Constants in the outer block@>=
+@!buf_size=2000; {maximum number of characters in an input line (or string)}
+@!min_print_line=3; {minimum \.{.bbl} line length: must be |>=3|}
+@!max_print_line=79; {the maximum: must be |>min_print_line| and |<buf_size|}
+@!aux_stack_size=20; {maximum number of simultaneous open \.{.aux} files}
+@!max_bib_files=30; {maximum number of \.{.bib} files allowed}
+@!pool_size=200000; {maximum number of characters in strings}
+@!max_strings=6000; {maximum number of strings, including pre-defined;
+ must be |<=hash_size|}
+@!max_cites=1000; {maximum number of distinct cite keys; must be
+ |<=max_strings|}
+{|min_crossrefs| is now a variable and can be set at runtime.}
+@!wiz_fn_space=5000; {maximum amount of |wiz_defined|-function space}
+@!single_fn_space=100; {maximum amount for a single |wiz_defined|-function}
+@!max_ent_ints=5000; {maximum number of |int_entry_var|s
+ (entries $\times$ |int_entry_var|s)}
+@!max_ent_strs=4000; {maximum number of |str_entry_var|s
+ (entries $\times$ |str_entry_var|s)}
+@!ent_str_size=100; {maximum size of a |str_entry_var|; must be |<=buf_size|}
+@!glob_str_size=1000; {maximum size of a |str_global_var|;
+ must be |<=buf_size|}
+@!max_fields=23000; {maximum number of fields (entries $\times$ fields,
+ about |23*max_cites| for consistency)}
+@!lit_stk_size=100; {maximum number of literal functions on the stack}
+@z
+
+{Section 15}
+<<<<<Added 26-NOV-1994 by SPC : allow longer file names.>>>>>
+<<<<< Modified 25-MAR-1995 by SPC :
+ enlarged the string hash array.
+ |hash_size| : 5000 -> 7000
+ |hash_prime| : 4253 -> 5953 >>>>>
+@x
+These parameters can also be changed at compile time, but they're
+needed to define some \.{WEB} numeric macros so they must be so
+defined themselves.
+
+@d hash_size=5000 {must be |>= max_strings| and |>= hash_prime|}
+@d hash_prime=4253 {a prime number about 85\% of |hash_size| and |>= 128|
+ and |< @t$2^{14}-2^6$@>|}
+@d file_name_size=40 {file names shouldn't be longer than this}
+@d max_glob_strs=10 {maximum number of |str_global_var| names}
+@d max_glb_str_minus_1 = max_glob_strs-1 {to avoid wasting a |str_global_var|}
+@y
+These parameters can also be changed at compile time, but they're
+needed to define some \.{WEB} numeric macros so they must be so
+defined themselves.
+
+@d hash_size=7000 {must be |>= max_strings| and |>= hash_prime|}
+@d hash_prime=5953 {a prime number about 85\% of |hash_size| and |>= 128|
+ and |< @t$2^{14}-2^6$@>|}
+@d file_name_size=255 {file names shouldn't be longer than this}
+@d max_glob_strs=10 {maximum number of |str_global_var| names}
+@d max_glb_str_minus_1 = max_glob_strs-1 {to avoid wasting a |str_global_var|}
+@z
+
+{Section 22}
+<<<<<Modified 25-MAR-1995 by SPC : full support of 8-bit text encodings.>>>>>
+@x
+@<Types in the outer block@>=
+@!ASCII_code=0..127; {seven-bit numbers}
+@y
+@<Types in the outer block@>=
+@!word_type = @=[word]@> -32768..32767; {16-bit integers}
+@!ASCII_code=0..255; {eight-bit numbers}
+@z
+
+{Section 23}
+@x last_text_char bug fixed.
+@d text_char == char {the data type of characters in text files}
+@d first_text_char=0 {ordinal number of the smallest element of |text_char|}
+@d last_text_char=127 {ordinal number of the largest element of |text_char|}
+@y
+@d text_char == char {the data type of characters in text files}
+@d first_text_char=0 {ordinal number of the smallest element of |text_char|}
+@d last_text_char=255 {ordinal number of the largest element of |text_char|}
+@z
+
+{Section 26}
+<<<<<Added 25-MAR-1995 by SPC : relax problems with file imported from
+ other OS systems.>>>>>
+@x
+@d tab=@'11 {ASCII code treated as |white_space|}
+@d space=@'40 {ASCII code treated as |white_space|}
+@y
+@d tab=@'11 {ASCII code treated as |white_space|}
+@d line_feed=@'12 {ASCII code treated as |white_space|}
+@d form_feed=@'14 {ASCII code treated as |white_space|}
+@d carriage_return=@'15 {ASCII code treated as |white_space|}
+@d space=@'40 {ASCII code treated as |white_space|}
+@z
+
+{Section 27}
+<<<<<Added 25-MAR-1995 by SPC : full support of 8-bit text encodings.>>>>>
+@x
+usually best to map the additional letters into codes less than~@'40.
+
+@<Set initial values of key variables@>=
+for i:=1 to @'37 do xchr[i]:=' ';
+xchr[tab]:=chr(tab);
+@y
+usually best to map the additional letters into codes less than~@'40.
+
+This VMS port has been extended to permit usage of characters taken
+from columns 10--15 of the extended ISO character set (ISO Latin 1, or
+DEC Multinational); to match the behaviour of VMS TeX 3.x.
+
+@<Set initial values of key variables@>=
+for i:=1 to @'37 do xchr[i]:=chr(i);
+for i:=@'200 to @'237 do xchr[i]:=' ';
+for i:=@'240 to @'377 do xchr[i]:=chr(i);
+@z
+
+{Section 28}
+<<<<<Added 25-MAR-1995 by SPC : full support of 8-bit text encodings.>>>>>
+@x
+@<Set initial values of key variables@>=
+for i:=first_text_char to last_text_char do xord[chr(i)]:=invalid_code;
+for i:=1 to @'176 do xord[xchr[i]]:=i;
+@y
+@<Set initial values of key variables@>=
+for i:=first_text_char to last_text_char do xord[chr(i)]:=invalid_code;
+for i:=@'200 to @'377 do xord[xchr[i]]:=i;
+for i:=0 to @'176 do xord[xchr[i]]:=i;
+@z
+
+{Section 32}
+<<<<<Added 25-MAR-1995 by SPC : relax problems with file imported from
+ other OS systems; allow 8-bit characters.>>>>>
+@x
+@<Set initial values of key variables@>=
+for i:=0 to @'177 do lex_class[i] := other_lex;
+for i:=0 to @'37 do lex_class[i] := illegal;
+lex_class[invalid_code] := illegal;
+lex_class[tab] := white_space;
+lex_class[space] := white_space;
+@y
+@<Set initial values of key variables@>=
+for i:=0 to @'377 do lex_class[i] := other_lex;
+for i:=0 to @'37 do lex_class[i] := illegal;
+for i:=@'200 to @'237 do lex_class[i] := illegal;
+lex_class[invalid_code] := illegal;
+lex_class[tab] := white_space;
+lex_class[line_feed] := white_space;
+lex_class[form_feed] := white_space;
+lex_class[carriage_return] := white_space;
+lex_class[space] := white_space;
+@z
+
+{Section 33}
+<<<<<Added 26-MAR-1995 by SPC : allow 8-bit characters.>>>>>
+@x
+@<Set initial values of key variables@>=
+for i:=0 to @'177 do id_class[i] := legal_id_char;
+for i:=0 to @'37 do id_class[i] := illegal_id_char;
+@y
+@<Set initial values of key variables@>=
+for i:=0 to @'377 do id_class[i] := legal_id_char;
+for i:=0 to @'37 do id_class[i] := illegal_id_char;
+for i:=@'200 to @'377 do id_class[i] := illegal_id_char;
+@z
+
+{Section 35}
+<<<<<Added 26-MAR-1995 by SPC : allow 8-bit characters.>>>>>
+@x
+@<Set initial values of key variables@>=
+for i:=0 to @'177 do char_width[i] := 0;
+@#
+@y
+@<Set initial values of key variables@>=
+for i:=0 to @'377 do char_width[i] := 0;
+@#
+@z
+
+{Section 36}
+@x
+@!alpha_file=packed file of text_char; {files that contain textual data}
+@y
+@!alpha_file=text; {files that contain textual data}
+@z
+
+{Section 37}
+@x Set up name_of_file using VMS Pascal's string facility
+@<Globals in the outer block@>=
+@!name_of_file:packed array[1..file_name_size] of char;
+ {on some systems this is a \&{record} variable}
+@!name_length:0..file_name_size;
+ {this many characters are relevant in |name_of_file| (the rest are blank)}
+@!name_ptr:0..file_name_size+1; {index variable into |name_of_file|}
+@y
+@<Globals in the outer block@>=
+@!name_of_file:packed array[1..file_name_size] of char;
+ {on some systems this is a \&{record} variable}
+@!name_length:unsigned_word;
+ {this many characters are relevant in |name_of_file| (the rest are blank)}
+@!name_ptr:0..file_name_size+1; {index variable into |name_of_file|}
+@z
+
+{Section 38}
+@x
+The \ph\ compiler with which the present version of \TeX\ was prepared has
+extended the rules of \PASCAL\ in a very convenient way. To open file~|f|,
+we can write
+$$\vbox{\halign{#\hfil\qquad&#\hfil\cr
+|reset(f,@t\\{name}@>,'/O')|&for input;\cr
+|rewrite(f,@t\\{name}@>,'/O')|&for output.\cr}}$$
+The `\\{name}' parameter, which is of type `\ignorespaces|packed
+array[@t\<\\{any}>@>] of text_char|', stands for the name of
+the external file that is being opened for input or output.
+Blank spaces that might appear in \\{name} are ignored.
+
+The `\.{/O}' parameter tells the operating system not to issue its own
+error messages if something goes wrong. If a file of the specified name
+cannot be found, or if such a file cannot be opened for some other reason
+(e.g., someone may already be trying to write the same file), we will have
+|@!erstat(f)<>0| after an unsuccessful |reset| or |rewrite|. This allows
+\TeX\ to undertake appropriate corrective action.
+
+\TeX's file-opening procedures return |false| if no file identified by
+|name_of_file| could be opened.
+
+@d reset_OK(#)==erstat(#)=0
+@d rewrite_OK(#)==erstat(#)=0
+
+@<Procedures and functions for file-system interacting@>=
+function erstat(var f:file):integer; extern; {in the runtime library}
+@#@t\2@>
+function a_open_in(var f:alpha_file):boolean; {open a text file for input}
+begin reset(f,name_of_file,'/O'); a_open_in:=reset_OK(f);
+end;
+@#
+function a_open_out(var f:alpha_file):boolean; {open a text file for output}
+begin rewrite(f,name_of_file,'/O'); a_open_out:=rewrite_OK(f);
+end;
+@y
+The OpenVMS \PASCAL\ compiler with which the present version of
+\BibTeX\ was prepared has provided a way to specify a file name on the |open|
+command in the manner shown below. For more details, see the OpenVMS \PASCAL\
+manual.
+
+The `\.{/O}' parameter tells the operating system not to issue its own
+error messages if something goes wrong. If a file of the specified name
+cannot be found, or if such a file cannot be opened for some other reason
+(e.g., someone may already be trying to write the same file), we will have
+|@!erstat(f)<>0| after an unsuccessful |reset| or |rewrite|. This allows
+\TeX\ to undertake appropriate corrective action.
+
+\TeX's file-opening procedures return |false| if no file identified by
+|name_of_file| could be opened.
+
+@<Procedures and functions for file-system interacting@>=
+function a_open_in(var f:alpha_file):boolean; {open a text file for input}
+begin
+open(f,name_of_file,VAX_readonly,VAX_user_action:=user_open_wild,
+ VAX_ignore_error);
+if VAX_status(f)>0 then a_open_in:=false
+else begin
+ reset(f,VAX_ignore_error);
+ a_open_in:=VAX_status(f)<=0;
+ end;
+end;
+@#
+function a_open_out(var f:alpha_file):boolean; {open a text file for output}
+begin
+open(f,name_of_file,VAX_new,16383,{VAX\_disposition\_delete,}
+ VAX_ignore_error);
+if VAX_status(f)>0 then a_open_out:=false
+else begin
+ rewrite(f,VAX_ignore_error);
+ a_open_out:=VAX_status(f)<=0;
+ end;
+end;
+@z
+
+{Section 73}
+@x
+@d longest_pds=12 {the length of `\.{change.case\$}'}
+@y
+Since we don't know how long the logical names given by the \.{/BSTINPUTS} and
+\.{/BIBINPUTS} will be, we define |longest_pds| to be 255. However, since VAX
+\PASCAL\ automatically pads out strings, we don't need to worry about making
+every argument to |pre_define| 255 characters long.
+
+@d longest_pds=255
+@z
+
+{Section 74}
+@x
+@!s_bib_area : str_number; {\.{texbib:}}
+@y
+@!s_bib_area : str_number; {\.{texbib:}}
+@!inp_name, @!binp_name : pds_type;
+@!inp_len, @!binp_len : [VAX_word] pds_len;
+@z
+
+{Section 75}
+@x
+Important notes: These pre-definitions must not have any glitches or
+the program may bomb because the |log_file| hasn't been opened yet,
+and |text_ilk|s should be pre-defined later, for
+\.{.bst}-function-execution purposes.
+@y
+Important notes: These pre-definitions must not have any glitches or
+the program may bomb because the |log_file| hasn't been opened yet,
+and |text_ilk|s should be pre-defined later, for
+\.{.bst}-function-execution purposes.
+
+We will also take this opportunity to read the values of the qualifiers
+\.{/BSTINPUTS} and \.{/BIBINPUTS} now.
+@z
+
+{Section 75}
+@x
+pre_define('texinputs: ',10,file_area_ilk);
+s_bst_area := hash_text[pre_def_loc];
+pre_define('texbib: ',7,file_area_ilk);
+s_bib_area := hash_text[pre_def_loc];
+@y
+VAX_cli_get_value('BSTINPUTS',inp_name,inp_len);
+pre_define(inp_name,inp_len,file_area_ilk);
+s_bst_area := hash_text[pre_def_loc];@/
+VAX_cli_get_value('BIBINPUTS',binp_name,binp_len);
+pre_define(binp_name,binp_len,file_area_ilk);
+s_bib_area := hash_text[pre_def_loc];
+@z
+
+{Section 100}
+<<<<<Modified 29-NOV-1994 by SPC : check for presence of command line arg>>>>>
+@x
+@<Procedures and functions for the reading and processing of input files@>=
+procedure get_the_top_level_aux_file_name;
+label aux_found,@!aux_not_found;
+var @<Variables for possible command-line processing@>@/
+begin
+check_cmnd_line := false; {many systems will change this}
+loop
+ begin
+ if (check_cmnd_line) then
+ @<Process a possible command line@>
+ else
+ begin
+ write (term_out,'Please type input file name (no extension)--');
+ if (eoln(term_in)) then {so the first |read| works}
+ read_ln (term_in);
+ aux_name_length := 0;
+ while (not eoln(term_in)) do
+ begin
+ if (aux_name_length = file_name_size) then
+ begin
+ while (not eoln(term_in)) do {discard the rest of the line}
+ get(term_in);
+ sam_you_made_the_file_name_too_long;
+ end;
+ incr(aux_name_length);
+ name_of_file[aux_name_length] := term_in^;
+ get(term_in);
+ end;
+ end;
+ @<Handle this \.{.aux} name@>;
+aux_not_found:
+ check_cmnd_line := false;
+ end;
+aux_found: {now we're ready to read the \.{.aux} file}
+end;
+@y
+@<Procedures and functions for the reading and processing of input files@>=
+procedure get_the_top_level_aux_file_name;
+label aux_found,@!aux_not_found;
+var @<Variables for possible command-line processing@>@/
+begin
+check_cmnd_line := odd(VAX_cli_present('FILESPEC'));
+loop
+ begin
+ if (check_cmnd_line) then
+ @<Process a possible command line@>
+ else
+ begin
+ write (term_out,'Please type input file name (no extension)--');
+ if (eoln(term_in)) then {so the first |read| works}
+ read_ln (term_in);
+ aux_name_length := 0;
+ while (not eoln(term_in)) do
+ begin
+ if (aux_name_length = file_name_size) then
+ begin
+ while (not eoln(term_in)) do {discard the rest of the line}
+ begin
+ get(term_in);
+ if eof(term_in) then goto exit_program;
+ end;
+ sam_you_made_the_file_name_too_long;
+ end;
+ incr(aux_name_length);
+ name_of_file[aux_name_length] := term_in^;
+ get(term_in);
+ if eof(term_in) then goto exit_program;
+ end;
+ end;
+ @<Handle this \.{.aux} name@>;
+aux_not_found:
+ check_cmnd_line := false;
+ end;
+aux_found: {now we're ready to read the \.{.aux} file}
+end;
+@z
+
+{Section 101}
+<<<<<Modified 29-NOV-1994 by SPC : added second scratch variable>>>>>
+@x
+@<Variables for possible command-line processing@>=
+@!check_cmnd_line : boolean; {|true| if we're to check the command line}
+@y
+@<Variables for possible command-line processing@>=
+@!check_cmnd_line : boolean; {|true| if we're to check the command line}
+@!i, j : integer; {scratch integer}
+@z
+
+{Section 102}
+<<<<<Modified 29-NOV-1994 by SPC : take care of possible directory part in
+ file name argument.>>>>
+@x And finally, here's the code that handles the command line argument.
+@<Process a possible command line@>=
+begin
+do_nothing; {the ``default system'' doesn't use the command line}
+end
+@y
+On OpenVMS, we can create a DCL verb to call the executable module. Doing
+things in this manner saves us quite a bit of trouble later on since it deals
+with much of the command line parsing for us. The CLD file for \BibTeX\ is,
+appropriately enough, named \.{BIBTEX.CLD}. This file defines all the command
+line parameters and qualifiers. We will only concern ourselves with the
+parameter containing the file name in this section.
+@<Process a possible command line@>=
+begin i:=VAX_cli_get_value('FILESPEC', name_of_file, name_length);
+i:=index(name_of_file, ']');
+j:=index(substr(name_of_file, i+1, name_length-i), '.');
+if j<>0 then name_length:=i+j-1; {If they give us an extension, remove it}
+aux_name_length:=name_length;
+end
+@z
+
+{Section 106}
+<<<<<Added 26-NOV-1994 by SPC : get full qualified name of opened top
+ level AUX file back from RMS>>>>>
+@x
+@<Add extensions and open files@>=
+begin
+name_length := aux_name_length; {set to last used position}
+add_extension (s_aux_extension); {this also sets |name_length|}
+aux_ptr := 0; {initialize the \.{.aux} file stack}
+if (not a_open_in(cur_aux_file)) then
+ sam_you_made_the_file_name_wrong;
+@#
+name_length := aux_name_length;
+add_extension (s_log_extension); {this also sets |name_length|}
+if (not a_open_out(log_file)) then
+ sam_you_made_the_file_name_wrong;
+@y
+@<Add extensions and open files@>=
+begin
+name_length := aux_name_length; {set to last used position}
+add_extension (s_aux_extension); {this also sets |name_length|}
+aux_ptr := 0; {initialize the \.{.aux} file stack}
+if (not a_open_in(cur_aux_file)) then
+ sam_you_made_the_file_name_wrong;
+@#
+{The output and log file are written to the location, where the top level
+\.{.aux} file was found.}
+name_of_file := act_pathname + act_basename;
+aux_name_length := act_pathname.VAX_varying_length +
+ act_basename.VAX_varying_length;
+@#
+name_length := aux_name_length;
+add_extension (s_log_extension); {this also sets |name_length|}
+if (not a_open_out(log_file)) then
+ sam_you_made_the_file_name_wrong;
+@z
+
+{Section 159}
+@x
+This version is for printing when in |trace| mode.
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+ trace
+ procedure trace_pr_fn_class (@!fn_loc : hash_loc);
+ begin
+ case (fn_type[fn_loc]) of
+ built_in : trace_pr ('built-in');
+ wiz_defined : trace_pr ('wizard-defined');
+ int_literal : trace_pr ('integer-literal');
+ str_literal : trace_pr ('string-literal');
+ field : trace_pr ('field');
+ int_entry_var : trace_pr ('integer-entry-variable');
+ str_entry_var : trace_pr ('string-entry-variable');
+ int_global_var : trace_pr ('integer-global-variable');
+ str_global_var : trace_pr ('string-global-variable');
+ othercases unknwn_function_class_confusion
+ endcases;
+ end;
+ ecart
+@y
+This version is for printing when in |trace| mode.
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+ procedure trace_pr_fn_class (@!fn_loc : hash_loc);
+ begin
+ case (fn_type[fn_loc]) of
+ built_in : trace_pr ('built-in');
+ wiz_defined : trace_pr ('wizard-defined');
+ int_literal : trace_pr ('integer-literal');
+ str_literal : trace_pr ('string-literal');
+ field : trace_pr ('field');
+ int_entry_var : trace_pr ('integer-entry-variable');
+ str_entry_var : trace_pr ('string-entry-variable');
+ int_global_var : trace_pr ('integer-global-variable');
+ str_global_var : trace_pr ('string-global-variable');
+ othercases unknwn_function_class_confusion
+ endcases;
+ end;
+@z
+
+{Section 307}
+@x
+procedure push_lit_stk (@!push_lt:integer; @!push_type:stk_type);
+ trace
+ var dum_ptr : lit_stk_loc; {used just as an index variable}
+ ecart@/
+@y
+procedure push_lit_stk (@!push_lt:integer; @!push_type:stk_type);
+ var dum_ptr : lit_stk_loc; {used just as an index variable}
+@z
+
+{Section 331}
+@x
+@!b_write : hash_loc; {\.{write\$}}
+@!b_default : hash_loc; {either \.{skip\$} or \.{default.type}}
+@#
+ stat
+ @!blt_in_loc : array[blt_in_range] of hash_loc; {for execution counts}
+ @!execution_count : array[blt_in_range] of integer; {the same}
+ @!total_ex_count : integer; {the sum of all |execution_count|s}
+ @!blt_in_ptr : blt_in_range; {a pointer into |blt_in_loc|}
+ tats@/
+@y
+@!b_write : hash_loc; {\.{write\$}}
+@!b_default : hash_loc; {either \.{skip\$} or \.{default.type}}
+@!blt_in_loc : array[blt_in_range] of hash_loc; {for execution counts}
+@!execution_count : array[blt_in_range] of integer; {the same}
+@!total_ex_count : integer; {the sum of all |execution_count|s}
+@!blt_in_ptr : blt_in_range; {a pointer into |blt_in_loc|}
+@z
+
+{Section 459}
+@x BibTeX 0.99d?
+if (type_list[cite_ptr] = undefined) then
+ undefined : trace_pr ('unknown')
+@y
+if (type_list[cite_ptr] = undefined) then trace_pr ('unknown')
+@z
+
+{Section 467...}
+<<<<< Changed 05-FEB-1994 by SPC
+ modified test for command line qualifiers to not use the (symbolic)
+ return constant definitions CLI$PRESENT(). >>>>>
+<<<<< Modified 26-NOV-1994 by SPC :
+ - added check function for presence of CLI table
+ - added wildcard parsing capabibity to input file opening routine >>>>>
+<<<<< Modified 27-MAR-1995 by SPC : Allow modification of |min_crossrefs| value
+ through the new command qualifier /MIN_CROSSREFS. >>>>>
+@x
+This section should be replaced, if necessary, by changes to the program
+that are necessary to make \BibTeX\ work at a particular installation.
+It is usually best to design your change file so that all changes to
+previous sections preserve the section numbering; then everybody's version
+will be consistent with the printed program. More extensive changes,
+which introduce new sections, can be inserted here; then only the index
+itself will get a new section number.
+@y
+Here are the remaining changes to the program
+that are necessary to make \BibTeX\ work on OpenVMS.
+
+@ First, we need to pull in some external functions:
+@<Procedures and functions for all file I/O, error messages, and such@>=
+
+[VAX_external] function VAX_cli_present(
+ entity_desc : [VAX_volatile,VAX_class_s]
+ packed array [l1..u1:integer] of char
+ ):integer; @/
+ external;@;@t\2@>@#
+
+[VAX_external] function VAX_cli_get_value(@/
+ entity_desc : [VAX_volatile,VAX_class_s,VAX_readonly] @+
+ packed array [l1..u1:integer] of char;
+ var ret_desc : [VAX_volatile,VAX_class_s] @+
+ packed array [l2..u2:integer] of char;
+ var ret_length : [VAX_volatile,VAX_unsafe] @+
+ unsigned_word := VAX_immed 0
+ ):integer; @/
+ external;
+
+[VAX_external] @+function VAX_cli_dcl_parse(@/
+ VAX_stdescr cmdline:[VAX_volatile,VAX_readonly]
+ packed array [l1..u1:integer] of char
+ := VAX_immed 0;
+ VAX_immed cld_table:[VAX_volatile,VAX_readonly]
+ VAX_unsigned
+ := VAX_immed 0):integer; @/
+ extern;@;@t\2@>@#
+
+[VAX_external] @+function VAX_lib_get_foreign(@/
+ VAX_stdescr cmdlin:[VAX_volatile] packed array [l1..u1:integer] of char
+ := VAX_immed 0;
+ VAX_stdescr prompt:[VAX_volatile] packed array [l2..u2:integer] of char
+ := VAX_immed 0;
+ var len : [VAX_volatile] unsigned_word := VAX_immed 0;
+ var flag : [VAX_volatile] integer := VAX_immed 0)
+ :integer; @/
+ extern;@;@t\2@>@#
+
+[VAX_external, VAX_asynchronous] @+function VAX_lib_sig_to_ret(@/
+ VAX_ref signal_args:[VAX_volatile,VAX_unsafe]
+ array [l1..u1:integer] of unsigned_char;
+ VAX_ref mechan_args:[VAX_volatile,VAX_unsafe]
+ array [l2..u2:integer] of unsigned_char)
+ :integer; @/
+ extern;
+
+@ @<Types in the outer block@>=
+unsigned_char = [VAX_byte] 0..255;
+unsigned_word = [VAX_word] 0..65535;
+sixteen_bits = unsigned_word;
+unsafe_file = [VAX_unsafe] file of char;
+FAB_ptr = ^VAX_fab_type;
+RAB_ptr = ^VAX_rab_type;
+NAM_ptr = ^VAX_nam_type;
+chrptr = ^char;
+
+@ The following global symbol is used to refer to the command definition
+table linked into the \BibTeX\ program
+@d BIBTEX_CLD_table == @=BIBTEX_CLI@>
+@<Globals in the outer...@>=
+BIBTEX_CLD_table : [VAX_external, VAX_readonly] VAX_unsigned;
+
+@ The |init_cli| function is invoked right at the beginning of \BibTeX,
+only preceded by the terminal output initialization. Its purpose
+is to make sure that the DCL command interface is available.
+
+This function checks, if the program was invoked by the DCL command
+specified through |verb_name| and that a command
+qualifier specified by |qual_name| is present (or defaulted) in the
+command description. For the second test, a small subroutine |check_cli|
+is needed, because of the "caller--callee" dependence required by
+the user error handler facility.
+The |verb_name| string supplied to |init_cli| by the caller must not
+exceed a length of 4, otherwise the comparison with the "last DCL command"
+does never succeed, because the DCL parser truncates commands to a length
+of 4!
+The test item |qual_name| should be a specific, non-negatable command
+qualifier for the verb |verb_name|, which is set by default in the command
+description.
+
+If either of these two tests fail, it can be assumed that the program
+was invoked as a foreign command (or started by the RUN command).
+If this case, the command line tail is fetched with the
+\.{LIB\$GET\_FOREIGN} runtime functions and parsed internally,
+using the \.{CLI\$DCL\_PARSE} utility routine and the command table
+linked into the program executable, whose name is supplied by the
+|table| formal parameter.
+@.LIB{\$}GET_FOREIGN@>
+@.CLI{\$}DCL_PARSE@>
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+function init_cli(
+ var table:[VAX_readonly] VAX_unsigned;
+ verb_name:[VAX_readonly] packed array[l1..u1:integer] of char;
+ qual_name:[VAX_readonly] packed array[l2..u2:integer] of char
+ ): integer;
+label exit;
+var command_line: packed array[1..256] of char;
+@!len: sixteen_bits;
+@!sts: integer;
+
+function check_cli(
+ unique_def_qual:[VAX_readonly] packed array[l1..u1:integer] of char
+ ): integer;
+begin
+ VAX_establish(VAX_lib_sig_to_ret);
+ check_cli := VAX_cli_present(unique_def_qual);
+end;
+
+begin
+ sts := VAX_cli_get_value('$VERB',command_line,len);
+ if (odd(sts) and (len > 0)) then
+ if (substr(command_line,1,len) = verb_name) then
+ if (odd(check_cli(qual_name))) then
+ begin
+ init_cli := 1;
+ return;
+ end;
+
+ VAX_lib_get_foreign(command_line,,len);
+ {prepend |verb_name| plus a blank to |command_line|}
+ command_line := verb_name + ' ' + substr(command_line,1,len);
+ init_cli := VAX_cli_dcl_parse(command_line, VAX_address_of(table));
+exit:end;
+
+@ The |min_crossrefs| `constant' is now defined as an initialized variable
+ and can be modified at runtime:
+
+@<Globals in the outer...@>=
+@!min_crossrefs: integer := 2; {minimum number of cross-refs required for
+ automatic |cite_list| inclusion}
+
+@ Now, we read the command line flag values.
+@<Read the values of the command line flags@>=
+trace_flag:= odd(VAX_cli_present('TRACE'));@/
+stat_flag:= odd(VAX_cli_present('STATS'));
+cli_get_num_value('MIN_CROSSREFS',min_crossrefs);
+
+@ The following small function |cli_get_num_value|is used to fetch an
+integer numerical value from a command line qualifier.
+
+One VAX-\PASCAL\ extension permits string variables to be used in place of
+files for reading and writing values. The |VAX_string_read(b,i,...)|
+procedure reads values into variables |i,...| from the characters stored in
+the string variable |b|. The |VAX_string_status| function returns a value
+in a manner entirely analogous to VAX-\PASCAL's external I/O |VAX_status|
+function, but relating to the success of the previous string read/write.
+
+@d VAX_string_read==@= readv @>
+@d VAX_string_status==@= statusv @>
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+function cli_get_num_value(
+ qualifier_name : [VAX_readonly] @+
+ packed array [l1..u1:integer] of char;
+ var numeric_var : integer
+ ): boolean;
+var numstr_buf: packed array[1..256] of char;
+@!numstr_len: sixteen_bits;
+@!sts,@!int_val: integer;
+
+begin
+ sts := (VAX_cli_present(qualifier_name));
+ if odd(sts) then begin
+ sts := VAX_cli_get_value(qualifier_name,numstr_buf,numstr_len);
+ VAX_string_read(substr(numstr_buf,1,numstr_len),int_val,VAX_ignore_error);
+ if VAX_string_status > 0 then
+ sts := 0
+ else
+ numeric_var := int_val;
+ end;
+ cli_get_num_value := odd(sts);
+end;
+
+@ The following global string variables are used by the user defined
+action routine (called during |VAX_open| processing) to return the
+name components of the actual file accessed.
+
+@<Globals in the outer...@>=
+@!act_pathname:varying [300] of char;
+@!act_basename,@!act_fextension:varying [32] of char;
+@!act_fversion:varying[16] of char;
+
+@ We supply the following routine to be used (in a call of the VAX-\PASCAL\
+|open| procedure) as a |user_action| function. When called from within the
+|open| routine, the addresses of the |FAB| and |RAB| allocated to the file are
+passed to such a function, along with the file variable; the latter is tagged
+as `unsafe' to prevent undesirable compiler optimizations.
+
+The |user_open_wild| function, used to open files for reading, performs
+wild card expansion on the file specification and opens the first matching
+file.
+
+@d VAX_rms_parse==@=$parse@>
+@d VAX_rms_search==@=$search@>
+@d VAX_rms_create==@=$create@>
+@d VAX_rms_connect==@=$connect@>
+@d VAX_rms_open==@=$open@>
+@#
+@d VAX_fab_type==@= FAB$TYPE @>
+@d VAX_rab_type==@= RAB$TYPE @>
+@d VAX_nam_type==@= NAM$TYPE @>
+@d VAX_FAB_V_NAM== @=FAB$V_NAM@>
+@d VAX_FAB_L_NAM== @=FAB$L_NAM@>
+@d VAX_NAM_B_RSL== @=NAM$B_RSL@>
+@d VAX_NAM_L_RSA== @=NAM$L_RSA@>
+@d VAX_NAM_B_NODE==@=NAM$B_NODE @>
+@d VAX_NAM_L_NODE==@=NAM$L_NODE @>
+@d VAX_NAM_B_DEV==@=NAM$B_DEV @>
+@d VAX_NAM_L_DEV==@=NAM$L_DEV @>
+@d VAX_NAM_B_DIR==@=NAM$B_DIR @>
+@d VAX_NAM_L_DIR==@=NAM$L_DIR @>
+@d VAX_NAM_B_NAME==@=NAM$B_NAME @>
+@d VAX_NAM_L_NAME==@=NAM$L_NAME @>
+@d VAX_NAM_B_TYPE==@=NAM$B_TYPE @>
+@d VAX_NAM_L_TYPE==@=NAM$L_TYPE @>
+@d VAX_NAM_B_VER==@=NAM$B_VER @>
+@d VAX_NAM_L_VER==@=NAM$L_VER @>
+
+@<Procedures and functions for all file I/O, error messages, and such@>=
+function user_open_wild(
+ var FAB:VAX_fab_type;
+ var RAB:VAX_rab_type;
+ var F:unsafe_file):integer;
+var sts:integer;
+ NAM:NAM_ptr;
+ p:chrptr;
+ i:integer;
+begin
+ sts:=VAX_rms_parse(FAB);
+ if odd(sts) then begin
+ sts:=VAX_rms_search(FAB);
+ if odd(sts) then
+ FAB.VAX_FAB_V_NAM:=true; {Use |NAM| block in |VAX_rms_open| call!}
+ sts:=VAX_rms_open(FAB);
+ if odd(sts) then begin
+ sts:=VAX_rms_connect(RAB);
+ if odd(sts) then begin
+ NAM:=FAB.VAX_FAB_L_NAM::NAM_ptr;
+ if NAM<>nil then begin
+ act_pathname.VAX_varying_length:=NAM^.VAX_NAM_B_NODE+
+ NAM^.VAX_NAM_B_DEV+NAM^.VAX_NAM_B_DIR;
+ for i:=1 to act_pathname.VAX_varying_length do begin
+ p:=(NAM^.VAX_NAM_L_RSA::integer+i-1)::chrptr;
+ act_pathname.VAX_varying_body[i]:=p^;
+ end;
+ act_basename.VAX_varying_length:=NAM^.VAX_NAM_B_NAME;
+ for i:=1 to NAM^.VAX_NAM_B_NAME do begin
+ p:=(NAM^.VAX_NAM_L_NAME::integer+i-1)::chrptr;
+ act_basename.VAX_varying_body[i]:=p^;
+ end;
+ act_fextension.VAX_varying_length:=NAM^.VAX_NAM_B_TYPE;
+ for i:=1 to NAM^.VAX_NAM_B_TYPE do begin
+ p:=(NAM^.VAX_NAM_L_TYPE::integer+i-1)::chrptr;
+ act_fextension.VAX_varying_body[i]:=p^;
+ end;
+ act_fversion.VAX_varying_length:=NAM^.VAX_NAM_B_VER;
+ for i:=1 to NAM^.VAX_NAM_B_VER do begin
+ p:=(NAM^.VAX_NAM_L_VER::integer+i-1)::chrptr;
+ act_fversion.VAX_varying_body[i]:=p^;
+ end;
+ end;
+ end;
+ end;
+ end;
+ user_open_wild:=sts;
+end;
+@z
diff --git a/biblio/bibtex/vms/bibtex_cli.cld b/biblio/bibtex/vms/bibtex_cli.cld
new file mode 100644
index 0000000000..7e9fcf1022
--- /dev/null
+++ b/biblio/bibtex/vms/bibtex_cli.cld
@@ -0,0 +1,27 @@
+! CLD file for BibTeX.
+! (HMC Implementation 8-June-1990)
+! Don Hosek
+module bibtex_cli
+define verb BIBTEX
+!image TEX_EXE:BIBTEX.EXE
+ parameter p1,label=filespec,prompt="Input file",value(type=$infile)
+ qualifier STATS, ! default is /NOSTATS
+ negatable,
+ placement=global
+ qualifier TRACE, ! default is /NOTRACE
+ negatable,
+ placement=global
+ qualifier BSTINPUTS,
+ placement=global,
+ default,
+ nonnegatable,
+ value(default="TEX_BST:")
+ qualifier BIBINPUTS,
+ placement=global,
+ default,
+ nonnegatable,
+ value(default="TEX_BIB:")
+ qualifier MIN_CROSSREFS,
+ placement=global,
+ nonnegatable,
+ value(required, type=$number)
diff --git a/biblio/bibtex/vms/link_bibtex.com b/biblio/bibtex/vms/link_bibtex.com
new file mode 100644
index 0000000000..139d21f509
--- /dev/null
+++ b/biblio/bibtex/vms/link_bibtex.com
@@ -0,0 +1,29 @@
+$ on error then goto exit
+$ on control_y then goto exit
+$ old_verify = f$verify (1)
+$ if f$getsyi("HW_MODEL") .ge. 1024
+$ then
+$ arch_name = "Alpha"
+$ ARCH_PREF = "AXP_"
+$ else
+$ arch_name = "VAX"
+$ ARCH_PREF = "VAX_"
+$ endif
+$!
+$! (Re)compile the internal command table
+$!
+$ set command/object=.'ARCH_PREF'obj bibtex_cli.cld
+$!
+$! Link
+$!
+$ link /exe=.'ARCH_PREF'exe bibtex.'ARCH_PREF'obj,bibtex_cli.'ARCH_PREF'obj
+$!
+$! Do not keep the compiled command table:
+$!
+$ delete/noconfirm/nolog bibtex_cli.'ARCH_PREF'obj;*
+$!
+$! Clean up environment, and exit
+$!
+$exit:
+$ dummy=f$verify ('old_verify')
+$ exit
diff --git a/biblio/bibtex/vms/make_bibtex.com b/biblio/bibtex/vms/make_bibtex.com
new file mode 100644
index 0000000000..31c88f33a5
--- /dev/null
+++ b/biblio/bibtex/vms/make_bibtex.com
@@ -0,0 +1,56 @@
+$! MAKE_BIBTEX.COM
+$ on error then goto exit
+$ on control_y then goto exit
+$ old_verify = f$verify (1)
+$!
+$ if f$getsyi("HW_MODEL") .ge. 1024
+$ then
+$ arch_name = "Alpha"
+$ ARCH_PREF = "AXP_"
+$ PCFLAGS = "/opt/check=none/float=g_float/align=vax/nolist"
+$ else
+$ arch_name = "VAX"
+$ ARCH_PREF = "VAX_"
+$ PCFLAGS = "/opt/check=none/g_float/nolist"
+$ endif
+$ define/user CHANGEFILE "bibtex.vms-changes"
+$!
+$! Call Tangle to generate BIBTEX.PAS
+$!
+$ on warning then goto err_tangle
+$ tangle bibtex
+CHANGEFILE
+$ on error then goto exit
+$!
+$! Compile the sources
+$!
+$ pasc 'PCFLAGS' /obj=.'ARCH_PREF'obj bibtex
+$!
+$! (Re)compile the internal command table
+$!
+$ set command/object=.'ARCH_PREF'obj bibtex_cli.cld
+$!
+$! Link
+$!
+$ link /exe=.'ARCH_PREF'exe bibtex.'ARCH_PREF'obj,bibtex_cli.'ARCH_PREF'obj
+$!
+$! Do not keep the compiled command table:
+$!
+$ delete/noconfirm/nolog bibtex_cli.'ARCH_PREF'obj;*
+$!
+$! Clean up environment, and exit
+$!
+$exit:
+$ dummy=f$verify ('old_verify')
+$ exit
+$!
+$! error messages:
+$!
+$! 1.) TANGLE problems
+$err_tangle:
+$ write sys$output "Tangle ERROR: Cannot find TANGLE, or (less likely)"
+$ write sys$output -
+ " Tangle has found some problem in the source."
+$ write sys$output -
+ " >>> Please correct the problem !! <<<"
+$ goto exit